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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
app/src/main/java/dev/borisochieng/autocaretag/ui/manage/ClientsUIState.kt | slowburn-404 | 834,040,716 | false | {"Kotlin": 165609} | package dev.borisochieng.autocaretag.ui.manage
import androidx.compose.runtime.Immutable
import dev.borisochieng.autocaretag.database.Client
@Immutable
data class ClientsUIState (
val isLoading: Boolean = false,
val clients: List<Client> = emptyList(),
val errorMessage: String = ""
) | 0 | Kotlin | 2 | 0 | 3daabec4248b584647765cb93a0034c7f0da0c88 | 298 | AutoCareTag | Apache License 2.0 |
app/src/main/java/com/example/vflix/api/main.kt | AmarnathCJD | 687,401,720 | false | {"Kotlin": 318759} | package com.example.vflix.api
const val BACKEND_URL = "https://2584-2001-19f0-5-6dd8-5400-4ff-fecd-cb1e.ngrok-free.app"
| 0 | Kotlin | 3 | 5 | 8b192a7e1b5d57bcd96a803fc8a83d6c8bbdaccd | 121 | VFlix-App | MIT License |
src/test/kotlin/com/buildit/bookit/v1/location/LocationControllerUnitTests.kt | mathomas | 141,497,842 | true | {"Kotlin": 148817, "HTML": 4533} | package com.buildit.bookit.v1.location
import com.buildit.bookit.v1.location.dto.Location
import com.buildit.bookit.v1.location.dto.LocationNotFound
import com.natpryce.hamkrest.assertion.assertThat
import com.natpryce.hamkrest.throws
import com.nhaarman.mockito_kotlin.doReturn
import com.nhaarman.mockito_kotlin.mock
... | 0 | Kotlin | 0 | 1 | 667d1ea514cddc546ca2bfff9fc2228ddde8801d | 1,976 | bookit-api | Apache License 2.0 |
src/main/kotlin/bewis09/bc_notes_and_tasks/BewisclientNotesAndTasks.kt | Bewis09 | 764,284,188 | false | {"Kotlin": 8960, "Java": 1083} | package bewis09.bc_notes_and_tasks
import bewis09.bc_notes_and_tasks.elements.NotesAndTasksOptionsElement
import bewis09.bc_notes_and_tasks.elements.NotesElement
import bewis09.bewisclient.api.KotlinAPIEntryPoint
import bewis09.bewisclient.drawable.InfoElement
import bewis09.bewisclient.drawable.MainOptionsElement
imp... | 0 | Kotlin | 0 | 0 | 0e185bcfc1a7745fe33898ff3edc4e1cbfd54b41 | 1,618 | Bewisclient-Notes-and-Tasks | Creative Commons Zero v1.0 Universal |
app/src/main/java/org/rfcx/incidents/entity/guardian/file/GuardianFileItem.kt | rfcx | 104,899,135 | false | {"Kotlin": 1176262, "Java": 1049} | package org.rfcx.incidents.entity.guardian.file
data class GuardianFileItem(
val remote: GuardianFile?,
val local: GuardianFile?,
val status: FileStatus
)
enum class FileStatus { NOT_DOWNLOADED, UP_TO_DATE, NEED_DOWNLOAD, NO_INTERNET }
| 30 | Kotlin | 0 | 0 | cbcb9402733a959104aff97f26d04244b73bc109 | 250 | guardian-app-android | Apache License 2.0 |
custom_qr_generator/src/main/java/com/github/alexzhirkevich/customqrgenerator/vector/dsl/QrHighlightingBuilderScope.kt | alexzhirkevich | 499,697,906 | false | null | package com.github.alexzhirkevich.customqrgenerator.vector.dsl
import com.github.alexzhirkevich.customqrgenerator.HighlightingType
import com.github.alexzhirkevich.customqrgenerator.IAnchorsHighlighting
sealed interface QrHighlightingBuilderScope : IAnchorsHighlighting {
override var cornerEyes: HighlightingType
... | 4 | Kotlin | 11 | 87 | a9f915118f836e28d27ea5ba30ac135b585e3dd7 | 445 | custom-qr-generator | MIT License |
services/csm.cloud.project.project/src/main/kotlin/com/bosch/pt/iot/smartsite/project/taskschedule/facade/rest/resource/response/factory/TaskScheduleListResourceFactory.kt | boschglobal | 805,348,245 | false | {"Kotlin": 13156190, "HTML": 274761, "Go": 184388, "HCL": 158560, "Shell": 117666, "Java": 52634, "Python": 51306, "Dockerfile": 10348, "Vim Snippet": 3969, "CSS": 344} | /*
* ************************************************************************
*
* Copyright: <NAME> Power Tools GmbH, 2018 - 2023
*
* ************************************************************************
*/
package com.bosch.pt.iot.smartsite.project.taskschedule.facade.rest.resource.response.factory
i... | 0 | Kotlin | 3 | 9 | 9f3e7c4b53821bdfc876531727e21961d2a4513d | 1,149 | bosch-pt-refinemysite-backend | Apache License 2.0 |
src/main/kotlin/ua/mei/minekord/bot/extensions/SetupExtension.kt | MeiNanziiii | 868,405,158 | false | {"Kotlin": 29053, "Java": 3833} | package ua.mei.minekord.bot.extensions
import dev.kord.common.entity.Snowflake
import dev.kord.core.behavior.channel.createWebhook
import dev.kord.core.entity.channel.TextChannel
import dev.kord.rest.Image
import dev.kordex.core.extensions.Extension
import io.ktor.client.HttpClient
import kotlinx.coroutines.flow.first... | 0 | Kotlin | 0 | 1 | 524e627440f691116161b0cf3ac96b624c59959d | 1,228 | Minekord | Creative Commons Zero v1.0 Universal |
src/main/kotlin/com/cbrew/chart/Tree.kt | cbrew | 248,690,438 | false | {"Kotlin": 147469, "ANTLR": 8870, "Vue": 8502, "HTML": 303, "Dockerfile": 123} | package com.cbrew.chart
import com.cbrew.unify.FeatureMap
sealed class Tree
data class Node(val category: FeatureMap, val children: List<Tree>) : Tree()
data class Leaf(val category: FeatureMap, val terminals: Array<String>) : Tree()
fun Tree.treestring(nTabs: Int): String =
treeparts(nTabs).joinToString(sep... | 1 | Kotlin | 0 | 0 | 16c4e42911782595e419f38c23796ce34b65f384 | 684 | quadruplet | Apache License 2.0 |
feature/reptileDetails/presentation/src/main/java/com/gigauri/reptiledb/module/feature/reptileDetails/presentation/state/ReptileDetailsState.kt | george-gigauri | 758,816,993 | false | {"Kotlin": 331680} | package com.gigauri.reptiledb.module.feature.reptileDetails.presentation.state
import com.gigauri.reptiledb.module.core.domain.common.ErrorType
import com.gigauri.reptiledb.module.feature.reptileDetails.domain.model.Distribution
import com.gigauri.reptiledb.module.feature.reptileDetails.domain.model.ReptileFull
data ... | 0 | Kotlin | 0 | 2 | f256dcd2ba9e4d88135a5399c5b2a71ddff454d0 | 509 | herpi-android | Apache License 2.0 |
app/src/main/java/com/mohsenoid/abcwatch/AbcWatchApplication.kt | mohsenoid | 628,608,460 | false | null | package com.mohsenoid.abcwatch
import android.app.Application
import org.koin.android.ext.koin.androidContext
import org.koin.android.ext.koin.androidLogger
import org.koin.core.context.startKoin
class AbcWatchApplication : Application() {
override fun onCreate() {
super.onCreate()
startKoin {
... | 0 | Kotlin | 0 | 6 | 1dac7c7e3cc4c6010d491ea9e828f7d141e1966a | 447 | AbcWatch | Apache License 2.0 |
src/test/kotlin/task/WorstDayTaskRepositoryTest.kt | holunda-io | 280,261,722 | false | null | package io.holunda.funstuff.lumberghini.task
import io.holunda.funstuff.lumberghini.properties.LumberghiniConfigurationProperties
import io.holunda.funstuff.lumberghini.properties.TaskDataConfiguration.Colleague
import io.holunda.funstuff.lumberghini.test.WorstDayProcessFixtures.TaskDataConfigurations
import org.asser... | 8 | Kotlin | 1 | 2 | 9407e485603ae8560b0ee068d6c6a521293f820c | 2,057 | lumberghini | Apache License 2.0 |
app/src/main/java/com/example/compose_player/ui/view/home/HomeViewModel.kt | ViditSavaliya19 | 838,452,309 | false | {"Kotlin": 33851} | package com.example.compose_player.ui.view.home
import android.app.Notification
import android.app.PendingIntent
import android.content.Context
import android.net.Uri
import android.util.Log
import androidx.annotation.OptIn
import androidx.compose.runtime.MutableState
import androidx.compose.runtime.mutableStateOf
imp... | 0 | Kotlin | 0 | 1 | 4bf8288226c686307470cbcaed3a40e42e030e50 | 7,755 | Compose_Player | MIT License |
src/jsMain/kotlin/components/DatePicker.kt | simonsimles | 470,204,258 | false | {"Kotlin": 99713, "Dockerfile": 225} | package components
import de.simles.timetracker.YearMonth
import de.simles.timetracker.YearWeek
import de.simles.timetracker.toYearMonth
import de.simles.timetracker.toYearWeek
import kotlinx.html.InputType
import kotlinx.html.id
import kotlinx.html.js.onChangeFunction
import org.w3c.dom.HTMLInputElement
import react.... | 0 | Kotlin | 0 | 0 | eaecae0abb2878e8f56726d44b307f75be0c47e3 | 1,897 | timetracker | MIT License |
GitToolBox/src/main/kotlin/zielu/gittoolbox/metrics/AppMetrics.kt | taker006 | 279,415,378 | true | {"Markdown": 1, "Java Properties": 3, "Shell": 1, "Batchfile": 1, "HTML": 2, "Kotlin": 238, "Java": 176, "INI": 4} | package zielu.gittoolbox.metrics
import zielu.gittoolbox.util.AppUtil
internal interface AppMetrics : Metrics {
companion object {
@JvmStatic
fun getInstance(): Metrics {
return AppUtil.getServiceInstance(AppMetrics::class.java)
}
}
}
| 0 | null | 0 | 0 | 88386fb76f8dfcae3eb363e4f94c235aa0eb76b7 | 259 | GitToolBox | Apache License 2.0 |
PrimFastKotlin/KotlinAction/app/src/main/java/com/prim/gkapp/data/page/EventsData.kt | annocjx | 248,767,646 | true | {"Python": 628830, "Java": 293115, "HTML": 159403, "JavaScript": 157080, "Kotlin": 131915, "CSS": 45863, "Dart": 39473, "Objective-C": 5647, "Shell": 3784, "PHP": 2469, "CMake": 1603} | package com.prim.gkapp.data.page
import com.prim.gkapp.data.model.Events
import com.prim.gkapp.data.model.User
import com.prim.gkapp.network.service.EventsService
import com.prim.lib_base.utils.format
import io.reactivex.Observable
import java.util.*
/**
* @desc
* @author prim
* @time 2019-07-03 - 11:08
* @versio... | 0 | null | 0 | 0 | b435ca4bd2d0c682c7b40f2b856d7b36af8da7c9 | 719 | Awsome-Android-Advanced | Apache License 2.0 |
felles/src/main/kotlin/no/nav/familie/kontrakter/felles/oppgave/FinnMappeRequest.kt | navikt | 206,793,193 | false | null | package no.nav.familie.kontrakter.felles.oppgave
data class FinnMappeRequest(
val tema: List<String>? = null,
val enhetsnr: String,
val opprettetFom: String? = null,
val limit: Int = 1000
)
| 5 | Kotlin | 0 | 2 | 7f218f3c15be62cd438c690c6d4a670afe73fd65 | 207 | familie-kontrakter | MIT License |
qrreader_app/android/app/src/main/kotlin/com/woowrale/qrreader_app/MainActivity.kt | cadb-craftsman | 199,340,139 | false | {"Dart": 230894, "Swift": 7676, "Kotlin": 4580, "Ruby": 4062, "HTML": 3855, "Objective-C": 714} | package com.woowrale.qrreader_app
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| 0 | Dart | 0 | 0 | ece3c2c3f2523f6fa2fbc87a08a1c80898aecb61 | 130 | flutter-labs | MIT License |
src/commonMain/kotlin/com/wizbii/cinematic/journey/presentation/screen/universes/PreviewUniversesComponent.kt | wizbii | 762,402,623 | false | {"Kotlin": 149036, "Ruby": 465, "Swift": 60} | package com.wizbii.cinematic.journey.presentation.screen.universes
import com.wizbii.cinematic.journey.domain.entity.Universe
import com.wizbii.cinematic.journey.domain.entity.UniverseId
import com.wizbii.cinematic.journey.presentation.component.top.bar.PreviewTopBarComponent
import kotlinx.coroutines.flow.MutableStat... | 5 | Kotlin | 0 | 2 | cf322bcee0fd9ae6fe745d8d57e1ef429fbb9c24 | 984 | CinematicJourney | Apache License 2.0 |
framework-integrations-extensions/room/src/main/java/com/grarcht/shuttle/framework/integrations/extensions/room/ShuttleRoomDbConfig.kt | grarcht | 330,873,493 | false | {"Kotlin": 230444} | package com.grarcht.shuttle.framework.integrations.extensions.room
import android.content.Context
/**
* The config used in configuring the database.
*/
data class ShuttleRoomDbConfig(val context: Context)
| 0 | Kotlin | 1 | 46 | 33e7c58ba634b33234b383dcf4a497e96001558a | 209 | Shuttle | MIT License |
libA/src/main/java/package_A_1/Foo_A_11.kt | lekz112 | 118,451,085 | false | null | package package_A_1
class Foo_A_11 {
fun foo0() {
var i=0
i+=Math.random().toInt()
i+=Math.random().toInt()
i+=Math.random().toInt()
i+=Math.random().toInt()
i+=Math.random().toInt()
i+=Math.random().toInt()
i+=Math.random().toInt()
i+=Math.random().toInt()
i+=Math.random().toInt()
i+=Math.random().toInt()
i+=Math.rand... | 0 | Kotlin | 0 | 0 | 8182b7f6e92f9d65efb954c32ca640fe50ae6b79 | 579 | ModuleTest | Apache License 2.0 |
aparcamientoswear/src/main/java/com/sergiop/aparcamientos/ui/activitys/listparking/ListParkingActivity.kt | SerPamplona | 440,244,808 | false | {"Kotlin": 157611} | package com.sergiop.aparcamientos.ui.activitys.listparking
import android.os.Bundle
import android.util.Log
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.foundation.layout.*
import androidx.compose.runtime.mutableStateListOf
import androidx.compose.runti... | 0 | Kotlin | 0 | 0 | 771a5913cd407463c66653382117b94e5cf5fad6 | 5,744 | aparcamientosDisca | Apache License 2.0 |
MusicDrops/backend/src/main/java/com/crazy/musicdrops/backend/service/IMusicDropsService.kt | loreBart | 263,750,521 | false | {"Kotlin": 82854} | package com.crazy.musicdrops.backend.service
import com.crazy.musicdrops.model.MusicDrop
import java.util.UUID
interface IMusicDropsService {
suspend fun getMusicDrop(id: UUID): MusicDrop
suspend fun getMusicDrops(userId: UUID): List<MusicDrop>
suspend fun insertMusicDrop(drop: MusicDrop): UUID
su... | 0 | Kotlin | 0 | 0 | dad5c5e02c4dce888cf564ef2b4241c26784acac | 415 | music-drops | MIT License |
backend/src/test/kotlin/me/elgregos/escapecamp/game/application/GameServiceTest.kt | GregoryBevan | 622,671,393 | false | {"Kotlin": 164771, "TypeScript": 14059, "Gherkin": 8115, "HTML": 522, "JavaScript": 403, "CSS": 319} | package me.elgregos.escapecamp.game.application
import assertk.assertThat
import assertk.assertions.isEqualTo
import io.mockk.every
import io.mockk.mockk
import me.elgregos.escapecamp.game.domain.entity.*
import me.elgregos.reakteves.domain.projection.ProjectionStore
import reactor.core.publisher.Mono
import reactor.t... | 9 | Kotlin | 0 | 0 | 0173cd81af49686c54d1e3009893549006f1e9e3 | 1,462 | escape-camp | MIT License |
src/main/kotlin/mara/server/exception/UserException.kt | DDD-Community | 728,030,267 | false | {"Kotlin": 114234, "Shell": 1330} | package mara.server.exception
class UserException() {
companion object {
const val NO_SUCH_USER = "해당 유저가 존재하지 않습니다"
}
}
class InvalidDeployStatusException(message: String) : RuntimeException(message) {
companion object {
const val INVALID_DEPLOY_STATUS = "유효하지 않은 배포 상태 값 입니다."
}
}
| 4 | Kotlin | 3 | 6 | f2ea2b8dd3f9f928e78607c6da377bee8ec30fa7 | 317 | fridge-link-server | MIT License |
src/test/kotlin/chat/willow/warren/extension/monitor/handler/MonitorEndOfListHandlerTests.kt | WillowChat | 31,275,375 | false | null | package chat.willow.warren.extension.monitor.handler
import org.junit.Before
class MonitorEndOfListHandlerTests {
private lateinit var sut: MonitorEndOfListHandler
@Before fun setUp() {
sut = MonitorEndOfListHandler()
}
} | 5 | Kotlin | 2 | 8 | e4c538ad1e1dfcbd227a3a170cda4d8b162446a3 | 250 | Warren | ISC License |
app/src/main/java/musicboxd/android/data/remote/api/musicboxd/model/user/SignUpDTO.kt | MusicBoxd | 793,151,068 | false | {"Kotlin": 532615} | package musicboxd.android.data.remote.api.musicboxd.model.user
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
data class SignUpDTO(
@SerialName("name")
val userProfileName: String,
val username: String,
val password: String
)
| 0 | Kotlin | 0 | 2 | 499f56faeaf6208982b618ef75743e6c4d4e829a | 293 | android | MIT License |
src/testIntegration/kotlin/uk/gov/justice/digital/hmpps/sendlegalmailtoprisonsapi/cjsm/CjsmDirectoryRepositoryTest.kt | ministryofjustice | 424,655,284 | false | {"Kotlin": 401563, "Shell": 4020, "JavaScript": 2567, "Dockerfile": 1381} | package uk.gov.justice.digital.hmpps.sendlegalmailtoprisonsapi.cjsm
import org.assertj.core.api.Assertions.assertThat
import org.junit.jupiter.api.Test
import uk.gov.justice.digital.hmpps.sendlegalmailtoprisonsapi.IntegrationTest
class CjsmDirectoryRepositoryTest : IntegrationTest() {
@Test
fun `find by unique c... | 4 | Kotlin | 0 | 4 | 515845aaeb3b03215a0e4fbfb64d2ed2b81c49ac | 938 | send-legal-mail-to-prisons-api | MIT License |
composeApp/src/commonMain/kotlin/app/ui/theme/icons/SortIcon.kt | AndroBrain | 742,366,538 | false | {"Kotlin": 106748, "Swift": 594} | package app.ui.theme.icons
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter
import andro... | 0 | Kotlin | 0 | 0 | b5ed45d577cfffe7be7d9c32e95255d4b5efd0f5 | 1,927 | GameHunter | MIT License |
storage/src/main/java/com/anggrayudi/storage/permission/PermissionCallback.kt | anggrayudi | 288,174,740 | false | {"Kotlin": 363857} | package com.anggrayudi.storage.permission
/**
* Created on 12/13/20
* @author <NAME>
*/
interface PermissionCallback {
fun onDisplayConsentDialog(request: PermissionRequest) {
request.continueToPermissionRequest()
}
/**
* @param fromSystemDialog true if users agreed/denied the permission ... | 10 | Kotlin | 97 | 772 | 7019d6688782afaf3a5ee51656c7257ff734ded1 | 787 | SimpleStorage | Apache License 2.0 |
messagecenter/src/main/java/ruolan/com/messagecenter/service/MessageService.kt | wuyinlei | 117,832,134 | false | null | package ruolan.com.messagecenter.service
import ruolan.com.baselibrary.data.model.BaseResp
import ruolan.com.messagecenter.data.protocol.Message
import rx.Observable
/**
* Created by wuyinlei on 2018/1/30.
*
* @function
*/
interface MessageService{
fun getMessageList(mCurrentPage: Int):Observable<BaseResp<M... | 1 | null | 1 | 2 | 2b388a915760c6f85dc1523b42cf11446c3ff63f | 345 | CNMarket4Kotlin | Apache License 2.0 |
JokenPo-Kotlin/src/main/kotlin/GameMenager.kt | Lucasdvs10 | 410,039,876 | false | {"Kotlin": 5814, "Assembly": 42} | class GameMenager() {
companion object {
fun VerificaGanhador(jogadaUsuario: Jogada, jogadaComputador: Jogada) {
if (jogadaUsuario.listaDePerdedores.contains(jogadaComputador.jogada)){
println("Usuário venceu!")
}
else if(jogadaUsuario == jogadaComputador)... | 0 | Kotlin | 0 | 0 | 1e2e3c5ecf97291bea4e73a783d5c6341cb7d2fa | 464 | Estudos-De-Kotlin | MIT License |
src/main/kotlin/linkedlist/circular/CircularLinkedListADT.kt | ch8n | 320,484,275 | false | null | package linkedlist.circular
/***
* TODO
* circularListList create
* circularListList insert
* circularListList delete
*
* **/ | 3 | Kotlin | 3 | 16 | c37f9ed120768e9c6c4d82a5fa6191f836cafcb6 | 138 | DataStructure-in-Kotlin | Creative Commons Zero v1.0 Universal |
libsunoom/src/main/java/com/tauari/libsunoom/usecase/lunisolar/isLuniSolarYearLeap.kt | hintwalker | 443,998,303 | false | {"Kotlin": 81849} | package com.tauari.libsunoom.usecase.lunisolar
fun isLuniSolarYearLeap(year: Int): Boolean {
val data = listOf(0, 3, 6, 9, 11, 14, 17)
return data.contains(year % 19)
} | 0 | Kotlin | 0 | 0 | b525317d183d6855296b220421c6bad821dfe76a | 177 | libsn | MIT License |
09_OOP1/practice/src/main/kotlin/Animal.kt | ILYA-NASA | 658,033,777 | false | {"Kotlin": 71525} | import kotlin.random.Random
open class Animal(
private var energy: Int,
private var weight: Int,
private var currentAge: Int,
private val maxAge: Int,
protected val name: String,
): NatureReserve() {
private val isTooOld = currentAge >= maxAge
fun sleep() {
if (!isTooOld) {
... | 0 | Kotlin | 0 | 1 | 08c06ad82dd4b41e3b3b5682843f6aa7f27d42bb | 1,663 | Android-basic | NASA Open Source Agreement 1.3 |
src/main/kotlin/ru/igormahov/caricature/Initable.kt | Igorgro | 380,790,350 | false | {"Java": 3501, "Kotlin": 3173} | package ru.igormahov.caricature
interface Initable {
fun init()
} | 1 | null | 1 | 1 | 2051ceb3431dcb051756ffa330bd0927d6b27742 | 70 | kotlin-java-caricature | Do What The F*ck You Want To Public License |
plugin-dotnet-agent/src/main/kotlin/jetbrains/buildServer/dotnet/commands/msbuild/MSBuildArgumentsProvider.kt | JetBrains | 49,584,664 | false | {"Kotlin": 2713429, "C#": 319161, "Java": 96855, "Dockerfile": 831, "CSS": 123} |
package jetbrains.buildServer.dotnet.commands.msbuild
import jetbrains.buildServer.agent.CommandLineArgument
import jetbrains.buildServer.dotnet.ArgumentsProvider
import jetbrains.buildServer.dotnet.DotnetCommandContext
class MSBuildArgumentsProvider(
private val _msBuildParameterConverter: MSBuildParameterConv... | 3 | Kotlin | 25 | 94 | 5f444c22b3354955d1060e08478d543d2b0b99b0 | 764 | teamcity-dotnet-plugin | Apache License 2.0 |
app/src/main/java/com/wscsports/android/blaze/sampleapp/ads/gam/BannerAdsDelegate.kt | WSCSports | 667,366,224 | false | {"Kotlin": 35682} | package com.wscsports.android.blaze.sampleapp.ads.gam
import android.util.Log
import com.blaze.blazesdk.ads.banners.BlazeGAMBannerHandlerEventType
import com.blaze.gam.banner.BlazeGAMBannerAdsAdData
import com.blaze.gam.banner.BlazeGAMBannerAdsDelegate
object BannerAdsDelegate: BlazeGAMBannerAdsDelegate {
overrid... | 0 | Kotlin | 1 | 0 | c39ed4b6cd1c234a0c2d3452cf83fa7e4566c448 | 726 | blaze-sample-android | Apache License 2.0 |
kotlin-electron/src/jsMain/generated/electron/main/CloseOpts.kt | JetBrains | 93,250,841 | false | {"Kotlin": 11400167, "JavaScript": 146545} | package electron.main
typealias CloseOpts = electron.core.CloseOpts
| 28 | Kotlin | 173 | 1,250 | d1f8f5d805ffa18431dfefb7a1aa2f67f48915f6 | 70 | kotlin-wrappers | Apache License 2.0 |
libraries/stdlib/common/src/kotlin/JvmAnnotationsH.kt | yayaa | 106,008,067 | true | {"Java": 26841868, "Kotlin": 25561821, "JavaScript": 147429, "Protocol Buffer": 59013, "HTML": 55906, "Lex": 18174, "Groovy": 14207, "ANTLR": 9797, "IDL": 8497, "Shell": 5436, "CSS": 4679, "Batchfile": 4437} | package kotlin.jvm
import kotlin.annotation.AnnotationTarget.*
@Target(FUNCTION, PROPERTY_GETTER, PROPERTY_SETTER, FILE)
expect annotation class JvmName(val name: String)
@Target(FILE)
expect annotation class JvmMultifileClass
expect annotation class JvmField
| 0 | Java | 0 | 0 | d6ee77424345cb1da4c9e9b02343d016600c04bc | 264 | kotlin | Apache License 2.0 |
core/src/main/kotlin/swak/handler/router/NoRouteFound.kt | neyb | 83,224,971 | false | null | package swak.handler.router
internal class NoRouteFound(path: String) : Exception("no route found for path \"$path\"") | 0 | Kotlin | 0 | 0 | 85d9cda2be6be462d51ec78f4b58e206666951ba | 119 | swak | Apache License 2.0 |
app/src/test/java/com/theapache64/topcorn/ui/activities/feed/FeedViewModelTest.kt | theapache64 | 256,630,741 | false | null | package com.theapache64.topcorn.ui.activities.feed
import androidx.arch.core.executor.testing.InstantTaskExecutorRule
import com.theapache64.topcorn.data.remote.Movie
import com.theapache64.topcorn.data.repositories.movies.MoviesRepo
import com.theapache64.topcorn.utils.test.MainCoroutineRule
import com.theapache64.to... | 4 | null | 41 | 211 | 0bbe8556ab38cf61a8193e8b5cc9ec670f0a2f34 | 2,449 | topcorn | Apache License 2.0 |
sample/src/main/java/com/kkagurazaka/reactive/repository/sample/KotlinDataClassEntityWithoutDefault.kt | k-kagurazaka | 179,922,059 | false | {"Gradle": 5, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 4, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "Kotlin": 47, "XML": 9, "Java": 45, "YAML": 1} | package com.kkagurazaka.reactive.repository.sample
import com.kkagurazaka.reactive.repository.annotation.InMemoryEntity
@InMemoryEntity
data class KotlinDataClassEntityWithoutDefault(
val isVeteran: Boolean,
val someStr: String,
val age: Int,
val pie: Float,
val amount: Long,
val strList: Set<... | 0 | Kotlin | 1 | 2 | 84d4135b254fce892892809a65827535c8c4e881 | 330 | reactive-repository | Apache License 2.0 |
src/main/kotlin/uk/gov/justice/digital/hmpps/welcometoprison/model/prison/PrisonApiClient.kt | ministryofjustice | 397,318,042 | false | null | package uk.gov.justice.digital.hmpps.welcometoprison.model.prison
import org.springframework.beans.factory.annotation.Qualifier
import org.springframework.http.HttpStatus
import org.springframework.stereotype.Component
import org.springframework.web.reactive.function.client.WebClient
import org.springframework.web.rea... | 0 | Kotlin | 0 | 0 | b6f3dd6abd98eb8919e2886ea246e7c9d31d9503 | 5,607 | hmpps-welcome-people-into-prison-api | MIT License |
src/main/kotlin/de/flapdoodle/kfx/controls/bettertable/RowEditor.kt | flapdoodle-oss | 451,526,335 | false | {"Kotlin": 546929, "Java": 153590, "CSS": 34455, "Shell": 189} | package de.flapdoodle.kfx.controls.bettertable
import de.flapdoodle.kfx.bindings.ObservableLists
import de.flapdoodle.kfx.controls.bettertable.events.TableEvent
import de.flapdoodle.kfx.controls.bettertable.events.TableRequestEventListener
import de.flapdoodle.kfx.extensions.cssClassName
import de.flapdoodle.kfx.layou... | 0 | Kotlin | 1 | 0 | ab9ee97c7115f485ae39a47e0979f121a62a7a8d | 1,989 | de.flapdoodle.kfx | Apache License 2.0 |
app/src/main/kotlin/org/andstatus/app/database/table/ActorEndpointTable.kt | andstatus | 3,040,264 | false | {"Kotlin": 3385973, "XSLT": 14655, "HTML": 14046, "CSS": 4427, "Shell": 707} | /*
* Copyright (c) 2018 yvolk (<NAME>), http://yurivolkov.com
*
* 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 ... | 86 | Kotlin | 69 | 306 | 6166aded1f115e6e6a7e66ca3756f39f0434663e | 1,701 | andstatus | Apache License 2.0 |
app/src/main/java/io/aayush/relabs/ui/components/BottomBar.kt | theimpulson | 679,298,392 | false | {"Kotlin": 160398} | package io.aayush.relabs.ui.components
import androidx.compose.animation.AnimatedVisibility
import androidx.compose.animation.slideInVertically
import androidx.compose.animation.slideOutVertically
import androidx.compose.foundation.Image
import androidx.compose.material3.NavigationBar
import androidx.compose.material3... | 1 | Kotlin | 3 | 99 | 90b2a4c86a3ff03ec0a42a80f06d636aac15e936 | 2,553 | ReLabs | Apache License 2.0 |
app/src/main/java/com/shubhans/socialclone/core/util/DefaultPaginator.kt | shubhanshu24510 | 740,657,467 | false | {"Kotlin": 334993} | package com.shubhans.socialclone.core.util
class DefaultPaginator<T>(
private val onLoadUpdated: (Boolean) -> Unit,
private val onRequest: suspend (nextPage: Int) -> Resource<List<T>>,
private val onError: suspend (UiText) -> Unit,
private val onSuccess: (items: List<T>) -> Unit
): Paginator<T> {
p... | 0 | Kotlin | 0 | 1 | e6ecde7113baa81a5383a4b322bee7d8ec2ea74a | 822 | SocialClone | Apache License 2.0 |
parkingmanagement-api/src/main/kotlin/parkandrest/parkingmanagement/api/tariff/NoSuchTariffException.kt | pokemzok | 166,366,410 | false | null | package parkandrest.parkingmanagement.api.tariff
import parkandrest.exception.api.exceptionparent.BusinessException
import parkandrest.parkingmanagement.api.businessexception.BusinessExceptionCode
class NoSuchTariffException : BusinessException(CODE, arrayOf(), "") {
companion object {
private val CODE = ... | 0 | Kotlin | 0 | 1 | f079ade5c5407ac1d41dfb3432f8ba1b10c1b274 | 370 | parkandrest-kotlin | MIT License |
features/lockscreen/impl/src/main/kotlin/io/element/android/features/lockscreen/impl/LockScreenConfig.kt | element-hq | 546,522,002 | false | {"Kotlin": 8692554, "Python": 57175, "Shell": 39911, "JavaScript": 20399, "Java": 9607, "HTML": 9416, "CSS": 2519, "Ruby": 44} | /*
* Copyright (c) 2024 New Vector Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... | 263 | Kotlin | 129 | 955 | 31d0621fa15fe153bfd36104e560c9703eabe917 | 1,912 | element-x-android | Apache License 2.0 |
SKIE/compiler/kotlin-plugin/src/kgp_common/kotlin/co/touchlab/skie/sir/SirFileProvider.kt | touchlab | 685,579,240 | false | {"Kotlin": 1169163, "Swift": 24792, "Shell": 183} | package co.touchlab.skie.sir
import co.touchlab.skie.kir.KirProvider
import co.touchlab.skie.sir.element.SirCompilableFile
import co.touchlab.skie.sir.element.SirIrFile
import co.touchlab.skie.sir.element.SirModule
import co.touchlab.skie.sir.element.SirSourceFile
import java.nio.file.Path
class SirFileProvider(
... | 7 | Kotlin | 8 | 522 | 3f45bb2774012af1ca997c5375ebe6416255f79f | 2,229 | SKIE | Apache License 2.0 |
app/src/main/java/com/werb/moretype/complete/HorizontalViewType.kt | msdgwzhy6 | 97,678,899 | true | {"Kotlin": 103547, "Java": 1132} | package com.werb.moretype.complete
import android.support.v7.widget.LinearLayoutManager
import android.view.View
import android.widget.Toast
import com.werb.library.MoreAdapter
import com.werb.library.MoreViewHolder
import com.werb.library.MoreViewType
import com.werb.library.action.MoreClickListener
import com.werb.m... | 1 | Kotlin | 1 | 1 | 903ea489c5d612a9d81ef0d0337b84e1a0be307d | 2,113 | MoreType | Apache License 2.0 |
app/src/main/java/com/example/newbiechen/ireader/ui/adapter/view/PageStyleHolder.kt | EiChinn | 157,148,636 | false | {"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "XML": 132, "Proguard": 1, "Java": 3, "Kotlin": 283} | package com.example.newbiechen.ireader.ui.adapter.view
import android.graphics.drawable.Drawable
import android.view.View
import android.widget.ImageView
import com.example.newbiechen.ireader.R
import com.example.newbiechen.ireader.ui.base.adapter.ViewHolderImpl
/**
* Created by newbiechen on 17-5-19.
*/
class Pa... | 1 | null | 1 | 1 | ab465c2cfc5af98c8da0927a81e4f6f27930fd32 | 892 | NovelReader | MIT License |
app/src/main/java/com/landside/example/CloneMainAgent.kt | landscapeside | 276,018,212 | false | null | package com.landside.example
import android.os.Bundle
import com.landside.shadowstate.StateAgent
class CloneMainAgent : StateAgent<MainState, MainView>() {
override fun initState(bundle: Bundle?): MainState =
MainState(name = "hahah",listStates = listOf("1","2"))
override fun conf() {
listen(... | 0 | Kotlin | 0 | 1 | 59fb8d7e9ea4a0f0dad5a1bd858affa4f9025e39 | 594 | ShadowState | MIT License |
kaspresso/src/main/kotlin/com/kaspersky/kaspresso/device/video/Videos.kt | KasperskyLab | 208,070,025 | false | null | package com.kaspersky.kaspresso.device.video
import java.io.File
interface Videos {
fun record(tag: String)
fun save()
fun saveAndApply(block: File.() -> Unit)
}
| 55 | null | 150 | 1,784 | 9c94128c744d640dcd646b86de711d2a1b9c3aa1 | 176 | Kaspresso | Apache License 2.0 |
kmp-nativecoroutines-ksp/src/main/kotlin/com/rickclephas/kmp/nativecoroutines/ksp/kotlinpoet/TypeParameterResolver.kt | rickclephas | 374,341,212 | false | {"Kotlin": 259150, "Swift": 44712, "Java": 7760, "Ruby": 2852} | package com.rickclephas.kmp.nativecoroutines.ksp.kotlinpoet
import com.google.devtools.ksp.symbol.KSDeclaration
import com.squareup.kotlinpoet.ksp.TypeParameterResolver
import com.squareup.kotlinpoet.ksp.toTypeParameterResolver
internal fun KSDeclaration.getTypeParameterResolver(): TypeParameterResolver =
typePar... | 14 | Kotlin | 31 | 996 | bca9b8c5eef3c771876376973f86993c9ab93e46 | 399 | KMP-NativeCoroutines | MIT License |
h2-starter/src/main/kotlin/ru/hodorov/ktutils/h2/autoconfigure/H2Configuration.kt | hodorov | 186,066,515 | false | {"Kotlin": 13687} | @file:Suppress("SpringJavaInjectionPointsAutowiringInspection")
package ru.hodorov.ktutils.h2.autoconfigure
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration
import org.springframework.boot.jdbc.DataSourceBuilder
import org.spr... | 0 | Kotlin | 0 | 0 | aa66b25f3081d3ff288a71620221f52f6c1e9495 | 972 | kt_utils | MIT License |
app/src/main/java/com/uxstate/instantscore/InstantScoreApp.kt | Tonnie-Dev | 578,703,528 | false | {"Kotlin": 256289, "Java": 130256} | package com.uxstate.instantscore
import android.app.Application
import androidx.hilt.work.HiltWorkerFactory
import androidx.work.Configuration
import dagger.hilt.android.HiltAndroidApp
import javax.inject.Inject
import timber.log.Timber
@HiltAndroidApp
class InstantScoreApp : Application(), Configuration.Provider {
... | 0 | Kotlin | 2 | 0 | 5061dc42b599751afb7f6cbf5bff7122afe7a70d | 796 | InstantScore | The Unlicense |
codebase/android/feature/analysis/src/main/java/com/makeappssimple/abhimanyu/financemanager/android/feature/analysis/screen/AnalysisScreen.kt | Abhimanyu14 | 429,663,688 | false | {"Kotlin": 1523997} | package com.makeappssimple.abhimanyu.financemanager.android.feature.analysis.screen
import androidx.compose.runtime.Composable
import androidx.compose.runtime.getValue
import androidx.compose.runtime.remember
import androidx.hilt.navigation.compose.hiltViewModel
import androidx.lifecycle.compose.collectAsStateWithLife... | 7 | Kotlin | 0 | 1 | 433728cb7a9003e38ea9f579d561e4e27b47ef76 | 1,629 | finance-manager | Apache License 2.0 |
app/src/main/kotlin/com/yizhenwind/keeper/data/AccountRepository.kt | WangZhiYao | 658,053,133 | false | {"Kotlin": 91950} | package com.yizhenwind.keeper.data
import com.yizhenwind.keeper.data.database.dao.AccountDao
import com.yizhenwind.keeper.data.database.mapper.AccountMapper
import com.yizhenwind.keeper.data.model.Account
import kotlinx.coroutines.CoroutineDispatcher
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.f... | 2 | Kotlin | 0 | 2 | 280095533c0d720e8435818b9487ca14924d3a52 | 1,838 | Keeper | Apache License 2.0 |
basick/src/main/java/com/mozhimen/basick/basek/BaseKLayoutLinear.kt | mozhimen | 353,952,154 | false | null | package com.mozhimen.basick.basek
import android.content.Context
import android.util.AttributeSet
import android.widget.LinearLayout
import com.mozhimen.basick.basek.commons.IBaseKLayout
/**
* @ClassName ILayout
* @Description TODO
* @Author <NAME> / Mozhimen
* @Date 2021/12/24 14:39
* @Version 1.0
*/
abstract ... | 0 | Kotlin | 0 | 1 | d5b6f4a180302d6abfa56c8fe3d6217dca93141b | 674 | SwiftMK | Apache License 2.0 |
src/main/kotlin/de/ascii/coin/CoinGroup.kt | pixix4 | 164,677,742 | false | null | package de.ascii.coin
import de.ascii.MoneyGroup
import de.westermann.kobserve.Property
import de.westermann.kobserve.ReadOnlyProperty
import de.westermann.kobserve.event.EventListener
import de.westermann.kobserve.property.mapBinding
import de.westermann.kwebview.*
import de.westermann.kwebview.components.*
import or... | 0 | Kotlin | 0 | 3 | 15ba21c3ccab8b6295301e1195f3c18cd477488c | 4,805 | ascii-register | MIT License |
src/main/kotlin/com/github/mrbean355/admiralbulldog/triggers/OnMidasReady.kt | MrBean355 | 181,222,587 | false | null | /*
* Copyright 2023 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... | 5 | Kotlin | 4 | 30 | 097fe60979302220209f5b011cb158d88e633eff | 1,591 | admiralbulldog-sounds | Apache License 2.0 |
src/main/kotlin/com/korealm/compApp/services/UserService.kt | kosail | 861,949,379 | false | {"Kotlin": 26170} | package com.korealm.compApp.services
import com.korealm.compApp.models.User
import com.korealm.compApp.dtos.*
import com.korealm.compApp.models.exceptions.UserNotFoundException
import com.korealm.compApp.repositories.UserRepository
import com.korealm.compApp.services.security.Encryption
import org.springframework.ster... | 0 | Kotlin | 0 | 0 | 1cbda38dee908b41fd833588d3972b82a58572eb | 5,928 | CompApps-Backend-Server | MIT License |
components/gateway/src/test/kotlin/net/corda/p2p/gateway/messaging/internal/InboundMessageHandlerTest.kt | corda | 346,070,752 | false | null | package net.corda.p2p.gateway.messaging.internal
import io.netty.handler.codec.http.HttpResponseStatus
import net.corda.configuration.read.ConfigurationReadService
import net.corda.data.p2p.gateway.GatewayMessage
import net.corda.data.p2p.gateway.GatewayResponse
import net.corda.libs.configuration.SmartConfigImpl
impo... | 96 | null | 27 | 69 | 0766222eb6284c01ba321633e12b70f1a93ca04e | 26,623 | corda-runtime-os | Apache License 2.0 |
app/src/main/java/cc/sovellus/vrcaa/api/updater/AutoUpdater.kt | Nyabsi | 745,635,224 | false | {"Kotlin": 354139} | package cc.sovellus.vrcaa.api.updater
import android.content.Context
import android.content.Intent
import android.util.Log
import androidx.core.content.FileProvider
import cc.sovellus.vrcaa.BuildConfig
import cc.sovellus.vrcaa.api.updater.models.Commits
import com.google.gson.Gson
import okhttp3.OkHttpClient
import ok... | 1 | Kotlin | 3 | 24 | 2b6fc8901a6cde5adc508695dc52bc5a259f425b | 2,367 | VRCAA | Apache License 2.0 |
tabler/src/commonMain/kotlin/com/woowla/compose/icon/collections/tabler/tabler/outline/MapPinUp.kt | walter-juan | 868,046,028 | false | {"Kotlin": 20416825} | package com.woowla.compose.icon.collections.tabler.tabler.outline
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.vector.ImageVector
import androidx.compose.ui.graphics.vector... | 0 | Kotlin | 0 | 1 | b037895588c2f62d069c724abe624b67c0889bf9 | 2,855 | compose-icon-collections | MIT License |
erc20/core/src/test/kotlin/com/rarible/protocol/erc20/core/repository/Erc20BalanceRepositoryIt.kt | NFTDroppr | 418,665,809 | true | {"Kotlin": 2329156, "Scala": 37343, "Shell": 6001, "HTML": 547} | package com.rarible.protocol.erc20.core.repository
import com.rarible.core.test.ext.MongoTest
import com.rarible.protocol.erc20.core.configuration.CoreConfiguration
import com.rarible.protocol.erc20.core.model.Erc20Balance
import com.rarible.protocol.erc20.core.repository.data.createBalance
import kotlinx.coroutines.r... | 0 | Kotlin | 0 | 1 | b1efdaceab8be95429befe80ce1092fab3004d18 | 1,949 | ethereum-indexer | MIT License |
app/src/main/java/com/example/helloworldkotlin/MainActivity.kt | TrongQuocLe | 732,761,052 | false | {"Kotlin": 2515} | package com.example.helloworldkotlin
import android.os.Bundle
import android.util.Log
import android.widget.Button
import android.widget.RadioGroup
import android.widget.TextView
import android.widget.Toast
import androidx.appcompat.app.AppCompatActivity
import androidx.appcompat.app.AppCompatDelegate
class MainActi... | 0 | Kotlin | 0 | 0 | 82f64ea3d58fd24aff35d1f2b632bbeefb420deb | 1,480 | HelloWorldKotlin | Apache License 2.0 |
data/src/main/java/com/pomodorotime/data/task/dataBase/IDataBase.kt | RoberMiranda92 | 283,567,928 | false | null | package com.pomodorotime.data.task.dataBase
import kotlinx.coroutines.flow.Flow
interface IDataBase {
fun getAllTask(): Flow<List<TaskEntity>>
suspend fun getTaskById(id: Long): TaskEntity
suspend fun insert(taskList: List<TaskEntity>)
suspend fun insert(task: TaskEntity): Long
suspend fun de... | 1 | Kotlin | 0 | 0 | 07e77f018db930b50b1695d0d79debdc373f39e7 | 394 | PomodoroTime | Apache License 2.0 |
app/src/test/java/com/apps/test/fake/FakeRetrieveConsentsImplementation.kt | Diogo95 | 496,657,673 | false | {"Kotlin": 64449} | package com.apps.test.fake
import com.apps.test.domain.RetrieveEnabledConsents
import com.usercentrics.sdk.UsercentricsServiceConsent
import com.usercentrics.sdk.UsercentricsUserInteraction
class FakeRetrieveConsentsImplementation(
private val consentsToReturn: List<UsercentricsServiceConsent> = emptyList()
): Re... | 0 | Kotlin | 0 | 0 | 8a839e33e106d1e8a5e242093b126d4579467021 | 560 | service-consent-cost | Apache License 2.0 |
app/src/main/java/com/example/androiddevchallenge/backend/NavigationController.kt | Trak-X | 343,113,094 | false | null | /*
* Copyright 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 0 | Kotlin | 0 | 0 | 426fc10e1e304ce9959127b83193e09ff82fb5d4 | 1,918 | Petoption | Apache License 2.0 |
data/src/androidTest/java/com/nemesis/rio/data/raiding/ranks/database/GuildRaidRanksDaoTest.kt | N3-M3-S1S | 370,791,918 | false | null | package com.nemesis.rio.data.raiding.ranks.database
import com.nemesis.rio.data.AppDatabaseTest
import com.nemesis.rio.data.profile.database.createTestGuildInDatabase
import com.nemesis.rio.domain.raiding.Difficulty
import com.nemesis.rio.domain.raiding.Raid
import com.nemesis.rio.domain.ranks.Ranks
import kotlinx.cor... | 0 | Kotlin | 0 | 0 | 62dc309a7b4b80ff36ea624bacfa7b00b5d8607e | 2,384 | rio | MIT License |
zoomimage-core/src/main/java/com/github/panpf/zoomimage/core/OffsetCompat.kt | panpf | 647,222,866 | false | null | package com.github.panpf.zoomimage.core
import com.github.panpf.zoomimage.core.internal.format
import com.github.panpf.zoomimage.core.internal.lerp
import kotlin.math.sqrt
data class OffsetCompat(
val x: Float,
val y: Float
) {
companion object {
val Zero = OffsetCompat(x = 0f, y = 0f)
va... | 0 | Kotlin | 0 | 3 | a6814e1fc8a84946d8bad0cf41406519197784eb | 4,157 | zoomimage | Apache License 2.0 |
service_restaurant/src/main/kotlin/org/thechance/service_restaurant/api/models/CuisineDto.kt | TheChance101 | 671,967,732 | false | {"Kotlin": 2473455, "Ruby": 8872, "HTML": 6083, "Swift": 4726, "JavaScript": 3082, "CSS": 1436, "Dockerfile": 1407, "Shell": 1140} | package org.thechance.service_restaurant.api.models
import kotlinx.serialization.Serializable
@Serializable
data class CuisineDto(
val id: String? = null,
val name: String? = null,
val image: String? = null
)
| 4 | Kotlin | 55 | 572 | 1d2e72ba7def605529213ac771cd85cbab832241 | 223 | beep-beep | Apache License 2.0 |
service_restaurant/src/main/kotlin/org/thechance/service_restaurant/api/models/CuisineDto.kt | TheChance101 | 671,967,732 | false | {"Kotlin": 2473455, "Ruby": 8872, "HTML": 6083, "Swift": 4726, "JavaScript": 3082, "CSS": 1436, "Dockerfile": 1407, "Shell": 1140} | package org.thechance.service_restaurant.api.models
import kotlinx.serialization.Serializable
@Serializable
data class CuisineDto(
val id: String? = null,
val name: String? = null,
val image: String? = null
)
| 4 | Kotlin | 55 | 572 | 1d2e72ba7def605529213ac771cd85cbab832241 | 223 | beep-beep | Apache License 2.0 |
OtpinVerificationLibrary/src/main/java/com/ehmaugbogo/otpinverificationlibrary/utils/Common.kt | EhmaUgbogo | 373,377,981 | false | null | package com.ehmaugbogo.otpinverificationlibrary.utils
import android.app.Activity
import android.content.Context
import android.content.res.ColorStateList
import android.graphics.drawable.Drawable
import android.text.Editable
import android.text.TextWatcher
import android.view.View
import android.view.inputmethod.Inpu... | 0 | Kotlin | 1 | 18 | 9251441c8f86f3670575dd2195f44f950f4bf7e6 | 4,089 | OtpinVerification | The Unlicense |
core-api/src/main/kotlin/org/axonframework/samples/bank/api/banktransfer/CreateBankTransferCommand.kt | yury-vashchyla | 192,108,492 | true | {"Gradle": 6, "Batchfile": 1, "YAML": 1, "Shell": 1, "Text": 1, "Ignore List": 1, "Markdown": 1, "INI": 2, "Java": 25, "Java Properties": 1, "HTML": 6, "JavaScript": 3, "CSS": 1, "Dockerfile": 1, "Kotlin": 23} | package org.axonframework.samples.bank.api.banktransfer
import org.axonframework.commandhandling.TargetAggregateIdentifier
class CreateBankTransferCommand(
@field:TargetAggregateIdentifier var bankTransferId: String?,
var sourceBankAccountId: String?,
var destinationBankAccountId: String?,
var amount:... | 0 | Java | 0 | 0 | c92fd15628eef33f4fa90543117e9b1e47b4b6f9 | 327 | AxonBank | Apache License 2.0 |
http4k-format/moshi/src/main/kotlin/org/http4k/format/Moshi.kt | kratostaine | 296,643,379 | true | {"Kotlin": 1821948, "JavaScript": 135140, "Java": 39596, "Shell": 9274, "CSS": 4410, "HTML": 2049, "Python": 1714, "Handlebars": 1513, "Pug": 944} | package org.http4k.format
import com.squareup.moshi.JsonAdapter
import com.squareup.moshi.Moshi
import com.squareup.moshi.Types
import org.http4k.events.Event
import java.lang.reflect.Type
/**
* To implement custom JSON configuration, create your own object singleton. Extra mappings can be added before done() is cal... | 0 | null | 0 | 0 | d343f56ed9444320fc184da70e34702c488e8815 | 1,295 | http4k | Apache License 2.0 |
app/src/main/java/com/example/xxlstoremvvm/ui/home/HomeFragment.kt | Stephane-AmStrong | 519,302,340 | false | {"Kotlin": 33859} | package com.example.xxlstoremvvm.ui.home
import android.os.Bundle
import android.view.View
import androidx.fragment.app.Fragment
import androidx.fragment.app.viewModels
import androidx.lifecycle.Observer
import dagger.hilt.android.AndroidEntryPoint
import com.example.xxlstoremvvm.R
import com.example.xxlstoremvvm.data... | 0 | Kotlin | 0 | 0 | b8bff4c87b1a7917beb09477167fd68b398e4827 | 1,793 | XXLStoreMVVM | Apache License 2.0 |
src/main/kotlin/de/xm/codequiz/entrypoints/CategoryController.kt | nifty10m | 139,971,726 | false | {"Kotlin": 7672, "Groovy": 5921} | package de.xm.codequiz.entrypoints
import de.xm.codequiz.domain.usecases.findcategories.FindCategories
import org.springframework.http.ResponseEntity
import org.springframework.stereotype.Service
import org.springframework.web.bind.annotation.GetMapping
import org.springframework.web.bind.annotation.RequestMapping
imp... | 0 | Kotlin | 1 | 1 | 45294ff00b6ca6a74e78e58c798d48e372d03992 | 647 | codequiz | MIT License |
blockball-core/src/main/java/com/github/shynixn/blockball/core/logic/business/service/PersistenceStatsServiceImpl.kt | Giancarmine | 302,138,019 | true | {"Kotlin": 1583986, "Java": 35534, "Shell": 2544, "Dockerfile": 2048, "TSQL": 1048} | package com.github.shynixn.blockball.core.logic.business.service
import com.github.shynixn.blockball.api.business.service.ConcurrencyService
import com.github.shynixn.blockball.api.business.service.PersistenceStatsService
import com.github.shynixn.blockball.api.business.service.ProxyService
import com.github.shynixn.b... | 0 | null | 0 | 0 | bb7a65745440ef5578f6495a7380354cb64870c4 | 5,089 | BlockBall | Apache License 2.0 |
engine/src/main/kotlin/io/rsbox/engine/net/game/packet/ServerPackets.kt | vanicosrs | 215,126,619 | true | {"Kotlin": 200900} | package io.rsbox.engine.net.game.packet
/**
* @author <NAME>
*/
enum class ServerPackets(val opcode: Int, val length: Int) {
REBUILD_NORMAL(0, -2),
LOGOUT_FULL(1, 0),
CAM_RESET(2, 0), //2, 1
GAME_MESSAGE(3, -1),
SET_VARP_LARGE(4, 6),
IF_OPEN_SUBold(5, 4), //5, 4
LOC_ADD_CHANGE(6, 4), //... | 0 | null | 0 | 1 | 48da874bb4b5ca3397e136a8601447738a8a47e8 | 2,705 | rsbox | MIT License |
src/test/java/stringtable/TestStringTableGeneratorXml.kt | rsupportrnd | 45,397,115 | false | null | package stringtable
import com.rsupport.stringtable.StringTableGenerator
import org.junit.Assert
import org.junit.Test
import java.io.File
import java.io.FileNotFoundException
class TestStringTableGeneratorXml {
@Test
fun test() {
val fileSource = "./src/test/java/stringtable/sample/StringTable.xlsx"
... | 6 | Kotlin | 5 | 8 | f2e9e12233561e10c6351c455edac80f1e0baf38 | 1,695 | android-string-table | The Unlicense |
idea/testData/quickfix/removeSingleLambdaParameter/simple.kt | JakeWharton | 99,388,807 | true | null | // "Remove single lambda parameter declaration" "true"
// WITH_RUNTIME
fun main() {
listOf(1).forEach { <caret>x -> println() }
} | 0 | Kotlin | 28 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 134 | kotlin | Apache License 2.0 |
app/src/main/java/com/trackerbreeze/features/stockCompetetorStock/api/AddCompStockApi.kt | DebashisINT | 598,511,717 | false | {"Kotlin": 15827152, "Java": 1025908} | package com.trackerbreeze.features.stockCompetetorStock.api
import com.trackerbreeze.app.NetworkConstant
import com.trackerbreeze.base.BaseResponse
import com.trackerbreeze.features.orderList.model.NewOrderListResponseModel
import com.trackerbreeze.features.stockAddCurrentStock.ShopAddCurrentStockRequest
import com.tr... | 0 | Kotlin | 0 | 0 | cc23d7abc8ccd898d5b8f55405c013b6167c2c2c | 1,793 | NTC | Apache License 2.0 |
android/src/main/java/com/reactnativespacex/impl/FetchPolicy.kt | openland | 375,671,257 | false | null | package com.reactnativespacex.impl
enum class FetchPolicy {
CACHE_FIRST,
NETWORK_ONLY,
CACHE_AND_NETWORK
}
| 1 | null | 1 | 1 | 9e8ee4b91cfc2982ace706cc6e60a167ab3f8515 | 120 | react-native-spacex | MIT License |
app/src/main/java/com/camera/bit/cameraandroid/vision/Factories.kt | NooAn | 130,336,260 | false | null | package com.camera.bit.cameraandroid.vision
import com.google.android.gms.vision.MultiProcessor
import com.google.android.gms.vision.Tracker
import com.google.android.gms.vision.barcode.Barcode
import com.google.android.gms.vision.face.Face
internal class BarcodeTrackerFactory(private val mGraphicOverlay: GraphicOve... | 1 | null | 1 | 1 | cbe9c1ea1d4ef5bd6511d1dfb97d513fb89cf37e | 838 | android_camera | MIT License |
app/src/main/java/com/umc/history/MyPageMyStoryFragment.kt | duck-positive | 582,929,737 | false | null | package com.umc.history
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.appcompat.app.AppCompatActivity
import androidx.fragment.app.Fragment
import androidx.recyclerview.widget.DividerItemDecoration
import androidx.recyclerview.widget.... | 0 | Kotlin | 0 | 0 | bae06314e26b1e91bedb7b766065f183c562ddae | 4,493 | HiStory_Refactoring | MIT License |
src/main/kotlin/raptor/utils/BotProperties.kt | Nallaka | 113,681,226 | false | null | package raptor.utils
import com.esotericsoftware.yamlbeans.YamlReader
import java.io.FileReader
class BotProperties {
companion object {
//Default Command Prefix
val DEFAULT_COMMAND_PREFIX = "_"
//File Paths
val BOT_CONFIG_FILE_PATH = "${System.getProperty("user.dir")}/src/botConf... | 0 | Kotlin | 0 | 0 | 541594afbb321405b5679e5042cdac6069c24b97 | 905 | raptor | MIT License |
app/src/main/java/com/wreckingballsoftware/design/DeSignHost.kt | leewaggoner | 698,812,124 | false | {"Kotlin": 36004} | package com.wreckingballsoftware.design
import androidx.compose.runtime.Composable
import androidx.compose.runtime.remember
import androidx.navigation.compose.NavHost
import androidx.navigation.compose.composable
import androidx.navigation.compose.rememberNavController
import com.wreckingballsoftware.design.ui.campaig... | 0 | Kotlin | 0 | 0 | cd0688dcea9cea982ed0f7741c3a82bee38e3421 | 897 | design | Apache License 2.0 |
plugins/gradle/testSources/org/jetbrains/plugins/gradle/properties/GradlePropertiesFileTest.kt | StingNevermore | 113,538,568 | 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 org.junit.jupiter.api.Assertions
import org.junit.jupiter.api.Test
class GradlePropertiesFileTest : GradlePropertiesFileTestCase() {
@Test
... | 0 | null | 0 | 0 | 68a9dba2e125a7d8ee96ca86e965a30a8ead7e2c | 2,892 | intellij-community | Apache License 2.0 |
app/src/main/java/com/example/hammersystemtest/model/Repository.kt | PetrGrebnev | 551,960,570 | false | {"Kotlin": 24534} | package com.example.hammersystemtest.model
import com.example.hammersystemtest.data.database.Food
import com.example.hammersystemtest.data.responsenetwork.DataResult
import javax.inject.Inject
class Repository @Inject constructor(
private val network: Network,
private val dao: FoodDao
) {
suspend fun get... | 0 | Kotlin | 0 | 1 | 8872d5ee74dab3342d49ac17509cc7689a6bfaa6 | 748 | HammerSystemTest | MIT License |
tl/src/main/kotlin/com/github/badoualy/telegram/tl/api/TLPhotoStrippedSize.kt | Miha-x64 | 436,587,061 | true | {"Kotlin": 3919807, "Java": 75352} | package com.github.badoualy.telegram.tl.api
import com.github.badoualy.telegram.tl.TLObjectUtils.SIZE_CONSTRUCTOR_ID
import com.github.badoualy.telegram.tl.TLObjectUtils.computeTLBytesSerializedSize
import com.github.badoualy.telegram.tl.TLObjectUtils.computeTLStringSerializedSize
import com.github.badoualy.telegram.t... | 1 | Kotlin | 2 | 3 | 1a8963dce921c1e9ef05b9d1e56d8fbcb1ea1c4b | 1,992 | kotlogram-resurrected | MIT License |
src/main/kotlin/com/droid/explorer/command/shell/impl/UnMount.kt | jonatino | 56,899,891 | false | {"Kotlin": 40686, "CSS": 9445, "Batchfile": 318} | /*
* Copyright 2016 <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 ... | 1 | Kotlin | 8 | 34 | 6a39d7f72b7d3c8d3709dd3489f6ef47afa1f80d | 1,003 | Droid-Explorer | Apache License 2.0 |
backend/src/main/kotlin/de/mcella/spring/learntool/workspace/WorkspaceNameValidator.kt | sitMCella | 251,022,990 | false | null | package de.mcella.spring.learntool.workspace
import de.mcella.spring.learntool.workspace.dto.WorkspaceCreateRequest
import de.mcella.spring.learntool.workspace.exceptions.InvalidWorkspaceNameException
import java.util.regex.Pattern
object WorkspaceNameValidator {
const val MIN_WORKSPACE_NAME_LENGTH = 1
const ... | 3 | Kotlin | 0 | 0 | b4ae77ecf8d4c6f3778cabe55faec2bcfe4fcc1c | 998 | learn-tool | MIT License |
marathon-gradle-plugin/src/main/kotlin/com/malinskiy/marathon/gradle/RetryStrategyConfiguration.kt | MarathonLabs | 129,365,301 | false | null | package com.malinskiy.marathon.gradle
import groovy.lang.Closure
import org.gradle.api.Action
import org.gradle.util.internal.ConfigureUtil
open class RetryStrategyConfiguration {
var fixedQuota: FixedQuotaRetryStrategyConfiguration? = null
fun fixedQuota(action: Action<FixedQuotaRetryStrategyConfiguration>)... | 66 | Kotlin | 89 | 328 | 77271f081c04093134d8d6ed77e380afd0a362a4 | 1,287 | marathon | Apache License 2.0 |
.kotlin_alpha/services/textract/src/main/kotlin/com/kotlin/textract/AnalyzeDocument.kt | awsdocs | 66,023,605 | false | null | // snippet-sourcedescription:[AnalyzeDocument.kt demonstrates how to analyze a document.]
// snippet-keyword:[AWS SDK for Kotlin]
// snippet-service:[Amazon Textract]
// snippet-keyword:[Code Sample]
// snippet-sourcetype:[full-example]
// snippet-sourcedate:[07/16/2021]
// snippet-sourceauthor:[scmacdon - AWS]
/*
... | 24 | null | 3179 | 4,473 | d52f77aafcaee1ab0b5d13005e4a029d53afd2a0 | 2,607 | aws-doc-sdk-examples | Apache License 2.0 |
src/main/kotlin/com/dasiusp/cleber/infrastructure/repository/FirestoreConfiguration.kt | dasiusp | 187,829,206 | false | null | package com.dasiusp.cleber.infrastructure.repository
import com.google.cloud.firestore.FirestoreOptions
import org.springframework.context.annotation.Bean
import org.springframework.context.annotation.Configuration
@Configuration
class FirestoreConfiguration {
@Bean fun firestore() = FirestoreOptions.getDefaultI... | 5 | Kotlin | 2 | 1 | 250af4b1832b0625814f1e4eda3c3345c6eba7ae | 340 | CLEBER | Apache License 2.0 |
app/src/main/java/com/venkatesh/flipview/flipview/OverFlipper.kt | venkimurthy07 | 136,472,293 | false | {"Kotlin": 55878, "Java": 1111} | package com.venkatesh.flipview.flipview
import android.graphics.Canvas
/**
* Created by Venkatesh on 07/06/18.
*/
interface OverFlipper {
/**
*
* @return the total flip distance the has been over flipped. This is used
* by the onOverFlipListener so make sure to return the correct
* value.
... | 0 | Kotlin | 0 | 0 | 6237f3b07e695a6b8425697a2fba85ff69d1d3a8 | 1,102 | flipview | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.