- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 515 for Fn (0.13 sec)
-
src/cmd/compile/internal/walk/walk.go
return n } func vmkcall(fn ir.Node, t *types.Type, init *ir.Nodes, va []ir.Node) *ir.CallExpr { if init == nil { base.Fatalf("mkcall with nil init: %v", fn) } if fn.Type() == nil || fn.Type().Kind() != types.TFUNC { base.Fatalf("mkcall %v %v", fn, fn.Type()) } n := fn.Type().NumParams() if n != len(va) { base.Fatalf("vmkcall %v needs %v args got %v", fn, n, len(va)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 27 20:56:00 UTC 2024 - 10.4K bytes - Viewed (0) -
test/typeparam/issue50485.dir/a.go
}) } func FlatMap[T, U any](opt Option[T], fn func(v T) Option[U]) Option[U] { if opt.IsDefined() { return fn(opt.Get()) } return None[U]() } type ApplicativeFunctor1[H Header[HT], HT, A, R any] struct { h Option[H] fn Option[Func1[A, R]] } func (r ApplicativeFunctor1[H, HT, A, R]) ApOption(a Option[A]) Option[R] { return Ap(r.fn, a) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 14 17:22:18 UTC 2023 - 4.4K bytes - Viewed (0) -
pkg/test/util/retry/retry.go
func UntilSuccessOrFail(t test.Failer, fn func() error, options ...Option) { t.Helper() err := UntilSuccess(fn, options...) if err != nil { t.Fatalf("retry.UntilSuccessOrFail: %v", err) } } var ErrConditionNotMet = errors.New("expected condition not met") // Until retries the given function until it returns true or hits the timeout func Until(fn func() bool, options ...Option) error {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Aug 08 16:43:05 UTC 2023 - 5.6K bytes - Viewed (0) -
src/cmd/cgo/internal/testcshared/testdata/main4.c
if (verbose) { fprintf(stderr, "calling dlsym\n"); } // Start some goroutines. fn = (void(*)(void))dlsym(handle, "RunGoroutines"); if (fn == NULL) { fprintf(stderr, "%s\n", dlerror()); exit(EXIT_FAILURE); } if (verbose) { fprintf(stderr, "calling RunGoroutines\n"); } fn(); // Block SIGIO in this thread to make it more likely that it // will be delivered to a goroutine.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 14 13:19:50 UTC 2023 - 4.2K bytes - Viewed (0) -
src/strings/builder_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 19 19:51:15 UTC 2024 - 8.1K bytes - Viewed (0) -
src/cmd/compile/internal/inline/inlheur/scoring.go
ecsj := EncodeCallSiteKey(sl[j]) return ecsi < ecsj }) mkname := func(fn *ir.Func) string { var n string if fn == nil || fn.Nname == nil { return "<nil>" } if fn.Sym().Pkg == types.LocalPkg { n = "ยท" + fn.Sym().Name } else { n = ir.PkgFuncName(fn) } // don't try to print super-long names if len(n) <= 64 { return n }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 27 20:42:52 UTC 2024 - 24.2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/unusedresult/unusedresult.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 22 19:00:13 UTC 2024 - 4.5K bytes - Viewed (0) -
src/runtime/stkframe.go
// and reflect.methodValue. type reflectMethodValue struct { fn uintptr stack *bitvector // ptrmap for both args and results argLen uintptr // just args } // argBytes returns the argument frame size for a call to frame.fn. func (frame *stkframe) argBytes() uintptr { if frame.fn.args != abi.ArgsSizeUnknown { return uintptr(frame.fn.args) } // This is an uncommon and complicated case. Fall back to fully
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 15:10:48 UTC 2024 - 9.9K bytes - Viewed (0) -
src/syscall/syscall_linux_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 23K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/schemaBuilder/PropertyExtractor.kt
val getters = functionsByName .filterKeys { it.startsWith("get") && it.substringAfter("get").firstOrNull()?.isUpperCase() == true } .mapValues { (_, functions) -> functions.singleOrNull { fn -> fn.parameters.all { it == fn.instanceParameter } } } .filterValues { it != null && includeMemberFilter.shouldIncludeMember(it) } return getters.mapNotNull { (name, getter) -> checkNotNull(getter)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 14 10:08:01 UTC 2024 - 6.7K bytes - Viewed (0)