Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,627 for indexOf (0.09 sec)

  1. 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)
  2. guava/src/com/google/common/collect/CartesianList.java

        }
        this.axesSizeProduct = axesSizeProduct;
      }
    
      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()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/IterablesTest.java

        assertEquals(0, Iterables.indexOf(list, equalTo("mary")));
        assertEquals(1, Iterables.indexOf(list, equalTo("bob")));
        assertEquals(-1, Iterables.indexOf(list, equalTo("jack")));
      }
    
      public void testIndexOf_withDuplicates() {
        List<String> list = Lists.newArrayList("mary", "bob", "bob", "bob", "sam");
        assertEquals(0, Iterables.indexOf(list, equalTo("mary")));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:12:33 UTC 2024
    - 45K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/conn/IdnDnsResolver.java

        public InetAddress[] resolve(final String host) throws UnknownHostException {
            return InetAddress.getAllByName(toAscii(host));
        }
    
        protected String decode(final String host) {
            if (host.indexOf('%') == -1) {
                return host;
            }
            try {
                return URLDecoder.decode(host, encoding);
            } catch (final UnsupportedEncodingException e) {
                return host;
            }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/http/NtlmHttpFilter.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('/');
                    String domain = (index != -1) ? user.substring(0, index) :
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 10.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/normalizer/HankakuKanaToZenkakuKana.java

            }
            return c;
        }
    
        public static char mergeChar(final char c1, final char c2) {
            if (c2 == '゙') {
                if ("カキクケコサシスセソタチツテトハヒフヘホ".indexOf(c1) >= 0) {
                    switch (c1) {
                    case 'カ':
                        return 'ガ';
                    case 'キ':
                        return 'ギ';
                    case 'ク':
                        return 'グ';
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/ImmutableIntArray.java

        }
    
        @Override
        public Integer get(int index) {
          return parent.get(index);
        }
    
        @Override
        public boolean contains(@CheckForNull Object target) {
          return indexOf(target) >= 0;
        }
    
        @Override
        public int indexOf(@CheckForNull Object target) {
          return target instanceof Integer ? parent.indexOf((Integer) target) : -1;
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  8. 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)
  9. src/main/java/jcifs/http/NtlmHttpURLConnection.java

                        int index = userInfo.indexOf(':');
                        user = ( index != -1 ) ? userInfo.substring(0, index) : userInfo;
                        if ( index != -1 )
                            password = userInfo.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
    - 25.5K bytes
    - Viewed (0)
  10. 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)
Back to top