Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/IBM/sarama
/ Len
Method
Len
utils.go:22–24 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
20
type
int32Slice []int32
21
22
func
(slice int32Slice) Len() int {
23
return
len(slice)
24
}
25
26
func
(slice int32Slice) Less(i, j int) bool {
27
return
slice[i] < slice[j]
Callers
15
TestConsumerGroupDeadlock
Function · 0.45
TestTxnProduceBatchAddPartition
Function · 0.45
intersection
Function · 0.45
TestOffsetFetchRequestAddGroupPartition
Function · 0.45
TestOffsetFetchRequestAllPartitions
Function · 0.45
TestDecompress
Function · 0.45
TestClientCheckBrokersHealth
Function · 0.45
TestClientRefreshesMetadataConcurrently
Function · 0.45
TestUpdateBroker
Function · 0.45
TestJavaMurmur2PartitionerInterop
Function · 0.45
TestPreferredReplicaFetchResponse
Function · 0.45
TestOffsetFetchResponseAddGroupBlockV8
Function · 0.45
Calls
no outgoing calls
Tested by
15
TestConsumerGroupDeadlock
Function · 0.36
TestTxnProduceBatchAddPartition
Function · 0.36
intersection
Function · 0.36
TestOffsetFetchRequestAddGroupPartition
Function · 0.36
TestOffsetFetchRequestAllPartitions
Function · 0.36
TestDecompress
Function · 0.36
TestClientCheckBrokersHealth
Function · 0.36
TestClientRefreshesMetadataConcurrently
Function · 0.36
TestUpdateBroker
Function · 0.36
TestJavaMurmur2PartitionerInterop
Function · 0.36
TestPreferredReplicaFetchResponse
Function · 0.36
TestOffsetFetchResponseAddGroupBlockV8
Function · 0.36