capnproto

FORK: Cap'n Proto serialization/RPC system - core tools and C++ library
git clone https://git.neptards.moe/neptards/capnproto.git
Log | Files | Refs | README | LICENSE

pretty.txt (5289B)


      1 ( voidField = void,
      2   boolField = true,
      3   int8Field = -123,
      4   int16Field = -12345,
      5   int32Field = -12345678,
      6   int64Field = -123456789012345,
      7   uInt8Field = 234,
      8   uInt16Field = 45678,
      9   uInt32Field = 3456789012,
     10   uInt64Field = 12345678901234567890,
     11   float32Field = 1234.5,
     12   float64Field = -1.23e47,
     13   textField = "foo",
     14   dataField = "bar",
     15   structField = (
     16     voidField = void,
     17     boolField = true,
     18     int8Field = -12,
     19     int16Field = 3456,
     20     int32Field = -78901234,
     21     int64Field = 56789012345678,
     22     uInt8Field = 90,
     23     uInt16Field = 1234,
     24     uInt32Field = 56789012,
     25     uInt64Field = 345678901234567890,
     26     float32Field = -1.25e-10,
     27     float64Field = 345,
     28     textField = "baz",
     29     dataField = "qux",
     30     structField = (
     31       voidField = void,
     32       boolField = false,
     33       int8Field = 0,
     34       int16Field = 0,
     35       int32Field = 0,
     36       int64Field = 0,
     37       uInt8Field = 0,
     38       uInt16Field = 0,
     39       uInt32Field = 0,
     40       uInt64Field = 0,
     41       float32Field = 0,
     42       float64Field = 0,
     43       textField = "nested",
     44       structField = (
     45         voidField = void,
     46         boolField = false,
     47         int8Field = 0,
     48         int16Field = 0,
     49         int32Field = 0,
     50         int64Field = 0,
     51         uInt8Field = 0,
     52         uInt16Field = 0,
     53         uInt32Field = 0,
     54         uInt64Field = 0,
     55         float32Field = 0,
     56         float64Field = 0,
     57         textField = "really nested",
     58         enumField = foo,
     59         interfaceField = void ),
     60       enumField = foo,
     61       interfaceField = void ),
     62     enumField = baz,
     63     interfaceField = void,
     64     voidList = [void, void, void],
     65     boolList = [false, true, false, true, true],
     66     int8List = [12, -34, -128, 127],
     67     int16List = [1234, -5678, -32768, 32767],
     68     int32List = [12345678, -90123456, -2147483648, 2147483647],
     69     int64List = [123456789012345, -678901234567890, -9223372036854775808, 9223372036854775807],
     70     uInt8List = [12, 34, 0, 255],
     71     uInt16List = [1234, 5678, 0, 65535],
     72     uInt32List = [12345678, 90123456, 0, 4294967295],
     73     uInt64List = [123456789012345, 678901234567890, 0, 18446744073709551615],
     74     float32List = [0, 1234567, 1e37, -1e37, 1e-37, -1e-37],
     75     float64List = [0, 123456789012345, 1e306, -1e306, 1e-306, -1e-306],
     76     textList = ["quux", "corge", "grault"],
     77     dataList = ["garply", "waldo", "fred"],
     78     structList = [
     79       ( voidField = void,
     80         boolField = false,
     81         int8Field = 0,
     82         int16Field = 0,
     83         int32Field = 0,
     84         int64Field = 0,
     85         uInt8Field = 0,
     86         uInt16Field = 0,
     87         uInt32Field = 0,
     88         uInt64Field = 0,
     89         float32Field = 0,
     90         float64Field = 0,
     91         textField = "x structlist 1",
     92         enumField = foo,
     93         interfaceField = void ),
     94       ( voidField = void,
     95         boolField = false,
     96         int8Field = 0,
     97         int16Field = 0,
     98         int32Field = 0,
     99         int64Field = 0,
    100         uInt8Field = 0,
    101         uInt16Field = 0,
    102         uInt32Field = 0,
    103         uInt64Field = 0,
    104         float32Field = 0,
    105         float64Field = 0,
    106         textField = "x structlist 2",
    107         enumField = foo,
    108         interfaceField = void ),
    109       ( voidField = void,
    110         boolField = false,
    111         int8Field = 0,
    112         int16Field = 0,
    113         int32Field = 0,
    114         int64Field = 0,
    115         uInt8Field = 0,
    116         uInt16Field = 0,
    117         uInt32Field = 0,
    118         uInt64Field = 0,
    119         float32Field = 0,
    120         float64Field = 0,
    121         textField = "x structlist 3",
    122         enumField = foo,
    123         interfaceField = void ) ],
    124     enumList = [qux, bar, grault] ),
    125   enumField = corge,
    126   interfaceField = void,
    127   voidList = [void, void, void, void, void, void],
    128   boolList = [true, false, false, true],
    129   int8List = [111, -111],
    130   int16List = [11111, -11111],
    131   int32List = [111111111, -111111111],
    132   int64List = [1111111111111111111, -1111111111111111111],
    133   uInt8List = [111, 222],
    134   uInt16List = [33333, 44444],
    135   uInt32List = [3333333333],
    136   uInt64List = [11111111111111111111],
    137   float32List = [5555.5, inf, -inf, nan],
    138   float64List = [7777.75, inf, -inf, nan],
    139   textList = ["plugh", "xyzzy", "thud"],
    140   dataList = ["oops", "exhausted", "rfc3092"],
    141   structList = [
    142     ( voidField = void,
    143       boolField = false,
    144       int8Field = 0,
    145       int16Field = 0,
    146       int32Field = 0,
    147       int64Field = 0,
    148       uInt8Field = 0,
    149       uInt16Field = 0,
    150       uInt32Field = 0,
    151       uInt64Field = 0,
    152       float32Field = 0,
    153       float64Field = 0,
    154       textField = "structlist 1",
    155       enumField = foo,
    156       interfaceField = void ),
    157     ( voidField = void,
    158       boolField = false,
    159       int8Field = 0,
    160       int16Field = 0,
    161       int32Field = 0,
    162       int64Field = 0,
    163       uInt8Field = 0,
    164       uInt16Field = 0,
    165       uInt32Field = 0,
    166       uInt64Field = 0,
    167       float32Field = 0,
    168       float64Field = 0,
    169       textField = "structlist 2",
    170       enumField = foo,
    171       interfaceField = void ),
    172     ( voidField = void,
    173       boolField = false,
    174       int8Field = 0,
    175       int16Field = 0,
    176       int32Field = 0,
    177       int64Field = 0,
    178       uInt8Field = 0,
    179       uInt16Field = 0,
    180       uInt32Field = 0,
    181       uInt64Field = 0,
    182       float32Field = 0,
    183       float64Field = 0,
    184       textField = "structlist 3",
    185       enumField = foo,
    186       interfaceField = void ) ],
    187   enumList = [foo, garply] )