public class XXH64State
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
reserved32 – required for padding anywayreserved64 – never read nor write, might be removed in a future version
struct XXH64_state_t {
XXH32_hash_t total_len;
XXH32_hash_t v1;
XXH32_hash_t v2;
XXH32_hash_t v3;
XXH32_hash_t v4;
XXH32_hash_t mem64[4];
XXH32_hash_t memsize;
XXH32_hash_t reserved32;
XXH32_hash_t reserved64;
}| Modifier and Type | Class and Description |
|---|---|
static class |
XXH64State.Buffer
An array of
XXH64State structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
MEM64
The struct member offsets.
|
static int |
MEMSIZE
The struct member offsets.
|
static int |
RESERVED32
The struct member offsets.
|
static int |
RESERVED64
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
TOTAL_LEN
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 |
|---|
XXH64State(java.nio.ByteBuffer container)
Creates a
XXH64State instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static XXH64State |
calloc()
Returns a new
XXH64State instance allocated with memCalloc. |
static XXH64State.Buffer |
calloc(int capacity)
Returns a new
XXH64State.Buffer instance allocated with memCalloc. |
static XXH64State |
callocStack()
Returns a new
XXH64State instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static XXH64State.Buffer |
callocStack(int capacity)
Returns a new
XXH64State.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static XXH64State.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
XXH64State.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static XXH64State |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
XXH64State instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static XXH64State |
create()
Returns a new
XXH64State instance allocated with BufferUtils. |
static XXH64State.Buffer |
create(int capacity)
Returns a new
XXH64State.Buffer instance allocated with BufferUtils. |
static XXH64State |
create(long address)
Returns a new
XXH64State instance for the specified memory address. |
static XXH64State.Buffer |
create(long address,
int capacity)
Create a
XXH64State.Buffer instance at the specified memory. |
static XXH64State |
createSafe(long address)
|
static XXH64State.Buffer |
createSafe(long address,
int capacity)
|
static XXH64State |
malloc()
Returns a new
XXH64State instance allocated with memAlloc. |
static XXH64State.Buffer |
malloc(int capacity)
Returns a new
XXH64State.Buffer instance allocated with memAlloc. |
static XXH64State |
mallocStack()
Returns a new
XXH64State instance allocated on the thread-local MemoryStack. |
static XXH64State.Buffer |
mallocStack(int capacity)
Returns a new
XXH64State.Buffer instance allocated on the thread-local MemoryStack. |
static XXH64State.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
XXH64State.Buffer instance allocated on the specified MemoryStack. |
static XXH64State |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
XXH64State instance allocated on the specified MemoryStack. |
java.nio.LongBuffer |
mem64()
Returns a
LongBuffer view of the mem64 field. |
long |
mem64(int index)
Returns the value at the specified index of the
mem64 field. |
int |
memsize()
Returns the value of the
memsize field. |
static java.nio.LongBuffer |
nmem64(long struct)
Unsafe version of
mem64(). |
static long |
nmem64(long struct,
int index)
Unsafe version of
mem64. |
static int |
nmemsize(long struct)
Unsafe version of
memsize(). |
static int |
nreserved32(long struct)
Unsafe version of
reserved32(). |
static long |
nreserved64(long struct)
Unsafe version of
reserved64(). |
static long |
ntotal_len(long struct)
Unsafe version of
total_len(). |
static long |
nv1(long struct)
Unsafe version of
v1(). |
static long |
nv2(long struct)
Unsafe version of
v2(). |
static long |
nv3(long struct)
Unsafe version of
v3(). |
static long |
nv4(long struct)
Unsafe version of
v4(). |
int |
reserved32()
Returns the value of the
reserved32 field. |
long |
reserved64()
Returns the value of the
reserved64 field. |
int |
sizeof() |
long |
total_len()
Returns the value of the
total_len field. |
long |
v1()
Returns the value of the
v1 field. |
long |
v2()
Returns the value of the
v2 field. |
long |
v3()
Returns the value of the
v3 field. |
long |
v4()
Returns the value of the
v4 field. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int TOTAL_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 MEM64
public static final int MEMSIZE
public static final int RESERVED32
public static final int RESERVED64
public XXH64State(java.nio.ByteBuffer container)
XXH64State 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 total_len()
total_len field.public long v1()
v1 field.public long v2()
v2 field.public long v3()
v3 field.public long v4()
v4 field.public java.nio.LongBuffer mem64()
LongBuffer view of the mem64 field.public long mem64(int index)
mem64 field.public int memsize()
memsize field.public int reserved32()
reserved32 field.public long reserved64()
reserved64 field.public static XXH64State malloc()
XXH64State instance allocated with memAlloc. The instance must be explicitly freed.public static XXH64State calloc()
XXH64State instance allocated with memCalloc. The instance must be explicitly freed.public static XXH64State create()
XXH64State instance allocated with BufferUtils.public static XXH64State create(long address)
XXH64State instance for the specified memory address.@Nullable public static XXH64State createSafe(long address)
public static XXH64State.Buffer malloc(int capacity)
XXH64State.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static XXH64State.Buffer calloc(int capacity)
XXH64State.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static XXH64State.Buffer create(int capacity)
XXH64State.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static XXH64State.Buffer create(long address, int capacity)
XXH64State.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static XXH64State.Buffer createSafe(long address, int capacity)
public static XXH64State mallocStack()
XXH64State instance allocated on the thread-local MemoryStack.public static XXH64State callocStack()
XXH64State instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static XXH64State mallocStack(org.lwjgl.system.MemoryStack stack)
XXH64State instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static XXH64State callocStack(org.lwjgl.system.MemoryStack stack)
XXH64State instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static XXH64State.Buffer mallocStack(int capacity)
XXH64State.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static XXH64State.Buffer callocStack(int capacity)
XXH64State.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static XXH64State.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
XXH64State.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static XXH64State.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
XXH64State.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 ntotal_len(long struct)
total_len().public static long nv1(long struct)
v1().public static long nv2(long struct)
v2().public static long nv3(long struct)
v3().public static long nv4(long struct)
v4().public static java.nio.LongBuffer nmem64(long struct)
mem64().public static long nmem64(long struct,
int index)
mem64.public static int nmemsize(long struct)
memsize().public static int nreserved32(long struct)
reserved32().public static long nreserved64(long struct)
reserved64().Copyright LWJGL. All Rights Reserved. License terms.