- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 2,939 for dain (0.14 sec)
-
src/cmd/cgo/internal/testplugin/testdata/unnamed1/main.go
//go:build ignore package main // // No C code required. import "C" func FuncInt() int { return 1 } // Add a recursive type to check that type equality across plugins doesn't // crash. See https://golang.org/issues/19258 func FuncRecursive() X { return X{} } type Y struct { X *X } type X struct { Y Y }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 487 bytes - Viewed (0) -
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) -
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) -
pilot/cmd/pilot-discovery/main.go
// See the License for the specific language governing permissions and // limitations under the License. package main import ( "os" "istio.io/istio/pilot/cmd/pilot-discovery/app" "istio.io/istio/pkg/log" ) func main() { log.EnableKlogWithCobra() rootCmd := app.NewRootCommand() if err := rootCmd.Execute(); err != nil { log.Error(err) os.Exit(-1) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 846 bytes - Viewed (0) -
src/cmd/cgo/internal/swig/testdata/stdio/main.go
// This file is here just to cause problems. // main.swig turns into a file also named main.go. // Make sure cmd/go keeps them separate // when both are passed to cgo. package main //int F(void) { return 1; } import "C" import ( "fmt" "os" ) func F() int { return int(C.F()) } func main() { if x := int(C.F()); x != 1 { fatal("x = %d, want 1", x) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:07 UTC 2023 - 975 bytes - Viewed (0) -
src/cmd/internal/metadata/main.go
// toolchain. // This program is only used by cmd/dist. Add an "ignore" build tag so it // is not installed. cmd/dist does "go run main.go" directly. //go:build ignore package main import ( "cmd/internal/osinfo" "fmt" "internal/sysinfo" "runtime" ) func main() { fmt.Printf("# GOARCH: %s\n", runtime.GOARCH) fmt.Printf("# CPU: %s\n", sysinfo.CPUName()) fmt.Printf("# GOOS: %s\n", runtime.GOOS)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 17 21:40:36 UTC 2023 - 876 bytes - Viewed (0) -
platforms/documentation/docs/src/samples/build-organization/composite-builds/hierarchical-multirepo/groovy/app/src/main/java/org/sample/myapp/Main.java
package org.sample.myapp; import org.sample.numberutils.Numbers; import org.sample.stringutils.Strings; public class Main { public static void main(String... args) { new Main().printAnswer(); } public void printAnswer() { String output = Strings.concat(" The answer is ", Numbers.add(19, 23)); System.out.println(output); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 373 bytes - Viewed (0)