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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
core/testing/src/main/kotlin/edu/stanford/spezi/core/testing/CoroutineTestRule.kt | StanfordSpezi | 787,513,636 | false | {"Kotlin": 994700, "Ruby": 1769, "Shell": 212} | package edu.stanford.spezi.core.testing
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.test.TestDispatcher
import kotlinx.coroutines.test.UnconfinedTestDispatcher
import kotlinx.coroutines.test.resetMain
import kotlinx.coroutines.test.setMain
import org.junit.rules.TestWatcher
import org.junit.runner.... | 8 | Kotlin | 1 | 8 | ddc790d11b46a3cd19ff86aca50e86f41a1042e3 | 1,871 | SpeziKt | MIT License |
app/src/main/java/com/eneskayiklik/word_diary/feature/quiz/StudyViewModel.kt | Enes-Kayiklik | 651,794,521 | false | null | package com.eneskayiklik.word_diary.feature.quiz
import androidx.lifecycle.SavedStateHandle
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.eneskayiklik.swiper.SwipedOutDirection
import com.eneskayiklik.word_diary.R
import com.eneskayiklik.word_diary.core.data_store.domain.UserP... | 0 | Kotlin | 0 | 1 | b516446a47cd56b3ff07f17fc588f0b2409a1f2c | 13,218 | WordDiary | MIT License |
platform/vcs-impl/src/com/intellij/vcs/commit/CommitProgressPanel.kt | JetBrains | 2,489,216 | false | null | // Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.vcs.commit
import com.intellij.icons.AllIcons
import com.intellij.ide.nls.NlsMessages.formatNarrowAndList
import com.intellij.openapi.Dispo... | 191 | null | 4372 | 13,319 | 4d19d247824d8005662f7bd0c03f88ae81d5364b | 10,804 | intellij-community | Apache License 2.0 |
app/src/main/java/com/craftyblue/gpssjetnik/alpha/MapActivity.kt | craftyBLUE | 798,477,194 | false | {"Kotlin": 39434} | package com.craftyblue.gpssjetnik.alpha
import android.app.Activity
import android.content.BroadcastReceiver
import android.content.Context
import android.content.Intent
import android.content.IntentFilter
import android.os.Bundle
import android.preference.PreferenceManager
import android.util.DisplayMetrics
import an... | 0 | Kotlin | 0 | 0 | 57b80630af23b8d387659b7b627eb3588c4791f5 | 7,280 | GPS-Sjetnik | Apache License 2.0 |
shared/src/commonMain/kotlin/com/multiplatform/kmmcc/data/sources/local/filereader/LocalJsonExceptionParser.kt | shahrozekhan | 735,403,154 | false | {"Kotlin": 117840, "Ruby": 2612, "Swift": 602} | package com.multiplatform.kmmcc.data.sources.local.filereader
import io.ktor.serialization.*
class LocalJsonExceptionParser{
fun logParseDisplayMessage(exception: Exception): String {
exception.printStackTrace()
return when (exception) {
is JsonConvertException -> {
"Ua... | 0 | Kotlin | 2 | 7 | 440b9960e956c32896766de2b9048c793eeb370b | 453 | KMPCurrencyConvertor | MIT License |
secdra-admin/src/main/kotlin/com/junjie/secdraadmin/constant/UserConstant.kt | fuzeongit | 154,359,683 | false | null | package com.junjie.secdraadmin.constant
object UserConstant {
val nameList = listOf(
"醉挽清风",
"素衣清颜淡若尘",
"夜雨微澜",
"以往的誓言",
"墨玲珑",
"天生傲骨岂能输",
"凉薄少女夢",
"若只如初见",
"秦凝雪月",
"镜湖月",
"霓裳晚歌",
... | 1 | Kotlin | 4 | 11 | f75c32e5fb834d456a3182f71aee08029a1629d3 | 10,167 | secdra | MIT License |
src/main/java/teksturepako/greenery/common/util/FileUtils.kt | juraj-hrivnak | 479,669,760 | false | {"Kotlin": 126166, "Java": 731} | package teksturepako.greenery.common.util
import java.io.File
object FileUtils
{
operator fun File.div(subFileName: String): File
{
this.mkdirs()
val file = File(this, subFileName)
file.mkdirs()
return file
}
} | 7 | Kotlin | 3 | 9 | 839c0d449af95d2c6c582f67463ad3f811646342 | 256 | Greenery | MIT License |
app/src/test/java/dev/patrickgold/florisboard/snygg/SnyggRuleTest.kt | florisboard | 254,202,848 | false | null | package dev.patrickgold.florisboard.ime.snygg
import io.kotest.core.spec.style.FreeSpec
import io.kotest.matchers.shouldBe
class SnyggRuleTest : FreeSpec({
val validTestPairs = listOf(
"button" to SnyggRule(element = "button"),
"button-name" to SnyggRule(element = "button-name"),
"button04... | 394 | null | 150 | 2,043 | bce5199e311d7048ffad14d7421b18a8f9997d24 | 2,618 | florisboard | Apache License 2.0 |
app/src/main/java/com/minitel/toolboxlite/presentation/viewmodels/SettingsViewModel.kt | Darkness4 | 394,768,787 | false | null | package com.minitel.toolboxlite.presentation.viewmodels
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.minitel.toolboxlite.domain.repositories.CalendarSettingsRepository
import dagger.hilt.android.lifecycle.HiltViewModel
import kotlinx.coroutines.Dispatchers
import kotlinx.coro... | 7 | Kotlin | 0 | 2 | 3e8b4c18c115237676a76df8c7bcac39be59dcee | 1,910 | minitel-toolbox-lite | MIT License |
devbricksx-compiler/src/main/kotlin/com/dailystudio/devbricksx/ksp/helper/FunctionNames.kt | dailystudio | 264,874,323 | false | null | package com.dailystudio.devbricksx.ksp.helper
enum class FunctionNames {
GET_ONE,
GET_ONE_LIVE,
GET_ONE_FLOW,
GET_ALL,
GET_ALL_LIVE,
GET_ALL_DATA_SOURCE,
GET_ALL_FLOW,
GET_ALL_LIVE_PAGED,
GET_ALL_PAGING_SOURCE,
GET_ALL_PAGING_DATA,
INSERT,
UPDATE,
INSERT_OR_UPDATE,... | 1 | null | 6 | 63 | d62d4b989cb62100700ce540633732b42da7c4f0 | 2,453 | devbricksx-android | Apache License 2.0 |
app/src/main/java/com/revolgenx/anilib/ui/fragment/home/season/SeasonFragment.kt | rev0lgenX | 244,410,204 | false | null | package com.revolgenx.anilib.ui.fragment.home.season
import android.os.Bundle
import android.widget.TextView
import com.otaliastudios.elements.Adapter
import com.otaliastudios.elements.Presenter
import com.otaliastudios.elements.Source
import com.otaliastudios.elements.extensions.HeaderSource
import com.otaliastudios.... | 3 | Kotlin | 1 | 24 | 355d2b5510682d869f18e0113453237af8a1f1cc | 6,802 | AniLib | Apache License 2.0 |
src/main/kotlin/drawable/Trace.kt | amollberg | 267,279,072 | false | null | import coordinates.System
import kotlinx.serialization.Serializable
import org.openrndr.color.ColorRGBa.Companion.GRAY
import org.openrndr.color.ColorRGBa.Companion.TRANSPARENT
import org.openrndr.math.Vector2
import kotlin.math.tan
@Serializable
data class Trace(
var system: System,
private var traceSegments:... | 0 | Kotlin | 0 | 0 | d08f85dbbb0537b386fb1810a1e2f1b86a92c925 | 4,738 | ArtisanTrace | Apache License 2.0 |
src/main/kotlin/org/arend/codeInsight/ArendParameterInfoHandler.kt | JetBrains | 96,068,447 | false | {"Kotlin": 2445827, "Lex": 14516, "Java": 4637, "HTML": 1695, "CSS": 1108, "JavaScript": 713} | package org.arend.codeInsight
import com.intellij.lang.parameterInfo.*
import com.intellij.openapi.project.ProjectManager
import com.intellij.psi.PsiElement
import com.intellij.psi.PsiFile
import com.intellij.psi.PsiWhiteSpace
import com.intellij.psi.util.*
import org.arend.error.CountingErrorReporter
import org.arend... | 71 | Kotlin | 16 | 83 | bee4b93c49c61dc19a2639f4d2f91190c4115cb5 | 24,820 | intellij-arend | Apache License 2.0 |
reviewrelic/src/androidTest/java/com/review/relic/RecyclerViewItemCountAssertion.kt | reviewrelic-universe | 334,628,433 | false | null | package com.review.relic
import android.view.View
import androidx.recyclerview.widget.RecyclerView
import androidx.test.espresso.NoMatchingViewException
import androidx.test.espresso.ViewAssertion
import androidx.test.espresso.matcher.ViewMatchers.assertThat
import org.hamcrest.CoreMatchers.`is`
class RecyclerView... | 0 | Kotlin | 1 | 0 | 583d7a18f7fec1bed1d06c1f373d09a9d15e4f5d | 725 | android-sdk | Apache License 2.0 |
libs/rest/rest-server-impl/src/main/kotlin/net/corda/httprpc/server/impl/RestServerImpl.kt | corda | 346,070,752 | false | null | package net.corda.httprpc.server.impl
import net.corda.httprpc.PluggableRestResource
import net.corda.httprpc.RestResource
import net.corda.httprpc.security.read.RestSecurityManager
import net.corda.httprpc.server.RestServer
import net.corda.httprpc.server.config.RestServerSettingsProvider
import net.corda.httprpc.ser... | 82 | Kotlin | 7 | 24 | 17f5d2e5585a8ac56e559d1c099eaee414e6ec5a | 4,727 | corda-runtime-os | Apache License 2.0 |
shared_ui_components/src/commonMain/kotlin/com/eyedea/shared_ui_components/composables/ExpandableText.kt | Deorigami | 666,239,727 | false | null | package com.eyedea.shared_ui_components.composables
import androidx.compose.animation.animateContentSize
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.material.LocalTextStyle
import androidx.comp... | 0 | Kotlin | 0 | 0 | 4b586729a8d5a124e15fcb768c02c3f21253983f | 3,188 | CMP-Animax | Apache License 2.0 |
kontroller/src/test/kotlin/no/ssb/kostra/validation/report/ValidationReportTest.kt | statisticsnorway | 414,216,275 | false | {"Kotlin": 1617964, "TypeScript": 57883, "HTML": 694, "SCSS": 110} | package no.ssb.kostra.validation.report
import io.kotest.core.spec.style.BehaviorSpec
import io.kotest.data.forAll
import io.kotest.data.row
import io.kotest.matchers.string.shouldContain
import no.ssb.kostra.program.KotlinArguments
import java.time.LocalDateTime
class ValidationReportTest : BehaviorSpec({
Given(... | 1 | Kotlin | 0 | 1 | e6e4585da07f6518c2d5eece8938368e5f2b8b84 | 4,916 | kostra-kontrollprogram | MIT License |
src/main/kotlin/com/marcoeckstein/binance/api/client/prvt/account/Transfer.kt | marco-eckstein | 340,113,530 | false | {"Kotlin": 161467} | package com.marcoeckstein.binance.api.client.prvt.account
import java.math.BigDecimal
interface Transfer : Timestamped {
val txId: String
val uid: String
val asset: String
val amount: BigDecimal
val status: String
val type: RollDirection
val target: String
// It is unclear which types... | 0 | Kotlin | 3 | 3 | caa883355bc10946cb137bcc806d75a9003d32b2 | 433 | binance-api-kotlin | MIT License |
ethereumkit/src/main/java/org/p2p/ethereumkit/external/api/coingecko/response/CoinGeckoPriceResponse.kt | p2p-org | 306,035,988 | false | {"Kotlin": 4545395, "HTML": 3064848, "Java": 296567, "Groovy": 1601, "Shell": 1252} | package org.p2p.ethereumkit.external.api.coingecko.response
import com.google.gson.annotations.SerializedName
import java.math.BigDecimal
internal data class CoinGeckoPriceResponse(
@SerializedName("usd")
val priceInUsd: BigDecimal
)
| 8 | Kotlin | 18 | 34 | d091e18b7d88c936b7c6c627f4fec96bcf4a0356 | 244 | key-app-android | MIT License |
features/test-details/feature/src/main/java/teamcityapp/features/test_details/data/TestDetailsDataManagerImpl.kt | vase4kin | 68,111,887 | false | {"Gradle": 29, "JSON": 2, "Java Properties": 2, "Markdown": 6, "Shell": 1, "Ignore List": 26, "Batchfile": 1, "Text": 1, "YAML": 5, "INI": 24, "Proguard": 25, "XML": 228, "Java": 33, "Kotlin": 580, "HTML": 1, "Gradle Kotlin DSL": 1} | /*
* Copyright 2019 <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 wri... | 0 | Kotlin | 11 | 52 | 9abb1ed56c127d64679124c38d30b0014ec024de | 1,836 | TeamCityApp | Apache License 2.0 |
app/src/main/java/com/nadia/frenzy/utils/NetworkStateListener.kt | NadiaBelhaj | 558,358,508 | false | {"Kotlin": 125841} | package com.nadia.frenzy.utils
interface NetworkStateListener {
fun onNetworkDisconnected()
} | 0 | Kotlin | 1 | 0 | 57bbb11812e5d38710393413fa2296d393a52985 | 103 | Frenzy-Android-App-Front-end | MIT License |
vector/src/main/java/im/vector/riotx/features/invite/VectorInviteView.kt | saad100104006 | 212,864,777 | true | {"Gradle": 5, "Markdown": 7, "Java Properties": 2, "Shell": 15, "Text": 3, "Ignore List": 4, "Batchfile": 1, "YAML": 2, "Proguard": 3, "Java": 6, "XML": 454, "Kotlin": 1122, "JSON": 5, "HTML": 1} | /*
* Copyright 2019 New Vector Ltd
*
* 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 i... | 2 | null | 1 | 2 | 588e5d6e63ecfee9d93ef3da5987b8deb59f412f | 3,355 | NovaChat | Apache License 2.0 |
demo-command/src/main/kotlin/io/holixon/cqrshexagonaldemo/demoparent/command/domain/Link.kt | holixon | 747,608,283 | false | {"Kotlin": 26026, "TSQL": 2855, "Shell": 72} | package io.holixon.cqrshexagonaldemo.demoparent.command.domain
data class Link(
var id: Long,
var href: String,
var rel: String,
var render: String?,
)
| 7 | Kotlin | 0 | 0 | e77edf997fc816ba7ca392fec8df1a537d6611aa | 170 | cqrs-meets-hexagonal | Apache License 2.0 |
app/src/main/java/com/tarripoha/android/presentation/main/MainActivity.kt | rajatsangrame | 340,683,468 | false | {"Kotlin": 147650} | package com.tarripoha.android.presentation.main
import android.content.Context
import android.content.Intent
import android.os.Bundle
import android.os.Handler
import android.os.Looper
import androidx.activity.viewModels
import androidx.core.view.GravityCompat
import androidx.lifecycle.*
import androidx.navigation.Nav... | 0 | Kotlin | 0 | 0 | 8f9cc8efccb70b9a89ef96ccdccab53f2c1a0190 | 11,764 | tarripoha-android | MIT License |
app/src/main/java/com/example/resumeskillapp/core/utils/AnimationExtention.kt | ChorpitaSergiy | 518,162,219 | false | null | /*
* MIT License
*
* Copyright (C) 2022 Serhii Chorpita
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, ... | 0 | Kotlin | 0 | 0 | 18d26bbd130419bc85e2c24b62d429ec44cfc7e3 | 2,546 | ResumeSkillApp | MIT License |
permission-base/src/main/kotlin/com/github/b1412/permission/graphql/annotation/SchemaDocumentation.kt | b1412 | 206,295,390 | false | null | package com.github.b1412.permission.graphql.annotation
import java.lang.annotation.Retention
import java.lang.annotation.RetentionPolicy.RUNTIME
@Target(AnnotationTarget.CLASS, AnnotationTarget.FILE, AnnotationTarget.FIELD)
@Retention(RUNTIME)
annotation class SchemaDocumentation(val value: String)
| 1 | Kotlin | 1 | 1 | ee02bf12022ad23b334cb90b3f314be048c3d8eb | 302 | permission-api | Apache License 2.0 |
reaktive-testing/src/commonMain/kotlin/com/badoo/reaktive/test/single/AsyncTestResult.kt | badoo | 174,194,386 | false | {"Kotlin": 1507792, "Swift": 2268, "HTML": 956} | package com.badoo.reaktive.test.single
expect class AsyncTestResult
| 2 | Kotlin | 57 | 1,171 | 26788ab67ef85e2e3971e5bc79cce4ed9e3b5636 | 69 | Reaktive | Apache License 2.0 |
idea/src/org/jetbrains/kotlin/idea/hierarchy/calls/KotlinCalleeTreeStructureUtils.kt | JetBrains | 278,369,660 | false | null | /*
* Copyright 2010-2020 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.idea.hierarchy.calls
import com.intellij.ide.hierarchy.call.CallHierarchyNodeDes... | 0 | null | 30 | 82 | cc81d7505bc3e9ad503d706998ae8026c067e838 | 498 | intellij-kotlin | Apache License 2.0 |
tools/AlkitabConverterProcesses/src/yuku/alkitabconverter/in_ayt/Proses1.kt | yukuku | 5,657,549 | false | {"Gradle": 23, "Shell": 4, "Java Properties": 4, "Ignore List": 23, "Batchfile": 2, "EditorConfig": 1, "Text": 108, "Markdown": 1, "Proguard": 19, "XML": 464, "Java": 345, "INI": 2, "YAML": 1, "Python": 6, "Kotlin": 109, "JSON": 6, "HTML": 19, "CSS": 1, "Ant Build System": 1, "PHP": 1, "JAR Manifest": 2, "C++": 2, "C":... | package yuku.alkitabconverter.in_ayt
import yuku.alkitabconverter.util.Usfm2Usfx
import yuku.alkitabconverter.util.UsfmBookName
import java.io.File
import java.io.PrintWriter
// make it relative so it can be used by wordsend (because wordsend can't accept filenames starting with "/")
private val MID_DIR = File(System... | 23 | Java | 174 | 310 | d43ae4e17650b34b6757d0ddfd8100e44a677f67 | 2,072 | androidbible | Apache License 2.0 |
core/src/main/java/com/rotor/core/NetworkUtil.kt | rotorlab | 124,786,609 | false | {"Kotlin": 21018, "Java": 1599} | package com.rotor.core
import android.content.Context
import android.net.ConnectivityManager
/**
* Created by efraespada on 11/03/2018.
*/
class NetworkUtil {
companion object {
var TYPE_WIFI = 1
var TYPE_MOBILE = 2
var TYPE_NOT_CONNECTED = 0
val NETWORK_STATUS_NOT_CONNECTED = 0... | 1 | Kotlin | 1 | 2 | 96fb73af1be478e24ebcc25c8d5e8cb3f71e1314 | 1,420 | core-kotlin | Apache License 2.0 |
mui-kotlin/src/jsMain/kotlin/mui/material/PaginationItem.ext.kt | karakum-team | 387,062,541 | false | {"Kotlin": 3037818, "TypeScript": 2249, "HTML": 724, "CSS": 86} | // Automatically generated - do not modify!
package mui.material
import seskar.js.JsValue
import seskar.js.JsVirtual
@Suppress(
"NESTED_CLASS_IN_EXTERNAL_INTERFACE",
)
@JsVirtual
sealed external interface PaginationItemColor {
companion object {
@JsValue("standard")
val standard: PaginationIt... | 1 | Kotlin | 5 | 35 | 7c4376ba64ea84a5c40255d83c8c046978c3843d | 1,054 | mui-kotlin | Apache License 2.0 |
src/pt/goanimes/src/eu/kanade/tachiyomi/animeextension/pt/goanimes/GoAnimes.kt | almightyhak | 817,607,446 | false | null | package eu.kanade.tachiyomi.animeextension.pt.goanimes
import eu.kanade.tachiyomi.animeextension.pt.goanimes.extractors.BloggerJWPlayerExtractor
import eu.kanade.tachiyomi.animeextension.pt.goanimes.extractors.GoAnimesExtractor
import eu.kanade.tachiyomi.animeextension.pt.goanimes.extractors.JsDecoder
import eu.kanade... | 55 | null | 28 | 93 | 507dddff536702999357b17577edc48353eab5ad | 7,900 | aniyomi-extensions | Apache License 2.0 |
core-starter/src/main/kotlin/com/labijie/application/exception/InvalidPhoneNumberException.kt | hongque-pro | 309,874,586 | false | {"Kotlin": 1091422, "Java": 72766} | package com.labijie.application.exception
import com.labijie.application.ApplicationErrors
import com.labijie.application.ErrorCodedException
/**
* Created with IntelliJ IDEA.
* @author <NAME>
* @date 2019-12-14
*/
class InvalidPhoneNumberException(message:String? = null, val inputPhone: String)
: ErrorCodedE... | 0 | Kotlin | 0 | 7 | 7ace1a3912009a1214ac329f787704a1899e63b8 | 405 | application-framework | Apache License 2.0 |
src/main/kotlin/com/cluttered/cryptocurrency/PublicBittrexClient.kt | cluttered-cryptocurrency | 110,364,175 | false | null | package com.cluttered.cryptocurrency
import com.cluttered.cryptocurrency.services.PublicBittrexService
class PublicBittrexClient {
val public by lazy {
PublicBittrexService.create()
}
} | 0 | Kotlin | 3 | 5 | 02490eeef318b04c3407e56a9cfff0cfd1695bd8 | 204 | bittrex-kotlin-client | MIT License |
ChoiceSDK/choicesdk-maps/src/main/java/at/bluesource/choicesdk/maps/common/options/TileOverlayOptions.kt | bluesource | 342,192,341 | false | null | package at.bluesource.choicesdk.maps.common.options
import android.os.Parcel
import at.bluesource.choicesdk.maps.common.TileProvider
import at.bluesource.choicesdk.maps.common.TileProvider.Companion.toChoiceTileProvider
import at.bluesource.choicesdk.maps.factory.TileOverlayOptionsFactory
import at.bluesource.choicesd... | 11 | null | 19 | 85 | 4c70f2711f9ee71aa7ae73ab4d6eaa5a3fa81274 | 2,363 | ChoiceSDK | Apache License 2.0 |
graphics/src/main/java/com/gamapp/Test.kt | aliHosseinNezhad | 507,626,994 | false | null | package com.gamapp
import android.util.Log
import androidx.compose.foundation.background
import androidx.compose.foundation.interaction.DragInteraction
import androidx.compose.foundation.interaction.MutableInteractionSource
import androidx.compose.foundation.interaction.PressInteraction
import androidx.compose.foundat... | 0 | Kotlin | 0 | 2 | 8eddbdbcd5706072262ed7bd2cf6b2d0a6df6ada | 4,638 | DMPlayer_public | MIT License |
app/src/main/kotlin/com/flxrs/dankchat/data/api/auth/dto/ValidateErrorDto.kt | flex3r | 186,238,019 | false | {"Kotlin": 977613} | package com.flxrs.dankchat.data.api.auth.dto
import androidx.annotation.Keep
import kotlinx.serialization.Serializable
@Keep
@Serializable
data class ValidateErrorDto(
val status: Int,
val message: String
) | 73 | Kotlin | 37 | 266 | 49d86a05f3bba655881e6e93360f216316cee7c9 | 216 | DankChat | MIT License |
src/main/kotlin/net/machina/passman/controllers/EntriesFragmentController.kt | Machina123 | 260,757,657 | false | null | package net.machina.passman.controllers
import javafx.scene.control.Alert
import javafx.scene.control.ButtonBar
import javafx.scene.control.ButtonType
import kotlinx.serialization.builtins.list
import kotlinx.serialization.json.Json
import kotlinx.serialization.json.JsonConfiguration
import net.machina.passman.models.... | 0 | Kotlin | 1 | 0 | 6d057a5aa0e4865c8a834d55d3dba3b516e469d8 | 5,013 | PasswordManager | MIT License |
NewsApp/app/src/main/java/com/example/newsapp/ui/DetailNewsFragment.kt | aliahmedbd | 474,373,761 | false | {"Kotlin": 37878} | package com.example.newsapp.ui
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.webkit.WebView
import android.webkit.WebViewClient
import androidx.databinding.DataBindingUtil
import androidx.fragment.app.Fragment
import androidx.lifecycle... | 0 | Kotlin | 1 | 4 | 78b3f92af0fce375f4dad1032d086d74ee0ecc33 | 1,354 | News-App-MVVM-Kotlin-Coroutine--Flow-Koin-Retrofit- | Apache License 2.0 |
app/src/main/java/com/bytestore/snaprecyclerview/ItemViewHolder.kt | Humblefool97 | 357,503,042 | false | null | package com.bytestore.snaprecyclerview
import android.view.View
import android.widget.TextView
import androidx.recyclerview.widget.RecyclerView
class ItemViewHolder(view: View) : RecyclerView.ViewHolder(view) {
private val textView = view.findViewById<TextView>(R.id.textView)
fun bind(item: String?) {
... | 0 | Kotlin | 0 | 0 | 68261c04e3ca7f8d2d932d7a1818d56c40de6ad6 | 357 | SnapRecyclerView | Apache License 2.0 |
idea/tests/testData/checker/codeFragments/unusedEquals.kt | JetBrains | 278,369,660 | false | null | // INSPECTION_CLASS: org.jetbrains.kotlin.idea.inspections.UnusedEqualsInspection
fun main() {
val list = java.util.ArrayList<Int>()
<caret>val x = 0
}
fun <T> Collection<T>.isAny(predicate: (T) -> Boolean): Boolean {
for (item in this) {
if (predicate(item)) {
return true
}
... | 1 | null | 30 | 82 | cc81d7505bc3e9ad503d706998ae8026c067e838 | 343 | intellij-kotlin | Apache License 2.0 |
pushlib/src/main/java/com/saint/pushlib/opush/OPushInit.kt | saint-li | 225,820,695 | false | null | package com.saint.pushlib.opush
import android.app.Application
import android.text.TextUtils
import androidx.annotation.NonNull
import androidx.annotation.Nullable
import com.heytap.msp.push.HeytapPushManager
import com.heytap.msp.push.callback.ICallBackResultService
import com.saint.pushlib.BasePushInit
import com.sa... | 0 | Kotlin | 0 | 0 | 7ea600cb78dbbbcd04c7987c82d785ccd91fe9f2 | 3,115 | pushlib | Apache License 2.0 |
src/main/java/co/com/japl/ui/utils/NumbersUtil.kt | nano871022 | 875,529,336 | false | {"Kotlin": 95501} | package co.japl.android.myapplication.utils
import android.util.Log
import android.widget.EditText
import android.widget.TextView
import java.math.BigDecimal
import java.text.DecimalFormat
class NumbersUtil {
companion object {
private val formatDecimalMoneyCO = "$ #,###.00"
private val formatD... | 0 | Kotlin | 0 | 0 | 832da9fce9a8b2474091deb36bc2bde93b30cbef | 3,266 | japl-android-ui | Apache License 2.0 |
android/JDCache/src/main/java/com/jd/jdcache/JDCacheConstant.kt | JDFED | 561,670,655 | false | null | package com.jd.jdcache
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.SupervisorJob
internal object JDCacheConstant {
internal val applicationScope by lazy { CoroutineScope(SupervisorJob()) }
internal val ioDispatcher by lazy { Dispatchers.IO }
in... | 0 | HTML | 9 | 89 | 81f3a37f1caf33f4196e140604aa91c4c92663a2 | 482 | JDHybrid | MIT License |
domain/src/main/java/com/anytypeio/anytype/domain/block/interactor/SetLinkAppearance.kt | anyproto | 647,371,233 | false | {"Kotlin": 11623123, "Java": 69306, "Shell": 11350, "Makefile": 1334} | package com.anytypeio.anytype.domain.block.interactor
import com.anytypeio.anytype.core_models.Block
import com.anytypeio.anytype.core_models.Command
import com.anytypeio.anytype.core_models.Payload
import com.anytypeio.anytype.domain.base.BaseUseCase
import com.anytypeio.anytype.domain.base.Either
import com.anytypei... | 45 | Kotlin | 43 | 528 | c708958dcb96201ab7bb064c838ffa8272d5f326 | 940 | anytype-kotlin | RSA Message-Digest License |
app/src/main/java/com/example/newsapp/fragment/SavedFragment.kt | ACanERL | 634,247,510 | false | null |
package com.example.newsapp.fragment
import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import com.example.newsapp.R
import com.example.newsapp.adapter.NewsAdapter
import com.example.newsapp.databinding.FragmentBusin... | 0 | Kotlin | 0 | 1 | 96ab70407e1d736fcd0226cf47210ecf1860c3d8 | 1,013 | NewsApp-Kotlin | Apache License 2.0 |
app/src/main/java/com/omo/rememberme/presentation/peopleList/PeopleState.kt | omer358 | 810,455,324 | false | {"Kotlin": 154396} | package com.omo.rememberme.presentation.peopleList
import com.omo.rememberme.domain.model.People
data class PeopleState(
val people: List<People> = emptyList(),
val isLoading: Boolean = false,
val error: String? = null
) | 3 | Kotlin | 0 | 0 | aaec8a9ac53575524b6f4345296a755b8db9b293 | 234 | Remember-Me | MIT License |
app/src/main/java/com/mhappening/gameclock/data/clockthemes/ClockThemeList.kt | Matt-Haywood | 769,928,478 | false | {"Kotlin": 276837} | package com.mhappening.gameclock.data.clockthemes
import com.mhappening.gameclock.R
import com.mhappening.gameclock.model.AppTheme
import com.mhappening.gameclock.model.ClockFormat
import com.mhappening.gameclock.model.ClockThemePreferences
import com.mhappening.gameclock.ui.theme.ClockFont
class ClockThemeList {
... | 0 | Kotlin | 0 | 1 | 96fab1ca52d9ddede722300c1c42fe6324c4110a | 2,413 | Game-Clock | Apache License 2.0 |
app/src/main/java/com/mhappening/gameclock/data/clockthemes/ClockThemeList.kt | Matt-Haywood | 769,928,478 | false | {"Kotlin": 276837} | package com.mhappening.gameclock.data.clockthemes
import com.mhappening.gameclock.R
import com.mhappening.gameclock.model.AppTheme
import com.mhappening.gameclock.model.ClockFormat
import com.mhappening.gameclock.model.ClockThemePreferences
import com.mhappening.gameclock.ui.theme.ClockFont
class ClockThemeList {
... | 0 | Kotlin | 0 | 1 | 96fab1ca52d9ddede722300c1c42fe6324c4110a | 2,413 | Game-Clock | Apache License 2.0 |
app/src/main/java/me/devsaki/hentoid/parsers/content/MrmContent.kt | avluis | 37,775,708 | false | {"C": 4044011, "Kotlin": 2689694, "Java": 705445, "C++": 465431, "CMake": 44472, "M4": 42737, "Shell": 41599, "Roff": 38560, "Makefile": 33752, "Python": 26865, "HTML": 6592, "JavaScript": 6327, "CSS": 1842, "Go": 1235} | package me.devsaki.hentoid.parsers.content
import me.devsaki.hentoid.database.domains.Attribute
import me.devsaki.hentoid.database.domains.AttributeMap
import me.devsaki.hentoid.database.domains.Content
import me.devsaki.hentoid.enums.AttributeType
import me.devsaki.hentoid.enums.Site
import me.devsaki.hentoid.enums.S... | 173 | C | 80 | 983 | 2971c6c60a7d09e20b635d3e99519516258b3c4a | 3,273 | Hentoid | Apache License 2.0 |
kobalt-runner-agent/src/main/kotlin/com/buildServer/kobalt/agent/KobaltLoggingListener.kt | dmitry-zhuravlev | 70,356,271 | false | null | package com.buildServer.kobalt.agent
import jetbrains.buildServer.agent.BuildProgressLogger
import jetbrains.buildServer.agent.runner.ProcessListenerAdapter
import jetbrains.buildServer.messages.DefaultMessagesInfo
/**
* @author Dmitry Zhuravlev
* Date: 08/10/2016
*/
internal class KobaltLoggingListener(va... | 0 | Kotlin | 0 | 0 | 23dc942f8dacebe439aa21c29bfa7b990a9fdbe8 | 1,229 | kobalt-runner-teamcity-plugin | Apache License 2.0 |
app/src/main/java/com/dekow/githubuserinfo/domain/model/UserDetails.kt | Mohameddekow | 499,757,162 | false | {"Kotlin": 66031} | package com.dekow.githubuserinfo.domain.model
import com.google.gson.annotations.SerializedName
data class UserDetails (
val avatarUrl: String? = null,
val bio: String? = null,
val blog: String? = null,
val company: String? = null,
val htmlUrl: String? = null,
val followers: Int? = null,
v... | 0 | Kotlin | 4 | 6 | 0a7c630d18fce22b84a32e39b7a097b2abe9aa7e | 907 | GithubUserInfo | MIT License |
octicons/src/commonMain/kotlin/compose/icons/octicons/Megaphone16.kt | DevSrSouza | 311,134,756 | false | {"Kotlin": 36719092} | package compose.icons.octicons
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter
import a... | 17 | Kotlin | 25 | 571 | a660e5f3033e3222e3553f5a6e888b7054aed8cd | 4,797 | compose-icons | MIT License |
app/src/main/java/com/starwars/app/character/presentation/component/CharacterItem.kt | ali-yousuf | 701,354,114 | false | {"Kotlin": 78507} | package com.starwars.app.character.presentation.component
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.compose.material3.Card
import androidx.compos... | 0 | Kotlin | 0 | 0 | 679427a636e9704e50de9740c72a7c783735a0c3 | 1,690 | StarWars | Apache License 2.0 |
mvp/lib-core-mvp/src/main/java/ru/surfstudio/android/core/mvp/loadstate/BaseLoadStateRenderer.kt | surfstudio | 139,034,657 | false | {"Kotlin": 2966626, "Java": 1025166, "FreeMarker": 104337, "Groovy": 43020, "C++": 1542, "Ruby": 884, "CMake": 285, "Shell": 33, "Makefile": 25} | /*
Copyright (c) 2018-present, SurfStudio LLC.
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... | 5 | Kotlin | 30 | 249 | 6d73ebcaac4b4bd7186e84964cac2396a55ce2cc | 22,262 | SurfAndroidStandard | Apache License 2.0 |
matrix-sdk-android/src/androidTestRustCrypto/java/org/matrix/android/sdk/internal/database/CryptoSanityMigrationTest.kt | tchapgouv | 340,329,238 | false | null | /*
* Copyright 2023 The Matrix.org Foundation C.I.C.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 4 | null | 6 | 9 | 786e66d1aceeb1928d43c720633151c7ec284448 | 3,292 | tchap-android | Apache License 2.0 |
app/src/main/kotlin/com/epicdima/sfct/exsearch/parameters/SingleParameterItem.kt | EpicDima | 286,760,945 | false | null | package com.epicdima.sfct.exsearch.parameters
import android.content.Context
import androidx.lifecycle.LifecycleOwner
import androidx.lifecycle.MutableLiveData
import com.epicdima.sfct.R
import com.epicdima.sfct.core.usecases.ExsearchParams
import com.epicdima.sfct.exsearch.Parameter
import com.epicdima.sfct.exsearch.... | 0 | Kotlin | 0 | 1 | b6db1270bce60c4802a7c79705ee18e326a2b222 | 3,390 | SFCT | Apache License 2.0 |
src/main/java/me/shadowalzazel/mcodyssey/mobs/hostile/SculkCrawler.kt | ShadowAlzazel | 511,383,377 | false | null | package me.shadowalzazel.mcodyssey.mobs.hostile
import me.shadowalzazel.mcodyssey.mobs.base.OdysseyMob
import org.bukkit.entity.EntityType
object SculkCrawler: OdysseyMob("Sculk Crawler", EntityType.SPIDER, 10.0) {
// TODO: Add
} | 0 | Kotlin | 0 | 3 | f12c2f2877584cb0e2487e4607f4743acfea8874 | 237 | MinecraftOdyssey | MIT License |
app/src/main/kotlin/uz/mahmudxon/currency/ui/currencyDetails/CurrencyDetailsViewModel.kt | Mahmudxon | 314,833,106 | false | {"Kotlin": 132588} | package uz.mahmudxon.currency.ui.currencyDetails
import androidx.lifecycle.SavedStateHandle
import androidx.lifecycle.ViewModel
import dagger.hilt.android.lifecycle.HiltViewModel
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Dispatchers.IO
import kotlinx.coroutines.flow.MutableStateFlow
import kot... | 0 | Kotlin | 1 | 3 | 04268b92eab88dc5e92b80d15240c843a4ce8473 | 3,893 | Currency | Apache License 1.1 |
app/src/main/java/com/trilema/doctrinalang/ui/time/TimeFragment.kt | jimmycw74 | 298,804,278 | false | null | package com.trilema.doctrinalang.ui.time
import android.animation.ArgbEvaluator
import android.animation.ValueAnimator
import android.graphics.Color
import android.graphics.drawable.ColorDrawable
import android.graphics.drawable.TransitionDrawable
import android.os.Bundle
import android.speech.tts.TextToSpeech
import ... | 1 | null | 1 | 1 | b93972793ee36e927c21db60e61a185da810f1d2 | 8,782 | DoctrinaLang | Apache License 2.0 |
app/src/main/java/com/trilema/doctrinalang/ui/time/TimeFragment.kt | jimmycw74 | 298,804,278 | false | null | package com.trilema.doctrinalang.ui.time
import android.animation.ArgbEvaluator
import android.animation.ValueAnimator
import android.graphics.Color
import android.graphics.drawable.ColorDrawable
import android.graphics.drawable.TransitionDrawable
import android.os.Bundle
import android.speech.tts.TextToSpeech
import ... | 1 | null | 1 | 1 | b93972793ee36e927c21db60e61a185da810f1d2 | 8,782 | DoctrinaLang | Apache License 2.0 |
src/main/kotlin/de/debuglevel/bragi/chapter/AddChapterRequest.kt | debuglevel | 282,505,005 | false | null | package de.debuglevel.bragi.chapter
import de.debuglevel.bragi.entity.AddEntityRequest
data class AddChapterRequest(
var title: String
) : AddEntityRequest<Chapter> {
override fun toEntity(): Chapter {
return Chapter(
id = null,
title = this.title,
content = "",
... | 13 | Kotlin | 0 | 0 | 7ee6040b8280ea44c780ae6842aedc464b6278bf | 383 | bragi | The Unlicense |
dd-sdk-android/src/test/kotlin/com/datadog/android/log/internal/logger/DatadogLogHandlerTest.kt | nicholas-devlin | 237,227,700 | true | {"Kotlin": 655359} | /*
* Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0.
* This product includes software developed at Datadog (https://www.datadoghq.com/).
* Copyright 2016-2019 Datadog, Inc.
*/
package com.datadog.android.log.internal.logger
import com.datadog.andr... | 0 | null | 0 | 0 | 827e05b864def3e1573a1935fd59bddf22449215 | 7,271 | dd-sdk-android | Apache License 2.0 |
Matcheap/app/src/main/java/com/sandy/seoul_matcheap/ui/more/bookmark/BookmarkViewModel.kt | SANDY-9 | 677,761,441 | false | {"Kotlin": 220354, "Java": 2279} | package com.sandy.seoul_matcheap.ui.more.bookmark
import androidx.lifecycle.*
import com.sandy.seoul_matcheap.data.store.dao.BookmarkedStore
import com.sandy.seoul_matcheap.data.store.repository.BookmarkRepository
import com.sandy.seoul_matcheap.util.constants.ConnectState
import dagger.hilt.android.lifecycle.HiltView... | 0 | Kotlin | 0 | 0 | e3b577e7f17a10b2e21bad163e9336fb354f8e1e | 1,843 | Project_SeoulMatcheap2.0 | Apache License 2.0 |
app/src/main/java/org/ballistic/dreamjournalai/user_authentication/presentation/signup_screen/SignInScreen.kt | ErickSorto | 546,852,272 | false | null | package org.ballistic.dreamjournalai.user_authentication.presentation.signup_screen
| 0 | Kotlin | 0 | 2 | 150b630a9e74ca3b05d021ca0e8624c65cf14e8a | 85 | Dream-Journal-AI | MIT License |
src/test/kotlin/org/incava/rando/RandIntGeneratorTest.kt | jpace | 483,382,354 | false | {"Kotlin": 259801, "Ruby": 674} | package org.incava.rando
import org.incava.ikdk.io.Console
import org.incava.rando.DistributionAssert.assertVariance
import org.junit.jupiter.api.Test
fun MutableMap<Int, Int>.add(number: Int) {
this[number] = (this[number] ?: 0) + 1
}
class RandIntGeneratorTest {
@Test
fun multiRandDist() {
mult... | 0 | Kotlin | 0 | 0 | e3df114f0d3fadf746b78e54f3d3c97cb19b5b7f | 1,486 | mmonkeys | MIT License |
app/src/main/java/com/tegar/eats/ui/components/ListSection.kt | tegar97 | 714,543,837 | false | {"Kotlin": 151922} | package com.tegar.eats.ui.components
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.height
import androidx.compose.foundation.... | 0 | Kotlin | 0 | 0 | b2b191a37d46f64d228f59c31334e9c776aa4f0a | 1,746 | eats-app | MIT License |
intellij-plugin-verifier/verifier-cli/src/main/java/com/jetbrains/pluginverifier/PluginVerifierMain.kt | JetBrains | 3,686,654 | false | null | /*
* Copyright 2000-2020 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
*/
package com.jetbrains.pluginverifier
import com.jetbrains.plugin.structure.base.utils.createDir
import com.jetbrains.plugin.structure.base.utils.f... | 4 | null | 44 | 178 | 8be19a2c67854545d719fe56f3677122481b372f | 8,519 | intellij-plugin-verifier | Apache License 2.0 |
kotlin-typescript/src/jsMain/generated/typescript/TemplateHead.kt | JetBrains | 93,250,841 | false | {"Kotlin": 12635434, "JavaScript": 423801} | // Automatically generated - do not modify!
package typescript
sealed external interface TemplateHead : TemplateLiteralLikeNode, PseudoLiteralToken {
override val kind: SyntaxKind.TemplateHead
override val parent: TemplateHeadParent
}
| 38 | Kotlin | 162 | 1,347 | 997ed3902482883db4a9657585426f6ca167d556 | 245 | kotlin-wrappers | Apache License 2.0 |
app/src/main/java/com/hackathon/data/error/ServerError.kt | pixery-hallucinogen | 183,740,920 | false | {"Java": 657843, "Kotlin": 79353, "GLSL": 13202} | package com.hackathon.data.error
import android.content.Context
import com.hackathon.R
class ServerError(val message: String) : BaseError() {
override fun parseTitleAndMessage(context: Context): Pair<String, String> =
Pair(context.getString(R.string.errorOccurred), message)
}
| 1 | null | 1 | 1 | 649ff1e85f284770a33da40e8b9ed28cdde647bc | 292 | Android | MIT License |
idea/testData/refactoring/move/kotlin/moveTopLevelDeclarations/moveExtensionPropertyToFile/after/a/main.kt | JakeWharton | 99,388,807 | true | null | package a
import b.test
class Test {
fun foo() {
test
test = 0
}
}
| 0 | Kotlin | 28 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 93 | kotlin | Apache License 2.0 |
app/src/main/kotlin/com/simplemobiletools/draw/activities/MainActivity.kt | zipzapdat | 104,337,136 | true | {"Kotlin": 35233} | package com.simplemobiletools.draw.activities
import android.Manifest
import android.content.Intent
import android.content.pm.PackageManager
import android.graphics.Bitmap
import android.graphics.PorterDuff
import android.graphics.drawable.ColorDrawable
import android.net.Uri
import android.os.Bundle
import android.su... | 0 | Kotlin | 0 | 0 | b7c1da1f704a245f33226c9a21a2907e707f6b10 | 9,439 | Simple-Draw | Apache License 2.0 |
app/src/main/java/eu/buney/ui/testdatabasetransaction/coroutines/CoroutineDispatchersModule.kt | yankeppey | 527,255,812 | false | null | package eu.buney.ui.testdatabasetransaction.coroutines
import dagger.Binds
import dagger.Module
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent
import javax.inject.Singleton
/**
* @author <NAME>
*/
@InstallIn(SingletonComponent::class)
@Module
interface CoroutineDispatchersModule {
... | 0 | Kotlin | 0 | 1 | d7a3761c2ce49277255ea3374ea93e4a93e4ba31 | 455 | cautious-chainsaw | MIT License |
ktor-server/ktor-server-netty/src/io/ktor/server/netty/http1/NettyHttp1ApplicationRequest.kt | Ekito | 112,228,070 | false | null | package io.ktor.server.netty.http1
import io.ktor.application.*
import io.ktor.http.*
import io.ktor.server.netty.*
import io.netty.channel.*
import io.netty.handler.codec.http.*
import io.netty.handler.codec.http.multipart.*
import kotlinx.coroutines.experimental.io.*
internal class NettyHttp1ApplicationRequest(call... | 0 | null | 0 | 1 | 6b0fadcc30d3942a9d0ae8f2758c267ab557f8d5 | 971 | ktor | Apache License 2.0 |
android/libraries/libMatches/src/main/java/nl/entreco/giddyapp/libmatches/delete/DeleteMatchRequest.kt | Entreco | 164,009,012 | false | null | package nl.entreco.giddyapp.libmatches.delete
data class DeleteMatchRequest(val uuid: String, val horseId: String) | 23 | null | 1 | 1 | 59960640ecd182c502df2d52fa17ed619d415c91 | 115 | GiddyApp | Apache License 2.0 |
lint/src/main/java/com/adyen/checkout/lint/LintIssueRegistry.kt | Adyen | 91,104,663 | false | {"Kotlin": 4786289, "Shell": 4700} | /*
* Copyright (c) 2024 <NAME>.
*
* This file is open source and available under the MIT license. See the LICENSE file for more info.
*
* Created by oscars on 13/8/2024.
*/
package com.adyen.checkout.lint
import com.android.tools.lint.client.api.IssueRegistry
import com.android.tools.lint.detector.api.CURRENT_A... | 23 | Kotlin | 66 | 126 | 5b728181dbf41af37c5f9d436b4c65cb30a23e41 | 685 | adyen-android | MIT License |
app/src/main/java/com/mengsoftstudio/android/footballmobile/contracts/SearchMatchContract.kt | fajaragungpramana | 180,994,708 | false | {"Kotlin": 118062} | package com.mengsoftstudio.android.footballmobile.contracts
import com.mengsoftstudio.android.footballmobile.models.Match
interface SearchMatchContract {
interface View {
fun onShowLoading()
fun onSuccessFetchData(matchList: List<Match>)
fun onFailureFetchData()
fun onHideLoading... | 0 | Kotlin | 0 | 5 | 8f3142f1a0d9102c507e82b63f253f4778e02e82 | 442 | android.football | Apache License 2.0 |
app/src/main/java/de/dertyp7214/rboardthememanager/core/Fragment.kt | DerTyp7214 | 372,557,655 | false | null | package de.dertyp7214.rboardthememanager.core
import androidx.fragment.app.Fragment
import com.google.android.material.transition.MaterialSharedAxis
fun Fragment.applyTransitions() {
enterTransition = MaterialSharedAxis(MaterialSharedAxis.Z, true)
returnTransition = MaterialSharedAxis(MaterialSharedAxis.Z, fa... | 0 | Kotlin | 9 | 96 | 18deb69aad3100b9f2d73256eea221a4f7b6f6ef | 575 | RboardThemeManagerV3 | MIT License |
src/main/kotlin/frc/team3324/robot/shooter/commands/RunShooter.kt | frc3324 | 329,937,526 | false | null | package frc.team3324.robot.shooter.commands
import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard
import edu.wpi.first.wpilibj2.command.CommandBase
import frc.team3324.robot.Robot
import frc.team3324.robot.shooter.Shooter
import frc.team3324.robot.util.FrontCamera
import kotlin.math.pow
class RunShooter(val shoo... | 1 | Kotlin | 3 | 0 | 854e197b5cc5ce2412c1b315513a7e6764957aa2 | 972 | Metrobots2021Robot | MIT License |
app/src/main/java/com/gzaber/keepnote/data/repository/model/ModelMappingExt.kt | gzaber | 690,170,857 | false | {"Kotlin": 133592} | package com.gzaber.keepnote.data.repository.model
import com.gzaber.keepnote.data.repository.model.Folder
import com.gzaber.keepnote.data.repository.model.Note
import com.gzaber.keepnote.data.source.room.FolderEntity
import com.gzaber.keepnote.data.source.room.NoteEntity
fun Note.toEntity() = NoteEntity(
id, fold... | 0 | Kotlin | 0 | 0 | edbb170c29b26c8f881fc06412d517ca5171196c | 570 | KeepNote | MIT License |
app/src/main/java/com/blissvine/dagerhiltdemo/repository/UserRepo.kt | abhii2002 | 616,537,609 | false | null | package com.blissvine.dagerhiltdemo.repository
import com.blissvine.dagerhiltdemo.data.UserDao
import com.blissvine.dagerhiltdemo.model.User
import kotlinx.coroutines.flow.Flow
import javax.inject.Inject
class UserRepo @Inject constructor(private val userDao: UserDao) {
//insert user details to room
suspend ... | 0 | Kotlin | 0 | 0 | 97b2070d11d19f95835deb863d6ac8bdb29a411a | 666 | DaggerHiltDemo | MIT License |
core/src/main/kotlin/co/anitrend/arch/core/model/IStateLayoutConfig.kt | AniTrend | 155,243,365 | false | {"Kotlin": 385489} | /**
* Copyright 2021 AniTrend
*
* 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 i... | 8 | Kotlin | 1 | 7 | de2a3b77f1fe84c8742fb18ff10f61cb8b3a1660 | 1,846 | support-arch | Apache License 2.0 |
app/src/main/java/com/example/meteorcrusher/GameViewModel.kt | ayowee | 791,502,537 | false | {"Kotlin": 9314} | package com.example.meteorcrusher
import androidx.lifecycle.ViewModel
class GameViewModel : ViewModel() {
var score = 0
var speed = 1
var myShipPosition = 0
}
| 0 | Kotlin | 1 | 2 | a6fb8b3e0c66a18a836bb1daefe517489d6aa380 | 173 | MeteorEscape | MIT License |
src/main/kotlin/spritz/error/interpreting/ReturnTypeMismatchError.kt | SpritzLanguage | 606,570,819 | false | null | package spritz.error.interpreting
import spritz.interpreter.context.Context
import spritz.lexer.position.Position
/**
* @author surge
* @since 02/03/2023
*/
class MutabilityAssignationError(details: String, start: Position, end: Position, context: Context) : RuntimeError("MutabilityAssignationError", details, star... | 0 | Kotlin | 0 | 23 | f50d81fa2d5aa7784ac4c76717603eea079c8db2 | 336 | Spritz | The Unlicense |
presentation/src/main/java/com/hamza/clean/ui/moviedetails/MovieDetailsPlaceholderFragment.kt | hmz9 | 612,902,426 | false | null | package com.hamza.clean.ui.moviedetails
import androidx.fragment.app.Fragment
import com.hamza.clean.R
/**
* @author by <NAME> on 03/09/2023
*/
class MovieDetailsPlaceholderFragment : Fragment(R.layout.fragment_movie_details_placeholder) | 0 | Kotlin | 0 | 0 | a6b10845b07b3bc5a651c77503ab0e50b79ba7ba | 242 | movie-android-clean-mvvm | Apache License 2.0 |
src/main/kotlin/uk/gov/justice/digital/hmpps/prisonerfromnomismigration/prisonperson/PrisonPersonMigrationService.kt | ministryofjustice | 452,734,022 | false | {"Kotlin": 2526024, "Mustache": 1803, "Dockerfile": 1377} | package uk.gov.justice.digital.hmpps.prisonerfromnomismigration.prisonperson
import com.microsoft.applicationinsights.TelemetryClient
import org.slf4j.Logger
import org.slf4j.LoggerFactory
import org.springframework.beans.factory.annotation.Value
import org.springframework.core.ParameterizedTypeReference
import org.sp... | 1 | Kotlin | 1 | 2 | c2246f3388fdbd46f6dba28c26940048607f9704 | 7,518 | hmpps-prisoner-from-nomis-migration | MIT License |
src/main/kotlin/uk/gov/justice/digital/hmpps/prisonerfromnomismigration/prisonperson/PrisonPersonMigrationService.kt | ministryofjustice | 452,734,022 | false | {"Kotlin": 2526024, "Mustache": 1803, "Dockerfile": 1377} | package uk.gov.justice.digital.hmpps.prisonerfromnomismigration.prisonperson
import com.microsoft.applicationinsights.TelemetryClient
import org.slf4j.Logger
import org.slf4j.LoggerFactory
import org.springframework.beans.factory.annotation.Value
import org.springframework.core.ParameterizedTypeReference
import org.sp... | 1 | Kotlin | 1 | 2 | c2246f3388fdbd46f6dba28c26940048607f9704 | 7,518 | hmpps-prisoner-from-nomis-migration | MIT License |
uicorektest/src/main/java/com/mozhimen/uicorektest/recyclerk/RecyclerKLifecycleActivity.kt | mozhimen | 353,952,154 | false | {"Kotlin": 2595996, "Java": 371518, "AIDL": 1012} | package com.mozhimen.uicorektest.recyclerk
import android.os.Bundle
import android.widget.LinearLayout
import androidx.recyclerview.widget.DividerItemDecoration
import androidx.recyclerview.widget.LinearLayoutManager
import com.mozhimen.basick.elemk.androidx.appcompat.bases.databinding.BaseActivityVB
import com.mozhim... | 0 | Kotlin | 7 | 114 | d74563aa5722b01ceb0e7d24c9001050b577db5d | 1,666 | SwiftKit | Apache License 2.0 |
app/src/main/java/com/igorvd/githubrepo/dependency_injection/domain/GitHubRepoModule.kt | igorvilela28 | 106,742,458 | true | {"Gradle": 3, "Shell": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "Kotlin": 47, "XML": 18, "Java": 2} | package com.igorvd.githubrepo.dependency_injection.domain
import com.igorvd.githubrepo.data.repository.impl.GitHubRepoNetworkRepository
import com.igorvd.githubrepo.data.repository.GitHubRepoRepository
import com.igorvd.githubrepo.domain.LoadGitHubReposInteractor
import dagger.Module
import dagger.Provides
import java... | 0 | Kotlin | 0 | 5 | d484622a1c05ff2baf87dde2c163afbdb239b45f | 861 | Github-Popular-Repos | Apache License 2.0 |
mastodonk-core/src/commonMain/kotlin/fr/outadoc/mastodonk/serializer/TimestampToInstantSerializer.kt | outadoc | 361,237,514 | false | null | package fr.outadoc.mastodonk.serializer
import kotlinx.datetime.Instant
import kotlinx.serialization.KSerializer
import kotlinx.serialization.descriptors.PrimitiveKind
import kotlinx.serialization.descriptors.PrimitiveSerialDescriptor
import kotlinx.serialization.descriptors.SerialDescriptor
import kotlinx.serializati... | 1 | Kotlin | 0 | 3 | 0dff922e6077184f4d9fcefb9f5204fac6b3bdfd | 845 | mastodonk | Apache License 2.0 |
src/main/kotlin/io/hirasawa/server/chat/ChatChannel.kt | cg0 | 256,633,551 | false | {"Gradle": 2, "INI": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 2, "Kotlin": 304, "Java": 2, "YAML": 2, "XML": 10} | package io.hirasawa.server.chat
import io.hirasawa.server.Hirasawa
import io.hirasawa.server.chat.message.GlobalChatMessage
import io.hirasawa.server.bancho.packets.BanchoPacket
import io.hirasawa.server.bancho.packets.ChannelAvailablePacket
import io.hirasawa.server.bancho.packets.SendMessagePacket
import io.hirasawa... | 38 | Kotlin | 0 | 6 | ce416d649095bbaee105fcbaa88e9a3c7cf745ac | 4,578 | Hirasawa-Project | MIT License |
espresso-server/app/src/androidTest/java/io/appium/espressoserver/lib/model/DataMatcherJson.kt | o-x-y-g-e-n | 225,694,846 | true | {"Kotlin": 390193, "Java": 267137, "JavaScript": 112892, "Shell": 897} | package io.appium.espressoserver.lib.model
import androidx.test.espresso.DataInteraction
import androidx.test.espresso.Espresso.onData
import com.google.gson.*
import com.google.gson.annotations.JsonAdapter
import io.appium.espressoserver.lib.handlers.exceptions.AppiumException
import io.appium.espressoserver.lib.hand... | 0 | Kotlin | 0 | 0 | a3e44b30671c5fa84c2d1a40c9d3d3812f071613 | 1,781 | appium-espresso-driver | Apache License 2.0 |
app/src/main/java/com/karthek/android/s/gallery/state/db/SMedia.kt | karthek-git | 601,273,989 | false | null | package com.karthek.android.s.gallery.state.db
import android.content.ContentUris
import android.net.Uri
import android.provider.MediaStore
import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.Ignore
import androidx.room.PrimaryKey
@Entity
data class SMedia(
@PrimaryKey
var id: Int = 0,
... | 0 | Kotlin | 0 | 0 | 52a0d3933ae3b2bd22a91a03bc043820dc2e4fdc | 1,715 | Gallery | Apache License 2.0 |
ProShaped/app/src/main/java/com/example/proshapedapp/workoutScreenPackage/DisplayViewModel.kt | Capybara-Dev-Team | 505,395,940 | false | null | package com.example.proshapedapp.workoutScreenPackage
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.example.proshapedapp.workoutScreenPackage.database.Graph
import com.example.proshapedapp.workoutScreenPackage.database.WorkoutItem
import com.example.proshapedapp.workoutScreenP... | 0 | Kotlin | 2 | 2 | c1ab400ef04e04b0424878750a1f3cdc74930a23 | 1,580 | ProShaped-app | Apache License 2.0 |
src/main/kotlin/dev/zacsweers/ReadMeTemplate.kt | ZacSweers | 288,008,412 | false | null | package dev.zacsweers
fun createReadMe(
githubActivity: List<ActivityItem>,
blogActivity: List<ActivityItem>
): String {
return """
Currently working on [Slack](https://slack.com/). Read [my blog](https://zacsweers.dev/) or follow me on [Twitter](https://twitter.com/ZacSweers)/[Mastodon](https://hachyderm.io... | 4 | Kotlin | 1 | 15 | fab8139be563d2301749d596dd687bfca945ec48 | 932 | ZacSweers | Apache License 2.0 |
ksoup/src/com/fleeksoft/ksoup/ported/io/BufferedReader.kt | fleeksoft | 719,100,459 | false | null | package com.fleeksoft.io
import com.fleeksoft.io.exception.IOException
import com.fleeksoft.io.internal.ObjHelper
import kotlin.math.min
/**
* Creates a buffering character-input stream that uses an input buffer of
* the specified size.
*
* @param reader A Reader
* @param sz Input-buffer size
*
* @throws Ill... | 7 | null | 11 | 281 | 4fd2972a008ee39df42c5ee8cb06ff54860d3e7b | 14,703 | ksoup | Apache License 2.0 |
ksoup/src/com/fleeksoft/ksoup/ported/io/BufferedReader.kt | fleeksoft | 719,100,459 | false | null | package com.fleeksoft.io
import com.fleeksoft.io.exception.IOException
import com.fleeksoft.io.internal.ObjHelper
import kotlin.math.min
/**
* Creates a buffering character-input stream that uses an input buffer of
* the specified size.
*
* @param reader A Reader
* @param sz Input-buffer size
*
* @throws Ill... | 7 | null | 11 | 281 | 4fd2972a008ee39df42c5ee8cb06ff54860d3e7b | 14,703 | ksoup | Apache License 2.0 |
mbprotokit/src/main/java/com/daimler/mbprotokit/dto/car/vehicledata/FilterParticleState.kt | Daimler | 199,815,262 | false | null | package com.daimler.mbprotokit.dto.car.vehicledata
enum class FilterParticleState(val id: Int) {
HIGH(0),
MEDIUM(1),
LOW(2);
companion object {
fun map(id: Int?) = values().find {
id == it.id
}
fun map(): (Int?) -> FilterParticleState? = { map(it) }
}
}
| 1 | null | 8 | 15 | 3721af583408721b9cd5cf89dd7b99256e9d7dda | 313 | MBSDK-Mobile-Android | MIT License |
app/src/main/java/com/anytypeio/anytype/ui/sets/modals/SetObjectSetRecordNameFragment.kt | anyproto | 647,371,233 | false | {"Kotlin": 11623123, "Java": 69306, "Shell": 11350, "Makefile": 1334} | package com.anytypeio.anytype.ui.sets.modals
import android.text.InputType.TYPE_CLASS_TEXT
import android.text.InputType.TYPE_TEXT_FLAG_AUTO_CORRECT
import android.text.InputType.TYPE_TEXT_FLAG_CAP_SENTENCES
import android.view.LayoutInflater
import android.view.ViewGroup
import android.widget.EditText
import androidx... | 45 | Kotlin | 43 | 528 | c708958dcb96201ab7bb064c838ffa8272d5f326 | 3,759 | anytype-kotlin | RSA Message-Digest License |
src/main/kotlin/no/nav/hm/grunndata/db/indexer/AgreementIndexer.kt | navikt | 555,213,385 | false | null | package no.nav.hm.grunndata.db.indexer
import io.micronaut.context.annotation.Value
import jakarta.inject.Singleton
import org.opensearch.action.bulk.BulkResponse
import org.slf4j.LoggerFactory
@Singleton
class AgreementIndexer(private val indexer: Indexer,
@Value("\${AGREEMENT_ALIASNAME:agreemen... | 0 | Kotlin | 0 | 1 | 72d24067e6263f57ed34f8a85bcdf1ac6cab4c93 | 1,687 | hm-grunndata-db | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.