Package org.lwjgl.system.linux.liburing
Class IOURingSQE.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<IOURingSQE,IOURingSQE.Buffer>
-
- org.lwjgl.system.linux.liburing.IOURingSQE.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<IOURingSQE>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- IOURingSQE
public static class IOURingSQE.Buffer extends org.lwjgl.system.StructBuffer<IOURingSQE,IOURingSQE.Buffer> implements org.lwjgl.system.NativeResource
An array ofIOURingSQEstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intaccept_flags()IOURingSQE.Bufferaccept_flags(int value)Sets the specified value to theaccept_flagsfield.longaddr()IOURingSQE.Bufferaddr(long value)Sets the specified value to theIOURingSQE.addr()field.longaddr2()IOURingSQE.Bufferaddr2(long value)Sets the specified value to theaddr2field.shortbuf_group()IOURingSQE.Bufferbuf_group(short value)Sets the specified value to theIOURingSQE.buf_group()field.shortbuf_index()IOURingSQE.Bufferbuf_index(short value)Sets the specified value to theIOURingSQE.buf_index()field.intcancel_flags()IOURingSQE.Buffercancel_flags(int value)Sets the specified value to thecancel_flagsfield.intfadvise_advice()IOURingSQE.Bufferfadvise_advice(int value)Sets the specified value to thefadvise_advicefield.intfd()IOURingSQE.Bufferfd(int value)Sets the specified value to theIOURingSQE.fd()field.intfile_index()IOURingSQE.Bufferfile_index(int value)Sets the specified value to thefile_indexfield.byteflags()IOURingSQE.Bufferflags(byte value)Sets the specified value to theIOURingSQE.flags()field.intfsync_flags()IOURingSQE.Bufferfsync_flags(int value)Sets the specified value to theIOURingSQE.fsync_flags()field.inthardlink_flags()IOURingSQE.Bufferhardlink_flags(int value)Sets the specified value to thehardlink_flagsfield.shortioprio()IOURingSQE.Bufferioprio(short value)Sets the specified value to theIOURingSQE.ioprio()field.intlen()IOURingSQE.Bufferlen(int value)Sets the specified value to theIOURingSQE.len()field.intmsg_flags()IOURingSQE.Buffermsg_flags(int value)Sets the specified value to themsg_flagsfield.longoff()IOURingSQE.Bufferoff(long value)Sets the specified value to theIOURingSQE.off()field.byteopcode()IOURingSQE.Bufferopcode(byte value)Sets the specified value to theIOURingSQE.opcode()field.intopen_flags()IOURingSQE.Bufferopen_flags(int value)Sets the specified value to theopen_flagsfield.shortpersonality()IOURingSQE.Bufferpersonality(short value)Sets the specified value to theIOURingSQE.personality()field.shortpoll_events()IOURingSQE.Bufferpoll_events(short value)Sets the specified value to theIOURingSQE.poll_events()field.intpoll32_events()IOURingSQE.Bufferpoll32_events(int value)Sets the specified value to theIOURingSQE.poll32_events()field.intrename_flags()IOURingSQE.Bufferrename_flags(int value)Sets the specified value to therename_flagsfield.intrw_flags()IOURingSQE.Bufferrw_flags(int value)Sets the specified value to theIOURingSQE.rw_flags()field.intsplice_fd_in()IOURingSQE.Buffersplice_fd_in(int value)Sets the specified value to thesplice_fd_infield.intsplice_flags()IOURingSQE.Buffersplice_flags(int value)Sets the specified value to thesplice_flagsfield.longsplice_off_in()IOURingSQE.Buffersplice_off_in(long value)Sets the specified value to thesplice_off_infield.intstatx_flags()IOURingSQE.Bufferstatx_flags(int value)Sets the specified value to thestatx_flagsfield.intsync_range_flags()IOURingSQE.Buffersync_range_flags(int value)Sets the specified value to thesync_range_flagsfield.inttimeout_flags()IOURingSQE.Buffertimeout_flags(int value)Sets the specified value to thetimeout_flagsfield.intunlink_flags()IOURingSQE.Bufferunlink_flags(int value)Sets the specified value to theunlink_flagsfield.longuser_data()IOURingSQE.Bufferuser_data(long value)Sets the specified value to theIOURingSQE.user_data()field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
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 byIOURingSQE.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
-
opcode
public byte opcode()
- Returns:
- the value of the
IOURingSQE.opcode()field.
-
flags
public byte flags()
- Returns:
- the value of the
IOURingSQE.flags()field.
-
ioprio
public short ioprio()
- Returns:
- the value of the
IOURingSQE.ioprio()field.
-
fd
public int fd()
- Returns:
- the value of the
IOURingSQE.fd()field.
-
off
public long off()
- Returns:
- the value of the
IOURingSQE.off()field.
-
addr2
public long addr2()
- Returns:
- the value of the
addr2field.
-
addr
public long addr()
- Returns:
- the value of the
IOURingSQE.addr()field.
-
splice_off_in
public long splice_off_in()
- Returns:
- the value of the
splice_off_infield.
-
len
public int len()
- Returns:
- the value of the
IOURingSQE.len()field.
-
rw_flags
public int rw_flags()
- Returns:
- the value of the
IOURingSQE.rw_flags()field.
-
fsync_flags
public int fsync_flags()
- Returns:
- the value of the
IOURingSQE.fsync_flags()field.
-
poll_events
public short poll_events()
- Returns:
- the value of the
IOURingSQE.poll_events()field.
-
poll32_events
public int poll32_events()
- Returns:
- the value of the
IOURingSQE.poll32_events()field.
-
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.
-
user_data
public long user_data()
- Returns:
- the value of the
IOURingSQE.user_data()field.
-
buf_index
public short buf_index()
- Returns:
- the value of the
IOURingSQE.buf_index()field.
-
buf_group
public short buf_group()
- Returns:
- the value of the
IOURingSQE.buf_group()field.
-
personality
public short personality()
- Returns:
- the value of the
IOURingSQE.personality()field.
-
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.
-
opcode
public IOURingSQE.Buffer opcode(byte value)
Sets the specified value to theIOURingSQE.opcode()field.
-
flags
public IOURingSQE.Buffer flags(byte value)
Sets the specified value to theIOURingSQE.flags()field.
-
ioprio
public IOURingSQE.Buffer ioprio(short value)
Sets the specified value to theIOURingSQE.ioprio()field.
-
fd
public IOURingSQE.Buffer fd(int value)
Sets the specified value to theIOURingSQE.fd()field.
-
off
public IOURingSQE.Buffer off(long value)
Sets the specified value to theIOURingSQE.off()field.
-
addr2
public IOURingSQE.Buffer addr2(long value)
Sets the specified value to theaddr2field.
-
addr
public IOURingSQE.Buffer addr(long value)
Sets the specified value to theIOURingSQE.addr()field.
-
splice_off_in
public IOURingSQE.Buffer splice_off_in(long value)
Sets the specified value to thesplice_off_infield.
-
len
public IOURingSQE.Buffer len(int value)
Sets the specified value to theIOURingSQE.len()field.
-
rw_flags
public IOURingSQE.Buffer rw_flags(int value)
Sets the specified value to theIOURingSQE.rw_flags()field.
-
fsync_flags
public IOURingSQE.Buffer fsync_flags(int value)
Sets the specified value to theIOURingSQE.fsync_flags()field.
-
poll_events
public IOURingSQE.Buffer poll_events(short value)
Sets the specified value to theIOURingSQE.poll_events()field.
-
poll32_events
public IOURingSQE.Buffer poll32_events(int value)
Sets the specified value to theIOURingSQE.poll32_events()field.
-
sync_range_flags
public IOURingSQE.Buffer sync_range_flags(int value)
Sets the specified value to thesync_range_flagsfield.
-
msg_flags
public IOURingSQE.Buffer msg_flags(int value)
Sets the specified value to themsg_flagsfield.
-
timeout_flags
public IOURingSQE.Buffer timeout_flags(int value)
Sets the specified value to thetimeout_flagsfield.
-
accept_flags
public IOURingSQE.Buffer accept_flags(int value)
Sets the specified value to theaccept_flagsfield.
-
cancel_flags
public IOURingSQE.Buffer cancel_flags(int value)
Sets the specified value to thecancel_flagsfield.
-
open_flags
public IOURingSQE.Buffer open_flags(int value)
Sets the specified value to theopen_flagsfield.
-
statx_flags
public IOURingSQE.Buffer statx_flags(int value)
Sets the specified value to thestatx_flagsfield.
-
fadvise_advice
public IOURingSQE.Buffer fadvise_advice(int value)
Sets the specified value to thefadvise_advicefield.
-
splice_flags
public IOURingSQE.Buffer splice_flags(int value)
Sets the specified value to thesplice_flagsfield.
-
rename_flags
public IOURingSQE.Buffer rename_flags(int value)
Sets the specified value to therename_flagsfield.
-
unlink_flags
public IOURingSQE.Buffer unlink_flags(int value)
Sets the specified value to theunlink_flagsfield.
-
hardlink_flags
public IOURingSQE.Buffer hardlink_flags(int value)
Sets the specified value to thehardlink_flagsfield.
-
user_data
public IOURingSQE.Buffer user_data(long value)
Sets the specified value to theIOURingSQE.user_data()field.
-
buf_index
public IOURingSQE.Buffer buf_index(short value)
Sets the specified value to theIOURingSQE.buf_index()field.
-
buf_group
public IOURingSQE.Buffer buf_group(short value)
Sets the specified value to theIOURingSQE.buf_group()field.
-
personality
public IOURingSQE.Buffer personality(short value)
Sets the specified value to theIOURingSQE.personality()field.
-
splice_fd_in
public IOURingSQE.Buffer splice_fd_in(int value)
Sets the specified value to thesplice_fd_infield.
-
file_index
public IOURingSQE.Buffer file_index(int value)
Sets the specified value to thefile_indexfield.
-
-