Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 188 for lidx (0.08 sec)

  1. src/cmd/compile/internal/liveness/intervals.go

    //
    // See the Live method comment for an IR example.
    type IntervalsBuilder struct {
    	s Intervals
    	// index of last instruction visited plus 1
    	lidx int
    }
    
    func (c *IntervalsBuilder) last() int {
    	return c.lidx - 1
    }
    
    func (c *IntervalsBuilder) setLast(x int) {
    	c.lidx = x + 1
    }
    
    func (c *IntervalsBuilder) Finish() (Intervals, error) {
    	// Reverse intervals list and check.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 21:55:27 UTC 2024
    - 10K bytes
    - Viewed (0)
  2. internal/http/listener.go

    	// Closure to handle TCPListener until done channel is closed.
    	handleListener := func(idx int, listener net.Listener) {
    		for {
    			conn, err := listener.Accept()
    			send(acceptResult{conn, err, idx})
    		}
    	}
    
    	// Start separate goroutine for each TCP listener to handle connection.
    	for idx, tcpListener := range listener.listeners {
    		go handleListener(idx, tcpListener)
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. src/cmd/vendor/github.com/google/pprof/internal/graph/graph.go

    				lines = []profile.Line{{}} // Create empty line to include location info.
    			}
    			for lidx := len(lines) - 1; lidx >= 0; lidx-- {
    				nodeMap := parentNodeMap[parent]
    				if nodeMap == nil {
    					nodeMap = make(NodeMap)
    					parentNodeMap[parent] = nodeMap
    				}
    				n := nodeMap.findOrInsertLine(l, lines[lidx], o)
    				if n == nil {
    					continue
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 31K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. src/cmd/covdata/metamerge.go

    	}
    	// For each package, for each function, construct counter
    	// 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)
  7. 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)
  8. src/cmd/compile/internal/ssa/shortcircuit.go

    					return false
    				}
    			}
    		}
    	}
    
    	// Locate index of first const phi arg.
    	cidx := -1
    	for i, a := range ctl.Args {
    		if a.Op == OpConstBool {
    			cidx = i
    			break
    		}
    	}
    	if cidx == -1 {
    		return false
    	}
    
    	// p is the predecessor corresponding to cidx.
    	pe := b.Preds[cidx]
    	p := pe.b
    	pi := pe.i
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 03 17:47:02 UTC 2022
    - 12.6K 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. src/cmd/link/internal/s390x/asm.go

    		su := ldr.MakeSymbolUpdater(s)
    		su.SetRelocType(rIdx, objabi.R_PCREL)
    		ldr.SetRelocVariant(s, rIdx, sym.RV_390_DBL)
    		su.SetRelocAdd(rIdx, r.Add()+int64(r.Siz()))
    		if targType == sym.SDYNIMPORT {
    			addpltsym(target, ldr, syms, targ)
    			r.SetSym(syms.PLT)
    			su.SetRelocAdd(rIdx, r.Add()+int64(ldr.SymPlt(targ)))
    		}
    		return true
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 05:58:20 UTC 2023
    - 13.7K bytes
    - Viewed (0)
Back to top