Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Cutover (0.03 sec)

  1. src/bytes/bytes_test.go

    		{"a☺b☻c☹d\xe2\x98�\xff�\xed\xa0\x80", utf8.MaxRune + 1, -1},
    
    		// Test the cutover to bytealg.Index when it is triggered in
    		// the middle of rune that contains consecutive runs of equal bytes.
    		{"aaaaaKKKK\U000bc104", '\U000bc104', 17}, // cutover: (n + 16) / 8
    		{"aaaaaKKKK鄄", '鄄', 17},
    		{"aaKKKKKa\U000bc104", '\U000bc104', 18}, // cutover: 4 + n>>4
    		{"aaKKKKKa鄄", '鄄', 18},
    	}
    	for _, tt := range tests {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Jul 28 18:13:58 UTC 2025
    - 62.9K bytes
    - Viewed (0)
Back to top