(args []ref.Val, result ref.Val)
| 755 | } |
| 756 | |
| 757 | func trackNetworkContainsIPIPCost(args []ref.Val, result ref.Val) *uint64 { |
| 758 | cidrSize := cost.ActualSize(args[0]) |
| 759 | total := cost.SafeMultiplyByFactor(cost.SafeAdd(cidrSize, cidrSize), cost.StringCostFactor) |
| 760 | return &total |
| 761 | } |
| 762 | |
| 763 | func trackNetworkContainsIPStringCost(args []ref.Val, result ref.Val) *uint64 { |
| 764 | cidrSize := cost.ActualSize(args[0]) |
nothing calls this directly
no test coverage detected