Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 6,954 for umajin (0.09 sec)

  1. 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)
  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. 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)
  5. 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)
  6. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/testing/main/main.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package main
    
    import (
    	"fmt"
    
    	webhooktesting "k8s.io/apiserver/pkg/admission/plugin/webhook/testing"
    )
    
    func main() {
    	server := webhooktesting.NewTestServer(nil)
    	server.StartTLS()
    	fmt.Println("serving on", server.URL)
    	select {}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Aug 25 00:00:45 UTC 2019
    - 807 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. 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)
  9. test/typeparam/absdiffimp2.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() {
    	if got, want := a.OrderedAbsDifference(1.0, -2.0), 3.0; got != want {
    		panic(fmt.Sprintf("got = %v, want = %v", got, want))
    	}
    	if got, want := a.OrderedAbsDifference(-1.0, 2.0), 3.0; got != want {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 24 02:14:15 UTC 2022
    - 879 bytes
    - Viewed (0)
  10. test/fixedbugs/issue29612.dir/main.go

    // Do not panic on conversion to anonymous interface, which
    // is similar-looking interface types in different packages.
    
    package main
    
    import (
    	"fmt"
    
    	ssa1 "issue29612.dir/p1/ssa"
    	ssa2 "issue29612.dir/p2/ssa"
    )
    
    func main() {
    	v1 := &ssa1.T{}
    	_ = v1
    
    	v2 := &ssa2.T{}
    	ssa2.Works(v2)
    	ssa2.Panics(v2) // This call must not panic
    
    	swt(v1, 1)
    	swt(v2, 2)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 25 14:19:25 UTC 2020
    - 845 bytes
    - Viewed (0)
Back to top