Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 2,596 for iterations (0.16 sec)

  1. 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)
  2. tests/fuzz/aggregate_controller_fuzzer.go

    	opts := aggregate.Options{}
    	err := f.GenerateStruct(&opts)
    	if err != nil {
    		return 0
    	}
    	opts.MeshHolder = meshHolder
    	c := aggregate.NewController(opts)
    
    	iterations, err := f.GetInt()
    	if err != nil {
    		return 0
    	}
    	for i := 0; i < iterations%30; i++ {
    		opType, err := f.GetInt()
    		if err != nil {
    			return 0
    		}
    		switch ops[opType%maxOps] {
    		case "AddRegistry":
    			err = runAddRegistry(f, c)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 07 18:40:05 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. platforms/software/testing-base/src/main/java/org/gradle/api/tasks/testing/logging/TestLogging.java

         * from the test method will be logged and events from the test class and lower will be ignored.  On the other hand, if a test method is parameterized, then events from the iterations of that test
         * method will be logged and events from the test method and lower will be ignored.
         *
         * @return the minimum granularity of the events to be logged
         */
        int getMinGranularity();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top