genLongPaths() — gin Function Reference
Architecture documentation for the genLongPaths() function in path_test.go from the gin codebase.
Entity Profile
Dependency Diagram
graph TD 0b350bc8_07be_9ad6_05c9_fcdccabcaeb5["genLongPaths()"] 33d21ba1_4c66_2d46_0ff8_8d473d5268b3["TestPathCleanLong()"] 33d21ba1_4c66_2d46_0ff8_8d473d5268b3 -->|calls| 0b350bc8_07be_9ad6_05c9_fcdccabcaeb5 54f4ea68_b378_0d7e_d93c_bb6959f2952c["BenchmarkPathCleanLong()"] 54f4ea68_b378_0d7e_d93c_bb6959f2952c -->|calls| 0b350bc8_07be_9ad6_05c9_fcdccabcaeb5 style 0b350bc8_07be_9ad6_05c9_fcdccabcaeb5 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
path_test.go lines 104–124
func genLongPaths() (testPaths []cleanPathTest) {
for i := 1; i <= 1234; i++ {
ss := strings.Repeat("a", i)
correctPath := "/" + ss
testPaths = append(testPaths, cleanPathTest{
path: correctPath,
result: correctPath,
}, cleanPathTest{
path: ss,
result: correctPath,
}, cleanPathTest{
path: "//" + ss,
result: correctPath,
}, cleanPathTest{
path: "/" + ss + "/b/..",
result: correctPath,
})
}
return
}
Domain
Subdomains
Source
Frequently Asked Questions
What does genLongPaths() do?
genLongPaths() is a function in the gin codebase.
What calls genLongPaths()?
genLongPaths() is called by 2 function(s): BenchmarkPathCleanLong, TestPathCleanLong.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free