Class _G_fpos64_t

java.lang.Object
io.github.elebras1.flecs._G_fpos64_t
Direct Known Subclasses:
__fpos64_t

public class _G_fpos64_t extends Object
struct _G_fpos64_t {
    __off64_t __pos;
    __mbstate_t __state;
}
  • Method Details

    • layout

      public static final GroupLayout layout()
      The layout of this struct
    • __pos$layout

      public static final ValueLayout.OfLong __pos$layout()
      Layout for field:
      __off64_t __pos
      
    • __pos$offset

      public static final long __pos$offset()
      Offset for field:
      __off64_t __pos
      
    • __pos

      public static long __pos(MemorySegment struct)
      Getter for field:
      __off64_t __pos
      
    • __pos

      public static void __pos(MemorySegment struct, long fieldValue)
      Setter for field:
      __off64_t __pos
      
    • __state$layout

      public static final GroupLayout __state$layout()
      Layout for field:
      __mbstate_t __state
      
    • __state$offset

      public static final long __state$offset()
      Offset for field:
      __mbstate_t __state
      
    • __state

      public static MemorySegment __state(MemorySegment struct)
      Getter for field:
      __mbstate_t __state
      
    • __state

      public static void __state(MemorySegment struct, MemorySegment fieldValue)
      Setter for field:
      __mbstate_t __state
      
    • asSlice

      public static MemorySegment asSlice(MemorySegment array, long index)
      Obtains a slice of arrayParam which selects the array element at index. The returned segment has address arrayParam.address() + index * layout().byteSize()
    • sizeof

      public static long sizeof()
      The size (in bytes) of this struct
    • allocate

      public static MemorySegment allocate(SegmentAllocator allocator)
      Allocate a segment of size layout().byteSize() using allocator
    • allocateArray

      public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator)
      Allocate an array of size elementCount using allocator. The returned segment has size elementCount * layout().byteSize().
    • reinterpret

      public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer<MemorySegment> cleanup)
      Reinterprets addr using target arena and cleanupAction (if any). The returned segment has size layout().byteSize()
    • reinterpret

      public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer<MemorySegment> cleanup)
      Reinterprets addr using target arena and cleanupAction (if any). The returned segment has size elementCount * layout().byteSize()