Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 241 - 250 of 278 for indexFor (0.12 seconds)

  1. impl/maven-core/src/test/java/org/apache/maven/graph/DefaultGraphBuilderTest.java

                return Arrays.stream(selectors).map(this::prependWithColonIfNeeded).collect(toList());
            }
    
            private String prependWithColonIfNeeded(String selector) {
                return selector.indexOf(':') == -1 ? ":" + selector : selector;
            }
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 09 20:39:03 GMT 2025
    - 28K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java

                return StringUtil.EMPTY; // empty
            }
    
            if (url.startsWith("file:////")) {
                final String value = decodeUrlAsName(url.substring(9), true);
                final int pos = value.indexOf('/');
                if (pos > 0) {
                    return value.substring(0, pos);
                }
                if (pos == -1) {
                    return value;
                }
                return "localhost";
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 25.7K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

                    break;
                }
            }
    
            this.canon = new String(out, 0, prefixLen);
            if (prefixLen > 1) {
                prefixLen--;
                final int firstSep = this.canon.indexOf('/', 1);
                if (firstSep < 0) {
                    this.share = this.canon.substring(1);
                    this.unc = "\\";
                } else if (firstSep == prefixLen) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 23.6K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/Iterables.java

       * such index.
       *
       * @since 2.0
       */
      public static <T extends @Nullable Object> int indexOf(
          Iterable<T> iterable, Predicate<? super T> predicate) {
        return Iterators.indexOf(iterable.iterator(), predicate);
      }
    
      /**
       * Returns a view containing the result of applying {@code function} to each element of {@code
       * fromIterable}.
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 16 18:35:28 GMT 2025
    - 43.8K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java

        ImmutableList<String> list = multiset.asList();
        assertEquals(ImmutableList.of("a", "a", "b", "b", "b"), list);
        SerializableTester.reserializeAndAssert(list);
        assertEquals(2, list.indexOf("b"));
        assertEquals(4, list.lastIndexOf("b"));
      }
    
      public void testCopyOfDefensiveCopy() {
        // Depending on JDK version, either toArray() or toArray(T[]) may be called... use this class
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 22.7K bytes
    - Click Count (0)
  6. guava/src/com/google/common/net/InetAddresses.java

        int start = 0;
        // Iterate through the parts of the ip string.
        // Invariant: start is always the beginning of an octet.
        for (int i = 0; i < IPV4_PART_COUNT; i++) {
          int end = ipString.indexOf(IPV4_DELIMITER, start);
          if (end == -1) {
            end = ipString.length();
          }
          try {
            bytes[i] = parseOctet(ipString, start, end);
          } catch (NumberFormatException ex) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Feb 19 21:24:11 GMT 2025
    - 47.4K bytes
    - Click Count (0)
  7. okhttp/src/androidMain/baseline-prof.txt

    HSPLkotlin/text/StringsKt__StringsKt;->getLastIndex(Ljava/lang/CharSequence;)I
    HSPLkotlin/text/StringsKt__StringsKt;->indexOf$default(Ljava/lang/CharSequence;CIZI)I
    HSPLkotlin/text/StringsKt__StringsKt;->indexOf$default(Ljava/lang/CharSequence;Ljava/lang/String;IZI)I
    HSPLkotlin/text/StringsKt__StringsKt;->indexOf(Ljava/lang/CharSequence;Ljava/lang/String;IZ)I
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Dec 30 23:28:56 GMT 2024
    - 127.9K bytes
    - Click Count (1)
  8. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

            LaRequestUtil.getOptionalRequest().map(HttpServletRequest::getContextPath).filter(s -> s.length() > 1).ifPresent(s -> sb.append(s));
            sb.append(input);
            if (input.indexOf('?') == -1) {
                try {
                    final Long value = resourceHashCache.get(input);
                    if (value.longValue() > 0) {
                        sb.append("?t=").append(value.toString());
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 25.4K bytes
    - Click Count (1)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

                    expectedChecksum = expectedChecksum.substring(lastSpacePos + 1);
                } else {
                    // remove everything after the first space (if available)
                    int spacePos = expectedChecksum.indexOf(' ');
    
                    if (spacePos != -1) {
                        expectedChecksum = expectedChecksum.substring(0, spacePos);
                    }
                }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 29.9K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/Iterables.java

       * such index.
       *
       * @since 2.0
       */
      public static <T extends @Nullable Object> int indexOf(
          Iterable<T> iterable, Predicate<? super T> predicate) {
        return Iterators.indexOf(iterable.iterator(), predicate);
      }
    
      /**
       * Returns a view containing the result of applying {@code function} to each element of {@code
       * fromIterable}.
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 43.6K bytes
    - Click Count (0)
Back to Top