Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
ADIOS2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue 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
Podhorszki, Norbert
ADIOS2
Commits
a4b914cd
Commit
a4b914cd
authored
7 years ago
by
Atkins, Charles Vernon
Committed by
GitHub
7 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #285 from chuckatkins/fix-c-test-data
Fix types used for test data in C bindings
parents
e29d5bd5
e5c64057
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
testing/adios2/bindings/C/SmallTestData_c.h
+20
-19
20 additions, 19 deletions
testing/adios2/bindings/C/SmallTestData_c.h
with
20 additions
and
19 deletions
testing/adios2/bindings/C/SmallTestData_c.h
+
20
−
19
View file @
a4b914cd
...
@@ -6,29 +6,30 @@
...
@@ -6,29 +6,30 @@
#ifndef TESTING_ADIOS2_BINDINGS_C_SMALLTESTDATA_C_H_
#ifndef TESTING_ADIOS2_BINDINGS_C_SMALLTESTDATA_C_H_
#define TESTING_ADIOS2_BINDINGS_C_SMALLTESTDATA_C_H_
#define TESTING_ADIOS2_BINDINGS_C_SMALLTESTDATA_C_H_
size_t
data_Nx
=
10
;
#include
<stdint.h>
char
data_I8
[
10
]
=
{
0
,
1
,
-
2
,
3
,
-
4
,
5
,
-
6
,
7
,
-
8
,
9
};
short
data_I16
[
10
]
=
{
512
,
513
,
-
510
,
515
,
-
508
,
517
,
-
506
,
519
,
-
504
,
521
};
int
data_I32
[
10
]
=
{
131072
,
131073
,
-
131070
,
131075
,
-
131068
,
131077
,
-
131066
,
131079
,
-
131064
,
131081
};
long
int
data_I64
[
10
]
=
{
8589934592
,
8589934593
,
-
8589934590
,
8589934595
,
-
8589934588
,
8589934597
,
-
8589934586
,
8589934599
,
-
8589934584
,
8589934601
};
unsigned
char
data_U8
[
10
]
=
{
128
,
129
,
130
,
131
,
132
,
133
,
134
,
135
,
136
,
137
}
;
size_t
data_Nx
=
10
;
unsigned
short
data_U16
[
10
]
=
{
32768
,
32769
,
32770
,
32771
,
32772
,
int8_t
data_I8
[
10
]
=
{
0
,
1
,
-
2
,
3
,
-
4
,
5
,
-
6
,
7
,
-
8
,
9
};
32773
,
32774
,
32775
,
32776
,
32777
};
int16_t
data_I16
[
10
]
=
{
512
,
513
,
-
510
,
515
,
-
508
,
517
,
-
506
,
519
,
-
504
,
521
};
int32_t
data_I32
[
10
]
=
{
131072
,
131073
,
-
131070
,
131075
,
-
131068
,
131077
,
-
131066
,
131079
,
-
131064
,
131081
};
int64_t
data_I64
[
10
]
=
{
8589934592
,
8589934593
,
-
8589934590
,
8589934595
,
-
8589934588
,
8589934597
,
-
8589934586
,
8589934599
,
-
8589934584
,
8589934601
};
unsigned
int
data_U32
[
10
]
=
{
2147483648
,
2147483649
,
2147483650
,
2147483651
,
uint8_t
data_U8
[
10
]
=
{
128
,
129
,
130
,
131
,
132
,
133
,
134
,
135
,
136
,
137
};
2147483652
,
2147483653
,
2147483654
,
2147483655
,
uint16_t
data_U16
[
10
]
=
{
32768
,
32769
,
32770
,
32771
,
32772
,
2147483656
,
2147483657
};
32773
,
32774
,
32775
,
32776
,
32777
};
uint32_t
data_U32
[
10
]
=
{
2147483648
,
2147483649
,
2147483650
,
2147483651
,
2147483652
,
2147483653
,
2147483654
,
2147483655
,
2147483656
,
2147483657
};
uint64_t
data_U64
[
10
]
=
{
9223372036854775808UL
,
9223372036854775809UL
,
9223372036854775810UL
,
9223372036854775811UL
,
9223372036854775812UL
,
9223372036854775813UL
,
9223372036854775814UL
,
9223372036854775815UL
,
9223372036854775816UL
,
9223372036854775817UL
};
unsigned
long
int
data_U64
[
10
]
=
{
9223372036854775808UL
,
9223372036854775809UL
,
9223372036854775810UL
,
9223372036854775811UL
,
9223372036854775812UL
,
9223372036854775813UL
,
9223372036854775814UL
,
9223372036854775815UL
,
9223372036854775816UL
,
9223372036854775817UL
};
float
data_R32
[
10
]
=
{
0
,
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
};
float
data_R32
[
10
]
=
{
0
,
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
};
double
data_R64
[
10
]
=
{
0
,
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
};
double
data_R64
[
10
]
=
{
0
,
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
};
...
...
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