MCPcopy Create free account
hub / github.com/apache/paimon-rust / write_long

Method write_long

crates/paimon/src/spec/binary_row.rs:449–452  ·  view source on GitHub ↗
(&mut self, pos: usize, value: i64)

Source from the content-addressed store, hash-verified

447 }
448
449 pub fn write_long(&mut self, pos: usize, value: i64) {
450 let offset = self.field_offset(pos);
451 self.data[offset..offset + 8].copy_from_slice(&value.to_le_bytes());
452 }
453
454 pub fn write_float(&mut self, pos: usize, value: f32) {
455 let offset = self.field_offset(pos);

Callers 5

write_decimal_compactMethod · 0.45
write_datumMethod · 0.45
write_typed_valueFunction · 0.45
test_get_longFunction · 0.45

Calls 1

field_offsetMethod · 0.45

Tested by

no test coverage detected