Index

A B C D E F G H I J L M N O P R S T U V W Z 
All Classes and Interfaces|All Packages|External Specifications

A

Accessing memory segments - Search tag in interface java.lang.foreign.MemorySegment
Section
Access mode restrictions - Search tag in interface java.lang.foreign.MemoryLayout
Section
address() - Method in interface java.lang.foreign.MemorySegment
Returns the address of this memory segment.
ADDRESS - Static variable in interface java.lang.foreign.ValueLayout
An address layout constant whose size is the same as that of a machine address (size_t), byte alignment set to sizeof(size_t), byte order set to ByteOrder.nativeOrder().
ADDRESS_UNALIGNED - Static variable in interface java.lang.foreign.ValueLayout
An unaligned address layout constant whose size is the same as that of a machine address (size_t), and byte order set to ByteOrder.nativeOrder().
AddressLayout - Interface in java.lang.foreign
A value layout used to model the address of some region of memory.
Alignment - Search tag in interface java.lang.foreign.MemorySegment
Section
allocate(long) - Method in interface java.lang.foreign.SegmentAllocator
Returns a new memory segment with the given byteSize.
allocate(long, long) - Method in interface java.lang.foreign.Arena
Returns a native memory segment with the given size (in bytes) and alignment constraint (in bytes).
allocate(long, long) - Method in interface java.lang.foreign.SegmentAllocator
Returns a new memory segment with the given byteSize and byteAlignment.
allocate(MemoryLayout) - Method in interface java.lang.foreign.SegmentAllocator
Returns a new memory segment with the given layout.
allocate(MemoryLayout, long) - Method in interface java.lang.foreign.SegmentAllocator
Returns a new memory segment with the given elementLayout and count.
allocateFrom(AddressLayout, MemorySegment) - Method in interface java.lang.foreign.SegmentAllocator
Returns a new memory segment initialized with the address of the provided value as specified by the provided layout (i.e. byte ordering, alignment and size).
allocateFrom(ValueLayout.OfByte, byte) - Method in interface java.lang.foreign.SegmentAllocator
Returns a new memory segment initialized with the provided byte value as specified by the provided layout (i.e. byte ordering, alignment and size).
allocateFrom(ValueLayout.OfByte, byte...) - Method in interface java.lang.foreign.SegmentAllocator
Returns a new memory segment with a byteSize() of E*layout.byteSize() initialized with the provided E byte elements as specified by the provided layout (i.e. byte ordering, alignment and size).
allocateFrom(ValueLayout.OfChar, char) - Method in interface java.lang.foreign.SegmentAllocator
Returns a new memory segment initialized with the provided char value as specified by the provided layout (i.e. byte ordering, alignment and size).
allocateFrom(ValueLayout.OfChar, char...) - Method in interface java.lang.foreign.SegmentAllocator
Returns a new memory segment with a byteSize() of E*layout.byteSize() initialized with the provided E char elements as specified by the provided layout (i.e. byte ordering, alignment and size).
allocateFrom(ValueLayout.OfDouble, double) - Method in interface java.lang.foreign.SegmentAllocator
Returns a new memory segment initialized with the provided double value as specified by the provided layout (i.e. byte ordering, alignment and size).
allocateFrom(ValueLayout.OfDouble, double...) - Method in interface java.lang.foreign.SegmentAllocator
Returns a new memory segment with a byteSize() of E*layout.byteSize() initialized with the provided E double elements as specified by the provided layout (i.e. byte ordering, alignment and size).
allocateFrom(ValueLayout.OfFloat, float) - Method in interface java.lang.foreign.SegmentAllocator
Returns a new memory segment initialized with the provided float value as specified by the provided layout (i.e. byte ordering, alignment and size).
allocateFrom(ValueLayout.OfFloat, float...) - Method in interface java.lang.foreign.SegmentAllocator
Returns a new memory segment with a byteSize() of E*layout.byteSize() initialized with the provided E float elements as specified by the provided layout (i.e. byte ordering, alignment and size).
allocateFrom(ValueLayout.OfInt, int) - Method in interface java.lang.foreign.SegmentAllocator
Returns a new memory segment initialized with the provided int value as specified by the provided layout (i.e. byte ordering, alignment and size).
allocateFrom(ValueLayout.OfInt, int...) - Method in interface java.lang.foreign.SegmentAllocator
Returns a new memory segment with a byteSize() of E*layout.byteSize() initialized with the provided E int elements as specified by the provided layout (i.e. byte ordering, alignment and size).
allocateFrom(ValueLayout.OfLong, long) - Method in interface java.lang.foreign.SegmentAllocator
Returns a new memory segment initialized with the provided long value as specified by the provided layout (i.e. byte ordering, alignment and size).
allocateFrom(ValueLayout.OfLong, long...) - Method in interface java.lang.foreign.SegmentAllocator
Returns a new memory segment with a byteSize() of E*layout.byteSize() initialized with the provided E long elements as specified by the provided layout (i.e. byte ordering, alignment and size).
allocateFrom(ValueLayout.OfShort, short) - Method in interface java.lang.foreign.SegmentAllocator
Returns a new memory segment initialized with the provided short value as specified by the provided layout (i.e. byte ordering, alignment and size).
allocateFrom(ValueLayout.OfShort, short...) - Method in interface java.lang.foreign.SegmentAllocator
Returns a new memory segment with a byteSize() of E*layout.byteSize() initialized with the provided E short elements as specified by the provided layout (i.e. byte ordering, alignment and size).
allocateFrom(String) - Method in interface java.lang.foreign.SegmentAllocator
Converts a Java string into a null-terminated C string using the UTF-8 charset, storing the result into a memory segment.
allocateFrom(String, Charset) - Method in interface java.lang.foreign.SegmentAllocator
Converts a Java string into a null-terminated C string using the provided charset, and storing the result into a memory segment.
appendArgumentLayouts(MemoryLayout...) - Method in interface java.lang.foreign.FunctionDescriptor
Returns a function descriptor with the given argument layouts appended to the argument layouts of this function descriptor.
Arena - Interface in java.lang.foreign
An arena controls the lifecycle of native memory segments, providing both flexible allocation and timely deallocation.
argumentLayouts() - Method in interface java.lang.foreign.FunctionDescriptor
Returns the argument layouts of this function descriptor (as an unmodifiable list).
asByteBuffer() - Method in interface java.lang.foreign.MemorySegment
Wraps this segment in a ByteBuffer.
asOverlappingSlice(MemorySegment) - Method in interface java.lang.foreign.MemorySegment
Returns a slice of this segment that is the overlap between this and the provided segment.
asReadOnly() - Method in interface java.lang.foreign.MemorySegment
Returns a read-only view of this segment.
asSlice(long) - Method in interface java.lang.foreign.MemorySegment
Returns a slice of this memory segment, at the given offset.
asSlice(long, long) - Method in interface java.lang.foreign.MemorySegment
Returns a slice of this memory segment, at the given offset.
asSlice(long, long, long) - Method in interface java.lang.foreign.MemorySegment
Returns a slice of this memory segment, at the given offset, with the provided alignment constraint.
asSlice(long, MemoryLayout) - Method in interface java.lang.foreign.MemorySegment
Returns a slice of this memory segment with the given layout, at the given offset.
A B C D E F G H I J L M N O P R S T U V W Z 
All Classes and Interfaces|All Packages|External Specifications