MCPcopy Create free account
hub / github.com/ciphermodelabs/ciphercore / random

Method random

ciphercore-base/src/graphs.rs:2364–2366  ·  view source on GitHub ↗
(&self, output_type: Type)

Source from the content-addressed store, hash-verified

2362 /// ```
2363 #[doc(hidden)]
2364 pub fn random(&self, output_type: Type) -> Result<Node> {
2365 self.add_node(vec![], vec![], Operation::Random(output_type))
2366 }
2367
2368 /// Adds a node creating a random permutation map of a one-dimensional array of length `n`.
2369 ///

Callers 15

test_random_workerFunction · 0.45
test_random_worker_failFunction · 0.45
test_wellformed_casesFunction · 0.45
test_oblivious_transferFunction · 0.45
test_permutationFunction · 0.45
test_duplicationFunction · 0.45
generate_prf_key_tripleFunction · 0.45
share_all_inputsFunction · 0.45
test_prfFunction · 0.45

Calls 1

add_nodeMethod · 0.80

Tested by 12

test_random_workerFunction · 0.36
test_random_worker_failFunction · 0.36
test_wellformed_casesFunction · 0.36
test_oblivious_transferFunction · 0.36
test_permutationFunction · 0.36
test_duplicationFunction · 0.36
test_prfFunction · 0.36
test_no_dupsFunction · 0.36