Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 12 of 12 for specialName (0.26 sec)

  1. src/strings/strings.go

    // upper case using the case mapping specified by c.
    func ToUpperSpecial(c unicode.SpecialCase, s string) string {
    	return Map(c.ToUpper, s)
    }
    
    // ToLowerSpecial returns a copy of the string s with all Unicode letters mapped to their
    // lower case using the case mapping specified by c.
    func ToLowerSpecial(c unicode.SpecialCase, s string) string {
    	return Map(c.ToLower, s)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:48:16 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  2. src/unicode/letter_test.go

    	// Issue 25636
    	// no change for rune 'A', zero delta, under upper/lower/title case change.
    	var noChangeForCapitalA = CaseRange{'A', 'A', [MaxCase]rune{0, 0, 0}}
    	got := strings.ToLowerSpecial(SpecialCase([]CaseRange{noChangeForCapitalA}), "ABC")
    	want := "Abc"
    	if got != want {
    		t.Errorf("got %q; want %q", got, want)
    	}
    }
    
    func TestNegativeRune(t *testing.T) {
    	// Issue 43254
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 09 01:46:03 UTC 2023
    - 14.8K bytes
    - Viewed (0)
Back to top