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

Method write_double

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

Source from the content-addressed store, hash-verified

457 }
458
459 pub fn write_double(&mut self, pos: usize, value: f64) {
460 let offset = self.field_offset(pos);
461 self.data[offset..offset + 8].copy_from_slice(&value.to_le_bytes());
462 }
463
464 /// Write a string to the variable-length part and store offset+length in the fixed part.
465 pub fn write_string(&mut self, pos: usize, value: &str) {

Callers 3

write_datumMethod · 0.80
write_typed_valueFunction · 0.80
test_get_float_doubleFunction · 0.80

Calls 1

field_offsetMethod · 0.45

Tested by

no test coverage detected