Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for abcdefgh (0.16 sec)

  1. src/bytes/compare_test.go

    	{[]byte("x"), []byte("a"), 1},
    	{[]byte("b"), []byte("x"), -1},
    	// test runtime·memeq's chunked implementation
    	{[]byte("abcdefgh"), []byte("abcdefgh"), 0},
    	{[]byte("abcdefghi"), []byte("abcdefghi"), 0},
    	{[]byte("abcdefghi"), []byte("abcdefghj"), -1},
    	{[]byte("abcdefghj"), []byte("abcdefghi"), 1},
    	// nil tests
    	{nil, nil, 0},
    	{[]byte(""), nil, 0},
    	{nil, []byte(""), 0},
    	{[]byte("a"), nil, 1},
    	{nil, []byte("a"), -1},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jul 13 23:11:42 GMT 2023
    - 6.8K bytes
    - Viewed (0)
Back to top