Searched refs:midPoint (Results 1 – 4 of 4) sorted by relevance
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | TreeSetTest.java | 794 int midPoint = (min + max) / 2; in bashSubSet() local 798 NavigableSet<Integer> hm = set.headSet(midPoint, incl); in bashSubSet() 801 bashSubSet(hm, min, midPoint - (incl ? 0 : 1), true); in bashSubSet() 803 bashSubSet(hm.descendingSet(), min, midPoint - (incl ? 0 : 1), in bashSubSet() 807 bashSubSet(hm, midPoint + (incl ? 0 : 1), max, false); in bashSubSet() 809 bashSubSet(hm.descendingSet(), midPoint + (incl ? 0 : 1), max, in bashSubSet() 815 NavigableSet<Integer> tm = set.tailSet(midPoint,incl); in bashSubSet() 818 bashSubSet(tm, midPoint + (incl ? 0 : 1), max, true); in bashSubSet() 820 bashSubSet(tm.descendingSet(), midPoint + (incl ? 0 : 1), max, in bashSubSet() 824 bashSubSet(tm, min, midPoint - (incl ? 0 : 1), false); in bashSubSet() [all …]
|
D | ConcurrentSkipListSetTest.java | 792 int midPoint = (min + max) / 2; in bashSubSet() local 796 NavigableSet<Integer> hm = set.headSet(midPoint, incl); in bashSubSet() 799 bashSubSet(hm, min, midPoint - (incl ? 0 : 1), true, bs); in bashSubSet() 801 bashSubSet(hm.descendingSet(), min, midPoint - (incl ? 0 : 1), in bashSubSet() 805 bashSubSet(hm, midPoint + (incl ? 0 : 1), max, false, bs); in bashSubSet() 807 bashSubSet(hm.descendingSet(), midPoint + (incl ? 0 : 1), max, in bashSubSet() 813 NavigableSet<Integer> tm = set.tailSet(midPoint,incl); in bashSubSet() 816 bashSubSet(tm, midPoint + (incl ? 0 : 1), max, true, bs); in bashSubSet() 818 bashSubSet(tm.descendingSet(), midPoint + (incl ? 0 : 1), max, in bashSubSet() 822 bashSubSet(tm, min, midPoint - (incl ? 0 : 1), false, bs); in bashSubSet() [all …]
|
D | TreeMapTest.java | 901 int midPoint = (min + max) / 2; 905 NavigableMap<Integer,Integer> hm = map.headMap(midPoint, incl); 908 bashSubMap(hm, min, midPoint - (incl ? 0 : 1), true); 910 bashSubMap(hm.descendingMap(), min, midPoint - (incl ? 0 : 1), 914 bashSubMap(hm, midPoint + (incl ? 0 : 1), max, false); 916 bashSubMap(hm.descendingMap(), midPoint + (incl ? 0 : 1), max, 922 NavigableMap<Integer,Integer> tm = map.tailMap(midPoint,incl); 925 bashSubMap(tm, midPoint + (incl ? 0 : 1), max, true); 927 bashSubMap(tm.descendingMap(), midPoint + (incl ? 0 : 1), max, 931 bashSubMap(tm, min, midPoint - (incl ? 0 : 1), false); [all …]
|
D | ConcurrentSkipListMapTest.java | 1096 int midPoint = (min + max) / 2; 1100 NavigableMap<Integer,Integer> hm = map.headMap(midPoint, incl); 1103 bashSubMap(hm, min, midPoint - (incl ? 0 : 1), true); 1105 bashSubMap(hm.descendingMap(), min, midPoint - (incl ? 0 : 1), 1109 bashSubMap(hm, midPoint + (incl ? 0 : 1), max, false); 1111 bashSubMap(hm.descendingMap(), midPoint + (incl ? 0 : 1), max, 1117 NavigableMap<Integer,Integer> tm = map.tailMap(midPoint,incl); 1120 bashSubMap(tm, midPoint + (incl ? 0 : 1), max, true); 1122 bashSubMap(tm.descendingMap(), midPoint + (incl ? 0 : 1), max, 1126 bashSubMap(tm, min, midPoint - (incl ? 0 : 1), false); [all …]
|