- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 213 for retVal (0.03 sec)
-
src/main/java/org/codelibs/core/exception/SQLRuntimeException.java
if (cause instanceof ClSQLException) { return ((ClSQLException) cause).getSql(); } return ""; } /** * Returns the real message. * * @param cause the underlying exception * @return the real message */ protected static String getRealMessage(final SQLException cause) { final StringBuilder buf = new StringBuilder(256);
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 2.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/concurrent/TaskRunnerRealBackendTest.kt
import org.junit.jupiter.api.AfterEach import org.junit.jupiter.api.Tag import org.junit.jupiter.api.Test /** * Integration test to confirm that [TaskRunner] works with a real backend. Business logic is all * exercised by [TaskRunnerTest]. * * This test is doing real sleeping with tolerances of 250 ms. Hopefully that's enough for even the * busiest of CI servers. */ @Tag("Slowish") class TaskRunnerRealBackendTest {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 3.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/witness/MockWitnessService.java
* * @param eventType the event type * @param resourceName the resource name */ public void sendNotification(WitnessEventType eventType, String resourceName) { // In a real implementation, this would send notifications to registered clients // For the mock, we just log it log.info("Mock sending notification: {} for resource: {}", eventType, resourceName);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 8.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaConnection.java
// TCP fallback doesn't support real RDMA read throw new UnsupportedOperationException("RDMA read not supported by TCP fallback"); } @Override public void rdmaWrite(RdmaMemoryRegion localRegion, long remoteAddress, int remoteKey, int length) throws IOException { // TCP fallback doesn't support real RDMA write
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 8.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportPoolImplTest.java
// When: Request another connection // Note: Real SmbTransportImpl will report as disconnected without actual socket SmbTransportImpl second = testPool.getSmbTransport(ctx, address, 445, false); // Then: Will create new connection since real transport has no socket assertNotSame(first, second, "Should create new connection when first is disconnected");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 19.2K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/builder/RequestDataBuilderTest.java
RequestData data = RequestDataBuilder.newRequestData().url(null).build(); assertNull(data.getUrl()); } public void test_realWorldUsageExample1() { // Real-world example: crawling a web page RequestData data = RequestDataBuilder.newRequestData().get().url("https://example.com/article/12345").weight(1.0f).build(); assertNotNull(data);
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/MsrpcEnumerateAliasesInDomainTest.java
assertEquals(expectedFlags, msrpc.getFlags(), "The 'flags' field should be initialized to DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG."); // Although we cannot directly verify the super constructor call with Mockito for a real class, // we can infer its correct behavior if the object is successfully constructed and its own fields are correct. // The super constructor is called with (domainHandle, 0, acct_flags, null, 0)
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComCloseTest.java
// We can't verify the exact bytes without a real implementation of writeUTime, // but we can check that it's not zero. long writtenTime = SMBUtil.readInt4(dst, 2) & 0xFFFFFFFFL; // This is a weak check, but better than nothing. // A more robust test would require a real SMB1SigningDigest. assertTrue(writtenTime != 0 || lastWriteTime == 0); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java
mocks = MockitoAnnotations.openMocks(this); when(context.getConfig()).thenReturn(config); when(config.isDirectoryNotificationsEnabled()).thenReturn(false); // Create real lease manager for integration testing baseLeaseManager = new LeaseManager(context); directoryLeaseManager = new DirectoryLeaseManager(context, baseLeaseManager); } @AfterEach
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 14.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java
try { // Note: Actual SMB2 Change Notify implementation would go here // For now, this is a placeholder that simulates monitoring // In a real implementation, we would: // 1. Send SMB2 Change Notify request // 2. Wait for response // 3. Process changes // 4. Notify the lease managerRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 13.7K bytes - Viewed (0)