| line |
true |
false |
branch |
|
15
|
20 |
0 |
char *str = SvPVbyte(strsv, len); |
|
16
|
0 |
20 |
if (len != ULID_LEN) croak("invalid string length in encode_ulid: %d", len); |
|
61
|
40 |
0 |
char *randomness = SvPVbyte(randomnesssv, len); |
|
62
|
0 |
40 |
if (len == 0) croak("no randomness was fetched for build_binary_ulid"); |
|
70
|
240 |
40 |
for (i = ULID_TIME_LEN - 1; i >= 0; --i) { |
|
75
|
400 |
40 |
for (i = ULID_LEN - len, j = 0; i < ULID_LEN; ++i) { |
|
93
|
0 |
40 |
PUSHMARK(SP); |
|
95
|
20 |
20 |
if (items == 0) { |
|
100
|
0 |
20 |
if (count != 1) { |
|
107
|
0 |
20 |
EXTEND(SP, 1); |
|
115
|
0 |
20 |
if (count != 1) { |
|
133
|
0 |
60 |
PUSHMARK(SP); |
|
135
|
40 |
20 |
if (items == 0) { |
|
138
|
0 |
40 |
EXTEND(SP, 2); |
|
148
|
0 |
40 |
if (count != 1) { |
|
153
|
0 |
40 |
if (!SvIOK(*svp)) croak("Time::NVtime isn't a function pointer"); |
|
154
|
40 |
0 |
NV (*nvtime)() = INT2PTR(NV(*)(), SvIV(*svp)); |
|
159
|
0 |
20 |
EXTEND(SP, 1); |
|
167
|
0 |
20 |
if (count != 1) { |