Home
last modified time | relevance | path

Searched refs:hits (Results 1 – 25 of 123) sorted by relevance

12345

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DCharsetRecog_2022.java37 int hits = 0; in match() local
58 hits++; in match()
72 if (hits == 0) { in match()
82 quality = (100*hits - 100*misses) / (hits + misses); in match()
87 if (hits+shifts < 5) { in match()
88 quality -= (5-(hits+shifts))*10; in match()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DCharsetRecog_2022.java38 int hits = 0; in match() local
59 hits++; in match()
73 if (hits == 0) { in match()
83 quality = (100*hits - 100*misses) / (hits + misses); in match()
88 if (hits+shifts < 5) { in match()
89 quality -= (5-(hits+shifts))*10; in match()
/external/icu/icu4c/source/i18n/
Dcsr2022.cpp38 int32_t hits = 0; in match_2022() local
61 hits += 1; in match_2022()
81 if (hits == 0) { in match_2022()
91 quality = (100*hits - 100*misses) / (hits + misses); in match_2022()
96 if (hits+shifts < 5) { in match_2022()
97 quality -= (5-(hits+shifts))*10; in match_2022()
/external/selinux/libselinux/utils/
Davcstat.c31 unsigned long long hits; member
186 &tmp.hits, in main()
195 tot.hits += tmp.hits; in main()
208 tot.lookups, tot.hits, tot.misses, in main()
212 rel.hits = tot.hits - last.hits; in main()
218 rel.lookups, rel.hits, rel.misses, in main()
/external/fio/t/
Dgenzipf.c31 unsigned long hits; member
87 n->hits = 1; in hash_insert()
181 return n2->hits - n1->hits; in node_cmp()
190 printf("%lu, %lu\n", i, nodes[i].hits); in output_csv()
217 cur_vals += node->hits; in output_normal()
218 total_vals += node->hits; in output_normal()
219 os->nranges += node->hits; in output_normal()
332 n->hits++; in main()
/external/tensorflow/tensorflow/contrib/lite/kernels/
Dhashtable_lookup.cc79 TfLiteTensor* hits = GetOutput(context, node, 1); in Prepare() local
80 TF_LITE_ENSURE_EQ(context, hits->type, kTfLiteUInt8); in Prepare()
96 if (context->ResizeTensor(context, hits, hitSize) == kTfLiteError) { in Prepare()
104 TfLiteTensor* hits = GetOutput(context, node, 1); in Eval() local
129 hits->data.uint8[i] = 0; in Eval()
137 hits->data.uint8[i] = 1; in Eval()
/external/chromium-trace/catapult/third_party/pyserial/serial/tools/
Dlist_ports.py78 hits = 0
93 hits += 1
95 if hits:
96 print("%d ports found" % (hits,))
/external/v8/tools/release/
Dsearch_related_commits.py99 hits = (
103 hits = _remove_duplicates(hits)
106 for current_hit in hits:
110 return hits
113 return hits
/external/autotest/scheduler/
Drdb_cache_manager.py211 self.hits = 0
230 if not self.hits and not self.misses:
232 requests = float(self.hits + self.misses)
233 return (self.hits/requests) * 100
275 self.hits += 1
Drdb_cache_unittests.py76 if not (self.cache.hits == 0 and self.cache.misses == 2):
135 if not (self.cache.hits == 2 and self.cache.misses ==1):
179 if not (self.cache.misses == 1 and self.cache.hits == 2):
228 assert(self.cache.misses == 2 and self.cache.hits == 1)
294 cache.hits = 0
296 cache.hits = 1
320 if not (self.cache.hits == 0 and self.cache.misses == 2):
/external/skqp/tests/
DRTreeTest.cpp49 SkTDArray<int> hits; in run_queries() local
51 tree.search(query, &hits); in run_queries()
52 REPORTER_ASSERT(reporter, verify_query(query, rects, hits)); in run_queries()
/external/skia/tests/
DRTreeTest.cpp49 SkTDArray<int> hits; in run_queries() local
51 tree.search(query, &hits); in run_queries()
52 REPORTER_ASSERT(reporter, verify_query(query, rects, hits)); in run_queries()
/external/python/cpython3/Lib/idlelib/
Dgrep.py84 hits = 0
95 hits += 1
100 % hits) if hits else "No hits.")
/external/python/cpython2/Lib/idlelib/
DGrepDialog.py86 hits = 0
97 hits += 1
102 % hits) if hits else "No hits.")
/external/python/cpython3/Lib/
Dfunctools.py492 hits = misses = 0
513 nonlocal hits, misses
517 hits += 1
528 nonlocal root, hits, misses, full
541 hits += 1
586 return _CacheInfo(hits, misses, maxsize, cache_len())
590 nonlocal hits, misses, full
594 hits = misses = 0
/external/deqp/doc/testspecs/GLES2/
Dperformance.compiler.txt26 + Tests for impact of cache hits on compilation time (note: in release 2012.4)
49 Separate cases are made for testing compilation time when avoiding cache hits and
53 Cache hits are however only ever allowed between the iterations of a case and not
66 iteration. In cases that allow cache hits the average excludes the first
/external/autotest/client/site_tests/network_ProxyResolver/
Dnetwork_ProxyResolver.py67 def hits(self): member in ThreadedHitServer
100 def hits(self): member in ProxyListener
104 return self._server.hits()
315 if self._proxy_server.hits() > 0:
/external/python/cpython3/Lib/test/
Dtest_functools.py1118 hits, misses, maxsize, currsize = f.cache_info()
1121 self.assertEqual(hits, 0)
1130 hits, misses, maxsize, currsize = f.cache_info()
1131 self.assertTrue(hits > misses)
1132 self.assertEqual(hits + misses, 1000)
1136 hits, misses, maxsize, currsize = f.cache_info()
1137 self.assertEqual(hits, 0)
1141 hits, misses, maxsize, currsize = f.cache_info()
1142 self.assertEqual(hits, 0)
1149 hits, misses, maxsize, currsize = f.cache_info()
[all …]
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/bitmap_recycle/
DLruBitmapPool.java30 private int hits; field in LruBitmapPool
118 hits++; in getDirty()
164 … Log.v(TAG, "Hits=" + hits + " misses=" + misses + " puts=" + puts + " evictions=" + evictions in dump()
/external/mesa3d/src/glx/
Dglxhash.c118 unsigned long hits; /* At top of linked list */ member
166 table->hits = 0; in __glxHashCreate()
220 ++table->hits; in HashFind()
362 table->hits, table->partials, table->misses); in compute_dist()
/external/python/cpython2/Lib/
Dbdb.py483 self.hits = 0
525 if (self.hits):
526 if (self.hits > 1): ss = 's'
529 (self.hits, ss))
577 b.hits = b.hits + 1
/external/skqp/src/pathops/
DSkPathOpsWinding.cpp103 void SkOpContour::rayCheck(const SkOpRayHit& base, SkOpRayDir dir, SkOpRayHit** hits, in rayCheck() argument
114 testSegment->rayCheck(base, dir, hits, allocator); in rayCheck()
118 void SkOpSegment::rayCheck(const SkOpRayHit& base, SkOpRayDir dir, SkOpRayHit** hits, in rayCheck() argument
178 newHit->fNext = *hits; in rayCheck()
184 *hits = newHit; in rayCheck()
/external/skia/src/pathops/
DSkPathOpsWinding.cpp103 void SkOpContour::rayCheck(const SkOpRayHit& base, SkOpRayDir dir, SkOpRayHit** hits, in rayCheck() argument
114 testSegment->rayCheck(base, dir, hits, allocator); in rayCheck()
118 void SkOpSegment::rayCheck(const SkOpRayHit& base, SkOpRayDir dir, SkOpRayHit** hits, in rayCheck() argument
178 newHit->fNext = *hits; in rayCheck()
184 *hits = newHit; in rayCheck()
/external/python/cpython2/Tools/faqwiz/
Dfaqwiz.py450 hits = []
460 hits.append(file)
461 if not hits:
463 elif len(hits) <= MAXHITS:
464 if len(hits) == 1:
467 emit(FEW_HITS, count=len(hits))
468 self.format_all(hits, headers=0)
470 emit(MANY_HITS, count=len(hits))
471 self.format_index(hits)
/external/ltp/runtest/
Dpipes10 # This test hits EAGAIN, which pipeio doesn't handle at the moment
26 # This test hits EAGAIN, which pipeio doesn't handle at the moment

12345