Home
last modified time | relevance | path

Searched refs:spam_hits (Results 1 – 25 of 35) sorted by relevance

12

/dports/mail/dspam/dspam-3.10.2/src/
H A Dlibdspam.c1290 ds_term->s.spam_hits -= (ds_term->s.spam_hits>0) ? 1:0; in _ds_process_signature()
1327 ds_term->s.spam_hits -= (ds_term->s.spam_hits>0) ? 1:0; in _ds_process_signature()
1360 ds_term->s.spam_hits++; in _ds_process_signature()
1530 (s->spam_hits * 1.0 / bnr_tot->spam_hits * 1.0) / in _ds_calc_stat()
1531 ((s->spam_hits * 1.0 / bnr_tot->spam_hits * 1.0) + in _ds_calc_stat()
2610 ds_term->s.spam_hits += 5; in _ds_increment_tokens()
2612 ds_term->s.spam_hits += 2; in _ds_increment_tokens()
2627 ds_term->s.spam_hits -= (ds_term->s.spam_hits>0) ? 1:0; in _ds_increment_tokens()
2635 ds_term->s.spam_hits++; in _ds_increment_tokens()
2690 ds_term->s.spam_hits = 0; in _ds_increment_tokens()
[all …]
H A Dsqlite_drv.c246 stat.spam_hits = 0; in _ds_getall_spamrecords()
268 ds_term->s.spam_hits = 0; in _ds_getall_spamrecords()
311 if (stat.spam_hits < 0) in _ds_getall_spamrecords()
312 stat.spam_hits = 0; in _ds_getall_spamrecords()
326 s->control_sh = ds_term->s.spam_hits; in _ds_getall_spamrecords()
338 s->control_sh = ds_term->s.spam_hits; in _ds_getall_spamrecords()
383 stat.spam_hits = 0; in _ds_setall_spamrecords()
388 stat.spam_hits = ds_term->s.spam_hits; in _ds_setall_spamrecords()
511 stat->spam_hits = 0; in _ds_get_spamrecord()
560 stat->spam_hits > 0 ? stat->spam_hits : 0, in _ds_set_spamrecord()
[all …]
H A Ddiction.c291 term->s.spam_hits = s->spam_hits; in ds_diction_setstat()
306 term->s.spam_hits += s->spam_hits; in ds_diction_addstat()
326 s->spam_hits = term->s.spam_hits; in ds_diction_getstat()
H A Dsqlite3_drv.c293 stat.spam_hits = 0; in _ds_getall_spamrecords()
317 ds_term->s.spam_hits = 0; in _ds_getall_spamrecords()
374 if (stat.spam_hits < 0) in _ds_getall_spamrecords()
375 stat.spam_hits = 0; in _ds_getall_spamrecords()
392 stat.spam_hits = 10; in _ds_getall_spamrecords()
499 stat.spam_hits > 0 ? 1 : 0, in _ds_setall_spamrecords()
545 control.spam_hits, control.innocent_hits, in _ds_setall_spamrecords()
584 stat->spam_hits = 0; in _ds_get_spamrecord()
601 stat->spam_hits = strtoul (row[0], NULL, 0); in _ds_get_spamrecord()
643 stat->spam_hits > 0 ? stat->spam_hits : 0, in _ds_set_spamrecord()
[all …]
H A Dmysql_drv.c821 stat.spam_hits = 0; in _ds_getall_spamrecords()
856 ds_term->s.spam_hits = 0; in _ds_getall_spamrecords()
937 stat.spam_hits = 10; in _ds_getall_spamrecords()
1037 if (control.spam_hits > s->control_sh) { in _ds_setall_spamrecords()
1131 stat.spam_hits > 0 ? 1 : 0, in _ds_setall_spamrecords()
1187 stat.spam_hits > 0 ? 1 : 0, in _ds_setall_spamrecords()
1253 control.spam_hits, control.innocent_hits, in _ds_setall_spamrecords()
1282 if (control.spam_hits > s->control_sh) { in _ds_setall_spamrecords()
1361 stat->spam_hits = 0; in _ds_get_spamrecord()
1394 stat->spam_hits = strtoul (row[0], NULL, 0); in _ds_get_spamrecord()
[all …]
H A Dhash_drv.c675 ds_term->s.spam_hits = 0; in _ds_getall_spamrecords()
731 if (ds_term->s.spam_hits > CTX->totals.spam_learned) in _ds_setall_spamrecords()
732 ds_term->s.spam_hits = CTX->totals.spam_learned; in _ds_setall_spamrecords()
764 stat->spam_hits = rec.spam & 0x0fffffff; in _ds_get_spamrecord()
780 rec.spam = (stat->spam_hits > 0) ? stat->spam_hits : 0; in _ds_set_spamrecord()
970 sr->spam_hits = stat.spam_hits; in _ds_get_nexttoken()
H A Dpgsql_drv.c662 stat.spam_hits = 0; in _ds_getall_spamrecords()
688 ds_term->s.spam_hits = 0; in _ds_getall_spamrecords()
749 stat.spam_hits = 10; in _ds_getall_spamrecords()
831 if (abs(control.spam_hits - s->control_sh) != 0) in _ds_setall_spamrecords()
833 if (control.spam_hits > s->control_sh) in _ds_setall_spamrecords()
940 insertValues[1] = stat.spam_hits > 0 ? "1" : "0"; in _ds_setall_spamrecords()
969 control.spam_hits, control.innocent_hits, in _ds_setall_spamrecords()
1043 stat->spam_hits = 0; in _ds_get_spamrecord()
1124 stat->spam_hits, stat->innocent_hits); in _ds_set_spamrecord()
1136 " AND token=%s", stat->spam_hits, in _ds_set_spamrecord()
[all …]
/dports/mail/dspam/dspam-3.10.2/src/tools.pgsql_drv/
H A Dpurge-pe.sql5 WHERE (innocent_hits*2) + spam_hits < 5
11 WHERE ((innocent_hits=1 AND spam_hits=0) OR (innocent_hits=0 AND spam_hits=1))
31 AND innocent_hits + spam_hits < 50
H A Dpurge.sql5 WHERE (innocent_hits*2) + spam_hits < 5
11 WHERE ((innocent_hits=1 AND spam_hits=0) OR (innocent_hits=0 AND spam_hits=1))
H A Dpgsql_objects.sql6 spam_hits INT, field
89 ALTER TABLE dspam_token_data ALTER spam_hits SET STATISTICS 200;
/dports/mail/dspam/dspam-3.10.2/src/tools.mysql_drv/
H A Dpurge-4.1.sql36 AND (2*innocent_hits)+spam_hits < 5;
46 AND innocent_hits = 0 AND spam_hits = 1;
56 AND innocent_hits = 1 AND spam_hits = 0;
81 AND innocent_hits + spam_hits < 50;
H A Dpurge.sql34 AND (2*innocent_hits)+spam_hits < 5;
42 AND innocent_hits = 0 AND spam_hits = 1;
50 AND innocent_hits = 1 AND spam_hits = 0;
H A Dmysql_objects-speed.sql11 spam_hits bigint unsigned not null, field
17 create index spam_hits on dspam_token_data(spam_hits); index
H A Dmysql_objects-space.sql11 spam_hits bigint unsigned not null, field
H A Dmysql_objects-4.1.sql11 spam_hits bigint unsigned not null, field
/dports/mail/dspam/dspam-3.10.2/src/tools/
H A Ddspam_dump.c208 s.spam_hits = sr->spam_hits; in dump_database()
213 sr->spam_hits, sr->innocent_hits, s.probability, in dump_database()
219 "date('now'))\n", sr->token, sr->spam_hits, sr->innocent_hits); in dump_database()
231 s.spam_hits, s.innocent_hits, s.probability); in dump_database()
H A Ddspam_clean.c376 s.spam_hits = sr->spam_hits; in process_probs()
440 if (!tum || sr->innocent_hits + sr->spam_hits < 50) in process_unused()
443 else if ((sr->innocent_hits*2) + sr->spam_hits < 5) in process_unused()
449 else if (sr->innocent_hits == 0 && sr->spam_hits == 1 && in process_unused()
454 else if (sr->innocent_hits == 1 && sr->spam_hits == 0 && in process_unused()
H A Ddspam_merge.c224 target->s.spam_hits += ds_term->s.spam_hits; in main()
/dports/mail/dspam/dspam-3.10.2/src/tools.sqlite_drv/
H A Dpurge-2.sql3 where (innocent_hits*2) + spam_hits < 5
6 where innocent_hits + spam_hits = 1
H A Dpurge-3.sql3 where (innocent_hits*2) + spam_hits < 5
6 where innocent_hits + spam_hits = 1
/dports/mail/rspamd/rspamd-3.1/lualib/
H A Drescore_utility.lua166 spam_hits = 0,
176 all_symbols_stats[sym].spam_hits = all_symbols_stats[sym].spam_hits + 1
220 symbol_stats.spam_percent = symbol_stats.spam_hits * 100 / no_of_spam
/dports/mail/rspamd-devel/rspamd-93430bb/lualib/
H A Drescore_utility.lua166 spam_hits = 0,
176 all_symbols_stats[sym].spam_hits = all_symbols_stats[sym].spam_hits + 1
220 symbol_stats.spam_percent = symbol_stats.spam_hits * 100 / no_of_spam
/dports/mail/rspamd-devel/rspamd-93430bb/utils/
H A Drspamd_stats.pl214 my $sh = $r->{spam_hits};
332 … printf "Top related in spam:\n %s\n", StringifyRelated( $spam_related, $r->{spam_hits} );
335 … StringifyRelated( $ham_related, $r->{hits} - $r->{spam_hits} - $r->{junk_hits} );
584 spam_hits => 0,
605 $r->{spam_hits}++;
/dports/mail/rspamd/rspamd-3.1/utils/
H A Drspamd_stats.pl214 my $sh = $r->{spam_hits};
332 … printf "Top related in spam:\n %s\n", StringifyRelated( $spam_related, $r->{spam_hits} );
335 … StringifyRelated( $ham_related, $r->{hits} - $r->{spam_hits} - $r->{junk_hits} );
584 spam_hits => 0,
605 $r->{spam_hits}++;
/dports/mail/dspam/dspam-3.10.2/
H A DUPGRADING58 CHANGE `spam_hits` `spam_hits` BIGINT UNSIGNED NOT NULL,
83 ADD INDEX(`spam_hits`,`innocent_hits`),
88 ADD INDEX(`spam_hits`,`innocent_hits`,`last_hit`);

12