- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 6,954 for umajin (0.12 sec)
-
src/cmd/cgo/internal/testplugin/testdata/issue18584/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 "plugin" func main() { p, err := plugin.Open("plugin.so") if err != nil { panic(err) } sym, err := p.Lookup("G") if err != nil { panic(err) } g := sym.(func() bool) if !g() { panic("expected types to match, Issue #18584")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 424 bytes - Viewed (0) -
src/cmd/link/internal/ld/testdata/httptest/main/main.go
// nothing special about net/http here, this is just a convenient way // to pull in a lot of code. package main import ( "net/http" "net/http/httptest" ) type statusHandler int func (h *statusHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) { w.WriteHeader(int(*h)) } func main() { status := statusHandler(http.StatusNotFound) s := httptest.NewServer(&status) defer s.Close()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 20 15:46:11 UTC 2019 - 464 bytes - Viewed (0) -
test/typeparam/issue50481b.dir/main.go
// license that can be found in the LICENSE file. // Test that type substitution and export/import works correctly even for a method of // a generic type that has multiple blank type params. package main import ( "./b" "fmt" ) func main() { foo := &b.Foo[string, int]{ ValueA: "i am a string", ValueB: 123, } if got, want := fmt.Sprintln(foo), "i am a string 123\n"; got != want {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 24 02:14:15 UTC 2022 - 559 bytes - Viewed (0) -
test/fixedbugs/issue30862.dir/main.go
// license that can be found in the LICENSE file. package main import ( "fmt" "os" "issue30862.dir/b" ) // Test case for issue 30862. // Be aware that unless GOEXPERIMENT=fieldtrack is set when building // the compiler, this test will fail if executed with a regular GC // compiler. func main() { bad := b.Test() if len(bad) > 0 { for _, s := range bad {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jul 26 18:43:12 UTC 2021 - 549 bytes - Viewed (0) -
test/dwarf/dwarf.dir/main.go
// Copyright 2009 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() { F1() F2() F3() F4() F5() F6() F7() F8() F9() F10() F11() F12() F13() F14() F15() F16() F17() F18() F19() F20()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jan 11 21:00:48 UTC 2013 - 477 bytes - Viewed (0) -
cmd/cloud-controller-manager/main.go
// For more details, please refer to k8s.io/kubernetes/cmd/cloud-controller-manager/main.go // The current file demonstrate how other cloud provider should leverage CCM and it uses fake parameters. Please modify for your own use. package main import ( "os" "k8s.io/apimachinery/pkg/util/wait" cloudprovider "k8s.io/cloud-provider" "k8s.io/cloud-provider/app"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jun 19 13:01:01 UTC 2023 - 4.4K bytes - Viewed (0) -
test/fixedbugs/issue52279.dir/main.go
package main import "./lib"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 10 19:15:31 UTC 2022 - 65 bytes - Viewed (0) -
src/cmd/link/main.go
// configuration of the architecture-specific variables. // // Then control flow passes to ld.Main, which parses flags, makes // some configuration decisions, and then gives the architecture // packages a second chance to modify the linker's configuration // via the ld.Arch.Archinit function. func main() { var arch *sys.Arch var theArch ld.Arch buildcfg.Check() switch buildcfg.GOARCH { default:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 17 17:54:33 UTC 2022 - 1.9K bytes - Viewed (0) -
src/cmd/cgo/internal/testsanitizers/testdata/asan_linkerx/main.go
package main import "cmd/cgo/internal/testsanitizers/testdata/asan_linkerx/p" func pstring(s *string) { println(*s) } func main() { all := []*string{ &S1, &S2, &S3, &S4, &S5, &S6, &S7, &S8, &S9, &S10, &p.S1, &p.S2, &p.S3, &p.S4, &p.S5, &p.S6, &p.S7, &p.S8, &p.S9, &p.S10, } for _, ps := range all { pstring(ps) } } var S1 string var S2 string var S3 string var S4 string var S5 string
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 471 bytes - Viewed (0) -
src/cmd/link/testdata/pe-binutils/main.go
// where a.rc is a text file with the following content: // // resname RCDATA { // "Hello Gophers!\0", // "This is a test.\0", // } package main
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 26 18:15:09 UTC 2021 - 515 bytes - Viewed (0)