Registry / utility / bits-and-blooms-bitset

bits-and-blooms-bitset

JSON →
library1.24.5gogounverified

Package bitset implements bitsets, a mapping between non-negative integers and boolean values.

go get github.com/bits-and-blooms/bitset
INSTALL
IMPORT
SIG · BITS-AND-BLOOMS-BI
B
bits-and-blooms-bitset
utilitygov1.24.5
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

bitset
github.com/bits-and-blooms/bitset

Creates a bitset, sets bit 3, and tests it.

package main import ( "fmt" "github.com/bits-and-blooms/bitset" ) func main() { b := bitset.New(10) b.Set(3) fmt.Println(b.Test(3)) // true }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.24.5latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
bits-and-blooms-bitset — go get bits-and-blooms-bitset · libregistry