Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 526 for 0x0p (0.11 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/strconv/atoc_test.go

    		// Zeros
    		{"0", 0, nil},
    		{"0i", 0, nil},
    		{"-0.0i", 0, nil},
    		{"0+0.0i", 0, nil},
    		{"0e+0i", 0, nil},
    		{"0e-0+0i", 0, nil},
    		{"-0.0-0.0i", 0, nil},
    		{"0e+012345", 0, nil},
    		{"0x0p+012345i", 0, nil},
    		{"0x0.00p-012345i", 0, nil},
    		{"+0e-0+0e-0i", 0, nil},
    		{"0e+0+0e+0i", 0, nil},
    		{"-0e+0-0e+0i", 0, nil},
    
    		// Regular non-zeroes
    		{"0.1", 0.1, nil},
    		{"0.1i", 0 + 0.1i, nil},
    		{"0.123", 0.123, nil},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 03 23:05:51 UTC 2020
    - 6.8K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. staging/src/k8s.io/apimachinery/pkg/util/framer/framer_test.go

    package framer
    
    import (
    	"bytes"
    	"errors"
    	"io"
    	"testing"
    )
    
    func TestRead(t *testing.T) {
    	data := []byte{
    		0x00, 0x00, 0x00, 0x04,
    		0x01, 0x02, 0x03, 0x04,
    		0x00, 0x00, 0x00, 0x03,
    		0x05, 0x06, 0x07,
    		0x00, 0x00, 0x00, 0x00,
    		0x00, 0x00, 0x00, 0x01,
    		0x08,
    	}
    	b := bytes.NewBuffer(data)
    	r := NewLengthDelimitedFrameReader(io.NopCloser(b))
    	buf := make([]byte, 1)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 13:33:12 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. src/crypto/des/des_test.go

    	{
    		[]byte{
    			0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    			0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
    			0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
    		[]byte{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
    		[]byte{0x92, 0x95, 0xb5, 0x9b, 0xb3, 0x84, 0x73, 0x6e}},
    	{
    		[]byte{
    			0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    			0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 16:49:56 UTC 2023
    - 52.2K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top