Function
increaseInsertionIndex
(indexBitmap, maskPosition)
Source from the content-addressed store, hash-verified
| 146943 | return index; |
| 146944 | } |
| 146945 | function increaseInsertionIndex(indexBitmap, maskPosition) { |
| 146946 | var value = ((indexBitmap >> maskPosition) & mask) + 1; |
| 146947 | ts.Debug.assert((value & mask) === value, "Adding more rules into the sub-bucket than allowed. Maximum allowed is 32 rules."); |
| 146948 | return (indexBitmap & ~(mask << maskPosition)) | (value << maskPosition); |
| 146949 | } |
| 146950 | })(formatting = ts.formatting || (ts.formatting = {})); |
| 146951 | })(ts || (ts = {})); |
| 146952 | /* @internal */ |
Tested by
no test coverage detected