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

Method write_int

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

Source from the content-addressed store, hash-verified

442 }
443
444 pub fn write_int(&mut self, pos: usize, value: i32) {
445 let offset = self.field_offset(pos);
446 self.data[offset..offset + 4].copy_from_slice(&value.to_le_bytes());
447 }
448
449 pub fn write_long(&mut self, pos: usize, value: i64) {
450 let offset = self.field_offset(pos);

Callers 9

int_stats_rowFunction · 0.45
write_datumMethod · 0.45
write_typed_valueFunction · 0.45
test_get_intFunction · 0.45
test_null_handlingFunction · 0.45

Calls 1

field_offsetMethod · 0.45

Tested by

no test coverage detected