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

Function make_f32_buffer

arrow-data/src/data.rs:2300–2302  ·  view source on GitHub ↗

returns a buffer initialized with some constant value for tests

(n: usize)

Source from the content-addressed store, hash-verified

2298
2299 /// returns a buffer initialized with some constant value for tests
2300 fn make_f32_buffer(n: usize) -> Buffer {
2301 Buffer::from_slice_ref(vec![42f32; n])
2302 }
2303
2304 #[test]
2305 fn test_builder() {

Callers 1

test_equalityFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_equalityFunction · 0.68