Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 75 for nextar (0.19 sec)

  1. src/go/types/context_test.go

    		nullaryQ = NewSignatureType(nil, nil, []*TypeParam{tparam}, nil, nil, false)
    	}
    	{
    		// type unaryP = func[P any](_ P)
    		tparam := NewTypeParam(NewTypeName(nopos, nil, "P", nil), &emptyInterface)
    		params := NewTuple(NewVar(nopos, nil, "_", tparam))
    		unaryP = NewSignatureType(nil, nil, []*TypeParam{tparam}, params, nil, false)
    	}
    
    	ctxt := NewContext()
    
    	// Update the context with an instantiation of nullaryP.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. src/cmd/link/doc.go

    		The dynamic header is on by default, even without any
    		references to dynamic libraries, because many common
    		system tools now assume the presence of the header.
    	-dumpdep
    		Dump symbol dependency graph.
    	-extar ar
    		Set the external archive program (default "ar").
    		Used only for -buildmode=c-archive.
    	-extld linker
    		Set the external linker (default "clang" or "gcc").
    	-extldflags flags
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 16:11:52 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/universe.go

    	// type error interface{ Error() string }
    	{
    		obj := NewTypeName(nopos, nil, "error", nil)
    		obj.setColor(black)
    		typ := NewNamed(obj, nil, nil)
    
    		// error.Error() string
    		recv := NewVar(nopos, nil, "", typ)
    		res := NewVar(nopos, nil, "", Typ[String])
    		sig := NewSignatureType(recv, nil, nil, nil, NewTuple(res), false)
    		err := NewFunc(nopos, nil, "Error", sig)
    
    		// interface{ Error() string }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  4. src/go/types/universe.go

    	// type error interface{ Error() string }
    	{
    		obj := NewTypeName(nopos, nil, "error", nil)
    		obj.setColor(black)
    		typ := NewNamed(obj, nil, nil)
    
    		// error.Error() string
    		recv := NewVar(nopos, nil, "", typ)
    		res := NewVar(nopos, nil, "", Typ[String])
    		sig := NewSignatureType(recv, nil, nil, nil, NewTuple(res), false)
    		err := NewFunc(nopos, nil, "Error", sig)
    
    		// interface{ Error() string }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  5. src/database/sql/convert.go

    		// the nextCheck label. Thus for repeats tries only when the
    		// NamedValueConverter is selected should the Column Converter
    		// be used in the retry.
    		checker := defaultCheckNamedValue
    		nextCC := false
    		switch {
    		case nvc != nil:
    			nextCC = cci != nil
    			checker = nvc.CheckNamedValue
    		case cci != nil:
    			checker = cc.CheckNamedValue
    		}
    
    	nextCheck:
    		err = checker(nv)
    		switch err {
    		case nil:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  6. src/go/types/check.go

    	if m := check.Types; m != nil {
    		for {
    			tv := m[x]
    			assert(tv.Type != nil) // should have been recorded already
    			pos := x.Pos()
    			tv.Type = NewTuple(
    				NewVar(pos, check.pkg, "", t0),
    				NewVar(pos, check.pkg, "", t1),
    			)
    			m[x] = tv
    			// if x is a parenthesized expression (p.X), update p.X
    			p, _ := x.(*ast.ParenExpr)
    			if p == nil {
    				break
    			}
    			x = p.X
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/unusedresult/unusedresult.go

    					fn.Pkg().Path(), fn.Name())
    			}
    		}
    	})
    	return nil, nil
    }
    
    // func() string
    var sigNoArgsStringResult = types.NewSignature(nil, nil,
    	types.NewTuple(types.NewVar(token.NoPos, nil, "", types.Typ[types.String])),
    	false)
    
    type stringSetFlag map[string]bool
    
    func (ss *stringSetFlag) String() string {
    	var items []string
    	for item := range *ss {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/check.go

    	if m := check.Types; m != nil {
    		for {
    			tv := m[x]
    			assert(tv.Type != nil) // should have been recorded already
    			pos := x.Pos()
    			tv.Type = NewTuple(
    				NewVar(pos, check.pkg, "", t0),
    				NewVar(pos, check.pkg, "", t1),
    			)
    			m[x] = tv
    			// if x is a parenthesized expression (p.X), update p.X
    			p, _ := x.(*syntax.ParenExpr)
    			if p == nil {
    				break
    			}
    			x = p.X
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  9. src/net/http/transfer.go

    			ncopy, err = t.doBodyCopy(dst, body)
    		} else {
    			ncopy, err = t.doBodyCopy(w, io.LimitReader(body, t.ContentLength))
    			if err != nil {
    				return err
    			}
    			var nextra int64
    			nextra, err = t.doBodyCopy(io.Discard, body)
    			ncopy += nextra
    		}
    		if err != nil {
    			return err
    		}
    	}
    	if t.BodyCloser != nil {
    		closed = true
    		if err := t.BodyCloser.Close(); err != nil {
    			return err
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 22:14:00 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  10. src/go/internal/gcimporter/iimport.go

    		// completely set up all types in ImportData.
    		r.p.later = append(r.p.later, setConstraintArgs{t: t, constraint: constraint})
    
    	case 'V':
    		typ := r.typ()
    
    		r.declare(types.NewVar(pos, r.currPkg, name, typ))
    
    	default:
    		errorf("unexpected tag: %v", tag)
    	}
    }
    
    func (r *importReader) declare(obj types.Object) {
    	obj.Pkg().Scope().Insert(obj)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.2K bytes
    - Viewed (0)
Back to top