- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for eachDir (0.08 sec)
-
src/net/http/routing_tree_test.go
fmt.Fprintf(w, "%s%q\n", indent, n.pattern) } if n.emptyChild != nil { fmt.Fprintf(w, "%s%q:\n", indent, "") n.emptyChild.print(w, level+1) } var keys []string n.children.eachPair(func(k string, _ *routingNode) bool { keys = append(keys, k) return true }) slices.Sort(keys) for _, k := range keys { fmt.Fprintf(w, "%s%q:\n", indent, k) n, _ := n.children.find(k)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 30 15:43:24 UTC 2024 - 7K bytes - Viewed (0) -
src/net/http/routing_tree.go
if methodSet["GET"] { methodSet["HEAD"] = true } } func (n *routingNode) matchingMethodsPath(path string, set map[string]bool) { if n == nil { return } n.children.eachPair(func(method string, c *routingNode) bool { if p, _ := c.matchPath(path, nil); p != nil { set[method] = true } return true }) // Don't look at the empty child. If there were an empty
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 30 15:43:24 UTC 2024 - 7.5K bytes - Viewed (0)