Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 321 for importPos (0.46 sec)

  1. src/go/build/deps_test.go

    			continue
    		}
    		if bytes.Contains(info.header, buildIgnore) {
    			continue
    		}
    		for _, imp := range info.imports {
    			path := imp.path
    			if !haveImport[path] {
    				haveImport[path] = true
    				imports = append(imports, path)
    			}
    		}
    	}
    	slices.Sort(imports)
    	return imports, nil
    }
    
    // depsPolicy returns a map m such that m[p][d] == true when p can import d.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 16:41:13 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  2. 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]}")/..
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:56 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  3. common/config/.golangci-format.yml

    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:
        # put imports beginning with prefix after 3rd-party packages;
        # it's a comma-separated list of prefixes
        local-prefixes: istio.io/
    issues:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 05 03:02:37 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. 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)
  5. src/cmd/compile/internal/types2/api_test.go

    		if pkg == nil {
    			t.Errorf("for %s importer, type-checking failed to return a package", compiler)
    			continue
    		}
    
    		imports := pkg.Imports()
    		if len(imports) != 1 {
    			t.Errorf("for %s importer, got %d imports, want 1", compiler, len(imports))
    			continue
    		}
    		imp := imports[0]
    		if imp.Name() != "foo" {
    			t.Errorf(`for %s importer, got %q, want "foo"`, compiler, imp.Name())
    			continue
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  6. 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)
  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. analysis/analysis-api-fir/tests-gen/org/jetbrains/kotlin/analysis/api/fir/test/cases/generated/cases/references/FirIdeNormalAnalysisScriptSourceModuleReferenceImportAliasTestGenerated.java

    /** This class is generated by {@link org.jetbrains.kotlin.generators.tests.analysis.api.GenerateAnalysisApiTestsKt}. DO NOT MODIFY MANUALLY */
    @SuppressWarnings("all")
    @TestMetadata("analysis/analysis-api/testData/imports/importAliases")
    @TestDataPath("$PROJECT_ROOT")
    public class FirIdeNormalAnalysisScriptSourceModuleReferenceImportAliasTestGenerated extends AbstractReferenceImportAliasTest {
      @NotNull
      @Override
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Feb 27 20:30:06 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/mod_tidy_compat_implicit.txt

    # 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 tested by\n\texample\.net/lazy.test 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)
  10. cmd/preferredimports/preferredimports.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    // verify that all the imports have our preferred alias(es).
    package main
    
    import (
    	"bytes"
    	"encoding/json"
    	"flag"
    	"fmt"
    	"go/ast"
    	"go/build"
    	"go/format"
    	"go/parser"
    	"go/token"
    	"log"
    	"os"
    	"path/filepath"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:44 UTC 2024
    - 7.1K bytes
    - Viewed (0)
Back to top