@Namespace(value="c10") @NoOffset @Properties(inherit=torch.class) public class Warning extends Pointer
Modifier and Type | Class and Description |
---|---|
static class |
Warning.DeprecationWarning |
static class |
Warning.UserWarning |
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
Warning(Nonlinearity type,
SourceLocation source_location,
BytePointer msg,
boolean verbatim) |
Warning(Nonlinearity type,
SourceLocation source_location,
CompileTimeEmptyString msg,
boolean verbatim) |
Warning(Nonlinearity type,
SourceLocation source_location,
String msg,
boolean verbatim) |
Warning(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
BytePointer |
msg() |
SourceLocation |
source_location() |
Nonlinearity |
type() |
boolean |
verbatim() |
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 Warning(Pointer p)
Pointer(Pointer)
.public Warning(@ByVal @Cast(value="c10::Warning::warning_variant_t*") Nonlinearity type, @Const @ByRef SourceLocation source_location, @StdString BytePointer msg, @Cast(value="bool") boolean verbatim)
public Warning(@ByVal @Cast(value="c10::Warning::warning_variant_t*") Nonlinearity type, @Const @ByRef SourceLocation source_location, @StdString String msg, @Cast(value="bool") boolean verbatim)
public Warning(@ByVal @Cast(value="c10::Warning::warning_variant_t*") Nonlinearity type, @ByVal SourceLocation source_location, @ByVal CompileTimeEmptyString msg, @Cast(value="bool") boolean verbatim)
@ByVal @Cast(value="c10::Warning::warning_variant_t*") public Nonlinearity type()
@Const @ByRef public SourceLocation source_location()
@StdString public BytePointer msg()
Copyright © 2024. All rights reserved.