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
mysql-async/src/main/scala/com/github/mauricio/async/db/mysql/util/CharsetMapper.kt
oshai
145,608,624
false
null
package com.github.mauricio.async.db.mysql.util import com.github.mauricio.async.db.mysql.exceptions.CharsetMappingNotAvailableException import java.nio.charset.Charset import io.netty.util.CharsetUtil object CharsetMapper { val Binary = 63 val DefaultCharsetsByCharset = Map<Charset,Int>( CharsetUtil.UTF_8...
1
null
1
3
b69118aa9df3a896b2068297d4094bd117c14b2e
936
db-async
Apache License 2.0
app/src/main/java/ru/wkns37/worldskills/features/retrofit/presentation/WeatherUi.kt
wkns37
521,082,178
false
null
package ru.wkns37.worldskills.features.retrofit.presentation interface WeatherUi { val windSpeed: Double val windDirection: Int val temperature: Double data class Base( override val windSpeed: Double, override val windDirection: Int, override val temperature: Double ) : We...
0
Kotlin
0
0
70774e95e08941f78076f02b8dc512a0ec279d29
483
android_world_skills
MIT License
app/src/main/java/br/com/movieapp/feature/moviepopular/domain/usecase/GetPopularMoviesUseCase.kt
flaviosfdev
789,509,918
false
{"Kotlin": 41319}
package br.com.movieapp.feature.moviepopular.domain.usecase import androidx.paging.PagingConfig import androidx.paging.PagingData import br.com.movieapp.feature.moviepopular.domain.repository.MoviePopularRepository import br.com.movieapp.framework.domain.model.Movie import kotlinx.coroutines.flow.Flow import javax.inj...
0
Kotlin
0
0
09dcd2d3d7320b5c834772a4b98092cf7ece691b
782
movie-app
MIT License
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/symbols/KaFirTypeParameterSymbolBase.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...
/* * Copyright 2010-2024 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.fir.symbols import com.intellij.psi.PsiElement import org.jetbrains...
181
Kotlin
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
2,473
kotlin
Apache License 2.0
app/src/main/java/xyz/wywong/justchess/Bot.kt
wywong
275,682,799
false
null
package xyz.wywong.justchess import xyz.wywong.justchess.engine.Board import xyz.wywong.justchess.engine.Coordinate import xyz.wywong.justchess.engine.Move import xyz.wywong.justchess.engine.Piece interface Bot { /** * the player id of the bot */ val playerId: Int /** * returns the bot's n...
0
Kotlin
0
1
ac70ca263d7873bf5952ad4d25b49dd5c55ad8e8
560
JustChess
MIT License
ui/src/main/kotlin/com/processout/sdk/ui/shared/component/TextAndroidView.kt
processout
117,821,122
false
{"Kotlin": 951398, "Java": 85526, "Shell": 696}
@file:Suppress("MayBeConstant") package com.processout.sdk.ui.shared.component import android.annotation.SuppressLint import android.content.res.Resources import android.graphics.drawable.Drawable import android.os.Build import android.text.method.LinkMovementMethod import android.view.Gravity import android.widget.T...
1
Kotlin
5
2
d35d4a65065d845415cc913d9a8ba653a6ae4bda
6,958
processout-android
MIT License
src/test/kotlin/com/github/amitsk/learningkotlin/hotelratecalculator/TaxRateServiceSpec.kt
amitsk
97,360,035
false
null
package com.github.amitsk.learningkotlin.hotelratecalculator
0
Kotlin
0
0
190c54e56fbe73cae7ce4cea9f5cb44c13f5b616
62
learning-kotlin
MIT License
app/src/main/java/org/p2p/wallet/bridge/send/interactor/BridgeTokenComparator.kt
p2p-org
306,035,988
false
{"Kotlin": 4545395, "HTML": 3064848, "Java": 296567, "Groovy": 1601, "Shell": 1252}
package org.p2p.wallet.bridge.send.interactor import org.p2p.core.token.Token import org.p2p.core.utils.isMoreThan import org.p2p.ethereumkit.external.model.ERC20Tokens class BridgeTokenComparator : Comparator<Token> { override fun compare(o1: Token, o2: Token): Int = when { o1.isUsdcEt() -> -1 o...
8
Kotlin
18
34
d091e18b7d88c936b7c6c627f4fec96bcf4a0356
1,106
key-app-android
MIT License
db/src/main/java/com/pyamsoft/tickertape/db/split/SplitDbImpl.kt
pyamsoft
371,196,339
false
{"Kotlin": 1132802, "Shell": 2191}
/* * Copyright 2023 pyamsoft * * 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
7
fb25840700ec9ae096ef8bfb0dced762b8dd2f61
5,028
tickertape
Apache License 2.0
src/main/java/com/example/birdzone/Model/User.kt
Nhlanhla625
877,919,210
false
{"Kotlin": 36961}
package com.example.birdzone.Model class User ( val email: String = "", val username: String = "", var password: String = "", var isMetric: Boolean = true, var maxDistance: Double = 0.0 ){ override fun toString(): String { return "User(email='$email', username='$username', password<PASS...
0
Kotlin
0
0
918615ce7172f6fa0e8ed03f6bbcfc5a2fb56ade
382
Bird-App
Apache License 2.0
ksoup/src/com/fleeksoft/ksoup/ported/CoreFunctions.kt
fleeksoft
719,100,459
false
{"Kotlin": 1504105, "HTML": 36067, "Shell": 7600}
package com.fleeksoft.ksoup.ported import com.fleeksoft.ksoup.Platform import com.fleeksoft.ksoup.isJsOrWasm // js don't support ?i public fun jsSupportedRegex(regex: String): Regex { return if (Platform.isJsOrWasm() && regex.contains("(?i)")) { Regex(regex.replace("(?i)", ""), RegexOption.IGNORE_CASE) ...
7
Kotlin
11
281
4fd2972a008ee39df42c5ee8cb06ff54860d3e7b
362
ksoup
Apache License 2.0
playground/src/main/java/androidx/essentials/playground/chips/ChipsActivity.kt
kunal26das
282,238,393
false
null
package androidx.essentials.playground.chips import androidx.activity.viewModels import androidx.compose.foundation.ScrollState import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.foundation.layout.padding import androidx.compose.foundation.ver...
5
null
0
3
4968a43c341f728c905d3db7a124fd8b6e05041a
3,054
androidx-essentials
Apache License 2.0
src/main/kotlin/io/github/soat7/myburguercontrol/application/ports/outbound/OrderDatabasePort.kt
FIAP-SOAT7-2024-GP-Kotlin
788,196,924
false
{"Kotlin": 151693, "Dockerfile": 360}
package io.github.soat7.myburguercontrol.application.ports.outbound import io.github.soat7.myburguercontrol.domain.model.Order import org.springframework.data.domain.Page import org.springframework.data.domain.Pageable import java.util.UUID interface OrderDatabasePort { fun create(order: Order): Order fun fin...
14
Kotlin
0
1
7481cda04707b7c24167ec54cda0422ad0017562
514
myburgercontrol-monolith
Apache License 2.0
tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/ChatEvents/voice/VoiceChatParticipantsInvited.kt
InsanusMokrassar
163,152,024
false
null
package dev.inmo.tgbotapi.types.message.ChatEvents.voice import dev.inmo.tgbotapi.types.User import dev.inmo.tgbotapi.types.message.ChatEvents.abstracts.VoiceChatEvent import dev.inmo.tgbotapi.types.usersField import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable @Serializable data class V...
9
Kotlin
10
99
8206aefbb661db936d4078a8ef7cc9cecb5384e4
436
TelegramBotAPI
Apache License 2.0
magicmetamodel/src/main/kotlin/org/jetbrains/magicmetamodel/BazelBuildServer.kt
JetBrains
521,228,542
false
null
package org.jetbrains.magicmetamodel import ch.epfl.scala.bsp4j.BuildTargetIdentifier import org.eclipse.lsp4j.jsonrpc.services.JsonRequest import java.util.concurrent.CompletableFuture public data class LibraryItem( val id: BuildTargetIdentifier, val dependencies: List<BuildTargetIdentifier>, ...
1
Kotlin
3
8
3a01f3f6ce13f2af04c29a46d0c3a54e33b34a8b
685
intellij-bsp
Apache License 2.0
shared/src/commonMain/kotlin/com/architect/kmpessentials/battery/KmpBattery.kt
TheArchitect123
801,452,364
false
{"Kotlin": 15856, "Ruby": 2156}
package com.architect.kmpessentials.battery class KmpBattery { }
0
Kotlin
0
1
5db28aae309308396ebde16e29bdced3352dc706
65
KmpEssentials
MIT License
src/main/kotlin/frc/robot/util/Logging.kt
nukkeldev
674,842,075
false
null
package frc.robot.util import org.slf4j.Logger import org.slf4j.LoggerFactory fun <T : Any> T.getLogger(): Logger = LoggerFactory.getLogger(this::class.java) fun String.getLogger(): Logger = LoggerFactory.getLogger(this)
0
Kotlin
0
0
3806685d49225d99d0f721aa35b46e7a48eedbff
231
frc-kotlin-template
MIT License
app/src/main/java/com/avocadochif/countries/MainActivity.kt
avocadochif
637,511,401
false
null
package com.avocadochif.countries import android.os.Bundle import androidx.appcompat.app.AppCompatActivity import androidx.recyclerview.widget.LinearLayoutManager import androidx.recyclerview.widget.RecyclerView class MainActivity : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { ...
0
Kotlin
0
6
935467a56abe3155cdcd6c89c356336b4afa6b0d
694
countries
MIT License
src/main/kotlin/gg/essential/elementa/constraints/debug/RecalculatingConstraintDebugger.kt
Sk1erLLC
211,431,780
false
null
package gg.essential.elementa.constraints.debug import gg.essential.elementa.UIComponent import gg.essential.elementa.constraints.ConstraintType import gg.essential.elementa.constraints.SuperConstraint internal class RecalculatingConstraintDebugger( private val inner: ConstraintDebugger = NoopConstraintDebugger()...
8
Kotlin
17
157
6f6b8259ddac9c39e9277eb8b7f799470afe60f4
683
Elementa
MIT License
runtime/src/main/java/io/novafoundation/nova/runtime/storage/source/multi/MultiQueryBuilderImpl.kt
novasamatech
415,834,480
false
null
package com.edgeverse.wallet.runtime.storage.source.multi import jp.co.soramitsu.fearless_utils.runtime.RuntimeSnapshot import jp.co.soramitsu.fearless_utils.runtime.metadata.module.StorageEntry import jp.co.soramitsu.fearless_utils.runtime.metadata.storageKey import jp.co.soramitsu.fearless_utils.runtime.metadata.sto...
17
null
6
9
67cd6fd77aae24728a27b81eb7f26ac586463aaa
950
nova-wallet-android
Apache License 2.0
app/src/main/java/com/example/dropy/ui/screens/waterMyOrder/WaterMyOrderViewModel.kt
dropyProd
705,360,878
false
{"Kotlin": 3916897, "Java": 20617}
package com.example.dropy.ui.screens.waterMyOrder import androidx.lifecycle.ViewModel import com.example.dropy.di.DropyApp import com.example.dropy.network.models.GetIndividualOrders.GetIndividualOrdersResItem import com.example.dropy.network.models.createIndividualWaterOrder.AssignedTruck import com.example.dropy.net...
0
Kotlin
0
0
6d994c9c61207bac28c49717b6c250656fe4ae6b
5,595
DropyLateNights
Apache License 2.0
app/src/androidTest/java/com/theusualme/jungc/tipcalculator/ExampleInstrumentedTest.kt
jungc
111,264,762
false
null
package com.theusualme.jungc.tipcalculator import android.support.test.InstrumentationRegistry import android.support.test.runner.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 docume...
0
Kotlin
0
0
0a4773571c4cb22b794f0aef4683dfa709db0693
670
TipCalculator-kotlin
Apache License 2.0
keiko-mem-spring/src/test/kotlin/com/netflix/spinnaker/q/mem/spring/SpringStartupTests.kt
spinnaker
19,834,314
false
{"Groovy": 3021520, "Java": 3003677, "Kotlin": 1491467, "Slim": 718, "Shell": 459}
package com.netflix.spinnaker.q.mem.spring import com.netflix.spinnaker.config.MemQueueConfiguration import com.netflix.spinnaker.config.QueueConfiguration import com.netflix.spinnaker.q.DeadMessageCallback import com.netflix.spinnaker.q.Queue import com.netflix.spinnaker.q.memory.InMemoryQueue import org.assertj.core...
81
Groovy
809
240
88114eb396d2b9454e7e8d472417b0e94b2c403b
1,265
orca
Apache License 2.0
compiler/testData/codegen/boxInline/nonLocalReturns/tryFinally/exceptionTable/severalCatchClause.2.kt
msdgwzhy6
51,743,245
true
{"Java": 15875830, "Kotlin": 12695228, "JavaScript": 177557, "Protocol Buffer": 42724, "HTML": 29983, "Lex": 16598, "ANTLR": 9689, "CSS": 9358, "Groovy": 6859, "Shell": 4704, "IDL": 4669, "Batchfile": 3703}
package test public class Exception1(message: String) : java.lang.RuntimeException(message) public class Exception2(message: String) : java.lang.RuntimeException(message) public inline fun doCall(block: ()-> String, exception: (e: Exception)-> Unit, exception2: (e: Exception)-> Unit, finallyBlock: ()-> String, res: ...
0
Java
0
1
ff00bde607d605c4eba2d98fbc9e99af932accb6
821
kotlin
Apache License 2.0
app/src/main/java/com/jpventura/github/issues/vm/IssuesViewModel.kt
jpventura
248,572,042
true
{"Kotlin": 165166}
package com.jpventura.github.issues.vm import com.jpventura.domain.UseCases import com.jpventura.github.core.ui.Failure import com.jpventura.github.core.ui.Loading import com.jpventura.github.core.ui.ObservableViewModel import com.jpventura.github.core.ui.Success import com.jpventura.github.issues.IssuesContract impor...
0
Kotlin
0
0
e15db6ec3f7fafcb719095b0f6dd04c6e54a5c88
1,123
desafio-android
Apache License 2.0
src/main/kotlin/com/github/ricardoebbers/pricechecker/domain/repository/VehicleRepository.kt
ricardoebbers
280,894,379
false
null
package com.github.ricardoebbers.pricechecker.domain.repository import com.github.ricardoebbers.pricechecker.domain.entity.Vehicle import org.springframework.data.jpa.repository.JpaRepository import org.springframework.stereotype.Repository @Repository interface VehicleRepository : JpaRepository<Vehicle, String> { ...
0
Kotlin
0
0
1ee43b647fc421f1dc5ccc1ed1f2dfa5b06aedf2
389
fipe-price-checker
MIT License
app/src/main/java/ru/vegax/xavier/miniMonsterX/activities/ThermostatActivity.kt
Xaviervu
163,578,868
false
{"Gradle": 3, "Java Properties": 2, "Shell": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "JSON": 1, "Proguard": 1, "Java": 2, "XML": 77, "Kotlin": 35}
package ru.vegax.xavier.miniMonsterX.activities import android.content.Context import android.content.Intent import android.os.Bundle import android.view.MenuItem import android.view.View import android.view.View.OnFocusChangeListener import android.view.inputmethod.InputMethodManager import androidx.appcompat.app.App...
1
null
1
1
e123c60afcdf1a08a698b87ea7e6e1094c53cc9f
2,966
miniMonsterX
Apache License 2.0
feature/settings/src/main/java/com/hellguy39/hellnotes/feature/settings/components/LanguageDialog.kt
HellGuy39
572,830,054
false
null
package com.hellguy39.hellnotes.feature.settings.components //@Composable //fun LanguageDialog( // isShowDialog: Boolean, // //events: LanguageDialogEvents //) { // CustomDialog( // showDialog = isShowDialog, // onClose = { // // events.dismiss() // }, // ) { inner...
1
Kotlin
0
9
548d59c0f641df6e1f3ddd9c220904631ca5351b
1,892
HellNotes
Apache License 2.0
sync/src/main/java/com/pomodorotime/sync/workmanager/workers/InsertTaskWorker.kt
RoberMiranda92
283,567,928
false
null
package com.pomodorotime.sync.workmanager.workers import android.content.Context import android.util.Log import androidx.work.CoroutineWorker import androidx.work.Data import androidx.work.WorkerParameters import com.pomodorotime.data.sync.ISyncErrorHandler import com.pomodorotime.data.task.api.models.ApiTask import c...
1
Kotlin
0
0
07e77f018db930b50b1695d0d79debdc373f39e7
2,212
PomodoroTime
Apache License 2.0
app/src/main/java/app/rive/runtime/example/AssetLoaderFragment.kt
rive-app
299,578,948
false
{"Kotlin": 381004, "C++": 205617, "Shell": 13443, "CMake": 5479, "Makefile": 2286, "Java": 1207}
package app.rive.runtime.example import android.content.Context import android.os.Bundle import android.util.Log import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.Button import android.widget.FrameLayout import androidx.fragment.app.Fragment import app.rive...
33
Kotlin
29
325
60c59ac00590061dccbfd7d040f4146ed27185aa
6,314
rive-android
MIT License
app/src/main/java/motocitizen/data/storage/MemoryAccessors.kt
rjhdby
354,379,594
false
null
package motocitizen.data.storage import java.util.concurrent.ConcurrentHashMap import kotlin.properties.ReadWriteProperty import kotlin.reflect.KProperty /** * Делегат для получения nullable значений из [HashMapMemory]. * Если в памяти по ключу не будет значения, вернёт null. */ fun <T : Any> HashMapMemory.nullabl...
13
Kotlin
0
1
85eaf62e864a5fdca7918b52ced1dc5bd12b380c
1,544
android_motoDTP_v2
MIT License
socketdrawview/src/main/java/com/sk/broadband/socketdrawview/server/ServerSocketDrawView.kt
dooroid
201,178,603
false
null
package com.sk.broadband.socketdrawview.server import android.content.Context import android.util.AttributeSet import com.sk.broadband.socketdrawview.DrawContract import com.sk.broadband.socketdrawview.DrawView import kotlinx.coroutines.CoroutineScope import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.asy...
0
Kotlin
2
26
70643924a0aeafbf7dd01f360d1c0893d7cc68ed
3,898
SocketDrawView
Apache License 2.0
sample-ktor-react-js/src/main/kotlin/io/github/alexoooo/sample/ktorreact/Wrappers.kt
alexoooo
586,373,578
false
null
package io.github.alexoooo.sample.ktorreact import js.core.Object import js.core.jso import react.* abstract class RComponent<P : Props, S : State> : Component<P, S> { constructor() : super() { state = jso { init() } } constructor(props: P) : super(props) { state = jso { init(props) } ...
0
Kotlin
0
0
a9fe0b4ed09ab20e8e75af5bfd5a4fde6e2f7b78
1,314
sample-ktor-react
MIT License
zowe-cli/src/jsMain/kotlin/zowe/cli/zosfiles/strings/Temp99.kt
lppedd
761,812,661
false
{"Kotlin": 1887051}
package zowe.cli.zosfiles.strings external interface Temp99 { var DESCRIPTION: String var POSITIONALS: Temp100 var OPTIONS: Temp101 var EXAMPLES: Temp102 }
0
Kotlin
0
3
0f493d3051afa3de2016e5425a708c7a9ed6699a
165
kotlin-externals
MIT License
SingleModuleApp/app/src/main/java/com/github/yamamotoj/singlemoduleapp/package13/Foo01300.kt
yamamotoj
163,851,411
false
null
package com.github.yamamotoj.singlemoduleapp.package13 import com.github.yamamotoj.singlemoduleapp.package12.Foo01299 class Foo01300 { fun method0() { Foo01299().method5() } fun method1() { method0() } fun method2() { method1() } fun method3() { method2()...
0
Kotlin
0
9
2a771697dfebca9201f6df5ef8441578b5102641
419
android_multi_module_experiment
Apache License 2.0
search/core/src/main/java/io/em2m/search/core/xform/FieldAliasQueryTransformer.kt
juliencruz
122,498,005
false
{"Maven POM": 11, "Text": 1, "Ignore List": 1, "Markdown": 3, "Kotlin": 102, "JSON": 15, "YAML": 1, "Java": 2, "XML": 1}
package io.em2m.search.core.xform import io.em2m.search.core.model.* class FieldAliasQueryTransformer(private val aliases: Map<String, Field>) : QueryTransformer() { private fun applyAlias(field: String): String { val alias = aliases[field] return /*alias?.expr ?:*/ alias?.name ?: field } ...
1
null
1
1
29aa9955c130be52a07889c80b3ff572bd428d32
1,619
em2m-java-sdk
Apache License 2.0
concept-cloud/concept-cloud-plugin-intellij/src/main/kotlin/com/github/linyuzai/cloud/plugin/intellij/module/ModuleComponents.kt
Linyuzai
432,708,577
false
null
package com.github.linyuzai.cloud.plugin.intellij.module import com.github.linyuzai.cloud.plugin.intellij.CHECK_NOT_EMPTY import com.github.linyuzai.cloud.plugin.intellij.ConceptLCFlags import com.github.linyuzai.cloud.plugin.intellij.GenerateCodeAction import com.github.linyuzai.cloud.plugin.intellij.panel import com...
1
null
37
404
5560c1f47501566c17d0af72a53479db843a3d1e
8,545
concept
Apache License 2.0
packages/expo-modules-core/android/src/main/java/expo/modules/kotlin/types/Either.kt
betomoedano
462,599,485
false
null
@file:Suppress("UNCHECKED_CAST") package abi49_0_0.expo.modules.kotlin.types import abi49_0_0.expo.modules.kotlin.apifeatures.EitherType import kotlin.reflect.KClass @EitherType open class Either<FirstType : Any, SecondType : Any>( @PublishedApi internal val value: Any ) { @JvmName("isFirstType") fun `is`(ty...
627
null
4443
4
52d6405570a39a87149648d045d91098374f4423
1,550
expo
MIT License
infobip-mobile-messaging-android-chat-sdk/src/main/java/org/infobip/mobile/messaging/chat/view/styles/InAppChatInputViewStyle.kt
infobip
56,227,769
false
null
package org.infobip.mobile.messaging.chat.view.styles import android.content.Context import android.content.res.ColorStateList import android.graphics.Color import android.graphics.drawable.Drawable import android.util.AttributeSet import android.util.TypedValue import androidx.annotation.ColorInt import androidx.anno...
6
null
17
51
cbadc2bd9edd81c5f853e61694aab7b3f1908941
7,795
mobile-messaging-sdk-android
Apache License 2.0
jvm/jvm-analysis-kotlin-tests/testSrc/com/intellij/logging/resolve/KotlinLoggingArgumentSymbolReferenceProviderTest.kt
JetBrains
2,489,216
false
null
package com.intellij.logging.resolve import com.intellij.jvm.analysis.internal.testFramework.logging.LoggingArgumentSymbolReferenceProviderTestBase import com.intellij.openapi.util.TextRange class KotlinLoggingArgumentSymbolReferenceProviderTest : LoggingArgumentSymbolReferenceProviderTestBase() { fun `test log4j2 ...
284
null
5162
16,707
def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0
19,214
intellij-community
Apache License 2.0
app/src/main/java/com/hoc/weatherapp/data/local/FiveDayForecastLocalDataSource.kt
hoc081098
146,096,095
false
null
package com.hoc.weatherapp.data.local import com.hoc.weatherapp.data.models.entity.DailyWeather import io.reactivex.Completable import io.reactivex.Observable class FiveDayForecastLocalDataSource(private val fiveDayForecastDao: FiveDayForecastDao) { fun getAllDailyWeathersByCityId(id: Long): Observable<List<DailyWe...
7
null
16
71
577cab95c896c68e02d337315e69749b9f55be0f
642
WeatherApp_MVI_sample
MIT License
src/main/kotlin/br/com/zup/pix/shared/exception/handler/DefaultExceptionHandler.kt
walteralleyz
357,188,466
true
{"Java": 212903, "HTML": 63132, "Kotlin": 62785, "JavaScript": 5252, "CSS": 3780, "Dockerfile": 291, "Assembly": 3}
package br.com.zup.exception.handler import br.com.zup.exception.ExceptionHandler import io.grpc.Status import javax.validation.ConstraintViolationException class DefaultExceptionHandler : ExceptionHandler<Exception> { override fun handle(e: Exception): ExceptionHandler.StatusWithDetails { val status = w...
0
Java
0
0
87d0943ae3e6bb38c1d1bbd66813304cdc829168
853
orange-talents-02-template-pix-keymanager-grpc
Apache License 2.0
kotlin-modules/kotlin-core-design-patterns/src/main/kotlin/cn/tuyucheng/taketoday/commanddesign/command/CutCommand.kt
tuyucheng7
576,611,966
false
{"Java": 17901156, "JavaScript": 3127878, "Kotlin": 905614, "HTML": 406318, "CSS": 170745, "TypeScript": 104742, "Shell": 48249, "Groovy": 47750, "FreeMarker": 39820, "RAML": 38085, "Gherkin": 16465, "Lua": 11459, "Dockerfile": 9018, "Scala": 8705, "Vue": 6389, "C++": 4581, "Mustache": 4316, "Batchfile": 4249, "SCSS": ...
package cn.tuyucheng.taketoday.commanddesign.command import cn.tuyucheng.taketoday.commanddesign.Clipboard import cn.tuyucheng.taketoday.commanddesign.receiver.TextEditor class CutCommand(private val receiver: TextEditor, private val clipboard: Clipboard) : Command { override fun execute() { clipboard.conten...
0
Java
6
173
a71ed5dbc873a331515479c365986df382cb916e
445
taketoday-tutorial4j
MIT License
kotlin/usecases/first_android_app/src/main/kotlin/com/example/awsapp/Database.kt
awsdocs
66,023,605
false
{"Java": 5820276, "Python": 3285373, "C#": 2568689, "C++": 2110817, "JavaScript": 2013988, "Go": 1530185, "Kotlin": 1407537, "Rust": 980145, "PHP": 930150, "Ruby": 550875, "ABAP": 527109, "Swift": 482510, "Shell": 318303, "TypeScript": 254395, "CMake": 224175, "HTML": 183477, "CSS": 34705, "Dockerfile": 12455, "Dart": ...
/* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0 */ package com.example.awsapp import aws.sdk.kotlin.services.dynamodb.DynamoDbClient import aws.sdk.kotlin.services.dynamodb.model.AttributeValue import aws.sdk.kotlin.services.dynamodb.model.PutItemRequest...
248
Java
5513
9,106
a05476a37ea9fe418d7dc4899e9aa1313111405a
1,549
aws-doc-sdk-examples
Apache License 2.0
fluentlenium-kotest/src/test/kotlin/org/fluentlenium/adapter/kotest/shouldspec/ShouldMetadataSpec.kt
grams
23,115,562
true
{"Maven POM": 40, "XML": 37, "Shell": 5, "Markdown": 23, "Text": 3, "Ignore List": 3, "YAML": 7, "Java": 879, "HTML": 1814, "Gherkin": 11, "INI": 15, "Kotlin": 89, "Groovy": 18, "Java Properties": 2, "Gradle": 2, "Batchfile": 2, "Gradle Kotlin DSL": 2, "Git Attributes": 1, "Ruby": 3, "CSS": 28, "JavaScript": 43, "robot...
package org.fluentlenium.adapter.kotest.shouldspec import io.kotest.assertions.throwables.shouldThrow import io.kotest.matchers.nulls.shouldNotBeNull import io.kotest.matchers.shouldBe import org.fluentlenium.adapter.exception.AnnotationNotFoundException import org.fluentlenium.adapter.kotest.FluentShouldSpec import o...
0
Java
0
0
46ed71a0663e9cad788ce28bd0c7d1c0fbdac5cb
1,302
FluentLenium
Apache License 2.0
platform/platform-tests/testSrc/com/intellij/observable/CompoundParallelOperationTraceTest.kt
JetBrains
2,489,216
false
null
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.observable import com.intellij.openapi.observable.operations.* import com.intellij.openapi.util.Disposer import com.intellij.openapi.util.use import org.juni...
191
null
4372
13,319
4d19d247824d8005662f7bd0c03f88ae81d5364b
4,677
intellij-community
Apache License 2.0
goblin-queue/src/main/java/org/goblinframework/queue/consumer/ConsumerRecordListener.kt
xiaohaiz
206,246,434
false
null
package org.goblinframework.queue.consumer interface ConsumerRecordListener { fun onFetched() fun onDiscarded() fun onPublished() fun onReceived() fun onTransformed() fun onHandled() fun onSuccess() fun onFailure() }
0
null
6
9
b1db234912ceb23bdd81ac66a3bf61933b717d0b
241
goblinframework
Apache License 2.0
src/main/kotlin/nyway/nd4j/samples/iris/IrisMergeVertexSample2.kt
fbrunacci
291,761,967
false
{"Gradle": 1, "Text": 2, "Ignore List": 1, "Python": 1, "Git Attributes": 1, "Java": 1, "YAML": 1, "Kotlin": 54, "Markdown": 1, "Jupyter Notebook": 2}
package nyway.nd4j.samples.iris import org.deeplearning4j.nn.conf.NeuralNetConfiguration import org.deeplearning4j.nn.conf.graph.MergeVertex import org.deeplearning4j.nn.conf.layers.DenseLayer import org.deeplearning4j.nn.conf.layers.OutputLayer import org.deeplearning4j.nn.graph.ComputationGraph import org.deeplearni...
1
null
1
1
d63386a44c103d6317f8ee9a7877632542204195
9,330
deeplearning4j-samples
Apache License 2.0
platform/wizard/template-impl/src/main/kotlin/com/rivan/androlabs/wizard/template/impl/activities/basicActivity/src/secondFragmentKt.kt
RivanParmar
526,653,590
false
null
/* * Copyright (C) 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 app...
1
null
2
17
7d6a941f82617f89cedde0ae8e10d3702f225f76
3,294
androlabs
Apache License 2.0
compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.4.fir.kt
JetBrains
3,432,266
false
null
// SKIP_TXT // TESTCASE NUMBER: 1 fun case_1() { checkSubtype<Long>(<!ARGUMENT_TYPE_MISMATCH!><!OVERLOAD_RESOLUTION_AMBIGUITY!>-<!><!INT_LITERAL_OUT_OF_RANGE!>9223372036854775808L<!><!>) <!OVERLOAD_RESOLUTION_AMBIGUITY!>-<!><!INT_LITERAL_OUT_OF_RANGE!>9223372036854775808L<!> <!INAPPLICABLE_CANDIDATE!>checkType...
34
Kotlin
5563
44,965
e6633d3d9214402fcf3585ae8c24213a4761cc8b
1,723
kotlin
Apache License 2.0
chapter3_kotlin_basics/src/test/kotlin/com/easy/kotlin/PackageDemoTest.kt
JackChan1999
104,053,234
false
null
package com.easy.kotlin import now import Car import org.junit.Test import org.junit.runner.RunWith import org.junit.runners.JUnit4 /** * Created by jack on 2017/6/8. */ @RunWith(JUnit4::class) class PackageDemoTest { @Test fun testWhat() { what() } @Test fun testDriveMotorbike(){ ...
1
null
1
2
ad99f82351eab306d0312263835dc8e63f8dd7f7
494
Easy-Kotlin
Apache License 2.0
app/src/main/java/com/faultaddr/accountingexpert/ui/home/GridViewModal.kt
faultaddr
579,816,509
false
null
package com.faultaddr.accountingexpert.ui.home data class GridViewModal( // we are creating a modal class with 2 member // one is course name as string and // other course img as int. val courseName: String, val courseImg: Int )
1
null
1
1
47adf11f4577eabd7f9c442464887f8af5551510
249
AccountingExpert
Apache License 2.0
app/src/main/java/io/particle/android/sdk/controlpanel/MeshManagerAccessModel.kt
JeongGoEun
179,529,726
true
{"Gradle": 10, "Markdown": 7, "Java Properties": 2, "Shell": 2, "Text": 1, "Ignore List": 7, "Batchfile": 1, "XML": 231, "Proguard": 7, "Java": 356, "Kotlin": 220, "JavaScript": 2, "CMake": 1, "C": 79}
package io.particle.android.sdk.controlpanel import android.app.Application import androidx.fragment.app.Fragment import androidx.fragment.app.FragmentActivity import androidx.lifecycle.AndroidViewModel import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import androidx.lifecycle.ViewModelProv...
0
Java
0
0
87ce59eb47078d0e3f563ba3efc4f81e50acb600
2,832
SmartHome
Apache License 2.0
platform/vcs-impl/src/com/intellij/openapi/vcs/ex/PartialLocalLineStatusTracker.kt
androidports
115,100,208
false
null
/* * Copyright 2000-2017 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...
6
null
1
4
6e4f7135c5843ed93c15a9782f29e4400df8b068
20,382
intellij-community
Apache License 2.0
core/src/main/kotlin/com/strumenta/kolasu/model/Naming.kt
Strumenta
91,565,400
false
null
package com.strumenta.kolasu.model /** * An entity that can have a name */ interface PossiblyNamed { /** * The optional name of the entity. */ val name: String? } /** * An entity which has a name. */ interface Named : PossiblyNamed { /** * The mandatory name of the entity. */ o...
59
null
9
99
24163cefaa2a118f979f840ad98d90a4cbbc335f
2,634
kolasu
Apache License 2.0
ui/ui-common/src/main/java/com/breadwallet/ui/flowbind/TextViewEvents.kt
breadwallet
37,503,422
false
null
/** * BreadWallet * * Created by Drew Carlson <drew.carlson@breadwallet.com> on 12/3/19. * Copyright (c) 2019 breadwallet LLC * * 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...
36
null
450
385
dfbbfbfc92dae054e47f245e1ce2ac8a39e65e57
2,454
breadwallet-android
MIT License
js/js.translator/testData/incremental/invalidation/kotlinTest/main/test2.3.kt
JetBrains
3,432,266
false
null
import kotlin.test.Test import kotlin.test.BeforeTest import kotlin.test.AfterTest class Test2 { @BeforeTest fun before() { call("before") } @Test fun foo() { call("foo") } }
181
null
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
217
kotlin
Apache License 2.0
app/src/main/java/vn/loitp/app/activity/customviews/actionbar/collapsingtoolbarlayoutwithtablayout/CollapsingToolbarWithTabLayoutActivity.kt
tplloi
126,578,283
false
null
package vn.loitp.a.cv.ab.collapsingToolbarLayoutWithTabLayout import android.graphics.Color import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.View.OnClickListener import android.view.ViewGroup import android.widget.TextView import androidx.fragment.app.Fragment im...
0
Kotlin
0
6
55fb45b20a95b924d74f364ecad5101235eba7b8
3,944
basemaster
Apache License 2.0
vuesaxicons/src/commonMain/kotlin/moe/tlaster/icons/vuesax/vuesaxicons/bold/Building.kt
Tlaster
560,394,734
false
{"Kotlin": 25133302}
package moe.tlaster.icons.vuesax.vuesaxicons.bold import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap import androidx.co...
0
Kotlin
0
2
b8a8231e6637c2008f675ae76a3423b82ee53950
4,888
VuesaxIcons
MIT License
compiler/testData/diagnostics/tests/inference/reportingImprovements/NoAmbiguityForDifferentFunctionTypes.kt
JakeWharton
99,388,807
false
null
package a interface Closeable {} class C : Closeable {} fun <T: Closeable, R> T.foo(block: (T)-> R) = block fun <T: Closeable, R> T.foo(block: (T, T)-> R) = block fun main(args: Array<String>) { C().foo { // no ambiguity here <!UNUSED_ANONYMOUS_PARAMETER!>www<!> -> <!UNRESOLVED_REFERENCE!>xs<!> ...
1
null
28
83
4383335168338df9bbbe2a63cb213a68d0858104
329
kotlin
Apache License 2.0
change-theme-domain/src/commonMain/kotlin/io/github/ilyapavlovskii/kmm/change/theme/domain/usecase/GetSelectedThemeUseCase.kt
IlyaPavlovskii
599,354,905
false
null
package io.github.ilyapavlovskii.kmm.change.theme.domain.usecase import io.github.ilyapavlovskii.kmm.change.theme.domain.model.Theme interface GetSelectedThemeUseCase { suspend fun execute(): GetSelectedThemeResult } data class GetSelectedThemeResult( val selectedTheme: Theme, )
0
Kotlin
0
2
8bb0811b10abbdbc2f55df641077265b8185c9c8
291
change-theme
Apache License 2.0
kotlin/src/test/kotlin/com/toilatester/kotaf/pages/SearchPage.kt
toilatester
320,446,668
false
{"HTML": 2940412, "JavaScript": 534002, "C#": 300221, "Python": 264304, "Java": 182924, "Kotlin": 43573, "Gherkin": 10364, "RobotFramework": 386, "Batchfile": 358}
package com.toilatester.kotaf.pages import com.toilatester.kotaf.base.BasePage import com.toilatester.kotaf.components.FeedbackGrid import com.toilatester.kotaf.data.EmployeeTable import com.toilatester.kotaf.data.Feedback import com.toilatester.kotaf.data.FeedbackTable import com.toilatester.kotaf.elements.components...
0
HTML
3
8
4c1ceb3f8fff14ed838f94c92be7d92013c95d4a
3,127
sample-automation-frameworks-across-languages
Apache License 2.0
src/test/kotlin/br/com/zup/academy/erombi/controller/ConsultaKeyTest.kt
erombi
410,881,869
true
{"Kotlin": 40207}
package br.com.zup.academy.erombi.controller import br.com.zup.academy.erombi.* import io.grpc.Status import io.grpc.StatusRuntimeException import io.micronaut.http.HttpRequest import io.micronaut.http.HttpStatus import io.micronaut.http.client.HttpClient import io.micronaut.http.client.annotation.Client import io.mic...
0
Kotlin
0
0
9fb9d71e649c986597f9335470770d6398960be5
4,629
orange-talents-07-template-pix-keymanager-rest
Apache License 2.0
mvi_rhine/src/main/java/com/github/qingmei2/mvi/base/viewmodel/BaseViewModel.kt
qingmei2
167,174,767
false
null
package com.github.qingmei2.mvi.base.viewmodel import com.github.qingmei2.mvi.base.intent.IIntent import com.github.qingmei2.mvi.base.viewstate.IViewState abstract class BaseViewModel<I : IIntent, S : IViewState> : AutoDisposeViewModel(), IViewModel<I, S>
4
Kotlin
25
170
6fce8ebc0b123bec8684f90f9b11fa606d469c42
257
MVI-Architecture
Apache License 2.0
data/src/main/java/com/eoyeongbooyeong/data/datasource/MovieDataSource.kt
Booyoungee
819,817,364
false
{"Kotlin": 384445}
package com.eoyeongbooyeong.data.datasource import com.eoyeongbooyeong.data.dto.response.MovieDto interface MovieDataSource { suspend fun searchOnKeyword(numOfRows: Int, pageNo: Int, keyword: String): MovieDto }
0
Kotlin
0
1
df68671d2155e32194b63801a56f9a03053fe6de
218
booyoungee-android
Apache License 2.0
netscan/src/main/java/com/network/scanner/core/domain/entities/PingResult.kt
gustavobarbosab
539,956,745
false
null
package com.network.scanner.core.domain.entities data class PingResult( val hostAddress: String, val hostname: String )
0
Kotlin
0
1
3c67d1316caf842a64885e7d18b3911ebd322c14
129
netscan
RSA Message-Digest License
postgres-driver/src/commonMain/kotlin/query/dsl.kt
keia-bot
731,327,345
false
{"Kotlin": 85028}
package one.keia.oss.psql.driver.query import naibu.common.generateUniqueId import one.keia.oss.psql.driver.Row import one.keia.oss.psql.driver.connection.Connection import one.keia.oss.psql.protocol.FormatCode import one.keia.oss.psql.protocol.Message import one.keia.oss.psql.protocol.StatementType import one.keia.os...
0
Kotlin
0
1
3abff3039a99e0439b32b9de1d95a264a1aacd68
1,238
psql.kt
Apache License 2.0
app/src/main/java/me/ipsum_amet/bikeplace/navigation/destinations/HomeComposable.kt
kibetrns
518,859,807
false
{"Kotlin": 170299}
package me.ipsum_amet.bikeplace.navigation.destinations import androidx.compose.runtime.LaunchedEffect import androidx.compose.runtime.collectAsState import androidx.compose.runtime.getValue import androidx.navigation.NavGraphBuilder import androidx.navigation.NavType import androidx.navigation.compose.composable impo...
7
Kotlin
0
0
103f31c73ef29ac3fd4c44d8a1bf48d4d8bf7a6c
1,729
BikePlace
MIT License
src/main/kotlin/dev/frozenmilk/mercurial/subsystems/Subsystem.kt
Dairy-Foundation
768,236,531
false
{"Kotlin": 106094}
package dev.frozenmilk.mercurial.subsystems import dev.frozenmilk.dairy.core.Feature import dev.frozenmilk.dairy.core.dependency.feature.SingleFeature import dev.frozenmilk.mercurial.Mercurial import dev.frozenmilk.mercurial.commands.Command import java.util.function.Supplier interface Subsystem : Feature { /** * ...
0
Kotlin
0
0
c7a964f625e31698a604750d6ae3dde96fd7137a
743
Mercurial
BSD 3-Clause Clear License
src/main/kotlin/com/anand/industries/kotlingraphql/model/Book.kt
anandProDev
208,667,760
false
null
package com.anand.industries.kotlingraphql.model data class Book( val id : Int, val name: String, // val pageCount: Int, val authorHref: List<String> )
1
null
1
1
790de147509f7ed66bdd96dc80974b2536a218e2
167
graphQL
Apache License 2.0
launchers/ktor/src/main/kotlin/io/github/llmagentbuilder/launcher/ktor/server/AppMain.kt
LLMAgentBuilder
780,391,516
false
{"Kotlin": 121686, "Mustache": 20143, "TypeScript": 7650, "Handlebars": 4563, "Java": 3523, "Python": 1902, "CSS": 1545, "JavaScript": 89}
package io.github.llmagentbuilder.launcher.ktor.server import io.github.llmagentbuilder.core.ChatAgent import io.github.llmagentbuilder.launcher.ktor.server.apis.AgentApi import io.ktor.serialization.jackson.* import io.ktor.server.application.* import io.ktor.server.cio.* import io.ktor.server.engine.* import io.ktor...
0
Kotlin
0
0
aae4e1c7721e227f0afb1d0e69b87b0e17f0d1da
1,082
llm-agent-builder
Apache License 2.0
integration-tests/mongodb-panache-kotlin/src/main/kotlin/io/quarkus/it/mongodb/panache/book/BookShortView.kt
patrox
377,393,180
true
{"Batchfile": 8, "Shell": 22, "Markdown": 93, "Java": 17456, "Java Properties": 363, "HTML": 123, "INI": 756, "Kotlin": 347, "Scala": 38, "SQL": 95, "Gradle Kotlin DSL": 35, "Dockerfile": 2, "JavaScript": 112, "Python": 1, "CSS": 6, "PLpgSQL": 1}
package io.quarkus.it.mongodb.panache.book import io.quarkus.mongodb.panache.common.ProjectionFor import java.time.LocalDate import com.fasterxml.jackson.annotation.JsonFormat import com.fasterxml.jackson.annotation.JsonFormat.Shape @ProjectionFor(Book::class) class BookShortView { // uses the field name title an...
20
Java
1
3
f29b28887af4b50e7484dd1faf252b15f1a9f61a
517
quarkus
Apache License 2.0
module/bukkit-nms/bukkit-nms-ai/src/main/kotlin/taboolib/module/ai/SimpleAi.kt
TabooLib
120,413,612
false
null
package taboolib.module.ai /** * 实体 AI 实现接口 * * @author sky * @since 2018-09-19 19:42 */ abstract class SimpleAi { /** * @return 是否开始执行 */ abstract fun shouldExecute(): Boolean /** * @return 是否继续执行 */ open fun continueExecute(): Boolean { return shouldExecute() } ...
9
null
52
307
f1178ac797c650042c977bfdf7a25e926522c032
505
taboolib
MIT License
app/src/test/java/com/consistence/pinyin/app/list/PinyinPhoneticViewModelTest.kt
nazarcybulskij
141,337,468
true
{"Kotlin": 105481}
package com.consistence.pinyin.app.list import com.consistence.pinyin.api.PhoneticSearch import com.consistence.pinyin.api.PinyinEntity import com.consistence.pinyin.app.list.phonetic.PinyinPhoneticViewModel import com.nhaarman.mockito_kotlin.doReturn import com.nhaarman.mockito_kotlin.mock import com.nhaarman.mockito...
0
Kotlin
0
0
b51f51d8de2aaf2c06deaf3a160ec9ddb2338b60
3,126
android-mvi
Apache License 2.0
app/src/main/java/com/sedsoftware/yaptalker/presentation/extensions/RecyclerViewExt.kt
djkovrik
98,050,611
false
null
package com.sedsoftware.yaptalker.presentation.extensions import androidx.recyclerview.widget.LinearLayoutManager import androidx.recyclerview.widget.RecyclerView fun RecyclerView.visibleItemPosition(): Int { val layoutManager = this.layoutManager as? LinearLayoutManager return layoutManager?.findFirstVisible...
0
Kotlin
4
9
465c34c3dc0dd0488b637073fddf6cd797e78613
343
YapTalker
Apache License 2.0
app/src/test/java/com/example/andriginting/footballmatch/view/teams/TeamSpek.kt
andriiginting
160,222,285
false
null
package com.example.andriginting.footballmatch.view.teams import com.example.andriginting.footballmatch.model.teams.TeamModel import io.reactivex.Single import org.jetbrains.spek.api.Spek import org.jetbrains.spek.api.dsl.given import org.jetbrains.spek.api.dsl.it import org.jetbrains.spek.api.dsl.on import org.junit...
0
Kotlin
0
1
c227005cb563666d7358d71e6cf98a881dad2383
1,370
football-match
MIT License
src/main/kotlin/nl/ordina/github/team/GitHubTeamParent.kt
Ordina-Group
636,594,665
false
{"Kotlin": 33101}
package nl.ordina.github.team import kotlinx.serialization.Serializable @Serializable data class GitHubTeamParent( val id: Int, val node_id: String, val url: String, val members_url: String, val name: String, val description: String? = null, val permission: String, val privacy: String?...
0
Kotlin
0
0
8b5bbb9a9ec4aae05e037d95df629162f3317544
490
github-kotlin-client
Apache License 2.0
src/main/kotlin/moirai/semantics/prelude/StringOpMembers.kt
moirai-lang
301,230,998
false
null
package moirai.semantics.prelude import moirai.semantics.core.* import moirai.semantics.infer.DualFinPluginInstantiation import moirai.semantics.infer.SingleParentArgInstantiation import moirai.semantics.infer.Substitution internal object StringOpMembers { val toCharArray = pluginToCharArray() val add = plugi...
5
null
1
6
92ea78d98cbdb20a18d393daf92d3f3f61a6497b
9,881
moirai-kt
MIT License
src/main/kotlin/com/xxuz/piclane/foltiaapi/scalar/DurationScalar.kt
piclane
471,198,708
false
{"Kotlin": 136299, "Shell": 2824}
package com.xxuz.piclane.foltiaapi.scalar import graphql.schema.Coercing import graphql.schema.GraphQLScalarType import java.time.Duration /** * Duration スカラ型 */ val DurationScalar = GraphQLScalarType.newScalar() .name("Duration") .description("ISO-8601秒ベース表現を使用したデュレーション型") .coercing(DurationCoercing())...
0
Kotlin
0
0
0213e646e16fe68829304911d832eb4f192896c4
816
FalPlusAPI
MIT License
app/src/main/java/io/wookey/dash/feature/asset/AssetDetailActivity.kt
msgpo
545,626,152
true
{"C": 2987509, "C++": 2009138, "Assembly": 778483, "Python": 496859, "Kotlin": 301796, "Java": 196221, "CMake": 128422, "Shell": 25505, "Objective-C": 120}
package io.wookey.dash.feature.asset import android.arch.lifecycle.Observer import android.arch.lifecycle.ViewModelProviders import android.content.Intent import android.os.Bundle import android.support.v4.app.Fragment import android.support.v4.app.FragmentPagerAdapter import android.support.v4.content.ContextCompat i...
0
null
1
0
8f819ab1421553e99014534b8e27df78bbf2ed6e
8,820
dash-wallet-android-app
MIT License
Chapter04/Activity4.01/app/src/main/java/com/example/navigationactivity/MySportsFragment.kt
PacktPublishing
310,206,627
false
{"Kotlin": 583795}
package com.example.navigationactivity import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.Button import androidx.fragment.app.Fragment import androidx.navigation.Navigation class MySportsFragment : Fragment() { override fun onC...
2
Kotlin
67
97
b37be5b81ed1f5fb107733b509bae80e46f92f4a
1,084
How-to-Build-Android-Apps-with-Kotlin
MIT License
predict/src/main/kotlin/com/hellena/predict/item/service/ItemInsertService.kt
IvanGavlik
415,026,862
false
{"Kotlin": 74020}
package com.hellena.predict.item.service import com.hellena.predict.api.model.ItemInsertDto; import com.hellena.predict.item.Item import com.hellena.predict.item.ItemRepository import com.hellena.predict.item.category.Category import com.hellena.predict.item.category.CategoryRepository import com.hellena.predict.item....
0
Kotlin
0
0
e7f120ba04d71248c62591b42f82fc2dae5f135f
1,823
Hellena
Apache License 2.0
app/src/main/java/com/navneet/foodgenie/model/foodItems.kt
navneet-baid
749,176,947
false
{"Kotlin": 120389}
package com.navneet.foodgenie.model import org.json.JSONArray data class foodItems( val order_id: Int, val restaurant_name: String, val placed_at: String, val foodDetails: JSONArray )
0
Kotlin
0
1
ce18bb4c76cca592b6e30939abffd35b00dd445b
201
FoodGenie
MIT License
processor/src/test/kotlin/com/faendir/kotlin/autodsl/NestingTest.kt
F43nd1r
358,948,300
false
null
package com.faendir.kotlin.autodsl import org.junit.jupiter.api.TestFactory class NestingTest { @TestFactory fun `basic nesting`() = compile( """ import com.faendir.kotlin.autodsl.AutoDsl @AutoDsl class Entity(val a: Entity2) @AutoDsl ...
0
Kotlin
0
8
5ef16a354866535bc13cb49d0428cecb65bb83b8
4,708
autodsl
Apache License 2.0
app/src/main/java/kr/ac/daegu/timetable/domain/timetable/model/TimetableConfig.kt
yunsungdaegu
643,094,886
false
null
package kr.ac.daegu.timetable.domain.timetable.model data class TimetableConfig( val name: String, val year: String, val semester: String )
0
Kotlin
0
1
daad0e2bdd3ed6a57c523bd022d2f8e8226902e7
152
DaeguUnivTimetable
Apache License 2.0
tinbo-plugin-api/src/main/kotlin/io/gitlab/arturbosch/tinbo/api/model/util/CSVDataExchange.kt
arturbosch
66,214,435
false
null
package io.gitlab.arturbosch.tinbo.api.model.util import io.gitlab.arturbosch.tinbo.api.model.Entry import io.gitlab.arturbosch.tinbo.api.replaceSeparator import org.joda.money.Money import java.lang.reflect.Field import java.time.LocalDate import java.time.LocalDateTime import java.time.Month import java.util.ArrayLi...
1
null
1
6
85a74b80b081e374360475f4979e5adffbf91436
2,053
Tinbo
Apache License 2.0
tinbo-plugin-api/src/main/kotlin/io/gitlab/arturbosch/tinbo/api/model/util/CSVDataExchange.kt
arturbosch
66,214,435
false
null
package io.gitlab.arturbosch.tinbo.api.model.util import io.gitlab.arturbosch.tinbo.api.model.Entry import io.gitlab.arturbosch.tinbo.api.replaceSeparator import org.joda.money.Money import java.lang.reflect.Field import java.time.LocalDate import java.time.LocalDateTime import java.time.Month import java.util.ArrayLi...
1
null
1
6
85a74b80b081e374360475f4979e5adffbf91436
2,048
Tinbo
Apache License 2.0
common/src/commonMain/kotlin/dev/sergiobelda/todometer/common/localdatasource/TaskListLocalDataSource.kt
serbelga
301,817,067
false
null
/* * Copyright 2021 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
8
null
8
93
bd39269ff685f0ac1c487becfa106fb7ece2cf1a
2,122
ToDometer_Kotlin_Multiplatform
Apache License 2.0
kactoos-jvm/src/main/kotlin/nnl/rocks/kactoos/scalar/OrFunc.kt
neonailol
117,650,092
false
null
package nnl.rocks.kactoos.scalar import nnl.rocks.kactoos.Func import nnl.rocks.kactoos.KScalar import nnl.rocks.kactoos.Proc import nnl.rocks.kactoos.func.FuncOf import nnl.rocks.kactoos.iterable.IterableOf import nnl.rocks.kactoos.iterable.Mapped /** * Logical disjunction. * * There is no thread-safety guarantee...
0
Kotlin
1
19
ce10c0bc7e6e65076b8ace90770b9f7648facf4a
1,616
kactoos
MIT License
app/src/test/kotlin/com/sawrose/movielist/AndroidAssertions.kt
sawrose15
152,362,758
false
null
@file:JvmName("AndroidAssertions") @file:JvmMultifileClass package com.sawrose.movielist import android.support.v7.app.AppCompatActivity import org.amshove.kluent.shouldEqual import org.robolectric.Robolectric import org.robolectric.Shadows import kotlin.reflect.KClass infix fun KClass<out AppCompatActivity>.`should...
0
Kotlin
0
0
acc88f9454827562bef45f2c77afc3f09b8a3087
663
MovieList
Apache License 2.0
android/src/com/android/tools/idea/res/AndroidResourcesShortNamesCache.kt
JetBrains
60,701,247
false
{"Kotlin": 47327090, "Java": 36711107, "HTML": 1217549, "Starlark": 856686, "C++": 321587, "Python": 100400, "C": 71515, "Lex": 66732, "NSIS": 58538, "AIDL": 35209, "Shell": 28699, "CMake": 26717, "JavaScript": 18437, "Batchfile": 7828, "Smali": 7580, "RenderScript": 4411, "Makefile": 2298, "IDL": 269, "QMake": 18}
/* * Copyright (C) 2018 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...
3
Kotlin
220
912
d88742a5542b0852e7cb2dd6571e01576cb52841
3,441
android
Apache License 2.0
compose/src/main/java/com/yourssu/design/system/compose/component/toast/ToastHost.kt
yourssu
364,290,281
false
{"Kotlin": 677574, "Ruby": 1965}
package com.yourssu.design.system.compose.component.toast import androidx.compose.runtime.Composable import androidx.compose.runtime.LaunchedEffect import androidx.compose.runtime.Stable import androidx.compose.runtime.getValue import androidx.compose.runtime.mutableStateOf import androidx.compose.runtime.remember imp...
9
Kotlin
2
30
2cb0f09f9c27ad332b4deac8314fee81bcffaf43
2,588
YDS-Android
MIT License
src/main/kotlin/com/leetcode/P93.kt
antop-dev
229,558,170
false
null
package com.leetcode // https://github.com/antop-dev/algorithm/issues/331 class P93 { val answer = mutableListOf<String>() fun restoreIpAddresses(s: String): List<String> { if (s.length !in 4..12) return listOf() dfs(s, 0, 0, StringBuffer()) return answer } /** * @param s...
4
Kotlin
0
0
9958b77651ffb9b63226f7fd8b2ce88fd92d49b0
1,297
algorithm
MIT License
src/commonMain/kotlin/com.adamratzman.spotify/endpoints/pub/ShowApi.kt
adamint
104,819,774
false
null
/* Spotify Web API, Kotlin Wrapper; MIT License, 2017-2021; Original author: Adam Ratzman */ package com.adamratzman.spotify.endpoints.public import com.adamratzman.spotify.GenericSpotifyApi import com.adamratzman.spotify.SpotifyAppApi import com.adamratzman.spotify.SpotifyException.BadRequestException import com.adam...
8
null
21
178
1b2c9f80200825a6aa4e3656ba11b7396b5bd2e4
5,846
spotify-web-api-kotlin
MIT License
Wechat_chatroom_helper_android/app/src/main/kotlin/com/zdy/project/wechat_chatroom_helper/helper/manager/PermissionHelper.kt
zhudongya123
96,015,224
false
{"Kotlin": 286325, "Java": 183834}
package com.zdy.project.wechat_chatroom_helper.helper.manager import android.Manifest import android.annotation.SuppressLint import android.app.Activity import android.app.AlertDialog import android.content.Intent import android.content.pm.PackageManager import android.net.Uri import android.os.Build import android.os...
9
Kotlin
19
83
491d890d70734fcabcaa464c79a34a96f7923b22
5,154
WechatChatRoomHelper
Apache License 2.0
barrage-fly/src/main/java/tech/ordinaryroad/barrage/fly/exception/BaseBarrageFlyException.kt
OrdinaryRoad-Project
689,200,873
false
{"Vue": 118337, "Kotlin": 117803, "JavaScript": 62837, "Java": 13244, "Python": 7430, "Shell": 4768, "Dockerfile": 1153, "SCSS": 735, "CSS": 718}
/* * Copyright 2023 OrdinaryRoad * * 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 ...
8
Vue
11
26
19d790f0adb366caaf1b3df2e3b2b474bde5ae61
1,384
ordinaryroad-barrage-fly
Apache License 2.0
src/main/kotlin/dev/emortal/blockscreen/MinestomRunnable.kt
emortaldev
469,857,886
false
{"Kotlin": 13732}
package dev.emortal.blockscreen import java.time.Duration import java.util.* import kotlin.concurrent.scheduleAtFixedRate abstract class MinestomRunnable(val delay: Duration = Duration.ZERO, val repeat: Duration = Duration.ZERO, var iterations: Int = -1, timer: Timer = defaultTimer) { companion object { ...
1
Kotlin
0
3
489e5a860d4ee1c13efcf759f086e8154c6b254e
907
BlockScreen
MIT License
app/src/test/kotlin/kotlinadventofcode/2023/2023-02-Test.kt
pragmaticpandy
356,481,847
false
{"Kotlin": 854605, "Shell": 219}
// Originally generated by the template in CodeDAO package kotlinadventofcode.`2023` import kotlin.test.Test import kotlin.test.assertEquals import kotlin.test.assertNotNull class `2023-02-Test` { private infix fun String.when1runsWith(input: String) { assertEquals(this, `2023-02`().runPart1(input)) ...
0
Kotlin
0
3
48efe6d4dfd21a33130ce4282487fd33825a9721
639
kotlinadventofcode
MIT License
evervault-core/src/commonMain/kotlin/com/evervault/sdk/core/datahandlers/BytesHandler.kt
evervault
658,816,254
false
null
package com.evervault.sdk.core.datahandlers import com.evervault.sdk.core.EncryptionService internal class BytesHandler(private val encryptionService: EncryptionService) : DataHandler { override fun canEncrypt(data: Any): Boolean { return data is ByteArray } override fun encrypt(data: Any, conte...
0
Kotlin
0
1
b68d125c1307ee6bf8cd5132447185792e3225c5
473
evervault-multiplatform
MIT License
src/main/kotlin/com/demonwav/mcdev/platform/mixin/action/ShadowReferences.kt
Earthcomputer
240,984,777
false
null
/* * Minecraft Dev for IntelliJ * * https://minecraftdev.org * * Copyright (c) 2017 minecraft-dev * * MIT License */ package com.demonwav.mcdev.platform.mixin.actions import com.demonwav.mcdev.platform.mixin.util.findField import com.demonwav.mcdev.platform.mixin.util.findMethods import com.demonwav.mcdev.pla...
204
null
2
23
ab8aaeb8804c7a8b2e439e063a73cb12d0a9d4b5
2,086
MinecraftDev
MIT License