Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 251 - 260 of 339 for SUBSTRING (0.06 seconds)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

                    expectedChecksum = expectedChecksum.substring(lastSpacePos + 1);
                } else {
                    // remove everything after the first space (if available)
                    int spacePos = expectedChecksum.indexOf(' ');
    
                    if (spacePos != -1) {
                        expectedChecksum = expectedChecksum.substring(0, spacePos);
                    }
                }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 29.9K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt

                high = mid - 1
              } else if (labelBytesLeft > publicSuffixBytesLeft) {
                low = mid + end + 1
              } else {
                // Found a match.
                match = this.substring(mid, mid + publicSuffixLength).string(Charsets.UTF_8)
                break
              }
            }
          }
          return match
        }
    
        internal fun resetForTests() {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jul 28 07:33:49 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

                if (lastPos < 0) {
                    break;
                }
                if (pos == 0) {
                    value = " " + value.substring(lastPos + 3);
                } else {
                    value = value.substring(0, pos) + " " + value.substring(lastPos + 3);
                }
                pos = value.indexOf("<!--");
            }
            return value;
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 12 01:46:45 GMT 2026
    - 55.3K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/helper/LanguageHelper.java

         */
        protected String getDetectText(final String text) {
            final String result;
            if (text.length() <= maxTextLength) {
                result = text;
            } else {
                result = text.substring(0, maxTextLength);
            }
            return result.replaceAll("\\s+", " ");
        }
    
        /**
         * Returns the supported language for a given language.
         *
         * @param lang The language to check.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  5. apache-maven/src/assembly/maven/bin/JvmConfigParser.java

         */
        private static String processLine(String line, String mavenProjectBasedir) {
            // Remove comments
            int commentIndex = line.indexOf('#');
            if (commentIndex >= 0) {
                line = line.substring(0, commentIndex);
            }
    
            // Trim whitespace
            line = line.trim();
    
            // Replace MAVEN_PROJECTBASEDIR placeholders
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Dec 10 16:40:06 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  6. 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(
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 13.7K bytes
    - Click Count (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleJavadocsPlugin.java

                task.getInputs().dir(javadocs.getJavaPackageListLoc());
                var javaApiLink = javadocs.getJavaApi().map(URI::toString).map(v -> {
                    if (v.endsWith("/")) {
                        return v.substring(0, v.length() - 1);
                    }
                    return v;
                }).get();
                options.linksOffline(javaApiLink, javadocs.getJavaPackageListLoc().map(Directory::getAsFile).get().getAbsolutePath());
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Sun Mar 01 05:52:34 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  8. src/test/java/jcifs/netbios/SessionRequestPacketTest.java

            TestNetbiosName(String name, int type, String scope) {
                // Ensure names are uppercase and limited to 15 characters
                this.name = name != null && name.length() > 15 ? name.substring(0, 15).toUpperCase() : (name != null ? name.toUpperCase() : "");
                this.type = type;
                this.scope = scope;
            }
    
            @Override
            public String getName() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/sso/saml/SamlAuthenticator.java

            if (StringUtil.isBlank(baseUrl)) {
                baseUrl = "http://localhost:8080";
            }
            if (baseUrl.endsWith("/")) {
                baseUrl = baseUrl.substring(0, baseUrl.length() - 1);
            }
            return baseUrl + path;
        }
    
        /**
         * Gets the SAML settings.
         * @return The SAML settings.
         */
        protected Saml2Settings getSettings() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 02 03:13:33 GMT 2026
    - 20.2K bytes
    - Click Count (3)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CipherSuite.kt

          }
          return result
        }
    
        private fun secondaryName(javaName: String): String =
          when {
            javaName.startsWith("TLS_") -> "SSL_" + javaName.substring(4)
            javaName.startsWith("SSL_") -> "TLS_" + javaName.substring(4)
            else -> javaName
          }
    
        /**
         * @param javaName the name used by Java APIs for this cipher suite. Different than the IANA
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 39.9K bytes
    - Click Count (0)
Back to Top