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

Method allocateMemory

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

Attempt to allocate memory if sufficient information is available. Returns whether the operation was successful.

()

Source from the content-addressed store, hash-verified

410 * Returns whether the operation was successful.
411 */
412 protected void allocateMemory() {
413 allocateMemory(false);
414 }
415
416 private void allocateMemory(boolean avoidFFIType) {
417 allocateMemory(calculateSize(true, avoidFFIType));

Callers 11

StructureMethod · 0.95
ensureAllocatedMethod · 0.95
readMethod · 0.45
KEY_BASIC_INFORMATIONMethod · 0.45
RGNDATAMethod · 0.45
RASEAPINFOMethod · 0.45
RASDEVSPECIFICINFOMethod · 0.45
ACCESS_ACEStructureMethod · 0.45
setValueMethod · 0.45
newInstanceMethod · 0.45

Calls 2

calculateSizeMethod · 0.95
autoAllocateMethod · 0.95

Tested by

no test coverage detected