line |
true |
false |
branch |
20
|
0 |
87 |
if (sc_page_size < 0) { |
38
|
60 |
0 |
GIT_MMAP_VALIDATE(out, len, prot, flags); |
|
0 |
60 |
GIT_MMAP_VALIDATE(out, len, prot, flags); |
|
60 |
0 |
GIT_MMAP_VALIDATE(out, len, prot, flags); |
|
0 |
60 |
GIT_MMAP_VALIDATE(out, len, prot, flags); |
|
0 |
60 |
GIT_MMAP_VALIDATE(out, len, prot, flags); |
43
|
0 |
60 |
if (prot & GIT_PROT_WRITE) |
46
|
60 |
0 |
if ((flags & GIT_MAP_TYPE) == GIT_MAP_SHARED) |
48
|
0 |
0 |
else if ((flags & GIT_MAP_TYPE) == GIT_MAP_PRIVATE) |
55
|
60 |
0 |
if (!out->data || out->data == MAP_FAILED) { |
|
0 |
60 |
if (!out->data || out->data == MAP_FAILED) { |
67
|
0 |
60 |
GIT_ASSERT_ARG(map); |