| Modifier and Type | Field and Description |
|---|---|
| public static final String | |
| protected long | size
The total size of the memory area |
| protected int | typeSize
The size of each element of this memory area - e.g. :char is 1, :int is 4 |
| Access | Constructor and Description |
|---|---|
| protected | |
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected MemoryIO | |
| public final IRubyObject | |
| protected static final int | |
| pack-priv static AbstractMemory | |
| protected static final RubyArray | |
| private static int | |
| public IRubyObject | |
| public static RubyClass | |
| public boolean | Returns: true if the memory address ofobj is equal to the address
of this MemoryPointer.The other obj)MemoryPointer to compare to.Overrides org. Compares this |
| public final IRubyObject | |
| public IRubyObject | Returns: An array containing the values.The thread context. context, IRubyObject The offset from the start of the memory area to read the values. offset, IRubyObject The number of values to be read from memory. length)Reads an array of signed 32 bit floating point values from the memory address. |
| public IRubyObject | Returns: An array containing the values.The thread context. context, IRubyObject The offset from the start of the memory area to read the values. offset, IRubyObject The number of values to be read from memory. length)Reads an array of signed 64 bit floating point values from the memory address. |
| public IRubyObject | Returns: An array containing the values.The thread context. context, IRubyObject The offset from the start of the memory area to read the values. offset, IRubyObject The number of values to be read from memory. length)Reads an array of signed 16 bit integer values from the memory address. |
| public IRubyObject | Returns: An array containing the values.The thread context. context, IRubyObject The offset from the start of the memory area to read the values. offset, IRubyObject The number of values to be read from memory. length)Reads an array of signed 32 bit integer values from the memory address. |
| public IRubyObject | Returns: An array containing the values.The thread context. context, IRubyObject The offset from the start of the memory area to read the values. offset, IRubyObject The number of values to be read from memory. length)Reads an array of signed 64 bit integer values from the memory address. |
| public IRubyObject | Returns: An array containing the values.the thread context context, IRubyObject The offset from the start of the memory area to read the values. offset, IRubyObject The number of values to be read from memory. length)Reads an array of signed 8 bit integer values from the memory address. |
| public IRubyObject | Returns: An array containing the values.The thread context. context, IRubyObject The offset from the start of the memory area to read the values. offset, IRubyObject The number of values to be read from memory. length)Reads an array of signed long integer values from the memory address. |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | Returns: An array containing the values.The thread context. context, IRubyObject The offset from the start of the memory area to read the values. offset, IRubyObject The number of values to be read from memory. length)Reads an array of unsigned 16 bit integer values from the memory address. |
| public IRubyObject | Returns: An array containing the values.The thread context. context, IRubyObject The offset from the start of the memory area to read the values. offset, IRubyObject The number of values to be read from memory. length)Reads an array of unsigned 32 bit integer values from the memory address. |
| public IRubyObject | Returns: An array containing the values.The thread context. context, IRubyObject The offset from the start of the memory area to read the values. offset, IRubyObject The number of values to be read from memory. length)Reads an array of unsigned 64 bit integer values from the memory address. |
| public IRubyObject | Returns: An array containing the values.The thread context. context, IRubyObject The offset from the start of the memory area to read the values. offset, IRubyObject The number of values to be read from memory. length)Reads an array of unsigned 8 bit integer values from the memory address. |
| public IRubyObject | Returns: An array containing the values.The thread context. context, IRubyObject The offset from the start of the memory area to read the values. offset, IRubyObject The number of values to be read from memory. length)Reads an array of unsigned long integer values from the memory address. |
| public IRubyObject | |
| public IRubyObject | Returns: The value read from the address.the thread context context)Reads a 32 bit floating point value from the memory address. |
| public IRubyObject | Returns: The value read from the address.the thread context context, IRubyObject The offset from the base pointer address to read the value. offset)Reads a 32 bit floating point value from the memory address. |
| public IRubyObject | Returns: The value read from the address.the thread context context)Reads a 64 bit floating point value from the memory address. |
| public IRubyObject | Returns: The value read from the address.the thread context context, IRubyObject The offset from the base pointer address to read the value. offset)Reads a 64 bit floating point value from the memory address. |
| public IRubyObject | Returns: The value read from the address.the thread context context)Reads a 16 bit signed integer value from the memory address. |
| public IRubyObject | Returns: The value read from the address.the thread context context, IRubyObject The offset from the base pointer address to read the value. offset)Reads a 16 bit signed integer value from the memory address. |
| public IRubyObject | Returns: The value read from the address.the thread context context)Reads a 32 bit signed integer value from the memory address. |
| public IRubyObject | Returns: The value read from the address.the thread context context, IRubyObject The offset from the base pointer address to read the value. offset)Reads a 32 bit signed integer value from the memory address. |
| public IRubyObject | Returns: The value read from the address.the thread context context)Reads a 64 bit integer value from the memory address. |
| public IRubyObject | Returns: The value read from the address.the thread context context, IRubyObject The offset from the base pointer address to read the value. offset)Reads a 64 bit integer value from the memory address. |
| public IRubyObject | Returns: The value read from the address.the thread context context)Reads an 8 bit signed integer value from the memory address. |
| public IRubyObject | Returns: The value read from the address.the thread context context, IRubyObject The offset from the base pointer address to read the value. offset)Reads an 8 bit signed integer value from the memory address. |
| public IRubyObject | Returns: The value read.the thread context context)Reads a C long integer value from the memory area. |
| public IRubyObject | Returns: The value read.the thread context context, IRubyObject The offset from the base pointer address to read the value. offset)Reads a C long integer value from the memory area. |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | Returns: The value read from the address.the thread context context)Reads a 16 bit unsigned integer value from the memory address. |
| public IRubyObject | Returns: The value read from the address.the thread context context, IRubyObject The offset from the base pointer address to read the value. offset)Reads a 16 bit unsigned integer value from the memory address. |
| public IRubyObject | Returns: The value read from the address.the thread context context)Reads a 32 bit unsigned integer value from the memory address. |
| public IRubyObject | Returns: The value read from the address.the thread context context, IRubyObject The offset from the base pointer address to read the value. offset)Reads a 32 bit unsigned integer value from the memory address. |
| public IRubyObject | Returns: The value read from the address.the thread context context)Reads a 64 bit unsigned integer value from the memory address. |
| public IRubyObject | Returns: The value read from the address.the thread context context, IRubyObject The offset from the base pointer address to read the value. offset)Reads a 64 bit unsigned integer value from the memory address. |
| public IRubyObject | Returns: The value read from the address.the thread context context)Reads an 8 bit unsigned integer value from the memory address. |
| public IRubyObject | Returns: The value read from the address.the thread context context, IRubyObject The offset from the base pointer address to read the value. offset)Reads an 8 bit unsigned integer value from the memory address. |
| public IRubyObject | Returns: The value read.the thread context context)Reads a C unsigned long integer value from the memory area. |
| public IRubyObject | Returns: The value read.the thread context context, IRubyObject The offset from the base pointer address to read the value. offset)Reads a C unsigned long integer value from the memory area. |
| protected final long | Returns: The total offset from the base memory pointer.The offset to add to the base offset. offset)Calculates the absolute offset within the base memory pointer for a given offset. |
| protected abstract Pointer | |
| public final long | |
| public RubyFixnum | Returns: A RubyFixnum containing the hash code.the current thread context context)Overrides org. Calculates a hash code for the pointer. |
| public int | Returns: The hashcode of the memory address.Overrides org. Calculates the hash code for this |
| public IRubyObject | op_equal(ThreadContext context, IRubyObject obj)
Overrides org. Implements org. rb_obj_equal Will by default use identity equality to compare objects. |
| public IRubyObject | |
| public final IRubyObject | |
| public final IRubyObject | |
| public abstract AbstractMemory | |
| public final IRubyObject | |
| public IRubyObject | Returns: this object.The thread context. context, IRubyObject The offset from the start of the memory area to write the values. offset, IRubyObject Array of values to write to memory. arrParam)Writes an array of 32 bit floating point values to the memory area. |
| public IRubyObject | Returns: this object.The thread context. context, IRubyObject The offset from the start of the memory area to write the values. offset, IRubyObject Array of values to write to memory. arrParam)Writes an array of 64 bit floating point values to the memory area. |
| public IRubyObject | Returns: this object.The thread context. context, IRubyObject The offset from the start of the memory area to write the values. offset, IRubyObject Array of values to write to memory. arrParam)Writes an array of signed 16 bit integer values to the memory area. |
| public IRubyObject | Returns: this object.The thread context. context, IRubyObject The offset from the start of the memory area to write the values. offset, IRubyObject Array of values to write to memory. arrParam)Writes an array of signed 32 bit integer values to the memory area. |
| public IRubyObject | Returns: this object.The thread context. context, IRubyObject The offset from the start of the memory area to write the values. offset, IRubyObject Array of values to write to memory. arrParam)Writes an array of signed 64 bit integer values to the memory area. |
| public IRubyObject | Returns: this object.The thread context. context, IRubyObject The offset from the start of the memory area to write the values. offset, IRubyObject Array of values to write to memory. arrParam)Writes an array of signed 8 bit integer values to the memory area. |
| public IRubyObject | Returns: this object.The thread context. context, IRubyObject The offset from the start of the memory area to write the values. offset, IRubyObject Array of values to write to memory. arr)Writes an array of signed long integer values to the memory area. |
| public IRubyObject | |
| public IRubyObject | Returns: this object.The thread context. context, IRubyObject The offset from the start of the memory area to write the values. offset, IRubyObject Array of values to write to memory. arrParam)Writes an array of unsigned 16 bit integer values to the memory area. |
| public IRubyObject | Returns: this object.The thread context. context, IRubyObject The offset from the start of the memory area to write the values. offset, IRubyObject Array of values to write to memory. arrParam)Writes an array of unsigned 32 bit integer values to the memory area. |
| public IRubyObject | Returns: this object.The thread context. context, IRubyObject The offset from the start of the memory area to write the values. offset, IRubyObject Array of values to write to memory. arrParam)Writes an array of unsigned 64 bit integer values to the memory area. |
| public IRubyObject | Returns: this object.The thread context. context, IRubyObject The offset from the start of the memory area to write the values. offset, IRubyObject Array of values to write to memory. arrParam)Writes an array of unsigned 8 bit integer values to the memory area. |
| public IRubyObject | Returns: this object.The thread context. context, IRubyObject The offset from the start of the memory area to write the values. offset, IRubyObject Array of values to write to memory. arr)Writes an array of unsigned long integer values to the memory area. |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | Returns: The value written.the thread context context, IRubyObject The value to write. value)Writes an 32 bit floating point value to the memory area. |
| public IRubyObject | Returns: The value written.the thread context context, IRubyObject The offset from the base pointer address to write the value. offset, IRubyObject The value to write. value)Writes an 32 bit floating point value to the memory area. |
| public IRubyObject | Returns: The value written.the thread context context, IRubyObject The value to write. value)Writes an 64 bit floating point value to the memory area. |
| public IRubyObject | Returns: The value written.the thread context context, IRubyObject The offset from the base pointer address to write the value. offset, IRubyObject The value to write. value)Writes an 64 bit floating point value to the memory area. |
| public IRubyObject | Returns: The value written.the thread context context, IRubyObject The value to write. value)Writes a 16 bit signed integer value to the memory address. |
| public IRubyObject | Returns: The value written.the thread context context, IRubyObject The offset from the base pointer address to write the value. offset, IRubyObject The value to write. value)Writes a 16 bit signed integer value to the memory address. |
| public IRubyObject | Returns: The value written.the thread context context, IRubyObject The value to write. value)Writes a 32 bit signed integer value to the memory address. |
| public IRubyObject | Returns: The value written.the thread context context, IRubyObject The offset from the base pointer address to write the value. offset, IRubyObject The value to write. value)Writes a 32 bit signed integer value to the memory address. |
| public IRubyObject | Returns: The value written.the thread context context, IRubyObject The value to write. value)Writes a 64 bit integer value to the memory area. |
| public IRubyObject | Returns: The value written.the thread context context, IRubyObject The offset from the base pointer address to write the value. offset, IRubyObject The value to write. value)Writes a 64 bit integer value to the memory area. |
| public IRubyObject | Returns: The value written.the thread context context, IRubyObject The value to write. value)Writes a 8 bit signed integer value to the memory area. |
| public IRubyObject | Returns: The value written.the thread context context, IRubyObject The offset from the base pointer address to write the value. offset, IRubyObject The value to write. value)Writes a 8 bit signed integer value to the memory area. |
| public IRubyObject | Returns: The value written.the thread context context, IRubyObject The value to write. value)Writes a C long integer value to the memory area. |
| public IRubyObject | Returns: The value written.the thread context context, IRubyObject The offset from the base pointer address to write the value. offset, IRubyObject The value to write. value)Writes a C long integer value to the memory area. |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | Returns: The value written.the thread context context, IRubyObject The value to write. value)Writes a 16 bit unsigned integer value to the memory address. |
| public IRubyObject | Returns: The value written.the thread context context, IRubyObject The offset from the base pointer address to write the value. offset, IRubyObject The value to write. value)Writes a 16 bit unsigned integer value to the memory address. |
| public IRubyObject | Returns: The value written.the thread context context, IRubyObject The value to write. value)Writes an 32 bit unsigned integer value to the memory address. |
| public IRubyObject | Returns: The value written.the thread context context, IRubyObject The offset from the base pointer address to write the value. offset, IRubyObject The value to write. value)Writes an 32 bit unsigned integer value to the memory address. |
| public IRubyObject | Returns: The value written.the thread context context, IRubyObject The value to write. value)Writes a 64 bit unsigned integer value to the memory area. |
| public IRubyObject | Returns: The value written.the thread context context, IRubyObject The offset from the base pointer address to write the value. offset, IRubyObject The value to write. value)Writes a 64 bit unsigned integer value to the memory area. |
| public IRubyObject | Returns: The value written.the thread context context, IRubyObject The value to write. value)Writes a 8 bit unsigned integer value to the memory area. |
| public IRubyObject | Returns: The value written.the thread context context, IRubyObject The offset from the base pointer address to write the value. offset, IRubyObject The value to write. value)Writes a 8 bit unsigned integer value to the memory area. |
| public IRubyObject | Returns: The value written.the thread context context, IRubyObject The value to write. value)Writes a C long integer value to the memory area. |
| public IRubyObject | Returns: The value written.the thread context context, IRubyObject The offset from the base pointer address to write the value. offset, IRubyObject The value to write. value)Writes a C long integer value to the memory area. |
| private IRubyObject | |
| private void | |
| private void | |
| public IRubyObject | Returns: An array containing the values.The thread context. context, IRubyObject The number of values to be read from memory. length)Reads an array of signed 32 bit floating point values from the memory address. |
| public IRubyObject | Returns: An array containing the values.The thread context. context, IRubyObject The number of values to be read from memory. length)Reads an array of signed 64 bit floating point values from the memory address. |
| public IRubyObject | Returns: An array containing the values.The thread context. context, IRubyObject The number of values to be read from memory. length)Reads an array of signed 16 bit integer values from the memory address. |
| public IRubyObject | Returns: An array containing the values.The thread context. context, IRubyObject The number of values to be read from memory. length)Reads an array of signed 32 bit integer values from the memory address. |
| public IRubyObject | Returns: An array containing the values.The thread context. context, IRubyObject The number of values to be read from memory. length)Reads an array of signed 64 bit integer values from the memory address. |
| public IRubyObject | Returns: An array containing the values.The thread context. context, IRubyObject The number of values to be read from memory. length)Reads an array of signed 8 bit integer values from the memory address. |
| public IRubyObject | Returns: An array containing the values.The thread context. context, IRubyObject The number of values to be read from memory. length)Reads an array of signed long integer values from the memory address. |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | read_array_of_type(ThreadContext context, IRubyObject typeArg, IRubyObject reader, IRubyObject lenArg)
|
| public IRubyObject | Returns: An array containing the values.The thread context. context, IRubyObject The number of values to be read from memory. length)Reads an array of unsigned 16 bit integer values from the memory address. |
| public IRubyObject | Returns: An array containing the values.The thread context. context, IRubyObject The number of values to be read from memory. length)Reads an array of unsigned 32 bit integer values from the memory address. |
| public IRubyObject | Returns: An array containing the values.The thread context. context, IRubyObject The number of values to be read from memory. length)Reads an array of unsigned 64 bit integer values from the memory address. |
| public IRubyObject | Returns: An array containing the values.The thread context. context, IRubyObject The number of values to be read from memory. length)Reads an array of unsigned 8 bit integer values from the memory address. |
| public IRubyObject | Returns: An array containing the values.The thread context. context, IRubyObject The number of values to be read from memory. length)Reads an array of unsigned long integer values from the memory address. |
| public IRubyObject | |
| public IRubyObject | Returns: The value read from the address.the thread context context)Reads an 8 bit signed integer value from the memory address. |
| public IRubyObject | Returns: The value read from the address.the thread context context)Reads a 64 bit floating point value from the memory address. |
| public IRubyObject | Returns: The value read from the address.the thread context context)Reads a 32 bit floating point value from the memory address. |
| public IRubyObject | Returns: The value read from the address.the thread context context)Reads a 32 bit signed integer value from the memory address. |
| public IRubyObject | Returns: The value read.the thread context context)Reads a C long integer value from the memory area. |
| public IRubyObject | Returns: The value read from the address.the thread context context)Reads a 64 bit integer value from the memory address. |
| public IRubyObject | |
| public IRubyObject | Returns: The value read from the address.the thread context context)Reads a 16 bit signed integer value from the memory address. |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | Returns: The value read from the address.the thread context context)Reads an 8 bit unsigned integer value from the memory address. |
| public IRubyObject | Returns: The value read from the address.the thread context context)Reads a 32 bit unsigned integer value from the memory address. |
| public IRubyObject | Returns: The value read from the address.the thread context context)Reads a 16 bit unsigned integer value from the memory address. |
| public IRubyObject | Returns: The value read from the address.the thread context context)Reads a 8 bit unsigned integer value from the memory address. |
| public IRubyObject | Returns: The value read.the thread context context)Reads a C unsigned long integer value from the memory area. |
| public IRubyObject | Returns: The value read from the address.the thread context context)Reads a 64 bit unsigned integer value from the memory address. |
| public IRubyObject | Returns: The value read from the address.the thread context context)Reads a 16 bit unsigned integer value from the memory address. |
| public final IRubyObject | |
| protected abstract AbstractMemory | |
| protected abstract AbstractMemory | |
| public final IRubyObject | |
| public IRubyObject | Returns: The total size in bytes.the thread context context)Gets the total size (in bytes) of the Memory. |
| public final IRubyObject | Returns: the type sizethe thread context context)Indicates how many bytes the intrinsic type of the memory uses. |
| public IRubyObject | Returns: this object.The thread context. context, IRubyObject The array of values to write to the memory area. ary)Writes an array of 32 bit floating point values to the memory area. |
| public IRubyObject | Returns: this object.The thread context. context, IRubyObject The array of values to write to the memory area. ary)Writes an array of 64 bit floating point values to the memory area. |
| public IRubyObject | Returns: this object.The thread context. context, IRubyObject The array of values to write to the memory area. ary)Writes an array of signed 16 bit integer values to the memory area. |
| public IRubyObject | Returns: this object.The thread context. context, IRubyObject The array of values to write to the memory area. ary)Writes an array of signed 32 bit integer values to the memory area. |
| public IRubyObject | Returns: this object.The thread context. context, IRubyObject The array of values to write to the memory area. ary)Writes an array of signed 64 bit integer values to the memory area. |
| public IRubyObject | Returns: this object.The thread context. context, IRubyObject The array of values to write to the memory area. ary)Writes an array of signed 8 bit integer values to the memory area. |
| public IRubyObject | Returns: this object.The thread context. context, IRubyObject The array of values to write to the memory area. ary)Writes an array of signed long integer values to the memory area. |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | write_array_of_type(ThreadContext context, IRubyObject typeArg, IRubyObject writer, IRubyObject aryArg)
|
| public IRubyObject | Returns: this object.The thread context. context, IRubyObject The array of values to write to the memory area. ary)Writes an array of unsigned 16 bit integer values to the memory area. |
| public IRubyObject | Returns: this object.The thread context. context, IRubyObject The array of values to write to the memory area. ary)Writes an array of unsigned 32 bit integer values to the memory area. |
| public IRubyObject | Returns: this object.The thread context. context, IRubyObject The array of values to write to the memory area. ary)Writes an array of unsigned 64 bit integer values to the memory area. |
| public IRubyObject | Returns: this object.The thread context. context, IRubyObject Array of values to write to memory. ary)Writes an array of unsigned 8 bit integer values to the memory area. |
| public IRubyObject | Returns: this object.The thread context. context, IRubyObject The array of values to write to the memory area. ary)Writes an array of unsigned long integer values to the memory area. |
| public IRubyObject | |
| public IRubyObject | Returns: The value written.the thread context context, IRubyObject The value to write. value)Writes a 8 bit signed integer value to the memory area. |
| public IRubyObject | Returns: The value written.the thread context context, IRubyObject The value to write. value)Writes an 64 bit floating point value to the memory area. |
| public IRubyObject | Returns: The value written.the thread context context, IRubyObject The value to write. value)Writes an 32 bit floating point value to the memory area. |
| public IRubyObject | Returns: The value written.the thread context context, IRubyObject The value to write. value)Writes a 32 bit signed integer value to the memory address. |
| public IRubyObject | Returns: The value written.the thread context context, IRubyObject The value to write. value)Writes a C long integer value to the memory area. |
| public IRubyObject | Returns: The value written.the thread context context, IRubyObject The value to write. value)Writes a 64 bit integer value to the memory area. |
| public IRubyObject | |
| public IRubyObject | Returns: The value written.the thread context context, IRubyObject The value to write. value)Writes a 16 bit signed integer value to the memory address. |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | Returns: The value written.the thread context context, IRubyObject The value to write. value)Writes a 8 bit unsigned integer value to the memory area. |
| public IRubyObject | Returns: The value written.the thread context context, IRubyObject The value to write. value)Writes an 32 bit unsigned integer value to the memory address. |
| public IRubyObject | Returns: The value written.the thread context context, IRubyObject The value to write. value)Writes a 64 bit unsigned integer value to the memory area. |
| public IRubyObject | Returns: The value written.the thread context context, IRubyObject The value to write. value)Writes a 16 bit unsigned integer value to the memory address. |