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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
bigbone-rx/src/main/kotlin/social/bigbone/rx/RxOAuthMethods.kt | andregasser | 565,112,249 | false | {"Kotlin": 471215, "Java": 26184, "Ruby": 15997, "Dockerfile": 1263, "Shell": 118} | package social.bigbone.rx
import io.reactivex.rxjava3.core.Single
import social.bigbone.MastodonClient
import social.bigbone.api.Scope
import social.bigbone.api.entity.Token
import social.bigbone.api.method.OAuthMethods
/**
* Reactive implementation of [OAuthMethods].
* Allows access to API methods with endpoints h... | 31 | Kotlin | 14 | 43 | 33e3c10a22cc71946cc43b4e5de7efb7d2ce3b8a | 1,628 | bigbone | MIT License |
app/src/main/java/com/example/diary/Entry_Activity.kt | Sairaj-G | 500,090,809 | false | null | package com.example.diary
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.widget.Button
import android.widget.EditText
import android.widget.Toast
class Entry_Activity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) ... | 0 | Kotlin | 0 | 0 | 683dd08422910a7e3e875781066d7c2678b4d046 | 703 | Diary-App | MIT License |
client_delivery/shared/src/commonMain/kotlin/data/gateway/remote/MapRemoteGateway.kt | TheChance101 | 671,967,732 | false | null | package data.gateway.remote
import data.remote.mapper.toDto
import data.remote.mapper.toTripEntity
import data.remote.model.BaseResponse
import data.remote.model.OrderDto
import domain.entity.Location
import domain.entity.Order
import domain.gateway.remote.IMapRemoteGateway
import domain.utils.NotFoundException
import... | 4 | null | 55 | 572 | 1d2e72ba7def605529213ac771cd85cbab832241 | 1,890 | beep-beep | Apache License 2.0 |
src/main/kotlin/fr/medicapp/dao/MongoInstance.kt | Renarde-dev | 738,557,006 | false | {"Kotlin": 13056} | package fr.medicapp.dao
import com.mongodb.kotlin.client.coroutine.MongoClient
import com.mongodb.kotlin.client.coroutine.MongoCollection
import fr.medicapp.entities.Medication
import fr.medicapp.entities.User
class MongoInstance {
private var medicationCollection : MongoCollection<Medication>
private var us... | 0 | Kotlin | 0 | 2 | 2050365cae717f29f3f8b49ff7af266200881057 | 912 | MedicApp-API | MIT License |
src/main/kotlin/exnihilofabrico/api/ExNihiloFabricoAPI.kt | SirLyle | 220,114,285 | true | {"Kotlin": 398790, "Java": 8118} | package exnihilofabrico.api
import exnihilofabrico.api.compatibility.IExNihiloFabricoModule
import exnihilofabrico.compatibility.modules.MetaModule
import exnihilofabrico.util.BlockGenerator
object ExNihiloFabricoAPI {
val BLOCK_GENERATOR: IBlockGenerator = BlockGenerator
fun registerCompatabilityModule(modu... | 5 | Kotlin | 4 | 3 | 5224a14b7b50ab5df34a9edbd5ea9e63d743ed62 | 382 | ExNihiloFabrico | MIT License |
reposilite-backend/src/main/kotlin/com/reposilite/auth/application/AuthenticationSettings.kt | dzikoysk | 96,474,388 | false | null | package com.reposilite.auth.application
import com.reposilite.configuration.shared.Doc
import com.reposilite.configuration.shared.SharedSettings
import com.reposilite.token.AccessTokenType
import com.reposilite.token.AccessTokenType.PERSISTENT
@Doc(title = "Authentication", description = "Authenticator settings")
dat... | 16 | Kotlin | 104 | 631 | a4ad03ca8e060282308c1e9b63c454171cded47e | 1,778 | reposilite | Apache License 2.0 |
app/src/main/java/com/hridoy/chatgemini/domain/model/Chat.kt | nictiong2003 | 798,524,420 | false | {"Kotlin": 96619, "Shell": 1379, "Ruby": 1229} | package com.hridoy.chatgemini.domain.model
import android.graphics.Bitmap
import com.google.ai.client.generativeai.type.BlockThreshold
import com.google.ai.client.generativeai.type.GenerationConfig
import com.google.ai.client.generativeai.type.HarmCategory
import com.google.ai.client.generativeai.type.SafetySetting
im... | 0 | Kotlin | 0 | 0 | 7520e3c22fcb197d6ee0411288a777ba4588b184 | 996 | UIC2.0 | Apache License 2.0 |
sharedModule/src/main/java/ru/nekit/android/utils/ViewHolder.kt | ru-nekit-android | 126,668,350 | false | null | package ru.nekit.android.utils
import android.content.Context
import android.support.annotation.LayoutRes
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
open class ViewHolder(protected val context: Context, @LayoutRes layoutId: Int, root: ViewGroup? = null) {
val view: ... | 0 | Kotlin | 0 | 1 | 37a2037be2ecdbe19607b5fbb9e5f7852320a5a0 | 382 | QuestLockScreen | Apache License 2.0 |
sharedModule/src/main/java/ru/nekit/android/utils/ViewHolder.kt | ru-nekit-android | 126,668,350 | false | null | package ru.nekit.android.utils
import android.content.Context
import android.support.annotation.LayoutRes
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
open class ViewHolder(protected val context: Context, @LayoutRes layoutId: Int, root: ViewGroup? = null) {
val view: ... | 0 | Kotlin | 0 | 1 | 37a2037be2ecdbe19607b5fbb9e5f7852320a5a0 | 382 | QuestLockScreen | Apache License 2.0 |
app/src/main/java/com/example/tophair/app/data/entities/AvaliacaoEntity.kt | TOP-HAIR | 774,715,222 | false | {"Kotlin": 248739} | package com.example.tophair.app.data.entities
data class Avaliacao(
val idAvaliacao: Int? = null,
val nivel: Int? = null,
val comentario: String? = null,
val usuario: Usuario? = null,
val empresaDto: EmpresaDto? = null
) | 0 | Kotlin | 1 | 0 | 4219e8ed9922f3cb0fed332cfd31a276152c797d | 241 | MB_TopHair.Android | MIT License |
_2_HelloAndroid/MyArtGallery/app/src/main/java/io/github/thwisse/myartgallery/Art.kt | thwisse | 726,606,611 | false | {"Kotlin": 317958} | package io.github.thwisse.myartgallery
class Art (val id: Int, val artName: String) {
} | 0 | Kotlin | 0 | 0 | 3726c76a6103d10648432265fb3b68a03327c6b5 | 88 | my_android_journey | MIT License |
app/src/main/java/com/nonoka/nhentai/gateway/DoujinshiRepositoryImpl.kt | duyphuong5126 | 140,096,962 | false | null | package com.nonoka.nhentai.gateway
import com.nonoka.nhentai.domain.DoujinshiRepository
import com.nonoka.nhentai.domain.Resource
import com.nonoka.nhentai.domain.Resource.Success
import com.nonoka.nhentai.domain.entity.book.Doujinshi
import com.nonoka.nhentai.domain.entity.book.DoujinshisResult
import com.nonoka.nhen... | 4 | Kotlin | 0 | 2 | 2de805e3ec6b1bbff1960b961c5b42403634cef2 | 3,346 | H-Manga | Apache License 2.0 |
android/src/main/java/com/uwconnect/android/domain/usecase/CreateClubAnnouncementUseCase.kt | sagarpatel211 | 817,550,668 | false | {"Kotlin": 410352} | package com.uwconnect.android.domain.usecase
import com.uwconnect.android.domain.repository.ClubRepository
import org.uwconnect.models.CreateAnnouncementRequest
interface CreateClubAnnouncementUseCase {
suspend operator fun invoke(announcement: CreateAnnouncementRequest): Result<Unit>
}
class CreateClubAnnouncem... | 0 | Kotlin | 0 | 0 | 336e842ca45c5d747bf162f3a7d55ca562591fb0 | 565 | UWConnect | MIT License |
nnvlib/src/main/java/com/example/nnvlib/model/IMapPointInfo.kt | ShotaIuchi | 280,395,270 | false | null | package com.example.nnvlib.model
interface IMapPointInfo {
fun getPointInfo(): PointInfo
}
class IMapPointInfoMemory(val data: MemoryInfo): IMapPointInfo {
override fun getPointInfo(): PointInfo = PointInfo(data.memoryInfo.point)
}
class IMapPointInfoPoint(val data: PointInfo): IMapPointInfo {
overr... | 0 | Kotlin | 0 | 0 | 2766c0f156f9139ab73d88a8e619bb816a3066e0 | 512 | nnv | MIT License |
app/src/main/java/com/jorgedguezm/elections/data/injection/NetModule.kt | Narsuf | 52,900,182 | false | null | package com.jorgedguezm.elections.data.injection
import com.jorgedguezm.elections.data.ElectionApi
import com.squareup.moshi.Moshi
import com.squareup.moshi.kotlin.reflect.KotlinJsonAdapterFactory
import dagger.Module
import dagger.Provides
import okhttp3.OkHttpClient
import retrofit2.Retrofit
import retrofit2.Ret... | 0 | Kotlin | 0 | 1 | 4373973217dc8a5f75cc07bf5a48fd781e4820fc | 1,111 | Elections | Apache License 2.0 |
app/src/test/java/com/stone/desafiomobile/CurrencyFormatTest.kt | renanrbs | 106,342,507 | true | {"Kotlin": 41967} | package com.stone.desafiomobile
import com.stone.desafiomobile.utils.formatPriceReal
import org.junit.Assert.assertEquals
import org.junit.Test
/**
* Testes para a funçao de formatações de preço
*/
class CurrencyFormatTest {
/**
* Testa a formatação
*/
@Test
fun formatRealTest() {
ass... | 0 | Kotlin | 0 | 1 | 6d86168fc7b940e188c675b4e4b06a1f03d942fe | 719 | desafio-mobile | MIT License |
shared/src/commonMain/kotlin/com/github/friendlytrainer/ExerciseRecord.kt | MarcusHomunculus | 498,690,827 | false | {"Kotlin": 27028, "Swift": 345} | package com.github.friendlytrainer
data class ExerciseRecord(val date: String, val exercise: String, val count: UInt) | 1 | Kotlin | 0 | 0 | d79c8348e05f39624b5933f83e67834ecb9574b2 | 118 | FriendlyTrainer | MIT License |
app/src/test/java/com/mitteloupe/whoami/architecture/ArchitectureDataTest.kt | EranBoudjnah | 662,551,018 | false | {"Kotlin": 307703, "Shell": 288} | package com.mitteloupe.whoami.architecture
import com.lemonappdev.konsist.api.Konsist
import com.lemonappdev.konsist.api.ext.list.withNameMatching
import com.lemonappdev.konsist.api.verify.assert
import org.junit.Test
class ArchitectureDataTest {
@Test
fun `Repositories reside in a repository package under da... | 0 | Kotlin | 34 | 238 | 4bc60edc305d8874bac797143208bbb48ba5081e | 524 | CleanArchitectureForAndroid | MIT License |
app/src/main/java/danielabbott/personalorganiser/ui/notes/DialogReplace.kt | danielabbott | 266,279,538 | false | null | package danielabbott.personalorganiser.ui.notes
import android.app.Dialog
import android.os.Bundle
import android.text.InputType
import android.view.ViewGroup
import android.widget.EditText
import android.widget.LinearLayout
import androidx.appcompat.app.AlertDialog
import androidx.appcompat.widget.SwitchCompat
import... | 0 | Kotlin | 0 | 0 | 02beaf1ecaeab1db5656acaf796bc530b3543c47 | 2,498 | Day-Planner-App | MIT License |
src/main/kotlin/com/alongo/discordbot/domain/messagehandlers/BaseMessageHandler.kt | alongotv | 521,663,361 | false | {"Kotlin": 47305, "Dockerfile": 315} | package com.alongo.discordbot.domain.message_handlers
import dev.kord.core.event.message.MessageCreateEvent
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Dispatchers
abstract class BaseMessageHandler {
abstract suspend fun handle(command: String, event: MessageCreateEvent)
protected val m... | 0 | Kotlin | 0 | 3 | c75686554ebf5c78363a30153f39af9a0a8d2408 | 374 | Stroggs-Discord-Bot | MIT License |
app/src/main/java/org/covidwatch/android/ui/onboarding/FinishedOnboardingFragment.kt | covidwatchorg | 261,834,815 | false | {"Gradle": 3, "Java Properties": 2, "Shell": 2, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 2, "PlantUML": 2, "YAML": 3, "Proguard": 1, "Kotlin": 162, "INI": 1, "XML": 185, "Java": 2, "Protocol Buffer": 1} | package org.covidwatch.android.ui.onboarding
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.navigation.fragment.findNavController
import org.covidwatch.android.R
import org.covidwatch.android.data.pref.PreferenceStorage
import org.covi... | 11 | Kotlin | 7 | 11 | a9d6fe16427f131fb8e5a5044db34cedb760c56e | 1,396 | covidwatch-android-en | Apache License 2.0 |
src/main/java/Versions.kt | komamj | 320,508,033 | false | {"Kotlin": 10007} | object Versions {
object Plugin {
const val ANDROID_GRADLE_PLUGIN = "4.1.1"
const val KOTLIN = "1.4.21"
const val HILT = "2.28.3-alpha"
const val ROUTER = "1.0.2"
const val BINTRAY = "1.8.5"
}
object Kotlin {
const val KOTLIN = "1.4.21"
const val CORO... | 0 | Kotlin | 0 | 1 | a796e4b0df6e76c6e264707c5445e03f98ddc5f2 | 1,842 | componentization-architecture-buildSrc | Apache License 2.0 |
modules/bridge/src/main/kotlin/ru/astrainteractive/discordbot/module/bridge/model/SocketMessage.kt | Astra-Interactive | 584,452,095 | false | {"Kotlin": 44477} | package ru.astrainteractive.discordbot.module.bridge.model
import kotlinx.serialization.Serializable
@Serializable
internal sealed interface SocketMessage {
val id: Long
@Serializable
data class Ping(override val id: Long) : SocketMessage
@Serializable
data class Pong(override val id: Long) : So... | 2 | Kotlin | 0 | 0 | 8ebededeb5876e7275850548e921aa464abc23b0 | 457 | TelegramBridge | MIT License |
src/main/kotlin/com/example/springkotlintemplate/Project/ClinicalData/ClinicalService.kt | Beamworks-Inc | 610,041,941 | false | null | package com.example.springkotlintemplate.Project.ClinicalData
import org.springframework.web.multipart.MultipartFile
interface ClinicalService {
fun appendData(projectId: Long, originalZip: MultipartFile, reportFile: MultipartFile)
fun getAllClinicalData(projectId: Long): List<String>
fun deleteClinicalDa... | 0 | Kotlin | 0 | 0 | 50dbccec9cab81748dff8fb72cb793d8f859b841 | 535 | CTS-Backend | Apache License 2.0 |
androidApp/src/main/kotlin/com/prof18/feedflow/android/accounts/dropbox/DropboxSyncActivity.kt | prof18 | 600,257,020 | false | null | package com.prof18.feedflow.android.accounts.dropbox
import FeedFlowTheme
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.foundation.isSystemInDarkTheme
import androidx.compose.foundation.layout.Column
import androidx.compose.found... | 27 | null | 18 | 332 | 60c15c24c157e46625e05158c5d048d4ca4b7217 | 5,437 | feed-flow | Apache License 2.0 |
android/src/com/android/tools/idea/run/deployment/liveedit/analysis/leir/IrMethod.kt | JetBrains | 60,701,247 | false | {"Kotlin": 49550960, "Java": 35837871, "HTML": 1217714, "Starlark": 909188, "C++": 357481, "Python": 106384, "C": 71782, "Lex": 66732, "NSIS": 58538, "AIDL": 35382, "Shell": 26938, "CMake": 26798, "JavaScript": 18437, "Smali": 7580, "Batchfile": 6951, "RenderScript": 4411, "Makefile": 2495, "IDL": 269, "QMake": 18} | /*
* Copyright (C) 2023 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 3 | Kotlin | 219 | 921 | dbd9aeae0dc5b8c56ce2c7d51208ba26ea0f169b | 2,252 | android | Apache License 2.0 |
incorporate_lifecycle_aware_components/src/main/java/com/mcmouse88/incorporate_lifecycle_aware_components/step4_solution/LocationActivity.kt | mcmouse88 | 691,754,136 | false | {"Kotlin": 375483} | package com.mcmouse88.incorporate_lifecycle_aware_components.step4_solution
import android.Manifest
import android.content.pm.PackageManager
import android.location.Location
import android.location.LocationListener
import android.os.Bundle
import android.widget.TextView
import android.widget.Toast
import androidx.appc... | 1 | Kotlin | 0 | 0 | dda1af3bab551dbc297ef011381ffb26a1f0d827 | 2,765 | GoogleCodelabs | Apache License 2.0 |
src/main/kotlin/yandex/cloud/toolkit/util/listener/SplitterProportionListener.kt | yandex-cloud | 386,235,739 | false | {"Kotlin": 506192, "HTML": 1351} | package yandex.cloud.toolkit.util.listener
import com.intellij.openapi.ui.Splitter
import java.beans.PropertyChangeEvent
import java.beans.PropertyChangeListener
fun interface SplitterProportionListener : PropertyChangeListener {
override fun propertyChange(evt: PropertyChangeEvent) {
if (Splitter.PROP_P... | 11 | Kotlin | 4 | 65 | 2f8eaa54aad978e5ab452e5d05ba573f68b72943 | 663 | ide-plugin-jetbrains | MIT License |
src/main/kotlin/com/dpforge/ibmpc/cpu/instruction/CWD.kt | int02h | 426,397,665 | false | {"Kotlin": 257077, "Assembly": 189629, "Shell": 90} | package com.dpforge.ibmpc.cpu.instruction
import com.dpforge.ibmpc.cpu.CPU
import com.dpforge.ibmpc.cpu.timing.Timing
import com.dpforge.ibmpc.extensions.higherWord
import com.dpforge.ibmpc.extensions.lowerWord
import com.dpforge.ibmpc.extensions.signExtend16to32
object CWD {
fun cwd(cpu: CPU): Int = with(cpu) {... | 0 | Kotlin | 0 | 3 | eff28d661750ca511dafae930fe2b911f8d7b5d9 | 517 | ibm-pc | MIT License |
src/controller/java/generated/java/matter/controller/cluster/clusters/ScenesCluster.kt | project-chip | 244,694,174 | false | null | /*
*
* Copyright (c) 2023 Project CHIP Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requir... | 5 | null | 57 | 6,671 | 420e6d424c00aed3ead4015eafd71a1632c5e540 | 52,572 | connectedhomeip | Apache License 2.0 |
app/src/main/kotlin/qmaze/view/AlertPopup.kt | magh | 199,072,951 | true | {"Kotlin": 48878} | package qmaze.view
import javafx.scene.control.Alert
import javafx.scene.control.ButtonBar
import javafx.scene.control.ButtonType
import javafx.scene.control.Dialog
import javafx.scene.control.DialogPane
import javafx.scene.shape.Rectangle
import javafx.scene.web.WebView
import java.io.IOException
fun popupAlert(mess... | 0 | Kotlin | 0 | 0 | c3c1c93e0252584b696161f198bbde73eac95e69 | 1,399 | QMaze | Apache License 2.0 |
app/src/main/java/dev/androidblog/mirumiru/ui/MainActivity.kt | YoonKyoungTae | 404,024,711 | false | {"Kotlin": 2002} | package dev.androidblog.mirumiru.ui
import android.os.Bundle
import dagger.hilt.android.AndroidEntryPoint
import dev.androidblog.mirumiru.R
import dev.androidblog.mirumiru.SampleClass
import dev.androidblog.mirumiru.base.BaseActivity
import javax.inject.Inject
@AndroidEntryPoint
class MainActivity : BaseActivity() {
... | 0 | Kotlin | 0 | 0 | 5ac570c1fef70905be307785a5729ad6130ab325 | 548 | Mirumiru | Apache License 2.0 |
sample/android-app/src/main/java/com/icerockdev/app/MainActivity.kt | icerockdev | 229,725,077 | false | null | /*
* Copyright 2019 IceRock MAG Inc. Use of this source code is governed by the Apache 2.0 license.
*/
package com.icerockdev.app
import android.content.Intent
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import androidx.databinding.DataBindingUtil
import com.icerockdev.app.databinding.A... | 17 | Kotlin | 15 | 52 | b87a7d88c38657de1b94d372a531890776233a1a | 882 | moko-maps | Apache License 2.0 |
app/src/main/java/com/rabble/cyril/rabble/adapters/AdapterRecyclerStocked.kt | ceeroblaq | 746,187,964 | false | {"Kotlin": 427879, "Java": 248172} | package com.rabble.cyril.rabble.adapters
import android.annotation.SuppressLint
import android.content.Intent
import android.view.*
import android.widget.ImageView
import android.widget.TextView
import android.widget.Toast
import androidx.cardview.widget.CardView
import androidx.fragment.app.FragmentActivity
import an... | 0 | Kotlin | 0 | 0 | 092982e3342c055af6ff018e0fa7a5953a01cfca | 5,112 | Rabble | MIT License |
src/commonMain/kotlin/msw/extras/kxsmine/dsl/build/elem/Floats.kt | RaphaelTarita | 339,542,946 | false | null | package msw.extras.kxsmine.dsl.build.elem
import msw.extras.kxsmine.castTo
import msw.extras.kxsmine.tree.TagType
import msw.extras.kxsmine.tree.node.payload.FloatPayloadNode
import msw.extras.kxsmine.tree.node.payload.PayloadNode
public object Floats : ElementType<Float>() {
override val type: TagType = TagType.... | 0 | Kotlin | 0 | 4 | a4ee46c03114463787a0573c41395d02afb468ef | 478 | KXSmine | MIT License |
app/src/main/java/cz/prague/cvut/fit/steuejan/amtelapp/data/repository/EmailRepository.kt | hawklike | 234,594,207 | false | null | package cz.prague.cvut.fit.steuejan.amtelapp.data.repository
import cz.prague.cvut.fit.steuejan.amtelapp.business.util.TestingUtil
import cz.prague.cvut.fit.steuejan.amtelapp.data.dao.EmailDAO
import kotlinx.coroutines.Dispatchers.IO
import kotlinx.coroutines.withContext
object EmailRepository
{
suspend fun getPa... | 1 | null | 1 | 1 | 1f88ddbcbd8e547158a4677c934b4dbf18ec82e1 | 720 | Amtel-App | MIT License |
src/main/kotlin/org/shardscript/composition/TypeLiteralParseTreeVisitor.kt | shardscript | 301,230,998 | false | {"Kotlin": 1188679, "ANTLR": 8512} | package org.shardscript.composition
import org.shardscript.grammar.ShardScriptParser
import org.shardscript.grammar.ShardScriptParserBaseVisitor
import org.shardscript.semantics.core.*
internal class TypeLiteralParseTreeVisitor(private val fileName: String) : ShardScriptParserBaseVisitor<Signifier>() {
override f... | 9 | Kotlin | 0 | 6 | 9ce95f6ba0feb25115fd1e2943d34afb5b903980 | 3,260 | shardscript | MIT License |
src/main/kotlin/de/lobbenmeier/stefan/downloadlist/business/YtDlpVersion.kt | StefanLobbenmeier | 564,771,762 | false | {"Kotlin": 84564} | package de.lobbenmeier.stefan.downloadlist.business
class YtDlpVersion {
val ytDlpBinary: String = "/opt/homebrew/bin/yt-dlp"
}
| 10 | Kotlin | 0 | 21 | c3007567ae7295c7437483318eaa5f1341300203 | 133 | yt-dlp-compose | MIT License |
app/src/main/java/com/mobilicos/smotrofon/room/entities/BlockedUser.kt | Globalrunet | 578,572,630 | false | null | package com.mobilicos.smotrofon.room.entities
import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey
import com.squareup.moshi.Json
import com.squareup.moshi.JsonClass
import java.util.*
@JsonClass(generateAdapter = true)
@Entity(tableName = "blocked_user")
data class BlockedUser ... | 0 | Kotlin | 0 | 0 | 33d720706ce1a464e46c87d61c680c03e0202757 | 563 | smotrofon | Apache License 2.0 |
src/main/kotlin/snippets/DSL.kt | athenian-programming | 196,145,981 | false | null | package snippets
import io.ktor.application.*
import io.ktor.html.*
import io.ktor.routing.*
import kotlinx.html.body
import kotlinx.html.h1
import kotlinx.html.head
import kotlinx.html.p
import kotlinx.html.title
fun Application.main() {
routing {
get("/hello") {
call.respondHtml {
head {
... | 0 | Kotlin | 0 | 0 | 9f0a2b00032814348f7d7ffdd09cfc4e42786af1 | 515 | kotlin-highlights | Apache License 2.0 |
Corona-Warn-App/src/androidTest/java/de/rki/coronawarnapp/ui/onboarding/OnboardingPrivacyFragmentTest.kt | corona-warn-app | 268,027,139 | false | null | package de.rki.coronawarnapp.ui.onboarding
import androidx.test.espresso.Espresso
import androidx.test.espresso.matcher.ViewMatchers
import androidx.test.ext.junit.runners.AndroidJUnit4
import dagger.Module
import dagger.android.ContributesAndroidInjector
import de.rki.coronawarnapp.R
import de.rki.coronawarnapp.eol.A... | 6 | null | 506 | 2,474 | 6e5b5ceb524c1c16b084f6a21db011814822b498 | 1,760 | cwa-app-android | Apache License 2.0 |
TodoApp/app/src/main/java/br/com/fiap/todoapp/TaskStatus.kt | Rphmelo | 597,932,475 | false | {"Kotlin": 71251} | package br.com.fiap.todoapp
enum class TaskStatus(val title: String) {
PENDING("Pendente"),
PROGRESS("Em andamento"),
COMPLETED("Concluída");
companion object {
fun getByTitle(title: String): TaskStatus {
return values().find {
it.title == title
} ?: PEN... | 0 | Kotlin | 0 | 6 | 0e44d9750a02f09107add4daf4b2dde4c91eb2e2 | 342 | Android_3SIT_2023 | MIT License |
api/src/main/kotlin/me/func/mod/ui/battlepass/BattlePassPageAdvanced.kt | funcid | 435,308,905 | false | {"Kotlin": 505435, "Java": 167} | package me.func.mod.ui.battlepass
import me.func.protocol.ui.battlepass.BattlePassPage
import org.bukkit.inventory.ItemStack
data class BattlePassPageAdvanced(
override var requiredExp: Int = 0,
override var skipPrice: Int = 0,
var items: List<ItemStack> = arrayListOf(),
var advancedItems: List<ItemSt... | 4 | Kotlin | 0 | 6 | 60e6d7d3ffb31e7660c3cab42a1639c24e725ca2 | 472 | visual-driver | Apache License 2.0 |
app/src/main/java/com/example/managebudget/feature/CryptoCurrency/CryptoCurrencyScreen.kt | merajdh | 770,254,994 | false | {"Kotlin": 105100} | package com.example.managebudget.feature.CryptoCurrency
import android.app.Activity
import android.graphics.Bitmap
import android.graphics.BitmapFactory
import android.util.Log
import androidx.compose.foundation.BorderStroke
import androidx.palette.graphics.Palette
import androidx.compose.foundation.Image
import andro... | 0 | Kotlin | 0 | 0 | 76f2e66b259b9fdecc9688e30615d5f89d44c06d | 17,727 | budget-manager | MIT License |
data/src/main/java/com/grekov/translate/data/mapper/LangDbToLangMapper.kt | sgrekov | 111,900,693 | false | null | package com.grekov.translate.data.mapper
import com.grekov.translate.data.model.cache.LangDbEntity
import com.grekov.translate.domain.model.Lang
import com.grekov.translate.domain.utils.BaseDataMapper
import javax.inject.Inject
class LangDbToLangMapper @Inject
constructor() : BaseDataMapper<LangDbEntity, Lang>() {
... | 0 | Kotlin | 4 | 22 | 24a1a1955ca901d4bf5ff08ff2f8e3eb2719c825 | 426 | Translater | Apache License 2.0 |
api/src/main/kotlin/com/seedcompany/cordtables/components/tables/common/work_estimates/Create.kt | CordField | 409,237,733 | false | null | package com.seedcompany.cordtables.components.tables.common.work_estimates
import com.seedcompany.cordtables.common.*
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.jdbc.core.JdbcTemplate
import org.springframework.stereotype.Controller
import org.springframework.web.bind.anno... | 93 | Kotlin | 1 | 3 | 7e5588a8b3274917f9a5df2ffa12d27db23fb909 | 3,001 | cordtables | MIT License |
core/src/main/java/dev/happysingh/core/base/BaseFragment.kt | happysingh23828 | 336,716,922 | false | null | package dev.happysingh.core.base
import androidx.fragment.app.Fragment
abstract class BaseFragment : Fragment()
| 0 | Kotlin | 1 | 19 | 0c79546786520c4ef05b1b22334f81797ebc3d4b | 114 | android-github-repo-template | The Unlicense |
MapboxVision/src/main/java/com/mapbox/vision/sync/SessionWriterListener.kt | sidgupta2106 | 222,082,585 | true | {"Kotlin": 226600, "Shell": 442, "RenderScript": 251, "Makefile": 144} | package com.mapbox.vision.sync
import com.mapbox.vision.mobile.core.models.VideoClip
internal interface SessionWriterListener {
fun onSessionStop(
clips: Array<VideoClip>,
videoPath: String,
cachedTelemetryPath: String,
coreSessionStartMillis: Long
)
}
| 0 | null | 0 | 0 | 4e3ce052470987152783857c61a07803ad1eab8b | 296 | mapbox-vision-android | The Unlicense |
app/src/main/kotlin/com/simplemobiletools/contacts/pro/activities/DialerActivity.kt | Abbas-Moledina | 159,398,889 | true | {"Kotlin": 370822} | package com.simplemobiletools.contacts.pro.activities
import android.annotation.SuppressLint
import android.annotation.TargetApi
import android.content.BroadcastReceiver
import android.content.Context
import android.content.Intent
import android.content.IntentFilter
import android.hardware.Sensor
import android.hardwa... | 0 | Kotlin | 0 | 0 | ce6f6e7049bfc622ea019c72888d92b39360feec | 9,109 | Simple-Contacts | Apache License 2.0 |
schema-kenerator-core/src/main/kotlin/io/github/smiley4/schemakenerator/core/annotations/Example.kt | SMILEY4 | 729,430,513 | false | {"Kotlin": 808327} | package io.github.smiley4.schemakenerator.core.annotations
import kotlinx.serialization.ExperimentalSerializationApi
import kotlinx.serialization.SerialInfo
/**
* Specifies an example value for the annotated object. Add annotation multiple times for multiple different example values.
* @param example the example va... | 6 | Kotlin | 4 | 9 | 28f02706ccdfba235654c33738001ab98588c015 | 622 | schema-kenerator | Apache License 2.0 |
src/main/kotlin/ch/hellorin/challengames/PlayerDto.kt | Hellorin | 187,876,805 | false | null | package ch.hellorin.challengames
data class PlayerDto(
val id: Long,
val username: String
) | 0 | Kotlin | 0 | 0 | 6be020da8938834549e7b17dd98375c4f514456f | 108 | challengames-dtos | Apache License 2.0 |
app/src/main/java/cz/cuni/mff/ufal/translator/main/dependency/MainModule.kt | ufal | 479,050,528 | false | null | package cz.cuni.mff.ufal.translator.main.dependency
import android.app.Application
import android.content.Context
import cz.cuni.mff.ufal.translator.interactors.analytics.Analytics
import cz.cuni.mff.ufal.translator.interactors.analytics.IAnalytics
import cz.cuni.mff.ufal.translator.interactors.api.Api
import cz.cuni.... | 7 | Kotlin | 0 | 2 | e2fb775116e49e441ab0767f1d860088b753707f | 2,158 | charles-translator-android | MIT License |
domain/auth/src/test/java/nl/jovmit/androiddevs/base/auth/InMemoryAuthTest.kt | mitrejcevski | 694,536,267 | false | {"Kotlin": 119773} | package nl.jovmit.androiddevs.base.auth
import nl.jovmit.androiddevs.domain.auth.AuthRepository
import nl.jovmit.androiddevs.domain.auth.InMemoryAuthRepository
import nl.jovmit.androiddevs.domain.auth.data.User
import nl.jovmit.androiddevs.domain.auth.data.UserBuilder.Companion.aUser
class InMemoryAuthTest : AuthCont... | 0 | Kotlin | 8 | 18 | c527e99ca5bb4667172bd5b30047e02cd4d8a441 | 976 | android-devs-app | Apache License 2.0 |
protocol/src/main/kotlin/Json.kt | TBD54566975 | 696,627,382 | false | {"Kotlin": 23102} | import com.fasterxml.jackson.databind.JsonNode
import com.fasterxml.jackson.databind.ObjectMapper
import com.fasterxml.jackson.databind.ObjectWriter
import com.fasterxml.jackson.databind.SerializationFeature
import com.fasterxml.jackson.module.kotlin.registerKotlinModule
const val dateTimeFormat = "yyyy-MM-dd'T'HH:mm:... | 24 | Kotlin | 0 | 0 | 0fd430f4d7bff6438414ce80785a02d1b951f121 | 1,064 | tbdex-kt | Apache License 2.0 |
web/src/main/kotlin/com/marcinmoskala/kotlinacademy/views/NewsListView.kt | edvin | 112,480,371 | true | {"CSS": 390495, "Kotlin": 82563, "JavaScript": 4278, "HTML": 1285} | package com.marcinmoskala.kotlinacademy.views
import com.marcinmoskala.kotlinacademy.common.routeLink
import com.marcinmoskala.kotlinacademy.data.News
import kotlinx.html.attributesMapOf
import react.RBuilder
import react.ReactElement
import react.dom.*
fun RBuilder.newsListView(newsList: List<News>?): ReactElement? ... | 0 | CSS | 0 | 3 | 40c453109005f3c5080ee2b0ffed10e6aea25963 | 1,074 | KotlinAcademyApp | Apache License 2.0 |
api/src/main/kotlin/io/github/lavabear/kline/extensions/Meter.kt | lavabear | 169,344,028 | false | null | package io.github.lavabear.kline.extensions
import com.codahale.metrics.Meter
inline fun <T> Meter.mark(block: () -> T) : T {
this.mark()
return block()
}
| 0 | Kotlin | 0 | 2 | 26585f207e552470fbe2f4f0aa2e3d0498aa2287 | 165 | kline | MIT License |
zircon.core/src/commonMain/kotlin/org/hexworks/zircon/api/dsl/component/LogAreaDsl.kt | Hexworks | 94,116,947 | false | {"Kotlin": 1792092, "Java": 121457, "Shell": 152} | package org.hexworks.zircon.api.dsl.component
import org.hexworks.zircon.api.builder.component.LogAreaBuilder
import org.hexworks.zircon.api.component.Container
import org.hexworks.zircon.api.component.LogArea
import org.hexworks.zircon.api.component.builder.base.BaseContainerBuilder
/**
* Creates a new [LogArea] us... | 42 | Kotlin | 138 | 735 | 9eeabb2b30e493189c9931f40d48bae877cf3554 | 784 | zircon | Apache License 2.0 |
app/src/main/java/io/github/eh/eh/misc/FriendChatInfoList.kt | Singlerr | 367,322,450 | false | null | package io.github.eh.eh.misc
import java.io.Serializable
class FriendChatInfoList(val list: List<FriendChatInfo>) : Serializable | 0 | Kotlin | 0 | 0 | 1cfab6c3ee0a456e09eea66c26682d97c809bd12 | 130 | EscapeHonbab | Creative Commons Zero v1.0 Universal |
src/main/kotlin/icu/windea/pls/config/config/internal/CwtSchemaConfig.kt | DragonKnightOfBreeze | 328,104,626 | false | {"Kotlin": 3443954, "Java": 164903, "Lex": 42127, "HTML": 23760, "Shell": 2822} | package icu.windea.pls.config.config.internal
import icu.windea.pls.config.config.*
import icu.windea.pls.config.configGroup.*
import icu.windea.pls.config.expression.internal.*
class CwtSchemaConfig(
val properties: List<CwtPropertyConfig>,
val enums: Map<String, CwtPropertyConfig>,
val constraints: Map<... | 12 | Kotlin | 5 | 41 | 99e8660a23f19642c7164c6d6fcafd25b5af40ee | 1,257 | Paradox-Language-Support | MIT License |
app/src/main/java/com/beyond7thsky/drivingschool/student/AddStudentFragment.kt | msohailismail | 374,315,579 | false | null | package com.beyond7thsky.drivingschool.student
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.ArrayAdapter
import androidx.fragment.app.Fragment
import androidx.fragment.app.viewModels
import androidx.navigation.findNavController... | 0 | Kotlin | 0 | 0 | 87410ae5515caba1604e6b6189d7fcd0f7dbbe1b | 6,628 | DrivingSchool | MIT License |
app/src/main/java/gcu/product/supplevpn/repository/features/utils/Supports.kt | Ilyandr | 584,776,484 | false | {"Java": 408363, "Kotlin": 191825, "AIDL": 15199} | package gcu.product.supplevpn.repository.features.utils
import android.annotation.SuppressLint
import androidx.annotation.DrawableRes
import androidx.compose.runtime.Composable
import androidx.compose.ui.res.painterResource
import gcu.product.base.models.proxy.ConnectionEntity
import gcu.product.supplevpn.R
import kot... | 1 | null | 1 | 1 | a47d4fee515c7a155cadd2eaa967f6dc38b4fed1 | 1,297 | Supple-VPN | MIT License |
example/server/src/main/kotlin/com/yt8492/commonjudgesystem/example/server/test/application/deletetweet/DeleteTweetInput.kt | yt8492 | 419,847,372 | false | {"Kotlin": 62662} | package com.yt8492.commonjudgesystem.example.server.test.application.deletetweet
import com.yt8492.commonjudgesystem.library.Input
data class DeleteTweetInput(
val token: String,
val tweetId: Int,
) : Input
| 0 | Kotlin | 0 | 0 | e8bde9962b0883bc200cee88af2841731d14ed64 | 217 | CommonJudgeSystem | MIT License |
pixelgrid/src/main/kotlin/com/deflatedpickle/rawky/pixelgrid/setting/LineSettings.kt | DeflatedPickle | 197,672,095 | false | null | /* Copyright (c) 2022 DeflatedPickle under the MIT license */
package com.deflatedpickle.rawky.pixelgrid.setting
import com.deflatedpickle.rawky.settings.api.range.FloatRange
import com.deflatedpickle.rawky.settings.widget.ConfigSection
import com.deflatedpickle.undulation.serializer.ColorSerializer
import kotlinx.se... | 7 | Kotlin | 6 | 25 | 7b73389bdc35f91e768422ef12f513ecc4790a11 | 555 | Rawky | MIT License |
core/src/main/kotlin/no/nav/amt/tiltak/core/port/ArrangorAnsattService.kt | navikt | 393,356,849 | false | null | package no.nav.amt.tiltak.core.port
import no.nav.amt.tiltak.core.domain.arrangor.Ansatt
import java.time.LocalDateTime
import java.util.*
interface ArrangorAnsattService {
fun opprettAnsattHvisIkkeFinnes(personIdent: String): Ansatt
fun getAnsatt(ansattId: UUID): Ansatt
fun getAnsattByPersonligIdent(personIde... | 4 | Kotlin | 3 | 3 | 59ebfd42eb4b8bcea2350e501058584fb80287b9 | 596 | amt-tiltak | MIT License |
src/main/kotlin/dev/deepslate/carbohydrate/Capabilities.kt | Mottle | 797,973,231 | false | {"Kotlin": 40649, "Java": 3310} | package dev.deepslate.carbohydrate
import dev.deepslate.carbohydrate.diet.DietProvider
import dev.deepslate.carbohydrate.diet.IDiet
import dev.deepslate.carbohydrate.nutrition.INutrition
import dev.deepslate.carbohydrate.nutrition.NutritionProvider
import net.minecraft.core.registries.BuiltInRegistries
import net.mine... | 0 | Kotlin | 0 | 0 | 1ab5fb6e8fad943156c2a82b2ef397d7fce95629 | 1,378 | Carbohydrate | MIT License |
permission-x/src/main/java/com/rmkrishna/permissionX/MPermission.kt | rksaravanan17 | 163,178,645 | true | {"Kotlin": 28646, "Java": 7431} | /*
*
* Copyright 2018 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicabl... | 0 | Kotlin | 0 | 0 | c4237c64dafc9b984a3860347f3b57b120f88ef0 | 2,430 | MPermission | Apache License 2.0 |
src/main/kotlin/no/nav/helse/spole/historikk/Sykepengeperioder.kt | navikt | 204,685,762 | false | null | package no.nav.helse.spole.historikk
import java.time.LocalDate
data class Sykepengeperioder(val aktørId: AktørId, val perioder: Collection<Periode>)
// om refusjon: ha med et utbetalt til orgnummer
data class Periode(val fom: LocalDate,
val tom: LocalDate,
val sykemeldingsgrad:... | 0 | Kotlin | 0 | 1 | 0201d89f599ead9c2c3e5acd0cacede463847df6 | 861 | helse-spole | MIT License |
src/main/kotlin/no/nav/helse/spole/historikk/Sykepengeperioder.kt | navikt | 204,685,762 | false | null | package no.nav.helse.spole.historikk
import java.time.LocalDate
data class Sykepengeperioder(val aktørId: AktørId, val perioder: Collection<Periode>)
// om refusjon: ha med et utbetalt til orgnummer
data class Periode(val fom: LocalDate,
val tom: LocalDate,
val sykemeldingsgrad:... | 0 | Kotlin | 0 | 1 | 0201d89f599ead9c2c3e5acd0cacede463847df6 | 861 | helse-spole | MIT License |
app/src/main/java/br/com/arquitetoandroid/appcommerce/model/ProductSize.kt | ifscher | 217,315,739 | true | {"Kotlin": 19423} | package br.com.arquitetoandroid.appcommerce.model
import java.io.Serializable
data class ProductSize (val id: String, val size: String) : Serializable | 0 | null | 0 | 0 | b9ca9c175a41945518fb8495d761dc9571c1a947 | 152 | AppCommerce | Apache License 2.0 |
app/src/main/java/dev/igokoro/flickr/network/NetworkParamInjector.kt | igokoro | 299,161,412 | false | null | package dev.igokoro.flickr.network
import dev.igokoro.flickr.BuildConfig
import okhttp3.Interceptor
import okhttp3.Response
import javax.inject.Inject
private const val PARAM_FLICKR_API_KEY = "api_key"
private const val PARAM_FORMAT = "format"
private const val VALUE_FORMAT_JSON = "json"
private const val PARAM_DO_NO... | 0 | Kotlin | 0 | 0 | f9bd33d97fd55cfb72acab6c50b11ad400688e22 | 1,309 | flickr-research | Apache License 2.0 |
build-tools/agp-gradle-core/src/main/java/com/android/build/gradle/internal/utils/ResolutionResultUtils.kt | RivanParmar | 526,653,590 | false | null | /*
* Copyright (C) 2020 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 0 | null | 2 | 17 | 8fb2bb1433e734aa9901184b76bc4089a02d76ca | 4,607 | androlabs | Apache License 2.0 |
dsl/src/main/kotlin/io/cloudshiftdev/awscdkdsl/services/ec2/MultipartBodyOptionsDsl.kt | cloudshiftinc | 667,063,030 | false | null | @file:Suppress(
"RedundantVisibilityModifier",
"RedundantUnitReturnType",
"RemoveRedundantQualifierName",
"unused",
"UnusedImport",
"ClassName",
"REDUNDANT_PROJECTION",
"DEPRECATION"
)
package cloudshift.awscdk.dsl.services.ec2
import cloudshift.awscdk.common.CdkDslMarker
import kotlin... | 4 | null | 0 | 3 | c59c6292cf08f0fc3280d61e7f8cff813a608a62 | 1,838 | awscdk-dsl-kotlin | Apache License 2.0 |
app/src/main/java/com/manoj/dlt/features/ProfileFeature.kt | ManojMadanmohan | 52,667,086 | false | null | package com.manoj.dlt.features
import android.content.Context
import android.util.Log
import com.google.firebase.database.DatabaseReference
import com.manoj.dlt.Constants
import com.manoj.dlt.interfaces.IProfileFeature
import com.manoj.dlt.utils.SingletonHolder
import com.manoj.dlt.utils.Utilities
import java.util.*
... | 2 | null | 1 | 19 | d8688cdb280290fa0c8e32ba6eb1164c020563fb | 1,320 | dlt | MIT License |
app/src/main/java/com/przemyslawlusnia/vocabularycreator/core/FirebaseCrashTree.kt | Swirastlynn | 78,429,518 | false | {"Gradle": 3, "Java Properties": 2, "Shell": 1, "Ignore List": 2, "Batchfile": 1, "YAML": 1, "Text": 1, "JSON": 1, "Proguard": 1, "Java": 13, "XML": 24, "Kotlin": 51} | package com.przemyslawlusnia.vocabularycreator.core
import android.util.Log
import com.google.firebase.crash.FirebaseCrash
import timber.log.Timber
class FirebaseCrashTree : Timber.Tree() {
override fun isLoggable(tag: String?, priority: Int): Boolean {
return !(priority == Log.VERBOSE || priority == Log... | 1 | null | 1 | 1 | 92ff2ba282a8dc0930a24f12d5a4e18507d252f0 | 574 | vocabulary-creator | MIT License |
reactive-logger/src/main/kotlin/io/github/numichi/reactive/logger/core/ReactiveCore.kt | Numichi | 448,675,398 | true | {"Kotlin": 386596, "Java": 18115} | package io.github.numichi.reactive.logger.core
import io.github.numichi.reactive.logger.MDC
import io.github.numichi.reactive.logger.coroutine.snapshotMdc
import org.slf4j.Logger
import reactor.core.publisher.Mono
import reactor.util.context.ContextView
import java.util.function.Supplier
abstract class ReactiveCore<L... | 0 | Kotlin | 4 | 16 | 0b2eb0cac1b82c1e5a2771ca7b3166ddc56e3b6e | 1,182 | reactive-logger | Apache License 2.0 |
kotest-core/src/commonMain/kotlin/io/kotest/core/spec/style/freeSpec.kt | ca-r0-l | 258,232,982 | true | {"Kotlin": 2272378, "HTML": 423, "Java": 153} | package io.kotest.core.spec.style
import io.kotest.core.config.Project
import io.kotest.core.factory.TestFactory
import io.kotest.core.factory.TestFactoryConfiguration
import io.kotest.core.factory.build
import io.kotest.core.test.TestCaseConfig
/**
* Creates a [TestFactory] from the given block.
*
* The receiver ... | 0 | null | 0 | 1 | e176cc3e14364d74ee593533b50eb9b08df1f5d1 | 1,138 | kotest | Apache License 2.0 |
core/src/test/kotlin/com/bsse2018/salavatov/flt/grammars/CYKTest.kt | vsalavatov | 241,599,920 | false | null | package com.bsse2018.salavatov.flt.grammars
import com.bsse2018.salavatov.flt.algorithms.CYKQuery
import com.bsse2018.salavatov.flt.grammars.TestDataCollection.correctBracketSequenceAmbiguousGrammar
import com.bsse2018.salavatov.flt.grammars.TestDataCollection.correctBracketSequenceGrammar
import com.bsse2018.salavato... | 0 | Kotlin | 0 | 1 | c1c229c113546ef8080fc9d3568c5024a22b80a5 | 3,221 | bsse-2020-flt | MIT License |
plugins/coverage-common/testSrc/com/intellij/coverage/view/StateBeanTest.kt | JetBrains | 2,489,216 | false | null | package com.intellij.coverage.view
import com.intellij.openapi.util.JDOMUtil
import com.intellij.util.xmlb.XmlSerializer
import org.junit.jupiter.api.Assertions.*
import org.junit.jupiter.api.Test
internal class StateBeanTest {
@Test
fun `test has constructor with no arguments`() {
CoverageViewManager.StateBe... | 284 | null | 5162 | 16,707 | def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0 | 877 | intellij-community | Apache License 2.0 |
plugins/coverage-common/testSrc/com/intellij/coverage/view/StateBeanTest.kt | JetBrains | 2,489,216 | false | null | package com.intellij.coverage.view
import com.intellij.openapi.util.JDOMUtil
import com.intellij.util.xmlb.XmlSerializer
import org.junit.jupiter.api.Assertions.*
import org.junit.jupiter.api.Test
internal class StateBeanTest {
@Test
fun `test has constructor with no arguments`() {
CoverageViewManager.StateBe... | 284 | null | 5162 | 16,707 | def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0 | 877 | intellij-community | Apache License 2.0 |
src/main/kotlin/org/raddad/main/core/warehouse/entity/Warehouse.kt | osama-raddad | 447,000,044 | false | null | /*
* Copyright (c) 2022. , <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... | 0 | Kotlin | 0 | 18 | 2996eb20ab505fbbaea329c0a268f1f92a4e0914 | 1,261 | Warehouse | Apache License 2.0 |
reactive-task-scheduler/app/src/main/java/br/com/edsilfer/task_scheduler/App.kt | edsilfer | 97,345,601 | false | {"Text": 6, "Markdown": 5, "Python": 2, "JSON": 3, "XML": 27, "Ignore List": 8, "Java": 26, "Gradle": 9, "Java Properties": 5, "Shell": 2, "Batchfile": 2, "Proguard": 3, "Kotlin": 12, "HTML": 2, "CSS": 6, "JavaScript": 2} | package br.com.edsilfer.task_scheduler
import android.app.Application
import rx_activity_result2.RxActivityResult
import timber.log.Timber
class App : Application() {
override fun onCreate() {
super.onCreate()
Timber.plant(Timber.DebugTree())
RxActivityResult.register(this);
}
} | 1 | null | 1 | 1 | 4fa15e09970a6e628d5391cea0e9846b03f19e1c | 315 | android-tools | Apache License 2.0 |
app/src/main/kotlin/me/rei_m/hbfavmaterial/repositories/HatenaRepository.kt | mactkg | 57,898,218 | true | {"Kotlin": 276223, "HTML": 2437} | package me.rei_m.hbfavmaterial.repositories
import android.content.Context
import me.rei_m.hbfavmaterial.R
import me.rei_m.hbfavmaterial.di.ForApplication
import me.rei_m.hbfavmaterial.entities.BookmarkEditEntity
import me.rei_m.hbfavmaterial.entities.OAuthTokenEntity
import me.rei_m.hbfavmaterial.network.HatenaOAuthA... | 0 | Kotlin | 0 | 0 | a6bba3083882f670ca677ff49898839c85f790ee | 3,082 | HBFav_material | MIT License |
ktor-backend/daily-attendance/src/main/kotlin/com/steiner/workbench/daily_attendance/table/Tasks.kt | nesteiner | 693,014,583 | false | {"Kotlin": 365877, "Dart": 229914, "C++": 24228, "CMake": 19460, "HTML": 1843, "C": 1425} | package com.steiner.workbench.daily_attendance.table
import com.steiner.workbench.common.`daily-attendance-encouragement-length`
import com.steiner.workbench.common.`daily-attendance-name-length`
import com.steiner.workbench.common.formatter
import com.steiner.workbench.daily_attendance.model.*
import org.jetbrains.ex... | 1 | Kotlin | 0 | 0 | 9b979a1debd8a6a652fbf024c45abdc6cfb3d567 | 1,238 | Workbench | MIT License |
app/src/main/java/com/example/androiddevchallenge/components/MySootheButton.kt | tolgaprm | 466,423,278 | false | {"Kotlin": 44209} | package com.example.androiddevchallenge.components
import androidx.compose.foundation.isSystemInDarkTheme
import androidx.compose.foundation.layout.RowScope
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.height
import androidx.compose.material.Button
import androidx.com... | 0 | Kotlin | 0 | 0 | 745cedb2c0e753724ef23b01e984946dfa887fba | 1,931 | MySoothe | Apache License 2.0 |
src/main/kotlin/com/algorithmslime/extramisc/items/FuelItem.kt | algorithmslime | 540,828,105 | false | null | package com.algorithmslime.extramisc.items
abstract class FuelItem : EMItem() {
abstract fun getDuration(): Int
} | 0 | Kotlin | 0 | 0 | 977233889e7a02bfe654122dbe7f25a97786c5a6 | 119 | ExtraMisc | MIT License |
android/src/com/android/tools/idea/npw/benchmark/ConfigureBenchmarkModuleStep.kt | phpc0de | 470,555,455 | false | null | /*
* Copyright (C) 2019 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 0 | null | 1 | 1 | 79e20f027ca1d047b91aa7acd92fb71fa2968a09 | 2,074 | idea-android | Apache License 2.0 |
weibo/src/main/java/com/github/moqi/faker/weibo/beans/WeiboCacheBean.kt | moqi-Git | 182,109,822 | false | null | //package com.github.moqi.faker.weibo.beans
//
//import androidx.room.ColumnInfo
//import androidx.room.Entity
//import androidx.room.PrimaryKey
//
//class WeiboCacheBean {
//
// @Entity(tableName = "weibo")
// data class Statuse(
//
// @PrimaryKey
// val id: Long,
// val created_at: String,
... | 0 | Kotlin | 0 | 0 | 82246ff5982a75047acb980381713c7d7290323a | 534 | AndFaker | Apache License 2.0 |
src/main/kotlin/ru/spbstu/kparsec/Input.kt | vorpal-research | 115,148,080 | false | {"Kotlin": 145245} | package ru.spbstu.kparsec
import ru.spbstu.kparsec.wheels.*
interface Location<T> {
operator fun invoke(token: T): Location<T>
}
data class CharLocation(val source: String, val line: Int = 1, val col: Int = 0): Location<Char> {
override operator fun invoke(token: Char)= when(token) {
'\n' -> copy(lin... | 0 | Kotlin | 0 | 0 | 3238c73af7bb4269176dac57b51614b1402313e5 | 2,659 | kparsec | MIT License |
core/src/main/kotlin/com/github/prologdb/runtime/proofsearch/PrologCallable.kt | prologdb | 107,794,018 | false | {"Kotlin": 725426, "Java": 151052, "Prolog": 54899} | package com.github.prologdb.runtime.proofsearch
import com.github.prologdb.async.LazySequenceBuilder
import com.github.prologdb.runtime.HasFunctorAndArity
import com.github.prologdb.runtime.term.Term
import com.github.prologdb.runtime.unification.Unification
typealias PrologCallableFulfill = suspend LazySequenceBuild... | 17 | Kotlin | 1 | 3 | 3e43f723a424f1ced8f9a3915e2bb8d0df57fd5f | 642 | runtime | MIT License |
app/src/main/java/com/starbase/bankwallet/modules/transactions/TransactionFilterItem.kt | Sonar-LaunchPad | 410,111,846 | true | {"Kotlin": 2429867, "Shell": 2039, "Ruby": 966} | package com.starbase.bankwallet.modules.transactions
class TransactionFilterItem(val coinCode: CoinCode?, val name: String) | 0 | null | 0 | 0 | 1327d5f457ae383bf6849ef8816c859a1536f150 | 124 | unstoppable-wallet-android | MIT License |
myblog-jpa/src/main/kotlin/com/site/blog/service/AdminUserService.kt | yzqdev | 394,679,800 | false | {"Kotlin": 453510, "Java": 239310, "Vue": 114812, "HTML": 47519, "TypeScript": 29771, "Go": 22465, "Less": 8160, "JavaScript": 7120, "CSS": 4588, "SCSS": 979} | package com.site.blog.service
import com.site.blog.model.entity.AdminUser
/**
*
*
* 后台管理员信息表 服务类
*
*
*/
interface AdminUserService {
fun validatePassword(userId: String, oldPwd: String): Boolean
fun updateUserInfo(adminUser: AdminUser): AdminUser
fun register(user: AdminUser): AdminUser
/**
... | 0 | Kotlin | 2 | 4 | 7f367dbe7883722bf1d650504265254d5224f69b | 505 | mild-blog | MIT License |
app/src/test/java/ca/josuelubaki/borutoapp/data/remote/FakeBorutoApi.kt | josue-lubaki | 588,015,502 | false | null | package ca.josuelubaki.borutoapp.data.remote
import ca.josuelubaki.borutoapp.domain.model.ApiResponse
import ca.josuelubaki.borutoapp.domain.model.Hero
class FakeBorutoApi : BorutoApi {
private val heroes = listOf(
Hero(
id = 1,
name = "Sasuke",
image = "/images/sasuk... | 0 | Kotlin | 0 | 3 | c8ca6ad975b209ab73eeb041fa73b41c615596eb | 4,089 | BorutoApp | MIT License |
kosmos/src/main/java/org/nosemaj/kosmos/GetTokens.kt | jamesonwilliams | 344,251,265 | false | null | package org.nosemaj.kosmos
import org.nosemaj.kosmos.Tokens.InvalidTokens
import org.nosemaj.kosmos.Tokens.ValidTokens
import org.nosemaj.kosmos.cip.CipClient
import org.nosemaj.kosmos.cip.InitiateAuthRequest
import org.nosemaj.kosmos.storage.TokenStorage
internal class GetTokens(
private val tokenStorage: TokenS... | 0 | Kotlin | 0 | 9 | 11b7ce69c1b19baf4becaf6c5198090069e0561c | 1,836 | kosmos | Apache License 2.0 |
client/src/commonMain/kotlin/client/viewModel/SearchViewModel.kt | 4face-studi0 | 280,630,732 | false | null | package client.viewModel
import domain.SearchMovies
import entities.Either
import entities.left
import entities.movies.Movie
import entities.movies.SearchError
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.channels.Channel
import kotlinx.coroutines.flow.MutableStateFlow
import kotlinx.coroutines.f... | 24 | Kotlin | 1 | 3 | 572514b24063815fba93809a9169a470f89fd445 | 1,460 | CineScout | Apache License 2.0 |
graphql-dgs-codegen-core/src/main/kotlin/com/netflix/graphql/dgs/codegen/generators/kotlin/KotlinDataTypeGenerator.kt | Netflix | 317,379,776 | false | {"Kotlin": 1255293, "Python": 7680, "Java": 5969, "Makefile": 982, "Dockerfile": 246} | /*
*
* Copyright 2020 Netflix, 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... | 91 | Kotlin | 96 | 181 | 57b2e1e6db8da146cfa590a0c331ac15ef156085 | 10,819 | dgs-codegen | Apache License 2.0 |
appBackend/appBackend/src/jsMain/kotlin/com/gchristov/thecodinglove/JavascriptMain.kt | gchristov | 533,472,792 | false | null | package com.gchristov.thecodinglove
import com.gchristov.thecodinglove.commonservicedata.CommonServiceDataModule
import com.gchristov.thecodinglove.htmlparse.HtmlParseModule
import com.gchristov.thecodinglove.kmpcommondi.DiGraph
import com.gchristov.thecodinglove.kmpcommondi.KmpCommonDiModule
import com.gchristov.thec... | 1 | Kotlin | 0 | 2 | bdd18b3ff36bfa1efd597285b32cc79961ef0b66 | 1,749 | thecodinglove-kmp | Apache License 2.0 |
buildSrc/src/main/java/BuildAndroidConfig.kt | rickmune | 617,498,444 | false | null | /**
* Configuration of android build
*/
object BuildAndroidConfig {
const val APPLICATION_ID = "co.deltapay.customer"
const val COMPILE_SDK_VERSION = 33
const val MIN_SDK_VERSION = 21
const val TARGET_SDK_VERSION = 33
const val VERSION_CODE = 1
const val VERSION_NAME = "1.9"
const val T... | 0 | Kotlin | 0 | 0 | 121d22f476588bba190f41d910f39afe1a39dad0 | 392 | TestMono2 | MIT License |
androidApp/src/main/java/com/flepper/therapeutic/android/presentation/home/euti/EutiBottomScreens.kt | develNerd | 526,878,724 | false | {"Kotlin": 296821, "Ruby": 1782, "Swift": 345} | package com.flepper.therapeutic.android.presentation.home.euti
import androidx.compose.foundation.background
import androidx.compose.foundation.clickable
import androidx.compose.foundation.isSystemInDarkTheme
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.shape.RoundedCornerShape
import... | 0 | Kotlin | 0 | 1 | e2b1e12e9fef20a89c96b72b18cd6ab613c16af3 | 9,984 | Therapeutic | Apache License 2.0 |
app/src/main/java/com/example/navhostfragmenttest/two.kt | android-little-boy | 336,752,962 | false | null | package com.example.navhostfragmenttest
import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.Button
import androidx.navigation.findNavController
import androidx.navigation.fragment.findNavControlle... | 0 | Kotlin | 0 | 0 | d4cea5e7e56731b80c59b82abaa7d257bee49415 | 2,552 | NavhostfragmentTest | Apache License 2.0 |
ide/src/main/kotlin/it/unibo/tuprolog/argumentation/ui/gui/Arg2pIdeApplication.kt | tuProlog | 333,103,830 | false | null | package it.unibo.tuprolog.argumentation.ui.gui
import it.unibo.tuprolog.argumentation.actor.libs.ActorSolver
import it.unibo.tuprolog.argumentation.core.Arg2pSolver
import it.unibo.tuprolog.ui.gui.TuPrologIDEBuilder
import javafx.application.Application
import javafx.stage.Stage
import kotlin.system.exitProcess
class... | 4 | null | 0 | 6 | 2cf65e2f1c94bc625447a10f12e765a20245bdcc | 1,325 | arg2p-kt | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.