Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 23 for original (0.22 sec)

  1. src/os/signal/doc.go

    flag and otherwise keep the signal handler. If Notify is called for an
    asynchronous signal, a Go signal handler will be installed for that
    signal. If, later, Reset is called for that signal, the original
    handling for that signal will be reinstalled, restoring the non-Go
    signal handler if any.
    
    Go code built without -buildmode=c-archive or -buildmode=c-shared will
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 18:11:00 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. src/cmd/go/alldocs.go

    //
    //	-run=""
    //		if non-empty, specifies a regular expression to select
    //		directives whose full original source text (excluding
    //		any trailing spaces and final newline) matches the
    //		expression.
    //
    //	-skip=""
    //		if non-empty, specifies a regular expression to suppress
    //		directives whose full original source text (excluding
    //		any trailing spaces and final newline) matches the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 142.4K bytes
    - Viewed (0)
  3. src/go/types/unify.go

    		}
    
    	case *Named:
    		// Two named types unify if their type names originate in the same type declaration.
    		// If they are instantiated, their type argument lists must unify.
    		if y := asNamed(y); y != nil {
    			// Check type arguments before origins so they unify
    			// even if the origins don't match; for better error
    			// messages (see go.dev/issue/53692).
    			xargs := x.TypeArgs().list()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:24:39 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  4. src/cmd/go/internal/work/exec.go

    	// But there might be an x.go in the original dir too, and if it
    	// uses cgo as well, cgo will be processing both and will
    	// translate both into x.cgo1.go in the objdir, overwriting one.
    	// Rename x.go to _x_swig.go to avoid this problem.
    	// We ignore files in the original dir that begin with underscore
    	// so _x_swig.go cannot conflict with an original file we were
    	// going to compile.
    	goFile = objdir + goFile
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. src/net/http/transport_test.go

    	}
    	oe, ok := uerr.Err.(*net.OpError)
    	if !ok {
    		t.Fatalf("url.Error.Err =  %T; want *net.OpError", uerr.Err)
    	}
    	want := &net.OpError{
    		Op:  "proxyconnect",
    		Net: "tcp",
    		Err: errDial, // original error, unwrapped.
    	}
    	if !reflect.DeepEqual(oe, want) {
    		t.Errorf("Got error %#v; want %#v", oe, want)
    	}
    }
    
    // Issue 36431: calls to RoundTrip should not mutate t.ProxyConnectHeader.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  8. 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)
  9. src/os/exec/exec.go

    // The output of String may vary across Go releases.
    func (c *Cmd) String() string {
    	if c.Err != nil || c.lookPathErr != nil {
    		// failed to resolve path; report the original requested path (plus args)
    		return strings.Join(c.Args, " ")
    	}
    	// report the exact executable path (plus args)
    	b := new(strings.Builder)
    	b.WriteString(c.Path)
    	for _, a := range c.Args[1:] {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssagen/ssa.go

    				b.Likely = ssa.BranchLikely
    
    				// We have atomic instructions - use it directly.
    				s.startBlock(bTrue)
    				emit(s, n, args, op1, typ)
    				s.endBlock().AddEdgeTo(bEnd)
    
    				// Use original instruction sequence.
    				s.startBlock(bFalse)
    				emit(s, n, args, op0, typ)
    				s.endBlock().AddEdgeTo(bEnd)
    
    				// Merge results.
    				s.startBlock(bEnd)
    			}
    			if typ == types.TNIL {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
Back to top