Skip to content

Instantly share code, notes, and snippets.

View AudriusButkevicius's full-sized avatar

Audrius Butkevicius AudriusButkevicius

View GitHub Profile
trace:crypt:CryptAcquireContextW (0x180ea88, (null), (null), 1, f0000040)
trace:crypt:RSAENH_CPAcquireContext (phProv=0xa7df780, pszContainer=(null), dwFlags=f0000040, pVTable=0xa7df800)
trace:crypt:CryptGenRandom (0xa7df770, 32, 0x180eaac)
trace:crypt:RSAENH_CPGenRandom (hProv=00000001, dwLen=32, pbBuffer=0x180eaac)
trace:crypt:CryptReleaseContext (0xa7df770, 00000000)
trace:crypt:RSAENH_CPReleaseContext (hProv=00000001, dwFlags=00000000)
trace:crypt:CertCloseStore ((nil), 00000000)
trace:crypt:CertFreeCertificateChainEngine ((nil))
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
@AudriusButkevicius
AudriusButkevicius / README.md
Created November 6, 2016 00:03 — forked from csabahenk/README.md
Rsync rolling sum calculation in various languages

Rsync rolling sum calculation in various languages

The programs below calculate the rsync weak sum (of block size 4096) of the last block of the data available on stdin.

The data is assumed to be at least block size big; the weak sum is calculated in a direct manner for the first block, and from that on, the sum is adjusted on each incoming byte using the "rollability" of this kind of checksum.

The primary goal was to see the performance of naive implementations; so my metrics was both performance and "how close is the code to