Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for Exactly (0.14 sec)

  1. futures/README.md

    The modules under this directory will be released exactly once each. Once that
    Plain Text
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 12 21:42:09 GMT 2018
    - 141 bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/eventbus/outside/OutsideEventBusTest.java

     *
     * @author Louis Wasserman
     */
    public class OutsideEventBusTest extends TestCase {
    
      /*
       * If you do this test from common.eventbus.EventBusTest, it doesn't actually test the behavior.
       * That is, even if exactly the same method works from inside the common.eventbus package tests,
       * it can fail here.
       */
      public void testAnonymous() {
        final AtomicReference<String> holder = new AtomicReference<>();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.8K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/MapEqualsTester.java

        Collection<Entry<K, V>> entries = getSampleEntries(getNumEntries() - 1);
        entries.add(entry(null, v3()));
        Map<K, V> other = newHashMap(entries);
    
        assertFalse(
            "Two Maps should not be equal if exactly one of them contains a null key.",
            getMap().equals(other));
      }
    
      @CollectionSize.Require(absent = CollectionSize.ZERO)
      @MapFeature.Require(ALLOWS_NULL_VALUES)
      public void testEquals_containingNullValue() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 4.8K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/MapEqualsTester.java

        Collection<Entry<K, V>> entries = getSampleEntries(getNumEntries() - 1);
        entries.add(entry(null, v3()));
        Map<K, V> other = newHashMap(entries);
    
        assertFalse(
            "Two Maps should not be equal if exactly one of them contains a null key.",
            getMap().equals(other));
      }
    
      @CollectionSize.Require(absent = CollectionSize.ZERO)
      @MapFeature.Require(ALLOWS_NULL_VALUES)
      public void testEquals_containingNullValue() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 4.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ConcurrentHashMultisetBasherTest.java

                  int oldValue = multiset.remove(key, delta);
                  deltas[keyIndex] -= Math.min(delta, oldValue);
                  break;
                }
              case REMOVE_EXACTLY:
                {
                  int delta = random.nextInt(5); // [0, 4]
                  if (multiset.removeExactly(key, delta)) {
                    deltas[keyIndex] -= delta;
                  }
                  break;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 5.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/SingletonImmutableSet.java

    import com.google.common.base.Preconditions;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Implementation of {@link ImmutableSet} with exactly one element.
     *
     * @author Kevin Bourrillion
     * @author Nick Kralevich
     */
    @GwtCompatible(serializable = true, emulated = true)
    @SuppressWarnings("serial") // uses writeReplace(), not default serialization
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 2.5K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/ListEqualsTester.java

      public void testEquals_otherListContainingNull() {
        List<E> other = new ArrayList<>(getSampleElements());
        other.set(other.size() / 2, null);
        assertFalse(
            "Two Lists should not be equal if exactly one of them has null at a given index.",
            getList().equals(other));
      }
    
      @CollectionSize.Require(absent = CollectionSize.ZERO)
      @CollectionFeature.Require(ALLOWS_NULL_VALUES)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 3.5K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/ListEqualsTester.java

      public void testEquals_otherListContainingNull() {
        List<E> other = new ArrayList<>(getSampleElements());
        other.set(other.size() / 2, null);
        assertFalse(
            "Two Lists should not be equal if exactly one of them has null at a given index.",
            getList().equals(other));
      }
    
      @CollectionSize.Require(absent = CollectionSize.ZERO)
      @CollectionFeature.Require(ALLOWS_NULL_VALUES)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 3.5K bytes
    - Viewed (0)
  9. guava-testlib/test/com/google/common/testing/AbstractPackageSanityTestsTest.java

    public class AbstractPackageSanityTestsTest extends TestCase {
      /*
       * This is a public type so that the Android test runner can create an instance directly as it
       * insists upon doing. It then runs the test, which behaves exactly like this package's existing
       * PackageSanityTests. (The test would run on the JVM, too, if not for the suppression below, and
       * that would be a problem because it violates small-test rules. Note that we strip the
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Jun 11 21:37:55 GMT 2019
    - 5.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/base/AndroidIncompatible.java

     *       other tests. We want to exclude the other tests (which Android can't handle) while
     *       continuing to run {@code FooTest} itself. This is exactly what happens with {@code
     *       AndroidIncompatible}. But I'm not sure what would happen if we annotated the {@code
     *       suite()} method with {@code Suppress}. Would {@code FooTest} itself be suppressed, too?
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Jul 07 15:40:13 GMT 2023
    - 3.9K bytes
    - Viewed (0)
Back to top