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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
src/main/kotlin/org/arend/psi/ext/ArendLongNameExpr.kt | JetBrains | 96,068,447 | false | null | package org.arend.psi.ext
import com.intellij.lang.ASTNode
import org.arend.term.abs.AbstractExpressionVisitor
import org.arend.psi.getChildOfType
import org.arend.psi.getChildOfTypeStrict
class ArendLongNameExpr(node: ASTNode) : ArendExpr(node) {
val longName: ArendLongName
get() = getChildOfTypeStrict(... | 73 | null | 15 | 90 | b11d0906f9a0d9680675a418cdc50b98e2d33c92 | 1,264 | intellij-arend | Apache License 2.0 |
compiler/ast/src/main/kotlin/motif/ast/compiler/CompilerType.kt | uber | 142,928,098 | false | null | /*
* Copyright (c) 2018-2019 Uber Technologies, 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 applic... | 31 | null | 37 | 500 | a0ff8dbbb3aa739b588d6687e52e7df9b5a368e6 | 3,895 | motif | Apache License 2.0 |
compiler/ast/src/main/kotlin/motif/ast/compiler/CompilerType.kt | uber | 142,928,098 | false | null | /*
* Copyright (c) 2018-2019 Uber Technologies, 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 applic... | 31 | null | 37 | 500 | a0ff8dbbb3aa739b588d6687e52e7df9b5a368e6 | 3,895 | motif | Apache License 2.0 |
app/src/main/java/cc/sovellus/vrcaa/api/ApiContext.kt | Nyabsi | 745,635,224 | false | null | package cc.sovellus.vrcaa.api
import android.content.Context
import android.content.ContextWrapper
import android.content.Intent
import android.content.Intent.FLAG_ACTIVITY_NEW_TASK
import android.content.SharedPreferences
import android.util.Log
import android.widget.Toast
import cc.sovellus.vrcaa.activity.main.MainA... | 1 | null | 3 | 8 | 69b3be86a31fba1bfea5180c82117b49fe31f90e | 19,041 | VRCAA | Apache License 2.0 |
androidApp/src/androidMain/kotlin/io/github/kabirnayeem99/MainActivity.kt | kabirnayeem99 | 718,206,026 | false | {"Kotlin": 44631, "Swift": 624, "Shell": 228} | package io.github.kabirnayeem99
import MainView
import android.app.Application
import android.content.Context
import android.content.pm.ApplicationInfo
import android.os.Bundle
import androidx.activity.compose.setContent
import androidx.appcompat.app.AppCompatActivity
import core.di.initKoin
import org.koin.android.ex... | 0 | Kotlin | 0 | 0 | 113d33a3f1ca8055799ded330654e2cf178e9b21 | 975 | ibtisar_al_sallah | Apache License 2.0 |
app/src/main/java/com/nistruct/sportstat/api/TeamApi.kt | StefanT997Dev | 366,730,025 | false | null | package com.nistruct.sportstat.api
import com.nistruct.sportstat.data.models.api_models.TeamResponse
import com.nistruct.sportstat.data.models.api_models.team.PostTeamRequestBody
import retrofit2.http.Body
import retrofit2.http.GET
import retrofit2.http.POST
interface TeamApi {
@GET("api/teams")
suspend fun g... | 0 | Kotlin | 0 | 0 | 69a2fbd6c994bff99db10796248228e1a8da8986 | 457 | SportStat | Apache License 2.0 |
spring-pulsar-core/src/test/kotlin/com/intuit/spring/pulsar/client/config/PulsarClientConfigTest.kt | intuit | 577,001,055 | false | null | package com.intuit.spring.pulsar.client.config
import com.intuit.spring.pulsar.client.TestData
import org.junit.jupiter.api.Test
import kotlin.test.assertEquals
import kotlin.test.assertFalse
import kotlin.test.assertNotNull
import kotlin.test.assertTrue
class PulsarClientConfigTest {
@Test
fun `validate aut... | 8 | Kotlin | 4 | 9 | fff7f2041724ceeb688a15f39df5b7130a7f598a | 7,426 | spring-pulsar | MIT License |
jupyter-lib/api/src/main/kotlin/org/jetbrains/kotlinx/jupyter/api/KernelRunMode.kt | Kotlin | 63,066,291 | false | {"Kotlin": 1063374, "JavaScript": 40044, "CSS": 16243, "Python": 15441, "Jupyter Notebook": 1290, "Shell": 74} | package org.jetbrains.kotlinx.jupyter.api
import org.jetbrains.kotlinx.jupyter.util.FilteringClassLoader
/**
* Represents settings that depend on the environment in which kernel is running
*/
interface KernelRunMode {
val name: String
/**
* Creates an intermediary ClassLoader between the parent classl... | 79 | Kotlin | 107 | 1,114 | 63dae6f2c5852d7b9a48068c29e3e803ae88c883 | 2,338 | kotlin-jupyter | Apache License 2.0 |
src/jvmMain/kotlin/tools/empathy/libro/server/sessions/oidc/OpenIdConfiguration.kt | ontola | 624,799,212 | false | null | @file:UseSerializers(UrlSerializer::class)
package tools.empathy.libro.server.sessions.oidc
import io.ktor.http.Url
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
import kotlinx.serialization.UseSerializers
import tools.empathy.libro.server.util.UrlSerializer
@Serializable
enum cla... | 0 | Kotlin | 0 | 0 | 2e9fa6622e00ebf5ffd1cf6156e8abd774430f7e | 2,424 | libro-cache | MIT License |
domain/src/commonMain/kotlin/ireader/domain/usecases/preferences/reader_preferences/screens/LibraryScreenPrefUseCases.kt | kazemcodes | 540,829,865 | false | null | package ireader.domain.usecases.preferences.reader_preferences.screens
import ireader.domain.usecases.preferences.reader_preferences.LibraryLayoutTypeUseCase
import ireader.domain.usecases.preferences.reader_preferences.SortersDescUseCase
import ireader.domain.usecases.preferences.reader_preferences.SortersUseCase
da... | 10 | null | 14 | 6 | b6b2414fa002cec2aa0d199871fcfb4c2e190a8f | 527 | IReader | Apache License 2.0 |
sudoemail/src/main/java/com/sudoplatform/sudoemail/types/DraftEmailMessage.kt | sudoplatform | 303,299,846 | false | {"Kotlin": 916120} | /*
* Copyright © 2024 <NAME>, Inc. All rights reserved.
*
* SPDX-License-Identifier: Apache-2.0
*/
package com.sudoplatform.sudoemail.types
import java.util.Date
/**
* Representation of the metadata of a draft email message in the Sudo Platform Email SDK.
*
* @property id [String] Unique identifier of the dra... | 0 | Kotlin | 0 | 1 | 8455c546e63488ad9d26f2e98caef73c6e053b4f | 491 | sudo-email-android | Apache License 2.0 |
app/src/main/kotlin/com/healthmetrix/myscience/feature/statistics/StatisticsModule.kt | smart4health | 593,624,354 | false | null | package com.healthmetrix.myscience.feature.statistics
import android.content.Context
import androidx.datastore.core.DataStore
import androidx.datastore.dataStore
import com.healthmetrix.myscience.commons.di.DataStoreWrapper
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.and... | 0 | Kotlin | 0 | 1 | b18ef21ef3ae24f2a0bcace9cf6b5279ab6746e2 | 869 | my-science-app | MIT License |
app/src/main/java/br/com/angelorobson/templatemvi/model/builders/GameEntityBuilder.kt | angelorobsonmelo | 276,738,007 | true | {"Kotlin": 162806} | import br.com.angelorobson.templatemvi.model.entities.GameEntity
import kotlin.random.Random
class GameEntityBuilder {
data class Builder(
private var idGame: Int = 0,
private var title: String = "",
private var image: String = "",
private var discount: Double = 0.0... | 0 | Kotlin | 0 | 0 | 4a2dd31d1637b0b4196ae1a42d453052b1c0bd1e | 1,171 | mobile-android-challenge | MIT License |
platform/vcs-impl/src/com/intellij/vcs/commit/ToggleChangesViewCommitUiAction.kt | hieuprogrammer | 284,920,751 | false | null | // Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.vcs.commit
import com.intellij.openapi.actionSystem.AnActionEvent
import com.intellij.openapi.actionSystem.IdeActions.ACTION_CHECKIN_PROJECT
import com.intel... | 1 | null | 1 | 2 | dc846ecb926c9d9589c1ed8a40fdb20e47874db9 | 1,807 | intellij-community | Apache License 2.0 |
src/dev/ky3he4ik/battleship_server/Client.kt | Ky3He4iK | 264,867,305 | false | null | package dev.ky3he4ik.battleship_server
import br.com.devsrsouza.redissed.RedisObject
import br.com.devsrsouza.redissed.RedissedCommands
import org.java_websocket.WebSocket
import java.net.InetAddress
class Client(name: String, uuid: Long, var connection: WebSocket, database: String, commands: RedissedCommands) {
... | 0 | Kotlin | 0 | 0 | e151eb35812d52bc5d4162a7b40c696bbf7857b5 | 1,432 | battleship_server | The Unlicense |
android/src/com/android/tools/idea/run/deployment/selector/PopupActionGroup.kt | JetBrains | 60,701,247 | false | null | /*
* 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... | 5 | null | 227 | 948 | 10110983c7e784122d94c7467e9d243aba943bf4 | 2,698 | android | Apache License 2.0 |
app/src/main/java/com/syleiman/gingermoney/ui/common/mvvm/FragmentBase.kt | AlShevelev | 158,343,218 | false | {"Gradle": 4, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "Proguard": 2, "Java": 4, "XML": 137, "Kotlin": 385, "JSON": 1} | package com.syleiman.gingermoney.ui.common.mvvm
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.annotation.LayoutRes
import androidx.appcompat.app.AlertDialog
import androidx.databinding.DataBindingUtil
import androidx.databinding.ViewD... | 1 | null | 1 | 1 | 91ef2b9bd5c19043104734b588940841fa6f9f4f | 3,292 | ginger-money | MIT License |
extension/registry/apicurio-rest/src/main/kotlin/type/ApicurioSchemaData.kt | holixon | 354,810,047 | false | null | package io.holixon.avro.adapter.registry.apicurio.type
import io.holixon.avro.adapter.api.AvroSchemaId
import io.holixon.avro.adapter.api.AvroSchemaRevision
import io.holixon.avro.adapter.api.AvroSchemaWithId
import org.apache.avro.Schema
data class ApicurioSchemaData(
val metaData: ApicurioArtifactMetaData,
val ... | 4 | Kotlin | 0 | 4 | 85bd4012adbbab5d3721d87a256cda63958d1a6a | 811 | avro-registry-adapter | Apache License 2.0 |
app/src/main/java/ru/monkeys/monkeyapp/dialog/LvlDialog.kt | metalink94 | 163,214,286 | false | {"Java": 60064, "Kotlin": 37600} | package ru.monkeys.monkeyapp.dialog
import android.graphics.Color
import android.graphics.drawable.ColorDrawable
import android.os.Bundle
import android.support.v4.app.DialogFragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.view.Window
import kotlinx.andr... | 1 | null | 1 | 1 | a77f648ac675d96ac447c1b36f083fef4a3fbf6a | 1,962 | MonkeyApp | Apache License 2.0 |
src/main/java/com/sayzen/campfiresdk/screens/activities/quests/SQuestsList.kt | timas130 | 443,351,244 | true | {"Kotlin": 1939317} | package com.sayzen.campfiresdk.screens.activities.quests
import com.dzen.campfire.api.API_TRANSLATE
import com.sayzen.campfiresdk.R
import com.sayzen.campfiresdk.controllers.t
import com.sup.dev.android.libs.screens.Screen
import com.sup.dev.android.libs.screens.navigator.Navigator
import com.sup.dev.android.views.set... | 0 | Kotlin | 0 | 0 | 9605c9fd8647477e3d6ef0fcd2dcb33229db8dd4 | 973 | CampfireSDK | Apache License 2.0 |
mobile/src/main/java/co/uk/kenkwok/tulipmania/TulipManiaApplication.kt | kennethkwok | 108,638,140 | false | null | package co.uk.kenkwok.tulipmania
import android.app.Activity
import android.app.Application
import android.app.Service
import android.content.Intent
import co.uk.kenkwok.tulipmania.dagger.DaggerAppComponent
import co.uk.kenkwok.tulipmania.service.BitfinexService
import dagger.android.AndroidInjector
import dagger.andr... | 1 | null | 1 | 1 | b034e7c3c8678d9e8c475ad8dafd4d005cee67ab | 1,309 | tulipmania | Creative Commons Attribution 3.0 Unported |
idea/tests/testData/quickfix/autoImports/importFunctionWithDefinitelyNotNullType.before.Main.kt | JetBrains | 278,369,660 | false | null | // "Import extension function 'defNotNull'" "true"
// ERROR: Unresolved reference: defNotNull
// COMPILER_ARGUMENTS: -XXLanguage:+DefinitelyNonNullableTypes
package pckg.useSite
import pckg.dep.defNotNull
fun test() {
"x".<caret>defNotNull("x")
} | 233 | null | 4912 | 82 | cc81d7505bc3e9ad503d706998ae8026c067e838 | 252 | intellij-kotlin | Apache License 2.0 |
src/main/kotlin/net/prosavage/factionsx/persist/data/wrappers/Warp.kt | ryderbelserion | 669,875,997 | false | null | package net.prosavage.factionsx.persist.data.wrappers
data class Warp(val name: String, val password: String?, val dataLocation: DataLocation) {
fun hasPassword(): Boolean {
return password != null
}
}
| 0 | Kotlin | 0 | 0 | b63ad83b36d434e3b827d3e074d0e13e9ef42929 | 221 | Factions | MIT License |
src/main/java/com/example/workflow/configuration/CamundaConfiguration.kt | sourabhparsekar | 396,739,738 | false | null | package com.example.workflow.configuration
import com.example.workflow.model.FileFormFieldType
import org.camunda.bpm.engine.spring.SpringProcessEngineConfiguration
import org.camunda.bpm.spring.boot.starter.configuration.impl.AbstractCamundaConfiguration
import org.springframework.stereotype.Component
@Component
cla... | 0 | Kotlin | 0 | 2 | cb8a6feaf6c1372b62dfe0d3150b941d35daaa00 | 606 | camunda-ocr | Apache License 2.0 |
vector/src/main/java/im/vector/preference/AddressPreference.kt | LiMium | 119,702,511 | true | {"Java": 2804410, "Kotlin": 1162710, "JavaScript": 141316, "HTML": 21094, "Shell": 18894} | /*
* Copyright 2018 New Vector Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | 3 | Java | 4 | 44 | 09bf4c527429fe2c8283c71988efa5796dcc854b | 2,140 | mini-vector-android | Apache License 2.0 |
dsl/src/main/kotlin/io/cloudshiftdev/awscdkdsl/services/kinesisfirehose/CfnDeliveryStreamProcessorParameterPropertyDsl.kt | cloudshiftinc | 667,063,030 | false | {"Kotlin": 63959868} | @file:Suppress(
"RedundantVisibilityModifier",
"RedundantUnitReturnType",
"RemoveRedundantQualifierName",
"unused",
"UnusedImport",
"ClassName",
"REDUNDANT_PROJECTION",
"DEPRECATION"
)
package io.cloudshiftdev.awscdkdsl.services.kinesisfirehose
import io.cloudshiftdev.awscdkdsl.common.... | 3 | Kotlin | 0 | 3 | c59c6292cf08f0fc3280d61e7f8cff813a608a62 | 2,121 | awscdk-dsl-kotlin | Apache License 2.0 |
product/web3modal/src/main/kotlin/com/walletconnect/web3/modal/utils/EthUtils.kt | WalletConnect | 435,951,419 | false | {"Kotlin": 2502705, "Java": 4366, "Shell": 1892} | package com.walletconnect.web3.modal.utils
@Deprecated("com.walletconnect.web3.modal.utils.EthUtils has been deprecated. Please use com.reown.appkit.utils.EthUtils instead from - https://github.com/reown-com/reown-kotlin")
object EthUtils {
const val walletSwitchEthChain = "wallet_switchEthereumChain"
const va... | 78 | Kotlin | 71 | 199 | e373c535d7cefb2f932368c79622ac05763b411a | 794 | WalletConnectKotlinV2 | Apache License 2.0 |
Sushi/app/src/main/java/com/destructo/sushi/ui/anime/upcomingAnime/UpcomingAnimeFragment.kt | destructo570 | 302,356,237 | false | null | package com.destructo.sushi.ui.anime.upcomingAnime
import android.content.SharedPreferences
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.ProgressBar
import androidx.appcompat.widget.Toolbar
import androidx.core.os.bundleOf
impo... | 3 | Kotlin | 5 | 21 | 68317c04caa596103d3fd32b0f34fe43b189a721 | 5,052 | Sushi-Unofficial-MAL-Client | Apache License 2.0 |
data/src/main/java/com/dehboxturtle/data/di/modules/NetModule.kt | dehboxturtle | 289,759,994 | true | {"Kotlin": 146460} | package com.dehboxturtle.data.di.modules
import android.content.Context
import com.google.gson.Gson
import com.dehboxturtle.data.di.providers.NetworkChecker
import com.dehboxturtle.data.net.OkHttpClientFactory
import com.dehboxturtle.data.net.RetrofitFactory
import dagger.Module
import dagger.Provides
import retrofit2... | 0 | Kotlin | 0 | 0 | e5c2a00c67d198c21cd052a5e45be5dce375ac96 | 1,103 | CleanRxNotes | Apache License 2.0 |
app/src/androidTest/kotlin/org/andstatus/app/net/social/ConnectionStub.kt | andstatus | 3,040,264 | false | {"Kotlin": 3385973, "XSLT": 14655, "HTML": 14046, "CSS": 4427, "Shell": 707} | /*
* Copyright (C) 2018 yvolk (<NAME>), http://yurivolkov.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 ... | 86 | Kotlin | 69 | 306 | 6166aded1f115e6e6a7e66ca3756f39f0434663e | 2,086 | andstatus | Apache License 2.0 |
kotlin-antd/antd-samples/src/main/kotlin/samples/layout/Basic.kt | rbargues | 302,350,324 | true | {"Kotlin": 1224294, "HTML": 1503} | package samples.layout
import antd.layout.*
import antd.layout.footer
import antd.layout.header
import react.*
import react.dom.*
import styled.*
fun RBuilder.basic() {
styledDiv {
css { +LayoutStyles.basic }
div {
layout {
header { +"Header" }
content {... | 0 | null | 0 | 0 | 439ef1f01ffea759cf3fc51ede4e60a896cbfd87 | 1,109 | kotlin-js-wrappers | Apache License 2.0 |
src/main/kotlin/androidstudio/tools/missed/features/apkmanagement/presenter/model/InstallApkState.kt | rasoulmiri | 668,869,188 | false | {"Kotlin": 440329} | package androidstudio.tools.missed.features.apkmanagement.presenter.model
enum class InstallApkState {
Idle, Loading
}
| 0 | Kotlin | 0 | 2 | fb33080fef3289880a4efdaf92bb9826c322cfc4 | 124 | AndroidStudioToolsMissed | Apache License 2.0 |
app/src/b2b/java/eu/ginlo_apps/ginlo/controller/contracts/AcceptOrDeclineCompanyManagementCallback.kt | cdskev | 358,279,979 | false | {"Git Config": 1, "Gradle": 3, "Markdown": 5, "Java Properties": 2, "Shell": 1, "Ignore List": 1, "Text": 2, "Proguard": 1, "INI": 1, "XML": 393, "Java": 438, "Kotlin": 168, "JSON": 1, "HTML": 1} | // Copyright (c) 2020-2024 ginlo.net GmbH
package eu.ginlo_apps.ginlo.controller.contracts
interface AcceptOrDeclineCompanyManagementCallback {
fun onSuccess(mcState: String)
fun onFail(message: String)
}
| 1 | Java | 0 | 5 | 5609a68a539fc5fd9666d3d5f93be750fa5a2b77 | 214 | ginlo-android | Apache License 2.0 |
src/main/kotlin/org/misarch/user/graphql/federation/UserResolver.kt | MiSArch | 761,247,429 | false | {"Kotlin": 51538, "Shell": 487, "Dockerfile": 219} | package org.misarch.user.graphql.federation
import com.expediagroup.graphql.generator.federation.execution.FederatedTypePromiseResolver
import graphql.schema.DataFetchingEnvironment
import org.misarch.user.graphql.dataloader.UserDataLoader
import org.misarch.user.graphql.model.User
import org.springframework.stereotyp... | 0 | Kotlin | 0 | 0 | 9ddda7e2206dfc30912f88c1854b293f586c1462 | 1,022 | user | MIT License |
core/src/test/kotlin/com/malinskiy/marathon/execution/queue/QueueActorTest.kt | MarathonLabs | 129,365,301 | false | null | package com.malinskiy.marathon.execution.queue
import com.malinskiy.marathon.analytics.external.Analytics
import com.malinskiy.marathon.analytics.internal.pub.Track
import com.malinskiy.marathon.config.Configuration
import com.malinskiy.marathon.config.strategy.BatchingStrategyConfiguration
import com.malinskiy.marath... | 66 | null | 89 | 328 | 77271f081c04093134d8d6ed77e380afd0a362a4 | 9,579 | marathon | Apache License 2.0 |
kotlin-node/src/jsMain/generated/node/net/ServerEvent.kt | JetBrains | 93,250,841 | false | null | // Generated by Karakum - do not modify it manually!
package node.net
sealed external interface ServerEvent {
sealed interface CLOSE : node.events.LegacyEventType
sealed interface CONNECTION : node.events.LegacyEventType
sealed interface ERROR : node.events.LegacyEventType
sealed interface LISTENING ... | 40 | null | 165 | 1,347 | 997ed3902482883db4a9657585426f6ca167d556 | 1,361 | kotlin-wrappers | Apache License 2.0 |
pref-sdk/src/main/kotlin/com/leovp/pref/LPref.kt | yhz61010 | 329,485,030 | false | {"Gradle Kotlin DSL": 36, "YAML": 2, "Shell": 16, "Java Properties": 2, "Text": 1, "Ignore List": 37, "Batchfile": 1, "Git Attributes": 1, "EditorConfig": 1, "Markdown": 14, "INI": 62, "Kotlin": 420, "Java": 22, "AIDL": 7, "XML": 262, "TOML": 1, "CMake": 2, "Proguard": 5, "C++": 33, "C": 33, "GLSL": 4, "Makefile": 6, "... | package com.leovp.pref_sdk
import android.app.Activity
import android.content.Context
import com.leovp.pref_sdk.base.AbsPref
/**
* Author: <NAME>
* Date: 20-12-10 上午10:01
*/
class LPref(ctx: Context, name: String = ctx.packageName) : AbsPref() {
private val pref = ctx.getSharedPreferences(name, Activity.MODE_P... | 0 | Kotlin | 4 | 9 | 680ec6b101c4089bf6263f4ae42837c8b6e65a26 | 1,844 | android | MIT License |
arrangor/src/main/kotlin/no/nav/amt/tiltak/ansatt/AnsattDbo.kt | navikt | 393,356,849 | false | {"Kotlin": 782863, "PLpgSQL": 635, "Dockerfile": 160} | package no.nav.amt.tiltak.ansatt
import no.nav.amt.tiltak.core.domain.arrangor.Ansatt
import no.nav.amt.tiltak.core.domain.arrangor.TilknyttetArrangor
import java.time.LocalDateTime
import java.util.*
data class AnsattDbo(
val id: UUID,
val personligIdent: String,
val fornavn: String,
val mellomnavn: String?,
va... | 4 | Kotlin | 3 | 4 | 821784cd08cfad8edb1c8ac9e9033e361cecb343 | 743 | amt-tiltak | MIT License |
src/test/kotlin/Day10Tests.kt | derekaspaulding | 317,756,568 | false | null | import day10.*
import org.junit.jupiter.api.Assertions
import org.junit.jupiter.api.Test
class Day10Tests {
@Test
fun `solves the first problem`() {
Assertions.assertEquals(220, solveFirstProblem(testJoltages))
}
@Test
fun `solves the second problem with the simple list`() {
Assert... | 0 | Kotlin | 0 | 0 | 0e26fdbb3415fac413ea833bc7579c09561b49e5 | 923 | advent-of-code-2020 | MIT License |
sentry/src/main/kotlin/com/avito/android/sentry/EnvironmentInfo.kt | mduisenov | 237,274,875 | true | {"Kotlin": 2360982, "Python": 14063, "Shell": 13206, "Dockerfile": 7097, "Makefile": 35} | package com.avito.android.sentry
import com.avito.git.Git
import com.avito.kotlin.dsl.getOptionalStringProperty
import com.avito.utils.gradle.BuildEnvironment
import com.avito.utils.gradle.buildEnvironment
import org.gradle.api.Project
/**
* Use [Project.environmentInfo] to gain instance
*/
interface EnvironmentInf... | 0 | Kotlin | 0 | 0 | b0513404cc36196fb87ddadd1894b9015beac952 | 2,691 | avito-android | Apache License 2.0 |
app/src/main/java/dalian/razvan/cucer/ibm/screens/currencyDetails/CurrencyDetailsFragmentView.kt | daliaan | 367,817,053 | false | null | package dalian.razvan.cucer.ibm.screens.currencyDetails
import dalian.razvan.cucer.ibm.core.baseClasses.BaseFragmentView
interface CurrencyDetailsFragmentView: BaseFragmentView {
} | 0 | Kotlin | 0 | 0 | f1c87dd1745ee8477d486b036dc5c45aacabe59e | 182 | IBM | Apache License 2.0 |
adt-ui/src/main/java/com/android/tools/adtui/stdui/StandardDimensions.kt | JetBrains | 60,701,247 | false | {"Kotlin": 53054415, "Java": 43443054, "Starlark": 1332164, "HTML": 1218044, "C++": 507658, "Python": 191041, "C": 71660, "Lex": 70302, "NSIS": 58238, "AIDL": 35382, "Shell": 29838, "CMake": 27103, "JavaScript": 18437, "Smali": 7580, "Batchfile": 7357, "RenderScript": 4411, "Clean": 3522, "Makefile": 2495, "IDL": 19} | /*
* 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... | 5 | Kotlin | 227 | 948 | 10110983c7e784122d94c7467e9d243aba943bf4 | 1,513 | android | Apache License 2.0 |
app/src/main/kotlin/com/exactpro/th2/lwdataprovider/db/DataMeasurement.kt | th2-net | 433,117,188 | false | {"Kotlin": 830374, "Python": 4548, "Dockerfile": 116} | /*
* Copyright 2022 Exactpro (Exactpro Systems Limited)
*
* 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 appl... | 2 | Kotlin | 0 | 0 | 651760781cba85a49f59fac1b9d7aabcb28e2dd1 | 828 | th2-lw-data-provider | Apache License 2.0 |
domain/arbeidssoeker-regler/src/main/kotlin/no/nav/paw/arbeidssokerregisteret/application/Resultat.kt | navikt | 794,874,233 | false | {"Kotlin": 609526, "Dockerfile": 143} | package no.nav.paw.arbeidssokerregisteret.application
import arrow.core.Either
import arrow.core.left
import arrow.core.right
import no.nav.paw.arbeidssokerregisteret.application.opplysninger.Opplysning
sealed interface Problem {
val opplysninger: Iterable<Opplysning>
val regel: Regel
}
data class SkalAvvise... | 3 | Kotlin | 0 | 1 | e00be97578399169989b3b81be3ffd6f7d59081c | 1,163 | paw-arbeidssoekerregisteret-monorepo-intern | MIT License |
app/src/main/kotlin/de/ljz/questify/core/di/NetworkModule.kt | LJZApps | 806,522,161 | false | {"Kotlin": 135023} | package de.ljz.questify.core.di
import com.skydoves.sandwich.retrofit.adapters.ApiResponseCallAdapterFactory
import com.squareup.moshi.Moshi
import com.squareup.moshi.kotlin.reflect.KotlinJsonAdapterFactory
import de.ljz.questify.BuildConfig
import de.ljz.questify.data.api.core.ApiClient
import de.ljz.questify.data.ap... | 0 | Kotlin | 0 | 0 | 396903b9bf416c73322732f5d5d4ca625876d40d | 1,796 | Questify-Android | MIT License |
src/test/kotlin/com/example/doctorpractice/scheduling/writemodel/InMemoryAggregateRepository.kt | th3n3rd | 411,821,607 | false | {"Kotlin": 40186, "Shell": 1509} | package com.example.doctorpractice.scheduling.writemodel
import com.example.doctorpractice.scheduling.domain.AggregateRepository
import com.example.doctorpractice.scheduling.domain.AggregateRoot
class InMemoryAggregateRepository<Aggregate : AggregateRoot<Id>, Id>(
private val aggregate: Aggregate
) : AggregateRep... | 0 | Kotlin | 0 | 1 | 6628262ea7780d60c4eb559c80c2facb59b9b546 | 470 | doctor-practice-cqrs | MIT License |
yify/domain/src/main/java/io/github/kunal26das/yify/domain/model/OrderBy.kt | kunal26das | 283,553,926 | false | null | package io.github.kunal26das.yify.domain.model
@Suppress("EnumEntryName")
enum class OrderBy {
asc, desc,
} | 5 | Kotlin | 0 | 1 | 2affe4ce4a57c8779af5e8af0112bfe6f4177d47 | 112 | yify | Apache License 2.0 |
detekt-rules-exceptions/src/test/kotlin/io/gitlab/arturbosch/detekt/rules/exceptions/ThrowingNewInstanceOfSameExceptionSpec.kt | detekt | 71,729,669 | false | null | package io.gitlab.arturbosch.detekt.rules.exceptions
import io.gitlab.arturbosch.detekt.test.compileAndLint
import org.assertj.core.api.Assertions.assertThat
import org.junit.jupiter.api.DisplayName
import org.junit.jupiter.api.Nested
import org.junit.jupiter.api.Test
class ThrowingNewInstanceOfSameExceptionSpec {
... | 9 | null | 772 | 6,253 | c5d7ed3da2824534d0e15f8404ad4f1c59fb553c | 1,902 | detekt | Apache License 2.0 |
generator/src/main/kotlin/generator/EntryInfo.kt | adamWeesner | 239,233,558 | false | null | package generator
import java.io.File
data class EntryInfo(
val baseDirectory: File,
val className: String,
val data: List<String>
) {
val lowered = className.decapitalize()
val subDirectory = File("${baseDirectory.path}/$lowered")
init {
subDirectory.mkdirs()
}
}
| 1 | null | 1 | 1 | a04ad390fe844a7d89db2fa726599c23d3f796f6 | 304 | weesnerDevelopment | MIT License |
app/src/main/java/org/bobstuff/bobboardview/app/simple/SimpleModelData.kt | bobthekingofegypt | 123,321,465 | false | null | package org.bobstuff.bobboardview.app.simple
import org.bobstuff.bobboardview.app.R
/**
* Created by bob
*/
data class Card(val description: String, val id: String)
data class BoardList(val uniqueId: Int, val description: String, val cards: MutableList<Card>)
data class Board(val name: String, val boardLists: M... | 1 | Kotlin | 1 | 4 | a13505aabc152ab9eb62b96c84204e10f5b777c2 | 1,441 | BobBoardView | Apache License 2.0 |
app/src/main/java/com/speakerboxlite/rxentity/EntityCollection.kt | AlexExiv | 240,526,542 | false | null | package com.speakerboxlite.rxentity
import io.reactivex.rxjava3.core.Scheduler
import io.reactivex.rxjava3.core.Single
import io.reactivex.rxjava3.disposables.CompositeDisposable
import java.lang.ref.WeakReference
import java.util.concurrent.locks.ReentrantLock
data class EntityCollectionExtraParamsEmpty(val unused: ... | 0 | Kotlin | 0 | 0 | d100c2a1bd34c0e791df6e812f30a611b6779725 | 3,638 | RxEntity-Kotlin | MIT License |
core/src/commonMain/kotlin/de/frederikbertling/kosc/core/spec/args/OSCString.kt | Burtan | 796,396,999 | false | {"Kotlin": 26257} | package de.frederikbertling.kosc.core.spec.args
/**
* A sequence of non-null ASCII characters followed by a null, followed by 0-3 additional null characters to make the
* total number of bits a multiple of 32. (OSC-string examples) In this document, example OSC-strings will be written
* without the null characters,... | 1 | Kotlin | 0 | 1 | c7720825a4704eb50768c81222f84aa11d818e68 | 415 | kOSC | Apache License 2.0 |
base/src/main/kotlin/io/goooler/demoapp/base/util/BaseExtensions.kt | Goooler | 188,988,687 | false | null | @file:Suppress("unused")
@file:JvmName("BaseExtensionUtil")
@file:OptIn(ExperimentalContracts::class)
package io.goooler.demoapp.base.util
import android.app.Activity
import android.content.ContentUris
import android.content.Context
import android.content.ContextWrapper
import android.content.Intent
import android.gr... | 6 | Kotlin | 5 | 21 | 12ff6cc1349c36ca2ed532d28ddf6a74ff31ee9a | 18,572 | DemoApp | Apache License 2.0 |
backend/common-service/src/commonMain/kotlin/com/gchristov/thecodinglove/commonservice/CommonServiceModule.kt | gchristov | 533,472,792 | false | {"Kotlin": 377856, "CSS": 87216, "HTML": 54731, "Shell": 1670, "JavaScript": 742, "Dockerfile": 315} | package com.gchristov.thecodinglove.commonservice
import co.touchlab.kermit.Logger
import com.gchristov.thecodinglove.commonservicedata.http.HttpService
import com.gchristov.thecodinglove.commonservicedata.pubsub.PubSubDecoder
import com.gchristov.thecodinglove.commonservicedata.pubsub.PubSubPublisher
import com.gchri... | 0 | Kotlin | 0 | 3 | 977533cf18f2963a89fc3e93b2b7a2ce313bc0ae | 1,560 | thecodinglove-kotlinjs | Apache License 2.0 |
mineinabyss-features/src/main/kotlin/com/mineinabyss/features/gondolas/GondolaFeature.kt | MineInAbyss | 115,279,675 | false | null | package com.mineinabyss.features.gondolas
import com.mineinabyss.components.gondolas.UnlockedGondolas
import com.mineinabyss.geary.modules.geary
import com.mineinabyss.geary.papermc.tracking.entities.toGeary
import com.mineinabyss.guiy.inventory.guiy
import com.mineinabyss.idofront.commands.arguments.stringArg
import ... | 13 | null | 27 | 99 | 35b12abf13867de5a00acfc4804b1797751b842e | 2,086 | MineInAbyss | MIT License |
core/src/commonMain/kotlin/com/erolc/mrouter/route/router/PageRouter.kt | ErolC | 786,106,502 | false | {"Kotlin": 205561, "Swift": 620, "HTML": 304} | package com.erolc.mrouter.route.router
import com.erolc.mrouter.backstack.BackStack
import com.erolc.mrouter.backstack.entry.PageEntry
import com.erolc.mrouter.backstack.entry.StackEntry
import com.erolc.mrouter.model.Route
import com.erolc.mrouter.register.Address
import com.erolc.mrouter.utils.loge
import kotlinx.co... | 0 | Kotlin | 0 | 0 | dacbb74a8c2e60359438c7b593c7d50027c06ede | 2,665 | MRouter | Apache License 2.0 |
src/main/kotlin/org/patternfly/Tag.kt | patternfly-kotlin | 277,769,579 | false | {"Kotlin": 541078, "Shell": 3926} | package org.patternfly
import dev.fritz2.dom.Tag
import dev.fritz2.dom.html.RenderContext
import dev.fritz2.lenses.IdProvider
import kotlinx.coroutines.Job
import kotlinx.coroutines.flow.Flow
import org.w3c.dom.Element
import org.w3c.dom.Node
internal fun <V, I> Flow<List<V>>.renderShifted(
amount: Int,
tag: ... | 65 | Kotlin | 5 | 31 | 443c6d6ba229e3b27a57fc2ae28ae0d3f8dd973b | 1,804 | patternfly-kotlin | Apache License 2.0 |
packages/library-sync/src/commonMain/kotlin/io/realm/kotlin/mongodb/ext/MutableRealmExt.kt | realm | 235,075,339 | false | {"Kotlin": 4564631, "C++": 126122, "SWIG": 26070, "Shell": 23822, "C": 5126, "CMake": 2858, "Ruby": 1586, "Java": 1470} | /*
* Copyright 2023 Realm Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... | 242 | Kotlin | 57 | 942 | df49eefacba8f57653e232203f44003643468463 | 1,869 | realm-kotlin | Apache License 2.0 |
core/kotlinx-coroutines-core/test/channels/ChannelSendReceiveStressTest.kt | objcode | 159,731,828 | false | null | /*
* Copyright 2016-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
*/
package kotlinx.coroutines.experimental.channels
import kotlinx.coroutines.experimental.*
import kotlinx.coroutines.experimental.selects.*
import org.junit.*
import org.junit.Assert.*
import org.junit.runner.... | 295 | null | 99 | 5 | 46741db4b0c2863475d5cc6fc75eafadd8e6199d | 6,348 | kotlinx.coroutines | Apache License 2.0 |
src/main/kotlin/com/williambl/haema/ritual/RitualTableScreenHandler.kt | williambl | 204,155,762 | false | null | package com.williambl.haema.ritual
import com.williambl.haema.ability.AbilityModule
import com.williambl.haema.getAbilityLevel
import com.williambl.haema.id
import com.williambl.haema.ritual.craft.RitualInventory
import com.williambl.haema.setAbilityLevel
import io.netty.buffer.Unpooled
import net.fabricmc.api.EnvType... | 28 | null | 15 | 8 | b4f14bfe91e720eb214b141f1d32e8336d08b430 | 3,244 | haema | MIT License |
src/main/kotlin/com/github/kkkiio/intellij/protobuf/utils/Debug.kt | KKKIIO | 314,425,028 | false | {"Java": 792472, "Kotlin": 55946, "Lex": 12570, "PureBasic": 367, "HTML": 247} | package com.github.kkkiio.intellij.protobuf.utils
import com.goide.psi.GoCallExpr
import com.goide.psi.GoExpression
import com.goide.psi.GoFunctionOrMethodDeclaration
import com.goide.psi.GoType
import com.intellij.openapi.util.text.StringUtil
import com.intellij.psi.PsiElement
import com.intellij.psi.util.elementType... | 2 | Java | 1 | 2 | 06b4bd04801826a95099ea750273fb9908aa3788 | 843 | intellij-protobuf-support | Apache License 2.0 |
demos/sandbox-appyx-navigation/common/src/commonMain/kotlin/com/bumble/appyx/demos/sandbox/navigation/node/modal/ModalExamplesNode.kt | bumble-tech | 493,334,393 | false | {"Kotlin": 829246, "Python": 2324, "HTML": 347, "Shell": 327, "CSS": 134} | package com.bumble.appyx.demos.sandbox.navigation.node.modal
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.c... | 85 | Kotlin | 54 | 997 | f5cc89fbdf9a168a70f8e9f11313e6524914179a | 4,685 | appyx | Apache License 2.0 |
app/src/main/java/com/diamont/expense/tracker/manageCategoriesFragment/ManageCategoriesFragment.kt | dagoston93 | 349,111,048 | false | null | package com.diamont.expense.tracker.manageCategoriesFragment
import android.os.Bundle
import android.util.Log
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.databinding.DataBindingUtil
import androidx.fragment.app.activity... | 0 | Kotlin | 0 | 2 | d5f9bc53418400b46cd0bbdd1e7fd8ca3ff62ab8 | 4,308 | expense-tracker | Apache License 2.0 |
shared/src/commonTest/kotlin/io/github/jelinekma/pragueopendatakotlinlib/v2/TestMedicalInstitutionsClient.kt | martinjelinek | 763,563,087 | false | {"Kotlin": 230955} | package cz.vse.jelinekma.pragueopendatakotlinlib.v2
import cz.vse.golemiokotlinlib.v2.client.MedicalInstitutionsClient
import cz.vse.golemiokotlinlib.common.entity.responsedata.MedicalGroup
import cz.vse.golemiokotlinlib.common.entity.responsedata.MedicalInstitutionTypes
import cz.vse.jelinekma.pragueopendatakotlinlib... | 0 | Kotlin | 0 | 2 | b49495579ed1de62068fcccd8393357f2b386701 | 2,822 | golemiokotlin | MIT License |
kotlin_practice/src/main/java/dev/vengateshm/kotlin_practice/programs/ReverseWordsInString.kt | vengateshm | 670,054,614 | false | {"Kotlin": 1781634, "Java": 43780} | package dev.vengateshm.kotlin_practice.programs
fun reverseWords(input: String): String {
val words = input.split(" ")
val reversedWords = words.map { word -> word.reversed() }
return reversedWords.joinToString(" ")
}
fun reverseWords1(input: String): String {
val words = mutableListOf<String>()
v... | 0 | Kotlin | 0 | 1 | 6fa0f1c3170c56264ba85db4ac081831d6623575 | 883 | Android-Kotlin-Jetpack-Compose-Practice | Apache License 2.0 |
core/src/commonMain/kotlin/io/data2viz/math/Percent.kt | data2viz | 89,368,762 | false | null | /*
* Copyright (c) 2018-2019. data2viz sàrl.
*
* 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... | 81 | null | 29 | 400 | bc4ed872c526264727f868f5127e48462301dbf8 | 3,243 | data2viz | Apache License 2.0 |
app/src/main/java/io/mainframe/hacs/status/SpaceStatusService.kt | ktt-ol | 75,970,953 | false | {"Kotlin": 111905, "HTML": 4091, "JavaScript": 1200} | package io.mainframe.hacs.status
import com.launchdarkly.eventsource.EventHandler
import com.launchdarkly.eventsource.EventSource
import com.launchdarkly.eventsource.MessageEvent
import io.mainframe.hacs.common.Constants
import io.mainframe.hacs.main.Status
import okhttp3.internal.closeQuietly
import org.pmw.tinylog.L... | 9 | Kotlin | 2 | 24 | 436a68ca87ec2e187811ea002d5d3d7e71116f74 | 2,785 | hacs | MIT License |
src/main/kotlin/no/nav/meldeplikt/meldekortservice/model/meldegruppe/MeldegruppeResponse.kt | navikt | 207,759,254 | false | {"Kotlin": 167950, "Shell": 759, "Dockerfile": 249} | package no.nav.meldeplikt.meldekortservice.model.meldegruppe
import com.fasterxml.jackson.annotation.JsonIgnoreProperties
import com.fasterxml.jackson.annotation.JsonInclude
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
data class MeldegruppeResponse(
val meldegruppeListe:... | 0 | Kotlin | 1 | 0 | f97ad256afeba299f5fda62ddc49ccb579d82011 | 341 | meldekortservice | MIT License |
sdk/src/main/java/io/matchmore/sdk/Matchmore.kt | matchmore | 113,169,361 | false | {"Kotlin": 286033, "Java": 12753, "Shell": 510} | package io.matchmore.sdk
import android.Manifest
import android.annotation.SuppressLint
import android.content.Context
import android.support.annotation.RequiresPermission
import io.matchmore.sdk.api.ErrorCallback
import io.matchmore.sdk.api.SuccessCallback
import io.matchmore.sdk.api.models.*
import io.matchmore.sdk.... | 2 | Kotlin | 1 | 2 | 0dfd5ba1953cf04e425d410954b05464b809be39 | 7,378 | android-sdk | MIT License |
src/main/kotlin/co/mercenary/creators/kotlin/util/json/text/emoji/JSONEmoji.kt | mercenary-creators | 193,142,947 | false | null | /*
* Copyright (c) 2021, Mercenary Creators Company. All rights reserved.
*
* 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
*
* Unles... | 0 | Kotlin | 0 | 0 | ed38450a1a189230b999eebbb641b1f782589318 | 2,645 | mercenary-creators-kotlin-util | Apache License 2.0 |
core/navigation/src/commonMain/kotlin/nay.kirill.glassOfWater.navigation/Navigation.kt | kirillNay | 695,954,274 | false | {"Kotlin": 128591, "HTML": 393} | package nay.kirill.glassOfWater.navigation
import kotlinx.coroutines.flow.MutableSharedFlow
class Navigation {
val eventsStack = MutableSharedFlow<Event>(
extraBufferCapacity = 1
)
fun navigateTo(screen: SharedScreens) {
eventsStack.tryEmit(Event.Forward(screen))
}
fun back() {
... | 0 | Kotlin | 0 | 0 | d8ab543f790d09f8682913b786dc7d54686bf55a | 502 | GlassOfWater-mini-app | MIT License |
compiler/testData/compileJavaAgainstKotlin/class/ImplementsMapPP.kt | JakeWharton | 99,388,807 | true | null | package test
abstract class Mine<P1, P2> : java.util.Map<P2, P1>
| 179 | Kotlin | 5640 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 66 | kotlin | Apache License 2.0 |
app/src/main/java/org/xtimms/ridebus/data/updater/app/AppUpdateResult.kt | ridebus-by | 379,109,231 | false | null | package org.xtimms.ridebus.data.updater.app
sealed class AppUpdateResult {
class NewUpdate(val release: GithubRelease) : AppUpdateResult()
object NoNewUpdate : AppUpdateResult()
}
| 0 | Kotlin | 0 | 7 | 086da0d23cdbb238c35622053568361802ebd2bc | 189 | ridebus | Apache License 2.0 |
apps/etterlatte-behandling/src/main/kotlin/sak/SakRoutes.kt | navikt | 417,041,535 | false | {"Kotlin": 6309786, "TypeScript": 1570250, "Handlebars": 27542, "Shell": 12438, "HTML": 1734, "Dockerfile": 676, "CSS": 598, "PLpgSQL": 556} | package no.nav.etterlatte.sak
import io.ktor.http.HttpStatusCode
import io.ktor.server.application.call
import io.ktor.server.request.receive
import io.ktor.server.response.respond
import io.ktor.server.routing.Route
import io.ktor.server.routing.get
import io.ktor.server.routing.post
import io.ktor.server.routing.rou... | 8 | Kotlin | 0 | 6 | e715675c319d4a0a826855615749573e45ae7a75 | 13,664 | pensjon-etterlatte-saksbehandling | MIT License |
app/src/main/java/com/hritikbhat/spotify_mvvm_app/ui/fragments/FavouritePlaylistSubFragments/FavouritePlaylistStartFragment.kt | HritikBhat | 714,975,797 | false | {"Kotlin": 222613} | package com.hritikbhat.spotify_mvvm_app.ui.Fragments.FavouritePlaylistSubFragments
import android.content.SharedPreferences
import android.os.Bundle
import android.util.Log
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.da... | 0 | Kotlin | 0 | 0 | d73ca6a4405848550b9fdd384c216e41cf324d76 | 4,800 | Spotify_Clone_MVVM_App | MIT License |
src/jvmTest/kotlin/com/inari/firefly/examples/EasingTest2.kt | AndreasHefti | 387,557,032 | false | null | package com.inari.firefly.examples
import com.inari.firefly.*
import com.inari.firefly.core.api.ShapeType
import com.inari.firefly.entity.Entity
import com.inari.firefly.entity.EntitySystem
import com.inari.firefly.graphics.ETransform
import com.inari.firefly.graphics.rendering.RenderingSystem
import com.inari.firefly... | 2 | Kotlin | 0 | 7 | dad6848b75c9008647b898dc5e1330b2eb04bf65 | 2,872 | flyko-lib | Apache License 2.0 |
src/main/kotlin/org/wagham/db/models/Proficiency.kt | ilregnodiwagham | 540,862,397 | false | null | package org.wagham.db.models
import org.bson.codecs.pojo.annotations.BsonId
data class Proficiency(
val name: String,
val isPurchasable: Boolean
)
data class ProficiencyList(
@BsonId val utilType: String,
val values: List<Proficiency> = emptyList()
) | 0 | Kotlin | 0 | 0 | 855e69e26c30a8a392c5bef6f1b6b6e1eece4031 | 269 | kabot-db-connector | MIT License |
app/src/main/java/com/example/iberdrola/domain/usecases/facturas/GetFacturasBDDUseCase.kt | leomenvn | 781,418,730 | false | {"Kotlin": 67530} | package com.example.iberdrola.domain.usecases.facturas
import com.example.iberdrola.domain.data.FacturaRepository
import com.example.iberdrola.domain.data.model.Factura
class GetFacturasBDDUseCase(private val repository: FacturaRepository){
suspend operator fun invoke(): List<Factura> {
return repositor... | 0 | Kotlin | 0 | 1 | c2ab763e29cdb1b18f4de3d43600c46c96f53d69 | 349 | kotlinVN | Apache License 2.0 |
src/main/kotlin/shou/common/web/element/igcombo/IgCombo.kt | NSVN-NguyenDuyThang | 661,492,559 | false | null | package shou.common.web.element.igcombo
import com.microsoft.playwright.Page
import shou.common.web.BasePage
import shou.utils.DataFaker
/**
* @property comboBoxWrapper locator đến thẻ div chứa class ui-igcombo-wrapper (Click vào element này sẽ xổ ra dropdown)
*/
class IgCombo(override var page: Page, private val c... | 0 | Kotlin | 0 | 0 | b375d9d2ebb4981209025e6052a3080324042e33 | 3,217 | playwright-kotlin | MIT License |
InOutReader/app/src/main/java/com/example/inoutreader/env/BorderedText.kt | UJHa | 225,784,760 | false | null | /* Copyright 2019 The TensorFlow Authors. All Rights Reserved.
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 ag... | 1 | null | 5 | 1 | 52b795687be2ddd22d544099543c75d7397c9674 | 3,988 | Badminton_InOut_Check_App | MIT License |
app/src/androidTest/java/com/ciscowebex/androidsdk/kitchensink/KitchenSinkTest.kt | webex | 137,331,913 | false | {"Kotlin": 921538} | package com.ciscowebex.androidsdk.kitchensink
import android.app.Activity
import android.content.Context
import android.view.View
import android.view.ViewGroup
import androidx.annotation.IdRes
import androidx.annotation.NonNull
import androidx.annotation.StringRes
import androidx.lifecycle.Lifecycle
import androidx.re... | 8 | Kotlin | 19 | 14 | f6ce3ab0d33275c7e59a9d5465d3fa635b5e28bd | 10,581 | webex-android-sdk-example | MIT License |
app/src/androidTest/java/com/ciscowebex/androidsdk/kitchensink/KitchenSinkTest.kt | webex | 137,331,913 | false | {"Kotlin": 921538} | package com.ciscowebex.androidsdk.kitchensink
import android.app.Activity
import android.content.Context
import android.view.View
import android.view.ViewGroup
import androidx.annotation.IdRes
import androidx.annotation.NonNull
import androidx.annotation.StringRes
import androidx.lifecycle.Lifecycle
import androidx.re... | 8 | Kotlin | 19 | 14 | f6ce3ab0d33275c7e59a9d5465d3fa635b5e28bd | 10,581 | webex-android-sdk-example | MIT License |
data/src/main/java/com/akochdev/data/database/dao/CharacterListDao.kt | AkochDev | 423,927,462 | false | {"Kotlin": 122421} | package com.akochdev.data.database.dao
import androidx.room.Dao
import androidx.room.Insert
import androidx.room.OnConflictStrategy
import androidx.room.Query
import com.akochdev.data.database.model.CharacterListItemDBModel
@Dao
interface CharacterListDao {
@Query("SELECT * from character_list ORDER BY name LIMI... | 0 | Kotlin | 0 | 0 | 24040b53c7a4450599f129986e4e7ecf00be5e7f | 547 | akoch-marvel-list | Apache License 2.0 |
providers/src/main/java/com/flixclusive/providers/models/providers/superstream/SuperStreamSubtitleResponse.kt | rhenwinch | 659,237,375 | false | {"Kotlin": 1156049} | package com.flixclusive.providers.models.providers.superstream
import com.flixclusive.providers.sources.superstream.SuperStreamCommon.captionDomains
import com.google.gson.annotations.SerializedName
internal data class SuperStreamSubtitleResponse(
val code: Int? = null,
val msg: String? = null,
val data: ... | 23 | Kotlin | 7 | 96 | a90215b8c40ac0675cd217b38b842d2d57c90acc | 1,253 | Flixclusive | MIT License |
app/src/main/java/ru/vitaliy/belyaev/wishapp/utils/AndroidVersionsExt.kt | VitaliyBelyaev | 398,851,175 | false | {"Kotlin": 386804, "Swift": 91562, "Ruby": 2345} | package ru.vitaliy.belyaev.wishapp.utils
import android.os.Build
val isAndroidVersionSOrAbove: Boolean
get() = Build.VERSION.SDK_INT >= Build.VERSION_CODES.S | 1 | Kotlin | 1 | 23 | f034eebfd9adaea16f723b3aeb0825b946beea96 | 163 | WishApp | Apache License 2.0 |
src/linuxArm32Main/kotlin/org/guiVista/gui/layout/box.kt | gui-vista | 331,127,836 | false | null | package org.guiVista.gui.layout
import gtk3.*
import kotlinx.cinterop.CPointer
import kotlinx.cinterop.reinterpret
public actual class Box(
boxPtr: CPointer<GtkBox>? = null,
orientation: GtkOrientation = GtkOrientation.GTK_ORIENTATION_HORIZONTAL
) : BoxBase {
override val gtkWidgetPtr: CPointer<GtkWidget>... | 0 | Kotlin | 0 | 0 | 484e1e8437a3d57faaf5667489d622402fe7be01 | 622 | guivista-gui | Apache License 2.0 |
app-examples/example-kt-02coroutine/src/test/java/foo/bar/example/forecoroutine/feature/counter/CounterWithProgressTest.kt | erdo | 92,027,307 | false | {"Kotlin": 602726, "Java": 405950, "Shell": 1405} | package foo.bar.example.forecoroutine.feature.counter
import co.early.fore.core.WorkMode
import co.early.fore.kt.core.logging.SystemLogger
import co.early.fore.core.observer.Observer
import co.early.fore.kt.core.delegate.Fore
import co.early.fore.kt.core.delegate.TestDelegateDefault
import io.mockk.mockk
import io.moc... | 2 | Kotlin | 3 | 46 | 1af5bd3ad9b2395a636fac12c40016fd2c815d0c | 4,079 | android-fore | Apache License 2.0 |
client/slack-api-client/src/main/kotlin/io/hndrs/slack/api/group/ApiCallMethod.kt | hndrs | 168,710,332 | false | null | package com.kreait.slack.api.group
/**
* Abstract Class that represents an api interaction with the slack api
*/
@Suppress("UNCHECKED_CAST")
abstract class ApiCallMethod<Builder, Success, Failure, Params : Any> {
protected var onFailure: ((Failure) -> Any)? = null
protected var onSuccess: ((Success) -> Any)... | 57 | null | 13 | 16 | 89c5a6ddd0cbac522dd9cd4324901bf2907369a8 | 1,399 | slack-spring-boot-starter | MIT License |
app/src/main/java/nodomain/freeyourgadget/fossilnotify/App.kt | alexbilevskiy | 622,469,193 | false | null | package nodomain.freeyourgadget.fossilnotify
import android.app.Application
import android.app.NotificationChannel
import android.app.NotificationManager
import android.content.Context
import nodomain.freeyourgadget.fossilnotify.service.NotificationService
class App : Application() {
override fun onCreate() {
... | 0 | Kotlin | 0 | 0 | b7e48066e8251dafb516ef15062c36cadae6ba04 | 889 | fossilnotify | Apache License 2.0 |
kotlin-node/src/jsMain/generated/node/wasi/WASIOptions.kt | JetBrains | 93,250,841 | false | null | // Generated by Karakum - do not modify it manually!
package node.wasi
sealed external interface WASIOptions {
/**
* An array of strings that the WebAssembly application will
* see as command line arguments. The first argument is the virtual path to the
* WASI command itself.
* @default []
... | 40 | null | 165 | 1,347 | 997ed3902482883db4a9657585426f6ca167d556 | 1,881 | kotlin-wrappers | Apache License 2.0 |
app/src/main/java/com/quixom/apps/deviceinfo/fragments/CameraFragment.kt | QuixomTech | 106,003,406 | false | null | package com.quixom.apps.deviceinfo.fragments
import android.Manifest
import android.annotation.SuppressLint
import android.annotation.TargetApi
import android.content.Context
import android.content.pm.PackageManager
import android.graphics.Camera
import android.graphics.ImageFormat
import android.hardware.camera2.Came... | 4 | null | 47 | 92 | 3f36845e1be0829b90ee171b758ef8b8863bc925 | 24,524 | DeviceInfo | Apache License 2.0 |
fluent-icons-generator/src/jvmMain/kotlin/androidx/compose/material/icons/generator/IconTestingManifestGenerator.kt | Konyaco | 574,321,009 | false | null | /*
* Copyright 2020 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 21 | null | 823 | 83 | 9e86d93bf1f9ca63a93a913c990e95f13d8ede5a | 5,500 | compose-fluent-ui | Apache License 2.0 |
app/src/main/java/com/kevalpatel2106/fxratesample/utils/Extentions.kt | kevalpatel2106 | 273,729,277 | false | null | package com.zeynelerdi.fxratesample.utils
import androidx.lifecycle.LifecycleOwner
import androidx.lifecycle.LiveData
import androidx.lifecycle.Observer
import io.reactivex.disposables.CompositeDisposable
import io.reactivex.disposables.Disposable
fun <T> LiveData<T>.nullSafeObserve(owner: LifecycleOwner, observer: (... | 0 | null | 1 | 4 | 3a8b55c359528eb7cabfbe9610f6b7813b41d427 | 584 | Currency-Converter-App | Apache License 2.0 |
app/src/main/java/com/example/androiddevchallenge/ui/screens/Puppies.kt | erlanamanatov | 342,770,601 | false | null | /*
* Copyright 2021 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 0 | Kotlin | 0 | 0 | 9a160018e4ca09aaaa8eded2ed8c858936ef58b2 | 5,254 | PuppyApp | Apache License 2.0 |
PremiumStorefront/src/main/java/co/geeksempire/premium/storefront/PremiumStorefrontApplication.kt | eliasdfazel | 357,269,336 | false | null | /*
* Copyright © 2021 By Geeks Empire.
*
* Created by <NAME>
* Last modified 8/21/21, 10:28 AM
*
* Licensed Under MIT License.
* https://opensource.org/licenses/MIT
*/
package co.geeksempire.premium.storefront
import android.content.Context
import android.os.Bundle
import co.geeksempire.premium.storefront.Dat... | 0 | Kotlin | 0 | 1 | c87ce3cb492443f9bf0088f76882ed33e18ad341 | 2,077 | PremiumStorefront | MIT License |
ui/script/src/main/kotlin/me/gegenbauer/catspy/script/ui/DeviceInfoCard.kt | Gegenbauer | 609,809,576 | false | {"Kotlin": 652879} | package me.gegenbauer.catspy.script.ui
import info.clearthought.layout.TableLayout
import info.clearthought.layout.TableLayoutConstants
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.async
import kotlinx.coroutines.launch
import kotlinx.coroutines.withContext
import me.gegenbauer.catspy.concurrency.GI... | 3 | Kotlin | 4 | 7 | 70d905761d3cb0cb2e5ee9b80ceec72fca46ee52 | 3,245 | CatSpy | Apache License 2.0 |
app/src/main/java/dlebal/es/coinhivemonitor/api/coinhive/model/CoinhiveSite.kt | dlebal | 169,708,968 | false | null | package dlebal.es.coinhivemonitor.api.coinhive.model
import com.google.gson.annotations.SerializedName
/**
* Class data class CoinhiveSite
*
* This class provides CoinhiveSite objects
*/
data class CoinhiveSite(
@SerializedName("hashesPerSecond")
val hashesPerSecond: Long = 0,
@SerializedName("hashesT... | 0 | Kotlin | 0 | 0 | 903e1537899cb93f2553b2a560c9dd171a863e2b | 755 | CoinhiveMonitor | Apache License 2.0 |
core/domain/src/main/java/com/wap/wapp/core/domain/usecase/event/GetEventsUseCase.kt | pknu-wap | 689,890,586 | false | {"Kotlin": 265360, "Shell": 233} | package com.wap.wapp.core.domain.usecase.event
import com.wap.wapp.core.data.repository.event.EventRepository
import com.wap.wapp.core.model.event.Event
import java.time.LocalDate
import javax.inject.Inject
class GetEventsUseCase @Inject constructor(
private val eventRepository: EventRepository,
) {
suspend o... | 5 | Kotlin | 1 | 8 | 97848fa61b703910ae630a67ee6599d99b8e37b4 | 556 | WAPP | MIT License |
modules/feature/search/src/main/kotlin/kekmech/ru/feature_search/screens/schedule_details/ScheduleDetailsFragment.kt | tonykolomeytsev | 203,239,594 | false | null | package kekmech.ru.feature_search.screens.schedule_details
import android.graphics.Point
import android.os.Bundle
import android.view.View
import androidx.recyclerview.widget.LinearLayoutManager
import kekmech.ru.common_adapter.AdapterItem
import kekmech.ru.common_adapter.BaseAdapter
import kekmech.ru.common_analytics... | 19 | Kotlin | 4 | 28 | 209f34745458e150136c3cd6acb1fcad2e12ef9c | 5,632 | mpeiapp | MIT License |
walletlibrary/src/main/java/com/microsoft/did/sdk/credential/service/models/attestations/CredentialAttestations.kt | microsoft | 567,422,889 | false | null | /*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... | 7 | Kotlin | 8 | 9 | d7c28891eaa6f6d4bd373be324cd61ba32776622 | 937 | entra-verifiedid-wallet-library-android | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.