Search Options

Results per page
Sort
Preferred Languages
Advance

Results 801 - 810 of 1,291 for current (0.05 sec)

  1. src/main/java/org/codelibs/fess/helper/ProcessHelper.java

        }
    
        /**
         * Checks if any processes are currently running.
         *
         * @return true if at least one process is running, false otherwise
         */
        public boolean isProcessRunning() {
            return !runningProcessMap.isEmpty();
        }
    
        /**
         * Checks if the process with the given session ID is currently running.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbTransportInternal.java

         */
        boolean isDisconnected();
    
        /**
         * Disconnects the transport from the remote server.
         *
         * @param hard if true, force immediate disconnection
         * @param inuse whether the connection is currently in use
         * @return whether the connection was in use
         * @throws IOException if an I/O error occurs during disconnection
         */
        boolean disconnect(boolean hard, boolean inuse) throws IOException;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/RequestParamTest.java

        @ParameterizedTest
        @ValueSource(strings = { "NONE", "NO_TIMEOUT", "NO_RETRY", "RETAIN_PAYLOAD" })
        @DisplayName("valueOf(name) returns the correct enum and toString matches name")
        void valueOfResolvesNamesAndToString(String name) {
            RequestParam rp = RequestParam.valueOf(name);
            assertNotNull(rp);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java

                assertEquals(HEADER_SIZE + CHUNK_SIZE, bytesWritten);
    
                // Verify source key at correct position
                for (int i = 0; i < SOURCE_KEY_SIZE; i++) {
                    assertEquals(sourceKey[i], largeBuffer[position + i]);
                }
    
                // Verify chunk count at correct position
                assertEquals(1, SMBUtil.readInt4(largeBuffer, position + SOURCE_KEY_SIZE));
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java

        class FlagConstantsTests {
    
            @Test
            @DisplayName("Should have correct shared lock flag value")
            void testSharedLockFlag() {
                assertEquals(0x1, Smb2Lock.SMB2_LOCKFLAG_SHARED_LOCK);
            }
    
            @Test
            @DisplayName("Should have correct exclusive lock flag value")
            void testExclusiveLockFlag() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/RequestWithPathTest.java

        private TestRequestWithPath testImplementation;
    
        @BeforeEach
        void setUp() {
            testImplementation = new TestRequestWithPath();
        }
    
        @Test
        @DisplayName("Test getPath returns correct path")
        void testGetPath() {
            // Test with mock
            String expectedPath = "/share/folder/file.txt";
            when(requestWithPath.getPath()).thenReturn(expectedPath);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java

            request = new Smb2SessionSetupRequest(mockContext, TEST_SECURITY_MODE, TEST_CAPABILITIES, TEST_PREVIOUS_SESSION_ID, TEST_TOKEN);
        }
    
        @Test
        @DisplayName("Should create request with correct parameters")
        void testConstructorSetsCorrectParameters() throws Exception {
            // Given & When
            int securityMode = 0x03;
            int capabilities = 0x0F;
            long previousSessionId = 0xFEDCBA9876543210L;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeTest.java

        private static final int TEST_FID = 0x1234;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
        }
    
        @Test
        @DisplayName("Constructor should initialize with correct values")
        void testConstructor() {
            // Act
            transPeekNamedPipe = new TransPeekNamedPipe(mockConfig, TEST_PIPE_NAME, TEST_FID);
    
            // Assert
            assertNotNull(transPeekNamedPipe);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/AddressTest.java

    class AddressTest extends BaseTest {
    
        @Mock
        private CIFSContext mockContext;
    
        @Mock
        private Address mockAddress;
    
        @Test
        @DisplayName("Address interface should define correct method signatures")
        void testInterfaceContract() {
            // Given
            Address address = mockAddress;
    
            // When & Then - verify interface methods exist and can be called
            assertDoesNotThrow(() -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/SmbConnectionTest.java

     * Tests the batch limit configuration for various SMB commands.
     */
    public class SmbConnectionTest {
    
        /**
         * Test that getBatchLimit returns correct values for different commands
         */
        @Test
        @DisplayName("getBatchLimit returns correct values for different SMB commands")
        public void testBatchLimitForDifferentCommands() throws CIFSException {
            Properties props = new Properties();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.1K bytes
    - Viewed (0)
Back to top