Package org.lwjgl.system.linux.liburing
Class IOURingSQE.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<IOURingSQE.Buffer>
org.lwjgl.system.StructBuffer<IOURingSQE,IOURingSQE.Buffer>
org.lwjgl.system.linux.liburing.IOURingSQE.Buffer
- All Implemented Interfaces:
AutoCloseable
,Iterable<IOURingSQE>
,NativeResource
,Pointer
- Enclosing class:
IOURingSQE
public static class IOURingSQE.Buffer
extends StructBuffer<IOURingSQE,IOURingSQE.Buffer>
implements NativeResource
An array of
IOURingSQE
structs.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorsConstructorDescriptionBuffer
(long address, int cap) Buffer
(ByteBuffer container) Creates a newIOURingSQE.Buffer
instance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionint
__pad1()
__pad1
(int value) Sets the specified value to the__pad1
field.__pad2()
long
__pad2
(int index) __pad2
(int index, long value) Sets the specified value at the specified index of the__pad2
field.__pad2
(LongBuffer value) Copies the specifiedLongBuffer
to the__pad2
field.__pad3()
short
__pad3
(int index) __pad3
(int index, short value) Sets the specified value at the specified index of the__pad3
field.__pad3
(ShortBuffer value) Copies the specifiedShortBuffer
to the__pad3
field.int
accept_flags
(int value) Sets the specified value to theaccept_flags
field.long
addr()
addr
(long value) Sets the specified value to theaddr
field.short
addr_len()
addr_len
(short value) Sets the specified value to theaddr_len
field.long
addr2()
addr2
(long value) Sets the specified value to theaddr2
field.long
addr3()
addr3
(long value) Sets the specified value to theaddr3
field.short
buf_group
(short value) Sets the specified value to thebuf_group
field.short
buf_index
(short value) Sets the specified value to thebuf_index
field.int
cancel_flags
(int value) Sets the specified value to thecancel_flags
field.cmd()
byte
cmd
(int index) cmd
(int index, byte value) Sets the specified value at the specified index of thecmd
field.cmd
(ByteBuffer value) Copies the specifiedByteBuffer
to thecmd
field.int
cmd_op()
cmd_op
(int value) Sets the specified value to thecmd_op
field.int
fadvise_advice
(int value) Sets the specified value to thefadvise_advice
field.int
fd()
fd
(int value) Sets the specified value to thefd
field.int
file_index
(int value) Sets the specified value to thefile_index
field.byte
flags()
flags
(byte value) Sets the specified value to theflags
field.int
fsync_flags
(int value) Sets the specified value to thefsync_flags
field.int
futex_flags
(int value) Sets the specified value to thefutex_flags
field.int
hardlink_flags
(int value) Sets the specified value to thehardlink_flags
field.int
install_fd_flags
(int value) Sets the specified value to theinstall_fd_flags
field.short
ioprio()
ioprio
(short value) Sets the specified value to theioprio
field.int
len()
len
(int value) Sets the specified value to thelen
field.int
level()
level
(int value) Sets the specified value to thelevel
field.int
msg_flags
(int value) Sets the specified value to themsg_flags
field.int
msg_ring_flags
(int value) Sets the specified value to themsg_ring_flags
field.int
nop_flags
(int value) Sets the specified value to thenop_flags
field.long
off()
off
(long value) Sets the specified value to theoff
field.byte
opcode()
opcode
(byte value) Sets the specified value to theopcode
field.int
open_flags
(int value) Sets the specified value to theopen_flags
field.int
optlen()
optlen
(int value) Sets the specified value to theoptlen
field.int
optname()
optname
(int value) Sets the specified value to theoptname
field.long
optval()
optval
(long value) Sets the specified value to theoptval
field.short
personality
(short value) Sets the specified value to thepersonality
field.short
poll_events
(short value) Sets the specified value to thepoll_events
field.int
poll32_events
(int value) Sets the specified value to thepoll32_events
field.int
rename_flags
(int value) Sets the specified value to therename_flags
field.int
rw_flags()
rw_flags
(int value) Sets the specified value to therw_flags
field.int
splice_fd_in
(int value) Sets the specified value to thesplice_fd_in
field.int
splice_flags
(int value) Sets the specified value to thesplice_flags
field.long
splice_off_in
(long value) Sets the specified value to thesplice_off_in
field.int
statx_flags
(int value) Sets the specified value to thestatx_flags
field.int
sync_range_flags
(int value) Sets the specified value to thesync_range_flags
field.int
timeout_flags
(int value) Sets the specified value to thetimeout_flags
field.int
unlink_flags
(int value) Sets the specified value to theunlink_flags
field.int
uring_cmd_flags
(int value) Sets the specified value to theuring_cmd_flags
field.long
user_data
(long value) Sets the specified value to theuser_data
field.int
waitid_flags
(int value) Sets the specified value to thewaitid_flags
field.int
xattr_flags
(int value) Sets the specified value to thexattr_flags
field.int
zcrx_ifq_idx
(int value) Sets the specified value to thezcrx_ifq_idx
field.Methods inherited from class org.lwjgl.system.StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, stream
Methods inherited from class org.lwjgl.system.CustomBuffer
address, address, address0, capacity, clear, compact, duplicate, flip, free, hasRemaining, limit, limit, mark, position, position, put, remaining, reset, rewind, slice, slice, toString
Methods inherited from class org.lwjgl.system.Pointer.Default
equals, hashCode
Methods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
Buffer
Creates a newIOURingSQE.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 by
IOURingSQE.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 Details
-
opcode
public byte opcode()- Returns:
- the value of the
opcode
field.
-
flags
public byte flags()- Returns:
- the value of the
flags
field.
-
ioprio
public short ioprio()- Returns:
- the value of the
ioprio
field.
-
fd
public int fd()- Returns:
- the value of the
fd
field.
-
off
public long off()- Returns:
- the value of the
off
field.
-
addr2
public long addr2()- Returns:
- the value of the
addr2
field.
-
cmd_op
public int cmd_op()- Returns:
- the value of the
cmd_op
field.
-
__pad1
public int __pad1()- Returns:
- the value of the
__pad1
field.
-
addr
public long addr()- Returns:
- the value of the
addr
field.
-
splice_off_in
public long splice_off_in()- Returns:
- the value of the
splice_off_in
field.
-
level
public int level()- Returns:
- the value of the
level
field.
-
optname
public int optname()- Returns:
- the value of the
optname
field.
-
len
public int len()- Returns:
- the value of the
len
field.
-
rw_flags
public int rw_flags()- Returns:
- the value of the
rw_flags
field.
-
fsync_flags
public int fsync_flags()- Returns:
- the value of the
fsync_flags
field.
-
poll_events
public short poll_events()- Returns:
- the value of the
poll_events
field.
-
poll32_events
public int poll32_events()- Returns:
- the value of the
poll32_events
field.
-
sync_range_flags
public int sync_range_flags()- Returns:
- the value of the
sync_range_flags
field.
-
msg_flags
public int msg_flags()- Returns:
- the value of the
msg_flags
field.
-
timeout_flags
public int timeout_flags()- Returns:
- the value of the
timeout_flags
field.
-
accept_flags
public int accept_flags()- Returns:
- the value of the
accept_flags
field.
-
cancel_flags
public int cancel_flags()- Returns:
- the value of the
cancel_flags
field.
-
open_flags
public int open_flags()- Returns:
- the value of the
open_flags
field.
-
statx_flags
public int statx_flags()- Returns:
- the value of the
statx_flags
field.
-
fadvise_advice
public int fadvise_advice()- Returns:
- the value of the
fadvise_advice
field.
-
splice_flags
public int splice_flags()- Returns:
- the value of the
splice_flags
field.
-
rename_flags
public int rename_flags()- Returns:
- the value of the
rename_flags
field.
-
unlink_flags
public int unlink_flags()- Returns:
- the value of the
unlink_flags
field.
-
hardlink_flags
public int hardlink_flags()- Returns:
- the value of the
hardlink_flags
field.
-
xattr_flags
public int xattr_flags()- Returns:
- the value of the
xattr_flags
field.
-
msg_ring_flags
public int msg_ring_flags()- Returns:
- the value of the
msg_ring_flags
field.
-
uring_cmd_flags
public int uring_cmd_flags()- Returns:
- the value of the
uring_cmd_flags
field.
-
waitid_flags
public int waitid_flags()- Returns:
- the value of the
waitid_flags
field.
-
futex_flags
public int futex_flags()- Returns:
- the value of the
futex_flags
field.
-
install_fd_flags
public int install_fd_flags()- Returns:
- the value of the
install_fd_flags
field.
-
nop_flags
public int nop_flags()- Returns:
- the value of the
nop_flags
field.
-
user_data
public long user_data()- Returns:
- the value of the
user_data
field.
-
buf_index
public short buf_index()- Returns:
- the value of the
buf_index
field.
-
buf_group
public short buf_group()- Returns:
- the value of the
buf_group
field.
-
personality
public short personality()- Returns:
- the value of the
personality
field.
-
splice_fd_in
public int splice_fd_in()- Returns:
- the value of the
splice_fd_in
field.
-
file_index
public int file_index()- Returns:
- the value of the
file_index
field.
-
zcrx_ifq_idx
public int zcrx_ifq_idx()- Returns:
- the value of the
zcrx_ifq_idx
field.
-
optlen
public int optlen()- Returns:
- the value of the
optlen
field.
-
addr_len
public short addr_len()- Returns:
- the value of the
addr_len
field.
-
__pad3
- Returns:
- a
ShortBuffer
view of the__pad3
field.
-
__pad3
public short __pad3(int index) - Returns:
- the value at the specified index of the
__pad3
field.
-
addr3
public long addr3()- Returns:
- the value of the
addr3
field.
-
__pad2
- Returns:
- a
LongBuffer
view of the__pad2
field.
-
__pad2
public long __pad2(int index) - Returns:
- the value at the specified index of the
__pad2
field.
-
optval
public long optval()- Returns:
- the value of the
optval
field.
-
cmd
- Returns:
- a
ByteBuffer
view of thecmd
field.
-
cmd
public byte cmd(int index) - Returns:
- the value at the specified index of the
cmd
field.
-
opcode
Sets the specified value to theopcode
field. -
flags
Sets the specified value to theflags
field. -
ioprio
Sets the specified value to theioprio
field. -
fd
Sets the specified value to thefd
field. -
off
Sets the specified value to theoff
field. -
addr2
Sets the specified value to theaddr2
field. -
cmd_op
Sets the specified value to thecmd_op
field. -
__pad1
Sets the specified value to the__pad1
field. -
addr
Sets the specified value to theaddr
field. -
splice_off_in
Sets the specified value to thesplice_off_in
field. -
level
Sets the specified value to thelevel
field. -
optname
Sets the specified value to theoptname
field. -
len
Sets the specified value to thelen
field. -
rw_flags
Sets the specified value to therw_flags
field. -
fsync_flags
Sets the specified value to thefsync_flags
field. -
poll_events
Sets the specified value to thepoll_events
field. -
poll32_events
Sets the specified value to thepoll32_events
field. -
sync_range_flags
Sets the specified value to thesync_range_flags
field. -
msg_flags
Sets the specified value to themsg_flags
field. -
timeout_flags
Sets the specified value to thetimeout_flags
field. -
accept_flags
Sets the specified value to theaccept_flags
field. -
cancel_flags
Sets the specified value to thecancel_flags
field. -
open_flags
Sets the specified value to theopen_flags
field. -
statx_flags
Sets the specified value to thestatx_flags
field. -
fadvise_advice
Sets the specified value to thefadvise_advice
field. -
splice_flags
Sets the specified value to thesplice_flags
field. -
rename_flags
Sets the specified value to therename_flags
field. -
unlink_flags
Sets the specified value to theunlink_flags
field. -
hardlink_flags
Sets the specified value to thehardlink_flags
field. -
xattr_flags
Sets the specified value to thexattr_flags
field. -
msg_ring_flags
Sets the specified value to themsg_ring_flags
field. -
uring_cmd_flags
Sets the specified value to theuring_cmd_flags
field. -
waitid_flags
Sets the specified value to thewaitid_flags
field. -
futex_flags
Sets the specified value to thefutex_flags
field. -
install_fd_flags
Sets the specified value to theinstall_fd_flags
field. -
nop_flags
Sets the specified value to thenop_flags
field. -
user_data
Sets the specified value to theuser_data
field. -
buf_index
Sets the specified value to thebuf_index
field. -
buf_group
Sets the specified value to thebuf_group
field. -
personality
Sets the specified value to thepersonality
field. -
splice_fd_in
Sets the specified value to thesplice_fd_in
field. -
file_index
Sets the specified value to thefile_index
field. -
zcrx_ifq_idx
Sets the specified value to thezcrx_ifq_idx
field. -
optlen
Sets the specified value to theoptlen
field. -
addr_len
Sets the specified value to theaddr_len
field. -
__pad3
Copies the specifiedShortBuffer
to the__pad3
field. -
__pad3
Sets the specified value at the specified index of the__pad3
field. -
addr3
Sets the specified value to theaddr3
field. -
__pad2
Copies the specifiedLongBuffer
to the__pad2
field. -
__pad2
Sets the specified value at the specified index of the__pad2
field. -
optval
Sets the specified value to theoptval
field. -
cmd
Copies the specifiedByteBuffer
to thecmd
field. -
cmd
Sets the specified value at the specified index of thecmd
field.
-