- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 184 for expiresIn (0.25 sec)
-
src/net/http/cookiejar/jar.go
} // MaxAge takes precedence over Expires. if c.MaxAge < 0 { return e, true, nil } else if c.MaxAge > 0 { e.Expires = now.Add(time.Duration(c.MaxAge) * time.Second) e.Persistent = true } else { if c.Expires.IsZero() { e.Expires = endOfTime e.Persistent = false } else { if !c.Expires.After(now) { return e, true, nil } e.Expires = c.Expires e.Persistent = true }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 15K bytes - Viewed (0) -
pkg/queue/util.go
package queue import ( "fmt" "time" ) // WaitForClose blocks until the Instance has stopped processing tasks or the timeout expires. // If the timeout is zero, it will wait until the queue is done processing. // WaitForClose an error if the timeout expires. func WaitForClose(q Instance, timeout time.Duration) error { closed := q.Closed() if timeout == 0 { <-closed return nil }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jul 14 06:36:32 UTC 2022 - 1.1K bytes - Viewed (0) -
src/cmd/go/testdata/script/test_timeout_stdin.txt
[short] skip 'runs a test that hangs until its WaitDelay expires' ! go test -v -timeout=1m . # After the test process itself prints PASS and exits, # the kernel closes its stdin pipe to to the orphaned subprocess. # At that point, we expect the subprocess to print 'stdin closed' # and periodically log to stderr until the WaitDelay expires. # # Once the WaitDelay expires, the copying goroutine for 'go test' stops and
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 02 20:23:27 UTC 2023 - 2.2K bytes - Viewed (0) -
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(), )
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 108.6K bytes - Viewed (0) -
cmd/object-api-datatypes.go
Inlined bool DataBlocks int ParityBlocks int } // ExpiresStr returns a stringified version of Expires header in http.TimeFormat func (o ObjectInfo) ExpiresStr() string { var expires string if !o.Expires.IsZero() { expires = o.Expires.UTC().Format(http.TimeFormat) } return expires } // ArchiveInfo returns any saved zip archive meta information. // It will be decrypted if needed.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:31:51 UTC 2024 - 20.9K bytes - Viewed (0) -
internal/config/cache/remote_gen.go
case "CacheControl": z.CacheControl, err = dc.ReadString() if err != nil { err = msgp.WrapError(err, "CacheControl") return } case "Expires": z.Expires, err = dc.ReadString() if err != nil { err = msgp.WrapError(err, "Expires") return } case "Metadata": var zb0002 uint32 zb0002, err = dc.ReadMapHeader() if err != nil { err = msgp.WrapError(err, "Metadata")
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed Nov 22 21:46:17 UTC 2023 - 18.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/accesstoken/AdminAccesstokenAction.java
public static final String ROLE = "admin-accesstoken"; public static final String TOKEN = "token"; public static final String EXPIRES = "expires"; public static final String EXPIRED_TIME = "expiredTime"; // ===================================================================================
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 14.7K bytes - Viewed (0) -
src/net/http/header_test.go
nil, "Content-Length: 0\r\nContent-Length: 1\r\nContent-Length: 2\r\n", }, { Header{ "Expires": {"-1"}, "Content-Length": {"0"}, "Content-Encoding": {"gzip"}, }, map[string]bool{"Content-Length": true}, "Content-Encoding: gzip\r\nExpires: -1\r\n", }, { Header{ "Expires": {"-1"}, "Content-Length": {"0", "1", "2"}, "Content-Encoding": {"gzip"}, },
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 07 01:07:32 UTC 2022 - 6.1K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/expiry/AnyDaemonExpirationStrategyTest.groovy
private DaemonExpirationStrategy c2; def setup() { c1 = Mock(DaemonExpirationStrategy) c2 = Mock(DaemonExpirationStrategy) } def "expires when any child strategy expires"() { given: AnyDaemonExpirationStrategy agg = new AnyDaemonExpirationStrategy([c1, c2]) when: 1 * c1.checkExpiration() >> { new DaemonExpirationResult(c1Status, "r1") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 2.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java
// 0 expires ticker.advance(1, MILLISECONDS); assertThat(keySet).containsExactly(1, 2, 3, 4, 5, 6, 7, 8, 9); // reorder getAll(cache, asList(0, 1, 2)); CacheTesting.drainRecencyQueues(cache); ticker.advance(2, MILLISECONDS); assertThat(keySet).containsExactly(3, 4, 5, 6, 7, 8, 9, 0, 1, 2); // 3 expires ticker.advance(1, MILLISECONDS);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Aug 05 17:21:46 UTC 2022 - 18.7K bytes - Viewed (0)