@Namespace(value="tensorflow") @NoOffset @Properties(inherit=tensorflow.class) public class AllocatorMemoryUsed extends MessageLite
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Modifier and Type | Field and Description |
---|---|
static int |
kAllocationRecordsFieldNumber |
static int |
kAllocatorBytesInUseFieldNumber |
static int |
kAllocatorNameFieldNumber |
static int |
kIndexInFileMessages |
static int |
kLiveBytesFieldNumber |
static int |
kPeakBytesFieldNumber |
static int |
kTotalBytesFieldNumber |
kMerge, kMergePartial, kMergePartialWithAliasing, kMergeWithAliasing, kParse, kParsePartial, kParsePartialWithAliasing, kParseWithAliasing
Constructor and Description |
---|
AllocatorMemoryUsed() |
AllocatorMemoryUsed(AllocatorMemoryUsed from) |
AllocatorMemoryUsed(long size)
Native array allocator.
|
AllocatorMemoryUsed(Pointer p)
Pointer cast constructor.
|
AppendPartialToString, AppendToString, ByteSize, CheckTypeAndMergeFrom, DebugString, GetTypeName, InitializationErrorString, MergeFromBoundedZeroCopyStream, MergeFromCodedStream, MergeFromString, MergeFromString, MergePartialFromBoundedZeroCopyStream, ParseFromArray, ParseFromBoundedZeroCopyStream, ParseFromCodedStream, ParseFromString, ParseFromString, ParseFromZeroCopyStream, ParsePartialFromArray, ParsePartialFromBoundedZeroCopyStream, ParsePartialFromCodedStream, ParsePartialFromString, ParsePartialFromString, ParsePartialFromZeroCopyStream, SerializeAsString, SerializePartialAsString, SerializePartialToArray, SerializePartialToCodedStream, SerializePartialToString, SerializePartialToZeroCopyStream, SerializeToArray, SerializeToCodedStream, SerializeToString, SerializeToZeroCopyStream, SerializeWithCachedSizesToArray, SerializeWithCachedSizesToArray, SerializeWithCachedSizesToArray, ShortDebugString
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 static final int kIndexInFileMessages
public static final int kAllocationRecordsFieldNumber
public static final int kAllocatorNameFieldNumber
public static final int kTotalBytesFieldNumber
public static final int kPeakBytesFieldNumber
public static final int kLiveBytesFieldNumber
public static final int kAllocatorBytesInUseFieldNumber
public AllocatorMemoryUsed(Pointer p)
Pointer(Pointer)
.public AllocatorMemoryUsed(long size)
Pointer.position(long)
.public AllocatorMemoryUsed()
public AllocatorMemoryUsed(@Const @ByRef AllocatorMemoryUsed from)
public AllocatorMemoryUsed position(long position)
public AllocatorMemoryUsed getPointer(long i)
getPointer
in class Pointer
@ByRef @Name(value="operator =") public AllocatorMemoryUsed put(@Const @ByRef AllocatorMemoryUsed from)
public Arena GetArena()
GetArena
in class MessageLite
public Pointer GetMaybeArenaPointer()
GetMaybeArenaPointer
in class MessageLite
@Cast(value="const google::protobuf::Descriptor*") public static Pointer GetDescriptor()
@Cast(value="const google::protobuf::Reflection*") public static Pointer GetReflection()
@Const @ByRef public static AllocatorMemoryUsed default_instance()
public static void InitAsDefaultInstance()
@Const public static AllocatorMemoryUsed internal_default_instance()
@MemberGetter public static int kIndexInFileMessages()
public void UnsafeArenaSwap(AllocatorMemoryUsed other)
public void Swap(AllocatorMemoryUsed other)
public AllocatorMemoryUsed New()
New
in class MessageLite
public AllocatorMemoryUsed New(Arena arena)
New
in class MessageLite
public void CopyFrom(@Cast(value="const google::protobuf::Message*") @ByRef MessageLite from)
public void MergeFrom(@Cast(value="const google::protobuf::Message*") @ByRef MessageLite from)
public void CopyFrom(@Const @ByRef AllocatorMemoryUsed from)
public void MergeFrom(@Const @ByRef AllocatorMemoryUsed from)
public void Clear()
Clear
in class MessageLite
@Cast(value="bool") public boolean IsInitialized()
IsInitialized
in class MessageLite
@Cast(value="size_t") public long ByteSizeLong()
ByteSizeLong
in class MessageLite
@Cast(value="bool") public boolean MergePartialFromCodedStream(CodedInputStream input)
MergePartialFromCodedStream
in class MessageLite
public void SerializeWithCachedSizes(CodedOutputStream output)
SerializeWithCachedSizes
in class MessageLite
@Cast(value="google::protobuf::uint8*") public BytePointer InternalSerializeWithCachedSizesToArray(@Cast(value="google::protobuf::uint8*") BytePointer target)
InternalSerializeWithCachedSizesToArray
in class MessageLite
@Cast(value="google::protobuf::uint8*") public ByteBuffer InternalSerializeWithCachedSizesToArray(@Cast(value="google::protobuf::uint8*") ByteBuffer target)
InternalSerializeWithCachedSizesToArray
in class MessageLite
@Cast(value="google::protobuf::uint8*") public byte[] InternalSerializeWithCachedSizesToArray(@Cast(value="google::protobuf::uint8*") byte[] target)
InternalSerializeWithCachedSizesToArray
in class MessageLite
public int GetCachedSize()
GetCachedSize
in class MessageLite
public int allocation_records_size()
public void clear_allocation_records()
@MemberGetter public static int kAllocationRecordsFieldNumber()
public AllocationRecord mutable_allocation_records(int index)
@Const @ByRef public AllocationRecord allocation_records(int index)
public AllocationRecord add_allocation_records()
public void clear_allocator_name()
@MemberGetter public static int kAllocatorNameFieldNumber()
@StdString public BytePointer allocator_name()
public void set_allocator_name(@StdString BytePointer value)
public void set_allocator_name(@StdString String value)
public void set_allocator_name(@Cast(value="const char*") BytePointer value, @Cast(value="size_t") long size)
@StdString @Cast(value={"char*","std::string*"}) public BytePointer mutable_allocator_name()
@StdString @Cast(value={"char*","std::string*"}) public BytePointer release_allocator_name()
public void set_allocated_allocator_name(@StdString @Cast(value={"char*","std::string*"}) BytePointer allocator_name)
@StdString @Cast(value={"char*","std::string*"}) public BytePointer unsafe_arena_release_allocator_name()
public void unsafe_arena_set_allocated_allocator_name(@StdString @Cast(value={"char*","std::string*"}) BytePointer allocator_name)
public void clear_total_bytes()
@MemberGetter public static int kTotalBytesFieldNumber()
public void clear_peak_bytes()
@MemberGetter public static int kPeakBytesFieldNumber()
public void clear_live_bytes()
@MemberGetter public static int kLiveBytesFieldNumber()
public void clear_allocator_bytes_in_use()
@MemberGetter public static int kAllocatorBytesInUseFieldNumber()
Copyright © 2022. All rights reserved.