/third_party/typescript/tests/baselines/reference/ |
H A D | generatorTypeCheck63.js | 6 export function strategy<T extends StrategicState>(stratName: string, gen: (a: T) => IterableIterator<T | undefined>): (a: T) => IterableIterator<T | undefined> { 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 0;
46 function strategy(stratName, gen) {
function 56 exports.strategy = strategy;
57 exports.Nothing = strategy("Nothin [all...] |
H A D | generatorTypeCheck62.js | 6 export function strategy<T extends StrategicState>(stratName: string, gen: (a: T) => IterableIterator<T | undefined>): (a: T) => IterableIterator<T | undefined> { 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("Nothin [all...] |
/third_party/node/test/fixtures/wpt/streams/writable-streams/ |
H A D | reentrant-strategy.any.js | 6 // These tests exercise the pathological case of calling WritableStream* methods from within the strategy.size() 14 const strategy = { 23 const ws = recordingWritableStream({}, strategy); 34 const strategy = { 48 }, strategy); 64 const strategy = { 74 }, strategy); 91 }, 'controller.error() should work when called from within strategy.size()'); 95 const strategy = { 102 const ws = recordingWritableStream({}, strategy); [all...] |
H A D | floating-point-total-queue-size.any.js | 77 const strategy = { 84 const ws = new WritableStream({}, strategy);
|
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/ |
H A D | RangeTreeFactorizer.java | 62 * <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/node/lib/internal/webstreams/ |
H A D | adapters.js | 125 const strategy = 202 }, strategy); 384 * strategy : QueuingStrategy 409 const evaluateStrategyOrFallback = (strategy) => { 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 [all...] |
/third_party/libbpf/src/ |
H A D | hashmap.c | 155 enum hashmap_insert_strategy strategy, in hashmap_insert() 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() 154 hashmap_insert(struct hashmap *map, long key, long value, enum hashmap_insert_strategy strategy, long *old_key, long *old_value) hashmap_insert() argument
|
H A D | hashmap.h | 95 * Hashmap insertion strategy: 124 * provided strategy value. If a given key/value pair replaced already 130 enum hashmap_insert_strategy strategy, 133 #define hashmap__insert(map, key, value, strategy, old_key, old_value) \ 134 hashmap_insert((map), (long)(key), (long)(value), (strategy), \
|
/third_party/node/deps/v8/third_party/zlib/contrib/minizip/ |
H A D | zip.h | 229 int strategy, 246 int strategy, 254 windowBits,memLevel,,strategy : see parameter strategy in deflateInit2 272 int strategy, 293 int strategy,
|
/third_party/skia/third_party/externals/zlib/contrib/minizip/ |
H A D | zip.h | 229 int strategy, 246 int strategy, 254 windowBits,memLevel,,strategy : see parameter strategy in deflateInit2 272 int strategy, 293 int strategy,
|
/third_party/zlib/contrib/minizip/ |
H A D | zip.h | 234 int strategy, 251 int strategy, 258 windowBits,memLevel,,strategy : see parameter strategy in deflateInit2 276 int strategy, 296 int strategy,
|
/third_party/glfw/src/ |
H A D | context.c | 522 // Read back robustness strategy in _glfwRefreshContextAttribs() 528 GLint strategy; in _glfwRefreshContextAttribs() local 530 &strategy); in _glfwRefreshContextAttribs() 532 if (strategy == GL_LOSE_CONTEXT_ON_RESET_ARB) in _glfwRefreshContextAttribs() 534 else if (strategy == GL_NO_RESET_NOTIFICATION_ARB) in _glfwRefreshContextAttribs() 540 // Read back robustness strategy in _glfwRefreshContextAttribs() 546 GLint strategy; in _glfwRefreshContextAttribs() local 548 &strategy); in _glfwRefreshContextAttribs() 550 if (strategy == GL_LOSE_CONTEXT_ON_RESET_ARB) in _glfwRefreshContextAttribs() 552 else if (strategy in _glfwRefreshContextAttribs() [all...] |
/third_party/libwebsockets/win32port/zlib/ |
H A D | gzwrite.c | 38 15 + 16, 8, state->strategy);
458 int ZEXPORT gzsetparams(file, level, strategy)
in gzsetparams() 461 int strategy;
477 if (level == state->level && strategy == state->strategy)
492 deflateParams(strm, level, strategy);
495 state->strategy = strategy;
|
H A D | deflate.c | 210 int ZEXPORT deflateInit2_(strm, level, method, windowBits, memLevel, strategy,
in deflateInit2_() 217 int strategy;
256 strategy < 0 || strategy > Z_FIXED) {
341 s->strategy = strategy;
461 int ZEXPORT deflateParams(strm, level, strategy)
in deflateParams() 464 int strategy;
478 if (level < 0 || level > 9 || strategy < 0 || strategy > Z_FIXE [all...] |
/third_party/node/src/ |
H A D | node_zlib.cc | 145 void Init(int level, int window_bits, int mem_level, int strategy, 148 CompressionError SetParams(int level, int strategy); 584 "init(windowBits, level, memLevel, strategy, writeResult, writeCallback," in Init() 604 uint32_t strategy; in Init() 605 if (!args[3]->Uint32Value(context).To(&strategy)) return; in Init() 629 wrap->context()->Init(level, window_bits, mem_level, strategy, in Init() 634 CHECK(args.Length() == 2 && "params(level, strategy)"); in Params() 640 int strategy; in Params() local 641 if (!args[1]->Int32Value(context).To(&strategy)) return; in Params() 644 const CompressionError err = wrap->context()->SetParams(level, strategy); in Params() 959 Init( int level, int window_bits, int mem_level, int strategy, std::vector<unsigned char>&& dictionary) Init() argument 1077 SetParams(int level, int strategy) SetParams() argument [all...] |
/third_party/alsa-lib/src/pcm/ |
H A D | pcm_params.c | 1292 const snd_pcm_hw_strategy_t *strategy); 1297 const snd_pcm_hw_strategy_t *strategy); 1301 const snd_pcm_hw_strategy_t *strategy); 1303 void (*free)(snd_pcm_hw_strategy_t *strategy); 1322 void (*free)(snd_pcm_hw_strategy_simple_t *strategy); 1337 const snd_pcm_hw_strategy_t *strategy, 1345 int badness = strategy->min_badness(params, badness_max, pcm, strategy); 1355 var = strategy->choose_param(params, pcm, strategy); [all...] |
/third_party/node/lib/ |
H A D | zlib.js | 653 let strategy = Z_DEFAULT_STRATEGY; 681 strategy = checkRangesOrGetDefault( 682 opts.strategy, 'options.strategy', 707 strategy, 715 this._strategy = strategy; 724 function paramsAfterFlushCallback(level, strategy, callback) { 726 this._handle.params(level, strategy); 729 this._strategy = strategy; 734 Zlib.prototype.params = function params(level, strategy, callbac [all...] |
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/pass_management/ |
H A D | repeated_pass_manager.cpp | 31 RepeatedPassStrategy strategy, FuzzerContext* fuzzer_context, in Create() 34 switch (strategy) { in Create() 30 Create( RepeatedPassStrategy strategy, FuzzerContext* fuzzer_context, RepeatedPassInstances* pass_instances, RepeatedPassRecommender* pass_recommender) Create() argument
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/pass_management/ |
H A D | repeated_pass_manager.cpp | 31 RepeatedPassStrategy strategy, FuzzerContext* fuzzer_context, in Create() 34 switch (strategy) { in Create() 30 Create( RepeatedPassStrategy strategy, FuzzerContext* fuzzer_context, RepeatedPassInstances* pass_instances, RepeatedPassRecommender* pass_recommender) Create() argument
|
/third_party/spirv-tools/source/fuzz/pass_management/ |
H A D | repeated_pass_manager.cpp | 31 RepeatedPassStrategy strategy, FuzzerContext* fuzzer_context, in Create() 34 switch (strategy) { in Create() 30 Create( RepeatedPassStrategy strategy, FuzzerContext* fuzzer_context, RepeatedPassInstances* pass_instances, RepeatedPassRecommender* pass_recommender) Create() argument
|
/third_party/node/deps/zlib/ |
H A D | zlib.h | 201 /* compression strategy; see deflateInit2() below for details */ 543 int strategy); 587 The strategy parameter is used to tune the compression algorithm. Use the 597 strategy parameter only affects the compression ratio but not the 685 compression state which can be quite large, so this strategy is slow and can 707 int strategy); 709 Dynamically update the compression level and compression strategy. The 710 interpretation of level and strategy is as in deflateInit2(). This can be 712 to switch to a different kind of input data requiring a different strategy. 714 strategy i [all...] |
/third_party/zlib/ |
H A D | zlib.h | 201 /* compression strategy; see deflateInit2() below for details */ 544 int strategy); 588 The strategy parameter is used to tune the compression algorithm. Use the 598 strategy parameter only affects the compression ratio but not the 686 compression state which can be quite large, so this strategy is slow and can 708 int strategy); 710 Dynamically update the compression level and compression strategy. The 711 interpretation of level and strategy is as in deflateInit2(). This can be 713 to switch to a different kind of input data requiring a different strategy. 715 strategy i [all...] |
/third_party/node/deps/v8/third_party/zlib/ |
H A D | gzwrite.c | 45 MAX_WBITS + 16, DEF_MEM_LEVEL, state->strategy); 588 int ZEXPORT gzsetparams(file, level, strategy) in gzsetparams() 591 int strategy; 607 if (level == state->level && strategy == state->strategy) 622 deflateParams(strm, level, strategy); 625 state->strategy = strategy;
|
/third_party/skia/third_party/externals/zlib/ |
H A D | gzwrite.c | 45 MAX_WBITS + 16, DEF_MEM_LEVEL, state->strategy); 585 int ZEXPORT gzsetparams(file, level, strategy) in gzsetparams() 588 int strategy; 604 if (level == state->level && strategy == state->strategy) 619 deflateParams(strm, level, strategy); 622 state->strategy = strategy;
|
/third_party/glfw/tests/ |
H A D | glfwinfo.c | 107 printf(" -s, --robustness=STRATEGY the robustness strategy to use (" in usage() 205 static const char* get_strategy_name_gl(GLint strategy) in get_strategy_name_gl() argument 207 if (strategy == GL_LOSE_CONTEXT_ON_RESET_ARB) in get_strategy_name_gl() 209 if (strategy == GL_NO_RESET_NOTIFICATION_ARB) in get_strategy_name_gl() 215 static const char* get_strategy_name_glfw(int strategy) in get_strategy_name_glfw() argument 217 if (strategy == GLFW_LOSE_CONTEXT_ON_RESET) in get_strategy_name_glfw() 219 if (strategy == GLFW_NO_RESET_NOTIFICATION) in get_strategy_name_glfw() 792 GLint strategy; in main() local 793 glGetIntegerv(GL_RESET_NOTIFICATION_STRATEGY_ARB, &strategy); in main() 795 printf("%s robustness strategy ( in main() [all...] |