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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
core/designsystem/src/test/kotlin/com/merxury/blocker/core/designsystem/CollapsingTopAppBarScreenshotTests.kt | lihenggui | 115,417,337 | false | null | /*
* Copyright 2023 Blocker
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... | 29 | null | 60 | 988 | 9696c391c64d1aa4a74384d22b4433fb7c67c890 | 9,119 | blocker | Apache License 2.0 |
samples/counter/mosaic/src/main/kotlin/com/slack/circuit/sample/counter/mosaic/MosaicCounterCircuit.kt | slackhq | 523,011,227 | false | null | // Copyright (C) 2022 Slack Technologies, LLC
// SPDX-License-Identifier: Apache-2.0
package com.slack.circuit.sample.counter.mosaic
import androidx.compose.runtime.Composable
import androidx.compose.runtime.LaunchedEffect
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
import a... | 22 | Kotlin | 29 | 809 | 9f80a7dd38a6f9354dc378fb094fa6540e025039 | 4,447 | circuit | Apache License 2.0 |
src/commonMain/kotlin/uk/org/jurg/yakl/engine/v2/parser/Production.kt | jurgc11 | 250,645,845 | false | null | /*
* Copyright (c) 2018, http://www.snakeyaml.org
* Copyright (c) 2020, <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unl... | 2 | Kotlin | 0 | 3 | 5677967ab51f4bc6096bd6b953248f389898aa9d | 970 | yakl | Apache License 2.0 |
src/commonMain/kotlin/uk/org/jurg/yakl/engine/v2/parser/Production.kt | jurgc11 | 250,645,845 | false | null | /*
* Copyright (c) 2018, http://www.snakeyaml.org
* Copyright (c) 2020, <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unl... | 2 | Kotlin | 0 | 3 | 5677967ab51f4bc6096bd6b953248f389898aa9d | 970 | yakl | Apache License 2.0 |
ontrack-extension-scm/src/main/java/net/nemerosa/ontrack/extension/scm/service/SCMBranchInfo.kt | nemerosa | 19,351,480 | false | {"Kotlin": 9640276, "JavaScript": 3232252, "Java": 1029918, "HTML": 507415, "Groovy": 372843, "CSS": 137546, "Less": 35335, "Dockerfile": 6298, "Shell": 5086} | package net.nemerosa.ontrack.extension.scm.service
import net.nemerosa.ontrack.model.annotations.APIDescription
/**
* SCM information for a given branch.
*
* @property type SCM type (like git, etc.)
* @property engine SCM engine or flavor (like GitHub, etc.)
* @property uri URI of the repository
* @property bra... | 49 | Kotlin | 26 | 96 | 759f17484c9b507204e5a89524e07df871697e74 | 705 | ontrack | MIT License |
src/main/kotlin/com/kotlindiscord/bot/utils/UserUtils.kt | Kotlin-Discord | 260,512,600 | false | null | package com.kotlindiscord.bot.utils
import com.kotlindiscord.kord.extensions.utils.createdAt
import dev.kord.core.entity.User
import java.time.Instant
import java.time.temporal.ChronoUnit
private const val NEW_DAYS = 3L
/**
* Given a Kord User object, return a string that contains their mention, tag and ID together... | 5 | Kotlin | 2 | 8 | 115cefa7a48e0fc07bca435339ba3669805e0dc0 | 622 | bot | MIT License |
app/src/main/java/com/example/googlemapdirection/screens/authentications/login/loginAuth.kt | tirthsompura | 761,637,288 | false | {"Kotlin": 130833} | package com.example.googlemapdirection.screens.authentications.login
import android.content.ContentValues.TAG
import android.content.Context
import android.util.Log
import com.example.googlemapdirection.response.UserResponse
import com.example.googlemapdirection.utils.FirebaseKeyConstants
import com.example.googlemapd... | 0 | Kotlin | 0 | 1 | 3a4287d4bb3463c30be8febae1ff5a7cedc64c2d | 2,311 | google_map_direction_Compose | MIT License |
mod_user/src/main/java/com/sum/user/dialog/SelectBirthdayDialog.kt | aa845863168 | 783,307,642 | false | {"Kotlin": 705864, "Java": 13836} | package com.sum.user.dialog
import android.view.Gravity
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.fragment.app.FragmentActivity
import com.sum.framework.base.BaseDialog
import com.sum.framework.base.BaseDialogFragment
import com.sum.framework.ext.onClick
import com.sum.framework.... | 0 | Kotlin | 0 | 0 | 4ef823ab4927e6e85ba8972dbebcc44b507c4e09 | 2,182 | CombatProject | Apache License 2.0 |
plugins/kotlin-serialization/kotlin-serialization-compiler/testData/diagnostics/SerializableIgnored.kt | android | 263,405,600 | true | null | // !DIAGNOSTICS: -UNUSED_PARAMETER,-UNUSED_VARIABLE,-PROVIDED_RUNTIME_TOO_LOW
// FILE: test.kt
import kotlinx.serialization.*
<!SERIALIZABLE_ANNOTATION_IGNORED!>@Serializable<!>
interface INonSerializable
| 1 | Kotlin | 37 | 316 | 74126637a097f5e6b099a7b7a4263468ecfda144 | 207 | kotlin | Apache License 2.0 |
src/main/java/com/samuel/ssilva/fileHandler/globalApi/GlobalApiController.kt | SamuelSoaresSilva | 817,452,392 | false | {"Kotlin": 8640, "Java": 2409, "Dockerfile": 272} | package com.samuel.ssilva.fileHandler.globalApi
import org.springframework.http.HttpStatus
import org.springframework.http.ResponseEntity
import org.springframework.web.bind.annotation.GetMapping
import org.springframework.web.bind.annotation.RequestMapping
import org.springframework.web.bind.annotation.RestController... | 0 | Kotlin | 1 | 1 | cc0e385e165078d6fb8a8cb98bf9218a5d473754 | 1,128 | Image-file-handler | Apache License 2.0 |
android-skin-loader-lib/src/main/java/com/tencent/fskin/SkinInflaterFactory.kt | xiaofanqingzjj | 79,535,268 | false | {"Gradle": 7, "Markdown": 2, "Java Properties": 2, "Shell": 1, "Ignore List": 6, "Batchfile": 1, "Proguard": 5, "XML": 41, "Java": 36, "Kotlin": 44} | package com.tencent.fskin
import android.content.Context
import android.content.res.Resources.NotFoundException
import android.util.AttributeSet
import android.util.Log
import android.view.LayoutInflater
import android.view.View
import cn.feng.skin.manager.util.L
import com.example.android_skin_loader_lib.BuildConfig
... | 1 | null | 1 | 1 | ce2267bad591396c943c5e9efbc4b6194f6eec20 | 3,846 | Android-Skin-Loader | Apache License 2.0 |
app/src/main/java/ar/com/wolox/android/bootstrap/ui/base/BaseFragment.kt | Wolox | 425,925,611 | false | {"Kotlin": 62111} | package ar.com.wolox.android.bootstrap.ui.base
import android.os.Bundle
import android.view.View
import androidx.fragment.app.Fragment
import ar.com.wolox.android.bootstrap.network.util.RequestStatus
abstract class BaseFragment<V : BaseView, M : BaseViewModel> : Fragment(), BaseView {
abstract val viewModel: M
... | 0 | Kotlin | 5 | 2 | c76688cb41212fd421551895403de2439c5ee8a0 | 956 | android-bootstrap-mvvm | MIT License |
app/src/main/kotlin/au/id/rlac/unitconverter/app/ConverterPresenter.kt | rlac | 36,999,945 | false | null | package au.id.rlac.unitconverter.app
import android.os.Bundle
import android.os.Parcel
import android.os.Parcelable
import au.id.rlac.unitconverter.converter.Measure
import au.id.rlac.unitconverter.converter.MeasurementSystem
import au.id.rlac.unitconverter.converter.UnitConverter
import au.id.rlac.util.android.*
impo... | 0 | Kotlin | 0 | 3 | 5db7673e848db323b6a78eb501d7cf4d65be123b | 5,273 | unitconverter | Apache License 2.0 |
spesialist-selve/src/test/kotlin/no/nav/helse/mediator/meldinger/VedtakFattetRiverTest.kt | navikt | 244,907,980 | false | null | package no.nav.helse.mediator.meldinger
import io.mockk.mockk
import io.mockk.verify
import java.time.LocalDateTime
import java.util.*
import no.nav.helse.mediator.HendelseMediator
import no.nav.helse.rapids_rivers.testsupport.TestRapid
import org.intellij.lang.annotations.Language
import org.junit.jupiter.api.Test
i... | 9 | Kotlin | 1 | 1 | 9d4136c645cc48337f246413c4b0beb906839ffd | 1,079 | helse-spesialist | MIT License |
apollo-normalized-cache-api/src/commonMain/kotlin/com/apollographql/apollo/cache/normalized/internal/RecordWeigher.kt | apollostack | 69,469,299 | false | null | package com.apollographql.apollo.cache.normalized.internal
import com.apollographql.apollo.api.BigDecimal
import com.apollographql.apollo.cache.normalized.CacheReference
import com.apollographql.apollo.cache.normalized.Record
import okio.internal.commonAsUtf8ToByteArray
import kotlin.jvm.JvmStatic
object RecordWeighe... | 5 | null | 531 | 2,897 | f16ef0f4020af7a07c200f0fdcf1dac977d63637 | 1,553 | apollo-android | MIT License |
android/common-ui/src/main/java/any/ui/common/widget/ServicesDropdown.kt | dokar3 | 572,488,513 | false | null | package any.ui.common.widget
import any.base.R as BaseR
import any.ui.common.R as CommonUiR
import androidx.compose.animation.ExperimentalAnimationApi
import androidx.compose.animation.core.spring
import androidx.compose.animation.core.tween
import androidx.compose.animation.fadeOut
import androidx.compose.animation.s... | 8 | Kotlin | 0 | 9 | 86ccf75753698d54a6b5a24d8747d5bd23ecf71e | 10,241 | any | Apache License 2.0 |
src/main/kotlin/icu/windea/pls/core/index/hierarchy/ParadoxDefinitionHierarchyIndex.kt | DragonKnightOfBreeze | 328,104,626 | false | null | package icu.windea.pls.core.index.hierarchy
import com.intellij.openapi.util.*
import com.intellij.openapi.vfs.*
import com.intellij.psi.*
import com.intellij.util.indexing.*
import icu.windea.pls.core.*
import icu.windea.pls.core.collections.*
import icu.windea.pls.core.index.*
import icu.windea.pls.lang.*
import icu... | 9 | Kotlin | 4 | 22 | c6c558b82c84b9e88c0ee179f64cbfdda66b8082 | 6,380 | Paradox-Language-Support | MIT License |
src/main/kotlin/CMusicSystem.kt | argcc | 777,572,651 | false | {"Kotlin": 451601} | package org.example
class CMusicSystem:CBaseObject() {
var field_0x44 = 0
override fun Create(): Boolean {
//TODO
return super.Create()
}
override fun GetTypeId(): UInt {
return 0xeu
}
fun SetZoneMode(allode_name: String, is_dungeon: Int) {
TODO("Not yet imple... | 0 | Kotlin | 0 | 0 | 7e58b1b74515577b14423443009bc2d04594184a | 336 | ei_reverse_consp | MIT License |
buildSrc/src/main/java/Room.kt | tahaak67 | 508,754,612 | false | {"Kotlin": 614590} | object Room {
private const val version = "2.4.3"
const val roomRuntime = "androidx.room:room-runtime:$version"
const val roomCompiler = "androidx.room:room-compiler:$version"
const val roomKtx = "androidx.room:room-ktx:$version"
} | 8 | Kotlin | 4 | 96 | f7efae3a6d3b0ba52b3cdf082727f6beb8eb74d9 | 247 | Farhan | Apache License 2.0 |
サンプル/GeekNews-master/data/src/main/java/com/howshea/data/viewModel/DataTypeViewModel.kt | choushou | 247,214,556 | false | null | package com.howshea.data.viewModel
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import com.howshea.basemodule.component.lifecycle.RxViewModel
import com.howshea.basemodule.extentions.dispatchDefault
import com.howshea.data.model.Data
import com.howshea.data.repository.DataServices
impor... | 0 | Kotlin | 0 | 0 | 0eee7e7aa7afdd8cd65f5e1778a87ac8db42d6f0 | 1,597 | Android_Sample | Apache License 2.0 |
app/src/main/java/com/dluvian/nozzle/data/postCardInteractor/PostCardInteractor.kt | dluvian | 645,936,540 | false | {"Kotlin": 563506} | package com.dluvian.nozzle.data.postCardInteractor
import com.dluvian.nozzle.data.nostr.INostrService
import com.dluvian.nozzle.data.provider.IRelayProvider
import com.dluvian.nozzle.data.room.dao.ReactionDao
import com.dluvian.nozzle.data.room.entity.ReactionEntity
import kotlinx.coroutines.CoroutineScope
import kotl... | 3 | Kotlin | 3 | 25 | 84ff42805c6cf60aabcfbbd8384c232e127a168c | 1,120 | Nozzle | MIT License |
app/src/main/java/com/rokoblak/chatbackup/ui/commonui/DetailsContent.kt | oblakr24 | 598,672,859 | false | null | package com.rokoblak.gittrendingcompose.ui.common.composables
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.ColumnScope
import androidx.compose.foundation.layout.fillMaxHeight
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.runtime.Composable
... | 0 | null | 0 | 2 | a920dff9baebaa24b64e95c8ef381f1d179b6677 | 957 | chat-backup-app | Apache License 2.0 |
sender-connection-default/src/main/kotlin/se/gustavkarlsson/snappier/sender/connection/DefaultSenderConnection.kt | gustavkarlsson | 266,628,801 | false | null | package se.gustavkarlsson.snappier.sender.connection
import dagger.Binds
import dagger.Module
import io.reactivex.rxjava3.core.Completable
import io.reactivex.rxjava3.core.Observable
import io.reactivex.rxjava3.core.Observer
import io.reactivex.rxjava3.core.Single
import mu.KotlinLogging
import se.gustavkarlsson.snapp... | 0 | Kotlin | 0 | 1 | f7e283d3f0e8c77139622b8caddcac57d8d06be6 | 3,010 | snappier | MIT License |
app/src/main/java/com/jeromemarshall/crypto2k18/modal/RegisterModal.kt | jerome-marshall | 149,640,360 | false | null | package com.jeromemarshall.crypto2k18.modal
/**
* Created by jeromemarshall on 3/3/18.
*/
data class RegisterModal(
var name: String = "",
var email: String = "",
var phone: String = "",
var college: String = "",
var eventName: String = ""
)
| 1 | null | 1 | 1 | a8e946b471f8e7415c2f419093e8ca150ec28315 | 285 | Crypto2k18 | MIT License |
src/main/kotlin/me/jakejmattson/embedbot/commands/GroupCommands.kt | JakeJMattson | 177,512,683 | false | null | package me.jakejmattson.embedbot.commands
import me.jakejmattson.discordkt.api.annotations.CommandSet
import me.jakejmattson.discordkt.api.arguments.*
import me.jakejmattson.discordkt.api.dsl.command.commands
import me.jakejmattson.discordkt.api.dsl.embed.toEmbedBuilder
import me.jakejmattson.embedbot.arguments.*
impo... | 1 | Kotlin | 9 | 20 | 5f49f5720f7be8d195ebce2cba93a8e9918e1d87 | 6,157 | EmbedBot | MIT License |
src/main/kotlin/_5_expressions/enterprise.kt | antonarhipov | 637,962,438 | false | null | package _5_expressions
import kotlinx.coroutines.runBlocking
class PseudoClosableExample {
lateinit var service: A
lateinit var broker: B
lateinit var producer: C
fun appCleanup() {
stopProducer()
stopBroker()
stopService()
}
fun stopProducer() {
if (this::pro... | 0 | Kotlin | 0 | 2 | 73a979a0391e70453824973c61433cd4415ce8f8 | 3,072 | idiomatic-kotlin | MIT License |
src/main/kotlin/_5_expressions/enterprise.kt | antonarhipov | 637,962,438 | false | null | package _5_expressions
import kotlinx.coroutines.runBlocking
class PseudoClosableExample {
lateinit var service: A
lateinit var broker: B
lateinit var producer: C
fun appCleanup() {
stopProducer()
stopBroker()
stopService()
}
fun stopProducer() {
if (this::pro... | 0 | Kotlin | 0 | 2 | 73a979a0391e70453824973c61433cd4415ce8f8 | 3,072 | idiomatic-kotlin | MIT License |
app/src/main/kotlin/io/github/feelfreelinux/wykopmobilny/api/ApiSignInterceptor.kt | saletrak | 107,699,856 | true | {"Kotlin": 211185} | package io.github.feelfreelinux.wykopmobilny.api
import io.github.feelfreelinux.wykopmobilny.APP_SECRET
import io.github.feelfreelinux.wykopmobilny.utils.api.encryptMD5
import io.github.feelfreelinux.wykopmobilny.utils.printout
import io.github.feelfreelinux.wykopmobilny.utils.usermanager.UserManagerApi
import okhttp3... | 0 | Kotlin | 0 | 0 | 2514e6d3ab1a5b51fdb7a268e868dcbbaa26ef85 | 2,450 | WykopMobilny | MIT License |
inference/inference-tfjs/src/jsMain/kotlin/io.kinference.tfjs/operators/layer/attention/QAttention.kt | JetBrains-Research | 244,400,016 | false | null | package io.kinference.tfjs.operators.layer.attention
import io.kinference.attribute.Attribute
import io.kinference.data.ONNXData
import io.kinference.graph.Contexts
import io.kinference.ndarray.arrays.*
import io.kinference.ndarray.extensions.*
import io.kinference.operator.*
import io.kinference.protobuf.message.Attr... | 5 | Kotlin | 5 | 95 | e47129b6f1e2a60bf12404d8126701ce7ef4db3a | 5,691 | kinference | Apache License 2.0 |
kover-gradle-plugin/src/main/kotlin/kotlinx/kover/gradle/aggregation/settings/tasks/AbstractKoverReportTask.kt | Kotlin | 394,574,917 | false | {"Kotlin": 730643, "Java": 23398} | /*
* Copyright 2017-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
*/
package kotlinx.kover.gradle.aggregation.settings.tasks
import kotlinx.kover.gradle.aggregation.commons.artifacts.ProjectArtifactInfo
import org.gradle.api.provider.Property
import org.gradle.api.provider.Pro... | 60 | Kotlin | 53 | 1,346 | 1acc0548ad33b0aeeccd4e95078490997abf2d54 | 1,246 | kotlinx-kover | Apache License 2.0 |
src/main/kotlin/com/mostlynobody/aoc/y18/Day05.kt | mostlynobody | 872,515,403 | false | {"Kotlin": 13913} | package com.mostlynobody.aoc.y18
import com.mostlynobody.aoc.Day
import kotlin.math.abs
class Day05(rawInput: String) : Day(rawInput) {
override fun silver(): String {
return collapsePolymer(rawInput.trim().toMutableList()).toString()
}
override fun gold(): String {
val polymer = rawInp... | 0 | Kotlin | 0 | 0 | 05361b2a1633c36275bb7e847983cf3567106b1b | 998 | aoc-kotlin | MIT License |
src/main/kotlin/com/mostlynobody/aoc/y18/Day05.kt | mostlynobody | 872,515,403 | false | {"Kotlin": 13913} | package com.mostlynobody.aoc.y18
import com.mostlynobody.aoc.Day
import kotlin.math.abs
class Day05(rawInput: String) : Day(rawInput) {
override fun silver(): String {
return collapsePolymer(rawInput.trim().toMutableList()).toString()
}
override fun gold(): String {
val polymer = rawInp... | 0 | Kotlin | 0 | 0 | 05361b2a1633c36275bb7e847983cf3567106b1b | 998 | aoc-kotlin | MIT License |
assistant/src/main/java/com/thoughtworks/assistant/abilities/chat/ChatType.kt | TW-Smart-CoE | 642,195,520 | false | null | package com.thoughtworks.assistant.abilities.chat
enum class ChatType {
ChatGpt
} | 11 | Kotlin | 0 | 3 | 76cd646a7909b8ab640e078497ef78feb21daca6 | 86 | smart-assistant-android | Apache License 2.0 |
app/src/main/java/com/example/perfumeryscores/ui/players/PlayersFragment.kt | ganaha | 329,210,232 | false | null | package com.example.perfumeryscores.ui.players
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.SimpleAdapter
import androidx.fragment.app.Fragment
import androidx.fragment.app.viewModels
import com.example.perfumeryscores.AppAppli... | 0 | Kotlin | 0 | 0 | 19a260ea69c831f10d384f992a1d083423359e7b | 1,769 | perfumeryscores | MIT License |
graph/graph-application/src/test/kotlin/eu/tib/orkg/prototype/contenttypes/services/ComparisonServiceUnitTests.kt | TIBHannover | 197,416,205 | false | {"Kotlin": 2433821, "Cypher": 215872, "Python": 4880, "Groovy": 1936, "Shell": 1803, "HTML": 240} | package eu.tib.orkg.prototype.contenttypes.services
import eu.tib.orkg.prototype.community.domain.model.ObservatoryId
import eu.tib.orkg.prototype.community.domain.model.OrganizationId
import eu.tib.orkg.prototype.contenttypes.application.ComparisonNotFound
import eu.tib.orkg.prototype.contenttypes.domain.model.Author... | 0 | Kotlin | 2 | 5 | f96c2c41a6e2b1da63a9d93973602573b596ed0d | 15,293 | orkg-backend | MIT License |
core/src/main/java/com/marknjunge/core/data/network/interceptors/NetworkConnectionInterceptor.kt | MarkNjunge | 86,477,705 | false | {"Kotlin": 237127} | package com.marknjunge.core.data.network.interceptors
import android.content.Context
import android.net.ConnectivityManager
import com.marknjunge.core.utils.NoInternetException
import okhttp3.Interceptor
import okhttp3.Response
internal class NetworkConnectionInterceptor(private val context: Context) : Interceptor {
... | 1 | Kotlin | 36 | 74 | e3811f064797d50fadef4033bf1532b3c2ceef8d | 822 | JustJava-Android | Apache License 2.0 |
app/src/test/java/com/shopapp/ui/account/di/TestAuthComponent.kt | rubygarage | 105,554,295 | false | null | package com.shopapp.ui.account.di
import com.shopapp.ui.account.*
import dagger.Subcomponent
@Subcomponent(modules = [TestAuthModule::class])
interface TestAuthComponent : AuthComponent {
override fun inject(fragment: AccountFragment)
override fun inject(activity: SignUpActivity)
override fun inject(ac... | 6 | Kotlin | 100 | 148 | 133b0060626a064b437683c3f0182d2bb3066bdb | 580 | shopapp-android | Apache License 2.0 |
app/src/main/java/com/radixdlt/android/apps/wallet/ui/dialog/authentication/pin/setup/SetupPinAuthenticationAction.kt | radixdlt | 158,528,536 | false | null | package com.radixdlt.android.apps.wallet.ui.dialog.authentication.pin.setup
enum class SetupPinAuthenticationAction {
NAVIGATE
}
| 1 | Kotlin | 4 | 17 | 2fa15c9b2d65040072cbb413a3549f8f489ed6ca | 134 | radixdlt-wallet-android | MIT License |
gradle-plugins/compose/src/test/test-projects/misc/hugeResources/expected/Drawable36.kt | JetBrains | 293,498,508 | false | {"Kotlin": 19912259, "Shell": 12167, "JavaScript": 4973, "Dockerfile": 4774, "Swift": 2823, "Java": 1964, "PowerShell": 1708, "Groovy": 1415, "HTML": 1219, "Ruby": 404} | @file:OptIn(org.jetbrains.compose.resources.InternalResourceApi::class)
package app.group.huge.generated.resources
import kotlin.OptIn
import org.jetbrains.compose.resources.DrawableResource
import org.jetbrains.compose.resources.ExperimentalResourceApi
@ExperimentalResourceApi
private object Drawable36 {
public v... | 1,251 | Kotlin | 1038 | 14,419 | f833fa9945f0420fd9c0c0a5a03d45f196d231ec | 182,521 | compose-multiplatform | Apache License 2.0 |
daemon/src/main/java/com/rarible/core/daemon/healthcheck/DisabledLivenessHealthIndicator.kt | rariblecom | 357,923,214 | false | {"Markdown": 5, "Maven POM": 23, "Ignore List": 1, "Groovy": 1, "EditorConfig": 1, "Kotlin": 293, "Java": 30, "CODEOWNERS": 1, "YAML": 2, "INI": 2, "XML": 2} | package com.rarible.core.daemon.healthcheck
import org.springframework.boot.actuate.health.Health
import org.springframework.boot.actuate.health.Status
import java.time.Duration
import java.time.Instant
import java.util.concurrent.atomic.AtomicReference
class DisabledLivenessHealthIndicator() : LivenessHealthIndicato... | 0 | Kotlin | 3 | 11 | 7bbb0bba0fe055a733d7ea6f376a7bcc3146401e | 885 | service-core | MIT License |
Website/src/jvmMain/kotlin/Application.kt | TristanBoulesteix | 158,809,102 | false | null | package fr.olebo
import fr.olebo.plugins.configureRouting
import fr.olebo.plugins.configureSerialization
import fr.olebo.plugins.httpsRedirect
import io.ktor.server.engine.*
import io.ktor.server.netty.*
import java.io.File
import java.security.KeyStore
import java.util.*
fun main() {
val prop = Properties().appl... | 0 | Kotlin | 0 | 1 | 263438ba7218f604c75369cdf29edf8232948cde | 1,153 | Olebo | Apache License 2.0 |
src/test/kotlin/io/github/mrschyzo/opiniom/functional/FunctionExtsKtTest.kt | MrSchyzo | 516,530,300 | false | null | package io.github.mrschyzo.opiniom.functional
import io.github.mrschyzo.opiniom.types.None
import io.github.mrschyzo.opiniom.types.Some
import org.junit.jupiter.api.Test
import strikt.api.expectThat
import strikt.assertions.isA
import strikt.assertions.isEqualTo
import strikt.assertions.isSameInstanceAs
internal clas... | 0 | Kotlin | 0 | 1 | da7d5785364a8260f344e43b59c144df4a540c4d | 4,264 | opiniom | MIT License |
idea/src/org/jetbrains/kotlin/idea/codeInliner/CodeToInline.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.codeInliner
import com.intellij.openapi.util.Key
import org.jetbrains.kotli... | 0 | Kotlin | 30 | 82 | cc81d7505bc3e9ad503d706998ae8026c067e838 | 1,993 | intellij-kotlin | Apache License 2.0 |
src/main/kotlin/jenkins/plugins/accurevclient/commands/StreamCommand.kt | moegwsa | 140,700,194 | false | {"Gradle": 1, "Markdown": 3, "Gradle Kotlin DSL": 1, "Java Properties": 1, "YAML": 4, "Shell": 2, "Ignore List": 1, "Batchfile": 1, "Groovy": 1, "INI": 1, "Java": 2, "XML": 11, "Kotlin": 38} | package jenkins.plugins.accurevclient.commands
interface StreamCommand : AccurevCommand {
fun create(name: String, backingStream: String): StreamCommand
fun create(name: String, backingStream: String, isGated: Boolean): StreamCommand
} | 0 | Kotlin | 0 | 0 | 73647acc7c94d39a0a95df1d75064189e4142b6a | 246 | accurev-client-plugin | MIT License |
korim/src/commonMain/kotlin/com/soywiz/korim/color/RGBAf.kt | RezMike | 251,690,819 | true | {"Kotlin": 471162, "Shell": 1701, "Batchfile": 1531} | package com.soywiz.korim.color
import com.soywiz.korio.util.*
class RGBAf(
private var _r: Float = 1f,
private var _g: Float = 1f,
private var _b: Float = 1f,
private var _a: Float = 1f
) {
private var dirty = true
var r: Float; set(v) = run { _r = v; makeDirty() }; get() = _r
var g: Floa... | 0 | Kotlin | 0 | 0 | 7141740fac95ae898aca202bec6156784d6bfc90 | 2,047 | korim | Apache License 2.0 |
Android/app/src/main/java/com/app/myfoottrip/ui/view/dialogs/EditNicknameDialog.kt | luminaries1 | 603,655,369 | false | null | package com.app.myfoottrip.ui.view.dialogs;
import android.os.Bundle
import android.util.Log
import android.view.*
import android.widget.ImageView
import androidx.appcompat.widget.AppCompatButton
import androidx.fragment.app.DialogFragment
import androidx.fragment.app.activityViewModels
import com.app.myfoottrip.R
imp... | 0 | Kotlin | 0 | 0 | 8d9b073788d2313897e0dfada8cd736363a3956e | 1,838 | mirrorofmyfoottrip | MIT License |
educational-core/src/com/jetbrains/edu/learning/command/EduCourseCreatorAppStarter.kt | JetBrains | 43,696,115 | false | {"Kotlin": 4489403, "HTML": 3417303, "CSS": 12216, "Java": 10892, "Python": 10464, "JavaScript": 302, "Shell": 71} | package com.jetbrains.edu.learning.command
import com.intellij.openapi.application.ApplicationManager
import com.intellij.openapi.application.EDT
import com.intellij.openapi.project.Project
import com.intellij.openapi.project.ex.ProjectManagerEx
import com.intellij.openapi.startup.StartupManager
import com.intellij.op... | 6 | Kotlin | 49 | 127 | 468bf55e4663de4662cc9eabe2275c20631159ef | 4,884 | educational-plugin | Apache License 2.0 |
app/src/main/java/com/jiwoo/choi/nanumcar/rx/AutoActivatedDisposable.kt | banziha104 | 149,975,830 | false | null | package com.jiwoo.choi.gwangju_contest.rx
import android.arch.lifecycle.Lifecycle
import android.arch.lifecycle.LifecycleObserver
import android.arch.lifecycle.LifecycleOwner
import android.arch.lifecycle.OnLifecycleEvent
import io.reactivex.disposables.Disposable
// 라이프사이클 오너에 등록하는 익스텐션
class AutoActivatedDisposable... | 1 | Kotlin | 0 | 0 | ca87ca89b03af82f0e525e54a9b036ebaff4590a | 846 | NanumCar_And | Apache License 2.0 |
ktor-swagger-ui-examples/src/main/kotlin/io/github/smiley4/ktorswaggerui/examples/CustomizedSchemaGenerator.kt | SMILEY4 | 526,907,299 | false | null | package io.github.smiley4.ktorswaggerui.examples
import io.github.smiley4.ktorswaggerui.SwaggerUI
import io.github.smiley4.ktorswaggerui.dsl.routing.get
import io.github.smiley4.ktorswaggerui.routing.openApiSpec
import io.github.smiley4.ktorswaggerui.routing.swaggerUI
import io.github.smiley4.schemakenerator.serializa... | 6 | null | 33 | 172 | d040a9738c3dbbf3008a776bf38e8fa68386a83d | 2,832 | ktor-swagger-ui | Apache License 2.0 |
platform/platform-impl/src/com/intellij/internal/ui/uiDslShowcase/Demo.kt | qqa6 | 411,099,603 | true | null | // Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.internal.ui.uiDslShowcase
@Target(AnnotationTarget.FUNCTION)
annotation class Demo(val title: String, val description: String, val scrollba... | 0 | null | 0 | 0 | e7d9840da5a19bac003ea2c999ca7f19ac79c5c8 | 340 | intellij-community | Apache License 2.0 |
app/src/main/kotlin/dev/manusaurio/app/CharWall.kt | manusaurio | 342,077,322 | false | null | package dev.manusaurio.app
import dev.manusaurio.raycast.Wall
data class CharWall(override val collides: Boolean, val x: Int, val y: Int, val texture: Char) : Wall {
override fun toString() = "<($x, $y), collides: $collides>"
} | 0 | Kotlin | 0 | 0 | 20442abd60e8125bc8738d5189d81189ce215a68 | 233 | pixhelado | MIT License |
module_order/src/main/kotlin/com/yizhenwind/booster/order/ui/create/CreateOrderSideEffect.kt | WangZhiYao | 523,400,448 | false | null | package com.yizhenwind.booster.order.ui.create
import com.yizhenwind.booster.component.base.ISideEffect
/**
* 创建角色 SideEffect
*
* @author WangZhiYao
* @since 2022/6/18
*/
sealed class CreateOrderSideEffect : ISideEffect
| 0 | Kotlin | 0 | 1 | 27665819d3e65ba70727a5cc4eafc52b5e0fae2b | 227 | Booster | Apache License 2.0 |
core/src/main/java/io/github/crow_misia/libyuv/BufferX400.kt | crow-misia | 128,540,372 | false | {"C++": 4781231, "Kotlin": 254193, "C": 145869, "Python": 134916, "Starlark": 11104, "CMake": 8822, "Makefile": 7653, "Shell": 4346} | package io.github.crow_misia.libyuv
import kotlin.math.min
/**
* YUV(4:0:0 8bpp) Buffer.
*/
interface BufferX400<BUFFER : BufferX400<BUFFER, BUFFERX420>, BUFFERX420 : BufferX420<BUFFERX420>> : BufferY<BUFFER> {
fun convertTo(dst: BUFFERX420) {
Yuv.convertI400Copy(
srcY = planeY.buffer, srcSt... | 3 | C++ | 18 | 79 | 89a93f053eb7fa5f4c1d7c9f023a80d3c630e9e0 | 1,590 | libyuv-android | Apache License 2.0 |
ivy-design/src/main/java/com/ivy/design/l3_ivyComponents/percentage/Loading.kt | ILIYANGERMANOV | 442,188,120 | false | null | package com.ivy.design.l3_ivyComponents.percentage
| 0 | Kotlin | 1 | 1 | eab596d90f3580dea527d404a0f453e5b9d2167e | 52 | ivy-design-android | MIT License |
app/src/main/java/au/com/hearty/view/OnMeasurementItemClickedListener.kt | hijamescheng | 230,816,709 | false | null | package au.com.hearty.view
import au.com.hearty.model.Measurement
interface OnMeasurementItemClickedListener {
fun onItemClicked(item: Measurement)
}
interface OnMeasurementItemLongClickedListener {
fun onItemLongClicked(item: Measurement)
} | 0 | Kotlin | 0 | 0 | d31cbc82a4f5a12e6dc8fcec3e845519a84f35f1 | 252 | Hearty | Apache License 2.0 |
Konsultacja.kt | AnnaShino | 354,819,273 | false | null | package com.example.ktg
//wymagane importy związane z działaniem aplikacji
import android.content.Intent
import android.os.Bundle
import android.os.Handler
import android.view.WindowManager
import android.widget.Toast
import androidx.appcompat.app.ActionBar
import androidx.appcompat.app.AppCompatActivity
import com.g... | 0 | Kotlin | 0 | 0 | 9f2d2005f36fe8e44551f558bdafcbd2000fa776 | 2,905 | KTG_ksiazeczka_zdrowia | MIT License |
app/src/main/java/com/rynkbit/coffeestore/data/repository/tasks/SetTransactionStateAsyncTask.kt | meik99 | 172,049,712 | false | null | package com.rynkbit.coffeestore.data.repository.tasks
import android.os.AsyncTask
import com.rynkbit.coffeestore.data.dao.CustomerTransactionDao
import com.rynkbit.coffeestore.data.entity.Customer
import com.rynkbit.coffeestore.data.entity.TransactionState
class SetTransactionStateAsyncTask(
private val customerT... | 0 | Kotlin | 0 | 0 | faea6cd8174355c8f4b0bdd8288205a9dbf98748 | 649 | CoffeeStore | MIT License |
app/src/main/java/com/rynkbit/coffeestore/data/repository/tasks/SetTransactionStateAsyncTask.kt | meik99 | 172,049,712 | false | null | package com.rynkbit.coffeestore.data.repository.tasks
import android.os.AsyncTask
import com.rynkbit.coffeestore.data.dao.CustomerTransactionDao
import com.rynkbit.coffeestore.data.entity.Customer
import com.rynkbit.coffeestore.data.entity.TransactionState
class SetTransactionStateAsyncTask(
private val customerT... | 0 | Kotlin | 0 | 0 | faea6cd8174355c8f4b0bdd8288205a9dbf98748 | 649 | CoffeeStore | MIT License |
app/src/main/java/com/azyoot/relearn/service/common/ReLearnLauncher.kt | mzsolt90 | 242,523,252 | false | null | package com.azyoot.relearn.service.common
import android.content.ActivityNotFoundException
import android.content.ComponentName
import android.content.Context
import android.content.Intent
import android.os.Build
import com.azyoot.relearn.domain.entity.ReLearnTranslation
import com.azyoot.relearn.domain.entity.SourceT... | 0 | Kotlin | 0 | 1 | d2ede681453f8aa142503192b3efdddc0999b673 | 2,775 | ReLearn | MIT License |
zcnetwork/src/main/java/com/zoomcar/zcnetwork/core/ZcNetworkBuilder.kt | ZoomCar | 232,289,293 | false | null | package com.zoomcar.zcnetwork.core
import android.app.Activity
import androidx.fragment.app.Fragment
import com.zoomcar.zcnetwork.utils.ZcRequestType
/*
* @created 08/01/2020 - 12:35 PM
* @project ZC-Network-Client
* @author Paras
*/
class ZcNetworkBuilder {
private var activity: Activity? = null
privat... | 0 | Kotlin | 4 | 3 | a83885542987bab5bf4f22566694ad3c707f05ca | 2,298 | android-network-library | Apache License 2.0 |
tools/tools/src/main/kotlin/top/bettercode/summer/tools/lang/util/DirectFieldAccessFallbackBeanWrapper.kt | top-bettercode | 387,652,015 | false | null | /*
* Copyright 2012-2021 the original author or 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 0 | null | 0 | 2 | 71656fd7ffc27bcb70fdc1f478c27ab954eb863f | 2,655 | summer | Apache License 2.0 |
app/src/main/java/bg/dabulgaria/tibroish/presentation/ui/photopicker/gallery/GridPickerAdapter.kt | ti-broish | 359,553,419 | false | null | package bg.dabulgaria.tibroish.presentation.ui.photopicker.gallery//package bg.dabulgaria.tibroish.presentation.ui.protocol.list
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.recyclerview.widget.RecyclerView
import bg.dabulgaria.tibroish.R
import com.bumptec... | 1 | Kotlin | 0 | 3 | 0d7f6d401539d7a1c13758ab2cd96a616ebdaab1 | 2,656 | mobile-android | MIT License |
translator/src/main/kotlin/org/kotlinnative/translator/TranslationState.kt | olonho | 60,483,862 | false | null | package org.kotlinnative.translator
import com.intellij.openapi.Disposable
import org.jetbrains.kotlin.analyzer.AnalysisResult
import org.jetbrains.kotlin.cli.common.CLIConfigurationKeys
import org.jetbrains.kotlin.cli.common.messages.AnalyzerWithCompilerReport
import org.jetbrains.kotlin.cli.common.messages.CompilerM... | 0 | C | 1 | 10 | 321925af6cd64339a12a1658c3412a5461a32563 | 5,736 | carkot | MIT License |
composeApp/src/commonMain/kotlin/presentation/screens/home/data/InstantsVO.kt | vrcm-team | 746,586,818 | false | {"Kotlin": 203357, "Swift": 4064} | package io.github.vrcmteam.vrcm.presentation.screens.home.data
import io.github.vrcmteam.vrcm.network.api.attributes.AccessType
data class InstantsVO(
val worldName: String = "",
val worldImageUrl: String? = null,
val accessType: AccessType? = null,
val regionIconUrl: String? = null,
val userCount... | 0 | Kotlin | 0 | 6 | 56e72aecca713b3c6bfaf0c3d4b4e55a94bf3790 | 336 | VRCM | MIT License |
common/src/main/java/com/jon/common/ui/main/MainActivity.kt | b9389 | 547,559,544 | true | {"Kotlin": 310705, "Java": 3012} | package com.jon.common.ui.main
import android.Manifest
import android.annotation.SuppressLint
import android.content.*
import android.net.Uri
import android.os.Bundle
import android.os.IBinder
import android.os.PowerManager
import android.provider.Settings
import android.view.Menu
import android.view.View
import andro... | 0 | null | 0 | 0 | ae8809555a1e9e2a62f64ce90f2ff6fa5c6ef0fd | 13,537 | cotgenerator | Apache License 2.0 |
mbmobilesdk/src/main/java/com/daimler/mbmobilesdk/utils/NullUtils.kt | rafalzawadzki | 208,997,288 | true | {"Kotlin": 1297852, "Groovy": 4489} | package com.daimler.mbmobilesdk.utils
fun <A, B, R> ifNotNull(a: A?, b: B?, action: (A, B) -> R?): R? =
if (a != null && b != null) action(a, b) else null
fun <A, B, C, R> ifNotNull(a: A?, b: B?, c: C?, action: (A, B, C) -> R?): R? =
if (a != null && b != null && c != null) action(a, b, c) else null | 0 | null | 0 | 0 | 1a924f70fbde5d731cdfde275e724e6343ee6ebe | 310 | MBSDK-Mobile-Android | MIT License |
src/opennlp-conll/main/opennlp/ext/conll/treebank/features/verbal/Polarity.kt | rhdunn | 418,266,921 | false | null | // Copyright (C) 2021 <NAME>. SPDX-License-Identifier: Apache-2.0
package opennlp.ext.conll.treebank.features.verbal
import opennlp.ext.conll.treebank.Feature
import opennlp.ext.conll.treebank.FeatureSet
import opennlp.ext.conll.treebank.features.UnknownFeatureValue
// Reference: [Polarity](https://universaldependenc... | 0 | Kotlin | 0 | 3 | 3b0f35236af1773bf28a5ccec8c2e8bf7a3de9b2 | 780 | opennlp-extensions | Apache License 2.0 |
app/src/main/java/com/basickotlin/login/LoginActivity.kt | iKhan1057 | 339,004,661 | false | null | package com.basickotlin.login
import android.content.Intent
import android.os.Bundle
import android.widget.ImageView
import android.widget.TextView
import android.widget.Toast
import androidx.appcompat.app.AppCompatActivity
import com.basickotlin.R
import com.basickotlin.confirmation.ConfirmationActivity
import com.go... | 1 | null | 1 | 1 | 3e254575a03e31f6813f7a87ed92215e4856e4b3 | 1,346 | basickotlin | Apache License 2.0 |
feature/home/src/main/java/dev/enesky/feature/home/HomeViewModel.kt | enesky | 708,119,546 | false | {"Kotlin": 259013, "Shell": 4890} | package dev.enesky.feature.home
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import androidx.paging.cachedIn
import dev.enesky.core.common.delegate.Event
import dev.enesky.core.common.delegate.EventDelegate
import dev.enesky.core.common.delegate.UiState
import dev.enesky.core.common.del... | 27 | Kotlin | 0 | 2 | a01ea7563a77d0a8b90a78ef39270e90d94b3614 | 4,274 | Doodle | Apache License 2.0 |
SampleCodeKotlin/src/main/kotlin/com/huawei/arengine/demos/augmentedimage/service/ImageKeyPointService.kt | jebai0521 | 384,907,544 | true | {"Java Properties": 2, "Markdown": 2, "Kotlin": 79, "Java": 61} | /**
* Copyright 2021. 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
*
*
* U... | 0 | null | 0 | 0 | 2f845336079d085c87a4afad34d6d3c7c6bf98c3 | 7,304 | hms-AREngine-demo | Apache License 2.0 |
app/src/main/java/com/hariofspades/constraintsetzone/NestedActivity.kt | akadatsky | 403,646,148 | false | {"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "Kotlin": 8, "XML": 29, "Java": 1} | package com.hariofspades.constraintsetzone
import android.annotation.TargetApi
import android.os.Build
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import androidx.annotation.LayoutRes
import androidx.constraintlayout.widget.ConstraintLayout
import androidx.constraintlayout.widget.Constrain... | 0 | Kotlin | 0 | 0 | c097743ed772fcd76e3f5f73116e4b98753bd7b9 | 1,719 | androidAnimationsSample | MIT License |
websocketservice/src/main/java/studio/attect/websocketservice/WebSocketService.kt | Attect | 185,355,296 | false | {"Gradle": 5, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "Proguard": 2, "Kotlin": 15, "XML": 23, "Java": 2} | package studio.attect.websocketservice
import android.app.Notification
import android.app.Service
import android.content.Context
import android.content.Intent
import android.os.IBinder
import android.util.Log
import androidx.lifecycle.Observer
import okhttp3.*
import okio.ByteString
import studio.attect.staticviewmod... | 2 | Kotlin | 4 | 42 | 4344e1034e2a46c620432fcdc52c43a8a1323e7f | 11,868 | WebSocketService | MIT License |
app/src/main/kotlin/com/aleksandrovych/purchasepal/data/resources/local/PrimitiveStorageImpl.kt | DreHubOff | 766,229,895 | false | {"Kotlin": 79712} | package com.aleksandrovych.purchasepal.data.resources.local
import android.content.SharedPreferences
import com.aleksandrovych.purchasepal.data.resources.PrimitiveStorage
import kotlinx.coroutines.CoroutineDispatcher
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.withContext
import kotlin.reflect.KCla... | 1 | Kotlin | 0 | 0 | 14eb4c2c262476d2e803d0a0aeef74d7c1174782 | 2,201 | Purchase-pal | MIT License |
litelog/src/main/java/com/aqrlei/litelog/engine/LogEngineFactory.kt | AqrLei | 288,324,366 | false | {"Gradle Kotlin DSL": 14, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "Kotlin": 140, "XML": 22, "Java": 3} | package com.aqrlei.helper.log.engine
/**
* created by AqrLei on 2020/5/19
*/
object LogEngineFactory {
private val logEngineMap = mutableMapOf<String, ILogEngine>()
private var appModuleName: String = ""
fun createAppLogEngine(moduleName: String): ILogEngine {
return LogEngine(moduleName).apply ... | 0 | Kotlin | 0 | 0 | d90a6a63dc9aeedfa38f3c3e76160e28641dcd41 | 681 | LiteLog | Apache License 2.0 |
src/test/kotlin/org/beckn/one/sandbox/bap/client/order/status/controllers/OrderStatusControllerSpec.kt | himanshipathak08 | 425,698,605 | true | {"Kotlin": 424089, "Jinja": 2041} | package org.beckn.one.sandbox.bap.client.order.status.controllers
import com.fasterxml.jackson.core.type.TypeReference
import com.fasterxml.jackson.databind.ObjectMapper
import com.github.tomakehurst.wiremock.WireMockServer
import com.github.tomakehurst.wiremock.client.WireMock.*
import io.kotest.core.spec.style.Descr... | 0 | null | 0 | 0 | 760e51d8f05b9a15b8b68cdaff93f5380f088a7c | 8,194 | biab-bap-client | MIT License |
src/main/kotlin/it/norangeb/algorithms/exercises/KMin.kt | norangebit-unisannio-computer-science | 172,945,724 | false | null | /*
* MIT License
*
* Copyright (c) 2019 norangebit
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modif... | 0 | Kotlin | 0 | 0 | 6a554c55c4d151da0a4fc45d63b79e5fde9e1286 | 1,771 | lm-tecniche-di-programmazione | MIT License |
src/main/kotlin/io/github/oxisto/reticulated/solver/Identifiable.kt | Fraunhofer-AISEC | 245,379,956 | true | {"Kotlin": 39013, "ANTLR": 26984, "Python": 410} | package io.github.oxisto.reticulated.solver
import io.github.oxisto.reticulated.ast.expression.Identifier
interface Identifiable {
val id: Identifier
} | 0 | null | 1 | 0 | 87b93149dbc022a7c7f6600d3fd655f7ba02f3bd | 157 | reticulated-python | Apache License 2.0 |
core/src/main/java/com/safeboda/core/binding/ViewBindingUtil.kt | jumaallan | 313,547,738 | false | null | /*
* Copyright 2020 Safeboda
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... | 2 | Kotlin | 14 | 21 | ec11c0ce526d2a790cb3b6fdd90f4ed56e9bfff8 | 2,958 | safeboda | The Unlicense |
kinds/maven/src/main/kotlin/org/virtuslab/bazelsteward/maven/MavenCoordinates.kt | VirtusLab | 567,694,906 | false | null | package org.virtuslab.bazelsteward.maven
import org.virtuslab.bazelsteward.core.library.Library
import org.virtuslab.bazelsteward.core.library.LibraryId
import org.virtuslab.bazelsteward.core.library.SimpleVersion
import org.virtuslab.bazelsteward.core.library.Version
data class MavenLibraryId(val group: String, val ... | 35 | Kotlin | 3 | 9 | f0764aacc0b13b1296eb8cc6cd062546ed1914ff | 1,166 | bazel-steward | Apache License 2.0 |
frogocoreconsumeapi/src/main/java/com/frogobox/coreapi/movie/model/CreditMediaSeason.kt | frogobox | 389,577,716 | false | null | package com.frogobox.frogothemoviedbapi.data.model
import com.google.gson.annotations.SerializedName
data class CreditMediaSeason(
@SerializedName("air_date")
var air_date: String? = null,
@SerializedName("episode_count")
var episode_count: Int? = null,
@SerializedName("id")
var id: Int? = ... | 0 | null | 6 | 7 | 1dd90a037f9acb2ba30066f753d35f7b909621a6 | 663 | frogo-consume-api | Apache License 2.0 |
android/src/main/java/com/haishinkit/lang/IRunnable.kt | VollaInc | 284,512,485 | false | null | package com.haishinkit.lang
interface IRunnable {
val isRunning: Boolean
fun startRunning()
fun stopRunning()
}
| 1 | null | 1 | 1 | e07af0ba9d77107443ed134eb345605955d730ae | 125 | react-native-haishinkit-view | MIT License |
kradle-plugin/src/main/kotlin/net/bnb1/kradle/blueprints/general/HelmProperties.kt | mrkuz | 400,078,467 | false | {"Kotlin": 420504, "Java": 15648, "Smarty": 1822, "Shell": 695} | package net.bnb1.kradle.blueprints.general
import net.bnb1.kradle.core.Properties
class HelmProperties : Properties {
var releaseName: String? = null
var valuesFile: String? = null
}
| 1 | Kotlin | 2 | 81 | bb9969dd3d496119e2b0f47df453373d8b452d35 | 194 | kradle | MIT License |
app/src/main/java/com/futsch1/medtimer/medicine/PeriodSettings.kt | Futsch1 | 745,594,494 | false | {"Java": 365662, "Kotlin": 45693, "Python": 2812, "Shell": 2581, "Ruby": 780} | package com.futsch1.medtimer.medicine
import android.text.format.DateUtils
import android.view.View
import android.widget.CheckBox
import android.widget.EditText
import android.widget.RadioGroup
import androidx.fragment.app.FragmentManager
import com.futsch1.medtimer.R
import com.futsch1.medtimer.database.Reminder
imp... | 6 | Java | 10 | 96 | e8b93f0814c48f18d43d543af21cf642212cc490 | 5,380 | medTimer | MIT License |
testutils/testutils-datastore/src/commonMain/kotlin/androidx/datastore/OkioTestIO.kt | androidx | 256,589,781 | false | null | /*
* Copyright 2022 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... | 18 | null | 790 | 4,549 | bd66997874293bcf20cfaf6e7d20633d15cefb62 | 4,318 | androidx | Apache License 2.0 |
src/main/kotlin/com/koraei/bank/controller/request/AccountRequest.kt | kooraei-hossein | 868,098,837 | false | {"Kotlin": 22985} | package com.koraei.bank.controller.request
import jakarta.validation.constraints.Positive
data class CreateAccountRequest(
val accountHolderName: String,
@field:Positive
val balance: Double,
val userId: Long,
)
data class UpdateBalanceRequest(
var accountId: String,
@field:Positive
var a... | 0 | Kotlin | 0 | 0 | 3ccfe0dec59babeefb62100bfc2f95b219b93d93 | 337 | bank | MIT License |
node/src/main/kotlin/net/corda/node/services/rpc/CheckpointDumper.kt | yangzongmao | 200,022,885 | true | {"Kotlin": 7922127, "Java": 231202, "Python": 37811, "Shell": 24379, "CSS": 23489, "Dockerfile": 2092, "Batchfile": 1777, "PowerShell": 660, "Makefile": 569, "Groovy": 376} | package net.corda.node.services.rpc
import co.paralleluniverse.fibers.Stack
import com.fasterxml.jackson.annotation.JsonAutoDetect
import com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility
import com.fasterxml.jackson.annotation.JsonFormat
import com.fasterxml.jackson.annotation.JsonInclude
import com.fasterxm... | 1 | Kotlin | 1 | 1 | 99e802c5c5f3f786b4b07b495a60f96d0702d86c | 14,531 | corda | Apache License 2.0 |
profilers-ui/testSrc/com/android/tools/profilers/cpu/PowerRailTooltipViewTest.kt | JetBrains | 60,701,247 | false | null | /*
* Copyright (C) 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 app... | 5 | null | 227 | 948 | 10110983c7e784122d94c7467e9d243aba943bf4 | 8,252 | android | Apache License 2.0 |
app/src/main/java/com/smparkworld/hiltbinderexample/sample/intomap/hiltdefault/stringkey/MapStringKeySampleModel.kt | Park-SM | 502,595,266 | false | null | package com.smparkworld.hiltbinderexample.sample.intomap.hiltdefault.stringkey
interface MapStringKeySampleModel {
fun printTestString()
} | 0 | Kotlin | 0 | 5 | cdb20e8bf340384c1a5ec6917d86d5cde74dc49b | 144 | HiltBinder | Apache License 2.0 |
jps-plugin/testData/general/SourcePackagePrefixWithInnerClasses/src/test.kt | JakeWharton | 99,388,807 | true | null | package xxx
val test = JavaWithInner.TextRenderer().method() | 179 | Kotlin | 5640 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 61 | kotlin | Apache License 2.0 |
src/commonMain/kotlin/net/codinux/csv/reader/NamedCsvRowIterator.kt | codinux-gmbh | 674,390,307 | false | null | package net.codinux.csv.reader
class NamedCsvRowIterator(
private val csvIterator: CloseableIterator<CsvRow>,
private val header: Set<String>
) : CloseableIterator<NamedCsvRow> {
override fun hasNext(): Boolean {
return csvIterator.hasNext()
}
override fun next(): NamedCsvRow {
return NamedCsvRow(he... | 0 | Kotlin | 0 | 0 | 5e2ee915d434e513bbc24d030110e9df2568b857 | 405 | kCSV | MIT License |
plugin/src/test/kotlin/org/neotech/plugin/rootcoverage/IntegrationTest.kt | NeoTech-Software | 152,748,748 | false | null | package org.neotech.plugin.rootcoverage
import com.google.common.truth.Truth.assertThat
import org.gradle.testkit.runner.BuildResult
import org.gradle.testkit.runner.GradleRunner
import org.junit.Assume
import org.junit.Before
import org.junit.Test
import org.junit.runner.RunWith
import org.junit.runners.Parameterized... | 3 | null | 23 | 171 | 77b7513c7adfaf23fac0f32f832c0f506133d23e | 10,510 | Android-Root-Coverage-Plugin | Apache License 2.0 |
app/src/main/java/com/team7/pregnancytracker/helpers/RemoteConfigurationHelper.kt | Explore-In-HMS | 402,767,707 | false | {"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "JSON": 1, "Kotlin": 61, "XML": 132, "Java": 12} | /*
* *
* *Copyright 2020. Explore in HMS. 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 required by... | 1 | null | 1 | 1 | 1c0cf421e09e61c0d094bfd79f564443cbb2fa93 | 3,486 | Pregnancy-Tracker | Apache License 2.0 |
app/src/main/java/com/kotlin/education/android/easytodo/TodoApplication.kt | sravyasona | 226,566,335 | false | {"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "Kotlin": 26, "XML": 49, "Java": 1} | package com.kotlin.education.android.easytodo
import android.app.Application
import android.content.Context
import com.evernote.android.job.JobManager
import com.kotlin.education.android.easytodo.notifications.ScheduleJobCreator
/**
* The main class representing the instance of a application.
* The class is initia... | 1 | null | 1 | 1 | ab690df6d7381051c4a0ed80f8ce5d04b3637340 | 1,354 | easytodokotlinapp | The Unlicense |
src/main/kotlin/com/github/gantsign/maven/doxia/sink/kotlin/content/Section.kt | gantsign | 133,130,534 | false | {"Kotlin": 232330} | /*-
* #%L
* doxia-sink-api-ktx
* %%
* Copyright (C) 2018 GantSign Ltd.
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* U... | 0 | Kotlin | 0 | 0 | 0b8cd38434e57cf1374e4affd59317e1e59cd3c0 | 1,910 | doxia-sink-api-ktx | Apache License 2.0 |
src/main/kotlin/se/premex/GenerateOwnershipTask.kt | premex-ab | 455,168,890 | false | null | package se.premex
import org.gradle.api.DefaultTask
import org.gradle.api.file.ConfigurableFileTree
import org.gradle.api.file.FileCollection
import org.gradle.api.tasks.CacheableTask
import org.gradle.api.tasks.Input
import org.gradle.api.tasks.InputFiles
import org.gradle.api.tasks.Nested
import org.gradle.api.tasks... | 13 | Kotlin | 0 | 4 | e043826a938781ebd2db52b527a61f84f4e58d77 | 3,908 | ownership-gradle-plugin | MIT License |
yamlkt/src/commonMain/kotlin/net.mamoe.yamlkt/internal/Debugging.kt | Him188 | 245,191,078 | false | null | @file:JvmMultifileClass
@file:JvmName("YamlUtils")
package net.mamoe.yamlkt.internal
import kotlinx.serialization.descriptors.SerialDescriptor
import kotlin.jvm.JvmMultifileClass
import kotlin.jvm.JvmName
import kotlin.jvm.JvmStatic
import kotlin.native.concurrent.ThreadLocal
@ThreadLocal
private var enabled0: Bool... | 22 | Kotlin | 12 | 88 | d1e05d235faccd455279d5017b2c438a71678b91 | 2,280 | yamlkt | Apache License 2.0 |
app/src/main/java/kr/nyj/jh/deadbydaylight/MainActivity.kt | kimjiho | 497,318,078 | false | {"Kotlin": 26084} | package kr.nyj.jh.deadbydaylight
import android.os.Bundle
import android.view.View
import androidx.appcompat.app.AppCompatActivity
import androidx.navigation.findNavController
import androidx.navigation.ui.AppBarConfiguration
import androidx.navigation.ui.setupWithNavController
import com.google.android.material.botto... | 0 | Kotlin | 0 | 0 | 8c344ccc113b3825ac215c2c4c0aa05743b0a9aa | 1,588 | DeadByDayLight | MIT License |
app/src/main/java/com/robertomiranda/app/core/list/BaseViewHolder.kt | RoberMiranda92 | 259,187,177 | false | null | package com.robertomiranda.app.core.list
import android.view.View
import androidx.recyclerview.widget.RecyclerView
abstract class BaseViewHolder<T: ListItem>(view: View):RecyclerView.ViewHolder(view) {
abstract fun bind(item: T)
abstract fun onUnbind()
} | 0 | Kotlin | 0 | 0 | b37b413cf2f26596294040938a089998cfd6d93f | 267 | Post-List | Apache License 2.0 |
Kotlin/src/main/kotlin/com/gildedrose/GildedRose.kt | JorgeOnrubiaMojica | 428,182,120 | true | {"C++": 728949, "XSLT": 19568, "Pascal": 16226, "C#": 13936, "Java": 13150, "PLpgSQL": 11008, "JavaScript": 10180, "C": 9517, "CMake": 9116, "Smalltalk": 8793, "ABAP": 8568, "F#": 8361, "Ada": 7270, "Common Lisp": 6116, "Kotlin": 5902, "Scheme": 5368, "PHP": 5219, "Erlang": 5040, "Fortran": 5005, "Swift": 4890, "Groovy... | package com.gildedrose
class GildedRose(var items: Array<Item>) {
fun updateQuality() {
items.forEach { ItemCustomFactory.create(it).updateItem() }
}
}
| 0 | C++ | 0 | 0 | 2ce876c453fe3ffc077e754dd46dadda3215ae86 | 175 | GildedRose-Refactoring-Kata | MIT License |
doc-examples/azure-cosmos-example-kotlin/src/test/kotlin/example/BookRepositorySpec.kt | micronaut-projects | 197,611,324 | false | null | package example
import io.micronaut.context.BeanContext
import io.micronaut.data.annotation.Query
import io.micronaut.data.model.Pageable
import io.micronaut.test.extensions.junit5.annotation.MicronautTest
import jakarta.inject.Inject
import org.junit.jupiter.api.*
import org.junit.jupiter.api.Assertions.*
import org.... | 195 | null | 195 | 464 | 9443990a6e13a2a8e34a15cea1ac2584581dd16a | 4,021 | micronaut-data | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.