MCPcopy Create free account
hub / github.com/ctfu/Leetcode / shouldPrintMessage

Method shouldPrintMessage

algorithm/loggerRateLimiter.java:12–22  ·  view source on GitHub ↗

Returns true if the message should be printed in the given timestamp, otherwise returns false. If this method returns false, the message will not be printed. The timestamp is in seconds granularity.

(int timestamp, String message)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

getMethod · 0.45
putMethod · 0.45

Tested by

no test coverage detected