- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 1,994 for 2014 (0.04 sec)
-
test/fixedbugs/issue6703f.go
// errorcheck // 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. // Check for cycles in the method call of a value literal. package litmethcall type T int func (T) m() int { _ = x return 0 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 23 20:27:09 UTC 2022 - 376 bytes - Viewed (0) -
test/fixedbugs/issue6703l.go
// errorcheck // 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. // Check for cycles in a method call. package methcall type T int func (T) m() int { _ = x return 0 } var ( t T x = t.m() // ERROR "initialization cycle|depends upon itself"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 23 20:27:09 UTC 2022 - 359 bytes - Viewed (0) -
test/fixedbugs/issue6703t.go
// errorcheck // 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. // Check for cycles in the call of a pointer method expression. package ptrmethexprcall type T int func (*T) pm() int { _ = x return 0 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 23 20:27:09 UTC 2022 - 391 bytes - Viewed (0) -
test/fixedbugs/issue7590.go
// compile // 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. // Issue 7590: gccgo incorrectly traverses nested composite literals. package p type S struct { F int } var M = map[string]S{ "a": { F: 1 }, } var P = M["a"]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 349 bytes - Viewed (0) -
src/cmd/cgo/internal/testso/testdata/so/cgoso_unix.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. //go:build aix || dragonfly || freebsd || linux || netbsd || solaris package cgosotest /* extern int __thread tlsvar; int *getTLS() { return &tlsvar; } */ import "C" func init() { if v := *C.getTLS(); v != 12345 { println("got", v) panic("BAD TLS value") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 19 01:37:41 UTC 2023 - 428 bytes - Viewed (0) -
src/cmd/vet/testdata/bool/bool.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. // This file contains tests for the bool checker. package bool func _() { var f, g func() int if v, w := f(), g(); v == w || v == w { // ERROR "redundant or: v == w || v == w" }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 20 15:46:42 UTC 2019 - 346 bytes - Viewed (0) -
src/os/sticky_bsd.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. //go:build aix || darwin || dragonfly || freebsd || (js && wasm) || netbsd || openbsd || solaris || wasip1 package os // According to sticky(8), neither open(2) nor mkdir(2) will create // a file with the sticky bit set.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 07 23:34:21 UTC 2023 - 425 bytes - Viewed (0) -
test/fixedbugs/issue7998.go
// compile // 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. // /tmp/x.go:5: cannot use _ as value package p func f(ch chan int) bool { select { case _, ok := <-ch: return ok } _, ok := <-ch _ = ok select { case _, _ = <-ch: return true } return false
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 380 bytes - Viewed (0) -
test/fixedbugs/issue6703k.go
// errorcheck // 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. // Check for cycles in a method value. package methvalue type T int func (T) m() int { _ = x return 0 } var ( t T x = t.m // ERROR "initialization cycle|depends upon itself"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 23 20:27:09 UTC 2022 - 359 bytes - Viewed (0) -
test/fixedbugs/issue6703u.go
// errorcheck // 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. // Check for cycles in a pointer literal's method value. package ptrlitmethvalue type T int func (*T) pm() int { _ = x return 0 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 23 20:27:09 UTC 2022 - 384 bytes - Viewed (0)