- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of about 10,000 for a$ (0.07 sec)
-
test/typeparam/issue52117.dir/a.go
// Copyright 2022 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 func Compare[T int | uint](a, b T) int { return 0 } type Slice[T int | uint] struct{} func (l Slice[T]) Comparator() func(v1, v2 T) int { return Compare[T]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 28 20:14:34 UTC 2022 - 333 bytes - Viewed (0) -
test/typeparam/issue54302.dir/a.go
// Copyright 2022 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 func A() { B[int](new(G[int])) } func B[T any](iface interface{ M(T) }) { x, ok := iface.(*G[T]) if !ok || iface != x { panic("FAIL") } } type G[T any] struct{}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Aug 06 15:20:00 UTC 2022 - 362 bytes - Viewed (0) -
test/fixedbugs/issue15514.dir/a.go
// Copyright 2016 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: Tue Aug 23 23:40:36 UTC 2016 - 196 bytes - Viewed (0) -
test/fixedbugs/issue31636.dir/a.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 11:07:00 UTC 2019 - 201 bytes - Viewed (0) -
test/fixedbugs/issue8060.dir/a.go
// Copyright 2014 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 Sep 15 16:24:16 UTC 2014 - 198 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) -
test/fixedbugs/issue47068.dir/a.go
// Copyright 2021 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 func A() { var m map[int]int = map[int]int{ 0: 0, 1: 0, 2: 0, 3: 0, 4: 0, 5: 0, 6: 0, 7: 0, 8: 0, 9: 0, 10: 0, 11: 0, 12: 0, 13: 0, 14: 0, 15: 0, 16: 0, 17: 0, 18: 0, 19: 0, 20: 0, 21: 0, 22: 0, 23: 0, 24: 0, 25: 0, 26: 0, 27: 0, 28: 0, 29: 0} if len(m) != 30 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 09 15:34:31 UTC 2023 - 479 bytes - Viewed (0) -
test/fixedbugs/issue32922.dir/a.go
// Copyright 2019 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 func A() int { return p("count") } func p(which string, args ...string) int { switch which { case "count", "something": return 1 default: return 2 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jul 08 13:20:23 UTC 2019 - 332 bytes - Viewed (0) -
test/fixedbugs/issue33158.dir/a.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package a var GS string func M() string { if s := getname("Fred"); s != "" { return s } if s := getname("Joe"); s != "" { return s } return string("Alex") } // getname can be any function returning a string, just has to be non-inlinable. //go:noinline
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 18 17:24:59 UTC 2019 - 478 bytes - Viewed (0) -
test/fixedbugs/bug460.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 type Foo struct { int int8 error rune byte
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 221 bytes - Viewed (0)