This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
async function scanDupes() { | |
let dupes = {}; | |
for (const nod of treeView.treeModel.currentSession_rootNode.subnodes) { // only check root level nodes, don't do complex recursive checks for "sub-roots" | |
const strbld = []; | |
nodeterate(nod, strbld); | |
const crashDetectedDate = nod.chromeWindowObj.crashDetectedDate | |
? new Date(nod.chromeWindowObj.crashDetectedDate).toLocaleString() | |
: 'not crash'; | |
console.log(nod.id, crashDetectedDate, nod); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "base94.h" | |
void base94_encode(const unsigned char *plain, unsigned char *code) { | |
// high * 2^64 | low | |
unsigned long long value | |
= ((unsigned long long)plain[1] << 56) | ((unsigned long long)plain[2] << 48) | |
| ((unsigned long long)plain[3] << 40) | ((unsigned long long)plain[4] << 32) |