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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
jvm/core/src/main/kotlin/com/intuit/player/jvm/core/plugins/logging/PlayerLoggingConfig.kt | player-ui | 513,673,239 | false | {"TypeScript": 1109550, "Kotlin": 797722, "Swift": 519759, "Starlark": 95966, "JavaScript": 19037, "Ruby": 17488, "Shell": 10073, "MDX": 2336, "Smarty": 660, "C": 104, "Java": 103, "CSS": 31} | package com.intuit.player.jvm.core.plugins.logging
/** Base configuration for [Logging] */
public abstract class PlayerLoggingConfig {
public abstract var name: String
}
| 65 | TypeScript | 29 | 65 | 9a23beae226afaa628d52f50fdda6147d37fc878 | 175 | player | MIT License |
app/src/main/java/com/example/ader/DummyDtdResolver.kt | chinwobble | 161,988,490 | false | null | package com.example.ader
import java.io.ByteArrayInputStream
import org.xml.sax.EntityResolver
import org.xml.sax.InputSource
import org.xml.sax.SAXException
// The EntityResolver prevents the SAX parser from trying to
// download external entities e.g. xhtml1-strict.dtd from
// the referenced URI. Having our own en... | 1 | Kotlin | 4 | 2 | 87e6cfd70f0c2560b9c36484435dedcb013c14f2 | 1,053 | mobile-ebook-player | Apache License 2.0 |
src/i_introduction/_7_Nullable_Types/n07NullableTypes.kt | smandy | 151,222,994 | false | null | package i_introduction._7_Nullable_Types
import util.TODO
import util.doc7
fun test() {
val s: String = "this variable cannot store null references"
val q: String? = null
if (q != null) q.length // you have to check to dereference
val i: Int? = q?.length // null
val j: Int = q?.length ?... | 0 | Kotlin | 0 | 0 | 929450b070c8f57423787cf44257957d2fc4036c | 832 | kotlin-koans | MIT License |
banshee-paper/src/main/kotlin/io/github/aecsocket/banshee/paper/Banshee.kt | aecsocket | 625,929,786 | false | null | package io.github.aecsocket.banshee.paper
import com.github.retrooper.packetevents.PacketEvents
import io.github.aecsocket.alexandria.LoggingList
import io.github.aecsocket.alexandria.extension.registerExact
import io.github.aecsocket.alexandria.paper.AlexandriaPlugin
import io.github.aecsocket.alexandria.paper.fallba... | 0 | Kotlin | 0 | 0 | fb5b0f5b6be41b624604d23196da85c113af2ddb | 3,295 | banshee | MIT License |
src/nl/rubensten/texifyidea/highlighting/LatexAnnotator.kt | lflobo | 104,448,886 | false | {"Markdown": 1, "Text": 1, "Ignore List": 1, "Java": 162, "Kotlin": 57, "JFlex": 1, "Python": 1, "XML": 2, "HTML": 22} | package nl.rubensten.texifyidea.highlighting
import com.intellij.lang.annotation.AnnotationHolder
import com.intellij.lang.annotation.Annotator
import com.intellij.openapi.editor.colors.TextAttributesKey
import com.intellij.psi.PsiComment
import com.intellij.psi.PsiElement
import nl.rubensten.texifyidea.lang.Environme... | 1 | null | 1 | 1 | 3038a144a0a3c0769b7d1816ae7f074375e23804 | 4,912 | TeXiFy-IDEA | MIT License |
mobile/src/main/java/com/example/androidthings/lantern/channels/config/WebConfigActivity.kt | nordprojects | 118,455,585 | false | null | package com.example.androidthings.lantern.channels.config
import android.os.Bundle
import com.example.androidthings.lantern.R
import kotlinx.android.synthetic.main.activity_web_config.*
class WebConfigActivity : ChannelConfigActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate... | 1 | null | 50 | 464 | fa015faa1c9f4f500bc14074a3485750aecf14e1 | 805 | lantern | Apache License 2.0 |
src/test/kotlin/files/NetcdfFileTest.kt | mdklatt | 374,524,231 | false | null | /**
* Unit tests for the NetcdFile module.
*/
package dev.mdklatt.idea.netcdf.files
import org.junit.jupiter.api.Test
import kotlin.test.assertEquals
import kotlin.test.assertNotNull
import kotlin.test.assertTrue
/**
* Unit tests for the NetdfFileType class.
*/
internal class NetcdfFileTypeTest {
private va... | 1 | null | 0 | 1 | b3f4109337c2c7024d9ebc9f8683343a401eef45 | 1,030 | idea-netcdf-plugin | Apache License 2.0 |
src/main/kotlin/fm/force/quiz/configuration/properties/QuestionValidationProperties.kt | night-crawler | 207,094,425 | false | null | package fm.force.quiz.configuration.properties
import org.springframework.boot.context.properties.ConfigurationProperties
import org.springframework.context.annotation.Configuration
@Configuration
@ConfigurationProperties(prefix = "force.quiz.validation.question")
class QuestionValidationProperties {
var minTextL... | 1 | null | 1 | 7 | 0e34f5ff4cd85f877e739260a6055ada933364e2 | 640 | quiz | MIT License |
app/src/main/java/give/away/good/deeds/di/AppComponents.kt | hitesh-dhamshaniya | 803,497,316 | false | {"Kotlin": 273575} | package give.away.good.deeds.di
import give.away.good.deeds.sharePref.di.sharedPrefModules
import give.away.good.deeds.ui.screens.main.post.postModule
import give.away.good.deeds.ui.screens.main.setting.settingModule
/**
* @author Hitesh
* @version 1.0
* @since July 2023
*/
val appComponent = listOf(
appViewM... | 0 | Kotlin | 0 | 0 | 5da593d493a04319b3d53a537d3893ccde9ab47d | 386 | GiveAwayThings_GoodDeed | MIT License |
app/src/main/java/dev/berwyn/jellybox/ui/screens/album/AlbumScreenModel.kt | berwyn | 586,199,884 | false | {"Kotlin": 125751} | package dev.berwyn.jellybox.ui.screens.album
import app.cash.molecule.RecompositionMode
import app.cash.molecule.launchMolecule
import app.cash.sqldelight.coroutines.asFlow
import app.cash.sqldelight.coroutines.mapToList
import app.cash.sqldelight.coroutines.mapToOne
import cafe.adriel.voyager.core.model.ScreenModel
i... | 0 | Kotlin | 0 | 0 | bd346b82126c6fc7dc9bb78ec35fb4dc7e54135a | 2,510 | jellybox | Apache License 2.0 |
erpc-registry/src/main/java/io/patamon/erpc/registry/zookeeper/ZookeeperRegistry.kt | IceMimosa | 139,144,504 | false | {"Maven POM": 15, "Text": 1, "Ignore List": 1, "Markdown": 1, "Kotlin": 42, "Java": 5, "Protocol Buffer": 1, "XML": 2} | package io.patamon.erpc.registry.zookeeper
import io.patamon.erpc.registry.Registry
import org.I0Itec.zkclient.ZkClient
/**
* Desc: 注册中心 zookeeper 实现
*
* Mail: <EMAIL>
* Created by IceMimosa
* Date: 2018/6/28
*/
class ZookeeperRegistry(
// zookeeper 地址
zkAddress: String = "127.0.0.1:2181"
) : Re... | 0 | Kotlin | 0 | 2 | 95cff3fb292c2cea091651f251abb6371a27ef1f | 1,854 | Erpc | MIT License |
kotlin-node/src/jsMain/generated/node/vm/ModuleEvaluateOptions.kt | JetBrains | 93,250,841 | false | {"Kotlin": 12635434, "JavaScript": 423801} | // Generated by Karakum - do not modify it manually!
package node.vm
sealed external interface ModuleEvaluateOptions {
var timeout: Double?
var breakOnSigint: Boolean?
}
| 38 | Kotlin | 162 | 1,347 | 997ed3902482883db4a9657585426f6ca167d556 | 180 | kotlin-wrappers | Apache License 2.0 |
app/src/main/java/eu/kanade/tachiyomi/ui/manga/track/TrackHolder.kt | arkon | 127,645,159 | false | null | package eu.kanade.tachiyomi.ui.manga.track
import android.annotation.SuppressLint
import androidx.core.view.isVisible
import androidx.recyclerview.widget.RecyclerView
import eu.kanade.tachiyomi.R
import eu.kanade.tachiyomi.data.preference.PreferencesHelper
import eu.kanade.tachiyomi.databinding.TrackItemBinding
import... | 92 | null | 58 | 9 | 2f07f226b8182699884262ac67139454d5b7070d | 6,332 | tachiyomi | Apache License 2.0 |
src/main/kotlin/entity/SurgeryBooking.kt | SmartOperatingBlock | 602,429,730 | false | null | /*
* Copyright (c) 2023. Smart Operating Block
*
* Use of this source code is governed by an MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT.
*/
package entity
import java.time.LocalDateTime
/**
* A surgery booking for an elective interventions.
* @param ... | 2 | Kotlin | 0 | 0 | a38226e725e609db91700ab2f98783f1c252f2b5 | 2,004 | surgery-booking-integration-microservice | MIT License |
workflow-runtime/src/commonMain/kotlin/com/squareup/workflow1/RenderWorkflow.kt | square | 268,864,554 | false | null | package com.squareup.workflow1
import com.squareup.workflow1.internal.WorkflowRunner
import com.squareup.workflow1.internal.chained
import kotlinx.coroutines.CancellationException
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.CoroutineStart.ATOMIC
import kotlinx.coroutines.ExperimentalCoroutinesAp... | 149 | null | 85 | 773 | d19ae7acbe5897d0f487d292c63e0fbd05e78ded | 7,281 | workflow-kotlin | Apache License 2.0 |
app/src/main/java/com/thecode/cryptomania/core/usecases/IsOnboardingCompleted.kt | gabriel-TheCode | 375,033,948 | false | {"Kotlin": 89192} | package com.thecode.cryptomania.core.usecases
import com.thecode.cryptomania.core.repositories.OnBoardingRepository
import kotlinx.coroutines.flow.Flow
import javax.inject.Inject
class IsOnboardingCompleted @Inject constructor(
private val repository: OnBoardingRepository
) {
operator fun invoke(): Flow<Boole... | 1 | Kotlin | 6 | 26 | c45130092bd4f73b92b47a3eb57b57ba3978dd82 | 384 | CryptoMania | Apache License 2.0 |
domain/src/main/java/app/tivi/domain/observers/ObserveShowImages.kt | chrisbanes | 100,624,553 | false | null | /*
* Copyright 2020 Google LLC
*
* 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... | 39 | null | 780 | 5,603 | bffa49f7c4a61b168317ea59f135699878960bdc | 1,526 | tivi | Apache License 2.0 |
compiler/fir/analysis-tests/testData/resolve/delegatingConstructorCall.kt | JetBrains | 3,432,266 | false | null | fun <K> materialize(): K = null!!
open class A1(val x: String)
class B1 : A1(materialize())
open class A2(val x: Int)
class B2 : A2(1 + 1)
open class A3(x: String, y: String = "") {
constructor(x: String, b: Boolean = true) : this(x, x)
}
class B3_1 : <!OVERLOAD_RESOLUTION_AMBIGUITY!>A3<!>("")
class B3_2 : A3("... | 151 | null | 5478 | 44,267 | 7545472dd3b67d2ac5eb8024054e3e6ff7795bf6 | 647 | kotlin | Apache License 2.0 |
test-suite-kotlin-ksp/src/test/kotlin/io/micronaut/docs/config/converters/MyConfigurationProperties.kt | micronaut-projects | 124,230,204 | false | null | /*
* Copyright 2017-2020 original authors
*
* 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... | 753 | null | 1061 | 6,059 | c9144646b31b23bd3c4150dec8ddd519947e55cf | 989 | micronaut-core | Apache License 2.0 |
reactiveandroid-ui/src/main/kotlin/com/github/kittinunf/reactiveandroid/view/MenuItemAction.kt | Judrummer | 51,418,404 | true | {"Gradle": 8, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 7, "Batchfile": 1, "YAML": 1, "Markdown": 1, "Proguard": 6, "XML": 27, "Kotlin": 104, "Java": 1} | package com.github.kittinunf.reactiveandroid.view
import android.view.MenuItem
import com.github.kittinunf.reactiveandroid.Action
import com.github.kittinunf.reactiveandroid.rx.addTo
import com.github.kittinunf.reactiveandroid.rx.bindTo
import rx.Subscription
import rx.subscriptions.CompositeSubscription
fun MenuItem... | 0 | Kotlin | 0 | 0 | c9a90e31736f3c3a992e48d8a76c9e40c76f767f | 614 | ReactiveAndroid | MIT License |
vgsshow/src/main/java/com/verygoodsecurity/vgsshow/core/network/model/VGSRequest.kt | verygoodsecurity | 306,635,386 | false | {"Kotlin": 262124} | package com.verygoodsecurity.vgsshow.core.network.model
import com.verygoodsecurity.vgsshow.core.network.client.VGSHttpBodyFormat
import com.verygoodsecurity.vgsshow.core.network.client.VGSHttpMethod
import com.verygoodsecurity.vgsshow.core.network.model.data.request.JsonRequestData
import com.verygoodsecurity.vgsshow... | 5 | Kotlin | 8 | 8 | e1496feaf2a6f552fcbd55de947958f1164b15cc | 3,608 | vgs-show-android | MIT License |
core/main/kotlin/me/kgustave/dkt/core/internal/websocket/CloseCancellationException.kt | Shengaero | 151,363,236 | false | null | /*
* Copyright 2018 <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... | 1 | Kotlin | 0 | 10 | 745f72c59ed8e331975f0f62057f8f09fb9722fc | 957 | discord.kt | Apache License 2.0 |
screens/location-weather/screen/implementation/src/main/kotlin/aa/weather/screens/weather/kernel/PluginManager.kt | marwinxxii | 608,084,351 | false | null | package aa.weather.screens.weather.kernel
import aa.weather.screens.location.plugin.api.PluginRenderer
import aa.weather.screens.location.plugin.api.PluginUIStateProvider
import aa.weather.screens.location.plugin.api.UIModel
internal interface PluginManager {
val stateProviders: List<Pair<PluginKey, PluginUIState... | 0 | Kotlin | 0 | 0 | 9d056070987da45ca1bf496f98ca54c8c5cfef97 | 445 | weather-app | Apache License 2.0 |
src/main/kotlin/com/foxentry/foxentrysdk/models/Error400RequestBodyNotJson.kt | Foxentry | 830,077,226 | false | {"Kotlin": 442689} | /**
* Foxentry API reference
*
* The version of the OpenAPI document: 2.0 Contact: <EMAIL>
*
* NOTE: This file is auto generated. Do not edit the file manually.
*/
package com.foxentry.foxentrysdk.models
import com.fasterxml.jackson.annotation.JsonValue
import com.fasterxml.jackson.databind.annotation.JsonDeseri... | 0 | Kotlin | 0 | 0 | 8b215f6df68bd39c86ca0d44689e55704cc39457 | 2,197 | kotlin-sdk | MIT License |
src/main/kotlin/viewmodel/MainScreenViewModel.kt | spbu-coding-2023 | 790,907,560 | false | {"Kotlin": 24284} | package viewmodel
import androidx.compose.ui.graphics.Color
import layouts.YifanHuPlacementStrategy
import graphs.primitives.Graph
import viewmodel.graph.GraphViewModel
class MainScreenViewModel<V, E>(var graph: Graph<V, E>) {
private val representationStrategy = YifanHuPlacementStrategy()
var graphViewModel ... | 6 | Kotlin | 0 | 1 | f05c7c519c736f46d9e16e90487eb445e8d09d90 | 938 | graphs-graph-10 | MIT License |
forge/src/main/kotlin/game/LuckyBlockItem.kt | alexsocha | 181,845,813 | false | {"Kotlin": 432247, "Dockerfile": 861, "JavaScript": 402, "Shell": 114} | package mod.lucky.forge.game
import mod.lucky.forge.*
import mod.lucky.java.game.LuckyItemValues
import net.minecraft.core.NonNullList
import net.minecraft.world.item.BlockItem
import net.minecraft.world.item.CreativeModeTab
import net.minecraft.world.item.TooltipFlag
class LuckyBlockItem(block: MCBlock) : BlockItem(... | 23 | Kotlin | 19 | 32 | 173133a6933c6a57aacf6426d148cf133e14a5ac | 562 | luckyblock | FSF All Permissive License |
module_bookshelf/src/main/kotlin/com/crow/module_bookshelf/ui/adapter/BookshelfComicRvAdapter.kt | CrowForKotlin | 610,636,509 | false | null | package com.crow.module_bookshelf.ui.adapter
import android.graphics.drawable.Drawable
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.core.view.isInvisible
import androidx.core.view.isVisible
import androidx.paging.PagingDataAdapter
import androidx.recyclerview.widget.DiffUtil
import ... | 8 | null | 5 | 76 | 3b64f3bc7ef0f8014e9311f1c69515ecba83ebfc | 4,015 | CopyMangaX | Apache License 2.0 |
src/main/kotlin/ru/yoomoney/tech/grafana/dsl/metrics/MetricsBuilder.kt | yoomoney | 158,901,967 | false | null | package ru.yoomoney.tech.grafana.dsl.metrics
import ru.yoomoney.tech.grafana.dsl.DashboardElement
import ru.yoomoney.tech.grafana.dsl.datasource.Datasource
import ru.yoomoney.tech.grafana.dsl.datasource.ZabbixDatasource
import ru.yoomoney.tech.grafana.dsl.metrics.functions.Alias
import ru.yoomoney.tech.grafana.dsl.met... | 2 | null | 8 | 53 | 58ab4e2e70e544c4160b97b4dc64e73235a4bd00 | 2,283 | grafana-dashboard-dsl | MIT License |
app/src/main/java/Screen/HomeWorks.kt | LaithAltawil | 832,563,925 | false | {"Kotlin": 88189} | package Screen
import Screen.commons.mainmenuitems
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import... | 0 | Kotlin | 0 | 1 | fd423ce75ddb40875b231bc1b65e652c1554ef74 | 5,046 | SchoolAppUI | MIT License |
src/main/kotlin/com/github/kory33/kalgebra/structures/instances/monoid/StringMonoid.kt | kory33 | 135,460,140 | false | null | package com.github.kory33.kalgebra.structures.instances.monoid
import com.github.kory33.kalgebra.operations.MonoidOperation
import com.github.kory33.kalgebra.structures.Monoid
import com.github.kory33.kalgebra.structures.ProductComposable
class StringMonoid(value: String): Monoid<String, StringMonoid>(value), Product... | 0 | Kotlin | 0 | 2 | ae2420a27ef848c13fd5728d6c5cfeae3901f905 | 604 | Kalgebra | MIT License |
plugins/github/src/org/jetbrains/plugins/github/GithubShareAction.kt | JetBrains | 2,489,216 | 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.github
import com.intellij.ide.impl.isTrusted
import com.intellij.openapi.actionSystem.ActionUpdateThread
import com.intellij.openapi.actionSystem.AnActionEvent
import... | 284 | null | 5162 | 16,707 | def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0 | 1,070 | intellij-community | Apache License 2.0 |
sphinx/application/network/concepts/queries/concept-network-query-lightning/src/main/java/chat/sphinx/concept_network_query_lightning/NetworkQueryLightning.kt | kevkevinpal | 385,406,512 | true | {"Kotlin": 1368824, "Java": 357402, "JavaScript": 4745, "Shell": 2453} | package chat.sphinx.concept_network_query_lightning
import chat.sphinx.concept_network_query_lightning.model.balance.BalanceAllDto
import chat.sphinx.concept_network_query_lightning.model.balance.BalanceDto
import chat.sphinx.concept_network_query_lightning.model.channel.ChannelsDto
import chat.sphinx.concept_network_... | 0 | null | 0 | 0 | 5a5f316654ada1171270e28bf4d72d96182afd80 | 2,774 | sphinx-kotlin | MIT License |
app/src/main/java/de/hsaugsburg/teamulster/sohappy/viewmodel/SettingsViewModel.kt | teamulster | 289,924,548 | false | null | package de.hsaugsburg.teamulster.sohappy.viewmodel
import android.app.Application
import androidx.lifecycle.AndroidViewModel
import de.hsaugsburg.teamulster.sohappy.config.ConfigManager
import de.hsaugsburg.teamulster.sohappy.config.SettingsConfig
import kotlin.properties.Delegates.observable
/**
* SettingsViewModel... | 0 | Kotlin | 0 | 9 | 0bceb03f47f0d72320de9080ada19bc7473795c7 | 1,203 | soHappy | MIT License |
android-common/src/main/java/com/caldremch/common/widget/status/IStatusView.kt | android-module | 424,496,469 | false | {"Kotlin": 76902, "Java": 16616, "Shell": 514} | package com.caldremch.common.widget.status
import android.view.View
/**
* @author Caldremch
* @describe
*/
interface IStatusView {
/**
* 初始化ErrorView的实现
*
* @return
*/
fun initErrorViewImpl(): View? {
return null
}
/**
* 初始化LoadingView的实现
*
* @return
... | 0 | Kotlin | 0 | 0 | 85037eb69d234970cd73cd44e91fb17403fe2700 | 860 | android-common | Apache License 2.0 |
src/main/kotlin/icu/windea/pls/ep/config/CwtOverriddenConfigProvider.kt | DragonKnightOfBreeze | 328,104,626 | false | null | package icu.windea.pls.ep.config
import com.intellij.openapi.extensions.*
import com.intellij.psi.*
import icu.windea.pls.*
import icu.windea.pls.config.config.*
import icu.windea.pls.config.expression.*
import icu.windea.pls.core.*
import icu.windea.pls.lang.*
import icu.windea.pls.core.annotations.*
import icu.winde... | 5 | null | 5 | 41 | 99e8660a23f19642c7164c6d6fcafd25b5af40ee | 1,804 | Paradox-Language-Support | MIT License |
app/src/main/java/com/example/ps_raccoon_andre_fortes/ToDoAdapter.kt | andrenfortes | 388,199,833 | false | {"Kotlin": 7089} | package com.example.ps_raccoon_andre_fortes
import android.content.Context
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.BaseAdapter
import android.widget.CheckBox
import android.widget.ImageButton
import android.widget.TextView
class ToDoAdapter(conte... | 0 | Kotlin | 0 | 0 | 54ea18b820fdd409a1b1b72532e9649beee51ec2 | 2,022 | to_do_list_app | MIT License |
libraries/stdlib/test/exceptions/ExceptionTest.kt | JetBrains | 3,432,266 | 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 test.exceptions
import test.supportsSuppressedExceptions
import kotlin.test.*
@Suppress("Reformat") ... | 181 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 6,845 | kotlin | Apache License 2.0 |
akka-benchmark/src/main/kotlin/io/sarl/akka/sample/Printer.kt | alexandrelombard | 158,681,229 | false | null | package io.sarl.akka.sample
import akka.actor.AbstractActor
import akka.actor.Props
import akka.event.Logging
import akka.event.LoggingAdapter
import akka.japi.Creator
//#printer-messages
class Printer : AbstractActor() {
//#printer-messages
private val log = Logging.getLogger(context.system, this)
//#p... | 2 | Kotlin | 0 | 0 | d0ba4b1977e020379d91b0ffd5f7e5de798ae072 | 753 | akka-sre | Apache License 2.0 |
dsl/src/main/kotlin/io/cloudshiftdev/awscdkdsl/services/stepfunctions/tasks/EmrCreateClusterOnDemandProvisioningSpecificationPropertyDsl.kt | cloudshiftinc | 667,063,030 | false | {"Kotlin": 70198112} | @file:Suppress(
"RedundantVisibilityModifier",
"RedundantUnitReturnType",
"RemoveRedundantQualifierName",
"unused",
"UnusedImport",
"ClassName",
"REDUNDANT_PROJECTION",
"DEPRECATION"
)
package io.cloudshiftdev.awscdkdsl.services.stepfunctions.tasks
import io.cloudshiftdev.awscdkdsl.com... | 0 | Kotlin | 0 | 3 | 256ad92aebe2bcf9a4160089a02c76809dbbedba | 2,902 | awscdk-dsl-kotlin | Apache License 2.0 |
embrace-android-features/src/main/kotlin/io/embrace/android/embracesdk/internal/anr/ndk/EmbraceNativeThreadSamplerService.kt | embrace-io | 704,537,857 | false | null | package io.embrace.android.embracesdk.internal.anr.ndk
import io.embrace.android.embracesdk.internal.DeviceArchitecture
import io.embrace.android.embracesdk.internal.SharedObjectLoader
import io.embrace.android.embracesdk.internal.anr.mapThreadState
import io.embrace.android.embracesdk.internal.config.ConfigService
im... | 29 | null | 8 | 134 | 06fb424ba2746c22e8e47e549a9f00ae8f85d72d | 7,430 | embrace-android-sdk | Apache License 2.0 |
app/src/main/java/com/example/demoapp/utils/ErrorUtils.kt | alinbabu2010 | 338,063,365 | false | null | package com.example.demoapp.utils
import com.example.demoapp.api.RetrofitManager
import com.example.demoapp.models.APIError
import okhttp3.ResponseBody
import retrofit2.Converter
import retrofit2.Response
import java.io.IOException
/**
* Utility class for parsing error response
*/
class ErrorUtils {
/**
... | 0 | Kotlin | 1 | 1 | 23766560e733b9ff7d19eb7e2b6764deeb8ce9bb | 893 | BitNews | MIT License |
PixabayApp/app/src/main/java/br/com/pixabayapp/AppApplication.kt | gitdaniellopes | 515,614,285 | false | null | package br.com.pixabayapp
import android.app.Application
import dagger.hilt.android.HiltAndroidApp
@HiltAndroidApp
class AppApplication : Application() | 0 | Kotlin | 0 | 0 | 2845c1248de836f88b234886cdd183bac68b3281 | 153 | pixabay-app | MIT License |
app/src/main/java/org/fossasia/openevent/general/order/OrderDetailsViewModel.kt | Kapil706 | 172,433,206 | false | null | package org.fossasia.openevent.general.order
import android.arch.lifecycle.MutableLiveData
import android.arch.lifecycle.ViewModel
import io.reactivex.android.schedulers.AndroidSchedulers
import io.reactivex.disposables.CompositeDisposable
import io.reactivex.schedulers.Schedulers
import org.fossasia.openevent.general... | 0 | null | 1 | 1 | e3bf6da900f3715759cd5a4d172ed198a4dd207d | 2,274 | open-event-android | Apache License 2.0 |
app/src/main/java/org/fossasia/openevent/general/utils/Utils.kt | G-LOKi | 172,433,206 | true | {"Kotlin": 342899, "Java": 3836, "Shell": 3765} | package org.fossasia.openevent.general.utils
import android.app.AlertDialog
import android.app.ProgressDialog
import android.content.Context
import android.graphics.BitmapFactory
import android.net.ConnectivityManager
import android.net.Uri
import android.view.View
import android.view.animation.AnimationUtils
import a... | 0 | Kotlin | 0 | 1 | 18583f39c231a5f7e77417adb0024f4b0cf61aac | 5,511 | open-event-android | Apache License 2.0 |
app/src/main/java/com/strongr/main/MainApp.kt | kryanbeane | 564,696,768 | false | null | package com.strongr.main
import android.app.Application
import android.util.Log
import com.strongr.models.exercise.ExerciseFireStore
import com.strongr.models.trainee.TraineeFireStore
import com.strongr.models.trainee.TraineeModel
import com.strongr.models.workout.WorkoutFireStore
class MainApp: Application() {
p... | 2 | Kotlin | 0 | 0 | d29d5855ccb406723a45457b6027ca914731ba0c | 667 | strongr | Apache License 2.0 |
mall-service/mall-product/src/main/kotlin/com/github/product/dao/CategoryDao.kt | andochiwa | 409,491,115 | false | {"Kotlin": 5143282, "Java": 228835, "TSQL": 18775, "Dockerfile": 134} | package com.github.product.dao
import com.github.product.entity.Category
import kotlinx.coroutines.flow.Flow
import org.springframework.data.r2dbc.repository.Modifying
import org.springframework.data.r2dbc.repository.Query
import org.springframework.data.repository.kotlin.CoroutineCrudRepository
/**
*
* @author And... | 0 | Kotlin | 1 | 2 | 5685d6749a924dddd79d7f06e222b425190c7168 | 1,013 | Webflux-Mall-Back | MIT License |
android/src/main/kotlin/com/javih/add_2_calendar/Add2CalendarPlugin.kt | ja2375 | 155,364,892 | false | null | package com.javih.add_2_calendar
import android.app.Activity
import android.content.Context
import android.content.Intent
import android.content.pm.PackageManager
import android.provider.CalendarContract
import androidx.annotation.NonNull
import io.flutter.embedding.engine.plugins.FlutterPlugin
import io.flutter.embed... | 8 | Dart | 89 | 93 | 314b15d761e87c4a3bb11d9d693a57157e8c71f9 | 5,519 | add_2_calendar | MIT License |
goblin-dao-mongo/src/main/java/org/goblinframework/dao/mongo/module/test/DropDatabaseBeforeTestMethod.kt | xiaohaiz | 206,246,434 | false | null | package org.goblinframework.dao.mongo.module.test
import com.mongodb.reactivestreams.client.Success
import org.goblinframework.api.annotation.Singleton
import org.goblinframework.api.test.TestContext
import org.goblinframework.api.test.TestExecutionListener
import org.goblinframework.core.reactor.BlockingListSubscribe... | 0 | null | 6 | 9 | b1db234912ceb23bdd81ac66a3bf61933b717d0b | 2,400 | goblinframework | Apache License 2.0 |
src/main/kotlin/no/nav/syfo/sykmelding/service/MottattSykmeldingConsumerService.kt | navikt | 147,519,013 | false | {"Kotlin": 512874, "Dockerfile": 277} | package no.nav.syfo.sykmelding.service
import com.fasterxml.jackson.module.kotlin.readValue
import kotlinx.coroutines.delay
import no.nav.syfo.Environment
import no.nav.syfo.LoggingMeta
import no.nav.syfo.application.ApplicationState
import no.nav.syfo.model.ReceivedSykmelding
import no.nav.syfo.objectMapper
import or... | 1 | Kotlin | 2 | 0 | c13ccee6e31a2327bd26ca46c33b66e96e5755a7 | 1,730 | syfosmregister | MIT License |
tests/integration-tests/src/test/kotlin/steps/multitenancy/WalletsSteps.kt | hyperledger | 512,835,706 | false | null | package features.multitenancy
import common.TestConstants
import interactions.Get
import interactions.Post
import io.cucumber.java.en.Given
import io.cucumber.java.en.Then
import io.cucumber.java.en.When
import io.iohk.atala.automation.extensions.get
import io.iohk.atala.automation.serenity.ensure.Ensure
import io.ioh... | 42 | null | 22 | 80 | c5071d5707e8c79b450f82c0c891f77d2eb26b95 | 5,659 | identus-cloud-agent | Apache License 2.0 |
gradle/gradle-idea/test/org/jetbrains/kotlin/idea/codeInsight/gradle/NativeRunConfigurationTest.kt | JetBrains | 278,369,660 | false | null | /*
* Copyright 2010-2020 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.codeInsight.gradle
import com.intellij.codeInsight.daemon.LineMarkerInfo
im... | 1 | null | 30 | 82 | cc81d7505bc3e9ad503d706998ae8026c067e838 | 2,570 | intellij-kotlin | Apache License 2.0 |
LiveDataDataBinding/app/src/main/java/com/keepseung/livedatadatabinding/MainActivity.kt | keepseung | 282,581,869 | false | null | package com.keepseung.livedatadatabinding
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import androidx.databinding.DataBindingUtil
import androidx.lifecycle.ViewModelProvider
import com.keepseung.livedatadatabinding.databinding.ActivityMainBinding
class MainActivity : AppCompatActivity() {... | 0 | Kotlin | 15 | 12 | 4fee942fcd44ec5816fe6eecfb633421adaa37b3 | 911 | Android-Blog-Source | MIT License |
app/src/main/java/changhwan/experiment/sopthomework/data/remote/model/request/RequestSignUpData.kt | 29th-WE-SOPT-Android-Part | 413,076,866 | false | null | package changhwan.experiment.sopthomework.data.remote.model.request
data class RequestSignUpData(
val email : String,
val name : String,
val password : String
)
| 0 | Kotlin | 0 | 1 | e9929a84a4bd840a013b2e11139d55b6b77475b7 | 174 | Android-Changhwan | Apache License 2.0 |
src/main/kotlin/org/opensearch/replication/task/index/IndexReplicationState.kt | opensearch-project | 323,830,219 | false | null | /*
* SPDX-License-Identifier: Apache-2.0
*
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
*
* Modifications Copyright OpenSearch Contributors. See
* GitHub history for details.
*/
package org.opensearch.re... | 87 | null | 58 | 48 | 0cc41c620b96a4798adbe2237e48b67269e3e509 | 6,055 | cross-cluster-replication | Apache License 2.0 |
fabric/1.20.4/src/main/kotlin/com/turikhay/mc/pwam/fabric/platform/EmojiFlag.kt | turikhay | 786,989,595 | false | {"Kotlin": 74167, "Java": 16135} | package com.turikhay.mc.pwam.fabric.platform
const val SUPPORTS_EMOJI = false | 3 | Kotlin | 0 | 0 | a0765da1806def2900f459bfcea94e654f2e5032 | 78 | passwordmanager-for-authme | MIT License |
app/src/main/java/com/br/presentation/ui/views/SelectDropDownMenu.kt | DaniilIgorevich | 505,218,802 | false | null | package com.br.presentation.ui.views
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Box
import androidx.compose.material.DropdownMenu
import androidx.compose.material.DropdownMenuItem
import androidx.compose.material.Text
import androidx.compose.runtime.*
import androidx.compose... | 0 | Kotlin | 0 | 0 | f4cddc584c6de46b454eb5b8c7090bb6a69e7283 | 1,362 | Presentation | Apache License 2.0 |
app/src/main/java/com/example/fooddelivery/presentation/intro/IntroActivity.kt | spencer2k19 | 720,201,452 | false | {"Kotlin": 305089} | package com.example.fooddelivery.presentation.intro
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import androidx.lifecycle.lifecycleScope
import com.example.fooddelivery.R
import com.example.fooddelivery.common.PrefSingleton
import com.example.fooddelivery.pres... | 0 | Kotlin | 0 | 2 | 7be246eba97aa90740952a8bd85dbeb3229c826b | 1,093 | Food-Delivery-Android | MIT License |
src/models/table/Questionnaires.kt | alxgrk | 157,362,886 | false | null | package models.table
import org.jetbrains.exposed.dao.IntIdTable
object Questionnaires : IntIdTable() {
val name = varchar("name", 255)
val state = enumeration("questionnaireState", QuestionnaireState::class)
// wohnflaeche
val breite = decimal("breite", 19, 5).nullable()
val laenge = decimal("la... | 1 | Kotlin | 0 | 0 | 19ac9d8cf062b36309233bed46cf34c8d31bcb38 | 2,933 | hausbewerter-server | Apache License 2.0 |
src/main/kotlin/cc/rits/membership/console/paymaster/infrastructure/api/response/ErrorResponse.kt | membership-console | 558,499,219 | false | null | package cc.rits.membership.console.paymaster.infrastructure.api.response
import io.micronaut.core.annotation.Introspected
/**
* エラーレスポンス
*/
@Introspected
data class ErrorResponse(val code: Int, val message: String)
| 5 | Kotlin | 0 | 3 | 612d59a4419e09ff0e20dbdea0aa1114fb12507f | 219 | paymaster | MIT License |
app/src/androidTest/java/net/oleg/fd/room/AppDatabaseTest.kt | olegnet | 495,531,574 | false | {"Kotlin": 169402, "Prolog": 62} | /*
* Copyright 2022-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 ... | 0 | Kotlin | 0 | 0 | fd429134fb7196bc10b03e8d5442dbde1dcdbaba | 5,172 | food-diary-android | Apache License 2.0 |
app/src/main/java/com/vrudenko/telephonyserver/data/database/AppDatabase.kt | iamworkingasrudenko | 560,806,639 | false | null | package com.vrudenko.telephonyserver.data.database
import androidx.room.Database
import androidx.room.RoomDatabase
import androidx.room.TypeConverters
import com.vrudenko.telephonyserver.data.database.call.CallDao
import com.vrudenko.telephonyserver.data.database.call.DBCall
import com.vrudenko.telephonyserver.data.da... | 0 | Kotlin | 0 | 0 | 787d7995e40ecb530794a004000f2624dec35e15 | 701 | telephony-server | Apache License 2.0 |
app/src/main/java/com/razeware/emitron/ui/download/DownloadViewModel.kt | razeware | 192,712,585 | false | null | package com.razeware.emitron.ui.download
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.razeware.emitron.data.download.DownloadRepository
import com.razeware.emitron.model.DownloadProgress
import com.razeware.emitron.ui.content.ContentPagedViewModel
import com.razeware.emitron.... | 30 | Kotlin | 31 | 53 | 4dcb00f09eee2ae1ff0a6c9c2e2dd141227b51c4 | 1,771 | emitron-Android | Apache License 2.0 |
plugin/project-plugin/src/main/kotlin/plugin/RootProjectTasks.kt | top-bettercode | 387,652,015 | false | null | package plugin
import hudson.cli.CLI
import org.gradle.api.Project
import top.bettercode.gradle.generator.GeneratorPlugin
import java.io.File
/**
*
* @author Peter Wu
*/
object RootProjectTasks {
fun config(project: Project) {
project.tasks.apply {
val jenkinsJobs = project.findProperty("... | 0 | Kotlin | 0 | 1 | 06bc1af2c336a85338f944c969e3be8d55efc387 | 4,010 | summer | Apache License 2.0 |
android/src/main/java/com/haeyum/android/presentation/translation/TranslationScreenState.kt | kisa002 | 584,385,916 | false | {"Kotlin": 178872} | package com.haeyum.android.presentation.translation
sealed class TranslationScreenState {
object Translating : TranslationScreenState()
data class Translated(val originalText: String, val translatedText: String) : TranslationScreenState()
object DisconnectedNetwork : TranslationScreenState()
object Fai... | 1 | Kotlin | 2 | 48 | c57d5e8ca2dadbf35a565726d01cd04e7ede7105 | 361 | Transer | MIT License |
app/src/main/java/com/eatssu/android/ui/mypage/inquire/InquiryActivity.kt | EAT-SSU | 601,871,281 | false | {"Kotlin": 242939} | package com.eatssu.android.ui.mypage.inquire
import android.os.Bundle
import android.text.Editable
import android.text.TextWatcher
import androidx.activity.viewModels
import androidx.lifecycle.lifecycleScope
import com.eatssu.android.base.BaseActivity
import com.eatssu.android.databinding.ActivityInquireBinding
import... | 26 | Kotlin | 0 | 8 | bf33fd4e0f357a60aa4b0dbad983f7137357d80a | 3,131 | Android | MIT License |
components/src/androidTest/java/emperorfin/android/components/ui/screens/authentication/AuthenticationScreenTest5.kt | emperorfin | 611,222,954 | false | null | /**
* Copyright 2023 Francis Nwokelo (emperorfin)
*
* 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 | 28 | e0d9ad8b2b0fc13087d602b88b0c64cf6dddb3c2 | 106,132 | MilitaryJet | Apache License 2.0 |
app/src/main/java/com/example/composedemo/ui/activity/bottombar/BottombarDemActivity.kt | keyur-n | 565,866,258 | false | null | package com.example.composedemo.ui.activity.bottombar
import android.content.Context
import android.content.Intent
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.material.Scaffold
import androidx.compose.runtime.Composable
import ... | 0 | Kotlin | 0 | 0 | d3e749e8ffb1daf9e2378736ae5411208b4e9458 | 1,185 | compose-demo | Apache License 2.0 |
noria-jvm/src/main/kotlin/noria/utils/Queue.kt | y2k | 136,721,211 | true | {"Kotlin": 104868, "Java": 1211, "HTML": 423} | package noria.utils
import java.util.concurrent.*
import java.util.concurrent.atomic.*
private val callback : AtomicReference<(() -> Unit)?> = AtomicReference(null)
private val pool = Executors.newSingleThreadExecutor() {
Executors.defaultThreadFactory().newThread(it).apply {
name = "Noria-Reconciler"
... | 0 | Kotlin | 0 | 2 | ef6d146126aa301d8828e61c0eab544770ed80ad | 543 | noria-kt | Apache License 2.0 |
increase-java-core/src/main/kotlin/com/increase/api/services/async/simulations/RealTimePaymentsTransferServiceAsync.kt | Increase | 614,596,462 | false | null | @file:Suppress("OVERLOADS_INTERFACE") // See https://youtrack.jetbrains.com/issue/KT-36102
package com.increase.api.services.async.simulations
import com.increase.api.core.RequestOptions
import com.increase.api.models.InboundRealTimePaymentsTransferSimulationResult
import com.increase.api.models.RealTimePaymentsTrans... | 1 | null | 0 | 2 | ee89d5acc6e3b3f5b5a0c9750000c1f8d2b717eb | 1,416 | increase-java | Apache License 2.0 |
smithy-swift-codegen/src/main/kotlin/software/amazon/smithy/swift/codegen/integration/httpResponse/HttpResponseBindingErrorNarrowGenerator.kt | awslabs | 242,852,561 | false | null | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
package software.amazon.smithy.swift.codegen.integration.httpResponse
import software.amazon.smithy.aws.traits.protocols.AwsQueryErrorTrait
import software.amazon.smithy.codegen.core.Symbol
import soft... | 16 | Kotlin | 16 | 20 | 7b28da158d92cd06a3549140d43b8fbcf64a94a6 | 3,936 | smithy-swift | Apache License 2.0 |
Chapter12/Activity12.01/app/src/main/java/com/packt/android/storage/repository/Result.kt | PacktPublishing | 810,886,298 | false | {"Kotlin": 1028530} | package com.packt.android.storage.repository
sealed class Result<T> {
class Loading<T> : Result<T>()
data class Success<T>(val data: T) : Result<T>()
class Error<T> : Result<T>()
} | 0 | Kotlin | 3 | 2 | 7200427e273b8d0ef7c27991370f7541ae0f6a86 | 194 | How-to-Build-Android-Apps-with-Kotlin-Third-Edition | MIT License |
Chapter12/Activity12.01/app/src/main/java/com/packt/android/storage/repository/Result.kt | PacktPublishing | 810,886,298 | false | {"Kotlin": 1028530} | package com.packt.android.storage.repository
sealed class Result<T> {
class Loading<T> : Result<T>()
data class Success<T>(val data: T) : Result<T>()
class Error<T> : Result<T>()
} | 0 | Kotlin | 3 | 2 | 7200427e273b8d0ef7c27991370f7541ae0f6a86 | 194 | How-to-Build-Android-Apps-with-Kotlin-Third-Edition | MIT License |
app/src/main/java/com/guru/composecookbook/ui/learnwidgets/UICards.kt | Gurupreet | 293,227,683 | false | {"Kotlin": 528795} | package com.guru.composecookbook.ui.learnwidgets
import androidx.compose.foundation.Image
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.compose.found... | 13 | Kotlin | 774 | 6,057 | 1b82b0b990648b2ece5c890fef622d9bdb00e4d8 | 4,278 | ComposeCookBook | MIT License |
server/src/main/kotlin/fi/vauhtijuoksu/vauhtijuoksuapi/server/impl/players/GetPlayersRouter.kt | Vauhtijuoksu | 394,707,727 | false | {"Kotlin": 389348, "Smarty": 2566, "Dockerfile": 172, "Shell": 106} | package fi.vauhtijuoksu.vauhtijuoksuapi.server.impl.players
import fi.vauhtijuoksu.vauhtijuoksuapi.database.api.VauhtijuoksuDatabase
import fi.vauhtijuoksu.vauhtijuoksuapi.models.Participant
import fi.vauhtijuoksu.vauhtijuoksuapi.server.DependencyInjectionConstants
import fi.vauhtijuoksu.vauhtijuoksuapi.server.impl.ba... | 11 | Kotlin | 0 | 3 | 99b374a55d914f1ef7b01add4a3dbaaa93f26fdd | 812 | vauhtijuoksu-api | MIT License |
src/main/java/com/micabytes/util/FontHandler.kt | micabytes | 8,377,248 | false | {"Gradle Kotlin DSL": 1, "Proguard": 1, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "XML": 12, "Kotlin": 35, "Java": 1} | package com.micabytes.util
import android.graphics.Typeface
import com.micabytes.Game
import java.util.*
object FontHandler {
private const val FONT_DIR = "fonts"
private val CACHE = HashMap<String, Typeface>()
operator fun get(fontName: String): Typeface? {
return if (CACHE.containsKey(fontName)) {
... | 0 | Kotlin | 11 | 21 | b6db6995555b93af0f8d4e955b55dfa285efd606 | 806 | mica-android | Apache License 2.0 |
KotlinMVP/app/src/main/java/com/emedinaa/mvp/presenter/LogInPresenter.kt | emedinaa | 178,754,256 | false | null | package com.emedinaa.mvp.presenter
import com.emedinaa.mvp.data.LogInRepository
import com.emedinaa.mvp.data.OperationCallback
import com.emedinaa.mvp.model.User
import com.emedinaa.mvp.view.LogInContract
class LogInPresenter(val view:LogInContract.View,val repository:LogInRepository):LogInContract.Presenter{
in... | 0 | Kotlin | 3 | 8 | cdeb2880a1d5f2b481fb3687bf917b1555e020af | 1,266 | kotlin-mvp-volley | Apache License 2.0 |
app/src/main/kotlin/no/nav/tiltakspenger/vedtak/repository/behandling/PostgresBehandlingRepo.kt | navikt | 487,246,438 | false | {"Kotlin": 944586, "Dockerfile": 495, "Shell": 150, "HTML": 45} | package no.nav.tiltakspenger.vedtak.repository.behandling
import kotliquery.Row
import kotliquery.TransactionalSession
import kotliquery.queryOf
import kotliquery.sessionOf
import mu.KotlinLogging
import no.nav.tiltakspenger.domene.behandling.BehandlingIverksatt
import no.nav.tiltakspenger.domene.behandling.Behandling... | 7 | Kotlin | 0 | 2 | dde1b0532caed17b6bad77e1de4917f829adea1c | 12,546 | tiltakspenger-vedtak | MIT License |
compiler/testData/codegen/boxInline/smap/defaultLambda/kt21827.kt | JakeWharton | 99,388,807 | false | null | // FILE: 1.kt
// SKIP_INLINE_CHECK_IN: lParams$default
package test
//A lot of blank lines [Don't delete]
//A lot of blank lines [Don't delete]
//A lot of blank lines [Don't delete]
//A lot of blank lines [Don't delete]
//A lot of blank lines [Don't delete]
//A lot of blank lines [Don't delete]
//A lot of blank lines ... | 0 | null | 28 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 1,673 | kotlin | Apache License 2.0 |
feature_tests/kotlin/somelib/src/main/kotlin/dev/diplomattest/somelib/BorrowedFieldsWithBounds.kt | rust-diplomat | 377,296,713 | false | null | package dev.diplomattest.somelib
import com.sun.jna.Library
import com.sun.jna.Native
import com.sun.jna.Pointer
import com.sun.jna.Structure
internal interface BorrowedFieldsWithBoundsLib: Library {
fun BorrowedFieldsWithBounds_from_foo_and_strings(foo: Pointer, dstr16X: Slice, utf8StrZ: Slice): BorrowedFieldsWi... | 99 | null | 48 | 526 | 808d18ae8a1e687e0ccaa41c74ea626157f88826 | 2,267 | diplomat | Apache License 2.0 |
app/src/main/java/com/example/rental_mobil/Pelanggan/AboutActivity.kt | mrAldirs | 691,938,449 | false | {"Kotlin": 333860} | package com.example.rental_mobil.Pelanggan
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.example.rental_mobil.R
import com.example.rental_mobil.databinding.ActivityAboutBinding
class AboutActivity : AppCompatActivity() {
private lateinit var b: ActivityAboutBinding
overr... | 1 | Kotlin | 0 | 2 | 624e82b43797c514a0f424ef025d66c4eab53ee8 | 958 | kotlin-rent-car-app | Apache License 2.0 |
core/src/main/java/com/pouyaheydari/android/core/domain/Album.kt | SirLordPouya | 197,946,685 | false | null | package com.pouyaheydari.android.core.domain
data class AlbumResponse(val albums: List<Album>, val totalResults: Int)
data class Album(
val id: Int?,
val albumName: String,
val artistName: String,
var image: String,
)
| 0 | Kotlin | 5 | 23 | ecb4e7627492ba0eedb5a811e9b753a52a8d110c | 236 | MusicManager | Apache License 2.0 |
app/src/androidTest/java/org/calamarfederal/messyink/feature_counter/presentation/create_counter/CreateCounterScreenTest.kt | John-Tuesday | 632,184,075 | false | null | package org.calamarfederal.messyink.feature_counter.presentation.create_counter
import androidx.compose.runtime.MutableState
import androidx.compose.runtime.collectAsState
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.setValue
import androidx.co... | 0 | Kotlin | 0 | 0 | a3091a59f627a677e2a6254991af15e17c40f7db | 5,054 | messy-ink | MIT License |
educational-core/src/com/jetbrains/edu/learning/taskDescription/ui/check/CheckResultLabel.kt | telezhnaya | 264,863,128 | true | {"Kotlin": 2477547, "Java": 634238, "HTML": 131915, "CSS": 12844, "Python": 3994, "JavaScript": 315} | package com.jetbrains.edu.learning.taskDescription.ui.check
import com.intellij.icons.AllIcons
import com.intellij.ui.JBColor
import com.intellij.ui.components.JBLabel
import com.intellij.util.ui.JBUI
import com.jetbrains.edu.learning.checker.CheckResult
import com.jetbrains.edu.learning.courseFormat.CheckStatus
impor... | 0 | null | 0 | 0 | 9f9492f7505fb86df37c9d582814c075aa3a611d | 1,295 | educational-plugin | Apache License 2.0 |
kMapper-core/src/commonMain/kotlin/de/kotlinBerlin/kMapper/extensions/ReadWritePathConversionExtensions.kt | KotlinBerlin | 287,190,313 | false | null | @file:Suppress("unused")
@file:JvmName("ReadWritePathConversionUtil")
package de.kotlinBerlin.kMapper.extensions
import de.kotlinBerlin.kMapper.ReadWritePath
import de.kotlinBerlin.kMapper.toReadWritePath
import kotlin.jvm.JvmName
import kotlin.reflect.KMutableProperty1
//Not Null
//Path
fun <S, V : Any, V1 : Any>... | 1 | null | 1 | 1 | 65d68719bff59f3316fe378f5585445bf22aa2bc | 14,735 | kMapper | Apache License 2.0 |
app/src/main/java/com/programmer2704/stoxxwatch/data/DatabaseManager.kt | prgrm274 | 378,989,070 | false | null | package com.programmer2704.stoxxwatch.data
import io.objectbox.BoxStore
interface DatabaseManager {
fun setupCompanyList()
fun boxStore(): BoxStore
} | 0 | Kotlin | 0 | 0 | 29b9e5a325eed42f34e6ac27d2b1a007c060ab07 | 160 | stoxxwatch | MIT License |
plugins/groovy/groovy-psi/src/org/jetbrains/plugins/groovy/util/functions.kt | ingokegel | 72,937,917 | false | null | // Copyright 2000-2018 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.groovy.util
import java.util.function.Consumer
import com.intellij.util.Consumer as JBConsumer
fun <T> JBConsumer<T>.consumeAll(items: Iterable<T>)... | 1 | null | 1 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 542 | intellij-community | Apache License 2.0 |
app/src/main/java/tool/xfy9326/milink/nfc/ui/screen/NdefReaderScreen.kt | XFY9326 | 724,531,401 | false | {"Kotlin": 317072} | package tool.xfy9326.milink.nfc.ui.screen
import androidx.annotation.StringRes
import androidx.compose.animation.AnimatedVisibility
import androidx.compose.animation.Crossfade
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.C... | 0 | Kotlin | 7 | 161 | d1b8a8b0d95a6a56ca5d427a3f1614fa3e1b34fb | 19,739 | MiLinkNFC | MIT License |
kotlin/app/src/main/java/com/huawei/hms/site/sample/TextSearchActivity.kt | HMS-Core | 239,805,215 | false | null | /*
* Copyright 2020. Huawei Technologies 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 requi... | 1 | null | 13 | 40 | cfba1105c13ec9668e76f5a3fc8dd9085319097c | 8,667 | hms-sitekit-demo | Apache License 2.0 |
plugins/kotlin/project-tests/project-tests-fir/test/org/jetbrains/kotlin/idea/project/tests/fir/perf/FirRustPerformanceTest.kt | JetBrains | 2,489,216 | 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.kotlin.idea.project.tests.fir.perf
import org.jetbrains.kotlin.idea.project.test.base.AbstractProjectBasedTest
import org.jetbrains.kotlin.idea.project.test.base.ActionOnError
... | 236 | null | 4946 | 15,650 | 32f33d7b7126014b860912a5b6088ffc50fc241d | 1,015 | intellij-community | Apache License 2.0 |
libraries/tools/kotlin-gradle-plugin/src/common/kotlin/org/jetbrains/kotlin/gradle/targets/js/nodejs/NodeJsRootExtension.kt | JetBrains | 3,432,266 | false | null | /*
* Copyright 2010-2020 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.gradle.targets.js.nodejs
import org.gradle.api.Project
import org.gradle.api.Tas... | 181 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 6,124 | kotlin | Apache License 2.0 |
src/test/kotlin/dev/shtanko/algorithms/hackerrank/SubarrayDivisionTest.kt | ashtanko | 203,993,092 | false | null | /*
* Copyright 2023 <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... | 4 | null | 0 | 19 | c3eeb85a0de638ec76f4f18f99224c1569661568 | 815 | kotlab | Apache License 2.0 |
src/main/kotlin/no/nav/syfo/clients/KafkaConsumers.kt | navikt | 208,218,158 | false | {"Kotlin": 320509, "Dockerfile": 277} | package no.nav.syfo.clients
import no.nav.syfo.Environment
import no.nav.syfo.kafka.aiven.KafkaUtils
import no.nav.syfo.kafka.toConsumerConfig
import org.apache.kafka.clients.consumer.ConsumerConfig
import org.apache.kafka.clients.consumer.KafkaConsumer
import org.apache.kafka.common.serialization.StringDeserializer
... | 0 | Kotlin | 0 | 0 | cd6eb5e18e9ed116f16c86b8f4ed88820db55f5a | 945 | syfosmmanuell-backend | MIT License |
src/main/kotlin/com/cognifide/gradle/aem/common/instance/check/UnavailableCheck.kt | wttech | 90,353,060 | false | null | package com.cognifide.gradle.aem.common.instance.check
import com.cognifide.gradle.aem.common.instance.LocalInstance
import com.cognifide.gradle.aem.common.instance.local.Status
import java.util.concurrent.TimeUnit
class UnavailableCheck(group: CheckGroup) : DefaultCheck(group) {
/**
* Status of remote inst... | 67 | null | 35 | 158 | 18d6cab33481f8f883c6139267fb059f7f6047ae | 1,669 | gradle-aem-plugin | Apache License 2.0 |
app/src/main/java/com/canopas/yourspace/domain/receiver/BootCompleteReceiver.kt | canopas | 739,382,039 | false | {"Kotlin": 747084, "JavaScript": 11006, "Ruby": 908} | package com.canopas.yourspace.domain.receiver
import android.content.BroadcastReceiver
import android.content.Context
import android.content.Intent
import com.canopas.yourspace.data.repository.GeofenceRepository
import com.canopas.yourspace.data.service.auth.AuthService
import com.canopas.yourspace.data.service.locati... | 2 | Kotlin | 1 | 5 | b6f41483e0f8b6f0ce1cf5c5ef3a205ea89759ba | 1,184 | your-space | Apache License 2.0 |
socialcats-google/feature-flags/src/androidMain/kotlin/FirebaseFeatureFlagProvider.kt | Couchsurfing | 194,353,465 | false | null | package com.nicolasmilliard.socialcats.featureflags
import com.google.firebase.remoteconfig.FirebaseRemoteConfig
import com.google.firebase.remoteconfig.FirebaseRemoteConfigSettings
import kotlinx.coroutines.tasks.await
class FirebaseFeatureFlagProvider(priority: Int, isDevModeEnabled: Boolean) :
FeatureFlagProvi... | 4 | Kotlin | 1 | 3 | ebc38cc10a392d0a5ff0247c15230edc420e3be9 | 1,346 | social-cats-playground | Apache License 2.0 |
src/main/kotlin/gamelogic/Bullet.kt | dutta-anirban | 668,511,859 | false | null | package gamelogic
import com.sun.javafx.geom.Vec2d
private fun getBulletImage(owner: GameObject): String = when (owner) {
is Player -> "images/player_bullet.png"
is Enemy -> {
when(owner.enemyTier) {
0 -> "images/bullet1.png"
1 -> "images/bullet2.png"
2 -> "images/b... | 0 | Kotlin | 0 | 0 | ea4693820dc4db639b15a222ec838ff19ce5fb92 | 945 | space-invaders | Apache License 2.0 |
purlog/src/commonMain/kotlin/core/SdkLogger.kt | metashark-io | 871,823,301 | false | {"Kotlin": 103133} | package com.metashark.purlog.core
import com.metashark.purlog.enums.PurLogEnv
import com.metashark.purlog.enums.PurLogLevel
import com.metashark.purlog.models.PurLogConfig
import com.metashark.purlog.utils.currentTimestamp
import com.metashark.purlog.utils.shouldLog
internal class SdkLogger private constructor() {
... | 0 | Kotlin | 0 | 1 | eafa233e04fd31bc255d89662007f89acf4ff426 | 2,053 | purlog-kotlin-sdk | MIT License |
core/src/main/kotlin/net/corda/core/messaging/flows/FlowManagerRPCOps.kt | corda | 70,137,417 | false | null | package net.corda.core.internal.messaging
import net.corda.core.messaging.RPCOps
/**
* RPC operations to perform operations related to flows including management of associated persistent states like checkpoints.
*/
interface FlowManagerRPCOps : RPCOps {
/**
* Dump all the current flow checkpoints as JSON i... | 62 | null | 1077 | 3,989 | d27aa0e6850d3804d0982024054376d452e7073a | 594 | corda | Apache License 2.0 |
app/src/main/java/com/se7en/screentrack/viewmodels/HomeViewModel.kt | ashar-7 | 279,871,209 | false | null | package com.se7en.screentrack.viewmodels
import androidx.hilt.lifecycle.ViewModelInject
import androidx.lifecycle.*
import com.se7en.screentrack.data.AppUsageManager
import com.se7en.screentrack.models.UsageData
import com.se7en.screentrack.repository.HomeRepository
import kotlinx.coroutines.flow.collect
import kotlin... | 0 | Kotlin | 0 | 12 | 3910707acac6f4e53f32ee086377d27a7a54c8dd | 1,183 | ScreenTrack-Android | The Unlicense |
model/src/main/kotlin/hu/bme/mit/theta/interchange/jani/model/json/JaniJsonMultiOp.kt | ftsrg | 151,930,212 | false | null | /*
* Copyright 2018 Contributors to the Theta 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 applic... | 1 | Kotlin | 0 | 0 | 03b302e905396cd300b7c06d2a214d4dd8f9d0bc | 965 | theta-jani-interchange | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.