public class LibDivideS64BranchFree
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
struct libdivide_s64_branchfree_t {
int64_t magic;
uint8_t more;
}| Modifier and Type | Class and Description |
|---|---|
static class |
LibDivideS64BranchFree.Buffer
An array of
LibDivideS64BranchFree structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
MAGIC
The struct member offsets.
|
static int |
MORE
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
| Constructor and Description |
|---|
LibDivideS64BranchFree(java.nio.ByteBuffer container)
Creates a
LibDivideS64BranchFree instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static LibDivideS64BranchFree |
calloc()
Returns a new
LibDivideS64BranchFree instance allocated with memCalloc. |
static LibDivideS64BranchFree.Buffer |
calloc(int capacity)
Returns a new
LibDivideS64BranchFree.Buffer instance allocated with memCalloc. |
static LibDivideS64BranchFree |
callocStack()
Returns a new
LibDivideS64BranchFree instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static LibDivideS64BranchFree.Buffer |
callocStack(int capacity)
Returns a new
LibDivideS64BranchFree.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static LibDivideS64BranchFree.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
LibDivideS64BranchFree.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static LibDivideS64BranchFree |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
LibDivideS64BranchFree instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static LibDivideS64BranchFree |
create()
Returns a new
LibDivideS64BranchFree instance allocated with BufferUtils. |
static LibDivideS64BranchFree.Buffer |
create(int capacity)
Returns a new
LibDivideS64BranchFree.Buffer instance allocated with BufferUtils. |
static LibDivideS64BranchFree |
create(long address)
Returns a new
LibDivideS64BranchFree instance for the specified memory address. |
static LibDivideS64BranchFree.Buffer |
create(long address,
int capacity)
Create a
LibDivideS64BranchFree.Buffer instance at the specified memory. |
static LibDivideS64BranchFree |
createSafe(long address)
|
static LibDivideS64BranchFree.Buffer |
createSafe(long address,
int capacity)
|
long |
magic()
Returns the value of the
magic field. |
LibDivideS64BranchFree |
magic(long value)
Sets the specified value to the
magic field. |
static LibDivideS64BranchFree |
malloc()
Returns a new
LibDivideS64BranchFree instance allocated with memAlloc. |
static LibDivideS64BranchFree.Buffer |
malloc(int capacity)
Returns a new
LibDivideS64BranchFree.Buffer instance allocated with memAlloc. |
static LibDivideS64BranchFree |
mallocStack()
Returns a new
LibDivideS64BranchFree instance allocated on the thread-local MemoryStack. |
static LibDivideS64BranchFree.Buffer |
mallocStack(int capacity)
Returns a new
LibDivideS64BranchFree.Buffer instance allocated on the thread-local MemoryStack. |
static LibDivideS64BranchFree.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
LibDivideS64BranchFree.Buffer instance allocated on the specified MemoryStack. |
static LibDivideS64BranchFree |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
LibDivideS64BranchFree instance allocated on the specified MemoryStack. |
byte |
more()
Returns the value of the
more field. |
LibDivideS64BranchFree |
more(byte value)
Sets the specified value to the
more field. |
static long |
nmagic(long struct)
Unsafe version of
magic(). |
static void |
nmagic(long struct,
long value)
Unsafe version of
magic. |
static byte |
nmore(long struct)
Unsafe version of
more(). |
static void |
nmore(long struct,
byte value)
Unsafe version of
more. |
LibDivideS64BranchFree |
set(LibDivideS64BranchFree src)
Copies the specified struct data to this struct.
|
LibDivideS64BranchFree |
set(long magic,
byte more)
Initializes this struct with the specified values.
|
int |
sizeof() |
public static final int SIZEOF
public static final int ALIGNOF
public static final int MAGIC
public static final int MORE
public LibDivideS64BranchFree(java.nio.ByteBuffer container)
LibDivideS64BranchFree instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be
visible to the struct instance and vice versa.
The created instance holds a strong reference to the container object.
public int sizeof()
sizeof in class org.lwjgl.system.Structpublic long magic()
magic field.public byte more()
more field.public LibDivideS64BranchFree magic(long value)
magic field.public LibDivideS64BranchFree more(byte value)
more field.public LibDivideS64BranchFree set(long magic, byte more)
public LibDivideS64BranchFree set(LibDivideS64BranchFree src)
src - the source structpublic static LibDivideS64BranchFree malloc()
LibDivideS64BranchFree instance allocated with memAlloc. The instance must be explicitly freed.public static LibDivideS64BranchFree calloc()
LibDivideS64BranchFree instance allocated with memCalloc. The instance must be explicitly freed.public static LibDivideS64BranchFree create()
LibDivideS64BranchFree instance allocated with BufferUtils.public static LibDivideS64BranchFree create(long address)
LibDivideS64BranchFree instance for the specified memory address.@Nullable public static LibDivideS64BranchFree createSafe(long address)
public static LibDivideS64BranchFree.Buffer malloc(int capacity)
LibDivideS64BranchFree.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static LibDivideS64BranchFree.Buffer calloc(int capacity)
LibDivideS64BranchFree.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static LibDivideS64BranchFree.Buffer create(int capacity)
LibDivideS64BranchFree.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static LibDivideS64BranchFree.Buffer create(long address, int capacity)
LibDivideS64BranchFree.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static LibDivideS64BranchFree.Buffer createSafe(long address, int capacity)
public static LibDivideS64BranchFree mallocStack()
LibDivideS64BranchFree instance allocated on the thread-local MemoryStack.public static LibDivideS64BranchFree callocStack()
LibDivideS64BranchFree instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static LibDivideS64BranchFree mallocStack(org.lwjgl.system.MemoryStack stack)
LibDivideS64BranchFree instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static LibDivideS64BranchFree callocStack(org.lwjgl.system.MemoryStack stack)
LibDivideS64BranchFree instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static LibDivideS64BranchFree.Buffer mallocStack(int capacity)
LibDivideS64BranchFree.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static LibDivideS64BranchFree.Buffer callocStack(int capacity)
LibDivideS64BranchFree.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static LibDivideS64BranchFree.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
LibDivideS64BranchFree.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static LibDivideS64BranchFree.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
LibDivideS64BranchFree.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatecapacity - the buffer capacitypublic static long nmagic(long struct)
magic().public static byte nmore(long struct)
more().public static void nmagic(long struct,
long value)
magic.public static void nmore(long struct,
byte value)
more.Copyright LWJGL. All Rights Reserved. License terms.