- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 206 for func10 (0.15 sec)
-
test/func2.go
package main type t1 int type t2 int type t3 int func f1(t1, t2, t3) func f2(t1, t2, t3 bool) func f3(t1, t2, x t3) func f4(t1, *t3) func (x *t1) f5(y []t2) (t1, *t3) func f6() (int, *string) func f7(*t2, t3) func f8(os int) int func f9(os int) int { return os } func f10(err error) error { return err } func f11(t1 string) string { return t1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Feb 19 03:28:53 UTC 2012 - 578 bytes - Viewed (0) -
test/fixedbugs/issue14999.go
// license that can be found in the LICENSE file. package p func f(x int) func(int) int { return func(y int) int { return x + y } // ERROR "heap-allocated closure f\.func1, not allowed in runtime" } func g(x int) func(int) int { // ERROR "x escapes to heap, not allowed in runtime" return func(y int) int { // ERROR "heap-allocated closure g\.func1, not allowed in runtime" x += y return x + y }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 04 17:00:19 UTC 2021 - 535 bytes - Viewed (0) -
src/cmd/cgo/internal/test/callback_windows.go
want := []string{ "test._Cfunc_backtrace", "test.testCallbackCallersSEH.func1.1", "test.testCallbackCallersSEH.func1", "test.goCallback", "test._Cfunc_callback", "test.nestedCall.func1", "test.nestedCall", "test.testCallbackCallersSEH", "test.TestCallbackCallersSEH", } pc := make([]uintptr, 100) n := 0 nestedCall(func() { n = int(C.backtrace(C.DWORD(len(pc)), (*C.PVOID)(unsafe.Pointer(&pc[0])))) })
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 29 16:01:37 UTC 2023 - 2.6K bytes - Viewed (0) -
docs/pt/docs/tutorial/background-tasks.md
## Criar uma função de tarefa Crie uma função a ser executada como tarefa em segundo plano. É apenas uma função padrão que pode receber parâmetros. Pode ser uma função `async def` ou `def` normal, o **FastAPI** saberá como lidar com isso corretamente. Nesse caso, a função de tarefa gravará em um arquivo (simulando o envio de um e-mail).
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Mon May 09 23:44:32 UTC 2022 - 5.3K bytes - Viewed (0) -
src/cmd/compile/internal/test/pgo_devirtualize_test.go
//{ // pos: "./devirt.go:249:27", // callee: "AddClosure.func1", //}, //{ // pos: "./devirt.go:249:15", // callee: "mult.MultClosure.func1", //}, } testPGODevirtualize(t, dir, want, profFileName) } var multFnRe = regexp.MustCompile(`func MultFn\(a, b int64\) int64`) func convertMultToGeneric(path string) error { content, err := os.ReadFile(path)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 15 21:30:35 UTC 2024 - 8.5K bytes - Viewed (0) -
src/cmd/compile/internal/test/testdata/pgo/devirtualize/devirt.pprof.node_map
23 101 example.com/pgo/devirtualize.ExerciseFuncField example.com/pgo/devirtualize/mult%2epkg.MultFn 23 94 example.com/pgo/devirtualize.ExerciseFuncClosure example.com/pgo/devirtualize/mult%2epkg.MultClosure.func1 18 93 example.com/pgo/devirtualize.ExerciseFuncClosure example.com/pgo/devirtualize.Add.Add 18 92 example.com/pgo/devirtualize.ExerciseFuncConcrete example.com/pgo/devirtualize/mult%2epkg.MultFn 48 91
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 27 20:20:01 UTC 2024 - 1.6K bytes - Viewed (0) -
platforms/native/language-native/src/test/groovy/org/gradle/language/nativeplatform/internal/incremental/SourceParseAndResolutionTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 21.5K bytes - Viewed (0) -
src/runtime/callers_test.go
"runtime.gopanic", "runtime_test.TestCallersDoublePanic.func1", "runtime.gopanic", "runtime_test.TestCallersDoublePanic"} defer func() { defer func() { pcs := make([]uintptr, 20) pcs = pcs[:runtime.Callers(0, pcs)] if recover() == nil { t.Fatal("did not panic") } testCallersEqual(t, pcs, want) }() if recover() == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 28 21:36:31 UTC 2023 - 12.1K bytes - Viewed (0) -
src/cmd/internal/goobj/funcinfo.go
return result } func (*FuncInfo) ReadArgs(b []byte) uint32 { return binary.LittleEndian.Uint32(b) } func (*FuncInfo) ReadLocals(b []byte) uint32 { return binary.LittleEndian.Uint32(b[4:]) } func (*FuncInfo) ReadFuncID(b []byte) abi.FuncID { return abi.FuncID(b[8]) } func (*FuncInfo) ReadFuncFlag(b []byte) abi.FuncFlag { return abi.FuncFlag(b[9]) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 21 19:28:46 UTC 2023 - 3.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/common/subgraph.h
// Take the following example: // // call @func_1_CPU {tac.interface_name = "func_1"} // // "func_1" is the interface name where "func_1_cpu" is the real implementation // we can have multiple FuncOps like "func_1_cpu" and "func_1_gpu" and they // both implement "func_1". // // The attribute on the FuncOp means what it actually implements while the // attribute on the CallOp means what it actually looks for.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Feb 28 05:18:47 UTC 2023 - 1.8K bytes - Viewed (0)