Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 206 for Ascii (0.04 seconds)

  1. src/bufio/scan.go

    	if atEOF && len(data) == 0 {
    		return 0, nil, nil
    	}
    
    	// Fast path 1: ASCII.
    	if data[0] < utf8.RuneSelf {
    		return 1, data[0:1], nil
    	}
    
    	// Fast path 2: Correct UTF-8 decode without error.
    	_, width := utf8.DecodeRune(data)
    	if width > 1 {
    		// It's a valid encoding. Width cannot be one for a correctly encoded
    		// non-ASCII rune.
    		return width, data[0:width], nil
    	}
    
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed May 21 18:05:26 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb1/com/SmbComNegotiateResponseTest.java

            response.getServerData().scapabilities = 0;
            response.getServerData().encryptionKeyLength = 8;
            // Domain name in OEM encoding (ASCII) with null terminator
            byte[] domainBytes = "DOMAIN\0".getBytes("US-ASCII");
            // Use reflection to set protected byteCount field
            int byteCountValue = 8 + domainBytes.length;
            setByteCount(response, byteCountValue);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/net/UrlEscapers.java

      /**
       * Returns an {@link Escaper} instance that escapes strings so they can be safely included in <a
       * href="https://url.spec.whatwg.org/#syntax-url-path-segment">URL path segments</a>. The returned
       * escaper escapes all non-ASCII characters, even though <a
       * href="https://url.spec.whatwg.org/#url-code-points">many of these are accepted in modern
       * URLs</a>. (<a href="https://url.spec.whatwg.org/#path-state">If the escaper were to leave these
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 7.1K bytes
    - Click Count (0)
  4. src/main/java/jcifs/http/NtlmSsp.java

                    final Type1Message type1 = new Type1Message(src);
                    final Type2Message type2 = new Type2Message(tc, type1, challenge, null);
                    msg = new String(Base64.encode(type2.toByteArray()), "US-ASCII");
                    resp.setHeader("WWW-Authenticate", "NTLM " + msg);
                } else if (src[8] == 3) {
                    final Type3Message type3 = new Type3Message(src);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  5. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/UpgradeContextTest.java

            context.detail("Icon rendering test");
            context.action("Icon rendering test");
    
            // We just verify the methods work without throwing exceptions
            // The specific icons (Unicode vs ASCII) depend on terminal charset
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Jul 15 09:35:08 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/base/CharsetsTest.java

    @GwtCompatible
    @NullUnmarked
    public class CharsetsTest extends TestCase {
    
      @J2ktIncompatible
      @GwtIncompatible // Non-UTF-8 Charset
      public void testUsAscii() {
        assertThat(Charsets.US_ASCII).isEqualTo(Charset.forName("US-ASCII"));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // Non-UTF-8 Charset
      public void testIso88591() {
        assertThat(Charsets.ISO_8859_1).isEqualTo(Charset.forName("ISO-8859-1"));
      }
    
      public void testUtf8() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 12:37:39 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/base/CharsetsTest.java

    @GwtCompatible
    @NullUnmarked
    public class CharsetsTest extends TestCase {
    
      @J2ktIncompatible
      @GwtIncompatible // Non-UTF-8 Charset
      public void testUsAscii() {
        assertThat(Charsets.US_ASCII).isEqualTo(Charset.forName("US-ASCII"));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // Non-UTF-8 Charset
      public void testIso88591() {
        assertThat(Charsets.ISO_8859_1).isEqualTo(Charset.forName("ISO-8859-1"));
      }
    
      public void testUtf8() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 12:37:39 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  8. src/main/java/jcifs/SmbConstants.java

        /**
         * Target must be a directory flag.
         */
        int FLAGS_TARGET_MUST_BE_DIRECTORY = 0x0002;
        /**
         * Copy target in ASCII mode flag.
         */
        int FLAGS_COPY_TARGET_MODE_ASCII = 0x0004;
        /**
         * Copy source in ASCII mode flag.
         */
        int FLAGS_COPY_SOURCE_MODE_ASCII = 0x0008;
        /**
         * Verify all write operations flag.
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:49:49 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java

        }
      }
    
      public void testFalsePositivesForNextEscapedIndex() {
        UnicodeEscaper e =
            new UnicodeEscaper() {
              // Canonical escaper method that only escapes lower case ASCII letters.
              @Override
              protected char @Nullable [] escape(int cp) {
                return ('a' <= cp && cp <= 'z') ? new char[] {Character.toUpperCase((char) cp)} : null;
              }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 6K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/io/CharSinkTest.java

    /**
     * Tests for the default implementations of {@code CharSink} methods.
     *
     * @author Colin Decker
     */
    @NullUnmarked
    public class CharSinkTest extends IoTestCase {
    
      private static final String STRING = ASCII + I18N;
    
      private TestCharSink sink;
    
      @Override
      public void setUp() {
        sink = new TestCharSink();
      }
    
      public void testOpenBufferedStream() throws IOException {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 4.7K bytes
    - Click Count (0)
Back to Top