Submit
Path:
~
/
/
opt
/
alt
/
postgresql11
/
usr
/
include
/
pgsql
/
server
/
snowball
/
libstemmer
/
File Content:
header.h
#include <limits.h> #include "api.h" #define MAXINT INT_MAX #define MININT INT_MIN #define HEAD 2*sizeof(int) #define SIZE(p) ((int *)(p))[-1] #define SET_SIZE(p, n) ((int *)(p))[-1] = n #define CAPACITY(p) ((int *)(p))[-2] struct among { int s_size; /* number of chars in string */ const symbol * s; /* search string */ int substring_i;/* index to longest matching substring */ int result; /* result of the lookup */ int (* function)(struct SN_env *); }; extern symbol * create_s(void); extern void lose_s(symbol * p); extern int skip_utf8(const symbol * p, int c, int lb, int l, int n); extern int in_grouping_U(struct SN_env * z, const unsigned char * s, int min, int max, int repeat); extern int in_grouping_b_U(struct SN_env * z, const unsigned char * s, int min, int max, int repeat); extern int out_grouping_U(struct SN_env * z, const unsigned char * s, int min, int max, int repeat); extern int out_grouping_b_U(struct SN_env * z, const unsigned char * s, int min, int max, int repeat); extern int in_grouping(struct SN_env * z, const unsigned char * s, int min, int max, int repeat); extern int in_grouping_b(struct SN_env * z, const unsigned char * s, int min, int max, int repeat); extern int out_grouping(struct SN_env * z, const unsigned char * s, int min, int max, int repeat); extern int out_grouping_b(struct SN_env * z, const unsigned char * s, int min, int max, int repeat); extern int eq_s(struct SN_env * z, int s_size, const symbol * s); extern int eq_s_b(struct SN_env * z, int s_size, const symbol * s); extern int eq_v(struct SN_env * z, const symbol * p); extern int eq_v_b(struct SN_env * z, const symbol * p); extern int find_among(struct SN_env * z, const struct among * v, int v_size); extern int find_among_b(struct SN_env * z, const struct among * v, int v_size); extern int replace_s(struct SN_env * z, int c_bra, int c_ket, int s_size, const symbol * s, int * adjustment); extern int slice_from_s(struct SN_env * z, int s_size, const symbol * s); extern int slice_from_v(struct SN_env * z, const symbol * p); extern int slice_del(struct SN_env * z); extern int insert_s(struct SN_env * z, int bra, int ket, int s_size, const symbol * s); extern int insert_v(struct SN_env * z, int bra, int ket, const symbol * p); extern symbol * slice_to(struct SN_env * z, symbol * p); extern symbol * assign_to(struct SN_env * z, symbol * p); extern void debug(struct SN_env * z, int number, int line_count);
Submit
FILE
FOLDER
Name
Size
Permission
Action
api.h
763 bytes
0644
header.h
2487 bytes
0644
stem_ISO_8859_1_danish.h
325 bytes
0644
stem_ISO_8859_1_dutch.h
322 bytes
0644
stem_ISO_8859_1_english.h
328 bytes
0644
stem_ISO_8859_1_finnish.h
328 bytes
0644
stem_ISO_8859_1_french.h
325 bytes
0644
stem_ISO_8859_1_german.h
325 bytes
0644
stem_ISO_8859_1_hungarian.h
334 bytes
0644
stem_ISO_8859_1_italian.h
328 bytes
0644
stem_ISO_8859_1_norwegian.h
334 bytes
0644
stem_ISO_8859_1_porter.h
325 bytes
0644
stem_ISO_8859_1_portuguese.h
337 bytes
0644
stem_ISO_8859_1_spanish.h
328 bytes
0644
stem_ISO_8859_1_swedish.h
328 bytes
0644
stem_ISO_8859_2_romanian.h
331 bytes
0644
stem_KOI8_R_russian.h
316 bytes
0644
stem_UTF_8_danish.h
310 bytes
0644
stem_UTF_8_dutch.h
307 bytes
0644
stem_UTF_8_english.h
313 bytes
0644
stem_UTF_8_finnish.h
313 bytes
0644
stem_UTF_8_french.h
310 bytes
0644
stem_UTF_8_german.h
310 bytes
0644
stem_UTF_8_hungarian.h
319 bytes
0644
stem_UTF_8_italian.h
313 bytes
0644
stem_UTF_8_norwegian.h
319 bytes
0644
stem_UTF_8_porter.h
310 bytes
0644
stem_UTF_8_portuguese.h
322 bytes
0644
stem_UTF_8_romanian.h
316 bytes
0644
stem_UTF_8_russian.h
313 bytes
0644
stem_UTF_8_spanish.h
313 bytes
0644
stem_UTF_8_swedish.h
313 bytes
0644
stem_UTF_8_turkish.h
313 bytes
0644
N4ST4R_ID | Naxtarrr