- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 54 for Pkgs (0.33 sec)
-
src/internal/testenv/testenv.go
// as for the packages transitively imported by the package(s) in pkgs. // // pkgs may include any package pattern that is valid to pass to 'go list', // so it may also be a list of Go source files all in the same directory. func WriteImportcfg(t testing.TB, dstPath string, packageFiles map[string]string, pkgs ...string) { t.Helper() icfg := new(bytes.Buffer) icfg.WriteString("# import config\n")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 16:41:38 UTC 2024 - 15.7K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/hack/update-codegen.sh
if [[ "${UPDATE_API_KNOWN_VIOLATIONS:-}" == "true" ]]; then update_report="--update-report" fi fi kube::codegen::gen_openapi \ --extra-pkgs k8s.io/api/autoscaling/v1 `# needed for Scale type` \ --output-dir "${SCRIPT_ROOT}/pkg/generated/openapi" \ --output-pkg "${THIS_PKG}/pkg/generated/openapi" \ --report-filename "${report_filename:-"/dev/null"}" \
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:06:38 UTC 2024 - 1.9K bytes - Viewed (0) -
src/cmd/go/internal/test/test.go
pkgOpts := load.PackageOpts{ModResolveTests: true} pkgs = load.PackagesAndErrors(ctx, pkgOpts, pkgArgs) load.CheckPackageErrors(pkgs) if len(pkgs) == 0 { base.Fatalf("no packages to test") } if testFuzz != "" { if !platform.FuzzSupported(cfg.Goos, cfg.Goarch) { base.Fatalf("-fuzz flag is not supported on %s/%s", cfg.Goos, cfg.Goarch) } if len(pkgs) != 1 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 14:34:32 UTC 2024 - 71.9K bytes - Viewed (0) -
src/go/internal/gcimporter/ureader.go
// TODO(mdempsky): Consider using some non-nil pointer to indicate // the universe scope, so we don't need to keep re-reading it. if pkg := pr.pkgs[idx]; pkg != nil { return pkg } pkg := pr.newReader(pkgbits.RelocPkg, idx, pkgbits.SyncPkgDef).doPkg() pr.pkgs[idx] = pkg return pkg } func (r *reader) doPkg() *types.Package { path := r.String() switch path { case "": path = r.p.PkgPath()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 16.6K bytes - Viewed (0) -
src/cmd/compile/internal/types2/stdlib_test.go
// type-checks. func (c *stdlibChecker) getDirPackage(dir string) (*Package, error) { c.mu.Lock() fut, ok := c.pkgs[dir] if !ok { // First request for this package dir; type check. fut = &futurePackage{ done: make(chan struct{}), } c.pkgs[dir] = fut files, ok := c.dirFiles[dir] c.mu.Unlock() if !ok { fut.err = fmt.Errorf("no files for %s", dir) } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:18:33 UTC 2024 - 13.3K bytes - Viewed (0) -
src/go/types/stdlib_test.go
// type-checks. func (c *stdlibChecker) getDirPackage(dir string) (*Package, error) { c.mu.Lock() fut, ok := c.pkgs[dir] if !ok { // First request for this package dir; type check. fut = &futurePackage{ done: make(chan struct{}), } c.pkgs[dir] = fut files, ok := c.dirFiles[dir] c.mu.Unlock() if !ok { fut.err = fmt.Errorf("no files for %s", dir) } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 19 04:39:56 UTC 2023 - 13.7K bytes - Viewed (0) -
src/cmd/go/internal/modload/buildlist.go
// both retain the same versions of all packages in pkgs and satisfy the // graph-pruning invariants (if applicable). func tidyRoots(ctx context.Context, rs *Requirements, pkgs []*loadPkg) (*Requirements, error) { mainModule := MainModules.mustGetSingleMainModule() if rs.pruning == unpruned { return tidyUnprunedRoots(ctx, mainModule, rs, pkgs) } return tidyPrunedRoots(ctx, mainModule, rs, pkgs) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 16:04:44 UTC 2024 - 53.8K bytes - Viewed (0) -
src/go/build/deps_test.go
name := filepath.ToSlash(path[len(src):]) if name == "builtin" || name == "cmd" { return filepath.SkipDir } pkgs = append(pkgs, strings.TrimPrefix(name, "vendor/")) return nil } if err := filepath.WalkDir(src, walkFn); err != nil { return nil, err } return pkgs, nil } func TestDependencies(t *testing.T) { if !testenv.HasSrc() { // Tests run in a limited file system and we do not
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 16:41:13 UTC 2024 - 19.2K bytes - Viewed (0) -
src/cmd/cgo/internal/testshared/shared_test.go
// name of the shared library containing it. func TestShlibnameFiles(t *testing.T) { globalSkip(t) pkgs := append([]string{}, minpkgs...) pkgs = append(pkgs, "runtime/cgo") if runtime.GOARCH == "arm" { pkgs = append(pkgs, "math") } for _, pkg := range pkgs { shlibnamefile := filepath.Join(gorootInstallDir, pkg+".shlibname") contentsb, err := os.ReadFile(shlibnamefile) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Aug 26 01:54:41 UTC 2023 - 36.3K bytes - Viewed (0) -
src/go/parser/parser_test.go
} } func TestParseDir(t *testing.T) { path := "." pkgs, err := ParseDir(token.NewFileSet(), path, dirFilter, 0) if err != nil { t.Fatalf("ParseDir(%s): %v", path, err) } if n := len(pkgs); n != 1 { t.Errorf("got %d packages; want 1", n) } pkg := pkgs["parser"] if pkg == nil { t.Errorf(`package "parser" not found`) return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 31 20:26:14 UTC 2024 - 24.6K bytes - Viewed (0)