- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 863 for Fn (0.02 sec)
-
src/cmd/vendor/github.com/google/pprof/profile/prune.go
return true } } pruneCache[s] = false return false } for _, loc := range p.Location { var i int for i = len(loc.Line) - 1; i >= 0; i-- { if fn := loc.Line[i].Function; fn != nil && fn.Name != "" { if pruneFromHere(fn.Name) { break } } } if i >= 0 { // Found matching entry to prune. pruneBeneath[loc.ID] = true // Remove the matching location.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 22 18:58:12 UTC 2022 - 5.5K bytes - Viewed (0) -
src/runtime/sys_s390x.go
package runtime import "unsafe" // adjust Gobuf as if it executed a call to fn with context ctxt // and then did an immediate Gosave. func gostartcall(buf *gobuf, fn, ctxt unsafe.Pointer) { if buf.lr != 0 { throw("invalid use of gostartcall") } buf.lr = buf.pc buf.pc = uintptr(fn) buf.ctxt = ctxt
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 05 18:19:46 UTC 2016 - 469 bytes - Viewed (0) -
pkg/util/interrupt/interrupt.go
h.once.Do(func() { for _, fn := range h.notify { fn() } }) } // Signal is called when an os.Signal is received, and guarantees that all notifications // are executed, then the final handler is executed. This function should only be called once // per Handler instance. func (h *Handler) Signal(s os.Signal) { h.once.Do(func() { for _, fn := range h.notify { fn() } if h.final == nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jan 16 09:22:35 UTC 2023 - 2.7K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/report/stacks.go
x := StackSource{Places: []StackSlot{}} // Ensure Places is non-nil if fn := line.Function; fn != nil { x.FullName = fn.Name x.FileName = fn.Filename if !seenFunctions[fn.Name] { x.UniqueName = fn.Name seenFunctions[fn.Name] = true } else { // Assign a different name so pivoting picks this function. x.UniqueName = fmt.Sprint(fn.Name, "#", fn.ID) } } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 16 15:19:53 UTC 2024 - 5.6K bytes - Viewed (0) -
src/runtime/sys_wasm.go
//go:wasmimport gojs runtime.wasmExit func wasmExit(code int32) // adjust Gobuf as it if executed a call to fn with context ctxt // and then stopped before the first instruction in fn. func gostartcall(buf *gobuf, fn, ctxt unsafe.Pointer) { sp := buf.sp sp -= goarch.PtrSize *(*uintptr)(unsafe.Pointer(sp)) = buf.pc buf.sp = sp buf.pc = uintptr(fn) buf.ctxt = ctxt
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 02 05:28:55 UTC 2023 - 758 bytes - Viewed (0) -
test/typeparam/issue49246.dir/a.go
// license that can be found in the LICENSE file. package a type R[T any] struct{ v T } func (r R[T]) Self() R[T] { return R[T]{} } type Fn[T any] func() R[T] func X() (r R[int]) { return r.Self() } func Y[T any](a Fn[T]) Fn[int] { return func() (r R[int]) { // No crash: return R[int]{} return r.Self() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 02 03:09:01 UTC 2021 - 429 bytes - Viewed (0) -
src/runtime/sys_darwin.go
// (in addition to standard package syscall). // Do not remove or change the type signature. // //go:linkname syscall_syscall syscall.syscall //go:nosplit func syscall_syscall(fn, a1, a2, a3 uintptr) (r1, r2, err uintptr) { args := struct{ fn, a1, a2, a3, r1, r2, err uintptr }{fn, a1, a2, a3, r1, r2, err} entersyscall() libcCall(unsafe.Pointer(abi.FuncPCABI0(syscall)), unsafe.Pointer(&args)) exitsyscall() return args.r1, args.r2, args.err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:17:26 UTC 2024 - 23.9K bytes - Viewed (0) -
src/cmd/internal/obj/dwarf.go
fn.dwarfAbsFnSym = ctxt.DwFixups.AbsFuncDwarfSym(s) } } return fn.dwarfInfoSym, fn.dwarfLocSym, fn.dwarfRangesSym, fn.dwarfAbsFnSym, fn.dwarfDebugLinesSym } // textPos returns the source position of the first instruction (prog) // of the specified function. func textPos(fn *LSym) src.XPos { if p := fn.Func().Text; p != nil { return p.Pos } return src.NoXPos }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 01 20:40:28 UTC 2023 - 22K bytes - Viewed (0) -
src/internal/coverage/pods/pods_test.go
} return dp } mkfile := func(d string, fn string) string { fp := filepath.Join(d, fn) if err := os.WriteFile(fp, []byte("foo"), 0666); err != nil { t.Fatal(err) } return fp } mkmeta := func(dir string, tag string) string { hash := md5.Sum([]byte(tag)) fn := fmt.Sprintf("%s.%x", coverage.MetaFilePref, hash) return mkfile(dir, fn) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 31 14:00:17 UTC 2023 - 3.5K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/api/meta/help.go
// // If the items passed to fn are not retained, or are retained for the same duration, use EachListItem instead for memory efficiency. func EachListItemWithAlloc(obj runtime.Object, fn func(runtime.Object) error) error { return eachListItem(obj, fn, true) } // allocNew: Whether shallow copy is required when the elements in Object.Items are struct func eachListItem(obj runtime.Object, fn func(runtime.Object) error, allocNew bool) error {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 29 16:25:43 UTC 2023 - 9.8K bytes - Viewed (0)