Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 256 for indexFor (0.14 sec)

  1. android/guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

                      public List<String> order(List<String> insertionOrder) {
                        List<String> order = new ArrayList<>();
                        for (String s : insertionOrder) {
                          int index = order.indexOf(s);
                          if (index == -1) {
                            order.add(s);
                          } else {
                            order.add(index, s);
                          }
                        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/Suggester.java

     *   <li>{@link #switchIndex()}: Switches the search alias to the current update index.</li>
     *   <li>{@link #removeDisableIndices()}: Removes disabled indices.</li>
     *   <li>{@link #indexer()}: Creates a new SuggestIndexer for indexing suggestions.</li>
     *   <li>{@link #builder()}: Creates a new SuggesterBuilder for building Suggester instances.</li>
     *   <li>{@link #settings()}: Returns the SuggestSettings instance.</li>
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 20.7K bytes
    - Viewed (3)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/ArtifactMetadata.java

        /**
         *
         */
        public ArtifactMetadata(String name) {
            if (name == null) {
                return;
            }
            int ind1 = name.indexOf(':');
            int ind2 = name.lastIndexOf(':');
    
            if (ind1 == -1 || ind2 == -1) {
                return;
            }
    
            this.groupId = name.substring(0, ind1);
            if (ind1 == ind2) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sun Mar 30 23:08:36 UTC 2025
    - 8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/CompactHashMap.java

        Map<K, V> delegate = delegateOrNull();
        return (delegate != null) ? delegate.containsKey(key) : indexOf(key) != -1;
      }
    
      @Override
      public @Nullable V get(@Nullable Object key) {
        Map<K, V> delegate = delegateOrNull();
        if (delegate != null) {
          return delegate.get(key);
        }
        int index = indexOf(key);
        if (index == -1) {
          return null;
        }
        accessEntry(index);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 35.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/LinkedHashMultisetTest.java

          }
    
          @Override
          public List<String> order(List<String> insertionOrder) {
            List<String> order = new ArrayList<>();
            for (String s : insertionOrder) {
              int index = order.indexOf(s);
              if (index == -1) {
                order.add(s);
              } else {
                order.add(index, s);
              }
            }
            return order;
          }
        };
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  6. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

             */
            public static String comparableQualifier(String qualifier) {
                if (RELEASE_QUALIFIERS.contains(qualifier)) {
                    return String.valueOf(QUALIFIERS.indexOf(""));
                }
    
                int i = QUALIFIERS.indexOf(qualifier);
    
                // Just returning an Integer with the index here is faster, but requires a lot of if/then/else to check for
                // -1
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-CacheControlCommon.kt

            if (pos < value.length && value[pos] == '\"') {
              // Quoted string.
              pos++ // Consume '"' open quote.
              val parameterStart = pos
              pos = value.indexOf('"', pos)
              parameter = value.substring(parameterStart, pos)
              pos++ // Consume '"' close quote (if necessary).
            } else {
              // Unquoted string.
              val parameterStart = pos
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/RobotsTxtHelper.java

         * @param line the line to strip comments from
         * @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.
    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/app/web/admin/design/AdminDesignAction.java

            if (StringUtil.isBlank(fileName)) {
                fileName = uploadedFileName;
                try {
                    int pos = fileName.indexOf('/');
                    if (pos >= 0) {
                        fileName = fileName.substring(pos + 1);
                    }
                    pos = fileName.indexOf('\\');
                    if (pos >= 0) {
                        fileName = fileName.substring(pos + 1);
                    }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/util/QueryResponseListTest.java

            assertEquals(0, qrList.indexOf(doc1));
            assertEquals(1, qrList.indexOf(doc2));
            assertEquals(2, qrList.lastIndexOf(doc1));
    
            Map<String, Object> doc3 = new HashMap<>();
            doc3.put("title", "Doc3");
            assertEquals(-1, qrList.indexOf(doc3));
        }
    
        public void test_listOperations_iterators() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 39.7K bytes
    - Viewed (0)
Back to top