Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ (0.92 sec)

  1. src/encoding/ascii85/ascii85_test.go

    		default:
    			t.Error("Decoder failed to detect corruption in", e)
    		}
    	}
    }
    
    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(encoded)
    	nn, err := w.Write(raw)
    	if nn != n || err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 06 15:46:20 UTC 2022
    - 5.8K bytes
    - Viewed (0)
  2. 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)
  3. src/math/big/natconv.go

    // This file implements nat-to-string conversion functions.
    
    package big
    
    import (
    	"errors"
    	"fmt"
    	"io"
    	"math"
    	"math/bits"
    	"sync"
    )
    
    const digits = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
    
    // Note: MaxBase = len(digits), but it must remain an untyped rune constant
    //       for API compatibility.
    
    // MaxBase is the largest number base accepted for string conversions.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 17:59:44 UTC 2022
    - 14.6K bytes
    - Viewed (0)
  4. 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