Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 69 for nextar (0.14 sec)

  1. src/cmd/compile/internal/types2/call.go

    				} else {
    					check.versionErrorf(instErrPos, go1_21, "implicitly instantiated function in assignment")
    				}
    			}
    			gsig := NewSignatureType(nil, nil, nil, sig.params, sig.results, sig.variadic)
    			params = []*Var{NewVar(x.Pos(), check.pkg, "", gsig)}
    			// The type of the argument operand is tsig, which is the type of the LHS in an assignment
    			// or the result type in a return statement. Create a pseudo-expression for that operand
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 31.5K bytes
    - Viewed (0)
  2. src/runtime/pprof/pprof.go

    	fmt.Fprintf(w, "# BuckHashSys = %d\n", s.BuckHashSys)
    	fmt.Fprintf(w, "# GCSys = %d\n", s.GCSys)
    	fmt.Fprintf(w, "# OtherSys = %d\n", s.OtherSys)
    
    	fmt.Fprintf(w, "# NextGC = %d\n", s.NextGC)
    	fmt.Fprintf(w, "# LastGC = %d\n", s.LastGC)
    	fmt.Fprintf(w, "# PauseNs = %d\n", s.PauseNs)
    	fmt.Fprintf(w, "# PauseEnd = %d\n", s.PauseEnd)
    	fmt.Fprintf(w, "# NumGC = %d\n", s.NumGC)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  3. src/go/types/call.go

    				} else {
    					check.versionErrorf(instErrPos, go1_21, "implicitly instantiated function in assignment")
    				}
    			}
    			gsig := NewSignatureType(nil, nil, nil, sig.params, sig.results, sig.variadic)
    			params = []*Var{NewVar(x.Pos(), check.pkg, "", gsig)}
    			// The type of the argument operand is tsig, which is the type of the LHS in an assignment
    			// or the result type in a return statement. Create a pseudo-expression for that operand
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  4. src/runtime/heapdump.go

    	dumpint(m.StackSys)
    	dumpint(m.MSpanInuse)
    	dumpint(m.MSpanSys)
    	dumpint(m.MCacheInuse)
    	dumpint(m.MCacheSys)
    	dumpint(m.BuckHashSys)
    	dumpint(m.GCSys)
    	dumpint(m.OtherSys)
    	dumpint(m.NextGC)
    	dumpint(m.LastGC)
    	dumpint(m.PauseTotalNs)
    	for i := 0; i < 256; i++ {
    		dumpint(m.PauseNs[i])
    	}
    	dumpint(uint64(m.NumGC))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  5. src/net/http/fs_test.go

    				t.Errorf("range=%q Content-Length = %d; want %d", rt.r, g, w)
    				continue
    			}
    			mr := multipart.NewReader(bytes.NewReader(body), params["boundary"])
    			for ri, rng := range rt.ranges {
    				part, err := mr.NextPart()
    				if err != nil {
    					t.Errorf("range=%q, reading part index %d: %v", rt.r, ri, err)
    					continue Cases
    				}
    				wantContentRange = fmt.Sprintf("bytes %d-%d/%d", rng.start, rng.end-1, testFileLen)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 23:39:44 UTC 2024
    - 49.9K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/resolver.go

    	l := len(names)
    	r := len(inits)
    
    	const code = WrongAssignCount
    	switch {
    	case l < r:
    		n := inits[l]
    		if inherited {
    			check.errorf(pos, code, "extra init expr at %s", n.Pos())
    		} else {
    			check.errorf(n, code, "extra init expr %s", n)
    		}
    	case l > r && (constDecl || r != 1): // if r == 1 it may be a multi-valued function and we can't say anything yet
    		n := names[r]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 14:10:44 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  7. src/go/types/resolver.go

    		}
    	case l < r:
    		if l < len(s.Values) {
    			// init exprs from s
    			n := s.Values[l]
    			check.errorf(n, code, "extra init expr %s", n)
    			// TODO(gri) avoid declared and not used error here
    		} else {
    			// init exprs "inherited"
    			check.errorf(s, code, "extra init expr at %s", check.fset.Position(init.Pos()))
    			// TODO(gri) avoid declared and not used error here
    		}
    	case l > r && (init != nil || r != 1):
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:22:59 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/decl.go

    				check.declare(check.scope, name, lhs[i], scopePos)
    			}
    
    		case *syntax.VarDecl:
    			top := len(check.delayed)
    
    			lhs0 := make([]*Var, len(s.NameList))
    			for i, name := range s.NameList {
    				lhs0[i] = NewVar(name.Pos(), pkg, name.Value, nil)
    			}
    
    			// initialize all variables
    			values := syntax.UnpackListExpr(s.Values)
    			for i, obj := range lhs0 {
    				var lhs []*Var
    				var init syntax.Expr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  9. src/go/types/issues_test.go

    		t.Error("comparable not assignable to any")
    	}
    }
    
    func TestIssue55030(t *testing.T) {
    	// makeSig makes the signature func(typ...)
    	makeSig := func(typ Type) {
    		par := NewVar(nopos, nil, "", typ)
    		params := NewTuple(par)
    		NewSignatureType(nil, nil, nil, params, nil, true)
    	}
    
    	// makeSig must not panic for the following (example) types:
    	// []int
    	makeSig(NewSlice(Typ[Int]))
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/issues_test.go

    		t.Error("comparable not assignable to any")
    	}
    }
    
    func TestIssue55030(t *testing.T) {
    	// makeSig makes the signature func(typ...)
    	makeSig := func(typ Type) {
    		par := NewVar(nopos, nil, "", typ)
    		params := NewTuple(par)
    		NewSignatureType(nil, nil, nil, params, nil, true)
    	}
    
    	// makeSig must not panic for the following (example) types:
    	// []int
    	makeSig(NewSlice(Typ[Int]))
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 28.1K bytes
    - Viewed (0)
Back to top