Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 163 for Ascii (0.02 sec)

  1. guava-tests/test/com/google/common/base/CharMatcherTest.java

        doTestSetBits(anyOf("CharMatcher"));
        doTestSetBits(noneOf("CharMatcher"));
        doTestSetBits(inRange('n', 'q'));
        doTestSetBits(forPredicate(Predicates.equalTo('c')));
        doTestSetBits(CharMatcher.ascii());
        doTestSetBits(CharMatcher.digit());
        doTestSetBits(CharMatcher.invisible());
        doTestSetBits(CharMatcher.whitespace());
        doTestSetBits(inRange('A', 'Z').and(inRange('F', 'K').negate()));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/http/NtlmServlet.java

                    if (ntlm == null) {
                        return;
                    }
                } else {
                    final String auth = new String(Base64.decode(msg.substring(6)), "US-ASCII");
                    int index = auth.indexOf(':');
                    String user = index != -1 ? auth.substring(0, index) : auth;
                    final String password = index != -1 ? auth.substring(index + 1) : "";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.1K bytes
    - Viewed (1)
  3. guava-tests/test/com/google/common/io/CharSourceTest.java

                  "CharSource.empty[]", SourceSinkFactories.emptyCharSourceFactory(), asByteSource));
        }
        suite.addTestSuite(CharSourceTest.class);
        return suite;
      }
    
      private static final String STRING = ASCII + I18N;
      private static final String LINES = "foo\nbar\r\nbaz\rsomething";
      private static final ImmutableList<String> SPLIT_LINES =
          ImmutableList.of("foo", "bar", "baz", "something");
    
      private TestCharSource source;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/http/NtlmHttpFilter.java

                    /* negotiation complete, remove the challenge object */
                    ssn.removeAttribute("NtlmHttpChal");
                } else {
                    final String auth = new String(Base64.decode(msg.substring(6)), "US-ASCII");
                    int index = auth.indexOf(':');
                    String user = index != -1 ? auth.substring(0, index) : auth;
                    final String password = index != -1 ? auth.substring(index + 1) : "";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/HostnameVerifierTest.kt

        assertThat(verifier.verify("bar.com", session)).isTrue()
        assertThat(verifier.verify("a.bar.com", session)).isFalse()
      }
    
      /**
       * Ignored due to incompatibilities between Android and Java on how non-ASCII subject alt names
       * are parsed. Android fails to parse these, which means we fall back to the CN. The RI does parse
       * them, so the CN is unused.
       */
      @Test fun verifyNonAsciiSubjectAlt() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 40.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/hash/HashTestUtils.java

     * @author Kurt Alfred Kluever
     */
    @NullUnmarked
    final class HashTestUtils {
      private HashTestUtils() {}
    
      /** Converts a string, which should contain only ascii-representable characters, to a byte[]. */
      static byte[] ascii(String string) {
        byte[] bytes = new byte[string.length()];
        for (int i = 0; i < string.length(); i++) {
          bytes[i] = (byte) string.charAt(i);
        }
        return bytes;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

                    break;
                case 1:
                    /*
                     * Get ASCII hex value and convert to platform dependent
                     * encoding like EBCDIC perhaps
                     */
                    b[0] = (byte) (Integer.parseInt(str.substring(i, i + 2), 16) & 0xFF);
                    out[j] = new String(b, 0, 1, "ASCII").charAt(0);
                    j++;
                    i++;
                    state = 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/TreeConnectResponseTest.java

            @Test
            @DisplayName("Should decode bytes correctly")
            void testReadBytesWireFormat() throws Exception {
                // Given - Service string in ASCII
                String testService = "A:";
                byte[] serviceBytes = testService.getBytes("ASCII");
                byte[] buffer = new byte[serviceBytes.length + 1];
                System.arraycopy(serviceBytes, 0, buffer, 0, serviceBytes.length);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/cache/CacheBuilder.java

          s.add("expireAfterAccess", expireAfterAccessNanos + "ns");
        }
        if (keyStrength != null) {
          s.add("keyStrength", Ascii.toLowerCase(keyStrength.toString()));
        }
        if (valueStrength != null) {
          s.add("valueStrength", Ascii.toLowerCase(valueStrength.toString()));
        }
        if (keyEquivalence != null) {
          s.addValue("keyEquivalence");
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 51.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

            String algorithm = cell.getRowKey();
            SecretKey key = cell.getColumnKey();
            HashFunction hashFunc = cell.getValue();
            assertMacHashing(HashTestUtils.ascii(stringToTest), algorithm, key, hashFunc);
          }
        }
      }
    
      @AndroidIncompatible // sun.security
      public void testNoProviders() {
        ProviderList providers = Providers.getProviderList();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Dec 27 16:19:35 UTC 2024
    - 13.8K bytes
    - Viewed (0)
Back to top