Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 252 for timing (0.08 seconds)

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

                    double avgTime = timings.stream().mapToLong(Long::longValue).average().orElse(0.0);
                    long maxTime = timings.stream().mapToLong(Long::longValue).max().orElse(0L);
                    long minTime = timings.stream().mapToLong(Long::longValue).min().orElse(0L);
    
                    double variance = (maxTime - minTime) / avgTime;
                    // JVM timing in concurrent scenarios is inherently variable
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  2. docs/en/docs/advanced/security/http-basic-auth.md

        # Return some error
        ...
    ```
    
    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`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 5K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/util/concurrent/TimeLimiter.java

       *     annotation type, rather than an interface
       */
      <T> T newProxy(T target, Class<T> interfaceType, long timeoutDuration, TimeUnit timeoutUnit);
    
      /**
       * Invokes a specified Callable, timing out after the specified time limit. If the target method
       * call finishes before the limit is reached, the return value or a wrapped exception is
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Jan 18 02:54:30 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/MonotonicClock.java

    package org.apache.maven.api;
    
    import java.time.Clock;
    import java.time.Duration;
    import java.time.Instant;
    import java.time.ZoneId;
    import java.time.ZoneOffset;
    
    /**
     * A Clock implementation that combines monotonic timing with wall-clock time.
     * <p>
     * This class provides precise time measurements using {@link System#nanoTime()}
     * while maintaining wall-clock time information in UTC. The wall-clock time
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jan 15 06:28:29 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  5. api/maven-api-core/src/test/java/org/apache/maven/api/MonotonicClockTest.java

            assertTrue(
                    later.minus(initial).toMillis() >= 45,
                    "Elapsed time difference should be at least 45ms (accounting for some timing variance)");
        }
    
        @Test
        @DisplayName("MonotonicClock start time should remain constant")
        void testStartTime() throws InterruptedException {
            Instant start1 = MonotonicClock.start();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jan 15 06:28:29 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  6. ci/official/code_check_full.sh

    # limitations under the License.
    # ==============================================================================
    source "${BASH_SOURCE%/*}/utilities/setup.sh"
    
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Tue Feb 06 17:29:44 GMT 2024
    - 840 bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/helper/IntervalControlHelper.java

    import org.codelibs.fess.exception.FessSystemException;
    import org.codelibs.fess.util.ComponentUtil;
    
    /**
     * Helper class for controlling crawler execution intervals and timing.
     * This class manages crawler execution timing based on configurable rules
     * that can specify different delays for different time periods and days.
     */
    public class IntervalControlHelper {
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Nov 23 12:34:02 GMT 2025
    - 10K bytes
    - Click Count (0)
  8. .ci/jobs.t/elastic+elasticsearch+multijob+platform-support-windows.yml

                - "windows-2016"
                - "windows-2019"
          # We shred out Windows testing into 4 parallel builds like on intake for expediency.
          # Our tests run much slower on Windows so this avoids issues with builds timing out.
          - axis:
              type: user-defined
              name: GRADLE_TASK
              values:
                - 'checkPart1'
                - 'checkPart2'
                - 'bwcTestSnapshots'
                - 'checkRestCompat'
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Jun 09 01:50:21 GMT 2021
    - 1.7K bytes
    - Click Count (0)
  9. docs/ko/docs/advanced/security/http-basic-auth.md

    ```Python
    if not (credentials.username == "stanleyjobson") or not (credentials.password == "swordfish"):
        # 어떤 오류를 반환
        ...
    ```
    
    하지만 `secrets.compare_digest()`를 사용하면 "timing attacks"라고 불리는 한 유형의 공격에 대해 안전해집니다.
    
    ### 타이밍 공격 { #timing-attacks }
    
    그렇다면 "timing attack"이란 무엇일까요?
    
    공격자들이 사용자명과 비밀번호를 추측하려고 한다고 가정해봅시다.
    
    그리고 사용자명 `johndoe`, 비밀번호 `love123`으로 요청을 보냅니다.
    
    그러면 애플리케이션의 Python 코드는 대략 다음과 같을 것입니다:
    
    ```Python
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 5.9K bytes
    - Click Count (0)
  10. docs/es/llm-prompt.md

    * load balancer: load balancer (do not translate to "balanceador de carga")
    * load balance: load balance (do not translate to "balancear carga")
    * self hosting: self hosting (do not translate to "auto alojamiento")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 5.4K bytes
    - Click Count (0)
Back to Top