- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 615 for secs (0.06 sec)
-
src/archive/tar/strconv.go
func formatPAXTime(ts time.Time) (s string) { secs, nsecs := ts.Unix(), ts.Nanosecond() if nsecs == 0 { return strconv.FormatInt(secs, 10) } // If seconds is negative, then perform correction. sign := "" if secs < 0 { sign = "-" // Remember sign secs = -(secs + 1) // Add a second to secs nsecs = -(nsecs - 1e9) // Take that second away from nsecs }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Aug 01 14:28:42 UTC 2023 - 9K bytes - Viewed (0) -
internal/http/dial_linux.go
_ = syscall.SetsockoptInt(fd, syscall.IPPROTO_TCP, syscall.TCP_KEEPCNT, 5) // Wait time after successful probe in seconds. // ~ cat /proc/sys/net/ipv4/tcp_keepalive_intvl (defaults to 75 secs, we reduce it to 15 secs) _ = syscall.SetsockoptInt(fd, syscall.IPPROTO_TCP, syscall.TCP_KEEPINTVL, 15) } // Set tcp user timeout in addition to the keep-alive - tcp-keepalive is not enough to close a socket
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jul 23 10:53:03 UTC 2024 - 5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/srvsvc.java
retval = (int)_src.dec_ndr_long(); } } public static class TimeOfDayInfo extends NdrObject { public int elapsedt; public int msecs; public int hours; public int mins; public int secs; public int hunds; public int timezone; public int tinterval; public int day; public int month; public int year;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 18.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/srvsvc.idl
int ServerGetInfo([in,string,unique] wchar_t *servername, [in] int level, [out,switch_is(level)] ServerInfo *info); typedef struct { uint32_t elapsedt; uint32_t msecs; uint32_t hours; uint32_t mins; uint32_t secs; uint32_t hunds; uint32_t timezone; uint32_t tinterval; uint32_t day; uint32_t month; uint32_t year; uint32_t weekday; } TimeOfDayInfo;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 2.2K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/srvsvc.java
} } public static class TimeOfDayInfo extends NdrObject { public int elapsedt; public int msecs; public int hours; public int mins; public int secs; public int hunds; public int timezone; public int tinterval; public int day; public int month; public int year;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:40:13 UTC 2019 - 19.9K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/srvsvc.idl
int ServerGetInfo([in,string,unique] wchar_t *servername, [in] int level, [out,switch_is(level)] ServerInfo *info); typedef struct { uint32_t elapsedt; uint32_t msecs; uint32_t hours; uint32_t mins; uint32_t secs; uint32_t hunds; uint32_t timezone; uint32_t tinterval; uint32_t day; uint32_t month; uint32_t year; uint32_t weekday; } TimeOfDayInfo;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 2.2K bytes - Viewed (0) -
internal/jwt/parser.go
return &StandardClaims{} } // SetIssuer sets issuer for these claims func (c *StandardClaims) SetIssuer(issuer string) { c.Issuer = issuer } // SetAudience sets audience for these claims func (c *StandardClaims) SetAudience(aud string) { c.Audience = aud } // SetExpiry sets expiry in unix epoch secs func (c *StandardClaims) SetExpiry(t time.Time) { c.ExpiresAt = t.Unix() }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 17 16:45:46 UTC 2024 - 14.1K bytes - Viewed (0) -
src/archive/zip/reader.go
ts := int64(attrBuf.uint64()) // ModTime since Windows epoch secs := ts / ticksPerSecond nsecs := (1e9 / ticksPerSecond) * (ts % ticksPerSecond) epoch := time.Date(1601, time.January, 1, 0, 0, 0, 0, time.UTC) modified = time.Unix(epoch.Unix()+secs, nsecs) } case unixExtraID, infoZipUnixExtraID: if len(fieldBuf) < 8 { continue parseExtras }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Sat Aug 03 01:05:29 UTC 2024 - 28.1K bytes - Viewed (0) -
cmd/admin-handlers.go
duration, err := time.ParseDuration(durationStr) if err != nil { duration = globalNetPerfMinDuration } if duration < globalNetPerfMinDuration { // We need sample size of minimum 10 secs. duration = globalNetPerfMinDuration } duration = duration.Round(time.Second) results, err := globalSiteReplicationSys.Netperf(ctx, duration) if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Oct 04 11:32:32 UTC 2024 - 99.7K bytes - Viewed (0) -
cmd/server-main.go
if debugNoExit { logger.Info("Not waiting for quorum since we are debugging.. possible cause unhealthy sets") logger.Info(result.String()) break } d := time.Duration(r.Float64() * float64(time.Second)) logger.Info("Waiting for quorum READ healthcheck to succeed retrying in %s.. possible cause unhealthy sets", d) logger.Info(result.String()) time.Sleep(d)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 24 21:50:11 UTC 2024 - 35.2K bytes - Viewed (1)