Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 256 for indexFor (0.05 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/project/LegacyLocalRepositoryManager.java

            return path.toString();
        }
    
        private String insertRepositoryKey(String filename, String repositoryKey) {
            String result;
            int idx = filename.indexOf('.');
            if (idx < 0) {
                result = filename + '-' + repositoryKey;
            } else {
                result = filename.substring(0, idx) + '-' + repositoryKey + filename.substring(idx);
            }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/collection/SLinkedList.java

         *
         * @param element the element
         * @return true if the element is contained in the list, false otherwise
         */
        public boolean contains(final E element) {
            return indexOf(element) != -1;
        }
    
        /**
         * Removes an element from the list.
         *
         * @param element the element
         * @return true if the element was removed, false otherwise
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/context/SingletonContext.java

            String pkgs = System.getProperty("java.protocol.handler.pkgs");
            if (pkgs == null) {
                System.setProperty("java.protocol.handler.pkgs", "jcifs");
            } else if (pkgs.indexOf("jcifs") == -1) {
                pkgs += "|jcifs";
                System.setProperty("java.protocol.handler.pkgs", pkgs);
            }
        }
    
        /**
         *
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/dict/DictionaryFile.java

            }
    
            @Override
            public E remove(final int index) {
                return parent.remove(index);
            }
    
            @Override
            public int indexOf(final Object o) {
                return parent.indexOf(o);
            }
    
            @Override
            public int lastIndexOf(final Object o) {
                return parent.lastIndexOf(o);
            }
    
            @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/util/QueryStringBuilder.java

            String q = query;
            for (final String s : ComponentUtil.getFessConfig().getCrawlerDocumentSpaces()) {
                q = q.replace(s, SPACE);
            }
            final boolean exists = q.indexOf(OR) != -1 || q.indexOf(OR_ALT) != -1;
            queryBuf.append(' ');
            if (exists) {
                queryBuf.append('(');
            }
            queryBuf.append(query);
            if (exists) {
                queryBuf.append(')');
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ForwardingListTest.java

          return standardEquals(object);
        }
    
        @Override
        public int hashCode() {
          return standardHashCode();
        }
    
        @Override
        public int indexOf(Object element) {
          return standardIndexOf(element);
        }
    
        @Override
        public int lastIndexOf(Object element) {
          return standardLastIndexOf(element);
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt

       */
      @get:JvmName("encodedPassword")
      val encodedPassword: String
        get() {
          if (password.isEmpty()) return ""
          val passwordStart = url.indexOf(':', scheme.length + 3) + 1
          val passwordEnd = url.indexOf('@')
          return url.substring(passwordStart, passwordEnd)
        }
    
      /**
       * The number of segments in this URL's path. This is also the number of slashes in this URL's
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 63.5K bytes
    - Viewed (0)
  9. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/netbios/Lmhosts.java

                if (line.length() == 0) {
                    continue;
                }
                if (line.charAt(0) == '#') {
                    if (line.startsWith("#INCLUDE ")) {
                        line = line.substring(line.indexOf('\\'));
                        final String url = "smb:" + line.replace('\\', '/');
    
                        try (InputStreamReader rdr = new InputStreamReader(new SmbFileInputStream(url, tc))) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.3K bytes
    - Viewed (0)
Back to top