Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,840 for f012 (0.28 sec)

  1. test/fixedbugs/bug403.go

    // compile
    
    // 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.
    
    // Crashed gccgo.
    
    package p
    
    type S struct {
    	f interface{}
    }
    
    func F(p *S) bool {
    	v := p.f
    	switch a := v.(type) {
    	case nil:
    		_ = a
    		return true
    	}
    	return true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 341 bytes
    - Viewed (0)
  2. test/fixedbugs/bug412.go

    // errorcheck
    
    // 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 p
    
    type t struct {
    	x int // GCCGO_ERROR "duplicate field name .x."
    	x int // GC_ERROR "duplicate field x|x redeclared"
    }
    
    func f(t *t) int {
    	return t.x
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 11 02:26:58 UTC 2022
    - 339 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/issue4510.go

    // errorcheckdir
    
    // 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.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 02 20:34:28 UTC 2013
    - 194 bytes
    - Viewed (0)
  5. test/fixedbugs/bug466.dir/a.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 a
    
    const N = 2+3i
    
    func Func() []complex128 {
    	return []complex128{1, complex(2, 3), complex(4, 5)}
    }
    
    func Mul(z complex128) complex128 {
    	return z * (3 + 4i)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 330 bytes
    - Viewed (0)
  6. test/fixedbugs/bug413.go

    // errorcheck
    
    // 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 p
    
    func f(i int) int { return i }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 23 20:27:09 UTC 2022
    - 314 bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/test/issue4273.c

    // 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.
    
    #ifdef __ELF__
    __attribute__((weak))
    __attribute__((visibility("hidden")))
    void _compilerrt_abort_impl(const char *file, int line, const char *func) {
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 320 bytes
    - Viewed (0)
  8. test/fixedbugs/bug419.go

    // compile
    
    // 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.
    
    // Issue 1811.
    // gccgo failed to compile this.
    
    package p
    
    type E interface{}
    
    type I interface {
    	E
    	E
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 18 01:52:05 UTC 2012
    - 279 bytes
    - Viewed (0)
  9. test/fixedbugs/issue4370.dir/p1.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 p1
    
    type Magic int
    
    type T struct {
    	x interface{}
    }
    
    func (t *T) M() bool {
    	_, ok := t.x.(Magic)
    	return ok
    }
    
    func F(t *T) {
    	println(t)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 310 bytes
    - Viewed (0)
  10. test/interface/recursive1.dir/recursive1.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.
    
    // Mutually recursive type definitions imported and used by recursive1.go.
    
    package p
    
    type I1 interface {
    	F() I2
    }
    
    type I2 interface {
    	I1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 304 bytes
    - Viewed (0)
Back to top