- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 24 for cstab (0.04 sec)
-
src/cmd/compile/internal/inline/inlheur/scoring.go
if resultNameTab != nil { csa.rescoreBasedOnCallResultUses(fn, resultNameTab, cstab) } disableDebugTrace() if ic != nil && callSiteTab != nil { // Integrate the calls from this cstab into the table for the caller. if err := callSiteTab.merge(cstab); err != nil { base.FatalfAt(ic.Pos(), "%v", err) } } else { callSiteTab = cstab } } // ScoreCallsCleanup resets the state of the callsite cache
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 27 20:42:52 UTC 2024 - 24.2K bytes - Viewed (0) -
pkg/kubelet/stats/helper.go
} if cstat.Cpu != nil { cpuStats.UsageCoreNanoSeconds = &cstat.Cpu.Usage.Total } } if info.Spec.HasMemory && cstat.Memory != nil { pageFaults := cstat.Memory.ContainerData.Pgfault majorPageFaults := cstat.Memory.ContainerData.Pgmajfault memoryStats = &statsapi.MemoryStats{ Time: metav1.NewTime(cstat.Timestamp), UsageBytes: &cstat.Memory.Usage,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 17 23:40:02 UTC 2023 - 14.8K bytes - Viewed (0) -
src/internal/coverage/encodecounter/encode.go
func (cfw *CoverageDataWriter) AppendSegment(args map[string]string, visitor CounterVisitor) error { cfw.stab = &stringtab.Writer{} cfw.stab.InitWriter() cfw.stab.Lookup("") var err error for k, v := range args { cfw.stab.Lookup(k) cfw.stab.Lookup(v) } ws := &slicewriter.WriteSeeker{} if err = cfw.writeSegmentPreamble(args, ws); err != nil { return err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 7.8K bytes - Viewed (0) -
src/internal/coverage/encodemeta/encode.go
return nil, fmt.Errorf("invalid empty package path") } x := &CoverageMetaDataBuilder{ tmp: make([]byte, 0, 256), h: md5.New(), } x.stab.InitWriter() x.stab.Lookup("") x.pkgpath = x.stab.Lookup(pkgpath) x.pkgname = x.stab.Lookup(pkgname) x.modpath = x.stab.Lookup(modulepath) io.WriteString(x.h, pkgpath) io.WriteString(x.h, pkgname) io.WriteString(x.h, modulepath) return x, nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 29 17:16:10 UTC 2024 - 5.5K bytes - Viewed (0) -
src/internal/coverage/encodemeta/encodefile.go
type CoverageMetaFileWriter struct { stab stringtab.Writer mfname string w *bufio.Writer tmp []byte debug bool } func NewCoverageMetaFileWriter(mfname string, w io.Writer) *CoverageMetaFileWriter { r := &CoverageMetaFileWriter{ mfname: mfname, w: bufio.NewWriter(w), tmp: make([]byte, 64), } r.stab.InitWriter() r.stab.Lookup("") return r }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 11 12:40:42 UTC 2022 - 3.4K bytes - Viewed (0) -
src/internal/coverage/stringtab/stringtab.go
// counter-data files. // Writer implements a string table writing utility. type Writer struct { stab map[string]uint32 strs []string tmp []byte frozen bool } // InitWriter initializes a stringtab.Writer. func (stw *Writer) InitWriter() { stw.stab = make(map[string]uint32) stw.tmp = make([]byte, 64) } // Nentries returns the number of strings interned so far.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 11 12:40:42 UTC 2022 - 3.6K bytes - Viewed (0) -
src/cmd/covdata/metamerge.go
// array and then call "f" on it. for pidx, p := range mm.pkgs { fids := make([]int, 0, len(p.ctab)) for fid := range p.ctab { fids = append(fids, int(fid)) } sort.Ints(fids) if *verbflag >= 4 { fmt.Printf("fids for pk=%d: %+v\n", pidx, fids) } for _, fid := range fids { fp := p.ctab[uint32(fid)] if *verbflag >= 4 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 12 17:17:47 UTC 2024 - 12.1K bytes - Viewed (0) -
pkg/kubelet/stats/cadvisor_stats_provider.go
if !info.Spec.HasCpu || !info.Spec.HasMemory { return false } cstat, found := latestContainerStats(info) if !found { return false } if cstat.CpuInst == nil { return false } return cstat.CpuInst.Usage.Total != 0 && cstat.Memory.RSS != 0 } // isContainerTerminated returns true if the specified container meet one of the following conditions
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Nov 16 13:34:22 UTC 2023 - 18.9K bytes - Viewed (0) -
src/debug/gosym/pclntab.go
if f.cuOffset() == ^uint32(0) { // skip functions without compilation unit (not real function, or linker generated) continue } cutab = t.cutab[f.cuOffset()*4:] } pc := t.findFileLine(entry, filetab, linetab, int32(filenum), int32(line), cutab) if pc != 0 { return pc } } return 0 } // initFileMap initializes the map from file name to file number. func (t *LineTable) initFileMap() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jan 25 19:43:24 UTC 2024 - 18.8K bytes - Viewed (0) -
src/cmd/link/internal/ld/pcln.go
// of the index at which each CU begins in runtime.cutab. // // Function objects keep track of the files they reference to print the stack. // This function creates a per-CU list of filenames if CU[M] references // files[1-N], the following is generated: // // runtime.cutab: // CU[M] // offsetToFilename[0] // offsetToFilename[1] // .. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 29.6K bytes - Viewed (0)