- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,835 for iterations (0.22 sec)
-
guava-tests/test/com/google/common/util/concurrent/AtomicLongMapTest.java
assertEquals(ITERATIONS / 2, map.size()); assertEquals(nonZeroKeys, map.asMap().keySet()); } public void testClear() { AtomicLongMap<Object> map = AtomicLongMap.create(); for (int i = 0; i < ITERATIONS; i++) { map.put(new Object(), i); } assertEquals(ITERATIONS, map.size()); map.clear(); assertEquals(0, map.size()); assertTrue(map.isEmpty()); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 13 14:28:25 UTC 2024 - 17.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AtomicLongMapTest.java
assertEquals(ITERATIONS / 2, map.size()); assertEquals(nonZeroKeys, map.asMap().keySet()); } public void testClear() { AtomicLongMap<Object> map = AtomicLongMap.create(); for (int i = 0; i < ITERATIONS; i++) { map.put(new Object(), i); } assertEquals(ITERATIONS, map.size()); map.clear(); assertEquals(0, map.size()); assertTrue(map.isEmpty()); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 13 14:28:25 UTC 2024 - 17.4K bytes - Viewed (0) -
testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/AbstractPluginValidatingSmokeTest.groovy
$buildScriptConfigurationForValidation """ configureValidation(id, version) expect: performValidation(version) where: iterations << iterations() (id, version) = iterations } void configureValidation(String testedPluginId, String version) { allPlugins.alwaysPasses = true } void performValidation(String version) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 2.7K bytes - Viewed (0) -
testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/nativeplatform/NativeCleanBuildPerformanceTest.groovy
]) ]) def "clean assemble (native)"() { given: def iterations = runner.testProject in ['smallNative', 'smallCppApp', 'smallCppMulti'] ? 40 : null runner.tasksToRun = ["assemble"] runner.cleanTasks = ["clean"] runner.runs = iterations runner.warmUpRuns = iterations when: def result = runner.run() then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 2.5K bytes - Viewed (0) -
src/testing/benchmark.go
type PB struct { globalN *atomic.Uint64 // shared between all worker goroutines iteration counter grain uint64 // acquire that many iterations from globalN at once cache uint64 // local cache of acquired iterations bN uint64 // total number of iterations to execute (b.N) } // Next reports whether there are more iterations to execute. func (pb *PB) Next() bool { if pb.cache == 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 23.9K bytes - Viewed (0) -
testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/java/JavaIDETaskExecutionPerformanceTest.groovy
then: result.assertCurrentVersionHasNotRegressedWithHighRelativeMedianDifference() } private setupRunner() { def iterations = determineIterations() runner.warmUpRuns = iterations runner.runs = iterations } private determineIterations() { return runner.testProject == LARGE_MONOLITHIC_JAVA_PROJECT.projectName ? 200 : 40 }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 2.7K bytes - Viewed (0) -
platforms/core-runtime/logging/src/jmh/java/org/gradle/internal/deprecation/DeprecationIdCreationBenchmark.java
import org.openjdk.jmh.infra.Blackhole; import static org.gradle.internal.deprecation.DeprecationMessageBuilder.createDefaultDeprecationId; @SuppressWarnings("Since15") @Threads(2) @Warmup(iterations = 5) @Measurement(iterations = 5) @State(Scope.Benchmark) public class DeprecationIdCreationBenchmark { @Benchmark public void idCreation(Blackhole bh) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 06:13:13 UTC 2024 - 1.4K bytes - Viewed (0) -
testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/java/JavaIDEModelPerformanceTest.groovy
then: result.assertCurrentVersionHasNotRegressedWithHighRelativeMedianDifference() } private setupRunner() { def iterations = determineIterations() runner.warmUpRuns = iterations runner.runs = iterations } private determineIterations() { return runner.testProject == LARGE_MONOLITHIC_JAVA_PROJECT.projectName ? 200 : 40 }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 6.5K bytes - Viewed (0) -
testing/performance/src/templates/task-creation/build.gradle
* See the License for the specific language governing permissions and * limitations under the License. */ @groovy.transform.CompileStatic void createTasks(Project p, int iterations) { for (int i=0; i<iterations; i++) { p.task("foo\$i", type: Copy) } } if (tasks.metaClass.respondsTo(tasks, "register")) { for (int i=0; i<$taskCount; i++) { project.tasks.register("foo\$i", Copy)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 974 bytes - Viewed (0) -
testing/performance/src/templates/generateLotsOfDeprecationWarnings/build.gradle
* See the License for the specific language governing permissions and * limitations under the License. */ @groovy.transform.CompileStatic void createDeprecations(int iterations) { for (int i = 0; i < iterations; i++) { // every 10th deprecation should have a different message if (i % 10 == 0) { nagUserOfDeprecated("Some unique deprecation No #\$i") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.2K bytes - Viewed (0)