|
GlueGen v2.6.0-rc-20250712
GlueGen, Native Binding Generator for Java (public API).
|
Machine data description for alignment and size onle, see com.jogamp.gluegen.
More...
Classes | |
| enum | StaticConfig |
Static enumeration of MachineDataInfo instances used for high performance data size and alignment lookups, e.g. More... | |
Public Member Functions | |
| MachineDataInfo (final boolean runtimeValidated, final int intSizeInBytes, final int longSizeInBytes, final int floatSizeInBytes, final int doubleSizeInBytes, final int ldoubleSizeInBytes, final int pointerSizeInBytes, final int pageSizeInBytes, final int int8AlignmentInBytes, final int int16AlignmentInBytes, final int int32AlignmentInBytes, final int int64AlignmentInBytes, final int intAlignmentInBytes, final int longAlignmentInBytes, final int floatAlignmentInBytes, final int doubleAlignmentInBytes, final int ldoubleAlignmentInBytes, final int pointerAlignmentInBytes) | |
| final boolean | isRuntimeValidated () |
| final int | intSizeInBytes () |
| final int | longSizeInBytes () |
| final int | int8SizeInBytes () |
| final int | int16SizeInBytes () |
| final int | int32SizeInBytes () |
| final int | int64SizeInBytes () |
| final int | floatSizeInBytes () |
| final int | doubleSizeInBytes () |
| final int | ldoubleSizeInBytes () |
| final int | pointerSizeInBytes () |
| final int | pageSizeInBytes () |
| final int | intAlignmentInBytes () |
| final int | longAlignmentInBytes () |
| final int | int8AlignmentInBytes () |
| final int | int16AlignmentInBytes () |
| final int | int32AlignmentInBytes () |
| final int | int64AlignmentInBytes () |
| final int | floatAlignmentInBytes () |
| final int | doubleAlignmentInBytes () |
| final int | ldoubleAlignmentInBytes () |
| final int | pointerAlignmentInBytes () |
| int | pageCount (final int size) |
| int | pageAlignedSize (final int size) |
| final boolean | equals (final Object obj) |
| Checks whether two size objects are equal. More... | |
| final boolean | compatible (final MachineDataInfo md) |
Checks whether two MachineDataInfo objects are equal. More... | |
| StringBuilder | toString (StringBuilder sb) |
| String | toString () |
Machine data description for alignment and size onle, see com.jogamp.gluegen.
little-endian / big/endian description is left, allowing re-using instances in StaticConfig. Use PlatformPropsImpl#LITTLE_ENDIAN.
Further more, the value {@ MachineDataInfo::pageSizeInBytes} shall be ignored in StaticConfig, see MachineDataInfo#compatible(MachineDataInfo).
Definition at line 57 of file MachineDataInfo.java.
| com.jogamp.common.os.MachineDataInfo.MachineDataInfo | ( | final boolean | runtimeValidated, |
| final int | intSizeInBytes, | ||
| final int | longSizeInBytes, | ||
| final int | floatSizeInBytes, | ||
| final int | doubleSizeInBytes, | ||
| final int | ldoubleSizeInBytes, | ||
| final int | pointerSizeInBytes, | ||
| final int | pageSizeInBytes, | ||
| final int | int8AlignmentInBytes, | ||
| final int | int16AlignmentInBytes, | ||
| final int | int32AlignmentInBytes, | ||
| final int | int64AlignmentInBytes, | ||
| final int | intAlignmentInBytes, | ||
| final int | longAlignmentInBytes, | ||
| final int | floatAlignmentInBytes, | ||
| final int | doubleAlignmentInBytes, | ||
| final int | ldoubleAlignmentInBytes, | ||
| final int | pointerAlignmentInBytes | ||
| ) |
| final boolean com.jogamp.common.os.MachineDataInfo.compatible | ( | final MachineDataInfo | md | ) |
Checks whether two MachineDataInfo objects are equal.
Two MachineDataInfo instances are considered equal if all components match but isRuntimeValidated() and pageSizeInBytes().
true if the two MachineDataInfo are equal; otherwise false. Definition at line 335 of file MachineDataInfo.java.
| final int com.jogamp.common.os.MachineDataInfo.doubleAlignmentInBytes | ( | ) |
Definition at line 291 of file MachineDataInfo.java.
| final int com.jogamp.common.os.MachineDataInfo.doubleSizeInBytes | ( | ) |
Definition at line 279 of file MachineDataInfo.java.
| final boolean com.jogamp.common.os.MachineDataInfo.equals | ( | final Object | obj | ) |
Checks whether two size objects are equal.
Two instances of MachineDataInfo are considered equal if all components match but runtimeValidated, isRuntimeValidated().
true if the two MachineDataInfo are equal; otherwise false. Definition at line 317 of file MachineDataInfo.java.
| final int com.jogamp.common.os.MachineDataInfo.floatAlignmentInBytes | ( | ) |
Definition at line 290 of file MachineDataInfo.java.
| final int com.jogamp.common.os.MachineDataInfo.floatSizeInBytes | ( | ) |
Definition at line 278 of file MachineDataInfo.java.
| final int com.jogamp.common.os.MachineDataInfo.int16AlignmentInBytes | ( | ) |
Definition at line 287 of file MachineDataInfo.java.
| final int com.jogamp.common.os.MachineDataInfo.int16SizeInBytes | ( | ) |
Definition at line 275 of file MachineDataInfo.java.
| final int com.jogamp.common.os.MachineDataInfo.int32AlignmentInBytes | ( | ) |
Definition at line 288 of file MachineDataInfo.java.
| final int com.jogamp.common.os.MachineDataInfo.int32SizeInBytes | ( | ) |
Definition at line 276 of file MachineDataInfo.java.
| final int com.jogamp.common.os.MachineDataInfo.int64AlignmentInBytes | ( | ) |
Definition at line 289 of file MachineDataInfo.java.
| final int com.jogamp.common.os.MachineDataInfo.int64SizeInBytes | ( | ) |
Definition at line 277 of file MachineDataInfo.java.
| final int com.jogamp.common.os.MachineDataInfo.int8AlignmentInBytes | ( | ) |
Definition at line 286 of file MachineDataInfo.java.
| final int com.jogamp.common.os.MachineDataInfo.int8SizeInBytes | ( | ) |
Definition at line 274 of file MachineDataInfo.java.
| final int com.jogamp.common.os.MachineDataInfo.intAlignmentInBytes | ( | ) |
Definition at line 284 of file MachineDataInfo.java.
| final int com.jogamp.common.os.MachineDataInfo.intSizeInBytes | ( | ) |
Definition at line 272 of file MachineDataInfo.java.
| final boolean com.jogamp.common.os.MachineDataInfo.isRuntimeValidated | ( | ) |
Definition at line 268 of file MachineDataInfo.java.
| final int com.jogamp.common.os.MachineDataInfo.ldoubleAlignmentInBytes | ( | ) |
Definition at line 292 of file MachineDataInfo.java.
| final int com.jogamp.common.os.MachineDataInfo.ldoubleSizeInBytes | ( | ) |
Definition at line 280 of file MachineDataInfo.java.
| final int com.jogamp.common.os.MachineDataInfo.longAlignmentInBytes | ( | ) |
Definition at line 285 of file MachineDataInfo.java.
| final int com.jogamp.common.os.MachineDataInfo.longSizeInBytes | ( | ) |
Definition at line 273 of file MachineDataInfo.java.
| int com.jogamp.common.os.MachineDataInfo.pageAlignedSize | ( | final int | size | ) |
Definition at line 305 of file MachineDataInfo.java.
| int com.jogamp.common.os.MachineDataInfo.pageCount | ( | final int | size | ) |
Definition at line 298 of file MachineDataInfo.java.
| final int com.jogamp.common.os.MachineDataInfo.pageSizeInBytes | ( | ) |
Definition at line 282 of file MachineDataInfo.java.
| final int com.jogamp.common.os.MachineDataInfo.pointerAlignmentInBytes | ( | ) |
Definition at line 293 of file MachineDataInfo.java.
| final int com.jogamp.common.os.MachineDataInfo.pointerSizeInBytes | ( | ) |
Definition at line 281 of file MachineDataInfo.java.
| String com.jogamp.common.os.MachineDataInfo.toString | ( | ) |
Definition at line 375 of file MachineDataInfo.java.
| StringBuilder com.jogamp.common.os.MachineDataInfo.toString | ( | StringBuilder | sb | ) |
Definition at line 355 of file MachineDataInfo.java.