Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for hours (0.18 sec)

  1. okhttp/src/test/java/okhttp3/CacheTest.kt

            .addHeader("Last-Modified: " + formatDate(-1, TimeUnit.HOURS))
            .addHeader("Expires: " + formatDate(1, TimeUnit.HOURS))
            .body("ABC")
            .build(),
        )
        server.enqueue(
          MockResponse.Builder()
            .addHeader("Last-Modified: " + formatDate(-5, TimeUnit.MINUTES))
            .addHeader("Expires: " + formatDate(2, TimeUnit.HOURS))
            .body("DEF")
            .build(),
        )
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 108.6K bytes
    - Viewed (0)
  2. cmd/handler-api.go

    	defer t.mu.RUnlock()
    
    	if t.staleUploadsCleanupInterval == 0 {
    		return 6 * time.Hour // default 6 hours
    	}
    
    	return t.staleUploadsCleanupInterval
    }
    
    func (t *apiConfig) getStaleUploadsExpiry() time.Duration {
    	t.mu.RLock()
    	defer t.mu.RUnlock()
    
    	if t.staleUploadsExpiry == 0 {
    		return 24 * time.Hour // default 24 hours
    	}
    
    	return t.staleUploadsExpiry
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 08 09:22:27 GMT 2024
    - 10K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheStrategy.kt

        /** Age of the cached response. */
        private var ageSeconds = -1
    
        /**
         * Returns true if computeFreshnessLifetime used a heuristic. If we used a heuristic to serve a
         * cached response older than 24 hours, we are required to attach a warning.
         */
        private fun isFreshnessLifetimeHeuristic(): Boolean {
          return cacheResponse!!.cacheControl.maxAgeSeconds == -1 && expires == null
        }
    
        init {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:24:48 GMT 2024
    - 12K bytes
    - Viewed (0)
  4. cmd/bucket-object-lock.go

    	}
    
    	// Pass in relative days from current time, to additionally
    	// to verify "object-lock-remaining-retention-days" policy if any.
    	days := int(math.Ceil(math.Abs(objRetention.RetainUntilDate.Sub(t).Hours()) / 24))
    
    	ret := objectlock.GetObjectRetentionMeta(oi.UserDefined)
    	if ret.Mode.Valid() {
    		// Retention has expired you may change whatever you like.
    		if ret.RetainUntilDate.Before(t) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/SystemHelper.java

            filterPathEncoding = fessConfig.getPathEncoding();
            supportedLanguages = fessConfig.getSupportedLanguagesAsArray();
            langItemsCache = CacheBuilder.newBuilder().maximumSize(20).expireAfterAccess(1, TimeUnit.HOURS)
                    .build(new CacheLoader<String, List<Map<String, String>>>() {
                        @Override
                        public List<Map<String, String>> load(final String key) throws Exception {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Sat Apr 13 11:43:03 GMT 2024
    - 26.5K bytes
    - Viewed (2)
  6. cmd/common-main.go

    	if value := env.Get(config.EnvBrowserLoginAnimation, "on"); value != "" {
    		os.Setenv("CONSOLE_ANIMATED_LOGIN", value)
    	}
    
    	// Pass on the session duration environment variable, else we will default to 12 hours
    	if valueSts := env.Get(config.EnvMinioStsDuration, ""); valueSts != "" {
    		os.Setenv("CONSOLE_STS_DURATION", valueSts)
    	} else if valueSession := env.Get(config.EnvBrowserSessionDuration, ""); valueSession != "" {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 35.5K bytes
    - Viewed (2)
  7. README.md

    <a href="https://www.codacy.com/?utm_source=github&utm_medium=sponsors&utm_id=pioneers" target="_blank" title="Take code reviews from hours to minutes"><img src="https://fastapi.tiangolo.com/img/sponsors/codacy.png"></a>
    
    <!-- /sponsors -->
    
    <a href="https://fastapi.tiangolo.com/fastapi-people/#sponsors" class="external-link" target="_blank">Other sponsors</a>
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 23:58:47 GMT 2024
    - 21.9K bytes
    - Viewed (0)
  8. docs/fr/docs/advanced/index.md

    ## Cours TestDriven.io
    
    Si vous souhaitez suivre un cours pour débutants avancés pour compléter cette section de la documentation, vous pouvez consulter : <a href="https://testdrive.io/courses/tdd-fastapi/" class="external- link" target="_blank">Développement piloté par les tests avec FastAPI et Docker</a> par **TestDriven.io**.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  9. okcurl/src/main/kotlin/okhttp3/curl/logging/OneLineLogFormat.kt

    import java.io.PrintWriter
    import java.io.StringWriter
    import java.time.Instant
    import java.time.ZoneOffset
    import java.time.format.DateTimeFormatterBuilder
    import java.time.temporal.ChronoField.HOUR_OF_DAY
    import java.time.temporal.ChronoField.MINUTE_OF_HOUR
    import java.time.temporal.ChronoField.NANO_OF_SECOND
    import java.time.temporal.ChronoField.SECOND_OF_MINUTE
    import java.util.logging.Formatter
    import java.util.logging.LogRecord
    
    /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  10. internal/logger/logonce.go

    	}
    	l.Unlock()
    
    	if shouldLog {
    		logIf(ctx, subsystem, err, errKind...)
    	}
    }
    
    // Cleanup the map every one hour so that the log message is printed again for the user to notice.
    func (l *logOnceType) cleanupRoutine() {
    	for {
    		time.Sleep(time.Hour)
    
    		l.Lock()
    		l.IDMap = make(map[string]onceErr)
    		l.Unlock()
    	}
    }
    
    // Returns logOnceType
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 3.8K bytes
    - Viewed (0)
Back to top