- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 1,374 for TIME (0.06 sec)
-
android/guava/src/com/google/common/cache/ReferenceEntry.java
* New entries are added at the tail of the list at write time; stale entries are expired from * the head of the list. */ /** Returns the time that this entry was last accessed, in ns. */ @SuppressWarnings("GoodTime") long getAccessTime(); /** Sets the entry access time in ns. */ @SuppressWarnings("GoodTime") // b/122668874 void setAccessTime(long time); /** Returns the next entry in the access queue. */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 15 18:00:07 UTC 2021 - 3.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/TimeConversionUtilTest.java
final Time time = toSqlTime("11:49"); assertThat(new SimpleDateFormat("HH:mm:ss").format(time), is("11:49:00")); } /** * @throws Exception */ @Test public void testToTime_MediumStyle() throws Exception { final Time time = toSqlTime("11:49:10"); assertThat(new SimpleDateFormat("HH:mm:ss").format(time), is("11:49:10")); } /**
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 9.5K bytes - Viewed (0) -
internal/grid/muxserver.go
outBlock chan struct{} clientPingInterval time.Duration } func newMuxStateless(ctx context.Context, msg message, c *Connection, handler StatelessHandler) *muxServer { var cancel context.CancelFunc ctx = setCaller(ctx, c.remote) if msg.DeadlineMS > 0 { ctx, cancel = context.WithTimeout(ctx, time.Duration(msg.DeadlineMS)*time.Millisecond) } else { ctx, cancel = context.WithCancel(ctx) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jun 07 15:51:52 UTC 2024 - 9.7K bytes - Viewed (0) -
okcurl/src/main/kotlin/okhttp3/curl/logging/OneLineLogFormat.kt
package okhttp3.curl.logging 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
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Fri Apr 05 03:30:42 UTC 2024 - 2.1K bytes - Viewed (1) -
internal/bucket/bandwidth/monitor_test.go
package bandwidth import ( "reflect" "testing" "time" ) const ( oneMiB uint64 = 1024 * 1024 ) func TestMonitor_GetReport(t *testing.T) { type fields struct { activeBuckets map[BucketOptions]*bucketMeasurement endTime time.Time update2 uint64 endTime2 time.Time } start := time.Now() m0 := newBucketMeasurement(start) m0.incrementBytes(0)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Sep 06 03:21:59 UTC 2023 - 4.3K bytes - Viewed (0) -
cmd/listen-notification-handlers.go
if pingInterval < 1 { writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrInvalidQueryParams), r.URL) return } t := time.NewTicker(time.Duration(pingInterval) * time.Second) defer t.Stop() emptyEventTicker = t.C } else { // Deprecated Apr 2023 t := time.NewTicker(500 * time.Millisecond) defer t.Stop() keepAliveTicker = t.C } enc := json.NewEncoder(w) for { select {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 6K bytes - Viewed (0) -
internal/cachevalue/cache.go
} // Cache contains a synchronized value that is considered valid // for a specific amount of time. // An Update function must be set to provide an updated value when needed. type Cache[T any] struct { // updateFn must return an updated value. // If an error is returned the cached value is not set. // Only one caller will call this function at any time, others will be blocking. // The returned value can no longer be modified once returned.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 12:50:46 UTC 2024 - 4.4K bytes - Viewed (0) -
src/archive/zip/struct.go
offset = 0 } return time.FixedZone("", int(offset/time.Second)) } // msDosTimeToTime converts an MS-DOS date and time into a time.Time. // The resolution is 2s. // See: https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-dosdatetimetofiletime func msDosTimeToTime(dosDate, dosTime uint16) time.Time { return time.Date(
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue May 28 21:41:09 UTC 2024 - 12.1K bytes - Viewed (0) -
cmd/signature-v4-parser.go
if aec != ErrNone { return psv, aec } var e error // Save date in native time.Time. preSignV4Values.Date, e = time.Parse(iso8601Format, query.Get(xhttp.AmzDate)) if e != nil { return psv, ErrMalformedPresignedDate } // Save expires in native time.Duration. preSignV4Values.Expires, e = time.ParseDuration(query.Get(xhttp.AmzExpires) + "s") if e != nil { return psv, ErrMalformedExpires }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 9.4K bytes - Viewed (0) -
internal/amztime/iso8601_time.go
} // ISO8601Parse parses ISO8601 date string func ISO8601Parse(iso8601 string) (t time.Time, err error) { for _, layout := range []string{ iso8601TimeFormat, iso8601TimeFormatLong, time.RFC3339, } { t, err = time.Parse(layout, iso8601) if err == nil { return t, nil } } return t, err
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jan 16 23:38:33 UTC 2023 - 1.9K bytes - Viewed (0)