Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
dcs_classifier
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
dcs_classifier
Commits
d585e848
Commit
d585e848
authored
Mar 08, 2014
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
larger seenmask has no advantage
parent
9703512b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
9 deletions
+1
-9
gen_dcs_classifier.pl
src/gen_dcs_classifier.pl
+1
-9
No files found.
src/gen_dcs_classifier.pl
View file @
d585e848
...
...
@@ -755,15 +755,7 @@ _VCL (F_CLASSIFIER_H, VCL_TOP, <<EOF);
/* tunable */
#define DCS_MAX_NEGMATCH_CAND 32
/*
*
we
need
a
huge
bitmask
to
mark which subkeys we have seen alread
y
in
order
to
*
avoid
the
effort
of
marking subkeys in the matchmask of potentially man
y
*
entries
.
As
,
for
all
practical
purposes
,
this
bitmask
will
always
be
larger
*
than
any
machine data type, we want to use the largest machine data
type
for
*
which
native
machine operators exist. This should be a
long
int
*
https:
//us
rmisc
.
wordpress
.
com
/2012/
12
/27/in
teger
-
sizes
-
in
-
c
-
on
-
32
-
bit
-
and
-
64
-
bit
-
linux
/
*/
typedef
unsigned
long
int
dcs_seenmask_t
;
typedef
unsigned
char
dcs_seenmask_t
;
/* values for the particular dcs db use to generate this code */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment