Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for 123Ki (0.04 sec)

  1. pkg/volume/emptydir/empty_dir_test.go

    			}
    		})
    	}
    }
    
    func TestTmpfsMountOptions(t *testing.T) {
    	subQuantity := resource.MustParse("123Ki")
    
    	doesStringArrayContainSubstring := func(strSlice []string, substr string) bool {
    		for _, s := range strSlice {
    			if strings.Contains(s, substr) {
    				return true
    			}
    		}
    		return false
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  2. src/internal/types/testdata/check/literals.go

    	assert(0x_1234P-10 == 0x1234p-10)
    
    	assert(0X_dead_cafe.p-10 == 0xdeadcafe.p-10)
    	assert(0x12_34.P1_2_3 == 0x1234.p123)
    
    	assert(1_234i == 1234i)
    	assert(1_234_567i == 1234567i)
    
    	assert(0.i == 0i)
    	assert(123.i == 123i)
    	assert(0123.i == 123i)
    
    	assert(0.e+1i == 0i)
    	assert(123.E-1_0i == 123e-10i)
    	assert(01_23.e123i == 123e123i)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 02 02:58:32 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  3. src/go/constant/value_test.go

    	`0x_1234P-10 = 0x1234p-10`,
    
    	`0X_dead_cafe.p-10 = 0xdeadcafe.p-10`,
    	`0x12_34.P1_2_3 = 0x1234.p123`,
    }
    
    var imagTests = []string{
    	`1_234i = 1234i`,
    	`1_234_567i = 1234567i`,
    
    	`0.i = 0i`,
    	`123.i = 123i`,
    	`0123.i = 123i`,
    
    	`0.e+1i = 0i`,
    	`123.E-1_0i = 123e-10i`,
    	`01_23.e123i = 123e123i`,
    
    	`1e-1000000000i = 0i`,
    	`1e+1000000000i = ?`,
    	`6e5518446744i = ?`,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 15.6K bytes
    - Viewed (0)
  4. src/go/internal/gcimporter/testdata/exports.go

    const init1 = 0
    
    func init() {}
    
    const (
    	C0  int     = 0
    	C1          = 3.14159265
    	C2          = 2.718281828i
    	C3          = -123.456e-789
    	C4          = +123.456e+789
    	C5          = 1234i
    	C6          = "foo\n"
    	C7          = `bar\n`
    	C8          = 42
    	C9  int     = 42
    	C10 float64 = 42
    )
    
    type (
    	T1  int
    	T2  [10]int
    	T3  []int
    	T4  *int
    	T5  chan int
    	T6a chan<- int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/syntax/scanner_test.go

    		{FloatLit, "0p0", "0p0", "'p' exponent requires hexadecimal mantissa"},
    		{FloatLit, "1.0P-1", "1.0P-1", "'P' exponent requires hexadecimal mantissa"},
    
    		{ImagLit, "0.i", "0.i", ""},
    		{ImagLit, ".123i", ".123i", ""},
    		{ImagLit, "123.123i", "123.123i", ""},
    		{ImagLit, "123e+0i", "123e+0i", ""},
    		{ImagLit, "123.E-10i", "123.E-10i", ""},
    		{ImagLit, ".123E+10i", ".123E+10i", ""},
    
    		// hexadecimals
    		{IntLit, "0x0", "0x0", ""},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 14 16:11:21 UTC 2022
    - 21.9K bytes
    - Viewed (0)
  6. src/go/scanner/scanner_test.go

    		{token.FLOAT, "1.0P-1", "1.0P-1", "'P' exponent requires hexadecimal mantissa"},
    
    		{token.IMAG, "0.i", "0.i", ""},
    		{token.IMAG, ".123i", ".123i", ""},
    		{token.IMAG, "123.123i", "123.123i", ""},
    		{token.IMAG, "123e+0i", "123e+0i", ""},
    		{token.IMAG, "123.E-10i", "123.E-10i", ""},
    		{token.IMAG, ".123E+10i", ".123E+10i", ""},
    
    		// hexadecimals
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 15:38:31 UTC 2023
    - 34.6K bytes
    - Viewed (0)
  7. doc/go1.17_spec.html

    entirely of decimal digits (and possibly underscores) is considered a decimal
    integer, even if it starts with a leading <code>0</code>.
    </p>
    
    <pre>
    0i
    0123i         // == 123i for backward-compatibility
    0o123i        // == 0o123 * 1i == 83i
    0xabci        // == 0xabc * 1i == 2748i
    0.i
    2.71828i
    1.e+0i
    6.67428e-11i
    1E6i
    .25i
    .12345E+5i
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  8. doc/go_spec.html

    entirely of decimal digits (and possibly underscores) is considered a decimal
    integer, even if it starts with a leading <code>0</code>.
    </p>
    
    <pre>
    0i
    0123i         // == 123i for backward-compatibility
    0o123i        // == 0o123 * 1i == 83i
    0xabci        // == 0xabc * 1i == 2748i
    0.i
    2.71828i
    1.e+0i
    6.67428e-11i
    1E6i
    .25i
    .12345E+5i
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 21:07:21 UTC 2024
    - 281.5K bytes
    - Viewed (1)
Back to top