Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for httpie (0.18 sec)

  1. src/bufio/bufio_test.go

    	r.buf = r.buf[read:]
    
    	switch read {
    	case 0, len(r.buf):
    		// As allowed in the documentation, this will return io.EOF
    		// in the same call that consumes the last of the data.
    		// https://godoc.org/io#Reader
    		return read, io.EOF
    	}
    
    	return read, nil
    }
    
    func TestPartialReadEOF(t *testing.T) {
    	src := make([]byte, 10)
    	eofR := &eofReader{buf: src}
    	r := NewReader(eofR)
    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/cmd/cgo/gcc.go

    		if err != nil {
    			fatalf("reading DWARF entry: %s", err)
    		}
    		if e == nil {
    			break
    		}
    		switch e.Tag {
    		case dwarf.TagVariable:
    			name, _ := e.Val(dwarf.AttrName).(string)
    			// As of https://reviews.llvm.org/D123534, clang
    			// now emits DW_TAG_variable DIEs that have
    			// no name (so as to be able to describe the
    			// type and source locations of constant strings)
    			// like the second arg in the call below:
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
Back to top