Skip to content

Instantly share code, notes, and snippets.

View Kimundi's full-sized avatar

Marvin Löbel Kimundi

  • Dortmund, Germany
View GitHub Profile
〜人 : (~nin) Zählwort für Menschen
あかひげ : Rotbart (Film)
あさって : übermorgen
あした : morgen
あまり : nicht alzu/so/besonders (oft, viel)
(どうも)ありがとう(ございます) : Vielen Dank!
いい : (adj.) gut, schön
いいえ : Nein
いかが : wie (höflich)
いきます : gehen, fahren
(お)てんき : Wetter
〜人 : (~nin) Zählwort für Menschen
あかひげ : Rotbart (Film)
あした : morgen
あまり : nicht alzu/so/besonders (oft, viel)
いいえ : Nein
いきます : gehen, fahren
いす : Stuhl
いち : 1
いま : jetzt, heute, zurzeit
です : sein
さん : Herr/Frau
はい : Ja
いいえ : Nein
か : Fragepartikel
は : Themapartikel
せんせい : Lehrer
はは : Mutter
ドイツ : Deutschland
日本 : Japan
{
"files": [
{
"path_to_file": $path,
"matched_synonyms": [
{
"synonym_name": $name,
"json_db_entries": [
$entry_idx, ...
]
[ 11%] Built target tudocomp_stat
[ 22%] Built target tudocomp
[ 88%] Built target tudocomp_algorithms
[100%] Built target matrix_tests_testrunner
[100%] Running Test matrix_tests ...
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from TudocompDriver
[ RUN ] TudocompDriver.roundtrip_matrix
[ Generating list of test cases ]
marvin@tp-marvin-arch ~/d/a/p/b/src> ./alphabet_count ~/uni/pg/sacabench/external/datasets/downloads/english
char [ 0]: 13, 0%
char [ 7]: 1, 0%
char [ 9]: 15432, 0%
char [ 10]: 43894765, 1.98%
char [ 12]: 117, 0%
char [ 13]: 22, 0%
char [ 14]: 1, 0%
char [ 20]: 2, 0%
char [ 21]: 1, 0%
@Kimundi
Kimundi / playground.rs
Created December 10, 2018 14:41 — forked from rust-play/playground.rs
Code shared from the Rust Playground
use std::alloc::{GlobalAlloc, System, Layout};
use std::sync::atomic::{AtomicIsize, Ordering};
struct AllocationTracker {
mem: AtomicIsize
}
impl AllocationTracker {
const fn new() -> Self {
AllocationTracker {
Cloning into 'stxxl_external'...
Already on 'master'
/home/marvin/dev/arbeit/pwm/build/stxxl_external-prefix/src/stxxl_external/lib/common/verbose.cpp: In function ‘void stxxl::print_msg(const char*, const string&, unsigned int)’:
/home/marvin/dev/arbeit/pwm/build/stxxl_external-prefix/src/stxxl_external/lib/common/verbose.cpp:44:38: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=]
snprintf(tstr, sizeof(tstr), "[%d.%02d:%02d:%02d.%06d] ",
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/marvin/dev/arbeit/pwm/build/stxxl_external-prefix/src/stxxl_external/lib/common/verbose.cpp:44:17: note: ‘snprintf’ output between 21 and 39 bytes into a destination of size 23
snprintf(tstr, sizeof(tstr), "[%d.%02d:%02d:%02d.%06d] ",
~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
int(t / (24 * 60 * 60)),
text:
sdsd
+--------+----+------+--------+
| Suffix | SA | Rang | Unique |
+--------+----+------+--------+
| d$ | 3 | 0 | True |
| ds | 1 | 1 | True |
| sd | 0 | 3 | False |
| sd | 2 | 3 | False |
text:
sdsd
+--------+----+------+--------+
| Suffix | SA | Rang | Unique |
+--------+----+------+--------+
| d$ | 3 | 0 | True |
| ds | 1 | 1 | True |
| sd | 0 | 3 | False |
| sd | 2 | 3 | False |