Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 311 for ximports (0.19 sec)

  1. src/cmd/go/internal/load/test.go

    			pmain.Internal.Imports = append(pmain.Internal.Imports, ptest)
    			pmain.Imports = append(pmain.Imports, ptest.ImportPath)
    			t.ImportTest = true
    		}
    		if pxtest != nil {
    			pmain.Internal.Imports = append(pmain.Internal.Imports, pxtest)
    			pmain.Imports = append(pmain.Imports, pxtest.ImportPath)
    			t.ImportXtest = true
    		}
    
    		// Sort and dedup pmain.Imports.
    		// Only matters for go list -test output.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 14:01:23 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/internal/facts/imports.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package facts
    
    import (
    	"go/types"
    
    	"golang.org/x/tools/internal/aliases"
    )
    
    // importMap computes the import map for a package by traversing the
    // entire exported API each of its imports.
    //
    // This is a workaround for the fact that we cannot access the map used
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. src/go/internal/gcimporter/iimport.go

    	interfaceType
    	typeParamType
    	instanceType
    	unionType
    )
    
    // iImportData imports a package from the serialized package data
    // and returns the number of bytes consumed and a reference to the package.
    // If the export data version is not recognized or the format is otherwise
    // compromised, an error is returned.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  4. 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)
  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-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)
  8. 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)
  9. hack/verify-import-boss.sh

    # See the License for the specific language governing permissions and
    # limitations under the License.
    
    # This script checks import restrictions. The script looks for a file called
    # `.import-restrictions` in each directory, then all imports of the package are
    # checked against each "rule" in the file.
    # Usage: `hack/verify-import-boss.sh`.
    
    set -o errexit
    set -o nounset
    set -o pipefail
    
    KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:36 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  10. common/config/.golangci-format.yml

    linters:
      disable-all: true
      enable:
      - goimports
      - gofumpt
      - gci
      fast: false
    linters-settings:
      gci:
        sections:
          - standard # Captures all standard packages if they do not match another section.
          - default # Contains all imports that could not be matched to another section type.
          - prefix(istio.io/) # Groups all imports with the specified Prefix.
      goimports:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 05 03:02:37 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top