Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 5,103 for pkgh (0.06 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. test/fixedbugs/issue5291.dir/pkg1.go

    // Copyright 2013 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
    
    import (
    	"runtime"
    )
    
    type T2 *[]string
    
    type Data struct {
    	T1 *[]T2
    }
    
    func CrashCall() (err error) {
    	var d Data
    
    	for count := 0; count < 10; count++ {
    		runtime.GC()
    
    		len := 2 // crash when >=2
    		x := make([]T2, len)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 25 16:47:12 UTC 2013
    - 515 bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top