+ for (positionInCache=0;
+ cachedBreakPositions[positionInCache] != result;
+ positionInCache++);
+ U_ASSERT(positionInCache < numCachedBreakPositions);
+ if (positionInCache >= numCachedBreakPositions) {
+ // Something has gone wrong. Dump the cache.
+ reset();
+ }