Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 156 for Ascii (0.97 sec)

  1. guava/src/com/google/common/net/MediaType.java

        checkArgument(!token.isEmpty());
        return Ascii.toLowerCase(token);
      }
    
      private static String normalizeParameterValue(String attribute, String value) {
        checkNotNull(value); // for GWT
        checkArgument(ascii().matchesAllOf(value), "parameter values must be ASCII: %s", value);
        return attribute.equals(CHARSET_ATTRIBUTE) ? Ascii.toLowerCase(value) : value;
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 48K bytes
    - Viewed (0)
  2. src/main/java/jcifs/dcerpc/DcerpcMessage.java

            buf.enc_ndr_small(0); /* minor version */
            buf.enc_ndr_small(this.ptype);
            buf.enc_ndr_small(this.flags);
            buf.enc_ndr_long(0x00000010); /* Little-endian / ASCII / IEEE */
            buf.enc_ndr_short(this.length);
            buf.enc_ndr_short(0); /* length of auth_value */
            buf.enc_ndr_long(this.call_id);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/NetServerEnum2Test.java

            // Verify subcommand
            assertEquals(SmbComTransaction.NET_SERVER_ENUM2 & 0xFF, (dst[0] & 0xFF) | ((dst[1] & 0xFF) << 8));
    
            // Verify description
            byte[] descr = NetServerEnum2.DESCR[0].getBytes("ASCII");
            byte[] writtenDescr = new byte[descr.length];
            System.arraycopy(dst, 2, writtenDescr, 0, descr.length);
            assertArrayEquals(descr, writtenDescr);
    
            int currentIndex = 2 + descr.length;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java

          try {
            return Integer.decode(userFriendly);
          } catch (NumberFormatException ignored) {
            if (userFriendly.matches("(?i)(?:American|English|ASCII)")) {
              // 1-byte UTF-8 sequences - "American" ASCII text
              return 0x80;
            } else if (userFriendly.matches("(?i)(?:French|Latin|Western.*European)")) {
              // Mostly 1-byte UTF-8 sequences, mixed with occasional 2-byte
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/util/MimeMap.java

            int state, t, x, i, off;
            byte ch;
            final byte[] type = new byte[128];
            final byte[] buf = new byte[16];
            final byte[] ext = extension.toLowerCase().getBytes("ASCII");
    
            state = ST_START;
            t = x = i = 0;
            for (off = 0; off < inLen; off++) {
                ch = in[off];
                switch (state) {
                case ST_START:
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/url/-Url.kt

     *
     *  * In queries, ' ' is encoded to '+' and '+' is encoded to "%2B".
     *
     *  * Characters in `encodeSet` are percent-encoded.
     *
     *  * Control characters and non-ASCII characters are percent-encoded.
     *
     *  * All other characters are copied without transformation.
     *
     * @param alreadyEncoded true to leave '%' as-is; false to convert it to '%25'.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndXResponse.java

            try {
                this.service = new String(buffer, bufferIndex, len, "ASCII");
            } catch (final UnsupportedEncodingException uee) {
                return 0;
            }
            bufferIndex += len + 1;
            // win98 observed not returning nativeFileSystem
            // Problems here with iSeries returning ASCII even though useUnicode = true
            // Fortunately we don't really need nativeFileSystem for anything.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/CollectSpliteratorsTest.java

    import static com.google.common.collect.Lists.charactersOf;
    import static com.google.common.truth.Truth.assertThat;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.base.Ascii;
    import com.google.common.collect.testing.SpliteratorTester;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.List;
    import java.util.Spliterator;
    import java.util.stream.DoubleStream;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndXResponse.java

            try {
                service = new String(buffer, bufferIndex, len, "ASCII");
            } catch (final UnsupportedEncodingException uee) {
                return 0;
            }
            bufferIndex += len + 1;
            // win98 observed not returning nativeFileSystem
            /* Problems here with iSeries returning ASCII even though useUnicode = true
             * Fortunately we don't really need nativeFileSystem for anything.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/net/InetAddresses.java

       *
       * <p>This method accepts non-ASCII digits, for example {@code "192.168.0.1"} (those are fullwidth
       * characters). That is consistent with {@link InetAddress}, but not with various RFCs. If you
       * want to accept ASCII digits only, you can use something like {@code
       * CharMatcher.ascii().matchesAllOf(ipString)}.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
Back to top