Home
last modified time | relevance | path

Searched refs:is_iterable (Results 1 – 13 of 13) sorted by relevance

/third_party/boost/tools/build/src/build/
Dengine.py14 from b2.util import set_jam_action, is_iterable
27 assert is_iterable(targets)
28 assert is_iterable(sources)
47 assert is_iterable(targets)
48 assert is_iterable(sources)
86 assert is_iterable(targets)
87 assert is_iterable(sources)
118 assert is_iterable(targets)
135 assert is_iterable(targets)
137 assert is_iterable(value)
[all …]
Dconfigure.py23 from b2.util import bjam_signature, value_to_jam, is_iterable
44 assert is_iterable(components)
49 assert is_iterable(components)
Dtoolset.py18 from b2.util import cached, qualify_jam_action, is_iterable_typed, is_iterable
42 assert is_iterable(values) and all(
134 assert is_iterable(values) and all(isinstance(v, (basestring, type(None))) for v in values)
372 assert is_iterable(values) and all(
Dproject.py62 is_iterable)
1084 assert is_iterable(args) and all(is_iterable(arg) for arg in args)
1279 assert is_iterable(name) and isinstance(name[0], basestring)
1280 assert is_iterable(value) and isinstance(value[0], basestring)
Dgenerators.py59 from b2.util import set as set_, is_iterable_typed, is_iterable, bjam_signature
/third_party/boost/tools/build/src/util/
Dset.py6 from b2.util import is_iterable
23 assert is_iterable(set1)
24 assert is_iterable(set2)
46 assert is_iterable(a)
47 assert is_iterable(b)
Dsequence.py8 from b2.util import is_iterable
12 assert is_iterable(values)
28 assert is_iterable(elements)
43 assert is_iterable(elements)
44 assert is_iterable(ranks)
D__init__.py40 return is_iterable(values) and all(isinstance(v, type_) for v in values)
43 def is_iterable(value): function
49 return is_iterable(value) or value is None
/third_party/boost/libs/histogram/test/
Ddetail_detect_test.cpp136 BOOST_TEST_TRAIT_FALSE((is_iterable<int>)); in main()
137 BOOST_TEST_TRAIT_TRUE((is_iterable<A>)); in main()
138 BOOST_TEST_TRAIT_TRUE((is_iterable<B>)); in main()
139 BOOST_TEST_TRAIT_TRUE((is_iterable<C>)); in main()
/third_party/boost/boost/histogram/detail/
Ddetect.hpp84 BOOST_HISTOGRAM_DETAIL_DETECT(is_iterable, (std::begin(t), std::end(t)));
153 using is_sequence_of_axis = mp11::mp_and<is_iterable<T>, is_axis<mp11::mp_first<T>>>;
157 mp11::mp_and<is_iterable<T>, is_axis_variant<mp11::mp_first<T>>>;
161 mp11::mp_and<is_iterable<T>, is_any_axis<mp11::mp_first<T>>>;
175 is_iterable<std::remove_cv_t<std::remove_reference_t<T>>>::value>>
Dfill_n.hpp117 !is_iterable<T>::value)>{}, in operator ()()
268 !is_iterable<V>::value)>( in get_total_size()
/third_party/mindspore/mindspore/dataset/engine/
Dsamplers.py62 if not isinstance(input_sampler, str) and validator.is_iterable(input_sampler):
679 if not isinstance(indices, str) and validator.is_iterable(indices):
/third_party/mindspore/mindspore/dataset/core/
Dvalidator_helpers.py48 def is_iterable(obj): function