Commit 51e4b340 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 5438d55d
......@@ -160,13 +160,13 @@ def main():
plen = dh.plen
if plen == 0:
rawdata = p64(dh.back) # back-pointer or 0 (= delete)
data = "[]byte(%s)" % escapeqq(drec.data) # XXX vs .data = None ?
data = "/* from %s */ []byte(%s)" % (hex64(drec.data_txn), escapeqq(drec.data)) # XXX vs .data = None ?
else:
rawdata = drec.data
data = "nil"
data = "/* same as ^^^ */ nil"
emit("\t\t\t\t[]byte(%s)," % escapeqq(rawdata))
emit("\t\t\t\t%s /* same as ^^^ */," % data)
emit("\t\t\t\t%s," % data)
emit("\t\t\t},")
emit("\t\t},")
......
......@@ -34,7 +34,7 @@ var _1fs_dbEntryv = [...]dbEntry{
DataLen: 60,
},
[]byte("(cpersistent.mapping\nPersistentMapping\nq\x01Nt.}q\x02U\x04dataq\x03}q\x04s."),
nil /* same as ^^^ */,
/* same as ^^^ */ nil,
},
},
},
......@@ -58,7 +58,7 @@ var _1fs_dbEntryv = [...]dbEntry{
DataLen: 95,
},
[]byte("cpersistent.mapping\nPersistentMapping\nq\x01.}q\x02U\x04dataq\x03}q\x04U\x01f(U\x08\x00\x00\x00\x00\x00\x00\x00\x01q\x05c__main__\nObject\nq\x06tQss."),
nil /* same as ^^^ */,
/* same as ^^^ */ nil,
},
{
DataHeader{
......@@ -69,7 +69,7 @@ var _1fs_dbEntryv = [...]dbEntry{
DataLen: 29,
},
[]byte("c__main__\nObject\nq\x01.U\x04f0.0q\x02."),
nil /* same as ^^^ */,
/* same as ^^^ */ nil,
},
},
},
......@@ -93,7 +93,7 @@ var _1fs_dbEntryv = [...]dbEntry{
DataLen: 29,
},
[]byte("c__main__\nObject\nq\x01.U\x04f0.1q\x02."),
nil /* same as ^^^ */,
/* same as ^^^ */ nil,
},
},
},
......@@ -117,7 +117,7 @@ var _1fs_dbEntryv = [...]dbEntry{
DataLen: 116,
},
[]byte("cpersistent.mapping\nPersistentMapping\nq\x01.}q\x02U\x04dataq\x03}q\x04(U\x01c(U\x08\x00\x00\x00\x00\x00\x00\x00\x02q\x05c__main__\nObject\nq\x06tQU\x01f(U\x08\x00\x00\x00\x00\x00\x00\x00\x01q\x07h\x06tQus."),
nil /* same as ^^^ */,
/* same as ^^^ */ nil,
},
{
DataHeader{
......@@ -128,7 +128,7 @@ var _1fs_dbEntryv = [...]dbEntry{
DataLen: 29,
},
[]byte("c__main__\nObject\nq\x01.U\x04c0.2q\x02."),
nil /* same as ^^^ */,
/* same as ^^^ */ nil,
},
},
},
......@@ -152,7 +152,7 @@ var _1fs_dbEntryv = [...]dbEntry{
DataLen: 136,
},
[]byte("cpersistent.mapping\nPersistentMapping\nq\x01.}q\x02U\x04dataq\x03}q\x04(U\x01c(U\x08\x00\x00\x00\x00\x00\x00\x00\x02q\x05c__main__\nObject\nq\x06tQU\x01b(U\x08\x00\x00\x00\x00\x00\x00\x00\x03q\x07h\x06tQU\x01f(U\x08\x00\x00\x00\x00\x00\x00\x00\x01q\x08h\x06tQus."),
nil /* same as ^^^ */,
/* same as ^^^ */ nil,
},
{
DataHeader{
......@@ -163,7 +163,7 @@ var _1fs_dbEntryv = [...]dbEntry{
DataLen: 29,
},
[]byte("c__main__\nObject\nq\x01.U\x04b0.3q\x02."),
nil /* same as ^^^ */,
/* same as ^^^ */ nil,
},
},
},
......@@ -187,7 +187,7 @@ var _1fs_dbEntryv = [...]dbEntry{
DataLen: 156,
},
[]byte("cpersistent.mapping\nPersistentMapping\nq\x01.}q\x02U\x04dataq\x03}q\x04(U\x01c(U\x08\x00\x00\x00\x00\x00\x00\x00\x02q\x05c__main__\nObject\nq\x06tQU\x01b(U\x08\x00\x00\x00\x00\x00\x00\x00\x03q\x07h\x06tQU\x01d(U\x08\x00\x00\x00\x00\x00\x00\x00\x04q\x08h\x06tQU\x01f(U\x08\x00\x00\x00\x00\x00\x00\x00\x01q\th\x06tQus."),
nil /* same as ^^^ */,
/* same as ^^^ */ nil,
},
{
DataHeader{
......@@ -198,7 +198,7 @@ var _1fs_dbEntryv = [...]dbEntry{
DataLen: 29,
},
[]byte("c__main__\nObject\nq\x01.U\x04d0.4q\x02."),
nil /* same as ^^^ */,
/* same as ^^^ */ nil,
},
},
},
......@@ -222,7 +222,7 @@ var _1fs_dbEntryv = [...]dbEntry{
DataLen: 29,
},
[]byte("c__main__\nObject\nq\x01.U\x04c0.5q\x02."),
nil /* same as ^^^ */,
/* same as ^^^ */ nil,
},
},
},
......@@ -246,7 +246,7 @@ var _1fs_dbEntryv = [...]dbEntry{
DataLen: 29,
},
[]byte("c__main__\nObject\nq\x01.U\x04f0.6q\x02."),
nil /* same as ^^^ */,
/* same as ^^^ */ nil,
},
},
},
......@@ -270,7 +270,7 @@ var _1fs_dbEntryv = [...]dbEntry{
DataLen: 29,
},
[]byte("c__main__\nObject\nq\x01.U\x04c0.7q\x02."),
nil /* same as ^^^ */,
/* same as ^^^ */ nil,
},
},
},
......@@ -294,7 +294,7 @@ var _1fs_dbEntryv = [...]dbEntry{
DataLen: 29,
},
[]byte("c__main__\nObject\nq\x01.U\x04d0.8q\x02."),
nil /* same as ^^^ */,
/* same as ^^^ */ nil,
},
},
},
......@@ -318,7 +318,7 @@ var _1fs_dbEntryv = [...]dbEntry{
DataLen: 176,
},
[]byte("cpersistent.mapping\nPersistentMapping\nq\x01.}q\x02U\x04dataq\x03}q\x04(U\x01c(U\x08\x00\x00\x00\x00\x00\x00\x00\x02q\x05c__main__\nObject\nq\x06tQU\x01b(U\x08\x00\x00\x00\x00\x00\x00\x00\x03q\x07h\x06tQU\x01e(U\x08\x00\x00\x00\x00\x00\x00\x00\x05q\x08h\x06tQU\x01d(U\x08\x00\x00\x00\x00\x00\x00\x00\x04q\th\x06tQU\x01f(U\x08\x00\x00\x00\x00\x00\x00\x00\x01q\nh\x06tQus."),
nil /* same as ^^^ */,
/* same as ^^^ */ nil,
},
{
DataHeader{
......@@ -329,7 +329,7 @@ var _1fs_dbEntryv = [...]dbEntry{
DataLen: 29,
},
[]byte("c__main__\nObject\nq\x01.U\x04e0.9q\x02."),
nil /* same as ^^^ */,
/* same as ^^^ */ nil,
},
},
},
......@@ -353,7 +353,7 @@ var _1fs_dbEntryv = [...]dbEntry{
DataLen: 196,
},
[]byte("cpersistent.mapping\nPersistentMapping\nq\x01.}q\x02U\x04dataq\x03}q\x04(U\x01c(U\x08\x00\x00\x00\x00\x00\x00\x00\x02q\x05c__main__\nObject\nq\x06tQU\x01b(U\x08\x00\x00\x00\x00\x00\x00\x00\x03q\x07h\x06tQU\x01e(U\x08\x00\x00\x00\x00\x00\x00\x00\x05q\x08h\x06tQU\x01d(U\x08\x00\x00\x00\x00\x00\x00\x00\x04q\th\x06tQU\x01g(U\x08\x00\x00\x00\x00\x00\x00\x00\x06q\nh\x06tQU\x01f(U\x08\x00\x00\x00\x00\x00\x00\x00\x01q\x0bh\x06tQus."),
nil /* same as ^^^ */,
/* same as ^^^ */ nil,
},
{
DataHeader{
......@@ -364,7 +364,7 @@ var _1fs_dbEntryv = [...]dbEntry{
DataLen: 30,
},
[]byte("c__main__\nObject\nq\x01.U\x05g0.10q\x02."),
nil /* same as ^^^ */,
/* same as ^^^ */ nil,
},
},
},
......@@ -388,7 +388,7 @@ var _1fs_dbEntryv = [...]dbEntry{
DataLen: 30,
},
[]byte("c__main__\nObject\nq\x01.U\x05d0.11q\x02."),
nil /* same as ^^^ */,
/* same as ^^^ */ nil,
},
},
},
......@@ -412,7 +412,7 @@ var _1fs_dbEntryv = [...]dbEntry{
DataLen: 30,
},
[]byte("c__main__\nObject\nq\x01.U\x05b0.12q\x02."),
nil /* same as ^^^ */,
/* same as ^^^ */ nil,
},
},
},
......@@ -436,7 +436,7 @@ var _1fs_dbEntryv = [...]dbEntry{
DataLen: 30,
},
[]byte("c__main__\nObject\nq\x01.U\x05f0.13q\x02."),
nil /* same as ^^^ */,
/* same as ^^^ */ nil,
},
},
},
......@@ -460,7 +460,7 @@ var _1fs_dbEntryv = [...]dbEntry{
DataLen: 30,
},
[]byte("c__main__\nObject\nq\x01.U\x05e0.14q\x02."),
nil /* same as ^^^ */,
/* same as ^^^ */ nil,
},
},
},
......@@ -484,7 +484,7 @@ var _1fs_dbEntryv = [...]dbEntry{
DataLen: 30,
},
[]byte("c__main__\nObject\nq\x01.U\x05b0.15q\x02."),
nil /* same as ^^^ */,
/* same as ^^^ */ nil,
},
},
},
......@@ -508,7 +508,7 @@ var _1fs_dbEntryv = [...]dbEntry{
DataLen: 30,
},
[]byte("c__main__\nObject\nq\x01.U\x05g0.16q\x02."),
nil /* same as ^^^ */,
/* same as ^^^ */ nil,
},
},
},
......@@ -532,7 +532,7 @@ var _1fs_dbEntryv = [...]dbEntry{
DataLen: 30,
},
[]byte("c__main__\nObject\nq\x01.U\x05g0.17q\x02."),
nil /* same as ^^^ */,
/* same as ^^^ */ nil,
},
},
},
......@@ -556,7 +556,7 @@ var _1fs_dbEntryv = [...]dbEntry{
DataLen: 30,
},
[]byte("c__main__\nObject\nq\x01.U\x05f0.18q\x02."),
nil /* same as ^^^ */,
/* same as ^^^ */ nil,
},
},
},
......@@ -580,7 +580,7 @@ var _1fs_dbEntryv = [...]dbEntry{
DataLen: 30,
},
[]byte("c__main__\nObject\nq\x01.U\x05g0.19q\x02."),
nil /* same as ^^^ */,
/* same as ^^^ */ nil,
},
},
},
......@@ -604,7 +604,7 @@ var _1fs_dbEntryv = [...]dbEntry{
DataLen: 30,
},
[]byte("c__main__\nObject\nq\x01.U\x05c0.20q\x02."),
nil /* same as ^^^ */,
/* same as ^^^ */ nil,
},
},
},
......@@ -628,7 +628,7 @@ var _1fs_dbEntryv = [...]dbEntry{
DataLen: 30,
},
[]byte("c__main__\nObject\nq\x01.U\x05f0.21q\x02."),
nil /* same as ^^^ */,
/* same as ^^^ */ nil,
},
},
},
......@@ -652,7 +652,7 @@ var _1fs_dbEntryv = [...]dbEntry{
DataLen: 30,
},
[]byte("c__main__\nObject\nq\x01.U\x05g0.22q\x02."),
nil /* same as ^^^ */,
/* same as ^^^ */ nil,
},
},
},
......@@ -676,7 +676,7 @@ var _1fs_dbEntryv = [...]dbEntry{
DataLen: 30,
},
[]byte("c__main__\nObject\nq\x01.U\x05e0.23q\x02."),
nil /* same as ^^^ */,
/* same as ^^^ */ nil,
},
},
},
......@@ -700,7 +700,7 @@ var _1fs_dbEntryv = [...]dbEntry{
DataLen: 30,
},
[]byte("c__main__\nObject\nq\x01.U\x05d0.24q\x02."),
nil /* same as ^^^ */,
/* same as ^^^ */ nil,
},
},
},
......@@ -724,7 +724,7 @@ var _1fs_dbEntryv = [...]dbEntry{
DataLen: 0,
},
[]byte("\x00\x00\x00\x00\x00\x00\r\xa1"),
[]byte("c__main__\nObject\nq\x01.U\x05e0.14q\x02.") /* same as ^^^ */,
/* from 0x0285cbac6bf258e6 */ []byte("c__main__\nObject\nq\x01.U\x05e0.14q\x02."),
},
},
},
......@@ -748,7 +748,7 @@ var _1fs_dbEntryv = [...]dbEntry{
DataLen: 0,
},
[]byte("\x00\x00\x00\x00\x00\x00\x0b\xd3"),
[]byte("c__main__\nObject\nq\x01.U\x05d0.11q\x02.") /* same as ^^^ */,
/* from 0x0285cbac5dddde00 */ []byte("c__main__\nObject\nq\x01.U\x05d0.11q\x02."),
},
},
},
......@@ -772,7 +772,7 @@ var _1fs_dbEntryv = [...]dbEntry{
DataLen: 216,
},
[]byte("cpersistent.mapping\nPersistentMapping\nq\x01.}q\x02U\x04dataq\x03}q\x04(U\x01a(U\x08\x00\x00\x00\x00\x00\x00\x00\x07q\x05c__main__\nObject\nq\x06tQU\x01c(U\x08\x00\x00\x00\x00\x00\x00\x00\x02q\x07h\x06tQU\x01b(U\x08\x00\x00\x00\x00\x00\x00\x00\x03q\x08h\x06tQU\x01e(U\x08\x00\x00\x00\x00\x00\x00\x00\x05q\th\x06tQU\x01d(U\x08\x00\x00\x00\x00\x00\x00\x00\x04q\nh\x06tQU\x01g(U\x08\x00\x00\x00\x00\x00\x00\x00\x06q\x0bh\x06tQU\x01f(U\x08\x00\x00\x00\x00\x00\x00\x00\x01q\x0ch\x06tQus."),
nil /* same as ^^^ */,
/* same as ^^^ */ nil,
},
{
DataHeader{
......@@ -783,7 +783,7 @@ var _1fs_dbEntryv = [...]dbEntry{
DataLen: 29,
},
[]byte("c__main__\nObject\nq\x01.U\x04a1.0q\x02."),
nil /* same as ^^^ */,
/* same as ^^^ */ nil,
},
},
},
......@@ -807,7 +807,7 @@ var _1fs_dbEntryv = [...]dbEntry{
DataLen: 29,
},
[]byte("c__main__\nObject\nq\x01.U\x04d1.1q\x02."),
nil /* same as ^^^ */,
/* same as ^^^ */ nil,
},
},
},
......@@ -831,7 +831,7 @@ var _1fs_dbEntryv = [...]dbEntry{
DataLen: 29,
},
[]byte("c__main__\nObject\nq\x01.U\x04e1.2q\x02."),
nil /* same as ^^^ */,
/* same as ^^^ */ nil,
},
},
},
......@@ -855,7 +855,7 @@ var _1fs_dbEntryv = [...]dbEntry{
DataLen: 29,
},
[]byte("c__main__\nObject\nq\x01.U\x04g1.3q\x02."),
nil /* same as ^^^ */,
/* same as ^^^ */ nil,
},
},
},
......@@ -879,7 +879,7 @@ var _1fs_dbEntryv = [...]dbEntry{
DataLen: 29,
},
[]byte("c__main__\nObject\nq\x01.U\x04g1.4q\x02."),
nil /* same as ^^^ */,
/* same as ^^^ */ nil,
},
},
},
......@@ -903,7 +903,7 @@ var _1fs_dbEntryv = [...]dbEntry{
DataLen: 29,
},
[]byte("c__main__\nObject\nq\x01.U\x04d1.5q\x02."),
nil /* same as ^^^ */,
/* same as ^^^ */ nil,
},
},
},
......@@ -927,7 +927,7 @@ var _1fs_dbEntryv = [...]dbEntry{
DataLen: 29,
},
[]byte("c__main__\nObject\nq\x01.U\x04g1.6q\x02."),
nil /* same as ^^^ */,
/* same as ^^^ */ nil,
},
},
},
......@@ -951,7 +951,7 @@ var _1fs_dbEntryv = [...]dbEntry{
DataLen: 29,
},
[]byte("c__main__\nObject\nq\x01.U\x04b1.7q\x02."),
nil /* same as ^^^ */,
/* same as ^^^ */ nil,
},
},
},
......@@ -975,7 +975,7 @@ var _1fs_dbEntryv = [...]dbEntry{
DataLen: 29,
},
[]byte("c__main__\nObject\nq\x01.U\x04f1.8q\x02."),
nil /* same as ^^^ */,
/* same as ^^^ */ nil,
},
},
},
......@@ -999,7 +999,7 @@ var _1fs_dbEntryv = [...]dbEntry{
DataLen: 29,
},
[]byte("c__main__\nObject\nq\x01.U\x04d1.9q\x02."),
nil /* same as ^^^ */,
/* same as ^^^ */ nil,
},
},
},
......@@ -1023,7 +1023,7 @@ var _1fs_dbEntryv = [...]dbEntry{
DataLen: 30,
},
[]byte("c__main__\nObject\nq\x01.U\x05a1.10q\x02."),
nil /* same as ^^^ */,
/* same as ^^^ */ nil,
},
},
},
......@@ -1047,7 +1047,7 @@ var _1fs_dbEntryv = [...]dbEntry{
DataLen: 30,
},
[]byte("c__main__\nObject\nq\x01.U\x05f1.11q\x02."),
nil /* same as ^^^ */,
/* same as ^^^ */ nil,
},
},
},
......@@ -1071,7 +1071,7 @@ var _1fs_dbEntryv = [...]dbEntry{
DataLen: 30,
},
[]byte("c__main__\nObject\nq\x01.U\x05c1.12q\x02."),
nil /* same as ^^^ */,
/* same as ^^^ */ nil,
},
},
},
......@@ -1095,7 +1095,7 @@ var _1fs_dbEntryv = [...]dbEntry{
DataLen: 30,
},
[]byte("c__main__\nObject\nq\x01.U\x05f1.13q\x02."),
nil /* same as ^^^ */,
/* same as ^^^ */ nil,
},
},
},
......@@ -1119,7 +1119,7 @@ var _1fs_dbEntryv = [...]dbEntry{
DataLen: 30,
},
[]byte("c__main__\nObject\nq\x01.U\x05e1.14q\x02."),
nil /* same as ^^^ */,
/* same as ^^^ */ nil,
},
},
},
......@@ -1143,7 +1143,7 @@ var _1fs_dbEntryv = [...]dbEntry{
DataLen: 30,
},
[]byte("c__main__\nObject\nq\x01.U\x05a1.15q\x02."),
nil /* same as ^^^ */,
/* same as ^^^ */ nil,
},
},
},
......@@ -1167,7 +1167,7 @@ var _1fs_dbEntryv = [...]dbEntry{
DataLen: 30,
},
[]byte("c__main__\nObject\nq\x01.U\x05d1.16q\x02."),
nil /* same as ^^^ */,
/* same as ^^^ */ nil,
},
},
},
......@@ -1191,7 +1191,7 @@ var _1fs_dbEntryv = [...]dbEntry{
DataLen: 30,
},
[]byte("c__main__\nObject\nq\x01.U\x05g1.17q\x02."),
nil /* same as ^^^ */,
/* same as ^^^ */ nil,
},
},
},
......@@ -1215,7 +1215,7 @@ var _1fs_dbEntryv = [...]dbEntry{
DataLen: 30,
},
[]byte("c__main__\nObject\nq\x01.U\x05b1.18q\x02."),
nil /* same as ^^^ */,
/* same as ^^^ */ nil,
},
},
},
......@@ -1239,7 +1239,7 @@ var _1fs_dbEntryv = [...]dbEntry{
DataLen: 30,
},
[]byte("c__main__\nObject\nq\x01.U\x05c1.19q\x02."),
nil /* same as ^^^ */,
/* same as ^^^ */ nil,
},
},
},
......@@ -1263,7 +1263,7 @@ var _1fs_dbEntryv = [...]dbEntry{
DataLen: 30,
},
[]byte("c__main__\nObject\nq\x01.U\x05g1.20q\x02."),
nil /* same as ^^^ */,
/* same as ^^^ */ nil,
},
},
},
......@@ -1287,7 +1287,7 @@ var _1fs_dbEntryv = [...]dbEntry{
DataLen: 30,
},
[]byte("c__main__\nObject\nq\x01.U\x05b1.21q\x02."),
nil /* same as ^^^ */,
/* same as ^^^ */ nil,
},
},
},
......@@ -1311,7 +1311,7 @@ var _1fs_dbEntryv = [...]dbEntry{
DataLen: 30,
},
[]byte("c__main__\nObject\nq\x01.U\x05d1.22q\x02."),
nil /* same as ^^^ */,
/* same as ^^^ */ nil,
},
},
},
......@@ -1335,7 +1335,7 @@ var _1fs_dbEntryv = [...]dbEntry{
DataLen: 30,
},
[]byte("c__main__\nObject\nq\x01.U\x05b1.23q\x02."),
nil /* same as ^^^ */,
/* same as ^^^ */ nil,
},
},
},
......@@ -1359,7 +1359,7 @@ var _1fs_dbEntryv = [...]dbEntry{
DataLen: 30,
},
[]byte("c__main__\nObject\nq\x01.U\x05g1.24q\x02."),
nil /* same as ^^^ */,
/* same as ^^^ */ nil,
},
},
},
......@@ -1383,7 +1383,7 @@ var _1fs_dbEntryv = [...]dbEntry{
DataLen: 0,
},
[]byte("\x00\x00\x00\x00\x00\x00#L"),
[]byte("c__main__\nObject\nq\x01.U\x05b1.21q\x02.") /* same as ^^^ */,
/* from 0x0285cbad0b851f19 */ []byte("c__main__\nObject\nq\x01.U\x05b1.21q\x02."),
},
},
},
......@@ -1407,7 +1407,7 @@ var _1fs_dbEntryv = [...]dbEntry{
DataLen: 0,
},
[]byte("\x00\x00\x00\x00\x00\x00\"\xb2"),
[]byte("c__main__\nObject\nq\x01.U\x05g1.20q\x02.") /* same as ^^^ */,
/* from 0x0285cbad06d3a0cc */ []byte("c__main__\nObject\nq\x01.U\x05g1.20q\x02."),
},
},
},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment