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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
app/src/main/java/ninja/luke/mobi/journey2/app/AppJourney.kt | luke-vietnam | 497,926,585 | false | {"Kotlin": 84219} | package ninja.luke.mobi.journey2.app
import ninja.luke.mobi.journey2.scope.journey.J2JourneyFragment
class AppJourney : J2JourneyFragment<AppRoute>(
AppSdk,
R.layout.journey_app
) | 0 | Kotlin | 1 | 7 | 5956213e91c72e44406a1c65ccae53ffe890bf8e | 189 | journey2-concept | MIT License |
src/me/anno/ui/input/components/ColorPicker.kt | AntonioNoack | 456,513,348 | false | null | package me.anno.ui.input.components
import me.anno.gpu.Cursor
import me.anno.gpu.drawing.DrawRectangles
import me.anno.gpu.framebuffer.Framebuffer
import me.anno.gpu.texture.Texture2D
import me.anno.image.Image
import me.anno.input.Input
import me.anno.input.Key
import me.anno.maths.Maths
import me.anno.maths.Maths.un... | 0 | Kotlin | 3 | 9 | 566e183d43bff96ee3006fecf0142e6d20828857 | 5,249 | RemsEngine | Apache License 2.0 |
app/src/main/java/com/arsylk/mammonsmite/presentation/dialog/result/file/ResultFileItem.kt | Arsylk | 175,204,028 | false | null | package com.arsylk.mammonsmite.presentation.dialog.result.file
import com.arsylk.mammonsmite.domain.files.IFile
import com.arsylk.mammonsmite.model.file.FileType
data class ResultFileItem(
val label: String,
val enabled: Boolean,
val type: FileType,
val file: IFile,
) | 3 | null | 10 | 34 | 2ec0056ea61d3d170ac4ee22a96198d58f6214e2 | 286 | destiny-child-tools-kr-apk | MIT License |
multisrc/overrides/madara/mangasehri/src/MangaSehri.kt | kevin01523 | 612,636,298 | false | {"Kotlin": 5305448} | package eu.kanade.tachiyomi.extension.tr.mangasehri
import eu.kanade.tachiyomi.multisrc.madara.Madara
import java.text.SimpleDateFormat
import java.util.Locale
class MangaSehri : Madara(
"Manga Şehri",
"https://manga-sehri.com",
"tr",
SimpleDateFormat("dd/MM/yyy", Locale("tr")),
) {
override val u... | 9 | Kotlin | 99 | 9 | 8ca7f06a4fdfbfdd66520a4798c8636274263428 | 438 | tachiyomi-extensions | Apache License 2.0 |
src/test/kotlin/org/opensearch/indexmanagement/indexstatemanagement/transport/action/indexpolicy/IndexPolicyRequestTests.kt | opensearch-project | 354,094,562 | false | null | /*
* Copyright OpenSearch Contributors
* SPDX-License-Identifier: Apache-2.0
*/
package org.opensearch.indexmanagement.indexstatemanagement.transport.action.indexpolicy
import org.opensearch.action.support.WriteRequest
import org.opensearch.common.io.stream.BytesStreamOutput
import org.opensearch.common.io.stream.... | 145 | null | 78 | 53 | 4adc99edbcc68bf8197ffad82d611a76451481c4 | 6,383 | index-management | Apache License 2.0 |
buildSrc/src/main/kotlin/ConfigData.kt | Montfel | 537,669,918 | false | {"Kotlin": 27272} | object ConfigData {
const val compileSdkVersion = 34
const val targetSdkVersion = 34
const val minSdkVersion = 21
const val majorVersion = 1
const val minorVersion = 0
const val patchVersion = 0
const val versionName = "$majorVersion.$minorVersion.$patchVersion"
const val versionCode = 1... | 4 | Kotlin | 0 | 1 | b395fcd2ba4b1bf37703009569640567d4fbc38d | 323 | gamer-guide | MIT License |
db-async-common/src/test/java/com/github/jasync/sql/db/pool/PartitionedAsyncObjectPoolSpec.kt | mirromutth | 176,066,212 | false | null | package com.github.jasync.sql.db.pool
import com.github.jasync.sql.db.util.FP
import com.github.jasync.sql.db.util.Try
import com.github.jasync.sql.db.util.flatMapAsync
import com.github.jasync.sql.db.util.mapAsync
import java.util.concurrent.CompletableFuture
import java.util.concurrent.ExecutionException
import java... | 9 | null | 136 | 2 | 76854b2df7ba39c4843d8c372343403721c4c8b7 | 14,818 | jasync-sql | Apache License 2.0 |
analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/lifetime/KotlinReadActionConfinementLifetimeToken.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... | /*
* Copyright 2010-2024 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.analysis.api.platform.lifetime
import com.intellij.openapi.application.Applicati... | 181 | Kotlin | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 2,819 | kotlin | Apache License 2.0 |
protocol/src/main/kotlin/org/jetbrains/bsp/protocol/utils/BazelBuildServerCapabilitiesTypeAdapter.kt | JetBrains | 826,262,028 | false | null | package org.jetbrains.bsp.utils
import ch.epfl.scala.bsp4j.BuildServerCapabilities
import com.google.gson.Gson
import com.google.gson.TypeAdapter
import com.google.gson.stream.JsonReader
import com.google.gson.stream.JsonWriter
import org.jetbrains.bsp.BazelBuildServerCapabilities
public class BazelBuildServerCapabil... | 2 | null | 9 | 45 | 1d79484cfdf8fc31d3a4b214655e857214071723 | 907 | hirschgarten | Apache License 2.0 |
app/src/main/java/com/exmple/baseprojectmvp/mvp/contract/fragment/ICategoryContract.kt | weileng11 | 189,573,322 | false | null | package com.exmple.baseprojectmvp.mvp.contract.fragment
import com.exmple.corelib.mvp.IListView
import com.exmple.corelib.mvp.IModel
import com.exmple.corelib.mvp.IPresenter
import com.exmple.corelib.mvp.IView
import com.hazz.kotlinmvp.mvp.model.bean.CategoryBean
import com.hazz.kotlinmvp.mvp.model.bean.HomeBean
impor... | 0 | Kotlin | 0 | 0 | 584174718759919a6ddf31589a3e056c6990ddac | 1,077 | KotlinMvpExample-master | Apache License 2.0 |
graphql-dgs-client/src/main/kotlin/com/netflix/graphql/dgs/client/MonoGraphQLClient.kt | Netflix | 317,375,887 | false | null | /*
* Copyright 2022 Netflix, 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... | 92 | null | 289 | 3,037 | bd2d0c524e70a9d1d625d518a94926c7b53a7e7c | 4,599 | dgs-framework | Apache License 2.0 |
app/src/main/java/com/zll/kotlin/extension/LogExtension.kt | neverwoodsS | 70,549,350 | false | null | package com.zll.kotlin.extension
import android.util.Log
import com.zll.kotlin.extension.debug
import java.util.concurrent.locks.Lock
/**
* Created by zhangll on 16/9/26.
*/
inline fun <reified T> T.log(log: Any) {
debug {
Log.i(T::class.simpleName, log.toString())
}
}
inline fun <reified T> T.warn... | 1 | null | 1 | 5 | 7550670488ca2c7711322dbe75e062b4be4fd4e5 | 518 | KotlinCommon | MIT License |
slack-api-model-kotlin-extension/src/main/kotlin/com/slack/api/model/kotlin_extension/block/element/ConversationType.kt | slackapi | 62,449,869 | false | {"Java": 6165956, "Kotlin": 361122, "Shell": 7287, "Batchfile": 3120, "Dockerfile": 249} | package com.slack.api.model.kotlin_extension.block.element
enum class ConversationType {
/**
* A private message conversation directly between two people.
*/
IM {
override val value = "im"
},
/**
* A private message conversation created explicitly with a group of people.
*/... | 22 | Java | 214 | 577 | 52b04eb7ec1e97832d333e4ee96b7032b0203764 | 632 | java-slack-sdk | MIT License |
src/main/kotlin/io/kjson/yaml/YAML.kt | pwall567 | 405,294,122 | false | {"Kotlin": 150176} | /*
* @(#) YAML.kt
*
* kjson-yaml Kotlin YAML processor
* Copyright (c) 2020, 2021, 2023 <NAME>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including withou... | 0 | Kotlin | 0 | 3 | 5f51c4baca32f7820b8d642d88af164802e2fe4d | 4,284 | kjson-yaml | MIT License |
app/src/main/java/com/vitorpamplona/amethyst/ui/note/BadgeCompose.kt | vitorpamplona | 587,850,619 | false | null | package com.vitorpamplona.amethyst.ui.note
import androidx.compose.foundation.ExperimentalFoundationApi
import androidx.compose.foundation.background
import androidx.compose.foundation.combinedClickable
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compo... | 157 | null | 141 | 981 | 2de3d19a34b97c012e39b203070d9c1c0b1f0520 | 6,915 | amethyst | MIT License |
app/src/main/java/com/example/roomdb/db/LocationDao.kt | bveenvliet | 374,549,383 | false | null | package com.example.roomdb.db
import androidx.room.Dao
import androidx.room.Delete
import androidx.room.Insert
import androidx.room.Query
@Dao
interface LocationDao {
@Query("SELECT * FROM location")
fun getAll(): List<Location>
@Query("SELECT * FROM location WHERE id IN (:ids)")
fun getAll(ids: IntA... | 0 | Kotlin | 0 | 0 | ba2cab0d2ef0fee69d0f9befb27dd933832de03a | 559 | RoomDb | Apache License 2.0 |
token-client-core/src/main/kotlin/no/nav/security/token/support/client/core/OAuth2GrantType.kt | navikt | 124,397,000 | false | {"Kotlin": 363248} | package no.nav.security.token.support.client.core
import com.nimbusds.oauth2.sdk.GrantType
import kotlin.DeprecationLevel.WARNING
@Deprecated("Use GrantType from nimbus instead", ReplaceWith("GrantType"), WARNING)
data class OAuth2GrantType(val value : String) {
companion object {
@JvmField
@Depreca... | 8 | Kotlin | 7 | 15 | ce4dae36cfdd452cfbbe5477657bd2ea0ff1f346 | 916 | token-support | MIT License |
src/main/kotlin/me/yunleah/plugin/coldestiny/ColdEstiny.kt | Yunleah | 664,422,335 | false | null | package me.yunleah.plugin.coldestiny
import taboolib.common.platform.Plugin
import taboolib.module.configuration.Config
import taboolib.module.configuration.ConfigFile
import taboolib.platform.BukkitPlugin
object ColdEstiny : Plugin() {
const val KEY = "§3Cold§bEstiny"
val plugin by lazy { BukkitPlugin.getI... | 0 | null | 0 | 2 | 45140895612ae0270911d108cc4394d0dce052b1 | 405 | ColdEstiny | MIT License |
core/network/src/main/java/com/danielefavaro/githubapiplayground/core/network/di/NetworkModule.kt | dfavaro | 645,763,005 | false | null | package com.danielefavaro.githubapiplayground.core.network.di
import android.content.Context
import com.danielefavaro.githubapiplayground.core.network.helper.ConnectivityManager
import com.danielefavaro.githubapiplayground.core.network.source.EnvironmentConfig
import com.danielefavaro.githubapiplayground.core.network.... | 0 | Kotlin | 0 | 0 | f11180d90e161d22eb50d08cc2d0624fe7a0c8da | 3,405 | github-api-playground-android | MIT License |
app/src/main/java/com/n27/elections/presentation/adapters/ElectionCardAdapter.kt | Narsuf | 52,900,182 | false | {"Kotlin": 246421} | package com.n27.elections.presentation.adapters
import DarkMode
import PieChart
import android.view.LayoutInflater
import android.view.ViewGroup
import android.widget.TextView
import androidx.cardview.widget.CardView
import androidx.compose.ui.platform.ComposeView
import androidx.recyclerview.widget.DiffUtil
import an... | 0 | Kotlin | 0 | 2 | 73959e069dcd7166b9095f0b94cc3d0c42873c77 | 2,368 | Elections | Apache License 2.0 |
migrated-projects/KaMPKit/shared/test/co/touchlab/kampkit/SqlDelightTest.kt | JetBrains | 709,379,874 | false | null | package co.touchlab.kampkit
import co.touchlab.kampkit.db.Breed
import co.touchlab.kermit.Logger
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.flow.first
import kotlinx.coroutines.test.runTest
import kotlin.test.BeforeTest
import kotlin.test.Test
import kotlin.test.assertNotNull
import kotlin.test.as... | 7 | null | 4 | 988 | 6a2c7f0b86b36c85e9034f3de9bfe416516b323b | 2,216 | amper | Apache License 2.0 |
bpdm-gate/src/main/kotlin/org/eclipse/tractusx/bpdm/gate/service/SitePersistenceService.kt | eclipse-tractusx | 526,621,398 | false | null | /*******************************************************************************
* Copyright (c) 2021,2023 Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* This program and the accompanying materials are ma... | 44 | null | 9 | 5 | 88b7972b1e08d1498a40d048168a32bc13fcbe5a | 7,443 | bpdm | Apache License 2.0 |
app/src/main/java/com/github/programmerr47/flickrawesomeclient/util/common.kt | programmerr47 | 147,911,795 | false | null | package com.github.programmerr47.flickrawesomeclient.util
import android.content.res.TypedArray
inline fun <T: TypedArray> T.use(block: T.() -> Unit) {
try {
block()
} finally {
recycle()
}
} | 7 | Kotlin | 2 | 12 | 33650da75f5bc1bf5ef27192f92349293c049329 | 221 | flickr-test-app | MIT License |
detekt-formatting/src/main/kotlin/io/gitlab/arturbosch/detekt/formatting/OptionalSemicolon.kt | yongzx | 103,536,932 | true | {"Gradle": 13, "YAML": 14, "Markdown": 5, "INI": 2, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "XML": 4, "Groovy": 1, "Kotlin": 267, "Java": 1, "Java Properties": 1} | package io.gitlab.arturbosch.detekt.formatting
import io.gitlab.arturbosch.detekt.api.CodeSmell
import io.gitlab.arturbosch.detekt.api.Config
import io.gitlab.arturbosch.detekt.api.Debt
import io.gitlab.arturbosch.detekt.api.Entity
import io.gitlab.arturbosch.detekt.api.Issue
import io.gitlab.arturbosch.detekt.api.Sev... | 0 | Kotlin | 2 | 0 | 95857d9d64888a42d8bf6ade0e5eb5adcc28a32c | 1,830 | detekt-old | Apache License 2.0 |
app/src/main/java/com/example/bmicalculator/WelcomeActivity.kt | math-nazario | 796,425,347 | false | {"Kotlin": 6083} | package com.example.bmicalculator
import android.content.Intent
import android.os.Bundle
import android.widget.Button
import androidx.activity.enableEdgeToEdge
import androidx.appcompat.app.AppCompatActivity
import androidx.core.view.ViewCompat
import androidx.core.view.WindowInsetsCompat
class WelcomeActivity : AppC... | 0 | Kotlin | 0 | 0 | 3c4e91177d436233c66ea7835267532c5495241e | 1,048 | bmiCalculator | MIT License |
src/test/kotlin/g3201_3300/s3255_find_the_power_of_k_size_subarrays_ii/SolutionTest.kt | javadev | 190,711,550 | false | {"Kotlin": 4870729, "TypeScript": 50437, "Python": 3646, "Shell": 994} | package g3201_3300.s3254_find_the_power_of_k_size_subarrays_i
import org.hamcrest.CoreMatchers.equalTo
import org.hamcrest.MatcherAssert.assertThat
import org.junit.jupiter.api.Test
internal class SolutionTest {
@Test
fun resultsArray() {
assertThat(
Solution().resultsArray(intArrayOf(1, 2... | 0 | Kotlin | 20 | 43 | e8b08d4a512f037e40e358b078c0a091e691d88f | 783 | LeetCode-in-Kotlin | MIT License |
client/src/commonTest/kotlin/documentation/methods/apikey/DocDeleteAPIKey.kt | algolia | 153,273,215 | false | null | package documentation.methods.apikey
import com.algolia.search.model.APIKey
import documentation.client
import kotlinx.coroutines.test.runTest
import kotlin.test.Ignore
import kotlin.test.Test
@Ignore
internal class DocDeleteAPIKey {
// suspend fun ClientSearch.deleteAPIKey(
// #{apiKey}: __APIKey__,
// ... | 8 | null | 23 | 59 | 21f0c6bd3c6c69387d1dd4ea09f69a220c5eaff4 | 1,048 | algoliasearch-client-kotlin | MIT License |
components/flow/flow-service/src/main/kotlin/net/corda/flow/pipeline/runner/impl/RemoteToLocalContextMapper.kt | corda | 346,070,752 | false | null | package net.corda.flow.pipeline.runner.impl
import net.corda.data.KeyValuePairList
import net.corda.flow.utils.KeyValueStore
import net.corda.flow.utils.toMap
/**
* Map context properties sent from an initiating remote party into context properties presented to initiated user code.
* Whilst context is propagated do... | 120 | null | 13 | 39 | 9790d4f101f2fd8aecc9d083f8a61c21efe089e7 | 3,039 | corda-runtime-os | Apache License 2.0 |
app/src/main/java/top/roy1994/bilimusic/data/objects/sheet/SheetEntity.kt | MoveCloudROY | 583,275,245 | false | {"Kotlin": 217608} | package top.roy1994.bilimusic.data.objects.sheet
import androidx.compose.ui.graphics.painter.Painter
import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.Ignore
import androidx.room.PrimaryKey
import java.io.FileDescriptor
@Entity
data class SheetEntity (
@PrimaryKey(autoGenerate = tru... | 1 | Kotlin | 1 | 5 | dc60ebde773a810c646328f17b21fa3d71ac1f23 | 813 | BiliMusic | MIT License |
app/src/main/java/com/example/gymlog/ui/form/ExerciseForm.kt | LucasMelll0 | 635,043,401 | false | {"Kotlin": 350707} | package com.example.gymlog.ui.form
import android.content.res.Configuration.UI_MODE_NIGHT_YES
import android.util.Log
import android.widget.Toast
import androidx.compose.foundation.BorderStroke
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compos... | 0 | Kotlin | 0 | 1 | 7ab200245fbd83e1401c338ee81216e07d8e206f | 11,471 | GymLog | Apache License 2.0 |
core/src/main/java/com/github/stephenvinouze/materialnumberpickercore/MaterialNumberPicker.kt | StephenVinouze | 104,866,857 | false | null | package com.github.stephenvinouze.materialnumberpickercore
import android.content.Context
import android.graphics.*
import android.graphics.drawable.Drawable
import android.support.v4.content.res.ResourcesCompat
import android.text.InputType
import android.util.AttributeSet
import android.util.TypedValue
import androi... | 8 | null | 20 | 129 | 2f1fb560f7881007acc6ab1ee519e2a25814ae26 | 7,263 | MaterialNumberPicker | Apache License 2.0 |
src/main/kotlin/nstda/hii/webservice/app/webresponsefilter/SuccessToCreatedResponse.kt | hii-in-th | 262,977,721 | false | null | /*
* Copyright (c) 2019 NSTDA
* National Science and Technology Development Agency, Thailand
*
* 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/LI... | 0 | Kotlin | 0 | 0 | 1178c5934b5694c2e5ccd4b303be34e23e1be017 | 1,499 | thing-api | MIT License |
chrome/index.chrome.fileBrowserHandler.module_chrome.kt | yokiano | 376,563,863 | false | null | @file:JsQualifier("chrome.fileBrowserHandler")
@file:Suppress("INTERFACE_WITH_SUPERCLASS", "OVERRIDING_FINAL_MEMBER", "RETURN_TYPE_MISMATCH_ON_OVERRIDE", "CONFLICTING_OVERLOADS")
package chrome.fileBrowserHandler
import kotlin.js.*
import org.khronos.webgl.*
import org.w3c.dom.*
import org.w3c.dom.events.*
import org.... | 1 | Kotlin | 0 | 1 | 3be9b231f1c883d205ac9567465a342176a3d895 | 1,375 | chrome-extension-kt-types | MIT License |
src/main/kotlin/com/github/artem1458/dicatplugin/utils/addIfNotNull.kt | artem1458 | 502,715,386 | false | {"Kotlin": 60014} | package com.github.artem1458.dicatplugin.utils
fun <T> MutableCollection<T>.addIfNotNull(e: T?) {
e?.let(::add)
}
| 0 | Kotlin | 0 | 0 | 1a1f2d094e046a60d71644c6c3ef5a6479c54178 | 117 | di-cat-intellij-plugin | Apache License 2.0 |
Echo/src/main/java/com/redelf/commons/interprocess/echo/EchoInterprocessProcessor.kt | red-elf | 731,934,432 | false | {"Kotlin": 894931, "Java": 41189, "Shell": 3294} | package com.redelf.commons.interprocess.echo
import android.content.Context
import android.content.Intent
import com.redelf.commons.extensions.toast
import com.redelf.commons.interprocess.InterprocessData
import com.redelf.commons.interprocess.InterprocessProcessor
import com.redelf.commons.logging.Console
class Echo... | 0 | Kotlin | 1 | 0 | a9caa4bd72523a5514d6c4275d4c919befe5642a | 1,560 | Android-Toolkit | Apache License 2.0 |
src/main/kotlin/com/workos/mfa/models/VerifyFactorResponse.kt | workos | 419,780,611 | false | null | package com.workos.mfa.models
import com.fasterxml.jackson.annotation.JsonCreator
import com.fasterxml.jackson.annotation.JsonProperty
/**
* Represents a [VerifyFactorResponse] in both successfull and error responses.
*/
@Deprecated("Please use `verifyChallenge` instead")
data class VerifyFactorResponse
@JsonCreat... | 2 | null | 6 | 9 | 8be0571a48e643cea2f0c783ddb4c5fa79be1ed5 | 466 | workos-kotlin | MIT License |
compiler/testData/codegen/box/intrinsics/kt12125.kt | JakeWharton | 99,388,807 | false | null | // IGNORE_BACKEND_FIR: JVM_IR
fun test(i: Int): Int {
return i
}
fun box(): String {
var b = Byte.MAX_VALUE
b++
var result = test(b.toInt())
if (result != Byte.MIN_VALUE.toInt()) return "fail 1: $result"
var s = Short.MIN_VALUE
s--
result = test(s.toInt())
if (result != Short.MAX_V... | 179 | null | 5640 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 377 | kotlin | Apache License 2.0 |
serialization/core/src/main/kotlin/io/github/airflux/serialization/core/Deserialization.kt | airflux | 336,002,943 | false | {"Kotlin": 916634} | /*
* Copyright 2021-2023 <NAME>.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | 0 | Kotlin | 3 | 4 | f80bf604fbfe10ed8c2667abe31d9af06f794fb4 | 1,238 | airflux-serialization | Apache License 2.0 |
app/src/main/java/io/horizontalsystems/bankwallet/modules/balance/BalanceSortType.kt | horizontalsystems | 142,825,178 | false | null | package io.horizontalsystems.bankwallet.modules.balance
import io.horizontalsystems.bankwallet.R
sealed class BalanceSortType {
object Name : BalanceSortType()
object Value : BalanceSortType()
object PercentGrowth : BalanceSortType()
fun getTitleRes(): Int = when (this) {
Value -> R.string.Ba... | 168 | null | 364 | 895 | 218cd81423c570cdd92b1d5161a600d07c35c232 | 812 | unstoppable-wallet-android | MIT License |
sqldelight-compiler/src/main/kotlin/com/squareup/sqldelight/resolution/SelectResolver.kt | abin107 | 61,786,310 | true | {"Kotlin": 276398, "Java": 157867, "ANTLR": 18607, "Shell": 1376} | /*
* Copyright (C) 2016 Square, 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 agre... | 0 | Kotlin | 0 | 0 | ded5cd4117d9a2e7470e0703e48cb7cff7141a6f | 6,148 | sqldelight | Apache License 2.0 |
app/src/test/java/com/twilio/conversations/app/viewModel/MessageListViewModelTest.kt | twilio | 351,834,939 | false | null | package com.twilio.conversations.app.viewModel
import android.content.Context
import androidx.arch.core.executor.testing.InstantTaskExecutorRule
import com.twilio.conversations.Conversation
import com.twilio.conversations.User
import com.twilio.conversations.app.asPagedList
import com.twilio.conversations.app.common.a... | 4 | null | 6 | 7 | 8b926b002d7fcf8ece0ee4a9a0370565adb58ce1 | 11,742 | twilio-conversations-demo-kotlin | MIT License |
tensorflow-lite-examples-common/src/main/java/com/dailystudio/tflite/example/common/ui/InferenceSettingsFragment.kt | dailystudio | 267,263,865 | false | null | package com.dailystudio.tflite.example.common.ui
import android.content.Context
import android.graphics.drawable.Drawable
import com.dailystudio.devbricksx.settings.*
import com.dailystudio.devbricksx.utils.ResourcesCompatUtils
import com.dailystudio.tflite.example.common.R
import org.tensorflow.lite.support.model.Mod... | 1 | null | 6 | 16 | a6b2b9841154a876c0b66a9159a7aed23023f606 | 2,750 | tensorflow-lite-examples-android | Apache License 2.0 |
src/test/kotlin/com/deledzis/jetroom/view/printer/CommandLinePrinterFactoryTest.kt | deledzis | 253,047,627 | false | null | package com.deledzis.jetroom.view.printer
import org.junit.jupiter.api.Assertions
import org.junit.jupiter.api.Test
internal class CommandLinePrinterFactoryTest {
@Test
fun getPrinter() {
Assertions.assertTrue { CommandLinePrinterFactory().getPrinter() is CommandLinePrinter }
}
} | 0 | Kotlin | 0 | 0 | ce17be6fd2cd139f0547483a5992542e22830784 | 303 | JetBrainsInternshipJetRoom | MIT License |
src/test/java/filepeektest/FilePeekTestInJavaRoot.kt | christophsturm | 197,566,840 | false | null | package filepeektest
import filepeek.FilePeek
import org.junit.jupiter.api.Test
import strikt.api.expectThat
import strikt.assertions.isEqualTo
class FilePeekTestInJavaRoot {
@Test
fun `finds classes that have a different name than the file they are in`() {
val filePeek = FilePeek(listOf("filepeek."))... | 3 | Kotlin | 4 | 3 | 540bc68cf3782ae9804d3e05fa2b7c53bc2de8c6 | 471 | filepeek | MIT License |
src/main/kotlin/com/balsdon/androidallyplugin/adb/AdbScriptModifiers.kt | qbalsdon | 729,827,162 | false | null | @file:Suppress("TooManyFunctions")
package com.balsdon.androidallyplugin.adb
import com.balsdon.androidallyplugin.adb.parameters.AdbBoolean
import com.balsdon.androidallyplugin.adb.parameters.AdbParamUsingString
import com.balsdon.androidallyplugin.adb.parameters.AdbPositiveValue
import com.balsdon.androidallyplugin.a... | 2 | null | 0 | 7 | e2925f7d3afc976341e6dcb37d67661aa8fd544a | 6,447 | android-ally-plugin | MIT License |
src/main/kotlin/io/github/cafeteriaguild/advweaponry/AWLoreItems.kt | CafeteriaGuild | 271,669,092 | false | null | package io.github.cafeteriaguild.advweaponry
/**
* Crafting Materials, etc
*/
object AWLoreItems {
} | 0 | Kotlin | 0 | 0 | f06efd30051775f4f5235ea4eca5d26706b2c344 | 103 | AdventurerWeaponry | Apache License 2.0 |
compose/ui/ui/src/androidAndroidTest/kotlin/androidx/compose/ui/draw/DrawModifierTest.kt | RikkaW | 389,105,112 | false | null | /*
* Copyright 2020 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 30 | null | 974 | 7 | 6d53f95e5d979366cf7935ad7f4f14f76a951ea5 | 14,111 | androidx | Apache License 2.0 |
app/src/main/java/com/example/antheia_plant_manager/model/data/impl/PlantRepositoryImpl.kt | MegaBreadbox | 814,871,131 | false | {"Kotlin": 120448} | package com.example.antheia_plant_manager.model.data.impl
import com.example.antheia_plant_manager.model.data.Plant
import com.example.antheia_plant_manager.model.data.PlantDao
import com.example.antheia_plant_manager.model.data.PlantRepository
import kotlinx.coroutines.flow.Flow
import javax.inject.Inject
class Plan... | 0 | Kotlin | 0 | 0 | f9c418e22a4d3c18a4c92f7819113f743eb77e6e | 918 | Antheia | Apache License 2.0 |
graphql/src/main/kotlin/com/trib3/graphql/execution/SanitizedGraphQLError.kt | trib3 | 191,460,324 | false | null | package com.trib3.graphql.execution
import com.fasterxml.jackson.annotation.JsonIgnore
import graphql.ExceptionWhileDataFetching
import graphql.execution.ResultPath
import graphql.language.SourceLocation
/**
* Removes exception from the error JSON serialization keeping it out of the API response
* and attempts to b... | 33 | null | 3 | 9 | 540e895a9afa4ddf9b9879c505ec9856a88a4a9b | 1,195 | leakycauldron | Apache License 2.0 |
src/main/kotlin/com/coditory/gradle/webjar/WebjarInitTask.kt | coditory | 252,974,843 | false | null | package com.coditory.gradle.webjar
import com.coditory.gradle.webjar.WebjarPlugin.Companion.WEBJAR_INIT_TASK
import com.coditory.gradle.webjar.WebjarPlugin.Companion.WEBJAR_REMOVE_MODULES_TASK
import com.coditory.gradle.webjar.shared.SemVersion
import com.github.gradle.node.NodeExtension
import com.github.gradle.node.... | 1 | Kotlin | 2 | 6 | 008e24dbf2a3c0709b79a9fd53e837927aafdc6a | 2,236 | gradle-webjar-plugin | MIT License |
komapper-core/src/main/kotlin/org/komapper/core/dsl/query/RelationDeleteQuery.kt | komapper | 349,909,214 | false | null | package org.komapper.core.dsl.query
import org.komapper.core.dsl.context.RelationDeleteContext
import org.komapper.core.dsl.expression.WhereDeclaration
import org.komapper.core.dsl.metamodel.EntityMetamodel
import org.komapper.core.dsl.operator.plus
import org.komapper.core.dsl.options.DeleteOptions
import org.komappe... | 7 | null | 4 | 97 | 851b313c66645d60f2e86934a5036efbe435396a | 1,721 | komapper | Apache License 2.0 |
plugins/terminal/src/org/jetbrains/plugins/terminal/exp/TerminalSessionCompletionContributor.kt | JetBrains | 2,489,216 | false | null | // Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package org.jetbrains.plugins.terminal.exp
import com.intellij.codeInsight.completion.CompletionContributor
import com.intellij.codeInsight.completion.CompletionType
import com.intellij.patterns.Pat... | 233 | null | 4931 | 15,571 | 92c8aad1c748d6741e2c8e326e76e68f3832f649 | 1,469 | intellij-community | Apache License 2.0 |
z2-core/src/commonMain/kotlin/hu/simplexion/z2/adaptive/testing/RuiTestAdapter.kt | spxbhuhb | 665,463,766 | false | {"Kotlin": 1492824, "CSS": 166164, "Java": 9167, "HTML": 1560, "JavaScript": 975} | /*
* Copyright © 2020-2021, Simplexion, Hungary and contributors. Use of this source code is governed by the Apache 2.0 license.
*/
package hu.simplexion.z2.adaptive.testing
import hu.simplexion.z2.adaptive.RuiAdapter
import hu.simplexion.z2.adaptive.RuiBridge
import hu.simplexion.z2.adaptive.RuiFragment
open class... | 6 | Kotlin | 0 | 1 | cb3effbcd9f086977150bd5b58fb7e7f14ae94ac | 2,363 | z2 | Apache License 2.0 |
platform/platform-impl/src/com/intellij/ide/customize/transferSettings/providers/vswin/utilities/Version2.kt | ingokegel | 72,937,917 | false | null | // Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.ide.startup.importSettings.providers.vswin.utilities
// If minorVersion is set to -1, it means any minor version is supported and we don't care about minor version.
class Versio... | 284 | null | 5162 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 1,964 | intellij-community | Apache License 2.0 |
src/main/kotlin/com/github/billialpha/intellijexternaltoolrunconfig/listeners/MyProjectManagerListener.kt | BilliAlpha | 302,920,044 | false | null | package com.github.billialpha.intellijexternaltoolrunconfig.listeners
import com.intellij.openapi.project.Project
import com.intellij.openapi.project.ProjectManagerListener
import com.github.billialpha.intellijexternaltoolrunconfig.services.MyProjectService
internal class MyProjectManagerListener : ProjectManagerList... | 0 | Kotlin | 0 | 0 | 6f02b630696d14544582c9acdec925dc65e86885 | 444 | Intellij-ExternalTool-Run-Config | Apache License 2.0 |
library/src/main/kotlin/com/daniloaraujosilva/mathemagika/library/common/mathematica/functions/CellMargins.kt | Danilo-Araujo-Silva | 271,904,885 | false | null | package com.daniloaraujosilva.mathemagika.library.common.mathematica.functions
import com.daniloaraujosilva.mathemagika.library.common.mathematica.MathematicaFunction
/**
*````
*
* Name: CellMargins
*
* Full name: System`CellMargins
*
* Usage: CellMargins is an option for Cell tha... | 2 | Kotlin | 0 | 3 | 4fcf68af14f55b8634132d34f61dae8bb2ee2942 | 1,002 | mathemagika | Apache License 2.0 |
buildSrc/src/main/kotlin/Kdokker.kt | vendelieu | 496,567,172 | false | null | import kotlinx.serialization.Serializable
import kotlinx.serialization.json.Json
import org.gradle.api.DefaultTask
import org.gradle.api.tasks.TaskAction
@Serializable
data class Api(
val methods: Map<String, ApiEntity>,
val types: Map<String, ApiEntity>,
)
@Serializable
data class ApiEntity(
var name: St... | 6 | null | 9 | 165 | c1ddf4a42c577410af31249dc650858320668263 | 4,514 | telegram-bot | Apache License 2.0 |
src/main/kotlin/io/prometheus/common/GrpcObjects.kt | pambrose | 87,608,617 | 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 a... | 4 | null | 23 | 94 | 92ff24c8d2a6955ab11b4f79fcb79c6aea8ff786 | 9,468 | prometheus-proxy | Apache License 2.0 |
app/src/main/java/com/jayeshsolanki/olaplaystudios/ui/portfolio/PortfolioActivity.kt | jayeshsolanki93 | 116,455,630 | false | null | package com.jayeshsolanki.olaplaystudios.ui.portfolio
import android.content.Intent
import android.net.Uri
import android.os.Bundle
import android.support.v7.app.AppCompatActivity
import android.view.MenuItem
import com.jayeshsolanki.olaplaystudios.R
import com.jayeshsolanki.olaplaystudios.util.Constants
import kotlin... | 0 | Kotlin | 2 | 5 | 0c926ad634613420844f479640b116339de0a29c | 2,251 | OlaPlayStudios | The Unlicense |
grazel-gradle-plugin/src/main/kotlin/com/grab/grazel/tasks/internal/FormatBazelBuildFileTask.kt | grab | 379,151,190 | false | {"Kotlin": 813733, "Starlark": 58856, "Java": 644} | /*
* Copyright 2022 Grabtaxi Holdings PTE LTD (GRAB)
*
* 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 applica... | 11 | Kotlin | 19 | 274 | 6d44b7fc7d5210cc4e4211cfd002547a3126124c | 7,583 | grazel | Apache License 2.0 |
core/src/main/kotlin/sift/core/tree/ActionExt.kt | junkdog | 561,870,959 | false | {"Kotlin": 573369, "Shell": 5738, "Java": 627} | package sift.core.tree
import sift.core.api.Action
fun Action<*, *>.debugTree(): String = toTree().toString()
fun Action<*, *>.toTree(): Tree<String> {
// recursively build tree from action id()
fun buildTree(action: Action<*, *>): Tree<String> {
val tree = Tree(action.id())
when (action) {
... | 5 | Kotlin | 0 | 56 | b486fe82fc07d85355311c13160a9fadc2f65831 | 900 | sift | MIT License |
kool-demo/src/commonMain/kotlin/de/fabmax/kool/demo/physics/terrain/LowPolyTree.kt | kool-engine | 81,503,047 | false | null | package de.fabmax.kool.demo.physics.terrain
import de.fabmax.kool.math.Mat4f
import de.fabmax.kool.math.MutableVec3f
import de.fabmax.kool.math.Random
import de.fabmax.kool.math.clamp
import de.fabmax.kool.math.spatial.InRadiusTraverser
import de.fabmax.kool.math.spatial.pointKdTree
import de.fabmax.kool.scene.geometr... | 9 | null | 20 | 303 | 8d05acd3e72ff2fc115d0939bf021a5f421469a5 | 7,677 | kool | Apache License 2.0 |
src/test/kotlin/com/enniovisco/Stubs.kt | ennioVisco | 444,874,188 | false | {"Kotlin": 105477, "HTML": 3038, "Shell": 1983, "Java": 802, "Handlebars": 497} | package com.enniovisco
import io.github.moonlightsuite.moonlight.offline.signal.*
import java.util.function.*
val alwaysTrueSignal = run {
val signal = SpatialTemporalSignal<List<Boolean>>(9)
signal.add(0.0) { listOf(true) }
signal.add(1.0) { listOf(true) }
signal
}
val alwaysFalseSignal = run {
... | 0 | Kotlin | 0 | 3 | 9f7363c5adfda168d956e15c68559842b56e506b | 1,069 | webmonitor | MIT License |
app/src/main/java/com/vedworx/sastantflx/fragments/LandingPage.kt | vedantmamgain | 416,591,123 | false | null | package com.vedworx.sastantflx.fragments
import android.content.Intent
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import androidx.lifecycle.Observer
import androidx.lifecycle.ViewModelProviders
import com.vedw... | 1 | Kotlin | 1 | 1 | e7b798119ffc9f9bb4ffa62e680f643de1ca7cbc | 2,048 | SastaNetflix | MIT License |
template/DayXTest.kt | EmRe-One | 442,916,831 | false | null | package tr.emreone.adventofcode.days
import tr.emreone.utils.Resources
import org.junit.jupiter.api.Assertions.*
import org.junit.jupiter.api.Test
internal class Day$1Test {
@Test
fun part1() {
val input = Resources.resourceAsList("day$1_example.txt")
assertEquals(-1, Day$1.part1(input), "Day... | 0 | Kotlin | 0 | 0 | aee38364ca1827666949557acb15ae3ea21881a1 | 530 | kotlin-utils | Apache License 2.0 |
play-kml-tour/src/main/java/com/esri/arcgismaps/sample/playkmltour/MainActivity.kt | Esri | 530,805,756 | false | {"Kotlin": 900529, "Python": 31233, "Java": 9909, "Dockerfile": 620, "Ruby": 597} | /* Copyright 2023 Esri
*
* 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,... | 4 | Kotlin | 7 | 43 | 3ad9236362a048d5772e1bed49fbfe2f10038e9e | 8,824 | arcgis-maps-sdk-kotlin-samples | Apache License 2.0 |
src/com/potter/riderunity3dconnector/runConfig/UnityDotNetRemoteConfigurationFactory.kt | van800 | 80,879,090 | false | null | package com.potter.riderunity3dconnector.runConfig
import com.intellij.execution.configurations.RunConfiguration
import com.intellij.openapi.project.Project
import com.jetbrains.resharper.run.configurations.DotNetConfigurationFactoryBase
/**
* Created by Ivan.Shakhov on 14.02.2017.
*/
class UnityDotNetRemoteConfigu... | 0 | Kotlin | 2 | 0 | e0bc6cf1ca9f52ff258f73aa1dd34b93429cbca2 | 621 | RiderUnity3DConnector | MIT License |
app/src/main/java/gr/pchasapis/moviedb/mvvm/interactor/base/BaseInteractor.kt | pandelisgreen13 | 210,415,019 | false | {"Kotlin": 110631} | package gr.pchasapis.moviedb.mvvm.interactor.base
open class BaseInteractor : MVVMInteractor {
override fun detach() {}
} | 0 | Kotlin | 0 | 5 | 3becd796af5034f7900718c929a4b2d4beabfca2 | 128 | movieDB | MIT License |
model/src/main/kotlin/org/katan/model/unit/ImageUpdatePolicy.kt | KatanPanel | 182,468,654 | false | null | package org.katan.model.unit
enum class ImageUpdatePolicy(val id: String) {
Always("always"),
Never("never");
companion object {
@JvmStatic
fun getById(id: String): ImageUpdatePolicy {
return values().first { it.id.equals(id, ignoreCase = true) }
}
}
}
| 0 | Kotlin | 5 | 55 | 8e2f39310ec87bf19eed5a8a73b105518cabe7d9 | 309 | Katan | Apache License 2.0 |
app/src/main/java/com/example/nba/data/local/database/NbaDatabase.kt | EvaldasSo | 639,254,729 | false | null | package com.example.nba.data.local.database
import androidx.room.Database
import androidx.room.RoomDatabase
import com.example.nba.data.local.dao.GameMatchDao
import com.example.nba.data.local.dao.GameMatchKeysDao
import com.example.nba.data.local.dao.TeamDao
import com.example.nba.data.local.dao.TeamKeysDao
import co... | 0 | Kotlin | 0 | 0 | 387c427548a9bc3d92f906f2406019e1bd4d4310 | 924 | NBA-Dashboard | Apache License 2.0 |
livedata-support/src/test/java/com/chibatching/kotpref/livedata/LiveDataSupportTest.kt | VitaliBov | 194,615,533 | true | {"Kotlin": 109293} | package com.chibatching.kotpref.livedata
import android.arch.lifecycle.Observer
import android.content.Context
import android.content.SharedPreferences
import com.chibatching.kotpref.Kotpref
import com.chibatching.kotpref.KotprefModel
import org.assertj.core.api.Assertions.assertThat
import org.junit.After
import org.... | 0 | Kotlin | 0 | 0 | b00305c813f8a63ac4a0d6ae63564ef6df823410 | 4,294 | Kotpref | Apache License 2.0 |
service/src/main/kotlin/no/nav/su/se/bakover/service/revurdering/RevurderingServiceImpl.kt | navikt | 227,366,088 | false | {"Kotlin": 9408311, "Shell": 4372, "TSQL": 1233, "Dockerfile": 1211} | package no.nav.su.se.bakover.service.revurdering
import arrow.core.Either
import arrow.core.flatMap
import arrow.core.getOrElse
import arrow.core.left
import arrow.core.right
import dokument.domain.Dokument
import dokument.domain.brev.BrevService
import dokument.domain.brev.Brevvalg
import no.nav.su.se.bakover.common.... | 9 | Kotlin | 1 | 1 | fbeb1614c40e0f6fce631d4beb1ba25e2f78ddda | 52,884 | su-se-bakover | MIT License |
src/main/kotlin/run-configuration-options.kt | afucher | 685,113,896 | false | {"Clojure": 77619, "Kotlin": 2095} | package com.github.clojure_repl.intellij.configuration
import com.intellij.execution.configurations.RunConfigurationOptions
class ReplRemoteRunOptions : RunConfigurationOptions() {
private var nreplHostOption = string("localhost").provideDelegate(this, "nreplHost")
private var nreplPortOption = string("").pr... | 9 | Clojure | 8 | 56 | 9e25ef54f62b781cb2a612ae949531cd1d7d5ce9 | 1,785 | clojure-repl-intellij | MIT License |
feature-dashboard/src/main/java/com/standup/app/dashboard/repo/DashboardRepo.kt | kevalpatel2106 | 109,775,416 | false | null | /*
* Copyright 2018 Keval Patel.
*
* 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... | 18 | Kotlin | 1 | 3 | d4d0313062118521621da5dac90e836f512ddd54 | 1,002 | Stand-Up | Apache License 2.0 |
app/src/main/java/com/dew/aihua/infolist/holder/PlaylistMiniInfoItemHolder.kt | ed828a | 172,828,123 | false | null | package com.dew.aihua.infolist.holder
import android.text.TextUtils
import android.util.Log
import android.view.View
import android.view.ViewGroup
import android.widget.ImageView
import android.widget.TextView
import androidx.appcompat.app.AppCompatActivity
import com.dew.aihua.R
import com.dew.aihua.infolist.adapter.... | 0 | Kotlin | 0 | 1 | 1896f46888b5a954b367e83f40b845ce174a2328 | 2,432 | Aihua | Apache License 2.0 |
waltid-openid4vc/src/commonMain/kotlin/id/walt/oid4vc/errors/AuthorizationError.kt | walt-id | 701,058,624 | false | null | package id.walt.oid4vc.errors
import id.walt.oid4vc.requests.AuthorizationRequest
import id.walt.oid4vc.responses.AuthorizationCodeResponse
import id.walt.oid4vc.responses.AuthorizationErrorCode
import id.walt.oid4vc.responses.PushedAuthorizationResponse
class AuthorizationError(
val authorizationRequest: Authori... | 24 | null | 46 | 98 | a86bd0c843d594f6afe6e747d3c4de7d8a4789a8 | 633 | waltid-identity | Apache License 2.0 |
src/main/kotlin/com/github/muxiu1997/mjt/validation/Date.kt | MuXiu1997 | 561,190,214 | false | {"Kotlin": 47519} | package com.github.muxiu1997.mjt.validation
import javax.validation.Constraint
import javax.validation.Payload
import kotlin.reflect.KClass
/**
* The annotated element must be a formatted date with specific patterns. Accepts [CharSequence].
*/
@Target(
AnnotationTarget.FUNCTION,
AnnotationTarget.FIELD,
... | 0 | Kotlin | 0 | 1 | 027fc29705eb62890733440431ed1dbaba87b843 | 1,043 | mjt | MIT License |
work/workmanager-ktx/src/main/java/androidx/work/OneTimeWorkRequest.kt | RikkaW | 389,105,112 | false | null | /*
* Copyright 2018 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 0 | null | 1 | 7 | 6d53f95e5d979366cf7935ad7f4f14f76a951ea5 | 1,222 | androidx | Apache License 2.0 |
graphql-dgs-client/src/test/kotlin/com/netflix/graphql/dgs/client/SSESubscriptionGraphQLClientTest.kt | Netflix | 317,375,887 | false | null | /*
* Copyright 2021 Netflix, 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... | 88 | null | 289 | 3,037 | bd2d0c524e70a9d1d625d518a94926c7b53a7e7c | 5,319 | dgs-framework | Apache License 2.0 |
Corona-Warn-App/src/main/java/de/rki/coronawarnapp/contactdiary/ui/edit/ContactDiaryEditLocationsViewModel.kt | corona-warn-app | 268,027,139 | false | null | package de.rki.coronawarnapp.contactdiary.ui.edit
import androidx.lifecycle.asLiveData
import com.squareup.inject.assisted.AssistedInject
import de.rki.coronawarnapp.contactdiary.model.ContactDiaryLocation
import de.rki.coronawarnapp.contactdiary.storage.entity.ContactDiaryLocationEntity
import de.rki.coronawarnapp.co... | 6 | null | 8 | 2,495 | d3833a212bd4c84e38a1fad23b282836d70ab8d5 | 2,674 | cwa-app-android | Apache License 2.0 |
node-kotlin/src/jsMain/kotlin/node/crypto/SecureHeapUsage.kt | karakum-team | 393,199,102 | false | {"Kotlin": 7083457} | // Automatically generated - do not modify!
package node.crypto
sealed external interface SecureHeapUsage {
/**
* The total allocated secure heap size as specified using the `--secure-heap=n` command-line flag.
*/
var total: Number
/**
* The minimum allocation from the secure heap as speci... | 0 | Kotlin | 6 | 26 | 3ca49a8f44fc8b46e393ffe66fbd81f8b4943c18 | 628 | types-kotlin | Apache License 2.0 |
compiler/frontend/src/org/jetbrains/kotlin/resolve/calls/checkers/AssigningNamedArgumentToVarargChecker.kt | alireza-naghizadeh | 119,830,321 | true | {"Java": 27241287, "Kotlin": 26410083, "JavaScript": 155117, "HTML": 56625, "Lex": 18174, "Groovy": 14207, "ANTLR": 9797, "IDL": 8587, "Shell": 5436, "CSS": 4679, "Batchfile": 4437} | /*
* Copyright 2010-2017 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | 0 | Java | 0 | 1 | cf2e9c70028199ff2446d7b568983e387fb58ef4 | 3,693 | kotlin | Apache License 2.0 |
jstressy-platform/jstressy-impl/jstressy-config-dsl/src/main/kotlin/com/github/timofeevda/jstressy/config/dsl/configScriptDefinition.kt | timofeevda | 126,821,248 | false | {"Kotlin": 267318, "Dockerfile": 1313, "Shell": 214} | package com.github.timofeevda.jstressy.config.dsl
import kotlinx.coroutines.runBlocking
import java.io.File
import kotlin.script.experimental.annotations.KotlinScript
import kotlin.script.experimental.api.RefineScriptCompilationConfigurationHandler
import kotlin.script.experimental.api.ResultWithDiagnostics
import kot... | 0 | Kotlin | 0 | 2 | 4a8300a7354fbc22e06f1f6ed0a9dc724d6d3bd2 | 4,423 | jstressy | MIT License |
kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnRoute.kt | cloudshiftinc | 667,063,030 | false | {"Kotlin": 140726596} | @file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION")
package io.cloudshiftdev.awscdk.services.ec2
import io.cloudshiftdev.awscdk.CfnResource
import io.cloudshiftdev.awscdk.IInspectable
import io.... | 1 | Kotlin | 0 | 4 | a18731816a3ec710bc89fb8767d2ab71cec558a6 | 21,981 | kotlin-cdk-wrapper | Apache License 2.0 |
guides/micronaut-oracle-cloud-streaming/chess-listener/kotlin/src/main/kotlin/example/micronaut/chess/repository/OracleGameStateRepository.kt | micronaut-projects | 326,986,278 | false | {"Java": 2324179, "Groovy": 1117014, "Kotlin": 977645, "JavaScript": 110091, "HTML": 93851, "CSS": 30567, "Shell": 5473, "AppleScript": 1063, "Python": 47} | /*
* Copyright 2017-2024 original authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | 209 | Java | 31 | 36 | f40e50dc8f68cdb3080cb3802d8082ada9ca6787 | 1,111 | micronaut-guides | Creative Commons Attribution 4.0 International |
particle-wallet/android/src/main/java/com/particlewallet/ParticleWalletPackage.kt | Particle-Network | 553,295,666 | false | {"TypeScript": 360885, "Kotlin": 183841, "Swift": 100563, "Java": 26757, "Ruby": 25934, "JavaScript": 19168, "Objective-C": 18745, "Objective-C++": 10885, "Python": 9366, "C": 618, "Starlark": 602} | package com.particlewallet
import com.facebook.react.ReactPackage
import com.facebook.react.bridge.NativeModule
import com.facebook.react.bridge.ReactApplicationContext
import com.facebook.react.uimanager.ViewManager
class ParticleWalletPackage : ReactPackage {
override fun createNativeModules(reactContext: ReactA... | 2 | TypeScript | 7 | 12 | 2c48116fbf3450cae3ed5747ad1994ac21a09231 | 549 | particle-react-native | Apache License 2.0 |
courses/6-unit_3-display_lists_and_use_material_design/4-woof/app/src/main/java/com/stc/woof/screen/ScreenDog.kt | jjose14-Jacob-Jose | 798,449,153 | false | {"Kotlin": 195471} | package com.stc.woof.screen
import androidx.compose.animation.animateContentSize
import androidx.compose.animation.core.Spring
import androidx.compose.animation.core.spring
import androidx.compose.foundation.Image
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Box
import android... | 0 | Kotlin | 0 | 0 | 88eb0ea6711154060e0e9ad85d7952e006b183b3 | 5,220 | kotlin-google-tutorial | Apache License 2.0 |
geary-commons-papermc/src/main/kotlin/com/mineinabyss/geary/papermc/actions/systems/ApplyDamage.kt | MineInAbyss | 388,677,224 | false | null | package com.mineinabyss.geary.papermc.actions.systems
import com.mineinabyss.geary.annotations.AutoScan
import com.mineinabyss.geary.annotations.Handler
import com.mineinabyss.geary.commons.events.configurable.components.Apply
import com.mineinabyss.geary.papermc.actions.components.DealDamage
import com.mineinabyss.ge... | 6 | Kotlin | 2 | 1 | 838d46d8111ce2235afabef90a7c0cb9dd87b085 | 1,213 | Geary-addons | MIT License |
mtproto/src/main/kotlin/com/github/badoualy/telegram/mtproto/tl/MTRpcResult.kt | y9san9 | 285,876,206 | false | null | package com.github.badoualy.telegram.mtproto.tl
import com.github.badoualy.telegram.tl.StreamUtils.*
import com.github.badoualy.telegram.tl.TLContext
import com.github.badoualy.telegram.tl.core.TLObject
import java.io.IOException
import java.io.InputStream
import java.io.OutputStream
class MTRpcResult @JvmOverloads c... | 12 | null | 89 | 5 | 34f98671bd0aa15c67b0ead1ed0292755bf8c7eb | 1,157 | kotlogram | MIT License |
tangem-core/src/main/java/com/tangem/common/tlv/TlvEncoder.kt | byennen | 267,425,784 | true | {"Java Properties": 8, "Gradle": 8, "Shell": 1, "Markdown": 2, "Batchfile": 1, "Text": 27, "Ruby": 2, "Ignore List": 1, "XML": 397, "INI": 3, "Proguard": 2, "Kotlin": 127, "JSON": 252, "SQL": 9, "Motorola 68K Assembly": 9, "Java": 166, "JAR Manifest": 1, "HTML": 16, "CSS": 6, "JavaScript": 3, "YAML": 1} | package com.tangem.common.tlv
import com.tangem.Log
import com.tangem.TangemSdkError
import com.tangem.commands.*
import com.tangem.commands.common.IssuerDataMode
import com.tangem.common.extensions.calculateSha256
import com.tangem.common.extensions.hexToBytes
import com.tangem.common.extensions.toByteArray
import ja... | 0 | Java | 0 | 1 | baaedaf504cc6658272becad7d88b340eacdd6e8 | 4,346 | tangem-sdk-android | MIT License |
app/src/main/java/com/padcx/travelapp/travelapp_testautomation_mmz/persistances/CountryListTypeConverters.kt | junelaykris | 280,520,797 | false | null | package com.padcx.travelapp.travelapp_testautomation_mmz.persistances
import androidx.room.TypeConverter
import com.google.gson.Gson
import com.google.gson.reflect.TypeToken
import com.padcx.travelapp.travelapp_testautomation_mmz.datas.vos.CountryVO
class CoutryListTypeConverters {
@TypeConverter
fun toStrin... | 0 | Kotlin | 0 | 0 | a090335c2dd1be2569cf532bc6749e65a4cb64c4 | 651 | PADCX_TravelApp_TestAutomation_MMZ | MIT License |
src/main/java/io/github/binaryfoo/decoders/apdu/InternalAuthenticateAPDUDecoder.kt | binaryfoo | 24,409,565 | false | null | package io.github.binaryfoo.decoders.apdu
import io.github.binaryfoo.DecodedData
import io.github.binaryfoo.decoders.DecodeSession
import io.github.binaryfoo.decoders.PopulatedDOLDecoder
import io.github.binaryfoo.EmvTags
import java.util.logging.Logger
import kotlin.collections.listOf
import kotlin.text.substring
cl... | 7 | Kotlin | 57 | 136 | dda526e6b9d6e45a5d8b5c74217540a478f1154b | 1,566 | emv-bertlv | MIT License |
app/src/main/java/com/day/record/ui/day/DayTaskFragment.kt | JereChen11 | 326,435,207 | false | null | package com.day.record.ui.day
import android.content.Intent
import android.os.Bundle
import android.os.Handler
import android.os.Looper
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import androidx.lifecycle.ViewModelProvider
import andr... | 0 | Kotlin | 0 | 0 | f5a7c49f48ee3430f89860287351239808c6c41c | 5,685 | Day_Record | Apache License 2.0 |
chords-core/src/commonMain/kotlin/com.chrynan.chords/parser/Parser.kt | chRyNaN | 51,400,387 | false | null | package com.chrynan.chords.parser
/**
* A generic interface to parse an input into an output.
*
* @author chRyNaN
*/
interface Parser<IN, OUT> {
/**
* Parses the provided input [IN] and returns the output [OUT]. If an exception is encountered
* during the parsing process, then that exception will be... | 0 | Kotlin | 5 | 28 | 5a2e21c9b4789c878f0459e3d5c6fcfcbc66658d | 984 | chords | Apache License 2.0 |
src/test/kotlin/app/load/utility/ConverterTest.kt | uk-gov-mirror | 356,709,418 | false | null | package app.load.utility
import com.beust.klaxon.JsonObject
import io.kotest.assertions.throwables.shouldThrow
import io.kotest.core.spec.style.StringSpec
import io.kotest.matchers.should
import io.kotest.matchers.shouldBe
import io.kotest.matchers.shouldNotBe
import io.kotest.matchers.types.beInstanceOf
import java.t... | 0 | null | 1 | 0 | 9015c4827e4599ba44ee96735d929d456df4f4cd | 9,731 | historic-data-loader | MIT License |
compose/src/commonMain/kotlin/pro/respawn/kmmutils/compose/Haptics.kt | respawn-app | 557,470,802 | false | {"Kotlin": 209713} | @file:Suppress("unused")
package pro.respawn.kmmutils.compose
import androidx.compose.ui.hapticfeedback.HapticFeedback
import androidx.compose.ui.hapticfeedback.HapticFeedbackType
/**
* Plays a medium haptic feedback, similar to force-touch or long-tap effect.
*
* The effect can vary between platforms or be unava... | 0 | Kotlin | 0 | 59 | 72a0900574170c0c74072d0f0348558f2ff9e5d6 | 814 | KMPUtils | Apache License 2.0 |
src/main/kotlin/com/igorini/togepibot/gui/keyword/OopsKeyword.kt | igorini | 123,990,696 | false | null | package com.igorini.togepibot.gui.keyword
/** Represents a keyword for text and sound associated with "Oops" */
object OopsKeyword : Keyword() {
override fun folder() = "oops"
override fun voiceRus() = listOf("упс", "упсь")
override fun voiceEng() = listOf("oops", "oopsie")
override fun textRus() = voi... | 0 | Kotlin | 0 | 0 | 80de398881b5999dfd107b12c9a279915788306b | 412 | togepi-bot | Apache License 2.0 |
app/src/main/kotlin/dfialho/tveebot/app/repositories/FileStashRepository.kt | dfialho | 132,515,212 | false | null | package dfialho.tveebot.app.repositories
import dfialho.tveebot.app.components.FileStash
interface FileStashRepository {
fun insert(stashedFile: FileStash.StashedFile)
fun findByName(name: String): FileStash.StashedFile?
fun remove(name: String)
fun list(): List<FileStash.StashedFile>
}
| 3 | Kotlin | 0 | 0 | 9423027242154b4b199befcf4d8ee5f909861cb3 | 307 | tveebot | MIT License |
src/main/kotlin/net/ankertal/kafka/metamorphosis/PerformanceTest.kt | kertal | 164,400,512 | false | null | package net.ankertal.kafka.metamorphosis
import kotlinx.coroutines.*
import kotlinx.coroutines.channels.*
import org.apache.kafka.clients.producer.KafkaProducer
import org.apache.kafka.clients.producer.ProducerRecord
import org.apache.kafka.common.serialization.StringSerializer
import org.apache.log4j.LogManager
impor... | 0 | Kotlin | 1 | 1 | 53b3781285b632765d91202c6d353d7de682d70c | 2,481 | kafka-metamorphosis | MIT License |
proxy/src/main/kotlin/ys/phoebos/redis/proxy/worker/RxWorker.kt | phoebosys | 162,104,139 | false | null | /*
* Copyright Phoebosys
*
* 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 | 66a7768df9043e1edc1432e0c875c03ee9f433e7 | 4,434 | redis-remoteback | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.