- Sort Score
- Result 10 results
- Languages All
Results 381 - 390 of 1,556 for times (0.02 sec)
-
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) -
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) -
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) -
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/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) -
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) -
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/dsync/drwmutex_test.go
"fmt" "runtime" "sync/atomic" "testing" "time" ) const ( id = "1234-5678" source = "main.go" ) func testSimpleWriteLock(t *testing.T, duration time.Duration) (locked bool) { drwm1 := NewDRWMutex(ds, "simplelock") ctx1, cancel1 := context.WithCancel(context.Background()) if !drwm1.GetRLock(ctx1, cancel1, id, source, Options{Timeout: time.Second}) { panic("Failed to acquire read lock") }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Dec 24 03:49:07 UTC 2022 - 9.7K bytes - Viewed (0) -
cmd/object-handlers-common.go
return false } // returns true if object was modified after givenTime. func ifModifiedSince(objTime time.Time, givenTime time.Time) bool { // The Date-Modified header truncates sub-second precision, so // use mtime < t+1s instead of mtime <= t to check for unmodified. return objTime.After(givenTime.Add(1 * time.Second)) } // canonicalizeETag returns ETag with leading and trailing double-quotes removed, // if any present
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 03 06:33:53 UTC 2024 - 15.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/log/exbhv/ClickLogBhv.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.es.log.exbhv; import java.time.Instant; import java.time.LocalDateTime; import java.time.ZoneId; import java.time.format.DateTimeFormatter; import java.time.format.DateTimeParseException; import java.util.regex.Pattern; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.1K bytes - Viewed (0)