Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,585 for iterations (0.16 sec)

  1. 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)
  2. platforms/core-execution/build-cache/src/jmh/java/org/gradle/caching/internal/tasks/FileWalkingBenchmark.java

    import org.openjdk.jmh.infra.Blackhole;
    
    import java.io.File;
    import java.io.IOException;
    import java.nio.file.Files;
    import java.nio.file.Path;
    
    @Fork(1)
    @Warmup(iterations = 5)
    @Measurement(iterations = 10)
    @State(Scope.Benchmark)
    public class FileWalkingBenchmark {
        Path tempDirPath;
        Path missingPath;
        Path existingPath;
        File tempDirFile;
        File missingFile;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:43:12 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  3. platforms/core-execution/build-cache/src/jmh/java/org/gradle/OptionalBenchmark.java

     * OptionalBenchmark.nullCheck  thrpt   20  107887111.061 ±  882182.482  ops/s
     * OptionalBenchmark.optional   thrpt   20   86746312.090 ± 1150860.296  ops/s
     **/
    @Fork(2)
    @Warmup(iterations = 10, time = 1, timeUnit = SECONDS)
    @Measurement(iterations = 10, time = 1, timeUnit = SECONDS)
    @State(Scope.Benchmark)
    public class OptionalBenchmark {
    
        final Path path = Paths.get(".");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:43:12 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  4. platforms/core-runtime/native/src/jmh/java/org/gradle/internal/nativeintegration/filesystem/FileMetadataAccessorBenchmark.java

    import java.io.IOException;
    import java.nio.file.Path;
    import java.nio.file.attribute.BasicFileAttributes;
    import java.util.Map;
    import java.util.UUID;
    
    @SuppressWarnings("Since15")
    @Threads(2)
    @Warmup(iterations = 5)
    @Measurement(iterations = 5)
    @State(Scope.Benchmark)
    public class FileMetadataAccessorBenchmark {
        private static final Map<String, FileMetadataAccessor> ACCESSORS = ImmutableMap.<String, FileMetadataAccessor>builder()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:56 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  5. platforms/core-execution/build-cache/src/jmh/java/org/gradle/caching/internal/tasks/ChmodBenchmark.java

            FileUtils.forceDelete(tempRootDir.toFile());
        }
    
        @Setup(Level.Iteration)
        public void setupIteration() throws IOException {
            this.tempDirPath = Files.createTempDirectory(tempRootDir, "iteration");
            this.tempDirFile = tempDirPath.toFile();
            this.counter = new AtomicInteger();
        }
    
        @TearDown(Level.Iteration)
        public void tearDownIteration() throws IOException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 12:13:32 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  6. platforms/core-runtime/base-services/src/jmh/java/org/gradle/internal/reflect/HashingAlgorithmsBenchmark.java

    import java.security.MessageDigest;
    import java.security.NoSuchAlgorithmException;
    import java.util.Map;
    import java.util.Random;
    
    @Fork(1)
    @Threads(4)
    @Warmup(iterations = 5)
    @Measurement(iterations = 5)
    @State(Scope.Benchmark)
    public class HashingAlgorithmsBenchmark {
    
        private static MessageDigest getDigest(String name) {
            try {
                return MessageDigest.getInstance(name);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  7. src/compress/lzw/reader_test.go

    // expansions. In particular, it tests seeing the highest possible code, 4095.
    func TestNoLongerSavingPriorExpansions(t *testing.T) {
    	// Iterations is used to calculate how many input bits are needed to get
    	// the decoder.hi and decoder.width values up to their maximum.
    	iterations := []struct {
    		width, n int
    	}{
    		// The final term is 257, not 256, as NewReader initializes d.hi to
    		// d.clear+1 and the clear code is 256.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 18 16:57:58 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/Platform.java

          E e) /*-{
        return ******@****.***::getDeclaringClass()();
      }-*/;
    
      static int reduceIterationsIfGwt(int iterations) {
        return iterations / 10;
      }
    
      static int reduceExponentIfGwt(int exponent) {
        return exponent / 2;
      }
    
      private Platform() {}
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jun 29 18:16:45 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  9. platforms/core-execution/build-cache/src/jmh/java/org/gradle/caching/internal/tasks/AbstractTaskOutputPackagingBenchmark.java

                FileUtils.forceDelete(tempDir.toFile());
            }
    
            @Setup(Level.Iteration)
            public void setupIteration() throws IOException {
                this.iterationDir = Files.createTempDirectory(tempDir, "iteration-");
            }
    
            @TearDown(Level.Iteration)
            public void tearDownIteration() throws IOException {
                FileUtils.forceDelete(iterationDir.toFile());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:43:12 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/UnsupportedWithConfigurationCache.java

        String because() default "";
    
        String[] bottomSpecs() default {};
    
        /**
         * Declare regular expressions matching the iteration name.
         * Defaults to an empty array, meaning this annotation applies to all iterations of the annotated feature.
         */
        String[] iterationMatchers() default {};
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top