path stringlengths 4 280 | owner stringlengths 2 39 | repo_id int64 21.1k 879M | is_fork bool 2
classes | languages_distribution stringlengths 13 1.95k ⌀ | content stringlengths 7 482k | issues int64 0 13.9k | main_language stringclasses 121
values | forks stringlengths 1 5 | stars int64 0 111k | commit_sha stringlengths 40 40 | size int64 7 482k | name stringlengths 1 100 | license stringclasses 93
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
app/src/main/java/com/example/pianostudio/ui/screens/record/StudioRecordingScreen.kt | coral134 | 695,267,140 | false | {"Kotlin": 90538} | package com.example.pianostudio.ui.screens.record
import androidx.compose.runtime.Composable
import androidx.compose.runtime.LaunchedEffect
import androidx.compose.runtime.remember
import androidx.compose.ui.Modifier
import com.example.pianostudio.ui.navigation.rememberLocalPageNavigator
import com.example.pianostudio... | 0 | Kotlin | 0 | 0 | e6cc3aab20d1574dbf4f9ccd15aba2200d0b62af | 971 | Piano_Studio | MIT License |
droid-app/CoffeeDose/app/src/main/java/com/office14/coffeedose/domain/Order.kt | sofinms | 249,805,970 | true | {"Kotlin": 102441, "C#": 99646, "TypeScript": 65904, "HTML": 11001, "JavaScript": 1831, "Dockerfile": 1083, "CSS": 299} | package com.office14.coffeedose.domain
data class Order (
var id : Int,
val statusCode : String,
val statusName : String,
val orderNumber : String,
val totalPrice : Int
) | 0 | null | 0 | 0 | 109a16dbce748a363eeb290ebba46c4b9dbbf357 | 191 | Drinks | MIT License |
src/main/kotlin/com/mrkirby153/botcore/builder/AutoSplittingMessageBuilder.kt | mrkirby153 | 137,817,672 | false | {"Kotlin": 123702} | package com.mrkirby153.botcore.builder
import net.dv8tion.jda.api.utils.messages.MessageCreateData
fun autoSplittingMessage(
maxCharactersPerMessage: Int = 1990,
body: AutoSplittingMessageBuilder.() -> Unit,
): List<MessageCreateData> {
val builder = AutoSplittingMessageBuilder(maxCharactersPerMessage)
... | 0 | Kotlin | 1 | 0 | 5c07baeff7209c58f2ef84d9944d0b64a8aa913b | 3,438 | bot-core | MIT License |
graph/graph-application/src/main/kotlin/eu/tib/orkg/prototype/contenttypes/services/actions/compat.kt | TIBHannover | 197,416,205 | false | {"Kotlin": 2548386, "Cypher": 216087, "Python": 4880, "Groovy": 1936, "Shell": 1803, "HTML": 240} | package eu.tib.orkg.prototype.contenttypes.services.actions
import eu.tib.orkg.prototype.contenttypes.api.CreateContributionUseCase
import eu.tib.orkg.prototype.contenttypes.api.CreatePaperUseCase
import eu.tib.orkg.prototype.contenttypes.services.actions.contribution.ContributionAction
import eu.tib.orkg.prototype.co... | 0 | Kotlin | 2 | 5 | f96c2c41a6e2b1da63a9d93973602573b596ed0d | 710 | orkg-backend | MIT License |
example/android/app/src/main/kotlin/com/example/trackierfluttersdk_example/MainActivity.kt | trackier | 403,994,383 | false | {"Kotlin": 15843, "Dart": 13394, "Swift": 8927, "Ruby": 2266, "Objective-C": 777, "Java": 655} | package com.example.trackierfluttersdk_example
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| 0 | Kotlin | 0 | 1 | 0a97a8d2132e6412e43ded7c6fbfec840ff31826 | 143 | flutter-sdk | MIT License |
generators/src/main/kotlin/org/kryptonmc/generators/utils.kt | KryptonMC | 255,582,002 | false | null | /*
* This file is part of the Krypton project, licensed under the Apache License v2.0
*
* Copyright (C) 2021-2023 KryptonMC and the contributors of the Krypton 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 ... | 27 | Kotlin | 11 | 233 | a9eff5463328f34072cdaf37aae3e77b14fcac93 | 2,860 | Krypton | Apache License 2.0 |
cloud-integration/spotify/spotify-impl/src/main/kotlin/me/freedom4live/singtocloud/application/cloud/integration/spotify/impl/config/SpotifyIntegrationConfig.kt | alekseinovikov | 241,181,307 | false | {"Kotlin": 22934} | package me.freedom4live.singtocloud.application.cloud.integration.spotify.impl.config
import org.springframework.context.annotation.Configuration
@Configuration
class SpotifyIntegrationConfig | 0 | Kotlin | 0 | 0 | ffd22a2d3c1ad63ad7e993fc5a56170b6c4dc5ad | 193 | sing-to-cloud | MIT License |
src/main/kotlin/org/batteryparkdev/kotlindev/collect/FlatMapDemo.kt | fcriscuo | 573,547,848 | false | {"Kotlin": 63433} | package org.batteryparkdev.kotlindev.collect
fun main() {
val names = listOf<String>("Ann","Bob","Charles" )
val chars1: List<Char> = names.flatMap { it.toList() }
println(chars1)
val mapRes: List<List<Char>> = names.map { it.toList()}
println(mapRes)
val chars2 = mapRes.flatten()
println(c... | 0 | Kotlin | 0 | 0 | 9e7bd1801a4d11b73e46071efdaf8bd3d5c86e47 | 359 | KotlinSandbox | Creative Commons Zero v1.0 Universal |
app/src/main/java/de/seemoo/at_tracking_detection/ui/debug/DebugScansFragment.kt | seemoo-lab | 385,199,222 | false | {"Kotlin": 491934, "Ruby": 1078} | package de.seemoo.at_tracking_detection.ui.debug
import android.annotation.SuppressLint
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.lazy.LazyColumn
import androidx.compo... | 20 | Kotlin | 99 | 1,848 | 2b0e247158376e3169601e44eb286f7fbedae2de | 3,879 | AirGuard | Apache License 2.0 |
src/main/kotlin/com/github/durun/nitron/core/config/loader/NitronConfigLoader.kt | Durun | 212,494,212 | false | null | package com.github.durun.nitron.core.config.loader
import com.github.durun.nitron.core.config.NitronConfig
object NitronConfigLoader : ConfigLoader<NitronConfig> by KSerializationConfigLoader(NitronConfig.serializer()) | 7 | Kotlin | 0 | 0 | 0e2f522025e156d74ce2345b1004d6bc684a7763 | 220 | nitron | MIT License |
gui-app/src/main/kotlin/dev/robocode/tankroyale/gui/ui/console/ConsoleHtmlEditorKit.kt | robocode-dev | 457,523,927 | false | {"Kotlin": 510460, "Java": 418305, "C#": 407310, "SCSS": 1367, "TypeScript": 1071, "Shell": 83} | package dev.robocode.tankroyale.gui.ui.console
import javax.swing.text.html.HTMLEditorKit
open class ConsoleHtmlEditorKit : HTMLEditorKit() {
init {
styleSheet.apply {
addRule("span { color: white; font-family: monospace; font-size: 12;}")
// Bot console
addRule(".inf... | 3 | Kotlin | 14 | 86 | 69e40aef66df6dd44bf7433e4919b64ae0a9d784 | 1,433 | tank-royale | Apache License 2.0 |
subprojects/delivery/upload-cd-build-result/src/main/kotlin/com/avito/cd/CdBuildConfigValidator.kt | avito-tech | 230,265,582 | false | null | package com.avito.cd
internal class CdBuildConfigValidator(private val config: CdBuildConfig) {
fun validate() {
checkUnsupportedDeployments()
checkUniqueGooglePlayDeployments()
checkQappsDeployments()
}
private fun checkUnsupportedDeployments() {
val unknownDeployments = ... | 4 | null | 37 | 331 | 44a9f33b2e4ac4607a8269cbf4f7326ba40402fe | 1,458 | avito-android | MIT License |
kotlin-options/src/test/kotlin/com/petertackage/kotlinoptions/OptionTest.kt | peter-tackage | 89,383,377 | false | null | package com.petertackage.kotlinoptions
import com.nhaarman.mockito_kotlin.any
import com.nhaarman.mockito_kotlin.mock
import com.nhaarman.mockito_kotlin.never
import com.nhaarman.mockito_kotlin.verify
import org.assertj.core.api.Assertions.assertThat
import org.junit.Rule
import org.junit.Test
import org.junit.rules.E... | 4 | Kotlin | 2 | 29 | 7643568965ee88c5cd2a6130d9e7d883f670ed0c | 11,940 | kotlin-options | Apache License 2.0 |
app/src/main/java/com/ottistech/indespensa/ui/viewmodel/ShopHistoryViewModel.kt | OttistTech | 829,230,723 | false | {"Kotlin": 201564} | package com.ottistech.indespensa.ui.viewmodel
import android.util.Log
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.ottistech.indespensa.data.exception.ResourceNotFoundException
import com.ottistech.i... | 0 | Kotlin | 0 | 0 | 0c33630caa8dc99bf4999d672d3e2826be31d7fa | 1,225 | app-indespensa | MIT License |
core/ui/src/main/java/com/peonlee/core/ui/base/BaseBottomSheetFragment.kt | YAPP-Github | 634,125,265 | false | {"Kotlin": 288963} | package com.peonlee.core.ui.base
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.view.WindowManager
import com.google.android.material.bottomsheet.BottomSheetDialogFragment
import com.peonlee.core.ui.R
import com.peonlee.core.ui.databind... | 10 | Kotlin | 0 | 8 | 8fbb7589215ac6e0d43a7a0ff6e08aca3dafd27e | 1,901 | pyeonlee-aos | Apache License 2.0 |
android-aop-core/src/main/java/com/flyjingfish/android_aop_core/utils/DebugUtils.kt | FlyJingFish | 722,020,803 | false | {"Kotlin": 514894, "Java": 95343} | package com.flyjingfish.android_aop_core.utils
import android.content.Context
import android.content.pm.ApplicationInfo
import com.flyjingfish.android_aop_core.AndroidAopContentProvider
internal object DebugUtils {
private var init = false
private var debug = false
fun isDebug(): Boolean {
return... | 0 | Kotlin | 29 | 433 | b6743fd17ae2c062bc1ee2104d2d95c931139998 | 822 | AndroidAOP | Apache License 2.0 |
src/main/java/com/dzen/campfire/server/tables/TActivitiesCollisions.kt | timas130 | 443,572,543 | true | {"Kotlin": 1072092} | package com.dzen.campfire.server.tables
import com.dzen.campfire.api.API
import com.sup.dev.java_pc.sql.Sql
object TActivitiesCollisions {
val NAME = "activities_collisions"
val id = "id"
val type = "type"
val account_id = "account_id"
val activity_id = "activity_id"
val date_create = "date_... | 0 | Kotlin | 0 | 0 | 40a2fbdbbdbe6706ed852f7218cb10fd57e50445 | 1,950 | CampfireServer | Apache License 2.0 |
app/src/test/kotlin/com/mgaetan89/showsrage/activity/MainActivity_GetSettingFragmentForPathTest.kt | HD-CIPL | 61,888,053 | true | {"Kotlin": 664263} | package com.mgaetan89.showsrage.activity
import com.mgaetan89.showsrage.fragment.*
import org.assertj.core.api.Assertions.assertThat
import org.junit.Test
import org.junit.runner.RunWith
import org.junit.runners.Parameterized
@RunWith(Parameterized::class)
class MainActivity_GetSettingFragmentForPathTest(val path: St... | 0 | Kotlin | 0 | 0 | 27453cd388a73cc2ff9abc69109a65fbf1ac5977 | 1,954 | ShowsRage | Apache License 2.0 |
project/src/main/kotlin/cga/exercise/components/geometry/Transformable.kt | CaSoThi | 396,830,912 | true | {"Kotlin": 105668, "GLSL": 13895} | package cga.exercise.components.geometry
import org.joml.*
import org.joml.Matrix4f
import org.joml.Vector3f
import kotlin.math.pow
import kotlin.math.sqrt
open class Transformable(var parent : Transformable? = null) : ITransformable{
var modelMat = Matrix4f()
/**
* Rotates object around its own origi... | 0 | Kotlin | 0 | 0 | 1d2c0fdf0de94336a1adcff556b33c4ce70a4515 | 5,794 | CGA_Project | MIT License |
app/src/main/java/com/globalfsm/features/orderhistory/api/LocationUpdateRepository.kt | DebashisINT | 614,841,798 | false | null | package com.globalfsm.features.orderhistory.api
import com.globalfsm.base.BaseResponse
import com.globalfsm.features.orderhistory.model.LocationUpdateRequest
import io.reactivex.Observable
/**
* Created by Pratishruti on 23-11-2017.
*/
class LocationUpdateRepository(val apiService:LocationUpdateApi) {
fun sendL... | 0 | Kotlin | 0 | 0 | f0435b0dd4b1ce20137b6a892ed58c2b7d7142f7 | 458 | GLOBAL | Apache License 2.0 |
app/src/main/java/com/github/k1rakishou/kpnc/domain/MessageReceiver.kt | K1rakishou | 628,245,583 | false | null | package com.github.k1rakishou.kpnc.domain
interface MessageReceiver {
fun onGotNewMessage(messageId: String?, data: String?)
data class Message(
val messageId: String,
val data: String
)
} | 0 | Kotlin | 0 | 0 | 0675dbf74239ea36b297ed4a7a12e05b14e148d4 | 205 | KPNC-client | MIT License |
app/src/main/java/com/guillaumewilmot/swoleai/util/fragmentBackstack/FragmentBackstackImpl.kt | Poncholay | 470,056,464 | false | null | package com.guillaumewilmot.swoleai.util.fragmentBackstack
import android.os.Bundle
import androidx.fragment.app.FragmentManager
import androidx.fragment.app.commit
import com.guillaumewilmot.swoleai.R
import com.guillaumewilmot.swoleai.controller.ParentFragment
import kotlinx.coroutines.ExperimentalCoroutinesApi
impo... | 0 | Kotlin | 0 | 0 | 3c091da3533dd032553df9006703c7ef8a767be6 | 5,807 | SwoleAI | Apache License 2.0 |
openfeature/providers/kotlin-provider/gofeatureflag-kotlin-provider/src/main/java/org/gofeatureflag/openfeature/GoFeatureFlagProvider.kt | thomaspoignant | 320,579,524 | false | {"Go": 1010738, "JavaScript": 116370, "Kotlin": 82104, "Python": 45815, "CSS": 36770, "Java": 18564, "MDX": 17066, "C#": 14206, "Makefile": 3875, "Shell": 2824, "Smarty": 2207, "Dockerfile": 236} | package org.gofeatureflag.openfeature
import dev.openfeature.sdk.EvaluationContext
import dev.openfeature.sdk.FeatureProvider
import dev.openfeature.sdk.Hook
import dev.openfeature.sdk.ProviderEvaluation
import dev.openfeature.sdk.ProviderMetadata
import dev.openfeature.sdk.Value
import dev.openfeature.sdk.events.Open... | 19 | Go | 124 | 1,282 | a6809013a84a8dc3112be066d160027050b00337 | 4,043 | go-feature-flag | MIT License |
training/app/src/main/java/com/sfeir/school/android/datastore/ui/fragment/sportsessions/SportSessionsViewModel.kt | sfeir-open-source | 486,275,854 | false | {"Kotlin": 56743, "JavaScript": 2270} | package com.sfeir.school.android.datastore.ui.fragment.sportsessions
import androidx.lifecycle.ViewModel
import com.sfeir.school.android.datastore.base.model.SportSessionSort
import com.sfeir.school.android.datastore.data.model.SportType
import com.sfeir.school.android.datastore.base.model.SportTypeFilter
import com.s... | 0 | Kotlin | 0 | 0 | bd9f09e365e4ae2942c1a1a8e5438eb41117c525 | 3,655 | sfeir-school-android-jetpack-datastore | Apache License 2.0 |
sboot-mockito-integration/src/test/kotlin/com/zigma/service/NLayerServiceImplTest.kt | dickensas | 215,822,427 | false | null | package com.zigma.service
import com.zigma.dao.NLayerDAOImplTest
import com.zigma.dao.impl.NLayerDAOImpl
import com.zigma.service.impl.NLayerServiceImpl
import com.zigma.vo.EmployeeVO
import org.springframework.test.util.ReflectionTestUtils
import org.mockito.InjectMocks
import org.mockito.MockitoAnnotations
class NLa... | 0 | C | 14 | 62 | 4ff966a8d8e26c70af6e11ffed2219f1843135f3 | 738 | kotlin-gradle-templates | MIT License |
lib/line/src/main/java/de/luckyworks/compose/charts/line/renderer/xaxis/XAxisDrawer.kt | lacky1991 | 462,792,840 | false | {"Kotlin": 105296} | package de.luckyworks.compose.charts.line.renderer.xaxis
import androidx.compose.ui.geometry.Rect
import androidx.compose.ui.graphics.drawscope.DrawScope
interface XAxisDrawer {
fun requiredHeight(drawScope: DrawScope): Float
fun drawAxisLine(
drawScope: DrawScope,
drawableArea: Rect
)
... | 11 | Kotlin | 0 | 1 | a83659d13b3ee4ea36ee876fba433da6efe3b653 | 439 | compose-charts | Apache License 2.0 |
sphinx/application/common/wrappers/wrapper-feed/src/main/java/chat/sphinx/wrapper_feed/FeedAuthor.kt | stakwork | 340,103,148 | false | {"Kotlin": 4002700, "Java": 403469, "JavaScript": 4745, "HTML": 4706, "Shell": 2453} | package chat.sphinx.wrapper_feed
@Suppress("NOTHING_TO_INLINE")
inline fun String.toFeedAuthor(): FeedAuthor? =
try {
FeedAuthor(this)
} catch (e: IllegalArgumentException) {
null
}
@JvmInline
value class FeedAuthor(val value: String) {
init {
require(value.isNotEmpty()) {
... | 99 | Kotlin | 2 | 18 | 01d4be42df107d5e4fa8d2411f5390aeea60ea74 | 374 | sphinx-kotlin | MIT License |
engine/src/main/java/com/autolua/engine/base/LuaTypeError.kt | lizhizhuanshu | 817,824,738 | false | {"Kotlin": 186351, "C++": 166018, "Lua": 59924, "Java": 54951, "C": 4551, "CMake": 4544, "AIDL": 697} | package com.autolua.engine.base
class LuaTypeError : LuaError {
constructor() : super()
constructor(msg: String?) : super(msg)
} | 0 | Kotlin | 0 | 1 | 4a989db6a88c8142d73b673771d60c0c401b7aca | 135 | autolua2 | MIT License |
src/main/java/com/ecwid/maleorang/method/v3_0/reports/email/EmailReportActivityDetails.kt | lararojasmr | 70,038,605 | true | {"Kotlin": 134005, "Java": 18725} | package com.ecwid.maleorang.method.v3_0.reports.email
import com.ecwid.maleorang.MailchimpObject
import com.ecwid.maleorang.annotation.Field
import java.util.*
/**
* Created by: <NAME> <<EMAIL>>
*/
class EmailReportActivityDetails : MailchimpObject() {
@JvmField
@Field
var action: TypeEmailActivity? = ... | 0 | Kotlin | 0 | 0 | 5b22bdc5fb1efa9ead2c45f9824577da1fb71aeb | 756 | maleorang | Apache License 2.0 |
src/test/kotlin/passwordStore/widget/TableKtTest.kt | sciack | 669,479,977 | false | null | package passwordStore.widget
import androidx.compose.material.Text
import androidx.compose.runtime.Composable
import androidx.compose.ui.test.junit4.createComposeRule
import androidx.compose.ui.test.onNodeWithText
import kotlinx.coroutines.test.runTest
import org.junit.Rule
import passwordStore.DiInjection
import kotl... | 1 | Kotlin | 0 | 0 | 02c2e4bc5555c50998b3ea07c0e34ae2262ebce7 | 1,305 | kpassword-store | The Unlicense |
app/src/main/java/com/cs/schoolcontentmanager/di/AppModule.kt | CarlosMacaneta | 474,748,667 | false | {"Kotlin": 111395} | package com.cs.schoolcontentmanager.di
import android.app.Application
import android.content.Context
import androidx.room.Room
import com.cs.schoolcontentmanager.data.datasource.FileDataSource
import com.cs.schoolcontentmanager.data.datasource.FileDatabase
import com.cs.schoolcontentmanager.data.repository.FileReposit... | 2 | Kotlin | 0 | 2 | a2bd321ff85b5a30aef2b163930386526b954593 | 3,253 | school-content-manager | Apache License 2.0 |
src/main/kotlin/dev/cchilds/controllers/InventoryController.kt | willisjtc | 210,243,743 | true | {"Kotlin": 40611, "JavaScript": 6779, "HTML": 1717, "PLpgSQL": 976, "CSS": 858} | package dev.cchilds.controllers
import dev.cchilds.annotations.Body
import dev.cchilds.json.jObj
import dev.cchilds.repositories.InventoryRepo
import io.vertx.core.json.JsonObject
import io.vertx.core.shareddata.impl.ClusterSerializable
class InventoryController(val inventoryRepo: InventoryRepo) : BaseController() {
... | 0 | null | 0 | 0 | 7ef6826d375aeb12fffc638c192a96563cb47608 | 721 | kotlin-vertx-template | MIT License |
app/src/main/java/io/github/alexeychurchill/stickynotes/core/datetime/DateTimeFormatter.kt | alexeychurchill | 77,340,824 | false | null | package io.github.alexeychurchill.stickynotes.core.datetime
interface DateTimeFormatter {
fun format(timeMs: Long): String
}
| 10 | Kotlin | 0 | 0 | 303b80512e93ca9e90113e9ec9eec7b75235cbcc | 130 | sticky-notes-client | Apache License 2.0 |
app/src/main/java/io/github/alexeychurchill/stickynotes/core/datetime/DateTimeFormatter.kt | alexeychurchill | 77,340,824 | false | null | package io.github.alexeychurchill.stickynotes.core.datetime
interface DateTimeFormatter {
fun format(timeMs: Long): String
}
| 10 | Kotlin | 0 | 0 | 303b80512e93ca9e90113e9ec9eec7b75235cbcc | 130 | sticky-notes-client | Apache License 2.0 |
src/main/kotlin/org/pkl/intellij/completion/PklAutoPopupHandler.kt | apple | 745,600,847 | false | {"Kotlin": 844683, "Lex": 12354, "HTML": 486} | /**
* Copyright © 2024 Apple Inc. and the Pkl project authors. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
... | 0 | Kotlin | 1 | 5 | 26f3ec19e2514ca79c999d5ce2f39acea150ee1c | 2,472 | pkl-intellij | Apache License 2.0 |
app/src/main/java/com/cindaku/holanear/db/entity/ChatMessageWithSender.kt | metacdq | 567,627,709 | false | {"Kotlin": 356041} | package com.cindaku.holanear.db.entity
import androidx.room.Embedded
import androidx.room.Relation
data class ChatMessageWithSender(
@Embedded var message: ChatMessage,
@Relation(
parentColumn = "contact_id",
entityColumn = "contact_id"
)
var sender: Con... | 0 | Kotlin | 1 | 0 | 94e3e0e88f637a8dc484fa236f0ccdfecf0b7447 | 327 | holanear | MIT License |
clef-workflow-starter/clef-workflow-starter-spring-boot/src/main/java/io/arkitik/clef/workflow/starter/spring/boot/function/SpringActionBeanStore.kt | arkitik | 443,436,455 | false | {"Kotlin": 433170, "Shell": 268, "Dockerfile": 244} | package io.arkitik.clef.workflow.starter.spring.boot.function
import io.arkitik.clef.workflow.api.function.action.ActionBean
import io.arkitik.clef.workflow.api.function.action.bean.store.ActionBeanStore
import org.springframework.beans.factory.ListableBeanFactory
import org.springframework.beans.factory.getBeansOfTyp... | 0 | Kotlin | 0 | 0 | 785e1b4ee583b6a6e3ea01e656eecd8365f171ef | 831 | clef-workflow | Apache License 2.0 |
src/main/kotlin/com/example/demo/spring/webflux/ConfigureWebFlux.kt | tanglisha | 202,626,425 | false | null | package com.example.demo.spring.webflux
import org.springframework.context.annotation.Configuration
import org.springframework.web.reactive.config.EnableWebFlux
import org.springframework.web.reactive.config.WebFluxConfigurer
@Configuration
@EnableWebFlux
class ConfigureWebFlux: WebFluxConfigurer | 0 | Kotlin | 0 | 0 | 0e220cb469a5a7376c491cf117c6083147bf96da | 299 | demo.spring.kotlin.webflux | Apache License 2.0 |
src/main/kotlin/com/example/demo/spring/webflux/ConfigureWebFlux.kt | tanglisha | 202,626,425 | false | null | package com.example.demo.spring.webflux
import org.springframework.context.annotation.Configuration
import org.springframework.web.reactive.config.EnableWebFlux
import org.springframework.web.reactive.config.WebFluxConfigurer
@Configuration
@EnableWebFlux
class ConfigureWebFlux: WebFluxConfigurer | 0 | Kotlin | 0 | 0 | 0e220cb469a5a7376c491cf117c6083147bf96da | 299 | demo.spring.kotlin.webflux | Apache License 2.0 |
app/src/main/java/io/github/ellamosi/mchelper/PowerController.kt | ellamosi | 128,687,411 | false | {"Kotlin": 14628} | package io.github.ellamosi.mchelper
class PowerController(private var mcDeviceState: MCDeviceState) {
companion object {
private const val TAG = "PowerController"
private const val POWER_ON = "on"
private const val MIN_POWER_CYCLE_DELAY = 10 * 1000
}
private var lastShutdown: Long?... | 0 | Kotlin | 1 | 2 | 1a1290a39ea57b7570374ac66e6fe8e5f671670d | 800 | MCHelper | MIT License |
app/src/test/java/com/stevesoltys/seedvault/plugins/saf/DocumentFileTest.kt | ggehlot | 369,053,291 | true | {"Kotlin": 655523, "Java": 11465, "Shell": 393} | package com.stevesoltys.seedvault.plugins.saf
import android.content.Context
import android.net.Uri
import android.provider.DocumentsContract
import androidx.documentfile.provider.DocumentFile
import androidx.test.ext.junit.runners.AndroidJUnit4
import com.stevesoltys.seedvault.TestApp
import io.mockk.mockk
import org... | 0 | null | 0 | 0 | d53f0fcde2202b79f83d7b77817e1face6c98e13 | 1,554 | seedvault | Apache License 2.0 |
app/src/main/java/com/zeph7/choreapplication/data/Chore.kt | zeph7 | 169,548,198 | false | null | package com.zeph7.choreapplication.data
import java.text.DateFormat
import java.util.*
class Chore() {
var choreName: String? = null
var assignedBy: String? = null
var assignedTo: String? = null
var timeAssigned: Long? = null
var id: Int? = null
constructor(choreName: String, assignedBy: Stri... | 0 | Kotlin | 3 | 9 | 74fdc77f90e434687937f38b5a858b95593fafa4 | 1,022 | android-kotlin-Chore-app | MIT License |
apps/etterlatte-gyldig-soeknad/src/main/kotlin/no/nav/etterlatte/gyldigsoeknad/pdf/PdfGeneratorKlient.kt | navikt | 417,041,535 | false | {"Kotlin": 7015864, "TypeScript": 1686631, "Handlebars": 25499, "Shell": 12687, "HTML": 1734, "CSS": 598, "PLpgSQL": 556, "Dockerfile": 547} | package no.nav.etterlatte.gyldigsoeknad.pdf
import io.ktor.client.HttpClient
import io.ktor.client.call.body
import io.ktor.client.request.header
import io.ktor.client.request.post
import io.ktor.client.request.setBody
import io.ktor.http.ContentType
import io.ktor.http.content.TextContent
import io.ktor.http.contentT... | 12 | Kotlin | 0 | 6 | 4e3d0f08f81a7a7fb22af867160078c90c3337fd | 1,358 | pensjon-etterlatte-saksbehandling | MIT License |
app/src/main/java/team/studentlab/projects/ui/parts/NavigationBars.kt | Students-Lab | 854,678,762 | false | {"Kotlin": 17837} | package team.studentlab.projects.ui.parts
import androidx.compose.foundation.Image
import androidx.compose.foundation.background
import androidx.compose.foundation.border
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Box
imp... | 0 | Kotlin | 0 | 0 | ab8b867175a736e1c5a34d61341edcde24db0383 | 4,744 | TechCommunity | MIT License |
src/main/kotlin/app/xqaure/schedule/global/error/exception/ExceptionProperty.kt | team-xquare | 443,502,429 | false | {"Kotlin": 37094, "Dockerfile": 420, "Shell": 165} | package app.xqaure.schedule.global.error.exception
import app.xqaure.schedule.global.error.ErrorCode
interface ExceptionProperty {
val errorCode: ErrorCode
}
| 0 | Kotlin | 0 | 3 | 856175a99c6a255c3a30798cda2a621a6cec5915 | 164 | v1-service-schedule | MIT License |
app/src/main/java/com/xtremedevx/gmail/ui/theme/Color.kt | silori-dev | 528,319,260 | false | {"Kotlin": 41452} | package com.xtremedevx.gmail.ui.theme
import androidx.compose.ui.graphics.Color
val Teal200 = Color(0xFF03DAC5)
val LightBlue = Color(0xFFF0F8FF)
val SkyBlue = Color(0xFF89CFF0)
val DarkBlue = Color(0xFF2A52BE) | 0 | Kotlin | 2 | 6 | 754f5c80b5eec728cdf5ca1816e86bf4e1a1ffad | 213 | Gmail-Compose | MIT License |
common/src/main/java/ru/aasmc/petfinder/common/data/api/model/mappers/ApiPaginationMapper.kt | aasmc | 407,974,629 | false | {"Kotlin": 171701} | package ru.aasmc.petfinder.common.data.api.model.mappers
import ru.aasmc.petfinder.common.data.api.model.ApiPagination
import ru.aasmc.petfinder.common.data.api.model.mappers.ApiMapper
import ru.aasmc.petfinder.common.domain.model.pagination.Pagination
import javax.inject.Inject
class ApiPaginationMapper @Inject cons... | 0 | Kotlin | 0 | 0 | 00f5122bfb476f3b6037fd4f2a6f696f0d2461d3 | 573 | PetFinder | The Unlicense |
libraries/data/src/main/java/com/data/keyvaluedatasource/AppDataStore.kt | rahul-lohra | 526,939,055 | false | {"Kotlin": 134844} | package com.data.keyvaluedatasource
import android.content.Context
import androidx.datastore.core.DataStore
import androidx.datastore.preferences.core.*
import androidx.datastore.preferences.preferencesDataStore
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.map
open class AppDataStore constructor... | 0 | Kotlin | 0 | 0 | de076b0546f1ab3b838ecf79cfd20537206cf40b | 1,150 | Wallpaper-App | Apache License 2.0 |
app/src/main/java/com/randos/doctorsapp/di/AndroidComponentModule.kt | vsnappy1 | 861,083,705 | false | {"Kotlin": 168318} | package com.randos.doctorsapp.di
import android.app.Application
import android.app.DownloadManager
import android.content.Context
import android.hardware.SensorManager
import android.location.LocationManager
import android.os.Looper
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger... | 0 | Kotlin | 0 | 0 | b5526df15bf137603bfa297d4e2d2224e48f2e11 | 1,083 | Doctors-App | Apache License 2.0 |
app/data/src/main/java/com/nab/data/exceptionParser/DailyWeatherForecastErrorParser.kt | MinhPD92 | 367,825,601 | false | null | package com.nab.data.exceptionParser
import android.accounts.NetworkErrorException
import com.nab.domain.DailyWeatherForecastResult
import com.nab.data.constants.NO_DATA_FOUND_ERROR_CODE
import retrofit2.HttpException
import java.io.IOException
import java.net.UnknownHostException
fun <T : Any> Throwable.parseExcepti... | 0 | Kotlin | 0 | 0 | a7d26d65f520e959d4dfda9f5391d57c7bdcf665 | 901 | Weather-Forecast | MIT License |
kafkistry-service-logic/src/main/kotlin/com/infobip/kafkistry/service/topic/TopicExternalInspector.kt | infobip | 456,885,171 | false | {"Kotlin": 2628950, "FreeMarker": 812501, "JavaScript": 297269, "CSS": 7204} | package com.infobip.kafkistry.service.topic
import com.infobip.kafkistry.service.NamedTypeCauseDescription
/**
* Allows for custom topic inspection to be performed.
* Output of inspection is done via [TopicExternalInspectCallback].
* Multiple (or none) [TopicInspectionResultType] can be added as result of single e... | 1 | Kotlin | 6 | 42 | 62403993a76fdf60b4cae3a87c5be0abe4fb3a88 | 1,103 | kafkistry | Apache License 2.0 |
box/src/main/kotlin/com/mrt/box/core/BoxPackage.kt | myrealtrip | 237,138,426 | false | null | package com.mrt.box.core
/**
* Created by jaehochoe on 2020-01-29.
*/
interface BoxPackage : BoxEvent, BoxSideEffect | 1 | Kotlin | 3 | 40 | 516c142a4234a8b9b5b468b23bb9cbfd65eaf8d6 | 119 | box | The Unlicense |
src/test/kotlin/no/nav/syfo/veileder/VeilederApiTest.kt | navikt | 650,618,614 | false | {"Kotlin": 146755, "Dockerfile": 132} | package no.nav.syfo.veileder
import io.kotest.assertions.ktor.client.shouldHaveStatus
import io.kotest.core.spec.style.DescribeSpec
import io.ktor.client.request.bearerAuth
import io.ktor.client.request.get
import io.ktor.client.request.header
import io.ktor.http.HttpStatusCode
import io.ktor.server.testing.testApplic... | 9 | Kotlin | 0 | 0 | 812112047ac21946c441d384db4cc7b86658184e | 1,726 | lps-oppfolgingsplan-mottak | MIT License |
eudi-wallet-oidc-android/src/main/java/com/ewc/eudi_wallet_oidc_android/services/did/DIDService.kt | EWC-consortium | 749,764,479 | false | {"Kotlin": 100658} | package com.ewc.eudi_wallet_oidc_android.services.did
import com.mediaparkpk.base58android.Base58
import com.nimbusds.jose.jwk.Curve
import com.nimbusds.jose.jwk.ECKey
import com.nimbusds.jose.jwk.OctetKeyPair
import com.nimbusds.jose.jwk.gen.OctetKeyPairGenerator
import com.nimbusds.jose.util.Base64URL
import java.ni... | 0 | Kotlin | 1 | 0 | fa35bea79a369e1da448d3f749d8a356fd3f20d5 | 5,617 | eudi-wallet-oid4vc-android | Apache License 2.0 |
playground/app/src/main/kotlin/io/github/composegears/valkyrie/playground/icons/lazy/colored/Videocam.kt | ComposeGears | 778,162,113 | false | null | package io.github.composegears.valkyrie.playground.icons.lazy.colored
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.vector.ImageVector
import androidx.compose.ui.graphics.vector.path
import androidx.compose.ui.unit.dp
import io.github.compo... | 27 | null | 6 | 321 | f0647081b15b907ad92b38c33eb62179ffd0f969 | 1,495 | Valkyrie | Apache License 2.0 |
src/main/kotlin/core/handlers/ModuleHandler.kt | 0x5Penis | 789,484,646 | false | {"Kotlin": 26817} | package git.overlord.core.handlers
import git.overlord.core.defaults.DefaultModule
import git.overlord.core.modules.*
import javax.swing.JOptionPane
class ModuleHandler {
companion object {
var moduleList: MutableList<DefaultModule> = mutableListOf()
init {
initDefault()
o... | 0 | Kotlin | 0 | 2 | 1b50958e1f2200f00a17e04c5cc7fa6ad8bb76a9 | 2,646 | BugBountyDorker | MIT License |
commands/src/main/kotlin/tech/carcadex/kotlinbukkitkit/commands/annotations/TabComplete.kt | CarcadeX | 681,093,300 | false | null | package tech.carcadex.kotlinbukkitkit.commands.annotations
@Retention(AnnotationRetention.RUNTIME)
annotation class TabComplete(val complete: Array<String>)
| 0 | Kotlin | 0 | 0 | 51ae06d7cdf27e37473e2ab208110db8c5d57004 | 158 | KotlinBukkitKit | MIT License |
02/kotlinclasses/app/src/main/java/com/lfg/kotlinclasses/entities/Contact.kt | leonelgomez1990 | 402,218,277 | false | null | package com.lfg.kotlinclasses.entities
class Contact (
var email : String,
var pass : String
){
}
| 0 | Kotlin | 0 | 0 | ce39f62befef83d53a3809411dbf60c2dcd410cc | 115 | kotlin1 | MIT License |
app/src/main/java/com/ralphmarondev/pixly/home/components/HomeContent.kt | ralphmarondev | 846,034,273 | false | {"Kotlin": 14524} | package com.ralphmarondev.pixly.home.components
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.material3.Scaffold
import androidx.compose.runtime.Composable
import androidx.compose.ui.Mod... | 0 | Kotlin | 0 | 0 | cc61d3d9dd70e08ad1023893aee217705a9b88ff | 825 | pixly | MIT License |
fontawesome/src/de/msrd0/fontawesome/icons/FA_STROOPWAFEL.kt | msrd0 | 363,665,023 | false | null | /* @generated
*
* This file is part of the FontAwesome Kotlin library.
* https://github.com/msrd0/fontawesome-kt
*
* This library is not affiliated with FontAwesome.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may... | 0 | Kotlin | 0 | 0 | 2fc4755051325e730e9d012c9dfe94f5ea800fdd | 3,609 | fontawesome-kt | Apache License 2.0 |
src/day05/Day05.kt | seastco | 574,758,881 | false | {"Kotlin": 72220} | package day05
import readText
import java.util.*
fun main() {
fun getCrateStacks(input: List<String>): MutableList<Stack<Char>> {
var crates = input[0].split("\n")
val numStacks = crates.last().last()
val stacks = MutableList<Stack<Char>>(numStacks.digitToInt()) { Stack() }
crates ... | 0 | Kotlin | 0 | 0 | 2d8f796089cd53afc6b575d4b4279e70d99875f5 | 2,731 | aoc2022 | Apache License 2.0 |
src/main/kotlin/io/github/gaming32/mckt/blocks/DoorBlockHandler.kt | mckt-Minecraft | 532,076,162 | false | null | package io.github.gaming32.mckt.blocks
import io.github.gaming32.mckt.BLOCK_PROPERTIES
import io.github.gaming32.mckt.GlobalPalette.DEFAULT_BLOCKSTATES
import io.github.gaming32.mckt.PlayClient
import io.github.gaming32.mckt.items.BlockItemHandler
import io.github.gaming32.mckt.objects.*
import io.github.gaming32.mckt... | 0 | Kotlin | 0 | 2 | 98e88af4f54a12faeea2543c4bbdc950dd744092 | 6,193 | mckt | MIT License |
app/src/main/java/com/egbuna/cocktailapp/domain/usecase/DeleteLocalCocktail.kt | egbuna | 427,371,964 | false | {"Kotlin": 48093} | package com.egbuna.cocktailapp.domain.usecase
import com.egbuna.cocktailapp.domain.model.Cocktail
import com.egbuna.cocktailapp.domain.repository.CocktailRepository
import javax.inject.Inject
class DeleteLocalCocktail @Inject constructor(
private val cocktailRepository: CocktailRepository
) {
suspend operato... | 0 | Kotlin | 0 | 6 | 062f21004667a3dcadaf19c9576301952debc010 | 414 | Cocktail-App | MIT License |
feature-dapp-impl/src/main/java/io/novafoundation/nova/feature_dapp_impl/presentation/authorizedDApps/di/AuthorizedDAppsModule.kt | novasamatech | 415,834,480 | false | {"Kotlin": 7667438, "Java": 14723, "JavaScript": 425} | package io.novafoundation.nova.feature_dapp_impl.presentation.authorizedDApps.di
import androidx.fragment.app.Fragment
import androidx.lifecycle.ViewModel
import androidx.lifecycle.ViewModelProvider
import dagger.Module
import dagger.Provides
import dagger.multibindings.IntoMap
import io.novafoundation.nova.common.di.... | 13 | Kotlin | 6 | 9 | dea9f1144c1cbba1d876a9bb753f8541da38ebe0 | 2,381 | nova-wallet-android | Apache License 2.0 |
frontend-android/app/src/main/java/de/flyndre/flat/composables/settingScreen/SettingScreen.kt | flyndre | 772,483,060 | false | {"Kotlin": 196392, "Vue": 175284, "TypeScript": 63383, "C#": 53527, "Dockerfile": 1533, "HTML": 1249, "CSS": 669, "JavaScript": 361} | package de.flyndre.flat.composables.settingScreen
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.rememberScrollState
import androidx.compose.foundation.verticalScroll
import androidx.compose.material.icons.Icons
import androidx.comp... | 6 | Kotlin | 0 | 1 | 6e38a2e39bdee1376a7e9adb8d9098730ad85914 | 3,116 | Flat | The Unlicense |
src/main/kotlin/com/github/locxter/bkndmvrgnzr/backend/movie/api/MovieController.kt | locxter | 625,164,400 | false | null | package com.github.locxter.bkndmvrgnzr.backend.movie.api
import com.github.locxter.bkndmvrgnzr.backend.contributor.db.ContributorId
import com.github.locxter.bkndmvrgnzr.backend.contributor.db.ContributorRepository
import com.github.locxter.bkndmvrgnzr.backend.genre.db.Genre
import com.github.locxter.bkndmvrgnzr.backe... | 0 | Kotlin | 0 | 1 | eb3969c9be51196670788c43683b739aa0ce5083 | 18,734 | bkndmvrgnzr-backend | MIT License |
core/android/src/main/kotlin/com/reown/android/internal/utils/Expiration.kt | reown-com | 851,466,242 | false | {"Kotlin": 2055654, "Java": 4294, "Shell": 1676} | @file:JvmName("Expiration")
package com.reown.android.internal.utils
val PROPOSAL_EXPIRY: Long get() = currentTimeInSeconds + fiveMinutesInSeconds
val ACTIVE_SESSION: Long get() = currentTimeInSeconds + weekInSeconds | 6 | Kotlin | 1 | 8 | 893084b3df91b47daa77f8f964e37f84a02843b1 | 218 | reown-kotlin | Apache License 2.0 |
telegram-bot/src/main/kotlin/eu/vendeli/tgbot/api/chat/ChatAction.kt | vendelieu | 496,567,172 | false | {"Kotlin": 460733, "CSS": 356} | @file:Suppress("MatchingDeclarationName")
package eu.vendeli.tgbot.api.chat
import eu.vendeli.tgbot.interfaces.Action
import eu.vendeli.tgbot.interfaces.ActionState
import eu.vendeli.tgbot.interfaces.TgAction
import eu.vendeli.tgbot.types.chat.ChatAction
import eu.vendeli.tgbot.types.internal.TgMethod
import eu.vende... | 1 | Kotlin | 2 | 98 | f466e59c663d7319d1bcb9fd526e52c666c5927f | 1,011 | telegram-bot | Apache License 2.0 |
app/src/main/kotlin/com/mounacheikhna/nearby/ui/venues/VenuesScreen.kt | chemouna | 47,512,499 | false | null | package com.mounacheikhna.nearby.ui.venues
import com.mounacheikhna.nearby.ui.base.PresenterScreen
import rx.Observable
/**
* Venues screen contract.
*/
interface VenuesScreen : PresenterScreen {
fun onNewLocationUpdate()
fun cancelRefreshForLocation(): Observable<Void>
} | 3 | Kotlin | 6 | 40 | 08ffa6a851bf07866b34de2961fa9d1fbc9f9413 | 285 | Nearby | Apache License 2.0 |
src/test/kotlin/adventofcode/year2021/Day09SmokeBasinSpec.kt | pfolta | 573,956,675 | false | {"Kotlin": 186054, "Dockerfile": 227} | package adventofcode.year2021
import adventofcode.PuzzleBaseSpec
class Day09SmokeBasinSpec : PuzzleBaseSpec(15, 1134)
| 0 | Kotlin | 0 | 0 | 20cccd8cbf44a1e3b798636b9c9a9fd5df2ecf9c | 120 | AdventOfCode | MIT License |
app/src/test/java/com/holiday/domain/repository/FakeLongWeekendRepository.kt | kelvinkioko | 595,959,798 | false | null | package com.holiday.domain.repository
import com.holiday.domain.model.LongWeekendModel
import com.holiday.util.Response
import com.holiday.util.longWeekendModel
class FakeLongWeekendRepository : LongWeekendRepository {
var returnError = false
override suspend fun fetchAllLongWeekends(
year: Int,
... | 0 | Kotlin | 0 | 0 | 183d6e084e1803f8ea818697885fa0c51027aa2d | 592 | Public-Holiday | Apache License 2.0 |
src/test/kotlin/org/sheinbergon/dremio/udf/gis/STOverlapsTests.kt | sheinbergon | 479,823,237 | false | null | package org.sheinbergon.dremio.udf.gis
import org.apache.arrow.vector.holders.NullableBitHolder
import org.apache.arrow.vector.holders.NullableVarBinaryHolder
import org.sheinbergon.dremio.udf.gis.spec.GeometryRelationFunSpec
internal class STOverlapsTests : GeometryRelationFunSpec.NullableBitOutput<STOverlaps>() {
... | 0 | null | 0 | 23 | 91dc5268662b2925b2adca05061eb05bd9467ded | 2,522 | dremio-udf-gis | Apache License 2.0 |
src/main/kotlin/ua/rainbow/exam/concurrency/atomic/Atomics.kt | vdvorak83 | 125,437,077 | false | {"Gradle": 2, "Shell": 1, "Markdown": 1, "Batchfile": 1, "Text": 3, "Ignore List": 1, "Kotlin": 10, "Java": 20, "INI": 3, "Java Properties": 1} | package ua.rainbow.exam.concurrency.atomic
import java.util.concurrent.ExecutorService
import java.util.concurrent.Executors
import java.util.concurrent.atomic.AtomicLong
class Atomics {
private var incrementer: AtomicLong = AtomicLong(0);
fun run() {
var executorService: ExecutorService? = null;
... | 1 | null | 1 | 1 | 42d070193025821a604ffd913cdaa656126213c4 | 670 | 1Z0-809 | MIT License |
vector/src/main/java/im/vector/app/features/spaces/SpaceListBottomSheet.kt | tchapgouv | 340,329,238 | false | null | /*
* Copyright (c) 2022 New Vector Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | 4 | Kotlin | 4 | 9 | 9bd50a49e0a5a2a17195507ef3fe96594ddd739e | 2,038 | tchap-android | Apache License 2.0 |
app/src/main/java/iammert/com/androidarchitecture/data/Resource.kt | omjoonkim | 97,355,249 | true | {"Kotlin": 24896, "Java": 1621} | package iammert.com.androidarchitecture.data
import iammert.com.androidarchitecture.data.Status.ERROR
import iammert.com.androidarchitecture.data.Status.LOADING
import iammert.com.androidarchitecture.data.Status.SUCCESS
/**
* A generic class that holds a value with its loading status.
* @param <T>
</T> */
class Res... | 1 | Kotlin | 1 | 3 | 24a92887b82874a296eb1e25d538a923824fcea1 | 777 | AndroidArchitecture | Apache License 2.0 |
android/app/src/main/java/com/stasbar/app/android/features/quotes/QuotesAdapter.kt | stanbar | 162,640,520 | false | null | package com.stasbar.app.android.features.quotes
import android.graphics.Typeface
import android.text.SpannableString
import android.text.style.StyleSpan
import android.view.View
import android.widget.TextView
import com.stasbar.app.android.R
import com.stasbar.app.android.core.platform.ItemsAdapter
import com.stasbar.... | 8 | null | 1 | 1 | 3869ac8147d854b9fde6442398d89cfc51f5b401 | 808 | stasbar-app | Apache License 2.0 |
fgithub/src/main/kotlin/org/flaxo/github/githubExceptions.kt | tcibinan | 112,068,459 | false | null | package org.flaxo.github
/**
* Base github exception.
*/
class GithubException(message: String, cause: Throwable? = null)
: Throwable(message, cause) | 30 | Kotlin | 6 | 9 | a745d82604737699699210267ad5d2aa552f92d8 | 156 | flaxo | Apache License 2.0 |
analysis/low-level-api-fir/testData/lazyResolve/noRuntime/arrayOfCall.kt | JetBrains | 3,432,266 | false | {"Kotlin": 79571273, "Java": 6776465, "Swift": 4063829, "C": 2609744, "C++": 1957654, "Objective-C++": 175279, "JavaScript": 130754, "Python": 59855, "Shell": 34920, "Objective-C": 21463, "Lex": 21452, "Batchfile": 11382, "CSS": 11368, "Ruby": 10470, "Dockerfile": 9907, "Groovy": 7092, "EJS": 5241, "CMake": 4473, "HTML... | // ISSUE: KTIJ-26465
// TODO: arrayOf() should be resolved because it's from builtins that are always presented
<caret>annotation class Ann(vararg val a: String = ["/"]) | 181 | Kotlin | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 170 | kotlin | Apache License 2.0 |
fotoapparat-adapters/rxjava2/src/main/java/io/fotoapparat/result/adapter/rxjava2/SingleAdapter.kt | RedApparat | 85,997,051 | false | {"Gradle": 7, "Java Properties": 1, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "YAML": 1, "Markdown": 5, "Proguard": 2, "XML": 18, "Java": 9, "Kotlin": 163, "INI": 1} | package io.fotoapparat.result.adapter.rxjava2
import android.annotation.SuppressLint
import io.fotoapparat.result.PendingResult
import io.reactivex.Single
import java.util.concurrent.Future
/**
* Adapter for [Single].
*/
object SingleAdapter {
/**
* @return Adapter which adapts result to [Single].
*/... | 91 | Kotlin | 418 | 3,813 | 9454f3e4d1d222799049b00f3d84b274c3e02ee6 | 684 | Fotoapparat | Apache License 2.0 |
liveVideoBroadcasterSDK/src/main/kotlin/io/antmedia/android/broadcaster/network/RTMPStreamer.kt | yoshi991 | 241,602,208 | false | {"Gradle": 4, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "Proguard": 2, "Java": 35, "XML": 15, "Kotlin": 3} | package io.antmedia.android.broadcaster.network
import android.util.Log
import io.antmedia.android.BuildConfig
import net.butterflytv.rtmp_client.RTMPMuxer
class RTMPStreamer : MediaMuxer {
private val TAG = RTMPStreamer::class.java.name
private val muxer = RTMPMuxer()
private var frameCount = 0
pr... | 1 | null | 1 | 1 | bae7d8b16ed01924dbc45dec8e293916e643ccf4 | 8,608 | LiveVideoBroadcaster | Apache License 2.0 |
DroidMedia/medialibs/playerLib/src/main/java/com/me/harris/playerLibrary/video/player/subordinates/MediaCodecThreadManner.kt | Haldir65 | 55,217,175 | false | {"Markdown": 61, "Dockerfile": 3, "Text": 47, "Ignore List": 34, "YAML": 32, "JSON": 3, "Gradle Kotlin DSL": 17, "Java Properties": 6, "Shell": 89, "Batchfile": 20, "EditorConfig": 1, "Makefile": 41, "INI": 26, "Gradle": 19, "Proguard": 27, "Kotlin": 348, "XML": 264, "TOML": 1, "Java": 594, "GLSL": 110, "Motorola 68K A... | package com.me.harris.playerLibrary.video.player.subordinates
import com.me.harris.playerLibrary.video.player.decode.AudioDecodeThread
import com.me.harris.playerLibrary.video.player.video.VideoDecodeThread
import com.me.harris.playerLibrary.video.player.MediaCodecPlayerContext
/**
* 管理线程吧
*/
class MediaCodecThread... | 1 | null | 1 | 1 | f117ab6ef4a6c8874030cb5cd78aa72259158cf9 | 1,758 | Camera2Training | MIT License |
Corona-Warn-App/src/main/java/de/rki/coronawarnapp/tracing/ui/details/items/behavior/BehaviorItem.kt | corona-warn-app | 268,027,139 | false | null | package de.rki.coronawarnapp.tracing.ui.details.items.behavior
import de.rki.coronawarnapp.tracing.ui.details.items.DetailsItem
interface BehaviorItem : DetailsItem {
override val stableId: Long
get() = BehaviorItem::class.java.name.hashCode().toLong()
}
| 6 | Kotlin | 514 | 2,495 | d3833a212bd4c84e38a1fad23b282836d70ab8d5 | 269 | cwa-app-android | Apache License 2.0 |
incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/App.kt | dsp-testing | 371,001,549 | false | null | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License")... | 13 | null | 1 | 1 | 6272860133001030c6a7442a394b84dcd782d816 | 1,521 | isis | Apache License 2.0 |
parser/src/main/kotlin/org/actorlang/ast/Node.kt | 422404 | 371,440,848 | false | {"Java": 174885, "Kotlin": 156913, "ANTLR": 3771, "Shell": 991} | package org.actorlang.ast
import org.actorlang.parser.Position
abstract class Node(
val startPosition: Position,
val endPosition: Position
)
| 23 | Java | 1 | 3 | bccf9c554e2dc2ad9c946cf8f38cacdd7002b555 | 151 | ActorLang | MIT License |
gemini-core/src/test/kotlin/com/haroncode/gemini/common/TestEventProducer.kt | Hazer | 250,288,460 | true | {"Kotlin": 46858, "Groovy": 7411} | package com.haroncode.gemini.common
import com.haroncode.gemini.core.elements.EventProducer
class TestEventProducer : EventProducer<TestState, TestEffect, TestViewEvent> {
override fun invoke(state: TestState, effect: TestEffect): TestViewEvent? {
return if (effect is TestEffect.EffectForEvent) {
... | 0 | null | 0 | 0 | 59ae07daa4ceb2d43c2a87ba1db662dfc4b12408 | 403 | Gemini | MIT License |
openai/api/src/main/kotlin/io/bluetape4k/openai/api/models/moderation/ModerationCategories.kt | debop | 625,161,599 | false | {"Kotlin": 7504333, "HTML": 502995, "Java": 2273, "JavaScript": 1351, "Shell": 1301, "CSS": 444, "Dockerfile": 121, "Mustache": 82} | package io.bluetape4k.openai.api.models.moderation
import com.fasterxml.jackson.annotation.JsonProperty
import java.io.Serializable
/**
* An object containing the flags for each moderation category
*
* 참고: [Moderations Create](https://beta.openai.com/docs/api-reference/moderations/create)
*/
data class Moderation... | 0 | Kotlin | 0 | 1 | ce3da5b6bddadd29271303840d334b71db7766d2 | 1,675 | bluetape4k | MIT License |
app/src/main/java/com/my_1st/fincalc/ui/dep/DepScheduleFragment.kt | Tigran-Khachikyan | 234,118,867 | false | null | package com.my_1st.fincalc.ui.dep
import android.annotation.SuppressLint
import android.content.Context
import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.EditText
import android.widget.Spinner
i... | 0 | Kotlin | 0 | 0 | 68480517fc7465d3b4052664e98fba0192a832c5 | 5,762 | FinCalc | Apache License 2.0 |
app/src/main/java/com/aslapps/quickcheetsheet/adapters/CheatAdapter.kt | adityad1729 | 129,621,768 | false | null | package com.aslapps.quickcheetsheet.adapters
import android.support.v7.widget.RecyclerView
import android.support.v7.widget.RecyclerView.ViewHolder
import android.view.LayoutInflater
import android.view.LayoutInflater.*
import android.view.ViewGroup
import com.aslapps.quickcheetsheet.R
import com.aslapps.quickcheetshe... | 4 | Kotlin | 0 | 0 | 06af6418a7d4828f7d96bda0930138f061a7b562 | 1,117 | quickcheatsheet | MIT License |
androidx/app/src/main/java/com/dxn/agventure/features/consumer/ui/home/ConsumerHomeViewModel.kt | pallavi-sahu | 607,486,054 | false | null | package com.dxn.agventure.features.consumer.ui.home
import android.util.Log
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.dxn.agventure.features.consumer.domain.Repository
import com.dxn.data.models.CatalogueProduct
import dagger.hilt.android.lifecycle.HiltViewModel
import kot... | 0 | Kotlin | 0 | 0 | 8b4c6c7a53752bf9017a46dd566cf23bfcd36148 | 1,591 | Agventure | MIT License |
domain/src/main/java/com/ila/domain/usecase/GetCountriesUseCase.kt | droider91 | 592,275,935 | false | null | package com.ila.domain.usecase
import com.ila.domain.entities.CountriesDomain
import com.ila.domain.repository.CountryRepository
import com.ila.domain.util.Result
/**
* Created by devendra on 17/01/2023
**/
open class GetCountriesUseCase(
private val countrysRepository: CountryRepository
) {
suspend fun exe... | 0 | Kotlin | 0 | 0 | 85e1d668fd7f633cdd73eba97c735993bd0c4386 | 390 | country-language-list | Apache License 2.0 |
app/src/main/java/com/app/marvelapp/data/model/comics/ComicsResults.kt | onurbarman | 372,486,502 | false | null | package com.app.marvelapp.data.model.comics
data class ComicsResults(
val description: String,
val id: Int,
val thumbnail: ComicsThumbnail,
val title: String,
) | 0 | Kotlin | 0 | 0 | c05bdc78663d82c542bca8cc13180ec3d4feee50 | 177 | MarvelApp | Apache License 2.0 |
app/src/androidTest/java/com/amarinag/amgmoviedb/db/FavoriteDaoTest.kt | AMarinaG | 181,779,271 | false | null | package com.amarinag.amgmoviedb.db
import android.arch.core.executor.testing.InstantTaskExecutorRule
import android.arch.persistence.room.Room
import android.support.test.InstrumentationRegistry
import android.support.test.runner.AndroidJUnit4
import com.amarinag.amgmoviedb.model.Favorite
import org.junit.After
import... | 0 | Kotlin | 1 | 1 | 00166b030d5eea3cafa0008aedb764b8143580ec | 1,413 | AMGMovieDB | MIT License |
src/sharedTest/kotlin/us/frollo/frollosdk/model/TestDataReport.kt | frollous | 261,670,220 | false | null | /*
* Copyright 2019 Frollo
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wri... | 5 | Kotlin | 0 | 2 | f77c427387b11a751f5ed4b23db87eeab3c8fdff | 2,890 | frollo-android-sdk | Apache License 2.0 |
common/compose/src/main/kotlin/team/duckie/app/android/common/compose/ui/icon/v2/Clock.kt | duckie-team | 503,869,663 | false | {"Kotlin": 1819917} | package team.duckie.app.android.common.compose.ui.icon.v2
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJo... | 32 | Kotlin | 1 | 8 | 5dbd5b7a42c621931d05a96e66431f67a3a50762 | 3,219 | duckie-android | MIT License |
plugins/kotlin/gradle/code-insight-common/src/org/jetbrains/kotlin/idea/gradleCodeInsightCommon/GradleBuildScriptSupport.kt | ingokegel | 72,937,917 | false | null | // Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package org.jetbrains.kotlin.idea.gradleCodeInsightCommon
import com.intellij.openapi.extensions.ExtensionPointName
import com.intellij.psi.PsiFile
interface GradleBuildScriptSupport {
companio... | 1 | null | 1 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 1,228 | intellij-community | Apache License 2.0 |
lycoris/src/main/java/ru/spektrit/lycoris/viewdocument/PdfViewer.kt | arcanegolem | 691,509,528 | false | {"Kotlin": 57032} | package ru.spektrit.lycoris.viewdocument
import android.graphics.pdf.PdfRenderer
import android.net.Uri
import androidx.annotation.RawRes
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.runtime.Composable
import androidx.compose.runtime.g... | 1 | Kotlin | 1 | 9 | b1d5c02ef3815379e1f2f9f91924beff32ca6205 | 6,759 | Lycoris | Apache License 2.0 |
zeroframe/src/main/java/com/zero/zeroframe/ktx/TextViewKtx.kt | tao3634398 | 781,380,649 | false | {"Kotlin": 38187, "Java": 6049} | package com.zero.zeroframe.ktx
import android.graphics.drawable.Drawable
import android.widget.TextView
/**
* TextView相关扩展方法
* @author zero
* @since 2023/03/16
*/
fun TextView.setDrawableLeft(drawable: Drawable?) {
drawable?:return
setCompoundDrawablesRelativeWithIntrinsicBounds(drawable,null,null,null)
}... | 0 | Kotlin | 0 | 0 | 3661a349a825c1ed69f579ca5274ed8ac66b47a5 | 321 | zeroframe | MIT License |
logging/src/main/kotlin/dtmlibs/logging/LoggerCache.kt | dumptruckman | 101,685,357 | false | {"Java": 349413, "Kotlin": 28164} | /*
* This file is part of dtmlibs.
*
* Copyright (c) 2017 <NAME>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to us... | 1 | null | 1 | 1 | 338be3010ce3947be1e6073d446dec44d592c658 | 1,948 | dtmlibs | MIT License |
app/shared/src/commonMain/kotlin/io/github/tscholze/cmpsample/model/SectionMapper.kt | Gauravprakash | 668,161,668 | false | null | package io.github.tscholze.cmpsample.model
data class SectionMapper(
val title:String,
val subtitle:String,
val image:String,
val cta:String,
val ctaText:String,
val preference:String,
val resCom:String
) | 0 | Kotlin | 0 | 0 | 12def96a895e0d178358110636ea5c241ee18c33 | 233 | KotlinJetComposableUI | MIT License |
SantanderDevWeek-App/app/src/main/java/com/example/santanderdevweek/data/Client.kt | GabrielFraga962 | 406,156,328 | false | {"Kotlin": 4083} | package com.example.santanderdevweek.data
data class Client(
val name: String
) | 0 | Kotlin | 0 | 0 | c3a0f66b6b9cba26134f273eabb6588f4c19636f | 84 | Santander_Dev_Week2021 | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.