Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 352 for retrying (0.05 sec)

  1. src/test/java/jcifs/smb/FileEntryAdapterIteratorTest.java

            };
    
            // When all entries fail, iterator should be empty
            assertFalse(iterator.hasNext());
            assertNull(iterator.next());
        }
    
        @Test
        @DisplayName("Adapter returning null on all entries")
        void adapterReturnsNullOnAll() {
            // Setup
            FileEntry entry1 = mock(FileEntry.class);
            FileEntry entry2 = mock(FileEntry.class);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/exception/ContentNotFoundExceptionTest.java

                // If suppression is disabled, getSuppressed should return empty array
                assertEquals(0, exception.getSuppressed().length);
            } catch (Exception e) {
                // If an exception is thrown when trying to add suppressed, that's also valid
                // since suppression is disabled
            }
    
            // Stack trace should be empty since writableStackTrace is false
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/security/http-basic-auth.md

    But by using the `secrets.compare_digest()` it will be secure against a type of attacks called "timing attacks".
    
    ### Timing Attacks { #timing-attacks }
    
    But what's a "timing attack"?
    
    Let's imagine some attackers are trying to guess the username and password.
    
    And they send a request with a username `johndoe` and a password `love123`.
    
    Then the Python code in your application would be equivalent to something like:
    
    ```Python
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 5K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

        // The task thread waits for the latch, so we expect a timeout here.
        try {
          future.get(20, MILLISECONDS);
          fail("Should have timed out trying to get the value.");
        } catch (TimeoutException expected) {
        } finally {
          latch.countDown();
        }
      }
    
      /**
       * Tests that a canceled future throws a cancellation exception.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/Hexdump.java

            return toHexString(data, 0, data.length);
        }
    
        /**
         * This is the same as {@link jcifs.util.Hexdump#toHexString(int val, int
         * size)} but provides a more practical form when trying to avoid {@link
         * java.lang.String} concatenation and {@link java.lang.StringBuffer}.
         *
         * @param val the integer value to convert to hexadecimal characters
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/background-tasks.md

    # Background Tasks { #background-tasks }
    
    You can define background tasks to be run *after* returning a response.
    
    This is useful for operations that need to happen after a request, but that the client doesn't really have to be waiting for the operation to complete before receiving the response.
    
    This includes, for example:
    
    * Email notifications sent after performing an action:
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/io/CharStreams.java

          result.add(line);
        }
        return result;
      }
    
      /**
       * Streams lines from a {@link Readable} object, stopping when the processor returns {@code false}
       * or all lines have been read and returning the result produced by the processor. Does not close
       * {@code readable}. Note that this method may not fully consume the contents of {@code readable}
       * if the processor stops processing early.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 30 17:25:01 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

        return derive(future.transformAsync(applyFunction, executor));
      }
    
      /**
       * Returns an {@link AsyncClosingFunction} that applies an {@link AsyncFunction} to an input,
       * ignoring the DeferredCloser and returning a {@code ClosingFuture} derived from the returned
       * {@link ListenableFuture}.
       *
       * <p>Use this method to pass a transformation to {@link #transformAsync(AsyncClosingFunction,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 23 15:26:56 UTC 2025
    - 97.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/compression/DefaultCompressionService.java

                throw new CIFSException("Unsupported compression algorithm: " + algorithm);
            }
            if (length < MIN_COMPRESSION_SIZE) {
                log.debug("Data too small for compression ({} bytes), returning uncompressed", length);
                byte[] result = new byte[length];
                System.arraycopy(data, offset, result, 0, length);
                return result;
            }
            if (length > MAX_COMPRESSION_SIZE) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  10. cmd/acl-handlers.go

    	"io"
    	"net/http"
    
    	xhttp "github.com/minio/minio/internal/http"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/mux"
    	"github.com/minio/pkg/v3/policy"
    )
    
    // Data types used for returning dummy access control
    // policy XML, these variables shouldn't be used elsewhere
    // they are only defined to be used in this file alone.
    type grantee struct {
    	XMLNS       string `xml:"xmlns:xsi,attr"`
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top