public static class SafeTensorId.Hasher extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
Hasher()
Default native constructor.
|
Hasher(long size)
Native array allocator.
|
Hasher(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
long |
apply(TensorId x) |
SafeTensorId.Hasher |
getPointer(long i) |
SafeTensorId.Hasher |
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, zero
public Hasher()
public Hasher(long size)
Pointer.position(long)
.public Hasher(Pointer p)
Pointer(Pointer)
.public SafeTensorId.Hasher position(long position)
public SafeTensorId.Hasher getPointer(long i)
getPointer
in class Pointer
Copyright © 2022. All rights reserved.