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/nesscoloura/fragments/HomeFrag.kt | iyashasgowda | 533,633,706 | false | {"Kotlin": 429630, "Java": 12079, "C++": 1192, "CMake": 173} | package com.nesscoloura.fragments
import android.content.Context
import android.os.Bundle
import android.os.Handler
import android.os.Looper
import android.view.LayoutInflater
import android.view.View
import android.view.View.VISIBLE
import android.view.ViewGroup
import android.view.animation.DecelerateInterpolator
im... | 0 | Kotlin | 0 | 1 | c361498fdaa31bee75c0634cd289c3aa735dde9e | 10,749 | nesscoloura-android | MIT License |
features/finances/impl/src/main/kotlin/br/com/mob1st/features/finances/impl/infra/data/ram/VariableExpanseFactory.kt | mob1st | 526,655,668 | false | {"Kotlin": 796049, "Shell": 1558} | package br.com.mob1st.features.finances.impl.data.ram
import br.com.mob1st.core.kotlinx.structures.Money
import br.com.mob1st.features.finances.impl.data.ram.VariableExpanseFactory.suggestions
import br.com.mob1st.features.finances.impl.data.system.RecurrenceLocalizationProvider
import br.com.mob1st.features.finances.... | 11 | Kotlin | 0 | 3 | 89e55a76a6d368c9f3e8f6a0b7ed4d158665f424 | 1,484 | bet-app-android | Apache License 2.0 |
app/src/main/kotlin/cz/kotox/kotiheating/common/BindingUtility.kt | kotoMJ | 104,669,944 | false | null | package cz.kotox.kotiheating.common
import androidx.databinding.BindingAdapter
@BindingAdapter("app:refreshColors")
fun androidx.swiperefreshlayout.widget.SwipeRefreshLayout.setRefreshColors(@Suppress("UNUSED_PARAMETER") setColors: Boolean) {
setColorSchemeResources(*SWIPE_REFRESH_COLORS)
}
| 0 | Kotlin | 0 | 1 | 4cf45ac7cdc8340f934e3a1385f146b0d4ceeffd | 295 | kotiheating-android | Apache License 2.0 |
androidApp/src/main/java/net/ralphpina/markdownparser/androidApp/AndroidMarkdownRenderer.kt | ralphpina | 351,648,078 | false | null | package net.ralphpina.markdownparser.androidApp
import android.graphics.Typeface
import android.text.Spannable
import android.text.SpannableStringBuilder
import android.text.style.ClickableSpan
import android.text.style.StyleSpan
import android.text.style.UnderlineSpan
import android.util.Log
import android.view.View
... | 0 | Kotlin | 0 | 4 | 9053907df1f26458b3cfb00b21654695ec938375 | 2,106 | MarkdownParser | MIT License |
app/src/main/kotlin/com/jjdev/equi/ui/preview/PieChartPreviewProvider.kt | JanJarosDev | 804,500,985 | false | {"Kotlin": 92887} | package com.jjdev.equi.ui.preview
import androidx.compose.ui.tooling.preview.PreviewParameterProvider
import com.jjdev.equi.dashboard.presentation.model.Investment
import com.jjdev.equi.ui.preview.helper.InvestmentPreviewParameterHelper
import kotlinx.collections.immutable.ImmutableList
import kotlinx.collections.immu... | 6 | Kotlin | 0 | 1 | 64153f442a0fad256aba236836c01e35f9a6a1e5 | 784 | equi | Apache License 2.0 |
src/main/java/uk/gov/justice/hmpps/casenotes/controllers/SyncController.kt | ministryofjustice | 195,988,411 | false | {"Kotlin": 363490, "Java": 48090, "PLpgSQL": 5831, "Mustache": 1803, "Dockerfile": 1357, "Shell": 580} | package uk.gov.justice.hmpps.casenotes.controllers
import io.swagger.v3.oas.annotations.Operation
import io.swagger.v3.oas.annotations.media.Content
import io.swagger.v3.oas.annotations.media.Schema
import io.swagger.v3.oas.annotations.responses.ApiResponse
import io.swagger.v3.oas.annotations.responses.ApiResponses
i... | 4 | Kotlin | 1 | 1 | 5ed8c3446998085162f0fa6ff4b104f1ebff28d4 | 5,309 | offender-case-notes | MIT License |
app/src/main/java/io/outblock/lilico/utils/QRCodeUtils.kt | Outblock | 435,317,689 | false | {"Kotlin": 1563313, "Java": 104099} | package io.outblock.lilico.utils
import android.graphics.Bitmap
import android.graphics.Color
import com.google.zxing.BarcodeFormat
import com.google.zxing.MultiFormatWriter
fun String.toQRBitmap(
width: Int = 500,
height: Int = 500,
foregroundColor: Int = Color.BLACK,
backgroundColor: Int = Color.WHI... | 63 | Kotlin | 0 | 4 | a238e4f9db0d93a9c87fc9682860f2ea265c798b | 942 | Lilico-Android | Apache License 2.0 |
tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/games/SendGame.kt | InsanusMokrassar | 163,152,024 | false | {"Kotlin": 3243076, "Shell": 373} | package dev.inmo.tgbotapi.requests.send.games
import dev.inmo.tgbotapi.abstracts.types.WithReplyMarkup
import dev.inmo.tgbotapi.requests.send.abstracts.SendContentMessageRequest
import dev.inmo.tgbotapi.requests.send.abstracts.SendMessageRequest
import dev.inmo.tgbotapi.types.*
import dev.inmo.tgbotapi.types.business_... | 16 | Kotlin | 29 | 358 | 482c375327b7087699a4cb8bb06cb09869f07630 | 2,022 | ktgbotapi | Apache License 2.0 |
compose-barcode/src/iosMain/kotlin/com/threemoly/barcode/toByteArray.kt | 3moly | 740,184,401 | false | {"Kotlin": 28774, "Ruby": 2270} | package com.threemoly.barcode
import kotlinx.cinterop.ExperimentalForeignApi
import kotlinx.cinterop.addressOf
import kotlinx.cinterop.usePinned
import platform.Foundation.NSData
import platform.UIKit.UIImage
import platform.UIKit.UIImagePNGRepresentation
import platform.posix.memcpy
internal fun UIImage.toByteArray(... | 0 | Kotlin | 0 | 0 | ae83db9a1eb749839989a73deb1c79d202e4fd7b | 663 | compose-barcode | MIT License |
data/src/commonMain/kotlin/tech/alexib/yaba/data/store/AccountsStore.kt | ruffCode | 377,878,114 | false | null | /*
* Copyright 2021 Alexi Bre
*
* 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... | 9 | Kotlin | 1 | 6 | ca86e5a60d0fcc2accfd6c12da07a334558cce0e | 1,396 | yaba-kmm | Apache License 2.0 |
buildSrc/src/main/kotlin/config/Dependencies.kt | yochiro | 174,913,280 | false | null | // Requires package to allow nested object access in build.gradle
// https://github.com/handstandsam/AndroidDependencyManagement/issues/4
package config
object Builds {
private val androidGradlePlugin = AGP.lib
private const val kotlinGradlePlugin =
"org.jetbrains.kotlin:kotlin-gradle-plugin:${BuildGra... | 0 | Kotlin | 0 | 0 | 066356ec65109bb7d8277516d4ff901e88f2fa13 | 9,915 | kmvp | MIT License |
library/src/main/java/com/kvs/googlefitreporter/resolver/Resolver.kt | kvs-coder | 430,758,779 | false | {"Kotlin": 69699} | package com.kvs.googlefitreporter.resolver
import com.google.android.gms.fitness.data.*
import com.google.android.gms.fitness.request.DataDeleteRequest
import com.google.android.gms.fitness.request.DataReadRequest
import com.google.android.gms.fitness.request.DataUpdateRequest
import com.kvs.googlefitreporter.model.*
... | 0 | Kotlin | 0 | 1 | af7d21e0c170e696b440a778d4809e72251bafad | 2,300 | GoogleFitReporter | MIT License |
testing/src/test/java/net/crimsonwoods/easydatabinding/binding/appcompat/LinearLayoutCompatBindingTest.kt | crimsonwoods | 340,419,022 | false | null | package net.crimsonwoods.easydatabinding.binding.appcompat
import android.graphics.drawable.NinePatchDrawable
import android.view.View
import androidx.annotation.Px
import androidx.appcompat.widget.LinearLayoutCompat
import androidx.fragment.app.testing.FragmentScenario
import androidx.fragment.app.testing.launchFragm... | 6 | Kotlin | 0 | 8 | 99e2fe32393403f3b461d419d491934ab1bf667f | 5,761 | EasyDataBinding | MIT License |
src/main/kotlin/br/com/zup/edu/grpc/handlers/ExceptionHandlerInterceptor.kt | LucasLaacerda | 397,408,461 | true | {"Kotlin": 43570} | package br.com.zup.edu.grpc.handlers
import io.grpc.BindableService
import io.grpc.stub.StreamObserver
import io.micronaut.aop.MethodInterceptor
import io.micronaut.aop.MethodInvocationContext
import javax.inject.Inject
import javax.inject.Singleton
import kotlin.Exception
@Singleton
//@InterceptorBean(ErrorHandler::... | 0 | Kotlin | 0 | 0 | b2a095462946310553ec01b29db6b8133269c4e5 | 1,742 | orange-talents-06-template-pix-keymanager-grpc | Apache License 2.0 |
src/main/kotlin/com/cosmotech/api/containerregistry/ContainerRegistryService.kt | Cosmo-Tech | 494,351,686 | false | {"Kotlin": 211799} | // Copyright (c) Cosmo Tech.
// Licensed under the MIT license.
package com.cosmotech.api.containerregistry
import com.cosmotech.api.config.CsmPlatformProperties
import com.cosmotech.api.exceptions.CsmClientException
import com.cosmotech.api.exceptions.CsmResourceNotFoundException
import java.util.Base64
import org.js... | 13 | Kotlin | 0 | 1 | b91fdf21875d36ac279daee5c765b3c7351a8c17 | 1,801 | cosmotech-api-common | MIT License |
app/src/main/java/es/voghdev/hellokotlin/global/Presenter.kt | voghDev | 73,621,861 | false | null | /*
* Copyright (C) 2017 <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 w... | 0 | Kotlin | 4 | 5 | e9a55149601745433702e9019b023cd6419138ba | 1,412 | HelloKotlin | Apache License 2.0 |
app/src/main/java/com/wanderlei/movieapp/core/presentation/navigation/NavigationGraph.kt | WanderleiSantos | 802,153,403 | false | {"Kotlin": 112642} | package com.wanderlei.movieapp.core.presentation.navigation
import androidx.compose.runtime.Composable
import androidx.hilt.navigation.compose.hiltViewModel
import androidx.navigation.NavHostController
import androidx.navigation.NavType
import androidx.navigation.compose.NavHost
import androidx.navigation.compose.comp... | 0 | Kotlin | 0 | 0 | f6e2c55fbc22bca19274e4e114ddaf357205a497 | 2,975 | movie-app-jetpack-compose | MIT License |
monitoring/src/main/java/ru/flowernetes/monitoring/domain/usecase/GetTaskStatusInfoFromWorkloadUseCaseImpl.kt | b1nd | 252,335,785 | false | null | package ru.flowernetes.monitoring.domain.usecase
import org.springframework.stereotype.Component
import ru.flowernetes.entity.monitoring.TaskStatusInfo
import ru.flowernetes.entity.workload.Workload
import ru.flowernetes.monitoring.api.domain.usecase.GetTaskStatusFromWorkloadUseCase
import ru.flowernetes.monitoring.ap... | 0 | Kotlin | 1 | 2 | 8eef7e3324642fa4b26a69be69525d79a4873ea4 | 871 | flowernetes | MIT License |
app/src/main/java/com/cobeisfresh/azil/schedulers/SchedulerModule.kt | vejathegreat | 162,910,055 | false | null | package com.cobeisfresh.azil.schedulers
import dagger.Module
import dagger.Provides
import io.reactivex.Scheduler
import io.reactivex.android.schedulers.AndroidSchedulers
import io.reactivex.schedulers.Schedulers
import javax.inject.Named
/**
* Created by <NAME> on 01/08/2017.
*/
@Module
class SchedulerModule {
... | 0 | Kotlin | 0 | 0 | 174c15f617b5766bd2f093a7780c7d090b632d40 | 874 | Azil-Osijek-Android | The Unlicense |
app/src/main/java/com/example/todolist_app/presentation/todolist/ui/list/viewholder/SubsequentTodoListViewHolder.kt | dev-baik | 806,409,435 | false | {"Kotlin": 45840} | package com.example.todolist_app.presentation.todolist.ui.list.viewholder
import androidx.recyclerview.widget.RecyclerView
import com.example.todolist_app.databinding.ItemTodoListSubsequentBinding
import com.example.todolist_app.domain.model.TodoList
class SubsequentTodoListViewHolder(
private val binding: ItemTo... | 0 | Kotlin | 0 | 0 | ecec41e90984e3d35d97fd9245c13187b56332fa | 503 | TodoList-App | Apache License 2.0 |
app/src/main/kotlin/com/g00fy2/developerwidget/activities/shortcut/ShortcutRouterActivity.kt | G00fY2 | 96,943,329 | false | null | package com.g00fy2.developerwidget.activities.shortcut
import android.app.Activity
import android.content.Intent
import android.os.Bundle
import android.widget.Toast
import com.g00fy2.developerwidget.R
class ShortcutRouterActivity : Activity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCrea... | 0 | Kotlin | 10 | 38 | d1d3fc69c89a7b3cfeec0062b69d149e8bb568b4 | 1,031 | DeveloperWidget | MIT License |
arrow-libs/core/arrow-core/src/main/kotlin/arrow/core/extensions/tuple4/show/Tuple4Show.kt | clojj | 343,913,289 | true | {"Kotlin": 6274993, "SCSS": 78040, "JavaScript": 77812, "HTML": 21200, "Scala": 8073, "Shell": 2474, "Ruby": 83} | package arrow.core.extensions.tuple4.show
import arrow.core.Tuple4.Companion
import arrow.core.extensions.Tuple4Show
import arrow.typeclasses.Show
import arrow.typeclasses.ShowDeprecation
import kotlin.Suppress
@Suppress(
"UNCHECKED_CAST",
"NOTHING_TO_INLINE"
)
@Deprecated(ShowDeprecation)
inline fun <A, B, C, D>... | 0 | null | 0 | 0 | 5eae605bbaeb2b911f69a5bccf3fa45c42578416 | 695 | arrow | Apache License 2.0 |
slack-api-model-kotlin-extension/src/test/kotlin/test_locally/block/RichTextBlockTest.kt | slackapi | 62,449,869 | false | {"Java": 6165956, "Kotlin": 361122, "Shell": 7287, "Batchfile": 3120, "Dockerfile": 249} | package test_locally.block
import com.google.gson.JsonElement
import com.slack.api.SlackConfig
import com.slack.api.model.block.element.RichTextSectionElement.LimitedTextStyle
import com.slack.api.model.block.element.RichTextSectionElement.TextStyle
import com.slack.api.model.kotlin_extension.block.element.BroadcastRa... | 22 | Java | 214 | 577 | 52b04eb7ec1e97832d333e4ee96b7032b0203764 | 14,370 | java-slack-sdk | MIT License |
app/src/main/java/com/ciscowebex/androidsdk/kitchensink/utils/UIUtils.kt | webex | 137,331,913 | false | {"Kotlin": 921538} | package com.ciscowebex.androidsdk.kitchensink.utils
import android.content.Context
import android.content.res.Configuration
object UIUtils {
fun isPortraitMode(context: Context): Boolean {
return context.resources.configuration.orientation == Configuration.ORIENTATION_PORTRAIT
}
fun isInLandscap... | 8 | Kotlin | 19 | 14 | f6ce3ab0d33275c7e59a9d5465d3fa635b5e28bd | 460 | webex-android-sdk-example | MIT License |
src/main/kotlin/ch/sourcemotion/vertx/kinesis/consumer/orchestra/impl/kinesis/KinesisAsyncClientFactory.kt | wem | 253,237,315 | false | null | package ch.sourcemotion.vertx.kinesis.consumer.orchestra.impl.kinesis
import ch.sourcemotion.vertx.kinesis.consumer.orchestra.impl.SharedData
import ch.sourcemotion.vertx.kinesis.consumer.orchestra.impl.credentials.ShareableAwsCredentialsProvider
import ch.sourcemotion.vertx.kinesis.consumer.orchestra.impl.ext.isNotNu... | 10 | Kotlin | 0 | 3 | a2290613daf15c96034bf5d3d67103ddc8741776 | 2,532 | vertx-kinesis-consumer-orchestra | MIT License |
lib/src/main/kotlin/org/hravemzdy/procezor/interfaces/ITermTarget.kt | infohravemzdy | 425,934,377 | false | {"Kotlin": 93400} | package org.hravemzdy.procezor.interfaces
import org.hravemzdy.procezor.service.types.ConceptCode
interface ITermTarget : ITermSymbol {
val concept: ConceptCode
fun conceptDescr(): String
}
typealias ITermTargetList = Iterable<ITermTarget>
| 0 | Kotlin | 0 | 0 | 5dbc95f6249c54d47cd4a908320a332c50222cd0 | 252 | procezorkotlin | The Unlicense |
src/client/kotlin/org/teamvoided/astralarsenal/CosmicTableScreen.kt | TeamVoided | 817,828,571 | false | {"Kotlin": 372355, "Java": 28439} | package org.teamvoided.astralarsenal
import net.minecraft.client.gui.GuiGraphics
import net.minecraft.client.gui.screen.ingame.HandledScreen
import net.minecraft.entity.player.PlayerInventory
import net.minecraft.text.Text
import net.minecraft.util.Identifier
import org.teamvoided.astralarsenal.menu.CosmicTableMenu
c... | 0 | Kotlin | 0 | 1 | b321ee002d841b53ebf6cddfd33a35783d777867 | 791 | AstralArsenal | MIT License |
app/common/core/src/main/kotlin/io/qtd/fungpt/common/core/exception/exception.kt | quangtd95 | 736,874,859 | false | {"Kotlin": 70128, "Dockerfile": 351} | package io.qtd.fungpt.common.core.exception
open class AuthenticationException(message: String) : RuntimeException(message)
open class WrongRequestException(message: String = "Bad request", val data: Any? = null) :
IllegalArgumentException(message)
class AccessTokenInvalidException : AuthenticationException("Acc... | 0 | Kotlin | 0 | 1 | 1ccba9cd6ccb6bc88594379a94f049e535dfe952 | 830 | kor-clean-architecture-example | MIT License |
src/main/kotlin/cn/lnkdoc/sdk/uia/instance/gitlab/domain/RefreshToken.kt | langkye | 615,896,447 | false | {"Kotlin": 398542, "Java": 196} | package cn.lnkdoc.sdk.uia.instance.gitlab.domain
import com.alibaba.fastjson.annotation.JSONField
/**
* @author langkye
* @since 1.0.0.RELEASE
*/
@Suppress("unused", "MemberVisibilityCanBePrivate")
class RefreshToken {
/**
* access_token
*/
@JSONField(name = "access_token")
var accessToken: S... | 0 | Kotlin | 0 | 1 | a0d45b63a1fb6f66df77934c5c0ed65deca215a5 | 1,684 | awesome-uia-sdk | Apache License 2.0 |
app/src/main/java/com/solo/tasky/feature_task/presentation/taskEditAdd/component/TopSection.kt | MahdiJamali2004 | 851,018,151 | false | {"Kotlin": 231084} | package com.solo.tasky.feature_task.presentation.taskEditAdd.component
import androidx.compose.foundation.Canvas
import androidx.compose.foundation.background
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.BoxWithConstraints
... | 0 | Kotlin | 0 | 0 | 7e6488281415c3391e2b25e73609528ad6848e3d | 9,257 | TaskManagement | MIT License |
bilimiao-cover/src/main/java/cn/a10miaomiao/bilimiao/cover/CoverViewModel.kt | 10miaomiao | 142,169,120 | false | {"Kotlin": 1671460, "Java": 664642, "HTML": 601} | package cn.a10miaomiao.bilimiao.cover
import android.app.Activity
import android.content.Intent
import android.graphics.Bitmap
import android.net.Uri
import android.widget.Toast
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.a10miaomiao... | 44 | Kotlin | 38 | 977 | 1d59b82ba30b4c2e83c781479d09c48c3a82cd47 | 9,042 | bilimiao2 | Apache License 2.0 |
src/main/kotlin/starter/apitool/Pet.kt | jooby-project | 115,048,360 | false | null | package starter.apitool
data class Pet (val id: Long, val name: String)
| 0 | Kotlin | 1 | 4 | 1872183748619ffa189174f1f26d67913b3ac37a | 73 | apitool-kotlin-starter | Apache License 2.0 |
common/src/main/kotlin/com/gitlab/kordlib/common/entity/optional/delegate/OptionalSnowflakeDelegate.kt | noituri | 317,339,108 | true | {"Kotlin": 1014130} | package com.gitlab.kordlib.common.entity.optional.delegate
import com.gitlab.kordlib.common.entity.Snowflake
import com.gitlab.kordlib.common.entity.optional.OptionalSnowflake
import com.gitlab.kordlib.common.entity.optional.optionalSnowflake
import com.gitlab.kordlib.common.entity.optional.value
import kotlin.propert... | 0 | Kotlin | 0 | 0 | c55aff04fe0acda50166b47cdebffd9646ca424b | 1,412 | kord | MIT License |
kludge-common-module/src/main/kotlin/kludge/common/Common.kt | Zhupff | 374,409,210 | false | null | package kludge.common
/**
* Author: Zhupf
*/ | 0 | Kotlin | 0 | 0 | d5b5eb3c94733625c3c9dddb2473960ccc9667eb | 47 | kludges | Apache License 2.0 |
src/main/kotlin/io/github/sgtsilvio/gradle/oci/mapping/OciImageMapper.kt | SgtSilvio | 522,265,898 | false | {"Kotlin": 352442} | package io.github.sgtsilvio.gradle.oci.mapping
import io.github.sgtsilvio.gradle.oci.metadata.OciImageReference
import java.util.*
private const val GROUP_PARAMETER_KEY = "group"
private const val NAME_PARAMETER_KEY = "name"
private const val VERSION_PARAMETER_KEY = "version"
private const val FEATURE_NAME_PARAMETER_... | 1 | Kotlin | 0 | 29 | 63238b3be46b441bb33336a36e7bec5b91e9d554 | 3,782 | gradle-oci | Apache License 2.0 |
kotlin-js/src/jsMain/kotlin/js/collections/WeakSet.kt | JetBrains | 93,250,841 | false | {"Kotlin": 12635434, "JavaScript": 423801} | package js.collections
import js.array.ReadonlyArray
open external class WeakSet<in T>(
values: ReadonlyArray<T>? = definedExternally,
) {
fun add(value: T): WeakSet<T>
fun delete(value: T): Boolean
fun has(key: T): Boolean
}
| 38 | Kotlin | 162 | 1,347 | 997ed3902482883db4a9657585426f6ca167d556 | 244 | kotlin-wrappers | Apache License 2.0 |
app/src/main/java/com/android/topgithub/network/NetworkModule.kt | nibedita09 | 160,229,387 | false | null | package com.android.topgithub.network
import com.android.topgithub.service.GithubApi
import com.android.topgithub.service.UrlConstants
import dagger.Module
import dagger.Provides
import dagger.Reusable
import io.reactivex.schedulers.Schedulers
import retrofit2.Retrofit
import retrofit2.adapter.rxjava2.RxJava2CallAdapt... | 0 | Kotlin | 0 | 0 | f3b2581deb0f214ec37bd312676f39bdfe3f119f | 1,060 | Target-TopGithub | Apache License 2.0 |
libraries/apollo-api/src/commonMain/kotlin/com/apollographql/apollo/api/systemFileSystem.kt | apollographql | 69,469,299 | false | {"Kotlin": 3463807, "Java": 198208, "CSS": 34435, "HTML": 5844, "JavaScript": 1191} | package com.apollographql.apollo.api
import okio.FileSystem
internal expect val systemFileSystem: FileSystem
| 135 | Kotlin | 651 | 3,750 | 174cb227efe76672cf2beac1affc7054f6bb2892 | 111 | apollo-kotlin | MIT License |
core/model/src/main/java/com/goander/dictionary/model/SearchHistory.kt | ErayAgdogan | 595,600,548 | false | null | package com.goander.dictionary.model
data class SearchHistory(val id: Long, val search: String)
| 0 | Kotlin | 0 | 1 | ea8c10b143f91ea01317010d29a8c0bc5e1e5f88 | 97 | Dictionary | MIT License |
flow-sample-tree/src/androidTest/java/flow/sample/tree/FlowViewAssertions.kt | minyushov | 87,313,471 | true | {"Kotlin": 158999, "Shell": 933} | /*
* Copyright 2016 Square Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | 0 | Kotlin | 0 | 0 | 7b6403601decf6762e7e3f1ea10f468f22aa54ae | 1,278 | flow | Apache License 2.0 |
tabler/src/commonMain/kotlin/com/woowla/compose/icon/collections/tabler/tabler/outline/CircleDashedNumber0.kt | walter-juan | 868,046,028 | false | {"Kotlin": 34345428} | package com.woowla.compose.icon.collections.tabler.tabler.outline
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap
im... | 0 | Kotlin | 0 | 3 | eca6c73337093fbbfbb88546a88d4546482cfffc | 5,017 | compose-icon-collections | MIT License |
app/src/main/java/com/vikash/login/ui/view/MainFragment.kt | VikashKumar0 | 581,092,485 | false | {"Kotlin": 31438} | package com.vikash.login.ui.viewmodel.view
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.Toast
import androidx.appcompat.app.AlertDialog
import androidx.fragment.app.Fragment
import androidx.lifecycle.Observer
import androidx.l... | 1 | Kotlin | 0 | 0 | 92f13225f4494b374a2f0f58dc79d311ee2a0f42 | 2,397 | StarterApp | Apache License 2.0 |
app/src/main/java/org/haidy/servify/app/navigation/ServifyNavGraph.kt | HaidyAbuGom3a | 805,534,454 | false | {"Kotlin": 702248} | package org.haidy.servify.app.navigation
import android.os.Build
import androidx.annotation.RequiresApi
import androidx.compose.runtime.Composable
import androidx.navigation.compose.NavHost
import org.haidy.servify.app.LocalNavController
import org.haidy.servify.presentation.screens.addPhoto.addPhotoRoute
import org.h... | 0 | Kotlin | 0 | 2 | 8c2ba73cea5d29cc2ef7048d832f8ecea13f34ee | 3,889 | Servify | Apache License 2.0 |
src/main/java/cy/ac/ucy/cs/anyplace/lib/android/cache/anyplace/Cache.kt | dmsl | 300,647,134 | false | {"Kotlin": 744946, "Java": 15482} | package cy.ac.ucy.cs.anyplace.lib.android.cache.anyplace
import android.content.Context
import android.graphics.Bitmap
import android.graphics.BitmapFactory
import com.google.gson.Gson
import com.google.gson.GsonBuilder
import cy.ac.ucy.cs.anyplace.lib.android.data.anyplace.DetectionModel
import cy.ac.ucy.cs.anyplace.... | 0 | Kotlin | 1 | 3 | 653becd0961171ad33fa25fac2260927ce5f5175 | 13,959 | anyplace-lib-android | MIT License |
src/main/kotlin/dev/tasso/adventofcode/_2022/day11/Day11.kt | AndrewTasso | 433,656,563 | false | {"Kotlin": 75030} | package dev.tasso.adventofcode._2022.day11
import dev.tasso.adventofcode.Solution
import java.lang.IllegalArgumentException
import kotlin.math.floor
class Day11 : Solution<Int> {
override fun part1(input: List<String>): Int {
return input.asMonkeys()
.let {monkeys ->
... | 0 | Kotlin | 0 | 0 | daee918ba3df94dc2a3d6dd55a69366363b4d46c | 4,696 | advent-of-code | MIT License |
kanarinho-core/src/commonMain/kotlin/net/rafaeltoledo/kanarinho/formatter/CnpjFormatter.kt | rafaeltoledo | 619,258,647 | false | null | package net.rafaeltoledo.kanarinho.formatter
import net.rafaeltoledo.kanarinho.formatter.Formatter.Patterns.CNPJ_FORMATTED
import net.rafaeltoledo.kanarinho.formatter.Formatter.Patterns.CNPJ_UNFORMATTED
class CnpjFormatter : Formatter {
private val delegateFormatter = BaseFormatter(
CNPJ_FORMATTED, "$1.$2.$3/$... | 2 | Kotlin | 0 | 0 | cd5d184920b5ec88e77a3c7d72064e0ec40fbc12 | 740 | kanarinho | Apache License 2.0 |
app/src/main/java/com/p4indiafsm/features/attendance/model/AttendanceResponse.kt | DebashisINT | 600,987,989 | false | null | package com.p4indiafsm.features.attendance.model
import com.p4indiafsm.base.BaseResponse
/**
* Created by Pratishruti on 30-11-2017.
*/
class AttendanceResponse:BaseResponse(){
var shop_list:List<AttendanceResponseData>?=null
} | 0 | Kotlin | 0 | 0 | 8630187a840aca536fa77d20d1ee75aedf544afb | 234 | P4India | Apache License 2.0 |
container-tasks-gradle-plugin/src/main/kotlin/task/ContainerExecInputs.kt | mpetuska | 482,828,109 | false | null | package dev.petuska.container.task
import dev.petuska.container.ContainerPlugin
import org.gradle.api.file.DirectoryProperty
import org.gradle.api.provider.ListProperty
import org.gradle.api.provider.MapProperty
import org.gradle.api.provider.Property
import org.gradle.api.tasks.Input
import org.gradle.api.tasks.Inter... | 10 | Kotlin | 0 | 2 | 05265b4ec9dd977c863fd86c11991648aa1990a2 | 1,843 | container-tasks-gradle | Apache License 2.0 |
app/src/main/java/com/irmansyah/testmovie/ui/main/MainActivity.kt | irmansyah | 165,198,274 | false | null | package com.irmansyah.testmovie.ui.main
import android.os.Bundle
import android.support.v7.widget.LinearLayoutManager
import com.irmansyah.testmovie.R
import com.irmansyah.testmovie.data.model.Movie
import com.irmansyah.testmovie.ui.base.BaseActivity
import kotlinx.android.synthetic.main.activity_main.*
import org.koi... | 0 | Kotlin | 0 | 0 | ead7c1341e96079635e0308ec6a8b085fd1e1aab | 1,936 | Kotlin-Movie-Schedule | Apache License 2.0 |
library/src/test/java/ru/yoomoney/sdk/kassa/payments/contract/ContractInfoTestData.kt | yoomoney | 140,608,545 | false | null | /*
* The MIT License (MIT)
* Copyright © 2021 NBCO YooMoney LLC
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the “Software”), to deal in the Software without restriction, including
* without limitation the rights to use, co... | 9 | Kotlin | 21 | 35 | 421619230cce92280641ea943c5ecb00f3dd8827 | 4,461 | yookassa-android-sdk | MIT License |
shared/src/commonTest/kotlin/co/touchlab/kampkit/graphql/RealApiTest.kt | AKJAW | 475,951,922 | false | {"Kotlin": 42232, "Swift": 7794, "Ruby": 1863} | package co.touchlab.kampkit.graphql
import co.touchlab.kampkit.BaseTest
import co.touchlab.kampkit.LaunchesPastQuery
import com.apollographql.apollo3.ApolloClient
import com.apollographql.apollo3.network.http.LoggingInterceptor
import kotlin.test.Test
import kotlinx.coroutines.test.runTest as coroutinesRunTest
class ... | 0 | Kotlin | 0 | 0 | e0ccfe79c209f19dd6d697688d36215415680316 | 937 | apollo-kotlin-native-issue | Apache License 2.0 |
app/src/main/java/com/kgurgul/cpuinfo/data/provider/StorageDataProvider.kt | kamgurgul | 105,620,694 | false | null | package com.kgurgul.cpuinfo.data.provider
import javax.inject.Inject
class StorageDataProvider @Inject constructor() {
} | 27 | Kotlin | 88 | 468 | c14870ef298bc6be2c1355d36698c355c1f5fc51 | 124 | cpu-info | Apache License 2.0 |
straight/src/commonMain/kotlin/me/localx/icons/straight/filled/SquareTerminal.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.straight.filled
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 2,255 | icons | MIT License |
features/schedules/schedules-ui/src/commonMain/kotlin/com/paligot/confily/schedules/ui/speakers/SpeakerRow.kt | GerardPaligot | 444,230,272 | false | {"Kotlin": 897920, "Swift": 126158, "Shell": 1148, "Dockerfile": 576, "HTML": 338, "CSS": 102} | package com.paligot.confily.schedules.ui.speakers
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.BoxWithConstraints
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.width
impor... | 9 | Kotlin | 6 | 143 | 8c0985b73422d6b388012d79c7ab33c054dc55c1 | 1,649 | Confily | Apache License 2.0 |
java/sui-security/src/main/java/ru/sui/suisecurity/controller/SuiAuthController.kt | mbuyakov | 174,821,817 | false | {"TypeScript": 672905, "Java": 191967, "Kotlin": 158752, "PLpgSQL": 48243, "JavaScript": 19879, "Less": 14088, "Smarty": 830, "Shell": 774, "Dockerfile": 57} | package ru.sui.suisecurity.controller
import mu.KotlinLogging
import org.springframework.http.HttpStatus
import org.springframework.http.ResponseEntity
import org.springframework.web.bind.annotation.PostMapping
import org.springframework.web.bind.annotation.RequestBody
import org.springframework.web.bind.annotation.Re... | 1 | TypeScript | 1 | 5 | 3048f84a18e730ece2f16a1223c82c863edabf38 | 1,261 | SUI.CORE | Apache License 2.0 |
sdk/src/main/java/co/omise/android/models/NetceteraConfig.kt | omise | 25,964,531 | false | {"Kotlin": 566845, "Java": 34215} | import co.omise.android.api.RequestBuilder
import co.omise.android.models.Model
import com.fasterxml.jackson.annotation.JsonProperty
import kotlinx.android.parcel.Parcelize
import okhttp3.HttpUrl
import okhttp3.HttpUrl.Companion.toHttpUrl
import org.joda.time.DateTime
@Parcelize
internal data class NetceteraConfig(
... | 2 | Kotlin | 32 | 50 | 3c3be5c9c75a35352b827bb4dd5c3f4baac8ec4a | 1,802 | omise-android | MIT License |
telegram-bot/src/commonMain/kotlin/eu/vendeli/tgbot/annotations/InputHandler.kt | vendelieu | 496,567,172 | false | {"Kotlin": 1040778, "Python": 12809, "Shell": 1249, "CSS": 356} | package eu.vendeli.tgbot.annotations
import eu.vendeli.tgbot.implementations.DefaultGuard
import eu.vendeli.tgbot.interfaces.helper.Guard
import kotlin.reflect.KClass
/**
* The annotation used to denote the function used to process the specified I/O event.
*
* @property value Keywords of the input.
* @property ra... | 2 | Kotlin | 14 | 176 | 41d50ea8fd014cb31b61eb5c2f4a4bebf4736b45 | 676 | telegram-bot | Apache License 2.0 |
feature/folders-chips/ui/src/main/kotlin/ru/maksonic/beresta/feature/folders_chips/ui/widget/FoldersPlaceholder.kt | maksonic | 580,058,579 | false | null | package ru.maksonic.beresta.feature.folders_chips.ui.widget
import androidx.compose.animation.core.Animatable
import androidx.compose.animation.core.AnimationVector4D
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.fillMaxWidth
impor... | 0 | Kotlin | 0 | 0 | e4a25c791082df384c4cb380d98a767a75870740 | 2,578 | Beresta | MIT License |
shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/genre/GenreUiState.kt | lydavid | 458,021,427 | false | {"Kotlin": 1447497, "HTML": 1364546, "Swift": 4205, "Python": 3489, "Shell": 1543, "Ruby": 955} | package ly.david.musicsearch.shared.feature.details.genre
import androidx.compose.runtime.Stable
import com.slack.circuit.runtime.CircuitUiState
import ly.david.musicsearch.data.musicbrainz.models.core.GenreMusicBrainzModel
@Stable
internal data class GenreUiState(
val title: String,
val isError: Boolean,
... | 116 | Kotlin | 0 | 18 | 3e9c3e6c882ab78f155fcbd9a0aef9dfd009c855 | 418 | MusicSearch | Apache License 2.0 |
module-browser/src/main/java/com/timecat/module/browser/page/BrowserPage.kt | LinXueyuanStdio | 331,850,794 | false | {"Kotlin": 671804, "Java": 264875, "HTML": 7578, "JavaScript": 1560} | package com.timecat.module.browser.page
import acr.browser.lightning.R
import android.content.Intent
import android.os.Build
import android.webkit.CookieManager
import android.webkit.CookieSyncManager
import io.reactivex.Completable
/**
* @author 林学渊
* @email linxy59@mail2.sysu.edu.cn
* @date 2021/5/1
* @descript... | 0 | Kotlin | 0 | 0 | ac54b88b280ad5c40d29b3d01191f04c72ccb6fe | 1,135 | TimeCatModule-Browser | Apache License 2.0 |
css-gg/src/commonMain/kotlin/compose/icons/cssggicons/PushChevronDown.kt | DevSrSouza | 311,134,756 | false | {"Kotlin": 36756847} | package compose.icons.cssggicons
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap
import androidx.compose.ui.graphics... | 15 | Kotlin | 20 | 460 | 651badc4ace0137c5541f859f61ffa91e5242b83 | 2,158 | compose-icons | MIT License |
src/main/kotlin/no/nav/k9/integrasjon/abac/IPepClient.kt | navikt | 238,874,021 | false | null | package no.nav.k9.integrasjon.abac
interface IPepClient {
suspend fun erOppgaveStyrer(): Boolean
suspend fun harTilgangTilKode6(): Boolean
suspend fun harBasisTilgang(): Boolean
suspend fun kanLeggeUtDriftsmelding(): Boolean
suspend fun harTilgangTilLesSak(
fagsakNummer: String,
... | 18 | Kotlin | 0 | 0 | 7e1bab37d0721903017ed9eb5dea09ee4255c643 | 790 | k9-los-api | MIT License |
app/src/main/java/com/routinely/routinely/login/LoginScreen.kt | RoutinelyOrganization | 609,263,361 | false | {"Kotlin": 144170} | package com.routinely.routinely.login
import android.content.Context
import android.util.Log
import android.widget.Toast
import androidx.compose.foundation.Image
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import a... | 17 | Kotlin | 1 | 2 | 2dc8a77ddd0bafc47f85f7ed7b796c61b654e2ec | 5,972 | routinely-mobile | MIT License |
frontend/screen/programs/src/commonMain/kotlin/com/mindovercnc/linuxcnc/screen/programs/root/ProgramsRootScreen.kt | 85vmh | 543,628,296 | false | null | package com.mindovercnc.linuxcnc.screen.programs.root
import androidx.compose.foundation.layout.*
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.filled.ExitToApp
import androidx.compose.material3.ExtendedFloatingActionButton
import androidx.compose.material3.Icon
import androidx.co... | 0 | Kotlin | 1 | 2 | d9105f82d90ac6dbf4b6e0da160c706d67630d7f | 1,893 | mindovercnclathe | Apache License 2.0 |
keel-titus-plugin/src/main/kotlin/com/netflix/spinnaker/keel/titus/AbstractContainerRunner.kt | titirigaiulian | 360,858,312 | true | {"Kotlin": 2905077, "Java": 20143, "Slim": 359, "Shell": 338} | package com.netflix.spinnaker.keel.titus
import com.netflix.spectator.api.BasicTag
import com.netflix.spectator.api.Counter
import com.netflix.spectator.api.Registry
import com.netflix.spinnaker.keel.api.actuation.SubjectType
import com.netflix.spinnaker.keel.api.actuation.TaskLauncher
import com.netflix.spinnaker.kee... | 0 | Kotlin | 0 | 0 | fe94d4cae0f4048ed48d0c8cf38893b2a5d20622 | 2,835 | keel | Apache License 2.0 |
shared/src/commonMain/kotlin/io.github.krisbitney.yuli/api/FollowType.kt | krisbitney | 652,384,671 | false | {"Kotlin": 153330, "Swift": 708, "Shell": 228} | package io.github.krisbitney.yuli.api
enum class FollowType {
Follower,
Following
} | 0 | Kotlin | 0 | 0 | d6a523bda23571cafe79ff714645061ae4e3a417 | 92 | yuli | Apache License 2.0 |
presentation/src/main/java/com/phelat/splash/presentation/entity/ParcelPhotoEntity.kt | PHELAT | 135,176,443 | false | {"Kotlin": 83388} | package com.phelat.splash.presentation.entity
import android.annotation.SuppressLint
import android.os.Parcelable
import com.phelat.splash.presentation.model.ParcelPhotoUrlsData
import com.phelat.splash.presentation.model.ParcelProfileImageData
import kotlinx.android.parcel.Parcelize
@SuppressLint("ParcelCreator")
@P... | 0 | Kotlin | 1 | 2 | 8493fdf5b67a9e425839427cf7f43c9565c34e0b | 762 | Splash | Apache License 2.0 |
app/src/main/java/com/makeappssimple/abhimanyu/coroutinesplayground/android/MyApp.kt | Abhimanyu14 | 815,977,857 | false | {"Kotlin": 19661} | package com.makeappssimple.abhimanyu.coroutinesplayground.android
import androidx.compose.runtime.Composable
import androidx.navigation.compose.rememberNavController
import com.makeappssimple.abhimanyu.coroutinesplayground.android.navigation.MyNavHost
@Composable
internal fun MyApp(
) {
val navHostController = re... | 0 | Kotlin | 0 | 0 | c4b46697a7db2abe6a2375af2e1dbd7fbef70ef8 | 413 | coroutines-playground | Apache License 2.0 |
NewsApp-Android/app/src/main/java/ru/aserd/newsapp_android/MainActivity.kt | aserdobintsev | 223,529,185 | false | {"Swift": 40719, "Kotlin": 23437} | package ru.aserd.newsapp_android
import android.os.AsyncTask
import android.os.Bundle
import android.os.StrictMode
import android.util.Log
import androidx.appcompat.app.AppCompatActivity
import androidx.compose.Composable
import androidx.ui.core.Text
import androidx.ui.core.dp
import androidx.ui.core.setContent
impo... | 0 | Swift | 0 | 0 | 5454fa4975d6ea2d6416dee23dc0a57bc9e29045 | 2,061 | News-Swift-Kotlin | MIT License |
shoring/fxapp/src/main/java/com/panopset/fxapp/DeskApp4FX.kt | panopset | 735,643,703 | false | {"Kotlin": 570850, "Java": 71258, "Shell": 10163, "CSS": 4623, "JavaScript": 4084, "Batchfile": 2988, "HTML": 1005} | package com.panopset.fxapp
import com.panopset.compat.HiddenFolder
import com.panopset.compat.Logop
import com.panopset.compat.Stringop
import com.panopset.compat.Zombie
import javafx.application.Application
import javafx.application.Platform
import javafx.stage.Stage
import java.io.IOException
import java.util.loggin... | 0 | Kotlin | 0 | 0 | 48e39f081d7d7247e7bad2dd4a393dcc08a6d38b | 1,894 | src | MIT License |
node/src/main/kotlin/net/corda/node/internal/artemis/ArtemisBroker.kt | tomtau | 103,631,435 | true | {"Kotlin": 5305253, "Java": 244157, "CSS": 23334, "Shell": 6667, "Groovy": 2129, "Gherkin": 1892, "Batchfile": 1332, "PowerShell": 660} | package net.corda.node.internal.artemis
import net.corda.core.utilities.NetworkHostAndPort
import net.corda.node.internal.LifecycleSupport
import org.apache.activemq.artemis.api.core.management.ActiveMQServerControl
interface ArtemisBroker : LifecycleSupport, AutoCloseable {
val addresses: BrokerAddresses
va... | 0 | Kotlin | 0 | 1 | 620ba1e8a2e6e82aa3bc3dd2ecba9dafd2f48b00 | 539 | corda | Apache License 2.0 |
app/src/main/java/com/foreveross/atwork/modules/workbench/activity/admin/WorkbenchAdminSwitchActivity.kt | AoEiuV020 | 421,650,297 | false | {"Java": 8618305, "Kotlin": 1733509, "JavaScript": 719597, "CSS": 277438, "HTML": 111559} | package com.foreveross.atwork.modules.workbench.activity.admin
import android.content.Context
import android.content.Intent
import android.os.Bundle
import androidx.fragment.app.Fragment
import com.foreveross.atwork.modules.workbench.fragment.admin.WorkbenchAdminSwitchFragment
import com.foreveross.atwork.support.Sing... | 1 | null | 1 | 1 | 1c4ca5bdaea6d5230d851fb008cf2578a23b2ce5 | 837 | w6s_lite_android | MIT License |
app/src/main/kotlin/org/emunix/insteadlauncher/utils/ext.kt | btimofeev | 125,632,007 | false | {"Kotlin": 199030, "Java": 193100, "CMake": 77681, "C": 6062, "Lua": 459} | /*
* Copyright (c) 2018-2023 Boris Timofeev <btimofeev@emunix.org>
* Distributed under the MIT License (license terms are at http://opensource.org/licenses/MIT).
*/
package org.emunix.insteadlauncher.utils
import android.content.Context
import android.graphics.drawable.Drawable
import android.graphics.drawable.Ins... | 8 | Kotlin | 6 | 25 | 09416564c984bcad40513480ec4c47a381d1cb49 | 3,206 | instead-launcher-android | MIT License |
src/main/kotlin/ast/cc/nodes/Termination.kt | chorlang | 83,657,539 | false | {"XML": 2, "Maven POM": 1, "Text": 8, "Ignore List": 1, "Markdown": 1, "Kotlin": 91, "Java": 36, "ANTLR": 3} | package ast.cc.nodes
import ast.cc.interfaces.CCVisitor
import ast.cc.interfaces.ChoreographyBody
class Termination : ChoreographyBody() {
private val termination = "stop"
override fun <T> accept(visitor: CCVisitor<T>): T = visitor.visit(this)
override fun toString() = termination
}
| 1 | Kotlin | 0 | 0 | d607ed6aebafa42531b12e71760c1515113bfaa5 | 301 | core-choreographies | Apache License 2.0 |
src/main/kotlin/galuzzi/kodegen/java/JavaCore.kt | agaluzzi | 84,907,006 | false | {"Maven POM": 1, "Text": 1, "Markdown": 1, "Java": 2, "Kotlin": 39} | /*
* Copyright 2018 Aaron Galuzzi
*
* 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 t... | 1 | null | 1 | 1 | 6e093cfdabf9e3f80e9de45d3777fb63845a56d5 | 1,851 | kodegen | Apache License 2.0 |
prototype/src/main/kotlin/com/seanshubin/game_4x/prototype/RefreshCommand.kt | SeanShubin | 204,213,077 | false | null | package com.seanshubin.game_4x.prototype
object RefreshCommand : AllResourcesCommand() {
override fun toObject(): String = "RefreshCommand"
override fun executeOnResource(game: Game, planetName: String, landIndex: Int, resourceName: String): Result {
val spoil = SpoilCommand(planetName, landIndex, res... | 0 | Kotlin | 0 | 0 | a05479651479b5ab1470b925c015c7fa74cd59cb | 642 | game-4x | The Unlicense |
server-app/application/src/main/kotlin/com/github/akraskovski/fes/web/dto/user/UserInvite2Company.kt | akraskovski | 154,889,543 | false | null | package com.github.akraskovski.fes.web.dto.user
import javax.validation.constraints.Email
import javax.validation.constraints.NotBlank
/**
* Data transfer object defining properties to invite user to some company.
*/
class UserInvite2Company(@field:Email @NotBlank val email: String) | 1 | Kotlin | 1 | 3 | b4d99ea9aa462110c024eaafb804030bd5186ea8 | 287 | freight-exchange-system | Apache License 2.0 |
generated-sources/kotlin-spring/mojang-api/src/main/kotlin/com/github/asyncmc/mojang/api/kotlin/spring/model/SecurityAnswer.kt | AsyncMC | 269,845,234 | false | {"Java": 3133439, "C#": 2186101, "C++": 1928640, "PHP": 1682475, "TypeScript": 730015, "Shell": 660104, "Python": 613719, "Ruby": 602211, "Swift": 596778, "Scala": 587419, "JavaScript": 531265, "Rust": 430285, "Haskell": 377293, "Objective-C": 370309, "Ada": 348433, "Perl": 317997, "Eiffel": 315566, "Apex": 315484, "Er... | package com.github.asyncmc.mojang.api.kotlin.spring.model
import java.util.Objects
import com.github.asyncmc.mojang.api.kotlin.spring.model.SecurityAnswerId
import javax.validation.Valid
import javax.validation.constraints.*
/**
* A security question answer given by the player using the id given by Mojang
*/
data c... | 4 | null | 1 | 1 | b01bbd2bce44bfa2b9ed705a128cf4ecda077916 | 440 | Mojang-API-Libs | Apache License 2.0 |
app/src/main/java/com/example/liunianyishi/intelligenttransportation/Presenter/mPresenter.kt | 1006769221 | 120,561,048 | false | {"Java": 46043, "Kotlin": 19919} | package com.example.liunianyishi.intelligenttransportation.Presenter
import com.example.liunianyishi.intelligenttransportation.Bean.illegalQuery
/**
* Created by qiuchen on 2018/1/31.
*/
class mPresenter {
companion object {
const val WHO_QUERY_RESULT = 0x001
const val WHO_QUERY_Details = 0x002... | 1 | null | 1 | 1 | 8d0443ea33effbdf4a2c89b1f8b14da8327eab66 | 1,467 | IntelligentTransportation | MIT License |
testng-core/src/test/kotlin/org/testng/dataprovider/DynamicDataProviderLoadingTest.kt | Velan987 | 492,859,371 | true | {"Java Properties": 4, "Text": 4, "Gradle Kotlin DSL": 35, "Shell": 4, "EditorConfig": 1, "Markdown": 4, "Git Attributes": 1, "Batchfile": 5, "Ignore List": 1, "Kotlin": 30, "Java": 2123, "XML": 120, "CODEOWNERS": 1, "YAML": 19, "JavaScript": 5, "Groovy": 4, "INI": 3, "HTML": 1, "CSS": 3} | package org.testng.dataprovider
import org.assertj.core.api.Assertions.assertThat
import org.assertj.core.api.SoftAssertions
import org.netbeans.lib.profiler.heap.HeapFactory2
import org.netbeans.lib.profiler.heap.Instance
import org.netbeans.lib.profiler.heap.JavaClass
import org.testng.Reporter
import org.testng.ann... | 0 | null | 0 | 0 | d190ade58a58e20ced922d47a9114958a5a05e8a | 4,828 | testng | Apache License 2.0 |
idea/testData/debugger/exceptionFilter/multiSamePackage/foo2.kt | JakeWharton | 99,388,807 | true | null | package multiSameName
fun box(x: Int) {
val f = { null!! }
f()
}
| 0 | Kotlin | 28 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 74 | kotlin | Apache License 2.0 |
contentchef-jvm-common/src/main/java/io/contentchef/common/exception/ContentChefErrorResponse.kt | ContentChef | 237,468,762 | false | null | package io.contentchef.common.exception
/**
* Contains the ContentChef's backend error data
* [errorType] the error type
* [errorMessage] plain error message
* [validationErrors] a list of all the happened errors
*/
data class ContentChefErrorResponse(
val errorType: ErrorType,
val errorMessage: String,
... | 1 | null | 1 | 1 | 5b10f4e2f32a4bcb81296a15dfbf27e81bece856 | 359 | contentchef-jvm | Apache License 2.0 |
app/src/main/java/com/mapswithme/maps/editor/EditorFragment.kt | dnemov | 245,413,600 | false | {"Gradle": 3, "Java Properties": 3, "Shell": 1, "Text": 16, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "INI": 1, "Proguard": 1, "XML": 624, "Kotlin": 708, "Java": 9, "HTML": 3, "JSON": 95} | package com.mapswithme.maps.editor
import android.app.Activity
import android.content.Intent
import android.net.Uri
import android.os.Bundle
import android.text.InputType
import android.text.TextUtils
import android.util.SparseArray
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGr... | 0 | Kotlin | 0 | 1 | 8b75114193e141aee14fcbc207a208c4a39de1db | 25,045 | omim.kt | Apache License 2.0 |
app/src/main/java/com/rogertalk/roger/network/request/InviteIdentifierRequest.kt | rogertalk | 207,123,525 | false | {"C": 1446968, "Kotlin": 1051662, "C++": 79853, "Objective-C": 32032, "Java": 22252, "Makefile": 1047} | package com.rogertalk.roger.network.request
import com.rogertalk.roger.models.json.NumberToActiveContactMapContainer
import com.rogertalk.roger.repo.ActiveContactsRepo
import com.rogertalk.roger.utils.extensions.runOnUiThread
import java.util.*
class InviteIdentifierRequest(val name: String, val identifiers: List<Str... | 0 | C | 0 | 1 | 55c9922947311d9d8a1e930463b9ac2a1332e006 | 1,058 | roger-android | MIT License |
src/test/kotlin/LandingPageTests.kt | chrisdenman | 865,768,398 | false | null | package io.github.learnyouahaskell.test
import io.github.learnyouahaskell.test.ExternalUris.Companion.BOOK
import io.github.learnyouahaskell.test.ExternalUris.Companion.PULL_REQUEST
import io.github.learnyouahaskell.test.Selenium.Companion.hrefToUri
import io.github.learnyouahaskell.test.Site.Companion.TITLE
import io... | 11 | null | 0 | 1 | ac04583357836c8f86d17af4dbb9de414e893c99 | 3,709 | test.learnyouahaskell.github.io | The Unlicense |
Browser/src/jsMain/kotlin/io/nacular/doodle/drawing/impl/TextMetricsImpl.kt | nacular | 108,631,782 | false | null | package io.nacular.doodle.drawing.impl
import io.nacular.doodle.FontSerializer
import io.nacular.doodle.HTMLElement
import io.nacular.doodle.dom.ElementRuler
import io.nacular.doodle.dom.HtmlFactory
import io.nacular.doodle.dom.setWidth
import io.nacular.doodle.drawing.Font
import io.nacular.doodle.drawing.TextFactory... | 4 | Kotlin | 19 | 450 | 2aba993826fcd67dcc825259d6fc7736039de5db | 8,895 | doodle | MIT License |
app/src/main/java/com/cwdt/restaurantroulette/StorageRepository.kt | coleweinman | 777,892,680 | false | {"Kotlin": 101528, "Python": 6570} | package com.cwdt.restaurantroulette
import android.net.Uri
import android.util.Log
import com.google.firebase.storage.FirebaseStorage
import com.google.firebase.storage.StorageMetadata
import com.google.firebase.storage.StorageReference
import java.io.File
object StorageRepository {
private val profileStorage: St... | 0 | Kotlin | 0 | 0 | a1fa85ca4ed7392f428e3e0fae1df4b59c00b4c2 | 1,678 | restaurant-roulette | MIT License |
app/src/main/java/com/kylecorry/trail_sense/tools/beacons/ui/form/IsBeaconFormDataComplete.kt | kylecorry31 | 215,154,276 | false | null | package com.kylecorry.trail_sense.tools.beacons.ui.form
import com.kylecorry.andromeda.core.specifications.Specification
class IsBeaconFormDataComplete : Specification<CreateBeaconData>() {
override fun isSatisfiedBy(value: CreateBeaconData): Boolean {
return value.name.isNotBlank() &&
val... | 456 | null | 66 | 989 | 41176d17b498b2dcecbbe808fbe2ac638e90d104 | 657 | Trail-Sense | MIT License |
codeSnippets/snippets/tutorial-server-restful-api/src/main/kotlin/com/example/plugins/Routing.kt | ktorio | 278,572,893 | false | {"Kotlin": 333280, "HTML": 29703, "JavaScript": 5361, "FreeMarker": 2738, "Dockerfile": 1709, "Swift": 1432, "CSS": 470, "Handlebars": 75, "Pug": 51} | package com.example.plugins
import com.example.model.*
import io.ktor.http.*
import io.ktor.serialization.*
import io.ktor.server.application.*
import io.ktor.server.http.content.*
import io.ktor.server.request.*
import io.ktor.server.response.*
import io.ktor.server.routing.*
fun Application.configureRouting() {
... | 1 | Kotlin | 285 | 430 | 0d0e39e69bb98340708b5193bab8a550e0a29cac | 2,746 | ktor-documentation | Apache License 2.0 |
fashion-tryon-compose/src/main/kotlin/com/aiuta/fashionsdk/tryon/compose/domain/models/AiutaTryOnLanguage.kt | aiuta-com | 759,918,511 | false | {"Kotlin": 666373, "Shell": 1462} | package com.aiuta.fashionsdk.tryon.compose.domain.models
import com.aiuta.fashionsdk.tryon.compose.domain.internal.language.InternalAiutaTryOnLanguage
/**
* One of the languages supported by AiutaTryOn flow
*/
public sealed interface AiutaTryOnLanguage
public class EnglishLanguage(
public val brand: String,
... | 6 | Kotlin | 0 | 2 | 6e17d89bf031feff027315f1cc49ed0dd818708e | 6,491 | android-sdk | Apache License 2.0 |
straight/src/commonMain/kotlin/me/localx/icons/straight/filled/SpainMap.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.straight.filled
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 3,540 | icons | MIT License |
simulator/opendc-simulator/opendc-simulator-compute/src/main/kotlin/org/opendc/simulator/compute/SimHypervisor.kt | allocateam | 315,578,543 | true | {"Kotlin": 705515, "JavaScript": 260393, "Shell": 135041, "Python": 128651, "Sass": 7180, "HTML": 3389, "Dockerfile": 2166} | /*
* Copyright (c) 2020 AtLarge Research
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, pu... | 0 | Kotlin | 0 | 0 | 8ee3067c40c2e94d504c9a663d1df174f289ba8e | 19,130 | opendc | MIT License |
src/test/kotlin/eu/europa/ec/eudi/sdjwt/DisclosureTest.kt | eu-digital-identity-wallet | 656,042,600 | false | {"Kotlin": 276930} | /*
* Copyright (c) 2023 European Commission
*
* 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 o... | 1 | Kotlin | 2 | 9 | 29fb44e9071c37411267a4a26b5ff754a2664823 | 1,624 | eudi-lib-jvm-sdjwt-kt | Apache License 2.0 |
app/src/main/java/com/wrbug/developerhelper/ui/activity/guide/GuideStepFragment.kt | WrBug | 159,928,379 | false | {"Kotlin": 261119, "Java": 8681} | package com.wrbug.developerhelper.ui.activity.guide
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import com.wrbug.developerhelper.base.BaseFragment
import com.wrbug.developerhelper.databinding.FragmentGuideBinding
abstract class GuideStepFragment: ... | 18 | Kotlin | 249 | 1,321 | 0435b0467631babfef0418692913ba74674a7c89 | 731 | DeveloperHelper | MIT License |
app/src/test/java/com/example/ckotlin/cl.kt | JasonBourne33 | 569,112,151 | false | {"Kotlin": 42216} | package com.example.ckotlin
fun main(){
println("hello")
} | 0 | Kotlin | 0 | 0 | 19e945db1ad976913e5df99c04f04205e8b88bd9 | 63 | cKotlin | Apache License 2.0 |
src/main/kotlin/com/example/v1oauthauthorizationservice/domain/exception/BaseException.kt | team-xquare | 494,272,840 | false | {"Kotlin": 89041, "Shell": 417, "Dockerfile": 391} | package com.example.v1oauthauthorizationservice.domain.exception
abstract class BaseException(
override val errorMessage: String?,
override val statusCode: Int
) : RuntimeException(errorMessage), BaseExceptionProperty {
override fun fillInStackTrace(): Throwable {
return this
}
}
| 1 | Kotlin | 0 | 2 | c739e8d85e5885fdb22790393a9dba9fa749637f | 306 | v1-service-oauth | MIT License |
core/src/commonMain/kotlin/work/socialhub/kslack/api/methods/request/files/comments/FilesCommentsDeleteRequest.kt | uakihir0 | 794,979,552 | false | {"Kotlin": 868677, "Ruby": 2164, "Shell": 2095, "Makefile": 316} | package work.socialhub.kslack.api.methods.request.files.comments
import work.socialhub.kslack.api.methods.FormRequest
import work.socialhub.kslack.api.methods.SlackApiRequest
class FilesCommentsDeleteRequest(
/** Authentication token. Requires scope: `files:write:user` */
override var token: String?,
/** ... | 5 | Kotlin | 0 | 0 | 3975e9de4fae5ef2ddc5b013c2a346536852f7b3 | 651 | kslack | MIT License |
app/src/main/java/com/gzaber/remindme/ui/addedit/composable/AddEditAppBar.kt | gzaber | 853,458,551 | false | {"Kotlin": 72547} | package com.gzaber.remindme.ui.addedit.composable
import androidx.annotation.DrawableRes
import androidx.annotation.StringRes
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.filled.Close
import androidx.compose.material3.CenterAlignedTopAppBar
import androidx.compose.material3.Circu... | 0 | Kotlin | 0 | 0 | ea8f7f4484aa9908022fd8304b731b4f76184cb8 | 2,329 | RemindMe | MIT License |
pillarbox-core-business/src/main/java/ch/srgssr/pillarbox/core/business/SRGMediaItemBuilder.kt | SRGSSR | 519,157,987 | false | {"Kotlin": 1473274, "Shell": 549} | /*
* Copyright (c) SRG SSR. All rights reserved.
* License information is available from the LICENSE file.
*/
package ch.srgssr.pillarbox.core.business
import android.net.Uri
import androidx.media3.common.MediaItem
import androidx.media3.common.MediaMetadata
import ch.srgssr.pillarbox.core.business.integrationlayer... | 23 | Kotlin | 1 | 13 | b155c6d3f2da29b8e30555f13ecce64f28f82db2 | 3,748 | pillarbox-android | MIT License |
src/main/kotlin/com/ghn/data/requests/CreateCommentRequest.kt | VitorCezila | 592,986,465 | false | null | package com.ghn.data.requests
data class CreateCommentRequest(
val content: String,
val postId: String,
)
| 2 | Kotlin | 0 | 0 | 44ec97d33ada097bc1ec28d5b1d299d2bc8c2419 | 115 | iris-api | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.