Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 74 for main2 (0.15 sec)

  1. src/cmd/cgo/out.go

    		for _, arg := range p.LdFlags {
    			fmt.Fprintf(fflg, "_CGO_LDFLAGS=%s\n", arg)
    		}
    		fflg.Close()
    	}
    
    	// Write C main file for using gcc to resolve imports.
    	fmt.Fprintf(fm, "#include <stddef.h>\n") // For size_t below.
    	fmt.Fprintf(fm, "int main() { return 0; }\n")
    	if *importRuntimeCgo {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:10 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest.h

    // main().  If you use gtest_main, you need to call this before main()
    // starts for it to take effect.  For example, you can define a global
    // variable like this:
    //
    //   testing::Environment* const foo_env =
    //       testing::AddGlobalTestEnvironment(new FooEnvironment);
    //
    // However, we strongly recommend you to write your own main() and
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 86.4K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/catalog/VersionCatalogExtensionIntegrationTest.groovy

            failure.assertHasCause("Could not get unknown property 'libs' for object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler")
        }
    
        def "buildSrc and main project have different libraries extensions"() {
            settingsFile << """
                dependencyResolutionManagement {
                    versionCatalogs {
                        libs {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 13:37:31 UTC 2024
    - 77.8K bytes
    - Viewed (0)
  4. src/runtime/asm_amd64.s

    TEXT _rt0_amd64(SB),NOSPLIT,$-8
    	MOVQ	0(SP), DI	// argc
    	LEAQ	8(SP), SI	// argv
    	JMP	runtime·rt0_go(SB)
    
    // main is common startup code for most amd64 systems when using
    // external linking. The C startup code will call the symbol "main"
    // passing argc and argv in the usual C ABI registers DI and SI.
    TEXT main(SB),NOSPLIT,$-8
    	JMP	runtime·rt0_go(SB)
    
    // _rt0_amd64_lib is common startup code for most amd64 systems when
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 20:38:24 UTC 2024
    - 60.4K bytes
    - Viewed (0)
  5. maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

            this.classWorld = classWorld;
            this.messageBuilderFactory = new JLineMessageBuilderFactory();
        }
    
        public static void main(String[] args) {
            int result = main(args, null);
    
            System.exit(result);
        }
    
        public static int main(String[] args, ClassWorld classWorld) {
            MavenCli cli = new MavenCli();
    
            MessageUtils.systemInstall();
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 23:31:59 UTC 2024
    - 72.6K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_7.adoc

    ```groovy
    sourceSets {
        main {
            groovy {
                // ...
            }
        }
    }
    ```
    
    However, the return type of the groovy block has changed to the extension type.
    This means that the following snippet no longer works in Gradle 7.1:
    
    ```groovy
     sourceSets {
         main {
             GroovySourceSet sourceSet = groovy {
                 // ...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 15:00:23 UTC 2024
    - 87.7K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ld/lib.go

    	}
    	f, err := bio.Open(lib.File)
    	if err != nil {
    		Exitf("cannot open file %s: %v", lib.File, err)
    	}
    	defer f.Close()
    	defer func() {
    		if pkg == "main" && !lib.Main {
    			Exitf("%s: not package main", lib.File)
    		}
    	}()
    
    	for i := 0; i < len(ARMAG); i++ {
    		if c, err := f.ReadByte(); err == nil && c == ARMAG[i] {
    			continue
    		}
    
    		/* load it as a regular file */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
  8. src/runtime/traceback.go

    	if name == "runtime.gopanic" {
    		print("panic")
    		return
    	}
    	a, b, c := funcNamePiecesForPrint(name)
    	print(a, b, c)
    }
    
    func printcreatedby(gp *g) {
    	// Show what created goroutine, except main goroutine (goid 1).
    	pc := gp.gopc
    	f := findfunc(pc)
    	if f.valid() && showframe(f.srcFunc(), gp, false, abi.FuncIDNormal) && gp.goid != 1 {
    		printcreatedby1(f, pc, gp.parentGoid)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformBuildOperationIntegrationTest.groovy

            """
    
            settingsFile << """
                include 'consumer'
            """
    
            // Can't define classes in buildscript block, so let's do it in buildSrc
            file("buildSrc/src/main/groovy/TargetColor.groovy") << """
                import ${TransformParameters.name}
                import ${Property.name}
                import ${Input.name}
    
                interface TargetColor extends TransformParameters {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 16:27:38 UTC 2024
    - 67.8K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/GradlePomModuleDescriptorParserProfileTest.groovy

            dep.scope == MavenScope.Compile
            hasDefaultDependencyArtifact(dep)
        }
    
        def "uses dependency management section from imported POM in active profile to define defaults for main POM body dependency"() {
            given:
            def imported = tmpDir.file("imported.xml") << """
    <project>
        <modelVersion>4.0.0</modelVersion>
        <groupId>different-group</groupId>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 49.8K bytes
    - Viewed (0)
Back to top