├── .github ├── CODEOWNERS ├── ISSUE_TEMPLATE │ ├── bug_report.yml │ ├── config.yml │ ├── feature_reqeust.yml │ └── question.yml └── workflows │ ├── codeql-analysis.yml │ └── push-check.yml ├── .gitignore ├── .licenserc.yaml ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── CREDITS ├── LICENSE ├── README.md ├── cache └── asynccache │ ├── README.md │ ├── asynccache.go │ ├── asynccache_test.go │ └── atomic_error.go ├── check_branch_name.sh ├── cloud ├── circuitbreaker │ ├── README.MD │ ├── README_ZH.MD │ ├── breaker.go │ ├── breaker_test.go │ ├── circuitbreaker.go │ ├── counter.go │ ├── counter_test.go │ ├── interface.go │ ├── metricer.go │ ├── metricer_test.go │ ├── panel.go │ ├── panel_test.go │ ├── per_p_metricer.go │ ├── per_p_metricer_test.go │ ├── test_helper.go │ └── tripfunc.go └── metainfo │ ├── README-CN.md │ ├── README.md │ ├── backward.go │ ├── backward_test.go │ ├── helper_test.go │ ├── http.go │ ├── http_test.go │ ├── info.go │ ├── info_test.go │ ├── kv.go │ ├── kvstore.go │ ├── kvstore_test.go │ ├── pool.go │ ├── pool_test.go │ ├── utils.go │ └── utils_test.go ├── collection ├── hashset │ ├── README.md │ ├── hashset.go │ ├── hashset_bench_test.go │ ├── hashset_test.go │ ├── types.go │ └── types_gen.go ├── lscq │ ├── asm.go │ ├── asm.s │ ├── asm_arm64.go │ ├── asm_arm64.s │ ├── bench_test.go │ ├── lscq.go │ ├── lscq_test.go │ ├── readme.md │ ├── types.go │ ├── types_gen.go │ └── util.go ├── skipmap │ ├── asm.s │ ├── bench.sh │ ├── bench_test.go │ ├── flag.go │ ├── oparray.go │ ├── oparry_test.go │ ├── readme.md │ ├── skipmap.go │ ├── skipmap_bench_test.go │ ├── skipmap_str_test.go │ ├── skipmap_test.go │ ├── types.go │ ├── types_gen.go │ └── util.go ├── skipset │ ├── asm.s │ ├── bench.sh │ ├── flag.go │ ├── flag_test.go │ ├── oparry.go │ ├── oparry_test.go │ ├── readme.md │ ├── skipset.go │ ├── skipset_bench_test.go │ ├── skipset_test.go │ ├── types.go │ ├── types_gen.go │ └── util.go └── zset │ ├── oparry.go │ ├── opt.go │ ├── readme.md │ ├── skiplist.go │ ├── zset.go │ ├── zset_bench_test.go │ └── zset_test.go ├── go.mod ├── go.sum ├── internal ├── benchmark │ ├── linkedq │ │ └── linkedq.go │ └── msq │ │ └── msq.go ├── hack │ └── hack.go ├── runtimex │ ├── asm.s │ ├── ppin.go │ ├── ppin_test.go │ ├── readunaligned.go │ ├── readunaligned_bigendian.go │ ├── runtime_go_1.22.go │ ├── runtime_pre_go_1.22.go │ └── runtime_test.go └── wyhash │ ├── digest.go │ ├── digest_test.go │ ├── wyhash.go │ └── wyhash_test.go ├── lang ├── channel │ ├── channel.go │ ├── channel_example_test.go │ └── channel_test.go ├── dirtmake │ ├── bytes.go │ ├── bytes_test.go │ └── bytes_tinygo.go ├── fastrand │ ├── fastrand.go │ ├── fastrand_test.go │ └── readme.md ├── mcache │ ├── README.md │ ├── mcache.go │ ├── mcache_test.go │ ├── utils.go │ └── utils_test.go ├── span │ ├── span.go │ └── span_test.go ├── stringx │ ├── README.md │ ├── doc.go │ ├── exmaple_test.go │ ├── is.go │ ├── is_test.go │ ├── stringx.go │ └── stringx_test.go └── syncx │ ├── README.md │ ├── asm.s │ ├── linkname.go │ ├── pool.go │ ├── pool_race.go │ ├── pool_test.go │ ├── poolqueue.go │ ├── rwmutex.go │ └── rwmutex_test.go └── util ├── gctuner ├── README.md ├── finalizer.go ├── finalizer_test.go ├── mem.go ├── mem_test.go ├── tuner.go └── tuner_test.go ├── gopool ├── README.md ├── config.go ├── gopool.go ├── pool.go ├── pool_test.go └── worker.go ├── logger ├── README.md ├── default.go └── logger.go └── xxhash3 ├── README.md ├── accum.go ├── accum_amd64.go ├── accum_scalar.go ├── avx2_amd64.s ├── consts.go ├── correctness_test.go ├── hash.go ├── hash128.go ├── internal ├── avo │ ├── avx.go │ ├── build.sh │ ├── gen.go │ └── sse.go └── xxh3_raw │ └── xxh3_raw.go ├── performance_test.go ├── sse2_amd64.s └── util.go /.github/CODEOWNERS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/.github/CODEOWNERS -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/.github/ISSUE_TEMPLATE/bug_report.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/.github/ISSUE_TEMPLATE/config.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_reqeust.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/.github/ISSUE_TEMPLATE/feature_reqeust.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/question.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/.github/ISSUE_TEMPLATE/question.yml -------------------------------------------------------------------------------- /.github/workflows/codeql-analysis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/.github/workflows/codeql-analysis.yml -------------------------------------------------------------------------------- /.github/workflows/push-check.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/.github/workflows/push-check.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/.gitignore -------------------------------------------------------------------------------- /.licenserc.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/.licenserc.yaml -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /CREDITS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/CREDITS -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/README.md -------------------------------------------------------------------------------- /cache/asynccache/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/cache/asynccache/README.md -------------------------------------------------------------------------------- /cache/asynccache/asynccache.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/cache/asynccache/asynccache.go -------------------------------------------------------------------------------- /cache/asynccache/asynccache_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/cache/asynccache/asynccache_test.go -------------------------------------------------------------------------------- /cache/asynccache/atomic_error.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/cache/asynccache/atomic_error.go -------------------------------------------------------------------------------- /check_branch_name.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/check_branch_name.sh -------------------------------------------------------------------------------- /cloud/circuitbreaker/README.MD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/cloud/circuitbreaker/README.MD -------------------------------------------------------------------------------- /cloud/circuitbreaker/README_ZH.MD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/cloud/circuitbreaker/README_ZH.MD -------------------------------------------------------------------------------- /cloud/circuitbreaker/breaker.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/cloud/circuitbreaker/breaker.go -------------------------------------------------------------------------------- /cloud/circuitbreaker/breaker_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/cloud/circuitbreaker/breaker_test.go -------------------------------------------------------------------------------- /cloud/circuitbreaker/circuitbreaker.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/cloud/circuitbreaker/circuitbreaker.go -------------------------------------------------------------------------------- /cloud/circuitbreaker/counter.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/cloud/circuitbreaker/counter.go -------------------------------------------------------------------------------- /cloud/circuitbreaker/counter_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/cloud/circuitbreaker/counter_test.go -------------------------------------------------------------------------------- /cloud/circuitbreaker/interface.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/cloud/circuitbreaker/interface.go -------------------------------------------------------------------------------- /cloud/circuitbreaker/metricer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/cloud/circuitbreaker/metricer.go -------------------------------------------------------------------------------- /cloud/circuitbreaker/metricer_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/cloud/circuitbreaker/metricer_test.go -------------------------------------------------------------------------------- /cloud/circuitbreaker/panel.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/cloud/circuitbreaker/panel.go -------------------------------------------------------------------------------- /cloud/circuitbreaker/panel_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/cloud/circuitbreaker/panel_test.go -------------------------------------------------------------------------------- /cloud/circuitbreaker/per_p_metricer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/cloud/circuitbreaker/per_p_metricer.go -------------------------------------------------------------------------------- /cloud/circuitbreaker/per_p_metricer_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/cloud/circuitbreaker/per_p_metricer_test.go -------------------------------------------------------------------------------- /cloud/circuitbreaker/test_helper.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/cloud/circuitbreaker/test_helper.go -------------------------------------------------------------------------------- /cloud/circuitbreaker/tripfunc.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/cloud/circuitbreaker/tripfunc.go -------------------------------------------------------------------------------- /cloud/metainfo/README-CN.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/cloud/metainfo/README-CN.md -------------------------------------------------------------------------------- /cloud/metainfo/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/cloud/metainfo/README.md -------------------------------------------------------------------------------- /cloud/metainfo/backward.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/cloud/metainfo/backward.go -------------------------------------------------------------------------------- /cloud/metainfo/backward_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/cloud/metainfo/backward_test.go -------------------------------------------------------------------------------- /cloud/metainfo/helper_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/cloud/metainfo/helper_test.go -------------------------------------------------------------------------------- /cloud/metainfo/http.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/cloud/metainfo/http.go -------------------------------------------------------------------------------- /cloud/metainfo/http_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/cloud/metainfo/http_test.go -------------------------------------------------------------------------------- /cloud/metainfo/info.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/cloud/metainfo/info.go -------------------------------------------------------------------------------- /cloud/metainfo/info_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/cloud/metainfo/info_test.go -------------------------------------------------------------------------------- /cloud/metainfo/kv.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/cloud/metainfo/kv.go -------------------------------------------------------------------------------- /cloud/metainfo/kvstore.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/cloud/metainfo/kvstore.go -------------------------------------------------------------------------------- /cloud/metainfo/kvstore_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/cloud/metainfo/kvstore_test.go -------------------------------------------------------------------------------- /cloud/metainfo/pool.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/cloud/metainfo/pool.go -------------------------------------------------------------------------------- /cloud/metainfo/pool_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/cloud/metainfo/pool_test.go -------------------------------------------------------------------------------- /cloud/metainfo/utils.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/cloud/metainfo/utils.go -------------------------------------------------------------------------------- /cloud/metainfo/utils_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/cloud/metainfo/utils_test.go -------------------------------------------------------------------------------- /collection/hashset/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/collection/hashset/README.md -------------------------------------------------------------------------------- /collection/hashset/hashset.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/collection/hashset/hashset.go -------------------------------------------------------------------------------- /collection/hashset/hashset_bench_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/collection/hashset/hashset_bench_test.go -------------------------------------------------------------------------------- /collection/hashset/hashset_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/collection/hashset/hashset_test.go -------------------------------------------------------------------------------- /collection/hashset/types.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/collection/hashset/types.go -------------------------------------------------------------------------------- /collection/hashset/types_gen.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/collection/hashset/types_gen.go -------------------------------------------------------------------------------- /collection/lscq/asm.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/collection/lscq/asm.go -------------------------------------------------------------------------------- /collection/lscq/asm.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/collection/lscq/asm.s -------------------------------------------------------------------------------- /collection/lscq/asm_arm64.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/collection/lscq/asm_arm64.go -------------------------------------------------------------------------------- /collection/lscq/asm_arm64.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/collection/lscq/asm_arm64.s -------------------------------------------------------------------------------- /collection/lscq/bench_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/collection/lscq/bench_test.go -------------------------------------------------------------------------------- /collection/lscq/lscq.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/collection/lscq/lscq.go -------------------------------------------------------------------------------- /collection/lscq/lscq_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/collection/lscq/lscq_test.go -------------------------------------------------------------------------------- /collection/lscq/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/collection/lscq/readme.md -------------------------------------------------------------------------------- /collection/lscq/types.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/collection/lscq/types.go -------------------------------------------------------------------------------- /collection/lscq/types_gen.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/collection/lscq/types_gen.go -------------------------------------------------------------------------------- /collection/lscq/util.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/collection/lscq/util.go -------------------------------------------------------------------------------- /collection/skipmap/asm.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/collection/skipmap/asm.s -------------------------------------------------------------------------------- /collection/skipmap/bench.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/collection/skipmap/bench.sh -------------------------------------------------------------------------------- /collection/skipmap/bench_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/collection/skipmap/bench_test.go -------------------------------------------------------------------------------- /collection/skipmap/flag.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/collection/skipmap/flag.go -------------------------------------------------------------------------------- /collection/skipmap/oparray.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/collection/skipmap/oparray.go -------------------------------------------------------------------------------- /collection/skipmap/oparry_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/collection/skipmap/oparry_test.go -------------------------------------------------------------------------------- /collection/skipmap/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/collection/skipmap/readme.md -------------------------------------------------------------------------------- /collection/skipmap/skipmap.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/collection/skipmap/skipmap.go -------------------------------------------------------------------------------- /collection/skipmap/skipmap_bench_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/collection/skipmap/skipmap_bench_test.go -------------------------------------------------------------------------------- /collection/skipmap/skipmap_str_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/collection/skipmap/skipmap_str_test.go -------------------------------------------------------------------------------- /collection/skipmap/skipmap_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/collection/skipmap/skipmap_test.go -------------------------------------------------------------------------------- /collection/skipmap/types.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/collection/skipmap/types.go -------------------------------------------------------------------------------- /collection/skipmap/types_gen.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/collection/skipmap/types_gen.go -------------------------------------------------------------------------------- /collection/skipmap/util.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/collection/skipmap/util.go -------------------------------------------------------------------------------- /collection/skipset/asm.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/collection/skipset/asm.s -------------------------------------------------------------------------------- /collection/skipset/bench.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/collection/skipset/bench.sh -------------------------------------------------------------------------------- /collection/skipset/flag.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/collection/skipset/flag.go -------------------------------------------------------------------------------- /collection/skipset/flag_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/collection/skipset/flag_test.go -------------------------------------------------------------------------------- /collection/skipset/oparry.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/collection/skipset/oparry.go -------------------------------------------------------------------------------- /collection/skipset/oparry_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/collection/skipset/oparry_test.go -------------------------------------------------------------------------------- /collection/skipset/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/collection/skipset/readme.md -------------------------------------------------------------------------------- /collection/skipset/skipset.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/collection/skipset/skipset.go -------------------------------------------------------------------------------- /collection/skipset/skipset_bench_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/collection/skipset/skipset_bench_test.go -------------------------------------------------------------------------------- /collection/skipset/skipset_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/collection/skipset/skipset_test.go -------------------------------------------------------------------------------- /collection/skipset/types.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/collection/skipset/types.go -------------------------------------------------------------------------------- /collection/skipset/types_gen.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/collection/skipset/types_gen.go -------------------------------------------------------------------------------- /collection/skipset/util.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/collection/skipset/util.go -------------------------------------------------------------------------------- /collection/zset/oparry.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/collection/zset/oparry.go -------------------------------------------------------------------------------- /collection/zset/opt.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/collection/zset/opt.go -------------------------------------------------------------------------------- /collection/zset/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/collection/zset/readme.md -------------------------------------------------------------------------------- /collection/zset/skiplist.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/collection/zset/skiplist.go -------------------------------------------------------------------------------- /collection/zset/zset.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/collection/zset/zset.go -------------------------------------------------------------------------------- /collection/zset/zset_bench_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/collection/zset/zset_bench_test.go -------------------------------------------------------------------------------- /collection/zset/zset_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/collection/zset/zset_test.go -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/go.sum -------------------------------------------------------------------------------- /internal/benchmark/linkedq/linkedq.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/internal/benchmark/linkedq/linkedq.go -------------------------------------------------------------------------------- /internal/benchmark/msq/msq.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/internal/benchmark/msq/msq.go -------------------------------------------------------------------------------- /internal/hack/hack.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/internal/hack/hack.go -------------------------------------------------------------------------------- /internal/runtimex/asm.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/internal/runtimex/asm.s -------------------------------------------------------------------------------- /internal/runtimex/ppin.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/internal/runtimex/ppin.go -------------------------------------------------------------------------------- /internal/runtimex/ppin_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/internal/runtimex/ppin_test.go -------------------------------------------------------------------------------- /internal/runtimex/readunaligned.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/internal/runtimex/readunaligned.go -------------------------------------------------------------------------------- /internal/runtimex/readunaligned_bigendian.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/internal/runtimex/readunaligned_bigendian.go -------------------------------------------------------------------------------- /internal/runtimex/runtime_go_1.22.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/internal/runtimex/runtime_go_1.22.go -------------------------------------------------------------------------------- /internal/runtimex/runtime_pre_go_1.22.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/internal/runtimex/runtime_pre_go_1.22.go -------------------------------------------------------------------------------- /internal/runtimex/runtime_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/internal/runtimex/runtime_test.go -------------------------------------------------------------------------------- /internal/wyhash/digest.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/internal/wyhash/digest.go -------------------------------------------------------------------------------- /internal/wyhash/digest_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/internal/wyhash/digest_test.go -------------------------------------------------------------------------------- /internal/wyhash/wyhash.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/internal/wyhash/wyhash.go -------------------------------------------------------------------------------- /internal/wyhash/wyhash_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/internal/wyhash/wyhash_test.go -------------------------------------------------------------------------------- /lang/channel/channel.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/lang/channel/channel.go -------------------------------------------------------------------------------- /lang/channel/channel_example_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/lang/channel/channel_example_test.go -------------------------------------------------------------------------------- /lang/channel/channel_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/lang/channel/channel_test.go -------------------------------------------------------------------------------- /lang/dirtmake/bytes.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/lang/dirtmake/bytes.go -------------------------------------------------------------------------------- /lang/dirtmake/bytes_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/lang/dirtmake/bytes_test.go -------------------------------------------------------------------------------- /lang/dirtmake/bytes_tinygo.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/lang/dirtmake/bytes_tinygo.go -------------------------------------------------------------------------------- /lang/fastrand/fastrand.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/lang/fastrand/fastrand.go -------------------------------------------------------------------------------- /lang/fastrand/fastrand_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/lang/fastrand/fastrand_test.go -------------------------------------------------------------------------------- /lang/fastrand/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/lang/fastrand/readme.md -------------------------------------------------------------------------------- /lang/mcache/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/lang/mcache/README.md -------------------------------------------------------------------------------- /lang/mcache/mcache.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/lang/mcache/mcache.go -------------------------------------------------------------------------------- /lang/mcache/mcache_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/lang/mcache/mcache_test.go -------------------------------------------------------------------------------- /lang/mcache/utils.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/lang/mcache/utils.go -------------------------------------------------------------------------------- /lang/mcache/utils_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/lang/mcache/utils_test.go -------------------------------------------------------------------------------- /lang/span/span.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/lang/span/span.go -------------------------------------------------------------------------------- /lang/span/span_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/lang/span/span_test.go -------------------------------------------------------------------------------- /lang/stringx/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/lang/stringx/README.md -------------------------------------------------------------------------------- /lang/stringx/doc.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/lang/stringx/doc.go -------------------------------------------------------------------------------- /lang/stringx/exmaple_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/lang/stringx/exmaple_test.go -------------------------------------------------------------------------------- /lang/stringx/is.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/lang/stringx/is.go -------------------------------------------------------------------------------- /lang/stringx/is_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/lang/stringx/is_test.go -------------------------------------------------------------------------------- /lang/stringx/stringx.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/lang/stringx/stringx.go -------------------------------------------------------------------------------- /lang/stringx/stringx_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/lang/stringx/stringx_test.go -------------------------------------------------------------------------------- /lang/syncx/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/lang/syncx/README.md -------------------------------------------------------------------------------- /lang/syncx/asm.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/lang/syncx/asm.s -------------------------------------------------------------------------------- /lang/syncx/linkname.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/lang/syncx/linkname.go -------------------------------------------------------------------------------- /lang/syncx/pool.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/lang/syncx/pool.go -------------------------------------------------------------------------------- /lang/syncx/pool_race.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/lang/syncx/pool_race.go -------------------------------------------------------------------------------- /lang/syncx/pool_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/lang/syncx/pool_test.go -------------------------------------------------------------------------------- /lang/syncx/poolqueue.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/lang/syncx/poolqueue.go -------------------------------------------------------------------------------- /lang/syncx/rwmutex.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/lang/syncx/rwmutex.go -------------------------------------------------------------------------------- /lang/syncx/rwmutex_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/lang/syncx/rwmutex_test.go -------------------------------------------------------------------------------- /util/gctuner/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/util/gctuner/README.md -------------------------------------------------------------------------------- /util/gctuner/finalizer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/util/gctuner/finalizer.go -------------------------------------------------------------------------------- /util/gctuner/finalizer_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/util/gctuner/finalizer_test.go -------------------------------------------------------------------------------- /util/gctuner/mem.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/util/gctuner/mem.go -------------------------------------------------------------------------------- /util/gctuner/mem_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/util/gctuner/mem_test.go -------------------------------------------------------------------------------- /util/gctuner/tuner.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/util/gctuner/tuner.go -------------------------------------------------------------------------------- /util/gctuner/tuner_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/util/gctuner/tuner_test.go -------------------------------------------------------------------------------- /util/gopool/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/util/gopool/README.md -------------------------------------------------------------------------------- /util/gopool/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/util/gopool/config.go -------------------------------------------------------------------------------- /util/gopool/gopool.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/util/gopool/gopool.go -------------------------------------------------------------------------------- /util/gopool/pool.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/util/gopool/pool.go -------------------------------------------------------------------------------- /util/gopool/pool_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/util/gopool/pool_test.go -------------------------------------------------------------------------------- /util/gopool/worker.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/util/gopool/worker.go -------------------------------------------------------------------------------- /util/logger/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/util/logger/README.md -------------------------------------------------------------------------------- /util/logger/default.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/util/logger/default.go -------------------------------------------------------------------------------- /util/logger/logger.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/util/logger/logger.go -------------------------------------------------------------------------------- /util/xxhash3/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/util/xxhash3/README.md -------------------------------------------------------------------------------- /util/xxhash3/accum.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/util/xxhash3/accum.go -------------------------------------------------------------------------------- /util/xxhash3/accum_amd64.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/util/xxhash3/accum_amd64.go -------------------------------------------------------------------------------- /util/xxhash3/accum_scalar.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/util/xxhash3/accum_scalar.go -------------------------------------------------------------------------------- /util/xxhash3/avx2_amd64.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/util/xxhash3/avx2_amd64.s -------------------------------------------------------------------------------- /util/xxhash3/consts.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/util/xxhash3/consts.go -------------------------------------------------------------------------------- /util/xxhash3/correctness_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/util/xxhash3/correctness_test.go -------------------------------------------------------------------------------- /util/xxhash3/hash.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/util/xxhash3/hash.go -------------------------------------------------------------------------------- /util/xxhash3/hash128.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/util/xxhash3/hash128.go -------------------------------------------------------------------------------- /util/xxhash3/internal/avo/avx.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/util/xxhash3/internal/avo/avx.go -------------------------------------------------------------------------------- /util/xxhash3/internal/avo/build.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/util/xxhash3/internal/avo/build.sh -------------------------------------------------------------------------------- /util/xxhash3/internal/avo/gen.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/util/xxhash3/internal/avo/gen.go -------------------------------------------------------------------------------- /util/xxhash3/internal/avo/sse.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/util/xxhash3/internal/avo/sse.go -------------------------------------------------------------------------------- /util/xxhash3/internal/xxh3_raw/xxh3_raw.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/util/xxhash3/internal/xxh3_raw/xxh3_raw.go -------------------------------------------------------------------------------- /util/xxhash3/performance_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/util/xxhash3/performance_test.go -------------------------------------------------------------------------------- /util/xxhash3/sse2_amd64.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/util/xxhash3/sse2_amd64.s -------------------------------------------------------------------------------- /util/xxhash3/util.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/gopkg/HEAD/util/xxhash3/util.go --------------------------------------------------------------------------------