Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/data61/MP-SPDZ
/ functions
Functions
8,062 in github.com/data61/MP-SPDZ
⨍
Functions
8,062
◇
Types & classes
1,823
↳
Endpoints
13
↓ 486 callers
Method
push_back
Protocols/edabit.h:90
↓ 358 callers
Function
runtime_error
Print an error message and abort the runtime. Parameters work as in :py:func:`print_ln`
Compiler/library.py:226
↓ 356 callers
Method
size
Protocols/dabit.h:20
↓ 330 callers
Method
my_num
Networking/Player.h:126
↓ 324 callers
Method
reveal
(self)
Compiler/oram.py:282
↓ 266 callers
Function
print
FHE/Matrix.cpp:167
↓ 231 callers
Function
sum
FHE/tools.h:13
↓ 227 callers
Function
print_ln
Print line, with optional args for adding variables/registers with ``%s``. By default only player 0 outputs, but the ``-I`` command-line opti
Compiler/library.py:125
↓ 207 callers
Function
to_string
Math/Integer.h:169
↓ 202 callers
Method
append
(self, item, for_real=True)
Compiler/gs.py:81
↓ 191 callers
Method
num_players
Processor/Data_Files.h:78
↓ 189 callers
Method
get_vector
(self, base=0, size=None, skip=1)
Compiler/types.py:3251
↓ 177 callers
Method
size
FHE/FHE_Keys.h:29
↓ 151 callers
Function
min
(x, y=None)
Compiler/util.py:211
↓ 150 callers
Method
elapsed
Tools/time-func.cpp:45
↓ 147 callers
Function
zip
GC/square64.cpp:68
↓ 144 callers
Function
size
OT/BitMatrix.h:34
↓ 142 callers
Method
num_players
Networking/Player.h:125
↓ 142 callers
Method
size
OT/Row.h:56
↓ 140 callers
Method
has_option
Processor/OnlineOptions.h:81
↓ 138 callers
Method
size
Tools/BitVector.h:97
↓ 132 callers
Method
size
Processor/Program.h:43
↓ 126 callers
Function
max
(x, y=None, n_threads=None)
Compiler/util.py:205
↓ 115 callers
Function
DIV_CEIL
ceil(n / k)
Tools/int.h:44
↓ 112 callers
Method
size
GC/Secret.h:192
↓ 105 callers
Method
conv
(cls, other)
Compiler/types.py:4256
↓ 101 callers
Method
append
Tools/BitVector.cpp:75
↓ 100 callers
Method
if_else
MUX on bit in arithmetic circuits:: print_ln('%s', sint(0).if_else(sint(2), sint(3)).reveal()) print_ln('%s', sint(1).if_else(si
Compiler/types.py:383
↓ 97 callers
Method
resize
Processor/Memory.h:75
↓ 96 callers
Method
resize
FHE/AddableVector.h:190
↓ 91 callers
Method
clear
Protocols/ReplicatedPrep.hpp:171
↓ 88 callers
Method
Array
(self, size)
Compiler/types.py:6757
↓ 88 callers
Method
reserve
Tools/octetStream.h:338
↓ 86 callers
Method
phi_m
FHE/Ring.h:30
↓ 84 callers
Method
assign_vector
(self, *args, **kwargs)
Compiler/ml.py:240
↓ 78 callers
Method
add
Math/modp.hpp:16
↓ 78 callers
Method
resize
OT/OTCorrelator.hpp:16
↓ 77 callers
Method
_new
(cls, other, k=None, f=None)
Compiler/types.py:4196
↓ 77 callers
Method
write
(self, *args)
Compiler/types.py:8045
↓ 76 callers
Method
empty
(self)
Compiler/oram.py:354
↓ 74 callers
Method
get_r
Processor/Instruction.h:371
↓ 73 callers
Method
end
Processor/Memory.h:45
↓ 73 callers
Method
start
GC/Thread.hpp:39
↓ 71 callers
Method
empty
Tools/FixedVector.h:58
↓ 71 callers
Method
isSet
################################################################### */
Tools/ezOptionParser.h:1757
↓ 71 callers
Function
log2
(x)
Compiler/util.py:107
↓ 70 callers
Method
stop
Tools/time-func.h:91
↓ 69 callers
Method
reset_write_head
Set length to zero but keep allocation
Tools/octetStream.h:137
↓ 67 callers
Method
bit_decompose
Clear bit decomposition. :param bit_length: number of bits (default is global bit length) :return: list of cint
Compiler/types.py:1382
↓ 67 callers
Method
read
Read value. :return: relevant basic type instance
Compiler/types.py:7942
↓ 66 callers
Method
begin
Protocols/ShareMatrix.h:55
↓ 66 callers
Method
get
Processor/Data_Files.h:375
↓ 65 callers
Method
get_params
(self)
Compiler/types.py:5342
↓ 65 callers
Method
inc
Produce :py:class:`regint` vector with certain patterns. This is particularly useful for :py:meth:`SubMultiArray.direct_mul`.
Compiler/types.py:1610
↓ 64 callers
Method
empty
Protocols/edabit.h:52
↓ 64 callers
Method
size
BMR/Register.h:50
↓ 62 callers
Method
add
Protocols/Share.h:225
↓ 62 callers
Method
begin
Processor/Memory.h:40
↓ 62 callers
Function
get_int
Read a 4-byte integer
Tools/parse.h:20
↓ 60 callers
Method
get
FHEOffline/Producer.cpp:244
↓ 58 callers
Method
getInt
################################################################### */
Tools/ezOptionParser.h:1000
↓ 58 callers
Method
get_length
Length
Tools/octetStream.h:105
↓ 57 callers
Method
create_from
Convert Python iterator or vector to array or copy another array. Basic type will be taken from first element, further elements must
Compiler/types.py:6073
↓ 57 callers
Method
get_prime
FHE/P2Data.h:34
↓ 57 callers
Function
get_program
()
Compiler/library.py:19
↓ 57 callers
Method
str
Tools/octetStream.cpp:89
↓ 55 callers
Method
POpen
Protocols/ShamirMC.hpp:85
↓ 55 callers
Method
get_type
Returns a fixed-length type.
Compiler/GC/types.py:48
↓ 54 callers
Method
assign
Assignment. :param other: vector/Array/Matrix/MultiArray/iterable of compatible type and smaller size :param base: index
Compiler/types.py:6276
↓ 54 callers
Method
get
BMR/Key.h:67
↓ 52 callers
Method
begin
GC/ArgTuples.h:58
↓ 52 callers
Method
from_vec
(cls, vector)
Compiler/GC/types.py:894
↓ 52 callers
Method
insert
Insert an entry in the stash, assigning it a random leaf label, evict along two random, non-overlapping (except in the root) paths, an
Compiler/path_oblivious_heap.py:484
↓ 52 callers
Method
m
FHE/Ring.h:31
↓ 52 callers
Method
push_back
Tools/FlexBuffer.h:68
↓ 52 callers
Method
randomize
Protocols/Share.hpp:39
↓ 51 callers
Method
reveal_nested
Reveal as nested list.
Compiler/types.py:7655
↓ 50 callers
Method
Matrix
Type-dependent matrix. Example: .. code:: a = sint.Matrix(10, 10)
Compiler/types.py:547
↓ 50 callers
Method
clear
Tools/octetStream.cpp:26
↓ 50 callers
Method
is_constant
(self)
Compiler/types.py:5445
↓ 50 callers
Method
next
Protocols/edabit.h:77
↓ 50 callers
Function
numBits
Math/bigint.h:266
↓ 50 callers
Method
start_new_basicblock
(self, scope=False, name="", req_node=None)
Compiler/program.py:1139
↓ 49 callers
Function
dprint_ln
Runtime debug printing. To avoid revealing arguments, check TRACE or DEBUG outside this function.
Compiler/path_oblivious_heap.py:97
↓ 49 callers
Method
push
Tools/FlexBuffer.cpp:27
↓ 47 callers
Method
element
* Read slot. * @param i slot number * @returns slot content */
FHE/Plaintext.h:97
↓ 47 callers
Method
get
Math/Z2k.h:128
↓ 46 callers
Method
end
GC/ArgTuples.h:63
↓ 45 callers
Method
exchange
Protocols/Rep4.hpp:255
↓ 45 callers
Function
reduce
FHE/Ring_Element.cpp:22
↓ 44 callers
Method
bit_compose
r""" Clear :math:`\mathrm{GF}(2^n)` bit composition. :param bits: list of cgf2n :param step: set every :py:obj:`step`-th bit in outpu
Compiler/types.py:1446
↓ 44 callers
Method
bit_type
(self)
Compiler/GC/types.py:1664
↓ 44 callers
Method
reading
(self, concept, reference, part=None)
Compiler/program.py:933
↓ 43 callers
Method
increment
Increment counter by a secret bit
Compiler/path_oram.py:41
↓ 43 callers
Method
reset_all
Processor/Input.hpp:93
↓ 42 callers
Method
close
Tools/Buffer.h:213
↓ 42 callers
Method
hard_conv
(cls, val)
Compiler/types.py:743
↓ 42 callers
Method
pack
Protocols/Share.hpp:46
↓ 42 callers
Method
read
(self, offset)
Compiler/gs.py:25
↓ 41 callers
Method
get_type
(cls, n)
Compiler/types.py:2600
next →
1–100 of 8,062, ranked by callers