Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for 001e12 (0.1 sec)

  1. src/image/image_test.go

    }{
    	{"rgba", func() image { return NewRGBA(Rect(0, 0, 10, 10)) }},
    	{"rgba64", func() image { return NewRGBA64(Rect(0, 0, 10, 10)) }},
    	{"nrgba", func() image { return NewNRGBA(Rect(0, 0, 10, 10)) }},
    	{"nrgba64", func() image { return NewNRGBA64(Rect(0, 0, 10, 10)) }},
    	{"alpha", func() image { return NewAlpha(Rect(0, 0, 10, 10)) }},
    	{"alpha16", func() image { return NewAlpha16(Rect(0, 0, 10, 10)) }},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 30 02:00:49 UTC 2021
    - 10.8K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/util/validation/validation_test.go

    import (
    	"strings"
    	"testing"
    
    	"k8s.io/apimachinery/pkg/util/validation/field"
    )
    
    func TestIsDNS1123Label(t *testing.T) {
    	goodValues := []string{
    		"a", "ab", "abc", "a1", "a-1", "a--1--2--b",
    		"0", "01", "012", "1a", "1-a", "1--a--b--2",
    		strings.Repeat("a", 63),
    	}
    	for _, val := range goodValues {
    		if msgs := IsDNS1123Label(val); len(msgs) != 0 {
    			t.Errorf("expected true for '%s': %v", val, msgs)
    		}
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 04:51:54 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/apis/kubeadm/validation/validation_test.go

    		{"dual IPv4 IPv6", "2001:db8::/48,10.0.0.16/12", nil, true},
    		{"dual IPv6 IPv4", "2001:db8::/48,10.0.0.16/12", nil, true},
    	}
    	for _, rt := range tests {
    		cfg := &kubeadmapi.ClusterConfiguration{
    			ControllerManager: kubeadmapi.ControlPlaneComponent{
    				ExtraArgs: rt.cmExtraArgs,
    			},
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/syntax/scanner_test.go

    		{FloatLit, "0b.", "0b.", "invalid radix point in binary literal"},
    		{FloatLit, "0b.1", "0b.1", "invalid radix point in binary literal"},
    		{FloatLit, "0b1.0", "0b1.0", "invalid radix point in binary literal"},
    		{FloatLit, "0b1e10", "0b1e10", "'e' exponent requires decimal mantissa"},
    		{FloatLit, "0b1P-1", "0b1P-1", "'P' exponent requires hexadecimal mantissa"},
    
    		{ImagLit, "0b10i", "0b10i", ""},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 14 16:11:21 UTC 2022
    - 21.9K bytes
    - Viewed (0)
  5. src/text/scanner/scanner_test.go

    		{Float, "0b.", "0b.", "invalid radix point in binary literal"},
    		{Float, "0b.1", "0b.1", "invalid radix point in binary literal"},
    		{Float, "0b1.0", "0b1.0", "invalid radix point in binary literal"},
    		{Float, "0b1e10", "0b1e10", "'e' exponent requires decimal mantissa"},
    		{Float, "0b1P-1", "0b1P-1", "'P' exponent requires hexadecimal mantissa"},
    
    		// octals
    		{Int, "0o0", "0o0", ""},
    		{Int, "0o1234", "0o1234", ""},
    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/math/big/natconv_test.go

    	{"0.", 0, false, nil, 10, 1, nil, '.'},
    	{"0.", 10, true, nil, 10, 0, nil, 0},
    	{"0.1.2", 10, true, nat{1}, 10, -1, nil, '.'},
    	{".000", 10, true, nil, 10, -3, nil, 0},
    	{"12.3", 10, true, nat{123}, 10, -1, nil, 0},
    	{"012.345", 10, true, nat{12345}, 10, -3, nil, 0},
    	{"0.1", 0, true, nat{1}, 10, -1, nil, 0},
    	{"0.1", 2, true, nat{1}, 2, -1, nil, 0},
    	{"0.12", 2, true, nat{1}, 2, -1, nil, '2'},
    	{"0b0.1", 0, true, nat{1}, 2, -1, 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)
  7. src/go/scanner/scanner_test.go

    		{token.FLOAT, "0b.1", "0b.1", "invalid radix point in binary literal"},
    		{token.FLOAT, "0b1.0", "0b1.0", "invalid radix point in binary literal"},
    		{token.FLOAT, "0b1e10", "0b1e10", "'e' exponent requires decimal mantissa"},
    		{token.FLOAT, "0b1P-1", "0b1P-1", "'P' exponent requires hexadecimal mantissa"},
    
    		{token.IMAG, "0b10i", "0b10i", ""},
    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/unicode/letter_test.go

    var letterTest = []rune{
    	0x41,
    	0x61,
    	0xaa,
    	0xba,
    	0xc8,
    	0xdb,
    	0xf9,
    	0x2ec,
    	0x535,
    	0x620,
    	0x6e6,
    	0x93d,
    	0xa15,
    	0xb99,
    	0xdc0,
    	0xedd,
    	0x1000,
    	0x1200,
    	0x1312,
    	0x1401,
    	0x2c00,
    	0xa800,
    	0xf900,
    	0xfa30,
    	0xffda,
    	0xffdc,
    	0x10000,
    	0x10300,
    	0x10400,
    	0x20000,
    	0x2f800,
    	0x2fa1d,
    }
    
    var notletterTest = []rune{
    	0x20,
    	0x35,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 09 01:46:03 UTC 2023
    - 14.8K bytes
    - Viewed (0)
  9. src/math/big/ratconv_test.go

    	{"0B1000/0x8", "1", true},
    	{"-010/1", "-8", true}, // 0-prefix indicates octal in this case
    	{"-010.0", "-10", true},
    	{"-0o10/1", "-8", true},
    	{"0x10/1", "16", true},
    	{"0x10/0x20", "1/2", true},
    
    	{"0010", "10", true}, // 0-prefix is ignored in this case (not a fraction)
    	{"0x10.0", "16", true},
    	{"0x1.8", "3/2", true},
    	{"0X1.8p4", "24", true},
    	{"0x1.1E2", "2289/2048", true}, // E is part of hex mantissa, not exponent
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 15 22:16:34 UTC 2023
    - 19.3K bytes
    - Viewed (0)
  10. src/text/template/parse/parse_test.go

    	{"-1.2+4.2i", false, false, false, true, 0, 0, 0, -1.2 + 4.2i},
    	{"073i", false, false, false, true, 0, 0, 0, 73i}, // not octal!
    	// complex with 0 imaginary are float (and maybe integer)
    	{"0i", true, true, true, true, 0, 0, 0, 0},
    	{"-1.2+0i", false, false, true, true, 0, 0, -1.2, -1.2},
    	{"-12+0i", true, false, true, true, -12, 0, -12, -12},
    	{"13+0i", true, true, true, true, 13, 13, 13, 13},
    	// funny bases
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 24K bytes
    - Viewed (0)
Back to top