(s)
| 3044 | return s < x ? 0 : ((s - 1) >>> w) << w |
| 3045 | } |
| 3046 | function OrderedMap(s) { |
| 3047 | return null == s |
| 3048 | ? emptyOrderedMap() |
| 3049 | : isOrderedMap(s) |
| 3050 | ? s |
| 3051 | : emptyOrderedMap().withMutations(function (o) { |
| 3052 | var i = KeyedIterable(s) |
| 3053 | ;(assertNotInfinite(i.size), |
| 3054 | i.forEach(function (s, i) { |
| 3055 | return o.set(i, s) |
| 3056 | })) |
| 3057 | }) |
| 3058 | } |
| 3059 | function isOrderedMap(s) { |
| 3060 | return isMap(s) && isOrdered(s) |
| 3061 | } |
no test coverage detected