Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for 0b_1000_0001 (0.17 sec)

  1. src/cmd/compile/internal/syntax/scanner_test.go

    		{FloatLit, "0x1234PAB", "0x1234P AB", "exponent has no digits"},
    		{FloatLit, "0x1.2p1a", "0x1.2p1 a", ""},
    
    		{ImagLit, "0xf00.bap+12i", "0xf00.bap+12i", ""},
    
    		// separators
    		{IntLit, "0b_1000_0001", "0b_1000_0001", ""},
    		{IntLit, "0o_600", "0o_600", ""},
    		{IntLit, "0_466", "0_466", ""},
    		{IntLit, "1_000", "1_000", ""},
    		{FloatLit, "1_000.000_1", "1_000.000_1", ""},
    		{ImagLit, "10e+1_2_3i", "10e+1_2_3i", ""},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 14 16:11:21 UTC 2022
    - 21.9K bytes
    - Viewed (0)
  2. src/text/scanner/scanner_test.go

    		{Float, "0xeP-", "0xeP-", "exponent has no digits"},
    		{Float, "0x1234PAB", "0x1234P AB", "exponent has no digits"},
    		{Float, "0x1.2p1a", "0x1.2p1 a", ""},
    
    		// separators
    		{Int, "0b_1000_0001", "0b_1000_0001", ""},
    		{Int, "0o_600", "0o_600", ""},
    		{Int, "0_466", "0_466", ""},
    		{Int, "1_000", "1_000", ""},
    		{Float, "1_000.000_1", "1_000.000_1", ""},
    		{Int, "0x_f00d", "0x_f00d", ""},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 17 03:41:50 UTC 2022
    - 25.3K bytes
    - Viewed (0)
  3. src/go/scanner/scanner_test.go

    		{token.FLOAT, "0x1.2p1a", "0x1.2p1 a", ""},
    
    		{token.IMAG, "0xf00.bap+12i", "0xf00.bap+12i", ""},
    
    		// separators
    		{token.INT, "0b_1000_0001", "0b_1000_0001", ""},
    		{token.INT, "0o_600", "0o_600", ""},
    		{token.INT, "0_466", "0_466", ""},
    		{token.INT, "1_000", "1_000", ""},
    		{token.FLOAT, "1_000.000_1", "1_000.000_1", ""},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 15:38:31 UTC 2023
    - 34.6K bytes
    - Viewed (0)
  4. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt

          }
    
        // Read the length.
        val length0 = source.readByte().toInt() and 0xff
        val length =
          when {
            length0 == 0b1000_0000 -> {
              throw ProtocolException("indefinite length not permitted for DER")
            }
            (length0 and 0b1000_0000) == 0b1000_0000 -> {
              // Length specified over multiple bytes.
              val lengthBytes = length0 and 0b0111_1111
              if (lengthBytes > 8) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  5. src/math/big/natconv_test.go

    	{"1_000", 0, false, nat{1000}, 10, 4, nil, 0},
    	{"0_466", 0, false, nat{0466}, 8, 3, nil, 0},
    	{"0o_600", 0, false, nat{0600}, 8, 3, nil, 0},
    	{"0x_f0_0d", 0, false, nat{0xf00d}, 16, 4, nil, 0},
    	{"0b1000_0001", 0, false, nat{0x81}, 2, 8, nil, 0},
    	{"1_000.000_1", 0, true, nat{10000001}, 10, -4, nil, 0},
    	{"0x_f00d.1e", 0, true, nat{0xf00d1e}, 16, -2, nil, 0},
    	{"0x_f00d.1E2", 0, true, nat{0xf00d1e2}, 16, -3, nil, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 12:54:00 UTC 2019
    - 16.8K bytes
    - Viewed (0)
  6. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt

    import org.junit.jupiter.api.Test
    
    internal class DerTest {
      @Test fun `decode tag and length`() {
        val buffer =
          Buffer()
            .writeByte(0b00011110)
            .writeByte(0b10000001)
            .writeByte(0b11001001)
    
        val derReader = DerReader(buffer)
    
        derReader.read("test") { header ->
          assertThat(header.tagClass).isEqualTo(DerHeader.TAG_CLASS_UNIVERSAL)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  7. src/crypto/internal/mlkem768/mlkem768_test.go

    			}
    		}
    	}
    }
    
    func BitRev7(n uint8) uint8 {
    	if n>>7 != 0 {
    		panic("not 7 bits")
    	}
    	var r uint8
    	r |= n >> 6 & 0b0000_0001
    	r |= n >> 4 & 0b0000_0010
    	r |= n >> 2 & 0b0000_0100
    	r |= n /**/ & 0b0000_1000
    	r |= n << 2 & 0b0001_0000
    	r |= n << 4 & 0b0010_0000
    	r |= n << 6 & 0b0100_0000
    	return r
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 15:27:18 UTC 2024
    - 10.3K bytes
    - Viewed (0)
Back to top