Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 408 for memory (0.05 sec)

  1. src/test/java/jcifs/smb/SmbFileInputStreamTest.java

        @Mock
        SmbFileHandleImpl mockHandle;
    
        @Mock
        Configuration mockConfig;
    
        private SmbFileInputStream newStream() throws SmbException {
            // Constructor that avoids external I/O; stays in-memory
            when(mockTree.isSMB2()).thenReturn(true); // default SMB2 for simple happy-path
            return new SmbFileInputStream(mockFile, mockTree, mockHandle);
        }
    
        @BeforeEach
        void setUp() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java

            if (handle != null) {
                handle.setActive(false);
                // Cancel any pending notifications
                cancelNotification(handle);
                // Clean up failure count to prevent memory leak
                failureCounts.remove(directoryPath);
            }
        }
    
        /**
         * Start asynchronous notification monitoring
         *
         * @param handle notification handle
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  3. README.md

    - Verify analyzer configurations
    
    **Performance Issues**
    - Increase thread pool size in SuggesterBuilder
    - Optimize batch sizes for indexing operations
    - Review OpenSearch cluster performance
    
    **Memory Usage**
    - Configure appropriate JVM heap settings
    - Monitor index sizes and optimize mappings
    - Use streaming for large data imports
    
    ### Debug Logging
    
    Enable debug logging for detailed troubleshooting:
    
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sun Aug 31 03:31:14 UTC 2025
    - 12.1K bytes
    - Viewed (1)
  4. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

         * from memory.
         *
         * @return the password as a char array
         */
        public char[] getPasswordAsCharArray() {
            checkNotClosed();
            return this.password != null && this.password.length > 0 ? this.password.clone() : this.password == null ? null : new char[0];
        }
    
        /**
         * Securely wipes the password from memory
         */
        public void secureWipePassword() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  5. src/archive/zip/writer.go

    //
    // CreateRaw's argument is stored in w. If the argument is a pointer to the embedded
    // [FileHeader] in a [File] obtained from a [Reader] created from in-memory data,
    // then w will refer to all of that memory.
    func (w *Writer) CreateRaw(fh *FileHeader) (io.Writer, error) {
    	if err := w.prepare(fh); err != nil {
    		return nil, err
    	}
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Jan 28 04:20:09 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/curl/CurlRequest.java

                        length = bis.read(bytes);
                    }
                    dfos.flush();
                    final ContentCache contentCache;
                    logger.fine(() -> "Response in " + (dfos.isInMemory() ? "Memory" : "File"));
                    if (dfos.isInMemory()) {
                        contentCache = new ContentCache(dfos.getData());
                    } else {
                        contentCache = new ContentCache(dfos.getFile());
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:38:18 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbFileInputStream.java

                // Optimization: Use larger block sizes for better performance
                final int optimizedBlockSize = Math.min(blockSize * 2, 64 * 1024); // Cap at 64KB for memory efficiency
                final int effectiveBlockSize = Math.max(blockSize, optimizedBlockSize);
    
                SmbComReadAndXResponse response = null;
                if (!th.isSMB2()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  8. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java

                  && ((RegularImmutableSortedSet) result).isSubset;
          if (!isSubset) {
            // Only return the original copy if this immutable sorted set isn't
            // a subset of another, to avoid memory leak.
            return result;
          }
        }
        return copyOfInternal(comparator, elements.iterator());
      }
    
      private static <E> ImmutableSortedSet<E> copyOfInternal(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbTreeImpl.java

                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)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerStatusTest.java

            for (Thread thread : threads) {
                thread.join();
            }
    
            // Verify no exceptions
            assertTrue(exceptions.isEmpty());
        }
    
        /**
         * Test memory reference equality
         */
        public void test_memoryReferenceEquality() {
            // Enum instances are singletons
            CrawlerStatus status1 = CrawlerStatus.INITIALIZING;
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 15.8K bytes
    - Viewed (0)
Back to top