Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 30 for findFuncs (0.27 sec)

  1. pilot/pkg/config/kube/gateway/conditions.go

    				Reason:  ConfigErrorReason(gw.DeniedReason.Reason),
    				Message: gw.DeniedReason.Message,
    			}
    		}
    
    		var currentConditions []metav1.Condition
    		currentStatus := slices.FindFunc(currentParents, func(s k8s.RouteParentStatus) bool {
    			return parentRefString(s.ParentRef) == parentRefString(gw.OriginalReference) &&
    				s.ControllerName == k8s.GatewayController(features.ManagedGatewayController)
    		})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 13:05:41 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  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/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)
  6. src/cmd/link/internal/ld/pcln.go

    				idx = indexes[i*SUBBUCKETS+j]
    				if idx == NOIDX {
    					Errorf(nil, "hole in findfunctab")
    				}
    				if idx-base >= 256 {
    					Errorf(nil, "too many functions in a findfunc bucket! %d/%d %d %d", i, nbuckets, j, idx-base)
    				}
    
    				t.SetUint8(ctxt.Arch, int64(i)*(4+SUBBUCKETS)+4+int64(j), uint8(idx-base))
    			}
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  7. src/runtime/export_test.go

    	return pinnerLeakPanic
    }
    
    var testUintptr uintptr
    
    func MyGenericFunc[T any]() {
    	systemstack(func() {
    		testUintptr = 4
    	})
    }
    
    func UnsafePoint(pc uintptr) bool {
    	fi := findfunc(pc)
    	v := pcdatavalue(fi, abi.PCDATA_UnsafePoint, pc)
    	switch v {
    	case abi.UnsafePointUnsafe:
    		return true
    	case abi.UnsafePointSafe:
    		return false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:50:53 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  8. pilot/pkg/model/push_context_test.go

    					total2 += len(envoyFilters)
    					for _, ef := range envoyFilters {
    						key := ConfigKey{Kind: kind.EnvoyFilter, Namespace: ns, Name: ef.Name}
    						previousVersion := slices.FindFunc(pc1.envoyFiltersByNamespace[ns], func(e *EnvoyFilterWrapper) bool {
    							return e.Name == ef.Name
    						})
    						switch {
    						// Newly created Envoy filter.
    						case createSet.Contains(key):
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 95.3K bytes
    - Viewed (0)
  9. src/runtime/proc.go

    		throw("bad g status")
    	}
    
    	if gp.asyncSafePoint {
    		// Double-check that async preemption does not
    		// happen in SPWRITE assembly functions.
    		// isAsyncSafePoint must exclude this case.
    		f := findfunc(gp.sched.pc)
    		if !f.valid() {
    			throw("preempt at unknown pc")
    		}
    		if f.flag&abi.FuncFlagSPWrite != 0 {
    			println("runtime: unexpected SPWRITE function", funcname(f), "in async preempt")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  10. pkg/config/validation/validation.go

    	}
    
    	canoncalGroup := targetRef.Group
    	if canoncalGroup == "" {
    		canoncalGroup = "core"
    	}
    	allowed := slices.FindFunc(allowedTargetRefs, func(gvk config.GroupVersionKind) bool {
    		return gvk.Kind == targetRef.Kind && gvk.CanonicalGroup() == canoncalGroup
    	}) != nil
    
    	if !allowed {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
Back to top