Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 365 for imposes (0.13 sec)

  1. src/cmd/vendor/golang.org/x/tools/internal/facts/facts.go

    	"sync"
    
    	"golang.org/x/tools/go/analysis"
    	"golang.org/x/tools/go/types/objectpath"
    )
    
    const debug = false
    
    // A Set is a set of analysis.Facts.
    //
    // Decode creates a Set of facts by reading from the imports of a given
    // package, and Encode writes out the set. Between these operation,
    // the Import and Export methods will query and update the set.
    //
    // All of Set's methods except String are safe to call concurrently.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  2. src/go/doc/example.go

    		}
    	}
    
    	// Use unresolved identifiers to determine the imports used by this
    	// example. The heuristic assumes package names match base import
    	// paths for imports w/o renames (should be good enough most of the time).
    	var namedImports []ast.Spec
    	var blankImports []ast.Spec // _ imports
    
    	// To preserve the blank lines between groups of imports, find the
    	// start position of each group, and assign that position to all
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  3. src/go/build/read.go

    				info.parseErr = scanner.Error{Pos: info.fset.Position(spec.Pos()), Msg: "invalid import path: " + path}
    				info.imports = nil
    				return nil
    			}
    			if path == "embed" {
    				hasEmbed = true
    			}
    
    			doc := spec.Doc
    			if doc == nil && len(d.Specs) == 1 {
    				doc = d.Doc
    			}
    			info.imports = append(info.imports, fileImport{path, spec.Pos(), doc})
    		}
    	}
    
    	// Extract directives.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  4. src/go/internal/gcimporter/ureader.go

    // unified IR export data decoder.
    func readUnifiedPackage(fset *token.FileSet, ctxt *types.Context, imports map[string]*types.Package, input pkgbits.PkgDecoder) *types.Package {
    	pr := pkgReader{
    		PkgDecoder: input,
    
    		fake: fakeFileSet{
    			fset:  fset,
    			files: make(map[string]*fileInfo),
    		},
    
    		ctxt:    ctxt,
    		imports: imports,
    
    		posBases: make([]string, input.NumElems(pkgbits.RelocPosBase)),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  5. src/cmd/go/internal/vcs/vcs.go

    		}
    		if len(imports) == 0 {
    			err = fmt.Errorf("fetching %s: no go-import meta tag found in %s", importPrefix, resp.URL)
    		}
    		return setCache(fetchResult{url: url, imports: imports, err: err})
    	})
    	res := resi.(fetchResult)
    	return res.url, res.imports, res.err
    }
    
    type fetchResult struct {
    	url     *urlpkg.URL
    	imports []metaImport
    	err     error
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:30:18 UTC 2024
    - 46.2K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/tests-gen/org/jetbrains/kotlin/analysis/api/fir/test/cases/generated/cases/components/compilerFacility/FirIdeNormalAnalysisSourceModuleCompilerFacilityTestGenerated.java

        runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/dependencyBetweenBinaryLibraries.kt");
      }
    
      @Test
      @TestMetadata("imports.kt")
      public void testImports() {
        runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/imports.kt");
      }
    
      @Test
      @TestMetadata("internalUsage.kt")
      public void testInternalUsage() {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Apr 16 19:18:28 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  7. src/cmd/go/internal/modcmd/vendor.go

    		f, err := fsys.Open(filepath.Join(dir, info.Name()))
    		if err != nil {
    			base.Fatal(err)
    		}
    		defer f.Close()
    
    		content, err := imports.ReadImports(f, false, nil)
    		if err == nil && !imports.ShouldBuild(content, imports.AnyTags()) {
    			// The file is explicitly tagged "ignore", so it can't affect the build.
    			// Leave it out.
    			return false
    		}
    		return true
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 14 14:19:59 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/tests/tests.go

    	var ret []types.Object
    	// Search through the imports to see if any of them define name.
    	// It's hard to tell in general which package is being tested, so
    	// for the purposes of the analysis, allow the object to appear
    	// in any of the imports. This guarantees there are no false positives
    	// because the example needs to use the object so it must be defined
    	// in the package or one if its imports. On the other hand, false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/cgocall/cgocall.go

    		}
    		found := false
    		for _, spec := range f.Imports {
    			if spec.Path.Value == `"C"` {
    				found = true
    				break
    			}
    		}
    		if !found {
    			continue // not a cgo file
    		}
    
    		// Record the original import map.
    		for _, spec := range raw.Imports {
    			path, _ := strconv.Unquote(spec.Path.Value)
    			importMap[path] = imported(info, spec)
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  10. platforms/core-configuration/declarative-dsl-provider/src/integTest/groovy/org/gradle/internal/declarativedsl/settings/SoftwareTypeDeclarationIntegrationTest.groovy

            failure.assertHasCause("Type 'org.gradle.test.SoftwareTypeImplPlugin' is registered as a software type plugin, but it exposes multiple software types.")
        }
    
        def 'sensible error when a software type plugin exposes a private software type'() {
            given:
            withSoftwareTypePluginThatExposesPrivateSoftwareType().prepareToExecute()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 19 16:59:01 UTC 2024
    - 11K bytes
    - Viewed (0)
Back to top