- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 294 for wrapseed (0.13 sec)
-
src/errors/errors.go
// indicates that e does not wrap any error. It is invalid for an // Unwrap method to return an []error containing a nil error value. // // An easy way to create wrapped errors is to call [fmt.Errorf] and apply // the %w verb to the error argument: // // wrapsErr := fmt.Errorf("... %w ...", ..., err, ...) // // Successive unwrapping of an error creates a tree. The [Is] and [As]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 02 19:45:41 UTC 2023 - 2.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/raise-custom-ops.mlir
// WRAPPED-NEXT: tf_executor.graph { // WRAPPED-NEXT: tf_executor.island wraps "tf.Const"() <{value = dense<1.000000e+00> : tensor<186xf32>}> {device = ""} : () -> tensor<186xf32> // WRAPPED-NEXT: tf_executor.island wraps "tf.Const"() <{value = dense<2.000000e+00> : tensor<186xf32>}> {device = ""} : () -> tensor<186xf32> // WRAPPED-NEXT: tf_executor.island wraps "tfl.custom_tf"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 4K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r85/TestFailureProgressEventCrossVersionTest.groovy
collector.failures.size() == 1 collector.failures[0] instanceof TestAssertionFailure TestAssertionFailure failure = collector.failures[0] failure.message == "This is a wrapped assertion error" } def "Wrapped assertion errors are emitted as test failure events using JUnit 5"() { given: setupJUnit5() file('src/test/java/org/gradle/JUnitTest.java') << ''' package org.gradle;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Nov 10 17:52:51 UTC 2023 - 12.8K bytes - Viewed (0) -
src/errors/wrap_test.go
b.Fatal("As failed") } } } func TestUnwrap(t *testing.T) { err1 := errors.New("1") erra := wrapped{"wrap 2", err1} testCases := []struct { err error want error }{ {nil, nil}, {wrapped{"wrapped", nil}, nil}, {err1, nil}, {erra, err1}, {wrapped{"wrap 3", erra}, erra}, } for _, tc := range testCases { if got := errors.Unwrap(tc.err); got != tc.want {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 22:49:49 UTC 2024 - 6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/discovery/aggregated/wrapper.go
if IsAggregatedDiscoveryGVK(mediaType.Convert) { wrapped.aggHandler.ServeHTTP(resp, req) return } } wrapped.handler.ServeHTTP(resp, req) } func (wrapped *WrappedHandler) restfulHandle(req *restful.Request, resp *restful.Response) { wrapped.ServeHTTP(resp.ResponseWriter, req.Request) } func (wrapped *WrappedHandler) GenerateWebService(prefix string, returnType interface{}) *restful.WebService {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 18:15:22 UTC 2024 - 2.9K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/changes/DefaultExecutionStateChangeDetector.java
} private static InputFileChanges caching(InputFileChanges wrapped) { CachingChangeContainer cachingChangeContainer = new CachingChangeContainer(MAX_OUT_OF_DATE_MESSAGES, wrapped); return new InputFileChangesWrapper(wrapped, cachingChangeContainer); } private static ChangeContainer errorHandling(Describable executable, ChangeContainer wrapped) { return new ErrorHandlingChangeContainer(executable, wrapped);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 16:02:34 UTC 2024 - 8.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/device_attribute_to_launch.mlir
} // Tests that single TensorFlow op with no device attribute is not wrapped in `tf_device.launch`. // CHECK-LABEL: func @no_device_attribute func.func @no_device_attribute() { // CHECK-NOT: "tf_device.launch" // CHECK: "tf.opA" "tf.opA"() : () -> tensor<i1> func.return } // Tests that single TensorFlow op with empty device attribute is not wrapped in `tf_device.launch`. // CHECK-LABEL: func @empty_device_attribute
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 31 08:59:10 UTC 2023 - 1.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/filterlatency/filterlatency_test.go
callCount++ }) // wrap with start and completed handler wrapped := TrackCompleted(handler) wrapped = TrackStarted(wrapped, tp, filterName) testRequest, err := http.NewRequest(http.MethodGet, "/api/v1/namespaces", nil) if err != nil { t.Fatalf("failed to create new http request - %v", err) } wrapped.ServeHTTP(httptest.NewRecorder(), testRequest) if callCount != 1 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 17:57:37 UTC 2024 - 7.1K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/api/errors/errors_test.go
t.Errorf("expected cause, got %v: %#v", ok, cause) } wrapped := fmt.Errorf("once: %w", err) if cause, ok := StatusCause(wrapped, "SomeCause"); !ok || cause != err.ErrStatus.Details.Causes[0] { t.Errorf("expected cause when wrapped, got %v: %#v", ok, cause) } nested := fmt.Errorf("twice: %w", wrapped) if cause, ok := StatusCause(nested, "SomeCause"); !ok || cause != err.ErrStatus.Details.Causes[0] {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Oct 28 07:31:28 UTC 2023 - 19.5K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/ErroringAction.java
* * Implementations implement doExecute() (instead of execute()) which is allowed to throw checked exceptions. * Any checked exceptions thrown will be wrapped as unchecked exceptions and re-thrown. * * How the exception is wrapped is subject to {@link UncheckedException#throwAsUncheckedException(Throwable)}. * * @param <T> The type of object which this action accepts. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 1.4K bytes - Viewed (0)