Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for wr (0.01 sec)

  1. src/bufio/bufio_test.go

    func TestWriterReadFromMustReturnUnderlyingError(t *testing.T) {
    	var wr = NewWriter(writeErrorOnlyWriter{})
    	s := "test1"
    	wantBuffered := len(s)
    	if _, err := wr.WriteString(s); err != nil {
    		t.Fatalf("unexpected error: %v", err)
    	}
    	if err := wr.Flush(); err == nil {
    		t.Error("expected flush error, got nil")
    	}
    	if _, err := wr.ReadFrom(strings.NewReader("test2")); err == nil {
    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. cmd/admin-handlers-users.go

    			BucketName:      bucketName,
    			ConditionValues: getConditionValues(r, "", cred),
    			IsOwner:         owner,
    			ObjectName:      "",
    			Claims:          cred.Claims,
    		}) {
    			wr = true
    		}
    
    		return rd, wr
    	}
    
    	// If etcd, dns federation configured list buckets from etcd.
    	var err error
    	var buckets []BucketInfo
    	if globalDNSConfig != nil && globalBucketFederation {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 03 23:11:02 UTC 2024
    - 85.1K bytes
    - Viewed (0)
Back to top