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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
app/src/main/java/com/task/flicky/adapter/TabsAdapter.kt | akhil0808 | 332,856,233 | false | {"Gradle": 3, "Java Properties": 2, "Shell": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "Kotlin": 33, "XML": 21, "Java": 1} | package com.task.flicky.adapter
import androidx.annotation.Nullable
import androidx.fragment.app.Fragment
import androidx.fragment.app.FragmentManager
import androidx.fragment.app.FragmentStatePagerAdapter
class TabsAdapter(fm: FragmentManager) : FragmentStatePagerAdapter(fm) {
private val mFragmentList = arrayL... | 1 | null | 1 | 1 | c1a319fc509263e1e9e1e05fc03af7d2e04d84da | 836 | FlickyTask | Apache License 2.0 |
components/filemngr/listing/impl/src/androidMain/kotlin/com/flipperdevices/filemanager/listing/impl/composable/NoListingFeatureComposable.kt | flipperdevices | 288,258,832 | false | {"Kotlin": 4167715, "FreeMarker": 10352, "CMake": 1780, "C++": 1152, "Fluent": 21} | package com.flipperdevices.filemanager.listing.impl.composable
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.material.Text
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
@Composable
fun NoListingFeatureCompos... | 21 | Kotlin | 174 | 1,528 | 8f293e596741a6c97409acbc8de10c7ae6e8d8b0 | 455 | Flipper-Android-App | MIT License |
app/src/main/java/com/example/neoticket/view/main/concerts/SectorDialogFragment.kt | rybakova-auca-2021 | 747,738,666 | false | {"Kotlin": 442862} | package com.example.neoticket.view.main.concerts
import android.graphics.Color
import android.graphics.drawable.ColorDrawable
import android.os.Bundle
import android.provider.ContactsContract.CommonDataKinds.Identity
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import andro... | 0 | Kotlin | 0 | 0 | 7b7a198cc176704e613ee794176463935480b3aa | 4,262 | NeoTicket | MIT License |
onebreath/src/main/kotlin/gabek/onebreath/prefab/test/JointTestPrefab.kt | gabe00122 | 77,073,648 | false | null | package gabek.onebreath.prefab.test
import com.badlogic.gdx.physics.box2d.BodyDef
import com.github.salomonbrys.kodein.instance
import gabek.engine.core.assets.Assets
import gabek.engine.core.components.BodyCom
import gabek.engine.core.components.common.SizeCom
import gabek.engine.core.components.common.TranslationCom... | 0 | Kotlin | 0 | 0 | 6b76a69cca2baa43b743c7a30822cf4f532a67c6 | 1,226 | GameEngine | MIT License |
src/main/kotlin/com/br/app/consolidatedataproviderservice/ConsolidateDataProviderServiceApplication.kt | gustavoarruda | 644,688,653 | false | null | package com.br.app.consolidatedataproviderservice
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.runApplication
import org.springframework.cache.annotation.EnableCaching
@SpringBootApplication
@EnableCaching
class ConsolidateDataProviderServiceApplication
fun main... | 0 | Kotlin | 0 | 0 | 7b39d350ce96f3f343d66909314d4119da680f49 | 412 | consolidate-data-provider-service | MIT License |
app/src/test/java/com/zhuker/ExampleUnitTest.kt | jpitman1010 | 321,416,047 | true | {"Kotlin": 14499} | package com.zhuker
import com.google.gson.Gson
import com.google.gson.GsonBuilder
import com.zhuker.Model.decode
import io.reactivex.rxjava3.core.Observable
import io.reactivex.rxjava3.core.Single
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.Response
import okhttp3.sse.EventSource
import okhttp3.s... | 0 | Kotlin | 0 | 0 | ea0a14a7c7f32e8b1c62ccc80f5288140a9d9579 | 3,844 | glekswitcher | Apache License 2.0 |
app/src/main/java/app/eluvio/wallet/network/converters/v2/SearchFilterConverter.kt | eluv-io | 719,801,077 | false | {"Kotlin": 814244, "Java": 29738} | package app.eluvio.wallet.network.converters.v2
import app.eluvio.wallet.data.entities.v2.PropertySearchFiltersEntity
import app.eluvio.wallet.data.entities.v2.SearchFilterAttribute
import app.eluvio.wallet.network.dto.v2.FilterOptionsDto
import app.eluvio.wallet.network.dto.v2.GetFiltersResponse
import app.eluvio.wal... | 8 | Kotlin | 1 | 0 | 3bd0cc96ff1d75f870d5ee94f3d3a6a5f491e243 | 3,180 | elv-wallet-android | MIT License |
straight/src/commonMain/kotlin/me/localx/icons/straight/outline/ScrewAlt.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.straight.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.Mite... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 3,819 | icons | MIT License |
common/src/test/kotlin/org/jetbrains/teamcity/vault/VaultResolverTest.kt | JetBrains | 98,586,359 | false | {"Kotlin": 175558, "Java": 102627} | package org.jetbrains.teamcity.vault
import assertk.assertions.contains
import assertk.assertions.isEmpty
import assertk.assertions.isNotEmpty
import com.fasterxml.jackson.module.kotlin.jacksonObjectMapper
import jetbrains.buildServer.BaseTestCase
import org.jetbrains.teamcity.vault.VaultResolver.VaultParametersFetche... | 29 | Kotlin | 18 | 28 | 5c174cbe404547b1bb980766ac45bea40c971006 | 2,868 | teamcity-hashicorp-vault-plugin | Apache License 2.0 |
components-compose/src/main/java/uk/gov/hmrc/components/compose/organism/card/IconButtonCardView.kt | hmrc | 299,591,950 | false | {"Kotlin": 559754, "Ruby": 10016, "Shell": 1395} | /*
* Copyright 2023 HM Revenue & Customs
*
* 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 a... | 1 | Kotlin | 3 | 7 | e0cce3b1380fbf103e4a32060ddbfdbdda7eb6dd | 1,227 | android-components | Apache License 2.0 |
core/src/main/java/com/aditprayogo/core/utils/state/LoaderState.kt | Aditprayogo | 285,653,574 | false | null | package com.aditprayogo.core.utils.state
sealed class LoaderState {
object ShowLoading: LoaderState()
object HideLoading: LoaderState()
} | 0 | Kotlin | 9 | 54 | d204e320430ef13fd5071eb9445217780291410f | 146 | GithubUsers | Apache License 2.0 |
app/src/main/java/com/lindungisesama/ui/main/fragment/home/HomeFragment.kt | ezralazuardy | 255,088,592 | false | null | package com.lindungisesama.ui.main.fragment.home
import android.content.Intent
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import androidx.lifecycle.Observer
import androidx.recyclerview.widget.LinearLayoutMana... | 0 | Kotlin | 0 | 0 | c39d59ac08f80f102135a13e57d33d6e60808094 | 8,577 | lindungisesama | MIT License |
SpaceSoccerr/app/src/main/java/aula5/example/spacesoccer/views/PerfilUtilizador.kt | macyuri94 | 257,707,367 | false | null | package aula5.example.spacesoccer.views
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.widget.TextView
import aula5.example.spacesoccer.R
import aula5.example.spacesoccer.helper.VolleyHelper
import aula5.example.spacesoccer.models.Utilizador
import kotlinx.android.synthetic.mai... | 0 | Kotlin | 0 | 1 | e9f3d461cffe60934ca2980c2d46b5186bae2067 | 1,713 | space_soccer | MIT License |
MCron/src/main/kotlin/city/newnan/mcron/MCRon.kt | NewNanCity | 467,094,551 | false | null | package city.newnan.mcron
import co.aikar.commands.PaperCommandManager
import city.newnan.violet.config.ConfigManager
import city.newnan.violet.config.setListIfNull
import city.newnan.violet.i18n.LanguageManager
import city.newnan.violet.message.MessageManager
import me.lucko.helper.Events
import me.lucko.helper.plugi... | 0 | Kotlin | 0 | 3 | 0004ffea58328bfcda5ad56e01d54872715c3c2b | 3,063 | Plugins | MIT License |
main/src/main/kotlin/siliconsloth/miniruler/rules/PlanningRules.kt | SiliconSloth | 229,996,790 | false | {"Gradle Kotlin DSL": 4, "Shell": 1, "Ignore List": 1, "Batchfile": 1, "Text": 1, "Markdown": 1, "Java": 77, "INI": 1, "Kotlin": 65} | package siliconsloth.miniruler.rules
import siliconsloth.miniruler.*
import siliconsloth.miniruler.engine.RuleEngine
import siliconsloth.miniruler.planner.Enumeration
import siliconsloth.miniruler.planner.PartialOrderPlanner
import siliconsloth.miniruler.planner.Planner
import kotlin.system.exitProcess
fun RuleEngine... | 1 | null | 1 | 1 | 2c30a2a9d92385f2015b63f1fadb683e3edcddfc | 2,248 | MiniRuler | MIT License |
schemact-plugin/src/main/kotlin/schemact/gradleplugin/KotlinFunctionClientDependencies.kt | typedpath | 839,785,725 | false | {"Kotlin": 113843, "Shell": 131} | package schemact.gradleplugin
object KotlinFunctionClientDependencies {
val ktor_version="2.3.12"
val kotlinFunctionClientDependencies = listOf(
"io.ktor:ktor-client-core:$ktor_version",
"io.ktor:ktor-client-cio:$ktor_version",
"io.ktor:ktor-client-content-negotiation:$ktor_version",
... | 0 | Kotlin | 0 | 0 | c97cd444a4377eb86d871fa7ae8079586a559e6d | 390 | schemact4 | Apache License 2.0 |
src/main/kotlin/me/dominaezzz/chitchat/ui/PublicRooms.kt | Dominaezzz | 342,052,724 | false | null | package me.dominaezzz.chitchat.ui
import androidx.compose.foundation.*
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.foundation.lazy.itemsIndexed
import androidx.compose.foundation.lazy.rememberLazyListState
import androidx.compose.foundation.sha... | 0 | Kotlin | 0 | 12 | 23ff3f3a3b17db7514ea45f9a8fea9c8b421545b | 5,386 | ChitChat | Apache License 2.0 |
src/main/resources/archetype-resources/src/test/kotlin/driverutil/RemoteAndroidWebDriverFactory.kt | secugrow | 423,127,303 | false | null | #set( $dollar = '$' )
#set( $curlyOpen = '{' )
#set( $curlyClose = '}' )
#set( $bracketOpen = '(' )
#set( $bracketClose = ')' )
package ${package}.driverutil
import io.appium.java_client.android.AndroidDriver
import io.appium.java_client.remote.MobileCapabilityType
import org.openqa.selenium.WebDriver
import java.net... | 6 | Kotlin | 1 | 2 | 05fddae340285e75689574d5ffdffb319d16320f | 1,379 | kotlin-archetype | Apache License 2.0 |
src/KirchoffThinPlate.kt | danftang | 140,095,532 | false | {"Kotlin": 42153, "Gnuplot": 90} | class KirchoffThinPlate : MaskedDoubleArray2D {
val nu : Double
val delta : Double // distance between gridpoints
constructor(nu : Double, xLength : Double, mask : Mask2D) : super(mask) {
this.nu = nu
this.delta = xLength/mask.xSize
}
constructor( nu : Double, xLength : Double, mask... | 0 | Kotlin | 0 | 0 | 338cf2025a73440b1fa3275428085da8745972b4 | 3,704 | MusicalInstrumentSim | MIT License |
src/main/kotlin/composables/SingleLineText.kt | oss-review-toolkit | 436,895,138 | false | {"Kotlin": 278352} | package org.ossreviewtoolkit.workbench.composables
import androidx.compose.foundation.ExperimentalFoundationApi
import androidx.compose.foundation.TooltipArea
import androidx.compose.material.Text
import androidx.compose.runtime.Composable
import androidx.compose.ui.text.style.TextOverflow
/**
* Display the [text] o... | 6 | Kotlin | 4 | 26 | 38dd099eb5c6e7656a8bbe2614842bae048a78f1 | 649 | ort-workbench | Apache License 2.0 |
app/src/main/java/std/aanrstudio/apps/moviesup/ui/fragment/favorite/tv/FavTvAdapter.kt | rnaufal32 | 215,315,812 | false | null | package std.aanrstudio.apps.moviesup.ui.fragment.favorite.tv
import android.content.Intent
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.ImageView
import android.widget.TextView
import androidx.paging.PagedListAdapter
import androidx.recyclerview.widget... | 0 | Kotlin | 0 | 0 | e304239f94aa69f89e18697cd84712502c1531b8 | 2,260 | MoviesUp | MIT License |
app/src/main/java/demo/com/retainedcomponent/App.kt | creati8e | 158,060,347 | false | null | package demo.com.retainedcomponent
import dagger.android.AndroidInjector
import dagger.android.support.DaggerApplication
import demo.com.retainedcomponent.di.DaggerAppComponent
class App : DaggerApplication() {
override fun applicationInjector(): AndroidInjector<out DaggerApplication> {
return DaggerAppC... | 0 | Kotlin | 0 | 0 | f564a01cfbe88ca222dff64dba6dfec7d22fb246 | 360 | Dagger-Shared-Component-Sample | Apache License 2.0 |
sample/android-lib/src/main/kotlin/me/xx2bab/koncat/sample/android/AndroidLibraryAPI.kt | 2BAB | 433,810,120 | false | {"Kotlin": 83292, "Shell": 128} | package me.xx2bab.koncat.sample.android
import me.xx2bab.koncat.sample.interfaze.DummyAPI
class AndroidLibraryAPI: DummyAPI {
override fun onCall(param: String): String {
return "AndroidLibraryAPI is running with param $param ..."
}
} | 3 | Kotlin | 3 | 57 | 04e6400fe06fb8d099ed31c8f3ed246f8c805ac6 | 252 | Koncat | Apache License 2.0 |
netty/src/test/kotlin/org/springframework/samples/petclinic/rest/webflux/r2dbc/coroutine/NettyWebFluxR2dbcCoroutineVisitControllerTest.kt | kotoant | 612,221,740 | false | {"Kotlin": 230920, "JavaScript": 102019, "Mustache": 10054, "PLpgSQL": 2929, "Shell": 1403, "Dockerfile": 709} | package org.springframework.samples.petclinic.rest.webflux.r2dbc.coroutine
class NettyWebFluxR2dbcCoroutineVisitControllerTest : WebFluxR2dbcCoroutineVisitControllerTest()
| 0 | Kotlin | 0 | 2 | 365b0ce4d9eaacee8c888511915c404f414cbd8c | 173 | spring-petclinic-rest | Apache License 2.0 |
PictureComposer/app/src/main/java/com/example/picturecomposer/ResultsActivity.kt | jekkogray | 368,608,851 | false | null | package com.example.picturecomposer
import android.animation.AnimatorInflater
import android.animation.AnimatorSet
import android.annotation.SuppressLint
import android.content.*
import android.graphics.Bitmap
import android.graphics.ImageDecoder
import android.graphics.PointF
import android.graphics.RectF
import andr... | 0 | Kotlin | 0 | 1 | cda1cc5e6ab9f27cd37abd59f630fb0be3d85280 | 33,008 | Photo-Composer | MIT License |
app/src/main/java/com/rafay/gallery/di/AppModule.kt | rafayali | 336,757,542 | false | null | package com.rafay.gallery.di
import com.rafay.gallery.api.ApiProvider
import com.rafay.gallery.api.RetrofitApiProvider
import org.koin.dsl.module
val appModule = module {
single<ApiProvider> { RetrofitApiProvider() }
}
| 0 | Kotlin | 1 | 1 | e5614032d391a6a4719a701010ff8141c8b6c3ce | 225 | PixabayGallery | MIT License |
location/src/main/java/com/delbel/fluent/location/PermissionStateStorage.kt | matiasdelbel | 254,102,707 | false | null | package com.delbel.fluent.location
import android.content.SharedPreferences
import android.content.SharedPreferences.OnSharedPreferenceChangeListener
import androidx.core.content.edit
import io.reactivex.Observable
import io.reactivex.subjects.PublishSubject
import javax.inject.Inject
internal class PermissionStateSt... | 1 | Kotlin | 0 | 0 | e6003db9ceda2a48284835d96a500525f03c244b | 1,189 | android-poc-fluent | Apache License 2.0 |
8vim/src/main/kotlin/inc/flide/vim8/lib/compose/AppTheme.kt | 8VIM | 72,917,629 | false | null | package inc.flide.vim8.lib.compose
import androidx.compose.material3.ColorScheme
import androidx.compose.material3.MaterialTheme
import androidx.compose.runtime.Composable
import inc.flide.vim8.theme.typography
@Composable
fun AppTheme(colorScheme: ColorScheme, content: @Composable () -> Unit) {
MaterialTheme(
... | 73 | null | 61 | 461 | 089482f6bb5f715bc9168b8289957cee865573ae | 434 | 8VIM | Apache License 2.0 |
lab2/src/main/kotlin/servlet/AreaCheckServlet.kt | band-of-four | 152,893,488 | false | null | package servlet
import com.google.gson.Gson
import com.google.gson.JsonArray
import java.lang.NumberFormatException
import javax.servlet.annotation.WebServlet
import javax.servlet.http.HttpServlet
import javax.servlet.http.HttpServletRequest
import javax.servlet.http.HttpServletResponse
import kotlin.math.abs
import k... | 0 | Kotlin | 0 | 4 | f20d2c076d9281c4696ab1d33b649c721fb3b011 | 1,894 | pipchansky | Creative Commons Zero v1.0 Universal |
app/src/main/java/com/cocdetails/utils/PathUtils.kt | iKhan1057 | 571,087,717 | false | null | package com.cocdetails.utils
object PathUtils {
fun getCompletePath(sec: String, name: String): String {
return when (sec) {
"hv" -> {
when (name) {
"bowler", "golem", "headhunter", "hog", "ice_golem", "lava", "minion", "valkyrie", "witch" -> "/$name"
... | 0 | Kotlin | 0 | 0 | 761228f09ea423a1745e556330c4c2b34fe0af38 | 2,252 | cocinfo | Apache License 2.0 |
src/commonMain/kotlin/org/daiv/tick/list/readerWriter/ListReaderWriterFactory.kt | henry1986 | 625,890,395 | false | null | package org.daiv.tick.list.readerWriter
import mu.KotlinLogging
import org.daiv.tick.*
interface ListReaderWriterFactory {
val storingFile: StoringFile
fun create(lrwCreator: IOStreamGenerator): ListReaderWriter
object LRWStrategyFactory : ListReaderWriterFactory {
override val storingFile: Stori... | 0 | Kotlin | 0 | 0 | b8aec9056873d57dc56e04f9f1b9fb4f0a3ca240 | 2,483 | timebased-datacompress | Apache License 2.0 |
tabler/src/commonMain/kotlin/com/woowla/compose/icon/collections/tabler/tabler/outline/ServerOff.kt | walter-juan | 868,046,028 | false | {"Kotlin": 20416825} | package com.woowla.compose.icon.collections.tabler.tabler.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.vector.ImageVector
import androidx.compose.ui.graphics.vector... | 0 | Kotlin | 0 | 1 | b037895588c2f62d069c724abe624b67c0889bf9 | 3,999 | compose-icon-collections | MIT License |
feature/chat/src/main/kotlin/io/github/guowenlong/chatgptforandroid/chat/translation/adapter/TranslationUserViewBinder.kt | Wenlong-Guo | 620,623,768 | false | null | package io.github.guowenlong.chatgptforandroid.chat.translation.adapter
import io.github.guowenlong.chatgptforandroid.chat.R
import io.github.guowenlong.chatgptforandroid.chat.databinding.ItemTranslationUserBinding
import io.github.guowenlong.chatgptforandroid.common.base.BaseBindingViewBinder
import io.github.guowenl... | 0 | Kotlin | 1 | 6 | af7966f1b6163462dee1ed897aa036a7722dbedd | 1,144 | ChatGPT-For-Android | Apache License 2.0 |
app/src/main/java/org/abishek/vaccinechecker/Constants.kt | abishekvashok | 376,521,455 | false | null | package org.abishek.vaccinechecker
object Constants {
object ConstantSharedPreferences {
const val name = "VaccineCheckerSharedPref"
const val district_id = "districtID"
const val pincode = "pincode"
const val category = "age_category"
const val mode_set = 1
const v... | 0 | Kotlin | 1 | 6 | 1cbf319b70e9c0d9f7274e61cdaf9e5becce4739 | 14,690 | vaccine-finder | MIT License |
alarm-service/core/src/main/kotlin/org/a_cyb/sayitalarm/alarm_service/core/AlarmScheduler.kt | a-cyborg | 751,578,623 | false | {"Kotlin": 719375} | /*
* Copyright (c) 2024 Mima Kang / All rights reserved.
*
* Use of this source code is governed by Apache v2.0
*/
package org.a_cyb.sayitalarm.alarm_service.core
import android.content.Context
import androidx.work.Data
import androidx.work.OneTimeWorkRequestBuilder
import androidx.work.WorkManager
import org.a_c... | 0 | Kotlin | 0 | 0 | 82b215f149cde250fcdd579a9abcdaa38b591cd2 | 2,359 | SayItAlarm | Apache License 2.0 |
src/main/kotlin/com/atlassian/performance/tools/jiraactions/page/WebElementExtension.kt | atlassian | 162,422,950 | false | null | package com.atlassian.performance.tools.jiraactions.page
import org.openqa.selenium.JavascriptExecutor
import org.openqa.selenium.WebDriver
import org.openqa.selenium.WebElement
internal fun WebElement.scrollIntoView(driver: WebDriver): WebElement {
(driver as JavascriptExecutor).executeScript("arguments[0].scrol... | 7 | null | 31 | 26 | 6172d54002ad54a8064dea60a0547577905afefa | 358 | jira-actions | Apache License 2.0 |
app/src/main/java/com/topjohnwu/magisk/ui/module/ModuleRvItem.kt | Joyoe | 438,411,665 | false | {"C++": 805744, "Kotlin": 431917, "Java": 134018, "Shell": 49395, "Python": 25959, "C": 11376, "Makefile": 4928} | package com.topjohnwu.magisk.ui.module
import androidx.databinding.Bindable
import com.topjohnwu.magisk.BR
import com.topjohnwu.magisk.R
import com.topjohnwu.magisk.core.model.module.LocalModule
import com.topjohnwu.magisk.core.model.module.OnlineModule
import com.topjohnwu.magisk.databinding.DiffRvItem
import com.top... | 0 | C++ | 1 | 2 | b6b293331008a207ce70bae47becee351b9809c1 | 2,474 | Magisk_jojo_build23013 | MIT License |
bee.persistent/src/blaze/kotlin/com/beeproduced/bee/persistent/blaze/meta/dsl/InlineValueUnwrapper.kt | bee-produced | 696,363,229 | false | {"Kotlin": 760065} | package com.beeproduced.bee.persistent.blaze.meta.dsl
/**
*
*
* @author <NAME>
* @version 2024-01-11
*/
fun interface InlineValueUnwrapper {
fun unwrap(inline: Any): Any
} | 0 | Kotlin | 0 | 0 | cf8172e6dccb73a4c9ba164525f4d7f22faa15bf | 181 | bee-built | MIT License |
src/main/java/me/shadowalzazel/mcodyssey/enchantments/misc/Yank.kt | ShadowAlzazel | 511,383,377 | false | {"Kotlin": 1117218} | package me.shadowalzazel.mcodyssey.enchantments.misc
import me.shadowalzazel.mcodyssey.enchantments.OdysseyEnchantment
import net.minecraft.tags.ItemTags
import net.minecraft.world.entity.EquipmentSlot
import net.minecraft.world.item.enchantment.Enchantment.constantCost
import net.minecraft.world.item.enchantment.Ench... | 0 | Kotlin | 0 | 3 | e284bef718969b7beca44b0c1836c4e9be1a5874 | 951 | MinecraftOdyssey | MIT License |
src/main/kotlin/eclipsegaming/MiniGameManager.kt | Apollointhehouse | 831,574,625 | false | {"Kotlin": 13760, "Java": 7329} | package eclipsegaming
import eclipsegaming.EclipseGaming.LOGGER
import eclipsegaming.events.EventHandler
import eclipsegaming.events.EventManager
import eclipsegaming.events.entity.DamageEvent
import eclipsegaming.minigames.MiniGame
import eclipsegaming.utils.PlayerExtensions.game
import net.minecraft.core.player.game... | 0 | Kotlin | 0 | 0 | 4b4ad7296ccbd0fce1cb12ce1281d8dc1377685d | 1,171 | EclipseGaming | Creative Commons Zero v1.0 Universal |
vuesaxicons/src/commonMain/kotlin/moe/tlaster/icons/vuesax/vuesaxicons/bulk/Clipboardclose.kt | Tlaster | 560,394,734 | false | {"Kotlin": 25133302} | package moe.tlaster.icons.vuesax.vuesaxicons.bulk
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap
import androidx.co... | 0 | Kotlin | 0 | 2 | b8a8231e6637c2008f675ae76a3423b82ee53950 | 4,248 | VuesaxIcons | MIT License |
arch-components/src/test/kotlin/com/fibelatti/core/android/EventTest.kt | fibelatti | 158,119,258 | false | null | package com.fibelatti.core.android
import com.fibelatti.core.InstantExecutorExtension
import com.fibelatti.core.archcomponents.Event
import com.fibelatti.core.archcomponents.EventObserver
import com.fibelatti.core.archcomponents.MutableLiveEvent
import com.fibelatti.core.test.extension.mock
import com.fibelatti.core.t... | 0 | Kotlin | 0 | 4 | 8689cb557e91c9ac4809ab1820bf6f257d96711f | 2,188 | fibelatti-core | Apache License 2.0 |
mwheel/src/main/java/com/macv/mwheel/OnRotationListener.kt | MehulKK | 331,375,336 | false | {"Gradle": 4, "Java Properties": 4, "Shell": 1, "Text": 1, "Batchfile": 1, "Markdown": 1, "Proguard": 2, "Ignore List": 2, "Java": 16, "XML": 25, "Kotlin": 21} | package com.macv.mwheel
internal interface OnRotationListener {
fun onFinishRotation()
} | 1 | null | 1 | 1 | ee7296b4a4b3bbbd4f828963d5a309ee2653def8 | 93 | SpinWheel | MIT License |
feature/auth-impl/src/iosMain/kotlin/org/michaelbel/movies/auth/ui/AuthRoute.ios.kt | michaelbel | 115,437,864 | false | {"Kotlin": 908384, "Swift": 692, "HTML": 606, "Shell": 235} | package org.michaelbel.movies.auth.ui
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import org.koin.compose.koinInject
import org.michaelbel.movies.auth.AuthViewModel
import org.michaelbel.movies.common.browser.openUrl
@Composable
fun AuthRoute(
onBackClick: () -> Unit,
modifi... | 8 | Kotlin | 36 | 271 | 1da1d67e093ecb76057a06da0ef17f746ca06888 | 771 | movies | Apache License 2.0 |
dairo-dfs-server/src/main/java/cn/dairo/dfs/controller/app/files/form/ComputeSubTotalForm.kt | DAIRO-HY | 850,929,695 | false | {"Kotlin": 384885, "HTML": 114552, "JavaScript": 39136, "Java": 27584, "Shell": 4220, "Dockerfile": 2974, "CSS": 2579, "Batchfile": 967, "SCSS": 33} | package cn.dairo.dfs.controller.app.files.form
class ComputeSubTotalForm {
/**
* 大小
*/
var size: Long = 0L
/**
* 文件数(文件夹属性专用)
*/
var fileCount: Int = 0
/**
* 文件夹数(文件夹属性专用)
*/
var folderCount: Int = 0
} | 0 | Kotlin | 0 | 0 | c8613581ef4c8f39836ea9c69169fb0b3c1e8984 | 259 | DairoDfs | Apache License 2.0 |
wui/src/main/kotlin/caches.kt | ez-corp | 211,860,541 | false | null | import queries.CourseInfo
val CourseInfoCache: MutableMap<String, CourseInfo> = mutableMapOf()
| 0 | Kotlin | 0 | 0 | c0cd3eb8787eb445cbf2ea2fab4f5320aa229012 | 98 | easy | MIT License |
app/src/main/java/flaskoski/rs/smartmuseum/util/AnimationUtil.kt | flaskoski | 173,016,051 | false | null |
/*
This is a modified version of the following code:
Copyright 2013 Google Inc.
Licensed under Apache 2.0: http://www.apache.org/licenses/LICENSE-2.0.html
Source - https://gist.github.com/broady/6314689
Video - https://www.youtube.com/watch?v=WKfZsCKSXVQ&feature=youtu.be
//---------------------------... | 0 | Kotlin | 0 | 1 | 2e180a388298e0b827cea35daef4593ec52f5811 | 4,930 | SmartMuseum | MIT License |
src/main/kotlin/io/github/mrmlik12/github/api/URLs.kt | MRmlik12 | 338,544,143 | false | null | package io.github.mrmlik12.github.api
enum class URLs(val url: String) {
User("https://api.github.com/users/"),
UserRepo("https://api.github.com/users/{userName}/repos"),
UserGist("https://api.github.com/users/{userName}/gists"),
UserFollowers("https://api.github.com/users/{userName}/followers"),
U... | 0 | Kotlin | 0 | 0 | 3fe24148427205ee63e56391dd74a7a22816fe9e | 681 | github-api | MIT License |
app/src/main/java/com/msg/gcms/domain/usecase/auth/CheckLoginStatusUseCase.kt | GSM-MSG | 465,292,111 | false | null | package com.msg.gcms.domain.usecase.auth
import com.msg.gcms.domain.repository.AuthRepository
import javax.inject.Inject
class CheckLoginStatusUseCase @Inject constructor(
private val authRepository: AuthRepository
) {
suspend operator fun invoke() = kotlin.runCatching {
authRepository.checkLoginStatu... | 12 | Kotlin | 0 | 8 | 65ba9a3e762676b9032ae8031f937e2b338b78f0 | 331 | GCMS-Android | MIT License |
app/src/main/java/org/simple/clinic/drugs/selection/entry/CustomPrescriptionEntryEvents.kt | moealmaw | 138,648,110 | true | {"Kotlin": 347838} | package org.simple.clinic.drugs.selection.entry
import org.simple.clinic.widgets.UiEvent
import java.util.UUID
data class CustomPrescriptionSheetCreated(val patientUuid: UUID) : UiEvent
data class CustomPrescriptionDrugNameTextChanged(val name: String) : UiEvent
data class CustomPrescriptionDrugDosageTextChanged(va... | 0 | Kotlin | 0 | 0 | d59ebd983c0d08d85d91041e33b7927528bbb559 | 397 | redapp | MIT License |
modules/common_navigation/src/main/java/kekmech/ru/common_navigation/BottomTabsSwitcher.kt | alexberdreal | 312,900,118 | true | {"Kotlin": 408124, "Shell": 46} | package kekmech.ru.common_navigation
import io.reactivex.Observable
import kekmech.ru.common_kotlin.Option
interface BottomTabsSwitcher {
fun changeTab(tab: BottomTab)
fun clearTab()
fun observe(): Observable<Option<BottomTab>>
} | 0 | null | 0 | 0 | 44324701b5e121bfca3fc854d3f84dffbe8ae90c | 246 | mpeiapp | MIT License |
app/src/main/java/com/waseefakhtar/doseapp/data/entity/MedicationEntity.kt | waseefakhtar | 504,263,132 | false | {"Kotlin": 135627} | package com.waseefakhtar.doseapp.data.entity
import androidx.room.Entity
import androidx.room.PrimaryKey
import java.util.Date
@Entity
data class MedicationEntity(
@PrimaryKey(autoGenerate = true) val id: Long = 0,
val name: String,
val dosage: Int,
val recurrence: String,
val endDate: Date,
v... | 27 | Kotlin | 71 | 467 | 21745db8db92255139b79f0c8751976a3f8e4d57 | 390 | dose-android | MIT License |
common/src/commonMain/kotlin/it/nicolasfarabegoli/hotwarmcold/components/smartphone/Actuator.kt | nicolasfara | 587,227,341 | false | null | package it.nicolasfarabegoli.hotwarmcold.components.smartphone
import it.nicolasfarabegoli.pulverization.component.Context
import it.nicolasfarabegoli.pulverization.core.Actuator
import it.nicolasfarabegoli.pulverization.core.ActuatorsContainer
import it.nicolasfarabegoli.pulverization.runtime.componentsref.BehaviourR... | 0 | Kotlin | 0 | 0 | f452c8b913d0ce3a3fcf8e187bdc63ce4cb55b42 | 1,328 | pulverization-hot-warm-cold | MIT License |
android/BaiPiaoOcrAndroidOnnx/app/src/main/java/com/benjaminwan/ocr/onnx/CameraActivity.kt | RapidAI | 326,610,757 | false | null | package com.benjaminwan.ocr.onnx
import android.graphics.Bitmap
import android.os.Bundle
import android.view.View
import android.widget.SeekBar
import androidx.appcompat.app.AppCompatActivity
import androidx.camera.core.*
import androidx.camera.lifecycle.ProcessCameraProvider
import androidx.camera.view.PreviewView
im... | 1 | C++ | 2 | 895 | 89d0b621c1ff9a82a3eedab901c67a234ac7cf10 | 9,276 | RapidOCR | Apache License 2.0 |
j2k/tests/testData/ast/enum/class/colorEnum.kt | udalov | 10,645,710 | false | {"Java": 9931656, "Kotlin": 2142480, "JavaScript": 942412, "C++": 613791, "C": 193807, "Objective-C": 22634, "Shell": 12589, "Groovy": 1267} | package demo
enum class MyEnum(_color : Int) {
RED : MyEnum(10)
BLUE : MyEnum(20)
private val color : Int
public fun getColor() : Int {
return color
}
{
color = _color
}
} | 0 | Java | 1 | 6 | 3958b4a71d8f9a366d8b516c4c698aae80ecfe57 | 171 | kotlin-objc-diploma | Apache License 2.0 |
sample/src/main/kotlin/com/kronos/android/startup/sample/task/MyAnchorTask.kt | Leifzhang | 431,806,948 | false | null | package com.kronos.android.startup.sample.task
import android.content.Context
import com.kronos.android.startup.sample.AsyncTask1Provider
import com.kronos.android.startup.sample.MyAnchorTaskProvider
import com.kronos.lib.startup.SimpleStartupTask
import com.kronos.startup.TaskNameProvider
/**
*
* @Author LiABao
... | 0 | Kotlin | 8 | 47 | 883e2be9c1c6b19714fa74c803bd517fad081944 | 613 | AndroidStartup | Apache License 2.0 |
app/src/main/java/dev/robert/spacexgo/core/presentation/common/InfoRow.kt | robert-muriithi | 586,537,208 | false | {"Kotlin": 219684} | package dev.robert.spacexgo.core.presentation.common
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.compose.material.Text
import androidx.compose... | 3 | Kotlin | 0 | 7 | e33d59efc00fa315f4380253bebbb90ab27d7cab | 1,144 | SpaceXGo | Apache License 2.0 |
SceytChatUiKit/src/main/java/com/sceyt/chatuikit/presentation/common/ConcurrentHashSet.kt | sceyt | 549,073,085 | false | {"Kotlin": 2675924, "Java": 107920} | package com.sceyt.sceytchatuikit.presentation.common
import java.util.concurrent.ConcurrentHashMap
class ConcurrentHashSet<E : Any> : MutableSet<E> {
private val map = ConcurrentHashMap<E, Any>()
private val present = Any()
override val size: Int
get() = map.size
override fun isEmpty(): Bool... | 0 | Kotlin | 1 | 2 | ce9c1b95555fadaafcd11f0d073fcdb07ca49600 | 1,421 | sceyt-chat-android-uikit | MIT License |
kotlin-electron/src/jsMain/generated/electron/core/InAppPurchaseEvent.kt | JetBrains | 93,250,841 | false | {"Kotlin": 11782739, "JavaScript": 180094} | // Generated by Karakum - do not modify it manually!
package electron.core
@Suppress(
"NAME_CONTAINS_ILLEGAL_CHARS",
"NESTED_CLASS_IN_EXTERNAL_INTERFACE",
)
@JsName("""(/*union*/{TRANSACTIONS_UPDATED: 'transactions-updated'}/*union*/)""")
sealed external interface InAppPurchaseEvent : node.events.EventType {... | 33 | Kotlin | 174 | 1,257 | 48cdb9f623f7686222300c850c4f8d0bade479d0 | 376 | kotlin-wrappers | Apache License 2.0 |
data/notes/src/main/kotlin/ru/maksonic/beresta/data/notes/di/notesDataModule.kt | maksonic | 580,058,579 | false | null | package ru.maksonic.beresta.data.notes.di
import org.koin.core.qualifier.named
import org.koin.dsl.module
import ru.maksonic.beresta.common.coroutine_dispatchers.CoroutineDispatchers
import ru.maksonic.beresta.data.notes.NotesRepositoryImpl
import ru.maksonic.beresta.data.notes.cache.NoteCacheMapper
import ru.maksonic... | 0 | Kotlin | 0 | 0 | f01672d89b5772c250d237ce5f3db4f73e3af819 | 1,512 | Beresta | MIT License |
livekit-android-sdk/src/test/java/io/livekit/android/events/EventCollector.kt | livekit | 339,892,560 | false | null | package io.livekit.android.events
import kotlinx.coroutines.CoroutineScope
class EventCollector<T : Event>(
eventListenable: EventListenable<T>,
coroutineScope: CoroutineScope
) : FlowCollector<T>(eventListenable.events, coroutineScope) | 9 | Kotlin | 35 | 99 | 5b49711143729c497d77684f892ee5fa3ef5d900 | 246 | client-sdk-android | Apache License 2.0 |
app/src/main/java/com/springer/patryk/decisionaid/model/network/endpoints/GroupsWS.kt | Gralls | 164,907,645 | false | {"Kotlin": 94763} | package com.springer.patryk.decisionaid.model.network.endpoints
import com.springer.patryk.decisionaid.model.UsersGroup
import com.springer.patryk.decisionaid.view.loggedin.groupmembers.addmember.model.NewMemberRequest
import com.springer.patryk.decisionaid.view.loggedin.groups.details.model.GroupDetails
import com.sp... | 2 | Kotlin | 0 | 0 | 18989953f855dc41e21fc95c17615c04d2c0071a | 1,377 | DecisionAid | Apache License 2.0 |
src/main/kotlin/navigation/NavigationHost.kt | yveskalume | 629,345,265 | true | {"Maven POM": 5, "Markdown": 1, "Text": 1, "Ignore List": 2, "Java": 446, "YAML": 1, "Protocol Buffer": 2, "INI": 2, "Gradle Kotlin DSL": 2, "Shell": 1, "Batchfile": 1, "Kotlin": 4} | package nav
import androidx.compose.runtime.Composable
class NavigationHost(
val navController: NavController,
val contents: @Composable NavigationGraphBuilder.() -> Unit
) {
@Composable
fun build() {
NavigationGraphBuilder().renderContents()
}
inner class NavigationGraphBuil... | 0 | null | 0 | 0 | 6aa20917990524d5524250972668e9ccc1f00f3f | 795 | WhatsappWeb4j | MIT License |
fluent-icons-extended/src/commonMain/kotlin/com/konyaco/fluent/icons/filled/BookCompass.kt | Konyaco | 574,321,009 | false | null |
package com.konyaco.fluent.icons.filled
import androidx.compose.ui.graphics.vector.ImageVector
import com.konyaco.fluent.icons.Icons
import com.konyaco.fluent.icons.fluentIcon
import com.konyaco.fluent.icons.fluentPath
public val Icons.Filled.BookCompass: ImageVector
get() {
if (_bookCompass != null) {
... | 1 | Kotlin | 3 | 83 | 9e86d93bf1f9ca63a93a913c990e95f13d8ede5a | 2,286 | compose-fluent-ui | Apache License 2.0 |
imageeditor/src/main/java/xyz/parkly/imageedit/editimage/interfaces/OnLoadingDialogListener.kt | ParklyInc | 493,957,261 | false | {"Java": 311069, "C": 137907, "Makefile": 10182, "Kotlin": 8949} | package me.mixal.edits.editor.interfaces
interface OnLoadingDialogListener {
fun showLoadingDialog()
fun dismissLoadingDialog()
}
| 1 | null | 1 | 1 | 7fb7ecf62cc9d3638e25ec0f793f23506f99e7d6 | 139 | ImageEditor | MIT License |
android/src/main/kotlin/com/baseflow/flutter/plugin/geolocator/tasks/LocationUsingLocationServicesTask.kt | sidlatau | 166,651,204 | false | {"Markdown": 12, "YAML": 4, "Text": 2, "Ignore List": 6, "Git Attributes": 1, "EditorConfig": 1, "Gradle": 5, "INI": 4, "Java Properties": 2, "XML": 10, "Kotlin": 26, "Dart": 15, "Java": 1, "Ruby": 2, "OpenStep Property List": 3, "Objective-C": 3, "Swift": 13, "JSON": 2, "Shell": 2} | package com.baseflow.flutter.plugin.geolocator.tasks
import com.baseflow.flutter.plugin.geolocator.data.LocationOptions
internal abstract class LocationUsingLocationServicesTask(taskContext: TaskContext<LocationOptions>) : Task<LocationOptions>(taskContext) {
val locationOptions: LocationOptions = taskContext.opt... | 1 | null | 1 | 1 | e12a0f57ef2ba30efbca4d2c06480b1081966e44 | 328 | flutter-geolocator | MIT License |
app/src/main/java/com/app/albums/shared/di/AppModule.kt | AhmedTawfiqM | 486,283,872 | false | null | package com.app.albums.shared.di
import android.content.Context
import com.app.albums.shared.App
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.android.qualifiers.ApplicationContext
import dagger.hilt.components.SingletonComponent
import javax.inject.Singleton
@Module
@Ins... | 0 | Kotlin | 0 | 7 | cb34d425033d5a8127bd74dad693fb3745f06fbd | 504 | Albums | Apache License 2.0 |
app/src/main/java/com/doctoror/splittor/presentation/groupsoverview/GroupsOverviewViewModelUpdater.kt | Doctoror | 639,914,602 | false | null | package com.doctoror.splittor.presentation.groupsoverview
import com.doctoror.splittor.R
import com.doctoror.splittor.domain.groups.Group
class GroupsOverviewViewModelUpdater(
private val groupItemViewModelMapper: GroupItemViewModelMapper,
private val viewModel: GroupsOverviewViewModel
) {
fun updateOnGr... | 0 | Kotlin | 0 | 1 | 4d2e88ecc753210cc6e98b7b2118464308160aba | 643 | Android-Architecture-Demos | Apache License 2.0 |
plugins/src/main/kotlin/com/project/starter/quality/internal/AndroidCoverage.kt | tooploox | 247,662,214 | true | {"Kotlin": 93194} | package com.project.starter.quality.internal
import com.android.build.gradle.api.BaseVariant
import org.gradle.api.DomainObjectSet
import org.gradle.api.Project
import org.gradle.testing.jacoco.plugins.JacocoTaskExtension
import org.gradle.testing.jacoco.tasks.JacocoReport
internal fun Project.configureAndroidCoverag... | 0 | Kotlin | 0 | 0 | 4c64478ee81a707008337e147fa12d14da728a81 | 2,710 | project-starter | MIT License |
domain/src/main/java/com/gabrielmorenoibarra/weatherlocation/domain/keys/routes/response/WeatherObservationKeys.kt | soygabimoreno | 200,456,364 | false | null | package com.gabrielmorenoibarra.weatherlocation.domain.keys.routes.response
object WeatherObservationKeys {
const val ITEMS_NAME = "weatherObservations"
}
| 0 | Kotlin | 0 | 0 | 750e6b6283ab91c0a405a0ff928ee82dff140004 | 160 | Weather-Location | Apache License 2.0 |
contracts/src/main/kotlin/com/contractsAndStates/states/TileSides.kt | abellagonzalo | 197,566,849 | true | {"Kotlin": 357987, "HTML": 168, "JavaScript": 53} | package com.contractsAndStates.states
import net.corda.core.contracts.UniqueIdentifier
import net.corda.core.serialization.ConstructorForDeserialization
import net.corda.core.serialization.CordaSerializable
@CordaSerializable
data class TileSides @ConstructorForDeserialization constructor(
val value: List<Til... | 0 | Kotlin | 0 | 0 | 15d49b0524ce6835ff5cf5ce22891bc8d65c6894 | 6,302 | SettlersOfCordan | Apache License 2.0 |
web/src/test/java/no/nav/modiapersonoversikt/rest/person/PersonsokControllerTest.kt | navikt | 218,512,058 | false | {"Kotlin": 905019, "Java": 487956, "Mustache": 29354, "Shell": 1401, "Dockerfile": 345} | package no.nav.modiapersonoversikt.rest.person
import no.nav.modiapersonoversikt.consumer.pdl.generated.enums.KjoennType
import no.nav.modiapersonoversikt.consumer.pdl.generated.sokperson.*
import no.nav.modiapersonoversikt.consumer.pdl.generated.sokperson.Matrikkeladresse
import no.nav.modiapersonoversikt.consumer.pd... | 3 | Kotlin | 1 | 2 | bc0e6063468be3001e0999e6e1d36b99599cc9d4 | 14,133 | modiapersonoversikt-api | MIT License |
src/2020/Day2_2.kts | Ozsie | 318,802,874 | false | null | import java.io.File
var count = 0
File("input/2020/day2").forEachLine {
val (rule,value) = it.split(":").map { it.trim() }
val (limits,letter) = rule.split(" ").map { it.trim() }
val (x,y) = limits.split("-").map{ it.toInt() - 1 }
if ((value[x] == letter[0]).xor(value[y] == letter[0])) count++
}
println... | 0 | Kotlin | 0 | 0 | f404eeb9d8a85511ffbe3e38d939dfa25281c4bf | 328 | adventofcode | MIT License |
skribenten-backend/src/main/kotlin/no/nav/pensjon/brev/skribenten/routes/Brev.kt | navikt | 375,334,697 | false | {"Kotlin": 3101141, "TypeScript": 459486, "TeX": 12813, "Shell": 8986, "CSS": 8051, "Python": 4661, "JavaScript": 4382, "Dockerfile": 2406, "HTML": 1053} | package no.nav.pensjon.brev.skribenten.routes
import io.ktor.http.*
import io.ktor.server.application.*
import io.ktor.server.response.*
import io.ktor.server.routing.*
import io.ktor.server.util.*
import io.ktor.util.pipeline.*
import no.nav.pensjon.brev.skribenten.letter.Edit
import no.nav.pensjon.brev.skribenten.mo... | 4 | Kotlin | 3 | 1 | da4b4a6ac36d9732874e658d081054c07c560619 | 2,763 | pensjonsbrev | MIT License |
remote/src/main/java/com/hariofspades/remote/model/SymbolLocal.kt | Hariofspades | 151,868,084 | false | null | package com.hariofspades.remote.model
import com.google.gson.annotations.SerializedName
data class SymbolLocal(@SerializedName("symbol")
val symbol: String,
@SerializedName("code")
val code: String,
@SerializedName("symbolAppe... | 0 | Kotlin | 2 | 16 | e98461cc896e72703a94b2b6de6bdc4d117e38fe | 673 | my-wallet | MIT License |
app/src/main/java/com/koflox/currency_exchanger/util/result/ResultUtil.kt | koflox | 718,336,050 | false | {"Kotlin": 62046} | package com.koflox.currency_exchanger.util.result
import kotlinx.coroutines.TimeoutCancellationException
import kotlin.coroutines.cancellation.CancellationException
inline fun <R> runSafeCatching(block: () -> R): Result<R> {
return try {
Result.success(block())
} catch (e: Throwable) {
val isC... | 0 | Kotlin | 0 | 0 | cca367643b8f8a53a0725fe0140d3751246d18fb | 582 | currency-exchanger | Apache License 2.0 |
src/test/kotlin/day17/Day17Test.kt | alxgarcia | 435,549,527 | false | null | package day17
import org.junit.jupiter.api.Test
import kotlin.test.assertEquals
internal class Day17Test {
@Test
fun `test part 1 - max vertical speed the probe can reach without missing the target`() {
val input = "target area: x=20..30, y=-10..-5"
val (_, rangeY) = parseInput(input)
val (time, maxI... | 0 | Kotlin | 0 | 0 | d6b10093dc6f4a5fc21254f42146af04709f6e30 | 1,373 | advent-of-code-2021 | MIT License |
straight/src/commonMain/kotlin/me/localx/icons/straight/bold/ParkingSlash.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.straight.bold
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
i... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 3,071 | icons | MIT License |
chargeStatistics/src/test/java/at/sunilson/chargestatistics/GetChargingProceduresTests.kt | sunilson | 271,761,302 | false | null | package at.sunilson.chargestatistics
import at.sunilson.chargestatistics.domain.ExtractChargingProcedures
import at.sunilson.chargestatistics.domain.entities.ChargingProcedure
import at.sunilson.chargetracking.domain.GetAllChargeTrackingPoints
import at.sunilson.chargetracking.domain.entities.ChargeTrackingPoint
impor... | 0 | Kotlin | 0 | 5 | 7774eeeb923432cc22c9d1833f37d5a13f65c317 | 3,618 | Zoe | Apache License 2.0 |
datasources/src/main/java/com/santukis/datasources/local/daos/CardClassDao.kt | santukis | 504,046,648 | false | {"Kotlin": 206975} | package com.santukis.datasources.local.daos
import androidx.room.Dao
import androidx.room.Query
import com.santukis.datasources.entities.dbo.CardClassDB
@Dao
interface CardClassDao: BaseDao<CardClassDB> {
@Query("SELECT * FROM cardclass")
fun getCardClasses(): List<CardClassDB>
} | 0 | Kotlin | 0 | 3 | 7baff042a3bf97fc82eb5e7a73669cad9820ed39 | 291 | HearthStone | Apache License 2.0 |
kafkistry-state-scraping/src/main/kotlin/com/infobip/kafkistry/kafkastate/AbstractKafkaStateProvider.kt | infobip | 456,885,171 | false | null | package com.infobip.kafkistry.kafkastate
import com.infobip.kafkistry.utils.deepToString
import com.infobip.kafkistry.kafkastate.config.PoolingProperties
import com.infobip.kafkistry.model.KafkaCluster
import com.infobip.kafkistry.model.KafkaClusterIdentifier
import com.infobip.kafkistry.repository.KafkaClustersReposi... | 0 | Kotlin | 0 | 19 | ca65af134cc534ca30ab8c5093e64122fccc9030 | 4,370 | kafkistry | Apache License 2.0 |
app/src/androidTest/java/org/bspb/smartbirds/pro/tools/form/PylonsCasualtiesFormHelper.kt | BspbOrg | 68,009,904 | false | null | package org.bspb.smartbirds.pro.tools.form
import androidx.test.espresso.action.ViewActions.scrollTo
import org.bspb.smartbirds.pro.R
import org.bspb.smartbirds.pro.tools.action.SBViewActions.setChecked
import org.bspb.smartbirds.pro.tools.fillTextField
import org.bspb.smartbirds.pro.tools.form.entry.FormEntry
import ... | 5 | Kotlin | 0 | 0 | c91a0a9269092d4fbc9ae9732f95acb478b395f4 | 2,874 | smartbirds-android | Apache License 2.0 |
src/main/java/uk/gov/justice/hmpps/casenotes/controllers/ControllerAdvice.kt | ministryofjustice | 195,988,411 | false | {"Kotlin": 307204, "Java": 66924, "Mustache": 1803, "Dockerfile": 1357, "Shell": 580} | package uk.gov.justice.hmpps.casenotes.controllers
import jakarta.persistence.EntityExistsException
import jakarta.validation.ValidationException
import lombok.extern.slf4j.Slf4j
import org.springframework.http.HttpStatus
import org.springframework.http.ResponseEntity
import org.springframework.security.access.AccessD... | 3 | Kotlin | 1 | 1 | b9f809ab29db64f84237da8ab6991c6df324d165 | 2,790 | offender-case-notes | MIT License |
app/src/main/java/com/polar/androidblesdk/DialogUtility.kt | LetMarq | 801,298,442 | false | {"Kotlin": 32890} | package com.polar.androidblesdk
import android.app.Activity
import android.app.Dialog
import android.view.View
import android.view.Window
import android.widget.Button
import android.widget.RadioGroup
import android.widget.TextView
import com.google.android.material.radiobutton.MaterialRadioButton
import com.polar.sdk.... | 0 | Kotlin | 0 | 0 | c768c0866f707c41b458dce3cfd34d9353ec9d8f | 5,827 | MoveApp | MIT License |
KotlinToSwift/src/main/kotlin/fr/jhelp/kotlinToSwift/postTreatment/ExtensionPostTreatment.kt | jhelpgg | 600,408,546 | false | null | package fr.jhelp.kotlinToSwift.postTreatment
private const val EXTENSION_HEADER = "public extension "
fun parseExtension(file: String): String
{
if (file.contains(EXTENSION_HEADER))
{
return "$file\n}"
}
return file
}
| 0 | Kotlin | 0 | 0 | 6ab79ff8f826b8c6fbf059b4ca68b9ec1da965e8 | 245 | Kotlwift | Apache License 2.0 |
aTalk/src/main/java/net/java/sip/communicator/plugin/defaultresourcepack/DefaultImagePackImpl.kt | cmeng-git | 704,328,019 | false | {"Kotlin": 14462775, "Java": 2824517, "C": 275021, "Shell": 49203, "Makefile": 28273, "C++": 13642, "HTML": 7793, "CSS": 3127, "JavaScript": 2758, "AIDL": 375} | /*
* Jitsi, the OpenSource Java VoIP and Instant Messaging client.
*
* 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 requi... | 0 | Kotlin | 0 | 0 | 393d94a8b14913b718800238838801ce6cdf5a1f | 3,481 | atalk-hmos_kotlin | Apache License 2.0 |
src/main/java/io/github/cdsap/parsetimeline/model/TimelineGraph.kt | cdsap | 820,222,423 | false | {"Kotlin": 26459} | package io.github.cdsap.parsetimeline.model
data class TimelineGraph(
val phases: List<Phase>
)
| 0 | Kotlin | 0 | 3 | db7d54a8c6c16277da894d5ef215972b75972a8b | 101 | TimelineParser | MIT License |
app/src/main/java/com/bytemedrive/navigation/NavigationBottomBar.kt | bytemedrive | 604,147,693 | false | null | package com.bytemedrive.navigation
import androidx.compose.material.BottomNavigation
import androidx.compose.material.BottomNavigationItem
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.filled.Login
import androidx.compose.material.icons.filled.Upload
import androidx.compose.materi... | 0 | Kotlin | 0 | 0 | 90e0abb9c3d5503f771d0a9492fc615c87480ba3 | 1,693 | android | MIT License |
app/src/main/java/in/silive/lateentryproject/repositories/LoginRepository.kt | its-me-debk007 | 660,292,889 | false | {"Kotlin": 86393} | package `in`.silive.lateentryproject.repositories
import `in`.silive.lateentryproject.models.MessageDataClass
import `in`.silive.lateentryproject.network.ServiceBuilder
import `in`.silive.lateentryproject.sealed_class.ErrorPojoClass
import `in`.silive.lateentryproject.sealed_class.Response
import androidx.lifecycle.Mu... | 0 | Kotlin | 0 | 0 | a3427a89895ba214ade1f6570274eb186c809f43 | 2,231 | Late-Entry-Project | MIT License |
src/main/kotlin/com/mark/netrune/buffer/ReadableBufferSkipDelegate.kt | Mark7625 | 641,050,293 | false | null | package com.mark.netrune.buffer
import kotlin.reflect.KProperty
class ReadableBufferSkipDelegate(
private val bytesToSkip: Int
) : ReadableBufferDelegate {
override fun read(buffer: ReadableBuffer) {
buffer.skipBytes(bytesToSkip)
}
operator fun getValue(thisRef: Any?, property: KProperty<*>)... | 1 | Kotlin | 1 | 1 | 8cff984c258cf12b440e30626b60dd3f36aa9824 | 331 | Osrs-Data-packer | MIT License |
sample/base/src/main/java/club/fdawei/comkit/sample/base/CommonAppDelegate.kt | fangdawei | 194,708,082 | false | {"Groovy": 46142, "Kotlin": 10022} | package club.fdawei.comkit.sample.base
import android.app.Application
import android.util.Log
import club.fdawei.comkit.annotation.AppDelegate
import club.fdawei.comkit.api.app.IAppDelegate
import club.fdawei.nrouter.api.NRouter
/**
* Created by david on 2019/07/19.
*/
@AppDelegate
class CommonAppDelegate : IAppDel... | 0 | Groovy | 0 | 1 | 9845e262613487880d70598a19df6187a513e171 | 502 | ComKit | Apache License 2.0 |
app/src/main/java/com/shankarlohar/pedopt_adoptapet/data/domain/PedoptUser.kt | shankarlohar | 639,915,465 | false | {"Kotlin": 137146} | package com.shankarlohar.pedopt_adoptapet.data.domain
import android.net.Uri
/**
* A domain model class that represents a user with a [name],
* [email] and a [photoUrl] that will be used as the profile
* picture of the user.
*/
data class PedoptUser(
val id:String,
val name: String?,
val email: String... | 0 | Kotlin | 0 | 0 | a2e40fcc56db26d41419668671456fedf7a2aae3 | 347 | Pedopt-Adopt-a-Pet | MIT License |
AndroidGPT-android/app/src/main/java/ai/cloudcnctrai/cloudcnctrai/screens/TabThreeScreen.kt | arunabhdas | 513,167,542 | false | null | package ai.cloudcnctrai.cloudcnctrai.screens
import ai.cloudcnctrai.cloudcnctrai.network.domain.item.GameItem
import ai.cloudcnctrai.cloudcnctrai.network.domain.item.ProductItem
import ai.cloudcnctrai.cloudcnctrai.theme.DeepBlue
import ai.cloudcnctrai.cloudcnctrai.theme.PrimaryColor
import ai.cloudcnctrai.cloudcnctrai... | 0 | Kotlin | 0 | 0 | b8a4bc43447c410b5aa98c76f4eb1f173d04a434 | 3,157 | AndroidGPT | MIT License |
lazybones/src/test/kotlin/com/skydoves/lazybones/UnitTestActivity.kt | skydoves | 232,824,014 | false | {"Kotlin": 46382} | /*
* Designed and developed by 2020 skydoves (<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... | 0 | Kotlin | 17 | 350 | abf63266b4445fdb00d88f12120ecdeb0d681113 | 980 | lazybones | Apache License 2.0 |
app/src/main/java/com/akka/kasel/data/source/local/TransactionsLocalDataSource.kt | akkasel | 445,143,540 | false | null | package com.akka.kasel.data.source.local
import com.akka.kasel.data.Result
import com.akka.kasel.data.Result.Error
import com.akka.kasel.data.Result.Success
import com.akka.kasel.data.Transaction
import com.akka.kasel.data.source.TransactionsDataSource
import kotlinx.coroutines.CoroutineDispatcher
import kotlinx.corou... | 0 | Kotlin | 0 | 1 | 06d514ee09d4d8ef361cafc8244c2f89702fa148 | 2,627 | expensetracker | MIT License |
app/src/androidTest/java/me/androidbox/tamboon/utils/Utilites.kt | steve1rm | 279,474,581 | false | null | package me.androidbox.tamboon.utils
object Utilites {
fun loadFromResources(path: String): String {
this.javaClass.classLoader?.let {
val stream = it.getResource(path)
return String(stream.readBytes())
} ?: run {
return ""
}
}
}
| 0 | Kotlin | 0 | 0 | b078d4b31bc0c0fe9bf050c1a69ffb193a2d9f20 | 299 | donations | MIT License |
src/commonMain/kotlin/your/game/MyGame.kt | minigdx | 367,647,528 | false | null | package your.game
import com.dwursteisen.minigdx.scene.api.Scene
import com.dwursteisen.minigdx.scene.api.relation.ObjectType
import com.github.dwursteisen.minigdx.GameContext
import com.github.dwursteisen.minigdx.ecs.Engine
import com.github.dwursteisen.minigdx.ecs.components.Color
import com.github.dwursteisen.minig... | 0 | Kotlin | 0 | 0 | 99b86266c042c47e72e81a93a3146ceb62e3a3c2 | 1,638 | minigdx-docs | MIT License |
app/src/main/java/com/ganhuo/app/ui/fragment/wan/knowledge/SquareWanFragment.kt | robertchar | 250,484,237 | false | null | package com.ganhuo.app.ui.fragment.wan.knowledge
import android.view.LayoutInflater
import androidx.recyclerview.widget.LinearLayoutManager
import com.ganhuo.app.R
import com.ganhuo.app.adpter.brvah.more.WanSquareAdapter
import com.ganhuo.app.base.BaseFragment
import com.ganhuo.app.bean.SquareData
import com.ganhuo.ap... | 0 | Kotlin | 0 | 1 | 3ce1dedf35d203a5f878fc4b2353d4e112cac8f2 | 3,999 | KotlinGanhuo | Apache License 2.0 |
app/src/main/java/com/github/cirorizzo/kshows/view/MainActivityInterface.kt | usetsai | 53,048,542 | true | {"Kotlin": 7713} | package com.github.cirorizzo.kshows.view
interface MainActivityInterface {
} | 0 | Kotlin | 0 | 0 | 4a74ad688a6c2a841cc7b71af9edfa7f5f2512e3 | 78 | KShows | Apache License 2.0 |
KirraDungeonServer/src/main/kotlin/net/sakuragame/eternal/kirradungeon/server/zone/data/ZoneTriggerData.kt | Eternalland-Server | 569,813,142 | false | null | package net.sakuragame.eternal.kirradungeon.server.zone.data
import net.sakuragame.eternal.kirradungeon.server.zone.ZoneLocation
import net.sakuragame.eternal.kirradungeon.server.zone.data.sub.ZoneBlockData
data class ZoneTriggerData(val triggerLoc: ZoneLocation, val blocks: MutableList<List<ZoneBlockData>>) | 0 | Kotlin | 0 | 0 | 537f062f32d1b14cf26c89161a8efc178e596d14 | 311 | KirraDungeon | Creative Commons Zero v1.0 Universal |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.