Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 40 for Uri (0.01 seconds)

  1. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/PreparePatchRelease.kt

        }
    
        private
        fun fetchVersionFromGradleServices(major: Int, targetVersion: String): ReleasedVersion {
            val uri = "https://services.gradle.org/versions/$major"
            val request = HttpRequest.newBuilder().uri(URI(uri)).build()
            val response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString())
            if (response.statusCode() > 399) {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 23 14:47:12 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/CookiesTest.kt

          object : CookieHandler() {
            override fun get(
              uri: URI,
              map: Map<String, List<String>>,
            ) = mapOf(
              "Cookie" to
                listOf(
                  "a=\"android \"",
                ),
            )
    
            override fun put(
              uri: URI,
              map: Map<String, List<String>>,
            ) {
            }
          }
        client =
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Mar 19 07:46:39 GMT 2026
    - 14.5K bytes
    - Click Count (0)
  3. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateFixedIssuesInReleaseNotes.kt

            val encodedMilestone = milestone.get().replace(" ", "+")
            val uri = "https://api.github.com/search/issues?q=is:issue+is:closed+repo:gradle/gradle+milestone:$encodedMilestone&per_page=$PAGE_SIZE&page=$pageNumber"
            val requestBuilder = HttpRequest.newBuilder().uri(URI(uri))
            if (githubToken.isPresent) {
                requestBuilder.header("Authorization", "token ${githubToken.get()}")
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 23 14:49:33 GMT 2026
    - 5.1K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt

          override val nonDefaultValue: ProxySelector =
            object : ProxySelector() {
              override fun select(uri: URI?): MutableList<Proxy> = mutableListOf(java.net.Proxy.NO_PROXY)
    
              override fun connectFailed(
                uri: URI?,
                sa: SocketAddress?,
                ioe: java.io.IOException?,
              ) {
              }
            }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 11 02:37:00 GMT 2026
    - 28.8K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java

        assertThat(simplifyPath("./.././../")).isEqualTo("../..");
      }
    
      /*
       * We co-opt some URI resolution tests for our purposes.
       * Some of the tests have queries and anchors that are a little silly here.
       */
    
      /** http://gbiv.com/protocols/uri/rfc/rfc2396.html#rfc.section.C.1 */
      public void testRfc2396Normal() {
        assertThat(simplifyPath("/a/b/c/g")).isEqualTo("/a/b/c/g");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 11.9K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java

        assertThat(simplifyPath("./.././../")).isEqualTo("../..");
      }
    
      /*
       * We co-opt some URI resolution tests for our purposes.
       * Some of the tests have queries and anchors that are a little silly here.
       */
    
      /** http://gbiv.com/protocols/uri/rfc/rfc2396.html#rfc.section.C.1 */
      public void testRfc2396Normal() {
        assertThat(simplifyPath("/a/b/c/g")).isEqualTo("/a/b/c/g");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 11.9K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/job/IndexExportJob.java

         */
        protected Path buildFilePath(final String exportPath, final String url, final IndexExportFormatter formatter) {
            try {
                final URI uri = new URI(url);
                String host = uri.getHost();
                String path = uri.getPath();
    
                if (host == null || host.isEmpty()) {
                    host = "_local";
                }
    
                if (path == null || path.isEmpty()) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 10.8K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/net/UrlEscaperTesting.java

     *
     * @author David Beaumont
     */
    @GwtCompatible
    @NullUnmarked
    final class UrlEscaperTesting {
      /**
       * Helper to assert common expected behaviour of uri escapers. You should call
       * assertBasicUrlEscaper() unless the escaper explicitly does not escape '%'.
       */
      @SuppressWarnings("nullness") // test of a bogus call
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 3.7K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/net/UrlEscaperTesting.java

     *
     * @author David Beaumont
     */
    @GwtCompatible
    @NullUnmarked
    final class UrlEscaperTesting {
      /**
       * Helper to assert common expected behaviour of uri escapers. You should call
       * assertBasicUrlEscaper() unless the escaper explicitly does not escape '%'.
       */
      @SuppressWarnings("nullness") // test of a bogus call
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 3.7K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/filter/LoadControlFilterTest.java

            for (String uri : imageUris) {
                resetMocks();
                mockRequest.setRequestURI(uri);
                testableFilter.doFilter(mockRequest, mockResponse, mockFilterChain);
                assertTrue("Expected pass-through for: " + uri, mockFilterChain.wasDoFilterCalled());
            }
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 33.6K bytes
    - Click Count (0)
Back to Top