path stringlengths 4 280 | owner stringlengths 2 39 | repo_id int64 21.1k 879M | is_fork bool 2
classes | languages_distribution stringlengths 13 1.95k ⌀ | content stringlengths 7 482k | issues int64 0 13.9k | main_language stringclasses 121
values | forks stringlengths 1 5 | stars int64 0 111k | commit_sha stringlengths 40 40 | size int64 7 482k | name stringlengths 1 100 | license stringclasses 93
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
App/app/src/main/java/com/example/calculator/presentation/history/HistoryItem.kt | DenisKochetov | 407,121,470 | false | {"Kotlin": 47301} | package com.example.calculator.presentation.history
import android.os.Parcelable
import kotlinx.parcelize.Parcelize
@Parcelize
data class HistoryItem(
val expression: String,
val result: String
): Parcelable | 0 | Kotlin | 0 | 0 | 0150b8d2279a94f22241b0706f67792504e05625 | 218 | Calculator | MIT License |
protocol/src/main/kotlin/com/github/traderjoe95/mls/protocol/types/framing/enums/SenderType.kt | Traderjoe95 | 757,448,383 | false | {"Kotlin": 1143520} | package com.github.traderjoe95.mls.protocol.types.framing.enums
import com.github.traderjoe95.mls.codec.type.EnumT
import com.github.traderjoe95.mls.codec.type.ProtocolEnum
import com.github.traderjoe95.mls.codec.type.enum
import com.github.traderjoe95.mls.codec.util.throwAnyError
enum class SenderType(ord: UInt, ove... | 0 | Kotlin | 0 | 1 | 70bd7110b08713ae9425bbad6e6da13fa6fed8f3 | 797 | mls-kotlin | MIT License |
Wisdom_Education_Android/viewbinding/src/main/java/com/netease/yunxin/app/wisdom/viewbinding/ViewBindingProperty.kt | netease-kit | 379,206,596 | false | null | /*
* Copyright (c) 2021 NetEase, Inc. All rights reserved.
* Use of this source code is governed by a MIT license that can be found in the LICENSE file.
*/
package com.netease.yunxin.app.wisdom.edu.ui.viewbinding
import android.os.Handler
import android.os.Looper
import android.view.View
import androidx.annotatio... | 1 | null | 28 | 36 | 14ecdf360779abc0d2ccf9deb203457259659e2a | 5,092 | WisdomEducation | MIT License |
feature/home/src/main/java/com/quintallabs/feature/home/ui/HomeEvent.kt | thiagoalexb | 739,844,654 | false | {"Kotlin": 51696} | package com.quintallabs.feature.home.ui
sealed class HomeEvent {
object OnReload: HomeEvent()
} | 0 | Kotlin | 0 | 0 | 4fe2e17df01fb6a60611cca6673ed6dd8e45720f | 98 | randomDrink | Apache License 2.0 |
compiler/testData/diagnostics/tests/multiplatform/topLevelFun/implWithoutHeader.fir.kt | android | 263,405,600 | false | null | // !LANGUAGE: +MultiPlatformProjects
// MODULE: m1-jvm
// FILE: jvm.kt
actual fun foo() { }
| 0 | null | 37 | 316 | 74126637a097f5e6b099a7b7a4263468ecfda144 | 93 | kotlin | Apache License 2.0 |
Pedidos/app/src/main/java/com/opdeveloper/pedidos/car/CarActivity.kt | Afrothundera | 608,736,651 | false | null | package com.opdeveloper.pedidos.car
import android.content.DialogInterface
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.util.Log
import android.view.ViewGroup
import android.widget.EditText
import android.widget.LinearLayout
import android.widget.Toast
import androidx.appcomp... | 0 | Kotlin | 0 | 0 | b3377305ea9d7f7c7d764a686edc4a3b38f2d098 | 5,273 | App-Pedidos-Online-Restaurantes | The Unlicense |
src/test/kotlin/uk/gov/justice/digital/hmpps/managerecallsapi/integration/db/DocumentRepositoryIntegrationTest.kt | ministryofjustice | 371,053,303 | false | null | package uk.gov.justice.digital.hmpps.managerecallsapi.integration.db
import com.natpryce.hamkrest.absent
import com.natpryce.hamkrest.assertion.assertThat
import com.natpryce.hamkrest.equalTo
import com.natpryce.hamkrest.startsWith
import org.junit.jupiter.api.BeforeEach
import org.junit.jupiter.api.Test
import org.ju... | 3 | Kotlin | 0 | 1 | 708e801435483b0406197fdc61e85ab7c2d2cc82 | 13,881 | manage-recalls-api | MIT License |
compiler/testData/codegen/boxInline/suspend/crossinlineSuspendLambdaInsideCrossinlineSuspendLambda.kt | JetBrains | 3,432,266 | false | null | // IGNORE_BACKEND: JVM_IR
// FILE: test.kt
// COMMON_COROUTINES_TEST
// WITH_RUNTIME
// WITH_COROUTINES
import COROUTINES_PACKAGE.*
import helpers.*
inline suspend fun foo(crossinline a: suspend () -> Unit, crossinline b: suspend () -> Unit) {
var x = "OK"
bar { x; a(); b() }
}
inline suspend fun bar(crossin... | 181 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 636 | kotlin | Apache License 2.0 |
src/app/src/main/kotlin/org/vaccineimpact/api/app/errors/UnexpectedError.kt | vimc | 85,062,678 | false | null | package org.vaccineimpact.api.app.errors
import org.apache.commons.lang3.RandomStringUtils
import org.slf4j.Logger
import org.slf4j.LoggerFactory
import org.vaccineimpact.api.app.ErrorHandler
import org.vaccineimpact.api.db.Config
import org.vaccineimpact.api.models.ErrorInfo
val supportAddress = Config["contact.supp... | 1 | null | 1 | 2 | 0b3acb5f22b71300d6c260c5ecb252b0bddbe6ea | 1,328 | montagu-api | MIT License |
examples/wa-articles/src/main/java/com/anymore/wanandroid/articles/api/WanAndroidArticlesApi.kt | anymao | 234,439,982 | false | null | package com.anymore.wanandroid.articles.api
import com.anymore.wanandroid.articles.entry.Article
import com.anymore.wanandroid.repository.base.PagedData
import com.anymore.wanandroid.repository.base.WanAndroidResponse
import io.reactivex.Observable
import retrofit2.http.GET
import retrofit2.http.Path
/**
* Retrofit ... | 0 | Kotlin | 0 | 5 | f0c89b016e16303840e61c60337c39e82bf8c872 | 548 | Andkit | MIT License |
src/main/kotlin/io/daobab/demo/dao/column/ManagerStaffId.kt | daobab-projects | 638,170,318 | false | null | package io.daobab.demo.dao.column
import io.daobab.model.Column
import io.daobab.model.EntityRelationMap
import io.daobab.model.EntityMap
interface ManagerStaffId<E : EntityMap, F> : EntityRelationMap<E> {
fun getManagerStaffId(): F = getColumnParam("ManagerStaffId")
@Suppress("UNCHECKED_CAST")
fun set... | 0 | Kotlin | 0 | 0 | 00bd9c9456589c2a2a1125bbc16458e21765b2cc | 1,513 | daobab-100plus-examples-kotlin | Apache License 2.0 |
src/main/kotlin/com/github/joostvdg/appregister/model/event/EventType.kt | joostvdg | 123,302,308 | false | null | package com.github.joostvdg.appregister.model.event
import org.springframework.data.annotation.TypeAlias
@TypeAlias("eventType")
enum class EventType {
CREATE, UPDATE, DELETE, FAILURE, OTHER
} | 1 | Kotlin | 0 | 0 | f00f08e9b7f86c1097a98e8b4d073c178bb14743 | 198 | app-register | MIT License |
app/src/main/java/com/kyawhtut/test/vo/TableCellVO.kt | kyawhtut-cu | 253,677,572 | false | null | package com.kyawhtut.pos.data.vo
import com.evrencoskun.tableview.filter.IFilterableModel
import com.evrencoskun.tableview.sort.ISortableModel
data class TableCellVO private constructor(
val cellId: String,
val data: Any
) : ISortableModel, IFilterableModel {
override fun getFilterableKeyword(): String {... | 0 | null | 1 | 2 | 2d74c1e819126b7c18f238411bbc5abffe3f9638 | 1,050 | Sheet2Json | Apache License 2.0 |
src/main/kotlin/dev/killjoy/prometheus/exporters/Metrics.kt | Blad3Mak3r | 295,118,697 | false | null | /*******************************************************************************
* Copyright (c) 2021. Blademaker
*
* 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.... | 11 | Kotlin | 1 | 9 | f58907dc0b334f87060bab49c2e6e1a271d11386 | 3,112 | Killjoy | Apache License 2.0 |
node/src/main/kotlin/net/corda/node/services/transactions/DistributedImmutableBFTMap.kt | verymahler | 82,572,040 | true | {"Kotlin": 2015484, "Java": 131032, "Groovy": 25018, "Shell": 1863, "CSS": 636, "Batchfile": 183} | package net.corda.node.services.transactions
import bftsmart.tom.ServiceProxy
import bftsmart.tom.MessageContext
import bftsmart.tom.ServiceReplica
import bftsmart.tom.server.defaultservices.DefaultRecoverable
import bftsmart.tom.server.defaultservices.DefaultReplier
import net.corda.core.serialization.deserialize
imp... | 0 | Kotlin | 0 | 0 | f2b3adab4f29188d127e010a33fefa24886184b9 | 4,318 | corda | Apache License 2.0 |
src/main/kotlin/io/kanro/compose/jetbrains/color/ButtonColors.kt | ButterCam | 414,869,239 | false | null | package io.kanro.compose.jetbrains.color
import androidx.compose.foundation.interaction.InteractionSource
import androidx.compose.foundation.interaction.collectIsFocusedAsState
import androidx.compose.runtime.Composable
import androidx.compose.runtime.State
import androidx.compose.runtime.getValue
import androidx.comp... | 3 | null | 8 | 23 | bcdbd895ad53f4685e37dc0fc3fbfb7fed2274f7 | 5,870 | compose-jetbrains-theme | MIT License |
buildSrc/src/main/kotlin/Versions.kt | christophpickl | 274,089,309 | false | null | object Versions {
const val assertk = "0.22"
const val klogging = "1.7.10"
const val kotlin = "1.3.72"
const val logback = "1.2.3"
const val mockk = "1.10.0"
const val testng = "7.2.0"
object Plugins {
const val versions = "0.28.0"
}
}
| 0 | Kotlin | 0 | 0 | 45b8785e7b93739f434b5d2213bc19f70b1f03c0 | 277 | load_balancer | The Unlicense |
src/main/kotlin/com/siral/routes/LogsRoutes.kt | serize02 | 808,147,055 | false | {"Kotlin": 66204} | package com.siral.routes
import com.siral.data.DataService
import com.siral.plugins.withRole
import com.siral.responses.Response
import com.siral.utils.Access
import com.siral.utils.Messages
import io.ktor.http.*
import io.ktor.server.application.*
import io.ktor.server.auth.*
import io.ktor.server.response.*
import i... | 0 | Kotlin | 0 | 0 | bce3d2d506d97cf11d9c66b6a9bb70157057f370 | 750 | Siral-Server | MIT License |
src/main/kotlin/com/krillsson/sysapi/config/ConnectivityCheckConfiguration.kt | Krillsson | 40,235,586 | false | null | package com.krillsson.sysapi.config
import com.fasterxml.jackson.annotation.JsonProperty
data class ConnectivityCheckConfiguration(
@JsonProperty val enabled: Boolean,
@JsonProperty val address: String
) | 9 | null | 3 | 97 | 08d2205b06687f67a24e64a9ed9fc9cf36ff91a4 | 213 | sys-API | Apache License 2.0 |
app/src/main/java/com/application/bsnlcare/customer/fragments/Mybsnl.kt | Gaurav241 | 669,662,009 | false | null | package com.application.bsnlcare.customer.fragments
import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.Button
import android.widget.RadioButton
import android.widget.RadioGroup
import android.wid... | 0 | Kotlin | 0 | 0 | 68a536ae0811b3b749def8213f864a17cd6174b7 | 2,307 | BSNL-Care | MIT License |
app/src/main/java/me/rosuh/jianews/bean/ArticleBean.kt | rosuH | 131,314,927 | false | null | package me.rosuh.jianews.bean
import android.os.Parcel
import android.os.Parcelable
import java.util.ArrayList
/**
* 这个类是 ArticleBean 文章类,描述了 ArticleBean 这个类的成员和方法
* @author rosuh 2018-5-9
* @version 0.1
*/
data class ArticleBean(
var id: Int, var url: String, var title: String, var summary: String,
var t... | 0 | Kotlin | 0 | 1 | 1c6a0280afcc20cb8002ec563f40a723c60c30b2 | 1,647 | JiaNews | MIT License |
app/src/main/java/me/rosuh/jianews/bean/ArticleBean.kt | rosuH | 131,314,927 | false | null | package me.rosuh.jianews.bean
import android.os.Parcel
import android.os.Parcelable
import java.util.ArrayList
/**
* 这个类是 ArticleBean 文章类,描述了 ArticleBean 这个类的成员和方法
* @author rosuh 2018-5-9
* @version 0.1
*/
data class ArticleBean(
var id: Int, var url: String, var title: String, var summary: String,
var t... | 0 | Kotlin | 0 | 1 | 1c6a0280afcc20cb8002ec563f40a723c60c30b2 | 1,647 | JiaNews | MIT License |
AcornUiCore/src/com/acornui/core/graphics/BlendMode.kt | konsoletyper | 105,533,124 | false | null | /*
* Derived from LibGDX by <NAME>
* https://github.com/libgdx
* Copyright 2011 See https://github.com/libgdx/libgdx/blob/master/AUTHORS
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* ... | 0 | Kotlin | 3 | 0 | a84b559fe1d1cad01eb9223ad9af73b4d5fb5bc8 | 1,805 | Acorn | Apache License 2.0 |
common/src/androidMain/kotlin/me/kit/common/module/PlatformModule.kt | kdreamix | 396,769,399 | false | null | package me.kit.common.module
import io.ktor.client.*
import me.kit.common.androidHttpClient
import org.kodein.di.DI
import org.kodein.di.bind
import org.kodein.di.singleton
actual fun platformModule() = DI.Module("app Module", false){
bind<HttpClient>() with singleton { androidHttpClient }
} | 0 | Kotlin | 0 | 1 | 9ee8ce13950f147c9e1c8b9c19bd696ae1c3383b | 298 | ComposeTruck | Apache License 2.0 |
MateriallyMessy/app/src/main/java/com/aussie/materiallymessy/MainActivity.kt | AndyDentFree | 864,764,349 | false | {"Kotlin": 17598, "Swift": 1242, "HTML": 340, "CSS": 102} | package com.aussie.materiallymessy
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.layout.Column
import androidx.compose.fou... | 0 | Kotlin | 0 | 0 | 07957b5225ed34b1b2d6608f027ff129d4e71f86 | 2,379 | kotlyrical | MIT License |
code/kotlin/design-patterns-code/src/main/kotlin/creational/builder/RoomListBuilder.kt | fadi-william | 509,533,944 | false | {"Kotlin": 44337} | package creational.builder
class RoomListBuilder {
private lateinit var listOfRooms: ArrayList<Room>
fun addList(): RoomListBuilder {
listOfRooms = ArrayList<Room>()
return this
}
fun addRoom(room: Room): RoomListBuilder {
listOfRooms.add(room)
return this
}
f... | 0 | Kotlin | 0 | 1 | d393d343855cd82b9c3f3a0aeb768e824ae8bc82 | 461 | design-patterns | The Unlicense |
features/home/home-domain/src/main/java/com/anmolsahi/domain/repositories/HomeRepository.kt | sahianmol1 | 680,504,355 | false | {"Kotlin": 348917, "Shell": 4486} | package com.anmolsahi.domain.repositories
import com.anmolsahi.domain.models.RedditPost
import kotlinx.coroutines.flow.Flow
@SuppressWarnings("TooManyFunctions")
interface HomeRepository {
fun getHotPosts(
shouldRefreshData: Boolean,
nextPageKey: String? = null,
): Flow<List<RedditPost>?>
... | 6 | Kotlin | 1 | 1 | 66da5b4273299297a0944f89433aa2db8403d9e3 | 1,794 | Bronco-for-Reddit | MIT License |
plugins/kotlin/base/analysis/src/org/jetbrains/kotlin/idea/search/usagesSearch/operators/IndexingOperatorReferenceSearcher.kt | ingokegel | 72,937,917 | 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 org.jetbrains.kotlin.idea.search.usagesSearch.operators
import com.intellij.psi.PsiElement
import com.intellij.psi.PsiReference
import com.intellij.psi... | 191 | null | 4372 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 2,346 | intellij-community | Apache License 2.0 |
ktor-server/ktor-server-plugins/ktor-server-body-limit/common/src/io/ktor/server/plugins/bodylimit/RequestBodyLimit.kt | ktorio | 40,136,600 | false | {"Kotlin": 5910616, "C": 453568, "Python": 948, "JavaScript": 775, "HTML": 336, "Mustache": 77, "Handlebars": 9} | /*
* Copyright 2014-2023 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license.
*/
package io.ktor.server.plugins.bodylimit
import io.ktor.server.application.*
import io.ktor.server.plugins.*
import io.ktor.server.request.*
import io.ktor.utils.io.*
import io.ktor.utils.io.... | 160 | Kotlin | 1036 | 12,657 | 92e54d329a7caa1d750a25f9b44761a2d3cd7d4a | 2,622 | ktor | Apache License 2.0 |
multiplatform-annotations/src/commonMain/kotlin/org/jetbrains/annotations/NonNls.kt | JetBrains | 121,721,945 | false | null | /*
* Copyright 2000-2021 JetBrains s.r.o.
*
* 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 agr... | 24 | null | 47 | 391 | bf48b416db3388a0122023c79bc826b7165ff479 | 3,295 | java-annotations | Apache License 2.0 |
app/src/main/java/org/zelenikljuc/prvazelenahitnapomoc/ui/news/fullnews/FullNewsFragment.kt | vegaitsourcing | 551,587,624 | false | null | package org.zelenikljuc.prvazelenahitnapomoc.ui.news.fullnews
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import androidx.fragment.app.viewModels
import androidx.navigation.fragment.findNavController
import and... | 0 | Kotlin | 0 | 0 | c66d73c3d0cb5353f55058f0ac9f62364903acad | 2,084 | prva-zelena-hitna-pomoc-android-app | MIT License |
src/main/kotlin/br/com/erivelton/rest/pix/shared/config/excecao/ChavePixDuplicadaException.kt | eriveltonluiz | 387,615,008 | true | {"Kotlin": 35704, "Smarty": 2172, "Dockerfile": 156} | package br.com.erivelton.rest.pix.shared.config.excecao
import java.lang.RuntimeException
class ChavePixDuplicadaException(mensagem: String = "Chave já está registrada no sistema") : RuntimeException(mensagem) {
}
| 0 | Kotlin | 0 | 0 | c63d8eb9eeb4a533261fdbb52ac3d83cd1e205fc | 217 | orange-talents-05-template-pix-keymanager-rest | Apache License 2.0 |
app/src/main/java/com/faigenbloom/familybudget/domain/spendings/SpendingsPagingSource.kt | ZakharchenkoWork | 706,155,222 | false | {"Kotlin": 746176} | package com.faigenbloom.familybudget.domain.spendings
import androidx.paging.PagingSource
import androidx.paging.PagingState
import com.faigenbloom.familybudget.domain.categories.GetCategoryByIdUseCase
import com.faigenbloom.familybudget.domain.spendings.dividers.DayGroupDivider
import com.faigenbloom.familybudget.dom... | 0 | Kotlin | 0 | 0 | e81fa66d6afd5b79d3299583a73378c3ee1463ca | 4,038 | FamilyBudget | Apache License 2.0 |
component/src/main/java/com/base/component/ui/homepageslider/ISliderClickListener.kt | uygemre | 335,039,935 | false | null | package com.base.component.ui.homepageslider
import com.base.core.ui.recyclerview.DisplayItem
/*
Created by <NAME>
3.07.2020 - 15:25
<EMAIL>
*/
interface ISliderClickListener {
fun onClickListener(position: Int?, item: DisplayItem?)
} | 0 | Kotlin | 0 | 0 | 24c32e066a2680aed91a0932eee48fae490597d8 | 251 | SearchApp | MIT License |
app/src/main/java/com/cocdetails/ui/nodels/completedirectory/ResponseData.kt | iKhan1057 | 571,087,717 | false | null | package com.cocdetails.ui.nodels.completedirectory
data class ResponseData(
val content: List<Content>,
val id: String,
val name: String
) | 0 | Kotlin | 0 | 0 | 761228f09ea423a1745e556330c4c2b34fe0af38 | 151 | cocinfo | Apache License 2.0 |
kotlin-mui/src/main/kotlin/mui/material/styles/createTransitions.ext.kt | JetBrains | 93,250,841 | false | null | package mui.material.styles
import csstype.Transition
import kotlinx.js.jso
inline fun Transitions.create(
vararg props: String,
block: TransitionCreateOptions.() -> Unit,
): Transition =
create(props, jso(block))
| 17 | Kotlin | 153 | 1,052 | c783c9dc33041f8eaa332ebb0833171d670b7ac9 | 228 | kotlin-wrappers | Apache License 2.0 |
api/src/main/kotlin/br/com/gamemods/minecity/api/claim/Claim.kt | GameModsBR | 723,707,184 | false | {"Kotlin": 96739, "Java": 1275} | package br.com.gamemods.minecity.api.claim
import br.com.gamemods.minecity.api.id.ClaimId
import br.com.gamemods.minecity.api.serializer.UniqueId
import kotlinx.serialization.Serializable
@Serializable
public data class Claim(
val id: ClaimId = ClaimId(),
val shape: Set<ClaimShape>,
val parentId: ClaimId?... | 1 | Kotlin | 0 | 4 | 7d6bf31a692c46623b75e95bb4b5a37db4d3630b | 518 | MineCity2 | MIT License |
compiler/ir/backend.js/src/org/jetbrains/kotlin/ir/backend/js/transformers/irToJs/MultiModuleSupport.kt | nskvortsov | 367,097,840 | 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.ir.backend.js.transformers.irToJs
import org.jetbrains.kotlin.ir.ObsoleteDescrip... | 0 | null | 1 | 3 | 58c7aa9937334b7f3a70acca84a9ce59c35ab9d1 | 8,593 | kotlin | Apache License 2.0 |
src/en/kingofscans/src/eu/kanade/tachiyomi/extension/en/kingofscans/KingOfScans.kt | komikku-app | 720,497,299 | false | {"Kotlin": 6775539, "JavaScript": 2160} | package eu.kanade.tachiyomi.extension.en.kingofscans
import eu.kanade.tachiyomi.multisrc.mangathemesia.MangaThemesia
import eu.kanade.tachiyomi.source.model.Page
import org.jsoup.nodes.Document
class KingOfScans : MangaThemesia(
"King of Scans",
"https://kingofscans.com",
"en",
mangaUrlDirectory = "/c... | 22 | Kotlin | 8 | 97 | 7fc1d11ee314376fe0daa87755a7590a03bc11c0 | 798 | komikku-extensions | Apache License 2.0 |
dsl/src/main/kotlin/com/faendir/awscdkkt/generated/services/acmpca/CfnCertificateAuthorityDsl.kt | F43nd1r | 643,016,506 | false | null | package com.faendir.awscdkkt.generated.services.acmpca
import com.faendir.awscdkkt.AwsCdkDsl
import javax.`annotation`.Generated
import kotlin.String
import kotlin.Unit
import software.amazon.awscdk.services.acmpca.CfnCertificateAuthority
import software.amazon.awscdk.services.acmpca.CfnCertificateAuthorityProps
impor... | 1 | Kotlin | 0 | 0 | e08d201715c6bd4914fdc443682badc2ccc74bea | 1,045 | aws-cdk-kt | Apache License 2.0 |
pensjon-brevbaker/src/main/kotlin/no/nav/pensjon/etterlatte/maler/vedlegg/barnepensjon/InformasjonTilDegSomHandlerPaaVegneAvBarnet.kt | navikt | 375,334,697 | false | {"Kotlin": 1403616, "TypeScript": 179200, "CSS": 18045, "TeX": 12814, "Shell": 6626, "Dockerfile": 3756, "Python": 2077, "JavaScript": 161} | package no.nav.pensjon.etterlatte.maler.vedlegg
import no.nav.pensjon.brev.template.Language.Bokmal
import no.nav.pensjon.brev.template.Language.English
import no.nav.pensjon.brev.template.Language.Nynorsk
import no.nav.pensjon.brev.template.LanguageSupport
import no.nav.pensjon.brev.template.createAttachment
import n... | 4 | Kotlin | 3 | 1 | 21bc51303385dd8cb4e064196a48205cdb4d6b53 | 3,442 | pensjonsbrev | MIT License |
movie/ui-list/src/main/kotlin/uz/devazimjon/sample/mover/movie/list/ui/MovieList.kt | devazimjon | 601,478,296 | false | null | package uz.devazimjon.sample.mover.movie.list.ui
import androidx.compose.animation.AnimatedVisibility
import androidx.compose.animation.ExperimentalAnimationApi
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.co... | 0 | Kotlin | 0 | 0 | 7e1b07297f0df312fe846fb26933ab68435db1b3 | 2,852 | Mover | Apache License 2.0 |
compiler/ir/backend.wasm/src/org/jetbrains/kotlin/backend/wasm/compiler.kt | JetBrains | 3,432,266 | false | null | /*
* Copyright 2010-2019 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.backend.wasm
import org.jetbrains.kotlin.backend.common.phaser.PhaseConfig
impor... | 34 | null | 4903 | 39,894 | 0ad440f112f353cd2c72aa0a0619f3db2e50a483 | 4,433 | kotlin | Apache License 2.0 |
core-network/src/main/java/adven/hiss/core/network/model/NewsResponse.kt | adventures92 | 615,760,318 | false | null | package adven.hiss.core.network.model
@kotlinx.serialization.Serializable
data class NewsResponse(
val status : String?,
val totalResults : Int?,
val articles : List<Article>?
) | 0 | Kotlin | 0 | 0 | 2fa90e59423cd2bb84ce5beb795b07dd2195fa9a | 190 | news_shots | MIT License |
assignor/src/main/java/com/uis/assignor/Cases.kt | luiing | 190,266,980 | false | null | /*
* Copyright (c) 2019 by uis
* Author: uis
* Github: https://github.com/luiing
*/
package com.uis.assignor
import com.google.gson.Gson
/**
* @autho uis
* @date 2019-05-30
* @github https://github.com/luiing
*/
const val NO_TIME_OUT = -1L
const val DEFAULT_CACHE_SIZE = 10*1024*1024
const val State_Destroy =... | 0 | Kotlin | 1 | 8 | c7da9c819f67788e6acad117533260386c9f906b | 999 | Assignor | Apache License 2.0 |
library/src/main/java/com/uploadcare/android/library/api/FilesQueryBuilder.kt | uploadcare | 45,728,119 | false | null | package com.uploadcare.android.library.api
import android.content.Context
import com.uploadcare.android.library.callbacks.UploadcareAllFilesCallback
import com.uploadcare.android.library.callbacks.UploadcareFilesCallback
import com.uploadcare.android.library.data.FilePageData
import com.uploadcare.android.library.exce... | 5 | null | 12 | 13 | b55c3657d71b60c29ad46bc4ac5d64d336b8875d | 4,892 | uploadcare-android | Apache License 2.0 |
jetbrains-core/src/software/aws/toolkits/jetbrains/services/ecs/exec/RunCommandDialog.kt | JetBrains | 223,485,227 | false | null | // Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
package software.aws.toolkits.jetbrains.services.ecs.exec
import com.intellij.execution.executors.DefaultRunExecutor
import com.intellij.execution.runners.ExecutionEnvironmentBuilder
import com.intellij.o... | 6 | null | 4 | 9 | ccee3307fe58ad48f93cd780d4378c336ee20548 | 5,027 | aws-toolkit-jetbrains | Apache License 2.0 |
compiler/fir/checkers/src/org/jetbrains/kotlin/fir/analysis/checkers/declaration/FirMissingDependencyClassForParameterChecker.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.fir.analysis.checkers.declaration
import org.jetbrains.kotlin.diagnostics.Diagno... | 176 | null | 5771 | 47,397 | a47dcc227952c0474d27cc385021b0c9eed3fb67 | 1,527 | kotlin | Apache License 2.0 |
src/test/kotlin/SimDslTest.kt | doip-sim-ecu | 440,945,797 | false | null | import assertk.assertThat
import assertk.assertions.isEqualTo
import assertk.assertions.isNotNull
import assertk.assertions.isNull
import io.ktor.utils.io.*
import library.EcuAdditionalVamData
import library.UdsMessage
import library.decodeHex
import org.junit.jupiter.api.AfterEach
import org.junit.jupiter.api.Test
imp... | 1 | null | 2 | 8 | ebe15e082dbe1ad14e41189735fc99e88146c5eb | 4,672 | doip-sim-ecu-dsl | Apache License 2.0 |
project/Code/src/main/kotlin/cga/exercise/game/CameraController.kt | danyagomezcantu | 841,917,268 | false | {"Kotlin": 88239, "GLSL": 5450} | package cga.exercise.game
import org.joml.Vector3f
import org.lwjgl.glfw.GLFW.*
class CameraController {
private var firstPersonView = true
fun switchView() {
firstPersonView = !firstPersonView
println("Kameraperspektive gewechselt zu: ${if (firstPersonView) "First-Person" else "Third-Person"}"... | 0 | Kotlin | 0 | 1 | 108a82826ffbc6c5ae9cb805750ed1dbc134e996 | 622 | cafe-projekt | MIT License |
app/src/main/kotlin/me/miguelos/sample/data/source/remote/entity/MarvelCharacterEntity.kt | Miguelos | 322,249,301 | false | null | package me.miguelos.sample.data.source.remote.entity
import com.fasterxml.jackson.annotation.JsonIgnoreProperties
import com.fasterxml.jackson.annotation.JsonProperty
@JsonIgnoreProperties(ignoreUnknown = true)
data class MarvelCharacterEntity(
@JsonProperty(Properties.ID) var id: Long = -1L,
@JsonProperty(P... | 0 | Kotlin | 0 | 0 | 9d03ca4e7690973d7d1a1378742ff8e601db3f56 | 923 | AndroidSample | Apache License 2.0 |
src/main/kotlin/instacli/commands/userinteraction/ParameterDataPrompt.kt | Hes-Siemelink | 617,124,378 | false | {"Kotlin": 188134, "Shell": 54} | package instacli.commands.userinteraction
import com.fasterxml.jackson.databind.JsonNode
import com.fasterxml.jackson.databind.node.ArrayNode
import com.fasterxml.jackson.databind.node.BooleanNode.FALSE
import com.fasterxml.jackson.databind.node.BooleanNode.TRUE
import com.fasterxml.jackson.databind.node.ObjectNode
im... | 0 | Kotlin | 0 | 3 | 44db2bc551ffca6ec376d0c40dfc39f9dfb11247 | 4,478 | instacli | Apache License 2.0 |
src/main/kotlin/com/example/modules/SecaoRouting.kt | natalyaaragao | 770,999,928 | false | {"Kotlin": 68366, "JavaScript": 25320, "CSS": 6508, "HTML": 361} | package com.example.modules
import com.example.models.toSecaoResponse
import com.example.services.SecaoService
import com.example.requests.SecaoRequest
import com.example.requests.toSecao
import io.ktor.http.*
import io.ktor.server.application.*
import io.ktor.server.request.*
import io.ktor.server.response.*
import i... | 7 | Kotlin | 0 | 0 | c5f88549d3ed0c44517de6ea83084dd46354a7e3 | 1,453 | library-system | MIT License |
app/src/main/java/ch/ralena/quizapp/activity/BaseActivity.kt | chickendude | 70,227,334 | false | {"Gradle": 3, "Markdown": 1, "Java Properties": 2, "Shell": 1, "Ignore List": 2, "Batchfile": 1, "Proguard": 1, "Java": 2, "XML": 8, "Kotlin": 14} | package ch.ralena.quizapp.activity
import androidx.appcompat.app.AppCompatActivity
import ch.ralena.quizapp.di.activity.ActivityModule
import ch.ralena.quizapp.di.activity.DaggerActivityComponent
open class BaseActivity : AppCompatActivity() {
val injector get() = DaggerActivityComponent.builder()
.activityModul... | 1 | null | 1 | 1 | 30e5aa3262662685bff4f9b53da1b50c68f1bede | 357 | QuizApp | The Unlicense |
kotlin-mui-icons/src/main/generated/mui/icons/material/HexagonTwoTone.kt | JetBrains | 93,250,841 | false | null | // Automatically generated - do not modify!
@file:JsModule("@mui/icons-material/HexagonTwoTone")
@file:JsNonModule
package mui.icons.material
@JsName("default")
external val HexagonTwoTone: SvgIconComponent
| 10 | Kotlin | 145 | 983 | 7ef1028ba3e0982dc93edcdfa6ee1edb334ddf35 | 210 | kotlin-wrappers | Apache License 2.0 |
app/src/main/java/com/ramiyon/soulmath/domain/usecase/login/LoginUseCaseImpl.kt | KylixEza | 482,724,913 | false | {"Kotlin": 253697} | package com.ramiyon.soulmath.domain.usecase.login
import com.ramiyon.soulmath.domain.repository.SoulMathRepository
import com.ramiyon.soulmath.util.Resource
import kotlinx.coroutines.flow.Flow
class LoginUseCaseImpl(
private val repository: SoulMathRepository
): LoginUseCase {
override suspend fun savePrefRem... | 0 | Kotlin | 0 | 0 | 7f7106b6bee4f09da9b1395a441d9f5b2b9a6da7 | 511 | SoulMath | Apache License 2.0 |
features/profile/src/main/java/com/joseph/profile/presentation/screen_profile/ui/ProfileInfo.kt | yusuf0405 | 484,801,816 | false | {"Kotlin": 1421124} | package com.joseph.profile.presentation.screen_profile.ui
import androidx.compose.animation.AnimatedVisibility
import androidx.compose.animation.fadeIn
import androidx.compose.animation.fadeOut
import androidx.compose.foundation.Image
import androidx.compose.foundation.border
import androidx.compose.foundation.layout.... | 1 | Kotlin | 1 | 3 | e1ecdb14efbf7a25643ded1319841712f5e12a3b | 3,196 | BookLoverFinalApp | Apache License 1.1 |
telegram/src/test/kotlin/me/ivmg/telegram/IOUtils.kt | seik | 260,198,511 | true | null | package me.ivmg.telegram
import java.io.File
inline fun <reified T> getFileAsStringFromResources(resName: String): String =
T::class.java.getResource("/$resName").readText()
inline fun <reified T> getFileFromResources(resName: String): File =
File(T::class.java.getResource("/$resName").file)
| 0 | null | 0 | 1 | 6c33ea157af3001c8e75d860f6cdaa395a46945e | 304 | kotlin-telegram-bot | Apache License 2.0 |
Projects/Case Studies/MockKApp/app/src/main/java/com/example/code/exampleone/network/SpacingOutApi.kt | devrath | 367,809,239 | false | null | package com.example.code.exampleone.network
import com.example.code.exampleone.models.ApodImage
import com.example.code.exampleone.models.EarthImage
import okhttp3.OkHttpClient
import retrofit2.Call
import retrofit2.Retrofit
import retrofit2.converter.moshi.MoshiConverterFactory
import retrofit2.http.GET
import retrof... | 0 | Kotlin | 0 | 0 | 9b2f75d54fb286beb30181a4d8905eee1511d534 | 1,262 | automatic-octo-fiesta | Apache License 2.0 |
app/src/main/java/com/akinci/doggoappcompose/ui/components/list/breed/BreedGrid.kt | AttilaAKINCI | 440,251,794 | false | {"Kotlin": 127722} | package com.akinci.doggoappcompose.ui.components.list.breed
import androidx.compose.animation.AnimatedVisibility
import androidx.compose.animation.ExperimentalAnimationApi
import androidx.compose.animation.fadeIn
import androidx.compose.animation.fadeOut
import androidx.compose.foundation.background
import androidx.co... | 0 | Kotlin | 0 | 1 | c523cabc81059ba00ac46305052101b5d37024fb | 3,548 | Doggo | Apache License 2.0 |
app/src/main/java/ua/co/a_byte_at_a_bite/montessoritracker/Student.kt | avu-ua | 728,781,553 | false | {"Kotlin": 16243} | package ua.co.a_byte_at_a_bite.montessoritracker
data class Student(val name: String) | 0 | Kotlin | 0 | 0 | 9e8c99f26b8a5b4ec6ce21cefd961041cc649eec | 85 | Montessori-Tracking-App | MIT License |
app/src/main/java/com/olabode/wilson/moovy/api/responses/main/GenresResponse.kt | whilson03 | 355,191,357 | false | null | package com.olabode.wilson.moovy.api.responses.main
import com.google.gson.annotations.Expose
import com.google.gson.annotations.SerializedName
import com.olabode.wilson.moovy.models.Genres
/**
* Created by <NAME> on 8/1/20.
*/
data class GenresResponse(
@Expose
@SerializedName("genres")
var genres:... | 1 | Kotlin | 2 | 3 | f80b21a301cb7eaef3a9791a99d4d20fdc7e9e8f | 335 | Moovy-Compose | The Unlicense |
compiler/ir/ir.tree/src/org/jetbrains/kotlin/ir/declarations/impl/IrEnumEntryImpl.kt | android | 263,405,600 | false | null | /*
* Copyright 2010-2016 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | 0 | null | 37 | 316 | 74126637a097f5e6b099a7b7a4263468ecfda144 | 3,245 | kotlin | Apache License 2.0 |
baselibrary/src/main/java/com/lq/baselibrary/view/dialog/loadingview/style/PulseRing.kt | yuqianglianshou | 297,072,745 | false | {"Gradle": 5, "Java Properties": 2, "Shell": 1, "Text": 2, "Ignore List": 3, "Batchfile": 1, "Markdown": 3, "Proguard": 2, "Kotlin": 104, "XML": 93, "Java": 11, "INI": 1} | package com.lq.baselibrary.view.dialog.loadingview.style
import android.animation.ValueAnimator
import com.lq.baselibrary.view.dialog.loadingview.animation.SpriteAnimatorBuilder
import com.lq.baselibrary.view.dialog.loadingview.animation.interpolator.KeyFrameInterpolator.Companion.pathInterpolator
import com.lq.baseli... | 1 | null | 1 | 1 | 7f648b8a213143ac05fed4a67b42961802331aab | 793 | BestProject | Apache License 2.0 |
reactive-crypto-hubi/src/test/kotlin/com/njkim/reactivecrypto/hubi/ExchangeClientFactoryTest.kt | traeper | 192,134,291 | true | {"Kotlin": 379466, "Java": 74255} | package com.njkim.reactivecrypto.hubi
import com.njkim.reactivecrypto.core.ExchangeClientFactory
import com.njkim.reactivecrypto.core.ExchangeWebsocketClient
import com.njkim.reactivecrypto.core.common.model.ExchangeVendor
import org.assertj.core.api.Assertions.assertThat
import org.junit.Test
class ExchangeClientFac... | 0 | Kotlin | 0 | 0 | 2695df0055ca52ad1a6de1dbda087646cc9a4980 | 730 | reactive-crypto | Apache License 2.0 |
parsing/src/test/kotlin/org/mangolang/parsing/AssociativityTest.kt | mangolang | 124,457,591 | false | null |
/* Mango compiler (mangolang.org) | Apache 2.0 license, © 2018. */
package org.mangolang.parsing
import org.mangolang.fullast.ConcreteBinaryOperation
import org.mangolang.fullast.ConcreteBinaryOperator
import org.mangolang.fullast.IntegerAST
import org.mangolang.token.IntegerToken
import org.mangolang.token.Operator... | 0 | Kotlin | 0 | 0 | 4c5261a9c4841569e487a3e7e5d00a7498c1b940 | 1,622 | compiler-kt | Apache License 2.0 |
app/src/test/java/br/com/fioalpha/heromarvel/domain/FetchCharactersUseCaseTest.kt | fioalpha | 264,306,059 | false | null | package br.com.fioalpha.heromarvel.domain
import br.com.fioalpha.heromarvel.data.Repository
import br.com.fioalpha.heromarvel.domain.model.CharacterDomain
import com.google.gson.Gson
import com.google.gson.reflect.TypeToken
import com.nhaarman.mockitokotlin2.mock
import com.nhaarman.mockitokotlin2.whenever
import io.r... | 0 | Kotlin | 0 | 3 | 7b0ee22d4431c2330e147de651b92022d61aea5a | 2,416 | Hero-Marvel | The Unlicense |
src/posidon/potassium/backend/Sender.kt | leoxshn | 228,930,058 | false | {"Gradle": 1, "Text": 1, "Ignore List": 2, "XML": 10, "Markdown": 1, "JAR Manifest": 1, "Kotlin": 21, "Java": 6, "HTML": 1} | package posidon.potassium.backend
object Sender {
fun sendToAllPlayers(obj: Any?) {
for (player in Players) player.send(obj)
}
} | 0 | Kotlin | 0 | 0 | 0edccac7ad7139e43879145ee4a49e6b5ea90094 | 145 | potassium_old | Apache License 2.0 |
core/common/src/main/java/com/halilozcan/animearch/core/common/NetworkResponseState.kt | halilozcan | 572,966,235 | false | null | package com.softcross.insuranceapp.common
sealed class NetworkResponseState<out T : Any> {
object Loading : NetworkResponseState<Nothing>()
data class Success<out T : Any>(val result: T) : NetworkResponseState<T>()
data class Error(val exception: Exception) : NetworkResponseState<Nothing>()
} | 1 | null | 8 | 97 | 5903644dbabf505702d488d8ec7bb19b78174467 | 306 | AnimeArch | Apache License 2.0 |
honoka-android-utils/src/main/java/de/honoka/sdk/util/android/javapatch/java/beans/Beans.kt | kosaka-bun | 510,947,308 | false | {"Java": 155002, "Kotlin": 23332, "Batchfile": 483, "HTML": 283} | @file:Suppress("PackageDirectoryMismatch")
package java.beans
@Target(AnnotationTarget.FUNCTION)
@Retention(AnnotationRetention.RUNTIME)
annotation class Transient(
val value: Boolean = true
) | 0 | Java | 3 | 218 | c77c0283d51787cf9a7d082f5eafc7359cd70e6d | 199 | honoka-sdk | Apache License 2.0 |
src/main/kotlin/dev/starry/ktscheduler/event/JobEventListener.kt | Pool-Of-Tears | 815,622,184 | false | {"Kotlin": 84459} | /**
* Copyright [2024 - Present] starry-shivam
*
* 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 la... | 1 | Kotlin | 1 | 21 | cfd18eeb6b61651f7eccc5d6242a7c05ad891e19 | 1,075 | KtScheduler | Apache License 2.0 |
dsl/src/main/kotlin/io/cloudshiftdev/awscdkdsl/services/codedeploy/CfnDeploymentConfigPropsDsl.kt | cloudshiftinc | 667,063,030 | false | null | @file:Suppress(
"RedundantVisibilityModifier",
"RedundantUnitReturnType",
"RemoveRedundantQualifierName",
"unused",
"UnusedImport",
"ClassName",
"REDUNDANT_PROJECTION",
"DEPRECATION"
)
package io.cloudshiftdev.awscdkdsl.services.codedeploy
import io.cloudshiftdev.awscdkdsl.common.CdkDs... | 4 | null | 0 | 3 | c59c6292cf08f0fc3280d61e7f8cff813a608a62 | 7,830 | awscdk-dsl-kotlin | Apache License 2.0 |
android-lang-databinding/src/com/android/tools/idea/lang/databinding/reference/PsiResourceReference.kt | JetBrains | 60,701,247 | false | null | /*
* Copyright (C) 2019 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 5 | null | 227 | 948 | 10110983c7e784122d94c7467e9d243aba943bf4 | 3,688 | android | Apache License 2.0 |
app/src/main/java/com/example/courses/model/Topic.kt | dungd200803btvn | 630,537,156 | false | null |
package com.example.courses.model
import androidx.annotation.DrawableRes
import androidx.annotation.StringRes
data class Topic(
@StringRes val name: Int,
val availableCourses: Int,
@DrawableRes val imageRes: Int
)
| 0 | Kotlin | 0 | 0 | 3d75375b2efd5d2f7aa49d2d71f4562dfee723c4 | 228 | List-Grill-App-Course-App- | Apache License 2.0 |
app/src/main/java/com/example/journalsapp/model/Journal.kt | OverLordN7 | 602,915,635 | false | null | package com.example.journalsapp.model
import kotlinx.serialization.SerialName
data class Journal(
val id: Int,
val name: String,
val description: String,
@SerialName("category_id")
val categoryId: Int,
@SerialName("category_name")
val categoryName: String,
val last_issue: JournalLastIs... | 0 | Kotlin | 0 | 0 | 8bd06dd8bd83ccda0b5fb0572abbc09c89c1200c | 447 | JournalsApp | The Unlicense |
core/common/src/main/kotlin/iracing/telemetry/EnumFlags.kt | Danil0v3s | 682,687,256 | false | {"Kotlin": 207969, "Java": 408} | package iracing.telemetry
import java.util.*
enum class EngineWarningsFlags(val value: Int) {
WaterTempWarning(0x0001),
FuelPressureWarning(0x0002),
OilPressureWarning(0x0004),
EngineStalled(0x0008),
PitSpeedLimiter(0x0010),
RevLimiterActive(0x0020),
OilTempWarning(0x0040);
companion ... | 0 | Kotlin | 0 | 1 | efa1420da166d57c53e890971463acf3980caa70 | 4,930 | kRacing | Apache License 2.0 |
src/main/kotlin/io/github/nocomment1105/bedtime/extensions/HelpExtension.kt | NoComment1105 | 525,183,635 | false | {"Kotlin": 29426} | /*
* Copyright (c) 2022 NoComment1105 <<EMAIL>>
*
* This file is part of Bedtime.
*
* Licensed under the MIT license. For more information,
* please see the LICENSE file
*/
package io.github.nocomment1105.bedtime.extensions
import com.kotlindiscord.kord.extensions.components.components
import com.kotlindiscord... | 0 | Kotlin | 0 | 2 | 7db4434f059a48d34edab18e591836e553d13c78 | 2,888 | Bedtime | MIT License |
src/main/kotlin/club/sk1er/elementa/components/UICircle.kt | IRONM00N | 365,310,613 | true | {"Kotlin": 623174, "GLSL": 3540, "Java": 1359} | package club.sk1er.elementa.components
import club.sk1er.elementa.UIComponent
import club.sk1er.elementa.dsl.toConstraint
import club.sk1er.elementa.dsl.pixels
import club.sk1er.elementa.shaders.FloatUniform
import club.sk1er.elementa.shaders.Shader
import club.sk1er.elementa.shaders.Vec2Uniform
import club.sk1er.elem... | 0 | null | 0 | 0 | 4b2250eba356e688fbee27892d49fff261d16118 | 2,559 | Elementa | MIT License |
src/main/kotlin/us/frollo/frollosdk/model/coredata/kyc/UserKyc.kt | frollous | 261,670,220 | false | {"Kotlin": 3158745} | /*
* Copyright 2019 Frollo
*
* 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... | 5 | Kotlin | 1 | 2 | 177580bf9bfd8190258c626bb57bde5272d9be51 | 1,410 | frollo-android-sdk | Apache License 2.0 |
core/src/main/java/app/allever/android/lib/core/function/datastore/DataStore.kt | devallever | 446,030,743 | false | {"Gradle": 25, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 24, "Batchfile": 1, "Markdown": 3, "INI": 23, "Proguard": 23, "XML": 153, "Kotlin": 352, "Java": 115, "JSON": 1} | package app.allever.android.lib.core.function.datastore
import android.os.Parcelable
/**
* 数据存储
*/
object DataStore : IDataStore {
private var mDataStore: IDataStore = DefaultStore()
fun init(dataStore: IDataStore) {
mDataStore = dataStore
}
override suspend fun putInt(key: String, value: ... | 1 | Java | 8 | 52 | b5ec21078c8a6f509822c763fc90d6106b64bde3 | 1,765 | AndroidBaseLibs | Apache License 2.0 |
mapper/src/main/kotlin/com/kncept/mapper/primitives/FloatArrayMapper.kt | kncept | 761,612,876 | false | {"Kotlin": 63931} | package com.kncept.mapper.primitives
import aws.sdk.kotlin.services.dynamodb.model.AttributeValue
import com.kncept.mapper.TypeMapper
import com.kncept.mapper.collections.ListMapper
import kotlin.reflect.KClass
class FloatArrayMapper : TypeMapper<FloatArray> {
val listMapper: ListMapper<Float> = ListMapper(FloatMap... | 0 | Kotlin | 0 | 0 | 82253778969938aa016dc95a40ccb5b84a6b30c1 | 767 | kotlin-dynamodb-mapper | MIT License |
app/src/main/java/com/example/mvvm/helper/IPermissions.kt | pushpendra996 | 758,128,304 | false | {"Kotlin": 5688} | package com.example.mvvm.helper
/**
* Created by Pushpendra Saini on 14/02/24 @ 5:10 pm
* Contact - sainipushpendra51@gmail.com
* Copyright ©2024 Pushpendra
*/
interface IPermissions {
fun permitted()
} | 0 | Kotlin | 0 | 0 | 8fffb639675171da1c99eb78005e812599a3c717 | 211 | runtime-permission | MIT License |
MyGithub1/app/src/main/java/com/andrewaprianto/mygithub1/User.kt | meandrewaprianto | 354,678,348 | false | null | package com.andrewaprianto.mygithub1
import android.os.Parcelable
import kotlinx.parcelize.Parcelize
@Parcelize
data class User(
var photo: Int,
var username: String,
var followers: String,
var following: String,
var repositories: String,
var company: String,
var location: String,
var ... | 0 | Kotlin | 0 | 0 | 90786a4077ad1c7f17afe336f81cdb48183e39c7 | 346 | BFAA | MIT License |
billing-mock/src/main/kotlin/com/skufbet/billing/service/CallbackService.kt | otto15 | 781,677,300 | false | {"Kotlin": 115304, "Dockerfile": 65, "Shell": 59} | package com.skufbet.billing.service
import com.skufbet.billing.domain.CallbackTask
import org.slf4j.Logger
import org.slf4j.LoggerFactory
import org.springframework.scheduling.annotation.Scheduled
import org.springframework.stereotype.Service
import org.springframework.web.client.RestTemplate
import java.util.*
import... | 0 | Kotlin | 0 | 0 | e1c59c6faa005690fda7c141a569f56fa5de9a9e | 1,166 | skufbet | MIT License |
solar/src/main/java/com/chiksmedina/solar/lineduotone/time/CalendarDate.kt | CMFerrer | 689,442,321 | false | {"Kotlin": 36591890} | package com.chiksmedina.solar.lineduotone.time
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeCap.Companion... | 0 | Kotlin | 0 | 0 | 3414a20650d644afac2581ad87a8525971222678 | 4,569 | SolarIconSetAndroid | MIT License |
ericylutilskt/src/main/kotlin/com/ericyl/utils/util/LogUtils.kt | ericyl-studio | 98,416,681 | false | null | package com.ericyl.utils.util
import android.util.Log
/**
* @author ericyl
*/
inline fun <reified T> T.showDebugLog(message: Any?): Int? {
return showLog(message, Log.DEBUG)
}
inline fun <reified T> T.showErrorLog(message: Any?): Int? {
return showLog(message, Log.ERROR)
}
inline fun <reified T> T.showVer... | 0 | Kotlin | 0 | 0 | fc5c03ddb8cdda92b99e55871d8ac4370c876047 | 1,971 | EricylUtilsKt | Apache License 2.0 |
src/main/kotlin/io/dotanuki/aaw/features/version/AppVersionFinder.kt | dotanuki-labs | 688,201,825 | false | null | /*
* Copyright 2023 <NAME>
* SPDX-License-Identifier: MIT
*/
package io.dotanuki.aaw.features.version
import arrow.core.raise.ensure
import io.dotanuki.aaw.core.errors.AawError
import io.dotanuki.aaw.core.errors.ErrorAware
import io.dotanuki.aaw.core.logging.Logging
import java.util.*
object AppVersionFinder {
... | 4 | null | 0 | 12 | 25e1f6eec768b2db2ad0128e70fe66d576aeb5c0 | 992 | android-archives-watchdog | MIT License |
sources/repository/src/main/java/com/mikyegresl/valostat/repository/NewsRepositoryImpl.kt | sergey-lvovich-kim | 629,918,357 | false | null | package com.mikyegresl.valostat.repository
import com.mikyegresl.valostat.base.converter.responseToDto.news.ArticleDetailsResponseToDtoConverter
import com.mikyegresl.valostat.base.converter.responseToDto.news.ArticleResponseToDtoConverter
import com.mikyegresl.valostat.base.model.ValoStatLocale
import com.mikyegresl.... | 0 | Kotlin | 1 | 8 | 43d703892b9b21824508ab11762f3ad6b04b511b | 2,021 | ValoStat | Apache License 2.0 |
app/src/main/java/br/com/marcottc/weatherpeek/view/activity/WeatherActivity.kt | MarcoTTC | 291,496,200 | false | null | package br.com.marcottc.weatherpeek.view.activity
import android.Manifest
import android.content.pm.PackageManager
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import androidx.activity.result.contract.ActivityResultContracts
import androidx.appcompat.app.AppCompatActivity
import... | 0 | Kotlin | 0 | 0 | 0e614db6f7ac4bff5bdec49dcaa51baa5d3474da | 9,029 | WeatherPeek | MIT License |
UIViews/src/main/java/com/programmersbox/uiviews/globalsearch/GlobalSearchViewModel.kt | jakepurple13 | 353,155,453 | false | {"Kotlin": 2102576} | package com.programmersbox.uiviews.globalsearch
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.setValue
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.programmersbox.extensionloader.SourceRepository
import... | 18 | Kotlin | 23 | 439 | 94825c814e2bb9abd1ca87ecbd275726595f422d | 3,350 | OtakuWorld | Apache License 2.0 |
app/src/main/java/com/steleot/jetpackcompose/playground/di/NetworkModule.kt | Vivecstel | 338,792,534 | false | {"Kotlin": 1538487} | package com.steleot.jetpackcompose.playground.di
import com.jakewharton.retrofit2.converter.kotlinx.serialization.asConverterFactory
import com.steleot.jetpackcompose.playground.BuildConfig
import com.steleot.jetpackcompose.playground.api.GitHubService
import com.steleot.jetpackcompose.playground.api.interceptors.Gith... | 2 | Kotlin | 46 | 346 | 0161d9c7bf2eee53270ba2227a61d71ba8292ad0 | 2,369 | Jetpack-Compose-Playground | Apache License 2.0 |
platform/platform-impl/src/com/intellij/ide/minimap/MinimapPanel.kt | ingokegel | 72,937,917 | false | null | // Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.ide.minimap
import com.intellij.ide.minimap.settings.MinimapSettings
import com.intellij.openapi.Disposable
import com.intellij.openapi.actionSystem.ActionManager
import com.int... | 214 | null | 4829 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 8,553 | intellij-community | Apache License 2.0 |
app/src/main/java/com/hermanowicz/pantry/di/repository/SettingsRepository.kt | sirconceptz | 615,655,539 | false | null | package com.hermanowicz.pantry.di.repository
import com.hermanowicz.pantry.data.model.AppSettings
import com.hermanowicz.pantry.data.repository.SettingsRepositoryImpl
import dagger.Binds
import dagger.Module
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent
import kotlinx.coroutines.flow.Fl... | 0 | Kotlin | 0 | 1 | 5d88c9ed186bf7dd529b30ed1734b40aed18d147 | 1,026 | MyPantry | Apache License 2.0 |
compiler/src/test/kotlin/software/amazon/lastmile/kotlin/inject/anvil/processor/MergeComponentProcessorTest.kt | amzn | 844,818,788 | false | {"Kotlin": 135742} | @file:OptIn(ExperimentalCompilerApi::class)
package software.amazon.lastmile.kotlin.inject.anvil.processor
import assertk.assertThat
import assertk.assertions.contains
import assertk.assertions.isFalse
import assertk.assertions.isNotNull
import assertk.assertions.isTrue
import com.tschuchort.compiletesting.JvmCompila... | 6 | Kotlin | 1 | 40 | d0919d28f4fdf5a7d1ef96cffdfe2b6be324d1e0 | 13,808 | kotlin-inject-anvil | Apache License 2.0 |
app/src/main/java/jp/osdn/gokigen/thetathoughtshutter/theta/ThetaHardwearControl.kt | MRSa | 747,974,401 | false | {"Kotlin": 114232} | package jp.osdn.gokigen.thetathoughtshutter.theta
import IThetaHardwareControl
import android.graphics.Bitmap
import com.theta360.pluginlibrary.activity.PluginActivity
import com.theta360.pluginlibrary.values.LedColor
import com.theta360.pluginlibrary.values.LedTarget
import com.theta360.pluginlibrary.values.OledDispl... | 0 | Kotlin | 0 | 0 | b58e2d49a20bc7ce2e8601b6eb75d4fb2cddb6e4 | 4,082 | ThetaThoughtShutter | Apache License 2.0 |
src/main/kotlin/io/opengood/commons/spring/bean/refresh/controller/BeanRefreshController.kt | opengoodio | 322,603,465 | false | null | package io.opengood.commons.spring.bean.refresh.controller
import io.opengood.commons.spring.bean.refresh.BeanRefresher
import io.opengood.commons.spring.bean.refresh.model.BeanRefreshConfig
import io.opengood.commons.spring.bean.refresh.model.BeanRefreshRequest
import io.opengood.commons.spring.bean.refresh.model.Bea... | 0 | Kotlin | 0 | 0 | 7e9c0e291620eb1ffcc037085f7680e8034fed35 | 1,910 | spring-commons | MIT License |
sample-android/src/main/java/kelm/sample/simpleSample/CounterSampleActivity.kt | AllanHasegawa | 198,645,685 | false | null | package kelm.sample.simpleSample
import android.os.Bundle
import androidx.activity.compose.setContent
import androidx.appcompat.app.AppCompatActivity
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.Spacer
import androidx.compose.f... | 0 | Kotlin | 2 | 19 | c40d9533f792fb3f28a3c21cc0f14cc9882431a6 | 3,069 | kelm | Apache License 2.0 |
sample-android/src/main/java/kelm/sample/simpleSample/CounterSampleActivity.kt | AllanHasegawa | 198,645,685 | false | null | package kelm.sample.simpleSample
import android.os.Bundle
import androidx.activity.compose.setContent
import androidx.appcompat.app.AppCompatActivity
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.Spacer
import androidx.compose.f... | 0 | Kotlin | 2 | 19 | c40d9533f792fb3f28a3c21cc0f14cc9882431a6 | 3,069 | kelm | Apache License 2.0 |
app/src/main/java/com/kenkeremath/mtgcounter/ui/setup/CustomLifeDialogFragment.kt | seanKenkeremath | 518,183,637 | false | {"Kotlin": 375840, "Java": 23306} | package com.kenkeremath.mtgcounter.ui.setup
import android.os.Bundle
import android.text.Editable
import android.text.TextWatcher
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.EditText
import androidx.appcompat.widget.Toolbar
import androidx.fragment.ap... | 4 | Kotlin | 2 | 5 | 3466a28af9ac16403d363dc205d0a71d1cd0b270 | 2,608 | SpellCounter | MIT License |
app/src/main/java/com/example/catfacts/network/CatFactApiService.kt | LordRonz | 482,222,048 | false | {"Kotlin": 9950} | package com.example.catfacts.network
import com.squareup.moshi.Moshi
import com.squareup.moshi.kotlin.reflect.KotlinJsonAdapterFactory
import retrofit2.Retrofit
import retrofit2.converter.moshi.MoshiConverterFactory
import retrofit2.http.GET
private const val BASE_URL =
"https://cat-fact.herokuapp.com"
private va... | 1 | Kotlin | 0 | 0 | 89882d8d8b99939be98730e30eb02c5a5767b6d3 | 765 | cat-facts-app | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.