@Namespace(value="tvm::runtime") @NoOffset @Properties(inherit=tvm_runtime.class) public class SmallMapNode extends MapNode
TVMObject.FDeleterPointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter_type_child_slots, _type_final, _type_index_type_child_slots_can_overflow, _type_has_method_sequal_reduce, _type_has_method_shash_reduce, _type_has_method_visit_attrs| Constructor and Description |
|---|
SmallMapNode()
Default native constructor.
|
SmallMapNode(long size)
Native array allocator.
|
SmallMapNode(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
SmallMapNodeBase |
asSmallMapNodeBase() |
static SmallMapNodeBase |
asSmallMapNodeBase(SmallMapNode pointer) |
ObjectRef |
at(ObjectRef key)
\brief Index value associated with a key, throw exception if the key does not exist
|
Pointer |
begin() |
long |
count(ObjectRef key)
\brief Count the number of times a key exists in the SmallMapNode
|
Pointer |
end() |
void |
erase(Pointer _position)
\brief Erase the entry associated with the iterator
|
Pointer |
find(ObjectRef key)
\brief Index value associated with a key
|
SmallMapNode |
getPointer(long i) |
SmallMapNode |
position(long position) |
_GetOrAllocRuntimeTypeIndex, _type_child_slots, _type_final, _type_index, _type_key, Empty, erase, RuntimeTypeIndex, size_type_child_slots_can_overflow, _type_has_method_sequal_reduce, _type_has_method_shash_reduce, _type_has_method_visit_attrs, GetTypeKey, GetTypeKeyHash, put, type_index, TypeIndex2Key, TypeIndex2KeyHash, TypeKey2Index, TypeKey2Index, uniqueaddress, 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 SmallMapNode()
public SmallMapNode(long size)
Pointer.position(long).public SmallMapNode(Pointer p)
Pointer(Pointer).public SmallMapNode position(long position)
public SmallMapNode getPointer(long i)
getPointer in class MapNodepublic SmallMapNodeBase asSmallMapNodeBase()
@Namespace @Name(value="static_cast<tvm::runtime::InplaceArrayBase<tvm::runtime::SmallMapNode,tvm::runtime::MapNode::KVType>*>") public static SmallMapNodeBase asSmallMapNodeBase(SmallMapNode pointer)
@Cast(value="size_t") public long count(@Const @ByRef ObjectRef key)
@ByRef public ObjectRef at(@Const @ByRef ObjectRef key)
@ByVal @Cast(value="tvm::runtime::MapNode::iterator*") public Pointer find(@Const @ByRef ObjectRef key)
Copyright © 2024. All rights reserved.