Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 200 for 0x0p (0.13 sec)

  1. src/math/big/floatconv_test.go

    		{"0o.01e3", 15.625},
    
    		// octal mantissa, binary exponent
    		{"0o0p+10", 0},
    		{"-0o0p-10", -zero_},
    		{"0o.12p6", 10},
    		{"0o4p-3", 0.5},
    		{"0o0014p-6", 0.1875},
    		{"0o.001p9", 1},
    		{"0o0.01p7", 2},
    		{"0O0.01P+2", 0.0625},
    
    		// hexadecimal mantissa and exponent
    		{"0x0", 0},
    		{"-0x0", -zero_},
    		{"0x0p+10", 0},
    		{"-0x0p-10", -zero_},
    		{"0xff", 255},
    		{"0X.8p1", 1},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 24.3K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/syntax/scanner_test.go

    		{FloatLit, "0x1.2gp1a", "0x1.2 gp1a", "hexadecimal mantissa requires a 'p' exponent"},
    		{FloatLit, "0x0p", "0x0p", "exponent has no digits"},
    		{FloatLit, "0xeP-", "0xeP-", "exponent has no digits"},
    		{FloatLit, "0x1234PAB", "0x1234P AB", "exponent has no digits"},
    		{FloatLit, "0x1.2p1a", "0x1.2p1 a", ""},
    
    		{ImagLit, "0xf00.bap+12i", "0xf00.bap+12i", ""},
    
    		// separators
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 14 16:11:21 UTC 2022
    - 21.9K bytes
    - Viewed (0)
  3. src/strconv/atof_test.go

    	{"0.00e-01234567890123456789", "0", nil},
    	{"-0e+01234567890123456789", "-0", nil},
    	{"-0.00e-01234567890123456789", "-0", nil},
    	{"0x0p+01234567890123456789", "0", nil},
    	{"0x0.00p-01234567890123456789", "0", nil},
    	{"-0x0p+01234567890123456789", "-0", nil},
    	{"-0x0.00p-01234567890123456789", "-0", nil},
    
    	{"0e291", "0", nil}, // issue 15364
    	{"0e292", "0", nil}, // issue 15364
    	{"0e347", "0", nil}, // issue 15364
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 16:24:57 UTC 2022
    - 23.6K bytes
    - Viewed (0)
  4. src/crypto/hmac/hmac_test.go

    	},
    	{
    		sha1.New,
    		[]byte{
    			0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
    			0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f,
    			0x10, 0x11, 0x12, 0x13,
    		},
    		[]byte("Sample message for keylen<blocklen"),
    		"4c99ff0cb1b31bd33f8431dbaf4d17fcd356a807",
    		sha1.Size,
    		sha1.BlockSize,
    	},
    	{
    		sha1.New,
    		[]byte{
    			0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 18 18:38:14 UTC 2020
    - 21.8K bytes
    - Viewed (0)
  5. src/text/scanner/scanner_test.go

    		{Float, "0x1.2gp1a", "0x1.2 gp1a", "hexadecimal mantissa requires a 'p' exponent"},
    		{Float, "0x0p", "0x0p", "exponent has no digits"},
    		{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", ""},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 17 03:41:50 UTC 2022
    - 25.3K bytes
    - Viewed (0)
  6. src/cmd/internal/dwarf/dwarf_defs.go

    const (
    	DW_ATE_address         = 0x01
    	DW_ATE_boolean         = 0x02
    	DW_ATE_complex_float   = 0x03
    	DW_ATE_float           = 0x04
    	DW_ATE_signed          = 0x05
    	DW_ATE_signed_char     = 0x06
    	DW_ATE_unsigned        = 0x07
    	DW_ATE_unsigned_char   = 0x08
    	DW_ATE_imaginary_float = 0x09
    	DW_ATE_packed_decimal  = 0x0a
    	DW_ATE_numeric_string  = 0x0b
    	DW_ATE_edited          = 0x0c
    	DW_ATE_signed_fixed    = 0x0d
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 15:55:36 UTC 2019
    - 16.1K bytes
    - Viewed (0)
  7. src/go/scanner/scanner_test.go

    		{token.FLOAT, "0x1.1e0", "0x1.1e0", "hexadecimal mantissa requires a 'p' exponent"},
    		{token.FLOAT, "0x1.2gp1a", "0x1.2 gp1a", "hexadecimal mantissa requires a 'p' exponent"},
    		{token.FLOAT, "0x0p", "0x0p", "exponent has no digits"},
    		{token.FLOAT, "0xeP-", "0xeP-", "exponent has no digits"},
    		{token.FLOAT, "0x1234PAB", "0x1234P AB", "exponent has no digits"},
    		{token.FLOAT, "0x1.2p1a", "0x1.2p1 a", ""},
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 15:38:31 UTC 2023
    - 34.6K bytes
    - Viewed (0)
  8. src/strconv/ftoa.go

    	// ±exponent
    	exp -= int(flt.mantbits)
    	if exp >= 0 {
    		dst = append(dst, '+')
    	}
    	dst, _ = formatBits(dst, uint64(exp), 10, exp < 0, true)
    
    	return dst
    }
    
    // %x: -0x1.yyyyyyyyp±ddd or -0x0p+0. (y is hex digit, d is decimal digit)
    func fmtX(dst []byte, prec int, fmt byte, neg bool, mant uint64, exp int, flt *floatInfo) []byte {
    	if mant == 0 {
    		exp = 0
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:28 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  9. pkg/proxy/util/nfacct/nfacct_linux_test.go

    			handler: &fakeHandler{
    				responses: [][][]byte{{{
    					0x00, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x01, 0x00,
    					0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x00,
    					0x0c, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00,
    					0x00, 0x00, 0x00, 0x0c, 0x0c, 0x00, 0x03, 0x00,
    					0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0xf7,
    					0x08, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x01,
    				}}},
    			},
    			// expected calls: NFNL_MSG_ACCT_GET
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 06:47:50 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  10. src/compress/gzip/gunzip_test.go

    		"empty.txt",
    		"",
    		[]byte{
    			0x1f, 0x8b, 0x08, 0x08, 0xf7, 0x5e, 0x14, 0x4a,
    			0x00, 0x03, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e,
    			0x74, 0x78, 0x74, 0x00, 0x03, 0x00, 0x00, 0x00,
    			0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    		},
    		nil,
    	},
    	{
    		"",
    		"empty - with no file name",
    		"",
    		[]byte{
    			0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88,
    			0x00, 0xff, 0x01, 0x00, 0x00, 0xff, 0xff, 0x00,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 12 15:06:07 UTC 2022
    - 19.5K bytes
    - Viewed (0)
Back to top