Exemple #1
0
 // ------------------------------ private helpers for the tests
 private void insert3(byte type, int op1, int op2, int answer) {
   final CacheEntry ce = access3(type, op1, op2);
   ce.type = type;
   ce.op1 = op1;
   ce.op2 = op2;
   ce.ret = answer;
 }
Exemple #2
0
 private void insert1(int op, int answer) {
   final CacheEntry ce = access1(op);
   ce.op1 = op;
   ce.ret = answer;
 }
Exemple #3
0
 private void insert2(byte type, int op, int answer) {
   final CacheEntry ce = access2(type, op);
   ce.type = type;
   ce.op1 = op;
   ce.ret = answer;
 }