MCPcopy Index your code
hub / github.com/RustPython/RustPython / deserialize_value

Function deserialize_value

crates/compiler-core/src/marshal.rs:494–497  ·  view source on GitHub ↗
(rdr: &mut R, bag: Bag)

Source from the content-addressed store, hash-verified

492pub const MAX_MARSHAL_STACK_DEPTH: usize = 2000;
493
494pub fn deserialize_value<R: Read, Bag: MarshalBag>(rdr: &mut R, bag: Bag) -> Result<Bag::Value> {
495 let mut refs: Vec<Option<Bag::Value>> = Vec::new();
496 deserialize_value_depth(rdr, bag, MAX_MARSHAL_STACK_DEPTH, &mut refs)
497}
498
499fn deserialize_value_depth<R: Read, Bag: MarshalBag>(
500 rdr: &mut R,

Callers 3

loadsFunction · 0.85
loadFunction · 0.85
read_marshal_const_tupleFunction · 0.85

Calls 2

newFunction · 0.85
deserialize_value_depthFunction · 0.85

Tested by

no test coverage detected