public class XXH32State
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
struct XXH32_state_t {
XXH32_hash_t total_len_32;
XXH32_hash_t large_len;
XXH32_hash_t v1;
XXH32_hash_t v2;
XXH32_hash_t v3;
XXH32_hash_t v4;
XXH32_hash_t mem32[4];
XXH32_hash_t memsize;
XXH32_hash_t reserved;
}| Modifier and Type | Class and Description |
|---|---|
static class |
XXH32State.Buffer
An array of
XXH32State structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
LARGE_LEN
The struct member offsets.
|
static int |
MEM32
The struct member offsets.
|
static int |
MEMSIZE
The struct member offsets.
|
static int |
RESERVED
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
TOTAL_LEN_32
The struct member offsets.
|
static int |
V1
The struct member offsets.
|
static int |
V2
The struct member offsets.
|
static int |
V3
The struct member offsets.
|
static int |
V4
The struct member offsets.
|
| Constructor and Description |
|---|
XXH32State(java.nio.ByteBuffer container)
Creates a
XXH32State instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static XXH32State |
calloc()
Returns a new
XXH32State instance allocated with memCalloc. |
static XXH32State.Buffer |
calloc(int capacity)
Returns a new
XXH32State.Buffer instance allocated with memCalloc. |
static XXH32State |
callocStack()
Returns a new
XXH32State instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static XXH32State.Buffer |
callocStack(int capacity)
Returns a new
XXH32State.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static XXH32State.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
XXH32State.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static XXH32State |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
XXH32State instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static XXH32State |
create()
Returns a new
XXH32State instance allocated with BufferUtils. |
static XXH32State.Buffer |
create(int capacity)
Returns a new
XXH32State.Buffer instance allocated with BufferUtils. |
static XXH32State |
create(long address)
Returns a new
XXH32State instance for the specified memory address. |
static XXH32State.Buffer |
create(long address,
int capacity)
Create a
XXH32State.Buffer instance at the specified memory. |
static XXH32State |
createSafe(long address)
|
static XXH32State.Buffer |
createSafe(long address,
int capacity)
|
int |
large_len()
Returns the value of the
large_len field. |
static XXH32State |
malloc()
Returns a new
XXH32State instance allocated with memAlloc. |
static XXH32State.Buffer |
malloc(int capacity)
Returns a new
XXH32State.Buffer instance allocated with memAlloc. |
static XXH32State |
mallocStack()
Returns a new
XXH32State instance allocated on the thread-local MemoryStack. |
static XXH32State.Buffer |
mallocStack(int capacity)
Returns a new
XXH32State.Buffer instance allocated on the thread-local MemoryStack. |
static XXH32State.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
XXH32State.Buffer instance allocated on the specified MemoryStack. |
static XXH32State |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
XXH32State instance allocated on the specified MemoryStack. |
java.nio.IntBuffer |
mem32()
Returns a
IntBuffer view of the mem32 field. |
int |
mem32(int index)
Returns the value at the specified index of the
mem32 field. |
int |
memsize()
Returns the value of the
memsize field. |
static int |
nlarge_len(long struct)
Unsafe version of
large_len(). |
static java.nio.IntBuffer |
nmem32(long struct)
Unsafe version of
mem32(). |
static int |
nmem32(long struct,
int index)
Unsafe version of
mem32. |
static int |
nmemsize(long struct)
Unsafe version of
memsize(). |
static int |
nreserved(long struct)
Unsafe version of
reserved(). |
static int |
ntotal_len_32(long struct)
Unsafe version of
total_len_32(). |
static int |
nv1(long struct)
Unsafe version of
v1(). |
static int |
nv2(long struct)
Unsafe version of
v2(). |
static int |
nv3(long struct)
Unsafe version of
v3(). |
static int |
nv4(long struct)
Unsafe version of
v4(). |
int |
reserved()
Returns the value of the
reserved field. |
int |
sizeof() |
int |
total_len_32()
Returns the value of the
total_len_32 field. |
int |
v1()
Returns the value of the
v1 field. |
int |
v2()
Returns the value of the
v2 field. |
int |
v3()
Returns the value of the
v3 field. |
int |
v4()
Returns the value of the
v4 field. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int TOTAL_LEN_32
public static final int LARGE_LEN
public static final int V1
public static final int V2
public static final int V3
public static final int V4
public static final int MEM32
public static final int MEMSIZE
public static final int RESERVED
public XXH32State(java.nio.ByteBuffer container)
XXH32State 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 int total_len_32()
total_len_32 field.public int large_len()
large_len field.public int v1()
v1 field.public int v2()
v2 field.public int v3()
v3 field.public int v4()
v4 field.public java.nio.IntBuffer mem32()
IntBuffer view of the mem32 field.public int mem32(int index)
mem32 field.public int memsize()
memsize field.public int reserved()
reserved field.public static XXH32State malloc()
XXH32State instance allocated with memAlloc. The instance must be explicitly freed.public static XXH32State calloc()
XXH32State instance allocated with memCalloc. The instance must be explicitly freed.public static XXH32State create()
XXH32State instance allocated with BufferUtils.public static XXH32State create(long address)
XXH32State instance for the specified memory address.@Nullable public static XXH32State createSafe(long address)
public static XXH32State.Buffer malloc(int capacity)
XXH32State.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static XXH32State.Buffer calloc(int capacity)
XXH32State.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static XXH32State.Buffer create(int capacity)
XXH32State.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static XXH32State.Buffer create(long address, int capacity)
XXH32State.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static XXH32State.Buffer createSafe(long address, int capacity)
public static XXH32State mallocStack()
XXH32State instance allocated on the thread-local MemoryStack.public static XXH32State callocStack()
XXH32State instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static XXH32State mallocStack(org.lwjgl.system.MemoryStack stack)
XXH32State instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static XXH32State callocStack(org.lwjgl.system.MemoryStack stack)
XXH32State instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static XXH32State.Buffer mallocStack(int capacity)
XXH32State.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static XXH32State.Buffer callocStack(int capacity)
XXH32State.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static XXH32State.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
XXH32State.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static XXH32State.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
XXH32State.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 int ntotal_len_32(long struct)
total_len_32().public static int nlarge_len(long struct)
large_len().public static int nv1(long struct)
v1().public static int nv2(long struct)
v2().public static int nv3(long struct)
v3().public static int nv4(long struct)
v4().public static java.nio.IntBuffer nmem32(long struct)
mem32().public static int nmem32(long struct,
int index)
mem32.public static int nmemsize(long struct)
memsize().public static int nreserved(long struct)
reserved().Copyright LWJGL. All Rights Reserved. License terms.