Search Options

Results per page
Sort
Preferred Languages
Advance

Results 471 - 480 of 1,011 for Present (5.67 sec)

  1. src/main/java/jcifs/smb/SmbTreeImpl.java

            } catch (Exception e) {
                log.error("Error during tree finalization", e);
            } finally {
                super.finalize();
            }
        }
    
        /**
         * Emergency cleanup method to prevent memory leaks during finalization
         */
        private void emergencyCleanup() {
            try {
                // Force usage count to zero
                this.usageCount.set(0);
    
                synchronized (this) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/util/InputStreamThread.java

    import org.apache.logging.log4j.Logger;
    
    /**
     * A thread that reads from an input stream line by line and maintains a buffer of recent lines.
     * This class provides functionality to read input stream data asynchronously,
     * optionally process each line with a callback function, and maintain a circular buffer
     * of recent lines for retrieval.
     */
    public class InputStreamThread extends Thread {
        /** Logger instance for this class */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

        private static final SecurityAuditLogger auditLogger = SecurityAuditLogger.getInstance();
    
        /**
         * Performs constant-time comparison of two char arrays to prevent timing attacks.
         * This method always compares the full length of both arrays, regardless of when
         * differences are found, making the execution time independent of the position
         * of differing characters.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/BufferCache.java

     * - Uses ConcurrentLinkedQueue for O(1) operations
     * - Lock-free operations for better concurrency
     * - Proper buffer validation and limits
     */
    public class BufferCache {
    
        /**
         * Private constructor to prevent instantiation of this utility class.
         */
        private BufferCache() {
            // Utility class - not instantiable
        }
    
        private static final int MAX_BUFFERS = Config.getInt("jcifs.smb1.smb.maxBuffers", 16);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/CharSequenceReaderTest.java

        assertTrue(reader.markSupported());
    
        assertEquals(string, readFully(reader));
        assertFullyRead(reader);
    
        // reset and read again
        reader.reset();
        assertEquals(string, readFully(reader));
        assertFullyRead(reader);
    
        // reset, skip, mark, then read the rest
        reader.reset();
        assertEquals(5, reader.skip(5));
        reader.mark(Integer.MAX_VALUE);
        assertEquals(string.substring(5), readFully(reader));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

                }
                return time;
            }
            return -1;
        }
    
        /**
         * Retrieves a list of access results from the data service for processing.
         * Filters out results that are too recent based on commit margin time and manages crawler throttling.
         *
         * @param cb the consumer to customize the search request
         * @param cleanupTime the time taken for the last cleanup operation
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/CommonServerMessageBlockTest.java

            }
        }
    
        @Test
        @DisplayName("Test reset method")
        void testReset() {
            // Given
            doNothing().when(messageBlock).reset();
    
            // When
            messageBlock.reset();
    
            // Then
            verify(messageBlock).reset();
        }
    
        @Test
        @DisplayName("Test multiple operations in sequence")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.java

            // Reset error and test hasMore flag
            response.setTestErrorCode(0);
            response.hasMore = false;
            assertFalse(response.hasMoreElements());
        }
    
        @Test
        @DisplayName("Test reset functionality")
        void testReset() {
            // Reset should not throw exception
            assertDoesNotThrow(() -> response.reset());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java

        }
    
        @Test
        void testReset() {
            ndrBuffer.advance(100);
            ndrBuffer.setLength(150);
            ndrBuffer.reset();
    
            // Verify reset state
            assertEquals(0, ndrBuffer.index);
            assertEquals(0, ndrBuffer.length);
            assertSame(ndrBuffer, ndrBuffer.deferred);
        }
    
        @Test
        void testGetAndSetIndex() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/zip/ZipInputStreamUtil.java

        /**
         * A method that wraps the exception handling of {@link ZipInputStream#reset()}.
         *
         * @param zis
         *            {@link ZipInputStream}. Must not be {@literal null}.
         * @see ZipInputStream#reset()
         */
        public static void reset(final ZipInputStream zis) {
            assertArgumentNotNull("zis", zis);
    
            try {
                zis.reset();
            } catch (final IOException e) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.9K bytes
    - Viewed (0)
Back to top