(id string)
| 828 | } |
| 829 | |
| 830 | func networkNominalCostModel(id string) cost.OverloadModel { |
| 831 | return cost.MemberOverload(id, |
| 832 | cost.EvalCost(cost.Const(cost.CallCost)), |
| 833 | cost.BeforeVersion(1, cost.ManualCost(estimateNetworkNominalCost, trackNetworkNominalCost)), |
| 834 | ) |
| 835 | } |
| 836 | |
| 837 | // networkCIDRLength returns the bounded length of a CIDR receiver (at most 16 bytes), which bounds |
| 838 | // the estimate for a receiver of unknown size without changing the runtime charge. |
no test coverage detected