Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Azure/peerd
/ functions
Functions
350 in github.com/Azure/peerd
⨍
Functions
350
◇
Types & classes
50
Function
TestParser
(t *testing.T)
pkg/urlparser/parser_test.go:11
Function
TestPartialContentResponseInP2PMode
(t *testing.T)
pkg/handlers/files/handler_test.go:28
Function
TestPercentilesFloat64Reverse
(t *testing.T)
tests/random/math/math_test.go:38
Function
TestPreadRemote
(t *testing.T)
pkg/discovery/content/reader/mocks/reader_test.go:33
Function
TestPreadRemoteUpstream
(t *testing.T)
pkg/discovery/content/reader/reader_test.go:26
Function
TestPrivKey
Add unit tests for all functions of peerstore.go.
pkg/peernet/mocks/peerstore_test.go:11
Function
TestPromMetrics_RecordPeerDiscovery
(t *testing.T)
pkg/metrics/prometheus_test.go:13
Function
TestPromMetrics_RecordPeerResponse
(t *testing.T)
pkg/metrics/prometheus_test.go:50
Function
TestPromMetrics_RecordRequest
(t *testing.T)
pkg/metrics/prometheus_test.go:93
Function
TestPromMetrics_RecordUpstreamResponse
(t *testing.T)
pkg/metrics/prometheus_test.go:132
Function
TestProvide
(t *testing.T)
pkg/discovery/routing/router_test.go:122
Function
TestProvide_ContextCancellation
(t *testing.T)
pkg/discovery/content/provider/provider_test.go:58
Function
TestProvide_Success
(t *testing.T)
pkg/discovery/content/provider/provider_test.go:15
Function
TestProvider
(t *testing.T)
pkg/discovery/routing/mocks/router_test.go:41
Function
TestPutAndGetSize
(t *testing.T)
pkg/cache/filecache_test.go:119
Function
TestRandomizedGroups
(t *testing.T)
tests/random/math/math_test.go:7
Function
TestRangeStartIndex
(t *testing.T)
pkg/context/context_test.go:156
Function
TestReadAt
(t *testing.T)
pkg/files/store/file_test.go:75
Function
TestReadAtWithChunkOffset
(t *testing.T)
pkg/files/store/file_test.go:17
Function
TestReadFromStart
(t *testing.T)
pkg/cache/item_test.go:66
Function
TestRegisterRoutes
(t *testing.T)
pkg/handlers/root_test.go:112
Function
TestResolve
(t *testing.T)
pkg/discovery/routing/router_test.go:69
Function
TestResolve
(t *testing.T)
pkg/discovery/routing/mocks/router_test.go:50
Function
TestResolveWithCache
(t *testing.T)
pkg/discovery/routing/router_test.go:30
Function
TestResolveWithNegativeCacheCallback
(t *testing.T)
pkg/discovery/routing/mocks/router_test.go:23
Function
TestReverseSort
(t *testing.T)
tests/random/math/reverse_test.go:10
Function
TestRoundTripperFor
(t *testing.T)
pkg/peernet/network_test.go:113
Function
TestRun
(t *testing.T)
cmd/proxy/main_test.go:26
Function
TestSeek
(t *testing.T)
pkg/files/store/file_test.go:127
Function
TestServerCommand_InvalidHttpsAddr
(t *testing.T)
cmd/proxy/main_test.go:87
Function
TestSetOutboundHeaders
(t *testing.T)
pkg/context/context_test.go:46
Function
TestSubscribe
(t *testing.T)
pkg/files/store/store_test.go:127
Function
TestSwap
(t *testing.T)
tests/random/math/reverse_test.go:50
Function
TestSyncMapAddDelete
(t *testing.T)
pkg/cache/syncmap_test.go:43
Function
TestSyncMapAddEvict
(t *testing.T)
pkg/cache/syncmap_test.go:18
Function
TestSyncMapBase
(t *testing.T)
pkg/cache/syncmap_test.go:11
Function
TestSyncMapUpdate
(t *testing.T)
pkg/cache/syncmap_test.go:76
Function
TestTransportFor
(t *testing.T)
pkg/peernet/network_test.go:40
Function
TestUnexpectedLeaderId
(t *testing.T)
pkg/k8s/election/election_test.go:106
Function
TestUrls
(t *testing.T)
pkg/urlparser/azure_test.go:61
Function
TestWithContext
(t *testing.T)
pkg/k8s/events/events_test.go:22
Function
TestWithContext
(t *testing.T)
pkg/metrics/interface_test.go:8
Function
TestWriteAll
(t *testing.T)
pkg/cache/item_test.go:32
Function
TestWriteAllTruncateFail
(t *testing.T)
pkg/cache/item_test.go:16
Method
UpdateAddrs
(p peer.ID, oldTTL time.Duration, newTTL time.Duration)
pkg/peernet/mocks/peerstore.go:135
Function
fileHandler
fileHandler is a handler function for the /blob API @Summary Get a blob by URL @Param url path string true "The URL of the blob" @Success 200 {string}
pkg/handlers/root.go:85
Function
init
()
cmd/proxy/main_test.go:18
Function
init
()
api/docs.go:65
Function
main
()
cmd/proxy/main.go:30
Function
main
()
tests/cmd/main.go:19
← previous
301–350 of 350, ranked by callers