MCPcopy Create free account
hub / github.com/git/git / st_left_shift

Function st_left_shift

git-compat-util.h:661–667  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

659}
660
661static inline size_t st_left_shift(size_t a, unsigned shift)
662{
663 if (unsigned_left_shift_overflows(a, shift))
664 die("size_t overflow: %"PRIuMAX" << %u",
665 (uintmax_t)a, shift);
666 return a << shift;
667}
668
669static inline unsigned long cast_size_t_to_ulong(size_t a)
670{

Callers 2

get_delta_hdr_sizeFunction · 0.85

Calls 1

dieFunction · 0.70

Tested by

no test coverage detected