Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 282 for indexFor (0.05 sec)

  1. android/guava/src/com/google/common/primitives/Ints.java

       *     such index exists.
       */
      public static int indexOf(int[] array, int target) {
        return indexOf(array, target, 0, array.length);
      }
    
      // TODO(kevinb): consider making this public
      private static int indexOf(int[] array, int target, int start, int end) {
        for (int i = start; i < end; i++) {
          if (array[i] == target) {
            return i;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 31K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiItem.java

            return buf.toString();
        }
    
        private static String quoteEscape(final String original) {
            String result = original;
    
            if (result.indexOf('\"') >= 0) {
                result = result.replace("\"", "\"\"");
            }
            if (result.indexOf(',') >= 0) {
                return "\"" + result + "\"";
            }
            return result;
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/primitives/Bytes.java

       *     such index exists.
       */
      public static int indexOf(byte[] array, byte target) {
        return indexOf(array, target, 0, array.length);
      }
    
      // TODO(kevinb): consider making this public
      private static int indexOf(byte[] array, byte target, int start, int end) {
        for (int i = start; i < end; i++) {
          if (array[i] == target) {
            return i;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/UrlComponentEncodingTesterJvm.kt

        val uriStripped = uriStrippedCodePoints.indexOf(codePointString) != -1
        if (uriStripped) {
          if (uri.toString() != component.urlString("")) {
            fail("Encoding $component $codePoint using $encoding")
          }
          return
        }
    
        // If the URI has more escaping than the HttpURL, check that the decoded values still match.
        val uriEscaped = uriEscapedCodePoints.indexOf(codePointString) != -1
        if (uriEscaped) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  5. test-site/app/models/ContentsCreator.java

            String h = html;
            final String tag = "<a href=\"";
            int linkPos;
            while((linkPos = h.indexOf(tag)) >=0) {
                h = h.substring(linkPos + tag.length());
                final int endpos = h.indexOf('"');
                String url = h.substring(0, endpos);
                if(url.contains("#")) {
                    continue;
                }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Fri Nov 06 08:48:32 UTC 2015
    - 3.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/netbios/UniAddress.java

         * new String[] { "SRV" }
         * );
         * return name;
         * } catch (NameNotFoundException nnfe) {
         * uhe = new UnknownHostException(nnfe.getMessage());
         * }
         * int dot = name.indexOf('.');
         * if (dot == -1)
         * break;
         * name = name.substring(dot + 1);
         * }
         * } catch (NamingException ne) {
         * if (log.level > 1)
         * ne.printStackTrace(log);
         * }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/api/WebApiRequest.java

            super(request);
            this.servletPath = servletPath;
        }
    
        @Override
        public String getServletPath() {
            if (getQueryString() != null && getQueryString().indexOf("SAStruts.method") != -1) {
                return super.getServletPath();
            }
            return servletPath;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/CartesianList.java

      }
    
      private int getAxisIndexForProductIndex(int index, int axis) {
        return (index / axesSizeProduct[axis + 1]) % axes.get(axis).size();
      }
    
      @Override
      public int indexOf(@CheckForNull Object o) {
        if (!(o instanceof List)) {
          return -1;
        }
        List<?> list = (List<?>) o;
        if (list.size() != axes.size()) {
          return -1;
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/http/NtlmServlet.java

                    int index = auth.indexOf(':');
                    String user = ( index != -1 ) ? auth.substring(0, index) : auth;
                    String password = ( index != -1 ) ? auth.substring(index + 1) : "";
                    index = user.indexOf('\\');
                    if ( index == -1 )
                        index = user.indexOf('/');
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 7.6K bytes
    - Viewed (0)
  10. src/main/webapp/js/admin/popper.min.js.map

    function findIndex(arr, prop, value) {\n  // use native findIndex if supported\n  if (Array.prototype.findIndex) {\n    return arr.findIndex(cur => cur[prop] === value);\n  }\n\n  // use `find` + `indexOf` if `findIndex` isn't supported\n  const match = find(arr, obj => obj[prop] === value);\n  return arr.indexOf(match);\n}\n","import isFunction from './isFunction';\nimport findIndex from './findIndex';\nimport getClientRect from '../utils/getClientRect';\n\n/**\n * Loop trough the list of modifiers and...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 120.9K bytes
    - Viewed (0)
Back to top