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

Method write_float

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

Source from the content-addressed store, hash-verified

452 }
453
454 pub fn write_float(&mut self, pos: usize, value: f32) {
455 let offset = self.field_offset(pos);
456 self.data[offset..offset + 4].copy_from_slice(&value.to_le_bytes());
457 }
458
459 pub fn write_double(&mut self, pos: usize, value: f64) {
460 let offset = self.field_offset(pos);

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