Class TypedArray.TypedBigIntArray
java.lang.Object
com.oracle.truffle.js.runtime.array.ScriptArray
com.oracle.truffle.js.runtime.array.TypedArray
com.oracle.truffle.js.runtime.array.TypedArray.TypedBigIntArray
- Direct Known Subclasses:
TypedArray.BigInt64Array,TypedArray.BigUint64Array,TypedArray.DirectBigInt64Array,TypedArray.DirectBigUint64Array,TypedArray.InteropBigIntArray
- Enclosing class:
TypedArray
-
Nested Class Summary
Nested classes/interfaces inherited from class com.oracle.truffle.js.runtime.array.TypedArray
TypedArray.AbstractUint32Array, TypedArray.AbstractUint8ClampedArray, TypedArray.BigInt64Array, TypedArray.BigUint64Array, TypedArray.DirectBigInt64Array, TypedArray.DirectBigUint64Array, TypedArray.DirectFloat16Array, TypedArray.DirectFloat32Array, TypedArray.DirectFloat64Array, TypedArray.DirectInt16Array, TypedArray.DirectInt32Array, TypedArray.DirectInt8Array, TypedArray.DirectUint16Array, TypedArray.DirectUint32Array, TypedArray.DirectUint8Array, TypedArray.DirectUint8ClampedArray, TypedArray.ElementType, TypedArray.Float16Array, TypedArray.Float32Array, TypedArray.Float64Array, TypedArray.Int16Array, TypedArray.Int32Array, TypedArray.Int8Array, TypedArray.InteropBigInt64Array, TypedArray.InteropBigIntArray, TypedArray.InteropBigUint64Array, TypedArray.InteropFloat16Array, TypedArray.InteropFloat32Array, TypedArray.InteropFloat64Array, TypedArray.InteropInt16Array, TypedArray.InteropInt32Array, TypedArray.InteropInt8Array, TypedArray.InteropOneByteIntArray, TypedArray.InteropTwoByteIntArray, TypedArray.InteropUint16Array, TypedArray.InteropUint32Array, TypedArray.InteropUint8Array, TypedArray.InteropUint8ClampedArray, TypedArray.TypedBigIntArray, TypedArray.TypedFloatArray, TypedArray.TypedIntArray, TypedArray.Uint16Array, TypedArray.Uint32Array, TypedArray.Uint8Array, TypedArray.Uint8ClampedArrayNested classes/interfaces inherited from class com.oracle.truffle.js.runtime.array.ScriptArray
ScriptArray.CreateWritableProfileAccess, ScriptArray.DefaultIterator, ScriptArray.SetLengthProfileAccess -
Field Summary
Fields inherited from class com.oracle.truffle.js.runtime.array.TypedArray
BUFFER_TYPE_ARRAY, BUFFER_TYPE_DIRECT, BUFFER_TYPE_INTEROP, BUFFER_TYPE_SHAREDFields inherited from class com.oracle.truffle.js.runtime.array.ScriptArray
EMPTY_OBJECT_ARRAY -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedTypedBigIntArray(TypedArrayFactory factory, boolean offset, boolean fixedLength, byte bufferType) -
Method Summary
Modifier and TypeMethodDescriptioncompareExchangeBigInt(JSTypedArrayObject typedArray, int index, BigInt expectedValue, BigInt newValue) longcompareExchangeLong(JSTypedArrayObject typedArray, int index, long expectedValue, long newValue) final BigIntgetBigInt(JSDynamicObject object, int index, com.oracle.truffle.api.interop.InteropLibrary interop) getBigIntImpl(JSArrayBufferObject buffer, int offset, int index, com.oracle.truffle.api.interop.InteropLibrary interop) getBufferElement(JSArrayBufferObject buffer, int index, boolean littleEndian, com.oracle.truffle.api.interop.InteropLibrary interop) abstract longgetBufferElementLongImpl(JSArrayBufferObject buffer, int index, boolean littleEndian, com.oracle.truffle.api.interop.InteropLibrary interop) getElement(JSDynamicObject object, long index) getElementInBounds(JSDynamicObject object, long index) final longgetLong(JSDynamicObject object, int index, com.oracle.truffle.api.interop.InteropLibrary interop) abstract longgetLongImpl(JSArrayBufferObject buffer, int offset, int index, com.oracle.truffle.api.interop.InteropLibrary interop) final voidsetBigInt(JSDynamicObject object, int index, BigInt value, com.oracle.truffle.api.interop.InteropLibrary interop) final voidsetBufferElement(JSArrayBufferObject buffer, int index, boolean littleEndian, Object value, com.oracle.truffle.api.interop.InteropLibrary interop) abstract voidsetBufferElementLongImpl(JSArrayBufferObject buffer, int index, boolean littleEndian, long value, com.oracle.truffle.api.interop.InteropLibrary interop) setElementImpl(JSDynamicObject object, long index, Object value, boolean strict) final voidsetLong(JSDynamicObject object, int index, long value, com.oracle.truffle.api.interop.InteropLibrary interop) abstract voidsetLongImpl(JSArrayBufferObject buffer, int offset, int index, long value, com.oracle.truffle.api.interop.InteropLibrary interop) Methods inherited from class com.oracle.truffle.js.runtime.array.TypedArray
addRangeImpl, bytesPerElement, bytesPerElementShift, deleteElementImpl, factories, factories, firstElementIndex, freeze, getBufferFromTypedArray, getByteArray, getDirectByteBuffer, getElementType, getFactory, getName, getOffset, hasElement, hasHoles, hasOffset, isDirect, isFrozen, isHolesType, isInterop, isLengthNotWritable, isSealed, lastElementIndex, length, lengthInt, nextElementIndex, preventExtensions, previousElementIndex, removeRangeImpl, seal, setLengthImpl, setLengthNotWritable, unsupportedBufferAccessMethods inherited from class com.oracle.truffle.js.runtime.array.ScriptArray
addRange, asIterable, canDeleteElement, cast, createConstantArray, createConstantEmptyArray, deleteElement, hasHolesOrUnused, isExtensible, isInBoundsFast, isInstance, makeMultiRangeList, makeRangeList, nextPower, ownPropertyKeys, ownPropertyKeysContiguous, ownPropertyKeysHoles, removeRange, removeRange, setElement, setLength, setLength, shiftRange, shiftRangeImpl, toArray, traceArrayTransition, traceWrite, valueIsByte
-
Constructor Details
-
TypedBigIntArray
protected TypedBigIntArray(TypedArrayFactory factory, boolean offset, boolean fixedLength, byte bufferType)
-
-
Method Details
-
getElement
- Specified by:
getElementin classScriptArray
-
getElementInBounds
- Specified by:
getElementInBoundsin classScriptArray
-
setElementImpl
public TypedArray.TypedBigIntArray setElementImpl(JSDynamicObject object, long index, Object value, boolean strict) - Specified by:
setElementImplin classScriptArray
-
getBigInt
public final BigInt getBigInt(JSDynamicObject object, int index, com.oracle.truffle.api.interop.InteropLibrary interop) -
setBigInt
public final void setBigInt(JSDynamicObject object, int index, BigInt value, com.oracle.truffle.api.interop.InteropLibrary interop) -
getBigIntImpl
public BigInt getBigIntImpl(JSArrayBufferObject buffer, int offset, int index, com.oracle.truffle.api.interop.InteropLibrary interop) -
getLong
public final long getLong(JSDynamicObject object, int index, com.oracle.truffle.api.interop.InteropLibrary interop) -
setLong
public final void setLong(JSDynamicObject object, int index, long value, com.oracle.truffle.api.interop.InteropLibrary interop) -
getLongImpl
public abstract long getLongImpl(JSArrayBufferObject buffer, int offset, int index, com.oracle.truffle.api.interop.InteropLibrary interop) -
setLongImpl
public abstract void setLongImpl(JSArrayBufferObject buffer, int offset, int index, long value, com.oracle.truffle.api.interop.InteropLibrary interop) -
getBufferElement
public Object getBufferElement(JSArrayBufferObject buffer, int index, boolean littleEndian, com.oracle.truffle.api.interop.InteropLibrary interop) - Specified by:
getBufferElementin classTypedArray
-
getBufferElementLongImpl
public abstract long getBufferElementLongImpl(JSArrayBufferObject buffer, int index, boolean littleEndian, com.oracle.truffle.api.interop.InteropLibrary interop) -
setBufferElement
public final void setBufferElement(JSArrayBufferObject buffer, int index, boolean littleEndian, Object value, com.oracle.truffle.api.interop.InteropLibrary interop) - Specified by:
setBufferElementin classTypedArray
-
setBufferElementLongImpl
public abstract void setBufferElementLongImpl(JSArrayBufferObject buffer, int index, boolean littleEndian, long value, com.oracle.truffle.api.interop.InteropLibrary interop) -
compareExchangeLong
public long compareExchangeLong(JSTypedArrayObject typedArray, int index, long expectedValue, long newValue) -
compareExchangeBigInt
public BigInt compareExchangeBigInt(JSTypedArrayObject typedArray, int index, BigInt expectedValue, BigInt newValue)
-