dev.galasa.selenium.internal.Unsafe.class Maven / Gradle / Ivy
The newest version!
// Failed to get sources. Instead, stub sources have been generated by the disassembler.
// Implementation of methods is unavailable.
package sun.misc;
public final class Unsafe {
private static final sun.misc.Unsafe theUnsafe;
public static final int INVALID_FIELD_OFFSET = -1;
public static final int ARRAY_BOOLEAN_BASE_OFFSET;
public static final int ARRAY_BYTE_BASE_OFFSET;
public static final int ARRAY_SHORT_BASE_OFFSET;
public static final int ARRAY_CHAR_BASE_OFFSET;
public static final int ARRAY_INT_BASE_OFFSET;
public static final int ARRAY_LONG_BASE_OFFSET;
public static final int ARRAY_FLOAT_BASE_OFFSET;
public static final int ARRAY_DOUBLE_BASE_OFFSET;
public static final int ARRAY_OBJECT_BASE_OFFSET;
public static final int ARRAY_BOOLEAN_INDEX_SCALE;
public static final int ARRAY_BYTE_INDEX_SCALE;
public static final int ARRAY_SHORT_INDEX_SCALE;
public static final int ARRAY_CHAR_INDEX_SCALE;
public static final int ARRAY_INT_INDEX_SCALE;
public static final int ARRAY_LONG_INDEX_SCALE;
public static final int ARRAY_FLOAT_INDEX_SCALE;
public static final int ARRAY_DOUBLE_INDEX_SCALE;
public static final int ARRAY_OBJECT_INDEX_SCALE;
public static final int ADDRESS_SIZE;
private static native void registerNatives();
private Unsafe() {
}
public static sun.misc.Unsafe getUnsafe() {
return null;
}
public native int getInt(java.lang.Object arg0, long arg1);
public native void putInt(java.lang.Object arg0, long arg1, int arg2);
public native java.lang.Object getObject(java.lang.Object arg0, long arg1);
public native void putObject(java.lang.Object arg0, long arg1, java.lang.Object arg2);
public native boolean getBoolean(java.lang.Object arg0, long arg1);
public native void putBoolean(java.lang.Object arg0, long arg1, boolean arg2);
public native byte getByte(java.lang.Object arg0, long arg1);
public native void putByte(java.lang.Object arg0, long arg1, byte arg2);
public native short getShort(java.lang.Object arg0, long arg1);
public native void putShort(java.lang.Object arg0, long arg1, short arg2);
public native char getChar(java.lang.Object arg0, long arg1);
public native void putChar(java.lang.Object arg0, long arg1, char arg2);
public native long getLong(java.lang.Object arg0, long arg1);
public native void putLong(java.lang.Object arg0, long arg1, long arg2);
public native float getFloat(java.lang.Object arg0, long arg1);
public native void putFloat(java.lang.Object arg0, long arg1, float arg2);
public native double getDouble(java.lang.Object arg0, long arg1);
public native void putDouble(java.lang.Object arg0, long arg1, double arg2);
public int getInt(java.lang.Object arg0, int arg1) {
return 0;
}
public void putInt(java.lang.Object arg0, int arg1, int arg2) {
}
public java.lang.Object getObject(java.lang.Object arg0, int arg1) {
return null;
}
public void putObject(java.lang.Object arg0, int arg1, java.lang.Object arg2) {
}
public boolean getBoolean(java.lang.Object arg0, int arg1) {
return false;
}
public void putBoolean(java.lang.Object arg0, int arg1, boolean arg2) {
}
public byte getByte(java.lang.Object arg0, int arg1) {
return 0;
}
public void putByte(java.lang.Object arg0, int arg1, byte arg2) {
}
public short getShort(java.lang.Object arg0, int arg1) {
return 0;
}
public void putShort(java.lang.Object arg0, int arg1, short arg2) {
}
public char getChar(java.lang.Object arg0, int arg1) {
return 0;
}
public void putChar(java.lang.Object arg0, int arg1, char arg2) {
}
public long getLong(java.lang.Object arg0, int arg1) {
return 0;
}
public void putLong(java.lang.Object arg0, int arg1, long arg2) {
}
public float getFloat(java.lang.Object arg0, int arg1) {
return 0;
}
public void putFloat(java.lang.Object arg0, int arg1, float arg2) {
}
public double getDouble(java.lang.Object arg0, int arg1) {
return 0;
}
public void putDouble(java.lang.Object arg0, int arg1, double arg2) {
}
public native byte getByte(long arg0);
public native void putByte(long arg0, byte arg1);
public native short getShort(long arg0);
public native void putShort(long arg0, short arg1);
public native char getChar(long arg0);
public native void putChar(long arg0, char arg1);
public native int getInt(long arg0);
public native void putInt(long arg0, int arg1);
public native long getLong(long arg0);
public native void putLong(long arg0, long arg1);
public native float getFloat(long arg0);
public native void putFloat(long arg0, float arg1);
public native double getDouble(long arg0);
public native void putDouble(long arg0, double arg1);
public native long getAddress(long arg0);
public native void putAddress(long arg0, long arg1);
public native long allocateMemory(long arg0);
public native long reallocateMemory(long arg0, long arg1);
public native void setMemory(java.lang.Object arg0, long arg1, long arg2, byte arg3);
public void setMemory(long arg0, long arg1, byte arg2) {
}
public native void copyMemory(java.lang.Object arg0, long arg1, java.lang.Object arg2, long arg3, long arg4);
public void copyMemory(long arg0, long arg1, long arg2) {
}
public native void freeMemory(long arg0);
public int fieldOffset(java.lang.reflect.Field arg0) {
return 0;
}
public java.lang.Object staticFieldBase(java.lang.Class> arg0) {
return null;
}
public native long staticFieldOffset(java.lang.reflect.Field arg0);
public native long objectFieldOffset(java.lang.reflect.Field arg0);
public native java.lang.Object staticFieldBase(java.lang.reflect.Field arg0);
public native boolean shouldBeInitialized(java.lang.Class> arg0);
public native void ensureClassInitialized(java.lang.Class> arg0);
public native int arrayBaseOffset(java.lang.Class> arg0);
public native int arrayIndexScale(java.lang.Class> arg0);
public native int addressSize();
public native int pageSize();
public native java.lang.Class> defineClass(java.lang.String arg0, byte[] arg1, int arg2, int arg3, java.lang.ClassLoader arg4, java.security.ProtectionDomain arg5);
public native java.lang.Class> defineAnonymousClass(java.lang.Class> arg0, byte[] arg1, java.lang.Object[] arg2);
public native java.lang.Object allocateInstance(java.lang.Class> arg0) throws java.lang.InstantiationException;
public native void monitorEnter(java.lang.Object arg0);
public native void monitorExit(java.lang.Object arg0);
public native boolean tryMonitorEnter(java.lang.Object arg0);
public native void throwException(java.lang.Throwable arg0);
public final native boolean compareAndSwapObject(java.lang.Object arg0, long arg1, java.lang.Object arg2, java.lang.Object arg3);
public final native boolean compareAndSwapInt(java.lang.Object arg0, long arg1, int arg2, int arg3);
public final native boolean compareAndSwapLong(java.lang.Object arg0, long arg1, long arg2, long arg3);
public native java.lang.Object getObjectVolatile(java.lang.Object arg0, long arg1);
public native void putObjectVolatile(java.lang.Object arg0, long arg1, java.lang.Object arg2);
public native int getIntVolatile(java.lang.Object arg0, long arg1);
public native void putIntVolatile(java.lang.Object arg0, long arg1, int arg2);
public native boolean getBooleanVolatile(java.lang.Object arg0, long arg1);
public native void putBooleanVolatile(java.lang.Object arg0, long arg1, boolean arg2);
public native byte getByteVolatile(java.lang.Object arg0, long arg1);
public native void putByteVolatile(java.lang.Object arg0, long arg1, byte arg2);
public native short getShortVolatile(java.lang.Object arg0, long arg1);
public native void putShortVolatile(java.lang.Object arg0, long arg1, short arg2);
public native char getCharVolatile(java.lang.Object arg0, long arg1);
public native void putCharVolatile(java.lang.Object arg0, long arg1, char arg2);
public native long getLongVolatile(java.lang.Object arg0, long arg1);
public native void putLongVolatile(java.lang.Object arg0, long arg1, long arg2);
public native float getFloatVolatile(java.lang.Object arg0, long arg1);
public native void putFloatVolatile(java.lang.Object arg0, long arg1, float arg2);
public native double getDoubleVolatile(java.lang.Object arg0, long arg1);
public native void putDoubleVolatile(java.lang.Object arg0, long arg1, double arg2);
public native void putOrderedObject(java.lang.Object arg0, long arg1, java.lang.Object arg2);
public native void putOrderedInt(java.lang.Object arg0, long arg1, int arg2);
public native void putOrderedLong(java.lang.Object arg0, long arg1, long arg2);
public native void unpark(java.lang.Object arg0);
public native void park(boolean arg0, long arg1);
public native int getLoadAverage(double[] arg0, int arg1);
public final int getAndAddInt(java.lang.Object arg0, long arg1, int arg2) {
return 0;
}
public final long getAndAddLong(java.lang.Object arg0, long arg1, long arg2) {
return 0;
}
public final int getAndSetInt(java.lang.Object arg0, long arg1, int arg2) {
return 0;
}
public final long getAndSetLong(java.lang.Object arg0, long arg1, long arg2) {
return 0;
}
public final java.lang.Object getAndSetObject(java.lang.Object arg0, long arg1, java.lang.Object arg2) {
return null;
}
public native void loadFence();
public native void storeFence();
public native void fullFence();
private static void throwIllegalAccessError() {
}
static {} {
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy