MCPcopy Create free account
hub / github.com/circify/circ / sample_field_v

Function sample_field_v

circ_fields/src/test.rs:82–91  ·  view source on GitHub ↗

Sample a [FieldV]. If `ty` is inlinable, the value will be inline with probability 0.5.

(ty: &FieldT, r: &mut impl Rng)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

randomFunction · 0.85

Calls 6

InlineFieldVClass · 0.85
random_rug_int_expFunction · 0.85
inline_tagMethod · 0.80
new_vMethod · 0.80
genMethod · 0.45
modulusMethod · 0.45

Tested by

no test coverage detected