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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
skellig-test-step-processing/src/main/kotlin/org/skellig/teststep/processing/processor/ValidatableTestStepProcessor.kt | skellig-framework | 263,021,995 | false | null | package org.skellig.teststep.processing.processor
import org.skellig.task.TaskUtils.Companion.runTask
import org.skellig.teststep.processing.exception.ValidationException
import org.skellig.teststep.processing.model.DefaultTestStep
import org.skellig.teststep.processing.model.validation.ValidationNode
import org.skell... | 17 | Kotlin | 0 | 2 | 64238035cbec9c73268da3e5997fd485f86906fe | 2,948 | skellig-core | Apache License 2.0 |
kakao/src/main/kotlin/com/agoda/kakao/toolbar/ToolbarViewAssertions.kt | agoda-com | 104,835,572 | false | null | @file:Suppress("unused")
package com.agoda.kakao.toolbar
import androidx.test.espresso.assertion.ViewAssertions
import com.agoda.kakao.common.assertions.BaseAssertions
import com.agoda.kakao.common.matchers.ToolbarSubtitleMatcher
import com.agoda.kakao.common.matchers.ToolbarTitleMatcher
/**
* Provides assertion fo... | 0 | Kotlin | 109 | 1,133 | 830488f91f1be0009a2543a43290f163e236a329 | 1,272 | Kakao | Apache License 2.0 |
src/test/kotlin/dev/usbharu/hideout/activitypub/domain/model/NoteSerializeTest.kt | usbharu | 627,026,893 | false | {"Kotlin": 1337734, "Mustache": 111614, "Gherkin": 21440, "JavaScript": 1112, "HTML": 341} | /*
* Copyright (C) 2024 usbharu
*
* 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... | 40 | Kotlin | 0 | 9 | 5512c43ffacf0480f652465ccf5f71b559387592 | 6,541 | Hideout | Apache License 2.0 |
mvikotlin-timetravel/src/androidMain/kotlin/com/arkivanov/mvikotlin/timetravel/widget/TimeTravelView.kt | badoo | 135,858,329 | false | {"Kotlin": 431711} | package com.arkivanov.mvikotlin.timetravel.widget
import android.content.Context
import android.util.AttributeSet
import android.view.View
import android.widget.FrameLayout
import androidx.core.view.isVisible
import androidx.recyclerview.widget.DividerItemDecoration
import androidx.recyclerview.widget.RecyclerView
imp... | 4 | Kotlin | 70 | 825 | 39de85b944a52cd1878478e2c5c4921f8896920d | 5,129 | MVIKotlin | Apache License 2.0 |
compose/src/main/kotlin/di/GrpcModule.kt | 85vmh | 543,628,296 | false | null | package di
import com.squareup.wire.GrpcClient
import okhttp3.OkHttpClient
import org.kodein.di.DI
import org.kodein.di.bindSingleton
import ro.dragossusi.proto.linuxcnc.LinuxCncClient
private val PORT = 50051
val GrpcModule =
DI.Module("grpc") {
bindSingleton {
val grpcClient = GrpcClient.Bu... | 0 | Kotlin | 1 | 2 | 27286c192bd29226d4103311d42384cea31bcf90 | 524 | mindovercnclathe | Apache License 2.0 |
src/commonMain/kotlin/data/socketbonus/SocB3153.kt | marisa-ashkandi | 332,658,265 | false | null | package data.socketbonus
import data.Constants
data class SocB3153 (
override var id: Int = 3153,
override var stat: Constants.StatType = Constants.StatType.SPELL_DAMAGE,
override var amount: Int = 2,
override var stat2: Constants.StatType? = Constants.StatType.SPELL_HEALING,
override var amount2: Int = 2
)... | 21 | Kotlin | 11 | 25 | 9cb6a0e51a650b5d04c63883cb9bf3f64057ce73 | 340 | tbcsim | MIT License |
PoliFitnessApp/app/src/main/java/com/uca/polifitnessapp/ui/main/home/viewmodel/HomeScreenViewModel.kt | PoliFitness-App | 638,055,292 | false | null | package com.uca.polifitnessapp.ui.main.home.viewmodel
import androidx.lifecycle.ViewModel
import androidx.lifecycle.ViewModelProvider
import androidx.lifecycle.viewModelScope
import androidx.lifecycle.viewmodel.initializer
import androidx.lifecycle.viewmodel.viewModelFactory
import com.uca.polifitnessapp.PoliFitnessAp... | 0 | Kotlin | 0 | 0 | f034cc0e75e4e3646172c951fb565dafa37dc1ab | 3,103 | PoliFitnessApp | MIT License |
repository/src/main/kotlin/studio/lunabee/onesafe/repository/repository/PasswordGeneratorConfigRepositoryImpl.kt | LunabeeStudio | 624,544,471 | false | {"Kotlin": 3214440, "Java": 11987, "Python": 3979} | /*
* Copyright (c) 2023 Lunabee Studio
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | 1 | Kotlin | 1 | 2 | 2f1ff3aad95c748090c695743258fe3056fc6028 | 1,414 | oneSafe6_SDK_Android | Apache License 2.0 |
eplk/src/main/java/com/iyxan23/eplk/errors/runtime/EplkIndexOutOfBoundsError.kt | Iyxan23 | 376,169,195 | false | null | package com.iyxan23.eplk.errors.runtime
import com.iyxan23.eplk.errors.EplkRuntimeError
import com.iyxan23.eplk.interpreter.Scope
import com.iyxan23.eplk.lexer.models.Position
class EplkIndexOutOfBoundsError(
override val detail: String,
override val startPosition: Position,
override val endPosition: Posi... | 0 | Kotlin | 0 | 6 | 6c5bb8523e6dce5e56c1683e9381e7f3baf1447b | 444 | eplk | MIT License |
app/src/main/java/arcus/app/pairing/device/steps/bledevice/selectble/BleDeviceSelectFragment.kt | arcus-smart-home | 168,191,380 | false | null | /*
* Copyright 2019 Arcus 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 applicable law or a... | 6 | Java | 27 | 27 | 845b23b6ee913c58e009914e920242e29d0b137a | 8,852 | arcusandroid | Apache License 2.0 |
auth/src/commonMain/kotlin/work/socialhub/kbsky/auth/api/entity/wellknown/WellKnownOAuthProtectedResourceResponse.kt | uakihir0 | 735,265,237 | false | {"Kotlin": 396349, "Shell": 1421, "Makefile": 315} | package work.socialhub.kbsky.auth.api.entity.wellknown
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
class WellKnownOAuthProtectedResourceResponse {
@SerialName("resource")
lateinit var resource: String
@SerialName("authorization_servers")
lateinit v... | 1 | Kotlin | 1 | 17 | 2602dd952ab8a81329d0bb0a24b601a4f9a46089 | 632 | kbsky | MIT License |
features/src/main/kotlin/ru/mobileup/template/features/coin/domain/DetailedCoin.kt | AnnyMars | 851,572,789 | false | {"Kotlin": 184346, "FreeMarker": 3830, "Shell": 3159} | package ru.mobileup.template.features.coin.domain
data class DetailedCoin(
val id: CoinId,
val name: String,
val image: String,
val description: String,
val categories: List<String>
) {
companion object {
val MOCK = DetailedCoin(
id = CoinId("bitcoin"),
name = "B... | 0 | Kotlin | 0 | 0 | c5d4d26dca77c971debf0646a9a665cc3ed4b36e | 476 | NewCoinApp | MIT License |
ontrack-ui-graphql/src/test/java/net/nemerosa/ontrack/graphql/BuildGraphQLIT.kt | igormedo | 125,834,437 | true | {"Java": 3055441, "Groovy": 909867, "JavaScript": 311981, "HTML": 265285, "Kotlin": 197593, "CSS": 56544, "Shell": 6213, "PLSQL": 170} | package net.nemerosa.ontrack.graphql
import org.junit.Test
import kotlin.test.assertEquals
/**
* Integration tests around the `builds` root query.
*/
class BuildGraphQLIT : AbstractQLKTITSupport() {
@Test
fun `Promotion runs when promotion does not exist`() {
// Creates a build
val build = ... | 0 | Java | 0 | 0 | b49b8b2941262d892c6aec1dfa78749d4d07f105 | 1,992 | ontrack | MIT License |
tracker/tracker_presentation/src/main/java/com/aayar94/tracker_presentation/tracker_overview/Meal.kt | AAyar94 | 742,827,735 | false | {"Kotlin": 487620} | package com.aayar94.tracker_presentation.tracker_overview
import androidx.annotation.DrawableRes
import com.aaayar94.core.util.UiText
import com.aayar94.tracker_domain.model.MealType
data class Meal(
val name: UiText,
@DrawableRes val drawableRes: Int,
val mealType: MealType,
var carbs: Int = 0,
v... | 0 | Kotlin | 0 | 0 | ed391711c52c4bed695235e62ec3daf338f89609 | 1,201 | CaloryTracker | MIT License |
src/main/kotlin/com/lknmproduction/spring_cms_yalynky/repository/TagRepository.kt | kirill-kundik | 241,902,770 | false | null | package com.lknmproduction.spring_cms_yalynky.repository
import com.lknmproduction.spring_cms_yalynky.domain.Tag
import org.springframework.data.jpa.repository.JpaRepository
interface TagRepository : JpaRepository<Tag, Long> | 0 | Kotlin | 0 | 0 | eb28a135832b280702f1e7c751b075697d02736e | 226 | CRM-System-REST-API | MIT License |
app/src/main/java/co/ghostnotes/sample/bottomappbar/ui/main/MainBottomSheet.kt | ghostnotes | 151,923,025 | false | null | package co.ghostnotes.sample.bottomappbar.ui.main
import android.app.Dialog
import android.support.design.widget.BottomSheetBehavior
import android.support.design.widget.BottomSheetDialogFragment
import android.support.design.widget.CoordinatorLayout
import android.util.Log
import android.view.View
import co.ghostnote... | 0 | Kotlin | 0 | 0 | c3e3e079647a00f36090615bd77e796e7f03ccba | 1,715 | android-bottomappbar-sample | Apache License 2.0 |
plugins/kotlin/jvm/src/org/jetbrains/kotlin/idea/inspections/JavaOutsideModuleDetector.kt | ingokegel | 72,937,917 | 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 org.jetbrains.kotlin.idea.inspections
import com.intellij.icons.AllIcons
import com.intellij.ide.highlighter.JavaFileType
import com.intellij.openapi.fileEditor.FileEditor
import com.intell... | 284 | null | 5162 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 2,465 | intellij-community | Apache License 2.0 |
test-solve/src/commonTest/kotlin/it/unibo/tuprolog/solve/stdlib/primitive/IsTest.kt | zakski | 292,287,783 | true | {"Kotlin": 2055564, "ANTLR": 20096, "JavaScript": 13636, "Java": 13453} | package it.unibo.tuprolog.solve.stdlib.primitive
import it.unibo.tuprolog.core.Substitution
import it.unibo.tuprolog.solve.stdlib.primitive.testutils.ArithmeticUtils.isQueryToResult
import it.unibo.tuprolog.solve.Solution
import it.unibo.tuprolog.solve.exception.TuPrologRuntimeException
import kotlin.reflect.KClass
im... | 0 | null | 0 | 0 | bbd63f9ba2091651f22eca7b0d3c7f1edee1e8ea | 1,649 | thunderjaw | Apache License 2.0 |
app/src/main/java/cn/lvsong/lib/demo/CustomToolbarActivity.kt | pahoehoe | 289,030,479 | true | {"Kotlin": 395461, "Java": 304342, "HTML": 115096} | package cn.lvsong.lib.demo
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.view.View
import android.widget.Toast
import cn.lvsong.lib.ui.ui.BaseActivity
import kotlinx.android.synthetic.main.activity_custom_toolbar.*
/**
* 展示自定义Toolbar
*/
class CustomToolbarActivity : BaseAct... | 0 | null | 0 | 0 | 50c9d21b750412b201f93bca600f1c0e7c07e8a8 | 1,078 | Basics | Apache License 2.0 |
core/src/main/java/com/zizoh/ulesson/core/di/ExecutorModule.kt | zizoh | 329,931,818 | false | null | package com.zizoh.ulesson.core.di
import com.zizoh.ulesson.core.executor.PostExecutionThreadImpl
import com.zizoh.ulesson.domain.executor.PostExecutionThread
import dagger.Binds
import dagger.Module
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent
import javax.inject.Singleton
/**
* Crea... | 0 | Kotlin | 0 | 1 | 5746395f017fb0e61660b08f3dbd2ae7a730e53b | 533 | ulesson | Apache License 2.0 |
app/src/main/java/net/skyscanner/backpack/demo/stories/DialogStory.kt | Skyscanner | 117,813,847 | false | null | /*
* Backpack for Android - Skyscanner's Design System
*
* Copyright 2018 Skyscanner Ltd
*
* 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-... | 8 | null | 32 | 94 | 9b5448b446c7bc46560e430595829e5f4f090e6b | 7,702 | backpack-android | Apache License 2.0 |
feature-dapp-impl/src/main/java/com/edgeverse/wallet/feature_dapp_impl/web3/polkadotJs/di/PolkadotJs.kt | finn-exchange | 512,140,809 | false | {"Kotlin": 2956205, "Java": 14536, "JavaScript": 399} | package com.edgeverse.wallet.feature_dapp_impl.web3.polkadotJs.di
import javax.inject.Qualifier
@Qualifier
@Retention(AnnotationRetention.SOURCE)
annotation class PolkadotJs
| 0 | Kotlin | 1 | 0 | 03229c4188cb56b0fb0340e60d60184c7afa2c75 | 176 | edgeverse-wallet | Apache License 2.0 |
app/src/main/java/com/breezeshankar/features/viewAllOrder/interf/SizeListNewOrderOnClick.kt | DebashisINT | 851,529,165 | false | {"Kotlin": 15698684, "Java": 1025747} | package com.breezeshankar.features.viewAllOrder.interf
import com.breezeshankar.app.domain.NewOrderProductEntity
import com.breezeshankar.app.domain.NewOrderSizeEntity
interface SizeListNewOrderOnClick {
fun sizeListOnClick(size: NewOrderSizeEntity)
} | 0 | Kotlin | 0 | 0 | d382b7af0064e3965a2a89789c42731687d911f5 | 257 | SHANKARMG | Apache License 2.0 |
plugin-build/plugin/src/test/java/com/ncorti/ktfmt/gradle/tasks/IncludedFilesParserTest.kt | cortinico | 312,611,660 | false | {"Kotlin": 82585} | package com.ncorti.ktfmt.gradle.tasks
import com.google.common.truth.Truth.assertThat
import java.io.File
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.io.TempDir
internal class IncludedFilesParserTest {
@TempDir lateinit var tempDir: File
@Test
fun `include path parser normalizes separa... | 8 | Kotlin | 16 | 122 | 5f785c96fa05fcf742ee0de8907bd5ef30111b72 | 1,078 | ktfmt-gradle | MIT License |
gemini-binder/src/androidMain/kotlin/com/haroncode/gemini/lifecycle/StoreCancelObserver.kt | Hukumister | 237,633,280 | false | {"Kotlin": 60496, "Ruby": 1563} | package com.haroncode.gemini.lifecycle
import androidx.lifecycle.LifecycleOwner
import com.haroncode.gemini.binder.rule.AutoCancelStoreRule
/**
* @author HaronCode
* @author kdk96
*/
@Deprecated(
message = "Will be removed in upcoming release, have to use getStore extension to retain and cancel store instance ... | 9 | Kotlin | 4 | 24 | d2a0a7362669abd3b0555f03daa6a558a1386f15 | 725 | Gemini | MIT License |
src/test/kotlin/nl/shadowlink/mission/msc/fakes/FakeBinaryWriter.kt | KilianSteenman | 268,234,690 | false | null | package nl.shadowlink.mission.msc.fakes
import nl.shadowlink.mission.msc.binarywriter.BinaryWriter
import java.nio.ByteBuffer
import kotlin.experimental.and
class FakeBinaryWriter : BinaryWriter {
val writtenBytes = mutableListOf<Byte>()
override fun writeByte(byte: Byte) {
writtenBytes.add(byte)
... | 0 | Kotlin | 0 | 0 | 543d52b55c950156e6987d220e986a16f2360756 | 1,309 | Shadow-MSC | MIT License |
relive-simulator-core/src/commonMain/kotlin/xyz/qwewqa/relive/simulator/core/presets/memoir/generated/equip3000062.kt | qwewqa | 390,928,568 | false | null | package xyz.qwewqa.relive.simulator.core.presets.memoir.generated
import xyz.qwewqa.relive.simulator.core.stage.actor.StatData
import xyz.qwewqa.relive.simulator.core.stage.autoskill.EffectTag
import xyz.qwewqa.relive.simulator.core.stage.dress.ActParameters
import xyz.qwewqa.relive.simulator.core.stage.memoir.CutinBl... | 0 | null | 11 | 7 | 70e1cfaee4c2b5ab4deff33b0e4fd5001c016b74 | 777 | relight | MIT License |
ast-transformations-core/src/main/kotlin/org/jetbrains/research/ml/ast/util/KtListUtils.kt | JetBrains-Research | 301,993,261 | false | null | package org.jetbrains.research.ml.ast.util
fun <T> Iterable<T>.fold1(operation: (acc: T, T) -> T): T {
return drop(1).fold(first(), operation)
}
| 3 | Kotlin | 1 | 9 | 717706765a2da29087a0de768fc851698886dd65 | 150 | ast-transformations | MIT License |
server/src/main/kotlin/com/salastroya/bgserver/infrastructure/gamification/FindPlantGameDataService.kt | adrisalas | 780,369,375 | false | {"Kotlin": 387465, "TypeScript": 104856, "HTML": 49103, "CSS": 6424} | package com.salastroya.bgserver.infrastructure.gamification
import com.salastroya.bgserver.core.gamification.model.FindPlantGame
import com.salastroya.bgserver.core.gamification.repository.FindPlantGameRepository
import com.salastroya.bgserver.infrastructure.gamification.dto.PlantFoundByUserDto
import com.salastroya.b... | 0 | Kotlin | 0 | 0 | d84cb29909f133a64f2cd5b43622d4ce45d56048 | 1,745 | botanic-garden | MIT License |
sense/src/main/java/com/kylecorry/andromeda/sense/orientation/GravityOrientationSensor.kt | kylecorry31 | 394,273,851 | false | null | package com.kylecorry.andromeda.sense.orientation
import android.content.Context
import android.hardware.SensorManager
import com.kylecorry.sol.math.Quaternion
import com.kylecorry.sol.math.QuaternionMath
import com.kylecorry.sol.math.SolMath.toDegrees
import com.kylecorry.andromeda.core.sensors.AbstractSensor
import ... | 42 | Kotlin | 2 | 8 | 4ddd86ebe72ffec5c6f9800e61eb54b29d9dd5ed | 2,345 | andromeda | MIT License |
src/main/kotlin/Bot.kt | purofle | 809,691,401 | false | {"Kotlin": 7010} | package io.github.purofle.kbot
import io.github.purofle.kbot.utils.MessageUtils.getCommandFromMessage
import io.github.purofle.kbot.utils.MessageUtils.isBotCommand
import kotlinx.coroutines.*
import org.slf4j.LoggerFactory
import org.telegram.telegrambots.client.okhttp.OkHttpTelegramClient
import org.telegram.telegram... | 0 | Kotlin | 0 | 2 | a63fa1933e06925c79c13d6d9a8b0e5203e57fe8 | 3,032 | kbot | Apache License 2.0 |
src/main/kotlin/com/equisoft/awsmocks/common/infrastructure/persistence/ResourceTagsRepository.kt | kronostechnologies | 192,785,938 | false | null | package com.equisoft.awsmocks.common.infrastructure.persistence
import java.util.concurrent.ConcurrentHashMap
import java.util.concurrent.ConcurrentMap
class ResourceTagsRepository<T>(private val getValue: T.() -> String) :
ConcurrentMap<String, List<T>> by ConcurrentHashMap() {
@Synchronized
fun update(... | 0 | Kotlin | 0 | 0 | 8f522e0d599aa3b2f96442f208d1cddebee9fa79 | 521 | aws-mocks | Apache License 2.0 |
src/main/kotlin/org/rust/cargo/runconfig/target/RsLanguageRuntimeConfiguration.kt | intellij-rust | 42,619,487 | false | {"Gradle Kotlin DSL": 2, "Java Properties": 5, "Markdown": 11, "TOML": 19, "Shell": 2, "Text": 124, "Ignore List": 1, "Batchfile": 1, "EditorConfig": 1, "XML": 140, "Kotlin": 2284, "INI": 3, "ANTLR": 1, "Rust": 362, "YAML": 131, "RenderScript": 1, "JSON": 6, "HTML": 198, "SVG": 136, "JFlex": 1, "Java": 1, "Python": 37} | /*
* Use of this source code is governed by the MIT license that can be
* found in the LICENSE file.
*/
package org.rust.cargo.runconfig.target
import com.intellij.execution.target.LanguageRuntimeConfiguration
import com.intellij.openapi.components.BaseState
import com.intellij.openapi.components.PersistentStateCo... | 1,841 | Kotlin | 380 | 4,528 | c6657c02bb62075bf7b7ceb84d000f93dda34dc1 | 1,528 | intellij-rust | MIT License |
mui-icons-kotlin/src/jsMain/kotlin/mui/icons/material/FormatAlignJustifyOutlined.kt | karakum-team | 387,062,541 | false | {"Kotlin": 3058356, "TypeScript": 2249, "HTML": 724, "CSS": 86} | // Automatically generated - do not modify!
@file:JsModule("@mui/icons-material/FormatAlignJustifyOutlined")
package mui.icons.material
@JsName("default")
external val FormatAlignJustifyOutlined: SvgIconComponent
| 0 | Kotlin | 5 | 35 | f8b65644caf9131e020de00a02718f005a84b45d | 216 | mui-kotlin | Apache License 2.0 |
src/main/kotlin/net/stckoverflw/pluginjam/command/ResetCommand.kt | KtFTW | 471,456,546 | false | {"Kotlin": 111636} | package net.stckoverflw.pluginjam.command
import net.axay.kspigot.commands.command
import net.axay.kspigot.commands.requiresPermission
import net.axay.kspigot.commands.runs
import net.stckoverflw.pluginjam.util.resetWorld
class ResetCommand {
val command = command("reset") {
requiresPermission("pluginjam... | 0 | Kotlin | 0 | 3 | 9f1d3b0e55bb3049cf715339cf2211da1d9bbc6f | 398 | PluginJam-1 | MIT License |
app/src/main/java/edu/msudenver/cs3013/project03/PlayerNameFragment.kt | dhelms33 | 684,726,957 | false | {"Kotlin": 73670, "Java": 77} | package edu.msudenver.cs3013.project03
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.Button
import android.widget.CheckBox
import android.widget.EditText
import android.widget.TextView
import androidx.fragment.app.Fragment
impor... | 0 | Kotlin | 0 | 0 | 264e7f94ef3a8d5702683e324f33666273fc9431 | 2,974 | Football-Legends | Open Market License |
src/main/kotlin/com/blr19c/falowp/bot/system/plugin/hook/HookBotApi.kt | falowp-bot | 736,172,318 | false | {"Kotlin": 319123, "HTML": 4484} | package com.blr19c.falowp.bot.system.plugin.hook
import com.blr19c.falowp.bot.system.api.BotApi
import com.blr19c.falowp.bot.system.api.SendMessage
import com.blr19c.falowp.bot.system.plugin.HookPluginRegister
import com.blr19c.falowp.bot.system.plugin.Plugin
/**
* 钩子的botApi
*/
class HookBotApi(
private val del... | 0 | Kotlin | 0 | 3 | e1084b1bedb78c4607ac9d6ec84e8beaabac98c8 | 1,502 | falowp-bot-system | Apache License 2.0 |
src/test/kotlin/day20/Day20Test.kt | alxgarcia | 435,549,527 | false | null | package day20
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.Assertions.*
import kotlin.test.assertContentEquals
internal class Day20Test {
@Test
fun `count light pixels in an image`() {
val image = listOf(
"..........#....",
"....#..#.#.....",
)
assertEquals(4, countLight... | 0 | Kotlin | 0 | 0 | d6b10093dc6f4a5fc21254f42146af04709f6e30 | 1,409 | advent-of-code-2021 | MIT License |
Armazenamento_Stream/app/src/main/java/com/example/armazenamento_file/DetalhesActivity.kt | JVBravoo | 359,682,965 | false | null | package com.example.armazenamento_file
import android.widget.Button
import android.widget.ImageView
import android.widget.TextView
import android.app.Activity
import android.content.ClipData
import android.os.Bundle
import android.text.method.ScrollingMovementMethod
import android.util.Log
import android.view.View
imp... | 0 | Kotlin | 0 | 0 | f4a977ea128d2131a2d858d9f1e5895a80da3eb9 | 3,429 | mobile_android | MIT License |
project_euler_kotlin/src/main/kotlin/Solution0010.kt | NekoGoddessAlyx | 522,068,054 | false | null | class Solution0010 : Solution() {
override fun solve(): String {
return primeGenerator().takeWhile { it < 2_000_000L }.sum().toString()
}
} | 0 | Kotlin | 0 | 0 | f899b786d5ea5ffd79da51604dc18c16308d2a8a | 157 | Project-Euler | The Unlicense |
backend/src/main/kotlin/com/github/davinkevin/podcastserver/service/HtmlService.kt | krystopher4400 | 238,867,358 | true | {"HTML": 27307375, "Kotlin": 1008410, "TypeScript": 162745, "JavaScript": 97267, "CSS": 26945, "Java": 17114, "Shell": 7166, "Dockerfile": 4456, "Smarty": 2675} | package com.github.davinkevin.podcastserver.service
import arrow.core.Failure
import arrow.core.Try
import com.github.davinkevin.podcastserver.utils.toVΛVΓ
import org.jsoup.Jsoup
import org.jsoup.nodes.Document
import org.jsoup.nodes.Element
import org.jsoup.select.Elements
import org.slf4j.LoggerFactory
import org.sp... | 0 | null | 0 | 0 | 5723e9bcc9a7801b3117a5d14cd7228afd097c84 | 1,659 | Podcast-Server | Apache License 2.0 |
foreground-core/src/main/kotlin/utils/builders/ForegroundClientOptions.kt | hechfx | 850,490,433 | false | {"Kotlin": 41189} | package me.hechfx.foreground.core.gateway.utils.builders
class ForegroundClientOptions(
val identifier: String,
val password: String,
) | 0 | Kotlin | 1 | 3 | 592b31e6e05a5066ba20c19195629ec883cfc1d2 | 144 | Foreground | MIT License |
app/src/main/kotlin/io/shtanko/picasagallery/data/user/UserRepository.kt | ashtanko | 99,620,302 | false | null | /*
* Copyright 2017 <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 writin... | 1 | Kotlin | 1 | 4 | ad6961aa1d60668786797a443b64e6710f464f8c | 2,043 | Picasa-Gallery-Android | Apache License 2.0 |
app/src/main/java/com/lifesolutions/bd/Activities/AllLiveVideoViewAdapter.kt | alamin1x0 | 601,487,426 | false | {"Java": 2650731, "Kotlin": 822798, "Assembly": 59} | package com.lifesolutions.bd.Activities
import android.annotation.SuppressLint
import android.content.Context
import android.content.Intent
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.ImageView
import android.widget.TextView
import androidx.recyclervi... | 1 | null | 1 | 1 | 87b3217cedb0340417a8a0fae3b0ef2741ad9012 | 4,205 | Lifesolutions | BSD Source Code Attribution |
core/base/src/wasmCommonMain/kotlin/nl/adaptivity/xmlutil/core/impl/multiplatform/multiplatform.wasmJs.kt | pdvrieze | 143,553,364 | false | {"Kotlin": 3481762} | /*
* Copyright (c) 2024.
*
* This file is part of xmlutil.
*
* This file is licenced to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You should have received a copy of the license with the source distribution.
* Alternatively, y... | 35 | Kotlin | 31 | 378 | c4053519a8b6c90af9e1683a5fe0e9e2b2c0db79 | 2,988 | xmlutil | Apache License 2.0 |
sample/src/main/java/com/paulrybitskyi/sample/utils/VerticalSpacingItemDecorator.kt | gowthamgts | 250,995,002 | true | {"Java Properties": 2, "YAML": 1, "Markdown": 3, "Gradle": 6, "Shell": 1, "Batchfile": 1, "Text": 1, "Ignore List": 3, "Proguard": 2, "Java": 25, "XML": 68, "Kotlin": 19} | package com.paulrybitskyi.sample.utils
import android.graphics.Rect
import android.view.View
import androidx.recyclerview.widget.RecyclerView
class VerticalSpacingItemDecorator(
private val mVerticalSpacing: Int,
private val mVerticalSpacingCompensation: Int
) : RecyclerView.ItemDecoration() {
override ... | 0 | Java | 0 | 0 | c75c60c07c1d0c20bf8c3f5bec2c4f0c6211ed9f | 696 | persistentsearchview | Apache License 2.0 |
src/main/java/dev/blachut/svelte/lang/editor/SvelteHtmlTextContextType.kt | tomblachut | 184,821,501 | false | null | package dev.blachut.svelte.lang.editor
import com.intellij.codeInsight.template.HtmlTextContextType
import com.intellij.codeInsight.template.TemplateActionContext
import com.intellij.codeInsight.template.TemplateContextType
import com.intellij.lang.Language
import com.intellij.psi.PsiElement
import com.intellij.psi.ut... | 0 | null | 38 | 482 | 793f21924edd2436b2c980ad1958785e000a65ac | 1,343 | svelte-intellij | MIT License |
backend/controller/api/src/main/kotlin/com/oztechan/ccc/backend/controller/api/APIController.kt | Oztechan | 102,633,334 | false | null | package com.oztechan.ccc.backend.controller.api
import com.oztechan.ccc.common.core.network.model.ExchangeRate
interface APIController {
suspend fun getExchangeRateByBase(base: String): ExchangeRate?
}
| 16 | null | 30 | 331 | a94168d623b6ffd50e142e0afe9f601db6ed7632 | 208 | CCC | Apache License 2.0 |
idea-plugin/src/main/kotlin/arrow/meta/ide/plugins/proofs/annotators/refinement/refinement.kt | mattmoore | 217,621,376 | false | {"Gradle": 9, "Markdown": 14, "Java Properties": 6, "Shell": 4, "Text": 7, "Ignore List": 2, "Batchfile": 1, "Kotlin": 376, "INI": 3, "YAML": 9, "XML": 3, "Diff": 3, "Java": 12, "SVG": 48, "Gemfile.lock": 1, "Ruby": 1, "SCSS": 22, "HTML": 10, "JavaScript": 3} | package arrow.meta.ide.plugins.proofs.annotators.refinement
import arrow.meta.ide.IdeMetaPlugin
import arrow.meta.ide.dsl.utils.sequenceCalls
import arrow.meta.log.Log
import arrow.meta.log.invoke
import arrow.meta.phases.CompilerContext
import arrow.meta.plugins.proofs.phases.resolve.validateConstructorCall
import co... | 3 | null | 1 | 1 | d97c914cdcd3075122f4398cee3dbb5cafa0142b | 3,424 | arrow-meta | Apache License 2.0 |
app/src/main/java/vip/yazilim/p2g/android/activity/UserActivity.kt | yazilim-vip | 304,487,567 | false | null | package vip.yazilim.p2g.android.activity
import android.os.Bundle
import android.view.MenuItem
import androidx.lifecycle.ViewModelProvider
import vip.yazilim.p2g.android.R
import vip.yazilim.p2g.android.model.p2g.UserModel
import vip.yazilim.p2g.android.ui.user.UserViewModel
import vip.yazilim.p2g.android.ui.user.User... | 1 | null | 1 | 1 | d52cc417e46ee9dab9da3b72de9cb3776043bf46 | 1,310 | p2g-android | Apache License 2.0 |
src/main/kotlin/com/jetbrains/snakecharm/inspections/SmkLambdaRuleParamsInspection.kt | JetBrains-Research | 165,259,818 | false | {"Python": 1277216, "Kotlin": 836545, "Gherkin": 584412, "Java": 15215, "HTML": 8352, "Lex": 2408, "Roff": 74} | package com.jetbrains.snakecharm.inspections
import com.intellij.codeInspection.LocalInspectionToolSession
import com.intellij.codeInspection.ProblemHighlightType
import com.intellij.codeInspection.ProblemsHolder
import com.jetbrains.python.inspections.quickfix.RenameParameterQuickFix
import com.jetbrains.python.psi.P... | 90 | Python | 7 | 61 | ac0d9c4a246b287f99b857865a24378eeaad5419 | 5,066 | snakecharm | MIT License |
buildSrc/src/main/java/lt/markmerkk/export/tasks/JBundleExtension.kt | marius-m | 67,072,115 | false | null | package lt.markmerkk.export.tasks
import org.gradle.api.Project
open class JBundleExtension(private val project : Project) {
var appName: String = ""
var version: String = ""
var mainClassName: String = ""
var mainJarFilePath: String = ""
var systemWide: Boolean = false
var jvmProps: List<Stri... | 1 | null | 1 | 26 | 6632d6bfd53de4760dbc3764c361f2dcd5b5ebce | 414 | wt4 | Apache License 2.0 |
plugins/devkit/devkit-kotlin-tests/testData/inspections/registrationProblems/xml/extensions/Configurables.kt | ingokegel | 72,937,917 | true | null | import com.intellij.openapi.options.Configurable
import com.intellij.openapi.options.ConfigurableProvider
import com.intellij.openapi.project.Project
object SingletonConfigurable : Configurable {
override fun createComponent() = null
override fun isModified() = false
override fun getDisplayName() = "any"
overr... | 1 | null | 1 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 1,140 | intellij-community | Apache License 2.0 |
app/src/main/kotlin/com/fashare/mvvm_juejin/model/notify/NotifyBean.kt | fashare2015 | 102,467,998 | false | null | package com.fashare.mvvm_juejin.model.notify
import com.fashare.mvvm_juejin.model.article.ArticleBean
import com.fashare.mvvm_juejin.model.user.UserBean
import java.io.Serializable
/**
* objectId : 59b73e69ef23ab6f3540a08b
* createdAtString : 2017-09-12T01:54:47.107Z
* updatedAtString : 2017-09-12T01:54:47.107Z
*... | 8 | Java | 60 | 402 | 182ec504145e326eb5f448879f558933b1a94799 | 7,457 | MVVM-JueJin | MIT License |
lib/src/main/java/me/ctknight/uploadmanager/util/NetworkUtils.kt | CTKnight | 62,815,603 | false | null | /*
* Copyright (c) 2018. All rights reserved. <NAME> <<EMAIL>>
*/
package me.ctknight.uploadmanager.util
import okhttp3.OkHttpClient
import java.util.concurrent.TimeUnit
object NetworkUtils {
private const val DEFAULT_TIMEOUT = (20 * 1000L).toInt()
private val DEFAULT_CLIENT = buildClient()
@Volatile
var ... | 2 | Kotlin | 1 | 12 | e4bb2ad00daf928f0de8fc8ecf95b557edf37229 | 816 | UploadManager | Apache License 2.0 |
kotlin/src/com/s13g/aoc/aoc2019/Day15.kt | shaeberling | 50,704,971 | false | null | package com.s13g.aoc.aoc2019
import com.s13g.aoc.Result
import com.s13g.aoc.Solver
/**
* --- Day 15: Oxygen System ---
* https://adventofcode.com/2019/day/15
*/
class Day15 : Solver {
override fun solve(lines: List<String>): Result {
val programA =
lines[0].split(",").map { it.toLong() }.plus(Array(1... | 1 | Kotlin | 1 | 3 | b1ab0973f2fb44c37b4a5125802f605e252f72ee | 3,545 | euler | Apache License 2.0 |
app/src/main/java/com/alvarlagerlof/temadagarapp/Blur.kt | alvarlagerlof | 95,466,373 | false | {"Java": 91283, "Kotlin": 65989} | package com.alvarlagerlof.temadagarapp
import android.annotation.SuppressLint
import android.content.Context
import android.graphics.Bitmap
import android.renderscript.Allocation
import android.renderscript.Element
import android.renderscript.RenderScript
import android.renderscript.ScriptIntrinsicBlur
/**
* Created... | 1 | null | 1 | 1 | 49b62ba0e47226277912f92d60c7ed73a4142113 | 8,695 | temadagar-android | MIT License |
src/main/kotlin/com/anatawa12/decompiler/optimizer/controlFlows/IFlowGenerator.kt | fixrtm | 287,526,773 | false | {"Gradle Kotlin DSL": 2, "INI": 2, "Shell": 1, "Ignore List": 1, "Batchfile": 1, "Text": 5, "Markdown": 1, "Kotlin": 77, "Java": 1} | package com.anatawa12.decompiler.optimizer.controlFlows
import com.anatawa12.decompiler.processor.ProcessorContext
import com.anatawa12.decompiler.statementsGen.Statement
import com.anatawa12.decompiler.statementsGen.StatementsMethod
interface IFlowGenerator {
/**
* @return returns true if generated one or m... | 0 | Kotlin | 0 | 0 | c61c444b335dfa911248c4462dae57eb44fdcc3c | 448 | Mataram | MIT License |
jtransc-utils/src/com/jtransc/lang/Typer.kt | jtransc | 51,313,992 | false | null | package com.jtransc.lang
object Typer {
fun <T : Any> toTyped(value: Any?, target: Class<T>): T = Dynamic.dynamicCast(value, target)!!
fun <T : Any> fromTyped(value: T?): Any? = Dynamic.fromTyped(value)
}
| 59 | null | 66 | 619 | 6f9a2166f128c2ce5fb66f9af46fdbdbcbbe4ba4 | 208 | jtransc | Apache License 2.0 |
app/src/main/java/com/akrwt/arogya/adapters/DashboardAdapter.kt | rwt-akshat | 254,932,380 | false | {"Kotlin": 90666} | package com.akrwt.cr.ui
import android.content.Context
import android.content.Intent
import android.widget.TextView
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.ImageView
import androidx.navigation.NavController
import androidx.recyclerview.widget.Recy... | 0 | Kotlin | 0 | 0 | 118016d961f254b5f36edc5e3df38adb5bffd2ef | 2,532 | Life | MIT License |
src/main/kotlin/com/github/holgerbrandl/kdfutils/Misc.kt | holgerbrandl | 529,829,621 | false | {"Kotlin": 41041, "Shell": 2012} | @file:Suppress("unused")
package com.github.holgerbrandl.kdfutils
import org.apache.commons.csv.CSVFormat
import org.jetbrains.kotlinx.dataframe.DataFrame
import org.jetbrains.kotlinx.dataframe.api.generateDataClasses
import org.jetbrains.kotlinx.dataframe.api.print
import org.jetbrains.kotlinx.dataframe.io.writeCSV
... | 0 | Kotlin | 0 | 2 | 88763e004c257d9f07eb538725d78631de0e70a1 | 666 | kdfutils | MIT License |
normal/src/main/java/com/sys1yagi/migrate_to_jetpack_compose/normal/ui/notifications/NotificationsFragment.kt | sys1yagi | 330,087,948 | false | null | package com.sys1yagi.migrate_to_jetpack_compose.normal.ui.notifications
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import androidx.fragment.app.Fragment
import androidx.lifecycle.Observer
import androidx.lifecycle.Vi... | 0 | Kotlin | 0 | 0 | d74b0781ed4355be06fd00bcc4f62102a1c91f07 | 1,677 | migrate-to-jetpack-compose | MIT License |
src/main/java/space/impact/impact_compat/core/NBT.kt | GT-IMPACT | 658,419,880 | false | null | package space.impact.impact_compat.core
object NBT {
const val NBT_ACTIVE = "NBT_ACTIVE"
const val NBT_DONE_TO_WORK = "NBT_DONE_TO_WORK"
const val NBT_BLOCKS_COUNT = "NBT_BLOCKS_COUNT"
const val NBT_SPEED = "NBT_SPEED"
const val NBT_BURN = "NBT_BURN"
const val NBT_FACING = "NBT_FACING"
}
| 0 | Kotlin | 0 | 0 | 18ab2a6b7a88a76eb90a4edef9a8ce9db207f3c7 | 314 | Impact-compat | MIT License |
analytics/src/main/java/io/appmetrica/analytics/impl/attribution/ExternalAttributionHelper.kt | appmetrica | 650,662,094 | false | null | package io.appmetrica.analytics.impl.attribution
import io.appmetrica.analytics.coreutils.internal.parsing.isEqualTo
import io.appmetrica.analytics.coreutils.internal.time.TimeProvider
import io.appmetrica.analytics.impl.component.ComponentUnit
import io.appmetrica.analytics.logger.internal.DebugLogger
import org.json... | 1 | null | 5 | 54 | 472d3dfb1e09f4e7f35497e5049f53287ccce7d1 | 2,258 | appmetrica-sdk-android | MIT License |
bug-call-notify-when-scroll/src/main/java/com/example/cm/bug/rv/TimerItem.kt | 410063005 | 132,123,442 | false | {"Java": 122870, "Kotlin": 50399} | package com.example.cm.bug.rv
/**
* Created by 410063005 on 2018/5/25.
*/
class TimerItem(var time : Int) | 1 | null | 1 | 1 | 3dd2a981a5b50045eaeac60482aacf16e840e365 | 108 | FragmentLifeCircle | Apache License 2.0 |
app/src/main/java/com/pnuema/android/coviSolution/details/models/Contact.kt | shres09 | 370,354,163 | false | null | package com.pnuema.android.coviSolution.details.models
class Contact {
var phone: String? = null
var formattedPhone: String? = null
} | 1 | null | 1 | 1 | 6451f0572e5c3c4a1e530312bd97729510a5ff61 | 142 | CoviSolution | Apache License 2.0 |
app/src/main/java/com/holiday/domain/model/CountryModel.kt | kelvinkioko | 595,959,798 | false | null | package com.holiday.domain.model
data class CountryModel(
var commonName: String = "",
var officialName: String = "",
var countryCode: String = "",
var region: String = "",
var borders: List<BordersModel> = emptyList()
)
| 0 | Kotlin | 0 | 0 | 183d6e084e1803f8ea818697885fa0c51027aa2d | 242 | Public-Holiday | Apache License 2.0 |
project/app/src/main/java/com/marcosvbras/robomarket/interfaces/FragmentCallback.kt | marcosvbras | 137,366,659 | false | {"Kotlin": 113953, "Java": 3663} | package com.marcosvbras.robomarket.interfaces
interface FragmentCallback : ActivityCallback | 0 | Kotlin | 1 | 1 | b2253686d9d7bfe9a10f1cd0e0253ac29abc6f41 | 92 | RoboMarket | Apache License 2.0 |
features/feature-player/src/main/kotlin/com/maximillianleonov/musicmax/feature/player/PlayerViewModel.kt | TheMusicmax | 559,137,206 | false | {"Kotlin": 402120} | /*
* 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... | 17 | Kotlin | 5 | 288 | a2a9a97d88b743602f59fa74eb8f67754d56d3b1 | 4,052 | Musicmax | Apache License 2.0 |
core/filters/src/main/java/ru/tech/imageresizershrinker/core/filters/presentation/model/UiLinearFastGaussianBlurNextFilter.kt | T8RIN | 478,710,402 | false | null | /*
* ImageToolbox is an image editor for android
* Copyright (c) 2024 T8RIN (<NAME>)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* Unless required by applicable law or agreed to in writing, software
* distributed under ... | 8 | null | 176 | 3,817 | 486410d4a9ea3c832fc5aa63eb5bdc7b1fab871d | 1,914 | ImageToolbox | Apache License 2.0 |
pg-kueue-log/pg-kueue-log-core/src/main/kotlin/io/github/vooft/kueue/log/impl/consumer/KueueConsumerDao.kt | vooft | 832,302,606 | false | {"Kotlin": 106110} | package io.github.vooft.kueue.log.impl.consumer
import io.github.vooft.kueue.KueueConnection
import io.github.vooft.kueue.KueueConnectionProvider
import io.github.vooft.kueue.KueueTopic
import io.github.vooft.kueue.log.impl.producer.withAcquiredConnection
import io.github.vooft.kueue.log.impl.producer.withConnection
i... | 0 | Kotlin | 0 | 0 | d3b5da46091fc69d7cc827532258d8815a6e335f | 8,296 | pg-kueue | Apache License 2.0 |
app/src/main/java/com/example/hackfestciputra2023/component/AppItem.kt | fahmigutawan | 640,132,198 | false | null | package com.example.hackfestciputra2023.component
import androidx.compose.foundation.background
import androidx.compose.foundation.clickable
import androidx.compose.foundation.interaction.MutableInteractionSource
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Box
import... | 0 | Kotlin | 0 | 0 | 87e75d80142965ae366b433519a2f33eccde6a5f | 10,222 | Jetpack-CiputraHackfest-2023 | MIT License |
core/src/main/java/de/whitefrog/frogr/model/FBaseImpl.kt | joewhite86 | 118,778,368 | false | null | package de.whitefrog.frogr.model
import com.fasterxml.jackson.annotation.JsonIgnore
import com.fasterxml.jackson.annotation.JsonView
import de.whitefrog.frogr.model.annotation.Fetch
import de.whitefrog.frogr.model.annotation.Unique
import de.whitefrog.frogr.model.annotation.Uuid
import de.whitefrog.frogr.rest.Views
im... | 1 | null | 1 | 2 | 396ac4243acb7b75f624431e61d691e3fb6c9103 | 1,527 | frogr | MIT License |
src/main/kotlin/com/kontinum/service/discount/service.kt | ToniDarodda | 753,367,631 | false | {"Kotlin": 42174} | package com.kontinum.service.discount
import com.kontinum.model.Discount
import com.kontinum.model.Discounts
import com.kontinum.service.discount.dto.DiscountCreateDTO
import com.kontinum.service.discount.dto.DiscountPatchDTO
import org.jetbrains.exposed.sql.*
import org.jetbrains.exposed.sql.SqlExpressionBuilder.eq
i... | 5 | Kotlin | 0 | 0 | 51414d8357d2183a41600ff6145aa7c67b9a9e6a | 2,057 | Kontinum | MIT License |
shared/src/main/kotlin/me/rasztabiga/thesis/shared/domain/command/command/RejectOrderCommand.kt | BartlomiejRasztabiga | 604,846,079 | false | {"Kotlin": 368953, "TypeScript": 109077, "Python": 10389, "Dockerfile": 1695, "Shell": 662, "JavaScript": 639, "CSS": 59} | package me.rasztabiga.thesis.shared.domain.command.command
import org.axonframework.modelling.command.TargetAggregateIdentifier
import java.util.*
data class RejectOrderCommand(
@TargetAggregateIdentifier val orderId: UUID
)
| 4 | Kotlin | 0 | 2 | dbb3b329f06f951b9531b03cc41d1e1e52bf7422 | 231 | thesis | MIT License |
buildSrc/src/gen-execution.kt | dandoh | 213,273,434 | false | {"Gradle Kotlin DSL": 3, "YAML": 2, "Shell": 1, "Text": 58, "Ignore List": 1, "Batchfile": 1, "EditorConfig": 1, "Markdown": 1, "Kotlin": 96, "HTML": 2, "SVG": 38, "XML": 11, "Perl": 1, "INI": 2, "CSS": 9, "Java Properties": 1, "Java": 7, "Agda": 8, "JFlex": 10} | package org.ice1000.tt.gradle
import org.intellij.lang.annotations.Language
fun LanguageUtilityGenerationTask.execution(nickname: String, configName: String) {
@Language("kotlin")
val runConfig = """
package $basePackage.execution
import com.intellij.execution.Executor
import com.intellij.execution.actions.Conf... | 1 | null | 1 | 1 | 47e013622f1761f4618fa13a391e335af4369b22 | 6,067 | intellij-dtlc | Apache License 2.0 |
ontrack-model/src/main/java/net/nemerosa/ontrack/model/structure/ProjectEntityTypeExtensions.kt | nemerosa | 19,351,480 | false | null | package net.nemerosa.ontrack.model.structure
/**
* Name suitable for generating a code variable.
*/
val ProjectEntityType.varName: String
get() = name.toLowerCase().split("_").joinToString("") { it.capitalize() }.decapitalize()
/**
* Name suitable for generating a code type.
*/
val ProjectEntityType.typeName... | 57 | Kotlin | 27 | 97 | 7c71a3047401e088ba0c6d43aa3a96422024857f | 362 | ontrack | MIT License |
compiler/testData/integration/smoke/helloAppFQMain/hello.kt | JetBrains | 3,432,266 | false | null | package Hello
fun main(args: kotlin.Array<kotlin.String>) {
args.size
System.out.println("Hello from fully qualified main!")
}
| 181 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 136 | kotlin | Apache License 2.0 |
app/src/main/java/com/karumi/jetpack/superheroes/SuperHeroesApplication.kt | lgvalle | 192,291,626 | true | {"Kotlin": 48094, "Shell": 2507} | package com.karumi.jetpack.superheroes
import android.app.Application
import android.content.Context
import com.github.salomonbrys.kodein.Kodein.Module
import com.github.salomonbrys.kodein.KodeinAware
import com.github.salomonbrys.kodein.bind
import com.github.salomonbrys.kodein.conf.ConfigurableKodein
import com.gith... | 0 | Kotlin | 0 | 0 | 64e3b732a1e555efafd48ed9d4d0a3db934dda96 | 1,789 | KataSuperHeroesJetpack | Apache License 2.0 |
app/src/main/java/id/febridk/github/ui/main/UserViewModel.kt | febridk | 329,955,361 | false | null | package id.febridk.github.ui.main
import android.util.Log
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import id.febridk.github.api.RetrofitApi
import id.febridk.github.data.model.User
import id.febridk.github.data.model.UserList
import retrofit2.Call... | 0 | Kotlin | 0 | 0 | 2a8bb41784ec1e7787f9d56c39a88ba80c3369df | 1,141 | GithubApp | MIT License |
app/src/main/java/com/androidvip/hebf/ui/main/tools/cleaner/DirectoryCleanerAdapter.kt | Lennoard | 61,443,609 | false | {"Kotlin": 764483, "Java": 86252, "Shell": 19253, "HTML": 2302} | package com.androidvip.hebf.ui.main.tools.cleaner
import android.animation.ValueAnimator
import android.annotation.SuppressLint
import android.os.Environment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.view.animation.AccelerateInterpolator
import android.wid... | 0 | Kotlin | 30 | 50 | 12781b0de2b62baed994159748279d2c33abe390 | 6,978 | hebf-android | Apache License 2.0 |
app/src/main/java/com/solarexsoft/learningrxjavademo/MainActivity.kt | flyfire | 258,075,045 | false | null | package com.solarexsoft.learningrxjavademo
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.util.Log
import kotlin.math.log
import androidx.lifecycle.Observer
import androidx.lifecycle.ViewModelProviders
import kotlinx.android.synthetic.main.activity_main.*
class MainActivity : ... | 1 | null | 1 | 1 | e90e59f648098be8cdbde3bf2d6b915bc345b01d | 1,232 | LearningRxJavaDemo | MIT License |
accountant/accountant-ports/accountant-submitter-kafka/src/main/kotlin/co/nilin/opex/accountant/ports/kafka/submitter/config/KafkaTopicConfig.kt | opexdev | 370,411,517 | false | {"Kotlin": 1443488, "HTML": 43145, "Java": 19673, "PLpgSQL": 17262, "Shell": 7915, "Dockerfile": 5680, "HCL": 823} | package co.nilin.opex.accountant.ports.kafka.submitter.config
import org.apache.kafka.clients.admin.NewTopic
import org.apache.kafka.common.config.TopicConfig
import org.slf4j.LoggerFactory
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.context.annotation.Configuration
import ... | 25 | Kotlin | 13 | 23 | 9c58721f0df3e8ae21f8c60adba830e5091901d0 | 1,849 | core | MIT License |
library/src/commonTest/kotlin/ru/pocketbyte/kydra/log/AbsPrintLoggerTest.kt | PocketByte | 159,979,525 | false | null | /*
* Copyright © 2019 <NAME>. All rights reserved.
* Licensed under the Apache License, Version 2.0
*/
package ru.pocketbyte.kydra.log
import kotlin.test.Test
import kotlin.test.assertEquals
import kotlin.test.assertNull
open class AbsPrintLoggerTest {
@Test
fun testPrintMessage() {
val logger = ... | 0 | Kotlin | 3 | 19 | f0023a21fea9f70872f41275f8f6dbdf80ea8eed | 2,571 | kotlin-kydra-log | Apache License 2.0 |
RunWithZippy/app/src/main/java/com/rungo/runwithzippy/domain/repository/FriendsRepository.kt | RungoLTD | 268,100,852 | false | null | package com.rungo.runwithzippy.domain.repository
import com.rungo.runwithzippy.data.model.*
interface FriendsRepository {
suspend fun getFriendsList(accessToken: AccessTokenParam): FriendsResponse
// suspend fun getProfileStatistics(accessToken: AccessTokenParam): ProfileStatisticsResponse
//
// suspend fu... | 0 | Kotlin | 0 | 0 | dfbab16f782fb015a15a7e16d72cf612516e77e0 | 401 | RunWithZippyAndroid | Apache License 2.0 |
kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cxapi/Environment.kt | cloudshiftinc | 667,063,030 | false | {"Kotlin": 149148378} | @file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION")
package io.cloudshiftdev.awscdk.cxapi
import io.cloudshiftdev.awscdk.common.CdkDslMarker
import io.cloudshiftdev.awscdk.common.CdkObject
impor... | 1 | Kotlin | 0 | 4 | e15f2e27e08adeb755ad44b2424c195521a6f5ba | 3,615 | kotlin-cdk-wrapper | Apache License 2.0 |
sdk/src/main/java/cz/thorne/sdk/meds/MedicationImpl.kt | AnnaThorne | 668,764,394 | false | {"Kotlin": 88961} | package com.thorne.sdk.meds
import java.util.UUID
@kotlinx.serialization.Serializable
class MedicationImpl(
private var name: String,
private var dosage: String,
private var frequency: Int,
private var startHour: Int,
private var startMin: Int,
private var startDate: Long,
private var endD... | 9 | Kotlin | 0 | 0 | ae6a348e275746ebb585149783692523019ef453 | 1,783 | PillApp | MIT License |
src/main/kotlin/io/github/u/ways/challenge3.kt | u-ways | 664,792,752 | false | {"Kotlin": 17762, "Makefile": 847} | package io.github.u.ways
import io.github.u.ways.domain.Request
fun challenge3(request: Request) {
} | 3 | Kotlin | 3 | 2 | fd331768de9f8fa6496f68e62a0124f4ac51bd87 | 102 | software-engineering-work-experience | MIT License |
app/src/main/java/br/com/ceducarneiro/tuit/service/TimelinePagingSource.kt | edu1910 | 426,705,462 | false | null | package br.com.ceducarneiro.tuit.service
import androidx.paging.PagingSource
import androidx.paging.PagingState
import br.com.ceducarneiro.tuit.BuildConfig
import br.com.ceducarneiro.tuit.model.Tweet
import retrofit2.HttpException
import java.io.IOException
import java.lang.Long
class TimelinePagingSource(
priva... | 0 | Kotlin | 0 | 0 | 31ac970f8e6f110adbcbe9ff0516ae26a109eb94 | 1,518 | tuit | MIT License |
pulsar-common/src/main/kotlin/ai/platon/pulsar/common/PreemptChannelSupport.kt | platonai | 124,882,400 | false | null | package ai.platon.pulsar.common
import kotlinx.coroutines.TimeoutCancellationException
import kotlinx.coroutines.withTimeout
import java.time.Duration
import java.util.concurrent.atomic.AtomicInteger
import java.util.concurrent.locks.ReentrantLock
import kotlin.concurrent.withLock
/**
* The preemptive channel concur... | 1 | HTML | 32 | 110 | f93bccf5075009dc7766442d3a23b5268c721f54 | 5,231 | pulsar | Apache License 2.0 |
pulsar-common/src/main/kotlin/ai/platon/pulsar/common/PreemptChannelSupport.kt | platonai | 124,882,400 | false | null | package ai.platon.pulsar.common
import kotlinx.coroutines.TimeoutCancellationException
import kotlinx.coroutines.withTimeout
import java.time.Duration
import java.util.concurrent.atomic.AtomicInteger
import java.util.concurrent.locks.ReentrantLock
import kotlin.concurrent.withLock
/**
* The preemptive channel concur... | 1 | HTML | 32 | 110 | f93bccf5075009dc7766442d3a23b5268c721f54 | 5,231 | pulsar | Apache License 2.0 |
app/src/main/java/com/oguzdogdu/wallieshd/presentation/detail/DetailFragment.kt | oguzsout | 616,912,430 | false | {"Kotlin": 470573} | package com.oguzdogdu.wallieshd.presentation.detail
import android.content.Context
import android.content.Intent
import android.os.Bundle
import android.util.DisplayMetrics
import android.view.WindowManager
import androidx.fragment.app.viewModels
import androidx.navigation.fragment.navArgs
import androidx.recyclerview... | 0 | Kotlin | 6 | 8 | e6f899f32c4e914fc9e585c28f7d54bfd05398fd | 8,476 | Wallies | MIT License |
blockchain/src/main/kotlin/pt/um/lei/masb/blockchain/persistance/ManagedDatabaseInfo.kt | brunofmf | 166,305,210 | true | {"Kotlin": 240087} | package pt.um.lei.masb.blockchain.persistance
import com.orientechnologies.orient.core.db.ODatabaseType
import com.orientechnologies.orient.core.db.OrientDBConfig
data class ManagedDatabaseInfo(
internal val modeOpen: DatabaseMode = DatabaseMode.MEMORY,
internal val mode: ODatabaseType = ODatabaseType.MEMORY,... | 0 | Kotlin | 0 | 0 | 1655c032f274f078e1d7e9fa525dcada3b6499dc | 576 | mas-blockchain-main | MIT License |
Code/app-core/core_common/src/main/kotlin/com/istudio/core_common/platform/uiEvent/UiEvent.kt | devrath | 735,893,717 | false | {"Kotlin": 72679} | package com.istudio.core_common.platform.uiEvent
sealed class UiEvent {
data class Navigate(val route: String): UiEvent()
object NavigateUp: UiEvent()
} | 0 | Kotlin | 0 | 0 | 8a5e416b0d43745b1cf6542c3d316456e6ab8fe4 | 161 | SnapVision | Apache License 2.0 |
filesystem/src/linuxMain/kotlin/linux/native/LinuxMkdir.kt | illarionov | 848,247,126 | false | null | /*
* Copyright 2024, the wasi-emscripten-host project authors and contributors. Please see the AUTHORS file
* for details. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
* SPDX-License-Identifier: Apache-2.0
*/
package at.released.weh.filesystem.linux.native
i... | 1 | null | 0 | 4 | 774f9d4fc1c05080636888c4fe03049fdb038a8d | 2,925 | wasi-emscripten-host | Apache License 2.0 |
buildSrc/src/main/kotlin/Dependencies.kt | xtrm-en | 537,029,434 | false | null | private const val kotlinVersion = "1.7.10"
object Plugins {
const val KOTLIN = kotlinVersion
const val GRGIT = "4.1.1" // old version for jgit to work on Java 8
const val BLOSSOM = "1.3.1"
const val SHADOW = "7.1.2"
const val KTLINT = "11.0.0"
const val DOKKA = "1.7.10"
const val GRADLE_PLU... | 0 | Kotlin | 0 | 0 | 933fbc4cfa28682c50b4f58e19e72df2fea5965c | 567 | postprocessor | ISC License |
src/nickson/PowerOfInline.kt | nickaigi | 191,916,746 | false | null | package nickson
fun myRun(f:()-> Unit) = f()
/* if we inline the run function */
inline fun <R> run2(block:() -> R): R = block()
/* inline-ing of takeUnless */
inline fun <T> T.takeUnless2(predicate: (T) -> Boolean): T? = if (!predicate(this)) this else null
fun main() {
val name = "Kotlin"
// under the hoo... | 0 | Kotlin | 0 | 0 | bc2a547b47fb9531399110c15a60a14c606a419a | 643 | kotlin-in-action | The Unlicense |
app/src/main/java/com/densitech/scrollsmooth/ui/video/model/VideoActionParams.kt | thanhduy26091995 | 832,247,908 | false | {"Kotlin": 223972} | package com.densitech.scrollsmooth.ui.video.model
data class VideoActionParams(
val token: Int,
val likeCount: Int,
val commentCount: Int,
val shareCount: Int,
val isDownloaded: Boolean,
)
| 0 | Kotlin | 0 | 2 | 2a8300eb4d16bdf188a91da8e9b3d68b47191275 | 210 | SmoothScroll | MIT License |
kcrud-base/src/main/kotlin/kcrud/base/domain/api_user/repository/ApiUserRepository.kt | perracodex | 682,128,013 | false | {"Kotlin": 476627, "CSS": 4664, "JavaScript": 3652, "HTML": 590} | /*
* Copyright (c) 2023-Present <NAME>. All rights reserved.
* This work is licensed under the terms of the MIT license.
* For a copy, see <https://opensource.org/licenses/MIT>
*/
package kcrud.base.domain.api_user.repository
import kcrud.base.data.database.suspendedTransaction
import kcrud.base.domain.api_user.e... | 0 | Kotlin | 0 | 1 | 2d1298938fa98695ca43f1725ccd15410e2f650f | 4,024 | Kcrud | MIT License |
app/src/main/java/com/escodro/alkaa/presentation/home/SheetContentState.kt | igorescodro | 116,942,964 | false | null | package com.escodro.alkaa.presentation.home
import android.os.Parcelable
import com.escodro.categoryapi.model.Category
import kotlinx.parcelize.Parcelize
internal sealed class SheetContentState {
@Parcelize
object Empty : SheetContentState(), Parcelable
@Parcelize
object TaskListSheet : SheetContent... | 7 | Kotlin | 83 | 753 | 1f9e22f789a14f29a28f02ec30a2cade7c657a26 | 446 | alkaa | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.