- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 6,954 for umajin (0.18 sec)
-
test/fixedbugs/issue14164.dir/main.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package main // Verify that we can import package "a" containing an inlineable // function F that declares a local interface with a non-exported // method f. import _ "./a"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 01 20:29:19 UTC 2016 - 350 bytes - Viewed (0) -
test/typeparam/issue50552.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" "fmt" ) func BuildInt() int { return a.BuildInt() } func main() { if got, want := BuildInt(), 0; got != want { panic(fmt.Sprintf("got %d, want %d", got, want)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 24 02:14:15 UTC 2022 - 362 bytes - Viewed (0) -
src/cmd/cgo/internal/testplugin/testdata/issue22295.pkg/main.go
// Copyright 2017 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 ignore package main import ( "log" "plugin" ) func main() { p, err := plugin.Open("issue.22295.so") if err != nil { log.Fatal(err) } f, err := p.Lookup("F") if err != nil { log.Fatal(err) } const want = 2503
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 486 bytes - Viewed (0) -
test/typeparam/select.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 ( "sort" "./a" ) func main() { c := make(chan int, 1) d := make(chan int, 1) c <- 5 d <- 6 var r [2]int r[0] = a.F(c, d) r[1] = a.F(c, d) sort.Ints(r[:]) if r != [2]int{5, 6} { panic("incorrect results")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 03 22:57:02 UTC 2021 - 408 bytes - Viewed (0) -
test/fixedbugs/issue21120.dir/main.go
// Copyright 2017 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 ( "fmt" "os" "./a" "./b" ) func main() { // Make sure the reflect information for a.S is in the executable. _ = a.V() b1 := b.F1() b2 := b.F2() if b1 != b2 { fmt.Printf("%q (from b.F1()) != %q (from b.F2())\n", b1, b2)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jul 24 18:05:00 UTC 2017 - 432 bytes - Viewed (0) -
test/fixedbugs/issue46653.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 ( bad "issue46653.dir/bad" ) func main() { bad.Bad() } func neverCalled() L { m := make(map[string]L) return m[""] } type L struct { A Data B Data } type Data struct { F1 [22][]string
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 09 02:18:34 UTC 2021 - 378 bytes - Viewed (0) -
test/fixedbugs/issue47185.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 ( bad "issue47185.dir/bad" ) func main() { another() bad.Bad() } func another() L { m := make(map[string]L) return m[""] } type L struct { A Data B Data } type Data struct { F1 [22][]string
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jul 19 13:27:46 UTC 2021 - 385 bytes - Viewed (0) -
test/typeparam/issue50598.dir/main.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 24 02:14:15 UTC 2022 - 369 bytes - Viewed (0) -
test/fixedbugs/issue65957.dir/main.go
// Copyright 2024 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" "reflect" ) var s = []rune{0, 1, 2, 3} func main() { m := map[any]int{} k := reflect.New(reflect.ArrayOf(4, reflect.TypeOf(int32(0)))).Elem().Interface() m[k] = 1 a.F()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 28 05:32:14 UTC 2024 - 368 bytes - Viewed (0) -
src/cmd/cgo/internal/testplugin/testdata/issue22175/main.go
// Copyright 2017 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 ( "fmt" "os" "plugin" ) func main() { p2, err := plugin.Open("issue22175_plugin1.so") if err != nil { panic(err) } f, err := p2.Lookup("F") if err != nil { panic(err) } got := f.(func() int)() const want = 971
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 510 bytes - Viewed (0)