Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ (0.53 sec)

  1. src/encoding/base32/base32_test.go

    		default:
    			t.Error("Decoder failed to detect corruption in", tc)
    		}
    	}
    }
    
    func TestBig(t *testing.T) {
    	n := 3*1000 + 1
    	raw := make([]byte, n)
    	const alpha = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
    	for i := 0; i < n; i++ {
    		raw[i] = alpha[i%len(alpha)]
    	}
    	encoded := new(bytes.Buffer)
    	w := NewEncoder(StdEncoding, encoded)
    	nn, err := w.Write(raw)
    	if nn != n || err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 16:25:54 UTC 2024
    - 26K bytes
    - Viewed (0)
Back to top