Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
2aa60d4e
Unverified
Commit
2aa60d4e
authored
Aug 28, 2018
by
Federico G. Schwindt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Whitespace
parent
59367a6c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
huffman_gen.py
bin/varnishtest/huffman_gen.py
+1
-1
No files found.
bin/varnishtest/huffman_gen.py
View file @
2aa60d4e
...
...
@@ -12,7 +12,7 @@ if len(sys.argv) != 2:
class
sym
:
def
__init__
(
self
,
bigval
,
bigvall
,
chr
=
0
,
esc
=
None
):
self
.
vall
=
bigvall
%
8
if
bigvall
%
8
else
8
self
.
vall
=
bigvall
%
8
if
bigvall
%
8
else
8
self
.
val
=
bigval
&
((
1
<<
self
.
vall
)
-
1
)
self
.
pfx
=
(
bigval
>>
self
.
vall
)
# & 0xff
self
.
chr
=
chr
...
...
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