Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 331 for SUBSTRING (0.06 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/StatusLine.kt

          // Parse response code like "200". Always 3 digits.
          if (statusLine.length < codeStart + 3) {
            throw ProtocolException("Unexpected status line: $statusLine")
          }
          val code =
            statusLine.substring(codeStart, codeStart + 3).toIntOrNull()
              ?: throw ProtocolException(
                "Unexpected status line: $statusLine",
              )
    
          // Parse an optional response message like "OK" or "Not Modified". If it
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

                if (ci > 0) {
                    domain = username.substring(ci + 1);
                    username = username.substring(0, ci);
                } else {
                    ci = username.indexOf('\\');
                    if (ci > 0) {
                        domain = username.substring(0, ci);
                        username = username.substring(ci + 1);
                    }
                }
            }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 26.7K bytes
    - Click Count (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/UserGuideTransformTask.groovy

                } else if (style == "javadoc") {
                    def base = javadocUrl.get()
                    def packageName = classMetaData.packageName
                    href = "$base/${packageName.replace('.', '/')}/${className.substring(packageName.length()+1)}.html"
                } else {
                    throw new InvalidUserDataException("Unknown api link style '$style'.")
                }
    
                if (linkMetaData.urlFragment) {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri May 16 07:58:02 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/ldap/LdapUser.java

                    .map(s -> s.substring(1))
                    .toArray(n -> new String[n]));
        }
    
        @Override
        public String[] getGroupNames() {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            return stream(getPermissions()).get(stream -> stream.filter(s -> s.startsWith(fessConfig.getRoleSearchGroupPrefix()))
                    .map(s -> s.substring(1))
                    .toArray(n -> new String[n]));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/PropertyProfileActivator.java

            }
    
            String name = property.getName();
            boolean reverseName = false;
    
            if (name != null && name.startsWith("!")) {
                reverseName = true;
                name = name.substring(1);
            }
    
            if (name == null || name.length() <= 0) {
                problems.add(new ModelProblemCollectorRequest(Severity.ERROR, Version.BASE)
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  6. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

                        index = i;
                        break;
                    }
                }
    
                stringPart = new StringItem(value.substring(0, index), true);
                digitPart = parseItem(true, value.substring(index));
            }
    
            @Override
            public int compareTo(Item item) {
                if (item == null) {
                    // 1-rc1 < 1, 1-ga1 > 1
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 26.4K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/core/message/MessageFormatter.java

                return null;
            }
    
            final int length = messageCode.length();
            if (length > CODE_NUMBER_LENGTH) {
                final String key = messageCode.charAt(0) + messageCode.substring(length - CODE_NUMBER_LENGTH);
                final String pattern = ResourceBundleUtil.getString(resourceBundle, key);
                if (pattern != null) {
                    return pattern;
                }
            }
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  8. src/main/java/jcifs/dcerpc/DcerpcHandle.java

                    break;
                case 5:
                    if (ch == '=') {
                        key = str.substring(mark, si).trim();
                        mark = si + 1;
                    } else if (ch == ',' || ch == ']') {
                        final String val = str.substring(mark, si).trim();
                        mark = si + 1;
                        if (key == null) {
                            key = "endpoint";
                        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/net/HostAndPort.java

          if (colonPos >= 0 && hostPortString.indexOf(':', colonPos + 1) == -1) {
            // Exactly 1 colon. Split into host:port.
            host = hostPortString.substring(0, colonPos);
            portString = hostPortString.substring(colonPos + 1);
          } else {
            // 0 or 2+ colons. Bare hostname or IPv6 literal.
            host = hostPortString;
            hasBracketlessColons = colonPos >= 0;
          }
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 11.1K bytes
    - Click Count (0)
  10. .teamcity/scripts/CheckWrapper.java

            int idx = distributionUrl.indexOf('=');
            if (idx < 0) {
                throw new IllegalStateException("Malformed distributionUrl line: " + distributionUrl);
            }
            String url = distributionUrl.substring(idx + 1).trim();
    
            Matcher m = WRAPPER_VERSION_EXTRACT.matcher(url);
            if (!m.matches()) {
                throw new IllegalStateException("Could not extract wrapper version from distributionUrl: " + url);
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Jan 20 03:53:25 GMT 2026
    - 6.4K bytes
    - Click Count (0)
Back to Top