Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 88 for readArg (0.14 sec)

  1. src/net/http/httputil/reverseproxy_test.go

    	}
    	if g, e := len(res.Header["Set-Cookie"]), 1; g != e {
    		t.Fatalf("got %d SetCookies, want %d", g, e)
    	}
    	if g, e := res.Trailer, (http.Header{"X-Trailer": nil}); !reflect.DeepEqual(g, e) {
    		t.Errorf("before reading body, Trailer = %#v; want %#v", g, e)
    	}
    	if cookie := res.Cookies()[0]; cookie.Name != "flavor" {
    		t.Errorf("unexpected cookie %q", cookie.Name)
    	}
    	bodyBytes, _ := io.ReadAll(res.Body)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 54.6K bytes
    - Viewed (0)
  2. src/crypto/tls/conn.go

    	n, _ := c.input.Read(b)
    
    	// If a close-notify alert is waiting, read it so that we can return (n,
    	// EOF) instead of (n, nil), to signal to the HTTP response reading
    	// goroutine that the connection is now closed. This eliminates a race
    	// where the HTTP response reading goroutine would otherwise not observe
    	// the EOF until its next read, by which time a client goroutine might
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  3. src/crypto/tls/common.go

    // modify it.
    type Config struct {
    	// Rand provides the source of entropy for nonces and RSA blinding.
    	// If Rand is nil, TLS uses the cryptographic random reader in package
    	// crypto/rand.
    	// The Reader must be safe for use by multiple goroutines.
    	Rand io.Reader
    
    	// Time returns the current time as the number of seconds since the epoch.
    	// If Time is nil, TLS uses time.Now.
    	Time func() time.Time
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 59.1K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

         * must be between 1 and [Integer.MAX_VALUE] when converted to milliseconds.
         *
         * The call timeout spans the entire call: resolving DNS, connecting, writing the request body,
         * server processing, and reading the response body. If the call requires redirects or retries
         * all must complete within one timeout period.
         *
         * The default value is 0 which imposes no timeout.
         */
        fun callTimeout(
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 06 04:21:33 UTC 2024
    - 52K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/suppliers/DynamicRevisionRemoteResolveWithMetadataSupplierIntegrationTest.groovy

                        if (status.isEmpty()) {
                            println "Parsing status file call count: \${++calls}"
                            it.withReader { reader ->
                                reader.eachLine { line ->
                                    if (line) {
                                       def (module, st) = line.split(';')
                                       status[module] = st
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 11:46:17 UTC 2024
    - 49K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CopyTaskIntegrationSpec.groovy

                    filter(SubstitutingFilter)
                }
    
                class SubstitutingFilter extends FilterReader {
                    SubstitutingFilter(Reader reader) {
                        super(new StringReader(reader.text.replaceAll("one", "1").replaceAll("two", "2")))
                    }
                }
            """
    
            when:
            run 'copy'
    
            then:
            file('dest/a.txt').text == "1"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 67.9K bytes
    - Viewed (0)
  7. cmd/erasure-server-pool.go

    			return &GetObjectReader{
    				ObjInfo: objInfo,
    			}, toObjectErr(errMethodNotAllowed, bucket, object)
    		}
    		return nil, err
    	}
    
    	// check preconditions before reading the stream.
    	if checkPrecondFn != nil && checkPrecondFn(objInfo) {
    		return nil, PreConditionFailed{}
    	}
    
    	opts.NoLock = true
    	gr, err = z.serverPools[zIdx].GetObjectNInfo(ctx, bucket, object, rs, h, opts)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 82.5K bytes
    - Viewed (0)
  8. src/crypto/x509/x509.go

    				Parameters: details.params,
    			}, nil
    		}
    	}
    
    	return 0, ai, errors.New("x509: unknown SignatureAlgorithm")
    }
    
    func signTBS(tbs []byte, key crypto.Signer, sigAlg SignatureAlgorithm, rand io.Reader) ([]byte, error) {
    	signed := tbs
    	hashFunc := sigAlg.hashFunc()
    	if hashFunc != 0 {
    		h := hashFunc.New()
    		h.Write(signed)
    		signed = h.Sum(nil)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:20:15 UTC 2024
    - 82K bytes
    - Viewed (0)
  9. docs/changelogs/changelog_3x.md

        HTTP 408 Request Timeout. If retries are enabled, OkHttp will retry exactly
        once in response to a 408.
     *  Fix: Don't crash when reading the empty `HEAD` response body if it specifies
        a `Content-Length`.
     *  Fix: Don't crash if the thread is interrupted while reading the public
        suffix database.
     *  Fix: Use relative resource path when loading the public suffix database.
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
  10. pkg/controller/volume/persistentvolume/pv_controller.go

    	if err != nil {
    		logger.V(3).Info("Error reading persistent volume", "volumeName", volume.Name, "err", err)
    		return
    	}
    	needsReclaim, err := ctrl.isVolumeReleased(logger, newVolume)
    	if err != nil {
    		logger.V(3).Info("Error reading claim for volume", "volumeName", volume.Name, "err", err)
    		return
    	}
    	if !needsReclaim {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 08:42:31 UTC 2024
    - 89.2K bytes
    - Viewed (0)
Back to top