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
detekt-rules/src/test/resources/cases/DataClassContainsFunctions.kt
devtribe
106,407,322
true
{"Kotlin": 511659, "Groovy": 1433}
@file:Suppress("unused", "RedundantOverride") package cases data class ValidDataClass(val i: Int) data class DataClassWithFunctions(val i: Int) { // reports 2 fun f1() {} fun f2() {} } data class DataClassWithOverriddenMethods(val i: Int) { override fun hashCode(): Int { return super.hashCode() } override...
0
Kotlin
0
0
a7e20b134bd24308e36424a7aa137cbe6e12b902
678
detekt
Apache License 2.0
app/src/main/java/com/example/stocktracker/data/FavouriteList.kt
Zellka
344,874,792
false
null
package com.example.stocktracker.data import com.example.stocktracker.entity.Stock import io.paperdb.Paper class FavouriteList { companion object { fun updateItem(stockItem: Stock) { val favouriteList = getFavouriteList() val targetItem = favouriteList.singleOrNull { it.ticker == s...
0
Kotlin
1
0
b5b34e829268d8c10a87a81dd111f773baf74110
970
StockTracker
MIT License
data/src/main/java/com/ice/data/apiservice/ApiService.kt
Ice-crusher
314,906,770
false
null
package com.ice.data.apiservice import com.google.gson.JsonObject import com.ice.data.models.HistoryJson import com.ice.data.models.UserJson import io.reactivex.Single import retrofit2.http.Body import retrofit2.http.GET import retrofit2.http.POST import retrofit2.http.Query interface ApiService { @POST("/sick")...
0
Kotlin
0
0
aef777762993082de9deef705c9768018b428862
693
CovidAlert
Apache License 2.0
app/src/main/java/com/codility/customnotification/activities/MainActivity.kt
AndroidCodility
123,560,231
false
{"Kotlin": 7843}
package com.codility.customnotification.activities import android.os.Bundle import android.support.v7.app.AppCompatActivity import android.view.View import android.widget.Toast import com.codility.customnotification.R import com.codility.customnotification.utils.CustomNotification import kotlinx.android.synthetic.main...
0
Kotlin
0
1
1eaf79bfe4c1f79ba124668ebc9f6b2f1e62e2dc
1,699
CustomNotification
MIT License
src/test/kotlin/BinaryFormatTest.kt
kropp
164,493,180
false
null
import kotlinx.serialization.* /* class BinaryFormatTest { @Serializable class Bin(val v: ByteArray) @Test fun empty() { assertThat(MessagePack.pack(Bin.serializer(), Bin(ByteArray(0))), IsByteArrayEqual(byteArray(0x81, 0xa1, 0x76, 0xc4, 0x00))) assertThat(MessagePack.parse(Bin.serializer(), byteArray...
0
Kotlin
0
7
e19ec31ce50c40d7e8ad54dce8af24544d9cf00c
1,301
kotlinx.serialization.msgpack
Apache License 2.0
app/src/main/java/com/example/swol/ui/ExerciseSearchAdapter.kt
bharath-temp
800,681,930
false
{"Kotlin": 40254}
package com.example.swol.ui import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.TextView import androidx.recyclerview.widget.RecyclerView import com.example.swol.R import com.example.swol.data.Datapoint import com.google.android.material.card.MaterialCardView...
0
Kotlin
0
0
fa9e0a6269ca885de248d426c368fa0bafa72ae0
2,380
Swol
MIT License
app/src/main/java/com/almazov/diacompanion/settings/SettingsAppType.kt
AndreyCKDS
538,835,857
false
null
package com.almazov.diacompanion.settings import android.content.SharedPreferences import android.os.Bundle import androidx.fragment.app.Fragment import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.navigation.fragment.findNavController import androidx.preference.Pr...
0
Kotlin
1
2
c74aa3c09e08abfaa500c63bdcf3941089c77972
2,910
DIACompanion
Creative Commons Zero v1.0 Universal
component-service/src/main/java/com/llj/component/service/vo/CityVo.kt
P79N6A
196,151,573
true
{"C": 7521582, "Java": 2108145, "Shell": 2011215, "C++": 760737, "M4": 416795, "Kotlin": 402736, "Makefile": 379383, "Objective-C": 221330, "Roff": 192501, "Groovy": 59752, "Batchfile": 34559, "HTML": 31121, "GLSL": 23043, "sed": 17563, "CMake": 5799, "Assembly": 3886, "Python": 272}
package com.llj.component.service.vo /** * ArchitectureDemo. * describe: * author llj * date 2018/10/17 */ data class CityVo(var citySiteId: String?, var cityName: String?, var cityEname: String?, var selected: Boolean, var exhibitionCity: In...
0
C
0
0
eb6a6d7c74d191e44262226f50b34a5de05fc079
323
ArchitectureDemo
Apache License 2.0
smartype-api/src/jsMain/kotlin/com.mparticle.smartype.api/MessageReceiver.kt
mParticle
263,459,744
false
null
package com.mparticle.smartype.api @JsExport public actual external interface MessageReceiver { @JsName("receive") public actual fun receive(message: String) }
26
null
4
38
153c7811914ff4909330f86a62a1805a3acdd6e2
169
smartype
Apache License 2.0
app/src/main/kotlin/com/base/di/component/AppComponent.kt
fachrifaul
121,081,350
true
{"Kotlin": 33415}
package com.base.di.component import android.app.Application import android.content.res.Resources import com.base.di.module.ApiModule import com.base.di.module.AppModule import com.base.di.module.OkHttpModule import com.base.di.module.RetrofitModule import com.base.helper.SpHelper import com.base.util.AppSchedulerProv...
0
Kotlin
0
0
0e121c90e24e875877dc5d9a12e1f0334bfde120
1,250
KotlinRxMvpArchitecture
MIT License
korge-core/src/korlibs/korge/render/LineRenderBatcher.kt
korlibs
80,095,683
false
null
@file:OptIn(KorgeInternal::class) package korlibs.korge.render import korlibs.datastructure.* import korlibs.graphics.* import korlibs.graphics.shader.* import korlibs.image.color.* import korlibs.io.async.* import korlibs.korge.internal.* import korlibs.korge.view.* import korlibs.math.geom.* import korlibs.math.geo...
464
null
123
2,497
1a565007ab748e00a4d602fcd78f7d4032afaf0b
6,710
korge
Apache License 2.0
app/src/main/java/com/atakan/mainclient/service/MessengerService.kt
atakanakin
677,016,019
false
null
package com.atakan.mainclient.service import android.R import android.app.Notification import android.app.NotificationChannel import android.app.NotificationManager import android.app.PendingIntent import android.app.Service import android.content.ComponentName import android.content.Context import android.content.Int...
0
Kotlin
0
0
33db39aaa9cb827f9a3316dda3d37c33b7494af2
11,756
Client
MIT License
data/src/main/kotlin/data/tinder/like/Match.kt
stoyicker
291,049,724
false
{"Java": 646382, "Kotlin": 423127, "Shell": 885}
package data.tinder.like import com.squareup.moshi.Json // A bunch of other fields come in the model. Add them as needed for tracking purposes internal data class Match private constructor(@field:Json(name = "id") private val id: String)
1
null
1
1
fecfefd7a64dc8c9397343850b9de4d52117b5c3
240
dinger-unpublished
MIT License
core/data/src/main/java/com/tamzi/speakers/core/data/repository/OfflineFirstUserDataRepository.kt
tamzi
633,718,475
false
null
/* * Copyright 2023 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
0
Kotlin
0
0
e89849386575462b23029fc1961faad1217e3ed2
3,250
speakers
Apache License 2.0
game/plugins/src/main/kotlin/gg/rsmod/plugins/content/objs/pottery/pottery_oven.plugin.kts
2011Scape
578,880,245
false
{"Kotlin": 8359518, "Dockerfile": 1354}
package gg.rsmod.plugins.content.objs.pottery import gg.rsmod.plugins.content.skills.crafting.pottery.FirePotteryAction import gg.rsmod.plugins.content.skills.crafting.pottery.PotteryData val POTTERY_OVEN = listOf(Objs.POTTERY_OVEN, Objs.POTTERY_OVEN_11601, Objs.POTTERY_OVEN_3198, Objs.POTTERY_OVEN_4308, Objs.POTTERY...
36
Kotlin
138
32
da66bb6d68ebae531ee325b909a6536e798b1144
1,971
game
Apache License 2.0
verik-compiler/src/test/kotlin/io/verik/compiler/test/CoreDeclarationTest.kt
frwang96
269,980,078
false
null
/* * Copyright (c) 2021 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
0
Kotlin
1
7
a40d6195f3b57bebac813b3e5be59d17183433c7
4,620
verik
Apache License 2.0
replica-core/src/commonMain/kotlin/me/aartikov/replica/keyed/BulkOperations.kt
aartikov
438,253,231
false
{"HTML": 3233987, "Kotlin": 685239, "CSS": 29063, "JavaScript": 19875}
package me.aartikov.replica.keyed import me.aartikov.replica.common.InvalidationMode import me.aartikov.replica.common.ReplicaTag /** * Cancels network requests in all child replicas. */ suspend fun <K : Any, T : Any> KeyedPhysicalReplica<K, T>.cancelAll() { onEachReplica { cancel() } } /** * Make...
0
HTML
1
33
dc55d0cb727b6854224ceb8b1a1d0d87c7faaddf
1,895
Replica
MIT License
moshimoshi/src/main/java/com/moshimoshi/network/entities/Tokens.kt
fsalom
745,398,229
false
{"Kotlin": 46372}
package com.moshimoshi.network.entities import java.io.Serializable data class Tokens ( val accessToken: Token, val refreshToken: Token? ): Serializable
0
Kotlin
0
1
ec4ff937e917588ea84a932ce54365ae8e49e3a8
162
moshimoshi
MIT License
AlsatIPGAndroid/src/main/java/com/alsatpardakht/alsatipgandroid/AlsatIPG.kt
AlsatPardakht
457,700,165
false
null
package com.alsatpardakht.alsatipgandroid import android.net.Uri import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import com.alsatpardakht.alsatipgandroid.util.asFlow import com.alsatpardakht.alsatipgandroid.util.getDecodedQueryValueByKey import com.alsatpardakht.alsatipgcore.core.util.Reso...
0
null
1
4
cb97540a9dc28730d64b9d4f136a98f8466432c5
7,582
AlsatIPGAndroid
MIT License
KotlinMultiplatform/XFullStack/composeApp/src/commonMain/kotlin/app/pages/directMessage/screen/DirectMessageScreen.kt
pradyotprksh
385,586,594
false
{"Kotlin": 2713958, "Dart": 1066884, "Python": 319400, "Rust": 180589, "Swift": 147761, "C++": 113494, "CMake": 94132, "Go": 45704, "HTML": 21089, "Ruby": 12424, "C": 8043, "Shell": 5675, "PowerShell": 3045, "Nix": 2616, "Makefile": 1480, "JavaScript": 781, "CSS": 588, "Objective-C": 380, "Dockerfile": 32}
package app.pages.directMessage.screen import androidx.compose.foundation.ExperimentalFoundationApi import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Row import androidx.compose.foundation.layout.Spacer import androidx.compose.foundation.layout.calculateEndPadding import androi...
0
Kotlin
10
23
e003ba35035a71ba298212e56480ff6e395a6597
7,656
development_learning
MIT License
src/main/java/Version_Kotlin/SetMeal.kt
Bngel
310,322,584
false
{"Java": 10799, "Kotlin": 8770}
package Version_Kotlin class SetMeal(private val name: String, val price: Double, private val chicken: String, var drink: Drinks) { override fun toString() = "SetMeal{" + "name='" + name + '\'' + ", price=" + price + ", chicken='" + chicken + '\'' + ...
1
null
1
1
ca10f9a5719acfe9fbae1dc67a705cb5d23e76f3
385
West2_2
Apache License 2.0
retroceptor-auth/src/test/java/io/github/ackeecz/retroceptor/MockedSharedPreferences.kt
AckeeCZ
178,363,424
false
null
package io.github.ackeecz.retroceptor import android.content.SharedPreferences /** * Mocked [SharedPreferences] used for testing. */ class MockedSharedPreferences : SharedPreferences, SharedPreferences.Editor { private var values = mutableMapOf<String, Any?>() private val tempValues = mutableMapOf<String, ...
1
Kotlin
0
2
5380df11f20580e55b6c622db30201f9f467c09f
3,326
retroceptor
Apache License 2.0
retroceptor-auth/src/test/java/io/github/ackeecz/retroceptor/MockedSharedPreferences.kt
AckeeCZ
178,363,424
false
null
package io.github.ackeecz.retroceptor import android.content.SharedPreferences /** * Mocked [SharedPreferences] used for testing. */ class MockedSharedPreferences : SharedPreferences, SharedPreferences.Editor { private var values = mutableMapOf<String, Any?>() private val tempValues = mutableMapOf<String, ...
1
Kotlin
0
2
5380df11f20580e55b6c622db30201f9f467c09f
3,326
retroceptor
Apache License 2.0
shared/src/commonMain/kotlin/presentation/App.kt
razaghimahdi
714,632,664
false
null
package presentation import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.runtime.Composable import androidx.compose.runtime.LaunchedEffect import androidx.compose.ui.Modifier import coil3.ImageLoader import coil3.annotation.ExperimentalCoilApi imp...
0
null
9
97
6047cf13ab86a9dd74c8ea4bcba7a9771ec8ad0e
2,756
Shopping-By-KMP
MIT License
Chapter04/src/main/kotlin/com/rivuchk/packtpub/reactivekotlin/chapter04/chapter4_6.kt
tymicki
175,694,440
true
{"Kotlin": 121444}
package com.rivuchk.packtpub.reactivekotlin.chapter04 import io.reactivex.Flowable import io.reactivex.schedulers.Schedulers import kotlinx.coroutines.delay import kotlinx.coroutines.runBlocking import org.reactivestreams.Subscriber import org.reactivestreams.Subscription fun main() { Flowable.range(1, 1000)//(1)...
0
Kotlin
0
0
143e1bd1473c6da3fb3fe1b9373124052f87874d
1,135
Reactive-Programming-in-Kotlin
MIT License
app/src/debug/java/info/bati11/whenit/FlipperInitializer.kt
bati11
226,518,863
false
null
package info.bati11.whenit import android.content.Context import com.facebook.flipper.android.AndroidFlipperClient import com.facebook.flipper.android.utils.FlipperUtils import com.facebook.flipper.plugins.databases.DatabasesFlipperPlugin import com.facebook.flipper.plugins.inspector.DescriptorMapping import com.faceb...
0
Kotlin
0
0
2ee204baa364594c6c2909c83673b8901f8b1d81
866
whenit-android
Apache License 2.0
networksurvey/src/main/java/com/craxiom/networksurvey/ui/wifi/model/WifiSpectrum24ViewModel.kt
christianrowlands
156,117,885
false
{"Java": 1326175, "Kotlin": 123425}
package com.craxiom.networksurvey.ui.wifi.model import com.craxiom.networksurvey.fragments.WifiNetworkInfo import com.craxiom.networksurvey.util.WifiUtils.START_OF_6_GHZ_RANGE import com.patrykandpatrick.vico.core.model.LineCartesianLayerModel /** * The specific Wi-Fi spectrum view model implementation for the 2.4 G...
5
Java
25
95
866b838da2d2fd74e343d6f153ab9f869a255e4a
1,433
android-network-survey
Apache License 2.0
build-logic/convention/src/main/kotlin/pl/droidsonroids/composekit/modulegenerator/utils/SystemSeparatorProvider.kt
DroidsOnRoids
514,214,122
false
{"Kotlin": 105234}
package pl.droidsonroids.composekit.modulegenerator.utils import java.io.File internal class SystemSeparatorProvider : SeparatorProvider { override val separator: String get() = File.separator override val separatorChar: Char get() = File.separatorChar }
29
Kotlin
0
0
61097320067374bafc35eb333c38d8e8a4497637
281
ComposeKit
MIT License
app/src/main/java/com/example/sobes/data/database/AppDatabase.kt
lolka123455
814,186,525
false
{"Kotlin": 161649}
package com.example.sobes.data.database import androidx.room.Database import androidx.room.RoomDatabase import com.example.sobes.data.database.dao.AnswerCardDao import com.example.sobes.data.database.dao.CardInfoDao import com.example.sobes.data.database.entity.AnswerCardEntity import com.example.sobes.data.database.e...
0
Kotlin
0
3
0012bfae25679b90c633def83584842b24509613
747
Sobes
Creative Commons Attribution 4.0 International
src/main/kotlin/com/atlassian/performance/tools/jiraperformancetests/api/AwsPluginTester.kt
tied
155,338,629
true
{"Kotlin": 43376}
package com.atlassian.performance.tools.jiraperformancetests.api import com.atlassian.performance.tools.aws.api.Aws import com.atlassian.performance.tools.aws.api.Investment import com.atlassian.performance.tools.awsinfrastructure.api.InfrastructureFormula import com.atlassian.performance.tools.awsinfrastructure.api.V...
0
Kotlin
0
0
a4ace3fc16ae6993c21b08509e242edaaf7f459a
5,573
jira-performance-tests
Apache License 2.0
devops-boot-project/devops-boot-core/devops-schedule/devops-schedule-server/src/main/kotlin/com/tencent/devops/schedule/scheduler/monitor/JobRetryMonitor.kt
bkdevops-projects
294,058,091
false
{"Kotlin": 488037, "JavaScript": 47413, "Vue": 36468, "SCSS": 7290, "HTML": 620, "Java": 559}
package com.tencent.devops.schedule.scheduler.monitor import com.tencent.devops.schedule.enums.AlarmStatusEnum import com.tencent.devops.schedule.enums.TriggerTypeEnum import com.tencent.devops.schedule.scheduler.JobScheduler import com.tencent.devops.schedule.utils.sleep import com.tencent.devops.schedule.utils.termi...
7
Kotlin
22
27
cbff03abe5d572b09cbd486830d87cddc91b938b
2,939
devops-framework
MIT License
app/app/src/main/java/site/pixeled/tagtool/ItemFragment.kt
orosmatthew
765,328,347
false
{"Kotlin": 47663, "PHP": 24101}
package site.pixeled.tagtool import android.os.Bundle import androidx.fragment.app.Fragment import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.Button import android.widget.EditText import android.widget.TextView import android.widget.Toast import androidx.na...
0
Kotlin
0
0
b3cc1a7e12cb2e469d3e4a246b3997e9703fe944
4,191
tag-tool
MIT License
app/src/main/java/com/stylingandroid/weatherstation/di/ViewModelFactory.kt
StylingAndroid
134,726,407
false
null
package bav.anyway.di import androidx.lifecycle.ViewModel import androidx.lifecycle.ViewModelProvider import javax.inject.Inject import javax.inject.Provider import javax.inject.Singleton @Singleton class ViewModelFactory @Inject constructor( private val viewModels: Map<Class<out ViewModel>, @JvmSuppressWildcards...
2
null
9
86
91ea578865024b9bc8957d5b8b2293a250dbe10c
648
WeatherStation
Apache License 2.0
app/src/main/java/io/horizontalsystems/bankwallet/modules/main/MainActivity.kt
onictech
194,841,610
true
{"Kotlin": 797225, "Ruby": 4839}
package io.horizontalsystems.bankwallet.modules.main import android.content.Intent import android.os.Bundle import android.security.keystore.KeyPermanentlyInvalidatedException import android.text.Editable import android.text.TextUtils import android.text.TextWatcher import android.view.MotionEvent import android.view....
0
Kotlin
1
0
5f57e8e2d1402f0b894434cc2728d54b519cf56d
28,386
unstoppable-wallet-android
MIT License
data/src/main/java/com/yvkalume/gifapp/data/model/mapper/GifEntityMapper.kt
yveskalume
604,632,872
false
null
package com.yvkalume.gifapp.data.model.mapper import com.yvkalume.gifapp.data.model.room.GifEntity import com.yvkalume.gifapp.data.model.server.GiphyItem object GifEntityMapper : Mapper<GiphyItem, GifEntity>() { override fun map(input: GiphyItem): GifEntity { return with(input) { GifEntity( ...
0
Kotlin
0
11
56526902eec0780032393b32c386df8ebef4059b
568
gif-app
Apache License 2.0
noty-android/app/composeapp/src/main/java/dev/shreyaspatil/noty/composeapp/utils/AssistedViewModelUtils.kt
PatilShreyas
303,164,275
false
null
/* * Copyright 2020 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
8
null
243
997
91882706db5517a33bbd4083c7a7bdb77501c64b
1,954
NotyKT
Apache License 2.0
app/src/main/kotlin/io/github/sithengineer/marvelcharacters/presentation/characterdetails/CharacterDetailsPresenter.kt
SithEngineer
118,156,101
false
null
package io.github.sithengineer.marvelcharacters.presentation.characterdetails import io.github.sithengineer.marvelcharacters.presentation.characterdetails.CharacterDetailsContract.Presenter import io.github.sithengineer.marvelcharacters.presentation.characterdetails.CharacterDetailsContract.View import io.github.sithe...
0
Kotlin
0
0
6c3826bedf71087f0eb22c398a20f480dde5b45b
3,780
MarvelCharactersApp
MIT License
src/Day10.kt
hoppjan
433,705,171
false
{"Kotlin": 29015, "Shell": 338}
fun main() { fun part1(input: List<String>) = input.sumOf { line -> line.lineScore() } fun part2(input: List<String>) = input.filterNotCorrupted() .map { it.completionScore() } .median() val day = "10" val testInput = StringInputReader.read(...
0
Kotlin
0
0
04f10e8add373884083af2a6de91e9776f9f17b8
2,434
advent-of-code-2021
Apache License 2.0
app/src/main/java/com/froggie/design/ui/player/PlayerFragment.kt
ucdevinda123
387,638,747
false
null
package com.froggie.design.ui.player import android.animation.Animator import android.animation.ValueAnimator import android.os.Bundle import android.view.View import android.widget.SeekBar import androidx.core.view.isVisible import androidx.fragment.app.Fragment import androidx.fragment.app.viewModels import androidx...
0
Kotlin
0
1
87196c1f8ce41db55aade42ea76f721ff7593422
6,111
froggie-mvvm
Apache License 2.0
src/jvmMain/kotlin/dev/romainguy/kotlin/explorer/code/CodeStyle.kt
romainguy
677,575,533
false
{"Kotlin": 1823030, "Lex": 42156, "Python": 11996}
/* * Copyright (C) 2024 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
3
Kotlin
24
798
d42fe12f8d40b3e5b55a22032ea09aeb82397d72
765
kotlin-explorer
Apache License 2.0
core/model/src/main/java/com/hellguy39/hellnotes/core/model/AppSettings.kt
HellGuy39
572,830,054
false
null
package com.hellguy39.hellnotes.core.model data class AppSettings( /* Security */ val isPinSetup: Boolean, val appPin: String, val isUseBiometric: Boolean, ) { constructor(): this(false, "", false) }
0
Kotlin
0
4
218ffb7bd5febc09248a3cb3c1995c4cd15b10c9
221
HellNotes
Apache License 2.0
src/test/kotlin/com/kalikov/game/EnemyFactoryTest.kt
kalikov
696,277,791
false
{"Kotlin": 401152}
package com.kalikov.game import org.junit.jupiter.api.BeforeEach import org.junit.jupiter.api.Test import org.mockito.kotlin.any import org.mockito.kotlin.argumentCaptor import org.mockito.kotlin.clearInvocations import org.mockito.kotlin.isA import org.mockito.kotlin.mock import org.mockito.kotlin.never import org.mo...
0
Kotlin
0
0
a2964b0e473f7e49a013f6d3d24303f51a79cbf0
11,906
battle-city
MIT License
src/main/kotlin/no/nav/k9/los/integrasjon/audit/AuditLogger.kt
navikt
238,874,021
false
{"Kotlin": 1605106, "JavaScript": 741, "Shell": 659, "Dockerfile": 343, "PLpgSQL": 167}
package no.nav.k9.los.integrasjon.audit import no.nav.k9.los.Configuration import org.slf4j.Logger import org.slf4j.LoggerFactory class Auditlogger constructor( val configuration: Configuration, val isEnabled: Boolean = configuration.auditEnabled(), val defaultVendor: String = configuration.auditVendor(),...
9
Kotlin
0
0
f433261d48ead37dc6ad19be0333db471b484590
630
k9-los-api
MIT License
statistics/statistics-impl/src/main/java/com/duckduckgo/app/statistics/config/StatisticsLibraryConfig.kt
duckduckgo
78,869,127
false
null
/* * Copyright (c) 2021 DuckDuckGo * * 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 ...
67
null
901
3,823
6415f0f087a11a51c0a0f15faad5cce9c790417c
1,183
Android
Apache License 2.0
src/main/java/com/arman/kotboy/core/io/input/Controller.kt
coenvk
182,844,893
false
{"Kotlin": 327296, "Batchfile": 143}
package com.arman.kotboy.core.io.input import com.arman.kotboy.core.io.Joypad import java.awt.event.KeyEvent abstract class Controller : InputHandler { protected abstract val bindings: MutableList<Keybinding> final override fun keyPressed(e: KeyEvent) { val key = getKey(e) key?.let { buttonL...
0
Kotlin
2
3
709efa50a0b176d7ed8aefe4db0f35f173472de2
692
KotBoy
MIT License
app/src/main/java/net/appitiza/workmanager/ui/activities/admin/SetSalaryActivity.kt
appitiza
131,850,434
false
null
package net.appitiza.workmanager.ui.activities.admin import android.app.ProgressDialog import android.os.Bundle import android.support.v7.widget.Toolbar import android.text.TextUtils import android.view.View import android.widget.AdapterView import com.google.firebase.auth.FirebaseAuth import com.google.firebase.fires...
2
null
3
5
adab092ddb838726cfbf24390728665effea2abf
6,097
workmanager
The Unlicense
src/chapter1/section3/ex44_TextEditorBuffer.kt
hb44
360,857,712
true
{"Kotlin": 1262005}
package chapter1.section3 import edu.princeton.cs.algs4.Stack import extensions.readInt import extensions.readString import extensions.safeCall import java.security.InvalidParameterException class Buffer { //控制台无法打印Char,所以用一个字符长度的String代替 private val firstHalfStack = Stack<String>() private val secondHalf...
0
null
0
0
5664f07094df80ed3cff0c7f5c981f6fe9d5523b
2,500
Algorithms-4th-Edition-in-Kotlin
MIT License
photofilterssdk/src/main/java/com/zomato/photofilters/imageprocessors/ImageProcessor.kt
PaulHost
207,349,609
false
null
package com.zomato.photofilters.imageprocessors import android.graphics.Bitmap object ImageProcessor { fun applyCurves(rgb: IntArray, red: IntArray, green: IntArray, blue: IntArray, inputImage: Bitmap): Bitmap { val width = inputImage.width val height = inputImage.height var pixels = Int...
1
null
1
1
3a17296a90df11bbc36cbaddf84a1794301673a2
2,518
AndroidPhotoFilters
Apache License 2.0
src/main/kotlin/com/github/kerubistan/kerub/model/User.kt
kerubistan
19,528,622
false
null
package com.github.kerubistan.kerub.model data class User( val userName: String, val quota: Quota? = null )
109
Kotlin
4
14
99cb43c962da46df7a0beb75f2e0c839c6c50bda
112
kerub
Apache License 2.0
app/src/main/java/com/example/todoapp/feature_todo/presentation/todo_new_update/TodoNewUpdateScreen.kt
litvinnik1
754,164,981
false
{"Kotlin": 84982}
package com.example.todoapp.feature_todo.presentation.todo_new_update import android.annotation.SuppressLint import androidx.compose.foundation.Image import androidx.compose.foundation.background import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.Column import androidx.compose.foun...
0
Kotlin
0
0
04dc760bf01ebfcc91efa8ef67719ab4d608e15b
11,236
TodoApp
Apache License 2.0
src/main/kotlin/io/github/oxisto/reticulated/ast/expression/ConditionalExpression.kt
AndHager
244,382,209
true
{"Kotlin": 276598, "ANTLR": 26984, "Python": 2008}
/* * Copyright (c) 2020, <NAME> and <NAME>. All rights reserved. * * 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 r...
0
Kotlin
0
0
95b24f52e1c2e37c004048e1e8274885b3fa08ed
1,909
reticulated-python
Apache License 2.0
src/main/kotlin/uk/gov/justice/digital/hmpps/nomisprisonerapi/jpa/AdjudicationIncidentRepairs.kt
ministryofjustice
444,895,409
false
null
package uk.gov.justice.digital.hmpps.nomisprisonerapi.jpa import jakarta.persistence.Column import jakarta.persistence.Embeddable import jakarta.persistence.EmbeddedId import jakarta.persistence.Entity import jakarta.persistence.FetchType import jakarta.persistence.JoinColumn import jakarta.persistence.ManyToOne impor...
1
Kotlin
0
0
9d941b432a73cebd4fcb3107a2a0330fe3d20391
2,067
hmpps-nomis-prisoner-api
MIT License
app/src/main/java/com/letter/days/utils/AnniversaryUtil.kt
NevermindZZT
164,197,780
false
null
package com.letter.days.utils import android.content.Context import android.graphics.Color import android.graphics.drawable.* import android.view.Gravity import com.letter.days.database.AppDatabase import com.letter.days.database.entity.AnniversaryEntity /** * 纪念日工具 * * @author Letter(<EMAIL>) * @since 1.0.0 */ ...
0
Kotlin
1
9
641bc9587bc8edbe569653c3242cb08fc7bfc071
2,311
Days
MIT License
src/main/kotlin/de/megonno/cannibalkitchen/inventory/MInventory.kt
Megonno
822,249,651
false
{"Kotlin": 60118}
package de.megonno.cannibalkitchen.inventory import de.megonno.cannibalkitchen.inventory.gui.MGui import net.kyori.adventure.text.Component import org.bukkit.entity.Player import org.bukkit.event.inventory.InventoryCloseEvent import org.bukkit.inventory.InventoryHolder abstract class MInventory<I : MInventory<I>>( ...
0
Kotlin
0
0
142780e92e341162492c67658afa427f8008c050
697
CannibalKitchen
MIT License
source-code/final-project/app/src/main/java/com/droidcon/destress/History.kt
droidcon-academy
675,493,475
false
null
package com.droidcon.destress import androidx.compose.material3.Text import androidx.compose.runtime.Composable import androidx.compose.ui.tooling.preview.Preview import com.droidcon.destress.domain.RelaxEvent import com.droidcon.destress.domain.RelaxType import com.droidcon.destress.domain.testList @Composable fun H...
0
Kotlin
0
1
8ba0697a013a3130fd0ed4223bd014e848b96941
624
android-cbc-compose-canvas-draw-animate
Apache License 2.0
app/src/main/java/com/example/c323p6notes/NotesFragment.kt
kuzeybektas
703,330,136
false
{"Kotlin": 14608}
package com.example.c323p6notes import android.os.Bundle import android.util.Log import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.fragment.app.Fragment import androidx.lifecycle.Observer import androidx.lifecycle.ViewModelProvider import androidx.navigation.frag...
0
Kotlin
0
0
b6216bfb9fb5adf1948d4b0d9bc2590d1baa4424
2,636
NotesApp
Apache License 2.0
game/plugins/src/main/kotlin/gg/rsmod/plugins/content/mechanics/run/RunEnergy.kt
AlterRSPS
421,831,790
false
null
package gg.rsmod.plugins.content.mechanics.run import gg.rsmod.game.model.bits.INFINITE_VARS_STORAGE import gg.rsmod.game.model.bits.InfiniteVarsType import gg.rsmod.game.model.timer.TimerKey import gg.rsmod.game.model.entity.Player import gg.rsmod.plugins.api.EquipmentType import gg.rsmod.plugins.api.Skills import gg...
8
null
29
20
a46e00462ac1943cdf3460e03595e1f383c32b91
3,194
Alter
Apache License 2.0
app/src/main/java/com/faigenbloom/familybudget/ui/register/RegisterPage.kt
ZakharchenkoWork
706,155,222
false
{"Kotlin": 746176}
@file:OptIn(ExperimentalMaterial3Api::class) package com.faigenbloom.familybudget.ui.register import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Spacer import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.foundation.layout.padding import androidx.compo...
0
Kotlin
0
0
e81fa66d6afd5b79d3299583a73378c3ee1463ca
6,741
FamilyBudget
Apache License 2.0
zcash-android-wallet-app/app/src/main/java/cash/z/android/wallet/vo/WalletTransaction.kt
gmale
151,591,683
false
null
package cash.z.android.wallet.vo import cash.z.android.wallet.R import androidx.annotation.ColorRes import java.math.BigDecimal data class WalletTransaction(val status: WalletTransactionStatus, val timestamp: Long, val amount: BigDecimal) enum class WalletTransactionStatus(@ColorRes val color: Int) { SENT(R.colo...
1
Kotlin
1
1
689a9a522b4087bbf2573e1e704f6d11451def28
374
zcash-android-wallet-poc
Apache License 2.0
items/src/commonMain/kotlin/dev/garage/items/platform.kt
vchernyshov
255,430,518
false
null
package dev.garage.items expect fun platform(): String
0
Kotlin
1
5
76c84cdf7a14805c8d436224ce5bf32a2acccef1
55
kmp-items
MIT License
app/src/main/java/com/learning/photoshow/core/routers/Routing.kt
ramzyhassan44
358,888,621
false
null
package com.learning.photoshow.core.routers const val LISTING_PHOTOS_ROUTER = "LISTING_PHOTOS_ROUTER" const val VIEWING_PHOTO_ROUTER = "VIEWING_PHOTO_ROUTER" const val MAIN_SCREEN_ROUTER = "MAIN_SCREEN_ROUTER"
0
Kotlin
0
0
93004bd8e795235985180a8f0e92d5886065a4b7
210
photos-show
Apache License 2.0
tabler/src/commonMain/kotlin/com/woowla/compose/icon/collections/tabler/tabler/outline/PlayerSkipBack.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
1,911
compose-icon-collections
MIT License
platforms/intellij/skate/src/main/kotlin/foundry/intellij/skate/modeltranslator/GenerateTranslatorBodyAction.kt
slackhq
481,715,971
false
{"Kotlin": 1071858, "Shell": 11199, "HTML": 1503, "Swift": 207}
/* * Copyright (C) 2023 Slack Technologies, 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 l...
26
Kotlin
20
430
8228e72ef7f76a283df544793a8b9f68adceda46
2,645
foundry
Apache License 2.0
app/src/main/java/luyao/box/App.kt
Everglowzz
194,373,759
false
{"Java": 197768, "Kotlin": 60334}
package luyao.box import android.app.Application import android.content.Context import kotlin.properties.Delegates /** * Created by luyao * on 2018/12/29 13:33 */ class App : Application() { companion object { var CONTEXT: Context by Delegates.notNull() } override fun onCreate() { sup...
1
Java
1
2
892181baeef49be4eb53f785348ce3fc1b9aa7f3
380
Box-master
Apache License 2.0
avro4k-core/src/test/kotlin/com/sksamuel/avro4k/schema/URLSchemaTest.kt
chriswk
240,206,852
true
{"Kotlin": 259873, "Shell": 87}
@file:UseSerializers(URLSerializer::class) package com.sksamuel.avro4k.schema import com.sksamuel.avro4k.Avro import com.sksamuel.avro4k.serializer.URLSerializer import io.kotlintest.shouldBe import io.kotlintest.specs.FunSpec import kotlinx.serialization.Serializable import kotlinx.serialization.UseSerializers impor...
0
Kotlin
0
0
a5d321fd74c6c981038c3563420360465eb878ff
971
avro4k
Apache License 2.0
app/src/main/java/com/example/wikipedia_test/Fragment/Fragment_Profile.kt
prvsa2003
636,592,976
false
null
package com.example.wikipedia_test.Fragment import android.app.Activity.RESULT_OK import android.app.Dialog import android.content.Intent import android.graphics.Bitmap import android.graphics.BitmapFactory import android.graphics.BitmapShader import android.graphics.Canvas import android.graphics.Interpolator import ...
0
Kotlin
0
0
cf9d437b38929dd74b3846f57841d09cfdbceedc
5,079
wikipedia
MIT License
app/src/main/java/com/bitvolper/yogazzz/presentation/mybody/Utility.kt
sheikh-20
746,115,322
false
{"Kotlin": 979402}
package com.bitvolper.yogazzz.presentation.mybody import java.util.Calendar import kotlin.math.ceil import kotlin.math.pow fun kgToLb(kg: Double): Double { val lbsPerKg = 2.20462 val lb = kg * lbsPerKg return ceil(lb * 100) / 100 } fun lbToKg(lb: Double): Double { val kgPerLb = 0.453592 val kg = ...
0
Kotlin
1
0
1afb7abb3932d9c4fc1d7b9371221fcc96061b34
1,101
YogaApp
The Unlicense
wearable/src/main/java/de/mulambda/slantedwatchface/ConfigActivity.kt
mu-lambda
324,634,748
false
null
/* * Copyright (c) 2021 - present The Slanted Watch Face Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * *...
4
Kotlin
0
0
bacacff454fe792d6ab03aa3da715e829650730c
15,252
slantedWatchface
Apache License 2.0
app/src/main/java/com/pyamsoft/tickertape/setting/SettingsViewState.kt
pyamsoft
371,196,339
false
null
package com.pyamsoft.tickertape.setting import androidx.compose.runtime.getValue import androidx.compose.runtime.mutableStateOf import androidx.compose.runtime.setValue import com.pyamsoft.pydroid.arch.UiViewState import com.pyamsoft.tickertape.core.ActivityScope import javax.inject.Inject interface SettingsViewState...
5
Kotlin
0
2
79edd1bb2fbc7d462da55709c1c5879ca37510fd
523
tickertape
Apache License 2.0
app/src/main/java/com/pyamsoft/tickertape/setting/SettingsViewState.kt
pyamsoft
371,196,339
false
null
package com.pyamsoft.tickertape.setting import androidx.compose.runtime.getValue import androidx.compose.runtime.mutableStateOf import androidx.compose.runtime.setValue import com.pyamsoft.pydroid.arch.UiViewState import com.pyamsoft.tickertape.core.ActivityScope import javax.inject.Inject interface SettingsViewState...
5
Kotlin
0
2
79edd1bb2fbc7d462da55709c1c5879ca37510fd
523
tickertape
Apache License 2.0
tmp/arrays/youTrackTests/9205.kt
DaniilStepanov
228,623,440
false
{"Git Config": 1, "Gradle": 6, "Text": 3, "INI": 5, "Shell": 2, "Ignore List": 3, "Batchfile": 2, "Markdown": 2, "Kotlin": 15942, "JavaScript": 4, "ANTLR": 2, "XML": 12, "Java": 4}
// Original bug: KT-15775 @Target(AnnotationTarget.TYPE) annotation class A val fn: (@A Int) -> Unit = null!! val test1 = fn // ': (Int) -> Unit', should be: ': (@A Int) -> Unit'
1
null
1
1
602285ec60b01eee473dcb0b08ce497b1c254983
181
bbfgradle
Apache License 2.0
core/src/main/kotlin/com/osmp4j/features/HighwayFeatureFactory.kt
fleonhard
199,824,414
false
null
package com.osmp4j.features import com.osmp4j.data.Highway import com.osmp4j.data.Node import com.osmp4j.data.osm.elements.OSMNode import com.osmp4j.data.osm.features.OSMHighway import com.osmp4j.extensions.isFeature import com.osmp4j.features.core.ExtendNodeFeatureFactory import com.osmp4j.features.core.Neo4jType ob...
1
Kotlin
0
0
93d04a3a1dd2597eb2ce2646139efa82b563d389
1,305
osmp4j
Apache License 2.0
src/test/kotlin/com/news/app/auth/UserServiceTest.kt
shohelasad
700,488,693
false
{"Kotlin": 57166, "Dockerfile": 158}
package com.news.app.auth import com.news.app.dto.AuthRequest import com.news.app.dto.RegisterRequest import com.news.app.entity.User import com.news.app.exception.RegisteredException import com.news.app.repository.UserRepository import com.news.app.security.JwtService import com.news.app.service.UserService import io...
0
Kotlin
0
0
5e210befb088e93389100d37e6121298580a687f
2,652
Kotlin-Rest-APIs
MIT License
yeventbus/src/main/java/com/lewis_v/yeventbus/YEventHandle.kt
lewis-v
154,311,397
false
null
package com.lewis_v.yeventbus class YEventHandle : IEventHandle { /** * 发布消息 * @param observable * @param data * @param <T> * @throws InterruptedException </T> */ override fun <T : Any> postEvent(observable: YObservable, data: T) { handle(observable, data) } /** ...
0
null
0
1
bc448ec5226e2c071c0b55e7de38c9d5a3ec0cef
520
YEventBus2
Apache License 2.0
app/src/main/java/musicboxd/android/data/remote/api/musicbrainz/model/artist/MusicBrainzArtistData.kt
MusicBoxd
793,151,068
false
{"Kotlin": 532615}
package musicboxd.android.data.remote.api.musicbrainz.model.artist import kotlinx.serialization.Serializable @Serializable data class MusicBrainzArtistData( val relations: List<Relation> )
0
Kotlin
0
2
499f56faeaf6208982b618ef75743e6c4d4e829a
194
android
MIT License
microapp/news/src/main/java/bruhcollective/itaysonlab/jetisoft/microapp/news/ui/OuterNavigation.kt
iTaysonLab
525,967,051
false
{"Kotlin": 203833}
package bruhcollective.itaysonlab.microapp.library.ui import androidx.compose.runtime.Immutable import androidx.compose.runtime.staticCompositionLocalOf import androidx.navigation.NavHostController import bruhcollective.itaysonlab.microapp.core.Destinations @Immutable internal class OuterNavigation( private val c...
0
Kotlin
0
13
f651cfc692852c378c9cd3b4e41d8aa1b5a76eb5
546
jetisoft
Apache License 2.0
src/test/kotlin/com/virusbear/beanstalkt/operation/ListTubeUsedOperationTest.kt
virusbear
697,417,178
false
{"Kotlin": 59390, "Java": 195}
package com.virusbear.beanstalkt.operation import com.virusbear.beanstalkt.response.UsingResponse import com.virusbear.beanstalkt.writePacketAsText import kotlinx.coroutines.runBlocking import kotlin.test.* class ListTubeUsedOperationTest { @Test fun write() = runBlocking { val op = ListTubeUsedOperat...
0
Kotlin
0
0
a045a7abdf351366e742a8d12b95172be28c1d39
685
beanstalkt
Apache License 2.0
server/src/main/kotlin/com/kamelia/hedera/rest/file/DTO.kt
Black-Kamelia
492,280,011
false
null
@file:UseSerializers(UUIDSerializer::class) package com.kamelia.hedera.rest.file import com.kamelia.hedera.rest.core.DTO import com.kamelia.hedera.rest.core.pageable.PageDTO import com.kamelia.hedera.util.UUIDSerializer import com.kamelia.hedera.util.uuid import java.util.UUID import kotlinx.serialization.Serializabl...
3
Kotlin
0
9
23b16a0000769665d1d97a54dc8459935edfdb50
1,133
Hedera
Apache License 2.0
app/src/main/java/com/test/restaurant/data/model/ServiceArea.kt
Imranseu17
481,709,159
false
null
package com.test.restaurant.data.model import com.fasterxml.jackson.annotation.JsonIgnoreProperties import com.fasterxml.jackson.annotation.JsonProperty @JsonIgnoreProperties(ignoreUnknown = true) data class ServiceArea ( @JsonProperty("code" ) var serviceAreaCode : String? , @JsonProperty("name" ) var serviceAr...
0
Kotlin
1
0
fdb3b766622ee6116246ed8d6019f10923ac71ff
507
ShopApplication
Apache License 2.0
javalin/src/main/java/io/javalin/http/HandlerType.kt
tipsy
87,012,358
false
null
/* * Javalin - https://javalin.io * Copyright 2017 <NAME> * Licensed under Apache 2.0: https://github.com/tipsy/javalin/blob/master/LICENSE */ package io.javalin.http import io.javalin.core.util.Header import javax.servlet.http.HttpServletRequest enum class HandlerType { GET, POST, PUT, PATCH, DELETE, HEAD,...
8
null
488
5,665
aef72d2a09773b688a646dbe9c47845c9a6da497
870
javalin
Apache License 2.0
src/me/anno/utils/structures/arrays/DirtyCharSequence.kt
AntonioNoack
456,513,348
false
null
package me.anno.utils.structures.arrays /** * a [CharSequence], which does no proper character conversion; it is meant for * coloring programming code only, and should not be used for String generation * */ class DirtyCharSequence(val base: IntSequence, val i0: Int = 0, val i1: Int = base.length) : CharSequence { ...
0
Kotlin
3
9
94bc7c74436aa567ec3c19f386dd67af0f1ced00
897
RemsEngine
Apache License 2.0
core/commonTest/src/contract/map/ImmutableMapTest.kt
SebastianAigner
359,509,020
true
{"Kotlin": 562446}
/* * Copyright 2016-2019 JetBrains s.r.o. * Use of this source code is governed by the Apache 2.0 License that can be found in the LICENSE.txt file. */ package tests.contract.map import kotlinx.collections.immutable.* import tests.contract.collectionBehavior import tests.contract.compare import tests.contract.mapB...
0
null
0
0
75ed654e34e7111a076d87b8c075fd140e6b4cf7
11,132
kotlinx.collections.immutable
Apache License 2.0
plot-core/src/commonTest/kotlin/org/jetbrains/letsPlot/core/plot/base/pos/PosTest.kt
JetBrains
176,771,727
false
null
/* * Copyright (c) 2023. JetBrains s.r.o. * Use of this source code is governed by the MIT license that can be found in the LICENSE file. */ package org.jetbrains.letsPlot.core.plot.base.pos import jetbrains.datalore.base.assertion.assertEquals import org.jetbrains.letsPlot.commons.geometry.DoubleVector import org...
93
null
51
889
2fb1fe8e812ed0b84cd32954331a76775e75d4d2
2,058
lets-plot
MIT License
plot-core/src/commonTest/kotlin/org/jetbrains/letsPlot/core/plot/base/pos/PosTest.kt
JetBrains
176,771,727
false
null
/* * Copyright (c) 2023. JetBrains s.r.o. * Use of this source code is governed by the MIT license that can be found in the LICENSE file. */ package org.jetbrains.letsPlot.core.plot.base.pos import jetbrains.datalore.base.assertion.assertEquals import org.jetbrains.letsPlot.commons.geometry.DoubleVector import org...
93
null
51
889
2fb1fe8e812ed0b84cd32954331a76775e75d4d2
2,058
lets-plot
MIT License
core/src/main/java/co/com/lafemmeapp/core/domain/use_cases/specialist/DeleteSOSActivationDateUseCase.kt
Informatica-Empresarial
106,600,201
false
null
package co.com.lafemmeapp.core.domain.use_cases.specialist import co.com.lafemmeapp.core.domain.use_cases.UseCase import co.com.lafemmeapp.dataprovider.Constants import co.com.lafemmeapp.dataprovider.repo.interfaces.IRepositoryFactory import io.reactivex.Observable import io.reactivex.Scheduler import javax.inject.Inj...
1
null
1
1
486ab3eab99e9a06e70e32d1cbe34a9fa5a7fd81
992
AppAndroid
Apache License 2.0
app/src/main/java/com/ant/app/ui/main/favorites/FavoritesFragment.kt
toaderandrei
786,415,615
false
{"Kotlin": 212047, "Java": 376}
package com.ant.app.ui.main.favorites import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.core.view.updatePadding import androidx.fragment.app.Fragment import androidx.fragment.app.viewModels import androidx.navigation.fragment.findNavContr...
1
Kotlin
0
0
b7691975f404ee834a4567cf6dfbdea77086aeb2
3,308
popular-movies-kt
MIT License
src/main/kotlin/org/xpathqs/driver/navigation/impl/Loadable.kt
xpathqs
366,703,320
false
null
package org.xpathqs.driver.navigation.impl import org.xpathqs.core.selector.block.Block import org.xpathqs.driver.extensions.isHidden import org.xpathqs.driver.extensions.waitForVisible import org.xpathqs.driver.log.Log import org.xpathqs.driver.navigation.base.ILoadable import org.xpathqs.driver.navigation.util.Loadi...
0
Kotlin
0
1
ddd2c5b04ac454a3eef608396501e74c2b162e6c
1,299
driver
MIT License
rtmp/src/main/java/com/pedro/rtmp/fork/bitrateadjuster/NetworkStateManager.kt
marcin-adamczewski
252,785,785
true
{"Java": 980006, "Kotlin": 292958, "GLSL": 40954}
package com.pedro.rtmp.fork.bitrateadjuster import android.content.Context import android.net.ConnectivityManager import android.net.ConnectivityManager.NetworkCallback import android.net.Network import android.net.NetworkRequest import android.os.Build import android.telephony.TelephonyManager import android.util.Log...
2
Java
1
1
88c2cc76d2a76aa667e27b84e755cb8c03eee1ee
2,364
rtmp-rtsp-stream-client-java
Apache License 2.0
app/src/main/java/org/stepic/droid/storage/dao/CourseDaoImpl.kt
Ahmad-Saleem
109,315,434
false
null
package org.stepic.droid.storage.dao import android.content.ContentValues import android.database.Cursor import android.database.sqlite.SQLiteDatabase import org.stepic.droid.mappers.toDbUrl import org.stepic.droid.mappers.toVideoUrls import org.stepic.droid.model.* import org.stepic.droid.storage.structure.DbStructur...
1
null
1
1
899e5a2eab833bfaf2e9da232f7174691eb6d134
11,238
stepik-android
Apache License 2.0
plugin/src/main/kotlin/io/github/thomo/valuestable/printer/HtmlGenerator.kt
thomo
562,283,258
false
{"Kotlin": 16187}
package io.github.thomo.valuestable.printer import io.github.thomo.valuestable.model.ValueCollector import java.time.LocalDateTime import java.time.format.DateTimeFormatter class HtmlGenerator : Generator { override fun generate(collector: ValueCollector) = mutableListOf( """ <!DOCTYPE HTML PUBLIC "-//W3C//DTD ...
0
Kotlin
0
0
9c9fa8f57f7f8c80192ce0e52aa6ebf943d1f242
1,567
valuestable
MIT License
common/common-compose/src/commonMain/kotlin/ru/alexgladkov/common/compose/helpers/ModelsGenerator.kt
AlexGladkov
409,687,153
false
null
package ru.alexgladkov.common.compose.helpers fun generateProducts(count: Int): List<DataModel> = ArrayList<DataModel>().apply { for (i in 0..count) { add(DataModel(id = i.toString(), title = "Product #$i")) } } fun generateCities(count: Int): List<DataModel> = ArrayList<DataModel>().apply { for (...
3
Kotlin
2
58
be24a83ed944510078417936f9846f2e521a896f
473
Odyssey
MIT License
app/src/main/java/org/simple/clinic/sync/SyncSetup.kt
simpledotorg
132,515,649
false
null
package org.simple.clinic.sync import io.reactivex.disposables.CompositeDisposable import io.reactivex.disposables.Disposable import org.simple.clinic.sync.indicator.SyncIndicatorStatusCalculator import javax.annotation.CheckReturnValue import javax.inject.Inject class SyncSetup @Inject constructor( private val s...
4
null
73
236
ff699800fbe1bea2ed0492df484777e583c53714
754
simple-android
MIT License
app/src/main/java/com/hot/pocketdoctor/presentation/medication/MedicineRequestDTO.kt
DSCHUFS
449,558,792
false
{"Kotlin": 138363}
package com.hot.pocketdoctor.presentation.medication import com.google.gson.annotations.SerializedName data class MedicineRequestDTO ( @SerializedName("medicine_name") val medicineName : String, )
1
Kotlin
1
2
f1939b678d0758bab9477a24f4b5b6ebfafacd4b
202
Solution-Challenge-2022-Pocket-Doctor-App
MIT License
channels/jaicp/src/test/kotlin/com/justai/jaicf/channel/jaicp/channels/JaicpNativeChannelTests.kt
just-ai
246,869,336
false
null
package com.justai.jaicf.channel.jaicp.channels import com.justai.jaicf.BotEngine import com.justai.jaicf.channel.jaicp.JaicpBaseTest import com.justai.jaicf.channel.jaicp.JaicpTestChannel import com.justai.jaicf.channel.jaicp.ScenarioFactory import com.justai.jaicf.channel.jaicp.ScenarioFactory.echoWithAction import ...
21
null
39
241
cc076db73e03bf89db2ab94e7f48c8736735706b
5,035
jaicf-kotlin
Apache License 2.0
app/src/main/java/com/costular/marvelheroes/data/repository/datasource/MarvelHeroesDataSource.kt
jventor
138,651,450
true
{"Kotlin": 42550}
package com.costular.marvelheroes.data.repository.datasource import com.costular.marvelheroes.domain.model.MarvelHeroEntity import io.reactivex.Single interface MarvelHeroesDataSource { fun getMarvelHeroesList(): Single<List<MarvelHeroEntity>> }
0
Kotlin
0
0
ca9409ca793cbf10fa3bb4c32789057b042ca1b6
255
marvel-super-heroes
MIT License
src/test/kotlin/sprint/EndpointTest.kt
chaseberry
39,609,649
false
null
package sprint import edu.csh.chase.sprint.buildEndpoint import org.junit.Test import org.junit.Assert.* class EndpointTest { @Test fun testBuildEndpoint() { val base = "https://google.com/" val endpoint = "test" assertEquals("https://google.com/test", buildEndpoint(base, endpoint)) ...
1
Kotlin
0
6
e5afddd198da894afb455a25793e4d47dcf7c041
405
sprint
Apache License 2.0
src/main/java/com/ecwid/maleorang/method/v3_0/eCommerceStores/carts/cartLines/GetCartLinesMethod.kt
nikolai-tenev
70,156,034
true
{"Kotlin": 101475, "Java": 18725}
package com.ecwid.maleorang.method.v3_0.eCommerceStores.carts.cartLines import com.ecwid.maleorang.MailchimpMethod import com.ecwid.maleorang.MailchimpObject import com.ecwid.maleorang.annotation.* import com.ecwid.maleorang.method.v3_0.eCommerceStores.carts.LineInfo /** * [Get information about a cart’s line items....
0
Kotlin
0
0
ce61feb7567d4364e9daa7156b3553ef4e07b54d
1,424
maleorang
Apache License 2.0
src/main/java/io/javalin/rendering/template/JavalinPebble.kt
javalin
504,307,498
false
null
/* * Javalin - https://javalin.io * Copyright 2017 <NAME> * Licensed under Apache 2.0: https://github.com/tipsy/javalin/blob/master/LICENSE */ package io.javalin.rendering.template import com.mitchellbosecke.pebble.PebbleEngine import com.mitchellbosecke.pebble.loader.ClasspathLoader import io.javalin.http.Contex...
4
null
7
8
041f533903041f4d9e5f6e402ec1f3418c160993
1,183
javalin-rendering
Apache License 2.0
src/kotlin-intellij/main/uk/co/reecedunn/intellij/plugin/core/event/Stopwatch.kt
rhdunn
62,201,764
false
{"Kotlin": 8262637, "XQuery": 996770, "HTML": 39377, "XSLT": 6853}
/* * Copyright (C) 2019 Reece H. Dunn * * 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 t...
49
Kotlin
9
25
d8d460d31334e8b2376a22f3832a20b2845bacab
1,410
xquery-intellij-plugin
Apache License 2.0
shared/src/wasmJsMain/kotlin/util/ImageLoader.kt
mbakgun
629,040,507
false
{"Kotlin": 63999, "Ruby": 2296, "Swift": 771, "HTML": 453, "Shell": 228}
package util import com.seiko.imageloader.ImageLoader import com.seiko.imageloader.component.setupDefaultComponents import com.seiko.imageloader.intercept.bitmapMemoryCacheConfig import com.seiko.imageloader.intercept.imageMemoryCacheConfig import com.seiko.imageloader.intercept.painterMemoryCacheConfig actual fun ge...
2
Kotlin
19
220
d953d6d5478229c3548742f1ad3e441425b8a12b
742
midjourney-images-compose-multiplatform
MIT License