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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
messages/src/main/java/com/karntrehan/talko/messages/landing/models/SentAttachment.kt | karntrehan | 211,648,229 | false | null | package com.karntrehan.talko.messages.landing.models
data class SentAttachment(
val sentAttachmentId: String,
val thumbnailUrl: String?, val title: String?
) : MessageModel(sentAttachmentId)
| 3 | Kotlin | 0 | 1 | 3a645414f6a3ec0520a45c5011a01a6b20efb62b | 200 | Talko | The Unlicense |
src/app/api/src/main/kotlin/yapp/be/apiapplication/shelter/service/ObservationAnimalApplicationService.kt | YAPP-Github | 634,126,325 | false | {"Kotlin": 415858, "HTML": 7648} | package yapp.be.apiapplication.shelter.service
import org.springframework.stereotype.Service
import org.springframework.transaction.annotation.Transactional
import yapp.be.apiapplication.shelter.service.model.GetObservationAnimalResponseDto
import yapp.be.domain.port.inbound.observationanimal.GetObservationAnimalUseCa... | 0 | Kotlin | 1 | 7 | b689f5362ecc319a531a37925b4f8d2505ebecd7 | 1,632 | DangleDangle-server | Apache License 2.0 |
app/src/main/java/com/artbird/onsite/network/AccountApiInterface.kt | zlkca | 563,099,648 | false | null | package com.artbird.onsite.network
import com.artbird.onsite.domain.*
import retrofit2.Response
import retrofit2.http.*
interface AccountApiInterface {
@POST("search/accounts")
suspend fun search(
@Body query: Map<String, String> = mapOf<String, String>()
): Response<List<Account>>
@GET("acc... | 0 | Kotlin | 0 | 0 | 514e5dc00fd80d85faada2a729ffff7204878dbd | 1,685 | partner-android | MIT License |
src/main/kotlin/com/aol/mobile/sdk/cilib/utils/Common.kt | yahoo | 117,840,852 | false | {"Kotlin": 77348} | /*
* Copyright 2018, Oath Inc.
* Licensed under the terms of the MIT License. See LICENSE.md file in project root for terms.
*/
package com.aol.mobile.sdk.cilib.utils
import groovy.lang.Closure
import org.gradle.internal.Cast
import java.io.File
import java.util.concurrent.TimeUnit
fun String.execute(workingDir:... | 1 | Kotlin | 4 | 0 | 01a6e393d5ba945e1c1e31b70cb3653eec9dfc09 | 1,127 | OneMobileSDK-apitracker-plugin-kotlin | MIT License |
androidutils/core/src/main/kotlin/com/w2sv/androidutils/database/Querying.kt | w2sv | 569,873,925 | false | {"Kotlin": 27885, "Makefile": 351} | package com.w2sv.androidutils.database
import android.content.ContentResolver
import android.database.Cursor
import android.net.Uri
fun <R> ContentResolver.query(
uri: Uri,
columns: Array<String>,
selection: String? = null,
selectionArgs: Array<String>? = null,
onCursor: (Cursor) -> R
): R? =
... | 6 | Kotlin | 1 | 5 | cd76f79889937cab4d6a97ba674b70afc6895d71 | 497 | AndroidUtils | MIT License |
stripe/src/test/java/com/stripe/android/view/CountryAutoCompleteTextViewTest.kt | swdreams | 220,836,994 | true | {"Kotlin": 1543131, "Java": 141606, "Ruby": 6208} | package com.stripe.android.view
import android.widget.AutoCompleteTextView
import com.stripe.android.R
import java.util.Locale
import kotlin.test.AfterTest
import kotlin.test.BeforeTest
import kotlin.test.Test
import kotlin.test.assertEquals
import kotlin.test.assertFalse
import kotlin.test.assertNotEquals
import kotl... | 0 | null | 1 | 2 | 413c85d6213d894510cc78684287783e36eeb53b | 3,191 | stripe-android | MIT License |
app/src/main/java/com/kanyideveloper/joomia/feature_products/domain/repository/ProductsRepository.kt | JoelKanyi | 501,639,143 | false | null | package com.kanyideveloper.joomia.feature_products.domain.repository
import com.kanyideveloper.joomia.core.util.Resource
import com.kanyideveloper.joomia.feature_products.domain.model.Product
import kotlinx.coroutines.flow.Flow
interface ProductsRepository {
suspend fun getProducts(): Flow<Resource<List<Product>>... | 0 | Kotlin | 18 | 98 | 573cd1f81e2ad47d6b53c461f32d58ca8bec4535 | 376 | Joomia | Apache License 2.0 |
emoji/src/androidMain/kotlin/com/vanniktech/emoji/internal/RecentEmojiGridView.kt | vanniktech | 53,511,222 | false | null | /*
* Copyright (C) 2016 - <NAME>, <NAME>, <NAME> and contributors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requir... | 16 | null | 286 | 1,501 | 2047a86272ecdaa3eaf54e83d889b5c091edaa50 | 1,714 | Emoji | Apache License 2.0 |
android/src/main/java/com/mattermost/networkclient/helpers/UploadRequestBody.kt | mattermost | 303,449,627 | false | {"TypeScript": 3732726, "Kotlin": 114057, "Swift": 94044, "Objective-C++": 30317, "JavaScript": 29601, "Ruby": 3782, "Shell": 3499, "Objective-C": 1765} | package com.mattermost.networkclient.helpers
import android.net.Uri
import com.mattermost.networkclient.ApiClientModuleImpl
import com.mattermost.networkclient.enums.ApiClientEvents
import okhttp3.MediaType
import okhttp3.MediaType.Companion.toMediaTypeOrNull
import okhttp3.RequestBody
import okhttp3.internal.closeQui... | 8 | TypeScript | 15 | 35 | 9550de9fbcdaa3344fcf455e4ee0f48cd8da83ea | 1,689 | react-native-network-client | Apache License 2.0 |
app/src/main/java/com/plcoding/jetpackcomposepokedex/data/remote/responses/Stat.kt | Igor-M-Amaral | 573,946,216 | false | {"Kotlin": 38865} | package com.plcoding.jetpackcomposepokedex.data.remote.responses
data class Stat(
val base_stat: Int,
val effort: Int,
val stat: StatX
) | 0 | Kotlin | 0 | 0 | a81c4ec8fe7c4da54326fd959921b0705b79a175 | 149 | JetpackComposePokedex-master | MIT License |
android/app/src/main/kotlin/ca/etsmtl/applets/etsmobile/presentation/settings/SettingsFragment.kt | mayMadany | 189,744,601 | true | {"Kotlin": 533367, "Swift": 51936, "HTML": 36036, "Shell": 3751, "Ruby": 315} | package ca.etsmtl.applets.etsmobile.presentation.settings
import android.content.Context
import android.os.Bundle
import androidx.preference.Preference
import androidx.preference.PreferenceFragmentCompat
import ca.etsmtl.applets.etsmobile.R
import ca.etsmtl.applets.etsmobile.extension.applyDarkThemePref
/**
* Settin... | 0 | Kotlin | 0 | 0 | 4124b7ddb86d796ac7f398d68557ba04eb800ab6 | 1,421 | Notre-Dame | Apache License 2.0 |
app/src/main/java/com/tylermarien/blogomattic/data/Post.kt | tylermarien | 156,028,328 | false | null | package com.tylermarien.blogomattic.data
import android.os.Parcelable
import com.squareup.moshi.Json
import kotlinx.android.parcel.Parcelize
import java.util.*
@Parcelize
data class Post(
@Json(name="ID")
val id: Int,
@Json(name="site_ID")
val siteId: Int,
val author: Author,
val date: Date,
... | 0 | Kotlin | 0 | 0 | 8540b0a88a6a8d16c53fba8d21fd2f24515f1797 | 601 | Blogomattic | MIT License |
app/src/main/kotlin/jp/co/yumemi/android/code_check/model/RepositoryResponse.kt | udeni-gtp01 | 652,266,667 | false | {"Kotlin": 68298} | package jp.co.yumemi.android.code_check.model
import android.os.Parcelable
import com.google.gson.annotations.SerializedName
import kotlinx.parcelize.Parcelize
/**
* Represents the data model for GitHub API response.
* This class captures the relevant information and properties returned by the GitHub API.
*/
@Parc... | 6 | Kotlin | 0 | 0 | 327c57045aa8d5f2bbb2af0a1cb6ea96c2f525af | 1,301 | android-engineer-codecheck | Apache License 2.0 |
myblog-kt/src/main/kotlin/com/site/blog/service/MailService.kt | yzqdev | 394,679,800 | false | {"Kotlin": 453510, "Java": 239310, "Vue": 114812, "HTML": 47519, "TypeScript": 29771, "Go": 22465, "Less": 8160, "JavaScript": 7120, "CSS": 4588, "SCSS": 979} | package com.site.blog.service
import com.baomidou.mybatisplus.extension.service.IService
import com.site.blog.model.entity.EmailConfig
/**
* @Author: Yangzhengqian
* @Description:
* @Date:Created time 2020/11/12 上午10:46
* @Modified By:
*/
interface MailService : IService<EmailConfig?> {
val defaultMail: Emai... | 0 | Kotlin | 2 | 4 | 7f367dbe7883722bf1d650504265254d5224f69b | 840 | mild-blog | MIT License |
eth/src/main/kotlin/com/d3/eth/provider/EthTokensProvider.kt | BulatSaif | 188,790,713 | true | {"Gradle": 26, "Kotlin": 278, "Shell": 8, "Text": 1, "Ignore List": 1, "Batchfile": 1, "Groovy": 2, "Markdown": 10, "Java": 42, "INI": 23, "Java Properties": 48, "HTML": 1, "CSS": 1, "Dockerfile": 14, "YAML": 19, "Python": 3, "Public Key": 24, "TOML": 1, "JSON": 3, "Gerber Image": 20, "XML": 2} | package com.d3.eth.provider
import com.github.kittinunf.result.Result
/** Interface of an instance that provides with ethereum ERC20 token white list. */
interface EthTokensProvider {
/** Returns token list in form of (Ethereum wallet -> iroha assetId) */
fun getTokens(): Result<Map<String, String>, Exceptio... | 0 | Kotlin | 0 | 0 | 11f0109480372549542f59f71b7e9b1bab604e30 | 554 | notary | Apache License 2.0 |
core/src/main/kotlin/net/corda/core/crypto/Party.kt | cyrsis | 84,929,350 | false | {"Gradle": 39, "INI": 15, "Markdown": 39, "Shell": 7, "Text": 22, "Ignore List": 7, "Batchfile": 3, "XML": 44, "Java": 55, "Kotlin": 634, "Groovy": 11, "reStructuredText": 71, "Java Properties": 2, "RPM Spec": 1, "CSS": 128, "SVG": 12, "JavaScript": 1975, "HTML": 43, "JSON": 31, "JSON with Comments": 6, "Dockerfile": 1... | package net.corda.core.crypto
import org.bouncycastle.asn1.x500.X500Name
import java.security.PublicKey
@Deprecated("Party has moved to identity package", ReplaceWith("net.corda.core.identity.Party"))
class Party(name: X500Name, owningKey: PublicKey) : net.corda.core.identity.Party(name, owningKey) | 1 | null | 1 | 1 | 7958f341dcba962497480c7d52f159397a55a222 | 301 | corda | Apache License 2.0 |
shared-library/src/main/java/top/xjunz/shared/ktx/Collections.kt | xjunz | 651,527,105 | false | {"Kotlin": 1063774, "Java": 386865, "HTML": 67262, "C": 29461, "JavaScript": 16670, "C++": 12159, "AIDL": 4190, "CMake": 1764} | /*
* Copyright (c) 2023 xjunz. All rights reserved.
*/
package top.xjunz.shared.ktx
import androidx.collection.ArrayMap
/**
* @author xjunz 2023/10/11
*/
fun <K, V> arrayMapOf(vararg entries: Pair<K, V>): ArrayMap<K, V> {
val map = ArrayMap<K, V>(entries.size)
map.putAll(entries)
return map
}
fun <V... | 0 | Kotlin | 6 | 23 | 82893d0db2b13e12d8bee86b4cae0f16abd0e2f4 | 460 | AutoTask | Apache License 2.0 |
optis3upload/src/main/java/com/obs/awss3/model/S3RemoveFileResponse.kt | jaiobs | 377,166,797 | false | null | package com.obs.awss3.model
/**
* S3remove file response
*
* @property id
* @property key
* @constructor Create empty S3remove file response
*/
data class S3RemoveFileResponse (
val id:String,
val key: String
)
| 0 | Kotlin | 1 | 0 | 33128b7fdb5043ee521dac3c12f1661f5cc05f06 | 238 | OptiAwsS3Upload | Apache License 2.0 |
module_quote/src/main/java/com/future/quote/model/QuoteModelApp.kt | markzha | 560,383,570 | true | {"Kotlin": 498659} | package com.future.quote.model
import com.fsh.common.base.BaseApplication
/**
* Created by devFan
*
* author: devFan
* email: <EMAIL>
* date: 2020/3/11
* description:
*
*/
class QuoteModelApp : BaseApplication() | 0 | null | 0 | 0 | 5fdace62bc3b374bc6603b4a15e3cbcdc3ab18b7 | 222 | FutureDemo | Apache License 2.0 |
app/src/main/java/com/comic_con/museum/ar/views/SwipeDisabledViewPager.kt | Comic-Con-Museum | 153,692,659 | false | {"Kotlin": 71992} | package com.comic_con.museum.ar.views
import android.content.Context
import android.support.v4.view.ViewPager
import android.util.AttributeSet
import android.view.MotionEvent
class SwipeDisabledViewPager(c: Context, a: AttributeSet): ViewPager(c, a) {
init {
// Prevent fragments off screen from being kil... | 18 | Kotlin | 1 | 8 | 6e5396fde31d57f5bcde87f608d1357c468c90d2 | 550 | ccm-android | Apache License 2.0 |
modules/features/common/src/commonMain/kotlin/com/makeevrserg/kmmplayground/presentation/entername/EnterNameComponentImpl.kt | makeevrserg | 583,260,374 | false | {"Kotlin": 105522, "Swift": 18712, "Ruby": 357} | package com.makeevrserg.kmmplayground.presentation.entername
import com.arkivanov.decompose.ComponentContext
import com.arkivanov.mvikotlin.core.store.StoreFactory
import com.arkivanov.mvikotlin.extensions.coroutines.labels
import com.makeevrserg.kmmplayground.data.preferences.LocalPreferencesRepository
import com.mak... | 0 | Kotlin | 0 | 1 | 4a1ff9f6cb52ed49c53d0bf383791e81c0eb8f29 | 1,223 | KMM-Playground | MIT License |
shared/src/commonMain/kotlin/com/uteke/kmm/feature/productlist/ProductListEvent.kt | uteke | 466,413,830 | false | null | package com.uteke.kmm.feature.productlist
import com.uteke.kmm.feature.common.Event
object ProductListEvent : Event | 0 | Kotlin | 0 | 0 | f69e673d1663d22a8cf0ba63cfb56a1ed85b3deb | 117 | kmm-application | Apache License 2.0 |
src/main/kotlin/pers/shawxingkwok/phone/buildClientConfig.kt | ShawxingKwok | 701,684,644 | false | {"Kotlin": 14109} | @file:Suppress("LocalVariableName")
package pers.shawxingkwok.phone
import com.google.devtools.ksp.processing.Dependencies
import com.google.devtools.ksp.symbol.KSClassDeclaration
import com.google.devtools.ksp.symbol.KSFunctionDeclaration
import pers.shawxingkwok.ksputil.*
import pers.shawxingkwok.ktutil.updateIf
i... | 0 | Kotlin | 0 | 0 | 82c9f8a579fe5532fb28d16094c71932c5705eb8 | 3,439 | Phone | Apache License 2.0 |
pleo-antaeus-core/src/main/kotlin/io/pleo/antaeus/core/external/CurrencyProvider.kt | nejcambrozic | 317,925,507 | true | {"Kotlin": 35906, "Shell": 880, "Dockerfile": 249} | package io.pleo.antaeus.core.external
import io.pleo.antaeus.models.Currency
import io.pleo.antaeus.models.Money
interface CurrencyProvider {
/*
Convert provided money to specified currency
Returns:
`Money` in specified currency
Throws:
`NetworkException`: when a net... | 0 | Kotlin | 0 | 0 | c4b726df26e384a8840816d941a15ea6e1988709 | 399 | antaeus | Creative Commons Zero v1.0 Universal |
feature/address/src/test/kotlin/com/niyaj/address/AddressDetailsViewModelTest.kt | skniyajali | 644,752,474 | false | {"Kotlin": 5045629, "Shell": 16584, "Ruby": 1461, "Java": 232} | /*
* Copyright 2024 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... | 42 | Kotlin | 0 | 1 | 2f61c55525c0b4dcb0074e6aaaf76c84281f442c | 3,961 | PoposRoom | Apache License 2.0 |
app/src/main/java/com/mxt/anitrend/data/converter/UserStatisticTypesConverter.kt | AniTrend | 91,993,436 | false | {"Java": 1096630, "Kotlin": 469565, "Ruby": 1085} | package com.mxt.anitrend.data.converter
import com.mxt.anitrend.model.api.retro.WebFactory
import com.mxt.anitrend.model.entity.anilist.user.UserStatisticTypes
import io.objectbox.converter.PropertyConverter
class UserStatisticTypesConverter: PropertyConverter<UserStatisticTypes, String> {
override fun convertTo... | 32 | Java | 26 | 194 | 57aab12703f9e7cceac34e75557fca89247bae7c | 700 | anitrend-app | MIT License |
app/src/main/java/com/bluehub/fastmixer/common/utils/FileManager.kt | codecameo | 331,394,940 | true | {"Kotlin": 100962, "C++": 97824, "CMake": 5175, "C": 2407, "Shell": 1870} | package com.bluehub.fastmixer.common.utils
import android.content.ContentResolver
import android.database.Cursor
import android.net.Uri
import android.provider.OpenableColumns
import java.io.*
import javax.inject.Inject
class FileManager @Inject constructor() {
fun removeFile(filePath: String) {
val file ... | 0 | null | 0 | 0 | 5f9403a61239984ce23b8250159a1e1913beda06 | 1,471 | fast-mixer | MIT License |
plugins/musescore/src/main/kotlin/io/github/rednesto/musicshelf/musescore/Musescore3AppSupport.kt | RedNesto | 188,855,266 | false | {"Gradle": 1, "Gradle Kotlin DSL": 3, "INI": 4, "Shell": 1, "Ignore List": 4, "Batchfile": 1, "Text": 1, "Markdown": 1, "Java": 3, "Kotlin": 55, "XML": 9, "CSS": 1, "YAML": 1} | package io.github.rednesto.musicshelf.musescore
import io.github.rednesto.musicshelf.appSupport.builtin.ExecutableBasedAppSupport
import java.nio.file.Path
import java.util.*
class Musescore3AppSupport : ExecutableBasedAppSupport() {
override val id: String = "musescore3"
override fun getDisplayname(locale:... | 0 | Kotlin | 0 | 0 | a388013108f272e3d7fe8adba02b8e75e057940b | 472 | MusicShelf | MIT License |
app/src/main/java/io/sinzak/android/ui/main/home/more/HomeMoreViewModel.kt | SINZAK | 567,559,091 | false | null | package io.sinzak.android.ui.main.home.more
import dagger.hilt.android.lifecycle.HiltViewModel
import io.sinzak.android.R
import io.sinzak.android.enums.HomeMore.*
import io.sinzak.android.model.market.HomeProductModel
import io.sinzak.android.model.market.ProductDetailModel
import io.sinzak.android.remote.dataclass.p... | 1 | null | 0 | 3 | 3467e8ee8afeb6b91b51f3a454f7010bc717c436 | 1,733 | sinzak-android | MIT License |
kanonic-runtime/src/main/kotlin/io/johnedquinn/kanonic/runtime/parse/KanonicLexer.kt | johnedquinn | 576,195,646 | false | {"Kotlin": 118865} | package io.johnedquinn.kanonic.runtime.parse
import io.johnedquinn.kanonic.runtime.grammar.TokenDefinition
import io.johnedquinn.kanonic.runtime.parse.impl.KanonicLexerDefault
public interface KanonicLexer {
public fun tokenize(input: String): Sequence<TokenLiteral>
public interface Builder {
compani... | 13 | Kotlin | 1 | 5 | 9da9e081aee791aa6ec8c2a7aa1906beadfb72aa | 571 | kanonic | Apache License 2.0 |
app/src/main/java/com/anna/healthyeats/ui/screens/ui/start/StartScreen.kt | AnnaL001 | 683,735,160 | false | {"Kotlin": 118613} | package com.anna.healthyeats.ui.screens.ui.start
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.material3.Surface
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import cafe.adriel.voyager.androidx.AndroidScreen
import cafe.adriel.voyager.navigator.LocalNav... | 0 | Kotlin | 0 | 0 | 86022cd7f963d2c8a09bd2256ebb19433dd3c1de | 921 | healthy-eats | MIT License |
app/src/main/java/com/github/corentinc/notificoin/ui/editSearch/EditSearchFragment.kt | corentin-c | 235,539,306 | false | null | package com.github.corentinc.notificoin.ui.editSearch
import android.content.ClipboardManager
import android.content.Context
import android.os.Bundle
import android.text.Editable
import android.text.InputType
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.view.... | 0 | Kotlin | 0 | 1 | 47ec5cbe754c9cae371546e08d74b43b20644cb0 | 10,551 | notificoin | Apache License 2.0 |
features/home/api/src/main/java/ru/aleshin/features/home/api/domain/entities/schedules/Schedule.kt | v1tzor | 638,022,252 | false | null | /*
* Copyright 2023 Stanislav Aleshin
*
* 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... | 7 | null | 31 | 99 | 0762559e4dabea2971df1573472216f554ab8577 | 1,149 | TimePlanner | Apache License 2.0 |
plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantUnitReturnType/aliasedUnit.kt | JetBrains | 2,489,216 | false | null | typealias MyUnit = Unit
fun test(): <caret>MyUnit {} | 284 | null | 5162 | 16,707 | def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0 | 53 | intellij-community | Apache License 2.0 |
videoeditor/src/main/java/app/allever/android/sample/videoeditor/VideoEditorMainActivity.kt | devallever | 522,186,250 | false | {"Kotlin": 519675, "Java": 281241, "C++": 13880, "CMake": 1635, "C": 664} | package app.allever.android.sample.videoeditor
import app.allever.android.lib.common.BaseActivity
import app.allever.android.lib.core.helper.FragmentHelper
import app.allever.android.lib.mvvm.base.BaseViewModel
import app.allever.android.sample.videoeditor.databinding.ActivityVideoEditorMainBinding
class VideoEditorM... | 1 | Kotlin | 0 | 3 | 9c4250e2a070b1a51e5e67d3735edbe7b38a90fa | 722 | AndroidSampleLibs | Apache License 2.0 |
app/src/main/kotlin/ng/bloodpleasure/data/TemperatureData.kt | xJoeWoo | 129,789,317 | false | null | package ng.bloodpleasure.data
/**
* Created by Ng on 16/04/2018.
*/
data class TemperatureData(
val status: TemperatureStatus,
val unit: TemperatureUnits = TemperatureUnits.CENTIGRADE,
val mode: TemperatureModes = TemperatureModes.BODY,
val value: Int = 0,
val type: DataTypes = DataTypes.TEMPERAT... | 0 | Kotlin | 0 | 0 | 09c04a970dda3c9762e236aec1387ebe56afa437 | 327 | BloodPleasure-Android | Apache License 2.0 |
src/main/kotlin/propagators/Supported.kt | neilgall | 352,798,217 | false | null | package propagators
typealias Premise = String
data class Supported<T>(val value: T, val premises: Set<Premise>)
fun <T : Any> T.supported(vararg premises: Premise): Supported<T> =
Supported(this, premises.toSet())
fun <T> Data<T>.supported(): Data<Supported<T>> = object : Data<Supported<T>> {
override fun ... | 0 | Kotlin | 0 | 2 | 7d230eb90afb3903962d5ab1d18e406c787e572f | 1,766 | kotlin-propagators | MIT License |
src/main/kotlin/it/unibo/mqttclientwrapper/MQTTClientSingleton.kt | aPlacuzzi | 228,820,062 | true | {"Java": 683001, "Kotlin": 142963, "Python": 1569, "Shell": 97, "Batchfile": 95} | package it.unibo.mqttclientwrapper
import com.google.gson.*
import it.unibo.mqttclientwrapper.api.MqttClientBasicApi
import it.unibo.mqttclientwrapper.mock.cast.MqttMockCast
import it.unibo.mqttclientwrapper.mock.serialization.MqttMockSer
import it.unibo.mqttclientwrapper.paho.PahoMqttClient
import java.lang.reflect.T... | 0 | Java | 2 | 0 | 5e52fd2cafdcb2a95c9f34c51bcaa4702faee304 | 5,247 | DingNet | MIT License |
modules/feature/map/src/main/kotlin/kekmech/ru/feature_map/launcher/MapFeatureLauncherImpl.kt | tonykolomeytsev | 203,239,594 | false | null | package kekmech.ru.feature_map.launcher
import kekmech.ru.domain_map.MapFeatureLauncher
import kekmech.ru.feature_map.MapFragment
internal class MapFeatureLauncherImpl(
private val deeplinkDelegate: DeeplinkDelegate
) : MapFeatureLauncher {
override fun launchMain() = MapFragment()
override fun selectPl... | 18 | Kotlin | 4 | 28 | 209f34745458e150136c3cd6acb1fcad2e12ef9c | 493 | mpeiapp | MIT License |
modules/local-kms/src/commonMain/kotlin/com/sphereon/oid/fed/kms/local/jwt/JoseJwt.kt | Sphereon-Opensource | 807,482,994 | false | {"Kotlin": 120472, "Dockerfile": 857} | package com.sphereon.oid.fed.kms.local.jwt
import com.sphereon.oid.fed.openapi.models.JWTHeader
import com.sphereon.oid.fed.openapi.models.Jwk
import kotlinx.serialization.json.JsonObject
expect fun sign(payload: JsonObject, header: JWTHeader, key: Jwk): String
expect fun verify(jwt: String, key: Jwk): Boolean
| 3 | Kotlin | 0 | 4 | d1c63f398bd4adc7656da64f191039f26b23b7fc | 314 | OpenID-Federation | Apache License 2.0 |
plugins/kotlin/idea/tests/testData/intentions/samConversionToAnonymousObject/typeArgument7.kt | ingokegel | 72,937,917 | true | null | // IS_APPLICABLE: false
fun interface I<A> {
fun method(x: A): Int
}
typealias IInA<A> = I<in A>
fun main() {
val x = <caret>IInA<Int> { x -> x }
} | 1 | null | 1 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 157 | intellij-community | Apache License 2.0 |
samples/app/src/main/java/com/niusounds/wdlsample/SineWaveGeneratorDemo.kt | niusounds | 324,617,507 | false | {"C++": 15020, "Kotlin": 11429, "CMake": 434} | package com.niusounds.wdlsample
import android.content.Context
import com.cockos.wdl.SineWaveGenerator
class SineWaveGeneratorDemo(
context: Context,
val volumeGain: Double,
) : AudioDemo(context, useInput = false) {
private var sineWaveGenerator: SineWaveGenerator? = null
override fun init(sampleRat... | 2 | C++ | 0 | 0 | 38cd3012d0106d2a7b9082db01c45182636ec798 | 808 | wdl-android | zlib License |
common/compose-ui-designsystem/src/commonMain/kotlin/dev/sergiobelda/todometer/common/compose/ui/designsystem/components/Divider.kt | serbelga | 301,817,067 | false | null | /*
* Copyright 2021 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... | 10 | Kotlin | 17 | 244 | 40f179fb044cada6bae88b72e906e01842705ab0 | 1,360 | ToDometerKotlinMultiplatform | Apache License 2.0 |
src/main/kotlin/me/zpp0196/mods/config/command/RemoveResourceLocationCommand.kt | zpp0196 | 379,344,623 | false | null | package me.zpp0196.mods.config.command
import com.mojang.brigadier.Command
import com.mojang.brigadier.context.CommandContext
import me.zpp0196.mods.config.StringListConfig
import me.zpp0196.mods.util.command.runWithArgument
import me.zpp0196.mods.util.command.sendConfig
import net.minecraft.command.CommandSource
impo... | 0 | Kotlin | 0 | 0 | 3d9466d04bfca08fb7eafe8a2032dd31282492f5 | 714 | DeathNotify | Apache License 2.0 |
app/src/main/java/com/joshgm3z/composetest/MainActivity.kt | joshuajgomez | 573,242,402 | false | null | @file:OptIn(ExperimentalMaterial3Api::class)
package com.joshgm3z.composetest
import android.os.Bundle
import android.util.Log
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.animation.AnimatedVisibility
import androidx.compose.foundation.clickable
import... | 0 | Kotlin | 0 | 0 | 8396ac4d9aafb057e071f8791ffaf2d21a50a424 | 4,597 | kotlin-compose-demo | Apache License 2.0 |
app/src/main/java/com/peter/azure/data/AzureDatabaseModule.kt | peterdevacc | 649,972,321 | false | {"Kotlin": 302811} | /*
* Copyright (c) 2023 洪振健 All rights reserved.
*/
package com.peter.azure.data
import android.app.Application
import androidx.room.Room
import com.peter.azure.data.dao.NoteDAO
import com.peter.azure.data.dao.PuzzleDAO
import com.peter.azure.data.util.DATABASE_NAME
import dagger.Module
import dagger.Provides
impor... | 0 | Kotlin | 0 | 0 | eee1d8b81b2a5c1c67aad29bf6889211bb53e517 | 1,044 | Azure | Apache License 2.0 |
jdrfandroidbleparser/src/test/java/org/ehealthinnovation/jdrfandroidbleparser/encodedvalue/bgmmeasurement/SensorStatusAnnunciationTest.kt | ehealthinnovation | 144,159,341 | false | {"Kotlin": 123751} | package org.ehealthinnovation.jdrfandroidbleparser.encodedvalue.bgmmeasurement
import junit.framework.Assert
import org.ehealthinnovation.jdrfandroidbleparser.BaseTest
import org.ehealthinnovation.jdrfandroidbleparser.bgm.encodedvalue.bgmmeasurement.SensorStatusAnnunciation
import org.junit.Assert.*
import org.junit.T... | 2 | Kotlin | 0 | 0 | 9a3ba19f22ee8981a9e996747fe668f7780934a8 | 1,271 | JDRFAndroid | MIT License |
app/src/main/java/com/philips/btserver/observations/Observation.kt | philips-labs | 359,543,841 | false | null | /*
* Copyright (c) <NAME>. 2021.
* All rights reserved.
*/
package com.philips.btserver.observations
import com.philips.btserver.extensions.*
import com.philips.btserver.userdataservice.UserDataManager
import com.welie.blessed.BluetoothBytesParser
import timber.log.Timber
import java.util.*
import java.nio.ByteOrde... | 0 | null | 2 | 6 | 271f2aa4b8c8217f64ca173eb322a7132f6c6c71 | 5,458 | BLE-GHS-Server-Simulator | MIT License |
kotlin/src/katas/kotlin/quine/quine3.kts | serpro69 | 336,764,380 | true | {"Roff": 9263219, "JavaScript": 1513061, "Kotlin": 820074, "Scala": 475843, "Java": 475579, "Groovy": 414833, "Haskell": 148306, "HTML": 112989, "Ruby": 87169, "Python": 35433, "Rust": 32693, "C": 31069, "Clojure": 23648, "Lua": 19599, "C#": 12576, "q": 10881, "Scheme": 10734, "CSS": 8639, "R": 7235, "Racket": 6875, "C... | // https://github.com/MakeNowJust/quine/blob/master/quine.kts
val s = """val s = ""%c%s%c""
print(s.format('"',s,'"'))
"""
print(s.format('"',s,'"')) | 0 | null | 0 | 0 | ff190e3e6f587848859a469a7ee84d49fa72f1c4 | 150 | katas | The Unlicense |
yde-impl/src/main/kotlin/io/github/ydwk/yde/impl/builders/slash/SlashInfoSender.kt | YDWK | 527,250,343 | false | {"Kotlin": 1184155} | /*
* Copyright 2024 YDWK 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | 9 | Kotlin | 1 | 1 | bfbebb7f51e651b8103ae185dd8c7cabe72f6043 | 10,061 | YDWK | Apache License 2.0 |
app/src/main/java/me/zama/holdmywidgets/model/coords/CoordsLiveProvider.kt | giacomozama | 490,050,213 | false | null | package me.zama.holdmywidgets.model.coords
import android.location.Location
import kotlinx.coroutines.flow.Flow
interface CoordsLiveProvider {
fun getLiveCoords(): Flow<Result<Location>>
} | 0 | Kotlin | 0 | 0 | 8d237b3ec6cde6113f7c38fc6ee27413e9829619 | 194 | hold-my-widgets | MIT License |
data/src/main/java/com/trian/data/models/dto/Assessment.kt | triandamai | 510,087,041 | false | {"Kotlin": 499465} | package com.trian.data.models.dto
import androidx.annotation.Keep
@Keep
data class Assessment(
var citizenUid:String="",
var tripHistory:String="",
var placeOfTrip:String="",
var isolation:Boolean=false,
var safetyNet:Boolean=false,
var behaviour:Boolean=false,
var condition:String,
va... | 0 | Kotlin | 0 | 0 | 608d28a7800a39ee9ded14c6d85b7e7db770d01a | 367 | pantau-odp-v2 | Apache License 2.0 |
src/main/kotlin/org/gristle/klox/Scanner.kt | nbanman | 596,733,595 | false | null | package org.gristle.klox
class Scanner(private val source: String) {
private val tokens = mutableListOf<Token>()
private var start = 0
private var current = 0
private var line = 1
fun scanTokens(): List<Token> {
while (!isAtEnd()) {
start = current
scanToken()
... | 0 | Kotlin | 0 | 0 | 4273a6a75e614a75e26cce9f1b4a84812bf20fd6 | 4,207 | klox | MIT License |
project-system-gradle-models/src/com/android/tools/idea/gradle/model/impl/IdeDependenciesImpl.kt | JetBrains | 60,701,247 | false | {"Kotlin": 43855938, "Java": 36698280, "HTML": 1216565, "Starlark": 735324, "C++": 216476, "Python": 101594, "C": 71515, "Lex": 66026, "NSIS": 58516, "AIDL": 32502, "Shell": 28591, "CMake": 21034, "JavaScript": 18437, "Batchfile": 7774, "Smali": 7580, "RenderScript": 4411, "Makefile": 2298, "IDL": 269, "QMake": 18} | /*
* Copyright (C) 2020 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 2 | Kotlin | 230 | 876 | 9c0a89784cca3c01ab99cf251b71a26cdb87cc47 | 3,592 | android | Apache License 2.0 |
app/src/main/java/com/live/shaadiassignment/main/viewmodel/MainViewModel.kt | chitransh007s | 418,034,837 | false | {"Kotlin": 53470} | package com.live.shaadiassignment.main.viewmodel
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.live.shaadiassignment.application.BaseApplication
import com.live.shaadiassignment.main.repository.MainRe... | 0 | Kotlin | 0 | 1 | 89782c7f2a2d63242912b85fb512b14af9064567 | 3,054 | shaadi-assignment | Apache License 2.0 |
app/src/main/java/com/example/cryptovista/network/ApiService.kt | FatemehVarmaghani | 820,790,531 | false | {"Kotlin": 31212} | package com.example.cryptovista.network
import com.example.cryptovista.network.model.CoinList
import com.example.cryptovista.network.model.News
import retrofit2.Call
import retrofit2.http.GET
import retrofit2.http.Headers
import retrofit2.http.Query
const val BASE_URL_COIN_GECKO = "https://api.coingecko.com/api/v3/"
... | 0 | Kotlin | 0 | 0 | 133c46144a33e5deab7473d2b8fe8fbc0ef9a759 | 972 | CryptoVista | MIT License |
redirect/src/main/java/com/adyen/checkout/redirect/RedirectDelegate.kt | leandromagnabosco | 533,836,687 | false | null | /*
* Copyright (c) 2022 Adyen N.V.
*
* This file is open source and available under the MIT license. See the LICENSE file for more info.
*
* Created by josephj on 18/8/2022.
*/
package com.adyen.checkout.redirect
import com.adyen.checkout.components.base.ActionDelegate
import com.adyen.checkout.components.base.... | 2 | Kotlin | 0 | 0 | c154e989a08f1dc76cf90f6949878621cbbfa644 | 595 | testsonarcloud | MIT License |
app/src/main/java/com/example/imc2/ResultActivity.kt | GabrielleHalasc | 693,702,011 | false | {"Kotlin": 6421} | package com.example.imc2
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.view.Menu
import android.view.MenuInflater
import android.view.MenuItem
import android.view.View
import android.widget.Button
import android.widget.ImageButton
import android.w... | 0 | Kotlin | 0 | 0 | c40903e57750d9e1e39b0f19ca03a690cbaf5cae | 2,593 | CalculadoraIMC | The Unlicense |
src/main/kotlin/13_Firewall.kt | barta3 | 112,792,199 | false | null | import java.io.BufferedReader
class Firewall(val layers: MutableList<Layer> = mutableListOf<Layer>()) {
var ps = 0
var paketPos = -1
var severity = 0
fun print() {
println("Picosecond: $ps")
layers.forEach(Layer::print)
println()
}
fun stepScanner() {
println... | 0 | Kotlin | 0 | 0 | 51ba74dc7b922ac11f202cece8802d23011f34f1 | 2,400 | AdventOfCode2017 | MIT License |
example/android/app/src/main/kotlin/net/medlinker/flutter_native_boost_example/activity/splash/FirstFlutterActivity.kt | bozaigao | 327,542,052 | false | {"Dart": 248117, "Ruby": 2279, "Objective-C": 731} | package net.medlinker.flutter_native_boost_example.activity.splash
import android.content.Context
import android.os.Build
import android.os.Bundle
import net.medlinker.flutter_native_boost.Container
import net.medlinker.flutter_native_boost.ContainerActivity
import net.medlinker.flutter_native_boost.channels.postNotif... | 1 | Dart | 1 | 1 | cc6b3eb76a1275dbe99491184f3a6afe6989288c | 1,365 | flutter_native_boost | MIT License |
lambda/src/main/typings/iot.module_aws-sdk.kt | kartoffelsup | 252,152,703 | false | null | @file:Suppress("INTERFACE_WITH_SUPERCLASS", "OVERRIDING_FINAL_MEMBER", "RETURN_TYPE_MISMATCH_ON_OVERRIDE", "CONFLICTING_OVERLOADS", "EXTERNAL_DELEGATION")
import kotlin.js.*
import kotlin.js.Json
import org.khronos.webgl.*
import org.w3c.dom.*
import org.w3c.dom.events.*
import org.w3c.dom.parsing.*
import org.w3c.dom... | 0 | Kotlin | 0 | 0 | 6c20e6277ea66e531b4b46017faa10270b25b8bc | 296,862 | kt-js-lambda-cdk-test | Apache License 2.0 |
libs/crypto/crypto-config-impl/src/main/kotlin/net/corda/crypto/config/impl/CryptoSigningServiceConfig.kt | corda | 346,070,752 | false | {"Kotlin": 20585419, "Java": 308202, "Smarty": 115357, "Shell": 54409, "Groovy": 30246, "PowerShell": 6470, "TypeScript": 5826, "Solidity": 2024, "Batchfile": 244} | package net.corda.crypto.config.impl
import net.corda.libs.configuration.SmartConfig
/**
* The signing service configuration.
*/
class CryptoSigningServiceConfig(config: SmartConfig) {
val cache: CacheConfig =
try {
CacheConfig(config.getConfig(CACHING))
} catch (e: Throwable) {
... | 11 | Kotlin | 27 | 69 | d478e119ab288af663910f9a2df42a7a7b9f5bce | 397 | corda-runtime-os | Apache License 2.0 |
android/src/newarch/LocalGenaiSpec.kt | nagaraj-real | 792,918,887 | false | {"Kotlin": 7523, "TypeScript": 4318, "Ruby": 3187, "Objective-C": 2527, "JavaScript": 2122, "Objective-C++": 1417, "C": 103, "Swift": 62} | package com.localgenai
import com.facebook.react.bridge.ReactApplicationContext
abstract class LocalGenaiSpec internal constructor(context: ReactApplicationContext) :
NativeLocalGenaiSpec(context) {
}
| 0 | Kotlin | 0 | 0 | de0d735bde8e02aa2eae2736c212dc038ddc20c0 | 205 | react-native-local-genai | MIT License |
src/main/kotlin/no/nav/syfo/application/exception/ForbiddenAccessSystemConsumer.kt | navikt | 651,411,879 | false | {"Kotlin": 204544, "Dockerfile": 202} | package no.nav.syfo.application.exception
class ForbiddenAccessSystemConsumer(
consumerClientIdAzp: String,
message: String = "Consumer with clientId(azp)=$consumerClientIdAzp is denied access to system API",
) : RuntimeException(message)
| 1 | Kotlin | 1 | 0 | 6a0bfa036cf2200bd2ef3da4f54ba39334fc202c | 248 | istilgangskontroll | MIT License |
iminling-common/src/main/kotlin/com/iminling/common/json/StringSerializer.kt | konghanghang | 340,850,176 | false | null | package com.iminling.common.json
import com.fasterxml.jackson.core.JsonGenerator
import com.fasterxml.jackson.databind.JsonSerializer
import com.fasterxml.jackson.databind.SerializerProvider
/**
* 序列化string
*
* @author <EMAIL>
* @since 2021/11/6
*/
class StringSerializer: JsonSerializer<String>() {
override ... | 0 | Kotlin | 0 | 1 | 9f2cb7d85ad7364ff3aa92bfd5eb15db9b23809a | 448 | base-iminling-core | MIT License |
src/shmp/simulation/culture/group/centers/MemoryCenter.kt | ShMPMat | 212,499,539 | false | null | package shmp.simulation.culture.group.centers
import shmp.random.singleton.chanceOf
import shmp.simulation.CulturesController.session
import shmp.simulation.culture.group.request.RequestPool
import shmp.simulation.space.resource.Resource
import shmp.simulation.space.resource.container.MutableResourcePack
import shmp.s... | 0 | Kotlin | 0 | 0 | 9fc6faafa1dbd9737dac71dc8a77960accdae81f | 2,109 | CulturesSim | MIT License |
features/account/src/main/java/com/ribsky/account/dialog/account/AccountDialog.kt | nexy791 | 607,748,138 | false | {"Kotlin": 777643, "Java": 316} | package com.ribsky.account.dialog.account
import androidx.core.view.isGone
import com.ribsky.account.dialog.base.BaseProfileDialog
import com.ribsky.common.alias.commonDrawable
import com.ribsky.common.utils.chip.ChipBuilder.Companion.createChip
import com.ribsky.common.utils.ext.ViewExt.Companion.formatDays
import co... | 0 | Kotlin | 0 | 17 | a4bb53ce3d9d7275cecd378d7f81f0c7f844c872 | 1,890 | dymka | Apache License 2.0 |
features/account/src/main/java/com/ribsky/account/dialog/account/AccountDialog.kt | nexy791 | 607,748,138 | false | {"Kotlin": 777643, "Java": 316} | package com.ribsky.account.dialog.account
import androidx.core.view.isGone
import com.ribsky.account.dialog.base.BaseProfileDialog
import com.ribsky.common.alias.commonDrawable
import com.ribsky.common.utils.chip.ChipBuilder.Companion.createChip
import com.ribsky.common.utils.ext.ViewExt.Companion.formatDays
import co... | 0 | Kotlin | 0 | 17 | a4bb53ce3d9d7275cecd378d7f81f0c7f844c872 | 1,890 | dymka | Apache License 2.0 |
app/src/main/java/com/clivewatts/pawpawscroll/data/service/ApiDogCeoImpl.kt | clivewatts | 428,837,130 | false | {"Kotlin": 28899} | package com.clivewatts.pawpawscroll.data.service
import retrofit2.Retrofit
fun getDogCeoClient(retrofit: Retrofit): ApiDogCeo {
return retrofit.create(ApiDogCeo::class.java)
} | 0 | Kotlin | 0 | 0 | b81f81b834130328f264bdacec13a86df88ed1f1 | 181 | TheDeltaTechAssignment | MIT License |
app/src/main/java/com/ibnsina/notes/features/login/LoginViewModel.kt | IslamAssem | 377,119,536 | false | {"Gradle": 7, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 5, "Batchfile": 1, "INI": 2, "Proguard": 5, "Kotlin": 79, "XML": 37, "Java": 8} | package com.ibnsina.notes.features.login
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.ibnsina.entites.Resource
import com.ibnsina.entites.login.LoginResponse
import com.ibnsina.usecases.usecases.abstraction.LoginUseCase
import dagger.... | 1 | null | 1 | 1 | 398a87f346813db2e3f5db87bdba655c5dc3536d | 1,306 | Notes-Task | Apache License 2.0 |
src/main/kotlin/com/github/sungminpark/validator/OneOf.kt | sungmin-park | 94,687,256 | false | null | package com.github.sungminpark.validator
import org.apache.commons.beanutils.PropertyUtils
import javax.validation.Constraint
import javax.validation.ConstraintValidator
import javax.validation.ConstraintValidatorContext
import javax.validation.Payload
import kotlin.reflect.KClass
@Suppress("DEPRECATED_JAVA_ANNOTATI... | 0 | Kotlin | 0 | 0 | f32c24370997ec10b81ce663f20a74ddae3cb8c1 | 2,650 | validator.kt | MIT License |
app/src/main/java/com/zipdabang/zipdabang_android/module/my/data/remote/recipewrite/RecipeWriteBeveragesResponse.kt | zipdabang | 666,457,004 | false | {"Kotlin": 2288114} | package com.zipdabang.zipdabang_android.module.my.data.remote.recipewrite
data class RecipeWriteBeveragesResponse(
val code: Int,
val isSuccess: Boolean,
val message: String,
val result: RecipeWriteBeverageResult?
) | 1 | Kotlin | 1 | 2 | 9e1fea5413a52a662dd1ee6ff5c19a07231b287f | 232 | android | MIT License |
app/src/main/java/com/fanrong/frwallet/tools/BaseUrlChangeInterceptor.kt | iamprivatewallet | 464,003,911 | false | {"JavaScript": 2822760, "Kotlin": 1140535, "Java": 953177, "HTML": 17003} | package com.fanrong.frwallet.tools
import okhttp3.Interceptor
import okhttp3.Response
const val HEADER_BASE_URL = "header-base-url"
class BaseUrlChangeInterceptor : Interceptor {
override fun intercept(chain: Interceptor.Chain): Response {
val request = chain.request()
val newBuilder = request.... | 0 | JavaScript | 0 | 1 | be8003e419afbe0429f2eb3fd757866e2e4b9152 | 842 | PrivateWallet.Android | MIT License |
src/main/kotlin/org/jetbrains/plugins/rsocket/psi/RSocketRequestMarkerProvider.kt | servicex-sh | 433,655,998 | false | {"Kotlin": 77305, "HTML": 234} | package org.jetbrains.plugins.rsocket.psi
import com.intellij.codeInsight.daemon.RelatedItemLineMarkerInfo
import com.intellij.psi.PsiAnnotation
import com.intellij.psi.PsiClass
import com.intellij.psi.PsiElement
import org.jetbrains.kotlin.asJava.toLightAnnotation
import org.jetbrains.kotlin.psi.KtAnnotationEntry
imp... | 2 | Kotlin | 2 | 8 | 3da7e0343096f0d8b0b7d76b27f4d9291ee4e9b8 | 2,064 | rsocket-jetbrains-plugin | Apache License 2.0 |
sample/common/src/commonMain/kotlin/com/preat/peekaboo/common/style/Palette.kt | onseok | 721,608,337 | false | {"Kotlin": 114387} | /*
* Copyright 2023 onseok
*
* 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... | 5 | Kotlin | 12 | 99 | 961403aa03c2d0be1f8259debf87aaac699e62b2 | 2,302 | peekaboo | Apache License 2.0 |
aispace-server/src/main/kotlin/com/hexamigos/aispaceserver/action/meeting/Domain.kt | adibahsan | 649,147,030 | false | null | package com.hexamigos.aispaceserver.action.meeting
import com.hexamigos.aispaceserver.action.task.Task
import java.util.UUID
data class Meeting(val id: String = UUID.randomUUID().toString(), val actionItems: ArrayList<Task> = arrayListOf(), val progressItems: ArrayList<Task> = arrayListOf())
data class MeetingDetails... | 1 | Kotlin | 1 | 1 | 3b1315a1a46690e4f96eb3fcc826fb731e3d059c | 423 | ai-space-codefest-2023 | Apache License 2.0 |
src/main/kotlin/org/dropProject/dropProjectPlugin/submissionComponents/UIBuildReport.kt | drop-project-edu | 574,307,850 | false | {"Kotlin": 110823, "Java": 8486} | package org.dropProject.dropProjectPlugin.submissionComponents
import com.intellij.icons.AllIcons
import com.intellij.openapi.actionSystem.AnActionEvent
import com.intellij.openapi.project.DumbAwareAction
import com.intellij.ui.components.JBScrollPane
import com.intellij.ui.dsl.builder.RowLayout
import com.intellij.ui... | 1 | Kotlin | 5 | 2 | 69fec4ec385d2e3df51d132f6e0b6b2f546dcd04 | 7,135 | Drop-Project-for-Intellij-Idea | Apache License 2.0 |
src/main/java/net/ccbluex/liquidbounce/features/module/modules/combat/FightBot.kt | Rmejia39 | 733,988,804 | false | {"Kotlin": 2304965, "Java": 1271227, "GLSL": 13515, "JavaScript": 8926} | /*
* FDPClient Hacked Client
* A free open source mixin-based injection hacked client for Minecraft using Minecraft Forge by LiquidBounce.
* https://github.com/SkidderMC/FDPClient/
*/
package net.ccbluex.liquidbounce.features.module.modules.combat
import net.ccbluex.liquidbounce.FDPClient
import net.ccbluex.liquid... | 3 | Kotlin | 0 | 0 | b48c4e83c888568111a6665037db7fd3f7813ed3 | 22,815 | FDPClient | MIT License |
src/main/java/net/ccbluex/liquidbounce/features/module/modules/combat/FightBot.kt | Rmejia39 | 733,988,804 | false | {"Kotlin": 2304965, "Java": 1271227, "GLSL": 13515, "JavaScript": 8926} | /*
* FDPClient Hacked Client
* A free open source mixin-based injection hacked client for Minecraft using Minecraft Forge by LiquidBounce.
* https://github.com/SkidderMC/FDPClient/
*/
package net.ccbluex.liquidbounce.features.module.modules.combat
import net.ccbluex.liquidbounce.FDPClient
import net.ccbluex.liquid... | 3 | Kotlin | 0 | 0 | b48c4e83c888568111a6665037db7fd3f7813ed3 | 22,815 | FDPClient | MIT License |
app/src/main/java/org/stepik/android/view/course_purchase/delegate/WishlistViewDelegate.kt | StepicOrg | 42,045,161 | false | null | package org.stepik.android.view.course_purchase.delegate
import android.graphics.drawable.AnimationDrawable
import com.google.android.material.button.MaterialButton
import org.stepic.droid.R
import org.stepik.android.presentation.course_purchase.CoursePurchaseFeature.WishlistState
import ru.nobird.android.view.base.ui... | 11 | Kotlin | 56 | 173 | 92bd53922f119f6c5c2d63f91e590d0fc544b08e | 2,044 | stepic-android | Apache License 2.0 |
domain/src/main/java/com/codewithfk/domain/usecase/GetCategoriesUseCase.kt | furqanullah717 | 850,539,879 | false | {"Kotlin": 83465} | package com.codewithfk.domain.usecase
import com.codewithfk.domain.repository.CategoryRepository
class GetCategoriesUseCase (private val repository: CategoryRepository) {
suspend fun execute() = repository.getCategories()
} | 1 | Kotlin | 1 | 8 | f348f9929088dff939ff72600c72cedf704b3463 | 229 | Shopper-compose | Apache License 2.0 |
src/main/kotlin/no/skatteetaten/aurora/gobo/graphql/applicationdeploymentdetails/ImageDetails.kt | Skatteetaten | 135,263,220 | false | {"Kotlin": 729888, "HTML": 1433, "Shell": 426} | package no.skatteetaten.aurora.gobo.graphql.applicationdeploymentdetails
import graphql.schema.DataFetchingEnvironment
import mu.KotlinLogging
import no.skatteetaten.aurora.gobo.graphql.imagerepository.ImageTag
import no.skatteetaten.aurora.gobo.graphql.imagerepository.IsLatestDigestDataLoader
import no.skatteetaten.a... | 0 | Kotlin | 0 | 3 | 9a28e1d711756479696672f139568fdeadb74ac1 | 1,018 | gobo | Apache License 2.0 |
spesialist-selve/src/test/kotlin/no/nav/helse/mediator/meldinger/VedtaksperiodeSkjønnsmessigFastsettelseRiverTest.kt | navikt | 244,907,980 | false | {"Kotlin": 2666577, "PLpgSQL": 29508, "HTML": 1741, "Dockerfile": 195} | package no.nav.helse.mediator.meldinger
import io.mockk.clearMocks
import io.mockk.mockk
import io.mockk.verify
import no.nav.helse.mediator.HendelseMediator
import no.nav.helse.rapids_rivers.testsupport.TestRapid
import org.junit.jupiter.api.BeforeEach
import org.junit.jupiter.api.Test
internal class VedtaksperiodeS... | 9 | Kotlin | 1 | 0 | 1a65e7653f61c00b82fc4ab68b1ce246bbbcaec4 | 1,091 | helse-spesialist | MIT License |
app/src/main/java/com/reactive/trach/beautyphotoapp/widgets/easyrecycleview/WrapAdapter.kt | laitr01 | 204,183,332 | false | null | package com.reactive.trach.beautyphotoapp.widgets.easyrecycleview
import androidx.recyclerview.widget.GridLayoutManager
import androidx.recyclerview.widget.RecyclerView
import androidx.recyclerview.widget.StaggeredGridLayoutManager
import android.util.SparseArray
import android.view.View
import android.view.ViewGroup
... | 0 | Kotlin | 2 | 4 | 5f7ee65249825e7a22549d92888ab8b7d409f00c | 5,112 | photo_app | Apache License 2.0 |
app/src/main/java/com/kylecorry/trail_sense/shared/volume/SystemVolumeAction.kt | kylecorry31 | 215,154,276 | false | {"Kotlin": 2866681, "Python": 25183, "HTML": 18863, "CSS": 5120, "JavaScript": 3814, "Shell": 2762, "Batchfile": 267} | package com.kylecorry.trail_sense.shared.volume
import com.kylecorry.andromeda.fragments.AndromedaFragment
class SystemVolumeAction(fragment: AndromedaFragment): VolumeAction {
override fun onButtonPress(isUpButton: Boolean): Boolean {
return false
}
override fun onButtonRelease(isUpButton: Boole... | 494 | Kotlin | 74 | 1,202 | 05344e0950bcabce4b2da514f6785cfcab3ebf55 | 363 | Trail-Sense | MIT License |
caustic/src/main/java/com/hermes/caustic/models/ChangelogItem.kt | siriuslabseng | 783,454,546 | false | {"Kotlin": 16760} | package com.hermes.caustic.models
data class ChangelogItem(val header: String, val content : String) {
} | 0 | Kotlin | 0 | 0 | 701e75618fbeb2c332f57f6e79b51cccb6e6fc7d | 105 | hermes-android-sdk | MIT License |
app/src/main/java/com/example/newsapp_appcent/ui/NewsDetailActivity.kt | fahricandurucan | 797,776,054 | false | {"Kotlin": 32048} | package com.example.newsapp_appcent.ui
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.view.View
import android.widget.Button
import android.widget.ImageView
import android.widget.TextView
import androidx.lifecycle.ViewModelProvider
import com.bumpt... | 0 | Kotlin | 0 | 0 | 4e0954047dffb8f5fd757f7b8b5ca65b58d0b4b2 | 3,359 | NewsApp-Appcent | Apache License 2.0 |
core/src/main/kotlin/org/hyrical/hcf/provider/tab/TabVersioning.kt | Hyrical | 597,847,737 | false | {"Kotlin": 323471, "Java": 30373} | package org.hyrical.hcf.provider.tab
import org.hyrical.hcf.provider.nametag.packet.NametagPacket
import org.hyrical.hcf.provider.nametag.packet.type.NametagPacketV1_16_R3
import org.hyrical.hcf.provider.nametag.packet.type.NametagPacketV1_7_R4
import org.hyrical.hcf.provider.nametag.packet.type.NametagPacketV1_8_R3
i... | 13 | Kotlin | 0 | 3 | d87cb8fa1ed7dfc3390ceead103cd63231b38758 | 930 | HCF | MIT License |
cupertino/src/commonMain/kotlin/io/github/alexzhirkevich/cupertino/icons/outlined/Paperplane.kt | alexzhirkevich | 636,411,288 | false | {"Kotlin": 4456601, "Ruby": 2310, "Swift": 2101, "Shell": 856, "HTML": 762} | package io.github.alexzhirkevich.cupertino.icons.outlined
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.StrokeJo... | 1 | Kotlin | 14 | 362 | 60fd9234eb9f2df97bc8523ea2ed344ad7f58655 | 3,064 | compose-cupertino | Apache License 2.0 |
src/main/kotlin/com/rhseung/abstractlib/registration/example/ModBlocks.kt | minecraft-stuffs | 614,318,005 | false | null | //package com.rhseung.abstractlib.registration.example
//
//import com.rhseung.abstractlib.Mod
//import com.rhseung.abstractlib.api.annotation.en_us
//import com.rhseung.abstractlib.api.annotation.ko_kr
//import com.rhseung.abstractlib.api.file.path.Location.Companion.of
//import com.rhseung.abstractlib.registration.IM... | 0 | Kotlin | 0 | 0 | 60cb72b9cd0da11232bf9032bdb65ed9218dbbe0 | 815 | AbstractLib | Creative Commons Zero v1.0 Universal |
core/domain/src/main/java/com/eshc/goonersapp/core/domain/model/match/MatchUpcoming.kt | eshc123 | 640,451,475 | false | {"Kotlin": 367345} | package com.eshc.goonersapp.core.domain.model.match
data class MatchUpcoming(
val matchId: Int,
val homeTeamId: Int,
val homeTeamNickname: String,
val homeTeamName: String,
val homeTeamImageUrl: String,
val awayTeamId: Int,
val awayTeamNickname: String,
val awayTeamName: String,
val... | 1 | Kotlin | 1 | 1 | c087511cf2485474ed953b8320619cc6ea0bb38f | 441 | GoonersApp | Apache License 2.0 |
spring-data/jpa/src/test/kotlin/io/github/debop/springdata/jpa/mapping/inheritance/joined/Models.kt | debop | 187,949,869 | false | null | package io.github.debop.springdata.jpa.mapping.inheritance.joined
import org.hibernate.annotations.DynamicInsert
import org.hibernate.annotations.DynamicUpdate
import java.io.Serializable
import javax.persistence.CascadeType.ALL
import javax.persistence.Column
import javax.persistence.Entity
import javax.persistence.F... | 1 | Kotlin | 4 | 24 | b9d1eb5309c6f9eab82dec676bfe6962428f36ce | 2,223 | kotlin-workshop | MIT License |
conditions/src/main/java/me/y9san9/prizebot/conditions/RawConditionsClient.kt | y9san9 | 337,414,979 | false | null | package me.y9san9.prizebot.conditions
class RawConditionsClient(
private val engine: SynchronizerEngine
) {
suspend fun check(
discriminator: Any,
conditions: List<Condition>,
firstHandler: suspend (Result) -> Unit
): Result = engine.execute(discriminator) {
val invalidCondi... | 14 | Kotlin | 13 | 51 | 74fbd7e83ea8a1083a0b0f72ae79c62e95d7a421 | 759 | prizebot | MIT License |
axon-micro-traking-not-worked/am-0-monolith/src/main/java/daggerok/app/backend/queries.kt | daggerok | 121,061,590 | false | null | package daggerok.app.backend
import javax.persistence.Entity
import javax.persistence.Id
data class DataQuery(val offset: Int, val limit: Int)
class SizeQuery
@Entity
data class CardSummary(@Id var id: String? = null,
var initialBalance: Int? = 0,
var remainingBalance: I... | 1 | null | 1 | 2 | e4504a6584a70e75a1d17ba61f240445288c88b1 | 329 | axon-examples | MIT License |
example/android/app/src/main/kotlin/com/situm/situm_flutter_example/MainActivity.kt | situmtech | 539,957,448 | false | {"Dart": 136106, "Objective-C": 30234, "Kotlin": 25079, "Ruby": 4595, "HTML": 3114, "Swift": 418, "C": 103} | package com.situm.flutterWayfindingPlugin
import io.flutter.embedding.android.FlutterFragmentActivity
class MainActivity : FlutterFragmentActivity()
| 3 | Dart | 2 | 10 | 4d13b1e6ec116d53e46aee93f6ca486cb98d9ac3 | 151 | flutter | MIT License |
colorpicker/src/main/kotlin/com/github/dhaval2404/colorpicker/ColorPickerDialog.kt | ankitkanojia | 235,528,603 | true | {"Kotlin": 56398} | package com.github.dhaval2404.colorpicker
import android.content.Context
import android.graphics.Color
import android.view.LayoutInflater
import android.view.View
import androidx.annotation.ColorRes
import androidx.annotation.StringRes
import androidx.appcompat.app.AlertDialog
import androidx.core.content.ContextCompa... | 1 | null | 0 | 2 | aaac526db9bd7f67c303624b8b37f558feb64a6a | 7,700 | ColorPicker | Apache License 2.0 |
app/src/main/java/com/D121201005/todoapp/fragments/SharedViewModel.kt | AbdulMalikShodiqin30 | 575,335,870 | false | null | package com.D121201005.todoapp.fragments
import android.app.Application
import android.view.View
import android.widget.AdapterView
import android.widget.TextView
import androidx.core.content.ContextCompat
import androidx.lifecycle.AndroidViewModel
import androidx.lifecycle.MutableLiveData
import com.D121201005.todoapp... | 0 | Kotlin | 0 | 0 | e6c6daf6d7bcd34f36571674b8bebb361d282671 | 1,965 | TaskManagement_App | MIT License |
PADCX_HealthCareApp_NCT/shared/src/main/java/com/padcx/shared/data/vos/PatientVO.kt | NayChiThin | 316,665,297 | false | null | package com.padcx.shared.data.vos
import androidx.room.Entity
import androidx.room.PrimaryKey
import androidx.room.TypeConverters
import com.padcx.shared.persistence.typeconverters.AddressVOListTypeConverter
import com.padcx.shared.persistence.typeconverters.DoctorVOListTypeConverter
import com.padcx.shared.persistenc... | 0 | Kotlin | 0 | 0 | 80f24209ef34e56a6db6bfef72d115c7125dc4d8 | 1,049 | PADCX_HealthCareApp_NCT | Apache License 2.0 |
platform/basic/http/src/main/java/com/android/http/transformer/DataTransformer.kt | jiangshide | 616,271,255 | false | {"Java": 4171434, "Kotlin": 1105103, "JavaScript": 488530, "GLSL": 56985, "CSS": 55950, "HTML": 21686, "C": 5386, "CMake": 2145, "C++": 266} | package com.android.http.transformer
import com.android.http.vm.data.RespData
import com.android.utils.LogUtil
import io.reactivex.Observable
import io.reactivex.ObservableSource
import io.reactivex.ObservableTransformer
/**
* created by jiangshide on 2019-07-31.
* email:<EMAIL>
*/
class DataTransformer<T : RespDa... | 1 | null | 1 | 1 | 7940a6f8a0bb0bc0fa20df299f6d4c09ee12f2ee | 607 | lovelife | Apache License 2.0 |
chats/src/main/java/com/cyberland/messenger/chats/provider/ChatModuleImp.kt | Era-CyberLabs | 576,196,269 | false | {"Java": 6276144, "Kotlin": 5427066, "HTML": 92928, "C": 30870, "Groovy": 12495, "C++": 6551, "CMake": 2728, "Python": 1600, "AIDL": 1267, "Makefile": 472} | package com.bcm.messenger.chats.provider
import android.annotation.SuppressLint
import android.content.Context
import android.content.Intent
import androidx.fragment.app.FragmentActivity
import com.bcm.messenger.chats.R
import com.bcm.messenger.chats.clean.CleanConversationStorageLogic
import com.bcm.messenger.chats.c... | 1 | null | 1 | 1 | 65a11e5f009394897ddc08f4252969458454d052 | 18,763 | cyberland-android | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.