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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
src/main/kotlin/com/hegoudai/plugins/Security.kt | hegoudai | 645,038,095 | false | null | package com.hegoudai.plugins
import com.auth0.jwt.JWT
import com.auth0.jwt.algorithms.Algorithm
import io.ktor.http.*
import io.ktor.server.application.*
import io.ktor.server.auth.*
import io.ktor.server.auth.jwt.*
import io.ktor.server.request.*
import io.ktor.server.response.*
fun Application.configureSecurity() {... | 0 | Kotlin | 0 | 0 | 89c392f0d212702cbffb91613751f2ecb053aef0 | 2,012 | dchat-server | MIT License |
kt/godot-library/src/main/kotlin/godot/gen/godot/CanvasTexture.kt | utopia-rise | 289,462,532 | false | {"Kotlin": 1455718, "C++": 480143, "GDScript": 464697, "C#": 10278, "C": 8523, "Shell": 7976, "Java": 2136, "CMake": 939, "Python": 75} | // THIS FILE IS GENERATED! DO NOT EDIT IT MANUALLY!
@file:Suppress("PackageDirectoryMismatch", "unused", "FunctionName", "RedundantModalityModifier",
"UNCHECKED_CAST", "JoinDeclarationAndAssignment", "USELESS_CAST",
"RemoveRedundantQualifierName", "NOTHING_TO_INLINE", "NON_FINAL_MEMBER_IN_OBJECT",
"Redundan... | 47 | Kotlin | 28 | 412 | fe7379a450ed32ad069f3b672709a2520b86f092 | 7,768 | godot-kotlin-jvm | MIT License |
pleo-antaeus-core/src/main/kotlin/io/pleo/antaeus/core/exceptions/InvoiceChargedException.kt | godgav | 394,659,595 | true | {"Kotlin": 43148, "Shell": 1322, "Dockerfile": 904} | package io.pleo.antaeus.core.exceptions
class InvoiceChargedException(invoiceId: Int):
Exception("Invoice '$invoiceId' has been already charged") | 0 | Kotlin | 0 | 0 | a1087e8d356009dad2cdde34a6050fff56938082 | 150 | antaeus | Creative Commons Zero v1.0 Universal |
plugins/settings-sync/src/com/intellij/settingsSync/plugins/SettingsSyncPluginCategoryFinder.kt | ingokegel | 72,937,917 | false | null | package com.intellij.settingsSync.plugins
import com.intellij.ide.plugins.IdeaPluginDescriptor
import com.intellij.ide.plugins.IdeaPluginDescriptorImpl
import com.intellij.openapi.components.SettingsCategory
internal object SettingsSyncPluginCategoryFinder {
val UI_CATEGORIES = setOf(
"Theme",
"Editor Colo... | 191 | null | 4372 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 960 | intellij-community | Apache License 2.0 |
core/function-core/src/main/kotlin/com/teamplay/core/function/error/ConflictError.kt | YAPP-16th | 235,351,938 | false | {"Gradle Kotlin DSL": 10, "Gradle": 1, "Shell": 2, "Ignore List": 1, "Batchfile": 1, "Text": 1, "Markdown": 5, "XML": 8, "Kotlin": 185, "Java": 4, "Java Properties": 1, "YAML": 6} | package com.teamplay.core.function.error
open class ConflictError(message: String = "Conflict") : CanHaveStatusError(message, 409) | 2 | Kotlin | 0 | 1 | a3209b28ea6ca96cb9a81a0888793f9b0f4d02d2 | 131 | Team_Android_2_Backend | MIT License |
domene/src/main/kotlin/no/nav/tiltakspenger/vedtak/InnsendingHendelse.kt | navikt | 487,246,438 | false | {"Kotlin": 955973, "Dockerfile": 495, "Shell": 150, "HTML": 45} | package no.nav.tiltakspenger.vedtak
interface IInnsendingHendelse : KontekstLogable, IAktivitetslogg {
val aktivitetslogg: Aktivitetslogg
fun journalpostId(): String
fun toLogString(): String
}
abstract class InnsendingHendelse protected constructor(
override val aktivitetslogg: Aktivitetslogg = Aktiv... | 6 | Kotlin | 0 | 2 | dde1b0532caed17b6bad77e1de4917f829adea1c | 714 | tiltakspenger-vedtak | MIT License |
library-kotlin/src/main/java/com/pij/horrocks/kotlin/Engine.kt | pijpijpij | 117,426,879 | false | null | package com.pij.horrocks.kotlin
import io.reactivex.Observable
import io.reactivex.Scheduler
import io.reactivex.disposables.Disposable
import org.slf4j.Logger
import org.slf4j.LoggerFactory
import org.slf4j.helpers.NOPLogger
class Engine<S : Any>(
initialState: S,
private val clearEventProperties: S.... | 2 | null | 1 | 1 | b669781b83b2ebfa4a706dd8c2b7d91f9b1f277a | 4,708 | Horrocks | Apache License 2.0 |
mui-icons-kotlin/src/jsMain/kotlin/mui/icons/material/WifiOutlined.kt | karakum-team | 387,062,541 | false | {"Kotlin": 3037818, "TypeScript": 2249, "HTML": 724, "CSS": 86} | // Automatically generated - do not modify!
@file:JsModule("@mui/icons-material/WifiOutlined")
package mui.icons.material
@JsName("default")
external val WifiOutlined: SvgIconComponent
| 1 | Kotlin | 5 | 35 | eb68a042133a7d025aef8450151ee0150cbc9b1b | 188 | mui-kotlin | Apache License 2.0 |
app/src/main/java/com/fantasyfang/developmenttool/di/repository/IdInfoModule.kt | fantasy1022 | 257,029,907 | false | null | package com.fantasyfang.developmenttool.di.repository
import com.fantasyfang.developmenttool.data.IdInfo
import com.fantasyfang.developmenttool.repository.InfoRepository
import com.fantasyfang.developmenttool.repository.id.IdInfoLocalDataStore
import com.fantasyfang.developmenttool.repository.id.IdInfoRepositoryImpl
i... | 0 | Kotlin | 0 | 0 | 1bca4516624b4c8c04986245806046a969e69486 | 614 | DevelopmentTool | Apache License 2.0 |
src/jsMain/kotlin/baaahs/mapper/MapperStyles.kt | baaahs | 174,897,412 | false | null | package baaahs.mapper
import kotlinx.css.*
import kotlinx.css.properties.border
import kotlinx.css.properties.scaleX
import kotlinx.css.properties.transform
import mui.material.styles.Theme
import styled.StyleSheet
class MapperStyles(val theme: Theme) : StyleSheet("mapper", isStatic = true) {
val green = Color("#... | 83 | Kotlin | 5 | 24 | 01aa9e9530ff9acbada165a2d7048c4ad67ed74f | 3,197 | sparklemotion | MIT License |
recycler-decorator/sample/src/main/java/ru/surfstudio/android/recycler/decorator/sample/UiKtx.kt | surfstudio | 139,034,657 | false | null | package ru.surfstudio.android.recycler.decorator.sample
import android.content.res.Resources
val Int.toPx: Int
get() = (this * Resources.getSystem().displayMetrics.density).toInt() | 5 | null | 30 | 249 | 6d73ebcaac4b4bd7186e84964cac2396a55ce2cc | 186 | SurfAndroidStandard | Apache License 2.0 |
core/src/main/java/tmidev/core/data/source/local/UserPreferencesDataSource.kt | tminet | 499,620,414 | false | null | package tmidev.core.data.source.local
import kotlinx.coroutines.flow.Flow
interface UserPreferencesDataSource {
val isAppThemeDarkMode: Flow<Boolean?>
val isOrderListAscending: Flow<Boolean>
suspend fun updateAppTheme(darkMode: Boolean)
suspend fun switchOrderList()
} | 0 | Kotlin | 0 | 1 | 7971807d88dcde4f6ab982040e4a5f1ccde605f7 | 286 | CustomerBase | MIT License |
app/src/main/java/xyz/palaocorona/ui/features/liveupdates/LiveUpdatesViewModel.kt | SaadAAkash | 251,509,106 | false | null | package xyz.palaocorona.ui.features.liveupdates
import androidx.lifecycle.MutableLiveData
import com.orhanobut.logger.Logger
import io.reactivex.android.schedulers.AndroidSchedulers
import io.reactivex.schedulers.Schedulers
import xyz.palaocorona.base.ui.BaseViewModel
import xyz.palaocorona.data.liveupdates.LiveUpdate... | 0 | Kotlin | 7 | 57 | 80f69ecfd5941962d7e5bd5f02d5cf36064e6fc5 | 1,939 | COVID-19-Bangladesh-Android | MIT License |
knot3/src/main/kotlin/de/halfbit/knot3/CompositeKnot.kt | sergejsha | 168,983,284 | false | null | package de.halfbit.knot3
import io.reactivex.rxjava3.core.Observable
import io.reactivex.rxjava3.core.Scheduler
import io.reactivex.rxjava3.disposables.CompositeDisposable
import io.reactivex.rxjava3.disposables.Disposable
import io.reactivex.rxjava3.functions.Consumer
import io.reactivex.rxjava3.plugins.RxJavaPlugins... | 0 | Kotlin | 20 | 232 | f82aa576159e5dbe1ced2cec231dd4e589d69d6e | 7,808 | knot | Apache License 2.0 |
android/app/src/main/java/com/algorand/android/ui/confirmation/ConfirmationBottomSheet.kt | perawallet | 364,359,642 | false | {"Swift": 8753304, "Kotlin": 7709389, "Objective-C": 88978, "Shell": 7715, "Ruby": 4727, "C": 596} | /*
* Copyright 2022 Pera Wallet, LDA
* 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 writing,... | 22 | Swift | 62 | 181 | 92fc77f73fa4105de82d5e87b03c1e67600a57c0 | 2,388 | pera-wallet | Apache License 2.0 |
payment-starter/src/main/kotlin/com/labijie/application/payment/PaymentCallbackRequest.kt | hongque-pro | 309,874,586 | false | {"Kotlin": 1051148, "Java": 72766} | package com.labijie.application.payment
import java.math.BigDecimal
/**
* 第三方平台的回调处理结果
*/
data class PaymentCallbackRequest(
val appid:String,
val tradeId:String,
val platformTradeId:String,
val status: PaymentTradeStatus,
val timePaid: Long,
val amount:BigDecimal,
val platformBuyerId:St... | 0 | Kotlin | 0 | 8 | f2f709ee8fff5b6d416bc35c5d7e234a4781b096 | 388 | application-framework | Apache License 2.0 |
sample/src/main/java/com/palatin/cardinalsample/ui/login/LoginActivity.kt | palatin | 282,827,304 | false | null | /*
* Copyright 2020 <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 writing, sof... | 0 | Kotlin | 0 | 1 | 6d9b6de7fd1650f1d47767cfcb6c007064cec861 | 2,809 | cardinal | Apache License 2.0 |
kcrud-base/src/main/kotlin/kcrud/base/plugins/ContentNegotiation.kt | perracodex | 682,128,013 | false | {"Kotlin": 552738, "JavaScript": 17898, "CSS": 7959, "Dockerfile": 3297, "HTML": 579} | /*
* Copyright (c) 2024-Present Perracodex. All rights reserved.
* This work is licensed under the terms of the MIT license.
* For a copy, see <https://opensource.org/licenses/MIT>
*/
package kcrud.base.plugins
import io.ktor.serialization.kotlinx.json.*
import io.ktor.server.application.*
import io.ktor.server.p... | 0 | Kotlin | 0 | 2 | 7faa3d74588e41a48ac48bb56e80bb02c48f0ba3 | 1,417 | Kcrud | MIT License |
app/src/main/java/com/android/ranks/ui/adapter/BaseAdapter.kt | ArtyomMashkin | 335,926,220 | false | null | package com.android.ranks.ui.adapter
import android.view.View
import androidx.paging.PagedListAdapter
import androidx.recyclerview.widget.DiffUtil
import androidx.recyclerview.widget.RecyclerView
abstract class BaseAdapter<ItemType>(diffCallback: DiffUtil.ItemCallback<ItemType>) :
PagedListAdapter<ItemType, BaseV... | 0 | Kotlin | 0 | 0 | ff9d9e126249ceb13c32760a06b85845485a14f6 | 646 | Ranks | Apache License 2.0 |
app/src/main/java/hu/mczinke/nasa_apod_viewer/search/presentation/components/ApodListItem.kt | CzinkeM | 503,428,423 | false | {"Kotlin": 41835} | package hu.mczinke.nasa_apod_viewer.search.presentation.components
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.size
import androidx.compose.material.Card
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.unit.dp
import ... | 0 | Kotlin | 0 | 0 | 8e62a96662df86c65453e395836b6b1cf9e0ae25 | 493 | android-apod-viewer | MIT License |
src/main/kotlin/de/flapdoodle/sqlextract/config/TableAndColumn.kt | flapdoodle-oss | 363,965,979 | false | null | package de.flapdoodle.sqlextract.config
import de.flapdoodle.sqlextract.db.Name
typealias TableAndColumn = Pair<Name, String>
object TableAndColumns {
fun parse(schema: String, tableAndColumn: String): TableAndColumn {
val idx = tableAndColumn.indexOf(':')
require(idx != -1) { "wrong format: $tab... | 0 | Kotlin | 0 | 0 | 69aa6dd554dc011d3bbc75fabcddfad173b41a79 | 647 | de.flapdoodle.sqlextract | Apache License 2.0 |
kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/BlockDeviceVolume.kt | cloudshiftinc | 667,063,030 | false | {"Kotlin": 142794926} | @file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION")
package io.cloudshiftdev.awscdk.services.autoscaling
import io.cloudshiftdev.awscdk.common.CdkObject
import kotlin.Number
import kotlin.String... | 4 | Kotlin | 0 | 4 | a9befd2eccd63644f6662a4877d5b00ab9f85295 | 3,671 | kotlin-cdk-wrapper | Apache License 2.0 |
feature/streak/src/main/java/com/githukudenis/comlib/feature/streak/StreakViewModel.kt | DenisGithuku | 707,847,935 | false | {"Kotlin": 416771, "Java": 95753, "Roff": 12367} | package com.githukudenis.comlib.feature.streak
import androidx.lifecycle.SavedStateHandle
import androidx.lifecycle.viewModelScope
import com.githukudenis.comlib.core.common.DataResult
import com.githukudenis.comlib.core.common.StatefulViewModel
import com.githukudenis.comlib.core.domain.usecases.GetAllBooksUseCase
im... | 3 | Kotlin | 1 | 0 | 0c0b0d364b329ca40b5d39bcacf8ca9e70b0874e | 5,385 | comlib-android-client | Apache License 2.0 |
one-client-react-native/android/src/main/java/com/eartho/one_rn/EarthoOneModuleModule.kt | eartho-group | 501,142,276 | false | null | package com.eartho.one_rn
import com.facebook.react.bridge.ReactApplicationContext
import com.facebook.react.bridge.ReactContextBaseJavaModule
import com.facebook.react.bridge.ReactMethod
import com.facebook.react.bridge.Promise
import com.facebook.react.bridge.ReadableArray
import com.eartho.one.EarthoOne
import com... | 12 | null | 1 | 18 | 9d9a3aa27efda318804ae5fb8e657d2ae93d8433 | 2,612 | eartho-packages | MIT License |
lint-rules-android-lint/src/main/java/com/vanniktech/lintrules/android/IssueRegistry.kt | lgvalle | 368,149,676 | false | null | package com.vanniktech.lintrules.android
import com.android.tools.lint.detector.api.CURRENT_API
internal const val PRIORITY = 10 // Does not matter anyways within Lint.
class IssueRegistry : com.android.tools.lint.client.api.IssueRegistry() {
override val api = CURRENT_API
override val issues get() = listOf(
... | 0 | null | 0 | 1 | e9a0931c558017200c060264aa4328d6fccc14d2 | 1,392 | lint-rules | Apache License 2.0 |
parent-feature/src/main/java/com/cheise_proj/parent_feature/ParentNavigationActivity.kt | marshall219 | 249,870,132 | true | {"Kotlin": 788935} | package com.cheise_proj.parent_feature
import android.content.Context
import android.content.Intent
import android.graphics.Typeface
import android.graphics.drawable.Drawable
import android.os.Bundle
import android.os.Handler
import android.os.Looper
import android.view.Gravity
import android.view.Menu
import android.... | 0 | null | 0 | 0 | 0183ab6165a42be83691dd7281efc6d738ebe88c | 8,438 | Nagies-Edu-Center | Apache License 2.0 |
formula-android/src/main/java/com/instacart/formula/android/FeatureEvent.kt | instacart | 171,923,573 | false | null | package com.instacart.formula.android
sealed class FeatureEvent {
data class Init(override val id: FragmentId, val feature: Feature): FeatureEvent()
data class Failure(override val id: FragmentId, val error: Throwable): FeatureEvent()
data class MissingBinding(override val id: FragmentId): FeatureEvent()
... | 8 | null | 14 | 151 | 26d544ea41b7a5ab2fa1a3b9ac6b668e69fe4dff | 353 | formula | BSD 3-Clause Clear License |
app/src/main/java/com/obaralic/how2/model/database/UserDao.kt | obaralic | 186,580,640 | false | null | /**
* 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 required by applicable law or agreed to in wr... | 0 | Kotlin | 0 | 0 | 5ad642d2cb7b1486c044f9188cee0778d2c38e44 | 1,118 | dagger-android-mvvm | Apache License 2.0 |
compiler/testData/diagnostics/tests/annotations/AnnotationIdentifier.fir.kt | android | 263,405,600 | true | null | // FILE: a.kt
annotation class annotation
// FILE: test/b.kt
package test
@test.annotation class annotation
// FILE: other/c.kt
package other
annotation class My
@test.annotation class Your
@My class Our | 0 | Kotlin | 37 | 316 | 74126637a097f5e6b099a7b7a4263468ecfda144 | 212 | kotlin | Apache License 2.0 |
phoenix-android/src/main/kotlin/fr/acinq/phoenix/android/settings/SeedView.kt | ACINQ | 192,964,514 | false | null | /*
* Copyright 2021 ACINQ SAS
*
* 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... | 68 | null | 75 | 399 | b8a0562bc6e1a13491f494bae3187cae0ee63a1e | 7,649 | phoenix | Apache License 2.0 |
plugins/search-everywhere-ml/ranking/src/com/intellij/searchEverywhereMl/ranking/model/SearchEverywhereAllRankingModelLoader.kt | ingokegel | 72,937,917 | false | null | package com.intellij.searchEverywhereMl.ranking.core.model
import com.intellij.internal.ml.DecisionFunction
import com.intellij.searchEverywhereMl.SearchEverywhereTabWithMlRanking
internal class SearchEverywhereAllRankingModelLoader : SearchEverywhereMLRankingModelLoader() {
private val expResourceDirectory = "all_... | 284 | null | 5162 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 581 | intellij-community | Apache License 2.0 |
08-cross_platform/wrapper/JNI/sdk/src/main/java/com/sdk/sdk/IAlgorithmInterface.kt | AlanLi7991 | 226,488,265 | false | null | package com.sdk.sdk
interface IAlgorithmInterface {
fun onCallback(number: Int, message: String)
} | 2 | CMake | 3 | 19 | 88d1199cb5367272da49749626806e2aef24e09d | 103 | cmake-tutorial-sample | MIT License |
feature-location/src/main/java/de/niklasbednarczyk/nbweather/feature/location/screens/overview/views/LocationOverviewHourlyView.kt | NiklasBednarczyk | 529,683,941 | false | null | package de.niklasbednarczyk.nbweather.feature.location.screens.overview.views
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.padding
import androidx.compose.material3.windowsizeclass.WindowWidthSizeClass
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modif... | 22 | Kotlin | 0 | 0 | b9894a6739d699799aa2ab49f3d9218a97cfb7bc | 1,623 | NBWeather | MIT License |
android-arch-listview/src/main/kotlin/moe/feng/common/arch/list/BindingListViewAdapter.kt | fython | 115,638,922 | false | null | package moe.feng.common.arch.list
import android.content.Context
import android.databinding.DataBindingUtil
import android.databinding.ViewDataBinding
import android.view.View
import android.view.ViewGroup
import android.widget.BaseAdapter
open class BindingListViewAdapter(private val variableId: Int)
: BaseAdapt... | 0 | Kotlin | 1 | 10 | a7c78c1a5ceea35aab3637ec042eced5a05803e1 | 2,908 | NyanAndroidArch | MIT License |
common/src/main/java/info/dvkr/screenstream/common/module/StreamingModuleService.kt | dkrivoruchko | 63,582,643 | false | {"Kotlin": 727102, "Java": 51723, "HTML": 22517, "JavaScript": 15440} | package info.dvkr.screenstream.common.module
import android.Manifest
import android.annotation.SuppressLint
import android.app.Service
import android.content.Intent
import android.content.pm.ServiceInfo
import android.os.IBinder
import androidx.core.app.ServiceCompat
import com.elvishew.xlog.XLog
import info.dvkr.scre... | 21 | Kotlin | 311 | 1,509 | 10e6fae4e253628e0e022726d591bbce301317bb | 2,694 | ScreenStream | MIT License |
app/src/main/java/com/example/bagstore/Model/Data/SubmitOrder.kt | pixel-Alireza | 634,630,481 | false | null | package com.example.onlineshop.model.data
data class SubmitOrder(
val success: Boolean ,
val orderId: Int,
val paymentLink :String
) | 0 | null | 0 | 4 | 08e55ac89f51448ec8a654de3b393b9fb8d79add | 145 | Bag-Store | MIT License |
plugin-build/tailwind-kt/src/main/kotlin/kizzy/tailwind/templates/PostCssTemplate.kt | dead8309 | 661,807,290 | false | null | package kizzy.tailwind.templates
internal fun postCssConfigTemplate() = """
module.exports = {
plugins: {
tailwindcss: {},
autoprefixer: {},
}
}
""".trimIndent()
| 1 | null | 0 | 6 | b33488d0ce40cf11760b379863f57a026536a0aa | 199 | tailwind-kt | MIT License |
ktor/src/main/kotlin/dev/evo/prometheus/ktor/ktor.kt | anti-social | 191,977,120 | false | null | package dev.evo.prometheus.ktor
import dev.evo.prometheus.GaugeLong
import dev.evo.prometheus.Histogram
import dev.evo.prometheus.LabelSet
import dev.evo.prometheus.PrometheusMetrics
import dev.evo.prometheus.hiccup.HiccupMetrics
import dev.evo.prometheus.jvm.DefaultJvmMetrics
import dev.evo.prometheus.writeSamples
i... | 5 | Kotlin | 2 | 7 | 1ecbe7272270dec44266df08667946cf39d17b67 | 7,175 | prometheus-kt | Apache License 2.0 |
korio/src/androidMain/kotlin/com/soywiz/korio/lang/EnvironmentJvm.kt | korlibs | 77,343,418 | false | null | package korlibs.io.lang
internal actual object EnvironmentInternal {
// Uses querystring on JS/Browser, and proper env vars in the rest
actual operator fun get(key: String): String? = System.getenv(key)
actual fun getAll(): Map<String, String> = System.getenv()
}
| 444 | null | 33 | 349 | e9e89804f5682db0a70e58b91f469b49698dd72b | 268 | korio | MIT License |
src/main/kotlin/examples/shm/simpleHarmonicMotion.kt | CuriousNikhil | 415,380,983 | false | null | package examples.shm
import androidx.compose.ui.geometry.Offset
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.drawscope.translate
import k5
import math.TWO_PI
import math.map
import kotlin.math.sin
fun simulateSineWave() = k5 {
val angles = mutableListOf<Float>()
val r = 6
... | 1 | null | 6 | 99 | 106deec4165a44c3590c6c9ea335b97d29e54cf5 | 870 | k5-compose | Apache License 2.0 |
src/main/kotlin/com/odim/simulator/tree/templates/redfish/embedded/SensorThresholdsTemplate.kt | ODIM-Project | 355,910,204 | false | null | // Copyright (c) Intel Corporation
//
// 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 | Kotlin | 0 | 7 | 7e8a3030ca83c040678f8edf76def588b2b01cca | 1,685 | BMCSimulator | Apache License 2.0 |
loader/src/test/java/com/rarible/core/loader/LoadStressIt.kt | rarible | 357,923,214 | false | null | package com.rarible.core.loader
import com.rarible.core.loader.test.testLoaderType
import com.rarible.core.loader.test.testReceivedNotifications
import com.rarible.core.test.wait.Wait
import io.mockk.coEvery
import kotlinx.coroutines.delay
import kotlinx.coroutines.runBlocking
import org.assertj.core.api.Assertions.as... | 0 | Kotlin | 3 | 9 | 2b2c746150f0fe83bcc0789401345810353e5b1c | 2,259 | service-core | MIT License |
affogato-structure/src/main/java/com/parsuomash/affogato/structure/validation/Validation.kt | ghasemdev | 510,960,043 | false | null | package com.parsuomash.affogato.structure.validation
/**
* ## Validation
* Check is value valid.
* @since 1.4.0
*/
fun interface Validation {
fun isValid(): Boolean
}
| 0 | Kotlin | 1 | 9 | f1944a97416221855060a954b539fbd87b74033b | 174 | affogato | MIT License |
client/app/src/main/java/com/rh/heji/data/db/Image.kt | RUANHAOANDROID | 324,589,079 | false | null | package com.rh.heji.data.db
import androidx.room.*
import com.blankj.utilcode.util.GsonUtils
import com.rh.heji.data.db.mongo.ObjectId
import java.util.*
/**
* @date: 2020/11/19
* @author: 锅得铁
* primaryKeys image_id
* ForeignKey bill_id -> image.bill_id
*/
@Entity(
tableName = Image.TAB_NAME,
primaryKeys... | 0 | null | 7 | 7 | 38d7d743b34ac09e08682f00e0442dd6d1e16b49 | 1,962 | heji | Apache License 2.0 |
mui-icons-kotlin/src/jsMain/kotlin/mui/icons/material/DoDisturbAltSharp.kt | karakum-team | 387,062,541 | false | {"Kotlin": 2961484, "TypeScript": 2249, "JavaScript": 1167, "HTML": 724, "CSS": 86} | // Automatically generated - do not modify!
@file:JsModule("@mui/icons-material/DoDisturbAltSharp")
package mui.icons.material
@JsName("default")
external val DoDisturbAltSharp: SvgIconComponent
| 0 | Kotlin | 5 | 35 | d12f6b1ad1b215ad7d3d9f27e24d48ada9b7fe2d | 198 | mui-kotlin | Apache License 2.0 |
app/src/main/java/org/fossasia/susi/ai/skills/skilllisting/adapters/recycleradapters/SkillListAdapter.kt | sachgits | 143,452,275 | true | {"Kotlin": 325028, "Java": 212866, "Shell": 2946} | package org.fossasia.susi.ai.skills.skilllisting.adapters.recycleradapters
import android.content.Context
import android.support.annotation.NonNull
import android.support.v4.graphics.drawable.RoundedBitmapDrawable
import android.support.v7.widget.RecyclerView
import android.view.LayoutInflater
import android.view.View... | 0 | Kotlin | 0 | 0 | aa09e6d5bf40cc10dc011c16051ced83fb772273 | 3,902 | susi_android | Apache License 2.0 |
src/test/kotlin/no/ssb/barn/xsd/UndersokelseKonklusjonTypeTest.kt | statisticsnorway | 360,498,313 | false | null | package no.ssb.barn.xsd
import io.kotest.assertions.throwables.shouldNotThrowAny
import io.kotest.assertions.throwables.shouldThrow
import io.kotest.core.spec.style.BehaviorSpec
import io.kotest.data.forAll
import io.kotest.data.row
import io.kotest.matchers.shouldBe
import no.ssb.barn.TestUtils.CLARIFICATION_MAX_LEN
... | 2 | null | 1 | 6 | 850d8aea3c7c2458f162394ca986933a07fd1644 | 4,063 | barn-barnevern-xsd | MIT License |
app/src/main/java/com/example/david/diyrules/activities/AutoMateActivity.kt | DavidRoebl | 217,783,211 | false | null | package com.example.david.diyrules.activities
import android.os.Bundle
import android.os.PersistableBundle
import android.support.v7.app.AppCompatActivity
import com.example.david.diyrules.mediator.PermissionMediator
/**
* base activity for handling permissions
*/
abstract class AutoMateActivity: AppCompatActivity(... | 0 | Kotlin | 0 | 0 | f363f6a9a53b7c38f6b7717c7f9fb7b6dc8566fd | 649 | DIYRules | MIT License |
features/home/home-impl/src/commonMain/kotlin/io/spherelabs/homeimpl/domain/DefaultGetPasswordByCategoryUseCase.kt | getspherelabs | 687,455,894 | false | {"Kotlin": 917584, "Ruby": 6814, "Swift": 1128, "Shell": 1048} | package io.spherelabs.homeimpl.domain
import io.spherelabs.homeapi.domain.usecase.GetPasswordsByCategoryUseCase
import io.spherelabs.homeapi.models.HomePassword
import io.spherelabs.homeapi.repository.HomeRepository
import kotlinx.coroutines.flow.Flow
class DefaultGetPasswordByCategoryUseCase(private val homeReposito... | 18 | Kotlin | 27 | 236 | 902a0505c5eaf0f3848a5e06afaec98c1ed35584 | 600 | anypass-kmp | Apache License 2.0 |
samples/notes-app/src/main/java/com/nhaarman/acorn/notesapp/presentation/edititem/EditItemScene.kt | nhaarman | 137,459,947 | false | null | /*
* Copyright 2018 Niek Haarman
*
* 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 applicabl... | 17 | Kotlin | 7 | 182 | bb4cd33a54103bb1a1cf4c0eecabfcc7b9c352d2 | 3,083 | acorn | Apache License 2.0 |
font-awesome/src/commonMain/kotlin/compose/icons/fontawesomeicons/brands/CreativeCommonsSampling.kt | DevSrSouza | 311,134,756 | false | null | package compose.icons.fontawesomeicons.brands
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Butt
import androidx.compose.ui.graphics.StrokeJoin.Miter
import androidx.compose... | 17 | null | 25 | 571 | a660e5f3033e3222e3553f5a6e888b7054aed8cd | 5,408 | compose-icons | MIT License |
app/src/main/kotlin/batect/execution/RunOptions.kt | uBuFun | 190,537,998 | true | {"Gradle": 18, "INI": 2, "Markdown": 21, "Shell": 22, "Text": 3, "Ignore List": 1, "Batchfile": 1, "Git Attributes": 1, "EditorConfig": 1, "YAML": 36, "Kotlin": 370, "Dockerfile": 22, "HTML": 5, "Groovy": 4, "Python": 2, "Java": 1, "JSON": 2, "JavaScript": 8} | /*
Copyright 2017-2019 Charles Korn.
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... | 1 | Kotlin | 1 | 1 | b02013e2b0ab3e9ba3298f160c69971543bda985 | 1,305 | batect | Apache License 2.0 |
backend/data/src/main/kotlin/io/tolgee/security/OrganizationHolder.kt | tolgee | 303,766,501 | false | {"TypeScript": 2960870, "Kotlin": 2463774, "JavaScript": 19327, "Shell": 12678, "Dockerfile": 9468, "PLpgSQL": 663, "HTML": 439} | package io.tolgee.security
import io.tolgee.dtos.cacheable.OrganizationDto
import io.tolgee.model.Organization
import io.tolgee.service.organization.OrganizationService
open class OrganizationHolder(
private val organizationService: OrganizationService,
) {
open val organizationEntity: Organization by lazy {
... | 170 | TypeScript | 188 | 1,837 | 6e01eec3a19c151a6e0aca49e187e2d0deef3082 | 672 | tolgee-platform | Apache License 2.0 |
src/main/kotlin/uk/gov/justice/digital/hmpps/hmppscontactsapi/resource/sync/PrisonerContactSyncController.kt | ministryofjustice | 835,306,273 | false | {"Kotlin": 563533, "Shell": 2365, "Dockerfile": 1483} | package uk.gov.justice.digital.hmpps.hmppscontactsapi.resource
import io.swagger.v3.oas.annotations.Operation
import io.swagger.v3.oas.annotations.Parameter
import io.swagger.v3.oas.annotations.media.Content
import io.swagger.v3.oas.annotations.media.Schema
import io.swagger.v3.oas.annotations.responses.ApiResponse
im... | 7 | Kotlin | 0 | 0 | 975fa02a8ef74e3c5434838939ce4407237aa124 | 6,187 | hmpps-contacts-api | MIT License |
app/src/main/java/ru/hh/compose/navigations/DemoApplication.kt | hhru | 558,759,425 | false | null | package ru.hh.compose.navigations
import android.app.Application
import ru.hh.compose.navigations.di.DemoDi
import timber.log.Timber
import toothpick.Toothpick
import toothpick.configuration.Configuration
internal class DemoApplication : Application() {
override fun onCreate() {
super.onCreate()
... | 0 | Kotlin | 0 | 7 | 40f0a2af17438971a92bd6c7178959a18af284e1 | 600 | jetpack-compose-navigation-research | MIT License |
src/test/kotlin/org/jetbrains/kotlinx/dataframe/api/rename.kt | Kotlin | 259,256,617 | false | null | package org.jetbrains.kotlinx.dataframe.api
import io.kotest.assertions.asClue
import io.kotest.assertions.throwables.shouldNotThrowAny
import io.kotest.matchers.shouldBe
import org.jetbrains.kotlinx.dataframe.impl.columns.asAnyFrameColumn
import org.junit.Test
class RenameTests {
companion object {
val n... | 91 | Kotlin | 4 | 94 | 41a099b4d9b563d0518e1550e764211f43e34702 | 2,003 | dataframe | Apache License 2.0 |
core/src/commonMain/kotlin/io/github/kitakkun/kondition/core/internal/KonditionInternalApi.kt | kitakkun | 869,640,130 | false | {"Kotlin": 198429} | @file:Suppress("UNUSED")
package io.github.kitakkun.kondition.core.internal
@RequiresOptIn(
message = "This is a util function for Kondition compiler. Don't use it directly from source code.",
level = RequiresOptIn.Level.ERROR,
)
internal annotation class KonditionInternalApi
| 4 | Kotlin | 0 | 9 | 09f5c9a290aa57035e92820a4c486d9cc915f932 | 287 | Kondition | Apache License 2.0 |
test/src/me/anno/tests/utils/WindowsShortcutTest.kt | AntonioNoack | 456,513,348 | false | null | package me.anno.tests
import me.anno.io.files.FileReference.Companion.getReference
import me.anno.io.utils.WindowsShortcut
fun main() {
@Suppress("SpellCheckingInspection")
val names = arrayOf( /* "src/test/fixtures/Local file.lnk",
"src/test/fixtures/Local folder.lnk",
"src/te... | 0 | null | 1 | 9 | 566e183d43bff96ee3006fecf0142e6d20828857 | 1,453 | RemsEngine | Apache License 2.0 |
composeApp/src/iosMain/kotlin/MainViewController.kt | rbrauwers | 715,620,789 | false | {"Kotlin": 102653, "Swift": 781} | import androidx.compose.runtime.remember
import androidx.compose.ui.window.ComposeUIViewController
import com.arkivanov.decompose.DefaultComponentContext
import com.arkivanov.essenty.lifecycle.LifecycleRegistry
import components.AppRootComponent
fun MainViewController() = ComposeUIViewController {
val rootComponen... | 0 | Kotlin | 0 | 0 | e3c5677dec0b51a6b48587b5ebf97c19240918bf | 438 | news-app-multiplatform | Apache License 2.0 |
src/commonMain/kotlin/io/smallibs/pilin/standard/either/Functor.kt | d-plaindoux | 354,225,640 | false | null | package io.smallibs.pilin.standard.either
import io.smallibs.pilin.abstractions.Functor
import io.smallibs.pilin.core.Standard.Infix.then
import io.smallibs.pilin.standard.either.Either.Companion.left
import io.smallibs.pilin.standard.either.Either.Companion.right
import io.smallibs.pilin.standard.either.Either.Either... | 3 | Kotlin | 1 | 9 | 4a96f11e7360610d04b03d5a7aa52b8df83e4f4a | 766 | pilin | MIT License |
sqlbrite-kotlin/src/main/java/com/squareup/sqlbrite3/extensions.kt | square | 31,001,422 | false | null | /*
* Copyright (C) 2017 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 agre... | 5 | Java | 441 | 4,650 | d4cf6ef967452f19a508e14b7c46f64964f8052e | 4,059 | sqlbrite | Apache License 2.0 |
src/test/kotlin/com/vauthenticator/server/account/mailverification/MailVerificationControllerTest.kt | VAuthenticator | 191,632,792 | false | null | package com.vauthenticator.server.account.mailverification
import com.vauthenticator.server.i18n.I18nMessageInjector
import com.vauthenticator.server.i18n.I18nScope
import io.mockk.every
import io.mockk.impl.annotations.MockK
import io.mockk.junit5.MockKExtension
import io.mockk.just
import io.mockk.runs
import org.ju... | 40 | null | 1 | 17 | d9de0195848db4a47617837e948c6ded94778ead | 1,549 | vauthenticator | Apache License 2.0 |
src/main/kotlin/z3roco01/pragmatica/datagen/provider/PragmaticaModelProvider.kt | z3roco01 | 838,691,497 | false | {"Kotlin": 24737} | package z3roco01.pragmatica.datagen.provider
import net.fabricmc.fabric.api.datagen.v1.FabricDataOutput
import net.fabricmc.fabric.api.datagen.v1.provider.FabricModelProvider
import net.minecraft.data.client.*
import net.minecraft.item.Item
import net.minecraft.util.Identifier
import z3roco01.pragmatica.Pragmatica
imp... | 0 | Kotlin | 0 | 0 | 7e608084d5b0db84e1d385693cad3d322ccf33fd | 911 | pragmatica | The Unlicense |
sykepenger-mediators/src/main/kotlin/no/nav/helse/spleis/PersonMediator.kt | navikt | 193,907,367 | false | null | package no.nav.helse.spleis
import com.fasterxml.jackson.databind.JsonNode
import com.fasterxml.jackson.databind.SerializationFeature
import com.fasterxml.jackson.databind.node.ObjectNode
import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule
import com.fasterxml.jackson.module.kotlin.convertValue
import com.fast... | 0 | Kotlin | 3 | 4 | 470b02c1f41847ea2afcf2c4fd78ae66229b03d5 | 16,663 | helse-spleis | MIT License |
thirdparty/ktfx-controlsfx-layouts/src/main/kotlin/ktfx/controlsfx/layouts/_SegmentedBar.kt | hanggrian | 102,934,147 | false | null | @file:JvmMultifileClass
@file:JvmName("ControlsfxLayoutsKt")
@file:OptIn(ExperimentalContracts::class)
@file:Suppress("ktlint")
package ktfx.controlsfx.layouts
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.contracts.ExperimentalContracts
import kotlin.contracts.InvocationKind
import kot... | 1 | null | 2 | 19 | 6e5ec9fedf8359423c31a2ba64cd175bc9864cd2 | 3,701 | ktfx | Apache License 2.0 |
api/src/main/kotlin/org/jetbrains/kotlinx/dl/api/core/activation/Activations.kt | JetBrains | 249,948,572 | false | null | /*
* Copyright 2020-2022 JetBrains s.r.o. and Kotlin Deep Learning project contributors. All Rights Reserved.
* Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE.txt file.
*/
package org.jetbrains.kotlinx.dl.api.core.activation
import org.tensorflow.Operand
import org.t... | 81 | null | 79 | 806 | efaa1ebdf7bf9a131826d3ded42e1eb178e4fd19 | 22,734 | KotlinDL | Apache License 2.0 |
app/src/main/java/com/nafanya/mp3world/features/artists/di/ArtistsComponentProvider.kt | AlexSoWhite | 445,900,000 | false | null | package com.nafanya.mp3world.features.artists.di
interface ArtistsComponentProvider {
val artistsComponent: ArtistsComponent
}
| 0 | Kotlin | 0 | 0 | 480fa9c16460890d393ece7c8aa2466c031d8f78 | 133 | mp3world | MIT License |
app/src/main/java/com/suyash/creditmanager/presentation/emis/EMIsScreen.kt | suyash01 | 732,788,266 | false | {"Kotlin": 282293} | package com.suyash.creditmanager.presentation.emis
import androidx.compose.foundation.ExperimentalFoundationApi
import androidx.compose.foundation.combinedClickable
import androidx.compose.foundation.layout.PaddingValues
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.p... | 0 | Kotlin | 0 | 0 | ea4bcd5c53d1b66c54ba144d0772378c5b4f566e | 6,906 | credit-manager | Apache License 2.0 |
app/src/main/java/org/stepic/droid/adaptive/ui/fragments/AdaptiveProgressFragment.kt | Ujjawal-Anand | 142,415,269 | true | {"Java": 1818802, "Kotlin": 1403557, "CSS": 3790, "Shell": 618, "Prolog": 98} | package org.stepic.droid.adaptive.ui.fragments
import android.os.Bundle
import android.support.v4.content.ContextCompat
import android.support.v7.widget.DividerItemDecoration
import android.support.v7.widget.LinearLayoutManager
import android.support.v7.widget.RecyclerView
import android.view.LayoutInflater
import and... | 0 | Java | 0 | 1 | 256a90051eefe8db83f7053914004905bbb1f8d0 | 2,567 | stepik-android | Apache License 2.0 |
app/src/main/java/com/nordkaz/ds24test/ui/SearchRepositoriesViewModel.kt | ekbandroid | 144,299,832 | false | null | package com.nordkaz.ds24test.ui
import android.arch.lifecycle.LiveData
import android.arch.lifecycle.MutableLiveData
import android.arch.lifecycle.Transformations
import android.arch.lifecycle.ViewModel
import com.nordkaz.ds24test.data.QuoteRepository
import com.nordkaz.ds24test.model.Detail
import com.nordkaz.ds24tes... | 0 | Kotlin | 0 | 0 | efef3a436d82b628db79a2071f9eaa4300d9a536 | 2,270 | DS24Test | Apache License 2.0 |
src/main/kotlin/com/example/hsm/sign/impl/KeyFileSignature.kt | fclemonschool | 218,457,180 | false | {"Java": 128939, "Kotlin": 23165} | package com.example.hsm.sign.impl
import com.example.hsm.sign.Signature
import com.example.hsm.sign.Signature.Companion.appCertificateAlias
import com.example.hsm.sign.Signature.Companion.certificationChain
import com.example.hsm.sign.Signature.Companion.keyStore
import com.example.hsm.sign.Signature.Companion.keyStor... | 1 | Java | 1 | 2 | 906a258480452b45eb6d2c0b4e0db8a379579187 | 2,814 | gcp-hsm-example | MIT License |
idea/testData/codeInsight/overrideImplement/functionFromTraitInJava/foo/KotlinTrait.kt | chashnikov | 14,658,474 | false | null | package foo
trait KotlinTrait {
fun bar(price : String?)
}
// KT-1043 'Implement Methods' throws a ClassCastException | 0 | null | 0 | 1 | 88a261234860ff0014e3c2dd8e64072c685d442d | 123 | kotlin | Apache License 2.0 |
core-model/src/main/java/com/ddd/carssok/core/model/OnBoardingItem.kt | DDD-Community | 566,191,080 | false | null | package com.ddd.carssok.core.model
// server 개발 이전 임시 더미 데이터용
data class CarBrand(
val id: Long = -1,
val name: String,
val isChecked: Boolean = false
) | 7 | Kotlin | 0 | 0 | 03e80f26a4c4f7e2cbb2992e05e4800253441ea0 | 165 | 28.8-Android | Apache License 2.0 |
src/main/kotlin/com/google/actions/api/smarthome/SmartHomeRequest.kt | actions-on-google | 165,905,654 | false | null | /*
* Copyright 2018 Google Inc. 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 required by appli... | 27 | Kotlin | 40 | 286 | 3d9f62beb8a8ff98844528badcea9ebaaed559cc | 9,739 | actions-on-google-java | Apache License 2.0 |
app/src/main/java/com/takwolf/android/demo/hfrecyclerview/ui/activity/LinearVerticalActivity.kt | TakWolf | 92,882,038 | false | null | package com.takwolf.android.demo.hfrecyclerview.ui.activity
import android.os.Bundle
import androidx.activity.viewModels
import androidx.appcompat.app.AppCompatActivity
import androidx.recyclerview.widget.LinearLayoutManager
import com.takwolf.android.demo.hfrecyclerview.R
import com.takwolf.android.demo.hfrecyclervie... | 0 | null | 6 | 40 | df08fe97aa14985c6e8998e9acf6e75c0ce89817 | 1,740 | Android-HeaderAndFooterRecyclerView | Apache License 2.0 |
app/src/main/java/com/alveteg/simon/minutelauncher/theme/Theme.kt | simonalveteg | 519,161,865 | false | {"Kotlin": 109907} | package com.example.android.minutelauncher.ui.theme
import android.app.Activity
import android.os.Build
import androidx.compose.foundation.isSystemInDarkTheme
import androidx.compose.material3.*
import androidx.compose.runtime.Composable
import androidx.compose.runtime.SideEffect
import androidx.compose.ui.graphics.Co... | 9 | Kotlin | 1 | 6 | 210285044f7a10fbb848ed8cb489e8f992bc2631 | 2,385 | Minute-Launcher | MIT License |
library/core/src/main/java/com/michaelflisar/kotpreferences/core/settings/AnyLongSetting.kt | MFlisar | 705,564,357 | false | {"Kotlin": 61309} | package com.michaelflisar.kotpreferences.core.settings
import com.michaelflisar.kotpreferences.core.SettingsConverter
import com.michaelflisar.kotpreferences.core.SettingsModel
import com.michaelflisar.kotpreferences.core.interfaces.Storage
import com.michaelflisar.kotpreferences.core.interfaces.StorageSetting
import ... | 0 | Kotlin | 0 | 2 | 20897414d61c163fc7019a0bd7e9f4a9950ffdaa | 1,889 | KotPreferences | Apache License 2.0 |
app/src/test/java/org/listenbrainz/android/SearchViewModelTest.kt | metabrainz | 550,726,972 | false | null | package org.listenbrainz.android
import kotlinx.coroutines.ExperimentalCoroutinesApi
import kotlinx.coroutines.test.TestScope
import kotlinx.coroutines.test.advanceUntilIdle
import org.junit.Assert.assertEquals
import org.junit.Before
import org.junit.Test
import org.junit.runner.RunWith
import org.listenbrainz.androi... | 25 | null | 31 | 99 | 573ab0ec6c5b87ea963f013174159ddfcd123976 | 5,728 | listenbrainz-android | Apache License 2.0 |
brd-android/app/src/main/java/com/breadwallet/ui/provekey/PaperKeyProveController.kt | rockwalletcode | 551,321,635 | false | {"Kotlin": 2861608, "Java": 486902, "HTML": 12258} | /**
* BreadWallet
*
* Created by Pablo Budelli <pablo.budelli@breadwallet.com> on 10/10/19.
* Copyright (c) 2019 breadwallet 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 with... | 9 | Kotlin | 2 | 0 | 24b84f3d91a08c2d9f1233aa35db175e6102bd54 | 4,934 | wallet-android | MIT License |
app/src/main/java/com/app/quotify/feature_quote/presentation/quotes/components/quote_ui/QuoteItem.kt | shivam-gupta007 | 510,800,553 | false | {"Kotlin": 55709} | package com.app.quotify.feature_quote.presentation.quotes.components.quote_ui
import androidx.annotation.DrawableRes
import androidx.compose.foundation.background
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.shape.RoundedCornerShape
import ... | 0 | Kotlin | 0 | 3 | 94664898142eae219b1d3784c8b3b94d947cd0b1 | 5,801 | Quotify | MIT License |
app/src/main/java/com/app/quotify/feature_quote/presentation/quotes/components/quote_ui/QuoteItem.kt | shivam-gupta007 | 510,800,553 | false | {"Kotlin": 55709} | package com.app.quotify.feature_quote.presentation.quotes.components.quote_ui
import androidx.annotation.DrawableRes
import androidx.compose.foundation.background
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.shape.RoundedCornerShape
import ... | 0 | Kotlin | 0 | 3 | 94664898142eae219b1d3784c8b3b94d947cd0b1 | 5,801 | Quotify | MIT License |
reto08/Reto8/app/src/main/java/co/edu/unal/reto8/contact/ContactDao.kt | anromerom | 290,949,827 | false | null | package co.edu.unal.reto8.contact
import androidx.lifecycle.LiveData
import androidx.room.*
@Dao
interface ContactDao {
// CREATE
@Insert(onConflict = OnConflictStrategy.REPLACE)
suspend fun insertContact(contact : Contact)
// READ
@Query("SELECT * FROM contact_table ORDER BY name ASC")
fu... | 1 | null | 1 | 1 | c560c2eb1d5bbdc9868504299759f0d08220d403 | 732 | DADM_2020 | MIT License |
reto08/Reto8/app/src/main/java/co/edu/unal/reto8/contact/ContactDao.kt | anromerom | 290,949,827 | false | null | package co.edu.unal.reto8.contact
import androidx.lifecycle.LiveData
import androidx.room.*
@Dao
interface ContactDao {
// CREATE
@Insert(onConflict = OnConflictStrategy.REPLACE)
suspend fun insertContact(contact : Contact)
// READ
@Query("SELECT * FROM contact_table ORDER BY name ASC")
fu... | 1 | null | 1 | 1 | c560c2eb1d5bbdc9868504299759f0d08220d403 | 732 | DADM_2020 | MIT License |
kotlin-mui-icons/src/main/generated/mui/icons/material/NorthEast.kt | JetBrains | 93,250,841 | false | null | // Automatically generated - do not modify!
@file:JsModule("@mui/icons-material/NorthEast")
package mui.icons.material
@JsName("default")
external val NorthEast: SvgIconComponent
| 12 | null | 5 | 983 | 372c0e4bdf95ba2341eda473d2e9260a5dd47d3b | 182 | kotlin-wrappers | Apache License 2.0 |
Mobile/SimplexLudum/composeApp/src/commonMain/kotlin/palbp/laboratory/simplex/domain/GameListsRepository.kt | palbp | 463,200,783 | false | null | package palbp.laboratory.simplex.domain
/**
* Type used to represent functions responsible for obtaining game lists.
*/
typealias GetGameLists = suspend () -> List<GameListSummary>
/**
* Type used to represent functions responsible for obtaining the latest games.
*/
typealias GetLatestGames = suspend () -> List<G... | 1 | null | 0 | 5 | 9067753258a6a71bcd79cd59401edd58df66db71 | 507 | laboratory | MIT License |
BusSatriaAppDriver/app/src/main/java/com/bussatriaappdriver/component/PageIndicator.kt | RanggaNf | 834,310,436 | false | {"Kotlin": 404583} | package com.bussatriaapp.component
import androidx.compose.animation.core.Spring
import androidx.compose.animation.core.animateDpAsState
import androidx.compose.animation.core.spring
import androidx.compose.foundation.background
import androidx.compose.foundation.isSystemInDarkTheme
import androidx.compose.foundation... | 0 | Kotlin | 0 | 1 | 7046f6b382f7d0797c8ffeeebcacc2592671b0f5 | 3,228 | Bus-Satria-App | MIT License |
favourite/src/main/java/com/dicoding/dummyfilmapp/favourite/ui/fragment/TvShowFavouriteFragment.kt | r3dz0n3-plysafe | 391,220,918 | false | null | package com.dicoding.dummyfilmapp.favourite.ui.fragment
import android.content.Intent
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import androidx.recyclerview.widget.GridLayoutManager
import com.dicoding.dummyf... | 0 | Kotlin | 0 | 0 | e60dc3657296f4e1e8d705d1543f110dc644e27f | 2,471 | Sub2-Expert-DummyFilmApp | The Unlicense |
app/src/main/java/vtsen/hashnode/dev/androidnews/data/utils/ArticleRepoUtils.kt | vinchamp77 | 455,775,581 | false | {"Kotlin": 172657} | /*
* Copyright 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 agreed to in writin... | 18 | Kotlin | 11 | 62 | 992c997733a3495bfa09977c6f6329e77b415e5d | 1,477 | AndroidNews | Apache License 2.0 |
px-checkout/src/main/java/com/mercadopago/android/px/internal/features/pay_button/PayButton.kt | mercadopago | 49,529,486 | false | null | package com.mercadopago.android.px.internal.features.pay_button
import com.mercadopago.android.px.internal.callbacks.PaymentServiceHandler
import com.mercadopago.android.px.internal.features.explode.ExplodingFragment
import com.mercadopago.android.px.model.IPaymentDescriptor
import com.mercadopago.android.px.model.Pay... | 44 | null | 77 | 98 | b715075dd4cf865f30f6448f3c00d6e9033a1c21 | 1,701 | px-android | MIT License |
app/src/main/java/ru/divar/socprotection/ui/calculator/ChildrenCountPickerFragment.kt | BrightOS | 410,199,584 | false | null | package ru.divar.socprotection.ui.calculator
import android.os.Bundle
import android.view.View
import androidx.fragment.app.Fragment
import androidx.navigation.fragment.findNavController
import androidx.recyclerview.widget.LinearLayoutManager
import com.google.android.material.transition.MaterialSharedAxis
import kotl... | 0 | Kotlin | 0 | 1 | 0e361407322777e3f317e49256afb5b20fdb8f84 | 2,308 | SocialProtectionDivar | Apache License 2.0 |
app/src/main/java/com/breezefieldsalesversacorp/features/location/shopRevisitStatus/ShopRevisitStatusApi.kt | DebashisINT | 855,745,768 | false | {"Kotlin": 15888573, "Java": 1028548} | package com.breezefieldsalesversacorp.features.location.shopRevisitStatus
import com.breezefieldsalesversacorp.app.NetworkConstant
import com.breezefieldsalesversacorp.base.BaseResponse
import com.breezefieldsalesversacorp.features.location.model.ShopDurationRequest
import com.breezefieldsalesversacorp.features.locati... | 0 | Kotlin | 0 | 0 | ce77cb38df5798e0751dd5163378f778c856d95c | 1,366 | VERSACORP | Apache License 2.0 |
src/main/kotlin/com/fintecsystems/xs2a/java/models/risk/MatchType.kt | FinTecSystems | 399,112,589 | false | {"Kotlin": 248672} | package com.fintecsystems.xs2a.java.models.risk
import com.squareup.moshi.Json
@Suppress("unused")
enum class MatchType(var value: String) {
@Json(name = "NONE")
NONE("NONE"),
@Json(name = "LAST_NAME")
LAST_NAME("LAST_NAME"),
@Json(name = "PERSON")
PERSON("PERSON"),
@Json(name = "COMPAN... | 0 | Kotlin | 3 | 3 | d34d9359857f362840f07a1c0c70789537dc90aa | 386 | xs2a-java | MIT License |
src/main/kotlin/com/antwerkz/bottlerocket/configuration/types/DiagnosticLog.kt | evanchooly | 36,263,772 | false | null | package com.antwerkz.bottlerocket.configuration.types
enum class DiagnosticLog(val level: Int) {
NONE(0),
WRITE(1),
READ(2),
READ_AND_WRITE(3),
WRITE_AND_SOME_READ(7);
override fun toString(): String {
return level.toString()
}
}
| 5 | Kotlin | 1 | 2 | c83adbbfecbac4327defa6da4ecb30fde0d60884 | 268 | bottlerocket | Apache License 2.0 |
src/main/kotlin/de/marcphilipp/gradle/nexus/NexusRepositoryContainer.kt | marcphilipp | 156,114,106 | false | {"Gradle Kotlin DSL": 6, "Shell": 2, "Text": 2, "Ignore List": 2, "Batchfile": 2, "YAML": 1, "Markdown": 2, "Java": 2, "INI": 2, "Kotlin": 11} | /*
* Copyright 2019 the original author or 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 applica... | 0 | Kotlin | 9 | 39 | fc6dbaf3f10df2fbab322e2706b7a5c2d81e573c | 1,006 | nexus-publish-plugin | Apache License 2.0 |
modules/library-ui/src/main/kotlin/com/leinardi/forlago/library/ui/component/CoilImage.kt | leinardi | 405,185,933 | false | null | /*
* Copyright 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... | 3 | null | 3 | 9 | abe5eb3017f3365bbb1b61e74f2ef8f34097d411 | 2,229 | Forlago | Apache License 2.0 |
app/src/main/java/com/muhamadzain/movie_catalog/network/ServiceApi.kt | Zainal21 | 571,134,695 | false | {"Kotlin": 26154} | package com.muhamadzain.movie_catalog.network
import com.muhamadzain.movie_catalog.BuildConfig
import okhttp3.OkHttpClient
import okhttp3.logging.HttpLoggingInterceptor
import retrofit2.Retrofit
import retrofit2.adapter.rxjava2.RxJava2CallAdapterFactory
import retrofit2.converter.gson.GsonConverterFactory
object Serv... | 0 | Kotlin | 0 | 1 | 21a6e13a64c1bd7da5b6a653b215c4ddf24ba9a1 | 1,005 | Movie-catalog | MIT License |
mobile_app1/module994/src/main/java/module994packageKt0/Foo192.kt | uber-common | 294,831,672 | false | null | package module224packageKt0;
annotation class Foo192Fancy
@Foo192Fancy
class Foo192 {
fun foo0(){
module224packageKt0.Foo191().foo3()
}
fun foo1(){
foo0()
}
fun foo2(){
foo1()
}
fun foo3(){
foo2()
}
} | 6 | Java | 6 | 72 | 9cc83148c1ca37d0f2b2fcb08c71ac04b3749e5e | 237 | android-build-eval | Apache License 2.0 |
src/main/kotlin/com/github/locxter/btvccntrl/ng/model/Path.kt | locxter | 640,201,341 | false | {"Kotlin": 46472} | package com.github.locxter.btvccntrl.ng.model
data class Path(
val points: MutableList<Point> = mutableListOf()
)
| 0 | Kotlin | 0 | 1 | de71c6aa13e09df7ef5fed4f3631baccc360633c | 119 | btvccntrl-ng | MIT License |
gradle-dsl-kotlin/src/com/android/tools/idea/gradle/dsl/kotlin/KotlinDslNameConverter.kt | JetBrains | 60,701,247 | false | null | /*
* Copyright (C) 2019 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 5 | null | 227 | 948 | 10110983c7e784122d94c7467e9d243aba943bf4 | 6,062 | android | Apache License 2.0 |
quartz/src/main/java/com/vitorpamplona/quartz/events/RepostEvent.kt | vitorpamplona | 587,850,619 | false | null | package com.vitorpamplona.quartz.events
import androidx.compose.runtime.Immutable
import com.vitorpamplona.quartz.utils.TimeUtils
import com.vitorpamplona.quartz.encoders.toHexKey
import com.vitorpamplona.quartz.crypto.CryptoUtils
import com.vitorpamplona.quartz.crypto.KeyPair
import com.vitorpamplona.quartz.encoders.... | 157 | null | 141 | 981 | 2de3d19a34b97c012e39b203070d9c1c0b1f0520 | 1,605 | amethyst | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.