for (int j = 0; j < 138; j++) {
for (int j = 0; j < 18; j++) {
public static void main(String[] args) {    try {        int[] ia = new int[138];              ContextBuffer cb = new ContextBuffer(7, 138);        for (int i = 0; i < 57; i++) {            for (int j = 0; j < 138; j++) {                ia[j] = i;            }            cb.store(ia);        }        //cb.store(ia);        for (int i = 56; i >= 0; i--) {            cb.load(ia);            System.out.println(""+ia[0]);            for (int j = 137; j >= 0; j--) {                if (ia[j] != i) {                    System.out.println(" store error " + i + " " + j + " " + ia[j]);                }            }        }        System.out.println("cb.clear()");        cb.clear();                for (int i = 0; i < 157; i++) {            for (int j = 0; j < 138; j++) {                ia[j] = i;            }            cb.store(ia);        }        //cb.store(ia);        for (int i = 156; i >= 0; i--) {            cb.load(ia);            System.out.println(""+ia[0]);            for (int j = 137; j >= 0; j--) {                if (ia[j] != i) {                    System.out.println(" store error " + i + " " + j + " " + ia[j]);                }            }        }        cb.clear();        for (int i = 0; i < 257; i++) {            for (int j = 0; j < 138; j++) {                ia[j] = i;            }            cb.store(ia);        }        //cb.store(ia);        for (int i = 256; i >= 0; i--) {            cb.load(ia);            System.out.println(""+ia[0]);            for (int j = 137; j >= 0; j--) {                if (ia[j] != i) {                    System.out.println(" store error " + i + " " + j + " " + ia[j]);                }            }        }                System.out.println("success");                System.out.println("test fastIntBuffer");        ia = new int[134];        for (int k=0;k<134;k++){            ia[k]= 1;        }        FastIntBuffer fib = new FastIntBuffer(20);        for(int i=0;i<10;i++){            fib.append(ia);        }        int ib[] = fib.toIntArray();        for (int i = 0;i<1340;i++){            if (ib[i]!=1){                System.out.println("error occurred at "+i);                break;            }        }        System.out.println("test fastLongBuffer");        long[] la = new long[154];        for (int k=0;k<154;k++){            la[k]= 1;        }        FastLongBuffer flb = new FastLongBuffer(13);        for(int i=0;i<10;i++){            flb.append(la);        }        long lb[] = flb.toLongArray();        for (int i = 0;i<1540;i++){            if (lb[i]!=1){                System.out.println("error occurred at "+i);                break;            }        }        System.out.println("success");    } catch (Exception e) {        e.printStackTrace();        System.out.println(" exception caught ");    }}