Home
last modified time | relevance | path

Searched +full:- +full:s (Results 1 – 25 of 1778) sorted by relevance

12345678910>>...72

/external/bc/tests/bc/
Dsine.txt4 s(0)
5 s(0.5)
6 s(1)
7 s(2)
8 s(3)
9 s(-0.5)
10 s(-1)
11 s(-2)
12 s(-3)
13 s(p / 7)
[all …]
/external/toybox/tests/files/bc/
Dsine.txt4 s(0)
5 s(0.5)
6 s(1)
7 s(2)
8 s(3)
9 s(-0.5)
10 s(-1)
11 s(-2)
12 s(-3)
13 s(p / 7)
[all …]
/external/libcxx/test/std/strings/basic.string/string.nonmembers/string_op+/
Dstring_string.pass.cpp1 //===----------------------------------------------------------------------===//
8 //===----------------------------------------------------------------------===//
39 template <class S>
40 void test0(const S& lhs, const S& rhs, const S& x) { in test0()
45 template <class S>
46 void test1(S&& lhs, const S& rhs, const S& x) { in test1()
50 template <class S>
51 void test2(const S& lhs, S&& rhs, const S& x) { in test2()
55 template <class S>
56 void test3(S&& lhs, S&& rhs, const S& x) { in test3()
[all …]
/external/libcxx/test/std/strings/basic.string/string.modifiers/string_insert/
Dsize_string.pass.cpp1 //===----------------------------------------------------------------------===//
8 //===----------------------------------------------------------------------===//
22 template <class S>
24 test(S s, typename S::size_type pos, S str, S expected) in test() argument
26 const typename S::size_type old_size = s.size(); in test()
27 S s0 = s; in test()
30 s.insert(pos, str); in test()
31 LIBCPP_ASSERT(s.__invariants()); in test()
32 assert(s == expected); in test()
39 s.insert(pos, str); in test()
[all …]
/external/libcxx/test/std/strings/basic.string/string.ops/string_find/
Dstring_size.pass.cpp1 //===----------------------------------------------------------------------===//
8 //===----------------------------------------------------------------------===//
20 template <class S>
22 test(const S& s, const S& str, typename S::size_type pos, typename S::size_type x) in test() argument
24 assert(s.find(str, pos) == x); in test()
25 if (x != S::npos) in test()
26 assert(pos <= x && x + str.size() <= s.size()); in test()
29 template <class S>
31 test(const S& s, const S& str, typename S::size_type x) in test() argument
33 assert(s.find(str) == x); in test()
[all …]
/external/libcxx/test/std/strings/basic.string/string.ops/string_find.first.of/
Dstring_size.pass.cpp1 //===----------------------------------------------------------------------===//
8 //===----------------------------------------------------------------------===//
20 template <class S>
22 test(const S& s, const S& str, typename S::size_type pos, typename S::size_type x) in test() argument
24 assert(s.find_first_of(str, pos) == x); in test()
25 if (x != S::npos) in test()
26 assert(pos <= x && x < s.size()); in test()
29 template <class S>
31 test(const S& s, const S& str, typename S::size_type x) in test() argument
33 assert(s.find_first_of(str) == x); in test()
[all …]
/external/cronet/tot/third_party/libc++/src/test/std/strings/string.view/string.view.find/
Dfind_first_of_string_view_size.pass.cpp1 //===----------------------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
20 template <class S>
21 void test(const S& s, const S& str, typename S::size_type pos, typename S::size_type x) { in test() argument
22 LIBCPP_ASSERT_NOEXCEPT(s.find_first_of(str, pos)); in test()
23 assert(s.find_first_of(str, pos) == x); in test()
24 if (x != S::npos) in test()
25 assert(pos <= x && x < s.size()); in test()
28 template <class S>
[all …]
Dfind_first_not_of_string_view_size.pass.cpp1 //===----------------------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
20 template <class S>
21 void test(const S& s, const S& str, typename S::size_type pos, typename S::size_type x) { in test() argument
22 LIBCPP_ASSERT_NOEXCEPT(s.find_first_not_of(str, pos)); in test()
23 assert(s.find_first_not_of(str, pos) == x); in test()
24 if (x != S::npos) in test()
25 assert(pos <= x && x < s.size()); in test()
28 template <class S>
[all …]
/external/cronet/stable/third_party/libc++/src/test/std/strings/string.view/string.view.find/
Dfind_first_of_string_view_size.pass.cpp1 //===----------------------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
20 template <class S>
21 void test(const S& s, const S& str, typename S::size_type pos, typename S::size_type x) { in test() argument
22 LIBCPP_ASSERT_NOEXCEPT(s.find_first_of(str, pos)); in test()
23 assert(s.find_first_of(str, pos) == x); in test()
24 if (x != S::npos) in test()
25 assert(pos <= x && x < s.size()); in test()
28 template <class S>
[all …]
Dfind_first_not_of_string_view_size.pass.cpp1 //===----------------------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
20 template <class S>
21 void test(const S& s, const S& str, typename S::size_type pos, typename S::size_type x) { in test() argument
22 LIBCPP_ASSERT_NOEXCEPT(s.find_first_not_of(str, pos)); in test()
23 assert(s.find_first_not_of(str, pos) == x); in test()
24 if (x != S::npos) in test()
25 assert(pos <= x && x < s.size()); in test()
28 template <class S>
[all …]
/external/libcxx/test/std/strings/basic.string/string.modifiers/string_assign/
Diterator.pass.cpp1 //===----------------------------------------------------------------------===//
8 //===----------------------------------------------------------------------===//
22 template <class S, class It>
24 test(S s, It first, It last, S expected) in test() argument
26 s.assign(first, last); in test()
27 LIBCPP_ASSERT(s.__invariants()); in test()
28 assert(s == expected); in test()
32 template <class S, class It>
34 test_exceptions(S s, It first, It last) in test_exceptions() argument
36 S aCopy = s; in test_exceptions()
[all …]
/external/cronet/tot/third_party/libc++/src/test/std/strings/basic.string/string.ops/string_find.first.not.of/
Dstring_size.pass.cpp1 //===----------------------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
19 template <class S>
20 TEST_CONSTEXPR_CXX20 void test(const S& s, const S& str, typename S::size_type pos, typename S::siz… in test() argument
21 LIBCPP_ASSERT_NOEXCEPT(s.find_first_not_of(str, pos)); in test()
22 assert(s.find_first_not_of(str, pos) == x); in test()
23 if (x != S::npos) in test()
24 assert(pos <= x && x < s.size()); in test()
27 template <class S>
[all …]
/external/cronet/stable/third_party/libc++/src/test/std/strings/basic.string/string.ops/string_find.first.not.of/
Dstring_size.pass.cpp1 //===----------------------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
19 template <class S>
20 TEST_CONSTEXPR_CXX20 void test(const S& s, const S& str, typename S::size_type pos, typename S::siz… in test() argument
21 LIBCPP_ASSERT_NOEXCEPT(s.find_first_not_of(str, pos)); in test()
22 assert(s.find_first_not_of(str, pos) == x); in test()
23 if (x != S::npos) in test()
24 assert(pos <= x && x < s.size()); in test()
27 template <class S>
[all …]
/external/cronet/tot/third_party/libc++/src/test/std/strings/basic.string/string.modifiers/string_replace/
Diter_iter_string.pass.cpp1 //===----------------------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
22 template <class S>
23 TEST_CONSTEXPR_CXX20 void test(S s, typename S::size_type pos1, typename S::size_type n1, S str, S in test() argument
24 typename S::size_type old_size = s.size(); in test()
25 typename S::const_iterator first = s.begin() + pos1; in test()
26 typename S::const_iterator last = s.begin() + pos1 + n1; in test()
27 typename S::size_type xlen = last - first; in test()
28 s.replace(first, last, str); in test()
[all …]
/external/cronet/stable/third_party/libc++/src/test/std/strings/basic.string/string.modifiers/string_replace/
Diter_iter_string.pass.cpp1 //===----------------------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
22 template <class S>
23 TEST_CONSTEXPR_CXX20 void test(S s, typename S::size_type pos1, typename S::size_type n1, S str, S in test() argument
24 typename S::size_type old_size = s.size(); in test()
25 typename S::const_iterator first = s.begin() + pos1; in test()
26 typename S::const_iterator last = s.begin() + pos1 + n1; in test()
27 typename S::size_type xlen = last - first; in test()
28 s.replace(first, last, str); in test()
[all …]
/external/libcxx/test/std/strings/basic.string/string.ops/string_find.first.not.of/
Dstring_size.pass.cpp1 //===----------------------------------------------------------------------===//
8 //===----------------------------------------------------------------------===//
20 template <class S>
22 test(const S& s, const S& str, typename S::size_type pos, typename S::size_type x) in test() argument
24 assert(s.find_first_not_of(str, pos) == x); in test()
25 if (x != S::npos) in test()
26 assert(pos <= x && x < s.size()); in test()
29 template <class S>
31 test(const S& s, const S& str, typename S::size_type x) in test() argument
33 assert(s.find_first_not_of(str) == x); in test()
[all …]
/external/pytorch/benchmarks/distributed/ddp/
DREADME.md24 [launch]: https://pytorch.org/docs/stable/distributed.html#launch-utility
29 -----------------------------------
31 -----------------------------------
37 --- nvidia-smi topo -m ---
40 … NV1 NV1 NV2 NV2 SYS SYS SYS SYS PIX SYS PHB 0-19,40-59
41 … X NV2 NV1 SYS NV2 SYS SYS SYS PIX SYS PHB 0-19,40-59
42 … NV2 X NV2 SYS SYS NV1 SYS SYS PHB SYS PIX 0-19,40-59
43 … NV1 NV2 X SYS SYS SYS NV1 SYS PHB SYS PIX 0-19,40-59
44 … SYS SYS SYS X NV1 NV1 NV2 PIX SYS PHB SYS 0-19,40-59
45 … NV2 SYS SYS NV1 X NV2 NV1 PIX SYS PHB SYS 0-19,40-59
[all …]
/external/libcxx/test/std/strings/string.view/string.view.find/
Dfind_string_view_size.pass.cpp1 //===----------------------------------------------------------------------===//
8 //===----------------------------------------------------------------------===//
20 template <class S>
22 test(const S& s, const S& str, typename S::size_type pos, typename S::size_type x) in test() argument
24 assert(s.find(str, pos) == x); in test()
25 if (x != S::npos) in test()
26 assert(pos <= x && x + str.size() <= s.size()); in test()
29 template <class S>
31 test(const S& s, const S& str, typename S::size_type x) in test() argument
33 assert(s.find(str) == x); in test()
[all …]
Dfind_first_of_string_view_size.pass.cpp1 //===----------------------------------------------------------------------===//
8 //===----------------------------------------------------------------------===//
17 template <class S>
19 test(const S& s, const S& str, typename S::size_type pos, typename S::size_type x) in test() argument
21 assert(s.find_first_of(str, pos) == x); in test()
22 if (x != S::npos) in test()
23 assert(pos <= x && x < s.size()); in test()
26 template <class S>
28 test(const S& s, const S& str, typename S::size_type x) in test() argument
30 assert(s.find_first_of(str) == x); in test()
[all …]
Dfind_first_not_of_string_view_size.pass.cpp1 //===----------------------------------------------------------------------===//
8 //===----------------------------------------------------------------------===//
17 template <class S>
19 test(const S& s, const S& str, typename S::size_type pos, typename S::size_type x) in test() argument
21 assert(s.find_first_not_of(str, pos) == x); in test()
22 if (x != S::npos) in test()
23 assert(pos <= x && x < s.size()); in test()
26 template <class S>
28 test(const S& s, const S& str, typename S::size_type x) in test() argument
30 assert(s.find_first_not_of(str) == x); in test()
[all …]
/external/libcxx/test/std/strings/basic.string/string.modifiers/string_replace/
Diter_iter_string.pass.cpp1 //===----------------------------------------------------------------------===//
8 //===----------------------------------------------------------------------===//
22 template <class S>
24 test(S s, typename S::size_type pos1, typename S::size_type n1, S str, S expected) in test() argument
26 typename S::size_type old_size = s.size(); in test()
27 typename S::const_iterator first = s.begin() + pos1; in test()
28 typename S::const_iterator last = s.begin() + pos1 + n1; in test()
29 typename S::size_type xlen = last - first; in test()
30 s.replace(first, last, str); in test()
31 LIBCPP_ASSERT(s.__invariants()); in test()
[all …]
/external/cronet/tot/third_party/libc++/src/test/std/strings/basic.string/string.modifiers/string_insert/
Dsize_string.pass.cpp1 //===----------------------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
22 template <class S>
23 TEST_CONSTEXPR_CXX20 void test(S s, typename S::size_type pos, S str, S expected) { in test() argument
24 const typename S::size_type old_size = s.size(); in test()
25 S s0 = s; in test()
27 s.insert(pos, str); in test()
28 LIBCPP_ASSERT(s.__invariants()); in test()
29 assert(s == expected); in test()
[all …]
/external/cronet/stable/third_party/libc++/src/test/std/strings/basic.string/string.modifiers/string_insert/
Dsize_string.pass.cpp1 //===----------------------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
22 template <class S>
23 TEST_CONSTEXPR_CXX20 void test(S s, typename S::size_type pos, S str, S expected) { in test() argument
24 const typename S::size_type old_size = s.size(); in test()
25 S s0 = s; in test()
27 s.insert(pos, str); in test()
28 LIBCPP_ASSERT(s.__invariants()); in test()
29 assert(s == expected); in test()
[all …]
/external/cronet/stable/third_party/libc++/src/test/std/strings/basic.string/string.ops/string_find.last.of/
Dstring_size.pass.cpp1 //===----------------------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
19 template <class S>
20 TEST_CONSTEXPR_CXX20 void test(const S& s, const S& str, typename S::size_type pos, typename S::siz… in test() argument
21 LIBCPP_ASSERT_NOEXCEPT(s.find_last_of(str, pos)); in test()
22 assert(s.find_last_of(str, pos) == x); in test()
23 if (x != S::npos) in test()
24 assert(x <= pos && x < s.size()); in test()
27 template <class S>
[all …]
/external/cronet/tot/third_party/libc++/src/test/std/strings/basic.string/string.ops/string_find.last.of/
Dstring_size.pass.cpp1 //===----------------------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
19 template <class S>
20 TEST_CONSTEXPR_CXX20 void test(const S& s, const S& str, typename S::size_type pos, typename S::siz… in test() argument
21 LIBCPP_ASSERT_NOEXCEPT(s.find_last_of(str, pos)); in test()
22 assert(s.find_last_of(str, pos) == x); in test()
23 if (x != S::npos) in test()
24 assert(x <= pos && x < s.size()); in test()
27 template <class S>
[all …]

12345678910>>...72