Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 2,847 for main2 (0.21 sec)

  1. testing/performance/src/templates/native-dependents/main.cpp

    #include <iostream>
    <%
    includes.each { include ->
        out.println "#include \"$include\""
    }
    %>
    
    int main(int argc, char**argv) {
        return 0;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 146 bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/java/application/groovy/src/main/java/org/gradle/sample/Main.java

    package org.gradle.sample;
    
    public class Main {
        public static void main(String[] args) {
            if (System.getProperty("greeting.language").equals("en")) {
                System.out.println("Greetings from the sample application.");
            } else {
                System.out.println("Bonjour, monde!");
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 321 bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/native-binaries/assembler/groovy/src/main/c/main.c

    #include <stdio.h>
    #include "sum.h"
    
    int main () {
      int x = sum(5, 7);
      printf("5 + 7 = %d\n", x);
      return 0;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 115 bytes
    - Viewed (0)
  4. src/runtime/testdata/testwintls/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 "C"
    
    //export GoFunc
    func GoFunc() int { return 42 }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 25 15:37:00 UTC 2023
    - 250 bytes
    - Viewed (0)
  5. test/fixedbugs/issue54912.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() {
    	a.F(new(int), 0)()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 07 17:26:34 UTC 2022
    - 227 bytes
    - Viewed (0)
  6. cni/cmd/istio-cni/main.go

    // parses prevResult according to the cniVersion
    package main
    
    import (
    	"fmt"
    	"os"
    
    	"github.com/containernetworking/cni/pkg/skel"
    	"github.com/containernetworking/cni/pkg/version"
    
    	"istio.io/istio/cni/pkg/plugin"
    	"istio.io/istio/pkg/log"
    	istioversion "istio.io/istio/pkg/version"
    )
    
    func main() {
    	if err := runPlugin(); err != nil {
    		os.Exit(1)
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 16:26:35 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/swig/testdata/callback/main.go

    // Copyright 2012 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"
    )
    
    func main() {
    	if len(os.Args) != 2 {
    		fatal("usage: callback testname")
    	}
    	switch os.Args[1] {
    	default:
    		fatal("unknown test %q", os.Args[1])
    	case "Call":
    		testCall()
    	case "Callback":
    		testCallback()
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:07 UTC 2023
    - 1K bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/testshared/testdata/issue44031/main/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 "testshared/issue44031/b"
    
    type t int
    
    func (t) m() {}
    
    type i interface{ m() } // test that unexported method is correctly marked
    
    var v interface{} = t(0)
    
    func main() {
    	b.F()
    	v.(i).m()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 373 bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/testplugin/testdata/unnamed2/main.go

    // license that can be found in the LICENSE file.
    
    //go:build ignore
    
    package main
    
    // // No C code required.
    import "C"
    
    func FuncInt() int { return 2 }
    
    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
    - 366 bytes
    - Viewed (0)
  10. test/fixedbugs/issue19507.dir/main.go

    // license that can be found in the LICENSE file.
    
    // Make sure we can compile assembly with DIV and MOD in it.
    // They get rewritten to runtime calls on GOARM=5.
    
    package main
    
    func f(x, y uint32)
    
    func main() {
    	f(5, 8)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 349 bytes
    - Viewed (0)
Back to top