| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static ByteBuffer | aligned_alloc(long
the alignment. Must be a power of two value. alignment, long the number of bytes to allocate. Must be a multiple of size)alignment.Allocates |
| public static void | aligned_free(ByteBuffer
the aligned block of memory to free ptr)Frees a block of memory that was allocated with |
| public static void | aligned_free(ShortBuffer
the aligned block of memory to free ptr)Frees a block of memory that was allocated with |
| public static void | aligned_free(IntBuffer
the aligned block of memory to free ptr)Frees a block of memory that was allocated with |
| public static void | aligned_free(LongBuffer
the aligned block of memory to free ptr)Frees a block of memory that was allocated with |
| public static void | aligned_free(FloatBuffer
the aligned block of memory to free ptr)Frees a block of memory that was allocated with |
| public static void | aligned_free(DoubleBuffer
the aligned block of memory to free ptr)Frees a block of memory that was allocated with |
| public static void | aligned_free(PointerBuffer
the aligned block of memory to free ptr)Frees a block of memory that was allocated with |
| public static ByteBuffer | calloc(long
the number of elements to allocate nmemb, long the number of bytes to allocate per element size)Allocates memory for an array of |
| public static void | free(ByteBuffer
the memory space to free ptr)Frees the memory space pointed to by |
| public static void | free(ShortBuffer
the memory space to free ptr)Frees the memory space pointed to by |
| public static void | |
| public static void | free(LongBuffer
the memory space to free ptr)Frees the memory space pointed to by |
| public static void | free(FloatBuffer
the memory space to free ptr)Frees the memory space pointed to by |
| public static void | free(DoubleBuffer
the memory space to free ptr)Frees the memory space pointed to by |
| public static void | free(PointerBuffer
the memory space to free ptr)Frees the memory space pointed to by |
| public static ByteBuffer | malloc(long
the number of bytes to allocate size)Allocates |
| public static native long | |
| public static native void | |
| public static native long | |
| public static native void | |
| public static native long | |
| public static native long | |
| public static ByteBuffer | realloc(ByteBuffer
the memory block to reallocate ptr, long the new memory block size, in bytes size)Changes the size of the memory block pointed to by |
| LibCStdlib | back to summary |
|---|---|
| protected LibCStdlib() | |
| aligned_alloc | back to summary |
|---|---|
| public static ByteBuffer aligned_alloc(long alignment, long size) Allocates
| |
| aligned_free | back to summary |
|---|---|
| public static void aligned_free(ByteBuffer ptr) Frees a block of memory that was allocated with
| |
| aligned_free | back to summary |
|---|---|
| public static void aligned_free(ShortBuffer ptr) Frees a block of memory that was allocated with
| |
| aligned_free | back to summary |
|---|---|
| public static void aligned_free(IntBuffer ptr) Frees a block of memory that was allocated with
| |
| aligned_free | back to summary |
|---|---|
| public static void aligned_free(LongBuffer ptr) Frees a block of memory that was allocated with
| |
| aligned_free | back to summary |
|---|---|
| public static void aligned_free(FloatBuffer ptr) Frees a block of memory that was allocated with
| |
| aligned_free | back to summary |
|---|---|
| public static void aligned_free(DoubleBuffer ptr) Frees a block of memory that was allocated with
| |
| aligned_free | back to summary |
|---|---|
| public static void aligned_free(PointerBuffer ptr) Frees a block of memory that was allocated with
| |
| calloc | back to summary |
|---|---|
| public static ByteBuffer calloc(long nmemb, long size) Allocates memory for an array of
| |
| free | back to summary |
|---|---|
| public static void free(ByteBuffer ptr) Frees the memory space pointed to by
| |
| free | back to summary |
|---|---|
| public static void free(ShortBuffer ptr) Frees the memory space pointed to by
| |
| free | back to summary |
|---|---|
| public static void free(IntBuffer ptr) Frees the memory space pointed to by
| |
| free | back to summary |
|---|---|
| public static void free(LongBuffer ptr) Frees the memory space pointed to by
| |
| free | back to summary |
|---|---|
| public static void free(FloatBuffer ptr) Frees the memory space pointed to by
| |
| free | back to summary |
|---|---|
| public static void free(DoubleBuffer ptr) Frees the memory space pointed to by
| |
| free | back to summary |
|---|---|
| public static void free(PointerBuffer ptr) Frees the memory space pointed to by
| |
| malloc | back to summary |
|---|---|
| public static ByteBuffer malloc(long size) Allocates
| |
| naligned_alloc | back to summary |
|---|---|
| public static native long naligned_alloc(long alignment, long size) Unsafe version of: | |
| naligned_free | back to summary |
|---|---|
| public static native void naligned_free(long ptr) Unsafe version of: | |
| ncalloc | back to summary |
|---|---|
| public static native long ncalloc(long nmemb, long size) Unsafe version of: | |
| nfree | back to summary |
|---|---|
| public static native void nfree(long ptr) Unsafe version of: | |
| nmalloc | back to summary |
|---|---|
| public static native long nmalloc(long size) Unsafe version of: | |
| nrealloc | back to summary |
|---|---|
| public static native long nrealloc(long ptr, long size) Unsafe version of: | |
| realloc | back to summary |
|---|---|
| public static ByteBuffer realloc(ByteBuffer ptr, long size) Changes the size of the memory block pointed to by
| |