- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 4,442 for dain (0.03 sec)
-
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/Main.java
import org.gradle.launcher.cli.DefaultCommandLineActionFactory; import java.util.Arrays; /** * The main command-line entry-point for Gradle. */ public class Main extends EntryPoint { public static void main(String[] args) { new Main().run(args); } @Override protected void doAction(String[] args, ExecutionListener listener) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 1.3K bytes - Viewed (0) -
test/fixedbugs/issue56280.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 "test/a" func main() { // ERROR "can inline main" a.F() // ERROR "inlining call to a.F" "inlining call to a.g\[go.shape.int\]"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 08 21:26:09 UTC 2022 - 312 bytes - Viewed (0) -
src/cmd/cgo/internal/testplugin/testdata/method2/main.go
// A type can be passed to a plugin and converted to interface // there. So its methods need to be live. package main import ( "plugin" "testplugin/method2/p" ) var t p.T type I interface{ M() } func main() { pl, err := plugin.Open("method2.so") if err != nil { panic(err) } f, err := pl.Lookup("F") if err != nil { panic(err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 549 bytes - Viewed (0) -
src/cmd/cgo/internal/testplugin/testdata/method3/main.go
// An unexported method can be reachable from the plugin via interface // when a package is shared. So it need to be live. package main import ( "plugin" "testplugin/method3/p" ) var i p.I func main() { pl, err := plugin.Open("method3.so") if err != nil { panic(err) } f, err := pl.Lookup("F") if err != nil { panic(err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 533 bytes - Viewed (0) -
test/fixedbugs/issue37513.dir/main.go
// Copyright 2020 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 ( "bytes" "fmt" "os" "os/exec" ) func main() { if len(os.Args) > 1 { // Generate a SIGILL. sigill() return } // Run ourselves with an extra argument. That process should SIGILL.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 02 18:46:06 UTC 2020 - 593 bytes - Viewed (0) -
src/runtime/testdata/testprogcgo/main.go
// license that can be found in the LICENSE file. package main import "os" var cmds = map[string]func(){} func register(name string, f func()) { if cmds[name] != nil { panic("duplicate registration: " + name) } cmds[name] = f } func registerInit(name string, f func()) { if len(os.Args) >= 2 && os.Args[1] == name { f() } } func main() { if len(os.Args) < 2 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 01 23:34:33 UTC 2016 - 651 bytes - Viewed (0) -
src/runtime/testdata/testprognet/main.go
// license that can be found in the LICENSE file. package main import "os" var cmds = map[string]func(){} func register(name string, f func()) { if cmds[name] != nil { panic("duplicate registration: " + name) } cmds[name] = f } func registerInit(name string, f func()) { if len(os.Args) >= 2 && os.Args[1] == name { f() } } func main() { if len(os.Args) < 2 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 01 23:34:33 UTC 2016 - 651 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/toolingApi/runBuild/groovy/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) -
docs/extensions/s3zip/examples/minio-go/main.go
package main import ( "context" "io" "log" "os" "github.com/minio/minio-go/v7" "github.com/minio/minio-go/v7/pkg/credentials" ) func main() { s3Client, err := minio.New("minio-server-address:9000", &minio.Options{ Creds: credentials.NewStaticV4("access-key", "secret-key", ""), }) if err != nil { log.Fatalln(err) } var opts minio.GetObjectOptions // Add extract header to request:
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 14 18:04:14 UTC 2021 - 694 bytes - Viewed (0) -
test/typeparam/pairimp.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" "unsafe" ) func main() { p := a.Pair[int32, int64]{1, 2} if got, want := unsafe.Sizeof(p.Field1), uintptr(4); got != want { panic(fmt.Sprintf("unexpected f1 size == %d, want %d", got, want)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 24 02:14:15 UTC 2022 - 716 bytes - Viewed (0)