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
feature/home/src/main/java/com/hankki/feature/home/component/HankkiStateChip.kt
Team-Hankki
816,081,730
false
{"Kotlin": 587452}
package com.hankki.feature.home.component import androidx.compose.foundation.background import androidx.compose.foundation.border import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layou...
3
Kotlin
0
43
e83ea4cf5cfd0b23d71da164090c29ba0e253b18
3,389
hankki-android
Apache License 2.0
components/analytics/shake2report/noop/src/main/java/com/flipperdevices/shake2report/noop/Shake2ReportStub.kt
flipperdevices
288,258,832
false
null
package com.flipperdevices.shake2report.noop import android.app.Application import com.flipperdevices.core.di.AppGraph import com.flipperdevices.shake2report.api.Shake2ReportApi import com.squareup.anvil.annotations.ContributesBinding import javax.inject.Inject @ContributesBinding(AppGraph::class) class Shake2ReportS...
1
Kotlin
27
250
fec10d206899db6d27b3addf5a7ceaa5d0990ff6
446
Flipper-Android-App
MIT License
app/src/main/java/com/example/sunnyweather/logic/network/PlaceService.kt
woshiliwai
403,922,933
false
{"Kotlin": 25204}
package com.example.sunnyweather.logic.network import com.example.sunnyweather.SunnyWeatherApplication import com.example.sunnyweather.logic.model.PlaceResponse import retrofit2.Call import retrofit2.http.GET import retrofit2.http.Query /** * Created by lw on 2021/9/7 20:16. */ interface PlaceService { @GET("v2...
0
Kotlin
0
1
e084a2af55140af687dcf3a6b7c5f270fd9db103
453
SunnyWeather
Apache License 2.0
core/src/commonMain/kotlin/com/dragselectcompose/core/DragSelectState.kt
jordond
654,306,203
false
null
package com.dragselectcompose.core import androidx.compose.foundation.lazy.grid.LazyGridState import androidx.compose.foundation.lazy.grid.rememberLazyGridState import androidx.compose.runtime.Composable import androidx.compose.runtime.getValue import androidx.compose.runtime.mutableStateOf import androidx.compose.run...
2
Kotlin
0
4
c2db8bd2474c5c71c5891646724101c4bb54200b
3,879
drag-select-compose
MIT License
androidApp/src/main/java/com/jittyandiyan/androidApp/demo/features/tvshows/shows/TVShowsSearchActivity.kt
jittya
361,707,096
false
null
package com.jittyandiyan.androidApp.demo.features.tvshows.shows import android.os.Bundle import android.text.Editable import android.text.TextWatcher import androidx.recyclerview.widget.LinearLayoutManager import com.jittyandiyan.androidApp.databinding.ActivityTvshowsBinding import com.jittyandiyan.androidApp.demo.fea...
0
Kotlin
10
221
2faa5eb1fdd785cc1b07f03b9c186af1a3acfc40
2,062
KMMT
MIT License
app/src/main/java/com/example/posetrackervrc/ui/camera/PoseDrawer.kt
t-34400
743,037,050
false
{"Kotlin": 69476}
package com.example.posetrackervrc.ui.camera import android.graphics.PointF import androidx.compose.ui.geometry.Offset import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.StrokeCap import androidx.compose.ui.graphics.drawscope.DrawScope import androidx.compose.ui.graphics.drawscope.Stroke imp...
0
Kotlin
0
0
89daad8d0c9065e1954f38faf823a72b05a2fd99
4,710
PoseTrackerVRC
MIT License
Source/packages/apps/ThemePicker/src/com/android/customization/picker/quickaffordance/shared/model/KeyguardQuickAffordancePickerSlotModel.kt
stayboogy
784,959,483
false
{"XML": 12479, "Ignore List": 14, "Markdown": 7, "Text": 104, "Shell": 20, "Makefile": 32, "INI": 11, "Soong": 58, "Java": 9482, "Gradle": 8, "Java Properties": 5, "Batchfile": 3, "Proguard": 2, "Protocol Buffer": 33, "JSON": 83, "Python": 6, "Kotlin": 469, "C++": 24, "XSLT": 1, "HTML": 5, "C": 23, "AIDL": 5, "Git Attr...
/* * Copyright (C) 2022 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
0
Java
0
0
e6132560c5e2416db150b856bd3f331d80795c4c
983
stayboogy_AOSimPle_Pixel-5_Redfin
Apache License 2.0
04-2-One2NineAppWithRoom_kt2/app/src/main/java/com/example/one2nineappwithroom_kt2/repository/GameDatabase.kt
andreendo
30,557,910
false
{"Text": 3, "Ignore List": 134, "Markdown": 13, "Gradle": 90, "Java Properties": 77, "Shell": 38, "Batchfile": 38, "Proguard": 38, "Java": 181, "XML": 767, "Gradle Kotlin DSL": 42, "TOML": 14, "Kotlin": 179, "YAML": 14, "Dart": 42, "INI": 13, "HTML": 6, "JSON": 22, "OpenStep Property List": 24, "Objective-C": 6, "Swift...
package com.example.one2nineappwithroom_kt2.repository import android.content.Context import androidx.room.Database import androidx.room.Room import androidx.room.RoomDatabase @Database( entities = [Score::class], version = 1, exportSchema = false ) abstract class GameDatabase : RoomDatabase() { abst...
0
Java
0
2
7cd32456a3a6416d9a359ca2434435b20bbfaf1a
844
mobapps-course
MIT License
Project/Splash/app/src/main/java/com/med/splash/SplashActivity.kt
MuhammedErenDURSUN
155,055,527
false
null
package com.med.splash import android.annotation.SuppressLint import android.content.Intent import android.graphics.PorterDuff import android.os.* import android.support.v4.view.ViewPager import android.support.v7.app.AppCompatActivity import android.view.MotionEvent import android.view.View import android.view.animat...
3
Kotlin
0
0
6ff762112e023021f38c00feab47ba97703c9c54
4,775
Android_Splash
MIT License
src/main/kotlin/io/NumericTypeExtensions.kt
Vraiment
163,572,982
false
null
package vraiment.sage.ssr.io import java.nio.ByteBuffer import java.nio.ByteOrder // ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- // // This file contains several extensions to make easier to work with numeric types // // ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -...
0
Kotlin
0
1
bc1b09e963b56ffbeb607a85a8175d7d205c7e0a
1,578
SSR
MIT License
ivy-design/src/main/java/com/ivy/design/l3_ivyComponents/Card.kt
ILIYANGERMANOV
442,188,120
false
null
package com.ivy.design.l3_ivyComponents //Transaction history card
0
Kotlin
1
1
eab596d90f3580dea527d404a0f453e5b9d2167e
67
ivy-design-android
MIT License
ktor-client-metrics-micrometer/src/main/kotlin/net/codinux/web/ktor/client/metrics/MicrometerMetricsPluginConfig.kt
codinux-gmbh
784,210,650
false
{"Kotlin": 32700, "Java": 20482}
package net.codinux.web.ktor.client.metrics import io.micrometer.core.instrument.MeterRegistry class MicrometerMetricsPluginConfig : MetricsPluginConfigBase() { lateinit var meterRegistry: MeterRegistry internal fun applyConfig(): AppliedConfig { if (this::meterRegistry.isInitialized == false) { ...
0
Kotlin
0
0
d4fb5dcf88e5e6c90d0c931794e94014a82ab02a
519
ktor-client-metrics-plugin
Apache License 2.0
notificare-push/src/main/java/re/notifica/push/NotificarePushIntentReceiver.kt
Notificare
279,260,636
false
null
package re.notifica.push import android.content.BroadcastReceiver import android.content.Context import android.content.Intent import re.notifica.Notificare import re.notifica.NotificareLogger import re.notifica.models.NotificareNotification import re.notifica.push.models.NotificareSystemNotification import re.notific...
0
Kotlin
0
0
9d89a98d10d74fb7c86674ccbf9d22550e2e98b3
3,527
notificare-sdk-android
MIT License
app/src/main/java/lab/maxb/dark/ui.theme/units/Scalable.kt
MaxBQb
408,174,279
false
null
package lab.maxb.dark.ui.theme.units import androidx.compose.runtime.Composable import androidx.compose.ui.platform.LocalContext import androidx.compose.ui.platform.LocalDensity import androidx.compose.ui.res.dimensionResource import androidx.compose.ui.unit.Dp import androidx.compose.ui.unit.TextUnit import androidx....
0
Kotlin
0
3
15885b8ec13bc58d78c14a69e1c2f06f84ca4380
867
TheDarkApp.Client
MIT License
clients/dos/src/main/kotlin/DosService.kt
oss-review-toolkit
107,540,288
false
{"Kotlin": 5110480, "JavaScript": 333852, "Shell": 127273, "HTML": 98970, "Python": 51191, "Haskell": 30438, "FreeMarker": 27693, "CSS": 27239, "Dockerfile": 19565, "Swift": 12129, "Ruby": 10007, "Roff": 7688, "Vim Snippet": 6802, "Scala": 6656, "Starlark": 3270, "Go": 1909, "C++": 882, "Java": 559, "Rust": 280, "Emacs...
/* * Copyright (C) 2024 The ORT Project Authors (see <https://github.com/oss-review-toolkit/ort/blob/main/NOTICE>) * * 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.a...
304
Kotlin
309
1,590
ed4bccf37bab0620cc47dbfb6bfea8542164725a
4,572
ort
Apache License 2.0
lint/Intent/src/main/java/com/wada811/adx/intent/lint/UseIntentGetCharSequenceArrayExtraDetector.kt
wada811
562,910,344
false
null
package com.wada811.adx.intent.lint import com.android.tools.lint.detector.api.* import com.wada811.adx.core.lint.MethodDetector @Suppress("UnstableApiUsage") class UseIntentGetCharSequenceArrayExtraDetector : MethodDetector( issue = ISSUE, className = "android.content.Intent", applicableMethodNames = lis...
0
Kotlin
0
2
5584c0ecbadbede23c519636c87ce6fa4b21faae
1,218
adx
Apache License 2.0
src/main/kotlin/no/nav/syfo/client/oppfolgingstilfelle/OppfolgingstilfelleClient.kt
navikt
602,146,320
false
{"Kotlin": 407372, "Dockerfile": 226}
package no.nav.syfo.client.oppfolgingstilfelle import io.ktor.client.* import io.ktor.client.call.* import io.ktor.client.plugins.* import io.ktor.client.request.* import io.ktor.client.statement.* import io.ktor.http.* import net.logstash.logback.argument.StructuredArguments import no.nav.syfo.client.ClientEnvironmen...
0
Kotlin
0
0
2fdd109aa5bcd8b9abf63d3ebb562a194f7970f7
2,481
isbehandlerdialog
MIT License
ExternalConnection/src/main/java/com/payz/externalconnection/data/model/Result.kt
burhanaras
327,103,273
false
null
package com.payz.externalconnection.data.model sealed class Result<out R> { data class Success<out T>(val data: T) : Result<T>() data class Error<out T>(val data: T?, val exception: Exception) : Result<T>() override fun toString(): String { return when (this) { is Success<*> -> "Succes...
0
Kotlin
3
6
bf9e00e5e4cab7d6b81ed4b805d9b7bcf67572aa
409
SoftPos
Apache License 2.0
src/designPatterns/behavioral/StrategyWithEnum.kt
leneumann
184,633,870
false
null
package designPatterns.behavioral import javax.management.OperationsException fun main() { println(calculator(3,CalculatorWithEnum.PLUS.instance(),4)) } fun calculator(valueA: Int, operator: Calculator, valueB: Int): Int = operator.apply(valueA, valueB) enum class CalculatorWithEnum { PLUS { override fu...
0
Kotlin
0
0
eea60353158a91abafb158ace325242adf03538b
1,168
HelloKotlin
MIT License
backend/src/main/java/com/paligot/confily/backend/third/parties/billetweb/BilletWebModule.kt
GerardPaligot
444,230,272
false
{"Kotlin": 897920, "Swift": 126158, "Shell": 1148, "Dockerfile": 576, "HTML": 338, "CSS": 102}
package com.paligot.confily.backend.third.parties.billetweb import com.paligot.confily.backend.events.EventModule.eventDao object BilletWebModule { val billetWebApi = lazy { BilletWebApi.Factory.create(enableNetworkLogs = true) } val billetWebRepository = lazy { BilletWebRepository(billetWebApi.value, eventDa...
9
Kotlin
6
143
8c0985b73422d6b388012d79c7ab33c054dc55c1
333
Confily
Apache License 2.0
app/src/main/java/com/kevalpatel2106/blockchain/info/dashboard/DashboardViewModel.kt
kevalpatel2106
162,750,849
false
null
package com.kevalpatel2106.blockchain.info.dashboard import androidx.annotation.VisibleForTesting import androidx.lifecycle.MutableLiveData import com.kevalpatel2106.blockchain.info.bin.Transaction import com.kevalpatel2106.blockchain.info.bin.Wallet import com.kevalpatel2106.blockchain.info.repository.BIRepository im...
0
Kotlin
0
3
af7ccaad439599af26cdff12b9ba8b252aab772f
2,677
crypto-wallet
Apache License 2.0
src/main/kotlin/uk/gov/justice/digital/hmpps/hmppssubjectaccessrequestworker/services/GetSubjectAccessRequestDataService.kt
ministryofjustice
748,250,175
false
{"Kotlin": 38943, "Dockerfile": 1161}
package uk.gov.justice.digital.hmpps.hmppssubjectaccessrequestworker.services import org.springframework.beans.factory.annotation.Autowired import org.springframework.stereotype.Service import uk.gov.justice.digital.hmpps.hmppssubjectaccessrequestworker.gateways.GenericHmppsApiGateway import java.time.LocalDate @Serv...
1
Kotlin
0
0
6cfa3e412afa473a1ac1838fa62d297c39d57782
1,362
hmpps-subject-access-request-worker
MIT License
app/src/main/java/com/sky/conversion/data/source/Filters.kt
dineshnukemars
465,553,041
false
null
package com.sky.conversion.data.source import com.sky.conversion.data.models.* import com.sky.conversion.usecase.CurrencyUseCase fun CurrencyUseCase.filterSymbols(keyword: String): SymbolsResponse { val response = symbolsResponse return if (response is SymbolsSuccess) { if (keyword.isBlank()) ...
0
Kotlin
0
0
305d1594a8e88cb41114186a75d52e0f2d8599dd
993
ConvertForeignCurrency
Apache License 2.0
app/src/main/java/com/example/weather/ui/place/PlaceFragment.kt
Eugene-Forest
266,524,835
false
null
package com.example.weather.ui.place import android.os.Bundle import android.util.Log import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.Toast import androidx.core.widget.addTextChangedListener import androidx.fragment.app.Fragment import androidx.lifecycle....
0
Kotlin
0
0
95cfc03c42ebb06db688fa15c23be57b76f9fff2
2,422
Weather
Apache License 2.0
src/main/kotlin/com/jetbrains/rider/aspire/sessionHost/wasmHost/WasmHostProjectSessionDebugProfile.kt
JetBrains
723,084,178
false
{"C#": 329427, "Kotlin": 327609}
package com.jetbrains.rider.aspire.sessionHost.wasmHost import com.intellij.execution.Executor import com.intellij.execution.process.ProcessListener import com.intellij.execution.runners.ExecutionEnvironment import com.intellij.ide.browsers.StartBrowserSettings import com.jetbrains.rd.util.lifetime.Lifetime import com...
9
C#
0
58
d543cfa9456897e3e65b21edc33cf9dfa2d25136
1,513
aspire-plugin
MIT License
core/src/io/github/advancerman/todd/thinker/jump/JumpToTargetThinker.kt
AdvancerMan
278,029,588
false
null
package io.github.advancerman.todd.thinker.jump import io.github.advancerman.todd.json.SerializationType import io.github.advancerman.todd.objects.creature.Creature import io.github.advancerman.todd.objects.creature.behaviour.JumpAction import io.github.advancerman.todd.screen.game.GameScreen import io.github.advancer...
1
Kotlin
0
2
176d3618f18326b21df68b44da7438d8e9fb7410
1,472
todd-kt
MIT License
core/src/io/github/advancerman/todd/thinker/jump/JumpToTargetThinker.kt
AdvancerMan
278,029,588
false
null
package io.github.advancerman.todd.thinker.jump import io.github.advancerman.todd.json.SerializationType import io.github.advancerman.todd.objects.creature.Creature import io.github.advancerman.todd.objects.creature.behaviour.JumpAction import io.github.advancerman.todd.screen.game.GameScreen import io.github.advancer...
1
Kotlin
0
2
176d3618f18326b21df68b44da7438d8e9fb7410
1,472
todd-kt
MIT License
src/main/java/com/sayzen/campfiresdk/screens/chat/SChats.kt
Daboo011
217,832,397
false
{"Kotlin": 1107825}
package com.sayzen.campfiresdk.screens.chat import com.dzen.campfire.api.models.notifications.NotificationChatMessage import com.dzen.campfire.api.models.units.chat.UnitChat import com.dzen.campfire.api.requests.chat.RChatsGetAll import com.sayzen.campfiresdk.R import com.sayzen.campfiresdk.controllers.ControllerApi i...
0
null
1
0
33c46da49d3758a1a006ac660dc823d35c66baea
3,555
CampfireSDK
Apache License 2.0
library-no-op/src/main/java/com/appspiriment/kashproxy/api/KashProxy.kt
appspirimentlabs
560,182,195
false
{"Kotlin": 358563}
package com.appspiriment.kashproxy.api import android.content.Context import android.content.Intent import com.chuckerteam.chucker.api.RetentionManager import com.chuckerteam.chucker.api.RetentionManager.* import com.chuckerteam.chucker.api.ChuckerInterceptor import okhttp3.Interceptor object KashProxy { /** ...
0
Kotlin
0
12
0fef243f81a9b629d8aab589a0e29085f0c1c907
3,926
KashProxy
Apache License 2.0
src/test/kotlin/no/skatteetaten/aurora/boober/service/AuroraConfigHelper.kt
audunstrand
93,065,518
true
{"Kotlin": 97185, "Groovy": 45659, "Shell": 1985}
package no.skatteetaten.aurora.boober.service import com.fasterxml.jackson.databind.JsonNode import no.skatteetaten.aurora.boober.Configuration import no.skatteetaten.aurora.boober.model.ApplicationId import no.skatteetaten.aurora.boober.model.AuroraConfig import no.skatteetaten.aurora.boober.model.AuroraConfigFile im...
0
Kotlin
0
0
ec3649918ba28753bd6a207ef81b9ffe8603904a
2,229
boober
Apache License 2.0
src/main/java/io/github/redstoneparadox/paradoxconfig/config/ConfigOption.kt
RedstoneParadox
218,375,444
false
{"Kotlin": 35254}
package io.github.redstoneparadox.paradoxconfig.config import kotlin.reflect.KClass import kotlin.reflect.KProperty import kotlin.reflect.full.cast open class ConfigOption<T: Any>(protected val type: KClass<T>, protected var value: T, internal val key: String, val comment: String) { open operator fun getValue(thi...
2
Kotlin
2
9
d1560efa232d700a232e605377294131df449e36
739
ParadoxConfig
MIT License
src/main/kotlin/me/melijn/melijnbot/commands/image/GreyScaleCommand.kt
ToxicMushroom
107,187,088
false
null
package me.melijn.melijnbot.commands.image import com.sksamuel.scrimage.ImmutableImage import com.sksamuel.scrimage.filter.GrayscaleFilter import me.melijn.melijnbot.commandutil.image.ImageCommandUtil import me.melijn.melijnbot.enums.DiscordSize import me.melijn.melijnbot.internals.command.AbstractCommand import me.me...
5
Kotlin
22
80
01107bbaad0e343d770b1e4124a5a9873b1bb5bd
1,834
Melijn
MIT License
app/src/main/java/com/photorithm/mediaplayerexample/MainActivity.kt
SebastianHelzer
162,193,677
false
null
package com.photorithm.mediaplayerexample import android.content.ComponentName import android.content.Context import android.content.Intent import android.content.ServiceConnection import android.os.Bundle import android.os.IBinder import android.support.v7.app.AppCompatActivity import android.widget.Toast import kotl...
0
Kotlin
0
0
1bf152e8608b7c70f643eaa641a0fc04caee277e
2,772
IP-Camera-Stream
Artistic License 2.0
tabler/src/commonMain/kotlin/com/woowla/compose/icon/collections/tabler/tabler/outline/CapRounded.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
2,413
compose-icon-collections
MIT License
app/src/main/java/name/lmj0011/jetpackreleasetracker/helpers/AndroidXReleasePuller.kt
lmj0011
269,086,550
false
null
package name.lmj0011.jetpackreleasetracker.helpers import android.util.Xml import com.vdurmont.semver4j.Semver import com.vdurmont.semver4j.Semver.SemverType import org.xmlpull.v1.XmlPullParser import org.xmlpull.v1.XmlPullParserException import java.io.IOException import java.io.InputStream import java.net.HttpURLCon...
0
Kotlin
16
85
3324eee360a3bf98f3988df31f353595e2d83e0d
4,750
jetpack-release-tracker
Apache License 2.0
composeApp/src/desktopMain/kotlin/com/atech/dict/ui/theme/theme.desktop.kt
aiyu-ayaan
853,731,717
false
{"Kotlin": 24633}
package com.atech.dict.ui.theme import com.jthemedetecor.OsThemeDetector private fun systemInDarkTheme(): Boolean { val osThemeDetector = OsThemeDetector.getDetector() return osThemeDetector.isDark } actual class isSystemInDarkTheme { actual fun isSystemInDarkTheme(): Boolean { return systemInDar...
0
Kotlin
0
1
09accef85a20c98e5eee3d4b128acfef08a28895
336
Dictionary-KMP
MIT License
example/src/main/java/com/spruceid/mobilesdkexample/wallet/AchievementCredentialItem.kt
spruceid
741,512,330
false
{"Kotlin": 5118229, "Makefile": 1753}
package com.spruceid.mobilesdkexample.wallet import androidx.compose.foundation.Image import androidx.compose.foundation.border import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.Colu...
6
Kotlin
0
1
6b039d43609885792d36a10dbdbd163c982b8c9b
12,779
mobile-sdk-kt
Apache License 2.0
app/shared/bugsnag/impl/src/commonMain/kotlin/build/wallet/bugsnag/BugsnagKotlin.kt
proto-at-block
761,306,853
false
{"C": 10424094, "Kotlin": 7156393, "Rust": 2046237, "Swift": 700307, "Python": 331492, "HCL": 271992, "Shell": 111209, "TypeScript": 102700, "C++": 64770, "Meson": 64234, "JavaScript": 36227, "Just": 28071, "Ruby": 9428, "Dockerfile": 5731, "Makefile": 3839, "Open Policy Agent": 1552, "Procfile": 80}
package build.wallet.bugsnag expect fun bugsnagSetCustomValue( section: String, key: String, value: String, )
0
C
10
98
1f9f2298919dac77e6791aa3f1dbfd67efe7f83c
117
bitkey
MIT License
apps/mobile/src/main/kotlin/dev/marlonlom/cappajv/features/welcome/onboarding/OnboardingFinishedButton.kt
marlonlom
766,685,767
false
{"Kotlin": 354987}
/* * Copyright 2024 Marlonlom * SPDX-License-Identifier: Apache-2.0 */ package dev.marlonlom.cappajv.features.welcome.onboarding import androidx.compose.material3.Button import androidx.compose.material3.ButtonDefaults import androidx.compose.material3.MaterialTheme import androidx.compose.material3.Text import an...
0
Kotlin
0
0
8f86b3156427753b1925d2de0f1d93933e033103
1,275
cappajv
Apache License 2.0
app/src/main/java/pl/skipcode/basekotlinapp/utils/tools/parcel/ParcelableProvider.kt
Michax94
152,717,481
false
null
package pl.skipcode.basekotlinapp.utils.tools.parcel import android.os.Parcelable import org.parceler.Parcels class ParcelableProvider : ParcelableProviderInterface { override fun from(from: Any): Parcelable = Parcels.wrap(from) }
1
Kotlin
0
0
ca757e617063825e3ce3939d0cb96c3c854458a1
249
BaseKotlinApp
Apache License 2.0
OneSignalSDK/onesignal/in-app-messages/src/main/java/com/onesignal/inAppMessages/internal/triggers/TriggerModel.kt
OneSignal
33,515,679
false
{"Kotlin": 1777584, "Java": 49349, "Shell": 748}
package com.onesignal.inAppMessages.internal.triggers import com.onesignal.common.modeling.Model class TriggerModel : Model() { /** * The key of this trigger */ var key: String get() = getStringProperty(::key.name) { "" } set(value) { setStringProperty(::key.name, value) ...
65
Kotlin
367
604
b03d5f5395f141ef3fed817d5d4d118b768e7294
552
OneSignal-Android-SDK
Apache License 2.0
src/main/kotlin/com/adverity/etl/controller/IndexController.kt
liodegar
415,680,713
false
null
package com.adverity.etl.controller import org.springframework.stereotype.Controller import org.springframework.web.bind.annotation.RequestMapping import springfox.documentation.annotations.ApiIgnore @Controller @ApiIgnore class IndexController { @RequestMapping("/") fun index(): String? { return "re...
0
Kotlin
0
0
ddc4925236e71b2923125851056af10f3fd7f86b
351
etl-rest-api
Apache License 1.1
DSLs/kubernetes/dsl/src/main/kotlin-gen/com/fkorotkov/kubernetes/batch/v1/status.kt
fkorotkov
84,911,320
false
null
// GENERATED package com.fkorotkov.kubernetes.batch.v1 import io.fabric8.kubernetes.api.model.batch.v1.CronJob as v1_CronJob import io.fabric8.kubernetes.api.model.batch.v1.CronJobStatus as v1_CronJobStatus import io.fabric8.kubernetes.api.model.batch.v1.Job as v1_Job import io.fabric8.kubernetes.api.model.batch.v1.Jo...
6
Kotlin
19
317
ef8297132e6134b6f65ace3e50869dbb2b686b21
673
k8s-kotlin-dsl
MIT License
src/main/kotlin/polyglotter/MassTranslator.kt
slu-it
869,170,828
false
{"Kotlin": 5959}
package polyglotter import org.springframework.stereotype.Component import java.util.Locale import java.util.concurrent.CompletableFuture.supplyAsync import java.util.concurrent.Executors.newVirtualThreadPerTaskExecutor @Component class MassTranslator( private val translator: Translator ) { private val execu...
0
Kotlin
0
0
e4f215436660af56708d43e26eee545aeb256f33
988
polyglotter
Apache License 2.0
app/src/main/java/com/zenika/story/tutorial/presentation/inventory/TutorialInventoryViewModel.kt
Zenika
628,692,757
false
{"Kotlin": 394194, "Shell": 305}
package com.zenika.story.tutorial.presentation.inventory import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.zenika.common.domain.Inventory import com.zenika.common.domain.ObserveInventoryUseCase import dagger.hilt.android.lifecycle.HiltViewModel import kotlinx.coroutines.flow.Shari...
1
Kotlin
0
2
3e81f9e98c283fb243bb5c06e620c637ac61a6ef
824
ZEscape-Android
Apache License 2.0
androidApp/src/main/java/ap/panini/procrastaint/ui/MainActivityScreenModel.kt
Pahina0
808,750,600
false
{"Kotlin": 61443, "Swift": 31023}
package ap.panini.procrastaint.ui import androidx.compose.runtime.Immutable import ap.panini.procrastaint.data.model.Time import ap.panini.procrastaint.util.Parsed import ap.panini.procrastaint.util.Parser import cafe.adriel.voyager.core.model.StateScreenModel import kotlinx.coroutines.flow.update class MainActivityS...
0
Kotlin
0
3
6b6209ef09751e3abd6c1c0ad31199e0a3ead85f
2,438
Procrastaint
Apache License 2.0
mealkitary-infrastructure/adapter-persistence-spring-data-jpa/src/main/kotlin/com/mealkitary/demo/adapter/out/persistence/UserPersistenceAdapter.kt
le2sky
640,586,872
false
null
package com.mealkitary.demo.adapter.out.persistence import com.mealkitary.demo.application.port.out.LoadUserPort import com.mealkitary.demo.domain.User import org.springframework.stereotype.Repository @Repository internal class UserPersistenceAdapter( private val userRepository: UserRepository ) : LoadUserPort { ...
0
Kotlin
0
0
c1f440b2abba433d6949752d9c0552e78ae49c02
582
mealkitary-server
Apache License 2.0
features/src/main/kotlin/ru/mobileup/template/features/pokemons/presentation/PokemonsComponent.kt
MobileUpLLC
485,284,340
false
{"Kotlin": 148289, "FreeMarker": 3830, "Shell": 3159}
package ru.mobileup.template.features.pokemons.presentation import com.arkivanov.decompose.router.stack.ChildStack import kotlinx.coroutines.flow.StateFlow import ru.mobileup.template.features.pokemons.presentation.details.PokemonDetailsComponent import ru.mobileup.template.features.pokemons.presentation.list.PokemonL...
1
Kotlin
2
22
d9a350ac4b25496221d146fbb9a838afc07db422
589
MobileUp-Android-Template
MIT License
libraries/loader/src/LoaderListener.kt
featurea
407,517,337
false
null
package featurea.loader interface LoaderListener { fun start() {} fun update(progress: Float) {} fun complete() {} }
24
Kotlin
1
6
07074dc37a838f16ece90c19a4e8d45e743013d3
130
engine
MIT License
app/src/main/java/com/vadmax/timetosleep/utils/previewprovider/AppInfoListPreviewProvider.kt
VadimZhuk0v
403,318,456
false
{"Kotlin": 214064, "Ruby": 928}
package com.vadmax.timetosleep.utils.previewprovider import androidx.compose.ui.tooling.preview.PreviewParameterProvider import com.vadmax.core.data.AppInfo class AppInfoListPreviewProvider : PreviewParameterProvider<List<AppInfo>> { override val values: Sequence<List<AppInfo>> get() = sequenceOf( ...
0
Kotlin
1
1
927e28d6b0dc422cb0d4a70be067566be13f40bb
493
TimeToSleep
MIT License
src/main/kotlin/io/github/clivelewis/assistant/telegram/commands/GenerateImageCommand.kt
clivelewis
781,393,282
false
{"Kotlin": 49773}
package io.github.clivelewis.assistant.telegram.commands import eu.vendeli.tgbot.TelegramBot import eu.vendeli.tgbot.annotations.CommandHandler import eu.vendeli.tgbot.annotations.InputHandler import eu.vendeli.tgbot.api.media.sendPhoto import eu.vendeli.tgbot.api.message.deleteMessage import eu.vendeli.tgbot.api.mess...
0
Kotlin
0
0
01cceb6539b4e0ff55698f26f034f52c9fda61f0
2,348
sam
Apache License 2.0
src/main/kotlin/com/antwerkz/bottlerocket/configuration/blocks/Authz.kt
evanchooly
36,263,772
false
null
package com.antwerkz.bottlerocket.configuration.blocks import com.antwerkz.bottlerocket.configuration.ConfigBlock class Authz( var queryTemplate: String? = null ) : ConfigBlock
0
Kotlin
1
2
53771868a7ddd93619655562231782a11f0eb94a
183
bottlerocket
Apache License 2.0
data/database/src/main/java/io/filmtime/data/database/dao/BookmarksDao.kt
moallemi
633,160,161
false
{"Kotlin": 522936, "Shell": 3102}
package io.filmtime.data.database.dao import androidx.room.Dao import androidx.room.Delete import androidx.room.Insert import androidx.room.OnConflictStrategy import androidx.room.Query import io.filmtime.data.database.entity.BookmarkEntity import io.filmtime.data.model.VideoType import kotlinx.coroutines.flow.Flow @...
21
Kotlin
14
87
ad3eeed30bed20216a9fa12e34f06e43b70a74cc
920
Film-Time
MIT License
app/src/main/java/com/rektapps/assaulttimer/dagger/module/FactoryModule.kt
N3-M3-S1S
199,498,741
false
null
package com.rektapps.assaulttimer.dagger.module import com.rektapps.assaulttimer.model.enums.AssaultType import com.rektapps.assaulttimer.model.factory.AssaultIntervalsFactory import com.rektapps.assaulttimer.model.factory.AssaultsFactory import com.rektapps.assaulttimer.model.factory.impl.AssaultIntervalsFactoryImpl ...
0
Kotlin
0
0
0a01605890842182d00963cad4e3165e2da81b45
1,514
assault_timer
MIT License
src/test/kotlin/uk/gov/justice/digital/hmpps/prisonerfromnomismigration/contactperson/ContactPersonSynchronisationIntTest.kt
ministryofjustice
452,734,022
false
{"Kotlin": 2957292, "Shell": 2955, "Mustache": 1803, "Dockerfile": 1377}
package uk.gov.justice.digital.hmpps.prisonerfromnomismigration.contactperson import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.BeforeEach import org.junit.jupiter.api.DisplayName import org.junit.jupiter.api.Nested import org.junit.jupiter.api.Test import org.mockito.Mockito.eq import org...
1
Kotlin
1
2
706e653ba22b5275a821f57a2f3a5b11ae99ca08
35,952
hmpps-prisoner-from-nomis-migration
MIT License
src/main/kotlin/homework3/TestGenerator.kt
martilut
342,898,976
false
{"Kotlin": 107965}
package homework3 import com.squareup.kotlinpoet.ClassName import com.squareup.kotlinpoet.FunSpec import com.squareup.kotlinpoet.KModifier import com.squareup.kotlinpoet.TypeSpec import com.squareup.kotlinpoet.FileSpec class TestGenerator(private val testClass: TestClass) { private fun generateFunction(function:...
0
Kotlin
0
0
091a57cbca3fca8869ea5b61d2e0f2f77ccdb792
930
spbu_2021_kotlin_homeworks
Apache License 2.0
app/src/main/java/com/romandevyatov/bestfinance/db/entities/relations/IncomeHistoryWithIncomeSubGroupAndWallet.kt
RomanDevyatov
587,557,441
false
null
package com.romandevyatov.bestfinance.db.entities.relations import androidx.room.Embedded import androidx.room.Relation import com.romandevyatov.bestfinance.db.entities.IncomeHistory import com.romandevyatov.bestfinance.db.entities.IncomeSubGroup import com.romandevyatov.bestfinance.db.entities.Wallet data class Inco...
0
Kotlin
0
1
b810131126c84cd6daf6fcfb86b700ece556fd5b
722
BestFinance
Apache License 2.0
src/main/java/com/alcosi/lib/crypto/nodes/CryptoNodeHealthChecker.kt
alcosi
698,911,809
false
{"Kotlin": 412500, "Java": 97797, "HTML": 4094, "JavaScript": 1134, "CSS": 203}
/* * Copyright (c) 2023 Alcosi Group Ltd. and affiliates. * * 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 ap...
0
Kotlin
0
0
5a9837c15b97dd94f0215c7f1ce628750baa73a8
3,832
alcosi_commons_library
Apache License 2.0
src/integrationTest/kotlin/de/bund/digitalservice/useid/api/ApiDocsIntegrationTest.kt
digitalservicebund
475,364,510
false
null
package de.bund.digitalservice.useid.api import org.junit.jupiter.api.Test import org.springframework.beans.factory.annotation.Autowired import org.springframework.boot.test.context.SpringBootTest import org.springframework.http.MediaType import org.springframework.test.web.reactive.server.WebTestClient @SpringBootTe...
0
Kotlin
1
6
2524d1377e3be2953942f40b36ce231963ddbda2
1,343
useid-backend-service
MIT License
src/main/kotlin/br/com/zupacademy/witer/pix/carregachave/GrpcExtensions.kt
witermendonca
383,890,247
true
{"Kotlin": 99526, "Smarty": 2172, "Dockerfile": 158}
package br.com.zupacademy.witer.pix.carregachave import br.com.zupacademy.witer.CarregaChavePixRequest import br.com.zupacademy.witer.CarregaChavePixRequest.FiltroCase.* import javax.validation.ConstraintViolationException import javax.validation.Validator fun CarregaChavePixRequest.toModel(validator: Validator): Fil...
0
Kotlin
0
0
30a2c91aac64960d0f1cb798e103a2ad94364de8
751
orange-talents-05-template-pix-keymanager-grpc
Apache License 2.0
src/Day01.kt
rbraeunlich
573,282,138
false
{"Kotlin": 63724}
fun main() { fun part1(input: List<String>): Int { var maxCalories = 0 var currentCalories = 0 input.forEach { line -> if(line.isBlank()) { if(currentCalories > maxCalories) { println("$currentCalories is more than $maxCalories") ...
0
Kotlin
0
1
3c7e46ddfb933281be34e58933b84870c6607acd
1,222
advent-of-code-2022
Apache License 2.0
app/src/main/java/caios/android/pixivion/utils/LogUtils.kt
CAIOS0922
485,093,354
false
null
package caios.android.pixivion.utils import android.util.Log object LogUtils { const val TAG = "<LOG>" const val STARTUP_TAG = "<START-UP>" const val EXCEPTION_TAG = "<EXCEPTION>" fun tryCatch(isTakeLog: Boolean = true, f: () -> (Unit)) { try { f() } catch (e: Throwable) ...
0
Kotlin
0
0
311f2b627abaf64dd891c0447b8ff0e99c8efecd
406
Pixivion
Apache License 2.0
ui-components/src/main/kotlin/com/jcgseco/myarmory/uicomponents/lists/GalleryItem.kt
IkariMeister
455,540,709
false
null
package com.jcgseco.myarmory.uicomponents.lists import android.view.View import androidx.recyclerview.widget.RecyclerView import com.jcgseco.myarmory.uicomponents.R import com.jcgseco.myarmory.uicomponents.databinding.ItemGalleryBinding import com.xwray.groupie.viewbinding.BindableItem import com.xwray.groupie.viewbin...
1
Kotlin
0
0
c49f344aa268609280b75d3cc61224b5f24ef447
1,141
MyArmory
Apache License 2.0
utbot-instrumentation/src/test/kotlin/org/utbot/instrumentation/examples/mock/TestMock.kt
UnitTestBot
480,810,501
false
null
package org.utbot.instrumentation.examples.mock import org.utbot.instrumentation.samples.mock.ClassForMock import org.junit.jupiter.api.Assertions.assertEquals import org.junit.jupiter.api.Assertions.assertNotEquals import org.junit.jupiter.api.Test class TestMock { @Test fun testClassForMock_getX() { ...
398
Kotlin
32
91
abb62682c70d7d2ecc4ad610851d304f7ad716e4
5,470
UTBotJava
Apache License 2.0
app/src/main/java/com/alessandroborelli/floatapp/domain/DomainModule.kt
br00
455,222,224
false
null
package com.alessandroborelli.floatapp.domain import com.alessandroborelli.floatapp.domain.mapper.AddMooringRequestMapper import com.alessandroborelli.floatapp.domain.mapper.AddMooringRequestMapperImpl import com.alessandroborelli.floatapp.domain.mapper.GetMooringsResponseMapper import com.alessandroborelli.floatapp.d...
1
Kotlin
1
0
eb4a2eb19c46dcfad4564a5700fd3493748896eb
1,278
float
Apache License 2.0
src/commonMain/kotlin/baaahs/shaders/SolidShader.kt
r3dcrosse
176,017,465
true
{"JavaScript": 3675254, "Kotlin": 56536, "HTML": 2063, "CSS": 1970}
package baaahs.shaders import baaahs.* class SolidShader : Shader(ShaderType.SOLID) { override val buffer = SolidShaderBuffer() override fun createImpl(pixels: Pixels): ShaderImpl = SolidShaderImpl(buffer, pixels) companion object { fun parse(reader: ByteArrayReader) = SolidShader() } } cla...
0
JavaScript
0
0
5f4e831773ad268762431ee56d376dc8a9a46882
874
sparklemotion
MIT License
hazelnet-community/src/main/kotlin/io/hazelnet/community/data/discord/DiscordMemberActivity.kt
nilscodes
446,203,879
false
{"TypeScript": 1045486, "Kotlin": 810416, "Dockerfile": 4476, "Shell": 1830, "JavaScript": 1384}
package io.hazelnet.community.data.discord import com.fasterxml.jackson.databind.annotation.JsonSerialize import com.fasterxml.jackson.databind.ser.std.ToStringSerializer import java.util.* import javax.persistence.* @Entity @Table(name = "discord_activity") @IdClass(DiscordGuildMemberId::class) class DiscordMemberAc...
0
TypeScript
4
13
79f8b096f599255acb03cc809464d0570a51d82c
1,819
hazelnet
Apache License 2.0
app/src/main/java/com/ghoulmind/habitica/HabiticaClient.kt
greatghoul
103,035,894
false
null
package com.ghoulmind.habitica import android.content.Context import com.ghoulmind.habitdrod.R import khttp.get import khttp.post import org.json.JSONArray import org.json.JSONObject class HabiticaClient { var api_base: String = "https://habitica.com/api/v3" constructor(api_base: String? = null) { if...
0
Kotlin
1
1
d9c11b8cb18f2202de0ecc1766e424da78ad9dfe
1,468
HabitDrod
MIT License
falkon-dao-extn/src/test/kotlin/com/jayrave/falkon/dao/testLib/EngineForTestingDaoExtn.kt
jayrave
65,279,209
false
null
package com.jayrave.falkon.dao.testLib import com.jayrave.falkon.engine.* import com.nhaarman.mockito_kotlin.mock import java.util.* /** * All build* methods return a constant dummy string as SQL. All compile* methods return * mock statements (they are stored before returned so as to help verify interactions with i...
6
Kotlin
2
12
ce42d553c578cd8e509bbfd7effc5d56bf3cdedd
3,747
falkon
Apache License 2.0
tracker/buildings/src/main/kotlin/com/iliasg/startrekfleetcommand/buildings/presentation/overview/adapter/OverviewListViewHolder.kt
Iliasgx
455,331,101
false
{"Kotlin": 145697}
package com.iliasg.startrekfleetcommand.buildings.presentation.overview.adapter import androidx.databinding.ViewDataBinding import androidx.recyclerview.widget.RecyclerView import com.iliasg.startrekfleetcommand.buildings.databinding.ItemBuildingGroupBinding import com.iliasg.startrekfleetcommand.buildings.databinding...
0
Kotlin
0
1
277c4936facbddcffb354f2af6e273b44bb37dea
1,866
STFC-Padd-template
Apache License 2.0
app/src/main/java/com/experiments/jagsaund/asyncdiffutil/Repository.kt
jsaund
156,515,709
false
null
package com.experiments.jagsaund.asyncdiffutil import kotlinx.coroutines.experimental.CommonPool import kotlinx.coroutines.experimental.channels.ReceiveChannel import kotlinx.coroutines.experimental.channels.produce import kotlinx.coroutines.experimental.delay import java.util.* import java.util.concurrent.TimeUnit c...
1
Kotlin
3
30
22a8e50021101f667e15e8ca49402d86c905dea8
1,077
AsyncDiffUtil
Apache License 2.0
EcosystemSimulation/src/shmp/simulation/space/resource/action/ActionTag.kt
ShMPMat
212,499,539
false
null
package shmp.simulation.space.resource.action data class ActionTag(val name: String)
0
Kotlin
0
0
8c04ea13e1ee4381e61e0b52c0d26ff44f71092d
87
CulturesSim
MIT License
EcosystemSimulation/src/shmp/simulation/space/resource/action/ActionTag.kt
ShMPMat
212,499,539
false
null
package shmp.simulation.space.resource.action data class ActionTag(val name: String)
0
Kotlin
0
0
8c04ea13e1ee4381e61e0b52c0d26ff44f71092d
87
CulturesSim
MIT License
slack_data_layer/src/commonMain/kotlin/dev/baseio/slackdata/security/QRCodeDataService.kt
oianmol
528,898,439
false
null
package dev.baseio.slackdata.security import dev.baseio.slackdomain.qrcode.QrCodeGenerator import dev.baseio.slackdomain.security.IByteArraySplitter import dev.baseio.slackdomain.security.SecurityKeyDataPart class ByteArraySplitterImpl(private val qrCodeGenerator: QrCodeGenerator) : IByteArraySplitter { override ...
3
Kotlin
20
219
c519046fb07fd863c0118e6057b02895ae32e65e
431
SlackComposeMultiplatform
Apache License 2.0
j2k/tests/testData/ast/arrayType/arrayInitializationStatementWithDimensionExplicit.kt
craastad
18,462,025
false
{"Markdown": 18, "XML": 405, "Ant Build System": 23, "Ignore List": 7, "Maven POM": 34, "Kotlin": 10194, "Java": 3675, "CSS": 10, "Shell": 6, "Batchfile": 6, "Java Properties": 9, "Gradle": 61, "INI": 6, "JavaScript": 42, "HTML": 77, "Text": 875, "Roff": 53, "Roff Manpage": 8, "JFlex": 3, "JAR Manifest": 1, "Protocol B...
var d2: Array<IntArray?>? = Array<IntArray?>(5, { IntArray(5) })
1
null
1
1
f41f48b1124e2f162295718850426193ab55f43f
64
kotlin
Apache License 2.0
android/app/src/main/java/dev/imam/rnwidget/SharedStorage.kt
ahmetcangurel
737,801,136
true
{"JavaScript": 3, "TSX": 1, "JSON": 14, "Markdown": 1, "Text": 1, "JSON with Comments": 1, "Ignore List": 3, "Java Properties": 1, "Gradle": 3, "Shell": 1, "Batchfile": 1, "INI": 1, "Proguard": 1, "XML": 27, "Java": 4, "Kotlin": 3, "Ruby": 1, "Dotenv": 1, "Swift": 5, "OpenStep Property List": 4, "Objective-C": 2, "Obje...
package dev.imam.rnwidget import android.appwidget.AppWidgetManager import android.content.ComponentName import android.content.Context import android.content.Intent import com.facebook.react.bridge.ReactApplicationContext import com.facebook.react.bridge.ReactContextBaseJavaModule import com.facebook.react.bridge.Rea...
0
Java
0
0
f455940323392456c2f48622e597e6521b977bc2
1,321
RNWidgetExpo
MIT License
app/src/main/java/com/lifesolutions/bd/kotlinCode/ui/adapter/ChatMessageAdapter.kt
alamin1x0
601,487,426
false
{"Java": 2650731, "Kotlin": 822798, "Assembly": 59}
package com.lifesolutions.bd.kotlinCode.ui.adapter import android.Manifest import android.annotation.SuppressLint import android.app.Activity import android.app.Dialog import android.app.DownloadManager import android.content.Context import android.content.Intent import android.content.SharedPreferences import android...
1
null
1
1
87b3217cedb0340417a8a0fae3b0ef2741ad9012
16,330
Lifesolutions
BSD Source Code Attribution
TeamCode/src/main/java/org/firstinspires/ftc/teamcode/opmodes/test/ExtensionTest.kt
ftc8569
651,162,740
false
{"Java Properties": 2, "Gradle": 6, "Shell": 1, "HTML": 2, "Markdown": 6, "Batchfile": 1, "Text": 4, "Ignore List": 1, "XML": 16, "Java": 96, "Kotlin": 100}
import com.arcrobotics.ftclib.command.CommandOpMode import com.arcrobotics.ftclib.command.InstantCommand import com.arcrobotics.ftclib.gamepad.GamepadEx import com.arcrobotics.ftclib.gamepad.GamepadKeys import com.qualcomm.robotcore.eventloop.opmode.TeleOp import org.firstinspires.ftc.teamcode.subsystems.ExtensionLinka...
1
null
1
1
a696b287ee27a77a02288b105f2148c123a6e612
1,457
2023offseason
BSD 3-Clause Clear License
dkplayer-ui/src/main/java/xyz/doikki/videocontroller/scene/JustFullscreenPlayScene.kt
Jisucloud
563,157,256
true
{"Batchfile": 1, "Shell": 2, "Markdown": 3, "Java Properties": 2, "Proguard": 5, "Kotlin": 50, "Java": 203}
package xyz.doikki.videocontroller.scene import android.app.Activity import android.content.pm.ActivityInfo import android.view.View import android.view.ViewGroup import android.widget.LinearLayout import xyz.doikki.videocontroller.R import xyz.doikki.videocontroller.StandardVideoController import xyz.doikki.videocont...
0
Java
0
0
43d319d6000357610461848eccc9af40099655a5
2,803
DKVideoPlayer
Apache License 2.0
src/main/java/com/slowgenius/toolkit/utils/MyActionUtils.kt
slowgenius
553,696,590
false
{"Java": 110047, "FreeMarker": 33282, "Kotlin": 15016, "Fluent": 2200, "HTML": 86}
package com.slowgenius.toolkit.utils import com.intellij.database.psi.DbTable import com.intellij.openapi.actionSystem.AnActionEvent import com.intellij.openapi.actionSystem.LangDataKeys import com.intellij.openapi.project.Project import com.intellij.openapi.project.ProjectManager import com.intellij.psi.PsiElement im...
1
null
1
1
feea07877b3280041fbe4b9148250acae619d132
1,146
SlowToolKit
Apache License 2.0
src/main/kotlin/io/github/chizganov/puzzlers/adventofcode/twentytwo/MonkeyInTheMiddle.kt
chizganov
260,441,259
false
{"Java": 243103, "Kotlin": 95445}
package io.github.chizganov.puzzlers.adventofcode.twentytwo /** * Advent of Code 2022 Day 10: Cathode-Ray Tube * https://adventofcode.com/2022/day/10 * */ class MonkeyInTheMiddle { fun countMonkeyBusinessLevel(notes: List<String>): Long { val monkeys = notes.filterNot(String::isEmpty) .map(S...
1
null
1
1
be7f818e74ee9a75f0320ebdea9a56607bd74942
3,789
puzzlers
Apache License 2.0
src/main/kotlin/ru/andreyTw/designPatternsTestGround/singleton/SingletonKotlinTestGround.kt
AndreyTW
650,614,946
false
{"Java": 18408, "Kotlin": 5267}
package ru.andreyTw.designPatternsTestGround.singleton import ru.andreyTw.designPatternsTestGround.singleton.MySingletonKotlin.Companion.getMySingletonKotlinInstance fun main() { // val mySingletonOne = MySingleton() // val mySingletonTwo = MySingleton() // val mySingletonThree = MySingleton() val mySing...
1
null
1
1
08454cb9abce85bbc9f2e26fa2a7d3357c9ead8a
711
design-patterns-test-ground
MIT License
PhoenixLib/src/main/java/com/faddy/phoenixlib/utils/Utils.kt
Fa-d
765,522,603
false
{"Gradle Kotlin DSL": 6, "INI": 2, "Shell": 1, "Java Properties": 2, "Text": 2, "Ignore List": 9, "Batchfile": 1, "Markdown": 1, "TOML": 1, "Gradle": 2, "Proguard": 6, "XML": 54, "Java": 155, "Kotlin": 46, "Makefile": 3, "C": 30, "AIDL": 12, "CMake": 1, "C++": 1}
package com.faddy.phoenixlib.utils import android.text.TextUtils import androidx.lifecycle.LiveData import androidx.lifecycle.MediatorLiveData import androidx.lifecycle.MutableLiveData fun <T> LiveData<T>.toMutableLiveData(): MutableLiveData<T> { val mediatorLiveData = MediatorLiveData<T>() mediatorLiveData.a...
0
Java
0
0
f5c2cdba44a9dbe28450d28b041b408068e75d9a
1,110
VPNSDK
MIT License
sceneview/src/main/java/io/github/sceneview/texture/Texture.kt
ninjz
485,306,566
true
{"Java Properties": 4, "Markdown": 3, "Shell": 2, "Batchfile": 3, "Kotlin": 81, "Proguard": 4, "Java": 148}
package io.github.sceneview.texture import androidx.lifecycle.Lifecycle import com.google.android.filament.Stream import com.google.android.filament.Texture import com.gorisse.thomas.lifecycle.observe import io.github.sceneview.Filament fun <R> Texture.use(block: (Texture) -> R): R = block(this).also { destroy() } fu...
0
Java
0
0
70c9776e3a3920d6cf6fef22ea0a6784479c490e
951
sceneview-android
Apache License 2.0
WZDCTool/app/src/main/java/com/wzdctool/android/dataclasses/VisualizationObj.kt
TonyEnglish
297,727,090
false
{"Markdown": 4, "Java Properties": 5, "YAML": 1, "Gradle": 3, "Shell": 2, "Ignore List": 4, "Batchfile": 2, "Proguard": 1, "Kotlin": 40, "XML": 196, "Java": 1, "SVG": 16}
package com.wzdctool.android.dataclasses import com.google.android.gms.maps.model.LatLng data class VisualizationObj (val dataPoints: List<LatLng>, val markers: List<CustomMarkerObj>, val dataFile: String)
1
null
1
1
6c7e72c300b0c4b47a36506ffb7bdf33a8c870a3
207
V2X_MobileApplication
MIT License
mail/common/src/main/java/com/mail/ann/mail/NetworkTimeouts.kt
ZhangXinmin528
516,242,626
true
{"INI": 1, "Shell": 6, "Gradle": 30, "EditorConfig": 1, "Markdown": 8, "Git Attributes": 1, "Batchfile": 1, "Text": 44, "Ignore List": 4, "Git Config": 1, "XML": 399, "YAML": 6, "Kotlin": 744, "AIDL": 2, "Java": 433, "Java Properties": 1, "SVG": 67, "PostScript": 1, "JSON": 23, "E-mail": 27, "Proguard": 1}
package com.mail.ann.mail object NetworkTimeouts { const val SOCKET_CONNECT_TIMEOUT = 30000 const val SOCKET_READ_TIMEOUT = 60000 }
0
Java
0
0
3efc82014d57307996329fd057c505d2b88ed044
141
Ann-mail
Apache License 2.0
app/src/main/java/com/ethan/hydrogen/demo/common/log/ImplLoggerManager.kt
ethann-tech
697,255,790
false
{"Gradle Kotlin DSL": 4, "Java Properties": 2, "Shell": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "TOML": 1, "Text": 1, "Proguard": 3, "XML": 103, "Java": 125, "Kotlin": 8, "HTML": 1, "JSON": 1}
package com.ethan.hydrogen.demo.common.log import android.content.Context import ch.qos.logback.classic.LoggerContext import ch.qos.logback.classic.joran.JoranConfigurator import com.ethan.hydrogen.demo.common.log.ILoggerManager import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.withContext //import com.e...
0
Java
0
0
b392d29d8221a9a253d74c9bf786b8bca32ae541
2,959
Hydrogen
Apache License 2.0
app/src/main/java/org/ranapat/sensors/gps/example/services/stepper/StepCounterEventListener.kt
ranapat
591,635,819
false
{"Java": 171971, "Kotlin": 63345}
package org.ranapat.sensors.gps.example.services.stepper import android.content.pm.PackageManager import android.hardware.Sensor import android.hardware.SensorEvent import android.hardware.SensorEventListener import android.hardware.SensorManager import org.ranapat.instancefactory.Fi import org.ranapat.sensors.gps.exa...
1
null
1
1
16ccf3ec38350e65b7d9047fdc4fadc0c9ec6227
1,579
gps-sensors
The Unlicense
TeamCode/src/main/java/org/firstinspires/ftc/teamcode/control/gainmatrices/PIDGains.kt
raleighmasjid
622,808,338
false
{"Gradle": 7, "Java Properties": 1, "Shell": 1, "Text": 4, "Ignore List": 2, "Batchfile": 1, "Markdown": 7, "INI": 1, "Java": 170, "XML": 17, "JSON": 2, "Kotlin": 9}
package org.firstinspires.ftc.teamcode.control.gainmatrices import kotlin.Double.Companion.POSITIVE_INFINITY import kotlin.math.* data class PIDGains @JvmOverloads constructor( @JvmField var kP: Double = 0.0, @JvmField var kI: Double = 0.0, @JvmField var kD: Double = 0.0, @JvmField var maxOutputWithI...
0
Java
0
0
598626cc3b5bed3c80546dd92d83c084105d39d3
905
ftc-21836-2023
BSD 3-Clause Clear License
logcat/testSrc/com/android/tools/idea/logcat/messages/TextAccumulatorTest.kt
TrellixVulnTeam
571,897,700
true
{"Text": 355, "EditorConfig": 2, "Markdown": 64, "Shell": 32, "Ignore List": 193, "XML": 13507, "Starlark": 142, "Kotlin": 6746, "Java": 8085, "Gradle": 2753, "Proguard": 169, "INI": 72, "JSON": 80, "Graphviz (DOT)": 1, "Ant Build System": 2, "Protocol Buffer": 8, "Java Properties": 166, "HTML": 67, "Batchfile": 20, "G...
/* * Copyright (C) 2021 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
0
null
0
0
b373163869f676145341d60985cdbdaca3565c0b
2,029
android_74FW
Apache License 2.0
kotlin-dsl/example/src/test/kotlin/com/chutneytesting/example/scenario/RunHelloTests.kt
owerfelli
791,217,559
true
{"Markdown": 64, "Batchfile": 2, "Shell": 2, "Gradle Kotlin DSL": 6, "INI": 5, "Java": 984, "HTML": 64, "JavaScript": 6, "Kotlin": 241, "SQL": 4, "Java Properties": 1, "Dockerfile": 3, "CSS": 1, "TypeScript": 250}
package com.chutneytesting.example.scenario import com.chutneytesting.example.environment_en import com.chutneytesting.example.environment_fr import com.chutneytesting.kotlin.dsl.ChutneyScenario import com.chutneytesting.kotlin.junit.api.ChutneyTest import com.chutneytesting.kotlin.launcher.Launcher import org.junit.j...
0
null
0
0
a7b0bf69921fd29f846763ba4e67e271dbfaad13
690
chutney
Apache License 2.0
src/main/kotlin/ch/skyfy/fabricpermshiderkotlined/FabricPermsHiderKotlinedMod.kt
AmibeSkyfy16
586,606,158
false
{"Java": 26388, "Kotlin": 14092}
package ch.skyfy.fabricpermshiderkotlined import net.fabricmc.api.DedicatedServerModInitializer import net.fabricmc.loader.api.FabricLoader import net.minecraft.server.command.TellRawCommand import org.apache.logging.log4j.LogManager import org.apache.logging.log4j.Logger import java.nio.file.Path @Suppress("MemberVi...
1
null
1
1
7db6ecd78bc44771c7c7d4f29872569d67c105b5
762
FabricPermHiderKotlined
MIT License
Leetcode-Solution-Kotlin/knightProbablityInChessboard.kt
harshraj9988
491,534,142
false
{"Java": 591477, "Kotlin": 183437, "C++": 86767, "Python": 24653, "JavaScript": 4637}
fun knightProbability(n: Int, k: Int, row: Int, column: Int): Double { val dp = Array(k + 1) { Array(n) { DoubleArray(n) { -1.0 } } } return memoization(n, k, row, column, dp) } private val dir = arrayOf( Pair(1, -2), Pair(2, -1), Pair(2, 1), Pair(1, 2), Pair(-1, 2), Pair(-2, 1), Pa...
1
null
1
1
3fc29ceffe3eaf92d9e6e79bfb097ba0db1c40ad
798
LeetCode-solutions
Apache License 2.0
TeamCode/src/main/java/org/firstinspires/ftc/teamcode/autonomous/FieldConstants.kt
Rpergy
597,173,379
false
{"Java": 222719, "Kotlin": 89282}
package org.firstinspires.ftc.teamcode.autonomous import com.acmerobotics.roadrunner.geometry.Pose2d import com.acmerobotics.roadrunner.geometry.Vector2d class FieldConstants { object LeftBlueAutonomous { val startPosition = Pose2d(38.0, 64.0, Math.toRadians(-90.0)) val cyclePosition1 = Vector2d(3...
1
null
1
1
b9b224abb0c82f0c48959be0963a22199df44e8f
2,680
PowerPlay
BSD 3-Clause Clear License
common/src/main/kotlin/io/github/remodstudios/lumidep/misc/LumidepStats.kt
ReMod-Studios
365,715,310
false
{"Gradle": 5, "INI": 3, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "Markdown": 1, "JSON": 142, "Kotlin": 40, "Java": 4, "TOML": 1}
package io.github.remodstudios.lumidep.misc import io.github.remodstudios.remodcore.registry.RegistryHelper import me.shedaniel.architectury.registry.DeferredRegister import net.minecraft.stat.StatFormatter import net.minecraft.stat.Stats import net.minecraft.util.Identifier import net.minecraft.util.registry.Registry...
0
Kotlin
0
0
92310fb84c65d76552355f8cba0cdfbf43860576
823
lumidep-java
Apache License 2.0
ProjectFeedget/entity/src/main/java/kr/mashup/feedget/entity/Category.kt
mash-up-kr
109,485,907
false
{"Java": 101694, "Kotlin": 74233}
package kr.mashup.feedget.entity data class Category( val id: Long, val name: String ) : Entity
1
null
1
1
78dd05a711215f55d9a3bf8bde7c2349ee134f73
105
feedget-android
Apache License 2.0
src/test/kotlin/ru/ppzh/quoteParser/QuoteParserPhraseSpecs.kt
ppzhuk
52,633,828
false
{"Gradle": 2, "Markdown": 2, "CSS": 1, "Shell": 1, "Ignore List": 1, "Batchfile": 1, "Text": 1, "Java Properties": 1, "E-mail": 75, "Kotlin": 36, "Java": 1, "HTML": 87}
/* * Copyright 2016-2017 JetBrains s.r.o., 2017 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicabl...
1
null
1
1
518fb571749f8ad5bacf9bf66f22818c6f4f61d8
2,561
email-parser
Apache License 2.0
post-comments/app/src/main/java/com/sample/postapp/di/NetworkModule.kt
tmehta813
786,357,342
false
{"Markdown": 2, "Gradle Kotlin DSL": 4, "Java Properties": 5, "Shell": 1, "Batchfile": 1, "Proguard": 2, "Ignore List": 3, "Kotlin": 24, "XML": 23, "TOML": 1, "INI": 3, "Java": 2}
package com.sample.postapp.di import com.sample.network.ApiService import com.sample.network.networkHandler.BasicAuthInterceptor import com.sample.network.networkHandler.ResultCallAdapterFactory import com.sample.network.utils.BASE_URL import com.sample.network.utils.CONNECT_TIMEOUT_IN_SECONDS import com.sample.networ...
0
Java
0
0
fba12a8d23d7e84b0eced1e8d2e8165988da2685
1,925
fetch-post
MIT License
app/src/main/java/com/example/android/shoppingList/database/ShoppingList.kt
marcinbln
356,965,584
false
{"Gradle": 3, "Java Properties": 1, "Shell": 1, "Ignore List": 2, "Batchfile": 1, "Text": 1, "Markdown": 1, "INI": 1, "Proguard": 1, "Kotlin": 23, "XML": 36, "Java": 3}
package com.example.android.shoppingList.database import androidx.room.ColumnInfo import androidx.room.Entity import androidx.room.PrimaryKey @Entity(tableName = "shopping_lists_table") data class ShoppingList( @PrimaryKey(autoGenerate = true) var listId: Long = 0L, @ColumnInfo(name = "start_...
1
null
1
1
714b2146265ab734a53192ec055e32f80efbabc8
554
ShoppingList
Apache License 2.0
heima_player/app/src/main/java/com/itheima/player/util/FragmentUtil.kt
Tecode
455,788,985
false
{"Java": 409665, "Kotlin": 196048}
package com.itheima.player.util import com.itheima.player.R import com.itheima.player.base.BaseFragment import com.itheima.player.ui.fragment.HomeFragment import com.itheima.player.ui.fragment.MvFragment import com.itheima.player.ui.fragment.VBangFragment import com.itheima.player.ui.fragment.YueDanFragment /** * C...
1
null
1
1
78a8c1e661c3a8a3f9b3dee8c6cf806cfec49a98
1,043
android_learning
MIT License