Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 156 for Ascii (0.12 sec)

  1. 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() {
        assertEquals(Charset.forName("US-ASCII"), Charsets.US_ASCII);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // Non-UTF-8 Charset
      public void testIso88591() {
        assertEquals(Charset.forName("ISO-8859-1"), Charsets.ISO_8859_1);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/SipHashFunction.java

        private final int c;
        // The number of finalization rounds.
        private final int d;
    
        // Four 64-bit words of internal state.
        // The initial state corresponds to the ASCII string "somepseudorandomlygeneratedbytes",
        // big-endian encoded. There is nothing special about this value; the only requirement
        // was some asymmetry so that the initial v0 and v1 differ from v2 and v3.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  3. 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.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/NetServerEnum2.java

            final int start = dstIndex;
            byte[] descr;
            final int which = subCommand == NET_SERVER_ENUM2 ? 0 : 1;
    
            try {
                descr = DESCR[which].getBytes("ASCII");
            } catch (final UnsupportedEncodingException uee) {
                return 0;
            }
    
            writeInt2(subCommand & 0xFF, dst, dstIndex);
            dstIndex += 2;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

        Random random = new Random(0xdeadbeef); // for unpredictable but reproducible behavior
        sb.ensureCapacity(size);
        for (int k = 0; k < size; k++) {
          // [9-127) includes all ascii non-control characters
          sb.append((char) (random.nextInt(127 - 9) + 9));
        }
        String string = sb.toString();
        sb.setLength(0);
        data = ByteSource.wrap(string.getBytes(charset));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/net/PercentEscaperTest.java

            assertThrows(IllegalArgumentException.class, () -> new PercentEscaper(" ", true));
        assertThat(expected).hasMessageThat().isEqualTo(msg);
      }
    
      /** Helper to manually escape a 7-bit ascii character */
      private String escapeAscii(char c) {
        Preconditions.checkArgument(c < 128);
        String hex = "0123456789ABCDEF";
        return "%" + hex.charAt((c >> 4) & 0xf) + hex.charAt(c & 0xf);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/Config.java

                    log.println("WARNING: The default OEM encoding " + DEFAULT_OEM_ENCODING
                            + " does not appear to be supported by this JRE. The default encoding will be US-ASCII.");
                }
                DEFAULT_OEM_ENCODING = "US-ASCII";
            }
    
            if (LogStream.level >= 4) {
                try {
                    prp.store(log, "JCIFS PROPERTIES");
                } catch (final IOException ioe) {}
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/Trans2GetDfsReferralResponse.java

            final int start = bufferIndex;
    
            pathConsumed = readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            /* Samba 2.2.8a will reply with Unicode paths even though
             * ASCII is negotiated so we must use flags2 (probably
             * should anyway).
             */
            if ((flags2 & FLAGS2_UNICODE) != 0) {
                pathConsumed /= 2;
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndX.java

                // no password in tree connect
                dst[dstIndex++] = (byte) 0x00;
            }
            dstIndex += writeString(path, dst, dstIndex);
            try {
                System.arraycopy(service.getBytes("ASCII"), 0, dst, dstIndex, service.length());
            } catch (final UnsupportedEncodingException uee) {
                return 0;
            }
            dstIndex += service.length();
            dst[dstIndex] = (byte) '\0';
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/HeadersChallengesTest.kt

        val headers =
          Headers
            .Builder()
            .add("WWW-Authenticate: Basic realm=\"protected area\", charset=\"US-ASCII\"")
            .build()
        val expectedAuthParams = mutableMapOf<String?, String>()
        expectedAuthParams["realm"] = "protected area"
        expectedAuthParams["charset"] = "US-ASCII"
        assertThat(headers.parseChallenges("WWW-Authenticate"))
          .isEqualTo(listOf(Challenge("Basic", expectedAuthParams)))
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 16.8K bytes
    - Viewed (0)
Back to top