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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
src/main/kotlin/no/nav/brukerdialog/ytelse/omsorgpengerutbetalingsnf/api/domene/OmsorgspengerutbetalingSnfKomplettSøknad.kt | navikt | 585,578,757 | false | {"Kotlin": 1442489, "Handlebars": 126943, "Dockerfile": 98} | package no.nav.brukerdialog.ytelse.omsorgpengerutbetalingsnf.api.domene
import no.nav.k9.søknad.Søknad
import no.nav.k9.søknad.felles.type.SøknadId
import no.nav.brukerdialog.domenetjenester.innsending.KomplettInnsending
import no.nav.brukerdialog.ytelse.fellesdomene.Bekreftelser
import no.nav.brukerdialog.ytelse.fell... | 4 | Kotlin | 0 | 0 | 7c29304e39924a70fdbb7270c9dd4669bb70a150 | 1,633 | k9-brukerdialog-prosessering | MIT License |
kontroller/src/main/kotlin/no/ssb/kostra/validation/rule/famvern/famvern52a/Rule038Ventetid.kt | statisticsnorway | 414,216,275 | false | {"Kotlin": 1524176, "TypeScript": 58079, "HTML": 694, "SCSS": 110} | package no.ssb.kostra.validation.rule.famvern.famvern52a
import no.ssb.kostra.area.famvern.famvern52a.Familievern52aColumnNames.FORSTE_SAMT_A_COL_NAME
import no.ssb.kostra.area.famvern.famvern52a.Familievern52aColumnNames.HENV_DATO_A_COL_NAME
import no.ssb.kostra.area.famvern.famvern52a.Familievern52aColumnNames.JOURN... | 2 | Kotlin | 0 | 1 | 7f0ff824cb1328ec5a0a3232c8e271d20c6b16ae | 1,923 | kostra-kontrollprogram | MIT License |
app/src/main/java/com/moos/constraint/widget/ViewPagerHeader.kt | jvyun | 205,815,662 | true | {"Kotlin": 13753} | package com.moos.constraint.widget
import android.content.Context
import android.support.constraint.motion.MotionLayout
import android.support.v4.view.ViewPager
import android.util.AttributeSet
import android.util.Log
class ViewpagerHeader @JvmOverloads constructor(
context: Context, attrs: AttributeSet? = null, ... | 0 | Kotlin | 0 | 1 | 882ce00144bbdac9b1ad9047f7ddeb80a6a2b52c | 842 | ConstraintSample | MIT License |
src/main/java/org/springframework/samples/petclinic/sfg/LaurelWordProducer.kt | adrianbadarau | 179,500,879 | true | {"Batchfile": 1, "Shell": 1, "Maven POM": 1, "Ignore List": 1, "Text": 3, "Markdown": 1, "Java": 61, "Kotlin": 11, "XML": 11, "Less": 4, "SVG": 2, "Java Server Pages": 19, "INI": 3, "SQL": 6, "Java Properties": 2} | package org.springframework.samples.petclinic.sfg
import org.springframework.context.annotation.Primary
import org.springframework.stereotype.Component
@Component
@Primary
class LaurelWordProducer : WordProducer {
override fun getWord(): String {
return "Laurel"
}
}
| 0 | Java | 0 | 0 | b7647c7b44152b8e7303542c62763efbea654e84 | 285 | tb2g-testing-spring | Apache License 2.0 |
processor/src/main/java/com/joom/lightsaber/processor/io/FileSink.kt | joomcode | 170,310,869 | false | null | /*
* Copyright 2021 <NAME>
*
* 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 in wr... | 2 | null | 8 | 9 | f1eede8e14ecb399a451085fd5d13e77dd67f329 | 898 | lightsaber | Apache License 2.0 |
app/src/main/java/com/assistne/kotlintodoapp/BasePresenter.kt | AssIstne | 82,243,970 | false | null | package com.assistne.kotlintodoapp
/**
* Created by assistne on 17/2/17.
*/
interface BasePresenter {
fun start()
} | 0 | Kotlin | 0 | 0 | 75b055155d2b15dfb487c9a962c7ef15ccde914d | 122 | KotlinTodoApp | MIT License |
src/en/vidembed/src/eu/kanade/tachiyomi/animeextension/en/vidembed/Vidembed.kt | jmir1 | 360,630,872 | false | null | package eu.kanade.tachiyomi.animeextension.en.vidembed
import android.app.Application
import android.content.SharedPreferences
import android.net.Uri
import androidx.preference.ListPreference
import androidx.preference.PreferenceScreen
import eu.kanade.tachiyomi.animeextension.en.vidembed.extractors.StreamSBExtractor
... | 84 | null | 30 | 84 | 3c7386f566efc05b5b9a4fdb537e9a201ee4b67f | 10,120 | aniyomi-extensions | Apache License 2.0 |
model/src/main/kotlin/AdvisorCapability.kt | oss-review-toolkit | 107,540,288 | false | null | /*
* Copyright (C) 2021 The ORT Project Authors (see <https://github.com/oss-review-toolkit/ort/blob/main/NOTICE>)
*
* 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.a... | 304 | Kotlin | 309 | 873 | 0546d450d3082cff0c685897bef4c23e56a3d73a | 1,598 | ort | Apache License 2.0 |
client/src/commonMain/kotlin/com/algolia/client/model/analytics/GetStatusResponse.kt | algolia | 153,273,215 | false | {"Kotlin": 1427996} | /** Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT. */
package com.algolia.client.model.analytics
import kotlinx.serialization.*
import kotlinx.serialization.json.*
/**
* GetStatusResponse... | 15 | Kotlin | 23 | 59 | 7d994efaee2fba70a7b4396a44e3f484b7b16463 | 596 | algoliasearch-client-kotlin | MIT License |
compiler/testData/codegen/box/coroutines/suspensionInsideSafeCall.kt | JakeWharton | 99,388,807 | false | null | // IGNORE_BACKEND: JS_IR
// WITH_RUNTIME
// WITH_COROUTINES
// COMMON_COROUTINES_TEST
import helpers.*
import COROUTINES_PACKAGE.*
import COROUTINES_PACKAGE.intrinsics.*
suspend fun suspendHere(): String = suspendCoroutineOrReturn { x ->
x.resume("OK")
COROUTINE_SUSPENDED
}
fun builder(c: suspend () -> Unit) ... | 2 | null | 5748 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 478 | kotlin | Apache License 2.0 |
compiler/testData/codegen/box/coroutines/suspensionInsideSafeCall.kt | JakeWharton | 99,388,807 | false | null | // IGNORE_BACKEND: JS_IR
// WITH_RUNTIME
// WITH_COROUTINES
// COMMON_COROUTINES_TEST
import helpers.*
import COROUTINES_PACKAGE.*
import COROUTINES_PACKAGE.intrinsics.*
suspend fun suspendHere(): String = suspendCoroutineOrReturn { x ->
x.resume("OK")
COROUTINE_SUSPENDED
}
fun builder(c: suspend () -> Unit) ... | 2 | null | 5748 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 478 | kotlin | Apache License 2.0 |
libraries/tools/kdoc/src/main/kotlin/org/jetbrains/kotlin/doc/KDocConfig.kt | chirino | 3,596,099 | false | null | package org.jetbrains.kotlin.doc
import java.util.*
import org.jetbrains.kotlin.doc.model.KPackage
/**
* The configuration used with KDoc
*/
class KDocConfig() {
/**
* Returns the directory to use to output the API docs
*/
public var docOutputDir: String = "target/site/apidocs"
/**
* Retu... | 0 | null | 28 | 71 | ac434d48525a0e5b57c66b9f61b388ccf3d898b5 | 3,982 | kotlin | Apache License 2.0 |
app/src/main/java/net/assemble/android/mywallet/activity/BaseActivity.kt | yh1224 | 116,141,430 | false | null | package net.assemble.android.mywallet.activity
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.github.salomonbrys.kodein.KodeinInjected
import com.github.salomonbrys.kodein.KodeinInjector
import com.github.salomonbrys.kodein.android.AppCompatActivityInjector
abstract class BaseActi... | 0 | Kotlin | 0 | 0 | a170d22b92ddec2b781a495cb81f7d5678b2a3a9 | 814 | wastlet | Apache License 2.0 |
liveedgedetection/src/main/java/info/hannes/liveedgedetection/ScanHint.kt | prahlad-dev | 649,291,735 | false | {"Java": 1201072, "Kotlin": 78358, "Shell": 935} | package info.hannes.liveedgedetection
/**
* Enum that defines receipt detection messages
*/
enum class ScanHint {
MOVE_AWAY, MOVE_CLOSER, FIND_RECT, ADJUST_ANGLE, CAPTURING_IMAGE, NO_MESSAGE
} | 7 | null | 1 | 1 | fa95f83490f8c2866d7e70ce655722b69c57f83d | 199 | edgeDetect | Apache License 2.0 |
src/main/kotlin/com/workos/webhooks/models/DirectoryGroupUserAddedEvent.kt | workos | 419,780,611 | false | null | package com.workos.webhooks.models
import com.fasterxml.jackson.annotation.JsonCreator
/**
* Webhook Event for `dsync.group.user_added`.
*/
class DirectoryGroupUserAddedEvent @JsonCreator constructor(
@JvmField
override val id: String,
@JvmField
override val event: EventType,
@JvmField
override val da... | 1 | Kotlin | 6 | 9 | 8be0571a48e643cea2f0c783ddb4c5fa79be1ed5 | 440 | workos-kotlin | MIT License |
src/main/kotlin/eu/automateeverything/tabletsplugin/TabletPort.kt | tomaszbabiuk | 669,691,372 | false | {"Kotlin": 67706} | /*
* Copyright (c) 2019-2023 Tomasz Babiuk
*
* 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 ... | 0 | Kotlin | 0 | 0 | a5b79f17fc62c81ca14246d20139c20d6187b856 | 2,633 | aeplugin-tablets | Apache License 2.0 |
src/main/kotlin/io/opengood/gradle/constant/Configurations.kt | opengoodio | 314,074,661 | false | null | package io.opengood.gradle.constant
class Configurations {
companion object {
const val ANNOTATION_PROCESSOR = "annotationProcessor"
const val IMPLEMENTATION = "implementation"
const val TEST_ANNOTATION_PROCESSOR = "testAnnotationProcessor"
const val TEST_IMPLEMENTATION = "testImpl... | 0 | Kotlin | 0 | 0 | c99b8241f3a15554320d1c9cd56728dbf0baf477 | 340 | config-gradle-plugin | MIT License |
src/main/kotlin/com/projectcitybuild/modules/errorreporting/adapters/SentryErrorReporter.kt | projectcitybuild | 42,997,941 | false | null | package com.projectcitybuild.modules.errorreporting.adapters
import com.projectcitybuild.modules.config.ConfigKey
import com.projectcitybuild.modules.config.PlatformConfig
import com.projectcitybuild.modules.errorreporting.ErrorReporter
import com.projectcitybuild.modules.logger.PlatformLogger
import dagger.Reusable
i... | 8 | Kotlin | 0 | 2 | 670536a5832dd6c3dbde0ba2f94f74a6ec576ed3 | 889 | PCBridge | MIT License |
src/test/kotlin/com/code_intelligence/cifuzz/test/android/MultiProjectAndroidAppReleaseVariantTest.kt | CodeIntelligenceTesting | 613,793,747 | false | {"Kotlin": 56168} | package com.code_intelligence.cifuzz.test.android
class MultiProjectAndroidAppReleaseVariantTest : MultiProjectAndroidTest() {
override fun testedAndroidVariant() = listOf("release")
}
| 0 | Kotlin | 0 | 4 | 4e4b1952cebe2ed63a7a2c5e1e60570b95dc7d01 | 192 | cifuzz-gradle-plugin | Apache License 2.0 |
kotlin-analysers/src/test/resources/org/jetbrains/research/lupa/kotlinAnalysis/dependencies/analysis/data/gradle_projects/in_0_dataset_gradle_groovy_one_module/sample_project/src/main/kotlin/com/jetbrains/kotlin/analysis/test/project/one/OneImportClass.kt | nbirillo | 353,952,951 | false | null | package com.jetbrains.kotlin.analysis.test.project.one
import kotlinx.coroutines.delay
class OneImportClass {
suspend fun importUsage(): Int {
delay(1000L)
return 29
}
}
| 7 | Jupyter Notebook | 5 | 25 | c4875ccd6762d779bff8b3da37690360253a74fb | 198 | Lupa | Apache License 2.0 |
kotlin-analysers/src/test/resources/org/jetbrains/research/lupa/kotlinAnalysis/dependencies/analysis/data/gradle_projects/in_0_dataset_gradle_groovy_one_module/sample_project/src/main/kotlin/com/jetbrains/kotlin/analysis/test/project/one/OneImportClass.kt | nbirillo | 353,952,951 | false | null | package com.jetbrains.kotlin.analysis.test.project.one
import kotlinx.coroutines.delay
class OneImportClass {
suspend fun importUsage(): Int {
delay(1000L)
return 29
}
}
| 7 | Jupyter Notebook | 5 | 25 | c4875ccd6762d779bff8b3da37690360253a74fb | 198 | Lupa | Apache License 2.0 |
features/lockscreen/impl/src/main/kotlin/io/element/android/features/lockscreen/impl/settings/LockScreenSettingsFlowNode.kt | element-hq | 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... | 263 | null | 65 | 955 | 31d0621fa15fe153bfd36104e560c9703eabe917 | 4,713 | element-x-android | Apache License 2.0 |
client-android/app/src/main/java/stasis/client_android/tracking/RecoveryTrackerView.kt | sndnv | 153,169,374 | false | {"Scala": 3373826, "Kotlin": 1821771, "Dart": 853650, "Python": 363474, "Shell": 70265, "CMake": 8759, "C++": 4051, "HTML": 2655, "Dockerfile": 1942, "Ruby": 1330, "C": 691, "Swift": 594, "JavaScript": 516} | package stasis.client_android.tracking
import androidx.lifecycle.LiveData
import stasis.client_android.lib.ops.OperationId
import stasis.client_android.lib.tracking.state.RecoveryState
interface RecoveryTrackerView : RecoveryTrackerManage {
val state: LiveData<Map<OperationId, RecoveryState>>
fun updates(oper... | 0 | Scala | 4 | 53 | d7b3002880814039b332b3d5373a16b57637eb1e | 367 | stasis | Apache License 2.0 |
app/src/main/java/ml/dvnlabs/animize/ui/recyclerview/comment/CommentMainAdapter.kt | rootdavinalfa | 177,693,326 | false | null | /*
* Copyright (c) 2020.
* Animize Devs
* Copyright 2019 - 2020
* <NAME> <<EMAIL>>
* This program used for watching anime without ads.
*
*/
package ml.dvnlabs.animize.ui.recyclerview.comment
import android.content.Context
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.recyclerv... | 1 | Kotlin | 1 | 2 | c12aa046a42712794dc3f7e06dbbcee654c1e79f | 1,096 | animize | Apache License 2.0 |
android/src/main/java/drawbox/android/MainActivity.kt | MarkYav | 616,161,838 | false | null | package drawbox.android
import android.os.Bundle
import androidx.activity.compose.setContent
import androidx.appcompat.app.AppCompatActivity
import androidx.compose.foundation.Image
import androidx.compose.foundation.border
import androidx.compose.foundation.layout.*
import androidx.compose.material.MaterialTheme
impo... | 0 | Kotlin | 0 | 0 | 79eea9f8d83f76b44d6f2767bc93417a9b7f5231 | 2,145 | DrawBox-alpha | Apache License 2.0 |
compiler/frontend/src/org/jetbrains/kotlin/resolve/OperatorModifierChecker.kt | guiping | 49,639,828 | 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... | 0 | null | 1 | 1 | ff00bde607d605c4eba2d98fbc9e99af932accb6 | 2,268 | kotlin | Apache License 2.0 |
year2020/day10/part1/src/main/kotlin/com/curtislb/adventofcode/year2020/day10/part1/Year2020Day10Part1.kt | curtislb | 226,797,689 | false | {"Kotlin": 2014224} | /*
--- Day 10: Adapter Array ---
Patched into the aircraft's data port, you discover weather forecasts of a massive tropical storm.
Before you can figure out whether it will impact your vacation plans, however, your device suddenly
turns off!
Its battery is dead.
You'll need to plug it in. There's only one problem: ... | 0 | Kotlin | 1 | 1 | a55341d18b4a44f05efbc9b0b9583e11d9528285 | 4,210 | AdventOfCode | MIT License |
pluto/src/main/java/com/mocklets/pluto/modules/logging/ui/LogDetailsDialog.kt | mocklets | 459,260,997 | false | null | package com.mocklets.pluto.modules.logging.ui
import android.content.Context
import android.graphics.drawable.ColorDrawable
import android.view.View
import android.view.View.GONE
import android.view.View.VISIBLE
import android.widget.FrameLayout
import androidx.fragment.app.FragmentActivity
import com.google.android.m... | 0 | null | 2 | 8 | 87dc5a27272e0fc5c38e042fa95689a143ae5446 | 6,160 | pluto | Apache License 2.0 |
buildSrc/src/main/java/Packages.kt | exaV | 218,529,113 | true | {"Kotlin": 331887} | object Packages {
const val group = "subroh0508.net.kotlinmaterialui"
const val version = "0.2.3"
} | 0 | null | 0 | 0 | 88c46c4d3d2aa22df2e82b048351ad967ac50ea3 | 107 | kotlin-material-ui | MIT License |
app/src/main/java/eu/kanade/tachiyomi/widget/preference/LoginDialogPreference.kt | arkon | 127,645,159 | false | null | package eu.kanade.tachiyomi.widget.preference
import android.app.Dialog
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import androidx.annotation.StringRes
import com.bluelinelabs.conductor.ControllerChangeHandler
import com.bluelinelabs.conductor.ControllerChangeType
import com.d... | 86 | null | 42 | 9 | 2f07f226b8182699884262ac67139454d5b7070d | 2,240 | tachiyomi | Apache License 2.0 |
dsl/src/main/kotlin/com/faendir/awscdkkt/generated/cloud_assembly_schema/TestOptionsDsl.kt | F43nd1r | 643,016,506 | false | {"Kotlin": 5482239} | package com.faendir.awscdkkt.generated.cloud_assembly_schema
import com.faendir.awscdkkt.AwsCdkDsl
import javax.`annotation`.Generated
import kotlin.Unit
import software.amazon.awscdk.cloud_assembly_schema.TestOptions
@Generated
public fun buildTestOptions(initializer: @AwsCdkDsl TestOptions.Builder.() -> Unit = {}):... | 1 | Kotlin | 0 | 4 | f1542b808f0e2cf4fcdd0d84d025a8fbaf09e90d | 388 | aws-cdk-kt | Apache License 2.0 |
supermarket/src/test/kotlin/CatalogDataProvider.kt | santukis | 558,526,758 | false | null | import model.*
import model.catalog.SupermarketCatalog
import model.offer.*
import model.product.BundleProduct
import model.product.ProductUnit
import model.product.SingleProduct
import org.junit.jupiter.params.provider.Arguments
import java.util.stream.Stream
object CatalogDataProvider {
fun SupermarketCatalog.a... | 0 | Kotlin | 0 | 1 | 7eb9dce81e698a655312d7b41bb25e0a4935d2bb | 4,217 | refactoringKatas | Apache License 2.0 |
waltid-wallet-api/src/test/kotlin/id/walt/webwallet/utils/StreamUtilsTest.kt | walt-id | 701,058,624 | false | {"Kotlin": 1791725, "Vue": 327781, "TypeScript": 92214, "JavaScript": 20560, "Dockerfile": 6475, "Shell": 1651, "CSS": 404} | package id.walt.webwallet.utils
import kotlin.test.Test
import kotlin.test.assertEquals
import kotlin.test.assertFailsWith
import kotlin.test.assertNotNull
class StreamUtilsTest {
private val bitString = "0123456789abcdef"
@Test
fun `test unit bitsize, no overflow`() {
val value = StreamUtils.ge... | 20 | Kotlin | 27 | 79 | 50bae539101d2f7b98a4aa7bbcbcf510c4a405f4 | 1,409 | waltid-identity | Apache License 2.0 |
TeamCode/src/main/java/org/firstinspires/ftc/teamcode/toolkit/MusicPlayer.kt | EagleRobotics7373 | 237,697,292 | false | {"Java": 204821, "Kotlin": 2708} | package org.firstinspires.ftc.teamcode.toolkit
import android.media.MediaPlayer
import com.qualcomm.robotcore.hardware.HardwareMap
import org.firstinspires.ftc.teamcode.R
class MusicPlayer (hardwareMap: HardwareMap, option1 : Boolean) {
private val mediaPlayer: MediaPlayer =
if (option1) MediaPlayer.c... | 1 | null | 1 | 1 | 8e59dec03b89f97cc9135231e144f75cb39193c0 | 788 | EagleRoboticsFTCRepo | MIT License |
app/src/main/kotlin/no/nav/hjelpemidler/soknad/db/domain/PapirSøknadData.kt | navikt | 357,158,611 | false | {"Kotlin": 300642, "Dockerfile": 138} | package no.nav.hjelpemidler.soknad.db.domain
import com.fasterxml.jackson.annotation.JsonAlias
import no.nav.hjelpemidler.behovsmeldingsmodell.BehovsmeldingStatus
import no.nav.hjelpemidler.behovsmeldingsmodell.SøknadId
import no.nav.hjelpemidler.behovsmeldingsmodell.TilknyttetSøknad
data class PapirSøknadData(
o... | 1 | Kotlin | 0 | 0 | a907af91dffea6c76e44a200f1134bcb6ca7274a | 528 | hm-soknadsbehandling-db | MIT License |
app/src/main/kotlin/no/nav/hjelpemidler/soknad/db/domain/PapirSøknadData.kt | navikt | 357,158,611 | false | {"Kotlin": 300642, "Dockerfile": 138} | package no.nav.hjelpemidler.soknad.db.domain
import com.fasterxml.jackson.annotation.JsonAlias
import no.nav.hjelpemidler.behovsmeldingsmodell.BehovsmeldingStatus
import no.nav.hjelpemidler.behovsmeldingsmodell.SøknadId
import no.nav.hjelpemidler.behovsmeldingsmodell.TilknyttetSøknad
data class PapirSøknadData(
o... | 1 | Kotlin | 0 | 0 | a907af91dffea6c76e44a200f1134bcb6ca7274a | 528 | hm-soknadsbehandling-db | MIT License |
js/js.inliner/src/org/jetbrains/kotlin/js/inline/clean/DoWhileGuardElimination.kt | JakeWharton | 99,388,807 | false | null | /*
* Copyright 2010-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... | 34 | null | 5748 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 5,798 | kotlin | Apache License 2.0 |
sdk/src/main/java/live/talkshop/sdk/utils/Collector.kt | TalkShopLive | 756,521,933 | false | {"Kotlin": 105350} | package live.talkshop.sdk.utils
import android.content.Context
import android.os.Build
import android.util.DisplayMetrics
import android.view.WindowManager
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.launch
import live.talkshop.sdk.core.authentication.isDNT
... | 1 | Kotlin | 0 | 0 | b86f85401b2684d13933ae7e3a1a0a9735f364eb | 4,293 | android-sdk | Apache License 2.0 |
core/src/com/ascending/games/id1/edit/board/action/room/RotateAction.kt | AscendingGames | 147,917,936 | false | null | package com.ascending.games.id1.edit.board.action.room
import com.ascending.games.id1.edit.board.BoardDomain
import com.ascending.games.id1.model.board.Board
import com.ascending.games.id1.model.board.Room
class RotateAction : IBoardAction {
override fun execute(room : Room, board : Board) {
for (i in 0..... | 11 | null | 1 | 1 | 7fb0ee90967c49ab1056620c68a2029f663e4e40 | 483 | DungeonCreator | MIT License |
src/main/kotlin/org/bonitasoft/example/processes/ProcessWith3AutomaticTaskAnd1UsesBDM.kt | bonitasoft-labs | 300,656,896 | false | null | /*
* Copyright 2020 Bonitasoft S.A.
* 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 in ... | 2 | Kotlin | 1 | 0 | d095693b6c7942c6cf5c6a6131095d20654fc7d1 | 2,562 | bonita-test-processes | Apache License 2.0 |
app/src/main/java/com/awxkee/avif/glideapp/decoder/MainActivity.kt | awxkee | 692,821,483 | false | {"Kotlin": 15586} | package com.awxkee.avif.glideapp.decoder
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.appcompat.app.AppCompatActivity
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.material3.MaterialTheme
import androidx.... | 0 | Kotlin | 0 | 5 | 273660205a62836f62009e544af9a05fa89a27f7 | 1,405 | avif-coder-glide | Apache License 2.0 |
app/src/main/kotlin/app/alarmbanner/ContinueModule.kt | anirudh8860 | 144,851,679 | false | null | package app.alarmbanner
import android.view.View
import app.di.PerActivity
import app.login.TinderLoginView
import app.login.TinderLoginViewImpl
import dagger.Module
import dagger.Provides
@Module
@PerActivity
internal class ContinueModule(private val activity: AlarmBannerActivity, private val view: View) {
@Prov... | 0 | null | 0 | 1 | ba8ead38f5bcefc857a6dc9cc344cd030ca5b22d | 474 | dinger | MIT License |
core/src/main/kotlin/com/makentoshe/booruchan/core/tag/deserialize/TagDeserialize.kt | Makentoshe | 147,361,920 | false | null | package com.makentoshe.booruchan.core.tag.deserialize
import com.makentoshe.booruchan.core.tag.Tag
interface TagDeserialize<out T : Tag> {
val tag: T
/** An object representation in string (json, xml) */
val raw: String
} | 0 | Kotlin | 1 | 6 | d0f40fb8011967e212df1f21beb43e4c4ec03356 | 236 | Booruchan | Apache License 2.0 |
app/src/main/java/antuere/how_are_you/presentation/screens/add_day/state/AddDaySideEffect.kt | antuere | 526,507,044 | false | null | package antuere.how_are_you.presentation.screens.add_day.state
sealed interface AddDaySideEffect {
object NavigateUp : AddDaySideEffect
} | 1 | Kotlin | 1 | 1 | dccddea7bf36f0910b87c09becd0de2d74ac26b2 | 142 | HowAreYou | Apache License 2.0 |
app/src/main/java/com/ozkan/bookshelf/di/FirebaseModele.kt | ozkantuncel | 547,763,851 | false | {"Kotlin": 150023} | package com.ozkan.bookshelf.di
import com.google.firebase.auth.FirebaseAuth
import com.google.firebase.database.FirebaseDatabase
import com.google.firebase.firestore.FirebaseFirestore
import com.google.firebase.storage.FirebaseStorage
import com.google.firebase.storage.StorageReference
import com.ozkan.bookshelf.util.... | 0 | Kotlin | 0 | 9 | 823dba50df575461f75118c53b8bb124db25259f | 1,193 | Bookshelf | The Unlicense |
src/main/kotlin/com/terraformation/backend/search/table/SpeciesTable.kt | terraware | 323,722,525 | false | {"Kotlin": 3742063, "HTML": 88799, "Python": 46278, "FreeMarker": 16407, "PLpgSQL": 3305, "Makefile": 746, "Dockerfile": 674} | package com.terraformation.backend.search.table
import com.terraformation.backend.auth.currentUser
import com.terraformation.backend.db.accelerator.tables.references.PARTICIPANT_PROJECT_SPECIES
import com.terraformation.backend.db.default_schema.SpeciesId
import com.terraformation.backend.db.default_schema.tables.refe... | 7 | Kotlin | 1 | 9 | be4ce75aff529944d4f1d0fe2fecade47fe29317 | 3,818 | terraware-server | Apache License 2.0 |
benchmark/src/jmh/kotlin/test/Objects.kt | Peanuuutz | 444,688,345 | false | {"Kotlin": 356004} | package test
import kotlinx.datetime.Instant
import kotlinx.datetime.serializers.InstantIso8601Serializer
import kotlinx.datetime.toKotlinInstant
import kotlinx.serialization.DeserializationStrategy
import kotlinx.serialization.KSerializer
import kotlinx.serialization.Serializable
import kotlinx.serialization.decodeFr... | 3 | Kotlin | 2 | 80 | 9689e08a57785d2fb56fee352c0b82c9bac8c593 | 4,053 | tomlkt | Apache License 2.0 |
varp-serializers/varp-serializer-gson/src/main/kotlin/net/voxelpi/varp/serializer/gson/FolderPathSerializer.kt | VoxelPi | 869,165,536 | false | {"Kotlin": 178363, "Java": 2122} | package net.voxelpi.varp.serializer.gson
import com.google.gson.JsonDeserializationContext
import com.google.gson.JsonDeserializer
import com.google.gson.JsonElement
import com.google.gson.JsonPrimitive
import com.google.gson.JsonSerializationContext
import com.google.gson.JsonSerializer
import net.voxelpi.varp.warp.p... | 0 | Kotlin | 0 | 0 | f9c616f84996d87363d37ba64eac4f89b9a32bd6 | 970 | Varp | MIT License |
chart_server/src/main/kotlin/io/madrona/njord/layers/Hulkes.kt | manimaul | 213,533,249 | false | {"Kotlin": 283714, "TypeScript": 70908, "Python": 11027, "PLpgSQL": 5036, "HTML": 3275, "Shell": 3043, "Dockerfile": 2008, "CSS": 1315} | package io.madrona.njord.layers
import io.madrona.njord.model.*
class Hulkes : Layerable() {
override suspend fun preTileEncode(feature: ChartFeature) {
feature.pointSymbol(Sprite.HULKES01)
}
override fun layers(options: LayerableOptions): Sequence<Layer> {
return sequenceOf(
... | 17 | Kotlin | 3 | 8 | 6dfcdb85cd8a56f87d1090a7b1dafe24a7f7beee | 705 | njord | Apache License 2.0 |
API/Ponto Inteligente/src/main/kotlin/com/wendergalan/pontointeligente/services/EmpresaService.kt | WenderGalan | 151,712,934 | false | null | package com.wendergalan.pontointeligente.services
import com.wendergalan.pontointeligente.documents.Empresa
/**
* Ponto Inteligente
* Wender Galan LTDA
* Todos os direitos reservados ©
**********************************************
* Nome do arquivo: EmpresaService.java
* Criado por : Wender Galan
* Data da cr... | 0 | Kotlin | 1 | 0 | 196f56e4701561c143922bafda219f8f24bdb908 | 530 | ponto-inteligente | Apache License 2.0 |
lib_base/src/main/kotlin/com/crow/base/ui/dialog/LoadingAnimDialog.kt | CrowForKotlin | 610,636,509 | false | null | package com.crow.base.ui.dialog
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.view.Window
import androidx.fragment.app.DialogFragment
import androidx.fragment.app.FragmentManager
import androidx.lifecycle.lifecycleScope
import com.crow... | 0 | Kotlin | 1 | 7 | dec97a516e63af93483eb8fcde786ee894463207 | 3,952 | CopyMangaX | Apache License 2.0 |
app/src/main/java/com/architectcoders/aacboard/ui/fragments/viewmodel/ListDashboardsViewModel.kt | fesave | 616,599,477 | false | null | package com.architectcoders.aacboard.ui.fragments.viewmodel
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.architectcoders.aacboard.domain.data.dashboard.Dashboard
import com.architectcoders.aacboard.domain.use_case.dashboard.delete.DeleteDashboardUseCase
import com.architectco... | 0 | Kotlin | 0 | 0 | 7fe7942bb53c23410763f73a30b5e085e45af1fb | 2,997 | AAC-Board | Apache License 2.0 |
app/src/main/java/husaynhakeem/io/unconnectifyre/worker/AlarmJob.kt | husaynhakeem | 151,892,709 | false | null | package husaynhakeem.io.unconnectifyre.worker
data class AlarmJob(
val id: Int,
val delay: Long,
val connectivity: Int,
val shouldConnect: Boolean) | 0 | Kotlin | 0 | 3 | 4ee13fc554b305a01d132d6e5db2fea44a633992 | 181 | Unconnectify-Re | MIT License |
app/src/main/java/de/beatbrot/screenshotassistant/util/LiveData+.kt | eric-ampire | 206,854,183 | true | {"Kotlin": 27915} | package de.beatbrot.screenshotassistant.util
import androidx.lifecycle.MutableLiveData
fun <T> liveDataOf(value: T): MutableLiveData<T> {
val data = MutableLiveData<T>()
data.postValue(value)
return data
} | 0 | null | 0 | 1 | e0fbfbcc62431b0bb3657b3e217eb146543ee8e7 | 219 | ScreenshotAssistant | Apache License 2.0 |
rpgJavaInterpreter-core/src/main/kotlin/com/smeup/rpgparser/interpreter/movel.kt | smeup | 170,714,014 | false | {"RPGLE": 7087271, "Kotlin": 1761227, "ANTLR": 163198, "Java": 13658, "Ruby": 1899, "PowerShell": 861, "Dockerfile": 551, "Batchfile": 395} | package com.smeup.rpgparser.interpreter
import com.smeup.rpgparser.parsing.ast.*
import com.smeup.rpgparser.parsing.parsetreetoast.DateFormat
import com.smeup.rpgparser.parsing.parsetreetoast.isDecimal
import com.smeup.rpgparser.parsing.parsetreetoast.isInt
import com.smeup.rpgparser.parsing.parsetreetoast.toDecimal
i... | 9 | RPGLE | 12 | 65 | fb9f97fb57b9f9a87fdfbec3697d21f6bd251004 | 10,225 | jariko | Apache License 2.0 |
_lifecycle-handler/_sample/lifecycle-handler-sample/src/main/java/io/androidalatan/lifecycle/handler/sample/SampleViewModel.kt | android-alatan | 466,507,427 | false | null | package io.androidalatan.lifecycle.handler.sample
import android.Manifest
import android.util.Log
import android.widget.Toast
import androidx.fragment.app.FragmentActivity
import io.androidalatan.backkey.flow.handler.onBackPressedAsFlow
import io.androidalatan.backkey.handler.api.BackKeyHandlerStream
import io.android... | 3 | Kotlin | 5 | 56 | 35b0ec7a89f8254db0af1830ac1de8a7124c6f09 | 10,305 | LifecycleComponents | MIT License |
profile/src/main/java/rdx/works/profile/domain/DeleteProfileUseCase.kt | radixdlt | 513,047,280 | false | {"Kotlin": 4299129, "HTML": 215350, "Ruby": 2757, "Shell": 1962} | package rdx.works.profile.domain
import com.radixdlt.sargon.extensions.toJson
import rdx.works.core.KeystoreManager
import rdx.works.profile.data.repository.BackupProfileRepository
import rdx.works.profile.data.repository.ProfileRepository
import rdx.works.profile.domain.backup.BackupType
import timber.log.Timber
impo... | 9 | Kotlin | 11 | 6 | 8f9fe597c6234c2f01a6cb26708e5b88e90ab364 | 1,416 | babylon-wallet-android | Apache License 2.0 |
app/src/main/java/com/amrdeveloper/linkhub/ui/link/LinkFragment.kt | AmrDeveloper | 379,033,562 | false | null | package com.amrdeveloper.linkhub.ui.link
import android.os.Bundle
import android.view.*
import android.webkit.URLUtil
import androidx.fragment.app.Fragment
import androidx.fragment.app.viewModels
import androidx.navigation.fragment.findNavController
import androidx.navigation.fragment.navArgs
import com.amrdeveloper.l... | 9 | Kotlin | 8 | 90 | 1a0179c15e03001898022499324b2d92d6a699c3 | 7,573 | LinkHub | MIT License |
app/src/main/java/com/flixclusive/presentation/mobile/utils/DragAndDropUtils.kt | rhenwinch | 659,237,375 | false | null | package com.flixclusive.presentation.mobile.utils
import androidx.compose.foundation.gestures.detectDragGesturesAfterLongPress
import androidx.compose.foundation.gestures.scrollBy
import androidx.compose.runtime.MutableState
import androidx.compose.ui.Modifier
import androidx.compose.ui.input.pointer.pointerInput
impo... | 26 | null | 7 | 96 | a90215b8c40ac0675cd217b38b842d2d57c90acc | 1,862 | Flixclusive | MIT License |
app/src/main/kotlin/com/duongkhai/snakegame/presentation/screen/GameScreen.kt | duongkhaineverdie | 784,021,262 | false | {"Kotlin": 60320} | package com.duongkhai.snakegame.presentation.screen
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.padding
import androidx.compose.runtime.Composable
import androidx.compose.runtime.collectAsState
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
impor... | 0 | Kotlin | 0 | 0 | 25aad736e4ddd449be826a93bda8d5997dc1b77b | 1,719 | SnakeWebview | MIT License |
feature/my-playground/src/main/java/com/alxnophis/jetpack/myplayground/ui/contract/MyPlaygroundContract.kt | alex-amenos | 370,444,543 | false | {"Kotlin": 286102, "Ruby": 6147, "Shell": 169} | package com.alxnophis.jetpack.myplayground.ui.contract
import arrow.optics.optics
import com.alxnophis.jetpack.core.ui.viewmodel.UiEvent
import com.alxnophis.jetpack.core.ui.viewmodel.UiState
import com.alxnophis.jetpack.kotlin.constants.EMPTY
internal sealed class MyPlaygroundEvent : UiEvent {
data object GoBack... | 7 | Kotlin | 0 | 4 | cfe4f0c809b6246f1a6ad6ac2577ea191c3fdbac | 674 | Jetpack | MIT License |
dp-oppdrag-app/src/test/kotlin/no/nav/dagpenger/oppdrag/iverksetting/OppdragKvitteringstatusTest.kt | navikt | 596,541,750 | false | {"Kotlin": 165052, "Dockerfile": 255} | package no.nav.dagpenger.oppdrag.iverksetting
import no.nav.dagpenger.kontrakter.oppdrag.OppdragStatus
import no.nav.dagpenger.oppdrag.iverksetting.domene.status
import no.trygdeetaten.skjema.oppdrag.Mmel
import no.trygdeetaten.skjema.oppdrag.Oppdrag
import org.junit.jupiter.api.Test
import kotlin.test.assertEquals
i... | 12 | Kotlin | 0 | 0 | fc887c218d792f94e10a04b6936e454c9ada616f | 992 | dp-oppdrag | MIT License |
app/src/main/java/dev/patrickgold/florisboard/ime/core/InputView.kt | geanbrandao | 305,498,904 | false | null | /*
* Copyright (C) 2020 <NAME>
*
* 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 in wr... | 0 | null | 0 | 1 | 671ff1d8b40f631aa68af30f47348608593fe891 | 4,107 | florisboard | Apache License 2.0 |
compiler/testData/codegen/boxInline/anonymousObject/capturedLambdaInInline3.2.kt | msdgwzhy6 | 52,061,310 | true | {"Java": 15875830, "Kotlin": 12695228, "JavaScript": 177557, "Protocol Buffer": 42724, "HTML": 29983, "Lex": 16598, "ANTLR": 9689, "CSS": 9358, "Groovy": 6859, "Shell": 4704, "IDL": 4669, "Batchfile": 3703} | package test
inline fun bar(crossinline y: () -> String) = {
{ { call(y) }() }()
}
public inline fun <T> call(crossinline f: () -> T): T = {{ f() }()}() | 0 | Java | 0 | 1 | f713adc96e9adeacb1373fc170a5ece1bf2fc1a2 | 158 | kotlin | Apache License 2.0 |
app/src/main/kotlin/com/equalexperts/slack/api/rest/model/Timestamp.kt | EqualExperts | 94,084,953 | false | {"Kotlin": 121397, "HCL": 15381} | package com.equalexperts.slack.api.rest.model
import java.time.Instant
import java.time.ZoneOffset.UTC
import java.time.ZonedDateTime
data class Timestamp constructor(private val opaque: String) {
constructor(timeBased: ZonedDateTime) : this(timeBased.toEpochSecond().toString())
override fun toString(): Stri... | 1 | Kotlin | 7 | 17 | 837f229cbfa89eb66392ea8277cb24f0b0b38e5f | 462 | slack-gardener | Apache License 2.0 |
arrow-libs/core/arrow-core/src/commonMain/kotlin/arrow/core/continuations/Effect.kt | lukaszkalnik | 427,116,886 | true | {"Kotlin": 1928099, "SCSS": 99659, "JavaScript": 83153, "HTML": 25306, "Java": 7691, "Ruby": 917, "Shell": 98} | package arrow.core.continuations
import arrow.core.Either
import arrow.core.Ior
import arrow.core.NonFatal
import arrow.core.Option
import arrow.core.Some
import arrow.core.Validated
import arrow.core.identity
import arrow.core.nonFatalOrThrow
import kotlin.coroutines.Continuation
import kotlin.coroutines.CoroutineCon... | 0 | Kotlin | 0 | 1 | 73fa3847df1f04e634a02bba527917389b59d7df | 29,502 | arrow | Apache License 2.0 |
src/main/kotlin/com/nowakartur/animedownloader/subsciption/entity/SubscribedAnimeDataLoader.kt | NowakArtur97 | 485,280,191 | false | {"Kotlin": 72829} | package com.nowakartur.animedownloader.subsciption.entity
import com.nowakartur.animedownloader.csv.CsvDataLoader
import com.nowakartur.animedownloader.subsciption.entity.SubscribedAnimeStatus.IN_PROGRESS
import com.nowakartur.animedownloader.subsciption.entity.SubscribedAnimeStatus.TO_DOWNLOAD
import org.slf4j.Logger... | 1 | Kotlin | 1 | 1 | e2d3a27d7053fded5aed8c0d4eacde8f39db4553 | 2,794 | Anime-Downloader | The Unlicense |
app/src/main/java/com/geekymusketeers/medify/mainFragments/PatientAppointmentFragment.kt | aritra-tech | 530,580,001 | false | null | package com.kerberos.medico.mainFragments
import android.content.Context
import android.content.Intent
import android.content.SharedPreferences
import android.os.Build
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.Toast
import a... | 0 | Kotlin | 4 | 7 | d4f1c53007371dc9538ab9300bb7fe96eec14c03 | 5,105 | Medify | MIT License |
v1_29/src/main/java/de/loosetie/k8s/dsl/impls/Resourcequotastatus.kt | loosetie | 283,145,621 | false | null | package de.loosetie.k8s.dsl.impls
import com.fasterxml.jackson.annotation.JsonIgnore
import com.fasterxml.jackson.annotation.JsonPropertyOrder
import de.loosetie.k8s.dsl.K8sManifest
import de.loosetie.k8s.dsl.HasParent
import de.loosetie.k8s.dsl.manifests.*
@JsonPropertyOrder("hard", "used")
open class Resourcequotas... | 0 | null | 0 | 2 | 57d56ab780bc3134c43377e647e7f0336a5f17de | 512 | k8s-dsl | Apache License 2.0 |
app/src/main/java/com/ozturksahinyetisir/livedatat1/presentation/views/livedata/LivedataFragment.kt | ozturksahinyetisir | 618,361,352 | false | null | package com.ozturksahinyetisir.livedatat1.presentation.views.livedata
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import androidx.lifecycle.Observer
import androidx.lifecycle.ViewModelProvider
import com.ozturk... | 0 | Kotlin | 0 | 0 | 7f32906935262090ca40ed20fc0a7133a7d98a8d | 1,261 | Livedata | MIT License |
src/main/kotlin/me/mairwunnx/covid19/api/presets/ICoronavirusParameters.kt | MairwunNx | 251,269,586 | false | {"Kotlin": 82413} | package me.mairwunnx.covid19.api.presets
interface ICoronavirusParameters {
val genericInfectDosePerTickParam: Double
val genericDisinfectDosePerTickParam: Double
val infectedMobInfectDosePerTickParam: Double
val infectedMobSpawnChanceParam: Double
val infectedMobInfectDurationParam: Double
val... | 1 | Kotlin | 0 | 2 | 7a4b92b2772e72649dedee7b8da6c3bc84e3f6eb | 976 | COVID-19-Mod | MIT License |
app/src/main/java/com/siasg/comprasnet/ui/fragment/onboarding/OnboardingFragment.kt | rayanovelha | 642,602,901 | false | null | package com.siasg.comprasnet.ui.fragment.onboarding
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import androidx.navigation.fragment.findNavController
import com.siasg.comprasnet.R
import com.siasg.comprasnet.da... | 0 | Kotlin | 0 | 2 | 940d5af7a82d4f12212cd5b99cf98692986e0294 | 1,667 | Comprasnet-App | Apache License 2.0 |
injective-core/src/commonMain/kotlin/injective/insurance/v1beta1/tx.converter.kt | jdekim43 | 759,720,689 | false | {"Kotlin": 8940168, "Java": 3242559} | // Transform from injective/insurance/v1beta1/tx.proto
@file:GeneratorVersion(version = "0.3.1")
package injective.insurance.v1beta1
import google.protobuf.Any
import java.lang.IllegalStateException
import kr.jadekim.protobuf.`annotation`.GeneratorVersion
import kr.jadekim.protobuf.converter.ProtobufConverter
import ... | 0 | Kotlin | 0 | 0 | eb9b3ba5ad6b798db1d8da208b5435fc5c1f6cdc | 4,368 | chameleon.proto | Apache License 2.0 |
MirrorTrips-main/app/src/main/java/com/ipca/budget/travelmobile/EmailSendView.kt | ademar1k82 | 676,015,143 | false | null | package com.ipca.budget.travelmobile
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.widget.EditText
import android.widget.Toast
import androidx.constraintlayout.widget.ConstraintLayout
import androidx.lifecycle.lifecycleScope
import com.ipca.budget... | 0 | Kotlin | 0 | 1 | cc26e834045569534705e692eafa2b0f5937e545 | 2,772 | mirrortrips | FSF All Permissive License |
src/test/kotlin/com/github/imflog/schema/registry/parser/AvroSchemaParserTest.kt | ImFlog | 132,165,857 | false | null | package com.github.imflog.schema.registry.parser
import com.github.imflog.schema.registry.LocalReference
import io.confluent.kafka.schemaregistry.client.MockSchemaRegistryClient
import org.assertj.core.api.Assertions
import org.json.JSONObject
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.TestInstance... | 10 | Kotlin | 22 | 92 | a46cc2c5904ed873f3df11512b60fc700767ca6d | 2,464 | schema-registry-plugin | Apache License 2.0 |
src/test/kotlin/com/github/imflog/schema/registry/parser/AvroSchemaParserTest.kt | ImFlog | 132,165,857 | false | null | package com.github.imflog.schema.registry.parser
import com.github.imflog.schema.registry.LocalReference
import io.confluent.kafka.schemaregistry.client.MockSchemaRegistryClient
import org.assertj.core.api.Assertions
import org.json.JSONObject
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.TestInstance... | 10 | Kotlin | 22 | 92 | a46cc2c5904ed873f3df11512b60fc700767ca6d | 2,464 | schema-registry-plugin | Apache License 2.0 |
Yum-Client/app/src/main/java/com/anbui/yum/presentation/recipe/component/TabTopBar.kt | AnBuiii | 608,489,464 | false | null | package com.anbui.yum.presentation.recipe.component
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.runtime.Composable
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modif... | 0 | Kotlin | 0 | 3 | 94a9344aeb57403214315191304b81d15d584863 | 685 | Yum | MIT License |
kotlin-asyncapi-examples/kotlin-asyncapi-spring-boot-example/src/main/resources/build.asyncapi.kts | asyncapi | 509,940,588 | false | {"Kotlin": 233237} | info {
title("Gitter Streaming API")
version("1.0.0")
}
| 1 | Kotlin | 1 | 22 | a8658f2546fdd2fdc9ad7209dd26cabbeb6d84ba | 64 | kotlin-asyncapi | Apache License 2.0 |
kotlin-asyncapi-examples/kotlin-asyncapi-spring-boot-example/src/main/resources/build.asyncapi.kts | asyncapi | 509,940,588 | false | {"Kotlin": 233237} | info {
title("Gitter Streaming API")
version("1.0.0")
}
| 1 | Kotlin | 1 | 22 | a8658f2546fdd2fdc9ad7209dd26cabbeb6d84ba | 64 | kotlin-asyncapi | Apache License 2.0 |
plugins/kotlin/idea/tests/testData/gradle/androidImportAndCheckHighlighting/hmppWithSeveralHmppDependencies/p1/src/jvmAndAndroidMain/kotlin/JvmAndAndroidMain.kt | JetBrains | 2,489,216 | false | null | @file:Suppress("unused")
import com.fasterxml.jackson.core.JsonParser
import com.fasterxml.jackson.databind.ObjectMapper
import com.fasterxml.jackson.module.kotlin.jacksonObjectMapper
import io.ktor.client.*
import io.ktor.utils.io.core.*
import io.reactivex.rxjava3.core.Observable
import kotlinx.atomicfu.AtomicInt
im... | 214 | null | 4829 | 15,129 | 5578c1c17d75ca03071cc95049ce260b3a43d50d | 3,028 | intellij-community | Apache License 2.0 |
src/main/kotlin/no/nav/helse/rapids_rivers/RapidApplication.kt | navikt | 245,991,465 | false | null | package no.nav.helse.rapids_rivers
import io.ktor.server.application.Application
import io.ktor.server.cio.CIO
import io.ktor.server.engine.*
import io.prometheus.client.CollectorRegistry
import kotlinx.coroutines.delay
import org.slf4j.LoggerFactory
import java.io.File
import java.io.FileNotFoundException
import java... | 8 | null | 5 | 24 | 196b7068ceed24a35b541ef93e4b3a6547bcccc4 | 11,168 | rapids-and-rivers | MIT License |
library/src/main/java/cn/rubintry/gopermission/core/GoPermission.kt | RubinTry | 368,127,499 | false | null | package cn.rubintry.gopermission.core
import android.content.pm.PackageManager
import androidx.core.content.ContextCompat
import androidx.fragment.app.FragmentActivity
import cn.rubintry.gopermission.utils.LogUtils
import cn.rubintry.gopermission.utils.Utils
import kotlinx.coroutines.*
import kotlin.system.measureTim... | 0 | Kotlin | 0 | 1 | 2a16c2eb1d2c7b01fb1d698f8fe98ffc7fbfb681 | 2,968 | GoPermission | Apache License 2.0 |
plugins/kotlin/idea/tests/testData/shortenRefsFir/calls/importAlias.kt | JetBrains | 2,489,216 | false | null | package test
import dependency.foo as bar
fun usage() {
<selection>dependency.foo()</selection>
} | 284 | null | 5162 | 16,707 | def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0 | 103 | intellij-community | Apache License 2.0 |
lib/src/test/java/com/sha/apphead/DismissViewTest.kt | ShabanKamell | 220,487,015 | false | null | package com.sha.apphead
import org.junit.Before
import org.junit.Test
class DismissViewTest {
private lateinit var args: DismissView.Args
@Before
fun setup() {
args = DismissView.Args()
}
@Test
fun layoutRes() {
args.layoutRes(1, 2)
assert(args.layoutRes == 1)
... | 2 | Kotlin | 12 | 68 | 954b6c00e69ca0311918c3ece9564122093845a6 | 788 | AppHead | Apache License 2.0 |
certificatetransparency/src/main/kotlin/com/babylon/certificatetransparency/internal/logclient/LogClientFactory.kt | babylonhealth | 152,060,574 | false | null | /*
* Copyright 2019 Babylon Partners Limited
*
* 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 a... | 1 | Kotlin | 24 | 197 | 15ea45c73631cf39c0bbf206b10641f0dbfef957 | 1,385 | certificate-transparency-android | Apache License 2.0 |
core/droidMain/framework/BaseActivity.kt | shibasis0801 | 669,270,289 | false | {"Kotlin": 58270, "C++": 47981, "Objective-C++": 11829, "Ruby": 7529, "Objective-C": 6478, "CSS": 6110, "TypeScript": 4225, "JavaScript": 4148, "Swift": 2554, "CMake": 1744, "Shell": 629, "Dockerfile": 185, "C": 123} | package app.mehmaan.core.framework
import android.app.Activity
import androidx.activity.ComponentActivity
abstract class BaseActivity: ComponentActivity() {
val adapters = mutableListOf<Adapter<Activity>>()
fun connect(adapterList: List<Adapter<Activity>>) {
adapters.addAll(adapterList)
adapt... | 0 | Kotlin | 0 | 0 | 2db27b7ea8bb54d39ed4d9b79e27e01c3ecfb32a | 1,129 | Reaktor | Apache License 2.0 |
app/src/test/java/io/github/msh91/arch/ui/home/chart/CryptoChartViewModelTest.kt | msh91 | 134,849,661 | false | null | package io.github.msh91.arch.ui.home.chart
import androidx.arch.core.executor.testing.InstantTaskExecutorRule
import androidx.lifecycle.Observer
import arrow.core.Either
import io.github.msh91.arch.CoroutinesTestRule
import io.github.msh91.arch.R
import io.github.msh91.arch.data.model.Error
import io.github.msh91.arch... | 0 | Kotlin | 7 | 25 | 9f0bf81e3493ee733a0b64c9a64249eacd8b652b | 4,747 | arch | Apache License 2.0 |
engine/src/test/kotlin/regressionTests/config/EngineTestConfiguration.kt | Cuupa | 236,094,744 | false | {"JavaScript": 348091, "CSS": 195119, "Kotlin": 182293, "Java": 23235, "HTML": 11583, "Batchfile": 111} | package regressionTests.config
import com.cuupa.classificator.engine.ClassificatorImplementation
import com.cuupa.classificator.engine.KnowledgeManager
import com.cuupa.classificator.engine.services.KnowledgeBaseExecutorService
import com.cuupa.classificator.engine.services.MetadataService
import com.cuupa.classificat... | 94 | JavaScript | 0 | 0 | ba3f2b743873a9eebd8919f5461ec53bb5cbc249 | 2,452 | classificator | MIT License |
feature_album/src/main/java/com/igorwojda/showcase/feature/album/presentation/albumdetail/AlbumDetailViewModel.kt | mortezahosseinee | 263,060,635 | false | null | package com.igorwojda.showcase.feature.album.presentation.albumdetail
import androidx.lifecycle.viewModelScope
import com.igorwojda.showcase.feature.album.domain.model.AlbumDomainModel
import com.igorwojda.showcase.feature.album.domain.usecase.GetAlbumUseCase
import com.igorwojda.showcase.feature.album.presentation.al... | 1 | null | 0 | 2 | 71b793b37f8621ba9428c60a9acda598933876ea | 2,681 | NonStop | MIT License |
retrofit_net/src/main/java/com/example/retrofit_net/manager/exception/ApiException.kt | youminghuo2 | 743,886,194 | false | {"Kotlin": 73832} | package com.example.retrofit_net.manager.exception
import java.io.IOException
open class ApiException : Exception {
var errCode: String
var errSubCode: String=""
var errMsg: String
constructor(code: String, subCode: String, msg: String, e: Throwable? = null) : super(e) {
this.errCode = code
... | 0 | Kotlin | 0 | 1 | bf8a6fc20cedf8cf60a704af2d365995e3f93527 | 622 | unisolution-android-sdk | Apache License 2.0 |
android/src/main/java/com/reactnativejwplayer/JwplayerPackage.kt | abdullahkhan70 | 435,819,087 | false | null | package com.reactnativejwplayer
import com.facebook.react.ReactPackage
import com.facebook.react.bridge.NativeModule
import com.facebook.react.bridge.ReactApplicationContext
import com.facebook.react.uimanager.ViewManager
import com.google.android.exoplayer2.ExoPlayer
class JwplayerPackage : ReactPackage {
overr... | 0 | null | 0 | 0 | 2128f32a7b7c7037897a90891f630e1c31875e5c | 743 | react-native-jwplayer | MIT License |
bukkit/src/main/kotlin/dev/jaims/moducore/bukkit/command/CraftCommand.kt | Jaimss | 321,796,760 | false | null | /*
* This file is a part of ModuCore, licensed under the MIT License.
*
* Copyright (c) 2020 <NAME>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including wit... | 8 | null | 2 | 3 | 75d723bafa9f53c09e1100c7828e4085ebfa3060 | 2,319 | moducore | MIT License |
ktaf/src/main/kotlin/com/github/benpollarduk/ktaf/assets/characters/Character.kt | benpollarduk | 696,256,399 | false | {"Kotlin": 531898, "JavaScript": 486, "HTML": 346, "CSS": 343} | package com.github.benpollarduk.ktaf.assets.characters
import com.github.benpollarduk.ktaf.assets.ExaminableObject
import com.github.benpollarduk.ktaf.assets.Item
import com.github.benpollarduk.ktaf.assets.interaction.InteractWithItem
import com.github.benpollarduk.ktaf.assets.interaction.Interaction
import com.github... | 1 | Kotlin | 0 | 9 | b892bacb2a877b58a2192b7d01a7ee22aff9c5de | 2,861 | ktaf | MIT License |
src/main/kotlin/xyz/poeschl/pixelmaze/Maze.kt | Poeschl | 182,655,345 | false | null | package xyz.poeschl.pixelmaze
import de.amr.graph.core.api.Edge
import kotlinx.coroutines.launch
import kotlinx.coroutines.runBlocking
import mu.KotlinLogging
import xyz.poeschl.kixelflut.Pixel
import xyz.poeschl.kixelflut.Point
import xyz.poeschl.kixelflut.createHorizontalPixels
import xyz.poeschl.kixelflut.createVer... | 10 | Kotlin | 0 | 0 | 3d65bedce3dd4a8d58ea9bf70d5e18823dac8d5d | 3,740 | PixelMaze | Apache License 2.0 |
foundation/domain-model/main/ru/pixnews/domain/model/game/Game.kt | illarionov | 305,333,284 | false | {"Kotlin": 1170461, "Java": 7303, "FreeMarker": 2734, "Shell": 668, "Fluent": 72} | /*
* Copyright (c) 2023, the Pixnews project authors and contributors. Please see the AUTHORS file for details.
* Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
*/
package ru.pixnews.domain.model.game
import kotlinx.collections.immutable.ImmutableList
import ko... | 4 | Kotlin | 0 | 2 | bbd35f589b8e361058218b1125896df638c14a5c | 2,578 | Pixnews | Apache License 2.0 |
app/app/src/main/java/xyz/mirage/app/business/domain/core/DataState.kt | sentrionic | 378,704,735 | false | null | package xyz.mirage.app.business.domain.core
data class DataState<out T>(
val data: T? = null,
val stateMessage: StateMessage? = null,
val isLoading: Boolean = false,
) {
companion object {
fun <T> error(
response: Response,
): DataState<T> {
return DataState(
... | 0 | Kotlin | 2 | 1 | 8f50fc8244f16b43b8e054e79bcd50e98765a0e1 | 886 | Mirage | MIT License |
draggable_scaffold/src/main/java/tgo1014/draggablescaffold/DraggableScaffoldState.kt | Tgo1014 | 375,026,009 | false | null | package tgo1014.draggablescaffold
import androidx.compose.animation.core.AnimationSpec
import androidx.compose.animation.core.animate
import androidx.compose.animation.core.tween
import androidx.compose.runtime.*
import androidx.compose.runtime.saveable.rememberSaveable
import androidx.compose.ui.unit.dp
/**
* Creat... | 0 | Kotlin | 3 | 59 | 7f12eb2df7a63c4a29e658916b6ba0f01f1fa453 | 7,368 | DraggableScaffold | Apache License 2.0 |
app/src/main/java/com/mezhendosina/sgo/data/emoji/DefaultEmoji.kt | mezhendosina | 448,087,094 | false | {"Kotlin": 593653, "Java": 1357} | /*
* Copyright 2024 <NAME>
*
* 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 i... | 0 | Kotlin | 0 | 11 | d6727bca32c5daaaaa0ed4c21a671f754b59ffdb | 2,998 | che-zadali-app | Apache License 2.0 |
misskey/src/commonMain/kotlin/work/socialhub/planetlink/misskey/model/MisskeyComment.kt | uakihir0 | 733,128,300 | false | {"Kotlin": 526097, "Shell": 1521, "Makefile": 345} | package work.socialhub.planetlink.misskey.model
import work.socialhub.planetlink.micro.MicroBlogComment
import work.socialhub.planetlink.misskey.define.MisskeyVisibility
import work.socialhub.planetlink.model.Comment
import work.socialhub.planetlink.model.Poll
import work.socialhub.planetlink.model.Reaction
import wor... | 1 | Kotlin | 0 | 1 | 9cbf1cba723ec6d985f558312991e91beb92d8a9 | 2,478 | planetlink | MIT License |
app/src/main/java/com/verifone/mobile/dataobjects/klarna/KlarnaFinalValidationResponse.kt | verifoneone | 488,284,384 | false | {"Kotlin": 337130} | package com.verifone.mobile.dataobjects.klarna
import com.google.gson.annotations.SerializedName
class KlarnaFinalValidationResponse {
@SerializedName("id") var id = ""
@SerializedName("instore_reference") var inStoreReference = ""
@SerializedName("amount") var amount = 0
@SerializedName("created_at")... | 0 | Kotlin | 0 | 5 | af847b68098ed977504d142f10d3e9bccec9822a | 773 | verifone-ecom-android-sdk | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.