Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for pkgdep (0.18 sec)

  1. src/cmd/pack/pack.go

    			goto close
    		}
    
    		for _, e := range aro.Entries {
    			if e.Type != archive.EntryPkgDef {
    				continue
    			}
    			if verbose {
    				fmt.Printf("__.PKGDEF # %s\n", file)
    			}
    			ar.a.AddEntry(archive.EntryPkgDef, "__.PKGDEF", 0, 0, 0, 0644, e.Size, io.NewSectionReader(f, e.Offset, e.Size))
    			done = true
    		}
    	close:
    		f.Close()
    		if done {
    			break
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  2. src/go/internal/gcimporter/gcimporter.go

    // in prior Go releases) for the package located in pkgDir.
    //
    // (We use the package's directory instead of its import path
    // mainly to simplify handling of the packages in src/vendor
    // and cmd/vendor.)
    func lookupGorootExport(pkgDir string) (string, error) {
    	f, ok := exportMap.Load(pkgDir)
    	if !ok {
    		var (
    			listOnce   sync.Once
    			exportPath string
    			err        error
    		)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. src/internal/coverage/rtcov/rtcov.go

    		CounterMode:        cmode,
    		CounterGranularity: cgran,
    	})
    	if pkgid != -1 {
    		if Meta.PkgMap == nil {
    			Meta.PkgMap = make(map[int]int)
    		}
    		if _, ok := Meta.PkgMap[pkgid]; ok {
    			return 0
    		}
    		// Record the real slot (position on meta-list) for this
    		// package; we'll use the map to fix things up later on.
    		Meta.PkgMap[pkgid] = slot
    	}
    
    	// ID zero is reserved as invalid.
    	return uint32(slot + 1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:57:47 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. src/cmd/go/internal/modindex/read.go

    // located at filesystem path pkgdir.
    func dirHash(modroot, pkgdir string) (cache.ActionID, error) {
    	h := cache.NewHash("moduleIndex")
    	fmt.Fprintf(h, "modroot %s\n", modroot)
    	fmt.Fprintf(h, "package %s %s %v\n", runtime.Version(), indexVersion, pkgdir)
    	entries, err := fsys.ReadDir(pkgdir)
    	if err != nil {
    		// pkgdir might not be a directory. give up on hashing.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  5. src/internal/coverage/cfile/emit.go

    		return fmt.Errorf("error: meta-data not available (binary not built with -cover?)")
    	}
    
    	// Ask the runtime for the list of coverage counter symbols.
    	pm := rtcov.Meta.PkgMap
    	s := &emitState{
    		counterlist: cl,
    		pkgmap:      pm,
    		outdir:      outdir,
    		debug:       os.Getenv("GOCOVERDEBUG") != "",
    	}
    
    	// Open output file.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:57:47 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  6. src/cmd/go/internal/work/action.go

    			// on the command line?
    			pkgDir := a1.Deps[0].Package.Internal.Build.PkgTargetRoot
    			for _, a2 := range a1.Deps {
    				if dir := a2.Package.Internal.Build.PkgTargetRoot; dir != pkgDir {
    					base.Fatalf("installing shared library: cannot use packages %s and %s from different roots %s and %s",
    						a1.Deps[0].Package.ImportPath,
    						a2.Package.ImportPath,
    						pkgDir,
    						dir)
    				}
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:39:17 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  7. src/cmd/go/internal/modindex/scan.go

    // encoded representation. It returns ErrNotIndexed if the package can't
    // be indexed.
    func indexPackage(modroot, pkgdir string) []byte {
    	fsys.Trace("indexPackage", pkgdir)
    	p := importRaw(modroot, relPath(pkgdir, modroot))
    	return encodePackageBytes(p)
    }
    
    // rawPackage holds the information from each package that's needed to
    // fill a build.Package once the context is available.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  8. src/internal/coverage/cfile/apis.go

    		return fmt.Errorf("program not built with -cover")
    	}
    	if !finalHashComputed {
    		return fmt.Errorf("meta-data not written yet, unable to write counter data")
    	}
    
    	pm := rtcov.Meta.PkgMap
    	s := &emitState{
    		counterlist: cl,
    		pkgmap:      pm,
    	}
    	return s.emitCounterDataToWriter(w)
    }
    
    // ClearCounters implements [runtime/coverage.ClearCounters].
    func ClearCounters() error {
    	cl := getCovCounterList()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:57:47 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  9. pkg/test/framework/components/echo/kube/templates/vm_deployment.yaml

              function override_core_limits() {
                while ! pgrep -u istio-proxy envoy; do
                  echo "Envoy isn't running yet, trying again..."
                  pgrep -u istio-proxy envoy
                  sleep .1
                done
                pid="$(pgrep -u istio-proxy envoy)"
                sudo prlimit -p "${pid}" --core=unlimited
              }
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 03 19:29:42 UTC 2024
    - 8K bytes
    - Viewed (0)
  10. cmd/import-boss/main.go

    		}
    	}
    	return false
    }
    
    func (boss *ImportBoss) Verify(pkg *packages.Package) []error {
    	pkgDir := packageDir(pkg)
    	if pkgDir == "" {
    		// This Package has no usable files, e.g. only tests, which are modelled in
    		// a distinct Package.
    		return nil
    	}
    
    	restrictionFiles, err := recursiveRead(filepath.Join(pkgDir, rulesFileName))
    	if err != nil {
    		return []error{fmt.Errorf("error finding rules file: %w", err)}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 12:36:49 UTC 2024
    - 14.7K bytes
    - Viewed (0)
Back to top