- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 280 for fast (1.95 sec)
-
src/test/java/jcifs/netbios/NameServiceClientImplTest.java
private NameServiceClientImpl nameServiceClient; @BeforeEach void setUp() throws UnknownHostException { // Configure mock context with fast timeouts when(mockContext.getConfig()).thenReturn(mockConfig); // Setup configuration with minimal timeouts for fast testing when(mockConfig.getNetbiosSoTimeout()).thenReturn(100); // Very short timeoutRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfoTest.java
NetworkInterfaceInfo basic = new NetworkInterfaceInfo(testAddress, 1000); assertEquals(1000, basic.getScore()); // Base score is link speed NetworkInterfaceInfo fast = new NetworkInterfaceInfo(testAddress, 10000); assertTrue(fast.getScore() > basic.getScore()); } @Test void testCapabilitySettings() { NetworkInterfaceInfo info = new NetworkInterfaceInfo(testAddress, 1000);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 4.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaCapability.java
RDMA_WRITE, /** * Traditional send/receive with RDMA */ RDMA_SEND_RECEIVE, /** * Dynamic memory registration */ MEMORY_REGISTRATION, /** * Fast memory region registration */ FAST_REGISTRATIONRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 1.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/CriticalPerformanceTest.java
System.out.printf(" Avg allocation time: %.2f ns%n", avgAllocTimeNs); System.out.printf(" Avg release time: %.2f ns%n", avgReleaseTimeNs); // Verify O(1) performance - should be reasonably fast (allowing for JVM overhead) assertTrue(avgAllocTimeNs < 10000, "Average allocation should be under 10000ns (O(1) performance)");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.3K bytes - Viewed (0) -
.github/workflows/codeql-analysis.yml
branches: [master] schedule: - cron: '0 11 * * 4' jobs: analyze: name: Analyze runs-on: ubuntu-latest strategy: fail-fast: false matrix: # Override automatic language detection by changing the below list # Supported options are ['csharp', 'cpp', 'go', 'java', 'javascript', 'python'] language: ['java']Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Nov 20 13:34:13 UTC 2025 - 2.1K bytes - Viewed (0) -
src/test/java/jcifs/util/transport/TransportTest.java
import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Test; import jcifs.RuntimeCIFSException; /** * Optimized test for Transport class focusing on core functionality * with fast execution and comprehensive coverage of key behaviors. */ class TransportTest { private TestableTransport transport; /** * Minimal Transport implementation for testing core functionality */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.5K bytes - Viewed (0) -
src/main/java/jcifs/audit/SecurityAuditLogger.java
return data; } // Performance optimization: skip expensive regex for high-frequency logging if (enableHighPerformanceMode) { // Fast path: only check for obvious patterns without regex String lowerData = data.toLowerCase(); if (!lowerData.contains("password") && !lowerData.contains("secret") && !lowerData.contains("token")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 26.6K bytes - Viewed (0) -
src/test/java/jcifs/util/SmbCircuitBreakerTest.java
cbWithMetrics.executeWithCircuitBreaker(() -> { try { Thread.sleep(100); } catch (InterruptedException e) {} return "fast"; }); cbWithMetrics.executeWithCircuitBreaker(() -> { try { Thread.sleep(200); } catch (InterruptedException e) {}
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 23.2K bytes - Viewed (0) -
src/test/java/jcifs/EmptyIteratorTest.java
long duration = endTime - startTime; // Then - should complete quickly (this is more of a performance indicator) assertTrue(duration < 1000, "Creating and using 10000 EmptyIterators should be fast (took " + duration + "ms)"); } @Test @DisplayName("EmptyIterator should work correctly in nested iteration") void testNestedIteration() { // When & ThenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbWatchHandleImplTest.java
when(handle.getFid()).thenReturn(fid); when(tree.send(any(CommonServerMessageBlockRequest.class), any(), any(), any())).thenReturn(resp); } // Ensures watch() fails fast if the underlying handle is invalid @Test @DisplayName("watch() throws when handle invalid") void watch_invalidHandle_throwsSmbException() throws Exception { when(handle.isValid()).thenReturn(false);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0)