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
data/persistence/settings/settings-api/src/main/kotlin/com/francescsoftware/weathersample/data/persistence/settings/api/AppSettingsDataSource.kt
fvilarino
355,724,548
false
{"Kotlin": 586637, "Shell": 60}
package com.francescsoftware.weathersample.data.persistence.settings.api import kotlinx.coroutines.flow.Flow interface AppSettingsDataSource { val settings: Flow<AppSettings> suspend fun setTheme(appTheme: AppTheme) suspend fun setUseDynamicColor(useDynamicColor: Boolean) }
1
Kotlin
1
41
c8b50381cc0f4687024c48cd88610a77a8235a48
290
Weather-Sample
Apache License 2.0
app/src/main/java/com/hakmar/employeelivetracking/features/bs_store/domain/usecase/StartGeneralShiftUseCase.kt
enginemre
584,733,724
false
null
package com.hakmar.employeelivetracking.features.bs_store.domain.usecase import com.hakmar.employeelivetracking.features.bs_store.domain.model.Timer import com.hakmar.employeelivetracking.features.bs_store.domain.repository.BsStoreRepository import com.hakmar.employeelivetracking.util.Resource import kotlinx.coroutine...
0
Kotlin
0
0
5e348e0a5aac89b4e60607a14a4ef9bbd68545a5
612
employee_live_tracking
The Unlicense
src/main/kotlin/kvalidator/rules/IsNumeric.kt
gillesbraun
356,614,943
true
{"Kotlin": 77192}
package kvalidator.rules import kotlinx.serialization.json.JsonObject import kotlinx.serialization.json.JsonPrimitive import kotlinx.serialization.json.doubleOrNull public class IsNumeric : Rule() { override val name: String = "numeric" public override fun validate(data: JsonObject?, attribute: String): Bool...
0
Kotlin
0
1
d6612befcceb92228f7267934d805a7059ee684a
742
kvalidator
MIT License
domain/src/main/java/com/adca/domain/model/PlayerEntity.kt
AdriCardenas
256,154,725
false
{"Kotlin": 18361}
package com.adca.domain.model import androidx.room.Entity import androidx.room.PrimaryKey @Entity(tableName = "Player") data class PlayerEntity( @PrimaryKey(autoGenerate = true) val id: Int = 0, val name: String )
0
Kotlin
0
1
8c0445b101ab3f3531c34c29ea23cf8cbec7d0a8
223
Players
Apache License 2.0
components/common/src/main/kotlin/com/hotels/styx/EventLoopGroups.kt
ExpediaGroup
106,841,635
false
null
/* Copyright (C) 2013-2023 Expedia Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in wri...
5
null
79
253
ce98188c60a9b8fcf70314451bd28401ea294a4f
1,249
styx
Apache License 2.0
src/main/kotlin/io/tesfy/Engine.kt
tesfy
269,146,592
false
null
package io.tesfy import io.tesfy.config.Config import io.tesfy.config.Datafile import io.tesfy.config.Experiment class Engine( datafile: Datafile, var userId: String?, var attributes: Map<String, Any>, private val storage: Storage<String>?, _cache: Map<String, String> = emptyMap() ) { private...
0
Kotlin
0
7
5b0aed9a997de38ff9307873953c334446b5b884
3,506
tesfy-kotlin
MIT License
src/main/kotlin/io/stacrypt/kryptoaddressvalidator/cryptocurrency/doge.kt
Stacrypt
365,729,471
false
null
package io.stacrypt.kryptoaddressvalidator.cryptocurrency import io.stacrypt.kryptoaddressvalidator.ChainType import io.stacrypt.kryptoaddressvalidator.Network enum class DogeCoinNetwork : Network { Mainnet, Testnet } @ExperimentalUnsignedTypes fun UByteArray.getDogeCoinAddressType(): DogeCoinNetwork? { ...
0
Kotlin
0
1
203fcd59944e4e3dce2a644ecaa7972dca65aa7b
518
krypto-address-validator
MIT License
src/main/kotlin/io/stacrypt/kryptoaddressvalidator/cryptocurrency/doge.kt
Stacrypt
365,729,471
false
null
package io.stacrypt.kryptoaddressvalidator.cryptocurrency import io.stacrypt.kryptoaddressvalidator.ChainType import io.stacrypt.kryptoaddressvalidator.Network enum class DogeCoinNetwork : Network { Mainnet, Testnet } @ExperimentalUnsignedTypes fun UByteArray.getDogeCoinAddressType(): DogeCoinNetwork? { ...
0
Kotlin
0
1
203fcd59944e4e3dce2a644ecaa7972dca65aa7b
518
krypto-address-validator
MIT License
rxhttp-compiler/src/main/java/com/rxhttp/compiler/DomainVisitor.kt
AndroidMrYang
424,847,216
true
{"Kotlin": 305834, "Java": 301636}
package com.rxhttp.compiler import com.rxhttp.compiler.exception.ProcessingException import com.squareup.javapoet.ClassName import com.squareup.javapoet.MethodSpec import rxhttp.wrapper.annotation.Domain import java.util.* import javax.lang.model.element.Modifier import javax.lang.model.element.VariableElement class ...
0
null
0
0
3cd441c6369e9cd077d9787166468a3b5a92189d
1,867
rxhttp
Apache License 2.0
app/src/main/java/ke/co/tulivuapps/hobbyhorsetours/data/repository/PopularRepositoryImpl.kt
brendenozie
685,892,586
false
{"Kotlin": 881307}
package ke.co.tulivuapps.hobbyhorsetours.data.repository import ke.co.tulivuapps.hobbyhorsetours.data.model.popular.PopularResponse import ke.co.tulivuapps.hobbyhorsetours.data.model.popular.ResultPopular import ke.co.tulivuapps.hobbyhorsetours.data.remote.source.PopularRemoteDataSource import ke.co.tulivuapps.hobbyho...
0
Kotlin
0
0
571d2c7ee98bc76d9f88cd7b9c6cb2bfe7991aff
1,056
HobbyHorseToursAndroidApp
Apache License 2.0
plugins/gradle/testSources/org/jetbrains/plugins/gradle/properties/GradlePropertiesFileTest.kt
ingokegel
72,937,917
true
null
// Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. package org.jetbrains.plugins.gradle.properties import com.intellij.openapi.util.io.FileUtil import com.intellij.testFramework.LightPlatformTestCase import org.junit.Test import java.io.File import ...
1
null
1
2
b07eabd319ad5b591373d63c8f502761c2b2dfe8
3,451
intellij-community
Apache License 2.0
advent2022/src/main/kotlin/year2022/Day16.kt
bulldog98
572,838,866
false
{"Kotlin": 132847}
class Day16 : AdventDay(2022, 16) { data class ValveNode( val name: String, val flowRate: Int, val neighbors: List<String>, val distanceMap: MutableMap<String, Int> = mutableMapOf() ) { companion object { fun of(input: String): ValveNode = ValveNode( ...
0
Kotlin
0
0
922919e9c6b8485fa290b94b4ca5a9a234023584
4,432
advent-of-code-2022
Apache License 2.0
mobile/src/main/java/de/lemke/nakbuch/data/database/Migration_v5_db_3_4.kt
Lemkinator
475,012,572
false
null
package de.lemke.nakbuch.data.database import android.content.ContentValues import android.content.Context import android.database.sqlite.SQLiteDatabase import androidx.room.migration.Migration import androidx.sqlite.db.SimpleSQLiteQuery import androidx.sqlite.db.SupportSQLiteDatabase import dagger.hilt.android.qualif...
0
Kotlin
0
5
223393f95e28232fdeb898056c781b462b2d74b5
15,396
NAK-Buch
MIT License
src/main/kotlin/io/github/recipestore/repository/RecipeRepository.kt
AahzBrut
302,587,602
false
null
package io.github.recipestore.repository import io.github.recipestore.domain.Recipe import org.springframework.data.r2dbc.repository.Modifying import org.springframework.data.r2dbc.repository.Query import org.springframework.data.repository.reactive.ReactiveCrudRepository import reactor.core.publisher.Flux import reac...
0
Kotlin
0
1
47b29469c48f7caa5813e20b92d7fb460299125d
1,019
recipestore
MIT License
cva-common/src/main/kotlin/com/_2horizon/cva/common/dialogflow/dto/RichContentButtonItem.kt
esowc
264,099,974
false
null
package com._2horizon.cva.common.dialogflow.dto import com.fasterxml.jackson.annotation.JsonProperty data class RichContentButtonItem( @JsonProperty("text") val text: String, @JsonProperty("link") val link: String? = null, @JsonProperty("icon") val icon: RichContentIcon? = null, @JsonPr...
3
Kotlin
1
1
e3cf8d9b5f8c76c8c0138b47d24ee91eb3043f82
455
ECMWF-Conversational-Virtual-Assistant
MIT License
src/main/kotlin/de/kotlincook/extfunc/ExtFuns.kt
kotlincook
150,322,795
false
{"Maven POM": 1, "Text": 2, "Ignore List": 1, "Markdown": 1, "Kotlin": 26, "Java": 2}
package de.kotlincook.extfuns import java.math.BigDecimal import java.text.SimpleDateFormat enum class Currency { EURO } data class Amount(val value: BigDecimal, val currency: Currency) val Double.bd: BigDecimal get() { return BigDecimal(this) } val BigDecimal.euro: Amount get() = Amount(thi...
0
Kotlin
0
0
6eb3714521150c769bc5e5b9c4a2325a704b7814
957
livedemo
Apache License 2.0
idea/testData/kotlinAndJavaChecker/javaWithKotlin/InnerClassWithoutName.kt
JakeWharton
99,388,807
false
null
class Test5 { inner class In1 {} inner class }
0
null
28
83
4383335168338df9bbbe2a63cb213a68d0858104
54
kotlin
Apache License 2.0
data/src/main/kotlin/com/myapp/data/usecase/LoginWebScrapingSite.kt
commandiron
469,654,453
false
{"Kotlin": 313466}
package com.myapp.data.usecase import com.myapp.data.repo.MyRepo import org.intellij.lang.annotations.Flow import javax.inject.Inject import org.openqa.selenium.Point class LoginWebScrapingSite @Inject constructor( private val myRepo: MyRepo ) { suspend operator fun invoke(windowPositionX: Float, windowPositi...
0
Kotlin
1
3
25af3bea781c60aa6a11bda0e9b48fac4ae1230f
396
EstateFeasibilityDesktopApplication
Apache License 2.0
src/jvmMain/kotlin/baaahs/sm/bridge/SimulatorBridge.kt
baaahs
174,897,412
false
{"Kotlin": 4815967, "C": 1529197, "C++": 661363, "GLSL": 412779, "JavaScript": 61944, "HTML": 56242, "CMake": 30499, "CSS": 4340, "Shell": 2381, "Python": 1450}
package baaahs.sm.bridge import baaahs.Pluggables import baaahs.PubSub import baaahs.net.JvmNetwork import baaahs.plugin.PluginContext import baaahs.plugin.SimulatorPlugin import baaahs.sm.brain.proto.Ports import baaahs.util.SystemClock import io.ktor.server.websocket.* import kotlinx.coroutines.CoroutineScope import...
88
Kotlin
6
40
36ebcd9fcb15d4a895dbd98e83fdae92a71fec1c
5,139
sparklemotion
MIT License
src/main/kotlin/com/JavaSnakes/util/GridPos.kt
TakingItCasual
180,385,488
false
null
package com.javasnakes.util import java.lang.RuntimeException import kotlinx.serialization.Serializable @Serializable class GridPos(var x: Int = 0, var y: Int = 0) { constructor(other: GridPos): this(other.x, other.y) companion object { var boardW: Int? = null var boardH: Int? = null } ...
0
Kotlin
0
0
0aa7ca3dfee4fdc2a36e6da1614032d473563817
1,725
JavaSnakes
MIT License
mvi/mvi-base/src/main/java/com/hoc/flowmvi/mvi_base/MviViewModel.kt
Kotlin-Android-Open-Source
343,622,644
false
null
package com.hoc.flowmvi.mvi_base import kotlinx.coroutines.flow.Flow import kotlinx.coroutines.flow.StateFlow /** * Object that will subscribes to a MviView's [MviIntent]s, * process it and emit a [MviViewState] back. * * @param I Top class of the [MviIntent] that the [MviViewModel] will be subscribing to. * @pa...
4
null
12
95
09d9ef5d45972c2b1f22459ffe07358013fca742
657
Jetpack-Compose-MVI-Coroutines-Flow
MIT License
app/src/main/java/com/mito/stockarticle/ui/list/ArticleListScreen.kt
mitohato14
352,246,137
false
{"Kotlin": 34613}
package com.mito.stockarticle.ui.list import androidx.compose.animation.animateContentSize import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.PaddingValues import androidx.compose....
0
Kotlin
0
2
ed2b11ab7ce4bb3fa814d591c933d675ec28e8c8
7,048
StockArticle
Apache License 2.0
compiler/testData/codegen/box/callableReference/property/nullableExtensionProperty.kt
JetBrains
3,432,266
false
{"Kotlin": 79571273, "Java": 6776465, "Swift": 4063829, "C": 2609744, "C++": 1957654, "Objective-C++": 175279, "JavaScript": 130754, "Python": 59855, "Shell": 34920, "Objective-C": 21463, "Lex": 21452, "Batchfile": 11382, "CSS": 11368, "Ruby": 10470, "Dockerfile": 9907, "Groovy": 7092, "EJS": 5241, "CMake": 4473, "HTML...
var result = "" class A val A?.foo: String get() = "O" val <T> T?.bar: String get() = "K" fun box(): String { val a = A?::foo result += a(null) val b = Int?::bar result += b(null) return result }
181
Kotlin
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
228
kotlin
Apache License 2.0
app/src/main/java/ch/famoser/mensa/repositories/tasks/RefreshUZHMensaTask.kt
famoser
197,584,090
false
null
package ch.famoser.mensa.repositories.tasks import ch.famoser.mensa.events.MensaUpdatedEvent import ch.famoser.mensa.models.Mensa import ch.famoser.mensa.services.providers.AbstractMensaProvider import ch.famoser.mensa.services.providers.UZHMensaProvider import org.greenrobot.eventbus.EventBus import java.util.* clas...
5
Kotlin
7
7
9d1f0b367e8b546689e9f535ecf785a0dd38f1af
917
Mensa
MIT License
neonbutton/src/main/java/studio/karo/neonbutton/NeonButton.kt
karostudio
287,063,323
false
null
package studio.karo.neonbutton import android.content.Context import android.content.res.Resources import android.content.res.TypedArray import android.graphics.* import android.graphics.drawable.BitmapDrawable import android.graphics.drawable.Drawable import android.util.AttributeSet import android.util.DisplayMetric...
1
Kotlin
1
9
0e734f04aed1c617c114a2d860c89562a552926b
10,133
NeonButton
MIT License
adaptive-core/src/jvmMain/kotlin/fun/adaptive/utility/lock.jvm.kt
spxbhuhb
788,711,010
false
{"Kotlin": 2318583, "Java": 24560, "HTML": 7875, "JavaScript": 3880, "Shell": 687}
/* * Copyright © 2020-2024, Simplexion, Hungary and contributors. Use of this source code is governed by the Apache 2.0 license. */ package hu.simplexion.adaptive.utility import java.util.concurrent.locks.ReentrantLock actual fun getLock(): Lock = JvmLock() internal class JvmLock : Lock { private val mut...
34
Kotlin
0
3
e7d8bb8682a6399675bc75d2976b862268d20fb5
455
adaptive
Apache License 2.0
src/test/kotlin/com/br/zup/pix/remove/RemoveKeyEndpointTest.kt
lucasbof
360,264,882
true
{"Kotlin": 104354}
package com.br.zup.pix.remove import com.br.zup.ProtoRemoveKeyRequest import com.br.zup.ProtoRemoveKeyServiceGrpc import com.br.zup.integration.bcb.CentralBankClient import com.br.zup.integration.bcb.removePixKey.DeletePixKeyRequest import com.br.zup.integration.bcb.removePixKey.DeletePixKeyResponse import com.br.zup....
0
Kotlin
0
0
1e4bf4e9a159ad35298f6eab061f038f4f12ebe1
5,380
orange-talents-02-pix-keymanager-grpc
Apache License 2.0
app/src/main/java/com/peter/azure/ui/greeting/InfoDialog.kt
peterdevacc
649,972,321
false
{"Kotlin": 302811}
/* * Copyright (c) 2023 洪振健 All rights reserved. */ package com.peter.azure.ui.greeting import androidx.compose.foundation.background import androidx.compose.foundation.layout.* import androidx.compose.material3.MaterialTheme import androidx.compose.material3.Text import androidx.compose.material3.TextButton import...
0
Kotlin
0
0
eee1d8b81b2a5c1c67aad29bf6889211bb53e517
3,178
Azure
Apache License 2.0
app/src/main/java/be/digitalia/fosdem/activities/SettingsActivity.kt
cbeyls
15,915,146
false
{"Kotlin": 333002}
package be.digitalia.fosdem.activities import android.os.Bundle import androidx.fragment.app.commit import be.digitalia.fosdem.R import be.digitalia.fosdem.fragments.SettingsFragment import dagger.hilt.android.AndroidEntryPoint @AndroidEntryPoint class SettingsActivity : SimpleToolbarActivity() { override fun on...
13
Kotlin
91
134
3e8e7dcdb8c225e2d765168213e03215a02d15b0
869
fosdem-companion-android
Apache License 2.0
demo/kotlin/src/main/kotlin/Seasons.kt
cosinekitty
180,022,816
false
{"YAML": 4, "Text": 236, "Ignore List": 34, "Markdown": 409, "Gradle Kotlin DSL": 6, "Batchfile": 19, "Shell": 45, "INI": 6, "Java": 10, "Microsoft Visual Studio Solution": 6, "XML": 33, "C#": 19, "CSS": 2, "HTML": 34, "JavaScript": 30, "C": 56, "Checksums": 4, "C++": 15, "Kotlin": 12, "JSON with Comments": 1, "JSON": ...
import io.github.cosinekitty.astronomy.* /** * Print the times of the equinoxes and solstices for a calendar year. * * @param year * The calendar year value for which to find equinoxes and solstices. */ internal fun `Seasons demo`(year: Int): Int { val s = seasons(year) println("March equinox : ${s.ma...
25
C
63
471
dcbafa32d194d65c7fea6a5879ffb163f6d0c80d
516
astronomy
MIT License
app/src/main/java/com/shopapp/ui/splash/di/SplashModule.kt
rubygarage
105,554,295
false
null
package com.shopapp.ui.splash.di import com.shopapp.domain.interactor.cart.CartValidationUseCase import com.shopapp.ui.splash.contract.SplashPresenter import com.shopapp.ui.splash.router.SplashRouter import dagger.Module import dagger.Provides @Module class SplashModule { @Provides fun provideSplashRouter():...
6
Kotlin
100
148
133b0060626a064b437683c3f0182d2bb3066bdb
494
shopapp-android
Apache License 2.0
app/src/androidTest/java/com/xpense/android/TestHelper.kt
mir47
449,853,512
false
{"Kotlin": 145158, "Ruby": 3107}
package com.xpense.android import android.content.Context import androidx.compose.material.ExperimentalMaterialApi import androidx.compose.ui.test.junit4.ComposeContentTestRule import com.xpense.android.ui.XpenseApp /** * Launches the app from a test context */ @ExperimentalMaterialApi fun ComposeContentTestRule.la...
37
Kotlin
1
0
4b17590c171c847751131bed316e5074089429cf
472
xpense
MIT License
src/main/kotlin/ru/qiwi/devops/mission/control/service/health/cluster/ClusterHealthReceiver.kt
qiwi
329,911,226
false
null
package ru.qiwi.devops.mission.control.service.health.cluster import java.time.Duration interface ClusterHealthReceiver { fun onSuccess(duration: Duration) fun onError(duration: Duration) fun <T> decorate(f: () -> T): T { val start = System.nanoTime() try { val result = f() ...
1
Kotlin
1
1
a5b4a1dc716841bbf0439fa309e3a2b85bbeb1d3
647
k8s-mission-control
MIT License
presentation/src/main/java/com/example/movieapp/presentation/model/CastUI.kt
Ahnset
539,038,324
false
{"Kotlin": 138435}
package com.example.movieapp.presentation.model data class CastUI( val id: Int, val name: String, val profilePath: String? )
0
Kotlin
2
3
a5ddc921f8f4df80cc13f17284015086fe6112b0
138
movieapp
Apache License 2.0
apps/mobile_app/src/main/kotlin/dev/marlonlom/apps/mocca/feats/twopane/CalculatorAndSettingsRoute.kt
marlonlom
700,962,032
false
{"Kotlin": 115473}
/* * Copyright 2023 Marlonlom * SPDX-License-Identifier: Apache-2.0 */ package dev.marlonlom.apps.mocca.feats.twopane import android.content.Intent import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Row import androidx.compose.foundation.layout.fillMaxSize import androidx.co...
0
Kotlin
0
0
c09c08648fd2dea1351be1e39e21881d63fd432b
3,850
mocca
Apache License 2.0
app/src/main/java/com/kaiwolfram/nozzle/data/room/dao/PostDao.kt
kaiwolfram
559,341,150
false
null
package com.kaiwolfram.nozzle.data.room.dao import androidx.room.* import com.kaiwolfram.nozzle.data.room.entity.PostEntity import com.kaiwolfram.nozzle.model.RepostPreview @Dao interface PostDao { /** * Sorted from newest to oldest */ @Query( "SELECT * " + "FROM post " + ...
0
Kotlin
4
25
a84bd7cb4a2caaf58739a31638c2246737ec8396
3,241
Nozzle
MIT License
app/src/main/java/com/revolgenx/anilib/ui/viewmodel/review/ReviewComposerViewModel.kt
rev0lgenX
244,410,204
false
null
package com.revolgenx.anilib.ui.viewmodel.review import androidx.lifecycle.MediatorLiveData import androidx.lifecycle.ViewModel import com.revolgenx.anilib.data.field.review.ReviewField import com.revolgenx.anilib.data.model.review.ReviewModel import com.revolgenx.anilib.infrastructure.repository.util.Resource import ...
3
Kotlin
1
24
355d2b5510682d869f18e0113453237af8a1f1cc
1,398
AniLib
Apache License 2.0
app/src/test/java/com/alvaromr/marvel/interactor/GetMarvelCharacterListImplTest.kt
alvaromr
380,383,960
false
null
package com.alvaromr.marvel.interactor import com.alvaromr.marvel.model.MarvelCharacter import com.alvaromr.marvel.repository.MarvelCharacterRepository import com.alvaromr.marvel.utils.Logger import kotlinx.coroutines.ExperimentalCoroutinesApi import kotlinx.coroutines.flow.flow import kotlinx.coroutines.test.runBlock...
0
Kotlin
0
1
f6bcb27cc51aa5839f13537ed55fc3ec6703acc6
2,161
marvel_android
Attribution Assurance License
app/shared/state-machine/ui/public/src/commonMain/kotlin/build/wallet/statemachine/status/AppFunctionalityStatusUiStateMachineImpl.kt
proto-at-block
761,306,853
false
{"C": 10474259, "Kotlin": 8243078, "Rust": 2779264, "Swift": 893661, "HCL": 349246, "Python": 338898, "Shell": 136508, "TypeScript": 118945, "C++": 69203, "Meson": 64811, "JavaScript": 36398, "Just": 32977, "Ruby": 13559, "Dockerfile": 5934, "Makefile": 3915, "Open Policy Agent": 1552, "Procfile": 80}
package build.wallet.statemachine.status import androidx.compose.runtime.Composable import build.wallet.availability.ConnectivityCause import build.wallet.availability.EmergencyAccessMode import build.wallet.availability.F8eUnreachable import build.wallet.availability.InactiveApp import build.wallet.availability.Inter...
3
C
16
113
694c152387c1fdb2b6be01ba35e0a9c092a81879
2,199
bitkey
MIT License
inappmessaging/src/test/java/com/rakuten/tech/mobile/inappmessaging/runtime/view/InAppMessageModalViewSpec.kt
rakutentech
253,402,688
false
{"Kotlin": 738651, "Shell": 1497, "Ruby": 63}
package com.rakuten.tech.mobile.inappmessaging.runtime.view import android.graphics.Color import android.widget.Button import android.widget.CheckBox import android.widget.LinearLayout import androidx.core.graphics.ColorUtils import androidx.test.core.app.ApplicationProvider import com.nhaarman.mockitokotlin2.verify ...
1
Kotlin
10
7
355909da73f163ef90ff72944447d7a3cbe5ae9f
3,907
android-inappmessaging
MIT License
app/src/main/java/com/example/deamhome/data/repository/DefaultUserRepository.kt
S-OSTeam
686,905,420
false
{"Kotlin": 67631}
package com.example.deamhome.data.repository import com.example.deamhome.domain.model.ApiResponse import com.example.deamhome.domain.model.UserProfile import com.example.deamhome.domain.repository.UserRepository import kotlinx.coroutines.CoroutineDispatcher import kotlinx.coroutines.Dispatchers // 나중에 유저이름, 유저프로필, 앱 ...
0
Kotlin
0
0
753cf19f1ad7e492876b3ed31c96150bd17050e5
823
shop-app
MIT License
generator/src/main/kotlin/com/robohorse/robopojogenerator/properties/JsonItem.kt
robohorse
69,096,198
false
{"Kotlin": 149232}
package com.robohorse.robopojogenerator.properties import org.json.JSONArray import org.json.JSONObject internal sealed class JsonModel( open val key: String ) { data class JsonItem( override val key: String, val jsonObject: JSONObject ) : JsonModel(key) data class JsonItemArray( ...
10
Kotlin
84
717
4aab6db1d9f26770f29ed68c026fd4bc6567d303
409
RoboPOJOGenerator
MIT License
sample/src/main/java/com/leon/album/DirectorySpinner.kt
xyz-fly
271,235,280
false
null
package com.leon.album import android.content.Context import android.text.format.DateFormat import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.BaseAdapter import android.widget.ListAdapter import androidx.appcompat.widget.ListPopupWindow import com.bumptech....
0
Kotlin
0
0
ee53e2797acbe23dd0887a0496b142e2b08896dd
2,513
AlbumCore
Apache License 2.0
src/test/kotlin/io/snyk/plugin/ui/toolwindow/SnykAuthPanelIntegTest.kt
snyk
117,852,067
false
{"Kotlin": 1054870, "Java": 67741, "JavaScript": 9475, "SCSS": 3094, "HCL": 562}
package io.snyk.plugin.ui.toolwindow import com.intellij.openapi.application.ApplicationManager import com.intellij.testFramework.LightPlatform4TestCase import com.intellij.testFramework.replaceService import io.mockk.every import io.mockk.mockk import io.mockk.mockkStatic import io.mockk.unmockkAll import io.mockk.ve...
8
Kotlin
32
52
576936c7be6606488b38b050d2fea52deb701c2d
4,132
snyk-intellij-plugin
Apache License 2.0
korge-sandbox/src/samples/MainGifAnimation.kt
korlibs
80,095,683
false
{"Kotlin": 4210038, "C": 105670, "C++": 20878, "HTML": 3853, "Swift": 1371, "JavaScript": 1068, "Shell": 439, "CMake": 202, "Batchfile": 41, "CSS": 33}
package samples import korlibs.korge.scene.* import korlibs.korge.view.* import korlibs.korge.view.animation.* import korlibs.image.format.* class MainGifAnimation : Scene() { override suspend fun SContainer.sceneMain() { val imageData = korlibs.io.file.std.resourcesVfs["200.gif"] .readImageDa...
464
Kotlin
123
2,497
1a565007ab748e00a4d602fcd78f7d4032afaf0b
514
korge
Apache License 2.0
features/main/business/src/main/kotlin/com/muffls/tap/main/business/domain/AddTapUseCase.kt
philipphofmann
235,364,253
false
null
package com.muffls.tap.main.business.domain import com.muffls.common.business.UUIDGenerator import com.muffls.tap.main.business.entities.Tap import com.muffls.time.CurrentTime import javax.inject.Inject class AddTapUseCase @Inject constructor( private val tapRepository: TapRepository, private val uuidGenerato...
0
Kotlin
0
0
da22df6a291a880490da9a39180a29cc00911e05
492
reactive-clean-architecture
Apache License 2.0
app/src/main/java/com/aljon/trackloader/data/entities/DatabaseTrack.kt
ajcordenete
262,252,786
false
null
package com.aljon.trackloader.data.entities import androidx.room.ColumnInfo import androidx.room.Entity import androidx.room.PrimaryKey import java.util.* /** * Database entity to be used for offline cache mechanism */ @Entity data class DatabaseTrack( @PrimaryKey @ColumnInfo(name = "trackId") val trackId:...
0
Kotlin
0
1
2893de002f7d4e8b7dfd32f4160facb01f94a9dd
656
TrackLoader
Apache License 2.0
vyne-core-types/src/main/java/com/orbitalhq/schemas/Service.kt
orbitalapi
541,496,668
false
{"TypeScript": 9344934, "Kotlin": 5669840, "HTML": 201985, "SCSS": 170620, "HCL": 55741, "Java": 29373, "JavaScript": 24697, "Shell": 8800, "Dockerfile": 7001, "Smarty": 4741, "CSS": 2966, "Mustache": 1392, "Batchfile": 983, "MDX": 884, "PLpgSQL": 337}
package com.orbitalhq.schemas import com.fasterxml.jackson.annotation.JsonIgnore import com.fasterxml.jackson.databind.annotation.JsonDeserialize import com.fasterxml.jackson.databind.annotation.JsonSerialize import com.google.common.base.MoreObjects import com.orbitalhq.VersionedSource import com.orbitalhq.VyneTypes ...
9
TypeScript
10
292
2be59abde0bd93578f12fc1e2ecf1f458a0212ec
17,744
orbital
Apache License 2.0
kompress/src/main/java/net/theluckycoder/kompress/utils/FileChannelExtensions.kt
TheLuckyCoder
365,539,006
false
null
package net.theluckycoder.kompress.utils import java.io.File import java.io.RandomAccessFile import java.nio.channels.FileChannel internal fun File.inputFileChannel(): FileChannel = inputStream().channel internal fun File.outputFileChannel(): FileChannel = outputStream().channel internal fun File.randomAccessFileCh...
0
Kotlin
0
1
67e412a3de9242db983fa2493abd86cccb9d79f7
398
Kompress
Apache License 2.0
src/test/kotlin/de/bringmeister/spring/aws/kinesis/JacksonConfiguration.kt
bringmeister
125,221,797
false
null
package de.bringmeister.spring.aws.kinesis import com.fasterxml.jackson.databind.DeserializationFeature import com.fasterxml.jackson.databind.ObjectMapper import com.fasterxml.jackson.databind.SerializationFeature import com.fasterxml.jackson.module.kotlin.KotlinModule import org.springframework.context.annotation.Bea...
5
Kotlin
6
24
1133096e4355403f50bb38ba46e7a98d7ead450f
822
aws-kinesis-spring-boot-starter
MIT License
idea/tests/testData/inspectionsLocal/branched/ifThenToSafeAccess/call2.kt
JetBrains
278,369,660
false
null
// WITH_STDLIB // HIGHLIGHT: INFORMATION fun convert(x: String, y: String) = "" fun foo(a: Any?, b: String) { <caret>if (a is String) convert(a, b) else null }
1
null
30
82
cc81d7505bc3e9ad503d706998ae8026c067e838
164
intellij-kotlin
Apache License 2.0
app/src/main/java/com/kyungeun/offlinecachingsample/util/NetworkBoundResource.kt
shruddms
570,152,172
false
{"Kotlin": 18820}
package com.kyungeun.offlinecachingsample.util import kotlinx.coroutines.flow.* import timber.log.Timber inline fun <ResultType, RequestType> networkBoundResource( // responsible for getting data from database crossinline query: () -> Flow<ResultType>, // responsible for fetching new data from rest api ...
0
Kotlin
2
3
5c9dfa0fb9d844faccd45d0da0980e60f26cd384
1,839
OfflineCachingSample
Apache License 2.0
business-layer/src/main/java/ru/ar2code/business_layer/usecases/LoginUseCase.kt
ar2code
260,705,668
false
null
package ru.ar2code.business_layer.usecases import android.graphics.Color import ru.ar2code.business_layer_abstract.models.LoginParameters import ru.ar2code.business_layer_abstract.models.UserWithColor import ru.ar2code.business_layer_abstract.repositories.UserCredentialsProvider import ru.ar2code.business_layer_abstra...
0
Kotlin
1
13
e95e53e8130d8137e04709d8053193625fe660c1
2,060
AndroidArchitectureSample
MIT License
app/src/main/java/com/example/zzx/baseadapter/ChildEntity.kt
imurluck
146,958,127
false
{"Java": 64200, "Kotlin": 6841}
package com.example.zzx.baseadapter import android.widget.Button import android.widget.TextView import android.widget.Toast import com.example.library.BaseAdapter import com.example.library.IChildEntity class ChildEntity(name : String) : IChildEntity<ChildEntity>() { private val mChildNam : String = name ov...
1
null
1
1
714d1eeae7664eb4116c5e90f5c3e1436f01b348
1,010
BaseAdapter
Apache License 2.0
TeamCode/src/main/java/org/firstinspires/ftc/teamcode/utils/hardware/Intake.kt
DeerfieldRobotics
689,521,100
false
{"JSON": 1, "Gradle": 7, "Java Properties": 1, "Shell": 1, "Text": 4, "Ignore List": 2, "Batchfile": 1, "Markdown": 8, "Java": 113, "INI": 1, "XML": 11, "Kotlin": 5}
package org.firstinspires.ftc.teamcode.utils.hardware import com.qualcomm.robotcore.hardware.CRServoImplEx import com.qualcomm.robotcore.hardware.DcMotor import com.qualcomm.robotcore.hardware.DcMotorEx import com.qualcomm.robotcore.hardware.DcMotorSimple import com.qualcomm.robotcore.hardware.HardwareMap import com.q...
0
Java
0
1
8916ab5a9a7e4be333b51a03248926b5f3c1cde2
5,307
CenterStage_2024
BSD 3-Clause Clear License
ktorm-support-postgresql/src/main/kotlin/org/ktorm/support/postgresql/Functions.kt
kotlin-orm
159,785,192
false
{"Kotlin": 1312452, "Java": 1980}
/* * Copyright 2018-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
89
Kotlin
147
2,105
601d9a11f45f33bb3d8f637162f6650236a84e89
9,729
ktorm
Apache License 2.0
src/test/kotlin/org/kalasim/examples/atm/ClassicWhatIfAtm.kt
cybernetics
328,781,400
true
{"Jupyter Notebook": 476274, "Kotlin": 211305, "R": 3312}
//ClassicWhatIfAtm.kt import krangl.* import org.apache.commons.math3.distribution.ExponentialDistribution import org.kalasim.Component import org.kalasim.ComponentGenerator import org.kalasim.Resource import org.kalasim.createSimulation import org.kalasim.misc.cartesianProduct import org.koin.core.component.get susp...
0
null
0
0
5d395ad27ae66eb4a06041325e29fa014990a012
1,976
kalasim
MIT License
app/src/test/java/dev/guillem/githubbrowserlab/factory/RepositoryFactory.kt
GuillemRoca
340,439,450
false
null
package dev.guillem.githubbrowserlab.factory import dev.guillem.githubbrowserlab.R import dev.guillem.githubbrowserlab.data.model.RepositoryEntity import dev.guillem.githubbrowserlab.domain.entity.Repository import dev.guillem.githubbrowserlab.presentation.model.RepositoryView object RepositoryFactory { private c...
8
Kotlin
1
0
66b57ab9133a143de2b26a0d25d5b45e958201c3
2,239
github-browser-lab
Apache License 2.0
core/src/commonMain/kotlin/kase/StateCopyUtils.kt
aSoft-Ltd
579,551,052
false
{"Kotlin": 36420}
package kase import kase.progress.ProgressState fun <D> State<D>.loading( message: String, data: D? = this.data, progress: ProgressState? = null ): Loading<D> = if (progress != null) Loading(message, data, progress) else Loading(message, data) fun State<Any?>.executing( message: String, progress:...
1
Kotlin
0
1
9470ae1bea6527f7f5d9b6391f9c69b7d67a9f90
635
kase
MIT License
main/src/main/kotlin/com/github/mictaege/eval/gradle_composite/Bearer.kt
mictaege
84,057,316
false
null
package com.github.mictaege.eval.gradle_composite class Bearer(val type: BearerType)
0
Kotlin
1
0
1b176de5804164fc6cb388efb2fa72f526ee5420
85
eval.gradle_composite
Apache License 2.0
src/rider/main/kotlin/com/github/rafaelldi/diagnosticsclientplugin/services/common/ProtocolSessionController.kt
rafaelldi
487,741,199
false
null
package com.github.rafaelldi.diagnosticsclientplugin.services.common import com.github.rafaelldi.diagnosticsclientplugin.common.liveSessionFinished import com.github.rafaelldi.diagnosticsclientplugin.common.liveSessionNotFound import com.github.rafaelldi.diagnosticsclientplugin.common.liveSessionStarted import com.git...
5
Kotlin
0
4
a0d58002a393adfb6118a0b434bc8d0e1bc61c23
4,573
diagnostics-client-plugin
MIT License
commoncomposeui/src/androidInstrumentedTest/kotlin/uitests/base/authorizedtest/SlackAuthorizedTest.kt
oianmol
528,898,439
false
null
package uitests.base.authorizedtest import dev.baseio.slackdomain.datasources.local.channels.SKLocalDataSourceReadChannels import dev.baseio.slackdomain.usecases.auth.UseCaseFetchAndSaveCurrentUser import dev.baseio.slackdomain.usecases.channels.UseCaseFetchAndSaveChannelMembers import dev.baseio.slackdomain.usecases....
3
null
21
235
143f06c11b757641fd3e67809f57dee9f2ffd04b
2,411
SlackComposeMultiplatform
Apache License 2.0
data/src/main/kotlin/com/vultisig/wallet/data/repositories/BalanceVisibilityRepository.kt
vultisig
789,965,982
false
{"Kotlin": 1481084, "Ruby": 1713}
package com.vultisig.wallet.data.repositories import androidx.datastore.preferences.core.booleanPreferencesKey import com.vultisig.wallet.data.sources.AppDataStore import kotlinx.coroutines.flow.first import javax.inject.Inject internal interface BalanceVisibilityRepository { suspend fun setVisibility(vaultId: St...
58
Kotlin
2
6
98e6a0754d4872ce4d44fa4a631488d4f805397f
853
vultisig-android
Apache License 2.0
app/src/main/java/cn/shycoder/wanandroidapp/presenter/SubKnowledgeSystemPresenterImpl.kt
littledavid-tech
156,313,112
false
null
package cn.shycoder.wanandroidapp.presenter import android.content.Intent import cn.shycoder.wanandroidapp.model.bean.KnowledgeSystemTab import cn.shycoder.wanandroidapp.model.entity.KnowledgeNode import cn.shycoder.wanandroidapp.presenter.base.BasePresenter import cn.shycoder.wanandroidapp.presenter.contract.SubKnowl...
0
Kotlin
0
13
37211469b152f7c0a93b8caf024459ee79dc6283
1,121
WanAndroidApp
Apache License 2.0
app/src/main/java/com/mahmoudgalal/myphoneinvoice/domain/ExportInvoicesUseCase.kt
mahmoudgalal
571,243,306
false
{"Kotlin": 68125, "Java": 7586}
package com.mahmoudgalal.myphoneinvoice.domain import com.mahmoudgalal.myphoneinvoice.common.Mapper import com.mahmoudgalal.myphoneinvoice.data.model.Invoice as DataInvoice import com.mahmoudgalal.myphoneinvoice.data.repository.InvoicesRepository import com.mahmoudgalal.myphoneinvoice.domain.di.IoDispatcher import com...
0
Kotlin
0
1
e598a87ab18b20fd9683f4dc40e9f9db39c76c76
1,162
MyPhoneInvoiceApp
MIT License
src/main/kotlin/com/ffsilva/pontointeligente/response/Response.kt
fsilvafrancisco16
276,275,221
false
null
package com.ffsilva.pontointeligente.response data class Response<T>( val errors: ArrayList<String> = arrayListOf(), var data: T? = null )
0
Kotlin
0
0
ceed3a69fc55aa73cf397c3b83497eb941db6d1f
155
ponto-inteligente-kotlin
MIT License
gpc-utils/mija-validator/src/test/kotlin/pl/mija/validator/ValidKtPositiveTest.kt
jacol84
353,071,400
false
null
package pl.mija.validator import org.junit.jupiter.api.Assertions.assertEquals import org.junit.jupiter.api.Test internal class ValidKtPositiveTest { @Test fun testPositiveWhenIsCorrectedDataThenNotErrorList() { //given val model = Model(5L) //when val validate = validateManag...
0
Kotlin
0
1
fda5b9f65b54f6e7749b56db8ab96aae8dff8626
2,562
mija-gcp
MIT License
tarea_11072023/01_KotlinExamples/app/src/main/java/com/example/a01_kotlinexamples/Persona.kt
malonso-uvg
666,057,021
false
{"Kotlin": 81395, "PHP": 4522, "HTML": 2611, "CSS": 760, "Java": 518}
package com.example.a01_kotlinexamples class Persona (var nombre: String, var apellido: String, var edad: Int)
0
Kotlin
0
1
456bcb3ecc79ab387c2173325a32861ce0e7c6ed
111
ejemplos_ppm2023
MIT License
src/main/java/com/nay/shard/MainActivity.kt
nay-cat
770,097,870
false
{"Kotlin": 14056, "Java": 923}
package com.nay.shard import android.Manifest import android.annotation.SuppressLint import android.app.Activity import android.content.Context import android.content.Intent import android.content.pm.PackageManager import android.graphics.Color import android.net.Uri import android.os.Build import android.os.Bundle im...
0
Kotlin
0
1
0f4a5e0a29d78227d801d65907716aed063b9c0c
12,217
Shard-screenshare-tool
MIT License
app/src/main/java/com/sbeve/jada/ui/fragments/LemmaViewModel.kt
sbeve72
314,803,310
false
{"Kotlin": 59049}
package com.sbeve.jada.ui.fragments import android.util.Log import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.sbeve.jada.models.RecentQuery import com.sbeve.jada.models.lemma.LexicalEntry import com.sbeve...
1
Kotlin
0
21
682d9491c32e1bb9d2d22385c71a3b01c4b3c04e
2,206
JADA
MIT License
thelema-kx/src/commonMain/kotlin/org/ksdfv/thelema/gl/GL.kt
cybernetics
365,452,918
true
{"Kotlin": 3356187, "C": 552354, "Java": 355550, "HTML": 6211, "Makefile": 260}
/* * Copyright 2020 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
0
null
0
0
c274a903f0a4d17e5ef14773efa144ee8c8809dd
37,798
thelema-engine
Apache License 2.0
app/src/main/java/ApiUtility/Models.kt
alifelan
185,747,011
false
null
/* * MIT License * * Copyright (c) 2019 José Luis Felán Villaseñor * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to ...
1
Kotlin
0
1
7a3b90f6a47ded80785fa1dc2d07fb4ecaad1f3f
4,972
LesPaundras_Taxista
MIT License
src/main/kotlin/com/road/rating/domain/model/RateLicenseModel.kt
OmarRuizM1
582,995,154
false
null
package com.road.rating.domain.model import com.road.rating.domain.enums.Assessment data class RateLicenseModel( var id: String, var license: String, val tags: Set<String>, val assessment: Assessment )
0
Kotlin
0
1
b468e5a8a5328ed9114e34a087bf791ceaa567fa
219
roadrating
DOC License
src/main/java/ru/hollowhorizon/hc/common/capabilities/SyncableListImpl.kt
HollowHorizon
450,852,365
false
{"Kotlin": 534641, "Java": 118373, "GLSL": 8074}
@file:Suppress("UnstableApiUsage", "UNCHECKED_CAST") package ru.hollowhorizon.hc.common.capabilities import com.google.common.reflect.TypeToken import kotlinx.serialization.ExperimentalSerializationApi import kotlinx.serialization.KSerializer import kotlinx.serialization.builtins.ListSerializer import kotlinx.seriali...
0
Kotlin
2
14
0ebb1ce35d4c6e286a73902ed5dac60a8a206421
6,643
HollowCore
MIT License
android/src/main/kotlin/io/agora/agorartm/Extensions.kt
AgoraIO
186,933,497
false
null
package io.agora.agorartm import io.agora.rtm.ChannelAttributeOptions import io.agora.rtm.ErrorInfo import io.agora.rtm.LocalInvitation import io.agora.rtm.RemoteInvitation import io.agora.rtm.RtmAttribute import io.agora.rtm.RtmChannelAttribute import io.agora.rtm.RtmChannelMember import io.agora.rtm.RtmChannelMember...
5
null
61
97
79b5b93acc77a379454e6e4c1f2588f624d03952
5,143
Agora-Flutter-RTM-SDK
MIT License
src/main/kotlin/com/github/unix_junkie/dependency_scanner/ContentDetectorUtils.kt
unix-junkie
633,029,338
false
null
@file:JvmName("ContentDetectorUtils") package com.github.unix_junkie.dependency_scanner import org.apache.tika.Tika import org.apache.tika.config.TikaConfig fun <T> withContentDetector( contentDetector: Tika = Tika(TikaConfig.getDefaultConfig()), action: ContentDetectorAware.() -> T ): T = object : ContentDetecto...
0
Kotlin
0
0
be07138e856f53e51e7da29feef70d3c97504f57
396
dependency-scanner
MIT License
core/src/main/kotlin/com/sixtyninefourtwenty/materialdialogsjavawrapper/utils/InternalUtils.kt
unbiaseduser
643,749,577
false
null
/* * Copyright (C) 2023 unbiaseduser (<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 ...
0
Kotlin
0
0
7c56878a622591a6b75b28aa247914033859c495
1,807
material-dialogs-java-wrapper
Apache License 2.0
common/src/commonMain/kotlin/com/artemchep/keyguard/ui/ToastComposable.kt
AChep
669,697,660
false
{"Kotlin": 5254408, "HTML": 45810}
package com.artemchep.keyguard.ui import androidx.compose.animation.AnimatedVisibility import androidx.compose.animation.core.MutableTransitionState import androidx.compose.animation.expandIn import androidx.compose.animation.fadeIn import androidx.compose.animation.fadeOut import androidx.compose.animation.scaleIn im...
57
Kotlin
22
735
4e9809d0252257b9e918e44050570769d9326bc2
11,368
keyguard-app
Linux Kernel Variant of OpenIB.org license
inappmessaging/src/main/java/com/rakuten/tech/mobile/inappmessaging/runtime/workmanager/workers/ConfigWorker.kt
donnie-jp
358,824,345
true
{"Kotlin": 483530}
package com.rakuten.tech.mobile.inappmessaging.runtime.workmanager.workers import android.content.Context import androidx.annotation.VisibleForTesting import androidx.work.Worker import androidx.work.WorkerParameters import com.rakuten.tech.mobile.inappmessaging.runtime.BuildConfig import com.rakuten.tech.mobile.inapp...
0
null
0
0
ee0ae9ba299dd769d7b2553d97abd22c68e3e3a8
4,354
android-inappmessaging
MIT License
compose-mds/src/main/java/ch/sbb/compose_mds/sbbicons/medium/LinkExternalMedium.kt
SchweizerischeBundesbahnen
853,290,161
false
{"Kotlin": 6728512}
package ch.sbb.compose_mds.sbbicons.medium import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap.Companion.Butt import androidx.compose.ui.graphics.StrokeJoin.Companion.Mi...
0
Kotlin
0
1
090a66a40e1e5a44d4da6209659287a68cae835d
2,243
mds-android-compose
MIT License
data/src/main/java/com/gamapp/data/di/RoomModule.kt
aliHosseinNezhad
507,626,994
false
null
package com.gamapp.data.di import android.content.Context import androidx.room.Room import com.gamapp.data.dao.MusicDao import com.gamapp.data.dao.QueueDao import com.gamapp.data.data_source.MusicRoomDatabase import dagger.Module import dagger.Provides import dagger.hilt.InstallIn import dagger.hilt.android.qualifiers...
0
Kotlin
0
2
8eddbdbcd5706072262ed7bd2cf6b2d0a6df6ada
1,137
DMPlayer_public
MIT License
psiSection/practicingPsiProject/psiProjectIntroduction/src/main/kotlin/org/jetbrains/academy/plugin/course/dev/project/FunctionArgumentsExtraction.kt
jetbrains-academy
691,965,440
false
{"Kotlin": 75549}
package org.jetbrains.academy.plugin.course.dev.project import org.jetbrains.kotlin.psi.KtNamedFunction import org.jetbrains.kotlin.psi.KtParameter fun extractFunctionArguments(ktNamedFunction: KtNamedFunction): List<KtParameter> = TODO("Not implemented yet")
0
Kotlin
1
2
b31a4a8a32bd59b3e3aa96fd842b50f39fc989d8
262
intellij-platform-plugin-course
MIT License
LOGIN/app/src/main/java/com/fcfm/poi/yourooms/login/ChatActivity.kt
cyandestructor
400,352,984
false
null
package com.fcfm.poi.yourooms.login import android.Manifest import android.annotation.SuppressLint import android.content.Intent import android.content.pm.PackageManager import android.location.Geocoder import android.net.Uri import android.os.Bundle import android.view.Menu import android.view.MenuItem import android...
0
Kotlin
0
0
e928e504a0bd84fa5df70ca33df20cc005c045fb
11,634
URooms
MIT License
common/src/main/java/com/demo/common/exceptions/DataExistsException.kt
Mithrandir21
415,935,855
false
null
package com.demo.common.exceptions class DataExistsException(private val dataKey: String?) : Exception() { override fun getLocalizedMessage(): String = msg() override fun toString(): String = msg() private fun msg() = when (dataKey) { null -> "Data already exists" else -> "Data already exi...
0
Kotlin
0
0
09eb085fd6428750ce2825b6a7e9403f216742c8
350
demo
Apache License 2.0
sphinx/screens-detail/known-badges/known-badges/src/main/java/chat/sphinx/known_badges/navigation/ToKnownBadges.kt
stakwork
340,103,148
false
{"Kotlin": 4002700, "Java": 403469, "JavaScript": 4745, "HTML": 4706, "Shell": 2453}
package chat.sphinx.known_badges.navigation import androidx.navigation.NavController import chat.sphinx.detail_resources.DetailNavOptions import chat.sphinx.known_badges.R import chat.sphinx.known_badges.ui.KnownBadgesFragmentArgs import io.matthewnelson.concept_navigation.NavigationRequest import io.matthewnelson.and...
99
Kotlin
11
18
01d4be42df107d5e4fa8d2411f5390aeea60ea74
1,043
sphinx-kotlin
MIT License
app/src/main/java/com/hermanowicz/mypantry/data/mapper/StorageLocationMapper.kt
sirconceptz
615,655,539
false
null
package com.hermanowicz.mypantry.data.mapper import com.hermanowicz.mypantry.data.local.model.StorageLocationEntity import com.hermanowicz.mypantry.data.model.StorageLocation fun StorageLocationEntity.toDomainModel() = StorageLocation( id = id, name = name, description = description ) fun StorageLocation...
0
Kotlin
0
1
75128b836de9efb61ee7fd785ed298402a0a430a
424
MyPantry
Apache License 2.0
kontroller/src/test/kotlin/no/ssb/kostra/validation/rule/famvern/famvern52b/Rule008StartDatoTest.kt
statisticsnorway
414,216,275
false
{"Kotlin": 1617964, "TypeScript": 57891, "HTML": 694, "SCSS": 110}
package no.ssb.kostra.validation.rule.famvern.famvern52b import io.kotest.core.spec.style.BehaviorSpec import no.ssb.kostra.area.famvern.famvern52b.Familievern52bColumnNames import no.ssb.kostra.validation.report.Severity import no.ssb.kostra.validation.rule.ForAllRowItem import no.ssb.kostra.validation.rule.KostraTes...
2
Kotlin
0
1
49c0ed46e317bfcb07226ce9ca379f25f9b76b3e
1,536
kostra-kontrollprogram
MIT License
app/src/main/java/ar/edu/unlam/mobile/scaffolding/evolution/ui/core/routes/Routes.kt
unlam-tec-movil
852,521,790
false
{"Kotlin": 212079}
package ar.edu.unlam.mobile.scaffolding.evolution.ui.core.routes import kotlinx.serialization.Serializable @Serializable object SelectComRoute @Serializable object SelectMapRoute @Serializable object SelectPlayerRoute @Serializable object CombatResultRoute @Serializable object CombatScreenRoute @Serializable obj...
10
Kotlin
0
0
8cbacb04567a90e82971ab5daf7d44e04e499733
672
A3-2024-h2-E4
MIT License
app/src/main/java/com/spongycode/songquest/ui/screen/auth/login/LoginScreen.kt
spongycode
739,898,675
false
{"Kotlin": 184688}
package com.spongycode.songquest.ui.screen.auth.login import android.annotation.SuppressLint import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Spacer import androidx.compose.foundation.la...
0
Kotlin
0
8
3afbbfa7a90552e926258e41ddff007e5b9e1e5c
7,598
song-quest
MIT License
common/src/commonMain/kotlin/dev/baseio/slackdata/injection/DataMappersModule.kt
oianmol
528,898,439
false
null
package dev.baseio.slackdata.injection import database.* import dev.baseio.slackdata.mapper.* import dev.baseio.slackdomain.model.channel.DomainLayerChannels import dev.baseio.slackdomain.model.message.DomainLayerMessages import dev.baseio.slackdomain.model.users.DomainLayerUsers import dev.baseio.slackdomain.model.wo...
3
null
21
235
143f06c11b757641fd3e67809f57dee9f2ffd04b
1,949
SlackComposeMultiplatform
Apache License 2.0
order-processing/src/test/kotlin/com/crypton/exchange/processing_v2/TestUtils.kt
rodionaltshuler
583,351,479
false
{"Kotlin": 66829, "Shell": 2004}
package com.crypton.exchange.processing_v2 import org.apache.kafka.streams.TopologyTestDriver import com.crypton.exchange.events.Asset import com.crypton.exchange.events.Wallet fun TopologyTestDriver.fundWallet(walletId: String, amount: Double, blocked: Double = 0.0, vararg assetIds: String) { val walletStore = t...
0
Kotlin
0
1
8e05a6040a9cbcae0a713d16074014488922684a
620
crypton-exchange
MIT License
app/src/androidTestProd/java/sample/books/ui/BooksRobot.kt
annypatel
209,951,354
false
null
package sample.books.ui import androidx.annotation.StringRes import androidx.test.espresso.Espresso.onView import androidx.test.espresso.action.ViewActions.click import androidx.test.espresso.assertion.ViewAssertions.matches import androidx.test.espresso.matcher.ViewMatchers.isDisplayed import androidx.test.espresso.m...
0
Kotlin
0
0
9637b6158cbb8b78052919944c5fbf79076218d9
1,340
BooksSample
Apache License 2.0
src/main/kotlin/com/forgerock/sapi/gateway/ob/uk/support/funds/FundsConfirmationRS.kt
SecureApiGateway
330,627,234
false
{"Kotlin": 1237431, "Java": 2078, "Makefile": 900, "Dockerfile": 464}
package com.forgerock.sapi.gateway.ob.uk.support.funds import com.forgerock.sapi.gateway.framework.data.AccessToken import com.forgerock.sapi.gateway.framework.data.Tpp import com.forgerock.sapi.gateway.framework.http.fuel.jsonBody import com.forgerock.sapi.gateway.framework.http.fuel.responseObject import com.forgero...
8
Kotlin
0
5
d482643dbd93fc171c46971aa1e352ce87cd98dc
2,450
secure-api-gateway-ob-uk-functional-tests
Apache License 2.0
src/main/kotlin/no/nav/hjelpemidler/joark/metrics/Prometheus.kt
navikt
334,088,348
false
{"Kotlin": 155547, "Dockerfile": 132}
package no.nav.hjelpemidler.joark.metrics import io.prometheus.client.CollectorRegistry import io.prometheus.client.Counter object Prometheus { private val collectorRegistry: CollectorRegistry = CollectorRegistry.defaultRegistry val søknadArkivertCounter: Counter = Counter .build() .n...
0
Kotlin
0
1
969561f0b17d7b48c963c93911b292695099b9ed
1,412
hm-joark-sink
MIT License
src/Day09.kt
max-zhilin
573,066,300
false
{"Kotlin": 114003}
import kotlin.math.abs data class Coord(var x: Int, var y: Int) const val dim = 1000 val field = Array(dim) { ByteArray(dim) } val rope = Array(10) { Coord(dim / 2, dim / 2) } var hx = dim / 2 var hy = dim / 2 var tx = dim / 2 var ty = dim / 2 fun moveHead(dir: Char) { when (dir) { 'U' -> hy++ ...
0
Kotlin
0
0
d9dd7a33b404dc0d43576dfddbc9d066036f7326
2,552
AoC-2022
Apache License 2.0
console-framework-client/src/main/java/io/axoniq/console/framework/messaging/AxoniqConsoleWrappedEventScheduler.kt
AxonIQ
682,516,729
false
{"Kotlin": 203029, "Java": 34474}
/* * Copyright (c) 2022-2024. AxonIQ B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
3
Kotlin
0
0
fc1bcaf4baf0bdcf9fc6a00c1114e19c0ed3635f
4,608
console-framework-client
Apache License 2.0
oldAndroidProjects/More Projects/PraticeProjects/Khaata/app/src/main/java/com/shivathapa/khaata/ui/home/HomeScreen.kt
shivathapaa
800,628,391
false
{"Kotlin": 3413631, "Shell": 2341}
package com.shivathapa.khaata.ui.home import androidx.compose.foundation.lazy.LazyListState import androidx.compose.foundation.lazy.rememberLazyListState import androidx.compose.material.icons.Icons import androidx.compose.material.icons.filled.Add import androidx.compose.material3.ExperimentalMaterial3Api import andr...
0
Kotlin
0
0
19185d178bb0ff390c9c2c43adbd9ddefc9a2288
3,408
Android-Practice-Projects
The Unlicense
block-tlb/src/TrComputePhase.kt
ton-community
448,983,229
false
{"Kotlin": 1194581}
@file:Suppress("OPT_IN_USAGE") package org.ton.block import kotlinx.serialization.Serializable import kotlinx.serialization.json.JsonClassDiscriminator import org.ton.tlb.TlbCombinator import org.ton.tlb.TlbObject import org.ton.tlb.providers.TlbCombinatorProvider @Serializable @JsonClassDiscriminator("@type") publi...
21
Kotlin
24
80
7eb82e9b04a2e518182ebfc56c165fbfcc916be9
683
ton-kotlin
Apache License 2.0
src/main/kotlin/com/me/xsf/easycomponent/services/MyProjectService.kt
xsfelvis
392,025,106
false
null
package com.me.xsf.easycomponent.services import com.intellij.openapi.project.Project import com.me.xsf.easycomponent.MyBundle class MyProjectService(project: Project) { init { println(MyBundle.message("projectService", project.name)) } }
0
Kotlin
0
0
7b5f0f23ae13c3582bbd45edb8495db8d1a8fb5a
258
41ASTemplatePlugin
Apache License 2.0
libs/saksbehandling-common/src/main/kotlin/behandling/Navn.kt
navikt
417,041,535
false
null
package no.nav.etterlatte.libs.common.behandling data class Navn(val fornavn: String, val mellomnavn: String? = null, val etternavn: String)
8
Kotlin
0
3
5c79aa753584026a360f097f449e677e2f125759
141
pensjon-etterlatte-saksbehandling
MIT License