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 ofIOURingCQstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IOURingCQEcqes()IOURingCQ.Buffercqes(IOURingCQE value)Sets the address of the specifiedIOURingCQEto thecqesfield.java.nio.IntBufferkflags(int capacity)IOURingCQ.Bufferkflags(java.nio.IntBuffer value)Sets the address of the specifiedIntBufferto thekflagsfield.java.nio.IntBufferkhead(int capacity)IOURingCQ.Bufferkhead(java.nio.IntBuffer value)Sets the address of the specifiedIntBufferto thekheadfield.java.nio.IntBufferkoverflow(int capacity)IOURingCQ.Bufferkoverflow(java.nio.IntBuffer value)Sets the address of the specifiedIntBufferto thekoverflowfield.java.nio.IntBufferkring_entries(int capacity)IOURingCQ.Bufferkring_entries(java.nio.IntBuffer value)Sets the address of the specifiedIntBufferto thekring_entriesfield.java.nio.IntBufferkring_mask(int capacity)IOURingCQ.Bufferkring_mask(java.nio.IntBuffer value)Sets the address of the specifiedIntBufferto thekring_maskfield.java.nio.IntBufferktail(int capacity)IOURingCQ.Bufferktail(java.nio.IntBuffer value)Sets the address of the specifiedIntBufferto thektailfield.java.nio.ByteBufferring_ptr()IOURingCQ.Bufferring_ptr(java.nio.ByteBuffer value)Sets the address of the specifiedByteBufferto thering_ptrfield.longring_sz()
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newIOURingCQ.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 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
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.
-
koverflow
public java.nio.IntBuffer koverflow(int capacity)
- Parameters:
capacity- the number of elements in the returned buffer- Returns:
- a
IntBufferview of the data pointed to by thekoverflowfield.
-
cqes
public IOURingCQE cqes()
- Returns:
- a
IOURingCQEview of the struct pointed to by thecqesfield.
-
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 IOURingCQ.Buffer khead(java.nio.IntBuffer value)
Sets the address of the specifiedIntBufferto thekheadfield.
-
ktail
public IOURingCQ.Buffer ktail(java.nio.IntBuffer value)
Sets the address of the specifiedIntBufferto thektailfield.
-
kring_mask
public IOURingCQ.Buffer kring_mask(java.nio.IntBuffer value)
Sets the address of the specifiedIntBufferto thekring_maskfield.
-
kring_entries
public IOURingCQ.Buffer kring_entries(java.nio.IntBuffer value)
Sets the address of the specifiedIntBufferto thekring_entriesfield.
-
kflags
public IOURingCQ.Buffer kflags(java.nio.IntBuffer value)
Sets the address of the specifiedIntBufferto thekflagsfield.
-
koverflow
public IOURingCQ.Buffer koverflow(java.nio.IntBuffer value)
Sets the address of the specifiedIntBufferto thekoverflowfield.
-
cqes
public IOURingCQ.Buffer cqes(IOURingCQE value)
Sets the address of the specifiedIOURingCQEto thecqesfield.
-
ring_ptr
public IOURingCQ.Buffer ring_ptr(java.nio.ByteBuffer value)
Sets the address of the specifiedByteBufferto thering_ptrfield.
-
-