File: ref_const_test.cdl

package info (click to toggle)
netcdf-parallel 1%3A4.6.2-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 101,668 kB
  • sloc: ansic: 200,241; sh: 10,807; yacc: 2,522; makefile: 1,306; lex: 1,153; xml: 173; awk: 2
file content (40 lines) | stat: -rw-r--r-- 701 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
netcdf ref_const_test {
dimensions:
  d3=3;
  d4=4;
variables:
    char charv;
    byte int8v(d4);
    short int16v(d3);
    int int32v(d3);
    int64 int64v(d3);
    ubyte uint8v(d4);
    ushort uint16v(d3);
    uint uint32v(d3);
    uint64 uint64v(d3);
    float floatv;
    double doublev;
data:

 charv = 'a';

 int8v = -5b, 5b, 0xaf, 'a';

 int16v = -2000s, 32767s, 0xabcdS;

 int32v = -200000, 256000, 0xabcdabcL;

 int64v = -200000000000L, 51200000000L, 0xabcdabcdabcdabcdL;

 uint8v = -5b, 5b, 0xaf, 'a';

 uint16v = -2000s, 65535s, 0xabcdS;

 uint32v = -200000, 256000, 0xabcdabcL;

 uint64v = -200000000000, 51200000000, 0xabcdabcdabcdabcdL;

 floatv = 516.0f;

 doublev = -77777777.8888;
}