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
DroidMedia/medialibs/cameraLib/src/main/kotlin/com/me/harris/cameralib/misc/_CameraCapabilities.kt
Haldir65
55,217,175
false
{"Markdown": 61, "Dockerfile": 3, "Text": 47, "Ignore List": 34, "YAML": 32, "JSON": 3, "Gradle Kotlin DSL": 17, "Java Properties": 6, "Shell": 89, "Batchfile": 20, "EditorConfig": 1, "Makefile": 41, "INI": 26, "Gradle": 19, "Proguard": 27, "Kotlin": 348, "XML": 264, "TOML": 1, "Java": 594, "GLSL": 110, "Motorola 68K A...
package com.me.harris.cameralib.misc import android.hardware.camera2.CameraCharacteristics import android.hardware.camera2.CameraManager import android.util.Log internal fun getCameraHardwareSupport(cameraManager:CameraManager) { // cameraCharacteristics: 相机设备的属性类, // 通过 CameraManager 的 getCameraCharacteristi...
1
null
1
1
f117ab6ef4a6c8874030cb5cd78aa72259158cf9
1,630
Camera2Training
MIT License
auth/src/main/kotlin/com/example/auth/client/feign/kakao/KakaoFeignRepository.kt
lucky-treee
597,659,992
false
{"Java": 84158, "Kotlin": 28435}
package com.example.auth.client.feign.kakao import org.springframework.stereotype.Repository @Repository class KakaoFeignRepository( private val kakaoTokenFeignClient: KakaoTokenFeignClient, private val kakaoUserFeignClient: KakaoUserFeignClient, ) { fun getToken(tokenRequest: String) = kakaoTokenFeignCli...
1
null
1
1
52415d08b02b89dfaf3ef5c1f8d4ee37ac2530eb
435
diamond
MIT License
gradle-compiler/src/main/kotlin/com/prestongarno/kotlinq/compiler/Schema.kt
prestongarno
98,687,463
false
{"Git Config": 1, "Gradle": 10, "XML": 1, "Shell": 2, "Ignore List": 1, "Batchfile": 1, "YAML": 2, "Text": 1, "Markdown": 8, "Kotlin": 130, "GraphQL": 3, "Java": 5, "ANTLR": 2, "Java Properties": 1, "INI": 1}
/* * Copyright (C) 2018 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
1
null
1
1
a9e8dab66e2704aab1434f76cff7129d84494796
758
kotlinq
Apache License 2.0
src/main/kotlin/com/willoutwest/kalahari/render/orders/RandomDrawingOrder.kt
wbknez
217,644,047
false
null
package com.willoutwest.kalahari.render.orders import com.willoutwest.kalahari.math.RandomUtils import com.willoutwest.kalahari.render.Bounds import com.willoutwest.kalahari.render.Coords import com.willoutwest.kalahari.render.DrawingOrder import com.willoutwest.kalahari.util.fisherShuffle /** * Represents an implem...
0
Kotlin
0
0
46b1b3de9474dda22291a33b93a9b40b634c29c0
742
kalahari
Apache License 2.0
Android-project-master/app/src/main/java/com/example/exercitarparaasadeconquistar/PerfildoUsuario.kt
thiagomotaPE
650,369,950
false
null
package com.example.exercitarparaasadeconquistar import android.annotation.SuppressLint import android.content.Intent import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.view.View import android.widget.TextView class PerfildoUsuario : AppCompatActivity() { @SuppressLint("Missin...
0
Kotlin
0
0
bff474cc2952a3af44c2cb12a1033420ead75f04
1,287
projeto-kotlin
MIT License
goProControllerAndroid/src/main/java/com/bortxapps/goprocontrollerandroid/feature/connection/decoder/BleMapDecoder.kt
neoBortx
692,337,190
false
{"Kotlin": 407044, "Java": 572}
package com.bortxapps.goprocontrollerandroid.feature.connection.decoder import android.util.Log import com.bortxapps.goprocontrollerandroid.infrastructure.ble.data.BleNetworkMessage import kotlinx.serialization.encodeToString import kotlinx.serialization.json.Json import kotlinx.serialization.json.JsonArray import kot...
0
Kotlin
0
1
af74220e86c7b5574b0f70abe8b2feffcd87240f
3,091
goProController
Apache License 2.0
project-system-gradle-models/src/com/android/tools/idea/gradle/model/impl/IdeSigningConfigImpl.kt
JetBrains
60,701,247
false
null
/* * 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...
5
null
227
948
10110983c7e784122d94c7467e9d243aba943bf4
981
android
Apache License 2.0
app/src/main/java/com/example/dnaloaderviewkt1/MainActivity.kt
IPH-Technologies-Pvt-Ltd
693,521,111
false
{"Kotlin": 6455}
package com.example.dnaloaderviewkt1 import android.os.Bundle import android.os.Handler import android.os.Looper import androidx.appcompat.app.AppCompatActivity class MainActivity : AppCompatActivity() { private lateinit var dnaLoaderView: DnaLoaderView override fun onCreate(savedInstanceState: Bundle?) { ...
0
Kotlin
0
0
cf902675a69074d29e5751b8d657df4cebd7c3d0
646
Custom-DNA-Loader-Android
MIT License
app/src/main/java/com/tommannson/familycooking/infrastructure/cameraPicker/ExifImageRotator.kt
TomMannson
742,552,338
false
{"Kotlin": 194627}
package com.tommannson.familycooking.infrastructure.cameraPicker import android.app.Activity import android.graphics.Bitmap import android.graphics.BitmapFactory import android.graphics.Matrix import android.net.Uri import androidx.core.net.toFile import androidx.exifinterface.media.ExifInterface import java.io.File ...
0
Kotlin
0
0
b18a988014fd7875d525479f3bd350a219e0cbce
1,829
CookMe
MIT License
app/src/main/java/com/breezehungrybee/features/addAttendence/model/LeaveTypeResponseModel.kt
DebashisINT
863,346,668
false
{"Kotlin": 15849418, "Java": 1029592}
package com.breezehungrybee.features.addAttendence.model import com.breezehungrybee.base.BaseResponse /** * Created by Saikat on 22-11-2018. */ class LeaveTypeResponseModel : BaseResponse() { var leave_type_list: ArrayList<LeaveTypeDataModel>? = null }
0
Kotlin
0
0
c76e59331c57a9188c840b52c72dec40164db090
260
HungryBee
Apache License 2.0
src/test/kotlin/net/json/jsonm/JsonMatcherTest.kt
xhuang2020
808,859,041
false
{"Kotlin": 44674, "ANTLR": 2239}
package net.json.jsonm import assertk.assertThat import assertk.assertions.isEqualTo import net.json.jsonm.JsonMatcher.Companion.matchJson import org.junit.jupiter.api.TestInstance import org.junit.jupiter.api.TestInstance.Lifecycle.PER_CLASS import org.junit.jupiter.params.ParameterizedTest import org.junit.jupiter.p...
0
Kotlin
0
0
774f5ea9eabcce7c829665f1aefcb54bdf7498db
10,928
json-m
MIT License
shared/src/commonMain/kotlin/com/jetbrains/kmm/shared/data/local/TodoDataBase.kt
KAMIKAZE-repo
471,435,866
false
null
package com.jetbrains.kmm.shared.data.local import com.example.db.AppDataBase import com.squareup.sqldelight.db.SqlDriver import com.squareup.sqldelight.runtime.coroutines.asFlow import com.squareup.sqldelight.runtime.coroutines.mapToList import comexampledb.TodoEntity import kotlinx.coroutines.Dispatchers import kotl...
0
Kotlin
0
0
8bcae33d19420108243b1e3ae2352f072dbb8476
1,229
kmm_demo
Apache License 2.0
rounded/src/commonMain/kotlin/me/localx/icons/rounded/outline/TruckPickup.kt
localhostov
808,861,591
false
{"Kotlin": 79430321, "HTML": 331, "CSS": 102}
package me.localx.icons.rounded.outline import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap.Companion.Butt import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter...
1
Kotlin
0
5
cbd8b510fca0e5e40e95498834f23ec73cc8f245
3,400
icons
MIT License
hoplite-hocon/src/test/kotlin/com/sksamuel/hoplite/hocon/ValueClassTest.kt
Masses
215,162,254
true
{"Kotlin": 173108, "Shell": 126}
package com.sksamuel.hoplite.hocon import com.sksamuel.hoplite.ConfigException import com.sksamuel.hoplite.ConfigLoader import com.sksamuel.hoplite.decoder.ValueType import io.kotlintest.shouldBe import io.kotlintest.shouldThrow import io.kotlintest.specs.FunSpec class ValueClassTest : FunSpec({ test("decoding int...
0
Kotlin
0
0
f43c84c648069b7f3c6b3740f17a087d4efff3ec
1,131
hoplite
Apache License 2.0
src/commonMain/kotlin/extra/kotlin/collection/WeakHashMap.kt
kotlin-extra-library
166,488,380
false
null
package extra.kotlin.collection expect class WeakHashMap<K: Any, V>() : MutableMap<K, V>
5
Kotlin
3
35
c461714c39a0cf16e7bb46f8d90f8ce86b53687e
90
kotlin-extlib
Apache License 2.0
app/src/main/java/com/shevelev/wizard_camera/activity_main/fragment_camera/model/orientation/OrientationManager.kt
AlShevelev
262,626,159
false
null
package com.shevelev.wizard_camera.activity_main.fragment_camera.model.orientation import androidx.camera.core.impl.ImageOutputConfig import com.shevelev.wizard_camera.activity_main.fragment_camera.model.dto.ScreenOrientation interface OrientationManager { val screenOrientation: ScreenOrientation @ImageOutpu...
1
Kotlin
5
53
61adcb56875f38ec92b66a686b9449efef580f74
405
WizardCamera
Apache License 2.0
app/src/main/java/com/spin/id/api/response/mission/mission/MissionData.kt
RifqiFadhell
501,564,017
false
null
package com.spin.id.api.response.mission.mission data class MissionData( val task: List<Task>, val banner_title: String, val banner_caption: String, val user_spin_token: Int )
0
Kotlin
0
0
ac0082e9f8ce71f3e17c758e59d925bfed2ec753
192
SPIN
Apache License 2.0
app/src/main/java/io/ak1/paper/ui/screens/setting/SettingsScreen.kt
akshay2211
165,540,070
false
null
@file:OptIn(ExperimentalMaterial3Api::class) package io.ak1.paper.ui.screens.setting import android.util.Log import androidx.compose.foundation.background import androidx.compose.foundation.layout.* import androidx.compose.foundation.shape.CircleShape import androidx.compose.material3.* import androidx.compose.runtim...
5
Kotlin
25
150
44fd2eebfc52adee516d64171aef03f64fdbe1c1
12,388
Paper
Apache License 2.0
Corona-Warn-App/src/main/java/de/rki/coronawarnapp/submission/ui/homecards/RapidTestReadyCard.kt
corona-warn-app
268,027,139
false
null
package de.rki.coronawarnapp.submission.ui.homecards import android.view.ViewGroup import de.rki.coronawarnapp.R import de.rki.coronawarnapp.coronatest.type.rapidantigen.SubmissionStateRAT import de.rki.coronawarnapp.databinding.HomeSubmissionRapidStatusCardReadyBinding import de.rki.coronawarnapp.submission.ui.homeca...
6
Kotlin
514
2,495
d3833a212bd4c84e38a1fad23b282836d70ab8d5
1,374
cwa-app-android
Apache License 2.0
Persistence/app/src/main/java/com/example/persistence/MainActivity.kt
pavponn
295,651,660
false
null
package com.example.persistence import android.content.Context import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.util.Log import android.view.Menu import android.view.MenuItem import android.view.View import androidx.lifecycle.ViewModel import androidx.lifecycle.ViewModelProviders...
0
Kotlin
0
0
eed9899ed3dd7847f0c146eaf28f54a21fdb0622
8,692
android-itmo
MIT License
app/src/main/java/com/gw/mvvm/wan/ui/fragment/search/SearchFragment.kt
play0451
347,845,609
false
null
package com.gw.mvvm.wan.ui.fragment.search import android.os.Bundle import androidx.appcompat.widget.SearchView import androidx.recyclerview.widget.LinearLayoutManager import com.afollestad.materialdialogs.MaterialDialog import com.blankj.utilcode.util.KeyboardUtils import com.google.android.flexbox.FlexDirection impo...
0
Kotlin
0
0
bbf15ccf5eddb470f3841a97d79c76a867c213fd
4,959
wan-android-jetpack-mvvm-practice
MIT License
sphinx/screens/threads/threads/src/main/java/chat/sphinx/threads/ui/ThreadsViewModel.kt
stakwork
340,103,148
false
null
package chat.sphinx.threads.ui import android.app.Application import android.content.* import androidx.lifecycle.SavedStateHandle import androidx.lifecycle.viewModelScope import chat.sphinx.chat_common.ui.viewstate.messageholder.ReplyUserHolder import chat.sphinx.concept_repository_chat.ChatRepository import chat.sphi...
66
Kotlin
7
14
5f4eeb618a9f6e1941b0698b572519699febcaf6
8,150
sphinx-kotlin
MIT License
kstorage/src/commonMain/kotlin/ru/astrainteractive/klibs/kstorage/api/provider/ValueFactory.kt
makeevrserg
669,073,378
false
{"Kotlin": 24337}
package ru.astrainteractive.klibs.kstorage.api.provider fun interface ValueFactory<out T> { fun create(): T }
0
Kotlin
0
1
67d7a37b58b8112687b9af42e8c8e80a4df22f6f
115
klibs.kstorage
Apache License 2.0
sample/src/main/java/com/cleveroad/blur_tutorial/sample/ui/tracking/TrackingVM.kt
Cleveroad
212,514,628
false
null
package com.cleveroad.blur_tutorial.sample.ui.tracking import android.app.Application import androidx.lifecycle.MutableLiveData import com.cleveroad.blur_tutorial.sample.ui.base.BaseVM import io.reactivex.Flowable import io.reactivex.android.schedulers.AndroidSchedulers import java.util.concurrent.TimeUnit import kotl...
4
Kotlin
19
151
756c2c36d86c5263b5ea805ed43da5df5be45b33
2,238
BlurTutorial
MIT License
app/src/main/java/com/rerere/iwara4a/ui/component/Chip.kt
jiangdashao
349,642,808
false
null
package com.rerere.iwara4a.ui.component import androidx.compose.animation.AnimatedVisibility import androidx.compose.foundation.layout.Row import androidx.compose.foundation.layout.padding import androidx.compose.foundation.shape.RoundedCornerShape import androidx.compose.material.icons.Icons import androidx.compose.m...
8
Kotlin
39
636
5ec0ad6068d5f48bfb81d269f7e34e1f4b511ca5
1,563
iwara4a
Apache License 2.0
app/src/main/java/ru/kapitoxa/mywallet/operations/OperationsViewModel.kt
kapitoxa
148,338,105
false
null
package ru.kapitoxa.mywallet.operations import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import androidx.lifecycle.ViewModel import ru.kapitoxa.mywallet.database.Operation import ru.kapitoxa.mywallet.database.OperationDetail import ru.kapitoxa.mywallet.database.WalletDatabaseDao class Oper...
0
Kotlin
0
1
c89578df3065b385b28ee2741e9b13d628009900
1,279
my-wallet
Apache License 2.0
app/src/main/java/jp/juggler/subwaytooter/action/CustomShare.kt
dengzhicheng092
273,178,424
true
{"Kotlin": 2598700, "Java": 1605147, "Perl": 61230}
package jp.juggler.subwaytooter.action import android.content.* import android.graphics.PorterDuff import android.graphics.drawable.Drawable import androidx.core.content.ContextCompat import jp.juggler.subwaytooter.App1 import jp.juggler.subwaytooter.Pref import jp.juggler.subwaytooter.R import jp.juggler.subwaytooter...
0
null
0
0
c03a5ff731b6056e7fafec4b07e00733eeda02da
5,171
SubwayTooter
Apache License 2.0
shared/src/commonMain/kotlin/com/codewithfk/eventhub/core/presentation/AppTheme.kt
furqanullah717
698,728,291
false
{"Kotlin": 30374, "Swift": 802}
package com.codewithfk.eventhub.core.presentation import androidx.compose.runtime.Composable @Composable expect fun AppTheme(isDarkMode:Boolean ,content: @Composable () -> Unit)
0
Kotlin
0
1
3fef665a629961095f598348627e52d4edee48f5
178
KMM-Template
MIT License
instantsearch/src/commonMain/kotlin/com/algolia/instantsearch/filter/facet/FacetListView.kt
algolia
55,971,521
false
{"Kotlin": 690317}
package com.algolia.instantsearch.filter.facet import com.algolia.instantsearch.core.selectable.list.SelectableListView import com.algolia.search.model.search.Facet public typealias FacetListView = SelectableListView<Facet>
15
Kotlin
30
156
eaf37a61303a8b9c5688a596e8aeab29dfbba398
226
instantsearch-android
Apache License 2.0
feature-polkaswap-impl/src/main/kotlin/jp/co/soramitsu/polkaswap/impl/presentation/disclaimer/PolkaswapDisclaimerFragment.kt
soramitsu
278,060,397
false
{"Kotlin": 4374245, "Java": 18796}
package jp.co.soramitsu.polkaswap.impl.presentation.disclaimer import androidx.compose.foundation.layout.PaddingValues import androidx.compose.runtime.Composable import androidx.compose.runtime.collectAsState import androidx.compose.runtime.getValue import androidx.fragment.app.viewModels import dagger.hilt.android.An...
13
Kotlin
22
74
73544be054848cb719ef2d433e7fe57dffecaab8
810
fearless-Android
Apache License 2.0
sample/src/main/kotlin/me/dmdev/rxpm/sample/main/ui/country/ChooseCountryScreen.kt
Jeevuz
98,345,244
true
{"Kotlin": 109738}
package me.dmdev.rxpm.sample.main.ui.country import android.os.Bundle import android.support.v7.widget.LinearLayoutManager import android.view.View import com.jakewharton.rxbinding2.view.clicks import kotlinx.android.synthetic.main.screen_choose_country.* import me.dmdev.rxpm.sample.App import me.dmdev.rxpm.sample.R i...
0
Kotlin
0
0
41621a9ff46e63cb628e907697afca44996c54da
2,201
RxPM
MIT License
app/src/main/kotlin/org/jw/warehousecontrol/presentation/model/state/VolunteerDetailState.kt
anandacamara
739,857,108
false
{"Kotlin": 83107}
package org.jw.warehousecontrol.presentation.model.state import org.jw.warehousecontrol.presentation.model.ItemModel sealed class VolunteerDetailState { data class Success(val items: List<ItemModel>): VolunteerDetailState() data class ShowSuccessMessage(val message: String): VolunteerDetailState() object ...
0
Kotlin
0
0
f4f704cedb41cb4cc536fb7678fbb3371e44a05c
396
warehouse_control
MIT License
mongodb/kotlin/src/test/kotlin/example/springdata/mongodb/people/FlowAndCoroutinesTests.kt
spring-projects
16,381,571
false
{"Java": 3400617, "Kotlin": 27075, "HTML": 11658, "CSS": 407}
/* * Copyright 2019-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
19
Java
3398
5,194
ae7cb66e3fe3fc499ee4722f66e6358d6e2bc345
3,133
spring-data-examples
Apache License 2.0
src/main/kotlin/no/nav/hjelpemidler/soknad/mottak/river/BehovsmeldingIkkeBehovForBrukerbekreftelseDataSink.kt
navikt
326,995,575
false
{"Kotlin": 178959, "Dockerfile": 217}
package no.nav.hjelpemidler.soknad.mottak.river import io.github.oshai.kotlinlogging.KotlinLogging import no.nav.helse.rapids_rivers.JsonMessage import no.nav.helse.rapids_rivers.MessageContext import no.nav.helse.rapids_rivers.RapidsConnection import no.nav.helse.rapids_rivers.River import no.nav.hjelpemidler.behovsm...
0
Kotlin
0
0
92678f121bfd1403c795820327f21c0a881a889f
5,581
hm-soknadsbehandling
MIT License
src/test/kotlin/no/nav/familie/ef/iverksett/økonomi/simulering/SimuleringUtilKtTest.kt
navikt
357,821,728
false
{"Kotlin": 792921, "Gherkin": 73556, "Dockerfile": 131}
package no.nav.familie.ef.iverksett.økonomi.simulering import io.mockk.every import io.mockk.mockk import no.nav.familie.ef.iverksett.posteringer import no.nav.familie.kontrakter.felles.simulering.DetaljertSimuleringResultat import no.nav.familie.kontrakter.felles.simulering.FagOmrådeKode import no.nav.familie.kontrak...
2
Kotlin
0
0
4674a824ac63bc7c506ffa5b310b297161f8ef9d
3,429
familie-ef-iverksett
MIT License
tabulate-core/src/main/kotlin/io/github/voytech/tabulate/components/container/model/Container.kt
voytech
262,033,710
false
{"Kotlin": 809513, "Java": 7496, "Shell": 679}
package io.github.voytech.tabulate.components.container.model import io.github.voytech.tabulate.components.container.opration.ContainerRenderable import io.github.voytech.tabulate.core.layout.LayoutProperties import io.github.voytech.tabulate.core.layout.impl.FlowLayout import io.github.voytech.tabulate.core.model.* i...
15
Kotlin
0
2
d9500199a3aa5511e27ee20ff1b7a0bb9ca392b5
1,918
tabulate
Apache License 2.0
tgbotapi.core/src/jsMain/kotlin/dev/inmo/tgbotapi/requests/abstracts/MPPFileMultipartFileActual.kt
InsanusMokrassar
163,152,024
false
{"Kotlin": 3243076, "Shell": 373}
package dev.inmo.tgbotapi.requests.abstracts import dev.inmo.micro_utils.common.* import io.ktor.utils.io.ByteReadChannel actual fun MPPFile.asMultipartFile(): MultipartFile = bytesSync().asMultipartFile( filename.name )
13
Kotlin
29
358
482c375327b7087699a4cb8bb06cb09869f07630
227
ktgbotapi
Apache License 2.0
library/src/main/java/com/jaychang/extensions/util/DurationFormatUtils.kt
jaychang0917
105,377,556
false
null
package com.jaychang.extensions.util object DurationFormatUtils { fun formatHMS(millis: Long, fullFormat: Boolean = false): String { val duration = millis / 1000 val hours = duration / 3600 val minutes = (duration % 3600) / 60 val seconds = duration % 60 return if (hours > 0 || fullFormat) Strin...
1
Kotlin
1
6
3a796425aa18798ceac028e2728af25bad1b0788
425
AndroidExtensions
Apache License 2.0
src/main/kotlin/expressions/bool/Bool.kt
rinatisk
355,830,207
false
null
package expressions.bool import expressions.BinaryExpression import expressions.Expression import expressions.PolynomialImplementation import expressions.bool.Equals.Companion.FALSE import expressions.bool.Equals.Companion.TRUE import expressions.num.ConstantExpression import expressions.num.Minus import expressions.n...
0
Kotlin
0
0
e622fdb1f6487d7dfb3aaa531587801308493d25
5,389
call-chain-converter
Apache License 2.0
app/src/main/java/com/uxstate/launchpad/data/remote/dto/RocketDto.kt
Tonnie-Dev
564,375,014
false
{"Kotlin": 159012}
package com.uxstate.launchpad.data.remote.dto import com.squareup.moshi.Json data class RocketDto( @Json(name = "configuration") val configuration: ConfigurationDto, @Json(name = "id") val id: Int )
0
Kotlin
1
8
ce1fe7b336c874220c7c8ef4d824664e39d57166
217
LaunchPad
MIT License
app/src/main/java/org/stepic/droid/adaptive/util/ExpHelper.kt
StepicOrg
42,045,161
false
null
package org.stepic.droid.adaptive.util import kotlin.math.ln import kotlin.math.pow object ExpHelper { @JvmStatic fun getCurrentLevel(exp: Long): Long = if (exp < 5) 1 else 2 + (ln((exp / 5).toDouble()) / ln(2.0)).toLong() @JvmStatic fun getNextLevelExp(current...
13
null
54
189
dd12cb96811a6fc2a7addcd969381570e335aca7
465
stepik-android
Apache License 2.0
enro-core/src/main/java/androidx/lifecycle/SetNavigationHandle.kt
isaac-udy
256,179,010
false
{"Kotlin": 1447007}
package androidx.lifecycle import dev.enro.core.NavigationHandle import java.io.Closeable internal const val NAVIGATION_HANDLE_KEY = "dev.enro.viemodel.NAVIGATION_HANDLE_KEY" internal class ClosableNavigationHandleReference( navigationHandle: NavigationHandle, ) : Closeable { var navigationHandle: Navigation...
1
Kotlin
13
246
fab4af27fd1d0c066f1ad99ded202e1c6b16c575
836
Enro
Apache License 2.0
src/main/kotlin/eu/qiou/aaf4k/schemata/Citations.kt
6234456
191,817,083
false
null
package eu.qiou.aaf4k.schemata enum class Citations(var number: String = "") { PARAGRAPH, ARTICLE, BOOK, BAND, CHAPTER, SECTION, // Absatz SENTENCE, NUMBER, HALF_SENTENCE, ALTERNATIVE, NOTE, // Textziffer LIT, DOUBLE_LETTER; override fun toString(): String { ...
2
Kotlin
0
0
dcd0ef0bad007e37a08ce5a05af52990c9d904e0
2,800
aaf4k-base
MIT License
di/di_dagger/di_dagger_common/src/androidMain/kotlin/siarhei/luskanau/iot/doorbell/dagger/common/FragmentKey.kt
siarhei-luskanau
79,257,367
false
{"Kotlin": 205900}
package siarhei.luskanau.iot.doorbell.dagger.common import androidx.fragment.app.Fragment import dagger.MapKey import kotlin.annotation.AnnotationRetention.RUNTIME import kotlin.reflect.KClass @Target( AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER, ) @Retent...
1
Kotlin
0
2
5d2f10c7eb1dbedef2a4b7116a2dbcda94374265
411
android-iot-doorbell
MIT License
app/src/main/java/com/artemchep/literaryclock/services/dream/LiteraryDreamService.kt
AChep
160,681,782
false
{"Kotlin": 130113}
package com.artemchep.literaryclock.services.dream import android.view.View import android.view.ViewGroup import androidx.lifecycle.Observer import com.artemchep.literaryclock.Heart import com.artemchep.literaryclock.R import com.artemchep.literaryclock.databinding.DreamMainBinding import com.artemchep.literaryclock.l...
4
Kotlin
0
7
df377fc688b5e41f6afa5a6d26752aefbd9f2c4d
1,579
literaryclock
Apache License 2.0
app/src/main/java/com/example/matchamenu/Restaurant.kt
eagleera
221,824,418
false
null
package com.example.matchamenu class Restaurant(val id: String, val name: String){ constructor(): this("",""){ } }
0
Kotlin
0
0
fe18c53e80e9927d54aa11c1e7e10fa3b352e88d
125
MatchaMenu
MIT License
app/src/main/java/com/example/android/dagger/user/UserManager.kt
fillooow
508,241,973
false
null
/* * Copyright (C) 2019 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...
0
Kotlin
0
0
304f020ba5bd6a42dac6fbec624c148cf8d5597a
2,533
android-dagger
Apache License 2.0
domain/src/main/kotlin/io/github/wykopmobilny/domain/di/HasScopeInitializer.kt
otwarty-wykop-mobilny
374,160,630
true
{"Kotlin": 1326147, "HTML": 66896, "Java": 38599}
package io.github.wykopmobilny.domain.di interface HasScopeInitializer { fun initializer(): ScopeInitializer } interface ScopeInitializer { suspend fun initialize() }
13
Kotlin
4
47
85b54b736f5fbcd6f62305779ed7ae2085c3b136
179
wykop-android
MIT License
presentation/src/main/java/com/example/presentation/util/EndlessScrollListener.kt
Shehab-Alaa
432,819,296
false
null
package com.example.presentation.util import androidx.recyclerview.widget.RecyclerView import androidx.recyclerview.widget.LinearLayoutManager import androidx.recyclerview.widget.GridLayoutManager import androidx.recyclerview.widget.StaggeredGridLayoutManager class EndlessScrollListener(layoutManager: LinearLayoutMan...
1
Kotlin
4
19
d285fdb2255127d7668af2d6af2deae801dd3099
4,040
CleanArchitectureApp
Apache License 2.0
lib/src/main/kotlin/com/github/fstien/exposed/opentracing/QueryStringUtils.kt
fstien
317,342,807
false
null
package com.github.fstien.exposed.opentracing internal fun String.sanitize(replace: List<String>): String { var returnString = this for (str in replace) { returnString = returnString.replace(oldValue = str, newValue = "<REDACTED>") } return returnString } internal fun String.format(): String...
0
Kotlin
0
15
4b869b07070ef017dbd08412e0d1c2780cbccd23
370
Exposed-OpenTracing
Apache License 2.0
app/src/main/java/xyz/bboylin/dailyandroid/presentation/activity/RequestPermissionActivity.kt
bboylin
120,625,830
false
null
package xyz.bboylin.dailyandroid.presentation.activity import android.Manifest.permission.WRITE_EXTERNAL_STORAGE import android.annotation.TargetApi import android.app.PendingIntent import android.app.PendingIntent.FLAG_UPDATE_CURRENT import android.content.ComponentName import android.content.Context import android.c...
0
Kotlin
0
5
ec9dca120b5ef89c2d8851c4d9c9f86437556696
3,713
DailyAndroid
Apache License 2.0
src/main/kotlin/com/sortinghat/metrics_extractor/domain/services/sync_coupling_dimension/ComponentsThatHaveOperationsInvokedMetric.kt
the-sortinghat
529,660,037
false
null
package com.sortinghat.metrics_extractor.domain.services.sync_coupling_dimension import com.sortinghat.metrics_extractor.domain.behaviors.* import com.sortinghat.metrics_extractor.domain.model.Module import com.sortinghat.metrics_extractor.domain.model.Operation import com.sortinghat.metrics_extractor.domain.model.Ser...
0
Kotlin
0
0
b4e2d25f1db70b917f972fbd70eae2591a50ee76
2,926
metrics-extractor
MIT License
app/src/main/java/com/mobilemovement/kotlintvmaze/di/module/NetworkModule.kt
mohammedgmgn
203,551,405
true
{"Kotlin": 70628}
package com.mobilemovement.kotlintvmaze.di.module import com.google.gson.FieldNamingPolicy.UPPER_CAMEL_CASE_WITH_SPACES import com.google.gson.Gson import com.google.gson.GsonBuilder import com.mobilemovement.kotlintvmaze.BuildConfig import dagger.Module import dagger.Provides import okhttp3.OkHttpClient import okhttp...
0
Kotlin
1
3
b73e5d496e0d9739f05c2ce556fa7024fa56a109
1,831
kotlin-modular-tdd-coroutines-mvvm
MIT License
texteditor/src/main/java/sergio/sastre/multiplying/quality/of/unittests/texteditor/ui/EditTextWithoutSuggestions.kt
sergio-sastre
370,679,468
false
null
package sergio.sastre.multiplying.quality.of.unittests.texteditor.ui import android.R.color import android.text.InputType.* import android.view.Gravity import android.widget.EditText import androidx.compose.foundation.layout.padding import androidx.compose.material.Text import androidx.compose.runtime.Composable impor...
1
Kotlin
0
6
5292e7d8fbabbf5a0dc4185073b8784374fb42fd
2,278
Multiplying_the_quality_of_unit_tests
MIT License
feature-account-impl/src/main/java/jp/co/soramitsu/feature_account_impl/presentation/exporting/seed/ExportSeedFragment.kt
soramitsu
278,060,397
false
null
package jp.co.soramitsu.feature_account_impl.presentation.exporting.seed import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.core.os.bundleOf import jp.co.soramitsu.common.di.FeatureUtils import jp.co.soramitsu.feature_account_api.di.Accoun...
1
null
14
53
6dafcbd972c4b510328feaf7459eefe76cab2075
2,837
fearless-Android
Apache License 2.0
krencfs/src/desktopMain/kotlin/rs/xor/rencfs/krencfs/Main.kt
radumarias
837,690,753
false
{"Kotlin": 12525}
package rs.xor.rencfs.krencfs import androidx.compose.material.icons.Icons import androidx.compose.material.icons.filled.Lock import androidx.compose.runtime.getValue import androidx.compose.runtime.mutableStateOf import androidx.compose.runtime.remember import androidx.compose.runtime.setValue import androidx.compos...
0
Kotlin
0
0
a121c989151faab2b6fe41318ab380079a290ded
1,319
rencfs-kotlin
Apache License 2.0
src/main/kotlin/eZmaxApi/models/GlobalMinusEzmaxcustomerMinusGetConfigurationMinusV1MinusResponse.kt
eZmaxinc
271,950,932
false
null
/** * * Please note: * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * Do not edit this file manually. * */ @file:Suppress( "ArrayInDataClass", "EnumEntryName", "RemoveRedundantQualifierName", "UnusedImport" ) package eZmaxApi.models import com.squareup.mo...
0
Kotlin
0
0
961c97a9f13f3df7986ea7ba55052874183047ab
1,559
eZmax-SDK-kotlin
MIT License
src/main/kotlin/eZmaxApi/models/GlobalMinusEzmaxcustomerMinusGetConfigurationMinusV1MinusResponse.kt
eZmaxinc
271,950,932
false
null
/** * * Please note: * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * Do not edit this file manually. * */ @file:Suppress( "ArrayInDataClass", "EnumEntryName", "RemoveRedundantQualifierName", "UnusedImport" ) package eZmaxApi.models import com.squareup.mo...
0
Kotlin
0
0
961c97a9f13f3df7986ea7ba55052874183047ab
1,559
eZmax-SDK-kotlin
MIT License
app/src/main/java/al/ahgitdevelopment/municion/ui/competitions/CompetitionFormViewModel.kt
foliolo
55,931,400
false
null
package al.ahgitdevelopment.municion.ui.competitions import al.ahgitdevelopment.municion.datamodel.Competition import al.ahgitdevelopment.municion.repository.RepositoryContract import al.ahgitdevelopment.municion.utils.SingleLiveEvent import android.view.View import androidx.hilt.Assisted import androidx.hilt.lifecycl...
0
Kotlin
2
4
d3cf70945228b455b73b21e2af699ed5b87e248e
1,204
Municion
MIT License
src/main/kotlin/net/inherency/finances/controller/dto/TransactionTypeReportDTO.kt
scottygaydos
278,980,273
false
{"Kotlin": 199344, "HTML": 2360, "JavaScript": 1723}
package net.inherency.finances.controller.dto data class TransactionTypeReportDTO ( val transactionTypeId: Int, val transactionTypeName: String, val budgetAmount: Int, val remainingAmount: Int, val sortOrderValue: String )
2
Kotlin
0
0
825dd8a5e36ce88b45aa3585871faee8734ae750
263
finance_budget_and_reconciler
Apache License 2.0
shared/src/commonMain/kotlin/com/micudasoftware/currencyconverter/presentation/common/model/ButtonModel.kt
DusanMicuda
657,098,894
false
{"Kotlin": 104311, "Swift": 841}
package com.micudasoftware.currencyconverter.presentation.common.model import dev.icerock.moko.resources.desc.StringDesc /** * Model for composable button. * * @property text Text to display on the button. * @property onClick Lambda function triggered when button is clicked. */ data class ButtonModel( val te...
0
Kotlin
0
0
2fcfd366c0c5ac155824a9ef80b54d0f2ee423c5
367
CurrencyConverterApp
MIT License
library/renetik-base/src/main/java/renetik/android/framework/event/CSEventOwner.kt
rene-dohan
69,289,476
false
null
package renetik.android.framework.event import renetik.java.lang.isMain interface CSEventOwner { val registrations: CSRegistrations // later should be here instead of extension so Any.later is not called by mistake fun later(delayMilliseconds: Int, function: () -> Unit): CSRegistration { lateinit...
0
Kotlin
3
1
48e2f4d3b70551116506bb63709da8251fc2379d
947
renetik-library-android
Apache License 2.0
compiler/fir/tree/tree-generator/src/org/jetbrains/kotlin/fir/tree/generator/util/configureInterfacesAndAbstractClasses.kt
SubhankarCodeGeek
243,189,065
false
null
/* * Copyright 2010-2019 JetBrains s.r.o. and Kotlin Programming Language contributors. * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. */ package org.jetbrains.kotlin.fir.tree.generator.util import org.jetbrains.kotlin.fir.tree.generator.context.A...
1
null
1
1
7bdcaff89aa15cc77db5f19693c3225d1eb83b20
3,507
kotlin
Apache License 2.0
verik-importer/src/main/kotlin/io/verik/importer/ast/element/declaration/EDeclaration.kt
frwang96
269,980,078
false
null
/* * SPDX-License-Identifier: Apache-2.0 */ package io.verik.importer.ast.element.declaration import io.verik.importer.ast.common.Declaration import io.verik.importer.ast.element.common.EElement /** * Base class of all elements that are declarations. [signature] is the original declaration signature. */ abstract...
0
Kotlin
1
33
ee22969235460fd144294bcbcbab0338c638eb92
407
verik
Apache License 2.0
src/main/kotlin/com/tankobon/utils/archive/UnRAR.kt
fopwoc
445,686,330
false
{"Kotlin": 108306, "Dockerfile": 441}
package com.tankobon.utils.archive import com.lordcodes.turtle.shellRun import com.tankobon.utils.formatFile import com.tankobon.utils.logger import java.io.File fun unRAR(file: File, increaseHierarchy: Boolean = false): File { val log = logger("archive-rar") val newFile = formatFile(file, increaseHierarchy)...
8
Kotlin
0
4
dbb38256649ef763dc9ae5e8c3ec56cc5b776363
545
tankobon-backend-kotlin
MIT License
app/src/main/java/com/relieve/android/components/LocationPickerItem.kt
luxinfity
159,038,146
false
{"Gradle": 5, "Java Properties": 3, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "Proguard": 2, "Java": 2, "XML": 83, "Kotlin": 65}
package com.relieve.android.components import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import com.relieve.android.R import com.relieve.android.rsux.base.Item import com.relieve.android.rsux.base.RelieveViewHolder class LocationPickerItem : Item<LocationPickerItem> { overr...
0
Kotlin
0
0
7e0de304db66d60ad4f25846723fe048f7aefbb9
798
relieve_android
MIT License
OGParser/src/main/java/com/kedia/ogparser/OpenGraphParser.kt
Priyansh-Kedia
390,365,833
false
{"Kotlin": 16646}
package com.kedia.ogparser import kotlinx.coroutines.* import kotlin.coroutines.CoroutineContext class OpenGraphParser @JvmOverloads constructor( private val listener: OpenGraphCallback, private var showNullOnEmpty: Boolean = false, private val cacheProvider: CacheProvider? = null, timeout: Int? = nul...
4
Kotlin
12
80
9e421c804ec2d986f0f3dbe36284ec374ad0c435
3,772
OpenGraphParser
MIT License
lib/src/main/java/com/tkhskt/flaggable/internal/annotation/property/Key.kt
tkhskt
612,543,682
false
null
package com.tkhskt.flaggable.internal.annotation.property internal class Key( override val value: String, ) : AnnotationProperty<String> { companion object { const val NAME = "key" } }
0
Kotlin
0
1
993caccfd160bf1f986e3c13363f3598cd975055
206
flaggable
MIT License
src/main/java/io/rudolph/netatmo/api/energy/model/Room.kt
navybk
141,977,813
false
null
package io.rudolph.netatmo.api.energy.model import com.fasterxml.jackson.annotation.JsonProperty import java.time.LocalDateTime data class Room( /** * Id of the room */ @JsonProperty("id") val id: String, /** * False if none of the module of the room are r...
0
Kotlin
0
4
69487bc01bc6a3456156d86ca61d8112f254d6a0
1,627
netatmo-java-api
MIT License
android/src/main/kotlin/io/sourcya/playx_3d_scene/core/shape/common/deserialisers/ShapeDeserializer.kt
playx-flutter
607,852,578
false
null
package io.sourcya.playx_3d_scene.core.shape.common.deserialisers import com.google.gson.JsonDeserializationContext import com.google.gson.JsonDeserializer import com.google.gson.JsonElement import com.google.gson.reflect.TypeToken import io.sourcya.playx_3d_scene.core.shape.common.model.Shape import io.sourcya.playx_...
0
Kotlin
0
1
314f05d87d3cd52ac3dcf2060c98845483da666f
1,077
playx-3d-scene
MIT License
src/commonMain/kotlin/org/modelix/incremental/IncrementalIndex.kt
modelix
489,840,181
false
null
package org.modelix.incremental class IncrementalIndex<K, V> { private var unsorted = IncrementalList.empty<Pair<K, V>>() private val map: MutableMap<K, List<V>> = HashMap() private var removalCounter: Long = 0 private var insertionCounter: Long = 0 fun update(newEntries: IncrementalList<Pair<K, ...
0
Kotlin
0
0
c36854b5c4e8d95155e05747c64932f3389adeb3
1,649
modelix.incremental
Apache License 2.0
client/android/div/src/main/java/com/yandex/div/core/widget/DivViewDelegate.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.core.widget import android.graphics.drawable.Drawable import android.view.View import com.yandex.div.core.annotations.PublicApi @PublicApi interface DivViewDelegate { fun unscheduleDrawable(who: Drawable?) /** * @return drawable to invalidate */ fun invalidateDrawable(dr...
5
Kotlin
128
2,240
dd102394ed7b240ace9eaef9228567f98e54d9cf
611
divkit
Apache License 2.0
light/src/test/kotlin/net/kotlinx/aws/athena/table/AthenaTableTest.kt
mypojo
565,799,715
false
{"Kotlin": 1495826, "Jupyter Notebook": 13540, "Java": 9531}
package net.kotlinx.aws.athena.table import net.kotlinx.kotest.KotestUtil import net.kotlinx.kotest.initTest import net.kotlinx.kotest.modules.BeSpecLight class AthenaTableTest : BeSpecLight() { init { initTest(KotestUtil.IGNORE) Given("데모 테이블") { Then("demo") { val t...
0
Kotlin
0
1
1b361a5ae8aae718f0e81768452e6803c0990e71
1,350
kx_kotlin_support
MIT License
benchmark/src/main/kotlin/app/hymnal/benchmark/BaselineProfileGenerator.kt
TinasheMzondiwa
272,096,849
false
{"Kotlin": 226184}
package app.hymnal.benchmark import androidx.benchmark.macro.ExperimentalBaselineProfilesApi import androidx.benchmark.macro.junit4.BaselineProfileRule import org.junit.Rule import org.junit.Test @OptIn(ExperimentalBaselineProfilesApi::class) class BaselineProfileGenerator { @get:Rule val rule = BaselineProf...
1
Kotlin
14
40
84aeaa57933eb9c3a418cd495ff9c282d4e9b573
488
cis-android
Apache License 2.0
shared/src/commonMain/kotlin/com/alpha/showcase/common/ui/settings/SettingsViewModel.kt
mrjoechen
669,421,109
false
{"Kotlin": 436999, "Java": 23934, "Swift": 580, "Shell": 228, "Ruby": 101}
package com.alpha.showcase.common.ui.settings import com.alpha.showcase.common.data.GeneralPreference import com.alpha.showcase.common.data.Settings import com.alpha.showcase.common.ui.vm.BaseViewModel import com.alpha.showcase.common.ui.vm.UiState import kotlinx.coroutines.CoroutineScope import kotlinx.coroutines.Dis...
0
Kotlin
0
0
b0fdb6bdb01043d98155a0b6ecc7a00ee029e5a1
1,806
Showcase-multiplatform
Apache License 2.0
app/src/main/java/gr/blackswamp/myshows/ui/adapters/ShowAdapter.kt
JMavrelos
184,901,504
false
null
package gr.blackswamp.myshows.ui.adapters import android.util.Log import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.TextView import androidx.appcompat.widget.AppCompatImageView import androidx.fragment.app.Fragment import androidx.recyclerview.widget.Recycl...
0
Kotlin
0
0
cab3fbfc071ab47dde9e780e2e2ae4791419f5ee
3,522
MyShows
Apache License 2.0
app/src/main/java/com/example/weatherdemo/base/BaseFragment.kt
DipanshuAgrawal01
387,365,790
false
null
package com.example.weatherdemo.base import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.annotation.LayoutRes import androidx.databinding.DataBindingUtil import androidx.databinding.ViewDataBinding import androidx.fragment.app.Fragment impo...
0
Kotlin
0
0
5db86c7d90bf6656a107d2951030fe503c594868
1,067
WeatherDemo
MIT License
app/src/main/java/net/xaethos/trackernotifier/fragments/BaseAdapterFragment.kt
xaethos
42,404,910
false
{"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "YAML": 1, "Markdown": 1, "Proguard": 1, "Kotlin": 18, "Java": 19, "XML": 31}
package net.xaethos.trackernotifier.fragments import android.os.Bundle import android.support.v4.app.Fragment import android.support.v4.widget.SwipeRefreshLayout import android.support.v7.widget.RecyclerView import android.view.View import android.widget.TextView import net.xaethos.trackernotifier.R import net.xaethos...
0
Kotlin
1
0
46f589eb8e4759a587dbc4a6d9fa5d4c33a8ff59
3,351
tracker-notifier
MIT License
profile/src/jvmMain/kotlin/matt/log/profile/ctx/ctx.kt
mgroth0
532,378,392
false
{"Kotlin": 55958}
package matt.log.profile.ctx import matt.log.profile.real.Profiler interface ProfilingContext { val profiler: Profiler } class ProfilingContextImpl(override val profiler: Profiler): ProfilingContext
0
Kotlin
0
0
9d8875927f691229f9ee1c66674c56e7339f78a3
208
log
MIT License
src/test/kotlin/mbo/dev/springnative/domain/user/UserGen.kt
mbogner
559,374,643
false
null
package mbo.dev.springnative.domain.user import java.util.UUID class UserGen { companion object { fun validInstance(): User { return User( email = "${UUID.randomUUID().toString().substring(0, 8)}<EMAIL>" ) } } }
0
Kotlin
0
0
8567b2b8ca725a3b6f190a30e4f358c785abf090
280
spring-native-sample
Apache License 2.0
kairo-config/src/main/kotlin/kairo/config/ConfigLoaderSource.kt
hudson155
836,940,978
false
{"Kotlin": 486567, "HCL": 1700}
package kairo.config import com.fasterxml.jackson.annotation.JsonSubTypes import com.fasterxml.jackson.annotation.JsonTypeInfo @JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "source") @JsonSubTypes( JsonSubTypes.Type(ConfigLoaderSource.Command::class, name = "Command"), J...
0
Kotlin
1
9
da21d969005c51aa6d30ac20b1e682452494c50c
823
kairo
Apache License 2.0
library/src/commonMain/kotlin/dev/zwander/compose/libmonet/dynamiccolor/ToneDeltaPair.kt
zacharee
846,378,148
false
{"Kotlin": 348578}
package dev.zwander.compose.libmonet.dynamiccolor /** * Documents a constraint between two DynamicColors, in which their tones must have a certain * distance from each other. * * * Prefer a DynamicColor with a background, this is for special cases when designers want tonal * distance, literally contrast, betwee...
0
Kotlin
0
13
c7c8d01689b16d2705e25193dbd2960c7ea56c92
1,123
MultiplatformMaterialYou
MIT License
app/src/main/java/com/inspiredandroid/linuxcommandbibliotheca/models/BasicCategory.kt
SimonSchubert
20,982,177
false
null
package com.inspiredandroid.linuxcommandbibliotheca.models import com.inspiredandroid.linuxcommandbibliotheca.R import io.realm.RealmList import io.realm.RealmObject import io.realm.annotations.PrimaryKey /* Copyright 2019 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use...
2
Kotlin
14
44
5b4b8dccaad70b1a8697cf059f918c3212d3f1de
1,889
LinuxCommandLibrary
Apache License 2.0
app/src/main/java/com/example/noteapp/presentation/update_note/components/UpdateNoteTopBar.kt
Wit0r
621,182,013
false
null
package com.example.noteapp.presentation.update_note.components import androidx.compose.material3.Icon import androidx.compose.material3.IconButton import androidx.compose.material3.MaterialTheme import androidx.compose.runtime.Composable import androidx.compose.ui.graphics.painter.Painter import androidx.compose.ui.r...
0
Kotlin
0
0
392c854505309c39d3963e9fc0c7124874b78c16
1,770
NoteApp-JetpackCompose
MIT License
repository/src/main/kotlin/ca/etsmtl/applets/repository/data/api/response/signets/ApiSignetsModel.kt
ApplETS
112,960,632
false
null
package ca.etsmtl.applets.repository.data.api.response.signets import com.squareup.moshi.Json import com.squareup.moshi.JsonClass /** * Created by Sonphil on 09-03-18. */ @JsonClass(generateAdapter = true) data class ApiSignetsModel<T : ApiSignetsData>( @Json(name = "d") var data: T? = null )
5
Kotlin
0
5
b5afdd8fa110a5975a6ad096e172ce2b5f9eca51
307
Notre-Dame-Android
Apache License 2.0
app/src/main/java/com/hod/rxclean/view/ListFragment.kt
h-od
125,247,794
false
null
package com.hod.rxclean.view import android.os.Bundle import android.support.v7.widget.GridLayoutManager 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.bump...
0
Kotlin
0
0
5b56657476d4846185db9f9559c8c59e5a0dcd5f
3,701
rx-clean
MIT License
feature/timers/dependencies/src/commonMain/kotlin/org/timemates/app/timers/dependencies/screens/TimersListModule.kt
timemates
575,537,317
false
{"Kotlin": 317807}
package org.timemates.app.timers.dependencies.screens import com.arkivanov.decompose.ComponentContext import org.koin.core.annotation.Factory import org.koin.core.annotation.Module import org.timemates.app.timers.dependencies.TimersDataModule import org.timemates.app.timers.ui.timers_list.mvi.TimersListScreenComponent...
19
Kotlin
0
28
806b99ab0244c78dde0f38ece768d478dce101c4
1,097
app
MIT License
src/main/kotlin/github/samyycx/fisherman/modules/gameconfig/fishgroup/FishGroupManager.kt
samyycX
742,795,853
false
{"Kotlin": 42404, "Java": 351}
package github.samyycx.fisherman.modules.gameconfig.fishgroup import org.bukkit.configuration.file.YamlConfiguration import java.io.File object FishGroupManager { private val fishGroups = mutableMapOf<String, FishGroup>() fun setup(folder: File) { fishGroups.clear() folder .list...
0
Kotlin
0
0
8336b73de9e8461612791651aec6ef9f246e92ac
738
Fisherman
MIT License
parallaxnavigationdrawer/src/main/kotlin/com/blueiobase/api/android/parallaxnavigationdrawer/Extensions.kt
IODevBlue
539,439,467
false
{"Kotlin": 44122}
package com.blueiobase.api.android.parallaxnavigationdrawer import android.content.Context /** * Extension function on a [Context] to create a [ParallaxNavigationDrawer]. * @param init Initialization receiver function for the [ParallaxNavigationDrawer]. */ fun Context.parallaxNavigationDrawer(init: ParallaxNavigat...
0
Kotlin
0
3
22460a37874c61c1045aacaa4b8d0cabe235dc81
444
ParallaxNavigationDrawer
Apache License 2.0
data/src/main/java/com/cmc/curtaincall/data/source/paging/ReviewPagingSource.kt
CurtainCall-App
659,971,351
false
{"Kotlin": 1298142}
package com.cmc.curtaincall.data.source.paging import androidx.paging.PagingSource import androidx.paging.PagingState import com.cmc.curtaincall.core.network.service.review.ReviewService import com.cmc.curtaincall.domain.enums.ReviewSortType import com.cmc.curtaincall.domain.model.review.ShowReviewModel import javax.i...
4
Kotlin
1
5
c9f51916e3acbb292f364b3a3191991506d76580
1,969
CurtainCall-AOS
Apache License 2.0
src/main/kotlin/io/github/aedans/katalyst/Recursion.kt
MaTriXy
120,173,665
true
{"Kotlin": 39819}
package io.github.aedans.katalyst import arrow.HK import arrow.free.* import arrow.instances.ComposedFunctor import arrow.typeclasses.* import io.github.aedans.katalyst.syntax.* /** * The composition of cata and ana. */ fun <F, A, B> hylo( a: A, alg: Algebra<F, B>, coalg: Coalgebra<F, A>, ...
0
Kotlin
0
0
59254b3a8d5fe96f965bfe8d0e95b0157df6f288
2,029
Katalyst
MIT License
app/src/main/java/com/mindorks/framework/mvp/ui/rate/RateUsDialogFragmentProvider.kt
janishar
115,260,052
false
null
package com.mindorks.framework.mvp.ui.rate import com.mindorks.framework.mvp.ui.rate.view.RateUsDialog import dagger.Module import dagger.android.ContributesAndroidInjector /** * Created by jyotidubey on 15/01/18. */ @Module abstract class RateUsDialogFragmentProvider{ @ContributesAndroidInjector(modules = [Ra...
17
null
199
702
5ac97334d417aff636dd587c82ad97c661c38666
414
android-kotlin-mvp-architecture
Apache License 2.0
src/main/kotlin/furhatos/app/cardgame/audiosource/AudioRecorder.kt
horotat
518,806,515
false
{"Kotlin": 252871, "JavaScript": 58777, "Java": 21569, "FreeMarker": 16510, "HTML": 4928, "CSS": 4484}
package furhatos.app.cardgame.audiosource import java.io.* import javax.sound.sampled.* class AudioRecorder() { private var fileOutputStream: OutputStream? = null private var file: File? = null private var bytesWritten: Int = 0 val recording get() = fileOutputStream != null @Synchronized fun...
0
Kotlin
0
0
a95aa619831614f5347cb7ffee762bbb32735211
1,441
Card-Game-21
Creative Commons Attribution 4.0 International
core/src/main/java/com/nabla/sdk/core/data/patient/LocalPatientDataSource.kt
nabla
478,468,099
false
null
package com.nabla.sdk.core.data.patient import android.content.SharedPreferences import com.nabla.sdk.core.domain.entity.StringId import com.nabla.sdk.core.domain.entity.toId internal class LocalPatientDataSource(private val sharedPreferences: SharedPreferences) { fun setPatient(patientId: StringId?) { w...
0
Kotlin
1
16
83f1c42f21e826dd11b1330fb2d800a67720ea6c
650
nabla-android
MIT License
Kotlin/library/src/main/java/dk/coded/library/AdapterImpl.kt
SKrotkih
121,634,559
false
{"Java": 225271, "Kotlin": 211055, "Shell": 1038}
package dk.coded.library import android.content.Context import android.database.CursorIndexOutOfBoundsException import android.graphics.Color import android.os.AsyncTask import android.support.v4.content.ContextCompat import android.support.v4.util.ArrayMap import android.support.v7.widget.RecyclerView import android....
1
Java
1
2
c277bd010388a8d4f03292e4f2d645c43f9d9dac
11,385
eMia-Android
MIT License
ai/ollama/fake/src/main/kotlin/org/http4k/connect/ollama/endpoints.kt
http4k
295,641,058
false
{"Kotlin": 1624429, "Handlebars": 10370, "CSS": 5434, "Shell": 3178, "JavaScript": 2076, "Python": 1834, "HTML": 675}
package org.http4k.connect.ollama import org.http4k.connect.model.ModelName import org.http4k.connect.model.Role import org.http4k.connect.model.Role.Companion.Assistant import org.http4k.connect.model.Role.Companion.User import org.http4k.connect.ollama.OllamaMoshi.asFormatString import org.http4k.connect.ollama.Oll...
7
Kotlin
17
37
94e71e6bba87d9c79ac29f7ba23bdacd0fdf354c
5,653
http4k-connect
Apache License 2.0
src/main/kotlin/com/swisschain/matching/engine/daos/context/CashTransferContext.kt
swisschain
255,464,363
false
null
package com.swisschain.matching.engine.daos.context import com.swisschain.matching.engine.daos.TransferOperation import com.swisschain.matching.engine.deduplication.ProcessedMessage data class CashTransferContext( val messageId: String, val transferOperation: TransferOperation, val processedMe...
1
null
1
1
5ef23544e9c5b21864ec1de7ad0f3e254044bbaa
344
Exchange.MatchingEngine
Apache License 2.0
core/src/test/kotlin/net/corda/core/flows/FinalityFlowTests.kt
miguelangelvaldivia
106,023,648
false
{"Gradle": 44, "INI": 15, "Markdown": 43, "Shell": 8, "Text": 21, "Ignore List": 4, "Batchfile": 4, "XML": 42, "Java": 67, "Kotlin": 814, "Groovy": 11, "reStructuredText": 110, "Java Properties": 2, "RPM Spec": 1, "CSS": 110, "SVG": 10, "JSON": 28, "HTML": 31, "JavaScript": 313, "JSON with Comments": 3, "Less": 47, "Gi...
package net.corda.core.flows import net.corda.core.identity.Party import net.corda.core.transactions.TransactionBuilder import net.corda.core.utilities.getOrThrow import net.corda.finance.POUNDS import net.corda.finance.contracts.asset.Cash import net.corda.finance.issuedBy import net.corda.node.internal.StartedNode i...
11
Kotlin
0
0
be0e7a8877fb6980fd0fdc2ed92de318b6fcac1b
2,841
corda
Apache License 2.0
backend/src/com/origin/model/Paperdoll.kt
arksu
121,673,260
false
null
package com.origin.model import com.origin.entity.InventoryItemEntity import com.origin.entity.InventoryItems import com.origin.model.inventory.InventoryItem import kotlinx.coroutines.DelicateCoroutinesApi import kotlinx.coroutines.ObsoleteCoroutinesApi import org.jetbrains.exposed.sql.and import org.jetbrains.exposed...
1
Kotlin
1
5
4b17644caf0c610039bc9dcf08de3e934eb7f124
1,243
origin_webgl
MIT License
things/src/main/java/com/example/androidthings/lantern/channels/WebViewChannel.kt
nordprojects
118,455,585
false
{"Kotlin": 202091, "Java": 16644}
package com.example.androidthings.lantern.channels import android.content.Context import android.graphics.Bitmap import android.os.Bundle import android.view.KeyEvent import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.webkit.WebChromeClient import android.webkit.We...
1
Kotlin
50
464
fa015faa1c9f4f500bc14074a3485750aecf14e1
2,104
lantern
Apache License 2.0