Package | Description |
---|---|
org.bytedeco.javacpp |
Contains the main set of classes for JavaCPP at runtime.
|
Modifier and Type | Class and Description |
---|---|
class |
BoolPointer
The peer class to native pointers and arrays of
bool . |
class |
BoolPointer
The peer class to native pointers and arrays of
bool . |
class |
CLongPointer
The peer class to native pointers and arrays of
long . |
class |
CLongPointer
The peer class to native pointers and arrays of
long . |
class |
SizeTPointer
The peer class to native pointers and arrays of
size_t . |
class |
SizeTPointer
The peer class to native pointers and arrays of
size_t . |
Modifier and Type | Method and Description |
---|---|
static Object |
Loader.Helper.accessGlobalRef(Pointer globalRef)
Returns an Object from the JNI global reference stored in the Pointer.
|
static Object |
Loader.Helper.accessGlobalRef(Pointer globalRef)
Returns an Object from the JNI global reference stored in the Pointer.
|
static Pointer |
Loader.Helper.addressof(String symbol)
Returns the address found under the given name in the "dynamic symbol tables" (Linux, Mac OS X, etc)
or the "export tables" (Windows) of all libraries loaded, or null if not found.
|
static Pointer |
Loader.Helper.addressof(String symbol)
Returns the address found under the given name in the "dynamic symbol tables" (Linux, Mac OS X, etc)
or the "export tables" (Windows) of all libraries loaded, or null if not found.
|
static long |
Pointer.availablePhysicalBytes()
Returns the amount of physical memory that is free according to the operating system, or 0 if unknown.
|
static long |
Pointer.availablePhysicalBytes()
Returns the amount of physical memory that is free according to the operating system, or 0 if unknown.
|
static void |
Loader.Helper.deleteGlobalRef(Pointer globalRef)
Deletes the JNI global reference stored in the Pointer.
|
static void |
Loader.Helper.deleteGlobalRef(Pointer globalRef)
Deletes the JNI global reference stored in the Pointer.
|
protected static long |
Pointer.getDirectBufferAddress(Buffer b)
Returns the starting address of the memory region referenced by the given direct
Buffer . |
protected static long |
Pointer.getDirectBufferAddress(Buffer b)
Returns the starting address of the memory region referenced by the given direct
Buffer . |
static Pointer |
Loader.Helper.getJavaVM()
Returns the JavaVM JNI object, as required by some APIs for initialization.
|
static Pointer |
Loader.Helper.getJavaVM()
Returns the JavaVM JNI object, as required by some APIs for initialization.
|
static void |
Loader.Helper.loadGlobal(String filename)
Loads all symbols from a library globally, that is
dlopen(filename, RTLD_LAZY | RTLD_GLOBAL) ,
or simply by default with LoadLibrary(filename) on Windows. |
static void |
Loader.Helper.loadGlobal(String filename)
Loads all symbols from a library globally, that is
dlopen(filename, RTLD_LAZY | RTLD_GLOBAL) ,
or simply by default with LoadLibrary(filename) on Windows. |
static Pointer |
Loader.Helper.newGlobalRef(Object object)
Returns a JNI global reference stored in a Pointer for the given Object.
|
static Pointer |
Loader.Helper.newGlobalRef(Object object)
Returns a JNI global reference stored in a Pointer for the given Object.
|
static long |
Pointer.physicalBytes()
Returns the amount of non-shared physical memory currently used by the whole process, or 0 if unknown.
|
static long |
Pointer.physicalBytes()
Returns the amount of non-shared physical memory currently used by the whole process, or 0 if unknown.
|
static long |
Pointer.physicalBytesInaccurate(long maxSize)
May return a value larger than
Pointer.physicalBytes() but less than maxSize to save processing time. |
static long |
Pointer.physicalBytesInaccurate(long maxSize)
May return a value larger than
Pointer.physicalBytes() but less than maxSize to save processing time. |
static int |
Loader.Helper.totalChips()
Returns the number of CPU chips installed according to the operating system, or 0 if unknown.
|
static int |
Loader.Helper.totalChips()
Returns the number of CPU chips installed according to the operating system, or 0 if unknown.
|
static int |
Loader.Helper.totalCores()
Returns the number of CPU cores usable according to the operating system, or 0 if unknown.
|
static int |
Loader.Helper.totalCores()
Returns the number of CPU cores usable according to the operating system, or 0 if unknown.
|
static long |
Pointer.totalPhysicalBytes()
Returns the amount of physical memory installed according to the operating system, or 0 if unknown.
|
static long |
Pointer.totalPhysicalBytes()
Returns the amount of physical memory installed according to the operating system, or 0 if unknown.
|
static int |
Loader.Helper.totalProcessors()
Returns the number of processors configured according to the operating system, or 0 if unknown.
|
static int |
Loader.Helper.totalProcessors()
Returns the number of processors configured according to the operating system, or 0 if unknown.
|
private static boolean |
Pointer.trimMemory()
Makes sure to return freed memory to the system, as required by Linux, at least.
|
private static boolean |
Pointer.trimMemory()
Makes sure to return freed memory to the system, as required by Linux, at least.
|
Copyright © 2024. All rights reserved.