Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 201 - 210 of 331 for SUBSTRING (0.06 seconds)

  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.
         *
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Oct 30 13:46:58 GMT 2025
    - 14.7K bytes
    - Click Count (1)
  2. 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) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessActionAdjustmentProvider.java

            if (StringUtil.isBlank(virtualHostKey)) {
                return null;
            }
            final String prefix = "/" + virtualHostKey;
            if (requestPath.startsWith(prefix)) {
                return requestPath.substring(prefix.length());
            }
            return null;
        }
    
        @Override
        public String toString() {
            return DfTypeUtil.toClassTitle(this) + ":{}";
        }
    
        @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb1/http/NtlmSsp.java

                final byte[] challenge) throws IOException, ServletException {
            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(type1, challenge, null);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/core/io/TraversalUtil.java

                        final URL warUrl = URLUtil.create(zipUrl, "../..");
                        final String path = warUrl.getPath();
                        zipUrl = FileUtil.toURL(new File(path.substring(0, path.length() - 1)));
                        prefix = zipUrlString.substring(warUrl.toExternalForm().length());
                        loadFromZip(zipUrl);
                    }
                }
    
                this.rootPackage = rootPackage;
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 18.6K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/core/lang/ClassUtil.java

            final String[] ret = new String[2];
            final int i = className.lastIndexOf('.');
            if (i > 0) {
                ret[0] = className.substring(0, i);
                ret[1] = className.substring(i + 1);
            } else {
                ret[1] = className;
            }
            return ret;
        }
    
        /**
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 25.6K bytes
    - Click Count (0)
  7. 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--) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 16K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/helper/CrawlingConfigHelper.java

         */
        public ConfigType getConfigType(final String configId) {
            if (configId == null || configId.length() < 2) {
                return null;
            }
            final String configType = configId.substring(0, 1);
            if (ConfigType.WEB.getTypePrefix().equals(configType)) {
                return ConfigType.WEB;
            }
            if (ConfigType.FILE.getTypePrefix().equals(configType)) {
                return ConfigType.FILE;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 19.5K bytes
    - Click Count (1)
  9. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/MethodsRemovedInInternalSuperClassRule.groovy

         * Returns method parameters from method signature, e.g. "(Ljava/lang/String;I)V" -> "(Ljava/lang/String;I)"
         */
        private static String methodParametersFromSignature(CtMethod method) {
            return method.signature.substring(0, method.signature.indexOf(")") + 1)
        }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 24 14:15:15 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  10. 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]);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 11.4K bytes
    - Click Count (1)
Back to Top