public abstract class com.oracle.truffle.js.runtime.array.TypedArray extends com.oracle.truffle.js.runtime.array.ScriptArray
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.oracle.truffle.js.runtime.array.TypedArray
super_class: com.oracle.truffle.js.runtime.array.ScriptArray
{
private final boolean offset;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int bytesPerElement;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.oracle.truffle.js.runtime.array.TypedArrayFactory factory;
descriptor: Lcom/oracle/truffle/js/runtime/array/TypedArrayFactory;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static final int INT8_BYTES_PER_ELEMENT;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 1
static final int UINT8_BYTES_PER_ELEMENT;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 1
static final int INT16_BYTES_PER_ELEMENT;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 2
static final int UINT16_BYTES_PER_ELEMENT;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 2
static final int INT32_BYTES_PER_ELEMENT;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 4
static final int UINT32_BYTES_PER_ELEMENT;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 4
static final int BIGINT64_BYTES_PER_ELEMENT;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 8
static final int BIGUINT64_BYTES_PER_ELEMENT;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 8
static final int FLOAT32_BYTES_PER_ELEMENT;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 4
static final int FLOAT64_BYTES_PER_ELEMENT;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 8
protected void <init>(com.oracle.truffle.js.runtime.array.TypedArrayFactory, boolean);
descriptor: (Lcom/oracle/truffle/js/runtime/array/TypedArrayFactory;Z)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial com.oracle.truffle.js.runtime.array.ScriptArray.<init>:()V
1: aload 0
iload 2
putfield com.oracle.truffle.js.runtime.array.TypedArray.offset:Z
2: aload 0
aload 1
invokevirtual com.oracle.truffle.js.runtime.array.TypedArrayFactory.getBytesPerElement:()I
putfield com.oracle.truffle.js.runtime.array.TypedArray.bytesPerElement:I
3: aload 0
aload 1
invokevirtual com.oracle.truffle.js.runtime.array.TypedArrayFactory.getName:()Ljava/lang/String;
putfield com.oracle.truffle.js.runtime.array.TypedArray.name:Ljava/lang/String;
4: aload 0
aload 1
putfield com.oracle.truffle.js.runtime.array.TypedArray.factory:Lcom/oracle/truffle/js/runtime/array/TypedArrayFactory;
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/oracle/truffle/js/runtime/array/TypedArray;
0 6 1 factory Lcom/oracle/truffle/js/runtime/array/TypedArrayFactory;
0 6 2 offset Z
MethodParameters:
Name Flags
factory
offset
public final long length(com.oracle.truffle.api.object.DynamicObject);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;)J
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.oracle.truffle.js.runtime.array.TypedArray.lengthInt:(Lcom/oracle/truffle/api/object/DynamicObject;)I
i2l
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/array/TypedArray;
0 1 1 object Lcom/oracle/truffle/api/object/DynamicObject;
MethodParameters:
Name Flags
object
public final int lengthInt(com.oracle.truffle.api.object.DynamicObject);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;)I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic com.oracle.truffle.js.runtime.builtins.JSArrayBufferView.typedArrayGetLength:(Lcom/oracle/truffle/api/object/DynamicObject;)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/array/TypedArray;
0 1 1 object Lcom/oracle/truffle/api/object/DynamicObject;
MethodParameters:
Name Flags
object
public final com.oracle.truffle.js.runtime.array.TypedArray setLengthImpl(com.oracle.truffle.api.object.DynamicObject, long, com.oracle.truffle.js.runtime.array.ScriptArray$ProfileHolder);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;JLcom/oracle/truffle/js/runtime/array/ScriptArray$ProfileHolder;)Lcom/oracle/truffle/js/runtime/array/TypedArray;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 4 0: aload 0
areturn
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/array/TypedArray;
0 1 1 object Lcom/oracle/truffle/api/object/DynamicObject;
0 1 2 len J
0 1 4 profile Lcom/oracle/truffle/js/runtime/array/ScriptArray$ProfileHolder;
MethodParameters:
Name Flags
object
len
profile
public final long firstElementIndex(com.oracle.truffle.api.object.DynamicObject);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;)J
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: lconst_0
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/array/TypedArray;
0 1 1 object Lcom/oracle/truffle/api/object/DynamicObject;
MethodParameters:
Name Flags
object
public final long lastElementIndex(com.oracle.truffle.api.object.DynamicObject);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;)J
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.oracle.truffle.js.runtime.array.TypedArray.length:(Lcom/oracle/truffle/api/object/DynamicObject;)J
lconst_1
lsub
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/array/TypedArray;
0 1 1 object Lcom/oracle/truffle/api/object/DynamicObject;
MethodParameters:
Name Flags
object
public final long nextElementIndex(com.oracle.truffle.api.object.DynamicObject, long);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;J)J
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: lload 2
lconst_1
ladd
lreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/array/TypedArray;
0 1 1 object Lcom/oracle/truffle/api/object/DynamicObject;
0 1 2 index J
MethodParameters:
Name Flags
object
index
public final long previousElementIndex(com.oracle.truffle.api.object.DynamicObject, long);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;J)J
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: lload 2
lconst_1
lsub
lreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/array/TypedArray;
0 1 1 object Lcom/oracle/truffle/api/object/DynamicObject;
0 1 2 index J
MethodParameters:
Name Flags
object
index
public final java.lang.Object[] toArray(com.oracle.truffle.api.object.DynamicObject);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;)[Ljava/lang/Object;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=6, locals=5, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.oracle.truffle.js.runtime.array.TypedArray.lengthInt:(Lcom/oracle/truffle/api/object/DynamicObject;)I
istore 2
start local 2 1: iload 2
anewarray java.lang.Object
astore 3
start local 3 2: iconst_0
istore 4
start local 4 3: goto 6
4: StackMap locals: int java.lang.Object[] int
StackMap stack:
aload 3
iload 4
aload 0
aload 1
iload 4
i2l
invokevirtual com.oracle.truffle.js.runtime.array.TypedArray.getElement:(Lcom/oracle/truffle/api/object/DynamicObject;J)Ljava/lang/Object;
aastore
5: iinc 4 1
StackMap locals:
StackMap stack:
6: iload 4
iload 2
if_icmplt 4
end local 4 7: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/oracle/truffle/js/runtime/array/TypedArray;
0 8 1 object Lcom/oracle/truffle/api/object/DynamicObject;
1 8 2 length I
2 8 3 result [Ljava/lang/Object;
3 7 4 i I
MethodParameters:
Name Flags
object
public final com.oracle.truffle.js.runtime.array.ScriptArray deleteElementImpl(com.oracle.truffle.api.object.DynamicObject, long, boolean);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;JZ)Lcom/oracle/truffle/js/runtime/array/ScriptArray;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 4 0: aload 0
areturn
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/array/TypedArray;
0 1 1 object Lcom/oracle/truffle/api/object/DynamicObject;
0 1 2 index J
0 1 4 strict Z
MethodParameters:
Name Flags
object
index
strict
public final boolean hasElement(com.oracle.truffle.api.object.DynamicObject, long);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;J)Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: lconst_0
lload 2
lcmp
ifgt 1
lload 2
aload 0
aload 1
invokevirtual com.oracle.truffle.js.runtime.array.TypedArray.length:(Lcom/oracle/truffle/api/object/DynamicObject;)J
lcmp
ifge 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/js/runtime/array/TypedArray;
0 2 1 object Lcom/oracle/truffle/api/object/DynamicObject;
0 2 2 index J
MethodParameters:
Name Flags
object
index
protected static byte[] getByteArray(com.oracle.truffle.api.object.DynamicObject);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;)[B
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic com.oracle.truffle.js.runtime.builtins.JSArrayBufferView.typedArrayGetByteArray:(Lcom/oracle/truffle/api/object/DynamicObject;)[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 object Lcom/oracle/truffle/api/object/DynamicObject;
MethodParameters:
Name Flags
object
protected static java.nio.ByteBuffer getByteBuffer(com.oracle.truffle.api.object.DynamicObject);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;)Ljava/nio/ByteBuffer;
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic com.oracle.truffle.js.runtime.builtins.JSArrayBufferView.typedArrayGetByteBuffer:(Lcom/oracle/truffle/api/object/DynamicObject;)Ljava/nio/ByteBuffer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 object Lcom/oracle/truffle/api/object/DynamicObject;
MethodParameters:
Name Flags
object
public final java.lang.Object getBufferFromTypedArray(com.oracle.truffle.api.object.DynamicObject);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;)Ljava/lang/Object;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.oracle.truffle.js.runtime.array.TypedArray.isDirect:()Z
ifeq 1
aload 1
invokestatic com.oracle.truffle.js.runtime.array.TypedArray.getByteBuffer:(Lcom/oracle/truffle/api/object/DynamicObject;)Ljava/nio/ByteBuffer;
goto 2
StackMap locals:
StackMap stack:
1: aload 1
invokestatic com.oracle.truffle.js.runtime.array.TypedArray.getByteArray:(Lcom/oracle/truffle/api/object/DynamicObject;)[B
StackMap locals:
StackMap stack: java.lang.Object
2: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/js/runtime/array/TypedArray;
0 3 1 object Lcom/oracle/truffle/api/object/DynamicObject;
MethodParameters:
Name Flags
object
protected final int getOffset(com.oracle.truffle.api.object.DynamicObject);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;)I
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.js.runtime.array.TypedArray.offset:Z
ifeq 2
1: aload 1
invokestatic com.oracle.truffle.js.runtime.builtins.JSArrayBufferView.typedArrayGetOffset:(Lcom/oracle/truffle/api/object/DynamicObject;)I
ireturn
2: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/js/runtime/array/TypedArray;
0 3 1 object Lcom/oracle/truffle/api/object/DynamicObject;
MethodParameters:
Name Flags
object
public final com.oracle.truffle.js.runtime.array.TypedArrayFactory getFactory();
descriptor: ()Lcom/oracle/truffle/js/runtime/array/TypedArrayFactory;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.js.runtime.array.TypedArray.factory:Lcom/oracle/truffle/js/runtime/array/TypedArrayFactory;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/array/TypedArray;
public final int bytesPerElement();
descriptor: ()I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.js.runtime.array.TypedArray.bytesPerElement:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/array/TypedArray;
public final java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.js.runtime.array.TypedArray.name:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/array/TypedArray;
public boolean isHolesType();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/array/TypedArray;
public boolean hasHoles(com.oracle.truffle.api.object.DynamicObject);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/array/TypedArray;
0 1 1 object Lcom/oracle/truffle/api/object/DynamicObject;
MethodParameters:
Name Flags
object
public com.oracle.truffle.js.runtime.array.ScriptArray removeRangeImpl(com.oracle.truffle.api.object.DynamicObject, long, long);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;JJ)Lcom/oracle/truffle/js/runtime/array/ScriptArray;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 4 0: ldc "cannot removeRange() on TypedArray"
invokestatic com.oracle.truffle.js.runtime.Errors.unsupported:(Ljava/lang/String;)Ljava/lang/RuntimeException;
athrow
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/array/TypedArray;
0 1 1 object Lcom/oracle/truffle/api/object/DynamicObject;
0 1 2 start J
0 1 4 end J
MethodParameters:
Name Flags
object
start
end
public com.oracle.truffle.js.runtime.array.ScriptArray addRangeImpl(com.oracle.truffle.api.object.DynamicObject, long, int);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;JI)Lcom/oracle/truffle/js/runtime/array/ScriptArray;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 4 0: ldc "cannot addRange() on TypedArray"
invokestatic com.oracle.truffle.js.runtime.Errors.unsupported:(Ljava/lang/String;)Ljava/lang/RuntimeException;
athrow
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/array/TypedArray;
0 1 1 object Lcom/oracle/truffle/api/object/DynamicObject;
0 1 2 atOffset J
0 1 4 size I
MethodParameters:
Name Flags
object
atOffset
size
public boolean isSealed();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/array/TypedArray;
public boolean isFrozen();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/array/TypedArray;
public boolean isLengthNotWritable();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/array/TypedArray;
public com.oracle.truffle.js.runtime.array.ScriptArray seal();
descriptor: ()Lcom/oracle/truffle/js/runtime/array/ScriptArray;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/array/TypedArray;
public com.oracle.truffle.js.runtime.array.ScriptArray freeze();
descriptor: ()Lcom/oracle/truffle/js/runtime/array/ScriptArray;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/array/TypedArray;
public com.oracle.truffle.js.runtime.array.ScriptArray setLengthNotWritable();
descriptor: ()Lcom/oracle/truffle/js/runtime/array/ScriptArray;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/array/TypedArray;
public com.oracle.truffle.js.runtime.array.ScriptArray preventExtensions();
descriptor: ()Lcom/oracle/truffle/js/runtime/array/ScriptArray;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/array/TypedArray;
public final boolean isStatelessType();
descriptor: ()Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/array/TypedArray;
public boolean isDirect();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/array/TypedArray;
public final boolean hasOffset();
descriptor: ()Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.js.runtime.array.TypedArray.offset:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/array/TypedArray;
public abstract java.lang.Object getBufferElement(com.oracle.truffle.api.object.DynamicObject, int, boolean);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;IZ)Ljava/lang/Object;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
buffer
index
littleEndian
public abstract void setBufferElement(com.oracle.truffle.api.object.DynamicObject, int, boolean, java.lang.Object);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;IZLjava/lang/Object;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
buffer
index
littleEndian
value
public static com.oracle.truffle.js.runtime.array.TypedArrayFactory[] factories(com.oracle.truffle.js.runtime.JSContext);
descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;)[Lcom/oracle/truffle/js/runtime/array/TypedArrayFactory;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.oracle.truffle.js.runtime.JSContext.getContextOptions:()Lcom/oracle/truffle/js/runtime/JSContextOptions;
invokevirtual com.oracle.truffle.js.runtime.JSContextOptions.isBigInt:()Z
ifeq 2
1: getstatic com.oracle.truffle.js.runtime.array.TypedArrayFactory.FACTORIES:[Lcom/oracle/truffle/js/runtime/array/TypedArrayFactory;
areturn
2: StackMap locals:
StackMap stack:
invokestatic com.oracle.truffle.js.runtime.array.TypedArrayFactory.getNoBigIntFactories:()[Lcom/oracle/truffle/js/runtime/array/TypedArrayFactory;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 context Lcom/oracle/truffle/js/runtime/JSContext;
MethodParameters:
Name Flags
context
public com.oracle.truffle.js.runtime.array.ScriptArray setLengthImpl(com.oracle.truffle.api.object.DynamicObject, long, com.oracle.truffle.js.runtime.array.ScriptArray$ProfileHolder);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;JLcom/oracle/truffle/js/runtime/array/ScriptArray$ProfileHolder;)Lcom/oracle/truffle/js/runtime/array/ScriptArray;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=5, locals=5, args_size=4
0: aload 0
aload 1
lload 2
aload 4
invokevirtual com.oracle.truffle.js.runtime.array.TypedArray.setLengthImpl:(Lcom/oracle/truffle/api/object/DynamicObject;JLcom/oracle/truffle/js/runtime/array/ScriptArray$ProfileHolder;)Lcom/oracle/truffle/js/runtime/array/TypedArray;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "TypedArray.java"
NestMembers:
com.oracle.truffle.js.runtime.array.TypedArray$AbstractUint32Array com.oracle.truffle.js.runtime.array.TypedArray$AbstractUint8ClampedArray com.oracle.truffle.js.runtime.array.TypedArray$BigInt64Array com.oracle.truffle.js.runtime.array.TypedArray$BigUint64Array com.oracle.truffle.js.runtime.array.TypedArray$DirectBigInt64Array com.oracle.truffle.js.runtime.array.TypedArray$DirectBigUint64Array com.oracle.truffle.js.runtime.array.TypedArray$DirectFloat32Array com.oracle.truffle.js.runtime.array.TypedArray$DirectFloat64Array com.oracle.truffle.js.runtime.array.TypedArray$DirectInt16Array com.oracle.truffle.js.runtime.array.TypedArray$DirectInt32Array com.oracle.truffle.js.runtime.array.TypedArray$DirectInt8Array com.oracle.truffle.js.runtime.array.TypedArray$DirectUint16Array com.oracle.truffle.js.runtime.array.TypedArray$DirectUint32Array com.oracle.truffle.js.runtime.array.TypedArray$DirectUint8Array com.oracle.truffle.js.runtime.array.TypedArray$DirectUint8ClampedArray com.oracle.truffle.js.runtime.array.TypedArray$Float32Array com.oracle.truffle.js.runtime.array.TypedArray$Float64Array com.oracle.truffle.js.runtime.array.TypedArray$Int16Array com.oracle.truffle.js.runtime.array.TypedArray$Int32Array com.oracle.truffle.js.runtime.array.TypedArray$Int8Array com.oracle.truffle.js.runtime.array.TypedArray$TypedBigIntArray com.oracle.truffle.js.runtime.array.TypedArray$TypedFloatArray com.oracle.truffle.js.runtime.array.TypedArray$TypedIntArray com.oracle.truffle.js.runtime.array.TypedArray$Uint16Array com.oracle.truffle.js.runtime.array.TypedArray$Uint32Array com.oracle.truffle.js.runtime.array.TypedArray$Uint8Array com.oracle.truffle.js.runtime.array.TypedArray$Uint8ClampedArray
InnerClasses:
public abstract ProfileHolder = com.oracle.truffle.js.runtime.array.ScriptArray$ProfileHolder of com.oracle.truffle.js.runtime.array.ScriptArray
public abstract AbstractUint32Array = com.oracle.truffle.js.runtime.array.TypedArray$AbstractUint32Array of com.oracle.truffle.js.runtime.array.TypedArray
public abstract AbstractUint8ClampedArray = com.oracle.truffle.js.runtime.array.TypedArray$AbstractUint8ClampedArray of com.oracle.truffle.js.runtime.array.TypedArray
public final BigInt64Array = com.oracle.truffle.js.runtime.array.TypedArray$BigInt64Array of com.oracle.truffle.js.runtime.array.TypedArray
public final BigUint64Array = com.oracle.truffle.js.runtime.array.TypedArray$BigUint64Array of com.oracle.truffle.js.runtime.array.TypedArray
public final DirectBigInt64Array = com.oracle.truffle.js.runtime.array.TypedArray$DirectBigInt64Array of com.oracle.truffle.js.runtime.array.TypedArray
public final DirectBigUint64Array = com.oracle.truffle.js.runtime.array.TypedArray$DirectBigUint64Array of com.oracle.truffle.js.runtime.array.TypedArray
public final DirectFloat32Array = com.oracle.truffle.js.runtime.array.TypedArray$DirectFloat32Array of com.oracle.truffle.js.runtime.array.TypedArray
public final DirectFloat64Array = com.oracle.truffle.js.runtime.array.TypedArray$DirectFloat64Array of com.oracle.truffle.js.runtime.array.TypedArray
public final DirectInt16Array = com.oracle.truffle.js.runtime.array.TypedArray$DirectInt16Array of com.oracle.truffle.js.runtime.array.TypedArray
public final DirectInt32Array = com.oracle.truffle.js.runtime.array.TypedArray$DirectInt32Array of com.oracle.truffle.js.runtime.array.TypedArray
public final DirectInt8Array = com.oracle.truffle.js.runtime.array.TypedArray$DirectInt8Array of com.oracle.truffle.js.runtime.array.TypedArray
public final DirectUint16Array = com.oracle.truffle.js.runtime.array.TypedArray$DirectUint16Array of com.oracle.truffle.js.runtime.array.TypedArray
public final DirectUint32Array = com.oracle.truffle.js.runtime.array.TypedArray$DirectUint32Array of com.oracle.truffle.js.runtime.array.TypedArray
public final DirectUint8Array = com.oracle.truffle.js.runtime.array.TypedArray$DirectUint8Array of com.oracle.truffle.js.runtime.array.TypedArray
public final DirectUint8ClampedArray = com.oracle.truffle.js.runtime.array.TypedArray$DirectUint8ClampedArray of com.oracle.truffle.js.runtime.array.TypedArray
public final Float32Array = com.oracle.truffle.js.runtime.array.TypedArray$Float32Array of com.oracle.truffle.js.runtime.array.TypedArray
public final Float64Array = com.oracle.truffle.js.runtime.array.TypedArray$Float64Array of com.oracle.truffle.js.runtime.array.TypedArray
public final Int16Array = com.oracle.truffle.js.runtime.array.TypedArray$Int16Array of com.oracle.truffle.js.runtime.array.TypedArray
public final Int32Array = com.oracle.truffle.js.runtime.array.TypedArray$Int32Array of com.oracle.truffle.js.runtime.array.TypedArray
public final Int8Array = com.oracle.truffle.js.runtime.array.TypedArray$Int8Array of com.oracle.truffle.js.runtime.array.TypedArray
public abstract TypedBigIntArray = com.oracle.truffle.js.runtime.array.TypedArray$TypedBigIntArray of com.oracle.truffle.js.runtime.array.TypedArray
public abstract TypedFloatArray = com.oracle.truffle.js.runtime.array.TypedArray$TypedFloatArray of com.oracle.truffle.js.runtime.array.TypedArray
public abstract TypedIntArray = com.oracle.truffle.js.runtime.array.TypedArray$TypedIntArray of com.oracle.truffle.js.runtime.array.TypedArray
public final Uint16Array = com.oracle.truffle.js.runtime.array.TypedArray$Uint16Array of com.oracle.truffle.js.runtime.array.TypedArray
public final Uint32Array = com.oracle.truffle.js.runtime.array.TypedArray$Uint32Array of com.oracle.truffle.js.runtime.array.TypedArray
public final Uint8Array = com.oracle.truffle.js.runtime.array.TypedArray$Uint8Array of com.oracle.truffle.js.runtime.array.TypedArray
public final Uint8ClampedArray = com.oracle.truffle.js.runtime.array.TypedArray$Uint8ClampedArray of com.oracle.truffle.js.runtime.array.TypedArray