Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 74 for maximize (0.51 sec)

  1. 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)
  2. 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)
  3. src/main/java/org/codelibs/fess/app/pager/KeyMatchPager.java

        /** The term of the key match. */
        public String term;
    
        /** The query of the key match. */
        public String query;
    
        /** The max size of the key match. */
        public String maxSize;
    
        /** The boost of the key match. */
        public String boost;
    
        /** The creator of the key match. */
        public String createdBy;
    
        /** The created time of the key match. */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/keymatch/CreateForm.java

        public String query;
    
        /**
         * The maximum number of results to return.
         */
        @Required
        @Min(value = 0)
        @Max(value = 2147483647)
        @ValidateTypeFailure
        public Integer maxSize;
    
        /**
         * The boost score for matched results.
         */
        @Required
        @ValidateTypeFailure
        public Float boost;
    
        /**
         * The virtual host for the key match.
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/DataIndexHelperTest.java

        @Override
        public void setUp() throws Exception {
            super.setUp();
            dataIndexHelper = new DataIndexHelper();
            setupMockComponents();
            // Reduce default interval to minimize test execution time
            dataIndexHelper.setCrawlingExecutionInterval(1L); // 1ms instead of 5000ms
        }
    
        private void setupMockComponents() {
            // Lightweight mock CrawlingConfigHelper
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt

      private val toClose = ArrayDeque<DiskLruCache>()
    
      private fun createNewCache() {
        createNewCacheWithSize(Int.MAX_VALUE)
      }
    
      private fun createNewCacheWithSize(maxSize: Int) {
        cache =
          DiskLruCache(filesystem, cacheDir, appVersion, 2, maxSize.toLong(), taskRunner).also {
            toClose.add(it)
          }
        synchronized(cache) { cache.initialize() }
      }
    
      fun setUp(
        baseFilesystem: FileSystem,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 75.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/CompactHashSet.java

        Preconditions.checkArgument(expectedSize >= 0, "Expected size must be >= 0");
    
        // Save expectedSize for use in allocArrays()
        this.metadata = Ints.constrainToRange(expectedSize, 1, CompactHashing.MAX_SIZE);
      }
    
      /** Returns whether arrays need to be allocated. */
      boolean needsAllocArrays() {
        return table == null;
      }
    
      /** Handle lazy allocation of arrays. */
      @CanIgnoreReturnValue
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 23.9K bytes
    - Viewed (0)
  8. src/main/config/es/fess_config_key_match.json

                "type" : "float"
              },
              "createdBy" : {
                "type" : "keyword"
              },
              "createdTime" : {
                "type" : "long"
              },
              "maxSize" : {
                "type" : "integer"
              },
              "query" : {
                "type" : "keyword"
              },
              "term" : {
                "type" : "keyword"
              },
              "updatedBy" : {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Dec 02 13:14:56 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  9. samples/guide/src/main/java/okhttp3/recipes/kt/CacheResponse.kt

      cacheDirectory: File,
    ) {
      private val client: OkHttpClient =
        OkHttpClient
          .Builder()
          .cache(
            Cache(
              directory = cacheDirectory,
              // 1 MiB.
              maxSize = 10L * 1024L * 1024L,
            ),
          ).build()
    
      fun run() {
        val request =
          Request
            .Builder()
            .url("http://publicobject.com/helloworld.txt")
            .build()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/SmallCharMatcher.java

     * linear probing to check for matches.
     *
     * @author Christopher Swenson
     */
    @GwtIncompatible // no precomputation is done in GWT
    final class SmallCharMatcher extends NamedFastMatcher {
      static final int MAX_SIZE = 1023;
      private final char[] table;
      private final boolean containsZero;
      private final long filter;
    
      private SmallCharMatcher(char[] table, long filter, boolean containsZero, String description) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:49:18 UTC 2025
    - 4.5K bytes
    - Viewed (0)
Back to top