Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 325 for substring (0.1 sec)

  1. src/main/java/org/codelibs/core/io/ClassTraversalUtil.java

                    final String className = entryName.substring(startPos, entryName.length() - CLASS_SUFFIX.length()).replace('/', '.');
                    final int pos = className.lastIndexOf('.');
                    final String packageName = pos == -1 ? null : className.substring(0, pos);
                    final String shortClassName = pos == -1 ? className : className.substring(pos + 1);
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/misc/LocaleUtil.java

                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);
                }
            }
            return locale;
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/Utils.java

            final int length = str.length();
            if (length > 1
                    && str.startsWith("\"")
                    && str.endsWith("\"")
                    && str.substring(1, length - 1).indexOf('"') == -1) {
                str = str.substring(1, length - 1);
            }
            return str;
        }
    
        @Nonnull
        public static Path getCanonicalPath(Path path) {
            requireNonNull(path, "path");
            try {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

                if (ci > 0) {
                    domain = username.substring(ci + 1);
                    username = username.substring(0, ci);
                } else {
                    ci = username.indexOf('\\');
                    if (ci > 0) {
                        domain = username.substring(0, ci);
                        username = username.substring(ci + 1);
                    }
                }
            }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 22.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/dcerpc/DcerpcHandle.java

                    }
                    break;
                case 5:
                    if ( ch == '=' ) {
                        key = str.substring(mark, si).trim();
                        mark = si + 1;
                    }
                    else if ( ch == ',' || ch == ']' ) {
                        String val = str.substring(mark, si).trim();
                        mark = si + 1;
                        if ( key == null )
                            key = "endpoint";
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jun 30 10:11:57 UTC 2019
    - 12.9K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/project/path/DefaultPathTranslator.java

                if (basedirExpr != null) {
                    if (s.length() > basedirExpr.length()) {
                        // Take out basedir expression and the leading slash
                        s = chopLeadingFileSeparator(s.substring(basedirExpr.length()));
                    } else {
                        s = ".";
                    }
                }
            }
    
            return s;
        }
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultUrlNormalizer.java

                        result = result.substring(3);
                        continue;
                    }
                    int parent = idx - 1;
                    while (parent >= 0 && result.charAt(parent) == '/') {
                        parent--;
                    }
                    parent = result.lastIndexOf('/', parent);
                    if (parent < 0) {
                        result = result.substring(idx + 4);
                    } else {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java

                    if (pos + 2 < decoded.length()) {
                        String hexStr = decoded.substring(pos + 1, pos + 3);
                        char ch = (char) Integer.parseInt(hexStr, 16);
                        decoded = decoded.substring(0, pos) + ch + decoded.substring(pos + 3);
                    }
                }
            }
            return decoded;
        }
    
        public int hashCode() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11K bytes
    - Viewed (0)
  9. guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/Platform.java

          if (placeholderStart == -1) {
            break;
          }
          builder.append(template.substring(templateStart, placeholderStart));
          builder.append(args[i++]);
          templateStart = placeholderStart + 2;
        }
        builder.append(template.substring(templateStart));
    
        // if we run out of placeholders, append the extra args in square braces
        if (i < args.length) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/filter/EncodingFilter.java

                        locationBuf.append(contextPath);
                    }
                    locationBuf.append('/');
                    locationBuf.append(servletPath.substring(path.length()));
                    boolean append = false;
                    final Map<String, String[]> parameterMap = new HashMap<>(req.getParameterMap());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 6.9K bytes
    - Viewed (0)
Back to top