Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 229 for Timing (0.04 sec)

  1. src/test/java/jcifs/tests/KerberosTest.java

            Assume.assumeTrue(getContext().getConfig().getResolveOrder().contains(ResolverType.RESOLVER_DNS));
            long start = System.currentTimeMillis() / 1000 * 1000;
            // this is not too great as it depends on timing/clockskew
            // first we need to obtain a ticket, therefor need valid credentials
            // then we need to wait until the ticket is expired
            int wait = 10 * 1000;
            long princExp = start + ( wait / 2 );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Mar 01 09:46:04 UTC 2020
    - 11.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java

              try {
                if (timer != null) {
                  long overDelayMs = Math.abs(timer.getDelay(MILLISECONDS));
                  if (overDelayMs > 10) { // Not all timing drift is worth reporting
                    message += " (timeout delayed by " + overDelayMs + " ms after scheduled time)";
                  }
                }
                message += ": " + delegate;
              } finally {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  3. cmd/sftp-server-driver.go

    	})
    }
    
    func (f *sftpDriver) AccessKey() string {
    	return f.permissions.CriticalOptions["AccessKey"]
    }
    
    func (f *sftpDriver) Fileread(r *sftp.Request) (ra io.ReaderAt, err error) {
    	// This is not timing the actual read operation, but the time it takes to prepare the reader.
    	stopFn := globalSftpMetrics.log(r, f.AccessKey())
    	defer stopFn(0, err)
    
    	flags := r.Pflags()
    	if !flags.Read {
    		// sanity check
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 05 07:51:13 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/AbstractModelInterpolatorTest.java

                    .build();
    
            /*
            // This is the desired behaviour, however there are too many crappy poms in the repo and an issue with the
            // timing of executing the interpolation
    
            try
            {
            new RegexBasedModelInterpolator().interpolate( model, context );
            fail( "Should have failed to interpolate with invalid reference" );
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/HashCode.java

       * representation to this hash code.
       *
       * <p><b>Security note:</b> this method uses a constant-time (not short-circuiting) implementation
       * to protect against <a href="http://en.wikipedia.org/wiki/Timing_attack">timing attacks</a>.
       */
      @Override
      public final boolean equals(@CheckForNull Object object) {
        if (object instanceof HashCode) {
          HashCode that = (HashCode) object;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:54:59 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java

        MavenExecutionRequest setBaseDirectory(File basedir);
    
        /**
         * @deprecated use {@link #getTopDirectory()} instead
         */
        @Deprecated
        String getBaseDirectory();
    
        // Timing (remove this)
        MavenExecutionRequest setStartTime(Date start);
    
        Date getStartTime();
    
        // Goals
        MavenExecutionRequest setGoals(List<String> goals);
    
        List<String> getGoals();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/hash/HashCode.java

       * representation to this hash code.
       *
       * <p><b>Security note:</b> this method uses a constant-time (not short-circuiting) implementation
       * to protect against <a href="http://en.wikipedia.org/wiki/Timing_attack">timing attacks</a>.
       */
      @Override
      public final boolean equals(@CheckForNull Object object) {
        if (object instanceof HashCode) {
          HashCode that = (HashCode) object;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:54:59 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

          addTests(
              suite,
              method,
              Scenario.UNSATISFIED_AND_INTERRUPTED_BEFORE_WAITING,
              TimeoutsToUse.PAST,
              // prefer responding to interrupt over timing out
              isInterruptible(method) ? Outcome.INTERRUPT : Outcome.FAILURE);
          addTests(
              suite,
              method,
              Scenario.UNSATISFIED_AND_INTERRUPTED_BEFORE_WAITING,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

        assertThat(startupTimes.get(a)).isAtLeast(150);
        // Service b startup takes at least 353 millis, but starting the timer is delayed by at least
        // 150 milliseconds. so in a perfect world the timing would be 353-150=203ms, but since either
        // of our sleep calls can be arbitrarily delayed we should just assert that there is a time
        // recorded.
        assertThat(startupTimes.get(b)).isNotNull();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/MoreExecutors.java

       * <p>This executor is appropriate for tasks that are lightweight and not deeply chained.
       * Inappropriate {@code directExecutor} usage can cause problems, and these problems can be
       * difficult to reproduce because they depend on timing. For example:
       *
       * <ul>
       *   <li>When a {@code ListenableFuture} listener is registered to run under {@code
       *       directExecutor}, the listener can execute in any of three possible threads:
       *       <ol>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 44.1K bytes
    - Viewed (0)
Back to top