Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 402 for shastring (0.06 seconds)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/ArtifactMetadata.java

            if (ind1 == -1 || ind2 == -1) {
                return;
            }
    
            this.groupId = name.substring(0, ind1);
            if (ind1 == ind2) {
                this.artifactId = name.substring(ind1 + 1);
            } else {
                this.artifactId = name.substring(ind1 + 1, ind2);
                this.version = name.substring(ind2 + 1);
            }
        }
    
        public ArtifactMetadata(String groupId, String name, String version) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun Mar 30 23:08:36 GMT 2025
    - 8K bytes
    - Click Count (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CliUtils.java

            final int length = str.length();
            if (length > 1
                    && str.startsWith("\"")
                    && str.endsWith("\"")
                    && str.substring(1, length - 1).indexOf('"') == -1) {
                str = str.substring(1, length - 1);
            }
            return str;
        }
    
        @Nonnull
        public static Path getCanonicalPath(Path path) {
            requireNonNull(path, "path");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Oct 13 18:30:29 GMT 2025
    - 5K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTester.kt

            return host.substring(1, host.length - 5).lowercase()
          }
    
          override fun canonicalize(s: String): String = s.lowercase()
        },
    
        PATH {
          override fun urlString(value: String): String = "http://example.com/a${value}z/"
    
          override fun encodedValue(url: HttpUrl): String {
            val path = url.encodedPath
            return path.substring(2, path.length - 2)
          }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/core/misc/LocaleUtil.java

                if (index < 0) {
                    locale = new Locale(localeStr);
                } else {
                    final String language = localeStr.substring(0, index);
                    final String country = localeStr.substring(index + 1);
                    locale = new Locale(language, country);
                }
            }
            return locale;
        }
    
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

                    user = index != -1 ? userInfo.substring(0, index) : userInfo;
                    if (index != -1) {
                        password = userInfo.substring(index + 1);
                    }
                    index = user.indexOf('\\');
                    if (index == -1) {
                        index = user.indexOf('/');
                    }
                    domain = index != -1 ? user.substring(0, index) : domain;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 22.1K bytes
    - Click Count (0)
  6. guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/Platform.java

          if (placeholderStart == -1) {
            break;
          }
          builder.append(template.substring(templateStart, placeholderStart));
          builder.append(args[i++]);
          templateStart = placeholderStart + 2;
        }
        builder.append(template.substring(templateStart));
    
        // if we run out of placeholders, append the extra args in square braces
        if (i < args.length) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 2.1K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/primitives/ParseRequest.java

        if (stringValue.startsWith("0x") || stringValue.startsWith("0X")) {
          rawValue = stringValue.substring(2);
          radix = 16;
        } else if (firstChar == '#') {
          rawValue = stringValue.substring(1);
          radix = 16;
        } else if (firstChar == '0' && stringValue.length() > 1) {
          rawValue = stringValue.substring(1);
          radix = 8;
        } else {
          rawValue = stringValue;
          radix = 10;
        }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/suggest/converter/KatakanaToAlphabetConverter.java

                String[] alphabets;
                if (i + 1 < text.length() && CONVERT_MAP.get(text.substring(i, i + 2)) != null) {
                    alphabets = CONVERT_MAP.get(text.substring(i, i + 2));
                    i += 2;
                } else {
                    if (CONVERT_MAP.get(text.substring(i, i + 1)) != null) {
                        alphabets = CONVERT_MAP.get(text.substring(i, i + 1));
                    } else {
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Mon Nov 17 14:28:21 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/SourceMetaDataVisitor.java

            Matcher matcher = GETTER_METHOD_NAME.matcher(name);
            if (matcher.matches()) {
                int startName = matcher.start(2);
                String propName = name.substring(startName, startName + 1).toLowerCase(Locale.ROOT) + name.substring(startName + 1);
                PropertyMetaData property = getCurrentClass().addReadableProperty(propName, returnType, rawCommentText, methodMetaData);
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Aug 19 15:07:24 GMT 2024
    - 11.8K bytes
    - Click Count (0)
  10. src/test/java/jcifs/SmbResourceLocatorTest.java

                String remaining = urlStr.substring(6); // Remove "smb://"
                int slashIndex = remaining.indexOf('/');
                if (slashIndex == -1) {
                    this.host = remaining;
                    this.path = "/";
                } else {
                    this.host = remaining.substring(0, slashIndex);
                    this.path = remaining.substring(slashIndex);
                }
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8K bytes
    - Click Count (0)
Back to Top