Package org.freedesktop.wayland.raw
Class siginfo_t._sifields._timer
java.lang.Object
org.freedesktop.wayland.raw.siginfo_t._sifields._timer
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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 structstatic 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 int
si_overrun
(MemorySegment struct) Getter for field:int si_overrun
static void
si_overrun
(MemorySegment struct, int fieldValue) Setter for field:int si_overrun
static final ValueLayout.OfInt
Layout for field:int si_overrun
static final long
Offset for field:int si_overrun
static MemorySegment
si_sigval
(MemorySegment struct) Getter for field:__sigval_t si_sigval
static void
si_sigval
(MemorySegment struct, MemorySegment fieldValue) Setter for field:__sigval_t si_sigval
static final GroupLayout
Layout for field:__sigval_t si_sigval
static final long
Offset for field:__sigval_t si_sigval
static int
si_tid
(MemorySegment struct) Getter for field:int si_tid
static void
si_tid
(MemorySegment struct, int fieldValue) Setter for field:int si_tid
static final ValueLayout.OfInt
Layout for field:int si_tid
static final long
Offset for field:int si_tid
static long
sizeof()
The size (in bytes) of this struct
-
Method Details
-
layout
The layout of this struct -
si_tid$layout
Layout for field:int si_tid
-
si_tid$offset
public static final long si_tid$offset()Offset for field:int si_tid
-
si_tid
Getter for field:int si_tid
-
si_tid
Setter for field:int si_tid
-
si_overrun$layout
Layout for field:int si_overrun
-
si_overrun$offset
public static final long si_overrun$offset()Offset for field:int si_overrun
-
si_overrun
Getter for field:int si_overrun
-
si_overrun
Setter for field:int si_overrun
-
si_sigval$layout
Layout for field:__sigval_t si_sigval
-
si_sigval$offset
public static final long si_sigval$offset()Offset for field:__sigval_t si_sigval
-
si_sigval
Getter for field:__sigval_t si_sigval
-
si_sigval
Setter for field:__sigval_t si_sigval
-
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 struct -
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()
-