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
sessionize/lib/src/commonTest/kotlin/co/touchlab/sessionize/EventModelTest.kt
monkeyer
185,567,824
true
{"Kotlin": 184942, "Swift": 77524, "Python": 2933, "Ruby": 1998, "Objective-C": 537, "Shell": 36}
package co.touchlab.sessionize import co.touchlab.sessionize.api.AnalyticsApi import co.touchlab.sessionize.api.FeedbackApi import co.touchlab.sessionize.api.NotificationsApi import co.touchlab.sessionize.api.SessionizeApi import co.touchlab.sessionize.platform.TestConcurrent import kotlinx.coroutines.Dispatchers impo...
0
Kotlin
0
0
9bfc56eece31eb9e0b09980708e83eca1b3157ab
3,932
DroidconKotlin
Apache License 2.0
pandora/src/main/java/com/lodz/android/pandora/rx/subscribe/subscriber/RxSubscriber.kt
LZ9
137,967,291
false
{"Kotlin": 2174239}
package com.lodz.android.pandora.rx.subscribe.observer import com.lodz.android.pandora.rx.exception.ExceptionFactory import com.lodz.android.pandora.rx.status.ResponseStatus import io.reactivex.rxjava3.disposables.Disposable /** * 网络接口使用的订阅者(无背压),主要对接口进行判断处理 * Created by zhouL on 2018/7/5. */ abstract class RxObse...
0
Kotlin
3
11
926b9f968a984c42ade94371714ef4caf3ffbccf
2,830
AgileDevKt
Apache License 2.0
gitrelease/src/main/java/com/github/pidsamhai/gitrelease/util/ChecksumApk.kt
Pidsamhai
249,261,746
false
null
package com.github.pidsamhai.gitrelease.util import com.github.pidsamhai.gitrelease.response.checksum.Checksum import com.google.gson.Gson import java.io.BufferedReader import java.io.ByteArrayOutputStream import java.io.File import java.io.FileInputStream import java.security.MessageDigest internal fun validateApk(a...
1
Kotlin
0
1
9adb8d5956fe4f333b62dc4b1ddd8ba6afc2833c
2,479
GitRelease
Do What The F*ck You Want To Public License
app/src/main/java/com/skydevices/marketcalc/model/Compra.kt
kaioLimaX
681,920,305
false
{"Kotlin": 62869}
package com.skydevices.marketcalc.model import android.os.Parcelable import androidx.room.Entity import androidx.room.PrimaryKey import kotlinx.parcelize.Parcelize import java.sql.Date import java.time.LocalDate @Parcelize class Compra( var id_compra: Int, var status_compra: Int, var data_compra: LocalDat...
0
Kotlin
0
0
4db3196a2724e9bce50492eaca9b101e850a49d0
366
MarketCalc
MIT License
app/src/main/kotlin/com/dtz/netservice/ui/activities/mainchild/MainChildActivity.kt
arthurisaac
590,202,437
false
{"Kotlin": 527523, "Java": 6547}
package com.dtz.netservice.ui.activities.mainchild import android.Manifest.permission.SYSTEM_ALERT_WINDOW import android.app.AppOpsManager import android.content.BroadcastReceiver import android.content.Context import android.content.IntentFilter import android.media.AudioManager import android.media.MediaRecorder imp...
0
Kotlin
0
0
0e0d332896a6db60c5af57680d039f7aa08ed9cb
14,313
crit-app
Apache License 2.0
src/test/kotlin/snc/openchargingnetwork/node/integration/parties/PartyServer.kt
Smart-Charging
245,366,665
false
{"Gradle Kotlin DSL": 2, "YAML": 2, "Dockerfile": 1, "INI": 3, "Shell": 3, "Text": 1, "Batchfile": 1, "Markdown": 2, "Kotlin": 152, "Java": 2, "Java Properties": 3, "AsciiDoc": 1, "desktop": 1, "JSON": 2}
package snc.openchargingnetwork.node.integration.parties import io.javalin.Javalin import org.web3j.crypto.Credentials as KeyPair import shareandcharge.openchargingnetwork.notary.SignableHeaders import snc.openchargingnetwork.node.integration.JavalinException import snc.openchargingnetwork.node.integration.coerceToJso...
1
null
1
1
15d7320f19d5ce94782a8e52635855dc046aa5a4
2,982
scn-node
Apache License 2.0
src/main/kotlin/com/droid/explorer/command/adb/impl/Start.kt
jonatino
56,899,891
false
{"Kotlin": 40686, "CSS": 9445, "Batchfile": 318}
/* * Copyright 2016 Jonathan Beaudoin * * 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 appl...
1
Kotlin
8
34
6a39d7f72b7d3c8d3709dd3489f6ef47afa1f80d
855
Droid-Explorer
Apache License 2.0
src/main/kotlin/dev/augu/nino/commands/moderation/Module.kt
NinoDiscord
275,459,123
false
null
package dev.augu.nino.commands.moderation import dev.augu.nino.butterfly.command.Command import org.koin.dsl.bind import org.koin.dsl.module val moderationModule = module { single { WarnCommand() } bind Command::class single { BanCommand(get(), get(), get(), get()) } bind Command::class single { UnbanComm...
6
Kotlin
0
5
7a9937908197fedbbe544e374ce350b7129da1af
832
NinoKotlin
MIT License
application/src/main/kotlin/application/versioning/commands/UpdateCommand.kt
subodh2917
271,026,708
true
{"Kotlin": 717956, "Gherkin": 2572}
package application.versioning.commands import run.qontract.core.versioning.ContractIdentifier import run.qontract.core.versioning.getRepoProvider import picocli.CommandLine import run.qontract.core.QONTRACT_EXTENSION import java.io.File import java.util.concurrent.Callable @CommandLine.Command(name = "update", descr...
0
null
0
0
e490138a11d11b870a23f3bb81885e094c9d3675
1,429
qontract
MIT License
csstype-kotlin/src/jsMain/kotlin/web/cssom/OverflowClipBox.kt
karakum-team
393,199,102
false
{"Kotlin": 6272741}
// Automatically generated - do not modify! package web.cssom import seskar.js.JsValue sealed external interface OverflowClipBox { companion object { @JsValue("content-box") val contentBox: OverflowClipBox @JsValue("padding-box") val paddingBox: OverflowClipBox } }
0
Kotlin
8
36
95b065622a9445caf058ad2581f4c91f9e2b0d91
310
types-kotlin
Apache License 2.0
easyroutes/src/main/java/com/tonyakitori/inc/easyroutes/rest/DirectionsRestImp.kt
AntonioHReyes
430,275,849
false
{"Kotlin": 28328}
package com.tonyakitori.inc.easyroutes.rest import com.google.android.gms.maps.model.LatLng import com.google.gson.GsonBuilder import com.tonyakitori.inc.easyroutes.EasyRoutesDirections import com.tonyakitori.inc.easyroutes.model.Directions import okhttp3.OkHttpClient import okhttp3.Request import java.util.ArrayList ...
0
Kotlin
1
8
32de79fd3f64801c87926649b60ab97766fe6c92
4,066
EasyRoutes
MIT License
app/src/main/java/com/tiagohs/hqr/database/repository/HistoryRepository.kt
tiagohs
135,235,006
false
null
package com.tiagohs.hqr.database.repository import com.tiagohs.hqr.database.IHistoryRepository import com.tiagohs.hqr.factory.HistoryFactory import com.tiagohs.hqr.models.database.comics.ComicHistory import com.tiagohs.hqr.models.view_models.ComicHistoryViewModel import io.reactivex.Observable import io.realm.Realm im...
1
Kotlin
2
11
8a86fa1c66a9ba52afcf02bea4acbb674d8a473a
5,331
hqr-comics-reader
Apache License 2.0
model/src/main/java/com/adityaamolbavadekar/messenger/model/ConversationRecordRecipientCrossRef.kt
AdityaBavadekar
551,463,718
false
null
/* * * Copyright 2022 <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 l...
3
Kotlin
0
1
76c105ca7a5f01aa39fc5a4c821b705d85c883ae
855
Messenger
Apache License 2.0
automation/espresso/src/main/kotlin/com/instructure/canvas/espresso/common/interaction/ToDoDetailsInteractionTest.kt
instructure
179,290,947
false
{"Kotlin": 16415961, "Dart": 4454406, "HTML": 185120, "Ruby": 35686, "Java": 24752, "Shell": 19157, "Groovy": 11717, "JavaScript": 9505, "Objective-C": 7431, "Python": 2438, "CSS": 1356, "Swift": 807, "Dockerfile": 112}
/* * Copyright (C) 2024 - present Instructure, Inc. * * 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 requ...
7
Kotlin
102
127
ca6e2aeaeedb851003af5497e64c22e02dbf0db8
6,083
canvas-android
Apache License 2.0
server/src/test/kotlin/com/tomaszezula/makker/server/UpdateScenarioV1Test.kt
zezutom
521,502,658
false
null
package com.tomaszezula.makker.server import com.tomaszezula.makker.common.MakeAdapter import com.tomaszezula.makker.common.model.Blueprint import com.tomaszezula.makker.common.model.CreateScenarioContext import com.tomaszezula.makker.common.model.Scenario import com.tomaszezula.makker.server.model.RequestContext impo...
1
Kotlin
1
0
b6fb828fe9f57e09980d010fb6abb3562b760e18
2,738
makker
MIT License
android/src/newarch/AppBadgeSpec.kt
cristiangu
773,910,637
false
{"Kotlin": 4897, "Ruby": 3871, "Objective-C": 2564, "Objective-C++": 2550, "JavaScript": 2122, "TypeScript": 1717, "C": 103, "Swift": 60}
package com.appbadge import com.facebook.react.bridge.ReactApplicationContext abstract class AppBadgeSpec internal constructor(context: ReactApplicationContext) : NativeAppBadgeSpec(context) { }
0
Kotlin
0
0
11592dbe29749c46279e78a6565b82cd2cf30c04
199
react-native-app-badge
MIT License
src/main/kotlin/com/dj/tool/model/ReviewCommentInfoModel.kt
jiaozhu303
581,574,468
false
{"Kotlin": 63491, "Java": 4297}
package com.dj.tool.model import com.google.common.base.Objects import com.intellij.openapi.util.text.StringUtil import java.io.Serializable class ReviewCommentInfoModel : Serializable { @JvmField var identifier: Long = 0 @JvmField var reviewer: String? = null @JvmField var comments: String?...
0
Kotlin
0
0
86d3f5a2b587db621909fc184590dfc9fdcfcaa9
4,334
code-audit
Apache License 2.0
app/src/main/java/dev/logickoder/qrpay/app/widgets/Icon.kt
logickoder
477,716,253
false
{"Kotlin": 196199}
package dev.logickoder.qrpay.app.widgets import androidx.compose.foundation.background import androidx.compose.foundation.layout.padding import androidx.compose.material3.MaterialTheme import androidx.compose.runtime.Composable import androidx.compose.ui.Modifier import androidx.compose.ui.draw.clip import androidx.co...
6
Kotlin
0
5
7eb8918c6ccfaeb7d447ce090b8511374a53e1ee
797
qrpay
MIT License
app/src/main/java/com/kasuminotes/ui/components/BadgedDiffBox.kt
chilbi
399,723,451
false
{"Kotlin": 876655}
package com.kasuminotes.ui.components import androidx.compose.foundation.layout.BoxScope import androidx.compose.foundation.layout.RowScope import androidx.compose.foundation.layout.offset import androidx.compose.material3.Badge import androidx.compose.material3.BadgedBox import androidx.compose.material3.MaterialThem...
0
Kotlin
0
1
0f65ac6a132c957cb160bbdd31d6e141c559d853
1,449
KasumiNotes
Apache License 2.0
backend/src/main/kotlin/com/tinder/dating/controller/ChatController.kt
Sashimi4
527,875,352
false
null
package com.tinder.dating.controller import com.tinder.dating.nosqlData.domain.ChatNotification import com.tinder.dating.nosqlData.domain.Message import com.tinder.dating.nosqlData.domain.MessageStatus import com.tinder.dating.service.ChatRoomService import com.tinder.dating.service.MessageService import org.springfra...
7
Kotlin
0
1
5c4605d98cb3ce3522c8f07df271efee20d42ef3
2,531
M151
MIT License
app/src/main/java/com/thoughtworks/car/deeplink/DeeplinkSchemeInterceptor.kt
CarOS-Android
620,154,065
false
null
package com.thoughtworks.car.deeplink import com.thoughtworks.ark.router.Router import com.thoughtworks.ark.router.RouterInterceptor import com.thoughtworks.ark.router.SchemeRequest import com.thoughtworks.car.MainActivity import com.thoughtworks.car.R import com.thoughtworks.car.Schemes class DeeplinkSchemeIntercept...
0
Kotlin
0
0
81de4059e2b42d50744f65110f9845d3c6303c56
1,272
CarApp-team1
Apache License 2.0
database/src/test/kotlin/no/nav/su/se/bakover/database/grunnlag/PensjonsgrunnlagPostgresRepoTest.kt
navikt
227,366,088
false
{"Kotlin": 10063999, "Shell": 4388, "TSQL": 1233, "Dockerfile": 1209}
package no.nav.su.se.bakover.database.grunnlag import no.nav.su.se.bakover.common.serialize import org.junit.jupiter.api.Test import org.skyscreamer.jsonassert.JSONAssert import vilkår.pensjon.domain.Pensjonsopplysninger internal class PensjonsgrunnlagPostgresRepoTest { @Test fun `jsonformat for grunnlag`() ...
5
Kotlin
1
1
9eee9765f5742e8f8d6e7ba56512723776bae71c
1,257
su-se-bakover
MIT License
src/main/kotlin/com/x256n/regexapplier/desktop/dialog/regex/RegexViewModel.kt
liosha2007
622,254,001
false
null
package com.x256n.regexapplier.desktop.dialog.regex import androidx.compose.runtime.getValue import androidx.compose.runtime.mutableStateOf import androidx.compose.runtime.setValue import com.x256n.regexapplier.desktop.common.DispatcherProvider import com.x256n.regexapplier.desktop.common.StandardDispatcherProvider im...
0
Kotlin
0
0
5507bdec71ac500a292a11e2223ed5c01fe1a440
3,522
regex-applier
MIT License
src/main/kotlin/xyz/olympusblog/controller/ArticleController.kt
sentrionic
376,094,493
false
{"Kotlin": 68969, "HTML": 197}
package xyz.olympusblog.controller import org.springframework.http.HttpStatus import org.springframework.http.ResponseEntity import org.springframework.http.ResponseEntity.status import org.springframework.validation.FieldError import org.springframework.validation.ObjectError import org.springframework.web.bind.Metho...
0
Kotlin
0
0
eb7171aa6a58f565ddd489c3d5adde88c0f6626c
6,639
OlympusSpring
MIT License
src/test/kotlin/net/pwall/pipeline/CoUtilityTest.kt
pwall567
238,438,444
false
{"Kotlin": 144444}
/* * @(#) CoUtilityTest.kt * * co-pipelines Pipeline library for Kotlin coroutines * Copyright (c) 2023 <NAME> * * 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,...
0
Kotlin
0
0
15cd7d59017830812c84973f1cdf3bab4d97a90e
1,590
co-pipelines
MIT License
kino-service/src/main/kotlin/no/octopod/cinema/kino/converter/ShowConverter.kt
kissorjeyabalan
153,418,423
false
null
package no.octopod.cinema.kino.converter import no.octopod.cinema.common.hateos.HalPage import no.octopod.cinema.common.dto.ShowDto import no.octopod.cinema.kino.entity.ShowEntity import kotlin.streams.toList class ShowConverter { companion object { fun transform(showEntity: ShowEntity): ShowDto { ...
1
Kotlin
1
0
a3f2d25a418929f678b94f74f3ce37d17c081472
1,604
kino-application
MIT License
amadeus-android/src/main/java/com/amadeus/android/domain/air/apis/ShoppingApi.kt
amadeus4dev-examples
251,277,473
false
{"Kotlin": 407450}
package com.amadeus.android.domain.air.apis import com.amadeus.android.ApiResponse import com.amadeus.android.domain.resources.FlightOfferSearch import com.amadeus.android.domain.resources.FlightPrice import com.amadeus.android.tools.CSV import retrofit2.http.GET import retrofit2.http.POST @JvmSuppressWildcards inter...
14
Kotlin
8
19
0dc89b54f1fceae6038d50a3566b1f7a2a874b90
45,931
amadeus-android
MIT License
src/main/kotlin/xyz/gnarbot/gnar/commands/music/dj/RestartCommand.kt
MG8853
350,430,768
true
{"Kotlin": 308133, "Java": 84910}
package xyz.gnarbot.gnar.commands.music.dj import xyz.gnarbot.gnar.commands.* import xyz.gnarbot.gnar.commands.music.MusicCommandExecutor import xyz.gnarbot.gnar.commands.music.embedTitle import xyz.gnarbot.gnar.music.MusicManager @Command( aliases = ["restart", "replay"], description = "再生予定の曲の再生を再開し...
0
Kotlin
0
1
35113ef2755c1884e188f77b2da454e509653832
950
Octave
MIT License
js-plugin/src/main/kotlin/org/jetbrains/research/deepbugs/javascript/ide/ui/JSDeepBugsConfigurable.kt
JetBrains-Research
146,897,119
false
null
package org.jetbrains.research.deepbugs.javascript.ide.ui import com.intellij.openapi.components.service import org.jetbrains.research.deepbugs.common.DeepBugsConfig import org.jetbrains.research.deepbugs.common.ide.ui.DeepBugsConfigurable import org.jetbrains.research.deepbugs.javascript.JSDeepBugsConfig import org.j...
7
null
1
6
8e9b2c0b070baef9bdcbf9159c0fec0ef357b7a7
624
DeepBugsPlugin
MIT License
logcat/src/com/android/tools/idea/logcat/LogcatHeaderPanel.kt
JetBrains
60,701,247
false
null
/* * Copyright (C) 2021 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
5
null
227
948
10110983c7e784122d94c7467e9d243aba943bf4
4,665
android
Apache License 2.0
mobile/src/main/java/rs/readahead/washington/mobile/views/settings/CamouflageNameAndLogo.kt
Horizontal-org
193,379,924
false
{"Java": 1621257, "Kotlin": 1441445}
package rs.readahead.washington.mobile.views.activity.onboarding import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.core.content.ContextCompat import androidx.recyclerview.widget.GridLayoutManager import androidx.recyclerview.widget.Recycl...
16
Java
17
55
5dd19f8c9a810c165d2d8ec8947cc9d5d4620bab
3,529
Tella-Android
Apache License 2.0
basick/src/main/java/com/mozhimen/basick/utilk/kotlin/UtilKStrClazz.kt
mozhimen
353,952,154
false
{"Kotlin": 1551026, "Java": 3916, "AIDL": 964}
package com.mozhimen.kotlin.utilk.kotlin /** * @ClassName UtilKStrClazz * @Description TODO * @Author Mozhimen & <NAME> * @Date 2023/12/20 * @Version 1.0 */ @Throws(ClassNotFoundException::class) fun String.strClazz2clazz(): Class<*> = UtilKStrClazz.strClazz2clazz(this) fun String.isStrClassPackageExists() ...
1
Kotlin
15
118
3e9cda57ac87f84134e768cc3756411d5bbd143f
853
SwiftKit
Apache License 2.0
map_google/src/main/java/com/murphy/client/google/GoogleMapClient.kt
WxSmile
288,378,215
false
null
package com.murphy.client.google import android.content.Context import android.support.v4.app.Fragment import com.murphy.map.client.LocationLisetner import com.murphy.map.client.MapClient import com.murphy.map.client.OnMapLoadedCallback import com.murphy.map.client.domain.GCJ02LatLng class GoogleMapClient: MapClient ...
0
Kotlin
0
1
b5092f7a674784006f41d0eff2b0b78da7ce233e
796
PlatformCompat-Maps
Apache License 2.0
platform/backend/core/src/main/kotlin/io/hamal/core/service/FixedRateTriggerService.kt
hamal-io
622,870,037
false
{"Kotlin": 1744717, "C": 1398401, "TypeScript": 54320, "C++": 40651, "Lua": 36419, "Makefile": 11728, "Java": 7564, "CMake": 2881, "JavaScript": 1532, "HTML": 694, "Shell": 456, "CSS": 118}
package io.hamal.core.service import io.hamal.core.event.PlatformEventEmitter import io.hamal.core.req.InvokeExecReq import io.hamal.core.req.SubmitRequest import io.hamal.lib.common.snowflake.SnowflakeId import io.hamal.lib.common.domain.Limit import io.hamal.lib.common.util.TimeUtils.now import io.hamal.lib.domain.G...
6
Kotlin
0
0
fd06bf799f18db2d425b7084abf15b741fa9878e
2,867
hamal
Creative Commons Zero v1.0 Universal
app-quality-insights/play-vitals/integration-tests/src/com/android/tools/idea/vitals/VitalsIntegrationTest.kt
JetBrains
60,701,247
false
null
/* * Copyright (C) 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 app...
5
null
227
948
10110983c7e784122d94c7467e9d243aba943bf4
3,825
android
Apache License 2.0
app/src/main/java/com/chrislicoder/foodrecipes_dbcache/adapters/SearchExhaustedViewHolder.kt
chrislicoder
288,714,192
false
{"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "Java": 2, "XML": 24, "Kotlin": 26}
package com.chrislicoder.foodrecipes_dbcache.adapters import android.view.View import androidx.recyclerview.widget.RecyclerView class SearchExhaustedViewHolder(itemView: View) : RecyclerView.ViewHolder(itemView)
0
Kotlin
0
1
e31e1c91f4bc1c1b0d3f9ce708adcb160edb39c5
214
Local-db-Cache-Retrofit-REST-API-MVVM
Apache License 2.0
src/test/kotlin/com/gmail/blueboxware/libgdxplugin/json/TestIntentions.kt
BlueBoxWare
64,067,118
false
null
package com.gmail.blueboxware.libgdxplugin.json import com.gmail.blueboxware.libgdxplugin.LibGDXCodeInsightFixtureTestCase import com.gmail.blueboxware.libgdxplugin.filetypes.json.intentions.GdxJsonAddQuotesIntention import com.gmail.blueboxware.libgdxplugin.filetypes.json.intentions.GdxJsonMoveArrayElementBackwardInt...
2
null
9
145
bcb911e0c3f3e9319bc8ee2d5b6b554c6090fd6c
6,489
LibGDXPlugin
Apache License 2.0
objects/src/commonMain/kotlin/ru/krindra/vkkt/objects/store/StoreStickersKeyword.kt
krindra
780,080,411
false
{"Kotlin": 1336107}
package ru.krindra.vkkt.objects.store import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable /** * * @param words * @param userStickers * @param promotedStickers * @param stickers */ @Serializable data class StoreStickersKeyword ( @SerialName("words") val words: List<String>, ...
0
Kotlin
0
1
58407ea02fc9d971f86702f3b822b33df65dd3be
593
VKKT
MIT License
src/main/kotlin/com/bill/blog/repository/LinkRepository.kt
xinqilin
392,696,045
false
null
package com.bill.blog.repository import com.bill.blog.entity.Link import org.springframework.data.jpa.repository.JpaRepository import org.springframework.data.jpa.repository.JpaSpecificationExecutor import org.springframework.stereotype.Repository /** * @author Bill.Lin on 2021/8/5 */ @Repository interface LinkRep...
0
Kotlin
0
0
aadf84bf1348fb347b4bc679294bc36de6181e51
391
kotlin-blog
MIT License
base/src/commonMain/kotlin/com/github/fsbarata/functional/data/list/Lists.kt
fsbarata
277,280,202
false
null
package com.github.fsbarata.functional.data.list import com.github.fsbarata.functional.control.Applicative import com.github.fsbarata.functional.data.Functor import com.github.fsbarata.functional.data.Monoid import com.github.fsbarata.functional.data.Semigroup import com.github.fsbarata.functional.data.maybe.Optional ...
0
Kotlin
1
0
bc867d492fa88ddc0bed623068325671d683f973
1,373
kotlin-functional
Apache License 2.0
yandex-mapkit-kmp/src/androidMain/kotlin/ru/sulgik/mapkit/map/PlacemarksStyler.android.kt
SuLG-ik
813,953,018
false
{"Kotlin": 321441}
package ru.sulgik.mapkit.map import ru.sulgik.mapkit.PointF import ru.sulgik.mapkit.toNative import com.yandex.mapkit.map.PlacemarksStyler as NativePlacemarksStyler public actual class PlacemarksStyler internal constructor(private val nativePlacemarksStyler: NativePlacemarksStyler) { public fun toNative(): Nativ...
0
Kotlin
1
17
2d292b701adb2c538f8cd3ddf614250f9d6a444d
636
yandex-mapkit-kmp
Apache License 2.0
app/src/main/java/com/example/android/politicalpreparedness/election/VoterInfoViewModel.kt
NandaPL
734,542,851
false
{"Kotlin": 43003}
package com.example.android.politicalpreparedness.election import android.util.Log import androidx.lifecycle.* import com.example.android.politicalpreparedness.database.ElectionDao import com.example.android.politicalpreparedness.network.CivicsApi import com.example.android.politicalpreparedness.network.models.Divisio...
0
Kotlin
0
0
3c036e7334400fdf90bac09cf5337a1b07dd47c5
2,257
Political-Preparedness
Apache License 2.0
src/main/kotlin/io/github/thebroccolibob/soulorigins/datagen/LangGenerator.kt
thebroccolibob
789,243,779
false
{"Kotlin": 185100, "Java": 18182, "mcfunction": 289}
package io.github.thebroccolibob.soulorigins.datagen import io.github.thebroccolibob.soulorigins.datagen.power.LeveledCooldownEntry import io.github.thebroccolibob.soulorigins.datagen.power.wind.tailwindEntries import io.github.thebroccolibob.soulorigins.datagen.power.wind.updraftEntries import io.github.thebroccolibo...
0
Kotlin
0
1
97812bd356fd1ce00666d8dab61bd3afc05468d9
5,609
SoulOrigins
MIT License
src/main/kotlin/me/mrkirby153/KirBot/modules/AntiRaid.kt
mrkirby153
77,095,266
false
null
package me.mrkirby153.KirBot.modules import com.google.common.cache.CacheBuilder import com.google.common.cache.CacheLoader import me.mrkirby153.KirBot.Bot import me.mrkirby153.KirBot.event.Subscribe import me.mrkirby153.KirBot.infraction.Infractions import me.mrkirby153.KirBot.module.Module import me.mrkirby153.KirBo...
0
Kotlin
1
6
32d929ccf02c647a7e0ba16d33718405b1cf6dc1
13,704
KirBot
MIT License
src/ar/mangazen/src/eu/kanade/tachiyomi/extension/ar/mangazen/MangaZen.kt
ZongerZY
287,689,898
false
null
package eu.kanade.tachiyomi.extension.ar.mangazen import eu.kanade.tachiyomi.network.GET import eu.kanade.tachiyomi.source.model.FilterList import eu.kanade.tachiyomi.source.model.Page import eu.kanade.tachiyomi.source.model.SChapter import eu.kanade.tachiyomi.source.model.SManga import eu.kanade.tachiyomi.source.onli...
0
null
1
8
1f40e4d4c4aff4b71fa72ffae03dbcd871e91803
3,254
tachiyomi-extensions
Apache License 2.0
socialgo/src/main/java/com/fungo/socialgo/share/config/PlatformConfig.kt
huyongqiang
158,091,372
false
null
package com.fungo.socialgo.share.config import java.util.* /** * @author Pinger * @since 18-7-20 上午9:45 * 平台配置Key的必须的属性 */ object PlatformConfig { var configs: MutableMap<PlatformType, Platform> = HashMap() interface Platform { val name: PlatformType } init { configs[PlatformTy...
0
Kotlin
5
0
156e502059bd76555523c6d8a59a0804ab15db7b
1,906
SocialGo
Apache License 2.0
libraries/tools/kotlin-gradle-plugin-integration-tests/src/test/resources/testProject/native-ir-linker-issues-gone-declaration/libb/src/nativeMain/kotlin/libb.kt
JetBrains
3,432,266
false
null
package sample.libb import sample.liba.* fun getAll(): List<Any> { return listOf(getA(), getB(), getC()) } fun getA(): A { val a = A() println("Returning a: ${a::class}, $a") return a } fun getB(): B { val b = B() println("Returning b: ${b::class}, $b") return b } fun getC(): C { v...
181
null
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
390
kotlin
Apache License 2.0
kit/src/main/java/healthstack/kit/ui/ExerciseCard.kt
S-HealthStack
520,365,275
false
{"Kotlin": 900773}
package healthstack.kit.ui import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Row import androidx.compose.foundation.layout.Spacer import androidx.compose.foundation.layout.fillMaxHeight import androidx.compose.foundation.lay...
5
Kotlin
19
25
a8fc44c65b482e53e4ef3fb8f539ec731ef59230
2,065
app-sdk
Apache License 2.0
core/src/main/kotlin/net/corda/core/crypto/X509Utilities.kt
xxlwyy
96,927,587
true
{"Kotlin": 2923984, "Java": 157334, "Groovy": 26188, "Shell": 320, "Batchfile": 106}
package net.corda.core.crypto import net.corda.core.crypto.Crypto.generateKeyPair import org.bouncycastle.asn1.ASN1Encodable import org.bouncycastle.asn1.x500.X500Name import org.bouncycastle.asn1.x500.X500NameBuilder import org.bouncycastle.asn1.x500.style.BCStyle import org.bouncycastle.asn1.x509.* import org.bouncy...
0
Kotlin
0
0
d3f027cea8999cadea925c574a64a293e9b17d28
15,698
corda
Apache License 2.0
common/src/commonMain/kotlin/com/haeyum/common/di/commonApiModule.kt
kisa002
584,385,916
false
{"Kotlin": 178872}
package com.haeyum.common.di import io.ktor.client.* import io.ktor.client.engine.cio.* import io.ktor.client.plugins.contentnegotiation.* import io.ktor.client.plugins.logging.* import io.ktor.serialization.kotlinx.json.* import kotlinx.serialization.json.Json import org.koin.dsl.module val commonApiModule = module ...
1
Kotlin
2
48
c57d5e8ca2dadbf35a565726d01cd04e7ede7105
981
Transer
MIT License
libs/apps/invest/src/test/kotlin/no/arcane/platform/app/invest/EmailTest.kt
arcanetechnology
416,024,376
false
{"Kotlin": 187287, "Shell": 20387, "Dockerfile": 662}
package no.arcane.platform.app.invest import io.kotest.core.spec.style.StringSpec class EmailTest: StringSpec({ "send email".config(enabled = false) { InvestService.sendEmail( investorEmail = "<EMAIL>", fundInfoRequest = FundInfoRequest( investorType = InvestorType...
0
Kotlin
2
3
6d481c61a363c5c476477107aca62fb571fba012
655
arcane-platform
MIT License
generators/app/templates/clean-architecture/data/src/test/java/com/sanogueralorenzo/data/repository/PostRepositoryImplTest.kt
ramzesrodriguez
140,143,365
false
{"Kotlin": 87796, "JavaScript": 8942}
@file:Suppress("IllegalIdentifier") package <%= appPackage %>.data.repository import com.nhaarman.mockito_kotlin.mock import <%= appPackage %>.data.cache.Cache import <%= appPackage %>.data.createPostEntity import <%= appPackage %>.data.model.PostEntity import <%= appPackage %>.data.model.PostMapper import <%= appPac...
0
Kotlin
0
0
93bc52a72238f4d8d174cf5c5f6d265958d7b47d
4,555
generator-kotlin-clean-arch-boilerplate
MIT License
idea/src/org/jetbrains/kotlin/idea/search/ideaExtensions/KotlinConventionMethodReferencesSearcher.kt
JakeWharton
99,388,807
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...
12
null
4
83
4383335168338df9bbbe2a63cb213a68d0858104
1,586
kotlin
Apache License 2.0
QuickUtil/src/main/java/com/wpf/app/quickutil/ability/helper/BackgroundHelper.kt
walgr
487,438,913
false
null
package com.wpf.app.base.ability.helper import android.content.res.ColorStateList import android.graphics.drawable.Drawable import android.graphics.drawable.GradientDrawable import android.graphics.drawable.GradientDrawable.Orientation import android.view.View import android.view.ViewGroup import androidx.annotation.C...
0
null
3
29
6b4da7f07e347ca6d4fbaa7a555ebcedde1494d6
9,442
Quick
MIT License
QuickUtil/src/main/java/com/wpf/app/quickutil/ability/helper/BackgroundHelper.kt
walgr
487,438,913
false
null
package com.wpf.app.base.ability.helper import android.content.res.ColorStateList import android.graphics.drawable.Drawable import android.graphics.drawable.GradientDrawable import android.graphics.drawable.GradientDrawable.Orientation import android.view.View import android.view.ViewGroup import androidx.annotation.C...
0
null
3
29
6b4da7f07e347ca6d4fbaa7a555ebcedde1494d6
9,442
Quick
MIT License
libraries/textcomposer/impl/src/main/kotlin/io/element/android/libraries/textcomposer/utils/PressState.kt
vector-im
546,522,002
false
{"Kotlin": 5576220, "Shell": 30358, "Java": 9607, "Python": 8683, "JavaScript": 8215, "Ruby": 44}
/* * Copyright (c) 2023 New Vector Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
159
Kotlin
54
531
2f51919670e569650d1999c35c7a74d374c9685f
931
element-x-android
Apache License 2.0
src/me/anno/engine/ui/render/RenderView0.kt
AntonioNoack
456,513,348
false
{"Kotlin": 10912545, "C": 236426, "Java": 6754, "Lua": 4496, "C++": 3070, "GLSL": 2698}
package me.anno.engine.ui.render import me.anno.ecs.prefab.PrefabSaveable import me.anno.engine.ui.EditorState import me.anno.ui.Style class RenderView0(playMode: PlayMode, style: Style) : RenderView(playMode, style) { override fun getWorld(): PrefabSaveable? { return try { EditorState.prefab?...
0
Kotlin
3
24
013af4d92e0f89a83958008fbe1d1fdd9a10e992
440
RemsEngine
Apache License 2.0
app/src/main/java/com/lahsuak/apps/geminiai/ui/model/states/ChatUiState.kt
KaushalVasava
732,051,309
false
{"Kotlin": 77298}
package com.lahsuak.apps.geminiai.ui.model.states import androidx.compose.runtime.toMutableStateList import com.lahsuak.apps.geminiai.ui.model.ChatMessage class ChatUiState( messages: List<ChatMessage> = emptyList() ) { private val _messages: MutableList<ChatMessage> = messages.toMutableStateList() val me...
0
Kotlin
1
6
2ea5a31ec890b46931fa67590ff654ef00c81f0f
705
GeminiAI
Apache License 2.0
buildSrc/src/main/kotlin/Constants.kt
hongque-pro
309,874,586
false
null
/** * * @Author: Anders Xiao * @Date: 2021/12/13 * @Description: */ object Versions { const val kotlin = "1.9.21" const val springBoot = "3.2.0" const val antisamy="1.7.4" const val springDoc="2.2.0" const val uberH3 = "3.7.1" const val mysqlVersion="9.0.0" const val infraBom = "3.2.0...
0
null
0
8
9e2b1f76bbb239ae9029bd27cda2d17f96b13326
1,032
application-framework
Apache License 2.0
app/src/main/java/be/mygod/reactmap/follower/BackgroundLocationReceiver.kt
Mygod
681,443,066
false
{"Kotlin": 90952, "JavaScript": 1919}
package be.mygod.reactmap.follower import android.Manifest import android.app.PendingIntent import android.content.BroadcastReceiver import android.content.ComponentName import android.content.Context import android.content.Intent import android.content.IntentFilter import android.content.pm.PackageManager import andr...
2
Kotlin
6
7
bb9f63f1a555fa55febdb1159d25e5c81f2c12e5
8,708
reactmap-android
Apache License 2.0
src/Day08.kt
shoresea
576,381,520
false
{"Kotlin": 29960}
fun main() { fun generateGrid(inputs: List<String>): List<List<Int>> { return inputs.map { input -> input.trim().split("").filter { it != "" }.map { it.toInt() } } } fun isMaxUp(i: Int, j: Int, grid: List<List<Int>>): Boolean { for (index in 0 until i) { if ...
0
Kotlin
0
0
e5d21eac78fcd4f1c469faa2967a4fd9aa197b0e
3,433
AOC2022InKotlin
Apache License 2.0
model-server/src/test/kotlin/org/modelix/model/server/ModelClientV2Test.kt
modelix
533,211,353
false
{"Kotlin": 2197943, "JetBrains MPS": 274458, "TypeScript": 47718, "Java": 25036, "Gherkin": 7693, "JavaScript": 5004, "Mustache": 2915, "CSS": 2812, "Shell": 2420, "Dockerfile": 378, "Procfile": 76}
/* * 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 writing, * software distributed ...
52
Kotlin
9
6
d0855f41775775f7fb4478729a2f481d1dfe40b7
6,851
modelix.core
Apache License 2.0
app/src/main/java/spam/blocker/util/Util.kt
aj3423
783,998,987
false
null
package spam.blocker.util import android.Manifest import android.annotation.SuppressLint import android.app.AlertDialog import android.content.Context import android.content.Intent import android.content.pm.ApplicationInfo import android.content.pm.PackageManager.PERMISSION_GRANTED import android.net.Uri import androi...
2
null
17
339
df4eb945abb8fb92a999c8576b6f5f08411255db
14,721
SpamBlocker
MIT License
app/src/main/java/com/tilkiweb/foodrecipes/services/DAOInterface.kt
murat1347
641,579,114
false
null
package com.tilkiweb.foodrecipes.services import com.tilkiweb.foodrecipes.models.ApiResponse import com.tilkiweb.foodrecipes.models.req.CategoryReq import com.tilkiweb.foodrecipes.models.res.* import retrofit2.Response import retrofit2.http.Body import retrofit2.http.GET import retrofit2.http.Path interface DAOInter...
0
Kotlin
0
0
29ae0e008574e9ceabae2b9cdc7b0618db18f140
750
FoodAppMobile
MIT License
common-jvm/src/main/java/org/ergoplatform/uilogic/wallet/AddReadOnlyWalletUiLogic.kt
ergoplatform
376,102,125
false
null
package org.ergoplatform.uilogic.wallet import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.GlobalScope import kotlinx.coroutines.launch import org.ergoplatform.* import org.ergoplatform.persistance.WalletConfig import org.ergoplatform.persistance.WalletDbProvider import org.ergoplatform.uilogic.STRING_ERR...
16
Kotlin
35
94
b5f6e5176cf780a7437eb3c8447820bd9409c8ac
2,635
ergo-wallet-app
Apache License 2.0
src/main/kotlin/no/nav/security/mock/oauth2/OAuth2Exception.kt
navikt
235,432,421
false
null
package no.nav.security.mock.oauth2 import com.nimbusds.oauth2.sdk.ErrorObject import com.nimbusds.oauth2.sdk.GrantType import com.nimbusds.oauth2.sdk.OAuth2Error import com.nimbusds.oauth2.sdk.http.HTTPResponse @Suppress("unused") class OAuth2Exception(val errorObject: ErrorObject?, msg: String, throwable: Throwable...
8
null
57
70
a2201da1c4ca42298b7adfd0e986512d451f1a84
1,222
mock-oauth2-server
MIT License
transmission/src/main/java/com/trendyol/transmission/router/QueryDelegate.kt
Trendyol
771,942,025
false
{"Kotlin": 44608}
package com.trendyol.transmission.router import com.trendyol.transmission.Transmission import com.trendyol.transmission.TransmissionRouter import com.trendyol.transmission.transformer.query.Query import com.trendyol.transmission.transformer.query.QueryResult import com.trendyol.transmission.transformer.query.QuerySend...
0
Kotlin
0
15
0ccb574ebc3079ce4e63ef341780957a901e6c0b
4,246
transmission
MIT License
game-server/game/src/main/kotlin/com/osrs/game/network/packet/builder/impl/render/player/appearance/kit/BodyPartColor.kt
runetopic
613,076,716
false
{"Kotlin": 296499, "Witcher Script": 2511}
package com.osrs.game.network.packet.builder.impl.render.player.appearance.kit object BodyPartColor { const val HAIR = 0 const val TORSO = 1 const val LEGS = 2 const val FEET = 3 const val SKIN = 4 }
1
Kotlin
1
10
2a5186b2b7befa7c364e0b989da68ed83070a926
221
osrs-server
MIT License
src/main/kotlin/com/epam/brn/repo/UserDetailsRepository.kt
ElenaSpb
206,298,691
false
{"Gradle": 2, "Markdown": 3, "INI": 4, "Shell": 2, "Ignore List": 3, "Batchfile": 1, "YAML": 2, "JSON": 3, "JavaScript": 43, "Git Attributes": 1, "EditorConfig": 1, "robots.txt": 1, "HTML": 2, "Handlebars": 8, "CSS": 1, "Kotlin": 45, "Java": 1, "Text": 1, "Java Properties": 1, "XML": 1, "SVG": 2, "SQL": 1, "CODEOWNERS"...
package com.epam.brn.repo import com.epam.brn.model.UserDetails import org.springframework.data.repository.CrudRepository import org.springframework.stereotype.Repository @Repository interface UserDetailsRepository : CrudRepository<UserDetails, Long> { fun findByNameLike(name: String): List<UserDetails> fun ...
27
Kotlin
0
1
0463614b0d9f07cb121edc1465ace3deea4317fa
366
brn
MIT License
OnlinePK-Android/lib-live-room-service/src/main/java/com/netease/yunxin/lib_live_room_service/impl/VideoOption.kt
netease-george
377,830,443
true
{"Objective-C": 1325069, "Kotlin": 611041, "Java": 270376, "Swift": 124836, "C": 6974, "Python": 2874, "Ruby": 797}
/* * Copyright (c) 2021 NetEase, Inc. All rights reserved. * Use of this source code is governed by a MIT license that can be found in the LICENSE file */ package com.netease.yunxin.lib_live_room_service.impl import android.view.View import com.netease.lava.nertc.sdk.NERtcConstants import com.netease.lava.nertc...
0
Objective-C
0
0
9ba2e45734d24bcc287a08288e25b6d27856744d
2,158
OnlinePK
MIT License
core/src/main/java/uk/co/joepalmer/core/type/Address.kt
SephPalmer
168,335,163
false
null
package uk.co.joepalmer.core.type import android.os.Parcelable import kotlinx.android.parcel.Parcelize @Parcelize data class Address( val street: String, val suite: String, val city: String, val zipcode: String, val geo: Geo ): Parcelable
0
Kotlin
0
0
54d082dce9a565eb41a5319c41a6d1dc85b5e238
260
rock-android-template
MIT License
src/main/kotlin/com/github/rushyverse/hub/HubScoreboard.kt
Rushyverse
579,105,858
false
null
package com.github.rushyverse.hub import com.github.rushyverse.hub.HubServer.Companion.BUNDLE_HUB import com.github.rushyverse.api.translation.TranslationsProvider import com.github.rushyverse.hub.configuration.ScoreboardConfiguration import com.github.rushyverse.hub.ext.asMiniComponent import net.kyori.adventure.text...
4
Kotlin
0
0
e2173296c0538320a793c91cdf90818ee7ac244f
3,271
hub
MIT License
app/src/main/java/com/wyf/socket/MainActivity.kt
Merak-W
555,831,201
false
{"Kotlin": 24163}
package com.wyf.socket import android.net.wifi.WifiManager import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.util.Log import android.view.View import android.widget.Toast import androidx.recyclerview.widget.LinearLayoutManager import com.google.android.material.tabs.TabLayout impo...
0
Kotlin
0
0
91cd93a548b36538e34ef3402375076bbd5752b9
5,569
SocketDemo
Apache License 2.0
app/src/main/java/com/example/attackontitanapp/MainActivity.kt
krishnachaitanya0107
451,893,029
false
{"Kotlin": 102901}
package com.example.attackontitanapp import android.os.Bundle import androidx.activity.ComponentActivity import androidx.activity.compose.setContent import androidx.compose.animation.ExperimentalAnimationApi import androidx.compose.material.ExperimentalMaterialApi import androidx.navigation.NavHostController import an...
0
Kotlin
0
3
4d3f22e7b79bb87e454bb30d2d0aab7c6a51a80b
1,164
AttackOnTitanApp
MIT License
platform/lang-impl/src/com/intellij/codeInsight/hints/codeVision/CodeVisionPass.kt
JetBrains
2,489,216
false
null
// Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.codeInsight.hints.codeVision import com.intellij.codeHighlighting.EditorBoundHighlightingPass import com.intellij.codeInsight.codeVision.Co...
191
null
4372
13,319
4d19d247824d8005662f7bd0c03f88ae81d5364b
3,116
intellij-community
Apache License 2.0
src/RedBlackTree/Tree.kt
vdshk
174,689,220
false
null
package RedBlackTree import Tree class RedBlackTree<K : Comparable<K>, V> : Tree<K, V>, Iterable<Pair<K, V>> { var root: Node<K, V>? = null override fun find(key: K): Pair<K, V>? { val result = findNode(key) ?: return null return Pair(result.key, result.value) } override fun inse...
0
Kotlin
0
0
b0c6d6280ff873979cc56ed0354b121d59ba4f62
8,547
Trees
MIT License
test-utils/src/main/kotlin/org/jetbrains/workspace/model/test/framework/WorkspaceModelBaseTest.kt
JetBrains
521,228,542
false
null
package org.jetbrains.workspace.model.test.framework import com.intellij.openapi.command.WriteCommandAction import com.intellij.openapi.project.Project import com.intellij.platform.backend.workspace.WorkspaceModel import com.intellij.platform.workspace.jps.entities.ModuleEntity import com.intellij.platform.workspace.s...
1
null
3
9
a039912ea7d07ca9fbf2992d64bafaddf4ff13c0
2,898
intellij-bsp
Apache License 2.0
app-tracking-protection/vpn-impl/src/test/java/com/duckduckgo/mobile/android/vpn/ui/onboarding/SharedPreferencesVpnStoreTest.kt
duckduckgo
78,869,127
false
null
/* * Copyright (c) 2022 DuckDuckGo * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
67
null
901
3,823
6415f0f087a11a51c0a0f15faad5cce9c790417c
3,237
Android
Apache License 2.0
src/main/kotlin/com/eric/leetcode/TruncateSentence.kt
wanglikun7342
163,727,208
false
null
package com.eric.leetcode class TruncateSentence { fun truncateSentence(s: String, k: Int): String { var counts = 0 for(el in s.withIndex()) { val index = el.index val ch = el.value if (ch == ' ') { counts++ if (counts == k) { ...
1
null
3
8
c582a042dab299899893244365a4106a8b30d590
431
Leetcode-Kotlin
Apache License 2.0
app/src/test/java/com/igorwojda/integer/factorial/Factorial.kt
Shabinder
287,289,865
true
{"Kotlin": 193731}
package com.igorwojda.integer.factorial import org.amshove.kluent.shouldEqual import org.junit.Test private fun factorial(n: Int): Int { TODO("not implemented") } class RecursiveFactorial { @Test fun `factorial 0 should equal 1`() { factorial(0) shouldEqual 1 } @Test fun `factorial 3...
1
Kotlin
0
2
84201833df722ca5aea9853ddc0842c8c200427f
588
kotlin-coding-puzzle
MIT License
integration-test/app/src/commonTest/kotlin/com/moriatsushi/koject/integrationtest/app/component/ComponentExtrasWithQualifierTest.kt
mori-atsushi
605,139,896
false
null
@file:OptIn(ExperimentalKojectApi::class) package com.moriatsushi.koject.integrationtest.app.component import com.moriatsushi.koject.ExperimentalKojectApi import com.moriatsushi.koject.Koject import com.moriatsushi.koject.inject import com.moriatsushi.koject.integrationtest.app.runMain import kotlin.test.Test import ...
13
Kotlin
2
96
c22286b39a3e6249842d148ff0a22f1fb7d37d47
799
koject
Apache License 2.0
src/main/kotlin/dto/request/UpdateEnvironmentRequest.kt
novuhq
609,113,780
false
null
package co.novu.dto.request import co.novu.dto.DNS data class UpdateEnvironmentRequest( var name: String? = null, var identifier: String? = null, var parentId: String? = null, var dns: DNS? = null, )
7
null
8
20
80969d7b96cf8009219bb9891eba5e3a4e2b84c1
218
novu-kotlin
MIT License
app/src/main/java/com/indramahkota/app/MainActivity.kt
miftahkulo
458,005,249
false
{"Kotlin": 90670}
package com.indramahkota.app import android.os.Bundle import android.view.View import com.indramahkota.app.databinding.ActivityMainBinding import com.indramahkota.common.base.BaseBindingActivity import dagger.hilt.android.AndroidEntryPoint @AndroidEntryPoint class MainActivity : BaseBindingActivity() { private la...
0
null
0
0
7cb2c1c688a01e83abe58b4446503d47b7e1d264
559
dicoding-android-submission
MIT License
user-management/keycloak-gateway/src/main/kotlin/co/nilin/opex/auth/gateway/authenticator/CustomOTPAuthenticator.kt
opexdev
370,411,517
false
{"Kotlin": 1303016, "HTML": 43145, "Shell": 8309, "Java": 8001, "PLpgSQL": 3351, "Dockerfile": 3334, "HCL": 823}
package co.nilin.opex.auth.gateway.authenticator import co.nilin.opex.auth.gateway.utils.ErrorHandler import co.nilin.opex.common.OpexError import org.keycloak.authentication.AuthenticationFlowContext import org.keycloak.authentication.AuthenticationFlowError import org.keycloak.authentication.CredentialValidator impo...
29
Kotlin
22
51
fedf3be46ee7fb85ca7177ae91b13dbc6f2e8a73
3,879
core
MIT License
app/src/main/java/com/zhuinden/simplestacktutorials/steps/step_6/Step6FirstFragment.kt
Zhuinden
234,938,193
false
{"Gradle": 3, "Java Properties": 2, "Shell": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "Kotlin": 86, "XML": 47, "Java": 5}
package com.zhuinden.simplestacktutorials.steps.step_6 import android.os.Bundle import android.os.Handler import android.os.Looper import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import com.zhuinden.simplestack.History import com.zhuinden.simplestack.StateChange import com.zhu...
2
Kotlin
0
30
cf08b7f614c87c70adfb535bea59dc91b24edae5
1,127
simple-stack-tutorials
Apache License 2.0
flutter_challenger_layout_rotestree/android/app/src/main/kotlin/com/example/flutter_challenger_layout_rotestree/MainActivity.kt
GuilhRibas
386,462,797
false
{"HTML": 3749, "Dart": 3558, "Swift": 404, "Kotlin": 152, "Objective-C": 38}
package com.example.flutter_challenger_layout_rotestree import io.flutter.embedding.android.FlutterActivity class MainActivity: FlutterActivity() { }
0
HTML
0
0
9814595311078d407a7cdd1c1410637e04d12d41
152
SubmitChallenge
MIT License
app/src/main/java/com/skydoves/marvelheroes/view/adapter/PosterSeriesAdapter.kt
Bandhan-singh-katoch
323,096,625
false
null
/* * Designed and developed by 2020 skydoves (<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...
0
null
155
14
da5757d40550cdb0ff1363c189c55eb802561adc
2,640
MarvelHeroes
Apache License 2.0
toml/src/main/kotlin/org/rust/toml/completion/LocalCargoTomlDependencyCompletionProviders.kt
intellij-rust
42,619,487
false
null
/* * Use of this source code is governed by the MIT license that can be * found in the LICENSE file. */ package org.rust.toml.completion import com.intellij.codeInsight.AutoPopupController import com.intellij.codeInsight.completion.* import com.intellij.codeInsight.completion.impl.RealPrefixMatchingWeigher import ...
1,789
null
369
4,410
3037c1a1b4f71432eba5f88b94b4fadb907f9be7
7,747
intellij-rust
MIT License
domain/src/test/java/com/iuturakulov/domain/usecases/UserTaskUseCaseTest.kt
IslombekTurakulov
486,182,592
false
null
package com.iuturakulov.domain.usecases import com.iuturakulov.domain.entities.TaskEntity import com.iuturakulov.domain.entities.UserEntity import com.iuturakulov.domain.entities.TaskStatus import com.iuturakulov.domain.entities.UserTaskEntity import com.iuturakulov.domain.repositories.UserTaskRepository import kotlin...
0
Kotlin
0
1
83e7e14e596552b34f02598b1434951d54153fe5
2,642
HSEApple
MIT License
src/maia/ml/dataset/arff/error/UnsupportedAttributeTypeException.kt
waikato-maia
387,326,489
false
null
package maia.ml.dataset.arff.error /** * Exception thrown for valid ARFF attribute types that aren't supported * in MĀIA yet. * * @param attributeType * The attribute type that isn't supported. * * @author <NAME> (csterlin at waikato dot ac dot nz) */ class UnsupportedAttributeTypeException( attri...
0
Kotlin
0
0
364f40710d8e40a84921018b46af59f94f302705
406
maia-arff
Apache License 2.0
app/src/main/java/com/lianyi/paimonsnotebook/ui/widgets/remoteviews/util/Shortcut3X2RemoteViews.kt
QooLianyi
435,314,581
false
{"Kotlin": 1942953}
package com.lianyi.paimonsnotebook.ui.widgets.remoteviews.util import android.app.PendingIntent import android.content.Intent import android.os.Bundle import android.widget.RemoteViews import com.lianyi.paimonsnotebook.R import com.lianyi.paimonsnotebook.common.database.app_widget_binding.entity.AppWidgetBinding impor...
1
Kotlin
2
36
7af1f8cce2f8eea3f72b3735e820508510b3112e
3,984
PaimonsNotebook
MIT License
shared/src/commonMain/kotlin/me/sulatskovalex/twallet/App.kt
sulatskovalex
637,155,144
false
null
package me.sulatskovalex.twallet import androidx.compose.foundation.isSystemInDarkTheme import androidx.compose.runtime.Composable import androidx.compose.runtime.CompositionLocalProvider import me.sulatskovalex.twallet.providers.DisplaySize import me.sulatskovalex.twallet.providers.LocalColors import me.sulatskovalex...
0
Kotlin
0
0
87bddca2f4c972e6470304541684daac0954d380
1,919
ton-wallet
Apache License 2.0
detekt-rules/src/test/kotlin/io/gitlab/arturbosch/detekt/rules/documentation/AbsentOrWrongFileLicenseSpec.kt
quentinmarciset
265,200,452
true
{"Kotlin": 1801668, "HTML": 4183, "Groovy": 3886}
package io.gitlab.arturbosch.detekt.rules.documentation import io.gitlab.arturbosch.detekt.api.Config import io.gitlab.arturbosch.detekt.api.Finding import io.gitlab.arturbosch.detekt.api.SetupContext import io.gitlab.arturbosch.detekt.api.UnstableApi import io.gitlab.arturbosch.detekt.api.internal.YamlConfig import i...
0
null
0
0
aa75d586036438903d53aed57c3be513ef5d2364
2,253
detekt
Apache License 2.0
build-logic/src/main/kotlin/io/openfeedback/extensions/TaskContainerExt.kt
paug
242,591,407
false
{"Kotlin": 84264, "Shell": 28}
package io.openfeedback.extensions import org.gradle.api.JavaVersion import org.gradle.api.tasks.TaskContainer import org.gradle.kotlin.dsl.withType import org.jetbrains.kotlin.gradle.tasks.KotlinCompile fun TaskContainer.configureKotlinCompiler() = withType<KotlinCompile> { kotlinOptions { jvmTarget = Ja...
3
Kotlin
1
7
fa6bf893fd71e860395cd93dae3ce02ad668340b
360
openfeedback-android-sdk
MIT License
src/main/kotlin/dev/icerock/binance/futures/model/ListenKey.kt
icerockdev
334,597,871
false
null
/* * Copyright 2021 IceRock MAG Inc. Use of this source code is governed by the Apache 2.0 license. */ package dev.icerock.binance.futures.model import kotlinx.serialization.Serializable @Serializable data class ListenKey( val listenKey: String )
0
Kotlin
0
5
80a4681eba592294505d0986c4f7efaf4f9db8ba
256
binance-futures-kotlin-api
Apache License 2.0
ExampleApp/composeApp/src/commonMain/kotlin/com/michaeltchuang/example/data/repositories/ValidatorRepository.kt
michaeltchuang
608,988,541
false
{"Kotlin": 177845, "JavaScript": 2764, "Shell": 806, "Swift": 522}
package com.michaeltchuang.example.data.repositories import android.content.Context import com.algorand.algosdk.abi.Contract import com.algorand.algosdk.account.Account import com.algorand.algosdk.crypto.Address import com.algorand.algosdk.transaction.AppBoxReference import com.algorand.algosdk.transaction.AtomicTrans...
0
Kotlin
0
0
69e30d272d1a64739a267c10ebf13541347930c9
12,388
a-day-in-my-bobalife
Apache License 2.0
bidon/src/main/java/org/bidon/sdk/ads/banner/render/RenderInspectorImpl.kt
bidon-io
654,165,570
false
{"Kotlin": 1051963, "Java": 2186}
package org.bidon.sdk.ads.banner.render import android.app.Activity import android.content.res.Resources import android.graphics.Rect import android.view.View /** * Created by <NAME> on 24/04/2023. */ internal class RenderInspectorImpl : AdRenderer.RenderInspector { override fun isRenderPermitted(): Boolean { ...
0
Kotlin
0
0
1d176d61eff65b087fed5e321f6abcf9e44059e7
1,109
bidon_sdk_android
Apache License 2.0
playground/src/main/java/com/everli/designsystem/playground/theme/TokensPlayground.kt
everli
411,270,428
false
null
package com.everli.designsystem.playground.theme import androidx.compose.foundation.ExperimentalFoundationApi import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.fillMaxHeight import androidx.compose.foundation.layout.fillMaxW...
6
Kotlin
0
5
ea83c308672c00fb1eea7034ccf1b0a980f84382
853
design-system-android
Apache License 2.0
src/main/java/com/slickqa/slicker/SlickerVerticle.kt
jasoncorbett
95,735,611
false
null
package com.slickqa.slicker import com.slickqa.slicker.auth.ProjectPermissionSeparator import com.slickqa.slicker.auth.SlickJWTAuthImpl import io.vertx.core.AbstractVerticle import io.vertx.core.Future import io.vertx.core.http.HttpClientOptions import io.vertx.core.json.JsonObject import io.vertx.core.logging.Logger ...
0
Kotlin
0
0
d5e21a1c6910f47b611168ccd23f672b08f4d5be
4,514
slickish
Apache License 2.0
core/timer/src/main/java/com/zn/apps/core/timer/service/TimerService.kt
Zacle
686,192,400
false
{"Kotlin": 916275}
package com.zn.apps.core.timer.service import android.app.Service import android.content.Intent import android.os.IBinder import com.zn.apps.core.notification.TimerConstants.TIMER_NOTIFICATION_CHANNEL_ID import com.zn.apps.core.notification.TimerConstants.TIMER_NOTIFICATION_ID import com.zn.apps.core.notification.Time...
0
Kotlin
0
0
909ac17f838828b54ac6558ed3104b840831a331
1,699
Focused
MIT License