- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 4,301 for main2 (0.04 sec)
-
platforms/documentation/docs/src/snippets/native-binaries/sourceset-variant/groovy/src/main/c/main.c
#include "platform.h" #include "stdio.h" int main(int argc, char** argv) { printf("Attributes of '%s' platform\n", platform_name); printf("Is Posix like? %s\n", is_posix_like()?"true":"false"); printf("Max Path Length: %d bytes\n", max_path_length()); printf("Max memory supported: %llu Kbytes\n", max_memory()); return 0;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 348 bytes - Viewed (0) -
test/fixedbugs/issue19028.dir/main.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 15 20:45:24 UTC 2020 - 569 bytes - Viewed (0) -
src/cmd/vet/main.go
"golang.org/x/tools/go/analysis/passes/unreachable" "golang.org/x/tools/go/analysis/passes/unsafeptr" "golang.org/x/tools/go/analysis/passes/unusedresult" ) func main() { telemetry.Start() objabi.AddVersionFlag() telemetry.Inc("vet/invocations") unitchecker.Main( appends.Analyzer, asmdecl.Analyzer, assign.Analyzer, atomic.Analyzer, bools.Analyzer, buildtag.Analyzer, cgocall.Analyzer,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 2.9K bytes - Viewed (0) -
src/cmd/cgo/internal/testplugin/testdata/issue19418/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() { p, err := plugin.Open("plugin.so") if err != nil { panic(err) } val, err := p.Lookup("Val") if err != nil { panic(err) } got := *val.(*string) const want = "linkstr"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 511 bytes - Viewed (0) -
src/cmd/trace/testdata/testprog/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 ( "fmt" "log" "net" "os" "runtime" "runtime/trace" "sync" "syscall" "time" ) func main() { if err := trace.Start(os.Stdout); err != nil { log.Fatal(err) } // checkExecutionTimes relies on this. var wg sync.WaitGroup
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 17:15:58 UTC 2024 - 2.5K bytes - Viewed (0) -
test/intrinsic.dir/main.go
// Copyright 2016 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" T "runtime/internal/sys" ) var A = []uint64{0x0102030405060708, 0x1122334455667788} var B = []uint64{0x0807060504030201, 0x8877665544332211} var errors int func logf(f string, args ...interface{}) { errors++ fmt.Printf(f, args...)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 18 18:06:27 UTC 2022 - 2.6K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/toolingApi/runBuild/kotlin/src/main/java/org/gradle/sample/Main.java
package org.gradle.sample; import org.gradle.tooling.BuildLauncher; import org.gradle.tooling.GradleConnector; import org.gradle.tooling.ProjectConnection; import java.io.File; public class Main { public static void main(String[] args) { // Configure the connector and create the connection GradleConnector connector = GradleConnector.newConnector(); if (args.length > 0) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.1K bytes - Viewed (0) -
pkg/test/framework/tools/featuresgen/main.go
// See the License for the specific language governing permissions and // limitations under the License. package main import ( "istio.io/istio/pkg/test/framework/tools/featuresgen/cmd" ) func main() { cmd.Execute()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 29 20:42:01 UTC 2020 - 702 bytes - Viewed (0) -
test/typeparam/issue49027.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 ( "./a" "fmt" ) func main() { s := "foo" x := a.Conv(s) if x != s { panic(fmt.Sprintf("got %s wanted %s", x, s)) } y, ok := a.Conv2(s) if !ok { panic("conversion failed") } if y != s {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 24 02:14:15 UTC 2022 - 617 bytes - Viewed (0) -
hack/tools/ncpu/main.go
See the License for the specific language governing permissions and limitations under the License. */ package main import ( "fmt" "runtime" "go.uber.org/automaxprocs/maxprocs" ) func main() { maxprocs.Set() fmt.Print(runtime.GOMAXPROCS(0))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 31 00:26:07 UTC 2023 - 719 bytes - Viewed (0)