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/afdhal_fa/treasure/LoginActivity.kt | Fuadafdhal | 307,046,917 | false | null | package com.afdhal_fa.treasure
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.facebook.FacebookSdk
class LoginActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activ... | 0 | Kotlin | 0 | 1 | 5b45872b51c34dc908a8f082a46a308162fa8315 | 392 | Treasure | Apache License 2.0 |
test/ApplicationTest.kt | Slenkis | 276,249,045 | false | null | package com.slenkis
import io.ktor.util.KtorExperimentalAPI
import kotlin.test.Test
class ApplicationTest {
@KtorExperimentalAPI
@Test
fun testRoot() {
// Empty
}
}
| 0 | Kotlin | 0 | 0 | c43ca4352c3cfd0d86dbf89361e7fda57a3d9c1d | 191 | scythe | MIT License |
src/kotlinPratice/Sample4.kt | ajayvamsee | 628,901,868 | false | null |
fun main(){
val list = listOf (1,1,2,2,3,3,4,5,6,7,1,2,3,4,5,6,7)
println(list)
// val setList = setOf(1,1,2,2,3,3,4,5,6,7,1,2,3,4,5,6,7)
// println(setList)
/* println("Convert list to set")
println(list.toSet())*/
println("Avoid Duplicate from the list")
println(list.distinct())
p... | 0 | Kotlin | 0 | 0 | b97b345526baecf509b186259bdce52f95728aa8 | 393 | PracticeJavaandkoltin | MIT License |
src/main/kotlin/com/andrejusti/example/kotlin/springboot/rest/service/PaginationService.kt | justiandre | 150,188,928 | false | null | package com.andrejusti.example.kotlin.springboot.rest.service
import org.apache.commons.lang3.math.NumberUtils
import org.springframework.beans.factory.annotation.Value
import org.springframework.data.domain.Page
import org.springframework.data.domain.PageRequest
import org.springframework.data.domain.Pageable
import ... | 0 | Kotlin | 13 | 27 | 873ddf8c8a9d7649b0ed790ea2c00dbf9d160bbe | 1,329 | example-kotlin-springboot-rest | MIT License |
css-gg/src/commonMain/kotlin/compose/icons/cssggicons/Community.kt | DevSrSouza | 311,134,756 | false | {"Kotlin": 36756847} | package compose.icons.cssggicons
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter
import... | 15 | Kotlin | 20 | 460 | 651badc4ace0137c5541f859f61ffa91e5242b83 | 3,212 | compose-icons | MIT License |
nugu-core/src/main/java/com/skt/nugu/sdk/core/attachment/AttachmentManager.kt | nugu-developers | 214,067,023 | false | null | /**
* Copyright (c) 2020 SK Telecom Co., Ltd. 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
*
* http:www.apache.org/licenses/LICENSE-2.0
*
* Unless requir... | 5 | null | 18 | 27 | 9d90dcbb8463f7b8f98713126a93de7e291da86c | 8,935 | nugu-android | Apache License 2.0 |
backend/src/main/java/com/paligot/confily/backend/third/parties/conferencehall/ConferenceHallApi.kt | GerardPaligot | 444,230,272 | false | null | package com.paligot.confily.backend.third.parties.conferencehall
import com.paligot.confily.backend.internals.SystemEnv
import io.ktor.client.HttpClient
import io.ktor.client.call.body
import io.ktor.client.engine.java.Java
import io.ktor.client.plugins.contentnegotiation.ContentNegotiation
import io.ktor.client.plugi... | 9 | null | 6 | 143 | 8c0985b73422d6b388012d79c7ab33c054dc55c1 | 1,709 | Confily | Apache License 2.0 |
domain/src/main/java/com/demont/ldap/domain/services/LDAPScreeningService.kt | MaxMichel2 | 517,036,014 | false | null | package com.demont.ldap.domain.services
import android.os.Build
import android.telecom.Call
import android.telecom.CallScreeningService
import androidx.annotation.RequiresApi
import com.demont.ldap.domain.model.PreferenceKey
import com.demont.ldap.domain.preferences.PreferenceRepository
import dagger.hilt.android.Andr... | 0 | Kotlin | 0 | 0 | dbc94589d6f51f3fcca8625e9942b4a2676b01eb | 1,202 | LDAP | Apache License 2.0 |
android/src/main/java/com/reactnativekeyboardcontroller/KeyboardAnimationController.kt | kirillzyusko | 482,596,054 | false | null | package com.reactnativekeyboardcontroller.interactive
import android.os.CancellationSignal
import android.view.View
import android.view.animation.LinearInterpolator
import androidx.core.graphics.Insets
import androidx.core.view.ViewCompat
import androidx.core.view.WindowInsetsAnimationControlListenerCompat
import andr... | 8 | null | 71 | 996 | 4e659427e1037a2136d3691a534884c8341bbe44 | 14,916 | react-native-keyboard-controller | MIT License |
acrarium/src/main/kotlin/com/faendir/acra/ui/view/app/tabs/StatisticsAppTab.kt | F43nd1r | 91,593,043 | false | null | /*
* (C) Copyright 2018 <NAME> (https://github.com/F43nd1r)
*
* 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 ... | 7 | null | 51 | 200 | 31576a37d2c1eb61bb1d2641d7b214c87ce23fe1 | 1,330 | Acrarium | Apache License 2.0 |
compose-jetsnack/common/src/commonMain/kotlin/com/example/jetsnack/model/SnackbarManager.kt | Kotlin | 598,690,962 | false | {"Kotlin": 417771, "HTML": 11979, "JavaScript": 3324, "Swift": 1755, "Ruby": 101} | /*
* Copyright 2021 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 24 | Kotlin | 64 | 499 | 1b007347bf9f8a1ec3d420d30de1815768d5df02 | 1,613 | kotlin-wasm-examples | Apache License 2.0 |
src/main/kotlin/com/brydonleonard/gatekey/persistence/spring/SpringConfig.kt | BrydonLeonard | 692,129,514 | false | {"Kotlin": 74173, "Dockerfile": 292} | package com.brydonleonard.gatekey.persistence.spring
import com.brydonleonard.gatekey.Config
import com.brydonleonard.gatekey.persistence.model.ConversationStepModel
import com.brydonleonard.gatekey.persistence.model.DbMigrationModel
import com.brydonleonard.gatekey.persistence.model.FeedbackModel
import com.brydonleo... | 0 | Kotlin | 0 | 0 | c206ad07da679b7ed35a45c9ad539482e76f6b7f | 2,556 | GateKey | MIT License |
extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/CamundaBpmDataKotlin.kt | holunda-io | 213,882,987 | false | null | package io.holunda.camunda.bpm.data
import io.holunda.camunda.bpm.data.factory.*
import java.util.*
/**
* Provides reified methods for variable factory construction.
*/
object CamundaBpmDataKotlin {
/**
* Creates a string variable factory.
*
* @param variableName name of the variable.
*
* @return ... | 17 | null | 6 | 31 | 9c3657be2ab4b5c92047aa145557ea66e4d690c5 | 5,421 | camunda-bpm-data | Apache License 2.0 |
src/main/kotlin/com/liftric/dtcp/tasks/GetSuppressedVulnTask.kt | Liftric | 639,795,618 | false | {"Kotlin": 53856} | package com.liftric.dtcp.tasks
import com.liftric.dtcp.model.Finding
import com.liftric.dtcp.service.DependencyTrack
import org.gradle.api.DefaultTask
import org.gradle.api.GradleException
import org.gradle.api.provider.Property
import org.gradle.api.tasks.TaskAction
import org.gradle.api.tasks.Input
import org.gradle... | 2 | Kotlin | 1 | 7 | 78a49818633c380bf0e41124e5b93ec0604586f4 | 2,306 | dependency-track-companion-plugin | MIT License |
core/src/test/kotlin/com/karumi/kotlinsnapshot/core/CameraTest.kt | Karumi | 138,171,590 | false | null | package com.karumi.kotlinsnapshot.core
import com.karumi.kotlinsnapshot.matchWithSnapshot
import junit.framework.TestCase.fail
import org.junit.Test
class CameraTest {
companion object {
private const val WILL_NOT_MATCH = "will not match"
}
data class User(val id: Int, val name: String)
@Te... | 9 | null | 14 | 147 | 69fba61ca93080866a7ee90713595e1ead0bf1ba | 2,286 | KotlinSnapshot | MIT License |
domain/src/main/kotlin/com/seanshubin/code/structure/domain/CreateFileCommand.kt | SeanShubin | 678,139,745 | false | null | package com.seanshubin.code.structure.domain
import java.nio.charset.StandardCharsets
import java.nio.file.Path
data class CreateFileCommand(val path: Path, val lines: List<String>) : Command {
override fun execute(environment: Environment) {
environment.files.createDirectories(path.parent)
enviro... | 0 | Kotlin | 0 | 0 | 2625bb5033029187730efc1ea6650e2034c7fc88 | 383 | code-structure-2 | The Unlicense |
app/src/main/java/com/orange/ods/app/ui/AppBarState.kt | Orange-OpenSource | 440,548,737 | false | null | /*
* Software Name: Orange Design System
* SPDX-FileCopyrightText: Copyright (c) Orange SA
* SPDX-License-Identifier: MIT
*
* This software is distributed under the MIT licence,
* the text of which is available at https://opensource.org/license/MIT/
* or see the "LICENSE" file for more details.
*
* Software de... | 83 | null | 9 | 17 | f3b84c4cb002c760ec3d7458b427d7b011104d14 | 6,873 | ods-android | MIT License |
tony-boot-demo/tony-dto/src/main/kotlin/com/tony/dto/req/UserLoginReq.kt | beingEggache | 312,472,927 | false | {"Java": 1825396, "HTML": 354682, "Kotlin": 287327, "Dockerfile": 2745, "Shell": 2105, "CSS": 1466} | package com.tony.dto.req
import io.swagger.annotations.ApiModel
import io.swagger.annotations.ApiModelProperty
import javax.validation.constraints.NotBlank
/**
*
* @author tangli
* @since 2020-11-03 14:40
*/
@ApiModel("登录请求")
data class UserLoginReq(
@ApiModelProperty("用户名", required = true)
@get:NotBlan... | 1 | null | 1 | 1 | 1c2991364067f3c28e7f99cd46df3e8f4000b18c | 477 | tony-boot | MIT License |
src/main/kotlin/jp/nephy/penicillin/endpoints/stream/Sample.kt | colt005 | 186,767,944 | true | {"Kotlin": 1199305} | /*
* The MIT License (MIT)
*
* Copyright (c) 2017-2019 Nephy Project Team
*
* 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 ri... | 0 | Kotlin | 0 | 0 | d5860e3d9c7c95c7d7ec1879c080b114ca77e127 | 3,217 | Penicillin | MIT License |
spanly/src/main/kotlin/io/jmdg/spanly/Spanly.kt | joshuadeguzman | 170,096,158 | false | null | package io.jmdg.spanly
import android.text.SpannableStringBuilder
import io.jmdg.spanly.internal.helpers.span
/**
* Created by <NAME> on 2/11/19.
*/
class Spanly : SpannableStringBuilder() {
companion object {
val TAG = Spanly::class.java.simpleName
}
override fun append(text: CharSequence): ... | 0 | null | 6 | 5 | 65dac1490e07859e7a1221acc79a4cd04d4c4ac4 | 767 | Spanly | MIT License |
ui/src/main/java/dev/sunnyday/core/ui/fragment/CoreFragment.kt | SunnyDayDev | 178,215,276 | false | null | package dev.sunnyday.core.ui.fragment
import android.content.Intent
import androidx.fragment.app.Fragment
import dev.sunnyday.core.ui.listener.*
/**
* Created by <NAME> (SunnyDay.Dev) on 2019-03-28.
* mail: <EMAIL>
*/
open class CoreFragment: Fragment(),
OnBackPressedListener.Registry.Owner,
OnActivityRe... | 0 | Kotlin | 0 | 0 | ec79bad3cc61ecb2e0b2fa651caa6f73ccf39b33 | 2,818 | core | MIT License |
ui/src/main/java/dev/sunnyday/core/ui/fragment/CoreFragment.kt | SunnyDayDev | 178,215,276 | false | null | package dev.sunnyday.core.ui.fragment
import android.content.Intent
import androidx.fragment.app.Fragment
import dev.sunnyday.core.ui.listener.*
/**
* Created by <NAME> (SunnyDay.Dev) on 2019-03-28.
* mail: <EMAIL>
*/
open class CoreFragment: Fragment(),
OnBackPressedListener.Registry.Owner,
OnActivityRe... | 0 | Kotlin | 0 | 0 | ec79bad3cc61ecb2e0b2fa651caa6f73ccf39b33 | 2,818 | core | MIT License |
app/src/main/java/com/telenav/osv/data/collector/phonedata/collector/HardwareInfoCollector.kt | kartaview | 63,806,526 | false | null | package com.telenav.osv.data.collector.phonedata.collector
import android.os.Build
import android.os.Handler
import com.telenav.osv.data.collector.datatype.datatypes.HardwareInfoObject
import com.telenav.osv.data.collector.datatype.util.LibraryUtil
import com.telenav.osv.data.collector.phonedata.manager.PhoneDataListe... | 76 | Java | 30 | 130 | 66eb0ee1ab093562e2867087084b26803fe58174 | 783 | android | MIT License |
GameLib/src/main/kotlin/fr/o80/gamelib/service/condition/Operation.kt | olivierperez | 307,115,498 | false | null | package fr.o80.gamelib.service.condition
enum class Operation {
EQUAL,
DIFFERENT,
GTE,
LTE
}
| 1 | null | 1 | 4 | 913367faa0ffa72002e8b6ab88f6592f2e4b6028 | 110 | SoulGame | Apache License 2.0 |
boxicons/src/commonMain/kotlin/com/woowla/compose/icon/collections/boxicons/boxicons/solid/BxsMedal.kt | walter-juan | 868,046,028 | false | {"Kotlin": 34345428} | package com.woowla.compose.icon.collections.boxicons.boxicons.solid
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.graphic... | 0 | Kotlin | 0 | 3 | eca6c73337093fbbfbb88546a88d4546482cfffc | 2,529 | compose-icon-collections | MIT License |
app/src/main/java/com/linhtetko/efficientweatherapp/di/RepositoryModule.kt | lin-htet-ko | 726,358,254 | false | {"Kotlin": 95925, "CMake": 1249, "C++": 502} | package com.linhtetko.efficientweatherapp.di
import com.linhtetko.domain.di.DataModule
import com.linhtetko.domain.repositories.WeatherRepoImpl
import com.linhtetko.domain.repositories.WeatherRepository
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComp... | 0 | Kotlin | 0 | 0 | dea33ddf60850d8e3ec8fc6d121cb161ea65bd1a | 577 | efficient_weather_app | Apache License 2.0 |
app/src/main/java/com/example/studysmart/presentation/dashboard/DashboardScreen.kt | CodeInKotLang | 702,698,514 | false | {"Kotlin": 145710} | package com.example.studysmart.presentation.dashboard
import androidx.compose.foundation.Image
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.PaddingValues
import androidx.compose.foundation.layout.Row
import androidx.com... | 1 | Kotlin | 1 | 13 | def9cbb2f47187fce7a3eb743b046928dfda7e74 | 12,041 | StudySmart | MIT License |
example/android/app/src/main/kotlin/com/example/sms_export_import/sms_export_import_example/MainActivity.kt | kesmitopiwala | 441,432,557 | false | {"Kotlin": 24640, "Dart": 8795} | package com.example.sms_export_import.sms_export_import_example
import android.os.Bundle
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
}
}
| 0 | Kotlin | 0 | 0 | ab5f95a323b99b110e4868ad9014acfabba2213b | 293 | sms_export_import | MIT License |
app/src/main/java/com/example/nextgen/nearby/UpdateMapListener.kt | Vishwajith-Shettigar | 800,866,827 | false | {"Kotlin": 203666} | package com.example.nextgen.nearby
import com.example.model.Profile
interface UpdateMapListener {
fun updateMap(profile: Profile,outOfBound:Boolean)
}
| 30 | Kotlin | 49 | 17 | 553fd3b1fc6a8c3c26a944097326b051fbd8277f | 155 | NextGen | MIT License |
src/main/kotlin/com/firsttimeinforever/intellij/pdf/viewer/ui/editor/ResourceLoader.kt | NikolaiSviridov | 368,194,223 | true | {"Kotlin": 99005, "TypeScript": 29859, "Less": 1350, "HTML": 301} | package com.firsttimeinforever.intellij.pdf.viewer.ui.editor
import java.io.File
import java.io.FileNotFoundException
object ResourceLoader {
private val shouldFixPaths =
System.getProperty("os.name").toLowerCase().contains("windows")
fun load(file: File): ByteArray {
val targetPath = ens... | 0 | Kotlin | 0 | 0 | 7b0959e038a781fc5e98db60e6ccb6373f740709 | 834 | intellij-pdf-viewer | MIT License |
telegram-bot/src/main/kotlin/eu/vendeli/tgbot/types/internal/options/VideoOptions.kt | vendelieu | 496,567,172 | false | null | package eu.vendeli.tgbot.types.internal.options
import eu.vendeli.tgbot.types.ParseMode
import eu.vendeli.tgbot.types.internal.ImplicitFile
data class VideoOptions(
var duration: Int? = null,
var height: Int? = null,
var width: Int? = null,
var supportsStreaming: Boolean? = null,
var thumb: Implic... | 2 | Kotlin | 3 | 92 | 637844da81647abd3f04401dd1961f8331dc69ad | 832 | telegram-bot | Apache License 2.0 |
telegram-bot/src/main/kotlin/eu/vendeli/tgbot/types/internal/options/VideoOptions.kt | vendelieu | 496,567,172 | false | null | package eu.vendeli.tgbot.types.internal.options
import eu.vendeli.tgbot.types.ParseMode
import eu.vendeli.tgbot.types.internal.ImplicitFile
data class VideoOptions(
var duration: Int? = null,
var height: Int? = null,
var width: Int? = null,
var supportsStreaming: Boolean? = null,
var thumb: Implic... | 2 | Kotlin | 3 | 92 | 637844da81647abd3f04401dd1961f8331dc69ad | 832 | telegram-bot | Apache License 2.0 |
app/src/main/java/com/beone/kevin/ui/user/mainuser/MainUserFragment.kt | JamesSuryaSeputro | 292,648,188 | false | {"Kotlin": 161424} | package com.beone.kevin.ui.user.mainuser
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import androidx.navigation.fragment.findNavController
import com.beone.kevin.R
import kotlinx.android.synthetic.main.main_use... | 0 | Kotlin | 0 | 0 | ee14de1ea6d5b0a5f7399c4df7010f38e33bf2f4 | 1,135 | KevinAndroid | Apache License 2.0 |
bot/connector-messenger/src/main/kotlin/model/send/MediaType.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 | 963 | tock | Apache License 2.0 |
plugins/github/src/org/jetbrains/plugins/github/pullrequest/ui/details/GithubPullRequestDetailsPanel.kt | soyzhc | 161,265,572 | false | null | // Copyright 2000-2018 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 org.jetbrains.plugins.github.pullrequest.ui.details
import com.intellij.openapi.Disposable
import com.intellij.openapi.roots.ui.componentsList.components.ScrollablePanel
... | 4 | null | 1 | 1 | e45818aa6b54215ed0c69d1ad81abc7cac3240f8 | 4,899 | intellij-community | Apache License 2.0 |
plugin-bsp/src/main/kotlin/org/jetbrains/plugins/bsp/magicmetamodel/impl/workspacemodel/impl/updaters/ModuleEntityUpdater.kt | JetBrains | 826,262,028 | false | null | package org.jetbrains.plugins.bsp.impl.magicmetamodel.impl.workspacemodel.impl.updaters
import com.intellij.openapi.module.impl.ModuleManagerEx
import com.intellij.openapi.project.Project
import com.intellij.platform.workspace.jps.entities.DependencyScope
import com.intellij.platform.workspace.jps.entities.LibraryDepe... | 8 | null | 8 | 45 | 1d79484cfdf8fc31d3a4b214655e857214071723 | 6,182 | hirschgarten | Apache License 2.0 |
basick/src/main/java/com/mozhimen/basick/utilk/android/content/UtilKApplicationInfo.kt | mozhimen | 353,952,154 | false | null | package com.mozhimen.basick.utilk.android.content
import android.content.Context
import android.content.pm.ApplicationInfo
import android.content.pm.PackageInfo
import android.content.pm.PackageManager
import android.graphics.drawable.Drawable
import java.lang.IllegalArgumentException
/**
* @ClassName UtilKApplicati... | 0 | null | 6 | 112 | efbc55d940b169511106a9b813513fc3f86df1fb | 2,403 | SwiftKit | Apache License 2.0 |
aws-storage-s3/src/main/java/com/amplifyframework/storage/s3/transfer/UploadOptions.kt | aws-amplify | 177,009,933 | false | null | /*
* Copyright 2021 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" ... | 103 | null | 115 | 245 | c1030d45909bb6e2ace4dc195047f9c2a8630fe2 | 1,073 | amplify-android | Apache License 2.0 |
app/src/main/java/org/queiroz/themoviedb/movies/repository/MoviesRepositoryImpl.kt | queiroz | 237,280,338 | false | {"Kotlin": 67194} | package org.queiroz.themoviedb.movies.repository
import org.queiroz.themoviedb.api.ApiService
import org.queiroz.themoviedb.api.networkRequest
import org.queiroz.themoviedb.model.TmdbMovies
import org.queiroz.themoviedb.util.Resource
import javax.inject.Inject
import javax.inject.Singleton
@Singleton
class MoviesRepo... | 0 | Kotlin | 0 | 0 | 9e00020ee260523afe52f5721655caead2ec5b66 | 547 | themoviedb | Apache License 2.0 |
app/src/main/java/com/alirezaafkar/phuzei/presentation/muzei/PhotosArtSource.kt | QuinnDamerell | 264,998,941 | true | {"Kotlin": 54912, "IDL": 1746, "Prolog": 988} | package com.alirezaafkar.phuzei.presentation.muzei
import android.annotation.SuppressLint
import android.content.Intent
import androidx.core.net.toUri
import com.alirezaafkar.phuzei.App
import com.alirezaafkar.phuzei.data.model.Media
import com.alirezaafkar.phuzei.data.model.isImage
import com.alirezaafkar.phuzei.data... | 0 | null | 0 | 0 | f85236c2e7f2a94f27bdd7a0dd7e03dc28b5ce84 | 2,688 | phuzei | Apache License 2.0 |
app/src/main/java/h/lillie/reborntube/settings/SponsorBlockSettings.kt | LillieH1000 | 517,439,028 | false | {"Kotlin": 174939} | package h.lillie.reborntube.settings
import android.app.AlertDialog
import android.os.Bundle
import android.content.res.ColorStateList
import androidx.appcompat.app.AppCompatActivity
import com.google.android.material.button.MaterialButton
import h.lillie.reborntube.R
class SponsorBlockSettings : AppCompatActivity() ... | 1 | Kotlin | 1 | 9 | 57412084391c244657d51df0010ea41323103900 | 44,339 | RebornTube | MIT License |
subprojects/xcfa/xcfa-analysis/src/main/java/hu/bme/mit/theta/xcfa/analysis/XcfaSingeExprTraceRefiner.kt | ftsrg | 39,392,321 | false | {"Java": 5132879, "Kotlin": 1301970, "C": 278090, "ANTLR": 121913, "C++": 110696, "SWIG": 65732, "SMT": 24985, "Shell": 5456, "Dockerfile": 2404, "PowerShell": 865} | /*
* Copyright 2024 Budapest University of Technology and Economics
*
* 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
*
* Unles... | 53 | Java | 43 | 49 | cb77d7e6bb0e51ea00d2a1dc483fdf510dd8e8b4 | 7,671 | theta | Apache License 2.0 |
data/paging/src/main/java/be/appwise/paging/base/pager/BaseRemotePager.kt | wisemen-digital | 349,150,482 | false | {"Kotlin": 255860} | package be.appwise.paging.base.pager
import androidx.paging.ExperimentalPagingApi
import androidx.paging.PagingConfig
import androidx.paging.PagingData
import kotlinx.coroutines.flow.Flow
interface BaseRemotePager<T : Any> : CoreRemotePager {
/**
* This functions expects to returns an [androidx.paging.Pager... | 7 | Kotlin | 5 | 5 | a6998e4298e44c1a5a8d01b47e7bca9cf69e8f8f | 630 | AndroidCore | MIT License |
di/di/src/main/java/vn/tiki/android/di/internal/Linker.kt | talenguyen | 140,232,102 | false | {"Gradle": 41, "Text": 1, "Ignore List": 27, "EditorConfig": 7, "Markdown": 17, "Java Properties": 11, "Shell": 7, "Batchfile": 6, "XML": 92, "Kotlin": 92, "INI": 9, "Proguard": 6, "Java": 1, "Python": 1} | package vn.tiki.android.di.internal
class Linker internal constructor(internal val factories: MutableMap<Class<*>, Factory<*>> = mutableMapOf()) {
fun <T> install(key: Class<T>, factory: Factory<T>) {
factories[key] = factory
}
@Suppress("UNCHECKED_CAST")
fun <T> factoryFor(key: Class<T>): Factory<T> {
... | 1 | null | 1 | 1 | 0c95b618da5c00fc9428eba166527f0767e4fd4b | 853 | AndroidDevelopment | Apache License 2.0 |
src/jvmMain/kotlin/software/momento/kotlin/sdk/internal/InternalControlClient.jvm.kt | momentohq | 724,323,089 | false | {"Kotlin": 265819} | package software.momento.kotlin.sdk.internal
import grpc.control_client._CreateCacheRequest
import grpc.control_client._DeleteCacheRequest
import grpc.control_client._ListCachesRequest
import io.grpc.Metadata
import software.momento.kotlin.sdk.auth.CredentialProvider
import software.momento.kotlin.sdk.config.Configura... | 8 | Kotlin | 1 | 0 | 8dcf38374acd0e1b34c10a3af62dcbe3332d0885 | 4,054 | client-sdk-kotlin | Apache License 2.0 |
.teamcity/patches/templates/EnforcedTemplate.kts | nuke-build | 93,804,681 | false | {"C#": 17217584, "HTML": 1116292, "PowerShell": 6610, "Shell": 5202, "Kotlin": 822, "Batchfile": 414, "Dockerfile": 184} | package patches.templates
import jetbrains.buildServer.configs.kotlin.v2018_1.*
import jetbrains.buildServer.configs.kotlin.v2018_1.Template
import jetbrains.buildServer.configs.kotlin.v2018_1.buildFeatures.PullRequests
import jetbrains.buildServer.configs.kotlin.v2018_1.buildFeatures.commitStatusPublisher
import jetb... | 76 | C# | 359 | 2,980 | c8d9236a19446f15c1b6b2e22a6f4b4f474d20ca | 1,399 | nuke | MIT License |
core/src/main/java/de/schwerin/stoppCoronaDE/skeleton/core/model/helpers/AppDispatchers.kt | Mandarin-Medien | 269,321,452 | false | null | package de.schwerin.stoppCoronaDE.skeleton.core.model.helpers
import kotlinx.coroutines.Dispatchers
import kotlin.coroutines.CoroutineContext
/**
* Collection of coroutine dispatchers that can be overridden in Unit tests.
*/
interface AppDispatchers {
@Suppress("PropertyName")
val Default: CoroutineContext... | 0 | Kotlin | 0 | 1 | a8a489c25b55cce8b14d60b9afa3fb44cfecab43 | 710 | stopp-corona-de-android | Apache License 2.0 |
app/src/main/java/com/ps/movie/util/DispatchersProvider.kt | satyamgarg | 709,651,406 | false | {"Kotlin": 79571, "Java": 47915} | package com.ps.movie.util
import kotlinx.coroutines.CoroutineDispatcher
interface DispatchersProvider {
val main: CoroutineDispatcher
val io: CoroutineDispatcher
val default: CoroutineDispatcher
}
| 0 | Kotlin | 0 | 0 | a1277958a4c554ed5902f34f0d1b5f449579b437 | 211 | ps-movie-app | MIT License |
server/src/main/kotlin/cn/yjl/resp/RespCode.kt | Yin-Jinlong | 689,947,942 | false | {"Kotlin": 85775, "Vue": 45426, "TypeScript": 10700, "SCSS": 7673, "HTML": 271} | package cn.yjl.resp
/**
* 预定义的返回代码和消息
*
* @author YJL
*/
enum class RespCode(val code: Int, val msg: String) {
/**
* OK
*/
OK(0, "OK"),
/**
* 没有附加消息
*/
NOTHING(0, "Nothing"),
/**
* 参数校验失败,格式等不正确
*/
VALIDATE_FAILED(10, "参数校验失败"),
/**
* 用户登录成功
*/... | 0 | Kotlin | 0 | 0 | af45158e38c60e4bb0c555c09750d62d8f5807ef | 996 | ssm-web | Apache License 2.0 |
exposed-tests/src/test/kotlin/org/jetbrains/exposed/sql/tests/shared/NestedTransactionsTest.kt | JetBrains | 11,765,017 | false | null | package org.jetbrains.exposed.sql.tests.shared
import org.jetbrains.exposed.sql.insert
import org.jetbrains.exposed.sql.selectAll
import org.jetbrains.exposed.sql.tests.DatabaseTestsBase
import org.jetbrains.exposed.sql.tests.shared.dml.DMLTestsData
import org.jetbrains.exposed.sql.transactions.TransactionManager
impo... | 5 | null | 679 | 8,137 | b766aa7b29dbe82ed37e114a73fa97b1d32d24f5 | 2,752 | Exposed | Apache License 2.0 |
src/commonMain/kotlin/fr/acinq/lightning/channel/WaitForChannelReady.kt | ACINQ | 243,326,972 | false | null | package fr.acinq.lightning.channel
import fr.acinq.lightning.ChannelEvents
import fr.acinq.lightning.ShortChannelId
import fr.acinq.lightning.blockchain.BITCOIN_FUNDING_DEEPLYBURIED
import fr.acinq.lightning.blockchain.WatchConfirmed
import fr.acinq.lightning.blockchain.WatchEventConfirmed
import fr.acinq.lightning.bl... | 21 | Kotlin | 13 | 48 | d36d723fe9644f8ff0ca31703e23903367943d1e | 7,770 | lightning-kmp | Apache License 2.0 |
Kernl.Common/src/main/kotlin/org/mattshoe/shoebox/kernl/KernlEvent.kt | mattshoe | 825,957,770 | false | {"Kotlin": 344588, "Shell": 1045} | package org.mattshoe.shoebox.kernl
/**
* Represents events that affect the state of the cache, such as invalidation and refresh events.
* This sealed interface defines different types of events that can be emitted to manage the cache's lifecycle.
*/
sealed interface KernlEvent {
/**
* Indicates that the c... | 19 | Kotlin | 1 | 9 | 72110575d93274e990ebf92bb90ed49e35a96d9a | 1,549 | kernl | Apache License 2.0 |
src/main/kotlin/org/example/inflearnspringsecurityjwt/member/repository/MemberRepositories.kt | KangminNa | 759,698,862 | false | {"Kotlin": 23049, "Assembly": 20} | package org.example.inflearnspringsecurityjwt.member.repository
import org.example.inflearnspringsecurityjwt.member.entitiy.Member
import org.example.inflearnspringsecurityjwt.member.entitiy.MemberRole
import org.springframework.data.jpa.repository.JpaRepository
interface MemberRepository : JpaRepository<Member, L... | 1 | Kotlin | 0 | 0 | a1799e283ba881066a774291e9575b71a92721b9 | 444 | inflearn-spring-security-jwt | MIT License |
app/src/main/java/com/example/instagram/CommentsActivity.kt | Raghavarya2002 | 331,052,361 | false | null | package com.example.instagram
import android.os.Bundle
import android.view.View
import android.widget.Toast
import androidx.appcompat.app.AppCompatActivity
import androidx.recyclerview.widget.LinearLayoutManager
import androidx.recyclerview.widget.RecyclerView
import com.example.instagram.Adapter.CommentAdapter
import... | 2 | Kotlin | 1 | 1 | 1a0dbcbf95b91fe0514d02e43fef371c5338b141 | 5,363 | Instagram-Clone | MIT License |
app/src/main/java/com/webaddicted/kotlinproject/view/deviceinfo/DeviceDetailsFrm.kt | morristech | 332,046,416 | true | {"Kotlin": 942645, "Java": 311227} | package com.webaddicted.kotlinproject.view.deviceinfo
import android.annotation.SuppressLint
import android.content.Context
import android.content.res.Configuration
import android.os.Build
import android.os.Bundle
import android.provider.Settings
import android.text.Html
import android.util.DisplayMetrics
import andro... | 0 | null | 0 | 0 | 5bd58ffe6c9608757f81d523ac2c107708346319 | 2,897 | KotlinProject | Apache License 2.0 |
core/network/src/main/java/com/reddity/app/network/model/NetworkSubredditDetail.kt | fatih-ozturk | 501,051,682 | false | null | /*
* Copyright 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... | 2 | Kotlin | 1 | 9 | 173317f3185aad4414e826ea2a34e62c2c210965 | 1,196 | Reddity | Apache License 2.0 |
src/main/kotlin/net/kunmc/lab/netherblockconverter/game/GameManager.kt | TeamKun | 387,051,822 | false | null | package net.kunmc.lab.netherblockconverter.game
import java.util.*
class GameManager {
companion object {
var converterPlayers = mutableListOf<UUID>()
}
} | 0 | Kotlin | 0 | 0 | 87475eb7367edda27f820a1e88052fdea9cf40e6 | 172 | NetherBlockConverter | MIT License |
app/src/main/java/com/nsk/app/bussiness/card/OneClickCardActivity.kt | StephenGiant | 230,359,216 | false | null | package com.nsk.app.bussiness.card
import android.graphics.Color
import android.text.TextUtils
import android.view.View
import android.widget.TextView
import com.alibaba.android.arouter.facade.annotation.Route
import com.alibaba.android.arouter.launcher.ARouter
import com.bigkoo.pickerview.builder.OptionsPickerBuilder... | 1 | null | 1 | 1 | d4bd736b90989a2a8b774dafcc57ab8aa42aabae | 11,527 | fuckcky | Apache License 2.0 |
app/src/main/java/com/ramadan/freindstdd/SignupState.kt | mrabelwahed | 558,716,704 | false | null | package com.ramadan.freindstdd
sealed class SignupState {
object BadEmail : SignupState()
object BadPassword : SignupState()
}
| 0 | Kotlin | 0 | 0 | 05d1fa4a1aa4931b44024a807c444afe321dc927 | 130 | FriendsTDD | Apache License 2.0 |
src/main/kotlin/leetcode/kotlin/49. Group Anagrams.kt | sandeep549 | 262,513,267 | false | null | package leetcode.kotlin
import java.util.Arrays
private fun groupAnagrams2(strs: Array<String>): List<List<String>> {
fun isanagram(s1: String, s2: String): Boolean {
if (s1.length != s2.length) return false
val map = mutableMapOf<Char, Int>()
for (i in s1.indices) {
var ch = s... | 1 | Kotlin | 0 | 0 | 166e24331a24a73051995ccd31db2cf56523c432 | 2,219 | leetcode-kotlin | Apache License 2.0 |
core/usecases/src/test/kotlin/character/BuildNewCharacterTest.kt | Soyle-Productions | 239,407,827 | false | null | package com.soyle.stories.usecase.character
import arrow.core.Either
import arrow.core.left
import arrow.core.right
import com.soyle.stories.domain.character.Character
import com.soyle.stories.domain.character.characterName
import com.soyle.stories.domain.mustEqual
import com.soyle.stories.domain.nonBlankStr
import co... | 45 | Kotlin | 0 | 9 | 1a110536865250dcd8d29270d003315062f2b032 | 11,541 | soyle-stories | Apache License 2.0 |
app/src/main/java/com/consistence/pinyin/app/PinyinModel.kt | nemanjanedic | 139,743,535 | true | {"Kotlin": 96949} | package com.consistence.pinyin.app
import android.app.Application
import com.consistence.pinyin.Model
import com.consistence.pinyin.R
import io.reactivex.Observable
import javax.inject.Inject
class PinyinModel @Inject internal constructor(application: Application) : Model<PinyinIntent, PinyinState>(application) {
... | 0 | Kotlin | 0 | 0 | 45062d9ef1f69ca838c8f157a9f6ec6c0f4a5c5e | 1,061 | android-mvi | Apache License 2.0 |
app/src/main/java/nick/mirosh/newsapp/ui/animations/AnimationContent.kt | nsmirosh | 644,001,365 | false | {"Kotlin": 68913} | package nick.mirosh.newsapp.ui.animations
import androidx.compose.animation.core.animateFloatAsState
import androidx.compose.animation.core.tween
import androidx.compose.foundation.Canvas
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundat... | 0 | Kotlin | 1 | 2 | 83ea959a7b5f7c06e6a85784591573596d13ebdd | 5,418 | NewsApp | MIT License |
tabler/src/commonMain/kotlin/com/woowla/compose/icon/collections/tabler/tabler/outline/ChartColumn.kt | walter-juan | 868,046,028 | false | {"Kotlin": 20416825} | package com.woowla.compose.icon.collections.tabler.tabler.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.vector.ImageVector
import androidx.compose.ui.graphics.vector... | 0 | Kotlin | 0 | 1 | b037895588c2f62d069c724abe624b67c0889bf9 | 5,549 | compose-icon-collections | MIT License |
app/src/main/java/com/example/androiddevchallenge/data/api/entities/Forecast.kt | fgoncalves | 349,052,322 | false | null | package com.example.androiddevchallenge.data.api.entities
import com.squareup.moshi.Json
import com.squareup.moshi.JsonClass
@JsonClass(generateAdapter = true)
data class Forecast(
@Json(name = "dt")
val dt: Long,
@Json(name = "sunrise")
val sunrise: Long? = null,
@Json(name = "sunset")
val su... | 0 | Kotlin | 0 | 0 | af35d750b061cf3ad896cb46583fa60256e2d86e | 1,011 | compose-weather | Apache License 2.0 |
core/src/main/java/com/larryhsiao/nyx/core/jots/PostedJot.kt | LarryHsiao | 192,473,048 | false | null | package com.larryhsiao.nyx.core.jots
import com.larryhsiao.clotho.Source
import java.sql.Connection
import java.util.*
/**
* Source to build a Jot that just updated or created.
*/
class PostedJot constructor(
private val db: Source<Connection>,
private val jot: Jot,
private val updateVer: Boolean = true... | 15 | Kotlin | 1 | 1 | 518f547f913a48394f7301eff89ec7a43d7be80e | 852 | Nyx | MIT License |
app/src/main/java/tech/takenoko/cleanarchitecturex/entities/room/UserDao.kt | TakenokoTech | 224,243,588 | false | null | package tech.takenoko.cleanarchitecturex.entities.room
import androidx.lifecycle.LiveData
import androidx.room.Dao
import androidx.room.Insert
import androidx.room.Query
import tech.takenoko.cleanarchitecturex.repository.local.UserLocalDataSource
@Dao
interface UserDao {
@Insert
suspend fun insertAll(vararg ... | 1 | Kotlin | 0 | 3 | 3fe34a5d239c7baece4de3a8416c9fd80fe129a2 | 1,043 | CleanArchitectureX | MIT License |
kotlinx-coroutines-core/jvm/test/lincheck/MutexLincheckTest.kt | hltj | 151,721,407 | false | null | /*
* Copyright 2016-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
*/
@file:Suppress("unused")
package kotlinx.coroutines.lincheck
import kotlinx.coroutines.*
import kotlinx.coroutines.sync.*
import org.jetbrains.kotlinx.lincheck.*
import org.jetbrains.kotlinx.lincheck.annotatio... | 1 | null | 106 | 255 | 9565dc2d1bc33056dd4321f9f74da085e6c0f39e | 1,107 | kotlinx.coroutines-cn | Apache License 2.0 |
server-testing/src/test/kotlin/InMemoryDatabaseTests.kt | lightningkite | 512,032,499 | false | null | package com.lightningkite.lightningdb.test
import com.lightningkite.lightningdb.*
import com.lightningkite.lightningserver.auth.*
import com.lightningkite.lightningserver.cache.Cache
import com.lightningkite.lightningserver.cache.CacheSettings
import com.lightningkite.lightningserver.cache.CacheTest
import com.lightni... | 1 | Kotlin | 1 | 3 | d9a8407cad1091aa6ae4e5e3e598b91e9c23bd2a | 6,913 | lightning-server | MIT License |
BestTrip/app/src/main/java/com/example/minhquan/besttrip/login/view/ListTaxi.kt | leanhthien | 141,224,809 | true | {"Kotlin": 76443, "Java": 1119} | package com.example.minhquan.besttrip.login.view
import android.os.Bundle
import android.support.v7.app.AppCompatActivity
import android.support.v7.widget.LinearLayoutManager
import android.support.v7.widget.RecyclerView
import com.example.minhquan.besttrip.R
import com.example.minhquan.besttrip.adapter.TaxiAdapter
im... | 0 | Kotlin | 0 | 0 | 37fd3b11e385155e96c8984898cee2e80a54e4c8 | 3,521 | BestTrip | Apache License 2.0 |
app/src/main/java/me/shreyasr/chatse/chat/ChatActivity.kt | ninadmg | 96,411,626 | false | {"Gradle": 3, "INI": 1, "Markdown": 2, "Shell": 1, "Ignore List": 1, "Batchfile": 1, "Java Properties": 1, "JSON": 1, "Proguard": 1, "Java": 5, "XML": 17, "Kotlin": 24} | package me.shreyasr.chatse.chat
import android.content.ComponentName
import android.content.Context
import android.content.Intent
import android.content.ServiceConnection
import android.os.*
import android.support.design.widget.TabLayout
import android.support.v4.view.ViewPager
import android.support.v7.app.AppCompatA... | 1 | null | 1 | 1 | 37fbe3046ad93db603c89bb62a93d9fb90e3b66a | 4,731 | ChatSE | Apache License 2.0 |
src/main/kotlin/sparta/nbcamp/wachu/domain/review/repository/v1/ReviewRepository.kt | spartaKotlinTeamSober | 828,133,738 | false | {"Kotlin": 172694, "Dockerfile": 666} | package sparta.nbcamp.wachu.domain.review.repository.v1
import org.springframework.data.domain.Page
import org.springframework.data.domain.Pageable
import sparta.nbcamp.wachu.domain.review.model.v1.Review
interface ReviewRepository {
fun findById(id: Long): Review?
fun findAll(pageable: Pageable): Page<Review... | 6 | Kotlin | 1 | 0 | aca4ad613b9b775ec26b95f12408f0fcac5d0ed5 | 391 | wachu_server | MIT License |
goProControllerAndroid/src/test/java/com/bortxapps/goprocontrollerandroid/feature/connection/GoProConnectorImplTest.kt | neoBortx | 692,337,190 | false | {"Kotlin": 361746, "Java": 572} | package com.bortxapps.goprocontrollerandroid.feature.connection
import android.bluetooth.BluetoothDevice
import android.content.Context
import app.cash.turbine.test
import com.bortxapps.goprocontrollerandroid.domain.data.GoProBleConnectionStatus
import com.bortxapps.goprocontrollerandroid.domain.data.GoProError
import... | 0 | Kotlin | 0 | 1 | d1b7ec3c40a8f0438dcd5f568af0752b4e9092c1 | 5,648 | goProController | Apache License 2.0 |
app/src/main/java/dev/sertan/android/paper/ui/addnote/AddNoteFragment.kt | scnplt | 385,908,880 | false | null | package dev.sertan.android.paper.ui.addnote
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import androidx.fragment.app.viewModels
import dagger.hilt.android.AndroidEntryPoint
import dev.sertan.android.paper.datab... | 0 | Kotlin | 0 | 0 | c6a973d14a4d473ecae5e22f6076a4e0be19013a | 1,298 | paper | MIT License |
presentation/src/main/java/com/aliasadi/clean/ui/moviedetails/MovieDetailsFragment.kt | AliAsadi | 264,456,753 | false | null | package com.aliasadi.clean.ui.moviedetails
import android.graphics.drawable.Drawable
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import androidx.core.content.ContextCompat
import androidx.fragment.app.viewModels
import androidx.navigation.fragment.navArgs
import com.aliasadi.cl... | 1 | null | 17 | 89 | bcc165e6fd628cb4bcf11fca9eedabb33ed25d28 | 2,523 | Android-Clean-Architecture | Apache License 2.0 |
imgui-core/src/main/kotlin/imgui/internal/api/inputText.kt | Wicpar | 232,814,537 | true | {"Kotlin": 1778437, "Java": 136969} | package imgui.internal.api
import gli_.has
import glm_.compareTo
import glm_.func.common.min
import glm_.glm
import glm_.i
import glm_.vec2.Vec2
import glm_.vec4.Vec4
import imgui.*
import imgui.ImGui.beginChildFrame
import imgui.ImGui.beginGroup
import imgui.ImGui.calcItemSize
import imgui.ImGui.calcItemWidth
import ... | 0 | null | 0 | 0 | b06800f8db31a2da5aec3730e0d1e395583e5b35 | 50,025 | imgui | MIT License |
portal/core/src/main/java/com/serious/portal/DeploymentManager.kt | coolsamson7 | 700,938,199 | false | {"Kotlin": 283465, "TypeScript": 228658, "HTML": 30094, "SCSS": 11216, "JavaScript": 3100, "Dockerfile": 1558, "CSS": 1409, "Shell": 1112} | package com.serious.portal
/*
* @COPYRIGHT (C) 2016 Andreas Ernst
*
* All rights reserved
*/
import com.serious.portal.model.Deployment
import com.serious.portal.model.Feature
import com.serious.portal.model.Manifest
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.stereotyp... | 0 | Kotlin | 0 | 1 | ca1b6135229bf0ad902650dc0e7a87efd1ddd2cf | 2,714 | service | Apache License 2.0 |
enode/src/main/java/org/enodeframework/domain/AggregateCacheInfo.kt | anruence | 165,245,292 | false | null | package org.enodeframework.domain
import org.enodeframework.common.extensions.SystemClock
import java.util.*
/**
* @author <EMAIL>
*/
class AggregateCacheInfo(var aggregateRoot: AggregateRoot) {
private var lastUpdateTime: Date
init {
lastUpdateTime = Date()
}
fun updateAggregateRoot(aggre... | 1 | null | 55 | 205 | 22c81b98b36a6a221d026272594eaf7817145e0f | 569 | enode | MIT License |
app/src/main/java/com/example/happyweather/logic/model/Weather.kt | ambitionlin | 468,588,496 | false | {"Kotlin": 28842} | package com.example.knweather.logic.model
data class Weather(val realtime: RealtimeResponse.Realtime, val daily: DailyResponse.Daily) | 0 | Kotlin | 0 | 1 | ff2f465fbae719810882d08914f03635c9c59cee | 134 | HappyWeather | Apache License 2.0 |
CRM/src/main/kotlin/org/example/crm/services/HistoryService.kt | M4tT3d | 874,249,564 | false | {"Kotlin": 354206, "TypeScript": 180680, "JavaScript": 3610, "Dockerfile": 2844, "CSS": 2078, "HTML": 302} | package org.example.crm.services
import org.example.crm.dtos.HistoryDTO
import org.example.crm.dtos.request.create.CHistoryDTO
interface HistoryService {
fun create(createHistoryDTO: CHistoryDTO): HistoryDTO
fun findHistoryByMessageId(pageNumber: Int, limit: Int, messageId: Long): List<HistoryDTO>
} | 0 | Kotlin | 0 | 0 | 26ff03cc3863e278d0ec6b87ced384122cf66c98 | 311 | wa2-project-job-placement | MIT License |
src/main/kotlin/herbaccara/map/naver/form/RasterForm.kt | herbaccara | 616,228,341 | false | null | package herbaccara.map.naver.form
import com.toasttab.ksp.builder.annotations.GenerateBuilder
import herbaccara.map.Coordinate
@GenerateBuilder
data class RasterForm @JvmOverloads constructor(
val width: Int,
val height: Int,
val center: Coordinate? = null,
val crs: String? = null,
val level: Int?... | 0 | Kotlin | 0 | 0 | 1bbc39e5e32d0a30a1ea5f14c4c82353e4ac52c2 | 1,789 | spring-boot-starter-map | MIT License |
backend/src/main/java/com/paligot/confily/backend/speakers/SpeakerDb.kt | GerardPaligot | 444,230,272 | false | null | package org.gdglille.devfest.backend.speakers
data class SpeakerDb(
val id: String = "",
val displayName: String = "",
val pronouns: String? = null,
val bio: String = "",
val email: String? = null,
val jobTitle: String? = null,
val company: String? = null,
val photoUrl: String = "",
... | 9 | null | 6 | 143 | 8c0985b73422d6b388012d79c7ab33c054dc55c1 | 484 | Confily | Apache License 2.0 |
paymentsheet/src/androidTest/java/com/stripe/android/paymentsheet/PaymentMethodsUITest.kt | stripe | 6,926,049 | false | null | package com.stripe.android.paymentsheet
import androidx.compose.animation.ExperimentalAnimationApi
import androidx.compose.runtime.collectAsState
import androidx.compose.runtime.getValue
import androidx.compose.ui.test.SemanticsNodeInteraction
import androidx.compose.ui.test.assertIsDisplayed
import androidx.compose.u... | 64 | Kotlin | 522 | 935 | bec4fc5f45b5401a98a310f7ebe5d383693936ea | 5,937 | stripe-android | MIT License |
src/main/kotlin/com/github/darderion/mundaneassignmentpolice/checker/rule/section/SectionSizeRule.kt | Darderion | 410,550,044 | false | {"Kotlin": 207843, "HTML": 185970, "TypeScript": 52959, "CSS": 7720, "Shell": 2338, "Python": 1435, "Dockerfile": 541} | package com.github.darderion.mundaneassignmentpolice.checker.rule.section
import com.github.darderion.mundaneassignmentpolice.checker.ComparisonType
import com.github.darderion.mundaneassignmentpolice.checker.RuleViolation
import com.github.darderion.mundaneassignmentpolice.checker.RuleViolationType
import com.github.... | 7 | Kotlin | 7 | 14 | 57c28f157c40d752da6ebe89a41e6bc0b0137ae1 | 3,090 | map | MIT License |
src/main/kotlin/com/github/kotlin_di/common/plugins/KeyDefinition.kt | Kotlin-DI | 458,728,871 | false | null | package com.github.kotlin_di.common.plugins
import com.github.kotlin_di.common.types.Key
interface KeyDefinition {
val version: String
fun keys(): List<Key<*, *>>
}
| 0 | Kotlin | 0 | 0 | 63c912e1d75e3aa649ebc97db5d564ac9093dc77 | 176 | common | MIT License |
src/main/kotlin/com/myworld/schat/data/repository/ChatGroupPhotoRepository.kt | bellmit | 463,833,836 | false | null | package com.myworld.schat.data.repository
import com.myworld.schat.data.entity.ChatGroupPhoto
import org.springframework.data.jpa.repository.JpaRepository
import org.springframework.stereotype.Repository
import org.springframework.transaction.annotation.Transactional
@Transactional
@Repository
interface ChatGroupPhot... | 0 | null | 0 | 0 | 581532fb1253f0c4cd6b5a8d83f3e3f1c39a7d65 | 372 | schatsql | MIT License |
app/src/main/java/com/example/yemekuygulamasi/data/entitiy/YemekCevap.kt | muhammedsametakgul | 628,969,772 | false | null | package com.example.yemekuygulamasi.data.entitiy
data class YemekCevap(var yemekler : List<Yemekler>,var success:Int)
| 0 | Kotlin | 0 | 5 | 1856a252748f32d66586288166ff69b3915a8bf0 | 119 | Food_Order_App | MIT License |
src/main/kotlin/com/github/cnrture/quickprojectwizard/xmlarch/ui/EmptyMainFragment.kt | cnrture | 849,704,826 | false | {"Kotlin": 138780} | package com.github.cnrture.quickprojectwizard.xmlarch.ui
fun emptyMainFragment(packageName: String, screen: String, isHiltEnable: Boolean): String {
return if (isHiltEnable) {
hilt(packageName, screen)
} else {
withoutHilt(packageName, screen)
}
}
private fun hilt(packageName: String, scre... | 2 | Kotlin | 2 | 32 | f52310e5738c0974bf5e6b3e5c51c5b0070d2316 | 2,960 | QuickProjectWizard | Apache License 2.0 |
app/src/main/kotlin/com/dmko/bulldogvods/di/modules/NetworkModule.kt | dmitrykochanov | 477,314,891 | false | null | package com.dmko.bulldogvods.di.modules
import com.apollographql.apollo3.ApolloClient
import com.dmko.bulldogvods.app.common.network.ApolloClientFactory
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent
import javax.inject.Singleton
@Module
@Inst... | 0 | Kotlin | 0 | 1 | 0aa6ec12113a0366c81c236cc6288e72ed15798c | 555 | BulldogVods | MIT License |
idea/testData/quickfix/modifiers/suspend/public.kt | JakeWharton | 99,388,807 | false | null | // "Make bar suspend" "true"
suspend fun foo() {}
public fun bar() {
<caret>foo()
}
// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddSuspendModifierFix | 1 | null | 28 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 167 | kotlin | Apache License 2.0 |
app/src/main/java/com/kardia/membership/domain/api/TwitterAPI.kt | trungthaihieu93-dev | 359,315,080 | false | null | package com.kardia.membership.domain.api
import com.kardia.membership.domain.entities.news.LatestNewsEntity
import retrofit2.Call
import retrofit2.http.GET
import retrofit2.http.Headers
internal interface TwitterAPI {
companion object {
private const val GET_LATEST_NEW = "1.1/search/tweets.json?q=from:kar... | 0 | null | 0 | 0 | 00e51171479e259edbccf36ee155dc8e4489e40f | 696 | kai-membership-kotlin | MIT License |
platform/testFramework/core/src/com/intellij/platform/testFramework/core/FileComparisonFailedError.kt | JetBrains | 2,489,216 | false | null | // Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.platform.testFramework.core
import com.intellij.rt.execution.junit.FileComparisonData
import org.opentest4j.AssertionFailedError
import org.opentest4j.FileInfo
import org.opente... | 284 | null | 5162 | 16,707 | def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0 | 2,219 | intellij-community | Apache License 2.0 |
libs/messaging/messaging-impl/src/test/kotlin/net/corda/messaging/subscription/consumer/listener/OffsetProviderListenerTest.kt | corda | 346,070,752 | false | {"Kotlin": 20585393, "Java": 308202, "Smarty": 115357, "Shell": 54409, "Groovy": 30246, "PowerShell": 6470, "TypeScript": 5826, "Solidity": 2024, "Batchfile": 244} | package net.corda.messaging.subscription.consumer.listener
import net.corda.messagebus.api.CordaTopicPartition
import net.corda.messagebus.api.consumer.CordaConsumer
import net.corda.messaging.api.exception.CordaMessageAPIFatalException
import net.corda.messaging.api.subscription.listener.ConsumerOffsetProvider
import... | 14 | Kotlin | 27 | 69 | 0766222eb6284c01ba321633e12b70f1a93ca04e | 5,732 | corda-runtime-os | Apache License 2.0 |
helm-plugin/src/test/kotlin/org/unbrokendome/gradle/plugins/helm/testutil/exec/ExecutableGradleExecMock.kt | unbroken-dome | 145,379,286 | false | {"Kotlin": 525796} | package com.citi.gradle.plugins.helm.testutil.exec
import com.citi.gradle.plugins.helm.testutil.startsWith
import java.io.File
import java.io.PrintWriter
/**
* Implementation of [GradleExecMock] based on a script file that is used in place of the "real" helm executable.
* The script forwards the arguments and envi... | 21 | Kotlin | 50 | 51 | c0d74916bad3c3a441666c4b076245defef91944 | 4,496 | gradle-helm-plugin | MIT License |
app/src/main/java/com/example/googlemapsapplication/data/responses/LoginResponse.kt | yogoh31 | 460,571,160 | false | null | package com.example.googlemapsapplication.data.responses
import com.example.googlemapsapplication.data.models.User
import com.google.gson.annotations.SerializedName
data class LoginResponse (
@SerializedName("code")
var statusCode: Int,
@SerializedName("access")
var authToken: String,
@Serialize... | 0 | Kotlin | 0 | 0 | bffbf615499d3e4788f5e1ebf56ab4a585771408 | 355 | Repath-App-Mobile-Kotlin | MIT License |
idea/src/org/jetbrains/kotlin/idea/refactoring/move/moveDeclarations/ui/MoveKotlinTopLevelDeclarationsModel.kt | Ndex471 | 236,524,761 | false | null | /*
* Copyright 2010-2019 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.idea.refactoring.move.moveDeclarations.ui
import com.intellij.openapi.fileTypes.... | 0 | null | 0 | 1 | f7626d6474bff5fceba8506c37480e8918bd11cf | 12,514 | kotlin | Apache License 2.0 |
src/webapp/Home.kt | AlexandreBrown | 249,043,377 | false | null | package com.raywenderlich.webapp
import com.raywenderlich.models.EPSession
import com.raywenderlich.repositories.Repository
import io.ktor.application.call
import io.ktor.freemarker.FreeMarkerContent
import io.ktor.locations.KtorExperimentalLocationsAPI
import io.ktor.locations.Location
import io.ktor.locations.get
im... | 0 | Kotlin | 0 | 0 | 280d8e08e62e3a6e54d3bc5704612de1c68cb186 | 785 | EmojiPhrases | MIT License |
app/src/main/java/com/surrus/peopleinspace/di/NetworkModule.kt | Shivamdhuria | 461,997,397 | false | {"Kotlin": 58108, "Swift": 13249, "Ruby": 1899} | package com.surrus.peopleinspace.di
import com.surrus.common.network.DogService
import com.surrus.common.network.DogServiceImpl
import com.surrus.common.network.models.DogDtoMapper
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent
import javax.inj... | 0 | Kotlin | 0 | 1 | 88cea78b5307221233caae8fdf6a29b31908c6ec | 633 | kotlinMp | Apache License 2.0 |
core/src/main/java/com/redpine/core/base/BaseViewModel.kt | maiow | 600,207,272 | false | {"Kotlin": 188157} | package com.redpine.core.base
import android.util.Log
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.google.firebase.FirebaseNetworkException
import com.google.firebase.auth.FirebaseAuthInvalidCredentialsException
import com.redpine.core.state.LoadState
import kotlinx.coroutine... | 36 | Kotlin | 1 | 5 | a5a4344c45c22e20dec25d319201174ed0e6c158 | 1,837 | dog-shelter | MIT License |
adoptopenjdk-api-v3-persistance/src/main/kotlin/net/adoptopenjdk/api/v3/dataSources/persitence/mongo/MongoClient.kt | jerboaa | 236,009,857 | true | {"Kotlin": 255110, "CSS": 992, "HTML": 988, "Shell": 948} | package net.adoptopenjdk.api.v3.dataSources.persitence.mongo
import org.litote.kmongo.coroutine.CoroutineClient
import org.litote.kmongo.coroutine.CoroutineDatabase
import org.litote.kmongo.coroutine.coroutine
import org.litote.kmongo.reactivestreams.KMongo
import org.slf4j.LoggerFactory
object MongoClientFactory {
... | 0 | null | 0 | 0 | 1c14ff90d14f2900691993d6dbb2e9c7e2555df7 | 1,658 | openjdk-api-v3 | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.