Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 345 for 0x0p (0.05 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/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)
  5. 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)
  6. 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)
  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