Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 340 for indexFor (0.13 seconds)

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

      public void testIndexOf() {
        assertThat(Shorts.indexOf(EMPTY, (short) 1)).isEqualTo(-1);
        assertThat(Shorts.indexOf(ARRAY1, (short) 2)).isEqualTo(-1);
        assertThat(Shorts.indexOf(ARRAY234, (short) 1)).isEqualTo(-1);
        assertThat(Shorts.indexOf(new short[] {(short) -1}, (short) -1)).isEqualTo(0);
        assertThat(Shorts.indexOf(ARRAY234, (short) 2)).isEqualTo(0);
        assertThat(Shorts.indexOf(ARRAY234, (short) 3)).isEqualTo(1);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 27.6K bytes
    - Click Count (0)
  2. android/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);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 29.4K bytes
    - Click Count (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/MapReplaceAllTester.java

        getMap()
            .replaceAll(
                (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(mapEntry(entry.getKey(), values().asList().get(index + 1)));
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 4.4K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/primitives/BooleansTest.java

      }
    
      public void testIndexOf() {
        assertThat(Booleans.indexOf(EMPTY, ARRAY_FALSE)).isEqualTo(-1);
        assertThat(Booleans.indexOf(ARRAY_FALSE, ARRAY_FALSE_TRUE)).isEqualTo(-1);
        assertThat(Booleans.indexOf(ARRAY_FALSE_FALSE, ARRAY_FALSE)).isEqualTo(0);
        assertThat(Booleans.indexOf(ARRAY_FALSE, ARRAY_FALSE)).isEqualTo(0);
        assertThat(Booleans.indexOf(ARRAY_FALSE_TRUE, ARRAY_FALSE)).isEqualTo(0);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 25.3K bytes
    - Click Count (0)
  5. 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;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  6. 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....
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Oct 26 01:49:09 GMT 2024
    - 20.7K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

                suggester.indexer().addBadWord(word, apply);
            }
            refresh();
        }
    
        /**
         * Adds a bad word to the suggest index.
         *
         * @param badWord The bad word to add.
         * @param apply   true to apply the changes immediately.
         */
        public void addBadWord(final String badWord, final boolean apply) {
            suggester.indexer().addBadWord(badWord, apply);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 22.3K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/core/collection/ArrayUtil.java

         * @param obj
         *            the object to search for
         * @return the index of the first occurrence of the object in the array
         */
        public static <T> int indexOf(final T[] array, final T obj) {
            return indexOf(array, obj, 0);
        }
    
        /**
         * Returns the index of the first occurrence of the specified object in the array, starting the search at the specified index.
         *
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 41.5K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb1/util/Base64.java

            int block;
            int i = 0;
            int index = 0;
            while (i < length) {
                block = (ALPHABET.indexOf(string.charAt(i++)) & 0xff) << 18 | (ALPHABET.indexOf(string.charAt(i++)) & 0xff) << 12
                        | (ALPHABET.indexOf(string.charAt(i++)) & 0xff) << 6 | ALPHABET.indexOf(string.charAt(i++)) & 0xff;
                buffer[index] = (byte) (block >>> 16);
                index++;
                if (index < size) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  10. src/main/webapp/js/admin/plugins/form-validator/toggleDisabled.js

    moveAttr("disabled")},f=!1;a.formUtils.$win.bind("validatorsLoaded formValidationSetup",function(b,g,h){var i=h.disabledFormFilter?g.filter(h.disabledFormFilter):g,j=h.showErrorDialogs===c||h.showErrorDialogs,k=function(b,c,d){var e=a(this);d&&d.indexOf("blur")>-1?e.unbind("afterValidation",k):c.isValid?e.unbind("afterValidation",k):e.valAttr("have-been-blurred")||(c.shouldChangeDisplay=!1)};i.addClass(j?"disabled-with-errors":"disabled-without-errors").on("reset",function(){e(a(this),"disabled"...
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Jan 01 05:12:47 GMT 2018
    - 2.1K bytes
    - Click Count (0)
Back to Top