Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 71 for warmup (0.03 sec)

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

      }
    
      private List<Entry<Object, Object>> warmUp(LoadingCache<Object, Object> cache) {
        return warmUp(cache, WARMUP_MIN, WARMUP_MAX);
      }
    
      /**
       * Returns the entries that were added to the map, so they won't fall out of a map with weak or
       * soft references until the caller drops the reference to the returned entries.
       */
      private List<Entry<Object, Object>> warmUp(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

      }
    
      private List<Entry<Object, Object>> warmUp(LoadingCache<Object, Object> cache) {
        return warmUp(cache, WARMUP_MIN, WARMUP_MAX);
      }
    
      /**
       * Returns the entries that were added to the map, so they won't fall out of a map with weak or
       * soft references until the caller drops the reference to the returned entries.
       */
      private List<Entry<Object, Object>> warmUp(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  3. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/androidhomewarmup/AndroidHomeWarmupTask.kt

                |    mavenCentral()
                |}
                |
                |android {
                |    namespace = "org.gradle.android.warmup"
                |    compileSdk = ${version.compileSdk}
                |    defaultConfig {
                |        applicationId = "org.gradle.android.warmup"
                |        minSdk = ${version.minSdk}
                |        targetSdk = ${version.effectiveTargetSdk}
                |    }
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Dec 09 09:24:29 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  4. tests/benchmarks/test_general_performance.py

    def client() -> Iterator[TestClient]:
        with TestClient(app) as client:
            yield client
    
    
    def _bench_get(benchmark, client: TestClient, path: str) -> tuple[int, bytes]:
        warmup = client.get(path)
        assert warmup.status_code == 200
    
        def do_request() -> tuple[int, bytes]:
            response = client.get(path)
            return response.status_code, response.content
    
        return benchmark(do_request)
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 20:40:26 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/cache/CacheEvictionTest.java

        IdentityLoader<Integer> loader = identityLoader();
        LoadingCache<Integer, Integer> cache =
            CacheBuilder.newBuilder().concurrencyLevel(1).maximumSize(10).build(loader);
        CacheTesting.warmUp(cache, 0, 10);
        Set<Integer> keySet = cache.asMap().keySet();
        assertThat(keySet).containsExactly(0, 1, 2, 3, 4, 5, 6, 7, 8, 9);
    
        // re-order
        getAll(cache, asList(0, 1, 2));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:19:59 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        for (int i = 0; i < 8; i++) {
          limiter.acquire(); // // #1
        }
        stopwatch.sleepMillis(4500); // #2: back to cold state (warmup period + repay last acquire)
        for (int i = 0; i < 3; i++) { // only three steps, we're somewhere in the warmup period
          limiter.acquire(); // #3
        }
    
        limiter.setRate(4.0); // double the rate!
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:19:59 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        for (int i = 0; i < 8; i++) {
          limiter.acquire(); // // #1
        }
        stopwatch.sleepMillis(4500); // #2: back to cold state (warmup period + repay last acquire)
        for (int i = 0; i < 3; i++) { // only three steps, we're somewhere in the warmup period
          limiter.acquire(); // #3
        }
    
        limiter.setRate(4.0); // double the rate!
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:19:59 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  8. build-logic/integration-testing/build.gradle.kts

                implementationClass = "gradlebuild.integrationtests.ide.AndroidStudioProvisioningPlugin"
            }
        }
    
        plugins {
            register("androidHomeWarmup") {
                id = "gradlebuild.android-home-warmup"
                implementationClass = "gradlebuild.integrationtests.androidhomewarmup.AndroidHomeWarmupPlugin"
            }
        }
    }
    
    dependencies {
        implementation("gradlebuild:basics")
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Nov 27 06:24:17 UTC 2025
    - 930 bytes
    - Viewed (0)
  9. .teamcity/src/main/kotlin/util/WarmupEc2Agent.kt

    import common.javaHome
    import jetbrains.buildServer.configs.kotlin.BuildType
    import jetbrains.buildServer.configs.kotlin.buildFeatures.freeDiskSpace
    import vcsroots.useAbsoluteVcs
    
    object WarmupEc2Agent : BuildType({
        name = "Warmup EC2 Agent"
        id("Util_WarmupEc2Agent")
    
        vcs.useAbsoluteVcs(VersionedSettingsBranch.fromDslContext().vcsRootId())
    
        features {
            freeDiskSpace {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Feb 12 09:12:03 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  10. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/androidhomewarmup/AndroidHomeWarmupExtension.kt

    package gradlebuild.integrationtests.androidhomewarmup
    
    import org.gradle.api.file.DirectoryProperty
    import org.gradle.api.provider.ListProperty
    import java.io.Serializable
    
    /**
     * Configuration for the Android home warmup tasks.
     */
    abstract class AndroidHomeWarmupExtension {
        // using project.rootProject.layout will trigger IP error "cannot access 'Project.layout' functionality on another project ':'"
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Nov 27 08:49:21 UTC 2025
    - 1.4K bytes
    - Viewed (0)
Back to top