388389390391392393394395396397398
int index = 0; while (!seq.isNil()) { Object value = JavaObject.unbox(self, componentType, seq .head()); Array.set(arr, index++, value); seq = seq.tail(); } return arr; }
443444445446447448449450451452453
vals = matcher.matching_values_coll(vals, coll.seq()); } } int count = 0; for (; !vals.isNil(); vals = vals.tail()) { try { ETuple val = (ETuple) vals.head(); key = val.elm(keypos1); IPersistentCollection coll = (IPersistentCollection) map.valAt(key);
131132133134135136137138139140141
boolean read_concurrency = false; EInternalPID heir_pid = null; EObject heir_data = null; boolean is_named = false; for (; !opts.isNil(); opts = opts.tail()) { EObject option = opts.head(); EAtom atom; ETuple2 t2; ETuple3 t3;
520521522523524525526527528529530
ESeq res = select(caller, nameOrTid, matchSpec); int result = 0; while (!res.isNil()) { if (res.head() == ERT.TRUE) result += 1; res = res.tail(); } return ERT.box(result); } @BIF static public ESeq select(EProc caller, EObject nameOrTid, EObject matchSpec) {
644645646647648649650651652653654
ESeq seq; if ((seq=opts.testSeq()) != null) { while (!seq.isNil()) { table.setopt(seq.head()); seq = seq.tail(); } } else { table.setopt(opts); }
170171172173174175176177178179180
} } else { throw ERT.badarg(obj, spec); } opts = opts.tail(); } if (compression < 0 || compression > 9 || minor < 0 || minor > 1) { throw ERT.badarg(obj, spec); }
272273274275276277278279280281282
throws Pausable { ESeq rargs = args.reverse(); int len = args.length(); switch(len) { case 11: proc.arg10 = rargs.head(); rargs = rargs.tail(); case 10: proc.arg9 = rargs.head(); rargs = rargs.tail(); case 9: proc.arg8 = rargs.head(); rargs = rargs.tail(); case 8:
274275276277278279280281282283284
int len = args.length(); switch(len) { case 11: proc.arg10 = rargs.head(); rargs = rargs.tail(); case 10: proc.arg9 = rargs.head(); rargs = rargs.tail(); case 9: proc.arg8 = rargs.head(); rargs = rargs.tail(); case 8: proc.arg7 = rargs.head(); rargs = rargs.tail(); case 7:
276277278279280281282283284285286
case 11: proc.arg10 = rargs.head(); rargs = rargs.tail(); case 10: proc.arg9 = rargs.head(); rargs = rargs.tail(); case 9: proc.arg8 = rargs.head(); rargs = rargs.tail(); case 8: proc.arg7 = rargs.head(); rargs = rargs.tail(); case 7: proc.arg6 = rargs.head(); rargs = rargs.tail(); case 6:
278279280281282283284285286287288
case 10: proc.arg9 = rargs.head(); rargs = rargs.tail(); case 9: proc.arg8 = rargs.head(); rargs = rargs.tail(); case 8: proc.arg7 = rargs.head(); rargs = rargs.tail(); case 7: proc.arg6 = rargs.head(); rargs = rargs.tail(); case 6: proc.arg5 = rargs.head(); rargs = rargs.tail(); case 5: