mpjbuf
Interface RawBuffer

All Known Implementing Classes:
Buddy1Buffer, Buddy2Buffer, NIOBuffer

public interface RawBuffer

Interface implemented by static component of buffer.


Method Summary
 void copy(java.nio.ByteBuffer srcBuffer, int srcOffset, int srcLength, int dstOffset)
           
 void free()
           
 int gather(boolean[] source, int numEls, int offs, int[] indexes, int bufOff)
           
 int gather(byte[] source, int numEls, int offs, int[] indexes, int bufOff)
           
 int gather(char[] source, int numEls, int offs, int[] indexes, int bufOff)
           
 int gather(double[] source, int numEls, int offs, int[] indexes, int bufOff)
           
 int gather(float[] source, int numEls, int offs, int[] indexes, int bufOff)
           
 int gather(int[] source, int numEls, int offs, int[] indexes, int bufOff)
           
 int gather(long[] source, int numEls, int offs, int[] indexes, int bufOff)
           
 int gather(short[] source, int numEls, int offs, int[] indexes, int bufOff)
           
 int getByte(int bufOff)
           
 int getCapacity()
           
 int getInt(int bufOff, boolean revBytes)
           
 void putByte(int value, int bufOff)
           
 void putInt(int value, int bufOff)
           
 void read(boolean[] dest, int dstOff, int numEls, int bufOff, boolean revBytes)
           
 void read(byte[] dest, int dstOff, int numEls, int bufOff, boolean revBytes)
           
 void read(char[] dest, int dstOff, int numEls, int bufOff, boolean revBytes)
           
 void read(double[] dest, int dstOff, int numEls, int bufOff, boolean revBytes)
           
 void read(float[] dest, int dstOff, int numEls, int bufOff, boolean revBytes)
           
 void read(int[] dest, int dstOff, int numEls, int bufOff, boolean revBytes)
           
 void read(long[] dest, int dstOff, int numEls, int bufOff, boolean revBytes)
           
 void read(short[] dest, int dstOff, int numEls, int bufOff, boolean revBytes)
           
 int scatter(boolean[] dest, int numEls, int offs, int[] indexes, int bufOff, boolean revBytes)
           
 int scatter(byte[] dest, int numEls, int offs, int[] indexes, int bufOff, boolean revBytes)
           
 int scatter(char[] dest, int numEls, int offs, int[] indexes, int bufOff, boolean revBytes)
           
 int scatter(double[] dest, int numEls, int offs, int[] indexes, int bufOff, boolean revBytes)
           
 int scatter(float[] dest, int numEls, int offs, int[] indexes, int bufOff, boolean revBytes)
           
 int scatter(int[] dest, int numEls, int offs, int[] indexes, int bufOff, boolean revBytes)
           
 int scatter(long[] dest, int numEls, int offs, int[] indexes, int bufOff, boolean revBytes)
           
 int scatter(short[] dest, int numEls, int offs, int[] indexes, int bufOff, boolean revBytes)
           
 void strGather(boolean[] source, int srcOff, int rank, int exts, int strs, int[] shape, int bufOff)
           
 void strGather(byte[] source, int srcOff, int rank, int exts, int strs, int[] shape, int bufOff)
           
 void strGather(char[] source, int srcOff, int rank, int exts, int strs, int[] shape, int bufOff)
           
 void strGather(double[] source, int srcOff, int rank, int exts, int strs, int[] shape, int bufOff)
           
 void strGather(float[] source, int srcOff, int rank, int exts, int strs, int[] shape, int bufOff)
           
 void strGather(int[] source, int srcOff, int rank, int exts, int strs, int[] shape, int bufOff)
           
 void strGather(long[] source, int srcOff, int rank, int exts, int strs, int[] shape, int bufOff)
           
 void strGather(short[] source, int srcOff, int rank, int exts, int strs, int[] shape, int bufOff)
           
 void strScatter(boolean[] dest, int dstOff, int rank, int exts, int strs, int[] shape, int bufOff, boolean revBytes)
           
 void strScatter(byte[] dest, int dstOff, int rank, int exts, int strs, int[] shape, int bufOff, boolean revBytes)
           
 void strScatter(char[] dest, int dstOff, int rank, int exts, int strs, int[] shape, int bufOff, boolean revBytes)
           
 void strScatter(double[] dest, int dstOff, int rank, int exts, int strs, int[] shape, int bufOff, boolean revBytes)
           
 void strScatter(float[] dest, int dstOff, int rank, int exts, int strs, int[] shape, int bufOff, boolean revBytes)
           
 void strScatter(int[] dest, int dstOff, int rank, int exts, int strs, int[] shape, int bufOff, boolean revBytes)
           
 void strScatter(long[] dest, int dstOff, int rank, int exts, int strs, int[] shape, int bufOff, boolean revBytes)
           
 void strScatter(short[] dest, int dstOff, int rank, int exts, int strs, int[] shape, int bufOff, boolean revBytes)
           
 void write(boolean[] source, int srcOff, int numEls, int bufOff)
           
 void write(byte[] source, int srcOff, int numEls, int bufOff)
           
 void write(char[] source, int srcOff, int numEls, int bufOff)
           
 void write(double[] source, int srcOff, int numEls, int bufOff)
           
 void write(float[] source, int srcOff, int numEls, int bufOff)
           
 void write(int[] source, int srcOff, int numEls, int bufOff)
           
 void write(long[] source, int srcOff, int numEls, int bufOff)
           
 void write(short[] source, int srcOff, int numEls, int bufOff)
           
 

Method Detail

getCapacity

int getCapacity()

free

void free()

putByte

void putByte(int value,
             int bufOff)

getByte

int getByte(int bufOff)

putInt

void putInt(int value,
            int bufOff)

getInt

int getInt(int bufOff,
           boolean revBytes)

copy

void copy(java.nio.ByteBuffer srcBuffer,
          int srcOffset,
          int srcLength,
          int dstOffset)

write

void write(byte[] source,
           int srcOff,
           int numEls,
           int bufOff)

gather

int gather(byte[] source,
           int numEls,
           int offs,
           int[] indexes,
           int bufOff)

strGather

void strGather(byte[] source,
               int srcOff,
               int rank,
               int exts,
               int strs,
               int[] shape,
               int bufOff)

read

void read(byte[] dest,
          int dstOff,
          int numEls,
          int bufOff,
          boolean revBytes)

scatter

int scatter(byte[] dest,
            int numEls,
            int offs,
            int[] indexes,
            int bufOff,
            boolean revBytes)

strScatter

void strScatter(byte[] dest,
                int dstOff,
                int rank,
                int exts,
                int strs,
                int[] shape,
                int bufOff,
                boolean revBytes)

write

void write(short[] source,
           int srcOff,
           int numEls,
           int bufOff)

gather

int gather(short[] source,
           int numEls,
           int offs,
           int[] indexes,
           int bufOff)

strGather

void strGather(short[] source,
               int srcOff,
               int rank,
               int exts,
               int strs,
               int[] shape,
               int bufOff)

read

void read(short[] dest,
          int dstOff,
          int numEls,
          int bufOff,
          boolean revBytes)

scatter

int scatter(short[] dest,
            int numEls,
            int offs,
            int[] indexes,
            int bufOff,
            boolean revBytes)

strScatter

void strScatter(short[] dest,
                int dstOff,
                int rank,
                int exts,
                int strs,
                int[] shape,
                int bufOff,
                boolean revBytes)

write

void write(int[] source,
           int srcOff,
           int numEls,
           int bufOff)

gather

int gather(int[] source,
           int numEls,
           int offs,
           int[] indexes,
           int bufOff)

strGather

void strGather(int[] source,
               int srcOff,
               int rank,
               int exts,
               int strs,
               int[] shape,
               int bufOff)

read

void read(int[] dest,
          int dstOff,
          int numEls,
          int bufOff,
          boolean revBytes)

scatter

int scatter(int[] dest,
            int numEls,
            int offs,
            int[] indexes,
            int bufOff,
            boolean revBytes)

strScatter

void strScatter(int[] dest,
                int dstOff,
                int rank,
                int exts,
                int strs,
                int[] shape,
                int bufOff,
                boolean revBytes)

write

void write(long[] source,
           int srcOff,
           int numEls,
           int bufOff)

gather

int gather(long[] source,
           int numEls,
           int offs,
           int[] indexes,
           int bufOff)

strGather

void strGather(long[] source,
               int srcOff,
               int rank,
               int exts,
               int strs,
               int[] shape,
               int bufOff)

read

void read(long[] dest,
          int dstOff,
          int numEls,
          int bufOff,
          boolean revBytes)

scatter

int scatter(long[] dest,
            int numEls,
            int offs,
            int[] indexes,
            int bufOff,
            boolean revBytes)

strScatter

void strScatter(long[] dest,
                int dstOff,
                int rank,
                int exts,
                int strs,
                int[] shape,
                int bufOff,
                boolean revBytes)

write

void write(char[] source,
           int srcOff,
           int numEls,
           int bufOff)

gather

int gather(char[] source,
           int numEls,
           int offs,
           int[] indexes,
           int bufOff)

strGather

void strGather(char[] source,
               int srcOff,
               int rank,
               int exts,
               int strs,
               int[] shape,
               int bufOff)

read

void read(char[] dest,
          int dstOff,
          int numEls,
          int bufOff,
          boolean revBytes)

scatter

int scatter(char[] dest,
            int numEls,
            int offs,
            int[] indexes,
            int bufOff,
            boolean revBytes)

strScatter

void strScatter(char[] dest,
                int dstOff,
                int rank,
                int exts,
                int strs,
                int[] shape,
                int bufOff,
                boolean revBytes)

write

void write(float[] source,
           int srcOff,
           int numEls,
           int bufOff)

gather

int gather(float[] source,
           int numEls,
           int offs,
           int[] indexes,
           int bufOff)

strGather

void strGather(float[] source,
               int srcOff,
               int rank,
               int exts,
               int strs,
               int[] shape,
               int bufOff)

read

void read(float[] dest,
          int dstOff,
          int numEls,
          int bufOff,
          boolean revBytes)

scatter

int scatter(float[] dest,
            int numEls,
            int offs,
            int[] indexes,
            int bufOff,
            boolean revBytes)

strScatter

void strScatter(float[] dest,
                int dstOff,
                int rank,
                int exts,
                int strs,
                int[] shape,
                int bufOff,
                boolean revBytes)

write

void write(double[] source,
           int srcOff,
           int numEls,
           int bufOff)

gather

int gather(double[] source,
           int numEls,
           int offs,
           int[] indexes,
           int bufOff)

strGather

void strGather(double[] source,
               int srcOff,
               int rank,
               int exts,
               int strs,
               int[] shape,
               int bufOff)

read

void read(double[] dest,
          int dstOff,
          int numEls,
          int bufOff,
          boolean revBytes)

scatter

int scatter(double[] dest,
            int numEls,
            int offs,
            int[] indexes,
            int bufOff,
            boolean revBytes)

strScatter

void strScatter(double[] dest,
                int dstOff,
                int rank,
                int exts,
                int strs,
                int[] shape,
                int bufOff,
                boolean revBytes)

write

void write(boolean[] source,
           int srcOff,
           int numEls,
           int bufOff)

gather

int gather(boolean[] source,
           int numEls,
           int offs,
           int[] indexes,
           int bufOff)

strGather

void strGather(boolean[] source,
               int srcOff,
               int rank,
               int exts,
               int strs,
               int[] shape,
               int bufOff)

read

void read(boolean[] dest,
          int dstOff,
          int numEls,
          int bufOff,
          boolean revBytes)

scatter

int scatter(boolean[] dest,
            int numEls,
            int offs,
            int[] indexes,
            int bufOff,
            boolean revBytes)

strScatter

void strScatter(boolean[] dest,
                int dstOff,
                int rank,
                int exts,
                int strs,
                int[] shape,
                int bufOff,
                boolean revBytes)