path stringlengths 4 280 | owner stringlengths 2 39 | repo_id int64 21.1k 879M | is_fork bool 2
classes | languages_distribution stringlengths 13 1.95k ⌀ | content stringlengths 7 482k | issues int64 0 13.9k | main_language stringclasses 121
values | forks stringlengths 1 5 | stars int64 0 111k | commit_sha stringlengths 40 40 | size int64 7 482k | name stringlengths 1 100 | license stringclasses 93
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
core/builtins/native/kotlin/Library.kt | chashnikov | 14,658,474 | true | {"Java": 14526655, "Kotlin": 6831811, "JavaScript": 897073, "Groovy": 43935, "CSS": 14421, "Shell": 9248} | /*
* Copyright 2010-2014 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 | Java | 0 | 1 | 88a261234860ff0014e3c2dd8e64072c685d442d | 904 | kotlin | Apache License 2.0 |
sample/src/main/kotlin/com/fpliu/newton/http/sample/entity/WeatherInfoEntity.kt | leleliu008 | 131,111,181 | false | {"Gradle Kotlin DSL": 4, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "Markdown": 1, "Kotlin": 18, "INI": 1, "Java": 1} | package com.fpliu.newton.http.sample.entity
data class WeatherInfoEntity(val weatherinfo: WeatherInfo) {
data class WeatherInfo(val city: String,
val cityid: String,
val temp1: String,
val temp2: String,
val... | 1 | null | 1 | 1 | b9a8ee432a971cb0c95c20ce422de8faeb316dd1 | 475 | RetrofitHelper | Apache License 2.0 |
EcosystemSimulation/src/shmp/simulation/space/resource/action/ConversionCore.kt | ShMPMat | 212,499,539 | false | null | package shmp.simulation.space.resource.action
import shmp.simulation.space.resource.Resource
class ConversionCore(actionConversion: Map<ResourceAction, MutableList<Resource>>) {
val actionConversion = mutableMapOf<ResourceAction, MutableList<Resource>>()
internal val probabilityActions = mutableListOf<Resour... | 0 | Kotlin | 0 | 0 | 43fbb9f6db25f651cb7328408468513491296fb0 | 1,209 | CulturesSim | MIT License |
Projects/Test/core/src/test/java/ademar/study/test/core/model/HelloWorldTest.kt | ademar111190 | 76,153,266 | false | null | package ademar.study.test.core.model
import ademar.study.test.core.injection.ApplicationJsonAdapterFactory
import ademar.study.test.core.test.BaseTest
import ademar.study.test.core.test.Fixture
import ademar.study.test.core.test.Fixture.IMAGE
import ademar.study.test.core.test.Fixture.MESSAGE
import ademar.study.test.... | 0 | Kotlin | 1 | 1 | 65466ea1c6e4f75ae9791826a428c7dd8e101f98 | 1,423 | Studies | MIT License |
src/main/kotlin/com/notificator/bot/adapter/telegram/NotificatorBot.kt | evg-sm | 622,334,756 | false | null | package com.notificator.bot.adapter.telegram
import com.notificator.bot.adapter.telegram.components.BotCommands
import com.notificator.bot.adapter.telegram.components.BotCommands.Companion.LIST_OF_COMMANDS
import com.notificator.bot.application.configuration.BotSetting
import com.notificator.bot.application.port.`in`.... | 0 | Kotlin | 0 | 0 | 77723b79c7a9c5ad97f8f31e277c0412c3013c5b | 2,005 | notificator-bot | Apache License 2.0 |
app/src/main/java/com/leviaran/ownpetapp/ui/screencomponent/uicomponent/PetCard.kt | Leviaran | 343,830,713 | false | null | package com.leviaran.ownpetapp.ui.screencomponent.uicomponent
import androidx.compose.foundation.layout.*
import androidx.compose.material.Icon
import androidx.compose.material.MaterialTheme
import androidx.compose.material.Text
import androidx.compose.runtime.Composable
import androidx.compose.ui.Alignment
import and... | 0 | Kotlin | 0 | 1 | 417ab96f06dc2d863628ba4eee537a0ac256f5d0 | 2,313 | ownpetapp | Apache License 2.0 |
connectors/aws-connectors/sqs-connector/src/main/java/com/orbitalhq/connectors/aws/sqs/SqsConnectionBuilder.kt | orbitalapi | 541,496,668 | false | {"TypeScript": 9344934, "Kotlin": 5669840, "HTML": 201985, "SCSS": 170620, "HCL": 55741, "Java": 29373, "JavaScript": 24697, "Shell": 8800, "Dockerfile": 7001, "Smarty": 4741, "CSS": 2966, "Mustache": 1392, "Batchfile": 983, "MDX": 884, "PLpgSQL": 337} | package com.orbitalhq.connectors.aws.sqs
import com.fasterxml.jackson.databind.ObjectMapper
import com.fasterxml.jackson.module.kotlin.jacksonObjectMapper
import com.orbitalhq.connectors.aws.configureWithExplicitValuesIfProvided
import com.orbitalhq.connectors.aws.core.registry.AwsConnectionRegistry
import com.orbital... | 9 | TypeScript | 10 | 292 | 2be59abde0bd93578f12fc1e2ecf1f458a0212ec | 2,870 | orbital | Apache License 2.0 |
ScanReplace/src/main/kotlin/ExitCode.kt | CWKSC | 441,924,705 | false | {"Kotlin": 8398, "Shell": 90, "Batchfile": 65} | const val exitCode_success = 0
const val exitCode_init = 1
const val exitCode_file_not_found = 2
const val exitCode_configFolder_not_a_directory = 3
const val exitCode_configFolder_not_exists = 4
| 0 | Kotlin | 0 | 4 | 1b82f3e8ac92fa768b0d2d6dce61e479e78c9d30 | 199 | ScanReplace.kt | Apache License 2.0 |
src/commonMain/kotlin/data/scene/entity/SceneEntityAiInfo.kt | Hartie95 | 642,871,918 | false | {"Kotlin": 301622} | package data.scene.entity
import annotations.AddedIn
import data.general.Vector
import org.anime_game_servers.annotations.ProtoModel
@AddedIn(messages.VERSION.VCB2)
@ProtoModel
internal interface SceneEntityAiInfo {
var isAiOpen: Boolean
var bornPos: Vector
var skillCdMap: Map<Int, Int>
var servantInf... | 0 | Kotlin | 2 | 5 | cb458b49dc9618e3826b890689becc0f12585998 | 434 | anime-game-multi-proto | MIT License |
app/src/main/java/com/darlanaraujo/projetofirebase/view/formcadastro/FormCadastro.kt | darlanaraujo | 738,939,643 | false | {"Kotlin": 11444} | package com.darlanaraujo.projetofirebase.view.formcadastro
import android.content.Context
import android.content.Intent
import android.graphics.Color
import android.inputmethodservice.InputMethodService
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.view.View
import android.vie... | 0 | Kotlin | 0 | 0 | 3b3668215779d78f83d842c443d1ef7ccefd070b | 3,830 | AppLogin | MIT License |
modules/features/splash/impl/src/commonMain/kotlin/com/makeevrserg/empireprojekt/mobile/features/splash/di/SplashComponentDependencies.kt | makeevrserg | 655,032,944 | false | {"Kotlin": 295597, "Swift": 16767, "Ruby": 1737} | package com.makeevrserg.empireprojekt.mobile.features.splash.di
import com.makeevrserg.empireprojekt.mobile.features.splash.data.SplashComponentRepository
import kotlinx.coroutines.CoroutineScope
import ru.astrainteractive.klibs.mikro.core.dispatchers.KotlinDispatchers
internal interface SplashComponentDependencies {... | 2 | Kotlin | 0 | 3 | 2b361024da7c6a1cf9cec1d53c1596e2f75f8423 | 658 | EmpireProjekt-Mobile | RSA Message-Digest License |
vertk-kodein-auth-jwt/src/main/java/com/ufoscout/vertk/kodein/auth/AuthContextServiceImpl.kt | ufoscout | 98,320,761 | false | {"Kotlin": 109613} | package com.ufoscout.vertk.kodein.auth
import com.ufoscout.coreutils.auth.Auth
import com.ufoscout.coreutils.auth.AuthContext
import com.ufoscout.coreutils.auth.AuthService
import com.ufoscout.coreutils.jwt.kotlin.JwtService
import io.vertx.core.http.HttpServerRequest
open class AuthContextServiceImpl(
val au... | 0 | Kotlin | 0 | 1 | 9a033697797a8852fb5a604e4af0de030f71eb50 | 1,318 | vertk | MIT License |
src/main/java/de/danielscholz/fileIndexer/actions/ImportOldDatabase.kt | DanielScholzde | 255,573,681 | false | null | package de.danielscholz.fileIndexer.actions
import com.google.common.collect.ListMultimap
import de.danielscholz.fileIndexer.Config
import de.danielscholz.fileIndexer.common.*
import de.danielscholz.fileIndexer.persistence.*
import de.danielscholz.fileIndexer.persistence.common.*
import org.slf4j.LoggerFactory
import ... | 2 | Kotlin | 0 | 0 | ae320b1b1ac5aab7444bfc03d2e7b42d91345ff4 | 11,388 | FileIndexerAndBackup | Apache License 2.0 |
app/src/main/java/com/example/how_not_to_get_divorced/Application.kt | GitHubOfWeronika | 356,382,419 | false | null | package com.example.how_not_to_get_divorced
import android.app.*
import android.app.Application
import android.content.Context
import android.content.Intent
import android.content.SharedPreferences
import android.icu.util.Calendar
import android.os.Build
import androidx.preference.PreferenceManager
import com.example.... | 0 | Kotlin | 2 | 0 | c549c5bdb7ae944fd2a0e60dd6d481fcb11d1ea6 | 4,088 | How-not-to-get-divorced | MIT License |
src/main/java/mandarin/card/supporter/holder/RequirementSelectHolder.kt | battlecatsultimate | 314,546,358 | false | {"Java": 2850012, "Kotlin": 1577943, "GLSL": 3246} | package mandarin.card.supporter.holder
import mandarin.card.supporter.CardData
import mandarin.card.supporter.Inventory
import mandarin.card.supporter.Product
import mandarin.card.supporter.filter.Filter
import mandarin.packpack.supporter.server.holder.component.ComponentHolder
import net.dv8tion.jda.api.entities.Mess... | 0 | Java | 9 | 11 | 84f2da1d320d841174afff7d9cb3e4c8cc422c39 | 7,416 | PackPack | MIT License |
graphql/src/main/kotlin/com/sangsiklog/service/user/UserService.kt | SangsikLog | 825,352,399 | false | {"Kotlin": 114761, "Dockerfile": 3751} | package com.sangsiklog.service.user
import com.sangsiklog.core.http.HttpClient
import com.sangsiklog.model.user.User
import com.sangsiklog.service.user.request.CreateUserRequest
import com.sangsiklog.service.user.request.UpdateUserRequest
import org.springframework.beans.factory.annotation.Value
import org.springframe... | 3 | Kotlin | 0 | 0 | a489cb6fdc227fce302d387f1893e13a168fc1e2 | 1,474 | sangsiklog-api | MIT License |
app/src/main/java/com/powelllaboratoriesfsm/features/login/api/productlistapi/ProductListRepo.kt | DebashisINT | 558,285,083 | false | {"Kotlin": 12722523, "Java": 986480} | package com.powelllaboratoriesfsm.features.login.api.productlistapi
import com.powelllaboratoriesfsm.app.Pref
import com.powelllaboratoriesfsm.app.domain.ProductListEntity
import com.powelllaboratoriesfsm.app.utils.AppUtils
import com.powelllaboratoriesfsm.features.login.model.productlistmodel.ProductListOfflineRespon... | 0 | Kotlin | 0 | 0 | ac90f50bd6b177133dbfae2eafcc62840da8232a | 2,023 | PowellLaboratories | Apache License 2.0 |
ecommerce-cart/src/main/kotlin/com/kotato/context/ecommerce/modules/payment/domain/view/create/PaymentViewCreator.kt | kotato | 110,930,032 | false | null | package com.kotato.context.ecommerce.modules.payment.domain.view.create
import com.kotato.context.ecommerce.modules.payment.domain.PaymentId
import com.kotato.context.ecommerce.modules.payment.domain.PaymentStatus
import com.kotato.context.ecommerce.modules.payment.domain.view.PaymentView
import com.kotato.context.eco... | 2 | Kotlin | 26 | 25 | 15db3d036f273de1bf4bb603398a0d24bc3c6ade | 819 | axon-examples | MIT License |
rounded/src/commonMain/kotlin/me/localx/icons/rounded/filled/FaceAngryHorns.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.rounded.filled
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.StrokeJoin.Companion.Miter
... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 4,410 | icons | MIT License |
app/src/main/java/com/hookedroid/androidarchitecture/data/dao/CharacterDao.kt | hooked82 | 169,891,137 | false | null | package com.hookedroid.androidarchitecture.data.dao
import androidx.lifecycle.LiveData
import androidx.paging.DataSource
import androidx.room.Dao
import androidx.room.Insert
import androidx.room.OnConflictStrategy
import androidx.room.Query
import com.hookedroid.androidarchitecture.api.model.Character
@Dao
interface ... | 0 | Kotlin | 0 | 1 | 36f655b0a43415e4dc49478a364a136620707970 | 710 | android-architecture | Apache License 2.0 |
shared/src/commonMain/kotlin/link/socket/kore/ui/widget/AgentCard.kt | socket-link | 724,331,833 | false | {"Kotlin": 132506, "Swift": 623, "Shell": 228} | package link.socket.kore.ui.widget
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.requiredHeight
import androidx.compose.material.ExperimentalMaterialApi
import androidx.compose.material.Surface
import androidx.compose.m... | 0 | Kotlin | 0 | 3 | 39c896a636ece7344246d8fd32c0c29524ba774b | 1,126 | kore-ai | Apache License 2.0 |
src/main/kotlin/de/fruiture/cor/ccs/git/GitCommit.kt | fruiture | 750,555,472 | false | {"Kotlin": 75404} | package de.fruiture.cor.ccs.git
import de.fruiture.cor.ccs.cc.Body
import de.fruiture.cor.ccs.cc.ConventionalCommitMessage
import de.fruiture.cor.ccs.cc.Description
import de.fruiture.cor.ccs.cc.Type
import kotlinx.serialization.EncodeDefault
import kotlinx.serialization.ExperimentalSerializationApi
import kotlinx.ser... | 0 | Kotlin | 0 | 0 | db20c964acd2f615e3a9929396fef0162cde2169 | 1,892 | git-ccs | MIT License |
app/src/main/java/com/charlie/vtex/repository/NodeRepository.kt | charlie-captain | 463,103,217 | false | {"Kotlin": 147441, "Java": 4601} | package com.charlie.vtex.repository
import android.util.Log
import com.imhanjie.v2ex.api.model.Node
import com.imhanjie.v2ex.api.model.TopicItem
class NodeRepository : BaseRepository() {
suspend fun loadLatestTopics(tab: String): List<TopicItem> {
val result = api.loadLatestTopics(tab)
return re... | 0 | Kotlin | 1 | 0 | e605ae4442d5b82d383f0ff324df9559c702a0bf | 344 | VTEX | MIT License |
source-code/starter-project/ScientistCodeLabStarter/app/src/main/java/com/droidcon/scientistcodelab/dictionary/WordRepository.kt | droidcon-academy | 706,502,737 | false | {"Kotlin": 64515} | package com.droidcon.scientistcodelab.dictionary
import com.droidcon.scientistcodelab.dictionary.data.DictionaryDataSource
class WordRepository(private val datasource: DictionaryDataSource) {
suspend fun getAllWords(): List<String> = datasource.getAllWords()
} | 0 | Kotlin | 0 | 1 | b94ef7cd8259cad7707326dd9a3c143a81ca6b94 | 266 | kotlin-cbc-kotlin-scientist-library | Apache License 2.0 |
dm-transport-main-mp/src/commonTest/kotlin/TestSerializationMyModel.kt | otuskotlin | 382,547,521 | false | null | import ModelForRequest.cruds.BaseMessage
import ModelForRequest.cruds.CreateWorkoutRequest
import kotlinx.serialization.decodeFromString
import kotlinx.serialization.encodeToString
import kotlinx.serialization.json.Json
import kotlinx.serialization.modules.SerializersModule
import kotlin.test.Test
import kotlinx.serial... | 1 | Kotlin | 1 | 0 | ab962d306cab6512c5cffe61b87e810ddc28f193 | 957 | ok-202105-workout-dm | MIT License |
src/main/kotlin/storage/ChatWhiteListDB.kt | MinecraftDiplom | 800,851,458 | false | {"Kotlin": 145460, "Java": 79} | package storage
import com.github.kotlintelegrambot.entities.Chat
import kotlinx.serialization.Serializable
import kotlinx.serialization.encodeToString
import kotlinx.serialization.json.Json
import java.io.File
@Serializable
data class ChatDTO(
val id: Long,
val type: String,
val title: String? = null,
... | 0 | Kotlin | 0 | 0 | 235c1eb1add51fbf819231ad88ab8879222c97aa | 3,210 | TelegramBot | MIT License |
src/main/kotlin/me/jinuo/imf/websocket/handler/DefaultDispatcher.kt | 17844560 | 244,380,015 | false | null | package me.jinuo.imf.websocket.handler
import com.fasterxml.jackson.databind.ObjectMapper
import com.fasterxml.jackson.databind.type.TypeFactory
import me.jinuo.imf.websocket.codec.Codec
import me.jinuo.imf.websocket.codec.message.Message
import me.jinuo.imf.websocket.definition.DefaultResultCallback
import me.jinuo.i... | 0 | Kotlin | 0 | 1 | 3f0ea7867f76912421123e1bc7c1b74eaf7836e3 | 2,598 | hulk-spring-boot-starter | Apache License 2.0 |
app/src/test/java/com/hardiktrivedi/letthemusicplay/data/repository/AlbumRepositoryTest.kt | hardik-trivedi | 381,812,894 | false | null | package com.hardiktrivedi.letthemusicplay.data.repository
import com.hardiktrivedi.letthemusicplay.api.AlbumApiService
import com.hardiktrivedi.letthemusicplay.data.model.*
import io.mockk.MockKAnnotations
import io.mockk.coEvery
import io.mockk.every
import io.mockk.impl.annotations.MockK
import kotlinx.coroutines.Ex... | 0 | Kotlin | 0 | 0 | 7d8d9776fe14477017aa0a749a7e617de5794948 | 2,221 | LetTheMusicPlay | Apache License 2.0 |
src/main/kotlin/org/empirewar/lemonadestand/discord/WebhookSender.kt | EmpireWar | 606,899,908 | false | null | package org.empirewar.lemonadestand.discord
import club.minnced.discord.webhook.WebhookClient
import club.minnced.discord.webhook.WebhookClientBuilder
import club.minnced.discord.webhook.receive.ReadonlyMessage
import club.minnced.discord.webhook.send.WebhookEmbed.EmbedField
import club.minnced.discord.webhook.send.We... | 0 | Kotlin | 0 | 0 | 341d7fc6da4c42f819508a00f89554317ea4a29b | 2,852 | LemonadeStand | MIT License |
src/main/java/me/han/muffin/client/module/modules/combat/Auto32kModule2.kt | SmallFishDD | 425,272,585 | false | {"Kotlin": 1725682, "Java": 943392, "GLSL": 15937} | package me.han.muffin.client.module.modules.combat
import com.mojang.realmsclient.gui.ChatFormatting
import me.han.muffin.client.core.Globals
import me.han.muffin.client.event.EventStageable
import me.han.muffin.client.event.events.client.ClientTickEvent
import me.han.muffin.client.event.events.client.MotionUpdateEven... | 1 | Kotlin | 2 | 2 | 13235eada9edd9ccca039dea4d3a59cc7a930830 | 33,461 | muffin-0.10.4-src-leaked | MIT License |
app/src/main/java/com/example/to_doapp/navigation/destinations/TaskComposable.kt | Mzazi25 | 514,828,871 | false | null | package com.example.to_doapp.navigation.destinations
import android.util.Log
import androidx.compose.runtime.LaunchedEffect
import androidx.compose.runtime.collectAsState
import androidx.compose.runtime.getValue
import androidx.navigation.NavGraphBuilder
import androidx.navigation.NavType
import androidx.navigation.co... | 0 | Kotlin | 0 | 0 | 64bad34f6431c026df8c1ddff9df14f75ba259bd | 1,523 | To-Do-Compose | The Unlicense |
Leroy/app/src/main/java/com/zhuravlev/leroy/ui/home/goods/GoodsViewHolder.kt | YuriZhuravlev | 342,570,298 | false | null | package com.zhuravlev.leroy.ui.home.goods
import android.view.View
import android.widget.ImageView
import android.widget.TextView
import androidx.recyclerview.widget.RecyclerView
import com.zhuravlev.leroy.R
class GoodsViewHolder(itemView: View) : RecyclerView.ViewHolder(itemView) {
val view = itemView
val ti... | 0 | Kotlin | 0 | 0 | 09f55f05e36ec1755c638b88337038d7675f6924 | 525 | TestApp | Apache License 2.0 |
src/model/Common.kt | amichal2 | 154,992,331 | false | null | package com.amichal2.brief.model
data class PingRequest(val query: String?, val rating: Int)
data class ContentResponse(val content: String)
//Guardian mappings
data class GuardianResponse(val response: GuardianResponseContent)
data class GuardianResponseContent(val results: List<Result>)
data class Result(val fie... | 0 | Kotlin | 0 | 0 | 71462e904bee3eb12e58a48b60a714be6ab6d7ff | 543 | brief | MIT License |
sample-compose-fragments/src/main/java/uk/gov/hmrc/sample_compose_fragments/presentation/viewModel/OrganismsViewModel.kt | hmrc | 299,591,950 | false | {"Kotlin": 486716, "Ruby": 10066, "Shell": 1395} | /*
* Copyright 2023 HM Revenue & Customs
*
* 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 a... | 1 | Kotlin | 2 | 7 | 5bf860f36ebe8f51ad7b84edfbe1cfdbf62f6504 | 1,659 | android-components | Apache License 2.0 |
app/server/src/main/jooq/io/github/novemdecillion/adapter/jooq/tables/interfaces/IGroupTransitionWithPath.kt | novemdecillion | 332,666,905 | false | null | /*
* This file is generated by jOOQ.
*/
package io.github.novemdecillion.adapter.jooq.tables.interfaces
import java.io.Serializable
import java.util.UUID
/**
* This class is generated by jOOQ.
*/
@Suppress("UNCHECKED_CAST")
interface IGroupTransition : Serializable {
var groupTransitionId: UUID?
var gro... | 10 | Kotlin | 0 | 0 | ea259afd23a28ccf03aa7c5c6f35b932d2c22182 | 918 | magic-lantern | Apache License 2.0 |
pyrexia-android/app/src/main/java/com/cryptomcgrath/pyrexia/thermostat/ThermostatView.kt | cryptomcgrath | 541,272,434 | false | null | package com.cryptomcgrath.pyrexia.thermostat
import android.annotation.SuppressLint
import android.content.Context
import android.graphics.Canvas
import android.graphics.Paint
import android.graphics.PointF
import android.graphics.Rect
import android.graphics.RectF
import android.os.Parcelable
import android.util.Attr... | 2 | Kotlin | 0 | 3 | d4185cf36a4e4b37f504fa4fcb1ea3b15b5e2f1c | 15,355 | pyrexia-android | MIT License |
app/src/main/java/com/ibd/dcdown/tools/C.kt | devingryu | 364,094,637 | false | null | package com.ibd.dcdown.tools
object C {
const val VIEW_TYPE_HEADER = 0
const val VIEW_TYPE_CONPACK = 1
const val VIEW_TYPE_CONIMG = 2
const val VIEW_TYPE_ENDED = 3
} | 0 | Kotlin | 0 | 0 | da189062116bc3812cd8330fa4b749c4e36d1b3e | 182 | DCDown | Apache License 2.0 |
app/src/main/java/com/sreejith/notificationhistory/data/db/Notification.kt | sreejithcr22 | 797,215,497 | false | {"Kotlin": 15314} | package com.sreejith.notificationhistory.data.db
import androidx.room.Entity
@Entity(primaryKeys = ["title", "text", "packageName"], tableName = "notifications")
data class Notification(
val postTime: Long,
val title: String,
val text: String,
val packageName: String,
val appName: String
)
| 0 | Kotlin | 0 | 1 | 8e6931f3cf7cfc5e2f761248fde1038554144f00 | 313 | NotificationHistory | MIT License |
app/src/main/java/com/virginiaprivacy/raydos/settings/SettingsFragment.kt | virginiaprivacycoalition | 288,048,093 | false | null | package com.virginiaprivacy.raydos.settings
import android.os.Bundle
import androidx.preference.EditTextPreference
import androidx.preference.Preference
import androidx.preference.PreferenceFragmentCompat
import androidx.preference.SwitchPreferenceCompat
import com.virginiaprivacy.raydos.R
import kotlinx.coroutines.Ma... | 0 | Kotlin | 1 | 1 | 7c1d4588f51f24986976305c722459cfe1c00fb2 | 1,173 | RayDos | MIT License |
Fhir_Kotlin/core/src/main/kotlin/com/sevenreup/fhir/core/tests/operations/ValidationDefaultTestsCase.kt | d-tree-org | 536,443,789 | false | {"Kotlin": 117943, "TypeScript": 48117, "Java": 23175, "JavaScript": 507, "Dockerfile": 315, "Shell": 163} | package com.sevenreup.fhir.core.tests.operations
import ca.uhn.fhir.validation.FhirValidator
import ca.uhn.fhir.validation.ResultSeverityEnum
import ca.uhn.fhir.validation.ValidationResult
import com.sevenreup.fhir.core.models.DefaultTestResult
import com.sevenreup.fhir.core.models.TestStatus
import com.sevenreup.fhir... | 2 | Kotlin | 1 | 1 | d427163ecf7abcc7ce7c8d25fc1ee66971d435c9 | 1,540 | Fhir-Helpers-Extension | MIT License |
src/main/kotlin/de/flapdoodle/tab/model/calculations/adapter/ExceptionMapper.kt | flapdoodle-oss | 237,231,857 | false | {"Kotlin": 267228, "CSS": 6498, "Shell": 80} | package de.flapdoodle.tab.model.calculations.adapter
import de.flapdoodle.eval.core.exceptions.EvaluationException
import de.flapdoodle.eval.core.tree.EvaluableExceptionMapper
import java.util.*
object ExceptionMapper : EvaluableExceptionMapper {
override fun map(ex: EvaluationException): Any {
return Wra... | 0 | Kotlin | 1 | 0 | 4e283dce3d6c7ef6590172f72566c144df997b24 | 591 | tab | Apache License 2.0 |
subprojects/samples/src/main/kotlin/kotools/types/number/StrictlyNegativeDoubleKotlinSample.kt | kotools | 581,475,148 | false | {"Kotlin": 425309, "Java": 19213} | package kotools.types.number
import kotlinx.serialization.encodeToString
import kotlinx.serialization.json.Json
import kotools.types.experimental.ExperimentalKotoolsTypesApi
@OptIn(ExperimentalKotoolsTypesApi::class)
internal class StrictlyNegativeDoubleKotlinSample {
fun serialization() {
val number: Str... | 28 | Kotlin | 6 | 79 | 55871069932249cf9e65f867c4e3d9bbc5adfeee | 1,741 | types | MIT License |
Kotlin/problems/0064_coin_change.kt | oxone-999 | 243,366,951 | true | {"C++": 961697, "Kotlin": 99948, "Java": 17927, "Python": 9476, "Shell": 999, "Makefile": 187} | //Problem statement
// You are given coins of different denominations and a total amount of money amount.
// Write a function to compute the fewest number of coins that you need to make up that amount.
// If that amount of money cannot be made up by any combination of the coins, return -1.
class Solution constructor (... | 0 | null | 0 | 0 | 52dc527111e7422923a0e25684d8f4837e81a09b | 1,205 | algorithms | MIT License |
app/src/main/java/dog/snow/androidrecruittest/ui/listFragment/ListViewModel.kt | DanielLachacz | 291,033,396 | true | {"Kotlin": 47578} | package dog.snow.androidrecruittest.ui.listFragment
import androidx.lifecycle.ViewModel
import dog.snow.androidrecruittest.data.repository.AlbumRepository
import dog.snow.androidrecruittest.data.repository.PhotoRepository
import dog.snow.androidrecruittest.data.repository.UserRepository
import javax.inject.Inject
cla... | 0 | Kotlin | 0 | 0 | 466ce68977c37994c8640ab6391b6196bb5258d1 | 689 | android-recruitment-test | Apache License 2.0 |
MarianaKit/src/androidMain/kotlin/apiclient/ConcurrencyAndroid.kt | Mariana-Tek | 275,492,603 | false | null | package com.marianatek.marianakit.apiclient
actual suspend fun <R> network(block: suspend () -> R): R = block()
| 0 | Kotlin | 0 | 2 | 3eec1a572e9b482ec824d49b57f622d93b4eb429 | 113 | Nautilus | Apache License 2.0 |
app/src/main/java/com/rentmycar/rentmycar/network/NetworkLayer.kt | AvansJava | 430,307,410 | false | {"Kotlin": 267110} | package com.rentmycar.rentmycar.network
import com.rentmycar.rentmycar.config.Config.BASE_URL
import com.rentmycar.rentmycar.network.client.*
import com.rentmycar.rentmycar.network.interceptor.AuthInterceptor
import com.rentmycar.rentmycar.network.interceptor.JwtInterceptor
import com.rentmycar.rentmycar.network.servi... | 0 | Kotlin | 1 | 0 | 79af0c546d60eb54931abf091af2a07436f04d50 | 2,813 | RentMyCar.ANDROID | MIT License |
app/src/main/java/com/project/foodrecipes/adapter/MainAdapter.kt | tas-wtag | 508,978,391 | false | {"Kotlin": 18426} | package com.project.foodrecipes.adapter
import com.project.foodrecipes.model.ModelMain
import androidx.recyclerview.widget.RecyclerView
import android.view.ViewGroup
import android.view.LayoutInflater
import android.view.View
import android.widget.ImageView
import android.widget.TextView
import androidx.cardview.widge... | 0 | Kotlin | 0 | 0 | 089e7c1d0cff873558a9d7deedb04af2dbf61c66 | 1,820 | desserts | Apache License 2.0 |
codebase/android/core/appkit/src/main/java/com/makeappssimple/abhimanyu/financemanager/android/core/appkit/AppKit.kt | Abhimanyu14 | 429,663,688 | false | {"Kotlin": 1908017} | package com.makeappssimple.abhimanyu.financemanager.android.core.appkit
import android.content.Intent
public interface AppKit {
public fun getMainActivityIntent(): Intent
}
| 11 | Kotlin | 0 | 3 | a9e7570d854c7738d0ad5bcf139fa9874fa83b21 | 179 | finance-manager | Apache License 2.0 |
app/src/main/java/soutvoid/com/DsrWeatherApp/domain/weather/Weather.kt | nadraliev | 96,880,779 | false | null | package soutvoid.com.DsrWeatherApp.domain.weather
import com.google.gson.annotations.SerializedName
data class Weather(
@SerializedName("id")
val id : Int,
@SerializedName("main")
val main : String,
@SerializedName("description")
val description : String,
@Seria... | 0 | Kotlin | 2 | 8 | 01d1bb380e3cedddcc5728cc47758063ab27588f | 365 | DsrWeatherApp | Apache License 2.0 |
app/src/main/java/com/mindorks/framework/mvp/data/preferences/AppPreferenceHelper.kt | atanu00 | 117,672,612 | true | {"Kotlin": 65265} | package com.mindorks.framework.mvp.data.preferences
import android.content.Context
import android.content.SharedPreferences
import com.mindorks.framework.mvp.di.PreferenceInfo
import com.mindorks.framework.mvp.util.AppConstants
import javax.inject.Inject
/**
* Created by jyotidubey on 04/01/18.
*/
class AppPreferen... | 0 | Kotlin | 0 | 0 | e028dede0e8686f2164d37fe61f892b058573e28 | 2,563 | android-kotlin-mvp-architecture | Apache License 2.0 |
http4k-contract/src/main/kotlin/org/http4k/contract/routeMeta.kt | k0zakinio | 108,542,664 | true | {"Kotlin": 728486, "JavaScript": 133258, "Java": 49492, "Shell": 6016, "HTML": 2067, "CSS": 568} | package org.http4k.contract
import org.http4k.core.ContentType
import org.http4k.core.Method
import org.http4k.core.Method.GET
import org.http4k.core.Request
import org.http4k.core.Response
import org.http4k.core.Status
import org.http4k.core.with
import org.http4k.lens.BiDiBodyLens
import org.http4k.lens.BodyLens
imp... | 0 | Kotlin | 0 | 0 | 713a791c12585c7cd44929de69543e20f75eba71 | 3,886 | http4k | Apache License 2.0 |
proteus-compiler-kotlin/src/test/kotlin/lang/proteus/syntax/parser/ParserSyntaxChecker.kt | julian-hartl | 584,782,799 | false | null | package lang.proteus.syntax.parser
import kotlin.test.assertTrue
internal class ParserSyntaxChecker(private val input: String) {
private fun checkSyntax(): Boolean {
val parser = Parser(input)
parser.parseCompilationUnit()
return !parser.hasErrors()
}
fun assertCorrectSyntax() {
... | 2 | Kotlin | 0 | 0 | 63767ad2b1c160a2fbe06747fd144307d0b1ff1b | 530 | proteus | MIT License |
core/src/main/java/com/stocksexchange/core/utils/helpers/Animations.kt | nscoincommunity | 277,168,471 | true | {"Kotlin": 2814235} | package com.stocksexchange.core.utils.helpers
import android.animation.Animator
import android.animation.AnimatorListenerAdapter
import android.view.View
import android.view.animation.Interpolator
import android.view.animation.LinearInterpolator
import com.stocksexchange.core.R
import com.stocksexchange.core.utils.ext... | 0 | null | 0 | 0 | 52766afab4f96506a2d9ed34bf3564b6de7af8c3 | 5,963 | Android-app | MIT License |
examples/android/audiorecognition/src/main/java/com/nyumaya/audiorecognition/nyumaya_listener.kt | nyumaya | 144,938,597 | false | {"Python": 19707, "C++": 3230} | package com.nyumaya.audiorecognition
import android.app.NotificationChannel
import android.app.NotificationManager
import android.app.PendingIntent
import android.app.Service
import android.content.Intent
import android.os.Binder
import android.os.Build
import android.os.IBinder
import androidx.core.app.NotificationCo... | 0 | Python | 14 | 74 | 852ac31c76946d82c40a529acbdf76ff61af6c24 | 3,961 | nyumaya_audio_recognition | Apache License 2.0 |
app/src/main/java/ru/shipa/app/presentation/base/viewmodel/EventsDispatcher.kt | Shipaaaa | 320,275,703 | false | null | package ru.shipa.app.presentation.base.viewmodel
import android.os.Bundle
import androidx.annotation.IdRes
import androidx.navigation.NavDirections
import ru.shipa.app.presentation.base.viewmodel.event.*
import ru.shipa.app.presentation.utils.StringResource
interface EventsDispatcher {
val events: EventsQueue<Vi... | 0 | Kotlin | 0 | 0 | 7e0b7d6a04f36482e409f74254ec093bcedfacfa | 1,023 | presentation-layer-sample | MIT License |
app/src/main/java/com/example/androiddevchallenge/MainActivity.kt | Muhesh7 | 345,038,004 | false | null | /*
* Copyright 2021 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 0 | Kotlin | 0 | 0 | 82d32c8e040622dad4ff83d97864fb024325ceea | 11,121 | CountDownTimer | Apache License 2.0 |
settings-utils/src/main/java/com/michaelflisar/settings/utils/Extensions.kt | MFlisar | 256,263,996 | false | null | package com.michaelflisar.settings.utils
import com.michaelflisar.settings.utils.interfaces.ICustomSetting
import com.michaelflisar.settings.utils.interfaces.IGlobalSetting
import com.michaelflisar.settings.core.enums.SupportType
fun SupportType.Companion.calc(item: Any): SupportType {
return calc(item is ICustom... | 0 | Kotlin | 0 | 2 | 5fc5264a9b2bfc108aab03e8925244d665c6a9d4 | 366 | Settings | Apache License 2.0 |
android/src/main/java/dev/matinzd/healthconnect/records/ReactSpeedRecord.kt | matinzd | 586,126,466 | false | {"Kotlin": 126244, "TypeScript": 51327, "Java": 7205, "Shell": 3764, "JavaScript": 2444, "Objective-C": 2313, "Ruby": 1918, "Objective-C++": 974, "C": 103, "Swift": 65} | package dev.matinzd.healthconnect.records
import androidx.health.connect.client.aggregate.AggregationResult
import androidx.health.connect.client.aggregate.AggregationResultGroupedByPeriod
import androidx.health.connect.client.records.SpeedRecord
import androidx.health.connect.client.request.AggregateGroupByPeriodRequ... | 42 | Kotlin | 43 | 98 | 018e38a57290ea065eed8f20b472e88b883aa763 | 3,744 | react-native-health-connect | MIT License |
relive-simulator-core/src/commonMain/kotlin/xyz/qwewqa/relive/simulator/core/presets/dress/generated/dress4050009.kt | qwewqa | 390,928,568 | false | null | package xyz.qwewqa.relive.simulator.core.presets.dress.generated
import xyz.qwewqa.relive.simulator.core.stage.actor.ActType
import xyz.qwewqa.relive.simulator.core.stage.actor.Attribute
import xyz.qwewqa.relive.simulator.core.stage.actor.StatData
import xyz.qwewqa.relive.simulator.core.stage.dress.ActParameters
impor... | 0 | Kotlin | 11 | 7 | 70e1cfaee4c2b5ab4deff33b0e4fd5001c016b74 | 7,351 | relight | MIT License |
jupyter-lib/lib/src/main/kotlin/jupyter/kotlin/JavaRuntime.kt | Kotlin | 63,066,291 | false | {"Kotlin": 1079875, "JavaScript": 40044, "CSS": 16243, "Python": 15441, "Jupyter Notebook": 1290, "Shell": 74} | package jupyter.kotlin
import org.jetbrains.kotlinx.jupyter.api.JREInfoProvider
object JavaRuntime : JREInfoProvider {
private const val DEFAULT_VERSION = 8
override val version by lazy {
val defaultVersionStr = (if (DEFAULT_VERSION <= 8) "1." else "") + "$DEFAULT_VERSION"
val version: String... | 79 | Kotlin | 107 | 1,115 | 9ef5bf3ef682734c9d4be3244bfb0ecaf727ea66 | 1,580 | kotlin-jupyter | Apache License 2.0 |
app/src/main/java/org/p2p/wallet/send/repository/SendServiceRepository.kt | p2p-org | 306,035,988 | false | {"Kotlin": 4750125, "HTML": 3064848, "Java": 296719, "Groovy": 1601, "Shell": 1252, "JavaScript": 1067} | package org.p2p.wallet.send.repository
import java.math.BigInteger
import org.p2p.core.crypto.Base58String
import org.p2p.core.token.Token
import org.p2p.wallet.send.model.SendServiceFees
import org.p2p.wallet.send.model.send_service.GeneratedTransaction
import org.p2p.wallet.send.model.send_service.SendFeePayerMode
i... | 4 | Kotlin | 18 | 33 | f914f6a2ab3a33c3caa033e68a3d93da9e3f5bb0 | 1,776 | key-app-android | MIT License |
presentation/src/main/java/com/kyungeun/presentation/MainViewModel.kt | shruddms | 553,426,258 | false | {"Kotlin": 33492} | package com.kyungeun.presentation
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.viewModelScope
import com.kyungeun.domain.model.GithubRepo
import com.kyungeun.domain.usecase.GetGithubReposUseCase
import com.kyungeun.presentation.base.BaseViewModel
import dagger.... | 0 | Kotlin | 1 | 3 | 17bc15e12c52a84e8c1801e1c2b7186feca6f641 | 838 | CleanArchitecture | Apache License 2.0 |
wear/src/main/java/com/thewizrd/simplesleeptimer/adapters/PlayerListRemoteAdapter.kt | SimpleAppProjects | 262,856,546 | false | null | package com.thewizrd.simplesleeptimer.adapters
import androidx.lifecycle.ViewModelProvider
import androidx.lifecycle.ViewModelStoreOwner
import androidx.recyclerview.widget.RecyclerView
import com.thewizrd.shared_resources.viewmodels.MusicPlayerViewModel
import com.thewizrd.simplesleeptimer.SelectedPlayerViewModel
cl... | 0 | Kotlin | 0 | 0 | 6d69810c33510035c0ed201d7b97f7d0da8fe879 | 1,046 | SimpleSleepTimer | Apache License 2.0 |
src/jvmMain/kotlin/core/DriverFactory.kt | burnscr | 508,154,308 | false | {"Kotlin": 44078} | /*
* 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 wri... | 0 | Kotlin | 0 | 1 | 35979ef2fe568b61ead94561d554c36ad0e33e2d | 4,779 | gcc-course-signup | Apache License 2.0 |
app/src/main/java/com/muzo/sitesupervisor/core/data/remote/source/auth/AuthDataSourceImpl.kt | erkocali1 | 714,963,330 | false | {"Kotlin": 357069} | package com.muzo.sitesupervisor.core.data.remote.source.auth
import com.google.firebase.auth.FirebaseAuth
import com.google.firebase.auth.FirebaseUser
import com.google.firebase.auth.UserProfileChangeRequest
import com.muzo.sitesupervisor.core.common.Resource
import com.muzo.sitesupervisor.core.common.await
import jav... | 0 | Kotlin | 0 | 0 | 05d00698a815e44aa31e1acaaebadcacce2a78cc | 1,413 | SiteSupervisor | MIT License |
app/src/main/java/com/example/travelwithme/Category.kt | IsrOrel | 829,014,460 | false | {"Kotlin": 117919, "Java": 55266} | package com.example.travelwithme
data class Category(
val iconResId: Int,
val description: String
) | 0 | Kotlin | 0 | 0 | 2fe7549caac7756481719f2f6ae3d000e69c507a | 107 | CS_2021---TravelWithMe | MIT License |
app/src/main/java/com/ltu/m7019e/v23/themoviedb/viewmodel/MovieDetailsViewModel.kt | Kapsyloffer | 638,900,950 | false | null | package com.ltu.m7019e.v23.themoviedb.viewmodel
import android.accounts.NetworkErrorException
import android.app.Application
import android.util.Log
import androidx.lifecycle.AndroidViewModel
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.viewModelScope
import co... | 0 | Kotlin | 0 | 1 | 18c660529e5b8a6bf52cb472a08ae0dc155f8c5e | 2,557 | M7019E-MovieDB | The Unlicense |
src/main/kotlin/com/baulsupp/okurl/tracing/HttpUriHandler.kt | yschimke | 48,341,449 | false | {"Kotlin": 515385, "Shell": 843, "Smarty": 777} | package com.baulsupp.okurl.tracing
import zipkin2.Span
import zipkin2.codec.SpanBytesEncoder
import zipkin2.reporter.AsyncReporter
import zipkin2.reporter.Reporter
import zipkin2.reporter.okhttp3.OkHttpSender
import java.net.URI
class HttpUriHandler : UriHandler {
override fun buildSender(uri: URI): Reporter<Span>?... | 16 | Kotlin | 15 | 126 | 32ad9f89d17500399ac16b735f1398ad6ca32f41 | 509 | okurl | Apache License 2.0 |
boat-core/src/main/kotlin/xyz/srclab/common/bean/BeanMap.kt | srclab-projects | 247,777,997 | false | null | package xyz.srclab.common.bean
import xyz.srclab.common.convert.Converter
import xyz.srclab.common.lang.asAny
import java.lang.reflect.Type
/**
* A [Map] which is associated with a `bean`,
* of which keys are properties' names of the bean, values are properties' value.
*
* Note:
* * Property `class` (from [Objec... | 0 | Kotlin | 0 | 4 | 192aee01efccc76dcaf18d6d34ebac9726302a83 | 2,659 | boat | Apache License 2.0 |
shared/src/commonMain/kotlin/com/somabits/spanish/ui/filter/VerbFilterSection.kt | chiljamgossow | 581,781,635 | false | {"Kotlin": 904768, "Swift": 1817} | package com.somabits.spanish.ui.filter
import androidx.compose.foundation.ScrollState
import androidx.compose.foundation.horizontalScroll
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundati... | 0 | Kotlin | 0 | 0 | 2eb7d00de9aad6abc54f18d84f356e06bcb68f5b | 1,337 | Spanish | MIT License |
modules/modrinth/src/main/kotlin/tech/jamalam/modrinth/models/Common.kt | sculk-cli | 789,376,205 | false | {"Kotlin": 136606, "Java": 12969, "JavaScript": 4489, "Python": 2392, "Shell": 212} | package tech.jamalam.modrinth.models
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
public enum class ModrinthEnvSupport {
@SerialName("required")
Required,
@SerialName("optional")
Optional,
@SerialName("unsupported")
Unsupported,
@Serial... | 0 | Kotlin | 0 | 0 | 79230cc55312a790dfaf467b657b4c0f08867478 | 737 | sculk | MIT License |
shared/src/commonMain/kotlin/core/presentation/Dimensions.kt | furkanturkn | 764,123,725 | false | {"Kotlin": 59330, "Swift": 23755} | package core.presentation
object Dimensions {
const val SpaceSmall = 8
const val SpaceMedium = 16
const val SpaceLarge = 24
const val SpaceExtraLarge = 50
const val IconSizeSmall = 15
const val IconSizeMedium = 25
const val IconSizeLarge = 35
const val BottomNavigationHeight = 50
} | 0 | Kotlin | 1 | 7 | 2044629bdee1727658b07e06b0f2de5801c4d5b6 | 317 | KmmQuickStart | MIT License |
app/src/main/java/com/example/skyapartmentscleaning/utils/generate_report/GenerateReport.kt | Volkoks | 308,943,911 | false | null | package com.example.skyapartmentscleaning.utils.generate_report
import android.content.Context
import com.example.skyapartmentscleaning.data.room.entites.Apart
import com.example.skyapartmentscleaning.data.checklist.DataForExcelFile
import com.example.skyapartmentscleaning.data.room.ConstantApartDB
import com.example.... | 0 | Kotlin | 0 | 0 | 847fa306a2fd88a0e42b4f99dc50a453eece93d0 | 7,270 | sky_cleaning | Apache License 2.0 |
app/src/main/java/com/jraska/github/client/AppModule.kt | haiminhtran810 | 315,547,218 | true | {"Kotlin": 231944} | package com.jraska.github.client
import android.app.Application
import com.facebook.drawee.backends.pipeline.Fresco
import com.jakewharton.threetenabp.AndroidThreeTen
import com.jraska.github.client.core.android.OnAppCreate
import dagger.Module
import dagger.Provides
import dagger.multibindings.IntoSet
@Module
object... | 0 | null | 0 | 0 | f73c5e86eaf71388fa62775a29ce9cb9011c77ce | 688 | github-client | Apache License 2.0 |
client-stub-core/src/main/kotlin/com/github/simy4/stub/core/dsl/pattern-dsl.kt | codacy-badger | 138,725,089 | false | {"Kotlin": 34903} | package com.github.simy4.stub.core.dsl
import com.github.simy4.stub.core.pattern.ContainsPattern
import com.github.simy4.stub.core.pattern.EndsWithPattern
import com.github.simy4.stub.core.pattern.EquivPattern
import com.github.simy4.stub.core.pattern.MapEntryPattern
import com.github.simy4.stub.core.pattern.MatchingS... | 0 | Kotlin | 0 | 1 | 80fc785fd6e95848df90b85c8fe55eb2eed2a708 | 2,195 | client-stub | Apache License 2.0 |
src/main/kotlin/year2022/day05/Main.kt | Ddxcv98 | 573,823,241 | false | {"Kotlin": 149949} | package year2022.day05
import solve
fun main() {
solve { Problem() }
}
| 0 | Kotlin | 0 | 0 | 8d750a2a757c68275056e81cc3343e45a3ef7db9 | 77 | advent-of-code | The Unlicense |
app/src/main/java/com/tigerspike/flickrfeed/di/AppGlideModule.kt | knighthedspi | 216,192,104 | false | null | package com.tigerspike.flickrfeed.di
import com.bumptech.glide.annotation.GlideModule
import com.bumptech.glide.module.AppGlideModule
@GlideModule
class AppGlideModule : AppGlideModule() | 0 | Kotlin | 0 | 2 | 6d4e9e856adca7da912d01f6c24dc703c7fdc7a1 | 188 | FlickrFeed | Apache License 2.0 |
app/src/main/java/com/evenclose/versalistpro/presentation/composables/dialog/customdatepickerdialog/CustomDatePickerDialog.kt | mariorobertofortunato | 681,548,631 | false | {"Kotlin": 210418} | package com.evenclose.versalistpro.presentation.composables.dialog.customdatepickerdialog
import androidx.compose.foundation.border
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.material3.DatePicker
import androidx.compose.material3.DatePickerDefaults
import androidx.compose.mater... | 0 | Kotlin | 0 | 0 | 9f80e7ddb36d4b23a7476f766399b5eeafe31de9 | 3,144 | VersalistPro | MIT License |
androidDesignSystem/src/main/java/by/game/binumbers/design/system/utils/PreviewWrapper.kt | alexander-kulikovskii | 565,271,232 | false | {"Kotlin": 454229, "Swift": 3274, "Ruby": 2480, "Shell": 622} | package by.game.binumbers.android.utils
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import by.game.binumbers.design.system.theme.Binumbers... | 0 | Kotlin | 0 | 10 | 66b1678b47a96a52ebef467111d1d4854a37486a | 1,045 | 2048-kmm | Apache License 2.0 |
androidDesignSystem/src/main/java/by/game/binumbers/design/system/utils/PreviewWrapper.kt | alexander-kulikovskii | 565,271,232 | false | {"Kotlin": 454229, "Swift": 3274, "Ruby": 2480, "Shell": 622} | package by.game.binumbers.android.utils
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import by.game.binumbers.design.system.theme.Binumbers... | 0 | Kotlin | 0 | 10 | 66b1678b47a96a52ebef467111d1d4854a37486a | 1,045 | 2048-kmm | Apache License 2.0 |
app/src/main/java/org/metabrainz/android/presentation/features/settings/SettingsActivity.kt | metabrainz | 166,439,000 | false | null | package org.metabrainz.android.presentation.features.settings
import android.content.DialogInterface
import android.content.Intent
import android.graphics.drawable.ColorDrawable
import android.os.Build
import android.os.Bundle
import android.provider.Settings
import android.view.MenuItem
import androidx.appcompat.app.... | 5 | Kotlin | 26 | 98 | 89b89bf6c7df14bc4fd35240f05cfb6b87f91030 | 3,699 | musicbrainz-android | Apache License 2.0 |
app/src/main/java/com/abdallah_abdelazim/asteroidradar/data/remote/api/NasaApi.kt | Abdallah-Abdelazim | 591,115,654 | false | null | package com.abdallah_abdelazim.asteroidradar.data.remote.api
import com.abdallah_abdelazim.asteroidradar.data.Constants
import com.abdallah_abdelazim.asteroidradar.data.remote.model.NearEarthObjectsFeedResponse
import com.abdallah_abdelazim.asteroidradar.data.remote.model.PictureOfDayDto
import retrofit2.Response
impo... | 0 | Kotlin | 0 | 1 | 03475e4db5fe71e86774790e4157c3b5f5c6186b | 854 | nd940-asteroid-radar-app-android | MIT License |
src/software/amazon/ionschema/Schema.kt | 0xflotus | 185,928,969 | true | {"Kotlin": 146680} | package software.amazon.ionschema
import software.amazon.ion.IonStruct
/**
* A Schema is a collection of zero or more [Type]s.
*
* Each type may refer to other types within the same schema,
* or types imported into this schema from other schemas.
* To instantiate a Schema, see [IonSchemaSystem].
*
* Classes th... | 0 | Kotlin | 0 | 0 | 8f78a98e88635a4c4fa0ff357d28ed844c22d19c | 1,865 | ion-schema-kotlin | Apache License 2.0 |
src/main/kotlin/com/herokuapp/ourairports/repository/model/Runway.kt | alexmaryin | 433,391,973 | false | null | package com.herokuapp.ourairports.repository.model
import com.herokuapp.ourairports.repository.model.enums.RunwaySurface
import com.herokuapp.ourairports.repository.model.serializers.RunwaySurfaceSerializer
import kotlinx.serialization.Serializable
@Serializable
data class Runway(
val lengthFeet: Int? = null,
... | 0 | Kotlin | 0 | 0 | 0d2a86a2197fa2e289f42bdc54f36e865162a182 | 647 | ourairports_json | The Unlicense |
app/src/main/java/com/lahsuak/apps/flashlight/util/SharedPrefConstants.kt | KaushalVasava | 440,425,669 | false | {"Kotlin": 70788} | package com.lahsuak.apps.flashlight.util
object SharedPrefConstants {
const val FIRST_TIME_USE_KEY = "first_time"
const val SOS_CALL_KEY = "sos_call"
const val SOS_NUMBER_KEY = "sos_number"
const val FEEDBACK_KEY = "feedback"
const val SHARE_KEY = "share"
const val MORE_APP_KEY = "more_app"
... | 2 | Kotlin | 3 | 7 | 0296fdff4b17119ceb32bf351a8b3e06f1cc9eba | 560 | FlashLight | Apache License 2.0 |
feature-bookmarks/src/main/java/com/coldfier/feature_bookmarks/ui/BookmarksFragment.kt | Dmitriy1892 | 495,756,413 | false | null | package com.coldfier.feature_bookmarks.ui
import android.content.Context
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.ImageView
import android.widget.ProgressBar
import androidx.appcompat.app.AlertDialog
import androidx.fragmen... | 0 | Kotlin | 0 | 0 | 0c474fd577ab001d0901f3ed71c6ca391a6d087d | 5,911 | DizzyTrip | Apache License 2.0 |
app/src/main/java/lab/maxb/dark/presentation/screens/main/MainViewModel.kt | MaxBQb | 408,174,279 | false | null | package lab.maxb.dark.presentation.screens.main
import androidx.lifecycle.ViewModel
import kotlinx.coroutines.flow.MutableStateFlow
import kotlinx.coroutines.flow.combine
import kotlinx.coroutines.runBlocking
import lab.maxb.dark.domain.usecase.auth.HandleInitialAuthUseCase
import lab.maxb.dark.domain.usecase.settings... | 0 | Kotlin | 0 | 3 | 15885b8ec13bc58d78c14a69e1c2f06f84ca4380 | 1,105 | TheDarkApp.Client | MIT License |
waltid-wallet-api/src/main/kotlin/id/walt/webwallet/config/RejectionReasonConfig.kt | walt-id | 701,058,624 | false | {"Kotlin": 2010420, "Vue": 327721, "TypeScript": 92744, "JavaScript": 20560, "Dockerfile": 7147, "Shell": 1651, "CSS": 404} | package id.walt.webwallet.config
data class RejectionReasonConfig(
val reasons: List<String>
) : WalletConfig | 28 | Kotlin | 33 | 94 | 7f165250bbf32379b49a8f6fd660782fe2d9ffab | 114 | waltid-identity | Apache License 2.0 |
src/test/java/com/github/daemontus/ResultTest.kt | daemontus | 67,607,665 | false | {"Kotlin": 18437} | package com.github.daemontus
import com.github.daemontus.Option.*
import com.github.daemontus.Result.*
import org.junit.Test
import java.util.*
import kotlin.test.assertEquals
import kotlin.test.assertFailsWith
import kotlin.test.assertFalse
import kotlin.test.assertTrue
class ResultTest {
@Test
fun okIterat... | 0 | Kotlin | 0 | 5 | de527739402f5f109536498e7b2c297cdc242e14 | 4,931 | kotlin-option-result | MIT License |
feature/settings-impl/src/commonMain/kotlin/org/michaelbel/movies/settings/model/SettingsData.kt | michaelbel | 115,437,864 | false | {"Kotlin": 908384, "Swift": 692, "HTML": 606, "Shell": 235} | package org.michaelbel.movies.settings.model
import org.michaelbel.movies.common.appearance.FeedView
import org.michaelbel.movies.common.gender.GrammaticalGender
import org.michaelbel.movies.common.list.MovieList
import org.michaelbel.movies.common.theme.AppTheme
import org.michaelbel.movies.interactor.entity.AppLangu... | 8 | Kotlin | 36 | 271 | 1da1d67e093ecb76057a06da0ef17f746ca06888 | 2,648 | movies | Apache License 2.0 |
src/main/kotlin/ru/ereshkin_a_v/deanerybackend/student/entities/Student.kt | AlexEreh | 793,810,424 | false | {"Kotlin": 55276} | package ru.ereshkin_a_v.deanerybackend.student.entities
import jakarta.persistence.*
import ru.ereshkin_a_v.deanerybackend.group.entities.StudentGroup
import ru.ereshkin_a_v.deanerybackend.model.util.BaseEntity
@Entity
class Student(
@Column(nullable = false)
val firstName: String? = null,
@Column(nullabl... | 0 | Kotlin | 0 | 0 | d4e4dcb831d3c9653caa90725a85ba406deae32d | 575 | deanery-backend | Do What The F*ck You Want To Public License |
project/jimmer-sql-kotlin/src/main/kotlin/org/babyfish/jimmer/sql/kt/ast/table/KTableEx.kt | lurunfa | 535,939,890 | true | {"Markdown": 16, "Shell": 10, "Batchfile": 8, "Java": 451, "Kotlin": 223, "SQL": 9, "INI": 9, "JavaScript": 4, "CSS": 3, "Gradle Kotlin DSL": 14} | package org.babyfish.jimmer.sql.kt.ast.table
import kotlin.reflect.KClass
import kotlin.reflect.KProperty1
interface KTableEx<E: Any> : KTable<E> {
override fun <X: Any> join(prop: String): KTableEx<X>
override fun <X: Any> joinReference(prop: KProperty1<E, X?>): KTableEx<X>
override fun <X: Any> joinLis... | 0 | null | 0 | 0 | 66d623f910e71aab552c2d4870adfc30eafd36fc | 1,201 | jimmer | MIT License |
TachiServer/src/main/java/xyz/nulldev/ts/TachiyomiKodeinModule.kt | jobobby04 | 324,429,901 | true | {"INI": 2, "Markdown": 5, "Gradle Kotlin DSL": 2, "Shell": 10, "Batchfile": 1, "HTML": 9, "CSS": 8, "JavaScript": 15, "Kotlin": 451, "Java": 243} | package xyz.nulldev.ts
import android.content.Context
import com.google.gson.Gson
import eu.kanade.tachiyomi.data.backup.BackupManager
import eu.kanade.tachiyomi.data.cache.ChapterCache
import eu.kanade.tachiyomi.data.cache.CoverCache
import eu.kanade.tachiyomi.data.database.DatabaseHelper
import eu.kanade.tachiyomi.d... | 0 | Java | 1 | 0 | 7a26f7aa662e0bc3300e01cb9e0e602743fe9f8c | 2,419 | TachiWeb-Server | Apache License 2.0 |
clients/kotlin/generated/src/test/kotlin/org/openapitools/client/models/ChatCompletionRequestMessageContentPartImageImageUrlTest.kt | oapicf | 529,246,487 | false | {"Markdown": 6348, "YAML": 73, "Text": 16, "Ignore List": 52, "JSON": 1138, "Makefile": 3, "JavaScript": 1042, "F#": 585, "XML": 468, "Shell": 47, "Batchfile": 10, "Scala": 2313, "INI": 31, "Dockerfile": 17, "Maven POM": 22, "Java": 6356, "Emacs Lisp": 1, "Haskell": 39, "Swift": 263, "Ruby": 555, "OASv3-yaml": 19, "Cab... | /**
*
* Please note:
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* Do not edit this file manually.
*
*/
@file:Suppress(
"ArrayInDataClass",
"EnumEntryName",
"RemoveRedundantQualifierName",
"UnusedImport"
)
package org.openapitools.client.models
import i... | 2 | Java | 0 | 4 | c04dc03fa17b816be6e9a262c047840301c084b6 | 1,333 | openapi-openai | MIT License |
src/main/kotlin/io/rsocket/demo/setup/ConnectController.kt | rsocket | 97,835,360 | true | null | package io.rsocket.demo.setup
import org.slf4j.Logger
import org.slf4j.LoggerFactory
import org.springframework.messaging.rsocket.RSocketRequester
import org.springframework.messaging.rsocket.annotation.ConnectMapping
import org.springframework.stereotype.Controller
@Controller
class ConnectController {
val logger:... | 2 | Kotlin | 4 | 13 | f2444aee30f637cc6a02db40c73b5056dcedae25 | 495 | rsocket-demo | Apache License 2.0 |
acornui-core/src/commonMain/kotlin/com/acornui/core/di/Owned.kt | fuzzyweapon | 130,889,917 | true | {"Kotlin": 2963922, "JavaScript": 15366, "HTML": 5956, "Java": 4507} | package com.acornui.core.di
import com.acornui.component.ComponentInit
import com.acornui.core.Disposable
import com.acornui.core.DisposedException
import com.acornui.core.Lifecycle
import com.acornui.signal.Signal
import com.acornui.signal.Signal1
/**
* When an [Owned] object is created, the creator is its owner.
... | 0 | Kotlin | 1 | 0 | a57100f894721ee342d23fe8cacb3fcbcedbe6dc | 4,515 | acornui | Apache License 2.0 |
src/main/kotlin/org/valkyrienskies/core/util/events/EventConsumer.kt | ewoudje | 521,578,237 | false | {"Kotlin": 288043, "Java": 62373} | package org.valkyrienskies.core.util.events
import org.valkyrienskies.core.networking.RegisteredHandler
fun interface EventConsumer<T> {
fun accept(event: T, handler: RegisteredHandler)
}
| 0 | null | 1 | 0 | 0394880f468c5a793632700942caaa96a622103f | 194 | vs-core | Apache License 2.0 |
raindrop-repository/src/main/java/moe/aoramd/raindrop/repository/entity/SearchResult.kt | ashishkharcheiuforks | 256,655,890 | true | {"Kotlin": 174764} | package moe.aoramd.raindrop.repository.entity
data class SearchResult(
val songs: List<Song>,
val songCount: Int
) | 0 | null | 0 | 0 | 4285c6a5abade6e0c50a821edce9d5a6919de7fe | 123 | Raindrop | Apache License 2.0 |
app/src/main/java/com/lms/weatherapp/model/weather/HourlyResponse.kt | lauramsolana93 | 381,358,507 | false | null | package com.lms.weatherapp.model.weather
import com.google.gson.annotations.SerializedName
data class HourlyResponse(
@SerializedName("DateTime") val dateTime: String,
@SerializedName("EpochDateTime") val epochDateTime: Long,
@SerializedName("WeatherIcon") val weatherIcon: Int,
@SerializedName("IconPh... | 0 | Kotlin | 0 | 0 | 9b32bc917f273ef5a394845893f0e9f9c9a325a3 | 919 | WeatherApp | Apache License 2.0 |
app/src/main/java/br/com/digitalhouse/playmovieapp/domain/Interesse.kt | lucasomac | 309,207,963 | false | null | package br.com.digitalhouse.playmovieapp.domain
import java.io.Serializable
data class Interesse(val genre: Genre, var ativo: Boolean, var icon: Int) :
Serializable | 0 | Kotlin | 0 | 2 | ab135217a0af42556c7fbe6a802a2ef163f0f3a9 | 171 | PlayMovieApp | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.