Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 161 - 170 of 378 for kduration (0.08 seconds)

  1. guava/src/com/google/common/cache/CacheStats.java

      private final long hitCount;
      private final long missCount;
      private final long loadSuccessCount;
      private final long loadExceptionCount;
    
      @SuppressWarnings("GoodTime") // should be a java.time.Duration
      private final long totalLoadTime;
    
      private final long evictionCount;
    
      /**
       * Constructs a new {@code CacheStats} instance.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  2. gorm.go

    	// You can disable it by setting `SkipDefaultTransaction` to true
    	SkipDefaultTransaction    bool
    	DefaultTransactionTimeout time.Duration
    	DefaultContextTimeout     time.Duration
    
    	// NamingStrategy tables, columns naming strategy
    	NamingStrategy schema.Namer
    	// FullSaveAssociations full save associations
    	FullSaveAssociations bool
    	// Logger
    	Logger logger.Interface
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Tue Aug 26 06:24:29 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  3. docs/throttle/README.md

    MinIO server allows to throttle incoming requests:
    
    - limit the number of active requests allowed across the cluster
    - limit the wait duration for each request in the queue
    
    These values are enabled using server's configuration or environment variables.
    
    ## Examples
    
    ### Configuring connection limit
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 16 08:43:49 GMT 2024
    - 1.5K bytes
    - Click Count (1)
  4. internal/http/dial_others.go

    type DialContext func(ctx context.Context, network, address string) (net.Conn, error)
    
    // NewInternodeDialContext configures a custom dialer for internode communications
    func NewInternodeDialContext(dialTimeout time.Duration, _ TCPOptions) DialContext {
    	return func(ctx context.Context, network, addr string) (net.Conn, error) {
    		dialer := &net.Dialer{
    			Timeout: dialTimeout,
    		}
    		return dialer.DialContext(ctx, network, addr)
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 1.6K bytes
    - Click Count (0)
  5. mockwebserver-junit5/src/main/kotlin/mockwebserver3/junit5/StartStop.kt

     * limitations under the License.
     */
    package mockwebserver3.junit5
    
    import mockwebserver3.junit5.internal.StartStopExtension
    import org.junit.jupiter.api.extension.ExtendWith
    
    /**
     * Runs MockWebServer for the duration of a test method or test class.
     *
     * In Java JUnit 5 tests (ie. tests annotated `@org.junit.jupiter.api.Test`), use this by defining a
     * field with the `@StartStop` annotation:
     *
     * ```java
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Jun 19 11:44:16 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/util/concurrent/Futures.java

      @GwtIncompatible // java.util.concurrent.ScheduledExecutorService
      @IgnoreJRERequirement // Users will use this only if they're already using Duration.
      // TODO(cpovirk): Return ListenableScheduledFuture?
      public static <O extends @Nullable Object> ListenableFuture<O> scheduleAsync(
          AsyncCallable<O> callable, Duration delay, ScheduledExecutorService executorService) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 64.3K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/event/ExecutionEventLogger.java

            return messageBuilderFactory.builder();
        }
    
        private void logStats(MavenSession session) {
            infoLine('-');
    
            Instant finish = MonotonicClock.now();
    
            Duration time = Duration.between(session.getRequest().getStartInstant(), finish);
    
            String wallClock = session.getRequest().getDegreeOfConcurrency() > 1 ? " (Wall Clock)" : "";
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Dec 13 15:40:45 GMT 2024
    - 17.5K bytes
    - Click Count (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformer.java

         */
        public void setIncludeAware(final boolean includeAware) {
            this.includeAware = includeAware;
        }
    
        /**
         * Sets the cache duration.
         * @param cacheDuration The cache duration in minutes.
         */
        public void setCacheDuration(final long cacheDuration) {
            this.cacheDuration = cacheDuration;
        }
    
        /**
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sun Jul 06 02:13:03 GMT 2025
    - 23.9K bytes
    - Click Count (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt

    import assertk.assertions.isNotNull
    import assertk.assertions.isNull
    import assertk.assertions.isSameInstanceAs
    import assertk.assertions.isTrue
    import java.io.IOException
    import java.net.SocketTimeoutException
    import java.time.Duration
    import java.util.concurrent.BlockingQueue
    import java.util.concurrent.LinkedBlockingQueue
    import java.util.concurrent.SynchronousQueue
    import java.util.concurrent.ThreadPoolExecutor
    import java.util.concurrent.TimeUnit
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 04 16:11:23 GMT 2025
    - 28.2K bytes
    - Click Count (0)
  10. cmd/data-scanner.go

    		r := rand.New(rand.NewSource(time.Now().UnixNano()))
    		// Run the data scanner in a loop
    		for {
    			runDataScanner(ctx, objAPI)
    			duration := max(time.Duration(r.Float64()*float64(scannerCycle.Load())),
    				// Make sure to sleep at least a second to avoid high CPU ticks.
    				time.Second)
    			time.Sleep(duration)
    		}
    	}()
    }
    
    func getCycleScanMode(currentCycle, bitrotStartCycle uint64, bitrotStartTime time.Time) madmin.HealScanMode {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 45.5K bytes
    - Click Count (0)
Back to Top