Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 159 for maximize (0.17 seconds)

  1. android/guava-tests/test/com/google/common/cache/CacheEvictionTest.java

                .maximumSize(MAX_SIZE)
                .removalListener(removalListener)
                .build(loader);
        for (int i = 0; i < 2 * MAX_SIZE; i++) {
          cache.getUnchecked(i);
          assertThat(cache.size()).isAtMost(MAX_SIZE);
        }
    
        assertThat(CacheTesting.accessQueueSize(cache)).isEqualTo(MAX_SIZE);
        assertThat(cache.size()).isEqualTo(MAX_SIZE);
        CacheTesting.processPendingNotifications(cache);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 15K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/cache/CacheEvictionTest.java

                .maximumSize(MAX_SIZE)
                .removalListener(removalListener)
                .build(loader);
        for (int i = 0; i < 2 * MAX_SIZE; i++) {
          cache.getUnchecked(i);
          assertThat(cache.size()).isAtMost(MAX_SIZE);
        }
    
        assertThat(CacheTesting.accessQueueSize(cache)).isEqualTo(MAX_SIZE);
        assertThat(cache.size()).isEqualTo(MAX_SIZE);
        CacheTesting.processPendingNotifications(cache);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 15K bytes
    - Click Count (0)
  3. RELEASE.md

            value, but a deterministic sequence. This change will make the
            initialize behavior align between v1 and v2.
    
    *   `tf.lite`:
    
        *   Rename fields `SignatureDef` table in schema to maximize the parity with
            TF SavedModel's Signature concept.
        *   Deprecate Makefile builds. Makefile users need to migrate their builds
            to CMake or Bazel. Please refer to the
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Mon Mar 30 18:31:38 GMT 2026
    - 746.5K bytes
    - Click Count (3)
  4. guava/src/com/google/common/collect/EvictingQueue.java

      @VisibleForTesting final int maxSize;
    
      private EvictingQueue(int maxSize) {
        checkArgument(maxSize >= 0, "maxSize (%s) must >= 0", maxSize);
        this.delegate = new ArrayDeque<>(maxSize);
        this.maxSize = maxSize;
      }
    
      /**
       * Creates and returns a new evicting queue that will hold up to {@code maxSize} elements.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 13 17:34:21 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/EvictingQueue.java

      @VisibleForTesting final int maxSize;
    
      private EvictingQueue(int maxSize) {
        checkArgument(maxSize >= 0, "maxSize (%s) must >= 0", maxSize);
        this.delegate = new ArrayDeque<>(maxSize);
        this.maxSize = maxSize;
      }
    
      /**
       * Creates and returns a new evicting queue that will hold up to {@code maxSize} elements.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 13 17:34:21 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/util/concurrent/Striped.java

     * small portion of these would be in use.
     *
     * <p>Prior to this class, one might be tempted to use {@code Map<K, Lock>}, where {@code K}
     * represents the task. This maximizes concurrency by having each unique key mapped to a unique
     * lock, but also maximizes memory footprint. On the other extreme, one could use a single lock for
     * all tasks, which minimizes memory footprint but also minimizes concurrency. Instead of choosing
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 16 22:01:32 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/opensearch/config/bsentity/BsKeyMatch.java

            this.createdTime = value;
        }
    
        public Integer getMaxSize() {
            checkSpecifiedProperty("maxSize");
            return maxSize;
        }
    
        public void setMaxSize(Integer value) {
            registerModifiedProperty("maxSize");
            this.maxSize = value;
        }
    
        public String getQuery() {
            checkSpecifiedProperty("query");
            return convertEmptyToNull(query);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/core/io/FileUtilTest.java

            } finally {
                out.close();
            }
    
            // Set maxSize larger than file size
            final byte[] bytes = FileUtil.readBytes(file, 1024);
            assertThat(new String(bytes, "UTF-8"), is(content));
        }
    
        /**
         * Test readBytes with custom maxSize - file exceeds limit
         *
         * @throws Exception
         */
        @Test(expected = IORuntimeException.class)
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  9. src/main/java/jcifs/util/ServerResponseValidator.java

            }
    
            int maxSize = isSmb1 ? MAX_SMB1_MESSAGE_SIZE : MAX_SMB_MESSAGE_SIZE;
            if (size > maxSize) {
                failedValidations.incrementAndGet();
                log.warn("Message size exceeds maximum: {} > {}", size, maxSize);
                throw new SmbException("Message size exceeds maximum: " + size + " > " + maxSize);
            }
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/opensearch/config/cbean/cq/bs/BsKeyMatchCQ.java

        }
    
        public void setMaxSize_Equal(Integer maxSize) {
            setMaxSize_Term(maxSize, null);
        }
    
        public void setMaxSize_Equal(Integer maxSize, ConditionOptionCall<TermQueryBuilder> opLambda) {
            setMaxSize_Term(maxSize, opLambda);
        }
    
        public void setMaxSize_Term(Integer maxSize) {
            setMaxSize_Term(maxSize, null);
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 68.6K bytes
    - Click Count (0)
Back to Top