Skip to content

Instantly share code, notes, and snippets.

if (CMAKE_USER_MAKE_RULES_OVERRIDE)
# Save the full path of the file so try_compile can use it.
include(${CMAKE_USER_MAKE_RULES_OVERRIDE} RESULT_VARIABLE _override)
set(CMAKE_USER_MAKE_RULES_OVERRIDE "${_override}")
endif ()
if (CMAKE_USER_MAKE_RULES_OVERRIDE_Kotlin)
# Save the full path of the file so try_compile can use it.
include(${CMAKE_USER_MAKE_RULES_OVERRIDE_Kotlin} RESULT_VARIABLE _override)
set(CMAKE_USER_MAKE_RULES_OVERRIDE_Kotlin "${_override}")
@Scellow
Scellow / style.css
Created December 22, 2017 08:37
CoinMarketCap Dark Theme
body {
color: #ccc;
background-color: #2B2B2B;
font-weight: 300 !important;
}
.navbar-default {
background-color: #262626;
border-color: #2B2B2B;
}
thead,th {
➜ corert git:(master) ✗ ./build.sh clean Debug
Cleaning previous output for the selected configuration
Setting up directories for build
Checking pre-requisites...
Commencing build of corert native components for Linux.x64.Debug
~/dev/tmp/corert/bin/obj/Native/Linux.x64.Debug ~/dev/tmp/corert
Invoking cmake with arguments: "/home/scellow/dev/tmp/corert/buildscripts/.." Debug
-- The C compiler identification is Clang 3.9.1
-- The CXX compiler identification is GNU 7.2.0
-- Check for working C compiler: /usr/bin/clang-3.9
Cleaning previous output for the selected configuration
Setting up directories for build
Checking pre-requisites...
Commencing build of corert native components for Linux.x64.Debug
~/dev/tmp/corert/bin/obj/Native/Linux.x64.Debug ~/dev/tmp/corert
Invoking cmake with arguments: "/home/scellow/dev/tmp/corert/buildscripts/.." Debug
-- The C compiler identification is Clang 5.0.0
-- The CXX compiler identification is Clang 5.0.0
-- Check for working C compiler: /usr/bin/clang
-- Check for working C compiler: /usr/bin/clang -- works
Cleaning previous output for the selected configuration
Setting up directories for build
Checking pre-requisites...
Commencing build of corert native components for Linux.x64.Debug
~/dev/tmp/corert/bin/obj/Native/Linux.x64.Debug ~/dev/tmp/corert
Invoking cmake with arguments: "/home/scellow/dev/tmp/corert/buildscripts/.." Debug
-- The C compiler identification is Clang 5.0.0
-- The CXX compiler identification is Clang 5.0.0
-- Check for working C compiler: /usr/bin/clang
-- Check for working C compiler: /usr/bin/clang -- works
import kotlinx.cinterop.bitsToFloat
class BitConverter
{
companion object
{
// region toBytes
fun longToBytes(value: Long, target: ByteArray, position: Int): ByteArray
{
target[position + 0] = (value ushr 56).toByte()