Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 281 for original (0.27 sec)

  1. src/net/http/h2_bundle.go

    	// If the Body is nil (or http.NoBody), it's safe to reuse
    	// this request and its Body.
    	if req.Body == nil || req.Body == NoBody {
    		return req, nil
    	}
    
    	// If the request body can be reset back to its original
    	// state via the optional req.GetBody, do that.
    	if req.GetBody != nil {
    		body, err := req.GetBody()
    		if err != nil {
    			return nil, err
    		}
    		newReq := *req
    		newReq.Body = body
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 364.1K bytes
    - Viewed (0)
  2. src/crypto/tls/handshake_client.go

    		// Expired certificate, delete the entry.
    		c.config.ClientSessionCache.Put(cacheKey, nil)
    		return nil, nil, nil, nil
    	}
    	if !c.config.InsecureSkipVerify {
    		if len(session.verifiedChains) == 0 {
    			// The original connection had InsecureSkipVerify, while this doesn't.
    			return nil, nil, nil, nil
    		}
    		if err := session.peerCertificates[0].VerifyHostname(c.config.ServerName); err != nil {
    			return nil, nil, nil, nil
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 38.6K bytes
    - Viewed (0)
  3. src/cmd/vendor/github.com/google/pprof/internal/report/source.go

    	if trimPath == "" {
    		// If the trim path is not configured, try to guess it heuristically:
    		// search for basename of each search path in the original path and, if
    		// found, strip everything up to and including the basename. So, for
    		// example, given original path "/some/remote/path/my-project/foo/bar.c"
    		// and search path "/my/local/path/my-project" the heuristic will return
    		// "/my/local/path/my-project/foo/bar.c".
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 31.3K bytes
    - Viewed (0)
  4. src/crypto/tls/quic.go

    		return nil
    	}
    	var ae AlertError
    	if errors.As(err, &ae) {
    		return err
    	}
    	var a alert
    	if !errors.As(err, &a) {
    		a = alertInternalError
    	}
    	// Return an error wrapping the original error and an AlertError.
    	// Truncate the text of the alert to 0 characters.
    	return fmt.Errorf("%w%.0w", err, AlertError(a))
    }
    
    func (c *Conn) quicReadHandshakeBytes(n int) error {
    	for c.hand.Len() < n {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:23:54 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  5. api/go1.23.txt

    pkg encoding/binary, func Encode([]uint8, ByteOrder, interface{}) (int, error) #60023
    pkg go/ast, func Preorder(Node) iter.Seq[Node] #66339
    pkg go/types, method (*Alias) Origin() *Alias #67143
    pkg go/types, method (*Alias) Rhs() Type #66559
    pkg go/types, method (*Alias) SetTypeParams([]*TypeParam) #67143
    pkg go/types, method (*Alias) TypeArgs() *TypeList #67143
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 20:48:49 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/_gen/ARM64.rules

    (BitRev32 ...) => (RBITW ...)
    (BitRev16   x) => (SRLconst [48] (RBIT <typ.UInt64> x))
    (BitRev8    x) => (SRLconst [56] (RBIT <typ.UInt64> x))
    
    // In fact, UMOD will be translated into UREM instruction, and UREM is originally translated into
    // UDIV and MSUB instructions. But if there is already an identical UDIV instruction just before or
    // after UREM (case like quo, rem := z/y, z%y), then the second UDIV instruction becomes redundant.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 113.1K bytes
    - Viewed (0)
  7. src/net/http/serve_test.go

    		}))
    		defer proxy.close()
    
    		req, _ := NewRequest("POST", proxy.ts.URL, io.LimitReader(neverEnding('a'), bodySize))
    		res, err := proxy.c.Do(req)
    		if err != nil {
    			return fmt.Errorf("original request: %v", err)
    		}
    		res.Body.Close()
    		return nil
    	})
    }
    
    // Test that a hanging Request.Body.Read from another goroutine can't
    // cause the Handler goroutine's Request.Body.Close to block.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/prove.go

    		//		do something without using ind nor nxt
    		//		nxt = ind - inc
    		//		goto loop
    		//
    		//	exit_loop:
    		//
    		// this is better because it only require to keep ind then nxt alive while looping,
    		// while the original form keeps ind then nxt and end alive
    		start, end := v.min, v.max
    		if v.flags&indVarCountDown != 0 {
    			start, end = end, start
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:30:21 UTC 2024
    - 48.9K bytes
    - Viewed (0)
  9. src/math/big/float.go

    		// Below we set z.neg = x.neg, and when z aliases y this will
    		// change the y operand's sign. This is fine, because if an
    		// operand aliases the receiver it'll be overwritten, but we still
    		// want the original x.neg and y.neg values when we evaluate
    		// x.neg != y.neg, so we need to save y.neg before setting z.neg.
    		yneg := y.neg
    
    		z.neg = x.neg
    		if x.neg == yneg {
    			// x + y == x + y
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 15:46:54 UTC 2024
    - 44.5K bytes
    - Viewed (0)
  10. src/cmd/go/go_test.go

    	testenv.MustHaveCGO(t)
    
    	tg := testgo(t)
    	defer tg.cleanup()
    	tg.parallel()
    	tg.tempFile("src/origin/origin.go", `package origin
    		// #cgo !darwin,!windows LDFLAGS: -Wl,-rpath,$ORIGIN
    		// void f(void) {}
    		import "C"
    		func f() { C.f() }`)
    	tg.setenv("GOPATH", tg.path("."))
    	tg.run("build", "origin")
    }
    
    func TestCgoPkgConfig(t *testing.T) {
    	tooSlow(t, "compiles cgo files")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
Back to top