Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 270 for substring (0.05 sec)

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

          return false // Wildcard pattern for single-label domain name -- not permitted.
        }
    
        // Hostname must end with the region of pattern following the asterisk.
        val suffix = pattern.substring(1)
        if (!hostname.endsWith(suffix)) {
          return false // Hostname does not end with the suffix.
        }
    
        // Check that asterisk did not match across domain name labels.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/text/Tokenizer.java

        }
    
        /**
         * Returns the string that has already been read.
         *
         * @return The string that has already been read.
         */
        public String getReadString() {
            return str.substring(0, colno - 1);
        }
    
        private int read() {
            if (colno >= str.length()) {
                return -1;
            }
            return str.charAt(colno++);
        }
    
        private void initVal() {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt

        val secondSpace = line.indexOf(' ', keyBegin)
        val key: String
        if (secondSpace == -1) {
          key = line.substring(keyBegin)
          if (firstSpace == REMOVE.length && line.startsWith(REMOVE)) {
            lruEntries.remove(key)
            return
          }
        } else {
          key = line.substring(keyBegin, secondSpace)
        }
    
        var entry: Entry? = lruEntries[key]
        if (entry == null) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 34.7K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixListGenerator.kt

            while (!source.exhausted()) {
              var rule: ByteString = source.readUtf8LineStrict().toRule() ?: continue
    
              if (rule.startsWith(EXCEPTION_RULE_MARKER)) {
                rule = rule.substring(1)
                // We use '\n' for end of value.
                totalExceptionRuleBytes += rule.size + 1
                sortedExceptionRules.add(rule)
              } else {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Aug 06 05:33:11 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DebugResolutionListener.java

        @Override
        public void startProcessChildren(Artifact artifact) {
            indent += "  ";
        }
    
        @Override
        public void endProcessChildren(Artifact artifact) {
            indent = indent.substring(2);
        }
    
        @Override
        public void includeArtifact(Artifact artifact) {
            logger.debug(indent + artifact + " (selected for " + artifact.getScope() + ")");
        }
    
        @Override
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/converter/AnalyzerConverter.java

                        reading = transliterator.transliterate(reading);
    
                        final int pos = text.indexOf(term, offset);
                        if (pos > 0) {
                            final String tmp = text.substring(offset, pos);
                            readingBuf.append(transliterator.transliterate(tmp));
                            offset = pos;
                        } else if (pos == -1) {
                            continue;
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/http/NtlmSspTest.java

            assertNotNull(headerValue, "WWW-Authenticate header should be set");
            assertEquals("NTLM ", headerValue.substring(0, 5), "Header should start with 'NTLM '");
    
            // Decode the returned Type 2 message and check its signature and type
            byte[] type2Bytes = Base64.getDecoder().decode(headerValue.substring(5));
            assertEquals('N', (char) type2Bytes[0]);
            assertEquals('T', (char) type2Bytes[1]);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.4K bytes
    - Viewed (1)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/RobotsTxtHelper.java

         * @return the line without comments
         */
        protected String stripComment(final String line) {
            final int commentIndex = line.indexOf('#');
            if (commentIndex != -1) {
                return line.substring(0, commentIndex);
            }
            return line;
        }
    
        /**
         * Checks if robots.txt processing is enabled.
         * @return true if enabled, false otherwise
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

            }
    
            String subContent;
            if (content.length() < maxWidth * 2) {
                subContent = content;
            } else {
                subContent = content.substring(0, maxWidth * 2);
            }
    
            final int[] spaceChars = getSpaceChars();
            try (final Reader reader = new StringReader(subContent)) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpAuthentication.java

            if (StringUtil.isBlank(path)) {
                return false;
            }
    
            try {
                final int pos = path.indexOf('/', 6);
                final URI uri = new URI(pos == -1 ? path : path.substring(0, pos));
                if (!"ftp".equals(uri.getScheme()) || (StringUtil.isNotBlank(server) && !server.equals(uri.getHost()))) {
                    return false;
                }
                int p = uri.getPort();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.7K bytes
    - Viewed (0)
Back to top