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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
rounded/src/commonMain/kotlin/me/localx/icons/rounded/filled/Sunday.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.rounded.filled
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter
... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 6,688 | icons | MIT License |
generator/graphql-kotlin-schema-generator/src/main/kotlin/com/expediagroup/graphql/generator/exceptions/InvalidPropertyReturnTypeException.kt | ExpediaGroup | 148,706,161 | false | {"Kotlin": 2410561, "MDX": 720089, "HTML": 12165, "JavaScript": 10447, "CSS": 297, "Dockerfile": 147} | /*
* Copyright 2022 Expedia, 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | 68 | Kotlin | 345 | 1,739 | d3ad96077fc6d02471f996ef34c67066145acb15 | 990 | graphql-kotlin | Apache License 2.0 |
core/src/commonMain/kotlin/work/socialhub/kslack/api/methods/request/files/FilesListRequest.kt | uakihir0 | 794,979,552 | false | {"Kotlin": 945304, "Ruby": 2164, "Shell": 2095, "Makefile": 316} | package work.socialhub.kslack.api.methods.request.files
import work.socialhub.kslack.api.methods.SlackApiRequest
class FilesListRequest(
/** Authentication token. Requires scope: `files:read` */
override var token: String?,
/** Filter files created by a single user. */
var user: String?,
/** Filt... | 5 | Kotlin | 0 | 0 | 4d7fe4d7658ebe5e7daac29f727db96a09deaead | 1,521 | kslack | MIT License |
android/src/main/kotlin/com/example/video_player_plugin/VideoPlayer.kt | LTStorm | 288,063,028 | false | null | package com.example.video_player_plugin
import android.content.Context
import android.net.Uri
import com.google.android.exoplayer2.C
import com.google.android.exoplayer2.Player
import com.google.android.exoplayer2.SimpleExoPlayer
import com.google.android.exoplayer2.extractor.DefaultExtractorsFactory
import com.google... | 0 | Kotlin | 0 | 0 | f2f8132e02c97af4ed6b3cd2eacb0a4ee4e46de3 | 14,046 | video_player_plugin | Apache License 2.0 |
app/src/main/java/com/thorhelgen/rickandmortyinfoapp/data/local/mappers/DomainToDataCharacterMapper.kt | ThorHelgen | 504,479,815 | false | null | package com.thorhelgen.rickandmortyinfoapp.data.local.mappers
import android.content.Context
import android.graphics.Bitmap
import com.thorhelgen.rickandmortyinfoapp.domain.entities.Character as DomainCharacter
import com.thorhelgen.rickandmortyinfoapp.data.local.entities.Character
import kotlin.io.path.Path
import ko... | 0 | Kotlin | 0 | 0 | efab3d11784b5a56f60a7efb7a13a022b6333ea3 | 1,136 | RickAndMortyInfoApp | MIT License |
zircon.core/src/commonMain/kotlin/org/hexworks/zircon/internal/component/renderer/DefaultTextBoxRenderer.kt | mstaack | 218,875,808 | true | {"Kotlin": 1436653, "Java": 79362} | package org.hexworks.zircon.internal.component.renderer
import org.hexworks.zircon.api.Tiles
import org.hexworks.zircon.api.component.renderer.ComponentRenderContext
import org.hexworks.zircon.api.component.renderer.ComponentRenderer
import org.hexworks.zircon.api.graphics.TileGraphics
import org.hexworks.zircon.inter... | 0 | null | 0 | 0 | fd3857d42c0d03f73b720876250be70ae6b9d788 | 636 | zircon | MIT License |
library/verification-seamless/src/test/java/com/sinch/verification/seamless/SeamlessVerificationConfigBuilderTest.kt | isabella232 | 463,064,200 | true | {"Kotlin": 370117, "Dockerfile": 3056} | package com.sinch.verification.seamless
import com.sinch.verification.core.config.general.GlobalConfig
import com.sinch.verification.core.config.method.VerificationMethodProperties
import com.sinch.verification.core.verification.VerificationLanguage
import com.sinch.verification.seamless.config.SeamlessVerificationCon... | 1 | null | 0 | 0 | 2d1b65e4a42e52e509b6a0d7a9892b9ddc5de3c9 | 3,298 | verification-android-sdk | Apache License 2.0 |
library/verification-seamless/src/test/java/com/sinch/verification/seamless/SeamlessVerificationConfigBuilderTest.kt | isabella232 | 463,064,200 | true | {"Kotlin": 370117, "Dockerfile": 3056} | package com.sinch.verification.seamless
import com.sinch.verification.core.config.general.GlobalConfig
import com.sinch.verification.core.config.method.VerificationMethodProperties
import com.sinch.verification.core.verification.VerificationLanguage
import com.sinch.verification.seamless.config.SeamlessVerificationCon... | 1 | null | 0 | 0 | 2d1b65e4a42e52e509b6a0d7a9892b9ddc5de3c9 | 3,298 | verification-android-sdk | Apache License 2.0 |
library/src/commonMain/kotlin/com/lightningkite/kiteui/reactive/DependencyTracker.kt | lightningkite | 778,386,343 | false | {"Kotlin": 2224994, "Swift": 7449, "Ruby": 4925, "CSS": 4562, "HTML": 4084, "HCL": 880, "JavaScript": 302, "Objective-C": 142, "C": 104, "Shell": 49} | package com.lightningkite.kiteui.reactive
import com.lightningkite.kiteui.Console
abstract class DependencyTracker{
open val log: Console? get() = null
protected val dependencies = ArrayList<Pair<Any, () -> Unit>>()
protected val usedDependencies = ArrayList<Any?>()
@Suppress("UNCHECKED_CAST")
fu... | 3 | Kotlin | 0 | 2 | 58ee76ab3e8e7cab71e65a18c302367c6a641da5 | 1,390 | kiteui | Apache License 2.0 |
demo-compose/src/main/java/com/outs/demo_compose/subahayai/MainActivity.kt | Outs3 | 424,166,410 | false | {"Kotlin": 460215, "Java": 945} | package com.outs.demo_compose.subahayai
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.padding
import androidx.compose... | 0 | Kotlin | 0 | 2 | 60dc5cb8e3f6690350d68f93b96a8d16f6f4924a | 5,194 | subahayai | MIT License |
src/main/kotlin/io/justdevit/spring/logging/Constants.kt | temofey1989 | 436,276,086 | false | {"Kotlin": 56817} | package io.justdevit.spring.logging
const val ACTION_LOG_FORMAT_PARAMETER = "logging.actions.log-format"
const val CONSOLE_LOG_FORMAT = "console"
const val LOGSTASH_JSON_LOG_FORMAT = "logstash-json"
const val ACTION_ATTRIBUTE_NAME = "action"
const val RETURN_VALUE_NAME = "result"
| 0 | Kotlin | 0 | 0 | 0e50afe6a8112b2de7b949d05f53faace853973b | 283 | logging-spring-boot-starter | Apache License 2.0 |
common/src/commonMain/kotlin/dev/msfjarvis/claw/common/theme/Color.kt | msfjarvis | 289,347,156 | false | null | package dev.msfjarvis.claw.common.theme
import androidx.compose.ui.graphics.Color
val md_theme_light_primary = Color(0xFFac3325)
val md_theme_light_onPrimary = Color(0xFFffffff)
val md_theme_light_primaryContainer = Color(0xFFffdad3)
val md_theme_light_onPrimaryContainer = Color(0xFF410000)
val md_theme_light_seconda... | 4 | Kotlin | 4 | 20 | 2f60aa0ae008b0a5ad3c2c623e9d38560870052c | 2,738 | compose-lobsters | The Unlicense |
server/src/main/kotlin/net/horizonsend/ion/server/features/ai/module/positioning/PositioningModule.kt | HorizonsEndMC | 461,042,096 | false | {"Kotlin": 3545532, "Java": 15809, "Shell": 1410, "JavaScript": 78} | package net.horizonsend.ion.server.features.ai.module.positioning
import net.horizonsend.ion.server.features.starship.control.controllers.ai.AIController
import net.horizonsend.ion.server.miscellaneous.utils.Vec3i
abstract class PositioningModule(controller: AIController) : net.horizonsend.ion.server.features.ai.modu... | 17 | Kotlin | 36 | 10 | 4db43e246ed316545353470378352776cddda369 | 424 | Ion | MIT License |
core-ui/src/main/java/de/niklasbednarczyk/nbweather/core/ui/screens/scaffold/topappbar/NBTopAppBarActionModel.kt | NiklasBednarczyk | 529,683,941 | false | {"Kotlin": 1402977} | package de.niklasbednarczyk.nbweather.core.ui.screens.scaffold.topappbar
import de.niklasbednarczyk.nbweather.core.ui.icons.NBIconItem
data class NBTopAppBarActionModel(
val icon: NBIconItem,
val onClick: () -> Unit
) | 11 | Kotlin | 0 | 1 | 1c4618d2b2a00a1739f210cb2b067147e7635224 | 227 | NBWeather | MIT License |
device-info/src/commonMain/kotlin/com/famas/kmp_device_info/Util.kt | rvenky125 | 745,292,728 | false | {"Kotlin": 82597, "Ruby": 4391} | package com.famas.kmp_device_info
object NotAvailableToPlatformException : Throwable("The feature not available for this platform")
data class InfoConstants(
val boardName: String,
val bundleId: String,
val systemName: String,
val systemVersion: String,
val appVersion: String,
val buildNumber... | 2 | Kotlin | 0 | 6 | 9f54cf94db21f37d3a347d9f8b0684b4dc20cdff | 494 | kmp-device-info | Apache License 2.0 |
project/core/src/main/kotlin/io/github/heyhey123/geoipfilter/utils/okhttp/HttpQueryData.kt | heyhey123-git | 845,990,407 | false | {"Kotlin": 25049} | @file:Suppress("MagicNumber", "ForbiddenComment")
package io.github.heyhey123.geoipfilter.utils.okhttp
import com.alibaba.fastjson2.JSONObject
import io.github.heyhey123.geoipfilter.utils.ResponseType
import io.github.heyhey123.geoipfilter.utils.okhttp.types.HttpType
import okhttp3.MediaType.Companion.toMediaTypeOrNu... | 0 | Kotlin | 0 | 0 | f5cf42d750d76b9b93e47b9e87b100ab524382f1 | 9,508 | GeoIpFilter | Creative Commons Zero v1.0 Universal |
event-source-core/src/main/kotlin/co/il/mh/event/source/annotations/Secret.kt | mamaorha | 771,647,213 | false | {"Kotlin": 113595} | package co.il.mh.event.source.annotations
@Target(AnnotationTarget.PROPERTY, AnnotationTarget.VALUE_PARAMETER, AnnotationTarget.PROPERTY_GETTER)
annotation class Secret(
//property name that holds the secret for the encryption/decryption
val property: String
)
| 0 | Kotlin | 0 | 0 | bb339659e54b70883f89ce107e6ba798d28565b0 | 270 | event-source | MIT License |
http-client/src/main/java/no/nav/familie/http/config/RestTemplateSts.kt | navikt | 202,538,908 | false | null | package no.nav.familie.http.config
import no.nav.familie.http.interceptor.ConsumerIdClientInterceptor
import no.nav.familie.http.interceptor.MdcValuesPropagatingClientInterceptor
import no.nav.familie.http.interceptor.StsBearerTokenClientInterceptor
import org.springframework.boot.web.client.RestTemplateBuilder
import... | 14 | Kotlin | 1 | 2 | 3bb883e819902c913c73dbb8a6042305e31cc83f | 1,296 | familie-felles | MIT License |
tools/build-plugins/src/main/kotlin/com/datadog/build/plugin/apisurface/GenerateApiSurfaceTask.kt | DataDog | 788,897,440 | false | {"Kotlin": 641494, "Shell": 5411, "Objective-C": 3510} | /*
* Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0.
* This product includes software developed at Datadog (https://www.datadoghq.com/).
* Copyright 2016-Present Datadog, Inc.
*/
package com.datadog.build.plugin.apisurface
import org.gradle.api.De... | 1 | Kotlin | 0 | 5 | 4d60ee727cf0bccfde69ebf23ab7ed9fcb0c9b0f | 2,701 | dd-sdk-kotlin-multiplatform | Apache License 2.0 |
feedSync/dropbox/src/commonMain/kotlin/com/prof18/feedflow/feedsync/dropbox/DatabaseDestinationUrl.kt | prof18 | 600,257,020 | false | {"Kotlin": 746513, "HTML": 182777, "Swift": 163455, "SCSS": 161629, "CSS": 16810, "Shell": 2392, "JavaScript": 1214} | package com.prof18.feedflow.feedsync.dropbox
expect class DatabaseDestinationUrl
| 27 | Kotlin | 18 | 332 | 60c15c24c157e46625e05158c5d048d4ca4b7217 | 82 | feed-flow | Apache License 2.0 |
app/src/main/java/io/aethibo/fireshare/ui/settings/view/SettingsFragment.kt | primepixel | 321,027,979 | false | null | /*
* Created by <NAME> on 8.2.2021
* Copyright (c) 2021 . All rights reserved.
*/
package io.aethibo.fireshare.ui.settings.view
import android.app.Activity
import android.content.Intent
import android.net.Uri
import android.os.Bundle
import android.view.View
import androidx.core.view.isVisible
import androidx.core... | 0 | null | 1 | 3 | 886431d2383a40f0f149289579aa49930c73a82f | 6,393 | Fireshare | Apache License 2.0 |
app/src/main/java/com/example/filler/gui/configuration/data/DifficultyString.kt | oriolagobat | 481,120,395 | false | null | package com.example.filler.gui.configuration.data
import java.io.Serializable
data class DifficultyString(var value: String? = null) : Serializable
| 1 | Kotlin | 0 | 0 | bdf6cc1b7cfc01e1b4d37ac468e33e670cf647e2 | 150 | Filler-Game | MIT License |
app/src/main/java/com/bpdevop/mediccontrol/data/repository/BloodPressureRepository.kt | bpdevop | 839,980,935 | false | {"Kotlin": 693059} | package com.bpdevop.mediccontrol.data.repository
import com.bpdevop.mediccontrol.core.utils.UiState
import com.bpdevop.mediccontrol.data.model.BloodPressure
import com.google.firebase.firestore.FirebaseFirestore
import com.google.firebase.firestore.Query
import kotlinx.coroutines.tasks.await
import javax.inject.Inject... | 0 | Kotlin | 0 | 0 | 68aa078786199aca908f03965c617f096d91a384 | 3,549 | MedicControl | MIT License |
protocol/src/main/java/dev/arbjerg/lavalink/protocol/v3/stats.kt | lavalink-devs | 97,382,188 | false | null | package dev.arbjerg.lavalink.protocol.v3
import com.fasterxml.jackson.annotation.JsonInclude
data class Stats(
@JsonInclude(JsonInclude.Include.NON_NULL)
val frameStats: FrameStats?,
val players: Int,
val playingPlayers: Int,
val uptime: Long,
val memory: Memory,
val cpu: Cpu,
)
data clas... | 20 | Kotlin | 598 | 1,243 | d2e7a8be6010a2990f2a432454beb29ed36b5400 | 604 | Lavalink | MIT License |
app/src/main/java/dev/makuch/simplyTime/data/SettingsProps.kt | tmakuch | 634,219,242 | false | null | package dev.makuch.simplyTime.data
data class SettingsProps (
val showRing: Boolean,
val showOnAmbient: Boolean
)
| 0 | Kotlin | 0 | 0 | df967356e5b03a5ab82f7e01e4a5dc9378fa1a5c | 123 | simply-time-wear | Apache License 2.0 |
lib/src/test/java/com/thenewboston/api/common/GetDataSourceTest.kt | thenewboston-developers | 300,752,823 | false | null | package com.thenewboston.api.common
import com.thenewboston.common.http.NetworkClient
import com.thenewboston.common.http.Outcome
import com.thenewboston.utils.ErrorMessages
import com.thenewboston.utils.Mocks
import com.thenewboston.utils.PaginationOptions
import com.thenewboston.utils.Some
import com.thenewboston.ut... | 1 | null | 19 | 42 | 97f5b462d2179aa65dc8e35828eef39ba791c0ac | 21,976 | Kotlin-SDK | MIT License |
vuesaxicons/src/commonMain/kotlin/moe/tlaster/icons/vuesax/vuesaxicons/bulk/Bus.kt | Tlaster | 560,394,734 | false | {"Kotlin": 25133302} | package moe.tlaster.icons.vuesax.vuesaxicons.bulk
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap
import androidx.co... | 0 | Kotlin | 0 | 2 | b8a8231e6637c2008f675ae76a3423b82ee53950 | 6,020 | VuesaxIcons | MIT License |
SampleGeofencing/app/src/main/java/com/ghostwan/sample/geofencing/MainActivity.kt | ghostwan | 204,290,566 | false | {"Kotlin": 115072, "AIDL": 472} | package com.ghostwan.sample.geofencing
import android.content.ComponentName
import android.content.Intent
import android.content.pm.PackageManager
import android.net.Uri
import android.os.Bundle
import android.provider.Settings
import android.widget.Toast
import androidx.activity.result.contract.ActivityResultContract... | 0 | Kotlin | 0 | 1 | 941cf75537edddd924bf5c7208c4ee8db023b4e9 | 5,847 | android_samples | MIT License |
app/src/main/java/com/example/snapcompose/ui/album/Intent.kt | eclypse-tms | 852,554,383 | false | {"Kotlin": 21266} | package com.example.snapcompose.ui.album
import android.content.Context
import android.net.Uri
/**
* User generated events that can be triggered from the UI.
*/
sealed class Intent {
data object OnPermissionGranted: Intent()
data class OnPermissionGrantedWith(val compositionContext: Context): Intent()
... | 0 | Kotlin | 0 | 1 | 58bfc79ab3c3032bb3028d8d3d0d82b2ae0d639d | 714 | SnapCompose | MIT License |
example/src/commonMain/kotlin/com/lhwdev/model/main.kt | lhwdev | 344,445,376 | false | null | package com.lhwdev.model
import com.lhwdev.model.collections.MutableModelList
fun main() {
}
class ExampleModelManagerController : ModelManagerController() {
override fun initialize(attachHandle: (ModelManagerController) -> Unit) {
}
override val manager: ModelManager = object : ModelManager() {
override f... | 0 | Kotlin | 0 | 1 | 29a8ed2ff773b02d95b274dcc41d5eebb7932051 | 612 | Model | MIT License |
src/main/kotlin/org/cdb/homunculus/utils/DateUtils.kt | CodeDrillBrigade | 714,769,385 | false | {"Kotlin": 190419, "Dockerfile": 336} | package org.cdb.homunculus.utils
import kotlinx.datetime.Clock
import kotlinx.datetime.TimeZone
import kotlinx.datetime.offsetAt
/**
* @return the offset of a [TimeZone] in hours.
*/
fun TimeZone.getOffsetInHours(): Int {
val offset = offsetAt(Clock.System.now())
// Convert the offset to hours
val offsetInSecon... | 0 | Kotlin | 0 | 0 | 9830788175ad4ecf8e0a8d8a08b8c1f1c075f4cf | 607 | Homunculus | MIT License |
composeApp/src/androidMain/kotlin/com/hossian/noteappkmp/presentation/App.kt | hossainMuktaR | 856,018,990 | false | {"Kotlin": 38501, "Swift": 18421} | package com.hossian.noteappkmp.presentation
import androidx.compose.material.MaterialTheme
import androidx.compose.runtime.*
import androidx.compose.ui.platform.LocalContext
import androidx.lifecycle.viewmodel.compose.viewModel
import androidx.navigation.NavType
import androidx.navigation.compose.NavHost
import androi... | 0 | Kotlin | 0 | 0 | d6a0b1f400b117ad6118de7f993197986c502d87 | 3,760 | NoteApp.KMP | MIT License |
src/main/kotlin/com/github/galleyltd/boost/storage/RedisStorageClient.kt | galleyltd | 153,608,620 | false | null | package com.github.galleyltd.boost.storage
import com.fasterxml.jackson.databind.ObjectMapper
import io.lettuce.core.RedisClient
import io.lettuce.core.api.StatefulRedisConnection
class RedisStorageClient(
private val client: RedisClient,
@PublishedApi internal val objectMapper: ObjectMapper
) {
@Publishe... | 7 | Kotlin | 0 | 0 | 2234d12895d1770ad98c8008e1235caabe05b29a | 1,081 | boost-detector-backend | MIT License |
annotation-validator/src/main/java/com.chrynan.graphkl/annotation/validator/SupportedAnnotation.kt | chRyNaN | 230,310,677 | false | null | package com.chrynan.graphkl.annotation.validator
import com.chrynan.graphkl.annotation.*
import kotlin.reflect.KClass
/**
* An [Enum] that represents all the annotations that the [AnnotationValidator] supports. Each of this Enums values
* directly correlates to a supported annotation class.
*
* @property [kotlinC... | 0 | Kotlin | 0 | 2 | 2526cedddc0a5b5777dea0ec7fc67bc2cd16fe05 | 785 | graphkl | Apache License 2.0 |
domain/src/main/java/com/serj113/domain/entity/User.kt | serj113 | 279,676,148 | false | null | package com.serj113.domain.entity
data class User(
val id: Int,
val login: String,
val avatar_url: String,
val url: String
) | 0 | Kotlin | 0 | 1 | 3834875f3b2cffe9aa2af6b491eda3d1da2b6167 | 141 | MyGithub | Apache License 2.0 |
app/src/main/java/com/pedrogomez/carsstore/view/MainActivity.kt | makhnnar | 371,177,796 | false | null | package com.pedrogomez.carsstore.view
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import com.pedrogomez.carsstore.R
import com.pedrogomez.carsstore.databinding.ActivityMainBinding
import com.pedrogomez.carsstore.presentation.CarsViewModel
import org.koin.android.viewmodel.ext.android.viewM... | 0 | Kotlin | 0 | 0 | 0e28351c8bf75d4d037c33788e42a6fa20cdad04 | 694 | carsStore | MIT License |
app/src/main/java/com/android/comic/core/utils/logging/CrashReportingTree.kt | ali-wishcast | 613,072,644 | false | null | package com.android.comic.core.utils.logging
import android.util.Log
import com.google.firebase.crashlytics.ktx.crashlytics
import com.google.firebase.ktx.Firebase
import org.jetbrains.annotations.NotNull
import timber.log.Timber
class CrashReportingTree : @NotNull Timber.Tree() {
override fun log(priority: Int, tag... | 0 | Kotlin | 0 | 0 | a64d265419b25af260b3b28fba8fcdb296a5301a | 669 | comic | MIT License |
presentation/src/main/java/ir/husseinrasti/presentation/base/extensions/ContextExt.kt | husseinrasti | 327,661,519 | false | null | package ir.husseinrasti.presentation.base.extensions
import android.view.View
import android.view.animation.AlphaAnimation
import android.widget.Toast
import androidx.annotation.StringRes
import androidx.fragment.app.Fragment
import androidx.swiperefreshlayout.widget.CircularProgressDrawable
import ir.husseinrasti.pre... | 0 | Kotlin | 0 | 1 | 55c7520fdb67ad455f61881d1e0505f44cb366e4 | 1,480 | RandomCard | MIT License |
app/src/main/java/com/example/readerapp/screens/login/ReaderLoginScreen.kt | jbgaela | 635,006,879 | false | null | package com.example.readerapp.screens.login
import android.util.Log
import androidx.compose.foundation.background
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import andr... | 0 | Kotlin | 0 | 0 | eb350a0237b5d0bf724e8777518075543cdf3b20 | 6,029 | ReaderApp | MIT License |
src/main/kotlin/com/azhapps/lagbot/commands/LoopStopCommand.kt | Azhrei251 | 447,149,817 | false | {"Kotlin": 65715, "Dockerfile": 238, "Shell": 115} | package com.azhapps.lagbot.commands
import com.azhapps.lagbot.audio.AudioUtil
import org.javacord.api.event.message.MessageCreateEvent
class LoopStopCommand(event: MessageCreateEvent): BaseCommand(event) {
override fun execute() {
val scheduler = AudioUtil.getScheduler(event.server.get())
if (sch... | 4 | Kotlin | 0 | 1 | 3f6d37f044c594f8271f75751deeda791631ddfd | 518 | lagbot | Apache License 2.0 |
common/src/main/java/com/yuriikonovalov/common/framework/common/extentions/ContextExtensions.kt | yuriikonovalov | 563,974,428 | false | {"Kotlin": 872022} | package com.yuriikonovalov.common.framework.common.extentions
import android.content.Context
import android.content.Intent
import android.content.pm.PackageManager
import androidx.biometric.BiometricManager
fun Context.resolveActivity(intent: Intent): Boolean {
return this.packageManager.resolveActivity(
... | 0 | Kotlin | 0 | 0 | 8063508f836512fc8f8a0ba18f794bb895ee2449 | 698 | budgethub | MIT License |
arcade-events/src/main/kotlin/net/casual/arcade/events/network/PlayerDisconnectEvent.kt | CasualChampionships | 621,955,934 | false | {"Kotlin": 1009293, "Java": 177804, "GLSL": 4396} | package net.casual.arcade.events.network
import com.mojang.authlib.GameProfile
import net.casual.arcade.events.core.Event
import net.casual.arcade.events.player.PlayerLeaveEvent
import net.minecraft.server.MinecraftServer
/**
* This event is fired whenever the player is disconnected from
* the server, this includes... | 1 | Kotlin | 1 | 2 | 313ea08f5d9ad562b4bb5aef28b6fa5891615baa | 668 | arcade | MIT License |
core/src/main/kotlin/io/github/clasicrando/kdbc/core/pool/BaseBlockingPoolManager.kt | ClasicRando | 722,364,579 | false | {"Kotlin": 1024058, "Dockerfile": 1005, "Shell": 913} | package io.github.clasicrando.kdbc.core.pool
import io.github.clasicrando.kdbc.core.atomic.AtomicMutableMap
import io.github.clasicrando.kdbc.core.config.Kdbc
import io.github.clasicrando.kdbc.core.connection.BlockingConnection
import io.github.clasicrando.kdbc.core.exceptions.CouldNotInitializeConnection
import io.gi... | 7 | Kotlin | 0 | 9 | 08679d4d012e1a1eea1564bd290129a7dc3f0c0b | 2,443 | kdbc | Apache License 2.0 |
app/src/main/java/com/sunnyweather/android/logic/model/PlaceResponse.kt | kdwu | 380,189,132 | false | null | package com.sunnyweather.android.logic.model
import com.google.gson.annotations.SerializedName
/**
* @项目名 SunnyWeather
* @文件名 PlaceResponse.java
* @作者 geely
* @创建时间 2021年06月28日 09:52:00
* @描述 数据模型
*/
data class PlaceResponse(val status: String, val places: List<Place>)
data class Place(val name: String, val lo... | 0 | Kotlin | 0 | 0 | eb7b168546e2522fd150c7a5784c2c35dbdf4255 | 451 | SunnyWeather | Apache License 2.0 |
app/src/main/java/com/starcraft/madtaxi/network/login/response/LoginResponse.kt | Disruption | 118,322,076 | false | null | package com.starcraft.madtaxi.network.login.response
import com.google.gson.annotations.SerializedName
class LoginResponse {
@SerializedName("token")
lateinit var mToken: String
@SerializedName("user_id")
lateinit var user: String
} | 0 | Kotlin | 0 | 0 | 5bd4bde0dd662526ae5063a89530aa2e5b7beb6e | 253 | MadTaxi | MIT License |
core/src/commonMain/kotlin/com/lehaine/littlekt/graph/node/ui/Panel.kt | littlektframework | 442,309,478 | false | {"Kotlin": 2285392} | package com.lehaine.littlekt.graph.node.ui
import com.lehaine.littlekt.graph.SceneGraph
import com.lehaine.littlekt.graph.node.Node
import com.lehaine.littlekt.graph.node.addTo
import com.lehaine.littlekt.graph.node.annotation.SceneGraphDslMarker
import com.lehaine.littlekt.graph.node.resource.Drawable
import com.leha... | 14 | Kotlin | 9 | 291 | 89f372fd18e47998d9b1d3add93ba92e4dcaca6e | 2,415 | littlekt | Apache License 2.0 |
app/src/main/java/com/davoh/starwarsapi_mvvm/adapters/CharacterListAdapter.kt | DDavoH | 369,889,246 | false | null | package com.davoh.starwarsapi_mvvm.adapters
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.recyclerview.widget.DiffUtil
import androidx.recyclerview.widget.ListAdapter
import androidx.databinding.DataBindingUtil
import androidx.recyclerview.widget.RecyclerView
import com.davoh.starwa... | 0 | Kotlin | 0 | 0 | 12eb01bdb771c28cc0720387bf60d4bd6fb751cd | 1,868 | Android-StarWarsAPI-MVVM | Apache License 2.0 |
src/main/kotlin/de/kitchenlist/view/UIController.kt | JonasGilg | 69,899,977 | false | {"Kotlin": 13250, "CSS": 154} | package de.kitchenlist.view
import de.kitchenlist.view.MainSceneController
import javafx.collections.FXCollections
import javafx.event.ActionEvent
import javafx.fxml.FXMLLoader
import javafx.scene.Scene
import javafx.scene.layout.BorderPane
import javafx.stage.Stage
import de.kitchenlist.control.Controller
import de.k... | 0 | Kotlin | 0 | 0 | 144400e0bfb2f67aca8d826f91ffaa5467aaa71c | 1,577 | KitchenlistManager | MIT License |
examples/src/tl/ton/liteserver/LiteServerTransactionList.kt | andreypfau | 719,064,910 | false | {"Kotlin": 62259} | // This file is generated by TLGenerator.kt
// Do not edit manually!
package tl.ton.liteserver
import io.github.andreypfau.tl.serialization.Base64ByteStringSerializer
import io.github.andreypfau.tl.serialization.TLCombinatorId
import kotlin.jvm.JvmName
import kotlinx.io.bytestring.ByteString
import kotlinx.serializati... | 0 | Kotlin | 0 | 1 | 11f05ad1f977235e3e360cd6f6ada6f26993208e | 772 | tl-kotlin | MIT License |
integration/compose/common/src/dev/programadorthi/routing/compose/ComposeManager.kt | programadorthi | 626,174,472 | false | {"Kotlin": 698609, "JavaScript": 775} | package dev.programadorthi.routing.compose
import androidx.compose.runtime.snapshots.SnapshotStateList
import dev.programadorthi.routing.core.Routing
import dev.programadorthi.routing.core.application.ApplicationCall
import io.ktor.util.AttributeKey
private val ComposeRoutingAttributeKey: AttributeKey<SnapshotStateLi... | 0 | Kotlin | 3 | 51 | 758aa48e7ef0252e6131b3436e2a05b61baf48cc | 590 | kotlin-routing | Apache License 2.0 |
app/src/main/java/com/boreal/ultimatetest/domain/model/characters/RickAndMortyResponseModel.kt | baudelioandalon | 853,655,370 | false | {"Kotlin": 129014} | package com.boreal.ultimatetest.domain.model.characters
import androidx.compose.runtime.Immutable
import com.boreal.ultimatetest.domain.model.Info
@kotlinx.serialization.Serializable
@Immutable
data class RickAndMortyResponseModel(
val info: Info? = null,
var results: List<CharacterModel>? = null
) | 0 | Kotlin | 0 | 0 | 29d5733fb3b9949665ef0da28df9bfc4c8b69b7d | 309 | UltimateTest | Apache License 2.0 |
10_network/server/src/main/kotlin/fridgepay/hfu/raysono/com/routes/ProductRoutes.kt | NickHaecker | 470,923,174 | false | {"Kotlin": 280271} | package fridgepay.hfu.raysono.com.routes
import fridgepay.hfu.raysono.com.model.Product
import io.ktor.server.application.call
import io.ktor.server.response.respond
import io.ktor.server.routing.Route
import io.ktor.server.routing.get
import io.ktor.server.routing.route
fun Route.productRouting() {
route("/v1/pr... | 0 | Kotlin | 0 | 0 | 275b9f5703b6b5fd90ff66837a51d7992291e46c | 1,064 | MobileAppDev | MIT License |
app/src/main/java/com/example/k_health/health/model/UserHealthRecord.kt | SeokJiWon1207 | 420,371,551 | false | {"Kotlin": 149316} | package com.example.k_health.health.model
data class UserHealthRecord(
val name: String = "",
val set: String = "",
val weight: String = "",
val count: String = ""
) | 0 | Kotlin | 0 | 0 | 067d1dbabb741232a61cac71e12b646840dcc38f | 182 | K-Health | Apache License 2.0 |
tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/chat/ChatPermissions.kt | InsanusMokrassar | 163,152,024 | false | {"Kotlin": 3243076, "Shell": 373} | package dev.inmo.tgbotapi.types.chat
import dev.inmo.tgbotapi.types.*
import kotlinx.serialization.KSerializer
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
import kotlinx.serialization.Transient
import kotlinx.serialization.descriptors.SerialDescriptor
import kotlinx.serialization.... | 13 | Kotlin | 29 | 358 | 482c375327b7087699a4cb8bb06cb09869f07630 | 10,789 | ktgbotapi | Apache License 2.0 |
app/src/main/kotlin/com/whereismymotivation/data/remote/interceptors/LocalHostInterceptor.kt | unusualcodeorg | 730,655,456 | false | {"Kotlin": 472092} | package com.whereismymotivation.data.remote.interceptors
import com.whereismymotivation.BuildConfig
import okhttp3.Interceptor
import okhttp3.Response
import java.net.URI
import javax.inject.Inject
import javax.inject.Singleton
@Singleton
class LocalHostInterceptor @Inject constructor() :
Interceptor {
overri... | 0 | Kotlin | 4 | 38 | 5b77e6a6b14ae9ad21e8edd55e8c9b3cc2066f75 | 792 | wimm-android-app | Apache License 2.0 |
taxi-cli/src/main/java/lang/taxi/cli/commands/InitVyneCommand.kt | taxilang | 601,101,781 | false | null | package lang.taxi.cli.commands
import com.beust.jcommander.Parameter
import com.beust.jcommander.Parameters
import com.google.common.io.Resources
import lang.taxi.cli.utils.log
import lang.taxi.generators.TaxiEnvironment
import org.beryx.textio.TextIO
import org.springframework.stereotype.Component
import java.net.URI... | 0 | Kotlin | 0 | 0 | 0672691199c27ddc87c5cd2c9ddd3953e0e5efe7 | 2,711 | taxilang | Apache License 2.0 |
src/test/kotlin/com/geovannycode/services/UserServiceTest.kt | Geovanny0401 | 619,379,523 | false | null | package com.geovannycode.services
import com.geovannycode.TestDatabaseFactory
import com.geovannycode.di.bankingModule
import com.geovannycode.dto.ApiResult
import com.geovannycode.dto.ErrorCode
import com.geovannycode.dto.UserDto
import com.geovannycode.service.UserService
import org.assertj.core.api.Assertions.asser... | 0 | Kotlin | 0 | 0 | e07df25e1f4e7c230af4eb7b961cc89d8280e38c | 6,808 | ktor-banking | Apache License 2.0 |
alcholrehab/app/src/main/java/com/example/alcholrehab/models/ListItem.kt | bhargavbvs | 476,408,431 | false | null | package com.example.alcholrehab.models
class ListItem {
var name: String? = null
var id = 0
}
| 0 | Kotlin | 1 | 0 | bf2b5941a00c1bf68d65863fb36e68cacfff23af | 103 | Courage-to-Change | MIT License |
feature_coin_list/src/main/java/com/ryankoech/krypto/feature_coin_list/core/di/CoinListDatabaseModule.kt | RyanKoech | 557,763,586 | false | {"Kotlin": 333059, "Shell": 283, "Batchfile": 281} | package com.ryankoech.krypto.feature_coin_list.core.di
import android.content.Context
import androidx.room.Room
import com.ryankoech.krypto.feature_coin_list.data.data_source.local.db.CoinDao
import com.ryankoech.krypto.feature_coin_list.data.data_source.local.db.CoinDatabase
import com.ryankoech.krypto.feature_coin_l... | 14 | Kotlin | 4 | 8 | 7674da6abd9bb9c8c9d3907a4eef61e164dd51e9 | 1,046 | android-krypto | MIT License |
app/src/main/java/com/mac/shorten/interactors/link/ShortenLink.kt | mhmdabouchaker | 514,562,395 | false | null | package com.mac.shorten.interactors.link
import com.mac.shorten.cache.LinkDao
import com.mac.shorten.cache.model.LinkEntity
import com.mac.shorten.cache.model.LinkEntityMapper
import com.mac.shorten.domain.data.DataState
import com.mac.shorten.domain.model.Link
import com.mac.shorten.network.LinkService
import com.mac... | 0 | Kotlin | 0 | 0 | e809ac7fb0c1c287cfdd182951b29b0bac1779ff | 1,883 | Shorten | Apache License 2.0 |
src/main/kotlin/com/morfeu/smartpoint/enum/ProfileEnum.kt | devmorfeu | 419,606,820 | false | null | package com.morfeu.smartpoint.enum
enum class ProfileEnum {
ROLE_ADMIN,
ROLE_USER
} | 0 | Kotlin | 0 | 0 | 1115350a7f28c83e8a7096715924dcb3278898e4 | 92 | smart-point | Apache License 2.0 |
TeamCode/src/main/kotlin/org/firstinspires/ftc/teamcode/robot/subsystems/LiftyLinkage.kt | Checkmate-12961 | 562,598,429 | false | {"Java Properties": 2, "Shell": 1, "Markdown": 8, "Batchfile": 1, "INI": 1, "Java": 77, "Kotlin": 40} | package org.firstinspires.ftc.teamcode.robot.subsystems
import com.acmerobotics.dashboard.config.Config
import com.qualcomm.robotcore.hardware.DcMotor
import com.qualcomm.robotcore.hardware.HardwareMap
import com.qualcomm.robotcore.util.Range
import org.firstinspires.ftc.robotcore.external.Telemetry
import org.firstin... | 1 | null | 1 | 1 | 498ef51a5cd0983f20795428c4e5a9d50b05e0f3 | 3,178 | PowerPlay | MIT License |
analysis/low-level-api-fir/src/org/jetbrains/kotlin/analysis/low/level/api/fir/transformers/LLFirStatusLazyResolver.kt | google | 219,902,853 | true | {"Markdown": 177, "Gradle": 404, "Gradle Kotlin DSL": 1123, "Java Properties": 30, "Shell": 43, "Ignore List": 21, "Batchfile": 21, "Git Attributes": 8, "JSON": 199, "XML": 803, "Kotlin": 54041, "INI": 194, "Java": 3633, "Text": 21765, "JavaScript": 315, "JAR Manifest": 2, "Roff": 256, "Roff Manpage": 52, "Protocol Buf... | /*
* Copyright 2010-2024 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.analysis.low.level.api.fir.transformers
import org.jetbrains.kotlin.analysis.low... | 1 | Kotlin | 51 | 152 | e302420197acfd51c6ffe53866d69fcb5b2bb5c7 | 10,800 | kotlin | Apache License 2.0 |
app/src/main/java/com/thecode/infotify/presentation/main/MainViewModel.kt | gabriel-TheCode | 256,820,138 | false | {"Kotlin": 106630} | package com.thecode.infotify.presentation.main
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.thecode.infotify.domain.model.Article
import com.thecode.infotify.domain.usecases.IsNightModeEnabled
import com.thecode.infotify.domain.usecas... | 0 | Kotlin | 7 | 43 | 3e9bcb4917f8028cbeeeb6f72f3df3306458e92f | 1,047 | Infotify | Apache License 2.0 |
app/src/main/java/com/example/sunnyweatherkt/ui/weather/WeatherActivity.kt | Fangtian89 | 354,954,187 | false | null | package com.example.sunnyweatherkt.ui.weather
import android.content.Context
import android.content.Intent
import android.content.ServiceConnection
import android.graphics.Color
import android.location.LocationManager
import android.os.Build
import android.os.Bundle
import android.os.PersistableBundle
import android.v... | 0 | Kotlin | 0 | 1 | 6d9bc89f3e42ba6e6eb61b7a566024e1352ab6a4 | 11,316 | weather | Apache License 2.0 |
src/commonMain/kotlin/online/vapcom/picocbor/PicoCborDecoder.kt | vapcomm | 548,906,791 | false | {"Kotlin": 32239} | /*
* (c) VAP Communications Group, 2021
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, pub... | 0 | Kotlin | 0 | 0 | a3209849e629f5727b655b1b8f8b1b3b581d63a1 | 10,035 | picocbor | MIT License |
app/src/main/java/org/haidy/servify/domain/model/Review.kt | HaidyAbuGom3a | 805,534,454 | false | {"Kotlin": 702248} | package org.haidy.servify.domain.model
data class Review(
val id: String,
val reviewerName: String,
val rating: Double,
val review: String,
val createdAt: String
)
| 0 | Kotlin | 0 | 2 | 8c2ba73cea5d29cc2ef7048d832f8ecea13f34ee | 185 | Servify | Apache License 2.0 |
eux-nav-rinasak-webapp/src/test/kotlin/no/nav/eux/rinasak/webapp/RinasakerApiTest.kt | navikt | 663,010,258 | false | {"Kotlin": 71964, "HTML": 2030, "Makefile": 122, "Dockerfile": 110} | package no.nav.eux.rinasak.webapp
import io.kotest.matchers.collections.shouldBeEmpty
import io.kotest.matchers.nulls.shouldBeNull
import io.kotest.matchers.shouldBe
import no.nav.eux.rinasak.webapp.common.navRinasakerFinnUrl
import no.nav.eux.rinasak.webapp.common.navRinasakerUrl
import no.nav.eux.rinasak.webapp.comm... | 2 | Kotlin | 0 | 0 | d255ccc4e22179776d992b5f558a51dd8c636f51 | 4,322 | eux-nav-rinasak | MIT License |
app/src/main/java/com/ar/musicplayer/components/library/UndoSnackBarWithTimer.kt | AjayDhattarwal | 811,499,243 | false | {"Kotlin": 832919} | package com.ar.musicplayer.components.library
import androidx.compose.foundation.Canvas
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.... | 0 | Kotlin | 0 | 0 | 14037ad8e820ca849ad3568cb106781ef4689136 | 6,045 | MusicPlayer | MIT License |
src/generated/kotlin/de/lancom/openapi/entity/TagGroupsExtensionEntry.kt | lancomsystems | 733,524,954 | false | {"Kotlin": 769728, "Mustache": 12392} | /*****************************************************************************
** C A U T I O N **
** This file is auto-generated! **
** If you want to make changes, please see the README.md file. **
** ... | 1 | Kotlin | 0 | 1 | be448682a5ce7441fb04f7a888cab903dcedacbb | 6,950 | openapi-parser | Apache License 2.0 |
app/src/main/java/dev/sasikanth/pinnit/data/PinnitNotification.kt | SubhrajyotiSen | 303,145,842 | true | {"Kotlin": 157134} | package dev.sasikanth.pinnit.data
import android.os.Parcelable
import androidx.annotation.Keep
import androidx.room.Dao
import androidx.room.Entity
import androidx.room.Insert
import androidx.room.OnConflictStrategy
import androidx.room.PrimaryKey
import androidx.room.Query
import kotlinx.android.parcel.Parcelize
impo... | 0 | null | 0 | 0 | c2f80f22c9dad2148d90a116baba8dcc9c48cebf | 1,708 | pinnit | Apache License 2.0 |
relive-simulator-core/src/commonMain/kotlin/xyz/qwewqa/relive/simulator/core/presets/dress/generated/dress1080008.kt | qwewqa | 390,928,568 | false | null | package xyz.qwewqa.relive.simulator.core.presets.dress.generated
import xyz.qwewqa.relive.simulator.core.stage.actor.ActType
import xyz.qwewqa.relive.simulator.core.stage.actor.Attribute
import xyz.qwewqa.relive.simulator.core.stage.actor.StatData
import xyz.qwewqa.relive.simulator.core.stage.dress.ActParameters
impor... | 0 | Kotlin | 11 | 7 | 70e1cfaee4c2b5ab4deff33b0e4fd5001c016b74 | 7,134 | relight | MIT License |
paraglider-vbaa-be-stubs/src/main/kotlin/ru/kotlin/paraglider/vbaa/be/stubs/schoolStubs.kt | otuskotlin | 378,049,879 | false | null | package ru.kotlin.paraglider.vbaa.be.stubs
import ru.kotlin.paraglider.vbaa.be.common.models.*
import ru.kotlin.paraglider.vbaa.openapi.models.*
object SchoolStub {
private val createSchoolRequest = CreateSchoolRequest(
messageType = "CreateSchoolRequest",
requestId = "uuid123",
createScho... | 0 | Kotlin | 0 | 0 | 59ab19ce0bdad96adfad0ef3b3d6e60f52789cb8 | 4,169 | ok-202105-paraglider-vbaa | MIT License |
src/test/kotlin/io/vexelabs/bitbuilder/llvm/unit/ir/values/GlobalValueTest.kt | ardlank | 302,768,929 | true | {"Kotlin": 408575} | package io.vexelabs.bitbuilder.llvm.unit.ir.values
import io.vexelabs.bitbuilder.llvm.ir.DLLStorageClass
import io.vexelabs.bitbuilder.llvm.ir.Module
import io.vexelabs.bitbuilder.llvm.ir.TypeKind
import io.vexelabs.bitbuilder.llvm.ir.UnnamedAddress
import io.vexelabs.bitbuilder.llvm.ir.Visibility
import io.vexelabs.b... | 0 | null | 0 | 0 | 633b9dcbb886446c62d90add3257d8f2f39a670c | 3,074 | bitbuilder | Apache License 2.0 |
foryouandme/src/main/java/com/foryouandme/data/repository/yourdata/network/response/YourDataResponse.kt | 4YouandMeData | 610,425,317 | false | null | package com.foryouandme.data.repository.yourdata.network.response
import com.foryouandme.entity.yourdata.YourData
import com.squareup.moshi.Json
data class YourDataResponse(@Json(name = "data") val data: YourDataInfoResponse? = null) {
fun toYourData(): YourData? =
data?.id?.let {
YourData(
... | 0 | Kotlin | 0 | 0 | bc82972689db5052344365ac07c8f6711f5ad7fa | 897 | 4YouandMeAndroid | MIT License |
src/src/action/exts.kt | develar | 734,986,071 | false | null | package org.jetbrains.plugins.d2.action
import com.intellij.openapi.actionSystem.AnActionEvent
import com.intellij.openapi.actionSystem.PlatformDataKeys
import com.intellij.openapi.fileEditor.TextEditorWithPreview
import com.intellij.openapi.vfs.VirtualFile
import org.jetbrains.plugins.d2.editor.D2Viewer
import org.je... | 3 | null | 3 | 8 | b2789f5d9d244247fc4870398d74bb12c0269c66 | 583 | d2-intellij-plugin | Apache License 2.0 |
app/src/main/java/com/dhruvnagarajan/reduxandroid/SecondViewModel.kt | dhruvnagarajan | 177,180,821 | false | null | /*
* Copyright 2019 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... | 1 | Kotlin | 0 | 0 | 1bbed5d63e1db28bc1d1d3a1ae71aa9f22691681 | 1,078 | redux.android | Apache License 2.0 |
app/src/main/java/com/dscoding/takenoteapp/domain/use_case/AddNoteUseCase.kt | diogosantos41 | 507,406,921 | false | {"Kotlin": 172730, "HTML": 8360} | package com.dscoding.takenoteapp.domain.use_case
import com.dscoding.takenoteapp.R
import com.dscoding.takenoteapp.common.Result
import com.dscoding.takenoteapp.common.StringResource
import com.dscoding.takenoteapp.domain.model.Note
import com.dscoding.takenoteapp.domain.repository.NoteRepository
class AddNoteUseCase... | 0 | Kotlin | 0 | 0 | c1deb908c32772841aaabedfcbe630a646ed54ce | 648 | takenote-android | MIT License |
application/module/module_person/src/main/java/novalinx/module/person/PersonNavBuild.kt | imswy | 710,208,893 | false | {"Kotlin": 613223} | package novalinx.module.person
import novalinx.core.lib.bean.person.TMDBPerson
import novalinx.core.lib.router.module.person.PersonNav
/**
* detail: PersonNav 跳转参数构建
* @author Ttt
*/
object PersonNavBuild {
/**
* 跳转 Person Details Path
* @receiver TMDBPerson
* @return Postcard
*/
fun T... | 0 | Kotlin | 0 | 0 | 44cd560c6087f570c15d6892a38720f23415330d | 454 | Novalinx | Apache License 2.0 |
searchablepaging/src/main/java/co/orangesoft/paging/SearchableDao.kt | Orangesoft-Development | 283,875,784 | false | {"Kotlin": 44805} | package co.orangesoft.paging
interface SearchableDao<T> {
suspend fun updateOrInsert(vararg item: T)
suspend fun delete(vararg item: T)
} | 0 | Kotlin | 0 | 0 | ca3935c3dae21d5928272952fc4ba3015ae602fc | 147 | searchable_paging | Apache License 2.0 |
src/main/kotlin/thosijulio/projetos/s2/Req03.kt | thosijulio | 772,721,170 | false | {"Kotlin": 12665} | fun calculateYears(birthYear: Int, currentYear: Int): Int {
return currentYear - birthYear;
}
fun calculateMonths(birthYear: Int, currentYear: Int): Int {
return (currentYear - birthYear) * 12;
}
fun calculateDays(birthYear: Int, currentYear: Int): Long {
return ((currentYear - birthYear) * 365.25).toLong... | 0 | Kotlin | 0 | 0 | ebe9b051945b296206af53c6948b586b0e609f29 | 882 | Kotlin | MIT License |
app/src/main/java/com/kl3jvi/sysinfo/utils/Coroutines.kt | kl3jvi | 348,700,775 | false | null | package com.kl3jvi.sysinfo.utils
import androidx.fragment.app.Fragment
import androidx.lifecycle.Lifecycle
import androidx.lifecycle.lifecycleScope
import androidx.lifecycle.repeatOnLifecycle
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.launch
/**
* Runs a block of code within a [CoroutineScope... | 1 | Kotlin | 4 | 18 | ce542611f5f7297050acc3dc4d63863b9a5ca2e4 | 1,136 | sysinfo_app | MIT License |
app/src/main/java/com/example/infinityfitness/database/entity/Customer.kt | kspranav-az | 851,512,144 | false | {"Kotlin": 122054, "HTML": 57346} | package com.example.infinityfitness.database.entity
import android.graphics.Bitmap
import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.Index
import androidx.room.PrimaryKey
import androidx.room.Ignore
import com.example.infinityfitness.enums.PaymentMethod
import com.example.infinityfitness.... | 0 | Kotlin | 1 | 2 | 035b3fda5345d303862a32f585c09aade9ec9db8 | 2,464 | InfinityFitness | MIT License |
Frontend/src/main/kotlin/com/jetbrains/fortea/configuration/run/T4RunConfigurationParameters.kt | larrynung | 244,417,161 | true | {"C#": 639820, "Kotlin": 64173, "Lex": 10246, "PowerShell": 2739, "Shell": 2291, "Smalltalk": 455} | package com.jetbrains.fortea.configuration.run
import com.intellij.util.execution.ParametersListUtil
import com.jetbrains.rider.model.T4ExecutionRequest
import com.jetbrains.rider.run.configurations.exe.ExeConfigurationParameters
import com.jetbrains.rider.runtime.DotNetExecutable
open class T4RunConfigurationParamet... | 0 | null | 0 | 0 | 87dc73e3c384c8990b73c1645bcf735221afa8b4 | 832 | ForTea | Apache License 2.0 |
propactive-plugin/src/test/kotlin/io/github/propactive/task/ApplicationPropertiesTaskIT.kt | propactive | 481,998,378 | false | {"Kotlin": 141862, "Shell": 9156, "Makefile": 8080, "Dockerfile": 2302} | package io.github.propactive.task
import io.github.propactive.support.extension.KotlinEnvironmentExtension
import org.gradle.tooling.GradleConnector
import org.junit.jupiter.api.BeforeAll
import org.junit.jupiter.api.MethodOrderer.OrderAnnotation
import org.junit.jupiter.api.TestInstance
import org.junit.jupiter.api.T... | 3 | Kotlin | 5 | 5 | cd4692a8a5a8a8130ac7ff07f1f076b516a75c4f | 2,276 | propactive | MIT License |
Api/src/main/kotlin/ru/elixor/api/entities/redirect/RedirectEntity.kt | ElixorTeam | 750,796,421 | false | {"Kotlin": 65189, "Dockerfile": 342} | package ru.elixor.api.entities.redirect
import jakarta.persistence.*
import org.hibernate.annotations.CreationTimestamp
import ru.elixor.api.entities.link.LinkEntity
import ru.elixor.api.enums.DeviceType
import ru.elixor.api.utils.DefaultTypesUtil
import java.net.InetAddress
import java.util.*
@Entity
@Table(name = "... | 0 | Kotlin | 0 | 0 | 44faede8c6b54c8c37deb39905cdb98d20dd0ef4 | 1,244 | Shorty.Server | MIT License |
Api/src/main/kotlin/ru/elixor/api/entities/redirect/RedirectEntity.kt | ElixorTeam | 750,796,421 | false | {"Kotlin": 65189, "Dockerfile": 342} | package ru.elixor.api.entities.redirect
import jakarta.persistence.*
import org.hibernate.annotations.CreationTimestamp
import ru.elixor.api.entities.link.LinkEntity
import ru.elixor.api.enums.DeviceType
import ru.elixor.api.utils.DefaultTypesUtil
import java.net.InetAddress
import java.util.*
@Entity
@Table(name = "... | 0 | Kotlin | 0 | 0 | 44faede8c6b54c8c37deb39905cdb98d20dd0ef4 | 1,244 | Shorty.Server | MIT License |
app/src/main/kotlin/taiwan/no1/app/ssfm/models/entities/lastfm/ImageSize.kt | pokk | 90,497,127 | false | null | package taiwan.no1.app.ssfm.models.entities.lastfm
import android.support.annotation.IntDef
import taiwan.no1.app.ssfm.misc.constants.ImageSizes.EXTRA_LARGE
import taiwan.no1.app.ssfm.misc.constants.ImageSizes.LARGE
import taiwan.no1.app.ssfm.misc.constants.ImageSizes.MEDIUM
import taiwan.no1.app.ssfm.misc.constants.I... | 0 | Kotlin | 0 | 1 | 1928c2f1a42634ede147517854d06b6fd5d11e7b | 527 | SSFM | Apache License 2.0 |
app/src/androidTest/java/com/nicolasguillen/kointlin/mocks/MockAppSettingsClient.kt | nicolasguillen | 113,652,016 | false | {"Kotlin": 96449, "Ruby": 5242} | package com.nicolasguillen.kointlin.mocks
import com.nicolasguillen.kointlin.storage.AppSettingsRepository
import com.nicolasguillen.kointlin.storage.entities.AppSettings
import io.reactivex.Single
class MockAppSettingsClient : AppSettingsRepository {
override fun getAppSettings(): Single<AppSettings> {
r... | 2 | Kotlin | 0 | 2 | 569c5817777ad75d052221a51ea56f8916590e56 | 494 | kointlin | Apache License 2.0 |
src/main/kotlin/hr/fer/zemris/math/util/Handedness.kt | lukamijic | 244,489,376 | false | null | package hr.fer.zemris.math.util
import hr.fer.zemris.geometry.model.Point
enum class Handedness {
LEFT, RIGHT;
companion object {
/**
* 2D cross product isn't defined. It is assumed that z is 0.
* While calculating with z component as 0 factors next to
* i and j will be 0, ... | 0 | Kotlin | 0 | 0 | 26f18a2d6caf1648a78ed61c2f18a9114ecff87e | 882 | feRenderer | MIT License |
app/src/main/java/de/devmil/paperlaunch/model/IEntry.kt | devmil | 36,468,332 | false | {"Kotlin": 269362, "Java": 26134} | /*
* Copyright 2015 Devmil Solutions
*
* 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 agree... | 10 | Kotlin | 3 | 31 | c46ea69987e45951c5901d4e4a526a466dd95e6a | 936 | PaperLaunch | Apache License 2.0 |
core/src/commonMain/kotlin/work/socialhub/kslack/api/methods/request/admin/users/AdminUsersSetAdminRequest.kt | uakihir0 | 794,979,552 | false | {"Kotlin": 1320977, "Java": 9455, "Ruby": 2164, "Shell": 2095, "Makefile": 316} | package com.github.seratch.jslack.api.methods.request.admin.users
import com.github.seratch.jslack.api.methods.SlackApiRequest
/**
* https://api.slack.com/methods/admin.users.setAdmin
*/
class AdminUsersSetAdminRequest internal constructor(
/**
* Authentication token bearing required scopes.
*/
ov... | 0 | Kotlin | 0 | 0 | 4d1299164adc8b8e638b02e0ca7e46afb10709f8 | 1,637 | kslack | MIT License |
app/src/main/java/com/example/admin_bookmarket/data/adapter/DetailBillItemAdapter.kt | tanpmclk14uit | 505,665,052 | false | {"Kotlin": 103596, "Java": 185} | package com.example.admin_bookmarket.data.adapter
import android.annotation.SuppressLint
import android.util.Log
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.recyclerview.widget.RecyclerView
import com.example.admin_bookmarket.data.model.Cart
import com.example.admin_bookmarket.data... | 0 | Kotlin | 0 | 0 | 6c0d28eb3c2e375807d89e001fb94f565ef871e3 | 1,838 | admin-Clone-CTSV | Apache License 2.0 |
android-client/app/src/main/java/com/sysu/example/fragment/AddPointDialogFragment.kt | sanfengliao | 219,294,772 | false | {"Markdown": 2, "Text": 2, "Gradle": 9, "XML": 64, "Shell": 2, "Batchfile": 2, "INI": 10, "Java Properties": 4, "Java": 3, "Ignore List": 9, "Python": 80, "JSON": 4, "Protocol Buffer": 1, "Thrift": 1, "Proguard": 5, "Kotlin": 48} | package com.sysu.example.fragment
import android.os.Bundle
import android.view.View
import android.widget.Button
import androidx.core.view.isVisible
import androidx.core.widget.addTextChangedListener
import com.liang.example.map.bean.DeepNaviCoordinator
import com.liang.example.map.bean.DeepNaviMap
import com.liang.ex... | 0 | Kotlin | 0 | 0 | dc405ac0010075c2eea63083528db7cb765ad161 | 7,895 | DeepNavi | Apache License 2.0 |
src/main/kotlin/org/rust/lang/core/types/RustTupleType.kt | Axure | 61,312,484 | true | {"Kotlin": 443736, "Rust": 78427, "Java": 66376, "Lex": 12007, "HTML": 1441, "RenderScript": 91} | package org.rust.lang.core.types
import org.rust.lang.core.types.visitors.RustTypeVisitor
class RustTupleType(val elements: Iterable<RustType>) : RustType {
override fun <T> accept(visitor: RustTypeVisitor<T>): T = visitor.visitTupleType(this)
override fun equals(other: Any?): Boolean {
throw Unsupp... | 0 | Kotlin | 0 | 0 | b9eb6161bb305800f9df43bc799872a68f9d1d1a | 520 | intellij-rust | MIT License |
src/main/kotlin/ocli/Builder.kt | moddyfire | 744,076,803 | false | {"Kotlin": 24145} | package ocli
import kotlin.reflect.KClass
import kotlin.reflect.KParameter
import kotlin.reflect.KType
import kotlin.reflect.full.findAnnotation
import kotlin.reflect.full.hasAnnotation
import kotlin.reflect.full.primaryConstructor
import kotlin.reflect.javaType
class Builder<out B : Any>(private val kClass: KClass<B... | 0 | Kotlin | 0 | 0 | aca7ae6453350a6e008d0d68de2e44a54fffaa9e | 5,284 | OCli | Apache License 2.0 |
urbanairship-live-update/src/main/java/com/urbanairship/liveupdate/notification/NotificationTimeoutCompat.kt | urbanairship | 58,972,818 | false | {"Kotlin": 3266979, "Java": 2582150, "Python": 10137, "Shell": 589} | package com.urbanairship.liveupdate.notification
import android.app.AlarmManager
import android.content.Context
import android.os.Build
import androidx.core.app.AlarmManagerCompat
import androidx.core.app.NotificationCompat
import com.urbanairship.UAirship
import com.urbanairship.util.Clock
import com.urbanairship.uti... | 2 | Kotlin | 122 | 111 | 21d49c3ffd373e3ba6b51a706a4839ab3713db11 | 1,810 | android-library | Apache License 2.0 |
src/main/kotlin/com/igorini/togepibot/gui/keyword/PartyKeyword.kt | igorini | 123,990,696 | false | null | package com.igorini.togepibot.gui.keyword
/** Represents a keyword for text and sound associated with "Party" */
object PartyKeyword : Keyword() {
override fun folder() = "party"
override fun voiceRus() = listOf("пати", "вечеринка", "вечеринку", "вечеринки", "тусовка", "тусим", "тусуемся", "тусовки", "тусы", "... | 0 | Kotlin | 0 | 0 | 80de398881b5999dfd107b12c9a279915788306b | 525 | togepi-bot | Apache License 2.0 |
src/main/kotlin/no/nav/syfo/consumer/pdl/PdlPersonRequest.kt | navikt | 156,704,941 | false | {"Kotlin": 110773, "Dockerfile": 253} | package no.nav.syfo.consumer.pdl
data class PdlPersonRequest(
val query: String,
val variables: PdlPersonRequestVariables,
)
data class PdlPersonRequestVariables(
val ident: String,
)
| 10 | Kotlin | 1 | 0 | c65533d3ff5939bf4d9dae3702dfbbd730d47f69 | 198 | syfo-tilgangskontroll | MIT License |
couchbase-lite/src/commonMain/kotlin/kotbase/Scope.kt | jeffdgr8 | 518,984,559 | false | null | /*
* Copyright 2023 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... | 1 | null | 1 | 67 | 339bea038018dff346cbfe0e4f8309c653b9f3b1 | 1,809 | kotbase | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.