Home
last modified time | relevance | path

Searched refs:sliceSize (Results 1 – 3 of 3) sorted by relevance

/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
DIntSliceOpTest.java128 private int sliceSize(int dataSize, int skip, int limit) { in sliceSize() method in IntSliceOpTest
135 private int sliceSize(int dataSize, int skip) { in sliceSize() method in IntSliceOpTest
147 assertEquals(sr.size(), sliceSize(data.size(), s)); in testSkipOps()
150 assertEquals(sr.size(), sliceSize(sliceSize(data.size(), s), s / 2)); in testSkipOps()
165 assertEquals(sr.size(), sliceSize(sliceSize(data.size(), s), 0, limit)); in testSkipLimitOps()
168 assertEquals(sr.size(), sliceSize(data.size(), s, limit)); in testSkipLimitOps()
181 assertEquals(sr.size(), sliceSize(data.size(), 0, limit)); in testLimitOps()
184 assertEquals(sr.size(), sliceSize(sliceSize(data.size(), 0, limit), 0, limit / 2)); in testLimitOps()
DSliceOpTest.java141 private int sliceSize(int dataSize, int skip, int limit) { in sliceSize() method in SliceOpTest
148 private int sliceSize(int dataSize, int skip) { in sliceSize() method in SliceOpTest
161 sliceSize(data.size(), s), in testSkipOps()
168 sliceSize(sliceSize(data.size(), s), s/2), in testSkipOps()
188 sliceSize(sliceSize(data.size(), s), 0, l), in testSkipLimitOps()
254 sliceSize(data.size(), 0, l), in testLimitOps()
264 sliceSize(sliceSize(data.size(), 0, l), 0, l / 2), in testLimitOps()
/libcore/ojluni/src/main/java/java/math/
DBigInteger.java2007 int start, end, sliceSize, len, offset; in getToomSlice() local
2027 sliceSize = (end-start) + 1; in getToomSlice()
2029 if (sliceSize <= 0) { in getToomSlice()
2035 if (start == 0 && sliceSize >= len) { in getToomSlice()
2039 int intSlice[] = new int[sliceSize]; in getToomSlice()
2040 System.arraycopy(mag, start, intSlice, 0, sliceSize); in getToomSlice()