struct CUmemPoolProps {
CUmemAllocationType allocType;
CUmemAllocationHandleType handleTypes;
CUmemLocation location;
void * win32SecurityAttributes;
unsigned char reserved[64];
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | CUmemPoolProps.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | ALLOCTYPE
The struct member offsets. |
| public static final int | HANDLETYPES
The struct member offsets. |
| public static final int | LOCATION
The struct member offsets. |
| public static final int | RESERVED
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | WIN32SECURITYATTRIBUTES
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | CUmemPoolProps(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public CUmemPoolProps | |
| public static CUmemPoolProps | |
| public static CUmemPoolProps. | calloc(int
the buffer capacity capacity)Returns a new |
| public static CUmemPoolProps | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static CUmemPoolProps. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected CUmemPoolProps | 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 CUmemPoolProps | |
| public static CUmemPoolProps | |
| public static CUmemPoolProps. | create(int
the buffer capacity capacity)Returns a new |
| public static CUmemPoolProps. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static CUmemPoolProps | |
| public static CUmemPoolProps. | |
| public int | |
| public CUmemPoolProps | |
| public CUmemLocation | |
| public CUmemPoolProps | |
| public CUmemPoolProps | |
| public static CUmemPoolProps | |
| public static CUmemPoolProps. | malloc(int
the buffer capacity capacity)Returns a new |
| public static CUmemPoolProps | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static CUmemPoolProps. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static CUmemLocation | |
| public static void | |
| public static ByteBuffer | |
| public static byte | |
| public static void | |
| public static void | |
| public static long | |
| public static void | |
| public ByteBuffer | |
| public byte | |
| public CUmemPoolProps | |
| public CUmemPoolProps | reserved(int index, byte value)
Sets the specified value at the specified index of the |
| public CUmemPoolProps | set(int allocType, int handleTypes, CUmemLocation location, long win32SecurityAttributes, ByteBuffer reserved)
Initializes this struct with the specified values. |
| public CUmemPoolProps | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public long | |
| public CUmemPoolProps |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| ALLOCTYPE | back to summary |
|---|---|
| public static final int ALLOCTYPE The struct member offsets. | |
| HANDLETYPES | back to summary |
|---|---|
| public static final int HANDLETYPES The struct member offsets. | |
| LOCATION | back to summary |
|---|---|
| public static final int LOCATION The struct member offsets. | |
| RESERVED | back to summary |
|---|---|
| public static final int RESERVED The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| WIN32SECURITYATTRIBUTES | back to summary |
|---|---|
| public static final int WIN32SECURITYATTRIBUTES The struct member offsets. | |
| CUmemPoolProps | back to summary |
|---|---|
| protected CUmemPoolProps(long address, ByteBuffer container) | |
| CUmemPoolProps | back to summary |
|---|---|
| public CUmemPoolProps(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| allocType | back to summary |
|---|---|
public int allocType()
| |
| allocType | back to summary |
|---|---|
| public CUmemPoolProps allocType(int value) Sets the specified value to the | |
| calloc | back to summary |
|---|---|
| public static CUmemPoolProps calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static CUmemPoolProps. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static CUmemPoolProps calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static CUmemPoolProps. Returns a new
| |
| create | back to summary |
|---|---|
| protected CUmemPoolProps create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static CUmemPoolProps create() Returns a new | |
| create | back to summary |
|---|---|
| public static CUmemPoolProps create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static CUmemPoolProps. Returns a new
| |
| create | back to summary |
|---|---|
| public static CUmemPoolProps. Create a
| |
| createSafe | back to summary |
|---|---|
| public static CUmemPoolProps createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static CUmemPoolProps. Like
| |
| handleTypes | back to summary |
|---|---|
public int handleTypes()
| |
| handleTypes | back to summary |
|---|---|
| public CUmemPoolProps handleTypes(int value) Sets the specified value to the | |
| location | back to summary |
|---|---|
public CUmemLocation location()
| |
| location | back to summary |
|---|---|
| public CUmemPoolProps location(CUmemLocation value) Copies the specified | |
| location | back to summary |
|---|---|
| public CUmemPoolProps location(Consumer<CUmemLocation> consumer) Passes the | |
| malloc | back to summary |
|---|---|
| public static CUmemPoolProps malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static CUmemPoolProps. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static CUmemPoolProps malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static CUmemPoolProps. Returns a new
| |
| nallocType | back to summary |
|---|---|
| public static int nallocType(long struct) Unsafe version of | |
| nallocType | back to summary |
|---|---|
| public static void nallocType(long struct, int value) Unsafe version of | |
| nhandleTypes | back to summary |
|---|---|
| public static int nhandleTypes(long struct) Unsafe version of | |
| nhandleTypes | back to summary |
|---|---|
| public static void nhandleTypes(long struct, int 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 | |
| nreserved | back to summary |
|---|---|
| public static ByteBuffer nreserved(long struct) Unsafe version of | |
| nreserved | back to summary |
|---|---|
| public static byte nreserved(long struct, int index) Unsafe version of | |
| nreserved | back to summary |
|---|---|
| public static void nreserved(long struct, ByteBuffer value) Unsafe version of | |
| nreserved | back to summary |
|---|---|
| public static void nreserved(long struct, int index, byte value) Unsafe version of | |
| nwin32SecurityAttributes | back to summary |
|---|---|
| public static long nwin32SecurityAttributes(long struct) Unsafe version of | |
| nwin32SecurityAttributes | back to summary |
|---|---|
| public static void nwin32SecurityAttributes(long struct, long value) Unsafe version of | |
| reserved | back to summary |
|---|---|
public ByteBuffer reserved()
| |
| reserved | back to summary |
|---|---|
public byte reserved(int index)
| |
| reserved | back to summary |
|---|---|
| public CUmemPoolProps reserved(ByteBuffer value) Copies the specified | |
| reserved | back to summary |
|---|---|
| public CUmemPoolProps reserved(int index, byte value) Sets the specified value at the specified index of the | |
| set | back to summary |
|---|---|
| public CUmemPoolProps set(int allocType, int handleTypes, CUmemLocation location, long win32SecurityAttributes, ByteBuffer reserved) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public CUmemPoolProps set(CUmemPoolProps src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| win32SecurityAttributes | back to summary |
|---|---|
public long win32SecurityAttributes()
| |
| win32SecurityAttributes | back to summary |
|---|---|
| public CUmemPoolProps win32SecurityAttributes(long value) Sets the specified value to the | |
CUmemPoolProps structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final CUmemPoolProps |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public CUmemPoolProps. | |
| protected CUmemPoolProps | |
| public int | |
| public CUmemPoolProps. | |
| public CUmemLocation | |
| public CUmemPoolProps. | |
| public CUmemPoolProps. | |
| public ByteBuffer | |
| public byte | |
| public CUmemPoolProps. | |
| public CUmemPoolProps. | reserved(int index, byte value)
Sets the specified value at the specified index of the |
| protected CUmemPoolProps. | |
| public long | |
| public CUmemPoolProps. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final CUmemPoolProps 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) | |
| allocType | back to summary |
|---|---|
public int allocType()
| |
| allocType | back to summary |
|---|---|
| public CUmemPoolProps. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected CUmemPoolProps getElementFactory() Implements abstract org.
| |
| handleTypes | back to summary |
|---|---|
public int handleTypes()
| |
| handleTypes | back to summary |
|---|---|
| public CUmemPoolProps. Sets the specified value to the | |
| location | back to summary |
|---|---|
public CUmemLocation location()
| |
| location | back to summary |
|---|---|
| public CUmemPoolProps. Copies the specified | |
| location | back to summary |
|---|---|
| public CUmemPoolProps. Passes the | |
| reserved | back to summary |
|---|---|
public ByteBuffer reserved()
| |
| reserved | back to summary |
|---|---|
public byte reserved(int index)
| |
| reserved | back to summary |
|---|---|
| public CUmemPoolProps. Copies the specified | |
| reserved | back to summary |
|---|---|
| public CUmemPoolProps. Sets the specified value at the specified index of the | |
| self | back to summary |
|---|---|
| protected CUmemPoolProps. Implements abstract org.
| |
| win32SecurityAttributes | back to summary |
|---|---|
public long win32SecurityAttributes()
| |
| win32SecurityAttributes | back to summary |
|---|---|
| public CUmemPoolProps. Sets the specified value to the | |