Home
last modified time | relevance | path

Searched refs:sizes (Results 1 – 7 of 7) sorted by relevance

/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
DStreamLinkTest.java58 private List<Integer> sizes = Arrays.asList(0, 1, 2, 3, 4, 5, 255, 1000);
62 for (int n : sizes) {
75 for (int n : sizes) { in testIntManyStreams()
88 for (int n : sizes) { in testLongManyStreams()
101 for (int n : sizes) { in testDoubleManyStreams()
DIntSliceOpTest.java139 List<Integer> skips = sizes(data.size()); in testSkipOps()
153 List<Integer> skips = sizes(data.size()); in testSkipLimitOps()
171 List<Integer> limits = sizes(data.size()); in testLimitOps()
212 private List<Integer> sizes(int size) { in sizes() method in IntSliceOpTest
DSliceOpTest.java154 List<Integer> skips = sizes(data.size()); in testSkipOps()
177 List<Integer> skips = sizes(data.size()); in testSkipLimitOps()
244 List<Integer> limits = sizes(data.size()); in testLimitOps()
336 private List<Integer> sizes(int size) {
DStreamBuilderTest.java47 List<Integer> sizes = Arrays.asList(0, 1, 4, 16, 256, field in StreamBuilderTest
54 return sizes.stream().map(i -> new Object[] { i }).toArray(Object[][]::new); in createStreamBuilders()
/libcore/ojluni/src/test/java/util/stream/boottest/java/util/stream/
DNodeBuilderTest.java43 List<Integer> sizes = Arrays.asList(0, 1, 4, 16, 256, field in NodeBuilderTest
51 for (int size : sizes) { in createNodeBuilders()
96 for (int size : sizes) { in createIntNodeBuilders()
142 for (int size : sizes) { in createLongNodeBuilders()
192 for (int size : sizes) { in createDoubleNodeBuilders()
DSpinedBufferTest.java40 static List<Integer> sizes; field in SpinedBufferTest
43 sizes = IntStream.range(0, 15)
64 for (int size : sizes) { in createSpinedBuffer()
151 for (int size : sizes) { in createIntSpinedBuffer()
226 for (int size : sizes) { in createLongSpinedBuffer()
301 for (int size : sizes) { in createDoubleSpinedBuffer()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
DFileChannelTest.java1973 int[] sizes = { in test_map_LargePosition() local
1979 for (int i = 0; i < sizes.length; ++i) { in test_map_LargePosition()
1990 writeLargeDataToFile(fileOfReadOnlyFileChannel, sizes[i] + 2 * CONTENT_LEN); in test_map_LargePosition()
1992 sizes[i], CONTENT_LEN); in test_map_LargePosition()
1993 assertEquals("Incorrectly mapped file channel for " + sizes[i] in test_map_LargePosition()
1995 assertEquals("Incorrectly mapped file channel for " + sizes[i] in test_map_LargePosition()
1997 assertEquals("Incorrectly mapped file channel for " + sizes[i] in test_map_LargePosition()