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
kt/godot-library/src/main/kotlin/godot/gen/godot/Skeleton2D.kt
utopia-rise
289,462,532
false
null
// THIS FILE IS GENERATED! DO NOT EDIT IT MANUALLY! @file:Suppress("PackageDirectoryMismatch", "unused", "FunctionName", "RedundantModalityModifier", "UNCHECKED_CAST", "JoinDeclarationAndAssignment", "USELESS_CAST", "RemoveRedundantQualifierName", "NOTHING_TO_INLINE", "NON_FINAL_MEMBER_IN_OBJECT", "Redundan...
60
Kotlin
25
345
ec2cf9e270c7311848af89ee67a02431993f3595
5,607
godot-kotlin-jvm
MIT License
idscp2-daps-aisec/src/main/kotlin/de/fhg/aisec/ids/idscp2/daps/aisecdaps/AisecDapsDriver.kt
industrial-data-space
343,733,469
false
{"Kotlin": 479650, "Shell": 1048}
/*- * ========================LICENSE_START================================= * idscp2-daps-aisec * %% * Copyright (C) 2021 Fraunhofer AISEC * %% * 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 Lic...
2
Kotlin
3
4
aff0b11cafc4ad43e7afe0727924e594a9853e54
21,962
idscp2-jvm
Apache License 2.0
tgbotapi.core/src/commonTest/kotlin/dev/inmo/tgbotapi/types/MessageEntity/TextPartsCreatingTests.kt
InsanusMokrassar
163,152,024
false
null
package dev.inmo.tgbotapi.types.MessageEntity import dev.inmo.tgbotapi.extensions.utils.formatting.toHtmlTexts import dev.inmo.tgbotapi.extensions.utils.formatting.toMarkdownV2Texts import kotlin.test.Test import kotlin.test.assertEquals class TextPartsCreatingTests { @Test fun testThatTextWithMultilevelParts...
9
Kotlin
10
99
8206aefbb661db936d4078a8ef7cc9cecb5384e4
868
TelegramBotAPI
Apache License 2.0
common/src/main/java/com/awilab/common/ext/FromTypeExt.kt
Chen-A-wi
596,453,280
false
null
package com.awilab.common.ext inline fun <reified T : Enum<T>, V> ((T) -> V).fromType(value: V, default: T): T { return enumValues<T>().firstOrNull { this(it) == value } ?: default }
0
Kotlin
0
0
32ac6bd53bc1ddce89be6f4b523ce230891d6f6b
187
submodules
MIT License
app/src/main/java/com/example/tirateunpaso/database/user/UserDao.kt
UTN-FRBA-Mobile
795,301,780
false
{"Kotlin": 101242}
package com.example.tirateunpaso.database.user import androidx.room.Dao import androidx.room.Delete import androidx.room.Insert import androidx.room.Query import com.example.tirateunpaso.database.user.User @Dao interface UserDao { @Query("SELECT * FROM user") fun getAll(): List<User> @Query("SELECT * FR...
0
Kotlin
0
0
0eee2fe942f64cf9df9c303e97625c5890f79999
498
TirateUnPaso
MIT License
android/app/src/main/kotlin/sdpr/magic8ball/MainActivity.kt
160303105370
293,585,221
true
{"Dart": 2016, "Swift": 404, "Kotlin": 120, "Objective-C": 38}
package sdpr.magic8ball import io.flutter.embedding.android.FlutterActivity class MainActivity: FlutterActivity() { }
0
null
0
0
73b679ca98e22480f4bf56893f2c673463d7b059
120
magic8ball
MIT License
client-network/ktorImpl/src/jvmMain/kotlin/DNSResolver.kt
KyleMcB
717,853,667
false
{"Kotlin": 14814, "Swift": 580, "Shell": 228}
package com.xingpeds.kmirc.clientnetwork import java.net.InetAddress class JavaAddress(val inet:InetAddress) : Address { override val hostAddress: String get() = inet.hostAddress } actual object DNSResolver : DNSLookupFun { actual override fun invoke(hostname: String): List<Address> { return...
0
Kotlin
0
0
090d38eda5b6a23c42d035d91b0c22b1fb95386b
409
kmirc
Apache License 2.0
client/client-efa/src/commonMain/kotlin/de/jlnstrk/transit/api/efa/model/EfaLine.kt
jlnstrk
229,599,180
false
{"Kotlin": 729374}
@file:UseSerializers( EfaStringBooleanSerializer::class, EfaPrimitiveSerializer.ForString::class, EfaPrimitiveSerializer.ForFloat::class ) package de.jlnstrk.transit.api.efa.model import de.jlnstrk.transit.api.efa.serializer.generic.EfaUnwrapSerializer import de.jlnstrk.transit.api.efa.serializer.primitiv...
0
Kotlin
0
0
9f700364f78ebc70b015876c34a37b36377f0d9c
1,781
transit
Apache License 2.0
dsl/src/main/kotlin/cloudshift/awscdk/dsl/services/iotfleetwise/CfnModelManifestDsl.kt
cloudshiftinc
667,063,030
false
null
@file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION") package cloudshift.awscdk.dsl.services.iotfleetwise import cloudshift.awscdk.common.CdkDslMarker import cloudshift.awscdk.dsl.CfnTagDsl import...
1
Kotlin
0
0
17c41bdaffb2e10d31b32eb2282b73dd18be09fa
5,601
awscdk-dsl-kotlin
Apache License 2.0
app/src/main/java/com/example/rrhe/PlantDao.kt
mcmeister
821,168,154
false
{"Kotlin": 299315, "Python": 55473, "Java": 14409}
package com.example.rrhe import androidx.room.Dao import androidx.room.Insert import androidx.room.OnConflictStrategy import androidx.room.Query import androidx.room.Update import kotlinx.coroutines.flow.Flow @Dao interface PlantDao { // Retrieve all plants from the database @Query("SELECT * FROM plants") ...
0
Kotlin
0
0
f6813a7ede8d13dd4965dc2bb9f259e8de9d8147
2,545
RRHE_Android_App
MIT License
app/src/main/java/com/raion/furnitale/core/data/source/local/room/ProductDatabase.kt
KylixEza
349,910,754
false
null
package com.raion.furnitale.core.data.source.local.room import androidx.room.Database import androidx.room.RoomDatabase import com.raion.furnitale.core.data.source.local.entity.ProductEntity @Database(entities = [ProductEntity::class], version = 1, exportSchema = false) abstract class ProductDatabase: RoomDatabase() ...
0
Kotlin
1
1
014d82d8764c7c1002d166f435b7243508794fd3
365
FurniTale
MIT License
corecomponent/androidcomponent/src/main/java/io/github/droidkaigi/confsched2020/ui/widget/BottomGestureSpace.kt
DroidKaigi
202,978,106
false
null
package com.hari.tmdb.ui.widget import android.content.res.Resources import android.os.Build import com.hari.tmdb.androidcomponents.R class BottomGestureSpace(private val resources: Resources) { val gestureSpaceSize by lazy { if (resources.isEdgeToEdgeEnabled()) resources.getDimension(R.dimen....
46
null
331
785
4c5533e4611d4bf6007284dd1f61db2fc92eb0ae
1,252
conference-app-2020
Apache License 2.0
app/src/main/java/com/jnj/vaccinetracker/common/data/database/entities/base/VisitEntityBase.kt
johnsonandjohnson
503,902,626
false
{"Kotlin": 1690434}
package com.jnj.vaccinetracker.common.data.database.entities.base import com.jnj.vaccinetracker.common.data.database.typealiases.DateEntity interface VisitEntityBase : VisitBase, VisitEntityCommon { val visitType: String } interface VisitEntityCommon { val startDatetime: DateEntity }
2
Kotlin
1
1
dbf657c7fb7cb1233ed5c26bc554a1032afda3e0
296
vxnaid
Apache License 2.0
app/src/main/java/kr/yapp/teamplay/domain/entity/teammain/ClubInfo.kt
YAPP-16th
235,351,892
false
{"Kotlin": 212641, "Java": 2540}
package kr.yapp.teamplay.domain.entity.teammain import kr.yapp.teamplay.domain.entity.UserRole data class ClubInfo( val tag: String = "우리동네대표", val name: String = "", val location: String = "", val createDate: String = "", val memberCount: String = "", val userRole: UserRole = UserRole.ADMIN, ...
2
Kotlin
2
3
2d919222f158fd448b55b6f12b1a6a367fa048d9
347
Team_Android_2_Client
MIT License
core/data/src/main/java/com/tydev/imagegenerator/core/data/repository/GenerateRepositoryImpl.kt
taiyoungkim
644,446,711
false
null
/* * Copyright 2023 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
0
Kotlin
0
1
6a59481323493e528c96891ae403e0da79794660
2,930
ImageGenerator
Apache License 2.0
shared/lib/res/src/jvmMain/kotlin/org/mobilenativefoundation/store/news/shared/lib/res/drawable/discoveryIconLight.jvm.kt
matt-ramotar
742,173,124
false
{"Kotlin": 36554}
package org.mobilenativefoundation.store.news.shared.lib.res.drawable import androidx.compose.ui.graphics.painter.Painter actual val discoveryIconLight: Painter get() = TODO("Not yet implemented")
1
Kotlin
0
0
6943b9218cd1aa765dc66145b75b1e63625091af
202
news
Apache License 2.0
app/src/main/java/com/example/greatimagedownloader/data/api/RicohApi.kt
adriantache
609,946,815
false
null
package com.example.greatimagedownloader.data.api import com.example.greatimagedownloader.data.api.model.PhotoInfo import com.example.greatimagedownloader.data.api.model.RicohConfig import okhttp3.ResponseBody import retrofit2.Call import retrofit2.Response import retrofit2.http.GET import retrofit2.http.POST import r...
0
Kotlin
0
2
9d3bf4ce75cb2cd4a355bbe4e898f414ff19ae76
847
GReat-Image-Downloader
Creative Commons Zero v1.0 Universal
easy-recyclerview/src/main/java/com/ray/library/easyrecyclerview/decoration/EasyDecoration.kt
RayHuangDev
250,175,037
false
null
package com.ray.library.easyrecyclerview.decoration import android.graphics.Canvas import android.graphics.Color import android.graphics.Rect import android.graphics.drawable.ColorDrawable import android.view.View import androidx.annotation.ColorInt import androidx.recyclerview.widget.LinearLayoutManager import androi...
0
Kotlin
0
0
501d98350bcab7210ae0e8177a0795ee66b608b0
5,022
EasyRecyclerView
MIT License
p2m-annotation/src/ignore/java/com/p2m/core/launcher/ActivityResultContractCompat.kt
wangdaqi77
367,279,479
false
null
package com.p2m.core.launcher abstract class ActivityResultContractCompat<I, O>
0
Kotlin
6
34
6263c1c5a2dedda773eb7c6745b86ac2ff8f00d9
80
P2M
Apache License 2.0
jetbrains-core/src/software/aws/toolkits/jetbrains/services/clouddebug/execution/CloudDebugRunState.kt
JetBrains
223,485,227
true
{"Gradle Kotlin DSL": 21, "Markdown": 16, "Java Properties": 2, "Shell": 1, "Text": 12, "Ignore List": 3, "Batchfile": 1, "Git Attributes": 1, "EditorConfig": 3, "YAML": 28, "XML": 96, "Kotlin": 1102, "JSON": 54, "Java": 9, "SVG": 64, "TOML": 1, "INI": 1, "CODEOWNERS": 1, "Maven POM": 4, "Dockerfile": 14, "JavaScript":...
// Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.aws.toolkits.jetbrains.services.clouddebug.execution import com.intellij.build.BuildView import com.intellij.build.DefaultBuildDescriptor import com.intellij.build.ViewManager import com....
6
Kotlin
4
9
ccee3307fe58ad48f93cd780d4378c336ee20548
4,187
aws-toolkit-jetbrains
Apache License 2.0
jetbrains-core/src/software/aws/toolkits/jetbrains/services/clouddebug/execution/CloudDebugRunState.kt
JetBrains
223,485,227
true
{"Gradle Kotlin DSL": 21, "Markdown": 16, "Java Properties": 2, "Shell": 1, "Text": 12, "Ignore List": 3, "Batchfile": 1, "Git Attributes": 1, "EditorConfig": 3, "YAML": 28, "XML": 96, "Kotlin": 1102, "JSON": 54, "Java": 9, "SVG": 64, "TOML": 1, "INI": 1, "CODEOWNERS": 1, "Maven POM": 4, "Dockerfile": 14, "JavaScript":...
// Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.aws.toolkits.jetbrains.services.clouddebug.execution import com.intellij.build.BuildView import com.intellij.build.DefaultBuildDescriptor import com.intellij.build.ViewManager import com....
6
Kotlin
4
9
ccee3307fe58ad48f93cd780d4378c336ee20548
4,187
aws-toolkit-jetbrains
Apache License 2.0
src/main/kotlin/com/dinhhuy258/vintellij/handlers/ImportSuggestionsHandler.kt
mahmoudimus
282,562,699
true
{"Kotlin": 35532, "Vim Script": 7565}
package com.dinhhuy258.vintellij.handlers import com.dinhhuy258.vintellij.exceptions.VIException import com.dinhhuy258.vintellij.idea.IdeaUtils import com.dinhhuy258.vintellij.idea.imports.KtImportSuggester import org.jetbrains.kotlin.psi.KtFile import org.jetbrains.kotlin.psi.KtSimpleNameExpression class ImportSugge...
0
null
0
0
f1af3874b83d2d72b7d5c750c017c29aea3f49b6
1,242
vintellij
MIT License
app/src/main/java/com/lycorp/webauthn/sample/presentation/viewmodel/Fido2ViewModelFactory.kt
line
855,639,572
false
{"Kotlin": 57492}
/* * Copyright 2024 LY Corporation * * LY Corporation licenses this file to you 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 requi...
0
Kotlin
0
1
d004e751cb91eb67790e00cb583aeaa93028e6d2
1,363
webauthndemo-kotlin
Apache License 2.0
core/database/src/main/java/com/hisui/kanna/core/database/DaoModule.kt
okumusashi
570,818,154
false
{"Kotlin": 369717, "Shell": 1387}
/* * Copyright 2022 Lynn Sakashita * * 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 ...
16
Kotlin
0
1
131f9ea7bcf6dac58aeb1d9337a12e69a7c53147
1,760
kanna
Apache License 2.0
domain/src/main/java/com/innosync/domain/usecase/token/DeleteTokenUseCase.kt
2023-DGSW-FLY
685,568,000
false
{"Kotlin": 203463}
package com.innosync.domain.usecase.token import com.innosync.domain.repository.TokenRepository import javax.inject.Inject class DeleteTokenUseCase @Inject constructor( private val tokenRepository: TokenRepository ) { suspend operator fun invoke() = kotlin.runCatching { tokenRepository.deleteToken() ...
3
Kotlin
0
0
ef4e630893631f630242b00b8f7065c4efc3353c
326
Android_Hook
MIT License
app/src/main/java/aelsi2/natkschedule/data/preferences/SettingsManager.kt
aelsi2
588,422,030
false
null
package aelsi2.natkschedule.data.preferences interface SettingsManager : SettingsReader { suspend fun setSaveMainScheduleEnabled(value : Boolean) suspend fun setSaveFavoritesEnabled(value : Boolean) suspend fun setBackgroundSyncEnabled(value : Boolean) suspend fun setBackgroundSyncIntervalHours(value :...
0
Kotlin
0
1
6494abd7cd80fd0c68c1cd5dbba5a3a7a546c654
470
NatkSchedule
Apache License 2.0
modules/conflate-test/src/main/kotlin/com/encodeering/conflate/experimental/test/fixture/Reducers.kt
encodeering
81,722,175
false
null
package com.encodeering.conflate.experimental.test.fixture import com.encodeering.conflate.experimental.api.Action import com.encodeering.conflate.experimental.api.Reducer /** * @author <NAME> - <EMAIL> */ object Reducers { fun accumulator (spy : (Action, Int) -> Unit = { _, _ -> Unit }) = object : Red...
3
Kotlin
0
1
51fd2e4cee32e29bb72cd182611393d7f8420914
706
conflate
Apache License 2.0
mulighetsrommet-arena-adapter/src/main/kotlin/no/nav/mulighetsrommet/arena/adapter/models/dto/ArenaOrdsArrangor.kt
navikt
435,813,834
false
{"Kotlin": 1538935, "TypeScript": 1377841, "SCSS": 41073, "JavaScript": 27458, "PLpgSQL": 14591, "HTML": 2263, "Dockerfile": 1339, "CSS": 1145, "Shell": 396}
package no.nav.mulighetsrommet.arena.adapter.models.dto import kotlinx.serialization.Serializable @Serializable data class ArenaOrdsArrangor( val virksomhetsnummer: String, val organisasjonsnummerMorselskap: String, )
3
Kotlin
2
7
7e78d4ff84a479ec7277396b9caa070c8f375c5e
228
mulighetsrommet
MIT License
app/src/main/java/com/riningan/wowmount/utils/ColorUtil.kt
Riningan
159,063,026
false
null
package com.riningan.wowmount.utils import android.os.Build import com.riningan.wowmount.app.WowMountApp object ColorUtil { @Suppress("DEPRECATION") fun getColor(resourceId: Int) = WowMountApp.getContext().resources.run { if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) { getColor(reso...
0
Kotlin
0
1
528a1c2a343423a11892778ae474d4f2fe7728de
401
WowMount
Apache License 2.0
src/jvmMain/kotlin/dev/remylavergne/ktoggl/v8/models/Project.kt
remylavergne
356,826,297
false
null
package dev.remylavergne.ktoggl.v8.models import kotlinx.serialization.Serializable @Serializable data class Project( val id: Int, val wid: Int, val cid: Int, val name: String, val billable: Boolean, val is_private: Boolean, val active: Boolean, val at: String, )
0
Kotlin
0
0
5daa73ea7261a21e50322392143bdf1917f7bf85
299
Ktoggl
MIT License
generator/src/main/kotlin/at/yawk/javabrowser/generator/ParserConcurrencyControl.kt
SoniEx2
336,818,909
true
{"Kotlin": 744427, "Java": 90845, "FreeMarker": 26424, "JavaScript": 21506, "CSS": 17967, "Python": 1926}
package at.yawk.javabrowser.generator import kotlinx.coroutines.sync.Mutex import kotlin.math.min interface ParserConcurrencyControl { suspend fun <R> fetchMavenDeps(f: suspend () -> R): R suspend fun runParser(sourceFileCount: Int, f: suspend () -> Unit) object NoLimit : ParserConcurrencyControl { ...
0
null
0
0
122d3722219a23a06b80e149daf5b41230b7f71d
1,261
java-browser
Apache License 2.0
app/src/main/java/chat/rocket/android/chatroom/presentation/ChatRoomNavigator.kt
lucasmontano
128,559,523
true
{"Kotlin": 556415, "Shell": 2737}
package chat.rocket.android.chatroom.presentation import chat.rocket.android.R import chat.rocket.android.chatroom.ui.ChatRoomActivity import chat.rocket.android.members.ui.newInstance import chat.rocket.android.util.extensions.addFragmentBackStack class ChatRoomNavigator(internal val activity: ChatRoomActivity) { ...
0
Kotlin
0
3
83b14b60deade340b1b2b05e20f10fb7d3772280
536
Rocket.Chat.Android
MIT License
promptkt/src/main/kotlin/tri/ai/core/ModelInfo.kt
aplpolaris
663,584,917
false
null
/*- * #%L * tri.promptfx:promptkt * %% * Copyright (C) 2023 - 2024 Johns Hopkins University Applied Physics Laboratory * %% * 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 * * h...
39
null
1
16
95b240c7d32f22b9af3833b9ca1d0d9f1fc85357
2,292
promptfx
Apache License 2.0
app/src/main/java/ru/shadowsparky/messenger/response_utils/pojos/VKItems.kt
shadowsparky
148,388,054
false
null
/* * Copyright <NAME>(c) 2018. */ package ru.shadowsparky.messenger.response_utils.pojos import java.io.Serializable data class VKItems( val conversation: VKConversation, val last_message: VKMessage ) : Serializable
0
Kotlin
0
0
c9c14e5226c692dbdcea559806263a4cea78b1ac
229
vk-messenger-two
The Unlicense
shared/src/commonMain/kotlin/com/joshuaschori/cultify/Greeting.kt
joshuaschori
848,867,737
false
{"Kotlin": 16420, "Swift": 621, "HTML": 333, "CSS": 102}
package com.joshuaschori.cultify class Greeting { private val platform = getPlatform() fun greet(): String { return "Hello, ${platform.name}!" } }
0
Kotlin
0
0
c3934f92ad315ccfc6481a63900d90e6c80e7016
168
Cultify
MIT License
rxpreferences/src/main/kotlin/com/jdiazcano/rxpreferences/RxDesktopPreferences.kt
jdiazcano
73,328,584
false
{"Gradle": 11, "INI": 1, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "YAML": 2, "Markdown": 2, "Kotlin": 91, "Java Properties": 2, "JSON": 9, "Java": 2}
package com.jdiazcano.rxpreferences import rx.Observable import rx.subscriptions.Subscriptions import java.util.prefs.PreferenceChangeListener import java.util.prefs.Preferences class RxDesktopPreferences(val preferences: Preferences) { companion object { val DEFAULT_FLOAT = 0f val DEFAULT_INTEGER...
1
null
1
1
da72ab2ac1da8b0dab0358b8d310b5a99a9bb079
2,254
modulartd
Apache License 2.0
plugins/maven/src/main/java/org/jetbrains/idea/maven/indices/MavenUpdatableIndex.kt
Romanzek
128,088,625
false
{"Text": 9255, "INI": 546, "YAML": 429, "Ant Build System": 11, "Batchfile": 34, "Dockerfile": 9, "Shell": 633, "Markdown": 734, "Ignore List": 141, "Git Revision List": 1, "Git Attributes": 11, "EditorConfig": 253, "XML": 7694, "SVG": 4338, "Kotlin": 57526, "Java": 83757, "HTML": 3765, "Java Properties": 210, "Gradle"...
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. package org.jetbrains.idea.maven.indices import org.jetbrains.idea.maven.server.AddArtifactResponse import org.jetbrains.idea.maven.utils.MavenProcessCanceledException import org.jetbrains.idea.mave...
1
null
1
1
e026aea35cf0f93731cc9d495866ed8bfe2812aa
655
intellij-community
Apache License 2.0
site/docs/ui/src/main/kotlin/elide/site/ui/pages/NotFound.kt
elide-dev
506,113,888
false
{"Kotlin": 5041748, "JavaScript": 1167460, "Java": 564241, "C": 444216, "Protocol Buffer": 276092, "Shell": 121495, "Dockerfile": 52519, "Cap'n Proto": 35188, "Makefile": 30119, "CSS": 14730, "Python": 6627, "Rust": 6603, "Batchfile": 6032, "Ruby": 2474, "Handlebars": 1954, "HTML": 1010, "Swift": 23}
package elide.site.ui.pages import elide.site.ui.components.FullbleedPage /** Renders a not-found page. */ val NotFound = react.FC<react.Props> { FullbleedPage { heading = "Woops!" +"That page couldn't be located." } }
30
Kotlin
15
88
8ffe4f06741a080d86ec2b09c71b7b0a79ddcaf0
233
elide
MIT License
apps/etterlatte-behandling/src/test/kotlin/behandling/bosattutland/BosattUtlandDaoTest.kt
navikt
417,041,535
false
{"Kotlin": 5056581, "TypeScript": 1175431, "Handlebars": 21474, "Shell": 10666, "HTML": 1776, "CSS": 598, "Dockerfile": 587}
package no.nav.etterlatte.behandling.bosattutland import behandling.utland.LandMedDokumenter import behandling.utland.MottattDokument import io.kotest.matchers.shouldBe import no.nav.etterlatte.libs.database.DataSourceBuilder import no.nav.etterlatte.libs.database.POSTGRES_VERSION import no.nav.etterlatte.libs.databas...
18
Kotlin
0
5
faf599c009e392d0042b85951c46d4bb64e7ab0b
2,815
pensjon-etterlatte-saksbehandling
MIT License
plugins/kotlin/j2k/new/tests/test/org/jetbrains/kotlin/nj2k/AbstractNewJavaToKotlinConverterSingleFileTest.kt
jinsihou19
192,350,885
false
null
// Copyright 2000-2022 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 org.jetbrains.kotlin.nj2k import com.intellij.openapi.project.Project import com.intellij.openapi.util.io.FileUtil import com.intellij.pom.java.Languag...
1
null
1
1
55cb0396e166a3f4e114a59e9357d2e390a6dd96
3,862
intellij-community
Apache License 2.0
compiler/ir/ir.tree.persistent/src/org/jetbrains/kotlin/ir/declarations/persistent/carriers/DeclarationCarrier.kt
JetBrains
3,432,266
false
null
/* * Copyright 2010-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license * that can be found in the license/LICENSE.txt file. */ package org.jetbrains.kotlin.ir.declarations.persistent.carriers import org.jetbrains.kotlin.ir.declarations.IrDeclarationOrigin import org.jetbrains.kotli...
118
null
4857
39,693
3fb1096c18f2f1be82823ab7c997c8e6e9a8393b
900
kotlin
Apache License 2.0
app-main/src/main/kotlin/com/wavetogether/application/web/advice/OkResponseBodyDecorator.kt
wavetogether
399,639,606
false
null
package com.wavetogether.application.web.advice import com.fasterxml.jackson.databind.annotation.JsonSerialize import com.wavetogether.endpoint.common.response.AbstractGenericResponse import org.springframework.core.MethodParameter import org.springframework.http.MediaType import org.springframework.http.converter.Htt...
0
null
0
4
a0f5cd2d4fea3e9343a409656ab12d3a4e9f3685
1,585
templates_kotlin_spring
MIT License
app/src/main/java/afkt/project/ui/activity/WallpaperActivity.kt
dennymou
394,898,616
true
{"Java": 6232967, "Kotlin": 1320313}
package afkt.project.ui.activity import afkt.project.R import afkt.project.base.app.BaseActivity import afkt.project.base.config.RouterPath import afkt.project.databinding.ActivityWallpaperBinding import com.alibaba.android.arouter.facade.annotation.Route import dev.base.DevSource import dev.engine.storage.DevStorageE...
0
null
0
0
5bf7a68e4cf30909423ea96d464958ef981862fe
1,983
DevUtils
Apache License 2.0
fxgl/src/main/kotlin/com/almasb/fxgl/ai/goap/GoapControl.kt
javaquasar
101,905,599
true
{"Java": 3279588, "Kotlin": 650117, "CSS": 20772, "Ragel": 10660, "JavaScript": 1900}
/* * The MIT License (MIT) * * FXGL - JavaFX Game Library * * Copyright (c) 2015-2017 AlmasB (almaslvl@gmail.com) * * 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 restrictio...
0
Java
0
0
fffb7a6c18afc6378e6a64529919850386f586ae
7,627
FXGL
MIT License
app/src/main/java/com/funnydevs/sample/MainActivity.kt
FunnyDevs
213,681,291
false
null
package com.funnydevs.sample import android.os.Bundle import com.bluelinelabs.conductor.Router import com.bluelinelabs.conductor.changehandler.SimpleSwapChangeHandler import com.funnydevs.base.BaseActivity import com.funnydevs.base.navigator.NavigationModel import com.funnydevs.hoop.common.di.AppInjectHelper import co...
0
Kotlin
0
0
bf4be22ae624c1d299801cc6cd38f58bd2d895f2
1,147
MultiModuleSample
Apache License 2.0
quickstep/src/com/android/launcher3/taskbar/TaskbarModelCallbacksFactory.kt
LawnchairLauncher
83,799,439
false
{"Java": 9665767, "Kotlin": 2674103, "AIDL": 30229, "Python": 17364, "Makefile": 3820, "Shell": 770}
/* * 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...
388
Java
1200
9,200
d91399d2e4c6acbeef9c0704043f269115bb688b
1,481
lawnchair
Apache License 2.0
src/main/kotlin/com/stepanov/bbf/bugfinder/executor/CommonCompiler.kt
DaniilStepanov
228,623,440
false
{"Git Config": 1, "Gradle": 6, "Text": 3, "INI": 5, "Shell": 2, "Ignore List": 3, "Batchfile": 2, "Markdown": 2, "Kotlin": 15942, "JavaScript": 4, "ANTLR": 2, "XML": 12, "Java": 4}
package com.stepanov.bbf.bugfinder.executor import com.stepanov.bbf.bugfinder.executor.project.Project import com.stepanov.bbf.bugfinder.util.Stream import com.stepanov.bbf.reduktor.executor.KotlincInvokeStatus import org.apache.commons.exec.* import org.jetbrains.kotlin.cli.common.messages.CompilerMessageSourceLocati...
1
null
1
1
602285ec60b01eee473dcb0b08ce497b1c254983
4,623
bbfgradle
Apache License 2.0
android/modules/module_common/src/main/java/github/tornaco/android/thanos/module/compose/common/ResExtensions.kt
Tornaco
228,014,878
false
null
package github.tornaco.android.thanos.module.compose.common import androidx.compose.runtime.Composable import androidx.compose.ui.platform.LocalDensity import androidx.compose.ui.unit.Dp @Composable fun Int.toDp(): Dp { return with(LocalDensity.current) { this@toDp.toDp() } } @Composable fun Dp.toPx(...
392
null
87
2,145
b8b756152e609c96fd07f1f282b77582d8cde647
404
Thanox
Apache License 2.0
market/market-ports/market-persister-postgres/src/main/kotlin/co/nilin/opex/market/ports/postgres/model/CurrencyRateModel.kt
opexdev
370,411,517
false
null
package co.nilin.opex.market.ports.postgres.model import co.nilin.opex.market.core.inout.RateSource import org.springframework.data.annotation.Id import org.springframework.data.relational.core.mapping.Table import java.math.BigDecimal @Table("currency_rate") data class CurrencyRateModel( @Id val id: Long? = null...
29
null
22
51
fedf3be46ee7fb85ca7177ae91b13dbc6f2e8a73
421
core
MIT License
kotlinx-coroutines-core/jvm/test/ExecutorAsCoroutineDispatcherDelayTest.kt
Kotlin
61,722,736
false
null
package kotlinx.coroutines import kotlinx.coroutines.testing.* import org.junit.Test import java.lang.Runnable import java.util.concurrent.* import kotlin.test.* class ExecutorAsCoroutineDispatcherDelayTest : TestBase() { private var callsToSchedule = 0 private inner class STPE : ScheduledThreadPoolExecutor...
294
null
1837
12,885
20c845e4ce8afb6e79f3ff9f39b237374a380bb1
1,119
kotlinx.coroutines
Apache License 2.0
app/src/main/java/com/df/playandroid/view/search/ISearchView.kt
PeterWu520
228,633,426
false
{"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "Kotlin": 107, "XML": 72, "Java": 6, "JSON": 1, "Gradle Kotlin DSL": 1}
package com.df.playandroid.view.search import com.df.playandroid.response.article.ArticleData /** * 作者:PeterWu * 时间:2020/5/24 * 描述: */ interface ISearchView { fun showLoadingView() fun hideLoadingView() fun stopLoadMore() fun getSearchResult(result: ArticleData, isLoadMore: Boolean, keyword: Strin...
1
null
1
1
f227c8b8f2b8a8a9010e6b008e8a1d1982b2f3d1
324
PlayAndroid
Apache License 2.0
nstack-kotlin-android/src/main/java/dk/nodes/nstack/kotlin/features/feedback/presentation/FeedbackViewState.kt
nstack-io
196,024,461
false
null
package dk.nodes.nstack.kotlin.features.feedback.presentation import androidx.annotation.StringRes internal data class FeedbackViewState( val isLoading: Boolean, val errorMessage: String?, val isFeedbackSent: Boolean?, @StringRes val title: Int )
9
null
9
13
60732494b2cd20b58cf9ab0880aa10ae3f94e5b6
265
android-sdk
MIT License
subprojects/test-runner/report-viewer/src/test/kotlin/com/avito/reportviewer/EnvironmentTest.kt
avito-tech
230,265,582
false
null
package com.avito.reportviewer import com.avito.report.model.AndroidTest import com.avito.report.model.TestStaticDataPackage import com.avito.report.model.createStubInstance import com.avito.reportviewer.model.ReportCoordinates import com.avito.reportviewer.model.createStubInstance import com.avito.test.model.DeviceNa...
10
null
50
414
4dc43d73134301c36793e49289305768e68e645b
1,116
avito-android
MIT License
compiler/testData/diagnostics/tests/typealias/unsupportedTypeAlias.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}
// !LANGUAGE: -TypeAliases class C <!UNSUPPORTED_TYPEALIAS!>typealias<!> S = String <!UNSUPPORTED_TYPEALIAS!>typealias<!> L<T> = List<T> <!UNSUPPORTED_TYPEALIAS!>typealias<!> CA = C val test1: <!UNSUPPORTED_TYPEALIAS!>S<!> = "" fun test2(x: <!UNSUPPORTED_TYPEALIAS!>L<<!UNSUPPORTED_TYPEALIAS!>S<!>><!>) = <!DEBUG_INF...
0
Java
0
1
261a30029907fedcecbe760aec97021d85a9ba9a
399
kotlin
Apache License 2.0
samples/src/main/java/tk/zielony/carbonsamples/widget/NavigationViewActivity.kt
zhwenpg
220,968,630
true
{"Java": 1837605, "Kotlin": 29646}
package tk.zielony.carbonsamples.widget import android.os.Bundle import carbon.component.NavigationHeader import kotlinx.android.synthetic.main.activity_navigationview.* import tk.zielony.carbonsamples.ActivityAnnotation import tk.zielony.carbonsamples.R import tk.zielony.carbonsamples.Samples import tk.zielony.carbon...
0
null
0
0
c9ff80cbf482441a78871e8945b207cd66d4ecb6
1,352
Carbon
Apache License 2.0
idea/idea-core/src/org/jetbrains/kotlin/idea/core/script/configuration/listener/DefaultScriptChangeListener.kt
danysantiago
224,251,838
true
{"Markdown": 61, "Gradle": 617, "Gradle Kotlin DSL": 331, "Java Properties": 12, "Shell": 10, "Ignore List": 11, "Batchfile": 9, "Git Attributes": 7, "Protocol Buffer": 11, "Java": 6433, "Kotlin": 49287, "Proguard": 8, "XML": 1563, "Text": 10494, "JavaScript": 270, "JAR Manifest": 2, "Roff": 211, "Roff Manpage": 36, "I...
/* * Copyright 2010-2019 JetBrains s.r.o. and Kotlin Programming Language contributors. * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. */ package org.jetbrains.kotlin.idea.core.script.configuration.listener import org.jetbrains.kotlin.psi.KtFile o...
0
null
0
1
3d1061ee3cb5a888e9d77e407c73070f461de52a
747
kotlin
Apache License 2.0
app/src/main/java/com/puntogris/recap/feature_search/presentation/recap/SearchRecapFragment.kt
puntogris
398,389,151
false
null
package com.puntogris.recap.feature_search.presentation.recap import androidx.core.view.isVisible import androidx.fragment.app.viewModels import androidx.paging.CombinedLoadStates import androidx.paging.LoadState import androidx.recyclerview.widget.RecyclerView import com.puntogris.recap.R import com.puntogris.recap.c...
0
Kotlin
0
0
960f3f6f3c876289cfc6e7edc76778af05dcdcd0
1,939
recap
MIT License
app-main/src/test/kotlin/test/endpoint/v1/content/ContentRecommendationApiDtoTestSupport.kt
f-lab-edu
545,756,758
false
{"Kotlin": 249863, "Vim Snippet": 765}
/* * kopringboot-multimodule-template * Distributed under MIT licence */ package test.endpoint.v1.content import com.flab.hsw.endpoint.v1.content.recommend.CreateContentRecommendationRequest import com.github.javafaker.Faker fun randomCreateContentRecommendationRequest( contentId: Long = Faker().number().rando...
2
Kotlin
4
5
90dd69cbef256eff7cb852abfc2573719a1fb5f1
417
hello-study-world
MIT License
modular-portal-core/src/main/kotlin/dev/emirman/mp/core/controller/v1/account/AccountStockController.kt
emirhannaneli
874,732,764
false
{"Kotlin": 302519}
package dev.emirman.mp.core.controller.v1.account import dev.emirman.mp.core.dto.stock.create.CStock import dev.emirman.mp.core.dto.stock.read.RStock import dev.emirman.mp.core.model.stock.Stock import dev.emirman.mp.core.model.user.User import dev.emirman.mp.core.service.stock.StockService import dev.emirman.mp.core....
0
Kotlin
0
1
b3fe543c02b95033e6cf2d12808968ec225f5259
2,880
modular-portal
Apache License 2.0
android/beagle-scaffold/src/test/java/br/com/zup/beagle/scaffold/BeagleScaffoldTest.kt
ZupIT
322,612,408
false
null
/* * Copyright 2020 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA * * 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 * * Unle...
3
Kotlin
0
4
11917031c6b30ff0073e99f42058bd9a0d6e6a04
6,389
beagle-helpers
Apache License 2.0
src/main/kotlin/dev/turingcomplete/intellijbytecodeplugin/view/_internal/_decompiler/DecompiledView.kt
marcelkliemannel
371,950,849
false
{"Kotlin": 391487, "Java": 2856}
package dev.turingcomplete.intellijbytecodeplugin.view._internal._decompiler import com.intellij.ide.plugins.PluginManagerCore import com.intellij.openapi.application.ApplicationManager import com.intellij.openapi.extensions.PluginId import com.intellij.openapi.fileEditor.FileEditorManager import com.intellij.openapi....
0
Kotlin
6
43
71681709383786881698cb7abfea3ea5ffec67d7
3,335
intellij-byte-code-plugin
Apache License 2.0
jet-twitter/app/src/main/java/com/iamageo/jet_twitter/ui/components/bottomsheet/BottomSheet.kt
iamageo
520,699,392
false
{"Kotlin": 76213}
package com.iamageo.jet_twitter.ui.components.bottomsheet import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.foundation.layout.height import androidx.compose.material.* import androidx.compose.runtime.Composable import androidx.compose.ui.Modifi...
0
Kotlin
2
5
12edca6ad3f79a31fe4ea155b3bcd3f27ac36efd
833
compose-samples
MIT License
ontrack-extension-chart/src/main/java/net/nemerosa/ontrack/extension/chart/core/ValidationStampStabilityChartProvider.kt
nemerosa
19,351,480
false
null
package net.nemerosa.ontrack.extension.chart.core import com.fasterxml.jackson.databind.JsonNode import com.fasterxml.jackson.databind.node.NullNode import net.nemerosa.ontrack.extension.chart.ChartDefinition import net.nemerosa.ontrack.extension.chart.GetChartOptions import net.nemerosa.ontrack.extension.chart.suppor...
57
Kotlin
27
97
7c71a3047401e088ba0c6d43aa3a96422024857f
1,732
ontrack
MIT License
android/features/profile/control/src/main/kotlin/io/chefbook/features/profile/control/navigation/ProfileScreenNavigator.kt
mephistolie
379,951,682
false
{"Kotlin": 1334117, "Ruby": 16819, "Swift": 352}
package io.chefbook.features.profile.control.navigation import io.chefbook.navigation.navigators.DialogNavigator interface ProfileScreenNavigator : DialogNavigator { fun openProfileEditingScreen() fun openAppSettingsScreen() fun openAboutAppScreen() }
0
Kotlin
0
12
ddaf82ee3142f30aee8920d226a8f07873cdcffe
262
chefbook-mobile
Apache License 2.0
src/main/java/org/klips/dsl/Fact.kt
MaTriXy
98,858,472
true
{"Kotlin": 195652, "Java": 7641}
package org.klips.dsl import org.klips.dsl.Facet.FacetRef import java.lang.reflect.Field import java.util.* import kotlin.reflect.* import kotlin.reflect.jvm.kotlinProperty /** * Fact is a class representing a data piece describing * some aspect of a state of a world. Conceptually fact * is equivalent to the relat...
0
Kotlin
0
0
8d4619cd18860ede3f2a8bd44c6a15baa959b772
4,555
klips
Apache License 2.0
app/src/main/kotlin/packagename/MainActivity.kt
omarmiatello
360,274,247
false
null
package com.example import android.os.Bundle import androidx.activity.compose.setContent import androidx.appcompat.app.AppCompatActivity import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.padding import androidx.compose.material.MaterialTheme import androidx.compose.material.Sur...
0
Kotlin
1
1
f6e8e21e282f39586a7af776cee08d8825e21d77
1,427
android-template
MIT License
app/src/main/java/com/flexcode/movie/models/Movie.kt
Felix-Kariuki
479,444,626
false
{"Kotlin": 38529}
package com.flexcode.movie.models import android.os.Parcel import android.os.Parcelable import androidx.room.Entity import androidx.room.PrimaryKey import com.google.gson.annotations.SerializedName import java.io.Serializable @Entity(tableName = "movies") data class Movie( @PrimaryKey @SerializedName("id") ...
0
Kotlin
1
6
a01d732631072b329a5aeade05d42abfef8904b5
1,250
Movies-App
MIT License
projects/manage-pom-cases-and-delius/src/dev/kotlin/uk/gov/justice/digital/hmpps/data/generator/CaseAllocationGenerator.kt
ministryofjustice
500,855,647
false
null
package uk.gov.justice.digital.hmpps.data.generator import IdGenerator import uk.gov.justice.digital.hmpps.integrations.delius.allocation.entity.CaseAllocation import uk.gov.justice.digital.hmpps.integrations.delius.allocation.entity.Disposal import uk.gov.justice.digital.hmpps.integrations.delius.allocation.entity.Ev...
4
Kotlin
0
2
9f6663d820fb8123d915107edfa9abc5f82d3fb6
2,112
hmpps-probation-integration-services
MIT License
app/src/main/java/com/cerminnovations/moviesboard/presentation/series/SeriesPagerAdapter.kt
mbobiosio
324,425,383
false
{"Kotlin": 400414}
package com.cerminnovations.moviesboard.presentation.series import androidx.fragment.app.Fragment import androidx.fragment.app.FragmentManager import androidx.lifecycle.Lifecycle import com.cerminnovations.core.util.NavigableStateAdapter import com.cerminnovations.moviesboard.presentation.series.nowshowing.NowShowingT...
0
Kotlin
3
7
e6376b3a36d87173ef1d854c12fb61842ae40c36
1,465
MoviesBoard
MIT License
api/dynamic-api/src/test/kotlin/io/firestore4k/dynamic/KDockerComposeContainer.kt
vihangpatil
427,420,700
false
null
package io.firestore4k.dynamic import org.testcontainers.containers.DockerComposeContainer import java.io.File class KDockerComposeContainer(file: File) : DockerComposeContainer<KDockerComposeContainer>(file)
0
Kotlin
0
2
7d6cae060afb5425542cbc94d2990039a156df86
210
firestore4k
Apache License 2.0
yeko-compiler/src/main/kotlin/org/fabiomsr/yeko/compiler/generator/YekoViewGenerator.kt
fabiomsr
64,124,366
false
null
package org.fabiomsr.yeko.compiler.generator import com.squareup.javapoet.* import org.fabiomsr.yeko.compiler.CustomViewMetaModel import org.fabiomsr.yeko.compiler.Logger import org.fabiomsr.yeko.compiler.model.AttributeValue import org.fabiomsr.yeko.compiler.model.StyleDefaultValue import org.fabiomsr.yeko.compiler.m...
0
Kotlin
0
0
2ae03f8f63c2ebe37e9544987ccb3d44446b26f4
10,628
yeko
Apache License 2.0
features/messages/impl/src/main/kotlin/io/element/android/features/messages/impl/timeline/TimelineView.kt
vector-im
546,522,002
false
null
/* * 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...
101
Kotlin
32
239
3414351bfd143c174732da539e25350030249b67
14,136
element-x-android
Apache License 2.0
presentation/src/main/java/com/gauvain/seigneur/presentation/model/base/LiveDataState.kt
GauvainSeigneur
252,719,373
false
null
package com.gauvain.seigneur.presentation.model.base import com.gauvain.seigneur.presentation.model.ErrorData sealed class LiveDataState<out T : Any> { data class Success<out T : Any>(val data: T) : LiveDataState<T>() data class Error(val errorData: ErrorData) : LiveDataState<Nothing>() }
3
Kotlin
0
0
e983a2674d1729d2d6f8d7e0a34cee5a7354f27a
299
CovidUpdate
Apache License 2.0
2023/src/test/kotlin/Day16Test.kt
dlew
498,498,097
false
{"Kotlin": 331659, "TypeScript": 69253, "JavaScript": 262}
import org.junit.jupiter.api.Test import utils.getResourceAsString import kotlin.test.assertEquals class Day16Test { @Test fun part1_sample() { assertEquals(46, Day16.part1(getResourceAsString("day16-sample.txt"))) } @Test fun part1() { assertEquals(6622, Day16.part1(getResourceAsString("day16.txt")...
0
Kotlin
0
0
808af42d6b1136c9d119a6b511e8f612b2a0d271
538
advent-of-code
MIT License
2023/src/test/kotlin/Day16Test.kt
dlew
498,498,097
false
{"Kotlin": 331659, "TypeScript": 69253, "JavaScript": 262}
import org.junit.jupiter.api.Test import utils.getResourceAsString import kotlin.test.assertEquals class Day16Test { @Test fun part1_sample() { assertEquals(46, Day16.part1(getResourceAsString("day16-sample.txt"))) } @Test fun part1() { assertEquals(6622, Day16.part1(getResourceAsString("day16.txt")...
0
Kotlin
0
0
808af42d6b1136c9d119a6b511e8f612b2a0d271
538
advent-of-code
MIT License
app/src/main/java/com/sandeep/newsfly/network/HttpInterceptor.kt
sandeep2048
570,099,689
false
{"Kotlin": 63767}
package com.sandeep.newsfly.network import okhttp3.Interceptor import okhttp3.Response class HttpInterceptor : Interceptor { override fun intercept(chain: Interceptor.Chain): Response { val requestBuilder = chain.request().newBuilder() return chain.proceed(requestBuilder.build()) } }
0
Kotlin
0
0
fa7e6be2402b3811b0be6155c0de0442298a734f
316
NewsApp
Apache License 2.0
src/backend/job/biz-job/src/main/kotlin/com/tencent/bkrepo/job/batch/context/NodeCopyJobContext.kt
TencentBlueKing
548,243,758
false
{"Kotlin": 12273113, "Vue": 1152174, "JavaScript": 641467, "Shell": 122816, "Lua": 99388, "SCSS": 34137, "Python": 25877, "CSS": 17382, "HTML": 11779, "Dockerfile": 4483, "Smarty": 3661, "Java": 423}
package com.tencent.bkrepo.job.batch.context import com.tencent.bkrepo.common.api.collection.concurrent.ConcurrentHashSet import com.tencent.bkrepo.job.batch.NodeCopyJob class NodeCopyJobContext( val alreadyCopySet: ConcurrentHashSet<NodeCopyJob.TargetCopy> = ConcurrentHashSet() ) : FileJobContext()
298
Kotlin
34
51
d56ac721d82e424134abfb8fa0ef63ba30a2160a
307
bk-repo
MIT License
quicktools/src/main/java/com/rzahr/quicktools/QuickBaseClassN.kt
RZahr
173,732,369
false
{"Gradle": 4, "YAML": 1, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "Proguard": 2, "XML": 33, "Kotlin": 28, "Java": 4, "CSS": 2, "HTML": 640}
@file:Suppress("unused") package com.rzahr.quicktools import android.app.Activity import android.content.Context import android.database.Cursor import android.os.Bundle import androidx.appcompat.app.AppCompatActivity import androidx.lifecycle.Lifecycle import androidx.lifecycle.LifecycleObserver import com.rzahr.quic...
1
null
1
1
b4880e9994329796ba15dd8bd542daab1c8e73e4
5,889
QuickTools
MIT License
core/src/commonMain/kotlin/it/unibo/tuprolog/core/List.kt
zakski
292,287,783
true
{"Kotlin": 2055564, "ANTLR": 20096, "JavaScript": 13636, "Java": 13453}
package it.unibo.tuprolog.core import kotlin.js.JsName import kotlin.jvm.JvmStatic import kotlin.collections.List as KtList interface List : Collection { override val isList: Boolean get() = true @JsName("isWellFormed") val isWellFormed: Boolean @JsName("last") val last: Term overr...
0
null
0
0
bbd63f9ba2091651f22eca7b0d3c7f1edee1e8ea
2,856
thunderjaw
Apache License 2.0
app/src/main/java/cucerdariancatalin/marvel/extensions/ActivityExtensions.kt
cucerdariancatalin
574,486,298
false
null
package com.shid.mosquefinder.Utils import androidx.appcompat.app.AppCompatActivity import com.skydoves.transformationlayout.onTransformationEndContainer fun AppCompatActivity.onTransformationEndContainerApplyParams() { onTransformationEndContainer(intent.getParcelableExtra("com.skydoves.transformationlayout")) }
0
Kotlin
168
6
12557d3f91c45eab5e7676cb8c72c561f43d2e29
320
Marvel
MIT License
app/src/main/java/cz/muni/fi/umimecesky/game/flappy/sprite/BeeSprite.kt
mareksabo
82,814,524
false
null
/* * Copyright (c) 2018 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
1
Kotlin
0
4
488245ce33b0abace0d21a153ac44e348fd6d1f2
2,509
umimecesky
Apache License 2.0
app/src/main/java/com/frogobox/webview/common/callback/WebViewCallback.kt
frogobox
240,291,693
false
{"Kotlin": 22235}
package com.frogobox.webview.common.callback /** * Created by <NAME> on 24/10/22 * ----------------------------------------- * E-mail : <EMAIL> * Github : github.com/amirisback * ----------------------------------------- * Copyright (C) Frogobox ID / amirisback * All rights reserved */ interface AdCallba...
0
Kotlin
4
14
2ee3aa6ff28be6f7ecad5ca814b8f85e87731718
419
kick-start-android-webview
Apache License 2.0
app/src/main/java/com/app/whakaara/ui/bottomsheet/settings/BottomSheetSettingsWrapper.kt
ahudson20
531,856,934
false
{"Kotlin": 293477, "Shell": 761}
package com.app.whakaara.ui.bottomsheet.settings import androidx.compose.material3.MaterialTheme import androidx.compose.runtime.Composable import com.app.whakaara.data.preferences.Preferences import com.app.whakaara.state.PreferencesState import com.app.whakaara.ui.screens.SettingsScreen import com.dokar.sheets.Botto...
1
Kotlin
1
3
e73647f133f90ce203fa073f69724d8f89341fc7
939
whakaara
MIT License
app/src/main/java/com/dnar/dicodingsubmissionbfaa/data/repositories/FavoriteRepository.kt
dimas-nur
267,992,206
false
null
package com.dnar.dicodingsubmissionbfaa.data.repositories import android.content.Context import io.reactivex.disposables.CompositeDisposable import javax.inject.Inject // Favorite repository; Keyword : Repository class FavoriteRepository @Inject constructor( private val userRepository: UserRepository ) { pri...
0
Kotlin
19
58
48bc4fb7209d5b116a0794fd26828699bfbaab14
628
dicoding-belajar-fundamental-aplikasi-android
Apache License 2.0
ktfx-commons/src/main/kotlin/ktfx/internal/KtfxInternals.kt
hanggrian
102,934,147
false
null
package ktfx.internal /** Ktfx internal class, ignore it. */ object KtfxInternals { /** No getter error message. */ const val NO_GETTER: String = "Property does not have a getter." /** Some mutable backing fields are only used to set value. */ fun noGetter(): Nothing = throw UnsupportedOperationExcep...
1
null
2
18
edc15180b85065567a877254c439bb61ee07c329
338
ktfx
Apache License 2.0
app/src/main/java/com/haidev/hadithapp/data/source/repository/HadithRepository.kt
haidarzamzam
482,316,313
false
{"Kotlin": 31874}
package com.haidev.hadithapp.data.source.repository import com.haidev.hadithapp.data.model.HadithBooksModel import com.haidev.hadithapp.data.model.HadithCollectionModel import com.haidev.hadithapp.data.source.endpoint.ApiService class HadithRepository( private val apiService: ApiService ) { suspend fun getHad...
0
Kotlin
0
0
38c9bb5967e93cca341112fb4716c86a665be96a
632
HadithApp
MIT License
app/src/main/java/com/mecm/shopcart/entity/CartShop.kt
sunwenming
158,785,510
false
{"Kotlin": 12962}
package com.mecm.shopcart.entity data class CartShop( var id: Int, var name: String, var cartProduct: ArrayList<CartProduct>, var selected: Boolean = false ) data class CartProduct( var id: Int, var name: String, var price: Double, var selected: Boolean = false )
1
Kotlin
1
9
2a48e6dca0aca0393ed1b5820f3d786fe38c54fe
297
ShopCart
Apache License 2.0
core/src/com/distraction/fs2/tilemap/data/MeadowData.kt
foreignguymike
435,073,977
false
null
package com.distraction.fs2.tilemap.data import com.distraction.fs2.tilemap.data.GameData.Companion.e import com.distraction.fs2.tilemap.data.GameData.Companion.g object MeadowData { val data = listOf( MapData( numRows = 3, numCols = 3, map = intArrayOf( 0, 0, e, ...
0
Kotlin
0
2
c0d4182e43df65788d797f8dd524a2bd90eba5e0
21,803
flippyslimefriends
MIT License
feature/mobile/player/src/main/java/com/flixclusive/feature/mobile/player/controls/episodes/composables/SeasonPill.kt
flixclusiveorg
659,237,375
false
null
package com.flixclusive.feature.mobile.player.controls.episodes.composables import androidx.compose.animation.animateColorAsState import androidx.compose.animation.core.animateFloatAsState import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.PaddingValues import androidx.compose.foun...
27
null
9
362
f488f6d1b2de3ec0737a8437ce1c981bc2f55c31
3,448
Flixclusive
MIT License
feature/mobile/player/src/main/java/com/flixclusive/feature/mobile/player/controls/episodes/composables/SeasonPill.kt
flixclusiveorg
659,237,375
false
null
package com.flixclusive.feature.mobile.player.controls.episodes.composables import androidx.compose.animation.animateColorAsState import androidx.compose.animation.core.animateFloatAsState import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.PaddingValues import androidx.compose.foun...
27
null
9
362
f488f6d1b2de3ec0737a8437ce1c981bc2f55c31
3,448
Flixclusive
MIT License
app/src/main/java/openfoodfacts/github/scrachx/openfood/models/ProductNutriments.kt
openfoodfacts
35,174,991
false
null
package openfoodfacts.rackluxury.scrachx.openfood.models import com.fasterxml.jackson.annotation.JsonAnyGetter import com.fasterxml.jackson.annotation.JsonAnySetter import com.fasterxml.jackson.annotation.JsonInclude import openfoodfacts.rackluxury.scrachx.openfood.models.MeasurementUnit.UNIT_GRAM import openfoodfacts...
390
null
447
772
836bab540ec9e2792b692a3b25ff61e444fae045
5,338
openfoodfacts-androidapp
Apache License 2.0
src/main/java/com/softwareforgood/pridefestival/ui/mvp/ViewNotAttachedException.kt
AndrewReitz
187,092,355
true
{"Kotlin": 182817}
package com.softwareforgood.pridefestival.ui.mvp class ViewNotAttachedException : RuntimeException( "Must attach view to presenter before attempting to perform view operations")
0
Kotlin
0
2
d2afdb46eb9765f24c8753fde760b2e8cd558cbc
187
pride-android
MIT License
kotlin-mui-icons/src/main/generated/mui/icons/material/BrokenImageSharp.kt
JetBrains
93,250,841
false
null
// Automatically generated - do not modify! @file:JsModule("@mui/icons-material/BrokenImageSharp") package mui.icons.material @JsName("default") external val BrokenImageSharp: SvgIconComponent
12
Kotlin
5
983
372c0e4bdf95ba2341eda473d2e9260a5dd47d3b
196
kotlin-wrappers
Apache License 2.0
cinescout/seasons/data/src/commonMain/kotlin/cinescout/seasons/data/SeasonsDataModule.kt
fardavide
280,630,732
false
null
package cinescout.seasons.data import org.koin.core.annotation.ComponentScan import org.koin.core.annotation.Module @Module @ComponentScan class SeasonsDataModule
14
Kotlin
2
6
f04a22b832397f22065a85af038dd15d90225cde
165
CineScout
Apache License 2.0
vector/src/main/java/vmodev/clearkeep/fragments/SignUpFragment.kt
telred-llc
194,596,139
false
{"Java": 5914133, "Kotlin": 3855534, "JavaScript": 179733, "HTML": 22037, "Shell": 17049}
package vmodev.clearkeep.fragments import android.annotation.SuppressLint import android.content.Context import android.content.Intent import android.os.Bundle import android.text.TextUtils import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.Toast import andr...
5
Java
1
3
2d20e94e9711b51aee89fa569efd61449cc7e9c3
8,846
clearkeep-android
Apache License 2.0
app/src/main/java/com/tored/bridgelauncher/ui/dirpicker/DirPickerDialog.kt
bridgelauncher
730,869,402
false
{"Kotlin": 277396}
package com.tored.bridgelauncher.ui.dirpicker import android.os.Environment import androidx.activity.compose.BackHandler import androidx.compose.foundation.clickable import androidx.compose.foundation.interaction.MutableInteractionSource import androidx.compose.foundation.layout.Column import androidx.compose.foundati...
3
Kotlin
4
35
04c2f3db964db524e174175f73f52ca1c0180d01
6,920
launcher
MIT License
utgang-formidlingsgruppe/src/main/kotlin/no/nav/paw/arbeidssoekerregisteret/app/KafkaKeyGeneratorIntegration.kt
navikt
771,406,758
false
null
package no.nav.paw.arbeidssoekerregisteret.app import kotlinx.coroutines.runBlocking fun createIdAndRecordKeyFunction(): KafkaIdAndRecordKeyFunction = with(createKafkaKeyGeneratorClient()) { KafkaIdAndRecordKeyFunction { identitetsnummer -> runBlocking { getIdAndKey(identitetsn...
0
null
0
1
20cf9ded0481190ad14f93106993d764a8bb32bf
744
paw-arbeidssoekerregisteret-utgang
MIT License
core/src/main/java/de/schwerin/stoppCoronaDE/skeleton/core/BaseApp.kt
Mandarin-Medien
269,321,452
false
null
package at.roteskreuz.stopcorona.skeleton.core import android.app.Application import android.os.StrictMode import at.roteskreuz.stopcorona.skeleton.core.di.scopeModule import com.jakewharton.threetenabp.AndroidThreeTen import org.koin.android.ext.android.startKoin import org.koin.dsl.module.Module /** * Core applica...
0
null
0
1
a8a489c25b55cce8b14d60b9afa3fb44cfecab43
2,105
stopp-corona-de-android
Apache License 2.0
data/src/main/java/info/covid/data/converters/MoshiCurrencyConverter.kt
Ciriously
340,889,395
false
null
package info.covid.data.converters import com.squareup.moshi.FromJson import com.squareup.moshi.ToJson import info.covid.data.models.Currency class MoshiCurrencyConverter { @FromJson fun toCurrency(string: String?): Currency? { return Currency.fromCode(string) } @ToJson fun toString(curr...
0
Kotlin
0
2
e8332951a4fc288e389a18558568091ca6be1de0
385
covid-19-stats-Kotlin
MIT License
app/src/main/java/com/example/mvvmnew/extension/TextViewExt.kt
cuonglytuan
623,020,875
false
null
package com.example.mvvmnew.extension import android.text.Editable import android.text.TextWatcher import android.widget.TextView fun TextView.afterTextChanged(action: (Editable?) -> Unit) { addTextChangedListener(object: TextWatcher { override fun afterTextChanged(p0: Editable?) { action(p0) ...
0
Kotlin
0
1
6441c6cc57063bc6107903a05aad18939deb59aa
934
mvvm-github-user
Apache License 2.0