Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 215 for noposn (0.17 sec)

  1. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/buildtag/buildtag.go

    		} else {
    			check.plusBuild = &constraint.AndExpr{X: check.plusBuild, Y: y}
    		}
    	}
    }
    
    func (check *checker) finish() {
    	if !check.crossCheck || check.plusBuildPos == token.NoPos || check.goBuildPos == token.NoPos {
    		return
    	}
    
    	// Have both //go:build and // +build,
    	// with no errors found (crossCheck still true).
    	// Check they match.
    	var want constraint.Expr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  2. src/go/types/api_predicates.go

    		return false
    	}
    	return (*Checker)(nil).implements(nopos, V, T, false, nil)
    }
    
    // Satisfies reports whether type V satisfies the constraint T.
    //
    // The behavior of Satisfies is unspecified if V is Typ[Invalid] or an uninstantiated
    // generic type.
    func Satisfies(V Type, T *Interface) bool {
    	return (*Checker)(nil).implements(nopos, V, T, true, nil)
    }
    
    // Identical reports whether x and y are identical types.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 16:36:08 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. src/cmd/internal/src/pos_test.go

    	b2 := NewFileBase("b2", "b2")
    	for _, test := range []struct {
    		p, q                 Pos
    		known, before, after bool
    	}{
    		{NoPos, NoPos, false, false, false},
    		{NoPos, MakePos(nil, 1, 0), false, true, false},
    		{MakePos(b1, 0, 0), NoPos, true, false, true},
    		{MakePos(nil, 1, 0), NoPos, true, false, true},
    
    		{MakePos(nil, 1, 1), MakePos(nil, 1, 1), true, false, false},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 14 23:50:26 UTC 2022
    - 8.4K bytes
    - Viewed (0)
  4. src/internal/reflectlite/set_test.go

    	{new(mapError), new(error), true},
    	{new(*mapError), new(error), true},
    }
    
    type notAnExpr struct{}
    
    func (notAnExpr) Pos() token.Pos { return token.NoPos }
    func (notAnExpr) End() token.Pos { return token.NoPos }
    func (notAnExpr) exprNode()      {}
    
    type notASTExpr interface {
    	Pos() token.Pos
    	End() token.Pos
    	exprNode()
    }
    
    type mapError map[string]string
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 2.4K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/noder/lex_test.go

    		}...)
    
    	}
    
    	var p noder
    	var nopos syntax.Pos
    	for _, tt := range tests {
    
    		p.err = make(chan syntax.Error)
    		gotch := make(chan [][]string, 1)
    		go func() {
    			p.pragcgobuf = nil
    			p.pragcgo(nopos, tt.in)
    			if p.pragcgobuf != nil {
    				gotch <- p.pragcgobuf
    			}
    		}()
    
    		select {
    		case e := <-p.err:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 23 06:39:06 UTC 2020
    - 3.6K bytes
    - Viewed (0)
  6. src/cmd/cgo/ast_go1.go

    //go:build compiler_bootstrap
    
    package main
    
    import (
    	"go/ast"
    	"go/token"
    )
    
    func (f *File) walkUnexpected(x interface{}, context astContext, visit func(*File, interface{}, astContext)) {
    	error_(token.NoPos, "unexpected type %T in walk", x)
    	panic("unexpected type")
    }
    
    func funcTypeTypeParams(n *ast.FuncType) *ast.FieldList {
    	return nil
    }
    
    func typeSpecTypeParams(n *ast.TypeSpec) *ast.FieldList {
    	return nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 30 21:45:10 UTC 2022
    - 578 bytes
    - Viewed (0)
  7. src/cmd/compile/internal/typecheck/export.go

    func importfunc(s *types.Sym, t *types.Type) {
    	fn := ir.NewFunc(src.NoXPos, src.NoXPos, s, t)
    	importsym(fn.Nname)
    }
    
    // importvar declares symbol s as an imported variable with type t.
    func importvar(s *types.Sym, t *types.Type) {
    	n := ir.NewNameAt(src.NoXPos, s, t)
    	n.Class = ir.PEXTERN
    	importsym(n)
    }
    
    func importsym(name *ir.Name) {
    	sym := name.Sym()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 17 19:36:28 UTC 2023
    - 838 bytes
    - Viewed (0)
  8. src/go/types/package.go

    }
    
    // NewPackage returns a new Package for the given package path and name.
    // The package is not complete and contains no explicit imports.
    func NewPackage(path, name string) *Package {
    	scope := NewScope(Universe, nopos, nopos, fmt.Sprintf("package %q", path))
    	return &Package{path: path, name: name, scope: scope}
    }
    
    // Path returns the package path.
    func (pkg *Package) Path() string { return pkg.path }
    
    // Name returns the package name.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. ci/official/containers/linux_arm64/devel.usertools/aarch64.bazelrc

    # one test for investigation, you don't need --config=nonpip; just run the
    # bazel test invocation as normal.
    test:nonpip_filters --test_tag_filters=-no_oss,-oss_serial,-gpu,-tpu,-benchmark-test,-v1only,-no_aarch64,-no_oss_py38,-no_oss_py39,-no_oss_py310
    test:nonpip_filters --build_tag_filters=-no_oss,-oss_serial,-gpu,-tpu,-benchmark-test,-v1only,-no_aarch64,-no_oss_py38,-no_oss_py39,-no_oss_py310
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Nov 21 12:25:39 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  10. ci/official/containers/linux_arm64/devel.usertools/aarch64_clang.bazelrc

    # one test for investigation, you don't need --config=nonpip; just run the
    # bazel test invocation as normal.
    test:nonpip_filters --test_tag_filters=-no_oss,-oss_serial,-gpu,-tpu,-benchmark-test,-v1only,-no_aarch64,-no_oss_py38,-no_oss_py39,-no_oss_py310
    test:nonpip_filters --build_tag_filters=-no_oss,-oss_serial,-gpu,-tpu,-benchmark-test,-v1only,-no_aarch64,-no_oss_py38,-no_oss_py39,-no_oss_py310
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Nov 21 12:25:39 UTC 2023
    - 6.3K bytes
    - Viewed (0)
Back to top