@Namespace(value="google::protobuf") @NoOffset @Properties(inherit=onnx.class) public class Arena extends Pointer
Modifier and Type | Class and Description |
---|---|
static class |
Arena.Destruct_Pointer |
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Modifier and Type | Field and Description |
---|---|
static long |
kBlockOverhead |
Constructor and Description |
---|
Arena() |
Arena(ArenaOptions options) |
Arena(byte[] initial_block,
long initial_block_size) |
Arena(ByteBuffer initial_block,
long initial_block_size) |
Arena(BytePointer initial_block,
long initial_block_size) |
Arena(long size)
Native array allocator.
|
Arena(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
Pointer |
AllocateAligned(long size) |
Pointer |
AllocateAligned(long size,
long align) |
Arena |
getPointer(long i) |
void |
Init(ArenaOptions arg0) |
static Arena |
InternalCreateMessageOwnedArena() |
boolean |
InternalIsMessageOwnedArena() |
static long |
kBlockOverhead() |
void |
OwnCustomDestructor(Pointer object,
Arena.Destruct_Pointer destruct) |
Arena |
position(long position) |
long |
Reset() |
long |
SpaceAllocated() |
long |
SpaceUsed() |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public Arena(Pointer p)
Pointer(Pointer)
.public Arena(long size)
Pointer.position(long)
.public Arena()
public Arena(@Cast(value="char*") BytePointer initial_block, @Cast(value="size_t") long initial_block_size)
public Arena(@Cast(value="char*") ByteBuffer initial_block, @Cast(value="size_t") long initial_block_size)
public Arena(@Cast(value="char*") byte[] initial_block, @Cast(value="size_t") long initial_block_size)
public Arena(@Const @ByRef ArenaOptions options)
public Arena getPointer(long i)
getPointer
in class Pointer
@MemberGetter @Cast(value="const size_t") public static long kBlockOverhead()
public void Init(@Const @ByRef ArenaOptions arg0)
public Pointer AllocateAligned(@Cast(value="size_t") long size, @Cast(value="size_t") long align)
public void OwnCustomDestructor(Pointer object, Arena.Destruct_Pointer destruct)
public static Arena InternalCreateMessageOwnedArena()
Copyright © 2024. All rights reserved.