path
stringlengths
4
280
owner
stringlengths
2
39
repo_id
int64
21.1k
879M
is_fork
bool
2 classes
languages_distribution
stringlengths
13
1.95k
content
stringlengths
7
482k
issues
int64
0
13.9k
main_language
stringclasses
121 values
forks
stringlengths
1
5
stars
int64
0
111k
commit_sha
stringlengths
40
40
size
int64
7
482k
name
stringlengths
1
100
license
stringclasses
93 values
app/src/main/java/com/system/moneycontrol/model/entities/DialogItem.kt
enirsilvaferraz
138,302,967
false
{"Kotlin": 71910}
package com.system.moneycontrol.model.entities interface DialogItem { fun getDescription(): String }
0
Kotlin
0
0
7087fde3fbd7433d294cb43e874939df4f10b7e1
105
Money-Control
Apache License 2.0
src/main/kotlin/com/github/rafaelldi/tyeplugin/runConfig/tyeRun/TyeCommandLineState.kt
rohan-buechner
399,365,891
true
{"Kotlin": 77343, "Java": 6341}
package com.github.rafaelldi.tyeplugin.runConfig.tyeRun import com.github.rafaelldi.tyeplugin.cli.TyeCliClient import com.intellij.execution.ExecutionException import com.intellij.execution.configurations.CommandLineState import com.intellij.execution.process.OSProcessHandler import com.intellij.execution.process.Proc...
0
Kotlin
0
0
6cfe645b1360a700085d17a450e59c80ec654e6e
1,801
tye-plugin
MIT License
src/main/kotlin/fr/pturpin/coursera/greedy/MaximumAdvertisementRevenue.kt
TurpIF
159,055,822
false
null
package fr.pturpin.coursera.greedy import java.util.* class MaximumAdvertisementRevenue { private val profitsPerClick = PriorityQueue<Int>() private val averageNumbersOfClicksPerDay = PriorityQueue<Int>() fun addProfitPerClick(profit: Int) { profitsPerClick.add(profit) } fun addAverageN...
0
Kotlin
0
0
86860f8214f9d4ced7e052e008b91a5232830ea0
1,313
coursera-algo-toolbox
MIT License
src/main/kotlin/no/nav/fo/veilarbregistrering/enhet/adapter/OrganisasjonDto.kt
navikt
131,013,336
false
{"Kotlin": 892346, "PLpgSQL": 853, "PLSQL": 546, "Dockerfile": 87}
package no.nav.fo.veilarbregistrering.enhet.adapter class OrganisasjonDto(val organisasjonsnummer: String, val organisasjonDetaljer: OrganisasjonDetaljerDto)
17
Kotlin
5
6
b608c00bb1a2d1fce4fa7703b24f51e692ad5860
158
veilarbregistrering
MIT License
save-frontend-common/src/main/kotlin/com/saveourtool/save/frontend/common/components/basic/contests/PublicTestCardComponent.kt
saveourtool
300,279,336
false
{"Kotlin": 3413689, "SCSS": 86430, "JavaScript": 9061, "HTML": 8852, "Shell": 2770, "Smarty": 2608, "Dockerfile": 1366}
@file:Suppress("FILE_NAME_MATCH_CLASS", "FILE_WILDCARD_IMPORTS", "LargeClass") package com.saveourtool.save.frontend.components.basic.contests import com.saveourtool.save.frontend.common.components.basic.contests.PublicTestComponentProps import com.saveourtool.save.frontend.components.basic.* import com.saveourtool.s...
202
Kotlin
3
38
e101105f8e449253d5fbe81ece2668654d08639f
5,356
save-cloud
MIT License
save-frontend-common/src/main/kotlin/com/saveourtool/save/frontend/common/components/basic/contests/PublicTestCardComponent.kt
saveourtool
300,279,336
false
{"Kotlin": 3413689, "SCSS": 86430, "JavaScript": 9061, "HTML": 8852, "Shell": 2770, "Smarty": 2608, "Dockerfile": 1366}
@file:Suppress("FILE_NAME_MATCH_CLASS", "FILE_WILDCARD_IMPORTS", "LargeClass") package com.saveourtool.save.frontend.components.basic.contests import com.saveourtool.save.frontend.common.components.basic.contests.PublicTestComponentProps import com.saveourtool.save.frontend.components.basic.* import com.saveourtool.s...
202
Kotlin
3
38
e101105f8e449253d5fbe81ece2668654d08639f
5,356
save-cloud
MIT License
plugins/git4idea/tests/git4idea/history/GitFileHistoryTest.kt
hieuprogrammer
284,920,751
true
null
/* * Copyright 2000-2016 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
1
null
1
2
dc846ecb926c9d9589c1ed8a40fdb20e47874db9
6,440
intellij-community
Apache License 2.0
common/src/commonMain/kotlin/org/jetbrains/kotlinconf/presentation/SessionDetailsPresenter.kt
sensensen404
153,995,114
true
{"Kotlin": 108763, "Swift": 21923, "Ruby": 309}
package org.jetbrains.kotlinconf.presentation import org.jetbrains.kotlinconf.* import org.jetbrains.kotlinconf.data.* import kotlin.coroutines.* class SessionDetailsPresenter( private val uiContext: CoroutineContext, private val view: SessionDetailsView, private val sessionId: String, private val rep...
1
Kotlin
1
0
8d8b0e758777a69c6ec8c1bfe2f3f4415ca1008b
1,872
kotlinconf-app
Apache License 2.0
zircon.core/src/commonMain/kotlin/org/hexworks/zircon/api/application/CloseBehavior.kt
Xanik
282,687,897
true
{"Kotlin": 1516693, "Java": 96889}
package org.hexworks.zircon.api.application enum class CloseBehavior { EXIT_ON_CLOSE, DO_NOTHING_ON_CLOSE }
1
null
1
2
bf435cddeb55f7c3a9da5dd5c29be13af8354d0f
116
zircon
Apache License 2.0
src/nl/rubensten/texifyidea/inspections/latex/LatexInclusionLoopInspection.kt
xinsongyan
185,682,709
true
{"Markdown": 5, "Text": 1, "Ignore List": 1, "Kotlin": 234, "Java": 142, "JFlex": 2, "CODEOWNERS": 1, "XML": 3, "HTML": 60, "Python": 1}
package nl.rubensten.texifyidea.inspections.latex import com.intellij.codeInspection.InspectionManager import com.intellij.codeInspection.ProblemDescriptor import com.intellij.codeInspection.ProblemHighlightType import com.intellij.openapi.util.TextRange import com.intellij.psi.PsiFile import nl.rubensten.texifyidea.a...
0
Kotlin
0
0
8d495a84477611412c3f2e68bc7e6dbff69f45e7
2,968
TeXiFy-IDEA
MIT License
src/main/kotlin/org/jetbrains/bio/span/Islands.kt
Ghazala-Sultan
407,095,932
true
{"Kotlin": 315618, "Shell": 920}
package org.jetbrains.bio.span import com.google.common.cache.Cache import com.google.common.cache.CacheBuilder import org.jetbrains.bio.dataframe.BitterSet import org.jetbrains.bio.dataframe.DataFrame import org.jetbrains.bio.experiments.fit.* import org.jetbrains.bio.genome.Chromosome import org.jetbrains.bio.genome...
0
null
0
0
fd32082523e9ce859a70b4bc4a61bfc2d3f4d751
6,663
span
MIT License
core/src/main/kotlin/com/github/quillraven/darkmatter/ui/TextDialog.kt
Quillraven
255,084,653
false
null
package com.github.quillraven.darkmatter.ui import com.badlogic.gdx.scenes.scene2d.ui.Dialog import com.badlogic.gdx.utils.Align import com.badlogic.gdx.utils.I18NBundle import com.github.quillraven.darkmatter.V_HEIGHT_PIXELS import com.github.quillraven.darkmatter.V_WIDTH_PIXELS import ktx.actors.onClick import ktx.s...
0
Kotlin
9
51
676da9ddaec5b61e8ff08253cae99d01705dedb8
1,880
Dark-Matter
MIT License
app/src/main/java/com/roque/rueda/gbm/coding/challenge/ipc/IpcFragment.kt
RoqueRueda
496,494,846
false
{"Kotlin": 27661}
package com.roque.rueda.gbm.coding.challenge.ipc import android.os.Build import android.os.Bundle import android.util.DisplayMetrics import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.core.view.isVisible import androidx.core.view.marginBottom import androidx.fragm...
0
Kotlin
0
0
b2d5365a6a2811cab1fa0a4eb0faec0c7aaa5a78
4,086
coding-challenge
MIT License
sphinx/application/data/features/feature-repository/src/main/java/chat/sphinx/feature_repository/mappers/feed/FeedModelDboPresenterMapper.kt
stakwork
340,103,148
false
{"Kotlin": 4002700, "Java": 403469, "JavaScript": 4745, "HTML": 4706, "Shell": 2453}
package chat.sphinx.feature_repository.mappers.feed import chat.sphinx.conceptcoredb.FeedModelDbo import chat.sphinx.feature_repository.mappers.ClassMapper import chat.sphinx.wrapper_feed.FeedModel import io.matthewnelson.concept_coroutines.CoroutineDispatchers internal class FeedModelDboPresenterMapper( dispatch...
99
Kotlin
11
18
01d4be42df107d5e4fa8d2411f5390aeea60ea74
773
sphinx-kotlin
MIT License
app/src/main/java/com/kickstarter/ui/activities/compose/login/CreatePasswordScreen.kt
kickstarter
76,278,501
false
null
package com.kickstarter.ui.activities.compose import android.content.res.Configuration import androidx.compose.animation.AnimatedVisibility import androidx.compose.foundation.Image import androidx.compose.foundation.background import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.S...
8
null
989
5,752
a9187fb484c4d12137c7919a2a53339d67cab0cb
8,701
android-oss
Apache License 2.0
feature-forecast/src/androidTest/java/de/niklasbednarczyk/nbweather/feature/forecast/screens/overview/models/ForecastOverviewModelsTest.kt
NiklasBednarczyk
529,683,941
false
{"Kotlin": 1300133}
package de.niklasbednarczyk.nbweather.feature.forecast.screens.overview.models import de.niklasbednarczyk.nbweather.core.common.settings.order.NBOrderModel import de.niklasbednarczyk.nbweather.core.common.string.NBString import de.niklasbednarczyk.nbweather.core.common.string.NBString.Companion.asString import de.nikl...
15
Kotlin
0
1
e10dbb86dc6e37eda9dba29dd1ee51aa19c4477d
27,312
NBWeather
MIT License
app/src/main/java/com/nedaluof/radiox/domain/usecase/radiostations/RadioStationsRemoteMediator.kt
nedaluof
837,587,136
false
{"Kotlin": 38016}
package com.nedaluof.radiox.domain.usecase.radiostations import androidx.paging.ExperimentalPagingApi import androidx.paging.LoadType import androidx.paging.PagingState import androidx.paging.RemoteMediator import com.nedaluof.radiox.data.datasource.local.db.entities.RadioStationEntity import com.nedaluof.radiox.data....
0
Kotlin
0
0
5b25a9c07515580d118e61aa0bc1ca51dbf29718
4,249
RadioX
Apache License 2.0
app/src/main/java/com/verma/gitman/repository/GithubRepo.kt
RedVrma
739,808,431
false
{"Kotlin": 38253}
package com.verma.gitman.repository import com.apollographql.apollo.api.Response import com.verma.gitsearch.api.GithubService import schema.github.GetUserFollowersQuery import schema.github.GetUserFollowingQuery import schema.github.GetUserProfileQuery import schema.github.SearchUsersQuery class GithubRepo(private va...
0
Kotlin
0
0
9d14ec8487ec06534a6e70ef0d4ee3a1e54173f6
1,052
Gitman---Github-Api-consumption-using-GraphQl
Apache License 2.0
app/src/main/java/eu/kanade/tachiyomi/widget/preference/LibrarySyncPreference.kt
TachiWeb
66,624,691
false
null
package eu.kanade.tachiyomi.widget.preference import android.content.Context import android.support.v7.preference.Preference import android.support.v7.preference.PreferenceViewHolder import android.util.AttributeSet import eu.kanade.tachiyomi.R import eu.kanade.tachiyomi.data.librarysync.LibrarySyncManager import kotl...
0
null
0
5
9dac958ed1414338dfff825c8d7dbe78fb98209a
2,694
tachiyomi
Apache License 2.0
compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/unmatchedInlineMarkers.kt
JakeWharton
99,388,807
false
null
inline fun catchAll(x: String, block: () -> Unit): String { try { block() } catch (e: Throwable) { } return x } inline fun throwIt(msg: String) { throw Exception(msg) } inline fun bar(x: String): String = x + catchAll("") { throwIt("oops!") } fun box(): String = bar("OK")
181
null
5748
83
4383335168338df9bbbe2a63cb213a68d0858104
320
kotlin
Apache License 2.0
consumer/src/test/kotlin/integrations/kafka/SchemaRegistryContainer.kt
neo4j-contrib
125,791,389
false
null
package integrations.kafka import org.testcontainers.containers.GenericContainer import org.testcontainers.containers.wait.strategy.Wait import org.testcontainers.containers.KafkaContainer import org.testcontainers.containers.KafkaContainer.KAFKA_PORT import org.testcontainers.containers.Network import org.testcontain...
105
Kotlin
60
149
6bfff36e717a1c869f632a48684e15df1c992e08
1,713
neo4j-streams
Apache License 2.0
app/src/main/java/xyz/sentrionic/harmony/persistence/StoryQueryUtils.kt
sentrionic
220,498,638
false
{"Kotlin": 325826}
package xyz.sentrionic.harmony.persistence import androidx.lifecycle.LiveData import xyz.sentrionic.harmony.models.StoryPost import xyz.sentrionic.harmony.persistence.StoryQueryUtils.Companion.ORDER_BY_ASC_DATE_UPDATED import xyz.sentrionic.harmony.persistence.StoryQueryUtils.Companion.ORDER_BY_ASC_USERNAME import xyz...
0
Kotlin
0
1
0751148a2566ad11098ddd7f122cade7c1792dc3
2,195
HarmonyApp
MIT License
keel-scm/src/test/kotlin/com/netflix/spinnaker/keel/preview/PreviewEnvironmentCodeEventListenerTests.kt
spinnaker
107,462,081
false
null
package com.netflix.spinnaker.keel.preview import com.netflix.spectator.api.Registry import com.netflix.spectator.api.Tag import com.netflix.spectator.api.Timer import com.netflix.spinnaker.keel.api.ArtifactReferenceProvider import com.netflix.spinnaker.keel.api.DeliveryConfig import com.netflix.spinnaker.keel.api.Dep...
13
null
132
99
6115964c42e863cfd269616a836145b883f165f3
28,815
keel
Apache License 2.0
mobile/src/main/java/com/siliconlabs/bledemo/Bluetooth/BLE/TimeoutGattCallback.kt
SiliconLabs
85,345,875
false
null
package com.siliconlabs.bledemo.bluetooth.ble import android.bluetooth.BluetoothGatt import android.bluetooth.BluetoothGattCallback abstract class TimeoutGattCallback : BluetoothGattCallback() { open fun onTimeout() {} open fun onMaxRetriesExceeded(gatt: BluetoothGatt) {} }
20
Kotlin
70
96
a4e476451c17abaa67b1ba85c81dd6146e5c5715
284
EFRConnect-android
Apache License 2.0
app/src/main/java/org/sil/storyproducer/viewmodel/SlideViewModelBuilder.kt
sillsdev
93,890,166
false
{"Kotlin": 819773, "HTML": 168357, "Java": 164820, "Dockerfile": 1612, "Shell": 770}
package org.sil.storyproducer.viewmodel import android.text.Layout import org.sil.storyproducer.model.PhaseType import org.sil.storyproducer.model.Slide import org.sil.storyproducer.model.SlideType import org.sil.storyproducer.model.Workspace import org.sil.storyproducer.tools.media.graphics.TextOverlay import java.te...
95
Kotlin
8
5
a3dd3fc194f62c21fcf1b49a34bae454c35a3c88
2,928
StoryProducer
MIT License
src/main/kotlin/com/cognifide/gradle/aem/base/vlt/SyncTask.kt
shwinnbin
148,231,699
true
{"Kotlin": 260207, "Shell": 5207, "Java": 1813, "Batchfile": 233}
package com.cognifide.gradle.aem.base.vlt import com.cognifide.gradle.aem.api.AemDefaultTask open class SyncTask : AemDefaultTask() { companion object { val NAME = "aemSync" } init { description = "Check out then clean JCR content." } }
0
Kotlin
0
0
e913b5f11b9dc0ed6e27908f3cd3c26ba47ba544
272
gradle-aem-plugin
Apache License 2.0
compose/compiler/compiler-hosted/integration-tests/src/test/java/androidx/compose/compiler/plugins/kotlin/ComposerParamTransformTests.kt
RikkaW
389,105,112
false
null
/* * Copyright 2020 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
23
null
843
7
6d53f95e5d979366cf7935ad7f4f14f76a951ea5
18,739
androidx
Apache License 2.0
app/src/main/java/com/kangaroo/wtcoin/app/Contants.kt
smartbackme
388,015,857
false
null
package com.kangaroo.wtcoin.app /** * author : WaTaNaBe * e-mail : <EMAIL> * time : 2020/09/14 * desc : */ internal const val LIAN_LENGTH = 200 internal const val LIAN_LEVEL1 = 2 internal const val LIAN_LEVEL2 = 4 internal const val LIAN_LEVEL3 = 16 internal const val LIAN_LEVEL4 = 64
0
Kotlin
1
0
372f1ca6d26ba2e9e24295e63280dd888ae51b64
295
Creative-Challenge-WTCoin
MIT License
jetbrains-core/tst/software/aws/toolkits/jetbrains/settings/MockAwsSettings.kt
tbtmuse
224,356,807
true
{"Kotlin": 1736421, "Java": 176230, "C#": 117036}
// Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.aws.toolkits.jetbrains.settings import java.util.UUID class MockAwsSettings( override var isTelemetryEnabled: Boolean, override var promptedForTelemetry: Boolean, override va...
0
Kotlin
0
1
1a850add5272b430e0e129109f6ee4972fd3df4c
353
aws-toolkit-jetbrains
Apache License 2.0
src/main/kotlin/com/github/cpjinan/plugin/akariartifact/AkariArtifact.kt
CPJiNan
755,792,734
false
{"Kotlin": 159973}
package com.github.cpjinan.plugin.akariartifact import taboolib.common.platform.Plugin import taboolib.platform.BukkitPlugin object AkariArtifact : Plugin() { val plugin by lazy { BukkitPlugin.getInstance() } }
0
Kotlin
0
1
8ed61ddd4667af4894a1e6b2130385a2936440fb
216
AkariArtifact
Creative Commons Zero v1.0 Universal
app/src/main/java/com/jin/businfo_gumi/widget/Toasty.kt
JinSagong
366,760,371
false
null
package com.jin.businfo_gumi.widget import android.widget.Toast import androidx.annotation.StringRes import com.jin.businfo_gumi.MainApplication.Companion.appContext import com.jin.businfo_gumi.R import com.muddzdev.styleabletoast.StyleableToast @Suppress("UNUSED") object Toasty { private var toast: StyleableToas...
0
Kotlin
0
1
30fde56859de44467730a202b0f74208f1a73d64
1,170
GumiBusInfo
Intel Open Source License
taskmanager/src/main/java/com/example/alexeyglushkov/taskmanager/tools/WeakRefList.kt
soniccat
28,707,156
false
{"Gradle": 23, "INI": 3, "Shell": 1, "Text": 3, "Ignore List": 21, "Batchfile": 1, "Markdown": 1, "Proguard": 20, "Kotlin": 259, "XML": 122, "Java": 299, "Java Properties": 1, "Gherkin": 1, "Ruby": 5}
package com.example.alexeyglushkov.taskmanager.tools import java.lang.ref.WeakReference import java.util.ArrayList /** * Created by alexeyglushkov on 23.08.15. */ class WeakRefList<T> : ArrayList<WeakReference<T>>() { override fun iterator(): MutableIterator<WeakReference<T>> { clean() return s...
1
null
1
1
0e0fa442e16d5544f7694042cf40cafde3672173
1,271
android-taskmanager
MIT License
paymentsheet/src/test/java/com/stripe/android/paymentsheet/forms/FormViewModelTest.kt
endronk
378,098,509
false
null
package com.stripe.android.paymentsheet.forms import com.google.common.truth.Truth.assertThat import com.stripe.android.paymentsheet.elements.common.TextFieldController import com.stripe.android.paymentsheet.specifications.FormElementSpec.SectionSpec.SectionFieldSpec.Email import com.stripe.android.paymentsheet.specif...
1
null
1
1
05d4053ad8e980744e8e7c277857d3e92bc1b608
1,638
stripe-android
MIT License
library/src/main/java/com/kenargo/compound_widgets/WidgetTitleAndEditText.kt
kenargo
232,925,307
false
{"Gradle": 4, "Markdown": 2, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Proguard": 2, "Kotlin": 22, "XML": 61, "Java": 3, "INI": 1}
package com.kenargo.compound_widgets import android.content.Context import android.text.Editable import android.text.TextUtils import android.text.TextWatcher import android.util.AttributeSet import android.view.LayoutInflater import android.view.View import android.view.inputmethod.InputMethodManager import android.w...
1
null
1
1
6d29c3503eb3ba5830e05950dd9fca04952fce27
6,098
compound_widgets
Apache License 2.0
src/main/kotlin/no/nav/syfo/Bootstrap.kt
navikt
257,523,904
false
null
package no.nav.syfo import io.ktor.application.* import io.ktor.routing.* import io.ktor.server.engine.* import io.ktor.server.netty.* import no.nav.syfo.application.* import no.nav.syfo.application.api.registerNaisApi import no.nav.syfo.application.mq.* import no.nav.syfo.db.Database import no.nav.syfo.kafka.* import...
1
Kotlin
0
0
ff3bd6ad74ec8436e06b9e4ccc8d96f1eb800690
3,483
padm2
MIT License
crypto/src/test/kotlin/org/web3k/crypto/SignTest.kt
zla-io
136,006,148
false
{"Kotlin": 82252}
package org.web3k.crypto import org.assertj.core.api.Assertions.assertThat import org.assertj.core.api.Assertions.assertThatThrownBy import org.junit.jupiter.api.Test import org.web3k.common.hexStringToByteArray import java.security.SignatureException private val TEST_MESSAGE = "A test message".toByteArray() class S...
1
Kotlin
0
0
48eb53a65f367f4c2094112e698b02703848b8af
1,440
web3k
Apache License 2.0
analysis/src/org/jetbrains/kotlin/idea/references/SyntheticPropertyAccessorReference.kt
JetBrains
278,369,660
false
null
/* * Copyright 2010-2015 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
191
null
4372
82
cc81d7505bc3e9ad503d706998ae8026c067e838
9,452
intellij-kotlin
Apache License 2.0
app/src/main/java/com/olabode/wilson/pytutor/ui/onboarding/OnBoardingAdapter.kt
whilson03
173,095,316
false
null
package com.olabode.wilson.pytutor.ui.onboarding import android.view.LayoutInflater import android.view.ViewGroup import androidx.recyclerview.widget.RecyclerView import com.olabode.wilson.pytutor.databinding.SlideItemContainerBinding import com.olabode.wilson.pytutor.models.IntroSlideItem import com.olabode.wilson.py...
2
Kotlin
3
4
440cdf95f1c7e750fcadb49623d6f15b993163cd
1,423
PyTutor
MIT License
compiler/testData/codegen/box/reflection/multifileClasses/javaFieldForVarAndConstVal.kt
JakeWharton
99,388,807
false
null
// IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND: JVM_IR // TARGET_BACKEND: JVM // WITH_REFLECT // FULL_JDK // FILE: 1.kt @file:kotlin.jvm.JvmName("Test") @file:kotlin.jvm.JvmMultifileClass package test import kotlin.reflect.jvm.* import kotlin.test.assertEquals fun testX() { val field = ::x.javaField ?: throw A...
181
null
5748
83
4383335168338df9bbbe2a63cb213a68d0858104
1,615
kotlin
Apache License 2.0
idea/testData/decompiler/decompiledText/DependencyOnNestedClasses.expected.kt
JakeWharton
99,388,807
false
null
// IntelliJ API Decompiler stub source generated from a class file // Implementation of methods is not available package test public final class DependencyOnNestedClasses() : dependency.D.Nested { internal final fun f(nc: dependency.D.Companion.NestedInClassObject, i: dependency.D.Inner, ii: dependency.D.Inner.In...
1
null
28
83
4383335168338df9bbbe2a63cb213a68d0858104
403
kotlin
Apache License 2.0
plugins/kotlin/code-insight/intentions-shared/tests/testData/intentions/unfolding/functionCallToIf/multiArguments3.kt
ingokegel
72,937,917
true
null
// AFTER-WARNING: Parameter 'x' is never used // AFTER-WARNING: Parameter 'y' is never used // AFTER-WARNING: Parameter 'z' is never used fun test(b: Boolean) { <caret>println(x = 1, y = if (b) 2 else 4, z = 3) } fun println(x: Int, y: Int, z: Int) {}
1
null
1
2
b07eabd319ad5b591373d63c8f502761c2b2dfe8
256
intellij-community
Apache License 2.0
camera/camera-camera2-pipe-integration/src/main/java/androidx/camera/camera2/pipe/integration/adapter/CoroutineAdapters.kt
RikkaW
389,105,112
false
null
/* * Copyright 2020 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
29
null
983
7
6d53f95e5d979366cf7935ad7f4f14f76a951ea5
3,731
androidx
Apache License 2.0
src/test/kotlin/no/nav/tilleggsstonader/sak/infrastruktur/mocks/JournalpostClientConfig.kt
navikt
685,490,225
false
{"Kotlin": 1395663, "Gherkin": 37257, "HTML": 33935, "Shell": 924, "Dockerfile": 164}
package no.nav.tilleggsstonader.sak.infrastruktur.mocks import io.mockk.every import io.mockk.mockk import no.nav.tilleggsstonader.kontrakter.dokarkiv.ArkiverDokumentResponse import no.nav.tilleggsstonader.kontrakter.dokarkiv.OppdaterJournalpostResponse import no.nav.tilleggsstonader.kontrakter.felles.BrukerIdType imp...
4
Kotlin
1
0
e9b8839f142c7859d57222a5bcb2727217539e0b
6,118
tilleggsstonader-sak
MIT License
http4k-security/oauth/src/test/kotlin/org/http4k/security/oauth/server/OAuthServerTest.kt
http4k
86,003,479
false
null
package org.http4k.security.oauth.server import com.natpryce.hamkrest.and import com.natpryce.hamkrest.assertion.assertThat import org.http4k.core.Filter import org.http4k.core.Method.GET import org.http4k.core.Method.POST import org.http4k.core.NoOp import org.http4k.core.Request import org.http4k.core.Status.Compani...
34
null
249
2,615
7ad276aa9c48552a115a59178839477f34d486b1
2,703
http4k
Apache License 2.0
allure-model/src/main/kotlin/io/qameta/allure/model/WithStatusDetails.kt
aartikov
222,651,686
true
{"Kotlin": 488317, "Java": 10748}
package io.qameta.allure.model interface WithStatusDetails : WithStatus { var statusDetails: StatusDetails? }
0
Kotlin
0
1
a79c8ffab972f44184abe214a55b963d8af4449f
115
Kaspresso
Apache License 2.0
app/src/main/java/com/example/mywiki/ui/webView/WebViewActivity.kt
uditbhaskar
368,022,314
false
null
package com.example.mywiki.ui.webView import android.annotation.SuppressLint import android.os.Bundle import android.view.View import android.webkit.WebView import android.webkit.WebViewClient import androidx.lifecycle.Observer import com.example.mywiki.databinding.ActivityWebviewBinding import com.example.mywiki.di.c...
0
Kotlin
6
8
952fe8a9493d5821cb3a2584f0a3ae21dfb9cec0
1,884
MyWiki
MIT License
fileloader/src/main/java/me/bytebeats/fileloader/FileLoaderClientProxy.kt
bytebeats
394,566,766
false
null
package me.bytebeats.fileloader import okhttp3.* import okhttp3.MediaType.Companion.toMediaTypeOrNull import okhttp3.RequestBody.Companion.toRequestBody import java.io.IOException import java.io.InputStream import java.util.concurrent.TimeUnit import kotlin.jvm.Throws /** * Created by bytebeats on 2021/8/10 : 15:52 ...
0
Kotlin
0
1
294510d9307c633a4ee2466746838f1774aa28f5
5,258
OkHttpFileLoader
MIT License
livingdoc-converters/src/main/kotlin/org/livingdoc/converters/JSONConverter.kt
LivingDoc
85,412,044
false
null
package org.livingdoc.converters import com.beust.klaxon.JsonObject import com.beust.klaxon.Klaxon import com.beust.klaxon.KlaxonException import org.livingdoc.api.conversion.ConversionException import org.livingdoc.api.conversion.TypeConverter import java.io.StringReader import java.lang.reflect.AnnotatedElement impo...
34
Kotlin
16
14
f3d52b8bacbdf81905e4b4a753d75f584329b297
2,165
livingdoc
Apache License 2.0
z2-core/src/commonMain/kotlin/hu/simplexion/z2/services/factory/ServiceImplFactory.kt
spxbhuhb
665,463,766
false
{"Kotlin": 1812530, "CSS": 171914, "Java": 20900, "JavaScript": 1950, "HTML": 1854}
package hu.simplexion.z2.services.factory import hu.simplexion.z2.services.ServiceContext import hu.simplexion.z2.services.ServiceImpl interface ServiceImplFactory { operator fun plusAssign(template: ServiceImpl<*>) operator fun get(serviceName: String, context: ServiceContext): ServiceImpl<*>? }
5
Kotlin
0
1
da267d17fcfa20631ba3d539efd7cbe42a4aa8ca
310
z2-pre
Apache License 2.0
library/src/main/java/io/github/deweyreed/scrollhmspicker/ScrollHmsPicker.kt
DeweyReed
121,510,804
false
null
package io.github.deweyreed.scrollhmspicker import android.content.Context import android.graphics.Typeface import android.os.Parcel import android.os.Parcelable import android.util.AttributeSet import android.view.LayoutInflater import android.view.View import android.widget.LinearLayout import android.widget.TextVie...
0
Kotlin
11
31
dc0ba4f00bccdf9f3e4673cecad93587652ce356
10,279
ScrollHmsPicker
MIT License
tests/testutils/src/main/kotlin/io/element/android/tests/testutils/LongTask.kt
vector-im
546,522,002
false
null
/* * Copyright (c) 2023 New Vector Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
101
Kotlin
32
239
3414351bfd143c174732da539e25350030249b67
932
element-x-android
Apache License 2.0
app/src/main/java/com/talhaoz/martianstalker/models/MissionDetailsModel.kt
talhaoz
303,740,794
false
{"Kotlin": 29900}
package com.talhaoz.martianstalker.model import com.google.gson.annotations.SerializedName data class MissionDetailsModel( @SerializedName("photos") val photos: ArrayList<Photo> )
0
Kotlin
0
0
ccf4a8749420871da6967c68fadb8c7a40962b81
189
Martian-Scouter
Apache License 2.0
sync/sync-settings-impl/src/test/java/com/duckduckgo/sync/settings/impl/SettingsSyncDataPersisterTest.kt
hojat72elect
822,396,044
false
{"Kotlin": 11627106, "HTML": 65873, "Ruby": 16984, "C++": 10312, "JavaScript": 5520, "CMake": 1992, "C": 1076, "Shell": 784}
package com.duckduckgo.sync.settings.impl import androidx.arch.core.executor.testing.* import androidx.room.* import androidx.test.ext.junit.runners.* import androidx.test.platform.app.* import com.duckduckgo.app.* import com.duckduckgo.common.test.CoroutineTestRule import com.duckduckgo.common.test.FileUtilities im...
0
Kotlin
0
0
54351d039b85138a85cbfc7fc3bd5bc53637559f
5,310
DuckDuckGo
Apache License 2.0
designer/src/com/android/tools/idea/common/lint/AttributeKey.kt
JetBrains
60,701,247
false
null
/* * Copyright (C) 2018 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
5
null
230
948
10110983c7e784122d94c7467e9d243aba943bf4
831
android
Apache License 2.0
mobile/src/main/java/ch/epfl/sdp/mobile/state/StatefulPuzzleGameScreen.kt
epfl-SDP
462,385,783
false
null
@file:OptIn(ExperimentalPermissionsApi::class) package ch.epfl.sdp.mobile.state import android.Manifest.permission.RECORD_AUDIO import androidx.compose.foundation.layout.PaddingValues import androidx.compose.material.SnackbarHostState import androidx.compose.runtime.* import androidx.compose.ui.Modifier import ch.epf...
15
Kotlin
3
13
71f6e2a5978087205b35f82e89ed4005902d697e
2,784
android
MIT License
src/main/kotlin/no/roedt/ringesentralen/sms/LagreSMSResponse.kt
Roedt
300,015,002
false
{"Kotlin": 268735, "Dockerfile": 1250, "Java": 456, "HTML": 181}
package no.roedt.ringesentralen.sms import io.quarkus.runtime.annotations.RegisterForReflection @RegisterForReflection data class LagreSMSResponse( val id: Int )
16
Kotlin
0
1
6c681c37cbd1e06ddc98554beda447464776dfc9
168
ringesentralen-backend
MIT License
http4k-cloudevents/src/main/kotlin/org/http4k/format/cloudEventsExtensions.kt
http4k
86,003,479
false
null
package org.http4k.format import com.fasterxml.jackson.module.kotlin.jacksonTypeRef import io.cloudevents.CloudEvent import io.cloudevents.CloudEventData import io.cloudevents.core.builder.CloudEventBuilder import io.cloudevents.core.builder.withDataContentType import io.cloudevents.jackson.JsonCloudEventData import ...
28
null
198
2,069
fb14ae0112d3e5ac1d34f4d73941dfd25b942a44
1,341
http4k
Apache License 2.0
sdk/src/main/java/com/qonversion/android/sdk/internal/di/module/FragmentModule.kt
qonversion
224,974,105
false
{"Kotlin": 604976, "Java": 9442, "Ruby": 2698}
package com.qonversion.android.sdk.internal.di.module import com.qonversion.android.sdk.automations.internal.macros.ScreenProcessor import com.qonversion.android.sdk.internal.di.scope.ActivityScope import com.qonversion.android.sdk.automations.mvp.ScreenContract import dagger.Module import dagger.Provides @Module int...
2
Kotlin
21
122
619465b65dbf2612486ec3adad9b0a8750d76c7b
626
android-sdk
MIT License
common/src/test/kotlin/pdl/AdressebeskyttelseTest.kt
navikt
499,112,118
false
{"Kotlin": 105937}
package pdl import com.fasterxml.jackson.module.kotlin.jacksonObjectMapper import com.fasterxml.jackson.module.kotlin.jacksonTypeRef import no.nav.etterlatte.libs.common.pdl.Adressebeskyttelse import no.nav.etterlatte.libs.common.pdl.AdressebeskyttelseBolkPerson import no.nav.etterlatte.libs.common.pdl.Adressebeskytte...
0
Kotlin
0
0
db2203c428e3dd862fa8c2706715cf4cdf10f89e
4,362
pensjon-etterlatte-libs
MIT License
dsl/src/main/kotlin/io/cloudshiftdev/awscdkdsl/services/codedeploy/CfnDeploymentGroupGitHubLocationPropertyDsl.kt
cloudshiftinc
667,063,030
false
null
@file:Suppress( "RedundantVisibilityModifier", "RedundantUnitReturnType", "RemoveRedundantQualifierName", "unused", "UnusedImport", "ClassName", "REDUNDANT_PROJECTION", "DEPRECATION" ) package cloudshift.awscdk.dsl.services.codedeploy import cloudshift.awscdk.common.CdkDslMarker import...
3
null
0
3
c59c6292cf08f0fc3280d61e7f8cff813a608a62
2,119
awscdk-dsl-kotlin
Apache License 2.0
kotlin/kotlin-1.6.10/src/main/kotlin/dev/nulli/jvm_benchmarks/kotlin_1_6_10/DataSize.kt
ahaim5357
464,627,517
false
null
package dev.nulli.jvm_benchmarks.kotlin_1_6_10 import org.openjdk.jol.info.ClassLayout import kotlin.reflect.KClass fun main() { viewClassData("Integer", Int::class) viewObjectData("Int Array 100", IntArray(100)) viewObjectData("Int Array 1K", IntArray(1000)) viewObjectData("Int Array 5K", IntArray(50...
0
Kotlin
0
0
6596cf17b0e3f996cd438634f6736030c95a5a63
1,513
jvm-benchmarks
MIT License
app/src/main/java/com/everdeng/android/app/wanandroid/widget/MyWebView.kt
devallever
391,037,939
false
null
package com.everdeng.android.app.wanandroid.widget import android.content.Context import android.util.AttributeSet import android.view.KeyEvent import android.webkit.WebView class MyWebView: WebView { constructor( context: Context): super(context) constructor(context: Context, attributeSet: AttributeSet): sup...
1
null
1
3
e98d1996a44bcebe477b5a11b6df0cfade29b7fe
718
WanAndroid
Apache License 2.0
app/src/main/java/com/moka/framework/base/BaseFragment.kt
moka-a
70,499,969
false
null
package com.moka.framework.base import android.app.AlertDialog import android.os.Bundle import android.support.v4.app.Fragment import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import com.moka.framework.extenstion.hideSoftKey import com.moka.framework.util.MLog import com.moka.m...
1
null
1
15
b625a2f77826bd10d464fe0292ee545378c039bd
3,000
moka-sample-android
The Unlicense
idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/callableBug.kt
JakeWharton
99,388,807
false
null
package callableBug fun main(args: Array<String>) { val callable = 1 array(1, 2).map { it + 1 //Breakpoint! }.forEach { it + 2 } } // STEP_INTO: 1 // EXPRESSION: callable // RESULT: 1: I // EXPRESSION: it // RESULT: 2: I
0
null
30
83
4383335168338df9bbbe2a63cb213a68d0858104
250
kotlin
Apache License 2.0
app/src/main/java/com/stocksexchange/android/database/tables/OrdersTable.kt
nscoincommunity
277,168,471
true
{"Kotlin": 2814235}
package com.stocksexchange.android.database.tables import com.stocksexchange.api.model.rest.Order import com.stocksexchange.api.model.rest.OrderStatus import com.stocksexchange.android.database.daos.OrderDao import com.stocksexchange.android.database.model.DatabaseOrder import com.stocksexchange.android.database.table...
0
null
0
0
52766afab4f96506a2d9ed34bf3564b6de7af8c3
2,471
Android-app
MIT License
src/main/kotlin/com/niclas_van_eyk/laravel_make_integration/run/PHPScriptRunListener.kt
NiclasvanEyk
277,648,794
false
null
package com.niclas_van_eyk.laravel_make_integration.run import com.intellij.execution.process.ProcessEvent import com.intellij.execution.process.ProcessListener import com.intellij.openapi.util.Key class PHPScriptRunListener: ProcessListener { val texts = ArrayList<String>() override fun onTextAvailable(even...
7
null
1
9
773808cb47dd3e6f45f97dfb9bd048ae6db2e550
614
jetbrains-laravel-make-integration
Apache License 2.0
game/plugins/src/main/kotlin/gg/rsmod/plugins/content/drops/DropTable.kt
2011Scape
578,880,245
false
null
package gg.rsmod.plugins.content.drops /** * Represents a drop table. * @param name The name of this table. * @param entries The drop entries. */ data class DropTable(val name: String?, val entries: Array<TableBuilder.Entry>) { override fun equals(other: Any?): Boolean { if (this === other) ret...
5
null
8
34
e5400cc71bfa087164153d468979c5a3abc24841
716
game
Apache License 2.0
plugins/lombok/testData/box/data.kt
JetBrains
3,432,266
false
{"Kotlin": 79571273, "Java": 6776465, "Swift": 4063829, "C": 2609744, "C++": 1957654, "Objective-C++": 175279, "JavaScript": 130754, "Python": 59855, "Shell": 34920, "Objective-C": 21463, "Lex": 21452, "Batchfile": 11382, "CSS": 11368, "Ruby": 10470, "Dockerfile": 9907, "Groovy": 7092, "EJS": 5241, "CMake": 4473, "HTML...
// FULL_JDK // WITH_STDLIB // FILE: DataExample.java import lombok.*; import java.util.List; import java.util.Arrays; @Data public class DataExample { private final String name; @Setter(AccessLevel.PACKAGE) private int age; private double score; private String[] tags; @ToString(includeFieldNames=...
181
Kotlin
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
1,133
kotlin
Apache License 2.0
publishing-sdk/src/main/java/com/ably/tracking/publisher/MabpoxHelpers.kt
ably
313,556,297
false
null
package com.ably.tracking.publisher import com.ably.tracking.Location import com.mapbox.api.directions.v5.DirectionsCriteria import com.mapbox.geojson.Point /** * Returns list of [Point] that Mapbox will treat as a route for a trip. * First element in the list is the starting position. * Last element in the lis...
101
null
6
9
dca56bac165ebc1474cf2afb863728c2aad4aeb4
977
ably-asset-tracking-android
Apache License 2.0
line-awesome/src/commonMain/kotlin/compose/icons/lineawesomeicons/TrophySolid.kt
DevSrSouza
311,134,756
false
{"Kotlin": 36719092}
package compose.icons.lineawesomeicons import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap.Companion.Butt import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter ...
17
Kotlin
25
571
a660e5f3033e3222e3553f5a6e888b7054aed8cd
5,703
compose-icons
MIT License
GaiaXAnalyze/GXAnalyzeAndroid/src/main/java/com/alibaba/gaiax/analyze/GXValue.kt
alibaba
456,772,654
false
{"C": 3164040, "Kotlin": 1542817, "Rust": 1390378, "Objective-C": 919399, "Java": 650249, "JavaScript": 260489, "TypeScript": 229724, "C++": 223843, "CSS": 154159, "HTML": 113541, "MDX": 86833, "Objective-C++": 60116, "Swift": 25131, "Shell": 12787, "Makefile": 12210, "Ruby": 6268, "CMake": 4674, "Batchfile": 3816, "SC...
package com.alibaba.gaiax.analyze abstract class GXValue { fun <T : GXValue?> cast(clazz: Class<T>): T { return if (clazz.isInstance(this)) { this as T } else { throw RuntimeException("expected: " + clazz.simpleName + ", actual: " + javaClass.simpleName) } } ...
27
C
118
950
125d0cd701adb58ec7ae5e719d3939cd2c5aee5b
353
GaiaX
Apache License 2.0
QuickBaseLib/src/main/java/cn/chawloo/base/ext/ExtensionFun.kt
ChawLoo
500,638,671
false
{"Kotlin": 202722}
package cn.chawloo.base.ext import android.content.ClipData import android.content.ClipboardManager import android.content.Context import android.os.Bundle import android.os.Parcelable import com.hjq.toast.Toaster import java.io.Serializable /** * 扩展函数,放一些不知道怎么分类的扩展函数 知道后可以迁移 * @author Create by 鲁超 on 2022/6/7 000...
0
Kotlin
0
2
c5d4063dcf4eb45b15b94d62f690632719cab801
2,234
QuickBaseLib
Apache License 2.0
detekt-rules/src/main/kotlin/io/gitlab/arturbosch/detekt/rules/exceptions/CatchRuntimeException.kt
winterDroid
101,016,375
true
{"Kotlin": 446738, "Groovy": 1433, "Java": 163}
package io.gitlab.arturbosch.detekt.rules.exceptions import io.gitlab.arturbosch.detekt.api.Config import org.jetbrains.kotlin.psi.KtCatchClause /** * @author <NAME> */ class CatchRuntimeException(config: Config = Config.empty) : ExceptionsRule(config) { override fun visitCatchSection(catchClause: KtCatchClause) ...
0
Kotlin
2
0
cd839f2e6767ad884d3224ab51045fcc58e2504a
404
detekt-old
Apache License 2.0
domain/src/main/java/com/nowiwr01p/domain/news/article/data/CreateArticleMode.kt
nowiwr01w
584,138,480
false
null
package com.nowiwr01p.domain.news.article.data enum class CreateArticleMode { SEND_TO_REVIEW, PUBLISH_REVIEWED }
0
Kotlin
1
3
0ebdf8f0cc072cf1f07810a6c36e710f373bfc7f
121
Protest
MIT License
domain/src/main/java/com/duccnv/cleanmoviedb/domain/model/Transformer.kt
ahmedalkhashab
260,399,969
false
{"Gradle": 4, "Gradle Kotlin DSL": 6, "Java Properties": 2, "Markdown": 3, "Shell": 1, "Text": 1, "Ignore List": 4, "Batchfile": 1, "Kotlin": 121, "JSON": 5, "Proguard": 2, "Java": 3, "XML": 26}
package com.duccnv.cleanmoviedb.domain.model import io.reactivex.ObservableTransformer abstract class Transformer<T> : ObservableTransformer<T, T>
1
null
1
1
d157e2f275b20c8601766ce36c8a91841c133faa
148
clean_movie_db
Apache License 2.0
shared/src/commonMain/kotlin/eu/baroncelli/dkmpsample/shared/viewmodel/screens/countrydetail/CountryDetailEvents.kt
developerY
367,396,321
true
{"Kotlin": 62642, "Swift": 15399}
package eu.baroncelli.dkmpsample.shared.viewmodel.screens.countrydetail import eu.baroncelli.dkmpsample.shared.viewmodel.Events /********** INTERNAL event function, called by the StateProvider's callOnInit **********/ internal fun Events.loadCountryDetailData(country: String) = screenCoroutine { stateReducers.up...
0
null
0
0
9d8d62570eec47693d117d4352c314af6ffc8d96
348
D-KMP-sample
Apache License 2.0
shared/src/commonMain/kotlin/org/nautilusapp/nautilus/userauth/AccountType.kt
nautilus-frc
663,757,256
false
{"Kotlin": 651562, "Swift": 121224}
package org.nautilusapp.nautilus.userauth import kotlinx.serialization.KSerializer import kotlinx.serialization.Serializable import kotlinx.serialization.descriptors.PrimitiveKind import kotlinx.serialization.descriptors.PrimitiveSerialDescriptor import kotlinx.serialization.descriptors.SerialDescriptor import kotlinx...
8
Kotlin
0
0
007923615c2d574f6b58ac334f48603ca078adfc
1,334
companion
MIT License
v1/src/main/kotlin/com/example/forsubmit/domain/user/infrastructure/userinfo/dto/GithubUserInfoResponse.kt
jhhong0509
433,380,334
false
{"Kotlin": 84514, "Groovy": 81151, "Vim Snippet": 690}
package com.example.forsubmit.domain.user.infrastructure.userinfo.dto import com.fasterxml.jackson.annotation.JsonProperty class GithubUserInfoResponse( @JsonProperty("name") private val userName: String, @JsonProperty("login") private val userId: String ): BaseUserInfoResponse { override fun getA...
5
Kotlin
4
29
3f8effaca61e6d8f328e3aca7356cbd1d67335b4
396
Kopring-Best-Practice
Apache License 2.0
src/main/kotlin/com/example/demo/math/SimpleMath.kt
HoracioGomes
632,593,664
false
null
package com.example.demo.math import kotlin.math.sqrt class SimpleMath { fun sum(num1: Double, num2: Double) = num1 + num2 fun sub(num1: Double, num2: Double) = num1 - num2 fun mult(num1: Double, num2: Double) = num1 * num2 fun div(num1: Double, num2: Double) = num1 / num2 fun mean(num1: Double, ...
0
Kotlin
0
0
150648e07e35566b90e6bed34346595c71484e1f
395
Calculadora-SpringBoot-With-Kotlin
Apache License 2.0
app/src/main/java/social/entourage/android/api/model/feed/NewsfeedItem.kt
ReseauEntourage
30,242,877
false
{"Kotlin": 1827995}
package social.entourage.android.api.model.feed import com.google.gson.* import social.entourage.android.api.model.BaseEntourage import timber.log.Timber import java.lang.reflect.Type /** * Created by mihaiionescu on 05/05/16. */ class NewsfeedItem { // ---------------------------------- // ATTRIBUTES /...
1
Kotlin
2
9
b5bc8b3c2180a11589271dbbb87f7dc7d44e4243
2,583
entourage-android
MIT License
feature-wallet-impl/src/main/java/jp/co/soramitsu/wallet/impl/presentation/balance/list/model/BalanceModel.kt
soramitsu
278,060,397
false
null
package jp.co.soramitsu.wallet.impl.presentation.balance.list.model import jp.co.soramitsu.common.utils.fractionToPercentage import jp.co.soramitsu.common.utils.isZero import jp.co.soramitsu.common.utils.orZero import jp.co.soramitsu.common.utils.percentageToFraction import jp.co.soramitsu.common.utils.sumByBigDecimal...
11
Kotlin
22
70
70153dee5a1f2ea18cf51d09d3bb8e4d8d1e0c87
3,351
fearless-Android
Apache License 2.0
src/main/kotlin/dev/storozhenko/familybot/executors/pm/GetChatListExecutor.kt
AngryJKirk
114,262,178
false
null
package dev.storozhenko.familybot.executors.pm import dev.storozhenko.familybot.common.extensions.send import dev.storozhenko.familybot.models.router.ExecutorContext import dev.storozhenko.familybot.models.telegram.Chat import dev.storozhenko.familybot.repos.CommonRepository import dev.storozhenko.familybot.telegram.B...
0
Kotlin
4
97
aff071c72503ffb9ad276fb9cc33d8408196795d
1,337
familybot
Apache License 2.0
app/src/main/java/com/app/moodtrack_android/util/NotificationQuestionnaireUtil.kt
martinheitmann
431,879,047
false
{"Kotlin": 272822}
package com.app.moodtrack_android.util import android.util.Log import com.app.moodtrack_android.model.notificationquestionnaire.NQCondition import com.app.moodtrack_android.model.notificationquestionnaire.NQEdge import com.app.moodtrack_android.model.notificationquestionnaire.NQNode import com.app.moodtrack_android.mo...
0
Kotlin
1
0
9b774c65c5e99e646c50370f17d97575b07ac46b
3,567
moodtrack-android
MIT License
coil-base/src/main/java/coil/memory/StrongMemoryCache.kt
ianhanniballake
384,854,300
true
{"Kotlin": 621189, "Shell": 1087}
package coil.memory import android.content.ComponentCallbacks2 import android.content.ComponentCallbacks2.TRIM_MEMORY_BACKGROUND import android.content.ComponentCallbacks2.TRIM_MEMORY_RUNNING_LOW import android.content.ComponentCallbacks2.TRIM_MEMORY_UI_HIDDEN import android.graphics.Bitmap import android.util.Log imp...
0
null
0
1
f152e172dbfe6b9c231967242f16dc63fda422e8
5,623
coil
Apache License 2.0
src/main/kotlin/no/nav/k9/tjenester/mock/MockApis.kt
navikt
238,874,021
false
{"Kotlin": 1562879, "JavaScript": 741, "Shell": 659, "Dockerfile": 343, "PLpgSQL": 167}
package no.nav.k9.los.tjenester.mock import io.ktor.server.application.call import io.ktor.server.html.respondHtml import io.ktor.http.HttpStatusCode import io.ktor.server.request.receive import io.ktor.server.response.respond import io.ktor.server.routing.Route import io.ktor.server.routing.get import io.ktor.server....
9
Kotlin
0
0
c75348901ee4aad513888a7111e005090900c6f9
17,141
k9-los-api
MIT License
compiler/testData/diagnostics/testsWithStdLib/tryCatch/falsePositiveSmartcasts.kt
JetBrains
3,432,266
false
null
// !WITH_NEW_INFERENCE // !LANGUAGE: +NewDataFlowForTryExpressions // !DIAGNOSTICS: -UNUSED_VARIABLE -UNUSED_VALUE -VARIABLE_WITH_REDUNDANT_INITIALIZER // SKIP_TXT // Related issue: KT-28370 class ExcA : Exception() class ExcB : Exception() fun test1() { var x: String? = null x = "" try { x = nul...
182
null
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
2,772
kotlin
Apache License 2.0
kotlinpoet/src/main/java/com/squareup/kotlinpoet/TypeName.kt
LloydFinch
224,367,360
false
null
/* * Copyright (C) 2015 Square, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
1
null
1
2
c73c349b32d1de0d5b5233fa61a40bd15d4a51e1
37,145
kotlinpoet
Apache License 2.0
app/src/main/java/com/github/skytoph/taski/presentation/habit/list/component/HabitDaily.kt
skytoph
708,362,840
false
{"Kotlin": 602263}
@file:OptIn(ExperimentalMaterial3Api::class) package com.github.skytoph.taski.presentation.habit.list.component import androidx.compose.animation.Animatable import androidx.compose.animation.core.tween import androidx.compose.foundation.ExperimentalFoundationApi import androidx.compose.foundation.background import an...
0
Kotlin
0
1
6639c40403f384c2125b6370499fcd6a0120a72b
6,342
HabitMate
The Unlicense
meistercharts-commons/src/commonMain/kotlin/com/meistercharts/annotations/Snapped.kt
Neckar-IT
599,079,962
false
{"Kotlin": 5819931, "HTML": 87784, "JavaScript": 1378, "CSS": 1114}
package com.meistercharts.annotations import it.neckar.open.unit.other.px /** * Marks values that have been snapped (usually to physical pixels) */ @Retention(AnnotationRetention.SOURCE) @Target( AnnotationTarget.CLASS, AnnotationTarget.ANNOTATION_CLASS, AnnotationTarget.TYPE_PARAMETER, AnnotationTarget.PRO...
3
Kotlin
3
5
ed849503e845b9d603598e8d379f6525a7a92ee2
716
meistercharts
Apache License 2.0
app/src/main/java/boc/hackathon/kubaras/data/Transaction.kt
BocHackathon-4-0
702,047,644
false
{"Kotlin": 56677}
package boc.hackathon.kubaras.data import kotlinx.serialization.Serializable @Serializable data class Transaction( val amount: Double, val currency: String, val description: String, val fee: Int, val id: String, val receiver_account: String, val reference_number: String, val sender_acc...
0
Kotlin
0
0
a297055f463525ead0925cac1e2e51bbbad91f44
419
SmartInvestMoneyBox
MIT License
src/main/kotlin/com/wynntils/launchy/data/Group.kt
Wynntils
561,288,557
false
null
package com.mineinabyss.launchy.data import kotlinx.serialization.Serializable @Serializable data class Group( val name: String, val enabledByDefault: Boolean = false, val forceEnabled: Boolean = false, val forceDisabled: Boolean = false, )
5
null
6
8
e1282da59725ea1e6ba953eb7ead8522aba4455e
259
launchy
MIT License
bbfgradle/tmp/arrays/JavaAndKotlin/javaAndKotlin360.kt
DaniilStepanov
346,008,310
false
null
// FILE: BoxFunKt.java import kotlin.Metadata; import kotlin.jvm.internal.Intrinsics; import org.jetbrains.annotations.NotNull; class BoxFunKt { @NotNull public static final String box() { String s = "s"; s = s + 1; return Intrinsics.areEqual(s, "s1") ? "OK" : "fail"; } } // FILE: useAnony...
1
null
1
1
e772ef1f8f951873ebe7d8f6d73cf19aead480fa
448
kotlinWithFuzzer
Apache License 2.0
zircon.development/src/main/kotlin/org/codetome/zircon/main.kt
mdr0id
142,499,841
true
{"Kotlin": 772586, "Java": 70338}
package org.codetome.zircon import org.codetome.zircon.poc.drawableupgrade.* fun main(args: Array<String>) { testRender() System.exit(0) } private fun testRender() { val width = 20 val height = 10 val renderer = Renderer() val tileGrid = TileGrid(width, height) val tile = Tile('y') ...
0
Kotlin
0
0
58cade5b8ecb2663d6880d3220db70f6e7bb6f91
1,143
zircon
MIT License
app/src/main/kotlin/ir/erfansn/nsmavpn/data/source/local/VpnServersLocalDataSource.kt
erfansn
547,180,309
false
{"Kotlin": 611093, "HTML": 313045}
/* * Copyright 2024 Erfan Sn * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in...
13
Kotlin
1
35
230181bfc03b19bd5bb52818ee0b8b19078a4ec1
3,132
NsmaVPN
Apache License 2.0
json-builder/kotlin/src/generated/kotlin/com/yandex/div/dsl/model/UrlVariable.kt
divkit
523,491,444
false
{"Kotlin": 7327303, "Swift": 5164616, "Svelte": 1148832, "TypeScript": 912803, "Dart": 630920, "Python": 536031, "Java": 507940, "JavaScript": 152546, "CSS": 37870, "HTML": 23434, "C++": 20911, "CMake": 18677, "Shell": 8895, "PEG.js": 7210, "Ruby": 3723, "C": 1425, "Objective-C": 38}
// Generated code. Do not modify. package com.yandex.div.dsl.model import java.net.URI import com.fasterxml.jackson.annotation.* import com.yandex.div.dsl.* import com.yandex.div.dsl.context.* import com.yandex.div.dsl.type.* import com.yandex.div.dsl.util.* class UrlVariable internal constructor( @JsonIgnore va...
5
Kotlin
128
2,240
dd102394ed7b240ace9eaef9228567f98e54d9cf
1,617
divkit
Apache License 2.0
app/src/main/java/com/dtsedemo/mtwoauth/manager/FacebookAuthManager.kt
mahmutyetisir
299,620,801
false
null
package com.dtsedemo.mtwoauth.manager import com.dtsedemo.mtwoauth.common.observableCreate import com.dtsedemo.mtwoauth.model.ResultEvent import com.dtsedemo.mtwoauth.model.User import com.huawei.agconnect.auth.AGConnectAuth import com.huawei.agconnect.auth.FacebookAuthProvider import io.reactivex.rxjava3.core.Observa...
0
null
1
4
fc0ed75785f1a523229e3a2a9a211e0b5886568f
1,521
HuaweiAuth
Apache License 2.0
solve/src/commonMain/kotlin/it/unibo/tuprolog/solve/stdlib/primitive/AtomLength.kt
tuProlog
230,784,338
false
null
package it.unibo.tuprolog.solve.stdlib.primitive import it.unibo.tuprolog.core.Atom import it.unibo.tuprolog.core.Integer import it.unibo.tuprolog.core.Substitution import it.unibo.tuprolog.core.Term import it.unibo.tuprolog.core.Var import it.unibo.tuprolog.solve.ExecutionContext import it.unibo.tuprolog.solve.primit...
92
null
8
93
3223ffc302e5da0efe2b254045fa1b6a1a122519
1,230
2p-kt
Apache License 2.0
app/src/main/java/ilkadam/ilksohbet/presentation/bottomnavigation/components/CustomNavItem.kt
ademkocamaz
803,881,747
false
{"Kotlin": 261729}
package ilkadam.ilksohbet.presentation.bottomnavigation.components import androidx.compose.material3.IconButton import androidx.compose.runtime.Composable @Composable fun CustomNavItem( onClick: () -> Unit, iconSelected: @Composable () -> Unit ) { IconButton(onClick = { onClick() }, co...
0
Kotlin
0
0
cd06a2de124fdbc8c78085da8e9d8bcc46a74033
354
ilkMuhabbet
MIT License
app/src/main/java/space/pal/sig/service/SpaceNotificationManager.kt
icatalin201
179,758,397
false
null
package space.pal.sig.service import android.app.NotificationChannel import android.app.NotificationManager import android.app.PendingIntent import android.content.Context import android.content.Intent import android.graphics.Bitmap import android.os.Build import androidx.core.app.NotificationCompat import space.pal.s...
0
Kotlin
0
0
9f8485e7ef1580be8c84dd34babd99571bed277a
3,228
SpaceNow
Apache License 2.0
bank-api-demo/src/main/kotlin/org/antop/account/BankApiApplication.kt
antop-dev
203,771,713
false
null
package org.antop.account import org.springframework.boot.autoconfigure.SpringBootApplication import org.springframework.boot.runApplication @SpringBootApplication class BankApiApplication fun main(args: Array<String>) { runApplication<BankApiApplication>(*args) }
1
null
1
1
f88069137f1ea7ea67278c8d9dd1d74f378e2bf3
272
glory-of-rest
MIT License