Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 66 for MaxSize (0.05 sec)

  1. prepare_stmt.go

    func NewPreparedStmtDB(connPool ConnPool, maxSize int, ttl time.Duration) *PreparedStmtDB {
    	return &PreparedStmtDB{
    		ConnPool: connPool,                     // Assigns the provided connection pool to manage database connections.
    		Stmts:    stmt_store.New(maxSize, ttl), // Initializes a new statement store with the specified maximum size and TTL.
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Apr 25 08:22:26 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/BufferCacheImpl.java

         *
         * @param maxBuffers the maximum number of buffers to cache
         * @param maxSize the size of each buffer in bytes
         *
         */
        public BufferCacheImpl(final int maxBuffers, final int maxSize) {
            this.cache = new Object[maxBuffers];
            this.bufferSize = maxSize;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.BufferCache#getBuffer()
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  3. src/main/resources/fess_indices/fess_config.key_match/key_match.json

    {
        "properties": {
          "term": {
            "type": "keyword"
          },
          "query": {
            "type": "keyword"
          },
          "maxSize": {
            "type": "integer"
          },
          "boost": {
            "type": "float"
          },
          "virtualHost": {
            "type": "keyword"
          },
          "createdBy": {
            "type": "keyword"
          },
          "createdTime": {
            "type": "long"
          },
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Dec 02 13:14:56 UTC 2021
    - 516 bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        }
      }
    
      public void testSetMaximumSize() {
        // vary maximumSize wrt concurrencyLevel
    
        for (int maxSize = 1; maxSize < 100; maxSize++) {
          checkMaximumSize(1, 8, maxSize);
          checkMaximumSize(2, 8, maxSize);
          checkMaximumSize(4, 8, maxSize);
          checkMaximumSize(8, 8, maxSize);
        }
    
        checkMaximumSize(1, 8, Long.MAX_VALUE);
        checkMaximumSize(2, 8, Long.MAX_VALUE);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 110.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/InputValidator.java

         * Validates buffer size to prevent overflow
         *
         * @param size the buffer size to validate
         * @param maxSize the maximum allowed size
         * @param fieldName the field name for error reporting
         * @throws IllegalArgumentException if size is invalid
         */
        public static void validateBufferSize(int size, int maxSize, String fieldName) {
            if (size < 0) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Sets.java

          }
    
          @Override
          int minSize() {
            int difference = minSize(set1) - maxSize(set2);
            return difference >= 0 ? difference : max(minSize(set2) - maxSize(set1), 0);
          }
    
          @Override
          int maxSize() {
            return saturatedAdd(maxSize(set1), maxSize(set2));
          }
        };
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 81.6K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt

            }
            return super.sink(file, mustCreate)
          }
        }
    
      /** The maximum number of bytes that this cache should use to store its data. */
      @get:Synchronized @set:Synchronized
      var maxSize: Long = maxSize
        set(value) {
          field = value
          if (initialized) {
            cleanupQueue.schedule(cleanupTask) // Trim the existing store if necessary.
          }
        }
    
      /*
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 34.7K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt

      constructor(directory: File, maxSize: Long) : this(
        FileSystem.SYSTEM,
        directory.toOkioPath(),
        maxSize,
      )
    
      internal val cache =
        DiskLruCache(
          fileSystem = fileSystem,
          directory = directory,
          appVersion = VERSION,
          valueCount = ENTRY_COUNT,
          maxSize = maxSize,
          taskRunner = taskRunner,
        )
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/NativeImageTestsAccessors.kt

    import okhttp3.internal.connection.RealCall
    import okhttp3.internal.connection.RealConnection
    import okio.FileSystem
    import okio.Path
    
    internal fun buildCache(
      file: Path,
      maxSize: Long,
      fileSystem: FileSystem,
    ): Cache = Cache(fileSystem, file, maxSize)
    
    internal var RealConnection.idleAtNsAccessor: Long
      get() = idleAtNs
      set(value) {
        idleAtNs = value
      }
    
    internal val Response.exchangeAccessor: Exchange?
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/SetViewTest.java

      }
    
      public void testUnion_maxSize_saturated() {
        assertThat(union(setSize(Integer.MAX_VALUE), setSize(1)).maxSize())
            .isEqualTo(Integer.MAX_VALUE);
        assertThat(union(setSize(1), setSize(Integer.MAX_VALUE)).maxSize())
            .isEqualTo(Integer.MAX_VALUE);
      }
    
      public void testIntersection_minSize() {
        assertMinSize(intersection(emptySet(), emptySet()), 0);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.9K bytes
    - Viewed (0)
Back to top