Searched refs:sliceSize (Results 1 – 2 of 2) sorted by relevance
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
D | IntSliceOpTest.java | 126 private int sliceSize(int dataSize, int skip, int limit) { in sliceSize() method in IntSliceOpTest 133 private int sliceSize(int dataSize, int skip) { in sliceSize() method in IntSliceOpTest 144 assertEquals(sr.size(), sliceSize(data.size(), s)); in testSkipOps() 147 assertEquals(sr.size(), sliceSize(sliceSize(data.size(), s), s / 2)); in testSkipOps() 161 assertEquals(sr.size(), sliceSize(sliceSize(data.size(), s), 0, limit)); in testSkipLimitOps() 164 assertEquals(sr.size(), sliceSize(data.size(), s, limit)); in testSkipLimitOps() 176 assertEquals(sr.size(), sliceSize(data.size(), 0, limit)); in testLimitOps() 179 assertEquals(sr.size(), sliceSize(sliceSize(data.size(), 0, limit), 0, limit / 2)); in testLimitOps()
|
D | SliceOpTest.java | 140 private int sliceSize(int dataSize, int skip, int limit) { in sliceSize() method in SliceOpTest 147 private int sliceSize(int dataSize, int skip) { in sliceSize() method in SliceOpTest 159 sliceSize(data.size(), s), in testSkipOps() 166 sliceSize(sliceSize(data.size(), s), s/2), in testSkipOps() 185 sliceSize(sliceSize(data.size(), s), 0, l), in testSkipLimitOps() 249 sliceSize(data.size(), 0, l), in testLimitOps() 259 sliceSize(sliceSize(data.size(), 0, l), 0, l / 2), in testLimitOps()
|