- Sort Score
- Num 10 results
- Language All
Results 551 - 560 of 1,894 for Errors (0.17 seconds)
-
internal/logger/target/http/http.go
} select { case h.logCh <- entry: h.totalMessages.Add(1) case <-ctx.Done(): // return error only for context timedout. if errors.Is(ctx.Err(), context.DeadlineExceeded) { return ctx.Err() } return nil default: h.totalMessages.Add(1) h.failedMessages.Add(1) return errors.New("log buffer full") } return nil } // Cancel - cancels the target.Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 15.6K bytes - Click Count (0) -
cmd/postpolicyform_test.go
if err != nil { t.Fatal(err) } errStr := "" err = checkPostPolicy(tt.fv.Header, postPolicyForm) if err != nil { errStr = err.Error() } if errStr != tt.wantErr { t.Errorf("test: '%s', want error: '%s', got error: '%s'", tt.name, tt.wantErr, errStr) } }) }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 12.3K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfo.java
System.arraycopy(data, offset + 8, addr, 0, 16); return InetAddress.getByAddress(addr); } } catch (Exception e) { // Ignore parsing errors } return null; } private boolean checkRSSCapability() { // Platform-specific RSS detection - simplified implementation try {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 9.8K bytes - Click Count (0) -
docs/en/docs/tutorial/body.md
But adding the type annotations will allow your editor to give you better support and detect errors. /// ## Without Pydantic { #without-pydantic }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 6.5K bytes - Click Count (0) -
mockwebserver/README.md
testing everything. You can even copy & paste HTTP responses from your real web server to create representative test cases. Or test that your code survives in awkward-to-reproduce situations like 500 errors or slow-loading responses. ### Example Use MockWebServer the same way that you use mocking frameworks like [Mockito](https://github.com/mockito/mockito): 1. Script the mocks. 2. Run application code.
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Oct 30 21:39:59 GMT 2025 - 8.1K bytes - Click Count (0) -
cmd/object-api-multipart_test.go
if testCase.expectedError.Error() != actualErr.Error() { t.Errorf("Test %d: %s: Expected to fail with error \"%s\", but instead failed with error \"%s\" instead.", i+1, instanceType, testCase.expectedError.Error(), actualErr.Error()) } } // Test passes as expected, but the output values are verified for correctness here. if actualErr == nil && testCase.shouldPass {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 89.4K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/FluentFuture.java
* the {@link ExecutionException} thrown by {@code input.get()} or, if {@code get()} throws a * different kind of exception, that exception itself. To avoid hiding bugs and other * unrecoverable errors, callers should prefer more specific types, avoiding {@code * Throwable.class} in particular. * @param fallback the {@link Function} to be called if the input fails with the expectedCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 19.8K bytes - Click Count (0) -
tests/generics_test.go
t.Errorf("failed to find user, got error: %v", err) } else if len(users) != 2 { t.Errorf("should find 2 users, but got %d", len(users)) } sg.Done() }() } sg.Wait() } func TestGenericsWithTransaction(t *testing.T) { ctx := context.Background() tx := DB.Begin() if tx.Error != nil { t.Fatalf("failed to begin transaction: %v", tx.Error) }Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Tue Dec 30 08:11:14 GMT 2025 - 34.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java
threads[i].start(); } // Wait for all threads to complete for (Thread thread : threads) { thread.join(); } // Then - should complete without errors assertTrue(true, "Concurrent setFileId calls should complete without issues"); } @Test @DisplayName("Should handle file ID with special patterns") void testSpecialFileIdPatterns() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.9K bytes - Click Count (0) -
cmd/data-scanner.go
func scanDataFolder(ctx context.Context, disks []StorageAPI, drive *xlStorage, cache dataUsageCache, getSize getSizeFn, scanMode madmin.HealScanMode, weSleep func() bool) (dataUsageCache, error) { switch cache.Info.Name { case "", dataUsageRoot: return cache, errors.New("internal error: root scan attempted") } basePath := drive.drivePath updatePath, closeDisk := globalScannerMetrics.currentPathUpdater(basePath, cache.Info.Name) defer closeDisk()
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 45.5K bytes - Click Count (0)