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/commonMain/kotlin/choliver/nespot/mappers/Mmc1Mapper.kt | oliver-charlesworth | 251,006,755 | false | {"Kotlin": 343939, "JavaScript": 425, "HTML": 211} | package choliver.nespot.mappers
import choliver.nespot.BASE_PRG_ROM
import choliver.nespot.cartridge.Cartridge
import choliver.nespot.cartridge.Mapper
import choliver.nespot.cartridge.Rom
import choliver.nespot.common.Address
import choliver.nespot.common.Data
import choliver.nespot.common.isBitSet
// https://wiki.ne... | 14 | Kotlin | 0 | 1 | 0a94924526a91462b4992d1b823c23e8ad20dfc0 | 2,879 | nespot | MIT License |
features/taxi/src/main/kotlin/by/anegin/vkcup21/features/taxi/data/GeoUtil.kt | eugene-kirzhanov | 385,482,551 | false | null | package by.anegin.vkcup21.features.taxi.data
import by.anegin.vkcup21.features.taxi.data.models.Position
internal interface GeoUtil {
fun getDistance(source: Position, destination: Position): Double
} | 0 | Kotlin | 0 | 0 | 00afa06d424810fe80675e333facfd42d6b2b75d | 208 | vkcup21 | MIT License |
app/src/main/java/com/example/bitcointickerapp/viewModel/HomeViewModel.kt | AkcayHasan | 381,289,954 | false | null | package com.example.bitcointickerapp.viewModel
import android.app.Activity
import android.app.Application
import android.content.Context
import android.content.Intent
import androidx.lifecycle.*
import com.example.bitcointickerapp.data.CryptoDatabase
import com.example.bitcointickerapp.model.CryptoModel
import com.exa... | 0 | Kotlin | 0 | 0 | 4c9685df9368a55c75e96b56a6f094be32fc2c63 | 3,191 | BitcoinTickerApp | MIT License |
library/src/main/kotlin/com/daniloaraujosilva/mathemagika/library/common/mathematica/functions/GroupMultiplicationTable.kt | Danilo-Araujo-Silva | 271,904,885 | false | null | package com.daniloaraujosilva.mathemagika.library.common.mathematica.functions
import com.daniloaraujosilva.mathemagika.library.common.mathematica.MathematicaFunction
/**
*````
*
* Name: GroupMultiplicationTable
*
* Full name: System`GroupMultiplicationTable
*
* Usage: GroupMultip... | 2 | Kotlin | 0 | 3 | 4fcf68af14f55b8634132d34f61dae8bb2ee2942 | 1,086 | mathemagika | Apache License 2.0 |
core-types/src/main/java/lang/taxi/messages/Severity.kt | taxilang | 601,101,781 | false | {"Kotlin": 1681931, "ANTLR": 66122, "TypeScript": 12542, "JavaScript": 4324, "Shell": 1468, "Java": 1454, "MDX": 425} | package lang.taxi.messages
enum class Severity(val label: String) {
INFO("Info"),
WARNING("Warning"),
ERROR("Error")
}
| 8 | Kotlin | 5 | 75 | 9ec062c26b5d616b340104b5d5a7ae53142a12a0 | 129 | taxilang | Apache License 2.0 |
app/src/main/java/com/switchonkannada/switchon/ui/userProfile/PuttingImageResult.kt | tusharyadav511 | 260,476,750 | false | null | package com.switchonkannada.switchon.ui.userProfile
data class PuttingImageResult (
val showProcess : Boolean? = null,
val error : String? = null
) | 0 | Kotlin | 0 | 0 | d5d568dc48c652b5a2850b7a8ac332a407fe02c8 | 156 | SwitchOn | Creative Commons Zero v1.0 Universal |
src/main/kotlin/uk/gov/justice/hmpps/probationsearch/NotFoundException.kt | ministryofjustice | 226,127,381 | false | {"Kotlin": 413338, "Dockerfile": 1076, "Mustache": 754} | package uk.gov.justice.hmpps.probationsearch
class NotFoundException(msg: String) : RuntimeException(msg)
| 1 | Kotlin | 2 | 3 | bdcebd42c9e8679c7a895eab9887e6081bf7920d | 107 | probation-offender-search | MIT License |
src/main/kotlin/dreifa/app/opentelemetry/OpenTelemetryContext.kt | dreifadotapp | 478,598,303 | false | null | package dreifa.app.opentelemetry
import io.opentelemetry.api.trace.Span
import io.opentelemetry.api.trace.SpanContext
import io.opentelemetry.api.trace.SpanKind
import io.opentelemetry.api.trace.TraceId
// the information passed between layers and into telemetry handlers
data class OpenTelemetryContext(
val trac... | 0 | Kotlin | 0 | 0 | a31809cc91858259d1e48d109c3743762dca28a5 | 2,625 | open-telemetry | MIT License |
src/jvmMain/kotlin/blue/starry/stella/endpoints/GetMedia.kt | SlashNephy | 279,921,971 | false | null | package blue.starry.stella.endpoints
import blue.starry.stella.mediaDirectory
import io.ktor.application.*
import io.ktor.locations.*
import io.ktor.response.*
import io.ktor.routing.*
@Location("/media/{filename}")
data class GetMedia(val filename: String)
fun Route.getMediaByFilename() {
get<GetMedia> { (filen... | 4 | Kotlin | 0 | 5 | 6dd3c9290872ee3b4dd039c96a7f3c9525848b06 | 396 | stella | MIT License |
hooks/src/main/kotlin/com/intuit/hooks/AsyncSeriesBailHook.kt | intuit | 342,405,057 | false | null | package com.intuit.hooks
public abstract class AsyncSeriesBailHook<F : Function<BailResult<R>>, R> : AsyncBaseHook<F>("AsyncSeriesBailHook") {
protected suspend fun call(invokeWithContext: suspend (F, HookContext) -> BailResult<R>): R? {
val context = setup(invokeWithContext)
taps.forEach { tapInf... | 4 | Kotlin | 3 | 25 | 6314b814d73a7fd9db5f0ddc341beae4926573e1 | 516 | hooks | MIT License |
hooks/src/main/kotlin/com/intuit/hooks/AsyncSeriesBailHook.kt | intuit | 342,405,057 | false | null | package com.intuit.hooks
public abstract class AsyncSeriesBailHook<F : Function<BailResult<R>>, R> : AsyncBaseHook<F>("AsyncSeriesBailHook") {
protected suspend fun call(invokeWithContext: suspend (F, HookContext) -> BailResult<R>): R? {
val context = setup(invokeWithContext)
taps.forEach { tapInf... | 4 | Kotlin | 3 | 25 | 6314b814d73a7fd9db5f0ddc341beae4926573e1 | 516 | hooks | MIT License |
vk-api-generated/src/main/kotlin/name/anton3/vkapi/generated/common/objects/StickerAnimationType.kt | Anton3 | 159,801,334 | true | {"Kotlin": 1382186} | @file:Suppress("unused", "SpellCheckingInspection")
package name.anton3.vkapi.generated.common.objects
import name.anton3.vkapi.vktypes.ValueEnum
enum class StickerAnimationType(override val value: String) : ValueEnum<String> {
LIGHT("light"),
DARK("dark")
}
| 2 | Kotlin | 0 | 8 | 773c89751c4382a42f556b6d3c247f83aabec625 | 270 | kotlin-vk-api | MIT License |
kotest-assertions/kotest-assertions-json/src/commonMain/kotlin/io/kotest/assertions/json/comparisons/CompareNull.kt | kotest | 47,071,082 | false | {"Kotlin": 4736924, "CSS": 352, "Java": 145} | package io.kotest.assertions.json.comparisons
import io.kotest.assertions.json.JsonError
import io.kotest.assertions.json.JsonNode
internal fun compareNull(path: List<String>, b: JsonNode): JsonError? {
return when (b) {
is JsonNode.NullNode -> null
else -> JsonError.ExpectedNull(path, b)
}
}
| 141 | Kotlin | 648 | 4,435 | 2ce83d0f79e189c90e2d7bb3d16bd4f75dec9c2f | 314 | kotest | Apache License 2.0 |
app/src/main/java/com/kevcordova/jobsitychallenge/ui/fragment/home/HomeBaseFragment.kt | kcordovas | 507,178,163 | false | {"Kotlin": 66627} | package com.kevcordova.jobsitychallenge.ui.fragment.home
import android.content.Intent
import android.os.Bundle
import android.view.View
import androidx.fragment.app.Fragment
import androidx.fragment.app.activityViewModels
import com.kevcordova.jobsitychallenge.JobsityChallengeApplication
import com.kevcordova.jobsity... | 0 | Kotlin | 0 | 0 | 9c0ac9895255c58b692fb6506a93c72eb8064b78 | 1,835 | JobsityChallengeApp | Apache License 2.0 |
core/src/io/github/advancerman/todd/objects/weapon/SimpleMeleeWeapon.kt | AdvancerMan | 278,029,588 | false | null | package io.github.advancerman.todd.objects.weapon
import com.badlogic.gdx.math.Rectangle
import com.badlogic.gdx.physics.box2d.Fixture
import io.github.advancerman.todd.json.SerializationType
import io.github.advancerman.todd.objects.base.InGameObject
/**
* Simple melee weapon without modifications
*
* @param hand... | 1 | Kotlin | 0 | 2 | efeb10c60c607d393a26963dc9aa9109dd00bd1c | 1,221 | todd-kt | MIT License |
src/en/mangaonlineteamunoriginal/src/eu/kanade/tachiyomi/extension/en/mangaonlineteamunoriginal/MangaOnlineTeamUnoriginal.kt | komikku-app | 720,497,299 | false | {"Kotlin": 6775539, "JavaScript": 2160} | package eu.kanade.tachiyomi.extension.en.mangaonlineteamunoriginal
import eu.kanade.tachiyomi.multisrc.madara.Madara
class MangaOnlineTeamUnoriginal : Madara("MangaOnline.team (unoriginal)", "https://mangaonline.team", "en") {
override val useNewChapterEndpoint = false
}
| 22 | Kotlin | 8 | 97 | 7fc1d11ee314376fe0daa87755a7590a03bc11c0 | 278 | komikku-extensions | Apache License 2.0 |
spring-field-app/src/main/kotlin/cfcodefans/study/spring_field/patterns/ThreadLocalStorage.kt | cfcodefans | 584,342,291 | false | {"Kotlin": 283891} | package cfcodefans.study.spring_field.patterns
import org.junit.jupiter.api.*
import org.slf4j.Logger
import org.slf4j.LoggerFactory
import java.io.ByteArrayOutputStream
import java.io.PrintStream
import java.security.SecureRandom
import java.util.concurrent.ExecutorService
import java.util.concurrent.Executors
import... | 0 | Kotlin | 1 | 1 | a198dab24dbcd42004fedca63281ff8274c46975 | 3,937 | spring-field | MIT License |
android/app/src/main/java/jp/hituzi/kamome/sample/MainActivity.kt | HituziANDO | 150,767,320 | false | null | package jp.hituzi.kamome.sample
import android.app.Activity
import android.os.Bundle
import android.os.Handler
import android.util.Log
import android.webkit.WebView
import android.widget.ImageButton
import jp.hituzi.kamome.Command
import jp.hituzi.kamome.Client
import java.util.*
class MainActivity : Activity() {
... | 1 | JavaScript | 3 | 27 | f891227c3193251c7968afa61aa0ba4e8d04f809 | 2,964 | kamome | MIT License |
feature/session/src/main/java/io/github/droidkaigi/confsched2020/session/ui/item/SessionItem.kt | wajahatkarim3 | 234,312,477 | true | {"Kotlin": 367439, "Java": 7891, "Swift": 6741, "Shell": 5442, "Ruby": 2030, "HTML": 206} | package io.github.droidkaigi.confsched2020.session.ui.item
import android.content.Context
import android.graphics.drawable.Drawable
import android.view.LayoutInflater
import android.view.ViewGroup
import android.widget.TextView
import androidx.core.content.ContextCompat
import androidx.core.view.isVisible
import andro... | 0 | null | 0 | 1 | 05aa78216d28293bfe34c520befd2631ad0b44ce | 6,800 | conference-app-2020 | Apache License 2.0 |
remote/src/main/kotlin/io/github/gmvalentino8/github/sample/remote/models/InlineObject17ApiModel.kt | wasabi-muffin | 462,369,263 | false | {"Kotlin": 2712155, "Mustache": 4796, "Ruby": 1144, "Shell": 812} | /**
* GitHub v3 REST API
*
* GitHub's v3 REST API.
*
* The version of the OpenAPI document: 1.1.4
*
*
* Please note:
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* Do not edit this file manually.
*/
@file:Suppress(
"ArrayInDataClass",
"EnumEntryName",
"R... | 0 | Kotlin | 0 | 1 | 2194a2504bde08427ad461d92586497c7187fb40 | 16,727 | github-sample-project | Apache License 2.0 |
app/src/main/java/cadenas/rene/hugotest/tasks/task3/FlightBookerFragment.kt | potter777 | 318,947,170 | false | null | package cadenas.rene.hugotest.tasks.task3
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.AdapterView
import android.widget.ArrayAdapter
import androidx.appcompat.app.AlertDialog
import androidx.core.widget.addTextChangedListener
... | 0 | Kotlin | 0 | 0 | bff7eb3d6a8d1662e0463650154f952e8d8a05bc | 4,750 | hugo-test | Apache License 2.0 |
src/main/kotlin/com/mcstarrysky/land/menu/LandPlayerPermsMenu.kt | MCStarrySky | 842,286,542 | false | {"Kotlin": 123709} | package com.mcstarrysky.land.menu
import com.mcstarrysky.land.data.Land
import com.mcstarrysky.land.util.MenuRegistry
import com.mcstarrysky.land.util.MenuRegistry.markHeader
import com.mcstarrysky.land.util.MenuRegistry.markPageButton
import com.mcstarrysky.land.util.prettyInfo
import com.mcstarrysky.land.util.skull
... | 0 | Kotlin | 0 | 0 | 1c91ac8b568721db5a77236db73ccd072cce7302 | 3,863 | Land | Creative Commons Zero v1.0 Universal |
app/src/main/java/com/bengcare/bengcare/data/remote/response/GetSavedBengkelResponse.kt | BengCare | 796,771,725 | false | {"Kotlin": 421897} | package com.bengcare.bengcare.data.remote.response
data class GetSavedBengkelResponse(
val data: List<BookmarkDataItem>,
val meta: Meta,
val message: String,
val status: Boolean
)
data class BookmarkDataItem(
val user_id: String,
val Bengkel: Bengkel,
val id: String
)
data class Bengkel(
val images: List<Ima... | 0 | Kotlin | 0 | 0 | 177d60c1f224e0b29f5f5e8c38019ca55234c300 | 740 | BengCare-Android | MIT License |
ComposeToast/src/appleMain/kotlin/io/github/tbib/compose_toast/native_toast/NativeShowToast.apple.kt | the-best-is-best | 756,434,320 | false | {"Kotlin": 38544, "Swift": 522, "HTML": 352} | package io.github.tbib.compose_toast.native_toast
import kotlinx.cinterop.ExperimentalForeignApi
import kotlinx.cinterop.cValue
import kotlinx.cinterop.useContents
import platform.CoreGraphics.CGPoint
import platform.CoreGraphics.CGRect
import platform.UIKit.NSTextAlignmentCenter
import platform.UIKit.UIApplication
im... | 0 | Kotlin | 0 | 0 | d7b7d5c6c361953bbbf93c92247a88798faf9974 | 2,751 | ComposeToast | Apache License 2.0 |
app/src/main/java/com/example/mytestapplicationframework/domain/EntityDetailUseCase.kt | zcufo123 | 426,480,958 | false | {"Kotlin": 40724} | package com.example.mytestapplicationframework.domain
import com.example.mytestapplicationframework.data.repository.EntityRepository
import com.example.mytestapplicationframework.utils.performGetOperation
import javax.inject.Inject
class EntityDetailUseCase @Inject constructor(private val repository: EntityRepository... | 0 | Kotlin | 0 | 0 | 67af3c8c1e200bfc58138f2419c99015d7c0e5c6 | 560 | MyCleanFramework | Apache License 2.0 |
app/src/main/java/org/itstep/liannoi/weatherforecast/application/storage/forecasts/queries/current/models/WindModel.kt | liannoi | 278,140,374 | false | null | package org.itstep.liannoi.weatherforecast.application.storage.forecasts.queries.current.models
import com.google.gson.annotations.SerializedName
data class WindModel(
@SerializedName("speed") val speed: Int,
@SerializedName("deg") val deg: Int
)
| 2 | Kotlin | 0 | 0 | ed5a375001cdf06793d12db4ea575b89ee8e71f0 | 257 | weather-forecast | Apache License 2.0 |
data-streamer/src/main/kotlin/kafka/KafkaApplication.kt | willhumphreys | 707,276,309 | false | {"Kotlin": 192163, "TypeScript": 78652, "MQL5": 45825, "JavaScript": 8872, "Dockerfile": 3145, "Python": 2644, "CSS": 606, "Shell": 595} | package kafka
import org.springframework.boot.SpringApplication
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.context.ConfigurableApplicationContext
@SpringBootApplication
open class KafkaApplication
fun main(args: Array<String>) {
val context: ConfigurableApplica... | 10 | Kotlin | 0 | 0 | 303137c0ba31b7c019590593f7f2d2a532048673 | 395 | trading-assistant | Apache License 2.0 |
ui/src/main/java/dev/sunnyday/core/ui/retainingStore/RetainingStoreFragment.kt | SunnyDayDev | 178,215,276 | false | null | package dev.sunnyday.core.ui.retainingStore
import android.os.Bundle
import androidx.fragment.app.Fragment
/**
* Created by <NAME> (SunnyDay.Dev) on 2019-01-31.
* mail: <EMAIL>
*/
internal class RetainingStoreFragment: Fragment() {
internal companion object {
const val TAG = "dev.sunnyday.core.ui.ac... | 0 | Kotlin | 0 | 0 | ec79bad3cc61ecb2e0b2fa651caa6f73ccf39b33 | 538 | core | MIT License |
shared-ui/src/commonMain/kotlin/com/foreverrafs/superdiary/ui/feature/diarylist/components/DiaryHeader.kt | rafsanjani | 315,355,130 | false | {"Kotlin": 319096, "Shell": 1002, "Swift": 851, "Ruby": 816} | package com.foreverrafs.superdiary.ui.feature.diarylist.components
import androidx.compose.foundation.border
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.fillMaxWidth
import and... | 13 | Kotlin | 0 | 8 | 4db59c9093ddac1360a6457f886bf57121bfe5ed | 3,718 | superdiary | MIT License |
rounded/src/commonMain/kotlin/me/localx/icons/rounded/bold/SleepingBag.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.rounded.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
im... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 3,600 | icons | MIT License |
bannerSlider/src/main/java/allanksr/com/bannerslider/adapterUrl/BannerRecyclerAdapter.kt | Allanksr | 342,803,865 | false | null | package allanksr.com.bannerslider.adapterDrawable
import allanksr.com.bannerslider.R
import allanksr.com.bannerslider.databinding.RecyclerBannerAdapterBinding
import android.content.Intent
import android.net.Uri
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.... | 0 | Kotlin | 0 | 0 | 337b52195424715f8b0057eb30af41a592e1022e | 3,006 | Android-BannerSlider | MIT License |
NavigationStyles/composeApp/src/commonMain/kotlin/Platform.kt | deepakkaligotla | 733,301,131 | false | {"Kotlin": 138249, "Swift": 1170} | import androidx.compose.material3.DrawerState
import androidx.compose.runtime.Composable
import androidx.compose.ui.unit.Dp
interface Platform {
val name: String
}
interface ScreenSize {
val screenHeight: Dp
val screenWidth: Dp
}
interface NavigatorHandler {
fun setNavController(navController: Any)
... | 0 | Kotlin | 0 | 0 | 9a18bb3e2da47815c7710236b499269689de6519 | 765 | Kotlin_Compose_Multiplatform | The Unlicense |
mui-kotlin/src/jsMain/kotlin/mui/material/Chip.mui.kt | karakum-team | 387,062,541 | false | null | // Automatically generated - do not modify!
package mui.material
import csstype.ClassName
@Suppress(
"NAME_CONTAINS_ILLEGAL_CHARS",
"NESTED_CLASS_IN_EXTERNAL_INTERFACE",
)
// language=JavaScript
@JsName(
"""(/*union*/{root: 'MuiChip-root', sizeSmall: 'MuiChip-sizeSmall', sizeMedium: 'MuiChip-sizeMedium',... | 0 | null | 3 | 31 | b23d946ab3392e7a1ec017176ae48b952334fc75 | 3,145 | mui-kotlin | Apache License 2.0 |
app/src/main/kotlin/co/anitrend/retrofit/graphql/data/api/common/EndpointType.kt | AniTrend | 128,179,094 | false | {"Kotlin": 295008, "Shell": 235} | package co.anitrend.retrofit.graphql.data.api.common
import co.anitrend.retrofit.graphql.sample.BuildConfig
import okhttp3.HttpUrl
import okhttp3.HttpUrl.Companion.toHttpUrl
internal enum class EndpointType(val url: HttpUrl) {
GITHUB(BuildConfig.github.toHttpUrl()),
BUCKET(BuildConfig.bucket.toHttpUrl());
... | 1 | Kotlin | 19 | 109 | 5fe7417b2f78e0fcf84a215b60a16e03632ca78a | 398 | retrofit-graphql | Apache License 2.0 |
domain/src/main/java/com/scallop/domain/usecases/StopSongUseCase.kt | juanjecilla | 324,421,488 | false | null | package com.scallop.domain.usecases
import com.scallop.domain.common.BaseUseCase
import com.scallop.domain.repositories.MusicPlayer
typealias StopSongBaseUseCase = BaseUseCase<Unit?, Unit>
class StopSongUseCase(
private val mMusicPlayer: MusicPlayer
) : StopSongBaseUseCase {
override suspend fun invoke(para... | 0 | Kotlin | 0 | 0 | f4b2da550878a875de7c6f4119bb79d740e73f88 | 372 | Awesome-Vibes | MIT License |
app/src/main/java/com/team/nineg/data/db/domain/User.kt | cg072 | 749,293,681 | false | {"Kotlin": 134964} | package com.team.nineg.data.db.domain
data class User(
val deviceId: String?,
val name: String?,
val age: Int?,
val gender: String?
) | 0 | Kotlin | 0 | 0 | 11cf96dc0393754cb84c5dd72bf520e7434eb0d0 | 150 | 9G9G_FE | The Unlicense |
utils/InitMotorControllers.kt | beavertronics | 874,927,047 | false | {"Kotlin": 52989} | package frc.engine.utils
import com.ctre.phoenix.motorcontrol.NeutralMode
import com.ctre.phoenix.motorcontrol.can.TalonSRX
import com.revrobotics.CANSparkBase
import com.revrobotics.CANSparkMax
import frc.engine.controls.BeaverMotorController
/**
* Restores the factory defaults for the given spark motor controllers... | 0 | Kotlin | 0 | 0 | aa0c5e2151df39b9a3aa4b217a8443337045e8a8 | 2,725 | beaverlib | The Unlicense |
feature/navhost/src/main/java/com/summit/dynamicfeatures/navhost/nav/di/NavModule.kt | cesarwillymc | 326,488,032 | false | null | package com.summit.dynamicfeatures.navhost.nav.di
import androidx.annotation.VisibleForTesting
import androidx.annotation.VisibleForTesting.PRIVATE
import com.summit.core.di.scope.FeatureScope
import com.summit.core.network.repository.UserRepository
import com.summit.dynamicfeatures.navhost.NavHostViewModel
import com... | 0 | Kotlin | 0 | 2 | 9583792cfc3832bdc5b76584ff90a741f4b87458 | 891 | AddFast | Apache License 2.0 |
app/src/main/java/com/absinthe/anywhere_/a11y/A11yEntity.kt | zhaobozhen | 203,908,079 | false | null | package com.absinthe.anywhere_.a11y
import com.google.gson.annotations.SerializedName
data class A11yEntity(
@SerializedName("applicationId") var applicationId: String = "",
@SerializedName("entryActivity") var entryActivity: String = "",
@SerializedName("actions") var actions: List<A11yActionBean> = listOf()
)... | 8 | null | 11 | 87 | 324e33d9efa8bfc98522d6d94ee275b4433aed8d | 321 | Anywhere- | Apache License 2.0 |
app/src/main/java/org/coepi/android/ui/symptoms/cough/CoughTypeFragment.kt | Co-Epi | 249,138,523 | false | null | package org.coepi.android.ui.symptoms.cough
import androidx.fragment.app.Fragment
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import org.coepi.android.databinding.FragmentCoughTypeBinding.inflate
import org.coepi.android.ui.extensions.onBack
import... | 14 | null | 20 | 32 | 54cffa441d27d18ba33d7719a34dc9b5c9125262 | 863 | app-android | MIT License |
app/src/main/kotlin/io/github/feelfreelinux/wykopmobilny/ui/widgets/link/linkitem/LinkItemPresenter.kt | altaf933 | 122,962,254 | false | null | package io.github.feelfreelinux.wykopmobilny.ui.widgets.link.linkitem
import io.github.feelfreelinux.wykopmobilny.api.links.LinksApi
import io.github.feelfreelinux.wykopmobilny.base.BasePresenter
import io.github.feelfreelinux.wykopmobilny.base.Schedulers
import io.github.feelfreelinux.wykopmobilny.utils.usermanager.U... | 1 | null | 1 | 1 | 0c2d9fc015a5bef5b258481e4233d04ab5705a49 | 3,417 | WykopMobilny | MIT License |
packages/expo-dev-menu/android/src/release/java/expo/modules/devmenu/DevMenuManager.kt | SimenB | 312,360,593 | true | {"Gemfile.lock": 1, "YAML": 79, "Git Config": 1, "JSON with Comments": 175, "Ignore List": 236, "JSON": 713, "Markdown": 291, "JavaScript": 1978, "Text": 62, "Git Attributes": 7, "Shell": 66, "Ruby": 99, "TSX": 976, "Gradle": 106, "Java Properties": 5, "Batchfile": 4, "INI": 8, "Proguard": 10, "XML": 273, "Kotlin": 122... | package expo.modules.devmenu
import android.app.Activity
import android.content.Context
import android.os.Bundle
import android.view.KeyEvent
import android.view.MotionEvent
import com.facebook.react.bridge.ReadableMap
import expo.interfaces.devmenu.DevMenuDelegateInterface
import expo.interfaces.devmenu.DevMenuExtens... | 3 | TypeScript | 0 | 0 | b30e7702c19f0625f855ca1c9907f0081ee52b91 | 3,867 | expo | Apache License 2.0 |
app-kotlin/src/main/java/example/shuyu/recycler/kotlin/chat/detail/view/ChatDetailEmojiLayout.kt | CarGuo | 74,585,853 | false | null | package example.shuyu.recycler.kotlin.chat.detail.view
import android.content.Context
import android.util.AttributeSet
import com.shuyu.textutillib.EmojiLayout
import com.shuyu.textutillib.SmileUtils
import java.util.ArrayList
/**
* Created by guoshuyu on 2017/9/7.
*/
open class ChatDetailEmojiLayout : EmojiLayo... | 1 | null | 61 | 260 | c759af9544aa025a7ab15991f6b3c5fabc3b3f68 | 1,261 | LazyRecyclerAdapter | MIT License |
updater-mapper-standard/src/main/java/org/runestar/client/updater/mapper/std/classes/UserComparator3.kt | Tachyon97 | 228,674,958 | true | {"Kotlin": 1392478, "Java": 27806} | package org.runestar.client.updater.mapper.std.classes
import org.runestar.client.updater.mapper.std.UserComparatorClass
class UserComparator3 : UserComparatorClass(3631) {
} | 0 | null | 0 | 0 | d02e7a382a34af117279be02f9f54a6a70fc012b | 176 | client | MIT License |
app/src/main/java/ru/nbsp/pushka/presentation/category/feed/adapter/CategoriesAdapter.kt | dimorinny | 51,604,851 | false | null | package ru.nbsp.pushka.presentation.category.feed.adapter
import android.graphics.Color
import android.support.v7.widget.RecyclerView
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.ImageView
import android.widget.TextView
import ru.nbsp.pushka.R
import r... | 0 | Kotlin | 0 | 0 | 71ac416b33f628bbcec12fad4776f7abc242c882 | 2,464 | pushka-android | MIT License |
packages/SystemUI/src/com/android/systemui/media/taptotransfer/receiver/MediaTttReceiverUiEventLogger.kt | liu-wanshun | 595,904,109 | true | null | /*
* Copyright (C) 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 0 | Java | 1 | 2 | e99201cd9b6a123b16c30cce427a2dc31bb2f501 | 1,903 | platform_frameworks_base | Apache License 2.0 |
src/programs/arrays/SumOfkLargerelements.kt | raghunandankavi2010 | 208,271,806 | false | {"Java": 284682, "Kotlin": 148311} | package programs.arrays
import java.util.*
fun main() {
//12 6 4
val array = intArrayOf(12, 3, 4, 1, 6, 9,20)
val k = 3
val minHeap = PriorityQueue<Int>()
var index = 0
var count = 0
while (count < k && index < array.size) {
if (array[index] % 2 == 0) {
minHeap.add(ar... | 0 | Java | 0 | 0 | faa0e9f21ad2ca3f3a0fe071bbe6c8745f591e7a | 848 | Programs | Apache License 2.0 |
app/src/main/java/utn/kotlin/travelkeeper/database/ViajesService.kt | UTN-FRBA-Mobile | 182,585,938 | false | {"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "Kotlin": 51, "XML": 82, "Java": 1} | package utn.kotlin.travelkeeper.database
import com.google.android.gms.tasks.Task
import com.google.firebase.firestore.DocumentReference
import com.google.firebase.firestore.FirebaseFirestore
import com.google.firebase.firestore.Query
import utn.kotlin.travelkeeper.domain.Destination
import utn.kotlin.travelkeeper.dom... | 0 | Kotlin | 0 | 2 | c60944380268dbbd142c5ea4c5da287dc3787b81 | 7,464 | TravelKeeper | MIT License |
tagview/src/main/kotlin/com/github/tommykw/tagview/Annotations.kt | tommykw | 105,298,670 | false | null | package com.github.tommykw.tagview
import android.support.annotation.IntDef
class Annotations {
companion object {
const val SORT_TYPE_NONE = 0L
const val SORT_TYPE_ASC = 1L
const val SORT_TYPE_DESC = 2L
}
@IntDef(SORT_TYPE_NONE, SORT_TYPE_ASC, SORT_TYPE_DESC)
annotation class... | 1 | Kotlin | 5 | 17 | 7bfd98c5379daab01549d3a8fd091bbc606728c8 | 331 | TagView | MIT License |
firefly-example/src/main/kotlin/com/firefly/example/kotlin/coffee/store/model/Product.kt | ycmag | 166,021,218 | true | {"Markdown": 1, "Java": 1202, "HTML": 3, "INI": 2, "Kotlin": 106, "SQL": 9, "CSS": 2, "JavaScript": 4} | package com.firefly.example.kotlin.coffee.store.model
import com.firefly.db.annotation.Column
import com.firefly.db.annotation.Id
import com.firefly.db.annotation.Table
import com.firefly.example.kotlin.coffee.store.vo.ProductStatus
import com.firefly.example.kotlin.coffee.store.vo.ProductType
import java.util.*
/**
... | 0 | Java | 0 | 0 | ed3fc75b7c54a65b1e7d8141d01b49144bb423a3 | 1,249 | firefly-6 | Apache License 2.0 |
jar-filter/src/test/resources/stub-function/kotlin/net/corda/gradle/RuntimeAnnotations.kt | corda | 120,318,601 | false | {"Kotlin": 810473, "Java": 383021, "Groovy": 76556, "Shell": 4346, "Batchfile": 106} | @file:Suppress("PackageDirectoryMismatch")
package net.corda.gradle
import kotlin.annotation.AnnotationRetention.*
import kotlin.annotation.AnnotationTarget.*
@Target(VALUE_PARAMETER)
@Retention(RUNTIME)
annotation class Parameter
| 17 | Kotlin | 35 | 24 | aeb324e3b9cb523f55bc32541688b2e90d920791 | 233 | corda-gradle-plugins | Apache License 2.0 |
android/versioned-abis/expoview-abi36_0_0/src/main/java/abi36_0_0/expo/modules/permissions/requesters/RemindersRequester.kt | kojoYeboah53i | 251,520,515 | false | null | package abi36_0_0.expo.modules.permissions.requesters
import android.os.Bundle
import abi36_0_0.org.unimodules.interfaces.permissions.PermissionsResponse
import abi36_0_0.org.unimodules.interfaces.permissions.PermissionsResponse.Companion.EXPIRES_KEY
import abi36_0_0.org.unimodules.interfaces.permissions.PermissionsRe... | 0 | null | 0 | 4 | 75d1b44ed4c4bbd05d7ec109757a017628c43415 | 1,185 | expo | MIT License |
java/com/datamangement/devast007/bahikhata/ui/StatementActivity.kt | devast007 | 157,160,537 | false | null | package com.datamangement.devast007.bahikhata.ui
import android.Manifest
import android.app.AlertDialog
import android.app.DatePickerDialog
import android.app.ProgressDialog
import android.content.*
import android.content.pm.PackageManager
import android.net.Uri
import android.os.*
import android.text.TextUtils
import... | 0 | Kotlin | 0 | 0 | cc7bd0ea3d8c36924a7cf3d6349a03aa195de689 | 30,334 | bahikhata | Apache License 2.0 |
forge/src/main/kotlin/tech/alexnijjar/subterrestrial/datagen/common/worldgen/processor/IceCabinProcessors.kt | AlexNijjar | 454,380,306 | false | {"Kotlin": 142851, "Java": 740} | package tech.alexnijjar.subterrestrial.datagen.common.worldgen.processor
import com.google.common.collect.ImmutableList
import net.minecraft.core.Direction
import net.minecraft.data.worldgen.BootstapContext
import net.minecraft.resources.ResourceKey
import net.minecraft.tags.BlockTags
import net.minecraft.world.level.... | 2 | Kotlin | 1 | 3 | 700a4b55c1e25f06f43ba569ecbaa89aadd6e158 | 10,553 | Subterrestrial | MIT License |
src/strategy/actiongame/character/Knight.kt | Devansh-Maurya | 290,240,330 | false | null | package strategy.actiongame.character
import strategy.actiongame.behaviour.weapon.WeaponBehavior
/**
* Created by devansh on 25/08/20.
*/
class Knight(weapon: WeaponBehavior) : Character(weapon) {
override fun fight() {
print("Knight is ")
weapon.useWeapon()
}
} | 2 | Kotlin | 12 | 89 | 6de47075205b7de24e1d19bb514b4a0c4f1c7cbd | 292 | Design-Patterns-And-Principles | MIT License |
app/src/main/java/dadm/frba/utn/edu/ar/quehaceres/fragments/AvailableTasksAdapter.kt | UTN-FRBA-Mobile | 148,959,761 | false | null | package dadm.frba.utn.edu.ar.quehaceres.fragments
import android.support.v4.widget.CircularProgressDrawable
import android.support.v7.widget.RecyclerView
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import com.facebook.drawee.view.SimpleDrawee... | 0 | Kotlin | 1 | 0 | 5c044042e6a209b4a090f12563b52a178fd9ad47 | 2,182 | Quehaceres | MIT License |
app/src/main/java/com/bytemedrive/file/starred/StarredScreen.kt | bytemedrive | 604,147,693 | false | null | package com.bytemedrive.file.starred
import androidx.activity.compose.BackHandler
import androidx.compose.foundation.ExperimentalFoundationApi
import androidx.compose.foundation.combinedClickable
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.comp... | 0 | Kotlin | 0 | 0 | 46eae94e6949eeeb0be427d2d5aacf909caaa656 | 7,170 | android | MIT License |
airbyte-connector-sidecar/src/main/kotlin/io/airbyte/connectorSidecar/SidecarLogContextFactory.kt | airbytehq | 592,970,656 | false | {"Java": 8945405, "TypeScript": 3421637, "Kotlin": 2363974, "SCSS": 210524, "Shell": 104770, "Go": 75919, "Smarty": 65320, "JavaScript": 39495, "Mustache": 34756, "Python": 29918, "FreeMarker": 16959, "CSS": 12775, "Dockerfile": 12387, "MDX": 7660, "HCL": 6908, "Makefile": 3958, "HTML": 3954, "Starlark": 2962, "Groovy"... | package io.airbyte.connectorSidecar
import io.airbyte.commons.logging.LoggingHelper
import io.airbyte.config.Configs.WorkerEnvironment
import io.airbyte.config.helpers.LogClientSingleton
import jakarta.inject.Singleton
@Singleton
class SidecarLogContextFactory(
workerEnv: WorkerEnvironment,
) {
private val jobLog... | 48 | Java | 218 | 183 | 0b78462bf3b22156b5649847727042c1dc3fe1e8 | 689 | airbyte-platform | MIT License |
browser-kotlin/src/jsMain/kotlin/web/speech/SpeechSynthesisErrorEvent.types.kt | karakum-team | 393,199,102 | false | {"Kotlin": 7083457} | // Automatically generated - do not modify!
package web.speech
import web.events.EventType
inline val SpeechSynthesisErrorEvent.Companion.ERROR: EventType<SpeechSynthesisErrorEvent>
get() = EventType("error")
| 0 | Kotlin | 6 | 26 | 3ca49a8f44fc8b46e393ffe66fbd81f8b4943c18 | 216 | types-kotlin | Apache License 2.0 |
data/src/main/kotlin/com/velkonost/getbetter/data/userinfo/UserInfoRepositoryImpl.kt | GetBetterApps | 705,159,374 | false | {"Kotlin": 79390} | package com.velkonost.getbetter.data.userinfo
import com.velkonost.getbetter.api.userinfo.UserInfoRepository
import com.velkonost.getbetter.api.userinfo.model.request.UpdateNameRequest
import com.velkonost.getbetter.api.userinfo.model.request.isLocaleValid
import com.velkonost.getbetter.api.userinfo.model.request.isNa... | 0 | Kotlin | 0 | 0 | 2254ea4db384a4b40502c156e5ab3a50ccad3458 | 4,970 | GetBetterBackend | MIT License |
app/src/main/java/com/borabor/movieapp/data/local/dao/MovieDao.kt | bbor98 | 510,432,451 | false | null | package com.borabor.movieapp.data.local.dao
import androidx.room.*
import com.borabor.movieapp.data.local.entity.FavoriteMovieEntity
@Dao
interface MovieDao {
@Query("SELECT * FROM favoritemovieentity ORDER BY date_added DESC")
suspend fun getAllMovies(): List<FavoriteMovieEntity>
@Insert(onConflict = O... | 0 | null | 4 | 15 | 369393ac387ed6c1c30939831b60c78b51f6f56a | 609 | movieapp-mvvm-clean-architecture | MIT License |
app/src/main/java/se/barsk/park/analytics/DynamicLinkFailedEvent.kt | nibarius | 94,821,344 | false | null | package se.barsk.park.analytics
/**
* Event sent whenever handling dynamic links failed
*/
class DynamicLinkFailedEvent(exception: String) : AnalyticsEvent() {
override val name: String = "dynamic_link_failed"
init {
parameters.putString(Param.EXCEPTION,
exception.substring(0, minOf(... | 0 | Kotlin | 0 | 0 | 9a23cde5ab0c8ce4750e94cabff4c978d52c04bc | 352 | opera-park-android | MIT License |
tvos/plugin/android/src/main/kotlin/com/tva/quickbrickplayerplugin/api/VoidCallback.kt | applicaster-plugins | 229,543,584 | false | null | package com.tva.quickbrickplayerplugin.api
import retrofit2.Call
import retrofit2.Callback
import retrofit2.Response
/**
* Created by <NAME> on 01/06/2020.
*/
class VoidCallback<T> : Callback<T> {
override fun onResponse(call: Call<T>, response: Response<T>) {}
override fun onFailure(call: Call<T>, t: Throw... | 19 | Kotlin | 1 | 1 | b5a6f942414358090ceed8f72ac47a8aad3ebfd2 | 330 | TelevisionAcademyPlayerPlugin | MIT License |
plugins/package-search/src/com/jetbrains/packagesearch/intellij/plugin/ui/util/AbstractLayoutManager2.kt | JetBrains | 2,489,216 | false | null | package com.jetbrains.packagesearch.intellij.plugin.ui.util
import java.awt.Component
import java.awt.Container
import java.awt.Dimension
import java.awt.LayoutManager2
internal abstract class AbstractLayoutManager2 : LayoutManager2 {
override fun addLayoutComponent(comp: Component, constraints: Any?) {
... | 191 | null | 4372 | 13,319 | 4d19d247824d8005662f7bd0c03f88ae81d5364b | 1,415 | intellij-community | Apache License 2.0 |
algorithm/algorithm-api/src/main/kotlin/com/sundbybergsit/cromfortune/algorithm/api/StockOrderCommand.kt | Sundbybergs-IT | 2,808,467 | false | {"Kotlin": 369533, "Java": 57117, "Batchfile": 150} | package com.sundbybergsit.cromfortune.algorithm.api
import com.sundbybergsit.cromfortune.domain.StockOrderApi
import java.util.Currency
interface StockOrderCommand : Command<StockOrderApi> {
fun quantity() : Int
fun stockSymbol() : String
fun currency() : Currency
fun commissionFee() : Double
... | 17 | Kotlin | 0 | 0 | 4a4c05190152f31c82f376a0516f12828a7e2d60 | 345 | Crom-Fortune | The Unlicense |
compiler-test/src/main/java/io/sellmair/kompass/compiler_test/MainActivity.kt | nairobi222 | 181,482,076 | false | {"Gradle": 8, "Java Properties": 2, "Shell": 1, "Text": 2, "Ignore List": 7, "Batchfile": 1, "YAML": 1, "Markdown": 1, "Proguard": 5, "XML": 39, "Kotlin": 152, "Java": 1} | package io.sellmair.kompass.compiler_test
import android.os.Bundle
import android.support.v7.app.AppCompatActivity
import io.sellmair.kompass.Kompass
import io.sellmair.kompass.autoCrane
import io.sellmair.kompass.builder
class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle... | 1 | null | 1 | 1 | 855e3905f5367a41c00c7a45e5eaf35905c8f893 | 480 | kompass | Apache License 2.0 |
scheduler/datacap-scheduler-local/src/main/kotlin/io/edurt/datacap/scheduler/local/QuartzEndpoint.kt | devlive-community | 537,719,266 | false | {"Java": 1998447, "Vue": 742066, "Kotlin": 462615, "TypeScript": 217485, "ANTLR": 188268, "Shell": 13094, "JavaScript": 3357, "CSS": 1627, "HTML": 357, "Dockerfile": 329} | package io.edurt.datacap.scheduler.local
import io.edurt.datacap.scheduler.SchedulerRequest
import io.edurt.datacap.scheduler.SchedulerResponse
import org.quartz.*
import org.slf4j.LoggerFactory
object QuartzEndpoint {
private val log = LoggerFactory.getLogger(this.javaClass)
@JvmStatic
fun createJob(re... | 32 | Java | 94 | 865 | 1d6be5c990ed3f952bc28699ea15a68b1e2bc265 | 3,209 | datacap | Apache License 2.0 |
android/nsn/app/src/main/java/com/gingercake/nsn/main/hotposts/HotPostsPagingAdapter.kt | hailg | 345,798,975 | false | null | package com.gingercake.nsn.main.hotposts
import android.text.format.DateUtils
import android.util.Log
import android.view.LayoutInflater
import android.view.ViewGroup
import android.widget.Toast
import androidx.core.view.isVisible
import androidx.recyclerview.widget.RecyclerView
import com.bumptech.glide.RequestManage... | 0 | Kotlin | 0 | 2 | 1d0b410ee1c6d23738cf0b50c164a7b68192a0d7 | 6,020 | nftsocialnet | MIT License |
anydialog/src/main/java/per/goweii/anydialog/AnyDialog.kt | goweii | 134,160,053 | false | null | package per.goweii.anydialog
import android.app.Dialog
import android.content.Context
import android.graphics.Color
import android.graphics.Point
import android.os.Build
import android.os.Bundle
import android.view.*
import android.widget.FrameLayout
import androidx.annotation.*
open class AnyDialog(
context:... | 0 | Kotlin | 5 | 26 | 53f1e2cc90dd717c8604f74f9bd8cd5adfc5a2c0 | 10,789 | AnyDialog | Apache License 2.0 |
src/main/java/tarehart/rlbot/TacticalBundle.kt | muhammad-raza | 161,777,941 | true | {"Kotlin": 624377, "Python": 31311, "Batchfile": 412} | package tarehart.rlbot
import tarehart.rlbot.planning.TeamPlan
import tarehart.rlbot.planning.ZonePlan
import tarehart.rlbot.tactics.TacticalSituation
class TacticalBundle(val agentInput: AgentInput, val tacticalSituation: TacticalSituation, val teamPlan: TeamPlan? = null, val zonePlan: ZonePlan? = null) {
compan... | 0 | Kotlin | 0 | 0 | 42ae66f4c2647d0734fcec142bc0017a83f222c7 | 471 | ReliefBot | MIT License |
app/src/test/java/com/cwlarson/deviceid/testutils/shadows/ExceptionShadowEuiccManager.kt | opt05 | 370,757,069 | false | {"Kotlin": 765955} | package com.cwlarson.deviceid.testutils.shadows
import android.telephony.euicc.EuiccInfo
import android.telephony.euicc.EuiccManager
import org.robolectric.annotation.Implementation
import org.robolectric.annotation.Implements
import org.robolectric.shadows.ShadowEuiccManager
@Suppress("unused")
@Implements(EuiccMana... | 0 | Kotlin | 1 | 2 | 5e01e6b5356d3a2e80f7a102ecf513936b226269 | 695 | deviceid | MIT License |
src/net/yanzm/sample/mediator16/original/Main.kt | yanzm | 184,362,095 | false | null | /*
* Copyright (C) 2019 <NAME> (@yanzm)
*
* 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... | 0 | Kotlin | 1 | 25 | e6130144f917996681f3c628f7f06d248101d7df | 4,744 | KotlinSampleForYuukiDesignPatternBook | Apache License 2.0 |
libraries/tools/kotlin-gradle-plugin/src/main/kotlin/org/jetbrains/kotlin/gradle/targets/js/yarn/YarnImportedPackagesVersionResolver.kt | hnjm | 277,371,822 | true | {"Kotlin": 44780046, "Java": 7640484, "JavaScript": 195805, "HTML": 76860, "Lex": 23805, "TypeScript": 21613, "Groovy": 11198, "CSS": 9144, "Shell": 7220, "Batchfile": 5362, "Swift": 2272, "Ruby": 1300, "Objective-C": 404, "Scala": 80} | /*
* Copyright 2010-2019 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.gradle.targets.js.yarn
import com.google.gson.Gson
import org.gradle.api.Project... | 0 | null | 0 | 1 | fb1d4e01ed9b6f45d9886fcc697197591cf8b67c | 3,162 | kotlin | Apache License 2.0 |
app/src/main/java/com/github/vase4kin/teamcityapp/splash/dagger/SplashModule.kt | TrendingTechnology | 203,797,514 | true | {"Kotlin": 1130534, "Java": 723425, "HTML": 824} | /*
* Copyright 2016 <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... | 0 | Kotlin | 0 | 0 | c26a0a62069ba84804db8d5ed7c58ffba59dce1c | 1,410 | TeamCityApp | Apache License 2.0 |
roboquant-core/test/common/CurrenciesTest.kt | trumae | 431,205,225 | true | {"Kotlin": 989653} | /*
* Copyright 2021 Neural Layer
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | 0 | null | 0 | 0 | 63fcf0fc8e41ae1e3b7d2f7d131fe41638537af4 | 1,063 | roboquant | Apache License 2.0 |
src/main/kotlin/de/lancom/openapi/simple/entity/InvalidReference.kt | lancomsystems | 733,524,954 | false | {"Kotlin": 996057, "Mustache": 16764} | package de.lancom.openapi.simple.entity
import de.lancom.openapi.common.types.ComponentType
import de.lancom.openapi.common.util.InvalidParsedReference
data class InvalidReference(
override val parsedReference: InvalidParsedReference,
) : Reference,
CallbackOrRef,
ComponentOrRef,
ExampleOrRef,
Hea... | 3 | Kotlin | 0 | 1 | 1c737b79c70fa77a80e9b0e59c102125b52a5a7c | 744 | openapi-parser | Apache License 2.0 |
video-editor/src/main/java/com/video/trimmer/interfaces/OnRangeSeekBarListener.kt | tizisdeepan | 181,681,865 | false | {"Kotlin": 77216} | package com.video.trimmer.interfaces
import com.video.trimmer.view.RangeSeekBarView
interface OnRangeSeekBarListener {
fun onCreate(rangeSeekBarView: RangeSeekBarView, index: Int, value: Float)
fun onSeek(rangeSeekBarView: RangeSeekBarView, index: Int, value: Float)
fun onSeekStart(rangeSeekBarView: Range... | 6 | Kotlin | 54 | 200 | 8c33331aa1a5b5bd632cfbc906d1366bc6a24160 | 441 | VideoEditor | MIT License |
android/poker/src/main/java/nl/entreco/scrumpoker/poker/model/PokerCard.kt | Entreco | 155,434,723 | false | {"Text": 1, "Ignore List": 10, "Markdown": 1, "Gradle": 12, "Java Properties": 2, "Shell": 2, "Batchfile": 2, "XML": 37, "INI": 2, "Kotlin": 29, "Proguard": 3, "Java": 2} | package nl.entreco.scrumpoker.poker.model
class PokerCard(val id: Int, val value: String) | 0 | Kotlin | 0 | 0 | 8395ca6b6292be3db8e57262c3bd598b55c5f7fb | 90 | Scrum-Poker | Apache License 2.0 |
src/main/kotlin/Main.kt | Augmeneco | 606,846,357 | false | null | import com.github.kittinunf.fuel.Fuel
import com.github.kittinunf.fuel.core.*
import Utils
import org.json.JSONArray
import org.json.JSONObject
import plugins.KBotGPT
import java.util.concurrent.*
fun main(args: Array<String>) {
Plugins.loadPlugins()
val telegram = Telegram()
val threadPool = ThreadPo... | 0 | Kotlin | 0 | 0 | 529dfaa35acb4676b2024b2af1e1a732136e7cc2 | 3,155 | KBot9 | Do What The F*ck You Want To Public License |
ui/widgets/compose/option-bottom-sheet/src/test/kotlin/io/github/edricchan03/optionbottomsheet/models/BottomSheetOptionGroupUnitTest.kt | EdricChan03 | 100,260,817 | false | {"Kotlin": 693890, "Ruby": 202} | package io.github.edricchan03.optionbottomsheet.models
import io.kotest.assertions.throwables.shouldThrow
import io.kotest.core.spec.style.FunSpec
import io.kotest.inspectors.shouldForAll
import io.kotest.matchers.collections.shouldBeSameSizeAs
import io.kotest.matchers.collections.shouldHaveAtMostSize
import io.kotes... | 46 | Kotlin | 11 | 9 | f3bd7d548380f727e8bffc6c0608b0a8e1dd17bd | 5,736 | studybuddy-android | MIT License |
src/main/java/itoh/engine/polygon/Texture.kt | gameEngineDevelopmentTeam | 299,817,416 | false | null | package itoh.engine.polygon
import org.lwjgl.opengl.GL11.GL_RGBA
import org.lwjgl.opengl.GL11.GL_TEXTURE_2D
import org.lwjgl.opengl.GL11.GL_UNPACK_ALIGNMENT
import org.lwjgl.opengl.GL11.GL_UNSIGNED_BYTE
import org.lwjgl.opengl.GL11.glBindTexture
import org.lwjgl.opengl.GL11.glDeleteTextures
import org.lwjgl.opengl.GL1... | 0 | Kotlin | 0 | 2 | f203fafd4bacc50f4aabb5a77b6281fab8cc1886 | 1,922 | K3 | MIT License |
app/src/main/java/io/filmtime/MainActivity.kt | moallemi | 633,160,161 | false | {"Kotlin": 112785, "Shell": 35} | package io.filmtime
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.Surface
import androidx.compose.ui.Modifier
import ... | 11 | Kotlin | 7 | 23 | cac18bc7b585d9c86032cdd527dfaccb10f29913 | 2,072 | Film-Time | MIT License |
Bella/src/main/java/com/elbehiry/bella/BellaItemView.kt | Elbehiry | 299,305,484 | false | null | /*
* Copyright (C) 2020 elbehiry
*
* 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 ... | 1 | Kotlin | 1 | 5 | 3c244e7bd135fe93e47de49ca2c84615e3329f12 | 999 | bella | Apache License 2.0 |
demo/src/main/java/com/alibaba/ams/emas/demo/SingleLiveData.kt | aliyun | 303,963,850 | false | null | package com.alibaba.ams.emas.demo
import android.util.Log
import androidx.annotation.MainThread
import androidx.annotation.Nullable
import androidx.lifecycle.LifecycleOwner
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.Observer
import java.util.concurrent.atomic.AtomicBoolean
/**
* @author alle... | 3 | null | 10 | 48 | b6b11e2c2812b330eaa1738b9183949f99aebbb3 | 1,180 | alibabacloud-httpdns-android-sdk | MIT License |
src/test/kotlin/com/wutsi/flutter/sdui/FormTest.kt | wutsi | 415,658,640 | false | null | package com.wutsi.flutter.sdui
import com.wutsi.flutter.sdui.enums.WidgetType
import org.junit.jupiter.api.Test
import kotlin.test.assertEquals
import kotlin.test.assertNull
import kotlin.test.assertTrue
internal class FormTest {
@Test
fun toWidget() {
val form = Form(
children = listOf(Pa... | 1 | Kotlin | 1 | 2 | 0e39b6120b9cb6e8acf35c5d4d86cf95e75ebfae | 589 | sdui-kotlin | MIT License |
src/main/java/cn/tino/animatedwebp/WebpParameter.kt | TinoGuo | 96,733,128 | false | null | package main.java.cn.tino.animatedwebp
import tornadofx.getProperty
import tornadofx.property
import java.io.File
/**
* mailTo:<EMAIL>
* Created by tino on 2017 June 17, 18:55.
*/
class WebpParameter {
var quality by property<String>()
fun qualityProperty() = getProperty(WebpParameter::quality)
var sp... | 0 | Kotlin | 5 | 33 | 25ef5674915ca37fcd4e47a8fecaacdd7e00fe1f | 870 | AnimatedWebp2 | Apache License 2.0 |
elytra-api/src/main/kotlin/io/elytra/api/command/TabCompletion.kt | Elytra-Server | 249,470,188 | false | null | package io.elytra.api.command
import io.elytra.api.chat.TextComponent
data class TabCompletion(
/** The index where the completion begins. Default it's the beginning of the last word */
var startIndex: Int,
/** The length of the text to replace after the [startIndex]. Default it's the whole word. */
v... | 15 | Kotlin | 5 | 56 | d998c0ee26c948ae1352f00158ac978145875e8e | 869 | Elytra | MIT License |
app/src/main/java/com/banuba/example/videoeditor/utils/StubImageLoader.kt | Banuba | 469,703,303 | false | null | package com.banuba.example.videoeditor.utils
import android.graphics.Bitmap
import android.graphics.drawable.Drawable
import android.net.Uri
import android.widget.ImageView
import com.banuba.sdk.core.domain.ImageLoader
class StubImageLoader : ImageLoader {
override fun loadThumbnail(
view: ImageView,
... | 0 | Kotlin | 2 | 0 | c04bd3b1cbf4ebbcab7b5bf1ca8a16d199031e1a | 1,142 | ve-api-android-integration-sample | Open Market License |
app/src/main/java/com/unsyiah/timemaster/ui/components/TaskTextField.kt | popon0 | 572,410,805 | false | null | package com.unsyiah.timemaster.ui.components
import androidx.compose.foundation.text.KeyboardActions
import androidx.compose.foundation.text.KeyboardOptions
import androidx.compose.material.*
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.platform.testTag
impo... | 0 | Kotlin | 0 | 0 | 02897b0ac7763c9c579fbcbb19c2a2855ea56dbc | 2,023 | TimeMaster | Apache License 2.0 |
composeApp/src/commonMain/kotlin/com/winstonmoon/simpletaskmanagement/Platform.kt | winstonmoon | 861,328,487 | false | {"Kotlin": 31278, "Swift": 621} | package com.winstonmoon.simpletaskmanagement
interface Platform {
val name: String
}
expect fun getPlatform(): Platform | 0 | Kotlin | 0 | 0 | 647e34a13ff292aa32809c2734c5da267eb77db5 | 125 | simple-task-management-compose-multiplatform | Apache License 2.0 |
tabler/src/commonMain/kotlin/com/woowla/compose/icon/collections/tabler/tabler/filled/Point.kt | walter-juan | 868,046,028 | false | {"Kotlin": 34345428} | package com.woowla.compose.icon.collections.tabler.tabler.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.S... | 0 | Kotlin | 0 | 3 | eca6c73337093fbbfbb88546a88d4546482cfffc | 1,554 | compose-icon-collections | MIT License |
player/src/main/kotlin/com/tidal/sdk/player/di/StreamingPrivilegesModule.kt | tidal-music | 806,866,286 | false | {"Kotlin": 1775374, "Shell": 9881, "Python": 7380, "Mustache": 911} | package com.tidal.sdk.player.di
import android.net.ConnectivityManager
import com.google.gson.Gson
import com.tidal.sdk.player.commonandroid.TrueTimeWrapper
import com.tidal.sdk.player.streamingprivileges.StreamingPrivilegesModuleRoot
import dagger.Module
import dagger.Provides
import javax.inject.Singleton
import okh... | 27 | Kotlin | 0 | 23 | 1f654552133ef7794fe9bb7677bc7fc94c713aa3 | 786 | tidal-sdk-android | Apache License 2.0 |
test-app/build-tools/android-metadata-generator/src/src/com/telerik/metadata/parsing/kotlin/metadata/ClassMetadataParser.kt | NativeScript | 29,137,950 | false | null | package com.telerik.metadata.parsing.kotlin.metadata
import com.telerik.metadata.parsing.NativeClassDescriptor
import kotlinx.metadata.KmFunction
import kotlinx.metadata.KmProperty
import kotlinx.metadata.jvm.KotlinClassMetadata
import java.util.stream.Stream
interface ClassMetadataParser {
fun wasKotlinCompanio... | 104 | null | 136 | 524 | 27eec841a36d4926de79f513bf37cbdaa5dfa254 | 589 | android | Apache License 2.0 |
app/src/main/java/de/marcreichelt/virusinfos/MainViewModel.kt | mreichelt | 372,918,775 | false | null | package de.marcreichelt.virusinfos
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 kotlinx.coroutines.launch
import java.io.IOException
sealed ... | 3 | Kotlin | 0 | 3 | 954dbadfcd2404728d9ba54ddf02cd90e99eafc1 | 1,500 | virus4wear | Apache License 2.0 |
src/test/kotlin/coverosR3z/server/ServerPerformanceTests.kt | cybernetics | 327,159,653 | true | {"Kotlin": 343884, "CSS": 7602, "HTML": 6285, "JavaScript": 84} | package coverosR3z.server
import coverosR3z.*
import coverosR3z.authentication.AuthenticationPersistence
import coverosR3z.authentication.FakeAuthenticationUtilities
import coverosR3z.authentication.IAuthPersistence
import coverosR3z.domainobjects.*
import coverosR3z.logging.LogConfig
import coverosR3z.logging.LogType... | 0 | null | 0 | 0 | ac237097c4132580b0a399403c0ca964ec1ddc7e | 9,961 | r3z | MIT License |
cinescout/recommended/data/remote/src/commonMain/kotlin/cinescout/recommended/data/remote/model/TraktMovieRecommendedMetadata.kt | fardavide | 280,630,732 | false | null | package cinescout.recommended.data.remote.model
import cinescout.screenplay.domain.model.TmdbScreenplayId
import cinescout.screenplay.domain.model.TraktScreenplayId
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
import screenplay.data.remote.trakt.model.TraktMovieMetadataBody
import ... | 11 | Kotlin | 2 | 6 | f2e3993816452afaf6c3f1e7c7a384eb9a66c06e | 815 | CineScout | Apache License 2.0 |
solidblocks-test/src/test/kotlin/de/solidblocks/infra/test/DirectoryTest.kt | pellepelster | 427,474,970 | false | {"Kotlin": 185001, "Shell": 146516, "HCL": 82748, "Go": 38525, "Python": 9981, "Dockerfile": 7370, "HTML": 4972} | import de.solidblocks.infra.test.tempDir
import io.kotest.matchers.paths.shouldBeEmptyDirectory
import io.kotest.matchers.paths.shouldExist
import io.kotest.matchers.paths.shouldNotBeEmptyDirectory
import io.kotest.matchers.paths.shouldNotExist
import org.junit.jupiter.api.Test
import java.nio.file.Files
import java.ni... | 4 | Kotlin | 5 | 22 | fe187974c51c3935f7aad9f75df58213c0667687 | 1,740 | solidblocks | MIT License |
java/src/main/java/com/xxscloud/messagex/dao/UserDAO.kt | xxscloud5722 | 287,778,592 | false | null | package com.xxscloud.messagex.dao
import com.google.inject.Inject
import com.xxscloud.messagex.core.xxs.MySQLCore
import com.xxscloud.messagex.core.xxs.SQL
import com.xxscloud.messagex.data.UserDO
import io.vertx.ext.sql.SQLConnection
class UserDAO @Inject constructor(private val sqlCore: MySQLCore) {
suspend fun... | 0 | Kotlin | 1 | 0 | d2d6a609fcbfb0989d2cec96fe73cfdadc4c5a34 | 2,442 | MessageX | Apache License 2.0 |
kotlin-typescript/src/jsMain/generated/typescript/ReadonlyUnderscoreEscapedMap.kt | JetBrains | 93,250,841 | false | {"Kotlin": 12635434, "JavaScript": 423801} | // Automatically generated - do not modify!
package typescript
import js.collections.ReadonlyMap
/** @deprecated Use ReadonlyMap<__String, T> instead. */
typealias ReadonlyUnderscoreEscapedMap<T> = ReadonlyMap<__String, T>
| 38 | Kotlin | 162 | 1,347 | 997ed3902482883db4a9657585426f6ca167d556 | 226 | kotlin-wrappers | Apache License 2.0 |
src/main/kotlin/github/macro/build_info/Ascendency.kt | ag-fx | 286,115,097 | false | {"Kotlin": 49931, "CSS": 3085, "Batchfile": 626, "Shell": 437} | package github.macro.build_info
import github.macro.build_info.ClassTag.*
/**
* Created by Macro303 on 2020-Jan-13.
*/
enum class Ascendency {
SLAYER,
GLADIATOR,
CHAMPION,
ASSASSIN,
SABOTEUR,
TRICKSTER,
JUGGERNAUT,
BERSERKER,
CHIEFTAIN,
NECROMANCER,
ELEMENTALIST,
OCCULTIST,
DEADEYE,
RAIDER,
PATHFINDE... | 0 | null | 0 | 0 | be4820a0f91e475b5054ccba5012babea13c87cc | 970 | Exile-Buddy | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.