Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found
Select Git revision

Target

Select target project
  • hacc/genericio
  • mbuehlmann/genericio
2 results
Select Git revision
  • benchmarks
  • blosc2
  • chunks
  • io_layer
  • master
  • octree
  • sunspot-reproducer
  • sz_2.11.1
  • 20150608
  • 20160412
  • 20160829
  • 20170925
  • 20190417
  • 20230908
14 results
Show changes
Showing
with 17786 additions and 10563 deletions
......@@ -14,7 +14,7 @@
void checkfilesizec_(char *srcFilePath, int *len, size_t *filesize)
{
int i;
int i;
int status;
char s[*len+1];
for(i=0;i<*len;i++)
......@@ -25,7 +25,7 @@ void checkfilesizec_(char *srcFilePath, int *len, size_t *filesize)
void readbytefile_(char *srcFilePath, int *len, unsigned char *bytes, size_t *byteLength)
{
size_t i;
size_t i;
int ierr;
char s[*len+1];
for(i=0;i<*len;i++)
......@@ -38,12 +38,12 @@ void readbytefile_(char *srcFilePath, int *len, unsigned char *bytes, size_t *by
void readdoublefile_(char *srcFilePath, int *len, double *data, size_t *nbEle)
{
size_t i;
size_t i;
int ierr;
char s[*len+1];
for(i=0;i<*len;i++)
s[i]=srcFilePath[i];
s[*len]='\0';
s[*len]='\0';
double *tmp_data = readDoubleData(s, nbEle, &ierr);
memcpy(data, tmp_data, *nbEle);
free(tmp_data);
......@@ -51,7 +51,7 @@ void readdoublefile_(char *srcFilePath, int *len, double *data, size_t *nbEle)
void readfloatfile_(char *srcFilePath, int *len, float *data, size_t *nbEle)
{
size_t i;
size_t i;
int ierr;
char s[*len+1];
for(i=0;i<*len;i++)
......@@ -64,7 +64,7 @@ void readfloatfile_(char *srcFilePath, int *len, float *data, size_t *nbEle)
void writebytefile_(unsigned char *bytes, size_t *byteLength, char *tgtFilePath, int *len)
{
size_t i;
size_t i;
int ierr;
char s[*len+1];
for(i=0;i<*len;i++)
......@@ -80,13 +80,13 @@ void writedoublefile_(double *data, size_t *nbEle, char *tgtFilePath, int *len)
char s[*len+1];
for(i=0;i<*len;i++)
s[i]=tgtFilePath[i];
s[*len]='\0';
s[*len]='\0';
writeDoubleData(data, *nbEle, s, &ierr);
}
void writefloatfile_(float *data, size_t *nbEle, char *tgtFilePath, int *len)
{
size_t i;
size_t i;
int ierr;
char s[*len+1];
for(i=0;i<*len;i++)
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.