MCPcopy
hub / github.com/labstack/echo / generateAddressList

Function generateAddressList

middleware/rate_limiter_test.go:462–468  ·  view source on GitHub ↗
(count int)

Source from the content-addressed store, hash-verified

460}
461
462func generateAddressList(count int) []string {
463 addrs := make([]string, count)
464 for i := range count {
465 addrs[i] = randomString(15)
466 }
467 return addrs
468}
469
470func run(wg *sync.WaitGroup, store RateLimiterStore, addrs []string, max int, b *testing.B) {
471 for i := 0; i < b.N; i++ {

Callers 1

benchmarkStoreFunction · 0.85

Calls 1

randomStringFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…