Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 74 for main2 (0.04 sec)

  1. src/cmd/go/go_test.go

    	tg.tempFile("src/main1/main.go", "package main\nimport _ \"p2\"\nfunc main() {}\n")
    
    	tg.run("list", "-f={{.Target}}", "p1")
    	p1 := strings.TrimSpace(tg.getStdout())
    	tg.run("list", "-f={{.Target}}", "p2")
    	p2 := strings.TrimSpace(tg.getStdout())
    	tg.run("list", "-f={{.Target}}", "main1")
    	main1 := strings.TrimSpace(tg.getStdout())
    
    	tg.run("install", "main1")
    
    	tg.mustExist(main1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
  2. src/go/types/api_test.go

    		"A{}.B":    {"field (main.A) B *main.B", ".[0]"},
    		"new(A).B": {"field (*main.A) B *main.B", "->[0]"},
    		"A{}.C":    {"field (main.A) C main.C", ".[1]"},
    		"new(A).C": {"field (*main.A) C main.C", "->[1]"},
    		"A{}.b":    {"field (main.A) b int", "->[0 0]"},
    		"new(A).b": {"field (*main.A) b int", "->[0 0]"},
    		"A{}.c":    {"field (main.A) c int", ".[1 0]"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/userguide/native/native_software.adoc

    .build.gradle
    ----
    include::{snippetsPath}/native-binaries/custom-layout/groovy/build.gradle[tag=cpp-sources]
    ----
    
    For a library named 'main', header files in `src/main/headers` are considered the "public" or "exported" headers. Header files that should not be exported should be placed inside the `src/main/cpp` directory (though be aware that such header files should always be referenced in a manner relative to the file including them).
    
    [[sec:c_sources]]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 24 23:14:04 UTC 2024
    - 54.6K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_8.adoc

    With the `java-library` plugin applied (or any other plugin that applies the `java` plugin), calling `usingSourceSet` with the `main` source set will throw an exception.
    This is because the `java` plugin already configures a main feature.
    Only if the `java` plugin is not applied will the `main` source set be permitted when calling `usingSourceSet`.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 17:01:07 UTC 2024
    - 90.7K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/jvm/java_testing.adoc

    - they can see the _main_ source set classes
    - _test_ sources can see the _test fixtures_ classes
    
    For example for this main class:
    
    [source,java,indent=0]
    .src/main/java/com/acme/Person.java
    ----
    include::{snippetsPath}/java/fixtures/groovy/lib/src/main/java/com/acme/Person.java[tags=sample]
    ----
    
    A test fixture can be written in `src/testFixtures/java`:
    
    [source,java,indent=0]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 29 16:24:12 UTC 2024
    - 53.1K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/services/BuildServiceIntegrationTest.groovy

                    }
                }
    
                dependencies {
                    implementation 'org.apache.commons:commons-lang3:3.10'
                }
            """
            file("src/main/java").createDir()
            file("src/main/java/Foo.java").createFile().text = """class Foo {}"""
            enableStableConfigurationCache()
            // should not be expected
            executer.expectDocumentedDeprecationWarning(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 19:15:46 UTC 2024
    - 61K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/api/kotlin_dsl.adoc

    <2> Uses an accessor to configure the `sourceSets` project extension
    <3> Uses an accessor to configure the `main` source set
    <4> Uses an accessor to configure the `java` source for the `main` source set
    <5> Uses an accessor to configure the `test` task
    
    [TIP]
    ====
    Your IDE knows about the type-safe accessors, so it will include them in its suggestions.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 20:16:10 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/css/manual.css

    }
    
    /* Layout */
    .main-content>.appendix,
    .main-content>.book,
    .main-content>.chapter,
    .main-content>.footer {
    	background-color: var(--white-color);
    	border-radius: 5px;
    	max-width: 45rem;
    	padding: 1.5rem;
    }
    
    @media screen and (max-width: 45em) {
    	.footer {
    		max-width: 100%;
    	}
    
    	.main-content>.appendix,
    	.main-content>.book,
    	.main-content>.chapter {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 25 05:15:02 UTC 2024
    - 72.6K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/optimizing-performance/incremental_build.adoc

    ====
    [source,java]
    .buildSrc/src/main/java/org/example/ProcessTemplates.java
    ----
    include::{snippetsPath}/tasks/incrementalBuild-customTaskClass/groovy/buildSrc/src/main/java/org/example/ProcessTemplates.java[tag=custom-task-class]
    ----
    
    [source,java]
    .buildSrc/src/main/java/org/example/TemplateData.java
    ----
    include::{snippetsPath}/tasks/incrementalBuild-customTaskClass/groovy/buildSrc/src/main/java/org/example/TemplateData.java[]
    ----
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 24 23:14:04 UTC 2024
    - 63.9K bytes
    - Viewed (0)
  10. src/testing/testing.go

    	}
    	c.numWaiting--
    	c.mu.Unlock()
    	c.startParallel <- true // Pick a waiting test to be run.
    }
    
    // No one should be using func Main anymore.
    // See the doc comment on func Main and use MainStart instead.
    var errMain = errors.New("testing: unexpected use of func Main")
    
    type matchStringOnly func(pat, str string) (bool, error)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
Back to top