Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bitcoin-core/minisketch
/ functions
Functions
199 in github.com/bitcoin-core/minisketch
⨍
Functions
199
◇
Types & classes
27
↓ 1 callers
Method
construct_data
Construct two random lists of elements in [1..2**field_size-1]. Each list will have unique elements that don't appear in the other (num_a_onl
tests/pyminisketch.py:461
↓ 1 callers
Method
decode
Decode the contents of this sketch. Returns either a list of elements or None if undecodable.
tests/pyminisketch.py:425
↓ 1 callers
Method
deserialize
Deserialize a byte array into this sketch, overwriting its contents.
tests/pyminisketch.py:404
↓ 1 callers
Method
field_size_capacity_test
Test Minisketch methods for a specific field and capacity.
tests/pyminisketch.py:480
↓ 1 callers
Method
field_size_test
Test operations for given field_size.
tests/pyminisketch.py:142
↓ 1 callers
Method
field_size_test
Run tests for given field_size.
tests/pyminisketch.py:315
↓ 1 callers
Method
merge
Merge a sketch with another sketch. Corresponds to XOR'ing their serializations.
tests/pyminisketch.py:418
↓ 1 callers
Function
minisketch_bits
src/minisketch.cpp:396
↓ 1 callers
Function
minisketch_capacity
src/minisketch.cpp:402
↓ 1 callers
Function
minisketch_implementation
src/minisketch.cpp:408
↓ 1 callers
Function
minisketch_implementation_supported
src/minisketch.cpp:364
↓ 1 callers
Function
minisketch_set_seed
src/minisketch.cpp:474
↓ 1 callers
Function
poly_frobeniusmod
Compute x^(2^field_size) mod poly.
tests/pyminisketch.py:253
↓ 1 callers
Function
poly_gcd
Return the polynomial GCD of a and b.
tests/pyminisketch.py:217
↓ 1 callers
Function
poly_tracemod
Compute y + y^2 + y^4 + ... + y^(2^(field_size-1)) mod poly, where y = param*x.
tests/pyminisketch.py:238
↓ 1 callers
Function
rec_split
Recursively split poly using the Berlekamp trace algorithm.
tests/pyminisketch.py:278
↓ 1 callers
Method
serialize
Serialize this sketch to bytes.
tests/pyminisketch.py:397
Method
BitReader
src/int_utils.h:110
Method
BitWriter
src/int_utils.h:84
Method
Bits
src/int_utils.h:225
Method
Bits
src/fields/generic_common_impl.h:25
Method
Bits
src/fields/clmul_common_impl.h:119
Method
BitsSupported
Check whether the library supports fields of the given size. */
include/minisketch.h:210
Method
Build
src/lintrans.h:41
Method
Build
src/lintrans.h:121
Method
Build
src/lintrans.h:137
Method
Call
Shift a value `a` up once, treating it as an `N`-bit LFSR, with pattern `MOD`. */
src/int_utils.h:233
Method
ComputeCapacity
Given field size and a maximum number of decodable elements n, compute what capacity c to * use so that sketches with more elements than n have
include/minisketch.h:226
Method
ComputeMaxElements
Reverse operation of ComputeCapacity. See minisketch_compute_max_elements. */
include/minisketch.h:229
Method
CondXorWith
src/int_utils.h:216
Method
CreateFP
Create a Minisketch object sufficiently large for the specified number of elements at given fpbits. * It may construct an invalid object, which
include/minisketch.h:273
Method
Decode
Decode this (valid) Minisketch object into the result vector, up to as many elements as the * vector's size permits. */
include/minisketch.h:312
Method
DecodeFP
C++17 only: similar to Decode(), but with specified false positive probability. */
include/minisketch.h:359
Method
Deserialize
src/fields/generic_common_impl.h:60
Method
Deserialize
src/fields/clmul_common_impl.h:154
Method
FromSeed
Generate a random field element. */
src/fields/clmul_common_impl.h:143
Method
FromUint64
src/fields/clmul_common_impl.h:158
Function
FullDecode
src/sketch_impl.h:347
Function
GFMul
src/int_utils.h:250
Method
GetImplementation
Return the implementation number for a (valid) Minisketch object. */
include/minisketch.h:285
Method
ImplementationSupported
Check whether the library supports fields with a given size and implementation number. * If a particular field size `bits` is supported, impleme
include/minisketch.h:219
Method
Inv
Compute the inverse of x1. */
src/fields/clmul_common_impl.h:140
Function
InvExtGCD
src/int_utils.h:254
Function
InvLadder
src/int_utils.h:280
Method
IsOne
src/int_utils.h:197
Method
IsZero
src/int_utils.h:196
Method
LinTrans
src/lintrans.h:20
Method
Map
src/lintrans.h:99
Method
Map
src/lintrans.h:118
Method
Map
src/lintrans.h:134
Method
Map
src/lintrans.h:144
Method
Mask
src/int_utils.h:198
Method
MaxImplementation
Get the highest supported implementation number. */
include/minisketch.h:213
Method
MidBits
src/int_utils.h:203
Method
Minisketch
Construct a clone of the specified sketch. */
include/minisketch.h:232
Method
Mul
src/fields/clmul_common_impl.h:123
Method
Mul2
src/fields/clmul_common_impl.h:121
Function
MulTrinomial
src/fields/clmul_common_impl.h:68
Function
MulWithClMulReduce
src/fields/clmul_common_impl.h:31
Method
Multiplier
src/fields/generic_common_impl.h:33
Method
Multiplier
src/fields/clmul_common_impl.h:129
Method
Qrt
Compute x such that x^2 + x = a (undefined result if no solution exists). */
src/fields/clmul_common_impl.h:137
Method
Read
src/int_utils.h:113
Method
RecLinTrans
src/lintrans.h:113
Method
RecLinTrans
src/lintrans.h:129
Function
Rot
src/int_utils.h:24
Method
Run
src/int_utils.h:242
Method
Run
src/int_utils.h:246
Method
Serialize
src/fields/generic_common_impl.h:62
Method
Serialize
src/fields/clmul_common_impl.h:156
Method
Serialize
Serialize this (valid) Minisketch object as a byte vector. */
include/minisketch.h:324
Method
Shift
src/int_utils.h:199
Method
Sketch
src/sketch.h:21
Method
SketchImpl
src/sketch_impl.h:363
Method
Sqr
Compute the square of a. */
src/fields/clmul_common_impl.h:134
Method
Sqr1
src/fields/clmul_common_impl.h:110
Method
Sqr16
src/fields/clmul_common_impl.h:114
Method
Sqr2
src/fields/clmul_common_impl.h:111
Method
Sqr4
src/fields/clmul_common_impl.h:112
Method
Sqr8
src/fields/clmul_common_impl.h:113
Method
Swap
src/int_utils.h:192
Method
ToUint64
src/fields/clmul_common_impl.h:159
Method
TopBits
src/int_utils.h:210
Method
TopMap
src/lintrans.h:102
Method
UnsafeShift
src/int_utils.h:200
Method
Write
src/int_utils.h:87
Method
WriteInner
src/int_utils.h:61
Method
__init__
Construct a GF2Ops object for the specified field size.
tests/pyminisketch.py:92
Method
__init__
Initialize an empty sketch with the specified field_size size and capacity.
tests/pyminisketch.py:379
Function
main
src/bench.cpp:16
Function
main
src/test.cpp:270
Function
main
doc/example.c:11
Method
operator()
src/fields/generic_common_impl.h:34
Method
operator()
src/fields/clmul_common_impl.h:130
Method
operator()
include/minisketch.h:200
Method
test
Run tests.
tests/pyminisketch.py:173
Method
test
Run tests.
tests/pyminisketch.py:336
Method
test
Run tests.
tests/pyminisketch.py:500
Method
~Sketch
src/sketch.h:29
← previous
101–199 of 199, ranked by callers