@Namespace(value="google::protobuf") @NoOffset @Properties(inherit=caffe.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(long size)
Native array allocator.
|
Arena(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Init(ArenaOptions options) |
static long |
kBlockOverhead() |
void |
OwnCustomDestructor(Pointer object,
Arena.Destruct_Pointer destruct) |
Arena |
position(long position) |
long |
Reset() |
long |
SpaceAllocated() |
LongLongPair |
SpaceAllocatedAndUsed() |
long |
SpaceUsed() |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic Arena(Pointer p)
Pointer.Pointer(Pointer).public Arena(long size)
Pointer.position(long).public Arena(@Const @ByRef ArenaOptions options)
public Arena()
@MemberGetter @Cast(value="const size_t") public static long kBlockOverhead()
public void Init(@Const @ByRef ArenaOptions options)
@ByVal public LongLongPair SpaceAllocatedAndUsed()
public void OwnCustomDestructor(Pointer object, Arena.Destruct_Pointer destruct)
Copyright © 2019. All rights reserved.