/external/apache-commons-lang/src/main/java/org/apache/commons/lang3/ |
D | ArraySorter.java | 32 * @param array the array to sort. 34 * @see Arrays#sort(byte[]) 36 public static byte[] sort(final byte[] array) { in sort() method in ArraySorter 37 Arrays.sort(array); in sort() 44 * @param array the array to sort. 46 * @see Arrays#sort(char[]) 48 public static char[] sort(final char[] array) { in sort() method in ArraySorter 49 Arrays.sort(array); in sort() 56 * @param array the array to sort. 58 * @see Arrays#sort(double[]) [all …]
|
/external/toybox/tests/ |
D | sort.test | 3 # SUSv4 compliant sort tests. 10 testing "unknown argument" 'sort --oops 2>/dev/null ; echo $?' "2\n" "" "" 11 testing "sort" "sort input" "a\nb\nc\n" "c\na\nb\n" "" 12 testing "#2" "sort input" "010\n1\n3\n" "3\n1\n010\n" "" 13 testing "stdin" "sort" "a\nb\nc\n" "" "b\na\nc\n" 14 testing "numeric" "sort -n input" "1\n3\n010\n" "3\n1\n010\n" "" 15 testing "reverse" "sort -r input" "wook\nwalrus\npoint\npabst\naargh\n" \ 17 testing "sort -o" "sort input -o output && cat output" "a\nb\nc\n" "c\na\nb\n" "" 18 testing "sort -o same" "sort input -o input && cat input" "a\nb\nc\n" "c\na\nb\n" "" 32 testing "one key" "sort -k4,4 input" \ [all …]
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | stable_sort_expander.cc | 34 // If no matching iota operand is found, a iota operand is added to Sort. The 39 auto* sort = Cast<HloSortInstruction>(instruction); in ExpandInstruction() local 40 HloComputation* computation = sort->parent(); in ExpandInstruction() 45 for (const HloInstruction* operand : sort->operands()) { in ExpandInstruction() 47 // same as the dimension to sort. Also it should have an integral type that in ExpandInstruction() 48 // is large enough for the number of elements in the sort dimension. For in ExpandInstruction() 50 // all Sort ops which are created by TopK. in ExpandInstruction() 54 sort->sort_dimension() && in ExpandInstruction() 56 iota_index = sort->operand_index(operand); in ExpandInstruction() 62 // sort stable, we will have to add a new such operand. in ExpandInstruction() [all …]
|
D | sort_simplifier.cc | 30 // If the sort instruction has a tuple shape then looks for unused output 31 // values and removes them from the sort instruction. Returns true if the 33 StatusOr<bool> RemoveUnusedOperandFromSort(HloInstruction* sort) { in RemoveUnusedOperandFromSort() argument 34 if (!sort->shape().IsTuple()) { in RemoveUnusedOperandFromSort() 38 HloComputation* computation = sort->parent(); in RemoveUnusedOperandFromSort() 40 if (computation->root_instruction() == sort) { in RemoveUnusedOperandFromSort() 46 for (const HloInstruction* user : sort->users()) { in RemoveUnusedOperandFromSort() 55 auto comparator = sort->to_apply(); in RemoveUnusedOperandFromSort() 56 for (int64_t i = 0; i < sort->operand_count() * 2; ++i) { in RemoveUnusedOperandFromSort() 64 if (used_indices.size() == sort->operand_count()) { in RemoveUnusedOperandFromSort() [all …]
|
/external/aws-sdk-java-v2/services-custom/dynamodb-enhanced/src/test/java/software/amazon/awssdk/enhanced/dynamodb/functionaltests/ |
D | AsyncBasicCrudTest.java | 53 private String sort; field in AsyncBasicCrudTest.Record 68 return sort; in getSort() 71 private Record setSort(String sort) { in setSort() argument 72 this.sort = sort; in setSort() 109 Objects.equals(sort, record.sort) && in equals() 117 return Objects.hash(id, sort, attribute, attribute2, attribute3); in hashCode() 123 private String sort; field in AsyncBasicCrudTest.ShortRecord 136 return sort; in getSort() 139 private ShortRecord setSort(String sort) { in setSort() argument 140 this.sort = sort; in setSort() [all …]
|
D | BasicCrudTest.java | 52 private String sort; field in BasicCrudTest.Record 67 return sort; in getSort() 70 private Record setSort(String sort) { in setSort() argument 71 this.sort = sort; in setSort() 108 Objects.equals(sort, record.sort) && in equals() 116 return Objects.hash(id, sort, attribute, attribute2, attribute3); in hashCode() 122 private String sort; field in BasicCrudTest.ShortRecord 135 return sort; in getSort() 138 private ShortRecord setSort(String sort) { in setSort() argument 139 this.sort = sort; in setSort() [all …]
|
D | BasicScanTest.java | 59 private Integer sort; field in BasicScanTest.Record 71 return sort; in getSort() 74 private Record setSort(Integer sort) { in setSort() argument 75 this.sort = sort; in setSort() 85 Objects.equals(sort, record.sort); in equals() 90 return Objects.hash(id, sort); in hashCode() 101 .addAttribute(Integer.class, a -> a.name("sort") 184 mappedTable.scan(b -> b.attributesToProject("sort")).iterator(); in queryAllRecordsDefaultSettings_withProjection() 194 assertThat(firstRecord.sort, is(0)); in queryAllRecordsDefaultSettings_withProjection() 212 .expression("sort >= :min_value AND sort <= :max_value") in scanAllRecordsWithFilter() [all …]
|
/external/bazelbuild-rules_testing/lib/private/ |
D | failure_messages.bzl | 24 def format_actual_collection(actual, name = "values", sort = True): 30 sort: ([`bool`]) If true, the collection will be sorted for display. 34 actual = maybe_sorted(actual, sort) 46 sort = True): 54 sort: ([`bool`]) if True, then missing and actual are sorted. If False, they 61 missing = maybe_sorted(missing, sort) 68 actual_msg = format_actual_collection(actual, name = container_name, sort = sort) 71 def format_failure_unexpected_values(*, none_of, unexpected, actual, sort = True): 79 sort: ([`bool`]) True if the collections should be sorted for output. 85 unexpected = maybe_sorted(unexpected, sort) [all …]
|
/external/cronet/stable/third_party/icu/source/data/lang/ |
D | hi_Latn.txt | 47 non-ignorable{"Symbols ko sort karein"} 48 shifted{"Symbols ko ignore karte hue sort karein"} 51 no{"Accents ko normally sort karein"} 52 yes{"Accents ko reverse mein sort karein"} 55 lower{"Pahle lowercase walon ko sort karein"} 56 no{"Normal case order mein sort karein"} 57 upper{"Pahle uppercase walon ko sort karein"} 64 no{"Bina normalization ke sort karein"} 65 yes{"Sort Unicode Normalized"} 68 no{"Digits ko alag-alag sort karein"} [all …]
|
/external/cronet/tot/third_party/icu/source/data/lang/ |
D | hi_Latn.txt | 47 non-ignorable{"Symbols ko sort karein"} 48 shifted{"Symbols ko ignore karte hue sort karein"} 51 no{"Accents ko normally sort karein"} 52 yes{"Accents ko reverse mein sort karein"} 55 lower{"Pahle lowercase walon ko sort karein"} 56 no{"Normal case order mein sort karein"} 57 upper{"Pahle uppercase walon ko sort karein"} 64 no{"Bina normalization ke sort karein"} 65 yes{"Sort Unicode Normalized"} 68 no{"Digits ko alag-alag sort karein"} [all …]
|
/external/aws-sdk-java-v2/services-custom/dynamodb-enhanced/src/test/java/software/amazon/awssdk/enhanced/dynamodb/functionaltests/document/ |
D | BasicScanTest.java | 90 … .addIndexSortKey(TableMetadata.primaryIndexName(), "sort", in createTable() 104 … .addIndexSortKey(TableMetadata.primaryIndexName(), "sort", in createTable() 114 .putNumber("sort", i) 125 .putNumber("sort", i) 193 docMappedtable.scan(b -> b.attributesToProject("sort")).iterator(); in queryAllRecordsDefaultSettings_withProjection() 203 assertThat(firstRecord.getNumber("sort").intValue(), is(0)); in queryAllRecordsDefaultSettings_withProjection() 221 .expression("sort >= :min_value AND sort <= :max_value") in scanAllRecordsWithFilter() 233 …MENTS_WITH_PROVIDERS.stream().filter(r -> r.getNumber("sort").intValue() >= 3 && r.getNumber("sort… in scanAllRecordsWithFilter() 246 .expression("#sort >= :min_value AND #sort <= :max_value") in scanAllRecordsWithFilterAndProjection() 248 .putExpressionName("#sort", "sort") in scanAllRecordsWithFilterAndProjection() [all …]
|
/external/apache-commons-lang/src/test/java/org/apache/commons/lang3/ |
D | ArraySorterTest.java | 32 Arrays.sort(array1); in testSortByteArray() 33 assertArrayEquals(array1, ArraySorter.sort(array2)); in testSortByteArray() 40 Arrays.sort(array1); in testSortCharArray() 41 assertArrayEquals(array1, ArraySorter.sort(array2)); in testSortCharArray() 48 Arrays.sort(array1); in testSortComparable() 49 assertArrayEquals(array1, ArraySorter.sort(array2, String::compareTo)); in testSortComparable() 56 Arrays.sort(array1); in testSortDoubleArray() 57 assertArrayEquals(array1, ArraySorter.sort(array2)); in testSortDoubleArray() 64 Arrays.sort(array1); in testSortFloatArray() 65 assertArrayEquals(array1, ArraySorter.sort(array2)); in testSortFloatArray() [all …]
|
/external/aws-sdk-java-v2/services-custom/dynamodb-enhanced/src/test/java/software/amazon/awssdk/enhanced/dynamodb/functionaltests/models/ |
D | FakeItemWithNumericSort.java | 35 .addAttribute(Integer.class, a -> a.name("sort") 42 private Integer sort; field in FakeItemWithNumericSort 47 public FakeItemWithNumericSort(String id, Integer sort) { in FakeItemWithNumericSort() argument 49 this.sort = sort; in FakeItemWithNumericSort() 63 .sort(RANDOM.nextInt()) in createUniqueFakeItemWithSort() 76 return sort; in getSort() 79 public void setSort(Integer sort) { in setSort() argument 80 this.sort = sort; in setSort() 85 private Integer sort; field in FakeItemWithNumericSort.Builder 92 public Builder sort(Integer sort) { in sort() argument [all …]
|
D | FakeItemWithSort.java | 34 .addAttribute(String.class, a -> a.name("sort") 47 private String sort; field in FakeItemWithSort 54 … public FakeItemWithSort(String id, String sort, String otherAttribute1, String otherAttribute2) { in FakeItemWithSort() argument 56 this.sort = sort; in FakeItemWithSort() 76 .sort(UUID.randomUUID().toString()) in createUniqueFakeItemWithSort() 95 return sort; in getSort() 98 public void setSort(String sort) { in setSort() argument 99 this.sort = sort; in setSort() 128 Objects.equals(sort, that.sort) && in equals() 135 return Objects.hash(id, sort, otherAttribute1, otherAttribute2); in hashCode() [all …]
|
D | FakeItemWithIndices.java | 34 .addAttribute(String.class, a -> a.name("sort") 53 private String sort; field in FakeItemWithIndices 61 … public FakeItemWithIndices(String id, String sort, String gsiId, String gsiSort, String lsiSort) { in FakeItemWithIndices() argument 63 this.sort = sort; in FakeItemWithIndices() 80 .sort(UUID.randomUUID().toString()) in createUniqueFakeItemWithIndices() 96 return sort; in getSort() 99 public void setSort(String sort) { in setSort() argument 100 this.sort = sort; in setSort() 129 private String sort; field in FakeItemWithIndices.Builder 139 public Builder sort(String sort) { in sort() argument [all …]
|
/external/icu/icu4c/source/data/lang/ |
D | hi_Latn.txt | 47 non-ignorable{"Symbols ko sort karein"} 48 shifted{"Symbols ko ignore karte hue sort karein"} 51 no{"Accents ko normally sort karein"} 52 yes{"Accents ko reverse mein sort karein"} 55 lower{"Pahle lowercase walon ko sort karein"} 56 no{"Normal case order mein sort karein"} 57 upper{"Pahle uppercase walon ko sort karein"} 64 no{"Bina normalization ke sort karein"} 65 yes{"Sort Unicode Normalized"} 68 no{"Digits ko alag-alag sort karein"} [all …]
|
/external/tensorflow/tensorflow/python/ops/ |
D | sort_ops.py | 29 @tf_export('sort') 31 def sort(values, axis=-1, direction='ASCENDING', name=None): function 37 >>> tf.sort(a).numpy() 40 >>> tf.sort(a, direction='DESCENDING').numpy() 43 For multidimensional inputs you can control which axis the sort is applied 49 >>> tf.sort(mat, axis=-1).numpy() 53 >>> tf.sort(mat, axis=0).numpy() 60 * `tf.argsort`: Like sort, but it returns the sort indices. 61 * `tf.math.top_k`: A partial sort that returns a fixed number of top values 67 axis: The axis along which to sort. The default is -1, which sorts the last [all …]
|
/external/ow2-asm/asm/src/main/java/org/objectweb/asm/ |
D | TypeReference.java | 42 * The sort of type references that target a type parameter of a generic class. See {@link 48 * The sort of type references that target a type parameter of a generic method. See {@link 54 * The sort of type references that target the super class of a class or one of the interfaces it 60 * The sort of type references that target a bound of a type parameter of a generic class. See 66 * The sort of type references that target a bound of a type parameter of a generic method. See 71 /** The sort of type references that target the type of a field. See {@link #getSort}. */ 74 /** The sort of type references that target the return type of a method. See {@link #getSort}. */ 78 * The sort of type references that target the receiver type of a method. See {@link #getSort}. 83 * The sort of type references that target the type of a formal parameter of a method. See {@link 89 * The sort of type references that target the type of an exception declared in the throws clause [all …]
|
/external/sdv/vsomeip/third_party/boost/range/doc/reference/algorithm/ |
D | sort.qbk | 6 [section:sort sort] 12 RandomAccessRange& sort(RandomAccessRange& rng); 15 const RandomAccessRange& sort(const RandomAccessRange& rng); 18 RandomAccessRange& sort(RandomAccessRange& rng, BinaryPredicate pred); 21 const RandomAccessRange& sort(const RandomAccessRange& rng, BinaryPredicate pred); 26 `sort` sorts the elements in `rng` into ascending order. `sort` is not guaranteed to be stable. Ret… 28 For versions of the `sort` function without a predicate, ascending order is defined by `operator<()… 30 For versions of the `sort` function with a predicate, ascending order is defined by `pred` such tha… 34 Defined in the header file `boost/range/algorithm/sort.hpp` 38 [*For versions of sort without a predicate:] [all …]
|
/external/perfetto/ui/src/test/ |
D | table_viewer.test.ts | 57 await pth.clickMenuItem('Sort: lowest first'); 66 // Sort the table by id for consistent ordering. 68 await pth.clickMenuItem('Sort: lowest first'); 76 // Sort the table by dur in descending order. Note that we must explicitly exclude 79 await pth.clickMenuItem('Sort: highest first'); 107 // Sort by argument. 109 await pth.clickMenuItem('Sort: highest first'); 110 await pth.waitForIdleAndScreenshot(`slices-table-sort-by-argument.png`); 112 // Sort by argument. 130 // Sort the table by id for consistent ordering. [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_sort.py | 18 raw.sort(key=cmp_to_key(compare)) 20 raw.sort() 103 s.sort(key=cmp_to_key(lambda a, b: int(random.random() * 3) - 1)) 110 self.assertRaises(RuntimeError, s.sort, key=bad_key) 118 s.sort() 123 check("exception during sort left some permutation", x, s) 127 augmented.sort() # forced stable because ties broken by index 128 x = [e for e, i in augmented] # a stable sort of s 157 # bug 453523 -- list.sort() crasher. 159 # Mutations during a list sort should raise a ValueError. [all …]
|
/external/clang/unittests/Format/ |
D | SortIncludesTest.cpp | 1 //===- unittest/Format/SortIncludesTest.cpp - Include sort unit tests -----===// 27 std::string sort(StringRef Code, StringRef FileName = "input.cpp") { in sort() function in clang::format::__anon67712d250111::SortIncludesTest 51 sort("#include \"a.h\"\n" in TEST_F() 57 // Identical #includes have led to a failure with an unstable sort. in TEST_F() 76 sort("#include <b>\n" in TEST_F() 91 sort("#include \"a.h\"\n" in TEST_F() 100 sort("#include \"a.h\"\n" in TEST_F() 109 sort("#include \"a.h\" // comment\n" in TEST_F() 118 sort(" #include \"a.h\"\n" in TEST_F() 124 sort("# include \"a.h\"\n" in TEST_F() [all …]
|
/external/python/cpython3/Doc/howto/ |
D | sorting.rst | 9 Python lists have a built-in :meth:`list.sort` method that modifies the list 19 A simple ascending sort is very easy: just call the :func:`sorted` function. It 27 You can also use the :meth:`list.sort` method. It modifies the list 35 >>> a.sort() 39 Another difference is that the :meth:`list.sort` method is only defined for 50 Both :meth:`list.sort` and :func:`sorted` have a *key* parameter to specify a 66 A common pattern is to sort complex objects using some of the object's indices 76 >>> sorted(student_tuples, key=lambda student: student[2]) # sort by age 96 >>> sorted(student_objects, key=lambda student: student.age) # sort by age 124 sort by *grade* then by *age*: [all …]
|
/external/sdv/vsomeip/third_party/boost/range/include/boost/range/algorithm/ |
D | sort.hpp | 23 /// \brief template function sort 25 /// range-based version of the sort std algorithm 30 inline RandomAccessRange& sort(RandomAccessRange& rng) in sort() function 33 std::sort(boost::begin(rng), boost::end(rng)); in sort() 39 inline const RandomAccessRange& sort(const RandomAccessRange& rng) in sort() function 42 std::sort(boost::begin(rng), boost::end(rng)); in sort() 48 inline RandomAccessRange& sort(RandomAccessRange& rng, BinaryPredicate pred) in sort() function 51 std::sort(boost::begin(rng), boost::end(rng), pred); in sort() 57 inline const RandomAccessRange& sort(const RandomAccessRange& rng, BinaryPredicate pred) in sort() function 60 std::sort(boost::begin(rng), boost::end(rng), pred); in sort() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | Z3Solver.cpp | 65 /// Wrapper for Z3 Sort 71 Z3_sort Sort; member in __anon9badfbde0111::Z3Sort 75 Z3Sort(Z3Context &C, Z3_sort ZS) : Context(C), Sort(ZS) { in Z3Sort() 76 Z3_inc_ref(Context.Context, reinterpret_cast<Z3_ast>(Sort)); in Z3Sort() 80 Z3Sort(const Z3Sort &Other) : Context(Other.Context), Sort(Other.Sort) { in Z3Sort() 81 Z3_inc_ref(Context.Context, reinterpret_cast<Z3_ast>(Sort)); in Z3Sort() 87 Z3_inc_ref(Context.Context, reinterpret_cast<Z3_ast>(Other.Sort)); in operator =() 88 Z3_dec_ref(Context.Context, reinterpret_cast<Z3_ast>(Sort)); in operator =() 89 Sort = Other.Sort; in operator =() 97 if (Sort) in ~Z3Sort() [all …]
|