Home
last modified time | relevance | path

Searched full:strategy (Results 1 – 25 of 1042) sorted by relevance

12345678910>>...42

/third_party/typescript/tests/baselines/reference/
DgeneratorTypeCheck63.symbols9 export function strategy<T extends StrategicState>(stratName: string, gen: (a: T) => IterableIterat…
10 >strategy : Symbol(strategy, Decl(generatorTypeCheck63.ts, 2, 1))
47 export interface Strategy<T> {
48 >Strategy : Symbol(Strategy, Decl(generatorTypeCheck63.ts, 13, 1))
66 export const Nothing: Strategy<State> = strategy("Nothing", function* (state: State) {
68 >Strategy : Symbol(Strategy, Decl(generatorTypeCheck63.ts, 13, 1))
70 >strategy : Symbol(strategy, Decl(generatorTypeCheck63.ts, 2, 1))
80 export const Nothing1: Strategy<State> = strategy("Nothing", function* (state: State) {
82 >Strategy : Symbol(Strategy, Decl(generatorTypeCheck63.ts, 13, 1))
84 >strategy : Symbol(strategy, Decl(generatorTypeCheck63.ts, 2, 1))
[all …]
DgeneratorTypeCheck63.js6 export function strategy<T extends StrategicState>(stratName: string, gen: (a: T) => IterableIterat…
17 export interface Strategy<T> {
25 export const Nothing: Strategy<State> = strategy("Nothing", function* (state: State) {
30 export const Nothing1: Strategy<State> = strategy("Nothing", function* (state: State) {
33 export const Nothing2: Strategy<State> = strategy("Nothing", function* (state: State) {
37 export const Nothing3: Strategy<State> = strategy("Nothing", function* (state: State) {
45 exports.Nothing3 = exports.Nothing2 = exports.Nothing1 = exports.Nothing = exports.strategy = void …
46 function strategy(stratName, gen) { function
56 exports.strategy = strategy;
57 exports.Nothing = strategy("Nothing", function* (state) {
[all …]
DgeneratorTypeCheck63.types7 export function strategy<T extends StrategicState>(stratName: string, gen: (a: T) => IterableIterat…
8 >strategy : <T extends StrategicState>(stratName: string, gen: (a: T) => IterableIterator<T | undef…
41 export interface Strategy<T> {
51 export const Nothing: Strategy<State> = strategy("Nothing", function* (state: State) {
52 >Nothing : Strategy<State>
53 >strategy("Nothing", function* (state: State) { yield 1; return state;}) : (a: State) => Iter…
54 >strategy : <T extends StrategicState>(stratName: string, gen: (a: T) => IterableIterator<T>) => (a…
68 export const Nothing1: Strategy<State> = strategy("Nothing", function* (state: State) {
69 >Nothing1 : Strategy<State>
70 >strategy("Nothing", function* (state: State) {}) : (a: State) => IterableIterator<State>
[all …]
DgeneratorTypeCheck62.symbols9 export function strategy<T extends StrategicState>(stratName: string, gen: (a: T) => IterableIterat…
10 >strategy : Symbol(strategy, Decl(generatorTypeCheck62.ts, 2, 1))
47 export interface Strategy<T> {
48 >Strategy : Symbol(Strategy, Decl(generatorTypeCheck62.ts, 13, 1))
66 export const Nothing1: Strategy<State> = strategy("Nothing", function*(state: State) {
68 >Strategy : Symbol(Strategy, Decl(generatorTypeCheck62.ts, 13, 1))
70 >strategy : Symbol(strategy, Decl(generatorTypeCheck62.ts, 2, 1))
79 export const Nothing2: Strategy<State> = strategy("Nothing", function*(state: State) {
81 >Strategy : Symbol(Strategy, Decl(generatorTypeCheck62.ts, 13, 1))
83 >strategy : Symbol(strategy, Decl(generatorTypeCheck62.ts, 2, 1))
[all …]
DgeneratorTypeCheck62.js6 export function strategy<T extends StrategicState>(stratName: string, gen: (a: T) => IterableIterat…
17 export interface Strategy<T> {
25 export const Nothing1: Strategy<State> = strategy("Nothing", function*(state: State) {
29 export const Nothing2: Strategy<State> = strategy("Nothing", function*(state: State) {
33 export const Nothing3: Strategy<State> = strategy("Nothing", function* (state: State) {
42 exports.Nothing3 = exports.Nothing2 = exports.Nothing1 = exports.strategy = void 0;
43 function strategy(stratName, gen) { function
53 exports.strategy = strategy;
54 exports.Nothing1 = strategy("Nothing", function* (state) {
57 exports.Nothing2 = strategy("Nothing", function* (state) {
[all …]
DgeneratorTypeCheck62.types7 export function strategy<T extends StrategicState>(stratName: string, gen: (a: T) => IterableIterat…
8 >strategy : <T extends StrategicState>(stratName: string, gen: (a: T) => IterableIterator<T | undef…
41 export interface Strategy<T> {
51 export const Nothing1: Strategy<State> = strategy("Nothing", function*(state: State) {
52 >Nothing1 : Strategy<State>
53 >strategy("Nothing", function*(state: State) { return state;}) : (a: State) => IterableIterator<…
54 >strategy : <T extends StrategicState>(stratName: string, gen: (a: T) => IterableIterator<T>) => (a…
64 export const Nothing2: Strategy<State> = strategy("Nothing", function*(state: State) {
65 >Nothing2 : Strategy<State>
66 >strategy("Nothing", function*(state: State) { yield state;}) : (a: State) => IterableIterator<S…
[all …]
DgeneratorTypeCheck63.errors.txt15 …export function strategy<T extends StrategicState>(stratName: string, gen: (a: T) => IterableItera…
26 export interface Strategy<T> {
34 export const Nothing: Strategy<State> = strategy("Nothing", function* (state: State) {
47 export const Nothing1: Strategy<State> = strategy("Nothing", function* (state: State) {
50 export const Nothing2: Strategy<State> = strategy("Nothing", function* (state: State) {
54 export const Nothing3: Strategy<State> = strategy("Nothing", function* (state: State) {
/third_party/node/test/fixtures/wpt/streams/writable-streams/
Dreentrant-strategy.any.js6 …s exercise the pathological case of calling WritableStream* methods from within the strategy.size()
14 const strategy = { variable
23 const ws = recordingWritableStream({}, strategy);
34 const strategy = { variable
48 }, strategy);
64 const strategy = { variable
74 }, strategy);
91 }, 'controller.error() should work when called from within strategy.size()');
95 const strategy = { variable
102 const ws = recordingWritableStream({}, strategy);
[all …]
Dbad-strategies.any.js16 }, 'Writable stream: throwing strategy.size getter');
22 }, 'reject any non-function value for strategy.size');
35 }, 'Writable stream: throwing strategy.highWaterMark getter');
49 }, 'Writable stream: invalid strategy.highWaterMark');
66 }, 'Writable stream: throwing strategy.size method');
88 }, 'Writable stream: invalid strategy.size return value');
/third_party/typescript/tests/cases/conformance/es6/yieldExpressions/
DgeneratorTypeCheck63.ts9 export function strategy<T extends StrategicState>(stratName: string, gen: (a: T) => IterableIterat… function
20 export interface Strategy<T> { interface
28 export const Nothing: Strategy<State> = strategy("Nothing", function* (state: State) {
33 export const Nothing1: Strategy<State> = strategy("Nothing", function* (state: State) {
36 export const Nothing2: Strategy<State> = strategy("Nothing", function* (state: State) {
40 export const Nothing3: Strategy<State> = strategy("Nothing", function* (state: State) {
DgeneratorTypeCheck62.ts9 export function strategy<T extends StrategicState>(stratName: string, gen: (a: T) => IterableIterat… function
20 export interface Strategy<T> { interface
28 export const Nothing1: Strategy<State> = strategy("Nothing", function*(state: State) {
32 export const Nothing2: Strategy<State> = strategy("Nothing", function*(state: State) {
36 export const Nothing3: Strategy<State> = strategy("Nothing", function* (state: State) {
/third_party/node/test/parallel/
Dtest-zlib-deflate-constructors.js213 // Does not throw if opts.strategy is valid
214 new zlib.Deflate({ strategy: zlib.constants.Z_FILTERED }); property
215 new zlib.Deflate({ strategy: zlib.constants.Z_HUFFMAN_ONLY }); property
216 new zlib.Deflate({ strategy: zlib.constants.Z_RLE }); property
217 new zlib.Deflate({ strategy: zlib.constants.Z_FIXED }); property
218 new zlib.Deflate({ strategy: zlib.constants.Z_DEFAULT_STRATEGY }); property
220 // Throws if options.strategy is invalid
222 () => new zlib.Deflate({ strategy: 'test' }), property
226 message: 'The "options.strategy" property must be of type number. ' +
232 () => new zlib.Deflate({ strategy: -Infinity }), property
[all …]
Dtest-stream-readable-strategy-option.js8 // Strategy 2
20 // Use helper to convert it to a Web ReadableStream using ByteLength strategy
22 strategy: new ByteLengthQueuingStrategy({ highWaterMark: 1 }), property
30 // Strategy 2
42 // Use helper to convert it to a Web ReadableStream using Count strategy
44 strategy: new CountQueuingStrategy({ highWaterMark: 1 }), property
57 // Check if the strategy is being assigned on the init of the ReadableStream
Dtest-whatwg-webstreams-coverage.js53 const strategy = new CountQueuingStrategy({ highWaterMark: 1 }); constant
56 inspect(strategy, { depth: null }),
60 inspect(strategy),
64 inspect(strategy, { depth: 0 }),
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DDomTreeUpdater.h30 explicit DomTreeUpdater(UpdateStrategy Strategy_) : Strategy(Strategy_) {} in DomTreeUpdater()
32 : DT(&DT_), Strategy(Strategy_) {} in DomTreeUpdater()
34 : DT(DT_), Strategy(Strategy_) {} in DomTreeUpdater()
36 : PDT(&PDT_), Strategy(Strategy_) {} in DomTreeUpdater()
38 : PDT(PDT_), Strategy(Strategy_) {} in DomTreeUpdater()
41 : DT(&DT_), PDT(&PDT_), Strategy(Strategy_) {} in DomTreeUpdater()
44 : DT(DT_), PDT(PDT_), Strategy(Strategy_) {} in DomTreeUpdater()
48 /// Returns true if the current strategy is Lazy.
49 bool isLazy() const { return Strategy == UpdateStrategy::Lazy; }; in isLazy()
51 /// Returns true if the current strategy is Eager.
[all …]
/third_party/node/test/fixtures/wpt/streams/readable-streams/
Dbad-strategies.any.js17 }, 'Readable stream: throwing strategy.size getter');
44 }, 'Readable stream: strategy.size errors the stream and then throws');
70 }, 'Readable stream: strategy.size errors the stream and then returns Infinity');
93 }, 'Readable stream: throwing strategy.size method');
110 }, 'Readable stream: throwing strategy.highWaterMark getter');
125 }, 'Readable stream: invalid strategy.highWaterMark');
159 }, 'Readable stream: invalid strategy.size return value');
/third_party/node/doc/contributing/maintaining/
Dmaintaining-http.md7 The current high level strategy is based on the discussion in the
12 ## High level strategy
14 The key elements of our strategy for future HTTP APIs are:
29 do not align with our high level strategy. While these APIs
41 The current strategy is to build out 2 new client APIs and 2 new Server APIs
42 in line with the high level strategy above.
46 transport-level APIs are out of the scope of our HTTP strategy/maintenance
/third_party/curl/lib/
Ddict.c177 char *strategy = NULL; in dict_do() local
203 strategy = strchr(database, ':'); in dict_do()
204 if(strategy) { in dict_do()
205 *strategy++ = (char)0; in dict_do()
206 nthdef = strchr(strategy, ':'); in dict_do()
221 if(!strategy || (*strategy == (char)0)) { in dict_do()
222 strategy = (char *)"."; in dict_do()
235 "%s " /* strategy */ in dict_do()
239 strategy, in dict_do()
/third_party/node/lib/internal/webstreams/
Dadapters.js125 const strategy =
202 }, strategy);
384 * strategy : QueuingStrategy
409 const evaluateStrategyOrFallback = (strategy) => { argument
410 // If there is a strategy available, use it
411 if (strategy)
412 return strategy;
415 // When running in objectMode explicitly but no strategy, we just fall
421 // back to a minimal strategy that just specifies the highWaterMark
427 const strategy = evaluateStrategyOrFallback(options?.strategy);
[all …]
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/
DRangeTreeFactorizer.java62 * <li>Depending on the merge strategy, the path "12[0-6]x" might be added ("[0-6]" is a
66 public static ImmutableList<RangeTree> factor(RangeTree ranges, MergeStrategy strategy) { in factor() argument
83 RangeTree merged = new RangeTreeFactorizer(factors.get(n), strategy).mergeFrom(r); in factor()
102 private final MergeStrategy strategy; field in RangeTreeFactorizer
104 RangeTreeFactorizer(RangeTree factor, MergeStrategy strategy) { in RangeTreeFactorizer() argument
106 this.strategy = strategy; in RangeTreeFactorizer()
130 // "[2-4]"). In either strategy, a partial overlap will prevent merging.
148 if ((strategy == REQUIRE_EQUAL_EDGES) ? (dstMask == srcMask) : (dstMask & ~srcMask) == 0) { in visit()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DDomTreeUpdater.cpp60 if (Strategy != UpdateStrategy::Lazy || !DT) in applyDomTreeUpdates()
81 if (Strategy != UpdateStrategy::Lazy || !PDT) in applyPostDomTreeUpdates()
123 if (Strategy == UpdateStrategy::Eager) { in recalculate()
168 if (Strategy == UpdateStrategy::Eager || DeletedBBs.empty()) in isBBPendingDeletion()
180 if (Strategy == UpdateStrategy::Lazy) { in deleteBB()
193 if (Strategy == UpdateStrategy::Lazy) { in callbackDeleteBB()
235 if (Strategy == UpdateStrategy::Lazy) { in applyUpdates()
294 if (Strategy == UpdateStrategy::Lazy) in applyUpdatesPermissive()
331 if (Strategy == UpdateStrategy::Eager) { in insertEdge()
352 if (Strategy == UpdateStrategy::Eager) { in insertEdgeRelaxed()
[all …]
/third_party/rust/crates/io-lifetimes/.github/workflows/
Dmain.yml25 strategy:
56 strategy:
82 strategy:
110 strategy:
134 strategy:
164 strategy:
/third_party/skia/gm/
Dimagemakewithfilter.cpp175 enum class Strategy { enum
190 ImageMakeWithFilterGM (Strategy strategy, bool filterWithCropRect = false) in ImageMakeWithFilterGM() argument
191 : fStrategy(strategy) in ImageMakeWithFilterGM()
203 if (fStrategy == Strategy::kSaveLayer) { in onShortName()
331 if (fStrategy != Strategy::kSaveLayer) { in onDraw()
345 Strategy fStrategy;
360 if (fStrategy == Strategy::kSaveLayer) { in drawImageWithFilter()
403 DEF_GM( return new ImageMakeWithFilterGM(Strategy::kMakeWithFilter); )
404 DEF_GM( return new ImageMakeWithFilterGM(Strategy::kSaveLayer); )
406 DEF_GM( return new ImageMakeWithFilterGM(Strategy::kMakeWithFilter, true); )
[all …]
/third_party/node/deps/npm/man/man1/
Dnpm-find-dupes.115 .SS "\fBinstall-strategy\fR"
24 Sets the strategy for installing packages in node_modules. hoisted (default): Install non-duplicate…
32 DEPRECATED: This option has been deprecated in favor of \fB--install-strategy=nested\fR
36 …and duplicate package installs as there is no de-duplicating. Sets \fB--install-strategy=nested\fR.
44 DEPRECATED: This option has been deprecated in favor of \fB--install-strategy=shallow\fR
48 … level \fBnode_modules\fR, but hoist on deeper dependencies. Sets \fB--install-strategy=shallow\fR.
/third_party/mbedtls/docs/architecture/psa-migration/
Dstrategy.md1 This document explains the strategy that was used so far in starting the
127 current strategy is to keep using those identifiers in most of the code, in
146 This strategy is currently (early 2023) used for all operations in the PK
152 This strategy is not very well suited to the Cipher layer, as the PSA
155 This strategy will probably be used for some time for the PK layer, while we
173 This strategy is currently (early 2023) used for the MD layer and the Cipher
190 This strategy is not useful when no context is used, for example with the
193 There are two variants of this strategy: one where using the new setup
198 This strategy, with support for key isolation, is currently (early 2022) used for
203 This strategy, without key isolation, was also previously used (until 3.1
[all …]

12345678910>>...42