Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for Hit (0.16 sec)

  1. android/guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java

        return (int) Math.pow(a, 1.0 / concentration);
      }
    
      @AfterExperiment
      void tearDown() {
        double req = requests.get();
        double hit = req - misses.get();
    
        // Currently, this is going into /dev/null, but I'll fix that
        System.out.println("hit rate: " + hit / req);
      }
    
      // for proper distributions later:
      // import JSci.maths.statistics.ProbabilityDistribution;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.4K bytes
    - Viewed (0)
  2. docs/features/caching.md

     - CallStart 
     - **CacheMiss**
     - ProxySelectStart
     - ... Standard Events ...
     - CallEnd
            
    ### Conditional Cache Hit
     
    When cache flags require checking the cache results are still valid an early cacheConditionalHit event is
    received followed by a cache hit or miss.  Critically in the cache hit scenario the server won’t send the response body.
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 3.1K bytes
    - Viewed (0)
  3. guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java

        return (int) Math.pow(a, 1.0 / concentration);
      }
    
      @AfterExperiment
      void tearDown() {
        double req = requests.get();
        double hit = req - misses.get();
    
        // Currently, this is going into /dev/null, but I'll fix that
        System.out.println("hit rate: " + hit / req);
      }
    
      // for proper distributions later:
      // import JSci.maths.statistics.ProbabilityDistribution;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/util/SearchEngineUtil.java

            final SearchEngineClient client = ComponentUtil.getSearchEngineClient();
            return client.<SearchHit> scrollSearch(index, searchRequestBuilder -> true, (searchResponse, hit) -> hit,
                    hit -> callback.apply(hit));
        }
    
        public static String getXContentString(final ToXContent xContent, final MediaType mediaType) {
            try {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/job/UpdateLabelJob.java

                    }
                    return option.setFetchSource(new String[] { fessConfig.getIndexFieldUrl(), fessConfig.getIndexFieldLang() }, null);
                }, (builder, hit) -> {
                    try {
                        final Map<String, Object> doc = hit.getSourceAsMap();
                        final String url = DocumentUtil.getValue(doc, fessConfig.getIndexFieldUrl(), String.class);
                        if (StringUtil.isNotBlank(url)) {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  6. .github/workflows/build-docs.yml

            if: steps.cache.outputs.cache-hit != 'true'
            run: pip install -r requirements-docs.txt
          # Install MkDocs Material Insiders here just to put it in the cache for the rest of the steps
          - name: Install Material for MkDocs Insiders
            if: ( github.event_name != 'pull_request' || github.secret_source == 'Actions' ) && steps.cache.outputs.cache-hit != 'true'
            run: |
    Others
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 03:12:00 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/api/admin/backup/ApiAdminBackupAction.java

                            SearchEngineUtil.scroll(index, hit -> {
                                try {
                                    writer.write("{\"index\":{\"_index\":\"" + index + "\",\"_id\":\""
                                            + StringEscapeUtils.escapeJson(hit.getId()) + "\"}}\n");
                                    writer.write(hit.getSourceAsString());
                                    writer.write("\n");
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  8. mockwebserver/src/test/java/mockwebserver3/CustomDispatcherTest.kt

        mockWebServer.dispatcher = dispatcher
        val url = mockWebServer.url("/").toUrl()
        val conn = url.openConnection() as HttpURLConnection
        conn.responseCode // Force the connection to hit the "server".
        // Make sure our dispatcher got the request.
        assertThat(requestsMade.size).isEqualTo(1)
      }
    
      @Test
      fun outOfOrderResponses() {
        val firstResponseCode = AtomicInteger()
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  9. cmd/dynamic-timeouts.go

    	return dt.retryInterval
    }
    
    // LogSuccess logs the duration of a successful action that
    // did not hit the timeout
    func (dt *dynamicTimeout) LogSuccess(duration time.Duration) {
    	dt.logEntry(duration)
    }
    
    // LogFailure logs an action that hit the timeout
    func (dt *dynamicTimeout) LogFailure() {
    	dt.logEntry(maxDuration)
    }
    
    // logEntry stores a log entry
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Aug 19 23:21:05 GMT 2022
    - 4.5K bytes
    - Viewed (0)
  10. .github/workflows/test.yml

          - name: Install Dependencies
            if: steps.cache.outputs.cache-hit != 'true'
            run: pip install -r requirements-tests.txt
          - name: Install Pydantic v2
            run: pip install "pydantic>=2.0.2,<3.0.0"
          - name: Lint
            run: bash scripts/lint.sh
    
      test:
    Others
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 4.4K bytes
    - Viewed (1)
Back to top