MCPcopy
hub / github.com/cloudflare/cloudflared / Len

Method Len

connection/header_test.go:62–62  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

60type ByName []HTTPHeader
61
62func (a ByName) Len() int { return len(a) }
63func (a ByName) Swap(i, j int) { a[i], a[j] = a[j], a[i] }
64func (a ByName) Less(i, j int) bool {
65 if a[i].Name == a[j].Name {

Callers 15

TestSerializeHeadersFunction · 0.80
SerializeHeadersFunction · 0.80
marshalMethod · 0.80
marshalMethod · 0.80
runIngressTestScenariosFunction · 0.80
TestManagerAddAndRemoveFunction · 0.80
TestManagerDuplicateFunction · 0.80
ReadMethod · 0.80
TestParseRequestHeadersFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected