Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 662 for hasTest (0.17 seconds)

  1. guava/src/com/google/common/base/AbstractIterator.java

          state = State.READY;
          return true;
        }
        return false;
      }
    
      @Override
      @ParametricNullness
      public final T next() {
        if (!hasNext()) {
          throw new NoSuchElementException();
        }
        state = State.NOT_READY;
        // Safe because hasNext() ensures that tryToComputeNext() has put a T into `next`.
        T result = uncheckedCastNullableTToT(next);
        next = null;
        return result;
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/FilteredEntryMultimap.java

        Iterator<Entry<K, Collection<V>>> entryIterator = unfiltered.asMap().entrySet().iterator();
        boolean changed = false;
        while (entryIterator.hasNext()) {
          Entry<K, Collection<V>> entry = entryIterator.next();
          K key = entry.getKey();
          Collection<V> collection = filterCollection(entry.getValue(), new ValuePredicate(key));
          if (!collection.isEmpty()
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AcceptedRegressionsRuleSetup.java

    import gradlebuild.binarycompatibility.ApiChange;
    import me.champeau.gradle.japicmp.report.SetupRule;
    import me.champeau.gradle.japicmp.report.ViolationCheckContext;
    
    import java.util.Collections;
    import java.util.HashSet;
    import java.util.Map;
    import java.util.Set;
    
    public class AcceptedRegressionsRuleSetup implements SetupRule {
    
        private final Set<ApiChange> acceptedApiChanges;
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Dec 30 10:14:25 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/LexicographicalOrdering.java

        Iterator<T> right = rightIterable.iterator();
        while (left.hasNext()) {
          if (!right.hasNext()) {
            return LEFT_IS_GREATER; // because it's longer
          }
          int result = elementOrder.compare(left.next(), right.next());
          if (result != 0) {
            return result;
          }
        }
        if (right.hasNext()) {
          return RIGHT_IS_GREATER; // because it's longer
        }
        return 0;
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jun 04 13:03:16 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/LexicographicalOrdering.java

        Iterator<T> right = rightIterable.iterator();
        while (left.hasNext()) {
          if (!right.hasNext()) {
            return LEFT_IS_GREATER; // because it's longer
          }
          int result = elementOrder.compare(left.next(), right.next());
          if (result != 0) {
            return result;
          }
        }
        if (right.hasNext()) {
          return RIGHT_IS_GREATER; // because it's longer
        }
        return 0;
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jun 04 13:03:16 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  6. lib/hg/goreposum.py

    @command(b'goreposum', [], _('url'), norepo=True)
    def goreposum(ui, url):
      """
      goreposum computes a checksum of all the named state in the remote repo.
      It hashes together all the branch names and hashes
      and then all the bookmark names and hashes.
      Tags are stored in .hgtags files in any of the branches,
      so the branch metadata includes the tags as well.
      """
      h = hashlib.sha256()
      peer = hg.peer(ui, {}, url)
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Nov 11 15:21:02 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  7. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AcceptedRegressionsRulePostProcess.java

    import me.champeau.gradle.japicmp.report.PostProcessViolationsRule;
    import me.champeau.gradle.japicmp.report.ViolationCheckContextWithViolations;
    import org.gradle.util.internal.CollectionUtils;
    
    import java.util.HashSet;
    import java.util.Set;
    
    public class AcceptedRegressionsRulePostProcess implements PostProcessViolationsRule {
    
        @Override
        @SuppressWarnings("unchecked")
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Jun 09 08:16:49 GMT 2021
    - 1.7K bytes
    - Click Count (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/FindMissingDocumentationFiles.java

     */
    @CacheableTask
    public abstract class FindMissingDocumentationFiles extends DefaultTask {
        private static final Set<String> EXCLUDED_FILES = new HashSet<>(Arrays.asList(
            "temp.adoc",
            "userguide_single.adoc"
        ));
    
        private static final Set<String> EXCLUDED_ANCHORS = new HashSet<>(Arrays.asList(
            // properties have been deprecated in Gradle 9.0.0
            "sec:war_convention_properties",
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Aug 21 15:38:58 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/graph/InvalidatableSetTest.java

    package com.google.common.graph;
    
    import static com.google.common.truth.Truth.assertThat;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.collect.ImmutableSet;
    import java.util.HashSet;
    import java.util.Set;
    import org.jspecify.annotations.NullUnmarked;
    import org.junit.Before;
    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.JUnit4;
    
    @RunWith(JUnit4.class)
    @NullUnmarked
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetEntrySetTester.java

        assertTrue(
            "non-empty multiset.entrySet() iterator.hasNext() returned false", iterator.hasNext());
        assertEquals(
            "multiset.entrySet() iterator.next() returned incorrect entry",
            Multisets.immutableEntry(e0(), 1),
            iterator.next());
        assertFalse(
            "size 1 multiset.entrySet() iterator.hasNext() returned true after next()",
            iterator.hasNext());
        iterator.remove();
        assertTrue(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 9.6K bytes
    - Click Count (0)
Back to Top