Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 5,086 for ppkg (0.05 sec)

  1. test/fixedbugs/bug369.dir/pkg.go

    // Copyright 2011 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 pkg
    
    func NonASCII(b []byte, i int) int {
    	for i = 0; i < len(b); i++ {
    		if b[i] >= 0x80 {
    			break
    		}
    	}
    	return i
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 289 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. test/fixedbugs/bug382.dir/pkg.go

    // Copyright 2011 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 pkg
    type T struct {}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 197 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. staging/src/k8s.io/apimachinery/pkg/runtime/swagger_doc_generator.go

    	m := make(map[string]*ast.File)
    
    	f, err := parser.ParseFile(fset, filePath, nil, parser.ParseComments)
    	if err != nil {
    		fmt.Println(err)
    		return nil
    	}
    
    	m[filePath] = f
    	apkg, _ := ast.NewPackage(fset, m, nil, nil)
    
    	return doc.New(apkg, "", 0)
    }
    
    func fmtRawDoc(rawDoc string) string {
    	var buffer bytes.Buffer
    	delPrevChar := func() {
    		if buffer.Len() > 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 03 07:33:58 UTC 2017
    - 7K bytes
    - Viewed (0)
  7. src/internal/coverage/cfile/testsupport.go

    // testmain code when "go test -cover" is in effect. It is not
    // intended to be used other than internally by the Go command's
    // generated code.
    func ProcessCoverTestDir(dir string, cfile string, cm string, cpkg string, w io.Writer) error {
    	cmode := coverage.ParseCounterMode(cm)
    	if cmode == coverage.CtrModeInvalid {
    		return fmt.Errorf("invalid counter mode %q", cm)
    	}
    
    	// Emit meta-data and counter data.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:57:47 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/mod_get_patchmod.txt

    	example.net/pkgremoved v0.1.0 => ./prpkg
    	example.net/pkgremoved v0.1.1 => ./prpkg
    
    	example.net/pkgremoved v0.2.0 => ./prmod
    	example.net/pkgremoved v0.2.1 => ./prmod
    
    	example.net/pkgremoved v0.3.0 => ./prpkg
    	example.net/pkgremoved v0.3.1 => ./prmod
    
    	example.net/pkgremoved v0.4.0 => ./prmod
    	example.net/pkgremoved v0.4.1 => ./prpkg
    )
    -- other/go.mod --
    module example.net/other
    
    go 1.16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  9. src/cmd/api/testdata/src/pkg/p1/golden.txt

    pkg p1, type URL //deprecated
    pkg p1, var Byte uint8
    pkg p1, var ByteConv []uint8
    pkg p1, var ByteFunc func(uint8) int32
    pkg p1, var ChecksumError error
    pkg p1, var SIPtr *SI
    pkg p1, var SIPtr2 *SI
    pkg p1, var SIVal SI
    pkg p1, var StrConv string
    pkg p1, var V string
    pkg p1, var V1 uint64
    pkg p1, var V2 p2.Twoer
    pkg p1, var VError Error
    pkg p1, var VError //deprecated
    pkg p1, var X I
    pkg p1, var X0 int64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 02 16:29:41 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  10. api/go1.15.txt

    pkg debug/pe, const IMAGE_FILE_DLL = 8192
    pkg debug/pe, const IMAGE_FILE_DLL ideal-int
    pkg debug/pe, const IMAGE_FILE_EXECUTABLE_IMAGE = 2
    pkg debug/pe, const IMAGE_FILE_EXECUTABLE_IMAGE ideal-int
    pkg debug/pe, const IMAGE_FILE_LARGE_ADDRESS_AWARE = 32
    pkg debug/pe, const IMAGE_FILE_LARGE_ADDRESS_AWARE ideal-int
    pkg debug/pe, const IMAGE_FILE_LINE_NUMS_STRIPPED = 4
    pkg debug/pe, const IMAGE_FILE_LINE_NUMS_STRIPPED ideal-int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jul 17 02:15:01 UTC 2020
    - 7.6K bytes
    - Viewed (0)
Back to top