MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / size

Method size

nodedb-query/src/ts_functions/percentile.rs:82–84  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

80 }
81
82 pub fn size(&self) -> usize {
83 std::mem::size_of::<Self>() + self.values.capacity() * std::mem::size_of::<f64>()
84 }
85}
86
87#[cfg(test)]

Callers

nothing calls this directly

Calls 1

capacityMethod · 0.45

Tested by

no test coverage detected