- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 2,829 for main2 (0.13 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) -
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) -
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) -
operator/cmd/operator/main.go
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package main import ( "os" "istio.io/istio/pkg/log" ) func main() { log.EnableKlogWithCobra() rootCmd := getRootCmd(os.Args[1:]) if err := rootCmd.Execute(); err != nil { os.Exit(-1) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Mar 02 03:03:35 UTC 2024 - 785 bytes - Viewed (0) -
src/cmd/cgo/internal/testshared/testdata/gcdata/main/main.go
// This test run under GODEBUG=clobberfree=1. The check // *x[i] == 12345 depends on this debug mode to clobber // the value if the object is freed prematurely. package main import ( "fmt" "runtime" "testshared/gcdata/p" ) var x p.T func main() { for i := range x { x[i] = new(int) *x[i] = 12345 } runtime.GC() runtime.GC() runtime.GC() for i := range x { if *x[i] != 12345 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 763 bytes - Viewed (0) -
src/internal/trace/testdata/cmd/gotraceraw/main.go
// Copyright 2023 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 ( "flag" "fmt" "io" "log" "os" "internal/trace/raw" "internal/trace/version" ) func init() { flag.Usage = func() { fmt.Fprintf(flag.CommandLine.Output(), "Usage: %s [mode]\n", os.Args[0])
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 20:31:29 UTC 2024 - 1.7K bytes - Viewed (0)