Go to the source code of this file.
Macro Definition Documentation
Value:while(source [i] == ' ')\
{\
i++;\
}
Definition at line 33 of file makro.h.
#define BREAK_SPACE_IF_SIZE |
( |
|
i, |
|
|
|
size |
|
) |
| |
Value:while((source[i] == ' ' || source[i] == '\r' || source[i] == '\n') && i < size)\
{\
i++;\
}
Definition at line 39 of file makro.h.
#define CODING_AUTO_SIZE 32 |
#define CRW_LOG_SEPARATOR '\t' |
#define CUT_PROTOCOL_NAME_LONGLIST |
( |
|
str | ) |
|
Value:if (strstr(str, "http://www.") == str)\
{\
str += 11;\
}\
else if (strstr(str, "http://") == str)\
{\
str += 7;\
}\
else if (strstr(str, "https://www.") == str)\
{\
str += 12;\
}\
else if (strstr(str, "https://") == str)\
{\
str += 8;\
}\
else if (strstr(str, "cds://") == str)\
{\
str += 6;\
}
Definition at line 82 of file makro.h.
#define CUT_PROTOCOL_NAME_SHORTLIST |
( |
|
str | ) |
|
Value:if (strstr(str, "http://") == str)\
{\
str += 7;\
}\
else if (strstr(str, "https://") == str)\
{\
str += 8;\
}\
else if (strstr(str, "cds://") == str)\
{\
str += 6;\
}
Definition at line 104 of file makro.h.
#define DELL_BUFF |
( |
|
buff | ) |
|
Value:if (buff)\
{\
delete [] buff;\
buff = NULL;\
}
Definition at line 26 of file makro.h.
Value:if (ptr)\
{\
delete ptr;\
ptr = NULL;\
}
Definition at line 18 of file makro.h.
#define DELL_RES_SIZE 1024 * 1024 * 64 |
#define DIC_ATTEMPT_COUNT 4 |
Value:incr = 0;\
offsetIncr = 0;\
free(hCrcInsert);\
hCrcInsert = NULL;\
free(offsetInsert);\
offsetInsert = NULL;\
free(simClassInsert);\
simClassInsert = NULL;\
free(wordsSentencesInsert);\
wordsSentencesInsert = NULL;\
free(wordsLingIntegrityInsert);\
wordsLingIntegrityInsert = NULL;\
memset(typesOffset, 0, 16 * sizeof(unsigned int));\
typesPresenceMask = 0;\
typeOffset = 0;
Definition at line 138 of file makro.h.
#define PPOINT_DOC_TYPE 7 |
#define PREPARE_DOMEN |
( |
|
url | ) |
|
Value:i = 0;\
{\
url += 11;\
}\
{\
url += 7;\
}\
{\
url += 12;\
}\
{\
url += 8;\
}\
{\
url += 4;\
}\
while (url[i] != 0 && url[i] != '/')\
{\
i++;\
}
Definition at line 55 of file makro.h.
#define RETURN_IF_SIZE |
( |
|
y, |
|
|
|
buff |
|
) |
| |
Value:if (y >= size)\
{\
if (buff)\
{\
delete [] buff;\
}\
return;\
}
Definition at line 45 of file makro.h.
Value:
if (statistic)\
{\
statistic->SMTime += timer;\
statistic->SMCount++;\
}
Definition at line 131 of file makro.h.
#define TIME_END |
( |
|
str, |
|
|
|
count |
|
) |
| |
Value:gettimeofday(& tv , NULL);\
timer = (tv.tv_usec + tv.tv_sec * 1000000) - timer ;\
if(timer > count)\
Definition at line 11 of file makro.h.
Value:gettimeofday(& tv , NULL);\
timer = (tv.tv_usec + tv.tv_sec * 1000000);
Definition at line 6 of file makro.h.
#define TWO_LEVEL_20 1024 * 1024 |
#define UNKNOWN_DOC_TYPE 10 |