- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 200 for wrapseed (0.18 sec)
-
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) -
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) -
platforms/core-runtime/build-operations/src/main/java/org/gradle/internal/operations/BuildOperationRunner.java
* Checked exceptions are wrapped in {@link BuildOperationInvocationException}.</p> */ void run(RunnableBuildOperation buildOperation); /** * Calls the given build operation, returns the result. * * <p>Rethrows any exception thrown by the action. * Runtime exceptions are rethrown as is. * Checked exceptions are wrapped in {@link BuildOperationInvocationException}.</p> */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 25 14:54:57 UTC 2024 - 2.5K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java
() -> new ClassSanityTester().doTestEquals(SetWrapper.class)); } private abstract static class Wrapper { private final Object wrapped; Wrapper(Object wrapped) { this.wrapped = checkNotNull(wrapped); } @Override public boolean equals(@Nullable Object obj) { // In general getClass().isInstance() is bad for equals.
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 36.2K bytes - Viewed (0) -
doc/next/6-stdlib/99-minor/database/sql/64707.md
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 12 20:57:18 UTC 2024 - 160 bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/discovery/aggregated/wrapper_test.go
unaggregated := fakeHTTPHandler{data: "unaggregated"} aggregated := fakeHTTPHandler{data: "aggregated"} wrapped := WrapAggregatedDiscoveryToHandler(unaggregated, aggregated) testCases := []struct { accept string expected string }{ {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 3.4K bytes - Viewed (0) -
src/testing/fstest/testfs_test.go
} func TestTestFSWrappedErrors(t *testing.T) { err := TestFS(failPermFS{}) if err == nil { t.Fatal("error expected") } t.Logf("Error (expecting wrapped fs.ErrPermission):\n%v", err) if !errors.Is(err, fs.ErrPermission) { t.Errorf("error should be a wrapped ErrPermission: %#v", err) } // TestFS is expected to return a list of errors. // Enforce that the list can be extracted for browsing.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 2.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/sparsecore_passes.td
after a _TPUCompileMlir op if there is no predecessor _TPUCompileMlir op. Both the embedding op and compile op are assumed to be wrapped in separate tf_device.launch() ops. This is because the embedding op is head outside compiled and the compile op is wrapped in launch to execute on host during TPURewritePass. For example, the tf.OpA with the `mini_batch_splits` attribute will be
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 28 23:42:09 UTC 2024 - 3.9K bytes - Viewed (0)