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/com/kylecorry/trail_sense/tools/maps/domain/sort/mappers/MapNameMapper.kt | kylecorry31 | 215,154,276 | false | {"Kotlin": 2589968, "Python": 22919, "HTML": 18863, "Shell": 5290, "CSS": 5120, "JavaScript": 3814, "Batchfile": 2553} | package com.kylecorry.trail_sense.tools.maps.domain.sort.mappers
import com.kylecorry.trail_sense.shared.grouping.mapping.ISuspendMapper
import com.kylecorry.trail_sense.tools.maps.domain.IMap
class MapNameMapper : ISuspendMapper<IMap, String> {
override suspend fun map(item: IMap): String {
return item.n... | 456 | Kotlin | 66 | 989 | 41176d17b498b2dcecbbe808fbe2ac638e90d104 | 331 | Trail-Sense | MIT License |
app/src/main/java/com/kylecorry/trail_sense/tools/maps/domain/sort/mappers/MapNameMapper.kt | kylecorry31 | 215,154,276 | false | {"Kotlin": 2589968, "Python": 22919, "HTML": 18863, "Shell": 5290, "CSS": 5120, "JavaScript": 3814, "Batchfile": 2553} | package com.kylecorry.trail_sense.tools.maps.domain.sort.mappers
import com.kylecorry.trail_sense.shared.grouping.mapping.ISuspendMapper
import com.kylecorry.trail_sense.tools.maps.domain.IMap
class MapNameMapper : ISuspendMapper<IMap, String> {
override suspend fun map(item: IMap): String {
return item.n... | 456 | Kotlin | 66 | 989 | 41176d17b498b2dcecbbe808fbe2ac638e90d104 | 331 | Trail-Sense | MIT License |
app/src/main/java/io/wookey/wallet/feature/setting/NodeListActivity.kt | WooKeyWallet | 176,637,569 | false | null | package io.wookey.wallet.feature.setting
import android.app.Activity
import android.arch.lifecycle.Observer
import android.arch.lifecycle.ViewModelProviders
import android.content.Intent
import android.net.Uri
import android.os.Bundle
import android.support.v4.content.ContextCompat
import android.support.v7.widget.Lin... | 6 | null | 20 | 23 | 93d0d6a4743e95ab2455bb6ae24b2cc6b616bd90 | 5,693 | monero-wallet-android-app | MIT License |
src/main/kotlin/br/com/alura/bytebank/modelo/Funcionario.kt | vitor-sb | 673,529,542 | false | {"Kotlin": 8845} | abstract class Funcionario(
val nome: String,
val cpf: String,
val salario: Double
) {
abstract val bonificacao: Double
} | 0 | Kotlin | 0 | 0 | da9fedd0a9dd435bcd748cfd62f361e3293c15dd | 137 | kotlin-paradigma-funcional | MIT License |
compiler/fir/analysis-tests/testData/resolve/overrides/simple.kt | android | 263,405,600 | false | null |
open class A {
open fun foo(): A = this
open fun bar(): A = this
open fun buz(p: A): A = this
}
class B : A() {
override fun foo(): B = this
fun bar(): B = this // Ambiguity, no override here (really it's just "missing override" and no ambiguity)
override fun buz(p: B): B = this //No override... | 1 | null | 37 | 316 | 74126637a097f5e6b099a7b7a4263468ecfda144 | 424 | kotlin | Apache License 2.0 |
lib/schedule/src/commonMain/kotlin/zakadabar/lib/schedule/data/PushJob.kt | spxbhuhb | 290,390,793 | false | null | /*
* Copyright © 2020-2021, Simplexion, Hungary and contributors. Use of this source code is governed by the Apache 2.0 license.
*/
package zakadabar.lib.schedule.data
import kotlinx.serialization.Serializable
import zakadabar.core.data.ActionBo
import zakadabar.core.data.ActionBoCompanion
import zakadabar.core.data... | 6 | null | 3 | 24 | 61ac92ff04eb53bff5b9a9b2649bd4866f469942 | 1,237 | zakadabar-stack | Apache License 2.0 |
android/fedmlsdk/src/main/java/ai/fedml/edge/utils/CpuUtils.kt | FedML-AI | 281,519,510 | false | null | package ai.fedml.edge.utils
import android.os.Build
import android.text.TextUtils
import java.io.BufferedReader
import java.io.IOException
import java.io.InputStreamReader
import java.io.RandomAccessFile
object CpuUtil {
private var mProcStatFile: RandomAccessFile? = null
private var mAppStatFile: RandomAcces... | 118 | Python | 601 | 2,523 | 1b18774ca80f904b6a2b89c729e31c6ec1a3688f | 4,107 | FedML | Apache License 2.0 |
src/main/kotlin/no/nav/sosialhjelp/innsyn/app/tokendings/TokendingsClientConfig.kt | navikt | 184,267,271 | false | {"Kotlin": 773484, "Dockerfile": 427} | package no.nav.sosialhjelp.innsyn.app.tokendings
import kotlinx.coroutines.runBlocking
import kotlinx.coroutines.slf4j.MDCContext
import no.nav.sosialhjelp.innsyn.app.ClientProperties
import no.nav.sosialhjelp.innsyn.utils.logger
import org.springframework.context.annotation.Bean
import org.springframework.context.ann... | 6 | Kotlin | 0 | 0 | 55867535dc0778572255c942102eb0a215302b0b | 1,285 | sosialhjelp-innsyn-api | MIT License |
src/main/kotlin/org/wfanet/measurement/loadtest/dataprovider/EdpSimulator.kt | world-federation-of-advertisers | 349,561,061 | false | null | // Copyright 2021 The Cross-Media Measurement 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 applic... | 98 | null | 9 | 36 | b5c84f8051cd189e55f8c43ee2b9cc3f3a75e353 | 69,636 | cross-media-measurement | Apache License 2.0 |
hmpps-sqs-spring-boot-autoconfigure/src/main/kotlin/uk/gov/justice/hmpps/sqs/HmppsSqsProperties.kt | ministryofjustice | 370,951,976 | false | {"Kotlin": 269780, "Shell": 3882} | package uk.gov.justice.hmpps.sqs
import org.springframework.boot.context.properties.ConfigurationProperties
import org.springframework.boot.context.properties.ConstructorBinding
@ConstructorBinding
@ConfigurationProperties(prefix = "hmpps.sqs")
data class HmppsSqsProperties(
val provider: String = "aws",
val regi... | 1 | Kotlin | 0 | 2 | a51d6983a20415dca4c6dbac3e499fd09d8f4bb3 | 6,403 | hmpps-spring-boot-sqs | MIT License |
src/main/kotlin/com/fournel/smilodon/config/SecurityConfig.kt | paulfournel | 784,785,441 | false | {"Kotlin": 81945, "Java": 759, "Dockerfile": 114} | package com.fournel.smilodon.config
import com.fournel.smilodon.user.JpaUserDetailsService
import org.springframework.context.annotation.Bean
import org.springframework.context.annotation.Configuration
import org.springframework.security.config.annotation.web.builders.HttpSecurity
import org.springframework.security.c... | 0 | Kotlin | 0 | 2 | 3d332bc86a1eef4c1256e419570bfeba71e11eaf | 1,946 | smilodon-backend | MIT License |
olm/src/commonTest/kotlin/io/github/matrixkt/olm/Utils.common.kt | Dominaezzz | 205,671,029 | false | null | package io.github.matrixkt.olm
import kotlin.contracts.ExperimentalContracts
import kotlin.contracts.InvocationKind
import kotlin.contracts.contract
@OptIn(ExperimentalContracts::class)
inline fun <T> withAccount(block: (Account) -> T): T {
contract {
callsInPlace(block, InvocationKind.EXACTLY_ONCE)
}... | 6 | Kotlin | 8 | 28 | 522e067eec51883f4859753c5ad9240a9535544f | 438 | matrix-kt | Apache License 2.0 |
xsolla-login-sdk/src/main/java/com/xsolla/android/login/entity/request/AuthViaDeviceIdBody.kt | xsolla | 233,092,015 | false | null | package com.xsolla.android.login.entity.request
import com.google.gson.annotations.SerializedName
data class AuthViaDeviceIdBody(
val device : String,
@SerializedName("device_id")
val deviceId: String
) | 1 | Kotlin | 5 | 9 | cf3861e571f3ebc45490d39c40b0f2698e835b2f | 216 | store-android-sdk | Apache License 2.0 |
composeApp/src/desktopMain/kotlin/main.kt | joreilly | 728,800,937 | false | null | import androidx.compose.desktop.ui.tooling.preview.Preview
import androidx.compose.runtime.Composable
import androidx.compose.ui.window.Window
import androidx.compose.ui.window.application
fun main() = application {
Window(onCloseRequest = ::exitApplication, title = "kotlin-multiplatform") {
App()
}
}
... | 6 | null | 8 | 98 | e3459b6bad15fbaa29ad544627fa121ec2df7b87 | 380 | ClimateTraceKMP | Apache License 2.0 |
app/src/main/java/com/alexbezhan/instagram/data/firebase/FirebaseUsersRepository.kt | alexbezhan | 129,704,036 | false | null | package com.app.instagram.data.firebase
import android.net.Uri
import androidx.lifecycle.LiveData
import com.app.instagram.common.Event
import com.app.instagram.common.EventBus
import com.app.instagram.common.task
import com.app.instagram.common.toUnit
import com.app.instagram.data.UsersRepository
import com.app.insta... | 4 | null | 58 | 177 | a55df4aa21d4c728fc415483796a98cf2c288be2 | 5,541 | Instagram-Clone-Kotlin | MIT License |
app/src/main/java/com/alexbezhan/instagram/data/firebase/FirebaseUsersRepository.kt | alexbezhan | 129,704,036 | false | null | package com.app.instagram.data.firebase
import android.net.Uri
import androidx.lifecycle.LiveData
import com.app.instagram.common.Event
import com.app.instagram.common.EventBus
import com.app.instagram.common.task
import com.app.instagram.common.toUnit
import com.app.instagram.data.UsersRepository
import com.app.insta... | 4 | null | 58 | 177 | a55df4aa21d4c728fc415483796a98cf2c288be2 | 5,541 | Instagram-Clone-Kotlin | MIT License |
idea/testData/wordSelection/TypeParameters/2.kt | JakeWharton | 99,388,807 | true | null | fun <selection><A, <caret>B></selection> foo() {
}
| 0 | Kotlin | 28 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 51 | kotlin | Apache License 2.0 |
app/src/main/java/cn/cqautotest/sunnybeach/ui/adapter/msg/LikeMsgAdapter.kt | anjiemo | 378,095,612 | false | null | package cn.cqautotest.sunnybeach.ui.adapter.msg
import android.annotation.SuppressLint
import android.view.ViewGroup
import androidx.core.text.parseAsHtml
import androidx.paging.PagingDataAdapter
import androidx.recyclerview.widget.RecyclerView
import cn.cqautotest.sunnybeach.databinding.LikeMsgListItemBinding
import ... | 0 | null | 18 | 95 | a2402da1cb6af963c829a69d9783053f15d866b5 | 2,595 | SunnyBeach | Apache License 2.0 |
core/reflection.jvm/src/kotlin/reflect/jvm/internal/ReflectionObjectRenderer.kt | JakeWharton | 99,388,807 | false | null | /*
* Copyright 2010-2015 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... | 181 | null | 5748 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 3,566 | kotlin | Apache License 2.0 |
demos/src/main/kotlin/scenes/MultipleObjects.kt | hannomalie | 330,376,962 | false | {"Kotlin": 1068277, "GLSL": 681257, "JavaScript": 3160, "Shell": 137, "Batchfile": 65} | package scenes
import de.hanno.hpengine.Engine
import de.hanno.hpengine.camera.Camera
import de.hanno.hpengine.component.CameraComponent
import de.hanno.hpengine.component.NameComponent
import de.hanno.hpengine.component.TransformComponent
import de.hanno.hpengine.graphics.envprobe.EnvironmentProbeComponent
import de.... | 0 | Kotlin | 0 | 0 | d0ecc78d2d90033758d480b2383d8d5c3d2febd3 | 2,709 | hpengine | MIT License |
project-system-gradle/src/com/android/tools/idea/projectsystem/gradle/GradleClassFileFinder.kt | JetBrains | 60,701,247 | false | null | /*
* Copyright (C) 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 app... | 3 | null | 221 | 925 | 71cc8d80cd2fa6899d69c7f908539c5a4ad08265 | 7,817 | android | Apache License 2.0 |
embrace-android-payload/src/main/kotlin/io/embrace/android/embracesdk/internal/config/instrumented/RedactionConfig.kt | embrace-io | 704,537,857 | false | {"Kotlin": 2981564, "C": 189341, "Java": 150268, "C++": 13140, "CMake": 4261} | package io.embrace.android.embracesdk.internal.config.instrumented
/**
* Declares how the SDK should redact sensitive data
*/
@Suppress("FunctionOnlyReturningConstant")
@Swazzled
object RedactionConfig {
/**
* Provides a list of sensitive keys whose values should be redacted on capture.
*
* sdk_c... | 11 | Kotlin | 11 | 134 | 896e9aadf568ba527c76ec66f6f440baed29d1ee | 417 | embrace-android-sdk | Apache License 2.0 |
ui/src/main/java/com/mpapps/marvelcompose/ui/views/character/viewmodel/CharacterDetailViewModel.kt | Erickjhoel | 856,824,213 | false | {"Kotlin": 72528} | package com.mpapps.marvelcompose.ui.views.character.viewmodel
import android.net.Uri
import androidx.lifecycle.viewModelScope
import com.google.gson.Gson
import com.mpapps.marvelcompose.domain.model.Characters
import com.mpapps.marvelcompose.domain.usecase.GetComicFromCharacterUseCase
import com.mpapps.marvelcompose.u... | 0 | Kotlin | 0 | 0 | 4e6140ca82dbe9e143f6aa3ea9aa2d64fefce1af | 2,307 | skeleton-Compose | Apache License 2.0 |
zoomimage-compose-sketch/src/main/java/com/github/panpf/zoomimage/compose/sketch/internal/AsyncImage.kt | panpf | 647,222,866 | false | null | package com.github.panpf.sketch.compose
import androidx.compose.runtime.Composable
import androidx.compose.runtime.NonRestartableComposable
import androidx.compose.runtime.Stable
import androidx.compose.runtime.remember
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui... | 7 | null | 308 | 42 | c2cc8758b6f3d0ad9b5fca9aed2e51903af555a3 | 21,056 | zoomimage | Apache License 2.0 |
libraries/tools/kotlin-gradle-plugin/src/common/kotlin/org/jetbrains/kotlin/gradle/targets/native/KotlinNativeTargetPreset.kt | JetBrains | 3,432,266 | false | null | /*
* Copyright 2010-2020 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.
*/
// Old package for compatibility
@file:Suppress("PackageDirectoryMismatch")
package org.jetbrains.kotlin.grad... | 132 | null | 5074 | 40,992 | 57fe6721e3afb154571eb36812fd8ef7ec9d2026 | 6,305 | kotlin | Apache License 2.0 |
app/src/main/java/com/example/animeapp/data/manga/MangaTitleData.kt | Kuxln | 692,382,534 | false | {"Kotlin": 96156} | package com.example.animeapp.data.manga
data class MangaApiResponse (
val data: List<MangaTitleData>? = null,
val links: MangaLinks? = null
)
data class MangaTitleData (
val id: String? = null,
val attributes: MangaAttributes? = null
)
data class MangaLinks (
val next: String? = null
)
data class... | 0 | Kotlin | 0 | 0 | c1acec56060b4462c6738ff47ac76cae3c5eabd9 | 739 | AnimeApp | Apache License 2.0 |
lib/kt/REC/ephemerisDataLine.kt | DigitalArsenal | 252,182,359 | false | null | // automatically generated by the FlatBuffers compiler, do not modify
import com.google.flatbuffers.BaseVector
import com.google.flatbuffers.BooleanVector
import com.google.flatbuffers.ByteVector
import com.google.flatbuffers.Constants
import com.google.flatbuffers.DoubleVector
import com.google.flatbuffers.FlatBuffer... | 4 | null | 7 | 19 | 0a4bb4828fa8fe30758a2c5180b0b82b59cf17e5 | 5,570 | spacedatastandards.org | Apache License 2.0 |
_dialog/compose-dialog-assertion/src/main/java/io/androidalatan/compose/dialog/assertion/MockComposeAlertDialog.kt | android-alatan | 465,390,434 | false | null | package io.androidalatan.compose.dialog.assertion
import io.androidalatan.compose.dialog.api.ComposeAlertDialog
class MockComposeAlertDialog(
private val positiveButtonClickListener: ComposeAlertDialog.ButtonClickListener?,
private val negativeButtonClickListener: ComposeAlertDialog.ButtonClickListener?
) : C... | 1 | Kotlin | 1 | 0 | 360274ca592da67575042469b80487b4e3daf761 | 1,031 | Alerts | MIT License |
dsl/src/main/kotlin/io/cloudshiftdev/awscdkdsl/services/cognito/ResourceServerScopeDsl.kt | cloudshiftinc | 667,063,030 | false | {"Kotlin": 63959868} | @file:Suppress(
"RedundantVisibilityModifier",
"RedundantUnitReturnType",
"RemoveRedundantQualifierName",
"unused",
"UnusedImport",
"ClassName",
"REDUNDANT_PROJECTION",
"DEPRECATION"
)
package cloudshift.awscdk.dsl.services.cognito
import cloudshift.awscdk.common.CdkDslMarker
import ko... | 3 | Kotlin | 0 | 3 | c59c6292cf08f0fc3280d61e7f8cff813a608a62 | 2,180 | awscdk-dsl-kotlin | Apache License 2.0 |
libraries/apollo-compiler/src/main/kotlin/com/apollographql/apollo/compiler/codegen/kotlin/operations/FragmentModelsBuilder.kt | apollographql | 69,469,299 | false | {"Kotlin": 3463807, "Java": 198208, "CSS": 34435, "HTML": 5844, "JavaScript": 1191} | package com.apollographql.apollo3.compiler.codegen.kotlin.operations
import com.apollographql.apollo3.compiler.codegen.fragmentPackageName
import com.apollographql.apollo3.compiler.codegen.kotlin.CgFile
import com.apollographql.apollo3.compiler.codegen.kotlin.CgFileBuilder
import com.apollographql.apollo3.compiler.cod... | 174 | Kotlin | 659 | 3,750 | 174cb227efe76672cf2beac1affc7054f6bb2892 | 2,096 | apollo-kotlin | MIT License |
android-compose/inventory-app/app/src/main/java/com/example/inventory/ui/home/HomeViewModel.kt | mrgsrylm | 740,344,950 | false | null | package com.notas.inventory
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.notas.inventory.data.Item
import com.notas.inventory.data.ItemsRepository
import kotlinx.coroutines.flow.SharingStarted
import kotlinx.coroutines.flow.StateFlow
import kotlinx.coroutines.flow.map
import ... | 0 | null | 0 | 1 | 719dca756600fbdd75c228cd0998ddceb0ac63bc | 1,048 | kotlin-sandbox | MIT License |
core/model/src/main/java/com/tydev/imageGenerator/core/model/data/Message.kt | taiyoungkim | 644,446,711 | false | null | package com.tydev.imagegenerator.core.model.data
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
data class Message(
@SerialName("role")
val role: String,
@SerialName("content")
val content: String
)
| 0 | Kotlin | 0 | 0 | 67392a8578c4195699cdd48ec6a2f5a978132437 | 267 | ImageGenerator | Apache License 2.0 |
src/jsMain/kotlin/Main.kt | kgit2 | 553,675,958 | false | {"Kotlin": 56864, "Just": 2746, "Rust": 1393, "JavaScript": 624, "Ruby": 354, "Dockerfile": 155} | @file:Suppress("UNCHECKED_CAST_TO_EXTERNAL_INTERFACE")
import child_process.ChildProcess
import child_process.ChildProcessByStdio
fun main() {
val module = js("require('child_process')")
val options: dynamic = js("{stdio: [0, 1, 2]}")
val child: ChildProcess = module.spawn("ls", arrayOf("-l"), options) as... | 1 | Kotlin | 0 | 37 | 71039e68febcef6352dfd9b872b7f93a6d83911d | 414 | kommand | Apache License 2.0 |
ktor-client/ktor-client-curl/desktop/src/io/ktor/client/engine/curl/internal/CurlAdapters.kt | ktorio | 40,136,600 | false | null | /*
* Copyright 2014-2019 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license.
*/
package io.ktor.client.engine.curl.internal
import io.ktor.client.engine.*
import io.ktor.client.engine.curl.*
import io.ktor.client.request.*
import io.ktor.http.*
import kotlinx.cinterop.*
... | 269 | null | 976 | 9,709 | 9e0eb99aa2a0a6bc095f162328525be1a76edb21 | 2,381 | ktor | Apache License 2.0 |
app/src/main/java/com/adematici/covidturkey/activity/SplashScreen.kt | aticiadem | 338,003,274 | false | null | package com.adematici.covidturkey.activity
import android.content.Intent
import android.os.Build
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.os.Handler
import android.os.Looper
import android.view.WindowInsets
import android.view.WindowManager
import com.adematici.covidturke... | 0 | Kotlin | 0 | 7 | 3299436f9d5b80cd34756684a0291a95a181e8c7 | 1,084 | CovidTurkeyProject | MIT License |
common/src/main/java/com/edgeverse/wallet/common/utils/KotlinExt.kt | finn-exchange | 512,140,809 | false | null | package com.edgeverse.wallet.common.utils
import android.net.Uri
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Deferred
import kotlinx.coroutines.async
import java.io.InputStream
import java.math.BigDecimal
import java.math.BigInteger
import java.util.concurrent.TimeUnit
private val PERCENTAGE_MU... | 0 | Kotlin | 1 | 0 | 6cc7a0a4abb773daf3da781b7bd1dda5dbf9b01d | 4,669 | edgeverse-wallet | Apache License 2.0 |
features/budget/src/main/java/com/anangkur/budgetku/budget/view/selectCategory/SelectCategoryActionListener.kt | anangkur | 270,303,728 | false | null | package com.anangkur.budgetku.budget.view.selectCategory
import com.anangkur.budgetku.budget.model.CategoryUiModel
interface SelectCategoryActionListener {
fun onClickCategory(data: CategoryUiModel)
} | 10 | null | 0 | 3 | 82dc439d0df25cc894de5fc8d2604f1670c6cf31 | 206 | Budget-Ku | MIT License |
eos-chain-actions/src/test/kotlin/com/memtrip/eos/chain/actions/transaction/TransferChainTest.kt | memtrip | 149,500,589 | false | null | package io.golos.commun4j.chain.actions.transaction
import com.memtrip.eos.chain.actions.Config
import com.memtrip.eos.chain.actions.SetupTransactions
import com.memtrip.eos.chain.actions.generateUniqueAccountName
import com.memtrip.eos.chain.actions.transaction.transfer.TransferChain
import com.memtrip.eos.chain.act... | 5 | null | 3 | 38 | 30006ce7047843ba3f2f8d43d657c7e7627a63ca | 5,526 | eos-jvm | Apache License 2.0 |
app/src/main/java/me/stanis/apps/minwos/ui/fragments/networks/NetworksFragment.kt | fstanis | 267,702,828 | false | null | /*
* Copyright 2020 Google LLC
*
* 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 ... | 0 | Kotlin | 0 | 3 | 798046449dea912378337243aee3c33c1b28a152 | 4,984 | miNWos | Apache License 2.0 |
app/src/main/java/com/kcteam/features/billing/api/AddBillingRepo.kt | DebashisINT | 558,234,039 | false | null | package com.keshavindustryfsm.features.billing.api
import android.content.Context
import android.net.Uri
import com.fasterxml.jackson.databind.ObjectMapper
import com.keshavindustryfsm.app.FileUtils
import com.keshavindustryfsm.base.BaseResponse
import com.keshavindustryfsm.features.billing.model.AddBillingInputParams... | 0 | null | 1 | 1 | a9aabcf48662c76db18bcece75cae9ac961da1ed | 2,582 | NationalPlastic | Apache License 2.0 |
mediator/src/test/kotlin/no/nav/dagpenger/saksbehandling/mottak/RapidFilterBehandlingOpprettetMottakTest.kt | navikt | 571,475,339 | false | {"Kotlin": 322044, "PLpgSQL": 7983, "Mustache": 4238, "HTML": 699, "Dockerfile": 77} | package no.nav.dagpenger.saksbehandling.mottak
import io.kotest.matchers.shouldBe
import no.nav.helse.rapids_rivers.JsonMessage
import no.nav.helse.rapids_rivers.MessageContext
import no.nav.helse.rapids_rivers.MessageProblems
import no.nav.helse.rapids_rivers.RapidsConnection
import no.nav.helse.rapids_rivers.River
i... | 1 | Kotlin | 0 | 0 | a1f4966ffb0ce62bbc587919cba93a355995987c | 2,904 | dp-saksbehandling | MIT License |
kotlin/demo/src/main/kotlin/com/uap/demo/service/GitHubService.kt | emanuelpeg | 496,223,575 | false | {"Kotlin": 6989, "Scala": 3681, "Clojure": 3625, "Groovy": 3573, "Java": 1906} | package com.uap.demo.service
import com.uap.demo.client.GitHubClient
import org.springframework.cache.annotation.Cacheable
import org.springframework.stereotype.Service
import retrofit2.Retrofit
import retrofit2.converter.gson.GsonConverterFactory
interface GitHubService {
fun getLanguages(userName: String): Li... | 0 | Kotlin | 0 | 1 | 101a21f133dfbe5744d13c395e232e42a60bf215 | 1,690 | profile | Apache License 2.0 |
kotlin/demo/src/main/kotlin/com/uap/demo/service/GitHubService.kt | emanuelpeg | 496,223,575 | false | {"Kotlin": 6989, "Scala": 3681, "Clojure": 3625, "Groovy": 3573, "Java": 1906} | package com.uap.demo.service
import com.uap.demo.client.GitHubClient
import org.springframework.cache.annotation.Cacheable
import org.springframework.stereotype.Service
import retrofit2.Retrofit
import retrofit2.converter.gson.GsonConverterFactory
interface GitHubService {
fun getLanguages(userName: String): Li... | 0 | Kotlin | 0 | 1 | 101a21f133dfbe5744d13c395e232e42a60bf215 | 1,690 | profile | Apache License 2.0 |
domain/src/main/java/com/oguzdogdu/domain/usecase/favorites/GetDeleteFromFavoritesUseCaseImpl.kt | oguzsout | 616,912,430 | false | {"Kotlin": 470573} | package com.oguzdogdu.domain.usecase.favorites
import com.oguzdogdu.domain.model.favorites.FavoriteImages
import com.oguzdogdu.domain.repository.WallpaperRepository
import javax.inject.Inject
class GetDeleteFromFavoritesUseCaseImpl
@Inject constructor(private val repository: WallpaperRepository) : GetDeleteFromFavori... | 0 | Kotlin | 0 | 8 | 4ef08ffb85f49798251c8a15e81e7d3f0804524e | 450 | Wallies | MIT License |
AOS/RunWithMe/app/src/main/java/com/ssafy/runwithme/view/recommend/ScrapDialog.kt | HanYeop | 531,735,030 | false | {"Kotlin": 709496, "Java": 423758, "JavaScript": 47091, "CSS": 6540, "HTML": 2192, "Shell": 199, "Dockerfile": 176} | package com.ssafy.runwithme.view.recommend
import android.app.Dialog
import android.content.Context
import android.graphics.Color
import android.graphics.drawable.ColorDrawable
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import androidx.databinding.DataBindingUtil
import com.ss... | 0 | Kotlin | 0 | 4 | bf0a00a69c40361dbe44a8a3e159c9b69f1ade6f | 2,120 | RunWithMe | MIT License |
app/src/main/java/io/korostenskyi/chestnut/presentation/screen/settings/SettingsState.kt | korostenskyi | 401,812,198 | false | null | package io.korostenskyi.chestnut.presentation.screen.settings
import io.korostenskyi.chestnut.domain.model.ApplicationSettings
sealed class SettingsState {
object Idle : SettingsState()
data class Loaded(val settings: ApplicationSettings) : SettingsState()
}
| 3 | Kotlin | 0 | 0 | 5c7e285cb495e83bf9d9d29817fd0eb76f601a35 | 271 | Chestnut-Compose | MIT License |
vector/src/main/java/im/vector/directory/people/detail/PeopleDetailAdapter.kt | fhirfactory | 268,744,462 | true | {"Shell": 23, "Gradle": 3, "Java Properties": 2, "Markdown": 4, "Text": 4, "Ignore List": 2, "Batchfile": 1, "reStructuredText": 2, "YAML": 2, "Proguard": 1, "XML": 441, "Kotlin": 269, "Java": 180, "JSON": 3, "HTML": 3, "JavaScript": 5} | package im.vector.directory.people.detail
import android.content.Context
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import androidx.recyclerview.widget.RecyclerView
import im.vector.Matrix
import im.vector.R
import im.vector.directory.people... | 3 | Java | 0 | 2 | f74e29711e6a2927784cb9d7581596f53d30a5cd | 4,282 | pegacorn-communicate-app-android | Apache License 2.0 |
adoptium-updater-parent/adoptium-api-v3-updater/src/main/kotlin/net/adoptium/api/v3/ReleaseIncludeFilter.kt | adoptium | 349,432,712 | false | null | package net.adoptium.api.v3
import net.adoptium.api.v3.config.APIConfig
import net.adoptium.api.v3.mapping.ReleaseMapper
import net.adoptium.api.v3.models.Vendor
import java.time.Duration
import java.time.ZonedDateTime
enum class ReleaseFilterType {
RELEASES_ONLY,
SNAPSHOTS_ONLY,
ALL
}
class ReleaseInclu... | 26 | null | 26 | 34 | f7ee106a1ace802a4f57a01ed9c1baf378e0c5ab | 1,933 | api.adoptium.net | Apache License 2.0 |
adoptium-updater-parent/adoptium-api-v3-updater/src/main/kotlin/net/adoptium/api/v3/ReleaseIncludeFilter.kt | adoptium | 349,432,712 | false | null | package net.adoptium.api.v3
import net.adoptium.api.v3.config.APIConfig
import net.adoptium.api.v3.mapping.ReleaseMapper
import net.adoptium.api.v3.models.Vendor
import java.time.Duration
import java.time.ZonedDateTime
enum class ReleaseFilterType {
RELEASES_ONLY,
SNAPSHOTS_ONLY,
ALL
}
class ReleaseInclu... | 26 | null | 26 | 34 | f7ee106a1ace802a4f57a01ed9c1baf378e0c5ab | 1,933 | api.adoptium.net | Apache License 2.0 |
app/src/main/java/com/iamageo/movie/conn/MainRepository.kt | EASY-CODES | 399,637,051 | false | null | package com.iamageo.movie.conn
import com.iamageo.movie.conn.RetrofitService
class MainRepository constructor(private val retrofitService: RetrofitService) {
suspend fun getAllMovies() = retrofitService.getAllMovies()
}
| 0 | Kotlin | 0 | 0 | 6aaedebac7297e2c0229bfa4a239ca41dade070f | 228 | breakingbad_characters | MIT License |
mercado-livro/src/main/kotlin/com/mercadolivro/controller/response/BookResponse.kt | juliocarvalho2019 | 633,990,981 | false | null | package com.mercadolivro.controller.response
import com.mercadolivro.enums.BookStatus
import com.mercadolivro.model.CustomerModel
import java.math.BigDecimal
data class BookResponse(
var id: Int? = null,
var name: String,
var price: BigDecimal,
var customer: CustomerModel? = null,
var status: ... | 0 | null | 0 | 1 | a554bb1eeae0850d39e1e95c0ea3aa7cccdef71c | 341 | Mercado-livro | Apache License 2.0 |
spring-web/src/main/kotlin/org/springframework/web/client/RestOperationsExtensions.kt | koushikkothagal | 276,991,204 | false | null | /*
* Copyright 2002-2019 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 1 | null | 41 | 8 | 362e228142287f3f1042fa8a71c2ef4773f84e55 | 11,678 | spring-framework | Apache License 2.0 |
src/main/kotlin/com/example/validatecontrolcharacterssample/ValidateControlCharactersSampleApplication.kt | atr0phy | 628,216,843 | false | null | package com.example.validatecontrolcharacterssample
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.runApplication
@SpringBootApplication
class ValidateControlCharactersSampleApplication
fun main(args: Array<String>) {
runApplication<ValidateControlCharactersSa... | 0 | Kotlin | 0 | 1 | a52ded90ad526b834b8676a278a5bc5a9e6e3c35 | 346 | validate-control-characters-sample | MIT License |
feature/note/src/main/java/com/teamwiney/notecollection/NoteScreen.kt | AdultOfNineteen | 639,481,288 | false | null | package com.teamwiney.notecollection
import androidx.activity.compose.BackHandler
import androidx.compose.foundation.BorderStroke
import androidx.compose.foundation.background
import androidx.compose.foundation.border
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Arrangement
im... | 8 | null | 1 | 8 | 79f7635276bf5ac57d344233fea3c7eb40942315 | 14,947 | WINEY-Android | MIT License |
app/src/main/kotlin/com/tarantini/pantry/app/deps.kt | anthony-tarantini | 700,600,450 | false | {"Kotlin": 40742, "HTML": 19079, "HCL": 12504, "TypeScript": 8736, "JavaScript": 350, "SCSS": 148} | package com.tarantini.pantry.app
import com.sksamuel.hoplite.env.Environment
import com.tarantini.pantry.datastore.createDataSource
import com.tarantini.pantry.images.ImageService
import com.tarantini.pantry.item.ItemDatastore
import com.tarantini.pantry.item.ItemService
import com.tarantini.pantry.user.UserDatastore
... | 0 | Kotlin | 0 | 0 | d92b4819b74de5017932ce305191edc14d9ec913 | 2,265 | pantry-server | Apache License 2.0 |
ruby-call-signature/src/main/java/org/jetbrains/ruby/codeInsight/types/signature/serialization/RmcDirectory.kt | JetBrains | 85,180,339 | false | null | package org.jetbrains.ruby.codeInsight.types.signature.serialization
import org.jetbrains.ruby.codeInsight.types.signature.GemInfo
import org.jetbrains.ruby.codeInsight.types.signature.SignatureInfo
import java.io.*
import java.util.zip.GZIPInputStream
import java.util.zip.GZIPOutputStream
interface RmcDirectory {
... | 17 | null | 8 | 135 | df63525a226c4926614a3937546b570b68bc42aa | 2,040 | ruby-type-inference | Apache License 2.0 |
L2/hangman/app/src/main/java/com/example/hangman/Game.kt | Spiryd | 609,987,379 | false | {"Kotlin": 71319, "Java": 2655} | package com.example.hangman
class Game(word: String) {
var word: String
var numberOfFailedGuesses: Int = 0
var guessedChars: MutableList<Char> = mutableListOf()
var gameOver: Boolean = false
var gameWon: Boolean = false
init {
this.word = word
}
fun isWon(): Boolean{
v... | 0 | Kotlin | 0 | 0 | 68e31374c5e9f2c737bb970025affc017d7174ee | 1,335 | MobileApplications | The Unlicense |
src/main/kotlin/com/mt/notion/common/request/richText/EquationRequest.kt | motui | 479,945,371 | false | null | package com.mt.notion.common.request.richText
import com.mt.notion.common.Expression
import com.mt.notion.common.RichTextType
/**
* Equation
*
* Equation objects contain the following information within the equation property:
*
* @author it.motui
*/
data class EquationRequest(
override val annotations: Anno... | 0 | Kotlin | 0 | 1 | 80b7b256d8d7c34b15cf79d1e5f539c8ef4736b4 | 447 | notion-sdk-kotlin | MIT License |
compose/src/commonMain/kotlin/androidx/constraintlayout/core/parser/CLParser.kt | Lavmee | 711,725,142 | false | {"Kotlin": 3000082} | /*
* Copyright (C) 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 app... | 6 | Kotlin | 1 | 9 | 1109ad273c2434eecf2090299f10df50db0edb1c | 9,777 | constraintlayout-compose-multiplatform | Apache License 2.0 |
feature-ledger-impl/src/main/java/io/novafoundation/nova/feature_ledger_impl/domain/account/common/selectAddress/SelectAddressLedgerInteractor.kt | novasamatech | 415,834,480 | false | {"Kotlin": 7662708, "Java": 14723, "JavaScript": 425} | package io.novafoundation.nova.feature_ledger_impl.domain.account.common.selectAddress
import io.novafoundation.nova.feature_ledger_api.sdk.application.substrate.LedgerSubstrateAccount
import io.novafoundation.nova.feature_ledger_api.sdk.application.substrate.SubstrateLedgerApplication
import io.novafoundation.nova.fe... | 13 | Kotlin | 5 | 9 | 66a5c0949aee03a5ebe870a1b0d5fa3ae929516f | 2,841 | nova-wallet-android | Apache License 2.0 |
bgw-gui/src/main/kotlin/tools/aqua/bgw/animation/FlipAnimation.kt | tudo-aqua | 377,420,862 | false | {"Kotlin": 1198455, "TypeScript": 2013, "JavaScript": 1242, "HTML": 507, "CSS": 359, "Ruby": 131} | /*
* Copyright 2021-2023 The BoardGameWork Authors
* SPDX-License-Identifier: Apache-2.0
*
* 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... | 31 | Kotlin | 16 | 24 | 266db439e4443d10bc1ec7eb7d9032f29daf6981 | 1,672 | bgw | Apache License 2.0 |
primitive/src/commonTest/kotlin/kollections/ListTest.kt | aSoft-Ltd | 537,964,662 | false | {"Kotlin": 118799} | package kollections
import kommander.expect
import kotlin.test.Test
class ListTest {
@Test
fun should_be_able_to_create_an_empty_list() {
val list = listOf<Int>()
expect(list.size).toBe(0)
}
@Test
fun should_be_able_to_add_items_to_a_list() {
val list = mutableListOf<Int>(... | 0 | Kotlin | 1 | 7 | c67aa46ec5d02128cbcef7a276c652603b97a551 | 1,681 | kollections | MIT License |
messaging_rabbitmq/src/test/kotlin/com/hexagonkt/messaging/rabbitmq/RabbitMqClientTest.kt | ramyaravindranath | 410,515,677 | false | null | package com.hexagonkt.messaging.rabbitmq
import com.hexagonkt.helpers.Logger
import com.hexagonkt.messaging.rabbitmq.RabbitMqClient.Companion.createConnectionFactory
import com.hexagonkt.serialization.serialize
import org.testng.annotations.Test
import java.net.URI
import kotlin.test.assertFailsWith
@Test class Rabb... | 8 | null | 0 | 1 | 4e233a24af0fea9d10b4946e21a7d60d1f7c60f3 | 4,776 | hexagon_extra | MIT License |
compiler/testData/loadJava/compiledKotlinWithStdlib/contracts/logicOperators.kt | JakeWharton | 99,388,807 | false | null | // !LANGUAGE: +AllowContractsForCustomFunctions +ReadDeserializedContracts
// !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts
@file:Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE")
package test
import kotlin.contracts.*
fun orSequence(x: Any?, y: Any?, b: Boolean) {
contract {
returns() imp... | 181 | null | 5748 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 516 | kotlin | Apache License 2.0 |
app/src/main/java/nerd/tuxmobil/fahrplan/congress/notifications/NotificationHelper.kt | grote | 114,628,676 | false | null | package nerd.tuxmobil.fahrplan.congress.notifications
import android.app.Notification
import android.app.NotificationChannel
import android.app.NotificationManager
import android.app.PendingIntent
import android.content.Context
import android.content.ContextWrapper
import android.net.Uri
import android.os.Build
import... | 76 | null | 99 | 3 | 761d339bf804698760db17ba00990e164f90cff2 | 5,224 | EventFahrplan | Apache License 2.0 |
src/main/kotlin/no/nav/tjenestepensjon/simulering/v1/soap/NorwegianSoapResponseInterceptor.kt | navikt | 184,583,998 | false | {"Kotlin": 338844, "Dockerfile": 97} | package no.nav.tjenestepensjon.simulering.v1.soap
import io.github.oshai.kotlinlogging.KotlinLogging
import org.springframework.ws.WebServiceMessage
import org.springframework.ws.client.support.interceptor.ClientInterceptor
import org.springframework.ws.context.MessageContext
import javax.xml.transform.Transformer
imp... | 8 | Kotlin | 0 | 0 | f9180440c8a800035dffbb5363af7918072c6ac9 | 1,950 | tjenestepensjon-simulering | MIT License |
kohttp-test/src/test/kotlin/io/github/rybalkinsd/kohttp/interceptors/SigningInterceptorTest.kt | rybalkinsd | 141,764,280 | false | null | package io.github.rybalkinsd.kohttp.interceptors
import io.github.rybalkinsd.kohttp.client.defaultHttpClient
import io.github.rybalkinsd.kohttp.client.fork
import io.github.rybalkinsd.kohttp.dsl.httpGet
import io.github.rybalkinsd.kohttp.interceptors.SigningInterceptor
import io.github.rybalkinsd.kohttp.jackson.ext.as... | 38 | Kotlin | 41 | 470 | d7ea236df5bf899a73ebffe3ba8669074711c8df | 1,465 | kohttp | Apache License 2.0 |
test/com/intellij/completion/tracker/PrefixChangeListenerTest.kt | JetBrains | 45,971,220 | false | null | /*
* Copyright 2000-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... | 2 | null | 2 | 8 | 3db7f480f7996504ee4edf3265469c88f182cae3 | 2,698 | intellij-stats-collector | Apache License 2.0 |
runtime/src/test/java/io/novafoundation/nova/runtime/multiNetwork/asset/EvmErc20AssetSyncServiceTest.kt | novasamatech | 415,834,480 | false | null | package io.novafoundation.nova.runtime.multiNetwork.asset
import com.google.gson.Gson
import io.novafoundation.nova.core_db.dao.ChainAssetDao
import io.novafoundation.nova.core_db.dao.ChainDao
import io.novafoundation.nova.core_db.model.chain.AssetSourceLocal
import io.novafoundation.nova.core_db.model.chain.ChainAsse... | 5 | null | 9 | 9 | b39307cb56302ce7298582dbd03f33f6b2e2a807 | 5,983 | nova-wallet-android | Apache License 2.0 |
catalog/src/main/java/net/pixiv/charcoal/android/catalog/typography/TypographyActivity.kt | pixiv | 580,258,047 | false | {"Kotlin": 120287, "JavaScript": 12005, "Java": 2332} | package net.pixiv.charcoal.android.catalog.typography
import android.content.Context
import android.content.Intent
import android.os.Bundle
import android.view.MenuItem
import androidx.appcompat.app.AppCompatActivity
import com.wada811.viewbinding.viewBinding
import net.pixiv.charcoal.android.catalog.R
import net.pixi... | 10 | Kotlin | 5 | 28 | cd47a135bb1101c4171d36f7098eb135f6b53ab1 | 1,250 | charcoal-android | Apache License 2.0 |
app/src/main/java/com/prafullm/jetcomposer/screens/Home.kt | everton4292 | 380,003,498 | true | {"Kotlin": 31637} | package com.prafullm.jetcomposer.screens
import androidx.compose.animation.ExperimentalAnimationApi
import androidx.compose.foundation.Image
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.foundation.la... | 0 | null | 0 | 0 | 69a1dc31ea5f77da51f75fd07f6069051fbb375e | 5,657 | JetComposer | MIT License |
ambassador-application/src/main/kotlin/com/roche/ambassador/projects/ProjectHistoryDto.kt | filipowm | 409,076,487 | false | null | package com.roche.ambassador.projects
import com.fasterxml.jackson.annotation.JsonPropertyOrder
import com.roche.ambassador.model.Visibility
import com.roche.ambassador.storage.project.ProjectHistoryEntity
import java.time.LocalDate
import java.time.LocalDateTime
@JsonPropertyOrder("id", "name", "indexedDate", "score... | 22 | Kotlin | 0 | 9 | 87b3db67dea1a19df1011337babb42b068d21171 | 1,301 | the-ambassador | Apache License 2.0 |
app/src/main/java/com/thedefiapp/usecases/mappers/ConvertToPortfolioTotalBalanceUseCase.kt | saulmaos | 459,017,062 | false | null | package com.thedefiapp.usecases.mappers
import com.thedefiapp.data.models.PortfolioTotalBalance
import com.thedefiapp.data.remote.response.ComplexProtocolListResponse
import com.thedefiapp.data.remote.response.TotalBalanceResponse
import com.thedefiapp.data.repositories.AddressProvider
import com.thedefiapp.usecases.u... | 0 | Kotlin | 1 | 0 | b58abbc9cc98d9534a876fba4400121acb222586 | 1,505 | thedefiapp | MIT License |
src/opennlp-conll/main/opennlp/ext/conll/treebank/POSTagset.kt | rhdunn | 418,266,921 | false | null | // Copyright (C) 2021 <NAME>. SPDX-License-Identifier: Apache-2.0
package opennlp.ext.conll.treebank
// Reference: [CoNLL-X Format](https://ilk.uvt.nl/~emarsi/download/pubs/14964.pdf)
// Reference: [CoNLL-U Format](https://universaldependencies.org/format.html)
enum class POSTagset(val conllxField: String, val conlluF... | 0 | Kotlin | 0 | 3 | 3b0f35236af1773bf28a5ccec8c2e8bf7a3de9b2 | 459 | opennlp-extensions | Apache License 2.0 |
cli/src/main/kotlin/io/github/nickacpt/patchify/cli/model/WorkspaceDefinition.kt | NickAcPT | 287,130,022 | false | null | package io.github.nickacpt.patchify.cli.model
import com.fasterxml.jackson.module.kotlin.jacksonObjectMapper
import io.github.nickacpt.patchify.core.model.PatchifyWorkspace
import java.nio.file.Path
import kotlin.io.path.pathString
data class WorkspaceDefinition(
val sourceDir: String,
val patchesDir: String,... | 0 | Kotlin | 0 | 5 | b9753014e7b553bcbee9a596dedc321aa0409f49 | 1,338 | Patchify | MIT License |
common/src/main/java/common/AppContext.kt | lcszc | 256,382,727 | false | {"Kotlin": 201531} | package common
import javax.inject.Qualifier
@Qualifier @Retention annotation class AppContext
| 2 | Kotlin | 2 | 35 | a2f02de29c4c074b5ecbda4a46349ac5b864842d | 97 | Boletinhos | MIT License |
utbot-js/src/main/kotlin/framework/codegen/model/constructor/tree/JsTestFrameworkManager.kt | UnitTestBot | 480,810,501 | false | null | package framework.codegen.model.constructor.tree
import framework.codegen.Mocha
import framework.codegen.jsAssertEquals
import framework.codegen.jsAssertThrows
import org.utbot.framework.codegen.domain.context.CgContext
import org.utbot.framework.codegen.domain.context.TestClassContext
import org.utbot.framework.codeg... | 415 | Kotlin | 38 | 91 | abb62682c70d7d2ecc4ad610851d304f7ad716e4 | 2,270 | UTBotJava | Apache License 2.0 |
core/src/main/java/dev/sunnyday/core/propertydelegate/propertyOf.kt | SunnyDayDev | 178,215,276 | false | null | package dev.sunnyday.core.propertydelegate
import kotlin.properties.ReadOnlyProperty
import kotlin.properties.ReadWriteProperty
import kotlin.reflect.KProperty
fun <O, T> propertyOf(owner: O, prop: ReadWriteProperty<O, T>) = object :
ReadWriteProperty<Any, T> {
override fun getValue(thisRef: Any, property: ... | 0 | Kotlin | 0 | 0 | ec79bad3cc61ecb2e0b2fa651caa6f73ccf39b33 | 639 | core | MIT License |
compiler/ir/backend.jvm/src/org/jetbrains/kotlin/backend/jvm/lower/InterfaceDelegationLowering.kt | JakeWharton | 99,388,807 | 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... | 3 | null | 4 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 4,960 | kotlin | Apache License 2.0 |
app/src/main/java/de/cleema/android/projects/list/ProjectsViewModel.kt | sandstorm | 840,235,083 | false | {"Kotlin": 955115, "Ruby": 1773} | /*
* Created by Kumpels and Friends on 2022-12-15
* Copyright © 2022 Kumpels and Friends. All rights reserved.
*/
package de.cleema.android.projects.list
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import dagger.hilt.android.lifecycle.HiltViewModel
import de.cleema.android.core.dat... | 0 | Kotlin | 0 | 1 | ddcb7ddedbbefb8045e7299e14a2ad47329fc53e | 2,486 | cleema-android | MIT License |
tools/cli/src/main/kotlin/foundry/cli/shellsentry/ShellSentryCli.kt | slackhq | 481,715,971 | false | {"Kotlin": 1070954, "Shell": 11155, "HTML": 1503, "Swift": 207} | /*
* Copyright (C) 2023 Slack Technologies, LLC
*
* 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 l... | 6 | Kotlin | 4 | 430 | 433b2e4b98288fbd59ef7b475be8616f1a1fe859 | 2,619 | foundry | Apache License 2.0 |
arrow-libs/optics/arrow-optics-test/src/commonMain/kotlin/arrow/optics/test/laws/LensLaws.kt | lukaszkalnik | 427,116,886 | false | null | package arrow.optics.test.laws
import arrow.core.compose
import arrow.core.identity
import arrow.optics.Lens
import arrow.core.test.laws.Law
import arrow.core.test.laws.equalUnderTheLaw
import io.kotest.property.Arb
import io.kotest.property.PropertyContext
import io.kotest.property.arbitrary.constant
import io.kotest... | 1 | null | 0 | 1 | 73fa3847df1f04e634a02bba527917389b59d7df | 3,157 | arrow | Apache License 2.0 |
src/main/kotlin/com/hiberus/anaya/redmineeditor/utils/SimpleListCell.kt | anayaHiberus | 645,313,511 | false | {"Kotlin": 191286, "Java": 692, "Batchfile": 473, "Shell": 282, "CSS": 43} | package com.hiberus.anaya.redmineeditor.utils
import javafx.fxml.FXMLLoader
import javafx.scene.control.ContentDisplay
import javafx.scene.control.ListCell
import java.net.URL
/**
* A ListCell that loads its data from a fxml file
* Adapted from https://stackoverflow.com/a/47526952
*
* @param fxml the fxml file t... | 1 | Kotlin | 0 | 3 | b0bac42c74907f2b29b832a2e6bd1d57f3831e5f | 1,194 | redmineeditor | Creative Commons Attribution 4.0 International |
src/main/kotlin/org/http4k/intellij/step/QuestionnaireStep.kt | http4k | 844,511,114 | false | {"Kotlin": 28752} | package org.http4k.intellij.step
import com.intellij.ide.util.projectWizard.ModuleWizardStep
import com.intellij.ide.util.projectWizard.WizardContext
import org.http4k.intellij.utils.setNextTo
import org.http4k.intellij.wizard.Questionnaire
class QuestionnaireStep(
private val questionnaire: Questionnaire,
pr... | 0 | Kotlin | 0 | 2 | 324d2e4f24fff1d0495187e6743bb687830286a2 | 645 | intellij-plugin | Apache License 2.0 |
core/src/commonMain/kotlin/com/boswelja/ephemeris/core/data/CalendarPageSource.kt | boswelja | 455,066,630 | false | {"Kotlin": 149027} | package com.boswelja.ephemeris.core.data
import com.boswelja.ephemeris.core.model.CalendarPage
import kotlinx.datetime.LocalDate
/**
* The core calendar page source interface. Calendar page sources are used to provide a layout to
* calendar pages. See [CalendarMonthPageSource] and [CalendarWeekPageSource] for defau... | 6 | Kotlin | 3 | 9 | 180c45500ca9505fdd36bd853295f4eb0fac11cb | 2,064 | Ephemeris | MIT License |
feature-staking-impl/src/main/java/jp/co/soramitsu/feature_staking_impl/presentation/staking/redeem/RedeemViewModel.kt | soramitsu | 278,060,397 | false | null | package jp.co.soramitsu.feature_staking_impl.presentation.staking.redeem
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.viewModelScope
import jp.co.soramitsu.common.R
import jp.co.soramitsu.common.address.AddressIconGenerator
import jp.co.soramitsu.common.base.Ba... | 3 | null | 15 | 55 | 756c1fea772274ad421de1b215a12bf4e2798d12 | 6,038 | fearless-Android | Apache License 2.0 |
shieldCore/src/main/java/com/dianping/shield/node/processor/impl/section/NormalSectionNodeProcessor.kt | Meituan-Dianping | 113,555,063 | false | null | package com.dianping.shield.node.processor.impl.section
import com.dianping.shield.entity.CellType
import com.dianping.shield.node.cellnode.RowRangeHolder
import com.dianping.shield.node.cellnode.ShieldDisplayNode
import com.dianping.shield.node.cellnode.ShieldRow
import com.dianping.shield.node.cellnode.ShieldSection... | 8 | Java | 117 | 936 | 7618a1845d896f358b6edf8fde95622d315eda52 | 4,553 | Shield | MIT License |
app/src/main/java/com/agritracker/plus/RootActivity.kt | FelipeACP | 793,833,208 | false | {"Kotlin": 102008, "Python": 1401} | package com.agritracker.plus
import android.content.Intent
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.google.firebase.auth.FirebaseAuth
import com.google.firebase.auth.FirebaseUser
/// Root of all AppCompatActivities where all general stuff goes
class RootActivity : AppCompatA... | 0 | Kotlin | 0 | 0 | 390e2930e18864c3125a74b242a3c30e94ae3dc5 | 1,479 | agritracker-android | Apache License 2.0 |
app/src/main/java/ca/on/hojat/gamenews/feature_news/presentation/mapping/GamingNewsItemUiModelMapper.kt | hojat72elect | 574,228,468 | false | null | package ca.on.hojat.gamenews.feature_news.presentation.mapping
import ca.on.hojat.gamenews.core.formatters.ArticlePublicationDateFormatter
import ca.on.hojat.gamenews.feature_news.domain.entities.Article
import ca.on.hojat.gamenews.feature_news.domain.entities.ImageType
import ca.on.hojat.gamenews.feature_news.present... | 0 | Kotlin | 0 | 2 | 80ff667af63e00b09aac129bb1206f520452700a | 1,640 | GameHub | Apache License 2.0 |
compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/text/modifiers/SelectionController.kt | androidx | 256,589,781 | false | null | /*
* Copyright 2023 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... | 29 | null | 937 | 5,321 | 98b929d303f34d569e9fd8a529f022d398d1024b | 13,114 | androidx | Apache License 2.0 |
Android/Intermediate/Concurrency/code/HelloConcurrency2/app/src/main/java/com/example/helloconcurrency2/MainActivity.kt | Ice-House-Engineering | 262,230,937 | false | null | package com.example.helloconcurrency2
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.util.Log
import kotlinx.coroutines.async
import kotlinx.coroutines.delay
import kotlinx.coroutines.runBlocking
const val LOG = "android-coroutines"
class MainActivity : AppCompatActivity() {... | 2 | Kotlin | 47 | 169 | ac6ff819a03f8eb01055ebbb2bf08a95f011e09b | 1,339 | academy-curriculum | Creative Commons Attribution 4.0 International |
app/src/main/kotlin/com/mgaetan89/showsrage/helper/TextHelper.kt | id-ks | 107,322,013 | true | {"Kotlin": 664263} | package com.mgaetan89.showsrage.helper
import android.support.v4.app.Fragment
import android.view.View
import android.widget.TextView
import java.util.*
fun String?.hasText() = !this.isNullOrBlank() && !"N/A".equals(this, true)
fun setText(fragment: Fragment, textView: TextView, text: String?, label: Int, layout: Vi... | 0 | Kotlin | 0 | 0 | 8b32e27b8e468f13b942313a80761569a61f4f05 | 1,083 | ShowsRage | Apache License 2.0 |
recycliprocessor/src/main/java/com/detmir/recycli/processors/RecyclerProcessorKsp.kt | detmir | 358,579,304 | false | null | package com.detmir.recycli.processors
import com.detmir.recycli.annotations.RecyclerItemState
import com.detmir.recycli.annotations.RecyclerItemStateBinder
import com.detmir.recycli.annotations.RecyclerItemView
import com.detmir.recycli.annotations.RecyclerItemViewHolder
import com.detmir.recycli.annotations.RecyclerI... | 3 | Kotlin | 3 | 32 | 5e12ba06400f02f93441af9ed6a5b17c436cd67d | 14,842 | recycli | Apache License 2.0 |
app/src/main/kotlin/com/flixclusive/mobile/MobileAppNavigator.kt | rhenwinch | 659,237,375 | false | null | package com.flixclusive.mobile
import androidx.navigation.NavController
import androidx.navigation.NavDestination
import com.flixclusive.core.ui.common.navigation.RepositorySearchScreenNavigator
import com.flixclusive.core.ui.common.navigation.UpdateDialogNavigator
import com.flixclusive.feature.mobile.about.destinati... | 29 | null | 9 | 325 | 7b6ada69290e1afc0deb6fb3d4a9ab7f79ea3fb2 | 7,044 | Flixclusive | MIT License |
mobikulOC/src/main/java/webkul/opencart/mobikul/helper/NetworkIssue.kt | fortunedev223 | 435,488,584 | false | {"Kotlin": 1128789, "Java": 655153} | package webkul.opencart.mobikul.helper
import android.content.Context
import webkul.opencart.mobikul.utils.SweetAlertBox
class NetworkIssue {
companion object {
fun getNetworkIssue(message: String, mContext: Context) {
SweetAlertBox.instance.retryNetWorkCall(context = mContext)
}
}... | 0 | Kotlin | 0 | 0 | fe2513dab910dc471810fa37d6c01c848712c295 | 322 | Boutiquey_Android | MIT License |
bitcoincore/src/main/kotlin/io/horizontalsystems/bitcoincore/managers/IrregularOutputFinder.kt | horizontalsystems | 147,199,533 | false | null | package io.definenulls.bitcoincore.managers
import io.definenulls.bitcoincore.core.IStorage
import io.definenulls.bitcoincore.models.TransactionOutput
import io.definenulls.bitcoincore.transactions.scripts.ScriptType
import io.definenulls.bitcoincore.utils.Utils
interface IIrregularOutputFinder {
fun hasIrregular... | 39 | Kotlin | 76 | 96 | 110018d54d82bb4e3c2a1d6b0ddd1bb9eeff9167 | 1,543 | bitcoin-kit-android | MIT License |
PaperVision/src/main/kotlin/io/github/deltacv/papervision/codegen/vision/Targets.kt | deltacv | 421,245,458 | false | {"Kotlin": 516821, "Java": 6199} | package io.github.deltacv.papervision.codegen.vision
import io.github.deltacv.papervision.codegen.CodeGen
import io.github.deltacv.papervision.codegen.Visibility
import io.github.deltacv.papervision.codegen.build.ConValue
import io.github.deltacv.papervision.codegen.build.Parameter
import io.github.deltacv.papervision... | 0 | Kotlin | 2 | 5 | 6b2740e89e46f99d9dd50aed18db7981d5b3895b | 4,743 | PaperVision | MIT License |
modules/vui/src/main/kotlin/org/teamvoided/voidlib/vui/v2/node/MovableNode.kt | TeamVoided | 570,651,037 | false | null | package org.teamvoided.voidlib.vui.v2.node
import org.teamvoided.voidlib.core.datastructures.vector.Vec2i
import org.teamvoided.voidlib.vui.v2.event.ui.Event.InputEvent.*
open class MovableNode(val node: Node): Node() {
protected var selected = false
protected var offset = Vec2i(0, 0)
init {
thi... | 0 | null | 0 | 2 | e73eae050b5ebd5d578394ca67a2b250c886fc8a | 1,065 | VoidLib | MIT License |
rider-fsharp/src/main/java/com/jetbrains/rider/plugins/fsharp/logs/FSharpLogTraceScenarios.kt | denis417 | 298,582,128 | true | {"F#": 1304325, "C#": 608402, "Kotlin": 152758, "Lex": 88263, "Java": 18652, "HTML": 74} | package com.jetbrains.rider.plugins.fsharp.logs
import com.jetbrains.rdclient.diagnostics.LogTraceScenario
object FSharpLogTraceScenarios {
object FcsReactorMonitor : LogTraceScenario("JetBrains.ReSharper.Plugins.FSharp.FcsReactorMonitor")
object FcsProjectProvider : LogTraceScenario("JetBrains.ReSharper.Plug... | 0 | F# | 0 | 0 | 84861a44b6a4dc209f38eb5d340d957ba82c15be | 362 | fsharp-support | Apache License 2.0 |
core/src/main/java/com/marknjunge/core/mpesa/NetworkProvider.kt | hari2babloo | 194,399,315 | true | {"Kotlin": 176208} | package com.marknjunge.core.mpesa
import okhttp3.OkHttpClient
import okhttp3.logging.HttpLoggingInterceptor
import retrofit2.Retrofit
import retrofit2.adapter.rxjava2.RxJava2CallAdapterFactory
import retrofit2.converter.gson.GsonConverterFactory
internal class NetworkProvider {
private val apiUrl = "https://sandb... | 0 | Kotlin | 0 | 0 | dfa2cd9ff4749f82c9cedaf4cfd8a1ee01f5a128 | 1,194 | JustJava-Android | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.