Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for 0123abcd (0.06 sec)

  1. src/bufio/bufio_test.go

    	n2, err := w.ReadFrom(r)
    	if n2 != 4 || err != nil {
    		t.Fatalf("ReadFrom returned (%v, %v), want (4, nil)", n2, err)
    	}
    	w.Flush()
    	if got, want := buf.String(), "0123abcd"; got != want {
    		t.Fatalf("buf.Bytes() returned %q, want %q", got, want)
    	}
    }
    
    func TestWriterReadFromErrNoProgress(t *testing.T) {
    	buf := new(bytes.Buffer)
    	w := NewWriterSize(buf, 5)
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  2. src/bytes/bytes_test.go

    		}
    	}
    }
    
    var EqualFoldTests = []struct {
    	s, t string
    	out  bool
    }{
    	{"abc", "abc", true},
    	{"ABcd", "ABcd", true},
    	{"123abc", "123ABC", true},
    	{"αβδ", "ΑΒΔ", true},
    	{"abc", "xyz", false},
    	{"abc", "XYZ", false},
    	{"abcdefghijk", "abcdefghijX", false},
    	{"abcdefghijk", "abcdefghij\u212A", true},
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Aug 19 19:09:04 UTC 2024
    - 61.2K bytes
    - Viewed (0)
Back to top