Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/secdev/scapy
/ _pretty_time
Method
_pretty_time
scapy/modules/ticketer.py:1611–1612 ·
view source on GitHub ↗
(self, x)
Source
from the content-addressed store, hash-verified
1609
)
1610
1611
def
_pretty_time(self, x):
1612
return
self._TIME_FIELD.i2repr(None, x).rsplit(
" "
, 1)[0]
1613
1614
def
_utc_to_mstime(self, x):
1615
return
int((x - self._TIME_FIELD.delta) * 1e7)
Callers
2
_filetime_totime
Method · 0.95
_getClientInfo
Method · 0.95
Calls
1
i2repr
Method · 0.45
Tested by
no test coverage detected