Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 1,201 for imposes (0.18 sec)

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

    # Update manually. Listing modules should produce an error.
    cp go.mod.orig go.mod
    go mod edit -require=example.com/badchain/a@v1.1.0
    ! go list -m all
    cmp stderr list-expected
    
    # Try listing a package that imports a package
    # in a module without a requirement.
    go mod edit -droprequire example.com/badchain/a
    ! go list -mod=mod m/use
    cmp stderr list-missing-expected
    
    ! go list -mod=mod -test m/testuse
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 17 13:05:03 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  2. src/crypto/x509/x509_test_import.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build ignore
    
    // This file is run by the x509 tests to ensure that a program with minimal
    // imports can sign certificates without errors resulting from missing hash
    // functions.
    package main
    
    import (
    	"crypto/rand"
    	"crypto/x509"
    	"crypto/x509/pkix"
    	"encoding/pem"
    	"math/big"
    	"strings"
    	"time"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/mod_tidy_compat_incompatible.txt

    # 'go mod tidy' should by default diagnose the difference in dependencies as an
    # error, with useful suggestions about how to resolve it.
    
    cp go.mod go.mod.orig
    ! go mod tidy
    stderr '^go: example\.com/m imports\n\texample\.net/lazy imports\n\texample\.com/retract/incompatible loaded from example\.com/retract/incompatible@v1\.0\.0,\n\tbut go 1\.16 would select v2\.0\.0\+incompatible\n\n'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/mod_lazy_test_horizon.txt

    #  \
    #   x.1 ------------ c.1
    
    # Control case: in Go 1.15, the version of c imported by 'go test x' is the
    # version required by module b, even though b_test is not relevant to the main
    # module. (The main module imports a, and a_test imports b, but all of the
    # packages and tests in the main module can be built without b.)
    
    go list -m c
    stdout '^c v0.2.0 '
    
    [!short] go test -v x
    [!short] stdout ' c v0.2.0$'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 30 18:05:18 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  5. cmd/kubeadm/.import-restrictions

    rules:
      # prevent any k8s.io/kubernetes imports outside of this package
      - selectorRegexp: k8s[.]io/kubernetes
        allowedPrefixes:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jan 07 15:46:02 UTC 2023
    - 172 bytes
    - Viewed (0)
  6. pkg/printers/internalversion/.import-restrictions

    rules:
      #  Allow imports of k8s.io/kubernetes/pkg/{api|apis}
      - selectorRegexp: "k8s[.]io/kubernetes/pkg/(api$|apis/)"
        allowedPrefixes:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jan 28 09:51:45 UTC 2020
    - 153 bytes
    - Viewed (0)
  7. subprojects/core-api/src/main/java/org/gradle/api/AntBuilder.java

         */
        public abstract Map<String, Object> getReferences();
    
        /**
         * Imports an Ant build into the associated Gradle project.
         *
         * @param antBuildFile The build file. This is resolved as per {@link Project#file(Object)}.
         */
        public abstract void importBuild(Object antBuildFile);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 16 22:05:15 UTC 2022
    - 7K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/vendor_import.txt

    # Imports
    env GO111MODULE=off
    
    # Pass -e to permit errors (e.g. bad.go, invalid.go)
    go list -f  '{{.ImportPath}} {{.Imports}}' -e 'vend/...' 'vend/vendor/...' 'vend/x/vendor/...'
    cmp stdout want_vendor_imports.txt
    
    -- want_vendor_imports.txt --
    vend [vend/vendor/p r]
    vend/dir1 []
    vend/hello [fmt vend/vendor/strings]
    vend/subdir [vend/vendor/p r]
    vend/x [vend/x/vendor/p vend/vendor/q vend/x/vendor/r vend/dir1 vend/vendor/vend/dir1/dir2]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 22 21:14:01 UTC 2023
    - 2K bytes
    - Viewed (0)
  9. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/action/AnnotationGeneratorWorkAction.kt

            lines().joinToString(separator = "\n        |")
    
        private
        fun groovyImports(): String {
            val imports: List<String> =
                generateImportPackages()
                    .map { "$it.*" } + "" +
                    AnnotationGenerator.ADDITIONAL_DEFAULT_IMPORTS
            return imports.joinToString(separator = "\n") {
                if (it.isBlank()) "" else "import $it"
            }
        }
    
        private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 22 10:58:31 UTC 2022
    - 6.9K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/mod_lazy_import_allmod.txt

    stdout '^a v0.1.0 '
    stdout '^b v0.1.0 '
    stdout '^c v0.1.0 '
    
    -- m.go --
    package main
    
    import (
    	"fmt"
    
    	_ "a"  // a_test imports b/x.
    )
    
    func main() {
    }
    -- m.go.new --
    package main
    
    import (
    	"fmt"
    
    	_ "a"  // a_test imports b/x.
    	"b/y"  // This is a new import, not yet reflected in the go.mod file.
    )
    
    func main() {
    	fmt.Println(b.CVersion())
    }
    -- go.mod --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 17 13:54:10 UTC 2021
    - 3.1K bytes
    - Viewed (0)
Back to top