Home
last modified time | relevance | path

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

12345678910>>...156

/third_party/boost/boost/python/detail/
Dunwind_type.hpp18 template <class Generator, class U>
19 inline typename Generator::result_type
20 unwind_type(U const& p, Generator* = 0);
23 template <class Generator, class U>
24 inline typename Generator::result_type
25 unwind_type(boost::type<U>*p = 0, Generator* = 0);
28 template <class Generator, class U>
29 inline typename Generator::result_type
30 unwind_type_cv(U* p, cv_unqualified, Generator* = 0) in unwind_type_cv() argument
32 return Generator::execute(p); in unwind_type_cv()
[all …]
/third_party/typescript/tests/baselines/reference/
DgeneratorReturnTypeInferenceNonStrict.types5 declare const generator: Generator<number, string, boolean>;
6 >generator : Generator<number, string, boolean>
11 function* g000() { // Generator<never, void, unknown>
12 >g000 : () => Generator<never, void, unknown>
16 function* g001() { // Generator<any (implicit), void, unknown>
17 >g001 : () => Generator<any, void, unknown>
23 function* g002() { // Generator<number, void, unknown>
24 >g002 : () => Generator<number, void, unknown>
31 function* g003() { // Generator<any (implicit), void, unknown>
32 >g003 : () => Generator<any, void, undefined>
[all …]
DgeneratorReturnTypeInference.types5 declare const generator: Generator<number, string, boolean>;
6 >generator : Generator<number, string, boolean>
11 function* g000() { // Generator<never, void, unknown>
12 >g000 : () => Generator<never, void, unknown>
16 function* g001() { // Generator<undefined, void, unknown>
17 >g001 : () => Generator<undefined, void, unknown>
23 function* g002() { // Generator<number, void, unknown>
24 >g002 : () => Generator<number, void, unknown>
31 function* g003() { // Generator<never, void, undefined>
32 >g003 : () => Generator<never, void, undefined>
[all …]
DgeneratorAssignability.types5 declare const g1: Generator<number, void, string>;
6 >g1 : Generator<number, void, string>
8 declare const g2: Generator<number, void, undefined>;
9 >g2 : Generator<number, void, undefined>
11 declare const g3: Generator<number, void, boolean>;
12 >g3 : Generator<number, void, boolean>
27 >g1 : Generator<number, void, string>
32 >g2 : Generator<number, void, undefined>
37 >g1 : Generator<number, void, string>
41 >g2 : Generator<number, void, undefined>
[all …]
DgeneratorReturnTypeInference.errors.txt6 declare const generator: Generator<number, string, boolean>;
9 function* g000() { // Generator<never, void, unknown>
13 function* g001() { // Generator<undefined, void, unknown>
17 function* g002() { // Generator<number, void, unknown>
21 function* g003() { // Generator<never, void, undefined>
25 function* g004() { // Generator<number, void, undefined>
29 function* g005() { // Generator<number, void, boolean>
33 function* g006() { // Generator<1 | 2, void, unknown>
38 function* g007() { // Generator<never, void, unknown>
43 function* g102() { // Generator<never, number, unknown>
[all …]
DgeneratorExplicitReturnType.symbols2 function* g1(): Generator<number, boolean, string> {
4 >Generator : Symbol(Generator, Decl(lib.es2015.generator.d.ts, --, --))
14 function* g2(): Generator<number, boolean, string> {
16 >Generator : Symbol(Generator, Decl(lib.es2015.generator.d.ts, --, --))
24 declare const generator: Generator<number, symbol, string>;
26 >Generator : Symbol(Generator, Decl(lib.es2015.generator.d.ts, --, --))
28 function* g3(): Generator<number, boolean, string> {
30 >Generator : Symbol(Generator, Decl(lib.es2015.generator.d.ts, --, --))
39 function* g4(): Generator<number, boolean, string> {
41 >Generator : Symbol(Generator, Decl(lib.es2015.generator.d.ts, --, --))
DgeneratorReturnTypeInferenceNonStrict.errors.txt7 …erators/generatorReturnTypeInferenceNonStrict.ts(131,10): error TS7025: Generator implicitly has y…
12 declare const generator: Generator<number, string, boolean>;
15 function* g000() { // Generator<never, void, unknown>
19 function* g001() { // Generator<any (implicit), void, unknown>
25 function* g002() { // Generator<number, void, unknown>
29 function* g003() { // Generator<any (implicit), void, unknown>
37 function* g004() { // Generator<number, void, undefined>
41 function* g005() { // Generator<number, void, boolean>
45 function* g006() { // Generator<1 | 2, void, unknown>
50 function* g007() { // Generator<never, void, unknown>
[all …]
DgeneratorExplicitReturnType.types2 function* g1(): Generator<number, boolean, string> {
3 >g1 : () => Generator<number, boolean, string>
21 function* g2(): Generator<number, boolean, string> {
22 >g2 : () => Generator<number, boolean, string>
33 declare const generator: Generator<number, symbol, string>;
34 >generator : Generator<number, symbol, string>
36 function* g3(): Generator<number, boolean, string> {
37 >g3 : () => Generator<number, boolean, string>
42 >generator : Generator<number, symbol, string>
48 function* g4(): Generator<number, boolean, string> {
[all …]
DgeneratorReturnTypeInference.symbols6 declare const generator: Generator<number, string, boolean>;
8 >Generator : Symbol(Generator, Decl(lib.es2015.generator.d.ts, --, --))
13 function* g000() { // Generator<never, void, unknown>
18 function* g001() { // Generator<undefined, void, unknown>
24 function* g002() { // Generator<number, void, unknown>
30 function* g003() { // Generator<never, void, undefined>
36 function* g004() { // Generator<number, void, undefined>
43 function* g005() { // Generator<number, void, boolean>
51 function* g006() { // Generator<1 | 2, void, unknown>
58 function* g007() { // Generator<never, void, unknown>
[all …]
DgeneratorReturnTypeInferenceNonStrict.symbols6 declare const generator: Generator<number, string, boolean>;
8 >Generator : Symbol(Generator, Decl(lib.es2015.generator.d.ts, --, --))
13 function* g000() { // Generator<never, void, unknown>
18 function* g001() { // Generator<any (implicit), void, unknown>
24 function* g002() { // Generator<number, void, unknown>
30 function* g003() { // Generator<any (implicit), void, unknown>
38 function* g004() { // Generator<number, void, undefined>
45 function* g005() { // Generator<number, void, boolean>
53 function* g006() { // Generator<1 | 2, void, unknown>
60 function* g007() { // Generator<never, void, unknown>
[all …]
/third_party/boost/boost/
Dgenerator_iterator.hpp22 template<class Generator>
25 generator_iterator<Generator>
26 , typename Generator::result_type
28 , typename Generator::result_type const&
32 generator_iterator<Generator>
33 , typename Generator::result_type
35 , typename Generator::result_type const&
40 generator_iterator(Generator* g) : m_g(g), m_value((*m_g)()) {} in generator_iterator()
47 const typename Generator::result_type&
59 Generator* m_g;
[all …]
/third_party/boost/boost/proto/detail/
Das_expr.hpp29 template<typename Generator>
32 typedef Generator type;
35 template<typename Generator>
36 struct base_generator<use_basic_expr<Generator> >
38 typedef Generator type;
42 template<typename T, typename Generator, bool WantsBasicExpr>
46 template<typename T, typename Generator>
47 struct as_expr<T, Generator, false>
51 typedef typename Generator::template result<Generator(expr_type)>::type result_type;
56 return Generator()(expr_type::make(t)); in operator ()()
[all …]
/third_party/boost/boost/random/detail/
Dseed.hpp39 #define BOOST_RANDOM_DETAIL_GENERATOR_CONSTRUCTOR(Self, Generator, gen) \ argument
40 template<class Generator> \
41 …explicit Self(Generator& gen, typename ::boost::random::detail::disable_constructor<Self, Generato…
43 #define BOOST_RANDOM_DETAIL_GENERATOR_SEED(Self, Generator, gen) \ argument
44 template<class Generator> \
45 void seed(Generator& gen, typename ::boost::random::detail::disable_seed<Generator>::type* = 0)
69 #define BOOST_RANDOM_DETAIL_GENERATOR_CONSTRUCTOR(Self, Generator, gen) \ argument
72 template<class Generator> \
73 explicit Self(Generator& gen) { \
74 boost_random_constructor_impl(gen, ::boost::is_arithmetic<Generator>());\
[all …]
/third_party/boost/boost/test/data/monomorphic/
Dgenerate.hpp46 template<typename Generator>
49 typedef typename Generator::sample sample;
55 explicit iterator( Generator& gen ) in iterator()
70 Generator* m_gen;
74 typedef Generator generator_type;
77 explicit generated_by( Generator&& G ) in generated_by()
78 : m_generator( std::forward<Generator>(G) ) in generated_by()
83 : m_generator( std::forward<Generator>(rhs.m_generator) ) in generated_by()
90 …iterator begin() const { return iterator( boost::ref(const_cast<Generator&>(m_gen… in begin()
94 Generator m_generator;
[all …]
/third_party/abseil-cpp/absl/container/internal/
Dhash_generator_testing.h66 struct Generator;
69 struct Generator<T, typename std::enable_if<std::is_integral<T>::value>::type> {
77 struct Generator<Enum> {
90 struct Generator<EnumClass> {
104 struct Generator<std::string> {
109 struct Generator<absl::string_view> {
114 struct Generator<NonStandardLayout> {
116 return NonStandardLayout(Generator<std::string>()());
121 struct Generator<std::pair<K, V>> {
123 return std::pair<K, V>(Generator<typename std::decay<K>::type>()(),
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/
Dhash_generator_testing.h68 struct Generator;
71 struct Generator<T, typename std::enable_if<std::is_integral<T>::value>::type> {
79 struct Generator<Enum> {
92 struct Generator<EnumClass> {
106 struct Generator<std::string> {
111 struct Generator<absl::string_view> {
116 struct Generator<NonStandardLayout> {
118 return NonStandardLayout(Generator<std::string>()());
123 struct Generator<std::pair<K, V>> {
125 return std::pair<K, V>(Generator<typename std::decay<K>::type>()(),
[all …]
Dunordered_map_modifiers_test.h38 hash_internal::Generator<T>()); in TYPED_TEST_P()
49 T val = hash_internal::Generator<T>()(); in TYPED_TEST_P()
54 T val2 = {val.first, hash_internal::Generator<V>()()}; in TYPED_TEST_P()
63 T val = hash_internal::Generator<T>()(); in TYPED_TEST_P()
68 T val2 = {val.first, hash_internal::Generator<V>()()}; in TYPED_TEST_P()
78 hash_internal::Generator<T>()); in TYPED_TEST_P()
87 T val = hash_internal::Generator<T>()(); in TYPED_TEST_P()
93 T val2 = {val.first, hash_internal::Generator<V>()()}; in TYPED_TEST_P()
103 hash_internal::Generator<T>()); in TYPED_TEST_P()
121 K k = hash_internal::Generator<K>()(); in TYPED_TEST_P()
[all …]
/third_party/boost/boost/spirit/home/karma/nonterminal/detail/
Dgenerator_binder.hpp21 template <typename Generator, typename Auto>
24 generator_binder(Generator const& g) in generator_binder()
51 typedef typename traits::has_semantic_action<Generator>::type auto_rule; in operator ()()
55 Generator g;
59 template <typename Generator>
60 struct generator_binder<Generator, mpl::true_>
62 generator_binder(Generator const& g) in generator_binder()
74 Generator g;
77 template <typename Auto, typename Generator>
78 inline generator_binder<Generator, Auto>
[all …]
/third_party/boost/libs/spirit/repository/test/karma/
Dtest.hpp60 template <typename Char, typename Generator>
61 inline bool test(Char const *expected, Generator const& g) in test()
78 template <typename Char, typename Generator>
79 inline bool test(std::basic_string<Char> const& expected, Generator const& g) in test()
97 template <typename Char, typename Generator, typename Attribute>
98 inline bool test(Char const *expected, Generator const& g, in test()
116 template <typename Char, typename Generator, typename Attribute>
117 inline bool test(std::basic_string<Char> const& expected, Generator const& g, in test()
136 template <typename Char, typename Generator, typename Delimiter>
137 inline bool test_delimited(Char const *expected, Generator const& g, in test_delimited()
[all …]
/third_party/boost/libs/spirit/test/karma/
Dtest.hpp86 template <typename Char, typename Generator>
87 inline bool test(Char const *expected, Generator const& g) in test()
104 template <typename Char, typename Generator>
105 inline bool test(std::basic_string<Char> const& expected, Generator const& g) in test()
123 template <typename Char, typename Generator, typename Attribute>
124 inline bool test(Char const *expected, Generator const& g, in test()
142 template <typename Char, typename Generator, typename Attribute>
143 inline bool test(std::basic_string<Char> const& expected, Generator const& g, in test()
162 template <typename Char, typename Generator, typename Delimiter>
163 inline bool test_delimited(Char const *expected, Generator const& g, in test_delimited()
[all …]
/third_party/boost/boost/range/algorithm/
Drandom_shuffle.hpp58 template< class Generator >
63 Generator& g;
65 wrap_generator(Generator& gen) : g(gen) {} in wrap_generator()
83 template< class RandomIt, class Generator >
84 inline void random_shuffle(RandomIt first, RandomIt last, Generator& gen) in random_shuffle()
86 std::shuffle(first, last, wrap_generator< Generator >(gen)); in random_shuffle()
120 template<class RandomAccessRange, class Generator>
121 inline RandomAccessRange& random_shuffle(RandomAccessRange& rng, Generator& gen) in random_shuffle()
129 template<class RandomAccessRange, class Generator>
130 inline const RandomAccessRange& random_shuffle(const RandomAccessRange& rng, Generator& gen) in random_shuffle()
/third_party/skia/third_party/externals/abseil-cpp/absl/container/
Dbtree_test.h78 struct Generator {
80 explicit Generator(int m) : maxval(m) {}
88 struct Generator<absl::Time> {
90 explicit Generator(int m) : maxval(m) {}
95 struct Generator<std::string> {
97 explicit Generator(int m) : maxval(m) {}
105 struct Generator<Cord> {
107 explicit Generator(int m) : maxval(m) {}
115 struct Generator<std::pair<T, U> > {
116 Generator<typename remove_pair_const<T>::type> tgen;
[all …]
/third_party/abseil-cpp/absl/container/
Dbtree_test.h78 struct Generator {
80 explicit Generator(int m) : maxval(m) {}
88 struct Generator<absl::Time> {
90 explicit Generator(int m) : maxval(m) {}
95 struct Generator<std::string> {
97 explicit Generator(int m) : maxval(m) {}
105 struct Generator<Cord> {
107 explicit Generator(int m) : maxval(m) {}
115 struct Generator<std::pair<T, U> > {
116 Generator<typename remove_pair_const<T>::type> tgen;
[all …]
/third_party/protobuf/src/google/protobuf/compiler/python/
Dpython_generator.cc301 Generator::Generator() : file_(nullptr) {} in Generator() function in google::protobuf::compiler::python::Generator
303 Generator::~Generator() {} in ~Generator()
305 uint64_t Generator::GetSupportedFeatures() const { in GetSupportedFeatures()
309 bool Generator::Generate(const FileDescriptor* file, in Generate()
395 void Generator::PrintImports() const { in PrintImports()
437 void Generator::PrintFileDescriptor() const { in PrintFileDescriptor()
489 void Generator::PrintTopLevelEnums() const { in PrintTopLevelEnums()
517 void Generator::PrintAllNestedEnumsInFile() const { in PrintAllNestedEnumsInFile()
526 void Generator::PrintEnum(const EnumDescriptor& enum_descriptor) const { in PrintEnum()
573 void Generator::PrintNestedEnums(const Descriptor& descriptor) const { in PrintNestedEnums()
[all …]
/third_party/boost/libs/range/doc/reference/algorithm/
Drandom_shuffle.qbk17 template<class RandomAccessRange, class Generator>
18 RandomAccessRange& random_shuffle(RandomAccessRange& rng, Generator& gen);
20 template<class RandomAccessRange, class Generator>
21 const RandomAccessRange& random_shuffle(const RandomAccessRange& rng, Generator& gen);
26 …t do not specify a `Generator` use an internal random number generator. The versions of `random_sh…
34 [*For the version without a Generator:]
38 [*For the version with a Generator:]
41 * `Generator` is a model of the `RandomNumberGeneratorConcept`.
42 * `RandomAccessRange`'s distance type is convertible to `Generator`'s argument type.

12345678910>>...156