Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 282 for indexFor (0.12 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/idn/Punycode.kt

       * limits.
       */
      fun encode(string: String): String? {
        var pos = 0
        val limit = string.length
        val result = Buffer()
    
        while (pos < limit) {
          var dot = string.indexOf('.', startIndex = pos)
          if (dot == -1) dot = limit
    
          if (!encodeLabel(string, pos, dot, result)) {
            // If we couldn't encode the label, give up.
            return null
          }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 03 03:04:50 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/Dfs.java

        }
        synchronized void insert(String path, DfsReferral dr) {
            int s1, s2;
            String server, share, key;
    
            if (DISABLED)
                return;
    
            s1 = path.indexOf('\\', 1);
            s2 = path.indexOf('\\', s1 + 1);
            server = path.substring(1, s1);
            share = path.substring(s1 + 1, s2);
    
            key = path.substring(0, dr.pathConsumed).toLowerCase();
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 11.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/netbios/Lmhosts.java

                    continue;
                }
                else if ( line.charAt(0) == '#' ) {
                    if ( line.startsWith("#INCLUDE ") ) {
                        line = line.substring(line.indexOf('\\'));
                        String url = "smb:" + line.replace('\\', '/');
    
                        try ( InputStreamReader rdr = new InputStreamReader(new SmbFileInputStream(url, tc)) ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.1K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/publicsuffix/PublicSuffixListGenerator.kt

          """Wildcard Assertion Failure: '$rule'
    A wildcard rule was added with a wildcard that is not in leftmost position! We'll need to change the ${PublicSuffixDatabase::class.java.name} to handle this."""
        }
        check(rule.indexOf(WILDCARD_CHAR, 1) == -1) {
          """Wildcard Assertion Failure: '$rule'
    A wildcard rule was added with multiple wildcards! We'll need to change ${PublicSuffixDatabase::class.java.name} to handle this."""
        }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 18 01:24:38 UTC 2024
    - 6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/net/PercentEscaperTest.java

        UnicodeEscaper e = new PercentEscaper("+*/-", false);
        for (char c = 0; c < 128; c++) {
          if ((c >= '0' && c <= '9')
              || (c >= 'a' && c <= 'z')
              || (c >= 'A' && c <= 'Z')
              || "+*/-".indexOf(c) >= 0) {
            assertUnescaped(e, c);
          } else {
            assertEscaping(e, escapeAscii(c), c);
          }
        }
      }
    
      /** Tests that if specify '%' as safe the result is an idempotent escaper. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/suggest/SuggesterBuilderTest.java

            final Suggester suggester = Suggester.builder().build(runner.client(), id);
    
            assertNotNull(suggester);
            assertNotNull(suggester.client);
            assertNotNull(suggester.indexer());
            assertNotNull(suggester.getNormalizer());
            assertNotNull(suggester.getReadingConverter());
            assertNotNull(suggester.settings());
            assertTrue(!Strings.isNullOrEmpty(suggester.index));
        }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpAuthentication.java

            this.password = password;
        }
    
        boolean matches(final String path) {
            if (StringUtil.isBlank(path)) {
                return false;
            }
    
            try {
                final int pos = path.indexOf('/', 6);
                final URL uri = new URL(pos == -1 ? path : path.substring(0, pos));
                if (!"ftp".equals(uri.getProtocol()) || StringUtil.isNotBlank(server) && !server.equals(uri.getHost())) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/indexer/DocBoostMatcher.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.indexer;
    
    import java.util.Map;
    
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.es.config.exentity.BoostDocumentRule;
    import org.codelibs.fess.util.ComponentUtil;
    
    public class DocBoostMatcher {
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

            if (content == null) {
                return StringUtil.EMPTY;
            }
            String value = content;
            int pos = value.indexOf("<!--");
            while (pos >= 0) {
                final int lastPos = value.indexOf("-->", pos);
                if (lastPos < 0) {
                    break;
                }
                if (pos == 0) {
                    value = " " + value.substring(lastPos + 3);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 42.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/suggest/converter/KatakanaConverter.java

                while (stream.incrementToken()) {
                    final CharTermAttribute att = stream.getAttribute(CharTermAttribute.class);
                    final String term = att.toString();
                    final int pos = inputStr.indexOf(term, offset);
                    if (pos > 0) {
                        final String tmp = inputStr.substring(offset, pos);
                        kanaBuf.append(transliterator.transliterate(tmp));
                        offset = pos;
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 4.7K bytes
    - Viewed (0)
Back to top