• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2016-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
3  */
4 
5 package kotlinx.coroutines
6 
7 import kotlin.math.*
8 import kotlin.native.*
9 
10 internal actual val DEBUG: Boolean = false
11 
12 internal actual val Any.hexAddress: String get() = identityHashCode().toUInt().toString(16)
13 
14 internal actual val Any.classSimpleName: String get() = this::class.simpleName ?: "Unknown"
15 
assertnull16 internal actual inline fun assert(value: () -> Boolean) {}
17