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
injective-core/src/jvmMain/kotlin/injective/types/v1beta1/tx_ext.converter.kt
jdekim43
759,720,689
false
{"Kotlin": 8940168, "Java": 3242559}
// Transform from injective/types/v1beta1/tx_ext.proto @file:GeneratorVersion(version = "0.3.1") package injective.types.v1beta1 import kr.jadekim.protobuf.`annotation`.GeneratorVersion import kr.jadekim.protobuf.converter.ProtobufConverter public actual object ExtensionOptionsWeb3TxConverter : ProtobufConverter<Ext...
0
Kotlin
0
0
eb9b3ba5ad6b798db1d8da208b5435fc5c1f6cdc
383
chameleon.proto
Apache License 2.0
hosthelper/src/main/java/org/softeg/slartus/hosthelper/HostHelper.kt
slartus
21,554,455
false
null
package org.softeg.slartus.hosthelper fun String?.is4pdaHost() = this?.matches(Regex(HostHelper.hostPattern+".*", RegexOption.IGNORE_CASE)) == true class HostHelper { companion object { @JvmStatic val host = "4pda.to" @JvmStatic val hostPattern = "(?:^|.*[^a-zA-Z0-9])4pda\\.(...
3
Java
15
54
993d0c72ede24a783e001d77329ae7b331eebe93
337
4pdaClient-plus
Apache License 2.0
game/plugins/src/main/kotlin/gg/rsmod/plugins/content/areas/edgeville/chat/shop_keeper.plugin.kts
grian32
420,653,114
false
{"Kotlin": 3263841, "Dockerfile": 1354}
package gg.rsmod.plugins.content.areas.edgeville.chat arrayOf(Npcs.SHOP_KEEPER_2821, Npcs.SHOP_ASSISTANT_2822).forEach { shop -> onNpcOption(npc = shop, option = "talk-to") { player.queue { dialog(this) } } onNpcOption(npc = shop, option = "trade") { openShop(player) } } suspend fun d...
0
Kotlin
0
1
89f068559ce16618941075f857686787bb3feb51
645
grianmod
Apache License 2.0
app/src/main/java/com/sleewell/sleewell/mvp/menu/home/presenter/HomePresenter.kt
TitouanFi
427,797,671
true
{"Kotlin": 554160, "HTML": 385717, "Java": 102120, "CSS": 12842, "JavaScript": 7278}
package com.sleewell.sleewell.mvp.menu.home.presenter import android.content.Context import com.sleewell.sleewell.mvp.menu.home.HomeContract /** * Presenter for the Home fragment, it will link the HomeView and the HomeModel * * @constructor Creates a presenter based on the Home Contract * @param view View that in...
0
Kotlin
0
0
e1980017127869159b0742b63273fa342ae0c9da
896
Sleewell-Android
MIT License
src/main/kotlin/Dashboard.kt
abhinayagarwal
140,527,587
true
{"Kotlin": 23779}
import javafx.application.Application import javafx.beans.binding.Bindings import javafx.beans.property.SimpleBooleanProperty import javafx.beans.property.SimpleObjectProperty import javafx.collections.FXCollections import javafx.scene.image.Image import javafx.scene.paint.Color import tornadofx.* import java.math.BigD...
0
Kotlin
0
0
5c4403c69ac1a5dc8a9bc68cc568d2466f9495ef
5,209
traveling_salesman_demo
Apache License 2.0
src/main/kotlin/ai/klink/yugaklink/controller/UserController.kt
klinkai
203,439,566
false
null
package ai.klink.yugaklink.controller import ai.klink.yugaklink.dto.user.UserDto import ai.klink.yugaklink.service.UserService import org.springframework.beans.factory.annotation.Autowired import org.springframework.web.bind.annotation.* import java.security.InvalidParameterException @RestController class UserContro...
2
Kotlin
0
1
f28768253a849eff7a0f39f6603dca44cb87c3ff
1,228
yugaklink
Apache License 2.0
server/src/main/kotlin/Server.kt
petermylemans
284,798,976
false
null
package com.github.petermylemans.learning.websockets import org.springframework.boot.autoconfigure.SpringBootApplication import org.springframework.boot.runApplication import org.springframework.scheduling.annotation.EnableScheduling @SpringBootApplication @EnableScheduling class Server fun main(args: Array<String>)...
0
Kotlin
0
0
bf34f331fa022fab6dd6f6dc233db0ed3df2c820
359
learning-websockets
Apache License 2.0
app/src/main/java/com/rpfcoding/borutocharacterviewer/presentation/util/NavGraph.kt
riley0521
461,738,945
false
null
package com.rpfcoding.borutocharacterviewer.presentation.util import androidx.compose.animation.ExperimentalAnimationApi import androidx.compose.material.ExperimentalMaterialApi import androidx.compose.runtime.Composable import androidx.navigation.NavHostController import androidx.navigation.NavType import androidx.na...
0
Kotlin
0
0
86baf29435338ac9294224174a2fcc52d37f7945
2,241
BorutoCharacterViewer
Apache License 2.0
app/src/main/java/moe/wisteria/android/kimoji/entity/IndicatorState.kt
YaeMonilc
830,079,865
false
{"Kotlin": 121920}
package moe.wisteria.android.kimoji.entity enum class IndicatorState { NORMAL, LOADING }
0
Kotlin
0
4
719df46ddf7921e799189998a39a272a7b169df9
97
Kimoji
Apache License 2.0
app/src/main/java/moe/wisteria/android/kimoji/entity/IndicatorState.kt
YaeMonilc
830,079,865
false
{"Kotlin": 121920}
package moe.wisteria.android.kimoji.entity enum class IndicatorState { NORMAL, LOADING }
0
Kotlin
0
4
719df46ddf7921e799189998a39a272a7b169df9
97
Kimoji
Apache License 2.0
app/src/main/java/com/ms/catlife/feature_calendar/domain/use_case/CalendarEventUseCases.kt
morganesoula
446,932,843
false
null
package com.ms.catlife.feature_calendar.domain.use_case import com.ms.catlife.feature_calendar.domain.use_case.crud.DeleteCalendarEventByIdUseCase import com.ms.catlife.feature_calendar.domain.use_case.crud.DeleteCalendarEventUseCase import com.ms.catlife.feature_calendar.domain.use_case.crud.GetAllEventUseCase import...
0
Kotlin
0
2
80eb98072fd3326ae13503b2dc150a20f6574742
1,139
catlife
Apache License 2.0
packages/core/src/main/java/com/openmobilehub/android/maps/core/utils/logging/Logger.kt
openmobilehub
742,498,878
false
{"Kotlin": 1027038, "Java": 38535, "Shell": 1124}
/* * Copyright 2023 Open Mobile Hub * * 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 agre...
0
Kotlin
0
1
922578f1166e8e49de891107848287df8be96787
3,053
android-omh-maps
Apache License 2.0
lib_cameraxqrcode/src/main/java/com/yh/cxqr/utils/Luminance.kt
CListery
442,337,819
false
null
package com.yh.cxqr.utils import android.graphics.Bitmap import android.graphics.ImageFormat.YUV_420_888 import android.media.Image import android.util.Log import java.nio.ByteBuffer class Luminance(val byteArray: ByteArray, val width: Int, val height: Int) /* https://stackoverflow.com/a/58113173/3615879 */ fun Lumi...
0
Kotlin
0
0
e3d8f689beb639d0d714e094cc246d9fa1de29c0
2,026
CameraX-QRcode
MIT License
status/src/main/java/com/pyamsoft/tetherfi/status/sections/operating/QuickTileAddButtonInjector.kt
pyamsoft
475,225,784
false
{"Kotlin": 655118, "Shell": 457}
package com.pyamsoft.tetherfi.status.sections.operating import android.service.quicksettings.TileService import androidx.activity.ComponentActivity import androidx.annotation.DrawableRes import com.pyamsoft.pydroid.ui.inject.ComposableInjector import com.pyamsoft.tetherfi.status.StatusObjectGraph import com.pyamsoft.t...
6
Kotlin
15
187
e5a7b16a37d3f98528b7511ff293539b00feedd3
948
tetherfi
Apache License 2.0
kotlin-mui-icons/src/main/generated/mui/icons/material/LooksTwoTwoTone.kt
JetBrains
93,250,841
false
null
// Automatically generated - do not modify! @file:JsModule("@mui/icons-material/LooksTwoTwoTone") @file:JsNonModule package mui.icons.material @JsName("default") external val LooksTwoTwoTone: SvgIconComponent
10
Kotlin
145
983
7ef1028ba3e0982dc93edcdfa6ee1edb334ddf35
212
kotlin-wrappers
Apache License 2.0
dd-sdk-android/src/test/kotlin/com/datadog/android/utils/DatadogExt.kt
kevindanielsaicure
366,814,258
true
{"Kotlin": 2814343, "Java": 217748, "C": 78947, "C++": 27621, "Python": 4483, "CMake": 2042}
/* * Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0. * This product includes software developed at Datadog (https://www.datadoghq.com/). * Copyright 2016-Present Datadog, Inc. */ package com.datadog.android.utils import android.content.Context imp...
0
Kotlin
0
0
c429afb8495d6e316a03c7def835e7ac29fe5441
4,930
dd-sdk-android-1.8.0-maven
Apache License 2.0
core/src/main/kotlin/io/solarconnect/security/core/access/SsoAuthenticationEntryPoint.kt
solarconnect-io
108,113,733
false
{"Gradle": 6, "Markdown": 4, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "Java": 5, "Kotlin": 52, "Groovy": 2}
package io.solarconnect.security.core.access import org.springframework.security.core.AuthenticationException import org.springframework.security.core.context.SecurityContextHolder import org.springframework.security.web.AuthenticationEntryPoint import javax.servlet.http.HttpServletRequest import javax.servlet.http.Ht...
1
null
1
1
94e4d8e907bbc607c1bd7c9d12d352b4729b5ef6
823
spring-security-business
MIT License
src/test/kotlin/org/gamekins/GamePublisherDescriptorTest.kt
se2p
452,610,454
false
null
package org.gamekins import hudson.util.FormValidation import io.kotest.core.spec.style.AnnotationSpec import io.kotest.core.spec.style.FunSpec import io.kotest.matchers.shouldBe import io.mockk.every import io.mockk.mockkClass import io.mockk.mockkStatic import io.mockk.unmockkAll import org.gamekins.achievement.Achi...
0
Kotlin
0
3
753b95c4ff2eab7bb6c8095065ca1ce56cbc16fb
993
gamekins-plugin
Apache License 2.0
bitgouel-domain/src/main/kotlin/team/msg/common/enum/ApproveStatus.kt
GSM-MSG
700,741,727
false
{"Kotlin": 135869, "Dockerfile": 206}
package team.msg.common.enum /** * PENDING - 승인 대기중 * APPROVED - 승인 완료 */ enum class ApproveStatus { PENDING, APPROVED }
6
Kotlin
0
10
990badb91d15506f4bd2f53727b50f7d49ae17e9
133
Bitgouel-Server
MIT License
app/features/swipper/src/main/java/tv/orange/features/swipper/view/VerticalProgressBar.kt
NyanArchive
503,292,084
false
null
package tv.orange.features.swipper.view import android.content.Context import android.graphics.Color import android.graphics.drawable.ClipDrawable import android.graphics.drawable.Drawable import android.graphics.drawable.GradientDrawable import android.graphics.drawable.LayerDrawable import android.view.Gravity impor...
0
Kotlin
0
2
69f8dcc9df76fe4a48b2fcad8290f8d1cfcc5ff6
1,563
OrangeTV
Apache License 2.0
app/src/main/java/com/minkiapps/livetranslator/tooltip/ScanRectTooltip.kt
minkiapps
297,038,937
false
null
package com.minkiapps.livetranslator.tooltip import android.content.Context import androidx.core.content.edit import androidx.preference.PreferenceManager class ScanRectTooltip(context : Context) { private val prefs = PreferenceManager.getDefaultSharedPreferences(context) fun shouldShowTooltip() : Boolean {...
0
Kotlin
0
5
884fff9d660df391fd673acc085e085bdf383139
1,108
Instant-Translator
MIT License
lib/src/snippet/kotlin/com/lemonappdev/konsist/TestingSnippets.kt
LemonAppDev
621,181,534
false
null
package com.lemonappdev.konsist import com.lemonappdev.konsist.api.KoModifier import com.lemonappdev.konsist.api.Konsist import com.lemonappdev.konsist.api.declaration.KoDeclaration import com.lemonappdev.konsist.api.ext.sequence.withoutModifiers import com.lemonappdev.konsist.core.verify.assert import com.lemonappdev...
9
Kotlin
0
5
2c029ca448d24acad1cc0473e69b78130be86193
1,897
konsist
Apache License 2.0
src/jvmMain/kotlin/kotdot/generator/json/core/CoreMethod.kt
ejektaflex
196,643,710
true
{"Kotlin": 45578, "GDScript": 150}
package kotdot.generator.json.core import com.google.gson.annotations.SerializedName import com.squareup.kotlinpoet.FunSpec import com.squareup.kotlinpoet.KModifier import kotdot.generator.json.reg.CTypeRegistry import kotdot.generator.json.reg.CoreClassRegistry import kotdot.generator.toCamelCase import kotlin.reflec...
3
Kotlin
0
0
9e74a0007d695b2ceddb4e8d9bece6eb06f1e779
3,881
KotDot
MIT License
kotlin-mui-icons/src/main/generated/mui/icons/material/WhatshotTwoTone.kt
JetBrains
93,250,841
false
null
// Automatically generated - do not modify! @file:JsModule("@mui/icons-material/WhatshotTwoTone") @file:JsNonModule package mui.icons.material @JsName("default") external val WhatshotTwoTone: SvgIconComponent
10
Kotlin
5
983
7ef1028ba3e0982dc93edcdfa6ee1edb334ddf35
212
kotlin-wrappers
Apache License 2.0
src/main/kotlin/com/cosmic_jewelry/common/core/gem/feature/GemOre.kt
AugustoMegener
807,287,719
false
{"Kotlin": 45402}
package com.cosmic_jewelry.common.core.gem.feature import com.cosmic_jewelry.common.core.gem.ClassRegister import com.cosmic_jewelry.common.core.gem.GemType import net.minecraft.tags.BlockTags import net.minecraft.tags.TagKey import net.minecraft.util.valueproviders.ConstantInt import net.minecraft.world.level.block.B...
0
Kotlin
0
0
c1053578a9cf00c69c6849d7a3a568763b30c920
1,475
cosmicjewlery
MIT License
kafkistry-consume/src/main/kotlin/com/infobip/kafkistry/service/consume/RecordFactory.kt
infobip
456,885,171
false
null
package com.infobip.kafkistry.service.consume import org.apache.kafka.clients.consumer.ConsumerRecord import com.infobip.kafkistry.service.consume.deserialize.DeserializerType import com.infobip.kafkistry.service.consume.deserialize.KafkaDeserializer import org.springframework.boot.autoconfigure.condition.ConditionalO...
0
Kotlin
0
19
ca65af134cc534ca30ab8c5093e64122fccc9030
6,170
kafkistry
Apache License 2.0
Introduction to Objects/Constraining Visibility/Exercise 5/src/Task.kt
marchdz
633,862,396
false
null
// Visibility/Task5.kt package constrainingVisibilityExercise5 fun printSum(x: Int) { if (checkArgument(x)) return println((0..x).sum()) } fun printAverage(x: Int) { if (checkArgument(x)) return println((0..x).average()) } private fun checkArgument(x: Int): Boolean { if (x <= 0) { println("Incorrect in...
0
Kotlin
0
0
0246a342b54600ceb6ac38ecb4498d16a7e86e8e
531
atomic-kotlin-exercises
MIT License
sentinel/src/main/kotlin/com/infinum/sentinel/data/models/memory/triggers/usb/UsbConnectedTrigger.kt
AlexRogalskiy
332,481,990
false
null
package com.infinum.sentinel.data.models.memory.triggers.usb import android.content.Context import androidx.lifecycle.ProcessLifecycleOwner import com.infinum.sentinel.data.models.memory.triggers.AbstractTrigger import com.infinum.sentinel.data.models.memory.triggers.shared.receiver.BroadcastReceiver internal class U...
2
Kotlin
0
0
aec57ca5209c8f1c9e68cc5736acb6c692fd621c
1,465
android-sentinel
Apache License 2.0
app/src/main/java/com/marmutech/ramdantimetable/ramadantimetable/model/TimeTableDay.kt
r-phyan-kwee-tech
130,822,417
false
{"Kotlin": 172950}
package com.marmutech.ramdantimetable.ramadantimetable.model import android.os.Parcelable import androidx.room.ColumnInfo import androidx.room.Entity import androidx.room.Index import kotlinx.android.parcel.Parcelize @Parcelize @Entity( tableName = "day", primaryKeys = ["objectId"], indices = [ ...
0
Kotlin
0
3
31d219fed0d92a583686e2f22aa73e5379730a0d
2,140
ramdhan-android
The Unlicense
door-testdb/src/commonMain/kotlin/repdb/RepDb.kt
UstadMobile
344,538,858
false
{"Kotlin": 1047087, "JavaScript": 1100, "HTML": 430, "Shell": 89}
package repdb import com.ustadmobile.door.annotation.DoorDatabase import com.ustadmobile.door.room.RoomDatabase import com.ustadmobile.door.SyncNode import com.ustadmobile.door.entities.* @DoorDatabase(version = 1, entities = [ RepEntity::class, DoorNode::class, RepEntityWithAttachment::class, SyncNo...
5
Kotlin
1
162
4f1807ced7b418d9bc96fbbe0c0cbd821596e29c
585
door
Apache License 2.0
src/main/kotlin/no/nav/sokos/oppdrag/Application.kt
navikt
796,729,102
false
{"Kotlin": 138910, "Shell": 603, "Dockerfile": 111}
package no.nav.sokos.oppdrag import io.ktor.server.application.Application import io.ktor.server.engine.embeddedServer import io.ktor.server.netty.Netty import no.nav.sokos.oppdrag.common.config.ApplicationState import no.nav.sokos.oppdrag.common.config.PropertiesConfig import no.nav.sokos.oppdrag.common.config.applic...
0
Kotlin
0
0
ccbfa52994d8d26c9a1e664c775c75f8aba8e5df
923
sokos-oppdrag
MIT License
src/main/kotlin/io/lexcao/bookstore/domain/auth/provider/PreAuthenticatedAuthenticationProvider.kt
lexcao
389,910,680
true
{"Kotlin": 92562, "HTML": 1060, "Dockerfile": 273}
package io.lexcao.bookstore.domain.auth.provider import io.lexcao.bookstore.domain.auth.AuthenticAccount import org.springframework.security.authentication.AuthenticationProvider import org.springframework.security.authentication.DisabledException import org.springframework.security.authentication.UsernamePasswordAuth...
0
Kotlin
0
0
3bbd3caf9d331429cf2d0a98dd6bbd21e673990a
2,104
monolithic-arch-springboot-kotlin
Apache License 2.0
client/src/main/kotlin/com/configset/client/Configuration.kt
raymank26
296,910,120
false
{"Kotlin": 334689, "Jinja": 11978, "JavaScript": 3431, "Shell": 456}
package com.configset.client import com.configset.client.converter.Converter interface Configuration { fun getConfiguration(appName: String): Configuration fun <T> getConfProperty(name: String, converter: Converter<T>): ConfProperty<T?> fun <T> getConfPropertyNotNull(name: String, converter: Converter<T>)...
0
Kotlin
0
1
bf54c361628a207a219afd6772ac2e4b6ffefbcb
522
configset
Apache License 2.0
android/src/main/kotlin/com/wangbo4020/package_archive_info/PackageArchiveInfoPlugin.kt
wangbo4020
294,898,166
false
{"Dart": 5407, "Kotlin": 2422, "Swift": 945, "Ruby": 907, "Objective-C": 777}
package com.wangbo4020.package_archive_info import android.content.Context import android.content.pm.PackageInfo import android.content.pm.PackageManager import android.os.Build import androidx.annotation.NonNull import io.flutter.embedding.engine.plugins.FlutterPlugin import io.flutter.plugin.common.MethodCall import...
0
Dart
0
2
77befad34aaafc4435c2601155ec1572f09b7c46
2,274
flutter_package_archive_info
Apache License 2.0
2023/src/main/kotlin/day2.kt
madisp
434,510,913
false
{"Kotlin": 323222}
import utils.Parse import utils.Parser import utils.Solution import utils.mapItems private typealias Input = List<Day2.Game> fun main() { Day2.run() } object Day2 : Solution<Input>() { override val name = "day2" override val parser = Parser.lines.mapItems(::parseGame) @Parse("Game {id}: {r '; ' rounds}") ...
0
Kotlin
0
1
9d650f8aadc26e545cc7ab2f03c7a049c888aea8
1,156
aoc_kotlin
MIT License
app/src/main/java/mil/nga/msi/startup/port/PortInitializer.kt
ngageoint
588,211,646
false
{"Kotlin": 1749335}
package mil.nga.msi.startup.port import android.content.Context import androidx.startup.Initializer import androidx.work.BackoffPolicy import androidx.work.Constraints import androidx.work.ExistingPeriodicWorkPolicy import androidx.work.ExistingWorkPolicy import androidx.work.NetworkType import androidx.work.OneTimeWo...
0
Kotlin
0
0
d7670ab5f73e2e89b741a56e418b49f2acc810a2
2,432
marlin-android
MIT License
src/main/kotlin/org/ffpy/portmux/protocol/BytesProtocol.kt
ffpy
377,435,896
false
null
package org.ffpy.portmux.protocol import io.netty.buffer.Unpooled import org.ffpy.portmux.config.ProtocolConfig /** * 字节数组匹配 */ class BytesProtocol(config: ProtocolConfig) : ByteBufPrefixProtocol(config, getPatterns(config)) { companion object { private fun getPatterns(config: ProtocolConfig) = config....
0
Kotlin
6
14
5bf8ca8d3df285a46e97dd9edfb8de9f3ffe6814
656
port-mux
Apache License 2.0
example/android/app/src/main/kotlin/dev/flutterberlin/flutter_gemma_example/MainActivity.kt
DenisovAV
780,897,965
false
{"Dart": 19118, "Kotlin": 7175, "Swift": 6460, "Ruby": 2394, "HTML": 2063, "Objective-C": 38}
package dev.flutterberlin.flutter_gemma_example import io.flutter.embedding.android.FlutterActivity class MainActivity: FlutterActivity()
8
Dart
10
34
32f596dd2e67a8d91d3f88efc2c589e04c1be04b
140
flutter_gemma
MIT License
src/commonTest/kotlin/com/configcat/ConfigFetcherTests.kt
configcat
518,079,622
false
{"Kotlin": 1450312, "JavaScript": 71}
package com.configcat import io.ktor.client.engine.mock.MockEngine import io.ktor.client.engine.mock.respond import io.ktor.http.HttpStatusCode import io.ktor.http.headersOf import io.ktor.util.PlatformUtils import kotlinx.coroutines.test.runTest import kotlin.test.AfterTest import kotlin.test.Test import kotlin.test....
0
Kotlin
0
8
3d4bd0210c8ab35e5549ca02b284345d706ea440
6,727
kotlin-sdk
MIT License
photoeditor/src/main/java/ja/burhanrashid52/photoeditor/ImageFilterView.kt
jorzj
225,899,665
true
{"Kotlin": 119937, "Java": 81857}
package ja.burhanrashid52.photoeditor import android.content.Context import android.graphics.Bitmap import android.graphics.Color import android.media.effect.Effect import android.media.effect.EffectContext import android.media.effect.EffectFactory import android.opengl.GLES20 import android.opengl.GLSurfaceView impor...
0
Kotlin
0
0
47107eb3c91564f73de9f585587ea554137f27c4
9,071
PhotoEditor
MIT License
leetcode/src/test/kotlin/atoi.kt
yuriykulikov
159,951,728
false
null
import org.assertj.core.api.Assertions.assertThat import org.junit.Test class AtoiSolution { fun myAtoi(str: String): Int { val numberStr = str.trim() .dropWhile { !it.isDigit() } .takeWhile { it.isDigit() } .dropWhile { it == '0' } if (numberStr.isEmpty()) retur...
0
Kotlin
0
1
1ee89b0292fabebe4581cec4d5f445d1c572a060
2,013
kotlin-playground
MIT License
src/main/kotlin/com/liquidforte/roguelike/views/fragments/InventoryRowFragment.kt
cwzero
315,412,403
false
null
package com.liquidforte.roguelike.views.fragments import com.liquidforte.roguelike.extensions.GameItem import com.liquidforte.roguelike.extensions.iconTile import org.hexworks.zircon.api.Components import org.hexworks.zircon.api.component.Fragment import org.hexworks.zircon.api.graphics.Symbols class InventoryRowFrag...
0
Kotlin
0
0
ed94313fc89f659d3d1721bfb82be8c09484fc5b
938
Roguelike
MIT License
app/src/main/java/pl/kamilbaziak/carcostnotebook/database/CarDatabase.kt
BaziakKamil
545,143,793
false
{"Kotlin": 153897}
package pl.kamilbaziak.carcostnotebook.database import androidx.room.Database import androidx.room.RoomDatabase import pl.kamilbaziak.carcostnotebook.model.Car import pl.kamilbaziak.carcostnotebook.model.Maintenance import pl.kamilbaziak.carcostnotebook.model.Odometer import pl.kamilbaziak.carcostnotebook.model.TankFi...
8
Kotlin
0
1
05ebe329c7bf7da412456df4a3c2fe5b94f6e5bd
711
Car-Cost-Notebook
MIT License
app/src/main/java/dev/m13d/somenet/timeline/TimelineViewModel.kt
3yebMB
851,249,108
false
{"Kotlin": 57980}
package dev.m13d.somenet.timeline import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import androidx.lifecycle.ViewModel import dev.m13d.somenet.domain.timeline.TimelineRepository import dev.m13d.somenet.timeline.states.TimelineState class TimelineViewModel ( private val timelineReposito...
1
Kotlin
0
0
3ce84083291901006ea2f916ef71cef0777a8608
641
Some-network
The Unlicense
domain/src/main/java/com/arch/usecase/GetNotesUseCase.kt
parthdesai1208
612,042,565
false
null
package com.arch.usecase import androidx.paging.PagingConfig import com.arch.entity.Note import com.arch.error.DatabaseError import com.arch.repository.NoteRepository import com.arch.usecase.base.BaseUseCase import com.arch.usecase.base.Params import com.arch.utils.Either import javax.inject.Inject class GetNotesUse...
0
Kotlin
0
0
f88814515a86ad3bdf583c7ee888cdb63cc73e23
805
TODO
Apache License 2.0
app/src/main/java/com/example/android/codelabs/paging/di/Injection.kt
vadstep
137,059,702
false
{"Kotlin": 29580}
/* * Copyright (C) 2018 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
0
Kotlin
0
0
cd18aa9b4267064b8b83dc36f17f6b8242868896
1,524
Paging-Kotlin
Apache License 2.0
app/src/main/java/com/ltk/foreign/ForeignApplication.kt
lotik2021
715,283,033
false
{"Kotlin": 75359}
package com.ltk.foreign import android.app.Application import dagger.hilt.android.HiltAndroidApp @HiltAndroidApp class ForeignApplication : Application()
0
Kotlin
0
0
48fea930cee02e9c8896d50a26df02a95b0452a4
156
englishapp
MIT License
src/main/kotlin/com/flyeralarm/kafkamp/Pipeline.kt
flyeralarm
341,566,992
false
null
package com.flyeralarm.kafkamp import kotlinx.coroutines.runBlocking import org.apache.kafka.clients.consumer.KafkaConsumer import org.apache.kafka.clients.consumer.OffsetAndMetadata import org.apache.kafka.clients.producer.KafkaProducer import org.apache.kafka.clients.producer.ProducerRecord import org.apache.kafka.c...
5
Kotlin
4
12
818bf3b7f2fbf9e24bec9925acf3fc07f5026c58
3,296
kafka-merge-purge
Apache License 2.0
frontend/app/src/main/java/com/example/frontend/onBoarding/onBoardingFragment.kt
arek-e
552,713,640
false
null
package com.example.frontend.onBoarding import android.os.Bundle import androidx.fragment.app.Fragment import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.appcompat.widget.AppCompatTextView import com.airbnb.lottie.LottieAnimationView import com.example.frontend.da...
23
Kotlin
0
0
2a1f9ac5e4fb82111f3b8377249c9b96a761a2c9
2,933
MP-app
MIT License
srco/src/main/kotlin/net/realmidc/niuzi/command/impl/PKCommand.kt
Micalhl
572,790,591
false
{"Kotlin": 55413}
package net.realmidc.niuzi.command.impl import net.mamoe.mirai.contact.Group import net.mamoe.mirai.contact.Member import net.mamoe.mirai.contact.getMember import net.mamoe.mirai.contact.nameCardOrNick import net.realmidc.niuzi.command.SubCommand import net.realmidc.niuzi.ConfigReader import net.realmidc.niuzi.api.Niu...
0
Kotlin
3
8
d0e4184e15a9cde723200550e8e1e872d8299a2d
3,029
NiuZi
Creative Commons Zero v1.0 Universal
src/leetcode_study_badge/algorithm/Day5.kt
faniabdullah
382,893,751
false
null
package leetcode_study_badge.algorithm import data_structure.linkedlist.SinglyLinkedList.Node class Day5 { fun middleNode(head: Node?): Node? { var current = head var size = 1 while (current?.next != null) { size++ current = current.next } if (size...
0
Kotlin
0
6
ecf14fe132824e944818fda1123f1c7796c30532
1,143
dsa-kotlin
MIT License
src/main/kotlin/org/move/lang/core/types/ty/TyLambda.kt
pontem-network
279,299,159
false
{"Kotlin": 2117384, "Move": 38257, "Lex": 5509, "HTML": 2114, "Java": 1275}
package org.move.lang.core.types.ty import org.move.ide.presentation.tyToString import org.move.lang.core.types.infer.TypeFolder import org.move.lang.core.types.infer.TypeVisitor import org.move.lang.core.types.infer.mergeFlags // TODO: inherit from GenericTy ? interface TyCallable { val paramTypes: List<Ty> ...
3
Kotlin
29
69
c0192da133a0d0b0cb22456f55d3ee8c7a973109
1,123
intellij-move
MIT License
app/src/test/java/com/example/android/architecture/blueprints/todoapp/statistics/StatisticsUtilsTest.kt
SeifEldinMohamed
529,293,255
false
{"Kotlin": 95233}
package com.example.android.architecture.blueprints.todoapp.statistics import com.example.android.architecture.blueprints.todoapp.data.Task import com.google.common.truth.Truth.assertThat import org.junit.Test class StatisticsUtilsTest { @Test fun getActiveAndCompletedStats_noCompleted_returnsHundredZero() ...
0
Kotlin
0
0
ff4a399ca6f1e00e235e92b7d1683e5001f1b912
3,516
Testing-Basics-Codelab
Apache License 2.0
app/src/main/java/com/blinkist/easylibrary/features/library/LibraryAdapter.kt
dungdung13
215,445,852
true
{"Kotlin": 38853}
package com.blinkist.easylibrary.features.library import androidx.recyclerview.widget.DiffUtil import com.blinkist.easylibrary.R import com.blinkist.easylibrary.databinding.DataBindingAdapter import com.blinkist.easylibrary.model.Book import javax.inject.Inject class LibraryAdapter @Inject constructor() : DataBinding...
0
null
0
0
f3e8c4b6c4f2a8022633490bea80338044b7edd1
931
easy-library
Apache License 2.0
modules/benchmarks/arrow-benchmarks-fx/src/jmh/kotlin/arrow/benchmarks/HandleNonRaised.kt
i-walker
207,460,134
true
{"Kotlin": 2456999, "CSS": 152663, "JavaScript": 67900, "HTML": 23177, "Scala": 8150, "Java": 4465, "Shell": 3043, "Ruby": 1598}
package arrow.benchmarks import arrow.effects.IO import org.openjdk.jmh.annotations.Benchmark import org.openjdk.jmh.annotations.CompilerControl import org.openjdk.jmh.annotations.Fork import org.openjdk.jmh.annotations.Measurement import org.openjdk.jmh.annotations.Param import org.openjdk.jmh.annotations.Scope impor...
0
Kotlin
0
0
81ccaf5001739e52eceb32c529c8b2fed7de6fad
1,015
arrow
Apache License 2.0
jvm/src/main/kotlin/org/ionproject/core/calendar/icalendar/properties/components/timezone/TimeZoneName.kt
i-on-project
242,369,946
false
null
package org.ionproject.core.calendar.icalendar.properties.components.timezone import org.ionproject.core.calendar.icalendar.properties.ParameterizedProperty import org.ionproject.core.calendar.icalendar.properties.parameters.Language import org.ionproject.core.calendar.icalendar.properties.parameters.PropertyParameter...
14
Kotlin
0
3
339407d56e66ec164ecdc4172347272d97cc26b3
708
core
Apache License 2.0
openai/src/main/java/com/mardillu/openai/network/OpenApiClient.kt
mardillu
619,337,472
false
null
package com.mardillu.openai.network import com.mardillu.openai.BuildConfig import com.mardillu.openai.OpenAiInitializer import com.mardillu.openai.model.Message import com.mardillu.openai.model.TextCompletionRequest import com.mardillu.openai.model.requests.* import com.mardillu.openai.model.response.* import okhttp3....
0
Kotlin
0
6
2a5538f6ff147fbc0392381ccaed2a40f05ab8fe
25,838
OpenAI-Client-Android
MIT License
domain/src/main/java/pl/handsome/club/domain/repository/DietPreferencesRepository.kt
krzysztofwycislo
298,275,532
false
null
package pl.handsome.club.domain.repository import pl.handsome.club.domain.preferences.DietPreferences interface DietPreferencesRepository { fun getDietPreferences() : DietPreferences }
0
Kotlin
0
0
61c47aae3e0e7d9a385ffbc07d8d4e2b6d4bad1f
193
KetoScanner
Open Market License
app/src/main/java/am/falconry/database/quote/TypeConverters.kt
AlbericMartel
249,507,809
false
null
package am.falconry.database.quote import androidx.room.TypeConverter import java.time.LocalDate import java.time.format.DateTimeFormatter class TypeConverters { private val FORMATTER = DateTimeFormatter.ISO_LOCAL_DATE @TypeConverter fun fromTimestamp(value: String?): LocalDate? { return value?.l...
5
Kotlin
0
0
d9452442e39aac7e3a77524045b18db31eafc447
494
falconery
MIT License
ospf-kotlin-utils/src/main/fuookami/ospf/kotlin/utils/parallel/MinWithOrNull.kt
fuookami
359,831,793
false
{"Kotlin": 1921031, "Python": 6629}
package fuookami.ospf.kotlin.utils.parallel class MinWithOrNull { }
0
Kotlin
0
2
ee15667db4a8d3789cb1fd3df772717971e83a31
69
ospf-kotlin
Apache License 2.0
app/src/main/java/es/voghdev/playbattlegrounds/features/matches/mock/GetMatchByIdStubDataSource.kt
voghDev
125,352,944
false
null
/* * Copyright (C) 2018 <NAME>. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
5
Kotlin
2
10
860788cebfa6d0563e8c4de9611c0daeca492a1b
1,043
PlayBattlegrounds
Apache License 2.0
tvcontrol-client/app/src/main/java/ca/alejandrobicelis/tvcontrolclient/communication/Client.kt
abicelis
298,690,183
false
null
package ca.alejandrobicelis.tvcontrolclient.communication import android.util.Log import org.java_websocket.client.WebSocketClient import org.java_websocket.handshake.ServerHandshake import java.lang.Exception import java.net.URI /** * Created by abicelis on 2020-10-11 */ class Client(uri: URI, serverMessageProcess...
0
Kotlin
0
0
690f2727d70e33711de1b20f375fffeefd41af1d
934
DellTVControl
MIT License
relateddigital-android/src/main/java/com/relateddigital/relateddigital_android/inapp/inappmessages/OnSwipeTouchListener.kt
relateddigital
379,568,070
false
null
package com.relateddigital.relateddigital_android.inapp.inappmessages import android.annotation.SuppressLint import android.content.Context import android.view.GestureDetector import android.view.GestureDetector.SimpleOnGestureListener import android.view.MotionEvent import android.view.View import android.view.View.O...
0
null
2
6
471c7bf580e98675ad7b684bc81dd27eb55fa5ff
1,691
relateddigital-android
Amazon Digital Services License
app/src/main/java/com/ardentsoft/weather/demo/di/modules/NetworkModule.kt
ravi1805
512,244,393
false
{"Kotlin": 56386, "Java": 1905}
package com.ardentsoft.weather.demo.di.modules import android.app.Application import com.ardentsoft.weather.demo.netowrkservice.INetworkClientService import com.ardentsoft.weather.demo.netowrkservice.NetworkClientFactory import dagger.Module import dagger.Provides import javax.inject.Singleton @Module class NetworkMo...
0
Kotlin
0
0
e21a53573f6ff17086cc35ae2e6e8daf57c00948
569
WeatherAppDemo
Apache License 2.0
src/main/kotlin/uk/gov/justice/digital/assessments/api/CheckboxGroupDto.kt
ministryofjustice
289,880,556
false
null
package uk.gov.justice.digital.assessments.api import io.swagger.v3.oas.annotations.media.Schema import uk.gov.justice.digital.assessments.jpa.entities.refdata.GroupEntity import uk.gov.justice.digital.assessments.jpa.entities.refdata.QuestionGroupEntity import java.util.UUID data class CheckboxGroupDto( @Schema(de...
2
Kotlin
1
1
9a85b22bde5ba94c6cd2c915e224253eb2130ee7
1,383
hmpps-assessments-api
MIT License
chatdemo/src/main/java/com/brightpattern/Extensions.kt
ServicePattern
335,368,082
false
null
package com.brightpattern inline fun <reified R> ifNotNull(vararg values: Any?, block: (List<Any>) -> R?): R? { values.forEach { element -> if (element == null) return null } return block(values.filterNotNull()) }
4
Kotlin
0
1
2782465a7721693ee752cc5ea2e7efa98e8430d1
234
MobileAPI_Android
MIT License
graphql-dgs-codegen-core/src/integTest/kotlin/com/netflix/graphql/dgs/codegen/cases/inputWithDefaultValueForEnum/expected/types/Color.kt
Netflix
317,379,776
false
{"Kotlin": 1149646, "Python": 7680, "Java": 5969, "Makefile": 982, "Dockerfile": 246}
package com.netflix.graphql.dgs.codegen.cases.inputWithDefaultValueForEnum.expected.types public enum class Color { red, }
78
Kotlin
90
167
9161bc9ea648b96eae509ce62d32d7c66034647a
126
dgs-codegen
Apache License 2.0
komapper-core/src/main/kotlin/org/komapper/core/template/expression/ExprNodeFactory.kt
komapper
349,909,214
false
{"Kotlin": 2922039, "Java": 57131}
package org.komapper.core.template.expression import java.util.concurrent.ConcurrentHashMap interface ExprNodeFactory { fun get(expression: String): ExprNode fun clearCache() } class CacheExprNodeFactory : ExprNodeFactory { private val cache = ConcurrentHashMap<String, ExprNode>() override fun get(ex...
11
Kotlin
14
301
9fbc0b5652ee732583e977180cdc493e116e1022
710
komapper
Apache License 2.0
app/src/main/java/com/nisaefendioglu/newsapp/ui/main/MainViewModel.kt
nisaefendioglu
432,163,789
false
null
package com.nisaefendioglu.newsapp.ui.main import android.util.Log import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.nisaefendioglu.newsapp.data.model.NewsArticle import com.nisaefendioglu.newsapp.data.mod...
0
Kotlin
0
7
3340ed841e5358c4438e813954c8c6461297ab48
5,946
iNews
MIT License
kspprocessor/src/main/kotlin/com/typedpath/unittestof/kspprocessor/UnitTestOfKspSymbolProcessorProvider.kt
typedpath
565,979,433
false
null
package com.typedpath.unittestof.kspprocessor import com.google.devtools.ksp.processing.SymbolProcessor import com.google.devtools.ksp.processing.SymbolProcessorEnvironment import com.google.devtools.ksp.processing.SymbolProcessorProvider class UnitTestOfKspSymbolProcessorProvider : SymbolProcessorProvider { over...
0
Kotlin
0
0
47500ee544412bf72a45390853fea18b48a7cbb7
555
unittestof
Apache License 2.0
app/src/main/java/com/yasinskyi/android/edu2/data/network/entity/ImageResponse.kt
Rickderard
626,540,120
false
null
package com.yasinskyi.android.edu2.data.network.entity import com.google.gson.annotations.SerializedName data class ImageResponse( @SerializedName("url") val imageUrl: String?, @SerializedName("format") val format: ImageFormat?, )
0
Kotlin
0
7
3472d1a340d0c36e004d5651e726675018182316
249
NYTimes-News-Android-App
Apache License 2.0
frogocoreconsumeapi/src/main/java/com/frogobox/coreapi/movie/model/TvEpisodeAccountStateRated.kt
frogobox
389,577,716
false
null
package com.frogobox.coreapi.movie.model data class TvEpisodeAccountStateRated( val value: Int? )
0
Kotlin
2
7
1dd90a037f9acb2ba30066f753d35f7b909621a6
102
frogo-consume-api
Apache License 2.0
Android/app/src/main/java/dev/gabrielhenrique/tiratime/MainActivity.kt
Gaabrielhs
600,611,847
false
null
package dev.gabrielhenrique.tiratime import android.os.Bundle import android.util.Log import androidx.activity.ComponentActivity import androidx.activity.compose.setContent import androidx.activity.viewModels import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Spacer import andro...
0
Kotlin
0
0
fbd07a0811e4f4ec82a459333ce7a509564415bb
6,794
ConvocadosDaSelecao
MIT License
composeApp/src/commonMain/kotlin/dev/vengateshm/compose/multiplatform/mobile/samples/location/CurrentLocationApp.kt
vengateshm
842,145,794
false
{"Kotlin": 33051, "Swift": 1250}
package dev.vengateshm.compose.multiplatform.mobile.samples.location import androidx.compose.material.MaterialTheme import androidx.compose.runtime.Composable import androidx.compose.runtime.LaunchedEffect import androidx.compose.runtime.remember import androidx.compose.ui.Modifier import dev.jordond.compass.geocoder....
0
Kotlin
0
0
fc9891ecc04b4e60541c80f8c5649de253cb855c
1,629
ComposeMultiplatformMobileOnlySamples
Apache License 2.0
app/src/main/kotlin/dev/aaa1115910/bv/component/controllers/TopController.kt
aaa1115910
571,702,700
false
null
package dev.aaa1115910.bv.component.controllers import androidx.compose.foundation.background import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Spacer import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.foundation.layout.height import androidx.compose...
27
Kotlin
63
655
9cb56b133981715d149329200c9f4c43920761e3
1,883
bv
MIT License
app/src/main/java/com/example/gymrat/model/UserData.kt
Faokunn
746,999,154
false
{"Kotlin": 55916}
package com.example.gmyrat.model data class UserData ( var userName:String )
0
Kotlin
0
0
17f0810e2db7c38040a41e2fe70059c70d0895fc
80
gymrat-app
Apache License 2.0
data/src/test/java/dev/mslalith/focuslauncher/data/repository/AppDrawerRepoTest.kt
mslalith
453,114,601
false
null
package dev.mslalith.focuslauncher.data.repository import android.content.Context import androidx.room.Room import androidx.test.core.app.ApplicationProvider import app.cash.turbine.testIn import com.google.common.truth.Truth.assertThat import dev.mslalith.focuslauncher.androidtest.shared.CoroutineTest import dev.msla...
8
Kotlin
5
40
3298e2505e9f3eb6f8760b603586bd8c60d065e4
3,898
focus_launcher
Apache License 2.0
src/main/kotlin/lonefox/muhcannons/MuhcannonsDataGenerator.kt
OneLoneFox
817,477,001
false
{"Kotlin": 38656, "Java": 6651}
package lonefox.muhcannons import net.fabricmc.fabric.api.datagen.v1.DataGeneratorEntrypoint import net.fabricmc.fabric.api.datagen.v1.FabricDataGenerator import net.fabricmc.fabric.api.datagen.v1.FabricDataOutput import net.fabricmc.fabric.api.datagen.v1.provider.FabricTagProvider import net.fabricmc.fabric.api.datag...
0
Kotlin
0
0
c6ce9ce739b4783fa61f0ad714bb96cb71a56788
1,247
muh-cannons
Creative Commons Zero v1.0 Universal
core/src/test/kotlin/main/operation/RemoteAdd_test.kt
elect86
364,643,104
false
null
package main.operation import main.Remote import main.SimpleGit import kotlin.test.Test class RemoteAdd_test : SimpleGit() { @Test fun `remote with given name and push-fetch urls is added`() { val remote = Remote(name = "newRemote", url = "http://fetch.url/", ...
1
Kotlin
1
2
f5f28edfee6a2683ce5da5ea8fdc4e1ba32a3f33
550
gik
Apache License 2.0
src/main/java/com/icoder0/groom/dialog/WebsocketManagerDialog.kt
ICoder0
335,169,108
false
null
package com.icoder0.groom.dialog import com.icoder0.groom.component.WebsocketSettingsManager import com.icoder0.groom.configurable.WebsocketConfigurable import com.icoder0.groom.util.IdeUtils import com.intellij.notification.NotificationType import com.intellij.openapi.options.ex.SingleConfigurableEditor import com.in...
0
Kotlin
0
3
a5f69e4932ce96f64fb844e660480a18e15d62a1
2,515
groom
MIT License
archive/451/solve.kt
daniellionel01
435,306,139
false
null
/* === #451 Modular inverses - Project Euler === Consider the number 15. There are eight positive numbers less than 15 which are coprime to 15: 1, 2, 4, 7, 8, 11, 13, 14. The modular inverses of these numbers modulo 15 are: 1, 8, 4, 13, 2, 11, 7, 14 because 1 · 1 mod 15=1 2 · 8=16 mod 15=1 4 · 4=16 mod 15=1 7 · 13=9...
0
Kotlin
0
1
1ad6a549a0a420ac04906cfa86d99d8c612056f6
693
euler
MIT License
database/src/androidUnitTest/kotlin/tech/antibytes/keather/database/DatabaseFactoryTest.kt
bitPogo
762,226,385
false
{"Kotlin": 372029, "JavaScript": 7070, "Swift": 6863, "C": 194, "HTML": 184, "SCSS": 91}
/* * Copyright (c) 2024 <NAME> (bitPogo) / All rights reserved. * * Use of this source code is governed by Apache v2.0 */ package tech.antibytes.keather.database import android.content.Context import io.mockk.mockk import org.junit.Test import tech.antibytes.util.test.isNot class DatabaseFactoryTest { @Test ...
0
Kotlin
0
0
93853ebf1ec3068940198ae799327c5fe16e31e1
592
keather
Apache License 2.0
ackpine-core/src/main/kotlin/ru/solrudev/ackpine/impl/installer/session/IntentBasedInstallSession.kt
solrudev
641,599,463
false
{"Kotlin": 393565, "Java": 56454}
/* * Copyright (C) 2023-2024 Ilya Fomichev * * 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...
6
Kotlin
7
55
75f834b048bb1f50aea6eb5fdf9c25bffae6d26e
7,529
Ackpine
Apache License 2.0
app/src/main/java/org/p2p/wallet/common/crypto/keystore/KeyStoreWrapper.kt
p2p-org
306,035,988
false
null
package org.p2p.wallet.common.crypto.keystore import org.p2p.solanaj.utils.crypto.Hex import java.security.KeyStore import javax.crypto.Cipher private const val ANDROID_KEY_STORE = "AndroidKeyStore" class KeyStoreWrapper(private val encoderDecoder: EncoderDecoder) { private val keyStore: KeyStore = KeyStore.get...
16
Kotlin
6
14
9cf97a5edd8be594ed301c88788d71ea20483571
1,877
p2p-wallet-android
MIT License
src/test/kotlin/eZmaxApi/models/DiscussionResponseTest.kt
eZmaxinc
271,950,932
false
{"Kotlin": 6909939}
/** * * Please note: * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * Do not edit this file manually. * */ @file:Suppress( "ArrayInDataClass", "EnumEntryName", "RemoveRedundantQualifierName", "UnusedImport" ) package eZmaxApi.models import io.kotlintest.sh...
0
Kotlin
0
0
961c97a9f13f3df7986ea7ba55052874183047ab
2,503
eZmax-SDK-kotlin
MIT License
app/src/main/java/br/com/movieapp/movie_search_feature/presentation/MovieSearchViewModel.kt
LeoDiasDev
874,309,011
false
{"Kotlin": 181905}
package br.com.movieapp.movie_search_feature.presentation import androidx.compose.runtime.getValue import androidx.compose.runtime.mutableStateOf import androidx.compose.runtime.setValue import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import androidx.paging.PagingConfig import androidx.pag...
0
Kotlin
0
0
a7492d47da1f12144015c8ffcbfb91fc5c4331a1
1,464
movie-app
MIT License
android-app/src/main/java/com/github/aivanovski/testwithme/android/entity/db/ExecutionData.kt
aivanovski
815,197,496
false
{"Kotlin": 149302}
package com.github.aivanovski.testwithme.android.entity.db import androidx.room.ColumnInfo import androidx.room.Entity import androidx.room.PrimaryKey @Entity("execution_data") data class ExecutionData( @PrimaryKey(autoGenerate = true) @ColumnInfo("id") val id: Long? = null, @ColumnInfo("job_uid") ...
0
Kotlin
0
0
786719cbda096569f75c1233df3e74c40095a6f2
563
test-with-me
Apache License 2.0
core/src/main/java/com/theone/mvvm/core/base/request/IRequest.kt
Theoneee
473,409,123
false
{"Kotlin": 616409, "Java": 410498}
package com.theone.mvvm.core.base.request import androidx.lifecycle.LiveData import com.kunminx.architecture.ui.callback.ProtectedUnPeekLiveData import com.theone.mvvm.core.data.entity.ErrorInfo // ┏┓   ┏┓ //┏┛┻━━━┛┻┓ //┃       ┃ //┃   ━   ┃ //┃ ┳┛ ┗┳ ┃ //┃       ┃ //┃   ┻   ┃ //┃       ┃ //┗━┓   ┏━┛ // ┃   ┃ ...
0
Kotlin
4
6
66e7dd671635352c8039bc3bf47a715620347448
787
QMUI-MVVM
Apache License 2.0
app/src/main/java/com/kev/weatherapp/data/dto/Forecast.kt
kev87ian
572,980,515
false
{"Kotlin": 26397}
package com.kev.weatherapp.data.dto import com.google.gson.annotations.SerializedName data class Forecast( @SerializedName("forecastday") val forecastday: List<Forecastday> )
0
Kotlin
0
0
5fe3d82ca7f2737283019797696e28c78eeee2db
185
WeatherApp
Apache License 2.0
src/main/java/com/pixelbin/transformation/Transformation.kt
pixelbin-io
670,017,640
false
{"Kotlin": 161476}
package com.pixelbin.transformation import com.pixelbin.transformation.TransformationObj import com.pixelbin.transformation.type.DbtDetect import com.pixelbin.transformation.type.AfRemove import com.pixelbin.transformation.type.AwsrekDetectlabels import com.pixelbin.transformation.type.AwsrekModeration imp...
0
Kotlin
0
0
51609ec14f26bb753bf30b64e20ccb314a8eb85a
34,058
pixelbin-kotlin-sdk
MIT License
example/src/main/kotlin/org/hertsig/app/di/CustomScope.kt
jorn86
482,737,547
false
null
package org.hertsig.app.di import org.hertsig.dirk.scope.Scope import kotlin.reflect.KClass class CustomScope : Scope { override fun <T : Any> getScoped(key: KClass<T>, provider: () -> T): T { provider() return provider() } override fun clear() {} }
0
Kotlin
0
0
c8aa733cc184fb9b37f85fde5293378dd4676b8b
280
dirk
MIT License
app/src/main/java/jp/hazuki/yuzubrowser/download2/ui/fragment/DownloadListFragment.kt
smoochiee
116,390,450
true
{"Kotlin": 1490578, "Java": 925986, "HTML": 166191, "CSS": 4856, "JavaScript": 934}
/* * Copyright (C) 2017-2018 Hazuki * * 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...
0
Kotlin
0
0
a8898cd2d92b81180921b2535e4d3da32ab8d06c
6,636
YuzuBrowser
Apache License 2.0
src/jvmMain/kotlin/com/sdercolin/vlabeler/ui/dialog/preferences/PreferencesDialog.kt
sdercolin
503,365,242
false
null
package com.sdercolin.vlabeler.ui.dialog.preferences import androidx.compose.foundation.background import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.material.Surface import androidx.compose.runtime.Composable import androidx.compose.runtime.reme...
2
Kotlin
12
85
4941e4ffce9d1d398f7f6baa3a392476244e7f88
1,930
vlabeler
Apache License 2.0
rewrite-test/src/main/kotlin/org/openrewrite/java/dataflow/FindLocalFlowPathsStringTest.kt
sumodgeorge
499,122,200
true
{"INI": 2, "Gradle Kotlin DSL": 29, "Shell": 6, "Markdown": 8, "Git Attributes": 1, "Batchfile": 2, "Text": 6, "Ignore List": 3, "Kotlin": 487, "Java": 893, "YAML": 30, "JSON": 2, "ANTLR": 19, "Groovy": 2, "XML": 1}
/* * Copyright 2022 the original author or authors. * <p> * 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 * <p> * https://www.apache.org/licenses/LICENSE-2.0 * <p> * Unless required by...
0
Java
0
0
bb6808a543e8de6cfc81d33f83e71ac15f901464
24,850
rewrite
Apache License 2.0
airbyte-cdk/java/airbyte-cdk/db-sources/src/main/kotlin/io/airbyte/cdk/integrations/source/relationaldb/state/LegacyStateManager.kt
tim-werner
511,419,970
false
{"Java Properties": 8, "Shell": 57, "Markdown": 1170, "Batchfile": 1, "Makefile": 3, "JavaScript": 31, "CSS": 9, "Python": 4183, "Kotlin": 845, "Java": 723, "INI": 10, "Dockerfile": 27, "HTML": 7, "SQL": 527, "PLpgSQL": 8, "TSQL": 1, "PLSQL": 2}
/* * Copyright (c) 2023 Airbyte, Inc., all rights reserved. */ package io.airbyte.cdk.integrations.source.relationaldb.state import io.airbyte.cdk.integrations.source.relationaldb.CdcStateManager import io.airbyte.cdk.integrations.source.relationaldb.models.DbState import io.airbyte.cdk.integrations.source.relationa...
1
null
1
1
b2e7895ed3e1ca7c1600ae1c23578dd1024f20ff
4,436
airbyte
MIT License
clients/ktorm-schema/generated/src/main/kotlin/org/openapitools/database/models/CreateRunRequest.kt
oapicf
529,246,487
false
{"Markdown": 6348, "YAML": 73, "Text": 16, "Ignore List": 52, "JSON": 1138, "Makefile": 3, "JavaScript": 1042, "F#": 585, "XML": 468, "Shell": 47, "Batchfile": 10, "Scala": 2313, "INI": 31, "Dockerfile": 17, "Maven POM": 22, "Java": 6356, "Emacs Lisp": 1, "Haskell": 39, "Swift": 263, "Ruby": 555, "OASv3-yaml": 19, "Cab...
/** * OpenAI API * The OpenAI REST API. Please see https://platform.openai.com/docs/api-reference for more details. * * The version of the OpenAPI document: 2.0.0 * Contact: <EMAIL> * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not ed...
2
Java
0
4
c04dc03fa17b816be6e9a262c047840301c084b6
11,308
openapi-openai
MIT License
src/main/kotlin/de/smartsquare/squit/mediatype/xml/XmlDiffer.kt
SmartsquareGmbH
106,281,604
false
null
package de.smartsquare.squit.mediatype.xml import de.smartsquare.squit.mediatype.Differ import de.smartsquare.squit.mediatype.MediaTypeConfig import org.xmlunit.builder.DiffBuilder import org.xmlunit.builder.Input import java.io.ByteArrayInputStream /** * [Differ] for xml. */ class XmlDiffer(private val mediaTypeCo...
6
Kotlin
0
6
278245c3b3c9090d36b2fd011d19885aa3ef715c
808
squit
MIT License
app/src/androidTest/kotlin/sample/kotlin/project/core/MainAndroidTest.kt
Anna-Sentyakova
239,825,048
false
null
package sample.kotlin.project.core import androidx.annotation.CallSuper import androidx.test.core.app.ActivityScenario import androidx.test.rule.ActivityTestRule import org.junit.Rule import sample.kotlin.project.presentation.activities.main.MainActivity import java.io.IOException abstract class MainAndroidTest : And...
0
Kotlin
0
1
37b57a5dd22bf5e106ecd8a28cf24cbdd7cb5819
579
projekt
Apache License 2.0
src/main/kotlin/org/hydev/back/geoip/GeoLiteDB.kt
one-among-us
427,395,024
false
null
package org.hydev.back.geoip import com.maxmind.geoip2.DatabaseReader import com.maxmind.geoip2.record.Country import com.maxmind.geoip2.record.Traits import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.withContext import org.hydev.back.countryCodeToEmoji import org.hydev.back.div import org.hydev.back.dow...
0
Kotlin
3
2
0a3428642ec6fc7467f6a8bb2f4f6f2691ce2ccc
3,295
backend
MIT License
tests/src/test/java/de/quantummaid/mapmaid/regression/tests/MapMaidFactory.kt
quantummaid
228,895,012
false
{"Java": 1984557, "Kotlin": 152197}
package de.quantummaid.mapmaid.regression.tests import com.google.gson.Gson import de.quantummaid.mapmaid.MapMaid import de.quantummaid.mapmaid.builder.MarshallerAndUnmarshaller import de.quantummaid.mapmaid.mapper.marshalling.Marshaller import de.quantummaid.mapmaid.mapper.marshalling.MarshallingType import de.quantu...
29
Java
1
5
348ed54a2dd46ffb66204ae573f242a01acb73c5
5,117
mapmaid
Apache License 2.0