@Namespace(value="tvm::runtime") @Properties(inherit=tvm_runtime.class) public class SimpleObjAllocator extends SimpleObjAllocatorBase
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
SimpleObjAllocator()
Default native constructor.
|
SimpleObjAllocator(long size)
Native array allocator.
|
SimpleObjAllocator(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
SimpleObjAllocator |
getPointer(long i) |
SimpleObjAllocator |
position(long position) |
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, zeropublic SimpleObjAllocator()
public SimpleObjAllocator(long size)
Pointer.position(long).public SimpleObjAllocator(Pointer p)
Pointer(Pointer).public SimpleObjAllocator position(long position)
position in class SimpleObjAllocatorBasepublic SimpleObjAllocator getPointer(long i)
getPointer in class SimpleObjAllocatorBaseCopyright © 2024. All rights reserved.