Lines Matching refs:offsets

65 		int[] offsets= new int[] { 13, 26 };  in testGetZeroLengthPartition()  local
66 assertGetZeroLengthPartition_InterleavingPartitions(offsets); in testGetZeroLengthPartition()
73 int[] offsets= new int[] { 13, 26, 26, 39 }; in testGetZeroLengthPartitionEmptyMiddle() local
74 assertGetZeroLengthPartition_InterleavingPartitions(offsets); in testGetZeroLengthPartitionEmptyMiddle()
81 int[] offsets= new int[] { 0, 13 }; in testGetZeroLengthPartitionEmptyStart() local
82 assertGetZeroLengthPartition_InterleavingPartitions(offsets); in testGetZeroLengthPartitionEmptyStart()
89 int[] offsets= new int[] { 13, 26 }; in testGetZeroLengthPartitionEmptyEnd() local
90 assertGetZeroLengthPartition_InterleavingPartitions(offsets); in testGetZeroLengthPartitionEmptyEnd()
97 int[] offsets= new int[] { 13, 26 }; in testGetZeroLengthContentType() local
98 assertGetZeroLengthContentType_InterleavingPartitions(offsets); in testGetZeroLengthContentType()
105 int[] offsets= new int[] { 13, 26, 26, 39 }; in testGetZeroLengthContentTypeEmptyMiddle() local
106 assertGetZeroLengthContentType_InterleavingPartitions(offsets); in testGetZeroLengthContentTypeEmptyMiddle()
113 int[] offsets= new int[] { 0, 13 }; in testGetZeroLengthContentTypeEmptyStart() local
114 assertGetZeroLengthContentType_InterleavingPartitions(offsets); in testGetZeroLengthContentTypeEmptyStart()
121 int[] offsets= new int[] { 13, 26 }; in testGetZeroLengthContentTypeEmptyEnd() local
122 assertGetZeroLengthContentType_InterleavingPartitions(offsets); in testGetZeroLengthContentTypeEmptyEnd()
129 int[] offsets= new int[] { 13, 26 }; in testComputeZeroLengthPartitioning() local
130 assertComputeZeroLengthPartitioning_InterleavingPartitions(offsets); in testComputeZeroLengthPartitioning()
137 int[] offsets= new int[] { 13, 26, 26, 39 }; in testComputeZeroLengthPartitioningEmptyMiddle() local
138 assertComputeZeroLengthPartitioning_InterleavingPartitions(offsets); in testComputeZeroLengthPartitioningEmptyMiddle()
145 int[] offsets= new int[] { 0, 13 }; in testComputeZeroLengthPartitioningEmptyStart() local
146 assertComputeZeroLengthPartitioning_InterleavingPartitions(offsets); in testComputeZeroLengthPartitioningEmptyStart()
153 int[] offsets= new int[] { 13, 26 }; in testComputeZeroLengthPartitioningEmptyEnd() local
154 assertComputeZeroLengthPartitioning_InterleavingPartitions(offsets); in testComputeZeroLengthPartitioningEmptyEnd()
161 int[] offsets= new int[] { 13, 26, 26 }; in testComputePartitioningSubrangeBeforeBoundaries() local
162 assertComputeZeroLengthPartitioning_InterleavingPartitions(12, 38, offsets, DEFAULT); in testComputePartitioningSubrangeBeforeBoundaries()
169 int[] offsets= new int[] { 13, 26, 26, 39 }; in testComputePartitioningSubrangeOnBoundaries() local
170 assertComputeZeroLengthPartitioning_InterleavingPartitions(13, 39, offsets, DEFAULT); in testComputePartitioningSubrangeOnBoundaries()
177 int[] offsets= new int[] { 13, 26 }; in testComputePartitioningSubrangeOnBoundaries2() local
178 assertComputeZeroLengthPartitioning_InterleavingPartitions(13, 26, offsets, DEFAULT); in testComputePartitioningSubrangeOnBoundaries2()
185 int[] offsets= new int[] { 26, 26, 39 }; in testComputePartitioningSubrangeAfterBoundaries() local
186 assertComputeZeroLengthPartitioning_InterleavingPartitions(14, 40, offsets, COMMENT); in testComputePartitioningSubrangeAfterBoundaries()
193 int[] offsets= new int[] { }; in testComputePartitioningSubrangeInBoundaries1() local
194 assertComputeZeroLengthPartitioning_InterleavingPartitions(1, 12, offsets, COMMENT); in testComputePartitioningSubrangeInBoundaries1()
201 int[] offsets= new int[] { }; in testComputePartitioningSubrangeInBoundaries2() local
202 assertComputeZeroLengthPartitioning_InterleavingPartitions(1, 12, offsets, DEFAULT); in testComputePartitioningSubrangeInBoundaries2()
205 private void assertComputeZeroLengthPartitioning_InterleavingPartitions(int[] offsets) { in assertComputeZeroLengthPartitioning_InterleavingPartitions() argument
206 assertComputeZeroLengthPartitioning_InterleavingPartitions(0, fDoc.getLength(), offsets, DEFAULT); in assertComputeZeroLengthPartitioning_InterleavingPartitions()
209 …artitioning_InterleavingPartitions(int startOffset, int endOffset, int[] offsets, String startType… in assertComputeZeroLengthPartitioning_InterleavingPartitions() argument
215 assertEquals(offsets.length + 1, regions.length); in assertComputeZeroLengthPartitioning_InterleavingPartitions()
216 for (int i= 0; i <= offsets.length; i++) { in assertComputeZeroLengthPartitioning_InterleavingPartitions()
217 int currentOffset= (i == offsets.length) ? endOffset : offsets[i]; in assertComputeZeroLengthPartitioning_InterleavingPartitions()
231 private void assertGetZeroLengthContentType_InterleavingPartitions(int[] offsets) { in assertGetZeroLengthContentType_InterleavingPartitions() argument
234 for (int i= 0; i <= offsets.length; i++) { in assertGetZeroLengthContentType_InterleavingPartitions()
235 int offset= (i == offsets.length) ? fDoc.getLength() : offsets[i]; in assertGetZeroLengthContentType_InterleavingPartitions()
247 private void assertGetZeroLengthPartition_InterleavingPartitions(int[] offsets) { in assertGetZeroLengthPartition_InterleavingPartitions() argument
250 for (int i= 0; i <= offsets.length; i++) { in assertGetZeroLengthPartition_InterleavingPartitions()
251 int offset= (i == offsets.length) ? fDoc.getLength() : offsets[i]; in assertGetZeroLengthPartition_InterleavingPartitions()