Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 16 of 16 for sampleTask (0.35 sec)

  1. guava-tests/benchmark/com/google/common/math/LessThanBenchmark.java

        for (int i = 0; i < reps; i++) {
          int j = i & SAMPLE_MASK;
          int x = xInts[j];
          int y = yInts[j];
          int z = constant[j];
          tmp += z + ((x - y) >>> (Integer.SIZE - 1));
        }
        return tmp;
      }
    
      @Benchmark
      int branchFreeLtInt(int reps) {
        int tmp = 0;
        for (int i = 0; i < reps; i++) {
          int j = i & SAMPLE_MASK;
          int x = xInts[j];
          int y = yInts[j];
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4K bytes
    - Viewed (0)
  2. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/changes/ImplementationChangesTest.groovy

            expect:
            changesBetween(
                impl(SimpleTask), [impl(TestAction, previousHash)],
                impl(SimpleTask), [impl(TestAction)]
            ) == ["One or more additional actions for task ':test' have changed."]
        }
    
        def "not up-to-date when action is added"() {
            expect:
            changesBetween(
                impl(SimpleTask), [],
                impl(SimpleTask), [impl(TestAction)]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java

      @Param({"16384"})
      int charCount;
    
      @Param({"MURMUR3_32", "MURMUR3_128", "SHA1"})
      HashFunctionEnum hashFunctionEnum;
    
      private String[] strings;
    
      static final int SAMPLES = 0x100;
      static final int SAMPLE_MASK = 0xFF;
    
      /**
       * Compute arrays of valid unicode text, and store it in 3 forms: byte arrays, Strings, and
       * StringBuilders (in a CharSequence[] to make it a little harder for the JVM).
       */
      @BeforeExperiment
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 5.3K bytes
    - Viewed (0)
  4. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/continuous/ContinuousBuildGateIntegrationTest.groovy

                }
    
                def continuousExecutionGate = gradle.services.get(DeploymentRegistryInternal).executionGate
                BuildGateKeeperStarter.start(continuousExecutionGate)
    
                class SimpleTask extends DefaultTask {
                    @InputFile
                    File inputFile = project.file("input.txt")
    
                    @OutputFile
                    File outputFile = new File(project.buildDir, "output.txt")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/properties/annotations/DefaultTypeMetadataStoreTest.groovy

        }
    
        @SuppressWarnings("GrDeprecatedAPIUsage")
        static class SimpleTask extends DefaultTask {
            @Input
            String inputString
            @InputFile
            File inputFile
            @InputDirectory
            File inputDirectory
            @InputFiles
            File inputFiles
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:42:35 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  6. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/GradleKotlinDslIntegrationTest.kt

                """
                import org.gradle.api.*
                import org.gradle.api.tasks.*
    
                open class SimpleTask : DefaultTask() {
                    @TaskAction fun run() = println("it works!")
                }
    
                task<SimpleTask>("build")
                """
            )
    
            assertThat(
                build("-q", "build").output,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 18:26:28 UTC 2024
    - 37.5K bytes
    - Viewed (0)
Back to top