Searched refs:gapLength (Results 1 – 2 of 2) sorted by relevance
18 private int gapLength = 10; field in GapString29 return buffer[index < pastLength ? index : index + gapLength]; in charAt()36 return buffer.length - gapLength; in length()48 final int futureStart = pastLength + gapLength; in toString()61 final int growthNeeded = gapNeeded - gapLength; in insert()69 gapLength -= gapNeeded; in insert()86 final int growthNeeded = gapNeeded - gapLength; in insert()93 gapLength -= gapNeeded; in insert()106 final int growthNeeded = gapNeeded - gapLength; in insert()113 gapLength -= gapNeeded; in insert()[all …]
32 void add(int32_t gapStart, int64_t gapLength) { in add() argument34 while(i>0 && gapLength>gapLengths[i-1]) { in add()48 gapLengths[i]=gapLength; in add()60 int64_t gapLength(int32_t i) const { return gapLengths[i]; } in gapLength() function in __anonad6e121c0111::LargestGaps144 maxLength-=gaps.gapLength(i); in uprv_makeDenseRanges()156 ranges[i+1][0]=minValue=(int32_t)(gapStart+gaps.gapLength(gapIndex)); in uprv_makeDenseRanges()