Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 181 for vary (0.92 sec)

  1. android/guava-tests/test/com/google/common/math/MathBenchmarking.java

    import java.math.BigInteger;
    import java.util.Random;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Utilities for benchmarks.
     *
     * <p>In many cases, we wish to vary the order of magnitude of the input as much as we want to vary
     * the input itself, so most methods which generate values use an exponential distribution varying
     * the order of magnitude of the generated values uniformly at random.
     *
     * @author Louis Wasserman
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt

          maxSize = maxSize,
          taskRunner = taskRunner,
        )
    
      // read and write statistics, all guarded by 'this'.
      internal var writeSuccessCount = 0
      internal var writeAbortCount = 0
      private var networkCount = 0
      private var hitCount = 0
      private var requestCount = 0
    
      val isClosed: Boolean
        get() = cache.isClosed()
    
      internal fun get(request: Request): Response? {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt

      @Test
      fun varyMultipleFieldsWithMatch() {
        server.enqueue(
          MockResponse
            .Builder()
            .addHeader("Cache-Control: max-age=60")
            .addHeader("Vary: Accept-Language, Accept-Charset")
            .addHeader("Vary: Accept-Encoding")
            .body("A")
            .build(),
        )
        server.enqueue(
          MockResponse
            .Builder()
            .body("B")
            .build(),
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 113.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/math/MathBenchmarking.java

    import java.math.BigInteger;
    import java.util.Random;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Utilities for benchmarks.
     *
     * <p>In many cases, we wish to vary the order of magnitude of the input as much as we want to vary
     * the input itself, so most methods which generate values use an exponential distribution varying
     * the order of magnitude of the generated values uniformly at random.
     *
     * @author Louis Wasserman
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  5. docs/recipes.md

              println("Server: ${response.header("Server")}")
              println("Date: ${response.header("Date")}")
              println("Vary: ${response.headers("Vary")}")
            }
          }
        ```
    
    === ":material-language-java: Java"
        ```java
          private final OkHttpClient client = new OkHttpClient();
    
          public void run() throws Exception {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 47.8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/BiMap.java

      @Nullable V forcePut(@ParametricNullness K key, @ParametricNullness V value);
    
      // Bulk Operations
    
      /**
       * {@inheritDoc}
       *
       * <p><b>Warning:</b> the results of calling this method may vary depending on the iteration order
       * of {@code map}.
       *
       * @throws IllegalArgumentException if an attempt to {@code put} any entry fails. Note that some
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 17:32:30 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

        cacheHit
          .cacheResponse()
          .assertCode(200)
          .assertHeader("Donut", "a")
          .assertHeader("ETag", "v1")
          .assertRequestUrl(server.url("/"))
          .assertRequestHeader("Accept-Language") // No Vary on Accept-Language.
          .assertRequestHeader("Accept-Charset", "UTF-8") // Because of Vary on Accept-Charset.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 146.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/BiMap.java

      @Nullable V forcePut(@ParametricNullness K key, @ParametricNullness V value);
    
      // Bulk Operations
    
      /**
       * {@inheritDoc}
       *
       * <p><b>Warning:</b> the results of calling this method may vary depending on the iteration order
       * of {@code map}.
       *
       * @throws IllegalArgumentException if an attempt to {@code put} any entry fails. Note that some
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 17:32:30 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/MapMaker.java

       * without contention. Because assignment of entries to these partitions is not necessarily
       * uniform, the actual concurrency observed may vary. Ideally, you should choose a value to
       * accommodate as many threads as will ever concurrently modify the table. Using a significantly
       * higher value than you need can waste space and time, and a significantly lower value can lead
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/job/GenerateThumbnailJobTest.java

            assertNotNull(result);
            assertNotNull(thumbnailJob.sessionId);
            assertTrue(result.contains("Session Id: " + thumbnailJob.sessionId));
            // Exception handling may vary, just verify result is not null
        }
    
        // Test executeThumbnailGenerator with process failure
        public void test_executeThumbnailGenerator_processFailure() {
            thumbnailJob.numOfThreads(2);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.8K bytes
    - Viewed (0)
Back to top