MCPcopy Create free account
hub / github.com/argumentcomputer/ix / put_def_kind

Function put_def_kind

crates/ixon/src/proof.rs:264–270  ·  view source on GitHub ↗
(k: DefKind, buf: &mut Vec<u8>)

Source from the content-addressed store, hash-verified

262 *buf = rest;
263 Ok(x)
264 },
265 None => Err("get_u8: EOF".to_string()),
266 }
267}
268
269fn compute_mask(flags: &[bool]) -> u64 {
270 let mut mask: u64 = 0;
271 for (i, &f) in flags.iter().enumerate() {
272 if f {
273 mask |= 1 << i;

Callers 1

putMethod · 0.85

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected