Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for exactly16Bytes (0.1 sec)

  1. src/cmd/internal/archive/archive_test.go

    		"1234567890123456日本語7日本語890",
    	}
    	for _, str := range tests {
    		got := exactly16Bytes(str)
    		if len(got) != 16 {
    			t.Errorf("exactly16Bytes(%q) is %q, length %d", str, got, len(got))
    		}
    		// Make sure it is full runes.
    		for _, c := range got {
    			if c == utf8.RuneError {
    				t.Errorf("exactly16Bytes(%q) is %q, has partial rune", str, got)
    			}
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 02 19:27:33 UTC 2023
    - 7.9K bytes
    - Viewed (0)
Back to top