/external/apache-http/src/org/apache/http/impl/ |
DefaultConnectionReuseStrategy.java | 119 HeaderIterator hit = response.headerIterator(HTTP.CONN_DIRECTIVE); local 120 if (!hit.hasNext()) 121 hit = response.headerIterator("Proxy-Connection"); 146 if (hit.hasNext()) { 148 TokenIterator ti = createTokenIterator(hit); 180 * @param hit the header iterator 184 protected TokenIterator createTokenIterator(HeaderIterator hit) { 185 return new BasicTokenIterator(hit);
|
/external/bcc/examples/cpp/ |
LLCStat.cc | 2 * LLCStat Show LLC hit ratio for each process on each CPU core. 103 uint64_t hit; local 106 hit = miss <= it.second ? it.second - miss : 0; 108 hit = it.second; 110 double ratio = (double(hit) / double(it.second)) * 100.0; 115 std::cout << " Hit Rate " << std::setprecision(4) << ratio << "% "; 116 std::cout << "(" << hit << "/" << it.second << ")" << std::endl;
|
/external/skia/src/pathops/ |
SkPathOpsWinding.cpp | 17 // if no edge is hit, compute the winding directly 261 SkOpRayHit* hit = hitHead; local 262 while (hit) { 263 sorted.push_back(hit); 264 hit = hit->fNext; 276 hit = sorted[index]; 277 SkOpSpan* span = hit->fSpan; 280 bool ccw = ccw_dxdy(hit->fSlope, dir); 282 hit->fValid, operand, span ? span->debugID() : -1, ccw) [all...] |
/external/skqp/src/pathops/ |
SkPathOpsWinding.cpp | 17 // if no edge is hit, compute the winding directly 261 SkOpRayHit* hit = hitHead; local 262 while (hit) { 263 sorted.push_back(hit); 264 hit = hit->fNext; 276 hit = sorted[index]; 277 SkOpSpan* span = hit->fSpan; 280 bool ccw = ccw_dxdy(hit->fSlope, dir); 282 hit->fValid, operand, span ? span->debugID() : -1, ccw) [all...] |
/external/bcc/tools/ |
dcstat.py | 108 print(" %8s" % "HIT%") 133 # print hit ratio percentage 137 hit = ref - miss variable 138 pct = float(100) * hit / ref
|
llcstat.py | 92 print("Running for {} seconds or hit Ctrl-C to end.".format(args.duration)) 103 print('PID NAME CPU REFERENCE MISS HIT%') 114 hit = (v.value - miss) if (v.value >= miss) else 0 variable 117 (float(hit) / float(v.value)) * 100.0)) 118 print('Total References: {} Total Misses: {} Hit Rate: {:.2f}%'.format(
|
/external/replicaisland/src/com/replica/replicaisland/ |
SelectDialogComponent.java | 76 public void setHitReact(HitReactionComponent hit) { 77 mHitReact = hit;
|
SimpleCollisionComponent.java | 57 final boolean hit = collision.castRay(mPreviousPosition, mCurrentPosition, 60 if (hit) {
|
BackgroundCollisionComponent.java | 24 * the hit to the parent game object. 131 * 4. Add the normals of the surfaces that were hit up and normalize the result to produce 306 // If we hit multiple surfaces, merge their normals together to produce an 327 boolean hit = false; 352 hit = true; 355 return hit; 362 boolean hit = false; 382 hit = true; 388 return hit; 391 /** Comparator for hit points. * [all...] |
AABoxCollisionVolume.java | 38 int hit) { 39 super(hit);
|
SphereCollisionVolume.java | 35 public SphereCollisionVolume(float radius, float centerX, float centerY, int hit) { 36 super(hit);
|
/external/perf_data_converter/src/quipper/ |
dso.h | 29 bool hit = false; // Have we seen any samples in this DSO? member in struct:quipper::DSOInfo
|
/external/guava/guava-tests/benchmark/com/google/common/cache/ |
LoadingCacheSingleThreadBenchmark.java | 39 // tweak this to control hit rate 99 double hit = req - misses.get(); local 102 System.out.println("hit rate: " + hit / req);
|
/external/guava/guava-tests/benchmark/com/google/common/collect/ |
MapMakerSingleThreadBenchmark.java | 42 // tweak this to control hit rate 102 double hit = req - misses.get(); local 105 System.out.println("hit rate: " + hit / req);
|
/external/jacoco/org.jacoco.cli/src/org/jacoco/cli/internal/commands/ |
ExecInfo.java | 86 for (final boolean hit : data) { 87 if (hit) {
|
/external/jacoco/org.jacoco.examples/src/org/jacoco/examples/ |
ExecDump.java | 86 for (final boolean hit : data) { 87 if (hit) {
|
/external/tensorflow/tensorflow/core/common_runtime/gpu/ |
gpu_event_mgr_test.cc | 255 bool hit = false; local 256 gpu_event_mgr::WarnIfInCallback([&hit] { hit = true; }); 257 EXPECT_FALSE(hit); 259 em.ThenExecute(stream.get(), [&hit, ¬e]() { 260 gpu_event_mgr::WarnIfInCallback([&hit, ¬e] { 261 hit = true; 266 EXPECT_TRUE(hit);
|
/external/swiftshader/src/Device/ |
LRUCache.hpp | 101 Data *hit = data[j]; local 117 return hit;
|
/external/swiftshader/src/Renderer/ |
LRUCache.hpp | 101 Data *hit = data[j]; local 117 return hit;
|
/external/toybox/toys/posix/ |
sed.c | 200 unsigned not, hit; member in struct:sedcmd 297 if (command->hit) { 299 if (!command->rmatch[1]) command->hit = 0; 306 } else if (lm > 0 && lm < TT.count) command->hit = 0; 313 if (line && !regexec0(rm, line, len, 0, 0, 0)) command->hit++; 314 } else if (lm == TT.count || (lm == -1 && !pline)) command->hit++; 320 lm = !(command->hit ^ command->not); 323 if (miss || command->lmatch[1] == TT.count) command->hit = 0; 368 if (!command->hit) emit(str, strlen(str), 1); 645 command->hit = 0 [all...] |
/external/wpa_supplicant_8/src/utils/ |
radiotap.c | 238 int hit = 0; local 363 hit = 1; 385 /* we've got a hit! */ 386 hit = 1; 393 if (hit)
|
/external/skia/platform_tools/android/apps/skar_java/src/main/java/com/google/skar/examples/helloskar/app/ |
HelloCanvasAR.java | 405 * Given a Frame and a Camera, perform hit tests on stored UI touch events. If a hit test is 406 * successful, construct an Anchor at the hit position and add it to the set of anchors. 413 for (HitResult hit : frame.hitTest(tap)) { 414 // Check if any plane was hit, and if it was hit inside the plane polygon 415 Trackable trackable = hit.getTrackable(); 416 // Creates an anchor if a plane or an oriented point was hit. 418 && ((Plane) trackable).isPoseInPolygon(hit.getHitPose()) 419 && (DrawManager.calculateDistanceToPlane(hit.getHitPose(), camera.getPose() [all...] |
/external/skqp/platform_tools/android/apps/skar_java/src/main/java/com/google/skar/examples/helloskar/app/ |
HelloCanvasAR.java | 405 * Given a Frame and a Camera, perform hit tests on stored UI touch events. If a hit test is 406 * successful, construct an Anchor at the hit position and add it to the set of anchors. 413 for (HitResult hit : frame.hitTest(tap)) { 414 // Check if any plane was hit, and if it was hit inside the plane polygon 415 Trackable trackable = hit.getTrackable(); 416 // Creates an anchor if a plane or an oriented point was hit. 418 && ((Plane) trackable).isPoseInPolygon(hit.getHitPose()) 419 && (DrawManager.calculateDistanceToPlane(hit.getHitPose(), camera.getPose() [all...] |
/external/icu/icu4c/source/tools/tzcode/ |
zdump.c | 235 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) 748 time_t diff = hit - lot; 755 else if (t >= hit) 767 } else hit = t; 770 show(name, hit, TRUE); 771 return hit; 927 huntICU(char *name, time_t lot, time_t hit, FILE * fp) 943 diff = (long) (hit - lot) [all...] |
icuzdump.cpp | 153 UDate hit = newt; local 155 int32_t diff = (int32_t)(hit - lot); 167 hit = medt; 177 formatter->format(hit, newRawOffset + newDstOffset, (newDstOffset == 0 ? FALSE : TRUE), str);
|