MCPcopy Create free account
hub / github.com/F-Stack/f-stack / rdbSaveMillisecondTime

Function rdbSaveMillisecondTime

app/redis-6.2.6/src/rdb.c:127–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125}
126
127int rdbSaveMillisecondTime(rio *rdb, long long t) {
128 int64_t t64 = (int64_t) t;
129 memrev64ifbe(&t64); /* Store in little endian. */
130 return rdbWriteRaw(rdb,&t64,8);
131}
132
133/* This function loads a time from the RDB file. It gets the version of the
134 * RDB because, unfortunately, before Redis 5 (RDB version 9), the function

Callers 3

rdbSaveStreamPELFunction · 0.85
rdbSaveStreamConsumersFunction · 0.85
rdbSaveKeyValuePairFunction · 0.85

Calls 1

rdbWriteRawFunction · 0.85

Tested by

no test coverage detected