- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for is_inner (0.4 sec)
-
src/cmd/compile/internal/ssa/likelyadjust.go
for _, l := range loops { x := len(l.exits) cf := 0 if !l.containsUnavoidableCall { cf = 1 } inner := 0 if l.isInner { inner++ } f.LogStat("loopstats:", l.depth, "depth", x, "exits", inner, "is_inner", cf, "always_calls", l.nBlocks, "n_blocks") } } if f.pass != nil && f.pass.debug > 1 && len(loops) > 0 { fmt.Printf("Loops in %s:\n", f.Name)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 31 21:41:20 UTC 2022 - 15.4K bytes - Viewed (0) -
src/runtime/pinner_test.go
o := new(obj) ifc := any(o) pinner.Pin(&ifc) if !runtime.IsPinned(unsafe.Pointer(&ifc)) { t.Fatal("not marked as pinned") } if runtime.IsPinned(unsafe.Pointer(o)) { t.Fatal("marked as pinned") } pinner.Unpin() pinner.Pin(ifc) if !runtime.IsPinned(unsafe.Pointer(o)) { t.Fatal("not marked as pinned") } if runtime.IsPinned(unsafe.Pointer(&ifc)) { t.Fatal("marked as pinned") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 13 18:36:12 UTC 2023 - 11K bytes - Viewed (0) -
src/runtime/pinner.go
panic(errorString("runtime.Pinner: object was allocated into an arena")) } return e.data } // isPinned checks if a Go pointer is pinned. // nosplit, because it's called from nosplit code in cgocheck. // //go:nosplit func isPinned(ptr unsafe.Pointer) bool { span := spanOfHeap(uintptr(ptr)) if span == nil { // this code is only called for Go pointer, so this must be a
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:29:45 UTC 2024 - 11K bytes - Viewed (0) -
pkg/scheduler/extender.go
return err } if result.Error != "" { return fmt.Errorf(result.Error) } return nil } // IsBinder returns whether this extender is configured for the Bind method. func (h *HTTPExtender) IsBinder() bool { return h.bindVerb != "" } // IsPrioritizer returns whether this extender is configured for the Prioritize method.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 26 19:07:19 UTC 2024 - 13.4K bytes - Viewed (0) -
src/runtime/cgocall.go
if !cgoIsGoPointer(p) { return } if !top && !isPinned(p) { panic(errorString(msg)) } cgoCheckArg(it, p, it.Kind_&abi.KindDirectIface == 0, false, msg) case abi.Slice: st := (*slicetype)(unsafe.Pointer(t)) s := (*slice)(p) p = s.array if p == nil || !cgoIsGoPointer(p) { return } if !top && !isPinned(p) { panic(errorString(msg)) } if !st.Elem.Pointers() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:16:47 UTC 2024 - 24.2K bytes - Viewed (0) -
pkg/scheduler/testing/framework/fake_extender.go
err := fmt.Errorf("Node %v not in filtered nodes %v", binding.Target.Name, f.FilteredNodes) f.FilteredNodes = nil return err } return nil } // IsBinder returns true indicating the extender implements the Binder function. func (f *FakeExtender) IsBinder() bool { return true } // IsPrioritizer returns true if there are any prioritizers. func (f *FakeExtender) IsPrioritizer() bool {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 26 19:07:19 UTC 2024 - 13.9K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/base/Kt1DescUtils.kt
} private fun MutableList<TypeParameterDescriptor>.collectTypeParameters(innerClass: ClassifierDescriptorWithTypeParameters) { if (!innerClass.isInner) return val outerClass = innerClass.containingDeclaration as? ClassifierDescriptorWithTypeParameters ?: return addAll(outerClass.declaredTypeParameters) collectTypeParameters(outerClass) }
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 11 15:45:42 UTC 2024 - 33.4K bytes - Viewed (0) -
src/runtime/export_test.go
func FPCallers(pcBuf []uintptr) int { return fpTracebackPCs(unsafe.Pointer(getfp()), pcBuf) } const FramePointerEnabled = framepointer_enabled var ( IsPinned = isPinned GetPinCounter = pinnerGetPinCounter ) func SetPinnerLeakPanic(f func()) { pinnerLeakPanic = f } func GetPinnerLeakPanic() func() { return pinnerLeakPanic }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:50:53 UTC 2024 - 46.1K bytes - Viewed (0) -
pkg/scheduler/schedule_one.go
} // TODO(#87159): Move this to a Plugin. func (sched *Scheduler) extendersBinding(logger klog.Logger, pod *v1.Pod, node string) (bool, error) { for _, extender := range sched.Extenders { if !extender.IsBinder() || !extender.IsInterested(pod) { continue } err := extender.Bind(&v1.Binding{ ObjectMeta: metav1.ObjectMeta{Namespace: pod.Namespace, Name: pod.Name, UID: pod.UID},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 06 13:28:08 UTC 2024 - 43.4K bytes - Viewed (0)