Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 141 - 150 of 208 for startswith (0.22 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 Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Oct 30 13:46:58 GMT 2025
    - 14.7K bytes
    - Click Count (1)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/utils/CLIReportingUtils.java

                    + (version != null ? version : "<version unknown>")
                    + (rev != null ? " (" + rev + ")" : "");
        }
    
        private static String reduce(String s) {
            return (s != null ? (s.startsWith("${") && s.endsWith("}") ? null : s) : null);
        }
    
        public static Properties getBuildProperties() {
            Properties properties = new Properties();
    
            try (InputStream resourceAsStream =
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Feb 10 15:02:53 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild.binary-compatibility.gradle

            extendsFrom(currentClasspath)
        }
    }
    
    def currentClasspath = configurations.currentApiClasspath.incoming.artifactView { lenient(true) }.files
    def currentDistroJars = currentClasspath.filter { it.name.startsWith('gradle-') && it.name.endsWith('.jar') }
    def baselineJars = configurations.baselineJars
    def baseVersion = gradleModule.identity.version.map { it.baseVersion.version }
    
    dependencies {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Dec 30 10:14:25 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/CLIReportingUtils.java

                }
                msg += ")";
            }
            return msg;
        }
    
        private static String reduce(String s) {
            return (s != null ? (s.startsWith("${") && s.endsWith("}") ? null : s) : null);
        }
    
        public static Properties getBuildProperties() {
            Properties properties = new Properties();
    
            try (InputStream resourceAsStream =
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 08 08:49:11 GMT 2024
    - 7.3K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

      }
    
      private static boolean isAndroid() {
        return System.getProperty("java.runtime.name", "").contains("Android");
      }
    
      private static boolean isWindows() {
        return OS_NAME.value().startsWith("Windows");
      }
    
      /**
       * Test that verifies the resource leak fix for <a
       * href="https://github.com/google/guava/issues/5756">Issue #5756</a>.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Oct 30 16:30:29 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/ShellInvoker.java

                            @Override
                            public boolean isCommandOrScript(String command) {
                                return command.startsWith("!") || super.isCommandOrScript(command);
                            }
                        };
                systemRegistry.setCommandRegistries(holder.getCommandRegistries());
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  7. guava/src/com/google/common/reflect/Types.java

                || methodName.equals("isAnnotationPresent")
                // Each of these prefixes is shared by a family of methods:
                || methodName.startsWith("getAnnotation")
                || methodName.startsWith("getDeclaredAnnotation")) {
              throw new UnsupportedOperationException(
                  "Annotation methods are not supported on synthetic TypeVariables created during type"
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Oct 31 19:34:24 GMT 2025
    - 24.3K bytes
    - Click Count (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocConverter.java

                if (!elementName.equals("a") || !attributes.containsKey("href")) {
                    return false;
                }
                String href = attributes.get("href");
                if (!href.startsWith("#")) {
                    return false;
                }
                Element element = document.createElement("link");
                String targetId = String.format("%s.%s", classMetaData.getClassName(), href.substring(1));
    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)
  9. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleMappingDelegate.java

                boolean include = true;
                if (phase.equals(lifecyclePhase)) {
                    passed = true;
                } else if (passed) {
                    if (phase.startsWith(org.apache.maven.api.Lifecycle.AFTER)) {
                        String realPhase = phase.substring(org.apache.maven.api.Lifecycle.AFTER.length());
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Dec 13 23:04:37 GMT 2024
    - 8.5K bytes
    - Click Count (0)
  10. api/maven-api-di/src/main/java/org/apache/maven/di/tool/DiIndexProcessor.java

                    String line;
                    StringBuilder contentBuilder = new StringBuilder();
                    while ((line = reader.readLine()) != null) {
                        if (!line.trim().startsWith("#")) {
                            existingClasses.add(line.trim());
                        }
                        contentBuilder.append(line).append("\n");
                    }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Apr 03 13:33:59 GMT 2025
    - 7.8K bytes
    - Click Count (0)
Back to Top