Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 42 for unlocks (0.24 sec)

  1. src/main/java/jcifs/internal/smb1/com/LockingAndXRange.java

    import jcifs.internal.util.SMBUtil;
    
    /**
     * Represents a byte range for SMB1 locking and unlocking operations.
     *
     * This class encapsulates the information about a byte range that needs
     * to be locked or unlocked, including the process ID, offset, and length.
     *
     * @author mbechler
     */
    public class LockingAndXRange implements Encodable, Decodable {
    
        private final boolean largeFile;
        private int pid;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/util/DES.java

         */
        public byte[] encrypt(final byte[] clearText) {
    
            final int length = clearText.length;
    
            if (length % 8 != 0) {
                // DES requires 8-byte blocks
                throw new IllegalArgumentException("Array must be a multiple of 8 bytes for DES encryption");
            }
    
            final byte[] cipherText = new byte[length];
            final int count = length / 8;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/DataIndexHelper.java

             */
            public boolean isRunning() {
                return running;
            }
    
            /**
             * Waits for the crawling thread to terminate.
             * This method blocks until the thread completes its execution.
             * Interrupted exceptions are caught and logged at debug level.
             */
            public void awaitTermination() {
                try {
                    join();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 19K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/MarkdownExtractorTest.java

            final ExtractData extractData = markdownExtractor.getText(in, null);
            CloseableUtil.closeQuietly(in);
    
            final String content = extractData.getContent();
    
            // Code blocks should be converted to plain text
            assertTrue(content.contains("public class Example") || content.contains("Example"));
        }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/transport/Transport.java

        private volatile Thread thread;
        private volatile TransportException te;
    
        /**
         * Lock object for synchronizing input operations
         */
        protected final Object inLock = new Object();
        /**
         * Lock object for synchronizing output operations
         */
        protected final Object outLock = new Object();
    
        /**
         * Map for tracking pending responses by their key
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/EXTRACTOR_TESTS_README.md

    1. Follow the existing naming convention: `test_<method>_<scenario>_<expectedResult>`
    2. Add clear JavaDoc comments explaining the test purpose
    3. Ensure tests are independent and can run in any order
    4. Clean up resources in finally blocks or use try-with-resources
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Wed Nov 19 08:55:01 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/SmbResourceException.java

                return "Free up disk space or use a different location";
            case QUOTA:
                return "Contact administrator to increase quota limits";
            case LOCK:
                return "Release existing locks or wait for them to be released";
            case BUFFER:
                return "Reduce buffer usage or increase buffer pool size";
            case THREAD_POOL:
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

        /**
         * Reads a byte of data from this input stream.
         *
         * @throws IOException if a network error occurs
         */
    
        @Override
        public int read() throws IOException {
            // need oplocks to cache otherwise use BufferedInputStream
            if (read(tmp, 0, 1) == -1) {
                return -1;
            }
            return tmp[0] & 0xFF;
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/RuntimeCIFSExceptionTest.java

            // The class should be serializable as it extends RuntimeException
            assertTrue(exception instanceof java.io.Serializable);
        }
    
        @Test
        @DisplayName("Should behave correctly in catch blocks")
        void testCatchBlockBehavior() {
            // Test that RuntimeCIFSException can be caught as RuntimeException
            assertThrows(RuntimeException.class, () -> {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/IntervalControlHelper.java

        protected List<IntervalRule> ruleList = new ArrayList<>();
    
        /**
         * Checks the crawler status and waits if the crawler is not running.
         * This method blocks until the crawler is running again.
         */
        public void checkCrawlerStatus() {
            while (!crawlerRunning) {
                ThreadUtil.sleepQuietly(crawlerWaitMillis);
            }
        }
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sun Nov 23 12:34:02 UTC 2025
    - 10K bytes
    - Viewed (0)
Back to top