Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 324 for halse (0.23 sec)

  1. guava-tests/test/com/google/common/primitives/BooleansTest.java

            0,
            1,
            6,
            new boolean[] {false, true, false, true, false, true, false});
        testRotate(
            new boolean[] {false, true, false, true, false, true, false},
            5,
            1,
            6,
            new boolean[] {false, true, false, true, false, true, false});
        testRotate(
            new boolean[] {false, true, false, true, false, true, false},
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 15:43:29 GMT 2024
    - 23.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/BooleansTest.java

            0,
            1,
            6,
            new boolean[] {false, true, false, true, false, true, false});
        testRotate(
            new boolean[] {false, true, false, true, false, true, false},
            5,
            1,
            6,
            new boolean[] {false, true, false, true, false, true, false});
        testRotate(
            new boolean[] {false, true, false, true, false, true, false},
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 15:43:29 GMT 2024
    - 23.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/base/PredicatesTest.java

        assertEvalsLikeOdd(Predicates.or(isOdd(), FALSE, FALSE));
        assertEvalsLikeOdd(Predicates.or(FALSE, isOdd(), FALSE));
        assertEvalsLikeOdd(Predicates.or(FALSE, FALSE, isOdd()));
        assertEvalsToTrue(Predicates.or(FALSE, TRUE, NEVER_REACHED));
      }
    
      public void testOr_equalityTernary() {
        new EqualsTester()
            .addEqualityGroup(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 32.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

      }
    
      public void testSetFutureThenCancel() throws Exception {
        assertThat(future.setFuture(delegate)).isTrue();
        assertThat(future.cancel(false /* mayInterruptIfRunning */)).isTrue();
        assertCancelled(future, false);
        assertCancelled(delegate, false);
      }
    
      public void testSetFutureThenInterrupt() throws Exception {
        assertThat(future.setFuture(delegate)).isTrue();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/hash/BloomFilterTest.java

        for (int i = 0; i < numInsertions * 2; i += 2) {
          assertTrue(bf.mightContain(Integer.toString(i)));
        }
    
        // Now we check for known false positives using a set of known false positives.
        // (These are all of the false positives under 900.)
        ImmutableSet<Integer> falsePositives =
            ImmutableSet.of(
                49, 51, 59, 163, 199, 321, 325, 363, 367, 469, 545, 561, 727, 769, 773, 781);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 21.3K bytes
    - Viewed (0)
  6. android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

        public boolean equals(@Nullable Object o) {
          if (!(o instanceof ValidTestObject)) {
            return false;
          }
          ValidTestObject other = (ValidTestObject) o;
          if (aspect1 != other.aspect1) {
            return false;
          }
          if (aspect2 != other.aspect2) {
            return false;
          }
          return true;
        }
    
        @Override
        public int hashCode() {
          int result = 17;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 15:49:06 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/Monitor.java

            return false;
          }
        }
    
        boolean satisfied = false;
        boolean threw = true;
        try {
          satisfied =
              guard.isSatisfied()
                  || awaitNanos(
                      guard,
                      (startTime == 0L) ? timeoutNanos : remainingNanos(startTime, timeoutNanos),
                      reentrant);
          threw = false;
          return satisfied;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 18:22:01 GMT 2023
    - 38.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Collections2.java

        try {
          return collection.contains(object);
        } catch (ClassCastException | NullPointerException e) {
          return false;
        }
      }
    
      /**
       * Delegates to {@link Collection#remove}. Returns {@code false} if the {@code remove} method
       * throws a {@code ClassCastException} or {@code NullPointerException}.
       */
      static boolean safeRemove(Collection<?> collection, @CheckForNull Object object) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  9. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

          remove(key);
          return true;
        }
        return false;
      }
    
      @Override
      public boolean replace(K key, V oldValue, V newValue) {
        if (oldValue.equals(get(key))) {
          alertListenerIfPresent(key, oldValue, RemovalCause.REPLACED);
          put(key, newValue);
          return true;
        }
        return false;
      }
    
      @Override
      public V replace(K key, V value) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Multisets.java

          if (multiset.size() != that.size() || multiset.entrySet().size() != that.entrySet().size()) {
            return false;
          }
          for (Entry<?> entry : that.entrySet()) {
            if (multiset.count(entry.getElement()) != entry.getCount()) {
              return false;
            }
          }
          return true;
        }
        return false;
      }
    
      /** An implementation of {@link Multiset#addAll}. */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
Back to top