Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 332 for indexIn (3.24 sec)

  1. android/guava-tests/test/com/google/common/base/CharMatcherTest.java

        assertEquals(-1, matcher.indexIn(s));
        assertEquals(-1, matcher.indexIn(s, 0));
        assertEquals(-1, matcher.indexIn(s, 1));
        assertEquals(-1, matcher.indexIn(s, s.length()));
        try {
          matcher.indexIn(s, s.length() + 1);
          fail();
        } catch (IndexOutOfBoundsException expected) {
        }
        try {
          matcher.indexIn(s, -1);
          fail();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/CharMatcherTest.java

        assertEquals(-1, matcher.indexIn(s));
        assertEquals(-1, matcher.indexIn(s, 0));
        assertEquals(-1, matcher.indexIn(s, 1));
        assertEquals(-1, matcher.indexIn(s, s.length()));
        try {
          matcher.indexIn(s, s.length() + 1);
          fail();
        } catch (IndexOutOfBoundsException expected) {
        }
        try {
          matcher.indexIn(s, -1);
          fail();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/net/MediaType.java

        }
    
        @CanIgnoreReturnValue
        String consumeTokenIfPresent(CharMatcher matcher) {
          checkState(hasMore());
          int startPosition = position;
          position = matcher.negate().indexIn(input, startPosition);
          return hasMore() ? input.substring(startPosition, position) : input.substring(startPosition);
        }
    
        String consumeToken(CharMatcher matcher) {
          int startPosition = position;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 48K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/net/MediaType.java

        }
    
        @CanIgnoreReturnValue
        String consumeTokenIfPresent(CharMatcher matcher) {
          checkState(hasMore());
          int startPosition = position;
          position = matcher.negate().indexIn(input, startPosition);
          return hasMore() ? input.substring(startPosition, position) : input.substring(startPosition);
        }
    
        String consumeToken(CharMatcher matcher) {
          int startPosition = position;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 48K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/math/QuantilesTest.java

        for (int index = 0; index <= 100; index++) {
          indexes.add(index);
          expectedBuilder.put(index, expectedLargeDatasetPercentile(index));
        }
        Random random = new Random(770683168895677741L);
        Collections.shuffle(indexes, random);
        assertThat(percentiles().indexes(Ints.toArray(indexes)).computeInPlace(dataset))
            .comparingValuesUsing(QUANTILE_CORRESPONDENCE)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/math/QuantilesTest.java

        for (int index = 0; index <= 100; index++) {
          indexes.add(index);
          expectedBuilder.put(index, expectedLargeDatasetPercentile(index));
        }
        Random random = new Random(770683168895677741L);
        Collections.shuffle(indexes, random);
        assertThat(percentiles().indexes(Ints.toArray(indexes)).computeInPlace(dataset))
            .comparingValuesUsing(QUANTILE_CORRESPONDENCE)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

    import org.codelibs.fess.util.ComponentUtil;
    import org.opensearch.common.lucene.search.function.CombineFunction;
    import org.opensearch.index.query.BoolQueryBuilder;
    import org.opensearch.index.query.QueryBuilders;
    import org.opensearch.index.query.functionscore.FunctionScoreQueryBuilder;
    import org.opensearch.index.query.functionscore.ScoreFunctionBuilders;
    import org.opensearch.search.sort.SortBuilders;
    
    import jakarta.annotation.PostConstruct;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  8. src/test/resources/plugin/repo2/index.html

    <html>
      <head>
        <title>Index of /repositories/snapshots/org/codelibs/fess</title>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    
        <link rel="icon" type="image/png" href="https://oss.sonatype.org/favicon.png">
        <!--[if IE]>
        <link rel="SHORTCUT ICON" href="https://oss.sonatype.org/favicon.ico"/>
        <![endif]-->
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 13 07:34:14 UTC 2019
    - 10.5K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt

            }
    
          private fun isStaticHeader(index: Int): Boolean = index >= 0 && index <= STATIC_HEADER_TABLE.size - 1
    
          /** index == -1 when new. */
          private fun insertIntoDynamicTable(
            index: Int,
            entry: Header,
          ) {
            var index = index
            headerList.add(entry)
    
            var delta = entry.hpackSize
            if (index != -1) { // Index -1 == new header.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Streams.java

              S extends MapWithIndexSpliterator<F, R, S>>
          implements Spliterator<R> {
        final F fromSpliterator;
        long index;
    
        MapWithIndexSpliterator(F fromSpliterator, long index) {
          this.fromSpliterator = fromSpliterator;
          this.index = index;
        }
    
        abstract S createSplit(F from, long i);
    
        @Override
        public @Nullable S trySplit() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 37K bytes
    - Viewed (0)
Back to top