struct CUmemAllocationProp {
CUmemAllocationType type;
CUmemAllocationHandleType requestedHandleTypes;
CUmemLocation location;
void * win32HandleMetaData;
struct {
unsigned char compressionType;
unsigned char gpuDirectRDMACapable;
unsigned short usage;
unsigned char reserved[4];
} allocFlags;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | CUmemAllocationProp.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | ALLOCFLAGS
The struct member offsets. |
| public static final int | ALLOCFLAGS_COMPRESSIONTYPE
The struct member offsets. |
| public static final int | ALLOCFLAGS_GPUDIRECTRDMACAPABLE
The struct member offsets. |
| public static final int | ALLOCFLAGS_RESERVED
The struct member offsets. |
| public static final int | ALLOCFLAGS_USAGE
The struct member offsets. |
| public static final int | LOCATION
The struct member offsets. |
| public static final int | REQUESTEDHANDLETYPES
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | TYPE
The struct member offsets. |
| public static final int | WIN32HANDLEMETADATA
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | CUmemAllocationProp(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public byte | |
| public CUmemAllocationProp | |
| public byte | |
| public CUmemAllocationProp | allocFlags_gpuDirectRDMACapable(byte value)
Sets the specified value to the |
| public ByteBuffer | |
| public byte | Returns: the value at the specified index of theallocFlags.reserved field.
|
| public CUmemAllocationProp | |
| public CUmemAllocationProp | allocFlags_reserved(int index, byte value)
Sets the specified value at the specified index of the |
| public short | |
| public CUmemAllocationProp | |
| public static CUmemAllocationProp | |
| public static CUmemAllocationProp. | calloc(int
the buffer capacity capacity)Returns a new |
| public static CUmemAllocationProp | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static CUmemAllocationProp. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected CUmemAllocationProp | 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 CUmemAllocationProp | |
| public static CUmemAllocationProp | |
| public static CUmemAllocationProp. | create(int
the buffer capacity capacity)Returns a new |
| public static CUmemAllocationProp. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static CUmemAllocationProp | |
| public static CUmemAllocationProp. | |
| public CUmemLocation | |
| public CUmemAllocationProp | |
| public CUmemAllocationProp | |
| public static CUmemAllocationProp | |
| public static CUmemAllocationProp. | malloc(int
the buffer capacity capacity)Returns a new |
| public static CUmemAllocationProp | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static CUmemAllocationProp. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static byte | |
| public static void | |
| public static byte | |
| public static void | nallocFlags_gpuDirectRDMACapable(long struct, byte value)
Unsafe version of |
| public static ByteBuffer | |
| public static byte | |
| public static void | |
| public static void | |
| public static short | |
| public static void | |
| public static CUmemLocation | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static long | |
| public static void | |
| public int | |
| public CUmemAllocationProp | |
| public CUmemAllocationProp | set(int type, int requestedHandleTypes, CUmemLocation location, long win32HandleMetaData, byte allocFlags_compressionType, byte allocFlags_gpuDirectRDMACapable, short allocFlags_usage, ByteBuffer allocFlags_reserved)
Initializes this struct with the specified values. |
| public CUmemAllocationProp | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public CUmemAllocationProp | |
| public long | |
| public CUmemAllocationProp |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| ALLOCFLAGS | back to summary |
|---|---|
| public static final int ALLOCFLAGS The struct member offsets. | |
| ALLOCFLAGS_COMPRESSIONTYPE | back to summary |
|---|---|
| public static final int ALLOCFLAGS_COMPRESSIONTYPE The struct member offsets. | |
| ALLOCFLAGS_GPUDIRECTRDMACAPABLE | back to summary |
|---|---|
| public static final int ALLOCFLAGS_GPUDIRECTRDMACAPABLE The struct member offsets. | |
| ALLOCFLAGS_RESERVED | back to summary |
|---|---|
| public static final int ALLOCFLAGS_RESERVED The struct member offsets. | |
| ALLOCFLAGS_USAGE | back to summary |
|---|---|
| public static final int ALLOCFLAGS_USAGE The struct member offsets. | |
| LOCATION | back to summary |
|---|---|
| public static final int LOCATION The struct member offsets. | |
| REQUESTEDHANDLETYPES | back to summary |
|---|---|
| public static final int REQUESTEDHANDLETYPES The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| TYPE | back to summary |
|---|---|
| public static final int TYPE The struct member offsets. | |
| WIN32HANDLEMETADATA | back to summary |
|---|---|
| public static final int WIN32HANDLEMETADATA The struct member offsets. | |
| CUmemAllocationProp | back to summary |
|---|---|
| protected CUmemAllocationProp(long address, ByteBuffer container) | |
| CUmemAllocationProp | back to summary |
|---|---|
| public CUmemAllocationProp(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| allocFlags_compressionType | back to summary |
|---|---|
public byte allocFlags_compressionType()
| |
| allocFlags_compressionType | back to summary |
|---|---|
| public CUmemAllocationProp allocFlags_compressionType(byte value) Sets the specified value to the | |
| allocFlags_gpuDirectRDMACapable | back to summary |
|---|---|
public byte allocFlags_gpuDirectRDMACapable()
| |
| allocFlags_gpuDirectRDMACapable | back to summary |
|---|---|
| public CUmemAllocationProp allocFlags_gpuDirectRDMACapable(byte value) Sets the specified value to the | |
| allocFlags_reserved | back to summary |
|---|---|
public ByteBuffer allocFlags_reserved()
| |
| allocFlags_reserved | back to summary |
|---|---|
public byte allocFlags_reserved(int index)
| |
| allocFlags_reserved | back to summary |
|---|---|
| public CUmemAllocationProp allocFlags_reserved(ByteBuffer value) Copies the specified | |
| allocFlags_reserved | back to summary |
|---|---|
| public CUmemAllocationProp allocFlags_reserved(int index, byte value) Sets the specified value at the specified index of the | |
| allocFlags_usage | back to summary |
|---|---|
public short allocFlags_usage()
| |
| allocFlags_usage | back to summary |
|---|---|
| public CUmemAllocationProp allocFlags_usage(short value) Sets the specified value to the | |
| calloc | back to summary |
|---|---|
| public static CUmemAllocationProp calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static CUmemAllocationProp. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static CUmemAllocationProp calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static CUmemAllocationProp. Returns a new
| |
| create | back to summary |
|---|---|
| protected CUmemAllocationProp create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static CUmemAllocationProp create() Returns a new | |
| create | back to summary |
|---|---|
| public static CUmemAllocationProp create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static CUmemAllocationProp. Returns a new
| |
| create | back to summary |
|---|---|
| public static CUmemAllocationProp. Create a
| |
| createSafe | back to summary |
|---|---|
| public static CUmemAllocationProp createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static CUmemAllocationProp. Like
| |
| location | back to summary |
|---|---|
public CUmemLocation location()
| |
| location | back to summary |
|---|---|
| public CUmemAllocationProp location(CUmemLocation value) Copies the specified | |
| location | back to summary |
|---|---|
| public CUmemAllocationProp location(Consumer<CUmemLocation> consumer) Passes the | |
| malloc | back to summary |
|---|---|
| public static CUmemAllocationProp malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static CUmemAllocationProp. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static CUmemAllocationProp malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static CUmemAllocationProp. Returns a new
| |
| nallocFlags_compressionType | back to summary |
|---|---|
| public static byte nallocFlags_compressionType(long struct) Unsafe version of | |
| nallocFlags_compressionType | back to summary |
|---|---|
| public static void nallocFlags_compressionType(long struct, byte value) Unsafe version of | |
| nallocFlags_gpuDirectRDMACapable | back to summary |
|---|---|
| public static byte nallocFlags_gpuDirectRDMACapable(long struct) Unsafe version of | |
| nallocFlags_gpuDirectRDMACapable | back to summary |
|---|---|
| public static void nallocFlags_gpuDirectRDMACapable(long struct, byte value) Unsafe version of | |
| nallocFlags_reserved | back to summary |
|---|---|
| public static ByteBuffer nallocFlags_reserved(long struct) Unsafe version of | |
| nallocFlags_reserved | back to summary |
|---|---|
| public static byte nallocFlags_reserved(long struct, int index) Unsafe version of | |
| nallocFlags_reserved | back to summary |
|---|---|
| public static void nallocFlags_reserved(long struct, ByteBuffer value) Unsafe version of | |
| nallocFlags_reserved | back to summary |
|---|---|
| public static void nallocFlags_reserved(long struct, int index, byte value) Unsafe version of | |
| nallocFlags_usage | back to summary |
|---|---|
| public static short nallocFlags_usage(long struct) Unsafe version of | |
| nallocFlags_usage | back to summary |
|---|---|
| public static void nallocFlags_usage(long struct, short value) Unsafe version of | |
| nlocation | back to summary |
|---|---|
| public static CUmemLocation nlocation(long struct) Unsafe version of | |
| nlocation | back to summary |
|---|---|
| public static void nlocation(long struct, CUmemLocation value) Unsafe version of | |
| nrequestedHandleTypes | back to summary |
|---|---|
| public static int nrequestedHandleTypes(long struct) Unsafe version of | |
| nrequestedHandleTypes | back to summary |
|---|---|
| public static void nrequestedHandleTypes(long struct, int value) Unsafe version of | |
| ntype | back to summary |
|---|---|
| public static int ntype(long struct) Unsafe version of | |
| ntype | back to summary |
|---|---|
| public static void ntype(long struct, int value) Unsafe version of | |
| nwin32HandleMetaData | back to summary |
|---|---|
| public static long nwin32HandleMetaData(long struct) Unsafe version of | |
| nwin32HandleMetaData | back to summary |
|---|---|
| public static void nwin32HandleMetaData(long struct, long value) Unsafe version of | |
| requestedHandleTypes | back to summary |
|---|---|
public int requestedHandleTypes()
| |
| requestedHandleTypes | back to summary |
|---|---|
| public CUmemAllocationProp requestedHandleTypes(int value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public CUmemAllocationProp set(int type, int requestedHandleTypes, CUmemLocation location, long win32HandleMetaData, byte allocFlags_compressionType, byte allocFlags_gpuDirectRDMACapable, short allocFlags_usage, ByteBuffer allocFlags_reserved) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public CUmemAllocationProp set(CUmemAllocationProp src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| type | back to summary |
|---|---|
public int type()
| |
| type | back to summary |
|---|---|
| public CUmemAllocationProp type(int value) Sets the specified value to the | |
| win32HandleMetaData | back to summary |
|---|---|
public long win32HandleMetaData()
| |
| win32HandleMetaData | back to summary |
|---|---|
| public CUmemAllocationProp win32HandleMetaData(long value) Sets the specified value to the | |
CUmemAllocationProp structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final CUmemAllocationProp |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public byte | |
| public CUmemAllocationProp. | |
| public byte | |
| public CUmemAllocationProp. | allocFlags_gpuDirectRDMACapable(byte value)
Sets the specified value to the |
| public ByteBuffer | |
| public byte | Returns: the value at the specified index of theallocFlags.reserved field.
|
| public CUmemAllocationProp. | |
| public CUmemAllocationProp. | allocFlags_reserved(int index, byte value)
Sets the specified value at the specified index of the |
| public short | |
| public CUmemAllocationProp. | |
| protected CUmemAllocationProp | |
| public CUmemLocation | |
| public CUmemAllocationProp. | |
| public CUmemAllocationProp. | |
| public int | |
| public CUmemAllocationProp. | |
| protected CUmemAllocationProp. | |
| public int | |
| public CUmemAllocationProp. | |
| public long | |
| public CUmemAllocationProp. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final CUmemAllocationProp 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) | |
| allocFlags_compressionType | back to summary |
|---|---|
public byte allocFlags_compressionType()
| |
| allocFlags_compressionType | back to summary |
|---|---|
| public CUmemAllocationProp. Sets the specified value to the | |
| allocFlags_gpuDirectRDMACapable | back to summary |
|---|---|
public byte allocFlags_gpuDirectRDMACapable()
| |
| allocFlags_gpuDirectRDMACapable | back to summary |
|---|---|
| public CUmemAllocationProp. Sets the specified value to the | |
| allocFlags_reserved | back to summary |
|---|---|
public ByteBuffer allocFlags_reserved()
| |
| allocFlags_reserved | back to summary |
|---|---|
public byte allocFlags_reserved(int index)
| |
| allocFlags_reserved | back to summary |
|---|---|
| public CUmemAllocationProp. Copies the specified | |
| allocFlags_reserved | back to summary |
|---|---|
| public CUmemAllocationProp. Sets the specified value at the specified index of the | |
| allocFlags_usage | back to summary |
|---|---|
public short allocFlags_usage()
| |
| allocFlags_usage | back to summary |
|---|---|
| public CUmemAllocationProp. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected CUmemAllocationProp getElementFactory() Implements abstract org.
| |
| location | back to summary |
|---|---|
public CUmemLocation location()
| |
| location | back to summary |
|---|---|
| public CUmemAllocationProp. Copies the specified | |
| location | back to summary |
|---|---|
| public CUmemAllocationProp. Passes the | |
| requestedHandleTypes | back to summary |
|---|---|
public int requestedHandleTypes()
| |
| requestedHandleTypes | back to summary |
|---|---|
| public CUmemAllocationProp. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected CUmemAllocationProp. Implements abstract org.
| |
| type | back to summary |
|---|---|
public int type()
| |
| type | back to summary |
|---|---|
| public CUmemAllocationProp. Sets the specified value to the | |
| win32HandleMetaData | back to summary |
|---|---|
public long win32HandleMetaData()
| |
| win32HandleMetaData | back to summary |
|---|---|
| public CUmemAllocationProp. Sets the specified value to the | |