created code for countRepeatedKeySize
WARNING: This will work only if you don't change textKeyChain gen, so pls don't
This commit is contained in:
parent
3efb4e6cd0
commit
09aa76a33d
@ -353,8 +353,14 @@ unsigned long countUnusedKeySize(char *text, char *key)
|
|||||||
|
|
||||||
unsigned long countRepeatedKeySize(UNUSED char *text, UNUSED char *key)
|
unsigned long countRepeatedKeySize(UNUSED char *text, UNUSED char *key)
|
||||||
{
|
{
|
||||||
//TODO: FIX
|
unsigned long returning = 0;
|
||||||
return 0;
|
|
||||||
|
if (strlen(key) < strlen(text))
|
||||||
|
{
|
||||||
|
returning = strlen(text) - strlen(key);
|
||||||
|
}
|
||||||
|
|
||||||
|
return returning;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned long compareTimeMicro(struct timeval startTime, struct timeval finishTime)
|
unsigned long compareTimeMicro(struct timeval startTime, struct timeval finishTime)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user