- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 4,301 for main2 (0.05 sec)
-
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) -
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) -
test/typeparam/issue50485.dir/main.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 24 02:14:15 UTC 2022 - 82 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) -
src/debug/gosym/testdata/main.go
package main func linefrompc() func pcfromline() func main() { // Prevent GC of our test symbols linefrompc() pcfromline()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 12 20:27:20 UTC 2018 - 130 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/native-binaries/multi-project/groovy/exe/src/main/cpp/main.cpp
#include "hello.h" int main () { hello(); return 0;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 59 bytes - Viewed (0) -
src/cmd/cgo/internal/testplugin/testdata/issue62430/main.go
// in some stdlib package (ex: unicode), however there // may be references to that map var from a plugin that // gets loaded. package main import ( "fmt" "plugin" "unicode" ) func main() { p, err := plugin.Open("issue62430.so") if err != nil { panic(err) } s, err := p.Lookup("F") if err != nil { panic(err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 07 13:18:51 UTC 2023 - 804 bytes - Viewed (0) -
src/runtime/testdata/testwinlib/main.go
//go:build windows && cgo // +build windows,cgo package main // #include <windows.h> // typedef void(*callmeBackFunc)(); // static void bridgeCallback(callmeBackFunc callback) { // callback(); //} import "C" // CallMeBack call backs C code. // //export CallMeBack func CallMeBack(callback C.callmeBackFunc) { C.bridgeCallback(callback) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 08 15:44:05 UTC 2022 - 925 bytes - Viewed (0)