Benchmark code using nanobench (https://github.com/martinus/nanobench)
// FFOR code here ....
// Include nanobench
alignas(64) UInt64 input[2048];
alignas(64) UInt64 packed[2048];
alignas(64) UInt64 output[2048];Benchmark code using nanobench (https://github.com/martinus/nanobench)
// FFOR code here ....
// Include nanobench
alignas(64) UInt64 input[2048];
alignas(64) UInt64 packed[2048];
alignas(64) UInt64 output[2048];| alert(document.cookie) |
| using System; | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| namespace DataStructures | |
| { | |
| /// <summary> | |
| /// OrderedDictionary is data structure that is similar to Dictionary, but allow to track sequence of adding key/value pairs (e.g. Queue and Dictionary in one class) | |
| /// </summary> |
| using System; | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| namespace DataStructures | |
| { | |
| public class Heap<T> : ICollection<T> | |
| { | |
| private const int DefaultCapacity = 16; |
| #!/bin/bash | |
| rsync -aHAXxv --numeric-ids -e "ssh -oStrictHostKeyChecking=no -T -c [email protected] -o Compression=no -x" $1 $2 | |
| # https://explainshell.com/explain?cmd=rsync+-aHAXxv+--numeric-ids+-e+%22ssh+-oStrictHostKeyChecking%3Dno+-T+-c+aes128-gcm%40openssh.com+-o+Compression%3Dno+-x%22 | |
| # https://explainshell.com/explain?cmd=ssh+-oStrictHostKeyChecking%3Dno+-T+-c+aes128-gcm%40openssh.com+-o+Compression%3Dno+-x |
| #!/bin/bash | |
| certbot certonly \ | |
| --manual \ | |
| -d *.$1 \ | |
| -d $1 \ | |
| --agree-tos \ | |
| --no-bootstrap \ | |
| --manual-public-ip-logging-ok \ | |
| --preferred-challenges dns-01 \ |
| #!/bin/bash | |
| # Consul 1.2.2 install script for Ubuntu. | |
| # It downloads consul 1.2.2 and installs as daemon with default dummy configuration. | |
| # https://www.consul.io | |
| CONFIG='{ | |
| "server": true, | |
| "bootstrap": true, | |
| "data_dir": "/var/consul" |
| #!/bin/bash | |
| # Installation script based on official documentation from https://docs.docker.com/install/linux/docker-ce/ubuntu/#install-docker-ce-1 | |
| apt-get update -y | |
| apt-get install -y \ | |
| apt-transport-https \ | |
| ca-certificates \ | |
| curl \ | |
| software-properties-common |
| #!/bin/bash | |
| # Install | |
| apt-get update -y | |
| apt-get install -y fio | |
| # Random read/write | |
| fio --randrepeat=1 --ioengine=libaio --direct=1 --gtod_reduce=1 --name=test --filename=test --bs=4k --iodepth=64 --size=4G --readwrite=randrw --rwmixread=75 | |
| # Randon read |
| sudo useradd -r -s /bin/false <username> |