Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for LatinOffset (0.24 sec)

  1. src/unicode/letter_test.go

    		Scripts,
    	}
    	for _, m := range maps {
    		for name, tab := range m {
    			i := 0
    			for i < len(tab.R16) && tab.R16[i].Hi <= MaxLatin1 {
    				i++
    			}
    			if tab.LatinOffset != i {
    				t.Errorf("%s: LatinOffset=%d, want %d", name, tab.LatinOffset, i)
    			}
    		}
    	}
    }
    
    func TestSpecialCaseNoMapping(t *testing.T) {
    	// Issue 25636
    	// no change for rune 'A', zero delta, under upper/lower/title case change.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 09 01:46:03 UTC 2023
    - 14.8K bytes
    - Viewed (0)
  2. src/unicode/letter.go

    // The two slices must be in sorted order and non-overlapping.
    // Also, R32 should contain only values >= 0x10000 (1<<16).
    type RangeTable struct {
    	R16         []Range16
    	R32         []Range32
    	LatinOffset int // number of entries in R16 with Hi <= MaxLatin1
    }
    
    // Range16 represents of a range of 16-bit Unicode code points. The range runs from Lo to Hi
    // inclusive and has the specified stride.
    type Range16 struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 06 20:02:46 UTC 2023
    - 10K bytes
    - Viewed (0)
Back to top