Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 273 for SUBSTRING (0.38 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java

                for (String repo : repos) {
                    // see if this is a negative match
                    if (repo.length() > 1 && repo.startsWith("!")) {
                        if (repo.substring(1).equals(originalId)) {
                            // explicitly exclude. Set result and stop processing.
                            result = false;
                            break;
                        }
                    }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 33.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/Files.java

        // put it back together
        String result = Joiner.on('/').join(path);
        if (pathname.charAt(0) == '/') {
          result = "/" + result;
        }
    
        while (result.startsWith("/../")) {
          result = result.substring(3);
        }
        if (result.equals("/..")) {
          result = "/";
        } else if (result.isEmpty()) {
          result = ".";
        }
    
        return result;
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 25 20:24:13 UTC 2025
    - 32.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/io/Files.java

        // put it back together
        String result = Joiner.on('/').join(path);
        if (pathname.charAt(0) == '/') {
          result = "/" + result;
        }
    
        while (result.startsWith("/../")) {
          result = result.substring(3);
        }
        if (result.equals("/..")) {
          result = "/";
        } else if (result.isEmpty()) {
          result = ".";
        }
    
        return result;
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 25 20:24:13 UTC 2025
    - 32.8K 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  5. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/relocation/UserPropertiesArtifactRelocationSource.java

        }
    
        private static boolean matches(String pattern, String str) {
            if (isAny(pattern)) {
                return true;
            } else if (pattern.endsWith("*")) {
                return str.startsWith(pattern.substring(0, pattern.length() - 1));
            } else {
                return Objects.equals(pattern, str);
            }
        }
    
        private static Predicate<Artifact> artifactPredicate(Artifact artifact) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Oct 16 06:12:36 UTC 2025
    - 9K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleMappingDelegate.java

                    passed = true;
                } else if (passed) {
                    if (phase.startsWith(org.apache.maven.api.Lifecycle.AFTER)) {
                        String realPhase = phase.substring(org.apache.maven.api.Lifecycle.AFTER.length());
                        include = mappings.containsKey(org.apache.maven.api.Lifecycle.BEFORE + realPhase);
                    } else {
                        include = false;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Dec 13 23:04:37 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java

         */
        public String getCanonicalSessionId(final String sessionId) {
            final int idx = sessionId.indexOf('-');
            if (idx >= 0) {
                return sessionId.substring(0, idx);
            }
            return sessionId;
        }
    
        /**
         * Stores crawling information and parameters for the specified session.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  8. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.5K bytes
    - Viewed (0)
  9. 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: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Fri Nov 14 12:52:01 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  10. compat/maven-repository-metadata/src/test/java/org/apache/maven/artifact/repository/metadata/MetadataTest.java

            String version = artifact.getVersion();
            String qualifier = formatDate(timestamp, true) + '-' + buildNumber;
            version = version.substring(0, version.length() - SNAPSHOT.length()) + qualifier;
            return addSnapshotVersion(versioning, artifact.getExtension(), timestamp, version, buildNumber);
        }
    
        private static SnapshotVersion addSnapshotVersion(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.7K bytes
    - Viewed (0)
Back to top