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.Bufferinstance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionint__pad1()__pad1(int value) Sets the specified value to the__pad1field.__pad2()long__pad2(int index) __pad2(int index, long value) Sets the specified value at the specified index of the__pad2field.__pad2(LongBuffer value) Copies the specifiedLongBufferto the__pad2field.__pad3()short__pad3(int index) __pad3(int index, short value) Sets the specified value at the specified index of the__pad3field.__pad3(ShortBuffer value) Copies the specifiedShortBufferto the__pad3field.intaccept_flags(int value) Sets the specified value to theaccept_flagsfield.longaddr()addr(long value) Sets the specified value to theaddrfield.shortaddr_len()addr_len(short value) Sets the specified value to theaddr_lenfield.longaddr2()addr2(long value) Sets the specified value to theaddr2field.longaddr3()addr3(long value) Sets the specified value to theaddr3field.shortbuf_group(short value) Sets the specified value to thebuf_groupfield.shortbuf_index(short value) Sets the specified value to thebuf_indexfield.intcancel_flags(int value) Sets the specified value to thecancel_flagsfield.cmd()bytecmd(int index) cmd(int index, byte value) Sets the specified value at the specified index of thecmdfield.cmd(ByteBuffer value) Copies the specifiedByteBufferto thecmdfield.intcmd_op()cmd_op(int value) Sets the specified value to thecmd_opfield.intfadvise_advice(int value) Sets the specified value to thefadvise_advicefield.intfd()fd(int value) Sets the specified value to thefdfield.intfile_index(int value) Sets the specified value to thefile_indexfield.byteflags()flags(byte value) Sets the specified value to theflagsfield.intfsync_flags(int value) Sets the specified value to thefsync_flagsfield.intfutex_flags(int value) Sets the specified value to thefutex_flagsfield.inthardlink_flags(int value) Sets the specified value to thehardlink_flagsfield.intinstall_fd_flags(int value) Sets the specified value to theinstall_fd_flagsfield.shortioprio()ioprio(short value) Sets the specified value to theiopriofield.intlen()len(int value) Sets the specified value to thelenfield.intlevel()level(int value) Sets the specified value to thelevelfield.intmsg_flags(int value) Sets the specified value to themsg_flagsfield.intmsg_ring_flags(int value) Sets the specified value to themsg_ring_flagsfield.intnop_flags(int value) Sets the specified value to thenop_flagsfield.longoff()off(long value) Sets the specified value to theofffield.byteopcode()opcode(byte value) Sets the specified value to theopcodefield.intopen_flags(int value) Sets the specified value to theopen_flagsfield.intoptlen()optlen(int value) Sets the specified value to theoptlenfield.intoptname()optname(int value) Sets the specified value to theoptnamefield.longoptval()optval(long value) Sets the specified value to theoptvalfield.shortpersonality(short value) Sets the specified value to thepersonalityfield.intpipe_flags(int value) Sets the specified value to thepipe_flagsfield.shortpoll_events(short value) Sets the specified value to thepoll_eventsfield.intpoll32_events(int value) Sets the specified value to thepoll32_eventsfield.intrename_flags(int value) Sets the specified value to therename_flagsfield.intrw_flags()rw_flags(int value) Sets the specified value to therw_flagsfield.intsplice_fd_in(int value) Sets the specified value to thesplice_fd_infield.intsplice_flags(int value) Sets the specified value to thesplice_flagsfield.longsplice_off_in(long value) Sets the specified value to thesplice_off_infield.intstatx_flags(int value) Sets the specified value to thestatx_flagsfield.intsync_range_flags(int value) Sets the specified value to thesync_range_flagsfield.inttimeout_flags(int value) Sets the specified value to thetimeout_flagsfield.intunlink_flags(int value) Sets the specified value to theunlink_flagsfield.inturing_cmd_flags(int value) Sets the specified value to theuring_cmd_flagsfield.longuser_data(long value) Sets the specified value to theuser_datafield.intwaitid_flags(int value) Sets the specified value to thewaitid_flagsfield.intxattr_flags(int value) Sets the specified value to thexattr_flagsfield.intzcrx_ifq_idx(int value) Sets the specified value to thezcrx_ifq_idxfield.Methods inherited from class org.lwjgl.system.StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streamMethods 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, toStringMethods inherited from class org.lwjgl.system.Pointer.Default
equals, hashCodeMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
Buffer
Creates a newIOURingSQE.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 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
opcodefield.
-
flags
public byte flags()- Returns:
- the value of the
flagsfield.
-
ioprio
public short ioprio()- Returns:
- the value of the
iopriofield.
-
fd
public int fd()- Returns:
- the value of the
fdfield.
-
off
public long off()- Returns:
- the value of the
offfield.
-
addr2
public long addr2()- Returns:
- the value of the
addr2field.
-
cmd_op
public int cmd_op()- Returns:
- the value of the
cmd_opfield.
-
__pad1
public int __pad1()- Returns:
- the value of the
__pad1field.
-
addr
public long addr()- Returns:
- the value of the
addrfield.
-
splice_off_in
public long splice_off_in()- Returns:
- the value of the
splice_off_infield.
-
level
public int level()- Returns:
- the value of the
levelfield.
-
optname
public int optname()- Returns:
- the value of the
optnamefield.
-
len
public int len()- Returns:
- the value of the
lenfield.
-
rw_flags
public int rw_flags()- Returns:
- the value of the
rw_flagsfield.
-
fsync_flags
public int fsync_flags()- Returns:
- the value of the
fsync_flagsfield.
-
poll_events
public short poll_events()- Returns:
- the value of the
poll_eventsfield.
-
poll32_events
public int poll32_events()- Returns:
- the value of the
poll32_eventsfield.
-
sync_range_flags
public int sync_range_flags()- Returns:
- the value of the
sync_range_flagsfield.
-
msg_flags
public int msg_flags()- Returns:
- the value of the
msg_flagsfield.
-
timeout_flags
public int timeout_flags()- Returns:
- the value of the
timeout_flagsfield.
-
accept_flags
public int accept_flags()- Returns:
- the value of the
accept_flagsfield.
-
cancel_flags
public int cancel_flags()- Returns:
- the value of the
cancel_flagsfield.
-
open_flags
public int open_flags()- Returns:
- the value of the
open_flagsfield.
-
statx_flags
public int statx_flags()- Returns:
- the value of the
statx_flagsfield.
-
fadvise_advice
public int fadvise_advice()- Returns:
- the value of the
fadvise_advicefield.
-
splice_flags
public int splice_flags()- Returns:
- the value of the
splice_flagsfield.
-
rename_flags
public int rename_flags()- Returns:
- the value of the
rename_flagsfield.
-
unlink_flags
public int unlink_flags()- Returns:
- the value of the
unlink_flagsfield.
-
hardlink_flags
public int hardlink_flags()- Returns:
- the value of the
hardlink_flagsfield.
-
xattr_flags
public int xattr_flags()- Returns:
- the value of the
xattr_flagsfield.
-
msg_ring_flags
public int msg_ring_flags()- Returns:
- the value of the
msg_ring_flagsfield.
-
uring_cmd_flags
public int uring_cmd_flags()- Returns:
- the value of the
uring_cmd_flagsfield.
-
waitid_flags
public int waitid_flags()- Returns:
- the value of the
waitid_flagsfield.
-
futex_flags
public int futex_flags()- Returns:
- the value of the
futex_flagsfield.
-
install_fd_flags
public int install_fd_flags()- Returns:
- the value of the
install_fd_flagsfield.
-
nop_flags
public int nop_flags()- Returns:
- the value of the
nop_flagsfield.
-
pipe_flags
public int pipe_flags()- Returns:
- the value of the
pipe_flagsfield.
-
user_data
public long user_data()- Returns:
- the value of the
user_datafield.
-
buf_index
public short buf_index()- Returns:
- the value of the
buf_indexfield.
-
buf_group
public short buf_group()- Returns:
- the value of the
buf_groupfield.
-
personality
public short personality()- Returns:
- the value of the
personalityfield.
-
splice_fd_in
public int splice_fd_in()- Returns:
- the value of the
splice_fd_infield.
-
file_index
public int file_index()- Returns:
- the value of the
file_indexfield.
-
zcrx_ifq_idx
public int zcrx_ifq_idx()- Returns:
- the value of the
zcrx_ifq_idxfield.
-
optlen
public int optlen()- Returns:
- the value of the
optlenfield.
-
addr_len
public short addr_len()- Returns:
- the value of the
addr_lenfield.
-
__pad3
- Returns:
- a
ShortBufferview of the__pad3field.
-
__pad3
public short __pad3(int index) - Returns:
- the value at the specified index of the
__pad3field.
-
addr3
public long addr3()- Returns:
- the value of the
addr3field.
-
__pad2
- Returns:
- a
LongBufferview of the__pad2field.
-
__pad2
public long __pad2(int index) - Returns:
- the value at the specified index of the
__pad2field.
-
optval
public long optval()- Returns:
- the value of the
optvalfield.
-
cmd
- Returns:
- a
ByteBufferview of thecmdfield.
-
cmd
public byte cmd(int index) - Returns:
- the value at the specified index of the
cmdfield.
-
opcode
Sets the specified value to theopcodefield. -
flags
Sets the specified value to theflagsfield. -
ioprio
Sets the specified value to theiopriofield. -
fd
Sets the specified value to thefdfield. -
off
Sets the specified value to theofffield. -
addr2
Sets the specified value to theaddr2field. -
cmd_op
Sets the specified value to thecmd_opfield. -
__pad1
Sets the specified value to the__pad1field. -
addr
Sets the specified value to theaddrfield. -
splice_off_in
Sets the specified value to thesplice_off_infield. -
level
Sets the specified value to thelevelfield. -
optname
Sets the specified value to theoptnamefield. -
len
Sets the specified value to thelenfield. -
rw_flags
Sets the specified value to therw_flagsfield. -
fsync_flags
Sets the specified value to thefsync_flagsfield. -
poll_events
Sets the specified value to thepoll_eventsfield. -
poll32_events
Sets the specified value to thepoll32_eventsfield. -
sync_range_flags
Sets the specified value to thesync_range_flagsfield. -
msg_flags
Sets the specified value to themsg_flagsfield. -
timeout_flags
Sets the specified value to thetimeout_flagsfield. -
accept_flags
Sets the specified value to theaccept_flagsfield. -
cancel_flags
Sets the specified value to thecancel_flagsfield. -
open_flags
Sets the specified value to theopen_flagsfield. -
statx_flags
Sets the specified value to thestatx_flagsfield. -
fadvise_advice
Sets the specified value to thefadvise_advicefield. -
splice_flags
Sets the specified value to thesplice_flagsfield. -
rename_flags
Sets the specified value to therename_flagsfield. -
unlink_flags
Sets the specified value to theunlink_flagsfield. -
hardlink_flags
Sets the specified value to thehardlink_flagsfield. -
xattr_flags
Sets the specified value to thexattr_flagsfield. -
msg_ring_flags
Sets the specified value to themsg_ring_flagsfield. -
uring_cmd_flags
Sets the specified value to theuring_cmd_flagsfield. -
waitid_flags
Sets the specified value to thewaitid_flagsfield. -
futex_flags
Sets the specified value to thefutex_flagsfield. -
install_fd_flags
Sets the specified value to theinstall_fd_flagsfield. -
nop_flags
Sets the specified value to thenop_flagsfield. -
pipe_flags
Sets the specified value to thepipe_flagsfield. -
user_data
Sets the specified value to theuser_datafield. -
buf_index
Sets the specified value to thebuf_indexfield. -
buf_group
Sets the specified value to thebuf_groupfield. -
personality
Sets the specified value to thepersonalityfield. -
splice_fd_in
Sets the specified value to thesplice_fd_infield. -
file_index
Sets the specified value to thefile_indexfield. -
zcrx_ifq_idx
Sets the specified value to thezcrx_ifq_idxfield. -
optlen
Sets the specified value to theoptlenfield. -
addr_len
Sets the specified value to theaddr_lenfield. -
__pad3
Copies the specifiedShortBufferto the__pad3field. -
__pad3
Sets the specified value at the specified index of the__pad3field. -
addr3
Sets the specified value to theaddr3field. -
__pad2
Copies the specifiedLongBufferto the__pad2field. -
__pad2
Sets the specified value at the specified index of the__pad2field. -
optval
Sets the specified value to theoptvalfield. -
cmd
Copies the specifiedByteBufferto thecmdfield. -
cmd
Sets the specified value at the specified index of thecmdfield.
-