MCPcopy Create free account
hub / github.com/davidgiven/fluxengine / d_fetchsl

Function d_fetchsl

dep/hfsutils/libhfs/data.c:267–276  ·  view source on GitHub ↗

* NAME: data->fetchsl() * DESCRIPTION: incrementally retrieve a signed long word of data */

Source from the content-addressed store, hash-verified

265 * DESCRIPTION: incrementally retrieve a signed long word of data
266 */
267void d_fetchsl(register const unsigned char **ptr,
268 register signed long *dest)
269{
270 *dest =
271 ((( signed long) (*ptr)[0] << 24) |
272 ((unsigned long) (*ptr)[1] << 16) |
273 ((unsigned long) (*ptr)[2] << 8) |
274 ((unsigned long) (*ptr)[3] << 0));
275 *ptr += 4;
276}
277
278/*
279 * NAME: data->fetchul()

Callers 5

l_getddrFunction · 0.85
l_getpmentryFunction · 0.85
l_getbbFunction · 0.85
l_getmdbFunction · 0.85
r_unpackcatdataFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected