Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 82 for Acquire (2.25 sec)

  1. src/test/java/jcifs/util/PathValidatorTest.java

                // Control character will be caught in strict mode
                strictValidator.validatePath("//server\u0001/share");
            });
    
            // Note: Proper UNC validation would require fixing the normalization to preserve \\
            // for UNC paths. Current implementation can't distinguish UNC paths after normalization.
        }
    
        @Test
        public void testInvalidUncServerName() throws Exception {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/SmbFileTest.java

            // This is complex due to the class structure. A better approach would be
            // to refactor SmbFile to be more testable (e.g., dependency injection).
            // For now, we test methods that don't require deep mocks.
            return new SmbFile(url, auth);
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/storage/GcsStorageClient.java

            } catch (final Exception e) {
                return false;
            }
        }
    
        @Override
        public void close() {
            // GCS Storage client doesn't require explicit close
            // but we can try to close it if needed
            try {
                storage.close();
            } catch (final Exception e) {
                if (logger.isDebugEnabled()) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/InputValidatorTest.java

            String sanitized = InputValidator.sanitizeForLogging(longString);
            assertEquals(1000, sanitized.length());
            assertTrue(sanitized.endsWith("..."));
        }
    
        @Test
        @DisplayName("Test require non-empty validation")
        void testRequireNonEmpty() {
            assertEquals("test", InputValidator.requireNonEmpty("test", "field"));
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/TestLockingTest.java

    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    /**
     * JUnit 5 tests for {@link TestLocking}.
     * Tests command line argument parsing and basic field initialization.
     * Does not require a real SMB server - focuses on application logic.
     */
    @ExtendWith(MockitoExtension.class)
    class TestLockingTest {
    
        private PrintStream originalOut;
        private PrintStream originalErr;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  6. docs/SMB3_IMPLEMENTATION_PLAN.md

    # Witness
    jcifs.smb.client.useWitness=true
    jcifs.smb.client.witnessNotificationTimeout=5000
    ```
    
    ## Risk Assessment
    
    ### Technical Risks
    1. **RDMA Complexity**: Limited Java RDMA support may require JNI
    2. **Multi-Channel Synchronization**: Complex thread synchronization required
    3. **Persistent Handle State**: Requires reliable state persistence mechanism
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  7. docs/smb3-features/05-rdma-smb-direct-design.md

        }
        
        private void fallbackToTcp(RdmaConnection connection) {
            log.info("Falling back to TCP transport");
            // Switch transport to TCP
            // This would require transport factory modification
        }
    }
    ```
    
    ## 10. Security Considerations
    
    ### 10.1 RDMA Security
    ```java
    public class RdmaSecurityManager {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/base/FessSearchAction.java

            }
            return super.hookBefore(runtime);
        }
    
        /**
         * Returns the login manager for this action. Search actions do not require
         * a login manager as they handle authentication differently.
         *
         * @return an empty OptionalThing as search actions don't use login managers
         */
        @Override
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java

            // Using concrete implementation for integration testing
            // Note: DfsReferralDataImpl default constructor creates an object with null server/share/path
            // Some methods like fixupHost/fixupDomain require these to be set via combine() or fromReferral()
            concreteImplementation = createInitializedDfsReferralDataImpl();
        }
    
        private DfsReferralDataImpl createInitializedDfsReferralDataImpl() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/exception/CrawlerSystemExceptionTest.java

            // Should be instance of Exception
            assertTrue(exception instanceof Exception);
    
            // Should be instance of Throwable
            assertTrue(exception instanceof Throwable);
    
            // Should not require try-catch (unchecked exception)
            throwUnchecked(); // This compiles without try-catch
        }
    
        private void throwUnchecked() {
            if (Math.random() > 1) { // Never true, but compiler doesn't know
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 20K bytes
    - Viewed (0)
Back to top