@Namespace(value="c10") @NoOffset @Properties(inherit=torch.class) public class WeakOrStrongTypePtr extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
WeakOrStrongTypePtr(Pointer p)
Pointer cast constructor.
|
WeakOrStrongTypePtr(StrongTypePtr strong) |
WeakOrStrongTypePtr(WeakOrStrongCompilationUnit cu,
Type.TypePtr type) |
WeakOrStrongTypePtr(WeakTypePtr weak) |
Modifier and Type | Method and Description |
---|---|
WeakTypePtr |
asWeakTypePtr() |
WeakOrStrongCompilationUnit |
cu_() |
WeakOrStrongTypePtr |
cu_(WeakOrStrongCompilationUnit setter) |
boolean |
holds_empty_strong_ref() |
boolean |
holds_strong_ref() |
Type.TypePtr |
type_() |
WeakOrStrongTypePtr |
type_(Type.TypePtr setter) |
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 WeakOrStrongTypePtr(Pointer p)
Pointer(Pointer)
.public WeakOrStrongTypePtr(@ByVal WeakTypePtr weak)
public WeakOrStrongTypePtr(@ByVal StrongTypePtr strong)
public WeakOrStrongTypePtr(@ByVal WeakOrStrongCompilationUnit cu, @ByVal Type.TypePtr type)
@ByVal public WeakTypePtr asWeakTypePtr()
@ByRef public WeakOrStrongCompilationUnit cu_()
public WeakOrStrongTypePtr cu_(WeakOrStrongCompilationUnit setter)
@ByRef public Type.TypePtr type_()
public WeakOrStrongTypePtr type_(Type.TypePtr setter)
Copyright © 2024. All rights reserved.