path stringlengths 4 280 | owner stringlengths 2 39 | repo_id int64 21.1k 879M | is_fork bool 2
classes | languages_distribution stringlengths 13 1.95k ⌀ | content stringlengths 7 482k | issues int64 0 13.9k | main_language stringclasses 121
values | forks stringlengths 1 5 | stars int64 0 111k | commit_sha stringlengths 40 40 | size int64 7 482k | name stringlengths 1 100 | license stringclasses 93
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
src/main/kotlin/cn/tursom/RoomUtils.kt | tursom | 255,871,213 | false | null | package cn.tursom
import cn.tursom.core.fromJson
import cn.tursom.room.*
import cn.tursom.utils.AsyncHttpRequest
@Suppress("MemberVisibilityCanBePrivate")
object RoomUtils {
//const val roomInfoUrl = "https://api.live.bilibili.com/room/v1/Room/get_info"
const val roomInfoUrl = "http://api.live.bilibili.com/room/v... | 0 | Kotlin | 0 | 0 | e1fc79083536f8e4ec149d859d8e576bd9a71132 | 2,893 | BiliWS | MIT License |
sources/mobile/app/src/main/java/com/console/ratcord/domain/entity/debtAdjustment/DebtAdjustment.kt | Xelone28 | 766,079,514 | false | {"Kotlin": 273180, "C#": 198756, "JavaScript": 83774, "Python": 50479, "CSS": 12586, "Shell": 4593, "HTML": 1719, "Dockerfile": 1031} | package com.console.ratcord.domain.entity.debtAdjustment
import androidx.room.Entity
import androidx.room.PrimaryKey
import kotlinx.serialization.Serializable
@Serializable
@Entity
data class DebtAdjustment(
@PrimaryKey val id: Int,
val groupId : Int,
val userInCreditId: Int,
val userInDebtId: Int,
... | 11 | Kotlin | 0 | 0 | 74dde31034cd01fda5b1733bebe4615df67026cf | 401 | 3PROJ | MIT License |
src/main/kotlin/com/twcrone/spacemines/data/GameService.kt | space-mines | 174,262,991 | false | {"Kotlin": 11055, "Groovy": 2005} | package com.twcrone.spacemines.data
import org.springframework.stereotype.Service
import org.springframework.transaction.annotation.Transactional
@Service
open class GameService(
private val playerRepository: PlayerRepository,
private val gameRepository: GameRepository,
private val levelRepository: LevelReposit... | 0 | Kotlin | 0 | 0 | 9da5e3fea1ae200f2a551d0968bd963e83eebc91 | 3,694 | space-mines-api | MIT License |
common/src/commonMain/kotlin/dev/zwander/common/model/MainModel.kt | zacharee | 641,202,797 | false | {"Kotlin": 465345, "Swift": 10431, "Ruby": 2751, "Shell": 470} | package dev.zwander.common.model
import dev.zwander.common.model.adapters.*
import dev.zwander.common.util.TimestampedMutableStateFlow
import kotlinx.coroutines.flow.MutableStateFlow
object MainModel {
val currentMainData = TimestampedMutableStateFlow<MainData?>(null)
val currentClientData = TimestampedMutabl... | 14 | Kotlin | 4 | 91 | 3d958ae0b2581815d4e496b0fef69186cc3a8c4f | 640 | ArcadyanKVD21Control | MIT License |
app/src/main/java/org/coepi/android/domain/TcnMatcher.kt | mellowgeek | 250,538,164 | true | {"Kotlin": 295633, "Java": 86847, "Shell": 964} | package org.coepi.android.domain
import kotlinx.coroutines.Dispatchers.Default
import kotlinx.coroutines.async
import kotlinx.coroutines.awaitAll
import kotlinx.coroutines.coroutineScope
import kotlinx.coroutines.runBlocking
import org.coepi.android.extensions.toHex
import org.coepi.android.repo.reportsupdate.MatchedR... | 1 | Kotlin | 0 | 0 | 789ca9902f47423542c0428ba7d1752b87164f1e | 1,876 | app-android | MIT License |
wow-mongo/src/main/kotlin/me/ahoo/wow/mongo/Documents.kt | Ahoo-Wang | 628,167,080 | false | {"Kotlin": 2407170, "TypeScript": 50124, "Java": 37656, "HTML": 15900, "Lua": 3978, "JavaScript": 2514, "Dockerfile": 820, "SCSS": 609, "Less": 413} | /*
* Copyright [2021-present] [<NAME> <<EMAIL>> (https://github.com/Ahoo-Wang)].
* 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... | 3 | Kotlin | 22 | 167 | f9bf2e88ac483523692f8325f6c6a59bcb2259c2 | 3,653 | Wow | Apache License 2.0 |
wow-mongo/src/main/kotlin/me/ahoo/wow/mongo/Documents.kt | Ahoo-Wang | 628,167,080 | false | {"Kotlin": 2407170, "TypeScript": 50124, "Java": 37656, "HTML": 15900, "Lua": 3978, "JavaScript": 2514, "Dockerfile": 820, "SCSS": 609, "Less": 413} | /*
* Copyright [2021-present] [<NAME> <<EMAIL>> (https://github.com/Ahoo-Wang)].
* 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... | 3 | Kotlin | 22 | 167 | f9bf2e88ac483523692f8325f6c6a59bcb2259c2 | 3,653 | Wow | Apache License 2.0 |
forage-android/src/test/java/com/joinforage/forage/android/core/env/EnvConfigTest.kt | teamforage | 554,343,430 | false | {"Kotlin": 333963} | package com.joinforage.forage.android.core.env
import com.joinforage.forage.android.core.EnvConfig
import com.joinforage.forage.android.ui.ForageConfig
import org.assertj.core.api.Assertions.assertThat
import org.junit.Test
class EnvConfigTest_fromSessionToken {
@Test
fun `when passed null returns Sandbox`() ... | 5 | Kotlin | 0 | 0 | 8f86a943326f989fd5e9cbdaffb1058821fe4acf | 2,433 | forage-android-sdk | MIT License |
forage-android/src/test/java/com/joinforage/forage/android/core/env/EnvConfigTest.kt | teamforage | 554,343,430 | false | {"Kotlin": 333963} | package com.joinforage.forage.android.core.env
import com.joinforage.forage.android.core.EnvConfig
import com.joinforage.forage.android.ui.ForageConfig
import org.assertj.core.api.Assertions.assertThat
import org.junit.Test
class EnvConfigTest_fromSessionToken {
@Test
fun `when passed null returns Sandbox`() ... | 5 | Kotlin | 0 | 0 | 8f86a943326f989fd5e9cbdaffb1058821fe4acf | 2,433 | forage-android-sdk | MIT License |
Retos/Reto #3 - EL GENERADOR DE CONTRASEÑAS [Media]/kotlin/RO-MP.kt | mouredev | 581,049,695 | false | {"Python": 4194087, "JavaScript": 1590517, "Java": 1408944, "C#": 782329, "Kotlin": 533858, "TypeScript": 479964, "Rust": 357628, "Go": 322940, "PHP": 288620, "Swift": 278290, "C": 223896, "Jupyter Notebook": 221090, "C++": 175187, "Dart": 159755, "Ruby": 71132, "Perl": 52923, "VBScript": 49663, "HTML": 45912, "Raku": ... | import kotlin.random.Random
fun main() {
// Params definition
val length = 16
val containCapitals = true
val containNumbers = true
val containSymbols = true
if (length in 8..16) {
val password = getPassword(length, containCapitals, containNumbers, containSymbols)
println(passw... | 1 | Python | 2974 | 5,192 | f8c44ac12756b14a32abf57cbf4e0cd06ad58088 | 1,790 | retos-programacion-2023 | Apache License 2.0 |
target/app/src/main/java/com/yunwoon/targetproject/IntroActivity.kt | uunwon | 392,897,841 | false | null | package com.yunwoon.targetproject
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.os.Handler
import android.view.WindowManager
class IntroActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCrea... | 0 | Kotlin | 0 | 1 | dfe90b9e428fcb324abaf8b0ee47dd4cb1f48350 | 861 | Target | Apache License 2.0 |
relive-simulator-core/src/commonMain/kotlin/xyz/qwewqa/relive/simulator/core/presets/dress/generated/dress4010013.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,250 | relight | MIT License |
src/main/kotlin/model/Config.kt | YektaDev | 394,141,724 | false | null | data class Config(
val theme: Theme,
val window: Window,
)
data class Theme(
val isDark: Boolean,
val color: Color,
)
data class Window(
val widthP: Int,
val heightP: Int,
val alwaysOnTop: Boolean,
)
data class Color(
val front: Long,
val back: Long,
val primary: Long,
val... | 0 | Kotlin | 2 | 9 | 6c20dd71651479f07ba119f13e81d481a03bedb4 | 407 | Konsole | Apache License 2.0 |
app/src/main/java/com/anujandankit/foodrunner/activity/MainActivity.kt | appcreatorabhay | 710,860,531 | false | null | package com.anujandankit.foodrunner.activity
import android.app.AlertDialog
import android.content.Context
import android.content.Intent
import android.content.SharedPreferences
import android.os.AsyncTask
import android.os.Bundle
import android.view.MenuItem
import android.widget.TextView
import androidx.appcompat.ap... | 0 | Kotlin | 0 | 0 | 814a03a46708ac5d7bc5c412bdf1c07c84981fc0 | 8,854 | foodrunner | Apache License 2.0 |
core/src/commonMain/kotlin/com.chrynan.graphkl/language/parser/usecase/definition/ParseFragmentDefinitionUseCase.kt | chRyNaN | 230,310,677 | false | null | package com.chrynan.graphkl.language.parser.usecase.definition
import com.chrynan.graphkl.language.node.FragmentDefinitionNode
class ParseFragmentDefinitionUseCase {
operator fun invoke(): FragmentDefinitionNode = TODO()
} | 0 | Kotlin | 0 | 2 | 2526cedddc0a5b5777dea0ec7fc67bc2cd16fe05 | 229 | graphkl | Apache License 2.0 |
wearos/src/main/java/com/prosabdev/wearos/MainActivity.kt | 4kpros | 555,755,264 | false | {"Kotlin": 948923, "Java": 1923} | package com.prosabdev.wearos
import android.app.Activity
import android.os.Bundle
import com.prosabdev.wearos.databinding.ActivityMainBinding
class MainActivity : Activity() {
private lateinit var mBinding: ActivityMainBinding
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(saved... | 0 | Kotlin | 0 | 2 | c9363fa150d1cd34b0fac119c825bfe75e2f96e1 | 444 | FluidMusic | Apache License 2.0 |
library/modules/gdpr/src/main/java/com/michaelflisar/composedialogs/dialogs/gdpr/DialogGDPR.kt | MFlisar | 615,268,735 | false | {"Kotlin": 219223} | package com.michaelflisar.composedialogs.dialogs.ads
import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
import com.michaelflisar.composedialogs.core.Dialog
import com.michaelflisar.composedialogs.core.DialogButtons
import com.michaelflisar.composedialogs.core.DialogDefaults
import com.mi... | 2 | Kotlin | 2 | 30 | 544c0cea1200431846bf32d104e5164a819158a1 | 1,013 | ComposeDialogs | Apache License 2.0 |
app/src/main/java/com/perol/asdpl/pixivez/sql/entity/IllustEntity.kt | LuckXuemo | 221,128,046 | true | {"Java": 876786, "Kotlin": 597202} | package com.perol.asdpl.pixivez.sql.entity
import androidx.room.Entity
import androidx.room.PrimaryKey
| 0 | Java | 0 | 2 | 005805a34d977ad4b1bd09095211abd17768429c | 105 | Pix-EzViewer | MIT License |
core/src/rustyice/editor/annotations/ComponentProperty.kt | eyneill777 | 51,181,302 | false | {"Gradle": 5, "INI": 1, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "Markdown": 1, "Kotlin": 66, "Java": 3, "JSON": 3, "Java Properties": 1, "XML": 1} | package rustyice.editor.annotations
/**
* @author gabek
*/
@Retention(AnnotationRetention.RUNTIME)
@Target(AnnotationTarget.PROPERTY)
annotation class ComponentProperty()
| 1 | null | 1 | 1 | 1e22436d0860f9950d2f2e4fed984e9623b9b0db | 174 | SpacePirates | MIT License |
src/main/kotlin/com/fwdekker/randomness/string/StringScheme.kt | FWDekker | 96,791,256 | false | null | package com.fwdekker.randomness.string
import com.fwdekker.randomness.Bundle
import com.fwdekker.randomness.CapitalizationMode
import com.fwdekker.randomness.Icons
import com.fwdekker.randomness.Scheme
import com.fwdekker.randomness.TypeIcon
import com.fwdekker.randomness.array.ArrayDecorator
import com.fwdekker.rando... | 9 | null | 7 | 45 | 26475825f420720f2050cfbee4a738d615001009 | 5,691 | intellij-randomness | MIT License |
app/src/main/java/cn/cqautotest/sunnybeach/other/CrashHandler.kt | anjiemo | 378,095,612 | false | null | package cn.cqautotest.sunnybeach.other
import android.app.Application
import android.content.Context
import android.content.SharedPreferences
import android.os.Process
import cn.cqautotest.sunnybeach.ui.activity.CrashActivity
import cn.cqautotest.sunnybeach.ui.activity.RestartActivity
import kotlin.system.exitProcess
... | 1 | null | 6 | 95 | a2402da1cb6af963c829a69d9783053f15d866b5 | 2,605 | SunnyBeach | Apache License 2.0 |
app/src/main/java/com/giffinder/app/presentation/details/adapter/GifListAdapter.kt | maxchn | 499,102,675 | false | null | package com.giffinder.app.presentation.details.adapter
import android.view.ViewGroup
import androidx.recyclerview.widget.AsyncListDiffer
import androidx.recyclerview.widget.DiffUtil
import androidx.recyclerview.widget.RecyclerView
import com.giffinder.app.domain.entity.GifData
class GifListAdapter(
private val on... | 0 | Kotlin | 0 | 0 | b8b84bac183a13cadd4797c74b2b750b1ff82b3a | 1,522 | GifFinder | MIT License |
data/src/main/java/bruhcollective/itaysonlab/jetisteam/MmkvKvDatabase.kt | iTaysonLab | 529,265,880 | false | {"Kotlin": 665372} | package bruhcollective.itaysonlab.jetisteam
import bruhcollective.itaysonlab.jetisteam.controllers.ConfigService
import bruhcollective.itaysonlab.ksteam.database.keyvalue.KeyValueDatabase
import okhttp3.internal.EMPTY_BYTE_ARRAY
import javax.inject.Inject
import javax.inject.Singleton
@Singleton
class MmkvKvDatabase ... | 2 | Kotlin | 4 | 87 | 04fb50f721342bbec5efea17cf681fba37114993 | 1,283 | jetisteam | Apache License 2.0 |
line-awesome/src/commonMain/kotlin/compose/icons/lineawesomeicons/BedSolid.kt | DevSrSouza | 311,134,756 | false | {"Kotlin": 36756847} | package compose.icons.lineawesomeicons
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
... | 15 | Kotlin | 20 | 460 | 651badc4ace0137c5541f859f61ffa91e5242b83 | 3,895 | compose-icons | MIT License |
app/src/main/java/org/vitrivr/vitrivrapp/di/AppComponent.kt | iammvaibhav | 134,688,773 | false | {"Kotlin": 290803, "JavaScript": 26575} | package org.vitrivr.vitrivrapp.di
import dagger.Component
import org.vitrivr.vitrivrapp.App
import org.vitrivr.vitrivrapp.data.helper.SharedPreferenceHelper
import org.vitrivr.vitrivrapp.data.repository.QueryResultsRepository
import org.vitrivr.vitrivrapp.features.addmedia.AddMediaActivity
import org.vitrivr.vitrivrap... | 0 | Kotlin | 1 | 3 | 81ee1d7ff3d1237c3d5739da5c6607b5b2b0906d | 1,929 | vitrivr-App | MIT License |
ui/settings/src/main/kotlin/app/surgo/ui/settings/advanced/AdvancedAction.kt | tsukiymk | 382,220,719 | false | {"Kotlin": 889558, "Shell": 553, "CMake": 252, "C++": 166} | package app.surgo.ui.settings.advanced
internal sealed interface AdvancedAction {
object OpenManageSource : AdvancedAction
}
| 0 | Kotlin | 0 | 0 | 99038e0621ecc17e47965c3b352391c6a780f26c | 130 | surgo | Apache License 2.0 |
executor/type/src/commonMain/kotlin/io/github/charlietap/chasm/executor/type/matching/NumberTypeMatcher.kt | CharlieTap | 743,980,037 | false | {"Kotlin": 1682566, "WebAssembly": 75112} | package io.github.charlietap.chasm.executor.type.matching
import io.github.charlietap.chasm.ast.type.NumberType
@Suppress("UNUSED_PARAMETER")
fun NumberTypeMatcher(
type1: NumberType,
type2: NumberType,
context: TypeMatcherContext,
): Boolean = type1 == type2
| 2 | Kotlin | 2 | 43 | addbd2285ab2c9a7f0c12bb0d9fd246241f59513 | 274 | chasm | Apache License 2.0 |
libnavigation-core/src/main/java/com/mapbox/navigation/core/lifecycle/RequireMapboxNavigation.kt | mapbox | 87,455,763 | false | {"Kotlin": 8885438, "Makefile": 8762, "Python": 7925, "Java": 4624} | @file:JvmName("RequireMapboxNavigation")
package com.mapbox.navigation.core.lifecycle
import androidx.lifecycle.DefaultLifecycleObserver
import androidx.lifecycle.Lifecycle
import androidx.lifecycle.LifecycleOwner
import com.mapbox.navigation.core.MapboxNavigation
import com.mapbox.navigation.core.lifecycle.MapboxNav... | 508 | Kotlin | 319 | 621 | ad73c6011348cb9b24b92a369024ca06f48845ab | 5,523 | mapbox-navigation-android | Apache License 2.0 |
android/src/main/kotlin/com/oztechan/ccc/android/ui/adremove/AdRemoveBottomSheet.kt | CurrencyConverterCalculator | 102,633,334 | false | null | /*
* Copyright (c) 2021 <NAME>. All rights reserved.
*/
package com.github.mustafaozhan.ccc.android.ui.adremove
import android.os.Bundle
import android.view.View
import androidx.lifecycle.flowWithLifecycle
import androidx.lifecycle.lifecycleScope
import co.touchlab.kermit.Logger
import com.github.mustafaozhan.ad.Ad... | 25 | null | 22 | 193 | 375828be4dcca3c99d0b0d084fa125cff1ad9895 | 6,358 | CCC | Apache License 2.0 |
android/src/main/kotlin/com/oztechan/ccc/android/ui/adremove/AdRemoveBottomSheet.kt | CurrencyConverterCalculator | 102,633,334 | false | null | /*
* Copyright (c) 2021 Mustafa Ozhan. All rights reserved.
*/
package com.github.mustafaozhan.ccc.android.ui.adremove
import android.os.Bundle
import android.view.View
import androidx.lifecycle.flowWithLifecycle
import androidx.lifecycle.lifecycleScope
import co.touchlab.kermit.Logger
import com.github.mustafaozha... | 25 | null | 22 | 193 | 375828be4dcca3c99d0b0d084fa125cff1ad9895 | 6,365 | CCC | Apache License 2.0 |
app/src/main/java/com/sshex/multistack/navigation/BarAction.kt | ShadyRover | 214,213,910 | false | null | package com.sshex.multistack.navigation
data class BarAction(val graphId:Int, val selectFromUser:Boolean) | 0 | Kotlin | 0 | 0 | 5e1acd0d272c8fcb0bc529b4f39541f452febf8b | 106 | Navigation-Multistack-Component | Apache License 2.0 |
app/src/main/java/com/sshex/multistack/navigation/BarAction.kt | ShadyRover | 214,213,910 | false | null | package com.sshex.multistack.navigation
data class BarAction(val graphId:Int, val selectFromUser:Boolean) | 0 | Kotlin | 0 | 0 | 5e1acd0d272c8fcb0bc529b4f39541f452febf8b | 106 | Navigation-Multistack-Component | Apache License 2.0 |
app/src/main/java/com/example/notesapp/activities/AddNoteActivity.kt | Thre4dripper | 461,553,628 | false | {"Kotlin": 54718} | package com.example.notesapp.activities
import android.app.Activity
import android.content.Intent
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import androidx.databinding.DataBindingUtil
import com.example.notesapp.R
import com.example.notesapp.databinding.ActivityAddNoteBinding
import com.... | 0 | Kotlin | 0 | 0 | bb95d03c8c217932a39214ad4d5b97ad37794faa | 3,593 | NotesApp-AndroidApp | MIT License |
app/src/main/java/com/fahim/example_employee_app/di/anotation/ChildFragmentScoped.kt | fahim44 | 217,901,596 | false | null | package com.selva.example_employee_app.di.anotation
import kotlin.annotation.Retention
import kotlin.annotation.Target
import kotlin.annotation.AnnotationRetention
import javax.inject.Scope
/**
* The ChildFragmentScoped custom scoping annotation specifies that the lifespan of a dependency be
* the same as that of ... | 0 | null | 1 | 2 | 003de32135692f8006313f59c8d01dba0c4f63ce | 612 | Example-Employee-App | MIT License |
libadwaita-bindings/src/nativeMain/kotlin/bindings.adw/Application.kt | vbsteven | 582,302,322 | false | null | package bindings.adw
import bindings.gobject.asTypedPointer
import internal.BuiltinTypeInfo
import kotlinx.cinterop.CPointer
import kotlinx.cinterop.sizeOf
import native.adwaita.ADW_TYPE_APPLICATION
import native.adwaita.AdwApplication
import native.adwaita.AdwApplicationClass
import native.adwaita.adw_application_new... | 0 | Kotlin | 0 | 24 | af5f6c9d32498b6e791a92503dfb45ebfd1af6c3 | 1,019 | gtk-kotlin-native | MIT License |
keel-web/src/main/kotlin/com/netflix/spinnaker/keel/rest/ExportController.kt | spinnaker | 107,462,081 | false | null | package com.netflix.spinnaker.keel.rest
import com.netflix.spinnaker.keel.api.Exportable
import com.netflix.spinnaker.keel.api.ResourceKind
import com.netflix.spinnaker.keel.api.ResourceKind.Companion.parseKind
import com.netflix.spinnaker.keel.api.plugins.ResourceHandler
import com.netflix.spinnaker.keel.api.plugins.... | 3 | null | 144 | 99 | 6115964c42e863cfd269616a836145b883f165f3 | 5,023 | keel | Apache License 2.0 |
src/main/kotlin/com/pasmodev/training/app/service/RegisterBookAppService.kt | pasmontesinos | 167,554,439 | false | null | /*
* Copyright 2019 Pascual Montesinos - https://www.linkedin.com/in/pasmontesinos
*
* 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
*... | 0 | Kotlin | 0 | 2 | 46a7dbf97d0f3372b0f470ce6c7d827b367b84ba | 2,750 | pmd-spring-boot-kotlin-training | Apache License 2.0 |
src/test/kotlin/g0701_0800/s0773_sliding_puzzle/SolutionTest.kt | javadev | 190,711,550 | false | {"Kotlin": 4909193, "TypeScript": 50446, "Python": 3646, "Shell": 994} | package g0701_0800.s0773_sliding_puzzle
import org.hamcrest.CoreMatchers.equalTo
import org.hamcrest.MatcherAssert.assertThat
import org.junit.jupiter.api.Test
internal class SolutionTest {
@Test
fun slidingPuzzle() {
assertThat(Solution().slidingPuzzle(arrayOf(intArrayOf(1, 2, 3), intArrayOf(4, 0, 5)... | 0 | Kotlin | 20 | 43 | 62708bc4d70ca2bfb6942e4bbfb4c64641e598e8 | 649 | LeetCode-in-Kotlin | MIT License |
src/test/kotlin/g0701_0800/s0773_sliding_puzzle/SolutionTest.kt | javadev | 190,711,550 | false | {"Kotlin": 4909193, "TypeScript": 50446, "Python": 3646, "Shell": 994} | package g0701_0800.s0773_sliding_puzzle
import org.hamcrest.CoreMatchers.equalTo
import org.hamcrest.MatcherAssert.assertThat
import org.junit.jupiter.api.Test
internal class SolutionTest {
@Test
fun slidingPuzzle() {
assertThat(Solution().slidingPuzzle(arrayOf(intArrayOf(1, 2, 3), intArrayOf(4, 0, 5)... | 0 | Kotlin | 20 | 43 | 62708bc4d70ca2bfb6942e4bbfb4c64641e598e8 | 649 | LeetCode-in-Kotlin | MIT License |
app/src/main/java/com/weatherxm/data/datasource/RewardsDataSource.kt | WeatherXM | 728,657,649 | false | {"Kotlin": 1128981} | package com.weatherxm.data.datasource
import arrow.core.Either
import com.weatherxm.data.BoostRewardResponse
import com.weatherxm.data.Failure
import com.weatherxm.data.RewardDetails
import com.weatherxm.data.Rewards
import com.weatherxm.data.RewardsTimeline
import com.weatherxm.data.WalletRewards
import com.weatherxm... | 4 | Kotlin | 2 | 9 | eeb403f6da5f4e54e126e71edacf90c102bb0748 | 2,326 | wxm-android | Apache License 2.0 |
lib/src/main/java/de/inovex/blog/aidldemo/chatbot/lib/BotManager.kt | inovex | 645,052,604 | false | null | package de.inovex.blog.aidldemo.chatbot.lib
import android.content.ComponentName
import android.content.Context
import android.content.Intent
import android.content.ServiceConnection
import android.os.IBinder
import timber.log.Timber
/**
* Connection manager which handles the binding of the bound BotService, checks ... | 0 | Kotlin | 0 | 0 | c8b84373ccd5ec0953ec88365a32267b170e8729 | 2,929 | blog-android-service-kotlin-api-demo | Apache License 2.0 |
dsl/src/main/kotlin/io/cloudshiftdev/awscdkdsl/services/servicecatalog/CfnResourceUpdateConstraintPropsDsl.kt | cloudshiftinc | 667,063,030 | false | {"Kotlin": 63959868} | @file:Suppress(
"RedundantVisibilityModifier",
"RedundantUnitReturnType",
"RemoveRedundantQualifierName",
"unused",
"UnusedImport",
"ClassName",
"REDUNDANT_PROJECTION",
"DEPRECATION"
)
package io.cloudshiftdev.awscdkdsl.services.servicecatalog
import io.cloudshiftdev.awscdkdsl.common.C... | 3 | Kotlin | 0 | 3 | c59c6292cf08f0fc3280d61e7f8cff813a608a62 | 2,924 | awscdk-dsl-kotlin | Apache License 2.0 |
finch-java-core/src/test/kotlin/com/tryfinch/api/models/HrisIndividualRetrieveManyParamsTest.kt | Finch-API | 581,317,330 | false | {"Kotlin": 2738814, "Shell": 3626, "Java": 925, "Dockerfile": 366} | package com.tryfinch.api.models
import com.tryfinch.api.models.*
import org.assertj.core.api.Assertions.assertThat
import org.junit.jupiter.api.Test
class HrisIndividualRetrieveManyParamsTest {
@Test
fun createHrisIndividualRetrieveManyParams() {
HrisIndividualRetrieveManyParams.builder()
... | 2 | Kotlin | 1 | 5 | 2c6a4101439a510053c378c50c216f14e9d77154 | 2,016 | finch-api-java | Apache License 2.0 |
sample/shared/src/commonMain/kotlin/com/rickclephas/kmp/nativecoroutines/sample/tests/CompilerIntegrationTests.kt | rickclephas | 374,341,212 | false | null | package com.rickclephas.kmp.nativecoroutines.sample.tests
import com.rickclephas.kmp.nativecoroutines.NativeCoroutines
import com.rickclephas.kmp.nativecoroutines.NativeCoroutinesIgnore
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.flow
class CompilerIntegrationTests<V>: IntegrationTests() {
... | 15 | null | 28 | 654 | 768283b9db3e38b91d482e6615001843d712acf3 | 1,430 | KMP-NativeCoroutines | MIT License |
app/src/main/java/com/example/androiddevchallenge/screens/HomeScreen.kt | nguyenHanhNguyen | 347,578,812 | false | null | package com.example.androiddevchallenge.screens
import androidx.compose.runtime.Composable
import androidx.compose.ui.tooling.preview.Preview
import com.example.androiddevchallenge.ui.theme.MyTheme
@Composable
fun HomeScreen() {
}
@Preview("Light Theme", widthDp = 360, heightDp = 640)
@Composable
fun LightPreviewHo... | 0 | Kotlin | 0 | 0 | 3d6d94f0eb5b5848bd14eb11c052947dc50f1437 | 521 | week3_compose | Apache License 2.0 |
NavigationCodelab/app/src/main/java/com/example/compose/rally/RallyNavHost.kt | PaulinaSadowska | 448,604,363 | true | {"Kotlin": 598770, "Shell": 2341} | package com.example.compose.rally
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.navigation.NavHostController
import androidx.navigation.NavType
import androidx.navigation.compose.NavHost
import androidx.navigation.compose.composable
import androidx.navigation.navArgumen... | 0 | Kotlin | 0 | 0 | b3a4236be829a47bb025364e467df4d61f775113 | 2,420 | android-compose-codelabs | Apache License 2.0 |
instantsearch/src/androidMain/kotlin/com/algolia/instantsearch/android/filter/facet/dynamic/DynamicFacetModel.kt | algolia | 55,971,521 | false | null | package com.algolia.instantsearch.helper.android.filter.facet.dynamic
import com.algolia.search.model.Attribute
import com.algolia.search.model.search.Facet
/**
* Facet view model to be rendered.
*/
public sealed class DynamicFacetModel {
/**
* Attribute view to be rendered.
*/
public data class ... | 5 | null | 30 | 156 | eaf37a61303a8b9c5688a596e8aeab29dfbba398 | 550 | instantsearch-android | Apache License 2.0 |
app/src/main/java/com/muhammetkdr/weatherapp/data/repository/city/CityRepositoryImpl.kt | mskdr | 592,702,997 | false | null | package com.muhammetkdr.weatherapp.data.repository.city
import com.muhammetkdr.weatherapp.common.extensions.mapResource
import com.muhammetkdr.weatherapp.common.utils.Resource
import com.muhammetkdr.weatherapp.data.dto.city.CitiesResponse
import com.muhammetkdr.weatherapp.data.listmapper.ListMapper
import com.muhammet... | 0 | null | 0 | 5 | d0bcd4634234fa6ebdede7e5c7cdec521a669927 | 1,275 | WeatherApp | MIT License |
kafka-connect-upload-source/src/main/java/org/radarbase/connect/upload/converter/oxford/CameraDataFileProcessor.kt | RADAR-base | 179,307,077 | false | null | package org.radarbase.connect.upload.converter.oxford
import org.radarbase.connect.upload.api.ContentsDTO
import org.radarbase.connect.upload.api.RecordDTO
import org.radarbase.connect.upload.converter.ConverterFactory
import org.radarbase.connect.upload.converter.FileProcessor
import org.radarbase.connect.upload.conv... | 27 | Kotlin | 1 | 1 | 8ab51c5f80a69ab25a164a284dcfc7c2a798cea5 | 4,121 | radar-upload-source-connector | Apache License 2.0 |
common/common-ui/src/main/java/com/duckduckgo/common/ui/view/button/RadioButton.kt | duckduckgo | 78,869,127 | false | null | /*
* Copyright (c) 2022 DuckDuckGo
*
* 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 ... | 67 | null | 901 | 3,823 | 6415f0f087a11a51c0a0f15faad5cce9c790417c | 1,027 | Android | Apache License 2.0 |
src/main/kotlin/kr/sixtyfive/Dropbox.kt | snowphone | 370,909,635 | false | null | package kr.sixtyfive
import com.google.gson.GsonBuilder
import org.codehaus.httpcache4j.uri.URIEncoder
import org.slf4j.LoggerFactory
import java.awt.Desktop
import java.io.BufferedInputStream
import java.io.ByteArrayInputStream
import java.io.FileWriter
import java.io.InputStream
import java.net.URI
import java.net.U... | 0 | Kotlin | 0 | 1 | 27b2fd58bbe72727f7f9ebe0afd77ed1c2bcecb1 | 5,004 | async-dropbox | MIT License |
src/main/java/com/mallowigi/search/parsers/NetColorParser.kt | AtomMaterialUI | 215,215,096 | false | null | /*
* The MIT License (MIT)
*
* Copyright (c) 2015-2022 <NAME>Mallowigi" Boukhobza
*
* 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 th... | 8 | null | 25 | 41 | 0fc0f5c0d8c1f3f25952f6b690797aba409cc37d | 2,380 | color-highlighter | MIT License |
time/src/main/kotlin/ca/allanwang/discord/bot/time/TimeApi.kt | AllanWang | 293,650,128 | false | null | package ca.allanwang.discord.bot.time
import ca.allanwang.discord.bot.base.ColorPalette
import ca.allanwang.discord.bot.firebase.*
import com.google.common.flogger.FluentLogger
import com.google.firebase.database.DatabaseReference
import dev.kord.common.Color
import dev.kord.common.entity.Snowflake
import dev.kord.cor... | 6 | Kotlin | 2 | 2 | d0715af30a1dc8cb883a79fbc7fcbca5ed482805 | 4,192 | Discord-Bot | Apache License 2.0 |
rounded/src/commonMain/kotlin/me/localx/icons/rounded/outline/Hippo.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.rounded.outline
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,504 | icons | MIT License |
lightweightlibrary/src/main/java/com/tradingview/lightweightcharts/api/delegates/SeriesApiDelegate.kt | grietzercs | 306,704,587 | true | {"Kotlin": 112058, "JavaScript": 21903, "HTML": 142} | package com.tradingview.lightweightcharts.api.delegates
import com.google.gson.reflect.TypeToken
import com.tradingview.lightweightcharts.Logger
import com.tradingview.lightweightcharts.api.interfaces.SeriesApi
import com.tradingview.lightweightcharts.api.interfaces.SeriesApi.Func.APPLY_OPTIONS
import com.tradingview.... | 0 | null | 0 | 0 | 3dc7289f1860d8ed7374884ebbcfaf9a712b8174 | 4,954 | lightweight-charts-android | Apache License 2.0 |
compiler/testData/ir/box/closureConversion/closureConversion4.kt | JakeWharton | 99,388,807 | false | null | fun String.foo(): String {
fun bar(y: String) = this + y
return bar("K")
}
fun box() = "O".foo() | 179 | null | 5640 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 105 | kotlin | Apache License 2.0 |
app/src/androidTest/java/com/skydoves/themovies/db/DbTest.kt | paolorotolo | 163,106,329 | true | {"Kotlin": 173848} | package com.skydoves.themovies.db
import androidx.room.Room
import androidx.test.InstrumentationRegistry
import androidx.test.runner.AndroidJUnit4
import com.skydoves.themovies.room.AppDatabase
import org.junit.After
import org.junit.Before
import org.junit.runner.RunWith
/**
* Developed by skydoves on 2018-08-10.
... | 0 | Kotlin | 0 | 2 | f784a842ba15feaeb1e958e0267f550160554a5d | 686 | TheMovies | MIT License |
src/main/kotlin/com/epam/brn/auth/model/UserAccountCredentials.kt | Brain-up | 216,092,521 | false | {"Kotlin": 1057933, "Handlebars": 512629, "TypeScript": 401203, "JavaScript": 168755, "HTML": 45401, "CSS": 30742, "SCSS": 27412, "RAML": 22982, "Makefile": 545, "Shell": 405, "Dockerfile": 185} | package com.epam.brn.auth.model
import com.google.firebase.auth.FirebaseToken
data class UserAccountCredentials(
private val decodedToken: FirebaseToken?,
private val idToken: String?
)
| 114 | Kotlin | 26 | 61 | 310cfcae2b9780740554396271444388258ce8da | 196 | brn | Creative Commons Zero v1.0 Universal |
src/main/kotlin/day04/Solution.kt | kcchoate | 683,597,644 | false | {"Kotlin": 25162} | package day04
import day04.models.BingoGame
import java.io.File
class Solution {
val input = File("src/main/kotlin/day04/input.txt").readText()
fun solve(): Int {
val game = BingoGame(input)
val lastNumber = game.play()
val winner = game.getWinner().get()
return winner.getSco... | 0 | Kotlin | 0 | 1 | 3e7c24bc69a4de168ce0bdff855323c803b9a9a8 | 343 | advent-of-kotlin | MIT License |
js/js.translator/testData/box/inlineMultiModule/kt16160.kt | JakeWharton | 99,388,807 | false | null | // EXPECTED_REACHABLE_NODES: 1011
// MODULE: main(module2)
// FILE: main.kt
// CHECK_CONTAINS_NO_CALLS: box except=foo;bar;toString
import A.test
fun box(): String {
if (A.test() != 3) return "A.test()" + A.test()
if (B.test() != 6) return "B.test()" + B.test()
if (B().foo() != 4) return "B().foo()" + B(... | 184 | null | 5748 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 1,402 | kotlin | Apache License 2.0 |
compiler/ir/backend.js/src/org/jetbrains/kotlin/ir/backend/js/transformers/irToJs/JsNameLinkingNamer.kt | JetBrains | 3,432,266 | false | null | /*
* Copyright 2010-2021 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.ir.backend.js.transformers.irToJs
import org.jetbrains.kotlin.ir.backend.js.JsIr... | 182 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 9,939 | kotlin | Apache License 2.0 |
B4F-SDK-Android/src/main/java/com/batura/b4fLibrary/rest/models/Unlink.kt | Brand4Fans | 488,617,670 | false | {"Kotlin": 123340} | /**
* Third Party B4F Service
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: v1
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit ... | 0 | Kotlin | 0 | 0 | 3a531d1fe86dfefb9f14391a82fd978a619b9108 | 585 | B4F-SDK-Android | Apache License 2.0 |
src/main/kotlin/nebula/plugin/resolutionrules/gradleInterop.kt | jotel | 78,635,695 | true | {"Groovy": 117755, "Kotlin": 27631, "Shell": 1197} | package nebula.plugin.resolutionrules
import groovy.lang.Closure
import org.gradle.api.Action
inline fun <T> T.groovyClosure(crossinline call: () -> Unit) = object : Closure<Unit>(this) {
@Suppress("unused")
fun doCall() {
call()
}
}
inline fun <U> Any.action(crossinline call: U.() -> Unit) = Act... | 0 | Groovy | 0 | 0 | 67a93773d9e6fc9f92d5b82d1b408e0bca9192a0 | 340 | gradle-resolution-rules-plugin | Apache License 2.0 |
app/src/main/kotlin/de/bahnhoefe/deutschlands/bahnhofsfotos/model/Country.kt | androidoma | 66,291,451 | false | {"Gradle Kotlin DSL": 3, "YAML": 5, "Java Properties": 2, "Shell": 1, "Text": 94, "Ignore List": 1, "Batchfile": 1, "Markdown": 1, "TOML": 1, "Proguard": 1, "JSON": 7, "Kotlin": 88, "XML": 183} | package de.bahnhoefe.deutschlands.bahnhofsfotos.model
import java.io.Serializable
import java.util.Objects
data class Country @JvmOverloads constructor(
val code: String,
val name: String,
val email: String? = null,
val timetableUrlTemplate: String? = null,
val overrideLicense: String? = null,
... | 9 | Kotlin | 13 | 29 | 339bdb6ab7571c85e82d23bb0832acee75d89de2 | 1,203 | RSAndroidApp | MIT License |
feature-account-impl/src/main/java/io/novafoundation/nova/feature_account_impl/presentation/paritySigner/connect/finish/FinishImportParitySignerViewModel.kt | novasamatech | 415,834,480 | false | {"Kotlin": 7662683, "Java": 14723, "JavaScript": 425} | package io.novafoundation.nova.feature_account_impl.presentation.paritySigner.connect.finish
import io.novafoundation.nova.common.resources.ResourceManager
import io.novafoundation.nova.feature_account_api.domain.interfaces.AccountInteractor
import io.novafoundation.nova.feature_account_api.presenatation.account.creat... | 5 | Kotlin | 9 | 9 | 651db6927cdc6ff89448c83d451c84bda937e9fc | 1,510 | nova-wallet-android | Apache License 2.0 |
processor/src/main/kotlin/com/dbflow5/processor/definition/IndexGroupsDefinition.kt | agrosner | 24,161,015 | false | null | package com.dbflow5.processor.definition
import com.grosner.kpoet.S
import com.grosner.kpoet.`=`
import com.grosner.kpoet.field
import com.grosner.kpoet.final
import com.grosner.kpoet.public
import com.grosner.kpoet.static
import com.dbflow5.annotation.IndexGroup
import com.dbflow5.processor.definition.column.ColumnDe... | 38 | null | 613 | 4,865 | e1b6211dac6ddc0aa0c1c9a76a116478ccf92b86 | 1,476 | DBFlow | MIT License |
data/traktauth/src/iosMain/kotlin/app/tivi/data/traktauth/IosAuthStore.kt | chrisbanes | 100,624,553 | false | null | // Copyright 2023, Christopher Banes and the Tivi project contributors
// SPDX-License-Identifier: Apache-2.0
package app.tivi.data.traktauth
import app.tivi.app.ApplicationInfo
import app.tivi.data.traktauth.store.AuthStore
import app.tivi.util.AppCoroutineDispatchers
import com.russhwolf.settings.ExperimentalSettin... | 23 | null | 876 | 6,626 | e261ffbded01c1439b93c550cd6e714c13bb9192 | 2,109 | tivi | Apache License 2.0 |
knee-gradle-plugin/src/main/kotlin/tasks/UnpackageCodegenSources.kt | deepmedia | 552,404,398 | false | {"Kotlin": 544280} | package tasks
import org.gradle.api.file.ConfigurableFileCollection
import org.gradle.api.file.DirectoryProperty
import org.gradle.api.file.ProjectLayout
import org.gradle.api.model.ObjectFactory
import org.gradle.api.tasks.Copy
import org.gradle.api.tasks.InputFiles
import org.gradle.api.tasks.OutputDirectory
import ... | 5 | Kotlin | 2 | 76 | 033fe352320a38b882381929fecb7b1811e00ebb | 813 | Knee | Apache License 2.0 |
compiler/testData/codegen/bytecodeText/callableReference/boundFieldReferenceInInline.kt | JetBrains | 3,432,266 | false | {"Kotlin": 79571273, "Java": 6776465, "Swift": 4063829, "C": 2609744, "C++": 1957654, "Objective-C++": 175279, "JavaScript": 130754, "Python": 59855, "Shell": 34920, "Objective-C": 21463, "Lex": 21452, "Batchfile": 11382, "CSS": 11368, "Ruby": 10470, "Dockerfile": 9907, "Groovy": 7092, "EJS": 5241, "CMake": 4473, "HTML... | // IGNORE_BACKEND_FIR: JVM_IR
// FILE: JClass.java
public class JClass {
public int field;
}
// FILE: main.kt
fun box(): String {
return if (call(10, JClass()::field) == 5) "OK" else "fail"
}
inline fun call(p: Int, s: () -> Int): Int {
return s()
}
// 1 NEW JClass
// 1 NEW | 181 | Kotlin | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 290 | kotlin | Apache License 2.0 |
platform/vcs-api/src/com/intellij/openapi/vcs/ui/cloneDialog/VcsCloneDialogExtension.kt | ingokegel | 284,920,751 | false | null | // Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.openapi.vcs.ui.cloneDialog
import com.intellij.openapi.application.ModalityState
import com.intellij.openapi.extensions.ExtensionPointName
import com.intellij.openapi.project.Pr... | 214 | null | 4829 | 2 | dc846ecb926c9d9589c1ed8a40fdb20e47874db9 | 2,015 | intellij-community | Apache License 2.0 |
straight/src/commonMain/kotlin/me/localx/icons/straight/filled/SolarPanelSun.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.straight.filled
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 4,178 | icons | MIT License |
app-data/src/main/java/me/dmba/teamworkboards/data/model/source/remote/model/ProjectsResponse.kt | dmba | 141,046,741 | false | {"Kotlin": 86040} | package me.dmba.teamworkboards.data.model.source.remote.model
import com.google.gson.annotations.SerializedName
/**
* Created by dmba on 7/17/18.
*/
data class ProjectsResponse(
@SerializedName("STATUS") val status: String,
@SerializedName("projects") val projects: List<Project>
)
data class Project(
... | 3 | Kotlin | 0 | 0 | a3d31225ebad80ae15158ca18ca0780b81c5726f | 2,567 | teamwork-boards | Apache License 2.0 |
app/src/main/java/com/coofee/dep/demo/MainActivity.kt | coofee | 217,515,717 | false | null | package com.coofee.dep.demo
import android.os.AsyncTask
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.coofee.dep.TaskManager
import kotlinx.android.synthetic.main.activity_main.*
class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
... | 1 | null | 1 | 1 | a791455c34734ece5a3ac1beb810ad3cda2e4d2b | 1,493 | Dep | Apache License 2.0 |
src/main/kotlin/com/github/gabrielshanahan/phpkt/expressions/assignables/Assignable.kt | gabrielshanahan | 226,652,392 | false | null | package com.github.gabrielshanahan.phpkt.expressions.assignables
import com.github.gabrielshanahan.phpkt.Expression
import java.util.*
/**
* The base class for PHP assignables with the name [name].
*
* There are basically two types of assignables - [simple variables][SimpleVariable] (e.g. $a) or
* [variables whic... | 0 | Kotlin | 0 | 0 | 132f9ef6a517646f1ea1272af8a3066c4c147785 | 2,356 | PhpKt | MIT License |
src/main/kotlin/no/nav/api/sporreundersokelse/SpørreundersøkelseDTO.kt | navikt | 644,356,194 | false | {"Kotlin": 131314, "Dockerfile": 214} | package no.nav.api.sporreundersokelse
import kotlinx.serialization.Serializable
import java.util.UUID
import no.nav.domene.sporreundersokelse.SpørsmålOgSvaralternativer
import no.nav.util.UUIDSerializer
@Serializable
data class SpørsmålOgSvaralternativerDTO (
@Serializable(with = UUIDSerializer::class)
val id... | 0 | Kotlin | 0 | 0 | a93704c4741562406ed5e429c77b2bd6a7c8a316 | 715 | fia-arbeidsgiver | MIT License |
kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/destinations/LambdaDestination.kt | cloudshiftinc | 667,063,030 | false | {"Kotlin": 149148378} | @file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION")
package io.cloudshiftdev.awscdk.services.logs.destinations
import io.cloudshiftdev.awscdk.common.CdkDslMarker
import io.cloudshiftdev.awscdk.c... | 1 | Kotlin | 0 | 4 | ddf2bfd2275b50bb86a667c4298dd92f59d7e342 | 4,662 | kotlin-cdk-wrapper | Apache License 2.0 |
shared/src/main/kotlin/me/rasztabiga/thesis/shared/adapter/in/rest/api/WithdrawBalanceRequest.kt | BartlomiejRasztabiga | 604,846,079 | false | {"Kotlin": 368953, "TypeScript": 109077, "Python": 10389, "Dockerfile": 1695, "Shell": 662, "JavaScript": 618, "CSS": 59} | package me.rasztabiga.thesis.shared.adapter.`in`.rest.api
import java.math.BigDecimal
data class WithdrawBalanceRequest(
val amount: BigDecimal,
val targetBankAccount: String
)
| 31 | Kotlin | 0 | 2 | c8c84b606788fd5100bd816c0ca1e033d8ab00c2 | 187 | thesis | MIT License |
app/src/main/java/com/ayni/heroesatwork/models/Game.kt | aynigames | 107,723,388 | false | null | package com.ayni.heroesatwork.models
import java.util.*
class Game() {
private var gameId: Int = 0
var organizationId: Int = 0
var gameTemplateId: Int = 0
lateinit var name: String
private lateinit var status: String
var gameMasterId: Int = 0
var gameVisibility: Int = 0
lateinit var c... | 0 | Kotlin | 0 | 0 | fe6408a16212403ff837096ed4c8be948efdae19 | 1,615 | heroes-at-work-android | MIT License |
buildSrc/src/main/kotlin/DependencyGradle.kt | frogobox | 463,901,878 | false | {"Kotlin": 168173, "Java": 77640} | /*
* Created by faisalamir on 19/09/21
* FrogoRecyclerView
* -----------------------------------------
* Name : Muhammad Faisal Amir
* E-mail : faisalamircs@gmail.com
* Github : github.com/amirisback
* -----------------------------------------
* Copyright (C) 2021 FrogoBox Inc.
* All rights reserved
*... | 0 | Kotlin | 3 | 22 | ca169e252ea5f9ec03333aaa35541d691e244e13 | 765 | frogo-ui | Apache License 2.0 |
app/src/main/java/me/wsj/fengyun/view/TempChart.kt | wsjAliYun | 283,814,909 | false | null | package me.wsj.fengyun.view
import android.content.Context
import android.graphics.Canvas
import android.graphics.Color
import android.graphics.Paint
import android.util.AttributeSet
import android.util.Pair
import android.view.View
import me.wsj.fengyun.R
import me.wsj.fengyun.bean.Daily
import per.wsj.commonlib.util... | 3 | Java | 74 | 514 | da4cba77a13cf10878c388bc67d96f9bc8a4230d | 5,063 | kms | Apache License 2.0 |
plugins/source-sections/source-sections-compiler/src/org/jetbrains/kotlin/sourceSections/FilteredSectionsVirtualFile.kt | JakeWharton | 99,388,807 | false | null | /*
* Copyright 2010-2017 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | 0 | null | 28 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 5,641 | kotlin | Apache License 2.0 |
src/main/kotlin/com/ecwid/apiclient/v3/impl/CouponsApiClientImpl.kt | Ecwid | 160,232,759 | false | null | package com.ecwid.apiclient.v3.impl
import com.ecwid.apiclient.v3.ApiClientHelper
import com.ecwid.apiclient.v3.CouponsApiClient
import com.ecwid.apiclient.v3.dto.coupon.request.*
import com.ecwid.apiclient.v3.dto.coupon.result.*
import com.ecwid.apiclient.v3.responsefields.AS_SEQUENCE_SEARCH_RESULT_REQUIRED_FIELDS
i... | 6 | null | 8 | 9 | d1a470002ba7bee6f2edc25d0038aeb085c91352 | 1,532 | ecwid-java-api-client | Apache License 2.0 |
components/bridge/impl/src/main/java/com/flipperdevices/bridge/impl/manager/delegates/FlipperConnectionInformationApiImpl.kt | Flipper-Zero | 288,258,832 | false | null | package com.flipperdevices.bridge.impl.manager.delegates
import com.flipperdevices.bridge.api.manager.delegates.FlipperConnectionInformationApi
import com.flipperdevices.bridge.impl.manager.UnsafeBleManager
import kotlinx.coroutines.flow.StateFlow
import no.nordicsemi.android.ble.ktx.state.ConnectionState
import no.no... | 3 | null | 28 | 254 | 5e33771c3e317c9f826ccd0a6352d9c131fbccca | 805 | Flipper-Android-App | MIT License |
secdra-data/src/main/kotlin/com/junjie/secdradata/database/collect/dao/PixivPictureDAO.kt | fuzeongit | 154,359,683 | false | null | package com.junjie.secdradata.database.collect.dao
import com.junjie.secdradata.constant.TransferState
import com.junjie.secdradata.database.collect.entity.PixivPicture
import org.springframework.data.jpa.repository.JpaRepository
import org.springframework.stereotype.Repository
import java.util.*
@Repository
interfac... | 1 | Kotlin | 4 | 11 | f75c32e5fb834d456a3182f71aee08029a1629d3 | 578 | secdra | MIT License |
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/types/qualifiers/UsualClassTypeQualifierBuilder.kt | JetBrains | 3,432,266 | false | null | /*
* Copyright 2010-2022 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.api.fir.types.qualifiers
import org.jetbrains.kotlin.analysis.api.fir.K... | 182 | null | 5771 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 5,392 | kotlin | Apache License 2.0 |
src/main/kotlin/com/security/jwt/api/domain/Role.kt | frankdaza | 263,793,361 | false | null | package com.security.jwt.api.domain
import javax.persistence.Entity
import javax.persistence.GeneratedValue
import javax.persistence.GenerationType
import javax.persistence.Id
import javax.persistence.Column
import javax.persistence.OneToMany
@Entity
data class Role(
@Id
@GeneratedValue(strategy = GenerationT... | 0 | Kotlin | 0 | 0 | 64cac13e003fd8b34f88c39a56b16a9a66b18871 | 457 | jwt-security-spring-api | Creative Commons Zero v1.0 Universal |
app/src/main/java/com/hazarbelge/themoviedb/app/TheMovieDBApp.kt | hazarbelge | 302,702,214 | false | {"Kotlin": 76299} | package com.hazarbelge.themoviedb.app
import android.app.Application
import androidx.appcompat.app.AppCompatDelegate
import com.hazarbelge.themoviedb.ui.main.dependency_injection.mainModule
import com.hazarbelge.themoviedb.ui.launcher.dependency_injection.launcherModule
import com.hazarbelge.themoviedb.network.depende... | 0 | Kotlin | 0 | 3 | 065a431b8f1c807d5a8a57521e670746d7e856e8 | 880 | kotlin_the_moviedb | MIT License |
remix/src/commonMain/kotlin/com/woowla/compose/icon/collections/remix/remix/food/BreadFill.kt | walter-juan | 868,046,028 | false | {"Kotlin": 34345428} | package com.woowla.compose.icon.collections.remix.remix.food
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.Strok... | 0 | Kotlin | 0 | 3 | eca6c73337093fbbfbb88546a88d4546482cfffc | 2,608 | compose-icon-collections | MIT License |
kotlin-electron/src/jsMain/generated/electron/utility/VisibleOnAllWorkspacesOptions.kt | JetBrains | 93,250,841 | false | {"Kotlin": 12635434, "JavaScript": 423801} | // Generated by Karakum - do not modify it manually!
package electron.utility
typealias VisibleOnAllWorkspacesOptions = electron.core.VisibleOnAllWorkspacesOptions
| 38 | Kotlin | 162 | 1,347 | 997ed3902482883db4a9657585426f6ca167d556 | 166 | kotlin-wrappers | Apache License 2.0 |
dsl/src/main/kotlin/io/cloudshiftdev/awscdkdsl/services/quicksight/CfnTemplateContributionAnalysisDefaultPropertyDsl.kt | cloudshiftinc | 667,063,030 | false | null | @file:Suppress(
"RedundantVisibilityModifier",
"RedundantUnitReturnType",
"RemoveRedundantQualifierName",
"unused",
"UnusedImport",
"ClassName",
"REDUNDANT_PROJECTION",
"DEPRECATION"
)
package cloudshift.awscdk.dsl.services.quicksight
import cloudshift.awscdk.common.CdkDslMarker
import... | 4 | null | 0 | 3 | c59c6292cf08f0fc3280d61e7f8cff813a608a62 | 3,006 | awscdk-dsl-kotlin | Apache License 2.0 |
plugins/editorconfig/src/org/editorconfig/language/services/impl/EditorConfigFileHierarchyServiceImpl.kt | ingokegel | 284,920,751 | false | null | // Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package org.editorconfig.language.services.impl
import com.intellij.openapi.application.Application
import com.intellij.openapi.application.ModalityState
import com.intellij.open... | 214 | null | 4829 | 2 | dc846ecb926c9d9589c1ed8a40fdb20e47874db9 | 7,607 | intellij-community | Apache License 2.0 |
core/src/main/java/com/bruno13palhano/core/data/database/DriverFactory.kt | bruno13palhano | 670,001,130 | false | {"Kotlin": 1380539} | package com.bruno13palhano.core.data.database
import android.content.Context
import app.cash.sqldelight.db.SqlDriver
import app.cash.sqldelight.driver.android.AndroidSqliteDriver
import com.bruno13palhano.cache.ShopDatabase
internal class DriverFactory(private val context: Context) {
fun createDriver(): SqlDriver... | 0 | Kotlin | 0 | 2 | 437aa6b904d89fd0ece9eb33ccbd24ea1875ad2d | 414 | shop-dani-management | MIT License |
src/commonMain/kotlin/data/items/BrutalGladiatorsWyrmhideGloves.kt | marisa-ashkandi | 332,658,265 | false | null | package `data`.items
import `data`.Constants
import `data`.buffs.Buffs
import `data`.itemsets.ItemSets
import `data`.model.Item
import `data`.model.ItemSet
import `data`.model.Socket
import `data`.model.SocketBonus
import character.Buff
import character.Stats
import kotlin.Array
import kotlin.Boolean
import kotlin.Dou... | 21 | Kotlin | 11 | 25 | 9cb6a0e51a650b5d04c63883cb9bf3f64057ce73 | 1,885 | tbcsim | MIT License |
src/main/kotlin/com/faendir/zachtronics/bot/repository/SolutionRepository.kt | F43nd1r | 290,065,466 | false | null | /*
* Copyright (c) 2021
*
* 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 writ... | 7 | Java | 6 | 4 | f10fb507c64cfd9af5c3c5f655336ad0610facec | 2,165 | zachtronics-leaderboard-bot | Apache License 2.0 |
pcbridge-spigot/test/com/projectcitybuild/features/bans/SanitizerTest.kt | projectcitybuild | 42,997,941 | false | null | package com.projectcitybuild.features.bans
import org.junit.jupiter.api.Assertions.assertEquals
import org.junit.jupiter.api.Test
class SanitizerTest {
@Test
fun `sanitize ip should strip slashes and ports`() {
arrayOf(
"127.0.0.1",
"/127.0.0.1",
"/127.0.0.1:12345"... | 5 | Kotlin | 0 | 3 | 36a7197d870aa24a9b9ea65567a35fa38f86a31d | 464 | PCBridge | MIT License |
src/main/kotlin/dev/retrotv/random/RandomByteGenerator.kt | retrotv-maven-repo | 708,020,248 | false | {"Kotlin": 16154, "Java": 429} | package dev.retrotv.random
import java.util.Random
class ByteGenerator(private val random: Random): RandomGenerator<ByteArray> {
private lateinit var randomData: ByteArray
override fun generate(len: Int) {
randomData = ByteArray(len)
random.nextBytes(randomData)
}
override fun getVal... | 0 | Kotlin | 0 | 0 | e5e5730bb776732e39fe6141aa66ff85886ab58a | 371 | random-value | MIT License |
libraries/stdlib/unsigned/src/kotlin/UShort.kt | JetBrains | 3,432,266 | false | null | /*
* Copyright 2010-2020 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
// Auto-generated file. DO NOT EDIT!
package kotlin
import kotlin.experimental.*
@Suppress("NON_PUBLIC_PRIM... | 181 | null | 5771 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 13,148 | kotlin | Apache License 2.0 |
main/java/com/android/genshinImpact/CharacterListFragment.kt | Edwin0430 | 698,105,616 | false | {"Kotlin": 38943} | package com.android.genshinImpact
import android.content.Context
import android.os.Bundle
import android.util.Log
import android.view.*
import android.widget.ImageView
import android.widget.TextView
import androidx.fragment.app.Fragment
import androidx.lifecycle.Observer
import androidx.lifecycle.ViewModelProviders
im... | 0 | Kotlin | 0 | 0 | 49bd3706a3f60711bfde20980a1d85f27c6d0ba2 | 8,728 | GenshinCharacter-note-app | Apache License 2.0 |
data/src/main/java/com/wasin/data/model/user/SignupRequest.kt | wa-sin-sang-dam | 828,217,645 | false | {"Kotlin": 301042} | package com.wasin.data.model.user
import kotlinx.serialization.Serializable
@Serializable
data class SignupRequest(
val role: String = "",
val username: String = "",
val email: String = "",
val password: String = "",
val password2: String = "",
)
| 2 | Kotlin | 0 | 0 | 28a58078ff866f6f9baa460714217884fdbea3ab | 269 | wasin-android | MIT License |
compiler/frontend/src/org/jetbrains/kotlin/resolve/calls/tower/PSICallResolver.kt | JakeWharton | 99,388,807 | false | null | /*
* Copyright 2000-2018 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.resolve.calls.tower
import org.jetbrains.kotlin.config.LanguageFeature
import or... | 7 | null | 5748 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 37,590 | kotlin | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.