- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 434 for imposes (0.15 sec)
-
src/cmd/fix/fix.go
gen.Specs[j-1].(*ast.ImportSpec).EndPos = impspec.End() } break } } // Delete it from f.Imports. for i, imp := range f.Imports { if imp == oldImport { copy(f.Imports[i:], f.Imports[i+1:]) f.Imports = f.Imports[:len(f.Imports)-1] break } } return } // rewriteImport rewrites any import of path oldPath to path newPath.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 14.6K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/ProcessInTaskIntegrationTest.groovy
import ${DefaultTask.name}; import ${ExecOperations.name}; import ${Inject.name}; import ${TaskAction.name}; ${snippets.imports} public abstract class SneakyTask extends DefaultTask { @Inject protected abstract ExecOperations getExecOperations(); public SneakyTask() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 12.5K bytes - Viewed (0) -
src/go/internal/gcimporter/gcimporter_test.go
} // import go/internal/gcimporter which imports go/types partially fset := token.NewFileSet() imports := make(map[string]*types.Package) _, err := Import(fset, imports, "go/internal/gcimporter", ".", nil) if err != nil { t.Fatal(err) } // look for go/types package var goTypesPkg *types.Package for path, pkg := range imports { if path == "go/types" { goTypesPkg = pkg break
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 16:22:59 UTC 2024 - 21.9K bytes - Viewed (0) -
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) -
testing/internal-performance-testing/src/main/groovy/org/gradle/performance/generator/FileContentGenerator.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 18.6K bytes - Viewed (0) -
src/cmd/go/internal/vcs/vcs_test.go
} } } func TestMatchGoImport(t *testing.T) { tests := []struct { imports []metaImport path string mi metaImport err error }{ { imports: []metaImport{ {Prefix: "example.com/user/foo", VCS: "git", RepoRoot: "https://example.com/repo/target"}, }, path: "example.com/user/foo",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 03 15:33:59 UTC 2022 - 17K bytes - Viewed (0) -
src/cmd/go/internal/modindex/read.go
if p.Doc == "" && !isTest && !isXTest { if synopsis := tf.synopsis(); synopsis != "" { p.Doc = synopsis } } // Record Imports and information about cgo. isCgo := false imports := tf.imports() for _, imp := range imports { if imp.path == "C" { if isTest { badGoFile(name, fmt.Errorf("use of cgo in test %s not supported", name)) continue } isCgo = true
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 14:34:32 UTC 2024 - 29.7K bytes - Viewed (0) -
src/go/ast/filter.go
// - 2 imports exist but only one has a comment // - 2 imports exist and they both have (possibly // different) comments imports = append(imports, imp) seen[path] = true } } } } else { // Iterate over filenames for deterministic order. for _, filename := range filenames { f := pkg.Files[filename] imports = append(imports, f.Imports...) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 13.3K bytes - Viewed (0) -
src/cmd/compile/internal/types2/resolver.go
// into their respective scopes. It also performs imports and associates // methods with receiver base type names. func (check *Checker) collectObjects() { pkg := check.pkg // pkgImports is the set of packages already imported by any package file seen // so far. Used to avoid duplicate entries in pkg.imports. Allocate and populate // it (pkg.imports may not be empty if we are checking test files incrementally).
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 18 14:10:44 UTC 2024 - 26.3K bytes - Viewed (0) -
src/go/types/resolver.go
// into their respective scopes. It also performs imports and associates // methods with receiver base type names. func (check *Checker) collectObjects() { pkg := check.pkg // pkgImports is the set of packages already imported by any package file seen // so far. Used to avoid duplicate entries in pkg.imports. Allocate and populate // it (pkg.imports may not be empty if we are checking test files incrementally).
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 16:22:59 UTC 2024 - 26.1K bytes - Viewed (0)