Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 190 for substring (0.16 seconds)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocConverter.java

            if (matcher.lookingAt()) {
                String theOrWhether = matcher.group(1).toLowerCase(Locale.US);
                comment.setData(StringUtils.capitalize(theOrWhether) + " " + comment.getData().substring(matcher.end()));
            }
        }
    
        private DocCommentImpl parse(String rawCommentText, ClassMetaData classMetaData,
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed May 21 06:20:45 GMT 2025
    - 29.3K bytes
    - Click Count (0)
  2. 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 Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 39.9K bytes
    - Click Count (0)
  3. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/action/AnnotationGeneratorWorkAction.kt

                return clazz.getResource(RESOURCE)
                    .readText()
                    .split('\n')
                    .filter { it.isNotBlank() }
                    .map { line -> line.substring(7, line.length - 2) }
            }
        }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Sun Jul 07 16:02:18 GMT 2024
    - 8.1K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/net/InetAddresses.java

            if (ipString == null) {
              return null;
            }
          }
          if (percentIndex != -1) {
            if (scope != null) {
              scope.scope = ipString.substring(percentIndex + 1);
            }
            ipString = ipString.substring(0, percentIndex);
          }
          return textToNumericFormatV6(ipString);
        } else if (hasDot) {
          if (percentIndex != -1) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Feb 19 21:24:11 GMT 2025
    - 47.4K bytes
    - Click Count (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java

            boolean snapshot = mavenVersion.endsWith("SNAPSHOT");
            if (snapshot) {
                mavenVersion = mavenVersion.substring(0, mavenVersion.length() - "SNAPSHOT".length());
                if (mavenVersion.endsWith("-")) {
                    mavenVersion = mavenVersion.substring(0, mavenVersion.length() - 1);
                }
            }
            String[] versionElements = mavenVersion.split("\\.");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 10 07:39:11 GMT 2025
    - 25.5K bytes
    - Click Count (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt

        val secondSpace = line.indexOf(' ', keyBegin)
        val key: String
        if (secondSpace == -1) {
          key = line.substring(keyBegin)
          if (firstSpace == REMOVE.length && line.startsWith(REMOVE)) {
            lruEntries.remove(key)
            return
          }
        } else {
          key = line.substring(keyBegin, secondSpace)
        }
    
        var entry: Entry? = lruEntries[key]
        if (entry == null) {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed May 28 23:28:25 GMT 2025
    - 34.7K bytes
    - Click Count (0)
  7. 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 Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Jul 28 07:33:49 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java

                for (String repo : repos) {
                    // see if this is a negative match
                    if (repo.length() > 1 && repo.startsWith("!")) {
                        if (repo.substring(1).equals(originalId)) {
                            // explicitly exclude. Set result and stop processing.
                            result = false;
                            break;
                        }
                    }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Feb 07 00:45:02 GMT 2025
    - 33.5K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/io/Files.java

        // put it back together
        String result = Joiner.on('/').join(path);
        if (pathname.charAt(0) == '/') {
          result = "/" + result;
        }
    
        while (result.startsWith("/../")) {
          result = result.substring(3);
        }
        if (result.equals("/..")) {
          result = "/";
        } else if (result.isEmpty()) {
          result = ".";
        }
    
        return result;
      }
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 25 20:24:13 GMT 2025
    - 32.8K bytes
    - Click Count (0)
  10. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/relocation/UserPropertiesArtifactRelocationSource.java

        }
    
        private static boolean matches(String pattern, String str) {
            if (isAny(pattern)) {
                return true;
            } else if (pattern.endsWith("*")) {
                return str.startsWith(pattern.substring(0, pattern.length() - 1));
            } else {
                return Objects.equals(pattern, str);
            }
        }
    
        private static Predicate<Artifact> artifactPredicate(Artifact artifact) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 9K bytes
    - Click Count (0)
Back to Top