Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for Hit (0.14 sec)

  1. 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)
  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. okhttp/src/main/kotlin/okhttp3/internal/platform/android/AndroidLog.kt

              i = end
            } while (i < newline)
            i++
          }
        }
      }
    
      private fun loggerTag(loggerName: String): String {
        // We need to handle long logger names before they hit Log.
        // java.lang.IllegalArgumentException: Log tag "okhttp3.mockwebserver.MockWebServer" exceeds limit of 23 characters
        return knownLoggers[loggerName] ?: loggerName.take(23)
      }
    
      fun enable() {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  4. Jenkinsfile

                node(jenkinsEnv.nodeSelection(osLabel)) {
                    stage("${stageLabel}") {
                        echo "NODE_NAME = ${env.NODE_NAME}"
                        // on Windows, need a short path or we hit 256 character limit for paths
                        // using EXECUTOR_NUMBER guarantees that concurrent builds on same agent
                        // will not trample each other plus workaround for JENKINS-52657
    Plain Text
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sun Mar 03 21:28:30 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/cache2/Relay.kt

          }
    
          fileToClose?.closeQuietly()
        }
      }
    
      companion object {
        // TODO(jwilson): what to do about timeouts? They could be different and unfortunately when any
        //     timeout is hit we like to tear down the whole stream.
    
        private const val SOURCE_UPSTREAM = 1
        private const val SOURCE_FILE = 2
    
        @JvmField val PREFIX_CLEAN = "OkHttp cache v1\n".encodeUtf8()
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  6. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt

       * have reached a limit, this returns [END_OF_DATA].
       */
      internal fun readHeader(): DerHeader {
        require(peekedHeader == null)
    
        // We've hit a local limit.
        if (byteCount == limit) return END_OF_DATA
    
        // We've exhausted the source stream.
        if (limit == -1L && source.exhausted()) return END_OF_DATA
    
        // Read the tag.
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  7. Jenkinsfile.s390x

            runITsTasks[stageId] = {
                node('s390x') {
                    stage("${stageLabel}") {
                        echo "NODE_NAME = ${env.NODE_NAME}"
                        // on Windows, need a short path or we hit 256 character limit for paths
                        // using EXECUTOR_NUMBER guarantees that concurrent builds on same agent
                        // will not trample each other plus workaround for JENKINS-52657
    Plain Text
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sun Mar 03 21:28:30 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/Cache.kt

     *    created.
     *  * **[Network Count:][networkCount]** the number of those requests that required network use.
     *  * **[Hit Count:][hitCount]** the number of those requests whose responses were served by the
     *    cache.
     *
     * Sometimes a request will result in a conditional cache hit. If the cache contains a stale copy of
     * the response, the client will issue a conditional `GET`. The server will then send either
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  9. src/main/assemblies/extension/kibana/fess_log.ndjson

    {"attributes":{"description":"","kibanaSavedObjectMeta":{"searchSourceJSON":"{\"query\":{\"query\":\"\",\"language\":\"kuery\"},\"filter\":[],\"indexRefName\":\"kibanaSavedObjectMeta.searchSourceJSON.index\"}"},"title":"hit-counts","uiStateJSON":"{}","version":1,"visState":"{\"title\":\"hit-counts\",\"type\":\"area\",\"params\":{\"type\":\"area\",\"grid\":{\"categoryLines\":false},\"categoryAxes\":[{\"id\":\"CategoryAxis-1\",\"type\":\"category\",\"position\":\"bottom\",\"show\":true,\"style\":{},\"sc...
    Plain Text
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Mon Aug 12 01:26:21 GMT 2019
    - 18.2K bytes
    - Viewed (0)
  10. docs/recipes.md

        if (credential == response.request.header("Authorization")) {
          return null // If we already failed with these credentials, don't retry.
         }
        ```
    
        You may also skip the retry when you’ve hit an application-defined attempt limit:
    
        ```kotlin
        if (response.responseCount >= 3) {
          return null // If we've failed 3 times, give up.
        }
        ```
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Fri Feb 18 08:52:22 GMT 2022
    - 40.2K bytes
    - Viewed (1)
Back to top