Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 1,627 for indexOf (0.15 sec)

  1. android/guava-tests/test/com/google/common/collect/ListsTest.java

        assertEquals(0, actual.indexOf(list(1, 3)));
        assertEquals(1, actual.indexOf(list(1, 4)));
        assertEquals(2, actual.indexOf(list(2, 3)));
        assertEquals(3, actual.indexOf(list(2, 4)));
        assertEquals(-1, actual.indexOf(list(3, 1)));
    
        assertEquals(-1, actual.indexOf(list(1)));
        assertEquals(-1, actual.indexOf(list(1, 1, 1)));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ListsTest.java

        assertEquals(0, actual.indexOf(list(1, 3)));
        assertEquals(1, actual.indexOf(list(1, 4)));
        assertEquals(2, actual.indexOf(list(2, 3)));
        assertEquals(3, actual.indexOf(list(2, 4)));
        assertEquals(-1, actual.indexOf(list(3, 1)));
    
        assertEquals(-1, actual.indexOf(list(1)));
        assertEquals(-1, actual.indexOf(list(1, 1, 1)));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35K bytes
    - Viewed (0)
  3. src/main/webapp/js/search.js

        buf.push("/go/?rt=");
        buf.push(rt);
        buf.push("&docId=");
        buf.push(docId);
        buf.push("&queryId=");
        buf.push(queryId);
        buf.push("&order=");
        buf.push(order);
    
        hashIndex = url.indexOf("#");
        if (hashIndex >= 0) {
          hashStr = url.substring(hashIndex);
          buf.push("&hash=");
          buf.push(encodeURIComponent(hashStr));
        }
    
        $(this).attr("href", buf.join(""));
      });
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Mar 30 05:45:24 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/lang/StringUtil.java

                return null;
            }
            final StringBuilder buf = new StringBuilder(100);
            int pos = 0;
            int pos2 = 0;
            while (true) {
                pos = text.indexOf(fromText, pos2);
                if (pos == 0) {
                    buf.append(toText);
                    pos2 = fromText.length();
                } else if (pos > 0) {
                    buf.append(text.substring(pos2, pos));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  5. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java

            // role does not vary for Mojos.
            List<MojoDescriptor> mojos = getMojos();
    
            if (mojos != null && mojos.contains(mojoDescriptor)) {
                int indexOf = mojos.indexOf(mojoDescriptor);
    
                existing = mojos.get(indexOf);
            }
    
            if (existing != null) {
                throw new DuplicateMojoDescriptorException(
                        getGoalPrefix(),
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/LinkedHashMultisetTest.java

            List<String> order = Lists.newArrayList();
            for (String s : insertionOrder) {
              int index = order.indexOf(s);
              if (index == -1) {
                order.add(s);
              } else {
                order.add(index, s);
              }
            }
            return order;
          }
        };
      }
    
      public void testCreate() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/http/NetworkExplorer.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) : defaultDomain;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 22 03:57:31 UTC 2020
    - 19.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/util/QueryStringBuilder.java

            String q = query;
            for (final String s : ComponentUtil.getFessConfig().getCrawlerDocumentSpaces()) {
                q = q.replace(s, SPACE);
            }
            final boolean exists = q.indexOf(OR) != -1 || q.indexOf(OR_ALT) != -1;
            queryBuf.append(' ');
            if (exists) {
                queryBuf.append('(');
            }
            queryBuf.append(query);
            if (exists) {
                queryBuf.append(')');
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/base/login/AzureAdCredential.java

                    permissionSet.add(systemHelper.getSearchRoleByUser(displayableId));
                    if (ComponentUtil.getFessConfig().isAzureAdUseDomainServices() && displayableId.indexOf('@') >= 0) {
                        final String[] values = displayableId.split("@");
                        if (values.length > 1) {
                            permissionSet.add(systemHelper.getSearchRoleByUser(values[0]));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/platform/android/AndroidLog.kt

          // Split by line, then ensure each line can fit into Log's maximum length.
          var i = 0
          val length = logMessage.length
          while (i < length) {
            var newline = logMessage.indexOf('\n', i)
            newline = if (newline != -1) newline else length
            do {
              val end = minOf(newline, i + MAX_LOG_LENGTH)
              Log.println(logLevel, tag, logMessage.substring(i, end))
              i = end
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top