- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 22 for 2014 (0.03 sec)
-
test/fixedbugs/bug335.dir/a.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 a type T interface{} func f() T { return nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 234 bytes - Viewed (0) -
test/fixedbugs/issue10219.dir/a.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 a type m struct { S string } var g = struct { m P string }{ m{"a"}, "", } type S struct{} func (s *S) M(p string) { r := g r.P = p
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jul 15 06:04:51 UTC 2015 - 312 bytes - Viewed (0) -
test/fixedbugs/issue9537.dir/a.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 a type X struct { T [32]byte } func (x *X) Get() []byte { t := x.T return t[:] } func (x *X) RetPtr(i int) *int { i++ return &i } func (x *X) RetRPtr(i int) (r1 int, r2 *int) { r1 = i + 1 r2 = &r1 return
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jan 22 03:25:12 UTC 2015 - 386 bytes - Viewed (0) -
test/fixedbugs/issue4252.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. // A package that redeclares common builtin names. package a var true = 0 == 1 var false = 0 == 0 var nil = 1 const append = 42 type error bool type int interface{} func len(interface{}) int32 { return 42 } func Test() { var array [append]int if true {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 807 bytes - Viewed (0) -
test/fixedbugs/issue5260.dir/a.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 a
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 11 18:45:18 UTC 2013 - 192 bytes - Viewed (0) -
test/fixedbugs/issue6513.dir/a.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 a
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 192 bytes - Viewed (0) -
src/cmd/cgo/internal/test/gcc68255/a.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. // Test that it's OK to have C code that does nothing other than // initialize a global variable. This used to fail with gccgo. package gcc68255 /* #include "c.h" */ import "C" func F() bool { return C.v != nil
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:02 UTC 2023 - 378 bytes - Viewed (0) -
test/fixedbugs/issue5470.dir/a.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 a type Foo interface { Hi() string } func Test1() Foo { return make(tst1) } type tst1 map[string]bool func (r tst1) Hi() string { return "Hi!" } func Test2() Foo { return make(tst2, 0) } type tst2 []string func (r tst2) Hi() string { return "Hi!" }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 07:01:43 UTC 2013 - 532 bytes - Viewed (0) -
test/fixedbugs/bug478.dir/a.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 p1 type S1 struct{}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 209 bytes - Viewed (0) -
test/fixedbugs/issue6789.dir/a.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 a type unexported struct { a int b bool } type Struct struct { unexported
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 10 18:47:30 UTC 2013 - 270 bytes - Viewed (0)