Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for hitCount (0.05 sec)

  1. android/guava/src/com/google/common/cache/CacheStats.java

      public long hitCount() {
        return hitCount;
      }
    
      /**
       * Returns the ratio of cache requests which were hits. This is defined as {@code hitCount /
       * requestCount}, or {@code 1.0} when {@code requestCount == 0}. Note that {@code hitRate +
       * missRate =~ 1.0}.
       */
      public double hitRate() {
        long requestCount = requestCount();
        return (requestCount == 0) ? 1.0 : (double) hitCount / requestCount;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/cache/CacheStats.java

      public long hitCount() {
        return hitCount;
      }
    
      /**
       * Returns the ratio of cache requests which were hits. This is defined as {@code hitCount /
       * requestCount}, or {@code 1.0} when {@code requestCount == 0}. Note that {@code hitRate +
       * missRate =~ 1.0}.
       */
      public double hitRate() {
        long requestCount = requestCount();
        return (requestCount == 0) ? 1.0 : (double) hitCount / requestCount;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/log/bsentity/BsSearchLog.java

            this.clientIp = value;
        }
    
        public Long getHitCount() {
            checkSpecifiedProperty("hitCount");
            return hitCount;
        }
    
        public void setHitCount(Long value) {
            registerModifiedProperty("hitCount");
            this.hitCount = value;
        }
    
        public String getHitCountRelation() {
            checkSpecifiedProperty("hitCountRelation");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

        assertEquals(0, cache.stats().hitCount());
        assertEquals(0, cache.stats().missCount());
    
        Object one = new Object();
        cache.getUnchecked(one);
        assertEquals(0, cache.stats().hitCount());
        assertEquals(1, cache.stats().missCount());
    
        cache.getUnchecked(one);
        assertEquals(1, cache.stats().hitCount());
        assertEquals(1, cache.stats().missCount());
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

        assertEquals(0, cache.stats().hitCount());
        assertEquals(0, cache.stats().missCount());
    
        Object one = new Object();
        cache.getUnchecked(one);
        assertEquals(0, cache.stats().hitCount());
        assertEquals(1, cache.stats().missCount());
    
        cache.getUnchecked(one);
        assertEquals(1, cache.stats().hitCount());
        assertEquals(1, cache.stats().missCount());
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/Cache.kt

          // If this is a conditional request, we'll increment hitCount if/when it hits.
          networkCount++
        } else if (cacheStrategy.cacheResponse != null) {
          // This response uses the cache and not the network. That's a cache hit.
          hitCount++
        }
      }
    
      @Synchronized internal fun trackConditionalCacheHit() {
        hitCount++
      }
    
      @Synchronized fun networkCount(): Int = networkCount
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  7. src/main/assemblies/extension/kibana/fess_log.ndjson

    \",\"show\":true,\"style\":{},\"scale\":{\"type\":\"linear\",\"mode\":\"normal\"},\"labels\":{\"show\":true,\"rotate\":0,\"filter\":false,\"truncate\":100},\"title\":{\"text\":\"Average hitCount\"}}],\"seriesParams\":[{\"show\":\"true\",\"type\":\"area\",\"mode\":\"stacked\",\"data\":{\"label\":\"Average hitCount\",\"id\":\"1\"},\"drawLinesBetweenPoints\":true,\"showCircles\":true,\"interpolate\":\"linear\",\"valueAxis\":\"ValueAxis-1\"}],\"addTooltip\":true,\"addLegend\":true,\"legendPosition\"...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Aug 12 01:26:21 UTC 2019
    - 18.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/log/bsentity/dbmeta/SearchLogDbm.java

                false, "keyword", 0, 0, null, null, false, null, null, null, null, null, false);
        protected final ColumnInfo _columnHitCount = cci("hitCount", "hitCount", null, null, Long.class, "hitCount", null, false, false, false,
                "Long", 0, 0, null, null, false, null, null, null, null, null, false);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

                            emptyListCount++;
                        } else {
                            emptyListCount = 0; // reset
                        }
                        long hitCount = ((EsResultList<EsAccessResult>) arList).getTotalHits();
                        while (hitCount > 0) {
                            if (arList.isEmpty()) {
                                ThreadUtil.sleep(fessConfig.getIndexerWebfsCommitMarginTimeAsInteger().longValue());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/log/bsbhv/BsSearchLogBhv.java

                result.setAccessType(DfTypeUtil.toString(source.get("accessType")));
                result.setClientIp(DfTypeUtil.toString(source.get("clientIp")));
                result.setHitCount(DfTypeUtil.toLong(source.get("hitCount")));
                result.setHitCountRelation(DfTypeUtil.toString(source.get("hitCountRelation")));
                result.setLanguages(DfTypeUtil.toString(source.get("languages")));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 10.5K bytes
    - Viewed (0)
Back to top