- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 4,301 for main2 (0.08 sec)
-
test/typeparam/issue51219.dir/main.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 24 02:14:15 UTC 2022 - 262 bytes - Viewed (0) -
test/typeparam/issue50486.dir/main.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 24 02:14:15 UTC 2022 - 248 bytes - Viewed (0) -
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/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) -
test/fixedbugs/issue4252.dir/main.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 main import "./a" func main() { if a.InlinedFakeTrue() { panic("returned true was the real one") } if !a.InlinedFakeFalse() { panic("returned false was the real one") } if a.InlinedFakeNil() == nil { panic("returned nil was the real one") } a.Test()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 435 bytes - Viewed (0)