- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 165 for asctime (0.05 sec)
-
okhttp/src/test/java/okhttp3/internal/http/HttpDateTest.kt
assertThat("Thursday, 01-Jan-70 00:00:00 GMT".toHttpDateOrNull()!!.time).isEqualTo(0L) assertThat("Friday, 06-Jun-14 12:30:30 GMT".toHttpDateOrNull()!!.time).isEqualTo(1402057830000L) // ANSI C's asctime(): should use GMT, not platform default. assertThat("Thu Jan 1 00:00:00 1970".toHttpDateOrNull()!!.time).isEqualTo(0L) assertThat("Fri Jun 6 12:30:30 2014".toHttpDateOrNull()!!.time).isEqualTo(1402057830000L) }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.9K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http/DateFormatting.kt
// RFC 822, updated by RFC 1123 with any TZ. "EEE, dd MMM yyyy HH:mm:ss zzz", // RFC 850, obsoleted by RFC 1036 with any TZ. "EEEE, dd-MMM-yy HH:mm:ss zzz", // ANSI C's asctime() format "EEE MMM d HH:mm:ss yyyy", // Alternative formats: "EEE, dd-MMM-yyyy HH:mm:ss z", "EEE, dd-MMM-yyyy HH-mm-ss z", "EEE, dd MMM yy HH:mm:ss z", "EEE dd-MMM-yyyy HH:mm:ss z",
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.1K bytes - Viewed (0) -
cmd/data-scanner-metric.go
atomic.AddUint64(&p.operations[s], 1) if s < scannerMetricLastRealtime { p.latency[s].addSize(duration, int64(sz)) } } } // incTime will increment time on metric s with a specific duration. // Use for s < scannerMetricLastRealtime func (p *scannerMetrics) incTime(s scannerMetric, d time.Duration) { atomic.AddUint64(&p.operations[s], 1) if s < scannerMetricLastRealtime { p.latency[s].add(d) } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 25 05:15:31 UTC 2023 - 9.1K bytes - Viewed (0) -
src/archive/tar/common.go
format.mustNotBe(FormatGNU) } isMtime := paxKey == paxMtime fitsOctal := fitsInOctal(size, ts.Unix()) if (isMtime && !fitsOctal) || !isMtime { whyNoUSTAR = fmt.Sprintf("USTAR cannot encode %s=%v", name, ts) format.mustNotBe(FormatUSTAR) } needsNano := ts.Nanosecond() != 0 if !isMtime || !fitsOctal || needsNano {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Sep 13 21:03:27 UTC 2024 - 24.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/interval/impl/HostIntervalController.java
} final AtomicLong lastTime = lastTimes.putIfAbsent(host, new AtomicLong(SystemUtil.currentTimeMillis())); if (lastTime == null) { return; } synchronized (lastTime) { while (true) { final long currentTime = SystemUtil.currentTimeMillis(); final long delayTime = lastTime.get() + delayMillisBeforeProcessing - currentTime;
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 3K bytes - Viewed (0) -
cmd/metacache-entries_test.go
} } func Test_metaCacheEntries_resolve(t *testing.T) { baseTime, err := time.Parse("2006/01/02", "2015/02/25") if err != nil { t.Fatal(err) } inputs := []xlMetaV2{ 0: { versions: []xlMetaV2ShallowVersion{ {header: xlMetaV2VersionHeader{ VersionID: [16]byte{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}, ModTime: baseTime.Add(30 * time.Minute).UnixNano(), Signature: [4]byte{1, 1, 1, 1},
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Jan 02 17:15:06 UTC 2022 - 31.6K bytes - Viewed (0) -
cmd/object-api-datatypes.go
PutObjReader: o.PutObjReader, metadataOnly: o.metadataOnly, versionOnly: o.versionOnly, keyRotation: o.keyRotation, AccTime: o.AccTime, Legacy: o.Legacy, VersionPurgeStatus: o.VersionPurgeStatus, NumVersions: o.NumVersions, SuccessorModTime: o.SuccessorModTime,
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jun 10 15:31:51 UTC 2024 - 20.9K bytes - Viewed (0) -
cmd/object-handlers-common.go
package cmd import ( "context" "fmt" "net/http" "regexp" "strconv" "strings" "time" "github.com/minio/minio/internal/amztime" "github.com/minio/minio/internal/bucket/lifecycle" "github.com/minio/minio/internal/event" "github.com/minio/minio/internal/hash" xhttp "github.com/minio/minio/internal/http" )
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 03 06:33:53 UTC 2024 - 15.3K bytes - Viewed (0) -
internal/amztime/parse_test.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. // Package amztime implements AWS specific time parsing and deviations package amztime import ( "errors" "testing" "time" ) func TestParse(t *testing.T) { type testCase struct { expectedErr error expectedTime time.Time
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Sep 07 14:24:54 UTC 2022 - 1.6K bytes - Viewed (0) -
istioctl/pkg/writer/pilot/status.go
case xdsstatus.ConfigStatus_NOT_SENT: return "NOT SENT" default: status := s.GetConfigStatus().String() if s.LastUpdated != nil { status += " (" + duration.HumanDuration(time.Since(s.LastUpdated.AsTime())) + ")" } return status } } func getSyncStatus(clientConfig *xdsstatus.ClientConfig) (cds, lds, eds, rds, ecds string) { // If type is not found at all, it is considered ignored
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jun 21 22:47:20 UTC 2024 - 6.5K bytes - Viewed (0)