-
-
Save bogdanRada/04c1009f045c6f8101cb1d6d12a8d050 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package rx.internal.util.unsafe; | |
import java.lang.reflect.Field; | |
public class Unsafe { | |
public int getIntVolatile(Object obj, long offset) { | |
return 0; | |
} | |
public void putOrderedLong(long[] buffer, long offset, long e) { | |
} | |
public void putLong(long[] buffer, long offset, long e) { | |
} | |
public long getLong(long[] sequenceBuffer, long offset) { | |
return 0; | |
} | |
public void putLongVolatile(long[] sequenceBuffer, long offset, long e) { | |
} | |
public long getLongVolatile(long[] sequenceBuffer, long offset) { | |
return 0; | |
} | |
public boolean compareAndSwapInt(Object obj, long offset, int current, int next) { | |
return false; | |
} | |
public <T> int arrayIndexScale(Class<?> aClass) { | |
return 0; | |
} | |
public int arrayBaseOffset(Class<?> aClass) { | |
return 0; | |
} | |
public <E> E getObject(E[] buffer, long offset) { | |
return null; | |
} | |
public <E> void putObjectVolatile(E[] buffer, long offset, E e) { | |
} | |
public <E> void putObject(E[] buffer, long offset, E e) { | |
} | |
public <E> E getObjectVolatile(E[] buffer, long offset) { | |
return null; | |
} | |
public <E> void putOrderedObject(E[] buffer, long offset, E e) { | |
} | |
public long objectFieldOffset(Field tail) { | |
return 0; | |
} | |
public boolean compareAndSwapLong( | |
IntMpmcArrayQueueHeadField intMpmcArrayQueueHeadField, | |
long headOffset, long expect, long newValue) { | |
return false; | |
} | |
public boolean compareAndSwapLong( | |
IntMpmcArrayQueueTailField intMpmcArrayQueueTailField, | |
long tailOffset, long expect, long newValue) { | |
return false; | |
} | |
public <E> void putOrderedLong(SpmcArrayQueueTailField<E> es, long tailOffset, long v) { | |
} | |
public <E> boolean compareAndSwapLong( | |
SpmcArrayQueueHeadField<E> es, | |
long headOffset, | |
long expect, | |
long newValue) { | |
return false; | |
} | |
public void putInt(int[] buffer, long offset, int e) { | |
} | |
public void putOrderedInt(int[] buffer, long offset, int e) { | |
} | |
public void putIntVolatile(int[] buffer, long offset, int e) { | |
} | |
public int getInt(int[] buffer, long offset) { | |
return 0; | |
} | |
public <E> boolean compareAndSwapLong( | |
MpmcArrayQueueTailField<E> es, | |
long tailOffset, | |
long expect, | |
long newValue) { | |
return false; | |
} | |
public long getLongVolatile(SpscArrayQueue es, long headOffset) { | |
return 0; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment