Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 37 for lenient (0.06 seconds)

  1. 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
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Dec 30 10:14:25 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/net/InternetDomainName.java

                  PublicSuffixPatterns.TRIE.findSuffixIndex(parts, PublicSuffixType.REGISTRY);
        }
        return registrySuffixIndexLocal;
      }
    
      /**
       * Returns an instance of {@link InternetDomainName} after lenient validation. Specifically,
       * validation against <a href="http://www.ietf.org/rfc/rfc3490.txt">RFC 3490</a>
       * ("Internationalizing Domain Names in Applications") is skipped, while validation against <a
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 21:21:59 GMT 2026
    - 26.2K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MediaType.kt

                  parameter.groups[3]!!.value
                }
    
                token.startsWith('\'') && token.endsWith('\'') && token.length > 2 -> {
                  // If the token is 'single-quoted' it's invalid! But we're lenient and strip the quotes.
                  token.substring(1, token.length - 1)
                }
    
                else -> {
                  token
                }
              }
    
            parameterNamesAndValues += name
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 5.9K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/net/InternetDomainNameTest.java

          InternetDomainName.from("xn--jrpeland-54a.no");
    
      /** The Greek letter delta, used in unicode testing. */
      private static final String DELTA = "\u0394";
    
      /** A domain part which is valid under lenient validation, but invalid under strict validation. */
      @SuppressWarnings("InlineMeInliner") // String.repeat unavailable under Java 8
      static final String LOTS_OF_DELTAS = Strings.repeat(DELTA, 62);
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 17.8K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/curl/CurlRequestTest.java

        }
    
        // --- URL with special characters tests ---
    
        @Test
        public void test_UrlWithSpaces() {
            // ## Arrange ##
            // URLs with spaces should be accepted (HttpURLConnection is lenient)
            final CurlRequest request = new CurlRequest(Method.GET, "http://example.com/path with spaces");
    
            // ## Assert ##
            assertNotNull(request);
            assertEquals(Method.GET, request.method());
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 09:11:12 GMT 2026
    - 24.7K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java

          InternetDomainName.from("xn--jrpeland-54a.no");
    
      /** The Greek letter delta, used in unicode testing. */
      private static final String DELTA = "\u0394";
    
      /** A domain part which is valid under lenient validation, but invalid under strict validation. */
      @SuppressWarnings("InlineMeInliner") // String.repeat unavailable under Java 8
      static final String LOTS_OF_DELTAS = Strings.repeat(DELTA, 62);
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 17.8K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java

        public void test_normalizeCanonicalUrl_withMalformedRelative() throws Exception {
            final FessXpathTransformer transformer = new FessXpathTransformer();
            // Valid base URL with malformed relative: java.net.URL is lenient, resolves anyway
            final String value = transformer.normalizeCanonicalUrl("http://example.com/", "://");
            // java.net.URL(base, "://") prepends protocol, result may vary
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 62.9K bytes
    - Click Count (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleBuildDocumentationPlugin.java

            extension.getClasspath().from(runtimeClasspath);
            extension.getSourceRoots().from(sourcesPath.getIncoming().artifactView(v -> v.lenient(true)).getFiles());
            extension.getDocumentedSource().from(sourcesPath.getIncoming().artifactView(v -> v.lenient(true)).getFiles().getAsFileTree().matching(f -> {
                f.include(PublicApi.INSTANCE.getIncludes());
                // Filter out any non-public APIs
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 19 17:06:32 GMT 2026
    - 7.6K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/cache/CacheBuilder.java

       * @since 12.0
       */
      @GwtIncompatible // To be supported
      public static CacheBuilder<Object, Object> from(String spec) {
        return from(CacheBuilderSpec.parse(spec));
      }
    
      /**
       * Enables lenient parsing. Useful for tests and spec parsing.
       *
       * @return this {@code CacheBuilder} instance (for chaining)
       */
      @GwtIncompatible // To be supported
      @CanIgnoreReturnValue
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 13:13:59 GMT 2026
    - 52K bytes
    - Click Count (0)
  10. build-logic/dependency-modules/src/main/kotlin/gradlebuild.dependency-modules.gradle.kts

        }
    }
    
    fun readCapabilities(source: File): List<CapabilitySpec> {
        JsonReader(source.reader(Charsets.UTF_8)).use { reader ->
            reader.strictness = Strictness.LENIENT
            return Gson().fromJson(reader)
        }
    }
    
    inline
    fun <reified T> Gson.fromJson(json: JsonReader): T = this.fromJson(json, object : TypeToken<T>() {}.type)
    
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 26 09:04:32 GMT 2026
    - 9.5K bytes
    - Click Count (0)
Back to Top