Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/circify/circ
/ functions
Functions
2,442 in github.com/circify/circ
⨍
Functions
2,442
◇
Types & classes
328
↓ 1 callers
Method
metadata
Returns a [ComputationMetadata] and a list of sort bindings to un-bind.
src/ir/term/text/mod.rs:720
↓ 1 callers
Function
min_with_aux
Computes minimum in a tree based fashion and associated with aux element
examples/C/mpc/benchmarks/kmeans/2pc_kmeans_og.c:29
↓ 1 callers
Method
mk_uniq
Make a unique name prefixed by `prefix`, store it, and return it.
src/util/ns.rs:43
↓ 1 callers
Function
mmulT_unrolled_inner
examples/C/mpc/benchmarks/mnist/2pc_mnist.c:73
↓ 1 callers
Function
msh
Permute the accesses into sorted order using a multi-set hash argument.
src/ir/opt/mem/ram/checker/permutation.rs:59
↓ 1 callers
Function
mul
Operator
src/front/datalog/term.rs:157
↓ 1 callers
Function
mut_array_store
(array: T, idx: T, val: T, cond: Term)
src/front/zsharp/term.rs:938
↓ 1 callers
Function
name_from_func
(fn_def: &FunctionDefinition)
src/front/c/ast_utils.rs:88
↓ 1 callers
Function
neg
Operator unary-
src/front/datalog/term.rs:102
↓ 1 callers
Method
new_final_read
(&mut self, idx: Term, val: Term)
src/ir/opt/mem/ram.rs:599
↓ 1 callers
Method
new_init
(f: &AccessCfg, idx: Term, val: Term)
src/ir/opt/mem/ram.rs:222
↓ 1 callers
Method
next_ver
(&mut self)
src/circify/mod.rs:122
↓ 1 callers
Function
not
Operator unary!
src/front/datalog/term.rs:111
↓ 1 callers
Function
not_bool
(a: Term)
src/front/zsharpcurly/term.rs:734
↓ 1 callers
Function
not_bool
(a: Term)
src/front/zsharp/term.rs:746
↓ 1 callers
Method
ordered_call_term
Create a call term, given the input arguments in sorted order by argument names. ## Arguments `name`: function name `args`: map of argument name (St
src/ir/term/mod.rs:1930
↓ 1 callers
Method
ordered_public_inputs
Give all public inputs, in a fixed order.
src/ir/term/mod.rs:1803
↓ 1 callers
Function
parents_map
Build a map from every term in the computation to its parents. Guarantees that every computation term is a key in the map. If there are no parents, t
src/ir/term/extras.rs:133
↓ 1 callers
Method
parse
Parse, from bytes.
src/ir/term/ext.rs:94
↓ 1 callers
Method
parse
(&self, p: &P)
src/front/zsharp/parser.rs:123
↓ 1 callers
Function
parse_cond_store
Parse `ite` or `store` as a conditional store (arr, idx, val, guard)
src/ir/opt/cstore.rs:8
↓ 1 callers
Method
parse_file
(&self, path: &Path)
src/front/c/parser.rs:18
↓ 1 callers
Function
parse_test_config
(path: str)
scripts/file_test.py:62
↓ 1 callers
Method
partial_cmp
(&self, other: &Self)
circ_fields/src/lib.rs:366
↓ 1 callers
Function
persistent_to_ram
Extract any persistent arrays from a computation, returning RAMs
src/ir/opt/mem/ram/persistent.rs:17
↓ 1 callers
Function
pf_ir_lit
Initialize a prime field literal
src/front/datalog/term.rs:62
↓ 1 callers
Function
pf_lit
Initialize a prime field literal
src/front/datalog/term.rs:55
↓ 1 callers
Method
pf_neg
(&self, t: Term)
src/ir/opt/mem/ram.rs:140
↓ 1 callers
Function
pf_sub
(a: Term, b: Term)
src/ir/opt/mem/ram/checker.rs:387
↓ 1 callers
Function
pf_val
(i: I)
src/front/zsharpcurly/term.rs:824
↓ 1 callers
Function
pf_val
(i: I)
src/front/zsharp/term.rs:836
↓ 1 callers
Function
pivot_swap
* Performs the propagating swap for LU decomposition */
examples/C/mpc/benchmarks/gauss/2pc_gauss.c:88
↓ 1 callers
Method
pop_scope
(&mut self)
src/front/zsharpcurly/zvisit/zstmtwalker/mod.rs:802
↓ 1 callers
Method
pop_scope
(&mut self)
src/front/zsharp/zvisit/zstmtwalker/mod.rs:714
↓ 1 callers
Method
promote
(&mut self)
circ_fields/src/lib.rs:340
↓ 1 callers
Method
public_input_names_set
Give the set of public input names.
src/ir/term/mod.rs:1892
↓ 1 callers
Method
push_scope
(&mut self)
src/front/zsharpcurly/zvisit/zstmtwalker/mod.rs:798
↓ 1 callers
Method
push_scope
(&mut self)
src/front/zsharp/zvisit/zstmtwalker/mod.rs:710
↓ 1 callers
Method
rebuild_lval
Computes base[val / loc]
src/front/c/mod.rs:470
↓ 1 callers
Function
rec_check_raw
Type-check this term, recursively as needed. All results are stored in the global type table.
src/ir/term/ty.rs:498
↓ 1 callers
Method
recip_ref
(&self)
circ_fields/src/lib.rs:510
↓ 1 callers
Method
recompute_inputs
Recompute the inputs.
src/ir/term/precomp.rs:120
↓ 1 callers
Method
ref_cnt
(&self)
circ_hc/src/rc/example_u8.rs:233
↓ 1 callers
Method
ref_cnt
(&self)
circ_hc/src/rc/template.rs:233
↓ 1 callers
Method
register_attr_table
(&self, table: Rc<dyn attr::AttributeGc>)
circ_hc/src/raw/example_u8.rs:193
↓ 1 callers
Method
register_attr_table
(&self, table: Rc<dyn attr::AttributeGc>)
circ_hc/src/raw/template.rs:193
↓ 1 callers
Method
register_rules
(&mut self, pgm: &'ast ast::Program<'ast>)
src/front/datalog/mod.rs:83
↓ 1 callers
Method
rehash
(&self)
circ_hc/src/rc/example_u8.rs:318
↓ 1 callers
Method
rehash
(&self)
circ_hc/src/rc/template.rs:318
↓ 1 callers
Function
relu
examples/C/mpc/benchmarks/mnist/2pc_mnist.c:15
↓ 1 callers
Function
relu_map
examples/C/mpc/benchmarks/mnist/2pc_mnist.c:22
↓ 1 callers
Function
rem
Operator %
src/front/datalog/term.rs:183
↓ 1 callers
Method
remove_from_table
(&self, ptr: NodeValuePtr)
circ_hc/src/raw/example_u8.rs:144
↓ 1 callers
Method
remove_from_table
(&self, ptr: NodeValuePtr)
circ_hc/src/raw/template.rs:144
↓ 1 callers
Function
remove_non_scalar_vars_from_main_computation
Remove all variables that are non-scalar (and not committed).
src/ir/opt/scalarize_vars.rs:156
↓ 1 callers
Function
rename_test
Append path with language type
scripts/aby_tests/util.py:7
↓ 1 callers
Method
reorder
Put the outputs back into a topo order
src/ir/term/precomp.rs:198
↓ 1 callers
Method
ret_ty_from_func
(&mut self, fn_def: &FunctionDefinition)
src/front/c/mod.rs:375
↓ 1 callers
Method
ret_ty_put
(&mut self, ret_ty: Option<Ty>)
src/front/c/mod.rs:1320
↓ 1 callers
Method
ret_ty_stack_last
(&self)
src/front/zsharpcurly/mod.rs:1884
↓ 1 callers
Method
ret_ty_stack_last
(&self)
src/front/zsharp/mod.rs:1765
↓ 1 callers
Method
ret_ty_stack_pop
(&self)
src/front/zsharpcurly/mod.rs:1880
↓ 1 callers
Method
ret_ty_stack_pop
(&self)
src/front/zsharp/mod.rs:1761
↓ 1 callers
Method
ret_ty_take
(&self)
src/front/c/mod.rs:1324
↓ 1 callers
Function
right_sort
Does this array have a sort compatible with our RAM machinery?
src/ir/opt/mem/ram/volatile.rs:50
↓ 1 callers
Function
run_test
(features: set[str], path: str)
scripts/file_test.py:86
↓ 1 callers
Function
run_test
(expected: str, server_cmd: List[str], client_cmd: List[str])
scripts/aby_tests/util.py:34
↓ 1 callers
Function
sample_challenge
(a: T, number: usize)
src/front/zsharpcurly/term.rs:1151
↓ 1 callers
Function
sample_challenge
(a: T, number: usize)
src/front/zsharp/term.rs:1134
↓ 1 callers
Method
sample_child_sorts
(&self, sort: &Sort, op: &Op, rng: &mut R)
src/ir/term/dist.rs:175
↓ 1 callers
Function
sample_field_t
Sample a [FieldT] that is: Bls w/ p = 0.25 Bn w/ p = 0.25 An integer field otherwise with a number of bits sampled uniformly between 1..max_bits
circ_fields/src/test.rs:69
↓ 1 callers
Method
sample_op
(&self, sort: &Sort, rng: &mut R)
src/ir/term/dist.rs:96
↓ 1 callers
Method
sample_sort
(&self, rng: &mut R, max_size: usize)
src/ir/term/dist.rs:245
↓ 1 callers
Function
sample_steps
(num_steps: usize, d: &D, rng: &mut R, geo_p: f64)
circ_hc/src/test/bench.rs:20
↓ 1 callers
Function
sample_u8_steps
(num_steps: usize)
circ_hc/src/test/bench.rs:58
↓ 1 callers
Function
save_features
Save features to file
driver.py:42
↓ 1 callers
Function
save_mode
Save mode to file
driver.py:27
↓ 1 callers
Function
scalarize_inputs
Run the tuple elimination pass.
src/ir/opt/scalarize_vars.rs:131
↓ 1 callers
Function
serialize_computations
Serialize a computations set.
src/ir/term/text/mod.rs:972
↓ 1 callers
Function
serialize_value_map
Serialize an IR "value map": a map from strings to values. See [parse_value_map].
src/ir/term/text/mod.rs:920
↓ 1 callers
Function
set_default
Set the CirC configuration to its defaults. See [set] to customize
src/cfg.rs:44
↓ 1 callers
Function
set_default_features
(features)
driver.py:268
↓ 1 callers
Method
set_lhs_ty_ret
(&self, r: &ast::ReturnStatement<'ast>)
src/front/zsharpcurly/mod.rs:1724
↓ 1 callers
Method
set_lhs_ty_ret
(&self, r: &ast::ReturnStatement<'ast>)
src/front/zsharp/mod.rs:1612
↓ 1 callers
Function
set_mode
(mode)
driver.py:298
↓ 1 callers
Function
shl
Operator <<
src/front/datalog/term.rs:203
↓ 1 callers
Function
should_collect
()
src/ir/term/mod.rs:1194
↓ 1 callers
Function
shr
Operator >>
src/front/datalog/term.rs:214
↓ 1 callers
Function
slice
(arr: T, start: Option<usize>, end: Option<usize>)
src/front/zsharpcurly/term.rs:849
↓ 1 callers
Function
slice
(arr: T, start: Option<usize>, end: Option<usize>)
src/front/zsharp/term.rs:861
↓ 1 callers
Function
solve_backtracking
* Recomputes the result once LU decomposition is completed */
examples/C/mpc/benchmarks/gauss/2pc_gauss.c:52
↓ 1 callers
Method
sort
(&self)
src/front/zsharpcurly/term.rs:79
↓ 1 callers
Method
sort
(&self)
src/front/zsharp/term.rs:68
↓ 1 callers
Method
sorts
Parse sorts, in-order
src/ir/term/text/mod.rs:390
↓ 1 callers
Method
start_persistent_array
Intialize a new persistent array.
src/ir/term/mod.rs:2084
↓ 1 callers
Method
store
Conditional store to an AllocId based on current path condition
src/circify/mod.rs:844
↓ 1 callers
Method
string_list
(&self, tt: &TokTree<'src>)
src/ir/term/text/mod.rs:606
↓ 1 callers
Function
sub
Operator -
src/front/datalog/term.rs:142
↓ 1 callers
Function
sub
examples/C/mpc/unit_tests/function_tests/function_arg_order.c:1
↓ 1 callers
Method
sub
(self, rhs: InlineFieldV)
circ_fields/src/lib.rs:785
← previous
next →
1,001–1,100 of 2,442, ranked by callers