Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 433 for rails (0.02 sec)

  1. src/main/java/jcifs/util/ServerResponseValidator.java

         *
         * @param buffer the buffer to validate
         * @param expectedSize expected minimum size
         * @param maxSize maximum allowed size
         * @throws SmbException if validation fails
         */
        public void validateBuffer(byte[] buffer, int expectedSize, int maxSize) throws SmbException {
            totalValidations.incrementAndGet();
    
            if (buffer == null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/Kerb5ContextTest.java

            String s = ctx.toString();
            assertEquals("KERB5[src=client,targ=service,mech=1.2.3]", s);
        }
    
        @Test
        @DisplayName("toString falls back when GSS access fails")
        void toString_established_throws() throws Exception {
            when(gssContext.isEstablished()).thenReturn(true);
            when(gssContext.getSrcName()).thenThrow(new GSSException(GSSException.FAILURE));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

        }
    
        /**
         * Resolves a hostname to an InetAddress.
         *
         * @param host the hostname to resolve
         * @return the resolved InetAddress
         * @throws FessSystemException if hostname resolution fails
         */
        protected InetAddress getInetAddressByName(final String host) {
            try {
                return InetAddress.getByName(host);
            } catch (final UnknownHostException e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 121.9K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/response-model.md

    {* ../../docs_src/response_model/tutorial003_04_py310.py hl[8] *}
    
    ...this fails because the type annotation is not a Pydantic type and is not just a single `Response` class or subclass, it's a union (any of the two) between a `Response` and a `dict`.
    
    ### Disable Response Model { #disable-response-model }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 16K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

            // Should skip zero-length message and read actual data
            assertEquals(10, sis.read());
            assertEquals(20, sis.read());
    
            // After all data consumed, next read fails
            assertThrows(IOException.class, () -> sis.read());
        }
    
        @Test
        @DisplayName("Unknown packet type is handled by continuing to next packet")
        void unknownPacketTypeHandled() throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

         * @param includeContent Whether to include the actual content in the response
         * @return The response data containing the retrieved information
         * @throws CrawlingAccessException If the FTP request fails
         */
        protected ResponseData processRequest(final String uri, final boolean includeContent) {
            if (ftpAuthenticationHolder == null) {
                init();
            }
    
            // start
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt

          }
    
        /**
         * Sets the interval between HTTP/2 and web socket pings initiated by this client. Use this to
         * automatically send ping frames until either the connection fails or it is closed. This keeps
         * the connection alive and may detect connectivity failures.
         *
         * If the server does not respond to each ping with a pong within `interval`, this client will
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 51.7K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt

        connection.calls.add(CallReference(this, callStackTrace))
      }
    
      /**
       * Releases resources held with the request or response of [exchange]. This should be called when
       * the request completes normally or when it fails due to an exception, in which case [e] should
       * be non-null.
       *
       * If the exchange was canceled or timed out, this will wrap [e] in an exception that provides
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:30:11 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

            // 3. after setFuture and set() are called but before the listener completes.
            if (!setFutureSetSuccess.get() || !setFutureCompletionSuccess.get()) {
              // If setFuture fails or set on the future fails then it must be because that future was
              // cancelled
              assertTrue(setFuture.isCancelled());
              assertTrue(setFuture.wasInterrupted()); // we only call cancel(true)
            }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

         * @param buffer the buffer to read from
         * @param bufferIndex the starting index
         * @return the number of bytes read
         * @throws SMBProtocolDecodingException if decoding fails
         */
        protected int readAndXWireFormat(final byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException {
            final int start = bufferIndex;
    
            this.wordCount = buffer[bufferIndex];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
Back to top