MCPcopy Create free account
hub / github.com/influxdata/influxdb / SharedAllocation

Class SharedAllocation

core/linear_buffer/src/linear_buffer.rs:222–222  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

220/// Wrapper around the half-initialized buffer.
221#[derive(Debug, Clone)]
222struct SharedAllocation(Arc<UnsafeCell<Allocation>>);
223
224// SAFETY: We manually make sure that:
225// - the inner allocation never changes

Callers 1

with_alignmentMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…