vibin
kotlin.daemon.jvmargs
./gradlew bundleDebug -Dorg.gradle.jvmargs="-Duser.language=en -Xmx5g" -Dkotlin.daemon.jvmargs="-Duser.language=fr -Xmx4g"
$ jcmd 26327 VM.command_line 26327: VM Arguments: jvm_args: <redacted> -Xmx5g -Dfile.encoding=UTF-8 -Duser.country=IN -Duser.language=en -Duser.variant java_command: org.gradle.launcher.daemon.bootstrap.GradleDaemon 7.3.3 $ jcmd 26433 VM.command_line 26433: VM Arguments: jvm_args: -Xmx5g -Djava.awt.headless=true -D$java.rmi.server.hostname=127.0.0.1 -Dkotlin.environment.keepalive -ea java_command: org.jetbrains.kotlin.daemon.KotlinCompileDaemon <redacted>
Colton Idle
partition
slice
zt
e: Could not find 'main' in '<root>' package.
linuxX64("native") { binaries { executable("prism") } }
Tianyu Zhu
Danish Ansari
{}
data
Ciprian Grigor
val repoResult: Flow<PagingData<Repo>> = queryFlow.filterNotNull() .flatMapLatest { query -> repository.getSearchResultStream(query) } //.cachedIn(viewModelScope) //crash without .combine(filterFlow) { page, filter -> page.filter { it.description?.contains(filter, true) ?: false } } lifecycleScope.launch { viewModel.repoResult.collectLatest { adapter.submitData(it) } } crash is java.lang.IllegalStateException: Attempt to collect twice from pageEventFlow, which is an illegal operation. Did you forget to call Flow<PagingData<*>>.cachedIn(coroutineScope)?
Mikolaj
flow
dropWhile
@Test fun `test mock flow`() = runTest { val flow: Flow<Int> = mockk(relaxed = true) { coEvery { dropWhile(any()) } returns this } }
Failed matching mocking signature for left matchers: [any()]
Lilly
@IntRange
theapache64
Fatal Exception: java.lang.IllegalArgumentException Cannot round NaN value. kotlin.math.MathKt__MathJVMKt.roundToInt (MathKt__MathJVMKt.java:1132) androidx.compose.animation.core.VectorConvertersKt$IntOffsetToVector$2.invoke-Bjo55l4 (VectorConverters.kt:172)
Mario Javier Medina Cocom
A modern programming language that makes developers happier.