Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 1,078 for imposes (0.14 sec)

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

    # In GOPATH mode, module legacy support does path rewriting very similar to vendoring.
    
    env GO111MODULE=off
    
    go list -f '{{range .Imports}}{{.}}{{"\n"}}{{end}}' old/p1
    stdout ^new/p1$
    
    go list -f '{{range .Imports}}{{.}}{{"\n"}}{{end}}' new/p1
    stdout ^new/p2$           # not new/v2/p2
    ! stdout ^new/v2
    stdout ^new/sub/x/v1/y$   # not new/sub/v2/x/v1/y
    ! stdout ^new/sub/v2
    stdout ^new/sub/inner/x # not new/sub/v2/inner/x
    
    go build old/p1 new/p1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 16 16:15:13 UTC 2022
    - 1K 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. src/cmd/go/testdata/script/run_issue51125.txt

    # Regression test for https://go.dev/issue/51125:
    # Relative import paths (a holdover from GOPATH) were accidentally allowed in module mode.
    
    cd $WORK
    
    # Relative imports should not be allowed with a go.mod file.
    
    ! go run driver.go
    stderr '^driver.go:3:8: "./mypkg" is relative, but relative import paths are not supported in module mode$'
    
    go list -e -f '{{with .Error}}{{.}}{{end}}' -deps driver.go
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 16 19:10:58 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  10. test/import6.go

    // errorcheck
    
    // Copyright 2017 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.
    
    // Verify that invalid imports are rejected by the compiler.
    // Does not compile.
    
    package main
    
    // Each of these pairs tests both `` vs "" strings
    // and also use of invalid characters spelled out as
    // escape sequences and written directly.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 11 02:26:58 UTC 2022
    - 1.4K bytes
    - Viewed (0)
Back to top