| Package | Description |
|---|---|
| org.bytedeco.pytorch |
| Modifier and Type | Method and Description |
|---|---|
static ConstantStringPtr |
ConstantString.create(BytePointer str_) |
static ConstantStringPtr |
ConstantString.create(String str_) |
ConstantStringPtr |
ConstantStringPtr.getPointer(long i) |
ConstantStringPtr |
ConstantStringPtr.position(long position) |
ConstantStringPtr |
ConstantStringPtr.put(ConstantStringPtr rhs) |
static ConstantStringPtr |
ConstantStringPtr.reclaim_copy(ConstantString owning_ptr)
Takes an owning pointer to TTarget* and creates an intrusive_ptr
representing a new reference, i.e.
|
static ConstantStringPtr |
ConstantStringPtr.reclaim(ConstantString owning_ptr)
Takes an owning pointer to TTarget* and creates an intrusive_ptr that takes
over ownership.
|
ConstantStringPtr |
IValue.toConstantString() |
static ConstantStringPtr |
ConstantStringPtr.unsafe_adapt_non_heap_allocated(ConstantString raw_ptr,
long expected_decrefs)
Turn an instance of TTarget that should not be reference counted
(e.g., allocated into an arena with placement new) into an
intrusive_ptr.
|
static ConstantStringPtr |
ConstantStringPtr.unsafe_reclaim_from_nonowning(ConstantString raw_ptr)
Turn a **non-owning raw pointer** to an intrusive_ptr.
|
static ConstantStringPtr |
ConstantStringPtr.unsafe_steal_from_new(ConstantString raw_ptr)
Turn a new instance of TTarget (e.g., literally allocated
using new TTarget(...) into an intrusive_ptr.
|
| Modifier and Type | Method and Description |
|---|---|
ConstantStringPtr |
ConstantStringPtr.put(ConstantStringPtr rhs) |
void |
ConstantStringPtr.swap(ConstantStringPtr rhs) |
| Constructor and Description |
|---|
ConstantStringPtr(ConstantStringPtr rhs) |
IValue(ConstantStringPtr v) |
Copyright © 2024. All rights reserved.