- Sort Score
- Num 10 results
- Language All
Results 1101 - 1110 of 1,299 for else (0.02 seconds)
-
compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java
} @AfterEach void tearDown() throws Exception { if (origBasedir != null) { System.setProperty(MavenCli.MULTIMODULE_PROJECT_DIRECTORY, origBasedir); } else { System.getProperties().remove(MavenCli.MULTIMODULE_PROJECT_DIRECTORY); } } // Helper method for containsExactlyInAnyOrder assertionCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 30.9K bytes - Click Count (0) -
cmd/api-errors.go
case dns.ErrBucketConflict: apiErr = ErrBucketAlreadyExists default: if strings.Contains(err.Error(), "request declared a Content-Length") { apiErr = ErrIncompleteBody } else { apiErr = ErrInternalError } } return apiErr } var noError = APIError{} // toAPIError - Converts embedded errors. Convenience
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Apr 16 07:34:24 GMT 2025 - 93K bytes - Click Count (3) -
cmd/xl-storage_test.go
} var volInfos []VolInfo // TestXLStorage empty list vols. if volInfos, err = xlStorage.ListVols(t.Context()); err != nil { t.Fatalf("expected: <nil>, got: %s", err) } else if len(volInfos) != 1 { t.Fatalf("expected: one entry, got: %v", volInfos) } // TestXLStorage non-empty list vols. if err = xlStorage.MakeVol(t.Context(), "success-vol"); err != nil {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 66K bytes - Click Count (0) -
internal/ringbuffer/ring_buffer_test.go
t.Fatalf("got: %q; want: %q", err, io.ErrUnexpectedEOF) } for writeErr := range done { if writeErr != ErrWriteOnClosed { t.Errorf("got: %q; want: %q", writeErr, ErrWriteOnClosed) } else { t.Log("ok") } } result := string(buf[0:n]) if result != "hello" { t.Errorf("got: %q; want: %q", result, "hello") } } func timeout(after time.Duration) (cancel func()) {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 26.7K bytes - Click Count (0) -
internal/grid/grid_test.go
time.Sleep(time.Millisecond) } cancel() <-serverCanceled local.debugMsg(debugIsOutgoingClosed, st.muxID, func(closed bool) { if !closed { t.Error("expected outgoing closed") } else { t.Log("outgoing was closed") } }) // Drain responses and check if error propagated. err = st.Results(func(b []byte) error { return nil }) if !errors.Is(err, context.Canceled) {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 36.1K bytes - Click Count (0) -
cmd/metacache-entries_test.go
org := loadMetacacheSampleEntries(t) a, b := org.shallowClone(), org.shallowClone() be := b.entries() for i := range be { // Modify b so it isn't deduplicated. be[i].metadata = []byte("something-else") } // Merge b into a a.merge(b, -1) //nolint:gocritic want := append(loadMetacacheSampleNames, loadMetacacheSampleNames...) sort.Strings(want) got := a.entries().names() if len(got) != len(want) {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 31.6K bytes - Click Count (0) -
tests/test_include_router_defaults_overrides.py
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 358.6K bytes - Click Count (0) -
doc/go_mem.html
</p> <p> If the channel were buffered (e.g., <code>c = make(chan int, 1)</code>) then the program would not be guaranteed to print <code>"hello, world"</code>. (It might print the empty string, crash, or do something else.) </p> <p class="rule"> The <i>k</i>th receive from a channel with capacity <i>C</i> is synchronized before the completion of the <i>k</i>+<i>C</i>th send on that channel. </p> <p>
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Aug 05 15:41:37 GMT 2025 - 26.6K bytes - Click Count (0) -
internal/bucket/lifecycle/lifecycle_test.go
if expectedDue, _ := lc.Rules[tc.transRuleID].Transition.NextDue(tc.obj); !strings.Contains(transHdrs[0], expectedDue.Format(http.TimeFormat)) { t.Fatalf("Test %d: Expected transition time %s", i+1, expectedDue) } } else { if expectedDue, _ := lc.Rules[tc.transRuleID].NoncurrentVersionTransition.NextDue(tc.obj); !strings.Contains(transHdrs[0], expectedDue.Format(http.TimeFormat)) {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 55.5K bytes - Click Count (0) -
fastapi/applications.py
) self.exception_handlers: dict[ Any, Callable[[Request, Any], Union[Response, Awaitable[Response]]] ] = {} if exception_handlers is None else dict(exception_handlers) self.exception_handlers.setdefault(HTTPException, http_exception_handler) self.exception_handlers.setdefault( RequestValidationError, request_validation_exception_handlerCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 176.3K bytes - Click Count (0)