Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 53 for MaxSize (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. android/guava-tests/test/com/google/common/collect/EvictingQueueTest.java

        original.add("one");
        original.add("two");
        original.add("three");
    
        EvictingQueue<String> copy = SerializableTester.reserialize(original);
        assertEquals(copy.maxSize, original.maxSize);
        assertEquals("one", copy.remove());
        assertEquals("two", copy.remove());
        assertEquals("three", copy.remove());
        assertTrue(copy.isEmpty());
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  2. 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. */
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  3. 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()
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2K bytes
    - Click Count (0)
  4. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/TestDohMain.kt

            getOnly = false,
          )
        runBatch(dnsProviders, names)
        val dnsCache =
          Cache(
            directory = File("./target/TestDohMain.cache.${System.currentTimeMillis()}"),
            maxSize = 10L * 1024 * 1024,
          )
        println("Bad targets\n***********\n")
        val url = "https://dns.cloudflare.com/.not-so-well-known/run-dmc-query".toHttpUrl()
        val badProviders =
          listOf(
            DnsOverHttps
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  5. docs/features/caching.md

    ```kotlin
      private val client: OkHttpClient = OkHttpClient.Builder()
          .cache(Cache(
              directory = File(application.cacheDir, "http_cache"),
              // $0.05 worth of phone storage in 2020
              maxSize = 50L * 1024L * 1024L // 50 MiB
          ))
          .build()
    ```
    
    ## EventListener events 
    
    Cache Events are exposed via the EventListener API.  Typical scenarios are below.
    
    ### Cache Hit
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 3.1K bytes
    - Click Count (1)
  6. src/main/java/org/codelibs/fess/opensearch/config/cbean/bs/BsKeyMatchCB.java

                doColumn("createdBy");
            }
    
            public void columnCreatedTime() {
                doColumn("createdTime");
            }
    
            public void columnMaxSize() {
                doColumn("maxSize");
            }
    
            public void columnQuery() {
                doColumn("query");
            }
    
            public void columnTerm() {
                doColumn("term");
            }
    
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb/SmbTransportImpl.java

                        totalSize += size;
                        last = chain;
                        chain = next;
                    } else if (last == null && totalSize + size > maxSize) {
                        throw new SmbException(String.format("Request size %d exceeds allowable size %d: %s", size, maxSize, chain));
                    } else if (last == null) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 69.8K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/FluentIterable.java

       *
       * <p><b>{@code Stream} equivalent:</b> {@link Stream#limit} (same).
       *
       * @param maxSize the maximum number of elements in the returned fluent iterable
       * @throws IllegalArgumentException if {@code size} is negative
       */
      public final FluentIterable<E> limit(int maxSize) {
        return from(Iterables.limit(getDelegate(), maxSize));
      }
    
      /**
       * Determines whether this fluent iterable is empty.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 34.7K bytes
    - Click Count (0)
  9. gorm.go

    	NowFunc func() time.Time
    	// DryRun generate sql without execute
    	DryRun bool
    	// PrepareStmt executes the given query in cached statement
    	PrepareStmt bool
    	// PrepareStmt cache support LRU expired,
    	// default maxsize=int64 Max value and ttl=1h
    	PrepareStmtMaxSize int
    	PrepareStmtTTL     time.Duration
    
    	// DisableAutomaticPing
    	DisableAutomaticPing bool
    	// DisableForeignKeyConstraintWhenMigrating
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Tue Aug 26 06:24:29 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

        if (initialContents instanceof Collection) {
          int initialSize = ((Collection<?>) initialContents).size();
          result = max(result, initialSize);
        }
    
        // Now cap it at maxSize + 1
        return capAtMaximumSize(result, maximumSize);
      }
    
      private void growIfNeeded() {
        if (size > queue.length) {
          int newCapacity = calculateNewCapacity();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 33.9K bytes
    - Click Count (0)
Back to Top