- Sort Score
- Result 10 results
- Languages All
Results 381 - 390 of 1,525 for tine (0.05 sec)
-
cmd/xl-storage-format-utils_test.go
}, MarkDeleted: false, NumVersions: 1, SuccessorModTime: time.Time{}, } xl := xlMetaV2{} var versions []FileInfo var allVersionIDs, freeVersionIDs []string for i := 0; i < 5; i++ { fi := basefi fi.VersionID = mustGetUUID() fi.DataDir = mustGetUUID() fi.ModTime = basefi.ModTime.Add(time.Duration(i) * time.Second) if err := xl.AddVersion(fi); err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 08 15:29:58 UTC 2024 - 7.1K bytes - Viewed (0) -
internal/grid/connection.go
var wsw wsWriter var lastSetDeadline time.Time // Helper to write everything in buf. // Return false if an error occurred and the connection is unusable. // Buffer will be reset empty when returning successfully. writeBuffer := func() (ok bool) { now := time.Now() // Only set write deadline once every second if now.Sub(lastSetDeadline) > time.Second {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 29 18:10:04 UTC 2024 - 46.7K bytes - Viewed (0) -
istioctl/pkg/util/formatting/msg_threshold.go
package formatting import ( "errors" "strings" "istio.io/istio/pkg/config/analysis/diag" ) // MessageThreshold is a wrapper around Level to be used as a cobra command line argument. // It should satisfy the pflag.Value interface. type MessageThreshold struct { diag.Level } // String is a function declared in the pflag.Value interface func (m *MessageThreshold) String() string {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Nov 17 12:28:05 UTC 2021 - 1.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComQueryInformationResponse.java
} /** * @param time * @return */ private long convertTime ( long time ) { return time + this.serverTimeZoneOffset; } @Override public long getLastWriteTime () { return convertTime(this.lastWriteTime); } @Override public long getLastAccessTime () { // Fake access time return convertTime(this.lastWriteTime);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 3.4K bytes - Viewed (0) -
cmd/signals.go
"context" "errors" "net/http" "os" "strings" "time" "github.com/coreos/go-systemd/v22/daemon" "github.com/minio/minio/internal/logger" ) func shutdownHealMRFWithTimeout() { const shutdownTimeout = time.Minute finished := make(chan struct{}) go func() { globalMRFState.shutdown() close(finished) }() select { case <-time.After(shutdownTimeout): case <-finished: } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Sep 04 17:02:39 UTC 2024 - 3.2K bytes - Viewed (0) -
cmd/data-scanner.go
go func() { r := rand.New(rand.NewSource(time.Now().UnixNano())) // Run the data scanner in a loop for { runDataScanner(ctx, objAPI) duration := time.Duration(r.Float64() * float64(scannerCycle.Load())) if duration < time.Second { // Make sure to sleep at least a second to avoid high CPU ticks. duration = time.Second } time.Sleep(duration) } }() }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 22 21:10:34 UTC 2024 - 48.4K bytes - Viewed (0) -
doc/go1.17_spec.html
<p> Given the declarations </p> <pre> type Point3D struct { x, y, z float64 } type Line struct { p, q Point3D } </pre> <p> one may write </p> <pre> origin := Point3D{} // zero value for Point3D line := Line{origin, Point3D{y: -4, z: 12.3}} // zero value for line.q.x </pre> <p> For array and slice literals the following rules apply: </p> <ul>
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Oct 10 18:25:45 UTC 2024 - 211.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/log/exbhv/FavoriteLogBhv.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) -
src/main/java/org/codelibs/fess/es/log/exbhv/UserInfoBhv.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) -
cmd/tier.go
const tierCfgRefresh = 15 * time.Minute r := rand.New(rand.NewSource(time.Now().UnixNano())) randInterval := func() time.Duration { return time.Duration(r.Float64() * 5 * float64(time.Second)) } // To avoid all MinIO nodes reading the tier config object at the same // time. t := time.NewTimer(tierCfgRefresh + randInterval()) defer t.Stop() for { select {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Sep 12 20:44:05 UTC 2024 - 15.7K bytes - Viewed (0)