Package org.freedesktop.wayland.raw
Class siginfo_t._sifields._sigfault._bounds
java.lang.Object
org.freedesktop.wayland.raw.siginfo_t._sifields._sigfault._bounds
- Enclosing class:
siginfo_t._sifields._sigfault
union {
struct {
void *_lower;
void *_upper;
} _addr_bnd;
__uint32_t _pkey;
}
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
struct { void *_lower; void *_upper; }
-
Method Summary
Modifier and TypeMethodDescriptionstatic MemorySegment
_addr_bnd
(MemorySegment union) Getter for field:struct { void *_lower; void *_upper; } _addr_bnd
static void
_addr_bnd
(MemorySegment union, MemorySegment fieldValue) Setter for field:struct { void *_lower; void *_upper; } _addr_bnd
static final GroupLayout
Layout for field:struct { void *_lower; void *_upper; } _addr_bnd
static final long
Offset for field:struct { void *_lower; void *_upper; } _addr_bnd
static int
_pkey
(MemorySegment union) Getter for field:__uint32_t _pkey
static void
_pkey
(MemorySegment union, int fieldValue) Setter for field:__uint32_t _pkey
static final ValueLayout.OfInt
Layout for field:__uint32_t _pkey
static final long
Offset for field:__uint32_t _pkey
static MemorySegment
allocate
(SegmentAllocator allocator) Allocate a segment of sizelayout().byteSize()
usingallocator
static MemorySegment
allocateArray
(long elementCount, SegmentAllocator allocator) Allocate an array of sizeelementCount
usingallocator
.static MemorySegment
asSlice
(MemorySegment array, long index) Obtains a slice ofarrayParam
which selects the array element atindex
.static final GroupLayout
layout()
The layout of this unionstatic MemorySegment
reinterpret
(MemorySegment addr, long elementCount, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddr
using targetarena
andcleanupAction
(if any).static MemorySegment
reinterpret
(MemorySegment addr, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddr
using targetarena
andcleanupAction
(if any).static long
sizeof()
The size (in bytes) of this union
-
Method Details
-
layout
The layout of this union -
_addr_bnd$layout
Layout for field:struct { void *_lower; void *_upper; } _addr_bnd
-
_addr_bnd$offset
public static final long _addr_bnd$offset()Offset for field:struct { void *_lower; void *_upper; } _addr_bnd
-
_addr_bnd
Getter for field:struct { void *_lower; void *_upper; } _addr_bnd
-
_addr_bnd
Setter for field:struct { void *_lower; void *_upper; } _addr_bnd
-
_pkey$layout
Layout for field:__uint32_t _pkey
-
_pkey$offset
public static final long _pkey$offset()Offset for field:__uint32_t _pkey
-
_pkey
Getter for field:__uint32_t _pkey
-
_pkey
Setter for field:__uint32_t _pkey
-
asSlice
Obtains a slice ofarrayParam
which selects the array element atindex
. The returned segment has addressarrayParam.address() + index * layout().byteSize()
-
sizeof
public static long sizeof()The size (in bytes) of this union -
allocate
Allocate a segment of sizelayout().byteSize()
usingallocator
-
allocateArray
Allocate an array of sizeelementCount
usingallocator
. The returned segment has sizeelementCount * layout().byteSize()
. -
reinterpret
public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddr
using targetarena
andcleanupAction
(if any). The returned segment has sizelayout().byteSize()
-
reinterpret
public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddr
using targetarena
andcleanupAction
(if any). The returned segment has sizeelementCount * layout().byteSize()
-