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
composeApp/src/commonMain/kotlin/domain/model/Comic.kt
KamilSucharski
783,215,410
false
{"Kotlin": 39364, "Swift": 594}
package domain.model import kotlinx.serialization.Serializable @Serializable data class Comic( val number: Int, val title: String, val date: String )
0
Kotlin
0
0
5c958505d3f770a2afd27c3ee4597d168faecfac
163
i_am_steve_kmm
Apache License 2.0
components/info/impl/src/main/java/com/flipperdevices/info/impl/compose/elements/ComposableInfoCardContent.kt
flipperdevices
288,258,832
false
null
package com.flipperdevices.info.impl.compose.elements import androidx.compose.runtime.Composable import androidx.compose.runtime.collectAsState import androidx.compose.runtime.getValue import androidx.compose.ui.Modifier import androidx.compose.ui.platform.LocalContext import androidx.compose.ui.tooling.preview.Previe...
9
Kotlin
78
552
f4cb3af8f6980abd999f4c841d4530b713314462
4,614
Flipper-Android-App
MIT License
src/main/kotlin/com/finnhub/api/models/EconomicData.kt
RustamSitdikov
332,397,444
true
{"Kotlin": 251996, "Shell": 59}
/** * Finnhub API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit th...
0
null
0
0
dbb83dc2868e56cbd5a372cec8aeb010881f02e3
892
finnhub-kotlin
Apache License 2.0
api/v1.5.1/coroutines/src/main/kotlin/dev/whyoleg/ktd/api/order/Raw.kt
mekenzh
224,448,142
true
{"Kotlin": 1544897, "C++": 4992, "CMake": 1641}
@file:Suppress( "unused" ) @file:UseExperimental( BotsOnly::class, TestingOnly::class ) package dev.whyoleg.ktd.api.order import dev.whyoleg.ktd.* import dev.whyoleg.ktd.api.* import dev.whyoleg.ktd.api.TdApi.* /** * Returns saved order info, if any */ suspend fun TelegramClient.order( f: GetSavedO...
0
null
0
0
6282c87a5cd489cd762fa04f11987a66cbcf3af5
486
ktd
Apache License 2.0
vk-api-generated/src/main/kotlin/name/anton3/vkapi/generated/wall/objects/AttachedNote.kt
Anton3
159,801,334
true
{"Kotlin": 1382186}
@file:Suppress("unused", "SpellCheckingInspection") package name.anton3.vkapi.generated.wall.objects import com.fasterxml.jackson.databind.annotation.JsonDeserialize /** * No description * * @property comments Comments number * @property date Date when the note has been created in Unixtime * @property id Note I...
2
Kotlin
0
8
773c89751c4382a42f556b6d3c247f83aabec625
1,141
kotlin-vk-api
MIT License
src/data/data/src/main/kotlin/kiit/data/sql/vendors/Sqlite.kt
slatekit
55,942,000
false
{"Text": 42, "Ignore List": 42, "YAML": 3, "Markdown": 22, "Gradle": 79, "Shell": 46, "Batchfile": 40, "Java Properties": 25, "Kotlin": 884, "JSON": 12, "INI": 9, "EditorConfig": 26, "Java": 13, "SQL": 1, "XML": 4, "Swift": 3}
package kiit.data.sql.vendors import kiit.common.data.DataType import kiit.data.Mapper import kiit.data.core.Meta import kiit.data.core.Table import kiit.data.encoders.* import kiit.data.sql.* object SqliteDialect : Dialect(encodeChar = '"') { } /** * Sqlite based dialect, this has limited data types * see: https:...
6
Kotlin
13
112
d17b592aeb28c5eb837d894e98492c69c4697862
2,814
slatekit
Apache License 2.0
src/main/kotlin/com/gatecheck/gatecheck/dao/request/RequestDao.kt
GateCheck
303,724,669
false
null
package com.gatecheck.gatecheck.dao.request import com.gatecheck.gatecheck.model.Request import java.util.* interface RequestDao { fun getRequests(user: UUID, messages: Boolean, amount: Int, index: Int, all: Boolean): List<Request> fun addRequest(request: Request): Request }
0
Kotlin
0
0
2ec3d943caf052ce702ed16d75c1d1ed0b63c184
286
gatecheck-backend
MIT License
app/src/main/java/com/cameronvwilliams/raise/ui/intro/di/IntroModule.kt
RaiseSoftware
119,627,507
false
null
package com.cameronvwilliams.raise.ui.intro.di import android.content.Context import androidx.fragment.app.FragmentManager import com.cameronvwilliams.raise.di.ActivityContext import com.cameronvwilliams.raise.di.PerActivity import com.cameronvwilliams.raise.ui.MainActivity import com.cameronvwilliams.raise.ui.Navigat...
1
null
1
4
3cd0786dba77645efa5508a662478e5893037919
957
Raise-Android
MIT License
ui-kit/src/main/java/com/quickblox/android_ui_kit/presentation/components/messages/viewholders/VideoOutgoingViewHolder.kt
QuickBlox
637,751,718
false
{"Kotlin": 1833847}
/* * Created by Injoit on 7.11.2023. * Copyright © 2023 Quickblox. All rights reserved. * */ package com.quickblox.android_ui_kit.presentation.components.messages.viewholders import android.annotation.SuppressLint import android.content.Context import android.content.res.ColorStateList import android.graphics.Col...
1
Kotlin
0
4
0ef856d22efb1540d6e238a073badbf31c03961a
10,206
android-ui-kit
MIT License
src/main/kotlin/com/github/kerubistan/kerub/host/KeyPairFactory.kt
kerubistan
19,528,622
false
null
package com.github.kerubistan.kerub.host import com.github.kerubistan.kerub.utils.emptyString import io.github.kerubistan.kroki.io.resource import java.security.KeyPair import java.security.KeyStore import java.security.PrivateKey class KeyPairFactory { var keyStorePath: String = "keystore.jks" var keyStorePassword...
109
Kotlin
4
14
99cb43c962da46df7a0beb75f2e0c839c6c50bda
828
kerub
Apache License 2.0
RichTextEditorJavaFX/src/main/java/net/dankito/richtexteditor/java/fx/toolbar/SelectColorCommandView.kt
dankito
109,441,575
false
null
package net.dankito.richtexteditor.java.fx.toolbar import javafx.scene.control.ColorPicker import javafx.scene.paint.Color import net.dankito.richtexteditor.command.SetColorCommand import net.dankito.richtexteditor.command.ToolbarCommand import net.dankito.richtexteditor.java.fx.extensions.toJavaFXColor import net.dan...
24
null
34
83
698b4f3e80b8e3983e3b949a6c98c4cc321a5190
982
RichTextEditor
Apache License 2.0
site/src/jsMain/kotlin/org/example/blogmultiplatform/utils/ApiFunctions.kt
MohamedElgohary88
787,687,328
false
{"Kotlin": 253365, "CSS": 4204, "Dockerfile": 2765}
package org.example.blogmultiplatform.utils import com.varabyte.kobweb.browser.api import com.varabyte.kobweb.browser.http.http import kotlinx.browser.localStorage import kotlinx.browser.window import kotlinx.serialization.encodeToString import kotlinx.serialization.json.Json import org.example.blogmultiplatform.model...
0
Kotlin
0
4
d50da6a0e318738220ab8b6dc45d06ad9feb8299
7,593
BlogMultiplatform
MIT License
Common/src/main/java/at/petrak/hexcasting/api/casting/eval/vm/FrameFinishEval.kt
FallingColors
441,721,272
false
null
package at.petrak.hexcasting.api.casting.eval.vm import at.petrak.hexcasting.api.casting.eval.CastResult import at.petrak.hexcasting.api.casting.eval.ResolvedPatternType import at.petrak.hexcasting.api.casting.iota.Iota import at.petrak.hexcasting.api.casting.iota.NullIota import at.petrak.hexcasting.api.utils.NBTBuil...
173
null
80
97
1aa53ca97faebc7e8fcca3215c58239ab35ad428
1,545
HexMod
MIT License
backend/src/main/kotlin/com/denchic45/studiversity/feature/schedule/ScheduleRouting.kt
denchic45
435,895,363
false
{"Kotlin": 2110094, "Vue": 15083, "JavaScript": 2830, "CSS": 1496, "HTML": 867}
package com.denchic45.studiversity.feature.schedule import com.denchic45.stuiversity.api.schedule.model.Period import com.denchic45.stuiversity.api.schedule.model.Schedule import io.ktor.server.application.* import io.ktor.server.auth.* import io.ktor.server.response.* import io.ktor.server.routing.* fun Application....
0
Kotlin
0
7
9b783fe46d44964f95666641bca9323cd558c11a
1,496
Studiversity
Apache License 2.0
vector/src/main/java/vmodev/clearkeep/factories/viewmodels/ProfileViewModelFactory.kt
telred-llc
194,596,139
false
null
package vmodev.clearkeep.factories.viewmodels import androidx.lifecycle.ViewModelProvider import vmodev.clearkeep.activities.interfaces.IProfileActivity import vmodev.clearkeep.factories.viewmodels.interfaces.IProfileViewModelFactory import vmodev.clearkeep.viewmodels.interfaces.AbstractRoomViewModel import javax.inje...
5
null
1
3
2d20e94e9711b51aee89fa569efd61449cc7e9c3
652
clearkeep-android
Apache License 2.0
src/main/kotlin/example/examplemod/init/NeoUCreativeTabs.kt
TeamVoided
793,062,053
false
{"Kotlin": 57229, "Java": 1121}
package example.examplemod.init import example.examplemod.NeoUranus import net.minecraft.core.registries.Registries import net.minecraft.network.chat.Component import net.minecraft.world.item.CreativeModeTab import net.minecraft.world.item.ItemStack import net.minecraftforge.registries.DeferredRegister import thedarkc...
0
Kotlin
0
0
61aac3187b5b83164b93fb4af0dfe2162e7ede62
972
NeoUranus
MIT License
app/src/main/java/com/example/instaclone/main/SearchScreen.kt
unon4all
806,069,137
false
{"Kotlin": 48070}
package com.example.instaclone.main import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.foundation.rememberScrollState import androidx.compose.foundation.verticalScroll import androidx.compose.material3.Text import androidx.compose.runtime.Comp...
0
Kotlin
0
0
047a6419f7dff365e8b1182f4ab6211858f09377
886
Instagram-Clone
MIT License
app/src/main/java/com/example/instaclone/main/SearchScreen.kt
unon4all
806,069,137
false
{"Kotlin": 48070}
package com.example.instaclone.main import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.foundation.rememberScrollState import androidx.compose.foundation.verticalScroll import androidx.compose.material3.Text import androidx.compose.runtime.Comp...
0
Kotlin
0
0
047a6419f7dff365e8b1182f4ab6211858f09377
886
Instagram-Clone
MIT License
shared/src/commonMain/kotlin/com/kkk/kopilot/presentation/features/splash/viewmodel/SplashScreenModel.kt
k-kertykamary
708,003,499
false
{"Kotlin": 100618, "Swift": 644, "Shell": 228}
package com.kkk.kopilot.presentation.features.splash.viewmodel import cafe.adriel.voyager.core.model.StateScreenModel import kotlinx.coroutines.CoroutineScope import kotlinx.coroutines.delay import kotlinx.coroutines.launch class SplashScreenModel(coroutineScope: CoroutineScope): StateScreenModel<SplashScreenModel.St...
0
Kotlin
0
0
29c99211a40364ff7e40dd4ce08e5c32aedf4b30
840
km2-ktofit
Apache License 2.0
queue-core/src/main/kotlin/com/kruthers/piggles/queuecore/listeners/ConnectionEvents.kt
kruthers
585,246,559
false
null
package com.kruthers.piggles.queuecore.listeners import com.kruthers.piggles.queuecore.QueueCore import org.bukkit.Bukkit import org.bukkit.OfflinePlayer import org.bukkit.event.EventHandler import org.bukkit.event.Listener import org.bukkit.event.player.PlayerJoinEvent import org.bukkit.event.player.PlayerQuitEvent i...
0
Kotlin
0
0
35c8222652bb34b4227925377c5506e7186347d0
3,576
Viewer-Events
MIT License
ghidra_scripts/SaveStringsScriptKts.kts
goatshriek
345,720,837
false
{"Java": 146009, "HTML": 23996, "Ruby": 8415, "Clojure": 5993, "Kotlin": 5884, "CSS": 3936, "Groovy": 3785}
// Save all strings of five characters or more in the current program to a file // with the given name, or `saved_strings.txt` if no filename was given as a // command line argument. This script is based on the CountAndSaveStrings script // included with Ghidra. // @category: Examples.Kotlin import java.io.File // r...
8
Java
13
44
ae57f02c162c4e6a1d534ab742b2e16c142f8d5a
992
ruby-dragon
Apache License 2.0
caching/src/main/kotlin/io/kommons/designpatterns/caching/CachingPolicy.kt
debop
235,066,649
false
null
package io.kommons.designpatterns.caching /** * CachingPolicy * * @author debop * @since 24/09/2019 */ enum class CachingPolicy(val policy: String) { THROUGH("through"), AROUND("around"), BEHIND("behind"), ASIDE("aside") }
0
Kotlin
11
53
c00bcc0542985bbcfc4652d0045f31e5c1304a70
246
kotlin-design-patterns
Apache License 2.0
mulighetsrommet-arena-adapter/src/main/kotlin/no/nav/mulighetsrommet/arena/adapter/clients/ArenaOrdsProxyClient.kt
navikt
435,813,834
false
{"Kotlin": 1627414, "TypeScript": 1445375, "SCSS": 41073, "JavaScript": 27458, "PLpgSQL": 14591, "Handlebars": 3189, "HTML": 2263, "Dockerfile": 1423, "CSS": 1145, "Shell": 396}
package no.nav.mulighetsrommet.arena.adapter.clients import arrow.core.Either import io.ktor.client.plugins.* import no.nav.mulighetsrommet.arena.adapter.models.dto.ArenaOrdsArrangor import no.nav.mulighetsrommet.arena.adapter.models.dto.ArenaOrdsFnr interface ArenaOrdsProxyClient { suspend fun getArbeidsgiver(ar...
2
Kotlin
2
7
ee39b300c4f1d01462fc37851fc039ba9d16531b
469
mulighetsrommet
MIT License
app/src/test/java/org/simple/clinic/forgotpin/confirmpin/ForgotPinConfirmPinScreenLogicTest.kt
simpledotorg
132,515,649
false
{"Kotlin": 6129044, "Shell": 1660, "HTML": 545}
package org.simple.clinic.forgotpin.confirmpin import com.nhaarman.mockitokotlin2.any import com.nhaarman.mockitokotlin2.clearInvocations import com.nhaarman.mockitokotlin2.doReturn import com.nhaarman.mockitokotlin2.mock import com.nhaarman.mockitokotlin2.never import com.nhaarman.mockitokotlin2.times import com.nhaa...
4
Kotlin
73
236
ff699800fbe1bea2ed0492df484777e583c53714
14,820
simple-android
MIT License
app/src/main/java/br/com/jwar/learntrail/data/di/DataModule.kt
wellingtonrib
708,140,960
false
{"Kotlin": 111461}
package br.com.jwar.learntrail.data.di import android.content.Context import androidx.room.Room import br.com.jwar.learntrail.data.datasources.local.database.LocalDataSource import br.com.jwar.learntrail.data.datasources.local.database.room.APP_DATABASE_NAME import br.com.jwar.learntrail.data.datasources.local.databas...
10
Kotlin
0
0
792d860359c9054c7d1c21ff88a2366db2c418f7
4,546
LearnTrail
Creative Commons Attribution 4.0 International
src/main/kotlin/com/easy/kotlin/VariableVSValue.kt
Wasabi-B
108,993,599
false
{"Java": 11781, "Kotlin": 7661}
package com.easy.kotlin import java.util.* /** * 声明变量和值 * */ class VariableVSValue { /** * 声明变量 * */ fun declareVar() { var a = 1 a = 2 println(a) println(a::class) println(a::class.java) var x = 5 //自动推断出‘Int’类型 x += 1 pri...
1
null
1
1
2fe62117eed5ea53eb189387b5a26276d8948ca5
2,076
MyKotlin
Apache License 2.0
domain/src/main/java/com/nemesis/rio/domain/profile/search/ProfileSearchHistoryItem.kt
N3-M3-S1S
370,791,918
false
null
package com.nemesis.rio.domain.profile.search import com.nemesis.rio.domain.profile.Profile import kotlinx.datetime.Instant data class ProfileSearchHistoryItem<P : Profile>( val profile: P, val lastSearch: Instant, )
0
Kotlin
0
0
62dc309a7b4b80ff36ea624bacfa7b00b5d8607e
227
rio
MIT License
app/src/main/kotlin/com/alelk/pws/pwapp/model/TagsViewModel.kt
alelk
125,384,520
false
{"Kotlin": 262792}
package com.alelk.pws.pwapp.model import android.app.Application import androidx.lifecycle.AndroidViewModel import androidx.lifecycle.viewModelScope import com.alelk.pws.database.DatabaseProvider import com.alelk.pws.database.dao.SongInfo import com.alelk.pws.database.entity.TagEntity import com.alelk.pws.database.mod...
4
Kotlin
1
2
4e6385b6307d31f249851c942d4fe0c96186a0ce
1,951
pws-android
Apache License 2.0
KotlinMall/module_message/src/main/java/com/hjq/kotlin/message/provider/PushProviderImpl.kt
JQHxx
200,754,360
false
null
package com.hjq.kotlin.message.provider import android.content.Context import android.util.Log import com.alibaba.android.arouter.facade.annotation.Route import com.hjq.kotlin.provider.PushProvider import com.hjq.kotlin.provider.router.RouterPath /** * 模块间接口调用 提供PushId的实现 */ // @Route(path = RouterPath.ModuleMess...
1
Kotlin
1
2
e2f89e82925587a09b626c44d3d34b382448e47a
676
Mall-kotlin
MIT License
src/main/java/network/xyo/sdkcorekotlin/signing/algorithms/ecc/secp256k/signatures/XyoSecp256kSha1WithEcdsaSignature.kt
MichielCuijpers
150,070,434
true
{"Kotlin": 172008}
package network.xyo.sdkcorekotlin.signing.algorithms.ecc.secp256k.signatures import network.xyo.sdkcorekotlin.signing.algorithms.ecc.XyoEcdsaSignature /** * A Xyo Signature made using EC with the Secp256K curve with SHA1. * * @major 0x05 * @minor 0x02 */ class XyoSecp256kSha1WithEcdsaSignature(rawSignature : Byt...
0
Kotlin
0
0
de78c94aef53c12c3f98c2b22ceb360241f4e107
524
sdk-core-kotlin
MIT License
Paging3Sample/app/src/main/java/com/example/paging3sample/api/GitHubService.kt
Youngfellows
470,202,711
false
{"Kotlin": 237191}
package com.example.paging3sample.api import com.example.paging3sample.model.RepoResponse import okhttp3.OkHttpClient import okhttp3.logging.HttpLoggingInterceptor import retrofit2.Retrofit import retrofit2.converter.gson.GsonConverterFactory import retrofit2.http.GET import retrofit2.http.Query /** * 网络请求API */ in...
0
Kotlin
0
0
046aff540194f6ebc5f97d92c9ba514eff1313d3
1,483
UseCasePaging3.x
Apache License 2.0
dslitem/src/main/java/com/angcyo/item/DslTextItem.kt
Alvazz
316,100,224
true
{"Kotlin": 3083452}
package com.angcyo.item import com.angcyo.dsladapter.DslAdapterItem import com.angcyo.item.style.TextStyleConfig import com.angcyo.widget.DslViewHolder /** * 简单的文本显示item * Email:<EMAIL> * @author angcyo * @date 2020/04/23 * Copyright (c) 2020 ShenZhen Wayto Ltd. All rights reserved. */ open class DslTextItem : ...
0
null
0
0
830ec13fac01997ab2491473308bbc854c840002
1,538
UICore
MIT License
core/common/src/DateTimePeriod.kt
SorrowBlue
325,284,393
true
{"Kotlin": 348596, "C++": 67934, "Objective-C++": 9331, "C": 1638}
/* * Copyright 2019-2020 JetBrains s.r.o. * Use of this source code is governed by the Apache 2.0 License that can be found in the LICENSE.txt file. */ package kotlinx.datetime import kotlin.time.Duration import kotlin.time.ExperimentalTime // TODO: could be error-prone without explicitly named params sealed cla...
0
null
0
1
a372015d437174dec5ae300248dc39a8953012de
4,365
kotlinx-datetime
Apache License 2.0
src/test/com/projectcitybuild/stubs/CrossServerLocationMock.kt
projectcitybuild
42,997,941
false
null
package com.projectcitybuild import com.projectcitybuild.entities.SerializableLocation fun CrossServerLocationMock(serverName: String = "server_name"): SerializableLocation { return SerializableLocation( worldName = "world_name", x = 1.0, y = 2.0, z = 3.0, pitch = 4f, ...
8
Kotlin
0
2
670536a5832dd6c3dbde0ba2f94f74a6ec576ed3
341
PCBridge
MIT License
app/src/main/java/com/otus/myapplication/biometrics/CoroutineAuthPromptCallback.kt
vitalyraevsky
391,471,976
false
null
package com.otus.securehomework.security.biometrics import androidx.biometric.BiometricPrompt import androidx.biometric.auth.AuthPromptCallback import androidx.biometric.auth.AuthPromptErrorException import androidx.fragment.app.FragmentActivity import kotlinx.coroutines.CancellableContinuation import kotlin.coroutine...
0
Kotlin
5
6
4fb0cb037a3ae7f806bd11a328ea95cbd6075eee
1,026
otus_security
The Unlicense
src/main/kotlin/com/zhangke/activitypub/entities/ActivityPubSearchEntity.kt
0xZhangKe
594,285,909
false
{"Kotlin": 87574}
package com.zhangke.activitypub.entities data class ActivityPubSearchEntity ( val accounts: List<ActivityPubAccountEntity>, val statuses: List<ActivityPubStatusEntity>, val hashtags: List<ActivityPubTagEntity>, )
0
Kotlin
0
3
20df23caa5dca3594abdff8f9cdf388296a78090
226
ActivityPub-Kotlin
Apache License 2.0
common/core/network/src/commonMain/kotlin/com/oztechan/ccc/common/core/network/error/TerminationException.kt
Oztechan
102,633,334
false
null
package com.oztechan.ccc.common.core.network.error internal class TerminationException(cause: Throwable) : Throwable(cause)
16
null
30
331
a94168d623b6ffd50e142e0afe9f601db6ed7632
125
CCC
Apache License 2.0
app/src/main/java/danbroid/kipfs/app/extensions.kt
danbrough
409,364,798
false
null
package danbroid.kipfs.app import danbroid.kipfs.CID inline fun <reified T : Any> createSnapshot( data: CID<T>, appInstanceID: String, displayName: String = T::class.qualifiedName!!, appType: String = T::class.qualifiedName!!, appDataVersion: Int = 1, modified: Long = System.currentTimeMillis(), publis...
0
Kotlin
0
1
aee8defe623c4147c5da2beb64552a23a7492673
1,023
kipfs
Apache License 2.0
mapview/src/main/java/ovh/plrapps/mapview/core/TileOptionsProvider.kt
peterLaurence
198,028,525
false
null
package ovh.plrapps.mapview.core import android.graphics.ColorFilter /** * Tile rendering options provider. Optional parameter for * [ovh.plrapps.mapview.MapViewConfiguration]. */ interface TileOptionsProvider { /* Must not be a blocking call - should return immediately */ fun getColorFilter(row: Int, col:...
1
null
19
97
17bbe7f29d4d26d3b6efb30705d2814ebf3c3250
586
MapView
Apache License 2.0
coroutine/src/main/kotlin/K3_3_2.kt
zhangweizhe
387,808,774
false
null
import kotlin.coroutines.AbstractCoroutineContextElement import kotlin.coroutines.CoroutineContext fun main() { } /** * 代码清单3-13 协程名的实现 */ class CoroutineName(val name: String): AbstractCoroutineContextElement(Key) { companion object Key: CoroutineContext.Key<CoroutineName> } /** * 代码清单3-14 协程异常处理器的实现 */ cl...
0
Kotlin
0
0
86d3414a84cc43054f13f6be9b1b3e66c184a246
770
kotlin-study
MIT License
http4k-security/oauth/src/main/kotlin/org/http4k/security/state.kt
http4k
86,003,479
false
null
package org.http4k.security data class State(val value: String)
34
null
249
2,615
7ad276aa9c48552a115a59178839477f34d486b1
65
http4k
Apache License 2.0
src/main/kotlin/com/sistema/votacao/model/Pauta.kt
estherwl
552,056,508
false
null
package com.sistema.votacao.model import java.time.LocalDateTime import javax.persistence.* @Entity @Table(name = "pauta") data class Pauta( @Id @GeneratedValue(strategy = GenerationType.IDENTITY) val pautaId: Int?, var titulo: String, var estaAberta: Boolean?, var resultado: Resultado?, ...
0
Kotlin
0
0
7a3690140f235f579004f42efd5f2f551749c92e
488
sistema_votacao
MIT License
alphavantage4k-http/src/main/kotlin/com/jwalrus/alphavantage4k/http/Endpoint.kt
jwalrus
336,883,697
false
null
package com.jwalrus.alphavantage4k.http import org.http4k.core.HttpHandler import org.http4k.core.Method import org.http4k.core.Request import org.http4k.core.Response import org.http4k.lens.BiDiBodyLens data class AlphaVantageResponse<T>( private val response: Response, private val deserializer: (Response) ...
0
Kotlin
0
0
4f660e4e8e4408b370e6a89f00b9b6225d5a5be3
1,222
alphavantage4k
MIT License
app/src/main/java/com/cmj/wanandroid/ui/MineItemLayout.kt
mikechenmj
590,477,705
false
null
package com.cmj.wanandroid.ui import android.content.Context import android.util.AttributeSet import android.view.LayoutInflater import android.widget.FrameLayout import android.widget.ImageView import android.widget.TextView import androidx.core.view.isVisible import com.cmj.wanandroid.R class MineItemLayout @JvmOve...
0
Kotlin
0
0
b6ba391b5925a5ebff3040575a813ce9e140cbd3
1,323
WanAndroid
Apache License 2.0
server/src/main/java/de/zalando/zally/rule/Context.kt
denseidel
142,311,308
false
{"YAML": 17, "Text": 2, "Ignore List": 6, "Shell": 6, "Git Attributes": 1, "Markdown": 6, "CODEOWNERS": 1, "Gradle": 4, "Dockerfile": 3, "Batchfile": 2, "Java Properties": 2, "Kotlin": 155, "Java": 58, "JSON": 35, "OASv2-json": 19, "OASv2-yaml": 25, "OASv3-json": 3, "OASv3-yaml": 1, "INI": 1, "SQL": 8, "HTML": 2, "NPM ...
package de.zalando.zally.rule import com.fasterxml.jackson.core.JsonPointer import de.zalando.zally.rule.api.Violation import de.zalando.zally.util.ast.JsonPointers import de.zalando.zally.util.ast.MethodCallRecorder import de.zalando.zally.util.ast.ReverseAst import io.swagger.models.Swagger import io.swagger.parser....
1
null
1
1
a4c548a0a31b98b4188625feda7539fd8c6aae6a
6,569
zally
MIT License
src/main/kotlin/uk/gov/justice/digital/hmpps/nomisvisitsmappingservice/config/NomisMappingServiceExceptionHandler.kt
ministryofjustice
454,373,167
false
null
package uk.gov.justice.digital.hmpps.nomisvisitsmappingservice.config import jakarta.validation.ValidationException import org.slf4j.LoggerFactory import org.springframework.http.HttpStatus import org.springframework.http.HttpStatus.BAD_REQUEST import org.springframework.http.HttpStatus.CONFLICT import org.springframe...
0
Kotlin
0
0
bad318ae53ad6ad8b9732fe131da9b93eb40193a
4,591
hmpps-nomis-mapping-service
MIT License
commons/src/main/java/com/unatxe/commons/data/Retrofit.kt
BaturaMobile
383,122,377
false
{"Gradle Kotlin DSL": 5, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 4, "Batchfile": 1, "Markdown": 1, "Proguard": 4, "Kotlin": 73, "XML": 32, "GraphQL": 1, "JSON": 1, "INI": 3, "Java": 3, "Gradle": 2}
package com.unatxe.commons.data import android.util.Log import com.google.gson.Gson import com.unatxe.commons.data.exceptions.RestException import com.unatxe.commons.utils.LogStaticV2 import okhttp3.OkHttpClient import okhttp3.Request import okio.Buffer import org.joda.time.DateTime import org.joda.time.format.DateTim...
1
null
1
1
07c8a7920277a10c6177c3b1a1c61d6d96793713
5,308
android-basics
Apache License 2.0
app/src/main/java/com/lt/ltotc/ui/rv_multi/MultiRecycleViewFragment.kt
HankToCode
246,735,881
false
{"Java": 269999, "Kotlin": 177677}
package com.lt.ltotc.ui.rv_multi import android.os.Bundle import android.view.LayoutInflater import android.view.ViewGroup import com.lt.basics.base.BaseFragment import com.lt.ltotc.BR import com.lt.ltotc.R import com.lt.ltotc.databinding.FragmentMultiRvBinding import me.tatarka.bindingcollectionadapter2.BindingRecycl...
1
null
1
1
f03c633a668e86d16a67dd7800f41f3ef7508264
1,060
MVVM_ANDROIDX
Apache License 2.0
app/src/main/java/com/patryk/springer/cashmanager/view/main/MainContract.kt
Gralls
191,911,673
false
null
package com.patryk.springer.cashmanager.view.main import com.patryk.springer.cashmanager.view.base.BaseContract /** * Created by <NAME> on 2019-06-14. */ interface MainContract { interface View : BaseContract.View<Presenter> interface Presenter : BaseContract.Presenter }
2
Kotlin
0
0
88c166d3e6b976db3ad7716da9d09efd2d22cb01
285
Cash-Manager
MIT License
kotlin/src/main/kotlin/com/datastax/examples/mapper/killrvideo/user/PasswordHashing.kt
DataStax-Examples
288,786,004
false
{"Scala": 35117, "Kotlin": 34502, "Java": 7293}
/* * Copyright DataStax, 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 required by applicable law or agreed to in wri...
1
Scala
1
8
aa4cddf3f9641ecc61f561095c839552e5b6e657
1,232
object-mapper-jvm
Apache License 2.0
example/src/main/java/com/taoweiji/kvstorage/example/MainActivity.kt
joyrun
63,624,634
false
null
package com.taoweiji.kvstorage.example import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.util.Log import com.alibaba.fastjson.JSON import com.google.gson.Gson import com.taoweiji.kvstorage.KVStorage import org.json.JSONObject import java.util.* class MainActivity : AppCompatActiv...
1
Java
29
229
d4aa603faf098d5837eb5c848ab80eb69455a61e
2,400
AptPreferences
Apache License 2.0
liteflow-testcase-el/liteflow-testcase-el-script-kotlin-springboot/src/test/resources/script-file/s7.kts
dromara
250,036,571
false
{"Java": 3555007, "Groovy": 826, "CodeQL": 721, "Kotlin": 170, "Python": 13}
import com.yomahub.liteflow.slot.DefaultContext var a = 2 var b = 3 val defaultContext = bindings["defaultContext"] as DefaultContext defaultContext.setData("s7", a * b)
39
Java
415
2,960
6c611f2f6f185f246107a79a4438caefd5745253
170
liteflow
Apache License 2.0
georocket-server/src/main/kotlin/io/georocket/util/MongoCoroutineHelpers.kt
florinvirdol
340,427,410
true
{"Markdown": 3, "Gradle": 9, "Shell": 3, "Git Attributes": 1, "Dockerfile": 2, "Batchfile": 1, "Text": 6, "Ignore List": 3, "Java": 151, "JSON": 51, "ANTLR": 1, "YAML": 12, "INI": 3, "Kotlin": 74, "XML": 4, "HTML": 1, "AsciiDoc": 1, "SVG": 2, "Groovy": 5}
package io.georocket.util import com.mongodb.reactivestreams.client.MongoCollection import kotlinx.coroutines.CancellableContinuation import kotlinx.coroutines.suspendCancellableCoroutine import org.reactivestreams.Publisher import org.reactivestreams.Subscriber import org.reactivestreams.Subscription import kotlin.co...
0
null
0
1
8eb242eccecbb78401d7f3e74e484bde924478b8
1,414
georocket
Apache License 2.0
app/src/main/java/cf/playhi/freezeyou/fuf/FreezeYouFUFSinglePackage.kt
Zer0De8th
462,141,179
true
{"Java": 633200, "Kotlin": 155398}
package cf.playhi.freezeyou.fuf import android.content.ComponentName import android.content.Context import android.content.Intent import cf.playhi.freezeyou.MainApplication import cf.playhi.freezeyou.R import cf.playhi.freezeyou.storage.key.DefaultMultiProcessMMKVStorageBooleanKeys.avoidFreezeForegroundApplications im...
0
Java
0
0
68727c58a8804e5be610a388b2c6d674b1db1b49
5,590
FreezeYou
Apache License 2.0
glance/glance-appwidget/src/androidMain/kotlin/androidx/glance/appwidget/translators/LazyListTranslator.kt
biztrology-kd
422,009,978
true
{"Java Properties": 62, "Shell": 73, "INI": 3, "Text": 5982, "Gradle": 622, "Markdown": 105, "Ignore List": 36, "XML": 15321, "Java": 5846, "HTML": 17, "Kotlin": 6040, "Python": 32, "JSON": 58, "Proguard": 53, "Protocol Buffer": 42, "Batchfile": 14, "CMake": 5, "C++": 6, "SVG": 5, "Ant Build System": 5, "AIDL": 147, "A...
/* * Copyright 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 applica...
0
null
0
0
63fa5bfdba933551ab1f660721c80252bd05d98b
3,846
androidx
Apache License 2.0
idea/testData/intentions/replaceExplicitFunctionLiteralParamWithIt/notApplicable_nestedLiteralsNoIt.kt
JakeWharton
99,388,807
true
null
// IS_APPLICABLE: false inline fun <T, R> T.let(block: (T) -> R): R = block(this) fun foo(arg: Any?): Any? { return arg?.let { <caret>x -> x.toString().let { x } } }
0
Kotlin
28
83
4383335168338df9bbbe2a63cb213a68d0858104
185
kotlin
Apache License 2.0
libraries/stdlib/src/kotlin/text/Strings.kt
nickgieschen
18,268,862
true
null
package kotlin import java.util.ArrayList import java.util.HashMap import java.util.HashSet import java.util.LinkedList /** Returns the string with leading and trailing text matching the given string removed */ public fun String.trim(text: String) : String = trimLeading(text).trimTrailing(text) /** Returns the first...
0
Java
0
0
09a8e284e52c6b7d8ad84d6736c8fac66e932b94
2,162
kotlin
Apache License 2.0
libraries/stdlib/src/kotlin/text/Strings.kt
nickgieschen
18,268,862
true
null
package kotlin import java.util.ArrayList import java.util.HashMap import java.util.HashSet import java.util.LinkedList /** Returns the string with leading and trailing text matching the given string removed */ public fun String.trim(text: String) : String = trimLeading(text).trimTrailing(text) /** Returns the first...
0
Java
0
0
09a8e284e52c6b7d8ad84d6736c8fac66e932b94
2,162
kotlin
Apache License 2.0
core/src/commonMain/kotlin/dev/schlaubi/lavakord/audio/player/Equalizer.kt
mixtape-oss
404,208,107
false
null
package dev.schlaubi.lavakord.audio.player import dev.schlaubi.lavakord.audio.internal.GatewayPayload import dev.schlaubi.lavakord.checkImplementation import kotlin.contracts.ExperimentalContracts import kotlin.contracts.InvocationKind import kotlin.contracts.contract /** * The default gain of all bands */ public c...
5
null
3
2
265ae43c59fbd22d8bdeb7fc9a7eb209b5876330
2,736
Lavalink.kt
MIT License
showcase/common/doc.kts
patternfly-java
223,204,805
false
null
/* * Copyright 2023 Red Hat * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
51
null
4
22
dba5275cbd16c73de87c45ce4d402ea3c8babc66
3,464
patternfly-java
Apache License 2.0
compiler/testData/resolvedCalls/arguments/genericCalls/uninferredParameter.kt
JakeWharton
99,388,807
false
null
fun <T> foo(t: T, l: MutableList<T>) {} fun use(vararg a: Any?) = a fun test(ls: MutableList<String>) { use(<caret>foo(11, ls)) }
179
null
5640
83
4383335168338df9bbbe2a63cb213a68d0858104
135
kotlin
Apache License 2.0
rendering/testSrc/com/android/tools/rendering/classloading/RequestExecutorTransformTest.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
1,739
android
Apache License 2.0
idea/testData/intentions/loopToCallChain/map/mapTo_inputVarNotUsed.kt
zeesh49
67,883,175
true
{"Java": 18228514, "Kotlin": 16158047, "JavaScript": 179664, "Protocol Buffer": 44176, "HTML": 42797, "Lex": 17538, "ANTLR": 9689, "Groovy": 9424, "CSS": 9358, "IDL": 5414, "Shell": 4704, "Batchfile": 3703}
// WITH_RUNTIME // IS_APPLICABLE: false // IS_APPLICABLE_2: false fun foo(list: List<String>, target: MutableList<Int>) { <caret>for (s in list) { if (s.length > 0) target.add(0) } }
0
Java
0
1
261a30029907fedcecbe760aec97021d85a9ba9a
210
kotlin
Apache License 2.0
core/src/main/java/top/xuqingquan/http/log/Level.kt
xuqingquan1995
196,393,794
false
{"Gradle Kotlin DSL": 3, "Java Properties": 2, "YAML": 1, "Shell": 1, "Text": 2, "Ignore List": 4, "Batchfile": 1, "Markdown": 1, "Proguard": 5, "Gradle": 2, "Java": 21, "XML": 32, "Kotlin": 76, "TOML": 1}
package top.xuqingquan.http.log /** * Created by 许清泉 on 2019/4/14 21:08 */ enum class Level { /** * 不打印log */ NONE, /** * 只打印请求信息 */ REQUEST, /** * 只打印响应信息 */ RESPONSE, /** * 所有数据全部打印 */ ALL }
1
null
1
1
44f5b2597e78ba752b6e67f7c35762fe3a056c09
267
Scaffold
MIT License
src/commonMain/kotlin/com/alexvt/publisher/repositories/NewPageRepository.kt
alex-vt
627,274,233
false
{"Java": 5113230, "Kotlin": 128984}
package com.alexvt.publisher.repositories import com.alexvt.publisher.AppScope import me.tatarka.inject.annotations.Inject @AppScope @Inject class NewPageRepository { private var newPageText: String = "" // in memory only fun get(): String = newPageText fun set(value: String) { newPageT...
1
null
1
1
338f6baec0b027da2ed6108f146586a9f285609c
340
GH-Page-Publisher
MIT License
plugins/kotlin/idea/tests/test/org/jetbrains/kotlin/idea/editor/KotlinBraceMatcherTest.kt
ingokegel
72,937,917
false
null
// Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. package org.jetbrains.kotlin.idea.editor import com.intellij.codeInsight.highlighting.BraceMatchingUtil import org.junit.Assert import org.jetbrains.kotlin.idea.test.KotlinLightCodeInsightFixtureTes...
1
null
1
2
b07eabd319ad5b591373d63c8f502761c2b2dfe8
1,162
intellij-community
Apache License 2.0
welcome/src/main/java/com/hymnal/welcome/service/InitIntentService.kt
Hymn-Qin
147,835,752
false
null
package com.hymnal.welcome.service import android.app.Activity import android.app.Application import android.app.IntentService import android.content.Intent import android.content.Context import android.util.Log import androidx.fragment.app.Fragment class InitIntentService : IntentService("InitIntentService") { ...
0
Kotlin
0
1
ec1319cd1988da7275aa4a252a84a3988ba026f2
10,885
AppConclusion
Apache License 2.0
kotlin-mui-icons/src/main/generated/mui/icons/material/SnowmobileSharp.kt
JetBrains
93,250,841
false
null
// Automatically generated - do not modify! @file:JsModule("@mui/icons-material/SnowmobileSharp") @file:JsNonModule package mui.icons.material @JsName("default") external val SnowmobileSharp: SvgIconComponent
12
Kotlin
145
983
a99345a0160a80a7a90bf1adfbfdc83a31a18dd6
212
kotlin-wrappers
Apache License 2.0
solutions/src/isSubsequenceOne.kt
JustAnotherSoftwareDeveloper
139,743,481
false
null
/** * https://leetcode.com/problems/is-subsequence/ */ class isSubsequenceOne { fun isSubsequence(s: String, t: String): Boolean { if (s.length > t.length) { return false } var currSize = 0 var currSIndex = 0 t.forEach { if (currSize == s.length) { ...
1
null
1
1
fa4a9089be4af420a4ad51938a276657b2e4301f
524
leetcode-solutions
MIT License
app/src/main/java/br/com/frazo/janac/domain/usecases/notes/read/GetBinnedNotesUseCaseImpl.kt
ygorluizfrazao
604,738,931
false
null
package br.com.frazo.janac.domain.usecases.notes.read import br.com.frazo.janac.data.repository.note.NoteRepository import br.com.frazo.janac.domain.models.Note import kotlinx.coroutines.flow.Flow class GetBinnedNotesUseCaseImpl(private val notesRepository: NoteRepository) : GetBinnedNotesUseCase<Flow<List<Note>...
0
Kotlin
0
1
92b46d475f39695593c51390dae0795b5d77648b
426
JustAnotherNotesApp
MIT License
agp-7.1.0-alpha01/tools/base/build-system/gradle-core/src/main/java/com/android/build/gradle/internal/testing/utp/UtpTestUtils.kt
jomof
502,039,754
true
{"Markdown": 63, "Java Properties": 56, "Shell": 31, "Batchfile": 12, "Proguard": 30, "CMake": 10, "Kotlin": 3443, "C++": 594, "Java": 4446, "HTML": 34, "Makefile": 14, "RenderScript": 22, "C": 30, "JavaScript": 2, "CSS": 3, "INI": 11, "Filterscript": 11, "Prolog": 1, "GLSL": 1, "Gradle Kotlin DSL": 5, "Python": 12, "D...
/* * Copyright (C) 2020 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
1
null
1
0
9e3475f6d94cb3239f27ed8f8ee81b0abde4ef51
2,473
CppBuildCacheWorkInProgress
Apache License 2.0
data/src/main/java/com/scallop/data/repository/CovidCacheImpl.kt
juanjecilla
249,501,235
false
null
package com.scallop.data.repository import com.scallop.data.db.CovidDao import com.scallop.data.db.CovidDatabase import com.scallop.data.mappers.CovidDataEntityMapper import com.scallop.data.mappers.CovidEntityDataMapper import com.scallop.domain.entities.CountryEntity import com.scallop.domain.entities.WorldwideEntit...
0
Kotlin
0
0
2ed1e79982e8d942683621842ce5d8c860c93933
1,280
Covid19-Tracker
MIT License
fluentui_icons/src/main/java/com/microsoft/fluentui/icons/__SearchBarIcons.kt
anthonysidesap
454,785,267
true
{"Kotlin": 2243120, "Shell": 8996}
package com.microsoft.fluentui.icons import androidx.compose.ui.graphics.vector.ImageVector import com.microsoft.fluentui.icons.searchbaricons.* import kotlin.collections.List as ____KtList object SearchBarIcons private var __AllIcons: ____KtList<ImageVector>? = null val SearchBarIcons.AllIcons: ____KtList<ImageVec...
1
Kotlin
2
7
2b0d10f7b754c189fea210d279487617e5661eaa
529
fluentui-android
MIT License
fluentui_icons/src/main/java/com/microsoft/fluentui/icons/__SearchBarIcons.kt
anthonysidesap
454,785,267
true
{"Kotlin": 2243120, "Shell": 8996}
package com.microsoft.fluentui.icons import androidx.compose.ui.graphics.vector.ImageVector import com.microsoft.fluentui.icons.searchbaricons.* import kotlin.collections.List as ____KtList object SearchBarIcons private var __AllIcons: ____KtList<ImageVector>? = null val SearchBarIcons.AllIcons: ____KtList<ImageVec...
1
Kotlin
2
7
2b0d10f7b754c189fea210d279487617e5661eaa
529
fluentui-android
MIT License
app/src/main/java/com/github/ojh102/flickrsearch/utils/ResourcesProviderImpl.kt
ojh102
166,805,679
false
null
package com.github.ojh102.flickrsearch.utils import android.content.res.Resources import javax.inject.Inject internal class ResourcesProviderImpl @Inject constructor( private val resources: Resources ) : ResourcesProvider { override fun getString(resId: Int): String { return resources.getString(resI...
0
Kotlin
0
1
a6cce2107533ceb632448439c073de710dc51f09
445
FlickrSearch
Apache License 2.0
app/src/main/java/com/github/ojh102/flickrsearch/utils/ResourcesProviderImpl.kt
ojh102
166,805,679
false
null
package com.github.ojh102.flickrsearch.utils import android.content.res.Resources import javax.inject.Inject internal class ResourcesProviderImpl @Inject constructor( private val resources: Resources ) : ResourcesProvider { override fun getString(resId: Int): String { return resources.getString(resI...
0
Kotlin
0
1
a6cce2107533ceb632448439c073de710dc51f09
445
FlickrSearch
Apache License 2.0
src/main/kotlin/aoc2018/day09/Day.kt
dkhawk
573,106,005
false
{"Kotlin": 556457}
package aoc2018.day09 import androidx.compose.runtime.getValue import androidx.compose.runtime.mutableStateOf import androidx.compose.runtime.setValue import kotlinx.coroutines.CoroutineScope import kotlinx.coroutines.Job import kotlinx.coroutines.launch import utils.InputNew import utils.packageToYearDay class Day(p...
0
Kotlin
0
1
7f113cdf9f6fd0a56fdaa2f4c2941a2cbfdd007f
3,284
AoCDesktop
Apache License 2.0
src/main/kotlin/aoc2018/day09/Day.kt
dkhawk
573,106,005
false
{"Kotlin": 556457}
package aoc2018.day09 import androidx.compose.runtime.getValue import androidx.compose.runtime.mutableStateOf import androidx.compose.runtime.setValue import kotlinx.coroutines.CoroutineScope import kotlinx.coroutines.Job import kotlinx.coroutines.launch import utils.InputNew import utils.packageToYearDay class Day(p...
0
Kotlin
0
1
7f113cdf9f6fd0a56fdaa2f4c2941a2cbfdd007f
3,284
AoCDesktop
Apache License 2.0
rhea-core/src/main/kotlin/uk/dsxt/rhea/ReactiveConfig.kt
dsx-tech
217,071,641
false
null
package uk.dsxt.rhea import kotlinx.coroutines.CoroutineScope import kotlinx.coroutines.channels.BroadcastChannel import kotlinx.coroutines.channels.Channel import kotlinx.coroutines.flow.Flow import kotlinx.coroutines.flow.asFlow import kotlinx.coroutines.flow.filter import kotlinx.coroutines.flow.map import kotlinx....
0
Kotlin
1
2
d56ad5a3cc8426eff5d0db05c178ee641d21affb
5,180
rhea
MIT License
app/src/main/java/com/gmail/tofibashers/blacklist/di/app/AppComponent.kt
TofiBashers
128,157,735
false
null
package com.gmail.tofibashers.blacklist.di.app import dagger.Component import dagger.android.AndroidInjectionModule import dagger.android.AndroidInjector import dagger.android.support.AndroidSupportInjectionModule import dagger.android.support.DaggerApplication import javax.inject.Singleton /** * Created by TofiBas...
0
Kotlin
0
4
1e72f8e59f52205a89a18864302bc2cf6f5f04ad
948
Blacklist
Apache License 2.0
app/src/main/java/com/example/utrun/HomePage.kt
davidsonga
706,412,207
false
{"Kotlin": 37931, "Java": 12607}
package com.example.utrun import android.content.Intent import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.os.Handler import androidx.navigation.NavController import androidx.navigation.fragment.NavHostFragment import androidx.navigation.ui.setupWithNavController import com.example...
0
Kotlin
0
0
18fbeb11b17adbe20ea5dddf4d8814d47647d2f8
1,290
Utruns
MIT License
EcosystemSimulation/src/shmp/visualizer/command/EnviromentalCommand.kt
ShMPMat
212,499,539
false
null
package shmp.visualizer.command import shmp.visualizer.text.TextEcosystemVisualizer enum class EnvironmentCommand(command: String) : Command { Plates("plates"), TileTag("tt \\w+"), Tile("\\d+ \\d+"), Temperature("temperature"), Wind("wind"), TerrainLevel("level"), Vapour("vapour"), Re...
0
Kotlin
0
0
8c04ea13e1ee4381e61e0b52c0d26ff44f71092d
1,201
CulturesSim
MIT License
src/app/src/main/kotlin/org/imperial/mrc/hint/controllers/SessionController.kt
mrc-ide
186,620,695
false
{"TypeScript": 2008491, "Kotlin": 666383, "Vue": 438407, "Shell": 12807, "FreeMarker": 9189, "SCSS": 8848, "JavaScript": 5989, "Dockerfile": 3656, "HTML": 1599}
package org.imperial.mrc.hint.controllers import org.imperial.mrc.hint.FileManager import org.imperial.mrc.hint.models.SuccessResponse import org.imperial.mrc.hint.models.VersionFile import org.imperial.mrc.hint.models.asResponseEntity import org.springframework.http.ResponseEntity import org.springframework.web.bind....
21
TypeScript
2
1
f46238ae819de61e3cc483e8812c6039ccd9a6a4
688
hint
MIT License
rounded/src/commonMain/kotlin/me/localx/icons/rounded/filled/AirplaneJourney.kt
localhostov
808,861,591
false
{"Kotlin": 79430321, "HTML": 331, "CSS": 102}
package me.localx.icons.rounded.filled import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap.Companion.Butt import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter ...
1
Kotlin
0
5
cbd8b510fca0e5e40e95498834f23ec73cc8f245
4,815
icons
MIT License
mui-icons-kotlin/src/jsMain/kotlin/mui/icons/material/ReadMoreRounded.kt
karakum-team
387,062,541
false
{"Kotlin": 3059969, "TypeScript": 2249, "HTML": 724, "CSS": 86}
// Automatically generated - do not modify! @file:JsModule("@mui/icons-material/ReadMoreRounded") package mui.icons.material @JsName("default") external val ReadMoreRounded: SvgIconComponent
0
Kotlin
5
35
45ca2eabf1d75a64ab7454fa62a641221ec0aa25
194
mui-kotlin
Apache License 2.0
app/src/main/java/com/example/nghican/caculatorapp/base/BaseActivity.kt
Nghicv
131,365,257
false
null
package com.example.nghican.caculatorapp.base import android.databinding.DataBindingUtil import android.databinding.ViewDataBinding import android.os.Bundle import android.support.annotation.LayoutRes import android.support.v7.app.AlertDialog import android.support.v7.app.AppCompatActivity import com.example.nghican.c...
0
Kotlin
0
0
046ab3712b9cae2739ef65f76978c6164445d384
1,581
CalculatorApp
MIT License
src/test/kotlin/automatons/StandardAutomatonTest.kt
MaxBuster380
680,799,840
false
null
package automatons import events.StandardEvent import kotlin.test.Test import states.StandardState import kotlin.test.assertEquals import kotlin.test.assertTrue class StandardAutomatonTest { /** * Makes sure the Automaton.add function returns the same instance. */ @Test fun addFunctionReturnsSelf() { val au...
0
Kotlin
0
0
393c5a55d4d3eb4b4cf064bce62b25da78c426af
5,061
Automatons
MIT License
app/src/main/java/com/mobdeve/gonzales/lee/ong/artemis/EditProfileActivity.kt
memgonzales
390,384,567
false
null
package com.mobdeve.gonzales.lee.ong.artemis import android.app.Activity import android.content.Context import android.content.Intent import android.graphics.Bitmap import android.graphics.BitmapFactory import android.graphics.Matrix import android.media.ExifInterface import android.net.Uri import android.os.Bundle im...
0
Kotlin
0
0
9d92a5a2905afd1e9869854f2c5238bb860ba8cd
20,872
artemis-art-app
Apache License 1.1
src/main/kotlin/dev/koifysh/randomizer/registries/APLocation.kt
KonoTyran
833,936,250
false
{"Kotlin": 151313, "Java": 11145}
package dev.koifysh.randomizer.registries import com.google.gson.annotations.SerializedName import net.minecraft.resources.ResourceLocation abstract class APLocation { @SerializedName("id") val id: Long = 0 @SerializedName("type") val type: ResourceLocation = ResourceLocation.parse("empty:empty") }
0
Kotlin
0
0
aacb0df2120c08ef73e29b079d193a19b91557ce
309
archipelago-randomizer-fabric
Creative Commons Zero v1.0 Universal
src/main/kotlin/archives/tater/necromancer/entity/NecromancerModEntities.kt
JosiahFu
862,137,365
false
{"Kotlin": 59570, "Java": 12780}
package archives.tater.necromancer.entity import archives.tater.necromancer.NecromancerMod import archives.tater.necromancer.lib.Registrar import archives.tater.necromancer.lib.register import net.fabricmc.fabric.api.`object`.builder.v1.entity.FabricDefaultAttributeRegistry import net.minecraft.entity.EntityDimensions...
0
Kotlin
0
0
d06351f59a757cc1362e726defaf1dc4b4986c91
870
NecromancerMod
Creative Commons Zero v1.0 Universal
lightweightlibrary/src/main/java/com/tradingview/lightweightcharts/api/serializer/AreaSeriesOptionsSerializer.kt
finky
329,943,528
true
{"Kotlin": 147487, "JavaScript": 32127, "HTML": 177}
package com.tradingview.lightweightcharts.api.serializer import com.google.gson.JsonElement import com.google.gson.JsonSyntaxException import com.tradingview.lightweightcharts.api.options.models.AreaSeriesOptions class AreaSeriesOptionsSerializer : Serializer<AreaSeriesOptions>() { override fun serialize(json: Js...
0
null
0
0
c790e03082a4bc1c342c5b214584554d5f418892
515
lightweight-charts-android
Apache License 2.0
feature/reptileDetails/data/src/main/java/com/gigauri/reptiledb/module/feature/reptileDetails/data/remote/api/ReptileDetailsApi.kt
george-gigauri
758,816,993
false
{"Kotlin": 331680}
package com.gigauri.reptiledb.module.feature.reptileDetails.data.remote.api import com.gigauri.reptiledb.module.feature.reptileDetails.data.remote.dto.CoverageDto import com.gigauri.reptiledb.module.feature.reptileDetails.data.remote.dto.ReptileDetailsDto import retrofit2.http.GET import retrofit2.http.Path interface...
0
Kotlin
0
2
f256dcd2ba9e4d88135a5399c5b2a71ddff454d0
602
herpi-android
Apache License 2.0
radius/feature/src/main/java/com/agentdesks/android/crm/assignment/feature/usecase/ExclusionMapUseCaseImpl.kt
kunal26das
673,585,943
false
null
package com.agentdesks.android.crm.assignment.feature.usecase import com.agentdesks.android.crm.assignment.database.repo.ExclusionsLocalRepository import com.agentdesks.android.crm.assignment.feature.domain.entity.FacilityOption import com.agentdesks.android.crm.assignment.feature.domain.repo.ExclusionsRemoteRepositor...
0
Kotlin
0
1
de0811d69435da1b902a038848b8c52a9f9e165b
1,033
android-assignments
Apache License 2.0
basicktest/src/main/java/com/mozhimen/basicktest/utilk/content/UtilKContentActivity.kt
mozhimen
353,952,154
false
null
package com.mozhimen.basicktest.utilk.content import android.view.View import com.mozhimen.basick.elemk.activity.bases.BaseActivityVB import com.mozhimen.basick.utilk.content.startContext import com.mozhimen.basicktest.databinding.ActivityUtilkContentBinding /** * @ClassName UtilKContentActivity * @Description TODO...
0
Kotlin
5
109
579c0404165bfbd77ea035ca5e88a75e093d8925
653
SwiftKit
Apache License 2.0
ktxml/src/main/kotlin/com/github/musichin/ktxml/Element.kt
musichin
61,234,458
false
null
package com.github.musichin.ktxml import java.util.NoSuchElementException interface Element : Content, Iterable<Content> { val namespace: String? val name: String val contents: List<Content> val attributes: List<Attribute> override fun mutable(): MutableElement /** * Returns size of con...
1
Kotlin
0
2
6cd829d0cbd99bd9f84e26a34bbb8cc530f7ac1d
13,232
ktXML
Apache License 2.0
.github/workflows/release.main.kts
typesafegithub
439,670,569
false
null
#!/usr/bin/env kotlin @file:Repository("https://repo.maven.apache.org/maven2/") @file:DependsOn("io.github.typesafegithub:github-workflows-kt:2.1.0") @file:Repository("https://bindings.krzeminski.it") @file:DependsOn("actions:checkout:v4") @file:DependsOn("gradle:actions__setup-gradle:v3") @file:Import("_shared.main....
33
null
24
491
e57e321b41922277680c6585d1a85a939ca89d4b
2,230
github-workflows-kt
Apache License 2.0
library/src/main/java/com/yyfly/android/common/util/KeyboardUtils.kt
yyflycom
98,014,324
false
null
package com.yyfly.android.common.util import android.app.Activity import android.content.Context import android.util.Log import android.view.View import android.view.inputmethod.InputMethodManager import android.widget.EditText import com.yyfly.android.common.App /** * 键盘工具类 * * @author : yyfly / developer@yyfly....
0
Kotlin
0
0
ac107322f8dbda928162216c91337fe9ceb7c5e9
3,179
CommonLibrary
Apache License 2.0
app/src/main/java/com/eburg_soft/currencyconverter/data/datasource/database/models/CurrencyConversionEntity.kt
StasonicK
292,242,878
false
null
package com.eburg_soft.currencyconverter.data.datasource.database.models import android.os.Parcelable import androidx.room.ColumnInfo import androidx.room.Entity import androidx.room.PrimaryKey import com.eburg_soft.currencyconverter.data.datasource.database.models.CurrencyConversionEntity.Companion.TABLE_NAME import ...
0
Kotlin
0
0
acbe40f3338c7ec4eff2a4f51b7332892129594f
1,585
CurrencyConverter
MIT License
src/es/brakeout/src/eu/kanade/tachiyomi/extension/es/brakeout/Brakeout.kt
komikku-app
720,497,299
false
{"Kotlin": 6775539, "JavaScript": 2160}
package eu.kanade.tachiyomi.extension.es.brakeout import eu.kanade.tachiyomi.network.GET import eu.kanade.tachiyomi.network.asObservableSuccess import eu.kanade.tachiyomi.network.interceptor.rateLimitHost import eu.kanade.tachiyomi.source.model.Filter import eu.kanade.tachiyomi.source.model.FilterList import eu.kanade...
22
Kotlin
8
97
7fc1d11ee314376fe0daa87755a7590a03bc11c0
6,511
komikku-extensions
Apache License 2.0
api/src/main/java/com/getcode/solana/organizer/AccountType.kt
code-payments
723,049,264
false
{"Kotlin": 1916971, "C": 198685, "C++": 83029, "Java": 52287, "Shell": 5629, "Ruby": 3397, "CMake": 2594}
package com.getcode.solana.organizer import com.codeinc.gen.common.v1.Model import com.getcode.crypt.DerivePath import com.getcode.model.Domain sealed interface AccountType { data object Primary : AccountType data object Incoming : AccountType data object Outgoing : AccountType data class Bucket(val t...
3
Kotlin
11
14
34ba13c4dcea5e991c46cd22fe86afd1a8699202
4,207
code-android-app
MIT License