Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 155 for reuse (0.02 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt

       *
       * The deadline to respond to this ping attempts to limit the cost of being wrong. If it is too
       * long, streams created while we await the pong will reuse broken connections and inevitably
       * fail. If it is too short, slow connections will be marked as failed and extra TCP and TLS
       * handshakes will be required.
       *
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Jul 31 04:18:40 GMT 2025
    - 31.8K bytes
    - Click Count (0)
  2. docs/changelogs/changelog_4x.md

        this one.
     *  New: Include suppressed exceptions when all routes to a target service fail.
    
    
    ## Version 4.4.1
    
    _2020-03-08_
    
     *  Fix: Don't reuse a connection on redirect if certs match but DNS does not. For better
        locality and performance OkHttp attempts to use the same pooled connection across redirects and
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Apr 17 13:25:31 GMT 2024
    - 25.2K bytes
    - Click Count (0)
  3. src/cmd/api/main_test.go

    	}
    
    	context := w.context
    	if context == nil {
    		context = &build.Default
    	}
    
    	// Look in cache.
    	// If we've already done an import with the same set
    	// of relevant tags, reuse the result.
    	var key string
    	if usePkgCache {
    		if tags, ok := pkgTags[dir]; ok {
    			key = tagKey(dir, context, tags)
    			if pkg := pkgCache[key]; pkg != nil {
    				w.imported[name] = pkg
    				return pkg, nil
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Feb 20 03:25:33 GMT 2025
    - 31.4K bytes
    - Click Count (0)
  4. guava/src/com/google/common/cache/LocalCache.java

                    statsCounter.recordHits(1);
                    // we were concurrent with loading; don't consider refresh
                    return value;
                  }
    
                  // immediately reuse invalid entries
                  writeQueue.remove(e);
                  accessQueue.remove(e);
                  this.count = newCount; // write-volatile
                }
                break;
              }
            }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 11 19:35:11 GMT 2025
    - 148.9K bytes
    - Click Count (0)
  5. cmd/encryption-v1.go

    			}
    			ssecClientKey = key[:]
    		} else {
    			key, err := crypto.SSEC.ParseHTTP(h)
    			if err != nil {
    				return nil, err
    			}
    			ssecClientKey = key[:]
    		}
    	}
    
    	// Decrypt the OEK once and reuse it for all subsequent parts.
    	objectEncryptionKey, err := decryptObjectMeta(ssecClientKey, bucket, object, oi.UserDefined)
    	if err != nil {
    		return nil, err
    	}
    	w.objectEncryptionKey = objectEncryptionKey
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 38K bytes
    - Click Count (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt

    /**
     * Factory for [calls][Call], which can be used to send HTTP requests and read their responses.
     *
     * ## OkHttpClients Should Be Shared
     *
     * OkHttp performs best when you create a single `OkHttpClient` instance and reuse it for all of
     * your HTTP calls. This is because each client holds its own connection pool and thread pools.
     * Reusing connections and threads reduces latency and saves memory. Conversely, creating a client
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Oct 07 21:55:03 GMT 2025
    - 51.4K bytes
    - Click Count (0)
  7. CHANGELOG.md

     *  Breaking: Rename `RecordedRequest.sequenceNumber` to `exchangeIndex` and introduce
        `connectionIndex` on that type. These properties may be useful when testing features like
        connection reuse.
    
     *  Breaking: Replace our parameters-based JUnit 5 extension with a new annotation, `@StartStop`.
        Put this annotation on a `MockWebServer` property and the extension will start it before your
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 05 16:02:59 GMT 2025
    - 36.2K bytes
    - Click Count (2)
  8. cmd/storage-rest-server.go

    			s.writeErrorResponse(w, err)
    			return
    		}
    		verifier = NewBitrotVerifier(BitrotAlgorithmFromString(r.Form.Get(storageRESTBitrotAlgo)), hash)
    	}
    	buf := make([]byte, length)
    	defer metaDataPoolPut(buf) // Reuse if we can.
    	_, err = s.getStorage().ReadFile(r.Context(), volume, filePath, int64(offset), buf, verifier)
    	if err != nil {
    		s.writeErrorResponse(w, err)
    		return
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue May 27 15:19:03 GMT 2025
    - 45.7K bytes
    - Click Count (0)
  9. CHANGELOG/CHANGELOG-1.5.md

      * For all other existing controllers except StatefulSet, this has no effect on
        the ability of the controller to replace pods because the controllers do not
        reuse pod names (they use generate-name).
      * User-written controllers that reuse names of pod objects should evaluate this change.
      * When deleting an object with `kubectl delete ... --grace-period=0`, the client will
    Created: Fri Dec 26 09:05:12 GMT 2025
    - Last Modified: Thu Dec 24 02:28:26 GMT 2020
    - 136.4K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

          .assertHeader("Test", "Redirect from /a to /b")
    
        // New connection.
        assertThat(server.takeRequest().exchangeIndex).isEqualTo(0)
        // Connection reused.
        assertThat(server.takeRequest().exchangeIndex).isEqualTo(1)
        // Connection reused again!
        assertThat(server.takeRequest().exchangeIndex).isEqualTo(2)
      }
    
      @Test
      fun postRedirectsToGet() {
        server.enqueue(
          MockResponse(
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 147.4K bytes
    - Click Count (0)
Back to Top