Searched refs:permitsRequested (Results 1 – 1 of 1) sorted by relevance
1037 long permitsRequested = 0; in forEachRemaining() local1038 do { } while (s.tryAdvance(sb) && ++permitsRequested < CHUNK_SIZE); in forEachRemaining()1039 if (permitsRequested == 0) in forEachRemaining()1041 sb.forEach(action, acquirePermits(permitsRequested)); in forEachRemaining()1112 long permitsRequested = 0; in forEachRemaining() local1113 do { } while (s.tryAdvance(sbc) && ++permitsRequested < CHUNK_SIZE); in forEachRemaining()1114 if (permitsRequested == 0) in forEachRemaining()1116 sb.forEach(action, acquirePermits(permitsRequested)); in forEachRemaining()