MCPcopy Create free account

hub / github.com/bitcoin-core/minisketch / functions

Functions199 in github.com/bitcoin-core/minisketch

↓ 1 callersMethodconstruct_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 callersMethoddecode
Decode the contents of this sketch. Returns either a list of elements or None if undecodable.
tests/pyminisketch.py:425
↓ 1 callersMethoddeserialize
Deserialize a byte array into this sketch, overwriting its contents.
tests/pyminisketch.py:404
↓ 1 callersMethodfield_size_capacity_test
Test Minisketch methods for a specific field and capacity.
tests/pyminisketch.py:480
↓ 1 callersMethodfield_size_test
Test operations for given field_size.
tests/pyminisketch.py:142
↓ 1 callersMethodfield_size_test
Run tests for given field_size.
tests/pyminisketch.py:315
↓ 1 callersMethodmerge
Merge a sketch with another sketch. Corresponds to XOR'ing their serializations.
tests/pyminisketch.py:418
↓ 1 callersFunctionminisketch_bits
src/minisketch.cpp:396
↓ 1 callersFunctionminisketch_capacity
src/minisketch.cpp:402
↓ 1 callersFunctionminisketch_implementation
src/minisketch.cpp:408
↓ 1 callersFunctionminisketch_implementation_supported
src/minisketch.cpp:364
↓ 1 callersFunctionminisketch_set_seed
src/minisketch.cpp:474
↓ 1 callersFunctionpoly_frobeniusmod
Compute x^(2^field_size) mod poly.
tests/pyminisketch.py:253
↓ 1 callersFunctionpoly_gcd
Return the polynomial GCD of a and b.
tests/pyminisketch.py:217
↓ 1 callersFunctionpoly_tracemod
Compute y + y^2 + y^4 + ... + y^(2^(field_size-1)) mod poly, where y = param*x.
tests/pyminisketch.py:238
↓ 1 callersFunctionrec_split
Recursively split poly using the Berlekamp trace algorithm.
tests/pyminisketch.py:278
↓ 1 callersMethodserialize
Serialize this sketch to bytes.
tests/pyminisketch.py:397
MethodBitReader
src/int_utils.h:110
MethodBitWriter
src/int_utils.h:84
MethodBits
src/int_utils.h:225
MethodBits
src/fields/generic_common_impl.h:25
MethodBits
src/fields/clmul_common_impl.h:119
MethodBitsSupported
Check whether the library supports fields of the given size. */
include/minisketch.h:210
MethodBuild
src/lintrans.h:41
MethodBuild
src/lintrans.h:121
MethodBuild
src/lintrans.h:137
MethodCall
Shift a value `a` up once, treating it as an `N`-bit LFSR, with pattern `MOD`. */
src/int_utils.h:233
MethodComputeCapacity
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
MethodComputeMaxElements
Reverse operation of ComputeCapacity. See minisketch_compute_max_elements. */
include/minisketch.h:229
MethodCondXorWith
src/int_utils.h:216
MethodCreateFP
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
MethodDecode
Decode this (valid) Minisketch object into the result vector, up to as many elements as the * vector's size permits. */
include/minisketch.h:312
MethodDecodeFP
C++17 only: similar to Decode(), but with specified false positive probability. */
include/minisketch.h:359
MethodDeserialize
src/fields/generic_common_impl.h:60
MethodDeserialize
src/fields/clmul_common_impl.h:154
MethodFromSeed
Generate a random field element. */
src/fields/clmul_common_impl.h:143
MethodFromUint64
src/fields/clmul_common_impl.h:158
FunctionFullDecode
src/sketch_impl.h:347
FunctionGFMul
src/int_utils.h:250
MethodGetImplementation
Return the implementation number for a (valid) Minisketch object. */
include/minisketch.h:285
MethodImplementationSupported
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
MethodInv
Compute the inverse of x1. */
src/fields/clmul_common_impl.h:140
FunctionInvExtGCD
src/int_utils.h:254
FunctionInvLadder
src/int_utils.h:280
MethodIsOne
src/int_utils.h:197
MethodIsZero
src/int_utils.h:196
MethodLinTrans
src/lintrans.h:20
MethodMap
src/lintrans.h:99
MethodMap
src/lintrans.h:118
MethodMap
src/lintrans.h:134
MethodMap
src/lintrans.h:144
MethodMask
src/int_utils.h:198
MethodMaxImplementation
Get the highest supported implementation number. */
include/minisketch.h:213
MethodMidBits
src/int_utils.h:203
MethodMinisketch
Construct a clone of the specified sketch. */
include/minisketch.h:232
MethodMul
src/fields/clmul_common_impl.h:123
MethodMul2
src/fields/clmul_common_impl.h:121
FunctionMulTrinomial
src/fields/clmul_common_impl.h:68
FunctionMulWithClMulReduce
src/fields/clmul_common_impl.h:31
MethodMultiplier
src/fields/generic_common_impl.h:33
MethodMultiplier
src/fields/clmul_common_impl.h:129
MethodQrt
Compute x such that x^2 + x = a (undefined result if no solution exists). */
src/fields/clmul_common_impl.h:137
MethodRead
src/int_utils.h:113
MethodRecLinTrans
src/lintrans.h:113
MethodRecLinTrans
src/lintrans.h:129
FunctionRot
src/int_utils.h:24
MethodRun
src/int_utils.h:242
MethodRun
src/int_utils.h:246
MethodSerialize
src/fields/generic_common_impl.h:62
MethodSerialize
src/fields/clmul_common_impl.h:156
MethodSerialize
Serialize this (valid) Minisketch object as a byte vector. */
include/minisketch.h:324
MethodShift
src/int_utils.h:199
MethodSketch
src/sketch.h:21
MethodSketchImpl
src/sketch_impl.h:363
MethodSqr
Compute the square of a. */
src/fields/clmul_common_impl.h:134
MethodSqr1
src/fields/clmul_common_impl.h:110
MethodSqr16
src/fields/clmul_common_impl.h:114
MethodSqr2
src/fields/clmul_common_impl.h:111
MethodSqr4
src/fields/clmul_common_impl.h:112
MethodSqr8
src/fields/clmul_common_impl.h:113
MethodSwap
src/int_utils.h:192
MethodToUint64
src/fields/clmul_common_impl.h:159
MethodTopBits
src/int_utils.h:210
MethodTopMap
src/lintrans.h:102
MethodUnsafeShift
src/int_utils.h:200
MethodWrite
src/int_utils.h:87
MethodWriteInner
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
Functionmain
src/bench.cpp:16
Functionmain
src/test.cpp:270
Functionmain
doc/example.c:11
Methodoperator()
src/fields/generic_common_impl.h:34
Methodoperator()
src/fields/clmul_common_impl.h:130
Methodoperator()
include/minisketch.h:200
Methodtest
Run tests.
tests/pyminisketch.py:173
Methodtest
Run tests.
tests/pyminisketch.py:336
Methodtest
Run tests.
tests/pyminisketch.py:500
Method~Sketch
src/sketch.h:29
← previous101–199 of 199, ranked by callers