struct CXTUResourceUsage {
void * data;
unsigned numEntries;
CXTUResourceUsageEntry * entries;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | CXTUResourceUsage.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | DATA
The struct member offsets. |
| public static final int | ENTRIES
The struct member offsets. |
| public static final int | NUMENTRIES
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | CXTUResourceUsage(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static CXTUResourceUsage | |
| public static CXTUResourceUsage. | calloc(int
the buffer capacity capacity)Returns a new |
| public static CXTUResourceUsage | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static CXTUResourceUsage. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static CXTUResourceUsage | |
| public static CXTUResourceUsage | |
| public static CXTUResourceUsage. | |
| public static CXTUResourceUsage. | |
| protected CXTUResourceUsage | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static CXTUResourceUsage | |
| public static CXTUResourceUsage | |
| public static CXTUResourceUsage. | create(int
the buffer capacity capacity)Returns a new |
| public static CXTUResourceUsage. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static CXTUResourceUsage | |
| public static CXTUResourceUsage. | |
| public long | |
| public CXTUResourceUsageEntry. | |
| public static CXTUResourceUsage | |
| public static CXTUResourceUsage. | malloc(int
the buffer capacity capacity)Returns a new |
| public static CXTUResourceUsage | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static CXTUResourceUsage. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static CXTUResourceUsage | |
| public static CXTUResourceUsage | |
| public static CXTUResourceUsage. | |
| public static CXTUResourceUsage. | |
| public static long | |
| public static CXTUResourceUsageEntry. | |
| public static int | |
| public int | |
| public int |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| DATA | back to summary |
|---|---|
| public static final int DATA The struct member offsets. | |
| ENTRIES | back to summary |
|---|---|
| public static final int ENTRIES The struct member offsets. | |
| NUMENTRIES | back to summary |
|---|---|
| public static final int NUMENTRIES The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| CXTUResourceUsage | back to summary |
|---|---|
| protected CXTUResourceUsage(long address, ByteBuffer container) | |
| CXTUResourceUsage | back to summary |
|---|---|
| public CXTUResourceUsage(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static CXTUResourceUsage calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static CXTUResourceUsage. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static CXTUResourceUsage calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static CXTUResourceUsage. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static CXTUResourceUsage callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static CXTUResourceUsage callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static CXTUResourceUsage. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static CXTUResourceUsage. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| create | back to summary |
|---|---|
| protected CXTUResourceUsage create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static CXTUResourceUsage create() Returns a new | |
| create | back to summary |
|---|---|
| public static CXTUResourceUsage create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static CXTUResourceUsage. Returns a new
| |
| create | back to summary |
|---|---|
| public static CXTUResourceUsage. Create a
| |
| createSafe | back to summary |
|---|---|
| public static CXTUResourceUsage createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static CXTUResourceUsage. Like
| |
| data | back to summary |
|---|---|
| public long data() private data member, used for queries
| |
| entries | back to summary |
|---|---|
| public CXTUResourceUsageEntry. an array of key-value pairs, representing the breakdown of memory usage
| |
| malloc | back to summary |
|---|---|
| public static CXTUResourceUsage malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static CXTUResourceUsage. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static CXTUResourceUsage malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static CXTUResourceUsage. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static CXTUResourceUsage mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static CXTUResourceUsage mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static CXTUResourceUsage. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static CXTUResourceUsage. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| ndata | back to summary |
|---|---|
| public static long ndata(long struct) Unsafe version of | |
| nentries | back to summary |
|---|---|
| public static CXTUResourceUsageEntry. Unsafe version of | |
| nnumEntries | back to summary |
|---|---|
| public static int nnumEntries(long struct) Unsafe version of | |
| numEntries | back to summary |
|---|---|
| public int numEntries() the number of entries in the
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
CXTUResourceUsage structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final CXTUResourceUsage |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public long | |
| public CXTUResourceUsageEntry. | Returns: aCXTUResourceUsageEntry. view of the struct array pointed to by the CXTUResourceUsage#entries field.
|
| protected CXTUResourceUsage | |
| public int | |
| protected CXTUResourceUsage. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final CXTUResourceUsage ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values
will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided
by The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| data | back to summary |
|---|---|
public long data()
| |
| entries | back to summary |
|---|---|
public CXTUResourceUsageEntry.
| |
| getElementFactory | back to summary |
|---|---|
| protected CXTUResourceUsage getElementFactory() Implements abstract org.
| |
| numEntries | back to summary |
|---|---|
public int numEntries()
| |
| self | back to summary |
|---|---|
| protected CXTUResourceUsage. Implements abstract org.
| |