MCPcopy Index your code
hub / github.com/java-native-access/jna / ensureAllocated

Method ensureAllocated

src/com/sun/jna/Structure.java:382–384  ·  view source on GitHub ↗

Ensure this memory has its size and layout calculated and its memory allocated.

()

Source from the content-addressed store, hash-verified

380 /** Ensure this memory has its size and layout calculated and its
381 memory allocated. */
382 protected void ensureAllocated() {
383 ensureAllocated(false);
384 }
385
386 /** Ensure this memory has its size and layout calculated and its
387 memory allocated.

Callers 15

layoutChangedMethod · 0.95
sizeMethod · 0.95
clearMethod · 0.95
getPointerMethod · 0.95
readMethod · 0.95
fieldOffsetMethod · 0.95
readFieldMethod · 0.95
writeMethod · 0.95
writeFieldMethod · 0.95
toStringMethod · 0.95
toArrayMethod · 0.95
FFITypeMethod · 0.45

Calls 3

allocateMemoryMethod · 0.95
calculateSizeMethod · 0.95
shareMethod · 0.45

Tested by

no test coverage detected