Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for 1234 (0.12 sec)

  1. guava-tests/test/com/google/common/base/CharMatcherTest.java

        assertTrue(len4.matches('c'));
        assertTrue(len4.matches('d'));
        for (char c = 'e'; c < 'z'; c++) {
          assertFalse(len4.matches(c));
        }
    
        Random rand = new Random(1234);
        for (int testCase = 0; testCase < 100; testCase++) {
          char[] chars = randomChars(rand, rand.nextInt(63) + 1);
          CharMatcher m = SmallCharMatcher.from(bitSet(chars), new String(chars));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 30.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/CharMatcherTest.java

        assertTrue(len4.matches('c'));
        assertTrue(len4.matches('d'));
        for (char c = 'e'; c < 'z'; c++) {
          assertFalse(len4.matches(c));
        }
    
        Random rand = new Random(1234);
        for (int testCase = 0; testCase < 100; testCase++) {
          char[] chars = randomChars(rand, rand.nextInt(63) + 1);
          CharMatcher m = SmallCharMatcher.from(bitSet(chars), new String(chars));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 30.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/CharSequenceReaderTest.java

        assertEquals(string.substring(5), readFully(reader));
        assertFullyRead(reader);
      }
    
      public void testIllegalArguments() throws IOException {
        CharSequenceReader reader = new CharSequenceReader("12345");
    
        char[] buf = new char[10];
        assertThrows(IndexOutOfBoundsException.class, () -> reader.read(buf, 0, 11));
    
        assertThrows(IndexOutOfBoundsException.class, () -> reader.read(buf, 10, 1));
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/base/ConverterTest.java

              return "string2long";
            }
          };
    
      private static final Long LONG_VAL = 12345L;
      private static final String STR_VAL = "12345";
    
      private static final ImmutableList<String> STRINGS = ImmutableList.of("123", "456");
      private static final ImmutableList<Long> LONGS = ImmutableList.of(123L, 456L);
    
      public void testConverter() {
        assertEquals(LONG_VAL, STR_TO_LONG.convert(STR_VAL));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Oct 06 17:02:33 GMT 2023
    - 7.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/math/PairedStatsTest.java

            .addEqualityGroup(new PairedStats(MANY_VALUES_STATS_ITERABLE, ONE_VALUE_STATS, 1.23))
            .addEqualityGroup(
                new PairedStats(MANY_VALUES_STATS_ITERABLE, MANY_VALUES_STATS_ITERABLE, 1.234))
            .testEquals();
      }
    
      public void testSerializable() {
        SerializableTester.reserializeAndAssert(MANY_VALUES_PAIRED_STATS);
      }
    
      public void testToString() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/math/PairedStatsTest.java

            .addEqualityGroup(new PairedStats(MANY_VALUES_STATS_ITERABLE, ONE_VALUE_STATS, 1.23))
            .addEqualityGroup(
                new PairedStats(MANY_VALUES_STATS_ITERABLE, MANY_VALUES_STATS_ITERABLE, 1.234))
            .testEquals();
      }
    
      public void testSerializable() {
        SerializableTester.reserializeAndAssert(MANY_VALUES_PAIRED_STATS);
      }
    
      public void testToString() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java

     */
    @SuppressWarnings("deprecation") // tests of deprecated method
    public class CacheExpirationTest extends TestCase {
    
      private static final long EXPIRING_TIME = 1000;
      private static final int VALUE_PREFIX = 12345;
      private static final String KEY_PREFIX = "key prefix:";
    
      public void testExpiration_expireAfterWrite() {
        FakeTicker ticker = new FakeTicker();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Aug 05 17:21:46 GMT 2022
    - 18.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java

              "abc.a23",
              "biz.com.ua",
              "x",
              "fOo",
              "f--o",
              "f_a",
              "foo.net.us\uFF61ocm",
              "woo.com.",
              "8server.shop",
              "123.cn",
              "a" + DELTA + "b.com",
              ALMOST_TOO_MANY_LEVELS,
              ALMOST_TOO_LONG);
    
      private static final ImmutableSet<String> INVALID_NAME =
          ImmutableSet.of(
              "",
              " ",
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Mar 05 13:16:00 GMT 2024
    - 17.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/BaseEncodingTest.java

        // This sentence just isn't base64() encoded.
        assertFailsToDecode(base64(), "let's not talk of love or chains!");
        // A 4n+1 length string is never legal base64().
        assertFailsToDecode(base64(), "12345", "Invalid input length 5");
        // These have a combination of invalid length, unrecognized characters and wrong padding.
        assertFailsToDecode(base64(), "AB=C", "Unrecognized character: =");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Aug 25 16:34:08 GMT 2022
    - 24.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/math/StatsTesting.java

      // Inputs and their statistics:
    
      static final double ONE_VALUE = 12.34;
    
      static final double OTHER_ONE_VALUE = -56.78;
    
      static final ImmutableList<Double> TWO_VALUES = ImmutableList.of(12.34, -56.78);
      static final double TWO_VALUES_MEAN = (12.34 - 56.78) / 2;
      static final double TWO_VALUES_SUM_OF_SQUARES_OF_DELTAS =
          (12.34 - TWO_VALUES_MEAN) * (12.34 - TWO_VALUES_MEAN)
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 23.8K bytes
    - Viewed (0)
Back to top