Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 973 for true (0.27 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/reflect/TypeTokenSubtypeTest.java

        public Enum<?> implicitlyBoundedEnum(Enum<?> e) {
          return isSubtype(e);
        }
    
        @TestSubtype(suppressGetSupertype = true, suppressGetSubtype = true)
        public Enum<?> explicitlyBoundedEnumIsSubtypeOfImplicitlyBoundedEnum(
            Enum<? extends Enum<?>> obj) {
          return isSubtype(obj);
        }
    
        @TestSubtype(suppressGetSupertype = true, suppressGetSubtype = true)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 20.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/MonitorTestCase.java

        TestGuard guard = new TestGuard(true);
        thread2.callAndAssertReturns(enter());
        thread1.callAndAssertBlocks(enterIf(), guard);
        thread2.callAndAssertReturns(leave());
        thread1.assertPriorCallReturns(true, enterIf());
      }
    
      public final void testTryEnterIf_initiallyTrue() throws Exception {
        TestGuard guard = new TestGuard(true);
        thread1.callAndAssertReturns(true, tryEnterIf(), guard);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  5. 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)
  6. guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

        testThreshold(0, 100, true, true);
        testThreshold(10, 100, true, true);
        testThreshold(100, 100, true, true);
        testThreshold(1000, 100, true, true);
        testThreshold(0, 100, false, true);
        testThreshold(10, 100, false, true);
        testThreshold(100, 100, false, true);
        testThreshold(1000, 100, false, true);
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 5.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/SupplementalMonitorTest.java

        monitor.enter();
        try {
          verifyOccupiedMethodsInCurrentThread(monitor, true, true, 1);
          verifyOccupiedMethodsInAnotherThread(monitor, true, false, 0);
          monitor.enter();
          try {
            verifyOccupiedMethodsInCurrentThread(monitor, true, true, 2);
            verifyOccupiedMethodsInAnotherThread(monitor, true, false, 0);
          } finally {
            monitor.leave();
          }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  8. guava-testlib/test/com/google/common/testing/TearDownStackTest.java

        assertEquals(false, tearDownOne.ran);
        assertEquals(false, tearDownTwo.ran);
    
        stack.runTearDown();
    
        assertEquals("tearDownOne should have run", true, tearDownOne.ran);
        assertEquals("tearDownTwo should have run", true, tearDownTwo.ran);
      }
    
      public void testThrowingTearDown() throws Exception {
        final TearDownStack stack = buildTearDownStack();
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 15:19:38 GMT 2023
    - 4.6K bytes
    - Viewed (0)
  9. 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)
  10. guava-tests/test/com/google/common/collect/HashBasedTableRowTest.java

    import com.google.common.collect.TableCollectionTest.RowTests;
    
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class HashBasedTableRowTest extends RowTests {
      public HashBasedTableRowTest() {
        super(false, true, true, true, true);
      }
    
      @Override
      Table<Character, String, Integer> makeTable() {
        return HashBasedTable.create();
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 1K bytes
    - Viewed (0)
Back to top