C:\Users\kullo\workspace-playground\compilescripts\libkullo>clcache -s
clcache statistics:
current cache dir : C:\Users\kullo\clcache
cache size : 96,482,841 bytes
maximum cache size : 1,073,741,824 bytes
cache entries : 248
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
| [Nist | Test Case 1] | |
| Cipher = AES-128/GCM | |
| Key = 00000000000000000000000000000000 | |
| Nonce = 000000000000000000000000 | |
| In = | |
| Out = 58E2FCCEFA7E3061367F1D57A4E7455A | |
| [Nist | Test Case 2] | |
| Cipher = AES-128/GCM | |
| Key = 00000000000000000000000000000000 |
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
| import time | |
| class Timer(object): | |
| def __enter__(self): | |
| self.start = time.time() | |
| return self | |
| def __exit__(self, *args): | |
| self.end = time.time() | |
| self.secs = self.end - self.start |
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
| project(Botan) | |
| cmake_minimum_required(VERSION 2.8) | |
| # Configure for use with CMake | |
| # | |
| # ./configure.py --with-bzip2 --with-zlib --with-lzma --enable-modules="dyn_load" | |
| # | |
| macro(use_cxx11) | |
| if (CMAKE_VERSION VERSION_LESS "3.1") |
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
| # Test latin1 characters for filenames | |
| # | |
| # This is the lower half character set of latin1 minus NBSP and SHY | |
| # See https://de.wikipedia.org/wiki/ISO_8859-1#ISO.2FIEC_8859-1 | |
| # | |
| # Mix in a forbidden character from \ / : * ? " < > | to test a failure | |
| import os; list = [ | |
| "_", "¡", "¢", "£", "¤", "¥", "¦", "§", "¨", "©", "ª", "«", "¬", "®", "_", "¯", | |
| "°", "±", "²", "³", "´", "µ", "¶", "·", "¸", "¹", "º", "»", "¼", "½", "¾", "¿", | |
| "À", "Á", "Â", "Ã", "Ä", "Å", "Æ", "Ç", "È", "É", "Ê", "Ë", "Ì", "Í", "Î", "Ï", |
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
| #!/usr/bin/python | |
| import resource | |
| import timeit | |
| init = """ | |
| import hashlib | |
| import subprocess |
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
| #!/bin/bash | |
| set -o errexit -o nounset -o pipefail | |
| which shellcheck > /dev/null && shellcheck "$0" | |
| QT_VERSION="5.6.0" | |
| QT_SOURCE="$1" | |
| BUILDDIR="/run/shm/qt-build-$USER" | |
| PREFIX_ROOT="/usr/local/qt-$QT_VERSION-linux-clang-libc++" | |
| PREFIX_SRC="$PREFIX_ROOT/src" |
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
| includesLong = [ | |
| "c:\\program files (x86)\\microsoft visual studio 14.0\\vc\\include\\algorithm", | |
| "c:\\program files (x86)\\microsoft visual studio 14.0\\vc\\include\\ammintrin.h", | |
| "c:\\program files (x86)\\microsoft visual studio 14.0\\vc\\include\\array", | |
| "c:\\program files (x86)\\microsoft visual studio 14.0\\vc\\include\\atomic", | |
| "c:\\program files (x86)\\microsoft visual studio 14.0\\vc\\include\\cassert", | |
| "c:\\program files (x86)\\microsoft visual studio 14.0\\vc\\include\\ccomplex", | |
| "c:\\program files (x86)\\microsoft visual studio 14.0\\vc\\include\\cerrno", | |
| "c:\\program files (x86)\\microsoft visual studio 14.0\\vc\\include\\cfloat", | |
| "c:\\program files (x86)\\microsoft visual studio 14.0\\vc\\include\\chrono", |
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
| C:\workspace>clcache.bat -C | |
| Cache cleared | |
| C:\workspace>clcache.bat -z | |
| Statistics reset | |
| C:\workspace>python speedtest.py | |
| Runtime cold cache: 8m, 48s | |
| Runtime hot cache 1: 0m, 38s | |
| Runtime hot cache 2: 0m, 41s |
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
| C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC>cd C:\workspace\botan\botan-1.11.31 | |
| C:\workspace\botan\botan-1.11.31>python configure.py --no-autoload --enable-modules=tls | |
| INFO: configure.py invoked with options "--no-autoload --enable-modules=tls" | |
| INFO: Platform: OS="Windows" machine="AMD64" proc="Intel64 Family 6 Model 61 Stepping 4, GenuineIntel" | |
| INFO: Guessing target OS is windows (use --os to set) | |
| INFO: Guessing to use compiler msvc (use --cc to set) | |
| INFO: Guessing target processor is a x86_64/x86_64 (use --cpu to set) | |
| INFO: Target is msvc-windows-x86_64-x86_64 | |
| INFO: Skipping, incompatible OS - beos_stats darwin_secrandom dev_random egd fd_unix proc_walk unix_procs |