Home
last modified time | relevance | path

Searched refs:unique (Results 1 – 25 of 1449) sorted by relevance

12345678910>>...58

/external/skqp/tests/
DUtilsTest.cpp29 REPORTER_ASSERT(reporter, obj.unique()); in test_autounref()
33 REPORTER_ASSERT(reporter, obj.unique()); in test_autounref()
36 REPORTER_ASSERT(reporter, obj.unique()); in test_autounref()
41 REPORTER_ASSERT(reporter, !obj.unique()); in test_autounref()
45 REPORTER_ASSERT(reporter, obj.unique()); in test_autounref()
51 REPORTER_ASSERT(reporter, obj0.unique()); in test_autostarray()
52 REPORTER_ASSERT(reporter, obj1.unique()); in test_autostarray()
63 REPORTER_ASSERT(reporter, !obj0.unique()); in test_autostarray()
64 REPORTER_ASSERT(reporter, !obj1.unique()); in test_autostarray()
69 REPORTER_ASSERT(reporter, obj0.unique()); in test_autostarray()
[all …]
DRecorderTest.cpp63 REPORTER_ASSERT(r, paint.getShader()->unique()); in DEF_TEST()
68 REPORTER_ASSERT(r, !paint.getShader()->unique()); in DEF_TEST()
70 REPORTER_ASSERT(r, paint.getShader()->unique()); in DEF_TEST()
87 REPORTER_ASSERT(reporter, !image->unique()); in DEF_TEST()
94 REPORTER_ASSERT(reporter, image->unique()); in DEF_TEST()
102 REPORTER_ASSERT(reporter, !image->unique()); in DEF_TEST()
109 REPORTER_ASSERT(reporter, image->unique()); in DEF_TEST()
/external/libcxx/test/std/algorithms/alg.modifying.operations/alg.unique/
Dunique.pass.cpp31 auto it = std::unique(std::begin(ia), std::end(ia)); in test_constexpr()
44 Iter r = std::unique(Iter(ia), Iter(ia+sa)); in test()
50 r = std::unique(Iter(ib), Iter(ib+sb)); in test()
57 r = std::unique(Iter(ic), Iter(ic+sc)); in test()
63 r = std::unique(Iter(id), Iter(id+sd)); in test()
70 r = std::unique(Iter(ie), Iter(ie+se)); in test()
78 r = std::unique(Iter(ig), Iter(ig+sg)); in test()
85 r = std::unique(Iter(ih), Iter(ih+sh)); in test()
92 r = std::unique(Iter(ii), Iter(ii+si)); in test()
116 Iter r = std::unique(Iter(ia), Iter(ia+sa)); in test1()
[all …]
Dunique_pred.pass.cpp31 auto it = std::unique(std::begin(ia), std::end(ia), [](int a, int b) {return a == b; }); in test_constexpr()
55 Iter r = std::unique(Iter(ia), Iter(ia+sa), count_equal()); in test()
63 r = std::unique(Iter(ib), Iter(ib+sb), count_equal()); in test()
72 r = std::unique(Iter(ic), Iter(ic+sc), count_equal()); in test()
80 r = std::unique(Iter(id), Iter(id+sd), count_equal()); in test()
89 r = std::unique(Iter(ie), Iter(ie+se), count_equal()); in test()
99 r = std::unique(Iter(ig), Iter(ig+sg), count_equal()); in test()
108 r = std::unique(Iter(ih), Iter(ih+sh), count_equal()); in test()
117 r = std::unique(Iter(ii), Iter(ii+si), count_equal()); in test()
143 Iter r = std::unique(Iter(ia), Iter(ia+sa), count_equal()); in test1()
[all …]
/external/tensorflow/tensorflow/python/ops/
Dcandidate_sampling_ops.py34 def uniform_candidate_sampler(true_classes, num_true, num_sampled, unique, argument
85 true_classes, num_true, num_sampled, unique, range_max, seed=seed1,
96 def log_uniform_candidate_sampler(true_classes, num_true, num_sampled, unique, argument
150 true_classes, num_true, num_sampled, unique, range_max, seed=seed1,
159 unique, range_max, seed=None, name=None): argument
210 true_classes, num_true, num_sampled, unique, range_max, seed=seed1,
219 unique, argument
301 true_classes, num_true, num_sampled, unique, range_max,
308 def all_candidate_sampler(true_classes, num_true, num_sampled, unique, argument
339 true_classes, num_true, num_sampled, unique, seed=seed1, seed2=seed2,
/external/libcxx/test/std/containers/sequences/forwardlist/forwardlist.ops/
Dunique_pred.pass.cpp34 c1.unique(g); in main()
44 c1.unique(g); in main()
54 c1.unique(g); in main()
62 c1.unique(g); in main()
72 c1.unique(g); in main()
83 c1.unique(g); in main()
93 c1.unique(g); in main()
103 c1.unique(g); in main()
111 c1.unique(g); in main()
121 c1.unique(g); in main()
Dunique.pass.cpp29 c1.unique(); in main()
39 c1.unique(); in main()
49 c1.unique(); in main()
57 c1.unique(); in main()
67 c1.unique(); in main()
78 c1.unique(); in main()
88 c1.unique(); in main()
98 c1.unique(); in main()
106 c1.unique(); in main()
116 c1.unique(); in main()
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_UniqueV2.pbtxt13 find the unique elements.
29 summary: "Finds unique elements along an axis of a tensor."
31 This operation either returns a tensor `y` containing unique elements
32 along the `axis` of a tensor. The returned unique elements is sorted
36 contains the index in the unique output `y`.
45 y, idx = unique(x)
56 y, idx = unique(x, axis=0)
68 y, idx = unique(x, axis=1)
Dapi_def_Unique.pbtxt21 summary: "Finds unique elements in a 1-D tensor."
23 This operation returns a tensor `y` containing all of the unique elements of `x`
26 the index of each value of `x` in the unique output `y`. In other words:
34 y, idx = unique(x)
41 y, idx = unique(x)
Dapi_def_UniqueWithCountsV2.pbtxt13 find the unique elements.
35 summary: "Finds unique elements along an axis of a tensor."
37 This operation either returns a tensor `y` containing unique elements
38 along the `axis` of a tensor. The returned unique elements is sorted
42 `axis` dimension. The `idx` contains the index in the unique output `y`
43 and the `count` contains the count in the unique output `y`.
/external/skia/tests/
DRecorderTest.cpp63 REPORTER_ASSERT(r, paint.getShader()->unique()); in DEF_TEST()
68 REPORTER_ASSERT(r, !paint.getShader()->unique()); in DEF_TEST()
70 REPORTER_ASSERT(r, paint.getShader()->unique()); in DEF_TEST()
87 REPORTER_ASSERT(reporter, !image->unique()); in DEF_TEST()
94 REPORTER_ASSERT(reporter, image->unique()); in DEF_TEST()
102 REPORTER_ASSERT(reporter, !image->unique()); in DEF_TEST()
109 REPORTER_ASSERT(reporter, image->unique()); in DEF_TEST()
DUtilsTest.cpp35 REPORTER_ASSERT(reporter, obj.unique()); in test_autounref()
39 REPORTER_ASSERT(reporter, obj.unique()); in test_autounref()
42 REPORTER_ASSERT(reporter, obj.unique()); in test_autounref()
47 REPORTER_ASSERT(reporter, !obj.unique()); in test_autounref()
51 REPORTER_ASSERT(reporter, obj.unique()); in test_autounref()
57 REPORTER_ASSERT(reporter, obj0.unique()); in test_autostarray()
58 REPORTER_ASSERT(reporter, obj1.unique()); in test_autostarray()
69 REPORTER_ASSERT(reporter, !obj0.unique()); in test_autostarray()
70 REPORTER_ASSERT(reporter, !obj1.unique()); in test_autostarray()
75 REPORTER_ASSERT(reporter, obj0.unique()); in test_autostarray()
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/
Dunique_op_test.py33 y, idx = array_ops.unique(x)
37 self.assertEqual(len(tf_y), len(np.unique(x)))
43 y, idx = array_ops.unique(x, out_idx=dtypes.int64)
47 self.assertEqual(len(tf_y), len(np.unique(x)))
54 y, idx = array_ops.unique(x)
58 self.assertEqual(len(tf_y), len(np.unique(x)))
84 self.assertEqual(len(tf_y), len(np.unique(x)))
90 y, idx = array_ops.unique(x)
94 self.assertEqual(len(tf_y), len(np.unique(x)))
104 self.assertEqual(len(tf_y), len(np.unique(x)))
[all …]
/external/libcxx/test/std/utilities/smartptr/unique.ptr/
DREADME.TXT7 Instead of having a [unique.ptr.single] and [unique.ptr.runtime] directory,
8 each containing their own tests, a single directory, "unique.ptr.class",
14 Tests specific to [unique.ptr.single] have the suffix ".single.pass.cpp"
15 and those specific to [unique.ptr.runtime] are named "*.runtime.pass.cpp".
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_module_group_util.cc45 absl::flat_hash_set<HloInstruction*> unique; in GlobalPredecessors() local
52 if (unique.find(predecessor) != unique.end()) { in GlobalPredecessors()
57 if (unique.insert(instr).second) { in GlobalPredecessors()
66 if (unique.insert(instr).second) { in GlobalPredecessors()
72 unique.insert(predecessor); in GlobalPredecessors()
122 absl::flat_hash_set<HloInstruction*> unique; in GlobalSuccessors() local
129 if (unique.find(successor) != unique.end()) { in GlobalSuccessors()
134 if (unique.insert(instr).second) { in GlobalSuccessors()
143 if (unique.insert(instr).second) { in GlobalSuccessors()
149 unique.insert(successor); in GlobalSuccessors()
/external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/
DNormalizedFileNames.java79 String unique = s; in ensureUniqueness() local
80 String lower = unique.toLowerCase(Locale.ENGLISH); in ensureUniqueness()
83 unique = s + '~' + idx++; in ensureUniqueness()
84 lower = unique.toLowerCase(Locale.ENGLISH); in ensureUniqueness()
87 return unique; in ensureUniqueness()
/external/llvm/test/Linker/
Dtype-unique-simple2.ll4 ; RUN: llvm-link %S/Inputs/type-unique-simple2-a.ll %S/Inputs/type-unique-simple2-b.ll -S -o %t
5 ; RUN: cat %t | FileCheck %S/Inputs/type-unique-simple2-a.ll -check-prefix=LINK
7 ; RUN: llvm-dwarfdump -debug-dump=info %t2 | FileCheck %S/Inputs/type-unique-simple2-a.ll
Dtype-unique-inheritance.ll1 …lvm-link %S/Inputs/type-unique-inheritance-a.ll %S/Inputs/type-unique-inheritance-b.ll -S -o - | F…
Dtype-unique-unrelated.ll1 ; RUN: llvm-link -S %s %p/Inputs/type-unique-unrelated2.ll %p/Inputs/type-unique-unrelated3.ll | Fi…
21 ; type-unique-unrelated2.ll look unrelated until type-unique-unrelated3.ll
/external/swiftshader/third_party/llvm-7.0/llvm/test/Linker/
Dtype-unique-simple2.ll4 ; RUN: llvm-link %S/Inputs/type-unique-simple2-a.ll %S/Inputs/type-unique-simple2-b.ll -S -o %t
5 ; RUN: cat %t | FileCheck %S/Inputs/type-unique-simple2-a.ll -check-prefix=LINK
7 ; RUN: llvm-dwarfdump -v -debug-info %t2 | FileCheck %S/Inputs/type-unique-simple2-a.ll
Dtype-unique-inheritance.ll1 …lvm-link %S/Inputs/type-unique-inheritance-a.ll %S/Inputs/type-unique-inheritance-b.ll -S -o - | F…
Dtype-unique-unrelated.ll1 ; RUN: llvm-link -S %s %p/Inputs/type-unique-unrelated2.ll %p/Inputs/type-unique-unrelated3.ll | Fi…
21 ; type-unique-unrelated2.ll look unrelated until type-unique-unrelated3.ll
/external/autotest/server/site_tests/security_kASLR/
Dsecurity_kASLR.py113 unique = len(address_count)
114 logging.info("Unique kernel offsets: %d", unique)
120 if unique < 2:
122 if unique < (self.reboot_count / 3):
124 if highest > (unique / 10):
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.obs/
Dunique.pass.cpp22 assert(p.unique()); in main()
25 assert(!p.unique()); in main()
27 assert(p.unique()); in main()
/external/pdfium/core/fxcrt/
Dweak_ptr_unittest.cpp58 UniqueTestPtr unique(&thing); in TEST() local
59 WeakTestPtr ptr1(std::move(unique)); in TEST()
86 UniqueTestPtr unique(&thing); in TEST() local
87 WeakTestPtr ptr1(std::move(unique)); in TEST()
126 UniqueTestPtr unique(&thing); in TEST() local
127 WeakTestPtr ptr1(std::move(unique)); in TEST()

12345678910>>...58