MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / out_of_range_block_index

Function out_of_range_block_index

nodedb-codec/src/lz4.rs:337–341  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

335
336 #[test]
337 fn out_of_range_block_index() {
338 let data = b"some data here";
339 let encoded = encode(data);
340 assert!(decode_block(&encoded, 999).is_err());
341 }
342
343 #[test]
344 fn compressible_log_data() {

Callers

nothing calls this directly

Calls 1

encodeFunction · 0.70

Tested by

no test coverage detected