Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 335 for efter (1.85 sec)

  1. src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java

            // The constructor masks to 0xFF (8 bits)
            int expected = original & 0xFF;
            NdrShort ns = new NdrShort(original);
            buf.reset();
            ns.encode(buf); // should not throw
    
            // After encoding, check how many bytes were used
            int bytesUsed = buf.getIndex();
            // Should be 2 bytes for the short value (alignment may add padding)
            assertTrue(bytesUsed >= 2, "Should use at least 2 bytes for short");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/persistent/PersistentHandleManager.java

        public HandleGuid requestDurableHandle(String path, HandleType type, long timeout, Smb2LeaseKey leaseKey) {
            HandleGuid guid = new HandleGuid();
    
            // Create handle info with empty file ID (will be populated after successful create response)
            HandleInfo info = new HandleInfo(path, guid, new byte[16], type, timeout, leaseKey);
    
            lock.writeLock().lock();
            try {
                handles.put(path, info);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 13K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java

            verify(tree, times(1)).send(captor.capture(), any());
            assertNotNull(captor.getValue());
    
            // Tree handle is released after close
            verify(tree, atLeastOnce()).release();
        }
    
        @Test
        @DisplayName("open(): server returns NO_SUCH_FILE after receiving response -> iterator empty, closed")
        void openHandlesNoSuchFileGracefully() throws Exception {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbCopyUtilTest.java

            assertEquals(alsoRead, hasReadData, "FILE_READ_DATA flag presence should match alsoRead");
        }
    
        @Test
        @DisplayName("openCopyTargetFile retries after removing READONLY and succeeds")
        void openCopyTargetFile_retryOnReadonly_thenSuccess() throws Exception {
            // Arrange
            SmbFile dest = mock(SmbFile.class);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

                digest.secureWipeKey();
    
                // Verify digest fails after wiping
                byte[] newData = new byte[128];
                Arrays.fill(newData, (byte) 0x66);
    
                assertThrows(IllegalStateException.class, () -> {
                    digest.sign(newData, 0, newData.length, request, response);
                }, "Should throw exception after key is wiped");
            }
    
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 43.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

            assertTrue(it.hasNext());
            assertEquals("b", it.next().getName(), "Next element should skip '.' and '..'");
            assertFalse(it.hasNext(), "Iterator exhausted after valid entries");
            verify(tree, times(1)).release(); // closed after exhaustion
        }
    
        @ParameterizedTest
        @ValueSource(strings = { "", "file.txt", "subdir" })
        @DisplayName("Name filter interaction: accept calls and rejections")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/rdma/RdmaErrorHandler.java

                    // Verify connection is working
                    if (connection.getState() == RdmaConnection.RdmaConnectionState.ESTABLISHED) {
                        log.info("RDMA connection recovery successful after {} attempts", retryCount);
                        return true;
                    }
    
                } catch (InterruptedException e) {
                    log.debug("RDMA recovery interrupted");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/SmbTreeHandleTest.java

            assertTrue(smbTreeHandle.isConnected(), "isConnected() should return true");
            when(smbTreeHandle.isConnected()).thenReturn(false);
            assertFalse(smbTreeHandle.isConnected(), "isConnected() should return false after status change");
        }
    
        /**
         * Test for getServerTimeZoneOffset() method.
         * Verifies that the method returns the correct time zone offset.
         * @throws CIFSException
         */
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/exception/SQLRuntimeExceptionTest.java

    import java.util.Locale;
    
    import org.codelibs.core.misc.LocaleUtil;
    import org.junit.After;
    import org.junit.Before;
    import org.junit.Test;
    
    /**
     * @author manhole
     */
    public class SQLRuntimeExceptionTest {
    
        @Before
        public void setUp() throws Exception {
            LocaleUtil.setDefault(() -> Locale.JAPANESE);
        }
    
        @After
        public void tearDown() throws Exception {
            LocaleUtil.setDefault(null);
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/keymatch/AdminKeymatchAction.java

        //                                         -------------
        /**
         * Creates a new key match.
         *
         * @param form the create form
         * @return HTML response after creation
         */
        @Execute
        @Secured({ ROLE })
        public HtmlResponse create(final CreateForm form) {
            verifyCrudMode(form.crudMode, CrudMode.CREATE, this::asListHtml);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 13:56:35 UTC 2025
    - 16.2K bytes
    - Viewed (0)
Back to top