Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 22 of 22 for Replacer (0.16 sec)

  1. src/net/http/h2_bundle.go

    	if codeStr == "" {
    		codeStr = strconv.Itoa(int(code))
    	}
    	f(fmt.Sprintf("%s_%s_%s", typ, codeStr, name))
    	return err
    }
    
    // A timer is a time.Timer, as an interface which can be replaced in tests.
    type http2timer = interface {
    	C() <-chan time.Time
    	Reset(d time.Duration) bool
    	Stop() bool
    }
    
    // timeTimer adapts a time.Timer to the timer interface.
    type http2timeTimer struct {
    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/cmd/compile/internal/ssagen/ssa.go

    	case ir.OINDEX:
    		n := n.(*ir.IndexExpr)
    		switch {
    		case n.X.Type().IsString():
    			if n.Bounded() && ir.IsConst(n.X, constant.String) && ir.IsConst(n.Index, constant.Int) {
    				// Replace "abc"[1] with 'b'.
    				// Delayed until now because "abc"[1] is not an ideal constant.
    				// See test/fixedbugs/issue11370.go.
    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