Class __locale_struct
java.lang.Object
com.github.elebras1.flecs.__locale_struct
struct __locale_struct {
struct __locale_data *__locales[13];
const unsigned short *__ctype_b;
const int *__ctype_tolower;
const int *__ctype_toupper;
const char *__names[13];
}
-
Method Summary
Modifier and TypeMethodDescriptionstatic MemorySegment__ctype_b(MemorySegment struct) Getter for field:const unsigned short *__ctype_bstatic void__ctype_b(MemorySegment struct, MemorySegment fieldValue) Setter for field:const unsigned short *__ctype_bstatic final AddressLayoutLayout for field:const unsigned short *__ctype_bstatic final longOffset for field:const unsigned short *__ctype_bstatic MemorySegment__ctype_tolower(MemorySegment struct) Getter for field:const int *__ctype_tolowerstatic void__ctype_tolower(MemorySegment struct, MemorySegment fieldValue) Setter for field:const int *__ctype_tolowerstatic final AddressLayoutLayout for field:const int *__ctype_tolowerstatic final longOffset for field:const int *__ctype_tolowerstatic MemorySegment__ctype_toupper(MemorySegment struct) Getter for field:const int *__ctype_toupperstatic void__ctype_toupper(MemorySegment struct, MemorySegment fieldValue) Setter for field:const int *__ctype_toupperstatic final AddressLayoutLayout for field:const int *__ctype_toupperstatic final longOffset for field:const int *__ctype_toupperstatic MemorySegment__locales(MemorySegment struct) Getter for field:struct __locale_data *__locales[13]static MemorySegment__locales(MemorySegment struct, long index0) Indexed getter for field:struct __locale_data *__locales[13]static void__locales(MemorySegment struct, long index0, MemorySegment fieldValue) Indexed setter for field:struct __locale_data *__locales[13]static void__locales(MemorySegment struct, MemorySegment fieldValue) Setter for field:struct __locale_data *__locales[13]static long[]Dimensions for array field:struct __locale_data *__locales[13]static final SequenceLayoutLayout for field:struct __locale_data *__locales[13]static final longOffset for field:struct __locale_data *__locales[13]static MemorySegment__names(MemorySegment struct) Getter for field:const char *__names[13]static MemorySegment__names(MemorySegment struct, long index0) Indexed getter for field:const char *__names[13]static void__names(MemorySegment struct, long index0, MemorySegment fieldValue) Indexed setter for field:const char *__names[13]static void__names(MemorySegment struct, MemorySegment fieldValue) Setter for field:const char *__names[13]static long[]Dimensions for array field:const char *__names[13]static final SequenceLayoutLayout for field:const char *__names[13]static final longOffset for field:const char *__names[13]static MemorySegmentallocate(SegmentAllocator allocator) Allocate a segment of sizelayout().byteSize()usingallocatorstatic MemorySegmentallocateArray(long elementCount, SegmentAllocator allocator) Allocate an array of sizeelementCountusingallocator.static MemorySegmentasSlice(MemorySegment array, long index) Obtains a slice ofarrayParamwhich selects the array element atindex.static final GroupLayoutlayout()The layout of this structstatic MemorySegmentreinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddrusing targetarenaandcleanupAction(if any).static MemorySegmentreinterpret(MemorySegment addr, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddrusing targetarenaandcleanupAction(if any).static longsizeof()The size (in bytes) of this struct
-
Method Details
-
layout
The layout of this struct -
__locales$layout
Layout for field:struct __locale_data *__locales[13] -
__locales$offset
public static final long __locales$offset()Offset for field:struct __locale_data *__locales[13] -
__locales
Getter for field:struct __locale_data *__locales[13] -
__locales
Setter for field:struct __locale_data *__locales[13] -
__locales$dimensions
public static long[] __locales$dimensions()Dimensions for array field:struct __locale_data *__locales[13] -
__locales
Indexed getter for field:struct __locale_data *__locales[13] -
__locales
Indexed setter for field:struct __locale_data *__locales[13] -
__ctype_b$layout
Layout for field:const unsigned short *__ctype_b -
__ctype_b$offset
public static final long __ctype_b$offset()Offset for field:const unsigned short *__ctype_b -
__ctype_b
Getter for field:const unsigned short *__ctype_b -
__ctype_b
Setter for field:const unsigned short *__ctype_b -
__ctype_tolower$layout
Layout for field:const int *__ctype_tolower -
__ctype_tolower$offset
public static final long __ctype_tolower$offset()Offset for field:const int *__ctype_tolower -
__ctype_tolower
Getter for field:const int *__ctype_tolower -
__ctype_tolower
Setter for field:const int *__ctype_tolower -
__ctype_toupper$layout
Layout for field:const int *__ctype_toupper -
__ctype_toupper$offset
public static final long __ctype_toupper$offset()Offset for field:const int *__ctype_toupper -
__ctype_toupper
Getter for field:const int *__ctype_toupper -
__ctype_toupper
Setter for field:const int *__ctype_toupper -
__names$layout
Layout for field:const char *__names[13] -
__names$offset
public static final long __names$offset()Offset for field:const char *__names[13] -
__names
Getter for field:const char *__names[13] -
__names
Setter for field:const char *__names[13] -
__names$dimensions
public static long[] __names$dimensions()Dimensions for array field:const char *__names[13] -
__names
Indexed getter for field:const char *__names[13] -
__names
Indexed setter for field:const char *__names[13] -
asSlice
Obtains a slice ofarrayParamwhich 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 sizeelementCountusingallocator. The returned segment has sizeelementCount * layout().byteSize(). -
reinterpret
public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddrusing targetarenaandcleanupAction(if any). The returned segment has sizelayout().byteSize() -
reinterpret
public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddrusing targetarenaandcleanupAction(if any). The returned segment has sizeelementCount * layout().byteSize()
-