- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 5,774 for rain (0.04 sec)
-
test/closure5.dir/main.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 24 02:14:15 UTC 2022 - 328 bytes - Viewed (0) -
test/typeparam/absdiffimp.dir/main.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 main func main() { // For now, a lone type parameter is not permitted as RHS in a type declaration (issue #45639). // if got, want := a.OrderedAbsDifference(1.0, -2.0), 3.0; got != want { // panic(fmt.Sprintf("got = %v, want = %v", got, want)) // }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 00:11:24 UTC 2021 - 998 bytes - Viewed (0) -
test/fixedbugs/issue52856.dir/main.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 main import "./a" func F() any { return struct{ int }{0} } func main() { _, ok1 := F().(struct{ int }) _, ok2 := a.F().(struct{ int }) if !ok1 || ok2 { panic(0) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Jun 26 00:26:59 UTC 2022 - 343 bytes - Viewed (0) -
test/fixedbugs/issue32901.dir/main.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 main import ( "reflect" "./c" ) func main() { x := c.F() p := c.P() t := reflect.PointerTo(reflect.TypeOf(x)) tp := reflect.TypeOf(p) if t != tp { panic("FAIL") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 26 14:24:17 UTC 2021 - 346 bytes - Viewed (0) -
test/typeparam/issue49241.dir/main.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 main import ( "./b" "./c" ) func main() { if b.G() != c.G() { println(b.G(), c.G()) panic("bad") } if b.F() != c.F() { println(b.F(), c.F()) panic("bad") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 24 02:14:15 UTC 2022 - 342 bytes - Viewed (0) -
src/cmd/cgo/internal/testshared/testdata/issue44031/main/main.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package main import "testshared/issue44031/b" type t int func (t) m() {} type i interface{ m() } // test that unexported method is correctly marked var v interface{} = t(0) func main() { b.F() v.(i).m()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 373 bytes - Viewed (0) -
src/cmd/cgo/internal/testplugin/testdata/unnamed2/main.go
// license that can be found in the LICENSE file. //go:build ignore package main // // No C code required. import "C" func FuncInt() int { return 2 } func FuncRecursive() X { return X{} } type Y struct { X *X } type X struct { Y Y }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 366 bytes - Viewed (0) -
test/fixedbugs/issue19507.dir/main.go
// license that can be found in the LICENSE file. // Make sure we can compile assembly with DIV and MOD in it. // They get rewritten to runtime calls on GOARM=5. package main func f(x, y uint32) func main() { f(5, 8)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 349 bytes - Viewed (0) -
src/cmd/cgo/internal/testplugin/testdata/issue25756/main.go
// license that can be found in the LICENSE file. // Run the game of life in C using Go for parallelization. package main import ( "flag" "fmt" "plugin" ) const MAXDIM = 100 var dim = flag.Int("dim", 16, "board dimensions") var gen = flag.Int("gen", 10, "generations") func main() { flag.Parse() var a [MAXDIM * MAXDIM]int32 for i := 2; i < *dim; i += 8 { for j := 2; j < *dim-3; j += 8 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 928 bytes - Viewed (0) -
istioctl/cmd/istioctl/main.go
// See the License for the specific language governing permissions and // limitations under the License. package main import ( "fmt" "os" // import all known client auth plugins _ "k8s.io/client-go/plugin/pkg/client/auth" "istio.io/istio/istioctl/cmd" "istio.io/istio/pkg/log" ) func main() { if err := cmd.ConfigAndEnvProcessing(); err != nil { fmt.Fprintf(os.Stderr, "Could not initialize: %v\n", err)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 1.1K bytes - Viewed (0)