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
ktor-kafka-streams/ktor-kafka-streams-frontend-api/src/main/kotlin/com/onlyteo/sandbox/config/KafkaSerialization.kt
onlyteo
798,100,309
false
{"Kotlin": 52415, "TypeScript": 28224, "HTML": 12157, "CSS": 4069, "Shell": 627}
package com.onlyteo.sandbox.config import com.fasterxml.jackson.databind.ObjectMapper import com.fasterxml.jackson.module.kotlin.readValue import org.apache.kafka.common.serialization.Deserializer import org.apache.kafka.common.serialization.Serializer inline fun <reified T> buildJsonSerializer(objectMapper: ObjectMa...
0
Kotlin
0
0
c7808776ff9b191ed0366e92c7fe1c0f183ea41a
1,032
ktor-sandbox
Apache License 2.0
app/src/main/java/com/zipdabang/zipdabang_android/module/my/data/remote/recipewrite/CompleteRecipeEditIngredient.kt
zipdabang
666,457,004
false
{"Kotlin": 2292415}
package com.zipdabang.zipdabang_android.module.my.data.remote.recipewrite data class CompleteRecipeEditIngredient( val ingredientName: String, val quantity: String )
0
Kotlin
1
2
f25196bfdb02331aad716a2fb5765f813bb40673
174
android
MIT License
core1/src/main/kotlin/coroutines/internal/DispatchedState.kt
pull-vert
209,649,296
false
null
package coroutines.internal import coroutines.* import java.io.Serializable internal val UNDEFINED = Symbol("UNDEFINED") internal object Active : NotCompleted { override fun toString(): String = "Active" } /** * A discriminated union that encapsulates successful outcome with a value of type [T] * or a failure...
0
Kotlin
0
0
2bf6a041b34a31765ecfbc6f925831f4d9351e07
8,999
kotlin-play
Apache License 2.0
core/src/main/java/io/github/keep2iron/pejoy/utilities/ObservableExtra.kt
ieewbbwe
194,812,354
true
{"Kotlin": 181793, "Java": 3397}
package io.github.keep2iron.pejoy.utilities import android.content.Intent import android.net.Uri import io.github.keep2iron.pejoy.Pejoy import io.reactivex.Observable fun Observable<Intent>.extractStringPath(): Observable<List<String>> { return map { it.getStringArrayListExtra(Pejoy.EXTRA_RESULT_SELECTIO...
0
Kotlin
0
0
9bbee331bd8a17a620be49538acc7737a135e45d
502
pejoy
Apache License 2.0
ff4j-spring-services/src/main/kotlin/org/ff4j/services/MonitoringServices.kt
DerekRoy
156,486,921
true
{"Maven POM": 6, "Ignore List": 1, "Text": 2, "YAML": 2, "Markdown": 1, "Java": 44, "XML": 1, "Kotlin": 54, "Gherkin": 14}
package org.ff4j.services import org.ff4j.FF4j import org.ff4j.services.domain.EventRepositoryApiBean import org.springframework.beans.factory.annotation.Autowired import org.springframework.stereotype.Service /** * Created by Paul * * @author <a href="mailto:paul58914080@gmail.com">Paul Williams</a> */ @Service ...
0
Java
0
0
563c6d27501bc54f9308024d9efd33d331e22f8d
655
ff4j-spring-boot-starter-parent
Apache License 2.0
app/src/main/java/cn/stackflow/workbench/common/di/module/FragmentModule.kt
yanmuzhang
284,948,680
false
null
package cn.stackflow.workbench.common.di.module import cn.stackflow.workbench.common.base.TabFragment import cn.stackflow.workbench.ui.layout.audit.AuditFragment import cn.stackflow.workbench.ui.layout.WorkbenchFragment import cn.stackflow.workbench.ui.layout.calendar.CalendarFragment import cn.stackflow.workbench.ui....
0
Kotlin
0
0
36945c5b9ade1f7034fe2a3a3f1a44af2db8428f
1,571
android-workbench
MIT License
week11/pyramid.kt
Leonardo115935
747,264,302
false
{"Kotlin": 11400}
fun main() { println("Enter the number of pyramid levels desired:") val levels = readLine()?.toIntOrNull() if (levels != null && levels > 0) { for (i in 1..levels) { for (j in 1..i) { print("*") } println() } } else { print...
0
Kotlin
0
0
7fc2d27750fea1a1e22347b0b2fd59057ad4ca92
390
Kotlin
MIT License
transport/src/main/java/me/uport/sdk/transport/Transports.kt
jimjag
166,115,241
true
{"Kotlin": 489456, "Java": 409}
package me.uport.sdk.transport import android.content.Context import android.content.Intent import android.net.Uri import java.net.URLEncoder class Transports { /** * Sends a selective disclosure request to the uPort app. * If the uPort app is not present this will open a browser * * __API-...
0
Kotlin
0
0
6de7b9351cdc0a99cc63ee9c1a8bda5040cc14d3
877
uport-android-sdk
Apache License 2.0
power-optimization-survivor/src/main/java/wtf/qase/power_optimization_survivor/PowerOptimizationSurvivorUtil.kt
Qase
219,771,365
false
null
package wtf.qase.power_optimization_survivor import android.content.Context import android.content.Intent import android.net.Uri import android.os.Build import android.os.PowerManager import android.provider.Settings import androidx.annotation.RequiresApi import wtf.qase.power_optimization_survivor.dto.PowerManagerOpt...
0
Kotlin
0
1
67e2c8c20556b8c158751856086eef62b0b36309
3,152
power-optimization-survivor-android
Apache License 2.0
src/main/kotlin/com/hallila/trycatch/Main.kt
Xantier
66,157,355
false
{"JavaScript": 65953, "Kotlin": 49293, "CSS": 6035, "HTML": 572}
package com.hallila.trycatch import com.hallila.trycatch.cli.MainCli import com.hallila.trycatch.web.MainRat import org.slf4j.LoggerFactory.getLogger object Main { private val log = getLogger(Main::class.java) @JvmStatic fun main(args: Array<String>) { if (args.isNotEmpty()) { log.info("S...
0
JavaScript
0
1
9a000dcf8e3e2019b5fe9326b5cecfbfba30f0bd
636
trycatch
MIT License
app/src/main/java/com/blackcatz/android/hnews/di/AppModule.kt
vinayagasundar
157,092,166
false
{"Kotlin": 44744}
package com.blackcatz.android.hnews.di import com.blackcatz.android.hnews.mvi.rx.SchedulerProvider import com.blackcatz.android.hnews.mvi.rx.SchedulerProviderImpl import com.blackcatz.android.hnews.network.HackerAPI import com.blackcatz.android.hnews.repo.ItemRepo import com.blackcatz.android.hnews.repo.ItemRepoImpl i...
1
Kotlin
1
1
67ea636a02899c83ff46cba2fabd9b5203204905
762
hnews
Apache License 2.0
miniapp/src/test/java/com/rakuten/tech/mobile/miniapp/signatureverifier/verification/TestKeyStore.kt
rakutentech
225,744,634
false
{"Kotlin": 1372714}
package com.rakuten.tech.mobile.miniapp.signatureverifier.verification import org.bouncycastle.jce.provider.BouncyCastleProvider import java.io.InputStream import java.io.OutputStream import java.security.* import java.security.cert.Certificate import java.security.spec.AlgorithmParameterSpec import java.util.* import...
9
Kotlin
35
73
466c9551161b1240cc4963d7108a342355b983de
3,398
android-miniapp
MIT License
examples/chat/core/src/jsMain/kotlin/chat/core/styles/Styles.kt
varabyte
397,003,009
false
{"FreeMarker": 42796}
package chat.core.styles import com.varabyte.kobweb.compose.ui.Modifier import com.varabyte.kobweb.compose.ui.graphics.Colors import com.varabyte.kobweb.compose.ui.modifiers.color import com.varabyte.kobweb.silk.style.CssStyle import com.varabyte.kobweb.silk.style.base val ErrorTextStyle = CssStyle.base { Modifie...
0
FreeMarker
5
14
5bc86f4cedd27ba5fc6f6e8775233e5d9f4ecc91
342
kobweb-templates
Apache License 2.0
app/src/androidTest/java/com/huotu/android/mifang/ExampleInstrumentedTest.kt
hottech-jxd
163,493,643
false
null
package com.huotu.android.mifang import android.support.test.InstrumentationRegistry import android.support.test.runner.AndroidJUnit4 import com.google.gson.Gson import com.google.gson.GsonBuilder import org.junit.Test import org.junit.runner.RunWith import org.junit.Assert.* /** * Instrumented test, which will ex...
1
null
1
1
d409993f3900a1ebef52bfd8ea2bbbd7799bce79
992
mifang-shopman-android
Apache License 2.0
src/main/kotlin/ru/scisolutions/scicmscore/api/graphql/datafetcher/query/ConfigDataFetcher.kt
borisblack
737,700,232
false
{"Kotlin": 642788, "HTML": 4440, "Dockerfile": 1858}
package ru.scisolutions.scicmscore.api.graphql.datafetcher.query import com.netflix.graphql.dgs.DgsComponent import com.netflix.graphql.dgs.DgsQuery import ru.scisolutions.scicmscore.config.props.I18nProps import ru.scisolutions.scicmscore.persistence.entity.Datasource import ru.scisolutions.scicmscore.persistence.ser...
0
Kotlin
0
1
eacd5ecf1b329df92ddeb9c5c63782821d3ee95f
924
scicms-core
Apache License 2.0
src/tcollier/AocExecutor.kt
tcollier
329,187,149
false
null
package tcollier import java.time.Duration import java.time.Instant typealias SolutionFunc<T> = (List<T>) -> String data class TimingInfo(val iterations: Int, val duration: Long) { fun asJson(): String { val it = this.iterations val dur = this.duration * 1000 return "{\"iterations\":$it,\...
0
Kotlin
0
0
231538655856f669eba956def899610aa3c76a4e
1,523
aoc_executor.kt
MIT License
app/src/main/java/ru/tech/easysearch/helper/interfaces/SettingsInterface.kt
T8RIN
435,128,550
false
{"Kotlin": 257847}
package ru.tech.easysearch.helper.interfaces interface SettingsInterface { fun onPickColor(color: String) }
0
Kotlin
3
42
663e829d8b9e95dcbd3b19582265517d134dc7ea
113
ESearch
Apache License 2.0
client/android/div/src/main/java/com/yandex/div/internal/widget/SeparatorView.kt
divkit
523,491,444
false
{"Kotlin": 7327303, "Swift": 5164616, "Svelte": 1148832, "TypeScript": 912803, "Dart": 630920, "Python": 536031, "Java": 507940, "JavaScript": 152546, "CSS": 37870, "HTML": 23434, "C++": 20911, "CMake": 18677, "Shell": 8895, "PEG.js": 7210, "Ruby": 3723, "C": 1425, "Objective-C": 38}
package com.yandex.div.internal.widget import android.content.Context import android.graphics.Canvas import android.graphics.Color import android.graphics.Paint import android.graphics.Rect import android.util.AttributeSet import android.view.Gravity import android.view.View import androidx.annotation.ColorRes import ...
5
Kotlin
128
2,240
dd102394ed7b240ace9eaef9228567f98e54d9cf
5,007
divkit
Apache License 2.0
core/src/main/kotlin/materialui/components/tabs/TabsElementBuilder.kt
subroh0508
167,797,152
false
null
package materialui.components.tabs import kotlinx.html.Tag import kotlinx.html.TagConsumer import materialui.components.MaterialElementBuilder import materialui.components.getValue import materialui.components.setValue import materialui.components.tabs.enums.* import materialui.styles.muitheme.MuiTheme import org.w3c....
14
Kotlin
27
81
a959a951ace3b9bd49dc5405bea150d4d53cf162
2,192
kotlin-material-ui
MIT License
compose_material3/src/main/java/dev/vengateshm/compose_material3/custom_ui/MultipleProfileAvatars.kt
vengateshm
670,054,614
false
{"Kotlin": 2030949, "Java": 55066}
package dev.vengateshm.compose_material3.custom_ui import androidx.compose.foundation.background import androidx.compose.foundation.border import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.Row import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.foundation...
0
Kotlin
0
1
2f5a7710bcbd4d04b443e77459e7fb8a43a5e6ab
2,304
Android-Kotlin-Jetpack-Compose-Practice
Apache License 2.0
mbmobilesdk/src/main/java/com/daimler/mbmobilesdk/stageselector/StageSelectorActivity.kt
rafalzawadzki
208,997,288
true
{"Kotlin": 1297852, "Groovy": 4489}
package com.daimler.mbmobilesdk.stageselector import android.content.Intent import androidx.databinding.ViewDataBinding import androidx.lifecycle.ViewModelProvider import androidx.lifecycle.ViewModelProviders import com.daimler.mbmobilesdk.BR import com.daimler.mbmobilesdk.R import com.daimler.mbmobilesdk.app.Endpoint...
0
null
0
0
1a924f70fbde5d731cdfde275e724e6343ee6ebe
1,782
MBSDK-Mobile-Android
MIT License
src/main/kotlin/cn/labzen/network/tcp/client/listeners.kt
labzen
840,102,322
false
{"Kotlin": 85609, "Java": 2479}
package cn.labzen.network.tcp.client interface TcpConnect2ServerListener { fun success() fun failed(throwable: Throwable? = null) fun reconnectFailed(throwable: Throwable? = null) } interface TcpServerLeftListener { fun trigger() } interface TcpServerLostListener { fun trigger() }
0
Kotlin
0
0
b4d15f11a7d7f568800b272dfa5175ae48bb69cb
297
network
Apache License 2.0
vis-svg-portable/src/commonMain/kotlin/jetbrains/datalore/vis/svg/SvgTSpanElement.kt
JetBrains
176,771,727
false
null
/* * Copyright (c) 2019. JetBrains s.r.o. * Use of this source code is governed by the MIT license that can be found in the LICENSE file. */ package jetbrains.datalore.vis.svg import jetbrains.datalore.base.observable.property.Property import jetbrains.datalore.base.observable.property.WritableProperty import jetb...
98
Kotlin
46
886
30f147b2ab81c2b4f6bb29ba7a5e41ad3245cdfd
2,759
lets-plot
MIT License
src/main/kotlin/rules/logic/MaskLogic.kt
JakeSteam
610,010,149
false
null
package rules.logic import kotlinx.serialization.Serializable import rules.BaseRule @Serializable sealed class MaskLogic : BaseRule() { abstract fun invoke(data: Array<BooleanArray>, data2: Array<BooleanArray>): Array<BooleanArray> }
0
Kotlin
0
1
813c45f82b996e23c2e6058b681e8e53452da599
239
rp.lc
MIT License
src/main/kotlin/com/github/bartimaeusnek/modmixins/main/ModMixinsMod.kt
bartimaeusnek
270,048,127
true
{"Kotlin": 15289}
package com.github.bartimaeusnek.modmixins.main import com.github.bartimaeusnek.modmixins.core.LoadingConfig import com.github.bartimaeusnek.modmixins.main.ModMixinsMod.MODID import com.github.bartimaeusnek.modmixins.main.ModMixinsMod.NAME import com.github.bartimaeusnek.modmixins.main.ModMixinsMod.VERSION import cpw....
0
Kotlin
0
0
aa2b01d20d386af891190a66fc26907770d73e30
3,757
ModMixins
MIT License
app/src/play/java/chat/rocket/android/extensions/GooglePlayServices.kt
RocketChat
48,179,404
false
null
package chat.rocket.android.extensions import com.google.android.gms.tasks.Task import kotlin.coroutines.resume import kotlin.coroutines.resumeWithException import kotlin.coroutines.suspendCoroutine @JvmName("awaitVoid") suspend fun Task<Void>.await() = suspendCoroutine<Unit> { continuation -> addOnSuccessListene...
283
null
585
877
f832d59cb2130e5c058f5d9e9de5ff961d5d3380
631
Rocket.Chat.Android
MIT License
features/base/src/main/java/com/simplecrud/base/presentation/BaseViewModel.kt
keppra
510,439,516
false
{"Kotlin": 122424, "Java": 33124}
package com.simplecrud.base.presentation import androidx.lifecycle.ViewModel import io.reactivex.rxjava3.disposables.CompositeDisposable import io.reactivex.rxjava3.disposables.Disposable abstract class BaseViewModel: ViewModel() { // Variables // private val disposables: CompositeDisposable = CompositeDisp...
0
Kotlin
0
0
67a6468860c57593e219f3942e1341198023b6e1
632
simple-crud
MIT License
spring-demo/src/main/kotlin/com/example/demo/JapaneseGreeter.kt
monmaru
113,038,877
false
null
package com.example.demo import org.springframework.stereotype.Component @Component class JapaneseGreeter : Greeter { override fun hello(name: String): String = "こんにちは、$name!" }
0
Kotlin
0
0
f051dfbcc5554c83ed13c15bb52fb736c36978f9
183
kotlin-playground
MIT License
app/src/main/kotlin/com/pickth/habit/view/main/MainPresenter.kt
yh-kim
99,821,226
false
{"Kotlin": 92083}
/* * Copyright 2017 <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...
1
Kotlin
2
2
e767c245a89db166b8e0f075d78fe282a89e6e66
5,158
habit-tracker
Apache License 2.0
SourceEditor/app/src/main/java/com/microsoft/device/display/samples/sourceeditor/SourceEditorApplication.kt
microsoft
272,835,175
false
null
package com.microsoft.device.display.samples.sourceeditor import android.app.Application import com.microsoft.device.dualscreen.ScreenManagerProvider import com.microsoft.device.dualscreen.fragmentshandler.FragmentManagerStateHandler class SourceEditorApplication : Application() { override fun onCreate() { ...
0
Kotlin
14
22
1dcc9cbe555939d687ed44360089e2004c4ac0b2
434
surface-duo-app-samples
MIT License
src/test/kotlin/io/github/aeckar/kanary/KanaryTest.kt
aeckar
794,831,746
false
{"Kotlin": 94436, "Java": 115}
@file:Suppress("SpellCheckingInspection") package io.github.aeckar.kanary import org.junit.jupiter.api.* import org.junit.jupiter.api.assertThrows import java.io.FileInputStream import java.io.FileOutputStream import kotlin.test.assertEquals import kotlin.test.assertIs private inline fun useSerializer(testName: Stri...
0
Kotlin
0
3
e43be92924a2abde82f4506c3160fa2330cf0caa
18,400
kanary
MIT License
src/test/kotlin/io/github/aeckar/kanary/KanaryTest.kt
aeckar
794,831,746
false
{"Kotlin": 94436, "Java": 115}
@file:Suppress("SpellCheckingInspection") package io.github.aeckar.kanary import org.junit.jupiter.api.* import org.junit.jupiter.api.assertThrows import java.io.FileInputStream import java.io.FileOutputStream import kotlin.test.assertEquals import kotlin.test.assertIs private inline fun useSerializer(testName: Stri...
0
Kotlin
0
3
e43be92924a2abde82f4506c3160fa2330cf0caa
18,385
kanary
MIT License
library/src/wasm32Main/kotlin/ru/pocketbyte/kydra/log/WasmLogger.kt
PocketByte
159,979,525
false
null
/* * Copyright © 2019 <NAME>. All rights reserved. * Licensed under the Apache License, Version 2.0 */ package ru.pocketbyte.kydra.log import kotlinx.cinterop.* open class WasmLogger: AbsPrintLogger() { override fun printLog(message: String) { println(message) } override fun stackTrace(excep...
0
Kotlin
3
19
f0023a21fea9f70872f41275f8f6dbdf80ea8eed
532
kotlin-kydra-log
Apache License 2.0
src/main/kotlin/com/github/tyrrx/vb6language/documentation/StringBuilderExtensions.kt
bluehands
511,430,044
false
{"Java": 1027191, "Kotlin": 319653, "ANTLR": 31013}
package com.github.tyrrx.vb6language.documentation import com.github.tyrrx.vb6language.psi.inference.InferenceResult import com.github.tyrrx.vb6language.psi.inference.VB6TypeInferable import com.github.tyrrx.vb6language.psi.scope.VB6VisibilityOwner import com.intellij.lang.documentation.DocumentationMarkup import com....
1
null
1
1
1a742a07d78681a5bd11787a38c72c68cddd7f77
2,658
IntelliJ-VB6-language-support
MIT License
src/app/src/test/kotlin/org/imperial/mrc/hint/integration/ErrorReportTests.kt
mrc-ide
186,620,695
false
{"Markdown": 9, "Dockerfile": 2, "Ignore List": 3, "YAML": 13, "Gradle": 6, "Shell": 19, "Batchfile": 1, "INI": 11, "Java": 23, "HTML": 3, "Text": 6, "Kotlin": 184, "Java Properties": 1, "XML": 4, "JSON": 6, "JavaScript": 6, "JSON with Comments": 2, "FreeMarker": 3, "Fluent": 2, "Vue": 81, "SCSS": 11}
package org.imperial.mrc.hint.integration import com.fasterxml.jackson.databind.JsonNode import com.fasterxml.jackson.databind.ObjectMapper import com.fasterxml.jackson.module.kotlin.readValue import org.assertj.core.api.Assertions import org.junit.jupiter.api.BeforeEach import org.junit.jupiter.api.Test import org.sp...
2
TypeScript
2
1
e5a33d1b15829a48c5a4d330ed03b9576651729b
3,426
hint
MIT License
app/src/main/java/com/goldmen/android/nasa_apod/ui/favorite/FavoriteItemAdaptor.kt
deepak1945
535,346,815
false
null
package com.goldmen.android.nasa_apod.ui.favorite import android.annotation.SuppressLint import android.view.LayoutInflater import android.view.ViewGroup import androidx.recyclerview.widget.RecyclerView import com.bumptech.glide.Glide import com.goldmen.android.nasa_apod.databinding.LayoutFavoriteItemBinding import co...
0
Kotlin
0
2
538b0b13fb95fe56da8c37a61f43a65f1dc369ba
2,550
Goldman-Nasa-Apod
Apache License 2.0
font-awesome/src/commonMain/kotlin/compose/icons/fontawesomeicons/solid/Peace.kt
DevSrSouza
311,134,756
false
null
package compose.icons.fontawesomeicons.solid import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap.Companion.Butt import androidx.compose.ui.graphics.StrokeJoin.Companion....
17
null
25
571
a660e5f3033e3222e3553f5a6e888b7054aed8cd
2,616
compose-icons
MIT License
app/src/main/java/com/permissionx/librarymanagementsystem/logic/dao/UserSPDao.kt
cxp-13
629,091,571
false
null
package com.permissionx.librarymanagementsystem.logic.dao import android.content.Context import android.content.SharedPreferences import androidx.core.content.edit import com.google.gson.Gson import com.permissionx.librarymanagementsystem.LibraryManagementSystemApplication import com.permissionx.librarymanagementsyst...
0
Kotlin
0
0
875ca30eea427d60121674a355181ded3e9a5bd8
1,090
Library-Management-System-APP
Apache License 2.0
connect-pattern/src/test/kotlin/with_connect_result_version/result_type.kt
http4k
336,262,106
false
{"Kotlin": 28755, "Shell": 648}
package with_connect_result_version import common.UserDetails import common.userNameFrom import common.userOrgsFrom import dev.forkhandles.result4k.Failure import dev.forkhandles.result4k.Result import dev.forkhandles.result4k.Success import org.http4k.core.Method import org.http4k.core.Request import org.http4k.core....
2
Kotlin
2
3
6a0a1743392f7f1821a12d4f31ae00f25d90bba7
853
http4k-connect-examples
Apache License 2.0
app/src/main/java/com/domatix/yevbes/nucleus/core/web/route/Route4PathRequest.kt
sm2x
234,568,179
true
{"Kotlin": 782306}
package com.domatix.yevbes.nucleus.core.web.route import com.domatix.yevbes.nucleus.core.entities.route.Route import com.domatix.yevbes.nucleus.core.entities.route.RouteReqBody import io.reactivex.Observable import retrofit2.Response import retrofit2.http.Body import retrofit2.http.POST import retrofit2.http.Path int...
0
null
0
0
237e9496b5fb608f543e98111269da9b91a06ed3
608
nucleus
MIT License
src/main/kotlin/com/importre/example/Hello.kt
importre
89,796,315
false
null
package com.importre.example /** * Hello Object */ object Hello { /** * Returns "Hello $name" * * @param name name [String] * @return "Hello $name" */ @JvmStatic @JvmOverloads fun greeting(name: String = "Kotlin") = "Hello, $name!" }
0
Kotlin
0
3
a20f7880127b23836f27465b2835f4eebd41ce67
279
hello-kotlin
MIT License
02-StartingOnAndroid/verificadordesenha/app/src/main/java/com/example/verificadordesenha/MainActivity.kt
Ishidawg
843,894,268
false
{"Kotlin": 32123}
package com.example.verificadordesenha import android.os.Bundle import android.widget.Button import android.widget.EditText import android.widget.TextView import androidx.appcompat.app.AppCompatActivity class MainActivity : AppCompatActivity() { private val correctPassword = "<PASSWORD>" override fun onCrea...
0
Kotlin
1
0
6edcde0a4908a3b17e71f382131745850c166277
950
Kotlin-university
MIT License
jasy/src/main/java/com/example/jasy/helpers/constants/AnalyticsConstants.kt
vespinola
207,432,505
false
null
package com.example.jasy.helpers.constants class AnalyticsConstants { companion object { val goToDetail = "go_to_apod_detail" val showInfo = "show_apod_info" } }
0
Kotlin
0
0
372259eb46475fa58267d1fca8088f3feacdf0ca
186
jasy-android
MIT License
demo/src/main/kotlin/demo/Main.kt
m-moog
478,288,479
false
null
package demo import org.kontrol.kontrol fun main() = kontrol { packages = arrayOf("demo") }
0
Kotlin
0
0
e8ee58c6f7f372694d72f0a919cdfe09f595672a
97
kontrol
MIT License
remix/src/commonMain/kotlin/com/woowla/compose/icon/collections/remix/remix/business/DonutChartFill.kt
walter-juan
868,046,028
false
{"Kotlin": 34345428}
package com.woowla.compose.icon.collections.remix.remix.business import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap.Companion.Butt import androidx.compose.ui.graphics.S...
0
Kotlin
0
3
eca6c73337093fbbfbb88546a88d4546482cfffc
2,453
compose-icon-collections
MIT License
benchmarks/runner/src/csvPrinter.kt
Kotlin
59,769,494
false
null
/* * Copyright 2016-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.txt file. */ import java.io.File import java.io.FileReader import java.io.FileWriter fun printCsvResults(benchmarkResults: BenchmarkResults, outputPath: String) { val para...
50
null
53
996
c73ce02cf1214f14ec177cc6c2da15677ec98012
2,215
kotlinx.collections.immutable
Apache License 2.0
j2k/tests/testData/ast/isOperator/expression/simpleReference.kt
chirino
3,596,099
true
null
(a is String?)
0
Java
28
71
ac434d48525a0e5b57c66b9f61b388ccf3d898b5
14
kotlin
Apache License 2.0
app/src/main/java/com/example/android_study/ui/materialDesign/MaterialDesignMainActivity.kt
RhythmCoderZZF
281,057,053
false
null
package com.example.android_study.ui.materialDesign import android.os.Bundle import com.example.android_study.R import com.example.android_study._base.BaseActivity import com.example.android_study._base.adapter.Entry import com.example.android_study.ui.materialDesign.appbarlayout.AppbarLayoutActivity import com.exampl...
0
Kotlin
0
0
797cb3961876a1dac95d6438a632742cb9e27ed6
1,188
AndroidStudy
Apache License 2.0
client/app/src/main/java/com/example/healthc/presentation/auth/register/UserNameFragment.kt
Solution-Challenge-HealthC
601,915,784
false
null
package com.example.healthc.presentation.auth.register import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.databinding.DataBindingUtil import androidx.fragment.app.Fragment import androidx.fragment.app.activityViewModels import androidx.lif...
5
Kotlin
1
2
c84a8f4d1bc4cba4c1bad3a1b11fe1933ff23692
2,458
HealthC_Android
MIT License
app/src/main/java/com/sreecleandemo/domain/model/NewsListState.kt
sreebehra
798,859,902
false
{"Kotlin": 16049}
package com.sreecleandemo.domain.model data class NewsListState( val isLoading:Boolean=false, val error:String="", val data:List<Article>?=null )
0
Kotlin
0
0
68a38d2c869d93f6722af07df0bbdd53fb2e1743
159
mvvm-clean-architecture
Apache License 2.0
favourite/src/main/java/com/muvi/favourite/model/genre/GenreList.kt
ezralazuardy
210,104,940
false
null
/* * Created by <NAME> on 10/14/19 9:55 AM * Copyright (c) 2019 . All rights reserved. * Last modified 10/14/19 9:54 AM */ package com.muvi.favourite.model.genre import android.os.Parcelable import kotlinx.android.parcel.Parcelize @Parcelize data class GenreList( val genres: List<Genre> ) : Parcelable
0
Kotlin
0
2
59a4b017246faddf8912fb0d93eb429c78f57115
313
muvi
MIT License
src/test/kotlin/com/mvp/order/application/integration/order/service/ProductServiceTest.kt
lfneves
729,675,910
false
{"Kotlin": 155323, "Gherkin": 5931, "Dockerfile": 153}
package com.mvp.order.application.integration.order.service import com.mvp.order.domain.model.exception.Exceptions import com.mvp.order.domain.service.product.ProductService import com.mvp.order.infrastruture.repository.product.CategoryRepository import com.mvp.order.infrastruture.repository.product.ProductRepository ...
0
Kotlin
0
0
9de7cd13d01c6e93e8f5df28b0805048c7dd324c
2,680
tech-challenge-order
MIT License
app/src/main/java/es/jccarrillo/simplelistkotlin/data/model/Owner.kt
jccarrillocodes
380,493,096
false
null
package es.jccarrillo.simplelistkotlin.data.model data class Owner(var avatarUrl: String = "", var login: String = "")
0
Kotlin
0
1
99d0baa799744ed40f18744c72b9b6054c675b86
120
SimplelistKotling
MIT License
src/main/kotlin/theme/Fonts.kt
SudoDios
681,091,998
false
null
package theme import androidx.compose.material.Typography import androidx.compose.ui.text.TextStyle import androidx.compose.ui.text.font.FontFamily import androidx.compose.ui.text.platform.Font import androidx.compose.ui.unit.sp object Fonts { private val varela = FontFamily( Font( resource =...
0
Kotlin
0
0
5958a222ed1c7f866f89166741354462431a947e
2,181
Plaudio
Apache License 2.0
w3bstream/src/main/java/com/machinefi/w3bstream/repository/network/Service.kt
machinefi
517,869,309
false
{"Kotlin": 7034}
package com.machinefi.w3bstream.repository.network import com.fasterxml.jackson.core.type.TypeReference interface Service { fun send(request: Request): Response? }
0
Kotlin
1
4
e5fd5dccbc96f84337e76db8542ffdac87238d1b
171
w3bstream-android-sdk
Apache License 2.0
app/src/main/java/com/elimone/samtechassignment/featurs/home/domain/usecases/RemoveNotificationUseCase.kt
Eslam-samy
764,548,338
false
{"Kotlin": 42503}
package com.elimone.samtechassignment.featurs.home.domain.usecases import android.util.Log import androidx.paging.PagingData import androidx.paging.map import com.elimone.samtechassignment.featurs.home.data.mapper.toDomainModel import com.elimone.samtechassignment.featurs.home.domain.model.NotificationDomainModel impo...
0
Kotlin
0
0
6aa80093eee1e497ba5e2e06b68ce2d8735de7f4
765
samtech_repo
MIT License
projetofinaldmo/app/src/main/java/br/edu/ifsp/arq/ads/dmo/CadastroGrupoActivity.kt
AfonsoMorvillo
781,478,469
false
{"Kotlin": 61495}
package br.edu.ifsp.arq.ads.dmo import android.app.Activity import android.content.Intent import android.net.Uri import android.os.Bundle import android.provider.MediaStore import android.widget.ArrayAdapter import android.widget.AutoCompleteTextView import android.widget.Button import android.widget.Toast import andr...
0
Kotlin
0
0
337760cffc39fcf00ff2d90ae4dc260c5d3a40a9
7,972
projeto-final-dmo
MIT License
library-syntax-highlighter/src/main/java/com/anytypeio/anytype/library_syntax_highlighter/SyntaxColorSpan.kt
anyproto
647,371,233
false
{"Kotlin": 11623123, "Java": 69306, "Shell": 11350, "Makefile": 1334}
package com.anytypeio.anytype.library_syntax_highlighter import android.text.style.ForegroundColorSpan class SyntaxColorSpan(color: Int) : ForegroundColorSpan(color)
45
Kotlin
43
528
c708958dcb96201ab7bb064c838ffa8272d5f326
167
anytype-kotlin
RSA Message-Digest License
wear/src/main/java/com/vlad1m1r/watchface/settings/base/viewholders/SettingsSliderScaleViewHolder.kt
VladimirWrites
153,897,525
false
null
package com.vlad1m1r.watchface.settings.base.viewholders import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.SeekBar import android.widget.TextView import androidx.annotation.StringRes import androidx.recyclerview.widget.RecyclerView import com.vlad1m1r.watch...
5
Kotlin
21
99
0d54c556bffd7bb3e91fde670ff3baf05b6633bf
1,896
AnalogWatchFace
Apache License 2.0
basick/src/main/java/com/mozhimen/basick/stackk/cons/SLifecycleCallbackEvent.kt
mozhimen
353,952,154
false
null
package com.mozhimen.basick.stackk.cons import android.os.Bundle /** * @ClassName LifecycleCallback * @Description TODO * @Author mozhimen * @Date 2024/7/23 * @Version 1.0 */ sealed class SLifecycleCallbackEvent { data class ON_CTRATE_FIRST(val saveinstancestate: Bundle?) : SLifecycleCallbackEvent() dat...
1
null
14
118
369194ccd4d9f75c7c8c01aab94916ea1012ef8f
740
SwiftKit
Apache License 2.0
src/main/kotlin/pl/net/gwynder/central/security/user/repositories/CentralUserTokenRepository.kt
mikrzem
168,373,172
false
null
package pl.net.gwynder.central.security.user.repositories import pl.net.gwynder.central.common.database.BaseEntityRepository import pl.net.gwynder.central.security.user.entities.CentralUser import pl.net.gwynder.central.security.user.entities.CentralUserToken import java.util.* interface CentralUserTokenRepository : ...
0
Kotlin
0
0
d59cb442b439a50a42ef56b62d8dfc9625e2f808
699
gwynder-central
MIT License
src/main/kotlin/shirates/core/utility/file/JarUtility.kt
ldi-github
538,873,481
false
{"Kotlin": 3668662, "JavaScript": 12703, "CSS": 5036}
package shirates.core.utility.file import shirates.core.logging.TestLog import java.io.FileNotFoundException import java.net.URI import java.nio.charset.StandardCharsets import java.nio.file.FileSystem import java.nio.file.FileSystems import java.nio.file.Files import java.nio.file.Path import java.util.* object Jar...
0
Kotlin
0
8
6d4c8a8cc270775c1ad10443f644f50dab63014e
2,543
shirates-core
Apache License 2.0
samples/demoapp/src/main/java/com/joaquimverges/demoapp/AdvancedListActivity.kt
ngubryan
162,910,336
true
{"Kotlin": 26375}
package com.joaquimverges.demoapp import android.content.res.Configuration import android.os.Bundle import android.support.v7.app.AppCompatActivity import android.support.v7.widget.GridLayoutManager import android.support.v7.widget.LinearLayoutManager import com.joaquimverges.demoapp.presenter.MyListPresenter import c...
0
Kotlin
0
0
e9598294d2d70e31afba9f8a9dd6fed0668f93f4
1,951
Helium
Apache License 2.0
src/commonMain/kotlin/j4k/candycrush/renderer/ScoringRenderer.kt
TobseF
236,862,186
false
null
package j4k.candycrush.renderer import com.soywiz.klock.* import com.soywiz.klogger.* import com.soywiz.korge.animate.* import com.soywiz.korge.view.* import com.soywiz.korinject.* import com.soywiz.korma.interpolation.* import j4k.candycrush.* import j4k.candycrush.lib.* import j4k.candycrush.math.* import j4k.candyc...
1
Kotlin
34
98
842c751c83f2578dd055597be1da601c4dd48de4
3,321
Candy-Crush-Clone
MIT License
example/src/main/kotlin/com/mattworzala/canvas/example/DataReworkTest.kt
mworzala
329,479,882
false
null
@file:JvmName("DataReworkTest") package com.mattworzala.canvas.example import com.mattworzala.canvas.fragment import net.minestom.server.item.ItemStack import net.minestom.server.item.Material fun MySmartFragment() = fragment(9, 1) { item(0, ItemStack.of(Material.GLOWSTONE_DUST)) } fun SmartComposition() = frag...
3
Kotlin
4
9
6a438c0ecef31faa4755d5d839910fc79ef0dd00
1,196
canvas
MIT License
src/main/kotlin/lirand/api/nbt/NbtDataAccessor.kt
dyam0
453,766,342
false
null
package lirand.api.nbt import kotlinx.serialization.SerializationException import kotlinx.serialization.serializer import lirand.api.nbt.serialization.NbtRootDecoder import lirand.api.nbt.serialization.NbtRootEncoder /** * Gives access to change [NbtData] values of certain generic types. */ class NbtDataAccessor(@P...
0
Kotlin
1
12
96cc59d4fbf0db90863499db798907a915e90237
2,385
LirandAPI
MIT License
src/main/kotlin/codegen/feature/FeatureGeneration.kt
andreasmichaelides
364,060,624
false
null
package codegen.feature import codegen.model.MustacheModel import codegen.tools.* import com.github.mustachejava.DefaultMustacheFactory import java.io.File import java.io.StringWriter fun createFeature( featureName: String, packageName: String, corePackageName: String, mustacheFactory: DefaultMustach...
0
Kotlin
0
0
61ec2846e2173444dd6274d5b8c45870b480365b
3,294
flutterCodeGen
MIT License
shared/src/commonMain/kotlin/me/gulya/bitwarden/sdk/BitwardenSdk.kt
IlyaGulya
306,867,791
false
null
package me.gulya.bitwarden.sdk import com.github.aakira.napier.Napier import io.ktor.client.* import io.ktor.client.engine.* import io.ktor.client.features.json.* import io.ktor.client.features.json.serializer.* import io.ktor.client.features.logging.* import kotlinx.serialization.json.Json import me.gulya.bitwarden.a...
0
Kotlin
1
3
9177134c7940d143f1f3da14e6dd56f3102c367d
3,949
bitwarden-client-mpp
MIT License
src/main/kotlin/no/nav/eessi/pensjon/config/RestTemplateConfig.kt
navikt
346,987,628
false
null
package no.nav.eessi.pensjon.config import no.nav.eessi.pensjon.logging.RequestIdHeaderInterceptor import no.nav.eessi.pensjon.logging.RequestResponseLoggerInterceptor import no.nav.eessi.pensjon.security.sts.STSService import no.nav.eessi.pensjon.security.sts.UsernameToOidcInterceptor import org.springframework.beans...
1
Kotlin
0
1
ae7a031fb37ae0436de77f2816054a5658137bf5
1,564
eessi-pensjon-krav-initialisering
MIT License
src/main/kotlin/no/nav/sosialhjelp/modia/soknad/saksstatus/SaksStatusResponse.kt
navikt
216,780,859
false
{"Kotlin": 460027, "Dockerfile": 427}
package no.nav.sosialhjelp.modia.soknad.saksstatus import com.fasterxml.jackson.annotation.JsonFormat import no.nav.sosialhjelp.modia.digisossak.domain.SaksStatus import no.nav.sosialhjelp.modia.digisossak.domain.Utbetaling import no.nav.sosialhjelp.modia.digisossak.domain.UtfallVedtak import java.time.LocalDate data...
6
Kotlin
0
1
9e948ce1f186290c81835b19279883e6e6f0138e
782
sosialhjelp-modia-api
MIT License
common/src/commonMain/kotlin/com/dogify/common/view/BreedsUIState.kt
bytecode0
648,507,882
false
null
package com.dogify.common.view import com.dogify.common.domain.Breed sealed class BreedsUIState<out Any> { object Loading : BreedsUIState<Nothing>() data class Success(val breeds: List<Breed>): BreedsUIState<List<Breed>>() data class Error(val errorDescription: String) : BreedsUIState<String>() }
0
Kotlin
0
1
c9817cecbc9438ca91d2a1a5bfd88940c5e28a77
311
kmmcomposeApp
MIT License
src/main/kotlin/no/nav/familie/ba/sak/integrasjoner/økonomi/UtbetalingsoppdragGenerator.kt
navikt
224,639,942
false
{"Kotlin": 6287469, "Gherkin": 465600, "PLpgSQL": 4478, "Shell": 1628, "Dockerfile": 196}
package no.nav.familie.ba.sak.integrasjoner.økonomi import no.nav.familie.ba.sak.common.Feil import no.nav.familie.ba.sak.integrasjoner.økonomi.ØkonomiUtils.andelerTilOpphørMedDato import no.nav.familie.ba.sak.integrasjoner.økonomi.ØkonomiUtils.andelerTilOpprettelse import no.nav.familie.ba.sak.integrasjoner.økonomi.Ø...
7
Kotlin
1
9
7b881e34cc5c5b689a407ca62e922efacf983520
18,921
familie-ba-sak
MIT License
app/src/main/kotlin/com/thuanpx/mvvm_architecture/data/remote/api/middleware/IntegerAdapter.kt
ThuanPx
285,618,493
false
null
package com.vtnd.lus.data.repository.source.remote.api.middleware import com.google.gson.TypeAdapter import com.google.gson.stream.JsonReader import com.google.gson.stream.JsonToken import com.google.gson.stream.JsonWriter import java.io.IOException class IntegerAdapter : TypeAdapter<Int>() { @Throws(IOException:...
0
null
5
8
2b9b473288b9fd5620ed0d58b071b1edfe32aef6
1,113
MVVM-Architecture
Apache License 2.0
magicmetamodel/src/main/kotlin/org/jetbrains/magicmetamodel/impl/workspacemodel/impl/updaters/transformers/ModuleDetailsToJavaModuleTransformer.kt
JetBrains
521,228,542
false
{"Kotlin": 869454, "Scala": 5185, "Java": 611}
package org.jetbrains.magicmetamodel.impl.workspacemodel.impl.updaters.transformers import ch.epfl.scala.bsp4j.BuildTargetIdentifier import ch.epfl.scala.bsp4j.JvmBuildTarget import org.jetbrains.bsp.utils.extractJvmBuildTarget import org.jetbrains.bsp.utils.extractKotlinBuildTarget import org.jetbrains.bsp.utils.extr...
1
Kotlin
9
9
66ca26cabae76d5e8374666634b4266049072352
5,524
intellij-bsp
Apache License 2.0
app/src/main/java/com/umc/history/Image.kt
duck-positive
582,929,737
false
null
package com.umc.history import android.graphics.Bitmap data class Image( val image : Bitmap? )
0
Kotlin
0
0
bae06314e26b1e91bedb7b766065f183c562ddae
100
HiStory_Refactoring
MIT License
app/src/main/java/org/sirekanyan/knigopis/repository/BookRepository.kt
sirekanian
544,192,861
false
{"Kotlin": 169083, "Java": 3480, "Shell": 1759}
package org.sirekanyan.knigopis.repository import org.sirekanyan.knigopis.common.android.NetworkChecker import org.sirekanyan.knigopis.model.BookDataModel import org.sirekanyan.knigopis.model.BookModel import org.sirekanyan.knigopis.model.dto.FinishedBook import org.sirekanyan.knigopis.model.dto.FinishedBookToSend imp...
1
Kotlin
0
0
ae7abeaa607bcecc53463c95e949640f26bd294e
3,089
knigopis
MIT License
src/commonJvmMain/kotlin/dev/vicart/kteepass/exception/DatabaseDecryptionException.kt
xolider
805,115,721
false
{"Kotlin": 28553}
package dev.vicart.kteepass.exception class DatabaseDecryptionException : RuntimeException("Database decryption failed") { }
0
Kotlin
0
6
b3bb3812c0b81dcc3d12177c3ee330edb3dba68b
125
Kteepass
Apache License 2.0
src/main/kotlin/com/getaround/pycharm/dbt/docs/DbtJinja2FunctionDocsEx.kt
kroo
283,637,586
false
null
package com.getaround.pycharm.dbt.docs import com.getaround.pycharm.dbt.DbtJinja2BuiltinFunction import com.getaround.pycharm.dbt.DbtJinja2Function import com.getaround.pycharm.dbt.services.DbtContextValue import com.getaround.pycharm.dbt.services.resolveResultType import com.getaround.pycharm.dbt.services.resolveValu...
0
Kotlin
1
9
0397c9ea56ff7d07076c372c792b1ad8c845041f
4,208
pycharm-dbt-plugin
Apache License 2.0
library/src/main/java/com/phantomvk/identifier/impl/Thread.kt
phantomVK
821,193,729
false
{"Kotlin": 61717, "Java": 61535, "AIDL": 2959}
package com.phantomvk.identifier.impl import android.os.Handler import android.os.Looper private val mainHandler = Handler(Looper.getMainLooper()) internal fun runOnMainThread(delayMillis: Long = 0, runnable: Runnable) { if (Looper.getMainLooper() == Looper.myLooper()) { runnable.run() return } if (de...
0
Kotlin
1
3
19888c92ad2f715b5681fd2d4ba47af1e59e52d9
436
Identifier
Apache License 2.0
app/src/main/java/com/hopovo/mobile/android/prepexam/app/common/util/PhotoUtils.kt
MilanZk
276,394,492
false
{"Kotlin": 192502, "Shell": 1098}
package com.hopovo.mobile.android.prepexam.app.common.util import android.content.res.Resources import android.graphics.Bitmap import android.graphics.BitmapFactory import android.os.Environment import android.util.Base64 import java.io.ByteArrayOutputStream import java.io.File import java.io.IOException import java.t...
0
Kotlin
0
1
24c7634eb76e720e45025e7142886b6834cbfb1d
2,063
chillupbox
MIT License
src/main/kotlin/day22/part2/Game.kt
bagguley
329,976,670
false
null
package day22.part2 class Game(player1: List<Int>, player2: List<Int>) { private val previousPlayer1 = mutableListOf<List<Int>>() private val previousPlayer2 = mutableListOf<List<Int>>() val player1 = player1.toMutableList() val player2 = player2.toMutableList() fun playGame(): Int { while...
0
Kotlin
0
0
6afa1b890924e9459f37c604b4b67a8f2e95c6f2
2,348
adventofcode2020
MIT License
contour-lint/src/test/java/com/squareup/contour/lint/NestedContourLayoutsDetectorTest.kt
saket
284,194,548
false
null
/* * Copyright 2020 Square Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
14
null
52
2
ba21f32cbc37165aa5f6efe4bf9de5d79aba554b
8,128
contour
Apache License 2.0
src/main/kotlin/io/klira/auth0/m2m/TokenService.kt
zensum
216,865,904
false
null
package io.klira.auth0.m2m import java.time.Duration interface TokenService { /** * Retrieve an authentication token. * * If a token is cached, use it if * 1. It is no older than [maxAge] *and* * 2. The time until the token expires is equal to * or greater than [expirationThreshold]...
0
Kotlin
0
0
b4c1d86d46549f1cb88ea943647b9cc358b041ed
977
auth0-m2m
MIT License
wear/src/main/java/com/vlad1m1r/watchface/settings/base/viewholders/ColorPickerViewHolder.kt
VladimirWrites
153,897,525
false
null
package com.vlad1m1r.watchface.settings.base.viewholders import android.content.Intent import android.content.res.ColorStateList import android.graphics.Color import android.graphics.drawable.GradientDrawable import android.view.View import android.widget.TextView import androidx.activity.result.ActivityResultLauncher...
2
Kotlin
13
59
5feb7720d1a9f7d058e77e69ad841f7f3eb9b5bc
1,745
AnalogWatchFace
Apache License 2.0
test/src/me/anno/tests/utils/MedianTest.kt
AntonioNoack
456,513,348
false
{"Kotlin": 9788328, "C": 235991, "Java": 6754, "Lua": 4404, "GLSL": 2698}
package me.anno.tests.utils import me.anno.utils.search.Median.kthElement import org.junit.jupiter.api.Test import kotlin.test.assertEquals class MedianTest { @Test fun testKthElement() { val n = 50 val list = ArrayList((0 until n).toList()) for (k in 0 until n) { list.shuf...
0
Kotlin
3
18
b17b6be9106134fcc67dbdace20b0e8139d48bb1
433
RemsEngine
Apache License 2.0
app/src/main/kotlin/me/zhiyao/waterever/ui/widgets/EmptyViewHolder.kt
WangZhiYao
243,558,800
false
null
package me.zhiyao.waterever.ui.widgets import androidx.recyclerview.widget.RecyclerView import me.zhiyao.waterever.databinding.ItemEmptyBinding /** * * @author WangZhiYao * @date 2020/8/14 */ class EmptyViewHolder(itemViewBinding: ItemEmptyBinding) : RecyclerView.ViewHolder(itemViewBinding.root)
0
Kotlin
0
0
232f20d623209eb2b9fb889aeb05af6ec3fee535
306
WaterEver
Apache License 2.0
app/src/main/java/moe/feng/danmaqua/ui/settings/list/PatternRulesItemDelegate.kt
danmaqua
237,640,502
false
null
package moe.feng.danmaqua.ui.settings.list import android.view.ContextMenu import android.view.MenuInflater import android.view.View import moe.feng.danmaqua.R import moe.feng.danmaqua.data.PatternRulesDao import moe.feng.danmaqua.databinding.ManagePatternRulesItemBinding import moe.feng.danmaqua.model.PatternRulesIte...
1
Kotlin
9
137
68694b9f1e575af8541680afe96e2a3108338828
1,968
danmaqua-android
Apache License 2.0
ocpp-1-6-core/src/main/kotlin/com/izivia/ocpp/core16/model/changeconfiguration/ChangeConfigurationReq.kt
IZIVIA
501,708,979
false
{"Kotlin": 1934096}
package com.izivia.ocpp.core16.model.changeconfiguration import com.izivia.ocpp.core16.model.Request data class ChangeConfigurationReq( val key: String, val value: String ) : Request
6
Kotlin
10
32
bd8e7334ae05ea75d02d96a508269acbe076bcd8
193
ocpp-toolkit
MIT License
data/src/main/java/com/mikhaellopez/data/di/ProcessorModule.kt
lopspower
522,617,808
false
{"Kotlin": 168656, "Java": 749}
package com.mikhaellopez.data.di import org.koin.core.annotation.ComponentScan import org.koin.core.annotation.Module @Module @ComponentScan("com.mikhaellopez.data.persistence.processor") class ProcessorModule
0
Kotlin
6
111
ce41ce693cdb09facc455224b8af8fedcff74ad1
212
PokeCardCompose
Apache License 2.0
RailArea/src/main/kotlin/city/newnan/railarea/input/StationInput.kt
NewNanCity
467,094,551
false
null
package city.newnan.railarea.input import city.newnan.railarea.PluginMain import city.newnan.railarea.config.Station import city.newnan.violet.gui.PlayerGuiSession fun handleStationInput(session: PlayerGuiSession, oldStation: Station?, setStation: (station: Station?) -> Unit) { val player = session.player var...
0
Kotlin
0
5
64a016d822c281ab74d060606f957f93947d958a
2,337
Plugins
MIT License
jipp-core/src/main/java/com/hp/jipp/model/Types.kt
GladeDiviney
204,985,808
true
{"Kotlin": 630166, "Java": 314175, "Python": 38779, "Shell": 1417}
// Copyright 2018 HP Development Company, L.P. // SPDX-License-Identifier: MIT // // DO NOT MODIFY. Code is auto-generated by genTypes.py. Content taken from registry at // https://www.iana.org/assignments/ipp-registrations/ipp-registrations.xml, updated on 2019-05-28 @file:Suppress("MaxLineLength", "WildcardImport", "...
1
Kotlin
0
0
a339430999383f9a4d8044fed1d402b764fd0a1f
183,196
jipp
MIT License
app/src/main/java/com/mcgars/basekitkotlin/App.kt
McGars
78,434,865
false
null
package com.mcgars.basekitkotlin import android.app.Application import com.mcgars.basekitk.config.KitBuilder import com.mcgars.basekitk.config.KitConfiguration /** * Created by gars on 16.05.17. */ class App : Application(), KitConfiguration { val kitConfig = KitBuilder.getInstance() ...
0
Kotlin
0
2
27c369e62d93c2cb03a3ec4b4b7dcd6eb783a306
471
basekitk
Apache License 2.0
src/test/kotlin/JsonTests.kt
LionWeb-io
765,258,260
false
{"Kotlin": 38446, "Mustache": 2844}
import io.lionweb.lionweb.SerializationChunk import kotlinx.serialization.encodeToString import kotlinx.serialization.json.Json import org.junit.jupiter.api.Assertions import org.junit.jupiter.api.BeforeAll import org.junit.jupiter.api.Test class JsonTests { @get:BeforeAll private val jsonInstance = Json { ...
0
Kotlin
0
0
09afebf418177c0a46f5ffcb70a00a82d0f5b8db
2,081
lionweb-modelix-adapter
Apache License 2.0
src/main/java/ru/hollowhorizon/hc/client/textures/GifTexture.kt
HollowHorizon
450,852,365
false
{"Kotlin": 1186410, "Java": 255571, "GLSL": 44983}
/* * MIT License * * Copyright (c) 2024 HollowHorizon * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, mo...
1
Kotlin
4
19
fb83b03db7ea12ab3e156a52f2473e09cf790a56
5,475
HollowCore
MIT License
geary-papermc-tracking/src/main/kotlin/com/mineinabyss/geary/papermc/tracking/items/systems/LoginListener.kt
MineInAbyss
592,086,123
false
null
package com.mineinabyss.geary.papermc.tracking.items.systems import com.mineinabyss.geary.papermc.tracking.entities.toGeary import com.mineinabyss.geary.papermc.tracking.items.cache.PlayerItemCache import org.bukkit.event.EventHandler import org.bukkit.event.Listener import org.bukkit.event.player.PlayerJoinEvent cla...
0
Kotlin
0
1
afb0722015f1d6206b89cc09e210814361decd47
492
geary-papermc
MIT License
v16/src/jvmMain/kotlin/com/monta/ocpp/emulator/v16/data/repository/ChargePointTransactionRepository.kt
monta-app
789,343,716
false
{"Kotlin": 355578}
package com.monta.ocpp.emulator.v16.data.repository import com.monta.ocpp.emulator.v16.data.entity.ChargePointTransaction import com.monta.ocpp.emulator.v16.data.entity.ChargePointTransactionDAO import org.koin.core.annotation.Singleton @Singleton class ChargePointTransactionRepository { fun getByExternalId( ...
4
Kotlin
1
70
0fa2edac16298fb9bad3af01b83d2341a41890e6
516
ocpp-emulator
Apache License 2.0
defitrack-rest/defitrack-protocol-service/src/main/java/io/defitrack/protocol/balancer/pooling/history/BalancerArbitrumPoolingHistoryProvider.kt
decentri-fi
426,174,152
false
{"Kotlin": 1038532, "Java": 1948, "Dockerfile": 909}
package io.defitrack.protocol.balancer.pooling.history import io.defitrack.conditional.ConditionalOnCompany import io.defitrack.protocol.Company import io.defitrack.protocol.balancer.pooling.BalancerArbitrumPoolingMarketProvider import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty import org.s...
53
Kotlin
7
9
e65843453e4c44f5c2626870ceb923eb7ab3c4d0
691
defi-hub
MIT License
app/src/main/java/com/alexmercerind/envirocar/data/remote/envirocar/dto/Properties.kt
alexmercerind
774,371,457
false
{"Kotlin": 18730}
package com.alexmercerind.envirocar.data.remote.envirocar.dto import com.google.gson.annotations.SerializedName import androidx.annotation.Keep @Keep data class Properties( @SerializedName("id") val id: String, @SerializedName("phenomenons") val phenomenons: Phenomenons, @SerializedName("time") ...
0
Kotlin
0
0
e2b1ea19885c55a13d3139d753de74ab9b4a2bf7
341
task
Apache License 2.0
cameraxtension/src/main/java/com/androidxtensions/cameraxtension/SurfaceProviderBinder.kt
jlynchsd
624,228,476
false
null
package com.androidxtensions.cameraxtension import android.annotation.SuppressLint import android.content.Context import android.content.ContextWrapper import android.graphics.Rect import android.hardware.display.DisplayManager import android.util.Size import android.view.Surface import android.view.SurfaceHolder impo...
0
Kotlin
0
0
576f3b8000a8f682e895c6f077a6d75a12070c27
11,562
AndroidXtensions
Apache License 2.0
src/test/java/io/github/gr72s/lsp4k/test_server.kt
gr72s
849,188,682
false
{"Kotlin": 26518}
package io.github.gr72s.lsp4k /* * @author <NAME> * @email <EMAIL> * @date 2024-08-29 14:18 */ fun main() { val bootstrap = Bootstrap.Builder.setInterfaces(listOf(InterfaceA::class.java)).setServices(listOf(InterfaceAImpl())) .build(false) bootstrap.start() println(bootstr...
0
Kotlin
0
1
9406753944c75f56d53cb6ad7bd160a866d3ef8f
325
lsp4k
MIT License