Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 192 for conceal (0.17 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java

        System.clearProperty("guava.concurrent.generate_cancellation_cause");
      }
    
      public void testCancel_notDoneNoInterrupt() throws Exception {
        Future<?> future = newFutureInstance();
        assertTrue(future.cancel(false));
        assertTrue(future.isCancelled());
        assertTrue(future.isDone());
        assertNull(tryInternalFastPathGetFailure(future));
        CancellationException e = assertThrows(CancellationException.class, () -> future.get());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

              // Note: The only way this CAS could fail is if cancel() has raced with us. That is ok.
              boolean unused = ATOMIC_HELPER.casValue(this, valueToSet, failure);
            }
            return true;
          }
          localValue = value; // we lost the cas, fall through and maybe cancel
        }
        // The future has already been set to something. If it is cancellation we should cancel the
        // incoming future.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/DoublesTest.java

        }
      }
    
      public void testConcat() {
        assertThat(Doubles.concat()).isEqualTo(EMPTY);
        assertThat(Doubles.concat(EMPTY)).isEqualTo(EMPTY);
        assertThat(Doubles.concat(EMPTY, EMPTY, EMPTY)).isEqualTo(EMPTY);
        assertThat(Doubles.concat(ARRAY1)).isEqualTo(ARRAY1);
        assertThat(Doubles.concat(ARRAY1)).isNotSameInstanceAs(ARRAY1);
        assertThat(Doubles.concat(EMPTY, ARRAY1, EMPTY)).isEqualTo(ARRAY1);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 31.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/LongsTest.java

        assertThat(Longs.concat()).isEqualTo(EMPTY);
        assertThat(Longs.concat(EMPTY)).isEqualTo(EMPTY);
        assertThat(Longs.concat(EMPTY, EMPTY, EMPTY)).isEqualTo(EMPTY);
        assertThat(Longs.concat(ARRAY1)).isEqualTo(ARRAY1);
        assertThat(Longs.concat(ARRAY1)).isNotSameInstanceAs(ARRAY1);
        assertThat(Longs.concat(EMPTY, ARRAY1, EMPTY)).isEqualTo(ARRAY1);
        assertThat(Longs.concat(ARRAY1, ARRAY1, ARRAY1))
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 30K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

        }
      }
    
      public void testConcat() {
        assertThat(Doubles.concat()).isEqualTo(EMPTY);
        assertThat(Doubles.concat(EMPTY)).isEqualTo(EMPTY);
        assertThat(Doubles.concat(EMPTY, EMPTY, EMPTY)).isEqualTo(EMPTY);
        assertThat(Doubles.concat(ARRAY1)).isEqualTo(ARRAY1);
        assertThat(Doubles.concat(ARRAY1)).isNotSameInstanceAs(ARRAY1);
        assertThat(Doubles.concat(EMPTY, ARRAY1, EMPTY)).isEqualTo(ARRAY1);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 31.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/LongsTest.java

        assertThat(Longs.concat()).isEqualTo(EMPTY);
        assertThat(Longs.concat(EMPTY)).isEqualTo(EMPTY);
        assertThat(Longs.concat(EMPTY, EMPTY, EMPTY)).isEqualTo(EMPTY);
        assertThat(Longs.concat(ARRAY1)).isEqualTo(ARRAY1);
        assertThat(Longs.concat(ARRAY1)).isNotSameInstanceAs(ARRAY1);
        assertThat(Longs.concat(EMPTY, ARRAY1, EMPTY)).isEqualTo(ARRAY1);
        assertThat(Longs.concat(ARRAY1, ARRAY1, ARRAY1))
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 30K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/FluentIterableTest.java

        assertEquals(asList(1, 4, 7, 8, 9, 10), newArrayList(result));
        assertEquals("[1, 4, 7, 8, 9, 10]", result.toString());
      }
    
      public void testConcatNullPointerException() {
        List<Integer> list1 = newArrayList(1);
        List<Integer> list2 = newArrayList(4);
    
        try {
          FluentIterable.concat(list1, null, list2);
          fail();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 06 17:32:08 GMT 2023
    - 30.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

          // code should be unreachable with correctly implemented Futures.
          // Cancel this future and return.
          // At this point, inputFuture is cancelled and outputFuture doesn't exist, so the value of
          // mayInterruptIfRunning is irrelevant.
          cancel(false);
          return;
        } catch (ExecutionException e) {
          // Set the cause of the exception as this future's exception.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/StripedTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.util.concurrent;
    
    import static com.google.common.collect.Iterables.concat;
    
    import com.google.common.base.Functions;
    import com.google.common.base.Supplier;
    import com.google.common.collect.ImmutableList;
    import com.google.common.collect.Lists;
    import com.google.common.collect.Maps;
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 8.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/FuturesGetUncheckedTest.java

        } finally {
          Thread.interrupted();
        }
      }
    
      public void testGetUnchecked_cancelled() {
        SettableFuture<String> future = SettableFuture.create();
        future.cancel(true);
        try {
          getUnchecked(future);
          fail();
        } catch (CancellationException expected) {
        }
      }
    
      public void testGetUnchecked_ExecutionExceptionChecked() {
        try {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 4.3K bytes
    - Viewed (0)
Back to top