Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 830 for imposes (0.2 sec)

  1. src/cmd/go/testdata/script/mod_tidy_compat_added.txt

    
    # For this module, Go 1.17 produces an error for one module, and Go 1.16
    # produces a different error for a different module.
    
    cp go.mod go.mod.orig
    
    ! go mod tidy
    
    stderr '^go: example\.com/m imports\n\texample\.net/added: module example\.net/added@latest found \(v0\.3\.0, replaced by \./a1\), but does not contain package example\.net/added$'
    
    cmp go.mod go.mod.orig
    
    # Make sure that -diff behaves the same as tidy.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. cmd/import-boss/README.md

    packages" which are more sophisticated than Go's `internal` convention.
    
    If inverse rules are found, then all known imports of the package are checked
    against each such rule, in the same fashion as regular rules.  Note that this
    can only handle known imports, which is defined as any package which is also
    being considered by this `import-boss` run.  For most repositories, `./...` will
    suffice.
    
    Example:
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:36 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/configuration/DefaultImportsReader.java

    import java.net.URL;
    import java.util.LinkedList;
    import java.util.List;
    import java.util.Map;
    
    public class DefaultImportsReader implements ImportsReader {
    
        public static final String RESOURCE = "/default-imports.txt";
        private static final String MAPPING_RESOURCE = "/api-mapping.txt";
        private final String[] importPackages;
        private final Map<String, List<String>> simpleNameToFQCN;
    
        public DefaultImportsReader() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  4. platforms/jvm/platform-jvm/src/main/java/org/gradle/api/plugins/jvm/internal/JvmPluginServices.java

    import org.gradle.internal.HasInternalProtocol;
    
    /**
     * This class exposes a number of internal utilities for use by Gradle JVM plugins.
     */
    @NonNullApi
    @HasInternalProtocol
    @SuppressWarnings({"UnusedReturnValue", "deprecation"})
    public interface JvmPluginServices extends JvmEcosystemUtilities {
    
        /**
         * Registers a variant on {@code configuration} which exposes the resources defined by {@code sourceSet}.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 19:52:38 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/analysis-api-fir-generator/src/org/jetbrains/kotlin/analysis/api/fir/generator/rendererrs/AbstractDiagnosticsDataClassRenderer.kt

        }
    
        private fun SmartPrinter.collectAndPrintImports(diagnosticList: HLDiagnosticList) {
            val imports = collectImports(diagnosticList)
            printImports(imports)
        }
    
        protected fun SmartPrinter.printHeader(packageName: String, diagnosticList: HLDiagnosticList) {
            printCopyright()
            println("package $packageName")
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Oct 18 18:42:40 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  6. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/XCTestSourceFileElement.java

                    testExecutionResult.assertTestPassed(testCase.getName());
                }
            }
        }
    
        public Set<String> getImports() {
            return imports;
        }
    
        public XCTestSourceFileElement withImport(String importName) {
            imports.add(importName);
            return this;
        }
    
        public Set<String> getTestableImports() {
            return testableImports;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ld/inittask.go

    // other, mirroring the import dependencies. So if package p
    // imports package q, then there will be a dependency p -> q.
    // We can't initialize package p until after package q has
    // already been initialized.
    //
    // Package dependencies are encoded with relocations. If package
    // p imports package q, then package p's inittask record will
    // have a R_INITORDER relocation pointing to package q's inittask
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 30 20:09:45 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/support/ImplicitImportsTest.kt

    import org.hamcrest.CoreMatchers.containsString
    import org.hamcrest.MatcherAssert.assertThat
    import org.junit.Test
    
    
    class ImplicitImportsTest : AbstractKotlinIntegrationTest() {
    
        @Test
        fun `implicit imports are fully qualified to allow use of the preferred type amongst those with same simple name in different Gradle API packages`() {
    
            // given:
            withBuildScript(
                """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Sep 24 17:45:42 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/DynamicGroovyPluginMixin.groovy

     */
    trait DynamicGroovyPluginMixin {
        void withPluginCode(String imports, String codeUnderTest, boolean enableIndy) {
            file("buildSrc/src/main/groovy/SomePlugin.groovy") << """
                import ${Plugin.name}
                import ${Project.name}
    
                $imports
    
                class SomePlugin implements Plugin<Project> {
                    void apply(Project project) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. src/cmd/go/internal/modindex/read.go

    		if p.Doc == "" && !isTest && !isXTest {
    			if synopsis := tf.synopsis(); synopsis != "" {
    				p.Doc = synopsis
    			}
    		}
    
    		// Record Imports and information about cgo.
    		isCgo := false
    		imports := tf.imports()
    		for _, imp := range imports {
    			if imp.path == "C" {
    				if isTest {
    					badGoFile(name, fmt.Errorf("use of cgo in test %s not supported", name))
    					continue
    				}
    				isCgo = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 29.7K bytes
    - Viewed (0)
Back to top