Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for asciiSet (0.05 sec)

  1. src/bytes/bytes.go

    // This allocates a total of 32 bytes even though the upper half
    // is unused to avoid bounds checks in asciiSet.contains.
    type asciiSet [8]uint32
    
    // makeASCIISet creates a set of ASCII characters and reports whether all
    // characters in chars are ASCII.
    func makeASCIISet(chars string) (as asciiSet, ok bool) {
    	for i := 0; i < len(chars); i++ {
    		c := chars[i]
    		if c >= utf8.RuneSelf {
    			return as, false
    		}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Sep 03 20:55:15 UTC 2024
    - 35.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/AsciiTest.java

    import com.google.common.annotations.GwtIncompatible;
    import junit.framework.TestCase;
    
    /**
     * Unit test for {@link Ascii}.
     *
     * @author Craig Berry
     */
    @GwtCompatible
    public class AsciiTest extends TestCase {
    
      /**
       * The Unicode points {@code 00c1} and {@code 00e1} are the upper- and lowercase forms of
       * A-with-acute-accent, {@code Á} and {@code á}.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top