This file contains 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
.arch pentium4 | |
.code16 | |
.section .text | |
.org 0x100 | |
_gdt: .quad 0 | |
.byte 0xFF, 0xFF, 0, 0, 0xF, 0b10011010, 0b00001111, 0 # код | |
.byte 0xFF, 0xFF, 0, 0, 0xF, 0b10010000, 0b00001111, 0 # данные | |
.byte 0x00, 0x80, 0,0x80, 0xB, 0b10010010, 0b00000000, 0 # видео |
This file contains 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
-- minmax.h | |
float max_ss(float a, float b); | |
float min_ss(float a, float b); | |
double max_sd(double a, double b); | |
double min_sd(double a, double b); | |
float clamp_ss(float x, float mn, float mx); | |
double clamp_sd(double x, double mn, double mx); |
This file contains 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
[1 of 1] Compiling Main ( blur.hs, blur.o ) | |
==================== Simplified expression ==================== | |
quoteExp | |
dim2St | |
(unpackCString# | |
" 2 4 5 4 2\ | |
\ 4 9 12 9 4\ | |
\ 5 12 15 12 5\ | |
\ 4 9 12 9 4\ |
This file contains 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
$ ghc -Odph -rtsopts -threaded -fno-liberate-case -funbox-strict-fields -funfolding-keeness-factor1000 -fllvm -optlo-O3 -fexpose-all-unfoldings -fsimpl-tick-factor=500 -ddump-simpl -dsuppress-all zip-columns.hs > z.hs |
This file contains 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
package tests; | |
import org.openjdk.jmh.annotations.*; | |
import java.util.*; | |
import java.util.concurrent.ThreadLocalRandom; | |
import java.util.concurrent.TimeUnit; | |
@BenchmarkMode(Mode.AverageTime) | |
@Measurement(time = 100, timeUnit = TimeUnit.MILLISECONDS) |
This file contains 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
loadLevel collections overuseFactor | |
1 hftc 7.226 | |
1 hftc 10.791 | |
1 hftc 7.470 | |
1 hftc 11.172 | |
1 hftc 7.748 | |
1 hftc 11.576 | |
1 hftc 8.039 | |
1 hftc 11.993 | |
1 hftc 8.339 |
This file contains 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
import json | |
MIN_STARS = 700 | |
with open('{}.json'.format(MIN_STARS)) as json_file: | |
repos = json.load(json_file) | |
repos_by_language = {} | |
by_top = {} | |
for repo in repos: |
This file contains 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
package spoon.test; | |
import spoon.reflect.declaration.*; | |
import java.util.ArrayList; | |
import java.util.IntSummaryStatistics; | |
import java.util.TreeSet; | |
import java.util.function.Consumer; | |
import java.util.function.ToIntFunction; |
This file contains 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
package tests; | |
import com.google.common.hash.HashFunction; | |
import net.openhft.chronicle.hash.hashing.Accesses; | |
import net.openhft.chronicle.hash.hashing.Hasher; | |
import net.openhft.hashing.LongHashFunction; | |
import org.openjdk.jmh.annotations.*; | |
import java.util.concurrent.TimeUnit; |
This file contains 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
package tests; | |
import java.util.*; | |
import java.util.Map.Entry; | |
import java.util.concurrent.TimeUnit; | |
import org.openjdk.jmh.annotations.Benchmark; | |
import org.openjdk.jmh.annotations.BenchmarkMode; | |
import org.openjdk.jmh.annotations.Fork; | |
import org.openjdk.jmh.annotations.Measurement; |
OlderNewer