Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 118 for fidx (0.05 sec)

  1. test/abi/bad_select_crash.go

    type UtilsType int
    
    //go:noinline
    func NoteFailure(cm int, pidx int, fidx int, pkg string, pref string, parmNo int, isret bool, _ uint64) {
    	if isret {
    		if ParamFailCount != 0 {
    			return
    		}
    		ReturnFailCount++
    	} else {
    		ParamFailCount++
    	}
    	fmt.Fprintf(os.Stderr, "Error: fail %s |%d|%d|%d| =%s.Test%d= %s %d\n", Mode, cm, pidx, fidx, pkg, fidx, pref, parmNo)
    
    	if ParamFailCount+FailCount+ReturnFailCount > 9999 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 16 13:38:02 UTC 2021
    - 5.7K bytes
    - Viewed (0)
  2. src/cmd/internal/cov/readcovdata.go

    			return nil
    		}
    	}
    	r.vis.BeginPackage(pd, pkgIdx)
    	nf := pd.NumFuncs()
    	var fd coverage.FuncDesc
    	for fidx := uint32(0); fidx < nf; fidx++ {
    		if err := pd.ReadFunc(fidx, &fd); err != nil {
    			return r.fatal("reading meta-data file %s: %v", mfname, err)
    		}
    		r.vis.VisitFunc(pkgIdx, fidx, &fd)
    	}
    	r.vis.EndPackage(pd, pkgIdx)
    	return nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  3. src/internal/coverage/decodemeta/decode.go

    // 'findex', filling it into the FuncDesc pointed to by 'f'.
    func (d *CoverageMetaDataDecoder) ReadFunc(fidx uint32, f *coverage.FuncDesc) error {
    	if fidx >= d.hdr.NumFuncs {
    		return fmt.Errorf("illegal function index")
    	}
    
    	// Seek to the correct location to read the function offset and read it.
    	funcOffsetLocation := int64(coverage.CovMetaHeaderSize + 4*fidx)
    	if _, err := d.r.Seek(funcOffsetLocation, io.SeekStart); err != nil {
    		return err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 11:36:28 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  4. test/abi/bad_internal_offsets.go

    // license that can be found in the LICENSE file.
    
    package genChecker0
    
    var FailCount int
    
    //go:noinline
    func NoteFailure(fidx int, pkg string, pref string, parmNo int, _ uint64) {
    	FailCount += 1
    	if FailCount > 10 {
    		panic("bad")
    	}
    }
    
    //go:noinline
    func NoteFailureElem(fidx int, pkg string, pref string, parmNo int, elem int, _ uint64) {
    	FailCount += 1
    	if FailCount > 10 {
    		panic("bad")
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  5. 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)
  6. src/runtime/traceback.go

    func printAncestorTraceback(ancestor ancestorInfo) {
    	print("[originating from goroutine ", ancestor.goid, "]:\n")
    	for fidx, pc := range ancestor.pcs {
    		f := findfunc(pc) // f previously validated
    		if showfuncinfo(f.srcFunc(), fidx == 0, abi.FuncIDNormal) {
    			printAncestorTracebackFuncInfo(f, pc)
    		}
    	}
    	if len(ancestor.pcs) == tracebackInnerFrames {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/inline/inlheur/funcprops_test.go

    			ncl++
    			if emit {
    				emitFunc(&dentries[idx], dcsites[idx], 0, 1)
    			}
    			idx++
    		}
    		return idx
    	}
    
    	didx := 0
    	for _, line := range golines {
    		if strings.HasPrefix(line, "func ") {
    
    			// We have a function definition.
    			// Pick out the corresponding entry or entries in the dump
    			// and emit if interesting (or skip if not).
    			dentry := dentries[didx]
    			emit := interestingToCompare(dentry.fname)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 20:15:25 UTC 2023
    - 15K bytes
    - Viewed (0)
  8. src/cmd/covdata/subtractintersect.go

    	s.mm.visitPackage(pd, pkgIdx, false)
    }
    
    func (s *sstate) EndPackage(pd *decodemeta.CoverageMetaDataDecoder, pkgIdx uint32) {
    }
    
    func (s *sstate) VisitFunc(pkgIdx uint32, fnIdx uint32, fd *coverage.FuncDesc) {
    	s.mm.visitFunc(pkgIdx, fnIdx, fd, s.mode, false)
    }
    
    func (s *sstate) Finish() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 12 12:50:46 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  9. src/cmd/link/internal/x86/asm.go

    		su := ldr.MakeSymbolUpdater(s)
    		su.SetRelocType(rIdx, objabi.R_PCREL)
    		su.SetRelocAdd(rIdx, r.Add()+4)
    		return true
    
    	case objabi.ElfRelocOffset + objabi.RelocType(elf.R_386_PLT32):
    		su := ldr.MakeSymbolUpdater(s)
    		su.SetRelocType(rIdx, objabi.R_PCREL)
    		su.SetRelocAdd(rIdx, r.Add()+4)
    		if targType == sym.SDYNIMPORT {
    			addpltsym(target, ldr, syms, targ)
    			su.SetRelocSym(rIdx, syms.PLT)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 05:58:20 UTC 2023
    - 13.6K bytes
    - Viewed (0)
  10. cmd/data-usage-cache.go

    func (h *sizeHistogram) mergeV1(v sizeHistogramV1) {
    	var oidx, nidx int
    	for oidx < len(v) {
    		intOld, intNew := ObjectsHistogramIntervalsV1[oidx], ObjectsHistogramIntervals[nidx]
    		// skip intervals that aren't common to both histograms
    		if intOld.start != intNew.start || intOld.end != intNew.end {
    			nidx++
    			continue
    		}
    		h[nidx] += v[oidx]
    		oidx++
    		nidx++
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 10 14:49:50 UTC 2024
    - 42.8K bytes
    - Viewed (0)
Back to top