Home
last modified time | relevance | path

Searched full:generator (Results 1 – 25 of 10956) sorted by relevance

12345678910>>...439

/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/
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 …]
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 …]
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>;
25 >generator : Symbol(generator, Decl(generatorExplicitReturnType.ts, 12, 13))
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, --, --))
32 const x: number = yield* generator; // error
[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.txt1 …' expression implicitly results in an 'any' type because its containing generator lacks a return-t…
6 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>
30 const x = yield* generator;
33 function* g006() { // Generator<1 | 2, 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>
39 const x: number = yield* generator; // error
41 >yield* generator : symbol
[all …]
DgeneratorReturnTypeInferenceNonStrict.errors.txt3 …' expression implicitly results in an 'any' type because its containing generator lacks a return-t…
7 …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>
42 const x = yield* generator;
[all …]
DgeneratorReturnTypeInference.js3 declare const generator: Generator<number, string, boolean>;
6 function* g000() { // Generator<never, void, unknown>
10 function* g001() { // Generator<undefined, void, unknown>
14 function* g002() { // Generator<number, void, unknown>
18 function* g003() { // Generator<never, void, undefined>
22 function* g004() { // Generator<number, void, undefined>
26 function* g005() { // Generator<number, void, boolean>
27 const x = yield* generator;
30 function* g006() { // Generator<1 | 2, void, unknown>
35 function* g007() { // Generator<never, void, unknown>
[all …]
DgeneratorReturnTypeInferenceNonStrict.js3 declare const generator: Generator<number, string, boolean>;
6 function* g000() { // Generator<never, void, unknown>
10 function* g001() { // Generator<any (implicit), void, unknown>
14 function* g002() { // Generator<number, void, unknown>
18 function* g003() { // Generator<any (implicit), void, unknown>
24 function* g004() { // Generator<number, void, undefined>
28 function* g005() { // Generator<number, void, boolean>
29 const x = yield* generator;
32 function* g006() { // Generator<1 | 2, void, unknown>
37 function* g007() { // Generator<never, void, unknown>
[all …]
/third_party/boost/libs/spirit/doc/karma/
Doperator.qbk9 [section:operator Generator Operators]
18 yields a new generator type which is a composite of its operands, `a` and
22 overloaded operators is used with more primitive generator constructs. It
35 [section:sequence Sequence Generator (`a << b`)]
39 Generator sequences are used to consecutively combine different, more primitive
63 failed generator stops the execution of the entire
113 [:The overall complexity of the sequence generator is defined by the sum of the
137 [section:alternative Alternative Generator (`a | b`)]
141 Generator alternatives are used to combine different, more primitive generators
165 failed generator forces the alternative generator to
[all …]
Ddirective.qbk9 [section:directive Generator Directives]
11 This module includes different generator directives. It includes alignment
27 [section:alignment Alignment Generator Directives (`left_align[]`, `center[]`, `right_align[]`)]
33 an arbitrary generator to create the padding.
68 [[`a`] [A generator object]]
69 [[`pad`] [A generator object, or a __karma_lazy_argument__ that
70 evaluates to a generator object]]
87 the necessary padding. This generator succeeds as
88 long as its embedded generator `a` does not
93 the necessary padding. This generator succeeds as
[all …]
Dchar.qbk30 The `char_` generator emits single characters. The `char_` generator has an
62 generator emits a single character that is in the range, including both
69 ISO-8859-1) to the `char_` generator to eliminate such ambiguities.
108 general, a char generator is created when you pass in a
109 character, a string generator is created when you pass in a string, and a
110 numeric generator is created when you use a numeric literal. The
112 `lit("x")`. In this case, we optimize this to create a char generator
113 instead of a string generator.]
156 [[`cg`] [A char generator, a char range generator, or a char set generator.]]]
165 [[`ch`] [Generate the character literal `ch`. This generator
[all …]
Dwarming_up.qbk17 Let's create a generator that will output a floating-point number:
22 generator (a built-in generator). Spirit has many pre-defined generators and
27 refer to a floating point generator or parser: `double_`.
32 Now, let's create a generator that will output a line consisting of two
37 Here you see the familiar floating-point numeric generator `double_` used twice,
43 significant difference. The above program creates a generator from two simpler
45 generator that is a composition of smaller generators. Whitespace between
46 numbers can implicitly be inserted depending on how the generator is invoked
49 [note When we combine generators, we end up with a "bigger" generator, but
50 it's still a generator. Generators can get bigger and bigger, nesting more
[all …]
/third_party/typescript/tests/cases/conformance/generators/
DgeneratorReturnTypeInference.ts7 declare const generator: Generator<number, string, boolean>; constant
10 function* g000() { // Generator<never, void, unknown>
14 function* g001() { // Generator<undefined, void, unknown>
18 function* g002() { // Generator<number, void, unknown>
22 function* g003() { // Generator<never, void, undefined>
26 function* g004() { // Generator<number, void, undefined>
30 function* g005() { // Generator<number, void, boolean>
31 const x = yield* generator;
34 function* g006() { // Generator<1 | 2, void, unknown>
39 function* g007() { // Generator<never, void, unknown>
[all …]
DgeneratorReturnTypeInferenceNonStrict.ts7 declare const generator: Generator<number, string, boolean>; constant
10 function* g000() { // Generator<never, void, unknown>
14 function* g001() { // Generator<any (implicit), void, unknown>
18 function* g002() { // Generator<number, void, unknown>
22 function* g003() { // Generator<any (implicit), void, unknown>
28 function* g004() { // Generator<number, void, undefined>
32 function* g005() { // Generator<number, void, boolean>
33 const x = yield* generator;
36 function* g006() { // Generator<1 | 2, void, unknown>
41 function* g007() { // Generator<never, void, unknown>
[all …]
/third_party/boost/boost/spirit/home/karma/
Dgenerator.hpp24 buffering = 0x01, // generator requires buffering
25 counting = 0x02, // generator requires counting
26 tracking = 0x04, // generator requires position tracking
27 disabling = 0x08, // generator requires disabling of output
35 struct generator struct
44 // g: a generator
52 // g: a generator
57 // G: a generator type
68 struct primitive_generator : generator<Derived>
74 struct nary_generator : generator<Derived>
[all …]
/third_party/boost/boost/numeric/odeint/external/viennacl/
Dviennacl_operations.hpp25 # include <viennacl/generator/custom_operation.hpp>
55 static generator::symbolic_vector <0, T1> sym_v1; in operator ()()
56 static generator::symbolic_vector <1, T2> sym_v2; in operator ()()
57 static generator::symbolic_vector <2, T3> sym_v3; in operator ()()
58 static generator::cpu_symbolic_scalar<3, Fac1> sym_a1; in operator ()()
59 static generator::cpu_symbolic_scalar<4, Fac2> sym_a2; in operator ()()
61 static generator::custom_operation op( in operator ()()
94 static generator::symbolic_vector <0, T1> sym_v1; in operator ()()
95 static generator::symbolic_vector <1, T2> sym_v2; in operator ()()
96 static generator::symbolic_vector <2, T3> sym_v3; in operator ()()
[all …]
/third_party/boost/libs/iterator/doc/
Dgenerator_iterator.htm8 <title>Generator Iterator Adaptor Documentation</title>
15 <h1>Generator Iterator Adaptor</h1>
20 <p>The generator iterator adaptor makes it easier to create custom input
22 <a href="http://www.sgi.com/tech/stl/Generator.html">Generator</a> and
25 increment retrieves an item from the generator and makes it available to be
27 concepts can be more naturally expressed as a generator, while most STL
36 template &lt;class Generator&gt;
39 template &lt;class Generator&gt;
42 template &lt;class Generator&gt;
43 typename generator_iterator_generator&lt;Generator&gt;::type
[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/libs/locale/src/shared/
Dgenerator.cpp9 #include <boost/locale/generator.hpp>
21 struct generator::data {
50 generator::generator(localization_backend_manager const &mgr) : in generator() function in boost::locale::generator
51 d(new generator::data(mgr)) in generator()
54 generator::generator() : in generator() function in boost::locale::generator
55 d(new generator::data(localization_backend_manager::global())) in generator()
58 generator::~generator() in ~generator()
62 locale_category_type generator::categories() const in categories()
66 void generator::categories(locale_category_type t) in categories()
71 void generator::characters(character_facet_type t) in characters()
[all …]
/third_party/boost/tools/build/src/tools/
Dunix.jam19 class unix-linking-generator : linking-generator
26 composing ? : # Specify if generator is composing. The generator will be
28 # not given. To make generator non-composing, pass empty
34 generator.__init__ $(id) $(composing) : $(source-types) : $(target-types) :
40 local result = [ linking-generator.run $(project) $(name) : $(property-set)
66 return [ linking-generator.generated-targets $(sources) : $(property-set)
72 class unix-archive-generator : archive-generator
80 archive-generator.__init__ $(id) $(composing) : $(source-types) : $(target-types) :
86 local result = [ archive-generator.run $(project) $(name) : $(property-set)
96 class unix-searched-lib-generator : searched-lib-generator
[all …]
Dpch.jam47 # Base PCH generator. The 'run' method has the logic to prevent this generator
49 class pch-generator : generator
62 # Unless this generator is invoked as the top-most generator for a
64 # this generator, while preventing B2 to try this generator
67 # One bad example is msvc, where pch generator produces both PCH
69 # bison, or by msidl), we'd try to use pch generator to get OBJ from
70 # that H, which is completely wrong. By restricting this generator
90 # NOTE: requirements are empty, default pch generator can be applied when
93 [ new dummy-generator pch.default-c-pch-generator : : C_PCH ] ;
95 [ new dummy-generator pch.default-cpp-pch-generator : : CPP_PCH ] ;
/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/libs/random/example/
Drandom_demo.cpp23 // This is a typedef for a random number generator.
28 void experiment(base_generator_type & generator) in experiment() argument
34 gen_type die_gen(generator, distribution_type(1, 6)); in experiment()
45 // Define a random number generator and initialize it with a reproducible in main()
47 base_generator_type generator(42); in main() local
54 boost::variate_generator<base_generator_type&, boost::uniform_real<> > uni(generator, uni_dist); in main()
58 // of a STL Generator interface, i.e. calling the generator as a zero- in main()
70 * lowest bits. A linear congruential generator with a small factor in main()
73 * takes only the highest bits of the generator, and the generator itself in main()
77 generator.seed(static_cast<unsigned int>(std::time(0))); in main()
[all …]

12345678910>>...439