/external/guava/android/guava-tests/test/com/google/common/collect/ |
D | ComparatorsTest.java | 38 Comparator<String> comparator = Ordering.natural(); in testLexicographical() 52 .addEqualityGroup(Ordering.natural()) in testLexicographical() 57 assertFalse(Comparators.isInOrder(asList(5, 3, 0, 9), Ordering.natural())); in testIsInOrder() 58 assertFalse(Comparators.isInOrder(asList(0, 5, 3, 9), Ordering.natural())); in testIsInOrder() 59 assertTrue(Comparators.isInOrder(asList(0, 3, 5, 9), Ordering.natural())); in testIsInOrder() 60 assertTrue(Comparators.isInOrder(asList(0, 0, 3, 3), Ordering.natural())); in testIsInOrder() 61 assertTrue(Comparators.isInOrder(asList(0, 3), Ordering.natural())); in testIsInOrder() 62 assertTrue(Comparators.isInOrder(Collections.singleton(1), Ordering.natural())); in testIsInOrder() 63 assertTrue(Comparators.isInOrder(Collections.<Integer>emptyList(), Ordering.natural())); in testIsInOrder() 67 assertFalse(Comparators.isInStrictOrder(asList(5, 3, 0, 9), Ordering.natural())); in testIsInStrictOrder() [all …]
|
D | TreeMultimapNaturalTest.java | 73 Ordering.natural().nullsFirst(), Ordering.natural().nullsFirst()); in suite() 87 .compare(left.getKey(), right.getKey(), Ordering.natural().nullsFirst()) in suite() 89 left.getValue(), right.getValue(), Ordering.natural().nullsFirst()) in suite() 113 TreeMultimap.create(Ordering.natural().nullsFirst(), Ordering.natural()); in suite() 122 return Ordering.natural().nullsFirst().sortedCopy(insertionOrder); in suite() 229 TreeMultimap.create(Ordering.natural(), Ordering.natural().nullsFirst()); in suite() 236 return Ordering.natural().nullsFirst().sortedCopy(insertionOrder); in suite() 252 TreeMultimap.create(Ordering.natural(), Ordering.natural().nullsFirst()); in suite() 259 return Ordering.natural().nullsFirst().sortedCopy(insertionOrder); in suite() 351 private static final Comparator<Double> KEY_COMPARATOR = Ordering.natural(); [all …]
|
D | SortedIterablesTest.java | 29 assertTrue(SortedIterables.hasSameComparator(Ordering.natural(), Sets.newTreeSet())); in testSameComparator() 32 assertTrue(SortedIterables.hasSameComparator(Ordering.natural(), Maps.newTreeMap().keySet())); in testSameComparator() 36 Ordering.natural().reverse(), Sets.newTreeSet(Ordering.natural().reverse()))); in testSameComparator() 40 assertEquals(Ordering.natural(), SortedIterables.comparator(Sets.newTreeSet())); in testComparator()
|
D | ImmutableTableTest.java | 220 .orderRowsBy(Ordering.natural()) in testBuilder_orderRowsAndColumnsBy_putAll() 221 .orderColumnsBy(Ordering.natural()) in testBuilder_orderRowsAndColumnsBy_putAll() 232 builder.orderRowsBy(Ordering.natural()); in testBuilder_orderRowsAndColumnsBy_sparse() 233 builder.orderColumnsBy(Ordering.natural()); in testBuilder_orderRowsAndColumnsBy_sparse() 255 builder.orderRowsBy(Ordering.natural()); in testBuilder_orderRowsAndColumnsBy_dense() 256 builder.orderColumnsBy(Ordering.natural()); in testBuilder_orderRowsAndColumnsBy_dense() 277 builder.orderRowsBy(Ordering.natural()); in testBuilder_orderRowsBy_sparse() 294 builder.orderRowsBy(Ordering.natural()); in testBuilder_orderRowsBy_dense() 310 builder.orderColumnsBy(Ordering.natural()); in testBuilder_orderColumnsBy_sparse() 327 builder.orderColumnsBy(Ordering.natural()); in testBuilder_orderColumnsBy_dense() [all …]
|
D | OrderingTest.java | 76 Ordering.<Integer>natural().nullsFirst().reverse().lexicographical().reverse().nullsLast(); in testComplicatedOrderingExample() 105 Ordering<Integer> comparator = Ordering.natural(); in testNatural() 133 Ordering<String> orderingFromOrdering = Ordering.from(Ordering.<String>natural()); in testFrom() 136 .addEqualityGroup(orderingFromOrdering, Ordering.natural()) in testFrom() 271 return Ordering.natural().onResultOf(CharAtFunction.values()[index]); 345 .addEqualityGroup(Ordering.natural().reverse()) 365 private static final Ordering<Integer> DECREASING_INTEGER = Ordering.natural().reverse(); 369 Ordering.natural().onResultOf(StringLengthFunction.StringLength); 376 comparator, Ordering.natural().onResultOf(StringLengthFunction.StringLength)) 394 .addEqualityGroup(Ordering.natural()) [all …]
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | ComparatorsTest.java | 43 Comparator<String> comparator = Ordering.natural(); in testLexicographical() 57 .addEqualityGroup(Ordering.natural()) in testLexicographical() 62 assertFalse(Comparators.isInOrder(asList(5, 3, 0, 9), Ordering.natural())); in testIsInOrder() 63 assertFalse(Comparators.isInOrder(asList(0, 5, 3, 9), Ordering.natural())); in testIsInOrder() 64 assertTrue(Comparators.isInOrder(asList(0, 3, 5, 9), Ordering.natural())); in testIsInOrder() 65 assertTrue(Comparators.isInOrder(asList(0, 0, 3, 3), Ordering.natural())); in testIsInOrder() 66 assertTrue(Comparators.isInOrder(asList(0, 3), Ordering.natural())); in testIsInOrder() 67 assertTrue(Comparators.isInOrder(Collections.singleton(1), Ordering.natural())); in testIsInOrder() 68 assertTrue(Comparators.isInOrder(Collections.<Integer>emptyList(), Ordering.natural())); in testIsInOrder() 72 assertFalse(Comparators.isInStrictOrder(asList(5, 3, 0, 9), Ordering.natural())); in testIsInStrictOrder() [all …]
|
D | TreeMultimapNaturalTest.java | 73 Ordering.natural().nullsFirst(), Ordering.natural().nullsFirst()); in suite() 87 .compare(left.getKey(), right.getKey(), Ordering.natural().nullsFirst()) in suite() 89 left.getValue(), right.getValue(), Ordering.natural().nullsFirst()) in suite() 113 TreeMultimap.create(Ordering.natural().nullsFirst(), Ordering.natural()); in suite() 122 return Ordering.natural().nullsFirst().sortedCopy(insertionOrder); in suite() 229 TreeMultimap.create(Ordering.natural(), Ordering.natural().nullsFirst()); in suite() 236 return Ordering.natural().nullsFirst().sortedCopy(insertionOrder); in suite() 252 TreeMultimap.create(Ordering.natural(), Ordering.natural().nullsFirst()); in suite() 259 return Ordering.natural().nullsFirst().sortedCopy(insertionOrder); in suite() 351 private static final Comparator<Double> KEY_COMPARATOR = Ordering.natural(); [all …]
|
D | SortedIterablesTest.java | 29 assertTrue(SortedIterables.hasSameComparator(Ordering.natural(), Sets.newTreeSet())); in testSameComparator() 32 assertTrue(SortedIterables.hasSameComparator(Ordering.natural(), Maps.newTreeMap().keySet())); in testSameComparator() 36 Ordering.natural().reverse(), Sets.newTreeSet(Ordering.natural().reverse()))); in testSameComparator() 40 assertEquals(Ordering.natural(), SortedIterables.comparator(Sets.newTreeSet())); in testComparator()
|
D | OrderingTest.java | 76 Ordering.<Integer>natural().nullsFirst().reverse().lexicographical().reverse().nullsLast(); in testComplicatedOrderingExample() 105 Ordering<Integer> comparator = Ordering.natural(); in testNatural() 133 Ordering<String> orderingFromOrdering = Ordering.from(Ordering.<String>natural()); in testFrom() 136 .addEqualityGroup(orderingFromOrdering, Ordering.natural()) in testFrom() 271 return Ordering.natural().onResultOf(CharAtFunction.values()[index]); 345 .addEqualityGroup(Ordering.natural().reverse()) 365 private static final Ordering<Integer> DECREASING_INTEGER = Ordering.natural().reverse(); 369 Ordering.natural().onResultOf(StringLengthFunction.StringLength); 376 comparator, Ordering.natural().onResultOf(StringLengthFunction.StringLength)) 394 .addEqualityGroup(Ordering.natural()) [all …]
|
D | ImmutableTableTest.java | 375 .orderRowsBy(Ordering.natural()) in testBuilder_orderRowsAndColumnsBy_putAll() 376 .orderColumnsBy(Ordering.natural()) in testBuilder_orderRowsAndColumnsBy_putAll() 387 builder.orderRowsBy(Ordering.natural()); in testBuilder_orderRowsAndColumnsBy_sparse() 388 builder.orderColumnsBy(Ordering.natural()); in testBuilder_orderRowsAndColumnsBy_sparse() 410 builder.orderRowsBy(Ordering.natural()); in testBuilder_orderRowsAndColumnsBy_dense() 411 builder.orderColumnsBy(Ordering.natural()); in testBuilder_orderRowsAndColumnsBy_dense() 432 builder.orderRowsBy(Ordering.natural()); in testBuilder_orderRowsBy_sparse() 449 builder.orderRowsBy(Ordering.natural()); in testBuilder_orderRowsBy_dense() 465 builder.orderColumnsBy(Ordering.natural()); in testBuilder_orderColumnsBy_sparse() 482 builder.orderColumnsBy(Ordering.natural()); in testBuilder_orderColumnsBy_dense() [all …]
|
/external/libcups/test/ |
D | 4.2-cups-printer-ops.test | 21 ATTR language attributes-natural-language en 31 EXPECT attributes-natural-language 44 ATTR language attributes-natural-language en 52 EXPECT attributes-natural-language 65 ATTR language attributes-natural-language en 73 EXPECT attributes-natural-language 86 ATTR language attributes-natural-language en 94 EXPECT attributes-natural-language 107 ATTR language attributes-natural-language en 120 EXPECT attributes-natural-language [all …]
|
D | 4.1-requests.test | 5 # attributes-natural-language 26 EXPECT attributes-natural-language 44 EXPECT attributes-natural-language 55 ATTR language attributes-natural-language en 62 EXPECT attributes-natural-language 73 ATTR language attributes-natural-language en 81 EXPECT attributes-natural-language 93 ATTR language attributes-natural-language en 100 EXPECT attributes-natural-language 112 ATTR language attributes-natural-language en [all …]
|
D | 4.3-job-ops.test | 21 ATTR language attributes-natural-language en 42 ATTR language attributes-natural-language en 53 EXPECT attributes-natural-language 67 ATTR language attributes-natural-language en 76 EXPECT attributes-natural-language 92 ATTR language attributes-natural-language en 106 EXPECT attributes-natural-language 121 ATTR language attributes-natural-language en 130 EXPECT attributes-natural-language 146 ATTR language attributes-natural-language en [all …]
|
D | 4.4-subscription-ops.test | 21 ATTR language attributes-natural-language en 35 EXPECT attributes-natural-language 53 ATTR language attributes-natural-language en 63 EXPECT attributes-natural-language 76 ATTR language attributes-natural-language en 95 EXPECT attributes-natural-language 110 ATTR language attributes-natural-language en 119 EXPECT attributes-natural-language 138 ATTR language attributes-natural-language en 152 EXPECT attributes-natural-language
|
/external/guava/guava-tests/test/com/google/common/graph/ |
D | ElementOrderTest.java | 66 GraphBuilder.directed().nodeOrder(ElementOrder.<Integer>natural()).build(); in nodeOrder_natural() 70 assertThat(graph.nodeOrder()).isEqualTo(ElementOrder.sorted(Ordering.<Integer>natural())); in nodeOrder_natural() 78 .nodeOrder(ElementOrder.sorted(Ordering.<Integer>natural().reverse())) in nodeOrder_sorted() 84 .isEqualTo(ElementOrder.sorted(Ordering.<Integer>natural().reverse())); in nodeOrder_sorted() 126 NetworkBuilder.directed().edgeOrder(ElementOrder.<String>natural()).build(); in edgeOrder_natural() 130 assertThat(network.edgeOrder()).isEqualTo(ElementOrder.sorted(Ordering.<String>natural())); in edgeOrder_natural() 139 .edgeOrder(ElementOrder.sorted(Ordering.<String>natural().reverse())) in edgeOrder_sorted() 145 .isEqualTo(ElementOrder.sorted(Ordering.<String>natural().reverse())); in edgeOrder_sorted() 157 .edgeOrder(ElementOrder.sorted(Ordering.<String>natural().reverse())) in nodeOrderUnorderedandEdgesSorted() 163 .isEqualTo(ElementOrder.sorted(Ordering.<String>natural().reverse())); in nodeOrderUnorderedandEdgesSorted() [all …]
|
/external/guava/android/guava-tests/test/com/google/common/graph/ |
D | ElementOrderTest.java | 66 GraphBuilder.directed().nodeOrder(ElementOrder.<Integer>natural()).build(); in nodeOrder_natural() 70 assertThat(graph.nodeOrder()).isEqualTo(ElementOrder.sorted(Ordering.<Integer>natural())); in nodeOrder_natural() 78 .nodeOrder(ElementOrder.sorted(Ordering.<Integer>natural().reverse())) in nodeOrder_sorted() 84 .isEqualTo(ElementOrder.sorted(Ordering.<Integer>natural().reverse())); in nodeOrder_sorted() 126 NetworkBuilder.directed().edgeOrder(ElementOrder.<String>natural()).build(); in edgeOrder_natural() 130 assertThat(network.edgeOrder()).isEqualTo(ElementOrder.sorted(Ordering.<String>natural())); in edgeOrder_natural() 139 .edgeOrder(ElementOrder.sorted(Ordering.<String>natural().reverse())) in edgeOrder_sorted() 145 .isEqualTo(ElementOrder.sorted(Ordering.<String>natural().reverse())); in edgeOrder_sorted() 157 .edgeOrder(ElementOrder.sorted(Ordering.<String>natural().reverse())) in nodeOrderUnorderedandEdgesSorted() 163 .isEqualTo(ElementOrder.sorted(Ordering.<String>natural().reverse())); in nodeOrderUnorderedandEdgesSorted() [all …]
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
D | ImmutableSortedSet.java | 55 private static final Comparator NATURAL_ORDER = Ordering.natural(); 81 return ofInternal(Ordering.natural(), element); in of() 86 return ofInternal(Ordering.natural(), e1, e2); in of() 91 return ofInternal(Ordering.natural(), e1, e2, e3); in of() 96 return ofInternal(Ordering.natural(), e1, e2, e3, e4); in of() 102 return ofInternal(Ordering.natural(), e1, e2, e3, e4, e5); in of() 113 return ofInternal(Ordering.natural(), (E[]) all.toArray(new Comparable[0])); in of() 133 return copyOfInternal((Ordering<E>) Ordering.natural(), (Collection) elements, false); in copyOf() 137 return copyOfInternal((Ordering<E>) Ordering.natural(), (Iterable) elements, false); in copyOf() 141 return copyOfInternal((Ordering<E>) Ordering.natural(), (Iterator) elements); in copyOf() [all …]
|
/external/tensorflow/tensorflow/core/api_def/base_api/ |
D | api_def_RaggedTensorToTensor.pbtxt | 20 (the natural shape) will be used. If some dimensions are left unspecified, then 21 the size of the natural shape is used in that dimension. 26 natural shape: [4, 5, 6] 30 natural shape: [4, 5, 6] 34 natural shape: [4, 5, 6] 67 natural shape) will be used. If some dimensions are left unspecified, then the 68 size of the natural shape is used in that dimension.
|
/external/guava/guava/src/com/google/common/collect/ |
D | ImmutableSortedMultiset.java | 120 return copyOf(Ordering.natural(), Arrays.asList(e1, e2)); in of() 131 return copyOf(Ordering.natural(), Arrays.asList(e1, e2, e3)); in of() 143 return copyOf(Ordering.natural(), Arrays.asList(e1, e2, e3, e4)); in of() 155 return copyOf(Ordering.natural(), Arrays.asList(e1, e2, e3, e4, e5)); in of() 171 return copyOf(Ordering.natural(), all); in of() 181 return copyOf(Ordering.natural(), Arrays.asList(elements)); in copyOf() 209 Ordering<E> naturalOrder = (Ordering<E>) Ordering.<Comparable>natural(); in copyOf() 227 Ordering<E> naturalOrder = (Ordering<E>) Ordering.<Comparable>natural(); in copyOf() 313 if (Ordering.natural().equals(comparator)) { in emptyMultiset() 412 return new Builder<E>(Ordering.natural().reverse()); in reverseOrder() [all …]
|
D | ImmutableSortedSet.java | 83 if (Ordering.natural().equals(comparator)) { in emptySet() 97 return new RegularImmutableSortedSet<E>(ImmutableList.of(element), Ordering.natural()); in of() 109 return construct(Ordering.natural(), 2, e1, e2); in of() 121 return construct(Ordering.natural(), 3, e1, e2, e3); in of() 133 return construct(Ordering.natural(), 4, e1, e2, e3, e4); in of() 146 return construct(Ordering.natural(), 5, e1, e2, e3, e4, e5); in of() 168 return construct(Ordering.natural(), contents.length, (E[]) contents); in of() 182 return construct(Ordering.natural(), elements.length, elements.clone()); in copyOf() 210 Ordering<E> naturalOrder = (Ordering<E>) Ordering.<Comparable>natural(); in copyOf() 242 Ordering<E> naturalOrder = (Ordering<E>) Ordering.<Comparable>natural(); in copyOf() [all …]
|
/external/kotlinx.coroutines/benchmarks/src/jmh/kotlin/benchmarks/flow/ |
D | NumbersBenchmark.kt | 27 private const val natural = 1000L in <lambda>() constant 68 val numbers = numbers(natural) in <lambda>() 80 val numbers = rxNumbers().take(natural) in <lambda>() 93 numbers(natural) in <lambda>() 101 return rxNumbers().take(natural) in <lambda>()
|
/external/guava/android/guava/src/com/google/common/collect/ |
D | ImmutableSortedSet.java | 62 if (Ordering.natural().equals(comparator)) { in emptySet() 76 return new RegularImmutableSortedSet<E>(ImmutableList.of(element), Ordering.natural()); in of() 88 return construct(Ordering.natural(), 2, e1, e2); in of() 100 return construct(Ordering.natural(), 3, e1, e2, e3); in of() 112 return construct(Ordering.natural(), 4, e1, e2, e3, e4); in of() 125 return construct(Ordering.natural(), 5, e1, e2, e3, e4, e5); in of() 147 return construct(Ordering.natural(), contents.length, (E[]) contents); in of() 161 return construct(Ordering.natural(), elements.length, elements.clone()); in copyOf() 189 Ordering<E> naturalOrder = (Ordering<E>) Ordering.<Comparable>natural(); in copyOf() 221 Ordering<E> naturalOrder = (Ordering<E>) Ordering.<Comparable>natural(); in copyOf() [all …]
|
D | ImmutableSortedMultiset.java | 76 return copyOf(Ordering.natural(), Arrays.asList(e1, e2)); in of() 87 return copyOf(Ordering.natural(), Arrays.asList(e1, e2, e3)); in of() 99 return copyOf(Ordering.natural(), Arrays.asList(e1, e2, e3, e4)); in of() 111 return copyOf(Ordering.natural(), Arrays.asList(e1, e2, e3, e4, e5)); in of() 127 return copyOf(Ordering.natural(), all); in of() 137 return copyOf(Ordering.natural(), Arrays.asList(elements)); in copyOf() 165 Ordering<E> naturalOrder = (Ordering<E>) Ordering.<Comparable>natural(); in copyOf() 183 Ordering<E> naturalOrder = (Ordering<E>) Ordering.<Comparable>natural(); in copyOf() 267 if (Ordering.natural().equals(comparator)) { in emptyMultiset() 366 return new Builder<E>(Ordering.natural().reverse()); in reverseOrder() [all …]
|
/external/libcups/examples/ |
D | ipp-everywhere.test | 27 ATTR naturalLanguage attributes-natural-language en 186 ATTR naturalLanguage attributes-natural-language en 207 ATTR naturalLanguage attributes-natural-language en 230 ATTR naturalLanguage attributes-natural-language en 252 ATTR naturalLanguage attributes-natural-language en 273 ATTR naturalLanguage attributes-natural-language en 296 ATTR naturalLanguage attributes-natural-language en 318 ATTR naturalLanguage attributes-natural-language en 339 ATTR naturalLanguage attributes-natural-language en 362 ATTR naturalLanguage attributes-natural-language en [all …]
|
D | set-attrs-hold.test | 15 ATTR language attributes-natural-language en 37 ATTR language attributes-natural-language en 69 ATTR language attributes-natural-language en 95 ATTR language attributes-natural-language en 121 ATTR language attributes-natural-language en 147 ATTR language attributes-natural-language en 169 ATTR language attributes-natural-language en
|