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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
src/main/kotlin/eu/scisneromam/mc/scismmoutils/commands/HammerCommand.kt | awsdcrafting | 202,380,518 | false | null | package eu.scisneromam.mc.scismmoutils.commands
import co.aikar.commands.BaseCommand
import co.aikar.commands.CommandHelp
import co.aikar.commands.annotation.*
import eu.scisneromam.mc.scismmoutils.functions.Hammer
import eu.scisneromam.mc.scismmoutils.main.Main.Companion.MAIN
import eu.scisneromam.mc.scismmoutils.uti... | 4 | Kotlin | 0 | 0 | 0d171e6ee52973a585a2633bf62ede0209c7296e | 4,529 | ScisMMOUtils | MIT License |
kmp-nativecoroutines-compiler/src/main/kotlin/com/rickclephas/kmp/nativecoroutines/compiler/utils/NativeCoroutinesClassIds.kt | rickclephas | 374,341,212 | false | {"Kotlin": 231144, "Swift": 40082, "Java": 7157, "Ruby": 2852} | package com.rickclephas.kmp.nativecoroutines.compiler.utils
import com.rickclephas.kmp.nativecoroutines.compiler.utils.NativeCoroutinesFqNames as FqNames
import org.jetbrains.kotlin.name.ClassId
public object NativeCoroutinesClassIds {
public val nativeCoroutines: ClassId = ClassId.topLevel(FqNames.nativeCoroutin... | 17 | Kotlin | 31 | 924 | d86ab678169f8db7674074d97845ced1a7ecdb23 | 824 | KMP-NativeCoroutines | MIT License |
src/iosMain/kotlin/utils/TimeZoneUtils.kt | MrAsterisco | 327,316,170 | false | null | package io.github.mrasterisco.Date.utils
import platform.Foundation.NSTimeZone
import platform.Foundation.localTimeZone
import platform.Foundation.timeZoneWithName
@Suppress("unused")
actual class TimeZoneUtils {
actual companion object {
actual fun getDefault(): Any {
return NSTimeZone.loca... | 0 | Kotlin | 0 | 0 | 1bd5e920642cd1b8793bc9b8f81e4d17d866a5d9 | 596 | Date | MIT License |
app/src/main/java/com/davoh/laravelmyappointments/ui/menu/myAppointments/AppointmentDetailsFragment.kt | DDavoH | 339,810,573 | false | null | package com.davoh.laravelmyappointments.ui.menu.myAppointments
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import androidx.navigation.fragment.navArgs
import com.davoh.laravelmyappointments.R
import com.davoh.l... | 0 | Kotlin | 0 | 1 | 09607062b55484087bebd3e4af9a735965f176ea | 2,659 | Kotlin-MVVM-AppointmentsApp | Apache License 2.0 |
src/test/kotlin/com/mituuz/fuzzier/FuzzyMoverTest.kt | MituuZ | 735,641,775 | false | {"Kotlin": 118570} | package com.mituuz.fuzzier
import com.intellij.openapi.application.ApplicationManager
import com.intellij.openapi.project.modules
import com.intellij.openapi.project.rootManager
import com.intellij.openapi.vfs.VirtualFile
import com.intellij.openapi.vfs.VirtualFileManager
import com.intellij.psi.PsiManager
import com.... | 5 | Kotlin | 3 | 9 | 6acd1aced3cdc91fb94d0ad404390ebb240d9801 | 7,268 | fuzzier | MIT License |
service-query/src/main/kotlin/org/veupathdb/service/mblast/query/model/QueryUserMeta.kt | VEuPathDB | 303,794,401 | false | {"Kotlin": 1600360, "Java": 404589, "RAML": 120840, "Dockerfile": 3585, "Shell": 2218, "SQL": 2160} | package org.veupathdb.service.mblast.query.model
/**
* # Query Job User Metadata
*
* User metadata attached to a BLAST query job.
*
* @author <NAME> - https://github.com/foxcapades
* @since 2.0.0
*/
interface QueryUserMeta {
/**
* ID of the user attached to the query job.
*/
val userID: Long
... | 17 | Kotlin | 0 | 0 | 80ba2d33499425427842d134bb04b8bc20568af1 | 694 | service-multi-blast | Apache License 2.0 |
src/main/kotlin/org/opensearch/replication/task/shard/ShardReplicationChangesTracker.kt | opensearch-project | 323,830,219 | false | {"Kotlin": 1005221, "Python": 17931, "Shell": 8517} | /*
* SPDX-License-Identifier: Apache-2.0
*
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
*
* Modifications Copyright OpenSearch Contributors. See
* GitHub history for details.
*/
package org.opensearch.re... | 77 | Kotlin | 58 | 48 | 0cc41c620b96a4798adbe2237e48b67269e3e509 | 6,392 | cross-cluster-replication | Apache License 2.0 |
dashboard/src/main/java/studio/crud/feature/dashboard/widget/type/totalpercentline/TotalPercentLineWidgetDataHandlerImpl.kt | crud-studio | 390,327,908 | false | null | package studio.crud.feature.dashboard.widget.type.totalpercentline
import org.springframework.stereotype.Component
import studio.crud.feature.dashboard.enums.DashboardWidgetType
import studio.crud.feature.dashboard.model.DashboardWidget
import studio.crud.feature.dashboard.widget.WidgetHelper
import studio.crud.featur... | 6 | Kotlin | 0 | 0 | 6cb1d5f7b3fc7117c9fbaaf6708ac93ae631e674 | 1,290 | feature-depot | MIT License |
straight/src/commonMain/kotlin/me/localx/icons/straight/bold/Seller.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.straight.bold
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
i... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 3,602 | icons | MIT License |
src/main/kotlin/com/github/h3rmt/intellijyuck/psi/YuckElementType.kt | H3rmt | 675,780,800 | false | {"Kotlin": 36626, "Java": 35139, "Lex": 2900, "V": 57} | package com.github.h3rmt.intellijyuck.psi
import com.github.h3rmt.intellijyuck.YuckLanguage
import com.intellij.psi.tree.IElementType
class YuckElementType(debugName: String) : IElementType(debugName, YuckLanguage) | 1 | Kotlin | 0 | 1 | e1cdcc74f1340bbd182e03cad7be537c7e1f8652 | 217 | intellij-yuck | MIT License |
src/main/kotlin/com/example/coreweb/domains/labels/services/LabelService.kt | teambankrupt | 292,072,114 | false | {"Kotlin": 171003, "Java": 55138, "HTML": 22230} | package com.example.coreweb.domains.labels.services
import com.example.coreweb.domains.base.services.CrudServiceV4
import com.example.coreweb.domains.labels.models.entities.Label
interface LabelService : CrudServiceV4<Label> | 3 | Kotlin | 0 | 2 | c13155ebb7733fdf06a74beb090266196c9f5272 | 226 | coreweb | Apache License 2.0 |
app/src/main/java/io/aiico/memora/MemoraApp.kt | isalig | 249,266,229 | false | null | package io.aiico.memora
import android.app.Application
import io.aiico.memora.data.NotesRepository
import io.aiico.memora.data.db.MemoraDb
@Suppress("unused")
class MemoraApp : Application() {
override fun onCreate() {
super.onCreate()
with(MemoraDb.createInstance(this)) {
NotesReposi... | 0 | Kotlin | 0 | 1 | ad790560bf4c80522fff87618dcad3cef48d544f | 353 | memora-android | Apache License 2.0 |
app/src/main/java/dev/pinaki/cannaguide/data/store/JournalEntry.kt | Pinaki93 | 758,573,200 | false | {"Kotlin": 66538} | package dev.pinaki.cannaguide.data.store
import java.util.Date
sealed interface JournalEntry {
val id: Int?
val entryDate: Date
} | 0 | Kotlin | 0 | 0 | 376645d97607bc6c88e99afb622c9e1fa5e7213f | 139 | Cannaguide | MIT License |
plugin/src/main/kotlin/de/timfreiheit/plugin/resourceplaceholders/ResourcePlaceholdersPlugin.kt | timfreiheit | 108,669,705 | false | null | package de.timfreiheit.plugin.resourceplaceholders
import com.android.build.gradle.AppExtension
import com.android.build.gradle.AppPlugin
import com.android.build.gradle.LibraryExtension
import com.android.build.gradle.LibraryPlugin
import com.android.build.gradle.api.AndroidSourceSet
import com.android.build.gradle.... | 5 | null | 10 | 87 | 3af9c0265f93b59c1a62eee2eb60307736b912bf | 4,507 | ResourcePlaceholdersPlugin | MIT License |
app/src/main/java/com/nmrc/note/data/model/util/SettingsListener.kt | 16george | 348,022,465 | false | null | package com.nmrc.note.data.model.util
interface SettingsListener {
fun darkMode(state: Boolean): Boolean
fun bugReports()
} | 0 | Kotlin | 0 | 1 | d7daa12f5383191993f6fb2fb7e2a5c1681af476 | 134 | Note | Apache License 2.0 |
app/src/main/kotlin/no/nav/paw/arbeidssokerregisteret/profilering/application/ApplicationTopology.kt | navikt | 740,873,630 | false | {"Kotlin": 46528, "Dockerfile": 604} | package no.nav.paw.arbeidssokerregisteret.profilering.application
import no.nav.paw.arbeidssokerregisteret.api.v1.Periode
import no.nav.paw.arbeidssokerregisteret.api.v3.OpplysningerOmArbeidssoeker
import no.nav.paw.arbeidssokerregisteret.profilering.application.profilering.profiler
import no.nav.paw.arbeidssokerregis... | 0 | Kotlin | 0 | 0 | 8be978ae78fa1e2faaf84efb05af35399a553dd1 | 1,930 | paw-arbeidssokerregisteret-profilering | MIT License |
superwall/src/main/java/com/superwall/sdk/paywall/presentation/get_presentation_result/GetPresentationResultLogic.kt | superwall | 642,585,064 | false | {"Kotlin": 1190760} | package com.superwall.sdk.paywall.presentation.get_presentation_result
import com.superwall.sdk.models.triggers.InternalTriggerResult
import com.superwall.sdk.paywall.presentation.result.PresentationResult
object GetPresentationResultLogic {
fun convertTriggerResult(triggerResult: InternalTriggerResult): Presenta... | 6 | Kotlin | 3 | 9 | 2582de8d48af7c0ad080e30949d920e8a34d9219 | 839 | Superwall-Android | MIT License |
src/main.kt | sbauer322 | 231,718,772 | false | null | import ccspkt.chapter3.CSP
import ccspkt.chapter3.QueensConstraint
import ccspkt.chapter4.Graph
fun main() {
// chapter3Main()
chapter4Main()
}
fun chapter3Main() {
val columns: MutableList<Int> = mutableListOf(1,2,3,4,5,6,7,8)
val rows: MutableMap<Int, List<Int>> = mutableMapOf()
columns.forEach ... | 0 | Kotlin | 0 | 0 | 95f2b5948551010868952f4f93616b05ed99e917 | 2,519 | ccsp_kt | Apache License 2.0 |
app/src/main/java/com/github/acarlsen/android/coverage/data/repositories/CocktailDBRepoImpl.kt | acarlsen | 585,978,582 | false | null | package com.github.acarlsen.android.coverage.data.repositories
import com.github.acarlsen.android.coverage.data.mappers.CocktailMapper
import com.github.acarlsen.android.coverage.data.service.CocktailDBService
import com.github.acarlsen.android.coverage.domain.models.CocktailModel
import com.github.acarlsen.android.co... | 0 | Kotlin | 0 | 0 | 2810f140e44b98b8cbb6c0ec15c15b7456e19a28 | 721 | androidJacocoCoverage | Apache License 2.0 |
vico/views/src/main/java/com/patrykandpatrick/vico/views/common/shader/DynamicShaders.kt | patrykandpatrick | 338,848,755 | false | {"Kotlin": 781620, "CSS": 166} | /*
* Copyright 2024 by <NAME> and <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 ... | 3 | Kotlin | 102 | 1,681 | e46778f999edcc1ef676aa21c9a4eecd5c6cc60a | 2,801 | vico | Apache License 2.0 |
app/src/main/java/com/steleot/jetpackcompose/playground/compose/foundationlayout/FoundationLayoutScreen.kt | Sagar19RaoRane | 410,922,276 | true | {"Kotlin": 887894} | package com.steleot.jetpackcompose.playground.compose.foundationlayout
import androidx.compose.runtime.Composable
import androidx.navigation.NavHostController
import com.steleot.jetpackcompose.playground.compose.rest.MainScreen
import com.steleot.jetpackcompose.playground.navigation.FoundationLayoutNavRoutes
import co... | 0 | null | 0 | 1 | 91d0a3571031a97a437e13ab103a6cd7092f1598 | 1,280 | Jetpack-Compose-Playground | Apache License 2.0 |
MapboxSearch/sdk/src/test/java/com/mapbox/search/record/FavoriteRecordTest.kt | mapbox | 438,355,708 | false | {"Kotlin": 2244740, "Java": 41736, "Python": 18980, "Shell": 17499} | package com.mapbox.search.record
import com.mapbox.search.tests_support.createSearchAddress
import com.mapbox.search.tests_support.createTestFavoriteRecord
import com.mapbox.test.dsl.TestCase
import org.junit.jupiter.api.TestFactory
internal class FavoriteRecordTest {
@TestFactory
fun `Check index tokens`() ... | 18 | Kotlin | 7 | 33 | 20495edc31fd684e956de3c3713cc25113e0d425 | 1,172 | mapbox-search-android | Apache License 2.0 |
features/login/src/main/java/com/chesire/nekome/app/login/credentials/ui/UIState.kt | Chesire | 223,272,337 | false | {"Kotlin": 740322, "Ruby": 1682} | package com.chesire.nekome.app.login.credentials.ui
import androidx.annotation.StringRes
data class UIState(
val username: String,
val hasUsernameError: Boolean,
val password: String,
val hasPasswordError: Boolean,
val isPerformingLogin: Boolean,
val loginButtonEnabled: Boolean,
@StringRes... | 24 | Kotlin | 42 | 471 | 191def4011f659972951d3766bfb4e5af4076ab1 | 817 | Nekome | Apache License 2.0 |
core/client/src/main/kotlin/org/http4k/connect/Action.kt | http4k | 295,641,058 | false | {"Kotlin": 1624429, "Handlebars": 10370, "CSS": 5434, "Shell": 3178, "JavaScript": 2076, "Python": 1834, "HTML": 675} | package org.http4k.connect
import org.http4k.core.Request
import org.http4k.core.Response
interface Action<R> {
fun toRequest(): Request
fun toResult(response: Response): R
}
| 7 | Kotlin | 17 | 37 | 94e71e6bba87d9c79ac29f7ba23bdacd0fdf354c | 185 | http4k-connect | Apache License 2.0 |
app/src/main/java/com/djinc/edumotive/screens/ar/PlaneDetectionError.kt | edumotive | 469,670,311 | false | {"Kotlin": 189611} | package com.djinc.edumotive.screens.ar
import androidx.compose.foundation.layout.*
import androidx.compose.material.Icon
import androidx.compose.material.Text
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.rounded.Warning
import androidx.compose.runtime.Composable
import androidx.c... | 0 | Kotlin | 1 | 4 | 8f1b914d0b0374cc7251994419968ae63c575844 | 1,940 | edumotive | MIT License |
app/src/main/java/com/codelab/basiclayouts/ui/home/HomeScreen.kt | 1guccii | 875,159,473 | false | {"Kotlin": 18701} | package com.codelab.basiclayouts.ui.home
| 0 | Kotlin | 0 | 0 | 5bbc1844b12d628963949c3a9c3f570aafe464bf | 42 | google-intermediate_android_developer | Apache License 2.0 |
app/src/main/java/moe/feng/danmaqua/ui/common/list/SimpleDiffItemCallback.kt | danmaqua | 237,640,502 | false | null | package moe.feng.danmaqua.ui.common.list
import androidx.recyclerview.widget.DiffUtil
open class SimpleDiffItemCallback<T : Any>(
val oldItems: List<T>,
val newItems: List<T>
) : DiffUtil.Callback() {
override fun getOldListSize(): Int {
return oldItems.size
}
override fun getNewListSize... | 1 | Kotlin | 9 | 137 | 68694b9f1e575af8541680afe96e2a3108338828 | 961 | danmaqua-android | Apache License 2.0 |
app/src/main/java/com/logic/uasg/StudentListActivity.kt | GovindaPaliwal | 206,713,929 | false | null | package com.logic.uasg
import android.os.Bundle
import android.util.Log
import androidx.appcompat.app.AppCompatActivity
import com.logic.uasg.model.User
import com.logic.uasg.util.DatabaseUtils
import com.logic.uasg.util.DatabaseUtils.Companion.INPUT_COLUMN_Email
import com.logic.uasg.util.DatabaseUtils.Companion.INPU... | 0 | Kotlin | 0 | 1 | 8a34fdd78d82dcabf5c9b4835284dfc085ff8687 | 1,547 | Universal-Acceptance-UASG-In-Kotlin | Apache License 2.0 |
local/src/main/java/com/vadmax/timetosleep/local/data/ServerConfigLocalModel.kt | VadimZhuk0v | 403,318,456 | false | {"Kotlin": 214064, "Ruby": 928} | package com.vadmax.timetosleep.local.data
data class ServerConfigLocalModel(val ipAddress: String, val port: Int)
| 0 | Kotlin | 1 | 1 | 927e28d6b0dc422cb0d4a70be067566be13f40bb | 115 | TimeToSleep | MIT License |
app/src/main/java/com/dosti/scamfolio/db/repositories/Repository.kt | zeroParanoie | 803,017,723 | false | {"Kotlin": 145065} | package com.dosti.scamfolio.db.repositories
import android.util.Log
import com.dosti.scamfolio.api.model.CoinBalance
import com.dosti.scamfolio.api.model.Wallet
import com.dosti.scamfolio.db.entities.CoinModelAPIDB
import com.dosti.scamfolio.db.entities.Coin
import com.dosti.scamfolio.db.entities.Purchasing
import com... | 0 | Kotlin | 2 | 0 | 7c289f15d0bde345ffad4322f31e95d0cda6e9a3 | 3,000 | ScamFolio | Do What The F*ck You Want To Public License |
src/test/kotlin/it/valeriovaudi/vauthenticator/openid/connect/idtoken/IdTokenTest.kt | bassista | 262,500,046 | true | {"Kotlin": 89774, "JavaScript": 9725, "HTML": 1854, "Dockerfile": 178} | package it.valeriovaudi.vauthenticator.openid.connect.idtoken
import it.valeriovaudi.vauthenticator.time.Clock
import org.hamcrest.core.Is
import org.junit.Assert.assertThat
import org.junit.Test
import org.junit.runner.RunWith
import org.mockito.BDDMockito.given
import org.mockito.Mock
import org.mockito.junit.Mockit... | 0 | null | 0 | 0 | ed4ec3f1bc0773a99f165f2c6d6489067684e662 | 1,034 | vauthenticator | Apache License 2.0 |
kotlin-web/src/jsMain/kotlin/web/events/CustomEvent.kt | JetBrains | 93,250,841 | false | {"Kotlin": 11691809, "JavaScript": 168519} | @file:Suppress(
"EXTERNAL_CLASS_CONSTRUCTOR_PROPERTY_PARAMETER",
)
package web.events
external interface CustomEventInit<T> : EventInit {
var detail: T
}
external class CustomEvent<T>(
override val type: EventType<CustomEvent<T>>,
init: CustomEventInit<T> = definedExternally,
) : Event {
val deta... | 32 | Kotlin | 174 | 1,252 | 8f788651776064a30ce1688160b7ef9c314a6fe9 | 328 | kotlin-wrappers | Apache License 2.0 |
core/src/main/java/co/yugang/album/core/loader/AlbumLoader.kt | YuGangLee | 288,134,834 | false | null | package co.yugang.album.core.loader
import android.content.Context
import android.net.Uri
import android.provider.MediaStore
import androidx.loader.content.CursorLoader
import co.yugang.album.core.DifferentialColumnName
class AlbumLoader private constructor(context: Context, uri: Uri) : CursorLoader(
context,
... | 0 | Kotlin | 0 | 1 | e6aae46b55c06b1e4d301c1a50a3518a729dd64e | 1,044 | MediaSelector | Apache License 2.0 |
app/src/main/java/com/example/businesscard/MainActivity.kt | saurabhburnwal | 753,565,570 | false | {"Kotlin": 9042} | package com.example.businesscard
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.foundation.Image
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundatio... | 0 | Kotlin | 0 | 0 | ee4b8ca899351425ef7305eb26613752769c7231 | 4,540 | businesscard | MIT License |
src/main/java/com/github/grishberg/profiler/analyzer/converter/DeObfuscatorConverter.kt | geaden | 307,074,946 | true | {"Kotlin": 289336, "Java": 128917, "HTML": 9265, "Shell": 1435} | package com.github.grishberg.profiler.analyzer.converter
import proguard.retrace.DeObfuscator
private const val SIGNATURE_REGEX = "\\((.*)\\)(.*)"
class DeObfuscatorConverter(
private val deObfuscator: DeObfuscator
) : NameConverter {
private val reg = Regex(SIGNATURE_REGEX)
private val argumentsReader =... | 0 | Kotlin | 0 | 0 | e5c6b0f5098f3db767ce1fc507941b44b9d43782 | 1,799 | android-methods-profiler | Apache License 2.0 |
relive-simulator-core/src/commonMain/kotlin/xyz/qwewqa/relive/simulator/core/gen/GenFieldEffect.kt | qwewqa | 390,928,568 | false | null | @file:Suppress("PropertyName")
package xyz.qwewqa.relive.simulator.core.gen
import kotlinx.serialization.Serializable
@Serializable
data class GenFieldEffect(
val buff_type1: Int,
val buff_type1_target_id: Int,
val buff_type1_value_list: Array<Int>,
val buff_type2: Int,
val buff_type2_target_id: Int,
val... | 0 | Kotlin | 11 | 7 | e32dab696f56ead176e35fca40add33ad1e7f742 | 862 | relight | MIT License |
tutorial/src/androidTest/kotlin/com/kaspersky/kaspresso/tutorial/tutorial/LoginActivityTest.kt | sophie5363 | 867,609,889 | false | {"Kotlin": 758946, "Shell": 1880, "Makefile": 387} | package com.kaspersky.kaspresso.tutorial
import androidx.test.ext.junit.rules.activityScenarioRule
import com.kaspersky.kaspresso.testcases.api.testcase.TestCase
import com.kaspersky.kaspresso.tutorial.tutorial.LoginActivity
import org.junit.Rule
import org.junit.Test
class LoginActivityTest : TestCase() {
@get:... | 0 | Kotlin | 0 | 0 | bd8d7fcc2daa31a6721349aa72df1bd783962edf | 1,846 | tutoKaspresso | Apache License 2.0 |
endlessRunnersGame/src/main/kotlin/cz/woitee/endlessRunners/game/tracking/TrackingUtils.kt | woitee | 219,872,458 | false | null | package cz.woitee.endlessRunners.game.tracking
import cz.woitee.endlessRunners.game.actions.ApplyGameEffectAction
import cz.woitee.endlessRunners.game.actions.NoAction
import cz.woitee.endlessRunners.game.actions.abstract.GameAction
import cz.woitee.endlessRunners.game.actions.abstract.HoldButtonAction
import cz.woite... | 0 | Kotlin | 0 | 1 | 5c980f44397f0b4f122e7b2cb51b82cf1c0419df | 5,515 | endlessRunners | Apache License 2.0 |
app/src/main/java/com/example/androiddevchallenge/network/models/ProgressType.kt | TheAmazingBnD | 346,931,444 | false | null | package com.example.androiddevchallenge.network.models
sealed class ProgressType(open val data: Any? = null) {
object NotAsked: ProgressType()
object Loading: ProgressType()
data class Result(override val data: Any): ProgressType(data)
data class Failure(override val data: Any): ProgressType(data)
... | 0 | Kotlin | 0 | 0 | af6c7ab663c3bca02114188c82aeb955948565f7 | 322 | ComposeChallengeThree | Apache License 2.0 |
packages/react-native-notificare-push-ui/android/src/main/java/re/notifica/push/ui/react_native/NotificarePushUIModule.kt | Notificare | 313,432,978 | false | null | package re.notifica.push.ui.react_native
import android.net.Uri
import com.facebook.react.bridge.*
import re.notifica.Notificare
import re.notifica.internal.NotificareLogger
import re.notifica.models.NotificareNotification
import re.notifica.push.ui.NotificarePushUI
import re.notifica.push.ui.ktx.pushUI
public class ... | 0 | Kotlin | 0 | 1 | 33193a750b18051c15a40a4c55be7c940b2552ad | 7,159 | notificare-sdk-react-native | MIT License |
src/main/kotlin/kvmInternals/instructions/ioAbstractions/printr.kt | ChippyPlus | 850,474,357 | false | {"Kotlin": 74636} | package org.example.kvmInternals.instructions.ioAbstractions
import org.example.data.registers.enumIdenifiers.SuperRegisterType
import org.example.helpers.fullRegisterRead
fun IoAbstractions.printr(register: SuperRegisterType) {
println(fullRegisterRead(register))
} | 0 | Kotlin | 0 | 1 | 86733d9aa14f896af295c1cc9b941d85a04d71a5 | 272 | MVM | MIT License |
host/src/commonMain/kotlin/wasi/preview1/function/FdSyncSyscallFdatasyncFunctionHandle.kt | illarionov | 848,247,126 | false | {"Kotlin": 991649} | /*
* Copyright 2024, the wasi-emscripten-host project authors and contributors. Please see the AUTHORS file
* for details. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
* SPDX-License-Identifier: Apache-2.0
*/
package at.released.weh.host.wasi.preview1.functio... | 0 | Kotlin | 0 | 2 | eac1f7473d21ca17c16e4b1b01185c9e4c7c81a5 | 1,752 | wasi-emscripten-host | Apache License 2.0 |
FormularioEjemplo/app/src/main/java/com/example/formularioejemplo/Ventana2/ui/Ventana2.kt | aranzabe | 705,187,569 | false | {"Kotlin": 266897, "Java": 8590} | package com.example.formularioejemplo.Ventana2.ui
import Modelo.Almacen
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.material3.Button
import androidx.compose.material3.Text
import androidx.co... | 0 | Kotlin | 0 | 0 | 64110550565c356a708f4f3347d5177d0b228ccc | 899 | Android_Compose_DAM2_2023_2024 | MIT License |
app/src/main/java/lol/calico/uctutors/generated/api/v1/GetMessagesResponseKt.kt | calico32 | 715,594,197 | false | {"Kotlin": 456590, "TypeScript": 218807, "Java": 99962} | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: api/v1/messages.proto
// Generated files should ignore deprecation warnings
@file:Suppress("DEPRECATION")
package lol.calico.uctutors.generated.api.v1;
@kotlin.jvm.JvmName("-initializegetMessagesResponse")
public inline fun getMessagesResponse(bloc... | 0 | Kotlin | 0 | 0 | a92325ff8dd6ce831fd230b92d3d1be288451143 | 2,702 | uctutors | MIT License |
src/main/kotlin/org/crystal/intellij/lang/stubs/indexes/CrystalVariableShortNameIndex.kt | asedunov | 353,165,557 | false | {"Kotlin": 1661507, "Java": 554445, "Crystal": 245131, "Lex": 192822, "HTML": 445} | package org.crystal.intellij.lang.stubs.indexes
import org.crystal.intellij.lang.psi.CrDefinitionWithFqName
class CrystalVariableShortNameIndex : CrystalStringStubIndexExtensionBase<CrDefinitionWithFqName>() {
companion object Helper: HelperBase<CrDefinitionWithFqName>(
CrystalVariableShortNameIndex::clas... | 11 | Kotlin | 4 | 33 | 2e255da6c56a33109b8c58a0aa1a692abf977da2 | 426 | intellij-crystal-lang | Apache License 2.0 |
src/main/kotlin/net/leanix/vsm/gitlab/broker/connector/adapter/graphql/parser/LanguageParser.kt | leanix | 671,435,549 | false | {"Kotlin": 107795, "Dockerfile": 244} | package net.leanix.vsm.gitlab.broker.connector.adapter.graphql.parser
import net.leanix.gitlabbroker.connector.adapter.graphql.data.allgroupsquery.RepositoryLanguage
import net.leanix.vsm.gitlab.broker.connector.domain.Language
object LanguageParser {
fun parse(languages: List<RepositoryLanguage>?): List<Languag... | 1 | Kotlin | 0 | 2 | 760c2e60cb09341752ce950956dbaf8e9a64e00a | 609 | vsm-gitlab-broker | Apache License 2.0 |
app/src/main/java/com/example/cifrades/utils/FormatoEntrada.kt | luizgadel | 515,012,335 | false | {"Kotlin": 21084} | package com.example.cifrades.utils
enum class FormatoEntrada {
TEXTO_SIMPLES,
HEXADECIMAL,
} | 0 | Kotlin | 0 | 0 | 9d99fb42aa2e8b86c302019406b51a4c5bd25d36 | 101 | cifra-des-app | MIT License |
app/src/main/java/com/example/recyclerview/MainActivity.kt | Wira07 | 737,255,233 | false | {"Kotlin": 13411} | package com.example.recyclerview
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.view.Menu
import android.view.MenuItem
import android.view.animation.AnimationUtils
import android.widget.Toast
import androidx.recyclerview.widget.DefaultItemAnimator
... | 0 | Kotlin | 0 | 0 | 6970a3a53244276328a2f649d8e8d7929e71d719 | 3,972 | RecyclerView | Intel Open Source License |
sms-service/src/test/kotlin/com/porterhead/sms/provider/clicksend/ClickSendProviderTest.kt | kayazas123 | 285,784,960 | true | {"HTML": 968750, "Kotlin": 75358, "Shell": 1346, "Dockerfile": 579, "JavaScript": 547} | package com.porterhead.sms.provider.clicksend
import com.github.tomakehurst.wiremock.WireMockServer
import com.github.tomakehurst.wiremock.client.WireMock
import com.github.tomakehurst.wiremock.core.WireMockConfiguration
import com.porterhead.sms.domain.SmsMessage
import com.porterhead.sms.provider.ProviderResponse
im... | 0 | null | 0 | 0 | b5d5865863d9201a1380071bda7fcd1cc5a8a5fc | 3,795 | sms-service | Apache License 2.0 |
subprojects/material/src/main/kotlin/fr/javatic/reactkt/material/components/Button.kt | ylemoigne | 46,154,904 | false | {"JavaScript": 172345, "Kotlin": 91968, "CSS": 10270, "HTML": 2395} | /*
* Copyright 2015 Yann Le Moigne
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | 0 | JavaScript | 1 | 7 | fc005c935216b217400f1dfeecc0a3aac934b2cf | 1,627 | ReactKT | Apache License 2.0 |
app/src/main/java/com/rubyfood/features/NewQuotation/interfaces/SalesmanOnClick.kt | DebashisINT | 443,953,616 | false | {"Kotlin": 13546090, "Java": 993113} | package com.rubyfood.features.NewQuotation.interfaces
import com.rubyfood.features.member.model.TeamListDataModel
interface SalesmanOnClick {
fun OnClick(obj: TeamListDataModel)
} | 0 | Kotlin | 0 | 0 | dcf8cc0098d652c8fc063a4049a0fa7f9b73af95 | 185 | RubyFood | Apache License 2.0 |
grave/src/main/kotlin/com/tombspawn/models/slack/Attachment.kt | aman400 | 166,827,316 | false | null | package com.tombspawn.models.slack
import com.google.gson.annotations.SerializedName
class Attachment(
@SerializedName("callback_id") var callbackId: String? = null,
@SerializedName("fallback") var fallback: String? = null,
@SerializedName("text") var text: String? = null,
@SerializedName("id") var id... | 1 | Kotlin | 0 | 1 | 0a21c7d176f022585bda404e735a718f5d7ffdac | 1,183 | tombspawn | Apache License 2.0 |
navigation-research/core/src/main/kotlin/ru/hh/navigation/common/MultiStackScreen.kt | hhru | 558,759,425 | false | null | package ru.hh.navigation.common
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.PaddingValues
import androidx.compose.material.*
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.outlined.Home
import androidx.compose.material.icons.outlined.L... | 0 | Kotlin | 0 | 7 | 40f0a2af17438971a92bd6c7178959a18af284e1 | 2,163 | jetpack-compose-navigation-research | MIT License |
src/test/kotlin/devapp/CloudStyleGlobal.kt | Anivie | 500,668,170 | false | null | package devapp
import javafx.scene.Cursor.HAND
import javafx.scene.paint.Color.*
import javafx.scene.paint.Paint
import javafx.scene.text.FontWeight
import tornadofx.*
class CloudStyleGlobal:Stylesheet() {
companion object{
val selectionBar by cssproperty<MultiValue<Paint>>("-fx-selection-bar")
va... | 0 | CSS | 4 | 21 | ab1768d96b4787d4c07f5655e88b864c61ab5690 | 24,109 | ElementFX | Apache License 2.0 |
year2019/day23/part1/src/main/kotlin/com/curtislb/adventofcode/year2019/day23/part1/Year2019Day23Part1.kt | curtislb | 226,797,689 | false | {"Kotlin": 2246966} | /*
--- Day 23: Category Six ---
The droids have finished repairing as much of the ship as they can. Their report indicates that this
was a Category 6 disaster - not because it was that bad, but because it destroyed the stockpile of
Category 6 network cables as well as most of the ship's network infrastructure.
You'll... | 0 | Kotlin | 1 | 1 | 21296f86840c409ac84053ed854ca508f9dbe66d | 3,499 | AdventOfCode | MIT License |
src/main/kotlin/solve/importer/view/LoadingScreen.kt | prime-slam | 542,695,410 | false | {"Kotlin": 442756} | package solve.importer.view
import io.github.palexdev.materialfx.controls.MFXProgressSpinner
import javafx.geometry.Insets
import javafx.scene.layout.BorderPane
import javafx.scene.layout.Priority
import javafx.scene.layout.VBox
import javafx.scene.paint.Color
import kotlinx.coroutines.cancel
import solve.styles.Style... | 52 | Kotlin | 0 | 8 | 67352bd0ed1f437fad6b151400898f57ae926c67 | 2,451 | SOLVE | MIT License |
save-sandbox/src/main/kotlin/com/saveourtool/save/sandbox/SaveSandbox.kt | saveourtool | 300,279,336 | false | null | package com.saveourtool.save.sandbox
import com.saveourtool.save.sandbox.config.ConfigProperties
import org.springframework.boot.SpringApplication
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.autoconfigure.domain.EntityScan
import org.springframework.boot.context.... | 160 | Kotlin | 1 | 31 | d83a26b101c0f809d39a6deab4e183de04cc7832 | 710 | save-cloud | MIT License |
application/src/main/kotlin/org/gxf/standalonenotifyinggateway/coaphttpproxy/logging/RemoteLoggingWebClient.kt | OSGP | 697,215,585 | false | {"Kotlin": 38111} | package org.gxf.standalonenotifyinggateway.coaphttpproxy.logging
import org.gxf.standalonenotifyinggateway.coaphttpproxy.http.HttpClient
import org.springframework.stereotype.Component
import org.springframework.web.client.RestClient
@Component
class RemoteLoggingWebClient(private val webClient: RestClient) {
fu... | 1 | Kotlin | 1 | 0 | f30e0f26c78dc4aa1ba90ec1df871e85eacbbb59 | 600 | sng-coap-http-proxy | Apache License 2.0 |
domain/src/test/java/com/grishko188/domain/features/poi/interactor/DeletePoiUseCaseTest.kt | grishko188 | 574,075,114 | false | {"Kotlin": 623659} | package com.grishko188.domain.features.poi.interactor
import com.grishko188.domain.MockitoHelper.anyNonNull
import com.grishko188.domain.MockitoHelper.argumentCaptor
import com.grishko188.domain.MockitoHelper.capture
import com.grishko188.domain.MockitoHelper.mock
import com.grishko188.domain.MockitoHelper.whenever
im... | 0 | Kotlin | 3 | 55 | 599037f8a2aee0696cd20609eaf734d75e9af1ba | 2,063 | Points-of-interest | Apache License 2.0 |
domain/src/test/java/com/grishko188/domain/features/poi/interactor/DeletePoiUseCaseTest.kt | grishko188 | 574,075,114 | false | {"Kotlin": 623659} | package com.grishko188.domain.features.poi.interactor
import com.grishko188.domain.MockitoHelper.anyNonNull
import com.grishko188.domain.MockitoHelper.argumentCaptor
import com.grishko188.domain.MockitoHelper.capture
import com.grishko188.domain.MockitoHelper.mock
import com.grishko188.domain.MockitoHelper.whenever
im... | 0 | Kotlin | 3 | 55 | 599037f8a2aee0696cd20609eaf734d75e9af1ba | 2,063 | Points-of-interest | Apache License 2.0 |
domain/auth/src/main/kotlin/io/github/siyual_park/auth/configuration/AuthenticationConfiguration.kt | siyul-park | 403,557,925 | false | null | package io.github.siyual_park.auth.configuration
import io.github.siyual_park.auth.domain.authentication.AuthenticateFilter
import io.github.siyual_park.auth.domain.authentication.AuthenticateMapping
import io.github.siyual_park.auth.domain.authentication.AuthenticateStrategy
import io.github.siyual_park.auth.domain.a... | 8 | Kotlin | 0 | 18 | 332711a52465e0a10c0125aecf52dd00e247cf58 | 1,797 | spring-webflux-multi-module-boilerplate | MIT License |
stream-chat-android-client/src/main/java/io/getstream/chat/android/client/plugin/listeners/ChannelMarkReadListener.kt | GetStream | 177,873,527 | false | {"Kotlin": 8578375, "MDX": 2150736, "Java": 271477, "JavaScript": 6737, "Shell": 5229} | /*
* Copyright (c) 2014-2022 Stream.io Inc. All rights reserved.
*
* Licensed under the Stream License;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://github.com/GetStream/stream-chat-android/blob/main/LICENSE
*
* Unless required by a... | 24 | Kotlin | 273 | 1,451 | 8e46f46a68810d8086c48a88f0fff29faa2629eb | 1,401 | stream-chat-android | FSF All Permissive License |
field/src/main/kotlin/org/ua/und97n/synthlife/field/Direction.kt | Und97n | 755,901,669 | false | {"Kotlin": 73633} | package org.ua.und97n.synthlife.field
import org.ua.und97n.synthlife.field.Utils.getByIndexSafe
enum class Direction(private val xDiff: Int, private val yDiff: Int) {
// UP_LEFT(-1,1 -1),
UP(0, -1),
// UP_RIGHT(+1, -1),
RIGHT(+1, 0),
// DOWN_RIGHT(+1, +1),
DOWN(0, +1),
// DOWN_LEFT(-1, +1),
... | 0 | Kotlin | 0 | 0 | 95cb8b42a8a2df7f9f40dee0936baa009bebc8e7 | 786 | SynthLife | MIT License |
bubbleshowcase/src/main/java/com/elconfidencial/bubbleshowcase/BubbleShowCase.kt | horizon-ariadust | 153,224,124 | true | {"Gradle": 5, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "Proguard": 2, "Kotlin": 12, "XML": 23, "Java": 3} | package com.elconfidencial.bubbleshowcase
import android.app.Activity
import android.content.Context
import android.content.Context.MODE_PRIVATE
import android.content.SharedPreferences
import android.graphics.Bitmap
import android.graphics.RectF
import android.graphics.drawable.Drawable
import android.os.Build
impor... | 0 | Kotlin | 0 | 0 | e3474849527c407b92cf3a2ef33f4aa3f3e382e5 | 20,946 | BubbleShowCase-Android | MIT License |
app/src/main/java/no/hyper/memoryormdemo/Profile.kt | naseemakhtar994 | 64,830,265 | false | {"Java": 67775, "Kotlin": 2067} | package no.hyper.memoryormdemo
/**
* Created by Jean on 5/12/2016.
*/
data class Profile (
var name : String,
var age : Int,
var human : Boolean,
var gear : List<Gear>? = null,
var house : House? = null,
var id : String? = null) | 1 | null | 1 | 1 | 9dad72d97661f3bd68b878a5c058fdf90e4f71e4 | 279 | memory-orm | MIT License |
ui/runtime/sources/com/meowbase/ui/core/text/FontStyle.kt | siylt007 | 336,180,880 | true | {"Kotlin": 1405824, "Java": 474434, "Dart": 14190, "HTML": 70} | package com.meowbase.ui.core.text
import android.graphics.Typeface
/*
* author: 凛
* date: 2020/8/10 11:22 PM
* github: https://github.com/RinOrz
* description: 定义字体的粗体斜体风格,这可能在自定义字体后被覆盖?
*/
enum class FontStyle(val real: Int) {
Normal(Typeface.NORMAL),
/** 粗体 */
Bold(Typeface.BOLD),
/** 斜体 */
Italic(... | 0 | null | 0 | 0 | df82f0588beb13fbd22308b3d015852c25781612 | 389 | toolkit | Apache License 2.0 |
usvm-sample-language/src/main/kotlin/org/usvm/language/Domain.kt | UnitTestBot | 586,907,774 | false | null | package org.usvm.language
class Program(
val name: String,
val structs: List<Struct>,
val methods: List<Method<SampleType?>>
)
class Method<out R : SampleType?>(
val name: String,
val argumentsTypes: List<SampleType>,
val returnType: R,
val body: Body?,
)
class Body(
var registersCoun... | 4 | Kotlin | 0 | 2 | a504c78f51690c551c6080d2c964c6a352b761f2 | 588 | usvm | Apache License 2.0 |
app/src/main/java/com/kmmania/runninguserpreferences/info/InfoFragment.kt | dlgiao | 399,046,961 | false | null | package com.kmmania.runninguserpreferences.info
import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import com.kmmania.runninguserpreferences.databinding.FragmentInfoBinding
class InfoFragment : Fragment() {
priva... | 0 | Kotlin | 0 | 0 | 346e0990218a72a61ab0c1030a213a2056343532 | 812 | running_user_prefs_android | MIT License |
src/main/kotlin/com/sarahisweird/maidbot/maidapi/MaidRequest.kt | SarahIsWeird | 571,018,251 | false | {"Kotlin": 7867} | package com.sarahisweird.maidbot.maidapi
import kotlinx.serialization.Serializable
@Serializable
data class MaidRequest(
val category: MaidType,
val amount: Int,
)
| 0 | Kotlin | 0 | 3 | c2a09b2f476a2e1c3f361b2f2c7266aeb8c515be | 174 | maid-bot | Do What The F*ck You Want To Public License |
src/attachment/Koin.kt | DiSSCo | 517,633,705 | false | null | package org.synthesis.attachment
import org.koin.dsl.module
val attachmentsModule = module {
single<AttachmentReferenceStore> {
PgAttachmentReferenceStore(
sqlClient = get()
)
}
single {
AttachmentProvider(
store = get(),
filesystem = get()
... | 0 | Kotlin | 0 | 0 | a2277d627647d1669c3714da455f37fe6c2e93ae | 335 | elvis-backend | Apache License 2.0 |
image-loader/src/commonMain/kotlin/com/seiko/imageloader/component/keyer/Keyer.kt | qdsfdhvh | 502,954,331 | false | {"Kotlin": 824269, "Swift": 717, "HTML": 496} | package com.seiko.imageloader.component.keyer
import com.seiko.imageloader.option.Options
fun interface Keyer {
fun key(data: Any, options: Options, type: Type): String?
enum class Type {
Memory,
Disk,
}
}
| 32 | Kotlin | 15 | 432 | bdf4a1e89113552abe98d250f192ea55bd8a2c24 | 238 | compose-imageloader | MIT License |
image-loader/src/commonMain/kotlin/com/seiko/imageloader/component/keyer/Keyer.kt | qdsfdhvh | 502,954,331 | false | {"Kotlin": 824269, "Swift": 717, "HTML": 496} | package com.seiko.imageloader.component.keyer
import com.seiko.imageloader.option.Options
fun interface Keyer {
fun key(data: Any, options: Options, type: Type): String?
enum class Type {
Memory,
Disk,
}
}
| 32 | Kotlin | 15 | 432 | bdf4a1e89113552abe98d250f192ea55bd8a2c24 | 238 | compose-imageloader | MIT License |
src/main/kotlin/com/github/mikesafonov/jira/telegram/service/ChatService.kt | gagapopa | 226,065,130 | true | {"Kotlin": 271856, "TSQL": 6615, "Dockerfile": 281} | package com.github.mikesafonov.jira.telegram.service
import com.github.mikesafonov.jira.telegram.dao.Chat
import com.github.mikesafonov.jira.telegram.dao.ChatRepository
import com.github.mikesafonov.jira.telegram.dao.State
import org.springframework.stereotype.Service
/**
* @author <NAME>
*/
@Service
class ChatSer... | 0 | Kotlin | 0 | 0 | 4b5b335b98217476b3239100d15533f038536524 | 2,447 | jira-telegram-bot | MIT License |
app/src/dummy/java/com/radixdlt/android/apps/wallet/ui/di/module/DatabaseModule.kt | radixdlt | 158,528,536 | false | null | package com.radixdlt.android.apps.wallet.ui.di.module
import android.content.Context
import androidx.room.Room
import com.radixdlt.android.apps.wallet.RadixWalletDatabase
import dagger.Module
import dagger.Provides
import javax.inject.Singleton
@Module
class DatabaseModule {
@Provides
@Singleton
fun prov... | 1 | Kotlin | 4 | 17 | 2fa15c9b2d65040072cbb413a3549f8f489ed6ca | 716 | radixdlt-wallet-android | MIT License |
scan-engine/src/main/java/de/tillhub/scanengine/theme/Color.kt | tillhub | 459,124,731 | false | {"Kotlin": 89838} | package de.tillhub.scanengine.theme
import androidx.compose.ui.graphics.Color
val OrbitalBlue = Color(0xFF279FF6)
| 0 | Kotlin | 0 | 2 | ac232d7b2261c6c90384536caf8bfa0672d0ff49 | 116 | scan-engine | MIT License |
fields-material/src/main/kotlin/dev/icerock/moko/fields/material/binding/TextInputLayoutBinding.kt | icerockdev | 210,294,803 | false | null | /*
* Copyright 2022 IceRock MAG Inc. Use of this source code is governed by the Apache 2.0 license.
*/
package dev.icerock.moko.fields.material.binding
import android.text.Editable
import android.text.TextWatcher
import androidx.lifecycle.LifecycleOwner
import com.google.android.material.textfield.TextInputLayout
i... | 2 | Kotlin | 6 | 17 | b85ba7e780c09311fcf9274964ec91025319aec4 | 1,861 | moko-fields | Apache License 2.0 |
src/main/kotlin/com/dev/userservice/UserServiceApplication.kt | i4ba1 | 774,224,013 | false | {"Kotlin": 5143} | package com.dev.userservice
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.runApplication
import org.springframework.cache.annotation.EnableCaching
@EnableCaching
@SpringBootApplication
class UserServiceApplication
fun main(args: Array<String>) {
runApplicatio... | 0 | Kotlin | 0 | 0 | de268ec6184dcc4bc5ba238773eaec5617442899 | 355 | kotlin-spring-be | MIT License |
app/src/main/java/com/example/myapplication/photoViewModel/PhotoFactory.kt | Timur-wq | 452,668,715 | false | null | package com.example.myapplication.photoViewModel
import android.app.Application
import androidx.lifecycle.ViewModel
import androidx.lifecycle.ViewModelProvider
class PhotoFactory(val application: Application, val byteArray: ByteArray) : ViewModelProvider.AndroidViewModelFactory(application) {
override fun <T : Vi... | 1 | Kotlin | 0 | 0 | 4d585754192719a360771a4bc87c35293f8f3f89 | 426 | Photo-eng | MIT License |
graphql-kotlin-schema-generator/src/test/kotlin/com/expedia/graphql/generator/types/InputPropertyBuilderTest.kt | gscheibel | 206,803,902 | true | {"Kotlin": 377798, "Shell": 2887} | package com.expedia.graphql.generator.types
import com.expedia.graphql.annotations.GraphQLDescription
import com.expedia.graphql.annotations.GraphQLName
import com.expedia.graphql.test.utils.SimpleDirective
import org.junit.jupiter.api.Test
import kotlin.test.assertEquals
internal class InputPropertyBuilderTest : Typ... | 0 | null | 0 | 0 | 771b92a646c31a490b4ef521db50d505e4c585a3 | 1,899 | graphql-kotlin | Apache License 2.0 |
app/src/main/java/com/mustafagur/marketim/DetailActivity.kt | mustafawp | 640,644,105 | false | {"Kotlin": 122806} | package com.mustafagur.marketim
import DatabaseHelper
import android.content.Intent
import android.graphics.BitmapFactory
import android.graphics.Color
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.util.Log
import android.view.LayoutInflater
import android.view.View
import and... | 0 | Kotlin | 0 | 3 | 224943f1c2fe70bde936b01833ef50cf2fd5302c | 5,135 | MarketApp | MIT License |
src/com/hxz/mpxjs/web/symbols/VueInputPropSymbol.kt | wuxianqiang | 508,329,768 | false | {"Kotlin": 1447881, "Vue": 237479, "TypeScript": 106023, "JavaScript": 93869, "HTML": 17163, "Assembly": 12226, "Lex": 11227, "Java": 2846, "Shell": 1917, "Pug": 338} | // Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.hxz.mpxjs.web.symbols
import com.intellij.lang.javascript.psi.JSType
import com.intellij.model.Pointer
import com.intellij.webSymbols.SymbolKind
import com.intellij.webSymbols.WebSymbolO... | 2 | Kotlin | 0 | 4 | e069e8b340ab04780ac13eab375d900f21bc7613 | 2,008 | intellij-plugin-mpx | Apache License 2.0 |
src/main/kotlin/io/github/pshegger/aoc/common/Iterable+.kt | PsHegger | 325,498,299 | false | null | package io.github.pshegger.aoc.common
fun <T> Iterable<T>.updated(index: Int, newValue: T) =
mapIndexed { i, t -> if (i == index) newValue else t }
fun Iterable<String>.splitByBlank(): List<List<String>> =
fold(listOf(emptyList())) { acc, str ->
if (str.isBlank()) {
acc + listOf(emptyList(... | 0 | Kotlin | 0 | 0 | 346a8994246775023686c10f3bde90642d681474 | 953 | advent-of-code | MIT License |
app/src/main/java/com/rmakiyama/skeleton/ui/MainActivity.kt | rmakiyama | 252,239,199 | false | null | package com.rmakiyama.skeleton.ui
import android.os.Bundle
import android.view.Menu
import android.view.MenuItem
import androidx.navigation.NavController
import androidx.navigation.NavDestination
import androidx.navigation.Navigation
import androidx.navigation.ui.setupActionBarWithNavController
import com.rmakiyama.sk... | 0 | Kotlin | 0 | 3 | 3ae4aa3fe433d0c988f82627a89a14eee7e26f35 | 2,049 | android-skeleton | Apache License 2.0 |
compose_material3/src/main/java/dev/vengateshm/compose_material3/testing/couroutines/ColdDataSource.kt | vengateshm | 670,054,614 | false | {"Kotlin": 1781634, "Java": 43780} | package dev.vengateshm.compose_material3.testing.couroutines
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.flowOf
class ColdDataSource : DataSource {
override suspend fun emit(value: Int) {
}
override fun counts(): Flow<Int> {
return flowOf(1, 2, 3, 4, 5)
}
} | 0 | Kotlin | 0 | 1 | 6fa0f1c3170c56264ba85db4ac081831d6623575 | 308 | Android-Kotlin-Jetpack-Compose-Practice | Apache License 2.0 |
app/src/main/java/com/seif/booksislandapp/presentation/intro/authentication/forget_password/viewmodel/ForgetPasswordViewModel.kt | SeifEldinMohamed | 570,587,114 | false | null | package com.seif.booksislandapp.presentation.intro.authentication.forget_password.viewmodel
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.google.firebase.auth.FirebaseAuth
import com.seif.booksislandapp.R
import com.seif.booksislandapp.utils.ResourceProvider
import dagger.hilt... | 0 | Kotlin | 0 | 0 | 8a65e6406811c2d6c59064c5e1af8f9493aa7cc2 | 2,102 | Books-Island-App | Apache License 2.0 |
shared/src/iosMain/kotlin/com/github/tyngstast/borsdatavaluationalarmer/model/AddAlarmCallbackViewModel.kt | Tyngstast | 446,124,190 | false | null | package com.github.tyngstast.borsdatavaluationalarmer.model
import com.github.tyngstast.borsdatavaluationalarmer.FlowAdapter
@Suppress("unused")
class AddAlarmCallbackViewModel(addAlarmModel: AddAlarmModel) : CallbackViewModel() {
override val viewModel = BaseAddAlarmViewModel(addAlarmModel)
val kpis: FlowA... | 0 | Kotlin | 0 | 0 | 1a90b2efeb82399d5e58243bd8df81e2bb41268d | 738 | borsdata-valuation-alarmer | MIT License |
src/main/kotlin/unibz/cs/semint/kprime/domain/db/DatabaseTrademark.kt | kprime-dev | 722,929,885 | false | {"Kotlin": 383495, "XSLT": 1078, "HTML": 372, "Makefile": 218} | package unibz.cs.semint.kprime.domain.db
enum class DatabaseTrademark {
H2,PSQL,unknown
} | 0 | Kotlin | 0 | 0 | 63429395f454148e1652bc0b597c32dd08c15383 | 94 | kprime-arm | MIT License |
SceytChatUiKit/src/main/java/com/sceyt/chatuikit/styles/messages_list/item/AudioWaveformStyle.kt | sceyt | 549,073,085 | false | {"Kotlin": 2675924, "Java": 107920} | package com.sceyt.chatuikit.styles.messages_list.item
import android.content.Context
import android.content.res.TypedArray
import androidx.annotation.ColorInt
import androidx.annotation.StyleableRes
import com.sceyt.chatuikit.styles.StyleConstants.UNSET_COLOR
import com.sceyt.chatuikit.styles.StyleCustomizer
data cla... | 0 | Kotlin | 1 | 2 | ce9c1b95555fadaafcd11f0d073fcdb07ca49600 | 1,352 | sceyt-chat-android-uikit | MIT License |
sample/src/main/java/uk/gov/hmrc/components/sample/organisms/EditableListViewModel.kt | hmrc | 299,591,950 | false | null | /*
* Copyright 2023 HM Revenue & Customs
*
* 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... | 2 | Kotlin | 2 | 6 | 7742cd115ce6a6804b2d6aa856cc1be7034a746c | 993 | android-components | Apache License 2.0 |
ExpandableRecyclerView/src/main/java/com/as1k/expandablerecyclerview/listener/ParentListItemExpandCollapseListener.kt | as1k | 361,688,512 | false | null | package com.as1k.expandablerecyclerview.listener
interface ParentListItemExpandCollapseListener{
fun onParentListItemExpanded(position:Int)
fun onParentListItemCollapsed(position:Int)
} | 0 | Kotlin | 0 | 0 | ed4df62ab147c0955197af1f606c55d65e6de441 | 195 | ExpandableRecyclerView | MIT License |
taxiql-query-engine/src/main/java/com/orbitalhq/query/ValueWithTypeName.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.query
import com.fasterxml.jackson.annotation.JsonRawValue
import com.fasterxml.jackson.core.JsonParser
import com.fasterxml.jackson.core.TreeNode
import com.fasterxml.jackson.databind.DeserializationContext
import com.fasterxml.jackson.databind.JsonDeserializer
import com.fasterxml.jackson.datab... | 9 | TypeScript | 10 | 292 | 2be59abde0bd93578f12fc1e2ecf1f458a0212ec | 2,860 | orbital | Apache License 2.0 |
features/login/src/main/java/taiwan/no/one/feat/login/presentation/auths/GoogleConfig.kt | pokk | 263,073,196 | false | null | /*
* MIT License
*
* Copyright (c) 2020 Jieyi
*
* 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 use, copy, modify, me... | 2 | Kotlin | 3 | 16 | 6d173194dcd3c44db46dfe6b0ef691b9322da975 | 1,762 | DropBeat | MIT License |
apps/etterlatte-migrering/src/main/kotlin/migrering/LagreKoblingRiver.kt | navikt | 417,041,535 | false | {"Kotlin": 5883491, "TypeScript": 1429790, "Handlebars": 21334, "Shell": 10666, "HTML": 1734, "Dockerfile": 745, "CSS": 598, "PLpgSQL": 556} | package no.nav.etterlatte.migrering
import no.nav.etterlatte.libs.common.rapidsandrivers.setEventNameForHendelseType
import no.nav.etterlatte.rapidsandrivers.BEHANDLING_ID_KEY
import no.nav.etterlatte.rapidsandrivers.ListenerMedLoggingOgFeilhaandtering
import no.nav.etterlatte.rapidsandrivers.SAK_ID_KEY
import no.nav.... | 13 | Kotlin | 0 | 6 | 9c58a2993c789b4bb05d0c9f491f8db8f44248de | 1,899 | pensjon-etterlatte-saksbehandling | MIT License |
CryptoAC/src/jsMain/kotlin/eu/fbk/st/cryptoac/view/components/custom/CryptoACSelect.kt | stfbk | 292,768,224 | false | {"JavaScript": 22741621, "Kotlin": 2367601, "Shell": 14642, "Batchfile": 9481, "SCSS": 6830, "CSS": 5868, "Open Policy Agent": 2902, "HTML": 984, "Assembly": 419} | package eu.fbk.st.cryptoac.view.components.custom
import eu.fbk.st.cryptoac.view.components.materialui.inputLabel
import eu.fbk.st.cryptoac.view.components.materialui.menuItem
import eu.fbk.st.cryptoac.view.components.materialui.select
import kotlinx.js.Object
import react.*
external interface CryptoACSelectProps : P... | 0 | JavaScript | 0 | 2 | 13958f84e7e8c5e40a78afc5c737e6443bc1ac37 | 3,890 | CryptoAC | Apache License 2.0 |
tiles/src/main/kotlin/com/aeccue/tiles/grid/GridNine.kt | aeccue | 695,985,710 | false | {"Kotlin": 130164} | /*
* Designed and developed by aeccue.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | 0 | Kotlin | 0 | 0 | 3a3318a715daf15429cd5fcbec11dd3e4b1f799a | 7,045 | tiles | Apache License 2.0 |
app/src/main/java/com/moonwinston/motivationaltodolist/ui/monthly/MonthlyFragment.kt | winstonmoon | 321,340,734 | false | {"Kotlin": 103614} | package com.moonwinston.motivationaltodolist.ui.monthly
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import androidx.fragment.app.activityViewModels
import androidx.lifecycle.Lifecycle
import androidx.lifecycle.... | 5 | Kotlin | 1 | 4 | 370530712a33283ebe136bcf961c813111f74669 | 4,626 | motivational-todo-list-android | Apache License 2.0 |
tests/e2e-test-util/src/main/kotlin/aws/sdk/kotlin/testing/Utils.kt | awslabs | 121,333,316 | false | {"Kotlin": 1076968, "Smithy": 8546, "TypeScript": 1488, "JavaScript": 1134, "Dockerfile": 391} | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
package aws.sdk.kotlin.testing
import aws.smithy.kotlin.runtime.http.engine.DefaultHttpEngine
import aws.smithy.kotlin.runtime.http.engine.HttpClientEngine
import aws.smithy.kotlin.runtime.http.engine.c... | 79 | Kotlin | 49 | 407 | 287408211f193624d37678d66b0f31f457017d08 | 758 | aws-sdk-kotlin | Apache License 2.0 |
src/app/src/main/java/com/dev_vlad/car_v/views/sellers/add/AddCarImagesFragment.kt | vlad-ed-git | 340,000,420 | false | null | package com.dev_vlad.car_v.views.sellers.add
import android.app.Activity.RESULT_OK
import android.content.DialogInterface
import android.content.Intent
import android.os.Bundle
import android.provider.MediaStore
import android.view.*
import androidx.appcompat.app.AlertDialog
import androidx.core.view.isVisible
import ... | 0 | Kotlin | 0 | 0 | ad2f9dc29cd1d98d62f3753801c169e08ab29a70 | 8,831 | car_valuation_prototype_app | MIT License |
src/main/kotlin/one/devos/osuv2kt/models/beatmap/BeatmapsetDiscussion.kt | devOS-Sanity-Edition | 856,181,413 | false | {"Kotlin": 49164} | package one.devos.osuv2kt.models.beatmap
import com.google.gson.JsonElement
import one.devos.osuv2kt.models.CurrentUserAttributes
import java.time.OffsetDateTime
public data class BeatmapsetDiscussion(
public val beatmap: Beatmap?,
public val beatmapId: Int?,
public val beatmapset: Beatmapset?,
public... | 0 | Kotlin | 0 | 0 | ebefb4d6ad7003c46c4e482d8229af8df6552b81 | 1,099 | osuv2kt | MIT License |
src/test/kotlin/canon/parser/xml/strategy/MultipleChoiceStrategyTest.kt | leftshiftone | 205,671,409 | false | null | package canon.parser.xml.strategy
import canon.extension.toNode
import canon.parser.xml.CanonXmlParser
import org.assertj.core.api.Assertions.assertThat
import org.junit.jupiter.api.Test
class MultipleChoiceStrategyTest {
@Test
fun `ordinary parsing`() {
val xml = "<multipleChoice id='testId' class='... | 0 | Kotlin | 1 | 0 | 5babc577eeca5655cf92e64dd2693c591c72eb50 | 1,816 | canon | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.