Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 97 for nil (0.14 sec)

  1. src/archive/tar/testdata/gnu-nil-sparse-data.tar

    Joe Tsai <******@****.***> 1503105518 -0700
    TAR Archive
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Aug 23 22:38:45 GMT 2017
    - 2.5K bytes
    - Viewed (0)
  2. src/archive/tar/testdata/pax-nil-sparse-hole.tar

    Joe Tsai <******@****.***> 1503105518 -0700
    TAR Archive
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Aug 23 22:38:45 GMT 2017
    - 3K bytes
    - Viewed (0)
  3. src/archive/tar/testdata/pax-nil-sparse-data.tar

    Joe Tsai <******@****.***> 1503105518 -0700
    TAR Archive
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Aug 23 22:38:45 GMT 2017
    - 4K bytes
    - Viewed (0)
  4. src/archive/tar/testdata/gnu-nil-sparse-hole.tar

    Joe Tsai <******@****.***> 1503105518 -0700
    TAR Archive
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Aug 23 22:38:45 GMT 2017
    - 1.5K bytes
    - Viewed (0)
  5. src/bufio/bufio_test.go

    		{[]byte("012345678901234"), true, nil},
    		{nil, false, nil},
    		{[]byte("012345678901234"), true, nil},
    		{nil, false, nil},
    		{nil, false, io.EOF},
    	}},
    	{"0123456789012345\r012345678901234\r", []readLineResult{
    		{[]byte("0123456789012345"), true, nil},
    		{[]byte("\r012345678901234"), true, nil},
    		{[]byte("\r"), false, nil},
    		{nil, false, io.EOF},
    	}},
    }
    
    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)
  6. src/bytes/buffer_test.go

    	if err := b.UnreadByte(); err == nil {
    		t.Fatal("UnreadByte after ReadByte at EOF: got no error")
    	}
    
    	// check not at EOF
    	b.WriteString("abcdefghijklmnopqrstuvwxyz")
    
    	// after unsuccessful read
    	if n, err := b.Read(nil); n != 0 || err != nil {
    		t.Fatalf("Read(nil) = %d,%v; want 0,nil", n, err)
    	}
    	if err := b.UnreadByte(); err == nil {
    		t.Fatal("UnreadByte after Read(nil): got no error")
    	}
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 13:31:36 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  7. src/archive/zip/fuzz_test.go

    		r, err := NewReader(bytes.NewReader(b), int64(len(b)))
    		if err != nil {
    			return
    		}
    
    		type file struct {
    			header  *FileHeader
    			content []byte
    		}
    		files := []file{}
    
    		for _, f := range r.File {
    			fr, err := f.Open()
    			if err != nil {
    				continue
    			}
    			content, err := io.ReadAll(fr)
    			if err != nil {
    				continue
    			}
    			files = append(files, file{header: &f.FileHeader, content: content})
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jan 13 18:06:33 GMT 2022
    - 1.7K bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/swig/swig_test.go

    		t.Errorf("%s", string(out))
    	}
    	if err != nil {
    		t.Errorf("%s", err)
    	}
    }
    
    func mustHaveCxx(t *testing.T) {
    	// Ask the go tool for the CXX it's configured to use.
    	cxx, err := exec.Command("go", "env", "CXX").CombinedOutput()
    	if err != nil {
    		t.Fatalf("go env CXX failed: %s", err)
    	}
    	args, err := quoted.Split(string(cxx))
    	if err != nil {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:07 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  9. src/archive/zip/reader_test.go

    		"0000PK\x05\x06000000000000" +
    		"0000\v\x00000\x00\x00\x00\x00\x00\x00\x000")
    	r, err := NewReader(bytes.NewReader(data), int64(len(data)))
    	if err == nil {
    		t.Errorf("got nil error, want ErrFormat")
    	}
    	if r != nil {
    		t.Errorf("got non-nil Reader, want nil")
    	}
    }
    
    // Verify we return ErrUnexpectedEOF when reading truncated data descriptor.
    func TestIssue11146(t *testing.T) {
    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)
  10. src/cmd/cgo/ast.go

    				s, ok := spec.(*ast.ImportSpec)
    				if !ok || s.Path.Value != `"C"` {
    					continue
    				}
    				sawC = true
    				if s.Name != nil {
    					error_(s.Path.Pos(), `cannot rename import "C"`)
    				}
    				cg := s.Doc
    				if cg == nil && len(decl.Specs) == 1 {
    					cg = decl.Doc
    				}
    				if cg != nil {
    					if strings.ContainsAny(abspath, "\r\n") {
    						// This should have been checked when the file path was first resolved,
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jun 07 16:54:27 GMT 2023
    - 14.3K bytes
    - Viewed (0)
Back to top