MCPcopy Index your code
hub / github.com/1Password/zeroizing-alloc / alloc

Method alloc

src/lib.rs:82–84  ·  view source on GitHub ↗
(&self, layout: Layout)

Source from the content-addressed store, hash-verified

80{
81 #[inline]
82 unsafe fn alloc(&self, layout: Layout) -> *mut u8 {
83 self.0.alloc(layout)
84 }
85
86 #[inline]
87 unsafe fn dealloc(&self, ptr: *mut u8, layout: Layout) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected