Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 40 for Vaughn (0.33 sec)

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

            .addEqualityGroup(ImmutableDoubleArray.of(1, 2, 3))
            .testEquals();
      }
    
      /**
       * This is probably a weird and hacky way to test what we're really trying to test, but hey, it
       * caught a bug.
       */
      public void testTrimmed() {
        ImmutableDoubleArray iia = ImmutableDoubleArray.of(0, 1, 3);
        assertDoesntActuallyTrim(iia);
        assertDoesntActuallyTrim(iia.subArray(0, 3));
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 21.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

        statusFuture.cancel(true);
        assertThat(statusFuture.isCancelled()).isTrue();
        waiter.awaitReturned();
        assertThat(getFinalValue(closingFuture)).isEqualTo("value");
      }
    
      public void testCancel_caught() throws Exception {
        ClosingFuture<String> step0 = ClosingFuture.from(immediateFuture("value 0"));
        ClosingFuture<String> step1 =
            step0.transform(
                new ClosingFunction<String, String>() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

            .addEqualityGroup(ImmutableDoubleArray.of(1, 2, 3))
            .testEquals();
      }
    
      /**
       * This is probably a weird and hacky way to test what we're really trying to test, but hey, it
       * caught a bug.
       */
      public void testTrimmed() {
        ImmutableDoubleArray iia = ImmutableDoubleArray.of(0, 1, 3);
        assertDoesntActuallyTrim(iia);
        assertDoesntActuallyTrim(iia.subArray(0, 3));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 06 15:23:21 GMT 2023
    - 20K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

            .addEqualityGroup(ImmutableLongArray.of(1, 2, 3))
            .testEquals();
      }
    
      /**
       * This is probably a weird and hacky way to test what we're really trying to test, but hey, it
       * caught a bug.
       */
      public void testTrimmed() {
        ImmutableLongArray iia = ImmutableLongArray.of(0, 1, 3);
        assertDoesntActuallyTrim(iia);
        assertDoesntActuallyTrim(iia.subArray(0, 3));
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 20.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ForwardingSortedMap.java

       * #containsKey} to forward to this implementation.
       *
       * @since 7.0
       */
      @Override
      protected boolean standardContainsKey(@CheckForNull Object key) {
        try {
          // any CCE or NPE will be caught
          @SuppressWarnings({"unchecked", "nullness"})
          SortedMap<@Nullable Object, V> self = (SortedMap<@Nullable Object, V>) this;
          Object ceilingKey = self.tailMap(key).firstKey();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 12 15:26:39 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/ExecutionList.java

     * thrown by {@linkplain MoreExecutors#directExecutor direct execution}) will be caught and logged.
     *
     * @author Nishant Thakkar
     * @author Sven Mawson
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public final class ExecutionList {
      /** Logger to log exceptions caught when running runnables. */
      private static final LazyLogger log = new LazyLogger(ExecutionList.class);
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/user/allcommon/EsAbstractBehavior.java

                return null;
            }
            if (list.size() >= 2) {
                String msg = "The size of selected list is over 1: " + list.size();
                throw new FetchingOverSafetySizeException(msg, 1); // immediately caught by caller and translated
            }
            return list.get(0);
        }
    
        @Override
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 26.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/Service.java

       * they were registered.
       *
       * <p>RuntimeExceptions thrown by a listener will be caught and logged. Any exception thrown
       * during {@code Executor.execute} (e.g., a {@code RejectedExecutionException}) will be caught and
       * logged.
       *
       * @param listener the listener to run when the service changes state is complete
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 10.7K bytes
    - Viewed (0)
  9. android/guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java

              return new IteratorWithSunJavaBug6529795<>(iterator);
            }
          }.test();
        } catch (AssertionFailedError e) {
          return;
        }
        fail("Should have caught jdk6 bug in target iterator");
      }
    
      private static final int STEPS = 3;
    
      static class TesterThatCountsCalls extends IteratorTester<Integer> {
        TesterThatCountsCalls() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 12:41:04 GMT 2023
    - 10.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/ListenableFuture.java

       * during {@code Executor.execute} (e.g., a {@code RejectedExecutionException} or an exception
       * thrown by {@linkplain MoreExecutors#directExecutor direct execution}) will be caught and
       * logged.
       *
       * <p>Note: If your listener is lightweight -- and will not cause stack overflow by completing
       * more futures or adding more {@code directExecutor()} listeners inline -- consider {@link
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:13:41 GMT 2023
    - 8K bytes
    - Viewed (0)
Back to top