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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
vim-engine/src/main/kotlin/com/maddyhome/idea/vim/action/CommandProvider.kt | JetBrains | 1,459,486 | false | {"Kotlin": 4924858, "Java": 414995, "ANTLR": 37092, "HTML": 2184} | /*
* Copyright 2003-2023 The IdeaVim authors
*
* Use of this source code is governed by an MIT-style
* license that can be found in the LICENSE.txt file or at
* https://opensource.org/licenses/MIT.
*/
package com.maddyhome.idea.vim.action
import com.intellij.vim.processors.CommandBean
import com.maddyhome.idea.... | 1 | Kotlin | 716 | 8,198 | b3ad222cdcbe2bc4abf292f71fbb12de870bc277 | 1,523 | ideavim | MIT License |
app/src/main/java/com/febers/uestc_bbs/home/HomeActivity.kt | liuwenhaha | 194,283,053 | true | {"Kotlin": 572054, "Java": 205268, "HTML": 3749, "IDL": 746} | package com.febers.uestc_bbs.home
import android.annotation.SuppressLint
import android.content.Intent
import androidx.core.app.ActivityCompat
import android.view.View
import com.aurelhubert.ahbottomnavigation.AHBottomNavigation
import com.aurelhubert.ahbottomnavigation.AHBottomNavigationItem
import com.febers.uestc_b... | 0 | Kotlin | 0 | 0 | 875ff6a729ff2e14a62f2dad58eb898d4eae29d9 | 6,321 | UESTC_BBS | Apache License 2.0 |
forger-workflow/src/main/kotlin/com/github/wenslo/forger/workflow/MainController.kt | wenslo | 547,177,354 | false | null | package com.github.wenslo.forger.workflow
import com.github.wenslo.forger.core.domain.Response
import com.github.wenslo.forger.core.inline.getLogger
import com.github.wenslo.forger.workflow.controller.ResourceController
import org.springframework.web.bind.annotation.ControllerAdvice
import org.springframework.web.bind... | 0 | Kotlin | 0 | 1 | dc3be4d08e7fe945bbdbaa3008ccdc267438cb0b | 930 | forger | Apache License 2.0 |
solar/src/main/java/com/chiksmedina/solar/outline/homefurniture/Closet2.kt | CMFerrer | 689,442,321 | false | {"Kotlin": 36591890} | package com.chiksmedina.solar.outline.homefurniture
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Com... | 0 | Kotlin | 0 | 0 | 3414a20650d644afac2581ad87a8525971222678 | 5,897 | SolarIconSetAndroid | MIT License |
geary-core/src/main/kotlin/com/mineinabyss/geary/ecs/api/autoscan/AutoscanAnnotations.kt | MineInAbyss | 306,093,350 | false | null | package com.mineinabyss.geary.ecs.api.autoscan
import com.mineinabyss.geary.ecs.accessors.EventScope
import com.mineinabyss.geary.ecs.accessors.SourceScope
import com.mineinabyss.geary.ecs.accessors.TargetScope
import com.mineinabyss.geary.ecs.api.systems.GearyListener
import com.mineinabyss.geary.ecs.api.systems.Gear... | 20 | Kotlin | 9 | 16 | 8e84554a09d936feb18468e8bd8b0ad24d986805 | 1,532 | Geary | MIT License |
app/src/main/java/br/com/wellingtoncosta/databinding/playground/data/room/ContactDao.kt | wellingtoncosta | 141,439,617 | false | null | package br.com.wellingtoncosta.databinding.playground.data.room
import android.arch.persistence.room.Dao
import android.arch.persistence.room.Insert
import android.arch.persistence.room.Query
import br.com.wellingtoncosta.databinding.playground.domain.Contact
import io.reactivex.Maybe
/**
* @author WellingtonCosta o... | 0 | Kotlin | 3 | 8 | 2f73ccb58abf1b242f8672b9be43af81f3f22155 | 488 | android-databinding-playground | MIT License |
app/src/main/java/br/com/example/pedro/alarmtest/MainActivity.kt | pvmm | 142,940,098 | false | null | package br.com.example.pedro.alarmtest
import android.os.Bundle
import android.support.v7.app.AppCompatActivity
import android.util.Log
import kotlinx.android.synthetic.main.activity_main.*
import java.util.*
class MainActivity : AppCompatActivity() {
private lateinit var alarmManager: AlarmManager
private... | 0 | Kotlin | 0 | 0 | bd4456ba5a4206f0e0c0278c4ffe1f1dd7b1c346 | 1,768 | alarm-tests | Apache License 2.0 |
backend/src/main/kotlin/org/gridiron/backend/model/TeamRepository.kt | domnikl | 282,521,529 | false | null | package org.gridiron.backend.model
import org.gridiron.backend.persistence.Teams
import org.gridiron.backend.persistence.Teams.logo
import org.gridiron.backend.persistence.Teams.name
import org.gridiron.backend.persistence.Teams.uuid
import org.jetbrains.exposed.sql.Database
import org.jetbrains.exposed.sql.ResultRow
... | 15 | Kotlin | 0 | 2 | baae7a92fe6610139e2473276ad1ac599f041165 | 2,311 | gridiron | Apache License 2.0 |
kt-cdk/src/main/kotlin/core/encoding.module_@aws-cdk_core.kt | kartoffelsup | 252,152,703 | false | null | @file:Suppress("INTERFACE_WITH_SUPERCLASS", "OVERRIDING_FINAL_MEMBER", "RETURN_TYPE_MISMATCH_ON_OVERRIDE", "CONFLICTING_OVERLOADS", "EXTERNAL_DELEGATION")
@file:JsModule("@aws-cdk/core")
package core
import kotlin.js.*
external var BEGIN_STRING_TOKEN_MARKER: Any
external var BEGIN_LIST_TOKEN_MARKER: Any
external v... | 0 | Kotlin | 0 | 0 | 6c20e6277ea66e531b4b46017faa10270b25b8bc | 1,096 | kt-js-lambda-cdk-test | Apache License 2.0 |
plugins/variable/src/main/kotlin/com/redmadrobot/debug/plugin/variable/ui/widgets/numbers/FloatVariableWidget.kt | RedMadRobot | 516,407,635 | false | {"Kotlin": 199119, "Shell": 621} | package com.redmadrobot.debug.plugin.variable.ui.widgets.numbers
internal class FloatVariableWidget : NumberVariableWidget<Float>(Float::class)
| 4 | Kotlin | 4 | 6 | 1d631f9d7669eb1b39c8b3b9b7d4e68a58de2cb4 | 145 | debug-panel-android | MIT License |
app/src/main/java/com/mazaira/searchtv/util/extensions/DrawableExtension.kt | yiras46 | 414,885,300 | false | {"Kotlin": 47160} | package com.mazaira.searchtv.util.extensions
import android.graphics.drawable.Drawable
import androidx.annotation.ColorInt
import androidx.core.graphics.drawable.DrawableCompat
fun Drawable.changeTint(@ColorInt color:Int):Drawable{
val wrappedDrawable = DrawableCompat.wrap(this)
DrawableCompat.setTint(wrapped... | 0 | Kotlin | 0 | 0 | aebcbe384da5fa6c29ee8b1820b6733cefbe8ec3 | 365 | searchTV | Apache License 2.0 |
app/src/main/java/com/ooos/sunshine/BaseActivity.kt | marzooos | 377,030,916 | false | null | package com.ooos.sunshine
import android.app.Activity
import android.os.Build
import android.os.Bundle
import android.view.View
import androidx.appcompat.app.AppCompatActivity
import com.ooos.sunshine.ui.place.PlaceActivity
open class BaseActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState:... | 0 | Kotlin | 0 | 1 | b6ac8a145ce1589ed3699c81237dbccd8b1dc46a | 698 | Sunshine | Apache License 2.0 |
app/src/main/java/com/akexorcist/concatadapter/TwoColumnAdapter.kt | akexorcist | 360,942,961 | false | null | package com.akexorcist.concatadapter
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.recyclerview.widget.RecyclerView
import com.akexorcist.concatadapter.databinding.ViewTwoColumnBinding
class TwoColumnAdapter(private val onClick: (String) -> Unit) : RecyclerView.Adapter<TwoColumnView... | 0 | Kotlin | 7 | 34 | 3bbcac679d3df7dd61d1c56c9b810fc0c62f3085 | 1,060 | ConcatAdapterMultipleLayoutManager | Apache License 2.0 |
builders-marketplace-backend-common/src/main/kotlin/builders/marketplace/models/advert/UnitType.kt | otuskotlin | 330,110,908 | false | null | package builders.marketplace.models.advert
data class UnitType(
val id: UnitTypeId = UnitTypeId.NONE,
val name: String = "",
val description: String = "",
val symbol: String = "",
val symbols: Set<String> = mutableSetOf(),
val isBase: Boolean = false
) {
companion object {
val NONE ... | 1 | Kotlin | 0 | 0 | 634d29aa6673f8fedbe25a6ee75598e631cded14 | 527 | otuskotlin-202012-bauserviceads-bd | MIT License |
multiplatform-paging/src/androidMain/kotlin/kr/sparkweb/multiplatform/paging/PagingData.kt | Xharpen | 323,832,671 | false | {"Kotlin": 66081} | package kr.sparkweb.multiplatform.paging
import androidx.paging.PagingData
import androidx.paging.filter
import androidx.paging.flatMap
import androidx.paging.map
actual typealias PagingData<T> = PagingData<T>
actual suspend fun <T : Any, R : Any> PagingData<T>.map(transform: suspend (T) -> R): PagingData<R> {
r... | 0 | Kotlin | 0 | 0 | f9373670d4aafb3dec156905b25c22da8a08b32c | 627 | mobile-infrastructure | Apache License 2.0 |
mui-icons-kotlin/src/jsMain/kotlin/mui/icons/material/Umbrella.kt | karakum-team | 387,062,541 | false | {"Kotlin": 2961484, "TypeScript": 2249, "JavaScript": 1167, "HTML": 724, "CSS": 86} | // Automatically generated - do not modify!
@file:JsModule("@mui/icons-material/Umbrella")
package mui.icons.material
@JsName("default")
external val Umbrella: SvgIconComponent
| 0 | Kotlin | 5 | 35 | d12f6b1ad1b215ad7d3d9f27e24d48ada9b7fe2d | 180 | mui-kotlin | Apache License 2.0 |
app/src/main/java/science/credo/mobiledetector2/analytics/DetectorStateEvent.kt | Liam30acre | 370,784,891 | true | {"Kotlin": 229133, "C": 4441, "CMake": 212} | package science.credo.mobiledetector2.analytics
import android.content.Context
import android.os.Bundle
import com.google.firebase.crashlytics.FirebaseCrashlytics
import science.credo.mobiledetector2.detector.BaseCalibrationResult
import science.credo.mobiledetector2.detector.camera2.RawFormatCalibrationResult
import ... | 0 | null | 0 | 0 | b033dc19731de656ee0f2b9455360b266d6f7a71 | 5,874 | credo-detector-android | MIT License |
collect_app/src/androidTest/java/org/odk/collect/android/feature/settings/ResetProjectTest.kt | getodk | 40,213,809 | false | {"Java": 3378614, "Kotlin": 2749754, "JavaScript": 2830, "Shell": 2689} | package org.odk.collect.android.feature.settings
import org.junit.Rule
import org.junit.Test
import org.junit.rules.RuleChain
import org.odk.collect.android.support.StubOpenRosaServer.EntityListItem
import org.odk.collect.android.support.TestDependencies
import org.odk.collect.android.support.pages.AccessControlPage
i... | 283 | Java | 1372 | 717 | 63050fdd265c42f3c340f0ada5cdff3c52a883bc | 5,640 | collect | Apache License 2.0 |
browser-kotlin/src/main/kotlin/js/intl/ListFormatType.kt | karakum-team | 393,199,102 | false | null | // Automatically generated - do not modify!
@file:Suppress(
"NAME_CONTAINS_ILLEGAL_CHARS",
)
package js.intl
// language=JavaScript
@JsName("""(/*union*/{conjunction: 'conjunction', disjunction: 'disjunction', unit: 'unit'}/*union*/)""")
external enum class ListFormatType {
conjunction,
disjunction,
... | 0 | Kotlin | 5 | 18 | e71c43c0b93113ea0394025c3f40268cb7c66ca9 | 335 | types-kotlin | Apache License 2.0 |
app/src/main/java/com/angelica/myfavs/viewmodel/HomeViewModel.kt | angelcomp | 373,599,368 | false | {"Kotlin": 38275} | package com.angelica.myfavs.viewmodel
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.angelica.myfavs.models.Favorite
import com.angelica.myfavs.services.FavoritesRepository
import kotlinx.coroutines.launch
class HomeViewModel(val favor... | 0 | Kotlin | 0 | 1 | 06f4d6a6e1ffeeeac320820aee9073b7a2afcd88 | 732 | android-movie-app | MIT License |
exercises/src/test/kotlin/de/iteratec/kotlin/basic/solutions/T12LambdasWithReceiversTasks.kt | iteratec | 190,216,048 | false | {"Gradle": 1, "Batchfile": 3, "Shell": 3, "Maven POM": 2, "Gradle Kotlin DSL": 3, "Text": 1, "Ignore List": 1, "Markdown": 17, "INI": 4, "Java": 5, "HTML": 1, "Kotlin": 60} | package de.iteratec.kotlin.basic.solutions
import org.junit.Assert.assertEquals
import org.junit.Test
class T15LambdasWithReceiversTasks {
class LetterBuilder(
val author: String,
var content: String = "",
private var greeting: String = "Hello,",
) {
fun greeting(n... | 1 | Kotlin | 1 | 6 | 388f833f0c7c3693eb65708e6e5f77e032ac156b | 3,413 | kotlin-training-playground | Apache License 2.0 |
0104.kt | IESSanVicente | 849,291,905 | false | {"Kotlin": 5634} | /**
* 0104 – Tabla de multiplicar
* Escribe la tabla de multiplicar de un número introducido por el usuario, utiliza el bucle for.
*/
fun main() {
print("Dime el número que quieres multiplicar: ")
val n1 = readLine()!!.toInt()
for (n2 in 1..10) {
println("$n1 * $n2 = ${n1 * n2}")
}
} | 0 | Kotlin | 0 | 0 | 70db6817701cd1c5cd3a9611714a94942a56c952 | 313 | Soluciones-Unidad-1 | MIT License |
sdks/kotlin/wallet_api/v1/AddCredentialRequestKt.kt | knox-networks | 595,429,463 | false | {"Rust": 17246636, "C++": 6138133, "C#": 3083132, "JavaScript": 2183132, "TypeScript": 1665259, "Kotlin": 1249671} | // Generated by the protocol buffer compiler. DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: wallet_api/v1/wallet.proto
// Generated files should ignore deprecation warnings
@file:Suppress("DEPRECATION")
package wallet_api.v1;
@kotlin.jvm.JvmName("-initializeaddCredentialRequest")
public inline fun addCred... | 0 | Rust | 1 | 0 | 16af58a5dc1e9e51859be4a6e0f6791b7adcb2f2 | 3,466 | grpc-sdks | Apache License 2.0 |
android/app/src/main/kotlin/com/example/contactcard/MainActivity.kt | Ai-Albert | 324,422,727 | false | {"Dart": 4376, "HTML": 1132, "Swift": 404, "Kotlin": 128, "Objective-C": 38} | package com.example.contactcard
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| 0 | Dart | 0 | 0 | 301e48bd441d74da66a444ee1efa1736e6e3648b | 128 | personal-contact-card | Apache License 2.0 |
app/src/main/java/gyg/reviews/domain/usecase/GetReviewsUseCase.kt | HonestTaxPayer | 242,131,375 | false | null | package gyg.reviews.domain.usecase
import androidx.paging.DataSource
import gyg.reviews.domain.model.ReviewEntity
import gyg.reviews.domain.model.ReviewsParams
import gyg.reviews.domain.repository.ReviewsRepository
import gyg.reviews.domain.usecase.base.UseCase
class GetReviewsUseCase(private val repository: ReviewsR... | 0 | Kotlin | 0 | 0 | e2c124b564a6d40a8f29885a8965d9821265a013 | 543 | GYG | Apache License 2.0 |
aacmvi/src/main/java/com/rohitss/aacmvi/AacMviCustomView.kt | ZASHMCD | 256,659,311 | true | {"Kotlin": 26866} | /*
* Copyright 2020 Rohit Surwase
*
* 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... | 0 | null | 0 | 0 | 661d5a5bd5687b0c0e6365a8ddeaddb0afd7d35e | 1,984 | AAC-MVI-Architecture | Apache License 2.0 |
src/main/kotlin/com/github/rochedo/planetsandstars/registry/materials/armor/SpaceSuitMaterial.kt | Rochedo098 | 372,644,126 | false | null | package com.github.rochedo.planetsandstars.registry.materials.armor
import net.minecraft.entity.EquipmentSlot
import net.minecraft.item.ArmorMaterial
import net.minecraft.recipe.Ingredient
import net.minecraft.sound.SoundEvent
import net.minecraft.sound.SoundEvents
class SpaceSuitMaterial : ArmorMaterial {
val du... | 0 | Kotlin | 0 | 0 | 480ad335852a10a4f87f2e0e59c3d7e02337a931 | 1,142 | Planets-and-Stars | Apache License 2.0 |
app/src/main/java/com/you/android/ui/roomlist/RoomListAdapter.kt | buggyminer | 388,372,603 | true | {"Kotlin": 52884} | package com.you.android.ui.roomlist
import android.content.Intent
import android.graphics.drawable.Drawable
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import androidx.recyclerview.widget.RecyclerView
import androidx.viewpager.widget.ViewPage... | 0 | null | 0 | 0 | a142b801ba17b79f3fddfcb7a51f72e08a92589f | 2,330 | You | MIT License |
app/src/main/java/org/wikipedia/talk/UserTalkPopupHelper.kt | wikimedia | 13,862,999 | false | null | package org.wikipedia.talk
import android.annotation.SuppressLint
import android.app.Activity
import android.view.MenuItem
import android.view.View
import android.view.ViewGroup
import androidx.appcompat.app.AppCompatActivity
import androidx.appcompat.view.menu.MenuBuilder
import androidx.appcompat.view.menu.MenuPopup... | 19 | Kotlin | 500 | 1,722 | 69d2f8d04765e2817bda474a72637ea32716e9a6 | 4,048 | apps-android-wikipedia | Apache License 2.0 |
app/src/main/java/com/veyndan/paper/reddit/TimePeriodFilterFragment.kt | veyndan | 62,396,630 | false | {"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 2, "Proguard": 1, "Kotlin": 91, "XML": 46, "Java": 4} | package com.veyndan.paper.reddit
import android.os.Bundle
import android.support.v4.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import com.veyndan.paper.reddit.api.reddit.Reddit
import com.veyndan.paper.reddit.api.reddit.network.TimePeriod
import com.veyndan.... | 0 | Kotlin | 1 | 0 | 26f49906a1f2fe1273e2d8637a212afd28199fbd | 1,061 | paper-for-reddit | MIT License |
common/data/src/main/java/app/common/data/model/ContactItem.kt | ShabanKamell | 377,910,641 | false | null | package app.common.data.model
data class ContactItem(
var id: Long,
var name: String?,
var phone: String?
) {
constructor() : this(0L, "", "")
}
| 0 | Kotlin | 0 | 1 | 86af3d676d887ba4b5953289e3dca9c947551513 | 162 | Contacts | Apache License 2.0 |
Example/component_login/src/main/java/love/nuoyan/android/component_login/ComponentLogin.kt | WenjieGithub | 629,371,100 | false | null | package love.nuoyan.android.component_login
import love.nuoyan.component_bus.annotation.Action
import love.nuoyan.component_bus.annotation.Component
@Component(componentName = "Login")
object ComponentLogin {
@Action(actionName = "isLogin")
fun isLogin(): Boolean {
return false
}
@Action(acti... | 0 | Kotlin | 0 | 0 | 90332c6ef3033bafe742939b935b11763670f8eb | 556 | ComponentBus | Apache License 2.0 |
utbot-framework/src/main/kotlin/org/utbot/analytics/FeatureProcessor.kt | UnitTestBot | 480,810,501 | false | null | package org.utbot.analytics
import org.utbot.engine.InterProceduralUnitGraph
import org.utbot.engine.selectors.strategies.TraverseGraphStatistics
/**
* Interface that encapsulates work with FeatureProcessor and can only dumpFeatures at the end of symbolic execution
*/
abstract class FeatureProcessor(graph: InterPro... | 398 | Kotlin | 32 | 91 | abb62682c70d7d2ecc4ad610851d304f7ad716e4 | 495 | UTBotJava | Apache License 2.0 |
urbanairship-layout/src/main/java/com/urbanairship/android/layout/property/StoryIndicatorStyle.kt | urbanairship | 58,972,818 | false | {"Kotlin": 3266979, "Java": 2582150, "Python": 10137, "Shell": 589} | package com.urbanairship.android.layout.property
import androidx.annotation.Dimension
import com.urbanairship.android.layout.property.StoryIndicatorStyleType.LINEAR_PROGRESS
import com.urbanairship.json.JsonMap
import com.urbanairship.json.optionalField
import com.urbanairship.json.requireField
internal sealed class ... | 2 | Kotlin | 122 | 111 | 21d49c3ffd373e3ba6b51a706a4839ab3713db11 | 1,816 | android-library | Apache License 2.0 |
src/main/kotlin/com/cubett/view/TimerView.kt | autoreleasefool | 108,188,355 | false | null | /**
* Timer-based view for rendering the cube timer, recent solves, and basic statistics.
*
* Created by Joseph Roque on 2017-10-24.
*/
package com.cubett.view
import kotlinx.coroutines.experimental.*
import com.cubett.Cubett
import com.cubett.util.Logger
/**
* Render a timer, some recent solves, and basic stati... | 0 | Kotlin | 0 | 0 | 0381f3e6626ed84e9162ff32e3fe39e57253df95 | 8,467 | cubett | Apache License 2.0 |
shared/src/commonMain/kotlin/me/gulya/bitwarden/enums/EncryptionType.kt | IlyaGulya | 306,867,791 | false | null | package me.gulya.bitwarden.enums
import kotlinx.serialization.Serializable
import me.gulya.bitwarden.utilities.serialization.ByteEnumTypeSerializer
@Serializable(with = EncryptionTypeSerializer::class)
enum class EncryptionType(
override val value: Byte,
): Valued<Byte> {
AES_CBC256_B64(0),
AES_CBC128_HMA... | 0 | Kotlin | 1 | 3 | 9177134c7940d143f1f3da14e6dd56f3102c367d | 761 | bitwarden-client-mpp | MIT License |
gradle-plugins/compose/src/test/test-projects/misc/hugeResources/expected/Drawable29.kt | JetBrains | 293,498,508 | false | {"Kotlin": 19912259, "Shell": 12167, "JavaScript": 4973, "Dockerfile": 4774, "Swift": 2823, "Java": 1964, "PowerShell": 1708, "Groovy": 1415, "HTML": 1219, "Ruby": 404} | @file:OptIn(org.jetbrains.compose.resources.InternalResourceApi::class)
package app.group.huge.generated.resources
import kotlin.OptIn
import org.jetbrains.compose.resources.DrawableResource
import org.jetbrains.compose.resources.ExperimentalResourceApi
@ExperimentalResourceApi
private object Drawable29 {
public v... | 1,251 | Kotlin | 1038 | 14,419 | f833fa9945f0420fd9c0c0a5a03d45f196d231ec | 185,046 | compose-multiplatform | Apache License 2.0 |
godot-kotlin/src/nativeGen/kotlin/godot/Skeleton.kt | raniejade | 166,207,411 | false | null | // DO NOT EDIT, THIS FILE IS GENERATED FROM api.json
package godot
import gdnative.godot_method_bind
import gdnative.godot_string
import godot.core.Allocator
import godot.core.Godot
import godot.core.RID
import godot.core.Transform
import godot.core.Variant
import godot.core.VariantArray
import kotlin.Boolean
import k... | 12 | Kotlin | 4 | 51 | 5c1bb2a1f1d2187375bf50c0445b42c88f37989f | 18,321 | godot-kotlin | MIT License |
src/main/kotlin/com/github/mallowigi/scrollfix/services/MyApplicationService.kt | mallowigi | 549,560,990 | false | null | package com.github.mallowigi.anchovy.services
import com.github.mallowigi.anchovy.MyBundle
class MyApplicationService {
init {
println(MyBundle.message("applicationService"))
System.getenv("CI")
?: TODO("Don't forget to remove all non-needed sample code files with their corresponding... | 0 | Kotlin | 0 | 1 | bf8bd31f1966408176064be601c2102a1228bdc5 | 369 | anchovy | Apache License 2.0 |
vk-api-generated/src/main/kotlin/name/anton3/vkapi/generated/adsweb/objects/GetStatisticsResponseItemsItem.kt | Anton3 | 159,801,334 | true | {"Kotlin": 1382186} | @file:Suppress("unused", "SpellCheckingInspection")
package name.anton3.vkapi.generated.adsweb.objects
/**
* No description
*
* @property siteId No description
* @property adUnitId No description
* @property overallCount No description
* @property monthsCount No description
* @property monthMin No description
... | 2 | Kotlin | 0 | 8 | 773c89751c4382a42f556b6d3c247f83aabec625 | 1,022 | kotlin-vk-api | MIT License |
native/native.tests/testData/klibContents/builtinsSerializer/propertyAccessorAnnotations.kt | JetBrains | 3,432,266 | false | null | // KT-56190 K2 does not emit const initializers
// MUTED_WHEN: K2
package test
annotation class Anno(val value: String)
@Anno("property") val v1 = ""
var v2: String
@Anno("getter") get() = ""
@Anno("setter") set(@Anno("setparam") value) {
}
| 151 | Kotlin | 5478 | 44,267 | 7545472dd3b67d2ac5eb8024054e3e6ff7795bf6 | 256 | kotlin | Apache License 2.0 |
components/src/main/java/com/numero/material_gallery/components/image/ShapeableImageViewFragment.kt | NUmeroAndDev | 136,438,997 | false | {"Kotlin": 136558, "Ruby": 961} | package com.numero.material_gallery.components.image
import android.os.Bundle
import android.view.View
import com.numero.material_gallery.components.ComponentFragment
import com.numero.material_gallery.components.R
import com.numero.material_gallery.components.databinding.FragmentShapeableImageViewBinding
import com.n... | 13 | Kotlin | 25 | 139 | b7781416c0f389153c25cb4b7e07ab933dec89ee | 869 | MaterialGallery-android | MIT License |
src/main/kotlin/no/nav/familie/ef/sak/journalføring/dto/JournalføringKlageRequest.kt | navikt | 206,805,010 | false | null | package no.nav.familie.ef.sak.journalføring.dto
import java.time.LocalDate
import java.util.UUID
data class JournalføringKlageRequest(
val dokumentTitler: Map<String, String>? = null,
val fagsakId: UUID,
val oppgaveId: String,
val behandling: JournalføringKlageBehandling,
val journalførendeEnhet: ... | 7 | Kotlin | 2 | 0 | d1d8385ead500c4d24739b970940af854fa5fe2c | 569 | familie-ef-sak | MIT License |
src/main/java/al132/alchemistry/compat/jei/liquifier/LiquifierRecipeCategory.kt | liquidblur | 228,232,024 | true | {"Java": 209331} | package al132.alchemistry.compat.jei.liquifier
import al132.alchemistry.client.GuiLiquifier
import al132.alchemistry.compat.jei.AlchemistryRecipeCategory
import al132.alchemistry.compat.jei.AlchemistryRecipeUID
import al132.alib.utils.Translator
import mezz.jei.api.IGuiHelper
import mezz.jei.api.gui.IRecipeLayout
impo... | 0 | null | 0 | 0 | 1996213c0c4b9c2e826ddd1c02319aa41a6b3c7e | 1,667 | alchemistry | MIT License |
app/src/main/java/com/ojhdtapp/parabox/core/util/ImageUtil.kt | Parabox-App | 482,740,446 | false | {"Kotlin": 1319625} | package com.ojhdtapp.parabox.core.util
import android.graphics.Bitmap
object ImageUtil {
fun checkBitmapLight(bitmap: Bitmap, skipStep: Int = 2): Boolean {
val width = bitmap.width
val height = bitmap.height
val pixels = IntArray(width * height)
bitmap.getPixels(pixels, 0, width, 0... | 0 | Kotlin | 6 | 120 | d29650d65e9bde00a6409f3901581795f3aa0113 | 1,035 | Parabox | MIT License |
src/main/kotlin/com/chris/bullseye/system/controller/DepartmentController.kt | zhouhongxing16 | 399,052,088 | false | null | package com.chris.bullseye.system.controller
import com.chris.bullseye.system.pojo.Department
import com.chris.bullseye.system.dto.JsonResult
import com.chris.bullseye.system.dto.OperationLog
import com.chris.bullseye.common.utils.AuthUtil
import com.chris.bullseye.system.service.DepartmentService
import io.swagger.a... | 0 | Kotlin | 0 | 0 | 4e778e61507df96d9e07319c7381bdc616ad325d | 1,481 | bullseye-admin-kotlin | Apache License 2.0 |
kord-extensions/src/main/kotlin/com/kotlindiscord/kord/extensions/extensions/HelpExtension.kt | Tom-The-Geek | 375,451,054 | true | {"Kotlin": 459547, "Python": 1793, "Groovy": 777} | package com.kotlindiscord.kord.extensions.extensions
import com.kotlindiscord.kord.extensions.ExtensibleBot
import com.kotlindiscord.kord.extensions.commands.GroupCommand
import com.kotlindiscord.kord.extensions.commands.MessageCommand
import com.kotlindiscord.kord.extensions.commands.MessageSubCommand
import com.kotl... | 0 | null | 0 | 0 | c3c7dcfa33c688058c72076ef383c6f40791b795 | 9,147 | kord-extensions | MIT License |
src/main/kotlin/br/com/zup/chaves/lista/ListaPixService.kt | DigoB | 346,384,198 | true | {"Kotlin": 31918} | package br.com.zup.chaves.lista
import br.com.zup.chaves.ChavePix
import br.com.zup.chaves.ChavePixRepository
import io.micronaut.validation.Validated
import javax.inject.Singleton
import javax.validation.Valid
@Validated
@Singleton
class ListaPixService(val chavePixRepository: ChavePixRepository) {
fun lista(@V... | 0 | Kotlin | 0 | 0 | d2bed312f4d718db9ea0d586ffbc26005d14cdcd | 441 | orange-talents-01-template-pix-keymanager-grpc | Apache License 2.0 |
src/main/kotlin/org/grandtestauto/maths/monoid/SetUtils.kt | TimLavers | 67,501,240 | false | {"Kotlin": 139607} | package org.grandtestauto.maths.monoid
fun <T> Set<T>.powerSet(): Set<Set<T>> = subsetsSatisfying { true }
fun <T> Set<T>.subsetsSatisfying(predicate: (Set<T>) -> Boolean): Set<Set<T>> {
val elementList = this.toList()
val intSetsSatisfying = intsFrom1To(elementList.size)
.allSubsets {
int... | 0 | Kotlin | 0 | 0 | 16ac8997ce52e48dcc4513d38d95d55841a0b40f | 577 | semigroups_kotlin | MIT License |
app/src/main/java/com/example/personinformationsystem/SalaryAccount.kt | berkecand1 | 315,395,284 | false | null | package com.example.personinformationsystem
const val INVALID_ARG = -1
class SalaryAccount {
val hood : Array<String> = arrayOf("Cook", "Engineer", "Teacher", "Doctor")
val times : Array<Int> = arrayOf(8,9,10,11)
val salaryMatrix = arrayListOf(
arrayOf( 3000 , 4000 , 3000 , 7000),
arrayO... | 0 | Kotlin | 0 | 0 | 08136f7e1e0db9844cd9b13c4945e35a438ea689 | 692 | HomeWork2 | MIT License |
common/src/main/java/com/allsoftdroid/common/base/fragment/BaseContainerFragment.kt | pravinyo | 209,936,085 | false | null | package com.allsoftdroid.common.base.fragment
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.databinding.DataBindingUtil
import androidx.databinding.ViewDataBinding
import androidx.fragment.app.Fragment
abstract class BaseContainerFragment : Fragment(){
fun<T :ViewDataBinding> i... | 3 | Kotlin | 4 | 12 | 8358f69c0cf8dbde18904b0c3a304ec89b518c9b | 535 | AudioBook | MIT License |
app/src/main/java/com/example/tbilisi_parking_final_exm/domain/model/log_in/GetUser.kt | Lasha-Ilashvili | 749,926,592 | false | {"Kotlin": 373909} | package com.example.tbilisi_parking_final_exm.domain.model.log_in
data class GetUser(
val email: String,
val password: String
) | 0 | Kotlin | 1 | 0 | 20653c5077a4fa61e2c9616ddd986a82faf040dd | 136 | Tbilisi_Parking_FINAL_EXM | Apache License 2.0 |
src/main/kotlin/no/nav/kanal/camel/BackoutReason.kt | navikt | 157,670,548 | false | null | package no.nav.kanal.camel
import org.apache.camel.Exchange
import org.apache.camel.Processor
import org.slf4j.LoggerFactory
const val CAMEL_HEADER_BOQ_MESSAGE = "_exceptionMessage"
const val CAMEL_PROPERTY_ERROR_TO_PROPAGATE = "FEILMELDING"
class BackoutReason : Processor {
private val log = LoggerFactory.getLo... | 0 | Kotlin | 0 | 0 | 36ebe75eaacb787a7de6a1d2b7f60ca0cb63b970 | 1,029 | sdpkanal | MIT License |
core/src/main/kotlin/com/github/prologdb/execplan/FactDeleteFunctor.kt | prologdb | 113,687,585 | false | {"Kotlin": 475193, "Prolog": 1405, "Shell": 390} | package com.github.prologdb.execplan
import com.github.prologdb.async.LazySequence
import com.github.prologdb.async.flatMapRemaining
import com.github.prologdb.dbms.PhysicalDatabaseProofSearchContext
import com.github.prologdb.dbms.SystemCatalog
import com.github.prologdb.runtime.term.CompoundTerm
import com.github.pr... | 8 | Kotlin | 0 | 2 | 69e4a63e92cefe49407054437d390f4477881fce | 2,485 | prologdb | MIT License |
src/main/kotlin/com/dirtybiologistan/iceberg/discord/Command.kt | Alexiscomete | 628,361,277 | false | null | package com.dirtybiologistan.iceberg.discord
import com.dirtybiologistan.iceberg.api
import org.javacord.api.entity.permission.PermissionType
import org.javacord.api.interaction.SlashCommand
import org.javacord.api.interaction.SlashCommandOption
import java.util.*
open class Command(
val name: String,
val des... | 1 | Kotlin | 0 | 1 | 4099dc99768b02d53af84d2963d1a0c3b9fb9b74 | 1,132 | iceberg_dibistan | MIT License |
alertaperu/app/src/main/java/com/example/alertaperu/fragments/AlertaPeruFragment.kt | igmeMarcial | 674,887,965 | false | null | package com.example.alertaperu.fragments
import android.annotation.SuppressLint
import android.content.Intent
import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.Button
import com.example.alertape... | 0 | Kotlin | 0 | 0 | 459acbc86d59d7028d4efb27c86a358289a8a56a | 1,685 | AlertasPeruApp | MIT License |
src/main/kotlin/com/letit0or1/kawa/plugin/threads/ui/ThreadsDialogView.kt | akimaleo | 766,232,979 | false | {"Kotlin": 5266} | package com.letit0or1.kawa.plugin.threads.ui
import com.letit0or1.kawa.plugin.threads.CommentDto
import java.awt.*
import javax.swing.*
class ThreadsDialogView : JDialog() {
private val contentPane = JPanel(BorderLayout())
private val sendButton = JButton("Send")
private val inputField = JTextField()
... | 0 | Kotlin | 0 | 0 | 2d1a435fc9ec4a82166bb18087b1d0800133fff9 | 3,087 | Intellij-IDEA-plugin-threads | MIT License |
Shredsheets 3/Kommon/src/main/java/com/bm/maths/ConstrainedFloat.kt | Adam-Carstensen | 170,176,021 | false | null | package com.bm.maths
import com.badlogic.gdx.math.Interpolation
import com.bm.maths.operations.Operation
class ConstrainedFloat : ConstrainedValue<Float?> {
private var interpolation: Interpolation? = null
@JvmOverloads
constructor(minimum: Float?, maximum: Float?, interpolation: Interpolation = Interpo... | 0 | Kotlin | 0 | 9 | 81690a2332b9c7488d2a61aaeb499dfe54190a60 | 917 | Shredsheets | MIT License |
src/test/kotlin/de/codecentric/totiblogpost/extensions/WebTestClientExtention.kt | codecentric | 471,350,927 | false | null | package de.codecentric.totiblogpost.extensions
import org.junit.jupiter.api.extension.BeforeAllCallback
import org.junit.jupiter.api.extension.ExtensionContext
import org.springframework.test.context.junit.jupiter.SpringExtension
import org.springframework.test.web.reactive.server.WebTestClient
import java.time.Durati... | 0 | Kotlin | 0 | 0 | 943168175dc08396484893f25a57c2296bfefc0a | 807 | toti-example-service | MIT License |
codebase/android/core/ui/src/main/java/com/makeappssimple/abhimanyu/financemanager/android/core/ui/component/view_transaction_section_header/ViewTransactionSectionHeaderData.kt | Abhimanyu14 | 429,663,688 | false | {"Kotlin": 1876553} | package com.makeappssimple.abhimanyu.financemanager.android.core.ui.component.view_transaction_section_header
import androidx.annotation.StringRes
import androidx.compose.runtime.Immutable
@Immutable
public data class ViewTransactionSectionHeaderData(
@StringRes val textStringResourceId: Int,
)
| 11 | Kotlin | 0 | 3 | 7e080a68bc038bd64d2d406b75a49e8f1ea2a791 | 302 | finance-manager | Apache License 2.0 |
idea/testData/quickfix/initializeWithConstructorParameter/memberPropertyNoAccessorsInClassPrimaryAndSecondaryConstructors.kt | JakeWharton | 99,388,807 | false | null | // "class org.jetbrains.kotlin.idea.quickfix.InitializePropertyQuickFixFactory$InitializeWithConstructorParameter" "false"
// ERROR: Property must be initialized or be abstract
open class A(s: String) {
<caret>val n: Int
constructor(): this("")
constructor(a: Int): this("" + a)
}
class B : A("")
fun test... | 0 | null | 28 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 344 | kotlin | Apache License 2.0 |
analysis/analysis-api/testData/components/resolver/singleByPsi/danglingAnnotations/DanglingAnnotationsResolvedPackageFile.kt | JetBrains | 3,432,266 | false | null | // WITH_STDLIB
// COMPILATION_ERRORS
@kotlin.j<caret>vm.JvmName("")
| 181 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 68 | kotlin | Apache License 2.0 |
src/main/kotlin/dev/emortal/marathon/db/MongoStorage.kt | emortalmc | 408,226,948 | false | null | package dev.emortal.marathon.db
import com.mongodb.client.model.ReplaceOptions
import dev.emortal.marathon.MarathonMain
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.flow.count
import kotlinx.coroutines.launch
import net.minestom.server.MinecraftServer
import ... | 7 | null | 2 | 8 | 6a3870a756b9c717916eea1451cd5d92b4b1539a | 7,741 | MarathonOld | MIT License |
plugin/src/main/java/com/cat/plugin/HookTransform.kt | syy555 | 130,661,292 | false | {"Kotlin": 25623, "Java": 4421} | package com.cat.plugin
import com.android.build.api.transform.*
import com.google.gson.Gson
import org.objectweb.asm.ClassReader
import org.objectweb.asm.ClassVisitor
import org.objectweb.asm.ClassWriter
import java.io.File
import java.io.FileOutputStream
import java.util.concurrent.LinkedBlockingQueue
import java.uti... | 0 | Kotlin | 2 | 6 | ccdcda75a19f9588d64e5746f8e3cc36ed0469a0 | 9,783 | SteakKnife | MIT License |
core/src/main/kotlin/havefun/chatter/core/ChatClientImpl.kt | have-fun | 48,941,028 | false | null | package havefun.chatter.core
import havefun.chatter.core.domain.Message
import havefun.chatter.core.network.ChatWebService
import havefun.chatter.core.network.mapper.Mappers
import rx.Observable
class ChatClientImpl(private val chatWebClient: ChatWebService, private val mappers: Mappers): ChatClient {
override f... | 0 | Kotlin | 0 | 1 | eba3c0b36f1550c499bece6deb69dd9cb8d34289 | 557 | TumChatter | Apache License 2.0 |
src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/BinaryInputBasicCluster.kt | nrfconnect | 319,609,059 | false | {"C++": 23522189, "Java": 4933921, "Python": 3707868, "C": 2258497, "Kotlin": 1567297, "Objective-C": 1368441, "ZAP": 814351, "Objective-C++": 756316, "Shell": 291692, "CMake": 176244, "Jinja": 103624, "Dockerfile": 70720, "Swift": 30181, "JavaScript": 2379, "Emacs Lisp": 1042, "Tcl": 311} | /*
*
* Copyright (c) 2023 Project CHIP Authors
*
* 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 requir... | 7 | C++ | 53 | 44 | e734b7924bf2b6bdc78e20d8416267f42ba95675 | 7,982 | sdk-connectedhomeip | Apache License 2.0 |
src/responses/exceptions/transaction/AccountTransactionsNotFoundException.kt | Penguin-Dream-Team | 312,890,302 | false | {"Kotlin": 68374, "Dockerfile": 1208} | package responses.exceptions.transaction
import responses.exceptions.NotFoundException
data class AccountTransactionsNotFoundException(val id: Int) : NotFoundException("Transactions for account with id '$id' not found")
| 0 | Kotlin | 0 | 0 | e6303704451ed5467dfa5c71ad95bc412ff2d00f | 222 | PenguBank-Server | MIT License |
src/responses/exceptions/transaction/AccountTransactionsNotFoundException.kt | Penguin-Dream-Team | 312,890,302 | false | {"Kotlin": 68374, "Dockerfile": 1208} | package responses.exceptions.transaction
import responses.exceptions.NotFoundException
data class AccountTransactionsNotFoundException(val id: Int) : NotFoundException("Transactions for account with id '$id' not found")
| 0 | Kotlin | 0 | 0 | e6303704451ed5467dfa5c71ad95bc412ff2d00f | 222 | PenguBank-Server | MIT License |
Desvios Condicionais/DesviosCondicionaisDesafio13/src/Main.kt | caiquefirmino7 | 737,752,340 | false | {"Kotlin": 7896} | fun main() {
val grade = readLine()?.toIntOrNull()?:0
println(
when (grade){
in 1..35 -> "D"
in 36..60 -> "C"
in 61..85 -> "B"
in 86..100 -> "A"
else -> "E"
}
)
} | 0 | Kotlin | 0 | 0 | 269b8f9e1071501ab33e4fec6ceb1ed62b76e59b | 252 | DesafiosEmKotlin | MIT License |
src/main/java/com/alcosi/lib/executors/SemaphoreExtension.kt | alcosi | 698,911,809 | false | {"Kotlin": 405550, "Java": 82765, "HTML": 3451, "JavaScript": 509, "CSS": 203} | /*
*
* * Copyright (c) 2024 Alcosi Group Ltd. and affiliates.
* *
* * 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 | 0 | 0b37666cf8151503a11542e48824ad424563b455 | 1,149 | alcosi_commons_library | Apache License 2.0 |
app/src/main/java/com/expensivebelly/dagger2retaingraph/core/di/ActivityScope.kt | ExpensiveBelly | 74,518,019 | false | {"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "YAML": 1, "Markdown": 1, "Proguard": 1, "Java": 1, "XML": 15, "Kotlin": 9} | package com.expensivebelly.dagger2retaingraph.core.di
import javax.inject.Scope
@Scope
@Retention(AnnotationRetention.RUNTIME)
annotation class ActivityScope | 1 | null | 1 | 1 | b251d893068ba8ea82d4192a29f912585a90d3f3 | 159 | Dagger2RetainGraph | Apache License 2.0 |
vector/src/main/java/vmodev/clearkeep/repositories/interfaces/IRepository.kt | telred-llc | 194,596,139 | false | null | package vmodev.clearkeep.repositories.interfaces
interface IRepository {
} | 5 | null | 1 | 3 | 2d20e94e9711b51aee89fa569efd61449cc7e9c3 | 75 | clearkeep-android | Apache License 2.0 |
app/src/main/java/com/mhv/livedatawithroomsample/MainActivity.kt | mhv1 | 136,921,235 | false | {"Kotlin": 23429} | /*
* Copyright (C) 2018 Milan Herrera
*
* 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 agr... | 0 | Kotlin | 0 | 0 | b119314f8b3f89e35ea54392fa12ee941c060ec7 | 3,303 | LiveDataWithRoom | Apache License 2.0 |
app/src/main/java/com/shijc/wanandroidkotlin/ui/home/bean/BannerModel.kt | shijiacheng | 170,860,596 | false | null | package com.shijc.wanandroidkotlin.ui.home.bean
/**
* @Package com.shijc.wanandroidkotlin.ui.home.bean
* @Description:
* @author shijiacheng
* @date 2019/2/15 下午 2:13
* @version V1.0
*/
data class BannerModel(
val `data`: List<Data>,
val errorCode: Int,
val errorMsg: String
){
data class Data(
... | 0 | Kotlin | 0 | 0 | 1db62503e89c24e199996467cef4155601aef08c | 529 | wanandroid_kotlin | Apache License 2.0 |
feature/profile/src/main/java/com/githukudenis/comlib/feature/profile/ProfileViewModel.kt | DenisGithuku | 707,847,935 | false | {"Kotlin": 702830, "Java": 307129, "HTML": 145488, "Roff": 24734, "JavaScript": 10504, "CSS": 7560} |
/*
* Copyright 2023 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, soft... | 2 | Kotlin | 1 | 0 | f7cac6483c4d847fafd2777946798f683cf29533 | 7,256 | comlib-android-client | Apache License 2.0 |
kotlin-typescript/src/main/generated/typescript/ExternalModuleReference.kt | JetBrains | 93,250,841 | false | null | // Automatically generated - do not modify!
package typescript
sealed external interface ExternalModuleReference : Node, Union.ExternalModuleReference_ {
override val kind: SyntaxKind.ExternalModuleReference
override val parent: ImportEqualsDeclaration
val expression: Expression
}
| 38 | Kotlin | 162 | 983 | 7ef1028ba3e0982dc93edcdfa6ee1edb334ddf35 | 296 | kotlin-wrappers | Apache License 2.0 |
src/main/kotlin/io/uvera/helmetreactivespringbootstarter/filter/XContentTypeOptionsFilter.kt | uvera | 417,857,851 | false | {"Kotlin": 29422} | package io.uvera.helmetreactivespringbootstarter.filter
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty
import org.springframework.core.annotation.Order
import org.springframework.stereotype.Component
import org.springframework.web.server.ServerWebExchange
import org.springframework.web.s... | 0 | Kotlin | 0 | 0 | 4b1cfb3a8130944b4882404a39c06ba897073d44 | 830 | helmet-reactive-spring-boot-starter | MIT License |
app/src/main/java/com/dev/movieapp/constants/AppConstants.kt | sunidhi18 | 396,493,040 | false | null | package com.dev.movieapp.constants
const val TIME_OUT : Long = 120
const val DS_SHARED_PREF_CCA = "DS_SHARED_PREF_CCA" | 0 | Kotlin | 0 | 0 | 2626f49c3eb5e687803461478b3332df30976f5f | 119 | Sunidhi_movies | Apache License 2.0 |
cupertino-icons-extended/src/commonMain/kotlin/io/github/alexzhirkevich/cupertino/icons/filled/Appletv.kt | alexzhirkevich | 636,411,288 | false | {"Kotlin": 4456601, "Ruby": 2310, "Swift": 2101, "Shell": 856, "HTML": 762} | package io.github.alexzhirkevich.cupertino.icons.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... | 1 | Kotlin | 14 | 362 | 60fd9234eb9f2df97bc8523ea2ed344ad7f58655 | 4,793 | compose-cupertino | Apache License 2.0 |
bottomsheet/src/main/java/com/elha/bottommodule/ElhaBottomSheetDialog.kt | elnurhajiyevv | 790,600,558 | false | {"Kotlin": 12753} | package com.elha.bottommodule
import android.annotation.SuppressLint
import android.content.DialogInterface
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.FrameLayout
import androidx.constraintlayout.widget.ConstraintLayout
impor... | 0 | Kotlin | 0 | 0 | 3d9e547495d3d95ae108151f6f61c2f908d68642 | 4,354 | BottomSheet | The Unlicense |
string-reference/src/main/java/com/likethesalad/placeholder/utils/ConfigurationProvider.kt | LikeTheSalad | 216,664,268 | false | null | package com.likethesalad.placeholder.utils
import com.likethesalad.placeholder.providers.PlaceholderExtensionProvider
import javax.inject.Inject
import javax.inject.Singleton
@Singleton
class ConfigurationProvider @Inject constructor(private val extensionProvider: PlaceholderExtensionProvider) {
private val exte... | 4 | Kotlin | 6 | 119 | 975d31fead7738da04aa0598dd14388c88373b9a | 563 | android-string-reference | MIT License |
src/main/kotlin/org/philips/arcson/type/ArcsonSpecialTypeUnknown.kt | Und97n | 513,674,141 | false | {"Kotlin": 53179} | package org.philips.arcson.type
class ArcsonSpecialTypeUnknown(_id: TypeId): ArcsonType(_id) {
override fun init() {
// Do nothing
}
override fun toString(): String =
"ArcsonTypeUnknown($id)"
}
| 0 | Kotlin | 0 | 0 | 1b6bfc774e11b77b2b745e0b0fb3bfcba6626fee | 224 | arcson | Apache License 2.0 |
shared/app/src/webCommonMain/kotlin/io/edugma/features/app/core/CoreModules.webCommon.kt | Edugma | 474,423,768 | false | null | package io.edugma.features.app.di
import io.edugma.core.designSystem.utils.CommonImageLoader
import io.edugma.core.designSystem.utils.IconImageLoader
import org.koin.core.module.dsl.singleOf
import org.koin.dsl.module
actual val coreModulePlatform = module {
singleOf(::IconImageLoader)
singleOf(::CommonImageL... | 1 | Kotlin | 0 | 2 | 85e342193f0d77d6199dc46a9b62a76c49c892ea | 329 | app | MIT License |
mobile/src/main/java/ro/cluj/sorin/bitchat/MvpBase.kt | sorinirimies | 135,047,483 | false | {"Kotlin": 85470, "Java": 25217} | package ro.cluj.sorin.bitchat
/**
* Created by <NAME> on 5/18/2018.
*/
interface MvpBase {
interface View
interface Presenter<V : View> {
fun attachView(view: V)
fun detachView()
}
}
| 1 | Kotlin | 1 | 1 | 8bfc9889fbfeb4ca840c1848c643fda188615bff | 201 | BitChat | MIT License |
app/src/main/java/com/example/krokodyl/network/KrokodylAPI.kt | ppisareva | 190,649,381 | false | null | package com.example.krokodyl.network
import com.example.krokodyl.model.CategoryFromAPI
import com.jakewharton.retrofit2.adapter.kotlin.coroutines.CoroutineCallAdapterFactory
import com.squareup.moshi.Moshi
import com.squareup.moshi.kotlin.reflect.KotlinJsonAdapterFactory
import kotlinx.coroutines.Deferred
import retro... | 0 | Kotlin | 0 | 0 | 5ed6dc99d3f80091986c12ab45622ea0e9bc8f82 | 1,256 | Krokodyl | Apache License 2.0 |
highlander/src/main/java/com/pyamsoft/highlander/Entry.kt | pyamsoft | 194,767,230 | false | null | /*
* 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... | 2 | Kotlin | 0 | 1 | cf33885f66ebc8529348e14c312ceb76cb15a26c | 5,144 | highlander | Apache License 2.0 |
kotlin-mui/src/main/generated/mui/material/ImageListItemBar.ext.kt | JetBrains | 93,250,841 | false | null | // Automatically generated - do not modify!
package mui.material
@Suppress("NAME_CONTAINS_ILLEGAL_CHARS")
// language=JavaScript
@JsName("""(/*union*/{left: 'left', right: 'right'}/*union*/)""")
external enum class ActionPosition {
left,
right,
;
}
@Suppress("NAME_CONTAINS_ILLEGAL_CHARS")
// language=Ja... | 10 | Kotlin | 145 | 983 | 7ef1028ba3e0982dc93edcdfa6ee1edb334ddf35 | 499 | kotlin-wrappers | Apache License 2.0 |
montecristo/src/test/kotlin/com/datastax/montecristo/sections/configuration/CompactionSettingsTest.kt | datastax-labs | 764,557,778 | false | {"Kotlin": 1561142, "Shell": 29445, "CSS": 6059, "HTML": 2490, "Dockerfile": 1633} | /*
* Copyright DataStax, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wri... | 0 | Kotlin | 3 | 6 | ea1c41c5dad67e2087f2ff03bfb643c3c02a2670 | 7,984 | Montecristo | Apache License 2.0 |
app/src/main/java/com/example/androiddevchallenge/ui/learning/DemoAnimations8.kt | eltonkola | 344,213,168 | false | null | /*
* Copyright 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 0 | Kotlin | 0 | 0 | 739b6a85e53891aaf694fd5a07c5c9e97ba08c8a | 3,644 | countdownComposer | Apache License 2.0 |
idea/testData/completion/handlers/multifile/TopLevelFunctionInQualifiedExpr-1.kt | chirino | 3,596,099 | true | null | package some
import jettesting.*
fun other() {
data.topLevelFu<caret>
}
| 0 | Java | 28 | 71 | ac434d48525a0e5b57c66b9f61b388ccf3d898b5 | 78 | kotlin | Apache License 2.0 |
apps/Learning App/app/src/main/java/com/asser/learningapp/ui/MainFragment.kt | Asser22 | 683,746,930 | false | {"Kotlin": 249399, "Java": 958} | package com.asser.learningapp.ui
import android.content.Intent
import android.graphics.Rect
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.EditText
import androidx.appcompat.app.AlertDialog
import androidx.fragment.app.Fragment
i... | 0 | Kotlin | 0 | 2 | 848d1bc74b396ef66ec91b9ce4d51b203dd945e3 | 4,545 | 20-Android-Mobile-App-Projects | MIT License |
newm-server/src/main/kotlin/io/newm/server/curator/CuratorKoinModule.kt | projectNEWM | 447,979,150 | false | {"Kotlin": 2128188, "HTML": 154009, "Shell": 2775, "Dockerfile": 2535, "Procfile": 60} | package io.newm.server.curator
import io.ktor.server.application.Application
import io.ktor.server.application.pluginRegistry
import io.newm.server.curator.support.CuratorPlugin
import org.apache.curator.framework.CuratorFramework
import org.apache.curator.framework.recipes.leader.LeaderLatch
import org.apache.curator... | 1 | Kotlin | 4 | 9 | 3e0dc74a14a33b195b9311767c794b8d244db697 | 672 | newm-server | Apache License 2.0 |
auth/src/main/java/io/stanwood/framework/network/auth/AuthHeaderKeys.kt | stanwood | 114,127,226 | false | null | /*
* Copyright (c) 2018 stanwood GmbH
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publi... | 1 | null | 3 | 12 | 8d80a8f8621bdf1f3bc21bc7f5c478ae3a1f9e0a | 1,700 | framework-network-android | MIT License |
src/test/kotlin/ese/kotlin/basics/as_delegated_properties/DelegatedProperties.kt | eggeral | 151,474,141 | false | null | package ese.kotlin.basics.as_delegated_properties
import org.junit.Test
import kotlin.properties.Delegates
import kotlin.properties.ReadWriteProperty
import kotlin.reflect.KProperty
import kotlin.test.assertEquals
class DelegatedProperties {
@Test
fun `logging the access to a property the standard way`() {
... | 0 | Kotlin | 0 | 0 | 4bc7a91104617e07e4d27c7f65d3ba1c2ead6858 | 5,010 | kotlin-examples-jvm | Apache License 2.0 |
lint/src/com/android/tools/idea/lint/common/SuppressLintIntentionAction.kt | JetBrains | 60,701,247 | false | null | /*
* Copyright (C) 2016 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... | 5 | null | 227 | 948 | 10110983c7e784122d94c7467e9d243aba943bf4 | 2,840 | android | Apache License 2.0 |
attic/photlin/src/org/jetbrains/kotlin/js/translate/context/DeclarationExporter.kt | adolfoeliazat | 93,302,907 | false | {"Java": 30937521, "PHP": 7642921, "Kotlin": 2980528, "JavaScript": 2555709, "TypeScript": 222563, "HTML": 46734, "Batchfile": 23511, "Lex": 15020, "OCaml": 6730, "C#": 4124, "Protocol Buffer": 2621, "AutoHotkey": 2556, "Shell": 843, "Vim Script": 591, "Python": 62} | /*
* Copyright 2010-2016 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... | 1 | null | 1 | 1 | 6d40f5900d94037139ed97cdc926db90749d5768 | 8,827 | fucking-everything | Apache License 2.0 |
idea/testData/stubs/MembersInLocalClass.kt | JakeWharton | 99,388,807 | true | null | public fun f {
class C {
fun f() {
}
val c: Int
}
} | 0 | Kotlin | 28 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 84 | kotlin | Apache License 2.0 |
AgqrPlayer4Tv/app/src/main/java/org/misuzilla/agqrplayer4tv/component/fragment/AgqrPlaybackOverlayFragment.kt | mayuki | 41,623,758 | false | {"Text": 1, "Ignore List": 3, "Git Attributes": 1, "Markdown": 1, "Gradle": 3, "Java Properties": 2, "Shell": 1, "Batchfile": 1, "Proguard": 1, "XML": 15, "JavaScript": 1, "Kotlin": 51, "Java": 6} | package org.misuzilla.agqrplayer4tv.component.fragment
import android.content.Intent
import android.os.Bundle
import android.support.v17.leanback.app.PlaybackSupportFragment
import android.support.v17.leanback.widget.*
import android.support.v4.content.ContextCompat
import android.util.Log
import android.view.LayoutIn... | 0 | Kotlin | 1 | 7 | 6997399f88d886526b62a2f0ac83139ad3dc87eb | 8,541 | AgqrPlayer4Tv | MIT License |
module-book-reader/src/main/java/io/legado/app/ui/book/searchContent/SearchListAdapter.kt | LinXueyuanStdio | 332,099,365 | false | null | package io.legado.app.ui.book.searchContent
import android.content.Context
import io.legado.app.R
import io.legado.app.base.adapter.ItemViewHolder
import io.legado.app.base.adapter.SimpleRecyclerAdapter
import io.legado.app.lib.theme.accentColor
import io.legado.app.utils.getCompatColor
import io.legado.app.utils.hexS... | 1 | null | 1 | 1 | 1131fe5d2c16c15adfa12111cfac0fda080a50dc | 1,558 | TimeCatModule-BookReader | Apache License 2.0 |
kbinding/src/main/java/com/github/spheniscine/kbinding/KBindableEvent.kt | Spheniscine | 170,064,213 | false | null | package com.github.spheniscine.kbinding
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.Observer
/**
* These are observable events, that won't retrigger if an activity resubscribes to the bindable
* (e.g. on rotation). In this they are similar to a SingleLiveEvent as described on several website... | 0 | Kotlin | 0 | 3 | 72fdcb39f90b5370f321135cbf0d3d4cee2a3817 | 2,579 | kbindingsample | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.