MCPcopy Index your code
hub / github.com/RsyncProject/rsync / write_shortint

Function write_shortint

io.c:2149–2155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2147}
2148
2149void write_shortint(int f, unsigned short x)
2150{
2151 char b[2];
2152 b[0] = (char)x;
2153 b[1] = (char)(x >> 8);
2154 write_buf(f, b, 2);
2155}
2156
2157void write_int(int f, int32 x)
2158{

Callers 4

write_ndx_and_attrsFunction · 0.85
send_file_entryFunction · 0.85
write_end_of_flistFunction · 0.85
itemizeFunction · 0.85

Calls 1

write_bufFunction · 0.85

Tested by

no test coverage detected