Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 57 for polo (0.03 sec)

  1. src/main/java/jcifs/internal/smb2/rdma/RdmaBufferManager.java

            this.totalAllocated = new AtomicLong();
            this.totalReleased = new AtomicLong();
    
            // Pre-allocate buffer pool
            initializeBufferPool();
        }
    
        /**
         * Initialize the buffer pool with pre-allocated regions
         */
        private void initializeBufferPool() {
            // Allocate send buffers
            for (int i = 0; i < initialSendBuffers; i++) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  2. docs/smb3-features/05-rdma-smb-direct-design.md

        }
        
        public void cleanup() {
            // Clean up all pooled regions
            RdmaMemoryRegion region;
            
            while ((region = availableSendRegions.poll()) != null) {
                region.close();
                totalReleased.incrementAndGet();
            }
            
            while ((region = availableReceiveRegions.poll()) != null) {
                region.close();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

                log.info("Removed {} idle connections from pool", toRemoveCount);
            }
        }
    
        /**
         * Set the maximum pool size
         * @param size the maximum number of connections in the pool
         */
        public void setMaxPoolSize(int size) {
            if (size <= 0) {
                throw new IllegalArgumentException("Pool size must be positive");
            }
            this.maxPoolSize = size;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/BufferCache.java

     */
    
    package jcifs.smb1.smb1;
    
    import jcifs.smb1.Config;
    
    /**
     * Buffer cache implementation for SMB1 protocol operations.
     * Manages a pool of byte buffers to reduce garbage collection overhead.
     *
     * Performance optimizations:
     * - Uses ConcurrentLinkedQueue for O(1) operations
     * - Lock-free operations for better concurrency
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbTransportPoolImplTest.java

            assertTrue(pool.contains(transport), "Transport should be in pool initially");
    
            // When: Remove the transport
            pool.removeTransport(transport);
    
            // Then: Transport should no longer be in pool
            assertFalse(pool.contains(transport), "Transport should be removed from pool");
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  6. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueServiceTest.java

            urlQueueService.insert(urlQueue);
    
            // Poll should return the item
            final OpenSearchUrlQueue polled = urlQueueService.poll(sessionId);
            assertNotNull(polled);
            assertEquals("http://www.example.com/page1", polled.getUrl());
            assertEquals(sessionId, polled.getSessionId());
    
            // Second poll should return null (queue is empty)
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:40:57 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/SmbResourceException.java

                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:
                return "Reduce concurrent operations or increase thread pool size";
            default:
                return "Check resource availability and retry";
            }
        }
    
        /**
    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/test/java/jcifs/internal/smb2/rdma/RdmaBufferManagerTest.java

        public void testStatistics() throws Exception {
            long initialAllocated = bufferManager.getTotalAllocated();
    
            // Allocate regions larger than pool buffer size to force new allocations
            RdmaMemoryRegion region1 = bufferManager.getSendRegion(131072); // 128KB > 64KB pool size
            RdmaMemoryRegion region2 = bufferManager.getSendRegion(131072); // Another large allocation
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

        /**
         * Creates a new fixed thread pool executor with the specified number of threads.
         *
         * @param nThreads the number of threads in the pool
         * @return a new ThreadPoolExecutor configured for this callback
         */
        protected ExecutorService newFixedThreadPool(final int nThreads) {
            if (logger.isDebugEnabled()) {
                logger.debug("Initialized executor thread pool: size={}", nThreads);
            }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 29.7K bytes
    - Viewed (3)
  10. src/test/java/jcifs/smb/CriticalPerformanceTest.java

            // Test multiple components together
            long start = System.nanoTime();
    
            // 1. Connection Pool Test
            SmbTransportPoolImpl pool = new SmbTransportPoolImpl();
            pool.setMaxPoolSize(50);
            for (int i = 0; i < 100; i++) {
                pool.contains(null); // Should be fast without global sync
            }
    
            // 2. Buffer Cache Test
            for (int i = 0; i < 100; i++) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.3K bytes
    - Viewed (0)
Back to top