Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 109 for substring (0.04 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/RobotsTxtHelper.java

         * @return the line without comments
         */
        protected String stripComment(final String line) {
            final int commentIndex = line.indexOf('#');
            if (commentIndex != -1) {
                return line.substring(0, commentIndex);
            }
            return line;
        }
    
        /**
         * Checks if robots.txt processing is enabled.
         * @return true if enabled, false otherwise
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java

            String name = path.getFileName().toString();
            int dot = name.lastIndexOf('.');
            String ext = dot >= 1 ? name.substring(dot + 1) : "";
            ProducedArtifact artifact = session.createProducedArtifact(
                    project.getGroupId(), project.getArtifactId(), project.getVersion(), ext);
            attachArtifact(project, artifact, path);
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jan 30 23:29:13 UTC 2025
    - 12K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SID.java

                    String server = authorityServerName;
                    final int dot = server.indexOf('.');
                    if (dot > 0 && !Character.isDigit(server.charAt(0))) {
                        server = server.substring(0, dot);
                    }
                    policyHandle = new LsaPolicyHandle(handle, "\\\\" + server, 0x00000800);
                    SID.resolveSids(handle, policyHandle, sids);
                } finally {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/netbios/Name.java

         * @param scope the NetBIOS scope identifier (uses default if null or empty)
         */
        public Name(String name, final int hexCode, final String scope) {
            if (name.length() > 15) {
                name = name.substring(0, 15);
            }
            this.name = name.toUpperCase();
            this.hexCode = hexCode;
            this.scope = scope != null && scope.length() > 0 ? scope : DEFAULT_SCOPE;
            this.srcHashCode = 0;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/EmlExtractor.java

         */
        private static String getDateString(final String text) {
            for (final String dow : DAY_OF_WEEK) {
                final int i = text.lastIndexOf(dow);
                if (i != -1) {
                    return text.substring(i);
                }
            }
            return null;
        }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/util/SecureKeyManager.java

            // Group archived keys by session
            for (String key : sessionKeys.keySet()) {
                if (key.contains(".v")) {
                    String baseSession = key.substring(0, key.indexOf(".v"));
                    sessionArchives.computeIfAbsent(baseSession, k -> new java.util.ArrayList<>()).add(key);
                }
            }
    
            // Remove old versions
            int removed = 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/netbios/Name.java

         */
        public Name(final Configuration cfg, String name, final int hexCode, final String scope) {
            this.config = cfg;
            if (name.length() > 15) {
                name = name.substring(0, 15);
            }
            this.name = name.toUpperCase();
            this.hexCode = hexCode;
            this.scope = scope != null && scope.length() > 0 ? scope : cfg.getNetbiosScope();
            this.srcHashCode = 0;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

        public void setPath(String path) {
            if (path.length() > 0 && path.charAt(0) == '\\') {
                path = path.substring(1);
            }
            // win8.1 returns ACCESS_DENIED if the trailing backslash is included
            if (path.length() > 1 && path.charAt(path.length() - 1) == '\\') {
                path = path.substring(0, path.length() - 1);
            }
            this.name = path;
        }
    
        /**
         * {@inheritDoc}
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/util/ServerResponseValidator.java

        private String sanitizeForLog(String str) {
            if (str == null) {
                return "null";
            }
    
            // Truncate long strings
            if (str.length() > 100) {
                str = str.substring(0, 100) + "...";
            }
    
            // Remove control characters
            return str.replaceAll("[\\x00-\\x1F\\x7F]", "?");
        }
    
        /**
         * Validation statistics
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

            if (!url.startsWith("file:")) {
                url = "file://" + url;
            } else if (url.startsWith("file:") && !url.startsWith("file://")) {
                url = "file://" + url.substring("file:".length());
            }
    
            // So now we have an url of the form file://<path>
    
            // We want to eliminate any relative path nonsense and lock down the path so we
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 31.2K bytes
    - Viewed (0)
Back to top