Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for joins (0.12 sec)

  1. src/bufio/bufio_test.go

    		s := r.data[r.step]
    		n = copy(p, s)
    		r.step++
    	} else {
    		err = io.EOF
    	}
    	return
    }
    
    func readRuneSegments(t *testing.T, segments []string) {
    	got := ""
    	want := strings.Join(segments, "")
    	r := NewReader(&StringReader{data: segments})
    	for {
    		r, _, err := r.ReadRune()
    		if err != nil {
    			if err != io.EOF {
    				return
    			}
    			break
    		}
    		got += string(r)
    	}
    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)
Back to top