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
src/main/kotlin/dev/shtanko/algorithms/leetcode/ModifiedList.kt
ashtanko
203,993,092
false
{"Kotlin": 7464757, "Shell": 1168, "Makefile": 1144}
/* * Copyright 2024 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
6
Kotlin
0
19
5bfd35e51c9076522e46286c3f6e0a81aef5abaa
2,061
kotlab
Apache License 2.0
app/src/main/java/com/codility/staggered/StaggeredAdapter.kt
AndroidCodility
119,512,400
false
null
package com.codility.staggered import android.support.v7.widget.RecyclerView import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.ImageView import android.widget.TextView import com.bumptech.glide.Glide /** * Created by Govind on 1/30/2018. */ class Stagger...
0
Kotlin
1
3
ef5dd7bce8264cb6635eb47a6952d510526c40cb
1,334
StaggeredRecyclerView
Apache License 2.0
room/room-compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/runner/JavacCompilationTestRunner.kt
androidx
256,589,781
false
{"Kotlin": 112114129, "Java": 66594571, "C++": 9132142, "AIDL": 635065, "Python": 325169, "Shell": 194520, "TypeScript": 40647, "HTML": 35176, "Groovy": 27178, "ANTLR": 26700, "Svelte": 20397, "CMake": 15512, "C": 15043, "GLSL": 3842, "Swift": 3153, "JavaScript": 3019}
/* * Copyright 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 applica...
29
Kotlin
1011
5,321
98b929d303f34d569e9fd8a529f022d398d1024b
4,621
androidx
Apache License 2.0
client/src/test/java/com/mytiki/publish/client/auth/AuthTokenTest.kt
tiki
745,005,450
false
{"Kotlin": 183817}
package com.mytiki.publish.client.auth import org.junit.Test import java.util.Date class AuthTokenTest { @Test fun toStringFromStringTest(){ val auth = AuthToken("auth test", "refresh test", Date(1722345780000L)) val string = auth.toString() val newAuth = AuthToken.fromString(string) ...
9
Kotlin
0
0
595ed29394f6c582b347eb190ec6b483371df587
364
publish-client-android
MIT License
BaseModule/src/main/java/com/chen/basemodule/util/preference/bindings/Clearable.kt
chen397254698
268,411,455
false
null
package com.chen.basemodule.util.preference.bindings import com.chen.basemodule.util.preference.PreferenceHolder import kotlin.reflect.KProperty interface Clearable { fun clear(thisRef: PreferenceHolder, property: KProperty<*>) fun clearCache() }
1
null
14
47
85ffc5e307c6171767e14bbfaf992b8d62ec1cc6
256
EasyAndroid
Apache License 2.0
MediaPicker/app/src/main/java/jp/co/sgnet/mediaPicker/internal/utils/UIUtils.kt
NobuhitoSuzuki
188,377,866
false
null
package jp.co.sgnet.mediaPicker.internal.utils import android.content.Context object UIUtils { fun spanCount(context: Context, gridExpectedSize: Int): Int { val screenWidth = context.resources.displayMetrics.widthPixels val expected = screenWidth.toFloat() / gridExpectedSize.toFloat() var ...
0
Kotlin
0
0
36ff8da06caaf3bce8e3bec619358bbe2f41ca65
451
KotlinSample
MIT License
src/app/android/app/src/main/java/com/deepseat/ds/api/service/DocumentService.kt
seongjiko
456,172,826
false
null
package com.deepseat.ds.api.service import retrofit2.Call import retrofit2.http.* interface DocumentService { @POST("/doc/{roomID}/{seatID}") fun writeDocument( @Path("roomID") roomID: Int, @Path("seatID") seatID: Int, @Query("content") content: String ): Call<String> @GET("/...
0
Python
2
10
9490ab8eb690daefde5b418eedde90d90b871c79
1,391
DeepSeat_project
MIT License
compiler/testData/diagnostics/tests/classLiteral/inAnnotationArguments_noTypeParams.fir.kt
ujjwalagrawal17
227,870,357
false
{"Markdown": 61, "Gradle": 622, "Gradle Kotlin DSL": 333, "Java Properties": 13, "Shell": 10, "Ignore List": 11, "Batchfile": 9, "Git Attributes": 7, "Protocol Buffer": 11, "Java": 6439, "Kotlin": 54075, "Proguard": 8, "XML": 1563, "Text": 10562, "JavaScript": 270, "JAR Manifest": 2, "Roff": 211, "Roff Manpage": 36, "I...
// !LANGUAGE: -ProhibitTypeParametersInClassLiteralsInAnnotationArguments import kotlin.reflect.KClass annotation class Ann(vararg val k: KClass<*>) inline val <reified T> T.test get() = @Ann( <!OTHER_ERROR!>T<!>::class, Array<T>::class, Array<Array<Array<T>>>::class ) object {}
1
null
1
1
5b8be16f13b5c9960c72fe8be7746009170f09ec
315
kotlin
Apache License 2.0
app/src/main/java/com/mrgames13/jimdo/feinstaubapp/tool/BootCompletedReceiver.kt
salusutis
233,404,101
true
{"Kotlin": 360620}
/* * Copyright © 2019 Marc Auberer. All rights reserved. */ package com.mrgames13.jimdo.feinstaubapp.tool import android.app.AlarmManager import android.app.PendingIntent import android.content.BroadcastReceiver import android.content.Context import android.content.Intent import com.mrgames13.jimdo.feinstaubapp.ser...
0
null
0
0
8297917affe5f1538c9b254284bc9242e39fbef1
1,597
feinstaub-app
MIT License
compiler/testData/diagnostics/tests/sealed/WhenOnEmptySealed.fir.kt
android
263,405,600
true
null
// !DIAGNOSTICS: -UNUSED_EXPRESSION sealed class Sealed { } fun foo(s: Sealed): Int { return when(s) { // We do not return anything, so else branch must be here } }
0
Kotlin
37
316
74126637a097f5e6b099a7b7a4263468ecfda144
184
kotlin
Apache License 2.0
router/src/main/java/com/speakerboxlite/router/RouterTabs.kt
AlexExiv
688,805,446
false
{"Kotlin": 136140}
package com.speakerboxlite.router import com.speakerboxlite.router.command.CommandExecutor typealias OnTabChangeCallback = (Int) -> Unit /** * Use this router in the tab's Adapter class */ interface RouterTabs { /** * Set this property to allow the Router to manage tab changes dynamically. * Use case...
12
Kotlin
1
0
91aabe7411737e4c232ca84595ef7da39347a9a4
1,822
Router-Android
MIT License
service/src/main/java/com/pyamsoft/tetherfi/service/lock/AbstractLocker.kt
pyamsoft
475,225,784
false
null
package com.pyamsoft.tetherfi.service.lock import androidx.annotation.CheckResult import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.NonCancellable import kotlinx.coroutines.withContext internal abstract class AbstractLocker protected constructor() : Locker { protected abstract suspend fun acquireLock...
3
Kotlin
3
98
23bba7edfb6c93cbd79224773760840a606b9903
857
tetherfi
Apache License 2.0
src/main/kotlin/no/nav/syfo/meroppfolging/model/SenOppfolgingVarsel.kt
navikt
476,213,064
false
{"Kotlin": 98849, "Dockerfile": 200}
package no.nav.syfo.meroppfolging.model import java.time.LocalDateTime import java.util.* data class SenOppfolgingVarsel( val uuid: UUID, val personident: String, val createdAt: LocalDateTime, )
2
Kotlin
0
0
620847c97752297cfed183c9e19933131e972a7d
209
isyfomock
MIT License
KotlinExample/src/main/kotlin/programmers/basic/코딩기초트레이닝/Day24/특별한이차원배열1/Solution.kt
sangki930
467,437,850
false
{"Kotlin": 97867}
package programmers.basic.코딩기초트레이닝.Day24.특별한이차원배열1 class Solution { fun solution(n: Int): Array<IntArray> { var answer: Array<IntArray> = Array(n,{IntArray(n,{0})}) for(i in 0 until n) { answer[i][i] = 1 } return answer } }
0
Kotlin
0
0
ccc16657ac5bfe2354aa7fce3ec241c3a92eec93
276
Kotlin
Apache License 2.0
app/src/main/java/com/android/tododico/data/Repository/TodoRepository.kt
PiyushKalyanpy
534,944,753
false
null
package com.android.tododico.data.Repository import com.android.tododico.data.Todo import kotlinx.coroutines.flow.Flow interface TodoRepository { suspend fun insertTodo(todo: Todo) suspend fun deleteTodo(todo: Todo) suspend fun getTodoById(id: Int): Todo fun getCompletedTodo() : Flow<List<Todo>> ...
0
Kotlin
0
0
f2f03c971a3fb70babbc6bb97eef46c5350f3f6b
360
tododico
MIT License
src/main/kotlin/year2022/day02/Problem.kt
Ddxcv98
573,823,241
false
{"Kotlin": 133774}
package year2022.day02 import IProblem class Problem : IProblem { private val lines = javaClass .getResource("/2022/02.txt")!! .readText() .lines() .filter { it.isNotEmpty() } override fun part1(): Int { var score = 0 for (line in lines) { val thei...
0
Kotlin
0
0
3db0c6cb9054fbfc746b7f3d84acd67efedbf997
966
advent-of-code
The Unlicense
app/src/main/java/com/mariomanzano/nasaexplorer/data/database/Converters.kt
MarioManzanoCulebras
463,844,402
false
null
package com.mariomanzano.nasaexplorer.data.database import androidx.room.TypeConverter import java.util.* class Converters { @TypeConverter fun fromTimestamp(value: Long): Calendar { return value.let { Calendar.getInstance().apply { time = Date(value) } } } @TypeConverter fun dateToTimest...
50
Kotlin
0
3
9c9d2475aabc7f106446cc7f65b390d5b4903530
385
Nasa-Explorer
Apache License 2.0
src/main/kotlin/com/dedx/transform/InstStorage.kt
freemanZYQ
220,777,625
true
{"Kotlin": 192319, "Groovy": 6383, "Java": 3591}
package com.dedx.transform import org.objectweb.asm.Label interface InstStorage { fun storeInst(labelInst: LabelInst, jvmInst: JvmInst) fun getInst(labelInst: LabelInst): JvmInst? } class LabelMap : InstStorage { private val label2Inst = HashMap<Label, JvmInst>() override fun storeInst(labelInst: L...
0
null
0
0
802ab3cdba26c4b106a4b410455dffa07be2085f
499
dedx
Apache License 2.0
libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/timeline/MatrixTimelineDiffProcessor.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
29
196
96ef91bd45be57d8e6ecb66be0a9253fb8b81e18
5,255
element-x-android
Apache License 2.0
android/app/src/networkSignet/java/it/casatta/Network.kt
RCasatta
217,684,620
false
null
package it.casatta class Network { companion object { const val TYPE = "signet" } }
32
Rust
8
53
2def7c5f596e4c2ae95578ef3d93f48b6cf8f2b8
100
firma
MIT License
dsl/src/main/kotlin/cloudshift/awscdk/dsl/services/nimblestudio/CfnStudioComponentStudioComponentInitializationScriptPropertyDsl.kt
cloudshiftinc
667,063,030
false
null
@file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION") package cloudshift.awscdk.dsl.services.nimblestudio import cloudshift.awscdk.common.CdkDslMarker import kotlin.String import software.amazon.a...
1
Kotlin
0
0
17c41bdaffb2e10d31b32eb2282b73dd18be09fa
2,329
awscdk-dsl-kotlin
Apache License 2.0
plugin/src/main/kotlin/org/jetbrains/intellij/InspectionPluginExtension.kt
schoolptor
130,823,474
true
{"Kotlin": 76362, "HTML": 3458, "Java": 194}
package org.jetbrains.intellij import org.gradle.api.Incubating import org.gradle.api.Project import org.gradle.api.plugins.quality.CodeQualityExtension import org.gradle.api.resources.TextResource import java.io.File open class InspectionPluginExtension(private val project: Project) : CodeQualityExtension() { /...
0
Kotlin
0
0
8af2b06e95333ebbb8cbeb686e61ee7c70e50981
1,555
inspection-plugin
Apache License 2.0
src/main/kotlin/exnihilofabrico/modules/farming/PlantableItem.kt
SirLyle
220,114,285
true
{"Kotlin": 398790, "Java": 8118}
package exnihilofabrico.modules.farming import exnihilofabrico.modules.base.BaseItem import net.minecraft.block.Block import net.minecraft.block.BlockState import net.minecraft.item.ItemUsageContext import net.minecraft.util.ActionResult open class PlantableItem(val plants: List<BlockState>, settings: Settings): Base...
5
Kotlin
4
3
5224a14b7b50ab5df34a9edbd5ea9e63d743ed62
1,142
ExNihiloFabrico
MIT License
database/src/main/java/com/josala/database/di/DatabaseModule.kt
josala
339,094,487
false
null
package com.josala.database.di import androidx.room.Room import com.josala.database.CryptoRepository import com.josala.database.CryptoRepositoryImpl import com.josala.database.CryptopulseDatabase import com.josala.database.DATABASE_NAME import org.koin.android.ext.koin.androidApplication import org.koin.dsl.module va...
0
Kotlin
0
0
39a1e28852fcc6e6d7dea2e1bb41f8e986325885
585
cryptopulse
Apache License 2.0
app/src/main/java/com/judahben149/fourthwall/utils/CurrencyUtils.kt
judahben149
850,814,605
false
{"Kotlin": 286081}
package com.judahben149.fourthwall.utils import android.content.Context import com.judahben149.fourthwall.R import com.judahben149.fourthwall.domain.models.CurrencyPair import com.murgupluoglu.flagkit.FlagKit import java.text.NumberFormat import java.util.Currency import java.util.Locale object CurrencyUtils { p...
0
Kotlin
0
0
90513585b7b89ea00b35a19a4b89c2a726187b18
12,167
FourthWall
MIT License
android/bank_android/src/main/java/com/example/bank_android/view/BankUiState.kt
reemaadeniyi
637,751,991
false
null
package com.example.bank_android.view import com.example.wallet_android.model.WalletModel data class Bank( val name:String, val image:String, val id: Int ) val banks = listOf( Bank( name = "Wise", image = "https://goody-hams.fra1.digitaloceanspaces.com/cryptoworldapi/transferwise.png...
0
Kotlin
0
0
f1a6031b0ccae3f1828d0dac87882fa6001c41f5
474
reemaadeniyi
Apache License 2.0
app/src/main/java/com/fssmsl/legymx/api/data/activity/ActivityRequest.kt
RealHurrison
552,431,354
false
null
package com.fssmsl.legymx.api.data.activity import com.google.gson.annotations.SerializedName //0 未开始 1 报名中 2 报名结束 4 进行中 enum class ActivityState { @SerializedName("") NO_LIMIT, @SerializedName("0") NOT_START, @SerializedName("1") SIGN_UP, @SerializedName("2") SIGN_UP_END, @Seri...
0
Kotlin
0
6
7d15e00bd301d69e5650f0f4c0c65e6625236e6f
542
LegymX
Do What The F*ck You Want To Public License
forceupdate/src/main/java/com/android/forceupdate/ui/ForceUpdateActivity.kt
Abdulrahman-AlGhamdi
344,500,974
false
null
package com.android.forceupdate.ui import android.content.pm.PackageInfo import android.content.res.ColorStateList import android.graphics.Color import android.graphics.drawable.Drawable import android.os.Bundle import android.util.TypedValue import android.view.View import androidx.appcompat.app.AppCompatActivity imp...
0
Kotlin
2
2
7274b5014000eb4c46060dd08df7039970d7702b
6,394
ForceUpdate
Apache License 2.0
features/searchproducts/src/main/java/co/com/mercadolibre_test/searchproducts/data/services/ProductsPagingSource.kt
CarlosQuezadaP
672,701,916
false
null
package co.com.mercadolibre_test.searchproducts.data.services import androidx.paging.PagingSource import androidx.paging.PagingState import co.com.mercadolibre_test.searchproducts.domain.models.productresults.Product import retrofit2.HttpException import java.io.IOException class ProductsPagingSource( private val...
1
Kotlin
0
0
82b89bbe0a55ad3d8901350e71eb03715da87af4
1,654
meliTest
Apache License 2.0
compiler/src/main/kotlin/io/github/thelimepixel/bento/parsing/ASTRef.kt
TheLimePixel
717,454,767
false
{"Kotlin": 113409}
package io.github.thelimepixel.bento.ast import io.github.thelimepixel.bento.utils.Spanned data class ASTRef(val type: SyntaxType, override val span: IntRange) : Spanned { override fun toString(): String = "$type@$span" }
0
Kotlin
0
1
73fc7ad24ac6576df076a4c83b071f42d7d6510f
227
bento
MIT License
src/main/kotlin/br/com/zup/edu/pix/chave/remove/RemoveChaveService.kt
joaldotavares
394,387,471
true
{"Kotlin": 61827}
package br.com.zup.edu.pix.chave.remove import br.com.zup.edu.pix.banco.DeletePixKeyRequest import br.com.zup.edu.pix.chave.ChavePixRepository import br.com.zup.edu.pix.client.BancoCentralClient import br.com.zup.edu.pix.exception.ChavePixException import br.com.zup.edu.pix.validacao.ValidUUID import io.micronaut.http...
0
Kotlin
0
0
8c5818aabd85e38f36614145a96a749ac89d5e44
1,553
orange-talents-06-template-pix-keymanager-grpc
Apache License 2.0
app/androidApp/src/main/java/io/github/tscholze/kennzeichner/android/composables/screens/map/MapScreen.kt
tscholze
612,293,293
false
{"Kotlin": 36298, "Swift": 16710}
package io.github.tscholze.kennzeichner.android.composables.screens.map import androidx.compose.foundation.background import androidx.compose.foundation.border import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.padding import androidx.compose.material.MaterialTheme import androidx....
0
Kotlin
0
1
55064eecc2c4272827aa084a0e8cb7bc70d6d9dd
4,381
kotlin-kmm-kennzeichner
MIT License
rest/main/kotlin/me/kgustave/dkt/rest/routes.kt
Shengaero
151,363,236
false
null
/* * Copyright 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 agreed to in wr...
1
Kotlin
0
10
745f72c59ed8e331975f0f62057f8f09fb9722fc
8,394
discord.kt
Apache License 2.0
Demo/src/main/java/com/angcyo/uicore/activity/ShareSendActivity.kt
angcyo
229,037,572
false
{"Shell": 3505}
package com.angcyo.uicore.activity import android.content.Intent import android.os.Bundle import com.angcyo.base.dslFHelper import com.angcyo.core.activity.BaseCoreAppCompatActivity import com.angcyo.core.component.ShareSendFragment import com.angcyo.core.component.model.DataShareModel import com.angcyo.core.component...
0
Shell
2
1
e981f6530e91023ae8fb722b2cacd091e5a0fb24
3,011
UICoreDemo
MIT License
app/src/main/java/com/kenkeremath/mtgcounter/util/CounterUtils.kt
seanKenkeremath
518,183,637
false
{"Kotlin": 375840, "Java": 23306}
package com.kenkeremath.mtgcounter.util import java.util.* object CounterUtils { private const val LARGE_INCREMENT = 5 private const val SMALL_INCREMENT = 1 //After this many increments while holding we switch to large increments //TODO: this is 0 so holding always results in large increments. Update ...
4
Kotlin
2
5
00b1eb4fe4e8b19ddab4e321dcf2c3add6b9fd42
686
SpellCounter
MIT License
live/src/main/java/com/pbj/sdk/concreteImplementation/live/model/JsonEpisodeUpdate.kt
pbj-apps
360,147,915
false
null
package com.pbj.sdk.concreteImplementation.live.model import com.squareup.moshi.JsonClass @JsonClass(generateAdapter = true) internal data class JsonEpisodeUpdate( val id: String, val description: String, val show_id: String, val status: String, val title: String, val waiting_room_description:...
1
Kotlin
0
0
01dbcb1919045fd0249dd6c008edd6a5a218d2be
329
Live-android-sdk
MIT License
src/test/kotlin/no/nav/syfo/mock/ClamAvMock.kt
navikt
257,523,904
false
null
package no.nav.syfo.mock import io.ktor.http.content.* import io.ktor.serialization.jackson.* import io.ktor.server.application.* import io.ktor.server.engine.* import io.ktor.server.netty.* import io.ktor.server.plugins.contentnegotiation.* import io.ktor.server.request.* import io.ktor.server.response.* import io.kt...
1
Kotlin
0
1
eff4595eb477829a9d7241466039c564a0a16bdf
1,867
padm2
MIT License
src/main/java/org/github/otanikotani/workflow/GitHubWorkflowRunDataContext.kt
Otanikotani
235,634,673
false
null
package org.github.otanikotani.workflow import com.intellij.openapi.Disposable import org.github.otanikotani.api.GitHubWorkflowRun import org.github.otanikotani.workflow.data.GitHubWorkflowDataLoader import org.github.otanikotani.workflow.data.GitHubWorkflowRunListLoader import org.jetbrains.plugins.github.authenticat...
12
Kotlin
7
23
f4383b6338eb6487355b4cc4951cafa8165af2ad
827
view-github-actions-idea-plugin
MIT License
demo/composeApp/src/commonMain/kotlin/me/gingerninja/lazy/sample/App.kt
gregkorossy
822,827,349
false
{"Kotlin": 21462}
/* * Copyright 2024 Gergely Kőrössy * * 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 agree...
1
Kotlin
0
5
6adab49c1e6753057d1b67e46c46845a6278c7db
4,674
lazy-sticky-headers
Apache License 2.0
return-to-wild/src/main/kotlin/com/briarcraft/rtw/change/repo/LatestChange.kt
toddharrison
581,553,858
false
null
package com.briarcraft.rtw.change.repo data class LatestChange( val context: String, val cause: String?, val causeName: String? )
1
Kotlin
1
4
d75ea526a8920507601845ddcefe033883be962e
143
BriarCode
MIT License
src/main/kotlin/g1601_1700/s1679_max_number_of_k_sum_pairs/Solution.kt
javadev
190,711,550
false
{"Kotlin": 4870729, "TypeScript": 50437, "Python": 3646, "Shell": 994}
package g1601_1700.s1679_max_number_of_k_sum_pairs // #Medium #Array #Hash_Table #Sorting #Two_Pointers // #2023_06_15_Time_468_ms_(92.86%)_Space_50.5_MB_(92.86%) class Solution { fun maxOperations(nums: IntArray, k: Int): Int { nums.sort() var start = 0 var end = nums.size - 1 var...
0
Kotlin
20
43
e8b08d4a512f037e40e358b078c0a091e691d88f
659
LeetCode-in-Kotlin
MIT License
server/src/test/kotlin/io/github/akmal2409/knats/server/integration/SubscribeIntegrationTest.kt
akmal2409
769,994,396
false
{"Kotlin": 146048}
package io.github.akmal2409.knats.server.integration import io.github.akmal2409.knats.server.Subject import io.github.akmal2409.knats.server.SubscribeRequest import io.kotest.matchers.collections.shouldContainExactlyInAnyOrder import io.kotest.matchers.collections.shouldHaveSize import io.kotest.matchers.shouldBe impo...
0
Kotlin
0
1
f385861e0760d09fa11454c48f22603061667d30
1,767
knats
Apache License 2.0
android-fragment/src/main/kotlin/com/source/bricks/fragment/manager/content/SwitchTransaction.kt
krzysiek-zgondek
216,539,257
false
null
package com.source.bricks.fragment.manager.content import androidx.fragment.app.FragmentManager import androidx.fragment.app.FragmentTransaction /** * Shorthand for lambda receiver declaration. * [SwitchTransaction] should return true if new instance should * be created and added to [FragmentManager] otherwise * ...
0
Kotlin
0
4
80c5548d7efe70afe1648a448c9f2a535114b531
476
bricks
MIT License
utbot-intellij-go/src/main/kotlin/org/utbot/intellij/plugin/language/go/GoLanguageAssistant.kt
UnitTestBot
480,810,501
false
null
package org.utbot.intellij.plugin.language.go import com.goide.psi.GoFile import com.goide.psi.GoFunctionOrMethodDeclaration import com.goide.psi.GoMethodDeclaration import com.goide.psi.GoPointerType import com.goide.psi.GoStructType import com.intellij.lang.Language import com.intellij.openapi.actionSystem.AnActionE...
346
Kotlin
26
79
5151b1bee58f24b95d05be394b0ef2dda20381c6
4,003
UTBotJava
Apache License 2.0
slack-publish/src/test/kotlin/fr/pturpin/slackpublish/SlackMessageTest.kt
TurpIF
260,442,257
false
null
package fr.pturpin.slackpublish import com.nhaarman.mockitokotlin2.* import com.slack.api.model.block.Blocks import com.slack.api.model.block.DividerBlock import com.slack.api.model.block.SectionBlock import com.slack.api.webhook.Payload import fr.pturpin.slackpublish.block.* import org.assertj.core.api.Assertions.ass...
0
Kotlin
0
1
30ff2345f40caed14dfec1a738fc71f8b825726e
9,611
slack-publish
Apache License 2.0
core/src/test/kotlin/in/specmatic/core/TestHttpStub.kt
znsio
247,710,440
false
null
package `in`.specmatic.core import org.assertj.core.api.Assertions import `in`.specmatic.core.utilities.exceptionCauseMessage import `in`.specmatic.stubShouldBreak import `in`.specmatic.stubShouldNotBreak import `in`.specmatic.testStub class TestHttpStub(private val stubRequest: HttpRequest, private val stubResponse:...
43
Kotlin
31
91
a95a2023d4469a899b8e9ce62ec49e35e4399097
857
specmatic
MIT License
core/network/src/main/java/com/prography/network/lesson/response/LessonDetailResponse.kt
prography-team8
799,143,036
false
{"Kotlin": 459261}
package com.prography.network.lesson.response import kotlinx.serialization.Serializable /** * Created by MyeongKi. */ @Serializable data class LessonDetailResponse( val id: Long, val studentName: String, val grade: String, val memo: String, val subject: String, val sessionDuration: String, ...
0
Kotlin
0
0
964f14a6f1688b7c8e6f10a0f1ac45e831110d37
618
gwasuwon-aos
Apache License 2.0
app/src/main/java/com/lora/skylink/ui/permissions/PermissionsViewModel.kt
joshflugel
748,166,569
false
{"Kotlin": 14575}
package com.lora.skylink.ui.permissions import androidx.lifecycle.ViewModel class PermissionsViewModel : ViewModel() { private lateinit var permissionsState: PermissionsState // TODO("Not yet implemented") // TODO: Implement the ViewModel }
0
Kotlin
0
0
5aea595e9ca30908a6605c933a7f0f82eaa474b0
257
SkyLink
Apache License 2.0
src/main/kotlin/io/github/paulgriffith/kindling/zip/views/GenericFileView.kt
paul-griffith
444,600,204
false
{"Kotlin": 240123, "Java": 37769}
package io.github.paulgriffith.kindling.zip.views import io.github.paulgriffith.kindling.utils.FlatScrollPane import java.awt.EventQueue import java.awt.Font import java.awt.Rectangle import java.nio.file.Path import java.nio.file.spi.FileSystemProvider import java.util.HexFormat import javax.swing.Icon import javax.s...
0
Kotlin
8
31
bf963b2d7bab04414ed418059f94825e039d33ce
2,048
kindling
MIT License
androidApp/src/main/java/com/jetbrains/kmm/androidApp/data/database/BookDao.kt
larinovaes
747,486,500
false
{"Kotlin": 67295, "Swift": 3369}
package com.jetbrains.kmm.androidApp.data.database import com.jetbrains.kmm.androidApp.data.BookMockDataHolder import com.jetbrains.kmm.androidApp.data.dto.BookDto internal class BookDao { fun getBook(bookId: String): BookDto { return BookMockDataHolder.getBookings().first { it.id == bookId } } }
0
Kotlin
0
0
012568e1358ebfee4b848d13478aa9de1c51c9cb
316
BookHaven
Apache License 2.0
app/src/main/java/br/com/mauker/githubapp/ghrepositories/domain/GhRepoRepository.kt
Mauker1
601,832,597
false
null
package br.com.mauker.githubapp.ghrepositories.domain import br.com.mauker.githubapp.ghrepositories.data.datasources.GhRepoPagingSource interface GhRepoRepository { fun getRepoPagingSource(query: String): GhRepoPagingSource }
0
Kotlin
0
0
2705433ec5de89681ef3715bbbbf4361b9de160b
231
GithubRepoApp
MIT License
compiler/javac-wrapper/src/org/jetbrains/kotlin/javac/components/JavacBasedSourceElement.kt
JakeWharton
99,388,807
false
null
/* * Copyright 2010-2017 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
179
null
5640
83
4383335168338df9bbbe2a63cb213a68d0858104
995
kotlin
Apache License 2.0
android/app/src/main/java/com/eathemeat/easytimer/ui/HomeActivity.kt
peter12757
616,378,789
false
null
package com.eathemeat.easytimer.ui import androidx.appcompat.app.AppCompatActivity import android.annotation.SuppressLint import android.os.Bundle import android.view.Window import com.eathemeat.easytimer.databinding.ActivityHomeBinding /** * An example full-screen activity that shows and hides the system UI (i.e. ...
0
Kotlin
0
0
d06995a2d56a1de7cefc9599bda78255896e1e88
833
EasyTimer
Apache License 2.0
dsl/src/main/kotlin/io/cloudshiftdev/awscdkdsl/services/fsx/CfnFileSystemOpenZFSConfigurationPropertyDsl.kt
cloudshiftinc
667,063,030
false
{"Kotlin": 63959868}
@file:Suppress( "RedundantVisibilityModifier", "RedundantUnitReturnType", "RemoveRedundantQualifierName", "unused", "UnusedImport", "ClassName", "REDUNDANT_PROJECTION", "DEPRECATION" ) package io.cloudshiftdev.awscdkdsl.services.fsx import io.cloudshiftdev.awscdkdsl.common.CdkDslMarker...
3
Kotlin
0
3
c59c6292cf08f0fc3280d61e7f8cff813a608a62
12,138
awscdk-dsl-kotlin
Apache License 2.0
app/src/main/java/com/example/urlnasa/MainList.kt
Karim-Muhammad
867,805,763
false
{"Kotlin": 11542}
package com.example.urlnasa import android.annotation.SuppressLint import android.content.Intent import android.os.Bundle import android.widget.Button import android.widget.LinearLayout import androidx.activity.enableEdgeToEdge import androidx.appcompat.app.AppCompatActivity import androidx.core.view.ViewCompat import...
0
Kotlin
0
0
8d1c0e9be3ff915e5e6431b6db52e3c9977d874b
945
AndroidNative-Exosky
MIT License
core/src/commonMain/kotlin/com/xebia/functional/xef/textsplitters/TokenTextSplitter.kt
xebia-functional
629,411,216
false
null
package com.xebia.functional.xef.textsplitters import com.xebia.functional.tokenizer.Encoding import com.xebia.functional.tokenizer.ModelType fun TokenTextSplitter(modelType: ModelType, chunkSize: Int, chunkOverlap: Int): TextSplitter = TokenTextSplitterImpl(modelType.encoding, chunkSize, chunkOverlap) private cla...
10
Kotlin
8
89
a762a968c31778f0a314a204f6b10340cec38336
1,064
xef
Apache License 2.0
main/src/main/kotlin/kotlinCommon/common/model.kt
kiwamus9
574,863,728
false
null
package kotlinCommon.common.model @Suppress("unused") // TODO enum class TerminalSessionType { Local, SSH, Telnet, Ftp } data class TerminalSession ( val name: String = "local", val sessionID: Int = getSessionID(), val dnsName: String = "local", val port: Int? = null, val type: TerminalSession...
0
Kotlin
0
0
98432472acb81924f21b58a765764b7090db4dbc
951
FETerm
MIT License
sample/src/main/java/com/zackratos/ultimatebarx/sample/MainActivity.kt
Zackratos
276,911,088
false
null
package com.zackratos.ultimatebarx.sample import android.app.Activity import android.content.Intent import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import com.zackratos.ultimatebarx.sample.adjustresize.AdjustResizeActivity import com.zackratos.ultimatebarx.sample.bottomnav.BottomNavActivity im...
27
Kotlin
161
1,515
849ca37cd5ed46e5c5bad5b03dbe62a4fa803849
2,113
UltimateBarX
Apache License 2.0
app/src/main/java/com/andri/discovermagelang/data/model/SubDistrict.kt
Whyriez
857,389,966
false
{"Kotlin": 52942}
package com.andri.discovermagelang.data.model data class SubDistrict( val name: String, val image: Int )
0
Kotlin
0
0
8e2cd7a12850c1feb8d2b738a924060f6e51432c
114
discover-magelang
Apache License 2.0
app/src/main/java/global/x/weather/presentation/screen/weather_detail/WeatherDetailScreen.kt
bijaykumarpun
674,901,537
false
null
package global.x.weather.presentation.screen.weather_detail import androidx.compose.runtime.Composable @Composable fun WeatherDetailScreen() { } @Composable fun Content() { } @Composable fun Screen() { }
2
Kotlin
0
0
9a7cfc048c863be6eb3d48c1750fb3b14d91c8e4
207
weather-app-clean-architecture
MIT License
relateddigital-android/src/main/java/com/relateddigital/relateddigital_android/model/SpinToWinExtendedProps.kt
relateddigital
379,568,070
false
null
package com.relateddigital.relateddigital_google.model import com.google.gson.annotations.SerializedName import java.io.Serializable class SpinToWinExtendedProps : Serializable { @SerializedName("displayname_text_color") var displayNameTextColor: String? = null @SerializedName("displayname_font_family") ...
0
null
2
6
ba181b42af58532a51314b1f61a69f479fa11516
5,131
relateddigital-android
Amazon Digital Services License
pokespeare-sdk/src/main/java/com/fgdc/pokespearesdk/data/source/funtranslations/entity/FuntranslationsResponse.kt
FelipeGDC
411,792,590
false
null
package com.fgdc.pokespearesdk.data.source.funtranslations.entity import com.squareup.moshi.Json import com.squareup.moshi.JsonClass @JsonClass(generateAdapter = true) data class FuntranslationsResponse( @Json(name = "contents") var contents: Contents?, )
0
Kotlin
0
1
45572ebdfd25808ecb15ce6f63d1d8b013c70c15
266
PokeSpeare
MIT License
src/main/kotlin/io/korti/adventofcode/day/DayOne.kt
korti11
225,589,330
false
null
package io.korti.adventofcode.day class DayOne : AbstractDay() { override fun getDay(): Int { return 1 } override fun getSubLevels(): Int { return 1 } override fun run(input: List<String>): String { val fuelList: MutableList<Int> = mutableListOf() input.map { it.t...
0
Kotlin
0
0
410c82ef8782f874c2d8a6c687688716effc7edd
731
advent-of-code-2019
MIT License
app/src/main/java/com/github/naz013/tasker/data/AppDb.kt
Vistaus
178,057,902
false
{"Gradle": 4, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "JSON": 2, "Proguard": 2, "Kotlin": 42, "XML": 85, "Java": 3}
package com.github.naz013.tasker.data import android.content.Context import androidx.room.Database import androidx.room.Room import androidx.room.RoomDatabase import androidx.room.migration.Migration import androidx.sqlite.db.SupportSQLiteDatabase /** * Copyright 2017 Nazar Suhovich * <p/> * Licensed under the Apa...
1
null
1
1
4aa8fedf8bed3244ea87699d0933e5ef052b90a6
1,920
my-day-todo
Apache License 2.0
app/src/main/java/com/canoo/canoo_hotels/model/data/HotelList.kt
Arunpaarthi
624,624,982
false
null
package com.canoo.canoo_hotels.model.data import com.google.gson.annotations.SerializedName data class HotelList( @SerializedName("data") val hotelListObj: Data )
0
Kotlin
0
0
2f260a41d482818597234f840807a8eedf6058cb
172
Canoo-Hotels
Apache License 2.0
app/src/main/java/ga/shreesh/pins/home/PopularPostsFragment.kt
shreeshga
141,503,859
false
null
package ga.shreesh.pins.home import android.os.Bundle import android.support.v4.app.Fragment import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import ga.shreesh.pins.R import kotlinx.android.synthetic.main.fragment_list.* class PopularPostsFragment : Fragment(), ChildFragment ...
0
Kotlin
0
0
24c52160c5bed434e721511a312fa1433ac4be39
922
pins
MIT License
desktop/gui/src/main/kotlin/com/soyle/stories/project/eventbus/CloseProjectNotifier.kt
Soyle-Productions
239,407,827
false
null
package com.soyle.stories.project.eventbus import com.soyle.stories.common.Notifier import com.soyle.stories.common.ThreadTransformer import com.soyle.stories.workspace.usecases.closeProject.CloseProject import com.soyle.stories.workspace.usecases.requestCloseProject.RequestCloseProject /** * Created by Brendan * D...
45
Kotlin
0
9
1a110536865250dcd8d29270d003315062f2b032
1,168
soyle-stories
Apache License 2.0
src/main/java/pl/polsl/data/model/Page.kt
SzymonGajdzica
265,274,398
false
null
package pl.polsl.data.model import pl.polsl.main.Main import java.util.* data class Page(val dataList: List<Data>) { val date: Date get() = dataList.first().date init { if(dataList.size != Main.pageSize) throw IllegalStateException() } }
0
Kotlin
0
0
1b67d70c4ce2f398c04924ec2f6f27c5d0a159ee
282
project-hd
MIT License
app/src/main/java/com/example/sensebox/ui/theme/Color.kt
cayas-software
705,603,273
false
{"Kotlin": 80773}
package com.example.sensebox.ui.theme import androidx.compose.ui.graphics.Color val boxLightPrimary = Color(0xFF825500) val boxLightOnPrimary = Color(0xFFFFFFFF) val boxLightPrimaryContainer = Color(0xFFFFDDAE) val boxLightOnPrimaryContainer = Color(0xFF2A1800) val boxLightSecondary = Color(0xFF6F5B40) val boxLightOn...
0
Kotlin
0
0
de5a518c86cc86f9c96c243b4955fa0110d810c6
2,419
SenseBoxCompose
Apache License 2.0
kotlin-note-1/src/main/java/com/kotlin1/spring/domain/api/UserController.kt
HoSungChoo
836,248,181
false
{"Kotlin": 40459, "Java": 862}
package com.kotlin1.spring.domain.api import com.kotlin1.spring.domain.dto.CreateUserInDTO import com.kotlin1.spring.domain.dto.CreateUserOutDTO import com.kotlin1.spring.domain.dto.ReadUserOutDTO import com.kotlin1.spring.domain.dto.ReadUserOutDTOS import com.kotlin1.spring.domain.service.UserService import org.sprin...
0
Kotlin
0
0
e80d437d8824d66a303c597ae2434b6d3b9d26e3
1,662
kotlin-note
MIT License
feature/movie-detail/src/main/java/io/filmtime/feature/movie/detail/MovieDetailViewModel.kt
moallemi
633,160,161
false
null
package io.filmtime.feature.movie.detail import androidx.lifecycle.SavedStateHandle import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import dagger.hilt.android.lifecycle.HiltViewModel import io.filmtime.core.ui.common.toUiMessage import io.filmtime.data.model.GeneralError import io.filmtime...
17
null
9
42
7a9bb794b52c38c645e8a834327fc1943e2ebf5e
5,884
Film-Time
MIT License
cards/src/main/java/com/libraryofalexandria/cards/data/network/entity/RootResponse.kt
caueferreira
190,688,518
false
null
package com.libraryofalexandria.cards.data.network.entity data class RootResponse<T>(val data: List<T>)
8
Kotlin
0
4
c83ee4b71576527b006b95c2a5d6b2f1c794c946
105
library-of-alexandria
MIT License
src/main/kotlin/com/sourcegraph/cody/config/CodyProjectActiveAccountHolder.kt
sourcegraph
702,947,607
false
null
package com.sourcegraph.cody.config import com.intellij.openapi.components.Service import com.intellij.openapi.components.State import com.intellij.openapi.components.Storage import com.intellij.openapi.components.StoragePathMacros import com.intellij.openapi.components.service import com.intellij.openapi.project.Proj...
48
null
5
8
d93e31769ac6aeeb7cae7d0af826ad90db8c02eb
779
jetbrains
Apache License 2.0
android_kmp/craftd-core/src/androidMain/kotlin/com/github/codandotv/craftd/androidcore/domain/CraftDAlign.kt
CodandoTV
788,958,834
false
{"Kotlin": 56933, "C++": 20938, "CMake": 18713, "HTML": 17445, "Swift": 16229, "Dart": 15344, "C": 1425, "Ruby": 638, "Objective-C": 38}
package com.github.codandotv.craftd.androidcore.domain import androidx.compose.runtime.Immutable import androidx.compose.runtime.Stable @Stable @Immutable enum class CraftDAlign { CENTER, LEFT, RIGHT, TOP, BOTTOM }
1
Kotlin
0
9
b05b8575537f426048a4a63d4c7b48f9396a48be
236
CraftD
MIT License
app/src/main/java/com/example/composepokemonapp/data/remote/response/GenerationVi.kt
NimeshVasani
640,294,775
false
{"Kotlin": 40899}
package com.example.composepokemonapp.data.remote.response data class GenerationVi( val omegaruby_alphasapphire: OmegarubyAlphasapphire, val x_y: XY )
0
Kotlin
0
1
b98f14534e10895b0cb91177edcb43f78400681e
159
Compose-Pokemon-App
Info-ZIP License
src/main/kotlin/com/destered/afa_vkr/generator/typesGenerator/SelectGenerator.kt
Destered12
813,610,104
false
{"Kotlin": 49029}
package com.destered.afa_vkr.generator.typesGenerator object SelectGenerator { var counter = 0 fun generateSelectTest(selector: Pair<String, String>): String { counter++ var code = "" var selectorCode = InputGenerator.getSelector(selector) if(selectorCode.isNotBlank()) { ...
0
Kotlin
0
0
7655812ae81ef13b642464342267106d262937c3
696
AFA
Apache License 2.0
HTTPShortcuts/framework/src/main/kotlin/ch/rmy/android/framework/extensions/RealmExtensions.kt
Waboodoo
34,525,124
false
null
package ch.rmy.android.framework.extensions import io.realm.RealmList import io.realm.RealmModel import io.realm.RealmObject import io.realm.RealmResults import io.realm.kotlin.deleteFromRealm /** * Creates a copy of the RealmModel that is no longer attached to the (persisted!) Realm, i.e., * the returned object is...
31
Kotlin
94
645
c78059462ad78d382bc12ff56cd0432b5fa78c96
1,131
HTTP-Shortcuts
MIT License
shared/src/commonMain/kotlin/com/marcocastope/mcsports/data/SportsApiService.kt
marcocastope
630,538,499
false
null
package com.marcocastope.mcsports.data import com.marcocastope.mcsports.data.responses.LeaguesResponse import com.marcocastope.mcsports.data.responses.LivesScoreResponse import com.marcocastope.mcsports.data.responses.MatchesResponse import io.ktor.client.call.body import io.ktor.client.request.get import io.ktor.clie...
0
Kotlin
0
0
99fa692d2c31a2a07ca0b1f13360614f03c83682
890
McSports
MIT License
src/main/kotlin/com/cognifide/gradle/aem/jar/AbstractClassesTask.kt
kristofvb
92,590,356
true
{"Kotlin": 62700}
package com.cognifide.gradle.aem.jar import com.cognifide.gradle.aem.AemConfig import com.cognifide.gradle.aem.AemPlugin import com.cognifide.gradle.aem.AemTask import org.apache.felix.scrplugin.ant.SCRDescriptorTask import org.apache.tools.ant.types.Path import org.gradle.api.DefaultTask import org.gradle.api.plugins...
0
Kotlin
0
0
d35495149e4b1e57beac98e050448d944a2a87ea
2,666
gradle-aem-plugin
Apache License 2.0
domene/src/main/kotlin/no/nav/tiltakspenger/saksbehandling/domene/vilkår/introduksjonsprogrammet/FørstegangsbehandlingIntroEx.kt
navikt
487,246,438
false
{"Kotlin": 681488, "Shell": 1309, "Dockerfile": 495, "HTML": 45}
package no.nav.tiltakspenger.saksbehandling.domene.vilkår.introduksjonsprogrammet import no.nav.tiltakspenger.saksbehandling.domene.behandling.Førstegangsbehandling fun Førstegangsbehandling.leggTilIntroSaksopplysning( command: LeggTilIntroSaksopplysningCommand, ): Førstegangsbehandling { val oppdatertFørsteg...
7
Kotlin
0
1
e125e2953c16c4bb2c99e6d36075c553b51ed794
456
tiltakspenger-vedtak
MIT License
src/test/kotlin/com/parmet/buf/gradle/AbstractBreakingTest.kt
andrewparmet
291,329,569
false
null
/* * Copyright (c) 2021 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writi...
0
Kotlin
3
17
635bea07a4b88ce87f50cace4ba450392eb03e6c
2,258
buf-gradle-plugin
Apache License 2.0
app/src/main/java/com/dli46/entertainment/bored/BoredApi.kt
leeklee0427
482,666,490
false
{"Kotlin": 54053}
package com.dli46.entertainment.bored import retrofit2.Call import retrofit2.http.GET import retrofit2.http.Query interface BoredApi { // From Bored Documentation, cited: https://www.boredapi.com/documentation /** * Fetches response according to different inputs */ @GET("api/activity") fun ...
0
Kotlin
0
0
451da9314b51ac90754f030617d86ebc8d911ee7
1,857
Entertainment
Open LDAP Public License v2.8
agp-7.1.0-alpha01/tools/base/build-system/gradle-core/src/main/java/com/android/build/gradle/internal/tasks/LintModelMetadataTask.kt
jomof
502,039,754
false
{"Java": 35519326, "Kotlin": 22849138, "C++": 2171001, "HTML": 1377915, "Starlark": 915536, "C": 141955, "Shell": 110207, "RenderScript": 58853, "Python": 25635, "CMake": 18109, "Batchfile": 12180, "Perl": 9310, "Dockerfile": 5690, "Makefile": 4535, "CSS": 4148, "JavaScript": 3488, "PureBasic": 2359, "GLSL": 1628, "AID...
/* * 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
Java
1
0
9e3475f6d94cb3239f27ed8f8ee81b0abde4ef51
3,966
CppBuildCacheWorkInProgress
Apache License 2.0
app/src/main/java/com/example/cow_cow/mainFragments/StoreFragment.kt
Stffhgn
862,080,800
false
{"Kotlin": 328413}
package com.example.cow_cow.mainFragments import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.fragment.app.Fragment import androidx.fragment.app.activityViewModels import androidx.recyclerview.widget.LinearLayoutManager import com.example.c...
0
Kotlin
0
0
da1653f897c39d58f22b4d3da70c87ede1a316fc
2,043
cowcow
MIT License
src/main/kotlin/internal/section.kt
TVBlackman1
722,028,675
false
{"Kotlin": 30617}
package internal import androidx.compose.foundation.background import androidx.compose.foundation.layout.* import androidx.compose.runtime.Composable import androidx.compose.ui.Modifier import androidx.compose.ui.graphics.Color import androidx.compose.ui.unit.dp abstract class SectionWidth() { abstract fun perfor...
0
Kotlin
0
0
4a46217ce5e2b487139ff37765bc34393e37f326
1,016
mechstat-app-ui
MIT License
src/main/kotlin/dev/mbo/gitlabext/ports/redis/config/RedisTemplateConfig.kt
mbogner
464,658,285
false
{"Java": 2055160, "Kotlin": 69541, "Shell": 1273, "Ruby": 180}
package dev.mbo.gitlabext.ports.redis.config import org.springframework.context.annotation.Bean import org.springframework.context.annotation.Configuration import org.springframework.data.redis.connection.RedisConnectionFactory import org.springframework.data.redis.core.RedisTemplate @Configuration class RedisTempla...
1
null
1
1
bdc43eb812519936f9d628182d6029addfa87c1f
862
gitlab-ext
Apache License 2.0
music/src/main/java/com/dht/music/view/TopTitleView.kt
Sotardust
233,010,320
false
{"Java": 482520, "Kotlin": 375635}
package com.dht.music.view import android.content.Context import android.text.TextUtils import android.util.AttributeSet import android.view.View import android.widget.* import com.dht.baselib.base.BaseActivity import com.dht.baselib.base.BaseFragment import com.dht.baselib.callback.LocalCallback import com.dht.baseli...
1
null
1
1
cb410886655fb44cc3ee522e16c7bbd28fd899e3
5,160
Interest
Apache License 2.0
vim-engine/src/main/kotlin/com/maddyhome/idea/vim/common/VimRange.kt
citizenmatt
157,188,927
true
{"Gradle": 1, "YAML": 16, "Markdown": 20, "Gradle Kotlin DSL": 10, "Java Properties": 3, "Shell": 1, "Ignore List": 2, "Batchfile": 1, "EditorConfig": 1, "Text": 2, "JSON": 1, "Kotlin": 1307, "ANTLR": 3, "SVG": 9, "INI": 1, "Java": 29, "XML": 19, "HTML": 2, "Maven POM": 1}
/* * Copyright 2003-2023 The IdeaVim authors * * Use of this source code is governed by an MIT-style * license that can be found in the LICENSE.txt file or at * https://opensource.org/licenses/MIT. */ package com.maddyhome.idea.vim.common import com.maddyhome.idea.vim.api.LineDeleteShift import com.maddyhome.id...
0
Kotlin
0
1
39a85b6bc2426c3e7c87d5fa541f68c4adcf2709
776
ideavim
MIT License
app/src/main/java/fr/groggy/racecontrol/tv/db/session/SessionEntity.kt
leonardoxh
324,974,272
false
null
package fr.groggy.racecontrol.tv.db.session import androidx.room.ColumnInfo import androidx.room.Entity import androidx.room.PrimaryKey @Entity(tableName = "sessions") data class SessionEntity( @PrimaryKey val id: String, @ColumnInfo(name = "name") val name: String, @ColumnInfo(name = "event_id") val even...
21
null
9
112
14ddc9ec66de3cdab209928df3711a618c728bdc
808
race-control-tv
MIT License
boxicons/src/commonMain/kotlin/com/woowla/compose/icon/collections/boxicons/boxicons/regular/BxUpArrow.kt
walter-juan
868,046,028
false
{"Kotlin": 34345428}
package com.woowla.compose.icon.collections.boxicons.boxicons.regular 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.graph...
0
Kotlin
0
3
eca6c73337093fbbfbb88546a88d4546482cfffc
1,894
compose-icon-collections
MIT License
src/test/kotlin/com/experive/buddy/impl/InsertQueryBuilderTest.kt
meekyphotos
390,844,489
false
null
@file:Suppress("MemberVisibilityCanBePrivate") package com.experive.buddy.impl import com.experive.buddy.Database import com.experive.buddy.Expression import com.experive.buddy.TestEntity import com.experive.buddy.TestJson import com.experive.buddy.TestRelation import com.experive.buddy.asExpression import com.experi...
3
Kotlin
0
0
e7bd6eecce729dc8cee3da8175226249b1525815
18,784
jdbc-buddy
Apache License 2.0
pact-jvm-mockk-core/src/main/kotlin/io/github/ludorival/pactjvm/mockk/PactMockk.kt
ludorival
600,899,235
false
{"Kotlin": 39620}
package io.github.ludorival.pactjvm.mockk import com.fasterxml.jackson.databind.JsonNode import com.fasterxml.jackson.databind.ObjectMapper import io.mockk.Call import java.util.concurrent.ConcurrentHashMap internal object PactMockk { private var pactOptions = PactOptions.DEFAULT_OPTIONS internal fun setPac...
6
Kotlin
0
1
874710d7c2bda6bf469c290103f06790da587f8c
2,381
pact-jvm-mock
MIT License
lib/src/main/java/me/ctknight/uploadmanager/util/OpenHelper.kt
CTKnight
62,815,603
false
null
/* * Copyright (c) 2018. All rights reserved. Lai Jiewen <alanljw12345@gmail.com> */ package me.ctknight.uploadmanager.util import android.content.ActivityNotFoundException import android.content.Context import android.content.Intent import android.util.Log import me.ctknight.uploadmanager.internal.Database object...
2
Kotlin
1
12
e4bb2ad00daf928f0de8fc8ecf95b557edf37229
2,945
UploadManager
Apache License 2.0
kotlin-browser/src/main/generated/media/TrackEvent.kt
stefanthaler
440,580,782
true
{"Kotlin": 8815376, "JavaScript": 528}
// Automatically generated - do not modify! package media typealias TrackEventInit = org.w3c.dom.TrackEventInit typealias TrackEvent = org.w3c.dom.TrackEvent
0
Kotlin
0
0
fc27a2b5d98423c8db24f8a28d1c3a95dc682b0a
160
kotlin-wrappers
Apache License 2.0
src/main/kotlin/com/exerro/simpleui/extensions/events.kt
exerro
394,747,190
false
null
package com.exerro.simpleui.extensions import com.exerro.simpleui.* /** Filter the events from the [EventBus] for [EKeyPressed] events exactly * matching the [name] and [modifiers] given, and accepting repeats only if * [allowRepeats] is true. */ fun EventBus<WindowEvent>.filterKeyPressed( name: String, v...
4
Kotlin
0
0
e119b8c24493308d73680877efc12482503e6685
570
simpleUI
MIT License
src/main/kotlin/basics/AtoB.kt
tomasbalaz
665,549,848
false
null
package basics fun main() { val number = "10" println(10 + number.toInt()) //println(10.toString() + number) println("10$number") val d= 3.0 println(d) println(d.toInt()) }
0
Kotlin
0
0
993e8a334213cb382889598334878109462833b5
203
kotlin-introduction
MIT License
app/src/main/java/pl/dawidfiruzek/kursandroid/feature/splash/ui/SplashActivity.kt
dawidfiruzek
125,333,359
false
null
package pl.dawidfiruzek.kursandroid.feature.splash.ui import android.os.Bundle import pl.dawidfiruzek.kursandroid.R import pl.dawidfiruzek.kursandroid.feature.commons.ui.BaseActivity import pl.dawidfiruzek.kursandroid.feature.splash.SplashContract import timber.log.Timber import javax.inject.Inject class SplashActivi...
0
Kotlin
0
0
aea5e18e07522ca32753a04a6464e6e801bf175c
913
Kurs-Android
Apache License 2.0
src/main/kotlin/me/camdenorrb/kspigotbasics/gson/JsonFileNameFilter.kt
camdenorrb
111,553,094
false
{"Kotlin": 72620}
package me.camdenorrb.kspigotbasics.gson import java.io.File import java.io.FilenameFilter object JsonFileNameFilter : FilenameFilter { override fun accept(dir: File?, name: String) = name.contains(".json") }
0
Kotlin
0
2
3e5c17a4e528e3259b9f802c63207f0ea907eae0
214
KSpigotBasics
Apache License 2.0
domain-access/src/main/java/pl/kamilszustak/read/domain/access/usecase/volume/ObserveVolumesUseCase.kt
swistak7171
289,985,013
false
null
package pl.kamilszustak.read.domain.access.usecase.volume import kotlinx.coroutines.flow.Flow import pl.kamilszustak.model.common.VolumeSearchParameterType import pl.kamilszustak.read.domain.access.usecase.ParametrizedUseCase import pl.kamilszustak.read.model.domain.Volume interface ObserveVolumesUseCase : Parametriz...
2
Kotlin
0
1
70d7be58042410bdb969035413b726126426e3d3
390
read
Apache License 2.0
app/src/main/java/com/tzion/jetpackmovies/presentation/moviedetail/composable/DetailError.kt
4mr0m3r0
156,536,164
false
{"Kotlin": 151737}
package com.tzion.jetpackmovies.presentation.moviedetail.composable import androidx.compose.foundation.layout.padding import androidx.compose.material3.Snackbar import androidx.compose.material3.Text import androidx.compose.runtime.Composable import androidx.compose.ui.Modifier import androidx.compose.ui.res.dimension...
4
Kotlin
4
15
11b983e57bc1508a6ec5ca738af70c4f9a8ea9aa
619
movies-jetpack-sample
MIT License