Skip to content

Commit

Permalink
Fix previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
flanglet committed Jan 20, 2024
1 parent eb02406 commit 96813f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion v2/io/CompressedStream.go
Original file line number Diff line number Diff line change
Expand Up @@ -1441,7 +1441,7 @@ func (this *decodingTask) decode(res *decodingTaskResult) {
}()

// Lock free synchronization
for {
for n := 0; ; n++ {
taskID := atomic.LoadInt32(this.processedBlockID)

if taskID == _CANCEL_TASKS_ID {
Expand Down
2 changes: 1 addition & 1 deletion v2/io/CompressedStream_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func TestCompressedStream(b *testing.T) {

for test := 1; test <= 20; test++ {
length := 65536 << uint(test%7)
fmt.Printf("\nIteration %v)\n", test)
fmt.Printf("\nIteration %v\n", test)

for i := range values {
values[i] = byte(rand.Intn(4*test + 1))
Expand Down

0 comments on commit 96813f9

Please sign in to comment.