Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,878 for ppkg (0.21 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. hack/make-rules/test.sh

        | xargs -I{} -n 1 -P "${KUBE_COVERPROCS}" \
        bash -c "set -o pipefail; _pkg=\"\$0\"; _pkg_out=\${_pkg//\//_}; \
          go test ${goflags[*]:+${goflags[*]}} \
            ${KUBE_TIMEOUT} \
            -cover -covermode=\"${KUBE_COVERMODE}\" \
            -coverprofile=\"${cover_report_dir}/\${_pkg}/${cover_profile}\" \
            \"\${_pkg}\" \
            ${testargs[*]:+${testargs[*]}} \
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 02 22:40:10 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  8. api/go1.7.txt

    pkg debug/elf, const R_390_20 = 57
    pkg debug/elf, const R_390_20 R_390
    pkg debug/elf, const R_390_32 = 4
    pkg debug/elf, const R_390_32 R_390
    pkg debug/elf, const R_390_64 = 22
    pkg debug/elf, const R_390_64 R_390
    pkg debug/elf, const R_390_8 = 1
    pkg debug/elf, const R_390_8 R_390
    pkg debug/elf, const R_390_COPY = 9
    pkg debug/elf, const R_390_COPY R_390
    pkg debug/elf, const R_390_GLOB_DAT = 10
    pkg debug/elf, const R_390_GLOB_DAT R_390
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 28 15:08:11 UTC 2016
    - 13.6K bytes
    - Viewed (0)
  9. api/go1.18.txt

    pkg net/netip, method (Prefix) MarshalBinary() ([]uint8, error)
    pkg net/netip, method (Prefix) MarshalText() ([]uint8, error)
    pkg net/netip, method (Prefix) Masked() Prefix
    pkg net/netip, method (Prefix) Overlaps(Prefix) bool
    pkg net/netip, method (Prefix) String() string
    pkg net/netip, type Addr struct
    pkg net/netip, type AddrPort struct
    pkg net/netip, type Prefix struct
    pkg reflect, const Pointer = 22
    pkg reflect, const Pointer Kind
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 20:31:46 UTC 2023
    - 13K bytes
    - Viewed (0)
  10. api/go1.17.txt

    pkg database/sql, method (NullByte) Value() (driver.Value, error)
    pkg database/sql, method (NullInt16) Value() (driver.Value, error)
    pkg database/sql, type NullByte struct
    pkg database/sql, type NullByte struct, Byte uint8
    pkg database/sql, type NullByte struct, Valid bool
    pkg database/sql, type NullInt16 struct
    pkg database/sql, type NullInt16 struct, Int16 int16
    pkg database/sql, type NullInt16 struct, Valid bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 20:31:46 UTC 2023
    - 18K bytes
    - Viewed (0)
Back to top