- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 46 for getLong (2.72 sec)
-
src/main/java/jcifs/smb1/smb1/SmbFile.java
Class.forName("jcifs.smb1.Config"); } catch (final ClassNotFoundException cnfe) { logger.error("Failed to load jcifs.smb1.Config class", cnfe); } attrExpirationPeriod = Config.getLong("jcifs.smb1.smb.client.attrExpirationPeriod", DEFAULT_ATTR_EXPIRATION_PERIOD); ignoreCopyToException = Config.getBoolean("jcifs.smb1.smb.client.ignoreCopyToException", true); dfs = new Dfs(); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 112.2K bytes - Viewed (0) -
src/test/java/jcifs/SIDTest.java
@Test void testToDisplayStringUnresolved() throws SmbException { SID sid = new SID(adminSidString); assertEquals(adminSidString, sid.toDisplayString()); } /** * Test getting the domain SID. * * @throws SmbException if the SID string is invalid */ @Test void testGetDomainSid() throws SmbException { // Create a mock RPC SID to simulate a user SIDRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/ServerDataTest.java
assertEquals(0, serverData.encryptionKeyLength); assertNull(serverData.encryptionKey); assertNull(serverData.guid); } /** * Test setting and getting byte field (sflags) */ @ParameterizedTest @ValueSource(bytes = { 0x00, 0x01, 0x7F, (byte) 0x80, (byte) 0xFF }) @DisplayName("Test sflags field with various byte values")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/NtlmMessageTest.java
} @Test void testGetAndSetFlags() { // Test setting and getting flags int testFlags = 0x12345678; message.setFlags(testFlags); assertEquals(testFlags, message.getFlags(), "Flags should be set and retrieved correctly."); } @Test void testGetFlag() { // Test getting individual flags message.setFlags(0b1010); // Set flags: 8 (0x8) and 2 (0x2)Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/main/java/jcifs/SmbPipeHandle.java
* * @return this pipe's input stream * @throws CIFSException if an error occurs getting the input stream */ InputStream getInput() throws CIFSException; /** * Gets the output stream for writing to this pipe. * * @return this pipe's output stream * @throws CIFSException if an error occurs getting the output stream */ OutputStream getOutput() throws CIFSException; /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/LogStreamTest.java
// Test getInstance when no instance has been set // Should default to System.err LogStream instance = LogStream.getInstance(); assertNotNull(instance); // Getting instance again should return the same instance LogStream instance2 = LogStream.getInstance(); assertSame(instance, instance2); } @Test void testSetInstanceAndGetInstance() {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/test/java/jcifs/SmbPipeHandleTest.java
} /** * Tests that the getter for the input stream returns the correct stream. * @throws CIFSException if an error occurs while getting the stream. */ @Test public void testGetInputStream() throws CIFSException { assertEquals(mockInputStream, smbPipeHandle.getInput(), "getInput() should return the correct input stream."); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/InfoTest.java
fileAttr.setInt(resp, 0xABCD); java.lang.reflect.Field lastWrite = SmbComQueryInformationResponse.class.getDeclaredField("lastWriteTime"); lastWrite.setAccessible(true); lastWrite.setLong(resp, 1630000000000L); java.lang.reflect.Field size = SmbComQueryInformationResponse.class.getDeclaredField("fileSize"); size.setAccessible(true); size.setInt(resp, 2048);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/impl/LogHelperImpl.java
* </p> * <ul> * <li>Starting and finishing threads</li> * <li>Starting and cleaning up crawling</li> * <li>Handling unsupported URLs</li> * <li>Checking last modified dates</li> * <li>Getting content</li> * <li>Handling redirects</li> * <li>Processing responses</li> * <li>Handling exceptions during crawling and child URL processing</li> * <li>Handling cases where no URL is in the queue</li>
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Nov 23 02:01:26 UTC 2025 - 14K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcHandleTest.java
void testToString() { // Given: Mock binding with toString when(mockBinding.toString()).thenReturn("mockBindingString"); // When: Getting string representation String result = handle.toString(); // Then: Should return binding's string representation assertEquals("mockBindingString", result); } }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.3K bytes - Viewed (0)