Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 666 for ximports (0.13 sec)

  1. test/import6.go

    import "\x00"     // ERROR "import path"
    import `\x00`     // ERROR "import path"
    import "\x7f"     // ERROR "import path"
    import `\x7f`     // ERROR "import path"
    import "a!"       // ERROR "import path"
    import `a!`       // ERROR "import path"
    import "a b"      // ERROR "import path"
    import `a b`      // ERROR "import path"
    import "a\\b"     // ERROR "import path"
    import `a\\b`     // ERROR "import path"
    import "\"`a`\""  // ERROR "import path"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 11 02:26:58 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  2. test/import5.go

    // Verify that invalid imports are rejected by the compiler.
    // Does not compile.
    
    package main
    
    // Correct import paths.
    import _ "fmt"
    import _ `time`
    import _ "m\x61th"
    import _ "go/parser"
    
    // Correct import paths, but the packages don't exist.
    // Don't test.
    //import "a.b"
    //import "greek/αβ"
    
    // Import paths must be strings.
    import 42    // ERROR "import path must be a string"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 24 20:07:15 UTC 2017
    - 722 bytes
    - Viewed (0)
  3. hack/verify-imports.sh

    # listed in `staging/publishing/import-restrictions.yaml`.
    # Usage: `hack/verify-imports.sh`.
    
    set -o errexit
    set -o nounset
    set -o pipefail
    
    KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
    source "${KUBE_ROOT}/hack/lib/init.sh"
    
    kube::golang::setup_env
    
    GOPROXY=off go install ./cmd/importverifier
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:32 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  4. 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)
  5. hack/update-vanity-imports.sh

    # See the License for the specific language governing permissions and
    # limitations under the License.
    
    # This script fixes the vanity imports programmatically.
    # Usage: `hack/update-vanity-imports.sh`.
    
    set -o errexit
    set -o nounset
    set -o pipefail
    
    KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
    source "${KUBE_ROOT}/hack/lib/init.sh"
    
    kube::golang::verify_go_version
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 02 22:40:10 UTC 2024
    - 1K bytes
    - Viewed (0)
  6. src/go/ast/import.go

    package ast
    
    import (
    	"cmp"
    	"go/token"
    	"slices"
    	"strconv"
    )
    
    // SortImports sorts runs of consecutive import lines in import blocks in f.
    // It also removes duplicate imports when it is possible to do so without data loss.
    func SortImports(fset *token.FileSet, f *File) {
    	for _, d := range f.Decls {
    		d, ok := d.(*GenDecl)
    		if !ok || d.Tok != token.IMPORT {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. hack/verify-prometheus-imports.sh

    # github.com/prometheus/*
    
    # NOTE: this is not the same as verify-imports which can only verify
    # that within a particular package the imports made are allowed.
    #
    # This is also not the same thing as verify-import-boss, which is pretty
    # powerful for specifying restricted imports but does not scale to checking
    # the entire source tree well and is only enabled for specific packages.
    #
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 09 04:03:51 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  8. 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)
  9. hack/verify-import-aliases.sh

    # See the License for the specific language governing permissions and
    # limitations under the License.
    
    # This script verifies that all the imports have our preferred alias(es). The
    # preferred aliases for imports are listed in `hack/.import-aliases`.
    # Usage: `hack/verify-import-aliases.sh`.
    
    set -o errexit
    set -o nounset
    set -o pipefail
    
    KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
    source "${KUBE_ROOT}/hack/lib/init.sh"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:56 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  10. hack/update-import-aliases.sh

    # See the License for the specific language governing permissions and
    # limitations under the License.
    
    # This script fixes imports programmatically according to
    # all the imports that we have our preferred alias(es).
    # Usage: `hack/update-import-aliases.sh`.
    
    set -o errexit
    set -o nounset
    set -o pipefail
    
    KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
    source "${KUBE_ROOT}/hack/lib/init.sh"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:56 UTC 2024
    - 1.1K bytes
    - Viewed (0)
Back to top