Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 6,954 for umajin (0.14 sec)

  1. platforms/documentation/docs/src/samples/templates/java-application/src/main/java/org/gradle/sample/app/Main.java

    import static org.gradle.sample.utilities.StringUtils.join;
    import static org.gradle.sample.utilities.StringUtils.split;
    import static org.gradle.sample.app.MessageUtils.getMessage;
    
    public class Main {
        public static void main(String[] args) {
            LinkedList tokens;
            tokens = split(getMessage());
            System.out.println(join(tokens));
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 438 bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/samples/build-organization/composite-builds/declared-substitution/groovy/app/src/main/java/org/sample/myapp/Main.java

    package org.sample.myapp;
    
    import org.sample.numberutils.Numbers;
    
    public class Main {
    
        public static void main(String... args) {
            new Main().printAnswer();
        }
    
        public void printAnswer() {
            String output = " 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
    - 316 bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/samples/build-organization/composite-builds/declared-substitution/kotlin/app/src/main/java/org/sample/myapp/Main.java

    package org.sample.myapp;
    
    import org.sample.numberutils.Numbers;
    
    public class Main {
    
        public static void main(String... args) {
            new Main().printAnswer();
        }
    
        public void printAnswer() {
            String output = " 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
    - 316 bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/testplugin/testdata/issue53989/main.go

    // from the plugin jumps in the middle of the function
    // to the function with the same name in the main
    // executable. As these two functions may be compiled
    // differently as plugin needs to be PIC, this causes
    // crash.
    
    package main
    
    import (
    	"plugin"
    
    	"testplugin/issue53989/p"
    )
    
    func main() {
    	p.Square(7) // call the function in main executable
    
    	p, err := plugin.Open("issue53989.so")
    	if err != nil {
    		panic(err)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 751 bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top