MCPcopy Create free account
hub / github.com/ezrosent/allocators-rs / Malloc

Interface Malloc

malloc-bind/src/lib.rs:170–571  ·  view source on GitHub ↗

An implementation of the C allocation API. The `Malloc` trait extends a type which implements `Alloc` for a reference to itself 1 by providing methods for the various functions of the C allocation API. As `Malloc` also extends `LayoutFinder`, it provides default implementations of each method in terms of the `LayoutFinder` and `Alloc` methods. Alternatively, any method may be overridden

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 6

c_reallocMethod · 0.45
c_reallocfMethod · 0.45
c_cfreeMethod · 0.45
c_reallocMethod · 0.45
c_reallocfMethod · 0.45
c_aligned_allocMethod · 0.80

Implementers 1

alloc_impl.rselfmalloc/src/alloc_impl.rs

Calls

no outgoing calls

Tested by

no test coverage detected