| Parallel | Elemente | Ergebnis throuhgput |
|---|---|---|
| x | 10 | 112280.661 |
| x | 1.000 | 8712.138 |
| x | 100.000 | 76.235 |
| 10 | 3978731.478 | |
| 1.000 | 26150.660 | |
| 100.000 | 115.023 |
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
| /* Terminal colors (16 first used in escape sequence) */ | |
| static const char *colorname[] = { | |
| "#3f3f3f", | |
| "#cc9393", | |
| "#7f9f7f", | |
| "#d0bf8f", | |
| "#6ca0a3", | |
| "#dc8cc3", | |
| "#93e0e3", | |
| "#dcdccc", |
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
| lexer grammar TemplatesLexer; | |
| TEXT : ~[$]+? ; | |
| OPEN : '${' -> mode(INSIDE) ; | |
| mode INSIDE; | |
| CLOSE : '}' -> mode(DEFAULT_MODE) ; | |
| NAME : ~[\}]+? ; |
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
| parser grammar TemplatesParser; | |
| options { tokenVocab=TemplatesLexer; } | |
| expr : (OPEN NAME CLOSE | TEXT)* ; | |
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
| lexer grammar TemplatesLexer; | |
| EXPANSION_BEGIN : '${' ; | |
| DOLLAR : '$' ; | |
| BRACE_OPEN : '{' ; | |
| BRACE_CLOSE : '}' ; | |
| PREFIX_REPLACE : '#' ; | |
| REST : ~[$\{\}#] ; | |
| parser grammar TemplatesParser; |
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
| ff_effect const effect{ | |
| FF_PERIODIC, | |
| effect_id, | |
| effect_direction, | |
| ff_trigger{ | |
| 0, | |
| 0 | |
| }, | |
| ff_replay{ | |
| 1000, |
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
| ff_effect const effect{ | |
| FF_PERIODIC, | |
| effect_id, | |
| effect_direction, | |
| ff_trigger{ | |
| 0, | |
| 0 | |
| }, | |
| ff_replay{ | |
| 1000, |
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
| public CompletableFuture<T> orTimeout(long timeout, TimeUnit unit) { | |
| if (unit == null) | |
| throw new NullPointerException(); | |
| if (result == null) | |
| whenComplete(new Canceller(Delayer.delay(new Timeout(this), | |
| timeout, unit))); | |
| return this; | |
| } |
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
| , vcEvents = foldMap (flip Map.singleton <*> ((,Nothing) . (uidValue . veUID))) (issueToEvent <$> issues) | |
| -- , vcEvents = foldMap (\issue -> Map.singleton ((,Nothing) . (uidValue . veUID) $ issue) issue) (issueToEvent <$> issues) | |
| -- , vcEvents = foldMap (\issue -> Map.singleton (uidValue . veUID $ issue,Nothing) issue) (issueToEvent <$> issues) | |
| -- , vcEvents = foldr (\issue map -> Map.insert ((uidValue . veUID $ issue,Nothing)) issue map) Map.empty (issueToEvent <$> issues) |
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
| , vcEvents = foldMap (flip Map.singleton <*> ((,Nothing) . (uidValue . veUID))) (issueToEvent <$> issues) | |
| -- , vcEvents = foldMap (\issue -> Map.singleton ((,Nothing) . (uidValue . veUID) $ issue) issue) (issueToEvent <$> issues) | |
| -- , vcEvents = foldMap (\issue -> Map.singleton (uidValue . veUID $ issue,Nothing) issue) (issueToEvent <$> issues) | |
| -- , vcEvents = foldr (\issue map -> Map.insert ((uidValue . veUID $ issue,Nothing)) issue map) Map.empty (issueToEvent <$> issues) |