MCPcopy Create free account
hub / github.com/alaisi/nalloc / mmap

Method mmap

src/main/java/com/github/nalloc/MmapAllocator.java:44–44  ·  view source on GitHub ↗

mmap() creates a new mapping in the virtual address space of the calling process. See mmap . Mmap is called with flags MAP_SHARED. The mapping length is nmemb times struct size. Calling this method allocates at least 3

(final File file, final long nmemb, final Class<T> structType)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Implementers 1

DirectBufferMmapAllocatorsrc/main/java/com/github/nalloc/impl/D

Calls

no outgoing calls