Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/segmentio/kafka-go
/ makeDuration
Function
makeDuration
time.go:28–30 ·
view source on GitHub ↗
(ms int32)
Source
from the content-addressed store, hash-verified
26
}
27
28
func
makeDuration(ms int32) time.Duration {
29
return
time.Duration(ms) * time.Millisecond
30
}
31
32
func
milliseconds(d time.Duration) int32 {
33
switch
{
Callers
15
Heartbeat
Method · 0.85
LeaveGroup
Method · 0.85
OffsetDelete
Method · 0.85
CreatePartitions
Method · 0.85
CreateACLs
Method · 0.85
AlterClientQuotas
Method · 0.85
AddOffsetsToTxn
Method · 0.85
TestDescribeUserScramCredentials
Function · 0.85
RawProduce
Method · 0.85
ReadBatchWith
Method · 0.85
DeleteTopics
Method · 0.85
Metadata
Method · 0.85
Calls
no outgoing calls
Tested by
1
TestDescribeUserScramCredentials
Function · 0.68
Used in the wild
real call sites across dependent graphs
searching dependent graphs…