Home
last modified time | relevance | path

Searched refs:ordering (Results 1 – 25 of 407) sorted by relevance

12345678910>>...17

/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_ordering_test.cc80 SequentialHloOrdering ordering(module.get(), sequence); in TEST_F() local
81 EXPECT_TRUE(ordering.ExecutesBefore(add, negate)); in TEST_F()
132 DependencyHloOrdering ordering(module.get()); in TEST_F() local
133 EXPECT_TRUE(ordering.ExecutesBefore(x, y)); in TEST_F()
134 EXPECT_FALSE(ordering.ExecutesBefore(y, x)); in TEST_F()
136 EXPECT_TRUE(ordering.ExecutesBefore(a, b)); in TEST_F()
137 EXPECT_FALSE(ordering.ExecutesBefore(b, a)); in TEST_F()
139 EXPECT_FALSE(ordering.ExecutesBefore(a, x)); in TEST_F()
140 EXPECT_TRUE(ordering.ExecutesBefore(a, y)); in TEST_F()
141 EXPECT_FALSE(ordering.ExecutesBefore(x, a)); in TEST_F()
[all …]
Dhlo_dataflow_analysis_test.cc72 bool InstructionsMayInterfere(const HloOrdering& ordering, in InstructionsMayInterfere() argument
77 return ordering.MayInterfere(analysis_->GetValueDefinedAt(a), in InstructionsMayInterfere()
1222 DependencyHloOrdering ordering(module_.get()); in TEST_P() local
1225 EXPECT_FALSE(InstructionsMayInterfere(ordering, param, negate)); in TEST_P()
1226 EXPECT_FALSE(InstructionsMayInterfere(ordering, param, exp)); in TEST_P()
1227 EXPECT_FALSE(InstructionsMayInterfere(ordering, param, log)); in TEST_P()
1228 EXPECT_FALSE(InstructionsMayInterfere(ordering, negate, exp)); in TEST_P()
1229 EXPECT_FALSE(InstructionsMayInterfere(ordering, negate, log)); in TEST_P()
1230 EXPECT_FALSE(InstructionsMayInterfere(ordering, exp, negate)); in TEST_P()
1231 EXPECT_FALSE(InstructionsMayInterfere(ordering, exp, log)); in TEST_P()
[all …]
Dcopy_insertion.cc326 const HloOrdering& ordering, HloModule* module) in CopyRemover() argument
329 ordering_(ordering), in CopyRemover()
330 buffer_value_tracker_(*module, alias_analysis, ordering) {} in CopyRemover()
397 const HloOrdering& ordering) in BufferValueTracker() argument
398 : dataflow_(alias_analysis.dataflow_analysis()), ordering_(ordering) { in BufferValueTracker()
888 const HloOrdering& ordering, in RemoveUnnecessaryCopies() argument
892 CopyRemover copy_remover(*alias_analysis, ordering, module); in RemoveUnnecessaryCopies()
1022 DependencyHloOrdering ordering(module); in VerifyNoLiveRangeInterference() local
1023 TF_RET_CHECK(!alias_analysis->HasLiveRangeInterference(ordering)); in VerifyNoLiveRangeInterference()
1100 DependencyHloOrdering ordering(module); in Run() local
[all …]
/external/guava/guava/src/com/google/common/collect/
DNullsLastOrdering.java28 final Ordering<? super T> ordering; field in NullsLastOrdering
30 NullsLastOrdering(Ordering<? super T> ordering) { in NullsLastOrdering() argument
31 this.ordering = ordering; in NullsLastOrdering()
44 return ordering.compare(left, right); in compare()
49 return ordering.reverse().nullsFirst(); in reverse()
53 return ordering.nullsFirst(); in nullsFirst()
67 return this.ordering.equals(that.ordering); in equals()
73 return ordering.hashCode() ^ -921210296; // meaningless in hashCode()
77 return ordering + ".nullsLast()"; in toString()
DNullsFirstOrdering.java28 final Ordering<? super T> ordering; field in NullsFirstOrdering
30 NullsFirstOrdering(Ordering<? super T> ordering) { in NullsFirstOrdering() argument
31 this.ordering = ordering; in NullsFirstOrdering()
44 return ordering.compare(left, right); in compare()
49 return ordering.reverse().nullsLast(); in reverse()
58 return ordering.nullsLast(); in nullsLast()
67 return this.ordering.equals(that.ordering); in equals()
73 return ordering.hashCode() ^ 957692532; // meaningless in hashCode()
77 return ordering + ".nullsFirst()"; in toString()
DByFunctionOrdering.java37 final Ordering<T> ordering; field in ByFunctionOrdering
40 Function<F, ? extends T> function, Ordering<T> ordering) { in ByFunctionOrdering() argument
42 this.ordering = checkNotNull(ordering); in ByFunctionOrdering()
46 return ordering.compare(function.apply(left), function.apply(right)); in compare()
56 && this.ordering.equals(that.ordering); in equals()
62 return Objects.hashCode(function, ordering); in hashCode()
66 return ordering + ".onResultOf(" + function + ")"; in toString()
DMinMaxPriorityQueue.java215 private <T extends B> Ordering<T> ordering() { in ordering() method in MinMaxPriorityQueue.Builder
228 Ordering<E> ordering = builder.ordering(); in MinMaxPriorityQueue() local
229 this.minHeap = new Heap(ordering); in MinMaxPriorityQueue()
230 this.maxHeap = new Heap(ordering.reverse()); in MinMaxPriorityQueue()
489 final Ordering<E> ordering; field in MinMaxPriorityQueue.Heap
492 Heap(Ordering<E> ordering) { in Heap() argument
493 this.ordering = ordering; in Heap()
497 return ordering.compare(elementData(a), elementData(b)); in compareElements()
557 if (ordering.compare(e, x) <= 0) { in bubbleUpAlternatingLevels()
627 if (ordering.compare(uncleElement, parentElement) < 0) { in crossOverUp()
[all …]
/external/python/cpython2/Lib/unittest/test/
Dtest_runner.py74 ordering = []
78 ordering.append('setUp')
83 ordering.append('test')
86 ordering.append('tearDown')
91 ordering.append('cleanup1')
93 ordering.append('cleanup2')
99 ordering.append('success')
105 self.assertEqual(ordering, ['setUp', 'test', 'tearDown',
109 ordering = []
113 self.assertEqual(ordering, ['setUp', 'cleanup1'])
[all …]
/external/swiftshader/third_party/subzero/tests_lit/llvm2ice_tests/
Dabi-atomics.ll37 ; CHECK: test_load_invalid_7: Unexpected memory ordering for AtomicLoad
44 ; CHECK: test_load_invalid_0: Unexpected memory ordering for AtomicLoad
58 ; CHECK: test_load_acqrel: Unexpected memory ordering for AtomicLoad
65 ; CHECK: test_load_release: Unexpected memory ordering for AtomicLoad
79 ; CHECK: test_load_consume: Unexpected memory ordering for AtomicLoad
86 ; CHECK: test_load_relaxed: Unexpected memory ordering for AtomicLoad
96 ; CHECK: test_store_invalid_7: Unexpected memory ordering for AtomicStore
103 ; CHECK: test_store_invalid_0: Unexpected memory ordering for AtomicStore
117 ; CHECK: test_store_acqrel: Unexpected memory ordering for AtomicStore
131 ; CHECK: test_store_acquire: Unexpected memory ordering for AtomicStore
[all …]
Dnacl-atomic-errors.ll33 ; CHECK: Unexpected memory ordering for AtomicLoad
42 ; CHECK: Unexpected memory ordering for AtomicLoad
50 ; CHECK: Unexpected memory ordering for AtomicLoad
62 ; CHECK: Unexpected memory ordering for AtomicStore
70 ; CHECK: Unexpected memory ordering for AtomicStore
78 ; CHECK: Unexpected memory ordering for AtomicStore
92 ; CHECK: Unexpected memory ordering for AtomicRMW
100 ; CHECK: Unexpected memory ordering for AtomicRMW
138 ; CHECK: Unexpected memory ordering for AtomicCmpxchg
148 ; CHECK: Unexpected memory ordering for AtomicCmpxchg
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
DX509Name.java353 private Vector ordering = new Vector(); field in X509Name
425 ordering.addElement(ASN1ObjectIdentifier.getInstance(s.getObjectAt(0))); in X509Name()
483 Vector ordering, in X509Name() argument
486 this(ordering, attributes, new X509DefaultEntryConverter()); in X509Name()
502 Vector ordering, in X509Name() argument
508 if (ordering != null) in X509Name()
510 for (int i = 0; i != ordering.size(); i++) in X509Name()
512 this.ordering.addElement(ordering.elementAt(i)); in X509Name()
522 this.ordering.addElement(e.nextElement()); in X509Name()
527 for (int i = 0; i != this.ordering.size(); i++) in X509Name()
[all …]
DX509Extensions.java210 private Vector ordering = new Vector(); field in X509Extensions
272 ordering.addElement(s.getObjectAt(0)); in X509Extensions()
294 Vector ordering, in X509Extensions() argument
299 if (ordering == null) in X509Extensions()
305 e = ordering.elements(); in X509Extensions()
310 this.ordering.addElement(ASN1ObjectIdentifier.getInstance(e.nextElement())); in X509Extensions()
313 e = this.ordering.elements(); in X509Extensions()
339 this.ordering.addElement(e.nextElement()); in X509Extensions()
344 e = this.ordering.elements(); in X509Extensions()
361 return ordering.elements(); in oids()
[all …]
DExtensions.java20 private Vector ordering = new Vector(); field in Extensions
60 ordering.addElement(ext.getExtnId()); in Extensions()
72 this.ordering.addElement(extension.getExtnId()); in Extensions()
88 this.ordering.addElement(ext.getExtnId()); in Extensions()
98 return ordering.elements(); in oids()
144 Enumeration e = ordering.elements(); in toASN1Primitive()
182 return toOidArray(ordering); in getExtensionOIDs()
199 for (int i = 0; i != ordering.size(); i++) in getExtensionOIDs()
201 Object oid = ordering.elementAt(i); in getExtensionOIDs()
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DOrderingTest.java211 Ordering<Object> ordering = Ordering.usingToString();
212 Helpers.testComparator(ordering, 1, 12, 124, 2);
213 assertEquals("Ordering.usingToString()", ordering.toString());
214 assertSame(ordering, reserialize(ordering));
378 Ordering<String> ordering = Ordering.natural();
379 Ordering<Iterable<String>> lexy = ordering.lexicographical();
390 .addEqualityGroup(lexy, ordering.lexicographical())
397 Ordering<Integer> ordering = Ordering.natural().nullsFirst();
398 Helpers.testComparator(ordering, null, Integer.MIN_VALUE, 0, 1);
401 .addEqualityGroup(ordering, Ordering.natural().nullsFirst())
[all …]
/external/guava/guava-tests/test/com/google/common/collect/
DOrderingTest.java213 Ordering<Object> ordering = Ordering.usingToString();
214 Helpers.testComparator(ordering, 1, 12, 124, 2);
215 assertEquals("Ordering.usingToString()", ordering.toString());
216 assertSame(ordering, reserialize(ordering));
380 Ordering<String> ordering = Ordering.natural();
381 Ordering<Iterable<String>> lexy = ordering.lexicographical();
392 .addEqualityGroup(lexy, ordering.lexicographical())
399 Ordering<Integer> ordering = Ordering.natural().nullsFirst();
400 Helpers.testComparator(ordering, null, Integer.MIN_VALUE, 0, 1);
403 .addEqualityGroup(ordering, Ordering.natural().nullsFirst())
[all …]
/external/python/cpython3/Lib/unittest/test/
Dtest_runner.py71 ordering = []
75 ordering.append('setUp')
80 ordering.append('test')
83 ordering.append('tearDown')
88 ordering.append('cleanup1')
90 ordering.append('cleanup2')
96 ordering.append('success')
102 self.assertEqual(ordering, ['setUp', 'test', 'tearDown',
106 ordering = []
110 self.assertEqual(ordering, ['setUp', 'cleanup1'])
[all …]
/external/eigen/Eigen/
DOrderingMethods20 * It defines various built-in and external ordering methods for sparse matrices.
24 * those ordering methods and applied to the columns of the matrix.
44 * It is possible as well to call directly a particular ordering method for your own purpose,
46 * AMDOrdering<int> ordering;
51 * ordering(A, perm); // Call AMD
61 * // Call the ordering on the pattern of the lower triangular matrix A
62 * ordering(A.selfadjointView<Lower>(), perm);
/external/selinux/libselinux/src/
Dget_context_list.c161 unsigned int *ordering, unsigned int *nordered) in get_context_order() argument
258 if (ordering[i] == nreach) in get_context_order()
259 ordering[i] = (*nordered)++; in get_context_order()
398 unsigned int *ordering = NULL; in get_ordered_context_list() local
427 ordering = malloc(nreach * sizeof(unsigned int)); in get_ordered_context_list()
428 if (!ordering) in get_ordered_context_list()
431 ordering[i] = nreach; in get_ordered_context_list()
443 rc = get_context_order(fp, fromcon, reachable, nreach, ordering, in get_ordered_context_list()
457 rc = get_context_order(fp, fromcon, reachable, nreach, ordering, in get_ordered_context_list()
478 co[i].order = ordering[i]; in get_ordered_context_list()
[all …]
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_SparseReorder.pbtxt7 SparseTensor, possibly not in canonical ordering.
26 in canonical row-major ordering.
35 summary: "Reorders a SparseTensor into the canonical, row-major ordering."
37 Note that by convention, all sparse ops preserve the canonical ordering along
38 increasing dimension number. The only time ordering can be violated is during
/external/freetype/src/cid/
Dcidriver.c114 const char* *ordering, in cid_get_ros()
123 if ( ordering ) in cid_get_ros()
124 *ordering = cid->ordering; in cid_get_ros()
/external/swiftshader/third_party/LLVM/test/CodeGen/CellSPU/
Dsub_ops.ll4 ; Check ordering of registers ret=param1-param2 -> rt=rb-ra
12 ; Check ordering of registers ret=param1-param2 -> rt=rb-ra
20 ; Check ordering of registers ret=param1-param2 -> rt=ra-rb
/external/freetype/src/base/
Dftcid.c30 const char* *ordering, in FT_Get_CID_Registry_Ordering_Supplement()
55 if ( ordering ) in FT_Get_CID_Registry_Ordering_Supplement()
56 *ordering = o; in FT_Get_CID_Registry_Ordering_Supplement()
/external/tensorflow/tensorflow/docs_src/performance/xla/
Dshapes.md15 these dimension numbers does not imply a particular minor/major ordering in
48 dimension number. This matches the ordering used when passing dimensions as
69 ### Minor-to-major dimension ordering
72 minor-to-major ordering of the dimensions within a shape. Values in
73 `minor_to_major` are an ordering of the dimensions of the array (`0` to `N-1`
96 (at rank 2). Assuming a monotonic ordering of dimensions, another name we may
107 array is akin to *row-major* (at rank 2). Assuming a monotonic ordering of
111 #### Default minor-to-major ordering argument
/external/libusb/examples/getopt/
Dgetopt.c188 } ordering; variable
408 ordering = RETURN_IN_ORDER;
413 ordering = REQUIRE_ORDER;
417 ordering = REQUIRE_ORDER;
419 ordering = PERMUTE;
559 if (ordering == PERMUTE)
612 if (ordering == REQUIRE_ORDER)
/external/libopus/silk/
DNLSF2A.c81 const unsigned char *ordering; in silk_NLSF2A() local
92 ordering = d == 16 ? ordering16 : ordering10; in silk_NLSF2A()
110 …cos_LSF_QA[ordering[k]] = silk_RSHIFT_ROUND( silk_LSHIFT( cos_val, 8 ) + silk_MUL( delta, f_frac )… in silk_NLSF2A()

12345678910>>...17