- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 3,773 for func4 (0.16 sec)
-
tensorflow/c/c_api_function_test.cc
if (GetName(funcs[0]) == GetName(func0)) { AssertEqual(func0, funcs[0]); AssertEqual(func1, funcs[1]); } else { AssertEqual(func0, funcs[1]); AssertEqual(func1, funcs[0]); } TF_DeleteFunction(funcs[0]); TF_DeleteFunction(funcs[1]); TF_DeleteFunction(func0); TF_DeleteFunction(func1); } } // namespace
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jul 20 22:08:54 UTC 2023 - 63.6K bytes - Viewed (0) -
test/fixedbugs/issue4167.go
package main type pa []int type p int func (this *pa) func1() (v *p, c int) { for _ = range *this { c++ } v = (*p)(&c) return } func (this *pa) func2() p { return (*p).func3(this.func1()) } func (this *p) func3(f int) p { return *this } func (this *pa) func2dots() p { return (*p).func3(this.func1()) } func (this *p) func3dots(f ...int) p { return *this }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 876 bytes - Viewed (0) -
src/runtime/pprof/pprof_test.go
t.Fatalf("sample value changed: got [%d, %d], want [%d, %d]", newContentions, newDelay, contentions, delay) } } func func1(c chan int) { <-c } func func2(c chan int) { <-c } func func3(c chan int) { <-c } func func4(c chan int) { <-c } func TestGoroutineCounts(t *testing.T) { // Setting GOMAXPROCS to 1 ensures we can force all goroutines to the // desired blocking point.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 68.8K bytes - Viewed (0) -
test/newinline.go
return x + z } bar := func(x int) int { // ERROR "func literal does not escape" "can inline r.func2" return x + func(y int) int { // ERROR "can inline r.func2.1" "can inline r.r.func2.func3" return 2*y + x*z }(x) // ERROR "inlining call to r.func2.1" } return foo(42) + bar(42) // ERROR "inlining call to r.func1" "inlining call to r.func2" "inlining call to r.r.func2.func3" } func s0(x int) int { // ERROR "can inline s0"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 16 20:15:25 UTC 2023 - 11.2K bytes - Viewed (0) -
src/runtime/example_test.go
if !more { break } } } b := func() { c() } a := func() { b() } a() // Output: // - more:true | runtime.Callers // - more:true | runtime_test.ExampleFrames.func1 // - more:true | runtime_test.ExampleFrames.func2 // - more:true | runtime_test.ExampleFrames.func3 // - more:true | runtime_test.ExampleFrames
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 18 22:05:09 UTC 2021 - 1.5K bytes - Viewed (0) -
platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/sourceset/SourceSetCompileDependenciesIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 3.8K bytes - Viewed (0) -
src/cmd/cgo/internal/testsanitizers/testdata/tsan3.go
/* #cgo CFLAGS: -fsanitize=thread #cgo LDFLAGS: -fsanitize=thread int Func1() { return 0; } void Func2(int x) { (void)x; } */ import "C" func main() { const N = 10000 done := make(chan bool, N) for i := 0; i < N; i++ { go func() { C.Func1() done <- true }() go func() { C.Func2(0) done <- true }() } for i := 0; i < 2*N; i++ { <-done }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 662 bytes - Viewed (0) -
test/typeparam/issue50485.dir/a.go
func (r Option[T]) OrElse(t T) T { if r.IsDefined() { return *r.v } return t } func (r Option[T]) Recover(f func() T) Option[T] { if r.IsDefined() { return r } t := f() return Option[T]{&t} } type Func1[A1, R any] func(a1 A1) R type Func2[A1, A2, R any] func(a1 A1, a2 A2) R func (r Func2[A1, A2, R]) Curried() Func1[A1, Func1[A2, R]] { return func(a1 A1) Func1[A2, R] {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 14 17:22:18 UTC 2023 - 4.4K bytes - Viewed (0) -
src/go/doc/example_test.go
} func TestClassifyExamples(t *testing.T) { const src = ` package p const Const1 = 0 var Var1 = 0 type ( Type1 int Type1_Foo int Type1_foo int type2 int Embed struct { Type1 } Uembed struct { type2 } ) func Func1() {} func Func1_Foo() {} func Func1_foo() {} func func2() {} func (Type1) Func1() {} func (Type1) Func1_Foo() {}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 10 16:17:51 UTC 2022 - 9.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/executor_tpuv1_island_inlining/executor_tpuv1_inline_tpu_island.mlir
%1 = "tf.opB"() : () -> tensor<f32> tf_executor.yield %1 : tensor<f32> } tf_executor.fetch %outputs_0 : tensor<f32> } func.return %0 : tensor<f32> } // CHECK-LABEL: func @func2 func.func @func2(%arg0: tensor<i1>) -> tensor<i1> { %0 = tf_executor.graph { %outputs, %control = tf_executor.island { %1 = "tf.opB"() : () -> tensor<f32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 25 11:03:04 UTC 2022 - 2.1K bytes - Viewed (0)