- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 55 for resultCh (2.32 sec)
-
staging/src/k8s.io/apimachinery/pkg/util/runtime/runtime_test.go
defer func() { PanicHandlers = old }() var result interface{} PanicHandlers = []func(context.Context, interface{}){ func(_ context.Context, r interface{}) { result = r }, } func() { defer func() { if x := recover(); x == nil { t.Errorf("Expected a panic to recover from") } }() defer HandleCrash() panic("test") }() if result != "test" { t.Errorf("did not receive custom handler")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 26 16:28:45 UTC 2024 - 4.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/filters/timeout.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 26 16:28:45 UTC 2024 - 8.9K bytes - Viewed (0) -
src/internal/singleflight/singleflight_test.go
t.Errorf("After first goroutine finished, key %q is still shared, should return false", key) } secondCh <- struct{}{} if result := <-resultCh; result.Val != 2 { t.Errorf("We should receive result produced by second call, expected: 2, got %d", result.Val) } } func TestDoAndForgetUnsharedRace(t *testing.T) { t.Parallel() var g Group key := "key" d := time.Millisecond for {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 29 22:21:50 UTC 2023 - 3.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/constant_op_device_assignment.mlir
func.func @replace_const_op_test() { // CHECK-NEXT: %[[RESULT_0:.*]] = "tf.Const"() <{value = dense<2.000000e+00> : tensor<f32>}> {device = "/job:worker/replica:0/task:0/device:CPU:1"} // CHECK-NEXT: %[[RESULT_1:.*]] = "tf.Const"() <{value = dense<2.000000e+00> : tensor<f32>}> {device = "/job:worker/replica:0/task:0/device:CPU:0"} // CHECK-NEXT: %[[RESULT_2:.*]] = "tf.AddV2"(%[[RESULT_1]], %[[RESULT_1]]) {device = "/job:worker/replica:0/task:0/device:CPU:0"}
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 1.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/cluster_tf_ops_pass.mlir
// CHECK-NEXT: %[[RESULT_0:.*]] = "tf.Const"() // CHECK-NEXT: %[[RESULT_1:.*]] = "tf.AddV2"(%[[ARG_0]], %[[RESULT_0]]) // CHECK-NEXT: %[[RESULT_2:.*]] = "tf.Const"() <{value = dense<16> : tensor<i32>}> : () -> tensor<i32> // CHECK-NEXT: tf_device.send %[[RESULT_2]] "key-0" "/job:worker/replica:0/task:1/device:CPU:0"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 5.6K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/results/DefaultVisitedGraphResultsTest.groovy
def results3 = new DefaultVisitedGraphResults(resolutionResult, Collections.emptySet(), resolveEx) def results4 = new DefaultVisitedGraphResults(resolutionResult, Collections.singleton(unresolved), resolveEx) expect: visitFailures(results1) == [] visitFailures(results2) == [throwable] visitFailures(results3) == [resolveEx] visitFailures(results4) == [throwable, resolveEx] }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 23 17:30:13 UTC 2024 - 3.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/borrowing_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 30 12:18:40 UTC 2023 - 9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/tests/tfrt_fallback/batching_fallback.mlir
// CHECK: Tensor<type: int32 shape: [2,2] values: [4 4] %ch1 = "tfrt_fallback_async.print_tensor"(%result_1, %ch0) : (!tfrt_fallback.tf_tensor, !tfrt.chain) -> !tfrt.chain // CHECK: Tensor<type: int32 shape: [2,2] values: [6 6] %ch2 = "tfrt_fallback_async.print_tensor"(%result_2, %ch1) : (!tfrt_fallback.tf_tensor, !tfrt.chain) -> !tfrt.chain tfrt.return %ch2 : !tfrt.chain }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jul 18 22:58:56 UTC 2023 - 8.6K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/Result.java
} return new Result<>(result.hasErrors() || hasErrors(problems), result.get(), list); } public static <T> Result<T> addProblems(Result<T> result, Result<?>... results) { final List<ModelProblem> problemsList = new ArrayList<>(); for (Result<?> result1 : results) { for (ModelProblem modelProblem : result1.getProblems()) { problemsList.add(modelProblem);
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Apr 12 10:50:18 UTC 2024 - 6.8K bytes - Viewed (0) -
platforms/core-runtime/daemon-protocol/src/main/java/org/gradle/launcher/daemon/protocol/Result.java
* <p> * The meaning of the value parameter is specific to each concrete subclass. The validity of {@code null} * is also to be defined by each subclass. This implementation does allow null values. * * <p>The result is the last message sent from the daemon back to the daemon client. */ public abstract class Result<T> extends Message { private final T value;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 09 04:50:46 UTC 2024 - 1.4K bytes - Viewed (0)