Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 178 for spool (0.12 sec)

  1. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  2. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  3. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/ConnectionPool.kt

     * of which connections to keep open for future use.
     *
     * @constructor Create a new connection pool with tuning parameters appropriate for a single-user
     * application. The tuning parameters in this pool are subject to change in future OkHttp releases.
     * Currently this pool holds up to 5 idle connections which will be evicted after 5 minutes of
     * inactivity.
     */
    class ConnectionPool internal constructor(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jun 03 17:10:08 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/ThreadFactoryBuilder.java

       *     be unique to the built instance of the ThreadFactory and will be assigned sequentially. For
       *     example, {@code "rpc-pool-%d"} will generate thread names like {@code "rpc-pool-0"}, {@code
       *     "rpc-pool-1"}, {@code "rpc-pool-2"}, etc.
       * @return this for the builder pattern
       */
      @CanIgnoreReturnValue
      public ThreadFactoryBuilder setNameFormat(String nameFormat) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:35:26 UTC 2025
    - 9K bytes
    - Viewed (0)
  6. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/FakeRoutePlanner.kt

        val id: Int,
      ) : RoutePlanner.Plan {
        var planningThrowable: Throwable? = null
        var canceled = false
        var connectState = ConnectState.READY
        val connection =
          factory.newConnection(
            pool = pool,
            route = factory.newRoute(address),
            idleAtNanos = defaultConnectionIdleAtNanos,
          )
        var retry: FakePlan? = null
        var retryTaken = false
        var yieldBeforePlanReturns = false
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  8. interfaces.go

    type Plugin interface {
    	Name() string
    	Initialize(*DB) error
    }
    
    type ParamsFilter interface {
    	ParamsFilter(ctx context.Context, sql string, params ...interface{}) (string, []interface{})
    }
    
    // ConnPool db conns pool interface
    type ConnPool interface {
    	PrepareContext(ctx context.Context, query string) (*sql.Stmt, error)
    	ExecContext(ctx context.Context, query string, args ...interface{}) (sql.Result, error)
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sat Aug 19 13:33:31 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  9. docs/distributed/CONFIG.md

    ```
    
    ### Things to know
    
    - Fields such as `version` and `pools` are mandatory, however all other fields are optional.
    - Each pool expects a minimum of 2 nodes per pool, and unique non-repeating hosts for each argument.
    - Each pool expects each host in this pool has the same number of drives specified as any other host.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Jun 25 02:30:18 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  10. cmd/metacache-set_gen.go

    		case "StopDiskAtLimit":
    			z.StopDiskAtLimit, err = dc.ReadBool()
    			if err != nil {
    				err = msgp.WrapError(err, "StopDiskAtLimit")
    				return
    			}
    		case "pool":
    			z.pool, err = dc.ReadInt()
    			if err != nil {
    				err = msgp.WrapError(err, "pool")
    				return
    			}
    		case "set":
    			z.set, err = dc.ReadInt()
    			if err != nil {
    				err = msgp.WrapError(err, "set")
    				return
    			}
    		default:
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Mar 19 20:23:12 UTC 2024
    - 13.8K bytes
    - Viewed (0)
Back to top