Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 37 for pkgName (0.12 sec)

  1. src/cmd/go/internal/modindex/read.go

    				*list = append(*list, name)
    			}
    			continue
    		}
    
    		pkg := tf.pkgName()
    		if pkg == "documentation" {
    			p.IgnoredGoFiles = append(p.IgnoredGoFiles, name)
    			continue
    		}
    		isTest := strings.HasSuffix(name, "_test.go")
    		isXTest := false
    		if isTest && strings.HasSuffix(tf.pkgName(), "_test") && p.Name != tf.pkgName() {
    			isXTest = true
    			pkg = pkg[:len(pkg)-len("_test")]
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types/fmt.go

    	fmtTypeID
    	fmtTypeIDName
    )
    
    // Sym
    
    // Format implements formatting for a Sym.
    // The valid formats are:
    //
    //	%v	Go syntax: Name for symbols in the local package, PkgName.Name for imported symbols.
    //	%+v	Debug syntax: always include PkgName. prefix even for local names.
    //	%S	Short syntax: Name only, no matter what.
    func (s *Sym) Format(f fmt.State, verb rune) {
    	mode := fmtGo
    	switch verb {
    	case 'v', 'S':
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 15:41:17 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  3. src/cmd/cover/cover.go

    	f.fn.counterVar = ""
    }
    
    func annotate(names []string) {
    	var p *Package
    	if *pkgcfg != "" {
    		pp := pkgconfig.PkgPath
    		pn := pkgconfig.PkgName
    		mp := pkgconfig.ModulePath
    		mdb, err := encodemeta.NewCoverageMetaDataBuilder(pp, pn, mp)
    		if err != nil {
    			log.Fatalf("creating coverage meta-data builder: %v\n", err)
    		}
    		p = &Package{
    			mdb: mdb,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  4. src/go/internal/gcimporter/gcimporter_test.go

    			// that was type-checked directly.
    			compile(t, rootDir, entry.Name(), filepath.Join(tmpdir, "testdata"), nil, filename)
    			pkgName := strings.TrimSuffix(entry.Name(), ".go")
    			imported := importPkg(t, "./testdata/"+pkgName, tmpdir)
    			checked := checkFile(t, filename, src)
    
    			seen := make(map[string]bool)
    			for _, name := range imported.Scope().Names() {
    				if !token.IsExported(name) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:22:59 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  5. src/go/types/check.go

    	versions      map[*ast.File]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[*ast.Ident]*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.1K bytes
    - Viewed (0)
  6. src/internal/coverage/defs.go

    // meta-data blob, e.g. the coverage meta-data payload
    // computed for a given Go package.
    type MetaSymbolHeader struct {
    	Length     uint32 // size of meta-symbol payload in bytes
    	PkgName    uint32 // string table index
    	PkgPath    uint32 // string table index
    	ModulePath uint32 // string table index
    	MetaHash   [16]byte
    	_          byte    // currently unused
    	_          [3]byte // padding
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 14 12:51:16 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/go/types/objectpath/objectpath.go

    			// have a path.
    			return "", fmt.Errorf("no path for %v", obj)
    		}
    	case *types.Const, // Only package-level constants have a path.
    		*types.Label,   // Labels are function-local.
    		*types.PkgName: // PkgNames are file-local.
    		return "", fmt.Errorf("no path for %v", obj)
    
    	case *types.Var:
    		// Could be:
    		// - a field (obj.IsField())
    		// - a func parameter or result
    		// - a local var.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/cgocall/cgocall.go

    func imported(info *types.Info, spec *ast.ImportSpec) *types.Package {
    	obj, ok := info.Implicits[spec]
    	if !ok {
    		obj = info.Defs[spec.Name] // renaming import
    	}
    	return obj.(*types.PkgName).Imported()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/stdlib_test.go

    		if err != nil {
    			return nil, errors.Join(errs...)
    		}
    
    		files = append(files, file)
    	}
    
    	if testing.Verbose() {
    		printPackageMu.Lock()
    		fmt.Println("package", files[0].PkgName.Value)
    		for _, filename := range filenames {
    			fmt.Println("\t", filename)
    		}
    		printPackageMu.Unlock()
    	}
    
    	// Typecheck package files.
    	var errs []error
    	conf := Config{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:18:33 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  10. maven-core/src/test/resources/apiv4-repo/org/codehaus/plexus/plexus-classworlds/1.2-alpha-10/plexus-classworlds-1.2-alpha-10.jar

    orld, String); public String getId(); } org/codehaus/plexus/classworlds/realm/Entry.class package org.codehaus.plexus.classworlds.realm; public synchronized class Entry implements Comparable { private final ClassRealm realm; private final String pkgName; void Entry(ClassRealm, String); ClassRealm getRealm(); String getPackageName(); boolean matches(String); public int compareTo(Object); public boolean equals(Object); public int hashCode(); public String toString(); } org/codehaus/plexus/classwor...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sun Oct 02 08:41:25 UTC 2022
    - 41.5K bytes
    - Viewed (0)
Back to top