Skip navigation links
A B C D F G H I J L M O P R S U W X Z 

A

ADDRESS_SIZE - Static variable in class com.yahoo.memory.UnsafeUtil
 
allocate(int) - Static method in class com.yahoo.memory.WritableMemory
Creates on-heap WritableMemory with the given capacity and the native byte order.
allocate(int, ByteOrder) - Static method in class com.yahoo.memory.WritableMemory
Creates on-heap WritableMemory with the given capacity and the given byte order.
allocateDirect(long) - Static method in class com.yahoo.memory.WritableMemory
Allocates and provides access to capacityBytes directly in native (off-heap) memory leveraging the WritableMemory API.
allocateDirect(long, MemoryRequestServer) - Static method in class com.yahoo.memory.WritableMemory
Allocates and provides access to capacityBytes directly in native (off-heap) memory leveraging the WritableMemory API.
ARRAY_BOOLEAN_BASE_OFFSET - Static variable in class com.yahoo.memory.UnsafeUtil
 
ARRAY_BOOLEAN_INDEX_SCALE - Static variable in class com.yahoo.memory.UnsafeUtil
 
ARRAY_BYTE_BASE_OFFSET - Static variable in class com.yahoo.memory.UnsafeUtil
 
ARRAY_BYTE_INDEX_SCALE - Static variable in class com.yahoo.memory.UnsafeUtil
 
ARRAY_CHAR_BASE_OFFSET - Static variable in class com.yahoo.memory.UnsafeUtil
 
ARRAY_CHAR_INDEX_SCALE - Static variable in class com.yahoo.memory.UnsafeUtil
 
ARRAY_DOUBLE_BASE_OFFSET - Static variable in class com.yahoo.memory.UnsafeUtil
 
ARRAY_DOUBLE_INDEX_SCALE - Static variable in class com.yahoo.memory.UnsafeUtil
 
ARRAY_FLOAT_BASE_OFFSET - Static variable in class com.yahoo.memory.UnsafeUtil
 
ARRAY_FLOAT_INDEX_SCALE - Static variable in class com.yahoo.memory.UnsafeUtil
 
ARRAY_INT_BASE_OFFSET - Static variable in class com.yahoo.memory.UnsafeUtil
 
ARRAY_INT_INDEX_SCALE - Static variable in class com.yahoo.memory.UnsafeUtil
 
ARRAY_LONG_BASE_OFFSET - Static variable in class com.yahoo.memory.UnsafeUtil
 
ARRAY_LONG_INDEX_SCALE - Static variable in class com.yahoo.memory.UnsafeUtil
 
ARRAY_OBJECT_BASE_OFFSET - Static variable in class com.yahoo.memory.UnsafeUtil
 
ARRAY_OBJECT_INDEX_SCALE - Static variable in class com.yahoo.memory.UnsafeUtil
 
ARRAY_SHORT_BASE_OFFSET - Static variable in class com.yahoo.memory.UnsafeUtil
 
ARRAY_SHORT_INDEX_SCALE - Static variable in class com.yahoo.memory.UnsafeUtil
 
asBuffer() - Method in class com.yahoo.memory.Memory
Returns a new Buffer view of this object.
asBuffer(ByteOrder) - Method in class com.yahoo.memory.Memory
Returns a new Buffer view of this object, with the given byte order.
asMemory() - Method in class com.yahoo.memory.Buffer
Convert this Buffer to a Memory.
assertBounds(long, long, long) - Static method in class com.yahoo.memory.UnsafeUtil
Assert the requested offset and length against the allocated size.
asWritableBuffer() - Method in class com.yahoo.memory.WritableMemory
Returns a new WritableBuffer with a writable view of this object.
asWritableBuffer(ByteOrder) - Method in class com.yahoo.memory.WritableMemory
Returns a new WritableBuffer with a writable view of this object with the given byte order.
asWritableMemory() - Method in class com.yahoo.memory.WritableBuffer
Convert this WritableBuffer to a WritableMemory.

B

BaseBuffer - Class in com.yahoo.memory
A new positional API.
binarySearchLongs(Memory, long, long, long) - Static method in class com.yahoo.memory.Util
Searches a range of the specified array of longs for the specified value using the binary search algorithm.
BOOLEAN_SHIFT - Static variable in class com.yahoo.memory.UnsafeUtil
 
Buffer - Class in com.yahoo.memory
Provides read-only, positional primitive and primitive array methods to any of the four resources mentioned in the package level documentation.
BYTE_SHIFT - Static variable in class com.yahoo.memory.UnsafeUtil
 

C

CHAR_SHIFT - Static variable in class com.yahoo.memory.UnsafeUtil
 
characterPad(String, int, char, boolean) - Static method in class com.yahoo.memory.Util
Prepend or postpend the given string with the given character to fill the given field length.
checkBounds(long, long, long) - Static method in class com.yahoo.memory.UnsafeUtil
Check the requested offset and length against the allocated size.
clear() - Method in class com.yahoo.memory.WritableBuffer
Clears all bytes of this Buffer from position to end to zero.
clear() - Method in class com.yahoo.memory.WritableMemory
Clears all bytes of this Memory to zero
clear(long, long) - Method in class com.yahoo.memory.WritableMemory
Clears a portion of this Memory to zero.
clearBits(long, byte) - Method in class com.yahoo.memory.WritableMemory
Clears the bits defined by the bitMask
close() - Method in interface com.yahoo.memory.Handle
 
close() - Method in class com.yahoo.memory.MapHandle
 
close() - Method in class com.yahoo.memory.WritableDirectHandle
 
com.yahoo.memory - package com.yahoo.memory
This package provides high performance primitive and primitive array access to direct (native), off-heap memory and memory-mapped file resources, and consistent views into ByteBuffer, and on-heap primitive arrays.
compareAndSwapLong(long, long, long) - Method in class com.yahoo.memory.WritableMemory
Atomically sets the current value at the memory location to the given updated value if and only if the current value == the expected value.
compareTo(long, long, Buffer, long, long) - Method in class com.yahoo.memory.Buffer
Compares the bytes of this Buffer to that Buffer.
compareTo(long, long, Memory, long, long) - Method in class com.yahoo.memory.Memory
Compares the bytes of this Memory to that Memory.
copyTo(long, WritableMemory, long, long) - Method in class com.yahoo.memory.Memory
Copies bytes from a source range of this Memory to a destination range of the given Memory with the same semantics when copying between overlapping ranges of bytes as method System.arraycopy(Object, int, Object, int, int) has.

D

DefaultMemoryRequestServer - Class in com.yahoo.memory
This is a simple implementation of the MemoryRequestServer that creates space on the Java heap for the requesting application.
DefaultMemoryRequestServer() - Constructor for class com.yahoo.memory.DefaultMemoryRequestServer
 
DOUBLE_SHIFT - Static variable in class com.yahoo.memory.UnsafeUtil
 
duplicate() - Method in class com.yahoo.memory.Buffer
Returns a read-only duplicate view of this Buffer with the same but independent values of start, position and end.
duplicate(ByteOrder) - Method in class com.yahoo.memory.Buffer
Returns a read-only duplicate view of this Buffer with the same but independent values of start, position and end, but with the specified byteOrder.

F

fill(byte) - Method in class com.yahoo.memory.WritableBuffer
Fills this Buffer from position to end with the given byte value.
fill(byte) - Method in class com.yahoo.memory.WritableMemory
Fills all bytes of this Memory region to the given byte value.
fill(long, long, byte) - Method in class com.yahoo.memory.WritableMemory
Fills a portion of this Memory region to the given byte value.
fillCodePointArray(int[]) - Method in class com.yahoo.memory.Util.RandomCodePoints
Fills the given array with random valid Code Points from 0, inclusive, to Character.MAX_CODE_POINT, inclusive.
fillCodePointArray(int[], int, int) - Method in class com.yahoo.memory.Util.RandomCodePoints
Fills the given array with random valid Code Points from startCP, inclusive, to endCP, exclusive.
FLOAT_SHIFT - Static variable in class com.yahoo.memory.UnsafeUtil
 
force() - Method in class com.yahoo.memory.WritableMapHandle
 

G

get() - Method in interface com.yahoo.memory.Handle
Gets a Memory
get() - Method in class com.yahoo.memory.MapHandle
 
get() - Method in class com.yahoo.memory.WritableDirectHandle
 
get() - Method in interface com.yahoo.memory.WritableHandle
Gets a WritableMemory
get() - Method in class com.yahoo.memory.WritableMapHandle
 
getAndAddLong(long, long) - Method in class com.yahoo.memory.WritableMemory
Atomically adds the given value to the long located at offsetBytes.
getAndSetLong(long, long) - Method in class com.yahoo.memory.WritableMemory
Atomically exchanges the given value with the current value located at offsetBytes.
getArray() - Method in class com.yahoo.memory.WritableBuffer
Returns the primitive backing array, otherwise null.
getArray() - Method in class com.yahoo.memory.WritableMemory
Returns the primitive backing array, otherwise null.
getBoolean() - Method in class com.yahoo.memory.Buffer
Gets the boolean value at the current position.
getBoolean(long) - Method in class com.yahoo.memory.Buffer
Gets the boolean value at the given offset.
getBoolean(long) - Method in class com.yahoo.memory.Memory
Gets the boolean value at the given offset
getBooleanArray(boolean[], int, int) - Method in class com.yahoo.memory.Buffer
Gets the boolean array at the current position.
getBooleanArray(long, boolean[], int, int) - Method in class com.yahoo.memory.Memory
Gets the boolean array at the given offset
getByte() - Method in class com.yahoo.memory.Buffer
Gets the byte value at the current position.
getByte(long) - Method in class com.yahoo.memory.Buffer
Gets the byte value at the given offset.
getByte(long) - Method in class com.yahoo.memory.Memory
Gets the byte value at the given offset
getByteArray(byte[], int, int) - Method in class com.yahoo.memory.Buffer
Gets the byte array at the current position.
getByteArray(long, byte[], int, int) - Method in class com.yahoo.memory.Memory
Gets the byte array at the given offset
getChar() - Method in class com.yahoo.memory.Buffer
Gets the char value at the current position.
getChar(long) - Method in class com.yahoo.memory.Buffer
Gets the char value at the given offset.
getChar(long) - Method in class com.yahoo.memory.Memory
Gets the char value at the given offset
getCharArray(char[], int, int) - Method in class com.yahoo.memory.Buffer
Gets the char array at the current position.
getCharArray(long, char[], int, int) - Method in class com.yahoo.memory.Memory
Gets the char array at the given offset
getCharsFromUtf8(long, int, Appendable) - Method in class com.yahoo.memory.Memory
Gets UTF-8 encoded bytes from this Memory, starting at offsetBytes to a length of utf8LengthBytes, decodes them into characters and appends them to the given Appendable.
getCharsFromUtf8(long, int, StringBuilder) - Method in class com.yahoo.memory.Memory
Gets UTF-8 encoded bytes from this Memory, starting at offsetBytes to a length of utf8LengthBytes, decodes them into characters and appends them to the given StringBuilder.
getCodePoint() - Method in class com.yahoo.memory.Util.RandomCodePoints
Return a single valid random Code Point from 0, inclusive, to Character.MAX_CODE_POINT, inclusive.
getCodePoint(int, int) - Method in class com.yahoo.memory.Util.RandomCodePoints
Return a single valid random Code Point from startCP, inclusive, to endCP, exclusive.
getDouble() - Method in class com.yahoo.memory.Buffer
Gets the double value at the current position.
getDouble(long) - Method in class com.yahoo.memory.Buffer
Gets the double value at the given offset.
getDouble(long) - Method in class com.yahoo.memory.Memory
Gets the double value at the given offset
getDoubleArray(double[], int, int) - Method in class com.yahoo.memory.Buffer
Gets the double array at the current position.
getDoubleArray(long, double[], int, int) - Method in class com.yahoo.memory.Memory
Gets the double array at the given offset
getEnd() - Method in class com.yahoo.memory.BaseBuffer
Gets the end position
getFloat() - Method in class com.yahoo.memory.Buffer
Gets the float value at the current position.
getFloat(long) - Method in class com.yahoo.memory.Buffer
Gets the float value at the given offset.
getFloat(long) - Method in class com.yahoo.memory.Memory
Gets the float value at the given offset
getFloatArray(float[], int, int) - Method in class com.yahoo.memory.Buffer
Gets the float array at the current position.
getFloatArray(long, float[], int, int) - Method in class com.yahoo.memory.Memory
Gets the float array at the given offset
getInt() - Method in class com.yahoo.memory.Buffer
Gets the int value at the current position.
getInt(long) - Method in class com.yahoo.memory.Buffer
Gets the int value at the given offset.
getInt(long) - Method in class com.yahoo.memory.Memory
Gets the int value at the given offset
getIntArray(int[], int, int) - Method in class com.yahoo.memory.Buffer
Gets the int array at the current position.
getIntArray(long, int[], int, int) - Method in class com.yahoo.memory.Memory
Gets the int array at the given offset
getLong() - Method in class com.yahoo.memory.Buffer
Gets the long value at the current position.
getLong(long) - Method in class com.yahoo.memory.Buffer
Gets the long value at the given offset.
getLong(long) - Method in class com.yahoo.memory.Memory
Gets the long value at the given offset
getLongArray(long[], int, int) - Method in class com.yahoo.memory.Buffer
Gets the long array at the current position.
getLongArray(long, long[], int, int) - Method in class com.yahoo.memory.Memory
Gets the long array at the given offset
getMemoryRequestServer() - Method in class com.yahoo.memory.WritableBuffer
For Direct Memory only.
getMemoryRequestServer() - Method in class com.yahoo.memory.WritableMemory
For Direct Memory only.
getPosition() - Method in class com.yahoo.memory.BaseBuffer
Gets the current position
getRemaining() - Method in class com.yahoo.memory.BaseBuffer
The number of elements remaining between the current position and the end position
getShort() - Method in class com.yahoo.memory.Buffer
Gets the short value at the current position.
getShort(long) - Method in class com.yahoo.memory.Buffer
Gets the short value at the given offset.
getShort(long) - Method in class com.yahoo.memory.Memory
Gets the short value at the given offset
getShortArray(short[], int, int) - Method in class com.yahoo.memory.Buffer
Gets the short array at the current position.
getShortArray(long, short[], int, int) - Method in class com.yahoo.memory.Memory
Gets the short array at the given offset
getStart() - Method in class com.yahoo.memory.BaseBuffer
Gets start position

H

Handle - Interface in com.yahoo.memory
A handle for read-only resource.
hashBooleans(boolean[], long, long, long) - Static method in class com.yahoo.memory.XxHash64
Hash the given arr starting at the given offset and continuing for the given length using the given seed.
hashBytes(byte[], long, long, long) - Static method in class com.yahoo.memory.XxHash64
Hash the given arr starting at the given offset and continuing for the given length using the given seed.
hashChars(char[], long, long, long) - Static method in class com.yahoo.memory.XxHash64
Hash the given arr starting at the given offset and continuing for the given length using the given seed.
hashDoubles(double[], long, long, long) - Static method in class com.yahoo.memory.XxHash64
Hash the given arr starting at the given offset and continuing for the given length using the given seed.
hashFloats(float[], long, long, long) - Static method in class com.yahoo.memory.XxHash64
Hash the given arr starting at the given offset and continuing for the given length using the given seed.
hashInts(int[], long, long, long) - Static method in class com.yahoo.memory.XxHash64
Hash the given arr starting at the given offset and continuing for the given length using the given seed.
hashLongs(long[], long, long, long) - Static method in class com.yahoo.memory.XxHash64
Hash the given arr starting at the given offset and continuing for the given length using the given seed.
hashShorts(short[], long, long, long) - Static method in class com.yahoo.memory.XxHash64
Hash the given arr starting at the given offset and continuing for the given length using the given seed.
hasRemaining() - Method in class com.yahoo.memory.BaseBuffer
Returns true if there are elements remaining between the current position and the end position

I

incrementAndCheckPosition(long) - Method in class com.yahoo.memory.BaseBuffer
Increments the current position by the given increment.
incrementPosition(long) - Method in class com.yahoo.memory.BaseBuffer
Increments the current position by the given increment.
INT_SHIFT - Static variable in class com.yahoo.memory.UnsafeUtil
 
isAllBitsClear(long, long) - Static method in class com.yahoo.memory.Util
Return true if all the masked bits of value are zero
isAllBitsSet(long, long) - Static method in class com.yahoo.memory.Util
Return true if all the masked bits of value are one
isAnyBitsClear(long, long) - Static method in class com.yahoo.memory.Util
Return true if any the masked bits of value are zero
isAnyBitsSet(long, long) - Static method in class com.yahoo.memory.Util
Return true if any the masked bits of value are one
isLoaded() - Method in class com.yahoo.memory.MapHandle
 

J

JDK - Static variable in class com.yahoo.memory.UnsafeUtil
 

L

load() - Method in class com.yahoo.memory.MapHandle
 
LONG_SHIFT - Static variable in class com.yahoo.memory.UnsafeUtil
 
LS - Static variable in class com.yahoo.memory.UnsafeUtil
 

M

map(File) - Static method in class com.yahoo.memory.Memory
Maps the entire given file into native-ordered Memory for read operations (including those > 2GB).
map(File, long, long, ByteOrder) - Static method in class com.yahoo.memory.Memory
Maps the specified portion of the given file into Memory for read operations (including those > 2GB).
map(File) - Static method in class com.yahoo.memory.WritableMemory
Maps the entire given file into native-ordered Memory for write operations (including those > 2GB).
map(File, long, long, ByteOrder) - Static method in class com.yahoo.memory.WritableMemory
Maps the specified portion of the given file into Memory for write operations (including those > 2GB).
MapHandle - Class in com.yahoo.memory
A Handle for a memory-mapped, read-only file resource.
Memory - Class in com.yahoo.memory
Provides read-only primitive and primitive array methods to any of the four resources mentioned in the package level documentation.
MemoryRequestServer - Interface in com.yahoo.memory
The MemoryRequestServer is a callback interface to provide a means for a direct (off-heap), dynamic WritableMemory object to request more memory from the owner of the WritableDirectHandle.

O

OBJECT_SHIFT - Static variable in class com.yahoo.memory.UnsafeUtil
 

P

putBoolean(boolean) - Method in class com.yahoo.memory.WritableBuffer
Puts the boolean value at the current position.
putBoolean(long, boolean) - Method in class com.yahoo.memory.WritableBuffer
Puts the boolean value at the given offset.
putBoolean(long, boolean) - Method in class com.yahoo.memory.WritableMemory
Puts the boolean value at the given offset
putBooleanArray(boolean[], int, int) - Method in class com.yahoo.memory.WritableBuffer
Puts the boolean array at the current position.
putBooleanArray(long, boolean[], int, int) - Method in class com.yahoo.memory.WritableMemory
Puts the boolean array at the given offset
putByte(byte) - Method in class com.yahoo.memory.WritableBuffer
Puts the byte value at the current position.
putByte(long, byte) - Method in class com.yahoo.memory.WritableBuffer
Puts the byte value at the given offset.
putByte(long, byte) - Method in class com.yahoo.memory.WritableMemory
Puts the byte value at the given offset
putByteArray(byte[], int, int) - Method in class com.yahoo.memory.WritableBuffer
Puts the byte array at the current position.
putByteArray(long, byte[], int, int) - Method in class com.yahoo.memory.WritableMemory
Puts the byte array at the given offset
putChar(char) - Method in class com.yahoo.memory.WritableBuffer
Puts the char value at the current position.
putChar(long, char) - Method in class com.yahoo.memory.WritableBuffer
Puts the char value at the given offset.
putChar(long, char) - Method in class com.yahoo.memory.WritableMemory
Puts the char value at the given offset
putCharArray(char[], int, int) - Method in class com.yahoo.memory.WritableBuffer
Puts the char array at the current position.
putCharArray(long, char[], int, int) - Method in class com.yahoo.memory.WritableMemory
Puts the char array at the given offset
putCharsToUtf8(long, CharSequence) - Method in class com.yahoo.memory.WritableMemory
Encodes characters from the given CharSequence into UTF-8 bytes and puts them into this WritableMemory begining at the given offsetBytes.
putDouble(double) - Method in class com.yahoo.memory.WritableBuffer
Puts the double value at the current position.
putDouble(long, double) - Method in class com.yahoo.memory.WritableBuffer
Puts the double value at the given offset.
putDouble(long, double) - Method in class com.yahoo.memory.WritableMemory
Puts the double value at the given offset
putDoubleArray(double[], int, int) - Method in class com.yahoo.memory.WritableBuffer
Puts the double array at the current position.
putDoubleArray(long, double[], int, int) - Method in class com.yahoo.memory.WritableMemory
Puts the double array at the given offset
putFloat(float) - Method in class com.yahoo.memory.WritableBuffer
Puts the float value at the current position.
putFloat(long, float) - Method in class com.yahoo.memory.WritableBuffer
Puts the float value at the given offset.
putFloat(long, float) - Method in class com.yahoo.memory.WritableMemory
Puts the float value at the given offset
putFloatArray(float[], int, int) - Method in class com.yahoo.memory.WritableBuffer
Puts the float array at the current position.
putFloatArray(long, float[], int, int) - Method in class com.yahoo.memory.WritableMemory
Puts the float array at the given offset
putInt(int) - Method in class com.yahoo.memory.WritableBuffer
Puts the int value at the current position.
putInt(long, int) - Method in class com.yahoo.memory.WritableBuffer
Puts the int value at the given offset.
putInt(long, int) - Method in class com.yahoo.memory.WritableMemory
Puts the int value at the given offset
putIntArray(int[], int, int) - Method in class com.yahoo.memory.WritableBuffer
Puts the int array at the current position.
putIntArray(long, int[], int, int) - Method in class com.yahoo.memory.WritableMemory
Puts the int array at the given offset
putLong(long) - Method in class com.yahoo.memory.WritableBuffer
Puts the long value at the current position.
putLong(long, long) - Method in class com.yahoo.memory.WritableBuffer
Puts the long value at the given offset.
putLong(long, long) - Method in class com.yahoo.memory.WritableMemory
Puts the long value at the given offset
putLongArray(long[], int, int) - Method in class com.yahoo.memory.WritableBuffer
Puts the long array at the current position.
putLongArray(long, long[], int, int) - Method in class com.yahoo.memory.WritableMemory
Puts the long array at the given offset
putShort(short) - Method in class com.yahoo.memory.WritableBuffer
Puts the short value at the current position.
putShort(long, short) - Method in class com.yahoo.memory.WritableBuffer
Puts the short value at the given offset.
putShort(long, short) - Method in class com.yahoo.memory.WritableMemory
Puts the short value at the given offset
putShortArray(short[], int, int) - Method in class com.yahoo.memory.WritableBuffer
Puts the short array at the current position.
putShortArray(long, short[], int, int) - Method in class com.yahoo.memory.WritableMemory
Puts the short array at the given offset

R

RandomCodePoints(boolean) - Constructor for class com.yahoo.memory.Util.RandomCodePoints
 
ReadOnlyException - Exception in com.yahoo.memory
The exception thrown when attempting to write into a read-only Resource.
ReadOnlyException(String) - Constructor for exception com.yahoo.memory.ReadOnlyException
 
region() - Method in class com.yahoo.memory.Buffer
A region is a read-only view of this object.
region(long, long, ByteOrder) - Method in class com.yahoo.memory.Buffer
A region is a read-only view of this object.
region(long, long) - Method in class com.yahoo.memory.Memory
A region is a read-only view of this object.
region(long, long, ByteOrder) - Method in class com.yahoo.memory.Memory
A region is a read-only view of this object.
request(long) - Method in class com.yahoo.memory.DefaultMemoryRequestServer
Request new WritableMemory with the given capacity.
request(long) - Method in interface com.yahoo.memory.MemoryRequestServer
Request new WritableMemory with the given capacity.
requestClose(WritableMemory, WritableMemory) - Method in class com.yahoo.memory.DefaultMemoryRequestServer
Request close the AutoCloseable resource.
requestClose(WritableMemory, WritableMemory) - Method in interface com.yahoo.memory.MemoryRequestServer
Request close the AutoCloseable resource.
resetPosition() - Method in class com.yahoo.memory.BaseBuffer
Resets the current position to the start position, This does not modify any data.

S

setAndCheckPosition(long) - Method in class com.yahoo.memory.BaseBuffer
Sets the current position.
setAndCheckStartPositionEnd(long, long, long) - Method in class com.yahoo.memory.BaseBuffer
Sets start position, current position, and end position.
setBits(long, byte) - Method in class com.yahoo.memory.WritableMemory
Sets the bits defined by the bitMask
setPosition(long) - Method in class com.yahoo.memory.BaseBuffer
Sets the current position.
setStartPositionEnd(long, long, long) - Method in class com.yahoo.memory.BaseBuffer
Sets start position, current position, and end position.
SHORT_SHIFT - Static variable in class com.yahoo.memory.UnsafeUtil
 

U

unsafe - Static variable in class com.yahoo.memory.UnsafeUtil
 
unsafeByteBufferView(long, int) - Method in class com.yahoo.memory.Memory
Returns the specified region of this Memory object as a new read-only ByteBuffer object.
UnsafeUtil - Class in com.yahoo.memory
Provides access to the sun.misc.Unsafe class and its key static fields.
Utf8CodingException - Exception in com.yahoo.memory
This exception will be thrown for errors encountered during either the encoding of characters to Utf8 bytes, or the decoding of Utf8 bytes to characters.
Utf8CodingException(String) - Constructor for exception com.yahoo.memory.Utf8CodingException
 
Util - Class in com.yahoo.memory
 
Util.RandomCodePoints - Class in com.yahoo.memory
Creates random valid Character Code Points (as integers).

W

wrap(ByteBuffer) - Static method in class com.yahoo.memory.Buffer
Accesses the given ByteBuffer for read-only operations.
wrap(ByteBuffer, ByteOrder) - Static method in class com.yahoo.memory.Buffer
Accesses the given ByteBuffer for read-only operations.
wrap(ByteBuffer) - Static method in class com.yahoo.memory.Memory
Accesses the given ByteBuffer for read-only operations.
wrap(ByteBuffer, ByteOrder) - Static method in class com.yahoo.memory.Memory
Accesses the given ByteBuffer for read-only operations.
wrap(boolean[]) - Static method in class com.yahoo.memory.Memory
Wraps the given primitive array for read operations assuming native byte order.
wrap(byte[]) - Static method in class com.yahoo.memory.Memory
Wraps the given primitive array for read operations assuming native byte order.
wrap(byte[], ByteOrder) - Static method in class com.yahoo.memory.Memory
Wraps the given primitive array for read operations with the given byte order.
wrap(byte[], int, int, ByteOrder) - Static method in class com.yahoo.memory.Memory
Wraps the given primitive array for read operations with the given byte order.
wrap(char[]) - Static method in class com.yahoo.memory.Memory
Wraps the given primitive array for read operations assuming native byte order.
wrap(short[]) - Static method in class com.yahoo.memory.Memory
Wraps the given primitive array for read operations assuming native byte order.
wrap(int[]) - Static method in class com.yahoo.memory.Memory
Wraps the given primitive array for read operations assuming native byte order.
wrap(long[]) - Static method in class com.yahoo.memory.Memory
Wraps the given primitive array for read operations assuming native byte order.
wrap(float[]) - Static method in class com.yahoo.memory.Memory
Wraps the given primitive array for read operations assuming native byte order.
wrap(double[]) - Static method in class com.yahoo.memory.Memory
Wraps the given primitive array for read operations assuming native byte order.
wrap(ByteBuffer) - Static method in class com.yahoo.memory.WritableBuffer
Accesses the given ByteBuffer for write operations.
wrap(ByteBuffer, ByteOrder) - Static method in class com.yahoo.memory.WritableBuffer
Accesses the given ByteBuffer for write operations.
wrap(ByteBuffer) - Static method in class com.yahoo.memory.WritableMemory
Accesses the given ByteBuffer for write operations.
wrap(ByteBuffer, ByteOrder) - Static method in class com.yahoo.memory.WritableMemory
Accesses the given ByteBuffer for write operations.
wrap(boolean[]) - Static method in class com.yahoo.memory.WritableMemory
Wraps the given primitive array for write operations assuming native byte order.
wrap(byte[]) - Static method in class com.yahoo.memory.WritableMemory
Wraps the given primitive array for write operations assuming native byte order.
wrap(byte[], ByteOrder) - Static method in class com.yahoo.memory.WritableMemory
Wraps the given primitive array for write operations with the given byte order.
wrap(byte[], int, int, ByteOrder) - Static method in class com.yahoo.memory.WritableMemory
Wraps the given primitive array for write operations with the given byte order.
wrap(char[]) - Static method in class com.yahoo.memory.WritableMemory
Wraps the given primitive array for write operations assuming native byte order.
wrap(short[]) - Static method in class com.yahoo.memory.WritableMemory
Wraps the given primitive array for write operations assuming native byte order.
wrap(int[]) - Static method in class com.yahoo.memory.WritableMemory
Wraps the given primitive array for write operations assuming native byte order.
wrap(long[]) - Static method in class com.yahoo.memory.WritableMemory
Wraps the given primitive array for write operations assuming native byte order.
wrap(float[]) - Static method in class com.yahoo.memory.WritableMemory
Wraps the given primitive array for write operations assuming native byte order.
wrap(double[]) - Static method in class com.yahoo.memory.WritableMemory
Wraps the given primitive array for write operations assuming native byte order.
WritableBuffer - Class in com.yahoo.memory
Provides read and write, positional primitive and primitive array access to any of the four resources mentioned at the package level.
WritableDirectHandle - Class in com.yahoo.memory
A Handle for a writable direct memory resource.
writableDuplicate() - Method in class com.yahoo.memory.WritableBuffer
Returns a duplicate writable view of this Buffer with the same but independent values of start, position and end.
writableDuplicate(ByteOrder) - Method in class com.yahoo.memory.WritableBuffer
Returns a duplicate writable view of this Buffer with the same but independent values of start, position and end, but with the specified byteOrder.
WritableHandle - Interface in com.yahoo.memory
A Handle for writable direct memory or a memory-mapped, writable file resource.
WritableMapHandle - Class in com.yahoo.memory
A Handle for a memory-mapped, writable file resource.
WritableMemory - Class in com.yahoo.memory
Provides read and write primitive and primitive array access to any of the four resources mentioned at the package level.
writableRegion() - Method in class com.yahoo.memory.WritableBuffer
A writable region is a writable view of this object.
writableRegion(long, long, ByteOrder) - Method in class com.yahoo.memory.WritableBuffer
A writable region is a writable view of this object.
writableRegion(long, long) - Method in class com.yahoo.memory.WritableMemory
A writable region is a writable view of this object.
writableRegion(long, long, ByteOrder) - Method in class com.yahoo.memory.WritableMemory
A writable region is a writable view of this object.
writeTo(long, long, WritableByteChannel) - Method in class com.yahoo.memory.Memory
Writes bytes from a source range of this Memory to the given WritableByteChannel.

X

XxHash64 - Class in com.yahoo.memory
The XxHash is a fast, non-cryptographic, 64-bit hash function that has excellent avalanche and 2-way bit independence properties.
XxHash64() - Constructor for class com.yahoo.memory.XxHash64
 

Z

zeroPad(String, int) - Static method in class com.yahoo.memory.Util
Prepend the given string with zeros.
A B C D F G H I J L M O P R S U W X Z 
Skip navigation links

Copyright © 2015–2019 Yahoo! Inc.. All rights reserved.