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

Function from_lengths_offset_overflow

arrow-buffer/src/buffer/offset.rs:410–412  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

408 #[test]
409 #[should_panic(expected = "offset overflow")]
410 fn from_lengths_offset_overflow() {
411 OffsetBuffer::<i32>::from_lengths([i32::MAX as usize, 1]);
412 }
413
414 #[test]
415 #[should_panic(expected = "usize overflow")]

Callers

nothing calls this directly

Calls 1

from_lengthsFunction · 0.85

Tested by

no test coverage detected