Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 109 for substring (0.04 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/JdkPrefixProfileActivator.java

                }
            }
    
            boolean reverse = false;
    
            if (jdk.startsWith("!")) {
                reverse = true;
                jdk = jdk.substring(1);
            }
    
            if (getJdkVersion().startsWith(jdk)) {
                return !reverse;
            } else {
                return reverse;
            }
        }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/PathValidator.java

            normalized = normalized.replaceAll("\\\\+", "\\\\");
    
            // Remove trailing slash unless it's the root
            if (normalized.length() > 1 && normalized.endsWith("\\")) {
                normalized = normalized.substring(0, normalized.length() - 1);
            }
    
            // Handle current directory references
            normalized = normalized.replace("\\.", "");
            normalized = normalized.replace(".\\", "");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/AbstractProjectInheritanceTestCase.java

    @Deprecated
    public abstract class AbstractProjectInheritanceTestCase extends AbstractMavenProjectTestCase {
        protected String getTestSeries() {
            String className = getClass().getPackage().getName();
    
            return className.substring(className.lastIndexOf('.') + 1);
        }
    
        protected File projectFile(String name) {
            return projectFile("maven", name);
        }
    
        protected File projectFile(String groupId, String artifactId) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Feb 08 16:25:25 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/form/FormScheme.java

                                name = s;
                                value = StringUtil.EMPTY;
                            } else {
                                name = s.substring(0, pos);
                                value = s.substring(pos + 1);
                            }
                            return new BasicNameValuePair(name, value);
                        }).collect(Collectors.toList()));
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14.3K bytes
    - Viewed (1)
  5. src/main/java/jcifs/util/InputValidator.java

            // Remove redundant slashes
            path = path.replaceAll("\\\\+", "\\\\");
    
            // Remove trailing slash unless it's root
            if (path.length() > 1 && path.endsWith("\\")) {
                path = path.substring(0, path.length() - 1);
            }
    
            return path;
        }
    
        /**
         * Validates username
         *
         * @param username the username to validate
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SID.java

            }
    
            this.revision = Byte.parseByte(st.nextToken());
            final String tmp = st.nextToken();
            long id = 0;
            if (tmp.startsWith("0x")) {
                id = Long.parseLong(tmp.substring(2), 16);
            } else {
                id = Long.parseLong(tmp);
            }
    
            this.identifier_authority = new byte[6];
            for (int i = 5; id > 0; i--) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/MavenArtifact.java

        @Override
        public String getName() {
            String name = resource.getName();
    
            if (name == null) {
                name = "";
            } else if (name.startsWith("/")) {
                name = name.substring(1);
            }
    
            return name;
        }
    
        @Override
        public String getUrl() {
            return getRepositoryUrl() + getName();
        }
    
        @Override
        public long getContentLength() {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/converter/KatakanaConverter.java

                    final String term = att.toString();
                    final int pos = inputStr.indexOf(term, offset);
                    if (pos > 0) {
                        final String tmp = inputStr.substring(offset, pos);
                        kanaBuf.append(transliterator.transliterate(tmp));
                        offset = pos;
                    } else if (pos == -1) {
                        continue;
                    }
    
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/project/ClasspathArtifactResolver.java

                results.add(result);
    
                Artifact artifact = request.getArtifact();
                if ("maven-test".equals(artifact.getGroupId())) {
                    String scope = artifact.getArtifactId().substring("scope-".length());
    
                    try {
                        artifact = artifact.setFile(ProjectClasspathTestType.getFileForClasspathResource(
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/http/NtlmSsp.java

            String msg = req.getHeader("Authorization");
            if (msg != null && msg.startsWith("NTLM ")) {
                final byte[] src = Base64.decode(msg.substring(5));
                if (src[8] == 1) {
                    final Type1Message type1 = new Type1Message(src);
                    final Type2Message type2 = new Type2Message(tc, type1, challenge, null);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.9K bytes
    - Viewed (0)
Back to top