Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bits-and-blooms/bitset
/ functions
Functions
266 in github.com/bits-and-blooms/bitset
⨍
Functions
266
◇
Types & classes
4
↓ 1 callers
Function
wordsNeededUnbound
wordsNeededUnbound calculates the number of words needed for i bits, possibly exceeding the capacity. This function is useful if you know that the cap
bitset.go:152
↓ 1 callers
Function
writeUint64Array
(writer io.Writer, data []uint64)
bitset.go:1234
Function
BenchmarkBitSetExtractDeposit
(b *testing.B)
bitset_test.go:3069
Function
BenchmarkBitSetOnesBetween
(b *testing.B)
bitset_test.go:2683
Function
BenchmarkBitsetOps
go test -bench=BitsetOps
bitset_benchmark_test.go:91
Function
BenchmarkBitsetReadWrite
(b *testing.B)
bitset_benchmark_test.go:546
Function
BenchmarkClearRMS
clear the right most bit (C-RMS) test two different algorithms
bitset_benchmark_test.go:637
Function
BenchmarkCount
go test -bench=Count
bitset_benchmark_test.go:46
Function
BenchmarkFlorianUekermannIterateMany
go test -bench=BenchmarkFlorianUekermannIterateMany
bitset_benchmark_test.go:292
Function
BenchmarkFlorianUekermannIterateManyComp
(b *testing.B)
bitset_benchmark_test.go:343
Function
BenchmarkFlorianUekermannIterateManyReg
(b *testing.B)
bitset_benchmark_test.go:313
Function
BenchmarkFlorianUekermannLowDensityIterateMany
Mid density go test -bench=BenchmarkFlorianUekermannLowDensityIterateMany
bitset_benchmark_test.go:359
Function
BenchmarkFlorianUekermannLowDensityIterateManyComp
(b *testing.B)
bitset_benchmark_test.go:403
Function
BenchmarkFlorianUekermannLowDensityIterateManyReg
(b *testing.B)
bitset_benchmark_test.go:384
Function
BenchmarkFlorianUekermannMidDensityIterateMany
Mid density go test -bench=BenchmarkFlorianUekermannMidDensityIterateMany
bitset_benchmark_test.go:422
Function
BenchmarkFlorianUekermannMidDensityIterateManyComp
(b *testing.B)
bitset_benchmark_test.go:467
Function
BenchmarkFlorianUekermannMidDensityIterateManyReg
(b *testing.B)
bitset_benchmark_test.go:448
Function
BenchmarkFlorianUekermannMidStrongDensityIterateMany
High density
bitset_benchmark_test.go:485
Function
BenchmarkFlorianUekermannMidStrongDensityIterateManyComp
(b *testing.B)
bitset_benchmark_test.go:530
Function
BenchmarkFlorianUekermannMidStrongDensityIterateManyReg
(b *testing.B)
bitset_benchmark_test.go:511
Function
BenchmarkGetTest
(b *testing.B)
bitset_benchmark_test.go:24
Function
BenchmarkIsSuperSet
(b *testing.B)
bitset_benchmark_test.go:561
Function
BenchmarkIter
(b *testing.B)
bitset_iter_test.go:44
Function
BenchmarkIterate
go test -bench=Iterate
bitset_benchmark_test.go:59
Function
BenchmarkLemireCount
go test -bench=LemireCount see https://lemire.me/blog/2016/09/22/swift-versus-java-the-bitset-performance-test/
bitset_benchmark_test.go:201
Function
BenchmarkLemireCreate
go test -bench=LemireCreate see https://lemire.me/blog/2016/09/22/swift-versus-java-the-bitset-performance-test/
bitset_benchmark_test.go:190
Function
BenchmarkLemireIterate
go test -bench=LemireIterate see https://lemire.me/blog/2016/09/22/swift-versus-java-the-bitset-performance-test/
bitset_benchmark_test.go:218
Function
BenchmarkLemireIterateManyb
go test -bench=BenchmarkLemireIterateManyb see https://lemire.me/blog/2016/09/22/swift-versus-java-the-bitset-performance-test/
bitset_benchmark_test.go:257
Function
BenchmarkLemireIterateb
go test -bench=LemireIterateb see https://lemire.me/blog/2016/09/22/swift-versus-java-the-bitset-performance-test/
bitset_benchmark_test.go:237
Function
BenchmarkNonInter
(b *testing.B)
bitset_iter_test.go:60
Function
BenchmarkPDEP
(b *testing.B)
bitset_test.go:2738
Function
BenchmarkPEXT
(b *testing.B)
bitset_test.go:2724
Function
BenchmarkRank
go test -bench=Rank
bitset_benchmark_test.go:659
Function
BenchmarkSet
(b *testing.B)
bitset_benchmark_test.go:13
Function
BenchmarkSetExpand
(b *testing.B)
bitset_benchmark_test.go:35
Function
BenchmarkSparseIterate
go test -bench=SparseIterate
bitset_benchmark_test.go:75
Function
BigEndian
BigEndian sets Marshal/Unmarshal Binary as Big Endian (Default: binary.BigEndian)
bitset.go:79
Function
BinaryOrder
BinaryOrder returns the current binary order, see also LittleEndian() and BigEndian() to change the order.
bitset.go:83
Method
Deposit
Deposit creates a new BitSet and deposits bits according to a mask. See DepositTo for details.
bitset.go:1672
Function
ExampleBitSet_Len
()
bitset_test.go:112
Method
Extract
Extract extracts bits according to a mask and returns the result in a new BitSet. See ExtractTo for details.
bitset.go:1612
Function
FuzzBasicOps
FuzzBasicOps tests basic set, clear, test operations
bitset_fuzz_test.go:19
Function
FuzzCapacityAndGrowth
FuzzCapacityAndGrowth tests capacity management and memory growth
bitset_fuzz_test.go:627
Function
FuzzCopy
FuzzCopy tests clone and copy operations
bitset_fuzz_test.go:433
Function
FuzzIterationConsistency
FuzzIterationConsistency tests that iteration methods return consistent results
bitset_fuzz_test.go:692
Function
FuzzModification
FuzzModification tests insert/delete operations
bitset_fuzz_test.go:344
Function
FuzzNavigation
FuzzNavigation tests Next/Previous operations
bitset_fuzz_test.go:206
Function
FuzzRandomOperations
FuzzRandomOperations performs random sequences of operations
bitset_fuzz_test.go:555
Function
FuzzRange
FuzzRange tests range operations like FlipRange
bitset_fuzz_test.go:69
Function
FuzzSelect
(f *testing.F)
bitset_fuzz_test.go:400
Function
FuzzSerialization
FuzzSerialization tests JSON marshaling/unmarshaling and other serialization
bitset_fuzz_test.go:496
Function
FuzzSetOperations
FuzzSetOperations tests set operations like Union, Intersection, Difference
bitset_fuzz_test.go:115
Function
FuzzShift
FuzzShift tests shift operations
bitset_fuzz_test.go:281
Function
FuzzStringRepresentations
FuzzStringRepresentations tests string and dump operations
bitset_fuzz_test.go:780
Function
TestAll
(t *testing.T)
bitset_test.go:897
Function
TestAppendTo
(t *testing.T)
bitset_test.go:506
Function
TestAsSlice
(t *testing.T)
bitset_test.go:544
Function
TestBitSetAndGet
(t *testing.T)
bitset_test.go:166
Function
TestBitSetDeposit
(t *testing.T)
bitset_test.go:2945
Function
TestBitSetExtract
(t *testing.T)
bitset_test.go:2831
Function
TestBitSetHuge
(t *testing.T)
bitset_test.go:76
Function
TestBitSetIsClear
(t *testing.T)
bitset_test.go:122
Function
TestBitSetNew
(t *testing.T)
bitset_test.go:69
Function
TestBitSetOnesBetween
(t *testing.T)
bitset_test.go:2621
Function
TestBytes
Bytes is deprecated
bitset_test.go:1830
Function
TestCap
(t *testing.T)
bitset_test.go:1845
Function
TestChain
(t *testing.T)
bitset_test.go:616
Function
TestClearAll
(t *testing.T)
bitset_test.go:1879
Function
TestClearTooLong
(t *testing.T)
bitset_test.go:1870
Function
TestComplement
(t *testing.T)
bitset_test.go:1519
Function
TestCopy
(t *testing.T)
bitset_test.go:1972
Function
TestCopyFull
(t *testing.T)
bitset_test.go:2014
Function
TestCopyUnaligned
(t *testing.T)
bitset_test.go:1986
Function
TestCount
(t *testing.T)
bitset_test.go:642
Function
TestCount2
test setting every 3rd bit, just in case something odd is happening
bitset_test.go:664
Function
TestDeleteWithBitSetInstance
(t *testing.T)
bitset_test.go:2145
Function
TestDeleteWithBitStrings
(t *testing.T)
bitset_test.go:2039
Function
TestDifference
(t *testing.T)
bitset_test.go:1393
Function
TestDumpAsBits
(t *testing.T)
bitset_test.go:1583
Function
TestEmptyBitSet
(t *testing.T)
bitset_test.go:45
Function
TestEmptyDifferenceCardinality
(t *testing.T)
bitset_test.go:1423
Function
TestEmptyIntersectionCardinality
(t *testing.T)
bitset_test.go:1360
Function
TestEmptySymmetricDifferenceCardinality
(t *testing.T)
bitset_test.go:1486
Function
TestEmptyUnionCardinality
(t *testing.T)
bitset_test.go:1301
Function
TestEqual
(t *testing.T)
bitset_test.go:1235
Function
TestExceedCap
(t *testing.T)
bitset_test.go:141
Function
TestExpand
(t *testing.T)
bitset_test.go:154
Function
TestExtendOnBoundary
(t *testing.T)
bitset_test.go:131
Function
TestFlip
(t *testing.T)
bitset_test.go:1931
Function
TestFlipRange
(t *testing.T)
bitset_test.go:1945
Function
TestFrom
(t *testing.T)
bitset_test.go:1803
Function
TestInPlaceDifference
(t *testing.T)
bitset_test.go:1431
Function
TestInPlaceSymmetricDifference
(t *testing.T)
bitset_test.go:1494
Function
TestInPlaceUnion
(t *testing.T)
bitset_test.go:1309
Function
TestInplaceIntersection
(t *testing.T)
bitset_test.go:1368
Function
TestInsertAt
(t *testing.T)
bitset_test.go:1103
Function
TestInsertAtWithSet
(t *testing.T)
bitset_test.go:1068
Function
TestIntersection
(t *testing.T)
bitset_test.go:1334
Function
TestIsSuperSet
(t *testing.T)
bitset_test.go:1533
Function
TestIssue116
(t *testing.T)
bitset_test.go:1793
← previous
next →
101–200 of 266, ranked by callers