MCPcopy Index your code
hub / github.com/tinode/chat / max

Function max

server/utils.go:690–695  ·  view source on GitHub ↗
(a, b int)

Source from the content-addressed store, hash-verified

688}
689
690func max(a, b int) int {
691 if a > b {
692 return a
693 }
694 return b
695}
696
697// Truncate string if it's too long. Used in logging.
698func truncateStringIfTooLong(s string) string {

Callers 3

replyGetDescMethod · 0.85
calculateUnreadInRangesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected