Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for 0201ff (0.05 sec)

  1. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt

        assertThat(explicitAdapter.toDer("hi")).isEqualTo(bytes)
      }
    
      @Test fun `boolean`() {
        val bytes = "0101FF".decodeHex()
        assertThat(Adapters.BOOLEAN.fromDer(bytes)).isEqualTo(true)
        assertThat(Adapters.BOOLEAN.toDer(true)).isEqualTo(bytes)
      }
    
      @Test fun `positive integer`() {
        val bytes = "020132".decodeHex()
        assertThat(Adapters.INTEGER_AS_LONG.toDer(50L)).isEqualTo(bytes)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/Encdec.java

                ch = str.charAt(i);
                if ( ( ch >= 0x0001 ) && ( ch <= 0x007F ) ) {
                    dst[ di++ ] = (byte) ch;
                }
                else if ( ch > 0x07FF ) {
                    if ( ( dlim - di ) < 3 ) {
                        break;
                    }
                    dst[ di++ ] = (byte) ( 0xE0 | ( ( ch >> 12 ) & 0x0F ) );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 11K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/util/Encdec.java

            for( int i = 0; di < dlim && i < strlen; i++ ) {
                ch = str.charAt( i );
                if ((ch >= 0x0001) && (ch <= 0x007F)) {
                    dst[di++] = (byte)ch;
                } else if (ch > 0x07FF) {
                    if((dlim - di) < 3 ) {
                        break;
                    }
                    dst[di++] = (byte)(0xE0 | ((ch >> 12) & 0x0F)); 
                    dst[di++] = (byte)(0x80 | ((ch >>  6) & 0x3F)); 
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 10.9K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/CipherSuite.kt

        // @JvmField val TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA256 = init("TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA256", 0x00c5)
        @JvmField val TLS_EMPTY_RENEGOTIATION_INFO_SCSV = init("TLS_EMPTY_RENEGOTIATION_INFO_SCSV", 0x00ff)
    
        @JvmField val TLS_FALLBACK_SCSV = init("TLS_FALLBACK_SCSV", 0x5600)
    
        @JvmField val TLS_ECDH_ECDSA_WITH_NULL_SHA = init("TLS_ECDH_ECDSA_WITH_NULL_SHA", 0xc001)
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 39.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/IntsTest.java

        assertThat(converter.convert("0xFF")).isEqualTo((Integer) 255);
        assertThat(converter.convert("-0xFF")).isEqualTo((Integer) (-255));
        assertThat(converter.convert("#0000FF")).isEqualTo((Integer) 255);
        assertThat(converter.convert("0666")).isEqualTo((Integer) 438);
      }
    
      public void testStringConverter_convertError() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/primitives/LongsTest.java

        assertThat(converter.convert("0xFF")).isEqualTo((Long) 255L);
        assertThat(converter.convert("-0xFF")).isEqualTo((Long) (-255L));
        assertThat(converter.convert("#0000FF")).isEqualTo((Long) 255L);
        assertThat(converter.convert("0666")).isEqualTo((Long) 438L);
      }
    
      public void testStringConverter_convertError() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.8K bytes
    - Viewed (0)
Back to top