Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 23 for findfunc (0.19 sec)

  1. pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex.go

    		// If there is just one, return it
    		if len(wls) == 1 {
    			return []model.AddressInfo{modelWorkloadToAddressInfo(wls[0])}
    		}
    		// Otherwise, try to find a pod - pods have precedence
    		pod := slices.FindFunc(wls, func(info model.WorkloadInfo) bool {
    			return info.Source == kind.Pod
    		})
    		if pod != nil {
    			return []model.AddressInfo{modelWorkloadToAddressInfo(*pod)}
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 19 17:19:41 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  2. src/runtime/race.go

    // function again with that pc.)
    //
    // If the incoming pc is not part of an inlined function, the return pc is unchanged.
    func raceSymbolizeCode(ctx *symbolizeCodeContext) {
    	pc := ctx.pc
    	fi := findfunc(pc)
    	if fi.valid() {
    		u, uf := newInlineUnwinder(fi, pc)
    		for ; uf.valid(); uf = u.next(uf) {
    			sf := u.srcFunc(uf)
    			if sf.funcID == abi.FuncIDWrapper && u.isInlined(uf) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  3. src/runtime/heapdump.go

    	dumpint(tagMemProf)
    	dumpint(uint64(uintptr(unsafe.Pointer(b))))
    	dumpint(uint64(size))
    	dumpint(uint64(nstk))
    	for i := uintptr(0); i < nstk; i++ {
    		pc := stk[i]
    		f := findfunc(pc)
    		if !f.valid() {
    			var buf [64]byte
    			n := len(buf)
    			n--
    			buf[n] = ')'
    			if pc == 0 {
    				n--
    				buf[n] = '0'
    			} else {
    				for pc > 0 {
    					n--
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  4. src/runtime/debuglog.go

    	printunlock()
    }
    
    // printDebugLogPC prints a single symbolized PC. If returnPC is true,
    // pc is a return PC that must first be converted to a call PC.
    func printDebugLogPC(pc uintptr, returnPC bool) {
    	fn := findfunc(pc)
    	if returnPC && (!fn.valid() || pc > fn.entry()) {
    		// TODO(austin): Don't back up if the previous frame
    		// was a sigpanic.
    		pc--
    	}
    
    	print(hex(pc))
    	if !fn.valid() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:10:48 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ld/pcln.go

    		call := fi.InlTree(i)
    		nameOff, ok := nameOffsets[call.Func]
    		if !ok {
    			panic("couldn't find function name offset")
    		}
    
    		inlFunc := ldr.FuncInfo(call.Func)
    		var funcID abi.FuncID
    		startLine := int32(0)
    		if inlFunc.Valid() {
    			funcID = inlFunc.FuncID()
    			startLine = inlFunc.StartLine()
    		} else if !ctxt.linkShared {
    			// Inlined functions are always Go functions, and thus
    			// must have FuncInfo.
    			//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  6. src/runtime/export_test.go

    	for _, r := range a.addrRanges.ranges {
    		result = append(result, AddrRange{r})
    	}
    	return result
    }
    
    // FindSucc returns the successor to base. See addrRanges.findSucc
    // for more details.
    func (a *AddrRanges) FindSucc(base uintptr) int {
    	return a.findSucc(base)
    }
    
    // Add adds a new AddrRange to the AddrRanges.
    //
    // The AddrRange must be mutable (i.e. created by NewAddrRanges),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:50:53 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  7. src/runtime/mranges.go

    	a.sysStat = sysStat
    	a.totalBytes = 0
    }
    
    // findSucc returns the first index in a such that addr is
    // less than the base of the addrRange at that index.
    func (a *addrRanges) findSucc(addr uintptr) int {
    	base := offAddr{addr}
    
    	// Narrow down the search space via a binary search
    	// for large addrRanges until we have at most iterMax
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  8. src/cmd/vendor/rsc.io/markdown/html.go

    	}
    	b.PrintHTML(buf)
    }
    
    type htmlBuilder struct {
    	endBlank bool
    	text     []string
    	endFunc  func(string) bool
    }
    
    func (c *htmlBuilder) extend(p *parseState, s line) (line, bool) {
    	if c.endBlank && s.isBlank() {
    		return s, false
    	}
    	t := s.string()
    	c.text = append(c.text, t)
    	if c.endFunc != nil && c.endFunc(t) {
    		return line{}, false
    	}
    	return line{}, true
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  9. src/cmd/doc/pkg.go

    		for _, name := range value.Names {
    			if match(symbol, name) {
    				values = append(values, value)
    			}
    		}
    	}
    	return
    }
    
    // findFuncs finds the doc.Funcs that describes the symbol.
    func (pkg *Package) findFuncs(symbol string) (funcs []*doc.Func) {
    	for _, fun := range pkg.doc.Funcs {
    		if match(symbol, fun.Name) {
    			funcs = append(funcs, fun)
    		}
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 08 20:15:52 UTC 2024
    - 32K bytes
    - Viewed (0)
  10. src/cmd/link/internal/wasm/asm.go

    	// PC_B the resume point inside of that function. The entry of the function has PC_B = 0.
    	ldr.SetSymSect(s, sect)
    	ldr.SetSymValue(s, int64(funcValueOffset+va/abi.MINFUNC)<<16) // va starts at zero
    	va += uint64(abi.MINFUNC)
    	return sect, n, va
    }
    
    type wasmDataSect struct {
    	sect *sym.Section
    	data []byte
    }
    
    var dataSects []wasmDataSect
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 16:17:48 UTC 2024
    - 21.9K bytes
    - Viewed (0)
Back to top