(estimator cost.Estimator, target *cost.AstNode, args []cost.AstNode)
| 699 | } |
| 700 | |
| 701 | func estimateNetworkContainsIPIPCost(estimator cost.Estimator, target *cost.AstNode, args []cost.AstNode) *cost.CallEstimate { |
| 702 | sz := cost.RangedSizeEstimate(4, 16) |
| 703 | ipCompCost := sz.Add(sz).MultiplyByCostFactor(cost.StringCostFactor) |
| 704 | return cost.NewCallEstimate(ipCompCost, nil) |
| 705 | } |
| 706 | |
| 707 | func estimateNetworkContainsIPStringCost(estimator cost.Estimator, target *cost.AstNode, args []cost.AstNode) *cost.CallEstimate { |
| 708 | if len(args) < 1 { |
nothing calls this directly
no test coverage detected