git-2.22.0/sha1dc_git.c
/*
 * Same as SHA1DCUpdate, but adjust types to match git's usual interface.
 */
Same as SHA1DCUpdate, but adjust types to match git's usual interface.
Same as SHA1DCUpdate but adjust types to match git ' s usual interface .
void git_SHA1DCUpdate(SHA1_CTX *ctx, const void *vdata, unsigned long len)
{
	const char *data = vdata;
	while (len > INT_MAX) {
		SHA1DCUpdate(ctx, data, INT_MAX);
		data += INT_MAX;
		len -= INT_MAX;
	}
	SHA1DCUpdate(ctx, data, len);
}
void git_SHA1DCUpdate ( SHA1_CTX * ctx , const void * vdata , unsigned long len ) { const char * data = vdata ; while ( len > INT_MAX ) { SHA1DCUpdate ( ctx , data , INT_MAX ) ; data += INT_MAX ; len -= INT_MAX ; } SHA1DCUpdate ( ctx , data , len ) ; }
Same as SHA1DCUpdate, but adjust types to match git's usual interface.
Same as SHA1DCUpdate but adjust types to match git ' s usual interface .
/* We expect an unsigned long, but sha1dc only takes an int */