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/dev/fastmc/modsetup/ModSetupPlugin.kt | FastMinecraft | 574,376,130 | false | {"Kotlin": 48962} | package dev.fastmc.modsetup
import org.gradle.api.Plugin
import org.gradle.api.Project
class ModSetupPlugin : Plugin<Project> {
override fun apply(project: Project) {
RootConfigure(project).configure()
}
} | 0 | Kotlin | 0 | 8 | 17ee2db67a3d87e2e0681f70bf221a8ec84a3870 | 223 | mod-setup | MIT License |
app/src/main/java/com/theapache64/tvplayground/utils/JawwyGlideModule.kt | anoopmaddasseri | 316,386,537 | false | null | package com.theapache64.tvplayground.utils
import com.bumptech.glide.annotation.GlideModule
import com.bumptech.glide.module.AppGlideModule
/**
* Created by theapache64 : Nov 23 Mon,2020 @ 19:00
*/
@GlideModule
class JawwyGlideModule : AppGlideModule() {
} | 0 | Kotlin | 0 | 0 | 66a18e264cbc35d3ea5aacc93d6c062a09b7fdf9 | 260 | TVProgramBarPlayGround | Apache License 2.0 |
spring-cloud-task/src/main/kotlin/com/livk/task/TaskExample.kt | livk-cloud | 441,105,335 | false | {"Kotlin": 91905} | package com.livk.task
import org.slf4j.LoggerFactory
import org.springframework.boot.CommandLineRunner
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.runApplication
import org.springframework.cloud.task.configuration.EnableTask
import org.springframework.context.ann... | 2 | Kotlin | 7 | 26 | 24a5ed3d575787e65bd20860323e9e668c3bfaea | 933 | spring-cloud-kotlin | Apache License 2.0 |
gi/src/commonMain/kotlin/org/anime_game_servers/multi_proto/gi/data/battle/event/AiSkillCdInfo.kt | Anime-Game-Servers | 642,871,918 | false | {"Kotlin": 1651536} | package data.battle.event
import org.anime_game_servers.core.base.Version.GI_1_2_0
import org.anime_game_servers.core.base.Version.GI_CB1
import org.anime_game_servers.core.base.annotations.AddedIn
import org.anime_game_servers.core.base.annotations.proto.ProtoModel
@AddedIn(GI_CB1)
@ProtoModel
internal interface AiS... | 1 | Kotlin | 3 | 6 | b342ff34dfb0f168a902498b53682c315c40d44e | 431 | anime-game-multi-proto | MIT License |
reflekt-plugin/src/test/resources/io/reflekt/plugin/analysis/util/data/several_filters_test/project/test/Main.kt | altavir | 408,735,983 | true | {"Kotlin": 257342} | package io.reflekt.test
import io.reflekt.SmartReflekt
import org.jetbrains.kotlin.psi.KtClass
fun main() {
val smartClasses = SmartReflekt.classes<AInterface1Test>()
.filter { it.isInterface() }
.filter { true }
.filter { klass: KtClass -> klass.isInterface() }
.filter { klass -> ... | 0 | null | 0 | 0 | d8938ad12beeb2b53a4abe647ae6f875a1157d29 | 363 | reflekt | Apache License 2.0 |
app/src/main/java/com/rmoralf/marveltest/presentation/search/components/SearchRow.kt | rmoralf | 515,890,655 | false | {"Kotlin": 81685} | package com.rmoralf.marveltest.presentation.search.components
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.material.*
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.filled.Search
import androidx.compose... | 0 | Kotlin | 0 | 0 | f0872db0656d302af8bbc011e654309e1b252bca | 1,812 | marvel-test | Apache License 2.0 |
src/integration-test/kotlin/com/betomorrow/gradle/appcenter/AppCenterProperties.kt | oliviergauthier | 166,103,947 | false | null | package com.betomorrow.gradle.appcenter
import java.util.*
/**
* AppCenter API properties used for integration tests.
*/
class AppCenterProperties {
private val props = ClassLoader.getSystemResourceAsStream("integration-test.properties").use { inputStream ->
Properties().apply {
load(inputS... | 17 | Kotlin | 50 | 79 | 5f263d074368d9ec7ce0dd833343758cc5be2154 | 618 | gradle-appcenter-plugin | MIT License |
tracer/src/util/Misc.kt | WingCorp | 139,587,913 | false | {"Kotlin": 27425} | package util
import basics.Colour
import java.util.concurrent.ExecutorService
import java.util.concurrent.Executors
import java.util.concurrent.TimeUnit
import kotlin.math.min
/**
* Created by Jon on 21-07-2017.
*/
object Misc {
fun<T> id(it: T): T = it
//Standard background color
val BG_COLOR: Colour... | 0 | Kotlin | 0 | 1 | 9961c7820ccf4561b832ac9896bdb4ba9a67ff5b | 1,824 | jart | MIT License |
app/src/main/java/douglasspgyn/com/github/desafiostone/application/ApplicationConfig.kt | douglasspgyn | 110,436,838 | true | {"Kotlin": 46535} | package douglasspgyn.com.github.desafiostone.application
/**
* Created by Douglas on 12/11/17.
*/
object ApplicationConfig {
val API_URL = "https://raw.githubusercontent.com"
val APIARY_URL = "https://private-f1493e-stonedesafiomobile1.apiary-mock.com"
} | 0 | Kotlin | 0 | 0 | f5bfc3400c56dec7a70f08aeeeccd79feb250fe2 | 266 | desafio-mobile | MIT License |
src/main/java/com/nativedevps/google/delegate/AuthContractor.kt | merlinJeyakumar | 660,900,490 | false | null | package com.nativedevps.google.delegate
import androidx.fragment.app.FragmentActivity
interface AuthContractor {
fun retrieveActivity(): FragmentActivity
} | 0 | Kotlin | 0 | 0 | 44f0d53f5f8e5e38e85dad80f5351dbc6f72b132 | 161 | JGoogleAuth | MIT License |
sdk/src/main/java/com/mapbox/maps/renderer/RenderHandlerThread.kt | mapbox | 330,365,289 | false | {"Kotlin": 3277457, "Java": 88976, "Python": 18705, "Shell": 11465, "C++": 10129, "JavaScript": 4344, "Makefile": 2847, "CMake": 1201, "EJS": 1194} | package com.mapbox.maps.renderer
import android.os.Handler
import android.os.HandlerThread
import android.os.Message
import android.os.Process.THREAD_PRIORITY_DISPLAY
import androidx.annotation.RestrictTo
import androidx.annotation.VisibleForTesting
import com.mapbox.maps.logW
@RestrictTo(RestrictTo.Scope.LIBRARY)
in... | 196 | Kotlin | 120 | 404 | 83a3dcc9212f2426d80435615d484b0cb147b187 | 1,423 | mapbox-maps-android | Apache License 2.0 |
app/src/main/java/com/vicky7230/cayennekt/data/network/ApiHelper.kt | pranaypatel512 | 122,066,604 | false | null | package com.vicky7230.cayennekt.data.network
import com.vicky7230.cayennekt.data.network.model.recipes.Recipes
import com.vicky7230.cayennekt.data.network.model.singleRecipe.SingleRecipe
import io.reactivex.Observable
import retrofit2.http.Field
/**
* Created by vicky on 31/12/17.
*/
interface ApiHelper {
fun ... | 0 | Kotlin | 0 | 0 | 7d99b4be5ed025010fcdaae4cd1f6ec7bbfe2255 | 552 | Cayenne-Kt | Apache License 2.0 |
kotlin-electron/src/jsMain/generated/electron/utility/BrowserWindowConstructorOptions.kt | JetBrains | 93,250,841 | false | {"Kotlin": 12159121, "JavaScript": 330528} | // Generated by Karakum - do not modify it manually!
package electron.utility
typealias BrowserWindowConstructorOptions = electron.core.BrowserWindowConstructorOptions
| 40 | Kotlin | 165 | 1,319 | a8a1947d73e3ed26426f1e27b641bff427dfd6a0 | 172 | kotlin-wrappers | Apache License 2.0 |
src/main/java/com/vladsch/md/nav/editor/util/HtmlScriptResource.kt | vsch | 32,095,357 | false | null | // Copyright (c) 2015-2023 Vladimir Schneider <vladimir.schneider@gmail.com> Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.vladsch.md.nav.editor.util
import com.intellij.openapi.actionSystem.DataContext
import com.intellij.openapi.project.Project
impor... | 134 | null | 131 | 809 | ec413c0e1b784ff7309ef073ddb4907d04345073 | 1,636 | idea-multimarkdown | Apache License 2.0 |
src/main/kotlin/ru/ozon/ideplugin/kelp/demoApp/OpenDsComponentInDemoAppIntention.kt | ozontech | 728,178,660 | false | {"Kotlin": 79988, "HTML": 210} | package ru.ozon.ideplugin.kelp
import com.android.ddmlib.IDevice
import com.android.ddmlib.MultiLineReceiver
import com.android.ddmlib.NullOutputReceiver
import com.intellij.codeInsight.intention.IntentionAction
import com.intellij.codeInsight.intention.PriorityAction
import com.intellij.codeInsight.intention.PsiEleme... | 0 | Kotlin | 1 | 97 | 7110df10d83afacd2444808ff8525d6fecef2a7a | 13,868 | kelp | Apache License 2.0 |
composesensors/src/main/java/com/mutualmobile/composesensors/StationaryDetectSensorState.kt | mutualmobile | 618,044,998 | false | null | package com.mutualmobile.composesensors
import android.hardware.Sensor
import android.os.Build
import androidx.annotation.RequiresApi
import androidx.compose.runtime.Composable
import androidx.compose.runtime.Immutable
import androidx.compose.runtime.LaunchedEffect
import androidx.compose.runtime.mutableStateOf
import... | 3 | null | 7 | 208 | 777b5ab0a8971c8539fba8d72b21401b7e5f7641 | 4,187 | ComposeSensors | Apache License 2.0 |
adapter-out/rdb/src/main/kotlin/com/yapp/bol/terms/TermsAgreeRepository.kt | YAPP-Github | 634,125,780 | false | null | package com.yapp.bol.terms
import org.springframework.data.jpa.repository.JpaRepository
internal interface TermsAgreeRepository : JpaRepository<TermsAgreeEntity, Long> {
fun findByUserId(userId: Long): List<TermsAgreeEntity>
fun findByUserIdAndCode(userId: Long, code: TermsCode): TermsAgreeEntity?
}
| 4 | Kotlin | 0 | 13 | 9391cc9c45d7446c977517231f367f32ff4c4991 | 312 | onboard-server | Apache License 2.0 |
android/app/src/main/kotlin/io/quang/datingsample/MainActivity.kt | quangIO | 169,837,359 | false | null | package io.quang.datingsample
import android.os.Bundle
import android.view.ViewGroup
import android.widget.*
import io.flutter.app.FlutterActivity
import io.flutter.plugins.GeneratedPluginRegistrant
import com.mapbox.mapboxsdk.*
import com.mapbox.mapboxsdk.maps.*
import com.mapbox.mapboxsdk.camera.*
import com.mapbo... | 0 | Dart | 24 | 59 | 60e31720c33b2bb8d9255327e66d890de2e99a07 | 679 | dating-app-concept-flutter | MIT License |
app/src/main/java/app/re_eddit/api/response/topic/TopicPostDataResponse.kt | thi-feonir | 280,704,691 | false | null | package app.re_eddit.api.response.topic
import app.re_eddit.core.ext.toDate
import app.re_eddit.domain.entity.Post
import com.squareup.moshi.JsonClass
@JsonClass(generateAdapter = true)
data class TopicPostDataResponse(
val title: String? = "",
val subreddit_name_prefixed: String? = "",
val url: String?,
... | 0 | Kotlin | 0 | 0 | be95572522267db7a38707268f590ae8fd3af920 | 987 | re-eddit | Apache License 2.0 |
openapi-parser/src/test/kotlin/io/openapiparser/model/v3x/OperationSpec.kt | openapi-processor | 418,185,783 | false | {"Java": 629502, "Kotlin": 243428, "Just": 441} | /*
* Copyright 2021 https://github.com/openapi-processor/openapi-parser
* PDX-License-Identifier: Apache-2.0
*/
package io.openapiparser.model.v3x
import io.kotest.core.spec.style.StringSpec
import io.kotest.matchers.booleans.shouldBeFalse
import io.kotest.matchers.booleans.shouldBeTrue
import io.kotest.matchers.c... | 15 | Java | 1 | 12 | 3d17243e662b1bdb5c6a2d7237a117f7a0238c2d | 4,893 | openapi-parser | Apache License 2.0 |
src/test/kotlin/uk/gov/justice/digital/hmpps/hmppsinterventionsservice/reporting/ndmis/ComplexityProcessorTest.kt | ministryofjustice | 312,544,431 | false | null | package uk.gov.justice.digital.hmpps.hmppsinterventionsservice.reporting.ndmis
import org.assertj.core.api.Assertions.assertThat
import org.junit.jupiter.api.Test
import uk.gov.justice.digital.hmpps.hmppsinterventionsservice.jpa.entity.Complexity
import uk.gov.justice.digital.hmpps.hmppsinterventionsservice.jpa.entity... | 4 | Kotlin | 1 | 2 | 256cf1e182f5a9d730a61bacdaee944cbc680c48 | 3,652 | hmpps-interventions-service | MIT License |
custom-vu/src/main/kotlin/jces1209/vu/page/bars/topBar/dc/DcTopBar.kt | wyrzyk | 240,481,378 | true | {"Kotlin": 326577} | package jces1209.vu.page.bars.topBar.dc
import jces1209.vu.page.AbstractIssuePage
import jces1209.vu.page.FalliblePage
import jces1209.vu.page.bars.topBar.TopBar
import jces1209.vu.wait
import org.openqa.selenium.By
import org.openqa.selenium.WebDriver
import org.openqa.selenium.interactions.Actions
import org.openqa.... | 0 | Kotlin | 0 | 0 | 6a42116dfd1613dc30df7dacda7f8d2fd8d8096f | 1,626 | JCES-1314 | Apache License 2.0 |
app/src/main/java/pl/sienczykm/templbn/utils/ExternalDisplaysHandler.kt | mat-sienczyk | 193,071,707 | false | null | package pl.sienczykm.templbn.utils
import android.app.Notification
import android.app.NotificationChannel
import android.app.NotificationManager
import android.appwidget.AppWidgetManager
import android.content.ComponentName
import android.content.Context
import android.content.Intent
import android.graphics.drawable.I... | 0 | Kotlin | 1 | 2 | d3fff36942a72981ab8ba93865426b44029eb365 | 10,388 | LubelskieStacjePogodowe | Apache License 2.0 |
app/src/main/java/com/example/alexmelnikov/coinspace/ui/statistics/StatisticsPresenter.kt | vovaksenov99 | 143,032,036 | true | {"Kotlin": 193222} | package com.example.alexmelnikov.coinspace.ui.statistics
import android.util.Log
import com.example.alexmelnikov.coinspace.BaseApp
import com.example.alexmelnikov.coinspace.model.entities.Account
import com.example.alexmelnikov.coinspace.model.entities.OperationType
import com.example.alexmelnikov.coinspace.model.getC... | 0 | Kotlin | 0 | 0 | 6907306ad96bac7e47588e8237cd1f6d5986fb8b | 3,679 | CoinSpace | MIT License |
SocialDistance/src/main/java/tw/gov/cdc/exposurenotifications/common/PreferenceManager.kt | ailabstw | 378,797,655 | false | null | package tw.gov.cdc.exposurenotifications.common
import android.content.Context
import androidx.core.content.edit
import tw.gov.cdc.exposurenotifications.BaseApplication
import java.util.*
object PreferenceManager {
private const val PREF_NAME = "PREF_NAME_TW_CDC_EN"
private const val PREF_KEY_FIRST_LAUNCH_T... | 9 | Kotlin | 51 | 62 | e34f11f8ea3c9e08d33c82c1b001590381ea4749 | 5,980 | social-distancing-android | MIT License |
app/src/main/java/com/bossed/waej/javebean/VinSearchBean.kt | Ltow | 710,230,789 | false | {"Kotlin": 2304560, "Java": 395495, "HTML": 71364} | package com.bossed.waej.javebean
import com.google.gson.annotations.SerializedName
data class VinSearchBean(
@SerializedName("content")
val content: String,
@SerializedName("name")
val name: String
) | 0 | Kotlin | 0 | 0 | 8c2e9928f6c47484bec7a5beca32ed4b10200f9c | 217 | wananexiu | Mulan Permissive Software License, Version 2 |
MobileLoggingSdk/MobileSdk/src/main/java/com/ivoafsilva/mobiweb/mobilesdk/network/model/RequestBody.kt | iafsilva | 847,307,039 | false | {"Kotlin": 34845} | package com.ivoafsilva.mobiweb.mobilesdk.network.model
import com.google.gson.annotations.SerializedName
internal data class RequestBody(
@SerializedName("myString")
val myString: String
) | 0 | Kotlin | 0 | 1 | 0d7ec1185f3a4dc0c339f4c343bc98e9b080db90 | 198 | mobiweb-challenge | MIT License |
bot/connector-messenger/src/main/kotlin/model/send/Element.kt | theopenconversationkit | 84,538,053 | false | null | /*
* Copyright (C) 2017/2020 e-voyageurs technologies
*
* 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... | 163 | null | 127 | 475 | 890f69960997ae9146747d082d808d92ee407fcb | 2,135 | tock | Apache License 2.0 |
compensation/wow-compensation-domain/src/main/kotlin/me/ahoo/wow/compensation/domain/FindNextRetry.kt | Ahoo-Wang | 628,167,080 | false | {"Kotlin": 1902621, "Java": 34050, "TypeScript": 31834, "HTML": 11619, "Lua": 3978, "JavaScript": 2288, "Dockerfile": 820, "SCSS": 500, "Less": 342} | /*
* Copyright [2021-present] [ahoo wang <ahoowang@qq.com> (https://github.com/Ahoo-Wang)].
* 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.... | 6 | Kotlin | 10 | 98 | eed438bab2ae009edf3a1db03396de402885c681 | 946 | Wow | Apache License 2.0 |
app/src/main/java/com/qingmei2/sample/http/service/UserService.kt | ngima | 234,334,329 | false | null | package com.qingmei2.sample.http.service
import com.qingmei2.sample.entity.ReceivedEvent
import com.qingmei2.sample.entity.Repo
import com.qingmei2.sample.entity.UserInfo
import retrofit2.Response
import retrofit2.http.GET
import retrofit2.http.Path
import retrofit2.http.Query
interface UserService {
@GET("user"... | 1 | null | 1 | 1 | da57f583c1cedd860b7c6abc39092413c133c245 | 918 | MVVM-Architecture | Apache License 2.0 |
embrace-android-sdk/src/main/java/io/embrace/android/embracesdk/internal/utils/StreamUtils.kt | embrace-io | 704,537,857 | false | {"Kotlin": 2867942, "C": 190133, "Java": 177132, "C++": 13140, "CMake": 4261} | package io.embrace.android.embracesdk.internal.utils
/**
* Backwards compatibility streaming for Java, implemented via Kotlin.
*/
internal inline fun <T> stream(
collection: Collection<T>,
function: (T) -> Unit
) = collection.toList().forEach(function)
/**
* Backwards compatibility filtering for Java, impl... | 16 | Kotlin | 7 | 133 | a7d76f379f1e190c0deaddbb783d63ac953fd1df | 679 | embrace-android-sdk | Apache License 2.0 |
API/src/main/kotlin/uk/tldcode/extraterrestrialprobemachine/api/utils/Plurality.kt | Thelonedevil | 83,298,868 | false | {"Maven POM": 9, "Text": 1, "Ignore List": 1, "YAML": 1, "Kotlin": 13, "HTML": 1, "Java": 1, "Scala": 1} | package uk.tldcode.extraterrestrialprobemachine.api.utils
enum class Plurality {
Singular,
Plural,
CouldBeEither
} | 1 | null | 1 | 1 | c4da69518d716b744c71e618341096562b5190dc | 127 | Extra-Terrestrial-Probe-Machine | Apache License 2.0 |
commonMain/src/mock/java/com/rayliu/commonmain/di/DataModule.kt | YuanLiou | 111,275,765 | false | {"Kotlin": 249032, "Shell": 1384} | package com.rayliu.commonmain.di
import com.rayliu.commonmain.data.BookSearchApi
import com.rayliu.commonmain.data.api.BookSearchService
import kotlinx.serialization.json.Json
import org.koin.android.ext.koin.androidApplication
import org.koin.dsl.module
val dataModule = module {
// Provide: BookSearchService
... | 0 | Kotlin | 4 | 40 | d767ad0d5b778b14fc68809e265bec5633b2aaed | 457 | TaiwanEbookSearch | MIT License |
src/main/kotlin/uk/gov/justice/digital/hmpps/pecs/jpc/spreadsheet/LockoutMovesSheet.kt | uk-gov-mirror | 356,783,334 | true | {"Kotlin": 428549, "HTML": 83335, "CSS": 12598, "Shell": 6092, "Mustache": 4485, "Dockerfile": 945} | package uk.gov.justice.digital.hmpps.pecs.jpc.spreadsheet
import org.apache.poi.ss.usermodel.Workbook
import uk.gov.justice.digital.hmpps.pecs.jpc.move.Move
class LockoutMovesSheet(workbook: Workbook, header: Header) : PriceSheet(workbook.getSheet("Lockouts")!!, header) {
override fun writeMove(move: Move) {
w... | 0 | Kotlin | 0 | 0 | 448660ac4b18cc4c8cf3c137a902ed7a99a9fff4 | 380 | ministryofjustice.calculate-journey-variable-payments | MIT License |
app/src/test/java/reach52/marketplace/community/persistence/logistic_resident/LogisticResidentMapperTestSuite.kt | reach52 | 422,514,975 | false | {"Kotlin": 1436380, "Java": 18303} | package reach52.marketplace.community.persistence.logistic_resident
import org.junit.runner.RunWith
import org.junit.runners.Suite
@RunWith(Suite::class)
@Suite.SuiteClasses(
CreatedByTest::class,
LogisticResidentTest::class
)
class LogisticResidentMapperTestSuite | 0 | Kotlin | 0 | 0 | 629c52368d06f978f19238d0bd865f4ef84c23d8 | 283 | Marketplace-Community-Edition | MIT License |
kiwi-core/src/commonTest/kotlin/org/fromsource/kiwi/core/bool/BooleanShouldTest.kt | from-source | 215,532,120 | false | null | package org.fromsource.kiwi.core.bool
import org.fromsource.kiwi.core.should
import kotlin.test.Test
internal class BooleanShouldTest {
@Test
fun `should guarantee true is equal to true`() {
true.should.beEqual(true)
}
@Test
fun `should guarantee false is equal to false`() {
fals... | 5 | Kotlin | 2 | 17 | f984d09af9aff043793ade2187330645d3be16c3 | 1,382 | kiwi | MIT License |
kotlin-electron/src/jsMain/generated/electron/core/ProgressBarOptionsMode.kt | JetBrains | 93,250,841 | false | {"Kotlin": 11691809, "JavaScript": 168519} | package electron.core
@Suppress(
"NAME_CONTAINS_ILLEGAL_CHARS",
"NESTED_CLASS_IN_EXTERNAL_INTERFACE",
)
@JsName("""(/*union*/{none: 'none', normal: 'normal', indeterminate: 'indeterminate', error: 'error', paused: 'paused'}/*union*/)""")
sealed external interface ProgressBarOptionsMode {
companion object ... | 32 | Kotlin | 174 | 1,252 | 8f788651776064a30ce1688160b7ef9c314a6fe9 | 549 | kotlin-wrappers | Apache License 2.0 |
src/main/kotlin/ar/edu/unq/pds03backend/service/impl/PasswordService.kt | cassa10 | 478,695,193 | false | {"Kotlin": 387344, "Shell": 2326, "Dockerfile": 168} | package ar.edu.unq.pds03backend.service.impl
import ar.edu.unq.pds03backend.service.IPasswordService
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.security.crypto.password.PasswordEncoder
import org.springframework.stereotype.Service
import java.util.*
@Service
class Passwor... | 0 | Kotlin | 1 | 0 | 2e61373e3b06ba75399dc429683eec6281f405e9 | 1,157 | pds03-backend | MIT License |
src/main/kotlin/com/cosmic_jewelry/common/world/level/block/BuriedGemBlock.kt | AugustoMegener | 807,287,719 | false | {"Kotlin": 53321} | package com.cosmic_jewelry.common.world.level.block
import net.minecraft.core.BlockPos
import net.minecraft.world.level.block.Block
import net.minecraft.world.level.block.EntityBlock
import net.minecraft.world.level.block.entity.BlockEntity
import net.minecraft.world.level.block.state.BlockState
class BuriedGemBlock(... | 0 | Kotlin | 0 | 0 | c652ad67ced1456ab1c553a8f378f64c5d8346ba | 506 | cosmicjewlery | MIT License |
domain/src/main/java/com/example/moviedatabase/domain/usecase/movie/GetGenresUseCase.kt | hungan1409 | 490,214,907 | false | {"Kotlin": 165975, "Java": 16338} | package com.example.moviedatabase.domain.usecase.movie
import com.example.moviedatabase.domain.model.EmptyParams
import com.example.moviedatabase.domain.model.Genre
import com.example.moviedatabase.domain.repository.MovieRepository
import com.example.moviedatabase.domain.usecase.UseCase
import javax.inject.Inject
cla... | 0 | Kotlin | 1 | 2 | b682fdc811b43e794a261e01eeb99ad6cfebab31 | 588 | The-Movie-Database-Clean-Architecture-v2 | Apache License 2.0 |
android-example/src/main/kotlin/org/rewedigital/katana/android/example/main/view/MainActivity.kt | rewe-digital-incubator | 155,181,363 | false | null | package org.rewedigital.katana.android.example.main.view
import android.os.Bundle
import android.view.View
import android.view.ViewGroup
import android.widget.Button
import android.widget.ProgressBar
import android.widget.TextView
import android.widget.Toast
import androidx.appcompat.app.AlertDialog
import androidx.ap... | 1 | null | 9 | 183 | 4c55f29f793a35f77dff96ede2204fde12fc1cb4 | 3,036 | katana | MIT License |
integration/common/taskpool-sender/src/main/kotlin/io/holunda/camunda/taskpool/EnableTaskpoolSender.kt | margue | 384,111,593 | true | {"Kotlin": 647631} | package io.holunda.camunda.taskpool
import io.holunda.camunda.taskpool.sender.SenderConfiguration
import org.springframework.context.annotation.Import
/**
* Enables the taskpool sender.
*/
@MustBeDocumented
@Import(SenderConfiguration::class)
annotation class EnableTaskpoolSender
| 0 | null | 0 | 0 | d5797861e5d7126dcdfd5e5b9cca8478f887cf68 | 285 | camunda-bpm-taskpool | Apache License 2.0 |
clef-workflow-api/clef-workflow-api-usecase/clef-workflow-api-usecase-workflow/src/main/java/io/arkitik/clef/workflow/api/usecase/workflow/main/EnableWorkflowUseCase.kt | arkitik | 443,436,455 | false | {"Kotlin": 433170, "Shell": 268, "Dockerfile": 244} | package io.arkitik.clef.workflow.api.usecase.workflow.main
import io.arkitik.clef.workflow.api.common.error.WorkflowResponses
import io.arkitik.clef.workflow.api.common.response.SharedResponse
import io.arkitik.clef.workflow.api.domain.shared.embedded.IdentityStatus
import io.arkitik.clef.workflow.api.function.shared.... | 0 | Kotlin | 0 | 0 | 785e1b4ee583b6a6e3ea01e656eecd8365f171ef | 2,066 | clef-workflow | Apache License 2.0 |
jvm-debugger/test/testData/continuation/suspendFunWithInner.kt | JetBrains | 278,369,660 | false | null | package continuation
// ATTACH_LIBRARY: maven(org.jetbrains.kotlinx:kotlinx-coroutines-debug:1.3.8)-javaagent
import kotlinx.coroutines.runBlocking
import kotlinx.coroutines.yield
fun main() {
val mainTestVal = ""
runBlocking {
val rootCoroutineVal = mainTestVal
TestSuspendA().a()
prin... | 284 | null | 5162 | 82 | cc81d7505bc3e9ad503d706998ae8026c067e838 | 969 | intellij-kotlin | Apache License 2.0 |
common/auth/src/main/kotlin/no/nav/amt/tiltak/common/auth/AuthService.kt | navikt | 393,356,849 | false | {"Kotlin": 763267, "PLpgSQL": 635, "Dockerfile": 160} | package no.nav.amt.tiltak.common.auth
import no.nav.amt.tiltak.core.exceptions.NotAuthenticatedException
import no.nav.security.token.support.core.context.TokenValidationContextHolder
import org.springframework.beans.factory.annotation.Value
import org.springframework.http.HttpStatus
import org.springframework.stereot... | 4 | Kotlin | 3 | 4 | 7d3177f915332a8aea5d4fcd14bd5072531cbfb8 | 2,929 | amt-tiltak | MIT License |
acornui-core/src/commonMain/kotlin/com/acornui/component/Image.kt | fuzzyweapon | 130,889,917 | true | {"Kotlin": 2963922, "JavaScript": 15366, "HTML": 5956, "Java": 4507} | /*
* Copyright 2015 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... | 0 | Kotlin | 1 | 0 | a57100f894721ee342d23fe8cacb3fcbcedbe6dc | 2,373 | acornui | Apache License 2.0 |
app/src/main/java/com/gmail/eamosse/imdb/ui/listMovies/ListMoviesFragment.kt | GuillaumeLagouy | 242,684,476 | true | {"Kotlin": 67858} | package com.gmail.eamosse.imdb.ui.listMovies
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import androidx.lifecycle.Observer
import androidx.navigation.fragment.findNavController
import com.gmail.eamosse.imdb.da... | 0 | Kotlin | 0 | 0 | 45c9cd2a73d1d00dc4cc15e88f9fc8e3cd29e41c | 1,562 | the-movie-app | Apache License 2.0 |
src/test/kotlin/ch/sourcemotion/vertx/kinesis/consumer/orchestra/impl/cluster/RedisNodeScoreVerticleTest.kt | wem | 253,237,315 | false | null | package ch.sourcemotion.vertx.kinesis.consumer.orchestra.impl.cluster
import ch.sourcemotion.vertx.kinesis.consumer.orchestra.impl.OrchestraClusterName
import ch.sourcemotion.vertx.kinesis.consumer.orchestra.impl.OrchestraClusterNodeId
import ch.sourcemotion.vertx.kinesis.consumer.orchestra.internal.service.NodeScoreD... | 6 | Kotlin | 0 | 4 | 026f06f31457f0ba99b688864ea5d4cfde3c2f4d | 6,759 | vertx-kinesis-consumer-orchestra | MIT License |
library/src/jvmCommonMain/kotlin/nativex/WKClientTransferBundle.kt | DrewCarlson | 228,961,452 | false | null | /*
* Created by <NAME>.
* Copyright (c) 2020 Breadwinner AG. All right reserved.
*
* See the LICENSE file at the project root for license information.
* See the CONTRIBUTORS file at the project root for a list of contributors.
*/
package com.blockset.walletkit.nativex
import com.blockset.walletkit.nativex.libra... | 4 | Kotlin | 1 | 1 | 6a6b20a69e6307d89ad7ce3494fb794411fb7e76 | 2,250 | WalletKit-Kotlin | The Unlicense |
Export/src/me/anno/export/idea/IdeaModule.kt | AntonioNoack | 456,513,348 | false | null | package me.anno.export.idea
import me.anno.io.files.FileReference
import me.anno.io.xml.generic.XMLNode
import me.anno.io.xml.generic.XMLReader
import kotlin.test.assertEquals
class IdeaModule(val project: IdeaProject) {
val moduleDependencies = ArrayList<String>()
val libraryDependencies = ArrayList<String>(... | 0 | null | 3 | 24 | 013af4d92e0f89a83958008fbe1d1fdd9a10e992 | 1,284 | RemsEngine | Apache License 2.0 |
mobile_app1/module346/src/main/java/module346packageKt0/Foo655.kt | uber-common | 294,831,672 | false | null | package module346packageKt0;
annotation class Foo655Fancy
@Foo655Fancy
class Foo655 {
fun foo0(){
module346packageKt0.Foo654().foo5()
}
fun foo1(){
foo0()
}
fun foo2(){
foo1()
}
fun foo3(){
foo2()
}
fun foo4(){
foo3()
}
fun foo5(){
foo4()
}
} | 6 | null | 6 | 72 | 9cc83148c1ca37d0f2b2fcb08c71ac04b3749e5e | 297 | android-build-eval | Apache License 2.0 |
android/quest/src/main/java/org/smartregister/fhircore/quest/configuration/view/QuestBottomNavigationActions.kt | opensrp | 339,242,809 | false | null | /*
* Copyright 2021 Ona Systems, Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | 158 | Kotlin | 8 | 18 | 9d7044a12ef2726705a3019cb26ab03bc48bc28c | 1,340 | fhircore | Apache License 2.0 |
app/src/main/java/com/junnanhao/next/data/model/ClusterMembership.kt | jonashao | 92,558,408 | false | null | package com.junnanhao.next.data.model
import io.objectbox.annotation.Entity
import io.objectbox.annotation.Id
import io.objectbox.relation.ToOne
/**
* Created by jonashao on 2017/9/26.
* relationship between cluster and song, and their membership
*/
@Entity
data class ClusterMembership(
@Id private var id:... | 1 | null | 2 | 12 | cccaebc170f8515d63ece94f169512696f0b1149 | 717 | next-kotlin | Apache License 2.0 |
app/src/main/java/com/kasuminotes/ui/components/SearchBar.kt | chilbi | 399,723,451 | false | null | package com.kasuminotes.ui.components
import androidx.compose.foundation.background
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.WindowInsets
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.... | 0 | null | 0 | 1 | 6a432d3f2820e59bdbe7f939ad9e1af3bbd1a1de | 3,358 | KasumiNotes | Apache License 2.0 |
src/main/kotlin/com/empowerops/getoptk/Converters.kt | EmpowerOperations | 72,069,047 | false | null | package com.empowerops.getoptk
import java.lang.reflect.Method
import java.lang.reflect.Modifier
import kotlin.reflect.KClass
import kotlin.reflect.full.companionObject
import kotlin.reflect.full.companionObjectInstance
import java.lang.Enum as JavaEnum
//looks up strategies to convert strings to T's, eg "Double.pars... | 0 | null | 2 | 8 | 06442978011da80c818f363508fdf9d230a8ca30 | 4,497 | getoptk | Apache License 2.0 |
compiler/fir/tree/src/org/jetbrains/kotlin/fir/types/builder/FirErrorTypeRefBuilder.kt | JetBrains | 3,432,266 | false | null | /*
* Copyright 2010-2021 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.fir.types.builder
import kotlin.contracts.*
import org.jetbrains.kotlin.KtSource... | 163 | null | 5686 | 46,039 | f98451e38169a833f60b87618db4602133e02cf2 | 2,656 | kotlin | Apache License 2.0 |
app/src/androidTest/java/com/muratcangzm/valorantstore/api/ValorantApiTest.kt | NecroEye | 719,144,732 | false | {"Kotlin": 58763} | package com.muratcangzm.valorantstore.api
import com.muratcangzm.valorantstore.model.remote.AgentModel
import com.muratcangzm.valorantstore.model.remote.CurrencyModel
import com.muratcangzm.valorantstore.model.remote.WeaponSkinModel
import com.muratcangzm.valorantstore.utils.Constans
import org.junit.runner.RunWith
im... | 0 | Kotlin | 0 | 0 | 867318d628110dcaa3432fe024ea77affe9630b7 | 940 | Valorant_Store | Apache License 2.0 |
src/main/kotlin/com/nitramite/gamescoreapi/dao/GameEntity.kt | norkator | 441,637,075 | false | null | package com.nitramite.gamescoreapi.dao
import javax.persistence.*
@Entity(name = "game")
class GameEntity(
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
@Column(nullable = false)
val id: Long? = null,
val name: String,
val description: String?,
val enabled: Boolean = true,
... | 0 | Kotlin | 1 | 0 | eb4b79d8c905660258a8f7225cc7dafa9708a737 | 388 | game-score-api | MIT License |
domain/src/main/java/com/sample/tmdb/domain/model/DetailWrapper.kt | alirezaeiii | 544,156,630 | false | {"Kotlin": 230111} | package com.sample.tmdb.domain.model
class DetailWrapper<T : TMDbItemDetails>(
val cast: List<Cast>,
val crew: List<Crew>,
val details: T
) | 0 | Kotlin | 3 | 8 | 12a8a4fa953d6d84f2bd33b7807a097ea708ab42 | 152 | TMDb-Compose-Playground | The Unlicense |
app/src/main/java/com/bunkalogic/bunkalist/Utils/InputFilterMinMax.kt | bunkalogic | 171,318,735 | false | {"Kotlin": 544892} | package com.bunkalogic.bunkalist.Utils
import android.text.Spanned
import android.text.InputFilter
class InputFilterMinMax(private val min: Double, private val max: Double) : InputFilter {
override fun filter(
source: CharSequence,
start: Int,
end: Int,
dest: Spanned,
dst... | 0 | Kotlin | 0 | 2 | 1b5c1d40f0e7514de3a666614cdf6fe88e21ca3f | 820 | BunkaList-Replaced- | Apache License 2.0 |
src/main/kotlin/id/walt/model/dif/DisclosureLimitation.kt | walt-id | 392,607,264 | false | null | package id.walt.model.dif
enum class DisclosureLimitation {
required,
preferred
}
| 6 | null | 34 | 97 | 1a8776a899ac97aa32f58d2f70aba23683d2c9b3 | 91 | waltid-ssikit | Apache License 2.0 |
javapoet-ktx/tests/src/com/hendraanggrian/javapoet/collections/ParameterSpecCollectionTest.kt | hendraanggrian | 169,205,951 | false | null | package com.hendraanggrian.javapoet.collections
import com.google.common.truth.Truth.assertThat
import com.hendraanggrian.javapoet.asTypeName
import com.squareup.javapoet.ParameterSpec
import kotlin.test.Test
class ParameterSpecCollectionTest {
private val list = ParameterSpecCollection(mutableListOf())
priv... | 1 | Kotlin | 1 | 5 | 5ec5a9704c32e3eba34b6d1acc22739d9f571bb9 | 2,313 | javapoet-ktx | Apache License 2.0 |
app/src/main/java/com/kylecorry/trail_sense/tools/light/ui/ToolLightFragment.kt | kylecorry31 | 215,154,276 | false | null | package com.kylecorry.trail_sense.tools.light.ui
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import com.kylecorry.andromeda.fragments.BoundFragment
import com.kylecorry.andromeda.fragments.observe
import com.kylecorry.sol.science.optics.Optics
impo... | 456 | null | 66 | 989 | 41176d17b498b2dcecbbe808fbe2ac638e90d104 | 2,582 | Trail-Sense | MIT License |
src/test/kotlin/com/github/michaelbull/advent2023/day6/Day6Test.kt | michaelbull | 726,012,340 | false | {"Kotlin": 82295} | package com.github.michaelbull.advent2023.day6
import com.github.michaelbull.advent2023.day6.Day6.part1
import com.github.michaelbull.advent2023.day6.Day6.part2
import kotlin.test.Test
import kotlin.test.assertEquals
class Day6Test {
@Test
fun `example 1`() {
assertEquals(288, Day6.solve(::part1, EXA... | 0 | Kotlin | 0 | 1 | 5b81ff2c8f8a2a77aaef3f1bcf2ad8e819f88436 | 775 | advent-2023 | ISC License |
app/src/main/java/dk/itu/moapd/copenhagenbuzz/fcag/fragments/MapsFragment.kt | FrankCaglianone | 753,609,912 | false | {"Kotlin": 21210} | package dk.itu.moapd.copenhagenbuzz.fcag.fragments
import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import dk.itu.moapd.copenhagenbuzz.fcag.databinding.FragmentMapsBinding
class MapsFragment : Fragment() {
p... | 0 | Kotlin | 0 | 0 | 8382845ddb0262aa38f59ad07d3cba0bdc8cbe50 | 1,119 | CopenaghenBuzz | MIT License |
magic/core/src/main/java/link/magic/android/core/relayer/urlBuilder/BaseOptions.kt | magiclabs | 589,703,550 | false | null | package link.magic.android.core.relayer.urlBuilder
import androidx.annotation.Keep
import com.google.gson.annotations.Expose
import com.google.gson.annotations.SerializedName
import java.io.Serializable
@Keep
open class BaseOptions(
@SerializedName("API_KEY") @Expose val apiKey: String,
val host: String,
... | 1 | Kotlin | 2 | 3 | 9f50321e17233817219cda3c04509b1af2aad599 | 451 | magic-android | Apache License 2.0 |
core/database/src/main/java/com/whakaara/database/alarm/AlarmDatabase.kt | ahudson20 | 531,856,934 | false | null | package com.whakaara.database.alarm
import androidx.room.Database
import androidx.room.RoomDatabase
import androidx.room.TypeConverters
import com.whakaara.database.alarm.converters.AlarmConverter
import com.whakaara.database.alarm.entity.AlarmEntity
@Database(entities = [AlarmEntity::class], version = 1, exportSchem... | 1 | null | 3 | 30 | f63a8f59815bec094a6d0c19d0368a87a2b87923 | 458 | whakaara | MIT License |
compiler/testData/codegen/box/ranges/forInProgressionWithIndex/forInStepReversedWithIndex.kt | JetBrains | 3,432,266 | false | null | // DONT_TARGET_EXACT_BACKEND: WASM
// WASM_MUTE_REASON: STDLIB_COLLECTIONS
// KJS_WITH_FULL_RUNTIME
// WITH_RUNTIME
import kotlin.test.assertEquals
fun box(): String {
val indexList = mutableListOf<Int>()
val valueList = mutableListOf<Int>()
for ((i, v) in (4..11 step 2).reversed().withIndex()) {
... | 181 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 479 | kotlin | Apache License 2.0 |
app/src/main/java/com/dirtydish/app/dirtydish/SuppliesRecyclerAdapter.kt | giulioco | 151,326,825 | false | {"Kotlin": 130277, "JavaScript": 11025} | package com.dirtydish.app.dirtydish
import android.content.Context
import android.support.v7.widget.RecyclerView
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import com.dirtydish.app.dirtydish.data.Supply
import com.dirtydish.app.dirtydish.sin... | 4 | Kotlin | 0 | 0 | d57f002cf21eeae42ba9e3b76447f418a51845cd | 3,259 | dirtydish | MIT License |
analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/annotations/AbstractAnalysisApiAnnotationsOnDeclarationsTest.kt | JetBrains | 3,432,266 | false | null | /*
* Copyright 2010-2024 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.analysis.api.impl.base.test.cases.annotations
import org.jetbrains.kotlin.analys... | 182 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 1,935 | kotlin | Apache License 2.0 |
data/src/main/kotlin/io/github/zeyomir/extremesportssos/data/sensors/LocationService.kt | zeyomir | 123,106,859 | false | null | package io.github.zeyomir.extremesportssos.data.sensors
import io.github.zeyomir.extremesportssos.domain.entity.Coordinates
import io.reactivex.Single
interface LocationService {
fun current(): Single<Coordinates>
}
| 11 | Kotlin | 0 | 2 | 7acba35531f48f488c954405e82f0409b2cca579 | 223 | ExtremeSportsSOS | MIT License |
paymentsheet/src/test/java/com/stripe/android/paymentsheet/TestViewModelFactory.kt | stripe | 6,926,049 | false | {"Kotlin": 13814299, "Java": 102588, "Ruby": 45779, "HTML": 42045, "Shell": 23905, "Python": 21891} | package com.stripe.android.paymentsheet
import androidx.lifecycle.SavedStateHandle
import com.stripe.android.link.LinkConfigurationCoordinator
import com.stripe.android.paymentsheet.viewmodels.BaseSheetViewModel
import com.stripe.android.utils.FakeLinkConfigurationCoordinator
import org.mockito.kotlin.mock
internal o... | 91 | Kotlin | 644 | 1,277 | 174b27b5a70f75a7bc66fdcce3142f1e51d809c8 | 1,163 | stripe-android | MIT License |
reporter/src/test/kotlin/reporters/fossid/FossIdReporterTest.kt | oss-review-toolkit | 107,540,288 | false | null | /*
* Copyright (C) 2022 The ORT Project Authors (see <https://github.com/oss-review-toolkit/ort/blob/main/NOTICE>)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.a... | 335 | null | 309 | 873 | 0546d450d3082cff0c685897bef4c23e56a3d73a | 11,808 | ort | Apache License 2.0 |
clients/algoliasearch-client-kotlin/client/src/commonMain/kotlin/com/algolia/client/model/search/OperationIndexParams.kt | algolia | 419,291,903 | false | null | /** Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT. */
package com.algolia.client.model.search
import kotlinx.serialization.*
import kotlinx.serialization.json.*
/**
* OperationIndexParams... | 40 | PHP | 8 | 25 | f14b2b4e48702209dcb0c09561a2c1c3361f75eb | 939 | api-clients-automation | MIT License |
src/datagen/main/kotlin/mekanism/patchouli/dsl/DSL.kt | Sinmis077 | 408,979,434 | false | {"Java Properties": 1, "Shell": 1, "Markdown": 7, "Batchfile": 1, "Java": 1919, "Kotlin": 34, "Perl": 1, "Python": 1, "INI": 1} | @file:Suppress("MemberVisibilityCanBePrivate", "unused")//its an api
package mekanism.patchouli.dsl
import com.google.gson.JsonArray
import com.google.gson.JsonObject
import mekanism.api.providers.IBlockProvider
import mekanism.api.providers.IGasProvider
import mekanism.api.providers.IItemProvider
import mekanism.com... | 1 | null | 1 | 1 | c42191d9d5a4e8add654a6cf8720abc8af2896c3 | 2,280 | Mekanism | MIT License |
src/main/kotlin/com/namju/simple_todo/todo/TodoForm.kt | cmsong111 | 689,422,737 | false | {"Kotlin": 15592, "HTML": 12892} | package com.namju.simple_todo.todo
data class TodoForm (
var title: String,
var content: String,
)
| 0 | Kotlin | 0 | 0 | bdd2a427e69a1c84da2ef1bf3f34c582eca2a3dc | 108 | Simple_todo | MIT License |
plugins/kotlin/src/main/kotlin/com/github/softwareplace/springboot/kotlin/openapi/Configuration.kt | softwareplace | 749,152,259 | false | {"Kotlin": 53227, "Mustache": 12026, "Java": 4400, "Shell": 943, "Makefile": 535} | package com.github.softwareplace.springboot.kotlin.openapi
import com.github.softwareplace.springboot.utils.toCamelCase
import org.gradle.api.Project
import org.gradle.kotlin.dsl.*
import org.jetbrains.kotlin.gradle.dsl.kotlinExtension
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
import org.openapitools.gene... | 0 | Kotlin | 0 | 1 | 9d4c43c97b41cf5d645f3540af43b20b208968fd | 6,646 | springboot | Apache License 2.0 |
feature/start/src/main/java/jp/kaleidot725/easycalc/feature/start/StartEvent.kt | kaleidot725 | 727,725,457 | false | {"Kotlin": 331989, "Ruby": 106} | package jp.kaleidot725.easycalc.feature.start
import jp.kaleidot725.easycalc.core.domain.model.text.MathText
sealed interface StartEvent {
data class ClickStart(val mathText: MathText) : StartEvent
object PopBack : StartEvent
}
| 3 | Kotlin | 0 | 0 | dfac12510fcceab27755428a16368076fd5302fd | 238 | EasyCalc | MIT License |
app/src/main/java/com/deathhit/myleetcodesolutions/question_model/QuestionModel.kt | Deathhit | 444,368,316 | false | null | package com.deathhit.myleetcodesolutions.question_model
import android.content.Context
import android.text.Spanned
import com.deathhit.myleetcodesolutions.model.AnswerVO
abstract class QuestionModel(val context: Context) {
abstract val code: Spanned
abstract val description: String
abstract fun run(): An... | 0 | Kotlin | 0 | 0 | cde7915f837a2a677748716989b0818934567608 | 328 | MyLeetCodeSolutions | Apache License 2.0 |
server/libs/src/main/kotlin/jetty/EndPoint.kt | glennneiger | 205,309,986 | true | {"Kotlin": 94120, "TypeScript": 56880, "HTML": 13948, "JavaScript": 3774, "CSS": 2901, "Dockerfile": 1773, "Shell": 1070} | package jetty
import com.google.gson.Gson
import com.google.gson.GsonBuilder
import com.google.gson.JsonObject
import objects.EndPointReply
import org.apache.commons.io.IOUtils
import javax.servlet.ServletException
import javax.servlet.http.HttpServlet
import javax.servlet.http.HttpServletRequest
import javax.servlet... | 0 | Kotlin | 0 | 0 | e0e7c8e361abc88c332ffc2fca3e8778b69c30d2 | 2,023 | user-login-flow | Apache License 2.0 |
composeApp/src/commonMain/kotlin/org/sam/app/pesentation/home/HomeScreen.kt | Usama-Aman | 737,119,593 | false | {"Kotlin": 52440, "Swift": 532, "JavaScript": 475, "HTML": 280} | package org.sam.app.pesentation.home
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.re... | 0 | Kotlin | 0 | 0 | 98f3f06134bac50f7c502aebf2cc5f2e8332a924 | 2,847 | compose-multiplatform-movies-app | Apache License 2.0 |
app/src/main/java/com/roadster/roam/basesetup/utils/SpannableUtils.kt | Atul206 | 510,028,347 | false | {"Kotlin": 118252} | package com.roadster.roam.basesetup.utils
import android.content.Context
import android.graphics.Paint
import android.graphics.Typeface
import android.text.Spannable
import android.text.SpannableString
import android.text.Spanned
import android.text.TextPaint
import android.text.style.ClickableSpan
import android.text... | 0 | Kotlin | 1 | 0 | 46ed3bd53e40ec7edf5a6063c6f8f8e556dc2225 | 3,326 | baserepo | MIT License |
app/src/main/java/uz/pdp/dagger2nuntium/adapters/HomeRvAdapter.kt | mukhtorov712 | 518,228,649 | false | null | package uz.pdp.dagger2nuntium.adapters
import android.view.LayoutInflater
import android.view.OnReceiveContentListener
import android.view.ViewGroup
import androidx.recyclerview.widget.DiffUtil
import androidx.recyclerview.widget.ListAdapter
import androidx.recyclerview.widget.RecyclerView
import com.squareup.picasso.... | 0 | Kotlin | 0 | 2 | f47da2dd71e007cd7c4644e4f99c1f82920e4ddb | 2,178 | NuntiumNews | MIT License |
app/src/main/kotlin/me/xizzhu/android/joshua/core/repository/local/android/db/BookmarkDao.kt | xizzhu | 173,533,770 | false | null | /*
* Copyright (C) 2020 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | 23 | Kotlin | 8 | 26 | db43163619c37fd7febd208eb7bde2ffefc4fa99 | 1,258 | Joshua | Apache License 2.0 |
src/functionalTest/kotlin/com/autonomousapps/utils/runner.kt | tasomaniac | 250,905,017 | true | {"Kotlin": 316360, "Java": 71861, "ANTLR": 68053, "Groovy": 18464, "Shell": 587} | @file:JvmName("Runner")
package com.autonomousapps.utils
import com.autonomousapps.fixtures.ProjectDirProvider
import org.gradle.testkit.runner.GradleRunner
import org.gradle.util.GradleVersion
internal fun build(
gradleVersion: GradleVersion,
projectDirProvider: ProjectDirProvider,
vararg args: String
) = run... | 0 | null | 0 | 1 | 866161796c564fc19b6fcca2343f438e8ec9aeff | 910 | dependency-analysis-android-gradle-plugin | Apache License 2.0 |
src/main/kotlin/io/xmake/utils/Command.kt | xmake-io | 108,999,121 | false | {"Kotlin": 78237, "HTML": 3740} | package io.xmake.utils
import com.intellij.execution.configurations.GeneralCommandLine
import com.intellij.execution.process.ProcessNotCreatedException
import com.intellij.execution.util.ExecUtil
import com.jetbrains.rd.util.Callable
import io.xmake.utils.interact.kSystemEnv
import io.xmake.utils.interact.kLineSeparat... | 12 | Kotlin | 15 | 70 | 30c11627caf051f9d131c48397fb37f66c7e5738 | 2,582 | xmake-idea | Apache License 2.0 |
app/src/main/java/com/niceplaces/niceplaces/utils/StringUtils.kt | niceplaces | 460,602,891 | false | null | package com.niceplaces.niceplaces.utils
import android.util.Log
import androidx.core.text.HtmlCompat
import java.text.SimpleDateFormat
import java.util.*
object StringUtils {
fun listToString(list: List<Int?>): String {
var string = ""
for (i in list.indices) {
string = string + Intege... | 3 | Kotlin | 2 | 3 | 71e4c002adb34ceda5145f1a3d0ee57b0190d06f | 1,058 | android-app | MIT License |
app/src/main/java/com/mi/mvi/remote/service/BlogAPIService.kt | omar-adel | 258,101,649 | true | {"Kotlin": 174763} | package com.mi.mvi.remote.service
import com.mi.mvi.remote.entity.BaseResponse
import com.mi.mvi.remote.entity.BlogListResponse
import com.mi.mvi.remote.entity.BlogPostResponse
import okhttp3.MultipartBody
import okhttp3.RequestBody
import retrofit2.http.*
interface BlogAPIService {
@GET("blog/list")
suspend... | 0 | null | 0 | 0 | f9ae471ef25e8b208b8439e7c51d446e72643b23 | 1,496 | Android-Kotlin-MVI-CleanArchitecture | MIT License |
weather/src/main/java/ru/androidpiraters/aiweather/data/model/weather/WeatherInfo.kt | Luckyss | 135,089,769 | false | {"Kotlin": 111674} | package ru.androidpiraters.aiweather.data.model.weather
data class WeatherInfo(
val dt: Int,
val coord: Coord,
val visibility: Int,
val weather: List<WeatherItem?>,
val name: String,
val cod: Int,
val main: Main,
val clouds: Clouds,
val id: Int,
... | 0 | Kotlin | 0 | 0 | e1f4e39a153de104f5983b48b478ae751feaa36d | 2,735 | aiweather | Apache License 2.0 |
apina-core/src/test/kotlin/fi/evident/apina/spring/TypeTranslatorTest.kt | EvidentSolutions | 36,000,351 | false | null | @file:Suppress("PLUGIN_IS_NOT_ENABLED")
package fi.evident.apina.spring
import com.fasterxml.jackson.annotation.JsonSubTypes
import com.fasterxml.jackson.annotation.JsonTypeInfo
import com.fasterxml.jackson.annotation.JsonTypeName
import com.fasterxml.jackson.annotation.JsonUnwrapped
import fi.evident.apina.java.mode... | 9 | Kotlin | 9 | 25 | 3c42abd3b5584138f7313fcb7605c3653120bbdd | 21,729 | apina | MIT License |
matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/database/mapper/RoomMemberSummaryMapper.kt | matrix-org | 287,466,066 | false | null | /*
* Copyright 2020 The Matrix.org Foundation C.I.C.
*
* 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 ... | 75 | null | 27 | 97 | 55cc7362de34a840c67b4bbb3a14267bc8fd3b9c | 1,366 | matrix-android-sdk2 | Apache License 2.0 |
src/main/kotlin/uk/gov/justice/digital/hmpps/incentivesapi/service/NextReviewDateUpdaterService.kt | ministryofjustice | 445,553,088 | false | {"Kotlin": 610272, "Python": 4467, "Dockerfile": 1357} | package uk.gov.justice.digital.hmpps.incentivesapi.service
import kotlinx.coroutines.flow.toList
import kotlinx.coroutines.launch
import kotlinx.coroutines.runBlocking
import org.springframework.stereotype.Service
import uk.gov.justice.digital.hmpps.incentivesapi.jpa.NextReviewDate
import uk.gov.justice.digital.hmpps.... | 4 | Kotlin | 1 | 3 | e0a4a4dd19900f4dc3e6cc6b4d15b16a93b0fafd | 4,595 | hmpps-incentives-api | MIT License |
app/src/main/java/com/kickstarter/viewmodels/RewardsFragmentViewModel.kt | kickstarter | 76,278,501 | false | null | package com.kickstarter.viewmodels
import android.util.Pair
import androidx.annotation.NonNull
import com.kickstarter.libs.Environment
import com.kickstarter.libs.FragmentViewModel
import com.kickstarter.libs.rx.transformers.Transformers.takeWhen
import com.kickstarter.libs.utils.ObjectUtils
import com.kickstarter.lib... | 9 | null | 990 | 5,749 | fdf3f19d094540e0c47626810f3f252a41ffdf2e | 10,569 | android-oss | Apache License 2.0 |
code generators/de.fhdo.lemma.model_processing.code_generation.springcloud/src/main/kotlin/de/fhdo/lemma/model_processing/code_generation/springcloud/handlers/aspects/ResourceSupportHandler.kt | SeelabFhdo | 204,692,764 | false | null | package de.fhdo.lemma.model_processing.code_generation.springcloud.handlers.aspects
import com.github.javaparser.ast.Node
import com.github.javaparser.ast.body.ClassOrInterfaceDeclaration
import de.fhdo.lemma.data.intermediate.IntermediateDataStructure
import de.fhdo.lemma.data.intermediate.IntermediateImportedAspect
... | 32 | null | 8 | 31 | 2e9ccc882352116b253a7700b5ecf2c9316a5829 | 2,055 | lemma | MIT License |
code generators/de.fhdo.lemma.model_processing.code_generation.springcloud/src/main/kotlin/de/fhdo/lemma/model_processing/code_generation/springcloud/handlers/aspects/ResourceSupportHandler.kt | SeelabFhdo | 204,692,764 | false | null | package de.fhdo.lemma.model_processing.code_generation.springcloud.handlers.aspects
import com.github.javaparser.ast.Node
import com.github.javaparser.ast.body.ClassOrInterfaceDeclaration
import de.fhdo.lemma.data.intermediate.IntermediateDataStructure
import de.fhdo.lemma.data.intermediate.IntermediateImportedAspect
... | 32 | null | 8 | 31 | 2e9ccc882352116b253a7700b5ecf2c9316a5829 | 2,055 | lemma | MIT License |
src/main/kotlin/dev/shtanko/algorithms/leetcode/ShortestPathLength.kt | ashtanko | 203,993,092 | 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... | 4 | null | 0 | 19 | b60c6d88c6f1a04fe41d26aacb9b4f7a8bf10ff7 | 2,127 | kotlab | Apache License 2.0 |
compiler/testData/codegen/box/jvmOverloads/primaryConstructor.kt | JakeWharton | 99,388,807 | false | null | // IGNORE_BACKEND_FIR: JVM_IR
// TARGET_BACKEND: JVM
// WITH_RUNTIME
class C @kotlin.jvm.JvmOverloads constructor(s1: String, s2: String = "K") {
public val status: String = s1 + s2
}
fun box(): String {
val c = (C::class.java.getConstructor(String::class.java).newInstance("O"))
return c.status
}
| 181 | null | 5748 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 313 | kotlin | Apache License 2.0 |
rabbit-ui/src/main/java/com/susion/rabbit/ui/page/RabbitMemoryPageAnalyzerPage.kt | SusionSuc | 210,506,798 | false | null | package com.susion.rabbit.ui.page
import android.content.Context
import androidx.recyclerview.widget.LinearLayoutManager
import com.susion.lifeclean.common.recyclerview.SimpleRvAdapter
import com.susion.rabbit.base.entities.RabbitMemoryInfo
import com.susion.rabbit.base.greendao.RabbitMemoryInfoDao
import com.susion.r... | 9 | Kotlin | 146 | 998 | f1d1faf9f69b4ec162ae2215e9338dd1d7bdc893 | 2,658 | rabbit-client | MIT License |
pcbridge-http/src/main/kotlin/com/projectcitybuild/pcbridge/http/services/pcb/PlayerGroupHttpService.kt | projectcitybuild | 42,997,941 | false | {"Kotlin": 261041} | package com.projectcitybuild.pcbridge.http.services.pcb
import com.projectcitybuild.pcbridge.http.parsing.ResponseParser
import com.projectcitybuild.pcbridge.http.pcb
import com.projectcitybuild.pcbridge.http.responses.DonationPerk
import com.projectcitybuild.pcbridge.http.responses.Group
import kotlinx.coroutines.Dis... | 9 | Kotlin | 0 | 3 | 16754fd7ab63023da86ae426d5e5c8ecb932c181 | 1,998 | PCBridge | MIT License |
src/main/kotlin/org/xpathqs/driver/page/Page.kt | xpathqs | 366,703,320 | false | {"Kotlin": 230690} | package org.xpathqs.driver.page
import org.xpathqs.core.selector.NullSelector
import org.xpathqs.core.selector.base.BaseSelector
import org.xpathqs.core.selector.base.ISelector
import org.xpathqs.core.selector.block.Block
import org.xpathqs.core.selector.group.GroupSelector
import org.xpathqs.core.selector.selector.Se... | 0 | Kotlin | 0 | 2 | 60eccb672195d82f07bb4713c1018c2816cd0c71 | 815 | driver | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.