Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,038 for indexIn (0.03 sec)

  1. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  2. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 22 18:14:49 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/http/NtlmServlet.java

                    int index = auth.indexOf(':');
                    String user = index != -1 ? auth.substring(0, index) : auth;
                    final String password = index != -1 ? auth.substring(index + 1) : "";
                    index = user.indexOf('\\');
                    if (index == -1) {
                        index = user.indexOf('/');
                    }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  4. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 22 18:14:49 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/http/NtlmHttpFilter.java

                    int index = auth.indexOf(':');
                    String user = index != -1 ? auth.substring(0, index) : auth;
                    final String password = index != -1 ? auth.substring(index + 1) : "";
                    index = user.indexOf('\\');
                    if (index == -1) {
                        index = user.indexOf('/');
                    }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequestTest.java

                    new String[] { SuggestConstants.DEFAULT_ROLE }, new String[] { "en" }, SuggestItem.Kind.QUERY);
    
            suggester.indexer().index(items);
            suggester.refresh();
    
            PopularWordsResponse response = suggester.popularWords().setSize(10).addLanguage("en").execute().getResponse();
    
            assertNotNull(response);
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/Longs.java

      }
    
      /**
       * Returns the index of the first appearance of the value {@code target} in {@code array}.
       *
       * @param array an array of {@code long} values, possibly empty
       * @param target a primitive {@code long} 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(long[] array, long target) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 22 18:14:49 UTC 2025
    - 29K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ForwardingListTest.java

        }
    
        @Override
        public boolean addAll(Collection<? extends T> collection) {
          return standardAddAll(collection);
        }
    
        @Override
        public boolean addAll(int index, Collection<? extends T> elements) {
          return standardAddAll(index, elements);
        }
    
        @Override
        public void clear() {
          standardClear();
        }
    
        @Override
        public boolean contains(Object object) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6K bytes
    - Viewed (0)
  9. 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: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java

        assertEquals(0, copy.indexOf(list.get(0)));
        assertEquals(0, head.indexOf(list.get(0)));
        assertEquals(0, tail.indexOf(list.get(1)));
        // The following assumes all elements are distinct.
        assertEquals(size - 1, copy.indexOf(list.get(size - 1)));
        assertEquals(size - 2, head.indexOf(list.get(size - 2)));
        assertEquals(size - 2, tail.indexOf(list.get(size - 1)));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 13.5K bytes
    - Viewed (0)
Back to top