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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
core/worker/src/main/java/com/niyaj/core/worker/status/MonitorWorkManager.kt | skniyajali | 644,752,474 | false | {"Kotlin": 2028840} | package com.niyaj.core.worker.status
import android.content.Context
import androidx.work.WorkInfo
import androidx.work.WorkManager
import com.niyaj.core.worker.initializers.enqueueDeletionWorker
import com.niyaj.core.worker.initializers.enqueueReportWorker
import com.niyaj.core.worker.workers.DELETE_DATA_WORKER_TAG
im... | 12 | Kotlin | 0 | 3 | f068f418b7691ab2959e12ff6ec900c4bd92bfb5 | 1,453 | PoposRoom | Apache License 2.0 |
feature_book/src/main/java/com/ly/book/components/XSheetDialog.kt | 972223177 | 540,360,587 | false | null | @file:Suppress("unused")
package com.ly.book.components
import androidx.activity.compose.BackHandler
import androidx.compose.animation.*
import androidx.compose.animation.core.LinearEasing
import androidx.compose.animation.core.LinearOutSlowInEasing
import androidx.compose.animation.core.animateFloatAsState
import an... | 0 | Kotlin | 0 | 0 | 501453c0582d24ab11d203cc1c4adb6b96b36437 | 6,088 | BookStore | Apache License 2.0 |
mercado-livro/src/main/kotlin/com/mercadolivro/controller/request/PostCustomerRequest.kt | juliocarvalho2019 | 633,990,981 | false | null | package com.mercadolivro.controller.request
import com.mercadolivro.validation.EmailAvailable
import javax.validation.constraints.Email
import javax.validation.constraints.NotEmpty
data class PostCustomerRequest (
@field:NotEmpty(message = "Campo nome não pode ser vazio!")
var name: String,
@field:Email(m... | 0 | Kotlin | 0 | 0 | eb2d81969ef373db05460ad93973ebb87c4701fe | 400 | Mercado-livro | Apache License 2.0 |
client/composeApp/src/commonMain/kotlin/presentation/screens/profileScreen/ProfileScreen.kt | poetofcode | 782,463,531 | false | {"Kotlin": 93235, "JavaScript": 30142, "Handlebars": 4184, "CSS": 2731, "Dockerfile": 197} | package presentation.screens.profileScreen
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.l... | 0 | Kotlin | 0 | 0 | f95c52c0a35c2af9ccf077917b547406de5c4f83 | 5,834 | sprout | Apache License 2.0 |
travako-core/travako-core-adapter/travako-core-adapter-leader/src/main/java/io/arkitik/travako/adapter/leader/creator/LeaderCreatorImpl.kt | arkitik | 441,685,610 | false | {"Kotlin": 322279, "Shell": 91} | package io.arkitik.travako.adapter.leader.creator
import io.arkitik.radix.develop.store.creator.StoreIdentityCreator
import io.arkitik.travako.core.domain.leader.LeaderDomain
import io.arkitik.travako.core.domain.runner.SchedulerRunnerDomain
import io.arkitik.travako.core.domain.server.ServerDomain
import io.arkitik.t... | 1 | Kotlin | 0 | 3 | 913e9b17c479329022dd67f77d35efe1300877c5 | 1,561 | travako | Apache License 2.0 |
plugins/kotlin/idea/tests/testData/intentions/convertBlockCommentToLineComment/simple.kt | ingokegel | 72,937,917 | true | null | // AFTER-WARNING: Variable 'foo' is never used
fun test() {
/*
comment1
comment2
comment3
*/<caret>
val foo = 1
} | 1 | null | 1 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 144 | intellij-community | Apache License 2.0 |
src/test/kotlin/com/roscopeco/jasm/asserts/MemberAssert.kt | roscopeco | 487,298,845 | false | {"Gradle Kotlin DSL": 2, "Markdown": 5, "INI": 2, "Shell": 1, "Ignore List": 1, "Batchfile": 1, "Java": 40, "Kotlin": 62, "ANTLR": 2, "YAML": 1} | /*
* Copyright (c)2022 <NAME> & Contributors
*
* Licensed under the MIT license. See LICENSE.md for details.
*/
package com.roscopeco.jasm.asserts
import com.roscopeco.jasm.antlr.JasmParser.MemberContext
import org.assertj.core.api.AbstractAssert
class MemberAssert internal constructor(actual: MemberContext) :
... | 3 | Java | 13 | 426 | 1196bfc641a33eb8b701d4bd0c87dcd0ce1d0d47 | 913 | jasm | MIT License |
dashboard/dashboard_domain/src/main/java/com/nstudiosappdev/stocker/dashboard/domain/DeleteCurrencyInteractor.kt | harrunisk | 186,485,023 | false | null | package com.nstudiosappdev.stocker.dashboard.domain
import com.nstudiosappdev.core.coroutines.AsyncManager
import com.nstudiosappdev.core.domain.BaseInteractor
import com.nstudiosappdev.core.domain.Interactor
import com.nstudiosappdev.core.error.ErrorFactory
import com.nstudiosappdev.core.injection.modules.CoroutineMa... | 0 | null | 6 | 37 | dca907383ca09c86c6a81b06820ef7ace3e45a5c | 1,366 | Stocker | MIT License |
vim-engine/src/main/kotlin/com/maddyhome/idea/vim/vimscript/model/datatypes/VimString.kt | JetBrains | 1,459,486 | false | null | /*
* 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.vimscript.model.datatypes
import java.util.*
public data class VimString(val va... | 8 | null | 749 | 9,241 | 66b01b0b0d48ffec7b0148465b85e43dfbc908d3 | 2,576 | ideavim | MIT License |
kzen-auto-common/src/commonMain/kotlin/tech/kzen/auto/common/paradigm/dataflow/model/structure/cell/EdgeDirection.kt | alexoooo | 131,353,826 | false | null | package tech.kzen.auto.common.paradigm.dataflow.model.structure.cell
enum class EdgeDirection(
val rowOffset: Int,
val columnOffset: Int
) {
Top(-1, 0),
Right(0, 1),
Bottom(1, 0),
Left(0, -1);
fun reverse(): EdgeDirection {
return when (this) {
Top ->
... | 1 | Kotlin | 1 | 1 | ffdd5bb5dcc541b884d887a01d7dbbf1d506b610 | 481 | kzen-auto | MIT License |
jipp-pdl/src/main/kotlin/com/hp/jipp/pdl/pwg/PwgHeader.kt | HPInc | 129,298,798 | false | null | // Copyright 2018 HP Development Company, L.P.
// SPDX-License-Identifier: MIT
package com.hp.jipp.pdl.pwg
import java.io.DataInputStream
import java.io.DataOutputStream
import java.io.IOException
import java.io.InputStream
import java.io.OutputStream
/**
* All elements of a PWG Raster header as described in sectio... | 7 | null | 40 | 99 | f1f96d5da88d24197e7b0f90eec4ceee0fe66550 | 18,414 | jipp | MIT License |
app/src/main/java/com/reggar/todomvp/feature/main/adapter/AdapterConstants.kt | REggar | 101,867,587 | false | null | package com.reggar.todomvp.feature.main.adapter
object AdapterConstants {
val TODO = 1
val HEADER = 2
} | 0 | Kotlin | 0 | 0 | fb091a629e7b374facbc3c04e4a782f5c05d6be2 | 112 | TodoMVP | Apache License 2.0 |
Common/src/main/java/at/petrak/hexcasting/common/casting/actions/rw/OpWrite.kt | FallingColors | 441,721,272 | false | null | package at.petrak.hexcasting.common.casting.actions.rw
import at.petrak.hexcasting.api.addldata.ADIotaHolder
import at.petrak.hexcasting.api.casting.RenderedSpell
import at.petrak.hexcasting.api.casting.castables.SpellAction
import at.petrak.hexcasting.api.casting.eval.CastingEnvironment
import at.petrak.hexcasting.ap... | 173 | null | 86 | 97 | 1aa53ca97faebc7e8fcca3215c58239ab35ad428 | 1,971 | HexMod | MIT License |
app/src/main/java/com/example/walletease/components/SplitComponent/dataclasses/Payment.kt | yigitozman | 794,238,533 | false | {"Kotlin": 135388, "JavaScript": 2539} | package com.example.walletease.components.SplitComponent.dataclasses
data class Payment(
val description: String,
val amount: Double,
val excludedParticipants: List<String> = listOf()
) | 0 | Kotlin | 0 | 1 | 7211f0ddc31c65e2b76272bfc488c1944b956539 | 198 | WalletEase | MIT License |
k9mail/src/main/java/com/fsck/k9/ui/settings/KoinModule.kt | robopsi | 134,199,306 | true | {"Git Config": 1, "Gradle": 8, "INI": 2, "Shell": 4, "Text": 5, "Ignore List": 4, "Batchfile": 1, "Git Attributes": 1, "YAML": 1, "Markdown": 7, "XML": 335, "SVG": 63, "PostScript": 1, "Java": 637, "AIDL": 2, "Java Properties": 1, "Kotlin": 68, "Proguard": 1, "E-mail": 8, "HTML": 1} | package com.fsck.k9.ui.settings
import com.fsck.k9.helper.FileBrowserHelper
import com.fsck.k9.helper.NamedThreadFactory
import com.fsck.k9.ui.account.AccountsLiveData
import com.fsck.k9.ui.settings.general.GeneralSettingsDataStore
import org.koin.android.architecture.ext.viewModel
import org.koin.dsl.module.applicati... | 0 | Java | 1 | 0 | 8521e39e99dac6dd4744712daf7ede27092a4a67 | 758 | k-9 | Apache License 2.0 |
src/me/anno/ui/base/groups/PanelFlipper.kt | AntonioNoack | 456,513,348 | false | null | package me.anno.ui.base.groups
import me.anno.Engine
import me.anno.ecs.annotations.Range
import me.anno.ecs.prefab.PrefabSaveable
import me.anno.input.Input
import me.anno.maths.Maths
import me.anno.maths.Maths.length
import me.anno.maths.Maths.mix
import me.anno.ui.Panel
import me.anno.ui.style.Style
import kotlin.m... | 0 | Kotlin | 3 | 9 | b2532f7d40527eb2c9e24e3659dd904aa725a1aa | 6,031 | RemsEngine | Apache License 2.0 |
ktor-io/common/src/io/ktor/utils/io/core/Input.kt | ktorio | 40,136,600 | false | null | package io.ktor.utils.io.core
import io.ktor.utils.io.bits.*
import io.ktor.utils.io.core.internal.*
import io.ktor.utils.io.pool.*
/**
* Usually shouldn't be implemented directly. Inherit [Input] instead.
*/
public abstract class Input(
head: ChunkBuffer = ChunkBuffer.Empty,
remaining: Long = head.remainin... | 302 | null | 958 | 9,709 | 9e0eb99aa2a0a6bc095f162328525be1a76edb21 | 28,334 | ktor | Apache License 2.0 |
app/src/main/java/net/vapormusic/animexstream/ui/main/settings/SettingsFragment.kt | androiddevnotesforks | 337,019,411 | false | null | package net.vapormusic.animexstream.ui.main.settings
import android.content.Intent
import android.content.res.Configuration
import android.media.audiofx.Virtualizer
import android.net.Uri
import android.os.Bundle
import android.provider.Settings
import android.view.LayoutInflater
import android.view.View
import androi... | 0 | null | 6 | 9 | ea8a900769abaff526f934be65eafe871209ca66 | 13,604 | AnimeXStream | MIT License |
domain/src/test/java/com/example/domain/TestUtils.kt | cobeisfresh | 197,172,826 | false | null | package com.example.domain
const val OSIJEK_CITY_NAME = "Osijek" | 0 | Kotlin | 26 | 108 | 6a86cfeed4060a37db6c06b6b948a37a38b7307f | 65 | CleanArchitecture-Android-Showcase | MIT License |
src/test/kotlin/io/sip3/salto/ce/recording/RecordingHandlerTest.kt | sip3io | 212,591,485 | false | null | /*
* Copyright 2018-2024 SIP3.IO, Corp.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | 3 | null | 2 | 76 | f7e4d932c58d8ef18627444d552d4ea2980b57e0 | 10,271 | sip3-salto-ce | Apache License 2.0 |
app/src/main/java/com/educatorapp/ui/main/MainActivity.kt | manishpatelgt | 265,855,771 | false | null | package com.educatorapp.ui.main
import android.content.Intent
import android.os.Bundle
import android.util.Log
import android.widget.Toast
import androidx.activity.viewModels
import androidx.lifecycle.Observer
import androidx.navigation.findNavController
import androidx.navigation.ui.AppBarConfiguration
import android... | 0 | Kotlin | 1 | 5 | daab7558a301c82dbd363c857f0cb36d9f3ebf40 | 3,769 | EducatorApp | The Unlicense |
src/main/kotlin/com/developerphil/adbidea/adb/AdbFacade.kt | longforus | 146,382,514 | true | {"Markdown": 4, "Gradle": 1, "Shell": 1, "Ignore List": 1, "Batchfile": 1, "Text": 1, "INI": 1, "Kotlin": 97, "XML": 6, "Java": 4} | package com.developerphil.adbidea.adb
import com.android.ddmlib.IDevice
import com.developerphil.adbidea.ObjectGraph
import com.developerphil.adbidea.adb.command.*
import com.developerphil.adbidea.bean.BoundItemBean
import com.developerphil.adbidea.ui.NotificationHelper
import com.google.common.util.concurrent.ThreadF... | 2 | Kotlin | 3 | 31 | 8e3c405ca80b9d341b419d65693d4c4d4e0c546e | 6,275 | adb-idea-plus | Apache License 2.0 |
src/main/kotlin/no/skatteetaten/aurora/boober/feature/RouteFeature.kt | Skatteetaten | 84,482,382 | false | null | package no.skatteetaten.aurora.boober.feature
import org.springframework.beans.factory.annotation.Value
import org.springframework.stereotype.Service
import com.fkorotkov.kubernetes.newObjectMeta
import com.fkorotkov.openshift.metadata
import com.fkorotkov.openshift.newRoute
import com.fkorotkov.openshift.port
import ... | 6 | Kotlin | 5 | 18 | 5a9e91f6f52d959395af7314c2f592074010d635 | 25,840 | boober | Apache License 2.0 |
data/src/test/java/com/movie/data/mapper/mapperimpl/ArtistMapperImplTest.kt | kaminiprasad | 729,903,395 | false | {"Kotlin": 97578} | package com.movie.data.mapper.mapperimpl
import com.movie.data.EXECUTIVE_PRODUCER
import com.movie.data.MIKE_KELSON_CAST_ID
import com.movie.data.getMovieCastDto
import com.movie.data.getMovieCrewDto
import com.movie.data.model.artist.ArtistDto
import kotlinx.coroutines.ExperimentalCoroutinesApi
import kotlinx.corouti... | 0 | Kotlin | 0 | 0 | 78507cb8306559be222925573f8575428967f694 | 1,012 | MovieApplication | Apache License 2.0 |
src/test/kotlin/org/rust/ide/hints/RsQuickDefinitionTest.kt | mattsse | 211,165,404 | false | {"Gradle": 1, "Shell": 3, "YAML": 2, "Gradle Kotlin DSL": 1, "INI": 2, "Markdown": 5, "TOML": 5, "Text": 86, "Ignore List": 1, "Batchfile": 1, "EditorConfig": 1, "Kotlin": 642, "Rust": 226, "XML": 62, "RenderScript": 1, "Java": 2, "HTML": 75, "SVG": 2, "JFlex": 3} | /*
* Use of this source code is governed by the MIT license that can be
* found in the LICENSE file.
*/
package org.rust.ide.hints
import com.intellij.codeInsight.hint.ImplementationViewComponent
import com.intellij.codeInsight.hint.actions.ShowImplementationsAction
import com.intellij.openapi.editor.Editor
import... | 1 | null | 1 | 1 | fd96ed4524a6365ea89bfad3e761954a1361edbc | 4,193 | intellij-rust | MIT License |
dbinspector/src/main/kotlin/com/infinum/dbinspector/data/models/local/proto/input/HistoryTask.kt | infinum | 17,116,181 | false | null | package com.infinum.dbinspector.data.models.local.proto.input
import com.infinum.dbinspector.data.models.local.proto.output.HistoryEntity
internal data class HistoryTask(
val databasePath: String? = null,
val execution: HistoryEntity.ExecutionEntity? = null,
)
| 0 | Kotlin | 93 | 936 | 10b9ac5013ca01e602976a615e754dff7001f11d | 271 | android_dbinspector | Apache License 2.0 |
src/main/kotlin/com/kishor/kotlin/algo/problems/arrayandstrings/ContiguousSubarraysCount.kt | kishorsutar | 276,212,164 | false | null | package com.kishor.kotlin.algo.problems.arrayandstrings
fun main(args : Array<String>) {
// Call countSubarrays() with test cases here
println(countSubarrays(arrayOf(3,4,1,6,2)))
println(countSubarrays(arrayOf(2, 4, 7, 1, 5, 3)))
assert(countSubarrays(arrayOf(2, 4, 7, 1, 5, 3)) == listOf(1, 2, 6, 1, 3,... | 0 | Kotlin | 0 | 0 | 6672d7738b035202ece6f148fde05867f6d4d94c | 913 | DS_Algo_Kotlin | MIT License |
src/main/kotlin/com/rainbow/server/rest/dto/board/BoardResponse.kt | DDD-Community | 649,288,543 | false | null | package com.rainbow.server.rest.dto.board
import com.rainbow.server.domain.board.entity.Board
import java.time.ZonedDateTime
/***
* 예시 Response
* */
data class BoardResponse (var id:Long?,
var writer:String,
var title:String,
var created... | 1 | Kotlin | 0 | 3 | 8e4d19ad0c63fc9e0c9b40c72df4c93773760ccc | 764 | Rainbow-Server | MIT License |
03-testing/src/main/kotlin/com.jjh.util/DivideByZeroException.kt | johnehunt | 328,627,201 | false | null | package com.midmarsh.util
class DivideByZeroException(val numerator: Double) : RuntimeException() | 0 | Kotlin | 0 | 1 | 75f172d7f1127c5ec4062299409f9151945d6985 | 98 | KotlinAdvanced | Apache License 2.0 |
shared/src/commonMain/kotlin/com/olympusblog/domain/util/DatetimeUtil.kt | sentrionic | 551,827,184 | false | null | package com.olympusblog.domain.util
import kotlinx.datetime.*
import kotlinx.datetime.TimeZone
class DatetimeUtil {
companion object {
private const val SECOND_MILLIS: Long = 1000
private const val MINUTE_MILLIS = 60 * SECOND_MILLIS
private const val HOUR_MILLIS = 60 * MINUTE_MILLIS
... | 0 | Kotlin | 0 | 0 | bb61f26adcdded63b83c505d2f67c50715e8b859 | 1,313 | OlympusKMM | MIT License |
app/src/main/java/com/serma/dionysus/model/WebAppUserTableItemDtoWebAppTableDtoWebAppUserTableItemDtoWebAppResponseWithTableDto.kt | asuka1211 | 350,113,092 | false | null | /**
* Party maker API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit t... | 0 | Kotlin | 0 | 0 | 92c1a65d5b52e4d14907f32a3d7d10028aca783e | 1,289 | DionysusProject | Apache License 2.0 |
testutils/src/main/java/com/google/firebase/messaging/FirebaseMessagingService.kt | mParticle | 42,615,957 | false | {"Java": 1377154, "Kotlin": 1051457, "Groovy": 8314, "Shell": 4130, "JavaScript": 2582} | package com.google.firebase.messaging
import android.content.Context
object FirebaseMessagingServiceTestContext {
var appContext: Context? = null
}
open class FirebaseMessagingService {
var applicationContext: Context?
get() = FirebaseMessagingServiceTestContext.appContext
set(value) {
... | 26 | Java | 62 | 58 | 94284f5f789f19872b21d75e063f9362675e217a | 437 | mparticle-android-sdk | Apache License 2.0 |
kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/LazyRoleProps.kt | cloudshiftinc | 667,063,030 | false | {"Kotlin": 140726596} | @file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION")
package io.cloudshiftdev.awscdk.services.iam
import io.cloudshiftdev.awscdk.Duration
import io.cloudshiftdev.awscdk.common.CdkDslMarker
import... | 1 | Kotlin | 0 | 4 | ddf2bfd2275b50bb86a667c4298dd92f59d7e342 | 16,815 | kotlin-cdk-wrapper | Apache License 2.0 |
app/src/main/java/chat/rocket/android/server/domain/ChatRoomsInteractor.kt | RocketChat | 48,179,404 | false | null | package chat.rocket.android.server.domain
import chat.rocket.core.model.ChatRoom
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.withContext
import javax.inject.Inject
class ChatRoomsInteractor @Inject constructor(private val repository: ChatRoomsRepository) {
/**
* Get all [ChatRoom].
... | 283 | Kotlin | 6 | 877 | f832d59cb2130e5c058f5d9e9de5ff961d5d3380 | 2,834 | Rocket.Chat.Android | MIT License |
app/src/main/java/edu/cmu/sportsmatching/ui/login/LoginViewModelFactory.kt | ychu824 | 469,257,524 | false | null | package edu.cmu.sportsmatching.ui.login
import androidx.lifecycle.ViewModel
import androidx.lifecycle.ViewModelProvider
import edu.cmu.sportsmatching.data.LoginDataSource
import edu.cmu.sportsmatching.data.LoginRepository
import java.lang.IllegalArgumentException
class LoginViewModelFactory : ViewModelProvider.Factor... | 0 | Kotlin | 0 | 1 | 513ed0b226fc26c6eb07a70afd73c87ec9d2c1b2 | 752 | SportsMatchingApp | MIT License |
src/main/kotlin/homework_8/views/StartView.kt | al-volkov | 340,614,622 | false | {"Kotlin": 124832} | package homework_8.views
import homework_8.GameController
import homework_8.GameStylesheet
import homework_8.model.Player
import javafx.geometry.Pos
import tornadofx.Fragment
import tornadofx.View
import tornadofx.action
import tornadofx.addClass
import tornadofx.button
import tornadofx.vbox
class StartView : View("T... | 0 | Kotlin | 0 | 0 | 5049681dd2a57625309584a6e50b9a6e0b65948a | 3,065 | spbu_2020_kotlin_homeworks | Apache License 2.0 |
src/main/kotlin/net/petrabarus/pdfwatermarker/App.kt | petrabarus | 138,038,699 | false | {"Kotlin": 11073} | package net.petrabarus.pdfwatermarker
import com.beust.jcommander.JCommander
import com.beust.jcommander.Parameter
import com.beust.jcommander.ParameterException
import java.io.File
fun main(args: Array<String>) {
val app = App(args)
try {
app.parseArgs()
} catch (e: ParameterException) {
... | 0 | Kotlin | 0 | 1 | ec1a94c7d17d64553520e4ccbdf7397bb5ef7878 | 1,501 | pdfwatermarker | MIT License |
nats-core/src/commonMain/kotlin/nats/core/protocol/ktor.kt | dimensional-fun | 669,184,682 | false | {"Kotlin": 234897} | package dimensional.knats.protocol
import dimensional.knats.tools.CRLF
import dimensional.knats.tools.SPACE
import dimensional.knats.tools.ktor.readFully
import dimensional.knats.tools.ktor.readUntilDelimitersTo
import io.ktor.utils.io.*
import io.ktor.utils.io.core.*
import naibu.common.pool.use
import naibu.io.Small... | 1 | Kotlin | 0 | 2 | 049e0e32a292272a7eae0bfca99ecf8c8b690cb3 | 2,225 | nats.kt | Apache License 2.0 |
data/src/main/java/base/smartservices/com/data/source/MinionCacheDataStore.kt | cnabilou | 148,243,647 | false | null | package base.smartservices.com.data.source
import base.smartservices.com.data.model.MinionEntity
import base.smartservices.com.data.repository.MinionCache
import base.smartservices.com.data.repository.MinionDataStore
import io.reactivex.Completable
import io.reactivex.Single
import javax.inject.Inject
/**
* Implemen... | 0 | Kotlin | 0 | 2 | 2edde45c61f779f1e34980d3cc590b1098507891 | 1,222 | android-clean-architecture | MIT License |
azure-storage-common/src/main/kotlin/jetbrains/buildServer/serverSide/artifacts/azure/AzureConstants.kt | JetBrains | 87,163,663 | false | null |
package jetbrains.buildServer.serverSide.artifacts.azure
import jetbrains.buildServer.agent.Constants
object AzureConstants {
const val STORAGE_TYPE = "azure-storage"
const val SETTINGS_PATH = "azure_storage_settings"
const val PARAM_ACCOUNT_NAME = "account-name"
const val PARAM_ACCOUNT_KEY = Consta... | 6 | null | 7 | 15 | 1971f1cf71392c4fa6e274d2d48d43d8b1accf3d | 1,167 | teamcity-azure-storage | Apache License 2.0 |
app/src/main/java/com/c22_pc383/wacayang/data/AppPreference.kt | Wacayang-Bangkit-2022 | 493,616,059 | false | {"Kotlin": 91881} | package com.c22_pc383.wacayang.data
import android.content.Context
import android.content.SharedPreferences
internal class AppPreference(ctx: Context) {
private var pref: SharedPreferences = ctx.getSharedPreferences(APP_PREF_NAME, Context.MODE_PRIVATE)
fun setCameraFlashPref(isFlashOn: Boolean) = pref.edit()... | 0 | Kotlin | 0 | 1 | c1043c6395e85c7c52d854aea6b1c54460d8793f | 863 | Wacayang-MobileDev | Microsoft Public License |
ui/src/main/java/com/youhajun/ui/models/states/LoginState.kt | YeonjunNotPed | 757,175,597 | false | {"Kotlin": 433776} | package com.youhajun.ui.models.states
data class LoginState(
val onProgress: Boolean = false,
val onError: Boolean = false,
) | 0 | Kotlin | 0 | 0 | 6d8fa3166287b81908dcda09034995c5e6ceac43 | 134 | MyTask | Apache License 2.0 |
AppRefil/app/src/main/java/es/refil/presentation/auth/registration/GoogleAuthUiClient.kt | Mj-br | 637,882,177 | false | {"Kotlin": 97361} | package es.refil.presentation.auth.registration
import android.content.Context
import android.content.Intent
import android.content.IntentSender
import com.google.android.gms.auth.api.identity.BeginSignInRequest
import com.google.android.gms.auth.api.identity.BeginSignInRequest.GoogleIdTokenRequestOptions
import com.g... | 0 | Kotlin | 0 | 3 | d4f9ff5b3652245334451255f445c0c4364252be | 4,657 | RefilApp | MIT License |
compose-app/src/main/java/com/mapbox/maps/compose/testapp/examples/style/GenericStylePositionsActivity.kt | mapbox | 330,365,289 | false | null | package com.mapbox.maps.compose.testapp.examples.style
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.padding... | 225 | null | 131 | 472 | 2700dcaf18e70d23a19fc35b479bff6a2d490475 | 10,990 | mapbox-maps-android | Apache License 2.0 |
source/Goal-API/src/main/kotlin/br/lopes/goalapi/goal/api/GoalApiApplication.kt | thiagoolsilva | 339,903,272 | false | null | /*
* Copyright (c) 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 o... | 0 | Kotlin | 0 | 2 | b2682c262c97d897bf7c878678a612a8d9aec346 | 1,075 | goal_api | Apache License 2.0 |
econtext/src/main/java/com/adyen/checkout/econtext/internal/ui/DefaultEContextDelegate.kt | Adyen | 91,104,663 | false | null | /*
* Copyright (c) 2023 Adyen N.V.
*
* This file is open source and available under the MIT license. See the LICENSE file for more info.
*
* Created by ozgur on 13/1/2023.
*/
package com.adyen.checkout.econtext.internal.ui
import androidx.annotation.VisibleForTesting
import androidx.lifecycle.LifecycleOwner
imp... | 31 | null | 66 | 96 | 1f000e27e07467f3a30bb3a786a43de62be003b2 | 8,839 | adyen-android | MIT License |
app/src/main/java/com/aquatic/lucre/repositories/VaultStore.kt | kingsleyzissou | 324,988,352 | false | null | package com.aquatic.lucre.repositories
import androidx.core.util.Predicate
import com.aquatic.lucre.models.Vault
import com.google.firebase.firestore.CollectionReference
import io.reactivex.rxjava3.core.Observable
import kotlinx.coroutines.tasks.await
/**
* VaultStore for storing and retrieving
* vault items. The s... | 0 | Kotlin | 0 | 0 | f52a075869e1bf5159569e46d0ef276cd8944130 | 1,623 | lucre | Apache License 2.0 |
app/src/main/java/com/tungnui/abccomputer/adapter/ProductsLinearAdapter.kt | ngthtung2805 | 105,776,185 | false | null | package com.tungnui.abccomputer.adapter
import android.graphics.Paint
import android.support.v7.widget.RecyclerView
import android.view.View
import android.view.ViewGroup
import com.tungnui.abccomputer.R
import com.tungnui.abccomputer.SettingsMy
import com.tungnui.abccomputer.models.Product
import com.tungnui.abccompu... | 1 | Kotlin | 1 | 1 | f80905971310015cc4444b838395f70432a71c8b | 3,194 | dalatlaptop | MIT License |
time/src/commonMain/kotlin/com/merseyside/merseyLib/time/ext/TimeRangeExt.kt | Merseyside | 396,607,192 | false | null | package com.merseyside.merseyLib.time.ext
import com.merseyside.merseyLib.kotlin.logger.Logger
import com.merseyside.merseyLib.time.*
import com.merseyside.merseyLib.time.ranges.MonthRange
import com.merseyside.merseyLib.time.ranges.TimeRange
import com.merseyside.merseyLib.time.ranges.TimeUnitRange
import com.merseys... | 0 | Kotlin | 0 | 0 | ebef4db3b924440bdeaf0711164cab446e41ec5b | 7,630 | mersey-kmp-time | Apache License 2.0 |
features/task/impl/src/main/java/wottrich/github/io/smartchecklist/domain/usecase/GetSortItemListUseCase.kt | Wottrich | 295,605,540 | false | {"Kotlin": 354976} | package wottrich.github.io.smartchecklist.domain.usecase
import wottrich.github.io.smartchecklist.coroutines.KotlinResultUseCase
import wottrich.github.io.smartchecklist.coroutines.UseCase
import wottrich.github.io.smartchecklist.coroutines.base.Result
import wottrich.github.io.smartchecklist.domain.repository.SortIte... | 12 | Kotlin | 0 | 8 | 5d4e9f6fc83d657a1ec7ecf067227aeb8855c7a8 | 997 | android-smart-checklist | MIT License |
transport/transport-serialization/src/commonMain/kotlin/io/github/vooft/kafka/transport/serialization/SerializationExtensions.kt | vooft | 802,782,830 | false | {"Kotlin": 216560, "Makefile": 643} | package io.github.vooft.kafka.transport.serialization
import io.github.vooft.kafka.serialization.KafkaSerde
import kotlinx.io.Sink
import kotlinx.io.Source
import kotlinx.serialization.DeserializationStrategy
import kotlinx.serialization.SerializationStrategy
import kotlinx.serialization.serializer
inline fun <reifie... | 0 | Kotlin | 0 | 1 | 6c7941ad829f2a2f74b934269432d753ffda306e | 680 | kotlin-kafka-client | Apache License 2.0 |
app/src/main/java/com/ramezmikhael/mvibasicexample/model/MessageViewState.kt | ramez-mikhael-dexcom | 480,050,600 | false | {"Kotlin": 8981} | package com.ramezmikhael.mvibasicexample.model
data class MessageViewState(
val message: String = "",
val errorMessage: String = "",
val errorMessageVisible: Boolean = false,
val progressBarVisible: Boolean = false,
val sendButtonEnabled: Boolean = false,
) | 0 | Kotlin | 1 | 1 | 1cd6d3fc1035e331984c4f6e0b13c450f98d8978 | 278 | basic-mvi | MIT License |
hyd-compiler/src/main/kotlin/hyd/dsl/DslDependencies.kt | shumy | 353,477,837 | false | null | package hyd.dsl
import kotlin.reflect.KClass
data class DslDependencies(
val checkers: Map<String, ICheck> = emptyMap()
)
interface ICheck
interface ICheckEntity: ICheck {
fun Entity.check()
}
interface ICheckValue<T: Any>: ICheck {
fun EValue<T>.check()
} | 0 | Kotlin | 0 | 0 | b0b900d9168450f349ff4790f030f1b17bafb20a | 267 | dsl-hydrater | MIT License |
libs/canvas-api-2/src/main/java/com/instructure/canvasapi2/managers/CalendarEventManager.kt | instructure | 179,290,947 | false | null | /*
* Copyright (C) 2017 - present Instructure, 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 requ... | 2 | Kotlin | 85 | 99 | 1bac9958504306c03960bdce7fbb87cc63bc6845 | 4,548 | canvas-android | Apache License 2.0 |
app/src/androidTest/java/uk/ryanwong/skycatnews/storydetail/data/remote/MockStoryService.kt | ryanwong-uk | 531,291,511 | false | null | /*
* Copyright (c) 2022. <NAME> (<EMAIL>)
*/
package uk.ryanwong.skycatnews.storydetail.data.remote
import uk.ryanwong.skycatnews.storydetail.data.remote.model.ContentDto
import uk.ryanwong.skycatnews.storydetail.data.remote.model.HeroImageDto
import uk.ryanwong.skycatnews.storydetail.data.remote.model.StoryDto
cl... | 8 | Kotlin | 1 | 1 | 22314aa6ceee4eec993fa11e5284dba270a669c5 | 2,157 | cat-news | Apache License 2.0 |
0909.Snakes and Ladders.kt | sarvex | 842,260,390 | false | {"Kotlin": 1775678, "PowerShell": 418} | import java.util.*
internal class Solution {
fun snakesAndLadders(board: Array<IntArray>): Int {
val n = board.size
val q: Deque<Int> = ArrayDeque()
q.offer(1)
val m = n * n
val vis = BooleanArray(m + 1)
vis[1] = true
var ans = 0
while (!q.isEmpty()) {
for (k in q.size() downTo ... | 0 | Kotlin | 0 | 0 | 17a80985d970c8316fb694e4952692e598d700af | 797 | kotlin-leetcode | MIT License |
domain/src/main/java/dev/baseio/slackclone/domain/repository/ChannelsRepository.kt | Anmol92verma | 451,777,565 | false | null | package dev.baseio.slackclone.domain.repository
import androidx.paging.PagingData
import dev.baseio.slackclone.domain.model.channel.DomainLayerChannels
import dev.baseio.slackclone.domain.model.users.DomainLayerUsers
import kotlinx.coroutines.flow.Flow
interface ChannelsRepository {
fun fetchChannels(): Flow<List<D... | 0 | Kotlin | 9 | 93 | 29173bb4f9ddd39de1e9facc34251986fdab81e6 | 739 | SlackAndroidClone | Apache License 2.0 |
app/src/main/java/codenevisha/com/cleanarchitecture/domain/model/Article.kt | abbasiehsan1991 | 162,987,405 | false | null | package codenevisha.com.cleanarchitecture.domain.model
import android.arch.persistence.room.Embedded
import android.arch.persistence.room.Entity
import android.arch.persistence.room.PrimaryKey
import android.os.Parcelable
import com.google.gson.annotations.SerializedName
import kotlinx.android.parcel.Parcelize
data ... | 1 | Kotlin | 1 | 4 | 00f5b4063cbf3795e42df4fe3a976aeb8add5d17 | 1,353 | AndroidCleanArchitecture | Apache License 2.0 |
app/src/main/java/com/example/nijatahmadli/blockchainwallet/presentation/base/viewmodel/ViewModel.kt | nijat-ahmadli | 158,304,687 | false | null | package com.example.nijatahmadli.blockchainwallet.presentation.base.viewmodel
interface ViewModel {
fun initialize()
fun clean()
} | 0 | Kotlin | 0 | 1 | 65c2656e94f87c949712822ae66fc08a1a99d03c | 141 | blockchain-wallet | MIT License |
commons-crypto/src/test/kotlin/com/healthmetrix/connector/commons/crypto/RsaTest.kt | smart4health | 593,624,617 | false | null | package com.healthmetrix.connector.commons.crypto
import com.healthmetrix.connector.commons.decodeBase64
import org.assertj.core.api.Assertions.assertThat
import org.junit.jupiter.api.DisplayName
import org.junit.jupiter.api.Nested
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.assertThrows
import java... | 0 | Kotlin | 0 | 1 | 976d36079fa4171da0f78ad5812181cb6e3da6bc | 5,911 | connector-service | MIT License |
app/src/googlePlay/java/io/keepalive/android/LocationHelper.kt | keepalivedev | 718,764,639 | false | {"Kotlin": 183606, "HTML": 4485, "Ruby": 3040, "Python": 2486, "Java": 645} | package io.keepalive.android
import android.annotation.SuppressLint
import android.content.Context
import android.location.Location
import android.util.Log
import com.google.android.gms.location.CurrentLocationRequest
import com.google.android.gms.location.FusedLocationProviderClient
import com.google.android.gms.loca... | 6 | Kotlin | 5 | 81 | f5d84066b41a1cebaf9ce962e09e6c340220d9ca | 4,631 | KeepAlive | Apache License 2.0 |
plugins/kotlin/idea/tests/testData/refactoring/introduceVariable/multiDeclarations/list.kt | ingokegel | 72,937,917 | true | null | // WITH_STDLIB
fun foo() {
<selection>listOf(1, 2, 3)</selection>
} | 1 | null | 1 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 71 | intellij-community | Apache License 2.0 |
core/src/main/kotlin/dev/syncended/kube/components/Text.kt | syncended | 819,147,468 | false | {"Kotlin": 54274, "Dockerfile": 297} | package dev.syncended.kube.components
import dev.syncended.kube.core.component.Widget
import dev.syncended.kube.core.component.Modifier
import dev.syncended.kube.core.model.Color
import dev.syncended.kube.core.model.FontSize
import dev.syncended.kube.core.model.FontStyle
import dev.syncended.kube.core.model.Size
impor... | 0 | Kotlin | 0 | 0 | 2fd6fbafbab29b4444632bdc4b8e1fcbff907832 | 1,805 | kube | Apache License 2.0 |
src/main/kotlin/org/teamvoided/dusk_debris/data/gen/tags/BiomeTagsProvider.kt | TeamVoided | 814,767,803 | false | {"Kotlin": 153037, "Java": 3724} | package org.teamvoided.dusk_debris.data.gen.tags
import net.fabricmc.fabric.api.datagen.v1.FabricDataOutput
import net.fabricmc.fabric.api.datagen.v1.provider.FabricTagProvider
import net.minecraft.registry.HolderLookup
import net.minecraft.registry.RegistryKeys
import net.minecraft.world.biome.Biome
import java.util.... | 0 | Kotlin | 0 | 0 | 7973b474b08276fc01cb6222ceadf235004c29f3 | 722 | Dusk-Debris | MIT License |
paginator/src/commonMain/kotlin/symphony/internal/AbstractPaginationManager.kt | aSoft-Ltd | 632,021,007 | false | {"Kotlin": 208035, "HTML": 296, "JavaScript": 200} | package symphony.internal
import cinematic.MutableLive
import cinematic.mutableLiveOf
import kase.Bag
import kase.Failure
import kase.LazyState
import kase.Loading
import kase.Pending
import kase.Success
import kase.toLazyState
import koncurrent.FailedLater
import koncurrent.Later
import koncurrent.later.finally
impor... | 0 | Kotlin | 0 | 0 | ff4303dcc3a220afa7ea2f673ed71e4c76d97f3c | 3,311 | symphony | MIT License |
backend/src/main/kotlin/com/github/davinkevin/podcastserver/manager/ItemDownloadManager.kt | davinkevin | 13,350,152 | false | null | @file:Suppress("SpringJavaInjectionPointsAutowiringInspection")
package com.github.davinkevin.podcastserver.manager
import com.github.davinkevin.podcastserver.download.DownloadRepository
import com.github.davinkevin.podcastserver.entity.Status
import com.github.davinkevin.podcastserver.manager.downloader.Downloader
i... | 0 | HTML | 39 | 165 | 88374e6242f01b7eeda99350fb078cc07393f6b7 | 7,306 | Podcast-Server | Apache License 2.0 |
idea/testData/quickfix/override/typeMismatchOnOverride/cantChangePropertyTypeToMatchOverridenProperties.kt | JakeWharton | 99,388,807 | true | null | // "class org.jetbrains.kotlin.idea.quickfix.ChangeVariableTypeFix" "false"
// ERROR: Type of 'x' doesn't match the type of the overridden var-property 'public abstract var x: String defined in A'
interface A {
var x: String
}
interface B {
var x: Any
}
interface C : A, B {
override var x: Int<caret>
}
| 1 | Kotlin | 28 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 318 | kotlin | Apache License 2.0 |
chat-components/database/src/main/java/com/pubnub/components/repository/message/DefaultMessageRepository.kt | pubnub | 419,258,609 | false | {"Kotlin": 472962} | package com.pubnub.components.repository.message
import androidx.paging.PagingSource
import androidx.room.RoomDatabase
import androidx.sqlite.db.SimpleSQLiteQuery
import com.pubnub.components.data.message.DBMessage
import com.pubnub.components.data.message.MessageDao
import com.pubnub.components.data.message.action.DB... | 2 | Kotlin | 2 | 3 | 5c534e2ae97189e4174f4a75d963528c3f71b0cf | 8,459 | chat-components-android | MIT License |
injector/src/main/java/com/iwdael/methodinjector/injector/ChainInjector.kt | iwdael | 625,182,407 | false | null | package com.iwdael.methodinjector.injector
import com.android.build.api.instrumentation.ClassContext
import com.iwdael.methodinjector.constant.Class
import com.iwdael.methodinjector.constant.Class.C_LOG
import com.iwdael.methodinjector.constant.Class.C_STRING_BUILDER
import com.iwdael.methodinjector.constant.Class.C_T... | 0 | Kotlin | 0 | 0 | 9735dbf7fb332d1c7beef052207eb272d74efefe | 8,859 | MethodInjector | Apache License 2.0 |
projetos/arquivado/CursoAndroid/app/src/main/java/br/com/koruthos/cursoandroid/network/NetworkManager.kt | chaua | 517,803,177 | false | {"Kotlin": 69622, "C++": 416} | package br.com.koruthos.cursoandroid.network
import okhttp3.OkHttpClient
import okhttp3.logging.HttpLoggingInterceptor
import retrofit2.Retrofit
import retrofit2.converter.gson.GsonConverterFactory
// Padrão de projetos: Singleton
// - Garante que seja criado somente 1 objeto da classe no projeto todo
// - Para cri... | 0 | Kotlin | 1 | 9 | aa4e2f61580920cb0585b611f4a91650dc2b3f15 | 1,111 | programacao-mobile | MIT License |
stream-raw-video-and-audio/src/main/java/io/agora/raw_video_audio_manager/RawVideoAudioManager.kt | AgoraIO | 623,043,738 | false | {"Kotlin": 141696} | package io.agora.raw_video_audio_manager
import android.content.Context
import io.agora.authentication_manager.AuthenticationManager
import io.agora.base.VideoFrame
import io.agora.rtc2.Constants
import io.agora.rtc2.IAudioFrameObserver
import io.agora.rtc2.audio.AudioParams
import io.agora.rtc2.video.IVideoFrameObser... | 1 | Kotlin | 3 | 5 | 75e53677ee7f1febbb8278d391d5632abecb3b0b | 6,827 | video-sdk-samples-android | MIT License |
SharedCode/src/commonMain/kotlin/api/IdeaApi.kt | dmitrish | 214,333,630 | false | null | package com.kinsight.kinsightmultiplatform.api
import com.kinsight.kinsightmultiplatform.models.GraphModel
import com.kinsight.kinsightmultiplatform.models.IdeaModel
import com.kinsight.kinsightmultiplatform.models.TickModel
import com.kinsight.kinsightmultiplatform.models.TickerModel
import io.ktor.client.HttpClient... | 0 | null | 11 | 42 | b2fd162b28e46a09983346efcfd16674f923cd02 | 4,158 | kinsight-multiplatform | Apache License 2.0 |
app/src/main/java/com/lagradost/quicknovel/providers/WuxiaWorldOnlineProvider.kt | LagradOst | 351,162,779 | false | null | package com.lagradost.quicknovel.providers
import com.lagradost.quicknovel.*
import org.jsoup.Jsoup
import org.jsoup.nodes.Element
import java.lang.Exception
import java.util.*
import kotlin.collections.ArrayList
class WuxiaWorldOnlineProvider : MainAPI() {
override val mainUrl: String get() = "https://wuxiaworld... | 96 | null | 57 | 867 | 149a4340e37010fa7a86b3224a4e930398f770d4 | 8,137 | QuickNovel | MIT License |
erikflowers-weather-icons/src/commonMain/kotlin/compose/icons/weathericons/DirectionLeft.kt | DevSrSouza | 311,134,756 | false | {"Kotlin": 36719092} | package compose.icons.weathericons
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Butt
import androidx.compose.ui.graphics.StrokeJoin.Miter
import androidx.compose.ui.graphic... | 17 | Kotlin | 25 | 571 | a660e5f3033e3222e3553f5a6e888b7054aed8cd | 2,559 | compose-icons | MIT License |
Themes/src/commonMain/kotlin/io/nacular/doodle/theme/native/NativeTextFieldBehavior.kt | nacular | 108,631,782 | false | {"Kotlin": 3150677} | package io.nacular.doodle.theme.native
import io.nacular.doodle.controls.text.TextField
import io.nacular.doodle.controls.text.TextFieldBehavior
import io.nacular.doodle.core.Behavior
import io.nacular.doodle.drawing.Canvas
/**
* Behavior that modifies the background and foreground of a [TextField].
*/
public inter... | 3 | Kotlin | 26 | 613 | f7414d4c30cdd7632992071234223653e52b978c | 1,594 | doodle | MIT License |
ui-components/src/main/java/com/mapbox/navigation/ui/components/maneuver/model/ManeuverSubOptions.kt | mapbox | 87,455,763 | false | null | package com.mapbox.navigation.ui.maneuver.model
import androidx.annotation.StyleRes
import androidx.core.widget.TextViewCompat
import com.mapbox.navigation.ui.maneuver.R
import com.mapbox.navigation.ui.maneuver.view.MapboxExitText
import com.mapbox.navigation.ui.maneuver.view.MapboxSecondaryManeuver
/**
* Specifies ... | 508 | null | 319 | 621 | ad73c6011348cb9b24b92a369024ca06f48845ab | 3,127 | mapbox-navigation-android | Apache License 2.0 |
utbot-framework/src/main/kotlin/org/utbot/fuzzer/FallbackModelProvider.kt | UnitTestBot | 480,810,501 | false | null | package org.utbot.fuzzer
import org.utbot.common.isPublic
import org.utbot.instrumentation.instrumentation.execution.constructors.UtModelConstructor
import org.utbot.framework.plugin.api.ClassId
import org.utbot.framework.plugin.api.UtArrayModel
import org.utbot.framework.plugin.api.UtAssembleModel
import org.utbot.fr... | 337 | Kotlin | 25 | 70 | d93fd5656645b55d3cece6eb13de8835bd0496d3 | 4,710 | UTBotJava | Apache License 2.0 |
buildSrc/src/main/java/Versions.kt | tuan08t2 | 135,238,206 | true | {"Kotlin": 172311, "Java": 12422, "Shell": 446} | /*
* Copyright 2018 <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 writing, ... | 0 | Kotlin | 0 | 0 | b40f9dd40d926b8231e5e7405908e98cce69c444 | 1,268 | EasyCrypt | Apache License 2.0 |
gameserver/src/main/kotlin/simulation/models/Card.kt | flofriday | 750,336,268 | false | {"Kotlin": 524281, "TypeScript": 149533, "Python": 32297, "Scheme": 3611, "Dockerfile": 608, "CSS": 580, "JavaScript": 221, "PowerShell": 185} | package simulation.models
import java.io.Serializable
enum class Color {
CYAN,
ORANGE,
GREEN,
PURPLE,
ANY,
}
enum class CardType {
NUMBER_CARD,
SWITCH,
SKIP,
DRAW_TWO,
CHOOSE,
CHOOSE_DRAW,
}
data class Card(
val type: CardType,
val color: Color,
val number: In... | 0 | Kotlin | 0 | 0 | 6fc0a6dc80bd4b6adf6d7fee7921af8a361d03eb | 1,850 | CardLabs | Apache License 2.0 |
src/main/kotlin/xyz/neziw/pass4j/Pass4J.kt | neziw | 594,821,586 | false | null | package xyz.neziw.pass4j
import java.awt.GridLayout
import java.awt.Toolkit
import java.awt.datatransfer.StringSelection
import java.util.*
import java.util.concurrent.Executors
import javax.swing.*
class Pass4J : JFrame() {
private val executor = Executors.newSingleThreadExecutor()
private val passwordField... | 0 | Kotlin | 0 | 2 | 636616ec01b4f5948a870df56c9352f811d870c6 | 2,377 | Pass4J | MIT License |
data/src/main/kotlin/com/vultisig/wallet/data/common/StringExtensions.kt | vultisig | 789,965,982 | false | {"Kotlin": 1403983, "Ruby": 1713} | package com.vultisig.wallet.common
import com.google.protobuf.ByteString
import com.vultisig.wallet.data.utils.Numeric
fun String.toHexBytes(): ByteArray {
return Numeric.hexStringToByteArray(this)
}
fun String.toHexByteArray(): ByteArray {
return Numeric.hexStringToByteArray(this)
}
fun String.toByteString... | 44 | Kotlin | 2 | 6 | 98e6a0754d4872ce4d44fa4a631488d4f805397f | 633 | vultisig-android | Apache License 2.0 |
sykepenger-model/src/main/kotlin/no/nav/helse/person/inntekt/Inntektshistorikk.kt | navikt | 193,907,367 | false | {"Kotlin": 6612297, "PLpgSQL": 2738, "Dockerfile": 168} | package no.nav.helse.person.inntekt
import java.time.LocalDate
import no.nav.helse.dto.deserialisering.InntektshistorikkInnDto
import no.nav.helse.dto.serialisering.InntektshistorikkUtDto
import no.nav.helse.person.InntekthistorikkVisitor
import no.nav.helse.person.inntekt.AvklarbarSykepengegrunnlag.Companion.avklarS... | 2 | Kotlin | 7 | 3 | a521d8ace1254484491a0cd86ef6690390dae3d7 | 1,538 | helse-spleis | MIT License |
commons-ktx/src/main/java/com/paulrybitskyi/commons/ktx/DrawableExtensions.kt | mars885 | 285,931,745 | false | null | /*
* Copyright 2020 <NAME>, <EMAIL>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | 0 | Kotlin | 0 | 8 | 3ba7f80ab8c76fe7c7a984aac3d0f5c39a698778 | 2,628 | android-commons | Apache License 2.0 |
app/src/main/java/org/futo/voiceinput/settings/Help.kt | lrq3000 | 715,067,641 | false | {"Kotlin": 269156, "HTML": 81553, "Shell": 699} | package org.futo.voiceinput.settings
import android.app.PendingIntent
import android.content.Intent
import android.speech.RecognizerIntent
import android.widget.Toast
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Spacer
import a... | 0 | Kotlin | 0 | 8 | d67d85681a02da52d91c09846af121b1f5756bf5 | 6,879 | futo-voiceinput-whisper | Freetype Project License |
signer/src/main/java/com/uport/sdk/signer/encryption/FingerprintAsymmetricProtection.kt | uport-project | 119,370,347 | false | null | @file:Suppress("DEPRECATION", "TooGenericExceptionCaught")
package com.uport.sdk.signer.encryption
import android.annotation.TargetApi
import android.content.Context
import android.hardware.fingerprint.FingerprintManager
import android.os.Build
import androidx.fragment.app.DialogFragment
import androidx.appcompat.app.... | 1 | Kotlin | 3 | 9 | ae1593e5b19c3637f85e88515dd7ae8c376af192 | 3,872 | uport-android-signer | Apache License 2.0 |
js/js.translator/testData/incremental/invalidation/companionFunction/lib1/l1.1.kt | JetBrains | 3,432,266 | false | {"Kotlin": 79571273, "Java": 6776465, "Swift": 4063829, "C": 2609744, "C++": 1957654, "Objective-C++": 175279, "JavaScript": 130754, "Python": 59855, "Shell": 34920, "Objective-C": 21463, "Lex": 21452, "Batchfile": 11382, "CSS": 11368, "Ruby": 10470, "Dockerfile": 9907, "Groovy": 7092, "EJS": 5241, "CMake": 4473, "HTML... | interface MyInterface {
fun interfaceFunction(): String
}
class MyClass1 {
companion object {
fun companionFunction() = 1
}
}
class MyClass2 {
companion object {
fun companionFunction() = "1"
}
}
| 181 | Kotlin | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 234 | kotlin | Apache License 2.0 |
src/main/kotlin/rule/other/Iterator.kt | tmdgh1592 | 615,902,014 | false | null | package rule.other
internal interface Iterator<T> {
fun hasNext(): Boolean
fun next(): T
}
| 1 | Kotlin | 3 | 7 | 965e277ea8a70d18c2d5c52056e1df3335d770fb | 100 | budool-omok-rule | MIT License |
im-lib/src/main/java/vip/qsos/im/lib/server/model/WebSocketResponse.kt | hslooooooool | 228,559,198 | false | {"Kotlin": 205520} | package vip.qsos.im.lib.server.model
import vip.qsos.im.lib.server.config.IMConstant
/**Websocket 响应结果实体
* @author : 华清松
*/
class WebSocketResponse(private val token: String) : IProtobufAble {
override val type: Byte = IMConstant.ProtobufType.WEBSOCKET
override val byteArray: ByteArray
get() = thi... | 4 | Kotlin | 1 | 1 | 659119b3fe5e51bf84a45e22209cb1d9f1285138 | 825 | im-netty-server | MIT License |
ok-deskshare-be-common/src/main/kotlin/com/deskshare/common/context/query/FindByIdQueryRequest.kt | otuskotlin | 378,049,296 | false | null | package com.deskshare.common.context.query
import com.deskshare.common.models.ReservationIdModel
import com.deskshare.common.models.ReservationModel
class FindByIdQueryRequest(
var reservationId: ReservationIdModel = ReservationIdModel.NONE,
var responseModels: MutableList<ReservationModel> = mutableListOf()
... | 1 | Kotlin | 0 | 1 | baa39cc2b6c54bfd735992a91906817dd99082b0 | 346 | ok-202105-deskshare-gl | MIT License |
app/src/main/java/me/antonio/noack/elementalcommunity/NewsView.kt | AntonioNoack | 181,624,015 | false | null | package me.antonio.noack.elementalcommunity
import android.content.Context
import android.graphics.Canvas
import android.graphics.Paint
import android.util.AttributeSet
import android.view.View
import me.antonio.noack.elementalcommunity.GroupsEtc.GroupColors
import me.antonio.noack.elementalcommunity.GroupsEtc.drawEle... | 0 | null | 0 | 3 | fe0cfa574f82884e832b5736e1f88cba9eb2e8d3 | 5,170 | ElementalCommunity | Apache License 2.0 |
solar/src/main/java/com/chiksmedina/solar/lineduotone/time/Alarm.kt | CMFerrer | 689,442,321 | false | {"Kotlin": 36591890} | package com.chiksmedina.solar.lineduotone.time
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.StrokeCap.Companion... | 0 | Kotlin | 0 | 0 | 3414a20650d644afac2581ad87a8525971222678 | 2,833 | SolarIconSetAndroid | MIT License |
composeApp/src/commonMain/kotlin/io/github/snd_r/komelia/ui/MainScreen.kt | Snd-R | 775,064,249 | false | {"Kotlin": 797189, "CMake": 18341, "C": 5383, "Dockerfile": 767, "Shell": 116} | package io.github.snd_r.komelia.ui
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.material3.DrawerValue.Closed
import androidx.compose.material3.DrawerValue.Open
import androidx.compose.material3.ModalNavigationDrawer
import androidx.compose.runti... | 0 | Kotlin | 0 | 2 | a2acfae425fa125596f7fd531396ea8725fb1e9e | 4,651 | Komelia | Apache License 2.0 |
data/remote/user/src/main/kotlin/no/kij/tsuki/data/remote/user/di/UserBindingModule.kt | kissorjeyabalan | 578,978,416 | false | null | /*
* Copyright (C) 2022 Kissor Jeyabalan
*
* 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 ... | 9 | Kotlin | 0 | 2 | b69c5d47945336f264c8f09ed2930ccf0e50f45d | 1,463 | tsuki | Apache License 2.0 |
plugins/kotlin/jvm-debugger/coroutines/src/org/jetbrains/kotlin/idea/debugger/coroutine/CoroutineAgentConnector.kt | ingokegel | 72,937,917 | false | null | // Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package org.jetbrains.kotlin.idea.debugger.coroutine
import com.intellij.execution.JavaTestConfigurationWithDiscoverySupport
import com.intellij.execution.confi... | 191 | null | 4372 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 4,703 | intellij-community | Apache License 2.0 |
src/main/kotlin/io/emeraldpay/dshackle/upstream/ApiSource.kt | emeraldpay | 191,297,773 | false | null | /**
* Copyright (c) 2020 EmeraldPay, Inc
* Copyright (c) 2019 ETCDEV GmbH
*
* 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
*
* U... | 76 | null | 63 | 292 | 8076c81dd6e8213b107718764ec9e094b7653f04 | 1,295 | dshackle | Apache License 2.0 |
android/app/src/main/java/com/algorand/android/utils/walletconnect/WCWalletConnectClient.kt | AllanMangeni | 412,352,101 | true | {"Kotlin": 1709104} | /*
* Copyright 2019 Algorand, 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 writing, s... | 1 | Kotlin | 0 | 1 | d47f08026fa797ea6474622ce5d1990666a241e9 | 5,318 | algorand-wallet | Apache License 2.0 |
lib/src/main/kotlin/me/eugeniomarletti/kotlin/metadata/KotlinClassHeader.kt | Takhion | 98,124,910 | false | null | package me.eugeniomarletti.kotlin.metadata
import me.eugeniomarletti.kotlin.metadata.shadow.load.java.JvmAnnotationNames.BYTECODE_VERSION_FIELD_NAME
import me.eugeniomarletti.kotlin.metadata.shadow.load.java.JvmAnnotationNames.KIND_FIELD_NAME
import me.eugeniomarletti.kotlin.metadata.shadow.load.java.JvmAnnotationName... | 7 | Kotlin | 15 | 115 | 756ff8e82499d59481681860cfda5baa79c3af3c | 5,109 | kotlin-metadata | MIT License |
ok-marketplace-be-business-logic/src/main/kotlin/ru/otus/otuskotlin/marketplace/business/logic/backend/pipelines/ProposalCreate.kt | otuskotlin | 323,966,359 | false | null | package ru.otus.otuskotlin.marketplace.business.logic.backend.pipelines
import ru.otus.otuskotlin.marketplace.business.logic.backend.helpers.validation
import ru.otus.otuskotlin.marketplace.business.logic.backend.operations.CompletePipeline
import ru.otus.otuskotlin.marketplace.business.logic.backend.operations.stubs.... | 0 | Kotlin | 0 | 1 | 5f52fc91b3d71397cfabd02b5abb86a69d8567a1 | 2,507 | 202012-otuskotlin-marketplace | MIT License |
src/main/kotlin/no/nav/familie/ba/sak/kjerne/beregning/TilkjentYtelseRepositoryUtil.kt | navikt | 224,639,942 | false | null | package no.nav.familie.ba.sak.kjerne.beregning
import no.nav.familie.ba.sak.kjerne.beregning.domene.AndelTilkjentYtelse
import no.nav.familie.ba.sak.kjerne.beregning.domene.TilkjentYtelse
import no.nav.familie.ba.sak.kjerne.beregning.domene.TilkjentYtelseRepository
import no.nav.familie.ba.sak.kjerne.eøs.differanseber... | 9 | Kotlin | 1 | 9 | a66763dbde868b61b6f3deb004e4603ac7306854 | 2,794 | familie-ba-sak | MIT License |
src/main/kotlin/com/jetbrains/snakecharm/stringLanguage/lang/psi/SmkSLElement.kt | sraorao | 318,587,733 | true | {"Python": 1594814, "Kotlin": 546717, "Gherkin": 394724, "HTML": 35539, "Lex": 2408, "CSS": 2403, "Java": 1079, "Roff": 74, "Shell": 49} | package com.jetbrains.snakecharm.stringLanguage.lang.psi
interface SmkSLElement
| 0 | null | 0 | 0 | 5bb077e39b55eb67eed39572fc198dd99c8eae53 | 81 | snakecharm | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.