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 ofIOURingSQ
structs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.nio.IntBuffer
array(int capacity)
IOURingSQ.Buffer
array(java.nio.IntBuffer value)
Sets the address of the specifiedIntBuffer
to thearray
field.java.nio.IntBuffer
kdropped(int capacity)
IOURingSQ.Buffer
kdropped(java.nio.IntBuffer value)
Sets the address of the specifiedIntBuffer
to thekdropped
field.java.nio.IntBuffer
kflags(int capacity)
IOURingSQ.Buffer
kflags(java.nio.IntBuffer value)
Sets the address of the specifiedIntBuffer
to thekflags
field.java.nio.IntBuffer
khead(int capacity)
IOURingSQ.Buffer
khead(java.nio.IntBuffer value)
Sets the address of the specifiedIntBuffer
to thekhead
field.java.nio.IntBuffer
kring_entries(int capacity)
IOURingSQ.Buffer
kring_entries(java.nio.IntBuffer value)
Sets the address of the specifiedIntBuffer
to thekring_entries
field.java.nio.IntBuffer
kring_mask(int capacity)
IOURingSQ.Buffer
kring_mask(java.nio.IntBuffer value)
Sets the address of the specifiedIntBuffer
to thekring_mask
field.java.nio.IntBuffer
ktail(int capacity)
IOURingSQ.Buffer
ktail(java.nio.IntBuffer value)
Sets the address of the specifiedIntBuffer
to thektail
field.java.nio.ByteBuffer
ring_ptr()
IOURingSQ.Buffer
ring_ptr(java.nio.ByteBuffer value)
Sets the address of the specifiedByteBuffer
to thering_ptr
field.long
ring_sz()
int
sqe_head()
IOURingSQ.Buffer
sqe_head(int value)
Sets the specified value to thesqe_head
field.int
sqe_tail()
IOURingSQ.Buffer
sqe_tail(int value)
Sets the specified value to thesqe_tail
field.IOURingSQE
sqes()
IOURingSQ.Buffer
sqes(IOURingSQE value)
Sets the address of the specifiedIOURingSQE
to thesqes
field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newIOURingSQ.Buffer
instance 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
IntBuffer
view of the data pointed to by thekhead
field.
-
ktail
public java.nio.IntBuffer ktail(int capacity)
- Parameters:
capacity
- the number of elements in the returned buffer- Returns:
- a
IntBuffer
view of the data pointed to by thektail
field.
-
kring_mask
public java.nio.IntBuffer kring_mask(int capacity)
- Parameters:
capacity
- the number of elements in the returned buffer- Returns:
- a
IntBuffer
view of the data pointed to by thekring_mask
field.
-
kring_entries
public java.nio.IntBuffer kring_entries(int capacity)
- Parameters:
capacity
- the number of elements in the returned buffer- Returns:
- a
IntBuffer
view of the data pointed to by thekring_entries
field.
-
kflags
public java.nio.IntBuffer kflags(int capacity)
- Parameters:
capacity
- the number of elements in the returned buffer- Returns:
- a
IntBuffer
view of the data pointed to by thekflags
field.
-
kdropped
public java.nio.IntBuffer kdropped(int capacity)
- Parameters:
capacity
- the number of elements in the returned buffer- Returns:
- a
IntBuffer
view of the data pointed to by thekdropped
field.
-
array
public java.nio.IntBuffer array(int capacity)
- Parameters:
capacity
- the number of elements in the returned buffer- Returns:
- a
IntBuffer
view of the data pointed to by thearray
field.
-
sqes
public IOURingSQE sqes()
- Returns:
- a
IOURingSQE
view of the struct pointed to by thesqes
field.
-
sqe_head
public int sqe_head()
- Returns:
- the value of the
sqe_head
field.
-
sqe_tail
public int sqe_tail()
- Returns:
- the value of the
sqe_tail
field.
-
ring_sz
public long ring_sz()
- Returns:
- the value of the
ring_sz
field.
-
ring_ptr
public java.nio.ByteBuffer ring_ptr()
- Returns:
- a
ByteBuffer
view of the data pointed to by thering_ptr
field.
-
khead
public IOURingSQ.Buffer khead(java.nio.IntBuffer value)
Sets the address of the specifiedIntBuffer
to thekhead
field.
-
ktail
public IOURingSQ.Buffer ktail(java.nio.IntBuffer value)
Sets the address of the specifiedIntBuffer
to thektail
field.
-
kring_mask
public IOURingSQ.Buffer kring_mask(java.nio.IntBuffer value)
Sets the address of the specifiedIntBuffer
to thekring_mask
field.
-
kring_entries
public IOURingSQ.Buffer kring_entries(java.nio.IntBuffer value)
Sets the address of the specifiedIntBuffer
to thekring_entries
field.
-
kflags
public IOURingSQ.Buffer kflags(java.nio.IntBuffer value)
Sets the address of the specifiedIntBuffer
to thekflags
field.
-
kdropped
public IOURingSQ.Buffer kdropped(java.nio.IntBuffer value)
Sets the address of the specifiedIntBuffer
to thekdropped
field.
-
array
public IOURingSQ.Buffer array(java.nio.IntBuffer value)
Sets the address of the specifiedIntBuffer
to thearray
field.
-
sqes
public IOURingSQ.Buffer sqes(IOURingSQE value)
Sets the address of the specifiedIOURingSQE
to thesqes
field.
-
sqe_head
public IOURingSQ.Buffer sqe_head(int value)
Sets the specified value to thesqe_head
field.
-
sqe_tail
public IOURingSQ.Buffer sqe_tail(int value)
Sets the specified value to thesqe_tail
field.
-
ring_ptr
public IOURingSQ.Buffer ring_ptr(java.nio.ByteBuffer value)
Sets the address of the specifiedByteBuffer
to thering_ptr
field.
-
-