Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 7,350 for pkgh (0.09 sec)

  1. src/cmd/compile/internal/types2/stdlib_test.go

    			filenames = append(filenames, filepath.Join(pkg.Dir, name))
    		}
    	}
    	return filenames, nil
    }
    
    func walkPkgDirs(dir string, pkgh func(dir string, filenames []string), errh func(args ...interface{})) {
    	w := walker{pkgh, errh}
    	w.walk(dir)
    }
    
    type walker struct {
    	pkgh func(dir string, filenames []string)
    	errh func(args ...any)
    }
    
    func (w *walker) walk(dir string) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:18:33 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. src/go/types/stdlib_test.go

    			filenames = append(filenames, filepath.Join(pkg.Dir, name))
    		}
    	}
    	return filenames, nil
    }
    
    func walkPkgDirs(dir string, pkgh func(dir string, filenames []string), errh func(args ...any)) {
    	w := walker{pkgh, errh}
    	w.walk(dir)
    }
    
    type walker struct {
    	pkgh func(dir string, filenames []string)
    	errh func(args ...any)
    }
    
    func (w *walker) walk(dir string) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 19 04:39:56 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  3. test/fixedbugs/bug392.dir/pkg3.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Use the functions in pkg2.go so that the inlined
    // forms get type-checked.
    
    package pkg3
    
    import "./pkg2"
    
    var x = pkg2.F()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 303 bytes
    - Viewed (0)
  4. test/fixedbugs/bug448.dir/pkg2.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Issue 3843: inlining bug due to wrong receive operator precedence.
    
    package pkg2
    
    import "./pkg1"
    
    func F() {
    	pkg1.Do()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 287 bytes
    - Viewed (0)
  5. test/fixedbugs/issue4590.dir/pkg2.go

    // Copyright 2012 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 pkg2
    
    import "./pkg1"
    
    var T = struct{ pkg1.A }{nil}
    var U = struct{ pkg1.B }{nil}
    var V pkg1.A = struct{ *pkg1.C }{nil}
    var W = interface {
    	Write() error
    	Hello()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 340 bytes
    - Viewed (0)
  6. test/fixedbugs/issue4590.dir/pkg1.go

    // Copyright 2012 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 pkg1
    
    type A interface {
    	Write() error
    }
    
    type B interface {
    	Hello()
    	world()
    }
    
    type C struct{}
    
    func (c C) Write() error { return nil }
    
    var T = struct{ A }{nil}
    var U = struct{ B }{nil}
    var V A = struct{ *C }{nil}
    var W = interface {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 438 bytes
    - Viewed (0)
  7. 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)
  8. src/cmd/go/internal/load/pkg.go

    	}
    
    	bp, err := ctxt.ImportDir(dir, 0)
    	pkg := new(Package)
    	pkg.Internal.Local = true
    	pkg.Internal.CmdlineFiles = true
    	pkg.load(ctx, opts, "command-line-arguments", &stk, nil, bp, err)
    	if !cfg.ModulesEnabled {
    		pkg.Internal.LocalPrefix = dirToImportPath(dir)
    	}
    	pkg.ImportPath = "command-line-arguments"
    	pkg.Target = ""
    	pkg.Match = gofiles
    
    	if pkg.Name == "main" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
  9. test/fixedbugs/bug448.dir/pkg1.go

    // Copyright 2012 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 pkg1
    
    var x = make(chan interface{})
    
    func Do() int {
    	return (<-x).(int)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 244 bytes
    - Viewed (0)
  10. test/fixedbugs/bug392.dir/pkg2.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Use the functions in one.go so that the inlined
    // forms get type-checked.
    
    package pkg2
    
    import "./one"
    
    func use() {
    	one.F1(nil)
    	one.F2(nil)
    	one.F3()
    	one.F4(1)
    
    	var t *one.T
    	t.M()
    	t.MM()
    }
    
    var V = []one.PB{{}, {}}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 405 bytes
    - Viewed (0)
Back to top