MCPcopy Create free account
hub / github.com/java-native-access/jna / addPadding

Method addPadding

src/com/sun/jna/Structure.java:1518–1520  ·  view source on GitHub ↗
(int calculatedSize)

Source from the content-addressed store, hash-verified

1516 }
1517
1518 private int addPadding(int calculatedSize) {
1519 return addPadding(calculatedSize, structAlignment);
1520 }
1521
1522 private int addPadding(int calculatedSize, int alignment) {
1523 // Structure size must be an integral multiple of its alignment,

Callers 1

deriveLayoutMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected