Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 614 for islower (0.15 sec)

  1. src/unicode/example_test.go

    	fmt.Printf("%t\n", unicode.IsLetter('A'))
    	fmt.Printf("%t\n", unicode.IsLetter('7'))
    	// Output:
    	// true
    	// false
    }
    
    func ExampleIsLower() {
    	fmt.Printf("%t\n", unicode.IsLower('a'))
    	fmt.Printf("%t\n", unicode.IsLower('A'))
    	// Output:
    	// true
    	// false
    }
    
    func ExampleIsUpper() {
    	fmt.Printf("%t\n", unicode.IsUpper('A'))
    	fmt.Printf("%t\n", unicode.IsUpper('a'))
    	// Output:
    	// true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 08 00:18:29 UTC 2021
    - 5.2K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/text/cases/map.go

    		return &simpleCaser{f: f, span: isLower}
    	}
    	return &lowerCaser{
    		first:   f,
    		midWord: finalSigma(f),
    	}
    }
    
    func makeTitle(t language.Tag, o options) transform.SpanningTransformer {
    	_, i, _ := matcher.Match(t)
    	x := &titleInfos[i]
    	lower := x.lower
    	if o.noLower {
    		lower = (*context).copy
    	} else if !o.ignoreFinalSigma {
    		lower = finalSigma(lower)
    	}
    	return &titleCaser{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  3. src/unicode/letter_test.go

    		u := upper[i]
    		if TurkishCase.ToLower(l) != l {
    			t.Errorf("lower(U+%04X) is U+%04X not U+%04X", l, TurkishCase.ToLower(l), l)
    		}
    		if TurkishCase.ToUpper(u) != u {
    			t.Errorf("upper(U+%04X) is U+%04X not U+%04X", u, TurkishCase.ToUpper(u), u)
    		}
    		if TurkishCase.ToUpper(l) != u {
    			t.Errorf("upper(U+%04X) is U+%04X not U+%04X", l, TurkishCase.ToUpper(l), u)
    		}
    		if TurkishCase.ToLower(u) != l {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 09 01:46:03 UTC 2023
    - 14.8K bytes
    - Viewed (0)
  4. src/unicode/letter.go

    		return properties[uint8(r)]&pLmask == pLu
    	}
    	return isExcludingLatin(Upper, r)
    }
    
    // IsLower reports whether the rune is a lower case letter.
    func IsLower(r rune) bool {
    	// See comment in IsGraphic.
    	if uint32(r) <= MaxLatin1 {
    		return properties[uint8(r)]&pLmask == pLl
    	}
    	return isExcludingLatin(Lower, r)
    }
    
    // IsTitle reports whether the rune is a title case letter.
    func IsTitle(r rune) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 06 20:02:46 UTC 2023
    - 10K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/strategy/VersionRangeSelector.java

                return false;
            }
            return upperBound == null || isLower(candidate, upperBoundVersion, upperInclusive);
        }
    
        /**
         * Tells if version1 is lower than version2.
         */
        private boolean isLower(Version version1, Version version2, boolean inclusive) {
            int result = comparator.compare(version1, version2);
            if (inclusive) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 10K bytes
    - Viewed (0)
  6. src/unicode/graphic_test.go

    		if got != want {
    			t.Errorf("%U incorrect: got %t; want %t", i, got, want)
    		}
    	}
    }
    
    func TestIsLowerLatin1(t *testing.T) {
    	for i := rune(0); i <= MaxLatin1; i++ {
    		got := IsLower(i)
    		want := Is(Lower, i)
    		if got != want {
    			t.Errorf("%U incorrect: got %t; want %t", i, got, want)
    		}
    	}
    }
    
    func TestNumberLatin1(t *testing.T) {
    	for i := rune(0); i <= MaxLatin1; i++ {
    		got := IsNumber(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)
  7. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/tests/tests.go

    }
    
    func isExampleSuffix(s string) bool {
    	r, size := utf8.DecodeRuneInString(s)
    	return size > 0 && unicode.IsLower(r)
    }
    
    func isTestSuffix(name string) bool {
    	if len(name) == 0 {
    		// "Test" is ok.
    		return true
    	}
    	r, _ := utf8.DecodeRuneInString(name)
    	return !unicode.IsLower(r)
    }
    
    func isTestParam(typ ast.Expr, wantType string) bool {
    	ptr, ok := typ.(*ast.StarExpr)
    	if !ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  8. src/go/internal/gccgoimporter/testdata/unicode.gox

    func Is (rangeTab <type 1>, r <type -21>) <type -15>;
    func IsControl (r <type -21>) <type -15>;
    func IsDigit (r <type -21>) <type -15>;
    func IsGraphic (r <type -21>) <type -15>;
    func IsLetter (r <type -21>) <type -15>;
    func IsLower (r <type -21>) <type -15>;
    func IsMark (r <type -21>) <type -15>;
    func IsNumber (r <type -21>) <type -15>;
    func IsOneOf (ranges <type 23 [] <type 24 *<type 2>>>, r <type -21>) <type -15>;
    func IsPrint (r <type -21>) <type -15>;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 30 21:33:51 UTC 2021
    - 7.3K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/text/cases/context.go

    	}
    	return c.copy()
    }
    
    func isLower(c *context) bool {
    	ct := c.caseType()
    	if c.info&hasMappingMask == 0 || ct == cLower {
    		return true
    	}
    	if c.info&exceptionBit == 0 {
    		c.err = transform.ErrEndOfSpan
    		return false
    	}
    	e := exceptions[c.info>>exceptionShift:]
    	if nLower := (e[1] >> lengthBits) & lengthMask; nLower != noChange {
    		c.err = transform.ErrEndOfSpan
    		return false
    	}
    	return true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  10. src/cmd/gofmt/rewrite.go

    		}
    	case reflect.Interface:
    		e := v.Elem()
    		set(v, f(e))
    	}
    	return val
    }
    
    func isWildcard(s string) bool {
    	rune, size := utf8.DecodeRuneInString(s)
    	return size == len(s) && unicode.IsLower(rune)
    }
    
    // match reports whether pattern matches val,
    // recording wildcard submatches in m.
    // If m == nil, match checks whether pattern == val.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 27 22:07:13 UTC 2023
    - 8.1K bytes
    - Viewed (0)
Back to top