path stringlengths 4 280 | owner stringlengths 2 39 | repo_id int64 21.1k 879M | is_fork bool 2
classes | languages_distribution stringlengths 13 1.95k ⌀ | content stringlengths 7 482k | issues int64 0 13.9k | main_language stringclasses 121
values | forks stringlengths 1 5 | stars int64 0 111k | commit_sha stringlengths 40 40 | size int64 7 482k | name stringlengths 1 100 | license stringclasses 93
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
app/src/main/java/com/academy/android/ui/profile/EditProfileFragment.kt | Android-Academy-Global | 348,259,297 | false | null | package com.academy.android.ui.profile
import android.content.ContentValues
import android.content.Intent
import android.net.Uri
import android.os.Bundle
import android.provider.MediaStore
import android.text.TextUtils
import android.util.Patterns
import android.view.View
import android.view.animation.AnimationUtils
... | 4 | Kotlin | 1 | 8 | 868d531663ab00868ff2ff8b4e8b6dadbafc32f3 | 7,230 | AndroidAcademyClient | Apache License 2.0 |
urbanairship-feature-flag/src/main/java/com/urbanairship/featureflag/FeatureFlagRemoteDataAccess.kt | urbanairship | 58,972,818 | false | {"Kotlin": 3266979, "Java": 2582150, "Python": 10137, "Shell": 589} | package com.urbanairship.featureflag
import com.urbanairship.remotedata.RemoteData
import com.urbanairship.remotedata.RemoteDataInfo
import com.urbanairship.remotedata.RemoteDataSource
import com.urbanairship.util.Clock
import java.util.concurrent.TimeUnit
internal class FeatureFlagRemoteDataAccess(
private val r... | 2 | Kotlin | 122 | 111 | 21d49c3ffd373e3ba6b51a706a4839ab3713db11 | 1,861 | android-library | Apache License 2.0 |
backend/src/main/kotlin/cz/loono/backend/notification/NotificationResponse.kt | Loono-cz | 477,695,315 | false | {"Kotlin": 365812, "HCL": 12018, "Dockerfile": 382} | package cz.loono.backend.notification
data class NotificationResponse(
val id: String,
val recipients: Int,
val externalId: String?
)
| 8 | Kotlin | 2 | 2 | e9512da8ccee2ef56300f0f9b27d007606c6e45a | 147 | loono-be | MIT License |
lib/src/main/java/com/marcinmoskala/arcseekbar/ArcSeekBarData.kt | JacquesSmuts | 215,752,284 | true | {"Kotlin": 14418, "Java": 1073} | package com.marcinmoskala.arcseekbar
import android.graphics.RectF
internal data class ArcSeekBarData(
val dx: Float,
val dy: Float,
val width: Float,
val height: Float,
val progress: Int,
val maxProgress: Int
) {
private val pi = Math.PI.toFloat()
private val z... | 0 | Kotlin | 0 | 0 | 4dcfb99deeea6a96406ba9c200f24d7bb8143d2e | 4,030 | ArcSeekBar | Apache License 2.0 |
core/src/main/java/org/fnives/test/showcase/core/session/SessionExpirationListener.kt | fknives | 356,982,481 | false | null | package org.fnives.test.showcase.core.session
interface SessionExpirationListener {
fun onSessionExpired()
}
| 9 | Kotlin | 2 | 5 | 5bf503d90e8a13daf5626afc0cdf8bff523d2b94 | 114 | AndroidTest-ShowCase | Apache License 2.0 |
device/src/main/java/org/watsi/device/db/models/MemberWithThumbnailPhotoModel.kt | Meso-Health | 227,514,539 | false | null | package org.watsi.device.db.models
import android.arch.persistence.room.Embedded
import android.arch.persistence.room.Relation
import org.watsi.domain.relations.MemberWithThumbnail
data class MemberWithThumbnailPhotoModel(
@Embedded var memberModel: MemberModel? = null,
@Relation(parentColumn = "thumbnailPhot... | 2 | null | 3 | 6 | 6e1da182073088f28230fe60a2e09d6f38aab957 | 748 | meso-clinic | Apache License 2.0 |
src/main/kotlin/com/github/demicod/theoldreader/api/StatusApi.kt | demicod | 143,927,260 | false | null | package com.github.demicod.theoldreader.api
import com.github.demicod.theoldreader.Config
import com.github.demicod.theoldreader.model.Status
const val STATUS_URI = "$BASE_API_URI/status"
class StatusApi(config: Config) : BaseApi(config) {
fun status(): Status? {
return doGet(STATUS_URI)
}
}
| 0 | Kotlin | 0 | 0 | 7baf031f300ca7c0ecd37b2eb3d7780bf231819f | 301 | theoldreader | MIT License |
lib-core/src/main/java/com/hyh/permissions/ui/KtPermissionsActivity.kt | EricHyh | 272,937,810 | false | null | package com.hyh.permissions.ui
import android.app.Activity
import android.content.Context
import android.content.Intent
import android.os.Bundle
/**
* @description
*
* @author Administrator
* @data 2020/6/17
*/
class KtPermissionsActivity : Activity() {
companion object {
fun start(context: Context... | 0 | Kotlin | 0 | 0 | 60c15eeb1f3d232b732dc7b2a0293b475e346608 | 626 | KtPermissions | Apache License 2.0 |
compiler/testData/serialization/klib/delegationToInterfaceWithDeprecation_main.kt | JetBrains | 3,432,266 | false | {"Kotlin": 79571273, "Java": 6776465, "Swift": 4063829, "C": 2609744, "C++": 1957654, "Objective-C++": 175279, "JavaScript": 130754, "Python": 59855, "Shell": 34920, "Objective-C": 21463, "Lex": 21452, "Batchfile": 11382, "CSS": 11368, "Ruby": 10470, "Dockerfile": 9907, "Groovy": 7092, "EJS": 5241, "CMake": 4473, "HTML... | package test
class Other(val s: Some) : Some by s
| 181 | Kotlin | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 51 | kotlin | Apache License 2.0 |
.legacy/app/src/main/java/com/makentoshe/booruchan/screen/samples/model/DownloadedData.kt | Makentoshe | 147,361,920 | false | null | package com.makentoshe.booruchan.screen.samples.model
data class DownloadedData(
val byteArray: ByteArray,
val title: String,
val extension: String,
val booruTitle: String
) {
override fun equals(other: Any?): Boolean {
if (this === other) return true
if (javaClass != other?.javaCla... | 0 | Kotlin | 1 | 6 | d0f40fb8011967e212df1f21beb43e4c4ec03356 | 892 | Booruchan | Apache License 2.0 |
ksmt-core/src/main/kotlin/org/ksmt/utils/ContextUtils.kt | UnitTestBot | 501,947,851 | false | null | package org.ksmt.utils
import org.ksmt.expr.KApp
import org.ksmt.expr.KExpr
import org.ksmt.sort.KSort
import kotlin.reflect.KProperty
fun <T : KSort> T.mkConst(name: String): KApp<T, *> = ctx.mkConst(name, this)
fun <T : KSort> T.mkFreshConst(name: String): KApp<T, *> = ctx.mkFreshConst(name, this)
inline operator... | 5 | Kotlin | 8 | 14 | 250b14eb44cf9245ecf697aba71d60f2fe343ec4 | 787 | ksmt | Apache License 2.0 |
GrabIdPartnerSDK/src/test/java/com/grab/partner/sdk/StubAndroidKeyStoreWrapper.kt | grab | 157,938,313 | false | {"Gradle": 9, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 5, "Batchfile": 1, "Markdown": 1, "Proguard": 4, "XML": 46, "Kotlin": 83, "Java": 3} | /*
* Copyright (c) Grab Taxi Holdings PTE LTD (GRAB)
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/
package com.grab.partner.sdk
import com.grab.partner.sdk.keystore.IAndroidKeyStoreWrapper
import java.security.KeyPair
class St... | 1 | Kotlin | 7 | 22 | cf4d95a8f2a1b553799c950b411d673d139a757e | 682 | grabplatform-sdk-android | MIT License |
app/src/main/java/com/okay/myapplication/utils/SPUtils.kt | freshFoot | 208,938,562 | false | null | package com.okay.myapplication.utils
import android.content.Context
/**
* Create by zyl
*
* @date 2019-09-18
*/
object SPUtils {
/**
* 存储数据
*/
fun put(context: Context, spName: String? = "spUtils", key: String, value: String) {
val sp = context.getSharedPreferences(spName, Context.MODE_... | 0 | Kotlin | 0 | 0 | 58c022c500feb86f7bdd4f1f7082b4cbf90d270a | 593 | MyApp | Apache License 2.0 |
klinechart/src/main/java/com/liihuu/klinechart/model/MacdModel.kt | liihuu | 163,390,765 | false | null | package com.liihuu.klinechart.model
import android.os.Parcelable
import kotlinx.android.parcel.Parcelize
/**
* @Author lihu <EMAIL>
* @Date 2019/1/8-16:35
*/
@Parcelize
data class MacdModel(
val diff: Double?,
val dea: Double?,
val macd: Double?
): Parcelable | 5 | Kotlin | 13 | 60 | 67625eda0b9709078e007d713c2de26f29e03184 | 276 | KLineChartAndroid | MIT License |
features/home/src/androidTest/java/com/fappslab/rickandmortygraphql/features/home/navigation/HomeNavigationImplTest.kt | F4bioo | 628,097,763 | false | null | package com.fappslab.rickandmortygraphql.features.home.navigation
import androidx.fragment.app.testing.launchFragment
import androidx.test.ext.junit.runners.AndroidJUnit4
import com.fappslab.rickandmortygraphql.features.home.presentation.HomeFragment
import com.fappslab.rickandmortygraphql.features.home.presentation.v... | 0 | Kotlin | 0 | 0 | d3e0405eae2038ea13c352daa8bc976da85914a4 | 1,817 | faurecia-aptoide-challenge | MIT License |
app/src/main/java/io/github/jixiaoyong/muggle/api/bean/UpdateFileResopne.kt | jixiaoyong | 182,269,717 | false | {"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 2, "YAML": 1, "Proguard": 1, "Java": 25, "XML": 60, "Kotlin": 28, "HTML": 4, "JavaScript": 1, "CSS": 1} | package io.github.jixiaoyong.muggle.api.bean
import com.google.gson.annotations.SerializedName
data class Commit(@SerializedName("committer")
val committer: Committer,
@SerializedName("author")
val author: Author,
@SerializedName("html_url")
... | 1 | null | 1 | 1 | 55ddb2e521cdfc0a985fb11475df24da561eec35 | 2,734 | Muggle | MIT License |
plugins/evaluation-plugin/core/src/com/intellij/cce/workspace/filter/NamedFilter.kt | JetBrains | 2,489,216 | false | null | package com.intellij.cce.workspace.filter
interface NamedFilter {
val name: String
} | 233 | null | 4912 | 15,461 | 9fdd68f908db0b6bb6e08dc33fafb26e2e4712af | 87 | intellij-community | Apache License 2.0 |
lirary/src/main/java/com/fz/badgeview/DragBadgeView.kt | peihua8858 | 442,321,759 | false | null | package com.fz.badgeview
import android.animation.Animator
import android.animation.AnimatorListenerAdapter
import android.animation.ValueAnimator
import android.content.Context
import android.graphics.*
import android.view.Gravity
import android.view.MotionEvent
import android.view.View
import android.view.WindowMana... | 0 | Kotlin | 1 | 1 | 6150157e8bf1025c726e75f8ba2188c575a09551 | 15,236 | BadgeView | Apache License 2.0 |
app/src/main/java/com/cesarwillymc/culqui/ui/validations/field/EmailField.kt | cesarwillymc | 702,712,147 | false | {"Kotlin": 100901} | package com.cesarwillymc.culqui.ui.validations.field
import com.cesarwillymc.culqui.ui.validations.TextFieldState
import com.cesarwillymc.culqui.ui.validations.common.CommonRules
/**
* Created by cesarwillymamanicanaza on 28/07/22.
* <EMAIL>
*
* Lima, Peru.
*/
class EmailField : TextFieldState(
validations =... | 0 | Kotlin | 0 | 0 | 4c78a8c8855369baf783579f178429076eb6b573 | 381 | Culqui | Apache License 2.0 |
lib/src/main/kotlin/the/guardian/api/client/GuardianApi.kt | niyiomotoso | 661,424,608 | false | null | package the.guardian.api.client
import the.guardian.api.config.UrlMap
import the.guardian.api.entity.SingleItem
import the.guardian.api.entity.Sections
import the.guardian.api.entity.Content
import the.guardian.api.entity.Editions
import the.guardian.api.entity.Tags
/**
*
*/
class GuardianApi(_apiKey: String) {
... | 0 | Kotlin | 0 | 1 | 1e7ad9bc7ecb2127df33be4ce235a53fdb46a345 | 1,792 | the-guardian-api-kotlin-client | Apache License 2.0 |
lib/src/main/java/boxresin/android/camera/CameraView.kt | BoxResin | 136,611,560 | false | {"Kotlin": 3098} | package boxresin.android.camera
import android.Manifest
import android.content.Context
import android.hardware.Camera
import android.util.AttributeSet
import android.view.Surface
import android.view.SurfaceHolder
import android.view.SurfaceView
import android.view.WindowManager
/**
* # 카메라 뷰
*
* @author <NAME>
*... | 4 | Kotlin | 0 | 0 | 5550c4d5120e319a9d7ac936535b2216e0a8ac03 | 2,479 | AndroidCameraHelper | MIT License |
unique-sdk/src/jvmMain/kotlin/network/unique/service/BalanceService.kt | UniqueNetwork | 555,353,838 | false | {"Kotlin": 1102840, "Rust": 7782, "Java": 2916} | package network.unique.service
import network.unique.model.AllBalancesResponse
import network.unique.model.TransferBody
import network.unique.model.TransferMutationDefaultResponse
import network.unique.model.TransferMutationRequest
interface BalanceService {
fun getBalance(address: String): AllBalancesResponse
... | 0 | Kotlin | 0 | 3 | 0f5afacd0cb7b7411bc78307f3a22c8d02a14e69 | 419 | unique-sdk-kotlin | MIT License |
src/commonMain/kotlin/io/paoloconte/itsok/Result.kt | PaoloConte | 780,338,128 | false | {"Kotlin": 6042} |
package io.paoloconte.itsok
sealed interface Result<out T, out E> {
interface Ok<out T>: Result<T, Nothing> {
val value: T
}
interface Error<out E>: Result<Nothing, E> {
val error: E
}
}
| 0 | Kotlin | 0 | 0 | ad826d1bc14535fe5bc5366382d73357bd3b9632 | 225 | kotlin-itsok | MIT License |
serenity-ensure/src/main/kotlin/net/serenitybdd/screenplay/ensure/BooleanEnsure.kt | jonfreedman | 204,699,877 | false | {"Gradle": 27, "Java Properties": 19, "INI": 25, "Markdown": 41, "Shell": 23, "Ignore List": 5, "Batchfile": 21, "Groovy": 293, "Git Attributes": 1, "Text": 90, "XML": 173, "HTML": 1193, "JSON": 562, "CSS": 265, "JavaScript": 465, "Gherkin": 71, "SCSS": 79, "SVG": 16, "Less": 74, "Kotlin": 98, "Fluent": 34, "Java": 195... | package net.serenitybdd.screenplay.ensure
import net.serenitybdd.screenplay.Actor
class BooleanEnsure(override val value: KnowableValue<Boolean?>) : CommonEnsure<Boolean?, Boolean>(value) {
constructor(value: Boolean?) : this(KnownValue(value, value.toString()))
fun isTrue() = PerformablePredicate<KnowableV... | 1 | null | 1 | 1 | cfd0966c031db9cad9a9c57ce0ddf51296ae8ece | 1,305 | serenity-core | Apache License 2.0 |
src/main/kotlin/com/jacobtread/relay/http/data/APIAuth.kt | PocketRelay | 487,178,327 | false | null | package com.jacobtread.relay.http.data
import kotlinx.serialization.Serializable
@Serializable
data class AuthRequest(
val username: String,
val password: String
)
@Serializable
data class AuthResponse(
val success: Boolean,
val token: String
)
@Serializable
data class CheckTokenRequest(
val tok... | 0 | Kotlin | 1 | 2 | 7d2d16d18c73890986819940b7d59ceeb845fa03 | 332 | ServerKotlin | MIT License |
actions/src/main/kotlin/com/github/pgreze/Action.kt | pgreze | 270,670,346 | false | null | package com.github.pgreze
import com.github.ajalt.clikt.core.CliktCommand
import com.github.ajalt.clikt.core.NoOpCliktCommand
import com.github.ajalt.clikt.core.subcommands
import com.github.ajalt.clikt.parameters.options.flag
import com.github.ajalt.clikt.parameters.options.option
import kotlin.math.max
fun actions(... | 0 | Kotlin | 0 | 1 | 66c59eff060b5312543c1cc90128227c70aa9d86 | 4,274 | actions | Apache License 2.0 |
data/src/main/java/com/jlmari/android/basepokedex/data/datasources/NetworkDataSource.kt | jlmari | 561,303,847 | false | {"Kotlin": 127493} | package com.jlmari.android.basepokedex.data.datasources
import com.jlmari.android.basepokedex.domain.models.ErrorModel
import com.jlmari.android.basepokedex.domain.models.PokemonDetailModel
import com.jlmari.android.basepokedex.domain.models.PokemonModel
import com.jlmari.android.basepokedex.domain.utils.Response
int... | 0 | Kotlin | 0 | 0 | 3dcb577c0bf011e30c5769c21202aa6d98e94f8f | 530 | BasePokedex | Apache License 2.0 |
app/src/main/java/com/finalweek10/permission/data/model/Config.kt | DeweyReed | 144,125,958 | false | null | @file:Suppress("MemberVisibilityCanBePrivate")
package com.finalweek10.permission.data.model
/**
* Created on 2017/10/13.
*/
class ShowConfig private constructor(
val normal: Boolean,
val system: Boolean,
val disabled: Boolean) {
fun toIndices(): Array<Int> {
val list = arrayLi... | 2 | Kotlin | 2 | 9 | 029e23135e4f67f4697fe6c6b7546b75f2fa662c | 1,272 | PermissionLibrary | MIT License |
app/src/main/java/com/leperlier/quinquis/lentz/imdb/ui/serieList/SerieListViewModel.kt | RomainLENTZ | 773,319,710 | false | {"Kotlin": 119708} | package com.leperlier.quinquis.lentz.imdb.ui.serieList
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.leperlier.quinquis.lentz.imdb.data.Category
import com.leperlier.quinquis.lentz.imdb.data.Movie
imp... | 0 | Kotlin | 0 | 0 | 674e161a282db8794a306806779fd18b0099380b | 1,965 | mini-projet-group_quinquis_leperlier_lentz | Apache License 2.0 |
GaiaXAndroidJS/src/main/kotlin/com/alibaba/gaiax/js/support/GaiaXModuleGroup.kt | alibaba | 456,772,654 | false | {"C": 3164040, "Kotlin": 1554812, "Rust": 1390378, "Objective-C": 919399, "Java": 650270, "JavaScript": 260489, "TypeScript": 230784, "C++": 223843, "CSS": 153571, "HTML": 113541, "MDX": 86833, "Objective-C++": 60116, "Swift": 25131, "Makefile": 12210, "Shell": 9836, "Ruby": 6268, "CMake": 4674, "Batchfile": 3823, "SCS... | package com.alibaba.gaiax.js.support
import com.alibaba.fastjson.JSONArray
internal class GaiaXModuleGroup private constructor(val name: String) {
companion object {
fun create(moduleName: String): GaiaXModuleGroup {
return GaiaXModuleGroup(moduleName)
}
}
val modules: Mutab... | 23 | C | 118 | 945 | 81875d09f2bddd307a6203e58ff2f6f13bec9418 | 1,900 | GaiaX | Apache License 2.0 |
src/main/kotlin/ru/sokomishalov/jackson/dataformat/soap/SoapJaxbAnnotationIntrospector.kt | sokomishalov | 363,089,614 | false | null | /*
* Copyright (c) 2021-present <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 ag... | 6 | Kotlin | 0 | 2 | 078a6be50493abb0e8f290e80d36875496ca241e | 2,793 | jackson-dataformat-soap | Apache License 2.0 |
app/src/main/java/com/strawhat/looker/ui/main/MainViewModel.kt | MohamedRejeb | 563,463,625 | false | {"Kotlin": 211194} | package com.strawhat.looker.ui.main
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.google.android.gms.maps.model.LatLng
import com.strawhat.looker.location.domain.use_case.ClearRequestLocationUseCase
import com.strawhat.looker.location.domain.use_case.RequestLocationFlowUseCase... | 0 | Kotlin | 0 | 2 | 4e796e5b7ac0a18bad0be70b80e3d4cc8a550805 | 1,457 | looker-app | Apache License 2.0 |
android/src/main/kotlin/com/absolutions/security_plus/SecurityPlusPlugin.kt | abdelrahmanbonna | 657,309,896 | false | {"Kotlin": 9331, "Dart": 7278, "Swift": 2590, "Ruby": 2248, "Objective-C": 38} | package com.absolutions.security_plus
import android.content.Context
import android.content.pm.ApplicationInfo
import android.content.pm.PackageInfo
import android.content.pm.PackageManager
import android.os.Build
import com.scottyab.rootbeer.RootBeer
import io.flutter.embedding.engine.plugins.FlutterPlugin
import io... | 1 | Kotlin | 0 | 3 | be87f8eafcf8ed16e4883f43272c453f1c58129f | 3,869 | security_plus | The Unlicense |
glplayer/src/main/java/top/gochiusa/glplayer/mediacodec/CodecRendererFactory.kt | usagisang | 509,750,952 | false | {"Kotlin": 107792, "GLSL": 600} | package top.gochiusa.glplayer.mediacodec
import android.os.Handler
import top.gochiusa.glplayer.base.Renderer
import top.gochiusa.glplayer.base.RendererFactory
import top.gochiusa.glplayer.listener.VideoFrameListener
import top.gochiusa.glplayer.listener.VideoMetadataListener
class CodecRendererFactory: RendererFacto... | 1 | Kotlin | 0 | 3 | 269cb9305a78b819dfcf91e8b96ed7f201a7d9d9 | 756 | GLPlayer | MIT License |
feature-list-streams/src/main/java/com/codandotv/streamplayerapp/feature_list_streams/search/domain/mapper/SearchMapper.kt | CodandoTV | 622,602,133 | false | {"Kotlin": 217374, "Ruby": 542} | package com.codandotv.streamplayerapp.feature_list_streams.search.domain.mapper
import com.codandotv.streamplayerapp.core_networking.Url
import com.codandotv.streamplayerapp.feature_list_streams.search.data.model.ListSearchStreamResponse.SearchStreamResponse
import com.codandotv.streamplayerapp.feature_list_streams.se... | 7 | Kotlin | 16 | 52 | 21f0982eb0009675bdf3f9879944da86370e10d0 | 530 | StreamPlayerApp | Apache License 2.0 |
src/guiclient/swing/SwingRendererFactory.kt | YaroslavGamayunov | 249,160,194 | false | null | package guiclient.swing
import guiclient.*
import java.io.File
import javax.imageio.ImageIO
class SwingRendererFactory : IRendererFactory<SwingRenderingContext> {
override fun getSpriteRenderer(visualObject : Sprite<SwingRenderingContext>, assetName : String) : IVisualObjectRenderer<SwingRenderingContext> {
... | 0 | Kotlin | 0 | 0 | 49d185720123b7636c67cb52adb484deba059d33 | 954 | tank-game | MIT License |
zxcvbn/src/commonMain/kotlin/com/deathsdoor/zxcvbn/PasswordStarkChecker.kt | Deaths-Door | 616,627,886 | false | null | package com.deathsdoor.zxcvbn
import com.deathsdoor.ktor_request_utils.Endpoint
import com.deathsdoor.ktor_request_utils.RequestHandlerWrapper
import com.deathsdoor.ktor_request_utils.RequestParameter
import com.deathsdoor.ktor_request_utils.httpClientEngine
import io.ktor.client.*
import io.ktor.client.plugins.*
impo... | 0 | Kotlin | 0 | 0 | a85bb1076fe453f8bf7087d82cc37a03f7702f45 | 1,170 | Galaxy-API-Collection | Apache License 2.0 |
src/main/kotlin/ua/rainbow/exam/collections/DequeExcercise.kt | vdvorak83 | 125,437,077 | false | null | package ua.rainbow.exam.collections;
import java.util.*
private fun testLinkedList() {
val queue: Deque<Int> = LinkedList<Int>()
queue.offer(1)
queue.add(2)
queue.push(3)
println("queue == listOf(3, 1, 2): ${queue == listOf(3, 1, 2)}")
println(queue.first == 3 && queue.size == 3)
queue.... | 1 | null | 1 | 1 | 42d070193025821a604ffd913cdaa656126213c4 | 540 | 1Z0-809 | MIT License |
02-download-url-proxy/FileDownloadService/src/test/kotlin/com/example/filedownload/FiledownloadApplicationTests.kt | bkjam | 790,181,275 | false | {"Kotlin": 13437} | package com.example.filedownload
import org.junit.jupiter.api.Test
import org.springframework.boot.test.context.SpringBootTest
@SpringBootTest
class FiledownloadApplicationTests {
@Test
fun contextLoads() {
}
}
| 0 | Kotlin | 0 | 0 | b3c46f255a3d890b1c36a7d3d025bb93e21c94c4 | 218 | download-service | Apache License 2.0 |
kotlin-mui-icons/src/main/generated/mui/icons/material/RemoveModerator.kt | JetBrains | 93,250,841 | false | null | // Automatically generated - do not modify!
@file:JsModule("@mui/icons-material/RemoveModerator")
@file:JsNonModule
package mui.icons.material
@JsName("default")
external val RemoveModerator: SvgIconComponent
| 12 | Kotlin | 145 | 983 | 372c0e4bdf95ba2341eda473d2e9260a5dd47d3b | 212 | kotlin-wrappers | Apache License 2.0 |
app/src/main/java/app/septs/euiccprobe/SystemApps.kt | CursedHardware | 757,183,781 | false | {"Kotlin": 14502} | package app.septs.euiccprobe
import android.content.Context
import android.content.pm.ApplicationInfo
import android.content.pm.PackageManager
import android.os.Build
object SystemApps {
private val perms = arrayOf(
"android.permission.BIND_EUICC_SERVICE",
"android.permission.SECURE_ELEMENT_PRIVIL... | 0 | Kotlin | 3 | 9 | aec0053b57f146ae3e530ab5389ab3517dff8a5d | 1,640 | euicc-probe | Creative Commons Zero v1.0 Universal |
ChatApplication/app/src/main/java/com/example/chatapplication/MainActivity.kt | hicranfiliz | 581,832,365 | false | {"Kotlin": 16894} | package com.example.chatapplication
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.view.LayoutInflater
import android.view.Menu
import android.view.MenuItem
import androidx.recyclerview.widget.LinearLayoutManager
import androidx.recyclerview.widget... | 0 | Kotlin | 0 | 0 | 959400c4d729c1d0f7bfbb7725ff5733aef2449a | 2,869 | Kotlin-Chat-Application | MIT License |
compiler/testData/diagnostics/tests/dataFlow/local/LocalClassInitializer.kt | BobReid | 29,261,604 | true | {"Markdown": 30, "Kotlin": 15189, "Java": 4027, "HTML": 105, "JavaScript": 65, "CSS": 10, "INI": 7, "Java Properties": 9, "Batchfile": 7, "Shell": 4} | // KT-338 Support.smartcasts in nested declarations
fun f(a: Any?) {
if (a is B) {
class C : X(<!DEBUG_INFO_SMARTCAST!>a<!>) {
{
<!DEBUG_INFO_SMARTCAST!>a<!>.foo()
}
}
}
}
trait B {
fun foo() {}
}
open class X(b: B) | 0 | Java | 0 | 0 | 89f844270556321ab05fb9bd5feefdb02b3405d7 | 251 | kotlin | Apache License 2.0 |
Application-Challenge/[史大伟] 教学助手/Android product/StudentEdu/app/src/main/java/com/kangaroo/studentedu/ui/presenter/XieHomeWorkPresenter.kt | tningjs | 372,697,757 | false | {"Ignore List": 48, "Markdown": 43, "Gradle": 35, "Java Properties": 14, "Shell": 11, "Batchfile": 6, "Proguard": 21, "Java": 360, "XML": 530, "INI": 15, "C": 78, "C++": 849, "CMake": 4, "HTML": 284, "PHP": 3, "CSS": 23, "JavaScript": 541, "JSON": 187, "Text": 32, "JSON with Comments": 2, "Git Attributes": 1, "YAML": 8... | package com.kangaroo.studentedu.ui.presenter
import com.kangaroo.studentedu.tools.UUser
import com.kangaroo.studentedu.ui.view.XieHomeWorkView
import com.kangraoo.basektlib.ui.mvp.BasePresenter
import com.kangraoo.basektlib.ui.action.BASE_PAGE_NAME
import com.kangraoo.basektlib.ui.action.BasePageAction
import com.kang... | 1 | null | 1 | 1 | 2778ae967db70c492a2addb9e754e56fbd45703b | 1,129 | RTE-2021-Innovation-Challenge | MIT License |
app/src/main/java/com/vmloft/develop/app/template/request/bean/User.kt | lzan13 | 195,352,610 | false | null | package com.vmloft.develop.app.match.request.bean
import android.os.Parcelable
import com.google.gson.annotations.SerializedName
import kotlinx.android.parcel.Parcelize
/**
* Create by lzan13 on 2020/7/30 15:56
* 描述:用户对象数据 bean
*/
@Parcelize
data class User(
@SerializedName("_id")
var id: String = "",
... | 1 | null | 71 | 121 | bc931b5da6588353d9ccd81ffbd531c9fb39f44c | 1,995 | VMTemplateAndroid | MIT License |
backend/src/main/kotlin/ssafy/autonomous/pathfinder/domain/floors/dto/request/FloorsCurrentLocationUpdateRequestDto.kt | PathFinder-SSAFY | 643,691,193 | false | null | package ssafy.autonomous.pathfinder.domain.floors.dto.request
import io.swagger.annotations.ApiModelProperty
import ssafy.autonomous.pathfinder.domain.facility.domain.Facility
data class FloorsCurrentLocationUpdateRequestDto(
// x, y, z 좌표 + 시설 + UUID
@ApiModelProperty(example = "10.45") val x: Double,
@A... | 1 | Kotlin | 3 | 1 | 57e9a94594ff2e3561e62b6c5c9db63cfa4ef203 | 494 | PathFinder | Apache License 2.0 |
sample/coroutines/shared/src/commonMain/kotlin/com/arkivanov/mvikotlin/sample/coroutines/shared/main/MainController.kt | arkivanov | 437,014,963 | false | {"Kotlin": 475509, "CSS": 842, "JavaScript": 716, "HTML": 583} | package com.arkivanov.mvikotlin.sample.coroutines.shared.main
import com.arkivanov.essenty.instancekeeper.InstanceKeeper
import com.arkivanov.essenty.lifecycle.Lifecycle
import com.arkivanov.mvikotlin.core.binder.BinderLifecycleMode
import com.arkivanov.mvikotlin.core.instancekeeper.getStore
import com.arkivanov.mviko... | 3 | Kotlin | 28 | 701 | d7bfe428df2f3e90ca8a638a88dfefdad0b48ac1 | 3,328 | MVIKotlin | Apache License 2.0 |
retrofit/src/main/java/com/crazylegend/retrofit/interceptors/BearerAuthenticator.kt | FunkyMuse | 168,687,007 | false | {"Kotlin": 1666612} | package com.crazylegend.retrofit.interceptors
import com.crazylegend.retrofit.throwables.NoConnectionException
import okhttp3.Interceptor
import okhttp3.Response
import java.io.IOException
/**
* Created by hristijan on 8/23/19 to long live and prosper !
*/
class BearerAuthenticator(private val token: String, priva... | 0 | Kotlin | 92 | 759 | b38417f2b0791f42d5857b1e0f61785fcb840226 | 714 | KAHelpers | MIT License |
api/src/main/kotlin/org/kryptonmc/api/statistic/Statistic.kt | KryptonMC | 255,582,002 | false | null | /*
* This file is part of the Krypton project, licensed under the Apache License v2.0
*
* Copyright (C) 2021-2023 KryptonMC and the contributors of the Krypton 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 ... | 27 | Kotlin | 11 | 233 | a9eff5463328f34072cdaf37aae3e77b14fcac93 | 1,396 | Krypton | Apache License 2.0 |
src/main/kotlin/no/nav/sifinnsynapi/config/SwaggerConfiguration.kt | navikt | 267,829,664 | false | null | package no.nav.sifinnsynapi.config
import io.swagger.models.Scheme
import org.springframework.context.EnvironmentAware
import org.springframework.context.annotation.Bean
import org.springframework.context.annotation.Configuration
import org.springframework.context.annotation.Profile
import org.springframework.core.env... | 2 | null | 1 | 1 | 228bacc5df18dc0440401ed9ff14b86b5f3d4a15 | 1,031 | sif-innsyn-api | MIT License |
core/src/main/kotlin/reporter/database/DatabaseReporter.kt | dmitry-s93 | 647,428,971 | false | {"Kotlin": 337593} | /* Copyright 2024 DSTestRunner 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 required by applicable law or... | 0 | Kotlin | 0 | 0 | 5ae810916f536cd00f6f090760db90998afe9eb6 | 5,617 | DSTestRunner | Apache License 2.0 |
graphlite/src/commonMain/kotlin/pl/makenika/graphlite/sql/TransactionResult.kt | armatys | 277,562,442 | false | {"C": 8751654, "Java": 434676, "Kotlin": 185359, "C++": 119284, "Makefile": 1760} | /*
* Copyright (c) 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 wr... | 0 | C | 0 | 0 | a95026b88e0ac485cd2da13c121b0d42bbaabbe2 | 1,057 | GraphLite | Apache License 2.0 |
src/main/kotlin/com/miguel/rucoyapi/RucoyApiApplication.kt | MiguelJeronimo | 705,820,521 | false | {"Kotlin": 44559, "Dockerfile": 869} | package com.miguel.rucoyapi
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.runApplication
@SpringBootApplication
class RucoyApiApplication
fun main(args: Array<String>) {
runApplication<RucoyApiApplication>(*args)
}
| 0 | Kotlin | 0 | 0 | 5c1f292e45b01949ae04189b3ca77eb309d709aa | 273 | rucoy-api | MIT License |
randomgenkt/src/test/java/com/mitteloupe/randomgenkt/fielddataprovider/DoubleFieldDataProviderTest.kt | EranBoudjnah | 154,015,466 | false | {"Kotlin": 251903, "Java": 1056} | package com.mitteloupe.randomgenkt.fielddataprovider
import java.util.Random
import org.junit.Assert.assertEquals
import org.junit.Test
import org.junit.runner.RunWith
import org.mockito.BDDMockito.given
import org.mockito.Mock
import org.mockito.junit.MockitoJUnitRunner
@RunWith(MockitoJUnitRunner::class)
class Doub... | 0 | Kotlin | 0 | 35 | a6c947009d1cd0f992de978bf44b3aba531db26c | 1,671 | RandomGenKt | MIT License |
app/src/main/java/dev/maxsiomin/testdoorscameras/presentation/camera_screen/CameraAction.kt | MaxSiominDev | 750,879,634 | false | {"Kotlin": 64765} | package dev.maxsiomin.testdoorscameras.presentation.camera_screen
import androidx.compose.foundation.BorderStroke
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.BoxScope
import androidx.compose.foundation.layout.PaddingValue... | 0 | Kotlin | 0 | 0 | 431222b905df9f22f3f911b6ee171ef14837b1fd | 2,546 | rikmasters | MIT License |
.legacy/app/src/main/java/com/makentoshe/booruchan/repository/FileImageRepository.kt | Makentoshe | 147,361,920 | false | null | package com.makentoshe.booruchan.repository
import com.makentoshe.booruchan.api.Booru
import com.makentoshe.booruchan.api.component.post.Post
class FileImageRepository(private val booru: Booru) : Repository<Post, ByteArray> {
override fun get(key: Post) = booru.getCustom().request(key.fileUrl).stream.readBytes()
... | 0 | Kotlin | 1 | 6 | d0f40fb8011967e212df1f21beb43e4c4ec03356 | 321 | Booruchan | Apache License 2.0 |
app/src/main/java/co/uk/domainmodelingmadefunktional/SimplyTypes.kt | ExpensiveBelly | 182,314,780 | false | null | package co.uk.domainmodelingmadefunktional
import android.util.Patterns
import androidx.core.text.isDigitsOnly
import arrow.core.Either
import arrow.core.Option
import java.util.*
class String50 private constructor(val value: String) {
companion object {
operator fun invoke(value: String) =
if... | 0 | Kotlin | 0 | 0 | 16819114aad7c0bca57ae20f0d3c3ff3cee12464 | 4,868 | Domainmodelingmadefunktional | MIT License |
SensorMonitor/app/src/main/java/jp/nagano/northfield/sensormonitor/sensor/environment/HeartBeatSensor.kt | northfieldzz | 549,048,262 | false | null | package jp.nagano.northfield.sensormonitor.sensor.environment
import android.hardware.Sensor
import android.os.Build
import androidx.annotation.RequiresApi
import jp.nagano.northfield.sensormonitor.sensor.SensorInterface
class HeartBeatSensor : SensorInterface {
@RequiresApi(Build.VERSION_CODES.N)
override va... | 0 | Kotlin | 0 | 0 | 601c824a1974e8620540104162a1333f94ce666c | 550 | MobileSamples | MIT License |
Kotlin for Java Developers. Week 4/Board/Task/src/board/BoardImpl.kt | Anna-Sent | 186,426,055 | false | {"Kotlin": 178470} | package board
fun createSquareBoard(width: Int): SquareBoard = object : SquareBoard {
override val width: Int = width
private val table: Array<Array<Cell>> = Array(width)
{ row ->
Array(width)
{ col ->
Cell(row + 1, col + 1)
}
}
override fun getCellOrNull(i: I... | 0 | Kotlin | 0 | 1 | e5db4940fa844aa8a5de7f90dd872909a06756e6 | 3,303 | coursera | Apache License 2.0 |
src/main/kotlin/com/pineypiney/game_engine/objects/menu_items/scroll_lists/InteractableScrollingListEntry.kt | PineyPiney | 491,900,499 | false | {"Kotlin": 619793, "GLSL": 26595} | package com.pineypiney.game_engine.objects.menu_items.scroll_lists
import com.pineypiney.game_engine.objects.Interactable
import com.pineypiney.game_engine.util.extension_functions.isBetween
import com.pineypiney.game_engine.util.raycasting.Ray
import glm_.glm.max
import glm_.glm.min
import glm_.vec2.Vec2
open class ... | 0 | Kotlin | 0 | 0 | 74c81a1c5fc742f99896cc74a5bc3eca6113447c | 878 | GameEngine | MIT License |
substrate-sdk-android/src/test/java/io/novasama/substrate_sdk_android/runtime/definitions/aliases/HasCompactAliasTest.kt | novasamatech | 429,839,517 | false | {"Kotlin": 647838, "Rust": 10421, "Java": 4208} | package io.novasama.substrate_sdk_android.runtime.definitions.aliases
import org.junit.Test
class HasCompactAliasTest {
@Test
fun `should extract`() {
}
} | 2 | Kotlin | 7 | 9 | 8deb9bcec9a5d9d74c509ccc6393cfd0b4ef7144 | 170 | substrate-sdk-android | Apache License 2.0 |
android/app/src/main/java/com/demo/App.kt | umeshbsa | 469,412,431 | false | {"Kotlin": 42830, "Objective-C": 4484, "Java": 3523, "JavaScript": 3186, "Starlark": 1904, "Ruby": 955} | package com.demo
import android.app.Application
import android.content.Context
import com.facebook.react.ReactPackage
import com.facebook.react.ReactNativeHost
import com.facebook.react.ReactInstanceManager
import com.facebook.react.ReactApplication
import com.facebook.react.shell.MainReactPackage
import com.facebook.... | 0 | Kotlin | 0 | 0 | cda9303c4fee80384df4677deef7593759c664ad | 3,568 | react-api-bridge | MIT License |
src/main/kotlin/no/nav/syfo/utils/Logging.kt | navikt | 526,559,029 | false | {"Kotlin": 179722, "Dockerfile": 699} | package no.nav.syfo.utils
import org.slf4j.Logger
import org.slf4j.LoggerFactory
val logger: Logger = LoggerFactory.getLogger("no.nav.syfo.macgyver")
val auditlogg: Logger = LoggerFactory.getLogger("auditLogger")
val sikkerlogg: Logger = LoggerFactory.getLogger("securelog")
| 2 | Kotlin | 0 | 0 | a06b6ebe0e868333ed472c04c5d2e00812eb6924 | 277 | macgyver | MIT License |
common/src/commonMain/kotlin/chat/sphinx/common/components/MessageFile.kt | stakwork | 457,042,828 | false | {"Kotlin": 894995} | package chat.sphinx.common.components
import Roboto
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.*
import androidx.compose.material.CircularProgressIndicator
import androidx.compose.material.Icon
import androidx.compose.material.Text
import androidx.compose.material.icons.Icon... | 31 | Kotlin | 6 | 2 | d9ba71335593e3d61da9198d4f815bf6fbef4266 | 4,581 | sphinx-kotlin-ui | MIT License |
server/src/main/kotlin/org/kryptonmc/krypton/entity/projectile/KryptonFishingHook.kt | KryptonMC | 255,582,002 | false | null | /*
* This file is part of the Krypton project, licensed under the Apache License v2.0
*
* Copyright (C) 2021-2023 KryptonMC and the contributors of the Krypton 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 ... | 27 | Kotlin | 11 | 233 | a9eff5463328f34072cdaf37aae3e77b14fcac93 | 3,099 | Krypton | Apache License 2.0 |
app/src/main/java/mz/co/bilheteira/pixabayimagesearch/di/NetworkModule.kt | anselmoalexandre | 588,827,925 | false | null | package mz.co.bilheteira.pixabayimagesearch.di
import com.squareup.moshi.Moshi
import com.squareup.moshi.adapters.Rfc3339DateJsonAdapter
import com.squareup.moshi.kotlin.reflect.KotlinJsonAdapterFactory
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComp... | 0 | Kotlin | 0 | 1 | 38849822659b1bcdeba48c6f9509635228abd61d | 1,669 | PixaBay-ImageSearch | Apache License 2.0 |
src/Day01.kt | devheitt | 487,361,256 | false | {"Kotlin": 5549} | fun main() {
fun part1(input: List<String>): Int {
return input.map { v -> v.toInt() }
.windowed(2)
.count { (a, b) -> b > a }
}
fun part2(input: List<String>): Int {
return input.map { v -> v.toInt() }
.windowed(4)
.count { (a, _, _, d) -> d ... | 0 | Kotlin | 0 | 0 | cd79f4b6ac78b06cfb9b5ee381ae7427895a68c0 | 518 | kotlin-aoc-2021 | Apache License 2.0 |
ok-remindercalendar-transport-main-mp/src/commonTest/kotlin/ru.otus.otuskotlin.remindercalendar.transport.model.event/ResponseEventUpdateTest.kt | otuskotlin | 327,218,963 | false | null | package ru.otus.otuskotlin.remindercalendar.transport.model.event
import kotlinx.serialization.encodeToString
import kotlinx.serialization.json.Json
import kotlinx.serialization.modules.SerializersModule
import kotlinx.serialization.modules.polymorphic
import ru.otus.otuskotlin.remindercalendar.transport.model.common.... | 0 | Kotlin | 0 | 0 | 772f6ee3282683875ea3f49cc91a6db7c22a35f7 | 2,437 | otuskotlin-202012-remindercalendar-km | MIT License |
app/src/main/java/fr/atticap/bookworm/ui/features/volume/VolumeScreen.kt | Nowp | 858,436,993 | false | {"Kotlin": 27831} | package fr.atticap.bookworm.ui.features.volume
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.requiredHeight
import androidx.... | 0 | Kotlin | 0 | 0 | 9b33424b50aae5809296bd38f109e23a74ba56d6 | 3,197 | Bookworm | Apache License 2.0 |
Storage/src/commonMain/kotlin/io/github/jan/supabase/storage/ImageTransformation.kt | supabase-community | 495,084,592 | false | null | package io.github.jan.supabase.storage
import io.github.jan.supabase.storage.ImageTransformation.Resize
import io.ktor.http.ParametersBuilder
import io.ktor.http.formUrlEncode
/**
* Represents a transformation for an image. Used for [Storage] objects-
* @property width The width of the image
* @property height The... | 2 | Kotlin | 8 | 80 | 1a4d3803201ad4e10a65862b3ef40be66d03e47f | 1,249 | supabase-kt | MIT License |
kotlin/src/test/kotlin/year2023/Day01Test.kt | adrisalas | 725,641,735 | false | {"Kotlin": 134149, "Python": 1548} | package year2023
import org.junit.jupiter.api.Assertions.assertEquals
import kotlin.test.Test
class Day01Test {
@Test
fun part1() {
val input = listOf(
"1abc2",
"pqr3stu8vwx",
"a1b2c3d4e5f",
"treb7uchet"
)
val output = Day01.part1(input... | 0 | Kotlin | 0 | 2 | e8b1731ea49355d279d6d6bdc55386786e5dc1c1 | 711 | advent-of-code | MIT License |
app/src/main/java/com/istu/schedule/data/api/entities/projfair/enums/ListStatus.kt | imysko | 498,018,609 | false | {"Kotlin": 846401} | package com.istu.schedule.data.api.entities.projfair.enums
enum class ListStatus {
None,
FirstLoading,
Loading,
NoNetwork,
Complete
}
| 1 | Kotlin | 0 | 2 | edfb0b8f1eccab8f8a87d90129cde3645cce3758 | 155 | Schedule-ISTU | MIT License |
app/src/main/java/com/example/dicerollerkotlinapp/MainActivity.kt | lakshmi-p15 | 533,054,325 | false | null | package com.example.dicerollerkotlinapp
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.example.dicerollerkotlinapp.databinding.ActivityMainBinding
import kotlin.random.Random
class MainActivity : AppCompatActivity() {
private lateinit var binding: ActivityMainBinding
ove... | 0 | Kotlin | 0 | 0 | d9d1d44ec1dbab732d14b8a240ce36d0fd430fd3 | 1,001 | DiceRollerKotlinApp | Apache License 2.0 |
test/services/TemperatureTimeSeriesServiceTest.kt | NOWUM | 358,732,934 | false | {"Kotlin": 245354, "TypeScript": 141516, "CSS": 4266, "HTML": 1721, "Dockerfile": 329} | package de.fhac.ewi.services
import de.fhac.ewi.model.TemperatureTimeSeries
import org.junit.Test
import kotlin.test.assertEquals
class TemperatureTimeSeriesServiceTest {
@Test
fun checkKeys() {
val series = listOf(TemperatureTimeSeries("Foo", List(365) { 0.0 }))
val service = TemperatureTime... | 18 | Kotlin | 0 | 4 | 7c65a8c372df6e3e8b1f2e1c4bc5833ba3dda987 | 739 | grid-optimizer | MIT License |
app/src/main/java/com/sun/dev/fragment/mine/AudioRecordActivity.kt | sunlion2258 | 836,567,353 | false | {"Kotlin": 144882, "Java": 80143} | package com.sun.dev.fragment.mine
import android.app.Activity
import android.content.Intent
import android.os.Bundle
import android.os.Handler
import androidx.lifecycle.ViewModelProviders
import com.gyf.immersionbar.ImmersionBar
import com.sun.dev.R
import com.sun.dev.base.BaseMVVMActivity
import com.sun.dev.databindi... | 0 | Kotlin | 0 | 0 | f4b45a752229391ef5876f59fc5cecb33ddc69ba | 2,017 | develop_frame | Apache License 2.0 |
kermit-sentry/src/darwinMain/kotlin/co/touchlab/kermit/sentry/SentryLogWriter.kt | touchlab | 254,470,560 | false | null | /*
* Copyright (c) 2022 Touchlab
* 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... | 30 | Kotlin | 32 | 420 | 96515e0f9780563d8c4012171b36d05728232d64 | 2,833 | Kermit | Apache License 2.0 |
shared/src/commonMain/kotlin/com.macaosoftware.sdui.app/marketplace/amadeus/data/model/travel/GeoCode.kt | pablichjenkov | 701,156,284 | false | {"Kotlin": 478038, "Swift": 10608, "JavaScript": 1308, "HTML": 365, "CSS": 313} | package com.macaosoftware.sdui.app.marketplace.amadeus.data.model.travel
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
data class GeoCode(
@SerialName("latitude")
val latitude: Double,
@SerialName("longitude")
val longitude: Double
) | 0 | Kotlin | 1 | 9 | 228f663f7c53683d34528ea6fd437357bfe05a92 | 302 | macao-marketplace | The Unlicense |
vapi4k-core/src/main/kotlin/com/vapi4k/api/assistant/enums/BackgroundSoundType.kt | vapi4k | 867,257,277 | false | {"Kotlin": 914240, "JavaScript": 12866, "CSS": 8320, "Mermaid": 1873, "Makefile": 675, "Shell": 89, "HTML": 51} | /*
* Copyright © 2024 Matthew Ambrose (mattbobambrose@gmail.com)
*
* 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... | 0 | Kotlin | 0 | 0 | da2eb5c23a0ad87a55d973e0610f4f8c4ccd6e7b | 1,698 | vapi4k | Apache License 2.0 |
android/app/src/main/kotlin/com/example/telegramc/MainActivity.kt | ngbede | 302,979,065 | false | {"Dart": 6618, "Swift": 404, "Kotlin": 126, "Objective-C": 38} | package com.example.telegramc
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| 0 | Dart | 0 | 8 | ee8372b1d2c64a6ca1766adfedcef0db1ffbeb6b | 126 | telegramc | MIT License |
app/src/test/java/com/gibsoncodes/movieapp/repository/MockList.kt | wangerekaharun | 283,554,670 | false | {"Kotlin": 104411} | package com.gibsoncodes.movieapp.repository
object MockList {
// fun movies=Movies()
} | 0 | null | 0 | 1 | 3399a96713d8c0a51d0f57222d891920b9717fcb | 91 | Cinema21 | Apache License 2.0 |
app/src/main/java/com/zebra/tutorialapplication/screen/MedicalScreen.kt | dogukandmrl | 784,057,851 | false | {"Kotlin": 56995} | package com.zebra.tutorialapplication.screen
import androidx.compose.foundation.Canvas
import androidx.compose.foundation.background
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout... | 0 | Kotlin | 0 | 0 | 67f42c4e3c43ba61ea819239fbe5550df5d9d9da | 14,087 | JetpackComposeSampleApps | MIT License |
order/src/main/kotlin/com/proggramik/order/service/OrderServiceImpl.kt | WilsonDev | 350,106,143 | false | null | package com.proggramik.order.service
import com.proggramik.order.domain.dto.GetOrderResponseDTO
import com.proggramik.order.repository.OrderRepository
import org.springframework.stereotype.Service
import reactor.core.publisher.Mono
@Service
class OrderServiceImpl(
private val orderRepository: OrderRepository
) : ... | 0 | Kotlin | 0 | 0 | 37c4df8d1c9664b58f94e6480001e80318cbe332 | 457 | ecommerce-microservices | MIT License |
library/src/main/java/renetik/android/core/lang/variable/CSVariable+.kt | renetik | 506,035,450 | false | {"Kotlin": 183798} | @file:Suppress("NOTHING_TO_INLINE")
package renetik.android.core.lang.variable
import renetik.android.core.kotlin.asString
inline infix fun <T> CSVariable<T>.assign(other: T) = value(other)
inline fun <T> CSVariable<T>.value(value: T) {
this.value = value
}
inline var CSVariable<String?>.string: String
get... | 0 | Kotlin | 1 | 1 | d1b3c5d80ed8ce51f1ff58c0cd7c02c9dd5423b9 | 730 | renetik-android-core | MIT License |
core/src/main/kotlin/com/deflatedpickle/quiver/backend/util/ActionUtil.kt | DeflatedPickle | 84,999,026 | false | null | /* Copyright (c) 2020-2021 DeflatedPickle under the MIT license */
@file:Suppress("WHEN_ENUM_CAN_BE_NULL_IN_JAVA")
package com.deflatedpickle.quiver.backend.util
import com.deflatedpickle.haruhi.util.PluginUtil
import com.deflatedpickle.marvin.Version
import com.deflatedpickle.quiver.Quiver
import com.deflatedpickle... | 48 | Kotlin | 7 | 62 | 7f7a2f7f2f309d019bb9fa8a983f8f3991bf83df | 10,287 | Quiver | MIT License |
src/controls/panels/TabBuilder.kt | JBWills | 291,822,812 | false | null | package controls.panels
class TabBuilder(
var tabName: String,
var tabStyle: TabStyle = TabStyle.Base,
var tabPanels: MutableList<Panelable>
) : PanelBuilder(tabPanels) {
constructor(
tabName: String,
tabStyle: TabStyle = TabStyle.Base,
block: PanelBuilder.() -> Unit = {}
) : this(
tabName,
... | 0 | Kotlin | 0 | 0 | 0060a0603a9513432951d51ca530b8cbd0e23d9f | 461 | processing-sketches | MIT License |
app/src/main/java/com/org/test/geminisample/data/model/LocationsData.kt | jitzian | 749,099,158 | false | {"Kotlin": 64630} | package com.org.test.geminisample.data.model
import co.yml.charts.common.model.Point
data class LocationsData(
val pointsDataLocation1: List<Point> = emptyList(),
val pointsDataLocation2: List<Point> = emptyList(),
val pointsDataProjection: List<Point> = emptyList(),
val dates: List<String> = emptyLis... | 0 | Kotlin | 0 | 1 | 498e1e64f00141b15eeea8d38c266b6f1ca50ef9 | 327 | GeminiSetup | Apache License 1.1 |
src/test/kotlin/io/github/ivsokol/poe/variable/ValueParserBooleanTest.kt | ivsokol | 850,045,264 | false | {"Kotlin": 1891986} | package io.github.ivsokol.poe.variable
import io.github.ivsokol.poe.DefaultObjectMapper
import io.github.ivsokol.poe.Options
import io.kotest.core.spec.style.DescribeSpec
import io.kotest.matchers.shouldBe
class ValueParserBooleanTest :
DescribeSpec({
val options = Options()
val objectMapper = Default... | 0 | Kotlin | 0 | 1 | e1513c000ced3eafefad6778fc6085df8c4b17ee | 2,898 | policy-engine | Apache License 2.0 |
app/src/main/java/in/eswarm/narada/launch/LogView.kt | eswarm | 497,336,930 | false | null | package `in`.eswarm.narada.launch
import androidx.compose.foundation.layout.fillMaxHeight
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.foundation.lazy.items
import androidx.compose.fou... | 0 | Kotlin | 3 | 9 | b30cb4a67025257c10600c3cdf78ff24f872e014 | 1,024 | narada | Apache License 2.0 |
app/src/main/java/com/paradise/hellth/ui/record/RecordFragment.kt | sksowk156 | 624,277,724 | false | {"Kotlin": 410758} | package com.paradise.hellth.ui.record
import android.util.Log
import android.view.View
import androidx.lifecycle.ViewModelProvider
import com.google.firebase.auth.FirebaseAuth
import com.google.firebase.auth.ktx.auth
import com.google.firebase.database.DatabaseReference
import com.google.firebase.database.FirebaseData... | 0 | Kotlin | 0 | 1 | 05ff230391e8e128d31ff02aa54663e695b272f5 | 6,549 | Hellth | Apache License 2.0 |
mobile_application/app/src/main/java/com/example/aerosense_app/ui/AsthmaProfile.kt | PatrickOrjieh | 708,475,518 | false | {"Kotlin": 558867, "Python": 267965, "HTML": 58745, "JavaScript": 25878, "CSS": 15181} | package com.example.aerosense_app.ui
import android.util.Log
import androidx.compose.foundation.Image
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.offset
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.requiredSize
import androidx.c... | 1 | Kotlin | 0 | 1 | c369a08184a8d165eab0f843369255c814f48dbc | 8,147 | life-sync | MIT License |
app/src/main/java/io/webt/webthingsdashboard/ui/screens/HomeScreen.kt | Bad-Wolf-developpement | 471,112,468 | false | {"Kotlin": 37130} | package io.webt.webthingsdashboard.ui.screens
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.padding
import androidx.compose.material.*
import androidx.compose.materia... | 0 | Kotlin | 0 | 0 | 068d8af7c6831b1637c64941c917111f868c7d41 | 2,198 | webthingsDashboard | MIT License |
src/test/kotlin/li/doerf/iwashere/DbTestHelper.kt | doerfli | 272,288,552 | false | null | package li.doerf.iwashere
import li.doerf.iwashere.accounts.User
import li.doerf.iwashere.accounts.UserRepository
import li.doerf.iwashere.guests.GuestRepository
import li.doerf.iwashere.locations.LocationRepository
import li.doerf.iwashere.utils.UserHelper
import li.doerf.iwashere.utils.now
import li.doerf.iwashere.v... | 12 | Kotlin | 0 | 0 | 861a1dd13b60d529ba0083e9e3e7e03dd4f09c28 | 1,153 | iwashere | MIT License |
app/src/test/java/com/example/cashvault/domain/CalculateListSumUseCaseTest.kt | CarlosKipkoech | 745,571,224 | false | {"Kotlin": 37001} | package com.example.cashvault.domain
import com.google.common.truth.Truth.assertThat
import org.junit.Test
class CalculateListSumUseCaseTest {
private val calculateListSumUseCase = CalculateListSumUseCase()
@Test
fun testResultWithEmptyListIsZero(){
var result = calculateListSumUseCase(emptyList... | 0 | Kotlin | 0 | 0 | ee3032ac45704dc1cfb479436d28f8c2534671af | 697 | cashVault | MIT License |
feature/lists/src/main/java/com/azhapps/listapp/lists/data/ListsModule.kt | Azhrei251 | 539,352,238 | false | {"Kotlin": 239334} | package com.azhapps.listapp.lists.data
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent
import retrofit2.Retrofit
@Module
@InstallIn(SingletonComponent::class)
object ListsModule {
@Provides
fun provideLoginRemoteDataSource(
ret... | 5 | Kotlin | 0 | 1 | 317804ec4047ebe3c68b29ef344d4a2e1f1010ae | 419 | list-app | MIT License |
src/main/kotlin/br/com/zupedu/shared/handlingErrors/ErrorAroundHandlerIntercptor.kt | olucasokarin | 385,244,357 | true | {"Kotlin": 72078, "Smarty": 1862, "Dockerfile": 177} | package br.com.zupedu.shared.handlers
import br.com.zupedu.shared.handlingErrors.ErrorAroundHandler
import br.com.zupedu.shared.handlingErrors.ErrorAroundHandlerResolver
import br.com.zupedu.shared.handlingErrors.ExceptionHandler
import io.grpc.stub.StreamObserver
import io.micronaut.aop.InterceptorBean
import io.micr... | 0 | Kotlin | 0 | 0 | 7832099ab206788de2c5ed04a69d1952e4c9201d | 1,531 | orange-talents-05-template-pix-keymanager-grpc | Apache License 2.0 |
qr/src/main/kotlin/cn/yjl/qr/QRImageGenerator.kt | Yin-Jinlong | 689,947,942 | false | {"Kotlin": 91286, "Vue": 46226, "TypeScript": 10700, "SCSS": 7673, "HTML": 271} | package cn.yjl.qr
import cn.yjl.qr.drawer.BaseDrawer
import cn.yjl.qr.drawer.Drawer
import cn.yjl.util.drawRect
import com.google.zxing.common.BitMatrix
import org.jetbrains.skia.Canvas
import org.jetbrains.skia.Paint
/**
* 分离块二维码生成器
*
* 分离数据块和定位块绘制
*
* @author YJL
*/
open class QRImageGenerator(
drawer: QR... | 0 | Kotlin | 0 | 0 | 277077631ef9b2792b0b7fed5cefcaf39f783ce8 | 3,848 | ssm-web | Apache License 2.0 |
backstackexample/src/main/java/com/gregorymarkthomas/backstackexample/model/util/CalendarHelper.kt | gregorymarkthomas | 751,530,531 | false | {"Kotlin": 37484} | package com.gregorymarkthomas.backstackexample.model.util
import java.text.DateFormatSymbols
import java.util.Calendar
import java.util.TimeZone
object CalendarHelper {
fun getNewCalendar(): Calendar {
val timeZone = TimeZone.getTimeZone("UTC")
val dateHelper = Calendar.getInstance(timeZone)
... | 0 | Kotlin | 0 | 0 | d4207e396820eb20310015c951cd26940fb24337 | 655 | kotlin-backstack | MIT License |
profile/profile_presentation/src/main/java/com/beomsu317/profile_presentation/settings/SettingsEvent.kt | beomsu317 | 485,776,806 | false | null | package com.beomsu317.profile_presentation.settings
sealed class SettingsEvent {
data class NotificationsToggle(val value: Boolean): SettingsEvent()
} | 0 | Kotlin | 0 | 0 | 4ff38347196aaebb75d2729d62289bc717f14370 | 155 | private-chat-app | Apache License 2.0 |
app/src/main/java/com/example/ramenrampage/models/Noodles.kt | DjohnRussell | 783,075,540 | false | {"Kotlin": 69063} | package com.example.ramenrampage.models
data class Noodles(
val brand : String = " ",
val name : String = " ",
//val producent : String = "",
val variety : String = " ",
val style : String = " ",
val country : String = " ",
)
{
fun doesMatchSearchQuery(query : String): Boolean {
... | 0 | Kotlin | 0 | 1 | 90d325c3ee96f74259ffdeb82e7322982f71121d | 503 | RamenRampage | MIT License |
app/src/main/java/com/gcc/gccapplication/ui/activity/ChangePasswordActivity.kt | hanyarui | 836,702,073 | false | {"Kotlin": 193165} | package com.gcc.gccapplication.ui.activity
import android.os.Bundle
import android.view.MenuItem
import android.widget.Toast
import androidx.activity.viewModels
import androidx.appcompat.app.AppCompatActivity
import androidx.appcompat.widget.Toolbar
import com.gcc.gccapplication.R
import com.gcc.gccapplication.databin... | 0 | Kotlin | 0 | 0 | d518432a6bf62f06da7b364ad3b24f3dac6cb620 | 2,476 | GCC-Application | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.