Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 821 for indexOf (0.26 sec)

  1. 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;
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  2. 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);
                }
            }
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.9K 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(""));
      });
    
    JavaScript
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Mar 30 05:45:24 GMT 2023
    - 7.5K bytes
    - Viewed (1)
  4. okhttp/src/main/kotlin/okhttp3/internal/idn/Punycode.kt

       * limits.
       */
      fun encode(string: String): String? {
        var pos = 0
        val limit = string.length
        val result = Buffer()
    
        while (pos < limit) {
          var dot = string.indexOf('.', startIndex = pos)
          if (dot == -1) dot = limit
    
          if (!encodeLabel(string, pos, dot, result)) {
            // If we couldn't encode the label, give up.
            return null
          }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 03 03:04:50 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  5. 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(')');
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 8.7K 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() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  7. guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/Platform.java

        StringBuilder builder = new StringBuilder(template.length() + 16 * args.length);
        int templateStart = 0;
        int i = 0;
        while (i < args.length) {
          int placeholderStart = template.indexOf("%s", templateStart);
          if (placeholderStart == -1) {
            break;
          }
          builder.append(template.substring(templateStart, placeholderStart));
          builder.append(args[i++]);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 2.1K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/StaxLocation.java

        }
    
        public static String getMessage(Exception e) {
            String message = e.getMessage();
            if (e instanceof XMLStreamException xe && xe.getLocation() != null) {
                int idx = message.indexOf("\nMessage: ");
                if (idx >= 0) {
                    return message.substring(idx + "\nMessage: ".length());
                }
            }
            return message;
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  9. maven-artifact/src/main/java/org/apache/maven/artifact/versioning/DefaultArtifactVersion.java

            comparable = new ComparableVersion(version);
    
            int index = version.indexOf('-');
    
            String part1;
            String part2 = null;
    
            if (index < 0) {
                part1 = version;
            } else {
                part1 = version.substring(0, index);
                part2 = version.substring(index + 1);
            }
    
            if (part2 != null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Nov 17 15:50:51 GMT 2023
    - 6K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultUrlNormalizer.java

        @Override
        public String normalize(String url) {
            String result = url;
    
            if (result != null) {
                while (true) {
                    int idx = result.indexOf("/../");
                    if (idx < 0) {
                        break;
                    } else if (idx == 0) {
                        result = result.substring(3);
                        continue;
                    }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.9K bytes
    - Viewed (0)
Back to top