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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
feature-account-impl/src/main/java/jp/co/soramitsu/account/impl/presentation/exporting/json/password/ExportJsonPasswordPayload.kt | soramitsu | 278,060,397 | false | null | package jp.co.soramitsu.account.impl.presentation.exporting.json.password
import android.os.Parcelable
import jp.co.soramitsu.runtime.multiNetwork.chain.model.ChainId
import kotlinx.parcelize.Parcelize
@Parcelize
class ExportJsonPasswordPayload(
val metaId: Long,
val chainId: ChainId,
val isExportWallet: ... | 4 | null | 30 | 89 | 1de6dfa7c77d4960eca2d215df2bdcf71a2ef5f2 | 343 | fearless-Android | Apache License 2.0 |
libraries/tools/kotlin-gradle-plugin/src/common/kotlin/org/jetbrains/kotlin/gradle/targets/native/SetupEmbedAndSignAppleFrameworkTaskSideEffect.kt | JetBrains | 3,432,266 | false | null | /*
* Copyright 2010-2023 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.gradle.targets.native
import org.jetbrains.kotlin.gradle.plugin.mpp.Framework
im... | 181 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 1,025 | kotlin | Apache License 2.0 |
app-rating/src/main/java/com/stepstone/apprating/listener/OnRatingBarChangedListener.kt | marlonbosse | 96,430,768 | false | null | package com.stepstone.apprating.listener
/**
* @author <NAME> (<EMAIL>) on 08/05/2017.
*/
interface OnRatingBarChangedListener {
fun onRatingChanged(rating: Int)
companion object {
val NULL: OnRatingBarChangedListener = object : OnRatingBarChangedListener {
override fun onRatingChang... | 1 | null | 1 | 1 | b537ffb6dd74b42569f3a8a81bfa7d66b2ffff01 | 371 | android-material-app-rating | Apache License 2.0 |
STAWSDashboard/src/main/java/com/st/assetTracking/dashboard/AssetTrackingCertManager.kt | STMicroelectronics | 215,806,141 | false | {"Java": 1879263, "Kotlin": 1551485, "HTML": 13728} | package com.st.assetTracking.dashboard
import android.app.Activity
import android.os.Bundle
import android.widget.Toast
import androidx.activity.viewModels
import androidx.appcompat.app.AppCompatActivity
import androidx.fragment.app.Fragment
import androidx.fragment.app.FragmentFactory
import androidx.lifecycle.Obser... | 0 | Java | 3 | 4 | 7d15d68a7b0e94baa69a2632ae3de37fb32178a8 | 7,112 | STAssetTracking_Android | The Unlicense |
src/main/kotlin/com/demonwav/mcdev/exception/MinecraftSetupException.kt | jaspersmitNL | 91,268,416 | true | {"Kotlin": 864510, "HTML": 7115, "Groovy": 2036, "Lex": 1701, "Java": 920} | /*
* Minecraft Dev for IntelliJ
*
* https://minecraftdev.org
*
* Copyright (c) 2017 minecraft-dev
*
* MIT License
*/
package com.demonwav.mcdev.exception
import javax.swing.JComponent
class MinecraftSetupException(msg: String, val j: JComponent) : Exception(msg) {
val error: String
get() {
... | 0 | Kotlin | 0 | 0 | d04e5c68f8301ec28affe621540c6801abf12881 | 714 | MinecraftDev | MIT License |
domain/src/main/java/com/worldsnas/domain/repo/genre/MovieGenreFetcher.kt | worldsnas | 178,716,293 | false | {"Gradle": 25, "YAML": 2, "Java Properties": 2, "Proguard": 5, "Shell": 1, "Text": 2, "Ignore List": 17, "Batchfile": 1, "Markdown": 1, "Kotlin": 318, "XML": 61, "JSON": 4, "INI": 1, "Java": 39} | package com.worldsnas.domain.repo.genre
import com.worldsnas.domain.helpers.errorHandler
import com.worldsnas.domain.model.servermodels.GenreListServerModel
import com.worldsnas.panther.RFetcher
import io.reactivex.Single
import retrofit2.Response
import javax.inject.Inject
class MovieGenreFetcher @Inject constructor... | 1 | Kotlin | 8 | 57 | c7d084d2cf2c4f9486337fe347d5d6b8b5806e0a | 530 | AIO | Apache License 2.0 |
app/src/main/java/org/stepic/droid/ui/fragments/TextFeedbackFragment.kt | vivekkalyanarangan30 | 79,981,400 | true | {"Java Properties": 2, "Gradle": 3, "Shell": 2, "Text": 2, "Markdown": 1, "Git Attributes": 1, "Batchfile": 1, "Ignore List": 2, "Proguard": 1, "Java": 301, "Kotlin": 233, "XML": 180, "CSS": 1, "JavaScript": 140} | package org.stepic.droid.ui.fragments
import android.app.ProgressDialog
import android.content.Context
import android.os.Bundle
import android.support.v7.app.AppCompatActivity
import android.support.v7.widget.Toolbar
import android.view.*
import android.view.inputmethod.EditorInfo
import android.view.inputmethod.Input... | 0 | Java | 0 | 0 | e841712ec80cb14be6378654eafe6bd6bbd7871c | 6,421 | stepik-android | Apache License 2.0 |
app/src/main/java/vn/loitp/up/a/db/sqliteMultiTableAdvance/md/Inspection.kt | tplloi | 126,578,283 | false | null | package vn.loitp.a.db.sqliteMultiTableAdvance.md
import androidx.annotation.Keep
import com.loitp.core.base.BaseModel
/**
* Created by Loitp on 15.09.2022
* Galaxy One company,
* Vietnam
* +840766040293
* <EMAIL>
*/
@Keep
class Inspection : BaseModel() {
var id: Int = 0
var inspectionId: String? = null... | 1 | Kotlin | 1 | 9 | 1bf1d6c0099ae80c5f223065a2bf606a7542c2b9 | 355 | base | Apache License 2.0 |
compiler/testData/codegen/box/specialBuiltins/maps.kt | JakeWharton | 99,388,807 | false | null | // IGNORE_BACKEND_FIR: JVM_IR
// IGNORE_BACKEND: NATIVE
class A : Map<String, String> {
override val size: Int get() = 56
override fun isEmpty(): Boolean {
throw UnsupportedOperationException()
}
override fun containsKey(key: String): Boolean {
throw UnsupportedOperationException()
... | 181 | null | 5771 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 1,042 | kotlin | Apache License 2.0 |
compiler/testData/codegen/box/specialBuiltins/maps.kt | JakeWharton | 99,388,807 | false | null | // IGNORE_BACKEND_FIR: JVM_IR
// IGNORE_BACKEND: NATIVE
class A : Map<String, String> {
override val size: Int get() = 56
override fun isEmpty(): Boolean {
throw UnsupportedOperationException()
}
override fun containsKey(key: String): Boolean {
throw UnsupportedOperationException()
... | 181 | null | 5771 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 1,042 | kotlin | Apache License 2.0 |
app/src/main/java/cn/neday/sheep/enum/OrderType.kt | nEdAy | 199,621,863 | false | null | package cn.neday.sheep.enum
/**
* 淘宝订单
* 0:全部
* 1:待付款
* 2:待发货
* 3:待收货
* 4:待评价
*/
enum class OrderType(val index: Int) {
ALL(0),
DAT_FU_KUAN(1),
DAT_FA_HUO(2),
DAT_SHOU_HUO(3),
DAY_PING_JIA(4)
} | 1 | Kotlin | 3 | 11 | 584bc01304ba9faf03b341fb0d6590830118f572 | 221 | Sheep | MIT License |
component_user/src/main/java/top/littlefogcat/clickerx/user/UserService.kt | LittleFogCat | 336,808,357 | false | null | package top.littlefogcat.clickerx.user
import retrofit2.http.*
import top.littlefogcat.clickerx.base.entities.User
import top.littlefogcat.clickerx.base.entities.UserLocal
import top.littlefogcat.clickerx.base.entities.UserSimple
import top.littlefogcat.network.NetResult
/**
* @Author:littlefogcat
* @Email:<EMAIL>
... | 1 | null | 2 | 6 | 8a04e32df68dfc45d7fed84c9c715cb0066f3e72 | 1,034 | ClickerX | Apache License 2.0 |
idea/testData/android/lintQuickfix/targetApi/annotation.kt | gigliovale | 89,726,097 | false | {"Java": 23302590, "Kotlin": 21941511, "JavaScript": 137521, "Protocol Buffer": 56992, "HTML": 49980, "Lex": 18051, "Groovy": 14093, "ANTLR": 9797, "IDL": 7706, "Shell": 5152, "CSS": 4679, "Batchfile": 3721} | // INTENTION_TEXT: Add @TargetApi(LOLLIPOP) Annotation
// INSPECTION_CLASS: org.jetbrains.android.inspections.klint.AndroidLintInspectionToolProvider$AndroidKLintNewApiInspection
import android.graphics.drawable.VectorDrawable
import kotlin.reflect.KClass
annotation class SomeAnnotationWithClass(val cls: KClass<*>)
... | 0 | Java | 4 | 6 | ce145c015d6461c840050934f2200dbc11cb3d92 | 407 | kotlin | Apache License 2.0 |
build-logic/convention/src/main/kotlin/soup/compose/material/motion/buildlogic/Android.kt | fornewid | 347,555,255 | false | null | package soup.compose.material.motion.buildlogic
import com.android.build.gradle.BaseExtension
import org.gradle.api.JavaVersion
import org.gradle.api.Project
import org.gradle.kotlin.dsl.configure
fun Project.configureAndroid() {
android {
compileSdkVersion(Versions.compileSdk)
defaultConfig {
... | 4 | null | 7 | 574 | 9d17a5219c80a7da0dc5d3541f4c6f18caad139e | 751 | material-motion-compose | Apache License 2.0 |
vire-engine/src/main/kotlin/net/voxelpi/vire/engine/kernel/variable/UninitializedVariableException.kt | VoxelPi | 700,036,011 | false | {"Kotlin": 398478} | package net.voxelpi.vire.engine.kernel.variable
public class UninitializedVariableException(
public val variable: Variable<*>,
) : Exception("The variable \"${variable}\" has not jet been assigned a value.")
| 1 | Kotlin | 0 | 0 | a0d187668387520990923ec711d658bcacadf5da | 213 | Vire | MIT License |
Android/Memorandum/app/src/main/java/com/memorandum/contract/MainContract.kt | Im-Tae | 222,332,127 | false | null | package com.memorandum.contract
import com.baoyz.widget.PullRefreshLayout
import com.memorandum.base.BasePresenter
import com.memorandum.base.BaseView
import com.memorandum.model.Memo
class MainContract {
interface View: BaseView<Presenter> {
fun setMemo(memoList: ArrayList<Memo>)
fun finishAffin... | 0 | Kotlin | 0 | 2 | 4952dbb63a2f416c7ca294825d14977287f10ffa | 633 | Memorandum | Apache License 2.0 |
app/src/main/java/com/msvalandro/unitconverter/MainActivity.kt | msvalandro | 855,972,506 | false | {"Kotlin": 11001} | package com.msvalandro.unitconverter
import android.annotation.SuppressLint
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.activity.enableEdgeToEdge
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.... | 0 | Kotlin | 0 | 0 | f115c097179bc1216f750431fe1e77beec5f3af4 | 6,968 | UnitConverter | MIT License |
src/main/kotlin/me/devoxin/jukebot/commands/misc/Feedback.kt | Devoxin | 104,263,117 | false | null | package me.devoxin.jukebot.commands.misc
import club.minnced.discord.webhook.WebhookClient
import club.minnced.discord.webhook.WebhookClientBuilder
import club.minnced.discord.webhook.send.WebhookEmbed
import me.devoxin.jukebot.JukeBot
import me.devoxin.jukebot.framework.Command
import me.devoxin.jukebot.framework.Com... | 0 | null | 10 | 38 | ac1327c2345371449ddbe9df7cdff100e613bd43 | 1,981 | JukeBot | Apache License 2.0 |
Demo/src/main/java/com/angcyo/uicore/MainFragment.kt | angcyo | 229,037,572 | false | {"Shell": 3505} | package com.angcyo.uicore
import android.content.Intent
import android.os.Bundle
import android.util.DisplayMetrics
import android.util.TypedValue
import android.view.Gravity
import android.view.View
import androidx.coordinatorlayout.widget.CoordinatorLayout
import com.angcyo.base.dslAHelper
import com.angcyo.base.dsl... | 0 | Shell | 2 | 1 | e981f6530e91023ae8fb722b2cacd091e5a0fb24 | 18,275 | UICoreDemo | MIT License |
mobile_app1/module346/src/main/java/module346packageKt0/Foo251.kt | uber-common | 294,831,672 | false | null | package module346packageKt0;
annotation class Foo251Fancy
@Foo251Fancy
class Foo251 {
fun foo0(){
module346packageKt0.Foo250().foo5()
}
fun foo1(){
foo0()
}
fun foo2(){
foo1()
}
fun foo3(){
foo2()
}
fun foo4(){
foo3()
}
fun foo5(){
foo4()
}
} | 6 | Java | 6 | 72 | 9cc83148c1ca37d0f2b2fcb08c71ac04b3749e5e | 297 | android-build-eval | Apache License 2.0 |
app/src/main/java/com/fifteen11/checkappversion/MainActivity.kt | pansuriyasumit | 837,884,509 | false | {"Kotlin": 84957} | package com.fifteen11.checkappversion
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.activity.viewModels
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.Surface
import androidx.compose.runtime.Composable
... | 0 | Kotlin | 0 | 0 | 3b447671a617822068641f0eb8a5cc7a956ea643 | 1,722 | MedicineTestCode | Apache License 2.0 |
Chapter02/src/main/kotlin/chapter2/abstractFactory/AbstractFactoryExample.kt | PacktPublishing | 137,031,395 | false | {"Text": 1, "Markdown": 1, "Gradle": 22, "Shell": 11, "Batchfile": 11, "Java Properties": 11, "Kotlin": 124, "Java": 13} | package chapter2.abstractFactory
fun main(args : Array<String>) {
val hq = CatHQ()
val barracks1 = hq.buildBarracks()
val barracks2 = hq.buildBarracks()
val vehicleFactory1 = hq.buildVehicleFactory()
val units = listOf(
barracks1.build(InfantryUnits.RIFLEMEN),
barracks2.bu... | 1 | Kotlin | 58 | 89 | 5de3a557ee91eb0c5eb519ed4ea8ec5015106e5e | 2,075 | Hands-on-Design-Patterns-with-Kotlin | MIT License |
app/src/main/java/org/p2p/wallet/restore/ui/seedphrase/SeedPhraseFragment.kt | p2p-org | 306,035,988 | false | null | package org.p2p.wallet.restore.ui.seedphrase
import android.content.ActivityNotFoundException
import android.content.Intent
import android.os.Bundle
import android.view.View
import androidx.core.content.FileProvider
import org.koin.android.ext.android.inject
import org.p2p.core.utils.hideKeyboard
import org.p2p.uikit.... | 9 | null | 18 | 34 | d091e18b7d88c936b7c6c627f4fec96bcf4a0356 | 5,096 | key-app-android | MIT License |
src/main/java/de/ddkfm/hcloud/ApiBase.kt | DDKFM | 121,857,095 | false | null | package de.ddkfm.hcloud
import com.google.gson.GsonBuilder
import com.google.gson.JsonParser
import com.mashape.unirest.http.HttpResponse
import com.mashape.unirest.http.JsonNode
import com.mashape.unirest.http.Unirest
import com.mashape.unirest.request.GetRequest
import com.mashape.unirest.request.HttpRequest
import ... | 0 | Kotlin | 0 | 6 | a53303007416879793ccdabf8069ed5c31bdb719 | 3,529 | hcloud-kotlin | MIT License |
kvcache/src/main/java/com/king/kvcache/cache/SharedPreferencesCache.kt | jenly1314 | 515,537,815 | false | null | package com.king.kvcache.cache
import android.content.Context
import android.os.Parcelable
import android.content.SharedPreferences
/**
* 基于 [SharedPreferences] 实现的键值对缓存
* @author <a href="mailto:<EMAIL>">Jenly</a>
*/
internal class SharedPreferencesCache(context: Context) : Cache() {
private val cache by laz... | 0 | Kotlin | 0 | 10 | 1ecd737d8efd0d51aa57c3b07fe08f7e5fa14287 | 3,158 | KVCache | MIT License |
app/src/main/java/com/codertainment/wallow/model/Category.kt | shripal17 | 146,789,579 | false | null | package com.codertainment.wallow.model
import android.os.Parcelable
import io.objectbox.annotation.Entity
import io.objectbox.annotation.Id
import kotlinx.android.parcel.Parcelize
@Parcelize
@Entity
data class Category(
@Id
var id: Long = 0,
var name: String = "",
var icon: String? = null
) : Parcelable {
... | 0 | Kotlin | 1 | 0 | c0306616d9ad5a47a3c01c60a82b6657b1ede392 | 410 | Wallow | Apache License 2.0 |
app/src/main/java/com/bharathvishal/sensorlistusingwearablerecyclerview/Constants/Constants.kt | BharathVishal | 225,815,000 | false | null | package com.bharathvishal.sensorlistusingwearablerecyclerview.Constants;
object Constants {
const val ROUND_WATCH = "ROUND_WATCH"
const val SQUARE_WATCH = "SQUARE_WATCH"
}
| 0 | Kotlin | 3 | 9 | 5ce81bee7c632485d36a41a1df96476afeec1071 | 181 | Sensor-list-using-WearableRecyclerView-Wear-OS | Apache License 2.0 |
hyphenate/src/main/java/com/hyphenate/easeim/modules/view/interface/InputMsgListener.kt | AgoraIO-Community | 330,886,965 | false | null | package com.hyphenate.easeim.modules.view.`interface`
import android.text.Editable
interface InputMsgListener {
/**
* 发送点击
*/
fun onSendMsg(content: String)
/**
* 点击输入框以外区域
*/
fun onOutsideClick()
/**
* 输入内容变化
*/
fun onContentChange(content: String)
/**
... | 1 | Kotlin | 15 | 8 | 57902c698c876c7805faf8bd6272308cf5f97817 | 363 | CloudClass-Android | MIT License |
app/src/main/java/com/android/goally/data/model/api/response/copilot/CopilotSuccessResponse.kt | saifi369 | 867,819,222 | false | {"Kotlin": 94182} | package com.android.goally.data.model.api.response.copilot
import com.google.gson.annotations.SerializedName
data class CopilotSuccessResponse(
@SerializedName("checklists")
val checklists: List<Checklists>?,
@SerializedName("routines")
val routines: List<Routine>?
) | 0 | Kotlin | 0 | 0 | c3cc5e87f37f2840f0f25d37752a22afee096daa | 286 | GoallyAssignment | Apache License 2.0 |
src/Day10.kt | mcdimus | 572,064,601 | false | {"Kotlin": 32343} | import util.readInput
fun main() {
fun part1(input: List<String>): Int {
var registerValue = 1
return input.joinToString(separator = " ")
.split(" ")
.mapIndexed { index, s ->
(index + 1 to registerValue).also {
if (s != "noop" && s != "ad... | 0 | Kotlin | 0 | 0 | dfa9cfda6626b0ee65014db73a388748b2319ed1 | 1,593 | aoc-2022 | Apache License 2.0 |
domain/src/main/java/com/iliaberlana/wefoxpokedex/domain/entities/Ordenation.kt | siayerestaba | 206,335,343 | false | null | package com.iliaberlana.wefoxpokedex.domain.entities
enum class Ordenation (val typeOrdenation: String) {
ORDER("order"),
CATCHED("catched");
companion object {
fun getOrdenationByType(type: String) =
when(type) {
ORDER.typeOrdenation -> ORDER
CATCHED.ty... | 0 | Kotlin | 0 | 0 | 51a085e2deb46eb06f933396b3b91f5347866915 | 397 | WefoxPokeDex | MIT License |
ui/src/main/kotlin/org/jetbrains/jewel/ui/painter/ResizedPainter.kt | JetBrains | 440,164,967 | false | {"Kotlin": 1615027, "Java": 22778, "Shell": 361} | package org.jetbrains.jewel.ui.painter
import androidx.compose.ui.geometry.Size
import androidx.compose.ui.graphics.drawscope.DrawScope
import androidx.compose.ui.graphics.painter.Painter
/** A delegate painter that overrides the intrinsic size of the [delegate]. */
public class ResizedPainter(delegate: Painter, priv... | 94 | Kotlin | 39 | 722 | e0e6f1b4a46ca1c27ce1c13524ff11f75a2bed54 | 499 | jewel | Apache License 2.0 |
backpack-compose/src/main/kotlin/net/skyscanner/backpack/compose/panel/BpkPanel.kt | Skyscanner | 117,813,847 | false | null | /**
* Backpack for Android - Skyscanner's Design System
*
* Copyright 2018 Skyscanner 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... | 8 | null | 32 | 94 | 9b5448b446c7bc46560e430595829e5f4f090e6b | 2,331 | backpack-android | Apache License 2.0 |
android/mobile/src/androidTest/java/academy/kot/mobile/FabTests.kt | MarcinMoskala | 111,068,526 | false | null | package academy.kot.mobile
import academy.kot.portal.mobile.R
import academy.kot.portal.mobile.view.feedback.FeedbackActivity
import android.app.Activity
import android.support.test.espresso.Espresso.onView
import android.support.test.espresso.action.ViewActions.click
import android.support.test.espresso.intent.Intent... | 9 | CSS | 58 | 446 | e7ad620f5a2fb2e3a0330928ed560adf1925d797 | 1,011 | KtAcademyPortal | Apache License 2.0 |
android/mobile/src/androidTest/java/academy/kot/mobile/FabTests.kt | MarcinMoskala | 111,068,526 | false | null | package academy.kot.mobile
import academy.kot.portal.mobile.R
import academy.kot.portal.mobile.view.feedback.FeedbackActivity
import android.app.Activity
import android.support.test.espresso.Espresso.onView
import android.support.test.espresso.action.ViewActions.click
import android.support.test.espresso.intent.Intent... | 9 | CSS | 58 | 446 | e7ad620f5a2fb2e3a0330928ed560adf1925d797 | 1,011 | KtAcademyPortal | Apache License 2.0 |
mvikotlin-timetravel/src/commonTest/kotlin/com/arkivanov/mvikotlin/timetravel/controller/TimeTravelControllerRecordingTest.kt | badoo | 135,858,329 | false | null | package com.arkivanov.mvikotlin.timetravel.controller
import com.arkivanov.mvikotlin.core.store.StoreEventType
import com.arkivanov.mvikotlin.core.utils.isAssertOnMainThreadEnabled
import com.arkivanov.mvikotlin.timetravel.TimeTravelEvent
import com.arkivanov.mvikotlin.timetravel.TimeTravelState
import kotlin.test.Aft... | 3 | null | 70 | 825 | 39de85b944a52cd1878478e2c5c4921f8896920d | 3,593 | MVIKotlin | Apache License 2.0 |
feature-assets/src/main/java/com/dfinn/wallet/feature_assets/presentation/send/confirm/ConfirmSendViewModel.kt | finn-exchange | 500,972,990 | false | null | package com.dfinn.wallet.feature_assets.presentation.send.confirm
import com.dfinn.wallet.common.address.AddressIconGenerator
import com.dfinn.wallet.common.base.BaseViewModel
import com.dfinn.wallet.common.mixin.api.Validatable
import com.dfinn.wallet.common.resources.ResourceManager
import com.dfinn.wallet.common.ut... | 0 | Kotlin | 0 | 0 | 6cc7a0a4abb773daf3da781b7bd1dda5dbf9b01d | 7,671 | dfinn-android-wallet | Apache License 2.0 |
service/src/main/kotlin/no/nav/su/se/bakover/service/utbetaling/UtbetalingService.kt | navikt | 227,366,088 | false | null | package no.nav.su.se.bakover.service.utbetaling
import arrow.core.Either
import no.nav.su.se.bakover.common.UUID30
import no.nav.su.se.bakover.domain.NavIdentBruker
import no.nav.su.se.bakover.domain.beregning.Beregning
import no.nav.su.se.bakover.domain.grunnlag.Grunnlag
import no.nav.su.se.bakover.domain.oppdrag.Kvi... | 6 | Kotlin | 0 | 0 | 9053ee546fc017447ef6517ec508916b41254cf2 | 3,964 | su-se-bakover | MIT License |
year2015/src/main/kotlin/net/olegg/aoc/year2015/day6/Day6.kt | 0legg | 110,665,187 | false | null | package net.olegg.aoc.year2015.day6
import net.olegg.aoc.someday.SomeDay
import net.olegg.aoc.year2015.DayOf2015
/**
* See [Year 2015, Day 6](https://adventofcode.com/2015/day/6)
*/
object Day6 : DayOf2015(6) {
private fun toPoints(command: String): List<Int> {
val matcher = "\\D*(\\d+),(\\d+)\\D*(\\d+),(\\d+... | 0 | null | 1 | 8 | 3006775fc2d1da3b12303029b9f35d2793c912df | 1,551 | adventofcode | MIT License |
core/src/main/java/com/bulifier/core/ui/content/FileContentFragment.kt | Gazman-Dev | 839,009,339 | false | {"Kotlin": 104448} | package com.bulifier.core.ui.content
import android.os.Bundle
import android.text.TextWatcher
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import androidx.fragment.app.activityViewModels
import com.bulifier.core.databinding.CoreFileCont... | 0 | Kotlin | 0 | 5 | 485cd54735408b6855d4a78b07d00cb02a40d60b | 1,525 | bulifier | Apache License 2.0 |
app/src/main/java/app/trian/tudu/ui/component/ItemCalendar.kt | trianapp | 452,765,555 | false | null | package com.trian.component
import android.annotation.SuppressLint
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.Row
import androidx... | 1 | Kotlin | 2 | 1 | 786d327cf4f6df39ba4cc14cc1adb8ff66ea59bc | 2,452 | tudu | Apache License 2.0 |
app/src/main/java/br/com/movieapp/framework/data/remote/ParamsInterceptor.kt | lcalderal | 866,692,444 | false | {"Kotlin": 36442} | package br.com.movieapp.framework.data.remote
import br.com.movieapp.BuildConfig
import br.com.movieapp.framework.util.Constants
import okhttp3.Interceptor
import okhttp3.Response
class ParamsInterceptor : Interceptor {
override fun intercept(chain: Interceptor.Chain): Response {
val request = chain.reque... | 0 | Kotlin | 0 | 0 | fc38a6257ac4b1f575d959c5765a22bd4093e72c | 688 | movie-app-jetpack-compose | MIT License |
src/test/kotlin/org/xpathqs/core/selector/extensions/SelectorObjectModificationTests.kt | xpathqs | 363,898,788 | false | {"Kotlin": 420597} | /*
* Copyright (c) 2021 XPATH-QS
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, d... | 3 | Kotlin | 8 | 5 | 1dcbdf054cd9621090bedc511f37920e53b56514 | 3,506 | core | MIT License |
colors/src/commonMain/kotlin/scheme/SchemeContent.kt | CLOVIS-AI | 864,980,081 | false | {"Kotlin": 203906, "Shell": 556, "Dockerfile": 153} | /*
* Copyright (c) 2024, Google LLC, OpenSavvy and contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required ... | 0 | Kotlin | 0 | 0 | 2c074697732cbf124b78161590bf2ec6faaec546 | 2,273 | Material3-Colors-Kotlin | Apache License 2.0 |
examples/welcome/welcome/src/main/java/com/motorro/statemachine/welcome/model/state/EmailEntryState.kt | motorro | 512,762,123 | false | {"Kotlin": 102349} | /*
* Copyright 2022 <NAME>.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writing, so... | 1 | Kotlin | 5 | 42 | 5f6cbf2d867f027ce852fe90d38cc077d22308f7 | 2,790 | CommonStateMachine | Apache License 2.0 |
kotlin/core/src/main/kotlin/org/openapitools/client/models/ExportKeyRequest.kt | walt-id | 426,272,286 | false | {"TypeScript": 500698, "JavaScript": 382407, "Kotlin": 302046, "Shell": 27744} | /**
* walt.id Core API
*
* The walt.id public API documentation
*
* The version of the OpenAPI document: 1.1-SNAPSHOT
* Contact: <EMAIL>
*
* Please note:
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* Do not edit this file manually.
*/
@file:Suppress(
"ArrayInDat... | 0 | TypeScript | 0 | 1 | 0222114a62e5d3c1eb1a109810ee889fd39fe4ad | 994 | waltid-ssikit-api-client-sdks | Apache License 2.0 |
app/src/main/java/com/example/m5/MusicApplication.kt | jiushangli | 690,525,542 | false | {"Kotlin": 170353, "Java": 6139} | package com.example.m5
import android.app.Application
import android.app.NotificationChannel
import android.app.NotificationManager
import android.content.Context
import android.os.Build
import androidx.lifecycle.MutableLiveData
import com.example.m5.service.MusicService
import com.example.m5.util.PlayMusic
class Mus... | 0 | Kotlin | 1 | 1 | de6195527aa2aa2dff9c8e7a20539e67b446985a | 1,275 | Music-player | Apache License 2.0 |
app/src/main/java/com/exail/archtest/cats/view/models/CatViewModel.kt | EduardsDenisjonoks | 193,911,687 | false | null | package com.exail.archtest.cats.view.models
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.exail.archtest.cats.models.Cat
import com.exail.archtest.cats.repository.CatRepository
import com.exail.archtest.core.custom.SingleLiveEvent
impo... | 0 | Kotlin | 0 | 0 | 64308d039a5368eb70d7919fa96ed0ef45b43eac | 1,098 | archtest | Apache License 2.0 |
core/src/test/kotlin/kute/strings/SimplePatternMatcherTest.kt | deletescape | 220,979,294 | false | null | package ch.deletescape.krempl.utils
import org.junit.jupiter.api.Assertions.assertFalse
import org.junit.jupiter.api.Assertions.assertTrue
import org.junit.jupiter.api.Test
@ExperimentalStdlibApi
class SimplePatternMatcherTest {
@Test
fun `Basic start anchored pattern`() {
val matcher = SimplePatternM... | 1 | null | 1 | 4 | 87f856309d68ed3963d6ef04bffed6885ab9196c | 5,654 | kute | MIT License |
app/src/main/kotlin/webauthnkit/example/AuthenticationActivity.kt | lyokato | 166,183,654 | false | null | package com.luque.webauthn_android
import android.content.Intent
import android.graphics.Color
import android.os.Bundle
import android.view.Menu
import android.view.MenuItem
import android.widget.EditText
import androidx.appcompat.app.AppCompatActivity
import com.luque.webauthn.authenticator.internal.ui.UserConsentUI
... | 1 | null | 5 | 22 | 7646b8b3f7eb6442832696e34fb7625288d41349 | 7,929 | WebAuthnKit-Android | MIT License |
app/src/main/java/com/example/yinyuetaiplaykt/util/ToolBarManager.kt | swordman20 | 326,163,061 | false | null | package com.example.yinyuetaiplaykt.util
import android.content.Intent
import android.view.MenuItem
import androidx.appcompat.widget.Toolbar
import com.example.yinyuetaiplaykt.R
import com.example.yinyuetaiplaykt.ui.activity.SettingActivity
/**
* author : hades
* date : 2021/1/3
* desc :所有节目ToolBar的管理... | 0 | Kotlin | 0 | 0 | 9433c85b01f974824a9b4eef512dd0a35be6007b | 1,124 | YinYueTaiPlayKT | Apache License 2.0 |
app/src/main/java/br/com/thedon/travellerapp/ui/place/PlaceEditScreen.kt | thebergamo | 668,639,027 | false | null | package br.com.thedon.travellerapp.ui.place
import androidx.compose.animation.AnimatedVisibility
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.height
import androidx.... | 0 | Kotlin | 0 | 0 | e34eface4b64fab53797425d80ddb9b3fad14fdc | 7,563 | pjatk-prm-traveller-app | MIT License |
app/src/main/java/haivo/us/scanmusicpro/model/xml/Identification.kt | talobin | 207,024,480 | false | {"Java": 342692, "Kotlin": 190396, "HTML": 4223} | package com.talobin.music.parser.model
import com.tickaroo.tikxml.annotation.Attribute
import com.tickaroo.tikxml.annotation.Element
import com.tickaroo.tikxml.annotation.PropertyElement
import com.tickaroo.tikxml.annotation.Xml
@Xml
data class Identification(
@Element
val encoding: Encoding?,
@Prop... | 2 | Java | 7 | 5 | 55ea31df37b0b4ba696281bd6f35a6c76e634d15 | 427 | android-musicxml-parser | MIT License |
src/main/kotlin/com/runyu/std/IDGen.kt | Miao4099 | 283,650,244 | false | null | package com.runyu.std
import java.security.MessageDigest
import java.security.NoSuchAlgorithmException
class IDGen @JvmOverloads constructor(private val workerId: Long = 0L, private val datacenterId: Long = 0L) {
private var sequence = 0L
private val twepoch = 1288834974657L // T... | 0 | Kotlin | 0 | 1 | deb504657adc38eff9c2b0a87a9b8f84ef3768ed | 5,551 | VertxApp | MIT License |
app/src/main/java/com/mytest/composetest/ui/common/PressStateButton.kt | pionio2 | 409,655,599 | false | {"Kotlin": 199306} | package com.mytest.composetest.ui.common
import androidx.compose.foundation.BorderStroke
import androidx.compose.foundation.focusable
import androidx.compose.foundation.gestures.detectTapGestures
import androidx.compose.foundation.interaction.MutableInteractionSource
import androidx.compose.foundation.interaction.coll... | 0 | Kotlin | 0 | 1 | c303ea93f25e94d4aa08485d1f2ab965a6d54a37 | 6,887 | composeTest | Apache License 2.0 |
app/src/main/java/com/omongole/fred/composenewsapp/domain/local/usecases/SaveArticleUseCase.kt | EngFred | 719,675,736 | false | {"Kotlin": 64656} | package com.omongole.fred.composenewsapp.domain.local.usecases
import com.omongole.fred.composenewsapp.data.local.ArticlesRepository
import com.omongole.fred.composenewsapp.data.modal.Article
import javax.inject.Inject
class SaveArticleUseCase @Inject constructor(
private val localRepository: ArticlesRepository
)... | 0 | Kotlin | 0 | 0 | 06ca742f45b09936245463ad6a06b97235865e72 | 415 | News-Flash | MIT License |
app/src/test/java/com/annapol04/munchkin/engine/DeckTest.kt | AnastasiiaPolishchuk | 110,602,766 | false | null | package com.annapol04.munchkin.engine
import junit.framework.Assert.assertEquals
import junit.framework.Assert.assertTrue
import org.junit.Before
import org.junit.Test
class DeckTest {
lateinit var door: Deck
lateinit var treasure: Deck
@Before
fun setUp() {
door = build(DoorCards::class.java... | 1 | Kotlin | 0 | 0 | 2c61d80d6ec6c5405f5a8490e2433e142723bc24 | 903 | SP_2017 | MIT License |
src/test/kotlin/no/nav/k9brukerdialogapi/ytelse/pleiepengerlivetssluttfase/domene/PILSTestUtils.kt | navikt | 460,765,798 | false | null | package no.nav.k9brukerdialogapi.ytelse.pleiepengerlivetssluttfase.domene
import no.nav.k9brukerdialogapi.ytelse.fellesdomene.Land
import no.nav.k9brukerdialogapi.ytelse.fellesdomene.Næringstype
import no.nav.k9brukerdialogapi.ytelse.fellesdomene.Virksomhet
import no.nav.k9brukerdialogapi.ytelse.pleiepengerlivetsslutt... | 9 | Kotlin | 0 | 0 | e3f9db38b899e40c8fda654f83ce0aea623353dc | 5,192 | k9-brukerdialog-api | MIT License |
src/main/kotlin/org/mixdrinks/view/controllers/score/Score.kt | MixDrinks | 500,107,475 | false | null | package org.mixdrinks.view.controllers.score
import io.ktor.server.application.Application
import io.ktor.server.application.ApplicationCall
import io.ktor.server.application.call
import io.ktor.server.request.receive
import io.ktor.server.response.respond
import io.ktor.server.routing.get
import io.ktor.server.routin... | 5 | Kotlin | 0 | 2 | ce29b7ca76e060aa0aa87122c269b41f3033ea33 | 3,297 | backend | MIT License |
korge/src/commonTest/kotlin/com/soywiz/korge/storage/NativeStorageTest.kt | korlibs | 80,095,683 | false | null | package com.soywiz.korge.storage
import com.soywiz.korge.service.storage.*
import com.soywiz.korge.tests.*
import kotlin.test.*
class NativeStorageTest : ViewsForTesting() {
@Test
fun test() = viewsTest {
views.storage.removeAll()
val demo = views.storage.item<Int>("hello")
assertEqual... | 102 | Kotlin | 64 | 1,192 | 7fa8c9981d09c2ac3727799f3925363f1af82f45 | 545 | korge | Apache License 2.0 |
src/main/kotlin/dev/mayankmkh/intellij/linear/GraphqlClient.kt | mayankmkh | 352,970,805 | false | null | package dev.mayankmkh.intellij.linear
import apolloGenerated.dev.mayankmkh.intellij.linear.type.CustomType
import com.apollographql.apollo.ApolloClient
import com.apollographql.apollo.api.CustomTypeAdapter
import com.apollographql.apollo.api.CustomTypeValue
import okhttp3.Interceptor
import okhttp3.OkHttpClient
import... | 8 | Kotlin | 1 | 6 | 750eac4655d3536d176c4d328989de9210e8520f | 1,726 | linear-app-plugin | MIT License |
demo/src/main/java/com/cliff/reflection/ActivityThreadViewModel.kt | CliffLeopard | 842,126,482 | false | {"Kotlin": 45462, "Java": 3657} | package com.cliff.reflection
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import com.orhanobut.logger.Logger
import reflect.android.app.ActivityThread
import reflect.android.app.ActivityThread__Functions.currentActivityThread
import reflect.android.ap... | 0 | Kotlin | 0 | 0 | 589591b4c4b1b78f62a05be913e94edadd236345 | 1,504 | Reflection | Apache License 2.0 |
app/src/main/java/com/bookstoresimple/app/cache/preference/BookPreference.kt | mohamad-rizki | 216,473,930 | false | null | package com.bookstoresimple.app.cache.preference
import android.content.Context
import android.content.SharedPreferences
open class BookPreference(
context: Context
) {
private val bookPref: SharedPreferences
companion object {
private const val BOOK_PREF_NAME = "book_pref"
private const... | 0 | Kotlin | 1 | 1 | a7a4be433e2e58357c7dcb2b7ffe949bf9429c76 | 647 | clean-book-store-simple | MIT License |
domain/src/main/java/uoc/cbonache/tfg/interactor/Interactor.kt | cbonacheuoc | 109,753,411 | true | {"Kotlin": 144808, "Java": 6706} | package uoc.cbonache.tfg.interactor
import uoc.cbonache.tfg.Result
import uoc.cbonache.tfg.async.PostExecutionThread
import uoc.cbonache.tfg.async.doAsync
import uoc.cbonache.tfg.async.onComplete
/**
* Created by Borja on 1/6/17.
*/
abstract class Interactor<out SuccessValue, in Parameters > constructor(val postExe... | 0 | Kotlin | 0 | 1 | c6c3cdc87eb96aaf179a6442111371aebe0a80dc | 656 | Transpdroid-Android-App | Apache License 2.0 |
grazel-gradle-plugin/src/test/kotlin/com/grab/grazel/migrate/KotlinRootBazelRulesTest.kt | grab | 379,151,190 | false | {"Kotlin": 813733, "Starlark": 58856, "Java": 644} | /*
* Copyright 2022 Grabtaxi Holdings PTE LTD (GRAB)
*
* 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... | 11 | Kotlin | 19 | 274 | 6d44b7fc7d5210cc4e4211cfd002547a3126124c | 4,300 | grazel | Apache License 2.0 |
src/main/kotlin/com/github/insanusmokrassar/TelegramBotBase/CommandConfig.kt | InsanusMokrassar | 132,696,818 | false | null | package com.github.insanusmokrassar.TelegramBotBase
open class CommandConfig(val command: String)
| 0 | Kotlin | 0 | 0 | d7c79a64c133c3d4c5381434d11ed90da52f2a8d | 99 | TelegramBotBase | Apache License 2.0 |
src/main/kotlin/com/github/insanusmokrassar/TelegramBotBase/CommandConfig.kt | InsanusMokrassar | 132,696,818 | false | null | package com.github.insanusmokrassar.TelegramBotBase
open class CommandConfig(val command: String)
| 0 | Kotlin | 0 | 0 | d7c79a64c133c3d4c5381434d11ed90da52f2a8d | 99 | TelegramBotBase | Apache License 2.0 |
backend/src/com/origin/model/object/ObjectsFactory.kt | arksu | 121,673,260 | false | {"Kotlin": 240455, "Java": 115908, "TypeScript": 89737, "Vue": 50712, "SCSS": 7024, "Shell": 794, "HTML": 791, "JavaScript": 628, "Dockerfile": 146} | package com.origin.model.`object`
import com.origin.IdFactory
import com.origin.jooq.tables.records.ObjectRecord
import com.origin.model.GameObject
import com.origin.model.ObjectPosition
import com.origin.model.item.ItemFactory
import com.origin.model.item.ItemFactory.logger
object ObjectsFactory {
private val m... | 0 | Kotlin | 2 | 5 | ca458cb20e3f2ff9876d0987b80b66daf68f8117 | 2,768 | origin_webgl | MIT License |
app/src/main/java/com/authsamples/basicmobileapp/plumbing/oauth/AuthenticatorImpl.kt | gary-archer | 180,116,783 | false | null | package com.authguidance.mobileweb.plumbing.oauth
import android.content.Context
import android.content.Intent
import android.net.Uri
import com.authguidance.mobileweb.configuration.OAuthConfiguration
import com.authguidance.mobileweb.plumbing.errors.ErrorCodes
import com.authguidance.mobileweb.plumbing.errors.ErrorHa... | 0 | null | 6 | 14 | a802d98cf3fdebdb480b1108f03eabdb942b57f1 | 18,453 | oauth.mobilesample.android | MIT License |
app/src/main/java/codeguru/gocapture/GoCaptureRepository.kt | codeguru42 | 555,696,471 | false | null | package codeguru.gocapture
import android.app.Activity
import android.content.ContentResolver
import android.content.ContentValues
import android.database.Cursor
import android.net.Uri
import android.os.Environment
import android.provider.MediaStore
import android.provider.OpenableColumns
import android.util.Log
impor... | 7 | Kotlin | 0 | 1 | 745dbc7ca305479736b19f804082ed9669d54385 | 5,281 | go-capture-android | MIT License |
app/src/test/java/io/github/wulkanowy/ui/modules/login/form/LoginFormPresenterTest.kt | wulkanowy | 87,721,285 | false | null | package io.github.wulkanowy.ui.modules.login.form
import io.github.wulkanowy.MainCoroutineRule
import io.github.wulkanowy.data.db.entities.Student
import io.github.wulkanowy.data.db.entities.StudentWithSemesters
import io.github.wulkanowy.data.repositories.StudentRepository
import io.github.wulkanowy.ui.modules.login.... | 96 | null | 25 | 148 | 6007de017f01a676662534737afe5c684eb7711e | 7,750 | wulkanowy | Apache License 2.0 |
app/src/main/java/com/vultisig/wallet/presenter/common/Onclick.kt | vultisig | 789,965,982 | false | {"Kotlin": 957644} | package com.vultisig.wallet.presenter.common
import androidx.compose.foundation.clickable
import androidx.compose.runtime.Composable
import androidx.compose.runtime.LaunchedEffect
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableLongStateOf
import androidx.compose.runtime.mutableStateOf
... | 36 | Kotlin | 2 | 4 | f6be95cf5d32abbdbfb3003c61b960067a6b33cb | 1,334 | vultisig-android | Apache License 2.0 |
app/src/main/java/com/example/user/eventest/MemoAdapter.kt | Dima-1 | 114,025,756 | false | null | package com.example.user.eventest
import android.content.ActivityNotFoundException
import android.content.ContentResolver
import android.content.Context
import android.content.Intent
import android.graphics.Bitmap
import android.media.ThumbnailUtils
import android.net.Uri
import android.os.AsyncTask
import android.pro... | 1 | null | 1 | 1 | 1eb2a8814326eb24558af38dd839e6f0a98ca3a0 | 6,051 | eventbus-sandbox | MIT License |
LibDrawableMaker/src/main/java/com/childdddd/libdrawalemaker/provider/UtilsFileProvider.kt | Remielpub | 697,097,737 | false | {"Kotlin": 83877} | package com.childdddd.libdrawalemaker.provider
import android.app.Application
import androidx.core.content.FileProvider
import com.childdddd.libdrawalemaker.utils.Utils
/**
* @Author dangxiaohan
* @Date 2023/10/18-14:04
* @Describe
*/
class UtilsFileProvider: FileProvider() {
override fun onCreate(): Boolean... | 0 | Kotlin | 0 | 2 | 6227e53bdd1d7a2597ce9986cf93efbab13377e1 | 431 | DrawableMaker | Apache License 2.0 |
macfiles-native/src/test/kotlin/garden/ephemeral/macfiles/native/NativeBookmarkTest.kt | ephemeral-laboratories | 564,594,150 | false | null | package garden.ephemeral.macfiles.native
import assertk.*
import assertk.assertions.*
import garden.ephemeral.macfiles.alias.*
import garden.ephemeral.macfiles.bookmark.*
import garden.ephemeral.macfiles.bookmark.types.*
import garden.ephemeral.macfiles.common.types.*
import org.junit.jupiter.api.condition.*
import ja... | 0 | Kotlin | 0 | 0 | 755f6d065750be6637a1b953cf4ae02413a6ca7c | 5,762 | dsstore-kotlin | MIT License |
src/main/kotlin/top/lanscarlos/vulpecula/kether/action/vulpecula/ActionTitleReset.kt | Lanscarlos | 517,897,387 | false | null | package top.lanscarlos.vulpecula.kether.action.vulpecula
import taboolib.module.kether.actionNow
import taboolib.module.kether.scriptParser
import top.lanscarlos.vulpecula.kether.VulKetherParser
import top.lanscarlos.vulpecula.utils.playerOrNull
import top.lanscarlos.vulpecula.utils.toBukkit
/**
* Vulpecula
* top.l... | 0 | Kotlin | 1 | 17 | bdb9a71f2e1b52f259c95a58b864d885a8ac779b | 629 | Vulpecula | Creative Commons Zero v1.0 Universal |
feature/home/src/main/java/com/hisui/kanna/feature/home/navigation/HomeNavigation.kt | okumusashi | 570,818,154 | false | null | /*
* Copyright 2022 <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... | 17 | null | 0 | 1 | 131f9ea7bcf6dac58aeb1d9337a12e69a7c53147 | 1,274 | kanna | Apache License 2.0 |
kgl-vulkan/src/jvmMain/kotlin/com/kgl/vulkan/enums/ColorComponent.kt | BrunoSilvaFreire | 223,607,080 | true | {"Kotlin": 1880529, "C": 10037} | /**
* 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 w... | 0 | null | 0 | 0 | 74de23862c29404e7751490331cbafbef310bd63 | 1,193 | kgl | Apache License 2.0 |
compose/material3/material3-adaptive/samples/src/main/java/androidx/compose/material3-adaptive/samples/ThreePaneScaffoldSample.kt | androidx | 256,589,781 | false | null | /*
* Copyright 2023 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 22 | null | 846 | 4,793 | 17360b4f893efb7dddfb6fbd1ba49abb9b8de2b6 | 7,811 | androidx | Apache License 2.0 |
data/data/src/main/java/com/wa2c/android/cifsdocumentsprovider/data/DataModule.kt | wa2c | 309,159,444 | false | {"Kotlin": 369333} | package com.wa2c.android.cifsdocumentsprovider.data
import android.content.Context
import com.wa2c.android.cifsdocumentsprovider.data.db.AppDatabase
import com.wa2c.android.cifsdocumentsprovider.data.preference.AppPreferencesDataStore
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagg... | 29 | Kotlin | 19 | 179 | 7e2602fa0f5d2c86810b3f0a3b3ea529f80e7195 | 2,176 | cifs-documents-provider | MIT License |
src/main/kotlin/com/atlassian/onetime/service/SecretProvider.kt | atlassian | 512,548,362 | false | {"Kotlin": 39922} | package com.atlassian.onetime.service
import com.atlassian.onetime.model.TOTPSecret
import java.util.concurrent.CompletableFuture
fun interface SecretProvider {
fun generateSecret(): TOTPSecret
}
fun interface AsyncSecretProvider {
fun generateSecret(): CompletableFuture<TOTPSecret>
}
fun interface CPSSecretPro... | 1 | Kotlin | 3 | 67 | 13f85c169155e563998d2bfe6f8b30477572c504 | 373 | 1time | Apache License 2.0 |
app/src/main/java/com/ttpsc/dynamics365fieldService/core/managers/DynamicsAuthorizationManager.kt | microsoft | 293,627,613 | false | null | package com.ttpsc.dynamics365fieldService.core.managers
import android.content.SharedPreferences
import android.util.Log
import android.webkit.CookieManager
import android.webkit.CookieSyncManager
import com.google.gson.Gson
import com.microsoft.identity.client.ISingleAccountPublicClientApplication
import com.ttpsc.dy... | 1 | Kotlin | 2 | 9 | 62c2dad4cbbd4496a55aa3f644336044105bb1c1 | 7,168 | DynamicsWOM | MIT License |
shared/src/commonMain/kotlin/com/iwanickimarcel/freat/navigation/Screens.kt | MarcelIwanicki | 712,987,885 | false | {"Kotlin": 376361, "Swift": 342} | package com.iwanickimarcel.freat.navigation
import androidx.compose.runtime.Composable
import cafe.adriel.voyager.core.screen.Screen
import com.iwanickimarcel.add_recipe.AddRecipeScreen
import com.iwanickimarcel.freat.di.imagePicker
import com.iwanickimarcel.freat.di.viewModelModule
import com.iwanickimarcel.home.Home... | 0 | Kotlin | 0 | 1 | 0d9676a542ba3d9b8b2bdf366aefadf298e6da81 | 4,119 | freat | The Unlicense |
feature/settings/src/main/kotlin/com/festivalfellow/mobile/app/settings/view/compose/SettingsScreen.kt | stupacki | 597,824,235 | false | null | @file:OptIn(ExperimentalMaterial3Api::class)
package com.festivalfellow.mobile.app.settings.view.compose
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.padding
import androidx.compose.material3.Button
import androidx.compose.material3.ExperimentalMaterial3Api
import android... | 0 | Kotlin | 0 | 0 | 11750fbcddd27a045eff7c6eaea6e28dfd93de76 | 1,001 | PocModularization2023 | Apache License 2.0 |
sample/src/commonMain/kotlin/com/github/panpf/sketch/sample/ui/components/MyAsyncImage.kt | panpf | 14,798,941 | false | {"Kotlin": 2979756, "Shell": 1469} | package com.github.panpf.sketch.sample.ui.components
import androidx.compose.foundation.gestures.detectTapGestures
import androidx.compose.runtime.Composable
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.ColorFilter
import androidx.compose.ui.graphics.Defa... | 8 | Kotlin | 309 | 2,057 | 89784530da0de6085a5b08f810415147cb3165cf | 3,291 | sketch | Apache License 2.0 |
app/src/main/java/com/hulusimsek/cryptoapp/domain/model/Candle.kt | hulusimsek | 841,740,788 | false | {"Kotlin": 139179} | package com.hulusimsek.cryptoapp.domain.model
data class Candle(
val time: Long,
val open: Float,
val high: Float,
val low: Float,
val close: Float
) | 0 | Kotlin | 0 | 0 | 054d16b68935738a7ccdcad01fae17938c5d8261 | 170 | Cointograf | MIT License |
src/main/kotlin/net/rebux/jumpandrun/listeners/CommandPreprocessListener.kt | 7rebux | 402,599,961 | false | {"Kotlin": 51117} | package net.rebux.jumpandrun.listeners
import net.rebux.jumpandrun.data
import net.rebux.jumpandrun.utils.InventoryUtil
import org.bukkit.GameMode
import org.bukkit.event.EventHandler
import org.bukkit.event.Listener
import org.bukkit.event.player.PlayerCommandPreprocessEvent
class CommandPreprocessListener : Listene... | 1 | Kotlin | 0 | 1 | 7d7b0fc53ff4d85effb630a3be8ca8e767903875 | 757 | jump-and-run | MIT License |
PADC-MMNews-Kotlin/app/src/main/java/com/zawzaww/padc/mmnewskotlin/data/models/BaseModel.kt | zawzaww | 134,208,922 | false | {"Kotlin": 65704, "Java": 44975} | package com.zawzaww.padc.mmnewskotlin.data.models
import org.greenrobot.eventbus.EventBus
/**
* Created by zawzaw on 05/08/2018.
*/
open class BaseModel {
fun onEvent(event: Any?) {
}
init {
EventBus.getDefault().register(this)
}
} | 0 | Kotlin | 0 | 0 | e60fe7d32090906d03e86ac625244c9b0efd0598 | 264 | padc-fun-samples | Apache License 2.0 |
src/main/kotlin/playground/common/messaging/logging/DragonConsumerInterceptor.kt | dtkmn | 596,118,171 | false | {"Kotlin": 334372, "Dockerfile": 763} | package playground.common.messaging.logging
import playground.common.observability.logging.MDC_KEY_LOG_EVENT
import playground.common.observability.logging.kv
import playground.common.messaging.config.MESSAGE_PAYLOAD_LOGGER_BEAN
import org.apache.kafka.clients.consumer.ConsumerInterceptor
import org.apache.kafka.clien... | 0 | Kotlin | 0 | 0 | 06b6e996d3d319a7ad390dab9b3f33132f5f0378 | 1,688 | kotlin-playground | MIT License |
library/src/main/kotlin/com/quanturium/android/rxminibus/RxMiniBus.kt | quanturium | 109,514,526 | false | {"Kotlin": 3690} | package com.quanturium.android.rxminibus
import io.reactivex.disposables.Disposable
interface RxMiniBus {
fun post(event: Any)
fun <E> onEvent(eventClass: Class<E>, action: (E) -> Unit): Disposable
fun <E> onEventMainThread(eventClass: Class<E>, action: (E) -> Unit): Disposable
} | 0 | Kotlin | 0 | 1 | 1b67aeec7ed98bd2f32307767520713677e04825 | 297 | RxMiniBus | Apache License 2.0 |
library/src/androidMain/kotlin/dev/zwander/kotlin/file/FileUtils.android.kt | zacharee | 845,830,932 | false | {"Kotlin": 82786} | package dev.zwander.kotlin.file
import android.net.Uri
import java.io.File
@Suppress("unused")
actual object FileUtils {
actual fun fromString(input: String, isDirectory: Boolean): IPlatformFile? {
val uri = Uri.parse(input)
return when {
uri.scheme != null && uri.scheme != "file" -> ... | 0 | Kotlin | 0 | 3 | 35e9981dafef306361fa489996eb4015d2c6f8d0 | 651 | KMPFile | MIT License |
next/kmp/sys/src/commonMain/kotlin/org/dweb_browser/sys/notification/NotificationNMM.kt | BioforestChain | 594,577,896 | false | {"Kotlin": 3446191, "TypeScript": 818538, "Swift": 369625, "Vue": 156647, "SCSS": 39016, "Objective-C": 17350, "HTML": 16184, "Shell": 13534, "JavaScript": 3982, "Svelte": 3504, "CSS": 818} | package org.dweb_browser.sys.notification
import io.ktor.http.HttpStatusCode
import org.dweb_browser.core.help.types.DwebPermission
import org.dweb_browser.core.help.types.MICRO_MODULE_CATEGORY
import org.dweb_browser.core.http.router.bind
import org.dweb_browser.core.module.BootstrapContext
import org.dweb_browser.co... | 66 | Kotlin | 5 | 20 | 6db1137257e38400c87279f4ccf46511752cd45a | 2,117 | dweb_browser | MIT License |
examples/falling-balls/src/main/kotlin/Game.kt | JetBrains | 293,498,508 | false | null | package org.jetbrains.compose.demo.falling
import androidx.compose.foundation.layout.*
import androidx.compose.material.Button
import androidx.compose.material.Slider
import androidx.compose.material.Text
import androidx.compose.runtime.*
import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.Color
im... | 668 | null | 645 | 9,090 | 97266a0ac8c0d7a8ad8d19ead1c925751a00ff1c | 4,018 | compose-jb | Apache License 2.0 |
src/main/java/com/uwetrottmann/tmdb2/services/FindService.kt | sevar83 | 105,251,132 | false | {"PowerShell": 1, "Maven POM": 1, "Proguard": 1, "Markdown": 3, "Gradle": 1, "Ignore List": 1, "Git Attributes": 1, "Kotlin": 107, "XML": 1, "Java": 2} | package com.uwetrottmann.tmdb2.services
import com.uwetrottmann.tmdb2.entities.FindResults
import com.uwetrottmann.tmdb2.enumerations.ExternalSource
import io.reactivex.Single
import retrofit2.http.GET
import retrofit2.http.Path
import retrofit2.http.Query
interface FindService {
/**
* The find method makes... | 0 | Kotlin | 0 | 3 | 9d8cb60f4aad3f1a682fd47ec1d596baf0ec08b4 | 887 | tmdb-rxjava2-kotlin | The Unlicense |
LR5/src/main/kotlin/Task10V4.kt | Kirchberg | 602,987,232 | false | null | // При выполнении следующих заданий для вывода результатов создавать новую директорию и файл средствами класса File:
// – Ввести из текстового файла, связанного с входным потоком, последовательность строк. Выбрать и сохранить m последних
// слов в каждой из последних n строк
import java.io.File
import java.io.IOExcept... | 0 | Kotlin | 0 | 0 | b6a459a30ef20b0f38c4869d0949e22f4239183e | 2,115 | BigDataPL | MIT License |
kotlin/2023/round-a/4/src/main/kotlin/Solution.kt | ShreckYe | 345,946,821 | false | null | import kotlin.math.floor
import kotlin.math.sqrt
fun main() {
val tt = readln().toInt()
repeat(tt, ::testCase)
}
fun testCase(tti: Int) {
val nn = readln().toLong()
val index = nn - 1
// Let's assume that i stars from 0
val `i-1` = floor(sqrt((index / 26 + 0.25) * 2) - 0.5).toLong()
val n... | 0 | Kotlin | 1 | 1 | 743540a46ec157a6f2ddb4de806a69e5126f10ad | 531 | google-code-jam | MIT License |
mapache-annotation-processor/src/main/java/name/wildswift/mapache/generator/parsers/groovy/GroovyDslParser.kt | wild-swift | 222,104,173 | false | null | package name.wildswift.mapache.generator.parsers.groovy
import com.squareup.javapoet.ClassName
import com.squareup.javapoet.TypeName
import groovy.lang.Binding
import groovy.lang.GroovyShell
import groovy.util.DelegatingScript
import name.wildswift.mapache.generator.*
import name.wildswift.mapache.generator.generatemo... | 0 | Kotlin | 0 | 1 | 75bd30c8068d24df91f68269bdc9b5ee8ce06d8e | 10,013 | tiger-navigation | Apache License 2.0 |
project/module-legacy-api/src/main/kotlin/ink/ptms/adyeshach/common/entity/type/AdyHuman.kt | TabooLib | 284,936,010 | false | {"Kotlin": 1050024, "Java": 35966} | package ink.ptms.adyeshach.common.entity.type
import ink.ptms.adyeshach.common.entity.EntityTypes
import ink.ptms.adyeshach.core.entity.type.AdyHuman
import org.bukkit.entity.Player
/**
* @author sky
* @since 2020-08-04 15:44
*/
@Deprecated("Outdated but usable")
class AdyHuman(v2: ink.ptms.adyeshach.core.entity.E... | 13 | Kotlin | 86 | 98 | ac7098b62db19308c9f14182e33181c079b9e561 | 3,200 | adyeshach | MIT License |
community/src/main/java/com/kotlin/android/community/ui/follow/FollowFragment.kt | R-Gang-H | 538,443,254 | false | null | package com.kotlin.android.community.ui.follow
import android.view.View
import androidx.fragment.app.viewModels
import androidx.lifecycle.Observer
import androidx.lifecycle.observe
import com.jeremyliao.liveeventbus.LiveEventBus
import com.kotlin.android.community.R
import com.kotlin.android.community.databinding.Frag... | 0 | Kotlin | 0 | 1 | e63b1f9a28c476c1ce4db8d2570d43a99c0cdb28 | 14,972 | Mtime | Apache License 2.0 |
calendarLibrary/src/main/java/com/leosvjetlicic/calendarlibrary/ui/calendarday/singleday/ICalendarDay.kt | LeoSvjetlicic | 830,402,028 | false | {"Kotlin": 144462} | package com.leosvjetlicic.calendarlibrary.ui.calendarday.singleday
import java.time.LocalDate
/**
* Interface representing the state of a single calendar day.
*
* This interface defines the essential properties for describing a calendar day, including its
* date, selection status, and whether it is part of the cu... | 0 | Kotlin | 0 | 5 | 7e319e6ba6b25e1f54733b69e2977a3ec0cc9dbf | 1,004 | CalendarLibrary | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.