Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 210 for 0800 (0.06 sec)

  1. compat/maven-embedder/src/test/java/org/apache/maven/cli/transfer/FileSizeFormatTest.java

            assertEquals("0/800 B", format.formatProgress(_0_bytes, _800_bytes));
            assertEquals("400/800 B", format.formatProgress(_400_bytes, _800_bytes));
            assertEquals("800 B", format.formatProgress(_800_bytes, _800_bytes));
    
            long _4000_bytes = 4000L;
            long _8000_bytes = 2L * _4000_bytes;
            long _50_kilobytes = 50000L;
            assertEquals("0/8.0 kB", format.formatProgress(_0_bytes, _8000_bytes));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/RequestTest.kt

      fun stringWithNonDefaultCharsetSpecified() {
        val contentType = "text/plain; charset=utf-16be".toMediaType()
        val body = "\u0800".toRequestBody(contentType)
        assertThat(body.contentType()).isEqualTo(contentType)
        assertThat(body.contentLength()).isEqualTo(2)
        assertThat(bodyToHex(body)).isEqualTo("0800")
      }
    
      @Test
      fun byteArray() {
        val contentType = "text/plain".toMediaType()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  3. compat/maven-embedder/src/test/java/org/apache/maven/cli/CLIReportingUtilsTest.java

            assertEquals("01:00 min", CLIReportingUtils.formatDuration(60 * 1000));
            assertEquals("59:59 min", CLIReportingUtils.formatDuration(60 * 60 * 1000 - 1));
            assertEquals("01:00 h", CLIReportingUtils.formatDuration(60 * 60 * 1000));
            assertEquals("23:59 h", CLIReportingUtils.formatDuration(24 * 60 * 60 * 1000 - 1));
            assertEquals("1 d 00:00 h", CLIReportingUtils.formatDuration(24 * 60 * 60 * 1000));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. src/archive/zip/reader_test.go

    	data := []byte{
    		0x50, 0x4b, 0x03, 0x04, 0x14, 0x00, 0x08, 0x00,
    		0x00, 0x00, 0x6b, 0xb4, 0xba, 0x46, 0x00, 0x00,
    		0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    		0x00, 0x00, 0x03, 0x00, 0x18, 0x00, 0xca, 0x64,
    		0x55, 0x75, 0x78, 0x0b, 0x00, 0x50, 0x4b, 0x05,
    		0x06, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x01,
    		0x00, 0x49, 0x00, 0x00, 0x00, 0x44, 0x00, 0x00,
    		0x00, 0x31, 0x31, 0x31, 0x32, 0x32, 0x32, 0x0a,
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 25 00:25:45 UTC 2024
    - 55.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/netbios/NameServiceClientImpl.java

        private static final int NAME_SERVICE_UDP_PORT = 137;
    
        static final byte[] UNKNOWN_MAC_ADDRESS = new byte[] {
            (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00
        };
    
        private static final Logger log = LoggerFactory.getLogger(NameServiceClientImpl.class);
    
        private final Object LOCK = new Object();
    
        private int nbnsIndex = 0;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 14 14:26:22 UTC 2022
    - 38.2K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/ws/WebSocketReaderTest.kt

        val bytes = binaryData(200)
        data.write("0264".decodeHex()).write(bytes, 0, 100)
        data.write("8064".decodeHex()).write(bytes, 100, 100)
        clientReader.processNextFrame()
        callback.assertBinaryMessage(bytes)
      }
    
      @Test fun twoFrameNotContinuation() {
        val bytes = binaryData(200)
        data.write("0264".decodeHex()).write(bytes, 0, 100)
        data.write("8264".decodeHex()).write(bytes, 100, 100)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java

            new byte[] {
              0x01, (byte) 0xc0, 0x00, 0x00,
              0x00, 0x00, 0x00, 0x00,
              0x00, 0x00, 0x00, 0x00,
              0x00, 0x00, 0x00, 0x00,
              0x14, 0x00, 0x00, 0x00,
              0x00, 0x00, 0x04, 0x00,
              0x00, 0x00, 0x00, 0x14,
              0x00, 0x00, 0x00, 0x18,
              0x28, 0x00, 0x00, 0x00,
              0x00, 0x00, 0x00, 0x00,
              0x02, 0x00, 0x00, 0x00,
              0x00, 0x00, 0x00, 0x00
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/hash/HashCodeTest.java

                  new byte[] {(byte) 0xcd, (byte) 0xab, (byte) 0x00, (byte) 0x00},
                  0x0000abcd,
                  null,
                  "cdab0000"),
              new ExpectedHashCode(
                  new byte[] {
                    (byte) 0xef, (byte) 0xcd, (byte) 0xab, (byte) 0x00,
                    (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00
                  },
                  0x00abcdef,
                  0x0000000000abcdefL,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java

        hasher = HASH_FN.newHasher();
        hasher
            .putByte((byte) 0x01)
            .putByte((byte) 0x01)
            .putByte((byte) 0x00)
            .putByte((byte) 0x01)
            .putByte((byte) 0x00)
            .putByte((byte) 0x00)
            .putByte((byte) 0x00)
            .putByte((byte) 0x00);
        assertEquals(hashCode, hasher.hash().asLong());
    
        hasher = HASH_FN.newHasher();
        hasher
            .putChar((char) 0x0101)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

     */
    public class FileBackedOutputStreamTest extends IoTestCase {
    
    
      public void testThreshold() throws Exception {
        testThreshold(0, 100, true, false);
        testThreshold(10, 100, true, false);
        testThreshold(100, 100, true, false);
        testThreshold(1000, 100, true, false);
        testThreshold(0, 100, false, false);
        testThreshold(10, 100, false, false);
        testThreshold(100, 100, false, false);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top