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/test/kotlin/no/nav/omsorgspenger/koronaoverføringer/rivers/GosysKoronaOverføringerTest.kt | navikt | 293,469,365 | false | {"Kotlin": 599806, "Dockerfile": 208} | package no.nav.omsorgspenger.koronaoverføringer.rivers
import no.nav.helse.rapids_rivers.testsupport.TestRapid
import no.nav.omsorgspenger.Periode
import no.nav.omsorgspenger.personopplysninger.VurderRelasjonerMelding
import no.nav.omsorgspenger.registerOverføreKoronaOmsorgsdager
import no.nav.omsorgspenger.testutils.... | 3 | Kotlin | 0 | 2 | b9bdc4afefc44430c75eb1cbb46b6720a4837e66 | 4,804 | omsorgspenger-rammemeldinger | MIT License |
app/src/main/java/kerala/superhero/app/login/LoginActivity.kt | coronasafe | 367,320,621 | false | null | package kerala.superhero.app.login
import android.content.Intent
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import kerala.superhero.app.R
import kerala.superhero.app.data.ResultWrapper
import kerala.superhero.app.home.HomeActivity
import kerala.superhero.app.network.login
import kerala.su... | 0 | Kotlin | 4 | 4 | 6d2a50455b63d43d48486e657419e1fef95d1826 | 4,333 | superhero_app | Apache License 2.0 |
dsl/src/main/kotlin/io/cloudshiftdev/awscdkdsl/services/quicksight/CfnTemplateGeospatialCoordinateBoundsPropertyDsl.kt | cloudshiftinc | 667,063,030 | false | {"Kotlin": 63959868} | @file:Suppress(
"RedundantVisibilityModifier",
"RedundantUnitReturnType",
"RemoveRedundantQualifierName",
"unused",
"UnusedImport",
"ClassName",
"REDUNDANT_PROJECTION",
"DEPRECATION"
)
package cloudshift.awscdk.dsl.services.quicksight
import cloudshift.awscdk.common.CdkDslMarker
import... | 4 | Kotlin | 0 | 3 | c59c6292cf08f0fc3280d61e7f8cff813a608a62 | 2,036 | awscdk-dsl-kotlin | Apache License 2.0 |
app/src/main/java/ca/on/hojat/gamenews/feature_info/presentation/widgets/header/InfoScreenHeader.kt | hojat72elect | 574,228,468 | false | null | @file:Suppress("LongMethod")
package ca.hojat.gamehub.feature_info.presentation.widgets.header
import android.content.res.Configuration
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout... | 0 | null | 8 | 4 | b1c07551e90790ee3d273bc4c0ad3a5f97f71202 | 17,060 | GameHub | MIT License |
sms-core/src/main/kotlin/team/msg/sms/domain/region/spi/QueryRegionPort.kt | GSM-MSG | 625,717,097 | false | {"Kotlin": 529642, "Shell": 1480, "Dockerfile": 288} | package team.msg.sms.domain.region.spi
import team.msg.sms.domain.region.model.Region
import java.util.*
interface QueryRegionPort {
fun queryByStudentUuid(uuid: UUID): List<Region>
} | 7 | Kotlin | 0 | 9 | b602a6b4c00cba7291f2bdb570868d6e0fc05294 | 189 | SMS-BackEnd | MIT License |
analysis/symbol-light-classes/src/org/jetbrains/kotlin/light/classes/symbol/fields/SymbolLightFieldForObject.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.light.classes.symbol.fields
import com.intellij.psi.PsiExpression
import com.int... | 7 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 4,783 | kotlin | Apache License 2.0 |
compiler/build-tools/kotlin-build-statistics/src/org/jetbrains/kotlin/build/report/metrics/BuildAttribute.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.
*/
package org.jetbrains.kotlin.build.report.metrics
import java.io.Serializable
enum class BuildAttributeKind ... | 181 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 2,086 | kotlin | Apache License 2.0 |
apps/samples/src/main/kotlin/io/agora/meeting/example/uicontroller/LecturerLayout.kt | AgoraIO-Usecase | 390,732,016 | false | null | package io.agora.meeting.example.uicontroller
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import io.agora.meeting.R
import io.agora.meeting.annotation.Example
import io.agora.meeting.common.model.Examples
import io.agora.meeting.ui.base.KBaseFragme... | 3 | Kotlin | 4 | 6 | 25739896f4a20e9e0fa01a005dc361b1030192c1 | 1,318 | AgoraMeeting-Android | MIT License |
src/main/kotlin/com/terraformation/backend/tracking/model/ObservationPlotModel.kt | terraware | 323,722,525 | false | {"Kotlin": 3666257, "HTML": 86728, "Python": 44051, "FreeMarker": 16407, "PLpgSQL": 3305, "Makefile": 746, "Dockerfile": 674} | package com.terraformation.backend.tracking.model
import com.terraformation.backend.db.default_schema.UserId
import com.terraformation.backend.db.tracking.MonitoringPlotId
import com.terraformation.backend.db.tracking.ObservationId
import com.terraformation.backend.db.tracking.tables.references.OBSERVATION_PLOTS
impor... | 6 | Kotlin | 1 | 9 | 5dcea95423dc6a6960a87fc8ccbdbbdb1e0ea785 | 1,446 | terraware-server | Apache License 2.0 |
ceria/02/src/main/kotlin/Solution.kt | VisionistInc | 317,503,410 | false | null | import java.io.File;
fun main(args : Array<String>) {
val input = File(args.first()).readLines()
println("Solution 1: ${solution1(input)}")
println("Solution 2: ${solution2(input)}")
}
private fun solution1(input: List<String>) :Int {
var validPasswordIndexes = mutableListOf<Int>()
input.forEach... | 0 | Rust | 0 | 0 | 002734670384aa02ca122086035f45dfb2ea9949 | 1,343 | advent-of-code-2020 | MIT License |
shared/src/commonMain/kotlin/com/erendev/gemini/common/resources/Strings.kt | erenalpaslan | 735,675,016 | false | {"Kotlin": 127277, "JavaScript": 1780, "Swift": 773, "HTML": 231} | package com.erendev.gemini.common.resources
/**
* Created by erenalpaslan on 25.05.2023
*/
object Strings {
const val APP_NAME = "Gemini"
const val ChatTitle = "Chat"
object Button {
const val Continue = "Continue"
const val Delete = "Delete"
const val Rename = "Rename"
... | 0 | Kotlin | 0 | 1 | 219835105a0ac011d42585fb4e5bead2ff721196 | 2,137 | gemini | MIT License |
app/src/main/java/com/ave/vastgui/app/network/service/SuspendService.kt | SakurajimaMaii | 353,212,367 | false | null | /*
* Copyright 2022 VastGui <EMAIL>
*
* 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 ... | 2 | null | 4 | 38 | 23759b1c4e89b78cc76f2755d397954bb28ed9fc | 1,117 | Android-Vast-Extension | Apache License 2.0 |
util/src/test/kotlin/com/lomeone/util/security/authentication/PasswordUtilsTest.kt | lomeone | 583,942,276 | false | {"Kotlin": 105805, "Smarty": 1861} | package com.lomeone.util.security.authentication
import com.lomeone.util.security.authentication.PasswordUtils.checkPasswordValidity
import io.kotest.assertions.throwables.shouldThrow
import io.kotest.core.spec.style.FreeSpec
class PasswordUtilsTest : FreeSpec({
"비밀번호의 형식이 맞는지 검증할 수 있다" - {
shouldThrow<Il... | 4 | Kotlin | 0 | 0 | 480a369035240983e71db4144cddd343b46dc1d5 | 555 | lomeone-server | MIT License |
composeApp/src/commonMain/kotlin/com/rwmobi/kunigami/ui/destinations/agile/components/GaugeWidget.kt | ryanw-mobile | 794,752,204 | false | {"Kotlin": 1440473, "Ruby": 2466, "Swift": 693} | /*
* Copyright (c) 2024. RW MobiMedia UK Limited
*
* Contributions made by other developers remain the property of their respective authors but are licensed
* to RW MobiMedia UK Limited and others under the same licence terms as the main project, as outlined in
* the LICENSE file.
*
* RW MobiMedia UK Limited res... | 16 | Kotlin | 10 | 145 | 7f278204448e9c59ca028e520e9e5aca97fa1e13 | 7,486 | OctoMeter | Creative Commons Attribution 4.0 International |
legacy/storage/src/main/java/com/fsck/k9/storage/messages/DatabaseOperations.kt | thunderbird | 1,326,671 | false | {"Kotlin": 4766001, "Java": 2159946, "Shell": 2768, "AIDL": 1946} | package com.fsck.k9.storage.messages
import com.fsck.k9.mailstore.LockableDatabase
import com.fsck.k9.mailstore.StorageManager
import timber.log.Timber
internal class DatabaseOperations(
private val lockableDatabase: LockableDatabase,
val storageManager: StorageManager,
val accountUuid: String
) {
fun... | 846 | Kotlin | 5 | 9,969 | 8b3932098cfa53372d8a8ae364bd8623822bd74c | 1,343 | thunderbird-android | Apache License 2.0 |
dokilog/src/main/java/com/dokidevs/dokilog/DokiLog.kt | tingyik90 | 154,005,099 | false | null | @file:Suppress("NOTHING_TO_INLINE")
package com.dokidevs.dokilog
import android.util.Log
/**
* Main interface for DokiLog. See [LogProfile] to customize logging.
*/
interface DokiLog {
/* companion object */
companion object {
private val mutableLogProfiles = mutableListOf<LogProfile>()
p... | 0 | Kotlin | 1 | 4 | b66f880451df64f5e1b976bb7360f19af16c1e22 | 5,663 | dokilog | Apache License 2.0 |
build-logic/conventions/src/main/kotlin/me/gulya/convention/Libs.kt | IlyaGulya | 767,511,466 | false | {"Kotlin": 53538} | package me.gulya.convention
import org.gradle.accessors.dm.LibrariesForLibs
import org.gradle.api.Project
import org.gradle.kotlin.dsl.the
val Project.libs
get() = the<LibrariesForLibs>() | 1 | Kotlin | 0 | 9 | 49db1e6aae70d4a0d18c20febedb5f972b10a523 | 193 | anvil-utils | Apache License 2.0 |
src/main/kotlin/com/github/oowekyala/ijcc/lang/psi/TraversalUtil.kt | oowekyala | 160,946,520 | false | {"Kotlin": 636577, "HTML": 12321, "Lex": 10654, "Shell": 1940, "Just": 101} | package com.github.oowekyala.ijcc.lang.psi
import com.intellij.lang.parser.GeneratedParserUtilBase
import com.intellij.openapi.util.Conditions
import com.intellij.psi.PsiElement
import com.intellij.psi.SyntaxTraverser
import com.intellij.psi.SyntaxTraverser.psiTraverser
import com.intellij.psi.tree.IElementType
/**
... | 11 | Kotlin | 6 | 44 | c514083a161db56537d2473e42f2a1d4bf57eee1 | 1,360 | intellij-javacc | MIT License |
features/home/src/main/java/com/fappslab/features/home/data/model/AppsResponse.kt | F4bioo | 628,097,763 | false | null | package com.fappslab.features.home.data.model
import com.google.gson.annotations.SerializedName
internal data class AppsResponse(
@SerializedName("responses") val responses: Responses?
) {
internal data class Responses(
@SerializedName("listApps") val listApps: ListAppsResponse?
) {
int... | 0 | Kotlin | 0 | 0 | d3e0405eae2038ea13c352daa8bc976da85914a4 | 1,950 | faurecia-aptoide-challenge | MIT License |
composeApp/src/androidMain/kotlin/io/github/snd_r/komelia/platform/BackPressHandler.android.kt | Snd-R | 775,064,249 | false | {"Kotlin": 1370443, "C": 37132, "CMake": 17841, "Shell": 2152, "Dockerfile": 1673, "JavaScript": 695, "HTML": 447} | import androidx.activity.OnBackPressedCallback
import androidx.activity.OnBackPressedDispatcher
import androidx.activity.compose.LocalOnBackPressedDispatcherOwner
import androidx.compose.runtime.Composable
import androidx.compose.runtime.DisposableEffect
import androidx.compose.runtime.getValue
import androidx.compose.... | 1 | Kotlin | 5 | 9 | 5a16d84ed86321e4c7efa96daea9dd7dbfc2308b | 1,053 | Komelia | Apache License 2.0 |
src/main/java/net/gtaun/shoebill/amx/types/ReferenceInt.kt | Shoebill | 4,378,544 | false | null | package net.gtaun.shoebill.amx.types
/**
* This class shall be used with the amx interface when passing a reference integer value.
*
* @author <NAME>
*/
data class ReferenceInt(var value: Int)
| 7 | null | 9 | 17 | b457e1aa432ff00a0591e8097ad80d2b68b8d361 | 198 | shoebill-api | Apache License 2.0 |
ktor-hosts/ktor-servlet/src/org/jetbrains/ktor/servlet/ServletReadChannel.kt | cbeust | 64,515,203 | false | null | package org.jetbrains.ktor.servlet
import org.jetbrains.ktor.nio.*
import java.nio.*
import java.util.concurrent.atomic.*
import javax.servlet.*
class ServletAsyncReadChannel(val servletInputStream: ServletInputStream) : AsyncReadChannel {
private val listenerInstalled = AtomicBoolean()
private val currentHan... | 0 | null | 0 | 1 | 8dc7ac666a336cba0f23a72cc31b8c0b14ad4f09 | 2,930 | ktor | Apache License 2.0 |
parser/src/main/java/com/malt/parser/struct/xml/XmlNamespaceEndTag.kt | MALTF | 679,156,908 | false | {"Kotlin": 288486} | package com.malt.parser.struct.xml
/**
* @author malt
*/
class XmlNamespaceEndTag(
@JvmField val prefix: String,
@JvmField val uri: String
) {
override fun toString(): String {
return "$prefix=$uri"
}
} | 1 | Kotlin | 0 | 4 | 7aabf1d6d9741190d1527744dd168edd751911a4 | 229 | APK-Parser | MIT License |
shared/src/main/java/io/github/toyota32k/shared/UtFitter.kt | toyota-m2k | 643,174,351 | false | null | /**
* 矩形サイズをルールに従って配置するためのサイズ決定ロジックの実装
*
* @author M.TOYOTA 2018.07.11 Created
* Copyright © 2018 M.TOYOTA All Rights Reserved.
*/
package io.github.toyota32k.lib.player.common
import android.util.Size
import android.util.SizeF
import io.github.toyota32k.shared.MuSize
import io.github.toyota32k.utils.UtLog
/**... | 2 | Kotlin | 0 | 0 | c4da942036eb6e746718e38789ccc53e9aa03bb2 | 5,211 | android-utilities | Apache License 2.0 |
presentation/src/test/kotlin/io/petros/github/presentation/feature/splash/navigator/SplashActivityNavigatorTest.kt | ParaskP7 | 140,927,471 | false | {"Kotlin": 118109} | package io.petros.github.presentation.feature.splash.navigator
import com.nhaarman.mockito_kotlin.mock
import com.nhaarman.mockito_kotlin.verify
import io.petros.github.presentation.feature.navigator.Launcher
import io.petros.github.presentation.feature.search.navigator.SearchLauncher
import org.junit.Before
import or... | 0 | Kotlin | 1 | 9 | ad9c53165db32af9ca08e4ae3ca4ea9b30e24d2e | 1,036 | sample-code-github | Apache License 2.0 |
app/src/main/java/com/vultisig/wallet/ui/models/home/VaultListViewModel.kt | vultisig | 789,965,982 | false | {"Kotlin": 1656023, "Ruby": 1713} | package com.vultisig.wallet.ui.models.home
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.vultisig.wallet.data.models.Folder
import com.vultisig.wallet.data.models.Vault
import com.vultisig.wallet.data.repositories.FolderRepository
import com.vultisig.wallet.data.repositories.o... | 58 | Kotlin | 2 | 6 | 106410f378751c6ab276120fcc74c1036b46ab6e | 3,692 | vultisig-android | Apache License 2.0 |
src/main/java/ru/itmo/kazakov/autoschedule/algorithm/integration/JmetalMultidimensionalIndividual.kt | AdvancerMan | 636,416,766 | false | null | package ru.itmo.kazakov.autoschedule.algorithm.integration
import org.uma.jmetal.solution.AbstractSolution
import org.uma.jmetal.solution.Solution
import ru.itmo.kazakov.autoschedule.algorithm.individual.Individual
class JmetalMultidimensionalIndividual<I : Individual<I>>(
innerIndividual: I,
) : JmetalIndividua... | 0 | Kotlin | 0 | 0 | b27a04ba71342c42af17b02654169107afaf23ea | 1,000 | itmo-ct-thesis-2023 | MIT License |
src/main/kotlin/dev/binclub/bingait/api/util/tree/AbstactLazyTreeNode.kt | zzurio | 421,995,961 | false | {"Kotlin": 62750, "Java": 9803} | package dev.binclub.bingait.api.util.tree
import dev.binclub.bingait.api.util.EventTreeNode
import java.util.Enumeration
import javax.swing.tree.DefaultMutableTreeNode
import javax.swing.tree.MutableTreeNode
import javax.swing.tree.TreeNode
/**
* @author cookiedragon234 06/Sep/2020
*/
abstract class AbstractLazyTre... | 0 | Kotlin | 4 | 20 | de2432cc2ab735c3b3a1b763d1695343111ec4ff | 4,076 | BinGait | BSD Zero Clause License |
app/src/main/java/app/accrescent/client/ui/AppDetailsViewModel.kt | accrescent | 438,517,305 | false | null | package app.FeloStore.client.ui
import android.app.Application
import android.content.Context
import android.content.Intent
import android.net.Uri
import android.provider.Settings
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.setValue
import and... | 39 | null | 22 | 993 | b07f89a06f0ca6384b64a79e181676bbf0e2d642 | 7,076 | accrescent | ISC License |
bukkit/rpk-permissions-bukkit/src/main/kotlin/com/rpkit/permissions/bukkit/command/group/GroupRemoveCommand.kt | Nyrheim | 269,929,653 | true | {"Kotlin": 2944589, "Java": 1237516, "HTML": 94789, "JavaScript": 640, "CSS": 607} | /*
* Copyright 2020 <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... | 0 | null | 0 | 0 | f2196a76e0822b2c60e4a551de317ed717bbdc7e | 3,283 | RPKit | Apache License 2.0 |
app/src/main/java/com/eneskayiklik/word_diary/util/animation_converter/DpConverter.kt | Enes-Kayiklik | 651,794,521 | false | null | package com.eneskayiklik.word_diary.util.animation_converter
import androidx.compose.animation.core.AnimationVector1D
import androidx.compose.animation.core.TwoWayConverter
import androidx.compose.ui.unit.Dp
import androidx.compose.ui.unit.dp
class DpConverter : TwoWayConverter<Dp, AnimationVector1D> {
override v... | 0 | Kotlin | 0 | 3 | 236d4c497d7e141f1536fb62f7458459420d1fe9 | 551 | WordDiary | MIT License |
app/src/main/java/dev/nosuch/luncher/android/App.kt | nealsanche | 262,650,410 | false | null | package dev.nosuch.luncher.android
import android.app.Application
import android.content.Context
import co.touchlab.kampstarter.initKoin
import org.koin.dsl.module
class App : Application() {
override fun onCreate() {
super.onCreate()
initKoin {
modules(module { single<Context> { this@... | 0 | Kotlin | 0 | 0 | 17314ea59fe0ae0711f598e3a89b79e083327f1d | 346 | Luncher | Apache License 2.0 |
idea/testData/run/MainInTest/module/src/mainInPackageSimple.kt | JakeWharton | 99,388,807 | true | null | package pkg1
fun main(args: Array<String>) { // yes
}
| 0 | Kotlin | 28 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 56 | kotlin | Apache License 2.0 |
mlkit/app/src/main/java/com/google/firebase/samples/apps/mlkit/kotlin/custommodel/CustomImageClassifier.kt | SagarBChauhan | 216,040,454 | false | null | // Copyright 2018 Google LLC
//
// 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 ... | 18 | null | 0 | 5 | d886d348a681f41f02e78d720cb74fb8c162e339 | 12,464 | quickstart-android | Creative Commons Attribution 4.0 International |
libraries/stdlib/src/kotlin/util/Preconditions.kt | JakeWharton | 99,388,807 | false | null | /*
* Copyright 2010-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.
*/
@file:kotlin.jvm.JvmMultifileClass
@file:kotlin.jvm.JvmName("PreconditionsKt")
package kotlin
import kotlin.... | 184 | null | 5748 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 3,959 | kotlin | Apache License 2.0 |
java/java-tests/testSrc/com/intellij/java/configurationStore/testUtils.kt | JetBrains | 2,489,216 | false | null | // Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.java.configurationStore
import com.intellij.openapi.application.ex.PathManagerEx
import com.intellij.openapi.components.stateStore
import com.intellij.platform.workspace.jps.Cus... | 284 | null | 5162 | 16,707 | def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0 | 3,224 | intellij-community | Apache License 2.0 |
app/src/main/kotlin/cz/covid19cz/erouska/utils/Auth.kt | igorsmerda | 252,732,461 | true | {"Kotlin": 210106, "Java": 1863} | package cz.covid19cz.erouska.utils
import android.widget.Toast
import androidx.navigation.fragment.findNavController
import com.google.firebase.auth.FirebaseAuth
import cz.covid19cz.erouska.R
import cz.covid19cz.erouska.db.SharedPrefsRepository
import cz.covid19cz.erouska.service.CovidService
import cz.covid19cz.erous... | 0 | null | 0 | 0 | c16a77a9738434ed2bafaa6866029e07912c975d | 1,338 | erouska-android | MIT License |
common-server/src/commonMain/kotlin/com/toxicbakery/game/dungeon/machine/machineModules.kt | ToxicBakery | 224,311,645 | false | {"Kotlin": 181267, "CSS": 1779, "HTML": 923} | package com.toxicbakery.game.dungeon.machine
import com.toxicbakery.game.dungeon.machine.ai.aiMachineModule
import com.toxicbakery.game.dungeon.machine.authentication.authenticationMachineModule
import com.toxicbakery.game.dungeon.machine.command.commandMachineModule
import com.toxicbakery.game.dungeon.machine.init.in... | 0 | Kotlin | 0 | 1 | 12ad3caff3973cf0c834878c42981d9b8255cc71 | 666 | dungeon | Apache License 2.0 |
javalin/src/test/java/io/javalin/TestContextPath.kt | javalin | 87,012,358 | false | null | /*
* Javalin - https://javalin.io
* Copyright 2017 <NAME>
* Licensed under Apache 2.0: https://github.com/tipsy/javalin/blob/master/LICENSE
*/
package io.javalin
import io.javalin.core.util.Util
import io.javalin.util.TestUtil
import org.hamcrest.MatcherAssert.assertThat
import org.hamcrest.Matchers.`is`
import o... | 8 | null | 570 | 7,573 | 6e53b6237dc54fcb05b7a8531941bcb60a17e687 | 3,016 | javalin | Apache License 2.0 |
app/src/test/java/com/blackcrowsys/ui/residents/ResidentsActivityViewModelTest.kt | blackcrowsys | 116,029,789 | false | {"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "YAML": 1, "Markdown": 1, "Proguard": 1, "JSON": 2, "Kotlin": 80, "XML": 29, "Java": 1} | package com.blackcrowsys.ui.residents
import android.arch.lifecycle.Observer
import com.blackcrowsys.MockContentHelper
import com.blackcrowsys.R
import com.blackcrowsys.exceptions.ErrorMapper
import com.blackcrowsys.exceptions.ExceptionTransformer
import com.blackcrowsys.repository.ResidentRepository
import com.blackc... | 1 | Kotlin | 0 | 1 | 0610d1474ea83b7b16e9811111e6946ea983d32c | 5,471 | dinewell-carehome-app | MIT License |
library/src/jsMain/kotlin/antd/Align.kt | tonycode | 694,166,849 | false | {"Kotlin": 106413, "Shell": 511} | package antd
@Suppress(
"NAME_CONTAINS_ILLEGAL_CHARS",
"NESTED_CLASS_IN_EXTERNAL_INTERFACE",
)
// language=JavaScript
@JsName("""(/*union*/{
start: 'start', end: 'end', center: 'center', baseline: 'baseline'
}/*union*/)""")
/**
* Align items
*
* see: https://ant.design/components/space#api "align" prop... | 0 | Kotlin | 0 | 3 | 87a22f907baab2e7605b84bfe6e7fbc3e6b7d8e3 | 498 | kotlin-antd | MIT License |
tl/src/main/kotlin/com/github/badoualy/telegram/tl/api/TLInputBotInlineResultGame.kt | Miha-x64 | 436,587,061 | true | {"Kotlin": 3919807, "Java": 75352} | package com.github.badoualy.telegram.tl.api
import com.github.badoualy.telegram.tl.TLObjectUtils.SIZE_CONSTRUCTOR_ID
import com.github.badoualy.telegram.tl.TLObjectUtils.computeTLStringSerializedSize
import com.github.badoualy.telegram.tl.serialization.TLDeserializer
import com.github.badoualy.telegram.tl.serializatio... | 1 | Kotlin | 2 | 3 | 1a8963dce921c1e9ef05b9d1e56d8fbcb1ea1c4b | 2,285 | kotlogram-resurrected | MIT License |
tl/src/main/kotlin/com/github/badoualy/telegram/tl/api/TLInputBotInlineResultGame.kt | Miha-x64 | 436,587,061 | true | {"Kotlin": 3919807, "Java": 75352} | package com.github.badoualy.telegram.tl.api
import com.github.badoualy.telegram.tl.TLObjectUtils.SIZE_CONSTRUCTOR_ID
import com.github.badoualy.telegram.tl.TLObjectUtils.computeTLStringSerializedSize
import com.github.badoualy.telegram.tl.serialization.TLDeserializer
import com.github.badoualy.telegram.tl.serializatio... | 1 | Kotlin | 2 | 3 | 1a8963dce921c1e9ef05b9d1e56d8fbcb1ea1c4b | 2,285 | kotlogram-resurrected | MIT License |
app/src/main/java/com/saraha/paws/View/AnimalViews/AddEditAnimal/Fragment/AddEditAnimalPage3Fragment.kt | SamPaddock | 435,092,298 | false | {"Kotlin": 193863} | package com.saraha.paws.View.AnimalViews.AddEditAnimal.Fragment
import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.core.widget.addTextChangedListener
import androidx.lifecycle.ViewModelProvider
import ... | 0 | Kotlin | 0 | 0 | cf8ea4d607c6df79385469f991a3457fa0b42a01 | 2,165 | Project_Tuwaiq | Creative Commons Attribution 3.0 Unported |
core/src/test/kotlin/com/github/inflab/spring/data/mongodb/core/extension/MongoTemplateExtensionKtTest.kt | inflearn | 686,606,328 | false | {"Kotlin": 816570} | package com.github.inflab.spring.data.mongodb.core.extension
import com.github.inflab.spring.data.mongodb.core.aggregation.AggregationDsl
import io.kotest.core.spec.style.FreeSpec
import io.mockk.every
import io.mockk.mockk
import io.mockk.verify
import io.mockk.verifySequence
import org.springframework.data.mongodb.c... | 9 | Kotlin | 6 | 9 | d0a2feb4c518d61003bfd3fcde2f13825ea1e4d5 | 2,195 | spring-data-mongodb-kotlin-dsl | MIT License |
integration-tests/resteasy-reactive-kotlin/standard/src/test/kotlin/io/quarkus/it/resteasy/reactive/kotlin/FlowResourceTest.kt | quarkusio | 139,914,932 | false | null | package io.quarkus.it.resteasy.reactive.kotlin
import io.quarkus.test.common.http.TestHTTPResource
import io.quarkus.test.junit.QuarkusTest
import org.assertj.core.api.Assertions.assertThat
import org.junit.jupiter.api.Test
import java.util.*
import java.util.concurrent.CompletableFuture
import java.util.concurrent.Ti... | 1,831 | null | 4 | 9,440 | 9755810c17969df15dfc3a04f162d4083dfb7400 | 1,900 | quarkus | Apache License 2.0 |
android/src/main/java/io/mosip/tuvali/exception/ErrorCode.kt | mosip | 572,876,523 | false | {"Kotlin": 156258, "Swift": 66396, "Java": 11120, "TypeScript": 5017, "Ruby": 1353, "Objective-C": 550, "JavaScript": 77} | package io.mosip.tuvali.exception
// Error Code format
// <Component(2)+Role(1)>(3char)_<Stage>(3char)_<Number>(3char) Eg: TVW-CON-001
// Stage --> CON(Connection) | KEX(Key Exchange) | ENC(Encryption) | TRA(Transfer) | REP(Report) | DEC(Decryption)
// Component+ROLE --> TVW(Tuvali+Wallet) | TVV(Tuvali+Verifier) | TUV... | 26 | Kotlin | 10 | 9 | 987b2d2512e57010c8a115b63b3b9093767c19ac | 1,122 | tuvali | MIT License |
android/src/main/java/io/mosip/tuvali/exception/ErrorCode.kt | mosip | 572,876,523 | false | {"Kotlin": 156258, "Swift": 66396, "Java": 11120, "TypeScript": 5017, "Ruby": 1353, "Objective-C": 550, "JavaScript": 77} | package io.mosip.tuvali.exception
// Error Code format
// <Component(2)+Role(1)>(3char)_<Stage>(3char)_<Number>(3char) Eg: TVW-CON-001
// Stage --> CON(Connection) | KEX(Key Exchange) | ENC(Encryption) | TRA(Transfer) | REP(Report) | DEC(Decryption)
// Component+ROLE --> TVW(Tuvali+Wallet) | TVV(Tuvali+Verifier) | TUV... | 26 | Kotlin | 10 | 9 | 987b2d2512e57010c8a115b63b3b9093767c19ac | 1,122 | tuvali | MIT License |
app-tracking-protection/vpn-impl/src/main/java/com/duckduckgo/mobile/android/vpn/bugreport/NetworkTypeCollector.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 ... | 5 | null | 836 | 3,148 | 70b67f25f17cf84ed3cda99d26e5466077e5d9a2 | 13,087 | Android | Apache License 2.0 |
src/main/kotlin/io/github/hanseter/json/queryengine/queries/GreaterThanQueryBuilder.kt | Hanseter | 244,838,139 | false | {"Kotlin": 17592} | package io.github.hanseter.json.queryengine.queries
import io.github.hanseter.json.queryengine.Query
class GreaterThanQueryBuilder : AttributeQueryBuilder<GreaterThanQueryBuilder>() {
fun withLowerBound(lowerBound: String): GreaterThanQueryBuilder {
this.queryCreator = { path ->
Query { data ... | 1 | Kotlin | 0 | 0 | b3bb3a434722757eaa286661dd0c04d8c3d573b6 | 1,102 | JSONQueryEngine | MIT License |
core/src/main/kotlin/materialui/components/link/enums/LinkUnderline.kt | subroh0508 | 167,797,152 | false | null | package materialui.components.link.enums
@Suppress("EnumEntryName")
enum class LinkUnderline {
none, hover, always
} | 14 | Kotlin | 27 | 81 | a959a951ace3b9bd49dc5405bea150d4d53cf162 | 121 | kotlin-material-ui | MIT License |
dsl/src/main/kotlin/io/cloudshiftdev/awscdkdsl/services/aps/CfnWorkspaceDsl.kt | cloudshiftinc | 667,063,030 | false | null | @file:Suppress(
"RedundantVisibilityModifier",
"RedundantUnitReturnType",
"RemoveRedundantQualifierName",
"unused",
"UnusedImport",
"ClassName",
"REDUNDANT_PROJECTION",
"DEPRECATION"
)
package io.cloudshiftdev.awscdkdsl.services.aps
import io.cloudshiftdev.awscdkdsl.CfnTagDsl
import io... | 3 | null | 0 | 3 | c59c6292cf08f0fc3280d61e7f8cff813a608a62 | 5,443 | awscdk-dsl-kotlin | Apache License 2.0 |
build-attribution/testSrc/com/android/build/attribution/analyzers/TasksConfigurationIssuesAnalyzerTest.kt | JetBrains | 60,701,247 | false | null | /*
* Copyright (C) 2019 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 1 | Kotlin | 220 | 857 | 8d22f48a9233679e85e42e8a7ed78bbff2c82ddb | 3,737 | android | Apache License 2.0 |
src/main/java/kr/co/byrobot/petroneapi/Wifi/selector/ExplicitSelectorManager.kt | roylanceMichael | 113,386,485 | true | {"Kotlin": 171938} | package kr.co.byrobot.petroneapi.Wifi.selector
import kotlinx.coroutines.experimental.*
import kr.co.byrobot.petroneapi.Wifi.*
import java.io.*
import java.nio.channels.*
import java.util.concurrent.*
/**
* A selector manager that creates selector and loop thread lazily and only disposes it on [close].
*/
class Exp... | 0 | Kotlin | 0 | 0 | 6fadf2cddc754431f15b9e0090e26bf2da7d71a1 | 2,922 | agueirahiewkghua | MIT License |
save-backend/src/main/kotlin/com/saveourtool/save/backend/event/UserListener.kt | saveourtool | 300,279,336 | false | {"Kotlin": 3294618, "SCSS": 43215, "JavaScript": 5532, "HTML": 5481, "Shell": 2770, "Smarty": 2608, "Dockerfile": 1366} | package com.saveourtool.save.backend.event
import com.saveourtool.save.backend.service.NotificationService
import com.saveourtool.save.backend.service.UserDetailsService
import com.saveourtool.save.domain.Role
import com.saveourtool.save.entities.Notification
import com.saveourtool.save.entities.User
import com.saveou... | 194 | Kotlin | 2 | 36 | d960424ffbb020bd99a06cc93b660467ebe73c66 | 1,419 | save-cloud | MIT License |
src/jvmMain/kotlin/com/ktmi/irc/IRC.kt | mkpazon | 264,875,261 | true | {"Kotlin": 100188} | package com.ktmi.irc
import com.ktmi.irc.IrcState.*
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.channels.Channel
import kotlinx.coroutines.channels.ReceiveChannel
import kotlinx.coroutines.launch
import okhttp3.*
import kotlin.coroutines.CoroutineContext
/** Actual implementation of TwitchIRC i... | 0 | Kotlin | 0 | 0 | f3ad3e182ef989263d00411fe437abe01179460a | 3,420 | TmiK | MIT License |
app/src/main/java/com/nearby/messages/nearbyconnection/ui/views/CustomFlag.kt | Davidvster | 149,776,113 | false | null | package com.nearby.messages.nearbyconnection.ui.views
import android.content.Context
import com.skydoves.colorpickerview.ColorEnvelope
import com.skydoves.colorpickerview.AlphaTileView
import android.widget.TextView
import com.nearby.messages.nearbyconnection.R
import com.skydoves.colorpickerview.flag.FlagView
class ... | 0 | Kotlin | 0 | 0 | 24fcdcf188b1c21e2768fd633201d9ab8bf12861 | 776 | nearbyconnections | The Unlicense |
app/src/main/java/com/africablue/awsapp/ui/translate/TranslateLanguageDialog.kt | AfricaBlue72 | 259,641,836 | false | null | package com.africablue.awsapp.ui.translate
import android.app.Dialog
import android.graphics.Color
import android.graphics.drawable.ColorDrawable
import android.os.Bundle
import android.view.View
import android.widget.*
import androidx.appcompat.app.AlertDialog
import androidx.fragment.app.DialogFragment
import androi... | 0 | Kotlin | 0 | 0 | f5aea4b4e08e69c79f76cd7384308f657d61e21f | 5,663 | AwsApp | MIT License |
platform/projectModel-api/src/com/intellij/configurationStore/xmlSerializer.kt | kirpichik | 171,894,935 | false | null | // Copyright 2000-2019 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.
@file:JvmName("XmlSerializer")
package com.intellij.configurationStore
import com.intellij.openapi.components.BaseState
import com.intellij.openapi.components.PersistentStateComp... | 1 | null | 1 | 1 | bc2fe124431bd9d73d694517777790c8a119e773 | 5,882 | intellij-community | Apache License 2.0 |
server/server/src/main/kotlin/org/jetbrains/bsp/bazel/server/bsp/managers/BazelExternalRulesQuery.kt | JetBrains | 826,262,028 | false | null | package org.jetbrains.bsp.bazel.server.bsp.managers
import ch.epfl.scala.bsp4j.BuildTargetIdentifier
import com.google.gson.Gson
import com.google.gson.JsonObject
import org.apache.logging.log4j.LogManager
import org.eclipse.lsp4j.jsonrpc.CancelChecker
import org.jetbrains.bsp.bazel.bazelrunner.BazelProcessResult
impo... | 6 | null | 8 | 45 | 1d79484cfdf8fc31d3a4b214655e857214071723 | 5,949 | hirschgarten | Apache License 2.0 |
williamchart/src/main/java/com/db/williamchart/view/LineChartView.kt | tchigher | 203,339,045 | true | {"Kotlin": 55861} | package com.db.williamchart.view
import android.content.Context
import android.content.res.TypedArray
import android.graphics.Color
import android.graphics.LinearGradient
import android.graphics.Paint
import android.graphics.Path
import android.graphics.Shader
import android.util.AttributeSet
import androidx.annotatio... | 0 | Kotlin | 0 | 0 | 0b099f60c5b35662f573326191c3c6d0999cd07f | 6,971 | WilliamChart | Apache License 2.0 |
src/test/kotlin/no/nb/bikube/core/model/CollectionsModelFromJsonListNewspaperItemsTests.kt | NationalLibraryOfNorway | 694,135,748 | false | {"Kotlin": 299101, "Dockerfile": 109} | package no.nb.bikube.core.model
import com.fasterxml.jackson.databind.DeserializationFeature
import com.fasterxml.jackson.databind.ObjectMapper
import com.fasterxml.jackson.module.kotlin.jacksonObjectMapper
import com.fasterxml.jackson.module.kotlin.readValue
import no.nb.bikube.core.enum.AxiellDescriptionType
import ... | 0 | Kotlin | 0 | 2 | bd415ac7cf793761dd408ad9a027cdc2142ed104 | 6,375 | bikube | Apache License 2.0 |
app/src/main/java/de/lemke/oneurl/domain/generateURL/GenerateDAGDUseCase.kt | Lemkinator | 699,106,627 | false | {"Kotlin": 225052} | package de.lemke.oneurl.domain.generateURL
import android.content.Context
import android.util.Log
import com.android.volley.NetworkResponse
import com.android.volley.Request
import com.android.volley.RequestQueue
import com.android.volley.toolbox.StringRequest
import dagger.hilt.android.qualifiers.ApplicationContext
... | 1 | Kotlin | 1 | 6 | dd73a8785d242770e8e46b4ca666fa1eeae903c0 | 6,798 | OneUrl | MIT License |
common/src/commonMain/kotlin/com/displayer/display/parser/Parser.kt | litrik | 583,350,986 | false | {"Kotlin": 118350, "HTML": 239} | package com.displayer.display.parser
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.layout.ContentScale
import com.displayer.config.Parameters
import com.displayer.display.Padding
import com.displayer.display.Style
import com.displayer.display.container.ColumnLayout
import com.displayer.display.c... | 13 | Kotlin | 3 | 32 | cad2f8a574911233d1a14f190c0b03a5ff4e8ed5 | 8,393 | displayer | Apache License 2.0 |
app/src/main/java/com/b_lam/resplash/ui/widget/ScrollAwareExtendedFabBehavior.kt | b-lam | 69,628,893 | false | null | package com.b_lam.resplash.ui.widget
import android.content.Context
import android.util.AttributeSet
import android.view.View
import androidx.coordinatorlayout.widget.CoordinatorLayout
import androidx.core.view.ViewCompat
import com.google.android.material.floatingactionbutton.ExtendedFloatingActionButton
class Scrol... | 33 | null | 105 | 569 | 4b13d31134d1c31bd331e92ffe8d410984529212 | 1,543 | Resplash | The Unlicense |
imgstore-backend/src/main/kotlin/org/kentunc/imgstore/model/ImageMetaData.kt | ken-tunc | 295,125,190 | false | null | package org.kentunc.imgstore.model
class ImageMetaData(val imageId: Int, val caption: String)
| 0 | Kotlin | 0 | 0 | e71a92d85afb1618128049f41648f180630ecdbd | 95 | imgstore | The Unlicense |
app/src/main/java/com/fsh/android/wanandroidmvvm/module/collect/model/CollectResponse.kt | fshsoft | 506,052,730 | false | {"Kotlin": 370644} | package com.fsh.android.wanandroidmvvm.module.collect.model
import com.fsh.android.wanandroidmvvm.module.common.model.Article
/**
* Created with Android Studio.
* Description:
*/
data class CollectResponse(
var curPage : Int,
var datas : List<Article>,
var total : Int
) | 0 | Kotlin | 0 | 1 | 820418b44745e38e422f35d290754d2d330e24a1 | 287 | WanAndroidMVVM | Apache License 2.0 |
themes/new-ui/new-ui-standalone/src/main/kotlin/org/jetbrains/jewel/themes/expui/standalone/control/DropdownMenu.kt | JetBrains | 440,164,967 | false | null | package io.kanro.compose.jetbrains.expui.control
import androidx.compose.animation.core.MutableTransitionState
import androidx.compose.foundation.VerticalScrollbar
import androidx.compose.foundation.clickable
import androidx.compose.foundation.interaction.MutableInteractionSource
import androidx.compose.foundation.lay... | 17 | null | 8 | 318 | 817adc042a029698983c9686d0f1497204bfdf14 | 15,137 | jewel | Apache License 2.0 |
app/src/main/java/com/heyanle/easybangumi4/plugin/source/utils/StringHelperImpl.kt | easybangumiorg | 413,723,669 | false | {"Kotlin": 1490799, "Java": 761739, "Shell": 450} | package com.heyanle.easybangumi4.plugin.source.utils
import android.widget.Toast
import com.heyanle.easybangumi4.APP
import com.heyanle.easybangumi4.source_api.utils.api.StringHelper
import com.heyanle.easybangumi4.ui.common.moeDialog
import com.heyanle.easybangumi4.ui.common.moeSnackBar
/**
* Created by HeYanLe on ... | 30 | Kotlin | 82 | 2,892 | e1f67cc997884e4f6e0e7074c2bae599d3996c9a | 703 | EasyBangumi | Apache License 2.0 |
newm-server/src/main/kotlin/io/newm/server/auth/jwt/JwtConfig.kt | projectNEWM | 447,979,150 | false | null | package io.newm.server.auth.jwt
import com.auth0.jwt.JWT
import com.auth0.jwt.algorithms.Algorithm
import io.ktor.server.application.ApplicationEnvironment
import io.ktor.server.auth.AuthenticationConfig
import io.ktor.server.auth.jwt.JWTPrincipal
import io.ktor.server.auth.jwt.jwt
import io.newm.server.auth.jwt.repo.... | 1 | null | 5 | 9 | 5aa1f1b4f6e0c036ca3f66216ff6ad7d9f7d6547 | 2,521 | newm-server | Apache License 2.0 |
src/main/kotlin/me/emkt/cashflowservice/ApplicationModels.kt | m4rc0s | 524,243,434 | false | null | package me.emkt.cashflowservice
import org.springframework.data.mongodb.core.mapping.DBRef
import org.springframework.data.mongodb.core.mapping.Document
import org.springframework.data.mongodb.core.mapping.MongoId
import java.math.BigDecimal
import java.time.LocalDateTime
import java.util.UUID
@Document("accounts")
d... | 0 | Kotlin | 0 | 0 | 125ae775ccdb7fdfe83591497c04b358acc3069f | 1,305 | money-tracing | MIT License |
app/src/main/java/com/mburakcakir/cryptopricetracker/data/model/FavouriteCoinModel.kt | mburakcakir | 358,273,321 | false | null | package com.aokur.bitcointicker.data.model
data class FavouriteCoinModel(
val id: String,
val image: String,
val name: String,
val symbol: String
) {
constructor() : this("", "", "", "")
} | 1 | Kotlin | 3 | 9 | 7a1e0a0978e77fcd2c94b8431f39cb32450159bc | 209 | CryptoPriceTracker | Apache License 2.0 |
shark-hprof/src/test/java/HprofReaderPrimitiveArrayTest.kt | yisitao | 207,528,339 | true | {"Kotlin": 685868, "Shell": 1312} | import org.assertj.core.api.Assertions.assertThat
import org.junit.Rule
import org.junit.Test
import shark.Hprof
import shark.HprofRecord
import shark.OnHprofRecordListener
import kotlin.text.Charsets.UTF_8
class HprofReaderPrimitiveArrayTest {
@get:Rule
var heapDumpRule = HeapDumpRule()
@Test
fun sk... | 0 | null | 0 | 0 | e032f55772fbe8432210cfad5529a9b5863e9160 | 1,490 | leakcanary | Apache License 2.0 |
app/src/main/java/com/idrnd/idvoice/utils/extensions/TabLayoutExtensions.kt | IDRnD | 276,359,666 | false | {"Kotlin": 125755} | package com.idrnd.idvoice.utils.extensions
import com.google.android.material.tabs.TabLayout
/**
* Add a TabLayout.OnTabSelectedListener that will be invoked when tab selection changes.
*
* <p>Components that add a listener should take care to remove it when finished via {@link
* #removeOnTabSelectedListener(OnTa... | 1 | Kotlin | 2 | 14 | a3abc574bf054094a9c1565c9f61fb6bf23d0c4d | 965 | idvoice-android-demo | MIT License |
modules/dql-model/src/main/kotlin/com/farcsal/dql/model/DqlCriteriaValue.kt | fzoli | 541,286,565 | false | null | /*
* Copyright 2022 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... | 0 | Kotlin | 0 | 1 | 9124bbded2e69846270d8d9f2f29b575f21999e7 | 3,773 | dql-kotlin | Apache License 2.0 |
fir/src/org/jetbrains/kotlin/idea/fir/inspections/diagnosticBased/HLRedundantVisibilityModifierInspection.kt | JetBrains | 278,369,660 | 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.idea.fir.inspections.diagnosticBased
import com.intellij.codeInspection.ProblemH... | 1 | null | 30 | 82 | cc81d7505bc3e9ad503d706998ae8026c067e838 | 2,425 | intellij-kotlin | Apache License 2.0 |
app/src/main/java/pk/sufiishq/app/ui/main/player/PlayerView.kt | sufiishq | 427,931,739 | false | {"Kotlin": 950135} | /*
* Copyright 2022-2023 SufiIshq
*
* 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... | 3 | Kotlin | 0 | 2 | 254eeb6c2b1cad21d2f971d8b49ba3327d446bb5 | 4,271 | sufiishq-mobile | Apache License 2.0 |
dsl/src/main/kotlin/io/cloudshiftdev/awscdkdsl/services/autoscaling/SignalsOptionsDsl.kt | cloudshiftinc | 667,063,030 | false | {"Kotlin": 63959868} | @file:Suppress(
"RedundantVisibilityModifier",
"RedundantUnitReturnType",
"RemoveRedundantQualifierName",
"unused",
"UnusedImport",
"ClassName",
"REDUNDANT_PROJECTION",
"DEPRECATION"
)
package io.cloudshiftdev.awscdkdsl.services.autoscaling
import io.cloudshiftdev.awscdkdsl.common.CdkD... | 3 | Kotlin | 0 | 3 | c59c6292cf08f0fc3280d61e7f8cff813a608a62 | 1,904 | awscdk-dsl-kotlin | Apache License 2.0 |
apollo-compiler/src/test/graphql/com/example/unique_type_name/fragment/HeroDetails.kt | apollostack | 69,469,299 | false | null | // AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL plugin from the GraphQL queries it found.
// It should not be modified by hand.
//
package com.example.fragment_friends_connection.fragment
import com.apollographql.apollo.api.GraphqlFragment
import com.apollographql.... | 5 | Java | 531 | 2,897 | f16ef0f4020af7a07c200f0fdcf1dac977d63637 | 6,710 | apollo-android | MIT License |
3ds2/src/main/java/com/adyen/checkout/adyen3ds2/Adyen3DS2Component.kt | Adyen | 91,104,663 | false | null | /*
* Copyright (c) 2019 <NAME>.
*
* This file is open source and available under the MIT license. See the LICENSE file for more info.
*
* Created by caiof on 7/5/2019.
*/
package com.adyen.checkout.adyen3ds2
import android.app.Activity
import android.app.Application
import android.content.Context
import android.... | 38 | null | 55 | 76 | 7ef3cb60ff12f1421e69b2e380a15504933499e7 | 16,749 | adyen-android | MIT License |
initializr-locorepo/src/main/kotlin/io/spring/initializr/locorepo/gradlekts/GradleLanguageMultiProjectSettingsWriter.kt | amirmv2006 | 304,826,019 | false | {"Groovy": 2, "AsciiDoc": 13, "Text": 1, "Shell": 15, "Maven POM": 13, "Batchfile": 7, "Git Attributes": 1, "Ignore List": 1, "Java": 557, "XML": 39, "YAML": 24, "JSON": 21, "Dockerfile": 3, "Gradle": 2, "INI": 11, "Mustache": 10, "Kotlin": 64, "XSLT": 1, "CSS": 1, "Vim Snippet": 1} | package io.spring.initializr.locorepo.gradlekts
import io.spring.initializr.generator.buildsystem.gradle.GradleBuild
import io.spring.initializr.generator.buildsystem.gradle.KotlinDslGradleSettingsWriter
import io.spring.initializr.generator.io.IndentingWriter
import io.spring.initializr.locorepo.MpsProjectGenerationC... | 1 | null | 1 | 1 | 1c6c239b4dcb3e55ac8593894359e22fc3ed4295 | 890 | initializr | Apache License 2.0 |
src/main/kotlin/org/cirruslabs/utils/bazel/model/MavenInstallDefinition.kt | cirruslabs | 267,932,378 | false | null | package org.cirruslabs.utils.bazel.model
class MavenInstallDefinition(
var dependency_tree: MavenDependencyTree
)
data class MavenDependencyTree(
var dependencies: List<MavenDependency>
)
data class MavenDependency(
var coord: String,
var url: String
) {
val definition: LibraryDefinition
get() {
... | 3 | Kotlin | 2 | 14 | 1347ac0281c0c65b3da0d046d9ac01514d2a20ac | 615 | bazel-project-generator | MIT License |
platform/projectModel-impl/src/com/intellij/workspaceModel/ide/impl/ExampleWorkspaceModelEventsHandler.kt | JetBrains | 2,489,216 | 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.workspaceModel.ide.impl
import com.intellij.openapi.Disposable
import com.intellij.openapi.module.ModuleManager
import com.intellij.openapi.project.Project
import com.intellij.o... | 214 | null | 4829 | 15,129 | 5578c1c17d75ca03071cc95049ce260b3a43d50d | 9,921 | intellij-community | Apache License 2.0 |
android/src/main/java/org/dwbn/plugins/playlist/PlaylistPlugin.kt | phiamo | 312,703,046 | false | {"Swift": 67475, "TypeScript": 47408, "Kotlin": 43402, "Java": 31664, "Objective-C": 1878, "Ruby": 926, "JavaScript": 453} | package org.dwbn.plugins.playlist
import android.os.Handler
import android.os.Looper
import android.util.Log
import com.devbrackets.android.playlistcore.data.MediaProgress
import com.getcapacitor.*
import com.getcapacitor.annotation.CapacitorPlugin
import org.dwbn.plugins.playlist.data.AudioTrack
import org.json.JSONA... | 5 | Swift | 20 | 23 | 9e780e775ff89469c81c2869572301ae4ab8baaa | 14,100 | capacitor-plugin-playlist | MIT License |
app/src/main/java/pl/polsl/workflow/manager/client/ui/coordinator/group/patch/GroupCoordinatorPatchViewModel.kt | SzymonGajdzica | 306,075,061 | false | null | package pl.polsl.workflow.manager.client.ui.coordinator.group.patch
import android.app.Application
import androidx.lifecycle.LiveData
import pl.polsl.workflow.manager.client.model.data.Group
import pl.polsl.workflow.manager.client.model.data.GroupPatch
import pl.polsl.workflow.manager.client.model.data.User
import pl.... | 0 | Kotlin | 0 | 0 | 93c99cc67c7af0bc55ca8fb03f077cdd363cb7e8 | 1,001 | workflow-manager-client | MIT License |
targetfun/src/main/java/com/cysion/targetfun/FlowableKt.kt | CysionLiu | 158,726,380 | false | null | package com.cysion.targetfun
import io.reactivex.Flowable
import io.reactivex.FlowableSubscriber
import org.reactivestreams.Subscription
class FlowableObj<T> : FlowableSubscriber<T> {
private var _a: ((s: Subscription) -> Unit)? = null
private var _b: ((t: T) -> Unit)? = null
private var _c: (() -> Unit)... | 0 | Kotlin | 4 | 112 | db1cecd29c2dc07a11c53a770a4b0a40ad2ca376 | 1,086 | kotlin-targetFun | Apache License 2.0 |
common/common-mybatis/src/main/kotlin/com/blank/common/mybatis/listener/MyInsertListener.kt | qq781846712 | 705,955,843 | false | {"Kotlin": 847346, "Vue": 376959, "TypeScript": 137544, "Java": 45954, "HTML": 29445, "SCSS": 19657, "JavaScript": 3399, "Batchfile": 2056, "Shell": 1786, "Dockerfile": 1306} | package com.blank.common.mybatis.listener
import com.blank.common.mybatis.core.domain.BaseEntity
import com.blank.common.satoken.utils.LoginHelper.getLoginUserId
import com.mybatisflex.annotation.InsertListener
import java.util.*
/**
* 插入监听器
*/
class MyInsertListener : InsertListener {
override fun onInsert(ent... | 1 | Kotlin | 0 | 0 | d14c56f4a4e6c777eadbb8b1b9d2743034c6a7f6 | 500 | Ruoyi-Vue-Plus-Kotlin | Apache License 2.0 |
platform/backend/core/src/main/kotlin/io/hamal/core/adapter/auth/LoginMetaMask.kt | hamal-io | 622,870,037 | false | {"Kotlin": 2439820, "C": 1398561, "TypeScript": 321391, "Lua": 156281, "C++": 40661, "Makefile": 11728, "Java": 7564, "CMake": 2810, "JavaScript": 2640, "CSS": 1567, "Shell": 977, "HTML": 903} | package io.hamal.core.adapter.auth
import io.hamal.core.adapter.account.AccountCreateMetaMaskPort
import io.hamal.core.adapter.request.RequestAwaitPort
import io.hamal.core.adapter.request.RequestEnqueuePort
import io.hamal.core.adapter.workspace.WorkspaceListPort
import io.hamal.core.component.GenerateToken
import io... | 44 | Kotlin | 0 | 0 | dc4c112f018e267ff3247c70104f6c33ce5aa235 | 4,187 | hamal | Creative Commons Zero v1.0 Universal |
src/main/kotlin/com/ort/howlingwolf/api/view/reserved/ReservedVillageView.kt | h-orito | 176,481,255 | false | {"Gradle Kotlin DSL": 2, "Shell": 23, "Ignore List": 1, "Batchfile": 28, "Git Attributes": 1, "Markdown": 1, "INI": 6, "Kotlin": 266, "Java Properties": 5, "YAML": 3, "Java": 426, "Roff": 1, "XML": 8, "Text": 22, "Perl": 3, "Python": 1, "XSLT": 14, "HTML": 4, "SQL": 4, "Gradle": 6} | package com.ort.howlingwolf.api.view.reserved
import com.ort.howlingwolf.domain.model.reserved.ReservedVillage
import java.time.LocalTime
data class ReservedVillageView(
val startTime: LocalTime,
val organization: String,
val silentHours: Int,
val sayableStart: LocalTime,
val sayableEnd: LocalTime... | 0 | Kotlin | 1 | 3 | d87c28e952287ccbc1634c1eee093a5f9f15e472 | 979 | wolf4busy-api | MIT License |
app/src/main/java/com/videoengager/demoapp/AvailabilityActivity.kt | VideoEngager | 367,585,600 | false | {"Kotlin": 77507} | package com.videoengager.demoapp
import android.annotation.SuppressLint
import android.content.Intent
import android.content.SharedPreferences
import android.os.Bundle
import android.view.Gravity
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.ProgressBar... | 0 | Kotlin | 0 | 1 | cddb6fddbe97e2504dbc6daa26781f57418b912a | 9,862 | SmartVideo-Android-SDK-Demo-App | MIT License |
zinc-poet/zinc-poet/src/main/kotlin/com/ing/zinc/poet/ZincTypeDef.kt | ing-bank | 550,239,957 | false | {"Kotlin": 1610321, "Shell": 1609} | package com.ing.zinc.poet
/**
* A [ZincType] that represents a type alias definition, e.g.
* ```
* type BitArray16 = [bool; 16];
* ```
*/
interface ZincTypeDef : ZincType, ZincFileItem {
/**
* The alias for the defined type.
*/
fun getName(): String
/**
* The actual type.
*/
... | 0 | Kotlin | 4 | 9 | f6e2524af124c1bdb2480f03bf907f6a44fa3c6c | 1,197 | zkflow | MIT License |
compiler/fir/java/src/org/jetbrains/kotlin/fir/java/declarations/FirJavaValueParameter.kt | android | 263,405,600 | false | null | /*
* Copyright 2010-2019 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.fir.java.declarations
import org.jetbrains.kotlin.fir.FirImplementationDetail
im... | 1 | null | 37 | 316 | 74126637a097f5e6b099a7b7a4263468ecfda144 | 4,261 | kotlin | Apache License 2.0 |
processors/src/main/kotlin/com/alecarnevale/claymore/validators/AutoBindsValidator.kt | alecarnevale | 559,250,665 | false | null | package com.alecarnevale.claymore.validator
import com.alecarnevale.claymore.annotation.AutoBinds
import com.google.devtools.ksp.processing.KSPLogger
import com.google.devtools.ksp.symbol.ClassKind
import com.google.devtools.ksp.symbol.KSAnnotated
import com.google.devtools.ksp.symbol.KSClassDeclaration
import com.goo... | 1 | Kotlin | 0 | 3 | 69edcb4c8908eb3bc0c6b513b07b3da1c39c4c80 | 890 | claymore | Apache License 2.0 |
shared/src/androidMain/kotlin/com/architect/kmpessentials/contacts/KmpContacts.kt | TheArchitect123 | 801,452,364 | false | {"Kotlin": 385398, "Swift": 1216} | package com.architect.kmpessentials.contacts
import android.content.ContentResolver
import android.content.Intent
import android.provider.ContactsContract
import com.architect.kmpessentials.KmpAndroid
import com.architect.kmpessentials.logging.KmpLogging
import com.architect.kmpessentials.logging.constants.ErrorCodes
... | 5 | Kotlin | 1 | 138 | 4a44b264817b80ef9fcb319d5a0ab08a9c00b853 | 4,108 | KmpEssentials | MIT License |
app/src/main/java/com/bayraktar/healthybackandneck/ui/Favourite/FavouriteMoveList/MoveListViewModel.kt | OzerBAYRAKTAR | 681,364,096 | false | {"Kotlin": 353500} | package com.bayraktar.healthybackandneck.ui.Favourite.FavouriteMoveList
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.bayraktar.healthybackandneck.data.Models.ExerciseDetailModel.ExerciseDayExercise
i... | 0 | Kotlin | 0 | 0 | 4b3fe6bc833e59d5ab95c9b10c751a2e9f139f6d | 1,324 | HealthyBackandNeck | MIT License |
idea/tests/testData/quickfix/modifiers/noLateinitOnNullable.kt | JetBrains | 278,369,660 | false | null | // "Add 'lateinit' modifier" "false"
// ACTION: Add initializer
// ACTION: Make 'a' 'abstract'
// ACTION: Move to constructor parameters
// ACTION: Move to constructor
// ACTION: Add getter
// ACTION: Add getter and setter
// ACTION: Add setter
// ERROR: Property must be initialized or be abstract
class A {
privat... | 1 | null | 37 | 82 | cc81d7505bc3e9ad503d706998ae8026c067e838 | 346 | intellij-kotlin | Apache License 2.0 |
js/js.translator/testData/box/propertyOverride/overrideExtensionProperty.kt | JakeWharton | 99,388,807 | true | null | // EXPECTED_REACHABLE_NODES: 1004
package foo
class T
open class A {
open val T.foo: Int
get() {
return 34
}
fun test(): Int {
return T().foo
}
}
class B : A() {
override val T.foo: Int get() = 5
}
fun box(): String {
if (A().test() != 34) return "A().test() ... | 184 | Kotlin | 5691 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 444 | kotlin | Apache License 2.0 |
app/src/main/java/me/bakumon/moneykeeper/database/entity/Assets.kt | twwbmitnlf | 166,140,516 | true | {"Gradle": 4, "Markdown": 3, "Java Properties": 2, "Shell": 1, "Text": 3, "Ignore List": 2, "Batchfile": 1, "Proguard": 1, "JSON": 4, "Kotlin": 184, "XML": 114, "Java": 2} | /*
* Copyright 2018 Bakumon. https://github.com/Bakumon
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... | 1 | Kotlin | 1 | 1 | 822d49e4c515098ef75d7140512412eff590e269 | 1,972 | MoneyKeeper | Apache License 2.0 |
app/src/main/java/com/flixclusive/data/usecase/VideoDataProviderUseCaseImpl.kt | rhenwinch | 659,237,375 | false | {"Kotlin": 905846} | package com.flixclusive.data.usecase
import com.flixclusive.R
import com.flixclusive.domain.common.Resource
import com.flixclusive.domain.model.VideoDataDialogState
import com.flixclusive.domain.model.entities.WatchHistoryItem
import com.flixclusive.domain.model.tmdb.Film
import com.flixclusive.domain.model.tmdb.TMDBE... | 4 | Kotlin | 6 | 37 | 6b153eec56c3e68e6da5ecdc645041ad2ed912d1 | 4,273 | Flixclusive | MIT License |
app/src/main/java/eu/kanade/presentation/util/Resources.kt | mihonapp | 743,704,912 | false | null | package eu.kanade.presentation.util
import android.content.res.Resources
import androidx.annotation.ColorInt
import androidx.annotation.DrawableRes
import androidx.compose.runtime.Composable
import androidx.compose.runtime.remember
import androidx.compose.ui.graphics.asImageBitmap
import androidx.compose.ui.graphics.p... | 36 | null | 447 | 9,867 | f3a2f566c8a09ab862758ae69b43da2a2cd8f1db | 1,193 | mihon | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.