Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 93 for Accepted (0.05 sec)

  1. src/test/java/jcifs/smb1/smb1/SmbFileTest.java

            }
    
            @Test
            public void testConstructorWithMalformedUrl() {
                // Test that constructor throws MalformedURLException for completely invalid URL
                // Note: http:// URLs are actually accepted by the URL constructor but the protocol is changed to smb
                String invalidUrl = "not-a-valid-url";
                assertThrows(MalformedURLException.class, () -> new SmbFile(invalidUrl));
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/net/UrlEscapers.java

       * href="https://url.spec.whatwg.org/#syntax-url-path-segment">URL path segments</a>. The returned
       * escaper escapes all non-ASCII characters, even though <a
       * href="https://url.spec.whatwg.org/#url-code-points">many of these are accepted in modern
       * URLs</a>. (<a href="https://url.spec.whatwg.org/#path-state">If the escaper were to leave these
       * characters unescaped, they would be escaped by the consumer at parse time, anyway.</a>)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  3. docs/es/docs/tutorial/background-tasks.md

    * Procesamiento de datos:
      * Por ejemplo, supongamos que recibes un archivo que debe pasar por un proceso lento, puedes devolver un response de "Accepted" (HTTP 202) y procesar el archivo en segundo plano.
    
    ## Usando `BackgroundTasks`
    
    Primero, importa `BackgroundTasks` y define un parámetro en tu *path operation function* con una declaración de tipo de `BackgroundTasks`:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/NetServerFileEntryAdapterIteratorTest.java

            // Act
            assertTrue(itr.hasNext());
            SmbResource r = itr.next();
    
            // Assert: filter was invoked twice and we got the accepted one
            ArgumentCaptor<SmbResource> captor = ArgumentCaptor.forClass(SmbResource.class);
            verify(filter, times(2)).accept(captor.capture());
            assertNotNull(r);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

        val denied = server.takeRequest()
        assertThat(denied.headers["Authorization"]).isNull()
        val accepted = server.takeRequest()
        assertThat(accepted.requestLine).isEqualTo("GET / HTTP/2")
        assertThat(accepted.headers["Authorization"]).isEqualTo(credential)
      }
    
      @ParameterizedTest
      @ArgumentsSource(ProtocolParamProvider::class)
      fun redirect(protocol: Protocol) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 73.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbTreeHandleImplTest.java

            // Null treeConnection throws NPE when acquire() is called
            assertThrows(NullPointerException.class, () -> new SmbTreeHandleImpl(resourceLoc, null));
        }
    
        @Test
        @DisplayName("Null resourceLoc is accepted but may cause issues later")
        void constructorNullResourceLoc() {
            // Null resourceLoc doesn't throw NPE immediately - it's stored and may cause issues when used
            // This test documents the current behavior
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt

          }
        }
      }
    
      @Throws(IOException::class)
      fun flush() {
        writer.flush()
      }
    
      /**
       * Degrades this connection such that new streams can neither be created locally, nor accepted
       * from the remote peer. Existing streams are not impacted. This is intended to permit an endpoint
       * to gracefully stop accepting new requests without harming previously established streams.
       */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                break;
            }
        }
    
        /**
         * Accepts the HTTP method.
         * @param request The HTTP request.
         * @param methods The accepted methods.
         * @return true if the method is accepted, false otherwise.
         */
        protected boolean acceptHttpMethod(final HttpServletRequest request, final String... methods) {
            final String method = request.getMethod();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 54.6K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt

        level = DeprecationLevel.ERROR,
      )
      fun code(): Int = code
    
      /**
       * Returns true if the code is in [200..300), which means the request was successfully received,
       * understood, and accepted.
       */
      val isSuccessful: Boolean = code in 200..299
    
      @JvmName("-deprecated_message")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "message"),
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 14:39:28 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/util/SmbCircuitBreaker.java

         */
        private double calculateAvailability() {
            long total = totalRequests.get();
            if (total == 0) {
                return 100.0;
            }
            long accepted = total - totalCircuitOpenRejections.get();
            return (accepted * 100.0) / total;
        }
    
        /**
         * Circuit breaker metrics snapshot (Java 17 Record)
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 33.4K bytes
    - Viewed (0)
Back to top