Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 256 for indexFor (0.04 sec)

  1. android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

        assertThat(iia.indexOf(1)).isEqualTo(0);
        assertThat(iia.indexOf(8)).isEqualTo(5);
        assertThat(iia.indexOf(4)).isEqualTo(-1);
        assertThat(ImmutableDoubleArray.of(13).indexOf(13)).isEqualTo(0);
        assertThat(ImmutableDoubleArray.of().indexOf(21)).isEqualTo(-1);
        assertThat(iia.subArray(1, 5).indexOf(1)).isEqualTo(0);
      }
    
      public void testIndexOf_specialValues() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

        assertThat(Doubles.indexOf(ARRAY234, EMPTY)).isEqualTo(0);
        assertThat(Doubles.indexOf(EMPTY, ARRAY234)).isEqualTo(-1);
        assertThat(Doubles.indexOf(ARRAY234, ARRAY1)).isEqualTo(-1);
        assertThat(Doubles.indexOf(ARRAY1, ARRAY234)).isEqualTo(-1);
        assertThat(Doubles.indexOf(ARRAY1, ARRAY1)).isEqualTo(0);
        assertThat(Doubles.indexOf(ARRAY234, ARRAY234)).isEqualTo(0);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/CharsTest.java

        assertThat(Chars.indexOf(ARRAY1, ARRAY1)).isEqualTo(0);
        assertThat(Chars.indexOf(ARRAY234, ARRAY234)).isEqualTo(0);
        assertThat(Chars.indexOf(ARRAY234, new char[] {(char) 2, (char) 3})).isEqualTo(0);
        assertThat(Chars.indexOf(ARRAY234, new char[] {(char) 3, (char) 4})).isEqualTo(1);
        assertThat(Chars.indexOf(ARRAY234, new char[] {(char) 3})).isEqualTo(1);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/query/parser/QueryParser.java

                final int indexOf = field.indexOf(':');
                if (indexOf < 0) {
                    return new Pair<>(field, null);
                }
                final String indexField = indexOf == 0 ? defaultField : field.substring(0, indexOf);
                final String extensionKey = field.substring(indexOf + 1);
                return new Pair<>(indexField, extensionKey);
            }
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/primitives/IntsTest.java

      }
    
      public void testIndexOf() {
        assertThat(Ints.indexOf(EMPTY, (int) 1)).isEqualTo(-1);
        assertThat(Ints.indexOf(ARRAY1, (int) 2)).isEqualTo(-1);
        assertThat(Ints.indexOf(ARRAY234, (int) 1)).isEqualTo(-1);
        assertThat(Ints.indexOf(new int[] {(int) -1}, (int) -1)).isEqualTo(0);
        assertThat(Ints.indexOf(ARRAY234, (int) 2)).isEqualTo(0);
        assertThat(Ints.indexOf(ARRAY234, (int) 3)).isEqualTo(1);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.2K bytes
    - Viewed (0)
  6. README.md

    );
    
    suggester.indexer()
        .indexFromDocument(reader, 2, 100)  // threads=2, batch=100
        .getResponse();
    ```
    
    ### Index from Query Logs
    
    ```java
    import org.codelibs.fess.suggest.index.contents.querylog.QueryLog;
    
    // Add suggestions from search query logs
    QueryLog queryLog = new QueryLog("user search query", "user123");
    suggester.indexer().indexFromQueryLog(queryLog);
    ```
    
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sun Aug 31 03:31:14 UTC 2025
    - 12.1K bytes
    - Viewed (1)
  7. guava-tests/test/com/google/common/primitives/DoublesTest.java

        assertThat(Doubles.indexOf(ARRAY234, EMPTY)).isEqualTo(0);
        assertThat(Doubles.indexOf(EMPTY, ARRAY234)).isEqualTo(-1);
        assertThat(Doubles.indexOf(ARRAY234, ARRAY1)).isEqualTo(-1);
        assertThat(Doubles.indexOf(ARRAY1, ARRAY234)).isEqualTo(-1);
        assertThat(Doubles.indexOf(ARRAY1, ARRAY1)).isEqualTo(0);
        assertThat(Doubles.indexOf(ARRAY234, ARRAY234)).isEqualTo(0);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.9K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/ListIndexOfTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class ListIndexOfTester<E> extends AbstractListIndexOfTester<E> {
      @Override
      protected int find(Object o) {
        return getList().indexOf(o);
      }
    
      @Override
      protected String getMethodName() {
        return "indexOf";
      }
    
      @CollectionFeature.Require(absent = REJECTS_DUPLICATES_AT_CREATION)
      @CollectionSize.Require(absent = {ZERO, ONE})
      public void testIndexOf_duplicate() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  9. src/main/webapp/js/admin/popper.min.js

    (function(o){var n='';-1!==['width','height','top','right','bottom','left'].indexOf(o)&&Y(t[o])&&(n='px'),e.style[o]=t[o]+n})}function j(e,t){Object.keys(t).forEach(function(o){var n=t[o];!1===n?e.removeAttribute(o):e.setAttribute(o,t[o])})}function q(e,t){var o=e.offsets,n=o.popper,i=o.reference,r=$,p=function(e){return e},s=r(i.width),d=r(n.width),a=-1!==['left','right'].indexOf(e.placement),l=-1!==e.placement.indexOf('-'),f=t?a||l||s%2==d%2?r:Z:p,m=t?r:p;return{left:f(1==s%2&&1==d%2&&!l&&t?n....
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/UserAgentHelper.java

                    if (userAgent != null) {
                        if (userAgent.indexOf("MSIE") >= 0 || userAgent.indexOf("Trident") >= 0) {
                            uaType = UserAgentType.IE;
                        } else if (userAgent.indexOf("Firefox") >= 0) {
                            uaType = UserAgentType.FIREFOX;
                        } else if (userAgent.indexOf("Chrome") >= 0) {
                            uaType = UserAgentType.CHROME;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.5K bytes
    - Viewed (0)
Back to top