- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 201 for acceptPK (2.56 sec)
-
src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java
digest.sign(data, 0, data.length, request, response); // If no exception is thrown, accept graceful handling assertTrue(true, "Sign operation after wipe should either throw exception or handle gracefully"); } catch (RuntimeException e) { // Accept any runtime exception that indicates the digest is unusable
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 43.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/LogStreamTest.java
} @Test void testNullStreamHandling() { // Test that passing null to setInstance throws NullPointerException // This is expected behavior as PrintStream doesn't accept null assertThrows(NullPointerException.class, () -> { LogStream.setInstance(null); }); } @Test void testPrintStreamDelegation() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/ThreadDumpUtil.java
for (final Map.Entry<Thread, StackTraceElement[]> entry : Thread.getAllStackTraces().entrySet()) { writer.accept("Thread: " + entry.getKey()); final StackTraceElement[] trace = entry.getValue(); for (final StackTraceElement element : trace) { writer.accept("\tat " + element); } } }
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 3.3K bytes - Viewed (0) -
src/main/java/jcifs/ResourceNameFilter.java
* @param name the resource name to test * @return whether the given filename should be included * @throws CIFSException if an error occurs while accessing the resource */ boolean accept(SmbResource parent, String name) throws CIFSException;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFileFilter.java
* * @param file the SMB file to test for inclusion * @return true if the file should be included, false otherwise * @throws SmbException if an error occurs while accessing the file */ boolean accept(SmbFile file) throws SmbException;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.3K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/io/IOIntegrationTest.java
public void connect(Consumer<HttpURLConnection> actionListener, Consumer<Exception> exceptionListener) { try { actionListener.accept(new MockHttpURLConnection(new URL(url))); } catch (MalformedURLException e) { exceptionListener.accept(e); } } } class MockHttpURLConnection extends HttpURLConnection { MockHttpURLConnection(URL u) {
Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Sat May 10 01:44:04 UTC 2025 - 3.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/WinErrorTest.java
Arguments.of(WinError.ERROR_REQ_NOT_ACCEP, "No more connections can be made to this remote computer at this time because there are already as many connections as the computer can accept."), Arguments.of(WinError.ERROR_BAD_PIPE, "The pipe state is invalid."), Arguments.of(WinError.ERROR_PIPE_BUSY, "All pipe instances are busy."),
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/NetServerEnumIteratorTest.java
// Given: A filter that rejects everything when(locator.getType()).thenReturn(SmbConstants.TYPE_WORKGROUP); when(locator.getURL()).thenReturn(createSmbURL("smb://")); when(nameFilter.accept(any(SmbResource.class), anyString())).thenReturn(false); // Mock response with one entry when(treeHandle.send(any(), any(), (RequestParam[]) any())).thenAnswer(invocation -> {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSetInformationResponseTest.java
// Setup mock configuration to avoid NPE when(mockConfig.getPid()).thenReturn(12345); response = new SmbComSetInformationResponse(mockConfig); } @Test @DisplayName("Constructor accepts valid config") void constructorValid() { assertDoesNotThrow(() -> new SmbComSetInformationResponse(mockConfig)); } @Nested @DisplayName("writeParameterWordsWireFormat tests")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 4.1K bytes - Viewed (0) -
README.md
import org.codelibs.curl.Curl; import org.codelibs.curl.CurlResponse; try (CurlResponse response = Curl.get("https://example.com") .param("q", "curl4j") .header("Accept", "application/json") .execute()) { System.out.println("Status: " + response.getHttpStatusCode()); System.out.println(response.getContentAsString()); } ```
Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Nov 20 13:34:13 UTC 2025 - 2.5K bytes - Viewed (0)