Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for forthy (0.23 sec)

  1. guava-tests/test/com/google/common/collect/LenientSerializableTester.java

     * identical to the original.
     *
     * @author Chris Povirk
     */
    /*
     * The whole thing is really @GwtIncompatible, but GwtJUnitConvertedTestModule doesn't have a
     * parameter for non-GWT, non-test files, and it didn't seem worth adding one for this unusual case.
     */
    @GwtCompatible(emulated = true)
    final class LenientSerializableTester {
      /*
       * TODO(cpovirk): move this to c.g.c.testing if we allow for c.g.c.annotations dependencies so
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Aug 04 15:33:27 GMT 2020
    - 2.5K bytes
    - Viewed (0)
  2. guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java

    import java.lang.reflect.Method;
    import java.util.Locale;
    import junit.framework.TestCase;
    
    /**
     * Since annotations have some reusability issues that force copy and paste all over the place, it's
     * worth having a test to ensure that all our Feature enums have their annotations correctly set up.
     *
     * @author George van den Driessche
     */
    public class FeatureEnumTest extends TestCase {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Utf8.java

                || (((byte1 << 28) + (byte2 - (byte) 0x90)) >> 30) != 0
                // Third byte trailing-byte test
                || bytes[index++] > (byte) 0xBF
                // Fourth byte trailing-byte test
                || bytes[index++] > (byte) 0xBF) {
              return false;
            }
          }
        }
      }
    
      private static String unpairedSurrogateMsg(int i) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 10 14:11:51 GMT 2023
    - 7K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/google/MultimapPutIterableTester.java

          fail();
        } catch (NullPointerException expected) {
        }
    
        /*
         * In principle, a Multimap implementation could add e3 first before failing on the null. But
         * that seems unlikely enough to be worth complicating the test over, especially if there's any
         * chance that a permissive test could mask a bug.
         */
        expectUnchanged();
        // Be extra thorough in case internal state was corrupted by the expected null.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 7.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Strings.java

       * @param args the arguments to be substituted into the message template. The first argument
       *     specified is substituted for the first occurrence of {@code "%s"} in the template, and so
       *     forth. A {@code null} argument is converted to the four-character string {@code "null"};
       *     non-null values are converted to strings using {@link Object#toString()}.
       * @since 25.1
       */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Sep 17 20:47:03 GMT 2021
    - 12.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/CompactLinkedHashMap.java

     * when there is a specific reason to prioritize memory over CPU.
     *
     * @author Louis Wasserman
     */
    @J2ktIncompatible // no support for access-order mode in LinkedHashMap delegate
    @GwtIncompatible // not worth using in GWT for now
    @ElementTypesAreNonnullByDefault
    class CompactLinkedHashMap<K extends @Nullable Object, V extends @Nullable Object>
        extends CompactHashMap<K, V> {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        for (int i = 0; i < 5; i++) {
          limiter.acquire();
        }
        assertEvents("R0.00", "R1.00", "R1.00", "R1.00", "R1.00");
      }
    
      /**
       * Make sure that bursts can never go above 1-second-worth-of-work for the current rate, even when
       * we change the rate.
       */
      public void testWeNeverGetABurstMoreThanOneSec() {
        RateLimiter limiter = RateLimiter.create(1.0, stopwatch);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/CompactLinkedHashSet.java

     * consumption at the price of moderately increased constant factors of CPU. Only use this class
     * when there is a specific reason to prioritize memory over CPU.
     *
     * @author Louis Wasserman
     */
    @GwtIncompatible // not worth using in GWT for now
    @ElementTypesAreNonnullByDefault
    class CompactLinkedHashSet<E extends @Nullable Object> extends CompactHashSet<E> {
    
      /** Creates an empty {@code CompactLinkedHashSet} instance. */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 9.7K bytes
    - Viewed (0)
  9. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java

          return build(/* throwIfDuplicateKeys= */ true);
        }
    
        public ImmutableMap<K, V> buildKeepingLast() {
          if (valueComparator != null) {
            // Probably not worth supporting this in GWT
            throw new UnsupportedOperationException(
                "orderEntriesByValue + buildKeepingLast not supported under GWT");
          }
          return build(/* throwIfDuplicateKeys= */ false);
        }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    thought to herself.
    
      At this moment the King, who had been for some time busily
    writing in his note-book, cackled out `Silence!' and read out
    from his book, `Rule Forty-two.  ALL PERSONS MORE THAN A MILE
    HIGH TO LEAVE THE COURT.'
    
      Everybody looked at Alice.
    
      `I'M not a mile high,' said Alice.
    
      `You are,' said the King.
    
    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)
Back to top