Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/git/git
/ dec_mod
Function
dec_mod
add-patch.c:1586–1589 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1584
}
1585
1586
static size_t dec_mod(size_t a, size_t m)
1587
{
1588
return a > 0 ? a - 1 : m - 1;
1589
}
1590
1591
static size_t inc_mod(size_t a, size_t m)
1592
{
Callers
1
patch_update_file
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected