MCPcopy Create free account
hub / github.com/apache/arrow-rs / mutable_push_unaligned_u64

Function mutable_push_unaligned_u64

arrow-buffer/src/buffer/mutable.rs:1281–1287  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1279
1280 #[test]
1281 fn mutable_push_unaligned_u64() {
1282 let mut buf = MutableBuffer::new(16);
1283 buf.push(1_u8);
1284 buf.push(1_u64);
1285 assert_eq!(9, buf.len());
1286 assert_eq!(&[1u8, 1u8, 0, 0, 0, 0, 0, 0, 0], buf.as_slice());
1287 }
1288
1289 #[test]
1290 fn mutable_push_unchecked_unaligned_u64() {

Callers

nothing calls this directly

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected