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

Method size

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

Returns the size in memory occupied by this Structure. @return Native size of this structure, in bytes.

()

Source from the content-addressed store, hash-verified

447 * @return Native size of this structure, in bytes.
448 */
449 public int size() {
450 ensureAllocated();
451 return this.size;
452 }
453
454 /** Clears the native memory associated with this Structure. */
455 public void clear() {

Callers 14

testStructureSizeMethod · 0.95
convertArgumentMethod · 0.95
useMemoryMethod · 0.95
clearMethod · 0.95
indexOfMethod · 0.95
toStringMethod · 0.95
toArrayMethod · 0.95
dataEqualsMethod · 0.95
getNativeSizeMethod · 0.95
sortFieldsMethod · 0.45
createFieldsOrderMethod · 0.45
getFieldsMethod · 0.45

Calls 5

ensureAllocatedMethod · 0.95
newInstanceMethod · 0.95
lockMethod · 0.80
unlockMethod · 0.80
getMethod · 0.45

Tested by 1

testStructureSizeMethod · 0.76