Index

A B C D E F G H I L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values

A

acquire() - Method in class express.mvp.roray.utils.memory.MemorySegmentPool
Acquires a memory segment from the pool.
acquire(long) - Method in class express.mvp.roray.utils.memory.MemorySegmentPool
Acquires a memory segment with at least the required size.
add(MemorySegment) - Method in interface express.mvp.roray.utils.collections.IntrusiveLinkedList
Adds an element to the tail of the list.
add(MemorySegment) - Method in class express.mvp.roray.utils.collections.IntrusiveLinkedListImpl
 
AF_INET - Static variable in class express.mvp.roray.utils.functions.LinuxLayouts
AF_INET - IPv4 Internet protocols.
AF_INET6 - Static variable in class express.mvp.roray.utils.functions.LinuxLayouts
AF_INET6 - IPv6 Internet protocols.
AF_UNIX - Static variable in class express.mvp.roray.utils.functions.LinuxLayouts
AF_UNIX / AF_LOCAL - Local communication.
allocate(Arena) - Method in class express.mvp.roray.utils.functions.StructAccessor
Allocates a new instance of this struct.
allocateArray(Arena, long) - Method in class express.mvp.roray.utils.functions.StructAccessor
Allocates an array of structs.
allocateCaptureState(Arena) - Static method in class express.mvp.roray.utils.functions.ErrnoCapture
Allocates a memory segment suitable for capturing call state.
arg(MemoryLayout) - Method in class express.mvp.roray.utils.functions.FunctionDescriptorBuilder
Add a single argument layout.
args(MemoryLayout...) - Method in class express.mvp.roray.utils.functions.FunctionDescriptorBuilder
Add argument layouts to this descriptor.
Array of Structs - Section in class express.mvp.roray.utils.functions.StructAccessor
 

B

Basic Usage - Section in class express.mvp.roray.utils.functions.StructAccessor
 
beginNestedField(int) - Method in class express.mvp.roray.utils.memory.VarFieldWriter
Begin streaming bytes for a nested or composite field directly into the backing segment.
BinaryReader - Interface in express.mvp.roray.utils.memory
An interface for reading binary data sequentially from an underlying source.
BinaryWriter - Interface in express.mvp.roray.utils.memory
An interface for writing binary data sequentially to an underlying sink.
BitSetView - Class in express.mvp.roray.utils.memory
A reusable, zero-allocation flyweight for performing bit-level operations over a MemorySegment.
BitSetView() - Constructor for class express.mvp.roray.utils.memory.BitSetView
 
BOOLEAN - Static variable in class express.mvp.roray.utils.memory.Layouts
 
build() - Method in class express.mvp.roray.utils.functions.FunctionDescriptorBuilder
BYTE - Static variable in class express.mvp.roray.utils.memory.Layouts
 
byteSize() - Method in class express.mvp.roray.utils.functions.StructAccessor
Gets the byte size of the struct.
byteSize() - Method in class express.mvp.roray.utils.memory.BitSetView
Returns the size of the bit array in bytes.
byteSize() - Method in interface express.mvp.roray.utils.memory.FlyweightAccessor
Returns the total size in bytes of the data structure this flyweight represents.
byteSize() - Method in class express.mvp.roray.utils.memory.Utf8View
Returns the length of the UTF-8 data in bytes.
bytesWritten() - Method in class express.mvp.roray.utils.memory.VarFieldWriter
Returns the total number of bytes written (headers + data).

C

C_CHAR - Static variable in class express.mvp.roray.utils.functions.LinuxLayouts
C char - 8 bits, signed.
C_DOUBLE - Static variable in class express.mvp.roray.utils.functions.LinuxLayouts
C double - 64-bit IEEE 754.
C_FLOAT - Static variable in class express.mvp.roray.utils.functions.LinuxLayouts
C float - 32-bit IEEE 754.
C_GID_T - Static variable in class express.mvp.roray.utils.functions.LinuxLayouts
C gid_t - group ID (32-bit unsigned).
C_INT - Static variable in class express.mvp.roray.utils.functions.LinuxLayouts
C int - 32 bits, signed.
C_LONG - Static variable in class express.mvp.roray.utils.functions.LinuxLayouts
C long - 64 bits on LP64 Linux, signed.
C_LONG_LONG - Static variable in class express.mvp.roray.utils.functions.LinuxLayouts
C long long - 64 bits, signed.
C_OFF_T - Static variable in class express.mvp.roray.utils.functions.LinuxLayouts
C off_t - file offset type (64-bit on modern Linux).
C_PID_T - Static variable in class express.mvp.roray.utils.functions.LinuxLayouts
C pid_t - process ID (32-bit signed).
C_POINTER - Static variable in class express.mvp.roray.utils.functions.LinuxLayouts
C pointer - 64 bits on LP64.
C_SHORT - Static variable in class express.mvp.roray.utils.functions.LinuxLayouts
C short - 16 bits, signed.
C_SIZE_T - Static variable in class express.mvp.roray.utils.functions.LinuxLayouts
C size_t - unsigned, pointer-sized.
C_SSIZE_T - Static variable in class express.mvp.roray.utils.functions.LinuxLayouts
C ssize_t - signed, pointer-sized.
C_UCHAR - Static variable in class express.mvp.roray.utils.functions.LinuxLayouts
C unsigned char - 8 bits, unsigned.
C_UID_T - Static variable in class express.mvp.roray.utils.functions.LinuxLayouts
C uid_t - user ID (32-bit unsigned).
C_UINT - Static variable in class express.mvp.roray.utils.functions.LinuxLayouts
C unsigned int - 32 bits, unsigned.
C_ULONG - Static variable in class express.mvp.roray.utils.functions.LinuxLayouts
C unsigned long - 64 bits on LP64 Linux, unsigned.
C_ULONG_LONG - Static variable in class express.mvp.roray.utils.functions.LinuxLayouts
C unsigned long long - 64 bits, unsigned.
C_USHORT - Static variable in class express.mvp.roray.utils.functions.LinuxLayouts
C unsigned short - 16 bits, unsigned.
calculateCrc32(MemorySegment) - Static method in class express.mvp.roray.utils.memory.SegmentUtils
Calculates the CRC32 checksum for the data within the given memory segment.
capacity() - Method in interface express.mvp.roray.utils.collections.RingBuffer
The total capacity of the ring.
capacity() - Method in class express.mvp.roray.utils.collections.RingBufferImpl
 
captureOption() - Static method in class express.mvp.roray.utils.functions.ErrnoCapture
Returns the Linker.Option to capture errno.
captureStateSize() - Static method in class express.mvp.roray.utils.functions.ErrnoCapture
Gets the size required for the capture state segment.
cardinality() - Method in class express.mvp.roray.utils.memory.BitSetView
Returns the number of bits set to 1 (population count).
clear() - Method in interface express.mvp.roray.utils.collections.OffHeapLongIntMap
 
clear() - Method in class express.mvp.roray.utils.collections.OffHeapLongIntMapImpl
 
clear() - Method in interface express.mvp.roray.utils.collections.OffHeapLongObjectMap
 
clear() - Method in class express.mvp.roray.utils.collections.OffHeapLongObjectMapImpl
 
clear(long) - Method in class express.mvp.roray.utils.memory.BitSetView
Clears the bit at the specified index (sets it to 0).
clearAll() - Method in class express.mvp.roray.utils.memory.BitSetView
Clears all bits in the bit array (sets all to 0).
close() - Method in interface express.mvp.roray.utils.collections.IntrusiveLinkedList
 
close() - Method in class express.mvp.roray.utils.collections.IntrusiveLinkedListImpl
 
close() - Method in interface express.mvp.roray.utils.collections.OffHeapLongIntMap
Releases the underlying off-heap memory.
close() - Method in class express.mvp.roray.utils.collections.OffHeapLongIntMapImpl
 
close() - Method in interface express.mvp.roray.utils.collections.OffHeapLongObjectMap
Releases the underlying off-heap memory.
close() - Method in class express.mvp.roray.utils.collections.OffHeapLongObjectMapImpl
 
close() - Method in interface express.mvp.roray.utils.collections.RingBuffer
Releases the underlying off-heap memory.
close() - Method in class express.mvp.roray.utils.collections.RingBufferImpl
 
close() - Method in class express.mvp.roray.utils.concurrent.MpscRingBuffer
 
close() - Method in class express.mvp.roray.utils.memory.PooledSegment
 
compareTo(Utf8View) - Method in class express.mvp.roray.utils.memory.Utf8View
Compares this view to another Utf8View lexicographically.
containsKey(long) - Method in interface express.mvp.roray.utils.collections.OffHeapLongIntMap
 
containsKey(long) - Method in class express.mvp.roray.utils.collections.OffHeapLongIntMapImpl
 
containsKey(long) - Method in interface express.mvp.roray.utils.collections.OffHeapLongObjectMap
 
containsKey(long) - Method in class express.mvp.roray.utils.collections.OffHeapLongObjectMapImpl
 
Core Utilities (Phase 1) - Section in package express.mvp.roray.utils.functions
 
create() - Static method in class express.mvp.roray.utils.functions.UpcallFactory
Create an UpcallFactory using the native linker.
CriticalSafe - Annotation Interface in express.mvp.roray.utils.functions
Marker annotation to document that a native function is safe to call with Linker.Option.critical(false).

D

dataOffset() - Method in class express.mvp.roray.utils.memory.VarFieldWriter
Returns the offset where variable field data begins.
Design Philosophy - Section in package express.mvp.roray.utils.functions
 
DOUBLE_BE - Static variable in class express.mvp.roray.utils.memory.Layouts
 
DOUBLE_LE - Static variable in class express.mvp.roray.utils.memory.Layouts
 
downcall(String, FunctionDescriptor) - Method in class express.mvp.roray.utils.functions.DowncallFactory
Creates a downcall handle.
downcall(String, FunctionDescriptor, Linker.Option...) - Method in class express.mvp.roray.utils.functions.DowncallFactory
Creates a downcall handle with linker options.
DowncallFactory - Class in express.mvp.roray.utils.functions
Factory for creating downcall handles with common patterns.
downcallVirtual(FunctionDescriptor) - Method in class express.mvp.roray.utils.functions.DowncallFactory
Creates a "virtual" downcall handle that takes a function pointer as its first argument.
downcallVirtual(FunctionDescriptor, Linker.Option...) - Method in class express.mvp.roray.utils.functions.DowncallFactory
Creates a virtual downcall handle with linker options.

E

EACCES - Static variable in class express.mvp.roray.utils.functions.ErrnoCapture
Permission denied.
EAGAIN - Static variable in class express.mvp.roray.utils.functions.ErrnoCapture
Resource temporarily unavailable (same as EWOULDBLOCK).
EALREADY - Static variable in class express.mvp.roray.utils.functions.ErrnoCapture
Operation already in progress.
EBADF - Static variable in class express.mvp.roray.utils.functions.ErrnoCapture
Bad file descriptor.
EBUSY - Static variable in class express.mvp.roray.utils.functions.ErrnoCapture
Device or resource busy.
ECONNREFUSED - Static variable in class express.mvp.roray.utils.functions.ErrnoCapture
Connection refused.
ECONNRESET - Static variable in class express.mvp.roray.utils.functions.ErrnoCapture
Connection reset by peer.
EDEADLK - Static variable in class express.mvp.roray.utils.functions.ErrnoCapture
Resource deadlock avoided.
EEXIST - Static variable in class express.mvp.roray.utils.functions.ErrnoCapture
File exists.
EFAULT - Static variable in class express.mvp.roray.utils.functions.ErrnoCapture
Bad address.
EINPROGRESS - Static variable in class express.mvp.roray.utils.functions.ErrnoCapture
Operation now in progress.
EINTR - Static variable in class express.mvp.roray.utils.functions.ErrnoCapture
Interrupted system call.
EINVAL - Static variable in class express.mvp.roray.utils.functions.ErrnoCapture
Invalid argument.
EIO - Static variable in class express.mvp.roray.utils.functions.ErrnoCapture
I/O error.
elementAt(MemorySegment, long) - Method in class express.mvp.roray.utils.functions.StructAccessor
Gets a slice representing the nth element in an array of structs.
EMFILE - Static variable in class express.mvp.roray.utils.functions.ErrnoCapture
Too many open files.
encodeUtf8(String, MemorySegment) - Static method in class express.mvp.roray.utils.memory.VarFieldWriter
Encodes a string as UTF-8 directly into a memory segment.
ENOENT - Static variable in class express.mvp.roray.utils.functions.ErrnoCapture
No such file or directory.
ENOMEM - Static variable in class express.mvp.roray.utils.functions.ErrnoCapture
Cannot allocate memory.
ENOSPC - Static variable in class express.mvp.roray.utils.functions.ErrnoCapture
No space left on device.
ENOSYS - Static variable in class express.mvp.roray.utils.functions.ErrnoCapture
Function not implemented.
EPERM - Static variable in class express.mvp.roray.utils.functions.ErrnoCapture
Operation not permitted.
EPIPE - Static variable in class express.mvp.roray.utils.functions.ErrnoCapture
Broken pipe.
EPOLL_CTL_ADD - Static variable in class express.mvp.roray.utils.functions.LinuxLayouts
EPOLL_CTL_ADD - Add entry to epoll.
EPOLL_CTL_DEL - Static variable in class express.mvp.roray.utils.functions.LinuxLayouts
EPOLL_CTL_DEL - Remove entry from epoll.
EPOLL_CTL_MOD - Static variable in class express.mvp.roray.utils.functions.LinuxLayouts
EPOLL_CTL_MOD - Modify entry in epoll.
EPOLL_EVENT - Static variable in class express.mvp.roray.utils.functions.LinuxLayouts
struct epoll_event - epoll event structure.
EPOLL_EVENT_SIZE - Static variable in class express.mvp.roray.utils.functions.LinuxLayouts
Size of LinuxLayouts.EPOLL_EVENT in bytes (16 with padding for alignment).
EPOLLERR - Static variable in class express.mvp.roray.utils.functions.LinuxLayouts
EPOLLERR - Error condition.
EPOLLET - Static variable in class express.mvp.roray.utils.functions.LinuxLayouts
EPOLLET - Edge-triggered.
EPOLLHUP - Static variable in class express.mvp.roray.utils.functions.LinuxLayouts
EPOLLHUP - Hang up.
EPOLLIN - Static variable in class express.mvp.roray.utils.functions.LinuxLayouts
EPOLLIN - Available for read.
EPOLLONESHOT - Static variable in class express.mvp.roray.utils.functions.LinuxLayouts
EPOLLONESHOT - One-shot behavior.
EPOLLOUT - Static variable in class express.mvp.roray.utils.functions.LinuxLayouts
EPOLLOUT - Available for write.
equals(Utf8View) - Method in class express.mvp.roray.utils.memory.Utf8View
A zero-allocation method to compare this view with another Utf8View.
equalsString(String) - Method in class express.mvp.roray.utils.memory.Utf8View
A zero-allocation method to compare the view's content with a Java String.
ErrnoCapture - Class in express.mvp.roray.utils.functions
Helper for capturing and interpreting errno from native calls.
error() - Method in class express.mvp.roray.utils.memory.Utf8View.ValidationResult
Returns the error type, or null if valid.
errorOffset() - Method in class express.mvp.roray.utils.memory.Utf8View.ValidationResult
Returns the byte offset of the error within the view, or -1 if valid.
ESRCH - Static variable in class express.mvp.roray.utils.functions.ErrnoCapture
No such process.
ETIMEDOUT - Static variable in class express.mvp.roray.utils.functions.ErrnoCapture
Connection timed out.
Example: writev with multiple buffers - Section in express.mvp.roray.utils.functions.LinuxLayouts.IOVEC
 
Example Usage - Section in package express.mvp.roray.utils.functions
 
express.mvp.roray.utils.collections - package express.mvp.roray.utils.collections
 
express.mvp.roray.utils.concurrent - package express.mvp.roray.utils.concurrent
 
express.mvp.roray.utils.functions - package express.mvp.roray.utils.functions
Utilities for the Foreign Function & Memory (FFM) API.
express.mvp.roray.utils.memory - package express.mvp.roray.utils.memory
 
Extended Utilities (Phase 2) - Section in package express.mvp.roray.utils.functions
 

F

FD - Static variable in class express.mvp.roray.utils.functions.LinuxLayouts
File descriptor type - 32-bit signed integer.
fieldOffset(String) - Method in class express.mvp.roray.utils.functions.StructAccessor
Gets the byte offset of a named field.
findSymbol(String) - Method in class express.mvp.roray.utils.functions.DowncallFactory
Look up a symbol address without creating a downcall handle.
finish() - Method in class express.mvp.roray.utils.memory.VarFieldWriter
Returns the final message segment with all data written.
finish(long) - Method in class express.mvp.roray.utils.memory.VarFieldWriter.NestedFieldHandle
Finalize the nested field by writing the length into the reserved header slot.
flip(long) - Method in class express.mvp.roray.utils.memory.BitSetView
Flips the bit at the specified index (0 becomes 1, 1 becomes 0).
FLOAT_BE - Static variable in class express.mvp.roray.utils.memory.Layouts
 
FLOAT_LE - Static variable in class express.mvp.roray.utils.memory.Layouts
 
FlyweightAccessor - Interface in express.mvp.roray.utils.memory
Defines the contract for a flyweight object.
forNativeLinker() - Static method in class express.mvp.roray.utils.functions.DowncallFactory
Create a factory using the native linker and its default lookup.
FunctionDescriptorBuilder - Class in express.mvp.roray.utils.functions
Fluent builder for FunctionDescriptor - all costs are paid at setup time.

G

get(long) - Method in interface express.mvp.roray.utils.collections.OffHeapLongIntMap
Gets the value for the given key.
get(long) - Method in class express.mvp.roray.utils.collections.OffHeapLongIntMapImpl
 
get(long) - Method in interface express.mvp.roray.utils.collections.OffHeapLongObjectMap
 
get(long) - Method in class express.mvp.roray.utils.collections.OffHeapLongObjectMapImpl
 
get(long) - Method in class express.mvp.roray.utils.memory.BitSetView
Returns the value of the bit at the specified index.
getAvailableCount() - Method in class express.mvp.roray.utils.memory.MemorySegmentPool
 
getByte(MemorySegment, String) - Method in class express.mvp.roray.utils.functions.StructAccessor
Reads a byte field by name.
getCurrentlyInUse() - Method in class express.mvp.roray.utils.memory.MemorySegmentPool
Returns the current number of segments in use (acquired but not released).
getDouble(MemorySegment, String) - Method in class express.mvp.roray.utils.functions.StructAccessor
Reads a double field by name.
getErrno(MemorySegment) - Static method in class express.mvp.roray.utils.functions.ErrnoCapture
Extracts the errno value from a captured call state.
getFloat(MemorySegment, String) - Method in class express.mvp.roray.utils.functions.StructAccessor
Reads a float field by name.
getInt(MemorySegment, String) - Method in class express.mvp.roray.utils.functions.StructAccessor
Reads an int field by name.
getIntAt(MemorySegment, long) - Method in class express.mvp.roray.utils.functions.StructAccessor
Reads an int at the given offset.
getLong(MemorySegment, String) - Method in class express.mvp.roray.utils.functions.StructAccessor
Reads a long field by name.
getLongAt(MemorySegment, long) - Method in class express.mvp.roray.utils.functions.StructAccessor
Reads a long at the given offset.
getPeakUsage() - Method in class express.mvp.roray.utils.memory.MemorySegmentPool
Returns the peak number of segments that were in use simultaneously.
getPointer(MemorySegment, String) - Method in class express.mvp.roray.utils.functions.StructAccessor
Reads a pointer (address) field by name.
getPointerAt(MemorySegment, long) - Method in class express.mvp.roray.utils.functions.StructAccessor
Reads a pointer at the given offset.
getSegmentSize() - Method in class express.mvp.roray.utils.memory.MemorySegmentPool
 
getShort(MemorySegment, String) - Method in class express.mvp.roray.utils.functions.StructAccessor
Reads a short field by name.
getTotalAllocations() - Method in class express.mvp.roray.utils.memory.MemorySegmentPool
Returns the total number of allocations made by this pool since creation.
getTotalCount() - Method in class express.mvp.roray.utils.memory.MemorySegmentPool
 
Good Candidates for Critical Mode - Section in annotation interface express.mvp.roray.utils.functions.CriticalSafe
 

H

hashCode() - Method in class express.mvp.roray.utils.memory.Utf8View
Computes a hash code for this view's content.

I

Important Notes - Section in class express.mvp.roray.utils.functions.ErrnoCapture
 
INCOMPLETE_SEQUENCE - Enum constant in enum class express.mvp.roray.utils.memory.Utf8View.ValidationError
Multi-byte sequence is incomplete (truncated at end of data).
INT_BE - Static variable in class express.mvp.roray.utils.memory.Layouts
 
INT_LE - Static variable in class express.mvp.roray.utils.memory.Layouts
 
IntrusiveLinkedList - Interface in express.mvp.roray.utils.collections
An intrusive linked list where the "next" pointer is stored within the element's memory.
IntrusiveLinkedListImpl - Class in express.mvp.roray.utils.collections
An intrusive linked list implementation using off-heap memory segments.
IntrusiveLinkedListImpl() - Constructor for class express.mvp.roray.utils.collections.IntrusiveLinkedListImpl
 
IntrusiveLinkedListImpl(long) - Constructor for class express.mvp.roray.utils.collections.IntrusiveLinkedListImpl
 
INVALID_CODE_POINT - Enum constant in enum class express.mvp.roray.utils.memory.Utf8View.ValidationError
Code point beyond U+10FFFF.
INVALID_CONTINUATION - Enum constant in enum class express.mvp.roray.utils.memory.Utf8View.ValidationError
Invalid continuation byte in a multi-byte sequence.
INVALID_LEADING_BYTE - Enum constant in enum class express.mvp.roray.utils.memory.Utf8View.ValidationError
Invalid leading byte (0xF8-0xFF).
IOVEC - Static variable in class express.mvp.roray.utils.functions.LinuxLayouts
struct iovec - scatter/gather I/O vector.
IOVEC_IOV_BASE - Static variable in class express.mvp.roray.utils.functions.LinuxLayouts
Offset of iov_base in LinuxLayouts.IOVEC.
IOVEC_IOV_LEN - Static variable in class express.mvp.roray.utils.functions.LinuxLayouts
Offset of iov_len in LinuxLayouts.IOVEC.
isEmpty() - Method in interface express.mvp.roray.utils.collections.IntrusiveLinkedList
 
isEmpty() - Method in class express.mvp.roray.utils.collections.IntrusiveLinkedListImpl
 
isEmpty() - Method in interface express.mvp.roray.utils.collections.OffHeapLongIntMap
 
isEmpty() - Method in class express.mvp.roray.utils.collections.OffHeapLongIntMapImpl
 
isEmpty() - Method in interface express.mvp.roray.utils.collections.OffHeapLongObjectMap
 
isEmpty() - Method in class express.mvp.roray.utils.collections.OffHeapLongObjectMapImpl
 
isEmpty() - Method in interface express.mvp.roray.utils.collections.RingBuffer
 
isEmpty() - Method in class express.mvp.roray.utils.collections.RingBufferImpl
 
isEmpty() - Method in class express.mvp.roray.utils.concurrent.MpscRingBuffer
Checks if the queue is empty.
isEmpty() - Method in class express.mvp.roray.utils.memory.BitSetView
Checks if this BitSetView is empty (no bits set to 1).
isFull() - Method in interface express.mvp.roray.utils.collections.RingBuffer
 
isFull() - Method in class express.mvp.roray.utils.collections.RingBufferImpl
 
isValid() - Method in class express.mvp.roray.utils.memory.BitSetView
Checks if this view has been wrapped around valid data.
isValid() - Method in class express.mvp.roray.utils.memory.Utf8View
Checks if this view has been wrapped around valid data.
isValid() - Method in class express.mvp.roray.utils.memory.Utf8View.ValidationResult
Returns true if the UTF-8 data is valid.
isValidUtf8() - Method in class express.mvp.roray.utils.memory.Utf8View
Returns true if this view contains well-formed UTF-8 data.
isWrapped() - Method in interface express.mvp.roray.utils.memory.FlyweightAccessor
Checks if this flyweight is currently wrapped around a valid segment.

L

layout() - Method in class express.mvp.roray.utils.functions.StructAccessor
Gets the underlying struct layout.
Layouts - Class in express.mvp.roray.utils.memory
A utility class containing pre-defined, unaligned ValueLayout constants for common data types.
linker() - Method in class express.mvp.roray.utils.functions.DowncallFactory
Get the underlying linker.
linker() - Method in class express.mvp.roray.utils.functions.UpcallFactory
Get the underlying linker.
LinuxLayouts - Class in express.mvp.roray.utils.functions
Pre-defined MemoryLayout constants for common Linux/C types and structures.
LONG_BE - Static variable in class express.mvp.roray.utils.memory.Layouts
 
LONG_LE - Static variable in class express.mvp.roray.utils.memory.Layouts
 
lookup() - Method in class express.mvp.roray.utils.functions.DowncallFactory
Get the underlying symbol lookup.

M

MemorySegmentPool - Class in express.mvp.roray.utils.memory
A flexible, GC-free, and thread-safe pool for off-heap MemorySegments, designed for use with Loom virtual threads.
MemorySegmentPool(long, int, int) - Constructor for class express.mvp.roray.utils.memory.MemorySegmentPool
Creates a pool with default zeroing behavior (enabled).
MemorySegmentPool(long, int, int, boolean) - Constructor for class express.mvp.roray.utils.memory.MemorySegmentPool
Creates a pool with configurable zeroing behavior.
MpscRingBuffer<E> - Class in express.mvp.roray.utils.concurrent
A high-performance, lock-free, off-heap friendly Multi-Producer Single-Consumer (MPSC) ring buffer.
MpscRingBuffer(int) - Constructor for class express.mvp.roray.utils.concurrent.MpscRingBuffer
Creates a new MpscRingBuffer.
MSGHDR - Static variable in class express.mvp.roray.utils.functions.LinuxLayouts
struct msghdr - message header for sendmsg/recvmsg.
MSGHDR_SIZE - Static variable in class express.mvp.roray.utils.functions.LinuxLayouts
Size of LinuxLayouts.MSGHDR in bytes (56).

N

NeverCritical - Annotation Interface in express.mvp.roray.utils.functions
Marker annotation to document that a native function should NOT be called with Linker.Option.critical(false).
nextClearBit(long) - Method in class express.mvp.roray.utils.memory.BitSetView
Returns the index of the next bit that is set to 0, starting from the specified index (inclusive).
nextSetBit(long) - Method in class express.mvp.roray.utils.memory.BitSetView
Returns the index of the next bit that is set to 1, starting from the specified index (inclusive).

O

of(StructLayout) - Static method in class express.mvp.roray.utils.functions.StructAccessor
Creates a struct accessor for the given layout.
offer(int) - Method in interface express.mvp.roray.utils.collections.RingBuffer
Offers an item to the ring.
offer(int) - Method in class express.mvp.roray.utils.collections.RingBufferImpl
 
offer(E) - Method in class express.mvp.roray.utils.concurrent.MpscRingBuffer
Offers an element to the queue.
OffHeapLongIntMap - Interface in express.mvp.roray.utils.collections
A primitive long-to-int map backed entirely by off-heap memory.
OffHeapLongIntMapImpl - Class in express.mvp.roray.utils.collections
A linear-probing, open-addressing hash map with off-heap keys and off-heap int values.
OffHeapLongIntMapImpl(int) - Constructor for class express.mvp.roray.utils.collections.OffHeapLongIntMapImpl
 
OffHeapLongIntMapImpl(int, int) - Constructor for class express.mvp.roray.utils.collections.OffHeapLongIntMapImpl
Creates a new off-heap long-to-int map with specified capacity and missing value.
OffHeapLongObjectMap<V> - Interface in express.mvp.roray.utils.collections
A primitive long-to-Object map backed by off-heap memory for the keys/structure.
OffHeapLongObjectMapImpl<V> - Class in express.mvp.roray.utils.collections
A linear-probing, open-addressing hash map with off-heap keys and on-heap values.
OffHeapLongObjectMapImpl(int) - Constructor for class express.mvp.roray.utils.collections.OffHeapLongObjectMapImpl
Creates a new off-heap long-to-object map with specified capacity.
offset() - Method in class express.mvp.roray.utils.memory.BitSetView
Returns the offset within the segment where the bit array starts.
offset() - Method in class express.mvp.roray.utils.memory.Utf8View
Returns the offset within the segment where the UTF-8 data starts.
OVERLONG_ENCODING - Enum constant in enum class express.mvp.roray.utils.memory.Utf8View.ValidationError
Overlong encoding (code point encoded with more bytes than necessary).

P

Pattern 1: Extracted VarHandles (Fastest - ~40 ns/op) - Section in class express.mvp.roray.utils.functions.StructAccessor
 
Pattern 2: String-based Methods (Convenient - ~60-180 ns/op) - Section in class express.mvp.roray.utils.functions.StructAccessor
 
Pattern 3: Offset-based Methods (Manual - ~40 ns/op) - Section in class express.mvp.roray.utils.functions.StructAccessor
 
Performance - Section in express.mvp.roray.utils.functions.StructAccessor.varHandle(String)
 
Performance Benchmark Results - Section in class express.mvp.roray.utils.functions.StructAccessor
 
Performance Patterns (Fastest to Slowest) - Section in class express.mvp.roray.utils.functions.StructAccessor
 
Platform Support - Section in package express.mvp.roray.utils.functions
 
poll() - Method in interface express.mvp.roray.utils.collections.IntrusiveLinkedList
Removes and returns the head of the list.
poll() - Method in class express.mvp.roray.utils.collections.IntrusiveLinkedListImpl
 
poll() - Method in interface express.mvp.roray.utils.collections.RingBuffer
Polls an item from the ring.
poll() - Method in class express.mvp.roray.utils.collections.RingBufferImpl
 
poll() - Method in class express.mvp.roray.utils.concurrent.MpscRingBuffer
Polls an element from the queue.
PooledSegment - Class in express.mvp.roray.utils.memory
AutoCloseable wrapper that returns a MemorySegment to its pool when closed.
PooledSegment(MemorySegment, MemorySegmentPool) - Constructor for class express.mvp.roray.utils.memory.PooledSegment
 
position() - Method in interface express.mvp.roray.utils.memory.BinaryReader
Gets the current read offset in bytes.
position() - Method in interface express.mvp.roray.utils.memory.BinaryWriter
Gets the current write offset in bytes.
position() - Method in class express.mvp.roray.utils.memory.SegmentBinaryReader
 
position() - Method in class express.mvp.roray.utils.memory.SegmentBinaryWriter
 
position(long) - Method in interface express.mvp.roray.utils.memory.BinaryReader
Sets the current read offset in bytes.
position(long) - Method in interface express.mvp.roray.utils.memory.BinaryWriter
Sets the current write offset in bytes.
position(long) - Method in class express.mvp.roray.utils.memory.SegmentBinaryReader
 
position(long) - Method in class express.mvp.roray.utils.memory.SegmentBinaryWriter
 
put(long, int) - Method in interface express.mvp.roray.utils.collections.OffHeapLongIntMap
 
put(long, int) - Method in class express.mvp.roray.utils.collections.OffHeapLongIntMapImpl
 
put(long, V) - Method in interface express.mvp.roray.utils.collections.OffHeapLongObjectMap
 
put(long, V) - Method in class express.mvp.roray.utils.collections.OffHeapLongObjectMapImpl
 

R

readBoolean() - Method in interface express.mvp.roray.utils.memory.BinaryReader
 
readBoolean() - Method in class express.mvp.roray.utils.memory.SegmentBinaryReader
 
readByte() - Method in interface express.mvp.roray.utils.memory.BinaryReader
 
readByte() - Method in class express.mvp.roray.utils.memory.SegmentBinaryReader
 
readBytes() - Method in interface express.mvp.roray.utils.memory.BinaryReader
 
readBytes() - Method in class express.mvp.roray.utils.memory.SegmentBinaryReader
 
readDoubleBE() - Method in interface express.mvp.roray.utils.memory.BinaryReader
 
readDoubleBE() - Method in class express.mvp.roray.utils.memory.SegmentBinaryReader
 
readDoubleLE() - Method in interface express.mvp.roray.utils.memory.BinaryReader
 
readDoubleLE() - Method in class express.mvp.roray.utils.memory.SegmentBinaryReader
 
readFloatBE() - Method in interface express.mvp.roray.utils.memory.BinaryReader
 
readFloatBE() - Method in class express.mvp.roray.utils.memory.SegmentBinaryReader
 
readFloatLE() - Method in interface express.mvp.roray.utils.memory.BinaryReader
 
readFloatLE() - Method in class express.mvp.roray.utils.memory.SegmentBinaryReader
 
readIntBE() - Method in interface express.mvp.roray.utils.memory.BinaryReader
 
readIntBE() - Method in class express.mvp.roray.utils.memory.SegmentBinaryReader
 
readIntLE() - Method in interface express.mvp.roray.utils.memory.BinaryReader
 
readIntLE() - Method in class express.mvp.roray.utils.memory.SegmentBinaryReader
 
readLongBE() - Method in interface express.mvp.roray.utils.memory.BinaryReader
 
readLongBE() - Method in class express.mvp.roray.utils.memory.SegmentBinaryReader
 
readLongLE() - Method in interface express.mvp.roray.utils.memory.BinaryReader
 
readLongLE() - Method in class express.mvp.roray.utils.memory.SegmentBinaryReader
 
readNullableByte() - Method in interface express.mvp.roray.utils.memory.BinaryReader
 
readNullableByte() - Method in class express.mvp.roray.utils.memory.SegmentBinaryReader
 
readNullableBytes() - Method in interface express.mvp.roray.utils.memory.BinaryReader
 
readNullableBytes() - Method in class express.mvp.roray.utils.memory.SegmentBinaryReader
 
readNullableDoubleLE() - Method in interface express.mvp.roray.utils.memory.BinaryReader
 
readNullableDoubleLE() - Method in class express.mvp.roray.utils.memory.SegmentBinaryReader
 
readNullableFloatLE() - Method in interface express.mvp.roray.utils.memory.BinaryReader
 
readNullableFloatLE() - Method in class express.mvp.roray.utils.memory.SegmentBinaryReader
 
readNullableIntBE() - Method in interface express.mvp.roray.utils.memory.BinaryReader
 
readNullableIntBE() - Method in class express.mvp.roray.utils.memory.SegmentBinaryReader
 
readNullableIntLE() - Method in interface express.mvp.roray.utils.memory.BinaryReader
 
readNullableIntLE() - Method in class express.mvp.roray.utils.memory.SegmentBinaryReader
 
readNullableLongBE() - Method in interface express.mvp.roray.utils.memory.BinaryReader
 
readNullableLongBE() - Method in class express.mvp.roray.utils.memory.SegmentBinaryReader
 
readNullableLongLE() - Method in interface express.mvp.roray.utils.memory.BinaryReader
 
readNullableLongLE() - Method in class express.mvp.roray.utils.memory.SegmentBinaryReader
 
readNullableShortBE() - Method in interface express.mvp.roray.utils.memory.BinaryReader
 
readNullableShortBE() - Method in class express.mvp.roray.utils.memory.SegmentBinaryReader
 
readNullableShortLE() - Method in interface express.mvp.roray.utils.memory.BinaryReader
 
readNullableShortLE() - Method in class express.mvp.roray.utils.memory.SegmentBinaryReader
 
readNullableString(Utf8View) - Method in interface express.mvp.roray.utils.memory.BinaryReader
 
readNullableString(Utf8View) - Method in class express.mvp.roray.utils.memory.SegmentBinaryReader
Reads a nullable, presence-bit prefixed UTF-8 string.
readNullableStringFixedLength(Utf8View) - Method in class express.mvp.roray.utils.memory.SegmentBinaryReader
Reads a nullable, presence-bit prefixed UTF-8 string with fixed-length encoding.
readSegment(long) - Method in interface express.mvp.roray.utils.memory.BinaryReader
Reads a slice of the underlying data without copying it to the heap.
readSegment(long) - Method in class express.mvp.roray.utils.memory.SegmentBinaryReader
 
readShortBE() - Method in interface express.mvp.roray.utils.memory.BinaryReader
 
readShortBE() - Method in class express.mvp.roray.utils.memory.SegmentBinaryReader
 
readShortLE() - Method in interface express.mvp.roray.utils.memory.BinaryReader
 
readShortLE() - Method in class express.mvp.roray.utils.memory.SegmentBinaryReader
 
readString(Utf8View) - Method in interface express.mvp.roray.utils.memory.BinaryReader
 
readString(Utf8View) - Method in class express.mvp.roray.utils.memory.SegmentBinaryReader
Reads a VarInt-prefixed UTF-8 string into the provided Utf8View without allocating any objects on the heap.
readStringFixedLength(Utf8View) - Method in class express.mvp.roray.utils.memory.SegmentBinaryReader
Reads a fixed-length prefixed UTF-8 string into the provided Utf8View without allocating any objects on the heap.
readVarInt() - Method in interface express.mvp.roray.utils.memory.BinaryReader
Reads a variable-length 32-bit integer (efficient for small numbers).
readVarInt() - Method in class express.mvp.roray.utils.memory.SegmentBinaryReader
 
readVarLong() - Method in interface express.mvp.roray.utils.memory.BinaryReader
Reads a variable-length 64-bit integer (efficient for small numbers).
readVarLong() - Method in class express.mvp.roray.utils.memory.SegmentBinaryReader
 
relativeOffset() - Method in class express.mvp.roray.utils.memory.VarFieldWriter.NestedFieldHandle
Returns the relative offset where this nested field starts.
release(MemorySegment) - Method in class express.mvp.roray.utils.memory.MemorySegmentPool
Releases a memory segment back to the pool.
remaining() - Method in interface express.mvp.roray.utils.memory.BinaryReader
Gets the number of remaining readable bytes.
remaining() - Method in interface express.mvp.roray.utils.memory.BinaryWriter
Gets the number of remaining writable bytes.
remaining() - Method in class express.mvp.roray.utils.memory.SegmentBinaryReader
 
remaining() - Method in class express.mvp.roray.utils.memory.SegmentBinaryWriter
 
remove(long) - Method in interface express.mvp.roray.utils.collections.OffHeapLongIntMap
Removes the key and returns its value.
remove(long) - Method in class express.mvp.roray.utils.collections.OffHeapLongIntMapImpl
 
remove(long) - Method in interface express.mvp.roray.utils.collections.OffHeapLongObjectMap
 
remove(long) - Method in class express.mvp.roray.utils.collections.OffHeapLongObjectMapImpl
 
reserveVarField() - Method in class express.mvp.roray.utils.memory.VarFieldWriter
Reserves a slot for a variable-length field.
reset() - Method in class express.mvp.roray.utils.memory.VarFieldWriter
Resets the writer to start building a new message.
returns(MemoryLayout) - Static method in class express.mvp.roray.utils.functions.FunctionDescriptorBuilder
Start building a descriptor with the specified return layout.
returnsInt() - Static method in class express.mvp.roray.utils.functions.FunctionDescriptorBuilder
Start building a descriptor that returns an int (C int, 32-bit).
returnsLong() - Static method in class express.mvp.roray.utils.functions.FunctionDescriptorBuilder
Start building a descriptor that returns a long (C long on Linux x86_64, 64-bit).
returnsPointer() - Static method in class express.mvp.roray.utils.functions.FunctionDescriptorBuilder
Start building a descriptor that returns a pointer.
returnsVoid() - Static method in class express.mvp.roray.utils.functions.FunctionDescriptorBuilder
Start building a descriptor that returns void.
RingBuffer - Interface in express.mvp.roray.utils.collections
A primitive int-based ring buffer (circular queue) backed by off-heap memory.
RingBufferImpl - Class in express.mvp.roray.utils.collections
An MPMC (Multi-Producer Multi-Consumer) lock-free ring buffer.
RingBufferImpl(int) - Constructor for class express.mvp.roray.utils.collections.RingBufferImpl
Creates a new ring buffer with the specified capacity.

S

Scatter/Gather I/O Example - Section in class express.mvp.roray.utils.functions.LinuxLayouts
 
segment() - Method in class express.mvp.roray.utils.memory.BitSetView
Returns the underlying MemorySegment this view is wrapping.
segment() - Method in interface express.mvp.roray.utils.memory.FlyweightAccessor
Returns the underlying MemorySegment this flyweight is currently pointing to.
segment() - Method in class express.mvp.roray.utils.memory.PooledSegment
Returns the underlying MemorySegment.
segment() - Method in class express.mvp.roray.utils.memory.Utf8View
Returns the underlying MemorySegment this view is wrapping.
SegmentBinaryReader - Class in express.mvp.roray.utils.memory
A high-performance, zero-copy BinaryReader implementation using MemorySegment.
SegmentBinaryReader() - Constructor for class express.mvp.roray.utils.memory.SegmentBinaryReader
Creates a reader that is not yet backed by a segment.
SegmentBinaryWriter - Class in express.mvp.roray.utils.memory
A high-performance, zero-copy BinaryWriter implementation using MemorySegment.
SegmentBinaryWriter() - Constructor for class express.mvp.roray.utils.memory.SegmentBinaryWriter
 
SegmentUtils - Class in express.mvp.roray.utils.memory
A collection of stateless, high-performance utility methods for operating on MemorySegments.
set(long) - Method in class express.mvp.roray.utils.memory.BitSetView
Sets the bit at the specified index to 1.
set(long, boolean) - Method in class express.mvp.roray.utils.memory.BitSetView
Sets the bit at the specified index to the specified value.
setAll() - Method in class express.mvp.roray.utils.memory.BitSetView
Sets all bits in the bit array (sets all to 1).
setByte(MemorySegment, String, byte) - Method in class express.mvp.roray.utils.functions.StructAccessor
Writes a byte field by name.
setDouble(MemorySegment, String, double) - Method in class express.mvp.roray.utils.functions.StructAccessor
Writes a double field by name.
setFloat(MemorySegment, String, float) - Method in class express.mvp.roray.utils.functions.StructAccessor
Writes a float field by name.
setInt(MemorySegment, String, int) - Method in class express.mvp.roray.utils.functions.StructAccessor
Writes an int field by name.
setIntAt(MemorySegment, long, int) - Method in class express.mvp.roray.utils.functions.StructAccessor
Writes an int at the given offset.
setLong(MemorySegment, String, long) - Method in class express.mvp.roray.utils.functions.StructAccessor
Writes a long field by name.
setLongAt(MemorySegment, long, long) - Method in class express.mvp.roray.utils.functions.StructAccessor
Writes a long at the given offset.
setPointer(MemorySegment, String, MemorySegment) - Method in class express.mvp.roray.utils.functions.StructAccessor
Writes a pointer (address) field by name.
setPointerAt(MemorySegment, long, MemorySegment) - Method in class express.mvp.roray.utils.functions.StructAccessor
Writes a pointer at the given offset.
setShort(MemorySegment, String, short) - Method in class express.mvp.roray.utils.functions.StructAccessor
Writes a short field by name.
SHORT_BE - Static variable in class express.mvp.roray.utils.memory.Layouts
 
SHORT_LE - Static variable in class express.mvp.roray.utils.memory.Layouts
 
size() - Method in interface express.mvp.roray.utils.collections.IntrusiveLinkedList
 
size() - Method in class express.mvp.roray.utils.collections.IntrusiveLinkedListImpl
 
size() - Method in interface express.mvp.roray.utils.collections.OffHeapLongIntMap
 
size() - Method in class express.mvp.roray.utils.collections.OffHeapLongIntMapImpl
 
size() - Method in interface express.mvp.roray.utils.collections.OffHeapLongObjectMap
 
size() - Method in class express.mvp.roray.utils.collections.OffHeapLongObjectMapImpl
 
size() - Method in interface express.mvp.roray.utils.collections.RingBuffer
The current number of items in the ring.
size() - Method in class express.mvp.roray.utils.collections.RingBufferImpl
 
size() - Method in class express.mvp.roray.utils.memory.BitSetView
Returns the number of bits that can be stored in this bit array.
skip(long) - Method in interface express.mvp.roray.utils.memory.BinaryReader
Skips a specified number of bytes.
skip(long) - Method in interface express.mvp.roray.utils.memory.BinaryWriter
Advances the writer's position by the given number of bytes.
skip(long) - Method in class express.mvp.roray.utils.memory.SegmentBinaryReader
 
skip(long) - Method in class express.mvp.roray.utils.memory.SegmentBinaryWriter
 
SOCK_CLOEXEC - Static variable in class express.mvp.roray.utils.functions.LinuxLayouts
SOCK_CLOEXEC - Set close-on-exec flag.
SOCK_DGRAM - Static variable in class express.mvp.roray.utils.functions.LinuxLayouts
SOCK_DGRAM - Connectionless, unreliable datagrams.
SOCK_NONBLOCK - Static variable in class express.mvp.roray.utils.functions.LinuxLayouts
SOCK_NONBLOCK - Set O_NONBLOCK on the new socket.
SOCK_STREAM - Static variable in class express.mvp.roray.utils.functions.LinuxLayouts
SOCK_STREAM - Sequenced, reliable, connection-based byte streams.
SOCKADDR_IN - Static variable in class express.mvp.roray.utils.functions.LinuxLayouts
struct sockaddr_in - IPv4 socket address.
SOCKADDR_IN_SIZE - Static variable in class express.mvp.roray.utils.functions.LinuxLayouts
Size of LinuxLayouts.SOCKADDR_IN in bytes (16).
SOCKADDR_IN6 - Static variable in class express.mvp.roray.utils.functions.LinuxLayouts
struct sockaddr_in6 - IPv6 socket address.
SOCKADDR_IN6_SIZE - Static variable in class express.mvp.roray.utils.functions.LinuxLayouts
Size of LinuxLayouts.SOCKADDR_IN6 in bytes (28).
Socket Connection Example - Section in class express.mvp.roray.utils.functions.ErrnoCapture
 
Socket Server Example - Section in class express.mvp.roray.utils.functions.LinuxLayouts
 
Static Analysis - Section in annotation interface express.mvp.roray.utils.functions.NeverCritical
 
strerror(int) - Static method in class express.mvp.roray.utils.functions.ErrnoCapture
Returns a human-readable description of an errno value.
StructAccessor - Class in express.mvp.roray.utils.functions
Provides convenient accessors for reading and writing struct fields in a MemorySegment.
SURROGATE_CODE_POINT - Enum constant in enum class express.mvp.roray.utils.memory.Utf8View.ValidationError
Surrogate code point (U+D800-U+DFFF) which is invalid in UTF-8.

T

TIMESPEC - Static variable in class express.mvp.roray.utils.functions.LinuxLayouts
struct timespec - time specification.
TIMESPEC_SIZE - Static variable in class express.mvp.roray.utils.functions.LinuxLayouts
Size of LinuxLayouts.TIMESPEC in bytes (16).
toString() - Method in class express.mvp.roray.utils.memory.Utf8View
The ONLY method that allocates a heap object.
toString() - Method in class express.mvp.roray.utils.memory.Utf8View.ValidationResult
 

U

UNEXPECTED_CONTINUATION - Enum constant in enum class express.mvp.roray.utils.memory.Utf8View.ValidationError
Continuation byte (0x80-0xBF) found where a leading byte was expected.
UpcallFactory - Class in express.mvp.roray.utils.functions
Factory for creating upcall stubs (Java callbacks callable from native code).
upcallStub(Arena, MethodHandle, FunctionDescriptor) - Method in class express.mvp.roray.utils.functions.UpcallFactory
Creates an upcall stub from a MethodHandle.
upcallStub(Arena, MethodHandles.Lookup, T, Class, FunctionDescriptor) - Method in class express.mvp.roray.utils.functions.UpcallFactory
Creates an upcall stub from a functional interface instance.
upcallStub(Arena, T, Class, FunctionDescriptor) - Method in class express.mvp.roray.utils.functions.UpcallFactory
Creates an upcall stub using the caller's lookup context.
Usage - Section in annotation interface express.mvp.roray.utils.functions.CriticalSafe
 
Usage - Section in annotation interface express.mvp.roray.utils.functions.NeverCritical
 
Usage Example - Section in class express.mvp.roray.utils.functions.ErrnoCapture
 
Usage Example - Section in class express.mvp.roray.utils.functions.UpcallFactory
 
Usage Pattern - Section in express.mvp.roray.utils.functions.StructAccessor.varHandle(String)
 
utf8Length(String) - Static method in class express.mvp.roray.utils.memory.VarFieldWriter
Calculates the UTF-8 encoded byte length of a string.
Utf8View - Class in express.mvp.roray.utils.memory
A reusable, zero-allocation flyweight for viewing a UTF-8 encoded slice of a MemorySegment as a String.
Utf8View() - Constructor for class express.mvp.roray.utils.memory.Utf8View
 
Utf8View.ValidationError - Enum Class in express.mvp.roray.utils.memory
Types of UTF-8 validation errors.
Utf8View.ValidationResult - Class in express.mvp.roray.utils.memory
Result of UTF-8 validation, containing error type and position if invalid.

V

VALID - Static variable in class express.mvp.roray.utils.memory.Utf8View.ValidationResult
Singleton for valid UTF-8 data (zero allocation for the common case).
validate() - Method in interface express.mvp.roray.utils.memory.FlyweightAccessor
Validates that this flyweight is in a valid state (has a non-null segment).
validateUtf8() - Method in class express.mvp.roray.utils.memory.Utf8View
Validates that this view contains well-formed UTF-8 data.
value() - Element in annotation interface express.mvp.roray.utils.functions.CriticalSafe
Explanation of why this function is safe for critical mode.
value() - Element in annotation interface express.mvp.roray.utils.functions.NeverCritical
Explanation of why this function should not use critical mode.
valueOf(String) - Static method in enum class express.mvp.roray.utils.memory.Utf8View.ValidationError
Returns the enum constant of this class with the specified name.
values() - Static method in enum class express.mvp.roray.utils.memory.Utf8View.ValidationError
Returns an array containing the constants of this enum class, in the order they are declared.
varFieldCount() - Method in class express.mvp.roray.utils.memory.VarFieldWriter
Returns the number of variable fields written.
VarFieldWriter - Class in express.mvp.roray.utils.memory
A specialized writer for building messages with variable-length fields in a flyweight-compatible format.
VarFieldWriter(MemorySegment, long, int) - Constructor for class express.mvp.roray.utils.memory.VarFieldWriter
Creates a VarFieldWriter for building structured messages.
VarFieldWriter.NestedFieldHandle - Class in express.mvp.roray.utils.memory
A handle for writing nested or composite fields directly into the backing segment.
varHandle(String) - Method in class express.mvp.roray.utils.functions.StructAccessor
Gets the cached VarHandle for a field.

W

Why No Compile-Time Enforcement? - Section in annotation interface express.mvp.roray.utils.functions.NeverCritical
 
withLibrary(Arena, String) - Static method in class express.mvp.roray.utils.functions.DowncallFactory
Create a factory for a library loaded from the specified path.
withLookup(SymbolLookup) - Static method in class express.mvp.roray.utils.functions.DowncallFactory
Create a factory with a custom symbol lookup (e.g., for a loaded library).
wrap(MemorySegment) - Method in class express.mvp.roray.utils.memory.SegmentBinaryReader
Wraps a MemorySegment, preparing the reader for use and resetting its position.
wrap(MemorySegment) - Method in class express.mvp.roray.utils.memory.SegmentBinaryWriter
Wraps a MemorySegment, preparing the writer for use and resetting its position.
wrap(MemorySegment, long) - Method in interface express.mvp.roray.utils.memory.FlyweightAccessor
Wraps a memory segment at a specific offset to make this flyweight point to the underlying data.
wrap(MemorySegment, long, int) - Method in class express.mvp.roray.utils.memory.Utf8View
Wraps a segment slice.
wrap(MemorySegment, long, long) - Method in class express.mvp.roray.utils.memory.BitSetView
Wraps a segment slice for bit operations.
writeBoolean(boolean) - Method in interface express.mvp.roray.utils.memory.BinaryWriter
 
writeBoolean(boolean) - Method in class express.mvp.roray.utils.memory.SegmentBinaryWriter
 
writeBoolean(long, boolean) - Method in class express.mvp.roray.utils.memory.VarFieldWriter
Writes a boolean to the fixed header as a single byte (0 or 1).
writeByte(byte) - Method in interface express.mvp.roray.utils.memory.BinaryWriter
 
writeByte(byte) - Method in class express.mvp.roray.utils.memory.SegmentBinaryWriter
 
writeByte(long, byte) - Method in class express.mvp.roray.utils.memory.VarFieldWriter
Writes a byte to the fixed header at the specified offset.
writeBytes(byte[]) - Method in interface express.mvp.roray.utils.memory.BinaryWriter
 
writeBytes(byte[]) - Method in class express.mvp.roray.utils.memory.SegmentBinaryWriter
 
writeDoubleBE(double) - Method in interface express.mvp.roray.utils.memory.BinaryWriter
 
writeDoubleBE(double) - Method in class express.mvp.roray.utils.memory.SegmentBinaryWriter
 
writeDoubleLE(double) - Method in interface express.mvp.roray.utils.memory.BinaryWriter
 
writeDoubleLE(double) - Method in class express.mvp.roray.utils.memory.SegmentBinaryWriter
 
writeDoubleLE(long, double) - Method in class express.mvp.roray.utils.memory.VarFieldWriter
Writes a double to the fixed header in little-endian format.
writeFloatBE(float) - Method in interface express.mvp.roray.utils.memory.BinaryWriter
 
writeFloatBE(float) - Method in class express.mvp.roray.utils.memory.SegmentBinaryWriter
 
writeFloatLE(float) - Method in interface express.mvp.roray.utils.memory.BinaryWriter
 
writeFloatLE(float) - Method in class express.mvp.roray.utils.memory.SegmentBinaryWriter
 
writeFloatLE(long, float) - Method in class express.mvp.roray.utils.memory.VarFieldWriter
Writes a float to the fixed header in little-endian format.
writeIntBE(int) - Method in interface express.mvp.roray.utils.memory.BinaryWriter
 
writeIntBE(int) - Method in class express.mvp.roray.utils.memory.SegmentBinaryWriter
 
writeIntLE(int) - Method in interface express.mvp.roray.utils.memory.BinaryWriter
 
writeIntLE(int) - Method in class express.mvp.roray.utils.memory.SegmentBinaryWriter
 
writeIntLE(long, int) - Method in class express.mvp.roray.utils.memory.VarFieldWriter
Writes an int (32-bit) to the fixed header in little-endian format.
writeLongBE(long) - Method in interface express.mvp.roray.utils.memory.BinaryWriter
 
writeLongBE(long) - Method in class express.mvp.roray.utils.memory.SegmentBinaryWriter
 
writeLongLE(long) - Method in interface express.mvp.roray.utils.memory.BinaryWriter
 
writeLongLE(long) - Method in class express.mvp.roray.utils.memory.SegmentBinaryWriter
 
writeLongLE(long, long) - Method in class express.mvp.roray.utils.memory.VarFieldWriter
Writes a long (64-bit) to the fixed header in little-endian format.
writeNullableBoolean(Boolean) - Method in interface express.mvp.roray.utils.memory.BinaryWriter
 
writeNullableBoolean(Boolean) - Method in class express.mvp.roray.utils.memory.SegmentBinaryWriter
 
writeNullableByte(Byte) - Method in interface express.mvp.roray.utils.memory.BinaryWriter
 
writeNullableByte(Byte) - Method in class express.mvp.roray.utils.memory.SegmentBinaryWriter
 
writeNullableBytes(byte[]) - Method in interface express.mvp.roray.utils.memory.BinaryWriter
 
writeNullableBytes(byte[]) - Method in class express.mvp.roray.utils.memory.SegmentBinaryWriter
 
writeNullableDoubleBE(Double) - Method in interface express.mvp.roray.utils.memory.BinaryWriter
 
writeNullableDoubleBE(Double) - Method in class express.mvp.roray.utils.memory.SegmentBinaryWriter
 
writeNullableDoubleLE(Double) - Method in interface express.mvp.roray.utils.memory.BinaryWriter
 
writeNullableDoubleLE(Double) - Method in class express.mvp.roray.utils.memory.SegmentBinaryWriter
 
writeNullableFloatBE(Float) - Method in interface express.mvp.roray.utils.memory.BinaryWriter
 
writeNullableFloatBE(Float) - Method in class express.mvp.roray.utils.memory.SegmentBinaryWriter
 
writeNullableFloatLE(Float) - Method in interface express.mvp.roray.utils.memory.BinaryWriter
 
writeNullableFloatLE(Float) - Method in class express.mvp.roray.utils.memory.SegmentBinaryWriter
 
writeNullableIntBE(Integer) - Method in interface express.mvp.roray.utils.memory.BinaryWriter
 
writeNullableIntBE(Integer) - Method in class express.mvp.roray.utils.memory.SegmentBinaryWriter
 
writeNullableIntLE(Integer) - Method in interface express.mvp.roray.utils.memory.BinaryWriter
 
writeNullableIntLE(Integer) - Method in class express.mvp.roray.utils.memory.SegmentBinaryWriter
 
writeNullableLongBE(Long) - Method in interface express.mvp.roray.utils.memory.BinaryWriter
 
writeNullableLongBE(Long) - Method in class express.mvp.roray.utils.memory.SegmentBinaryWriter
 
writeNullableLongLE(Long) - Method in interface express.mvp.roray.utils.memory.BinaryWriter
 
writeNullableLongLE(Long) - Method in class express.mvp.roray.utils.memory.SegmentBinaryWriter
 
writeNullableShortBE(Short) - Method in interface express.mvp.roray.utils.memory.BinaryWriter
 
writeNullableShortBE(Short) - Method in class express.mvp.roray.utils.memory.SegmentBinaryWriter
 
writeNullableString(String, MemorySegment) - Method in interface express.mvp.roray.utils.memory.BinaryWriter
 
writeNullableString(String, MemorySegment) - Method in class express.mvp.roray.utils.memory.SegmentBinaryWriter
 
writeNullableStringFixedLength(String) - Method in class express.mvp.roray.utils.memory.SegmentBinaryWriter
Writes a nullable String using fixed-length encoding.
writeSegment(MemorySegment) - Method in interface express.mvp.roray.utils.memory.BinaryWriter
Writes all bytes from the source MemorySegment to this writer's underlying sink.
writeSegment(MemorySegment) - Method in class express.mvp.roray.utils.memory.SegmentBinaryWriter
 
writeSegmentRaw(MemorySegment, long, long) - Method in interface express.mvp.roray.utils.memory.BinaryWriter
Writes raw bytes from the source MemorySegment without a length prefix.
writeSegmentRaw(MemorySegment, long, long) - Method in class express.mvp.roray.utils.memory.SegmentBinaryWriter
 
writeShortBE(short) - Method in interface express.mvp.roray.utils.memory.BinaryWriter
 
writeShortBE(short) - Method in class express.mvp.roray.utils.memory.SegmentBinaryWriter
 
writeShortLE(long, short) - Method in class express.mvp.roray.utils.memory.VarFieldWriter
Writes a short (16-bit) to the fixed header in little-endian format.
writeShortLE(short) - Method in interface express.mvp.roray.utils.memory.BinaryWriter
 
writeShortLE(short) - Method in class express.mvp.roray.utils.memory.SegmentBinaryWriter
 
writeString(String, MemorySegment) - Method in interface express.mvp.roray.utils.memory.BinaryWriter
 
writeString(String, MemorySegment) - Method in class express.mvp.roray.utils.memory.SegmentBinaryWriter
Encodes and writes a String with zero heap allocations by using a provided off-heap scratch buffer for the UTF-8 encoding process.
writeStringFixedLength(String) - Method in class express.mvp.roray.utils.memory.SegmentBinaryWriter
Writes a String using single-pass UTF-8 encoding directly to the target buffer with a fixed 4-byte big-endian length prefix.
writeTo(BinaryWriter) - Method in interface express.mvp.roray.utils.memory.FlyweightAccessor
Writes the data represented by this flyweight to the given writer.
writeVarField(int, byte[]) - Method in class express.mvp.roray.utils.memory.VarFieldWriter
Writes data to a reserved variable field slot.
writeVarField(int, byte[], int, int) - Method in class express.mvp.roray.utils.memory.VarFieldWriter
Writes a portion of a byte array to a reserved variable field slot.
writeVarField(int, MemorySegment) - Method in class express.mvp.roray.utils.memory.VarFieldWriter
Writes a MemorySegment to a reserved variable field slot.
writeVarField(int, MemorySegment, long, long) - Method in class express.mvp.roray.utils.memory.VarFieldWriter
Writes a portion of a MemorySegment to a reserved variable field slot.
writeVarField(int, String, MemorySegment) - Method in class express.mvp.roray.utils.memory.VarFieldWriter
Writes a UTF-8 string to a reserved variable field slot using the provided scratch buffer for encoding.
writeVarInt(int) - Method in interface express.mvp.roray.utils.memory.BinaryWriter
Writes a 32-bit integer in a variable-length format.
writeVarInt(int) - Method in class express.mvp.roray.utils.memory.SegmentBinaryWriter
 
writeVarIntFast(int) - Method in class express.mvp.roray.utils.memory.SegmentBinaryWriter
Writes a variable-length integer using an optimized batch-write strategy.
writeVarLong(long) - Method in interface express.mvp.roray.utils.memory.BinaryWriter
Writes a 64-bit integer in a variable-length format.
writeVarLong(long) - Method in class express.mvp.roray.utils.memory.SegmentBinaryWriter
 
writeVarLongFast(long) - Method in class express.mvp.roray.utils.memory.SegmentBinaryWriter
Writes a variable-length long using an optimized batch-write strategy.
A B C D E F G H I L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values