Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for newCaseTrie (0.29 sec)

  1. src/cmd/vendor/golang.org/x/text/cases/trieval.go

    // exceptions starts with a dummy byte to enforce that there is no zero index
    // value.
    const (
    	lengthMask = 0x07
    	lengthBits = 3
    	noChange   = 0
    )
    
    // References to generated trie.
    
    var trie = newCaseTrie(0)
    
    var sparse = sparseBlocks{
    	values:  sparseValues[:],
    	offsets: sparseOffsets[:],
    }
    
    // Sparse block lookup code.
    
    // valueRange is an entry in a sparse block.
    type valueRange struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/text/cases/tables9.0.0.go

    	if c0 < 0xF8 { // 4-byte UTF-8
    		return t.lookupValue(uint32(i), s[3])
    	}
    	return 0
    }
    
    // caseTrie. Total size: 11742 bytes (11.47 KiB). Checksum: 795fe57ee5135873.
    type caseTrie struct{}
    
    func newCaseTrie(i int) *caseTrie {
    	return &caseTrie{}
    }
    
    // lookupValue determines the type of block n and looks up the value for b.
    func (t *caseTrie) lookupValue(n uint32, b byte) uint16 {
    	switch {
    	case n < 18:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 92.4K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/text/cases/tables10.0.0.go

    	if c0 < 0xF8 { // 4-byte UTF-8
    		return t.lookupValue(uint32(i), s[3])
    	}
    	return 0
    }
    
    // caseTrie. Total size: 11892 bytes (11.61 KiB). Checksum: c6f15484b7653775.
    type caseTrie struct{}
    
    func newCaseTrie(i int) *caseTrie {
    	return &caseTrie{}
    }
    
    // lookupValue determines the type of block n and looks up the value for b.
    func (t *caseTrie) lookupValue(n uint32, b byte) uint16 {
    	switch {
    	case n < 18:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 93.9K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/text/cases/tables13.0.0.go

    	if c0 < 0xF8 { // 4-byte UTF-8
    		return t.lookupValue(uint32(i), s[3])
    	}
    	return 0
    }
    
    // caseTrie. Total size: 12538 bytes (12.24 KiB). Checksum: af4dfa7d60c71d4c.
    type caseTrie struct{}
    
    func newCaseTrie(i int) *caseTrie {
    	return &caseTrie{}
    }
    
    // lookupValue determines the type of block n and looks up the value for b.
    func (t *caseTrie) lookupValue(n uint32, b byte) uint16 {
    	switch {
    	case n < 20:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 100.7K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/text/cases/tables11.0.0.go

    	if c0 < 0xF8 { // 4-byte UTF-8
    		return t.lookupValue(uint32(i), s[3])
    	}
    	return 0
    }
    
    // caseTrie. Total size: 12250 bytes (11.96 KiB). Checksum: 53ff6cb7321675e1.
    type caseTrie struct{}
    
    func newCaseTrie(i int) *caseTrie {
    	return &caseTrie{}
    }
    
    // lookupValue determines the type of block n and looks up the value for b.
    func (t *caseTrie) lookupValue(n uint32, b byte) uint16 {
    	switch {
    	case n < 20:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 97.5K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/text/cases/tables12.0.0.go

    	if c0 < 0xF8 { // 4-byte UTF-8
    		return t.lookupValue(uint32(i), s[3])
    	}
    	return 0
    }
    
    // caseTrie. Total size: 12396 bytes (12.11 KiB). Checksum: c0656238384c3da1.
    type caseTrie struct{}
    
    func newCaseTrie(i int) *caseTrie {
    	return &caseTrie{}
    }
    
    // lookupValue determines the type of block n and looks up the value for b.
    func (t *caseTrie) lookupValue(n uint32, b byte) uint16 {
    	switch {
    	case n < 20:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 99.2K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/text/cases/tables15.0.0.go

    	if c0 < 0xF8 { // 4-byte UTF-8
    		return t.lookupValue(uint32(i), s[3])
    	}
    	return 0
    }
    
    // caseTrie. Total size: 13398 bytes (13.08 KiB). Checksum: 544af6e6b1b70931.
    type caseTrie struct{}
    
    func newCaseTrie(i int) *caseTrie {
    	return &caseTrie{}
    }
    
    // lookupValue determines the type of block n and looks up the value for b.
    func (t *caseTrie) lookupValue(n uint32, b byte) uint16 {
    	switch {
    	case n < 22:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 106.5K bytes
    - Viewed (0)
Back to top