Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 529 for indexOf (0.05 sec)

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

        assertThat(Bytes.indexOf(ARRAY1, ARRAY1)).isEqualTo(0);
        assertThat(Bytes.indexOf(ARRAY234, ARRAY234)).isEqualTo(0);
        assertThat(Bytes.indexOf(ARRAY234, new byte[] {(byte) 2, (byte) 3})).isEqualTo(0);
        assertThat(Bytes.indexOf(ARRAY234, new byte[] {(byte) 3, (byte) 4})).isEqualTo(1);
        assertThat(Bytes.indexOf(ARRAY234, new byte[] {(byte) 3})).isEqualTo(1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/MapReplaceAllTester.java

                (K k, V v) -> {
                  int index = keys().asList().indexOf(k);
                  return values().asList().get(index + 1);
                });
        List<Entry<K, V>> expectedEntries = new ArrayList<>();
        for (Entry<K, V> entry : getSampleEntries()) {
          int index = keys().asList().indexOf(entry.getKey());
          expectedEntries.add(Helpers.mapEntry(entry.getKey(), values().asList().get(index + 1)));
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. 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 Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/BytesTest.java

        assertThat(Bytes.indexOf(ARRAY1, ARRAY1)).isEqualTo(0);
        assertThat(Bytes.indexOf(ARRAY234, ARRAY234)).isEqualTo(0);
        assertThat(Bytes.indexOf(ARRAY234, new byte[] {(byte) 2, (byte) 3})).isEqualTo(0);
        assertThat(Bytes.indexOf(ARRAY234, new byte[] {(byte) 3, (byte) 4})).isEqualTo(1);
        assertThat(Bytes.indexOf(ARRAY234, new byte[] {(byte) 3})).isEqualTo(1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  5. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

        assertThat(Doubles.indexOf(EMPTY, (double) 1)).isEqualTo(-1);
        assertThat(Doubles.indexOf(ARRAY1, (double) 2)).isEqualTo(-1);
        assertThat(Doubles.indexOf(ARRAY234, (double) 1)).isEqualTo(-1);
        assertThat(Doubles.indexOf(new double[] {(double) -1}, (double) -1)).isEqualTo(0);
        assertThat(Doubles.indexOf(ARRAY234, (double) 2)).isEqualTo(0);
        assertThat(Doubles.indexOf(ARRAY234, (double) 3)).isEqualTo(1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  7. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  8. 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 Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

        assertThat(Floats.indexOf(EMPTY, EMPTY)).isEqualTo(0);
        assertThat(Floats.indexOf(ARRAY234, EMPTY)).isEqualTo(0);
        assertThat(Floats.indexOf(EMPTY, ARRAY234)).isEqualTo(-1);
        assertThat(Floats.indexOf(ARRAY234, ARRAY1)).isEqualTo(-1);
        assertThat(Floats.indexOf(ARRAY1, ARRAY234)).isEqualTo(-1);
        assertThat(Floats.indexOf(ARRAY1, ARRAY1)).isEqualTo(0);
        assertThat(Floats.indexOf(ARRAY234, ARRAY234)).isEqualTo(0);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/primitives/DoublesTest.java

        assertThat(Doubles.indexOf(EMPTY, (double) 1)).isEqualTo(-1);
        assertThat(Doubles.indexOf(ARRAY1, (double) 2)).isEqualTo(-1);
        assertThat(Doubles.indexOf(ARRAY234, (double) 1)).isEqualTo(-1);
        assertThat(Doubles.indexOf(new double[] {(double) -1}, (double) -1)).isEqualTo(0);
        assertThat(Doubles.indexOf(ARRAY234, (double) 2)).isEqualTo(0);
        assertThat(Doubles.indexOf(ARRAY234, (double) 3)).isEqualTo(1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 32.2K bytes
    - Viewed (0)
Back to top