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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
sample/shared/compose/src/commonMain/kotlin/com/arkivanov/sample/shared/customnavigation/KittenContent.kt | arkivanov | 437,015,897 | false | {"Kotlin": 522787} | package com.arkivanov.sample.shared.customnavigation
import androidx.compose.foundation.Image
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.... | 2 | Kotlin | 82 | 2,100 | d16e901b1bdce7cc863272d7b8918c20d70c497c | 3,150 | Decompose | Apache License 2.0 |
app/src/main/java/com/kurantsov/integritycheck/data/remote/BackendSecretsDataSource.kt | ArtsemKurantsou | 781,690,628 | false | {"Kotlin": 26632, "CMake": 800, "C++": 575} | package com.kurantsov.integritycheck.data.remote
import com.google.firebase.appcheck.FirebaseAppCheck
import com.kurantsov.integritycheck.data.RemoteSecretsDataSource
import com.kurantsov.integritycheck.domain.Secrets
import io.ktor.client.HttpClient
import io.ktor.client.call.body
import io.ktor.client.request.get
im... | 0 | Kotlin | 0 | 0 | 64aa3a64a3c9a2f8650d15646e3efbee8567d619 | 1,198 | Secrets-in-Android | Apache License 2.0 |
src/main/kotlin/org/saphka/discord/bot/model/GameEnrollmentDTO.kt | saphka | 591,354,472 | false | null | package org.saphka.discord.bot.model
data class GameEnrollmentDTO(
val id: Long,
val serverId: Long,
val gameId: Long,
val characterId: Long
)
data class GameEnrollmentChangeRequest(
val serverId: Long,
val gameSlug: String,
val characterSlug: String
) | 1 | Kotlin | 0 | 0 | eb7b511aab30a9e0e3334c85e83385d749c0f6d4 | 282 | discord-dnd-bot | Apache License 2.0 |
src/commonMain/kotlin/com/github/adriantodt/lin/parser/parselets/control/ContinueParser.kt | adriantodt | 280,314,655 | false | null | package com.github.adriantodt.lin.parser.parselets.control
import com.github.adriantodt.lin.ast.node.Node
import com.github.adriantodt.lin.ast.node.control.ContinueExpr
import com.github.adriantodt.lin.lexer.TokenType
import com.github.adriantodt.tartar.api.grammar.PrefixParselet
import com.github.adriantodt.tartar.ap... | 16 | Kotlin | 0 | 7 | b3b10f34e85bc7dec2d3b94d0d6fb2e51dcf1fbf | 642 | Lin | MIT License |
beagle/src/main/kotlin/br/com/zup/beagle/android/view/custom/BeaglePageView.kt | ZupIT | 391,144,851 | false | null | /*
* Copyright 2020, 2022 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA
*
* 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 re... | 0 | Kotlin | 2 | 9 | 812a330777edd79a123495e9f678dc8f25a019f7 | 1,001 | beagle-android | Apache License 2.0 |
src/commonMain/kotlin/org/breact/radical/useEffect.kt | wy2010344 | 660,453,263 | false | null | package org.breact.radical
fun <V> V.useBeforeAttrEffectWithDestroy(callback: (V) -> ((V)->Unit)?) {
org.breact.core.useBeforeAttrEffect(callback, this)
}
fun <V> V.useAttrEffectWithDestroy(callback: (V) -> ((V)->Unit)?) {
org.breact.core.useAttrEffect(callback, this)
}
fun <V> V.useEffectWithDestroy(callbac... | 0 | Kotlin | 0 | 0 | bbd89583594284e008ad9125f7b0ea3efe10c8a4 | 884 | kotlin-better-react | MIT License |
presentation/src/main/java/com/jyproject/presentation/ui/feature/common/util/TopBar.kt | JunYeong0314 | 778,833,940 | false | {"Kotlin": 208970} | package com.jyproject.presentation.ui.feature.common.util
import androidx.compose.foundation.Image
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.com... | 0 | Kotlin | 0 | 0 | edb71cf4db51cee1593aa31c66c25d616492d24c | 1,011 | PlacePick | MIT License |
kruth/kruth/src/commonTest/kotlin/androidx/kruth/MathUtilTest.kt | androidx | 256,589,781 | false | {"Kotlin": 112114129, "Java": 66594571, "C++": 9132142, "AIDL": 635065, "Python": 325169, "Shell": 194520, "TypeScript": 40647, "HTML": 35176, "Groovy": 27178, "ANTLR": 26700, "Svelte": 20397, "CMake": 15512, "C": 15043, "GLSL": 3842, "Swift": 3153, "JavaScript": 3019} | /*
* Copyright 2023 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 29 | Kotlin | 937 | 5,321 | 98b929d303f34d569e9fd8a529f022d398d1024b | 4,724 | androidx | Apache License 2.0 |
app/src/main/java/com/adityagupta/lumos/common/Constants.kt | aadityaguptaa | 440,561,573 | false | {"Kotlin": 2128} | package com.adityagupta.gdsc_nie.common
object Constants {
//Base URL for the News API
const val BASE_URL = "https://api.coinpaprika.com/"
} | 1 | Kotlin | 3 | 0 | 267dd9bc8fd7c5b076ae97549915c28f0039290c | 151 | Lumos | MIT License |
WeatherApp/app/src/main/java/com/arcapp/weatherapp/data/model/weather/FeelsLike.kt | mrnirva | 552,269,945 | false | null | package com.arcapp.weatherapp.data.model.weather
import com.google.gson.annotations.SerializedName
data class FeelsLike(
@SerializedName("day")
val day: Double?,
@SerializedName("eve")
val eve: Double?,
@SerializedName("morn")
val morn: Double?,
@SerializedName("night")
val night: Dou... | 0 | null | 0 | 1 | 10da4a7931a02fec72558ed01476feeccd317a43 | 326 | Patika-Pazarama-Bootcamp-Week-4-Task | MIT License |
app/src/main/java/com/example/rifsa_mobile/model/entity/remote/finance/FinanceResultResponse.kt | RIFSA | 491,493,199 | false | null | package com.example.rifsa_mobile.model.entity.remote.finance
import android.os.Parcelable
import com.example.rifsa_mobile.model.entity.remote.harvestresult.HarvestResponData
import com.google.gson.annotations.SerializedName
import kotlinx.parcelize.Parcelize
data class FinanceResultResponse(
@field:SerializedName("... | 0 | Kotlin | 3 | 6 | 42ae846f0bec4efcbf0c522ff9712e59312d3ea2 | 1,009 | Rifsa-Mobile | The Unlicense |
platform/lang-impl/src/com/intellij/platform/documentation/impl/InternalLinkResult.kt | GunoH | 19,505,706 | false | {"Text": 7456, "INI": 582, "YAML": 420, "Ant Build System": 9, "Batchfile": 28, "Dockerfile": 6, "Shell": 618, "Markdown": 689, "Ignore List": 131, "Git Revision List": 1, "Git Attributes": 10, "EditorConfig": 246, "XML": 7429, "SVG": 3739, "Kotlin": 50560, "Java": 81275, "HTML": 3744, "Java Properties": 214, "Gradle":... | // 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.documentation.impl
import com.intellij.platform.documentation.ContentUpdater
sealed class InternalLinkResult {
object InvalidTarget : InternalLinkResult()
object... | 1 | null | 1 | 1 | ed76b8fbb07c29a548d5e716b3b54da9861c1844 | 504 | intellij-community | Apache License 2.0 |
mediator/src/test/kotlin/no/nav/dagpenger/mottak/db/PostgresTestHelper.kt | navikt | 351,793,236 | false | {"Kotlin": 432966, "Dockerfile": 201} | package no.nav.dagpenger.mottak.db
import org.flywaydb.core.internal.configuration.ConfigUtils
import org.testcontainers.containers.PostgreSQLContainer
import org.testcontainers.containers.PostgreSQLContainer.POSTGRESQL_PORT
import org.testcontainers.containers.wait.strategy.HostPortWaitStrategy
internal object Postg... | 5 | Kotlin | 0 | 0 | 9197842a97b95d591d5b157a37328b992f97c56c | 1,882 | dp-mottak | MIT License |
app/src/main/java/com/stylingandroid/muselee/MuseleeAppGlideModule.kt | StylingAndroid | 163,316,982 | false | null | package com.stylingandroid.muselee
import android.content.Context
import android.util.Log
import com.bumptech.glide.BuildConfig
import com.bumptech.glide.GlideBuilder
import com.bumptech.glide.annotation.GlideModule
import com.bumptech.glide.module.AppGlideModule
@GlideModule
class MuseleeAppGlideModule : AppGlideMod... | 2 | null | 9 | 59 | 7d7e4096e16057e8667446d8a6a4a87c5742ed5d | 543 | Muselee | Apache License 2.0 |
wrapper/godot-library/src/main/kotlin/godot/generated/AudioEffectEQ21.kt | payload | 189,718,948 | true | {"Kotlin": 3888394, "C": 6051, "Batchfile": 714, "Shell": 574} | @file:Suppress("unused", "ClassName", "EnumEntryName", "FunctionName", "SpellCheckingInspection", "PARAMETER_NAME_CHANGED_ON_OVERRIDE", "UnusedImport", "PackageDirectoryMismatch")
package godot
import godot.gdnative.*
import godot.core.*
import godot.utils.*
import godot.icalls.*
import kotlinx.cinterop.*
// NOTE: T... | 0 | Kotlin | 1 | 2 | 70473f9b9a0de08d82222b735e7f9b07bbe91700 | 1,514 | kotlin-godot-wrapper | Apache License 2.0 |
logging/src/main/kotlin/ru/yuksanbo/common/logging/Logger.kt | yuksanbo | 85,976,455 | false | null | package ru.yuksanbo.common.logging
import org.slf4j.Logger
inline fun Logger.debug(op: () -> String) {
if (!isDebugEnabled) return
debug(op.invoke())
}
inline fun Logger.debug(op: () -> String, t: Throwable) {
if (!isDebugEnabled) return
debug(op.invoke(), t)
} | 1 | Kotlin | 0 | 0 | deefce04a45f10878e20c0e45a59aad4b0440fd4 | 280 | common | MIT License |
src/main/kotlin/gay/pizza/foundation/concrete/SetupMinecraftServer.kt | GayPizzaSpecifications | 512,310,428 | false | null | package gay.pizza.foundation.concrete
import org.gradle.api.DefaultTask
import org.gradle.api.tasks.Internal
import org.gradle.api.tasks.TaskAction
import org.gradle.kotlin.dsl.getByType
import java.io.File
import java.nio.file.Files
import java.util.*
abstract class SetupMinecraftServer : DefaultTask() {
init {
... | 3 | Kotlin | 1 | 3 | c16c5cbcb5060fe46a051d429392e66a97b6fd92 | 1,522 | concrete | MIT License |
app/src/main/java/com/xeniac/fifaultimateteamcoin_dsfut_sell_fut/feature_pick_up_player/presentation/picked_up_player_info/components/PickedUpPlayerInfoComponents.kt | WilliamGates99 | 543,831,202 | false | null | package com.xeniac.fifaultimateteamcoin_dsfut_sell_fut.feature_pick_up_player.presentation.picked_up_player_info.components
import androidx.compose.animation.AnimatedContent
import androidx.compose.animation.animateContentSize
import androidx.compose.animation.slideInVertically
import androidx.compose.animation.slideO... | 0 | null | 0 | 1 | a0b03bf204e6e681bbe587fdc928bff81e7e67e6 | 12,583 | FUTSale | Apache License 2.0 |
CustomizeKeyBoard/app/src/main/java/com/aqrlei/customizekeyboard/MainActivity.kt | AqrLei | 348,929,204 | false | null | package com.aqrlei.customizekeyboard
import android.os.Bundle
import android.util.Log
import android.view.View
import android.widget.EditText
import android.widget.Toast
import androidx.appcompat.app.AppCompatActivity
class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {... | 0 | Kotlin | 1 | 0 | cd83243144ceb0a3c6f8c344953de76662bd2cd1 | 855 | CustomizeWidgets | Apache License 2.0 |
androidApp/src/main/java/com/example/movieskmm/android/ui/components/MovieList.kt | pushpalroy | 735,486,564 | false | {"Kotlin": 130661, "Swift": 14743, "Ruby": 2424, "Shell": 255} | package com.example.movieskmm.android.ui.components
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.lazy.grid.GridCells
import androidx.compose.foundation.lazy.grid.LazyVerticalGrid
import androidx.compose.foundation.lazy.grid.items
... | 12 | Kotlin | 0 | 8 | fdd72a9062e3bd962291554b3c597000746bf53c | 1,243 | movieskmm | MIT License |
kmath-optimization/src/commonMain/kotlin/space/kscience/kmath/optimization/QowOptimizer.kt | SciProgCentre | 129,486,382 | false | {"Kotlin": 1988014, "ANTLR": 887} | /*
* 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.optimization
import space.kscience.kmath.UnstableKMathAPI
import space.kscience.kmath.expressions.*
import space.kscience.k... | 91 | Kotlin | 55 | 645 | 6c1a5e62bff541cca8065e4ab4c97d02a29d685a | 9,946 | kmath | Apache License 2.0 |
polyline/src/main/java/com/utsman/geolib/polyline/data/PolylineDrawMode.kt | utsmannn | 334,631,862 | false | null | /*
* Created on 3/2/21 12:58 AM
* Copyright (c) <NAME> 2021 All rights reserved.
*/
package com.utsman.geolib.polyline.data
sealed class PolylineDrawMode {
object Normal : PolylineDrawMode()
object Curved : PolylineDrawMode()
object Lank : PolylineDrawMode()
} | 0 | Kotlin | 12 | 98 | 10d6f591b54c386d16bc643028759ae0f8fe8ac6 | 277 | geolib | Apache License 2.0 |
shared/src/commonMain/kotlin/com/tomczyn/linkding/features/home/HomeScreenTag.kt | tomczyn | 599,241,128 | false | null | package com.tomczyn.linkding.features.home
data class HomeScreenTag(
val name: String,
val numberOfBookmarks: Int,
)
| 0 | Kotlin | 0 | 0 | fd72c0057fb10fe2130af21c4a08947068fcad13 | 126 | linkding-mobile | MIT License |
sentry-android-core/src/test/java/io/sentry/android/core/DefaultAndroidEventProcessorTest.kt | mike-burns | 315,937,144 | false | null | package io.sentry.android.core
import android.content.Context
import android.os.Looper
import androidx.test.core.app.ApplicationProvider
import androidx.test.ext.junit.runners.AndroidJUnit4
import com.nhaarman.mockitokotlin2.any
import com.nhaarman.mockitokotlin2.eq
import com.nhaarman.mockitokotlin2.mock
import com.n... | 1 | null | 1 | 1 | 8f9b3923f6ae79bdbaedfbce6a8f4df5e9158150 | 6,690 | sentry-java | MIT License |
demo/src/main/java/ovh/plrapps/mapcompose/demo/viewmodels/CalloutVM.kt | p-lr | 359,208,603 | false | null | package ovh.plrapps.mapcompose.demo.viewmodels
import android.app.Application
import android.content.Context
import androidx.compose.foundation.layout.size
import androidx.compose.material.Icon
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.setVa... | 6 | null | 7 | 96 | e65762b45cc7418cbae54e0673405d109da7aadd | 3,094 | MapCompose | Apache License 2.0 |
src/commonMain/kotlin/csense/kotlin/extensions/collections/generic/CollectionBounds.kt | csense-oss | 136,911,995 | false | null | @file:Suppress("MemberVisibilityCanBePrivate")
package csense.kotlin.extensions.collections.generic
import csense.kotlin.annotations.numbers.*
import csense.kotlin.extensions.*
import csense.kotlin.extensions.primitives.*
import kotlin.jvm.*
public sealed interface CollectionBounds {
public fun inBoundsEndNotIn... | 1 | Kotlin | 0 | 2 | 49113dd6b2cb1e18992d07faa1e0305d18f766f4 | 3,892 | csense-kotlin | MIT License |
demo-transactions/src/main/kotlin/io/holixon/cqrshexagonaldemo/demoparent/transactions/command/application/usecase/DepositUsecase.kt | holixon | 747,608,283 | false | {"Kotlin": 69299, "Shell": 72} | package io.holixon.cqrshexagonaldemo.demoparent.transactions.command.application.usecase
import io.holixon.cqrshexagonaldemo.demoparent.transactions.command.application.port.inbound.account.DepositAccountInPort
import io.holixon.cqrshexagonaldemo.demoparent.transactions.command.application.port.outbound.account.Accoun... | 3 | Kotlin | 0 | 0 | e634c14ca89f3de72f53ae6680c8ca12c539d6a7 | 1,764 | cqrs-meets-hexagonal | Apache License 2.0 |
languages/javalang/builder-renderer/java-builder-client/src/main/kotlin/io/vrap/codegen/languages/javalang/client/builder/producers/JavaModelDraftBuilderFileProducer.kt | commercetools | 136,635,215 | false | {"Kotlin": 1401769, "RAML": 92051, "Groovy": 37966, "Java": 12163, "PHP": 5795, "JavaScript": 5731, "Shell": 3692, "TypeScript": 2505, "Dockerfile": 303} | package io.vrap.codegen.languages.javalang.client.builder.producers
import io.vrap.codegen.languages.extensions.hasSubtypes
import io.vrap.codegen.languages.extensions.isPatternProperty
import io.vrap.codegen.languages.extensions.toComment
import io.vrap.codegen.languages.java.base.JavaBaseTypes
import io.vrap.codegen... | 23 | Kotlin | 6 | 14 | 2f8846e5dee3ced5f00613e2f6a382e5d818be4d | 26,500 | rmf-codegen | Apache License 2.0 |
app/src/main/java/com/mozhimen/app/abilityk/opencvk/OpenCVKMatchActivity.kt | mozhimen | 353,952,154 | false | null | package com.mozhimen.app.abilityk.opencvk
import android.Manifest
import android.annotation.SuppressLint
import android.graphics.Bitmap
import android.graphics.ImageFormat
import android.os.Bundle
import androidx.camera.core.CameraSelector
import androidx.camera.core.ImageAnalysis
import androidx.camera.core.ImageProx... | 0 | Kotlin | 0 | 1 | 3dd109aff154bff96379cde86e6e4632967cca40 | 4,100 | SwiftMK | Apache License 2.0 |
ui-app/src/androidMain/kotlin/com/alexvanyo/composelife/ui/app/entrypoints/PreviewEntryPoint.kt | alexvanyo | 375,146,193 | false | null | /*
* Copyright 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | 37 | null | 7 | 99 | 64595b8d36c559a70ca52d578069fe4df8d170c7 | 9,318 | composelife | Apache License 2.0 |
src/main/kotlin/io/groax/impl/webhook/WebhookUtil.kt | Wenaly | 487,277,543 | false | null | package io.groax.impl.webhook
import io.groax.api.webhook.*
import java.io.IOException
import java.net.URL
import javax.net.ssl.HttpsURLConnection
class WebhookUtil(private val url: String) {
private var content: String? = null
private var username: String? = null
private var avatarUrl: String? = null
... | 0 | null | 0 | 0 | 489f9c4164bd891828b431b18f1cca69f19eb9b9 | 4,274 | Project1022 | MIT License |
app/src/main/java/com/karna/mycards/presentation/login_with_pin/LoginWithPinScreen.kt | karnasurendra | 794,693,409 | false | {"Kotlin": 85804} | package com.karna.mycards.presentation.login_with_pin
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compo... | 0 | Kotlin | 0 | 1 | 4f5af198217c5c09e5c3728144de028da6025072 | 4,910 | Android-Compose-MVVM-MyCards | MIT License |
compose/ui/ui/src/androidAndroidTest/kotlin/androidx/compose/ui/window/DialogScreenshotTest.kt | RikkaW | 389,105,112 | false | null | /*
* Copyright 2020 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 29 | null | 937 | 7 | 6d53f95e5d979366cf7935ad7f4f14f76a951ea5 | 3,153 | androidx | Apache License 2.0 |
src/main/kotlin/org/ktlib/Application.kt | ktlib-org | 713,606,396 | false | {"Kotlin": 102035} | package org.ktlib
import io.github.oshai.kotlinlogging.KotlinLogging
/**
* This is the entry point for an application.
*
* Usually it's called from the main function like this:
* ```
* fun main() = Application {
* // Additional app initialization done here
* }
* ```
*
* These configuration properties can ... | 0 | Kotlin | 0 | 0 | e09e0d6fd4af839cebfd1313cfd9c68c43eaf189 | 801 | core | Apache License 2.0 |
app/src/main/java/com/siddapps/android/todo/ui/homepage/HomepagePresenterImpl.kt | hasansidd | 113,695,435 | false | null | package com.siddapps.android.todo.ui.homepage
import com.siddapps.android.todo.model.repository.TaskRepository
import javax.inject.Inject
class HomepagePresenterImpl @Inject constructor(private val taskRepository: TaskRepository) : HomepagePresenter {
private lateinit var homepageView: HomepageView
override ... | 0 | Kotlin | 1 | 0 | 5b6ec46e84c5e8efdb3a6f55f399a080b9a06317 | 411 | ToDo | MIT License |
app/src/main/java/com/example/formapp/domain/use_cases/Login/LoginUseCase.kt | fgarridofi | 743,682,977 | false | {"Kotlin": 224638, "JavaScript": 7398} | package com.example.formapp.domain.use_cases.Login
import com.example.formapp.data.Result
import com.example.formapp.domain.model.LoginModel2
import com.example.formapp.domain.repository.UserRepository
import javax.inject.Inject
class LoginUseCase @Inject constructor( private val repository: UserRepository) {
su... | 0 | Kotlin | 0 | 1 | 9cfd8de17550e60b8776f8200e93362b024cedc2 | 515 | car-navigation-mobile-app | MIT License |
SceytChatUiKit/src/main/java/com/sceyt/chatuikit/data/managers/connection/ConnectionEventManager.kt | sceyt | 549,073,085 | false | {"Kotlin": 2361738, "Java": 107894} | package com.sceyt.chatuikit.data.managers.connection
import com.sceyt.chat.ChatClient
import com.sceyt.chat.models.ConnectionState
import com.sceyt.chat.models.SceytException
import com.sceyt.chat.sceyt_listeners.ClientListener
import com.sceyt.chat.wrapper.ClientWrapper
import com.sceyt.chatuikit.data.managers.connec... | 1 | Kotlin | 1 | 2 | aa03d3d9f046243cd1bbb98bd5e9d5abcfeae822 | 3,579 | sceyt-chat-android-uikit | MIT License |
library/src/main/kotlin/com/twitter/meil_mitu/twitter4hk/aclog/api/tweets/UserTimeline.kt | MeilCli | 51,423,644 | false | {"Gradle": 4, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "Proguard": 2, "Java": 3, "XML": 22, "Kotlin": 303, "Checksums": 6} | package com.twitter.meil_mitu.twitter4hk.aclog.api.tweets
import com.twitter.meil_mitu.twitter4hk.AbsOauth
import com.twitter.meil_mitu.twitter4hk.OauthType
import com.twitter.meil_mitu.twitter4hk.aclog.AbsAclogGet
import com.twitter.meil_mitu.twitter4hk.aclog.converter.IAclogStatusConverter
import com.twitter.meil_mi... | 0 | Kotlin | 0 | 0 | 818e42ea417c326e3d50024decce4c7e70641a73 | 1,153 | Twitter4HK | MIT License |
src/main/kotlin/dev/cbyrne/kdiscordipc/manager/impl/VoiceSettingsManager.kt | caoimhebyrne | 379,862,700 | false | {"Kotlin": 61658} | package dev.cbyrne.kdiscordipc.manager.impl
import dev.cbyrne.kdiscordipc.KDiscordIPC
import dev.cbyrne.kdiscordipc.core.event.DiscordEvent
import dev.cbyrne.kdiscordipc.core.event.impl.VoiceSettingsUpdateEvent
import dev.cbyrne.kdiscordipc.core.packet.outbound.impl.GetVoiceSettingsPacket
import dev.cbyrne.kdiscordipc... | 2 | Kotlin | 8 | 37 | b136b267d146544c49d80b4c9a046d66324a601b | 1,462 | KDiscordIPC | MIT License |
kraftverk-core/src/main/kotlin/io/kraftverk/core/binding/Bindings.kt | jogro | 211,348,610 | false | null | /*
* Copyright 2019 <NAME>
* Licensed under MIT: https://github.com/jogro/kraftverk/blob/master/LICENSE
*/
package io.kraftverk.core.binding
import io.kraftverk.core.internal.binding.BeanDelegate
import io.kraftverk.core.internal.binding.BindingDelegate
import io.kraftverk.core.internal.binding.ValueDelegate
/**
... | 0 | Kotlin | 0 | 2 | 66a2cb9254f2fe83a845e384c75e7a87a100b7a5 | 2,401 | kraftverk | MIT License |
app/src/main/kotlin/it/vfsfitvnm/vimusic/service/PlaybackExceptions.kt | Sagnik0684 | 861,208,877 | false | {"Kotlin": 713513} | package it.vfsfitvnm.vimusic.service
import androidx.media3.common.PlaybackException
class PlayableFormatNotFoundException : PlaybackException(null, null, ERROR_CODE_REMOTE_ERROR)
class UnplayableException : PlaybackException(null, null, ERROR_CODE_REMOTE_ERROR)
class LoginRequiredException : PlaybackException(null... | 0 | Kotlin | 0 | 0 | d068ae496559b4f7cc7152e38de3483a12b0b8f0 | 442 | BuzzVibe | MIT License |
app/src/main/java/com/example/sook/fragment/Sook9Fragment.kt | foodinsect | 801,560,790 | false | {"Kotlin": 49165} | package com.example.sook.fragment
import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import com.example.sook.PageChangeCallback
import com.example.sook.databinding.ActivitySook9Binding
class Sook9Fragment : Fragment(... | 0 | Kotlin | 0 | 0 | f705736e9dec890e1cab591f4987ed8c9ecc1a39 | 2,766 | Android-App-prontend | MIT License |
UsingPocketSphinxForVoiceRecognition/app/src/main/java/github/nisrulz/example/usingpocketsphinxforvoicerecognition/GoogleRecognitionListener.kt | nisrulz | 52,518,462 | false | null | package github.nisrulz.example.usingpocketsphinxforvoicerecognition
import android.os.Bundle
import android.speech.RecognitionListener
import android.speech.SpeechRecognizer
import android.util.Log
import edu.cmu.pocketsphinx.SpeechRecognizer as PocketSpeechRecognizer
class GoogleRecognitionListener(
private val ... | 7 | null | 668 | 1,738 | 3ca3cffbfc1d1f8e64681ff8b16269884aa4bc00 | 1,795 | android-examples | Apache License 2.0 |
adt-ui/src/main/java/com/android/tools/adtui/validation/validators/PositiveIntegerValidator.kt | JetBrains | 60,701,247 | false | {"Kotlin": 53054415, "Java": 43443054, "Starlark": 1332164, "HTML": 1218044, "C++": 507658, "Python": 191041, "C": 71660, "Lex": 70302, "NSIS": 58238, "AIDL": 35382, "Shell": 29838, "CMake": 27103, "JavaScript": 18437, "Smali": 7580, "Batchfile": 7357, "RenderScript": 4411, "Clean": 3522, "Makefile": 2495, "IDL": 19} | /*
* Copyright (C) 2018 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 | Kotlin | 227 | 948 | 10110983c7e784122d94c7467e9d243aba943bf4 | 1,202 | android | Apache License 2.0 |
goblin-transport-client/src/main/java/org/goblinframework/transport/client/channel/TransportClientState.kt | xiaohaiz | 206,246,434 | false | {"Java": 807217, "Kotlin": 650572, "FreeMarker": 27779, "JavaScript": 968} | package org.goblinframework.transport.client.channel
enum class TransportClientState {
CONNECTING, // 初始化状态
CONNECT_FAILED, // 建立连接失败,服务不可用或者建连超时
CONNECTED, // 已经完成了建连,但是还没有握手
HANDSHAKE_FAILED, // 握手失败
HANDSHAKED, // 握手成功,可用状态
DISCONNECTED, // 异常导致的连接中断
H... | 0 | Java | 6 | 9 | b1db234912ceb23bdd81ac66a3bf61933b717d0b | 397 | goblinframework | Apache License 2.0 |
platform/projectModel-api/src/com/intellij/configurationStore/StreamProvider.kt | JetBrains | 2,489,216 | false | null | // Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.configurationStore
import com.intellij.openapi.components.RoamingType
import org.jetbrains.annotations.ApiStatus.Internal
import java.io.InputStream
@Internal
interface StreamP... | 284 | null | 5162 | 16,707 | def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0 | 2,572 | intellij-community | Apache License 2.0 |
app/src/main/kotlin/io/github/wykopmobilny/ui/modules/profile/ProfilePagerAdapter.kt | otwarty-wykop-mobilny | 374,160,630 | false | null | package io.github.wykopmobilny.ui.modules.profile
import android.content.res.Resources
import android.util.SparseArray
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import io.github.wykopmobilny.R
import io.github.wykopmobilny.ui.modules.profile.actions.ActionsFragment
import io.github.wykopmobil... | 13 | null | 4 | 47 | 85b54b736f5fbcd6f62305779ed7ae2085c3b136 | 1,743 | wykop-android | MIT License |
tools/simulator/src/test/kotlin/io/libp2p/simulate/delay/AccurateBandwidthTest.kt | libp2p | 189,293,403 | false | null | package io.libp2p.simulate.delay
import io.libp2p.core.pubsub.Topic
import io.libp2p.simulate.Bandwidth
import io.libp2p.simulate.delay.AccurateBandwidthTracker.Message
import io.libp2p.simulate.gossip.*
import io.libp2p.simulate.gossip.router.SimGossipRouterBuilder
import io.libp2p.simulate.topology.AllToAllTopology
... | 33 | null | 76 | 272 | 1cde874089d45f90e2f6ca20f39a77b69cd7e66e | 6,933 | jvm-libp2p | Apache License 2.0 |
src/main/kotlin/no/nav/pensjon/simulator/core/domain/regler/to/BeregnAfpPrivatRequest.kt | navikt | 753,551,695 | false | {"Kotlin": 1536207, "Java": 48078, "Dockerfile": 144} | package no.nav.pensjon.simulator.core.domain.regler.to
import no.nav.pensjon.simulator.core.domain.regler.beregning2011.BeregningsResultatAfpPrivat
import no.nav.pensjon.simulator.core.domain.regler.krav.Kravhode
import no.nav.pensjon.simulator.core.domain.regler.vedtak.VilkarsVedtak
import java.util.*
class BeregnAf... | 1 | Kotlin | 0 | 0 | 55436a278f64b54ca61437cd09ba27993ac40067 | 841 | pensjonssimulator | MIT License |
kotlinLeetCode/src/main/kotlin/leetcode/editor/cn/[189]旋转数组.kt | maoqitian | 175,940,000 | false | {"Kotlin": 354268, "Java": 297740, "C++": 634} | import java.util.*
import java.util.Collections.reverse
//给定一个数组,将数组中的元素向右移动 k 个位置,其中 k 是非负数。
//
// 示例 1:
//
// 输入: [1,2,3,4,5,6,7] 和 k = 3
//输出: [5,6,7,1,2,3,4]
//解释:
//向右旋转 1 步: [7,1,2,3,4,5,6]
//向右旋转 2 步: [6,7,1,2,3,4,5]
//向右旋转 3 步: [5,6,7,1,2,3,4]
//
//
// 示例 2:
//
// 输入: [-1,-100,3,99] 和 k = 2
//输出: [3,99,-1,-... | 0 | Kotlin | 0 | 1 | 8a85996352a88bb9a8a6a2712dce3eac2e1c3463 | 2,000 | MyLeetCode | Apache License 2.0 |
src/main/kotlin/com/getyourguide/paparazzi/actions/ActualSizeAction.kt | getyourguide | 558,799,421 | false | {"Kotlin": 53549} | package com.getyourguide.paparazzi.actions
import com.getyourguide.paparazzi.service.service
import com.intellij.openapi.actionSystem.ActionUpdateThread
import com.intellij.openapi.actionSystem.AnAction
import com.intellij.openapi.actionSystem.AnActionEvent
/**
* Action to show the snapshots in their actual size
*/... | 9 | Kotlin | 8 | 158 | c062d36f549f598a28b663f41638ad1c73870105 | 700 | paparazzi-plugin | Apache License 2.0 |
src/main/kotlin/com/bridgecrew/results/LicenseCheckovResult.kt | bridgecrewio | 644,310,885 | false | {"Kotlin": 295470} | package com.bridgecrew.results
class LicenseCheckovResult(
checkType: CheckType,
filePath: String,
resource: String,
name: String,
id: String,
severity: Severity,
description: String?,
guideline: String?,
absoluteFilePath: String,
fileLine... | 12 | Kotlin | 0 | 1 | 96a8e6f41ec878a72f621f70e4bfa9df2321dfeb | 910 | prisma-cloud-jetbrains-ide | Apache License 2.0 |
compiler/testData/diagnostics/tests/inference/capturedTypes/capturedTypeSubstitutedIntoOppositeProjection.kt | JakeWharton | 99,388,807 | true | null | // !DIAGNOSTICS: -UNUSED_PARAMETER
// !CHECK_TYPE
fun <T> foo1(a1: Array<in T>, a2: Array<T>): T = null!!
fun test1(a1: Array<Int>, a2: Array<out Int>) {
foo1(a1, a2) checkType { _<Int>() }
}
fun <T> foo2(a1: Array<T>, a2: Array<out T>): T = null!!
fun test2(a1: Array<in Int>, a2: Array<Int>) {
foo2(a1, a2)... | 181 | Kotlin | 5748 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 346 | kotlin | Apache License 2.0 |
platform/object-serializer/src/VersionedFile.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.serialization
import com.intellij.util.ParameterizedTypeImpl
import com.intellij.util.io.move
import com.intellij.util.io.safeOutputStream
import net.jpountz... | 214 | null | 4829 | 2 | dc846ecb926c9d9589c1ed8a40fdb20e47874db9 | 4,073 | intellij-community | Apache License 2.0 |
src/test/kotlin/Exercici3Test.kt | alortegama | 743,857,349 | false | {"Kotlin": 7592} | import org.junit.jupiter.api.Test
import org.junit.jupiter.api.Assertions.*
import org.junit.jupiter.api.BeforeAll
import kotlin.math.exp
class Exercici3Test {
@Test
fun `Quan el text esta buit, retorna 0`() {
val result = contarVocals("")
assertEquals(0, result)
}
@Test
fun `Qu... | 0 | Kotlin | 0 | 0 | b2ff73bd60051a78870bc746e0ce9cc89433bd3f | 1,102 | Prova-avaluada-kotlin | MIT License |
domain/src/main/java/com/worldsnas/domain/mappers/server/ReviewServerRepoMapper.kt | worldsnas | 178,716,293 | false | {"Kotlin": 397002, "Java": 240871} | package com.worldsnas.domain.mappers.server
import com.worldsnas.domain.model.repomodel.ReviewRepoModel
import com.worldsnas.domain.model.servermodels.ReviewServerModel
import com.worldsnas.panther.Mapper
import javax.inject.Inject
class ReviewServerRepoMapper @Inject constructor(
): Mapper<ReviewServerModel, ReviewR... | 1 | Kotlin | 8 | 57 | c7d084d2cf2c4f9486337fe347d5d6b8b5806e0a | 541 | AIO | Apache License 2.0 |
core/src/main/kotlin/com/kroegerama/kgen/poet/ModelFilesGenerator.kt | kroegerama | 237,459,003 | false | {"Kotlin": 116380} | package com.kroegerama.kgen.poet
import com.kroegerama.kgen.OptionSet
import com.kroegerama.kgen.language.asClassFileName
import com.kroegerama.kgen.language.asTypeName
import com.kroegerama.kgen.model.ModelTreeNode
import com.kroegerama.kgen.openapi.OpenAPIAnalyzer
import com.kroegerama.kgen.openapi.SchemaType
import... | 4 | Kotlin | 4 | 22 | d332c54989c73ed80cbb40b75c22d8589f5ac0eb | 6,015 | openapi-kgen | Apache License 2.0 |
src/orchid/java/com/eden/orchid/starter/ReplaceFunction.kt | jmfayard | 223,139,165 | false | null | package com.eden.orchid.starter
import com.eden.orchid.api.compilers.TemplateFunction
import com.eden.orchid.api.options.annotations.Option
/**
* This is an example Function, added as a custom component for this site only. A Function is can be used as part of an
* Pebble expression when precompiling markup. Templat... | 0 | Kotlin | 0 | 0 | d1ba4e39ceb7227de0b0694286c1b48b7a7c418b | 1,267 | website-builtwithgradle | MIT License |
analysis/symbol-light-classes/src/org/jetbrains/kotlin/light/classes/symbol/methods/SymbolLightConstructor.kt | JetBrains | 3,432,266 | false | null | /*
* Copyright 2010-2023 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.light.classes.symbol.methods
import com.intellij.psi.*
import org.jetbrains.kotl... | 182 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 3,163 | kotlin | Apache License 2.0 |
app/src/main/java/tartho/example/vetdrugs/adapter/MedicineAdapter.kt | tartho77 | 667,487,550 | false | null | package tartho.example.vetdrugs.adapter
import android.net.Uri
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.ImageView
import android.widget.TextView
import androidx.recyclerview.widget.RecyclerView
import com.bumptech.glide.Glide
import tartho.example.... | 0 | Kotlin | 0 | 0 | dfe544a4b93c5170df2d9852b5054ddf90bb363e | 2,919 | Vet-Drugs | Apache License 2.0 |
src/main/java/org/stevenlowes/tools/lifxcontroller/commands/request/light/RequestSetInfrared.kt | stevenwaterman | 126,380,593 | true | {"Kotlin": 53966} | package org.stevenlowes.tools.lifxcontroller.commands.request.light
import org.stevenlowes.tools.lifxcontroller.commands.request.RequestCommand
import org.stevenlowes.tools.lifxcontroller.values.Level
data class RequestSetInfrared(val brightness: Level = Level.MIN) : RequestCommand(122) {
override val payloadByte... | 0 | Kotlin | 0 | 0 | 7b17808a6ca08e7efc7cefe937be1a5d0eb4f4b5 | 358 | LifxCommander_v1.0 | MIT License |
app/src/main/java/com/sunilson/quizcreator/presentation/mainActivity/di/FragmentBuilder.kt | sunilson | 140,581,390 | false | {"Kotlin": 213913, "HTML": 4769} | package com.sunilson.quizcreator.presentation.mainActivity.di
import com.sunilson.quizcreator.application.di.scopes.FragmentScope
import com.sunilson.quizcreator.presentation.mainActivity.fragments.allQuestionsFragment.AllQuestionsFragment
import com.sunilson.quizcreator.presentation.mainActivity.fragments.categoriesF... | 0 | Kotlin | 0 | 0 | 2cb6310afda510cae8d437f96a03cc2f0cf6915b | 1,359 | quiz-creator | MIT License |
bridgesample/src/main/java/com/livefront/bridgesample/scenario/activity/NonBridgeLargeDataActivity.kt | livefront | 94,903,404 | false | null | package com.livefront.bridgesample.scenario.activity
import android.content.Context
import android.content.Intent
import android.graphics.Bitmap
import android.os.Bundle
import android.os.Parcelable
import android.view.MenuItem
import com.evernote.android.state.State
import com.livefront.bridgesample.R
import com.live... | 4 | Java | 25 | 246 | 657f8a6646f99232ea4c9362202dbf387662fb55 | 2,478 | bridge | Apache License 2.0 |
telegram/src/main/kotlin/com/mazekine/telegram/dispatcher/handlers/ChannelHandler.kt | xestrum | 222,923,452 | true | {"Kotlin": 268485} | package com.mazekine.telegram.dispatcher.handlers
import com.mazekine.telegram.HandleUpdate
import com.mazekine.telegram.entities.Update
class ChannelHandler(handleUpdate: HandleUpdate) : Handler(handleUpdate) {
override val groupIdentifier: String
get() = "channel"
override fun checkUpdate(update: U... | 0 | Kotlin | 0 | 0 | bcd448ff688edb11ff4495f729eb09210f768203 | 424 | mazekine-telegram-bot | Apache License 2.0 |
src/behaivorDesignPattern/strategy/PaymentCredit.kt | dja1369 | 807,056,411 | false | {"Kotlin": 29080} | package src.behaivorDesignPattern.strategy
class PaymentCredit: Payment{
override fun pay(amount: Int): String {
return "Paid $amount using credit card"
}
} | 0 | Kotlin | 0 | 0 | 8c9a410eb7c8e51b8953cecf77103b0e6318e937 | 173 | aboutDesignPattern | MIT License |
app/src/main/java/com/wechantloup/gamelistoptimization/ui/game/EditGameScreen.kt | Pilou44 | 414,594,767 | false | {"Kotlin": 132942} | package com.wechantloup.gamelistoptimization.game
import androidx.activity.compose.BackHandler
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.comp... | 0 | Kotlin | 0 | 0 | b49d5228d2ef796b4aff0f7afb87b2bbc5ca168d | 5,414 | GameListOptimization | Apache License 2.0 |
src/com/darkgravity/khexgrid/render/ShapeRendererLayer.kt | dmccabe | 128,491,462 | false | null | package com.darkgravity.khexgrid.render
import com.badlogic.gdx.graphics.g2d.PolygonSpriteBatch
import com.badlogic.gdx.graphics.glutils.ShapeRenderer
/**
* @author Dan McCabe
*/
abstract class ShapeRendererLayer(val shapeRenderer: ShapeRenderer) : LayerAdapter() {
override fun preRender(batch: PolygonSpriteBat... | 0 | null | 4 | 18 | e73e086175fcb5c21855e3f32acff1930911f7c5 | 575 | khexgrid | Apache License 2.0 |
plugin-bsp/src/main/kotlin/org/jetbrains/plugins/bsp/magicmetamodel/impl/workspacemodel/impl/updaters/transformers/JavaModuleToDummyJavaModulesTransformerHACK.kt | JetBrains | 826,262,028 | false | null | package org.jetbrains.plugins.bsp.impl.magicmetamodel.impl.workspacemodel.impl.updaters.transformers
import com.intellij.openapi.module.StdModuleTypes
import com.intellij.platform.workspace.jps.entities.ModuleTypeId
import com.intellij.platform.workspace.jps.entities.SourceRootTypeId
import org.jetbrains.plugins.bsp.i... | 7 | null | 18 | 45 | 1d79484cfdf8fc31d3a4b214655e857214071723 | 8,187 | hirschgarten | Apache License 2.0 |
libraries/core/src/main/java/app/chamich/library/core/extensions/EditTextExt.kt | Coinfo | 278,306,465 | false | {"Kotlin": 136112, "Ruby": 866} | /*
* Copyright (c) 2020 Chamich Apps. All rights reserved.
*/
package app.chamich.library.core.extensions
import android.widget.EditText
/**
* Returns the {@see EditText} text as Long if conversion succeed; otherwise 0
*/
val EditText.asLong
get() = try {
if (!this.hasText) 0L else this.text.toString... | 0 | Kotlin | 3 | 16 | 581bf4e4ff7e9cb5067bdf25e4e340b56ebaab92 | 719 | Perfectus | Apache License 2.0 |
example/src/main/java/com/bohregard/example/ui/AnimatedTextFieldUi.kt | bohregard | 284,123,182 | false | {"Kotlin": 177825} | package com.bohregard.example.ui
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.padding
import androidx.compose.material3.Button
import androidx.compose.material3.Text
import ... | 0 | Kotlin | 0 | 0 | de7011b118bbd97ec9d5a7acd9bb66e0c02519cc | 1,469 | Compose-Companion | MIT License |
app/src/main/java/com/orange/ods/app/ui/modules/emptystate/EmptyStateDemoScreen.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 license,
* the text of which is available at https://opensource.org/license/MIT/
* or see the "LICENSE" file for more details.
*
* Software de... | 74 | null | 9 | 17 | 60c9c9fdc91e4c0598fd4279df5154599cf246de | 1,675 | ods-android | MIT License |
paris-processor/src/main/java/com/airbnb/paris/processor/framework/AndroidClassNames.kt | katzvelraj | 150,662,499 | true | {"Gradle": 10, "Ruby": 1, "Markdown": 5, "INI": 4, "Shell": 1, "Text": 1, "Ignore List": 6, "Batchfile": 1, "XML": 44, "Java": 33, "Kotlin": 116, "Java Properties": 1} | package com.airbnb.paris.processor.framework
internal object AndroidClassNames {
val ATTRIBUTE_SET = "android.util.AttributeSet".className()
val R = "android.R".className()
val CONTEXT = "android.content.Context".className()
val RESOURCES = "android.content.res.Resources".className()
val VIEW = "a... | 1 | Kotlin | 1 | 1 | ba6cb89597e6632dddec065b4cb4eb266fe0a6d8 | 1,459 | paris | Apache License 2.0 |
compiler/testData/klibABI/removeFunction/lib1/l1.kt | JetBrains | 3,432,266 | false | null |
fun foo(): String = "FAIL1"
fun exp_foo() = "FAIL2" | 132 | Kotlin | 5074 | 40,992 | 57fe6721e3afb154571eb36812fd8ef7ec9d2026 | 54 | kotlin | Apache License 2.0 |
app/src/main/java/com/sample/openweathermap/ui/home/HomeFragment.kt | johnwahba84 | 251,644,591 | false | null | package com.sample.openweathermap.ui.home
import com.sample.openweathermap.BR
import com.sample.openweathermap.R
import com.sample.openweathermap.databinding.HomeFragmentBinding
import com.sample.openweathermap.ui.base.BaseFragment
class HomeFragment : BaseFragment<HomeFragmentBinding, HomeViewModel>() {
overrid... | 0 | Kotlin | 1 | 2 | 795ae47b6681d43c21df2e6e470c9e14a680e18b | 541 | weather-sample | Apache License 2.0 |
src/main/kotlin/com/deflatedpickle/heatfromfire/HeatAreaAffectEntity.kt | DeflatedPickle | 441,885,686 | false | {"Kotlin": 6738, "Java": 847} | /* Copyright (c) 2021-2022 DeflatedPickle under the MIT license */
package com.deflatedpickle.heatfromfire
import com.google.common.collect.Lists
import net.minecraft.entity.AreaEffectCloudEntity
import net.minecraft.entity.Entity
import net.minecraft.entity.EntityType
import net.minecraft.entity.LivingEntity
import ... | 0 | Kotlin | 0 | 1 | 7103ebd4fd70a9fd42ea2ae4514d2fd2264b4522 | 3,169 | HeatFromFire | MIT License |
dsl/src/main/kotlin/io/cloudshiftdev/awscdkdsl/services/iotanalytics/CfnPipelineDeviceShadowEnrichPropertyDsl.kt | cloudshiftinc | 667,063,030 | false | null | @file:Suppress(
"RedundantVisibilityModifier",
"RedundantUnitReturnType",
"RemoveRedundantQualifierName",
"unused",
"UnusedImport",
"ClassName",
"REDUNDANT_PROJECTION",
"DEPRECATION"
)
package cloudshift.awscdk.dsl.services.iotanalytics
import cloudshift.awscdk.common.CdkDslMarker
impo... | 4 | null | 0 | 3 | 256ad92aebe2bcf9a4160089a02c76809dbbedba | 2,244 | awscdk-dsl-kotlin | Apache License 2.0 |
architecture/src/androidMain/kotlin/observable/Subject.kt | splendo | 191,371,940 | false | null | /*
Copyright 2022 Splendo Consulting B.V. The Netherlands
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 appli... | 87 | null | 7 | 315 | 4094d5625a4cacb851b313d4e96bce6faac1c81f | 6,741 | kaluga | Apache License 2.0 |
src/main/kotlin/no/nav/familie/baks/mottak/søknad/SøknadSpråkvelgerService.kt | navikt | 221,166,975 | false | {"Kotlin": 490956, "Java": 28936, "Dockerfile": 165} | package no.nav.familie.baks.mottak.søknad
import com.fasterxml.jackson.databind.ObjectMapper
import com.fasterxml.jackson.module.kotlin.convertValue
import no.nav.familie.baks.mottak.søknad.barnetrygd.BarnetrygdSøknadObjectMapperModule
import no.nav.familie.baks.mottak.søknad.barnetrygd.domene.SøknadV7
import no.nav.f... | 2 | Kotlin | 0 | 2 | bfac42357de00b5f0c7685b7d952fc97cf4eb3eb | 2,592 | familie-baks-mottak | MIT License |
app/src/main/java/com/example/ayurveda/Map.kt | ImeshPasinda | 691,128,876 | false | {"Kotlin": 197079} | package com.example.ayurveda
import android.graphics.Bitmap
import android.graphics.BitmapFactory
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.view.View
import android.widget.ImageView
import android.widget.TextView
import com.google.android.gms.maps.CameraUpdateFactory
impo... | 0 | Kotlin | 2 | 0 | f6bae07d00985e20c417272d528266671a3b9d2e | 3,831 | Ayurveda | MIT License |
src/main/kotlin/net/casual/arcade/minigame/task/impl/SidebarTask.kt | CasualChampionships | 621,955,934 | false | null | package net.casual.arcade.gui.task
import net.casual.arcade.gui.sidebar.ArcadeSidebar
import net.casual.arcade.minigame.Minigame
import net.casual.arcade.task.Task
public open class SidebarTask(
private val minigame: Minigame<*>,
sidebar: ArcadeSidebar
): Task {
init {
this.minigame.ui.setSidebar(... | 1 | null | 1 | 2 | 01bad4fba0eb3ea13acef4cec7432c5d6877968f | 409 | arcade | MIT License |
browser-kotlin/src/jsMain/kotlin/web/authn/AuthenticationExtensionsClientInputs.kt | karakum-team | 393,199,102 | false | {"Kotlin": 6272741} | // Automatically generated - do not modify!
package web.authn
import kotlinx.js.JsPlainObject
@JsPlainObject
external interface AuthenticationExtensionsClientInputs {
val appid: String?
val credProps: Boolean?
val hmacCreateSecret: Boolean?
val minPinLength: Boolean?
val prf: AuthenticationExtens... | 0 | Kotlin | 8 | 36 | 95b065622a9445caf058ad2581f4c91f9e2b0d91 | 337 | types-kotlin | Apache License 2.0 |
kotlin-analysis-api/src/main/kotlin/com/google/devtools/ksp/impl/symbol/kotlin/resolved/KSTypeReferenceResolvedImpl.kt | google | 297,744,725 | false | {"Kotlin": 2173589, "Shell": 5321, "Java": 3893} | /*
* Copyright 2022 Google LLC
* Copyright 2010-2022 JetBrains s.r.o. and Kotlin Programming Language 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.apac... | 370 | Kotlin | 268 | 2,854 | a977fb96b05ec9c3e15b5a0cf32e8e7ea73ab3b3 | 4,939 | ksp | Apache License 2.0 |
cpg-core/src/main/kotlin/de/fraunhofer/aisec/cpg/passes/DynamicInvokeResolver.kt | Fraunhofer-AISEC | 225,386,107 | false | null | /*
* Copyright (c) 2022, Fraunhofer AISEC. 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 require... | 94 | null | 62 | 281 | 4b2d95b66ccd87ac7e97e1f23ace67265a533ab8 | 9,852 | cpg | Apache License 2.0 |
Navitas-Plugin/src/main/kotlin/tooling/PowerProfileManager.kt | Stanislav-Sartasov | 195,064,379 | false | null | package tooling
import domain.model.CpuCoreCluster
import domain.model.PowerProfile
class PowerProfileManager {
// default profile initialization
companion object {
private const val defaultWifiOn = 0.1f
private const val defaultWifiScan = 0.1f
private const val defaultWifiActive = 0.1... | 6 | Kotlin | 2 | 6 | 4695911381911c9dab53c0aebe584eb6327b75fd | 3,368 | Navitas-Framework | MIT License |
app/src/main/java/com/example/androiddevchallenge/model/Dog.kt | sonatard | 342,777,592 | true | {"Kotlin": 33513} | /*
* 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... | 0 | Kotlin | 0 | 0 | 1ad55a1d4ea77959c097dabee78936fef3b99038 | 3,351 | android-dev-challenge-compose | Apache License 2.0 |
app/src/main/java/com/julive/adapter_demo/video/VideoListActivity.kt | bagutree | 378,672,502 | false | null | package com.julive.adapter_demo.video
import android.annotation.SuppressLint
import android.os.Build
import android.os.Bundle
import android.util.Log
import android.widget.ImageView
import android.widget.TextView
import androidx.annotation.RequiresApi
import androidx.appcompat.app.AppCompatActivity
import androidx.cor... | 0 | null | 25 | 4 | 5c6f6952ac2475616a7b12020c42d830b1ccb5b2 | 6,189 | RecyclerViewAdapter | Apache License 2.0 |
app/src/main/java/dev/debaleen/foodrunner/adapter/FAQAdapter.kt | the-it-weirdo | 279,097,648 | false | null | package dev.debaleen.foodrunner.adapter
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import androidx.recyclerview.widget.RecyclerView
import dev.debaleen.foodrunner.R
import dev.debaleen.foodrunner.model.FAQModel
class FAQAdapter(
privat... | 1 | Kotlin | 5 | 2 | 56b10c9904cabad0e313f5134d5b2131d53bfa5e | 1,469 | Foodzzy | MIT License |
kobweb/src/main/kotlin/com/varabyte/kobweb/cli/create/freemarker/FreemarkerState.kt | varabyte | 626,735,789 | false | null | package com.varabyte.kobweb.cli.create.freemarker
import com.varabyte.kobweb.cli.common.informInfo
import com.varabyte.kobweb.cli.common.processing
import com.varabyte.kobweb.cli.common.queryUser
import com.varabyte.kobweb.cli.common.template.Instruction
import com.varabyte.kobweb.cli.common.wildcardToRegex
import com... | 85 | null | 5 | 6 | 4fb69b039990d40842c3c827a4a1e0d023cad74b | 10,011 | kobweb-cli | Apache License 2.0 |
app/src/main/java/com/quantumcode/napets/ui/myProfile/view/HomeProfileFragment.kt | Tesis-IA | 586,580,191 | false | {"Kotlin": 116702} | package com.quantumcode.napets.ui.myProfile.view
import com.quantumcode.napets.databinding.FragmentHomeProfileBinding
import com.quantumcode.napets.ui.base.BaseFragment
class HomeProfileFragment : BaseFragment<FragmentHomeProfileBinding>() {
override fun getViewBinding() = FragmentHomeProfileBinding.inflate(layou... | 0 | Kotlin | 0 | 0 | 4be8ee7a77e48bc19a0c6eb59bb7fb67db451dab | 334 | napets-app | MIT License |
libs/lifecycle/lifecycle-impl/src/main/kotlin/net/corda/lifecycle/impl/InternalLifecycleEvents.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.lifecycle.impl
import net.corda.lifecycle.LifecycleEvent
import net.corda.lifecycle.LifecycleStatus
import net.corda.lifecycle.TimerEvent
/**
* Purely internal events for the lifecycle coordinator to process. These are used to ensure that state changes to the
* coordinator always happen on an exec... | 14 | Kotlin | 27 | 69 | 0766222eb6284c01ba321633e12b70f1a93ca04e | 2,532 | corda-runtime-os | Apache License 2.0 |
src/test/kotlin/de/hennihaus/bamdatamodel/testutils/FileTestUtil.kt | hennihaus | 537,758,510 | false | {"Kotlin": 22520} | package de.hennihaus.bamdatamodel.testutils
fun getResourceAsText(path: String): String = object {}.javaClass.getResource(path)!!.readText()
| 1 | Kotlin | 0 | 0 | 4f1d7ddc6207bfeb93b8c869b6adc7444f59e8d9 | 142 | bamdatamodel | Apache License 2.0 |
src/main/kotlin/com/terraformation/backend/nursery/db/BatchPhotoService.kt | terraware | 323,722,525 | false | null | package com.terraformation.backend.nursery.db
import com.terraformation.backend.auth.currentUser
import com.terraformation.backend.customer.event.OrganizationDeletionStartedEvent
import com.terraformation.backend.customer.model.requirePermissions
import com.terraformation.backend.db.FileNotFoundException
import com.te... | 9 | null | 1 | 9 | ab6fbb71381d0eda0684e9d06aa68004d9718b05 | 4,744 | terraware-server | Apache License 2.0 |
server/src/main/kotlin/cz/martinforejt/piskvorky/server/features/game/mapper/GameMapper.kt | MFori | 323,623,365 | false | null | package cz.martinforejt.piskvorky.server.features.game.mapper
import cz.martinforejt.piskvorky.api.model.GameInvitation
import cz.martinforejt.piskvorky.api.model.Player
import cz.martinforejt.piskvorky.api.utils.ApiUtils.formatApi
import cz.martinforejt.piskvorky.domain.model.Invitation
import cz.martinforejt.piskvor... | 0 | Kotlin | 0 | 0 | 8333fa53793a3ea1a9c83cfa821b5c4e8573ec4b | 1,231 | Piskvorky | Apache License 2.0 |
ktor-server/ktor-server-core/posix/src/io/ktor/server/engine/ApplicationEngineEnvironmentNix.kt | ktorio | 40,136,600 | false | {"Kotlin": 6007831, "C": 453568, "Python": 948, "JavaScript": 775, "HTML": 336, "Mustache": 77, "Handlebars": 9} | // ktlint-disable filename
/*
* Copyright 2014-2021 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license.
*/
package io.ktor.server.engine
import io.ktor.events.*
import io.ktor.server.application.*
import io.ktor.server.config.*
import io.ktor.util.logging.*
import io.kto... | 156 | Kotlin | 1051 | 12,926 | f90f2edf11caca28a61dbe9973faae64c17a2842 | 1,289 | ktor | Apache License 2.0 |
fsc/src/main/java/com/angcyo/bluetooth/fsc/laserpacker/command/ICommand.kt | angcyo | 229,037,684 | false | {"Kotlin": 3482606, "JavaScript": 5542, "HTML": 1598} | package com.angcyo.bluetooth.fsc.laserpacker.command
import com.angcyo.bluetooth.fsc.IReceiveBeanAction
import com.angcyo.bluetooth.fsc.ISendProgressAction
import com.angcyo.bluetooth.fsc.ReceivePacket
import com.angcyo.bluetooth.fsc.ReceiveTimeOutException
import com.angcyo.bluetooth.fsc.WaitReceivePacket
import com.... | 0 | Kotlin | 4 | 4 | 9e5646677153f5fba31c31a1bc8ce5753b84660a | 3,041 | UICoreEx | MIT License |
compiler/ir/ir.psi2ir/src/org/jetbrains/kotlin/psi2ir/generators/GeneratorContext.kt | nskvortsov | 367,097,840 | false | null | /*
* Copyright 2010-2020 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.psi2ir.generators
import org.jetbrains.kotlin.builtins.ReflectionTypes
import or... | 5 | null | 1 | 3 | 58c7aa9937334b7f3a70acca84a9ce59c35ab9d1 | 2,081 | kotlin | Apache License 2.0 |
src/main/kotlin/eu/automateeverything/nspanelplugin/blocks/NsPanelOptionAutomationNode.kt | tomaszbabiuk | 669,691,372 | false | null | /*
* Copyright (c) 2019-2023 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* You may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | 0 | Kotlin | 0 | 0 | d22c52d3d85f97cf7195e09d6d7f71f2b1a5867c | 1,322 | aeplugin-nspanel | Apache License 2.0 |
compose/runtime/runtime/integration-tests/src/androidAndroidTest/kotlin/androidx/compose/runtime/AndroidSnapshotTests.kt | RikkaW | 389,105,112 | false | null | /*
* Copyright 2020 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 29 | null | 937 | 7 | 6d53f95e5d979366cf7935ad7f4f14f76a951ea5 | 2,152 | androidx | Apache License 2.0 |
src/test/kotlin/org/wfanet/panelmatch/common/certificates/openssl/OpenSslCertificateAuthorityTest.kt | world-federation-of-advertisers | 357,662,978 | false | null | // Copyright 2021 The Cross-Media Measurement Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applic... | 145 | Kotlin | 11 | 4 | 9826ef29ac445b7aee8f28dd0ddd9ee8cf116102 | 3,453 | panel-exchange-client | Apache License 2.0 |
demo/kotlin-demo/src/test/kotlin/com/alibaba/demo/one2multi/ASvcMock.kt | alibaba | 311,530,297 | false | null | package com.alibaba.demo.one2multi
import com.alibaba.testable.core.annotation.MockInvoke
class ASvcMock {
@MockInvoke(targetClass = String::class, targetMethod = "format")
fun a_format(format: String, vararg args: Any?): String {
return "a_mock"
}
}
| 57 | Java | 299 | 1,715 | 30570ae69dcbfd1851d81ee2c934614762e45e95 | 275 | testable-mock | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.