@Namespace(value="c10") @Properties(inherit=torch.class) public class SourceLocation extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
SourceLocation()
Default native constructor.
|
SourceLocation(long size)
Native array allocator.
|
SourceLocation(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
BytePointer |
file() |
SourceLocation |
file(BytePointer setter) |
BytePointer |
function() |
SourceLocation |
function(BytePointer setter) |
SourceLocation |
getPointer(long i) |
int |
line() |
SourceLocation |
line(int setter) |
SourceLocation |
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 SourceLocation()
public SourceLocation(long size)
Pointer.position(long)
.public SourceLocation(Pointer p)
Pointer(Pointer)
.public SourceLocation position(long position)
public SourceLocation getPointer(long i)
getPointer
in class Pointer
@Cast(value="const char*") public BytePointer function()
public SourceLocation function(BytePointer setter)
@Cast(value="const char*") public BytePointer file()
public SourceLocation file(BytePointer setter)
public SourceLocation line(int setter)
Copyright © 2024. All rights reserved.