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/minhdtm/example/we_note/data/remote/FireStoreHelper.kt | hide-your-code | 501,632,307 | false | null | package com.minhdtm.example.we_note.data.remote
import com.minhdtm.example.we_note.data.model.Note
import com.minhdtm.example.we_note.data.model.User
import kotlinx.coroutines.flow.Flow
interface FireStoreHelper {
fun register(userName: String): Flow<Boolean>
fun getAllUser(): Flow<List<User>>
fun addNo... | 0 | Kotlin | 0 | 0 | 4f0b8a963251fe12d921dfb973cfb4316f485fb5 | 664 | we_note | Apache License 2.0 |
rider/src/main/kotlin/com/jetbrains/rider/plugins/unity/ContentModelUpdater.kt | 20chan | 254,533,394 | true | {"C#": 2979478, "Kotlin": 407975, "ShaderLab": 67905, "Lex": 36697, "GLSL": 7572, "HLSL": 7370, "Java": 5463, "PowerShell": 1036, "Shell": 129} | package com.jetbrains.rider.plugins.unity
import com.intellij.openapi.application.ModalityState
import com.intellij.openapi.progress.ProgressManager
import com.intellij.openapi.project.Project
import com.intellij.openapi.project.ProjectManagerListener
import com.intellij.openapi.vfs.AsyncFileListener
import com.intell... | 0 | null | 0 | 1 | 1e0db52a0144ac83206bf71a79eacffe4307cdba | 6,557 | resharper-unity | Apache License 2.0 |
kmath-ast/src/commonTest/kotlin/space/kscience/kmath/ast/TestCompilerOperations.kt | SciProgCentre | 129,486,382 | false | null | /*
* Copyright 2018-2022 KMath contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package space.kscience.kmath.ast
import space.kscience.kmath.expressions.MstExtendedField
import space.kscience.kmath.expressions.Symbol.Companion.x
imp... | 91 | null | 55 | 645 | 3e8f44166c4a4ed6e99e1676a7200ed044645224 | 2,747 | kmath | Apache License 2.0 |
app/src/main/java/com/example/huaweiproject/assistant/AssistantViewModel.kt | HorizonParadox | 446,429,345 | false | {"Kotlin": 70859, "Java": 26730} | package com.example.huaweiproject.assistant
import android.app.Application
import androidx.lifecycle.AndroidViewModel
import androidx.lifecycle.MutableLiveData
import com.example.huaweiproject.data.Assistant
import com.example.huaweiproject.data.AssistantDao
import kotlinx.coroutines.*
class AssistantViewModel(privat... | 0 | Kotlin | 0 | 0 | 660ab66b5b5e530d8a4641bfe5b7890956e61b27 | 2,193 | VoiceAsistantProject | MIT License |
features/dd-sdk-android-session-replay/src/test/kotlin/com/datadog/android/sessionreplay/internal/recorder/mapper/BaseRadioButtonMapperTest.kt | DataDog | 219,536,756 | false | null | /*
* Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0.
* This product includes software developed at Datadog (https://www.datadoghq.com/).
* Copyright 2016-Present Datadog, Inc.
*/
package com.datadog.android.sessionreplay.internal.recorder.mapper
i... | 61 | null | 57 | 140 | de8989f0056124457b3296a6d6c2d91b70f181aa | 11,610 | dd-sdk-android | Apache License 2.0 |
app/src/main/kotlin/com/quittle/a11yally/view/CheckableCustomCardView.kt | quittle | 135,217,260 | false | null | package com.quittle.a11yally.view
import android.content.Context
import android.util.AttributeSet
import android.widget.Checkable
import androidx.annotation.ColorInt
import androidx.annotation.DrawableRes
import androidx.preference.PreferenceManager
import com.quittle.a11yally.R
import com.quittle.a11yally.base.isNotN... | 48 | Kotlin | 4 | 22 | b277dda83087b12774198ec8372914278088da3a | 5,782 | a11y-ally | Apache License 2.0 |
kapt-example-core/src/main/kotlin/ru/vood/dmgen/intf/IMetaEntity.kt | igorvood | 698,285,919 | false | {"Kotlin": 72032} | package ru.vood.dmgen.intf
import kotlinx.serialization.KSerializer
import ru.vood.dmgen.annotation.FlowEntityType
import kotlin.reflect.KClass
interface IMetaEntity {
val designClass: KClass<*>
val runtimeClass: KClass<*>
val entityName: EntityName
val comment: String
val serializer: KSerializer<... | 0 | Kotlin | 0 | 0 | c989f5c1a22354363cc7ca7ac554ff80a5975bc4 | 415 | kotlin-data-model-generator | MIT License |
app/src/main/java/com/movicom/informativeapplicationcovid19/viewmodel/CountryViewModel.kt | SebastianRV26 | 289,597,953 | false | null | package com.movicom.informativeapplicationcovid19.viewmodel
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import com.movicom.informativeapplicationcovid19.models.Country
import com.movicom.informativeapplicationcovid19.network.repositories.CountryRepository
class CountryViewModel : Vie... | 0 | Kotlin | 0 | 1 | bf3bc1dfc9bdb3cb71a503f81a0cb778240283a2 | 992 | Info-COVID-App | MIT License |
core/src/main/kotlin/com/ferelin/core/adapter/base/BaseRecyclerAdapter.kt | NikitaFerelin | 339,103,168 | false | null | /*
* Copyright 2021 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... | 0 | Kotlin | 3 | 30 | 18670da6124d0328b0d323b675d0bafdb4df45f6 | 3,158 | Android_Stock_Price | Apache License 2.0 |
server/server-app/src/main/kotlin/projektor/auth/AuthConfig.kt | craigatk | 226,096,594 | false | null | package projektor.auth
import io.ktor.config.ApplicationConfig
import io.ktor.util.KtorExperimentalAPI
@KtorExperimentalAPI
data class AuthConfig(val publishToken: String?) {
companion object {
const val PublishToken = "X-PROJEKTOR-TOKEN"
fun createAuthConfig(applicationConfig: ApplicationConfig)... | 18 | null | 9 | 47 | cf3f30efcf5e06dcd22424176f0956d44ce60c78 | 441 | projektor | MIT License |
integration-test-r2dbc/src/mariadb/kotlin/integration/r2dbc/mariadb/R2dbcMariaDbSetting.kt | komapper | 349,909,214 | false | null | package integration.r2dbc.mariadb
import integration.core.MariaDbSetting
import io.r2dbc.spi.ConnectionFactoryOptions
import io.r2dbc.spi.Option
import org.komapper.core.ExecutionOptions
import org.komapper.r2dbc.R2dbcDatabase
import org.testcontainers.containers.MariaDBContainer
import org.testcontainers.containers.M... | 8 | Kotlin | 4 | 97 | 851b313c66645d60f2e86934a5036efbe435396a | 1,384 | komapper | Apache License 2.0 |
app/src/main/java/com/cats_app/cats/CatsActivity.kt | AqeelMirza | 700,673,897 | false | {"Kotlin": 10221} | package com.cats_app.cats
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.Surface
import androidx.compose.ui.Modifier
i... | 0 | Kotlin | 0 | 1 | 01c60c96f766b4831ee53898f0dc2f33e3b0b2bd | 1,019 | Cats-App | MIT License |
plugins/github/src/org/jetbrains/plugins/github/pullrequest/ui/details/model/GHPRDetailsViewModel.kt | allotria | 40,114,891 | true | null | // Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package org.jetbrains.plugins.github.pullrequest.ui.details.model
import kotlinx.coroutines.flow.StateFlow
import org.jetbrains.plugins.github.api.data.pullrequest.GHPullRequestState
import org.jetb... | 0 | null | 0 | 0 | 9b9e3972a437d1a08fc73370fb09b9f45527dd2a | 936 | intellij-community | Apache License 2.0 |
me-api/src/main/kotlin/shop/hyeonme/domain/auth/usecase/LogoutUseCase.kt | TEAM-hyeonme | 776,784,109 | false | {"Kotlin": 120635, "Dockerfile": 204} | package shop.hyeonme.domain.auth.usecase
import shop.hyeonme.common.annotation.UseCase
import shop.hyeonme.domain.auth.service.AuthService
import shop.hyeonme.domain.user.service.UserService
@UseCase
class LogoutUseCase(
private val userService: UserService,
private val authService: AuthService
) {
fun ex... | 0 | Kotlin | 0 | 0 | 646621f5577418523de44ed3a229d19879ee7193 | 521 | ME-server | MIT License |
src/test/kotlin/dilivia/s2/region/S2PolylineUnitTest.kt | Enovea | 409,487,197 | false | {"Kotlin": 3249710} | /*
* Copyright © 2021 Enovea (<EMAIL>)
*
* 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... | 0 | Kotlin | 3 | 17 | eb5139ec5c69556e8dc19c864b052e7e45a48b49 | 20,941 | s2-geometry-kotlin | Apache License 2.0 |
app/src/main/java/com/zaneschepke/wireguardautotunnel/service/notification/NotificationService.kt | zaneschepke | 644,710,160 | false | {"Kotlin": 225248, "HTML": 1349} | package com.zaneschepke.wireguardautotunnel.service.notification
import android.app.Notification
import android.app.NotificationManager
import android.app.PendingIntent
interface NotificationService {
fun createNotification(
channelId: String,
channelName: String,
title: String = "",
... | 6 | Kotlin | 8 | 96 | 79583e0e61b69312a2c317abbea09409107c8d3e | 684 | wgtunnel | MIT License |
app/src/main/java/com/mb/hunters/ui/base/BaseViewHolder.kt | mboukadir | 112,534,034 | false | null | /*
* Copyright 2017-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 in ... | 0 | Kotlin | 1 | 5 | abd083e1fac712ca36cbb38fe874b4664ed1b8b8 | 1,111 | hunters | Apache License 2.0 |
entity-recognition/microsoft-cognitive-services-text-analytics/MicrosoftCognitiveServicesTextAnalyticsEntityRecognition.kt | sekwiatkowski | 137,943,638 | false | null | // For English, set "language" to "en".
data class Document(val id: String, val language: String, val text: String)
data class Entity(
val name : String,
val wikipediaLanguage: String,
val wikipediaId: String,
val wikipediaUrl: String,
val bingId: String)
data class EntityRecognition(val id: Stri... | 0 | Java | 21 | 142 | 02b1984a43ce5caefe6da4fb649dd7989e3ae131 | 990 | awesome-ai-services | Creative Commons Attribution 4.0 International |
straight/src/commonMain/kotlin/me/localx/icons/straight/outline/ScrollOld.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.straight.outline
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Mite... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 3,822 | icons | MIT License |
src/main/kotlin/org/xpathqs/driver/navigation/base/INavigableDelegate.kt | xpathqs | 366,703,320 | false | {"Kotlin": 230690} | package org.xpathqs.driver.navigation.base
interface INavigableDelegate: INavigable {
val nav: INavigable
override fun initNavigation() {
nav.initNavigation()
}
override fun addNavigation(
to: INavigable,
order: Int,
selfState: Int,
state: Int,
globalSta... | 0 | Kotlin | 0 | 2 | 60eccb672195d82f07bb4713c1018c2816cd0c71 | 663 | driver | MIT License |
domain/src/main/java/com/jamieadkins/gwent/domain/latest/GetLatestPatchNotesUseCase.kt | jamieadkins95 | 75,647,202 | false | {"Kotlin": 340777, "Java": 15619} | package com.jamieadkins.gwent.domain.latest
import com.jamieadkins.gwent.domain.LocaleRepository
import com.jamieadkins.gwent.domain.SchedulerProvider
import io.reactivex.Observable
import javax.inject.Inject
class GetLatestPatchNotesUseCase @Inject constructor(
private val localeRepository: LocaleRepository,
... | 4 | Kotlin | 1 | 6 | e3f1e264f8b69ed2903656c95f45611f180283d4 | 690 | Roach | Apache License 2.0 |
educational-core/src/com/jetbrains/edu/learning/statistics/FeedbackSender.kt | JetBrains | 43,696,115 | false | null | package com.jetbrains.edu.learning.statistics
import com.intellij.ide.util.PropertiesComponent
import com.intellij.notification.Notification
import com.intellij.notification.NotificationListener
import com.intellij.notification.NotificationType
import com.intellij.notification.impl.NotificationFullContent
import com.i... | 1 | null | 40 | 99 | cfc24fe13318de446b8adf6e05d1a7c15d9511b5 | 3,374 | educational-plugin | Apache License 2.0 |
IndeterminateRegionPainter/src/main/kotlin/example/App.kt | aterai | 158,348,575 | false | null | package example
import java.awt.*
import java.awt.event.HierarchyEvent
import java.awt.geom.Path2D
import java.awt.geom.Rectangle2D
import java.beans.PropertyChangeEvent
import java.beans.PropertyChangeListener
import javax.swing.*
import javax.swing.plaf.nimbus.AbstractRegionPainter
private var worker: SwingWorker<S... | 0 | null | 6 | 9 | 47a0c684f64c3db2c8b631b2c20c6c7f9205bcab | 9,389 | kotlin-swing-tips | MIT License |
plugin/src/test/kotlin/utils/utils.kt | rendner | 336,657,251 | false | {"Python": 2197537, "Kotlin": 411371, "Dockerfile": 5295} | /*
* Copyright 2021-2023 cms.rendner (<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... | 0 | Python | 1 | 12 | 1a2d095bbebade29604b8b700f2f748460357602 | 846 | py-plugin-dataframe-viewer | Apache License 2.0 |
dsl/src/main/kotlin/io/cloudshiftdev/awscdkdsl/services/b2bi/CfnTransformerDsl.kt | cloudshiftinc | 667,063,030 | false | {"Kotlin": 70198112} | @file:Suppress(
"RedundantVisibilityModifier",
"RedundantUnitReturnType",
"RemoveRedundantQualifierName",
"unused",
"UnusedImport",
"ClassName",
"REDUNDANT_PROJECTION",
"DEPRECATION"
)
package io.cloudshiftdev.awscdkdsl.services.b2bi
import io.cloudshiftdev.awscdkdsl.CfnTagDsl
import i... | 0 | Kotlin | 0 | 3 | 256ad92aebe2bcf9a4160089a02c76809dbbedba | 7,436 | awscdk-dsl-kotlin | Apache License 2.0 |
dsl/src/main/kotlin/io/cloudshiftdev/awscdkdsl/services/b2bi/CfnTransformerDsl.kt | cloudshiftinc | 667,063,030 | false | {"Kotlin": 70198112} | @file:Suppress(
"RedundantVisibilityModifier",
"RedundantUnitReturnType",
"RemoveRedundantQualifierName",
"unused",
"UnusedImport",
"ClassName",
"REDUNDANT_PROJECTION",
"DEPRECATION"
)
package io.cloudshiftdev.awscdkdsl.services.b2bi
import io.cloudshiftdev.awscdkdsl.CfnTagDsl
import i... | 0 | Kotlin | 0 | 3 | 256ad92aebe2bcf9a4160089a02c76809dbbedba | 7,436 | awscdk-dsl-kotlin | Apache License 2.0 |
app/src/main/kotlin/loganalyzerbot/analyzer/statemachine/SequenceStateMachine.kt | tjpal | 657,782,297 | false | null | package loganalyzerbot.analyzer.statemachine
import loganalyzerbot.analyzer.definition.SequenceDefinition
import loganalyzerbot.analyzer.report.SequenceResult
import loganalyzerbot.logreader.LogMessage
class SequenceStateMachine(private val rootSequenceDefinition: SequenceDefinition) {
var matchedSequences = muta... | 0 | Kotlin | 0 | 0 | 625f16d91aa41cf353401b4f27b6eae03074482a | 2,688 | log-bot | MIT License |
app/src/main/kotlin/com/goodwy/keyboard/app/settings/theme/FineTuneDialog.kt | Goodwy | 811,363,624 | 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 in wr... | 509 | null | 403 | 7 | 472b7eb1a9efcf6e12e55474698f7cc3254c1341 | 2,454 | Keyboard | Apache License 2.0 |
uistate/src/main/java/com/feduss/timerwear/uistate/extension/WorkoutType+Extension.kt | feduss | 839,081,219 | false | {"Kotlin": 283136} | package com.feduss.timerwear.uistate.extension
import com.feduss.timerwear.uistate.R
import com.feduss.timerwear.entity.enums.WorkoutType
fun WorkoutType.getStringId(): Int {
return when(this) {
WorkoutType.CustomWorkout -> R.string.main_page_custom_workout_button
WorkoutType.Emom -> R.string.main... | 0 | Kotlin | 0 | 3 | 664d0cfedd9818f74454a301a24ea1f854557171 | 416 | TimerWear | MIT License |
app/src/main/java/com/vultisig/wallet/ui/models/keysign/KeysignFlowViewModel.kt | vultisig | 789,965,982 | false | {"Kotlin": 1611851, "Ruby": 1713} | @file:OptIn(ExperimentalSerializationApi::class)
package com.vultisig.wallet.ui.models.keysign
import android.annotation.SuppressLint
import android.content.BroadcastReceiver
import android.content.Context
import android.content.Intent
import android.content.IntentFilter
import android.os.Build
import androidx.compos... | 58 | Kotlin | 2 | 6 | bc136dca92abbc2507d64764737fdccddd9bdf42 | 26,464 | vultisig-android | Apache License 2.0 |
adaptive-ui/src/commonMain/kotlin/fun/adaptive/ui/render/DecorationRenderApplier.kt | spxbhuhb | 788,711,010 | false | null | package `fun`.adaptive.ui.common.render
import `fun`.adaptive.ui.common.AbstractCommonFragment
import `fun`.adaptive.ui.common.fragment.layout.RawBorder
import `fun`.adaptive.ui.common.fragment.layout.RawCornerRadius
import `fun`.adaptive.ui.common.fragment.layout.RawDropShadow
import `fun`.adaptive.ui.common.instruct... | 34 | null | 0 | 3 | e7d8bb8682a6399675bc75d2976b862268d20fb5 | 2,729 | adaptive | Apache License 2.0 |
app/src/main/java/com/vultisig/wallet/ui/components/BoxWithSwipeRefresh.kt | vultisig | 789,965,982 | false | {"Kotlin": 1656023, "Ruby": 1713} | package com.vultisig.wallet.ui.components
import androidx.compose.foundation.layout.BoxScope
import androidx.compose.material3.ExperimentalMaterial3Api
import androidx.compose.material3.pulltorefresh.PullToRefreshBox
import androidx.compose.material3.pulltorefresh.rememberPullToRefreshState
import androidx.compose.run... | 58 | Kotlin | 2 | 6 | 106410f378751c6ab276120fcc74c1036b46ab6e | 748 | vultisig-android | Apache License 2.0 |
design/principle/interfacesegregation/Main.kt | tony-xxw | 287,568,841 | false | {"Kotlin": 42389, "Java": 3325} | package design.principle.interfacesegregation
fun main() {
Dog().apply {
fly()
eat()
swim()
}
println()
Bird().apply {
fly()
eat()
swim()
}
println()
DogImp().apply {
eat()
swim()
}
println()
BirdImp().apply {
... | 0 | Kotlin | 0 | 0 | 0533b3c2f7a2d65c46b6bd752e2789e850f0635b | 1,236 | LearnDesign | Apache License 2.0 |
app/src/main/java/cucerdariancatalin/sms_messenger/activities/SettingsActivity.kt | cucerdariancatalin | 586,080,344 | false | null | package cucerdariancatalin.sms_messenger.activities
import android.annotation.TargetApi
import android.content.Intent
import android.os.Build
import android.os.Bundle
import com.simplemobiletools.commons.activities.ManageBlockedNumbersActivity
import com.simplemobiletools.commons.dialogs.ChangeDateTimeFormatDialog
imp... | 0 | Kotlin | 0 | 2 | bde8d17dfc800c3a291a96d3b4ee653f335019bb | 10,492 | SMSMessenger | MIT License |
demo/app/src/main/java/com/alessandro/claymore/demo/ClaymoreDemoApplication.kt | alecarnevale | 559,250,665 | false | {"Kotlin": 92000} | package com.alessandro.claymore.demo
import android.app.Application
import dagger.hilt.android.HiltAndroidApp
@HiltAndroidApp
class ClaymoreDemoApplication: Application() | 1 | Kotlin | 0 | 5 | fedfc34d5d114fff7f3f5063906caf70ea419137 | 172 | claymore | Apache License 2.0 |
common-domain/src/test/java/com/paulrybitskyi/gamedge/common/domain/games/ObserveRecentlyReleasedGamesUseCaseImplTest.kt | mars885 | 289,036,871 | false | {"Kotlin": 1318694, "Shell": 593} | /*
* Copyright 2022 Paul Rybitskyi, paul.rybitskyi.work@gmail.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requir... | 4 | Kotlin | 63 | 659 | 69b3ada08cb877af9b775c6a4f3d9eb1c3470d9c | 2,268 | gamedge | Apache License 2.0 |
JavaFx/src/main/kotlin/io/github/slupik/schemablock/logic/executor/diagram/ExecutionEvent.kt | Slupik | 151,474,227 | false | null | package io.github.slupik.schemablock.logic.executor.diagram
import io.github.slupik.schemablock.javafx.element.block.Block
import io.github.slupik.schemablock.logic.executor.block.ExecutionResult
/**
* All rights reserved & copyright ©
*/
sealed class ExecutionEvent
object ExecutionStart: ExecutionEvent()
data cl... | 1 | null | 1 | 1 | dbcac4d6a9a3ee94710094e8312970b61f3db6f2 | 617 | SchemaBlock | Apache License 2.0 |
core-subscription/src/main/kotlin/io/vibrantnet/ryp/core/subscription/service/AccountsApiService.kt | nilscodes | 769,729,247 | false | {"Kotlin": 901616, "TypeScript": 887764, "Dockerfile": 8250, "Shell": 7536, "JavaScript": 1867} | package io.vibrantnet.ryp.core.subscription.service
import io.ryp.shared.model.LinkedExternalAccountDto
import io.ryp.shared.model.LinkedExternalAccountPartialDto
import io.vibrantnet.ryp.core.subscription.model.*
import reactor.core.publisher.Flux
import reactor.core.publisher.Mono
import java.time.Duration
interfac... | 0 | Kotlin | 0 | 0 | a03ddb79eb7a71d0c440584c758cb5600c29c15e | 10,020 | reach-your-people | Apache License 2.0 |
designer/src/com/android/tools/idea/uibuilder/editor/multirepresentation/RepresentationName.kt | JetBrains | 60,701,247 | 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... | 5 | null | 230 | 948 | 10110983c7e784122d94c7467e9d243aba943bf4 | 1,118 | android | Apache License 2.0 |
app/src/main/java/com/mostafahelal/AtmoDrive/auth/data/model/modelresponse/NewUser.kt | mostafa399 | 670,688,724 | false | {"Kotlin": 173866} | package com.mostafahelal.AtmoDrive.auth.data.model.modelresponse
import com.google.gson.annotations.SerializedName
data class NewUser(
@SerializedName("is_new")
val is_new: Boolean,
@SerializedName("full_name")
val full_name: String?,
)
| 0 | Kotlin | 0 | 0 | 6bab70a76af1f1bbd0ee714c390324512fc3570f | 255 | AtmoDrive | MIT License |
core/src/main/kotlin/com/malinskiy/marathon/analytics/tracker/remote/influx/InfluxDbTracker.kt | zoey-juan | 144,840,957 | true | {"Kotlin": 294489, "JavaScript": 33573, "CSS": 29044, "HTML": 2224, "Shell": 964} | package com.malinskiy.marathon.analytics.tracker.remote.influx
import com.malinskiy.marathon.analytics.tracker.NoOpTracker
import com.malinskiy.marathon.device.Device
import com.malinskiy.marathon.device.DevicePoolId
import com.malinskiy.marathon.execution.TestResult
import com.malinskiy.marathon.execution.TestStatus
... | 0 | Kotlin | 0 | 0 | ad640271ade4aba49f28b58108068569f60e2caf | 1,120 | marathon | Apache License 2.0 |
src/test/java/org/jetbrains/plugins/ideavim/ex/implementation/commands/CmdCommandTest.kt | JetBrains | 1,459,486 | false | {"Kotlin": 5959132, "Java": 211095, "ANTLR": 84686, "HTML": 2184} | /*
* Copyright 2003-2023 The IdeaVim authors
*
* Use of this source code is governed by an MIT-style
* license that can be found in the LICENSE.txt file or at
* https://opensource.org/licenses/MIT.
*/
package org.jetbrains.plugins.ideavim.ex.implementation.commands
import com.maddyhome.idea.vim.VimPlugin
import... | 6 | Kotlin | 749 | 9,241 | 66b01b0b0d48ffec7b0148465b85e43dfbc908d3 | 7,447 | ideavim | MIT License |
ui/src/main/java/com/youhajun/ui/utils/GoogleBillingUtil.kt | YeonjunNotPed | 757,175,597 | false | {"Kotlin": 402548} | package com.youhajun.ui.utils
import android.app.Activity
import android.content.Context
import android.util.Log
import com.android.billingclient.api.AcknowledgePurchaseParams
import com.android.billingclient.api.BillingClient
import com.android.billingclient.api.BillingClient.ProductType
import com.android.billingcli... | 0 | Kotlin | 0 | 0 | d097fe886b1d8d030569765d8a10edd461e89830 | 13,575 | MyTask | Apache License 2.0 |
shared/src/commonMain/kotlin/com/example/voyager_screens_delegation_sample/App.kt | bidapphub | 811,808,219 | false | {"Kotlin": 12554, "Swift": 534} | package com.example.voyager_screens_delegation_sample
import androidx.compose.foundation.shape.AbsoluteCutCornerShape
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.lightColorScheme
import androidx.compose.runtime.Composable
import androidx.compose.ui.unit.dp
import cafe.adriel.voyag... | 0 | Kotlin | 0 | 0 | 5b454633f8adfa5611d370ad4a80955fd84488ea | 874 | kotlin-multiplatform_voyager-screens-delegation-sample | MIT License |
lib.core/src/main/java/com/coding/zxm/lib_core/base/FragmentLazyLifecycleOwner.kt | ZhangXinmin528 | 117,549,346 | false | {"Java": 728866, "Kotlin": 166497} | package com.coding.zxm.lib_core.base
import androidx.lifecycle.*
/**
* Created by ZhangXinmin on 2021/06/10.
* Copyright (c) 2021/6/10 . All rights reserved.
*/
class FragmentLazyLifecycleOwner(private val mCallback: Callback) : LifecycleObserver,
LifecycleOwner {
private var mLifecycleRegistry: Lifecycle... | 0 | Java | 1 | 5 | 6b49ab3ada9691543aa85e0fecf091f93b910e47 | 3,228 | AndroidUtils | Apache License 2.0 |
app/src/main/java/developersancho/githubinginterview/di/ViewModelModule.kt | developersancho | 218,074,647 | false | {"Gradle": 3, "Java Properties": 2, "Shell": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "Kotlin": 55, "JSON": 2, "XML": 40, "Java": 2} | package developersancho.githubinginterview.di
import developersancho.githubinginterview.ui.detail.DetailViewModel
import developersancho.githubinginterview.ui.home.HomeViewModel
import org.koin.androidx.viewmodel.dsl.viewModel
import org.koin.dsl.module
val viewModelModule = module {
viewModel { HomeViewModel(get... | 1 | null | 1 | 1 | 3939218adde97051b5635da61a1cc44ea6fdb7ac | 368 | GithubIngInterview | Apache License 2.0 |
sqlite-embedder-chasm/src/commonMain/kotlin/ext/BindingsExt.kt | illarionov | 769,429,996 | false | {"Kotlin": 867941} | /*
* Copyright 2024, the wasm-sqlite-open-helper project authors and contributors. Please see the AUTHORS file
* for details. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
* SPDX-License-Identifier: Apache-2.0
*/
package ru.pixnews.wasm.sqlite.open.helper.chas... | 0 | Kotlin | 1 | 3 | 90c45b7cfe512c0dfcffbc4a77bb24cc0040b16d | 1,432 | wasm-sqlite-open-helper | Apache License 2.0 |
chat/src/main/kotlin/br/edu/uea/redes/chat/service/AuthenticationService.kt | adevancomp | 753,041,990 | false | {"Kotlin": 21822} | package br.edu.uea.redes.chat.service
import br.edu.uea.redes.chat.config.properties.JwtProperties
import br.edu.uea.redes.chat.dto.AuthenticationRequest
import br.edu.uea.redes.chat.dto.AuthenticationResponse
import org.springframework.security.authentication.AuthenticationManager
import org.springframework.security.... | 0 | Kotlin | 0 | 0 | ed269b3f9ee60725760d367fe56895abe70825ba | 1,500 | redes-2 | Apache License 2.0 |
fabric/src/main/kotlin/ru/astrainteractive/astratemplate/command/HelloWorldCommand.kt | Rammahhh | 628,461,968 | false | null | package ru.astrainteractive.astratemplate.command
import com.astrainteractive.astratemplate.api.dto.UserDTO
import com.mojang.brigadier.context.CommandContext
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.launch
import net.minecraft.server.command.ServerCommandSource
import ru.astrainteractive.astral... | 0 | Kotlin | 0 | 0 | e8677c117b048eb72c0badc6e70bc4342b87a065 | 1,445 | PluginTempalte | MIT License |
card/src/main/java/com/adyen/checkout/card/internal/ui/view/CardView.kt | Adyen | 91,104,663 | false | null | /*
* Copyright (c) 2022 Adyen N.V.
*
* This file is open source and available under the MIT license. See the LICENSE file for more info.
*
* Created by josephj on 16/9/2022.
*/
package com.adyen.checkout.card.internal.ui.view
import android.app.Activity
import android.content.Context
import android.content.Conte... | 31 | null | 66 | 96 | 1f000e27e07467f3a30bb3a786a43de62be003b2 | 33,221 | adyen-android | MIT License |
health/connect/connect-client/src/main/java/androidx/health/connect/client/PermissionController.kt | androidx | 256,589,781 | false | null | /*
* Copyright (C) 2022 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... | 29 | null | 945 | 5,321 | 98b929d303f34d569e9fd8a529f022d398d1024b | 2,683 | androidx | Apache License 2.0 |
app/src/main/java/com/example/pavan/galleryview/Utils/Extensions.kt | pavan555 | 235,297,011 | false | null | package com.example.pavan.galleryview.Utils
/* *********************************************************************
* Copyright [<NAME>](https://github.com/pavan555) 2020
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License... | 1 | null | 1 | 1 | 358fc668ef3fd4eb7545238e4dd9b96c0f0a6861 | 1,953 | Gallery-View | Apache License 2.0 |
cloud/oauth-server/src/main/kotlin/pers/acp/admin/oauth/controller/inner/InnerOrgController.kt | zhangbinhub | 162,155,230 | false | null | package pers.acp.admin.controller.inner
import io.github.zhangbinhub.acp.boot.exceptions.ServerException
import io.github.zhangbinhub.acp.boot.interfaces.LogAdapter
import io.swagger.annotations.Api
import io.swagger.annotations.ApiOperation
import org.springframework.beans.BeanUtils
import org.springframework.beans.f... | 0 | Kotlin | 5 | 19 | 564b34c1f10a75dd4c4e822489d4f0efb9d38089 | 2,842 | acp-admin-cloud | Apache License 2.0 |
cloud/oauth-server/src/main/kotlin/pers/acp/admin/oauth/controller/inner/InnerOrgController.kt | zhangbinhub | 162,155,230 | false | null | package pers.acp.admin.controller.inner
import io.github.zhangbinhub.acp.boot.exceptions.ServerException
import io.github.zhangbinhub.acp.boot.interfaces.LogAdapter
import io.swagger.annotations.Api
import io.swagger.annotations.ApiOperation
import org.springframework.beans.BeanUtils
import org.springframework.beans.f... | 0 | Kotlin | 5 | 19 | 564b34c1f10a75dd4c4e822489d4f0efb9d38089 | 2,842 | acp-admin-cloud | Apache License 2.0 |
src/commonMain/kotlin/ai/ConversationAI.kt | adQuid | 307,862,049 | false | null | package ai
import model.shortstate.Communication
import model.shortstate.Message
import model.shortstate.ShortStateCharacter
import model.shortstate.messagetypes.GivePerspective
import model.shortstate.messagetypes.Greeting
import model.shortstate.messagetypes.RequestPerspective
import model.shortstate.messagetypes.Sw... | 0 | Kotlin | 0 | 0 | b4724df1674f5e0e795f2b028521389284152066 | 5,066 | teech | MIT License |
app/src/main/java/com/stfalcon/new_uaroads_android/common/injection/modules/ActivityInjectionModule.kt | stfalcon-studio | 49,490,060 | false | null | /*
* Copyright (c) 2017 stfalcon.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... | 1 | null | 6 | 24 | 1332f62043a91206f0c6fdbade6ac31e6864b8cc | 2,910 | uaroads_android | Apache License 2.0 |
app/src/main/java/com/example/arduino/Callbacks.kt | Schrotti17 | 482,303,806 | false | {"Kotlin": 12522, "Java": 60} | package com.example.arduino
interface Callbacks {
fun write(message: String)
fun onBluetoothDeviceSelected(address: String)
//fun read(byte: Array<Byte>)
} | 0 | Kotlin | 0 | 0 | 5c67a06b188ecbf055b9f2ff6d71ce253938177e | 168 | BluetoothArduino | MIT License |
compiler/src/commonMain/kotlin/com.franzmandl.compiler/optimizer/ThreeAddressCode.kt | franzmandl | 512,849,792 | false | null | package com.franzmandl.compiler.optimizer
import com.franzmandl.compiler.ast.*
import com.franzmandl.compiler.ctx.AddCommand
import com.franzmandl.compiler.ctx.ExpressionContext
import com.franzmandl.compiler.ctx.ExpressionReplaceVisitor
import com.franzmandl.compiler.ctx.VariableReplaceExpressionReason
object ThreeA... | 0 | Kotlin | 0 | 0 | a5004c6fc8fb717e076441ef55e3f8758efe252f | 3,791 | visopt | MIT License |
kotlin/src/main/kotlin/com/spoonacular/client/model/TalkToChatbot200Response.kt | ddsky | 189,444,765 | false | null | /**
*
* Please note:
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* Do not edit this file manually.
*
*/
@file:Suppress(
"ArrayInDataClass",
"EnumEntryName",
"RemoveRedundantQualifierName",
"UnusedImport"
)
package com.spoonacular.client.model
import com... | 1 | null | 65 | 41 | 60d83759252522d70fe981b12a20a5f56690617e | 717 | spoonacular-api-clients | MIT License |
modules/jooby-openapi/src/test/kotlin/kt/issues/i2004/Controller2004.kt | jooby-project | 25,446,835 | false | null | package kt.issues.i2004
import io.jooby.annotations.GET
import io.jooby.annotations.Path
import io.jooby.annotations.QueryParam
import io.swagger.v3.oas.annotations.Operation
import io.swagger.v3.oas.annotations.media.Schema
@Schema(description = "This is a company request")
data class CompanyRequest(
val baseYea... | 51 | null | 175 | 1,439 | 1a0252d5dac7d3730f3e7017008c65a9ae4e5dd3 | 752 | jooby | Apache License 2.0 |
libs/rest/rest-test-common/src/main/kotlin/net/corda/rest/test/TestVersioningRestResourceImpl.kt | corda | 346,070,752 | false | null | package net.corda.rest.test
import net.corda.rest.PluggableRestResource
class TestEndpointVersioningRestResourceImpl :
TestEndpointVersioningRestResource,
PluggableRestResource<TestEndpointVersioningRestResource> {
override val protocolVersion: Int
get() = 3
override val targetInterface: Clas... | 14 | null | 27 | 69 | 0766222eb6284c01ba321633e12b70f1a93ca04e | 1,944 | corda-runtime-os | Apache License 2.0 |
vuesaxicons/src/commonMain/kotlin/moe/tlaster/icons/vuesax/vuesaxicons/linear/Cloudnotif.kt | Tlaster | 560,394,734 | false | {"Kotlin": 25133302} | package moe.tlaster.icons.vuesax.vuesaxicons.linear
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap
import androidx.... | 0 | Kotlin | 0 | 2 | b8a8231e6637c2008f675ae76a3423b82ee53950 | 3,011 | VuesaxIcons | MIT License |
src/main/kotlin/uk/gov/justice/digital/hmpps/dpssmoketest/service/ProbationSearchService.kt | ministryofjustice | 308,619,038 | false | null | package uk.gov.justice.digital.hmpps.dpssmoketest.service
import org.springframework.beans.factory.annotation.Qualifier
import org.springframework.beans.factory.annotation.Value
import org.springframework.core.ParameterizedTypeReference
import org.springframework.http.MediaType
import org.springframework.stereotype.Se... | 0 | Kotlin | 1 | 0 | f606757b8598f3ac4c3d1ee7ce9ef6d1ea8be756 | 4,186 | dps-smoketest | MIT License |
src/main/kotlin/com/thilux/kblog/domain/CommentEntity.kt | thilux | 114,498,999 | false | null | package com.thilux.kblog.domain
import org.jetbrains.squash.definition.*
/**
* Created by tsantana on 05/01/18.
*/
object CommentEntity : TableDefinition() {
val id = integer("id").autoIncrement().uniqueIndex()
val commentator = varchar("commentator", 100)
val content = blob("content")
val post = r... | 9 | Kotlin | 4 | 14 | 70e9b3431a971a917647714ea4255bdb01ed291a | 403 | kblog | Apache License 2.0 |
kt/godot-library/src/main/kotlin/godot/gen/godot/Resource.kt | utopia-rise | 289,462,532 | false | null | // THIS FILE IS GENERATED! DO NOT EDIT IT MANUALLY!
@file:Suppress("PackageDirectoryMismatch", "unused", "FunctionName", "RedundantModalityModifier",
"UNCHECKED_CAST", "JoinDeclarationAndAssignment", "USELESS_CAST",
"RemoveRedundantQualifierName", "NOTHING_TO_INLINE")
package godot
import godot.`annotation`.G... | 50 | null | 25 | 301 | 0d33ac361b354b26c31bb36c7f434e6455583738 | 8,126 | godot-kotlin-jvm | MIT License |
library/core/api/src/main/kotlin/de/lise/fluxflow/api/continuation/history/query/filter/WorkflowObjectReferenceFilter.kt | lisegmbh | 740,936,659 | false | {"Kotlin": 732949} | package de.lise.fluxflow.api.continuation.history.query.filter
import de.lise.fluxflow.api.WorkflowObjectKind
import de.lise.fluxflow.query.filter.Filter
data class WorkflowObjectReferenceFilter(
val kind: Filter<WorkflowObjectKind>? = null,
val objectId: Filter<String>? = null
) | 20 | Kotlin | 0 | 7 | b7caae962301480df123da2c541004829d5572fd | 290 | fluxflow | Apache License 2.0 |
charset/src/com/fleeksoft/charset/cs/iso/ISO_8859_9.kt | fleeksoft | 874,918,183 | false | {"Kotlin": 8845941} | package com.fleeksoft.charset.cs.ibm
import com.fleeksoft.charset.Charset
import com.fleeksoft.charset.CharsetDecoder
import com.fleeksoft.charset.CharsetEncoder
import com.fleeksoft.charset.cs.SingleByte
class IBM855 private constructor() : Charset("IBM855") {
fun contains(cs: Charset): Boolean {
return... | 1 | Kotlin | 0 | 2 | a16af685a558ad177749c12d7840a7b67aece66c | 3,711 | charset | MIT License |
app/src/main/java/io/horizontalsystems/bankwallet/core/providers/AppConfigProvider.kt | horizontalsystems | 142,825,178 | false | null | package io.horizontalsystems.bankwallet.core.providers
import io.horizontalsystems.bankwallet.R
import io.horizontalsystems.bankwallet.entities.Currency
class AppConfigProvider {
val companyWebPageLink: String = "https://horizontalsystems.io"
val appWebPageLink: String = "https://unstoppable.money"
va... | 57 | Kotlin | 333 | 665 | b8b4e14953949592e2d73cdaadbc72241278914f | 3,927 | unstoppable-wallet-android | MIT License |
app/src/main/java/com/hypertrack/android/ui/screens/add_integration/AddIntegrationViewModel.kt | hypertrack | 241,723,736 | false | null | package com.hypertrack.android.ui.screens.add_integration
import android.view.View
import androidx.lifecycle.*
import com.hypertrack.android.interactors.app.AppEffectAction
import com.hypertrack.android.interactors.app.ReportAppErrorEffect
import com.hypertrack.android.interactors.app.ShowAndReportAppErrorEffect
impor... | 1 | Kotlin | 17 | 31 | c5dd23621aed11ff188cf98ac037b67f435e9f5b | 10,772 | visits-android | MIT License |
app/src/main/java/com/yamanf/shoppingapp/ui/adapter/SearchAdapter.kt | yamanf | 557,850,840 | false | null | package com.yamanf.shoppingapp.ui.adapter
import android.annotation.SuppressLint
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.*
import androidx.constraintlayout.widget.ConstraintLayout
import androidx.navigation.findNavController
import androidx.recycl... | 0 | Kotlin | 0 | 0 | 6a70f24f614d313e18e69a202ae9e79a93aa8cf7 | 2,200 | PazaramaBootcamp-FinalProject | Apache License 2.0 |
app/src/main/java/com/yamanf/shoppingapp/ui/adapter/SearchAdapter.kt | yamanf | 557,850,840 | false | null | package com.yamanf.shoppingapp.ui.adapter
import android.annotation.SuppressLint
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.*
import androidx.constraintlayout.widget.ConstraintLayout
import androidx.navigation.findNavController
import androidx.recycl... | 0 | Kotlin | 0 | 0 | 6a70f24f614d313e18e69a202ae9e79a93aa8cf7 | 2,200 | PazaramaBootcamp-FinalProject | Apache License 2.0 |
app/src/main/java/work/yeshu/demo/andserverdemo/MainActivity.kt | yeshu-cn | 248,478,705 | false | {"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Git Attributes": 1, "Markdown": 1, "Proguard": 1, "Kotlin": 3, "XML": 17, "Java": 1, "HTML": 1} | /*
*
* * Copyright (c) 2018 yeshu. All Rights Reserved.
*
*/
package work.yeshu.demo.andserverdemo
import android.os.Bundle
import android.view.View
import androidx.appcompat.app.AppCompatActivity
import com.yanzhenjie.andserver.AndServer
import com.yanzhenjie.andserver.Server
import com.yanzhenjie.andserver.Ser... | 1 | null | 1 | 1 | cfd5ffd757ad7f8dd9fee176d85553f54a722386 | 1,573 | AndServerDemo | MIT License |
ggdsl-echarts/src/main/kotlin/org/jetbrains/kotlinx/ggdsl/echarts/settings/BorderLayearContext.kt | Kotlin | 502,039,936 | false | null | /*
* Copyright 2020-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
*/
package org.jetbrains.kotlinx.ggdsl.echarts.settings
import org.jetbrains.kotlinx.ggdsl.dsl.internal.BindingContext
import org.jetbrains.kotlinx.ggdsl.echarts.aes.BorderColorAes
import org.jetbrains.kotlinx.ggd... | 48 | Kotlin | 1 | 44 | 8a161098d0d946c28bde3cf3c7bea6a1eeba073c | 1,767 | ggdsl | Apache License 2.0 |
vector/src/main/java/im/vector/riotx/features/settings/VectorSettingsSecurityPrivacyFragment.kt | aalzehla | 287,565,471 | false | null | /*
* Copyright 2019 New Vector Ltd
* Copyright 2020 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 requ... | 1 | null | 1 | 1 | ee1d5faf0d59f9cc1c058d45fae3e811d97740fd | 27,730 | element-android | Apache License 2.0 |
rxhttp-compiler/src/main/java/com/rxhttp/compiler/Constants.kt | liujingxing | 167,158,553 | false | null | package com.rxhttp.compiler
import com.squareup.javapoet.ClassName
/**
* User: ljx
* Date: 2021/11/23
* Time: 16:10
*/
const val RxHttp = "RxHttp"
const val defaultPackageName = "rxhttp.wrapper.param"
const val rxhttp_rxjava = "rxhttp_rxjava"
const val rxhttp_package = "rxhttp_package"
const val rxhttp_incremen... | 4 | null | 441 | 3,530 | 1af21b959fd6bd033f7c5d4c1cb78fe5673825b8 | 592 | rxhttp | Apache License 2.0 |
api/src/main/kotlin/de/jnkconsulting/e3dc/easyrscp/api/service/model/PowerState.kt | jnk-cons | 691,762,451 | false | {"Kotlin": 918056} | package de.jnkconsulting.e3dc.easyrscp.api.service.model
import java.time.Instant
/**
* Represents the current status of the home power plant, in which the basic values are mapped.
*
* @param timestamp Timestamp at which the values were measured
* @param pvDelivery Current power supply from the photovoitaik modul... | 5 | Kotlin | 0 | 1 | 8627cdddb76e29624ec4d186f063dd05ff9489da | 1,382 | easy-rscp | MIT License |
app/src/main/java/com/vcheck/sdk/core/presentation/country_stage/ChooseCountryFragment.kt | VCheckOrg | 530,737,486 | false | null | package com.vcheck.sdk.core.presentation.country_stage
import android.graphics.Color
import android.graphics.drawable.ColorDrawable
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.Toast
import androidx.activity.addCallback
import ... | 0 | Kotlin | 0 | 0 | 2b31db28c9b226570a681c048331866cb03ce2ba | 7,814 | vcheck_android | MIT License |
app/src/main/java/org/jmrtd/cert/CSCAMasterList.kt | jllarraz | 151,435,529 | false | null | package org.jmrtd.cert
import org.spongycastle.asn1.*
import org.spongycastle.asn1.pkcs.SignedData
import org.spongycastle.jce.provider.X509CertificateObject
import java.io.ByteArrayInputStream
import java.io.IOException
import java.security.cert.CertSelector
import java.security.cert.Certificate
import java.security.... | 10 | null | 37 | 91 | 787d3d3206b4855163784ff4fc6d643bb3743830 | 8,641 | AndroidPassportReader | Apache License 2.0 |
testing/test-db/src/main/kotlin/net/corda/testing/internal/db/NoOpTestDatabaseContext.kt | corda | 70,137,417 | false | {"Kotlin": 10675960, "Java": 275115, "C++": 239894, "Python": 37811, "Shell": 28324, "CSS": 23544, "Groovy": 14725, "CMake": 5393, "Dockerfile": 2574, "Batchfile": 1777, "PowerShell": 660, "C": 454} | package net.corda.testing.internal.db
/**
* An implementation of [TestDatabaseContext] which does nothing.
*/
class NoOpTestDatabaseContext : TestDatabaseContext {
override fun initialize(groupName: String) {}
override fun beforeClass(setupSql: List<String>) {}
override fun afterClass(teardownSql: Lis... | 62 | Kotlin | 1077 | 3,989 | d27aa0e6850d3804d0982024054376d452e7073a | 478 | corda | Apache License 2.0 |
kool-core/src/commonMain/kotlin/de/fabmax/kool/scene/geometry/MeshBuilder.kt | kool-engine | 81,503,047 | false | null | package de.fabmax.kool.scene.geometry
import de.fabmax.kool.KoolException
import de.fabmax.kool.math.*
import de.fabmax.kool.modules.ui2.MsdfUiShader
import de.fabmax.kool.pipeline.Attribute
import de.fabmax.kool.util.*
import kotlin.math.*
/**
* @author fabmax
*/
open class MeshBuilder(val geometry: IndexedVertexL... | 9 | null | 20 | 303 | 8d05acd3e72ff2fc115d0939bf021a5f421469a5 | 44,518 | kool | Apache License 2.0 |
src/main/kotlin/y2023/day04/Day04.kt | TimWestmark | 571,510,211 | false | {"Kotlin": 89101, "Shell": 1067} | package y2023.day04
import kotlin.math.pow
fun main() {
AoCGenerics.printAndMeasureResults(
part1 = { part1() },
part2 = { part2() }
)
}
data class ScratchCard(
val winningNumber: Set<Int>,
val drawnNumbers: Set<Int>,
var copies: Int,
)
fun input() =
AoCGenerics.getInputLines... | 0 | Kotlin | 0 | 0 | 1f87833a58a410a3cec01474ae29f3c0b183f2a4 | 1,443 | AdventOfCode | MIT License |
app/src/main/java/com/music/player/bhandari/m/trackInfo/FetchTrackInfo.kt | amit-bhandari | 118,368,128 | false | null | package com.music.player.wakili.cool.trackInfo.models
import android.os.Handler
import android.os.Looper
import android.util.Log
import java.lang.Exception
/*
Thread to fetch track info
*/
class FetchTrackInfo(var artist: String, var track: String, val callback: TrackInfo.Callback) : Thread() {
var handler: Ha... | 9 | null | 44 | 83 | f82e1fcbf2ec550e93558a4e5761a91944a29050 | 2,523 | AB-Music-Player | Apache License 2.0 |
teacher/rest-client/src/main/kotlin/io/drevezadur/scylla/teacher/client/service/model/GridOrientation.kt | drevezerezh | 672,485,652 | false | null | /*
* Copyright (c) 2023. gofannon.io
*
* 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 agree... | 0 | Kotlin | 0 | 0 | 5b252105940bee53350039c479aabcc479f3c894 | 738 | scylla | Apache License 2.0 |
cupertino-adaptive/src/nonAndroidMain/kotlin/io/github/alexzhirkevich/cupertino/adaptive/SystemTheme.kt | alexzhirkevich | 636,411,288 | false | {"Kotlin": 5215549, "Ruby": 2329, "Swift": 2101, "HTML": 2071, "Shell": 868} | /*
* Copyright (c) 2023 Compose Cupertino project and open source contributors.
*
* 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
*
*... | 5 | Kotlin | 31 | 848 | 54bfbb58f6b36248c5947de343567903298ee308 | 989 | compose-cupertino | Apache License 2.0 |
nlp/core/shared/src/main/kotlin/EntityType.kt | theopenconversationkit | 84,538,053 | false | null | /*
* Copyright (C) 2017 VSCT
*
* 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... | 163 | null | 127 | 475 | 890f69960997ae9146747d082d808d92ee407fcb | 1,370 | tock | Apache License 2.0 |
plugins/configuration-script/src/providers/ConfigurationScriptProjectStoreFactory.kt | JetBrains | 2,489,216 | false | null | package com.intellij.configurationScript.providers
import com.intellij.configurationScript.ConfigurationFileManager
import com.intellij.configurationScript.readIntoObject
import com.intellij.configurationStore.*
import com.intellij.ide.plugins.PluginManagerCore
import com.intellij.openapi.components.BaseState
import c... | 284 | null | 5162 | 16,707 | def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0 | 6,602 | intellij-community | Apache License 2.0 |
domain/src/main/java/com/sedsoftware/yaptalker/domain/repository/ActiveTopicsRepository.kt | alerm-sml | 123,927,915 | true | {"Kotlin": 509954, "IDL": 1260, "Shell": 1229, "Prolog": 939, "Java": 823, "CSS": 50} | package com.sedsoftware.yaptalker.domain.repository
import com.sedsoftware.yaptalker.domain.entity.BaseEntity
import io.reactivex.Single
/**
* Interface that represents a Repository for getting active topics related data.
*/
interface ActiveTopicsRepository {
fun getActiveTopics(hash: String, page: Int): Single<... | 0 | Kotlin | 0 | 0 | 6c06171d2af44b0bb9b7809221b2f594d2354102 | 340 | YapTalker | Apache License 2.0 |
src/main/kotlin/com/baulsupp/okurl/tracing/ZipkinConfig.kt | yschimke | 48,341,449 | false | {"Kotlin": 515385, "Shell": 843, "Smarty": 777} | package com.baulsupp.okurl.tracing
import brave.propagation.TraceContext
import java.io.File
import java.io.FileReader
import java.util.Properties
class ZipkinConfig(private val senderUri: String?, private val displayUrl: String?) {
fun zipkinSenderUri(): String? {
return senderUri
}
fun openFunction(): (... | 16 | Kotlin | 15 | 126 | 32ad9f89d17500399ac16b735f1398ad6ca32f41 | 1,003 | okurl | Apache License 2.0 |
src/test/kotlin/com/github/vhromada/catalog/utils/GenreUtils.kt | vhromada | 795,933,875 | false | null | package com.github.vhromada.catalog.utils
import com.github.vhromada.catalog.entity.ChangeGenreRequest
import com.github.vhromada.catalog.entity.Genre
import org.assertj.core.api.Assertions.assertThat
import org.assertj.core.api.SoftAssertions.assertSoftly
import javax.persistence.EntityManager
/**
* Updates genre f... | 0 | Kotlin | 0 | 0 | e9358777ae3f6d94ed564f68e59126bbd639b325 | 8,157 | catalog-be | MIT License |
Example/src/main/kotlin/com/example/game/mods/MoveMessage.kt | jstuyts | 213,739,601 | false | {"Markdown": 7, "Gradle Kotlin DSL": 71, "Shell": 2, "Ignore List": 85, "Batchfile": 1, "EditorConfig": 1, "INI": 2, "YAML": 1, "HTML": 56, "Kotlin": 575, "Java": 1, "Text": 4, "Perl": 2, "CSS": 6, "JavaScript": 14, "XML": 7, "Ruby": 2, "JSON": 63, "SVG": 2, "Makefile": 2, "PHP": 2, "Roff": 1, "Diff": 1, "Git Attribute... | package com.example.game.mods
import org.elkoserver.json.JsonLiteral
import org.elkoserver.json.JsonLiteralFactory
import org.elkoserver.json.Referenceable
internal fun msgMove(who: Referenceable, x: Int, y: Int, into: Referenceable?): JsonLiteral =
JsonLiteralFactory.targetVerb(who, "move").apply {
... | 5 | null | 1 | 1 | d18864aaa29914c50edcb9ccfbd074a45d3d0498 | 450 | Elko | MIT License |
app/src/main/java/com/food/ordering/zinger/ui/order/OrderViewModel.kt | shrikanth7698 | 240,738,577 | false | null | package com.food.ordering.zinger.ui.order
import androidx.lifecycle.*
import com.food.ordering.zinger.data.local.Resource
import com.food.ordering.zinger.data.model.*
import com.food.ordering.zinger.data.retrofit.OrderRepository
import kotlinx.coroutines.launch
import java.net.UnknownHostException
class OrderViewMod... | 7 | Kotlin | 79 | 99 | b8612ccb23057592cb6097dbfc04811cb3b1865e | 4,755 | Zinger-Android-App | MIT License |
thimble/src/main/kotlin/com/infinum/thimble/models/BundleKeys.kt | infinum | 291,794,084 | false | null | package com.infinum.thimble.models
internal enum class BundleKeys {
CONFIGURATION,
HORIZONTAL_LINE_COLOR,
VERTICAL_LINE_COLOR,
HORIZONTAL_GAP_SIZE,
VERTICAL_GAP_SIZE,
OPACITY,
PORTRAIT_URI,
LANDSCAPE_URI,
COLOR_MODEL,
TOGGLE,
RECORDER_DELAY,
SCREENSHOT_COMPRESSION,
R... | 0 | Kotlin | 0 | 0 | 8da055d449a4b5805620af5bf4f9d7be7f275373 | 372 | android-thimble | Apache License 2.0 |
src/main/kotlin/ru/stersh/bookcrawler/module/litnet/LitnetLibraryCheckTask.kt | siper | 720,533,744 | false | {"Kotlin": 98608, "Dockerfile": 361} | package ru.stersh.bookcrawler.module.litnet
import kotlinx.coroutines.delay
import org.jetbrains.exposed.sql.insert
import org.jetbrains.exposed.sql.select
import org.jetbrains.exposed.sql.selectAll
import org.jetbrains.exposed.sql.transactions.transaction
import org.jetbrains.exposed.sql.update
import ru.stersh.bookc... | 13 | Kotlin | 0 | 0 | f50d3ebe7bb58420cf72165b4aa0d1918e530575 | 9,482 | BookCrawler | MIT License |
src/iterator/dinermenu/scratch/iterable/DinerMenu.kt | Devansh-Maurya | 290,240,330 | false | null | package iterator.dinermenu.scratch.iterable
import iterator.dinermenu.scratch.data.MenuItem
import iterator.dinermenu.scratch.iterator.DinerMenuIterator
import iterator.dinermenu.scratch.iterator.Iterator
/**
* Created by devansh on 21/09/20.
*/
class DinerMenu {
companion object {
const val MAX_ITEMS... | 2 | Kotlin | 12 | 89 | 6de47075205b7de24e1d19bb514b4a0c4f1c7cbd | 1,334 | Design-Patterns-And-Principles | MIT License |
screen/core/src/main/java/kasem/sm/ui_core/UiText.kt | kasem-sm | 456,508,892 | false | {"Kotlin": 432676, "Procfile": 53, "Shell": 10} | /*
* Copyright (C) 2022, Kasem S.M
* All rights reserved.
*/
package kasem.sm.ui_core
import android.content.Context
import androidx.annotation.StringRes
import androidx.compose.runtime.Composable
import androidx.compose.ui.platform.LocalContext
sealed class UiText {
data class StringText(val value: String) : ... | 25 | Kotlin | 49 | 570 | 02543400476bac4248914c5e943ef58bac5a318a | 1,185 | SlimeKT | Apache License 2.0 |
telekt/src/main/kotlin/telekt/types/payment/ShippingQuery.kt | telekt | 173,566,083 | false | null | package rocks.waffle.telekt.types
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
import rocks.waffle.telekt.dispatcher.TelegramEvent
/** This object contains information about an incoming shipping query. */
@Serializable data class ShippingQuery(
val id: String,
val from: Us... | 0 | Kotlin | 3 | 12 | 6e337e863884c875f3032fd60bbdf4bf537bb17e | 477 | telekt | MIT License |
platform/platform-impl/src/com/intellij/ide/cds/CDSManager.kt | ingokegel | 284,920,751 | false | null | // Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.ide.cds
import com.intellij.diagnostic.VMOptions
import com.intellij.execution.CommandLineWrapperUtil
import com.intellij.execution.configurations.GeneralCom... | 1 | null | 1 | 2 | dc846ecb926c9d9589c1ed8a40fdb20e47874db9 | 12,735 | intellij-community | Apache License 2.0 |
app/src/main/java/com/mrkaz/tokoin/presentation/ui/main/MainVM.kt | mrkazansky | 348,208,334 | false | {"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "Markdown": 1, "Kotlin": 94, "JSON": 3, "XML": 28, "Java": 2} | package com.mrkaz.tokoin.presentation.ui.main
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import com.mrkaz.tokoin.data.database.entity.ReferenceEntity
import com.mrkaz.tokoin.usecase.reference.ReferenceUseCase
import kotlinx.coroutines.*
import org.koin.core.KoinComponent
class MainV... | 1 | null | 1 | 1 | 4b4df194cbf375ec057d61f57516b5a45f27c1b1 | 1,311 | mvvm-template | Apache License 2.0 |
app/src/main/java/io/horizontalsystems/bankwallet/modules/nft/collection/NftAssetItemsPricedWithCurrencyRepository.kt | horizontalsystems | 142,825,178 | false | null | package io.horizontalsystems.bankwallet.modules.nft.collection
import io.horizontalsystems.bankwallet.core.subscribeIO
import io.horizontalsystems.bankwallet.entities.CurrencyValue
import io.horizontalsystems.bankwallet.modules.balance.BalanceXRateRepository
import io.horizontalsystems.bankwallet.modules.nft.DataWithE... | 153 | null | 190 | 348 | fea4c5d96759a865408f92e661a13e10faa66226 | 3,675 | unstoppable-wallet-android | MIT License |
Notification/src/main/java/com/sdk/notification/model/notification/InPlayerAccessRevokedNotificationEntity.kt | inplayer-org | 161,477,099 | false | null | package com.sdk.notification.model.notification
data class InPlayerAccessRevokedNotification(val resource: InPlayerAccessRevokedNotificationResource,
override val type: String, override val timestamp: Long) : InPlayerNotificationEntity
data class InPlayerAccessRevokedNoti... | 2 | Kotlin | 1 | 5 | d11faf61aee6e75a1be8bccb63c17e257282725b | 354 | inplayer-android-sdk | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.