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
libs/messaging/messaging-impl/src/main/kotlin/net/corda/messaging/mediator/StateManagerHelper.kt
corda
346,070,752
false
{"Kotlin": 18977647, "Java": 318968, "Smarty": 101152, "Shell": 48766, "Groovy": 30256, "PowerShell": 6350, "TypeScript": 5826, "Solidity": 2024}
package net.corda.messaging.mediator import net.corda.avro.serialization.CordaAvroDeserializer import net.corda.avro.serialization.CordaAvroSerializer import net.corda.libs.statemanager.api.Metadata import net.corda.libs.statemanager.api.State import net.corda.libs.statemanager.api.StateManager import net.corda.libs.s...
91
Kotlin
21
49
24c83ecfff4ae28b898ceca8e8cb469e300a0cc5
2,509
corda-runtime-os
Apache License 2.0
src/test/kotlin/r2dbcfun/test/AutoTest.kt
dkindler
351,886,663
false
null
package r2dbcfun.test import failfast.FailFast.autoTest fun main() { autoTest() }
0
null
0
0
e35b459f245806125ea5820fbb31ced6e183e209
88
r2dbcfun
MIT License
bitcoinkit/src/test/kotlin/io/horizontalsystems/bitcoinkit/network/MainNetTest.kt
diop
180,641,789
true
{"Kotlin": 544801, "Java": 48890}
package io.horizontalsystems.bitcoinkit.network import io.horizontalsystems.bitcoinkit.io.BitcoinInput import io.horizontalsystems.bitcoinkit.models.Block import org.junit.Assert.assertEquals import org.junit.Before import org.junit.Test import org.junit.runner.RunWith import org.mockito.Mockito.mock import org.powerm...
0
Kotlin
0
0
fb11666b177815e0210c4d6072f201101151acdc
1,028
bitcoin-kit-android
MIT License
src/commonMain/kotlin/data/items/ApostleOfArgus.kt
marisa-ashkandi
332,658,265
false
null
package `data`.items import `data`.Constants import `data`.buffs.Buffs import `data`.model.Item import `data`.model.ItemSet import `data`.model.Socket import `data`.model.SocketBonus import character.Buff import character.Stats import kotlin.Array import kotlin.Boolean import kotlin.Double import kotlin.Int import kot...
21
null
11
25
9cb6a0e51a650b5d04c63883cb9bf3f64057ce73
1,665
tbcsim
MIT License
dlang/psi-api/src/main/kotlin/io/github/intellij/dlanguage/psi/DResolveResult.kt
intellij-dlanguage
27,922,930
false
{"D": 1787183, "Kotlin": 1068238, "Java": 834373, "Lex": 22913, "DTrace": 3220, "HTML": 1386, "Makefile": 457}
package io.github.intellij.dlanguage.psi import com.intellij.psi.PsiElement import com.intellij.psi.ResolveResult class DResolveResult(private val element: PsiElement) : ResolveResult { override fun getElement(): PsiElement = element override fun isValidResult(): Boolean = true }
160
D
51
328
298d1db45d2b35c1715a1b1b2e1c548709101f05
292
intellij-dlanguage
MIT License
src/main/kotlin/com/example/streamersk/StreamWindowItemCount.kt
samaitra
226,595,697
false
null
package com.example.streamersk import org.apache.commons.lang3.StringUtils.isNotBlank import org.apache.flink.api.common.serialization.SimpleStringSchema import org.apache.flink.configuration.Configuration import org.apache.flink.streaming.api.environment.StreamExecutionEnvironment import org.apache.flink.streaming.ap...
0
Kotlin
2
2
acadb72c15c69b1d382d5e12116ae4353bac533a
2,016
streamersk
Apache License 2.0
app/src/main/java/io/flaterlab/kyrgyzdaamy/service/response/AccessToken.kt
chorobaev
355,274,946
false
{"Kotlin": 168085}
package io.flaterlab.kyrgyzdaamy.service.response data class AccessToken( val accessToken : String, val userName : String, val roles : List<String> )
0
Kotlin
0
1
a1c17e42cefdf0536f4e1b9c235e0f434b9a1e58
162
kyrgyz-daamy
MIT License
CSP-Library/src/main/java/com/mbp/csp/sw1020sp.kt
mbpatel6245
534,200,692
false
{"Kotlin": 109510}
package com.mbp.csp import androidx.compose.ui.unit.sp val sw1020sp = ComposableDimens().apply { _1csp = 3.40.sp _2csp = 6.80.sp _3csp = 10.20.sp _4csp = 13.60.sp _5csp = 17.00.sp _6csp = 20.40.sp _7csp = 23.80.sp _8csp = 27.20.sp _9csp = 30.60.sp _10csp = 34.00.sp _11csp =...
0
Kotlin
0
4
58a6b1134c4fcf5a53d41c0acffe0430640e5676
3,561
csp
MIT License
CSP-Library/src/main/java/com/mbp/csp/sw1020sp.kt
mbpatel6245
534,200,692
false
{"Kotlin": 109510}
package com.mbp.csp import androidx.compose.ui.unit.sp val sw1020sp = ComposableDimens().apply { _1csp = 3.40.sp _2csp = 6.80.sp _3csp = 10.20.sp _4csp = 13.60.sp _5csp = 17.00.sp _6csp = 20.40.sp _7csp = 23.80.sp _8csp = 27.20.sp _9csp = 30.60.sp _10csp = 34.00.sp _11csp =...
0
Kotlin
0
4
58a6b1134c4fcf5a53d41c0acffe0430640e5676
3,561
csp
MIT License
ide-common/src/main/kotlin/org/digma/intellij/plugin/env/EnvironmentsSupplier.kt
digma-ai
472,408,329
false
{"Kotlin": 1357472, "Java": 547090, "C#": 115880, "HTML": 16050, "FreeMarker": 13789, "Shell": 6494}
package org.digma.intellij.plugin.env interface EnvironmentsSupplier { fun getEnvironments(): List<Env> fun getEnvironmentsNames(): List<String> fun setCurrent(selectedItem: String?) /** * a variant of setCurrent that notifies all listeners not to update the insights view. and will run a task r...
430
Kotlin
7
22
8995a81e2ede5d60ec5979319a876a1a9026b922
731
digma-intellij-plugin
MIT License
libs/membership/membership-datamodel/src/main/kotlin/net/corda/membership/datamodel/ApprovalRulesEntity.kt
corda
346,070,752
false
null
package net.corda.membership.datamodel import net.corda.db.schema.DbSchema import java.io.Serializable import java.util.Objects import javax.persistence.Column import javax.persistence.Embeddable import javax.persistence.Entity import javax.persistence.Id import javax.persistence.IdClass import javax.persistence.Table...
96
null
27
69
d478e119ab288af663910f9a2df42a7a7b9f5bce
1,503
corda-runtime-os
Apache License 2.0
app/src/main/java/com/motionapps/sensorbox/fragments/advanced/extrahandlers/AlarmHandler.kt
Foxpace
297,182,599
false
null
package com.motionapps.sensorbox.fragments.advanced.extrahandlers import android.app.Dialog import android.content.Context import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.Window import android.widget.* import androidx.fragment.app.Fragment import com.motionapps....
4
Kotlin
7
8
8f3adacb38f437ea3d85a886a6f8acbb3e8d2e0e
9,816
SensorBox
Apache License 2.0
src/main/kotlin/extensions/String.kt
FACUA
122,469,261
false
null
package extensions val String.isS3Redirection get(): Boolean = "s3-website-[a-z0-9-]+\\.amazonaws\\.com\\." .toRegex() .matches(this) /** * Hosted zone record sets have a trailing dot, like this: * example.com. * and we want: * example.com */ val String.s3BucketName get(): String = "(.+)\\." .toRegex() .m...
1
Kotlin
0
3
ceec58a8cd8301224ae1cf917c9a0831572c1624
738
aws-redirect-manager
MIT License
android/library-magiccube/src/main/java/com/hellobike/magiccube/v2/StyleModelCache.kt
hellof2e
651,011,094
false
{"Kotlin": 499995, "Objective-C": 421129, "JavaScript": 39299, "Java": 29943, "Swift": 24514, "Ruby": 5345, "TypeScript": 3969, "Shell": 255}
package com.hellobike.magiccube.v2 import android.util.LruCache import com.hellobike.magiccube.model.StyleModel import com.hellobike.magiccube.utils.tryCatch internal object StyleModelCache { private val cardStyleModels = LruCache<String, StyleModel>(30) fun hasValidStyleModel(url: String): Boolean = ...
3
Kotlin
9
60
8123fdaafa9ee7eaeee43fb73789b7fa3feac697
1,109
Wukong
Apache License 2.0
android/library-magiccube/src/main/java/com/hellobike/magiccube/v2/StyleModelCache.kt
hellof2e
651,011,094
false
{"Kotlin": 499995, "Objective-C": 421129, "JavaScript": 39299, "Java": 29943, "Swift": 24514, "Ruby": 5345, "TypeScript": 3969, "Shell": 255}
package com.hellobike.magiccube.v2 import android.util.LruCache import com.hellobike.magiccube.model.StyleModel import com.hellobike.magiccube.utils.tryCatch internal object StyleModelCache { private val cardStyleModels = LruCache<String, StyleModel>(30) fun hasValidStyleModel(url: String): Boolean = ...
3
Kotlin
9
60
8123fdaafa9ee7eaeee43fb73789b7fa3feac697
1,109
Wukong
Apache License 2.0
src/main/java/test/BJTUTest.kt
YZune
232,583,513
false
null
package main.java.test import main.java.parser.BJTUParser import java.io.File //北京交通大学本科 fun main(){ val file = File("C:\\Users\\14223\\Desktop\\北京交通大学教学服务管理平台01.html") val parser = BJTUParser(file.readText()) parser.saveCourse() }
0
null
119
96
2bc26e588f80cb7f9a1715b02309b653ba090454
245
CourseAdapter
MIT License
src/main/java/team/redrock/rain/arathoth/Arathoth.kt
ColdRain-Moro
611,618,522
false
null
package team.redrock.rain.arathoth import kotlinx.coroutines.CoroutineScope import kotlinx.coroutines.Dispatchers import taboolib.common.env.RuntimeDependencies import taboolib.common.env.RuntimeDependency import taboolib.common.platform.Plugin import taboolib.common.platform.event.SubscribeEvent import taboolib.commo...
0
Kotlin
0
0
ff6719c57c8f8ce8b48711d8af2a11e7ae858232
1,161
Arathoth-IV
Creative Commons Zero v1.0 Universal
2737.Find the Closest Marked Node.kt
sarvex
842,260,390
false
{"Kotlin": 1775678, "PowerShell": 418}
import java.util.* internal class Solution { fun minimumDistance(n: Int, edges: List<List<Int?>>, s: Int, marked: IntArray): Int { val inf = 1 shl 29 val g = Array(n) { IntArray(n) } for (e in g) { Arrays.fill(e, inf) } for (e in edges) { val u: Int = e[0] val v: Int = e[1] ...
0
Kotlin
0
0
17a80985d970c8316fb694e4952692e598d700af
878
kotlin-leetcode
MIT License
app/src/main/kotlin/me/liuyun/bjutlgn/ui/UserActivity.kt
yunowo
55,282,179
false
null
package me.liuyun.bjutlgn.ui import android.content.SharedPreferences import android.os.Bundle import android.text.SpannableStringBuilder import android.text.Spanned import android.text.style.TextAppearanceSpan import android.view.LayoutInflater import android.view.ViewGroup import android.widget.ArrayAdapter import a...
10
Kotlin
1
7
65842c934a79d55a78662d03f3d34560c30c2aab
7,466
BJUTWiFi
MIT License
ion-schema/src/main/kotlin/com/amazon/ionschema/internal/DeferredReferenceManager.kt
amazon-ion
148,685,964
false
{"Kotlin": 804755, "Inno Setup": 15625, "Java": 795, "Shell": 631}
/* * Copyright 2023 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://www.apache.org/licenses/LICENSE-2.0 * * or in ...
40
Kotlin
14
27
7a9ee6d06e9cfdaa530310f5d9be9f5a52680d3b
6,631
ion-schema-kotlin
Apache License 2.0
springboot-starter/src/main/kotlin/com/labijie/infra/aspect/DistributedSynchronizedAspect.kt
hongque-pro
307,931,824
false
{"Kotlin": 143121}
package com.labijie.infra.aspect import com.labijie.infra.annotation.DistributedSynchronized import com.labijie.infra.distribution.IDistributedLock import com.labijie.infra.distribution.LockScope import com.labijie.infra.utils.ifNullOrBlank import org.aspectj.lang.JoinPoint import org.aspectj.lang.ProceedingJoinPoint ...
0
Kotlin
0
3
d486e2d186a1074473e874e3882b478a42239b64
1,599
infra-commons
Apache License 2.0
kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/EcrDockerCredentialOptions.kt
cloudshiftinc
667,063,030
false
{"Kotlin": 142794926}
@file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION") package io.cloudshiftdev.awscdk.pipelines import io.cloudshiftdev.awscdk.common.CdkDslMarker import io.cloudshiftdev.awscdk.common.CdkObject i...
1
Kotlin
0
4
a18731816a3ec710bc89fb8767d2ab71cec558a6
4,735
kotlin-cdk-wrapper
Apache License 2.0
privacysandbox/ads/ads-adservices/src/main/java/androidx/privacysandbox/ads/adservices/common/KeyedFrequencyCap.kt
androidx
256,589,781
false
{"Kotlin": 112114129, "Java": 66594571, "C++": 9132142, "AIDL": 635065, "Python": 325169, "Shell": 194520, "TypeScript": 40647, "HTML": 35176, "Groovy": 27178, "ANTLR": 26700, "Svelte": 20397, "CMake": 15512, "C": 15043, "GLSL": 3842, "Swift": 3153, "JavaScript": 3019}
/* * Copyright 2023 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
29
Kotlin
937
5,321
98b929d303f34d569e9fd8a529f022d398d1024b
2,748
androidx
Apache License 2.0
library/src/main/java/io/github/achmadhafid/toolbar_badge_menu_item/ToolbarBadgeKtx.kt
AchmadHafid
169,933,361
false
null
package io.github.achmadhafid.toolbar_badge_menu_item import android.view.Menu import androidx.appcompat.app.AppCompatActivity import androidx.fragment.app.Fragment fun AppCompatActivity.createToolbarBadge( menu: Menu, config: ToolbarBadgeConfig.() -> Unit ) = ToolbarBadgeConfig(ToolbarBadgeColor()).apply(con...
0
Kotlin
2
5
dbffc26a9f8756c354d7b13ee009898e61e03406
621
ToolbarBadgeMenuItem
Apache License 2.0
app/src/main/java/com/app/skyss_companion/model/geocode/Engine.kt
martinheitmann
339,335,251
false
null
package com.app.skyss_companion.model.geocode import com.squareup.moshi.JsonClass @JsonClass(generateAdapter = true) data class Engine( val name: String, val author: String, val version: String, )
0
Kotlin
0
1
a4a79e658643731cd76617cdb9458aa1f742d4c3
211
bus-companion
MIT License
src/main/kotlin/com/personia/plugins/Authentication.kt
fractalliter
482,401,665
false
null
package com.personia.plugins import com.auth0.jwt.JWT import com.auth0.jwt.algorithms.Algorithm import io.ktor.http.* import io.ktor.server.application.* import io.ktor.server.auth.* import io.ktor.server.auth.jwt.* import io.ktor.server.config.* import io.ktor.server.response.* fun Application.configureAuthenticatio...
2
null
7
9
832099f2ae2f1c977c7a651d33ef56f390dc9ed8
1,311
ktor-postgres-backend
MIT License
later/core/src/awaitedMain/kotlin/koncurrent/LaterConstructorsActuals.kt
aSoft-Ltd
521,074,922
false
{"Kotlin": 89425, "Java": 1554, "JavaScript": 348}
@file:Suppress( "FunctionName", "NON_EXPORTABLE_TYPE", "NOTHING_TO_INLINE", "ACTUAL_WITHOUT_EXPECT" ) package koncurrent import kase.progress.ProgressBus import kase.progress.ProgressPublisher import kase.progress.VoidProgressBus import kollections.List import kase.Result import kase.Success import k...
0
Kotlin
0
2
0e2a6b9955fca321dce3f1bc7d2b7dce6765b0c8
1,636
koncurrent
MIT License
knowledgebase-gui/src/main/java/ru/usedesk/knowledgebase_gui/screens/article/ArticlePagesAdapter.kt
usedesk
127,645,126
false
null
package ru.usedesk.knowledgebase_gui.screens.article import androidx.fragment.app.Fragment import androidx.fragment.app.FragmentManager import androidx.fragment.app.FragmentStatePagerAdapter import androidx.lifecycle.LifecycleCoroutineScope import androidx.viewpager.widget.ViewPager import ru.usedesk.common_gui.onEach...
0
Kotlin
7
3
869286167808166a3e0b88ebc874ea2b87b75011
2,467
Android_SDK
MIT License
js/js.translator/testData/box/expression/evaluationOrder/concatWithTerminator.kt
JakeWharton
99,388,807
false
null
// EXPECTED_REACHABLE_NODES: 1110 package foo fun box(): String { return "Fail${return "OK"}${return "Fail2"}" }
0
null
28
83
4383335168338df9bbbe2a63cb213a68d0858104
118
kotlin
Apache License 2.0
feature_rss_list/src/main/java/com/phicdy/mycuration/rss/RssListUpdateAction.kt
phicdy
24,188,186
false
{"Kotlin": 688608, "HTML": 1307, "Shell": 1127}
package com.phicdy.mycuration.rss import com.phicdy.mycuration.core.Action class RssListUpdateAction(override val value: RssListUpdateState) : Action<RssListUpdateState>
43
Kotlin
9
30
6c8bafba7341c1003da2196bd618b9505f32e42c
172
MyCuration
MIT License
android/common-ui/src/main/java/any/ui/common/widget/ServicesPopup.kt
dokar3
572,488,513
false
null
package any.ui.common.widget import androidx.compose.animation.AnimatedVisibility import androidx.compose.animation.core.FastOutSlowInEasing import androidx.compose.animation.core.Spring import androidx.compose.animation.core.spring import androidx.compose.animation.core.tween import androidx.compose.animation.fadeIn ...
1
Kotlin
0
11
5161c783d0ec054bfaf2889b6573aef9ac2815d7
12,600
any
Apache License 2.0
pleo-antaeus-core/src/main/kotlin/io/pleo/antaeus/core/services/billing/BillingService.kt
hkorkmaz
207,559,808
false
null
package io.pleo.antaeus.core.services.billing import io.pleo.antaeus.core.exceptions.InsufficientFundException import io.pleo.antaeus.core.external.PaymentProvider import io.pleo.antaeus.core.services.InvoiceService import io.pleo.antaeus.models.InvoiceStatus import mu.KotlinLogging private val logger = KotlinLogging...
0
Kotlin
0
0
8eeaf3faea40d6a74ebe34bff70245f892c2d08c
1,134
pleo-challenge
Creative Commons Zero v1.0 Universal
frogocoreconsumeapi/src/main/java/com/frogobox/coreapi/movie/model/TvDetailsNetwork.kt
frogobox
389,577,716
false
null
package com.frogobox.coreapi.movie.model data class TvDetailsNetwork( val id: Int?, val logo_path: String?, val name: String?, val origin_country: String? )
0
Kotlin
2
7
1dd90a037f9acb2ba30066f753d35f7b909621a6
173
frogo-consume-api
Apache License 2.0
theme/src/main/java/projekt/commons/theme/backend/SynergyBackend.kt
prjkt-io
204,901,746
false
{"Kotlin": 87948, "Shell": 933}
/* * Copyright (c) 2019, Projekt Development LLC. * * SPDX-License-Identifier: Apache-2.0 */ package projekt.commons.theme.backend import android.content.Intent import android.os.Parcelable import androidx.core.content.FileProvider import projekt.andromeda.client.util.OverlayInfo.OverlayState.STATE_DISABLED impor...
0
Kotlin
0
2
c31faa3f6876be8b71c9debc304c13fbf9935502
3,072
android-commons
Apache License 2.0
marketkit/src/main/java/io/horizontalsystems/marketkit/models/NftPrice.kt
horizontalsystems
408,718,031
false
{"Kotlin": 191652}
package io.definenulls.marketkit.models import java.math.BigDecimal data class NftPrice( val token: Token, val value: BigDecimal )
1
Kotlin
23
9
872cb042bdd6eb9063ecb3a2e3954f3954b501bf
141
market-kit-android
MIT License
src/test/java/org/jetbrains/plugins/ideavim/action/copy/YankAndPutTest.kt
JetBrains
1,459,486
false
null
/* * Copyright 2003-2023 The IdeaVim authors * * Use of this source code is governed by an MIT-style * license that can be found in the LICENSE.txt file or at * https://opensource.org/licenses/MIT. */ package org.jetbrains.plugins.ideavim.action.copy import com.maddyhome.idea.vim.api.injector import com.maddyho...
8
null
749
9,241
66b01b0b0d48ffec7b0148465b85e43dfbc908d3
2,818
ideavim
MIT License
platform-domain/src/main/kotlin/org/ossiaustria/amigo/platform/domain/repositories/AlbumRepository.kt
ossi-austria
430,611,101
false
null
package org.ossiaustria.amigo.platform.domain.repositories import org.ossiaustria.amigo.platform.domain.models.Album import org.springframework.data.repository.CrudRepository import org.springframework.stereotype.Repository import java.util.UUID @Repository internal interface AlbumRepository : CrudRepository<Album, U...
0
Kotlin
0
1
0d19a0b0c4d7d55a8f9b74bf2632ea655e373deb
526
amigo-server
MIT License
src/tr/hayalistic/src/eu/kanade/tachiyomi/extension/tr/hayalistic/Hayalistic.kt
keiyoushi
740,710,728
false
{"Kotlin": 5826268, "JavaScript": 2160}
package eu.kanade.tachiyomi.extension.tr.hayalistic import eu.kanade.tachiyomi.multisrc.madara.Madara class Hayalistic : Madara("Hayalistic", "https://hayalistic.com", "tr")
218
Kotlin
251
1,073
4ef8962bc417dc0b34753f6fc0535107799a6f32
176
extensions-source
Apache License 2.0
device-explorer-files/src/com/android/tools/idea/device/explorer/files/adbimpl/AdbDeviceCapabilities.kt
JetBrains
60,701,247
false
{"Kotlin": 53054415, "Java": 43443054, "Starlark": 1332164, "HTML": 1218044, "C++": 507658, "Python": 191041, "C": 71660, "Lex": 70302, "NSIS": 58238, "AIDL": 35382, "Shell": 29838, "CMake": 27103, "JavaScript": 18437, "Smali": 7580, "Batchfile": 7357, "RenderScript": 4411, "Clean": 3522, "Makefile": 2495, "IDL": 19}
/* * Copyright (C) 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 app...
5
Kotlin
227
948
10110983c7e784122d94c7467e9d243aba943bf4
13,232
android
Apache License 2.0
app/src/main/java/jr/brian/rickandmortyrest/model/local/rmcharacter/CharacterResult.kt
BrianJr03
794,274,786
false
{"Kotlin": 55456}
package jr.brian.rickandmortyrest.model.local.rmcharacter import jr.brian.rickandmortyrest.model.local.Character data class CharacterResult( val info: Info, val results: List<Character> )
0
Kotlin
1
0
1e0d4d0fbc560d987fc59a3e6d6cbfff794f22e7
197
Rick-And-Morty
MIT License
app/src/main/java/jr/brian/rickandmortyrest/model/local/rmcharacter/CharacterResult.kt
BrianJr03
794,274,786
false
{"Kotlin": 55456}
package jr.brian.rickandmortyrest.model.local.rmcharacter import jr.brian.rickandmortyrest.model.local.Character data class CharacterResult( val info: Info, val results: List<Character> )
0
Kotlin
1
0
1e0d4d0fbc560d987fc59a3e6d6cbfff794f22e7
197
Rick-And-Morty
MIT License
services/csm.cloud.reset/src/main/kotlin/com/bosch/pt/iot/smartsite/reset/boundary/ProjectStatisticsServiceResetService.kt
boschglobal
805,348,245
false
{"Kotlin": 13156190, "HTML": 274761, "Go": 184388, "HCL": 158560, "Shell": 117666, "Java": 52634, "Python": 51306, "Dockerfile": 10348, "Vim Snippet": 3969, "CSS": 344}
/* * ************************************************************************ * * Copyright: Robert Bosch Power Tools GmbH, 2018 - 2022 * * ************************************************************************ */ package com.bosch.pt.iot.smartsite.reset.boundary import com.bosch.pt.iot.smartsite.reset...
0
Kotlin
3
9
9f3e7c4b53821bdfc876531727e21961d2a4513d
843
bosch-pt-refinemysite-backend
Apache License 2.0
app/src/main/java/com/example/instagramclone/domain/use_cases/user_use_cases/GetUserDetails.kt
maryam2070
747,865,960
false
{"Kotlin": 347845}
package com.example.instagramclone.domain.use_cases.user_use_cases import com.example.instagramclone.domain.repository.UserRepository import javax.inject.Inject class GetUserDetails @Inject constructor( val repository: UserRepository ) { operator fun invoke(userId: String) = repository.getUserDetails(userId =...
0
Kotlin
0
3
a7c1053d6de2af3d7da556fcdda6527e8a438878
330
Instagram_Clone
MIT License
app/src/main/java/com/barryzhang/gankkotlin/data/remote/SimpleSubscriber.kt
barryhappy
64,583,744
false
null
package com.barryzhang.gankkotlin.data.remote import android.app.Activity import android.widget.Toast import com.barryzhang.gankkotlin.ext.toast import com.barryzhang.gankkotlin.ui.base.BaseActivity import com.barryzhang.gankkotlin.ui.wiget.LoadingDialog import rx.Subscriber /** * <EMAIL> * https://github.com/barry...
1
Kotlin
10
32
d5f12648d5a28cb3626e595db5f5fd6dde6935ae
1,257
Gank.Kotlin
Apache License 2.0
src/main/kotlin/io/sc3/library/recipe/ShapedRecipeSpec.kt
SwitchCraftCC
536,362,058
false
null
package io.sc3.library.recipe import com.google.gson.JsonObject import io.sc3.library.ScLibrary.ModId import net.minecraft.item.ItemStack import net.minecraft.network.PacketByteBuf import net.minecraft.recipe.Ingredient import net.minecraft.recipe.RecipeSerializer import net.minecraft.recipe.ShapedRecipe import net.mi...
0
null
0
2
cc988b7fbe4ff0798f3db39e646db01255307ab3
1,853
sc-library
MIT License
plugins/kotlin/idea/tests/testData/quickfix/typeMismatch/numberConversion/toChar/byte.kt
JetBrains
2,489,216
false
null
// "Convert expression to 'Char'" "true" fun char(x: Char) {} fun test(b: Byte) { char(<caret>b) }
233
null
4912
15,461
9fdd68f908db0b6bb6e08dc33fafb26e2e4712af
104
intellij-community
Apache License 2.0
app/src/test/java/in/testpress/testpress/util/RegistrationFormEmptyInputValidatorTest.kt
testpress
32,573,386
false
{"Gemfile.lock": 1, "Java Properties": 4, "Gradle": 8, "Batchfile": 2, "INI": 2, "Shell": 2, "Text": 1, "Ignore List": 2, "Git Attributes": 1, "YAML": 4, "Markdown": 4, "Ruby": 7, "JSON": 3, "Kotlin": 56, "Java": 183, "XML": 155, "CSS": 1, "JavaScript": 1, "Python": 1}
package `in`.testpress.testpress.util import `in`.testpress.testpress.models.UserDetails import `in`.testpress.testpress.util.fakes.FakeRegistrationFormEmptyInputValidation import org.junit.Assert import org.junit.Test import org.junit.runner.RunWith import org.junit.runners.JUnit4 @RunWith(JUnit4::class) class Regis...
29
Java
4
9
bddfa5b62235296b8f8a96bcb013afc4a746956c
1,903
android
MIT License
room/room-compiler/src/main/kotlin/androidx/room/solver/query/result/CoroutineFlowResultBinder.kt
androidx
256,589,781
false
{"Kotlin": 112114129, "Java": 66594571, "C++": 9132142, "AIDL": 635065, "Python": 325169, "Shell": 194520, "TypeScript": 40647, "HTML": 35176, "Groovy": 27178, "ANTLR": 26700, "Svelte": 20397, "CMake": 15512, "C": 15043, "GLSL": 3842, "Swift": 3153, "JavaScript": 3019}
/* * Copyright 2019 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
29
Kotlin
978
5,321
98b929d303f34d569e9fd8a529f022d398d1024b
6,046
androidx
Apache License 2.0
solar/src/main/java/com/chiksmedina/solar/boldduotone/like/HeartBroken.kt
CMFerrer
689,442,321
false
{"Kotlin": 36591890}
package com.chiksmedina.solar.boldduotone.like import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap.Companion.Butt import androidx.compose.ui.graphics.StrokeJoin.Companio...
0
Kotlin
0
0
3414a20650d644afac2581ad87a8525971222678
3,999
SolarIconSetAndroid
MIT License
data/src/main/java/uk/co/applylogic/marvel/data/di/module/ApplicationModule.kt
golanshy
224,468,840
false
null
package uk.co.applylogic.marvel.data.di.module import android.app.Application import android.content.Context import uk.co.applylogic.marvel.data.di.qualifier.ApplicationContext import dagger.Module import dagger.Provides import javax.inject.Singleton @Module class ApplicationModule(private val context: Context) { ...
0
Kotlin
0
1
96b12dc42a37613ce8cf76d969adcee59ae9bcf0
591
marvel_demo
Apache License 2.0
subprojects/client-gui/src/main/kotlin/com/handtruth/mc/mcsman/client/gui/view/MCSManView.kt
handtruth
417,843,728
false
null
package com.handtruth.mc.mcsman.client.gui.view import com.handtruth.mc.mcsman.client.gui.Styles import com.handtruth.mc.mcsman.client.gui.util.CoroutineView import javafx.animation.Timeline import javafx.beans.property.SimpleDoubleProperty import javafx.geometry.VPos import javafx.util.Duration import tornadofx.* imp...
0
Kotlin
0
0
58b2d4bd0413522dbf1cbabc1c8bab78e1b1edfe
3,971
mcsman
Apache License 2.0
library/src/main/kotlin/fr/rolandl/rijsel/lifecycle/DummyRijselComposeViewModel.kt
ludovicroland
527,699,170
false
{"Kotlin": 212529}
package fr.rolandl.rijsel.lifecycle import android.app.Application import androidx.lifecycle.SavedStateHandle /** * A default RijselViewModel implementation in order to provide a default value to the * [fr.rolandl.rijsel.activity.RijselComposeSplashscreenActivity] activity * * @author <NAME> * @since 2022.04.11 ...
0
Kotlin
0
0
9f388b307ebf452ddea97769aed4b10a91630502
535
rijsel-android
MIT License
presentation/src/main/kotlin/io/petros/github/presentation/image/glide/GeneratedGlideModule.kt
ParaskP7
140,927,471
false
{"Kotlin": 118109}
package io.petros.github.presentation.image.glide import com.bumptech.glide.annotation.GlideModule import com.bumptech.glide.module.AppGlideModule @GlideModule class GeneratedGlideModule : AppGlideModule()
0
Kotlin
1
9
ad9c53165db32af9ca08e4ae3ca4ea9b30e24d2e
208
sample-code-github
Apache License 2.0
pcbridge-spigot/src/main/kotlin/com/projectcitybuild/integrations/essentials/EssentialsIntegration.kt
projectcitybuild
42,997,941
false
null
package com.projectcitybuild.integrations.essentials import com.earth2me.essentials.Essentials import com.projectcitybuild.events.PlayerPreWarpEvent import com.projectcitybuild.integrations.SpigotIntegration import com.projectcitybuild.pcbridge.core.contracts.PlatformLogger import org.bukkit.event.EventHandler import ...
9
Kotlin
0
3
8d28ab2bd10ef2dde00d7d5772ff0a5ea94c0a2b
1,704
PCBridge
MIT License
app/src/main/java/me/hegj/wandroid/mvp/ui/adapter/CollectAdapter.kt
hegaojian
206,478,384
false
null
package me.hegj.wandroid.mvp.ui.adapter import android.text.Html import android.text.TextUtils import com.chad.library.adapter.base.BaseQuickAdapter import com.chad.library.adapter.base.BaseViewHolder import com.chad.library.adapter.base.util.MultiTypeDelegate import com.jess.arms.http.imageloader.glide.ImageConfigImp...
1
null
100
713
622016c9695c01f3a134a23c4af1f76686aad6f1
4,834
WanAndroid
Apache License 2.0
cropper/src/main/kotlin/com/canhub/cropper/CropImageContractOptions.kt
CanHub
314,844,143
false
{"Kotlin": 264782}
package com.canhub.cropper import android.net.Uri @Deprecated( """ This ActivityResultContract is deprecated. Please either roll your own ActivityResultContract with the desired behavior or copy paste this. """, ) data class CropImageContractOptions( val uri: Uri?, val cropImageOptions: CropImageOptions, )
11
Kotlin
259
1,248
71c372b671b06dcba61b4804f1e6cc0e1cb1a66d
320
Android-Image-Cropper
Apache License 2.0
src/test/kotlin/com/statsradio/lambdas/tracing/LambdaTracingFactoryTest.kt
statsradio
205,160,037
false
null
package com.statsradio.lambdas.tracing import assertk.assertThat import assertk.assertions.isEqualTo import assertk.assertions.isInstanceOf import com.statsradio.lambdas.contexts.env.TestEnvLoader import com.statsradio.tracing.Settings import com.statsradio.tracing.Tracer import com.statsradio.tracing.TracerFactory im...
6
Kotlin
0
2
df694704ffa1b704207d18596fc7d889ccabf49d
3,128
aws-lambda4j
MIT License
idea/src/org/jetbrains/kotlin/idea/injection/KotlinLanguageInjector.kt
gigliovale
89,726,097
false
null
/* * Copyright 2010-2016 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
1
null
4
6
ce145c015d6461c840050934f2200dbc11cb3d92
8,610
kotlin
Apache License 2.0
idea/src/org/jetbrains/kotlin/idea/injection/KotlinLanguageInjector.kt
gigliovale
89,726,097
false
null
/* * Copyright 2010-2016 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
1
null
4
6
ce145c015d6461c840050934f2200dbc11cb3d92
8,610
kotlin
Apache License 2.0
kotlin-mui-icons/src/main/generated/mui/icons/material/RttOutlined.kt
JetBrains
93,250,841
false
null
// Automatically generated - do not modify! @file:JsModule("@mui/icons-material/RttOutlined") package mui.icons.material @JsName("default") external val RttOutlined: SvgIconComponent
12
null
5
983
a99345a0160a80a7a90bf1adfbfdc83a31a18dd6
186
kotlin-wrappers
Apache License 2.0
src/commonMain/kotlin/BoardGraphicsState.kt
simenvg
340,636,770
false
null
import com.soywiz.korge.view.RoundRect class BoardGraphicsState(selectedCellView: RoundRect, row: Int, col: Int) { var selectedCellView = selectedCellView var row = row var col = col }
0
Kotlin
0
1
620806e13b4439b8b4441cf6c2bffb104964f555
197
kChess
MIT License
app/models/src/main/java/com/danielvilha/models/network/OpenWeatherApi.kt
danielvilha
403,757,694
false
{"Kotlin": 54460}
package com.danielvilha.models.network import com.jakewharton.retrofit2.adapter.kotlin.coroutines.CoroutineCallAdapterFactory import retrofit2.Retrofit import retrofit2.converter.gson.GsonConverterFactory /** * Created by <NAME> 27/01/2024. */ private const val BASE_URL = "https://api.openweathermap.org/data/3.0/" ...
0
Kotlin
0
0
935e784111731bdce57e4e46b10f1913d391dc22
655
kotlin-open-weather
The Unlicense
compiler/testData/diagnostics/tests/inference/pcla/fixationOnDemand/scopeNavigation/genericScopeOwner/GenericCallableReference.kt
JetBrains
3,432,266
false
{"Kotlin": 79571273, "Java": 6776465, "Swift": 4063829, "C": 2609744, "C++": 1957654, "Objective-C++": 175279, "JavaScript": 130754, "Python": 59855, "Shell": 34920, "Objective-C": 21463, "Lex": 21452, "Batchfile": 11382, "CSS": 11368, "Ruby": 10470, "Dockerfile": 9907, "Groovy": 7092, "EJS": 5241, "CMake": 4473, "HTML...
// ISSUE: KT-71662 fun test() { val resultA = pcla { otvOwner -> otvOwner.constrain(ScopeOwner(Value)) // should fix OTv := ScopeOwner<Value> for scope navigation val callable = otvOwner.provide()::<!UNRESOLVED_REFERENCE!>memberFunction<!> <!DEBUG_INFO_MISSING_UNRESOLVED!>callable(T...
181
Kotlin
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
5,146
kotlin
Apache License 2.0
src/main/kotlin/dev/arli/openapi/mapper/HeaderMapper.kt
alipovatyi
487,519,792
false
{"Kotlin": 451322}
package dev.arli.openapi.mapper import dev.arli.openapi.annotation.Header import dev.arli.openapi.model.HeaderComponent import dev.arli.openapi.model.HeaderObject import dev.arli.openapi.parser.HeaderNameParser import kotlin.reflect.KProperty import kotlin.reflect.full.findAnnotation internal class HeaderMapper( ...
0
Kotlin
1
1
3637b43dc2e255f263b559a5a80ebf80f3e78d96
1,017
ktor-openapi
Apache License 2.0
src/nl/hannahsten/texifyidea/completion/pathcompletion/LatexPathProviderBase.kt
niknetniko
275,614,106
true
{"Gradle": 2, "Java Properties": 1, "Markdown": 7, "Shell": 1, "Text": 2, "Ignore List": 1, "Batchfile": 1, "EditorConfig": 1, "YAML": 3, "Kotlin": 530, "Java": 93, "TeX": 31, "BibTeX": 3, "INI": 1, "XML": 5, "JFlex": 2, "CODEOWNERS": 1, "SVG": 74, "HTML": 98, "Python": 1}
package nl.hannahsten.texifyidea.completion.pathcompletion import com.intellij.codeInsight.completion.CompletionParameters import com.intellij.codeInsight.completion.CompletionProvider import com.intellij.codeInsight.completion.CompletionResultSet import com.intellij.codeInsight.lookup.LookupElement import com.intelli...
0
null
0
0
ddb3790dd4eadf482caa511bbee1039dc4367d0a
9,219
TeXiFy-IDEA
MIT License
core/src/main/kotlin/com/example/core/sign/application/port/out/command/VerifyAuthenticationSuccessCommand.kt
PARKPARKWOO
737,782,254
false
{"Kotlin": 206755}
package com.example.core.sign.application.port.out.command import java.util.UUID data class VerifyAuthenticationSuccessCommand( val email: String, val authenticationString: UUID, )
8
Kotlin
0
0
01438f0d1e0edb69f179e54c7649e9e85dc5b7b0
191
health-trainer-backend
Apache License 2.0
app/src/androidTest/java/com/jnyakush/maktaba/ExampleInstrumentedTest.kt
nyumbapoa
275,025,035
false
null
package com.jnyakush.maktaba import androidx.test.platform.app.InstrumentationRegistry import androidx.test.ext.junit.runners.AndroidJUnit4 import org.junit.Test import org.junit.runner.RunWith import org.junit.Assert.* /** * Instrumented test, which will execute on an Android device. * * See [testing documentat...
1
Kotlin
0
0
d034cd1999d367d3b1d71a04a16bf2743fcc9e94
668
maktaba
MIT License
app/src/main/java/com/theandroidcoffee/bottomnavigation_multistack/contacts/ContactListFragment.kt
theandroidcoffee
309,079,727
false
null
/* * * * Copyright 2020, * * ☕ Marco Finadri - theandroidcoffee.com ☕ * * * * 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/l...
0
Kotlin
0
1
8d31f83e0138dfc47be59b2aa42207fa27d2afac
3,445
BottomNavigation_MultiStack
Apache License 2.0
week10/bankClass.kt
AleS2478
747,264,223
false
{"Kotlin": 10185}
class BankAccount( val accountNumber: String, val balance: Int, val ownerName: String ) fun main(){ val c1 = BankAccount ("123456789123", 500, "<NAME>") println(c1.accountNumber) println(c1.balance) println(c1.ownerName) }
0
Kotlin
0
0
c61a496d6f2fc590d874beb378448b6a5138c4c5
251
Kotlin
MIT License
api/src/test/kotlin/com/seedcompany/cordtables/up/UpPrayerRequestsTestSuite.kt
CordField
409,237,733
false
null
package com.seedcompany.cordtables.up import com.seedcompany.cordtables.TestUtility import com.seedcompany.cordtables.admin.AdminPeopleTestUtility import com.seedcompany.cordtables.admin.AdminUsersTestUtility import com.seedcompany.cordtables.common.CommonLanguagesTestUtility import com.seedcompany.cordtables.componen...
93
Kotlin
1
3
7e5588a8b3274917f9a5df2ffa12d27db23fb909
6,275
cordtables
MIT License
app/src/main/java/com/shentu/brvlinkagerecyclerview/bean/Wallpaper.kt
walkthehorizon
361,345,417
false
null
package com.shentu.brvlinkagerecyclerview.bean data class Wallpaper( val name: String = "name", val url: String = "https://wallpager-1251812446.cos.ap-beijing.myqcloud.com/image/7322/2a6a73383fb2eefc737284e63bff9f97cd41167d.jpg", val desc: String = "", )
1
Kotlin
2
1
ec965df8e1a7e9dfeca5e759d2d34b8fedd076bb
267
BrvLinkageRecyclerView
Apache License 2.0
app/src/main/java/ge/nnasaridze/messengerapp/scenes/chat/presentation/recycler/RecyclerMessageEntity.kt
nikushaa991
388,067,994
false
null
package ge.nnasaridze.messengerapp.scenes.chat.presentation.recycler data class RecyclerMessageEntity( var text: String, var timestamp: Long, var sent: Boolean, )
0
Kotlin
0
0
5fa22a79e9e7c7866afcad22cd6e511551f6bcde
175
Android-MessengerApp
MIT License
src/commonTest/kotlin/com/michaeltroger/latintocyrillic/ukrainian/UkrainianLatinToCyrillicTest.kt
michaeltroger
415,145,615
false
{"Kotlin": 93788}
package com.michaeltroger.latintocyrillic.ukrainian import com.michaeltroger.latintocyrillic.Alphabet import com.michaeltroger.latintocyrillic.LatinCyrillic import com.michaeltroger.latintocyrillic.LatinCyrillicImpl import com.michaeltroger.latintocyrillic.runBlockingTest import kotlin.test.BeforeTest import kotlin.te...
0
Kotlin
2
2
33fe806cbba2f1bc7cb0784841883417a23df103
2,022
latin-to-cyrillic
MIT License
src/main/kotlin/com/sandrabot/sandra/commands/essential/Help.kt
sandrabot
121,549,855
false
{"Kotlin": 185578}
/* * Copyright 2017-2024 <NAME> and <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...
1
Kotlin
3
9
de60e73553ca81daac1f111824b5573bc0233591
4,303
sandra
Apache License 2.0
app/src/test/java/com/rafaelds/swapi/data/model/planets/PlanetsDtoToPlanetListMapperTest.kt
themobilecoder
376,679,661
false
null
package com.rafaelds.swapi.data.model.planets import com.rafaelds.swapi.data.TestData.PLANET import com.rafaelds.swapi.data.TestData.PLANET_DTO import org.junit.Test import kotlin.test.assertEquals class PlanetsDtoToPlanetListMapperTest { private val planetsDtoToPlanetListMapper = PlanetsDtoToPlanetListMapper() ...
0
Kotlin
0
3
b13f3b682c9701c2c64d6610950fb4d4f2b02725
645
swapi
MIT License
src/main/kotlin/component/TabMenu.kt
cybernetics
340,575,199
true
{"Kotlin": 11149}
package component import androidx.compose.animation.core.Animatable import androidx.compose.foundation.Canvas import androidx.compose.foundation.clickable import androidx.compose.foundation.horizontalScroll import androidx.compose.foundation.layout.* import androidx.compose.foundation.rememberScrollState import androi...
0
null
0
0
12ffea35d2d98d546ad873cac6c0a818d02f6207
3,165
Compose-Tab-Component
MIT License
src/main/kotlin/com/github/myra/kmongo/Serializers.kt
MyraBot
405,667,559
false
{"Kotlin": 32420}
package com.github.myra.kmongo import kotlinx.serialization.KSerializer import kotlinx.serialization.descriptors.PrimitiveKind import kotlinx.serialization.descriptors.PrimitiveSerialDescriptor import kotlinx.serialization.descriptors.SerialDescriptor import kotlinx.serialization.encoding.Decoder import kotlinx.serial...
0
Kotlin
0
0
e18ff207b8b256c4198d0e288d2c9e2b7bcb7347
818
kmongo
MIT License
src/Day05.kt
yeung66
574,904,673
false
{"Kotlin": 8143}
fun main() { fun initStacks() = listOf(ArrayDeque(), ArrayDeque("DBJV".toList()), ArrayDeque("PVBWRDF".toList()), ArrayDeque("RGFLDCWQ".toList()), ArrayDeque("WJPMLNDB".toList()), ArrayDeque("HNBPCSQ".toList()), ArrayDeque("RDBSNG".toList()), ArrayDeque("ZBPMQFSH".toList()), ArrayDeque("WLF".toList()), Arra...
0
Kotlin
0
0
554217f83e81021229759bccc8b616a6b270902c
1,423
advent-of-code-2022-kotlin
Apache License 2.0
MCAPI-client/src/main/kotlin/us/sodiumlabs/mcapi/client/Client.kt
napentathol
231,537,113
false
{"Gradle Kotlin DSL": 6, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Java Properties": 1, "Java": 14, "JSON": 3, "XML": 1, "Kotlin": 12, "INI": 1}
package us.sodiumlabs.mcapi.client import com.github.steveice10.mc.auth.exception.request.RequestException import com.github.steveice10.mc.protocol.MinecraftProtocol import com.github.steveice10.mc.protocol.data.SubProtocol import com.github.steveice10.mc.protocol.data.status.ServerStatusInfo import com.github.steveic...
0
Kotlin
1
0
2bde7d3dc2b5f4f01cbb624df7610b3d120d8a30
4,704
MCAPI
MIT License
src/test/kotlin/com/target/liteforjdbc/HikariDataSourceFactoryTest.kt
target
530,689,815
false
{"Kotlin": 225123}
package com.target.liteforjdbc import io.kotest.matchers.shouldBe import org.junit.jupiter.api.Test class HikariDataSourceFactoryTest { @Test fun `Test dataSource`() { val config = DbConfig( type = DbType.POSTGRES, jdbcUrl = "JDBC:", username = "user", ...
8
Kotlin
10
16
2682f48a8602d39e37113b9b2573ae9d1c74fb34
1,481
lite-for-jdbc
MIT License
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/psiBased/KtFe10PsiTypeParameterSymbol.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 org.jetbrains.kotlin.analysis.api.descriptors.symbols.psiBased import org.jetbrains.kotlin.analysis.a...
182
null
5617
47,637
d257153a50bdaa761d54bbc9fd1c5d78a3769f0f
2,442
kotlin
Apache License 2.0
src/commonMain/kotlin/de/westermann/kobserve/list/SyncList.kt
pixix4
243,975,894
false
null
package de.westermann.kobserve.list import de.westermann.kobserve.base.ObservableList import de.westermann.kobserve.base.ObservableValue import de.westermann.kobserve.event.EventListener import dev.gitlive.difflib.DiffUtils fun<T> MutableList<T>.sync(other: List<T>) { val patch = DiffUtils.diff(this, other) ...
4
Kotlin
0
2
1f20731971a9b02f971f01ab8ae8f4e506ff542b
1,011
robolab-renderer
MIT License
demo/src/main/java/me/jessyan/mvparms/demo/mvp/model/api/cache/CommonCache.kt
petma
192,675,016
true
{"Kotlin": 331292}
/* * Copyright 2017 JessYan * * 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 ...
0
Kotlin
0
0
64ac1d9e092ef637f67b57a7effac7e0a6d029f9
1,437
MVPArms
Apache License 2.0
app/src/main/java/com/tc/gamegallery/domain/Genre.kt
JerbiJ456
804,320,356
false
{"Kotlin": 128407}
package com.tc.gamegallery.domain data class Genre( val name: String = "N/A" )
0
Kotlin
0
0
06425f3849a5ff4ec9162c8ce20dcab8e2b7a480
84
Game-Gallery
MIT License
mastodon4j/src/main/java/com/sys1yagi/mastodon4j/api/Pageable.kt
jamiesanson
153,975,742
true
{"Gradle": 6, "YAML": 1, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "Java": 5, "Kotlin": 96, "JSON": 26}
package com.sys1yagi.mastodon4j.api class Pageable<T>(val part: List<T>, val link: Link?) { fun nextRange(limit: Int = 20): Range = Range(link?.maxId, limit = limit) fun prevRange(limit: Int = 20): Range = Range(sinceId = link?.sinceId, limit = limit) fun toRange(limit: Int = 20): Range = Range(maxId = lin...
0
Kotlin
0
0
33907ff18c18b5225c6b49557264f32996317ab1
372
mastodon4j
MIT License
feature/funding/link/src/main/kotlin/app/k9mail/feature/funding/FeatureFundingModule.kt
thunderbird
1,326,671
false
{"Kotlin": 5319476, "Java": 2152605, "Python": 23566, "Shell": 2768, "AIDL": 1946}
package app.k9mail.feature.funding import app.k9mail.feature.funding.api.FundingManager import app.k9mail.feature.funding.api.FundingNavigation import app.k9mail.feature.funding.link.LinkFundingManager import app.k9mail.feature.funding.link.LinkFundingNavigation import org.koin.dsl.module val featureFundingModule = m...
871
Kotlin
2492
10,524
8a342003bce092e7e501814dada4eb9118ff45a5
440
thunderbird-android
Apache License 2.0
app/src/main/java/com/zigis/paleontologas/features/launcher/stories/main/LauncherView.kt
edgar-zigis
240,962,785
false
{"Kotlin": 166682}
package com.zigis.paleontologas.features.launcher.stories.main import android.content.Context import android.widget.Toast import com.zigis.paleontologas.core.architecture.BaseView import com.zigis.paleontologas.databinding.ViewLauncherBinding class LauncherView(context: Context) : BaseView<LauncherViewState, ViewLaun...
0
Kotlin
16
122
81af233ad89b9ec192e466d6604f211720a65445
665
Paleontologas
Apache License 2.0
app/src/main/java/com/example/androiddevchallenge/ui/list/PuppyList.kt
kingsleyadio
427,661,601
false
{"Kotlin": 32994}
package com.example.androiddevchallenge.ui.list import androidx.compose.foundation.Image import androidx.compose.foundation.background import androidx.compose.foundation.border import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.* import androidx.compose.foundation.lazy.LazyColumn im...
0
Kotlin
0
0
20af902ad1218b5c14f128bba8394a1cf06a7df3
5,879
compose-puppy
Apache License 2.0
kollect-core/src/main/kotlin/kollect/model/Model.kt
47degrees
118,812,251
false
null
package kollect import arrow.Kind import arrow.data.NonEmptyList sealed class KollectRequest /** * Reified operations to query a data source. You can kollect one, or many (batch). `I` stands for the Identity used to * perform the query. `A` would be the result. */ sealed class KollectQuery<I, A> : KollectRequest(...
8
Kotlin
5
33
a72ee95996fc8537406dbc010afe8fd82984b14b
2,090
kollect
Apache License 2.0
app/src/main/java/com/arcieri/wagner/dictionary/feature_dictionary/data/local/entity/WordInfoEntity.kt
wagarcdev
509,314,266
false
null
package com.arcieri.wagner.dictionary.feature_dictionary.data.local.entity import androidx.room.Entity import androidx.room.PrimaryKey import com.arcieri.wagner.dictionary.feature_dictionary.domain.model.Meaning import com.arcieri.wagner.dictionary.feature_dictionary.domain.model.WordInfo @Entity data class WordInfoE...
0
Kotlin
0
1
2c96ae0f9b1b4e7739560b21a4c5c7b8c081508b
694
Dictionary
MIT License
src/main/kotlin/io/github/smaugfm/lunchmoney/request/budget/params/GetBudgetSummaryParams.kt
smaugfm
609,011,135
false
{"Kotlin": 190467, "Shell": 1786}
@file:UseSerializers(LocalDateSerializer::class, CurrencySerializer::class) package io.github.smaugfm.lunchmoney.request.budget.params import io.github.smaugfm.lunchmoney.serializer.CurrencySerializer import io.github.smaugfm.lunchmoney.serializer.LocalDateSerializer import kotlinx.serialization.Serializable import k...
0
Kotlin
0
1
913a67b4f81302894a64ab1dacf6937e262a6831
556
lunchmoney
MIT License
src/jsMain/kotlin/net/kyori/adventure/webui/js/ExternalFunctions.kt
KyoriPowered
390,772,083
false
{"Kotlin": 91655, "HTML": 21526, "CSS": 6432}
// this entire file is everything that is bad about kotlin/js @file:Suppress("ClassName") package net.kyori.adventure.webui.js import kotlinx.browser.document import kotlinx.html.DIV import kotlinx.html.div import kotlinx.html.dom.create import kotlin.js.Json import kotlin.js.json // standard js methods public exter...
41
Kotlin
16
28
e8016f1f487d738a56ca52f79c431c7e2b7bb23f
990
adventure-webui
MIT License
vendor/tipkit/tipkit/src/main/kotlin/dev/bmcreations/tipkit/Tip.kt
code-payments
723,049,264
false
{"Kotlin": 2069923, "C": 198685, "C++": 83029, "Java": 52287, "Ruby": 4594, "Shell": 4515, "CMake": 2594}
package dev.bmcreations.tipkit import androidx.compose.runtime.Composable import androidx.compose.ui.Alignment import androidx.compose.ui.Alignment.Companion import androidx.compose.ui.unit.Dp import androidx.compose.ui.unit.dp import dev.bmcreations.tipkit.engines.EligibilityCriteria import dev.bmcreations.tipkit.eng...
3
Kotlin
12
14
cdfa14fe252c817c0b6414a5aa64db0801036666
3,419
code-android-app
MIT License
app/src/main/java/earth/levi/app/store/NotificationsStore.kt
levibostian
640,550,940
false
null
package earth.levi.app.store import android.content.SharedPreferences import earth.levi.app.DiGraph import earth.levi.app.android.ShownNotification import kotlinx.serialization.encodeToString import kotlinx.serialization.json.Json val DiGraph.notificationsStore: NotificationsStore get() = NotificationsStore(share...
7
Kotlin
0
0
f001dd86ce9c42220ce84272de8404b3fe888155
1,482
BatteryBird
MIT License
webservice/src/test/kotlin/com/noticemedan/dykkerdan/webservice/service/DiveServiceTest.kt
NoticeMeDan
285,365,234
false
null
package com.noticemedan.dykkerdan.webservice.service import com.noticemedan.dykkerdan.webservice.TestConfig import com.noticemedan.dykkerdan.webservice.dto.DiveInfo import com.noticemedan.dykkerdan.webservice.dto.DiverInfo import com.noticemedan.dykkerdan.webservice.exception.DiverNotFound import org.assertj.core.api....
0
Kotlin
0
0
8e7b2f52386fe6e37e53a948013d5f419c60a24c
3,056
dykkerdan
MIT License
app/src/main/java/com/raywenderlich/android/runtracker/MVP.kt
JonnySueck
699,961,976
false
{"Kotlin": 19575}
package com.raywenderlich.android.runtracker import androidx.appcompat.app.AppCompatActivity import androidx.lifecycle.MutableLiveData import com.google.android.gms.maps.model.LatLng /* Creates info needed to render UI properly. Includes the distance the user walks, their current location, and the list of location...
0
Kotlin
0
0
e9a84594e3bd322baa6aa0e1707cae6aee384087
2,593
Run-Tracker
The Unlicense
src/test/kotlin/org/overrun/ktwiki/test/TestWiki.kt
Over-Run
641,871,336
false
null
/* * MIT License * * Copyright (c) 2023 Overrun Organization * * 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, c...
0
Kotlin
0
0
e6212f4489624cf07d181cccac5c1570ed4ddaa8
10,322
ktwiki
MIT License
src/test/kotlin/com/jeayeob/coffeelog/controller/CoffeeControllerTest.kt
radic2510
664,984,356
false
null
package com.jeayeob.coffeelog.controller import com.fasterxml.jackson.module.kotlin.jacksonObjectMapper import com.jeayeob.coffeelog.dto.CoffeeCreateRequest import com.jeayeob.coffeelog.dto.CoffeeUpdateRequest import com.jeayeob.coffeelog.entity.Coffee import com.jeayeob.coffeelog.repository.CoffeeRepository import or...
0
Kotlin
0
0
d96e843364766d93559dcc8d363df9c4a22d14a6
3,761
coffee-log
MIT License
app/test/mottak/StreamsTest.kt
navikt
768,053,576
false
{"Kotlin": 69244, "Dockerfile": 1027}
package mottak import io.micrometer.core.instrument.simple.SimpleMeterRegistry import lib.kafka.StreamsMock import mottak.enhet.EnhetService import mottak.enhet.NavEnhet import mottak.kafka.MottakTopology import mottak.kafka.Topics import no.nav.joarkjournalfoeringhendelser.JournalfoeringHendelseRecord import org.juni...
1
Kotlin
0
0
a2a39287648c4eeec5543a57f4f0001e89fbfbb3
3,161
aap-mottak
MIT License
server/src/main/kotlin/ru/cororo/authserver/util/ProtocolUtils.kt
TheSirCororo
401,031,314
false
null
package ru.cororo.authserver.util import io.ktor.utils.io.* import io.ktor.utils.io.core.* import io.netty.buffer.ByteBuf import io.netty.buffer.Unpooled import net.kyori.adventure.nbt.* import net.kyori.adventure.text.Component import net.kyori.adventure.text.serializer.gson.GsonComponentSerializer import java.io.Byt...
0
Kotlin
0
4
a82a3d64239128dd3dd84c4b9248ed08730d8ec7
7,100
AuthServer
Apache License 2.0