- Sort Score
- Num 10 results
- Language All
Results 331 - 340 of 2,257 for error (0.02 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
internal/event/name_test.go
} for i, testCase := range testCases { data, err := xml.Marshal(testCase.name) expectErr := (err != nil) if expectErr != testCase.expectErr { t.Fatalf("test %v: error: expected: %v, got: %v", i+1, testCase.expectErr, expectErr) } if !testCase.expectErr { if !reflect.DeepEqual(data, testCase.expectedData) {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed May 01 01:11:10 GMT 2024 - 7.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/index/SuggestIndexResponseTest.java
} @Test public void test_constructorWithErrors() throws Exception { List<Throwable> errors = new ArrayList<>(); errors.add(new Exception("Test error 1")); errors.add(new Exception("Test error 2")); SuggestIndexResponse response = new SuggestIndexResponse(10, 5, errors, 100); assertNotNull(response); assertEquals(10, response.getNumberOfSuggestDocs());Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Thu Nov 13 00:40:54 GMT 2025 - 4.2K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/ndr/NdrException.java
/** * Error message for invalid array conformance. */ public static final String INVALID_CONFORMANCE = "invalid array conformance"; /** * Constructs an NdrException with the specified error message. * * @param msg the error message */ public NdrException(final String msg) { super(msg); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.7K bytes - Click Count (1) -
src/test/java/jcifs/smb/SmbExceptionTest.java
} @Test @DisplayName("Should create SmbException with message") void testSmbExceptionWithMessage() { // Given String message = "Custom error message"; // When SmbException exception = new SmbException(message); // Then assertNotNull(exception); assertEquals(message, exception.getMessage()); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/timer/LogNotificationTargetTest.java
@Test public void test_expired_withEvents_drainsBuffer() { // Add events to buffer ComponentUtil.getLogNotificationHelper() .offer(new LogNotificationEvent(System.currentTimeMillis(), "ERROR", "org.test", "msg1", null)); ComponentUtil.getLogNotificationHelper() .offer(new LogNotificationEvent(System.currentTimeMillis(), "WARN", "org.test", "msg2", null));Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 4.7K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java
return buffer.toString(); } private void writeLastUpdated(File touchfile, String key, String error) { HashMap<String, String> update = new HashMap<>(); update.put(key, Long.toString(System.currentTimeMillis())); update.put(key + ERROR_KEY_SUFFIX, error); // error==null => remove mapping trackingFileManager.update(touchfile, update); }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Dec 16 13:41:14 GMT 2025 - 9.4K bytes - Click Count (0) -
docs/sts/web-identity.go
clnt, err := minio.New(u.Host, opts) if err != nil { log.Println(fmt.Errorf("Error while initializing Minio client, %s", err)) http.Error(w, err.Error(), http.StatusBadRequest) return } buckets, err := clnt.ListBuckets(r.Context()) if err != nil { log.Println(fmt.Errorf("Error while listing buckets, %s", err)) http.Error(w, err.Error(), http.StatusBadRequest) return } creds, _ := sts.Get()
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri May 19 09:13:33 GMT 2023 - 7.8K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/SamrPolicyHandleTest.java
String server = "testServer"; int access = 123; int errorRetval = 12345; // Simulate an error code // Setup for successful constructor doNothing().when(mockHandle).sendrecv(any(MsrpcSamrConnect4.class)); // Setup for close to return an error ArgumentCaptor<MsrpcSamrCloseHandle> closeCaptor = ArgumentCaptor.forClass(MsrpcSamrCloseHandle.class);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.4K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbSessionImpl.java
}).exceptionally(error -> { log.error("Failed to register for witness notifications", error); return null; }); } catch (Exception e) { log.error("Error registering for witness notifications", e); } } /**
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 68.9K bytes - Click Count (0) -
src/main/java/jcifs/pac/PacDataInputStream.java
* @throws IOException if an I/O error occurs */ public PacDataInputStream(final InputStream in) throws IOException { this.dis = new DataInputStream(in); this.size = in.available(); } /** * Aligns the stream position to the specified boundary. * @param mask the alignment mask (typically 2, 4, or 8) * @throws IOException if an I/O error occurs */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.9K bytes - Click Count (0)