Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 2,216 for main2 (0.19 sec)

  1. src/cmd/cgo/internal/testplugin/testdata/issue62430/main.go

    // in some stdlib package (ex: unicode), however there
    // may be references to that map var from a plugin that
    // gets loaded.
    
    package main
    
    import (
    	"fmt"
    	"plugin"
    	"unicode"
    )
    
    func main() {
    	p, err := plugin.Open("issue62430.so")
    	if err != nil {
    		panic(err)
    	}
    	s, err := p.Lookup("F")
    	if err != nil {
    		panic(err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 13:18:51 UTC 2023
    - 804 bytes
    - Viewed (0)
  2. 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)
  3. staging/src/k8s.io/apiextensions-apiserver/main.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package main
    
    import (
    	"os"
    
    	"k8s.io/apiextensions-apiserver/pkg/cmd/server"
    	genericapiserver "k8s.io/apiserver/pkg/server"
    	"k8s.io/component-base/cli"
    )
    
    func main() {
    	ctx := genericapiserver.SetupSignalContext()
    	cmd := server.NewServerCommand(ctx, os.Stdout, os.Stderr)
    	code := cli.Run(cmd)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 888 bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/dependencyManagement/managingTransitiveDependencies-excludeForConfiguration/kotlin/src/main/java/Main.java

    import org.apache.commons.beanutils.PropertyUtils;
    
    public class Main {
        public static void main(String[] args) throws Exception {
            Object person = new Person();
            PropertyUtils.setSimpleProperty(person, "name", "Bart Simpson");
            PropertyUtils.setSimpleProperty(person, "age", 38);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 313 bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/dependencyManagement/managingTransitiveDependencies-excludeForDependency/groovy/src/main/java/Main.java

    import org.apache.commons.beanutils.PropertyUtils;
    
    public class Main {
        public static void main(String[] args) throws Exception {
            Object person = new Person();
            PropertyUtils.setSimpleProperty(person, "name", "Bart Simpson");
            PropertyUtils.setSimpleProperty(person, "age", 38);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 313 bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. platforms/documentation/docs/src/snippets/native-binaries/sourceset-variant/groovy/src/main/c/main.c

    #include "platform.h"
    #include "stdio.h"
    
    int main(int argc, char** argv) {
      printf("Attributes of '%s' platform\n", platform_name);
      printf("Is Posix like?        %s\n", is_posix_like()?"true":"false");
      printf("Max Path Length:      %d bytes\n", max_path_length());
      printf("Max memory supported: %llu Kbytes\n", max_memory());
      return 0;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 348 bytes
    - Viewed (0)
Back to top