Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 261 for isTitle (0.21 sec)

  1. src/unicode/example_test.go

    	fmt.Printf("%t\n", unicode.IsUpper('A'))
    	fmt.Printf("%t\n", unicode.IsUpper('a'))
    	// Output:
    	// true
    	// false
    }
    
    func ExampleIsTitle() {
    	fmt.Printf("%t\n", unicode.IsTitle('Dž'))
    	fmt.Printf("%t\n", unicode.IsTitle('a'))
    	// Output:
    	// true
    	// false
    }
    
    func ExampleIsSpace() {
    	fmt.Printf("%t\n", unicode.IsSpace(' '))
    	fmt.Printf("%t\n", unicode.IsSpace('\n'))
    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

    		rewrite   func(*context)
    	}{
    		{title, lower, isTitle, nil},                // und
    		{title, lower, isTitle, afnlRewrite},        // af
    		{aztrUpper(title), aztrLower, isTitle, nil}, // az
    		{title, lower, isTitle, nil},                // el
    		{ltUpper(title), ltLower, noSpan, nil},      // lt
    		{nlTitle, lower, nlTitleSpan, afnlRewrite},  // nl
    		{aztrUpper(title), aztrLower, isTitle, nil}, // tr
    	}
    )
    
    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

    			t.Errorf("IsUpper(U+%04X) disagrees with Is(Upper)", i)
    		}
    		if Is(Lower, i) != IsLower(i) {
    			t.Errorf("IsLower(U+%04X) disagrees with Is(Lower)", i)
    		}
    		if Is(Title, i) != IsTitle(i) {
    			t.Errorf("IsTitle(U+%04X) disagrees with Is(Title)", i)
    		}
    		if Is(White_Space, i) != IsSpace(i) {
    			t.Errorf("IsSpace(U+%04X) disagrees with Is(White_Space)", i)
    		}
    		if To(UpperCase, i) != ToUpper(i) {
    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

    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 {
    	if r <= MaxLatin1 {
    		return false
    	}
    	return isExcludingLatin(Title, r)
    }
    
    // to maps the rune using the specified case mapping.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 06 20:02:46 UTC 2023
    - 10K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/text/cases/context.go

    		// Use the uppercase version instead.
    		return c.writeString(e[offset : offset+nFirst])
    	}
    	// Already in correct case.
    	return c.copy()
    }
    
    // isTitle reports whether the current rune is in title case.
    func isTitle(c *context) bool {
    	ct := c.caseType()
    	if c.info&hasMappingMask == 0 || ct == cTitle {
    		return true
    	}
    	if c.info&exceptionBit == 0 {
    		if ct == cLower {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  6. src/go/internal/gccgoimporter/testdata/unicode.gox

    func IsPrint (r <type -21>) <type -15>;
    func IsPunct (r <type -21>) <type -15>;
    func IsSpace (r <type -21>) <type -15>;
    func IsSymbol (r <type -21>) <type -15>;
    func IsTitle (r <type -21>) <type -15>;
    func IsUpper (r <type -21>) <type -15>;
    var Javanese <type 1>;
    var Join_Control <type 1>;
    var Kaithi <type 1>;
    var Kannada <type 1>;
    var Katakana <type 1>;
    var Kayah_Li <type 1>;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 30 21:33:51 UTC 2021
    - 7.3K bytes
    - Viewed (0)
  7. platforms/documentation/samples/src/integTest/groovy/org/gradle/integtests/samples/files/SamplesCopyIntegrationTest.groovy

            outputDir.file('index.html.tmp').assertDoesNotExist()
            outputDir.file('home.html').isFile()
            outputDir.file('logo.png').isFile()
            outputDir.file('products/collaboration.jpg').isFile()
            outputDir.file('WEB-INF/classes/Hello.class').isFile()
            outputDir.file('WEB-INF/lib/commons-io-2.6.jar').isFile()
    
            where:
            dsl << ['groovy', 'kotlin']
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  8. platforms/core-runtime/files/src/main/java/org/gradle/api/internal/file/pattern/PatternMatcher.java

                @Override
                public boolean test(String[] segments, boolean isFile) {
                    return !PatternMatcher.this.test(segments, isFile);
                }
            };
        }
    
        private static final class Or extends PatternMatcher {
            private final List<PatternMatcher> parts = new LinkedList<PatternMatcher>();
    
            public Or(PatternMatcher patternMatcher, PatternMatcher other) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  9. src/internal/poll/fd_poll_js.go

    	}
    }
    
    func (pd *pollDesc) prepare(mode int, isFile bool) error {
    	if pd.closing {
    		return errClosing(isFile)
    	}
    	return nil
    }
    
    func (pd *pollDesc) prepareRead(isFile bool) error { return pd.prepare('r', isFile) }
    
    func (pd *pollDesc) prepareWrite(isFile bool) error { return pd.prepare('w', isFile) }
    
    func (pd *pollDesc) wait(mode int, isFile bool) error {
    	if pd.closing {
    		return errClosing(isFile)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 25 00:12:40 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  10. src/internal/poll/fd_poll_runtime.go

    }
    
    func (pd *pollDesc) prepare(mode int, isFile bool) error {
    	if pd.runtimeCtx == 0 {
    		return nil
    	}
    	res := runtime_pollReset(pd.runtimeCtx, mode)
    	return convertErr(res, isFile)
    }
    
    func (pd *pollDesc) prepareRead(isFile bool) error {
    	return pd.prepare('r', isFile)
    }
    
    func (pd *pollDesc) prepareWrite(isFile bool) error {
    	return pd.prepare('w', isFile)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:59 UTC 2024
    - 4.2K bytes
    - Viewed (0)
Back to top