Home
last modified time | relevance | path

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

12345678910>>...45

/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.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.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.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/flutter/engine/flutter/lib/web_ui/lib/src/engine/
Dhistory.dart39 /// Changing the location strategy will unsubscribe from the old strategy's
42 /// If the given [strategy] is the same as the existing one, nothing will
45 /// If the given strategy is null, it will render this [BrowserHistory]
47 set locationStrategy(LocationStrategy strategy) {
48 if (strategy != _locationStrategy) {
50 _locationStrategy = strategy;
77 // After tearing off the location strategy, we should be on the "origin"
138 void _setupOriginEntry(LocationStrategy strategy) {
139 assert(strategy != null);
140 strategy.replaceState(_originState, 'origin', '');
[all …]
/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 …]
/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/flutter/skia/include/android/
DSkBitmapRegionDecoder.h23 enum Strategy { enum
29 * @param strategy Strategy used for scaling and subsetting
32 static SkBitmapRegionDecoder* Create(sk_sp<SkData>, Strategy strategy);
36 * @param strategy Strategy used for scaling and subsetting
40 SkStreamRewindable* stream, Strategy strategy);
/third_party/flutter/skia/src/android/
DSkBitmapRegionDecoder.cpp15 sk_sp<SkData> data, Strategy strategy) { in Create() argument
17 strategy); in Create()
21 SkStreamRewindable* stream, Strategy strategy) { in Create() argument
23 switch (strategy) { in Create()
/third_party/flutter/flutter/packages/flutter/test/scheduler/
Dscheduler_test.dart44 final TestStrategy strategy = TestStrategy();
45 scheduler.schedulingStrategy = strategy.shouldRunTaskWithPriority;
55 strategy.allowedPriority = 100;
60 strategy.allowedPriority = 50;
67 strategy.allowedPriority = 20;
86 strategy.allowedPriority = 10;
94 strategy.allowedPriority = 1;
103 strategy.allowedPriority = 0;
/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/flutter/skia/third_party/externals/sdl/src/video/emscripten/
DSDL_emscriptenvideo.c302 EmscriptenFullscreenStrategy strategy; in Emscripten_SetWindowFullscreen() local
306strategy.scaleMode = is_desktop_fullscreen ? EMSCRIPTEN_FULLSCREEN_SCALE_STRETCH : EMSCRIPTEN_FULL… in Emscripten_SetWindowFullscreen()
309 strategy.canvasResolutionScaleMode = EMSCRIPTEN_FULLSCREEN_CANVAS_SCALE_NONE; in Emscripten_SetWindowFullscreen()
311 strategy.canvasResolutionScaleMode = EMSCRIPTEN_FULLSCREEN_CANVAS_SCALE_HIDEF; in Emscripten_SetWindowFullscreen()
313 strategy.canvasResolutionScaleMode = EMSCRIPTEN_FULLSCREEN_CANVAS_SCALE_STDDEF; in Emscripten_SetWindowFullscreen()
316 strategy.filteringMode = EMSCRIPTEN_FULLSCREEN_FILTERING_DEFAULT; in Emscripten_SetWindowFullscreen()
318 strategy.canvasResizedCallback = Emscripten_HandleCanvasResize; in Emscripten_SetWindowFullscreen()
319 strategy.canvasResizedCallbackUserData = data; in Emscripten_SetWindowFullscreen()
324 res = emscripten_request_fullscreen_strategy(NULL, 1, &strategy); in Emscripten_SetWindowFullscreen()
/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/rust/crates/scopeguard/src/
Dlib.rs201 pub trait Strategy { trait
229 impl Strategy for Always {
235 impl Strategy for OnUnwind {
241 impl Strategy for OnSuccess {
292 /// The `S` parameter for [`Strategy`](trait.Strategy.html) determines if
300 S: Strategy,
305 strategy: PhantomData<fn(S) -> S>, field
310 S: Strategy,
315 /// The `Strategy` decides whether the scope guard's closure should run.
321 strategy: PhantomData, in with_strategy()
[all …]
/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/flutter/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()
318 if (fStrategy != Strategy::kSaveLayer) { in onDraw()
331 Strategy fStrategy;
346 if (fStrategy == Strategy::kSaveLayer) { in drawImageWithFilter()
383 DEF_GM( return new ImageMakeWithFilterGM(Strategy::kMakeWithFilter); )
384 DEF_GM( return new ImageMakeWithFilterGM(Strategy::kSaveLayer); )
386 DEF_GM( return new ImageMakeWithFilterGM(Strategy::kMakeWithFilter, true); )
[all …]
/third_party/libbpf/src/
Dhashmap.c155 enum hashmap_insert_strategy strategy, in hashmap_insert() argument
168 if (strategy != HASHMAP_APPEND && in hashmap_insert()
175 if (strategy == HASHMAP_SET || strategy == HASHMAP_UPDATE) { in hashmap_insert()
179 } else if (strategy == HASHMAP_ADD) { in hashmap_insert()
184 if (strategy == HASHMAP_UPDATE) in hashmap_insert()
/third_party/json/.github/workflows/
Dwindows.yml14 strategy:
33 strategy:
68 strategy:
100 strategy:
117 strategy:
/third_party/rust/crates/os_str_bytes/.github/workflows/
Dbuild.yml20 strategy:
32 strategy:
48 strategy:

12345678910>>...45