@Name(value="tvm::runtime::ObjectPtr<tvm::runtime::ArrayNode>") @NoOffset @Properties(inherit=tvm_runtime.class) public class ArrayNodePtr extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
ArrayNodePtr()
\brief default constructor
|
ArrayNodePtr(ArrayNodePtr other)
\brief copy constructor
|
ArrayNodePtr(long size)
Native array allocator.
|
ArrayNodePtr(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
ArrayNode |
access() |
boolean |
asBoolean()
\brief nullptr check
|
boolean |
equals(ArrayNodePtr other) |
ArrayNode |
get() |
ArrayNodePtr |
getPointer(long i) |
ArrayNode |
multiply() |
boolean |
notEquals(ArrayNodePtr other) |
ArrayNodePtr |
position(long position) |
ArrayNodePtr |
put(ArrayNodePtr other)
\brief copy assignment
|
void |
reset()
\brief reset the content of ptr to be nullptr
|
void |
swap(ArrayNodePtr other)
\brief Swap this array with another Object
|
boolean |
unique() |
int |
use_count() |
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 ArrayNodePtr(Pointer p)
Pointer(Pointer)
.public ArrayNodePtr(long size)
Pointer.position(long)
.public ArrayNodePtr()
public ArrayNodePtr(@Const @ByRef ArrayNodePtr other)
other
- The value to be movedpublic ArrayNodePtr position(long position)
public ArrayNodePtr getPointer(long i)
getPointer
in class Pointer
public void swap(@ByRef ArrayNodePtr other)
other
- The other Objectpublic ArrayNode get()
@ByRef @Name(value="operator =") public ArrayNodePtr put(@Const @ByRef ArrayNodePtr other)
other
- The value to be assigned.@Cast(value="bool") @Name(value="operator bool") public boolean asBoolean()
public void reset()
public int use_count()
@Cast(value="bool") @Name(value="operator ==") public boolean equals(@Const @ByRef ArrayNodePtr other)
Copyright © 2024. All rights reserved.