Home
last modified time | relevance | path

Searched refs:endpoints (Results 1 – 4 of 4) sorted by relevance

/libcore/jsr166-tests/src/test/java/jsr166/
DTreeSetTest.java833 int[] endpoints = new int[2]; in bashSubSet() local
834 endpoints[0] = min + rnd.nextInt(rangeSize); in bashSubSet()
835 endpoints[1] = min + rnd.nextInt(rangeSize); in bashSubSet()
836 Arrays.sort(endpoints); in bashSubSet()
841 endpoints[0], lowIncl, endpoints[1], highIncl); in bashSubSet()
843 bashSubSet(sm, endpoints[0] + (lowIncl ? 0 : 1), in bashSubSet()
844 endpoints[1] - (highIncl ? 0 : 1), true); in bashSubSet()
846 bashSubSet(sm.descendingSet(), endpoints[0] + (lowIncl ? 0 : 1), in bashSubSet()
847 endpoints[1] - (highIncl ? 0 : 1), false); in bashSubSet()
850 endpoints[1], highIncl, endpoints[0], lowIncl); in bashSubSet()
[all …]
DConcurrentSkipListSetTest.java831 int[] endpoints = new int[2]; in bashSubSet() local
832 endpoints[0] = min + rnd.nextInt(rangeSize); in bashSubSet()
833 endpoints[1] = min + rnd.nextInt(rangeSize); in bashSubSet()
834 Arrays.sort(endpoints); in bashSubSet()
839 endpoints[0], lowIncl, endpoints[1], highIncl); in bashSubSet()
841 bashSubSet(sm, endpoints[0] + (lowIncl ? 0 : 1), in bashSubSet()
842 endpoints[1] - (highIncl ? 0 : 1), true, bs); in bashSubSet()
844 bashSubSet(sm.descendingSet(), endpoints[0] + (lowIncl ? 0 : 1), in bashSubSet()
845 endpoints[1] - (highIncl ? 0 : 1), false, bs); in bashSubSet()
848 endpoints[1], highIncl, endpoints[0], lowIncl); in bashSubSet()
[all …]
DTreeMapTest.java940 int[] endpoints = new int[2];
941 endpoints[0] = min + rnd.nextInt(rangeSize);
942 endpoints[1] = min + rnd.nextInt(rangeSize);
943 Arrays.sort(endpoints);
948 endpoints[0], lowIncl, endpoints[1], highIncl);
950 bashSubMap(sm, endpoints[0] + (lowIncl ? 0 : 1),
951 endpoints[1] - (highIncl ? 0 : 1), true);
953 bashSubMap(sm.descendingMap(), endpoints[0] + (lowIncl ? 0 : 1),
954 endpoints[1] - (highIncl ? 0 : 1), false);
957 endpoints[1], highIncl, endpoints[0], lowIncl);
[all …]
DConcurrentSkipListMapTest.java1135 int[] endpoints = new int[2];
1136 endpoints[0] = min + rnd.nextInt(rangeSize);
1137 endpoints[1] = min + rnd.nextInt(rangeSize);
1138 Arrays.sort(endpoints);
1143 endpoints[0], lowIncl, endpoints[1], highIncl);
1145 bashSubMap(sm, endpoints[0] + (lowIncl ? 0 : 1),
1146 endpoints[1] - (highIncl ? 0 : 1), true);
1148 bashSubMap(sm.descendingMap(), endpoints[0] + (lowIncl ? 0 : 1),
1149 endpoints[1] - (highIncl ? 0 : 1), false);
1152 endpoints[1], highIncl, endpoints[0], lowIncl);
[all …]