Package org.lwjgl.system.linux.liburing
Class IOURingSQ.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<IOURingSQ,IOURingSQ.Buffer>
-
- org.lwjgl.system.linux.liburing.IOURingSQ.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<IOURingSQ>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- IOURingSQ
public static class IOURingSQ.Buffer extends org.lwjgl.system.StructBuffer<IOURingSQ,IOURingSQ.Buffer> implements org.lwjgl.system.NativeResource
An array ofIOURingSQstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.nio.IntBufferarray(int capacity)IOURingSQ.Bufferarray(java.nio.IntBuffer value)Sets the address of the specifiedIntBufferto thearrayfield.java.nio.IntBufferkdropped(int capacity)IOURingSQ.Bufferkdropped(java.nio.IntBuffer value)Sets the address of the specifiedIntBufferto thekdroppedfield.java.nio.IntBufferkflags(int capacity)IOURingSQ.Bufferkflags(java.nio.IntBuffer value)Sets the address of the specifiedIntBufferto thekflagsfield.java.nio.IntBufferkhead(int capacity)IOURingSQ.Bufferkhead(java.nio.IntBuffer value)Sets the address of the specifiedIntBufferto thekheadfield.java.nio.IntBufferkring_entries(int capacity)IOURingSQ.Bufferkring_entries(java.nio.IntBuffer value)Sets the address of the specifiedIntBufferto thekring_entriesfield.java.nio.IntBufferkring_mask(int capacity)IOURingSQ.Bufferkring_mask(java.nio.IntBuffer value)Sets the address of the specifiedIntBufferto thekring_maskfield.java.nio.IntBufferktail(int capacity)IOURingSQ.Bufferktail(java.nio.IntBuffer value)Sets the address of the specifiedIntBufferto thektailfield.java.nio.ByteBufferring_ptr()IOURingSQ.Bufferring_ptr(java.nio.ByteBuffer value)Sets the address of the specifiedByteBufferto thering_ptrfield.longring_sz()intsqe_head()IOURingSQ.Buffersqe_head(int value)Sets the specified value to thesqe_headfield.intsqe_tail()IOURingSQ.Buffersqe_tail(int value)Sets the specified value to thesqe_tailfield.IOURingSQEsqes()IOURingSQ.Buffersqes(IOURingSQE value)Sets the address of the specifiedIOURingSQEto thesqesfield.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newIOURingSQ.Bufferinstance backed by the specified container. 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 byIOURingSQ.SIZEOF, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
Buffer
public Buffer(long address, int cap)
-
-
Method Detail
-
khead
public java.nio.IntBuffer khead(int capacity)
- Parameters:
capacity- the number of elements in the returned buffer- Returns:
- a
IntBufferview of the data pointed to by thekheadfield.
-
ktail
public java.nio.IntBuffer ktail(int capacity)
- Parameters:
capacity- the number of elements in the returned buffer- Returns:
- a
IntBufferview of the data pointed to by thektailfield.
-
kring_mask
public java.nio.IntBuffer kring_mask(int capacity)
- Parameters:
capacity- the number of elements in the returned buffer- Returns:
- a
IntBufferview of the data pointed to by thekring_maskfield.
-
kring_entries
public java.nio.IntBuffer kring_entries(int capacity)
- Parameters:
capacity- the number of elements in the returned buffer- Returns:
- a
IntBufferview of the data pointed to by thekring_entriesfield.
-
kflags
public java.nio.IntBuffer kflags(int capacity)
- Parameters:
capacity- the number of elements in the returned buffer- Returns:
- a
IntBufferview of the data pointed to by thekflagsfield.
-
kdropped
public java.nio.IntBuffer kdropped(int capacity)
- Parameters:
capacity- the number of elements in the returned buffer- Returns:
- a
IntBufferview of the data pointed to by thekdroppedfield.
-
array
public java.nio.IntBuffer array(int capacity)
- Parameters:
capacity- the number of elements in the returned buffer- Returns:
- a
IntBufferview of the data pointed to by thearrayfield.
-
sqes
public IOURingSQE sqes()
- Returns:
- a
IOURingSQEview of the struct pointed to by thesqesfield.
-
sqe_head
public int sqe_head()
- Returns:
- the value of the
sqe_headfield.
-
sqe_tail
public int sqe_tail()
- Returns:
- the value of the
sqe_tailfield.
-
ring_sz
public long ring_sz()
- Returns:
- the value of the
ring_szfield.
-
ring_ptr
public java.nio.ByteBuffer ring_ptr()
- Returns:
- a
ByteBufferview of the data pointed to by thering_ptrfield.
-
khead
public IOURingSQ.Buffer khead(java.nio.IntBuffer value)
Sets the address of the specifiedIntBufferto thekheadfield.
-
ktail
public IOURingSQ.Buffer ktail(java.nio.IntBuffer value)
Sets the address of the specifiedIntBufferto thektailfield.
-
kring_mask
public IOURingSQ.Buffer kring_mask(java.nio.IntBuffer value)
Sets the address of the specifiedIntBufferto thekring_maskfield.
-
kring_entries
public IOURingSQ.Buffer kring_entries(java.nio.IntBuffer value)
Sets the address of the specifiedIntBufferto thekring_entriesfield.
-
kflags
public IOURingSQ.Buffer kflags(java.nio.IntBuffer value)
Sets the address of the specifiedIntBufferto thekflagsfield.
-
kdropped
public IOURingSQ.Buffer kdropped(java.nio.IntBuffer value)
Sets the address of the specifiedIntBufferto thekdroppedfield.
-
array
public IOURingSQ.Buffer array(java.nio.IntBuffer value)
Sets the address of the specifiedIntBufferto thearrayfield.
-
sqes
public IOURingSQ.Buffer sqes(IOURingSQE value)
Sets the address of the specifiedIOURingSQEto thesqesfield.
-
sqe_head
public IOURingSQ.Buffer sqe_head(int value)
Sets the specified value to thesqe_headfield.
-
sqe_tail
public IOURingSQ.Buffer sqe_tail(int value)
Sets the specified value to thesqe_tailfield.
-
ring_ptr
public IOURingSQ.Buffer ring_ptr(java.nio.ByteBuffer value)
Sets the address of the specifiedByteBufferto thering_ptrfield.
-
-