Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for a123 (0.14 sec)

  1. src/archive/tar/strconv_test.go

    		{"320330\x00 ", 0320330, true},
    		{"0000660\x00 ", 0660, true},
    		{"\x00 0000660\x00 ", 0660, true},
    		{"0123456789abcdef", 0, false},
    		{"0123456789\x00abcdef", 0, false},
    		{"01234567\x0089abcdef", 342391, true},
    		{"0123\x7e\x5f\x264123", 0, false},
    	}
    
    	for _, v := range vectors {
    		var p parser
    		got := p.parseNumeric([]byte(v.in))
    		ok := (p.err == nil)
    		if ok != v.ok {
    			if v.ok {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Feb 09 05:28:50 GMT 2021
    - 14K bytes
    - Viewed (0)
  2. src/bufio/bufio_test.go

    }
    
    // Test for golang.org/issue/7611
    func TestWriterReadFromUntilEOF(t *testing.T) {
    	buf := new(bytes.Buffer)
    	w := NewWriterSize(buf, 5)
    
    	// Partially fill buffer
    	n, err := w.Write([]byte("0123"))
    	if n != 4 || err != nil {
    		t.Fatalf("Write returned (%v, %v), want (4, nil)", n, err)
    	}
    
    	// Use ReadFrom to read in some data.
    	r := &emptyThenNonEmptyReader{r: strings.NewReader("abcd"), n: 3}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
  3. api/go1.13.txt

    pkg syscall (netbsd-arm64-cgo), const DLT_SLIP_BSDOS = 13
    pkg syscall (netbsd-arm64-cgo), const DLT_SLIP_BSDOS ideal-int
    pkg syscall (netbsd-arm64-cgo), const DLT_SLIP ideal-int
    pkg syscall (netbsd-arm64-cgo), const DLT_SUNATM = 123
    pkg syscall (netbsd-arm64-cgo), const DLT_SUNATM ideal-int
    pkg syscall (netbsd-arm64-cgo), const DLT_SYMANTEC_FIREWALL = 99
    pkg syscall (netbsd-arm64-cgo), const DLT_SYMANTEC_FIREWALL ideal-int
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Aug 08 18:44:16 GMT 2019
    - 452.6K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/asm/testdata/amd64enc.s

    	SHLW $7, (R11)                          // 6641c12307
    	SHLW $7, DX                             // 66c1e207
    	SHLW $7, R11                            // 6641c1e307
    	SHLL $1, (BX)                           // d123
    	SHLL $1, (R11)                          // 41d123
    	SHLL $1, DX                             // d1e2
    	SHLL $1, R11                            // 41d1e3
    	SHLL CL, (BX)                           // d323
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 08 21:38:44 GMT 2021
    - 581.9K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/test/issue1435.go

    		{call: "Setgroups([]int{0,1,2,3})", fn: func() error { return syscall.Setgroups([]int{0, 1, 2, 3}) }, filter: "Groups:", expect: "\t0 1 2 3"},
    		{call: "Setgroups(nil)", fn: func() error { return syscall.Setgroups(nil) }, filter: "Groups:", expect: ""},
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Jul 28 21:31:41 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  6. src/bytes/bytes_test.go

    	{faces, "~", -1, []string{faces}},
    	{faces, "", -1, []string{"☺", "☻", "☹"}},
    	{"1 2 3 4", " ", 3, []string{"1 ", "2 ", "3 4"}},
    	{"1 2 3", " ", 3, []string{"1 ", "2 ", "3"}},
    	{"1 2", " ", 3, []string{"1 ", "2"}},
    	{"123", "", 2, []string{"1", "23"}},
    	{"123", "", 17, []string{"1", "2", "3"}},
    }
    
    func TestSplitAfter(t *testing.T) {
    	for _, tt := range splitaftertests {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  7. src/archive/tar/reader_test.go

    			},
    			Format: FormatPAX,
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Nov 21 21:14:38 GMT 2022
    - 47.1K bytes
    - Viewed (0)
  8. api/go1.14.txt

    pkg debug/dwarf, const AttrBinaryScale = 91
    pkg debug/dwarf, const AttrBinaryScale Attr
    pkg debug/dwarf, const AttrCallAllCalls = 122
    pkg debug/dwarf, const AttrCallAllCalls Attr
    pkg debug/dwarf, const AttrCallAllSourceCalls = 123
    pkg debug/dwarf, const AttrCallAllSourceCalls Attr
    pkg debug/dwarf, const AttrCallAllTailCalls = 124
    pkg debug/dwarf, const AttrCallAllTailCalls Attr
    pkg debug/dwarf, const AttrCallDataLocation = 133
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Feb 17 20:31:46 GMT 2023
    - 508.9K bytes
    - Viewed (0)
  9. api/go1.16.txt

    pkg syscall (darwin-arm64), const SYS_FCHMOD ideal-int
    pkg syscall (darwin-arm64), const SYS_FCHMOD_EXTENDED = 283
    pkg syscall (darwin-arm64), const SYS_FCHMOD_EXTENDED ideal-int
    pkg syscall (darwin-arm64), const SYS_FCHOWN = 123
    pkg syscall (darwin-arm64), const SYS_FCHOWN ideal-int
    pkg syscall (darwin-arm64), const SYS_FCNTL = 92
    pkg syscall (darwin-arm64), const SYS_FCNTL ideal-int
    pkg syscall (darwin-arm64), const SYS_FCNTL_NOCANCEL = 406
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Dec 02 16:30:41 GMT 2022
    - 479.2K bytes
    - Viewed (0)
  10. src/bytes/example_test.go

    	var buf bytes.Buffer
    	for i := 0; i < 4; i++ {
    		b := buf.AvailableBuffer()
    		b = strconv.AppendInt(b, int64(i), 10)
    		b = append(b, ' ')
    		buf.Write(b)
    	}
    	os.Stdout.Write(buf.Bytes())
    	// Output: 0 1 2 3
    }
    
    func ExampleBuffer_Cap() {
    	buf1 := bytes.NewBuffer(make([]byte, 10))
    	buf2 := bytes.NewBuffer(make([]byte, 0, 10))
    	fmt.Println(buf1.Cap())
    	fmt.Println(buf2.Cap())
    	// Output:
    	// 10
    	// 10
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Mar 04 15:54:40 GMT 2024
    - 15K bytes
    - Viewed (1)
Back to top