struct CUmemAccessDesc {
CUmemLocation location;
CUmemAccess_flags flags;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | CUmemAccessDesc.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | FLAGS
The struct member offsets. |
| public static final int | LOCATION
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | CUmemAccessDesc(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static CUmemAccessDesc | |
| public static CUmemAccessDesc. | calloc(int
the buffer capacity capacity)Returns a new |
| public static CUmemAccessDesc | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static CUmemAccessDesc. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected CUmemAccessDesc | 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 CUmemAccessDesc | |
| public static CUmemAccessDesc | |
| public static CUmemAccessDesc. | create(int
the buffer capacity capacity)Returns a new |
| public static CUmemAccessDesc. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static CUmemAccessDesc | |
| public static CUmemAccessDesc. | |
| public int | |
| public CUmemAccessDesc | |
| public CUmemLocation | |
| public CUmemAccessDesc | |
| public CUmemAccessDesc | |
| public static CUmemAccessDesc | |
| public static CUmemAccessDesc. | malloc(int
the buffer capacity capacity)Returns a new |
| public static CUmemAccessDesc | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static CUmemAccessDesc. | 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 CUmemLocation | |
| public static void | |
| public CUmemAccessDesc | |
| public CUmemAccessDesc | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| FLAGS | back to summary |
|---|---|
| public static final int FLAGS The struct member offsets. | |
| LOCATION | back to summary |
|---|---|
| public static final int LOCATION The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| CUmemAccessDesc | back to summary |
|---|---|
| protected CUmemAccessDesc(long address, ByteBuffer container) | |
| CUmemAccessDesc | back to summary |
|---|---|
| public CUmemAccessDesc(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static CUmemAccessDesc calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static CUmemAccessDesc. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static CUmemAccessDesc calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static CUmemAccessDesc. Returns a new
| |
| create | back to summary |
|---|---|
| protected CUmemAccessDesc create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static CUmemAccessDesc create() Returns a new | |
| create | back to summary |
|---|---|
| public static CUmemAccessDesc create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static CUmemAccessDesc. Returns a new
| |
| create | back to summary |
|---|---|
| public static CUmemAccessDesc. Create a
| |
| createSafe | back to summary |
|---|---|
| public static CUmemAccessDesc createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static CUmemAccessDesc. Like
| |
| flags | back to summary |
|---|---|
public int flags()
| |
| flags | back to summary |
|---|---|
| public CUmemAccessDesc flags(int value) Sets the specified value to the | |
| location | back to summary |
|---|---|
public CUmemLocation location()
| |
| location | back to summary |
|---|---|
| public CUmemAccessDesc location(CUmemLocation value) Copies the specified | |
| location | back to summary |
|---|---|
| public CUmemAccessDesc location(Consumer<CUmemLocation> consumer) Passes the | |
| malloc | back to summary |
|---|---|
| public static CUmemAccessDesc malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static CUmemAccessDesc. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static CUmemAccessDesc malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static CUmemAccessDesc. Returns a new
| |
| nflags | back to summary |
|---|---|
| public static int nflags(long struct) Unsafe version of | |
| nflags | back to summary |
|---|---|
| public static void nflags(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 | |
| set | back to summary |
|---|---|
| public CUmemAccessDesc set(CUmemLocation location, int flags) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public CUmemAccessDesc set(CUmemAccessDesc src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
CUmemAccessDesc structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final CUmemAccessDesc |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public CUmemAccessDesc. | |
| protected CUmemAccessDesc | |
| public CUmemLocation | |
| public CUmemAccessDesc. | |
| public CUmemAccessDesc. | |
| protected CUmemAccessDesc. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final CUmemAccessDesc 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) | |
| flags | back to summary |
|---|---|
public int flags()
| |
| flags | back to summary |
|---|---|
| public CUmemAccessDesc. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected CUmemAccessDesc getElementFactory() Implements abstract org.
| |
| location | back to summary |
|---|---|
public CUmemLocation location()
| |
| location | back to summary |
|---|---|
| public CUmemAccessDesc. Copies the specified | |
| location | back to summary |
|---|---|
| public CUmemAccessDesc. Passes the | |
| self | back to summary |
|---|---|
| protected CUmemAccessDesc. Implements abstract org.
| |