MCPcopy Create free account

hub / github.com/data61/MP-SPDZ / functions

Functions8,062 in github.com/data61/MP-SPDZ

↓ 486 callersMethodpush_back
Protocols/edabit.h:90
↓ 358 callersFunctionruntime_error
Print an error message and abort the runtime. Parameters work as in :py:func:`print_ln`
Compiler/library.py:226
↓ 356 callersMethodsize
Protocols/dabit.h:20
↓ 330 callersMethodmy_num
Networking/Player.h:126
↓ 324 callersMethodreveal
(self)
Compiler/oram.py:282
↓ 266 callersFunctionprint
FHE/Matrix.cpp:167
↓ 231 callersFunctionsum
FHE/tools.h:13
↓ 227 callersFunctionprint_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 callersFunctionto_string
Math/Integer.h:169
↓ 202 callersMethodappend
(self, item, for_real=True)
Compiler/gs.py:81
↓ 191 callersMethodnum_players
Processor/Data_Files.h:78
↓ 189 callersMethodget_vector
(self, base=0, size=None, skip=1)
Compiler/types.py:3251
↓ 177 callersMethodsize
FHE/FHE_Keys.h:29
↓ 151 callersFunctionmin
(x, y=None)
Compiler/util.py:211
↓ 150 callersMethodelapsed
Tools/time-func.cpp:45
↓ 147 callersFunctionzip
GC/square64.cpp:68
↓ 144 callersFunctionsize
OT/BitMatrix.h:34
↓ 142 callersMethodnum_players
Networking/Player.h:125
↓ 142 callersMethodsize
OT/Row.h:56
↓ 140 callersMethodhas_option
Processor/OnlineOptions.h:81
↓ 138 callersMethodsize
Tools/BitVector.h:97
↓ 132 callersMethodsize
Processor/Program.h:43
↓ 126 callersFunctionmax
(x, y=None, n_threads=None)
Compiler/util.py:205
↓ 115 callersFunctionDIV_CEIL
ceil(n / k)
Tools/int.h:44
↓ 112 callersMethodsize
GC/Secret.h:192
↓ 105 callersMethodconv
(cls, other)
Compiler/types.py:4256
↓ 101 callersMethodappend
Tools/BitVector.cpp:75
↓ 100 callersMethodif_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 callersMethodresize
Processor/Memory.h:75
↓ 96 callersMethodresize
FHE/AddableVector.h:190
↓ 91 callersMethodclear
Protocols/ReplicatedPrep.hpp:171
↓ 88 callersMethodArray
(self, size)
Compiler/types.py:6757
↓ 88 callersMethodreserve
Tools/octetStream.h:338
↓ 86 callersMethodphi_m
FHE/Ring.h:30
↓ 84 callersMethodassign_vector
(self, *args, **kwargs)
Compiler/ml.py:240
↓ 78 callersMethodadd
Math/modp.hpp:16
↓ 78 callersMethodresize
OT/OTCorrelator.hpp:16
↓ 77 callersMethod_new
(cls, other, k=None, f=None)
Compiler/types.py:4196
↓ 77 callersMethodwrite
(self, *args)
Compiler/types.py:8045
↓ 76 callersMethodempty
(self)
Compiler/oram.py:354
↓ 74 callersMethodget_r
Processor/Instruction.h:371
↓ 73 callersMethodend
Processor/Memory.h:45
↓ 73 callersMethodstart
GC/Thread.hpp:39
↓ 71 callersMethodempty
Tools/FixedVector.h:58
↓ 71 callersMethodisSet
################################################################### */
Tools/ezOptionParser.h:1757
↓ 71 callersFunctionlog2
(x)
Compiler/util.py:107
↓ 70 callersMethodstop
Tools/time-func.h:91
↓ 69 callersMethodreset_write_head
Set length to zero but keep allocation
Tools/octetStream.h:137
↓ 67 callersMethodbit_decompose
Clear bit decomposition. :param bit_length: number of bits (default is global bit length) :return: list of cint
Compiler/types.py:1382
↓ 67 callersMethodread
Read value. :return: relevant basic type instance
Compiler/types.py:7942
↓ 66 callersMethodbegin
Protocols/ShareMatrix.h:55
↓ 66 callersMethodget
Processor/Data_Files.h:375
↓ 65 callersMethodget_params
(self)
Compiler/types.py:5342
↓ 65 callersMethodinc
Produce :py:class:`regint` vector with certain patterns. This is particularly useful for :py:meth:`SubMultiArray.direct_mul`.
Compiler/types.py:1610
↓ 64 callersMethodempty
Protocols/edabit.h:52
↓ 64 callersMethodsize
BMR/Register.h:50
↓ 62 callersMethodadd
Protocols/Share.h:225
↓ 62 callersMethodbegin
Processor/Memory.h:40
↓ 62 callersFunctionget_int
Read a 4-byte integer
Tools/parse.h:20
↓ 60 callersMethodget
FHEOffline/Producer.cpp:244
↓ 58 callersMethodgetInt
################################################################### */
Tools/ezOptionParser.h:1000
↓ 58 callersMethodget_length
Length
Tools/octetStream.h:105
↓ 57 callersMethodcreate_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 callersMethodget_prime
FHE/P2Data.h:34
↓ 57 callersFunctionget_program
()
Compiler/library.py:19
↓ 57 callersMethodstr
Tools/octetStream.cpp:89
↓ 55 callersMethodPOpen
Protocols/ShamirMC.hpp:85
↓ 55 callersMethodget_type
Returns a fixed-length type.
Compiler/GC/types.py:48
↓ 54 callersMethodassign
Assignment. :param other: vector/Array/Matrix/MultiArray/iterable of compatible type and smaller size :param base: index
Compiler/types.py:6276
↓ 54 callersMethodget
BMR/Key.h:67
↓ 52 callersMethodbegin
GC/ArgTuples.h:58
↓ 52 callersMethodfrom_vec
(cls, vector)
Compiler/GC/types.py:894
↓ 52 callersMethodinsert
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 callersMethodm
FHE/Ring.h:31
↓ 52 callersMethodpush_back
Tools/FlexBuffer.h:68
↓ 52 callersMethodrandomize
Protocols/Share.hpp:39
↓ 51 callersMethodreveal_nested
Reveal as nested list.
Compiler/types.py:7655
↓ 50 callersMethodMatrix
Type-dependent matrix. Example: .. code:: a = sint.Matrix(10, 10)
Compiler/types.py:547
↓ 50 callersMethodclear
Tools/octetStream.cpp:26
↓ 50 callersMethodis_constant
(self)
Compiler/types.py:5445
↓ 50 callersMethodnext
Protocols/edabit.h:77
↓ 50 callersFunctionnumBits
Math/bigint.h:266
↓ 50 callersMethodstart_new_basicblock
(self, scope=False, name="", req_node=None)
Compiler/program.py:1139
↓ 49 callersFunctiondprint_ln
Runtime debug printing. To avoid revealing arguments, check TRACE or DEBUG outside this function.
Compiler/path_oblivious_heap.py:97
↓ 49 callersMethodpush
Tools/FlexBuffer.cpp:27
↓ 47 callersMethodelement
* Read slot. * @param i slot number * @returns slot content */
FHE/Plaintext.h:97
↓ 47 callersMethodget
Math/Z2k.h:128
↓ 46 callersMethodend
GC/ArgTuples.h:63
↓ 45 callersMethodexchange
Protocols/Rep4.hpp:255
↓ 45 callersFunctionreduce
FHE/Ring_Element.cpp:22
↓ 44 callersMethodbit_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 callersMethodbit_type
(self)
Compiler/GC/types.py:1664
↓ 44 callersMethodreading
(self, concept, reference, part=None)
Compiler/program.py:933
↓ 43 callersMethodincrement
Increment counter by a secret bit
Compiler/path_oram.py:41
↓ 43 callersMethodreset_all
Processor/Input.hpp:93
↓ 42 callersMethodclose
Tools/Buffer.h:213
↓ 42 callersMethodhard_conv
(cls, val)
Compiler/types.py:743
↓ 42 callersMethodpack
Protocols/Share.hpp:46
↓ 42 callersMethodread
(self, offset)
Compiler/gs.py:25
↓ 41 callersMethodget_type
(cls, n)
Compiler/types.py:2600
next →1–100 of 8,062, ranked by callers