Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ (0.5 sec)

  1. src/encoding/base64/base64_test.go

    			t.Errorf("DecodedLen(%d): got %d, want %d", tt.n, got, tt.want)
    		}
    	}
    }
    
    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: Sun Sep 03 18:57:29 UTC 2023
    - 15.9K bytes
    - Viewed (0)
  2. 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