Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Alpha (0.17 sec)

  1. src/bytes/buffer_test.go

    	{"abbbaaaba", 'b', []string{"ab", "b", "b", "aaab"}, nil},
    	{"hello\x01world", 1, []string{"hello\x01"}, nil},
    	{"foo\nbar", 0, []string{"foo\nbar"}, io.EOF},
    	{"alpha\nbeta\ngamma\n", '\n', []string{"alpha\n", "beta\n", "gamma\n"}, nil},
    	{"alpha\nbeta\ngamma", '\n', []string{"alpha\n", "beta\n", "gamma"}, io.EOF},
    }
    
    func TestReadBytes(t *testing.T) {
    	for _, test := range readBytesTests {
    		buf := NewBufferString(test.buffer)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 13:31:36 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  2. internal/auth/credentials.go

    	// is used when autogenerating new credentials.
    	// There is no max length enforcement for secret keys
    	secretKeyMaxLen = 40
    
    	// Alpha numeric table used for generating access keys.
    	alphaNumericTable = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"
    
    	// Total length of the alpha numeric table.
    	alphaNumericTableLen = byte(len(alphaNumericTable))
    )
    
    // Common errors generated for access and secret key validation.
    var (
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 11.4K bytes
    - Viewed (0)
Back to top