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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
environment/src/main/kotlin/jetbrains/exodus/env/Unsafe.kt | JetBrains | 19,271,154 | false | null | /*
* Copyright 2010 - 2023 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | 2 | null | 117 | 1,146 | 39064bf7c2db4068be5fa099d58099ada2d1e2f0 | 5,164 | xodus | Apache License 2.0 |
app/src/main/java/dev/hossain/keepalive/ui/screen/AppAdditionalConfigs.kt | hossain-khan | 850,326,047 | false | {"Kotlin": 91759} | package dev.hossain.keepalive.ui.screen
import android.content.Context
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.fillMaxW... | 4 | Kotlin | 1 | 4 | e390a0e9507701eb242e05fe5dd68cb7c04ab1be | 12,791 | android-keep-alive | MIT License |
lists/src/main/java/fr/jhelp/lists/TransformedIterable.kt | jhelpgg | 264,682,891 | false | null | /*
* <h1>License :</h1> <br/>
* The following code is deliver as is. <br/>
* You can use, modify, the code as your need for any usage.<br/>
* But you can't do any action that avoid me or other person use, modify this code.<br/>
* The code is free for usage and modification, you can't change that fact.
*/
pac... | 0 | Kotlin | 0 | 0 | b9ebb682a598bdbb903bf4a9dd9d649db6b6b736 | 713 | AndroidEngine3D | Apache License 2.0 |
src/main/kotlin/dev/mim1q/derelict/client/render/block/SpiderEggClusterRenderer.kt | mim1q | 636,851,598 | false | {"Kotlin": 429756, "Java": 19641} | package dev.mim1q.derelict.client.render.block
import dev.mim1q.derelict.Derelict
import dev.mim1q.derelict.block.cobweb.SpiderEggBlock
import dev.mim1q.derelict.block.cobweb.SpiderEggBlock.SpiderEggBlockEntity
import dev.mim1q.derelict.util.render.render
import net.minecraft.client.render.RenderLayer
import net.minec... | 1 | Kotlin | 3 | 0 | 8a901e73a9eac115fdb3d2c29c850917be5fa01e | 3,568 | derelict | MIT License |
app/src/main/java/sjj/novel/view/module/details/DetailsActivity.kt | SJJ-dot | 100,725,636 | false | null | package sjj.novel.view.module.details
import android.os.Bundle
import android.view.Menu
import android.view.MenuItem
import androidx.core.view.GravityCompat
import androidx.databinding.DataBindingUtil
import com.bumptech.glide.Glide
import io.reactivex.android.schedulers.AndroidSchedulers
import kotlinx.android.synthe... | 1 | null | 1 | 20 | e5ec00872a0c655063e3ec1d220df09558f14332 | 4,264 | novel | Apache License 2.0 |
src/main/kotlin/team/nk/kimiljeongserver/domain/image/service/ImageService.kt | team-nk | 513,313,744 | false | null | package team.nk.kimiljeongserver.domain.image.service
import org.springframework.stereotype.Service
import org.springframework.transaction.annotation.Transactional
import org.springframework.web.multipart.MultipartFile
import team.nk.kimiljeongserver.domain.image.presentation.dto.response.ImageResponse
import team.nk.... | 2 | Kotlin | 1 | 16 | b7814ffdd99ddc844861746cdccde4553580b6db | 631 | kim-il-jeong-server | MIT License |
ui-home/src/main/java/com/yoti/ui/asset/mapper/AssetMapper.kt | mmbehroozfar | 672,992,569 | false | null | package com.yoti.ui.asset.mapper
import com.yoti.domain.model.Asset
import com.yoti.ui.asset.model.AssetUi
import javax.inject.Inject
class AssetMapper @Inject constructor() {
operator fun invoke(type: Asset) = AssetUi(
id = type.id,
symbol = type.symbol,
name = type.name,
price =... | 0 | Kotlin | 0 | 0 | 9a38ea84b7c7117c2c7651792d2d1acef69e53b5 | 340 | Crypto-Assets | MIT License |
compose/src/main/java/dev/medzik/android/compose/theme/CombineAlpha.kt | M3DZIK | 698,762,035 | false | null | package dev.medzik.android.compose.theme
import androidx.compose.ui.graphics.Color
/**
* Returns a new [Color] with alpha multiplied by given [alpha] value.
*
* @param alpha the alpha value to multiple by.
* @return A new [Color] with alpha multiplied by given [alpha] value.
*/
fun Color.combineAlpha(alpha: Floa... | 1 | null | 0 | 2 | bb2fed8304f2bb20429549f2ea47852d3acecf31 | 358 | android-libs | MIT License |
app/src/main/java/com/theophiluskibet/koin/playground/presentation/screens/details/ChacterDetailScreenViewModel.kt | kibettheophilus | 811,054,900 | false | {"Kotlin": 42187} | /*
* 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 in w... | 4 | Kotlin | 0 | 2 | cbea7b0fe3ad6591271cfe71e853b1aa007ecd42 | 936 | koin-playground | Apache License 2.0 |
kotunil/src/commonMain/kotlin/eu/sirotin/kotunil/currency/SwedishKrona.kt | vsirotin | 542,600,036 | false | null |
package eu.sirotin.kotunil.currency
import eu.sirotin.kotunil.core.Expression
import eu.sirotin.kotunil.core.UnitSpecification
import kotlin.jvm.JvmField
private val descriptionSwedishKrona = UnitSpecification(
"SEK",
"skr"
) { v: Double -> SwedishKrona(v) }
/**
* Class for hold of Swedish krona
* @construc... | 18 | Kotlin | 3 | 71 | 7ddad28580b7fb912007fd7ca390556b45477cbf | 1,089 | si-units | Apache License 2.0 |
app/src/main/java/cucerdariancatalin/marvel/di/RepositoryModule.kt | cucerdariancatalin | 574,486,298 | false | null | package cucerdariancatalin.marvel.di
import cucerdariancatalin.marvel.repository.DetailRepository
import cucerdariancatalin.marvel.repository.MainRepository
import org.koin.dsl.module
val repositoryModule = module {
single { MainRepository(get(), get(), get()) }
single { DetailRepository(get()) }
} | 0 | Kotlin | 168 | 6 | 12557d3f91c45eab5e7676cb8c72c561f43d2e29 | 311 | Marvel | MIT License |
potatolib/src/main/java/com/zzx/potato/task/NetworkLoadTask.kt | imurluck | 197,876,197 | false | {"Gradle": 4, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "Proguard": 2, "Kotlin": 14, "XML": 18, "Java": 2} | package com.zzx.potato.task
import com.zzx.potato.ImageRequest
import com.zzx.potato.util.ERROR_UNKNOWN
import com.zzx.potato.util.Logger
import java.io.IOException
import java.lang.Exception
import java.net.HttpURLConnection
import java.net.MalformedURLException
import java.net.URL
open class NetworkLoadTask(
im... | 1 | null | 1 | 1 | b26e9c8c97609a53f320477c9f578ad6505ecc91 | 2,366 | Potato | Apache License 2.0 |
krefty-core/src/commonMain/kotlin/dev/ustits/krefty/predicate/ints/Zero.kt | ustitc | 410,678,793 | false | {"Kotlin": 49157} | package dev.ustits.krefty.predicate.ints
import dev.ustits.krefty.core.Predicate
import dev.ustits.krefty.predicate.Equal
class Zero : Predicate<Int> by Equal(0)
| 0 | Kotlin | 1 | 8 | a0c6301bcf28154b59afcd14f32563ba40dd2993 | 164 | krefty | MIT License |
plugin/src/main/kotlin/cms/rendner/intellij/dataframe/viewer/components/DataFrameTable.kt | rendner | 336,657,251 | false | null | /*
* Copyright 2021-2024 cms.rendner (Daniel Schmidt)
*
* 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 applic... | 1 | null | 1 | 12 | 1a2d095bbebade29604b8b700f2f748460357602 | 44,214 | py-plugin-dataframe-viewer | Apache License 2.0 |
src/test/kotlin/com/teewhy/bank/springboot/bankapi/service/BankServiceTest.kt | teewhydope | 572,563,672 | false | null | package com.teewhy.bank.springboot.bankapi.service
import com.teewhy.bank.springboot.bankapi.repository.BankRepository
import org.assertj.core.api.Assertions.assertThat
import org.junit.jupiter.api.AfterEach
import org.junit.jupiter.api.BeforeEach
import org.junit.jupiter.api.Test
import org.springframework.beans.fact... | 0 | Kotlin | 0 | 0 | daab7ed566bb748dbf374ad8260ff9fc936d9583 | 947 | BankApi-SpringBoot-Kotlin | MIT License |
component/src/main/java/com/trian/component/bottomnavigation/BottomNavigationData.kt | triandamai | 419,006,471 | false | null | package com.trian.component.bottomnavigation
import androidx.compose.ui.graphics.vector.ImageVector
import com.trian.component.Routes
import compose.icons.Octicons
import compose.icons.octicons.*
/**
* Main Page
* Author <NAME>
* Created by <NAME>
* 25/10/2021
*/
sealed class BottomNavigationData (val icon:Image... | 27 | null | 1 | 2 | 07635e10d2310dc168c24da02c698c529590f18e | 757 | Kopra.id | Apache License 2.0 |
python/py.inliner/src/org/jetbrains/kotlin/py/coroutine/CoroutineMetadataProperties.kt | krzema12 | 312,049,057 | true | null | /*
* Copyright 2010-2021 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.py.coroutine
import org.jetbrains.kotlin.js.backend.ast.JsDebugger
import org.je... | 34 | Kotlin | 2 | 24 | af0c7cfbacc9fa1cc9bec5c8e68847b3946dc33a | 931 | kotlin-python | Apache License 2.0 |
omnia/src/commonMain/omnia/data/cache/SimpleMemoizer.kt | StrangePan | 224,343,744 | false | null | package omnia.data.cache
import kotlin.jvm.Volatile
/**
* A [Memoized] implementation that uses a client-given supplier to lazily compute
* the memoized value. This class is not thread-safe.
*
* Once computed and memoized, the [supplier] reference is forgotten and never invoked ever
* again. The given [supplier... | 0 | Kotlin | 0 | 0 | 00eb8daa389b75a6abb427c9b8fe7cda0c32ad88 | 1,086 | omnia | The Unlicense |
plugins/gradle/src/org/jetbrains/plugins/gradle/frameworkSupport/buildscript/GradleBuildScriptBuilderCore.kt | ingokegel | 72,937,917 | false | null | // Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package org.jetbrains.plugins.gradle.frameworkSupport.buildscript
import org.gradle.util.GradleVersion
import org.jetbrains.annotations.ApiStatus
import org.jetbrains.plugins.gradle.frameworkSupport... | 214 | null | 4829 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 3,638 | intellij-community | Apache License 2.0 |
src/commonMain/kotlin/com/algolia/search/serialize/KSerializerGeoPoint.kt | pallavirawat | 205,637,107 | true | {"Kotlin": 941656, "Ruby": 4462} | package com.algolia.search.serialize
import com.algolia.search.model.search.Point
import kotlinx.serialization.Decoder
import kotlinx.serialization.Encoder
import kotlinx.serialization.KSerializer
import kotlinx.serialization.internal.SerialClassDescImpl
import kotlinx.serialization.json.json
public object KSerializ... | 0 | Kotlin | 0 | 0 | a7127793476d4453873266222ea71b1fce5c8c32 | 897 | algoliasearch-client-kotlin | MIT License |
app/src/main/java/com/brandoncano/resistancecalculator/util/resistor/ResistanceFormatter.kt | bmcano | 501,427,754 | false | {"Kotlin": 215877} | package com.brandoncano.resistancecalculator.util
import com.brandoncano.resistancecalculator.model.ctv.ResistorCtv
import com.brandoncano.resistancecalculator.constants.Colors as C
import com.brandoncano.resistancecalculator.constants.Symbols as S
/**
* Job: Formats the resistance based on the colors selected for t... | 4 | Kotlin | 0 | 1 | 38852d3883eaa47a707b66eab91e40e80e8c3fca | 2,143 | resistance-calculator-app | MIT License |
mvikotlin-extensions-reaktive/src/commonMain/kotlin/com/arkivanov/mvikotlin/extensions/reaktive/ReaktiveBootstrapperScope.kt | arkivanov | 437,014,963 | false | null | package com.arkivanov.mvikotlin.extensions.reaktive
import com.badoo.reaktive.disposable.scope.DisposableScope
/**
* Allows DSL [Bootstrapper][com.arkivanov.mvikotlin.core.store.Bootstrapper]s to launch asynchronous tasks
* and [dispatch] ``[Action]s.
*
* Implements [DisposableScope] that is disposed when the [Bo... | 3 | null | 32 | 814 | 8ab014968028bc042ed0710c31113537fc9f66ed | 702 | MVIKotlin | Apache License 2.0 |
src/main/kotlin/uk/gov/justice/digital/hmpps/hmppsbookavideolinkapi/config/BvlsRequestContextConfiguration.kt | ministryofjustice | 789,053,149 | false | {"Kotlin": 178440, "Dockerfile": 1486, "Shell": 1007} | package uk.gov.justice.digital.hmpps.hmppsbookavideolinkapi.config
import jakarta.servlet.http.HttpServletRequest
import jakarta.servlet.http.HttpServletResponse
import org.slf4j.LoggerFactory
import org.springframework.context.annotation.Configuration
import org.springframework.security.access.AccessDeniedException
i... | 1 | Kotlin | 0 | 0 | b09a7d3591c6fb653ea55951b0e6e4fb5230bc32 | 2,505 | hmpps-book-a-video-link-api | MIT License |
compiler/testData/ir/irText/stubs/javaSyntheticProperty.kt | JetBrains | 3,432,266 | false | null | // TARGET_BACKEND: JVM
// FIR_IDENTICAL
// DUMP_EXTERNAL_CLASS: J
// FILE: javaSyntheticProperty.kt
val test = J().foo
// FILE: J.java
class J {
public String getFoo() { return null; }
}
| 181 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 192 | kotlin | Apache License 2.0 |
src/main/kotlin/com/autonomousapps/internal/android/AndroidGradlePluginFactory.kt | autonomousapps | 217,134,508 | false | {"Kotlin": 1025183, "Groovy": 505873, "ANTLR": 44382, "Java": 17082} | // Copyright (c) 2024. <NAME>.
// SPDX-License-Identifier: Apache-2.0
package com.autonomousapps.internal.android
import org.gradle.api.Project
internal class AndroidGradlePluginFactory(
private val project: Project, private val agpVersion: String
) {
private val agp = AgpVersion.version(agpVersion)
fun newAd... | 100 | Kotlin | 109 | 1,526 | afe39cb1cfb079a82e5fd22258710504d685ba09 | 525 | dependency-analysis-gradle-plugin | Apache License 2.0 |
src/commonMain/kotlin/org/treeWare/model/util/MergeAddToSet.kt | tree-ware | 214,941,384 | false | null | package org.treeWare.model.util
import org.treeWare.model.core.MutableEntityModel
import org.treeWare.model.core.MutableSetFieldModel
import org.treeWare.model.operator.copy
/**
* Merges the new entity with a matching existing entity if any, else adds the new entity to the set.
* Fields in the new entity take prece... | 32 | Kotlin | 0 | 1 | b38753dd2a8db7e5e9be4c25d6af06578b258f24 | 861 | tree-ware-kotlin-core | Apache License 2.0 |
MusicPlayer/app/src/main/java/com/example/musicplayer/PlaylistDetail.kt | Tajammal39 | 758,904,636 | false | {"Kotlin": 52547} | package com.example.musicplayer
import android.annotation.SuppressLint
import android.os.Bundle
import android.view.View
import android.widget.Toast
import androidx.activity.enableEdgeToEdge
import androidx.appcompat.app.AppCompatActivity
import androidx.core.view.ViewCompat
import androidx.core.view.WindowInsetsCompa... | 0 | Kotlin | 0 | 0 | a7f9e6db805622cc46c546214ac4dfdeb1fc1c92 | 2,522 | AndroidDemoProjects | Apache License 2.0 |
app/src/main/java/mockapp/com/br/mockappmvvm/application/di/RepositoryModule.kt | Levi-Moreira | 132,961,789 | false | null | package mockapp.com.br.mockappmvvm.application.di
import dagger.Module
import dagger.Provides
import mockapp.com.br.mockappmvvm.application.data.remote.StackOverflowConfig
import mockapp.com.br.mockappmvvm.users.data.UsersDataSourceFactory
import mockapp.com.br.mockappmvvm.users.data.UsersRepository
import javax.injec... | 1 | Kotlin | 4 | 15 | fbe2c16ea10da97b7b594f1dfb2a0448e9dea5fc | 576 | MockAppMVVM | MIT License |
app/src/main/java/mockapp/com/br/mockappmvvm/application/di/RepositoryModule.kt | Levi-Moreira | 132,961,789 | false | null | package mockapp.com.br.mockappmvvm.application.di
import dagger.Module
import dagger.Provides
import mockapp.com.br.mockappmvvm.application.data.remote.StackOverflowConfig
import mockapp.com.br.mockappmvvm.users.data.UsersDataSourceFactory
import mockapp.com.br.mockappmvvm.users.data.UsersRepository
import javax.injec... | 1 | Kotlin | 4 | 15 | fbe2c16ea10da97b7b594f1dfb2a0448e9dea5fc | 576 | MockAppMVVM | MIT License |
nugu-agent/src/main/java/com/skt/nugu/sdk/agent/utility/handler/BlockDirectiveHandler.kt | nugu-developers | 214,067,023 | false | null | /**
* Copyright (c) 2020 SK Telecom Co., Ltd. All rights reserved.
*
* 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 requir... | 5 | null | 18 | 27 | 9d90dcbb8463f7b8f98713126a93de7e291da86c | 2,897 | nugu-android | Apache License 2.0 |
library/src/main/kotlin/com/fleey/customwindow/SystemButtons.kt | MultiWolf | 784,955,566 | false | {"Kotlin": 124597, "CSS": 1106} | package com.fleey.customwindow
import androidx.compose.animation.animateColorAsState
import androidx.compose.foundation.background
import androidx.compose.foundation.clickable
import androidx.compose.foundation.hoverable
import androidx.compose.foundation.interaction.MutableInteractionSource
import androidx.compose.fo... | 0 | Kotlin | 0 | 3 | 62bf14f89138dd38df366fdaf3b3d564bb72d826 | 3,799 | allpairs-desktop | Apache License 2.0 |
shared-model/src/main/java/io/golos/commun4j/sharedmodel/Varuint.kt | communcom | 212,557,974 | false | null | package io.golos.commun4j.sharedmodel
class Varuint(val value: Long) | 0 | Kotlin | 3 | 1 | 094194b9e6e01ff0be4bce83559ae678bbeb055d | 69 | commun4j | MIT License |
app/src/main/java/io/github/sauvio/ocr/utils/BitmapUtils.kt | Sauvio | 737,247,604 | false | {"Kotlin": 165743, "Java": 55038} | package io.github.sauvio.ocr.utils
import android.content.ContentResolver
import android.content.Context
import android.graphics.Bitmap
import android.graphics.Bitmap.CompressFormat
import android.graphics.BitmapFactory
import android.graphics.Matrix
import android.graphics.Rect
import android.net.Uri
import androidx.... | 0 | Kotlin | 0 | 0 | 7e7ddb2225887f18ce4b8d61480fee64ea6ed2ba | 18,507 | taskerplugin-ocr | Apache License 2.0 |
raft-server/src/main/kotlin/top/dreamlike/KV/KVStateMachine.kt | dreamlike-ocean | 505,124,997 | false | {"Kotlin": 84864, "Java": 6524} | package top.dreamlike.KV
import io.vertx.core.Future
import io.vertx.core.Promise
import io.vertx.core.Vertx
import io.vertx.core.buffer.impl.VertxByteBufAllocator
import top.dreamlike.base.KV.ByteArrayKey
import top.dreamlike.base.KV.Command
import top.dreamlike.base.KV.DelCommand
import top.dreamlike.base.KV.NoopCom... | 0 | Kotlin | 0 | 3 | 5b9600e859e52b1d689fe2c1c6e600b5a248aaac | 9,696 | raft-kt | MIT License |
languages/language-plaintext/src/main/kotlin/com/blacksquircle/ui/language/plaintext/styler/PlainTextStyler.kt | SagerNet | 376,384,919 | false | null | /*
* Copyright 2021 Squircle IDE contributors.
*
* 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 la... | 0 | null | 5 | 3 | e7d1d0dca2c3e9b313f28dc34df1e12282f89206 | 1,604 | editorkit | Apache License 2.0 |
data/src/main/java/es/littledavity/data/contacts/usecases/ObserveContactsUseCaseImpl.kt | Benderinos | 260,322,264 | false | null | /*
* Copyright 2021 dalodev
*/
package es.littledavity.data.contacts.usecases
import com.paulrybitskyi.hiltbinder.BindType
import es.littledavity.core.providers.DispatcherProvider
import es.littledavity.data.commons.utils.toDataPagination
import es.littledavity.data.contacts.datastores.ContactsLocalDataStore
import ... | 0 | Kotlin | 0 | 1 | 4f7f9d251c4da8e130a9f2b64879867bfecb44e8 | 1,145 | ChorboAgenda | Apache License 2.0 |
ktfx-listeners/src/ktfx/listeners/scene/control/ChoiceBox.kt | alilosoft | 182,138,993 | true | {"Kotlin": 364065, "HTML": 1385, "Java": 682} | @file:Suppress("PackageDirectoryMismatch", "NOTHING_TO_INLINE")
package ktfx.listeners
import javafx.scene.control.ChoiceBox
/** Allows a way to specify how to represent objects in the items list. */
inline fun <T> ChoiceBox<T>.converter(
converter: StringConverterBuilder<T>.() -> Unit
): Unit = setConverter(bui... | 0 | Kotlin | 0 | 0 | f499c9d7abddb270f1946c0e9ffb9072e45cd625 | 349 | ktfx | Apache License 2.0 |
kover-gradle-plugin/src/functionalTest/kotlin/kotlinx/kover/gradle/plugin/test/functional/cases/ReportAnnotationFilterTests.kt | Kotlin | 394,574,917 | false | {"Kotlin": 730643, "Java": 23398} | /*
* Copyright 2017-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
*/
package kotlinx.kover.gradle.plugin.test.functional.cases
import kotlinx.kover.gradle.plugin.dsl.*
import kotlinx.kover.gradle.plugin.dsl.CoverageUnit.LINE
import kotlinx.kover.gradle.plugin.test.functional.f... | 66 | Kotlin | 53 | 1,346 | 1acc0548ad33b0aeeccd4e95078490997abf2d54 | 4,060 | kotlinx-kover | Apache License 2.0 |
plugins/github/src/org/jetbrains/plugins/github/api/data/pullrequest/GHPullRequestState.kt | ingokegel | 72,937,917 | false | null | // Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package org.jetbrains.plugins.github.api.data.pullrequest
import org.jetbrains.plugins.github.api.data.GithubIssueState
enum class GHPullRequestState {
CLOSED, MERGED, OPEN;
... | 1 | null | 1 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 450 | intellij-community | Apache License 2.0 |
browser-kotlin/src/jsMain/kotlin/web/gpu/GPUProgrammableStage.kt | karakum-team | 393,199,102 | false | {"Kotlin": 6272741} | // Automatically generated - do not modify!
package web.gpu
import js.objects.ReadonlyRecord
import kotlinx.js.JsPlainObject
@JsPlainObject
external interface GPUProgrammableStage {
val module: GPUShaderModule
val entryPoint: String?
val constants: ReadonlyRecord<String, Double>?
}
| 0 | Kotlin | 8 | 36 | 95b065622a9445caf058ad2581f4c91f9e2b0d91 | 298 | types-kotlin | Apache License 2.0 |
ui/lists/src/main/kotlin/com/gnoemes/shimori/lists/tabs/page/pinned/ListPinnedViewState.kt | gnoemes | 213,210,354 | false | null | package com.gnoemes.shimori.lists.tabs.page.pinned
import androidx.compose.runtime.Immutable
import com.gnoemes.shimori.model.EntityWithRate
import com.gnoemes.shimori.model.ShimoriEntity
@Immutable
internal data class ListPinnedViewState(
val list : List<EntityWithRate<out ShimoriEntity>> = emptyList()
) {
... | 0 | Kotlin | 0 | 8 | 8575e752c7ce173ad5857dc6855193b1b59a2935 | 388 | Shimori | Apache License 2.0 |
plugin-utilities-test/src/test/kotlin/org/jetbrains/research/pluginUtilities/util/simpleTests/folders/SimpleParametrizedFoldersTest.kt | JetBrains-Research | 385,260,014 | false | null | package org.jetbrains.research.pluginUtilities.util.simpleTests.folders
import org.jetbrains.research.pluginUtilities.util.Extension
import org.jetbrains.research.pluginUtilities.util.ParametrizedBaseTest
import org.junit.Assert
import org.junit.Test
import org.junit.runner.RunWith
import org.junit.runners.Parameteriz... | 3 | Kotlin | 2 | 4 | ba20557c6d844afcd827c1b7fdf340c881bc7a43 | 1,028 | plugin-utilities | MIT License |
animeone/android/app/src/main/kotlin/org/github/henryquan/animeone/WebActivity.kt | HQAnime | 204,109,417 | false | null | package org.github.henryquan.animeone
import android.content.Intent
import android.os.Build
import android.os.Bundle
import android.webkit.CookieManager
import android.webkit.WebView
import android.webkit.WebViewClient
import androidx.appcompat.app.AppCompatActivity
class WebActivity : AppCompatActivity() {
over... | 9 | Dart | 3 | 92 | bfa82957d80ff6eb28550c31d22103c40a269d0d | 2,283 | AnimeOne | MIT License |
Sample/app/src/main/java/com/dreamgyf/android/plugin/fastinflate/sample/MainActivity.kt | dreamgyf | 553,044,545 | false | {"Kotlin": 34627} | package com.dreamgyf.android.plugin.fastinflate.sample
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.util.Log
import android.view.LayoutInflater
import android.view.View
import android.view.ViewStub
import com.dreamgyf.android.plugin.fastinflate.FastInflate
class MainActivity... | 0 | Kotlin | 0 | 7 | cb8c6d551840a3eebd5d53adc34ab5f3d4189c9f | 1,690 | FastInflate | Apache License 2.0 |
app/src/main/java/com/example/jetpackcompose/sdui/Components.kt | Muran-Hu | 288,347,573 | true | {"Kotlin": 389260} | package com.example.jetpackcompose.sdui
import androidx.compose.foundation.Text
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.height
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.shap... | 0 | Kotlin | 0 | 1 | 3b9b20c1c2815248a68b144811aedc80b11cf720 | 10,449 | SDUI-By-Jetpack-Compose-Example | Apache License 2.0 |
sample-core/src/main/java/screenswitchersample/core/components/ActivityComponent.kt | JayNewstrom | 48,964,076 | false | null | package screenswitchersample.core.components
import com.jaynewstrom.screenswitcher.dialogmanager.DialogManagerComponent
import screenswitchersample.core.activity.ScreenSwitcherActivity
interface ActivityComponent : PassthroughComponent, DialogManagerComponent {
fun inject(activity: ScreenSwitcherActivity)
}
| 1 | Kotlin | 2 | 2 | 565a513435ba6c1935ca8c3586aee183fd2d7b17 | 315 | ScreenSwitcher | Apache License 2.0 |
app/src/main/java/com/ferrariofilippo/saveapp/model/entities/Subscription.kt | ferrariofilippo | 683,187,933 | false | null | package com.ferrariofilippo.saveapp.model.entities
import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey
import androidx.room.TypeConverters
import com.ferrariofilippo.saveapp.data.converters.DateConverter
import com.ferrariofilippo.saveapp.model.enums.RenewalType
import java.time... | 0 | null | 0 | 1 | fef24c0dd269af50f8ae6615dad1784f3f1a310b | 847 | SaveApp_Kotlin | MIT License |
app/src/androidTest/java/org/example/screens/CustomizeFeedScreen.kt | prolizzie | 494,192,893 | false | {"Kotlin": 2665741, "Java": 83441, "Python": 23182, "JavaScript": 13148, "HTML": 813, "Jinja": 533, "Shell": 521, "CSS": 436} | package org.example.screens
import androidx.test.espresso.Espresso.onView
import androidx.test.espresso.assertion.ViewAssertions.matches
import androidx.test.espresso.matcher.ViewMatchers.*
import io.github.kakaocup.kakao.screen.Screen
import org.hamcrest.core.AllOf.allOf
import org.wikipedia.R
object CustomizeFeedSc... | 0 | Kotlin | 0 | 0 | e5f043aab5e9d4f15c28ca72882eeaa2ea39325b | 610 | wikipedia-automated-tests | Apache License 2.0 |
feature-account-impl/src/main/java/io/novafoundation/nova/feature_account_impl/presentation/language/model/LanguageModel.kt | novasamatech | 496,649,319 | false | null | package io.novafoundation.nova.feature_account_impl.presentation.language.model
data class LanguageModel(
val iso: String,
val displayName: String,
val nativeDisplayName: String
)
| 5 | null | 9 | 28 | fcd118ab5cbedded709ec062ae5d4bc890aaf96d | 193 | nova-android-app | Apache License 2.0 |
app/src/main/java/com/imashnake/animite/features/searchbar/SearchViewModel.kt | imashnake0 | 461,101,703 | false | null | package com.imashnake.animite.features.searchbar
import androidx.lifecycle.SavedStateHandle
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.imashnake.animite.api.anilist.AnilistSearchRepository
import com.imashnake.animite.api.anilist.type.MediaType
import com.imashnake.animite.... | 6 | null | 25 | 380 | 3efe3073472cc0492d4131a86017b28342db15dd | 2,053 | Animite | Apache License 2.0 |
src/main/kotlin/org/move/ide/inspections/MvTypeCheckInspection.kt | pontem-network | 279,299,159 | false | {"Kotlin": 2180391, "Move": 39421, "Lex": 5509, "HTML": 2114, "Java": 1275} | package org.move.ide.inspections
import com.intellij.codeInspection.ProblemHighlightType.GENERIC_ERROR
import com.intellij.codeInspection.ProblemsHolder
import com.intellij.psi.util.descendantsOfType
import com.intellij.psi.util.parents
import org.move.cli.settings.isTypeUnknownAsError
import org.move.lang.MvElementTy... | 3 | Kotlin | 29 | 69 | 063cb4e6e7cc0722d544fb6657ef6fd6d516743b | 4,844 | intellij-move | MIT License |
ui/player/src/main/kotlin/app/surgo/ui/player/PlayerViewModel.kt | tsukiymk | 382,220,719 | false | null | @file:Suppress("UNCHECKED_CAST")
package app.surgo.ui.player
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import androidx.media3.common.MediaItem
import androidx.media3.common.Timeline.Window
import app.surgo.core.datastore.UserPreferences
import app.surgo.core.domain.interactors.GetSo... | 0 | Kotlin | 0 | 0 | a364fa99ea63c6b18268ad26b3bb4c0a0603a98f | 4,410 | surgo | Apache License 2.0 |
intellij.tools.ide.starter/src/com/intellij/ide/starter/bus/FlowBus.kt | JetBrains | 499,194,001 | false | null | package com.intellij.ide.starter.bus
import com.intellij.tools.ide.util.common.logError
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.Job
import kotlinx.coroutines.flow.*
import kotlinx.coroutines.launch
import java.util.concurrent.ConcurrentHashMap
import jav... | 0 | null | 2 | 9 | a10bb3ca0b39db26f4948a54d3e7f8fadd5847f2 | 5,151 | intellij-ide-starter | Apache License 2.0 |
app/src/main/java/com/diegomfv/moodtrackerv2/data/repository/Repository.kt | diegomfv | 236,851,867 | false | null | package com.diegomfv.moodtrackerv2.data.repository
import com.diegomfv.moodtrackerv2.data.LocalDataSource
import com.diegomfv.moodtrackerv2.domain.DayModel
class Repository (private val localDataSource: LocalDataSource) {
suspend fun getAllDays () : List<DayModel> {
return localDataSource.getAllDays()
... | 2 | Kotlin | 0 | 0 | 9a9120b718751c6ab855530b8bf7141d750b6ffe | 537 | MoodTrackerV2 | Apache License 2.0 |
app/src/main/java/com/commit451/gitlab/model/api/ProjectNamespace.kt | cmfsotelo | 103,812,815 | true | {"Kotlin": 709179, "Java": 7073, "CSS": 1148} | package com.commit451.gitlab.model.api
import com.squareup.moshi.Json
import org.parceler.Parcel
import java.util.*
@Parcel(Parcel.Serialization.BEAN)
open class ProjectNamespace {
@field:Json(name = "id")
var id: Long = 0
@field:Json(name = "name")
var name: String? = null
@field:Json(name = "pat... | 0 | Kotlin | 0 | 0 | 4cdc3b24f7c96874fded3541adc58908ba830028 | 890 | LabCoat | Apache License 2.0 |
app/src/main/java/com/commit451/gitlab/activity/ProjectsActivity.kt | Commit451 | 39,787,724 | false | null | package com.commit451.gitlab.activity
import android.content.Context
import android.content.Intent
import android.os.Bundle
import androidx.appcompat.widget.Toolbar
import androidx.core.view.GravityCompat
import com.commit451.gitlab.App
import com.commit451.gitlab.R
import com.commit451.gitlab.adapter.ProjectsPagerAda... | 6 | Kotlin | 27 | 248 | 504b5311c00ac2b87ba728d74925c6f46e6c5781 | 2,151 | LabCoat | Apache License 2.0 |
app/src/main/java/com/getcode/view/main/tip/TipConnectViewModel.kt | code-payments | 723,049,264 | false | {"Kotlin": 2069923, "C": 198685, "C++": 83029, "Java": 52287, "Ruby": 4594, "Shell": 4515, "CMake": 2594} | package com.getcode.view.main.tip
import android.content.Intent
import androidx.lifecycle.viewModelScope
import com.getcode.R
import com.getcode.network.TipController
import com.getcode.util.IntentUtils
import com.getcode.util.resources.ResourceHelper
import com.getcode.view.BaseViewModel2
import dagger.hilt.android.l... | 3 | Kotlin | 13 | 14 | cdfa14fe252c817c0b6414a5aa64db0801036666 | 3,011 | code-android-app | MIT License |
app/src/main/java/com/briggin/footballfinder/main/presentation/ModelMapper.kt | bRiggin | 334,403,976 | false | null | package com.briggin.footballfinder.main.presentation
import com.briggin.footballfinder.R
import com.briggin.footballfinder.common.FlagRes
import com.briggin.footballfinder.common.domain.*
class ModelMapper {
fun mapToModels(domain: Result): List<FootballModel> {
val models = domain.playerItems() + domain... | 0 | Kotlin | 0 | 0 | 5b5975997a0a26405e2db57628b3e3722ce3787a | 2,134 | footballFinder | MIT License |
TeamCode/src/main/kotlin/org/firstinspires/ftc/teamcode/opmode/auton/PauseBlueBackdropSideAutonInside.kt | ftc8580 | 683,384,905 | false | {"Kotlin": 252059, "Java": 45100} | package org.firstinspires.ftc.teamcode.opmode.auton
import com.qualcomm.robotcore.eventloop.opmode.Autonomous
import org.firstinspires.ftc.teamcode.config.ParkPosition
@Suppress("UNUSED")
@Autonomous(group = "Blue")
class PauseBlueBackdropSideAutonInside : BackdropSideAuton(Alliance.BLUE, ParkPosition.INSIDE, true) | 0 | Kotlin | 0 | 0 | 6d8ee43b97dcb47442863fc6f15635e90ec78415 | 318 | centerstage | BSD 3-Clause Clear License |
src/main/kotlin/de/bdr/servko/keycloak/gematik/idp/mapper/SmcbUserAttributeMapper.kt | Bundesdruckerei-GmbH | 588,222,404 | false | {"Kotlin": 264080, "HTML": 17285, "JavaScript": 6324, "FreeMarker": 4218, "Dockerfile": 1465} | /*
* Copyright 2023 Bundesdruckerei GmbH and/or its affiliates
* and other contributors.
*
* 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/LICEN... | 2 | Kotlin | 1 | 8 | 15cfb8cb44b3f697a4de1ce14ecc65f9069bfb71 | 1,193 | Gematik-IDP | Apache License 2.0 |
collection/collection2/src/commonMain/kotlin/androidx/collection/SparseArray.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... | 0 | null | 0 | 7 | 6d53f95e5d979366cf7935ad7f4f14f76a951ea5 | 8,668 | androidx | Apache License 2.0 |
kotlintoasts/src/main/java/com/sarveshathawale/kotlintoasts/KotlinToasts.kt | Sathawale27 | 218,474,845 | false | null | @file:Suppress("NOTHING_TO_INLINE")
package com.sarveshathawale.kotlintoasts
import android.content.Context
import android.widget.Toast
/**
* Display the simple Toast message with the [Toast.LENGTH_LONG] duration.
*
* @param message The actual message to show in toast
*/
inline fun Context.longToast(message: () ... | 0 | Kotlin | 0 | 1 | a5601e8ead758d58662b17534f78c6be3cffa104 | 725 | KotlinToasts | Apache License 2.0 |
services/csm.cloud.project.statistics/src/main/kotlin/com/bosch/pt/csm/cloud/projectmanagement/application/config/KafkaTopicConfiguration.kt | boschglobal | 805,348,245 | false | {"Kotlin": 13156190, "HTML": 274761, "Go": 184388, "HCL": 158560, "Shell": 117666, "Java": 52634, "Python": 51306, "Dockerfile": 10348, "Vim Snippet": 3969, "CSS": 344} | /*
* ************************************************************************
*
* Copyright: Robert Bosch Power Tools GmbH, 2018 - 2021
*
* ************************************************************************
*/
package com.bosch.pt.csm.cloud.projectmanagement.application.config
import java.util.HashM... | 0 | Kotlin | 3 | 9 | 9f3e7c4b53821bdfc876531727e21961d2a4513d | 1,185 | bosch-pt-refinemysite-backend | Apache License 2.0 |
common/src/main/java/com/afollestad/nocknock/utilities/ext/AnimationExt.kt | afollestad | 64,532,704 | false | null | /**
* Designed and developed by Aidan Follestad (@afollestad)
*
* 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 b... | 14 | Kotlin | 68 | 375 | 23ba4a69cd2b91cb2cb348a1dccf9107f4c516f9 | 1,762 | nock-nock | Apache License 2.0 |
components-core/src/main/java/com/adyen/checkout/components/core/internal/ActionObserverRepository.kt | Adyen | 91,104,663 | false | {"Kotlin": 4787892, "Shell": 4706} | /*
* Copyright (c) 2022 <NAME>.
*
* This file is open source and available under the MIT license. See the LICENSE file for more info.
*
* Created by josephj on 3/11/2022.
*/
package com.adyen.checkout.components.core.internal
import androidx.annotation.RestrictTo
import androidx.lifecycle.LifecycleOwner
import ... | 22 | Kotlin | 66 | 126 | c45a6ee4d2039163ae075436a9d1231ffcb16f5c | 1,922 | adyen-android | MIT License |
src/main/kotlin/br/com/github/marcospereirajr/rinhajavaspring/domain/transaction/Transaction.kt | marcos-pereira-jr | 752,445,143 | false | {"Kotlin": 9382} | package br.com.github.marcospereirajr.rinhajavaspring.domain.transaction
import br.com.github.marcospereirajr.rinhajavaspring.domain.problems.DomainException.Companion.valid
import jakarta.validation.constraints.Min
import jakarta.validation.constraints.NotBlank
import jakarta.validation.constraints.NotNull
import jav... | 0 | Kotlin | 0 | 0 | d7705a204d790c67b45a997cefa1302a6def3cb9 | 920 | kotlin-clean-arch | MIT License |
app/src/main/java/dev/seabat/android/hellobottomnavi/ui/pages/qiitadetail/QiitaDetailFragment.kt | seabat | 614,867,401 | false | null | package dev.seabat.android.hellobottomnavi.ui.pages.qiitadetail
import android.os.Bundle
import android.view.View
import androidx.fragment.app.Fragment
import androidx.fragment.app.viewModels
import androidx.navigation.fragment.findNavController
import androidx.navigation.fragment.navArgs
import androidx.navigation.ui... | 0 | Kotlin | 0 | 0 | b4c5afa9609ef0e07e36593b8545d9ab093c33ea | 1,786 | hello-bottom-navigation | Apache License 2.0 |
data/src/main/java/com/nicoqueijo/android/data/CurrencyRepository.kt | nicoqueijo | 794,591,762 | false | {"Kotlin": 267182} | package com.nicoqueijo.android.data
import com.nicoqueijo.android.core.di.IODispatcher
import com.nicoqueijo.android.core.model.Currency
import com.nicoqueijo.android.network.KtorClient
import com.nicoqueijo.android.network.model.ApiOperation
import com.nicoqueijo.android.network.model.OpenExchangeRatesEndPoint
import... | 1 | Kotlin | 1 | 13 | f1755a0e0d3d80525b35bfa40cc4e6f4bb8de935 | 3,865 | Android-Currency-Converter | Apache License 2.0 |
core/src/main/kotlin/core/util/ZipUtil.kt | kspar | 160,047,508 | false | {"Kotlin": 1236555, "HTML": 337182, "CSS": 87608, "Python": 10393, "JavaScript": 536, "Shell": 509} | package core.util
import java.io.OutputStream
import java.util.zip.ZipEntry
import java.util.zip.ZipOutputStream
data class Zip(val content: String, val name: String)
fun writeZipFile(files: List<Zip>, outputStream: OutputStream): Unit {
ZipOutputStream(outputStream).use { zipOut ->
for (file in files) ... | 1 | Kotlin | 2 | 5 | f77224b74948615a37571a7043b1566bce1d875f | 459 | easy | MIT License |
vip_base/src/main/java/com/vip/base/config/StateLayoutEnum.kt | AbnerMing888 | 532,184,408 | false | {"Kotlin": 74663} | package com.vip.base.config
/**
*AUTHOR:AbnerMing
*DATE:2022/8/10
*INTRODUCE:
*/
enum class StateLayoutEnum {
DIALOG_LOADING, // dialog加载中
DIALOGD_DISMISS,//dialog隐藏
DATA_ERROR, // 数据错误
DATA_NULL, // 没有数据
NET_ERROR,//网络错误
HIDE, // 隐藏
} | 1 | Kotlin | 13 | 56 | 556b83573bc11c01144b4ece9f4d2fe4425ad465 | 281 | VipBase | Apache License 2.0 |
autofill/autofill-impl/src/main/java/com/duckduckgo/autofill/impl/reporting/AutofillBreakageReportCanShowRules.kt | duckduckgo | 78,869,127 | false | {"Kotlin": 14333964, "HTML": 63593, "Ruby": 20564, "C++": 10312, "JavaScript": 8463, "CMake": 1992, "C": 1076, "Shell": 784} | /*
* Copyright (c) 2024 DuckDuckGo
*
* 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 ... | 67 | Kotlin | 901 | 3,823 | 6415f0f087a11a51c0a0f15faad5cce9c790417c | 2,971 | Android | Apache License 2.0 |
server/data/src/main/kotlin/com/studystream/data/datasource/impl/TicketTypeDataSourceImpl.kt | ImpossibleAccuracy | 834,219,225 | false | {"Kotlin": 158719, "Dockerfile": 625} | package com.studystream.data.datasource.impl
import com.studystream.data.database.dao.TicketDao
import com.studystream.data.datasource.base.TicketTypeDataSource
import com.studystream.data.model.TicketTypeImpl
import com.studystream.domain.model.Ticket
class TicketTypeDataSourceImpl : TicketTypeDataSource,
CrudDa... | 0 | Kotlin | 0 | 0 | 926d410c2edb95ff2d4ee5e4f36eab138fcff9f4 | 380 | study-stream | The Unlicense |
currency-formatter/src/main/java/com/jacoballenwood/formatter/main/TextChangeListener.kt | jakeaaron | 322,111,752 | false | null | package com.jacoballenwood.formatter.main
import android.text.TextWatcher
interface TextChangeListener : Listeners<TextWatcher>
interface Listeners<T> {
val listeners: List<T>
fun addListener(listener: T)
fun removeListener(listener: T)
fun clear()
}
class ListenersImpl<T> : Listeners<T> {
priv... | 0 | Kotlin | 0 | 2 | 5da512aa6cb317e8e30aa1f7815bf4ddad20fdd7 | 751 | MultiCurrencyFormatter | MIT License |
straight/src/commonMain/kotlin/me/localx/icons/straight/filled/PortalEnter.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.straight.filled
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... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 3,404 | icons | MIT License |
src/main/kotlin/dev/koding/argon/data/BotConfig.kt | KodingDev | 445,145,171 | false | {"Java": 185402, "Kotlin": 43338, "Solidity": 21492, "Groovy": 691, "Dockerfile": 148, "Shell": 58} | package dev.koding.argon.data
import dev.koding.argon.util.decodeFromFile
import dev.koding.argon.util.json
import dev.koding.argon.util.web3.resolver.WalletMappings
import kotlinx.serialization.Serializable
import java.io.File
val config = json.decodeFromFile<BotConfig>(File("config.json"))
@Serializable
data class... | 1 | Java | 1 | 3 | d9a8577fb92fdb93dfeb2a572bc6fc88912d3e90 | 1,954 | argon | The Unlicense |
app/src/main/java/es/trespies/movies/api/objects/ApiObjectMovie.kt | 3pies | 501,096,370 | false | {"Kotlin": 72407} | package es.trespies.movies.api.objects
import com.google.gson.annotations.SerializedName
import java.io.Serializable
data class ApiObjectMovie(var id: String?,
@SerializedName("imdb_id")
var imdbId: String?,
var title: String?,
... | 0 | Kotlin | 0 | 1 | 5a03e478f4bd4ef53069c071ef9f355bd835858a | 1,359 | movies | MIT License |
compiler/testData/ir/irText/lambdas/justLambda.kt | JetBrains | 3,432,266 | false | null | // FIR_IDENTICAL
val test1 = { 42 }
val test2 = { } | 151 | Kotlin | 5478 | 44,267 | 7545472dd3b67d2ac5eb8024054e3e6ff7795bf6 | 52 | kotlin | Apache License 2.0 |
component-acgnews/src/main/java/com/rabtman/acgnews/mvp/contract/ISHNewsDetailContract.kt | Rabtman | 129,618,096 | false | null | package com.rabtman.acgnews.mvp.contract
import com.rabtman.acgnews.mvp.model.entity.SHPostDetail
import com.rabtman.common.base.mvp.IModel
import com.rabtman.common.base.mvp.IView
import io.reactivex.Flowable
/**
* @author Rabtman
*/
interface ISHNewsDetailContract {
interface View : IView {
fun showNe... | 2 | null | 120 | 840 | 9150f3abe50e046afd83cc97cb4415a39b1f1bd1 | 502 | AcgClub | Apache License 2.0 |
app/src/main/java/com/paprolafsmnew/features/survey/api/SurveyDataProvider.kt | DebashisINT | 676,852,117 | false | {"Kotlin": 13694213, "Java": 996851} | package com.paprolafsmnew.features.survey.api
import com.paprolafsmnew.features.photoReg.api.GetUserListPhotoRegApi
import com.paprolafsmnew.features.photoReg.api.GetUserListPhotoRegRepository
object SurveyDataProvider{
fun provideSurveyQ(): SurveyDataRepository {
return SurveyDataRepository(SurveyDataAp... | 0 | Kotlin | 0 | 0 | be98678f759713d2d5f0b9ec4bc9aa35a54d51e9 | 466 | PaprolaMarketing | Apache License 2.0 |
app/src/main/java/com/yurhel/alex/anotes/ui/Screens.kt | lestec-al | 752,345,789 | false | {"Kotlin": 93862} | package com.yurhel.alex.anotes.ui
import android.appwidget.AppWidgetManager
import androidx.compose.animation.EnterTransition
import androidx.compose.animation.ExitTransition
import androidx.compose.foundation.ExperimentalFoundationApi
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.found... | 0 | Kotlin | 0 | 0 | a265bedef8d724011715ad4a1ecc50bb3a76d50d | 2,653 | a-notes | MIT License |
SingleModuleApp/app/src/main/java/com/github/yamamotoj/singlemoduleapp/package45/Foo04538.kt | yamamotoj | 163,851,411 | false | {"Text": 1, "Ignore List": 30, "Markdown": 1, "Gradle": 34, "Java Properties": 11, "Shell": 6, "Batchfile": 6, "Proguard": 22, "Kotlin": 36021, "XML": 93, "INI": 1, "Java": 32, "Python": 2} | package com.github.yamamotoj.singlemoduleapp.package45
class Foo04538 {
fun method0() {
Foo04537().method5()
}
fun method1() {
method0()
}
fun method2() {
method1()
}
fun method3() {
method2()
}
fun method4() {
method3()
}
fun met... | 0 | Kotlin | 0 | 9 | 2a771697dfebca9201f6df5ef8441578b5102641 | 355 | android_multi_module_experiment | Apache License 2.0 |
backend/mandalore-express-domain/src/test/kotlin/com/beyondxscratch/mandaloreexpress/domain/search/spacetrain/ScheduleParameterResolver.kt | davidaparicio | 761,161,576 | false | {"Kotlin": 198124, "JavaScript": 37294, "HTML": 1661, "CSS": 365} | package com.beyondxscratch.mandaloreexpress.domain.booking.spacetrain
import com.beyondxscratch.TypedParameterResolver
import com.beyondxscratch.mandaloreexpress.domain.Random
class ScheduleParameterResolver : TypedParameterResolver<Schedule>({ parameterContext, _ ->
when {
parameterContext.isAnnotated(Ra... | 8 | Kotlin | 0 | 0 | 05dc41e2a5a5ea47ef5d688177631ffa9923fe11 | 418 | model-mitosis | Apache License 2.0 |
dbinspector/src/main/kotlin/com/infinum/dbinspector/ui/content/table/TableViewModel.kt | brahmantya | 321,405,181 | false | null | package com.infinum.dbinspector.ui.content.table
import com.infinum.dbinspector.domain.UseCases
import com.infinum.dbinspector.domain.shared.models.Direction
import com.infinum.dbinspector.domain.shared.models.Statements
import com.infinum.dbinspector.ui.content.shared.ContentViewModel
internal class TableViewModel(
... | 0 | Kotlin | 0 | 0 | 2faef15dacd9fb8d21e41cc5100b1a91c82b80d2 | 1,110 | P.MOBILE-TUGAS-MODUL10 | Apache License 2.0 |
CW/lesson_09/app/src/main/java/com/marbax/alertdialogs/MainActivity.kt | Marbax | 336,551,271 | false | {"Text": 1, "Git Attributes": 1, "Markdown": 1, "Gradle": 36, "Java Properties": 24, "Shell": 12, "Batchfile": 12, "Proguard": 12, "Kotlin": 100, "XML": 242, "Ignore List": 21, "Java": 10, "JSON": 1} | package com.marbax.alertdialogs
import android.app.DatePickerDialog
import android.app.TimePickerDialog
import android.content.DialogInterface
import android.icu.util.Calendar
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.util.Log
import android.widget.*
import androidx.appcom... | 1 | null | 1 | 1 | 7d44f516c8230483bb0fc195256eab8665afbcae | 8,787 | Android | MIT License |
2_SOLID/4_pos_OCP/src/main/kotlin/domain/Leitor.kt | GilianMarques | 580,980,437 | false | null | package domain
class Leitor(private val arquivo: Arquivo) {
fun lerArquivo(): ArrayList<Triple<String, String, String>> {
arquivo.lerArquivo()
return arquivo.dados
}
} | 0 | Kotlin | 0 | 0 | b5eb8e07a6a210d3d082111f52d06915978895c3 | 195 | Udemy | MIT License |
repository/src/main/java/com/telen/easylineup/repository/dao/TeamDao.kt | kaygenzo | 177,859,247 | false | null | package com.telen.easylineup.repository.dao
import androidx.lifecycle.LiveData
import androidx.room.*
import com.telen.easylineup.repository.model.RoomTeam
import io.reactivex.Completable
import io.reactivex.Single
@Dao
internal interface TeamDao {
@Query("DELETE FROM teams")
fun deleteAll(): Completable
... | 0 | Kotlin | 0 | 0 | 5c17e9a5866363e5dc525df6a2e2290215c23e0d | 1,136 | EasyLineUp | Apache License 2.0 |
transformer-rendition/alfresco-promena-lib-transformer-rendition/src/main/kotlin/pl/beone/promena/alfresco/lib/transformerrendition/configuration/internal/rendition/MemoryPromenaRenditionInProgressSynchronizerContext.kt | BeOne-PL | 235,078,324 | false | null | package pl.beone.promena.alfresco.lib.transformerrendition.configuration.internal.rendition
import org.springframework.context.annotation.Bean
import org.springframework.context.annotation.Configuration
import pl.beone.promena.alfresco.lib.transformerrendition.internal.rendition.MemoryPromenaRenditionInProgressSynchro... | 3 | Kotlin | 0 | 0 | e981f383fbec1dd65538f101b26dc1dc3b8a6b38 | 526 | promena-alfresco | Apache License 2.0 |
shared/src/iosMain/kotlin/com/example/sduiappkmm/Platform.kt | enirsilvaferraz | 642,968,440 | false | null | package com.example.sduiappkmm
actual fun getPlatformName(): String = "iOS" | 0 | Kotlin | 0 | 0 | 9bd604cf1083bc58450ac0a05b431014b8da2deb | 76 | SDUIAppKMM | Apache License 2.0 |
app/src/main/java/com/nutrition/balanceme/data/repositories/ProfileRepositoryImpl.kt | DatTrannn | 521,896,551 | false | null | package com.nutrition.balanceme.data.repositories
import android.net.Uri
import androidx.lifecycle.LiveData
import com.nutrition.balanceme.data.local.RecipesDao
import com.nutrition.balanceme.data.local.UserDao
import com.nutrition.balanceme.data.remote.Cloudinary
import com.nutrition.balanceme.data.remote.RecipesServ... | 0 | Kotlin | 0 | 0 | f51d0276b1d34e00b27b44689aedf80e1580c542 | 2,083 | BalanceMeApp | MIT License |
blackduck-artifactory-common/src/test/kotlin/com/synopsys/integration/blackduck/artifactory/modules/inspection/externalid/conda/CondaExternalIdExtractorTest.kt | vberegov | 358,660,661 | false | null | /**
* blackduck-artifactory-common
*
* Copyright (c) 2020 Synopsys, Inc.
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this fil... | 4 | null | 1 | 1 | 32a2e6cd536ae0f04687225417391e8a9417ef1a | 4,582 | blackduck-artifactory | Apache License 2.0 |
app/src/test/java/nawrot/mateusz/lausannefleet/usecase/AddCarUseCaseTest.kt | mateusz-nawrot | 161,166,079 | false | null | package nawrot.mateusz.lausannefleet.usecase
import io.reactivex.ObservableTransformer
import io.reactivex.Single
import nawrot.mateusz.lausannefleet.domain.base.SchedulersProvider
import nawrot.mateusz.lausannefleet.domain.car.AddCarUseCase
import nawrot.mateusz.lausannefleet.domain.car.CarEvent
import nawrot.mateusz... | 0 | Kotlin | 0 | 0 | 419ad899a080e828a66ab38b481f5a351c4755cb | 2,013 | lausanne-fleet | MIT License |
android/src/main/kotlin/com/fluttercandies/photo_manager/core/PhotoManagerPlugin.kt | lchxair | 475,314,808 | true | {"Dart": 189051, "Kotlin": 143688, "Objective-C": 142214, "Ruby": 6926, "Swift": 1406, "Shell": 57} | package com.fluttercandies.photo_manager.core
import android.Manifest
import android.app.Activity
import android.content.Context
import android.content.pm.PackageManager
import android.os.Build
import android.os.Environment
import android.os.Handler
import android.os.Looper
import com.bumptech.glide.Glide
import com.f... | 0 | Dart | 0 | 0 | 7f4bf1c3c51e902d59d598c3cf6132565acb8444 | 18,963 | flutter_photo_manager | Apache License 2.0 |
src/test/kotlin/org/rust/lang/core/macros/proc/RsProcMacroExpansionTest.kt | intellij-rust | 42,619,487 | false | null | /*
* Use of this source code is governed by the MIT license that can be
* found in the LICENSE file.
*/
package org.rust.lang.core.macros.proc
import org.rust.ExpandMacros
import org.rust.ProjectDescriptor
import org.rust.WithExperimentalFeatures
import org.rust.WithProcMacroRustProjectDescriptor
import org.rust.i... | 1,841 | null | 380 | 4,528 | c6657c02bb62075bf7b7ceb84d000f93dda34dc1 | 1,143 | intellij-rust | MIT License |
meta-resolver/src/test/java/com/rarible/core/meta/resolver/MetaResolverMt.kt | rariblecom | 357,923,214 | false | {"Kotlin": 433013, "Java": 29659} | package com.rarible.core.meta.resolver
import com.rarible.core.meta.resolver.cache.RawMetaCacheService
import com.rarible.core.meta.resolver.test.TestMeta
import com.rarible.core.meta.resolver.test.TestObjects
import com.rarible.core.meta.resolver.url.DefaultMetaUrlParser
import com.rarible.core.meta.resource.http.Def... | 0 | Kotlin | 3 | 11 | bf84030818f93e31a1f74937a0178f744c1780dd | 2,981 | service-core | MIT License |
plugins/kotlin/completion/tests/test/org/jetbrains/kotlin/idea/completion/test/AbstractMultiFileJvmBasicCompletionTest.kt | jonnypjohnston | 339,585,950 | false | null | /*
* Copyright 2010-2021 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.idea.completion.test
import com.intellij.codeInsight.completion.CompletionType
i... | 1 | null | 1 | 1 | 47adcea5b29f74b964b6076f359fbd51d4af15ca | 1,447 | JetBrains-intellij-community | Apache License 2.0 |
app/src/main/java/com/test/abc/ui/tabs/TabsViewModelFactory.kt | cyn-ph | 49,025,663 | false | {"Java": 19254, "Kotlin": 18631} | package com.test.abc.ui.tabs
import androidx.lifecycle.ViewModel
import androidx.lifecycle.ViewModelProvider
import com.test.abc.data.FoodRepository
import javax.inject.Inject
/**
* Factory for ViewModels
*/
class TabsViewModelFactory
@Inject constructor(private val foodRepository: FoodRepository) : ViewModelProvid... | 1 | null | 1 | 1 | 802ffbe711309f5bcc04fc8d9b37a45f32e3eb11 | 609 | android-elements | Apache License 2.0 |
App/app/src/main/java/ee/ut/gimmefood/SettingsActivity.kt | bautrey37 | 315,739,576 | false | {"Text": 1, "Ignore List": 4, "Markdown": 2, "Gradle": 3, "Java Properties": 2, "Shell": 1, "Batchfile": 1, "Proguard": 1, "Kotlin": 17, "XML": 32, "Java": 7, "JavaScript": 1} | package ee.ut.gimmefood
import android.graphics.Color
import android.graphics.drawable.ColorDrawable
import android.os.Bundle
import android.view.MenuItem
import androidx.appcompat.app.AppCompatActivity
import androidx.preference.PreferenceFragmentCompat
class SettingsActivity : AppCompatActivity() {
override fun... | 1 | null | 1 | 1 | a17b538781d62f54349bd42fb8133296af8059e4 | 1,310 | GimmeFood | MIT License |
idea/tests/testData/checker/NestedObjects.fir.kt | JetBrains | 278,369,660 | false | null | package nestedObjects
object A {
val b = B
val d = A.B.A
object B {
val a = A
val e = B.A
object A {
val a = A
val b = B
val x = nestedObjects.A.B.A
val y = this@A
}
}
}
object B {
val b = B
val c = A.B
}
val a = A
val b = B... | 0 | null | 30 | 82 | cc81d7505bc3e9ad503d706998ae8026c067e838 | 437 | intellij-kotlin | Apache License 2.0 |
ServerMetadata/src/main/kotlin/org/elkoserver/foundation/server/metadata/LoadDesc.kt | jstuyts | 213,739,601 | false | null | package org.elkoserver.foundation.server.metadata
import org.elkoserver.foundation.json.JsonMethod
import org.elkoserver.json.Encodable
import org.elkoserver.json.EncodeControl
import org.elkoserver.json.JsonLiteral
import org.elkoserver.json.JsonLiteralArray
import org.elkoserver.json.JsonLiteralFactory
/**
* Descr... | 5 | null | 1 | 1 | d18864aaa29914c50edcb9ccfbd074a45d3d0498 | 1,313 | Elko | MIT License |
tjekSdk/src/main/java/com/tjek/sdk/api/remote/request/IncitoRequestDataClasses.kt | shopgun | 5,290,629 | false | {"Git Config": 1, "Gradle": 4, "Markdown": 2, "Java Properties": 2, "YAML": 1, "Shell": 1, "Ignore List": 1, "Batchfile": 1, "Proguard": 2, "XML": 36, "Kotlin": 97, "Java": 20, "JSON": 1} | package com.tjek.sdk.api.remote.request
/*
* Copyright (C) 2022 Tjek
*
* 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 re... | 1 | null | 5 | 1 | 774080968e245e48425602dcb56260002137e728 | 2,099 | shopgun-android-sdk | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.