Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 305 for Trune (0.04 sec)

  1. src/cmd/vendor/golang.org/x/text/unicode/norm/forminfo.go

    func (p Properties) CCC() uint8 {
    	if p.index >= firstCCCZeroExcept {
    		return 0
    	}
    	return ccc[p.ccc]
    }
    
    // LeadCCC returns the CCC of the first rune in the decomposition.
    // If there is no decomposition, LeadCCC equals CCC.
    func (p Properties) LeadCCC() uint8 {
    	return ccc[p.ccc]
    }
    
    // TrailCCC returns the CCC of the last rune in the decomposition.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  2. src/unicode/graphic_test.go

    func TestIsControlLatin1(t *testing.T) {
    	for i := rune(0); i <= MaxLatin1; i++ {
    		got := IsControl(i)
    		want := false
    		switch {
    		case 0x00 <= i && i <= 0x1F:
    			want = true
    		case 0x7F <= i && i <= 0x9F:
    			want = true
    		}
    		if got != want {
    			t.Errorf("%U incorrect: got %t; want %t", i, got, want)
    		}
    	}
    }
    
    func TestIsLetterLatin1(t *testing.T) {
    	for i := rune(0); i <= MaxLatin1; i++ {
    		got := IsLetter(i)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 2.6K bytes
    - Viewed (0)
  3. src/syscall/wtf8_windows.go

    func decodeWTF16(s []uint16, buf []byte) []byte {
    	for i := 0; i < len(s); i++ {
    		var ar rune
    		switch r := s[i]; {
    		case r < surr1, surr3 <= r:
    			// normal rune
    			ar = rune(r)
    		case surr1 <= r && r < surr2 && i+1 < len(s) &&
    			surr2 <= s[i+1] && s[i+1] < surr3:
    			// valid surrogate sequence
    			ar = utf16.DecodeRune(rune(r), rune(s[i+1]))
    			i++
    		default:
    			// WTF-8 fallback.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 15 09:26:16 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  4. src/regexp/syntax/prog.go

    func (i *Inst) MatchRunePos(r rune) int {
    	rune := i.Rune
    
    	switch len(rune) {
    	case 0:
    		return noMatch
    
    	case 1:
    		// Special case: single-rune slice is from literal string, not char class.
    		r0 := rune[0]
    		if r == r0 {
    			return 0
    		}
    		if Flags(i.Arg)&FoldCase != 0 {
    			for r1 := unicode.SimpleFold(r0); r1 != r0; r1 = unicode.SimpleFold(r1) {
    				if r == r1 {
    					return 0
    				}
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:50:01 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  5. src/unicode/graphic.go

    	}
    	return isExcludingLatin(Letter, r)
    }
    
    // IsMark reports whether the rune is a mark character (category [M]).
    func IsMark(r rune) bool {
    	// There are no mark characters in Latin-1.
    	return isExcludingLatin(Mark, r)
    }
    
    // IsNumber reports whether the rune is a number (category [N]).
    func IsNumber(r rune) bool {
    	if uint32(r) <= MaxLatin1 {
    		return properties[uint8(r)]&pN != 0
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 06 20:02:46 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  6. src/strconv/quote_test.go

    	{string(rune(14)), false},
    	{string(rune(15)), false},
    	{string(rune(16)), false},
    	{string(rune(17)), false},
    	{string(rune(18)), false},
    	{string(rune(19)), false},
    	{string(rune(20)), false},
    	{string(rune(21)), false},
    	{string(rune(22)), false},
    	{string(rune(23)), false},
    	{string(rune(24)), false},
    	{string(rune(25)), false},
    	{string(rune(26)), false},
    	{string(rune(27)), false},
    	{string(rune(28)), false},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 31 20:37:15 UTC 2022
    - 9.6K bytes
    - Viewed (0)
  7. test/typeparam/issue48198.go

    package p
    
    type Foo[T any] struct {
    }
    
    func (foo Foo[T]) Get()  {
    }
    
    var(
    	_ = Foo[byte]{}
    	_ = Foo[[]byte]{}
    	_ = Foo[map[byte]rune]{}
    
    	_ = Foo[rune]{}
    	_ = Foo[[]rune]{}
    	_ = Foo[map[rune]byte]{}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 372 bytes
    - Viewed (0)
  8. src/runtime/utf8.go

    func countrunes(s string) int {
    	n := 0
    	for range s {
    		n++
    	}
    	return n
    }
    
    // decoderune returns the non-ASCII rune at the start of
    // s[k:] and the index after the rune in s.
    //
    // decoderune assumes that caller has checked that
    // the to be decoded rune is a non-ASCII rune.
    //
    // If the string appears to be incomplete or decoding problems
    // are encountered (runeerror, k + 1) is returned to ensure
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 06 02:46:02 UTC 2020
    - 3.4K bytes
    - Viewed (0)
  9. src/vendor/golang.org/x/text/unicode/norm/forminfo.go

    func (p Properties) CCC() uint8 {
    	if p.index >= firstCCCZeroExcept {
    		return 0
    	}
    	return ccc[p.ccc]
    }
    
    // LeadCCC returns the CCC of the first rune in the decomposition.
    // If there is no decomposition, LeadCCC equals CCC.
    func (p Properties) LeadCCC() uint8 {
    	return ccc[p.ccc]
    }
    
    // TrailCCC returns the CCC of the last rune in the decomposition.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 10 18:59:52 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  10. docker-buildx.sh

    	-f Dockerfile.release .
    
    docker buildx prune -f
    
    docker buildx build --push --no-cache \
    	--build-arg RELEASE="${release}" \
    	-t "minio/minio:${release}-cpuv1" \
    	-t "quay.io/minio/minio:${release}-cpuv1" \
    	--platform=linux/arm64,linux/amd64,linux/ppc64le,linux/s390x \
    	-f Dockerfile.release.old_cpu .
    
    docker buildx prune -f
    
    docker buildx build --push --no-cache \
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:43:38 UTC 2024
    - 1.2K bytes
    - Viewed (0)
Back to top