Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for SpecialCase (0.28 sec)

  1. src/unicode/casetables.go

    // development first.
    
    package unicode
    
    var TurkishCase SpecialCase = _TurkishCase
    var _TurkishCase = SpecialCase{
    	CaseRange{0x0049, 0x0049, d{0, 0x131 - 0x49, 0}},
    	CaseRange{0x0069, 0x0069, d{0x130 - 0x69, 0, 0x130 - 0x69}},
    	CaseRange{0x0130, 0x0130, d{0, 0x69 - 0x130, 0}},
    	CaseRange{0x0131, 0x0131, d{0x49 - 0x131, 0, 0x49 - 0x131}},
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 755 bytes
    - Viewed (0)
  2. src/unicode/letter.go

    // The constant UpperLower has an otherwise impossible delta value.
    type CaseRange struct {
    	Lo    uint32
    	Hi    uint32
    	Delta d
    }
    
    // SpecialCase represents language-specific case mappings such as Turkish.
    // Methods of SpecialCase customize (by overriding) the standard mappings.
    type SpecialCase []CaseRange
    
    // BUG(r): There is no mechanism for full case folding, that is, for
    // characters that involve multiple runes in the input or output.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 06 20:02:46 UTC 2023
    - 10K bytes
    - Viewed (0)
  3. src/go/internal/gccgoimporter/testdata/unicode.gox

    var Adlam <type 1>;
    var Ahom <type 1>;
    var Anatolian_Hieroglyphs <type 1>;
    var Arabic <type 1>;
    var Armenian <type 1>;
    var Avestan <type 1>;
    var AzeriCase <type 10 "SpecialCase" <type 11 [] <type 12 "CaseRange" <type 13 struct { Lo <type -7>; Hi <type -7>; Delta <type 14 ".unicode.d" <type 15 [3 ] <type -21>>>; }>>>
     func (special <type 10>) ToUpper (r <type -21>) <type -21>;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 30 21:33:51 UTC 2021
    - 7.3K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"UnixMilli", Func, 17},
    		{"Until", Func, 8},
    		{"Wednesday", Const, 0},
    		{"Weekday", Type, 0},
    	},
    	"unicode": {
    		{"(SpecialCase).ToLower", Method, 0},
    		{"(SpecialCase).ToTitle", Method, 0},
    		{"(SpecialCase).ToUpper", Method, 0},
    		{"ASCII_Hex_Digit", Var, 0},
    		{"Adlam", Var, 7},
    		{"Ahom", Var, 5},
    		{"Anatolian_Hieroglyphs", Var, 5},
    		{"Arabic", Var, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  7. api/go1.txt

    pkg bytes, func ToLower([]uint8) []uint8
    pkg bytes, func ToLowerSpecial(unicode.SpecialCase, []uint8) []uint8
    pkg bytes, func ToTitle([]uint8) []uint8
    pkg bytes, func ToTitleSpecial(unicode.SpecialCase, []uint8) []uint8
    pkg bytes, func ToUpper([]uint8) []uint8
    pkg bytes, func ToUpperSpecial(unicode.SpecialCase, []uint8) []uint8
    pkg bytes, func Trim([]uint8, string) []uint8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top