Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 795 for indexIn (0.05 sec)

  1. src/main/java/org/codelibs/core/convert/TimeConversionUtil.java

                    buf.append(ch);
                }
            }
            if (buf.indexOf("HH") == -1) {
                final int pos = buf.indexOf("H");
                if (pos != -1) {
                    buf.replace(pos, pos + 1, "HH");
                }
            }
            if (buf.indexOf("mm") == -1) {
                final int pos = buf.indexOf("m");
                if (pos != -1) {
                    buf.replace(pos, pos + 1, "mm");
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/primitives/Chars.java

      }
    
      /**
       * Returns the index of the first appearance of the value {@code target} in {@code array}.
       *
       * @param array an array of {@code char} values, possibly empty
       * @param target a primitive {@code char} value
       * @return the least index {@code i} for which {@code array[i] == target}, or {@code -1} if no
       *     such index exists.
       */
      public static int indexOf(char[] array, char target) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/primitives/Floats.java

       */
      public static int indexOf(float[] array, float target) {
        return indexOf(array, target, 0, array.length);
      }
    
      // TODO(kevinb): consider making this public
      private static int indexOf(float[] array, float target, int start, int end) {
        for (int i = start; i < end; i++) {
          if (array[i] == target) {
            return i;
          }
        }
        return -1;
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/Ints.java

      }
    
      /**
       * Returns the index of the first appearance of the value {@code target} in {@code array}.
       *
       * @param array an array of {@code int} values, possibly empty
       * @param target a primitive {@code int} value
       * @return the least index {@code i} for which {@code array[i] == target}, or {@code -1} if no
       *     such index exists.
       */
      public static int indexOf(int[] array, int target) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/idn/IdnaMappingTable.kt

      }
    }
    
    internal fun String.read14BitInt(index: Int): Int {
      val b0 = this[index].code
      val b1 = this[index + 1].code
      return (b0 shl 7) + b1
    }
    
    /**
     * An extremely generic binary search that doesn't know what data it's searching over. The caller
     * provides indexes and a comparison function, and this calls that function iteratively.
     *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/primitives/Doubles.java

       */
      public static int indexOf(double[] array, double target) {
        return indexOf(array, target, 0, array.length);
      }
    
      // TODO(kevinb): consider making this public
      private static int indexOf(double[] array, double target, int start, int end) {
        for (int i = start; i < end; i++) {
          if (array[i] == target) {
            return i;
          }
        }
        return -1;
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableList.java

        }
    
        @Override
        public int indexOf(@Nullable Object object) {
          int index = forwardList.lastIndexOf(object);
          return (index >= 0) ? reverseIndex(index) : -1;
        }
    
        @Override
        public int lastIndexOf(@Nullable Object object) {
          int index = forwardList.indexOf(object);
          return (index >= 0) ? reverseIndex(index) : -1;
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.5K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/ListIndexOfTester.java

        array[getNumElements() / 2] = e0();
        collection = getSubjectGenerator().create(array);
        assertEquals(
            "indexOf(duplicate) should return index of first occurrence", 0, getList().indexOf(e0()));
      }
    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. android/guava-testlib/src/com/google/common/collect/testing/testers/ListIndexOfTester.java

        array[getNumElements() / 2] = e0();
        collection = getSubjectGenerator().create(array);
        assertEquals(
            "indexOf(duplicate) should return index of first occurrence", 0, getList().indexOf(e0()));
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/misc/LocaleUtil.java

            if (localeStr != null) {
                final int index = localeStr.indexOf('_');
                if (index < 0) {
                    locale = new Locale(localeStr);
                } else {
                    final String language = localeStr.substring(0, index);
                    final String country = localeStr.substring(index + 1);
                    locale = new Locale(language, country);
                }
            }
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.2K bytes
    - Viewed (0)
Back to top