- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 36 for 445 (0.01 sec)
-
src/test/java/jcifs/smb/SmbTransportPoolImplTest.java
void testPooledVsNonPooledConnections() { // When: Create pooled and non-pooled connections SmbTransportImpl pooled = pool.getSmbTransport(ctx, address, 445, false); SmbTransportImpl nonPooled = pool.getSmbTransport(ctx, address, 445, true); // Then: Pool should track pooled but not non-pooled assertTrue(pool.contains(pooled), "Pooled connection should be tracked");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 19.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/HandlerTest.java
} } @Test @DisplayName("getDefaultPort returns SMB default port 445") void testGetDefaultPort() { // Act int port = handler.getDefaultPort(); // Assert assertEquals(445, port); assertEquals(SmbConstants.DEFAULT_PORT, port); } @Test @DisplayName("openConnection creates SmbFile for valid URL")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbSessionTest.java
transport.server = serverData; smbtStatic = mockStatic(SmbTransport.class); smbtStatic.when(() -> SmbTransport.getSmbTransport(addr, 445, inet, 0, null)).thenReturn(transport); smbtStatic.when(() -> SmbTransport.getSmbTransport(addr, 445)).thenReturn(transport); } @AfterEach void tearDown() { if (smbtStatic != null) { smbtStatic.close(); } }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaProviderTest.java
} @Test public void testCreateConnection() throws Exception { InetSocketAddress remote = new InetSocketAddress("localhost", 445); InetSocketAddress local = null; RdmaConnection connection = provider.createConnection(remote, local); assertNotNull(connection, "Connection should not be null");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 4.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java
String id = SuggestUtil.createSuggestTextId(text); assertNotNull(id); // Should be exactly 445 or less assertTrue(id.length() <= 445); } @Test public void testCreateSuggestTextIdBoundaryJustUnder445() { // Create text that encodes to just under 445 characters StringBuilder sb = new StringBuilder(); for (int i = 0; i < 300; i++) {
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 26.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportImplTest.java
when(address.getHostName()).thenReturn("localhost"); // Create the transport with safe defaults (no real sockets) transport = new SmbTransportImpl(ctx, address, 445, null, 0, false); // Reset MID to a known starting point for deterministic behavior setField(transport, "mid", new AtomicLong()); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java
* - rdma.test.port=445 (target port, defaults to 445) */ public class RdmaIntegrationTest { private String testServer; private int testPort; private CIFSContext testContext; @BeforeEach public void setUp() throws Exception { testServer = System.getProperty("rdma.test.server"); String portStr = System.getProperty("rdma.test.port", "445");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 13.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/MultiChannelIntegrationTest.java
InetAddress remoteAddr = InetAddress.getByName("192.168.1.100"); NetworkInterfaceInfo localNic = new NetworkInterfaceInfo(localAddr, 1); NetworkInterfaceInfo remoteNic = new NetworkInterfaceInfo(remoteAddr, 445); // Mock transport doesn't have isConnected, but we can work around it ChannelInfo channel = new ChannelInfo("test-channel", mockTransport, localNic, remoteNic);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 8.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfo.java
} if (ipv6) { // IPv6 sockaddr_in6 structure (Windows AF_INET6 = 23) SMBUtil.writeInt2(23, buffer, offset); // sa_family: AF_INET6 SMBUtil.writeInt2(445, buffer, offset + 2); // sin6_port SMBUtil.writeInt4(0, buffer, offset + 4); // sin6_flowinfo System.arraycopy(address.getAddress(), 0, buffer, offset + 8, 16); // sin6_addrRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 9.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/HandlerTest.java
static Stream<Arguments> portSpecs() { return Stream.of( // spec, expectedPort Arguments.of("smb://server/share", SmbConstants.DEFAULT_PORT), Arguments.of("smb://server:445/share", 445), Arguments.of("smb://server:139/share", 139)); } @ParameterizedTest(name = "parseURL: {0} -> port {1}") @MethodSource("portSpecs")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.8K bytes - Viewed (0)