Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for 012345 (0.51 sec)

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

        assertThat(Shorts.toByteArray((short) 0x2345)).isEqualTo(new byte[] {0x23, 0x45});
        assertThat(Shorts.toByteArray((short) 0xFEDC)).isEqualTo(new byte[] {(byte) 0xFE, (byte) 0xDC});
      }
    
      @GwtIncompatible // Shorts.fromByteArray
      public void testFromByteArray() {
        assertThat(Shorts.fromByteArray(new byte[] {0x23, 0x45})).isEqualTo((short) 0x2345);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 26.6K bytes
    - Viewed (0)
  2. 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)
  3. guava-tests/test/com/google/common/base/ConverterTest.java

            }
    
            @Override
            public String toString() {
              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);
    
    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)
  4. guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

          // Kotlin native, see above
        }
      }
    
      public void testDecodeInt() {
        assertThat(UnsignedInts.decode("0xffffffff")).isEqualTo(0xffffffff);
        assertThat(UnsignedInts.decode("01234567")).isEqualTo(01234567); // octal
        assertThat(UnsignedInts.decode("#12345678")).isEqualTo(0x12345678);
        assertThat(UnsignedInts.decode("76543210")).isEqualTo(76543210);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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 Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java

        }
      }
    
      public void testDecodeLong() {
        assertThat(UnsignedLongs.decode("0xffffffffffffffff")).isEqualTo(0xffffffffffffffffL);
        assertThat(UnsignedLongs.decode("01234567")).isEqualTo(01234567); // octal
        assertThat(UnsignedLongs.decode("#1234567890abcdef")).isEqualTo(0x1234567890abcdefL);
        assertThat(UnsignedLongs.decode("987654321012345678")).isEqualTo(987654321012345678L);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:36:17 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

          // Kotlin native, see above
        }
      }
    
      public void testDecodeInt() {
        assertThat(UnsignedInts.decode("0xffffffff")).isEqualTo(0xffffffff);
        assertThat(UnsignedInts.decode("01234567")).isEqualTo(01234567); // octal
        assertThat(UnsignedInts.decode("#12345678")).isEqualTo(0x12345678);
        assertThat(UnsignedInts.decode("76543210")).isEqualTo(76543210);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  10. 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 Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Aug 05 17:21:46 GMT 2022
    - 18.7K bytes
    - Viewed (0)
Back to top