Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 52 for trimming (0.05 sec)

  1. okhttp/src/main/kotlin/okhttp3/Request.kt

        /**
         * Attaches [tag] to the request using [T] as a key. Tags can be read from a request using
         * [Request.tag]. Use null to remove any existing tag assigned for [T].
         *
         * Use this API to attach timing, debugging, or other application data to a request so that
         * you may read it in interceptors, event listeners, or callbacks.
         */
        @JvmName("reifiedTag")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 04:17:44 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  2. docs/de/docs/advanced/security/http-basic-auth.md

        # Einen Error zurückgeben
        ...
    ```
    
    Aber durch die Verwendung von `secrets.compare_digest()` ist dieser Code sicher vor einer Art von Angriffen, die „Timing-Angriffe“ genannt werden.
    
    ### Timing-Angriffe
    
    Aber was ist ein „Timing-Angriff“?
    
    Stellen wir uns vor, dass einige Angreifer versuchen, den Benutzernamen und das Passwort zu erraten.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 15:25:54 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/io/CharStreams.java

       * close or flush the reader.
       *
       * <p>This is identical to {@link #copy(Readable, Appendable)} but optimized for these specific
       * types. CharBuffer has poor performance when being written into or read out of so round tripping
       * all the bytes through the buffer takes a long time. With these specialized types we can just
       * use a char array.
       *
       * @param from the object to read from
       * @param to the object to write to
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  4. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackRoundTripTest.kt

    import okio.Buffer
    import org.junit.jupiter.api.Assumptions.assumeFalse
    import org.junit.jupiter.params.ParameterizedTest
    import org.junit.jupiter.params.provider.ArgumentsSource
    
    /**
     * Tests for round-tripping headers through hpack.
     *
     * TODO: update hpack-test-case with the output of our encoder.
     * This test will hide complementary bugs in the encoder and decoder,
     * We should test that the encoder is producing responses that are
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. docs/pt/docs/advanced/security/http-basic-auth.md

        # Return some error
        ...
    ```
    
    Porém, ao utilizar o `secrets.compare_digest()`, isso estará seguro contra um tipo de ataque chamado "timing attacks" (ataques de temporização).
    
    ### Ataques de Temporização
    
    Mas o que é um "timing attack" (ataque de temporização)?
    
    Vamos imaginar que alguns invasores estão tentando adivinhar o usuário e a senha.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/math/BigIntegerMathBenchmark.java

          slowFactorials[i] = RANDOM_SOURCE.nextInt(factorialBound);
          binomials[i] = RANDOM_SOURCE.nextInt(factorials[i] + 1);
        }
      }
    
      /** Previous version of BigIntegerMath.factorial, kept for timing purposes. */
      private static BigInteger oldSlowFactorial(int n) {
        if (n <= 20) {
          return BigInteger.valueOf(LongMath.factorial(n));
        } else {
          int k = 20;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 19 16:21:24 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  7. guava-tests/benchmark/com/google/common/math/BigIntegerMathBenchmark.java

          slowFactorials[i] = RANDOM_SOURCE.nextInt(factorialBound);
          binomials[i] = RANDOM_SOURCE.nextInt(factorials[i] + 1);
        }
      }
    
      /** Previous version of BigIntegerMath.factorial, kept for timing purposes. */
      private static BigInteger oldSlowFactorial(int n) {
        if (n <= 20) {
          return BigInteger.valueOf(LongMath.factorial(n));
        } else {
          int k = 20;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 19 16:21:24 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/net/HttpHeaders.java

      public static final String SERVER = "Server";
      /**
       * The HTTP <a href="https://www.w3.org/TR/server-timing/">{@code Server-Timing}</a> header field
       * name.
       *
       * @since 23.6
       */
      public static final String SERVER_TIMING = "Server-Timing";
      /**
       * The HTTP <a href="https://www.w3.org/TR/service-workers/#update-algorithm">{@code
       * Service-Worker-Allowed}</a> header field name.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 01 19:08:38 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  9. internal/lsync/lrwmutex.go

    	return locked
    }
    
    const (
    	lockRetryInterval = 50 * time.Millisecond
    )
    
    // lockLoop will acquire either a read or a write lock
    //
    // The call will block until the lock is granted using a built-in
    // timing randomized back-off algorithm to try again until successful
    func (lm *LRWMutex) lockLoop(ctx context.Context, id, source string, timeout time.Duration, isWriteLock bool) (locked bool) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/math/PairedStats.java

       * were obtained by calling {@code snapshot()} on the same {@link PairedStatsAccumulator} without
       * adding any values in between the two calls, or if one is obtained from the other after
       * round-tripping through java serialization. However, floating point rounding errors mean that it
       * may be false for some instances where the statistics are mathematically equal, including
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 17:02:53 UTC 2023
    - 12.6K bytes
    - Viewed (0)
Back to top