Home
last modified time | relevance | path

Searched refs:hit (Results 1 - 25 of 92) sorted by relevance

1234

/third_party/node/deps/npm/node_modules/semver/node_modules/lru-cache/
H A Dindex.js90 this[LRU_LIST].forEach(hit => {
91 hit.length = this[LENGTH_CALCULATOR](hit.value, hit.key)
92 this[LENGTH] += hit.length
132 this[LRU_LIST].forEach(hit => this[DISPOSE](hit.key, hit.value))
141 return this[LRU_LIST].map(hit =>
142 isStale(this, hit)
[all...]
/third_party/libwebsockets/lib/core-net/
H A Dsorted-usec-list.c124 lws_sorted_usec_list_t *hit = NULL; in __lws_sul_service_ripe() local
135 if (!hit || sul->us <= lowest) { in __lws_sul_service_ripe()
136 hit = sul; in __lws_sul_service_ripe()
141 if (!hit) in __lws_sul_service_ripe()
149 if (!hit->cb) { in __lws_sul_service_ripe()
155 lws_dll2_remove(&hit->list); in __lws_sul_service_ripe()
156 hit->us = 0; in __lws_sul_service_ripe()
158 // lwsl_notice("%s: sul: %p\n", __func__, hit->cb); in __lws_sul_service_ripe()
161 hit->cb(hit); in __lws_sul_service_ripe()
245 int n = 0, hit = -1; lws_sul_earliest_wakeable_event() local
[all...]
/third_party/skia/src/pathops/
H A DSkPathOpsWinding.cpp17 // if no edge is hit, compute the winding directly
262 SkOpRayHit* hit = hitHead; in sortableTop() local
263 while (hit) { in sortableTop()
264 sorted.push_back(hit); in sortableTop()
265 hit = hit->fNext; in sortableTop()
277 hit = sorted[index]; in sortableTop()
278 SkOpSpan* span = hit->fSpan; in sortableTop()
281 bool ccw = ccw_dxdy(hit->fSlope, dir); in sortableTop()
283 hit in sortableTop()
[all...]
/third_party/libwebsockets/lib/roles/http/server/
H A Dserver.c943 const struct lws_http_mount *hm, *hit = NULL; in lws_find_mount() local
976 hit = hm; in lws_find_mount()
982 return hit; in lws_find_mount()
991 int fd, match = 0, pos = 0, n = 0, hit = 0; in lws_find_string_in_file() local
1004 hit = 1; in lws_find_string_in_file()
1012 hit = 1; in lws_find_string_in_file()
1028 return hit; in lws_find_string_in_file()
1252 lws_http_proxy_start(struct lws *wsi, const struct lws_http_mount *hit, in lws_http_proxy_start() argument
1284 if (hit->origin[0] == '+') in lws_http_proxy_start()
1287 pcolon = strchr(hit in lws_http_proxy_start()
1509 lws_http_redirect_hit(struct lws_context_per_thread *pt, struct lws *wsi, const struct lws_http_mount *hit, char *uri_ptr, int uri_len, int *h) lws_http_redirect_hit() argument
1601 const struct lws_http_mount *hit = NULL; lws_http_action() local
2339 const struct lws_http_mount *hit = NULL; lws_handshake_server() local
3371 int hits = 0, hit = 0; lws_chunked_html_process() local
[all...]
H A Dlws-spa.c160 int n, hit; in lws_urldecode_s_process() local
299 hit = -1; in lws_urldecode_s_process()
320 hit = n; in lws_urldecode_s_process()
326 if (hit == -1 && !s->matchable) { in lws_urldecode_s_process()
334 if (hit < 0) in lws_urldecode_s_process()
337 /* we matched the one in hit */ in lws_urldecode_s_process()
343 if (hit == 2) in lws_urldecode_s_process()
346 s->state += (unsigned int)hit + 1u; in lws_urldecode_s_process()
/third_party/node/test/parallel/
H A Dtest-timers-immediate-queue.js30 // hit should be the exact same size of QUEUE, if we're letting things
31 // recursively add to the immediate QUEUE hit will be > QUEUE
35 let hit = 0;
39 if (hit === 0) {
47 hit += 1;
55 console.log('hit', hit);
56 assert.strictEqual(hit, QUEUE);
/third_party/toybox/toys/posix/
H A Dsed.c202 unsigned not, hit; member
299 if (command->hit) { in sed_line()
301 if (!command->rmatch[1]) command->hit = 0; in sed_line()
308 } else if (lm > 0 && lm < TT.count) command->hit = 0; in sed_line()
309 else if (lm < -1 && TT.count == command->hit+(-lm-1)) command->hit = 0; in sed_line()
317 command->hit = TT.count; in sed_line()
319 command->hit = TT.count; in sed_line()
325 lm = !(command->not^!!command->hit); in sed_line()
328 if (miss || command->lmatch[1] == TT.count) command->hit in sed_line()
[all...]
/third_party/libwebsockets/lib/roles/h2/
H A Dops-h2.c799 const struct lws_http_mount *hit; in lws_h2_bind_for_post_before_action() local
822 hit = lws_find_mount(wsi, in lws_h2_bind_for_post_before_action()
826 lwsl_debug("%s: %s: hit %p: %s\n", __func__, in lws_h2_bind_for_post_before_action()
828 hit, hit ? hit->origin : "null"); in lws_h2_bind_for_post_before_action()
829 if (hit) { in lws_h2_bind_for_post_before_action()
831 const char *name = hit->origin; in lws_h2_bind_for_post_before_action()
833 if (hit->origin_protocol == LWSMPRO_CGI || in lws_h2_bind_for_post_before_action()
834 hit in lws_h2_bind_for_post_before_action()
[all...]
/third_party/icu/icu4c/source/tools/tzcode/
H A Dzdump.c229 static time_t hunt(char * name, time_t lot, time_t hit);
239 static time_t huntICU(char * name, time_t lot, time_t hit, FILE *fp);
727 hunt(char *name, time_t lot, time_t hit) in hunt() argument
742 time_t diff = hit - lot; in hunt()
749 else if (t >= hit) in hunt()
761 } else hit = t; in hunt()
764 show(name, hit, true); in hunt()
765 return hit; in hunt()
921 huntICU(char *name, time_t lot, time_t hit, FILE * fp) in huntICU() argument
937 diff = (long) (hit in huntICU()
[all...]
H A Dicuzdump.cpp153 UDate hit = newt; in dump() local
155 int32_t diff = (int32_t)(hit - lot); in dump()
167 hit = medt; in dump()
177 formatter->format(hit, newRawOffset + newDstOffset, (newDstOffset == 0 ? false : true), str); in dump()
/third_party/skia/third_party/externals/icu/source/tools/tzcode/
H A Dzdump.c235 static time_t hunt(char * name, time_t lot, time_t hit);
245 static time_t huntICU(char * name, time_t lot, time_t hit, FILE *fp);
733 hunt(char *name, time_t lot, time_t hit) in hunt() argument
748 time_t diff = hit - lot; in hunt()
755 else if (t >= hit) in hunt()
767 } else hit = t; in hunt()
770 show(name, hit, TRUE); in hunt()
771 return hit; in hunt()
927 huntICU(char *name, time_t lot, time_t hit, FILE * fp) in huntICU() argument
943 diff = (long) (hit in huntICU()
[all...]
H A Dicuzdump.cpp153 UDate hit = newt; in dump() local
155 int32_t diff = (int32_t)(hit - lot); in dump()
167 hit = medt; in dump()
177 formatter->format(hit, newRawOffset + newDstOffset, (newDstOffset == 0 ? false : true), str); in dump()
/third_party/mesa3d/src/panfrost/shared/
H A Dpan_minmax_cache.c34 * PANFROST_MINMAX_SIZE constant (so this is a tradeoff between cache hit/miss
55 uint64_t hit = cache->values[i]; in panfrost_minmax_cache_get() local
57 *min_index = hit & 0xffffffff; in panfrost_minmax_cache_get()
58 *max_index = hit >> 32; in panfrost_minmax_cache_get()
/third_party/libfuse/test/
H A Dutil.py28 hit = re.match(r'Protocol version: (\d+)\.(\d+)$', line)
29 if hit:
30 proto = (int(hit.group(1)), int(hit.group(2)))
H A Dconftest.py78 hit = cp.search(buf)
79 if hit:
81 % hit.group(0))
/third_party/libwebsockets/lib/roles/ws/
H A Dserver-ws.c496 const struct lws_http_mount *hit; in lws_process_ws_upgrade() local
501 hit = lws_find_mount(wsi, uri_ptr, uri_len); in lws_process_ws_upgrade()
503 if (hit && (meth == LWSHUMETH_GET || in lws_process_ws_upgrade()
506 (hit->origin_protocol == LWSMPRO_HTTPS || in lws_process_ws_upgrade()
507 hit->origin_protocol == LWSMPRO_HTTP)) in lws_process_ws_upgrade()
519 return lws_http_proxy_start(wsi, hit, uri_ptr, 1); in lws_process_ws_upgrade()
782 const struct lws_http_mount *hit = in handshake_0405() local
784 if (hit && hit->cgienv && in handshake_0405()
786 wsi->user_space, (void *)hit in handshake_0405()
[all...]
/third_party/alsa-lib/src/
H A Dconfmisc.c262 int idx = 0, err, hit; in snd_func_getenv() local
290 hit = 0; in snd_func_getenv()
319 hit = 1; in snd_func_getenv()
322 } while (hit); in snd_func_getenv()
413 int idx = 0, len = 0, len1, err, hit; in snd_func_concat() local
426 hit = 0; in snd_func_concat()
460 hit = 1; in snd_func_concat()
463 } while (hit); in snd_func_concat()
492 int idx = 0, err, hit; in snd_func_iops() local
505 hit in snd_func_iops()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/
H A Dradiotap.c238 int hit = 0; in ieee80211_radiotap_iterator_next() local
363 hit = 1; in ieee80211_radiotap_iterator_next()
385 /* we've got a hit! */ in ieee80211_radiotap_iterator_next()
386 hit = 1; in ieee80211_radiotap_iterator_next()
393 if (hit) in ieee80211_radiotap_iterator_next()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
H A Dradiotap.c238 int hit = 0; in ieee80211_radiotap_iterator_next() local
363 hit = 1; in ieee80211_radiotap_iterator_next()
385 /* we've got a hit! */ in ieee80211_radiotap_iterator_next()
386 hit = 1; in ieee80211_radiotap_iterator_next()
393 if (hit) in ieee80211_radiotap_iterator_next()
/third_party/jsframework/runtime/main/util/
H A Dindex.js19 const hit = cache[str];
20 return hit || (cache[str] = func(str));
/third_party/spirv-tools/source/val/
H A Dvalidate_ray_tracing.cpp146 const uint32_t hit = _.GetOperandTypeId(inst, 2); in RayTracingPass() local
147 if (!_.IsFloatScalarType(hit) || _.GetBitWidth(hit) != 32) { in RayTracingPass()
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/timezone/
H A DICUZDump.java104 long hit = newt; in dump()
106 long diff = hit - lot; in dump()
114 hit = medt; in dump()
121 w.write(formatter.format(hit, newOffset, tz.inDaylightTime(hit))); in dump()
/third_party/toybox/kconfig/
H A Dmconf.c359 bool hit; in get_symbol_str() local
366 hit = false; in get_symbol_str()
368 if (!hit) { in get_symbol_str()
370 hit = true; in get_symbol_str()
375 if (hit) in get_symbol_str()
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/
H A DVulkanPipelineCachePerf.cpp103 for (const auto &hit : mCacheHits) in step()
106 defaultSpecConsts, hit, &desc, &result); in step()
/third_party/skia/third_party/externals/swiftshader/src/Renderer/
H A DLRUCache.hpp133 Data hit = data[j]; in query() local
149 return hit; in query()

Completed in 16 milliseconds

1234