MCPcopy Create free account
hub / github.com/chen3feng/toft / LeftShift

Method LeftShift

container/bitmap.h:219–223  ·  view source on GitHub ↗

Left shift all bits, fill 0 to the hollow

Source from the content-addressed store, hash-verified

217
218 /// Left shift all bits, fill 0 to the hollow
219 void LeftShift(size_t shift)
220 {
221 if (shift != 0)
222 DoLeftShift(Words(), Size(), shift);
223 }
224
225 /// Right shift all bits, fill 0 to the hollow
226 void RightShift(size_t shift)

Callers 1

TESTFunction · 0.80

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.64