Home
last modified time | relevance | path

Searched refs:ts1 (Results 1 – 25 of 33) sorted by relevance

12

/external/python/pyasn1/tests/type/
Dtest_tag.py49 self.ts1 = tag.initTagSet(
60 assert 'TagSet' in repr(self.ts1)
65 assert self.ts1 == self.ts2, 'tag set comparation fails'
68 assert hash(self.ts1) == hash(self.ts2), 'tag set hash comp. fails'
71 assert len(self.ts1) == len(self.ts2), 'tag length comparation fails'
76 t = self.ts1.tagImplicitly(
85 t = self.ts1.tagExplicitly(
97 t = self.ts1 + tag.Tag(tag.tagClassApplication, tag.tagFormatSimple, 2)
105 t = tag.Tag(tag.tagClassApplication, tag.tagFormatSimple, 2) + self.ts1
115 assert self.ts1.isSuperTagSetOf(
[all …]
/external/tensorflow/tensorflow/contrib/graph_editor/
Dreroute.py41 def _check_ts_compatibility(ts0, ts1): argument
52 ts1 = _util.make_list_of_t(ts1)
53 if len(ts0) != len(ts1):
55 len(ts0), len(ts1)))
56 for t0, t1 in zip(ts0, ts1):
135 def _reroute_ts(ts0, ts1, mode, can_modify=None, cannot_modify=None): argument
182 ts1 = _util.make_list_of_t(ts1)
183 _check_ts_compatibility(ts0, ts1)
191 for t0, t1 in zip(ts0, ts1):
195 for t0, t1, consumers in zip(ts0, ts1, precomputed_consumers):
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DTestUtilities.java30 TreeSet ts1 = new TreeSet(); in TestCollectionUtilitySpeed() local
37 ts1.add(prefix + String.valueOf(i) + postfix); in TestCollectionUtilitySpeed()
41 CollectionUtilities.containsAll(ts1, ts2); in TestCollectionUtilitySpeed()
42 ts1.containsAll(ts2); in TestCollectionUtilitySpeed()
44 timeAndCompare(ts1, ts2, iterations, true, .75); in TestCollectionUtilitySpeed()
46 ts1.add("Able"); in TestCollectionUtilitySpeed()
47 timeAndCompare(ts1, ts2, iterations, true, .75); in TestCollectionUtilitySpeed()
48 timeAndCompare(ts2, ts1, iterations*100, false, 1.05); in TestCollectionUtilitySpeed()
51 …private void timeAndCompare(TreeSet ts1, TreeSet ts2, int iterations, boolean expected, double fac… in timeAndCompare() argument
52 …double utilityTimeSorted = timeUtilityContainsAll(iterations, ts1, ts2, expected)/(double)iteratio… in timeAndCompare()
[all …]
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/util/
DTestUtilities.java27 TreeSet ts1 = new TreeSet(); in TestCollectionUtilitySpeed() local
34 ts1.add(prefix + String.valueOf(i) + postfix); in TestCollectionUtilitySpeed()
38 CollectionUtilities.containsAll(ts1, ts2); in TestCollectionUtilitySpeed()
39 ts1.containsAll(ts2); in TestCollectionUtilitySpeed()
41 timeAndCompare(ts1, ts2, iterations, true, .75); in TestCollectionUtilitySpeed()
43 ts1.add("Able"); in TestCollectionUtilitySpeed()
44 timeAndCompare(ts1, ts2, iterations, true, .75); in TestCollectionUtilitySpeed()
45 timeAndCompare(ts2, ts1, iterations*100, false, 1.05); in TestCollectionUtilitySpeed()
48 …private void timeAndCompare(TreeSet ts1, TreeSet ts2, int iterations, boolean expected, double fac… in timeAndCompare() argument
49 …double utilityTimeSorted = timeUtilityContainsAll(iterations, ts1, ts2, expected)/(double)iteratio… in timeAndCompare()
[all …]
/external/linux-kselftest/tools/testing/selftests/timers/
Dfreq-step.c51 static double diff_timespec(struct timespec *ts1, struct timespec *ts2) in diff_timespec() argument
53 return ts1->tv_sec - ts2->tv_sec + (ts1->tv_nsec - ts2->tv_nsec) / 1e9; in diff_timespec()
59 struct timespec ts1, ts2, ts3; in get_sample() local
63 clock_gettime(CLOCK_MONOTONIC_RAW, &ts1); in get_sample()
67 ts1.tv_sec -= mono_raw_base; in get_sample()
71 delay = diff_timespec(&ts3, &ts1); in get_sample()
78 sample->offset = diff_timespec(&ts2, &ts1); in get_sample()
80 sample->time = ts1.tv_sec + ts1.tv_nsec / 1e9; in get_sample()
/external/webrtc/webrtc/base/
Dtimeutils.h58 inline uint32_t TimeMax(uint32_t ts1, uint32_t ts2) { in TimeMax() argument
59 return TimeIsLaterOrEqual(ts1, ts2) ? ts2 : ts1; in TimeMax()
63 inline uint32_t TimeMin(uint32_t ts1, uint32_t ts2) { in TimeMin() argument
64 return TimeIsLaterOrEqual(ts1, ts2) ? ts1 : ts2; in TimeMin()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_gettime/
D3-1.c23 struct timespec ts1, ts2, ts3, ts4; in main() local
31 if (clock_gettime(CLOCK_MONOTONIC, &ts1) != 0) { in main()
54 if ((ts1.tv_sec <= ts2.tv_sec) && in main()
61 ts1.tv_sec, ts2.tv_sec, ts3.tv_sec, ts4.tv_sec); in main()
D4-1.c37 struct timespec ts1, ts2, ts3, ts4; in main()
44 if (clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &ts1) != 0) { in main()
70 if ((ts1.tv_sec <= ts2.tv_sec) && in main()
77 ts1.tv_sec, ts2.tv_sec, ts3.tv_sec, ts4.tv_sec); in main()
/external/compiler-rt/test/tsan/
Dcond_version.c20 struct timespec ts0, ts1, ts2; in main() local
30 ts1 = ts0; in main()
31 ts1.tv_sec += 2; in main()
35 res = pthread_cond_timedwait(&c, &m, &ts1); in main()
/external/python/cpython2/Modules/_ctypes/libffi/testsuite/libffi.call/
Dstruct5.c15 static test_structure_5 ABI_ATTR struct5(test_structure_5 ts1, test_structure_5 ts2) in struct5() argument
17 ts1.c1 += ts2.c1; in struct5()
18 ts1.c2 -= ts2.c2; in struct5()
20 return ts1; in struct5()
/external/libffi/testsuite/libffi.call/
Dstruct5.c15 static test_structure_5 ABI_ATTR struct5(test_structure_5 ts1, test_structure_5 ts2) in struct5() argument
17 ts1.c1 += ts2.c1; in struct5()
18 ts1.c2 -= ts2.c2; in struct5()
20 return ts1; in struct5()
/external/tensorflow/tensorflow/core/kernels/data/
Dconcatenate_dataset_op.cc191 const PartialTensorShape& ts1, const PartialTensorShape& ts2) { in MostSpecificCompatibleShape() argument
192 if (ts1.dims() != ts2.dims() || ts1.unknown_rank() || ts2.unknown_rank()) in MostSpecificCompatibleShape()
195 auto dims1 = ts1.dim_sizes(); in MostSpecificCompatibleShape()
197 for (int d = 0; d < ts1.dims(); d++) { in MostSpecificCompatibleShape()
/external/aac/libSBRdec/src/
Dhbe.cpp1711 int tr, ti1, ti2, mTr = 0, ts1 = 0, ts2 = 0, mVal_e = 0, temp_e = 0; in QmfTransposerApply() local
1782 ts1 = ti1; in QmfTransposerApply()
1791 if ((mVal_F >> shift2) > (sqmag0_F >> shift1) && ts1 >= 0 && in QmfTransposerApply()
1810 hQmfTransposer->qmfInBufReal_F[slotOffset][ts1]; in QmfTransposerApply()
1812 hQmfTransposer->qmfInBufImag_F[slotOffset][ts1]; in QmfTransposerApply()
1834 hQmfTransposer->qmfInBufReal_F[slotOffset][ts1]; in QmfTransposerApply()
1836 hQmfTransposer->qmfInBufImag_F[slotOffset][ts1]; in QmfTransposerApply()
1848 hQmfTransposer->qmfInBufReal_F[slotOffset][ts1]; in QmfTransposerApply()
1850 hQmfTransposer->qmfInBufImag_F[slotOffset][ts1]; in QmfTransposerApply()
1875 ->qmfInBufReal_F[slotOffset + 2 * (k - 1)][ts1]; in QmfTransposerApply()
[all …]
/external/tensorflow/tensorflow/core/kernels/data/experimental/
Ddirected_interleave_dataset_op.cc259 const PartialTensorShape& ts1, const PartialTensorShape& ts2) { in MostSpecificCompatibleShape() argument
261 if (ts1.dims() != ts2.dims() || ts1.unknown_rank() || ts2.unknown_rank()) in MostSpecificCompatibleShape()
263 auto dims1 = ts1.dim_sizes(); in MostSpecificCompatibleShape()
265 for (int d = 0; d < ts1.dims(); d++) { in MostSpecificCompatibleShape()
/external/clang/test/PCH/
Dpragma-diag-section.cpp36 TS1<int> ts1; in f() local
37 ts1.m(); in f()
/external/python/setuptools/setuptools/tests/
Dtest_setuptools.py296 ts1 = makeSetup(script_args=['test', '--test-suite=foo.tests.suite'])
297 ts1 = ts1.get_command_obj('test')
298 ts1.ensure_finalized()
299 assert ts1.test_suite == 'foo.tests.suite'
/external/opencensus-java/exporters/trace/jaeger/src/test/java/io/opencensus/exporter/trace/jaeger/
DJaegerExporterHandlerIntegrationTest.java182 long ts1 = log1.get("timestamp").getAsLong(); in exportToJaeger() local
183 assertThat(ts1).isAtLeast(MILLISECONDS.toMicros(startTimeInMillis)); in exportToJaeger()
184 assertThat(ts1).isAtMost(MILLISECONDS.toMicros(endTimeInMillis)); in exportToJaeger()
196 assertThat(ts2).isAtLeast(ts1); in exportToJaeger()
/external/adhd/cras/src/tests/
Dsystem_state_unittest.cc415 struct cras_timespec ts1; in TEST() local
416 cras_system_state_get_last_stream_active_time(&ts1); in TEST()
421 EXPECT_NE(0, memcmp(&ts1, &ts2, sizeof(ts1))); in TEST()
/external/tensorflow/tensorflow/core/kernels/
Dlogging_ops_test.cc135 double ts1 = *((*GetOutput(0)).flat<double>().data()); in TEST_F() local
143 EXPECT_LE(1.0, ts2 - ts1); in TEST_F()
/external/tensorflow/tensorflow/python/data/experimental/ops/
Dinterleave_ops.py117 ts1.most_specific_compatible_shape(ts2) for (ts1, ts2) in zip(
/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.last_write_time/
Dlast_write_time.pass.cpp269 TimeSpec ts1 = {}; in CompareTime() local
270 if (!ConvertToTimeSpec(ts1, t1)) in CompareTime()
272 return CompareTime(ts1, t2); in CompareTime()
/external/deqp-deps/SPIRV-Tools/test/opt/
Dscalar_replacement_test.cpp1165 OpName %ts1 "ts1" in TEST_F()
/external/swiftshader/third_party/SPIRV-Tools/test/opt/
Dscalar_replacement_test.cpp1164 OpName %ts1 "ts1" in TEST_F()
/external/selinux/libsepol/src/
Dmodule_to_cil.c922 struct type_set *ts1 = NULL, *ts2; in search_attr_list() local
925 ts1 = (struct type_set *)set; in search_attr_list()
934 if (ts1) { in search_attr_list()
936 if (ts1->flags != ts2->flags) in search_attr_list()
938 if (ebitmap_cmp(&ts1->negset, &ts2->negset) == 0) in search_attr_list()
940 if (ebitmap_cmp(&ts1->types, &ts2->types) == 0) in search_attr_list()
/external/tensorflow/tensorflow/python/data/ops/
Ddataset_ops.py2569 ts1.most_specific_compatible_shape(ts2)
2570 for (ts1, ts2) in zip(

12