Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 21 for warmups (0.04 sec)

  1. 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)
  2. .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)
  3. guava-tests/test/com/google/common/cache/EmptyCachesTest.java

              UnsupportedOperationException.class, () -> cache.asMap().keySet().addAll(asList(1, 2)));
        }
      }
    
    
      public void testKeySet_clear() {
        for (LoadingCache<Object, Object> cache : caches()) {
          warmUp(cache, 0, 100);
    
          Set<Object> keys = cache.asMap().keySet();
          keys.clear();
          checkEmpty(keys);
          checkEmpty(cache);
        }
      }
    
      public void testKeySet_empty_remove() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/EmptyCachesTest.java

              UnsupportedOperationException.class, () -> cache.asMap().keySet().addAll(asList(1, 2)));
        }
      }
    
    
      public void testKeySet_clear() {
        for (LoadingCache<Object, Object> cache : caches()) {
          warmUp(cache, 0, 100);
    
          Set<Object> keys = cache.asMap().keySet();
          keys.clear();
          checkEmpty(keys);
          checkEmpty(cache);
        }
      }
    
      public void testKeySet_empty_remove() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  5. compat/maven-model/src/test/java/org/apache/maven/model/v4/Xpp3DomPerfTest.java

    import org.openjdk.jmh.annotations.Warmup;
    import org.openjdk.jmh.runner.Runner;
    import org.openjdk.jmh.runner.RunnerException;
    import org.openjdk.jmh.runner.options.Options;
    import org.openjdk.jmh.runner.options.OptionsBuilder;
    
    /**
     * <p>Xpp3DomPerfTest class.</p>
     */
    @BenchmarkMode(Mode.AverageTime)
    @OutputTimeUnit(TimeUnit.MILLISECONDS)
    @Warmup(iterations = 3)
    @Measurement(time = 10)
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 14:45:25 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  6. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/androidhomewarmup/AndroidHomeWarmupPlugin.kt

            val extension =
                project.extensions.create("androidHomeWarmup", AndroidHomeWarmupExtension::class.java).apply {
                    warmupProjectsDirectory.convention(project.layout.buildDirectory.dir("android-home-warmup"))
                }
    
            project.tasks.register("androidHomeWarmup", AndroidHomeWarmupTask::class) {
                warmupProjectsDirectory.set(extension.warmupProjectsDirectory)
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Nov 27 08:49:21 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  7. .teamcity/src/main/kotlin/configurations/CompileAll.kt

        stage: Stage,
    ) : OsAwareBaseGradleBuildType(os = Os.LINUX, stage = stage, init = {
            id(buildTypeId(model))
            name = "Compile All"
            description = "Compiles all production/test source code and warms up the build cache"
    
            features {
                publishBuildStatusToGithub(model)
            }
    
            applyDefaults(
                model,
                this,
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Mon Dec 22 07:15:16 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  8. impl/maven-core/src/test/java/org/apache/maven/configuration/internal/CompositeBeanHelperPerformanceTest.java

    import org.openjdk.jmh.annotations.Scope;
    import org.openjdk.jmh.annotations.Setup;
    import org.openjdk.jmh.annotations.State;
    import org.openjdk.jmh.annotations.TearDown;
    import org.openjdk.jmh.annotations.Warmup;
    import org.openjdk.jmh.runner.Runner;
    import org.openjdk.jmh.runner.RunnerException;
    import org.openjdk.jmh.runner.options.Options;
    import org.openjdk.jmh.runner.options.OptionsBuilder;
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jul 17 07:40:49 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  9. internal/bpool/bpool.go

    		panic("minimum buffer length cannot be > capacity of the buffer")
    	}
    	return &BytePoolCap{
    		c:    make(chan []byte, maxSize),
    		w:    width,
    		wcap: capwidth,
    	}
    }
    
    // Populate - populates and pre-warms the byte pool, this function is non-blocking.
    func (bp *BytePoolCap) Populate() {
    	for _, buf := range reedsolomon.AllocAligned(cap(bp.c), bp.wcap) {
    		bp.Put(buf[:bp.w])
    	}
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

       *
       * <pre>
       *          ^ throttling
       *          |
       *    cold  +                  /
       * interval |                 /.
       *          |                / .
       *          |               /  .   ← "warmup period" is the area of the trapezoid between
       *          |              /   .     thresholdPermits and maxPermits
       *          |             /    .
       *          |            /     .
       *          |           /      .
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 19.3K bytes
    - Viewed (0)
Back to top