Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
P1
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cse332-20su-tasks
P1
Commits
40b60d4d
Commit
40b60d4d
authored
9 years ago
by
Michael Lee
Browse files
Options
Downloads
Plain Diff
Merge branch 'bugfix-jan-15' into 'master'
Fix disabling debug issue See merge request !4
parents
ce86ec25
75b5f77d
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/cse332/jazzlib/HuffmanCompressor.java
+4
-3
4 additions, 3 deletions
src/cse332/jazzlib/HuffmanCompressor.java
with
4 additions
and
3 deletions
src/cse332/jazzlib/HuffmanCompressor.java
+
4
−
3
View file @
40b60d4d
...
...
@@ -608,10 +608,11 @@ public class HuffmanCompressor
public
boolean
tallyDist
(
int
dist
,
int
len
)
{
if
(
DeflaterConstants
.
DEBUGGING
)
if
(
DeflaterConstants
.
DEBUGGING
)
{
System
.
err
.
println
(
"["
+
dist
+
", "
+
len
+
"]"
);
}
d_buf
[
last_lit
]
=
(
short
)
dist
;
d_buf
[
last_lit
]
=
(
short
)
dist
;
l_buf
[
last_lit
++]
=
(
byte
)
(
len
-
3
);
int
lc
=
l_code
(
len
-
3
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment