Home
last modified time | relevance | path

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

/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/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/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/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/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/python/cpython3/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/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/tensorflow/tensorflow/core/kernels/data/
Dconcatenate_dataset_op.cc168 const PartialTensorShape& ts1, const PartialTensorShape& ts2) { in MostSpecificCompatibleShape() argument
170 if (ts1.dims() != ts2.dims() || ts1.unknown_rank() || ts2.unknown_rank()) in MostSpecificCompatibleShape()
172 auto dims1 = ts1.dim_sizes(); in MostSpecificCompatibleShape()
174 for (int d = 0; d < ts1.dims(); d++) { in MostSpecificCompatibleShape()
/external/aac/libSBRdec/src/
Dhbe.cpp1707 int tr, ti1, ti2, mTr = 0, ts1 = 0, ts2 = 0, mVal_e = 0, temp_e = 0; in QmfTransposerApply() local
1778 ts1 = ti1; in QmfTransposerApply()
1787 if ((mVal_F >> shift2) > (sqmag0_F >> shift1) && ts1 >= 0 && in QmfTransposerApply()
1806 hQmfTransposer->qmfInBufReal_F[slotOffset][ts1]; in QmfTransposerApply()
1808 hQmfTransposer->qmfInBufImag_F[slotOffset][ts1]; in QmfTransposerApply()
1830 hQmfTransposer->qmfInBufReal_F[slotOffset][ts1]; in QmfTransposerApply()
1832 hQmfTransposer->qmfInBufImag_F[slotOffset][ts1]; in QmfTransposerApply()
1844 hQmfTransposer->qmfInBufReal_F[slotOffset][ts1]; in QmfTransposerApply()
1846 hQmfTransposer->qmfInBufImag_F[slotOffset][ts1]; in QmfTransposerApply()
1871 ->qmfInBufReal_F[slotOffset + 2 * (k - 1)][ts1]; in QmfTransposerApply()
[all …]
/external/clang/test/PCH/
Dpragma-diag-section.cpp36 TS1<int> ts1; in f() local
37 ts1.m(); in f()
/external/adhd/cras/src/tests/
Dsystem_state_unittest.cc315 struct cras_timespec ts1; in TEST() local
316 cras_system_state_get_last_stream_active_time(&ts1); in TEST()
321 EXPECT_NE(0, memcmp(&ts1, &ts2, sizeof(ts1))); in TEST()
/external/selinux/libsepol/src/
Dmodule_to_cil.c911 struct type_set *ts1 = NULL, *ts2; in search_attr_list() local
914 ts1 = (struct type_set *)set; in search_attr_list()
923 if (ts1) { in search_attr_list()
925 if (ts1->flags != ts2->flags) in search_attr_list()
927 if (ebitmap_cmp(&ts1->negset, &ts2->negset) == 0) in search_attr_list()
929 if (ebitmap_cmp(&ts1->types, &ts2->types) == 0) in search_attr_list()
/external/tensorflow/tensorflow/python/data/ops/
Ddataset_ops.py1125 ts1.most_specific_compatible_shape(ts2)
1126 for (ts1, ts2) in zip(
/external/python/cpython3/Lib/test/
Ddatetimetester.py4835 ts1 = dt.replace(fold=1).timestamp()
4837 self.assertEqual(ts1, s0 - ss / 2)
/external/hyphenation-patterns/de/
Dhyph-de-1996.pat.txt20626 ts1än
20627 ts1äus
Dhyph-de-1901.pat.txt20685 ts1äus
Dhyph-de-ch-1901.pat.txt20493 ts1äus
/external/libxml2/result/
Drdf2.rdr1522 /usr/share/ncurses4/terminfo/t/ts1
Drdf2.rde1522 /usr/share/ncurses4/terminfo/t/ts1
/external/hyphenation-patterns/nn/
Dhyph-nn.pat.txt23913 ts1å
/external/hyphenation-patterns/nb/
Dhyph-nb.pat.txt23913 ts1å