@Name(value="c10::SmallVectorTemplateCommon<int64_t>") @Properties(inherit=torch.class) public class LongSmallVectorCommon extends IntSizedSmallVectorBase
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
LongSmallVectorCommon(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
long |
at(long idx)
Return a pointer to the vector's buffer, even if empty().
|
long |
back() |
LongPointer |
begin() |
long |
capacity_in_bytes() |
LongPointer |
data()
Return a pointer to the vector's buffer, even if empty().
|
LongPointer |
end() |
long |
front() |
long |
get(long idx) |
long |
max_size() |
long |
size_in_bytes() |
_capacity, empty, set_size, size
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public LongSmallVectorCommon(Pointer p)
Pointer(Pointer)
.@ByVal @Cast(value="c10::SmallVectorTemplateCommon<int64_t>::iterator*") public LongPointer begin()
@ByVal @Cast(value="c10::SmallVectorTemplateCommon<int64_t>::iterator*") public LongPointer end()
public long size_in_bytes()
public long max_size()
@ByVal @Cast(value="c10::SmallVectorTemplateCommon<int64_t>::pointer*") public LongPointer data()
public long at(long idx)
public long front()
public long back()
Copyright © 2024. All rights reserved.