if (!parallelKV(cxt)) {
g.lines(keys + "[" + index + "] = " + key + ";");
} else if (doubleSizedParallel(cxt)) {
g.lines(table + "[" + index + "] = " + key + ";");
} else {
PrimitiveType keyType = (PrimitiveType) cxt.keyOption();
String entryTableUpper = TableType.INSTANCE.apply(keyType).upper;
String base = entryTableUpper + "_BASE";
String offset = base + " + " + keyType.upper + "_KEY_OFFSET + " +
"(((long) (" + index + ")) << " + entryTableUpper + "_SCALE_SHIFT)";
cxt.unsafePutKeyBits(g, table, offset, key);