Home
last modified time | relevance | path

Searched defs:routingNode (Results 1 – 2 of 2) sorted by relevance

/aosp_15_r20/prebuilts/go/linux-x86/src/net/http/
Drouting_tree.go27 type routingNode struct { struct
30 pattern *pattern
31 handler Handler
37 children mapping[string, *routingNode]
38 multiChild *routingNode // child with multi wildcard
39 emptyChild *routingNode // optimization: child with key ""
44 func (root *routingNode) addPattern(p *pattern, h Handler) {
56 func (n *routingNode) addSegments(segs []segment, p *pattern, h Handler) {
78 func (n *routingNode) set(p *pattern, h Handler) {
88 func (n *routingNode) addChild(key string) *routingNode {
[all …]
Dserver.go2691 func exactMatch(n *routingNode, path string) bool {