Package org.lwjgl.system.linux.liburing
Class IOURingCQ.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<IOURingCQ,IOURingCQ.Buffer>
-
- org.lwjgl.system.linux.liburing.IOURingCQ.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,java.lang.Iterable<IOURingCQ>
,org.lwjgl.system.NativeResource
,org.lwjgl.system.Pointer
- Enclosing class:
- IOURingCQ
public static class IOURingCQ.Buffer extends org.lwjgl.system.StructBuffer<IOURingCQ,IOURingCQ.Buffer> implements org.lwjgl.system.NativeResource
An array ofIOURingCQ
structs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IOURingCQE
cqes()
IOURingCQ.Buffer
cqes(IOURingCQE value)
Sets the address of the specifiedIOURingCQE
to thecqes
field.java.nio.IntBuffer
kflags(int capacity)
IOURingCQ.Buffer
kflags(java.nio.IntBuffer value)
Sets the address of the specifiedIntBuffer
to thekflags
field.java.nio.IntBuffer
khead(int capacity)
IOURingCQ.Buffer
khead(java.nio.IntBuffer value)
Sets the address of the specifiedIntBuffer
to thekhead
field.java.nio.IntBuffer
koverflow(int capacity)
IOURingCQ.Buffer
koverflow(java.nio.IntBuffer value)
Sets the address of the specifiedIntBuffer
to thekoverflow
field.java.nio.IntBuffer
kring_entries(int capacity)
IOURingCQ.Buffer
kring_entries(java.nio.IntBuffer value)
Sets the address of the specifiedIntBuffer
to thekring_entries
field.java.nio.IntBuffer
kring_mask(int capacity)
IOURingCQ.Buffer
kring_mask(java.nio.IntBuffer value)
Sets the address of the specifiedIntBuffer
to thekring_mask
field.java.nio.IntBuffer
ktail(int capacity)
IOURingCQ.Buffer
ktail(java.nio.IntBuffer value)
Sets the address of the specifiedIntBuffer
to thektail
field.java.nio.ByteBuffer
ring_ptr()
IOURingCQ.Buffer
ring_ptr(java.nio.ByteBuffer value)
Sets the address of the specifiedByteBuffer
to thering_ptr
field.long
ring_sz()
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newIOURingCQ.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 byIOURingCQ.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.
-
koverflow
public java.nio.IntBuffer koverflow(int capacity)
- Parameters:
capacity
- the number of elements in the returned buffer- Returns:
- a
IntBuffer
view of the data pointed to by thekoverflow
field.
-
cqes
public IOURingCQE cqes()
- Returns:
- a
IOURingCQE
view of the struct pointed to by thecqes
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 IOURingCQ.Buffer khead(java.nio.IntBuffer value)
Sets the address of the specifiedIntBuffer
to thekhead
field.
-
ktail
public IOURingCQ.Buffer ktail(java.nio.IntBuffer value)
Sets the address of the specifiedIntBuffer
to thektail
field.
-
kring_mask
public IOURingCQ.Buffer kring_mask(java.nio.IntBuffer value)
Sets the address of the specifiedIntBuffer
to thekring_mask
field.
-
kring_entries
public IOURingCQ.Buffer kring_entries(java.nio.IntBuffer value)
Sets the address of the specifiedIntBuffer
to thekring_entries
field.
-
kflags
public IOURingCQ.Buffer kflags(java.nio.IntBuffer value)
Sets the address of the specifiedIntBuffer
to thekflags
field.
-
koverflow
public IOURingCQ.Buffer koverflow(java.nio.IntBuffer value)
Sets the address of the specifiedIntBuffer
to thekoverflow
field.
-
cqes
public IOURingCQ.Buffer cqes(IOURingCQE value)
Sets the address of the specifiedIOURingCQE
to thecqes
field.
-
ring_ptr
public IOURingCQ.Buffer ring_ptr(java.nio.ByteBuffer value)
Sets the address of the specifiedByteBuffer
to thering_ptr
field.
-
-