Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for cstab (0.04 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. tools/bug-report/pkg/bugreport/bugreport.go

    		}
    		clog = "========= Previous log present (appended at the end) =========\n\n" + clog +
    			"\n\n========= Previous log =========\n\n" + pclog
    	}
    	var cstat *processlog.Stats
    	clog, cstat = processlog.Process(config, clog)
    	return clog, cstat, cstat.Importance(), nil
    }
    
    func runAnalyze(config *config.BugReportConfig, params *content.Params, analyzeTimeout time.Duration) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 05 20:57:29 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  9. src/runtime/symtab.go

    	textStart      uintptr // base for function entry PC offsets in this module, equal to moduledata.text
    	funcnameOffset uintptr // offset to the funcnametab variable from pcHeader
    	cuOffset       uintptr // offset to the cutab variable from pcHeader
    	filetabOffset  uintptr // offset to the filetab variable from pcHeader
    	pctabOffset    uintptr // offset to the pctab variable from pcHeader
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 40K bytes
    - Viewed (0)
  10. src/cmd/link/internal/ld/symtab.go

    		moduledata.AddUint(ctxt.Arch, 0)
    	}
    
    	// The pcHeader
    	moduledata.AddAddr(ctxt.Arch, pcln.pcheader)
    
    	// The function name slice
    	sliceSym(pcln.funcnametab)
    
    	// The cutab slice
    	sliceSym(pcln.cutab)
    
    	// The filetab slice
    	sliceSym(pcln.filetab)
    
    	// The pctab slice
    	sliceSym(pcln.pctab)
    
    	// The pclntab slice
    	slice(pcln.pclntab, uint64(ldr.SymSize(pcln.pclntab)))
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 16:29:40 UTC 2023
    - 29.2K bytes
    - Viewed (0)
Back to top