Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,493 for dpkg (0.08 sec)

  1. src/internal/coverage/cfile/emit.go

    					break
    				}
    			}
    			if !isLive {
    				// Skip this function.
    				i += coverage.FirstCtrOffset + int(nCtrs) - 1
    				continue
    			}
    
    			if s.debug {
    				if pkgId != dpkg {
    					dpkg = pkgId
    					fmt.Fprintf(os.Stderr, "\n=+= %d: pk=%d visit live fcn",
    						i, pkgId)
    				}
    				fmt.Fprintf(os.Stderr, " {i=%d F%d NC%d}", i, funcId, nCtrs)
    			}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:57:47 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  2. src/cmd/doc/pkg.go

    		pkg.constsDoc(printed)
    		pkg.varsDoc(printed)
    		pkg.funcsDoc()
    		pkg.typesDoc()
    
    	case pkg.pkg.Name == "main" && !showCmd:
    		// Show only package docs for commands.
    		return
    
    	default:
    		if !short {
    			pkg.newlines(2) // Guarantee blank line before the components.
    		}
    		pkg.valueSummary(pkg.doc.Consts, false)
    		pkg.valueSummary(pkg.doc.Vars, false)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 08 20:15:52 UTC 2024
    - 32K bytes
    - Viewed (0)
  3. src/runtime/iface.go

    imethods:
    	for k := 0; k < ni; k++ {
    		i := &inter.Methods[k]
    		itype := toRType(&inter.Type).typeOff(i.Typ)
    		name := toRType(&inter.Type).nameOff(i.Name)
    		iname := name.Name()
    		ipkg := pkgPath(name)
    		if ipkg == "" {
    			ipkg = inter.PkgPath.Name()
    		}
    		for ; j < nt; j++ {
    			t := &xmhdr[j]
    			rtyp := toRType(typ)
    			tname := rtyp.nameOff(t.Name)
    			if rtyp.typeOff(t.Mtyp) == itype && tname.Name() == iname {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  4. src/go/types/issues_test.go

    func main() {
    	var info types.Info
    	for _, obj := range info.Uses {
    		_ = obj.Pkg()
    	}
    }
    `
    	f := func(test, src string) {
    		info := &Info{Uses: make(map[*ast.Ident]Object)}
    		mustTypecheck(src, nil, info)
    
    		var pkg *Package
    		count := 0
    		for id, obj := range info.Uses {
    			if id.Name == "Pkg" {
    				pkg = obj.Pkg()
    				count++
    			}
    		}
    		if count != 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/issues_test.go

    func main() {
    	var info types.Info
    	for _, obj := range info.Uses {
    		_ = obj.Pkg()
    	}
    }
    `
    	f := func(test, src string) {
    		info := &Info{Uses: make(map[*syntax.Name]Object)}
    		mustTypecheck(src, nil, info)
    
    		var pkg *Package
    		count := 0
    		for id, obj := range info.Uses {
    			if id.Value == "Pkg" {
    				pkg = obj.Pkg()
    				count++
    			}
    		}
    		if count != 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  6. src/go/internal/gcimporter/ureader.go

    	pr.pkgs[idx] = pkg
    	return pkg
    }
    
    func (r *reader) doPkg() *types.Package {
    	path := r.String()
    	switch path {
    	case "":
    		path = r.p.PkgPath()
    	case "builtin":
    		return nil // universe
    	case "unsafe":
    		return types.Unsafe
    	}
    
    	if pkg := r.p.imports[path]; pkg != nil {
    		return pkg
    	}
    
    	name := r.String()
    
    	pkg := types.NewPackage(path, name)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/copylock/copylock.go

    	if tv, ok := pass.TypesInfo.Types[x]; ok && tv.IsValue() {
    		return lockPath(pass.Pkg, tv.Type, nil)
    	}
    	return nil
    }
    
    // lockPath returns a typePath describing the location of a lock value
    // contained in typ. If there is no contained lock, it returns nil.
    //
    // The seen map is used to short-circuit infinite recursion due to type cycles.
    func lockPath(tpkg *types.Package, typ types.Type, seen map[types.Type]bool) typePath {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/sym.go

    				panic("bad index")
    			}
    			ctxt.nonpkgrefs = append(ctxt.nonpkgrefs, rs)
    			nonpkgidx++
    			return
    		}
    		if k, ok := ctxt.pkgIdx[pkg]; ok {
    			rs.PkgIdx = k
    			return
    		}
    		rs.PkgIdx = ipkg
    		ctxt.pkgIdx[pkg] = ipkg
    		ipkg++
    	})
    }
    
    // Returns whether s is a non-package symbol, which needs to be referenced
    // by name instead of by index.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 14:41:10 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  9. src/cmd/link/internal/ld/go.go

    //	once the dust settles, try to move some code to
    //		libmach, so that other linkers and ar can share.
    
    func ldpkg(ctxt *Link, f *bio.Reader, lib *sym.Library, length int64, filename string) {
    	if *flagG {
    		return
    	}
    
    	if int64(int(length)) != length {
    		fmt.Fprintf(os.Stderr, "%s: too much pkg data in %s\n", os.Args[0], filename)
    		return
    	}
    
    	bdata := make([]byte, length)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 22 16:48:30 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  10. src/go/build/deps_test.go

    			t.Errorf("unexpected dependency: %s imports %v", pkg, bad)
    		}
    	}
    }
    
    var buildIgnore = []byte("\n//go:build ignore")
    
    func findImports(pkg string) ([]string, error) {
    	vpkg := pkg
    	if strings.HasPrefix(pkg, "golang.org") {
    		vpkg = "vendor/" + pkg
    	}
    	dir := filepath.Join(Default.GOROOT, "src", vpkg)
    	files, err := os.ReadDir(dir)
    	if err != nil {
    		return nil, err
    	}
    	var imports []string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 16:41:13 UTC 2024
    - 19.2K bytes
    - Viewed (0)
Back to top