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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
backend/src/main/kotlin/com/github/davinkevin/podcastserver/find/finders/francetv/FranceTvFinder.kt | davinkevin | 13,350,152 | false | null | package com.github.davinkevin.podcastserver.find.finders.francetv
import com.github.davinkevin.podcastserver.extension.java.util.orNull
import com.github.davinkevin.podcastserver.find.FindCoverInformation
import com.github.davinkevin.podcastserver.find.FindPodcastInformation
import com.github.davinkevin.podcastserver.... | 1 | null | 44 | 187 | 000c9d2625e62315577ba515ac98a62d23e9bfed | 2,258 | Podcast-Server | Apache License 2.0 |
funcify-feature-eng-materializer/src/main/kotlin/funcify/feature/materializer/session/GraphQLSingleRequestSessionFactory.kt | anticipasean | 458,910,592 | false | null | package funcify.feature.materializer.session
import funcify.feature.materializer.request.RawGraphQLRequest
import funcify.feature.tools.container.async.KFuture
import reactor.core.publisher.Mono
/**
*
* @author smccarron
* @created 2/20/22
*/
interface GraphQLSingleRequestSessionFactory {
fun createSessionFo... | 0 | Kotlin | 0 | 0 | 0a1a7d09fd2e16af359ea68d3c93a33d2fbc3335 | 428 | funcify-feature-eng | Apache License 2.0 |
src/main/kotlin/com/liftric/octopusdeploy/task/FirstCommitHashTask.kt | Liftric | 254,355,172 | false | {"Kotlin": 136774} | package com.liftric.octopusdeploy.task
import com.liftric.octopusdeploy.shell
import org.gradle.api.DefaultTask
import org.gradle.api.file.DirectoryProperty
import org.gradle.api.file.RegularFileProperty
import org.gradle.api.tasks.*
import org.gradle.work.DisableCachingByDefault
@DisableCachingByDefault(because = "G... | 1 | Kotlin | 0 | 3 | 3ec740049bdb3da354cc9c6840a81005e0fe8749 | 1,127 | octopus-deploy-plugin | MIT License |
settings-image/src/main/java/com/michaelflisar/settings/image/SettingsImageModule.kt | MFlisar | 256,263,996 | false | null | package com.michaelflisar.settings.image
import com.michaelflisar.settings.core.SettingsManager
import com.michaelflisar.settings.core.interfaces.ISettingsModule
class SettingsImageModule(private val requestCode: Int = 123) : ISettingsModule {
override val supportedTypes = listOf(
ImageSetting::class... | 0 | Kotlin | 0 | 2 | 5fc5264a9b2bfc108aab03e8925244d665c6a9d4 | 561 | Settings | Apache License 2.0 |
app/src/main/java/org/scottishtecharmy/soundscape/screens/onboarding/terms/TermsScreen.kt | Scottish-Tech-Army | 833,170,999 | false | {"Kotlin": 3492292, "C": 153623, "C++": 76956, "CMake": 2216, "Shell": 87} | package org.scottishtecharmy.soundscape.screens.onboarding.terms
import androidx.compose.foundation.background
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import android... | 37 | Kotlin | 2 | 3 | eddf0bd1dfcf25d9e3aa8a718d02e6c1653fbdb2 | 6,187 | Soundscape-Android | Apache License 2.0 |
app/libs/src/main/java/com/github/simonpham/verification/service/tiles/ShowTapsService.kt | Anuhya27 | 705,259,013 | false | {"Kotlin": 95433, "Java": 4614} | package com.github.simonpham.verification.service.tiles
import com.github.simonpham.verification.DATA_TYPE_INT
import com.github.simonpham.verification.SYSTEM_SHOW_TAPS
import com.github.simonpham.verification.service.BaseTileService
/**
* Created by <NAME> on 6/4/18.
* Email: <EMAIL>
*/
class ShowTapsService : B... | 0 | Kotlin | 0 | 0 | 48fd7b41e4abcc0af9663bada9904fee431dc8d2 | 834 | Clickable-and-non-clickable-elements-on-any-screen | MIT License |
adapty-ui/src/main/java/com/adapty/ui/internal/ui/PaywallViewModel.kt | adaptyteam | 635,216,932 | false | {"Kotlin": 341248} | @file:OptIn(InternalAdaptyApi::class)
package com.adapty.ui.internal.ui
import android.app.Activity
import androidx.compose.runtime.Composable
import androidx.compose.runtime.mutableStateMapOf
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.snapshotFlow
import androidx.lifecycle.ViewMod... | 2 | Kotlin | 2 | 20 | daf443ba2d297f3c71484c552a96cc576493324b | 18,172 | AdaptyUI-Android | MIT License |
app/src/main/java/com/example/recipeapp/dialogs/LoaderView.kt | AhmadIzaz | 544,530,210 | false | {"Kotlin": 58218} | package com.example.recipeapp.dialogs
import android.app.Dialog
import android.content.Context
import android.os.Bundle
import android.view.Window
import android.widget.ProgressBar
import com.example.recipeapp.R
import com.github.ybq.android.spinkit.style.ThreeBounce
class ProgressBarDialog(context: Context) : Dialog... | 0 | Kotlin | 0 | 0 | 2ac1fc9b3822e0482382adc9d280ee647550096a | 786 | recipe-app | Apache License 2.0 |
src/main/kotlin/mcx/cli/InitCommands.kt | mcenv | 558,700,207 | false | null | package mcx.cli
import com.mojang.brigadier.CommandDispatcher
import kotlinx.serialization.ExperimentalSerializationApi
import kotlinx.serialization.json.Json
import kotlinx.serialization.json.encodeToStream
import mcx.pass.Config
import java.nio.file.Paths
import kotlin.io.path.createDirectories
import kotlin.io.path... | 74 | Kotlin | 0 | 4 | 9c0991d3041340cc28981afc61377f5e36a90997 | 1,040 | mcx | MIT License |
app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaController.kt | micaelagimenez | 463,916,440 | true | {"Kotlin": 2275272} | package eu.kanade.tachiyomi.ui.manga
import android.content.Intent
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.activity.OnBackPressedDispatcherOwner
import androidx.appcompat.app.AlertDialog
import androidx.appcompat.app.AppCompatAc... | 0 | Kotlin | 0 | 0 | dee8c00005ddcdfa7599d4cc327002d3bb9b49d1 | 19,794 | tachiyomi | Apache License 2.0 |
src/test/kotlin/xyz/hetula/viola/model/PlaylistTest.kt | hetula | 105,060,567 | false | null | /*
* MIT License
*
* Copyright (c) 2017 <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 without limitation the rights
* to use, copy, modify, m... | 0 | Kotlin | 0 | 0 | eceaef948c49cd47afbc91967f1bb458fad6a8e6 | 1,728 | viola-core | MIT License |
app/src/main/java/com/powerincode/questionnaire_app/core/validators/errors/RuleError.kt | powerINcode | 170,272,984 | false | null | package com.powerincode.questionnaire_app.core.validators.errors
import android.support.annotation.StringRes
/**
* Created by powerman23rus on 28/02/2019.
*/
class RuleError(@StringRes val messageId : Int) {
} | 0 | Kotlin | 0 | 0 | d9da0f8bedbf5be094c8fe3d11b2b0703384b677 | 213 | QuestionnaireApp | Apache License 2.0 |
downloader/src/main/kotlin/vcs/Cvs.kt | oss-review-toolkit | 107,540,288 | false | null | /*
* Copyright (C) 2017 The ORT Project Authors (see <https://github.com/oss-review-toolkit/ort/blob/main/NOTICE>)
*
* 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.a... | 4 | null | 231 | 1,109 | dcd473072e61659a54b2c9e4e429d1a9ac7677ec | 2,675 | ort | Apache License 2.0 |
app/src/main/kotlin/gradle/kotlin/latest/store/domain/CatalogueRepository.kt | code-sherpas-academy | 563,007,234 | false | {"Kotlin": 4032} | package gradle.kotlin.latest.store.domain
interface CatalogueRepository {
fun find(productId: ProductId)
}
| 0 | Kotlin | 0 | 0 | 7c12f0053c75abbfc87c5f899245e54aede95313 | 113 | code-retreat-22-kotlin-starter-codesherpasrocks | MIT License |
sketch-extensions-compose/src/commonTest/kotlin/com/github/panpf/sketch/extensions/compose/test/util/ExtensionsComposeUtilsTest.kt | panpf | 14,798,941 | false | {"Kotlin": 2881356, "Shell": 1469} | package com.github.panpf.sketch.extensions.compose.test.util
class ExtensionsComposeUtilsTest {
// TODO test
} | 1 | Kotlin | 309 | 2,033 | ae155721bc43debe11edd9e93776163ab7500916 | 115 | sketch | Apache License 2.0 |
Text/src/main/java/org/operatorfoundation/text/MutableTextFactory.kt | OperatorFoundation | 770,602,291 | false | {"Kotlin": 2361} | package org.operatorfoundation.text
class MutableTextFactory {
} | 0 | Kotlin | 0 | 0 | efe6a679fcedd9049cbc4264d10d5284d0f93816 | 65 | TextAndroid | MIT License |
components-registry/src/main/kotlin/org/octopusden/octopus/jira/model/JiraComponentVersionRange.kt | octopusden | 695,114,451 | false | {"Maven POM": 4, "Text": 1, "Ignore List": 1, "Markdown": 1, "YAML": 4, "Java": 17, "Groovy": 1, "Kotlin": 17} | package org.octopusden.octopus.jira.model
import org.octopusden.octopus.releng.dto.JiraComponent
data class JiraComponentVersionRange(
val componentName: String,
val versionRange: String,
val jiraComponent: JiraComponent,
val distribution: Distribution,
val vcsSettings: VCSSettings
)
| 1 | Java | 0 | 1 | 514190747a9e83728b5eb8fa606a8dd036c4fcd7 | 307 | octopus-jira-utils | Apache License 2.0 |
src/com/github/korniloval/matlab/execution/MatlabRunConfigurationProducer.kt | fernandreu | 172,973,403 | false | {"Markdown": 1, "Text": 22, "Ignore List": 1, "XML": 7, "Kotlin": 62, "Java": 2, "M": 13, "MATLAB": 48, "Mathematica": 1, "MUF": 1, "Limbo": 1, "Objective-C": 1, "JFlex": 2} | package com.github.korniloval.matlab.execution
import com.github.korniloval.matlab.psi.MatlabFile
import com.intellij.execution.actions.ConfigurationContext
import com.intellij.execution.actions.RunConfigurationProducer
import com.intellij.openapi.util.Ref
import com.intellij.psi.PsiElement
class MatlabRunConfigurati... | 1 | null | 1 | 1 | 55f1420196da9d8be63b8974fd2c49a31dea960b | 1,498 | matlab-IntelliJ-plugin | MIT License |
compose/ui/ui-test/src/commonMain/kotlin/androidx/ui/test/GestureScopeStubs.kt | friederbluemle | 308,117,977 | false | {"Java Properties": 35, "INI": 2, "Text": 3510, "Gradle": 452, "Shell": 51, "Markdown": 44, "Ignore List": 36, "Java": 4777, "XML": 11093, "HTML": 17, "Kotlin": 4048, "Python": 32, "JSON": 41, "Proguard": 39, "Protocol Buffer Text Format": 2, "Ant Build System": 5, "Protocol Buffer": 7, "Batchfile": 10, "AIDL": 58, "AN... | /*
* 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... | 1 | null | 1 | 1 | 927dbc25ee5428c70b45f5c2a52166743405e775 | 7,380 | androidx | Apache License 2.0 |
compiler/testData/diagnostics/tests/inference/regressions/kt2283.kt | BradOselo | 367,097,840 | false | null | // !WITH_NEW_INFERENCE
//KT-2283 Bad diagnostics of failed type inference
package a
interface Foo<A>
fun <A, B> Foo<A>.map(f: (A) -> B): Foo<B> = object : Foo<B> {}
fun foo() {
val l: Foo<String> = object : Foo<String> {}
val m: Foo<String> = l.<!TYPE_INFERENCE_EXPECTED_TYPE_MISMATCH{OI}!>map { ppp -> <!CO... | 1 | null | 1 | 3 | 58c7aa9937334b7f3a70acca84a9ce59c35ab9d1 | 404 | kotlin | Apache License 2.0 |
app/src/main/java/de/mwvb/blockpuzzle/global/InfoActivity.kt | SoltauFintel | 289,993,707 | false | null | package com.urrecliner.blockpuzzle.global
import android.content.Intent
import android.os.Build
import android.os.Bundle
import android.widget.Toast
import androidx.appcompat.app.AppCompatActivity
import androidx.core.content.ContextCompat
import com.urrecliner.blockpuzzle.R
import com.urrecliner.blockpuzzle.game.Main... | 3 | null | 7 | 29 | 9b93f0d99ec9ecb9e1ae0d8e054f55df2e44f1e8 | 2,272 | blockpuzzle | MIT License |
js/js.translator/testData/box/polyfills/isView/isViewWithoutExistedIntrinsic.kt | JetBrains | 3,432,266 | false | null | // WITH_STDLIB
// TARGET_BACKEND: JS_IR
// FILE: main.js
ArrayBuffer.isView = undefined;
// FILE: main.kt
fun box(): String {
val intArr = intArrayOf(5, 4, 3, 2, 1)
val result = IntArray(5).apply { intArr.copyInto(this) }
assertEquals(result.joinToString(","), intArr.joinToString(","))
assertEquals(js... | 181 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 387 | kotlin | Apache License 2.0 |
plugins/kotlin/idea/src/org/jetbrains/kotlin/idea/configuration/ui/notifications/NewCodeStyleNotification.kt | JetBrains | 2,489,216 | 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.configuration.ui.notifications
import com.intellij.application.options.CodeStyle
import com.intellij.notification.*
import co... | 185 | null | 4309 | 13,119 | 6cc9ec2a0d40f5e32510681475c2d4282965fd8c | 2,881 | intellij-community | Apache License 2.0 |
vouchsdk/src/main/java/sg/vouch/vouchsdk/data/model/config/response/GreetingMessage.kt | alfonsAzhari | 220,177,198 | false | null | package sg.vouch.vouchsdk.data.model.config.response
import com.google.gson.annotations.SerializedName
data class GreetingMessage(
@SerializedName("text")
val text: String? = ""
) | 1 | null | 1 | 1 | db010361f4818d1fd58078901e323c4b7dfb1129 | 190 | VouchSDK-Android | MIT License |
compSystem/src/main/java/com/effective/android/component/system/view/SystemFragment.kt | hongqinghe | 224,094,848 | true | {"Kotlin": 626981, "Java": 194504, "JavaScript": 5984, "HTML": 3728} | package com.effective.android.component.system.view
import android.os.Bundle
import android.view.View
import androidx.fragment.app.Fragment
import androidx.fragment.app.FragmentPagerAdapter
import com.effective.android.base.fragment.BaseVmFragment
import com.effective.android.component.system.vm.SystemViewModel
import... | 0 | Kotlin | 0 | 0 | 6fbf34ade359e1300c5beb6a1aa7fa7fc1a8b557 | 3,355 | AndroidModularArchiteture | MIT License |
Shredsheets 3/core/src/com/bm/buildsite/controls/BsTextField.kt | Adam-Carstensen | 170,176,021 | false | null | package com.bm.buildsite.controls
import com.badlogic.gdx.scenes.scene2d.InputEvent
import com.badlogic.gdx.scenes.scene2d.InputListener
import com.bm.UserInterface
import com.kotcrab.vis.ui.widget.VisTextField
class BsTextField(defaultText: String, size: Int, style: VisTextField.VisTextFieldStyle = UserInterface.get... | 0 | Kotlin | 0 | 9 | 81690a2332b9c7488d2a61aaeb499dfe54190a60 | 842 | Shredsheets | MIT License |
domain/src/main/java/com/worldsnas/domain/repo/home/trending/TrendingFetcher.kt | worldsnas | 178,716,293 | false | {"Kotlin": 397002, "Java": 240871} | package com.worldsnas.domain.repo.home.trending
import com.worldsnas.domain.helpers.errorHandler
import com.worldsnas.domain.model.servermodels.MovieServerModel
import com.worldsnas.domain.model.servermodels.ResultsServerModel
import com.worldsnas.domain.repo.home.HomeAPI
import com.worldsnas.panther.RFetcher
import i... | 1 | Kotlin | 8 | 57 | c7d084d2cf2c4f9486337fe347d5d6b8b5806e0a | 677 | AIO | Apache License 2.0 |
muxer-commons/src/main/kotlin/pt/um/tf/taskmux/commons/messaging/CommonMessage.kt | Seriyin | 136,387,708 | false | {"Gradle": 1, "Gradle Kotlin DSL": 4, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "Markdown": 1, "Java Properties": 3, "Kotlin": 37, "Java": 1, "XML": 7} | package pt.um.tf.taskmux.commons.messaging
import java.io.Serializable
interface CommonMessage : Serializable
| 1 | null | 1 | 1 | 341af48e8a8746cf0b3b6cc80e85dd111686045c | 112 | TaskMuxer | MIT License |
runtime/commonMain/src/kotlinx/benchmark/Utils.kt | Kotlin | 162,275,279 | false | null | package kotlinx.benchmark
internal expect fun String.readFile(): String
internal expect fun String.writeFile(text: String)
internal expect inline fun measureNanoseconds(block: () -> Unit): Long | 61 | null | 40 | 506 | ca16384d6c5db66812c03dcf3b4a43e0c64b045a | 196 | kotlinx-benchmark | Apache License 2.0 |
app/src/main/java/com/takusemba/cropme/CropLayout.kt | GameFaceChat | 254,919,372 | false | null | /*
* Copyright (c) 2021 -<NAME> - All Rights Reserved
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge... | 32 | Kotlin | 3 | 4 | 3be066826d7e659dbe32c62c954c8b1f4af205e9 | 10,123 | GameFace-Android | MIT License |
sqldelight-compiler/src/main/kotlin/com/squareup/sqldelight/validation/InsertValidator.kt | Sathawale27 | 122,855,496 | false | null | /*
* 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 | null | 0 | 1 | 7391712b78307e40460ec9f5b7618ba1b594a44a | 4,087 | sqldelight | Apache License 2.0 |
library/src/main/java/com/otaliastudios/zoom/internal/StateController.kt | natario1 | 105,020,875 | false | null | package com.otaliastudios.zoom.internal
import android.view.MotionEvent
import androidx.annotation.IntDef
import com.otaliastudios.zoom.ZoomLogger
import com.otaliastudios.zoom.internal.StateController.Callback
/**
* Deals with touch input, holds the internal [state] integer,
* and applies special logic to touch in... | 26 | Kotlin | 147 | 942 | 8ced2e7b9d704ae16cbe9534bda34a65278d4cc4 | 7,397 | ZoomLayout | Apache License 2.0 |
plugins/uast-java/src/org/jetbrains/uast/java/declarations/JavaUVariable.kt | AlexeyTsvetkov | 17,321,988 | false | null | /*
* Copyright 2010-2016 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | 1 | null | 0 | 2 | 72a84083fbe50d3d12226925b94ed0fe86c9d794 | 4,806 | kotlin | Apache License 2.0 |
sample/kotlin/src/main/kotlin/com/datadog/android/sample/compose/InteractionSample.kt | DataDog | 219,536,756 | false | null | /*
* Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0.
* This product includes software developed at Datadog (https://www.datadoghq.com/).
* Copyright 2016-Present Datadog, Inc.
*/
@file:OptIn(ExperimentalMaterialApi::class)
package com.datadog.andr... | 33 | Kotlin | 39 | 86 | bcf0d12fd978df4e28848b007d5fcce9cb97df1c | 4,534 | dd-sdk-android | Apache License 2.0 |
koin-projects/koin-core/src/main/kotlin/org/koin/core/KoinContext.kt | JanStoltman | 148,633,650 | false | null | /*
* Copyright 2017-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | 1 | null | 1 | 1 | 1d95f051d02f62aa7cfb6faed899c4eec146c48e | 5,066 | koin | Apache License 2.0 |
koin-projects/koin-core/src/main/kotlin/org/koin/core/KoinContext.kt | JanStoltman | 148,633,650 | false | null | /*
* Copyright 2017-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | 1 | null | 1 | 1 | 1d95f051d02f62aa7cfb6faed899c4eec146c48e | 5,066 | koin | Apache License 2.0 |
src/main/kotlin/com/github/lppedd/cc/completion/providers/BodyCompletionProvider.kt | lppedd | 208,670,987 | false | {"Kotlin": 415756, "HTML": 49996, "Java": 9014, "Lex": 4027} | package com.github.lppedd.cc.completion.providers
import com.github.lppedd.cc.CC
import com.github.lppedd.cc.api.CommitBody
import com.github.lppedd.cc.api.CommitBodyProvider
import com.github.lppedd.cc.api.CommitTokenProviderService
import com.github.lppedd.cc.completion.resultset.ResultSet
import com.github.lppedd.c... | 34 | Kotlin | 19 | 333 | 5d55768a47a31a10147e7d69f2be261d028d1b85 | 2,170 | idea-conventional-commit | MIT License |
8vim/src/main/kotlin/inc/flide/vim8/lib/geometry/Pointer.kt | 8VIM | 72,917,629 | false | null | package inc.flide.vim8.lib.geometry
import androidx.annotation.RestrictTo
import arrow.core.Option
import arrow.core.elementAtOrNone
import arrow.core.firstOrNone
class PointerMap<P : Pointer>(val capacity: Int = 4, init: (Int) -> P) : Iterable<P> {
private val pointers: List<P> = List(capacity.coerceAtLeast(1)) ... | 73 | null | 61 | 461 | 089482f6bb5f715bc9168b8289957cee865573ae | 3,284 | 8VIM | Apache License 2.0 |
compiler/testData/codegen/box/innerNested/createNestedClass.kt | JakeWharton | 99,388,807 | false | null |
class A {
class B1
class B2(val x: Int)
class B3(val x: Long, val y: Int)
class B4(val str: String)
}
fun box(): String {
A.B1()
val b2 = A.B2(A.B3(42, 42).y)
return A.B4("OK").str
}
| 181 | null | 5748 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 214 | kotlin | Apache License 2.0 |
detekt-cli/src/main/kotlin/io/gitlab/arturbosch/detekt/cli/CliRunner.kt | detekt | 71,729,669 | false | null | package io.gitlab.arturbosch.detekt.cli
import io.github.detekt.tooling.api.AnalysisResult
import io.github.detekt.tooling.api.DetektCli
import io.github.detekt.tooling.api.UnexpectedError
import io.github.detekt.tooling.internal.DefaultAnalysisResult
import io.github.detekt.tooling.internal.EmptyContainer
import io.g... | 9 | null | 772 | 6,253 | c5d7ed3da2824534d0e15f8404ad4f1c59fb553c | 1,431 | detekt | Apache License 2.0 |
http4k-server/jetty/src/test/kotlin/org/http4k/stream/JettyStreamingTest.kt | http4k | 86,003,479 | false | null | package org.http4k.stream
import org.http4k.client.ApacheClient
import org.http4k.core.BodyMode.Stream
import org.http4k.core.HttpHandler
import org.http4k.server.Jetty
import org.http4k.server.ServerConfig
import org.http4k.streaming.StreamingContract
class JettyStreamingTest : StreamingContract() {
override fun... | 31 | null | 229 | 2,439 | e2764aed85080bc19eae6745e02c105444a2d8d8 | 484 | http4k | Apache License 2.0 |
mobile_app1/module346/src/main/java/module346packageKt0/Foo800.kt | uber-common | 294,831,672 | false | null | package module346packageKt0;
annotation class Foo800Fancy
@Foo800Fancy
class Foo800 {
fun foo0(){
module346packageKt0.Foo799().foo5()
}
fun foo1(){
foo0()
}
fun foo2(){
foo1()
}
fun foo3(){
foo2()
}
fun foo4(){
foo3()
}
fun foo5(){
foo4()
}
} | 6 | null | 6 | 72 | 9cc83148c1ca37d0f2b2fcb08c71ac04b3749e5e | 297 | android-build-eval | Apache License 2.0 |
src/commonMain/kotlin/com/soywiz/kpspemu/hle/modules/sceWlanDrv.kt | kpspemu | 108,654,928 | false | {"Gradle": 1, "Gradle Kotlin DSL": 1, "JSON": 3, "Java Properties": 1, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "JavaScript": 3, "Markdown": 1, "Kotlin": 275, "INI": 2, "HTML": 3, "XML": 3, "SVG": 2, "Java": 30, "YAML": 2, "C": 61, "Unix Assembly": 3, "Makefile": 12, "Motorola 68K Assembly": 3, "C++": 8... | package com.soywiz.kpspemu.hle.modules
import com.soywiz.kpspemu.*
import com.soywiz.kpspemu.cpu.*
import com.soywiz.kpspemu.hle.*
class sceWlanDrv(emulator: Emulator) : SceModule(emulator, "sceWlanDrv", 0x40010011, "wlan.prx", "sceWlan_Driver") {
fun sceWlanGetEtherAddr(cpu: CpuState): Unit = UNIMPLEMENTED(0x0C6... | 16 | Kotlin | 9 | 72 | 5ad15d161bef8baa40961ee508643306d933a50a | 845 | kpspemu | MIT License |
src/main/kotlin/org/jetbrains/numkt/SearchSortCount.kt | Kotlin | 225,367,588 | false | {"Kotlin": 435270, "C": 152277, "Python": 7577} | /*
* Copyright 2019 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 agreed to... | 11 | Kotlin | 11 | 313 | 2f1421883c201df60c57eaa4db4c3ee74dc40413 | 8,873 | kotlin-numpy | Apache License 2.0 |
src/main/kotlin/ru/yandex/money/tools/grafana/dsl/dashboard/DashboardBuilder.kt | arodrime | 176,972,313 | true | {"Kotlin": 92104, "Shell": 5947, "Batchfile": 2183, "Groovy": 25} | package ru.yandex.money.tools.grafana.dsl.dashboard
import ru.yandex.money.tools.grafana.dsl.DashboardElement
import ru.yandex.money.tools.grafana.dsl.datasource.Datasource
import ru.yandex.money.tools.grafana.dsl.datasource.NullDatasource
import ru.yandex.money.tools.grafana.dsl.panels.Panel
import ru.yandex.money.to... | 0 | Kotlin | 0 | 0 | 0eca3e89a579da88fe1ccd4f4794ff114fef7f3d | 2,097 | grafana-dashboard-dsl | MIT License |
prime-router/src/main/kotlin/cli/tests/TestReportStream.kt | tlosbo | 380,336,441 | true | {"Kotlin": 1153395, "CSS": 114042, "HCL": 98711, "HTML": 95370, "Shell": 72838, "JavaScript": 30442, "TypeScript": 24137, "Liquid": 22935, "PLpgSQL": 12858, "Python": 5842, "Makefile": 5603, "Dockerfile": 3100} | package gov.cdc.prime.router.cli
import com.fasterxml.jackson.databind.node.ArrayNode
import com.fasterxml.jackson.databind.node.ObjectNode
import com.fasterxml.jackson.module.kotlin.jacksonObjectMapper
import com.github.ajalt.clikt.core.CliktCommand
import com.github.ajalt.clikt.output.TermUi.echo
import com.github.a... | 1 | Kotlin | 0 | 0 | 80dad0d6b6c22f3c45f3bd7572437c5c1f0426f7 | 57,496 | prime-reportstream | Creative Commons Zero v1.0 Universal |
app/src/main/kotlin/no/nav/k9punsj/rest/web/dto/PleiepengerSøknadDto.kt | navikt | 216,808,662 | false | null | package no.nav.k9punsj.rest.web.dto
import com.fasterxml.jackson.annotation.JsonFormat
import no.nav.k9.søknad.felles.type.BegrunnelseForInnsending
import no.nav.k9punsj.domenetjenester.mappers.DurationMapper.somDuration
import no.nav.k9punsj.domenetjenester.mappers.DurationMapper.somTimerOgMinutter
import no.nav.k9pu... | 11 | Kotlin | 2 | 1 | 8885f36d61d4a12da79f9375921cdb153b6910a5 | 6,355 | k9-punsj | MIT License |
src/main/kotlin/ar/edu/utn/frba/tacs/tp/api/herocardsgame/integration/client/api/PowerstatsApi.kt | tacs-2021-1c-tp-hero-cards | 358,787,857 | false | {"Gradle": 1, "YAML": 3, "Dotenv": 1, "Gradle Kotlin DSL": 1, "Dockerfile": 1, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "Markdown": 1, "INI": 1, "JSON": 14, "Java": 1, "Kotlin": 132, "JavaScript": 1, "HTML": 1, "CSS": 1} | package ar.edu.utn.frba.tacs.tp.api.herocardsgame.integration.client.api
data class PowerstatsApi(
val response: String,
val error: String,
val intelligence: String,
val strength: String,
val speed: String,
val durability: String,
val power: String,
val combat: String
) | 20 | null | 1 | 1 | 5ddb882bfdef41c04eaca7a68afacbb2999457bb | 303 | hero-cards-game | MIT License |
color/src/commonMain/kotlin/com/maxkeppeler/sheets/color/utils/Utils.kt | maxkeppeler | 523,345,776 | false | {"Kotlin": 1337179, "Python": 4978, "Shell": 645} | /*
* Copyright (C) 2022-2024. <NAME> (https://www.maxkeppeler.com)
*
* 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... | 14 | Kotlin | 38 | 816 | 2af41f317228e982e261522717b6ef5838cd8b58 | 874 | sheets-compose-dialogs | Apache License 2.0 |
extension-compose/src/main/java/com/mapbox/maps/extension/compose/style/MapboxStyleComposable.kt | mapbox | 330,365,289 | false | null | package com.mapbox.maps.extension.compose.style
import androidx.compose.runtime.ComposableTargetMarker
/**
* Marks a composable function as being expected to be used inside another composable function that is
* also marked or inferred to be marked as a [MapboxStyleComposable].
*
* This will produce build warnings... | 216 | null | 131 | 472 | 2700dcaf18e70d23a19fc35b479bff6a2d490475 | 766 | mapbox-maps-android | Apache License 2.0 |
src/main/kotlin/com/github/openexw/convto/ui/ConvToDialog.kt | openexw | 524,566,895 | false | null | package com.github.openexw.convto.ui
import com.intellij.microservices.utils.D
import com.intellij.openapi.editor.impl.EditorImpl
import com.intellij.openapi.project.Project
import com.intellij.openapi.ui.DialogPanel
import com.intellij.openapi.ui.DialogWrapper
import com.intellij.ui.components.ActionLink
import com.i... | 0 | Kotlin | 0 | 0 | 407418a21008b1ac2fcd3cb4287306ecfcff1680 | 3,117 | convTo | Apache License 2.0 |
app/src/main/java/jp/osdn/gokigen/constants/IApplicationConstantConvert.kt | MRSa | 747,973,925 | false | {"Kotlin": 419417} | package jp.osdn.gokigen.constants
import jp.osdn.gokigen.mangle.R
import jp.osdn.gokigen.mangle.preference.IPreferencePropertyAccessor.Companion.CACHE_LIVE_VIEW_PICTURES
import jp.osdn.gokigen.mangle.preference.IPreferencePropertyAccessor.Companion.CAPTURE_BOTH_CAMERA_AND_LIVE_VIEW
import jp.osdn.gokigen.mangle.prefer... | 0 | Kotlin | 0 | 0 | aefaae141c4db6ed40d244ac0394802a6369ff76 | 11,113 | mangle | Freetype Project License |
api/src/main/kotlin/io/larbin/task/scenario/ScenarioRunner.kt | wadinj | 127,206,644 | false | null | package io.larbin.task.scenario
import com.mongodb.util.JSON
import io.larbin.api.scenario.entities.Scenario
import org.jsoup.Jsoup
import org.jsoup.nodes.Document
class ScenarioRunner(private val scenario: Scenario) : Runnable {
override fun run() {
}
private fun getDocumentFromScenario() {
va... | 0 | Kotlin | 0 | 0 | 3d18633b5fbce08f58517845bf2311b8837c0644 | 754 | Larbin | Apache License 2.0 |
app/src/main/java/com/cxz/wanandroid/base/BaseMvpListFragment.kt | iceCola7 | 130,371,805 | false | null | package com.cxz.wanandroid.base
import android.view.View
import androidx.recyclerview.widget.DefaultItemAnimator
import androidx.recyclerview.widget.LinearLayoutManager
import androidx.swiperefreshlayout.widget.SwipeRefreshLayout
import com.chad.library.adapter.base.listener.OnLoadMoreListener
import com.cxz.wanandroi... | 6 | Kotlin | 330 | 1,636 | 6e787718078fb1813893bebf852fc697aac566eb | 2,279 | WanAndroid | Apache License 2.0 |
stickyitemdecoration/src/main/java/com/github/panpf/recycler/sticky/internal/StickyItemPainter.kt | panpf | 134,932,163 | false | {"Kotlin": 85645} | /*
* Copyright (C) 2021 panpf <panpfpanpf@outlook.com>
*
* 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 applicabl... | 1 | Kotlin | 2 | 21 | cf13f793ffecd1891aac76db4d8edde2d65376fb | 8,603 | stickyitemdecoration | Apache License 2.0 |
apng_library/src/main/java/oupson/apng/Utils.kt | carkchard | 156,376,849 | false | null | package oupson.apng
import android.graphics.Bitmap
import android.graphics.Canvas
import java.io.ByteArrayOutputStream
class Utils {
companion object {
// Return true if png
fun isPng(byteArray: ByteArray): Boolean {
return byteArray.copyOfRange(0, 8).contentToString() == pngSignature... | 1 | null | 1 | 1 | 939b21135ee618bd3dd15a3fa77c02ceb9495b26 | 4,429 | Kapng-Android | MIT License |
src/main/kotlin/com/fiuba/asrekaf/service/UserService.kt | LaCumbancha | 267,180,144 | false | null | package com.fiuba.asrekaf.service
import com.fiuba.asrekaf.api.CommonMessage
import com.fiuba.asrekaf.api.UserApiKey
import com.fiuba.asrekaf.model.User
import com.fiuba.asrekaf.api.UserCreation
import com.fiuba.asrekaf.api.UserLogin
import com.fiuba.asrekaf.model.exception.DatabaseException
import com.fiuba.asrekaf.m... | 0 | Kotlin | 0 | 0 | d5d388e1a44713cd0f80253a85a056d58ebde927 | 2,522 | asrekaf-server | MIT License |
library/src/main/kotlin/com/connectrpc/UnaryBlockingCall.kt | connectrpc | 604,763,682 | false | null | // Copyright 2022-2023 The Connect Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or... | 9 | null | 6 | 65 | d921d9b924b9a8efb7984fb287cbd6607317a338 | 2,180 | connect-kotlin | Apache License 2.0 |
src/main/kotlin/io/spring/gradle/lock/model.kt | spring-attic | 117,897,703 | false | null | /*
* Copyright 2016-2017 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 agree... | 5 | null | 7 | 7 | 8e71161c3b90dfd0fd206cd476456ef4419d0093 | 1,376 | dependency-lock | Apache License 2.0 |
gmaven/src/test/kotlin/ru/rzn/gmyasoedov/gmaven/project/AspectJMavenPluginTest.kt | grisha9 | 586,299,688 | false | {"Kotlin": 433288, "Java": 262025, "HTML": 339} | package ru.rzn.gmyasoedov.gmaven.project
import com.intellij.compiler.CompilerConfiguration
import com.intellij.compiler.CompilerConfigurationImpl
import com.intellij.openapi.util.io.FileUtil
import com.intellij.pom.java.LanguageLevel
import junit.framework.TestCase
import ru.rzn.gmyasoedov.gmaven.MavenImportingTestCa... | 5 | Kotlin | 0 | 12 | d99dd67633a801b8fc09269def1564682a74ebcb | 12,597 | gmaven-plugin | Apache License 2.0 |
native/objcexport-header-generator/testData/headers/simpleDataClass/Foo.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... | data class SimpleDataClass(
val intValue: Int,
var intVar: Int,
val nullableDefaultStringValue: String? = ""
) | 181 | Kotlin | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 122 | kotlin | Apache License 2.0 |
test-kotest5/src/test/kotlin/io/micronaut/test/kotest5/PropertyValueTest.kt | micronaut-projects | 150,764,898 | false | null |
package io.micronaut.test.kotest5
import io.kotest.core.spec.style.AnnotationSpec
import io.kotest.matchers.shouldBe
import io.micronaut.context.annotation.Property
import io.micronaut.context.annotation.Value
import io.micronaut.test.extensions.kotest5.annotation.MicronautTest
@MicronautTest
@Property(name = "foo.b... | 56 | null | 60 | 81 | 0cff88d796cd0bf49378ad892056ebc33b334e2b | 731 | micronaut-test | Apache License 2.0 |
educational-core/src/com/jetbrains/edu/coursecreator/actions/stepik/CCPushSection.kt | aspineon | 271,016,030 | true | {"Kotlin": 2436418, "Java": 626749, "HTML": 131922, "CSS": 12844, "Python": 3994, "JavaScript": 315} | package com.jetbrains.edu.coursecreator.actions.stepik
import com.intellij.openapi.actionSystem.AnActionEvent
import com.intellij.openapi.actionSystem.CommonDataKeys
import com.intellij.openapi.progress.ProgressIndicator
import com.intellij.openapi.progress.ProgressManager
import com.intellij.openapi.progress.Task
imp... | 0 | null | 0 | 0 | ccb9d1072da3d214e0c03914b13af36c14f56bce | 4,455 | educational-plugin | Apache License 2.0 |
add-feature-layers/src/main/java/com/esri/arcgismaps/sample/addfeaturelayers/DownloadActivity.kt | Esri | 530,805,756 | false | null | package com.esri.arcgismaps.sample.addfeaturelayers
import android.content.Intent
import android.os.Bundle
import com.esri.arcgismaps.sample.sampleslib.DownloaderActivity
class DownloadActivity : DownloaderActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)... | 4 | Kotlin | 1 | 7 | ccd500fade28401e2730eb7f7b92dcb8fcca419e | 1,092 | arcgis-maps-sdk-kotlin-samples | Apache License 2.0 |
app/src/main/java/io/github/ytam/rickandmorty/ui/character/filterbottomsheet/FilterBottomSheetFragment.kt | ytam | 337,168,309 | false | null | package io.github.ytam.rickandmorty.ui.character.filterbottomsheet
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.navigation.fragment.findNavController
import com.google.android.material.bottomsheet.BottomSheetDialogFragment
import com... | 0 | Kotlin | 2 | 2 | 16b5c289261a2cf622543f0a345111885c5792ab | 1,700 | RickAndMorty | Apache License 2.0 |
authresources/src/main/java/base/authresources/presentation/fragments/PinLoginFragment.kt | icarohs7 | 195,282,763 | false | {"Git Config": 1, "Python": 4, "Gradle Kotlin DSL": 35, "Java Properties": 1, "Shell": 1, "Text": 1, "Ignore List": 2, "XML": 274, "Batchfile": 1, "Markdown": 1, "Kotlin": 199, "Java": 1, "INI": 1, "Proguard": 2, "YAML": 1} | package base.authresources.presentation.fragments
import android.os.Bundle
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.core.os.bundleOf
import base.authresources.R
import base.authresources.databinding.FragmentPinLoginBinding
import base.authresources.domain.AuthenticationType
cla... | 1 | null | 1 | 1 | 03a6c01262a4e7bb99eaf73fff8215220a9d1e7a | 1,349 | unox-android-resmodules | MIT License |
src/main/kotlin/me/link/util/Generator.kt | artmkrvshn | 798,908,386 | false | {"Kotlin": 29223} | package me.link.util
interface Generator<T> {
fun generate(length: Int): T
} | 0 | Kotlin | 0 | 0 | d0726eb1b3808aa4b396543c1ec49bda856266cd | 83 | link-shortener | MIT License |
ktor-server/src/main/kotlin/org/diploma/data/responses/LoginResponse.kt | k-arabadzhiev | 515,181,907 | false | {"Kotlin": 309983} | package org.diploma.data.responses
import kotlinx.serialization.Serializable
@Serializable
data class LoginResponse(
val token: String? = null,
val message: String? = null
)
| 0 | Kotlin | 0 | 0 | e69e22d6aabffb3b4afe54cf9ef6a92007d5beb5 | 184 | Roommates | MIT License |
src/main/kotlin/therealfarfetchd/powerline/common/item/ItemSteelTubeSmall.kt | Darkstrumn | 131,374,601 | true | {"Kotlin": 369119, "Assembly": 52301, "Shell": 2306, "GLSL": 1113} | /*
* Copyright (c) 2017 <NAME> (the_real_farfetchd)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
* documentation files (the "Software"), to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, m... | 0 | Kotlin | 0 | 0 | 9c5f4d614eb7af91dec06400a658b0c6eb9fb656 | 1,501 | HCTM | MIT License |
src/main/kotlin/pw/mihou/traveler/logger/adapters/DefaultLoggingAdapter.kt | ShindouMihou | 726,781,332 | false | {"Kotlin": 34764} | package pw.mihou.traveler.logger.adapters
import org.slf4j.Logger
import org.slf4j.LoggerFactory
import pw.mihou.traveler.Traveler
import pw.mihou.traveler.logger.LoggingAdapter
class DefaultLoggingAdapter : LoggingAdapter {
private val logger: Logger = LoggerFactory.getLogger(Traveler::class.java)
override ... | 0 | Kotlin | 0 | 0 | 5fad86c172e04ac4e5d0b2410fd621b560454cb6 | 733 | traveler | Apache License 2.0 |
app/src/main/java/org/cuieney/videolife/kotlin/presenter/VeerCategoryPresenter.kt | daimaren | 117,340,535 | false | {"Java": 2209060, "Kotlin": 129101, "GLSL": 5616, "CMake": 514} | package org.cuieney.videolife.kotlin.presenter
import org.cuieney.videolife.common.api.VeerApiService
import org.cuieney.videolife.common.utils.RxUtil
import org.cuieney.videolife.entity.VeerListBean
import org.cuieney.videolife.kotlin.base.RxPresenter
import org.cuieney.videolife.kotlin.presenter.contract.VeerCategor... | 0 | Java | 1 | 3 | b9240c27d70760c357bb88c4f7acd4e9c529d528 | 1,099 | CloudPlayer | Microsoft Public License |
app/src/test/java/com/onlineassignment/fetchrewards/challenge/domain/usecase/GetGroupedHiringItemsUseCaseTest.kt | memoisdev | 862,079,394 | false | {"Kotlin": 19486} | package com.onlineassignment.fetchrewards.challenge.domain.usecase
import com.onlineassignment.fetchrewards.challenge.data.repository.HiringRepository
import com.onlineassignment.fetchrewards.challenge.domain.models.HiringItem
import io.mockk.coEvery
import io.mockk.mockk
import kotlinx.coroutines.runBlocking
import o... | 0 | Kotlin | 0 | 0 | 9594ef29e547e7d064cb85cb5c3fc79141913036 | 2,223 | FetchRewardsOA | MIT License |
src/test/kotlin/io/craigmiller160/kotlin/commons/math/MathFunctionsTest.kt | craigmiller160 | 99,267,409 | false | null | package io.craigmiller160.kotlin.commons.math
import org.junit.Test
import kotlin.test.assertEquals
class MathFunctionsTest {
@Test
fun testFactorial(){
val result = factorial(5)
assertEquals(120, result, "Wrong result of factorial")
}
@Test
fun testNumCombinations(){
var... | 0 | Kotlin | 0 | 0 | e44eec10e820cd8f5cb530cc3e268ccda6afe0e9 | 572 | KotlinCommons | Apache License 2.0 |
rounded/src/commonMain/kotlin/me/localx/icons/rounded/bold/TrainJourney.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.rounded.bold
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter
im... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 5,055 | icons | MIT License |
src/main/kotlin/task/NpmExecTask.kt | mpetuska | 324,739,843 | false | null | package dev.petuska.npm.publish.task
import dev.petuska.npm.publish.util.Builder
import org.apache.tools.ant.taskdefs.condition.Os
import org.gradle.api.tasks.InputFile
import org.gradle.process.ExecResult
import org.gradle.process.ExecSpec
import java.io.File
import javax.inject.Inject
/**
* Basic task for executin... | 4 | Kotlin | 6 | 51 | 52b69e58a616b64b4d67892330827a7415e39406 | 1,156 | npm-publish | Apache License 2.0 |
demo/src/test/kotlin/ServerTest.kt | lightningkite | 512,032,499 | false | {"Kotlin": 2373037, "TypeScript": 38628, "JavaScript": 118} | import com.lightningkite.lightningserver.db.DatabaseSettings
import com.lightningkite.lightningserverdemo.Server
import com.lightningkite.lightningserver.engine.UnitTestEngine
import com.lightningkite.lightningserver.engine.engine
import com.lightningkite.lightningserver.jsonschema.lightningServerSchema
import com.ligh... | 2 | Kotlin | 1 | 5 | 9b79393260565d327cff0be20f81338c239521b5 | 1,476 | lightning-server | MIT License |
app/src/main/java/ca/on/hojat/gamenews/core/domain/games/di/CoreModule.kt | hojat72elect | 574,228,468 | false | null | package ca.hojat.gamehub.core.domain.games.di
import ca.hojat.gamehub.core.domain.games.common.throttling.GamesRefreshingThrottlerKeyProvider
import ca.hojat.gamehub.core.domain.games.common.throttling.GamesRefreshingThrottlerKeyProviderImpl
import dagger.Binds
import dagger.Module
import dagger.hilt.InstallIn
import ... | 0 | Kotlin | 8 | 4 | b1c07551e90790ee3d273bc4c0ad3a5f97f71202 | 595 | GameHub | MIT License |
mas/app/src/main/java/com/mua/mobileattendance/fragment/LoginFragment.kt | maifeeulasad | 312,316,310 | false | null | package com.mua.mobileattendance.fragment
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.databinding.DataBindingUtil
import androidx.databinding.ViewDataBinding
import androidx.fragment.app.Fragment
import androidx.lifecycle.ViewModelP... | 0 | Kotlin | 0 | 0 | 208a57bf0f7f190cd027d8e6dc7de61106196eec | 1,155 | SDAS | MIT License |
authbase/src/main/java/ru/itsln/authbase/implementation/AuthLogic.kt | Andrushk | 127,116,110 | false | null | package ru.itsln.authbase.implementation
import android.arch.lifecycle.LiveData
import android.arch.lifecycle.MediatorLiveData
import android.arch.lifecycle.Observer
import android.arch.lifecycle.Transformations
import ru.itsln.authbase.accessories.Resource
import ru.itsln.authbase.contract.IAppContext
import ru.itsln... | 0 | Kotlin | 0 | 0 | 6dd96970cc90fac41b5333b74014acb4abdf940f | 2,609 | Authbase | Apache License 2.0 |
app/src/main/java/xyz/tberghuis/mylists/service/ImportBackupService.kt | tberghuis | 412,401,749 | false | {"Kotlin": 57745} | package xyz.tberghuis.mylists.service
import android.app.Activity
import android.content.Context
import android.content.Intent
import dagger.hilt.android.qualifiers.ApplicationContext
import xyz.tberghuis.mylists.MainActivity
import xyz.tberghuis.mylists.data.BackupSettings
import xyz.tberghuis.mylists.util.initSecure... | 13 | Kotlin | 0 | 0 | 7eadb77cb62e8ad80bdbd8f761bfbfde5e0a8054 | 1,433 | mylists | MIT License |
kafkistry-autopilot/src/main/kotlin/com/infobip/kafkistry/autopilot/binding/AutopilotBinding.kt | infobip | 456,885,171 | false | {"Kotlin": 2590613, "FreeMarker": 803040, "JavaScript": 297269, "CSS": 6804} | package com.infobip.kafkistry.autopilot.binding
/**
* Plugin point for autopilot's functionality.
* [com.infobip.kafkistry.autopilot.Autopilot] uses this [AutopilotAction] to discover/check/execute actions.
* Functions in this binding will be invoked periodically by autopilot.
*/
interface AutopilotBinding<A : Aut... | 2 | Kotlin | 6 | 42 | 4c8101069c813270d2f3c986b5b9f04dacda4a10 | 1,799 | kafkistry | Apache License 2.0 |
app/src/main/java/com/pierresousa/likemovie/ui/saved/SavedAdapter.kt | pierresousa | 738,689,784 | false | {"Kotlin": 24219} | package com.pierresousa.likemovie.ui.saved
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.recyclerview.widget.RecyclerView
import com.pierresousa.likemovie.R
import com.pierresousa.likemovie.databinding.MovieItemBinding
import com.pierresousa.likemovie.extensi... | 0 | Kotlin | 0 | 1 | fa0e2d3b92a1b6391d60e8e79c5f742ff64b1d87 | 2,412 | LikeMovie | MIT License |
kotlitex/src/main/java/io/github/karino2/kotlitex/functions/FunctionSqrt.kt | karino2 | 165,251,453 | false | null | package io.github.karino2.kotlitex.functions
import android.graphics.Path
import io.github.karino2.kotlitex.*
import io.github.karino2.kotlitex.RenderBuilderDelimiter.makeSqrtImage
import java.lang.IllegalArgumentException
/*
This file is the port of functions/sqrt.js
*/
object FunctionSqrt {
fun renderNodeBu... | 5 | Kotlin | 5 | 12 | 97c146758dfe8481283ef9d3a4220264156e1296 | 9,189 | kotlitex | MIT License |
samples/videoplayer/src/main/kotlin/Disposable.kt | mano7onam | 122,908,795 | false | null | /*
* 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 | null | 0 | 12 | d5169f2370a6b20ae91fc31999fe5ebefcb4344d | 2,703 | kotlin-native | Apache License 2.0 |
src/test/kotlin/no/nav/k9punsj/omsorgspengermidlertidigalene/MapOmsMATilK9FormatTest.kt | navikt | 216,808,662 | false | {"Kotlin": 1189291, "Handlebars": 65753, "Shell": 1141, "Dockerfile": 393} | package no.nav.k9punsj.omsorgspengermidlertidigalene
import no.nav.k9.søknad.felles.type.Periode
import no.nav.k9.søknad.ytelse.omsorgspenger.utvidetrett.v1.AnnenForelder.SituasjonType
import no.nav.k9.søknad.ytelse.omsorgspenger.utvidetrett.v1.OmsorgspengerMidlertidigAlene
import no.nav.k9punsj.felles.dto.PeriodeDto
... | 9 | Kotlin | 1 | 1 | bff1e590e25e57ba8e635a7e70eec732077212c0 | 2,580 | k9-punsj | MIT License |
app/src/main/java/cn/haohao/dbbook/di/ActivityModule.kt | githubhaohao | 95,271,877 | false | {"Gradle": 3, "Java Properties": 2, "Shell": 1, "Ignore List": 2, "Batchfile": 1, "Text": 1, "Markdown": 1, "Proguard": 1, "Java": 16, "XML": 52, "Kotlin": 60} | package cn.haohao.dbbook.di
import android.content.Context
import android.support.v7.app.AppCompatActivity
import cn.haohao.dbbook.di.scope.ActivityScope
import dagger.Module
import dagger.Provides
/**
* Created by HaohaoChang on 2017/6/12.
*/
@Module
abstract class ActivityModule(protected val activity: AppCompatA... | 1 | Kotlin | 32 | 163 | bc08d6dd89fc86304b2b95cc1c2b3f67b55ee451 | 514 | DoubanBook | Apache License 2.0 |
core/src/main/kotlin/cache/data/ClientStatusData.kt | lost-illusi0n | 383,626,467 | false | null | package dev.kord.core.cache.data
import dev.kord.common.entity.DiscordClientStatus
import dev.kord.common.entity.PresenceStatus
import dev.kord.common.entity.optional.Optional
import kotlinx.serialization.Serializable
@Serializable
data class ClientStatusData(
val desktop: Optional<PresenceStatus> = Optional.... | 0 | null | 0 | 1 | e3d97c249cd0c058c22a1b0a6cd1ddc729a3ea7c | 619 | kord | MIT License |
Ladefuchs/app/src/main/java/app/ladefuchs/android/helper/helpers.kt | Team-Ladefuchs | 393,058,314 | false | null | package app.ladefuchs.android.helper
import android.annotation.SuppressLint
import android.app.Dialog
import android.content.Context
import android.content.Intent
import android.content.pm.PackageManager
import android.content.res.Resources
import android.graphics.Color
import android.net.Uri
import android.os.Build
i... | 8 | null | 2 | 3 | 9aed1e5bc2892419fcf6149c3ec3942c80e45331 | 8,687 | ladefuchs-android | Apache License 2.0 |
src/main/kotlin/org/crystal/intellij/psi/CrCustomLeafElement.kt | asedunov | 353,165,557 | false | null | package org.crystal.intellij.psi
import com.intellij.psi.PsiElementVisitor
import com.intellij.psi.impl.source.tree.LeafPsiElement
import com.intellij.psi.tree.IElementType
abstract class CrCustomLeafElement(type: IElementType, text: CharSequence) : LeafPsiElement(type, text), CrElement {
override fun accept(visi... | 11 | Kotlin | 4 | 7 | 98863bdd951c4b40124ce26e0849bfe1c7c226f1 | 370 | intellij-crystal-lang | Apache License 2.0 |
app/src/main/java/io/horizontalsystems/bankwallet/modules/info/ErrorDisplayDialogFragment.kt | horizontalsystems | 142,825,178 | false | {"Kotlin": 4800349, "Shell": 6112, "Ruby": 1350} | package io.horizontalsystems.bankwallet.modules.info
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.compose.runtime.Composable
imp... | 100 | Kotlin | 340 | 778 | 454cb88a3f4687d77ffc3d2d878462f23b4b9dab | 3,272 | unstoppable-wallet-android | MIT License |
app/src/main/kotlin/com/jpaya/englishisfun/phrasals/data/db/PhrasalsDao.kt | jpaya17 | 254,323,532 | false | null | /*
* Copyright 2020 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... | 20 | Kotlin | 6 | 49 | 5f6b5583f1a259407e85f6ecad6333b208b98885 | 1,836 | englishisfun | Apache License 2.0 |
src/test/kotlin/org/monsim/impl/util/CardDrawerTest.kt | jimdmorgan | 310,986,865 | false | {"Maven POM": 1, "Ignore List": 1, "Text": 1, "Markdown": 1, "Kotlin": 122, "Java": 2} | package org.monsim.impl.util
import mu.KotlinLogging
import org.junit.jupiter.api.Assertions.*
import org.junit.jupiter.api.Test
import org.monsim.bean.domain.Card
import org.monsim.bean.domain.Game
import org.monsim.bean.domain.Pile
import org.monsim.impl.play.CardDrawerImpl
class CardDrawerTest {
private val lo... | 1 | null | 1 | 1 | 0c97854234c874a6e5fa4b649ec0ca7719d77c21 | 1,431 | monsim | MIT License |
src/main/kotlin/org/andcoe/adf/core/AdbOutput.kt | andcoe | 157,694,100 | false | null | package org.andcoe.adf.core
import org.andcoe.adf.devices.Device
import org.andcoe.adf.devices.DeviceId
enum class AdbOutput(val output: String) {
ADB_KILL_SERVER(""),
ADB_START_SERVER(
"""
* daemon not running; starting now at tcp:5037
* daemon started successfully
"""
),
ADB_WAIT_FOR_DEVICE(... | 0 | Kotlin | 0 | 3 | 700eb7a708a15977e603e0522604a79991938bbf | 2,350 | android-device-farm | Apache License 2.0 |
src/main/kotlin/org/andcoe/adf/core/AdbOutput.kt | andcoe | 157,694,100 | false | null | package org.andcoe.adf.core
import org.andcoe.adf.devices.Device
import org.andcoe.adf.devices.DeviceId
enum class AdbOutput(val output: String) {
ADB_KILL_SERVER(""),
ADB_START_SERVER(
"""
* daemon not running; starting now at tcp:5037
* daemon started successfully
"""
),
ADB_WAIT_FOR_DEVICE(... | 0 | Kotlin | 0 | 3 | 700eb7a708a15977e603e0522604a79991938bbf | 2,350 | android-device-farm | Apache License 2.0 |
app/src/main/java/org/simple/clinic/home/overdue/phonemask/PatientDetails.kt | sagarsrao | 193,637,561 | true | {"Kotlin": 2160428, "C": 680052, "Java": 8206, "Makefile": 635} | package org.simple.clinic.home.overdue.phonemask
data class PatientDetails(
val phoneNumber: String?,
val name: String,
val genderLetterRes: Int,
val age: Int
)
| 0 | Kotlin | 0 | 0 | bfcbf51b7abf251c9ddee64346b1edd62d6ceab9 | 178 | simple-android | MIT License |
app/src/main/java/org/p2p/wallet/alarmlogger/logger/AlarmErrorsLogger.kt | p2p-org | 306,035,988 | false | {"Kotlin": 4545395, "HTML": 3064848, "Java": 296567, "Groovy": 1601, "Shell": 1252} | package org.p2p.wallet.alarmlogger.logger
import timber.log.Timber
import java.math.BigInteger
import kotlinx.coroutines.CancellationException
import kotlinx.coroutines.launch
import org.p2p.core.common.di.AppScope
import org.p2p.core.crypto.Base58String
import org.p2p.core.crypto.toBase58Instance
import org.p2p.core.... | 8 | Kotlin | 18 | 34 | d091e18b7d88c936b7c6c627f4fec96bcf4a0356 | 7,232 | key-app-android | MIT License |
kt/godot-library/src/main/kotlin/godot/gen/godot/OccluderPolygon2D.kt | utopia-rise | 289,462,532 | false | null | // THIS FILE IS GENERATED! DO NOT EDIT IT MANUALLY!
@file:Suppress("PackageDirectoryMismatch", "unused", "FunctionName", "RedundantModalityModifier",
"UNCHECKED_CAST", "JoinDeclarationAndAssignment", "USELESS_CAST",
"RemoveRedundantQualifierName", "NOTHING_TO_INLINE", "NON_FINAL_MEMBER_IN_OBJECT",
"Redundan... | 64 | null | 39 | 580 | fd1af79075e7b918200aba3302496b70c76a2028 | 4,183 | godot-kotlin-jvm | MIT License |
macrobenchmark/src/main/kotlin/ir/erfansn/nsmavpn/benchmark/NsmaBackgroundBenchmark.kt | erfansn | 547,180,309 | false | {"Kotlin": 611093, "HTML": 313045} | /*
* Copyright 2024 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... | 13 | Kotlin | 1 | 35 | 230181bfc03b19bd5bb52818ee0b8b19078a4ec1 | 1,886 | NsmaVPN | Apache License 2.0 |
app/src/main/java/com/istu/schedule/data/enums/ListStatus.kt | imysko | 498,018,609 | false | {"Kotlin": 702754} | package com.istu.schedule.data.enums
enum class ListStatus {
None,
FirstLoading,
Loading,
NoNetwork,
Complete
}
| 1 | Kotlin | 0 | 2 | 0d7542e7d2864c8fe2edb4b266f48b89fcf01335 | 133 | Schedule-ISTU | MIT License |
library/lorcana-data/src/commonMain/kotlin/eu/codlab/lorcana/raw/SetDescription.kt | great-illuminary | 710,799,476 | false | {"Kotlin": 42337, "TypeScript": 4085, "Shell": 438} | package eu.codlab.lorcana.raw
import kotlinx.serialization.SerialName
enum class SetDescription {
@SerialName("tfc")
TFC,
@SerialName("rotf")
RotF,
@SerialName("iti")
ItI,
@SerialName("urr")
UrR,
@SerialName("ssk")
SSk,
@SerialName("p1")
P1,
@SerialName("p2")
... | 0 | Kotlin | 0 | 6 | e1e4d48b1dede0c066f1e7958446d8f5b538a516 | 432 | lorcana-data | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.