Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Turing (0.34 sec)

  1. src/bufio/bufio_test.go

    		if err == io.EOF {
    			break
    		}
    	}
    	return string(b[0:nb])
    }
    
    type bufReader struct {
    	name string
    	fn   func(*Reader) string
    }
    
    var bufreaders = []bufReader{
    	{"1", func(b *Reader) string { return reads(b, 1) }},
    	{"2", func(b *Reader) string { return reads(b, 2) }},
    	{"3", func(b *Reader) string { return reads(b, 3) }},
    	{"4", func(b *Reader) string { return reads(b, 4) }},
    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)
  2. src/archive/zip/reader_test.go

    	}
    }
    
    func TestFS(t *testing.T) {
    	for _, test := range []struct {
    		file string
    		want []string
    	}{
    		{
    			"testdata/unix.zip",
    			[]string{"hello", "dir/bar", "readonly"},
    		},
    		{
    			"testdata/subdir.zip",
    			[]string{"a/b/c"},
    		},
    	} {
    		test := test
    		t.Run(test.file, func(t *testing.T) {
    			t.Parallel()
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  3. src/cmd/cgo/gcc.go

    func (p *Package) gccMachine() []string {
    	switch goarch {
    	case "amd64":
    		if goos == "darwin" {
    			return []string{"-arch", "x86_64", "-m64"}
    		}
    		return []string{"-m64"}
    	case "arm64":
    		if goos == "darwin" {
    			return []string{"-arch", "arm64"}
    		}
    	case "386":
    		return []string{"-m32"}
    	case "arm":
    		return []string{"-marm"} // not thumb
    	case "s390":
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  4. src/bytes/bytes_test.go

    	{faces, "☹", -1, []string{"☺☻", ""}},
    	{faces, "~", -1, []string{faces}},
    	{faces, "", -1, []string{"☺", "☻", "☹"}},
    	{"1 2 3 4", " ", 3, []string{"1", "2", "3 4"}},
    	{"1 2", " ", 3, []string{"1", "2"}},
    	{"123", "", 2, []string{"1", "23"}},
    	{"123", "", 17, []string{"1", "2", "3"}},
    	{"bT", "T", math.MaxInt / 4, []string{"b", ""}},
    	{"\xff-\xff", "", -1, []string{"\xff", "-", "\xff"}},
    	{"\xff-\xff", "-", -1, []string{"\xff", "\xff"}},
    }
    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)
Back to top