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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
src/main/kotlin/com/github/dankinsoid/ideaswiftformat/actions/GenerateFile.kt | dankinsoid | 517,400,843 | false | {"Kotlin": 16417} | package com.github.dankinsoid.ideaswiftformat.actions
import com.github.dankinsoid.ideaswiftformat.services.SwiftformatCLI
import com.intellij.openapi.actionSystem.AnAction
import com.intellij.openapi.actionSystem.AnActionEvent
import com.intellij.openapi.actionSystem.CommonDataKeys
import com.intellij.openapi.project... | 0 | Kotlin | 0 | 1 | 36f22c5d121f1bc26a831f12e180d9217c0568d3 | 765 | IdeaSwiftformat | Microsoft Public License |
app/src/main/java/com/github/albertopeam/spoktify/app/di/DispatcherIO.kt | albertopeam | 294,799,044 | false | null | package com.github.albertopeam.spoktify.app.di
import javax.inject.Qualifier
@Qualifier
@Retention(AnnotationRetention.BINARY)
annotation class DispatcherIO | 0 | Kotlin | 0 | 2 | 23e02f627a81d90b85eb03ab22824c56ff99c4ab | 158 | spoktify | MIT License |
src/main/kotlin/kotlinchennai/books/dto/SprintBItemDTO.kt | chennaijc | 771,301,483 | false | {"Kotlin": 11134, "HTML": 7967} | package kotlinchennai.books.dto
class SprintBItemDTO(
val itemId: String,
val summary: String,
val priority: String,
val assigned: String,
val status: String,
val storyPoints: String,
val id: Long=0,
val subTasks: List<SubTasksDTO>
) | 0 | Kotlin | 1 | 0 | 1eccd3a691b6c9bde51df078f3964f07069c65b3 | 266 | quarkus-kotlin-demo | MIT License |
src/main/kotlin/pro/batalin/coinkeeper/importer/Main.kt | kbatalin | 456,121,643 | false | {"Kotlin": 20632} | package pro.batalin.coinkeeper.importer
import kotlinx.coroutines.runBlocking
import pro.batalin.coinkeeper.importer.category.CategoryService
import pro.batalin.coinkeeper.importer.client.CoinKeeperClientFactory
import pro.batalin.coinkeeper.importer.data.SpendeeDataReader
import pro.batalin.coinkeeper.importer.dataim... | 0 | Kotlin | 0 | 0 | 6778933555323f25356cf28d38f6fb92ca17c61a | 1,447 | CoinKeeperImporter | Apache License 2.0 |
plugin/src/main/kotlin/spp/jetbrains/sourcemarker/icons/SourceMarkerIcons.kt | sourceplusplus | 173,253,271 | false | null | package spp.jetbrains.sourcemarker.icons
import com.intellij.openapi.util.IconLoader
import com.intellij.ui.scale.ScaleContext
import com.intellij.util.SVGLoader
import com.intellij.util.ui.JBImageIcon
import spp.protocol.advice.ArtifactAdvice
import spp.protocol.advice.cautionary.RampDetectionAdvice
import spp.protoc... | 35 | Kotlin | 7 | 79 | 37bb6a3a67fb56bf31371d9933ab056d9d4483a1 | 2,170 | SourceMarker | Apache License 2.0 |
src/main/kotlin/com/developerphil/adbidea/ObjectGraph.kt | tiwiz | 247,727,891 | true | {"Kotlin": 76384} | package com.developerphil.adbidea
import com.developerphil.adbidea.accessor.preference.ProjectPreferenceAccessor
import com.developerphil.adbidea.adb.BridgeImpl
import com.developerphil.adbidea.adb.DeviceResultFetcher
import com.developerphil.adbidea.adb.UseSameDevicesHelper
import com.intellij.openapi.components.Proj... | 0 | Kotlin | 0 | 0 | ecfdaf19b79225044e9fbb7c8df595096e0f0b89 | 1,322 | adb-idea | Apache License 2.0 |
src/main/kotlin/ch09/4_3_DestructuringDeclarations2.kt | draganglumac | 843,717,905 | false | {"Kotlin": 114145, "Java": 878} | package ch09.exkt
data class NameComponents(
val name: String,
val extension: String,
)
fun splitFilename(fullName: String): NameComponents {
val (name, extension) = fullName.split('.', limit = 2)
return NameComponents(name, extension)
}
| 0 | Kotlin | 0 | 0 | ba8291a209fb7c6bae4997c1c9da2e7910788aed | 256 | kotlin-in-action-2e-main | MIT License |
app/src/main/java/es/upm/bienestaremocional/core/ui/theme/Color.kt | Emotional-Wellbeing | 531,973,820 | false | null | package es.upm.bienestaremocional.core.ui.theme
import androidx.compose.ui.graphics.Color
val md_theme_light_primary = Color(0xFF006C53)
val md_theme_light_onPrimary = Color(0xFFFFFFFF)
val md_theme_light_primaryContainer = Color(0xFF82F8D0)
val md_theme_light_onPrimaryContainer = Color(0xFF002117)
val md_theme_light_... | 0 | Kotlin | 0 | 1 | e45d8969c9cd1a89f53777fcc671a4196177b7e3 | 3,211 | App | Apache License 2.0 |
app/src/main/java/fingerfire/com/overwatch/features/heroes/ui/adapter/AbilitiesAdapter.kt | marlonsantini | 595,391,286 | false | null | package fingerfire.com.overwatch.features.heroes.ui.adapter
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.recyclerview.widget.RecyclerView
import coil.load
import fingerfire.com.overwatch.R
import fingerfire.com.overwatch.databinding.ItemAbilitiesBinding
import fingerfire.com.overwat... | 0 | Kotlin | 0 | 2 | 34e7026565fd689cac549f493369fc9ff80c201e | 2,411 | OverGuide | Apache License 2.0 |
ECommerceTrainingProject/app/src/main/java/com/training/ecommerce/data/models/products/ProductModel.kt | eslamfaisal | 757,328,403 | false | {"Kotlin": 153908, "Dart": 60034, "JavaScript": 10092, "HTML": 6764, "CSS": 1066} | package com.training.ecommerce.data.models.products
import android.os.Parcelable
import androidx.annotation.Keep
import com.google.firebase.firestore.PropertyName
import kotlinx.parcelize.Parcelize
@Keep
@Parcelize
data class ProductModel(
var id: String? = null,
var name: String? = null,
var description:... | 2 | Kotlin | 15 | 52 | 3348446527ef3c1e23c0ac0a9346792f3fba7c41 | 1,273 | android-development-training | MIT License |
app/src/main/java/com/mycompany/advioo/viewmodels/CampaignStatsViewModel.kt | demirelarda | 609,874,629 | false | {"Kotlin": 330942} | package com.mycompany.advioo.viewmodels
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.google.firebase.auth.FirebaseAuth
import com.mycompany.advioo.models.tripdata.UserTripData
import com.mycompany.ad... | 0 | Kotlin | 0 | 0 | b27390784a5903d4ba81249f7b3535ff49c08ab1 | 7,764 | AdTracker | FSF All Permissive License |
meistercharts-demos/meistercharts-demos/src/commonMain/kotlin/com/meistercharts/demo/descriptors/NeckarITFlowDemoDescriptor.kt | Neckar-IT | 599,079,962 | false | null | /**
* Copyright 2023 Neckar IT GmbH, Mössingen, Germany
*
* 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 appli... | 0 | Kotlin | 0 | 4 | af73f0e09e3e7ac9437240e19974d0b1ebc2f93c | 3,594 | meistercharts | Apache License 2.0 |
core/core/src/jvmMain/kotlin/zakadabar/core/server/ktor/convenience.kt | spxbhuhb | 290,390,793 | false | null | /*
* Copyright © 2020-2021, <NAME> and contributors. Use of this source code is governed by the Apache 2.0 license.
*/
package zakadabar.core.server.ktor
import io.ktor.application.*
import io.ktor.auth.*
import io.ktor.routing.*
import zakadabar.core.server.Server
interface KtorConfigBuilder
class KtorAuthConfig(... | 12 | Kotlin | 3 | 24 | 2e0d94b6a77f79566c6cf0d0cff17b3ba6a9c6a1 | 1,256 | zakadabar-stack | Apache License 2.0 |
app/src/main/java/com/triobot/chatbot/ChatActivityPresenter.kt | ilkeryildirim | 244,383,296 | true | {"Kotlin": 13296, "JavaScript": 2188} | package com.triobot.chatbot
import android.app.Activity
import android.os.Handler
import com.triobot.chatbot.ChatTypes.ACTIONS
import com.triobot.chatbot.ChatTypes.ACTIONS.*
class ChatActivityPresenter(var view: ChatActivityContract.View, var context: Activity) : ChatActivityContract.Presenter {
var controlledD... | 0 | Kotlin | 0 | 0 | 8b8e53544a084bf19dd17476a90df7026d4a41ca | 1,824 | dialogflow-voice-assistant | Apache License 2.0 |
app/src/main/java/com/triobot/chatbot/ChatActivityPresenter.kt | ilkeryildirim | 244,383,296 | true | {"Kotlin": 13296, "JavaScript": 2188} | package com.triobot.chatbot
import android.app.Activity
import android.os.Handler
import com.triobot.chatbot.ChatTypes.ACTIONS
import com.triobot.chatbot.ChatTypes.ACTIONS.*
class ChatActivityPresenter(var view: ChatActivityContract.View, var context: Activity) : ChatActivityContract.Presenter {
var controlledD... | 0 | Kotlin | 0 | 0 | 8b8e53544a084bf19dd17476a90df7026d4a41ca | 1,824 | dialogflow-voice-assistant | Apache License 2.0 |
adaptive-lib-ui/src/commonMain/kotlin/fun/adaptive/ui/checkbox/api/checkbox.kt | spxbhuhb | 788,711,010 | false | {"Kotlin": 2371371, "Java": 25297, "HTML": 7875, "JavaScript": 3880, "Shell": 687} | package `fun`.adaptive.ui.checkbox.api
import `fun`.adaptive.foundation.Adaptive
import `fun`.adaptive.foundation.AdaptiveFragment
import `fun`.adaptive.foundation.binding.AdaptiveStateVariableBinding
import `fun`.adaptive.foundation.binding.PropertySelector
import `fun`.adaptive.foundation.fragment
import `fun`.adapt... | 36 | Kotlin | 0 | 3 | 065cbee981afd131472e41a4ba33d9220ad9e8c3 | 1,539 | adaptive | Apache License 2.0 |
modules/db/impl/src/main/kotlin/nasa/db/NasaDatabaseDelegate.kt | jonapoul | 794,260,725 | false | {"Kotlin": 505595} | package nasa.db
import java.io.File
class NasaDatabaseDelegate(private val impl: RoomNasaDatabase) : NasaDatabase {
override fun close() = impl.close()
override fun clearAllTables() = impl.clearAllTables()
override fun file() = impl.openHelper.readableDatabase.path
?.let(::File) ?: error("Null file for da... | 0 | Kotlin | 0 | 1 | 3f22cd526c253a9489d87ef96e5b076da0e7068a | 337 | nasa-android | Apache License 2.0 |
core/data/src/test/kotlin/es/marcrdz/data/repositories/ItemsRepositoryTest.kt | marcRDZ | 806,552,312 | false | {"Kotlin": 49665} | package es.marcrdz.data.repositories
import arrow.core.Either
import es.marcrdz.data.DataContract
import es.marcrdz.domain.DomainContract
import es.marcrdz.domain.models.Fail
import io.mockk.MockKAnnotations
import io.mockk.coEvery
import io.mockk.coVerify
import io.mockk.coVerifySequence
import io.mockk.impl.annotati... | 0 | Kotlin | 0 | 0 | 0886fa08b73047eaed6f9d53f44315beca80bb6d | 2,993 | MondlyApp | Apache License 2.0 |
app/src/main/kotlin/no/nav/navnosearchadminapi/rest/aspect/ApiKeyProtectedAspect.kt | navikt | 710,261,054 | false | {"Kotlin": 71834, "Dockerfile": 248} | package no.nav.navnosearchadminapi.rest.aspect
import no.nav.navnosearchadminapi.exception.InvalidApiKeyException
import org.aspectj.lang.annotation.Aspect
import org.aspectj.lang.annotation.Before
import org.springframework.beans.factory.annotation.Value
import org.springframework.stereotype.Component
import org.spri... | 0 | Kotlin | 0 | 0 | 91c18672dc252dbb94b24164391406fe46887267 | 978 | navno-search-admin-api | MIT License |
app/src/main/java/com/hsilva/ungathering/domain/model/types/Direction.kt | higoorc | 581,670,582 | false | null | package com.hsilva.ungathering.domain.model.types
enum class Direction {
NORTH,
SOUTH,
EAST,
WEST
} | 0 | Kotlin | 0 | 1 | 206127cabc352691c00482c1cc3dd17d5088455a | 116 | ungathering-app | MIT License |
livenesscamerax/src/main/java/com/schaefer/livenesscamerax/domain/model/StorageType.kt | arturschaefer | 412,866,499 | false | null | package com.schaefer.livenesscamerax.domain.model
import com.schaefer.domain.model.StorageTypeDomain
enum class StorageType {
INTERNAL,
EXTERNAL
}
fun StorageType.toDomain(): StorageTypeDomain {
return when (this) {
StorageType.INTERNAL -> StorageTypeDomain.INTERNAL
StorageType.EXTERNAL -... | 0 | Kotlin | 5 | 7 | ed9bbdaf766209f640a0b9fc28a123b2d65fb4b6 | 357 | liveness-camerax-android | Apache License 2.0 |
app/src/main/java/com/example/veterinary/db/helpers/DatabaseHelper.kt | diegovarias | 696,524,395 | false | {"Kotlin": 11431} | package com.example.veterinary.db.helpers
import android.content.ContentValues
import android.content.Context
import android.database.sqlite.SQLiteDatabase
import android.database.sqlite.SQLiteOpenHelper
class DatabaseHelper(context: Context?) :
SQLiteOpenHelper(context, DATABASE_NAME, null, DATABASE_VERSION) {
... | 0 | Kotlin | 1 | 0 | 05fb8ec9cf0a86d6c64ab16b61b32d2479fed8e8 | 4,588 | proyecto-dsm | Creative Commons Attribution 3.0 Unported |
app/src/main/java/com/korol/myweather/db/ViewedCityWithInfo.kt | AndreyKoroliov1981 | 456,469,102 | false | {"Kotlin": 59456} | package com.korol.myweather.db
class ViewedCityWithInfo {
var viewedCity=ViewedCity()
var infoAboutData="empty"
} | 0 | Kotlin | 0 | 0 | a6074efac0ea6d9c945a2b9edcff5d3b6eec1e44 | 122 | My-Weather | The Unlicense |
shared/src/commonMain/third/app/cash/sqldelight/paging3/OffsetQueryPagingSource.kt | qdsfdhvh | 650,389,325 | false | {"Kotlin": 266749, "Ruby": 1100, "Swift": 628, "Shell": 228} | package app.cash.sqldelight.paging3
import androidx.paging.PagingState
import app.cash.sqldelight.Query
import app.cash.sqldelight.SuspendingTransacter
import app.cash.sqldelight.Transacter
import app.cash.sqldelight.TransacterBase
import app.cash.sqldelight.TransactionCallbacks
import kotlinx.coroutines.withContext
i... | 6 | Kotlin | 0 | 3 | d670b93173a89306f511000bab1a195fc1ff090d | 2,616 | green-qrscanner | Apache License 2.0 |
src/seadustry/Seadustry.kt | Slava0135 | 354,625,440 | false | null | package seadustry
import mindustry.mod.Mod
import seadustry.content.SeaBlocks
class Seadustry : Mod() {
override fun loadContent() {
SeaBlocks().load()
}
} | 1 | Kotlin | 2 | 5 | ba42b9110dab5406024fb55371dd2ab8e7b04d2c | 174 | Seadustry | MIT License |
airbyte-cdk/java/airbyte-cdk/dependencies/src/main/kotlin/io/airbyte/commons/protocol/DefaultProtocolSerializer.kt | tim-werner | 511,419,970 | false | {"Java Properties": 8, "Shell": 57, "Markdown": 1170, "Batchfile": 1, "Makefile": 3, "JavaScript": 31, "CSS": 9, "Python": 4183, "Kotlin": 845, "Java": 723, "INI": 10, "Dockerfile": 27, "HTML": 7, "SQL": 527, "PLpgSQL": 8, "TSQL": 1, "PLSQL": 2} | /*
* Copyright (c) 2023 Airbyte, Inc., all rights reserved.
*/
package io.airbyte.commons.protocol
import io.airbyte.commons.json.Jsons
import io.airbyte.protocol.models.ConfiguredAirbyteCatalog
class DefaultProtocolSerializer : ProtocolSerializer {
override fun serialize(configuredAirbyteCatalog: ConfiguredAir... | 1 | null | 1 | 1 | b2e7895ed3e1ca7c1600ae1c23578dd1024f20ff | 408 | airbyte | MIT License |
Android/RIAID/app/src/main/java/com/kwaishou/ad/riaid/service/DefaultContainer.kt | kwai | 660,007,483 | false | {"Text": 1, "Ignore List": 10, "Markdown": 4, "Ruby": 1, "Objective-C": 184, "C": 2, "XML": 28, "Protocol Buffer": 1, "Gradle": 9, "Java Properties": 2, "Shell": 1, "Batchfile": 1, "Proguard": 7, "Kotlin": 18, "Java": 218, "INI": 6} | package com.kwaishou.ad.riaid.service
import android.annotation.SuppressLint
import android.content.Context
import com.kuaishou.riaid.render.service.base.IDataBindingService
import com.kuaishou.riaid.render.service.base.ILoadImageService
import com.kuaishou.riaid.render.service.base.IMediaPlayerService
import com.kuai... | 0 | Java | 0 | 31 | f421c52eb5218cae42408ef4b42b724809398317 | 1,277 | RIAID | Apache License 2.0 |
heart-rate-app/core/src/main/java/titsch/guilherme/heartratemonitor/core/date/DateProvider.kt | titsch-guilherme | 568,068,598 | false | {"Kotlin": 134173, "JavaScript": 16582} | package titsch.guilherme.heartratemonitor.core.date
import java.time.Instant
import java.time.ZoneId
import java.time.ZoneOffset
class DateProvider {
fun now(): Instant = Instant.now()
fun getZoneOffset(): ZoneOffset {
return ZoneId
.systemDefault().rules
.getOffset(Instant.no... | 0 | Kotlin | 0 | 0 | 7647c459186696b3b0675aeb289b5a59e1864cf5 | 332 | heart-rate-monitor-android | MIT License |
platform/src/main/kotlin/uk/gov/gdx/datashare/models/CreateAcquirerResponse.kt | alphagov | 549,031,617 | false | null | package uk.gov.gdx.datashare.models
import io.swagger.v3.oas.annotations.media.Schema
import uk.gov.gdx.datashare.enums.RegExConstants
@Schema(description = "Create Acquirer Response")
class CreateAcquirerResponse(
@Schema(
description = "URL of SQS queue that events will be sent to. Either the oauth client det... | 7 | Kotlin | 4 | 14 | 42bd225b144d39176a81995bdafdb4da203c79f3 | 1,099 | di-data-life-events-platform | MIT License |
uwmediapicker/src/main/java/com/anilokcun/uwmediapicker/enum/Enums.kt | chimzycash | 173,022,302 | true | {"Kotlin": 53498} | package com.anilokcun.uwmediapicker.enum
/**
* Author : <NAME>
* Author mail : <EMAIL>
* Create Date : 30.08.2018
*/
internal enum class Enums {
MissingViewTypeException {
override fun toString(): String {
return "UW Media Picker, Missing view type exception"
}
},
UWMediaPickerSettingsKey
} | 0 | Kotlin | 0 | 0 | 3cba7570c1ffe9df8087f1dc48102d27437eea2f | 312 | UWMediaPicker-Android | Apache License 2.0 |
src/main/kotlin/org/sdi/domain/model/ApplicationContext.kt | LuismiBarcos | 600,857,845 | false | {"Kotlin": 43161, "Java": 3869} | package org.sdi.domain.model
/**
* @author <NAME>
*/
data class ApplicationContext(
private var components: Components
) {
fun addComponent(component: Component) {
components = Components(components.values.plus(component))
}
fun getComponents() = components.copy(values = components.values)
}... | 0 | Kotlin | 0 | 0 | 7b74b015949c753784efbf289fdba90e6efbc35f | 321 | SDI | Apache License 2.0 |
app/src/main/java/com/truiton/mergedlivedata/model/Icon.kt | Truiton | 202,845,940 | false | {"Kotlin": 26232} | package com.truiton.mergedlivedata.model
import com.google.gson.annotations.SerializedName
data class Icon (
@SerializedName("prefix") val prefix : String,
@SerializedName("suffix") val suffix : String
) | 0 | Kotlin | 4 | 9 | 96ff74a376b848211b10dfda755068b58c56d56e | 208 | MergedLiveData | Apache License 2.0 |
app/src/main/java/com/megaulorder/illcalculator/ResultMapperController.kt | megaulorder | 562,401,450 | false | null | package com.megaulorder.illcalculator
import java.math.BigInteger
class ResultMapperController(
private val base: Base,
private val result: BooleanArray,
) {
fun mapResult(): String = mapNumber(result, base)
private fun mapNumber(number: BooleanArray, base: Base): String =
BigInteger(toBinaryString(number), 2)... | 0 | Kotlin | 0 | 0 | cccd4cfa87760448db3373755c08aad79c34b187 | 466 | IllCalculator | MIT License |
plugins/korge-build/src/main/kotlin/com/soywiz/korge/build/util/KryptoExt.kt | cybernetics | 183,833,774 | true | {"Kotlin": 1966103, "Java": 182026, "ActionScript": 7114, "HTML": 2081, "Shell": 1547, "Batchfile": 698} | package com.soywiz.korge.build.util
import com.soywiz.korio.async.*
import com.soywiz.korio.file.*
import com.soywiz.korio.stream.*
import com.soywiz.krypto.*
suspend fun AsyncInputStream.hash(factory: HashFactory): ByteArray {
val hash = factory.create()
val temp = ByteArray(64 * 1024)
while (true) {
val read =... | 0 | Kotlin | 0 | 0 | 1d7632525260b115ff7cfabb3631519736986676 | 517 | korge | Apache License 2.0 |
src/main/kotlin/hu/juzraai/ted/xml/model/tedexport/CodedDataSection.kt | juzraai | 78,370,453 | false | null | package hu.juzraai.ted.xml.model.tedexport
import hu.juzraai.ted.xml.model.tedexport.coded.CodifData
import hu.juzraai.ted.xml.model.tedexport.coded.NoticeData
import hu.juzraai.ted.xml.model.tedexport.coded.RefOjs
import org.simpleframework.xml.Element
import org.simpleframework.xml.Root
/**
* Model of CODED_DATA_S... | 1 | Kotlin | 1 | 0 | c1dca6b095e76085d2fc7449c8769aeb693a618e | 659 | ted-xml-model | Apache License 2.0 |
src/data/model/PostSnippet.kt | Hymn-Qin | 200,554,890 | false | null | package com.geely.gic.hmi.data.model
data class PostSnippet(val snippet: PostSnippet.Text) {
data class Text(val text: String)
} | 0 | Kotlin | 0 | 0 | 2843ff5dcbf5aeaf3d04dad29ffed78003ab7779 | 133 | KtorWebAndServer | Apache License 2.0 |
site/src/jsMain/kotlin/com/caleb/k/sections/MainSection.kt | Mzazi25 | 738,193,866 | false | {"Kotlin": 91254, "HTML": 69009} | package com.caleb.k.sections
import androidx.compose.runtime.Composable
import com.caleb.k.components.Header
import com.caleb.k.components.SocialBar
import com.caleb.k.models.Section
import com.caleb.k.models.Theme
import com.caleb.k.styles.MainButtonStyle
import com.caleb.k.styles.MainImageStyle
import com.caleb.k.ut... | 0 | Kotlin | 0 | 6 | 8e71decd4aabee4c7534a196944015f9294d9d9a | 6,086 | Caleb-Portfolio | The Unlicense |
src/main/kotlin/com/nogeeksbrewing/graphql/repositories/Repositories.kt | nogeeksbrewing | 192,024,864 | false | null | package com.nogeeksbrewing.graphql.repositories
import com.nogeeksbrewing.graphql.domains.Brewery
import com.nogeeksbrewing.graphql.domains.Recipe
import org.socialsignin.spring.data.dynamodb.repository.EnableScan
import org.springframework.data.repository.CrudRepository
import org.springframework.stereotype.Repositor... | 1 | Kotlin | 0 | 0 | d0333cc3433d9b499b1008c511bd49ebeb524a0d | 492 | graphql-api | Apache License 2.0 |
src/test/kotlin/com/qomolangma/usecase/iam/UserLoginTest.kt | highsoft-shanghai | 386,574,483 | false | null | package com.qomolangma.usecase.iam
import com.qomolangma.ApiTest
import com.qomolangma.frameworks.test.web.Documentation
import com.qomolangma.frameworks.test.web.Documentation.Companion.doc
import com.qomolangma.frameworks.test.web.PathVariables.Companion.variables
import com.qomolangma.iam.domain.AccessToken
import ... | 0 | Kotlin | 2 | 4 | d2622ea653baccd9a68cedc0b3daf60957f00dae | 2,534 | qomolangma | MIT License |
android/engine/src/test/java/org/smartregister/fhircore/engine/configuration/UpdateWorkflowValueConfigTest.kt | opensrp | 339,242,809 | false | {"Kotlin": 3034140, "Java": 4967, "JavaScript": 3548, "CSS": 459} | /*
* Copyright 2021-2024 Ona Systems, Inc
*
* 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 o... | 192 | Kotlin | 56 | 56 | 64a55e6920cb6280cf02a0d68152d9c03266518d | 2,357 | fhircore | Apache License 2.0 |
definitions/src/main/kotlin-gen/xyz/urbanmatrix/mavlink/definitions/ardupilotmega/GoproGetRequest.kt | urbanmatrix | 484,943,163 | false | null | package xyz.urbanmatrix.mavlink.definitions.ardupilotmega
import java.nio.ByteBuffer
import java.nio.ByteOrder
import kotlin.ByteArray
import kotlin.Int
import kotlin.Unit
import xyz.urbanmatrix.mavlink.api.GeneratedMavField
import xyz.urbanmatrix.mavlink.api.GeneratedMavMessage
import xyz.urbanmatrix.mavlink.api.MavD... | 1 | Kotlin | 4 | 9 | 8f480256eeaac5755a2ce5582c338a4b30c7e178 | 3,470 | mavlink-kotlin | Apache License 2.0 |
fieldmask-core/src/test/kotlin/ma/ju/fieldmask/core/FieldMatcherTest.kt | stevejuma | 363,915,990 | false | null | package ma.ju.fieldmask.core
import org.junit.jupiter.api.Assertions.assertEquals
import org.junit.jupiter.api.Test
class FieldMatcherTest {
@Test
fun `matches the requested fields`() {
mapOf(
"a/b(c/x,d(*(f,g)))" to mapOf(
"a/b/d/zz/y" to false,
"a/b/d/zz" ... | 0 | Kotlin | 1 | 0 | 7445611b65657d26f33e0811b1668da8a43a01f6 | 971 | fieldmask | MIT License |
feature/product/src/main/java/com/peonlee/product/ui/CategoryFilterBottomSheetFragment.kt | YAPP-Github | 634,125,265 | false | null | package com.peonlee.product.ui
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import com.peonlee.core.ui.base.BaseBottomSheetFragment
import com.peonlee.core.ui.designsystem.selector.SmallSelector
import com.peonlee.model.product.ProductSearchConditionUiModel
import com.peonl... | 4 | Kotlin | 0 | 8 | 648ee3f13682367a7c8d7966d056e4047bb9ce23 | 2,536 | pyeonlee-aos | Apache License 2.0 |
src/main/kotlin/logic/document/operations/media/modules/IDownloadModule.kt | DareFox | 470,665,006 | false | {"Kotlin": 107574, "HTML": 683} | package logic.document.operations.media.modules
import logic.document.operations.media.BinaryMedia
import org.jsoup.nodes.Document
import org.jsoup.nodes.Element
/**
* Module of [MediaProcessor] that downloads binary media.
*/
sealed interface IDownloadModule {
/**
* If folder is null, [MediaProcessor] wil... | 1 | Kotlin | 1 | 18 | c4201e612951f2756337a78e028e1fc8c069881f | 971 | SaveDTF-Compose | MIT License |
src/main/kotlin/model/graph/WeightedGraph.kt | spbu-coding-2023 | 802,501,813 | false | {"Kotlin": 69457} | package model.graph
class WeightedGraph : UndirectedGraph() {
override fun addEdge(first: Int, second: Int, weight: Long): Edge? {
val vertex1 = _vertices[first] ?: return null
val vertex2 = _vertices[second] ?: return null
val edgesVertex1 = _adjacencyList[vertex1]
val edgesVert... | 1 | Kotlin | 0 | 2 | 087b51aafcdbb4484e2c72d616cd5f1d72569816 | 1,272 | graphs-graphs-3 | MIT License |
shared/src/commonMain/kotlin/com/bunjne/bbit/data/remote/plugin/DefaultBearerAuthProvider.kt | Bunjne | 676,815,886 | false | {"Kotlin": 111845, "Swift": 954} | package com.bunjne.bbit.data.remote.plugin
import io.github.aakira.napier.Napier
import io.ktor.client.plugins.auth.AuthProvider
import io.ktor.client.plugins.auth.providers.BearerTokens
import io.ktor.client.plugins.auth.providers.RefreshTokensParams
import io.ktor.client.request.HttpRequestBuilder
import io.ktor.cli... | 0 | Kotlin | 0 | 1 | 88c6e511d22756925a478bc1d77de3f892bfd765 | 3,124 | BBit | Apache License 2.0 |
cesium-kotlin/src/jsMain/kotlin/cesium/engine/LabelGraphics.factory.kt | karakum-team | 393,199,102 | false | {"Kotlin": 6214094} | // Automatically generated - do not modify!
package cesium.engine
inline fun LabelGraphics(
block: LabelGraphics.() -> Unit,
): LabelGraphics =
LabelGraphics().apply(block)
| 0 | Kotlin | 7 | 35 | ac6d96e24eb8d07539990dc2d88cbe85aa811312 | 183 | types-kotlin | Apache License 2.0 |
src/main/kotlin/michi/bot/commands/MichiCommand.kt | slz-br | 598,900,844 | false | null | package michi.bot.commands
import net.dv8tion.jda.api.Permission
import net.dv8tion.jda.api.events.interaction.command.SlashCommandInteractionEvent
abstract class MichiCommand(val name: String, val description: String, val scope: CommandScope) {
protected open val userPermissions = listOf<Permission>()
protect... | 1 | Kotlin | 0 | 1 | ff23bfd4b6fc62409b300e865b2bc24bdab7db5d | 1,042 | Michi | Apache License 2.0 |
src/th/mangamoon/src/eu/kanade/tachiyomi/extension/th/mangamoon/MangaMoon.kt | komikku-app | 720,497,299 | false | {"Kotlin": 6646856, "JavaScript": 2160} | package eu.kanade.tachiyomi.extension.th.mangamoon
import eu.kanade.tachiyomi.multisrc.mangathemesia.MangaThemesia
import java.text.SimpleDateFormat
import java.util.Locale
class MangaMoon : MangaThemesia(
"Manga-Moon",
"https://manga-moons.net",
"th",
dateFormat = SimpleDateFormat("MMMM d, yyyy", Loc... | 12 | Kotlin | 5 | 36 | 840b65c8ab7f68e2a5719c9078c631bf8dc84cc1 | 334 | komikku-extensions | Apache License 2.0 |
src/main/kotlin/com/github/hugohomesquita/htmxjetbrains/AttributesProvider.kt | hugohomesquita | 574,459,366 | false | {"Kotlin": 17394} | package com.github.hugohomesquita.htmxjetbrains
import com.intellij.psi.impl.source.html.dtd.HtmlElementDescriptorImpl
import com.intellij.psi.xml.XmlTag
import com.intellij.xml.XmlAttributeDescriptor
import com.intellij.xml.XmlAttributeDescriptorsProvider
class AttributesProvider : XmlAttributeDescriptorsProvider {
... | 1 | Kotlin | 10 | 31 | 5e0d0e6c1ec096f6a4fa5ca4575d47176db7aff2 | 809 | htmx-jetbrains | Apache License 2.0 |
mui-kotlin/src/jsMain/kotlin/mui/base/MenuUnstyled.classes.kt | karakum-team | 387,062,541 | false | null | // Automatically generated - do not modify!
package mui.base
import web.cssom.ClassName
external interface MenuUnstyledClasses {
/** Class name applied to the root element. */
var root: ClassName
/** Class name applied to the listbox element. */
var listbox: ClassName
/** State class applied to... | 0 | Kotlin | 3 | 31 | 7a08a2b9c40774b5d98b6fe896e7d70578d372e7 | 435 | mui-kotlin | Apache License 2.0 |
app/src/main/java/com/wsg/up/entity/CommunityRecommend.kt | wushaoge | 299,235,402 | false | null | package com.wsg.up.entity
import android.annotation.SuppressLint
import android.os.Parcelable
import androidx.annotation.Keep
import com.google.gson.annotations.SerializedName
import kotlinx.android.parcel.Parcelize
/**
* ================================================
* 作 者:wushaoge
* 版 本:1.0
* 创建日期:2020... | 0 | Kotlin | 16 | 53 | d5c8722ecc013f17ae8a7d0419abb6daec8c7def | 9,493 | WsgMvvm | Apache License 2.0 |
app/src/main/kotlin/me/nkly/applicanti/App.kt | nkly | 624,831,420 | false | null | package me.nkly.applicanti
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.runApplication
import org.springframework.context.annotation.Configuration
import org.springframework.web.servlet.config.annotation.*
@Configuration
class WebMvcConfig : WebMvcConfigurer {
... | 0 | Kotlin | 0 | 0 | e5a645fe0cc06172e65ccb1f1612a7aa1f857c79 | 601 | applicanti | MIT License |
Common/src/main/kotlin/journeymap_webmap/common/kotlin/extensions/resources.kt | TeamJM | 585,745,533 | false | {"Kotlin": 29720, "Java": 862} | package journeymap_webmap.common.kotlin.extensions
import net.minecraft.client.Minecraft
import net.minecraft.resources.ResourceLocation
import java.io.InputStream
fun ResourceLocation.getResourceAsStream(): InputStream {
return Minecraft.getInstance().resourceManager.open(this)
}
| 1 | Kotlin | 1 | 0 | d835afd2ea89d7aa8c9ba0b3005585206941c7a7 | 288 | journeymap-webmap | Apache License 1.1 |
plugin/annotations/src/main/kotlin/shapeTyping/annotations/Annotations.kt | facebookresearch | 498,810,868 | false | null | /*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
package shapeTyping.annotations
/**
* If used on a type, denotes the shape data of the instance of that type.
* The shape is c... | 15 | Kotlin | 2 | 8 | b80b7484b8f1033fbef3e76a401b7a0237a35e05 | 2,811 | shapekt | MIT License |
src/test/resources/examples/okHttpClientPostWithoutRequestBody/client/ApiClient.kt | cjbooms | 229,844,927 | false | {"Kotlin": 874094, "Handlebars": 4874} | package examples.okHttpClientPostWithoutRequestBody.client
import com.fasterxml.jackson.databind.ObjectMapper
import com.fasterxml.jackson.module.kotlin.jacksonTypeRef
import okhttp3.Headers
import okhttp3.HttpUrl
import okhttp3.HttpUrl.Companion.toHttpUrl
import okhttp3.OkHttpClient
import okhttp3.Request
import okht... | 33 | Kotlin | 41 | 154 | b95cb5bd8bb81e59eca71e467118cd61a1848b3f | 3,377 | fabrikt | Apache License 2.0 |
src/test/resources/examples/okHttpClientPostWithoutRequestBody/client/ApiClient.kt | cjbooms | 229,844,927 | false | {"Kotlin": 874094, "Handlebars": 4874} | package examples.okHttpClientPostWithoutRequestBody.client
import com.fasterxml.jackson.databind.ObjectMapper
import com.fasterxml.jackson.module.kotlin.jacksonTypeRef
import okhttp3.Headers
import okhttp3.HttpUrl
import okhttp3.HttpUrl.Companion.toHttpUrl
import okhttp3.OkHttpClient
import okhttp3.Request
import okht... | 33 | Kotlin | 41 | 154 | b95cb5bd8bb81e59eca71e467118cd61a1848b3f | 3,377 | fabrikt | Apache License 2.0 |
app/src/main/java/com/telen/easylineup/utils/ImagePickerUtils.kt | kaygenzo | 177,859,247 | false | null | package com.telen.easylineup.utils
import android.app.Activity
import android.content.Context
import androidx.core.content.ContextCompat
import androidx.fragment.app.Fragment
import com.nguyenhoanglam.imagepicker.ui.imagepicker.ImagePicker
import com.telen.easylineup.R
class ImagePickerUtils {
companion object {
... | 0 | Kotlin | 0 | 0 | 3941fb10aee593332bc942f96734971ab3e68600 | 2,484 | EasyLineUp | Apache License 2.0 |
app/src/main/java/com/arjun/connect/viewmodel/NetworkViewModel.kt | ArjunJadeja | 527,292,695 | false | null | package com.arjun.connect.viewmodel
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
class NetworkViewModel : ViewModel() {
private val _isNetworkConnected = MutableLiveData<Boolean>()
val isNetworkConnected: LiveData<Boolean> = _isNetworkConnec... | 0 | Kotlin | 0 | 0 | a7d26ebc5e49661ca849351ceac1eab650989a48 | 437 | Connect | Apache License 2.0 |
straight/src/commonMain/kotlin/me/localx/icons/straight/bold/Bread.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.straight.bold
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
i... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 2,938 | icons | MIT License |
application/src/main/kotlin/com/lomeone/application/seucirty/config/SecurityConfig.kt | lomeone | 583,942,276 | false | {"Kotlin": 105805, "Smarty": 1861} | package com.lomeone.application.seucirty.config
import com.lomeone.application.seucirty.filter.EmailPasswordAuthenticationFilter
import com.lomeone.application.seucirty.handler.OAuthAuthenticationSuccessHandler
import com.lomeone.domain.authentication.entity.AuthProvider
import com.lomeone.domain.authentication.except... | 4 | Kotlin | 0 | 0 | 480a369035240983e71db4144cddd343b46dc1d5 | 3,701 | lomeone-server | MIT License |
dsl/src/main/kotlin/com/faendir/awscdkkt/generated/services/cleanroomsml/GlueDataSourcePropertyDsl.kt | F43nd1r | 643,016,506 | false | {"Kotlin": 5279682} | package com.faendir.awscdkkt.generated.services.cleanroomsml
import com.faendir.awscdkkt.AwsCdkDsl
import javax.`annotation`.Generated
import kotlin.Unit
import software.amazon.awscdk.services.cleanroomsml.CfnTrainingDataset
@Generated
public fun buildGlueDataSourceProperty(initializer: @AwsCdkDsl
CfnTrainingData... | 1 | Kotlin | 0 | 4 | 32fa5734909e4f7f3bf59b80bd6d4d0bfb2d0dd8 | 504 | aws-cdk-kt | Apache License 2.0 |
sample/src/main/java/com/aqrlei/bannerview/sample/holder/SimpleBannerViewHolder.kt | AqrLei | 288,323,192 | false | null | package com.aqrlei.bannerview.sample.holder
import android.view.View
import android.widget.TextView
import com.aqrlei.bannerview.sample.R
import com.aqrlei.bannerview.widget.BannerViewHolder
/**
* created by AqrLei on 2020/10/20
*/
class SimpleBannerViewHolder(private val list: ArrayList<Int>) : BannerViewHolder() ... | 0 | Kotlin | 0 | 1 | cc59f744432fe7ec1b5b72d8ee2ddc2e21745e1a | 674 | BannerView | Apache License 2.0 |
app/src/main/java/com/mujapps/navicomposedrawer/Navigation.kt | aMujeeb | 762,199,041 | false | {"Kotlin": 58006} | package com.mujapps.navicomposedrawer
import androidx.compose.runtime.Composable
import androidx.navigation.NavController
import androidx.navigation.NavHostController
import androidx.navigation.compose.NavHost
import androidx.navigation.compose.composable
import androidx.navigation.compose.rememberNavController
import... | 0 | Kotlin | 0 | 0 | 6e295b506abc092ea058a075a02656045b9eb82f | 1,825 | jetpack_compose_navigation_drawer | Apache License 2.0 |
camera/integration-tests/viewtestapp/src/main/java/androidx/camera/integration/view/Media3EffectsFragment.kt | androidx | 256,589,781 | false | {"Kotlin": 112114129, "Java": 66594571, "C++": 9132142, "AIDL": 635065, "Python": 325169, "Shell": 194520, "TypeScript": 40647, "HTML": 35176, "Groovy": 27178, "ANTLR": 26700, "Svelte": 20397, "CMake": 15512, "C": 15043, "GLSL": 3842, "Swift": 3153, "JavaScript": 3019} | /*
* Copyright 2024 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 29 | Kotlin | 1011 | 5,321 | 98b929d303f34d569e9fd8a529f022d398d1024b | 7,466 | androidx | Apache License 2.0 |
src/main/java/com/tang/intellij/lua/codeInsight/inspection/UnreachableStatement.kt | Benjamin-Dobell | 231,814,734 | false | null | /*
* Copyright (c) 2020
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, ... | 61 | Kotlin | 9 | 83 | 68b0a63d3ddd5bc7be9ed304534b601fedcc8319 | 2,220 | IntelliJ-Luanalysis | Apache License 2.0 |
app/src/main/java/com/tjcoding/funtimer/data/local/type_converter/Converters.kt | TimJeric1 | 650,984,348 | false | {"Kotlin": 135265} | package com.tjcoding.funtimer.data.local.type_converter
import androidx.room.TypeConverter
import java.time.Instant
import java.time.LocalDateTime
import java.time.ZoneId
class Converters {
@TypeConverter
fun fromLocalDateTime(time: LocalDateTime): Long {
return time.atZone(ZoneId.systemDefault()).toE... | 0 | Kotlin | 0 | 0 | 89e9a8450e6f1394d8810fa317e2001f06c94e50 | 519 | FunTimer | Apache License 2.0 |
android/src/test/java/com/uwconnect/android/domain/usecase/CreateEventUseCaseTest.kt | IbrahimKashif1 | 817,739,177 | false | {"Kotlin": 410352} | package com.uwconnect.android.domain.usecase
import androidx.compose.ui.graphics.Color
import com.uwconnect.android.domain.repository.EventRepository
import kotlinx.coroutines.ExperimentalCoroutinesApi
import kotlinx.coroutines.test.runBlockingTest
import kotlinx.datetime.LocalDateTime
import org.uwconnect.models.Crea... | 0 | Kotlin | 0 | 0 | 336e842ca45c5d747bf162f3a7d55ca562591fb0 | 2,515 | UWConnect | MIT License |
app/src/main/java/pl/smcebi/recipeme/App.kt | Seba0855 | 616,026,534 | false | {"Kotlin": 89067} | package pl.smcebi.recipeme
import android.app.Application
import androidx.emoji2.text.EmojiCompat
import dagger.hilt.android.HiltAndroidApp
import timber.log.Timber
import javax.inject.Inject
@HiltAndroidApp
class App : Application() {
@Inject
lateinit var initializersContainer: AppInitializersContainer
... | 0 | Kotlin | 0 | 0 | 04a9966a50929063f3f85c2c270c91ce3133575e | 540 | recipe.me | Apache License 2.0 |
feature/inquiry/src/main/java/com/bitgoeul/inquiry/navigation/InquiryNavigation.kt | School-of-Company | 700,744,250 | false | {"Kotlin": 724178} | package com.bitgoeul.inquiry.navigation
| 6 | Kotlin | 1 | 22 | 358bf40188fa2fc2baf23aa6b308b039cb3fbc8c | 41 | Bitgoeul-Android | MIT License |
core/src/test/kotlin/com/messengerk/core/MessageBusTest.kt | tsantos84 | 441,781,910 | false | {"Kotlin": 40278} | package com.messengerk.core
import com.messengerk.core.handler.MessageHandler
import com.messengerk.core.stamp.HandledStamp
import org.junit.jupiter.api.Test
import strikt.api.expectThat
internal class CommandBusTest {
class FooMessage
class FooHandler : MessageHandler<FooMessage> {
override fun han... | 0 | Kotlin | 0 | 0 | 5358365033dfb76db9d021f7e2b12aa568e2c22d | 686 | messengerk | MIT License |
verifiable-credentials-library/src/test/java/org/idp/wallet/verifiable_credentials_library/util/sdjwt/SdJwtTest.kt | hirokazu-kobayashi-koba-hiro | 752,660,337 | false | {"Kotlin": 339200, "Mermaid": 497} | package org.idp.wallet.verifiable_credentials_library.util.sdjwt
import com.nimbusds.jose.crypto.*
import com.nimbusds.jose.jwk.JWK
import eu.europa.ec.eudi.sdjwt.*
import kotlinx.coroutines.runBlocking
import org.idp.wallet.verifiable_credentials_library.util.jose.toRsaPublicKey
import org.junit.Test
class SdJwtTest... | 0 | Kotlin | 0 | 0 | a10dacf1ded9df6a6552440060eadb97e59d11ae | 2,867 | vc-wallet-android-app | Apache License 2.0 |
api/src/main/java/com/applakazam/androidmvvmtemplate/api/error/NetworkException.kt | BisiPaul | 642,722,484 | false | {"Kotlin": 62813} | package com.applakazam.androidmvvmtemplate.api.error
import java.io.IOException
/**
* Created by paulbisioc on 23.05.2023
*/
open class NetworkException : IOException() | 2 | Kotlin | 0 | 0 | 16aa0b890a4982f51bf53e89f429a8803923190c | 174 | AndroidMvvmTemplate | MIT License |
src/commonMain/kotlin/io/revenuemonster/sdk/model/common/MemberProfile.kt | RevenueMonster | 370,565,536 | false | {"Kotlin": 76091} | package io.revenuemonster.sdk.model.common
import kotlinx.datetime.Instant
import kotlinx.serialization.Serializable
@Serializable
data class MemberProfile(
val id: String,
val key: String,
val name: String,
val email: String,
val nric: String,
val birthDate: String,
val gender: String,
... | 5 | Kotlin | 0 | 2 | 36342cd8d0f19b14ffcafa2103e3801e6ff67093 | 604 | rm-kotlin-sdk | MIT License |
fortis/src/main/kotlin/cmu/isr/ts/lts/LTSParallelComposition.kt | cmu-soda | 598,835,734 | false | {"Kotlin": 194808, "Python": 13138, "Shell": 1979} | package cmu.isr.ts.lts
import cmu.isr.ts.DetLTS
import cmu.isr.ts.LTS
import cmu.isr.ts.alphabet
import cmu.isr.ts.nfa.NFAParallelComposition
import net.automatalib.automata.fsa.impl.compact.CompactDFA
import net.automatalib.automata.fsa.impl.compact.CompactNFA
import net.automatalib.util.ts.copy.TSCopy
import net.aut... | 1 | Kotlin | 0 | 1 | 63e6a839589614bb309d9415f6fc28f2a8e37abc | 1,525 | Fortis | MIT License |
app/src/main/java/com/apaluk/wsplayer/data/stream_cinema/remote/dto/tv_show/episodes/TvShowSeasonEpisodesResponseDto.kt | apaluk | 576,009,487 | false | null | package com.apaluk.wsplayer.data.stream_cinema.remote.dto.tv_show.episodes
import com.squareup.moshi.Json
import com.squareup.moshi.JsonClass
@JsonClass(generateAdapter = true)
data class TvShowSeasonEpisodesResponseDto(
@Json(name = "hits")
val hits: HitsDto,
@Json(name = "_shards")
val shards: Shar... | 0 | Kotlin | 0 | 0 | 551703a932d3659f5dadd058d4e3083cbff25534 | 428 | ws-player-android | MIT License |
app/shared/auth/impl/src/commonMain/kotlin/build/wallet/auth/LiteToFullAccountUpgraderImpl.kt | proto-at-block | 761,306,853 | false | null | package build.wallet.auth
import build.wallet.bitkey.account.FullAccount
import build.wallet.bitkey.account.LiteAccount
import build.wallet.bitkey.keybox.KeyCrossDraft
import build.wallet.bitkey.keybox.Keybox
import build.wallet.bitkey.spending.SpendingKeyset
import build.wallet.compose.collections.emptyImmutableList
... | 3 | null | 16 | 98 | 1f9f2298919dac77e6791aa3f1dbfd67efe7f83c | 4,175 | bitkey | MIT License |
app/src/main/java/br/com/tarcisiofl/bookshelf/data/local/BookshelfDatabase.kt | Tarcisiofl | 659,526,176 | false | null | package br.com.tarcisiofl.bookshelf.data.local
import androidx.room.Database
import androidx.room.RoomDatabase
import androidx.room.TypeConverters
import br.com.tarcisiofl.bookshelf.data.local.dao.BookDao
import br.com.tarcisiofl.bookshelf.data.local.dao.RemoteKeysDao
import br.com.tarcisiofl.bookshelf.data.local.enti... | 0 | Kotlin | 0 | 0 | 3484f05d562678fad5f884165956ba57c3409c55 | 740 | bookshelf-gutendex | MIT License |
src/main/java/com/redmagic/undefinedapi/menu/presets/UndefinedDefaultPageMenu.kt | UndefinedCreation | 756,316,697 | false | {"Kotlin": 90374} | package com.redmagic.undefinedapi.menu.presets
import com.redmagic.undefinedapi.builders.ItemBuilder
import com.redmagic.undefinedapi.extension.string.translateColor
import com.redmagic.undefinedapi.menu.MenuSize
import com.redmagic.undefinedapi.menu.normal.button.ClickData
import com.redmagic.undefinedapi.menu.page.U... | 0 | Kotlin | 0 | 2 | 85693bd4718f4039fd7b868cec4092aad868a7d4 | 1,769 | UndefinedAPI | MIT License |
app/src/main/java/io/github/airdaydreamers/homebuttonhandler/HomeActivity.kt | vladislav-smirnov | 297,154,534 | false | null | package io.github.airdaydreamers.homebuttonhandler
import android.app.UiModeManager
import android.content.Context
import android.os.Bundle
import android.widget.Button
import androidx.appcompat.app.AppCompatActivity
import androidx.lifecycle.SavedStateViewModelFactory
import androidx.lifecycle.ViewModelProvider
impor... | 0 | Kotlin | 0 | 1 | 6ec9046f8b260f293dd8c354e00ad82818cf290c | 2,364 | homebuttonhandler | Apache License 2.0 |
app/src/main/java/com/cykod/cabinar/SpaceViewActivity.kt | CabinAR | 191,037,036 | false | null | package com.cykod.cabinar
import android.content.Context
import android.content.Intent
import android.content.res.AssetManager
import android.graphics.Bitmap
import android.graphics.BitmapFactory
import android.graphics.drawable.Drawable
import android.net.Uri
import android.os.Build
import android.os.Bundle
import an... | 0 | Kotlin | 0 | 0 | f10e69455a8cc6880f3f15e3dd0188e5b1537292 | 12,866 | CabinArAndroid | MIT License |
feature-timeline/src/main/java/com/rumosoft/feature_timeline/presentation/viewmodel/DetailsViewModel.kt | Rviewer-Challenges | 498,898,253 | false | {"Kotlin": 140139} | package com.rumosoft.feature_timeline.presentation.viewmodel
import androidx.lifecycle.SavedStateHandle
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.rumosoft.feature_timeline.domain.usecase.GetCommentsUseCase
import com.rumosoft.feature_timeline.domain.usecase.GetTweetUseCase... | 0 | Kotlin | 0 | 0 | e72e5c622f73263fa64377bdbcbc9be277693e0e | 2,022 | rbnbRT74TEkpXOeVjjxy | MIT License |
zircon.core/src/main/kotlin/org/codetome/zircon/internal/color/DefaultTextColor.kt | jayece09 | 123,382,162 | true | {"Kotlin": 703071, "Java": 73204} | package org.codetome.zircon.internal.color
import org.codetome.zircon.api.color.TextColor
import org.codetome.zircon.api.color.TextColorFactory
import java.awt.Color
data class DefaultTextColor(private val red: Int,
private val green: Int,
private val blue: Int,... | 0 | Kotlin | 0 | 0 | bf4afe40710789aa22c7934e9f3029fce386f0ab | 1,188 | zircon | MIT License |
src/main/kotlin/components/DrawableTextListContainer.kt | LukynkaCZE | 832,858,584 | false | {"Kotlin": 7336} | package cz.lukynka.components
import cz.lukynka.AutoSizeAxis
import cz.lukynka.BindableList
import cz.lukynka.Drawable
import cz.lukynka.util.Vector2
class DrawableTextListContainer : Drawable() {
var list: BindableList<String> = BindableList()
var autoSizeAxis: AutoSizeAxis? = null
override fun drawCon... | 0 | Kotlin | 0 | 2 | 0182a7c005eb16d80f51da37c46269cc7a892323 | 968 | lazy-kotlin-tui | MIT License |
src/main/kotlin/io/api/bloxy/executor/impl/HttpClient.kt | XMaxZone | 170,307,546 | true | {"Kotlin": 241425} | package io.api.bloxy.executor.impl
import io.api.bloxy.executor.IHttpClient
import java.io.BufferedReader
import java.io.InputStreamReader
import java.net.HttpURLConnection
import java.net.URL
import java.util.stream.Collectors
import java.util.zip.GZIPInputStream
import java.util.zip.InflaterInputStream
/**
* @see... | 0 | Kotlin | 0 | 0 | 522df5a60a3a11a806656df0c7a6799a776c6eca | 1,772 | bloxy-api | MIT License |
app/src/main/java/ru/barinov/obdroid/ui/utils/LocationSource.kt | PavelB24 | 546,869,778 | false | {"Kotlin": 232443} | package ru.barinov.obdroid.ui.utils
import android.Manifest
import android.content.Context
import android.content.pm.PackageManager
import android.location.Location
import android.location.LocationListener
import android.location.LocationManager
import androidx.core.app.ActivityCompat
import kotlinx.coroutines.*
impor... | 0 | Kotlin | 0 | 0 | 4d0947565037ebe03d74adcba115858128f58e92 | 2,893 | OBDroid | Creative Commons Zero v1.0 Universal |
src/main/kotlin/org/swordess/common/vitool/ext/slf4j/CmdLogger.kt | swordess | 206,268,650 | false | {"Kotlin": 103664, "Smalltalk": 54} | /*
* Copyright (c) 2019-2022 Swordess
*
* Distributed under MIT license.
* See file LICENSE for detail or copy at https://opensource.org/licenses/MIT
*/
package org.swordess.common.vitool.ext.slf4j
import org.slf4j.Logger
import org.slf4j.LoggerFactory
import kotlin.reflect.KProperty
object CmdLogger {
val ... | 10 | Kotlin | 0 | 3 | 8e13f5e6a194a28ea9346b384e95d4f921910924 | 577 | vitool | MIT License |
oppgave-endret/src/main/kotlin/no/nav/helse/sparkel/oppgaveendret/Hendelse.kt | navikt | 341,650,641 | false | null | package no.nav.helse.sparkel.oppgaveendret
import com.fasterxml.jackson.databind.JsonNode
data class Hendelse(
private val hendelsestype: Hendelsetype
) {
internal fun erRelevant() = hendelsestype in Hendelsetype.RELEVANTE_HENDELSER
companion object {
fun fromJson(jsonNode: JsonNode): Hendelse {
... | 1 | Kotlin | 1 | 2 | 4127ee4f6d528da5009699dfcc4c6af2c2b83598 | 723 | helse-sparkelapper | MIT License |
app/src/main/java/com/engineerfred/kotlin/ktor/ui/use_case/ValidateNameInputUseCase.kt | EngFred | 763,078,300 | false | {"Kotlin": 375304} | package com.engineerfred.kotlin.ktor.ui.use_case
import com.engineerfred.kotlin.ktor.ui.model.NameInputValidationType
class ValidateNameInputUseCase() {
operator fun invoke(name: String) : NameInputValidationType {
return when {
name.isEmpty() -> NameInputValidationType.EmptyField
... | 0 | Kotlin | 0 | 0 | bf9031db3581709d5de44181361e1246850b6092 | 438 | quiz-quest | MIT License |
app/src/main/java/com/example/youngster_bmi_app/model/Gender.kt | MaciejPawlik | 228,154,627 | false | null | package com.example.youngster_bmi_app.model
enum class Gender {
GIRL,
BOY
} | 0 | Kotlin | 0 | 0 | e3bcb08180414143e107e872c2ee08eb44e4d469 | 84 | Youngster_BMI_App | MIT License |
app/src/main/java/com/donkor/gank4camp/utils/NetworkUtils.kt | ChenYXin | 114,641,791 | false | null | package com.donkor.gank4camp.utils
import android.content.Context
import android.net.ConnectivityManager
import android.net.NetworkInfo
/**
*
* Created by Donkor on 2017/12/19.
*/
object NetworkUtils {
fun isNetConneted(context: Context):Boolean{
val connectManager = context.getSystemService(Context.CO... | 0 | Kotlin | 1 | 8 | a4ec18b702ee892a7467dcaef5acf21b8f7d53b1 | 586 | Gank4Camp-in-kotlin | Apache License 2.0 |
app/src/main/java/com/gabor/cleanarchitecture/presentation/utils/dialogs/DialogFactory.kt | gyorgygabor | 440,453,398 | false | {"Kotlin": 109509} | /*
* Copyright 2022 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 | 9f5828f70c6cfa21741b452f803b205ea1c4c6d3 | 2,228 | clean_architecture | Apache License 2.0 |
app/src/main/java/com/itscatalano/capstonenewsapp/models/Article.kt | TonyCat | 528,997,166 | false | null | package com.itscatalano.capstonenewsapp.models
import android.os.Parcelable
import kotlinx.parcelize.Parcelize
/***
* Author: Anthony Catalano
* Data class to hold the articles
*
*/
@Parcelize
data class Article(val author: String? = null, var title: String?, var content: String?, var description: String? = null,... | 3 | Kotlin | 0 | 0 | 0b9dbff9f71c3bd716dcbc1f10e18ca2bc84bff8 | 437 | CapstoneNewsApp | MIT License |
src/main/kotlin/me/moeszyslak/taboo/commands/ConfigurationCommands.kt | hhhapz | 308,037,549 | true | {"Kotlin": 30733, "Dockerfile": 256, "Shell": 63} | package me.moeszyslak.taboo.commands
import com.gitlab.kordlib.common.entity.Snowflake
import me.jakejmattson.discordkt.api.arguments.*
import me.jakejmattson.discordkt.api.dsl.commands
import me.moeszyslak.taboo.data.Configuration
import me.moeszyslak.taboo.data.MimeConfiguration
import me.moeszyslak.taboo.extensions... | 0 | null | 0 | 0 | 7c2def7e0ec5a90406803fe878ac4c98e695bfd6 | 9,285 | Taboo | MIT License |
pandora/src/main/java/com/lodz/android/pandora/picker/preview/PreviewBuilder.kt | LZ9 | 137,967,291 | false | {"Kotlin": 2174504} | package com.lodz.android.pandora.picker.preview
import android.content.Context
import androidx.annotation.ColorInt
import androidx.annotation.ColorRes
import androidx.annotation.IntRange
import androidx.recyclerview.widget.RecyclerView
import androidx.viewpager2.widget.ViewPager2
import com.lodz.android.corekt.anko.ge... | 0 | Kotlin | 3 | 11 | 91c1f5697ab83e18b2f5531b590ed44f0a382568 | 3,421 | AgileDevKt | Apache License 2.0 |
shared/src/commonMain/kotlin/com/qiaoyuang/kmmnews/shared/Platform.kt | qiaoyuang | 342,540,149 | false | null | package com.qiaoyuang.kmmnews.shared
expect class Platform() {
val platform: String
} | 0 | Kotlin | 0 | 0 | 0df803517fb18d9be3e45aa2a679c7956fdefc06 | 90 | KMMNews | Apache License 2.0 |
src/main/kotlin/com/nexsabre/hardwarereservationtool/cmd/helpers/reservations/Reservations.kt | NexSabre | 304,905,839 | false | null | package com.nexsabre.hardwarereservationtool.cmd.helpers.reservations
import com.nexsabre.hardwarereservationtool.cmd.models.Hart
import com.nexsabre.hardwarereservationtool.server.models.Element
import kotlinx.serialization.decodeFromString
import kotlinx.serialization.json.Json
fun getAllReservations(): List<Elemen... | 2 | Kotlin | 0 | 0 | 120f5f8049fcec11e4de2805518bf838eab0b8c4 | 441 | hardware-reservation-tool | Apache License 2.0 |
library/src/main/java/com/smartmobilefactory/epubreader/InternalEpubViewSettings.kt | smartmobilefactory | 83,435,122 | false | null | package com.smartmobilefactory.epubreader
import android.os.Handler
import android.os.Looper
import com.smartmobilefactory.epubreader.model.EpubFont
import io.reactivex.Observable
import io.reactivex.disposables.Disposable
import io.reactivex.subjects.PublishSubject
internal class InternalEpubViewSettings(
pr... | 5 | Kotlin | 7 | 22 | e89d3523ce3876e0dc44e9a0d5dec8f78909d325 | 2,826 | EpubReaderAndroid | MIT License |
auth/src/main/java/org/futo/circles/auth/utils/UserIdUtils.kt | circles-project | 615,347,618 | false | {"Kotlin": 1307644, "C": 137821, "C++": 12364, "Shell": 3202, "CMake": 1680, "Ruby": 922} | package org.futo.circles.auth.utils
import org.futo.circles.auth.model.EmptyUserId
import org.futo.circles.auth.model.InvalidUserId
import org.futo.circles.auth.model.SuggestedUserId
import org.futo.circles.auth.model.ValidUserId
import org.futo.circles.auth.model.ValidateUserIdStatus
import org.futo.circles.core.base... | 8 | Kotlin | 4 | 29 | 7edec708f9c491a7b6f139fc2f2aa3e2b7149112 | 2,003 | circles-android | Apache License 2.0 |
bootstrap-icons-compose/src/main/java/com/wiryadev/bootstrapiconscompose/bootstrapicons/normal/PencilSquare.kt | wiryadev | 380,639,096 | false | null | package com.wiryadev.bootstrapiconscompose.bootstrapicons.normal
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.grap... | 0 | Kotlin | 0 | 2 | 1c199d953dc96b261aab16ac230dc7f01fb14a53 | 3,602 | bootstrap-icons-compose | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.