Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 408 for startswith (0.64 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/OkHostnameVerifier.kt

      ): Boolean {
        var hostname = hostname
        var pattern = pattern
        if (hostname.isNullOrEmpty() ||
          hostname.startsWith(".") ||
          hostname.endsWith("..")
        ) {
          // Invalid domain name.
          return false
        }
        if (pattern.isNullOrEmpty() ||
          pattern.startsWith(".") ||
          pattern.endsWith("..")
        ) {
          // Invalid pattern.
          return false
        }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

            if (StringUtil.isBlank(urlStr)) {
                return false;
            }
            final String value;
            if (urlStr.startsWith("://")) {
                value = "http" + urlStr;
            } else if (urlStr.startsWith("//")) {
                value = "http:" + urlStr;
            } else {
                value = urlStr;
            }
            try {
                final URI uri = URI.create(value);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Dec 12 13:58:40 UTC 2025
    - 54.6K bytes
    - Viewed (0)
  3. build-logic-settings/configuration-cache-compatibility/src/main/kotlin/gradlebuild.configuration-cache-compatibility.settings.gradle.kts

     * limitations under the License.
     */
    import org.gradle.api.internal.plugins.DslObject
    
    run {
    
        fun String.startsWithAnyOf(vararg prefixes: String): Boolean =
            prefixes.any { prefix -> startsWith(prefix) }
    
        fun Task.typeSimpleName(): String =
            DslObject(this).declaredType.simpleName
    
        fun isIncompatible(task: Task): Boolean = when {
    
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Jan 15 16:07:38 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/MavenParser.java

            try (Stream<String> lines = Files.lines(atFile, StandardCharsets.UTF_8)) {
                List<String> args =
                        lines.filter(arg -> !arg.isEmpty() && !arg.startsWith("#")).toList();
                return parseArgs("atFile", args);
            } catch (ParseException e) {
                throw new IllegalArgumentException(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Oct 14 12:35:44 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  5. samples/compare/src/test/kotlin/okhttp3/compare/ApacheHttpClientTest.kt

     * limitations under the License.
     */
    package okhttp3.compare
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import assertk.assertions.startsWith
    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    import mockwebserver3.junit5.StartStop
    import org.apache.hc.client5.http.classic.methods.HttpGet
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

            sessionBuilder.setConfigProperties(finalConfigProperties);
    
            return sessionBuilder;
        }
    
        private Path resolve(String string) {
            if (string.startsWith("~/") || string.startsWith("~\\")) {
                // resolve based on $HOME
                return Paths.get(System.getProperty("user.home"))
                        .resolve(string.substring(2))
                        .normalize()
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jul 17 05:56:35 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/SystemPropertyProfileActivator.java

                    throw new ProfileActivationException(
                            "The property name is required to activate the profile '" + profile.getId() + "'");
                }
    
                if (name.startsWith("!")) {
                    reverseName = true;
                    name = name.substring(1);
                }
    
                String sysValue = properties.getProperty(name);
    
                String propValue = property.getValue();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/FileToRawModelMergerTest.java

         */
        @Test
        void testOverriddenMergeMethods() {
            List<String> methodNames = Stream.of(MavenMerger.class.getDeclaredMethods())
                    .filter(m -> m.getName().startsWith("merge"))
                    .filter(m -> {
                        String baseName = m.getName().substring(5 /* merge */);
                        String entity = baseName.substring(baseName.indexOf('_') + 1);
                        try {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CliUtils.java

        @Nonnull
        public static String stripLeadingAndTrailingQuotes(String str) {
            requireNonNull(str, "str");
            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
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Oct 13 18:30:29 UTC 2025
    - 5K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

                    assertTrue(urlQueue.getUrl().startsWith(url1));
                }
                while ((urlQueue = urlQueueService.poll(sessionId2)) != null) {
                    assertTrue(urlQueue.getUrl().startsWith(url2));
                }
    
                dataService.iterate(sessionId1, accessResult -> {
                    assertTrue(accessResult.getUrl().startsWith(url1));
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Tue Nov 11 13:40:14 UTC 2025
    - 25.8K bytes
    - Viewed (0)
Back to top