| Package | Description |
|---|---|
| net.openhft.chronicle.core | |
| net.openhft.chronicle.core.aegis |
| Modifier and Type | Method and Description |
|---|---|
static long |
Jvm.parseSize(@NotNull String value)
Parse a string as a decimal memory size with an optional scale.
|
| Modifier and Type | Method and Description |
|---|---|
static double |
Maths.asDouble(long value,
int exponent,
boolean negative,
int decimalPlaces)
Convert the components
(-1)^negative * value * 2^exponent * 10^-decimalPlaces to a double. |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
MemoryAegis.assertAddressRange(long address,
long length)
Asserts that the byte range
[address, address + length) lies
inside the configured native-address space
[NativeAddressSpace.minAddress(), NativeAddressSpace.maxAddressExclusive()). |
static boolean |
MemoryAegis.assertByteArrayRange(byte[] bytes,
int offset,
int length)
Asserts that an on-heap byte-array slice is valid.
|
static boolean |
MemoryAegis.assertByteArrayRange(byte[] bytes,
int offset,
int length)
Asserts that an on-heap byte-array slice is valid.
|
static boolean |
MemoryAegis.assertCharArrayRange(char[] chars,
int offset,
int length)
Asserts that an on-heap char-array slice is valid.
|
static boolean |
MemoryAegis.assertCharArrayRange(char[] chars,
int offset,
int length)
Asserts that an on-heap char-array slice is valid.
|
static boolean |
MemoryAegis.assertObjectRange(@NotNull Object object,
long offset,
long length)
Asserts that the byte range
[offset, offset + length) is a
valid object-relative Unsafe access on object. |
static boolean |
MemoryAegis.assertObjectRange(@NotNull Object object,
long offset,
long length)
Asserts that the byte range
[offset, offset + length) is a
valid object-relative Unsafe access on object. |
static boolean |
MemoryAegis.assertStringRange(@NotNull String text,
int start,
int length)
Asserts that a string slice is valid.
|
static boolean |
MemoryAegis.assertStringRange(@NotNull String text,
int start,
int length)
Asserts that a string slice is valid.
|
Copyright © 2026 Chronicle Software Ltd. All rights reserved.