Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 341 - 350 of 489 for charm (0.05 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/OkHostnameVerifier.kt

          verifyHostname(hostname, it)
        }
      }
    
      /**
       * This is like [toLowerCase] except that it does nothing if this contains any non-ASCII
       * characters. We want to avoid lower casing special chars like U+212A (Kelvin symbol) because
       * they can return ASCII characters that match real hostnames.
       */
      private fun String.asciiToLowercase(): String =
        when {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/io/SourceSinkTester.java

      static final ImmutableMap<String, String> TEST_STRINGS =
          ImmutableMap.<String, String>builder()
              .put("empty", "")
              .put("1 char", "0")
              .put("1 word", "hello")
              .put("2 words", "hello world")
              .put("\\n line break", "hello\nworld")
              .put("\\r line break", "hello\rworld")
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

            assertArrayEquals(expectedBytes, actualBytes);
    
            // Verify it's actually UTF-16LE (each ASCII char should be followed by 0x00)
            int pathStart = Smb2Constants.SMB2_HEADER_LENGTH + 8;
            for (int i = 0; i < testPath.length(); i++) {
                char c = testPath.charAt(i);
                if (c < 128) { // ASCII character
                    assertEquals(c, buffer[pathStart + i * 2]);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.6K bytes
    - Click Count (0)
  4. android/guava/src/com/google/thirdparty/publicsuffix/TrieParser.java

          Deque<CharSequence> stack,
          CharSequence encoded,
          int start,
          ImmutableMap.Builder<String, PublicSuffixType> builder) {
    
        int encodedLen = encoded.length();
        int idx = start;
        char c = '\0';
    
        // Read all the characters for this node.
        for (; idx < encodedLen; idx++) {
          c = encoded.charAt(idx);
    
          if (c == '&' || c == '?' || c == '!' || c == ':' || c == ',') {
            break;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 4K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb1/http/NetworkExplorer.java

            out.println("</td></tr></table>");
            out.println("</BODY></HTML>");
            out.close();
        }
    
        private String parseServerAndShare(final String pathInfo) {
            final char[] out = new char[256];
            char ch;
            int len, p, i;
    
            if (pathInfo == null) {
                return null;
            }
            len = pathInfo.length();
    
            p = i = 0;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 22.6K bytes
    - Click Count (0)
  6. impl/maven-cli/src/test/java/org/apache/maven/cling/transfer/ConsoleMavenTransferListenerTest.java

                                String string = o.toString();
                                int i = string.length() - 1;
                                while (i >= 0) {
                                    char c = string.charAt(i);
                                    if (c == '\n' || c == '\r' || c == ' ') {
                                        i--;
                                    } else {
                                        break;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  7. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/ConsoleIconTest.java

        void shouldHandleDifferentCharsetEncodingsCorrectly() {
            Terminal mockTerminal = mock(Terminal.class);
    
            // Test with ISO-8859-1 (Latin-1) - should support some but not all Unicode chars
            when(mockTerminal.encoding()).thenReturn(StandardCharsets.ISO_8859_1);
    
            for (ConsoleIcon icon : ConsoleIcon.values()) {
                String result = icon.getIcon(mockTerminal);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Jul 15 09:35:08 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractor.java

            final StringBuilder buf = new StringBuilder(100);
            boolean singleQuote = false;
            boolean doubleQuote = false;
            char prevChar = ' ';
            for (int i = 0; i < cmd.length(); i++) {
                final char c = cmd.charAt(i);
                if (c == ' ' && !singleQuote && !doubleQuote && buf.length() > 0) {
                    cmdList.add(getCommandValue(buf.toString(), params));
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sun Nov 23 12:19:14 GMT 2025
    - 16.1K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java

            }
    
            @Test
            @DisplayName("Should handle special characters in message")
            void testSpecialCharactersInMessage() {
                String message = "Error: \n\t\r\\ \"special\" 'chars' @#$%^&*()";
                TransportException exception = new TransportException(message);
    
                assertEquals(message, exception.getMessage());
                assertNotNull(exception.toString());
            }
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2Test.kt

      private fun largeHeaders(): List<Header> {
        val nameValues = arrayOfNulls<String>(32)
        val chars = CharArray(512)
        var i = 0
        while (i < nameValues.size) {
          Arrays.fill(chars, i.toChar())
          val string = String(chars)
          nameValues[i++] = string
          nameValues[i++] = string
        }
        return headerEntries(*nameValues)
      }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 28.1K bytes
    - Click Count (0)
Back to Top