@Namespace(value="c10::ivalue") @NoOffset @Properties(inherit=torch.class) public class ConstantString extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
ConstantString(BytePointer str) |
ConstantString(Pointer p)
Pointer cast constructor.
|
ConstantString(String str) |
Modifier and Type | Method and Description |
---|---|
static ConstantStringPtr |
create(BytePointer str_) |
static ConstantStringPtr |
create(String str_) |
BytePointer |
string_view() |
BytePointer |
string() |
String |
toString() |
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, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public ConstantString(Pointer p)
Pointer(Pointer)
.public ConstantString(@StdString BytePointer str)
public ConstantString(@StdString String str)
@ByVal public static ConstantStringPtr create(@StdString BytePointer str_)
@ByVal public static ConstantStringPtr create(@StdString String str_)
@StdString public BytePointer string()
@StringView public BytePointer string_view()
Copyright © 2024. All rights reserved.