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
↓ 4 callers
Method
zero_allocate
Allocate a new zero-initialized stack array. ## Parameters `size`: number of elements `addr_width`: number of bits in an index `val_width`: number o
src/circify/mem.rs:87
↓ 3 callers
Method
add_commitment
Make this list of variables a commitment.
src/ir/term/mod.rs:1726
↓ 3 callers
Method
add_constraint
(&mut self, lhs: Term, rhs: Term)
src/front/zsharpcurly/zvisit/zgenericinf.rs:57
↓ 3 callers
Method
add_constraint
(&mut self, lhs: Term, rhs: Term)
src/front/zsharp/zvisit/zgenericinf.rs:57
↓ 3 callers
Function
array_elements
The elements in this array (select terms) as a vector.
src/ir/term/extras.rs:145
↓ 3 callers
Function
array_or
( a: &'a Sort, ctx: &'static str, )
src/ir/term/ty.rs:603
↓ 3 callers
Method
as_map
Unwrap the constituent sorts of this array, panicking otherwise.
src/ir/term/mod.rs:939
↓ 3 callers
Method
as_pf_opt
Get the underlying prime field constant, if possible.
src/ir/term/mod.rs:1265
↓ 3 callers
Method
as_term
(&mut self)
src/ir/opt/flat.rs:35
↓ 3 callers
Method
bimap
(&self, mut f: impl FnMut(Term, Term) -> Term, other: &Self)
src/ir/opt/tuple.rs:106
↓ 3 callers
Method
bind
Takes bindings in order bound, and unbinds
src/ir/term/text/mod.rs:209
↓ 3 callers
Method
bool2pf
(&self, t: Term)
src/ir/opt/mem/ram.rs:137
↓ 3 callers
Function
canon_type
(ty: &ast::StructType<'ast>, zgen: &ZGen<'ast>)
src/front/zsharpcurly/zvisit/eqtype.rs:126
↓ 3 callers
Method
canon_type
shallow canonicalization: flatten down to the first Basic, Array, or non-alias Struct
src/front/zsharpcurly/zvisit/zstmtwalker/mod.rs:807
↓ 3 callers
Method
canon_type
shallow canonicalization: flatten down to the first Basic, Array, or non-alias Struct
src/front/zsharp/zvisit/zstmtwalker/mod.rs:719
↓ 3 callers
Method
canonicalize
Turn `child`, relative to `parent` (or to the standard libary!), into an absolute path.
src/front/zsharpcurly/parser.rs:58
↓ 3 callers
Method
canonicalize
Turn `child`, relative to `parent` (or to the standard libary!), into an absolute path.
src/front/zsharp/parser.rs:58
↓ 3 callers
Function
check
Run cargo check Parameters ---------- features : set of str set of features required
driver.py:84
↓ 3 callers
Method
check
Check value in-range (debug only)
circ_fields/src/int_field.rs:50
↓ 3 callers
Method
circ_store
(&self, i: AllocId, idx: Term, v: Term)
src/front/c/mod.rs:1346
↓ 3 callers
Method
clone
(&self)
circ_hc/src/raw/example_u8.rs:205
↓ 3 callers
Function
cond
(c: T, a: T, b: T)
src/front/zsharpcurly/term.rs:813
↓ 3 callers
Method
condition
(&mut self, c: &'ast ast::Condition)
src/front/datalog/mod.rs:141
↓ 3 callers
Method
condition
Get the current path condition
src/circify/mod.rs:676
↓ 3 callers
Method
const_id_
(&self, id: &ast::IdentifierExpression<'ast>)
src/front/zsharpcurly/zvisit/zgenericinf.rs:67
↓ 3 callers
Method
const_id_
(&self, id: &ast::IdentifierExpression<'ast>)
src/front/zsharp/zvisit/zgenericinf.rs:67
↓ 3 callers
Function
const_value
(t: &Term)
src/front/zsharpcurly/term.rs:774
↓ 3 callers
Function
const_value
(t: &Term)
src/front/zsharp/term.rs:786
↓ 3 callers
Method
cvar_declare_init
(&self, name: String, ty: &Ty, val: T)
src/front/zsharpcurly/mod.rs:1834
↓ 3 callers
Method
cvar_declare_init
(&self, name: String, ty: &Ty, val: T)
src/front/zsharp/mod.rs:1715
↓ 3 callers
Method
cvar_lookup
(&self, name: &str)
src/front/zsharpcurly/mod.rs:1858
↓ 3 callers
Function
decomposed_relu
examples/C/mpc/benchmarks/mnist/2pc_mnist.c:28
↓ 3 callers
Method
default
(&self)
src/front/zsharpcurly/term.rs:96
↓ 3 callers
Method
default
(&self)
src/front/zsharp/term.rs:84
↓ 3 callers
Function
default_field
()
src/front/zsharp/term.rs:59
↓ 3 callers
Method
downgrade
(&self)
circ_hc/src/rc/example_u8.rs:251
↓ 3 callers
Method
enter_condition
(&mut self, condition: Term)
src/circify/mod.rs:254
↓ 3 callers
Method
enter_function
Attempt to enter a funciton. Returns `false` if doing so would violate the recursion limit.
src/front/datalog/mod.rs:55
↓ 3 callers
Function
eval_cached
Recursively the term `t`, using variable values in `h` and storing intermediate evaluations in the cache `vs`.
src/ir/term/eval.rs:16
↓ 3 callers
Method
exit_condition
(&mut self)
src/circify/mod.rs:263
↓ 3 callers
Method
exit_function
(&mut self, name: &'ast str)
src/front/datalog/mod.rs:73
↓ 3 callers
Function
fixedpt_mul
examples/C/mpc/benchmarks/gauss/fixpoint.h:13
↓ 3 callers
Method
force_gc
(&self)
circ_hc/src/raw/example_u8.rs:164
↓ 3 callers
Method
force_gc
(&self)
circ_hc/src/raw/template.rs:164
↓ 3 callers
Function
free_variables
Get all the free variables in this term
src/ir/term/extras.rs:89
↓ 3 callers
Method
gen_assign
(&mut self, loc: CLoc, val: CTerm)
src/front/c/mod.rs:543
↓ 3 callers
Method
gen_decl
(&mut self, decl: &Declaration)
src/front/c/mod.rs:984
↓ 3 callers
Method
gen_lval
(&mut self, expr: &Expression)
src/front/c/mod.rs:497
↓ 3 callers
Method
generics_stack_pop
(&self)
src/front/zsharpcurly/mod.rs:806
↓ 3 callers
Method
generics_stack_pop
(&self)
src/front/zsharp/mod.rs:704
↓ 3 callers
Method
get_derived_type
Function for getting base_type of an object (array, struct)
src/front/c/mod.rs:283
↓ 3 callers
Function
haboeck_eval
(haystack: &[usize], needles: &[usize], counts: &[usize])
src/ir/term/ext/test.rs:147
↓ 3 callers
Method
ident
(&self, tt: &TokTree<'src>)
src/ir/term/text/mod.rs:642
↓ 3 callers
Function
idx_name
(struct_name: &str, idx: usize)
src/front/zsharpcurly/term.rs:1175
↓ 3 callers
Method
inline_tag
If this field has an inline tag, get it.
circ_fields/src/lib.rs:87
↓ 3 callers
Method
inner_ty
(self)
src/front/c/types.rs:197
↓ 3 callers
Method
insert_var
(&mut self, nm: &str, ty: ast::Type<'ast>)
src/front/zsharp/zvisit/zstmtwalker/mod.rs:704
↓ 3 callers
Function
install
Used for installing third party libraries Parameters ---------- features : set of str set of features required
driver.py:69
↓ 3 callers
Method
is_integer_type
(&self)
src/front/c/types.rs:163
↓ 3 callers
Function
load_mode
Load mode from file
driver.py:33
↓ 3 callers
Method
loc
(&self)
src/front/c/mod.rs:87
↓ 3 callers
Function
loc_store
(struct_tuple_: T, loc: &[ZAccess], val: T)
src/front/zsharpcurly/mod.rs:159
↓ 3 callers
Function
lookup
The implementation of Haboeck's lookup argument. Takes haystack, needles, and returns a term which should be asserted to ensure that each needle is i
src/ir/opt/mem/ram/checker/rom.rs:22
↓ 3 callers
Method
lookup_type
(&self, id: &ast::IdentifierExpression<'ast>)
src/front/zsharpcurly/zvisit/zstmtwalker/mod.rs:753
↓ 3 callers
Method
lookup_type
(&self, id: &ast::IdentifierExpression<'ast>)
src/front/zsharp/zvisit/zstmtwalker/mod.rs:665
↓ 3 callers
Function
map_or
( a: &'a Sort, ctx: &'static str, )
src/ir/term/ty.rs:614
↓ 3 callers
Method
mark_array_as_transcript
(&self, name: &str, array: T)
src/front/zsharp/mod.rs:2213
↓ 3 callers
Method
mk_abs
(&self, name: &VarName)
src/circify/mod.rs:504
↓ 3 callers
Method
modulus_arc
(&self)
circ_fields/src/lib.rs:107
↓ 3 callers
Function
name_from_expr
(expr: &Expression)
src/front/c/ast_utils.rs:46
↓ 3 callers
Method
new_input
Add a new input to the computation, visible to `party`, or public if `party` is [None].
src/ir/term/mod.rs:1715
↓ 3 callers
Method
new_input_from_meta
Add a new input to the computation.
src/ir/term/mod.rs:1744
↓ 3 callers
Method
next_time_term
(&mut self)
src/ir/opt/mem/ram.rs:574
↓ 3 callers
Function
random
()
circ_fields/src/test.rs:94
↓ 3 callers
Method
return_
Return (subject to the current path condition).
src/circify/mod.rs:706
↓ 3 callers
Method
s_type_
(&mut self, ss: &[Node<SpecifierQualifier>])
src/front/c/mod.rs:172
↓ 3 callers
Function
sha_rewrites
Detects common C-language SHA patterns and rewrites them.
src/ir/opt/sha.rs:8
↓ 3 callers
Method
signed_bits
(&self)
circ_fields/src/lib.rs:264
↓ 3 callers
Method
simple_term
(&self)
src/front/c/term.rs:77
↓ 3 callers
Method
stats
Compute statistics for this computation.
src/ir/term/mod.rs:2199
↓ 3 callers
Function
swap
examples/C/mpc/benchmarks/gauss/2pc_gauss.c:69
↓ 3 callers
Method
terms
Get all IR terms inside this value, as a list.
src/front/zsharpcurly/term.rs:134
↓ 3 callers
Method
terms
Get all IR terms inside this value, as a list.
src/front/zsharp/term.rs:122
↓ 3 callers
Method
to_field_tuple
(&self, c: &AccessCfg)
src/ir/opt/mem/ram.rs:452
↓ 3 callers
Function
u32_term
(t: T)
src/front/zsharpcurly/zvisit/zgenericinf.rs:452
↓ 3 callers
Function
u32_term
(t: T)
src/front/zsharp/zvisit/zgenericinf.rs:448
↓ 3 callers
Function
uint_to_bits
(u: T)
src/front/zsharpcurly/term.rs:1067
↓ 3 callers
Function
uint_to_bits
(u: T)
src/front/zsharp/term.rs:1057
↓ 3 callers
Function
uint_to_uint
(u: T, w: usize)
src/front/zsharpcurly/term.rs:1059
↓ 3 callers
Function
uint_to_uint
(u: T, w: usize)
src/front/zsharp/term.rs:1049
↓ 3 callers
Method
unbind
Takes bindings in order bound, and unbinds
src/ir/term/text/mod.rs:200
↓ 3 callers
Method
visit
( &mut self, _computation: &mut Computation, orig: &Term, rewritten_children:
src/ir/opt/link.rs:70
↓ 3 callers
Method
visit_any_string
(&mut self, is: &mut ast::AnyString<'ast>)
src/front/zsharp/zvisit/zvmut.rs:57
↓ 3 callers
Method
visit_inline_struct_member
( &mut self, ism: &mut ast::InlineStructMember<'ast>, )
src/front/zsharpcurly/zvisit/zvmut.rs:416
↓ 3 callers
Method
visit_inline_struct_member
( &mut self, ism: &mut ast::InlineStructMember<'ast>, )
src/front/zsharp/zvisit/zvmut.rs:424
↓ 3 callers
Method
visit_raw_string
(&mut self, is: &mut ast::RawString<'ast>)
src/front/zsharpcurly/zvisit/zvmut.rs:57
↓ 3 callers
Function
z_bool_lit
(v: bool)
src/front/zsharpcurly/term.rs:838
↓ 3 callers
Function
z_bool_lit
(v: bool)
src/front/zsharp/term.rs:850
↓ 2 callers
Function
add
(a: CTerm, b: CTerm)
src/front/c/term.rs:335
↓ 2 callers
Method
apply
Apply this configuration to `data`. If `check` is true, check that the output is sorted, and print a message/panic if not.
circ_waksman/src/lib.rs:130
← previous
next →
301–400 of 2,442, ranked by callers