Libraryless. Click here for Pure Java version (2079L/14K/47K).
1 | !752 |
2 | |
3 | sS bla = [[ |
4 | The images "9176714c9a935fc91e14595dbb3adddf 35731666e72dd0c9448f616ff3a7464a da9bc5a24bd503e898f69ad43bb9b92e" are the characters "yet". |
5 | The images "412f9e0f8e177817a4fa285415c5a13f 386b289407599f31e3a7c57c3adb2587 6cd2a2284a5a6fda3a7cad3e3a048671 b0c47c014d665ec5b658f510c258dc47 b273ff598fe6afa04cfed9f9e8fb4109" are the grouped characters "[Ob]ject". |
6 | The images "175116b749670b7b65707c10c935b42c ddaf2b9c198818c49628387ecc2910ed 3777597e39eb0de16c022293c8c91cc0 fad86bda3f716ef4e7fa9d199f6c4383 35731666e72dd0c9448f616ff3a7464a 03b96c30adaaed5b60cea4ab9bc37263" are the characters "images". |
7 | ]]; |
8 | |
9 | p-typewriter { |
10 | Bits bits = new Bits(bla); |
11 | print(bits.n); |
12 | printStruct(bits.toByteArray()); |
13 | print(quote(bits.getString())); |
14 | L<Bits> chunks = bitsFullChunks(bits, 8); |
15 | //psl(chunks); |
16 | MultiSet<Bits> ms = new MultiSet(chunks); |
17 | L<Bits> mostFrequent = ms.highestFirst(); |
18 | for (Bits b : mostFrequent) { |
19 | print(ms.get(b) + ": " + quote(b.getString()) + " " + struct(b)); |
20 | L<L<Bits>> split = splitAtListElement_multi(chunks, b); |
21 | print(" split => " + n(l(split), "parts")); |
22 | } |
23 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, sawdedvomwva, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1006137 |
Snippet name: | Bit Analysis [do some basic stuff, WORKS] |
Eternal ID of this version: | #1006137/1 |
Text MD5: | 4a74f0e2c543ae021b1bc4db61830021 |
Transpilation MD5: | 6c359adf6080b5f5a704e35802a05a01 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-12-21 16:44:41 |
Source code size: | 1141 bytes / 23 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 639 / 715 |
Referenced in: | [show references] |