MCPcopy Index your code
hub / github.com/coder/coder / Len

Method Len

agent/agentssh/x11.go:578–581  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

576}
577
578func (e xauthEntry) Len() int {
579 // 5 * uint16 = 10 bytes for the family/length fields.
580 return 2*5 + len(e.address) + len(e.display) + len(e.authProtocol) + len(e.authCookie)
581}
582
583func readXauthEntry(r io.Reader) (xauthEntry, error) {
584 var entry xauthEntry

Callers 15

TestContextPartsFromDirFunction · 0.45
TestResolveFunction · 0.45
addXauthEntryFunction · 0.45
TestIntegrationDockerFunction · 0.45
TestAPIFunction · 0.45

Calls

no outgoing calls

Tested by 15

TestContextPartsFromDirFunction · 0.36
TestResolveFunction · 0.36
TestIntegrationDockerFunction · 0.36
TestAPIFunction · 0.36