Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ROCK
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
Véronique LEGRAND
ROCK
Commits
2b3c50fa
Commit
2b3c50fa
authored
2 months ago
by
Veronique Legrand
Browse files
Options
Downloads
Patches
Plain Diff
fixed bug related to output value of lseek that happened only on very large files
parent
d9c2e782
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/FqAuxBackend.h
+1
-1
1 addition, 1 deletion
src/FqAuxBackend.h
src/FqMainBackend.cpp
+3
-2
3 additions, 2 deletions
src/FqMainBackend.cpp
with
4 additions
and
3 deletions
src/FqAuxBackend.h
+
1
−
1
View file @
2b3c50fa
...
...
@@ -14,7 +14,7 @@
class
FqAuxBackend
:
public
FqBaseBackend
{
unsigned
long
cur_offset
;
off_t
cur_offset
;
T_buf_info
buf_info
;
void
readBuffer
();
...
...
This diff is collapsed.
Click to expand it.
src/FqMainBackend.cpp
+
3
−
2
View file @
2b3c50fa
...
...
@@ -39,7 +39,7 @@
#define _FILE_OFFSET_BITS 64 // for portability reasons on 32bits systems.
//
#define DEBUG
#define DEBUG
#ifdef DEBUG
#include
<string.h>
...
...
@@ -62,7 +62,7 @@ FqMainBackend::FqMainBackend(srp * io_sr):FqBaseBackend() {
void
FqMainBackend
::
processFile
(
char
*
filename
,
unsigned
char
f_id
)
{
FILE
*
fp
;
int
nread
;
long
cur_offset
;
off_t
cur_offset
;
mode_t
mode
=
S_IRUSR
|
S_IWUSR
|
S_IRGRP
|
S_IROTH
;
this
->
i_filename
=
filename
;
this
->
f_id
=
f_id
;
...
...
@@ -93,6 +93,7 @@ void FqMainBackend::processFile(char * filename,unsigned char f_id) {
void
FqMainBackend
::
onEndFastqRecord
(
T_fq_rec_info
&
rec_info
,
const
T_buf_info
&
bufinfo
)
{
cout
<<
"finished processing read at iffset:"
<<
rec_info
.
rstart_offset
<<
endl
;
rpos
rp
=
init_rpos
(
f_id
,
rec_info
.
rstart_offset
);
rinfo
pe2info
;
int
nb_k_mer_PE2
;
...
...
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