Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 293 for true (0.16 sec)

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

        testRotate(new boolean[] {true, false, true}, -4, new boolean[] {false, true, true});
        testRotate(new boolean[] {true, false, true}, -3, new boolean[] {true, false, true});
        testRotate(new boolean[] {true, false, true}, -2, new boolean[] {true, true, false});
        testRotate(new boolean[] {true, false, true}, -1, new boolean[] {false, true, true});
    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

        testRotate(new boolean[] {true, false, true}, -4, new boolean[] {false, true, true});
        testRotate(new boolean[] {true, false, true}, -3, new boolean[] {true, false, true});
        testRotate(new boolean[] {true, false, true}, -2, new boolean[] {true, true, false});
        testRotate(new boolean[] {true, false, true}, -1, new boolean[] {false, true, true});
    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

        assertEvalsToFalse(Predicates.and(TRUE, FALSE, NEVER_REACHED));
      }
    
      public void testAnd_equalityTernary() {
        new EqualsTester()
            .addEqualityGroup(
                Predicates.and(TRUE, isOdd(), NEVER_REACHED),
                Predicates.and(TRUE, isOdd(), NEVER_REACHED))
            .addEqualityGroup(Predicates.and(isOdd(), NEVER_REACHED, TRUE))
            .addEqualityGroup(Predicates.and(TRUE))
    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 testSetFutureThenInterrupt() throws Exception {
        assertThat(future.setFuture(delegate)).isTrue();
        assertThat(future.cancel(true /* mayInterruptIfRunning */)).isTrue();
        assertCancelled(future, true);
        assertCancelled(delegate, true);
      }
    
      public void testSetFutureDelegateAlreadySuccessful() throws Exception {
        delegate.set(5);
        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/src/com/google/common/util/concurrent/Monitor.java

              } catch (InterruptedException interrupt) {
                interrupted = true;
                remainingNanos = remainingNanos(startTime, timeoutNanos);
              }
            }
          }
    
          boolean satisfied = false;
          try {
            while (true) {
              try {
                if (guard.isSatisfied()) {
                  satisfied = true;
                } else {
                  final long remainingNanos;
    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)
  6. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

        }
      }
    
      //     /**
      //      * Spin-waits up to LONG_DELAY_MS until flag becomes true.
      //      */
      //     public void await(AtomicBoolean flag) {
      //         await(flag, LONG_DELAY_MS);
      //     }
    
      //     /**
      //      * Spin-waits up to the specified timeout until flag becomes true.
      //      */
      //     public void await(AtomicBoolean flag, long timeoutMillis) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Multisets.java

          int retainCount = occurrencesToRetain.count(entry.getElement());
          if (retainCount == 0) {
            entryIterator.remove();
            changed = true;
          } else if (retainCount < entry.getCount()) {
            multisetToModify.setCount(entry.getElement(), retainCount);
            changed = true;
          }
        }
        return changed;
      }
    
      /**
    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)
  8. android/guava/src/com/google/common/collect/Comparators.java

              return false;
            }
            prev = next;
          }
        }
        return true;
      }
    
      /**
       * Returns {@code true} if each element in {@code iterable} after the first is <i>strictly</i>
       * greater than the element that preceded it, according to the specified comparator. Note that
       * this is always true when the iterable has fewer than two elements.
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Iterables.java

            ? ((Collection<?>) iterable).size()
            : Iterators.size(iterable.iterator());
      }
    
      /**
       * Returns {@code true} if {@code iterable} contains any element {@code o} for which {@code
       * Objects.equals(o, element)} would return {@code true}. Otherwise returns {@code false}, even in
       * cases where {@link Collection#contains} might throw {@link NullPointerException} or {@link
       * ClassCastException}.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java

        assertThat(map.entrySet())
            .containsExactly(Maps.immutableEntry("one", 1), Maps.immutableEntry("three", 3))
            .inOrder();
      }
    
      public void testSubMapExclusiveInclusive() {
        Map<String, Integer> map =
            ImmutableSortedMap.of("one", 1, "two", 2, "three", 3).subMap("one", false, "two", true);
        assertThat(map.entrySet())
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 28.1K bytes
    - Viewed (0)
Back to top