Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 202 for Implicits (0.44 sec)

  1. src/go/types/self_test.go

    		}
    		var info *Info
    		if writeInfo {
    			info = &Info{
    				Types:      make(map[ast.Expr]TypeAndValue),
    				Defs:       make(map[*ast.Ident]Object),
    				Uses:       make(map[*ast.Ident]Object),
    				Implicits:  make(map[ast.Node]Object),
    				Selections: make(map[*ast.SelectorExpr]*Selection),
    				Scopes:     make(map[ast.Node]*Scope),
    			}
    		}
    		if _, err := conf.Check(path, fset, files, info); err != nil {
    			b.Fatal(err)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 19:39:00 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/internal/facts/imports.go

    			}
    		case *types.Interface:
    			for i := 0; i < T.NumMethods(); i++ {
    				addObj(T.Method(i))
    			}
    			for i := 0; i < T.NumEmbeddeds(); i++ {
    				addType(T.EmbeddedType(i)) // walk Embedded for implicits
    			}
    		case *types.Union:
    			for i := 0; i < T.Len(); i++ {
    				addType(T.Term(i).Type())
    			}
    		case *types.TypeParam:
    			if !typs[T] {
    				typs[T] = true
    				addObj(T.Obj())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/self_test.go

    		}
    		var info *Info
    		if writeInfo {
    			info = &Info{
    				Types:      make(map[syntax.Expr]TypeAndValue),
    				Defs:       make(map[*syntax.Name]Object),
    				Uses:       make(map[*syntax.Name]Object),
    				Implicits:  make(map[syntax.Node]Object),
    				Selections: make(map[*syntax.SelectorExpr]*Selection),
    				Scopes:     make(map[syntax.Node]*Scope),
    			}
    		}
    		if _, err := conf.Check(path, files, info); err != nil {
    			b.Fatal(err)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 19:39:00 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  4. src/go/ast/scope.go

    // flag to disable syntactic object resolution (which also saves CPU
    // and memory), and instead use the type checker [go/types] if object
    // resolution is desired. See the Defs, Uses, and Implicits fields of
    // the [types.Info] struct for details.
    type Object struct {
    	Kind ObjKind
    	Name string // declared name
    	Decl any    // corresponding Field, XxxSpec, FuncDecl, LabeledStmt, AssignStmt, Scope; or nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 28 21:32:41 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/testshared/testdata/implicit/implicit.go

    package implicit
    
    func I() int {
    	return 42
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 46 bytes
    - Viewed (0)
  6. releasenotes/notes/telemetry-implicit-match-all.yaml

    John Howard <******@****.***> 1686044748 -0700
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 06 09:45:48 UTC 2023
    - 269 bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/authentication/authenticator/audagnostic.go

    // to restrict its accepted audiences to a set of implicit audiences.
    func WrapAudienceAgnosticRequest(implicit Audiences, delegate Request) Request {
    	return &audAgnosticRequestAuthenticator{
    		implicit: implicit,
    		delegate: delegate,
    	}
    }
    
    type audAgnosticTokenAuthenticator struct {
    	implicit Audiences
    	delegate Token
    }
    
    var _ = Token(&audAgnosticTokenAuthenticator{})
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 31 22:31:49 UTC 2018
    - 2.8K bytes
    - Viewed (0)
  8. src/go/types/return.go

    	case *ast.LabeledStmt:
    		return hasBreak(s.Stmt, label, implicit)
    
    	case *ast.BranchStmt:
    		if s.Tok == token.BREAK {
    			if s.Label == nil {
    				return implicit
    			}
    			if s.Label.Name == label {
    				return true
    			}
    		}
    
    	case *ast.BlockStmt:
    		return hasBreakList(s.List, label, implicit)
    
    	case *ast.IfStmt:
    		if hasBreak(s.Body, label, implicit) ||
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/return.go

    		return hasBreak(s.Stmt, label, implicit)
    
    	case *syntax.BranchStmt:
    		if s.Tok == syntax.Break {
    			if s.Label == nil {
    				return implicit
    			}
    			if s.Label.Value == label {
    				return true
    			}
    		}
    
    	case *syntax.BlockStmt:
    		return hasBreakList(s.List, label, implicit)
    
    	case *syntax.IfStmt:
    		if hasBreak(s.Then, label, implicit) ||
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  10. test/live_uintptrkeepalive.go

    package p
    
    import (
    	"syscall"
    	"unsafe"
    )
    
    func implicit(uintptr) // ERROR "assuming ~p0 is unsafe uintptr"
    
    //go:uintptrkeepalive
    //go:nosplit
    func explicit(uintptr) {
    }
    
    func autotmpImplicit() { // ERROR "can inline autotmpImplicit"
    	var t int
    	implicit(uintptr(unsafe.Pointer(&t))) // ERROR "live at call to implicit: .?autotmp" "stack object .autotmp_[0-9]+ unsafe.Pointer$"
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 2K bytes
    - Viewed (0)
Back to top