Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 273 for SUBSTRING (0.04 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt

        // Silently replace web socket URLs with HTTP URLs.
        private fun canonicalUrl(url: String) =
          when {
            url.startsWith("ws:", ignoreCase = true) -> "http:${url.substring(3)}"
            url.startsWith("wss:", ignoreCase = true) -> "https:${url.substring(4)}"
            else -> url
          }
    
        /**
         * Sets the URL target of this request.
         *
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Oct 30 13:46:58 UTC 2025
    - 14.7K bytes
    - Viewed (1)
  2. src/test/java/jcifs/http/NtlmSspTest.java

            assertNotNull(headerValue, "WWW-Authenticate header should be set");
            assertEquals("NTLM ", headerValue.substring(0, 5), "Header should start with 'NTLM '");
    
            // Decode the returned Type 2 message and check its signature and type
            byte[] type2Bytes = Base64.getDecoder().decode(headerValue.substring(5));
            assertEquals('N', (char) type2Bytes[0]);
            assertEquals('T', (char) type2Bytes[1]);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.4K bytes
    - Viewed (1)
  3. src/main/java/org/codelibs/fess/helper/ThemeHelper.java

         * @return the theme name
         * @throws ThemeException if theme name cannot be determined
         */
        protected String getThemeName(final Artifact artifact) {
            final String themeName = artifact.getName().substring(ArtifactType.THEME.getId().length() + 1);
            if (StringUtil.isBlank(themeName)) {
                throw new ThemeException("Theme name is empty: " + artifact);
            }
            return themeName;
        }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/JdkVersionProfileActivator.java

                        .setLocation(activation.getLocation("jdk")));
                return false;
            }
    
            if (jdk.startsWith("!")) {
                return !version.startsWith(jdk.substring(1));
            } else if (isRange(jdk)) {
                try {
                    return isInRange(version, getRange(jdk));
                } catch (NumberFormatException e) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/PathMappingHelper.java

            }
            if (!replacement.startsWith(GROOVY_MATCHER)) {
                return (u, m) -> m.replaceAll(replacement);
            }
            final String template = replacement.substring(GROOVY_MATCHER.length());
            return (u, m) -> {
                final Map<String, Object> paramMap = new HashMap<>();
                paramMap.put("url", u);
                paramMap.put("matcher", m);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/text/Tokenizer.java

        }
    
        /**
         * Returns the string that has already been read.
         *
         * @return The string that has already been read.
         */
        public String getReadString() {
            return str.substring(0, colno - 1);
        }
    
        private int read() {
            if (colno >= str.length()) {
                return -1;
            }
            return str.charAt(colno++);
        }
    
        private void initVal() {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/OkHostnameVerifier.kt

          return false // Wildcard pattern for single-label domain name -- not permitted.
        }
    
        // Hostname must end with the region of pattern following the asterisk.
        val suffix = pattern.substring(1)
        if (!hostname.endsWith(suffix)) {
          return false // Hostname does not end with the suffix.
        }
    
        // Check that asterisk did not match across domain name labels.
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/net/InternetDomainName.java

        // clipped part to get the length of the leading substring that is being removed.
        int substringFrom = levels;
        for (int i = 0; i < levels; i++) {
          substringFrom += parts.get(i).length();
        }
        String ancestorName = name.substring(substringFrom);
    
        return new InternetDomainName(ancestorName, ancestorParts);
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.9K bytes
    - Viewed (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/props/MavenProperties.java

                    boolean combine = checkCombineLines(line);
                    if (combine) {
                        line = line.substring(0, line.length() - 1);
                    }
                    valueLines.add(line);
                    while (!line.isEmpty() && contains(WHITE_SPACE, line.charAt(0))) {
                        line = line.substring(1, line.length());
                    }
                    buffer.append(line);
                    if (!combine) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Oct 16 09:03:48 UTC 2025
    - 38.5K bytes
    - Viewed (0)
  10. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

                    boolean combine = checkCombineLines(line);
                    if (combine) {
                        line = line.substring(0, line.length() - 1);
                    }
                    valueLines.add(line);
                    while (!line.isEmpty() && contains(WHITE_SPACE, line.charAt(0))) {
                        line = line.substring(1, line.length());
                    }
                    buffer.append(line);
                    if (!combine) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 38.4K bytes
    - Viewed (0)
Back to top