Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for 0o377 (0.1 sec)

  1. src/strconv/atoi_test.go

    	{"0200000000000000000000", 0, 1 << 61, nil},
    	{"0b", 0, 0, ErrSyntax},
    	{"0B", 0, 0, ErrSyntax},
    	{"0b101", 0, 5, nil},
    	{"0B101", 0, 5, nil},
    	{"0o", 0, 0, ErrSyntax},
    	{"0O", 0, 0, ErrSyntax},
    	{"0o377", 0, 255, nil},
    	{"0O377", 0, 255, nil},
    
    	// underscores allowed with base == 0 only
    	{"1_2_3_4_5", 0, 12345, nil}, // base 0 => 10
    	{"_12345", 0, 0, ErrSyntax},
    	{"1__2345", 0, 0, ErrSyntax},
    	{"12345_", 0, 0, ErrSyntax},
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 21 05:09:21 UTC 2023
    - 17.1K bytes
    - Viewed (0)
  2. src/fmt/scan_test.go

    	{"0x_1_0\n", &intVal, 0x10},
    	{"-0x10\n", &intVal, -0x10},
    	{"0377\n", &intVal, 0377},
    	{"0_3_7_7\n", &intVal, 0377},
    	{"0o377\n", &intVal, 0377},
    	{"0o_3_7_7\n", &intVal, 0377},
    	{"-0377\n", &intVal, -0377},
    	{"-0o377\n", &intVal, -0377},
    	{"0\n", &uintVal, uint(0)},
    	{"000\n", &uintVal, uint(0)},
    	{"0x10\n", &uintVal, uint(0x10)},
    	{"0377\n", &uintVal, uint(0377)},
    	{"22\n", &int8Val, int8(22)},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 20:25:13 UTC 2023
    - 39.3K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/syntax/scanner_test.go

    		{`'\y'`, "unknown escape", 0, 2},
    		{`'\x0'`, "invalid character '\\'' in hexadecimal escape", 0, 4},
    		{`'\00'`, "invalid character '\\'' in octal escape", 0, 4},
    		{`'\377' /*`, "comment not terminated", 0, 7}, // valid octal escape
    		{`'\378`, "invalid character '8' in octal escape", 0, 4},
    		{`'\400'`, "octal escape value 256 > 255", 0, 5},
    		{`'xx`, "rune literal not terminated", 0, 0},
    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/os/exec/lp_windows_test.go

    func installExe(t *testing.T, dstPath string) {
    	src, err := os.Open(exePath(t))
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer src.Close()
    
    	dst, err := os.OpenFile(dstPath, os.O_CREATE|os.O_EXCL|os.O_WRONLY, 0o777)
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer func() {
    		if err := dst.Close(); err != nil {
    			t.Fatal(err)
    		}
    	}()
    
    	_, err = io.Copy(dst, src)
    	if err != nil {
    		t.Fatal(err)
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 19:38:12 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  5. cmd/prepare-storage.go

    			pathJoin(diskPath, minioMetaTmpBucket),
    			tmpOld,
    			osErrToFileErr(err)))
    	}
    
    	if err := mkdirAll(pathJoin(diskPath, minioMetaTmpDeletedBucket), 0o777, diskPath); err != nil {
    		storageLogIf(GlobalContext, fmt.Errorf("unable to create (%s) %w, drive may be faulty, please investigate",
    			pathJoin(diskPath, minioMetaTmpBucket),
    			err))
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun May 19 08:06:49 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  6. src/unicode/letter_test.go

    	0x1f2a,
    	0x2102,
    	0x2c00,
    	0x2c10,
    	0x2c20,
    	0xa650,
    	0xa722,
    	0xff3a,
    	0x10400,
    	0x1d400,
    	0x1d7ca,
    }
    
    var notupperTest = []rune{
    	0x40,
    	0x5b,
    	0x61,
    	0x185,
    	0x1b0,
    	0x377,
    	0x387,
    	0x2150,
    	0xab7d,
    	0xffff,
    	0x10000,
    }
    
    var letterTest = []rune{
    	0x41,
    	0x61,
    	0xaa,
    	0xba,
    	0xc8,
    	0xdb,
    	0xf9,
    	0x2ec,
    	0x535,
    	0x620,
    	0x6e6,
    	0x93d,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 09 01:46:03 UTC 2023
    - 14.8K bytes
    - Viewed (0)
Back to top