MCPcopy Create free account
hub / github.com/apache/thrift / test_objects_no_limits

Function test_objects_no_limits

lib/rs/src/protocol/compact.rs:2924–2936  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2922 }
2923
2924 fn test_objects_no_limits() -> (
2925 TCompactInputProtocol<ReadHalf<TBufferChannel>>,
2926 TCompactOutputProtocol<WriteHalf<TBufferChannel>>,
2927 ) {
2928 let mem = TBufferChannel::with_capacity(200, 200);
2929
2930 let (r_mem, w_mem) = mem.split().unwrap();
2931
2932 let i_prot = TCompactInputProtocol::with_config(r_mem, TConfiguration::no_limits());
2933 let o_prot = TCompactOutputProtocol::new(w_mem);
2934
2935 (i_prot, o_prot)
2936 }
2937
2938 #[test]
2939 fn must_read_write_double() {

Calls 2

unwrapMethod · 0.65
splitMethod · 0.45

Tested by

no test coverage detected