- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for addPatterns (0.07 sec)
-
tensorflow/compiler/mlir/lite/transforms/legalize_tf.cc
rewriter.replaceOpWithNewOp<TF::SelectV2Op>(op, result_type, cond, lhs, rhs); return success(); } }; void addPatterns(MLIRContext* context, RewritePatternSet& patterns, bool preserve_assert_op) { // Add TF->TF lowering patterns. TF::PopulateLoweringTFPatterns(context, &patterns);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 20 20:06:54 UTC 2024 - 45.2K bytes - Viewed (0) -
src/net/http/routing_tree.go
children mapping[string, *routingNode] multiChild *routingNode // child with multi wildcard emptyChild *routingNode // optimization: child with key "" } // addPattern adds a pattern and its associated Handler to the tree // at root. func (root *routingNode) addPattern(p *pattern, h Handler) { // First level of tree is host. n := root.addChild(p.host) // Second level of tree is method. n = n.addChild(p.method)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 30 15:43:24 UTC 2024 - 7.5K bytes - Viewed (0) -
src/net/http/routing_tree_test.go
} return testTree } func buildTree(pats ...string) *routingNode { root := &routingNode{} for _, p := range pats { pat, err := parsePattern(p) if err != nil { panic(err) } root.addPattern(pat, nil) } return root } func TestRoutingAddPattern(t *testing.T) { want := `"": "": "a": "/a" "": "/a/{x}" "b":
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/server.go
pat, pat.loc, pat2, pat2.loc, d) } return nil }); err != nil { return err } mux.tree.addPattern(pat, handler) mux.index.addPattern(pat) mux.patterns = append(mux.patterns, pat) return nil } // Serve accepts incoming HTTP connections on the listener l,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 17:57:01 UTC 2024 - 123.4K bytes - Viewed (0)