MCPcopy Index your code
hub / github.com/alaisi/nalloc / get

Method get

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

Accessor for array at index. To prevent JVM heap allocations the returned struct is always the same object for an array instance and only the struct pointer address is modified by this method. Use Array#clone() if storing the returned object is required. @return Struct addressed to index

(final long index)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

shouldCloneArrayMethod · 0.65
shouldMemoryMapFileMethod · 0.65
shouldCloneArrayMethod · 0.65
shouldClearIndexMethod · 0.65
shouldCallocArrayMethod · 0.65
mmapMethod · 0.65
mallocMethod · 0.65

Implementers 1

HeapArraysrc/main/java/com/github/nalloc/impl/H

Calls

no outgoing calls

Tested by 10

shouldCloneArrayMethod · 0.52
shouldMemoryMapFileMethod · 0.52
shouldCloneArrayMethod · 0.52
shouldClearIndexMethod · 0.52
shouldCallocArrayMethod · 0.52