Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 81 for pkgName (0.34 sec)

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

    	versions      map[*syntax.PosBase]string  // maps files to version strings (each file has an entry); shared with Info.FileVersions if present
    	imports       []*PkgName                  // list of imported packages
    	dotImportMap  map[dotImportKey]*PkgName   // maps dot-imported objects to the package they were dot-imported through
    	recvTParamMap map[*syntax.Name]*TypeParam // maps blank receiver type parameters to their type
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  2. src/go/internal/gcimporter/iimport.go

    		pkgPathOff := r.uint64()
    		pkgPath := p.stringAt(pkgPathOff)
    		pkgName := p.stringAt(r.uint64())
    		_ = r.uint64() // package height; unused by go/types
    
    		if pkgPath == "" {
    			pkgPath = path
    		}
    		pkg := imports[pkgPath]
    		if pkg == nil {
    			pkg = types.NewPackage(pkgPath, pkgName)
    			imports[pkgPath] = pkg
    		} else if pkg.Name() != pkgName {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  3. src/cmd/internal/cov/covcmd/cmddefs.go

    	// File into which cmd/cover should emit summary info
    	// when instrumentation is complete.
    	OutConfig string
    
    	// Import path for the package being instrumented.
    	PkgPath string
    
    	// Package name.
    	PkgName string
    
    	// Instrumentation granularity: one of "perfunc" or "perblock" (default)
    	Granularity string
    
    	// Module path for this package (empty if no go.mod in use)
    	ModulePath string
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 30 16:13:15 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  4. src/cmd/go/internal/modindex/scan.go

    type rawFile struct {
    	error      string
    	parseError string
    
    	name                 string
    	synopsis             string // doc.Synopsis of package comment... Compute synopsis on all of these?
    	pkgName              string
    	ignoreFile           bool   // starts with _ or . or should otherwise always be ignored
    	binaryOnly           bool   // cannot be rebuilt from source (has //go:binary-only-package comment)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  5. src/go/types/typexpr.go

    	// (This code is only needed for dot-imports. Without them,
    	// we only have to mark variables, see *Var case below).
    	if pkgName := check.dotImportMap[dotImportKey{scope, obj.Name()}]; pkgName != nil {
    		pkgName.used = true
    	}
    
    	switch obj := obj.(type) {
    	case *PkgName:
    		check.errorf(e, InvalidPkgUse, "use of package %s not in selector", obj.name)
    		return
    
    	case *Const:
    		check.addDeclDep(obj)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  6. src/go/types/resolver_test.go

    					obj := uses[x]
    					if obj == nil {
    						t.Errorf("%s: unresolved qualified identifier %s", fset.Position(x.Pos()), x.Name)
    						return false
    					}
    					if _, ok := obj.(*PkgName); ok && uses[s.Sel] == nil {
    						t.Errorf("%s: unresolved selector %s", fset.Position(s.Sel.Pos()), s.Sel.Name)
    						return false
    					}
    					return false
    				}
    				return true
    			}
    			return true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/syntax/nodes.go

    func (*node) aNode()           {}
    
    // ----------------------------------------------------------------------------
    // Files
    
    // package PkgName; DeclList[0], DeclList[1], ...
    type File struct {
    	Pragma    Pragma
    	PkgName   *Name
    	DeclList  []Decl
    	EOF       Pos
    	GoVersion string
    	node
    }
    
    // ----------------------------------------------------------------------------
    // Declarations
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 14:52:38 UTC 2023
    - 9K bytes
    - Viewed (0)
  8. src/internal/coverage/decodemeta/decode.go

    	return nil
    }
    
    func (d *CoverageMetaDataDecoder) PackagePath() string {
    	return d.strtab.Get(d.hdr.PkgPath)
    }
    
    func (d *CoverageMetaDataDecoder) PackageName() string {
    	return d.strtab.Get(d.hdr.PkgName)
    }
    
    func (d *CoverageMetaDataDecoder) ModulePath() string {
    	return d.strtab.Get(d.hdr.ModulePath)
    }
    
    func (d *CoverageMetaDataDecoder) NumFuncs() uint32 {
    	return d.hdr.NumFuncs
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 11:36:28 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  9. src/cmd/go/internal/modindex/index_format.txt

    		synopsis - string offset
    		name - string offset
    		pkgName - string offset
    		ignoreFile - int32 bool // report the file in Ignored(Go|Other)Files because there was an error reading it or parsing its build constraints.
    		binaryOnly uint32 bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 13 00:22:50 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/testcshared/cshared_test.go

    		t.Error(out)
    	}
    }
    
    func testSignalHandlers(t *testing.T, pkgname, cfile, cmd string) {
    	if GOOS == "windows" {
    		t.Skipf("Skipping on %s", GOOS)
    	}
    	globalSkip(t)
    	testenv.MustHaveGoBuild(t)
    	testenv.MustHaveCGO(t)
    	testenv.MustHaveBuildMode(t, "c-shared")
    
    	libname := pkgname + ".a"
    	run(t,
    		nil,
    		"go", "build",
    		"-buildmode=c-shared",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 13:19:50 UTC 2023
    - 21K bytes
    - Viewed (0)
Back to top