Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 787 for iterations (0.43 sec)

  1. android/guava/src/com/google/common/hash/LittleEndianByteArray.java

        long result = 0;
        // Due to the way we shift, we can stop iterating once we've run out of data, the rest
        // of the result already being filled with zeros.
    
        // This loop is critical to performance, so please check HashBenchmark if altering it.
        int limit = Math.min(length, 8);
        for (int i = 0; i < limit; i++) {
          // Shift value left while iterating logically through the array.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionIteratorTester.java

        for (E element : collection) { // uses iterator()
          iteratorElements.add(element);
        }
        List<E> expected = Helpers.copyToList(getOrderedElements());
        assertEquals("Different ordered iteration", expected, iteratorElements);
      }
    
      @CollectionFeature.Require(ALLOWS_NULL_VALUES)
      @CollectionSize.Require(absent = ZERO)
      public void testIterator_nullElement() {
        initCollectionWithNullElement();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/hash/LittleEndianByteArray.java

        long result = 0;
        // Due to the way we shift, we can stop iterating once we've run out of data, the rest
        // of the result already being filled with zeros.
    
        // This loop is critical to performance, so please check HashBenchmark if altering it.
        int limit = Math.min(length, 8);
        for (int i = 0; i < limit; i++) {
          // Shift value left while iterating logically through the array.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/fixture/CrossVersionToolingApiSpecificationRetryTest.groovy

            toolingApi.requireIsolatedDaemons()
        }
    
        def iteration = 0
    
        def "does not retry if NPE is thrown in daemon registry in >=1.8"() {
            given:
            iteration++
    
            when:
            throwWhen(new GradleConnectionException("Test Exception", new NullPointerException()), iteration == 1)
    
            then:
            GradleConnectionException gce = thrown()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 06:17:20 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  5. platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/GradleRunnerRetryTest.groovy

            //these meta tests mess with the daemon log: do not interfere with other tests when running in parallel
            requireIsolatedTestKitDir = true
        }
    
        def iteration = 0
    
        def "retries on clock shift issue for <2.10"() {
            given:
            iteration++
            def isVersionWithIssue = gradleVersion < GradleVersion.version('2.10')
    
            when:
            throwWhen(new GradleConnectionException("Test Exception",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 15:10:38 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. testing/soak/src/integTest/groovy/org/gradle/vfs/FileSystemWatchingSoakTest.groovy

            then:
            daemon.assertIdle()
    
            expect:
            long endOfDaemonLog = daemon.logLineCount
            numberOfRuns.times { iteration ->
                // when:
                println("Running iteration ${iteration + 1}")
                changeSourceFiles(iteration, numberOfChangesBetweenBuilds)
                waitForChangesToBePickedUp()
                succeeds("assemble")
    
                // then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  7. src/testing/fstest/mapfs.go

    // or to create an empty directory.
    //
    // File system operations read directly from the map,
    // so that the file system can be changed by editing the map as needed.
    // An implication is that file system operations must not run concurrently
    // with changes to the map, which would be a race.
    // Another implication is that opening or reading a directory requires
    // iterating over the entire map, so a MapFS should typically be used with not more
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/CrossVersionRetryTest.groovy

    @TargetVersions(["1.9", "1.10"])
    class CrossVersionRetryTest extends CrossVersionIntegrationSpec {
    
        def iteration = 0
    
        def "retry for metadata directory creation issue in Gradle 1.9 or 1.10"() {
            given:
            iteration++
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/BuildOperationTreeFixture.groovy

        private final BuildOperationTree operations
    
        BuildOperationTreeFixture(BuildOperationTree operations) {
            this.operations = operations
        }
    
        @Override
        List<BuildOperationRecord> getRoots() {
            operations.roots
        }
    
        @Override
        @SuppressWarnings("GrUnnecessaryPublicModifier")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 23:08:20 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/BuildCacheOperationFixtures.groovy

    import org.gradle.caching.internal.operations.BuildCacheArchivePackBuildOperationType
    import org.gradle.caching.internal.operations.BuildCacheArchiveUnpackBuildOperationType
    import org.gradle.caching.internal.operations.BuildCacheLocalLoadBuildOperationType
    import org.gradle.caching.internal.operations.BuildCacheLocalStoreBuildOperationType
    import org.gradle.caching.internal.operations.BuildCacheRemoteStoreBuildOperationType
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.2K bytes
    - Viewed (0)
Back to top