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
android/app/src/main/java/com/demo/api/HeaderTimeZone.kt
umeshbsa
469,412,431
false
{"Kotlin": 42830, "Objective-C": 4484, "Java": 3523, "JavaScript": 3186, "Starlark": 1904, "Ruby": 955}
package com.demo.api class HeaderTimeZone { var identifier: String? = null var abbreviation: String? = null var offset: String? = null }
0
Kotlin
0
0
cda9303c4fee80384df4677deef7593759c664ad
148
react-api-bridge
MIT License
app/src/main/java/com/example/tsuki/chit_chat/UTIL/CCApiTask.kt
Tskken
157,618,529
false
null
package com.example.tsuki.chit_chat.UTIL import android.os.AsyncTask import java.io.BufferedReader import java.io.InputStreamReader import java.net.HttpURLConnection import java.net.URL class CCApiTask( private val mAddress: String, private val mMethod: METHODS, private val mSuccess: (String)...
0
Kotlin
0
2
3992faca62ea821af4dd1fafca06caab55185ee8
2,610
ChitChat
MIT License
app/src/main/java/me/taolin/app/gank/executor/ThreadExecutor.kt
taolin2107
125,477,908
false
null
package me.taolin.app.gank.executor import java.util.concurrent.Executor /** * @author taolin * @version v1.0 * @date 2018/01/19 * @description */ interface ThreadExecutor : Executor { }
0
Kotlin
0
0
643397660a7ae4ef41b078511ff3ad61743e8060
195
Gank
The Unlicense
app/src/main/java/com/lookie/instadownloader/data/room/repository/PostRepository.kt
nhphung216
233,366,868
false
null
package com.lookie.instadownloader.data.room.repository import com.lookie.instadownloader.data.room.entity.Post import com.lookie.instadownloader.data.room.dao.PostDao /** * @author <NAME> on 2020-01-11 22:05 **/ class PostRepository private constructor(private val postDao: PostDao) { fun getPosts() = postDao.ge...
1
Kotlin
1
6
45e57fd03e90acf557ecd38f2d92e5035657e8e4
1,041
insta-downloader
Apache License 2.0
src/main/kotlin/online/danielstefani/m2k4j/mqtt/MqttConfig.kt
OpenSrcerer
698,193,407
false
{"Kotlin": 24674, "Dockerfile": 325}
package online.danielstefani.m2k4j.mqtt import org.springframework.beans.factory.annotation.Qualifier import org.springframework.beans.factory.annotation.Value import org.springframework.beans.factory.config.BeanDefinition import org.springframework.context.annotation.Bean import org.springframework.context.annotation...
0
Kotlin
0
5
4523feeba5a6bcd0ddb63be2027ab5f6decfe36a
1,640
M2K4j
Apache License 2.0
data-android/model/src/main/java/dev/shuanghua/weather/data/android/model/params/WeatherParams.kt
shuanghua
479,336,029
false
null
package dev.shuanghua.weather.data.android.model.params data class WeatherParams( val isAuto: String = "", val cityIds: String = "", val cityId: String = "", val obtId: String = "", override var cityName: String = "", override var district: String = "", override var lon: String = "", ov...
0
Kotlin
0
1
e9948aeb13f13df37799054998ca43018705a5e5
825
jianmoweather
Apache License 2.0
core/ui/src/main/java/com/muammarahlnn/learnyscape/core/ui/NoDataScreen.kt
muammarahlnn
663,132,195
false
{"Kotlin": 1068523}
package com.muammarahlnn.learnyscape.core.ui import androidx.compose.foundation.Image import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Spacer import androidx.compose.foundation.layout.height import androidx.compose.foundati...
0
Kotlin
0
0
5d3b99d1b40dd682e6d7c2dc085fa25f141383f9
1,536
Learnyscape
Apache License 2.0
server/src/main/kotlin/com/lightningkite/ktorbatteries/settings/GeneralServerSettings.kt
lightningkite
446,581,038
false
null
package com.lightningkite.ktorbatteries.settings import com.lightningkite.ktorbatteries.SettingSingleton import kotlinx.serialization.Serializable /** * GeneralServerSettings is used to configure the server itself and how it runs on the machine. * That includes the port it will bind too, the host it run on, cors se...
0
Kotlin
0
0
9e0ae9cc3ef609783924eaf3e208f4c7069f5108
1,646
ktor-batteries
MIT License
app/src/main/java/com/example/fintrack/Cor.kt
alanliongar
827,734,561
false
{"Kotlin": 45447}
package com.example.fintrack data class Cor(val name: String, val color: Int, val isSelected: Boolean) { }
0
Kotlin
0
1
03605c691bef658ba502d985fc01e9e9158cbf06
108
Des4_FinTrack_00
The Unlicense
icp_kotlin_kit/src/main/java/com/bity/icp_kotlin_kit/data/datasource/api/response/ReadStateResponse.kt
ThomasConstantinBity
824,624,205
false
{"Kotlin": 554595, "Rust": 313094}
package com.bity.icp_kotlin_kit.data.datasource.api.response import com.fasterxml.jackson.annotation.JsonProperty class ReadStateResponse( @JsonProperty("certificate") val certificate: ByteArray )
1
Kotlin
2
0
e3e7f9086aebf3997cf7747f98efec81f3a654bb
202
ICP-Kotlin-Kit
MIT License
src/main/kotlin/io/github/post_production/pure_origins/entities/PureCampfireEntity.kt
post-production
318,072,518
false
null
package io.github.post_production.pure_origins.entities import io.github.post_production.pure_origins.PureOriginsMod import net.fabricmc.fabric.api.block.entity.BlockEntityClientSerializable import net.minecraft.block.BlockState import net.minecraft.block.CampfireBlock import net.minecraft.block.entity.BlockEntity imp...
2
Kotlin
0
1
d2ef3ae2eb644fbaafff0ddbfc178e7e25e62873
7,111
pure_origins
Creative Commons Zero v1.0 Universal
common/src/commonMain/kotlin/com/artemchep/keyguard/common/service/autofill/AutofillServiceStatus.kt
AChep
669,697,660
false
{"Kotlin": 5516822, "HTML": 45876}
package com.artemchep.keyguard.common.service.autofill import com.artemchep.keyguard.platform.LeActivity sealed interface AutofillServiceStatus { data class Enabled( val onDisable: (() -> Unit)?, ) : AutofillServiceStatus data class Disabled( val onEnable: ((LeActivity) -> Unit)?, ) :...
66
Kotlin
31
995
557bf42372ebb19007e3a8871e3f7cb8a7e50739
345
keyguard-app
Linux Kernel Variant of OpenIB.org license
lightsaber/src/test/kotlin/schwarz/it/lightsaber/LightsaberBindingGraphPluginTest.kt
SchwarzIT
670,612,131
false
{"Kotlin": 84469}
package schwarz.it.lightsaber import com.google.testing.compile.CompilationSubject.assertThat import org.junit.jupiter.api.Test class LightsaberBindingGraphPluginTest { private val compiler = createCompiler( checkUnusedBindInstance = true, checkUnusedBindsAndProvides = true, checkUnusedDe...
7
Kotlin
0
2
ec8884e2e3cdd695357498da9665b969772cccfb
2,053
dagger-lightsaber
Apache License 2.0
app/src/main/java/com/orange/ouds/app/ui/tokens/TokensNavGraph.kt
Orange-OpenSource
817,725,638
false
{"Kotlin": 254051, "HTML": 14555, "CSS": 1404, "JavaScript": 197}
/* * Software Name: OUDS Android * SPDX-FileCopyrightText: Copyright (c) Orange SA * SPDX-License-Identifier: MIT * * This software is distributed under the MIT license, * the text of which is available at https://opensource.org/license/MIT/ * or see the "LICENSE" file for more details. * * Software descriptio...
24
Kotlin
1
6
fc7bbf1f042348d6fb9d2308dd2827df62f13ffb
1,404
ouds-android
MIT License
app/src/main/java/com/zanvent/mvvm_rxkotlin_sample/base/BaseApplication.kt
abiramee
243,766,183
false
null
package com.zanvent.mvvm_rxkotlin_sample.base import android.app.Activity import com.zanvent.mvvm_rxkotlin_sample.di.components.ApplicationComponent import com.zanvent.mvvm_rxkotlin_sample.di.components.DaggerApplicationComponent import dagger.android.AndroidInjector import dagger.android.DaggerApplication import dagg...
0
Kotlin
0
6
eca4599314302f52571433cb3cab151cf1dc2269
664
mvvm-rxkotlin-sample-code
Apache License 2.0
src/main/kotlin/com/rbkmoney/porter/listener/handler/merge/BaseEventMerger.kt
rbkmoney
377,151,676
false
null
package com.rbkmoney.porter.listener.handler.merge import org.springframework.beans.BeanWrapper import org.springframework.beans.BeanWrapperImpl abstract class BaseEventMerger<T> : EventMerger<T> { protected fun getNullPropertyNames(source: Any): Array<String> { val src: BeanWrapper = BeanWrapperImpl(sou...
0
Kotlin
1
0
af408a1d6cbe46a22ec56a14fb0485dcb72830f1
576
porter
Apache License 2.0
app/src/main/java/com/aglushkov/coroutinesrxjavabenchmark/benchmark/Benchmark.kt
soniccat
347,861,595
false
null
package com.aglushkov.coroutinesrxjavabenchmark.benchmark interface Benchmark { fun runBenchmark(completion: Runnable) }
0
Kotlin
1
0
a268330bd37f78d5ed240c6f562745e88ec4da41
126
CoroutineRxJavaBenchmark
MIT License
core/src/main/kotlin/gropius/model/architecture/Versioned.kt
ccims
487,996,394
false
{"Kotlin": 1038106, "TypeScript": 437791, "MDX": 61402, "JavaScript": 25165, "HTML": 17174, "CSS": 4796, "Shell": 2363}
package gropius.model.architecture import com.expediagroup.graphql.generator.annotations.GraphQLDescription import io.github.graphglue.model.FilterProperty import io.github.graphglue.model.OrderProperty @GraphQLDescription("Entity with a version") interface Versioned { @GraphQLDescription("The version of this ent...
3
Kotlin
1
0
8aa173cb97526f3ae223225a5d2be0c934b03caa
390
gropius-backend
MIT License
sdk/src/main/kotlin/io/github/wulkanowy/sdk/exception/NotLoggedInException.kt
dominik-korsa
237,057,001
true
{"Kotlin": 509705, "HTML": 128700, "Shell": 505}
package io.github.wulkanowy.sdk.exception class NotLoggedInException internal constructor(message: String, cause: Throwable? = null) : VulcanException(message)
0
Kotlin
0
0
2d2b5176e6b3d5e5eb6b812441c1af740f26eeb5
161
sdk
Apache License 2.0
m5-cor-logics/src/main/kotlin/com/finyou/fintrack/backend/logic/workers/ChainInitWorker.kt
otuskotlin
377,713,994
false
null
package com.finyou.fintrack.backend.logic.workers import com.finyou.fintrack.backend.common.context.CorStatus import com.finyou.fintrack.backend.common.context.FtContext import com.finyou.fintrack.backend.cor.common.cor.ICorChainDsl import com.finyou.fintrack.backend.cor.common.handlers.worker internal fun ICorChainD...
0
Kotlin
0
0
2827e9759ee6ad745c8721316b500015a452f129
542
ok-202105-finrec-do
MIT License
src/main/kotlin/li/doerf/marsrover/Obstacle.kt
doerfli
149,033,718
false
null
package li.doerf.marsrover data class Obstacle(val position: Position)
0
Kotlin
0
0
ed38332017609c91668080c40cc54149df89034e
71
mars-rover-kata-kotlin
MIT License
src/backend/ci/ext/tencent/dispatch-devcloud/biz-dispatch-pcg-tencent/src/main/kotlin/com/tencent/devops/dispatch/pcg/common/ErrorCodeEnum.kt
terlinhe
281,661,499
true
{"Kotlin": 45598476, "Vue": 6397657, "Java": 5707849, "Go": 3274290, "JavaScript": 1968867, "Lua": 856156, "HTML": 649832, "Dart": 551043, "TypeScript": 411134, "SCSS": 405673, "Shell": 403216, "C++": 149772, "CSS": 95042, "Python": 79300, "Mustache": 65146, "Smarty": 46819, "C": 33502, "Less": 24714, "Dockerfile": 229...
package com.tencent.devops.dispatch.pcg.common import com.tencent.devops.common.web.utils.I18nUtil enum class ErrorCodeEnum( val errorCode: Int, val formatErrorMessage: String ) { SYSTEM_ERROR(2133023, "Dispatcher-pcg系统错误"), IMAGE_ILLEGAL_ERROR(2133024, "The pcg dispatch image is illegal"), START_...
0
Kotlin
0
0
dccbcb9f44260f80ebfa1c2dad0c401222f7f93c
659
bk-ci
MIT License
src/main/kotlin/no/nav/lydia/ia/årsak/domene/ValgtÅrsak.kt
navikt
444,072,054
false
null
package no.nav.lydia.ia.årsak.domene import kotlinx.serialization.Serializable import no.nav.lydia.ia.årsak.domene.GyldigÅrsak.Companion.GYLDIGE_ÅRSAKER_FOR_IKKE_AKTUELL @Serializable class ValgtÅrsak(val type: ÅrsakType, val begrunnelser: List<BegrunnelseType>) fun ValgtÅrsak.validerBegrunnelser() = begrunnelse...
1
Kotlin
0
2
cf80398e555acfb4bfabe1e0f18d1ace19b133e4
454
lydia-api
MIT License
app/src/main/java/com/bruno13palhano/shopdanimanagement/ui/screens/insights/viewmodel/StockOrdersSalesViewModel.kt
bruno13palhano
670,001,130
false
{"Kotlin": 1166917}
package com.bruno13palhano.shopdanimanagement.ui.screens.insights.viewmodel import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.bruno13palhano.core.data.repository.sale.SaleRepository import com.bruno13palhano.core.data.di.SaleRep import com.bruno13palhano.shopdanimanagement.ui.scre...
0
Kotlin
0
2
c55b8f8f9fccb42ce9b5a99a309e41bd2ec0b5b2
2,402
shop-dani-management
MIT License
app/src/main/java/mina/com/imageuploadexample/App.kt
minageorge5080
187,523,865
false
null
package mina.com.imageuploadexample import android.app.Application import android.util.Log import com.miguelbcr.ui.rx_paparazzo2.RxPaparazzo import timber.log.Timber class App :Application() { override fun onCreate() { super.onCreate() RxPaparazzo.register(this) setupTimberTree() } ...
0
Kotlin
0
1
0ff1f93192ea94e7f8959d299592b3dda77c4bd5
513
image-uploader
Apache License 2.0
app/src/main/java/co/geisyanne/volleymatch/presentation/drawTeams/draw/DrawViewModel.kt
geisyanne
715,148,478
false
{"Kotlin": 118260}
package co.geisyanne.volleymatch.presentation.drawTeams.draw import androidx.lifecycle.ViewModel import co.geisyanne.volleymatch.domain.repository.PlayerRepository class DrawViewModel( repository: PlayerRepository ) : ViewModel() { val allPlayersEvent = repository.getAllPlayers() }
0
Kotlin
0
0
9f2a17221900c890faaffc1b6862846dd396c519
294
VolleyMatch
MIT License
feature/settings/src/main/java/com/keisardev/samples/apps/notenest/feature/settings/SettingsDialog.kt
shaharKeisarApps
710,775,973
false
{"Kotlin": 640247, "Shell": 10235}
package com.keisardev.samples.apps.notenest.feature.settings import android.content.Intent import androidx.compose.animation.AnimatedVisibility import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Column import androidx.compose.f...
0
Kotlin
0
0
4346a6b920e4d4d370e6ec28a909ea74e34839f8
11,461
NoteNest
Apache License 2.0
ambassador-application/src/main/kotlin/com/roche/ambassador/configuration/properties/ConcurrencyProperties.kt
filipowm
409,076,487
false
null
package com.roche.ambassador.configuration.properties import javax.validation.constraints.Min import javax.validation.constraints.NotBlank data class ConcurrencyProperties( @Min(2) val concurrencyLevel: Int = 10, @NotBlank val producerThreadPrefix: String = "indxr-", @NotBlank val consumerThreadPrefix: St...
12
Kotlin
0
9
87b3db67dea1a19df1011337babb42b068d21171
404
the-ambassador
Apache License 2.0
src/main/kotlin/dev/dexsr/gmod/palworld/toolbox/ui/UIFoundation.kt
flammky
758,310,188
false
{"Kotlin": 671544}
package dev.dexsr.gmod.palworld.toolbox.ui object UIFoundation { } val UIFoundation.MainUIDispatcher get() = org.jetbrains.skiko.MainUIDispatcher
0
Kotlin
0
4
cec7953949039f96f9485374f7e0f7bdcd9bf507
147
PalToolbox
Apache License 2.0
bee-core/src/main/java/com/benkkstudio/core/base/SingletonHolder.kt
benkkstudios
745,772,729
false
{"Gradle Kotlin DSL": 9, "Java Properties": 2, "Shell": 1, "Text": 2, "Ignore List": 9, "Batchfile": 1, "Git Attributes": 2, "Markdown": 1, "Proguard": 7, "XML": 48, "Kotlin": 65, "Java": 60}
package com.benkkstudio.core.base open class SingletonHolder<out T, in A>(private val constructor: (A) -> T) { @Volatile private var instance: T? = null fun getInstance(arg: A): T = instance ?: synchronized(this) { instance ?: constructor(arg).also { instance = it } } }
0
Java
0
0
cbbf291c0f3d66c4e07126bca95c4e86b0793143
312
BENKKSTUDIOCORE
MIT License
app/src/main/java/com/hieuwu/groceriesstore/presentation/delivery/DeliveryFragment.kt
hieuwu
360,573,503
false
{"Kotlin": 373053}
package com.hieuwu.groceriesstore.presentation.delivery import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.compose.ui.platform.ComposeView import androidx.core.os.bundleOf import androidx.fragment.app.Fragment import androidx.navigation.fr...
29
Kotlin
56
224
f6f2e2b3e0e7550d5f6a1d1acc64ca5adb03e3b2
1,483
android-groceries-store
MIT License
src/main/kotlin/io/sirix/ktsirix/ApiClient.kt
sirixdb
227,461,894
false
{"Kotlin": 29854}
package io.sirix.ktsirix import com.fasterxml.jackson.core.type.TypeReference interface ApiClient { fun <T> authenticate(username: String, password: String, tClass: TypeReference<T>): T fun <T> refreshToken(refreshToken: String, tClass: TypeReference<T>): T fun <T> getGlobalInfo(resources: Boolean = true...
1
Kotlin
2
3
02a6bd089f4b01030b57d4e5c77ed9b5fe19dc78
1,980
sirix-kotlin-client
MIT License
src/main/kotlin/eagleapi/EagleApi.kt
Nekoyue
570,751,911
false
{"Kotlin": 25334}
package eagleapi import ApiClient import Env import io.ktor.client.request.* import io.ktor.http.* val eagleApi = EagleApi() class EagleApi { private val eagleApiClient = ApiClient( defaultRequestUrl = Env.EAGLE_URL ).httpClient // https://api.eagle.cool/item/add-from-url suspend fun addMedi...
0
Kotlin
0
0
e39d8998fd35451fba1cd7dc8f6970fcde9a026d
639
IrisWatcher
MIT License
lib/src/main/kotlin/de/unisaarland/pcdfanalyser/analysers/TripTypeAnalyser.kt
udsdepend
404,319,499
false
{"Kotlin": 108306}
package de.unisaarland.pcdfanalyser.analysers import de.unisaarland.pcdfanalyser.analysers.SimResult.* import de.unisaarland.pcdfanalyser.eventStream.EventStream import pcdfEvent.events.GPSEvent import pcdfEvent.events.obdEvents.obdIntermediateEvents.singleComponentEvents.SpeedEvent class TripTypeAnalyser(eventStream...
0
Kotlin
0
0
d6d8ada844ac374835f11705103ba3590d6b862e
1,947
pcdf-analyser
MIT License
src/main/java/com/github/arturnikolaenko/mathexp/evaluator/converter/UnitCategory.kt
ArturNikolaenko
399,804,825
false
null
package com.github.arturnikolaenko.mathexp.evaluator.converter enum class UnitCategory { LENGTH, TEMPERATURE, ANGLES, AREA, UNKNOWN }
0
Kotlin
0
0
730db7beb567fdd637d4e57a6cc409f12d4bce61
154
MathExp
Apache License 2.0
slink-zero/src/test/kotlin/io/slink/tsv/TsvTest.kt
cosmin-marginean
632,549,322
false
null
package io.slink.tsv import io.kotest.core.spec.style.StringSpec import io.kotest.matchers.shouldBe import io.slink.resources.resourceAsInput import io.slink.resources.resourceAsString class TsvTest : StringSpec({ val testDataNoHeader = listOf( listOf("<NAME>", "33", "<EMAIL>"), listOf("<NAME>", ...
0
Kotlin
0
0
f212cb1b674673b8144cc816c3f0406420dbc8df
3,294
slink
Apache License 2.0
src/main/kotlin/tool/GroupAssignTool.kt
amollberg
267,279,072
false
null
import coordinates.Coordinate import org.openrndr.color.ColorRGBa class GroupAssignTool(viewModel: ViewModel) : BaseTool(viewModel) { private val groupMemberSelector = MouseHoverGroupMemberSelector(viewModel) // The group to assign to, selected by the first clicked-on group member private var selectedGrou...
0
Kotlin
0
0
d08f85dbbb0537b386fb1810a1e2f1b86a92c925
1,652
ArtisanTrace
Apache License 2.0
base/src/main/kotlin/browser/windows/WindowType.kt
DATL4G
372,873,797
false
null
package browser.windows /** * The type of window. */ enum class WindowType(private val value: String) { normal("normal"), popup("popup"), panel("panel"), app("app"), devtools("devtools"); override fun toString(): String = value }
0
Kotlin
1
1
7b752cf132bdbbe3f65d7fca82bdec90d69f2974
257
Kromex
Apache License 2.0
android/app/src/main/java/cloud/multipos/pos/models/Department.kt
multipos-app
773,180,579
false
{"Kotlin": 548453, "Java": 306036}
/** * Copyright (C) 2023 multiPOS, LLC * * 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 applicable law or ag...
0
Kotlin
1
7
119bb0c86a5f9589e0219249b02f0f56d43120f7
1,206
pos
Apache License 2.0
app/src/main/java/com/anubhav_auth/bento/api/Api.kt
anubhav-auth
850,108,148
false
{"Kotlin": 125228}
package com.anubhav_auth.bento.api import com.anubhav_auth.bento.entities.backendRecieved.menuEntity.MenuItem import com.anubhav_auth.bento.entities.backendRecieved.restaurantEntity.RestaurantEntityItem import com.anubhav_auth.bento.entities.backendRecieved.restaurantEntity.Restaurants import com.anubhav_auth.bento.e...
0
Kotlin
0
0
57a0f11eb934bcf60bfa53156498630ea5b2f1ec
1,494
Bento
MIT License
app/src/main/java/com/anubhav_auth/bento/api/Api.kt
anubhav-auth
850,108,148
false
{"Kotlin": 125228}
package com.anubhav_auth.bento.api import com.anubhav_auth.bento.entities.backendRecieved.menuEntity.MenuItem import com.anubhav_auth.bento.entities.backendRecieved.restaurantEntity.RestaurantEntityItem import com.anubhav_auth.bento.entities.backendRecieved.restaurantEntity.Restaurants import com.anubhav_auth.bento.e...
0
Kotlin
0
0
57a0f11eb934bcf60bfa53156498630ea5b2f1ec
1,494
Bento
MIT License
src/main/kotlin/br/com/webbudget/domain/validators/registration/CardTypeAndNumberValidator.kt
web-budget
354,665,828
false
{"Kotlin": 369800, "HTML": 11407}
package br.com.webbudget.domain.validators.registration import br.com.webbudget.domain.entities.registration.Card import br.com.webbudget.domain.exceptions.ConflictingPropertyException import br.com.webbudget.domain.validators.OnCreateValidation import br.com.webbudget.domain.validators.OnUpdateValidation import br.co...
3
Kotlin
4
7
2e4985121985c6dcf1de83b9044ca1c5927c20fb
1,638
back-end
Apache License 2.0
app/src/main/java/com/jimipurple/himichat/encryption/Encryption.kt
Gladozzz
213,230,372
false
null
package com.jimipurple.himichat.encryption import android.net.Uri import org.whispersystems.curve25519.Curve25519 import org.whispersystems.curve25519.Curve25519KeyPair import java.io.File import javax.crypto.Cipher import javax.crypto.spec.IvParameterSpec import javax.crypto.spec.SecretKeySpec object Encryption { ...
0
Kotlin
0
2
8ff8368322050c38ce301121e839e5629491c996
3,071
HimiChat
MIT License
app/src/main/java/com/close/hook/ads/ui/fragment/HomeFragment.kt
zjyzip
727,763,936
false
null
package com.close.hook.ads.ui.fragment import android.annotation.SuppressLint import android.content.Intent import android.os.Build import android.os.Bundle import android.provider.Settings import android.text.method.LinkMovementMethod import android.view.View import androidx.appcompat.widget.ThemeUtils import android...
0
null
22
168
9d3210cf0ada367375be38710e377bcd365a0e2f
3,554
AdClose
Apache License 2.0
domain/src/main/java/com/semicolon/domain/enum/MoreDateType.kt
Walkhub
443,006,389
false
null
package com.semicolon.domain.enum enum class MoreDateType { DAY, WEEK, MONTH }
30
Kotlin
1
15
c2d85ebb9ae8b200be22e9029dcfdcbfed19e473
91
walkhub_android
MIT License
src/main/kotlin/pl/poznan/put/mioib/algorithm/weight/SymmetricSolutionEvaluator.kt
Azbesciak
213,989,135
false
null
package pl.poznan.put.mioib.algorithm.weight class SymmetricSolutionEvaluator( private val weightMatrix: WeightMatrix ): SolutionEvaluator { override fun solution(sequence: IntArray): Double { var result = 0.0 require(sequence.size >= 2) { "instance size must be at least of siz...
0
Kotlin
0
0
61e81ccbf8d6054b135f2b18db307cb8bf56f6ba
1,803
MetaheuristicsAndOptimization
MIT License
app/src/main/kotlin/no/nav/aap/app/stream/SpleisStream.kt
navikt
518,015,555
false
null
package no.nav.aap.app.stream import no.nav.aap.app.kafka.Topics import no.nav.aap.dto.kafka.SykepengedagerKafkaDto import no.nav.aap.kafka.streams.v2.KTable import no.nav.aap.kafka.streams.v2.Topology internal fun Topology.spleisStream(sykepengedager: KTable<SykepengedagerKafkaDto>) { consume(Topics.spleis) ...
1
Kotlin
0
1
f54127201bffffc2c7e9d465c7e1a19a77fa5298
1,978
aap-sykepengedager
MIT License
buildSrc/src/test/kotlin/com/example/model/Book.kt
hixio-mh
281,064,117
true
{"Kotlin": 1797271, "Java": 213999, "C": 74755, "C++": 15178, "CMake": 1606}
package com.example.model import com.google.gson.annotations.SerializedName import kotlin.Double import kotlin.Long import kotlin.String internal data class Book( @SerializedName("bookId") val bookId: Long, @SerializedName("title") val title: String, @SerializedName("price") val price: Double,...
4
null
0
0
3b3bfab22b26067330186c4637e80d19adf334c1
773
dd-sdk-android
Apache License 2.0
harmonysoft-sql/src/main/kotlin/tech/harmonysoft/oss/sql/ast/delegation/DelegatingSelectItemVisitorAdapter.kt
harmonysoft-tech
517,062,754
false
{"Kotlin": 638681, "Gherkin": 24382, "Shell": 555, "JavaScript": 378}
package tech.harmonysoft.oss.sql.ast.delegation import net.sf.jsqlparser.statement.select.* abstract class DelegatingSelectItemVisitorAdapter : SelectItemVisitor { abstract fun handle(item: SelectItem) override fun visit(allColumns: AllColumns) { handle(allColumns) } override fun visit(...
1
Kotlin
1
2
b659b05738c8c792da2d6ba70b4cfa0dffb60a7f
508
harmonysoft-kotlin-libs
MIT License
backend.native/tests/external/stdlib/collections/SequenceTest/flatMapWithEmptyItems.kt
pedromassango
109,945,056
true
{"Kotlin": 3706234, "C++": 727837, "C": 135283, "Groovy": 47410, "JavaScript": 7780, "Shell": 6563, "Batchfile": 6379, "Objective-C++": 5203, "Objective-C": 1891, "Python": 1844, "Pascal": 1698, "Makefile": 1341, "Java": 782, "HTML": 185}
import kotlin.test.* import kotlin.comparisons.* fun box() { val result = sequenceOf(1, 2, 4).flatMap { if (it == 2) sequenceOf<Int>() else (it - 1..it).asSequence() } assertEquals(listOf(0, 1, 3, 4), result.toList()) }
0
Kotlin
0
1
5d514e3ede6c70ad144ceaf3a5aac065c74e09eb
230
kotlin-native
Apache License 2.0
app/src/main/java/de/jepfa/yapm/ui/importvault/ImportVaultFileOverrideVaultFragment.kt
jenspfahl
378,141,282
false
null
package de.jepfa.yapm.ui.importvault import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.Button import android.widget.ExpandableListView import android.widget.TextView import androidx.appcompat.app.AlertDialog import androidx.appcompa...
0
Kotlin
0
1
809de55ec55a26986e2206ff0e736dfb5ecda80e
9,478
ANOTHERpass
MIT License
eventdetaillib/src/main/java/com/brins/eventdetaillib/viewmodel/EventViewModel.kt
BrinsLee
297,821,918
false
null
package com.brins.eventdetaillib.viewmodel import android.app.Application import androidx.lifecycle.MutableLiveData import com.brins.eventdetaillib.contract.EventDetailContract import com.brins.networklib.model.comment.CommentResult /** * Created by lipeilin * on 2021/1/12 */ class EventViewModel(application: Appl...
0
Kotlin
0
1
37cbd7448ebfc23475c00462018f6d70c74631e1
1,426
Music
Apache License 2.0
core/model/src/main/java/com/example/hnotes/core/model/data/Task.kt
hmzgtl16
851,784,002
false
{"Kotlin": 596179}
package com.example.hnotes.core.model.data import kotlinx.datetime.Clock import kotlinx.datetime.DateTimeUnit import kotlinx.datetime.Instant import kotlin.time.Duration.Companion.hours import kotlin.time.Duration.Companion.minutes data class Task( val id: Long = 0L, val title: String = "", val created: I...
0
Kotlin
0
1
17adddc10a17af2db22adc5093f78b29b1ef3636
673
HNotes
MIT License
ui/src/main/java/com/edwin/randompicture/ui/di/module/AndroidWorkerInjectionModule.kt
EdwinRomelta
154,439,136
false
null
package com.edwin.randompicture.ui.di.module import androidx.work.Worker import dagger.Module import dagger.android.AndroidInjector import dagger.multibindings.Multibinds @Module abstract class AndroidWorkerInjectionModule { @Multibinds internal abstract fun workerInjectorFactories(): Map<Class<out Worker>, ...
1
Kotlin
1
2
4ec4eff34efe189cc8db49907de7fc92ad11e929
492
random-picture-android
MIT License
replicant/src/main/java/com/lockwood/replicant/view/ext/DebouncingOnClickListener.kt
yushman
382,277,000
true
{"Kotlin": 72723}
package com.lockwood.replicant.view.ext import android.view.View import com.lockwood.replicant.view.listener.DebouncingOnClickListener import com.lockwood.replicant.view.listener.DebouncingOnClickListener.Companion.DOUBLE_TAP_TIMEOUT inline fun View.setDebouncingOnClickListener( timeout: Long = DOUBLE_TAP_TIMEOUT, ...
0
null
0
0
27a6e7587274cd9e6a9ee0021dac33ce71cf00d3
496
nier
Apache License 2.0
app/src/androidTest/java/com/example/comics/presentation/ComicsFragmentTest.kt
pedrox-hs
679,441,225
false
{"Kotlin": 29560}
package com.example.comics.presentation import androidx.fragment.app.testing.launchFragmentInContainer import androidx.recyclerview.widget.RecyclerView import androidx.test.espresso.Espresso.onIdle import androidx.test.espresso.Espresso.onView import androidx.test.espresso.IdlingRegistry import androidx.test.espresso....
0
Kotlin
0
0
70e3c705544d1e4289184c2b42b170880b65bad5
4,551
marvel-comics-app
MIT License
src/main/kotlin/com/exactpro/th2/common/utils/event/EventBatcher.kt
th2-net
468,806,056
false
{"Kotlin": 17207, "Java": 8286, "Dockerfile": 299}
/* * Copyright 2022-2022 Exactpro (Exactpro Systems Limited) * * 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...
7
Kotlin
1
2
ae922eb701db12c23b701c2078ed6fca759bc50e
2,673
th2-common-utils-j
Apache License 2.0
spoonacular-kotlin/src/main/java/com/beetlestance/spoonacular_kotlin/models/response/food/menuitem/MenuItem.kt
beetlestance
290,930,920
false
null
/* * Copyright 2020 BeetleStance * * 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...
16
Kotlin
0
3
d4e1e19a577a7f82e61cba0a8719f1fe5238a797
1,608
Aphid
Apache License 2.0
src/main/kotlin/reactive/App.kt
brunopinheiro
186,836,521
false
null
package reactive class App fun main() { // Publishers.monoExamples() // Publishers.fluxExamples() // Publishers.deferExample() // StreamSubscriptions.disposeExample() // Combination.concatAndMergeExample() // Combination.combineLatestAndWithLatestFromExample() // Combination.zipExample() // ...
2
Kotlin
0
0
f39d4ae26413bc7b9a87ec49b868fe9f3dcf21cc
709
reactor-beginner-study-guide
MIT License
src/jvmMain/kotlin/matt/socket/client/client.kt
mgroth0
640,054,119
false
{"Kotlin": 38646}
package matt.socket.client import kotlinx.coroutines.CoroutineScope import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.Job import kotlinx.coroutines.channels.Channel import kotlinx.coroutines.channels.consumeEach import kotlinx.coroutines.coroutineScope import kotlinx.coroutines.launch import kotlinx.coro...
0
Kotlin
0
0
e1a02112d2fa139e43fd0a9cd786bde709a3a5fb
7,429
socket
MIT License
app/src/main/java/com/octagon_technologies/smart_calculator/util/WrongInputException.kt
Andre-max
388,412,670
false
null
package com.octagon_technologies.smart_calculator.util class WrongInputException(override val message: String?): Exception(message)
0
Kotlin
0
0
fae0670bcdaef415c2fee95d2c72a9292c93bf46
132
Calculator
MIT License
src/main/kotlin/asmble/run/jvm/emscripten/Syscall.kt
tbutter
89,142,117
true
{"Kotlin": 369347, "Java": 2305, "C": 182}
package asmble.run.jvm.emscripten import asmble.run.jvm.annotation.WasmName import asmble.util.get class Syscall(val env: Env) { var fds: Map<Int, Stream> = mapOf( 1 to Stream.OutputStream(env.out) ) @WasmName("__syscall6") fun close(arg0: Int, arg1: Int): Int { TODO() } @WasmName("__sys...
0
Kotlin
0
0
b367c59ba343e9ca2912703789c802e45c2b10d0
2,389
asmble
MIT License
buildSrc/src/main/java/ProjectLevel.kt
asp424
483,980,317
false
null
import org.gradle.api.Project import org.gradle.api.artifacts.dsl.RepositoryHandler import org.gradle.api.initialization.dsl.ScriptHandler import org.gradle.api.initialization.dsl.ScriptHandler.CLASSPATH_CONFIGURATION import org.gradle.api.tasks.Delete import org.gradle.kotlin.dsl.register import java.io.File val Scri...
0
Kotlin
0
0
74dd1a16939958d6f1479a471e0d270597524a4e
654
YoutubePlayer
MIT License
app/src/main/java/yabomonkey/example/saycheesepicturetaker/utils/SmileAnalyzer.kt
yabomonkey
473,792,392
false
null
package yabomonkey.example.saycheesepicturetaker.utils import android.os.Build import android.util.Log import androidx.annotation.RequiresApi import androidx.camera.core.ExperimentalGetImage import androidx.camera.core.ImageAnalysis import androidx.camera.core.ImageProxy import com.google.mlkit.vision.common.InputImag...
0
Kotlin
0
1
7a5f7d919adc56a632638917dfd0799446299b16
2,201
CheeseAndSmiles
Apache License 2.0
app/src/main/java/com/example/movieapp/domain/model/Movie.kt
kemallakkus
815,494,553
false
{"Kotlin": 83963}
package com.example.movieapp.domain.model import com.example.movieapp.common.util.Constants.EMPTY_STRING import com.example.movieapp.common.util.Constants.ZERO_DOUBLE import com.example.movieapp.common.util.Constants.ZERO_FLOAT import com.example.movieapp.common.util.Constants.ZERO_INT data class Movie( val id: I...
0
Kotlin
0
0
27469e8f10c057f11ba28dcf69e6b6664702008b
903
MovieApp
The Unlicense
year2023/day18/dig/src/main/kotlin/com/curtislb/adventofcode/year2023/day18/dig/Instruction.kt
curtislb
226,797,689
false
{"Kotlin": 2146738}
package com.curtislb.adventofcode.year2023.day18.dig import com.curtislb.adventofcode.common.geometry.Direction /** * A single instruction that may appear in a [DigPlan]. * * @property direction The direction to move, relative to the current position. * @property distance The number of meters to move while diggin...
0
Kotlin
1
1
6b64c9eb181fab97bc518ac78e14cd586d64499e
3,138
AdventOfCode
MIT License
notifications/src/main/kotlin/com/d3/notifications/config/NotificationsConfig.kt
d3ledger
129,921,969
false
null
/* * Copyright D3 Ledger, Inc. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ package com.d3.notifications.config import com.d3.commons.config.IrohaConfig import com.d3.commons.config.IrohaCredentialRawConfig /** * Configuration of notification service */ interface NotificationsConfig { // Ir...
2
null
5
15
0e719a1a8fcdce23933df68749028befe40cbc50
1,018
notary
Apache License 2.0
app/src/main/kotlin/com/mitch/my_unibo/ui/exams/components/booked_exams/BookedExamsScreen.kt
seve-andre
511,074,187
false
{"Kotlin": 320965}
package com.mitch.my_unibo.ui.exams.components.booked_exams import androidx.compose.foundation.layout.Column import androidx.compose.foundation.lazy.LazyColumn import androidx.compose.foundation.lazy.items import androidx.compose.material.Divider import androidx.compose.runtime.Composable import androidx.compose.ui.re...
0
Kotlin
0
2
d10efb2a1676ecbf78643f88726b586a3d8c989d
2,007
myUniBo
Apache License 2.0
data/api/src/main/java/com/techcafe/todone/api/model/UserResponse.kt
TechCafeFreedom
240,177,892
false
null
package com.techcafe.todone.api.model data class UserResponse( val id: String, val name: String, val thumbnail: String )
3
Kotlin
2
12
aec2814a6fa54b54bddbf554d7f81620adf78e39
134
TODONE
MIT License
compiler-utils/src/main/java/com/squareup/anvil/compiler/internal/reference/AnnotatedReference.kt
square
271,357,426
false
null
package com.squareup.anvil.compiler.internal.reference import com.squareup.anvil.annotations.ExperimentalAnvilApi import org.jetbrains.kotlin.name.FqName /** * This marks any code reference that can be annotated, such as a [ClassReference] or * [MemberFunctionReference]. */ @ExperimentalAnvilApi public interface A...
54
null
82
941
a5811bbadb63017fb5436d2ed0d4521c471428e6
491
anvil
Apache License 2.0
src/main/java/it/smartphonecombo/uecapabilityparser/importer/ltenr/ImportUECapabilityInformation.kt
HandyMenny
539,436,833
false
null
package it.smartphonecombo.uecapabilityparser.importer.ltenr import it.smartphonecombo.uecapabilityparser.Utility import it.smartphonecombo.uecapabilityparser.Utility.toBwString import it.smartphonecombo.uecapabilityparser.bean.* import it.smartphonecombo.uecapabilityparser.bean.lte.ComboLte import it.smartphonecombo....
3
Kotlin
6
4
21a6bf8610bad0d5d250dea7f88e3b54c6de7798
49,524
uecapabilityparser
MIT License
data/src/main/kotlin/ru/maksonic/vimosmarket/data/CatalogRepositoryImpl.kt
maksonic
720,454,444
false
{"Kotlin": 35848}
package ru.maksonic.vimosmarket.data import ru.maksonic.vimosmarket.data.cloud.CloudStore import ru.maksonic.vimosmarket.data.cloud.ProductCloudToModelMapper import ru.maksonic.vimosmarket.domain.CatalogRepository import ru.maksonic.vimosmarket.domain.ProductList import javax.inject.Inject /** * @Author maksonic on ...
0
Kotlin
0
0
4836fc7189721f11feb01fa0dad425cd10e6eac4
710
VimosMarket
MIT License
src/main/kotlin/io/emeraldpay/dshackle/config/EnvVariables.kt
emeraldpay
191,297,773
false
null
/** * Copyright (c) 2020 EmeraldPay, Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
49
null
25
94
438ee1dfe90d94c7073b3dd8b354d39a33b64a8a
1,088
dshackle
Apache License 2.0
app/src/main/java/com/yoyiyi/soleil/adapter/discover/IntersetCategroyAdapter.kt
yoyiyi
97,073,764
false
null
package com.yoyiyi.soleil.adapter.discover import android.widget.ImageView import com.bumptech.glide.Glide import com.bumptech.glide.load.engine.DiskCacheStrategy import com.chad.library.adapter.base.BaseQuickAdapter import com.chad.library.adapter.base.BaseViewHolder import com.yoyiyi.soleil.R import com.yoyiyi.sole...
2
Kotlin
25
141
044f76fd499bb49b0fe94d9c83c9bb1db283b8ea
1,117
bilisoleil-kotlin
Apache License 2.0
app/src/main/java/com/example/jetphotos/Navigation/Screens.kt
arfinhosainn
529,504,086
false
null
package com.example.jetphotos.presentation.navigation sealed class Screen(val route: String) { object Home : Screen("home_screen") object Search : Screen("search_screen") object Detail : Screen("detail_screen") object Saved : Screen("saved_screen") }
0
Kotlin
0
0
f156ca366a255322fabf5e0ec8c600691236d333
267
JetPhotos
Apache License 2.0
app/src/main/java/retterrudi/pokedex/model/item/PokemonHeldItem.kt
retterrudi
840,279,261
false
{"Kotlin": 17494}
package retterrudi.pokedex.model.item import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable @Serializable data class PokemonHeldItem( val item: ItemName, @SerialName("version_details") val versionDetails: PokemonHeldItemVersion, )
0
Kotlin
0
0
8d17d6cec21c38783207fa74be739f6412f0ab6f
268
pokedex
MIT License
src/main/kotlin/com/zer0rez/euler/util/TextAreaOutputStream.kt
cgnik
199,092,974
false
{"Python": 110405, "Kotlin": 15347}
package com.zer0rez.euler.util import javafx.scene.control.TextArea import java.io.IOException import java.io.OutputStream class TextAreaOutputStream(val textArea: TextArea): OutputStream() { @Throws(IOException::class) override fun write(b: Int) { throw UnsupportedOperationException() } ove...
0
Python
0
0
fe70459a0e0d0272980300a4782872f2e545fea5
494
euler
MIT License
retrofit/src/main/java/com/infinum/jsonapix/retrofit/JsonXConverterFactory.kt
infinum
291,043,190
false
{"Kotlin": 194752}
package com.infinum.jsonapix.retrofit import com.infinum.jsonapix.core.adapters.AdapterFactory import java.lang.reflect.Type import okhttp3.RequestBody import okhttp3.ResponseBody import retrofit2.Converter import retrofit2.Retrofit import java.lang.reflect.ParameterizedType class JsonXConverterFactory(private val ad...
5
Kotlin
9
36
58f31a75e3896db3361cf8c1daa7bd8372e65f69
1,609
kotlin-jsonapix
Apache License 2.0
typescript/ts-model/src/org/jetbrains/dukat/tsmodel/types/FunctionTypeDeclaration.kt
benjiaminhanks2
272,113,237
true
{"Kotlin": 2693101, "WebIDL": 323303, "TypeScript": 129121, "JavaScript": 15989, "ANTLR": 11333}
package org.jetbrains.dukat.tsmodel.types import org.jetbrains.dukat.tsmodel.ParameterDeclaration import org.jetbrains.dukat.tsmodel.ParameterOwnerDeclaration data class FunctionTypeDeclaration( val parameters: List<ParameterDeclaration>, val type: ParameterValueDeclaration, override var null...
0
null
0
0
b3bbe6f8cf58b970df914facf67c3ee47e665ebd
461
dukat
Apache License 2.0
markdown/src/main/kotlin/com/appmattus/markdown/rules/NoSpaceInLinksRule.kt
appmattus
172,489,287
false
{"Kotlin": 248958, "XSLT": 7533}
package com.appmattus.markdown.rules import com.appmattus.markdown.dsl.RuleSetup import com.appmattus.markdown.errors.ErrorReporter import com.appmattus.markdown.processing.MarkdownDocument /** * # Spaces inside link text * * This rule is triggered on links that have spaces surrounding the link text: * * [ a...
9
Kotlin
3
16
18e5bee66b7f38d1df18484e2f8f23a1f9190cf6
1,434
markdown-lint
Apache License 2.0
Kotlin/src/kotlin/Faktoroial2.kt
davidkom82
152,901,909
true
{"C++": 58432, "Java": 21872, "C": 18366, "Python": 10483, "JavaScript": 7615, "Kotlin": 6642, "TypeScript": 6090, "Scala": 3879, "PHP": 3372, "C#": 2152, "Ruby": 1715, "Dart": 1395, "Pascal": 1086, "Nim": 626, "Smalltalk": 457}
package sorting fun main(args: Array<String>) { val array = arrayOf(4,7,1,9,1,7,2,9) print(Faktoroial2.calculateFact(5)) } object Faktoroial2 { fun calculateFact(number: Int): Int { var j = 0 var sum = 0 var t = 0 var prime: MutableList<Boolean> = mutableListOf() ...
0
C++
0
0
3693d56e142649dba8cdc0caef28fc5786af6b9c
916
AlgoLib
MIT License
fluentui_drawer/src/main/java/com/microsoft/fluentui/tokenized/Utils.kt
microsoft
257,221,908
false
{"Kotlin": 3021107, "Shell": 8996}
package com.microsoft.fluentui.tokenized import androidx.compose.foundation.Canvas import androidx.compose.foundation.gestures.detectTapGestures import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.runtime.Composable import androidx.compose.ui.Modifier import androidx.compose.ui.graphics.Color...
25
Kotlin
103
574
851a4989a4fce5db50a1818aa4121538c1fb4ad9
1,337
fluentui-android
MIT License
app/src/main/java/br/com/lucolimac/desafio03/ui/LoginActivity.kt
lucasomac
316,952,858
false
null
package br.com.lucolimac.desafio03.ui import android.content.Intent import android.os.Bundle import androidx.appcompat.app.AppCompatActivity import br.com.lucolimac.desafio03.databinding.ActivityLoginBinding class LoginActivity : AppCompatActivity() { private lateinit var binding: ActivityLoginBinding overri...
0
Kotlin
0
0
13f787d00d1fc67721ca2d13672fffeced327465
784
Desafio03
MIT License
app/src/main/java/com/supersuman/macronium/other/BackgroundService.kt
supersu-man
382,620,774
false
null
package com.supersuman.macronium.other import android.app.* import android.app.PendingIntent.FLAG_IMMUTABLE import android.content.Context import android.content.Intent import android.os.Build import android.os.IBinder import androidx.core.app.NotificationCompat import com.supersuman.macronium.MainActivity import com....
0
Kotlin
0
0
adffc245c325ebc0c9be5fd3baf335c49dce7d84
2,749
macronium-android
MIT License
src/test/kotlin/engine/krisp/sample/Main.kt
KrispEngine
630,162,637
false
null
package engine.krisp.sample import engine.krisp.KrispEngine import engine.krisp.loop.UpdateBasedGameLoop import java.io.File object Main { internal val logger = KrispEngine.newDedicatedLogger("Main") internal fun onEnable() { KrispEngine.startEngine( UpdateBasedGameLoop( ...
0
Kotlin
0
1
e0409d23617ec3fe96e8ad917b22c1da27c2e6cb
938
Krisp
Apache License 2.0
node/src/main/kotlin/me/slavita/construction/action/menu/worker/WorkerTeamMenu.kt
Roman-Andr
535,243,293
false
{"Kotlin": 482345}
package me.slavita.construction.action.menu.worker import me.func.mod.ui.menu.Openable import me.func.mod.ui.menu.button import me.func.mod.ui.menu.selection import me.slavita.construction.action.command.MenuCommand import me.slavita.construction.ui.menu.Icons import me.slavita.construction.ui.menu.StatsType import me...
0
Kotlin
0
1
e4e3c255bbfdfb5369ca66e57842e2c8712d2a10
1,704
simulator-mayor
Apache License 2.0
app/src/main/java/com/example/encryptedmessenger/EncryptedMessageData.kt
Mjwagner2277
634,376,681
false
null
package com.example.encryptedmessenger import java.security.Signature data class EncryptedMessageData( val encryptedMessage: String, val encryptedAesKey: String, )
0
Kotlin
0
0
486bc87e24258a9f9196231632a58f28d537d7b5
173
EncryptedMessenger
Creative Commons Zero v1.0 Universal
mvvmnb/src/main/java/me/hgj/mvvm_nb/network/ERROR.kt
Villiage
229,877,223
true
{"Kotlin": 54304, "Java": 3486}
package me.hgj.mvvm_nb.network /** * 作者 : hegaojian * 时间 : 2019/12/17 * 描述 : 错误枚举类 */ enum class ERROR(private val code: Int, private val err: String) { /** * 未知错误 */ UNKNOWN(1000, "未知错误"), /** * 解析错误 */ PARSE_ERROR(1001, "解析错误"), /** * 网络错误 */ NETWORD_ERROR(1...
0
null
0
0
14b532d3cf4fa9736146243f0081a12ac3e59ef7
621
MVVM-Nb
Apache License 2.0
src/main/kotlin/io/arct/arctlib/utils/Roman.kt
aeuu-archive
275,284,611
false
null
package io.arct.arctlib.utils object Roman { private val map: Map<String, String> = mapOf( "IIIII" to "V", "IIII" to "IV", "VV" to "X", "VIV" to "IX", "XXXXX" to "L", "XXXX" to "XL", "LL" to "C", "LXL" to "XC", "CCCCC" to "D", "CCCC" t...
2
Kotlin
1
2
29100cc3dbe81962904a1fc99fc47de4585ac9c1
703
arctlib
MIT License
Core/src/commonMain/kotlin/org/duckdns/libki/yoIO/core/ByteReader.kt
libki-kt
761,476,898
false
{"Kotlin": 3544}
package org.duckdns.libki.yoIO.core import org.duckdns.libki.yoIO.annotations.NotCompleteFeature @NotCompleteFeature abstract class ByteReader { abstract suspend fun read( fromByte: Int, toByte: Int ): ByteArray }
0
Kotlin
0
0
0a52d01a969c0d826ccc47e9de7670976137cef1
239
yoIO
BSD Zero Clause License
app/src/main/java/org/haidy/servify/presentation/screens/bookingAppointment/BookingAppointmentUiState.kt
HaidyAbuGom3a
805,534,454
false
{"Kotlin": 702248}
package org.haidy.servify.presentation.screens.bookingAppointment import org.haidy.servify.domain.model.Specialist data class BookingAppointmentUiState( val time: String = "", val day: String = "", val price: String = "", val requiredTasks: String = "", val specialist: Specialist?= null )
0
Kotlin
0
2
8c2ba73cea5d29cc2ef7048d832f8ecea13f34ee
312
Servify
Apache License 2.0
app/src/main/java/com/lighttigerxiv/simple/mp/compose/ui/composables/ThemeSelector.kt
lighttigerXIV
547,473,082
false
null
package com.lighttigerxiv.simple.mp.compose.ui.composables import android.content.Context import android.os.Build import androidx.compose.foundation.* import androidx.compose.foundation.interaction.MutableInteractionSource import androidx.compose.foundation.layout.* import androidx.compose.foundation.lazy.LazyRow impo...
5
Kotlin
3
112
cdf76c2ed89f8713054f7e5d62da3ad2f2d972ea
25,507
SimpleMP-Compose
MIT License
app/src/main/java/com/wikicious/app/modules/manageaccount/ManageAccountFragment.kt
wikicious
717,459,357
false
{"Kotlin": 4486264, "Shell": 6082, "Ruby": 1350}
package com.wikicious.app.modules.manageaccount import androidx.compose.foundation.background import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Spacer import androidx.compose.foundation.layout.padding import androidx.compose.foundation.layout.size import androidx.compose.founda...
0
Kotlin
0
0
158361905a41305ac04599180a0080f0a20817c9
15,272
wikicious-wallet-android
MIT License
common/ui/src/main/java/com/alexereh/ui/util/BaseComponent.kt
AlexEreh
680,205,233
false
{"Kotlin": 106073}
package com.alexereh.ui.util import com.arkivanov.decompose.ComponentContext import com.arkivanov.essenty.lifecycle.LifecycleOwner import com.arkivanov.essenty.lifecycle.doOnDestroy import kotlinx.coroutines.CoroutineScope import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.cancel import kotlin.coroutines....
2
Kotlin
0
2
c1e9d62fd3eb3f52d1377cce4cb42dd7875d6fb3
825
CSFBRS
MIT License
common/common-base/src/main/java/com/bbgo/common_base/pool/ThreadPoolUtils.kt
bytebitx
371,705,786
false
{"Kotlin": 368798, "Java": 130630}
package com.bbgo.common_base.pool import com.bbgo.common_base.util.log.Logs import java.util.concurrent.* /** * @Description: * @Author: wangyuebin * @Date: 2021/9/24 4:10 下午 */ class ThreadPoolUtils private constructor( corePoolSize: Int, maximumPoolSize: Int, keepAliveTime: Long, unit: TimeUnit,...
3
Kotlin
13
51
d8f43e04c2f98fa33a9c51aa93eccca69d6f6347
2,614
WanAndroid
Apache License 2.0
Collections of your own/Reduce/test/Tests.kt
xavirulu
239,732,353
false
null
import org.junit.Assert.assertEquals import org.junit.Test class Test { @Test fun `sum`() { assertReduce(listOf(1, 2, 3), Int::plus, 6) } @Test fun `subtract`() { assertReduce(listOf(1, 2, 3), Int::minus, -4) } fun <INPUT : OUTPUT, OUTPUT> assertReduce(input: List<INPUT>, ...
0
Kotlin
0
0
038b459709134364a8d8a47e591877df1cd11bdf
507
Curso_Kotlin
MIT License
app/src/main/java/eu/kanade/presentation/manga/components/RelatedMangasRow.kt
komikku-app
743,200,516
false
{"Kotlin": 5951497}
package eu.kanade.presentation.manga.components import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.PaddingValues import androidx.compose.foundation.layout.aspectRatio import androidx.compose.foundation.layout.padding import andr...
93
Kotlin
9
504
bc460dd3b1edf67d095df0b15c6d1dc39444d5e6
3,439
komikku
Apache License 2.0
compose/foundation/foundation/src/androidMain/kotlin/androidx/compose/foundation/gestures/AndroidScrollable.kt
tikurahul
282,030,665
false
null
/* * Copyright 2020 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
0
null
0
1
ccac66729a5e461b3a05944014f42e2dc55337d6
1,358
androidx
Apache License 2.0
app/src/main/java/pk/gop/pulse/cadastralSurvey/data/remote/response/KachiAbadiList.kt
HabbashMahmood
801,361,247
false
{"Kotlin": 748621, "HTML": 14557, "C++": 3323, "CMake": 1826}
package pk.gop.pulse.cadastralSurvey.data.remote.response data class KachiAbadiList( val abadiId: Long, val abadiName: String ) { override fun toString(): String { return abadiName } override fun hashCode(): Int { var result = 17 // Choose a prime number as the initial value ...
0
Kotlin
0
0
c3e71cf1f094f0a0ded76af417b36861f0af3433
801
CadastralSurveyApp
MIT License
app/src/main/java/com/stocksexchange/android/model/OrderbookHeader.kt
nscoincommunity
277,168,471
true
{"Kotlin": 2814235}
package com.stocksexchange.android.model import android.os.Parcelable import kotlinx.android.parcel.Parcelize @Parcelize data class OrderbookHeader( val title: String, val type: OrderbookOrderType ) : Parcelable
0
null
0
0
52766afab4f96506a2d9ed34bf3564b6de7af8c3
221
Android-app
MIT License