Source File
block.go
Belonging Package
github.com/parquet-go/parquet-go/bloom
package bloomimport// Word represents 32 bits words of bloom filter blocks.type Word uint32// Block represents bloom filter blocks which contain eight 32 bits words.type Block [8]Word// Bytes returns b as a byte slice.func ( *Block) () []byte {return unsafe.Slice((*byte)(unsafe.Pointer()), BlockSize)}const (// BlockSize is the size of bloom filter blocks in bytes.BlockSize = 32salt0 = 0x47b6137bsalt1 = 0x44974d91salt2 = 0x8824ad5bsalt3 = 0xa2b7289dsalt4 = 0x705495c7salt5 = 0x2df1424bsalt6 = 0x9efc4947salt7 = 0x5c6bfb31)
![]() |
The pages are generated with Golds v0.8.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |