Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 3,615 for ppkg (0.07 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/cmd/compile/internal/types/pkg.go

    	if pkg == nil {
    		pkg = nopkg
    	}
    	if s := pkg.Syms[name]; s != nil {
    		return s, true
    	}
    
    	s = &Sym{
    		Name: name,
    		Pkg:  pkg,
    	}
    	pkg.Syms[name] = s
    	return s, false
    }
    
    func (pkg *Pkg) LookupBytes(name []byte) *Sym {
    	// TODO(gri) remove this check in favor of specialized lookup
    	if pkg == nil {
    		pkg = nopkg
    	}
    	if s := pkg.Syms[string(name)]; s != nil {
    		return s
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 16:28:50 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  3. src/cmd/doc/testdata/pkg.go

    // Copyright 2015 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Package comment.
    package pkg
    
    import "io"
    
    // Constants
    
    // Comment about exported constant.
    const ExportedConstant = 1
    
    // Comment about internal constant.
    const internalConstant = 2
    
    // Comment about block of constants.
    const (
    	// Comment before ConstOne.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 19:16:55 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  4. src/cmd/go/internal/load/pkg.go

    			}
    		}
    	}
    
    	var mains []*Package
    	for _, pkg := range pkgs {
    		if pkg.Name == "main" || (pkg.Name == "" && pkg.Error != nil) {
    			treatAsMain[pkg.ImportPath] = true
    			mains = append(mains, pkg)
    			continue
    		}
    
    		if len(pkg.InvalidGoFiles) > 0 { // TODO(#45999): && pkg.Name == "", but currently go/build sets pkg.Name arbitrarily if it is ambiguous.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
  5. hack/verify-pkg-names.sh

    # See the License for the specific language governing permissions and
    # limitations under the License.
    
    # This script verifies whether codes follow golang convention.
    # Usage: `hack/verify-pkg-names.sh`.
    
    set -o errexit
    set -o nounset
    set -o pipefail
    
    KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
    source "${KUBE_ROOT}/hack/lib/init.sh"
    
    cd "${KUBE_ROOT}"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 11 21:06:28 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. fess-crawler/src/main/resources/org/codelibs/fess/crawler/mime/tika-mimetypes.xml

      <mime-type type="application/vnd.xfdl.webform"/>
      <mime-type type="application/vnd.xmi+xml"/>
      <mime-type type="application/vnd.xmpie.cpkg"/>
      <mime-type type="application/vnd.xmpie.dpkg"/>
      <mime-type type="application/vnd.xmpie.plan"/>
      <mime-type type="application/vnd.xmpie.ppkg"/>
      <mime-type type="application/vnd.xmpie.xlim"/>
      <mime-type type="application/vnd.yamaha.hv-dic">
        <glob pattern="*.hvd"/>
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Sep 21 06:46:43 UTC 2023
    - 298.5K bytes
    - Viewed (0)
  10. 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)
Back to top