- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 55 for Towers (0.38 sec)
-
src/test/java/jcifs/smb/SmbTransportPoolImplTest.java
// Mock transports SmbTransportImpl trans1 = mock(SmbTransportImpl.class); SmbTransportImpl trans2 = mock(SmbTransportImpl.class); // trans2 fails first (lower fail count, tried first), trans1 succeeds when(trans2.unwrap(SmbTransportImpl.class)).thenReturn(trans2); when(trans2.ensureConnected()).thenThrow(new IOException("Connection failed"));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/smb/SmbResourceLocatorImplTest.java
assertTrue(locator("smb://server/").isIPC()); assertFalse(locator("smb://server/share/").isIPC()); } @Test @DisplayName("Type detection covers filesystem/share/IPC/workgroup/server") void testGetType() throws Exception { // Filesystem when there is a path beyond share
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/net/protocol/storage/HandlerTest.java
import org.codelibs.fess.crawler.container.StandardCrawlerContainer; import org.dbflute.utflute.core.PlainTestCase; /** * Test class for {@link Handler} and its inner class {@link Handler.StorageURLConnection}. * This test covers URL parsing, connection state management, and thread-safety. */ public class HandlerTest extends PlainTestCase { @Override protected void setUp() throws Exception { super.setUp();Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 08:38:29 UTC 2025 - 14.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java
assertEquals(600L, SMBUtil.readInt8(buffer, 56)); assertEquals(4, SMBUtil.readInt4(buffer, 64)); } @Test @DisplayName("Should handle power of two values") void testPowerOfTwoValues() { long powerOfTwoOffset = 1L << 32; // 2^32 long powerOfTwoLength = 1L << 16; // 2^16 int powerOfTwoFlags = 1 << 8; // 2^8
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java
assertTrue(str.contains(specialRemark)); } @Test @DisplayName("Test type masking with 0xFFFF") void testTypeMasking() { // Test that only lower 16 bits are considered for type determination int typeWithUpperBits = 0xFFFF0001; // Should be treated as type 1 (printer) SmbShareInfo info = new SmbShareInfo(TEST_NET_NAME, typeWithUpperBits, TEST_REMARK);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeHandleImplTest.java
verify(treeConnection).getConnectedShare(); } @Test @DisplayName("isSameTree: different types and delegated compare") void isSameTreeCoversBranches() { // Covers non-impl (false) and impl path delegating to connection comparison // Not an impl -> false assertFalse(handle.isSameTree(mock(SmbTreeHandle.class))); // Impl case delegates to treeConnection.isSame
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java
/** * Creates a NetBIOS session message header. * The header format is: * - Byte 0: Message type (0x00 for SESSION_MESSAGE) * - Byte 1: High bit of 17-bit length field * - Bytes 2-3: Lower 16 bits of length field */ private static byte[] messageHeader(int length) { byte[] h = new byte[4]; h[0] = (byte) SessionServicePacket.SESSION_MESSAGE; h[1] = (byte) ((length >> 16) & 0x01);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
LICENSE
other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of theRegistered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Fri Apr 18 13:54:00 UTC 2025 - 11.1K bytes - Viewed (0) -
LICENSE
other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of theRegistered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Jun 14 07:45:22 UTC 2018 - 11.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SearchLogHelper.java
// source.put("version_no", searchLogEvent.getVersionNo()); source.put("event_type", searchLogEvent.getEventType()); return source; } /** * Converts a map to lower hyphen case. * * @param source The source map. * @return The converted map. */ protected Map<String, Object> toLowerHyphen(final Map<String, Object> source) { return source.entrySet()
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 26.4K bytes - Viewed (0)