Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 114 for wrapping (0.16 sec)

  1. android/guava-tests/test/com/google/common/escape/ArrayBasedEscaperMapTest.java

        assertEquals(65536, replacementArray.length);
        // The final element should always be non-null.
        assertNotNull(replacementArray[replacementArray.length - 1]);
        // Exhaustively check all mappings (an int index avoids wrapping).
        for (int n = 0; n < replacementArray.length; ++n) {
          char c = (char) n;
          if (replacementArray[n] != null) {
            assertEquals(map.get(c), new String(replacementArray[n]));
          } else {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 2.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/CharStreamsTest.java

        // nothing really to assert?
        assertSame(CharStreams.nullWriter(), CharStreams.nullWriter());
      }
    
      /**
       * Returns a reader wrapping the given reader that only reads half of the maximum number of
       * characters that it could read in read(char[], int, int).
       */
      private static Reader newNonBufferFillingReader(Reader reader) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 11.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

        // nothing really to assert?
        assertSame(CharStreams.nullWriter(), CharStreams.nullWriter());
      }
    
      /**
       * Returns a reader wrapping the given reader that only reads half of the maximum number of
       * characters that it could read in read(char[], int, int).
       */
      private static Reader newNonBufferFillingReader(Reader reader) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 11.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/UncheckedExecutionException.java

     * ExecutionException} when the exception thrown by a task is an unchecked exception. However, it
     * may also wrap a checked exception in some cases.
     *
     * <p>When wrapping an {@code Error} from another thread, prefer {@link ExecutionError}. When
     * wrapping a checked exception, prefer {@code ExecutionException}.
     *
     * @author Charles Fry
     * @since 10.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 17:52:19 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/eventbus/SubscriberRegistry.java

          }
    
          // don't try to remove the set if it's empty; that can't be done safely without a lock
          // anyway, if the set is empty it'll just be wrapping an array of length 0
        }
      }
    
      @VisibleForTesting
      Set<Subscriber> getSubscribersForTesting(Class<?> eventType) {
        return MoreObjects.firstNonNull(subscribers.get(eventType), ImmutableSet.<Subscriber>of());
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 22 13:05:46 GMT 2021
    - 10.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

       * invokeAll}, and {@code invokeAny} methods, so any special handling of tasks must be implemented
       * in the delegate's {@code execute} method or by wrapping the returned {@code
       * ListeningExecutorService}.
       *
       * <p>If the delegate executor was already an instance of {@code ListeningExecutorService}, it is
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

        threadFail("should throw " + exceptionName);
      }
    
      /**
       * Records the given exception using {@link #threadRecordFailure}, then rethrows the exception,
       * wrapping it in an AssertionFailedError if necessary.
       */
      public void threadUnexpectedException(Throwable t) {
        threadRecordFailure(t);
        t.printStackTrace();
    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)
  8. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

        threadFail("should throw " + exceptionName);
      }
    
      /**
       * Records the given exception using {@link #threadRecordFailure}, then rethrows the exception,
       * wrapping it in an AssertionFailedError if necessary.
       */
      public void threadUnexpectedException(Throwable t) {
        threadRecordFailure(t);
        t.printStackTrace();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    after the birds!  Why, she'll eat a little bird as soon as look
    at it!'
    
      This speech caused a remarkable sensation among the party.
    Some of the birds hurried off at once:  one old Magpie began
    wrapping itself up very carefully, remarking, `I really must be
    getting home; the night-air doesn't suit my throat!' and a Canary
    called out in a trembling voice to its children, `Come away, my
    Plain Text
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/math/LinearTransformationTest.java

      }
    
      public void testMapping_nanX1() {
        assertThrows(
            IllegalArgumentException.class, () -> LinearTransformation.mapping(Double.NaN, 3.4));
      }
    
      public void testMapping_nanY1() {
        assertThrows(
            IllegalArgumentException.class, () -> LinearTransformation.mapping(1.2, Double.NaN));
      }
    
      public void testMappingAnd_nanX2() {
        assertThrows(
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.1K bytes
    - Viewed (0)
Back to top