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/me/impa/knockonports/viewmodel/MainViewModel.kt | waldoswify93 | 304,538,268 | true | {"Kotlin": 201069, "C++": 4698, "CMake": 1691, "C": 451} | /*
* Copyright (c) 2018 <NAME>
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Vers... | 0 | null | 0 | 0 | c49c13adb8e37efa818f70f11a139580656ad503 | 9,732 | knockonports | Apache License 2.0 |
app/src/main/java/com/quoinsight/tv/PlaybackVideoFragment.kt | QuoInsight | 852,073,699 | false | {"Kotlin": 47521, "Java": 36912, "Shell": 1386} | package com.quoinsight.tv
import android.net.Uri
import android.os.Bundle
import androidx.leanback.app.VideoSupportFragment
import androidx.leanback.app.VideoSupportFragmentGlueHost
import androidx.leanback.media.MediaPlayerAdapter
import androidx.leanback.media.PlaybackTransportControlGlue
import androidx.leanback.wi... | 0 | Kotlin | 0 | 0 | b48e4295e4b14c65f6b60c0712822f749c4d135e | 1,947 | tv.apk | MIT License |
eureka-server/src/main/kotlin/io/microservicesexample/eurekaserver/EurekaServerApplication.kt | rkudryashov | 159,522,528 | false | null | package microservice.workshop.eurekaserver
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.runApplication
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer
@SpringBootApplication
@EnableEurekaServer
class EurekaServerApplication
fun main(arg... | 2 | null | 4 | 80 | 400cfd04020178286724ef22e720ac6bcdb36be3 | 390 | microservices-example | Apache License 2.0 |
SingleModuleApp/app/src/main/java/com/github/yamamotoj/singlemoduleapp/package89/Foo08993.kt | yamamotoj | 163,851,411 | false | null | package com.github.yamamotoj.module4.package89
class Foo08993 {
fun method0() {
Foo08992().method5()
}
fun method1() {
method0()
}
fun method2() {
method1()
}
fun method3() {
method2()
}
fun method4() {
method3()
}
fun method5() {... | 0 | Kotlin | 0 | 9 | 2a771697dfebca9201f6df5ef8441578b5102641 | 347 | android_multi_module_experiment | Apache License 2.0 |
src/test/kotlin/no/nav/soknad/arkivering/soknadsarkiverer/service/fileservice/FilestorageServiceTests.kt | navikt | 213,857,164 | false | null | package no.nav.soknad.arkivering.soknadsarkiverer.service.fileservice
import io.prometheus.client.CollectorRegistry
import no.nav.security.token.support.client.spring.ClientConfigurationProperties
import no.nav.soknad.arkivering.soknadsarkiverer.config.AppConfiguration
import no.nav.soknad.arkivering.soknadsarkiverer.... | 4 | Kotlin | 0 | 0 | 8a1b3de5b7f923df71d7bb149ed1c27c1fe951b4 | 9,504 | soknadsarkiverer | MIT License |
vck/src/androidMain/kotlin/at/asitplus/wallet/lib/agent/CryptoService.android.kt | a-sit-plus | 602,578,639 | false | {"Kotlin": 1076316} | package at.asitplus.wallet.lib.agent
import at.asitplus.KmmResult
import at.asitplus.KmmResult.Companion.wrap
import at.asitplus.signum.indispensable.josef.*
import javax.crypto.Cipher
import javax.crypto.Mac
import javax.crypto.spec.GCMParameterSpec
import javax.crypto.spec.SecretKeySpec
actual open class PlatformCr... | 11 | Kotlin | 1 | 22 | 6f29a2ba84aceda63026afcfc8fd6cc0d8ccbb00 | 3,233 | vck | Apache License 2.0 |
core/descriptors.jvm/src/org/jetbrains/kotlin/builtins/jvm/JvmBuiltInClassDescriptorFactory.kt | JetBrains | 3,432,266 | false | null | /*
* Copyright 2010-2018 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.builtins.jvm
import org.jetbrains.kotlin.builtins.BuiltInsPackageFragment
import... | 181 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 2,405 | kotlin | Apache License 2.0 |
state-tracker/src/main/java/org/jetbrains/ruby/stateTracker/RubyClassHierarchy.kt | JetBrains | 85,180,339 | false | null | package org.jetbrains.ruby.stateTracker
interface RubyClassHierarchy {
val loadPaths: List<String>
val topLevelConstants: Map<String, RubyConstant>
fun getRubyModule(fqn: String) : RubyModule?
class Impl(override val loadPaths: List<String>, rubyModules: List<RubyModule>,
override val... | 17 | Kotlin | 8 | 135 | df63525a226c4926614a3937546b570b68bc42aa | 3,470 | ruby-type-inference | Apache License 2.0 |
ChatAvatarSetter/src/main/kotlin/ChatAvatarSetter.kt | InsanusMokrassar | 242,931,149 | false | {"Kotlin": 158639, "HTML": 2109} | import dev.inmo.micro_utils.coroutines.runCatchingSafely
import dev.inmo.tgbotapi.bot.ktor.telegramBot
import dev.inmo.tgbotapi.extensions.api.chat.modify.setChatPhoto
import dev.inmo.tgbotapi.extensions.api.files.downloadFile
import dev.inmo.tgbotapi.extensions.api.send.reply
import dev.inmo.tgbotapi.extensions.behavi... | 6 | Kotlin | 5 | 45 | e34f0ec9d8ffc49ce562e4c18b8b54225cbc1660 | 1,337 | TelegramBotAPI-examples | MIT License |
examples/migration/android-compose-dagger/buildSrc/src/main/kotlin/template/workspace_template.kt | Morfly | 368,910,388 | false | null | /*
* Copyright 2021 Pavlo Stavytskyi
*
* 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... | 1 | Kotlin | 3 | 31 | f778911492a8de2e2b11e1caa53d1b8e5f3eb08f | 6,255 | airin | Apache License 2.0 |
src/main/kotlin/days/Day8.kt | hughjdavey | 225,440,374 | false | null | package days
class Day8 : Day(8) {
override fun partOne(): Any {
val min = decodeImage(inputString.trim(), 6, 25).minBy { it.countOf('0') }
return if (min == null) 0 else min.countOf('1') * min.countOf('2')
}
override fun partTwo(): Any {
// HCGFE
return "\n" + realImage(i... | 0 | Kotlin | 0 | 1 | 84db818b023668c2bf701cebe7c07f30bc08def0 | 1,503 | aoc-2019 | Creative Commons Zero v1.0 Universal |
dsl/src/main/kotlin/cloudshift/awscdk/dsl/services/sagemaker/CfnUserProfileUserSettingsPropertyDsl.kt | cloudshiftinc | 667,063,030 | false | null | @file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION")
package cloudshift.awscdk.dsl.services.sagemaker
import cloudshift.awscdk.common.CdkDslMarker
import kotlin.String
import kotlin.collections.C... | 1 | Kotlin | 0 | 0 | 17c41bdaffb2e10d31b32eb2282b73dd18be09fa | 6,955 | awscdk-dsl-kotlin | Apache License 2.0 |
libraries/tools/kotlin-gradle-plugin-integration-tests/src/test/kotlin/org/jetbrains/kotlin/gradle/K2Tests.kt | JetBrains | 3,432,266 | false | null | /*
* Copyright 2010-2023 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.gradle
import org.gradle.util.GradleVersion
import org.jetbrains.kotlin.gradle.t... | 183 | null | 5771 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 9,649 | kotlin | Apache License 2.0 |
library/controller/kmp-tor-controller/src/jvmAndroidMain/kotlin/io/matthewnelson/kmp/tor/controller/internal/io/-WriterWrapper.kt | 05nelsonm | 456,238,754 | false | {"Kotlin": 1053325} | /*
* Copyright (c) 2022 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | 25 | Kotlin | 5 | 33 | 7888dc90b99b04f8d28f8abe7ccfb7402e2bd1bc | 1,575 | kmp-tor | Apache License 2.0 |
appbase/src/main/java/com/pthw/appbase/utils/LocalBroadcastEventBus.kt | PhyoThihaWin | 769,428,664 | false | {"Kotlin": 66565} | package com.pthw.appbase.utils
import com.pthw.appbase.utils.LocalBroadcastEventBus.EventType
import com.pthw.appbase.utils.LocalBroadcastEventBus.LocalEventListener
import kotlinx.coroutines.ensureActive
import kotlinx.coroutines.flow.MutableStateFlow
import kotlinx.coroutines.flow.asStateFlow
import kotlinx.coroutin... | 0 | Kotlin | 0 | 0 | a96fb34881e17b6bef8ca3048605900abd9977e4 | 2,686 | compose-rsa-biometric | Apache License 2.0 |
PodcastEngine/src/main/kotlin/File.kt | StaticallyTypedRice | 175,922,384 | false | null | package podcastengine.file
import java.net.URL
import java.util.NoSuchElementException
class FileName(_name: String, _noExtraSpaces: Boolean = true) {
companion object {
val invalidFilenameCharacters = arrayOf(
'\\',
'/',
':',
'*',
... | 0 | Kotlin | 0 | 6 | 1172461097881b075fb7f9e10c94e4bde92eb1af | 2,823 | PodKatch | MIT License |
LudoSpringBoot/game-server/src/test/kotlin/hu/bme/aut/alkfejl/ludospringboot/gameserver/GameServerApplicationTests.kt | Kis-Benjamin | 693,261,151 | false | {"Kotlin": 358575, "Shell": 2693, "Dockerfile": 2134} | /*
* Copyright © 2023 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... | 0 | Kotlin | 0 | 0 | 731f304280ad30068c0149fdd04a94213ebea2e1 | 829 | Ludo | Apache License 2.0 |
FloatButton/app/src/main/java/com/example/floatbutton/MainActivity.kt | yuuuuke | 335,872,718 | false | null | package com.example.floatbutton
import android.content.ComponentName
import android.content.Intent
import android.content.ServiceConnection
import android.graphics.Color
import android.graphics.Point
import android.os.Bundle
import android.os.IBinder
import android.util.Log
import android.view.View.SYSTEM_UI_FLAG_LAYO... | 0 | Kotlin | 0 | 0 | ed2776a9cf736624fb9c7357c8ff321cb6503044 | 5,985 | practice | Apache License 2.0 |
core/src/main/kotlin/io/holunda/connector/decide/DecideFunction.kt | holunda-io | 630,812,028 | false | null | package io.holunda.connector.decide
import com.fasterxml.jackson.databind.*
import io.camunda.connector.api.annotation.*
import io.camunda.connector.api.error.*
import io.camunda.connector.api.outbound.*
import io.holunda.connector.common.*
import io.holunda.connector.decide.DecisionOutputType.*
import io.holunda.conn... | 17 | null | 0 | 11 | 636aa37afaf33e092fde968d7875a23f9cd0b6db | 1,617 | camunda-8-connector-gpt | Apache License 2.0 |
src/main/java/com/internshala/indiexhackathon/MainActivity.kt | devrs8123 | 746,165,829 | false | {"Kotlin": 22902} | package com.internshala.indiexhackathon
import android.animation.ObjectAnimator
import android.content.Intent
import android.graphics.drawable.AnimationDrawable
import android.net.Uri
import android.os.Bundle
import android.speech.RecognitionListener
import android.speech.RecognizerIntent
import android.speech.SpeechR... | 0 | Kotlin | 0 | 0 | 3f0205539196122d21aa8bedff65b66e846726a2 | 16,412 | Indie-Code-X-AI-Hackathon | Apache License 2.0 |
neutrino/src/commonMain/kotlin/io/github/kleinstein/neutrino/DI.kt | Klein-Stein | 486,564,264 | false | {"Kotlin": 30072, "Ruby": 1599} | package io.github.kleinstein.neutrino
import io.github.kleinstein.neutrino.fabrics.Provider
import io.github.kleinstein.neutrino.contracts.*
import io.github.kleinstein.neutrino.exceptions.NeutrinoException
import io.github.kleinstein.neutrino.fabrics.Singleton
import io.github.kleinstein.neutrino.references.Weak
impo... | 0 | Kotlin | 0 | 0 | 7b9c2f0b26bf89aaaf6f0cc169f9e0afff0a694c | 5,009 | neutrino | MIT License |
feature/monster-registration/android/src/main/kotlin/br/alexandregpereira/hunter/monster/registration/ui/form/MonsterStatsForm.kt | alexandregpereira | 347,857,709 | false | {"Kotlin": 1267769, "Swift": 74314, "Shell": 139} | package br.alexandregpereira.hunter.monster.registration.ui.form
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.res.stringResource
import br.alexandregpereira.hunter.domain.model.Monster
import br.alexandregpereira.hunter.monster.registration.R
import br.alexa... | 7 | Kotlin | 4 | 79 | ba86ff4c03c723403eeaca6bd567b7389c40cae1 | 2,107 | Monster-Compendium | Apache License 2.0 |
app/src/main/java/com/suda/yzune/wakeupschedule/course_add/SelectWeekFragment.kt | dongguayaya | 165,588,699 | true | {"Kotlin": 453481, "Java": 215} | package com.suda.yzune.wakeupschedule.course_add
import android.os.Bundle
import android.view.*
import android.widget.LinearLayout
import android.widget.TextView
import androidx.core.content.ContextCompat
import androidx.fragment.app.DialogFragment
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.Ob... | 0 | Kotlin | 0 | 0 | ed0770170f1eea7af4a46e3a53a574ef59b0f9c0 | 7,308 | WakeupSchedule_Kotlin | Apache License 2.0 |
src/main/kotlin/com/projectcitybuild/repositories/WarpRepository.kt | projectcitybuild | 42,997,941 | false | null | package com.projectcitybuild.repositories
import com.projectcitybuild.entities.SerializableLocation
import com.projectcitybuild.entities.Warp
import com.projectcitybuild.modules.database.DataSource
class WarpRepository(
private val dataSource: DataSource,
) {
private val nameCache: MutableList<String> = mutab... | 9 | Kotlin | 0 | 3 | 36a7197d870aa24a9b9ea65567a35fa38f86a31d | 3,186 | PCBridge | MIT License |
app/src/main/java/com/qlang/eyepetizer/bean/TabTitleInfo.kt | qlang122 | 309,645,125 | false | null | package com.qlang.eyepetizer.bean
data class TabTitleInfo(var name: String, var tag: Int = -1, var pageUrl: String? = null) {
} | 1 | null | 3 | 2 | 3eefe4b5734aeb58994ff1af7a1850c7b7740e64 | 128 | EyepetizerTv | Apache License 2.0 |
app/src/main/java/com/flixclusive/common/UiText.kt | rhenwinch | 659,237,375 | false | null | package com.flixclusive.core.util.common.ui
import android.content.Context
import androidx.annotation.StringRes
import androidx.compose.runtime.Composable
import androidx.compose.ui.res.stringResource
sealed class UiText {
data class StringValue(val str: String) : UiText()
class StringResource(
@Stri... | 24 | null | 9 | 96 | a90215b8c40ac0675cd217b38b842d2d57c90acc | 793 | Flixclusive | MIT License |
libraries/scripting/common/src/kotlin/script/experimental/api/scriptData.kt | JakeWharton | 99,388,807 | false | null | /*
* Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
* that can be found in the license/LICENSE.txt file.
*/
@file:Suppress("unused")
package kotlin.script.experimental.api
import java.net.URL
interface ScriptSource {
val location: URL?
val text: String?... | 0 | null | 28 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 935 | kotlin | Apache License 2.0 |
app/src/main/java/net/odiak/granite/EditActivity.kt | odiak | 456,617,511 | false | {"Kotlin": 66770} | package net.odiak.granite
import android.content.ContentResolver
import android.net.Uri
import android.os.Bundle
import android.os.ParcelFileDescriptor
import android.provider.DocumentsContract
import androidx.activity.ComponentActivity
import androidx.activity.compose.BackHandler
import androidx.activity.compose.setC... | 0 | Kotlin | 0 | 0 | c45f9f55d98b3f0c9925c844481889547cbb5fee | 12,956 | granite-android | MIT License |
app/src/main/java/io/horizontalsystems/bankwallet/entities/Wallet.kt | horizontalsystems | 142,825,178 | false | null | package io.horizontalsystems.bankwallet.entities
import android.os.Parcelable
import io.horizontalsystems.bankwallet.modules.transactions.TransactionSource
import io.horizontalsystems.marketkit.models.CoinType
import io.horizontalsystems.marketkit.models.PlatformCoin
import kotlinx.android.parcel.Parcelize
import java... | 163 | Kotlin | 219 | 402 | 5ce20e6e4e0f75a76496051ba6f78312bc641a51 | 3,094 | unstoppable-wallet-android | MIT License |
chess-api/src/main/kotlin/pluto/chess/figure/StartPawn.kt | oliver2619 | 462,463,055 | false | {"Kotlin": 214537} | package pluto.chess.figure
import pluto.chess.board.*
import pluto.chess.move.*
import pluto.chess.move.DefaultMove
import pluto.chess.move.PawnDoubleStepMove
import pluto.chess.move.PawnNonCapturingMove
internal class StartPawn(color: FigureColor, field: Field) : Pawn(color, field) {
private val lineMoves: Arra... | 0 | Kotlin | 0 | 0 | 7826be4e8c2e811f74b47066b77d05546e03ccbc | 3,289 | chess | MIT License |
library/src/main/java/com/mooveit/library/providers/definition/ChuckNorrisFactsProvider.kt | moove-it | 79,579,060 | false | null | package com.mooveit.library.providers.definition
interface ChuckNorrisFactsProvider : Provider {
fun fact(): String
} | 18 | Kotlin | 48 | 525 | 12b87899d62c5fa701141f8f98cb7265ab58bc15 | 123 | fakeit | MIT License |
lib/src/main/kotlin/com/lemonappdev/konsist/api/ext/list/KoModuleProviderListExt.kt | LemonAppDev | 621,181,534 | false | null | package com.lemonappdev.konsist.api.ext.list
import com.lemonappdev.konsist.api.provider.KoModuleProvider
/**
* List containing declarations with module.
*
* @param name The module name to include.
* @param names The module name(s) to include.
* @return A list containing declarations that reside in any of the sp... | 4 | null | 19 | 768 | 22f45504ab1c88fca8314bd86f91af7dd8a3672b | 959 | konsist | Apache License 2.0 |
common-app/src/main/java/de/rki/covpass/commonapp/uielements/CheckContextCheckboxElement.kt | Digitaler-Impfnachweis | 376,239,258 | false | null | /*
* (C) Copyright IBM Deutschland GmbH 2021
* (C) Copyright IBM Corp. 2021
*/
package de.rki.covpass.commonapp.uielements
import android.content.Context
import android.util.AttributeSet
import android.view.LayoutInflater
import android.view.ViewGroup
import android.widget.FrameLayout
import androidx.core.view.isV... | 47 | null | 62 | 185 | 7301f1500dab4a686aa40341500667cf4cc54d1e | 2,036 | covpass-android | Apache License 2.0 |
src/main/kotlin/com/rrvieir4/pickarr/services/clients/servarr/sonarr/models/Season.kt | rrvieira | 413,513,263 | false | {"Kotlin": 61434, "Dockerfile": 501, "Shell": 74} | package com.rrvieir4.pickarr.services.clients.servarr.sonarr.models
data class Season(
val seasonNumber: Int,
val monitored: Boolean
) | 0 | Kotlin | 0 | 3 | 557eb2b9c06ec60062dbfd293ece3846fb5ff1b1 | 143 | pickarr | MIT License |
pet-kata/src/test/kotlin/com/example/pets/Exercise2.kt | mike-neck | 323,036,209 | false | null | package com.example.pets
import com.example.pets.fixtures.PetDomain
import com.example.pets.fixtures.assertAll
import io.kotest.matchers.collections.shouldHaveSize
import io.kotest.matchers.ints.shouldBeExactly
import io.kotest.matchers.shouldBe
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.extension.... | 2 | Kotlin | 1 | 5 | 8b90499d6e29c1d8e4a7459fc3f31e4b26afd0c3 | 2,502 | kotlin-jvm-stdlib-kata | Apache License 2.0 |
app/src/main/java/com/example/android/codelabs/navigation/HomeFragment.kt | apsommer | 273,306,001 | false | {"Gradle": 3, "Java Properties": 2, "Markdown": 2, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "Proguard": 1, "XML": 34, "Kotlin": 6, "Java": 1} | /*
* 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... | 1 | null | 1 | 1 | 5e1e427ce71af7cba34bcaca8aa07dccd51facb9 | 3,010 | android-navigation | Apache License 2.0 |
analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/components/smartCastProvider/AbstractHLSmartCastInfoTest.kt | JetBrains | 3,432,266 | false | null | /*
* Copyright 2010-2021 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.analysis.api.impl.base.test.components
import org.jetbrains.kotlin.analysis.api.... | 135 | null | 4980 | 40,442 | 817f9f13b71d4957d8eaa734de2ac8369ad64770 | 1,762 | kotlin | Apache License 2.0 |
app/src/main/java/com/harera/hayat/adapter/MedicinesAdapter.kt | hassan0shaban | 373,620,499 | false | null | package com.harera.hayat.adapter
import android.location.Geocoder
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.recyclerview.widget.RecyclerView
import com.harera.hayat.adapter.MedicinesAdapter.ViewHolder
import com.harera.hayat.databinding.CardViewMedicineProductBinding
import com.h... | 1 | Kotlin | 1 | 1 | 210e8a704b126a55eaaea7afef7b3272542b501c | 2,253 | Hayat-EG-Android | MIT License |
compiler/backend.common.jvm/src/org/jetbrains/kotlin/codegen/coroutines/coroutineConstants.kt | JetBrains | 3,432,266 | false | {"Kotlin": 79571273, "Java": 6776465, "Swift": 4063829, "C": 2609744, "C++": 1957654, "Objective-C++": 175279, "JavaScript": 130754, "Python": 59855, "Shell": 34920, "Objective-C": 21463, "Lex": 21452, "Batchfile": 11382, "CSS": 11368, "Ruby": 10470, "Dockerfile": 9907, "Groovy": 7092, "EJS": 5241, "CMake": 4473, "HTML... | /*
* Copyright 2010-2022 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.codegen.coroutines
const val SUSPEND_FUNCTION_COMPLETION_PARAMETER_NAME = "\$com... | 181 | Kotlin | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 466 | kotlin | Apache License 2.0 |
retrofit/app/src/main/java/com/gsesdras/retrofit/data/model/AccountDTO.kt | gsesdras | 492,298,329 | false | null | package com.gsesdras.retrofit.data.model
data class AccountDTO(
val id: String,
val name: String,
val username: String,
val createdAt: String,
val avatar: String
) | 0 | Kotlin | 0 | 0 | dcc85a2f8cb8853962dba3bbf4081078238e6dde | 184 | android-samples | MIT License |
libraries/extensions/src/main/kotlin/com/egoriku/grodnoroads/extensions/Firebase.kt | egorikftp | 485,026,420 | false | null | package com.egoriku.grodnoroads.extensions
import com.egoriku.grodnoroads.extensions.common.ResultOf
import com.google.firebase.FirebaseException
import com.google.firebase.database.*
import kotlinx.coroutines.channels.awaitClose
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.callbackFlow
inline f... | 2 | null | 1 | 9 | 43fcdea90af3233a29912d196d2ae53e5323855f | 4,161 | GrodnoRoads | Apache License 2.0 |
rendering/src/com/android/tools/rendering/classloading/loaders/DelegatingClassLoader.kt | JetBrains | 60,701,247 | false | null | /*
* Copyright (C) 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 5 | null | 230 | 948 | 10110983c7e784122d94c7467e9d243aba943bf4 | 5,113 | android | Apache License 2.0 |
base/build-system/integration-test/application/src/test/java/com/android/build/gradle/integration/application/JetifierTest.kt | qiangxu1996 | 301,210,525 | false | {"Java": 38854631, "Kotlin": 10438678, "C++": 1701601, "HTML": 795500, "FreeMarker": 695102, "Starlark": 542991, "C": 148853, "RenderScript": 58853, "Shell": 51803, "CSS": 36591, "Python": 32879, "XSLT": 23593, "Batchfile": 8747, "Dockerfile": 7341, "Emacs Lisp": 4737, "Makefile": 4067, "JavaScript": 3488, "CMake": 329... | /*
* 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... | 1 | Java | 1 | 1 | 3411c5436d0d34e6e2b84cbf0e9395ac8c55c9d4 | 9,522 | vmtrace | Apache License 2.0 |
compiler/ir/backend.js/src/org/jetbrains/kotlin/ir/backend/js/lower/JsStringConcatenationLowering.kt | JetBrains | 3,432,266 | false | null | /*
* Copyright 2010-2021 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.ir.backend.js.lower
import org.jetbrains.kotlin.backend.common.CommonBackendCont... | 181 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 5,379 | kotlin | Apache License 2.0 |
app/src/androidTest/java/com/xently/ui/demo/ExampleInstrumentedTest.kt | AndroidLib | 253,798,542 | false | {"Kotlin": 183823} | package com.xently.ui.demo
import androidx.test.ext.junit.runners.AndroidJUnit4
import androidx.test.filters.LargeTest
import androidx.test.platform.app.InstrumentationRegistry
import org.junit.Assert.assertEquals
import org.junit.Test
import org.junit.runner.RunWith
/**
* Instrumented test, which will execute on an... | 0 | null | 0 | 0 | ff5b09da5e338017ba9621101b3c05341ccf81bb | 724 | Xently-UI | Apache License 2.0 |
navi/app/src/main/java/com/naviapp/assignment/source/RepoPagingSource.kt | kunal26das | 673,585,943 | false | null | package com.naviapp.assignment.source
import com.naviapp.assignment.Constant.INITIAL_PAGE
import com.naviapp.assignment.model.Repo
import com.naviapp.assignment.repo.RepoRepository
class RepoPagingSource(
private val repoRepository: RepoRepository,
private val user: String,
) : PagingSource<Repo>() {
ove... | 0 | Kotlin | 0 | 1 | de0811d69435da1b902a038848b8c52a9f9e165b | 946 | android-assignments | Apache License 2.0 |
app/src/main/java/example/jllarraz/com/passportreader/ui/fragments/CameraFragment.kt | jllarraz | 151,435,529 | false | null | package example.jllarraz.com.passportreader.ui.fragments
import android.Manifest
import android.app.AlertDialog
import android.app.Dialog
import android.content.Context
import android.content.pm.PackageManager
import android.hardware.camera2.CameraCharacteristics
import android.os.Build
import android.os.Bundle
import... | 10 | null | 37 | 91 | 787d3d3206b4855163784ff4fc6d643bb3743830 | 13,655 | AndroidPassportReader | Apache License 2.0 |
client/app/src/main/java/org/feup/cmov/acmeclient/data/event/UiEvent.kt | miguelalexbt | 305,443,061 | false | null | package org.feup.cmov.acmeclient.data.event
data class UiState(val isLoading: Boolean, val error: Int?)
class UiEvent(val isLoading: Boolean = false, val error: Int? = null) :
Event<UiState>(UiState(isLoading, error)) | 0 | Kotlin | 0 | 0 | bbd82c059b35525faf78de35c217b661ee7ad259 | 223 | ACME-Coffee-App | MIT License |
app/src/main/java/com/kilomobi/cigobox/data/di/DispatcherModule.kt | fkistner-dev | 734,864,503 | false | {"Kotlin": 57557} | /*
* Created by fkistner.
* fabrice.kistner.pro@gmail.com
* Last modified on 01/01/2024 19:56.
* Copyright (c) 2024.
* All rights reserved.
*/
package com.kilomobi.cigobox.data.di
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent
import kot... | 0 | Kotlin | 0 | 0 | b0d50245d3bf1f9c37560156d0b0d3faffcb013d | 872 | inventory-android | MIT License |
src/main/kotlin/one/devos/osuv2kt/models/event/EventType.kt | devOS-Sanity-Edition | 856,181,413 | false | {"Kotlin": 49164} | package one.devos.osuv2kt.models.event
public data class EventType(
public val achievement: AchievementEvent,
public val beatmapPlayground: BeatmapPlaycountEvent,
public val beatmapsetApprove: BeatmapsetApproveEvent,
public val beatmapsetDelete: BeatmapsetDeleteEvent,
public val beatmapsetRevive: B... | 0 | Kotlin | 0 | 0 | ebefb4d6ad7003c46c4e482d8229af8df6552b81 | 745 | osuv2kt | MIT License |
plugins/groovy/groovy-psi/src/org/jetbrains/plugins/groovy/annotator/GroovyAnnotatorPre30.kt | vanyusuf1 | 222,714,170 | false | {"Text": 3913, "XML": 4546, "Ant Build System": 14, "Shell": 466, "Markdown": 287, "Ignore List": 79, "Git Attributes": 9, "Batchfile": 29, "SVG": 1938, "Java": 63178, "C++": 15, "HTML": 2701, "Kotlin": 3809, "DTrace": 1, "Gradle": 66, "Java Properties": 92, "INI": 231, "JFlex": 27, "Groovy": 3040, "XSLT": 109, "JavaSc... | // 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 org.jetbrains.plugins.groovy.annotator
import com.intellij.lang.annotation.AnnotationHolder
import com.intellij.psi.PsiElement
import com.intellij.psi.PsiErrorElement
imp... | 1 | null | 1 | 1 | ac53b8c2c773034c52746c1c9e295e0427496568 | 10,056 | intellij-community | Apache License 2.0 |
plugins/groovy/groovy-psi/src/org/jetbrains/plugins/groovy/annotator/GroovyAnnotatorPre30.kt | vanyusuf1 | 222,714,170 | false | {"Text": 3913, "XML": 4546, "Ant Build System": 14, "Shell": 466, "Markdown": 287, "Ignore List": 79, "Git Attributes": 9, "Batchfile": 29, "SVG": 1938, "Java": 63178, "C++": 15, "HTML": 2701, "Kotlin": 3809, "DTrace": 1, "Gradle": 66, "Java Properties": 92, "INI": 231, "JFlex": 27, "Groovy": 3040, "XSLT": 109, "JavaSc... | // 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 org.jetbrains.plugins.groovy.annotator
import com.intellij.lang.annotation.AnnotationHolder
import com.intellij.psi.PsiElement
import com.intellij.psi.PsiErrorElement
imp... | 1 | null | 1 | 1 | ac53b8c2c773034c52746c1c9e295e0427496568 | 10,056 | intellij-community | Apache License 2.0 |
analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/projectStructure/KaModule.kt | JetBrains | 3,432,266 | false | null | /*
* Copyright 2010-2024 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
@file:OptIn(KaPlatformInterface::class)
package org.jetbrains.kotlin.analysis.api.projectStructure
import co... | 182 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 10,183 | kotlin | Apache License 2.0 |
src/main/kotlin/array/ArrayLeftRotate.kt | alidehkhodaei | 628,231,313 | false | null | package array
/**
* Rotates an array to the left by one position.
* If the array is empty, the function returns immediately without making any modifications.
*
* @param array The array to rotate.
*/
fun <T> rotateArrayLeftByOne(array: Array<T>) {
if (array.isEmpty()) return
val temp = array[0]
for (i ... | 0 | Kotlin | 7 | 37 | 8d9b0e97d7e345b30e30483209c2fafc77b9c840 | 421 | data-structures-and-algorithms | MIT License |
src/main/kotlin/adventofcode2017/Day21FractalArt.kt | n81ur3 | 484,801,748 | false | {"Kotlin": 472475, "Java": 275} | package adventofcode2017
class Day21FractalArt
data class FractalRule(val original: String, val transformed: String)
class FractalArt(ruleLines: List<String>) {
val rules: List<FractalRule>
val fractals: MutableList<Fractal> = mutableListOf()
val activePixels: Int
get() = fractals.sumOf { it.acti... | 0 | Kotlin | 0 | 0 | 25c89cdc45121b02910da010663cd699da3fceba | 6,211 | kotlin-coding-challenges | MIT License |
tools/weixin/src/main/kotlin/top/bettercode/summer/tools/weixin/support/offiaccount/entity/JsapiSignature.kt | top-bettercode | 387,652,015 | false | {"Kotlin": 2840773, "Java": 23656, "JavaScript": 22541, "CSS": 22336, "HTML": 16703} | package top.bettercode.summer.tools.weixin.support.offiaccount.entity
import com.fasterxml.jackson.annotation.JsonProperty
data class JsapiSignature @JvmOverloads constructor(
@field:JsonProperty("signature")
var signature: String? = null,
@field:JsonProperty("appid")
var appid: Stri... | 0 | Kotlin | 0 | 1 | 6fa7d165f9b8ff3dc8746fa4408117e84c314a51 | 492 | summer | Apache License 2.0 |
conductor-dagger-sample-moshi/src/main/java/com/jshvarts/mosbymvp/di/AppComponent.kt | jshvarts | 111,547,727 | false | null | package com.jshvarts.mosbymvp.di
import android.app.Application
import com.jshvarts.mosbymvp.data.RetrofitGithubDataStore
import dagger.BindsInstance
import dagger.Component
import javax.inject.Singleton
@Singleton
@Component(modules = arrayOf(GithubModule::class))
interface AppComponent {
@Component.Builder
... | 1 | Kotlin | 6 | 28 | b982ee2683d8585c35090a1b9acb5ffaa61c0dd9 | 515 | MosbyMVP | Apache License 2.0 |
home/src/main/java/com/kingsland/home/domain/repository/IStatisticRepository.kt | data-programmer | 599,861,493 | false | null | package com.kingsland.home.domain.repository
import com.kingsland.home.domain.model.StatisticDomain
interface IStatisticRepository {
fun getAllStatistics(): List<StatisticDomain>
} | 0 | Kotlin | 0 | 0 | bcd53b9784689e5b60d893248ccc2910b17391e0 | 186 | ProjectTrakAndroid | MIT License |
src/main/kotlin/com/dannbrown/deltaboxlib/content/block/GenericWallSignBlock.kt | danbrown | 756,103,961 | false | {"Kotlin": 293861, "Java": 90658} | package com.dannbrown.deltaboxlib.content.block
import com.dannbrown.deltaboxlib.content.blockEntity.GenericSignBlockEntity
import net.minecraft.core.BlockPos
import net.minecraft.world.entity.player.Player
import net.minecraft.world.item.ItemStack
import net.minecraft.world.level.BlockGetter
import net.minecraft.worl... | 0 | Kotlin | 0 | 0 | aa15bbc14a625c60ddec3e8fbbbafd9d76a6d910 | 1,287 | deltaboxlib | MIT License |
mobile/src/main/java/io/github/prefanatic/toomanysensors/data/realm/RealmFloatWrapper.kt | prefanatic | 44,787,864 | false | {"Gradle": 4, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Proguard": 2, "Java": 2, "XML": 41, "Kotlin": 54} | /*
* Copyright 2015-2016 Cody Goldberg
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | 0 | Kotlin | 0 | 1 | 3b2631dc612c9fe1bf0c32bbb2539d2011e58187 | 778 | Too-Many-Sensors | Apache License 2.0 |
entityit/src/main/kotlin/io/github/yushman/entityit/processor/EntityItProcessor.kt | yushman | 816,771,499 | false | null | package ru.tomindapps.entityit.processor
import com.google.devtools.ksp.isInternal
import com.google.devtools.ksp.processing.CodeGenerator
import com.google.devtools.ksp.processing.KSPLogger
import com.google.devtools.ksp.processing.Resolver
import com.google.devtools.ksp.processing.SymbolProcessor
import com.google.d... | 2 | null | 0 | 5 | 2fc3280413e0e18f3e64c4dd487ef9aee37d730c | 3,400 | EntityIt | MIT License |
plugin/src/main/kotlin/com/firsttimeinforever/intellij/pdf/viewer/ui/editor/presentation/PdfPresentationModeListener.kt | FirstTimeInForever | 245,457,194 | false | {"Kotlin": 174520, "HTML": 794, "CSS": 460, "JavaScript": 29} | package com.firsttimeinforever.intellij.pdf.viewer.ui.editor.presentation
import com.intellij.util.messages.Topic
fun interface PdfPresentationModeListener {
fun presentationModeChanged(controller: PdfPresentationController)
companion object {
val TOPIC: Topic<PdfPresentationModeListener> = Topic.create(
... | 12 | Kotlin | 18 | 85 | 6c7c3b43371404aa0089429076567c83f133124e | 412 | intellij-pdf-viewer | MIT License |
plugin-common/src/test/kotlin/samples/JvmVersionSamples.kt | itbasis | 143,887,823 | false | null | @file:Suppress("MatchingDeclarationName")
package samples
import ru.itbasis.jvmwrapper.core.downloader.RemoteArchiveFile
data class JvmVersionSample(
val vendor: String,
val type: String,
val versions: List<String>,
val fullVersion: String,
val cleanVersion: String,
val versionMajor: Int,
val versionUpdate: I... | 8 | Kotlin | 0 | 2 | c9066a0147d979b66175ae8decf82307dea7f69d | 915 | jvm-wrapper-ide-plugins | MIT License |
packages/kuark-secret/src/test/kotlin/kuark/secret/SecretNumberTest.kt | kuark-dev | 822,935,203 | false | {"Kotlin": 6984} | package kuark.secret
import kotlin.test.Test
import kotlin.test.assertEquals
class SecretNumberTest {
@Test
fun `toString returns 6 asterisks`() {
val secret = SecretNumber(0)
assertEquals("******", secret.toString())
}
@Test
fun `toString returns 6 asterisks for empty string`() {
val secret =... | 2 | Kotlin | 0 | 0 | f83d81235e607bcfda94512e783ff42a362b6f0a | 402 | kuark | MIT License |
simplecloud-base/src/main/kotlin/eu/thesimplecloud/base/manager/setup/groups/ServerGroupSetup.kt | theSimpleCloud | 270,085,977 | false | null | /*
* MIT License
*
* Copyright (C) 2020-2022 The SimpleCloud authors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
* documentation files (the "Software"), to deal in the Software without restriction, including without limitation
* the rights to u... | 8 | null | 49 | 98 | 8f10768e2be523e9b2e7c170965ca4f52a99bf09 | 7,782 | SimpleCloud | MIT License |
kontrakter/src/main/kotlin/no/nav/pleiepengerbarn/uttak/kontrakter/Uttaksgrunnlag.kt | navikt | 237,293,174 | false | null | package no.nav.pleiepengerbarn.uttak.kontrakter
import com.fasterxml.jackson.annotation.JsonAutoDetect
import com.fasterxml.jackson.annotation.JsonFormat
import com.fasterxml.jackson.annotation.JsonIgnoreProperties
import com.fasterxml.jackson.annotation.JsonProperty
import java.math.BigDecimal
import java.time.Durati... | 7 | Kotlin | 2 | 0 | c4d3fb034cd432e6d900d5c83230e6ef83230fd1 | 5,009 | pleiepenger-barn-uttak | MIT License |
sample-core/src/main/java/screenswitchersample/core/activity/ForActivity.kt | JayNewstrom | 48,964,076 | false | null | package screenswitchersample.core.activity
import javax.inject.Scope
@Scope
@Retention(AnnotationRetention.RUNTIME)
annotation class ForActivity
| 1 | Kotlin | 2 | 2 | 565a513435ba6c1935ca8c3586aee183fd2d7b17 | 147 | ScreenSwitcher | Apache License 2.0 |
sample-core/src/main/java/screenswitchersample/core/activity/ForActivity.kt | JayNewstrom | 48,964,076 | false | null | package screenswitchersample.core.activity
import javax.inject.Scope
@Scope
@Retention(AnnotationRetention.RUNTIME)
annotation class ForActivity
| 1 | Kotlin | 2 | 2 | 565a513435ba6c1935ca8c3586aee183fd2d7b17 | 147 | ScreenSwitcher | Apache License 2.0 |
floid/src/main/java/com/jeremyfox/floid/ui/view_model/StatefulViewModel.kt | atljeremy | 313,165,724 | false | null | package com.jeremyfox.floid.ui.view_model
import android.app.Application
import androidx.lifecycle.AndroidViewModel
import androidx.lifecycle.viewModelScope
import com.jeremyfox.floid.delegate.StatefulViewModelDelegate
import com.jeremyfox.floid.delegate.StatefulViewModelImpl
import com.jeremyfox.floid.reducer.Reducer... | 0 | Kotlin | 0 | 1 | f1e52e77b55f24f2e2184b276f9e31ba97a569c3 | 1,301 | Floid | MIT License |
aesthetics/color/compose/src/jvmAndAndroidMain/kotlin/color/ComposeColor.kt | aSoft-Ltd | 432,233,181 | false | {"Kotlin": 1026412, "Java": 5544, "JavaScript": 2900} | package color
import androidx.compose.ui.graphics.Color
actual class ComposeColor(val value: Color) | 0 | Kotlin | 0 | 0 | 490e03ace4c08a7fbb6e121e3b415a32ff52aa3e | 101 | kotlin-stdlib | MIT License |
dvbViewerController/src/main/java/org/dvbviewer/controller/ui/fragments/ChannelEpg.kt | RayBa82 | 29,094,366 | false | null | /*
* Copyright © 2013 dvbviewer-controller 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 applicable... | 5 | Kotlin | 2 | 11 | 419c94ef1ee2ad124ece7f3c0e98b7a89f006a1c | 16,880 | DVBViewerController | Apache License 2.0 |
app/src/main/java/com/dinaraparanid/prima/fragments/FavouriteArtistListFragment.kt | dinaraparanid | 365,311,683 | false | null | package com.dinaraparanid.prima.fragments
import com.dinaraparanid.prima.databases.repositories.FavouriteRepository
import com.dinaraparanid.prima.utils.polymorphism.AbstractArtistListFragment
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.Job
import kotlinx.coroutines.coroutineScope
import kotlinx.co... | 0 | Kotlin | 0 | 5 | 02d189f64e28d3c9b56b2172ef17d475e952f083 | 853 | PrimaMobile | Apache License 2.0 |
src/main/kotlin/uno/rebellious/emeraldorsilverfishbot/database/RoundsDAO.kt | RebelliousUno | 201,096,368 | false | null | package uno.rebellious.emeraldorsilverfishbot.database
import com.gikk.twirk.types.users.TwitchUser
import uno.rebellious.emeraldorsilverfishbot.model.VoteEligibility
import uno.rebellious.emeraldorsilverfishbot.model.VoteRecorded
import uno.rebellious.emeraldorsilverfishbot.model.VoteType
import java.sql.Connection
i... | 6 | Kotlin | 0 | 3 | db66470e042865cc712c981b0fd06e2e9eafaa91 | 10,267 | EmeraldOrSilverfish | MIT License |
app/src/main/java/com/battlelancer/seriesguide/SgApp.kt | UweTrottmann | 1,990,682 | false | null | package com.battlelancer.seriesguide
import android.app.Application
import android.app.NotificationChannel
import android.app.NotificationManager
import android.content.Context
import android.content.Intent
import android.os.Build
import android.os.StrictMode
import android.os.StrictMode.ThreadPolicy
import android.os... | 56 | null | 405 | 1,966 | c7bc6445ecc58b841c1887a56146dc2d2f817007 | 10,390 | SeriesGuide | Apache License 2.0 |
platform/script-debugger/protocol/protocol-model-generator/src/org/jetbrains/protocolReader/TypeMap.kt | stanislas | 33,140,696 | true | {"Java": 145558378, "Python": 21577356, "Groovy": 2209781, "HTML": 1666336, "C++": 269853, "Kotlin": 220171, "C": 214180, "Shell": 126751, "JavaScript": 125292, "XSLT": 113040, "CSS": 108843, "NSIS": 85922, "TeX": 60798, "Groff": 35232, "Objective-C": 27614, "Protocol Buffer": 20765, "Gherkin": 14382, "Scala": 11698, "... | package org.jetbrains.protocolReader
/**
* Keeps track of all referenced types.
* A type may be used and resolved (generated or hard-coded).
*/
class TypeMap {
private val map = THashMap<Pair<String, String>, TypeData>()
private var domainGeneratorMap: Map<String, DomainGenerator>? = null
private val typesToG... | 0 | Java | 0 | 0 | 64a451775a620abf46d55483f347e03d663de7c7 | 1,594 | intellij-community | Apache License 2.0 |
library/src/main/kotlin/com/twitter/meil_mitu/twitter4hk/api/friendships/NoRetweets.kt | MeilCli | 51,423,644 | false | null | package com.twitter.meil_mitu.twitter4hk.api.friendships
import com.twitter.meil_mitu.twitter4hk.AbsGet
import com.twitter.meil_mitu.twitter4hk.AbsOauth
import com.twitter.meil_mitu.twitter4hk.OauthType
import com.twitter.meil_mitu.twitter4hk.ResponseData
import com.twitter.meil_mitu.twitter4hk.converter.IIDsConverter... | 0 | Kotlin | 0 | 0 | 818e42ea417c326e3d50024decce4c7e70641a73 | 987 | Twitter4HK | MIT License |
kt/godot-library/src/main/kotlin/godot/gen/godot/StyleBoxTexture.kt | utopia-rise | 289,462,532 | false | null | // THIS FILE IS GENERATED! DO NOT EDIT IT MANUALLY!
@file:Suppress("PackageDirectoryMismatch", "unused", "FunctionName", "RedundantModalityModifier",
"UNCHECKED_CAST", "JoinDeclarationAndAssignment", "USELESS_CAST",
"RemoveRedundantQualifierName", "NOTHING_TO_INLINE", "NON_FINAL_MEMBER_IN_OBJECT",
"Redundan... | 64 | null | 39 | 580 | fd1af79075e7b918200aba3302496b70c76a2028 | 15,448 | godot-kotlin-jvm | MIT License |
data/settings/src/main/java/com/google/jetpackcamera/settings/model/ImageOutputFormat.kt | google | 591,101,391 | false | {"Kotlin": 640681, "C++": 2189, "CMake": 1010, "Shell": 724} | /*
* Copyright (C) 2024 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... | 39 | Kotlin | 26 | 141 | f79336788a80bf2d7e35393bde6470db3ea548e7 | 1,677 | jetpack-camera-app | Apache License 2.0 |
lib/src/main/kotlin/it/scoppelletti/spaceship/app/AppExt.kt | dscoppelletti | 89,261,768 | false | null | /*
* Copyright (C) 2013-2021 <NAME>, <http://www.scoppelletti.it/>.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requ... | 0 | Kotlin | 1 | 2 | 8fcb1aed3bf81045274361404dc3da1b40de2142 | 3,523 | spaceship | Apache License 2.0 |
libraries/tools/kotlin-gradle-plugin/src/main/kotlin/org/jetbrains/kotlin/gradle/plugin/mpp/kotlinTargets.kt | arrow-kt | 109,678,056 | false | null | /*
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
* that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.gradle.plugin.mpp
import groovy.lang.Closure
import org.gradle.api.Action
import org.gradle.api.DomainObjectSet
import org.grad... | 12 | null | 1 | 43 | d2a24985b602e5f708e199aa58ece652a4b0ea48 | 6,249 | kotlin | Apache License 2.0 |
src/main/java/com/maddin/echtzeyt/fragments/echtzeyt/RealtimeFragment.kt | maddinkunze | 673,250,698 | false | {"Kotlin": 199982} | package com.maddin.echtzeyt.fragments.echtzeyt
import android.annotation.SuppressLint
import android.content.ActivityNotFoundException
import android.content.Intent
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.View.MeasureSpec
import android.view.animation.In... | 0 | Kotlin | 0 | 0 | 86476bcfe1a218ef281aca95a3f258b5055fc6e3 | 19,197 | echtzeyt | MIT License |
app/src/main/java/in/technowolf/ipscanner/ui/customViews/LabelValueView.kt | daksh7011 | 461,987,434 | false | {"Kotlin": 43133, "Ruby": 956} | package `in`.technowolf.ipscanner.ui.customViews
import android.content.Context
import android.util.AttributeSet
import android.view.LayoutInflater
import android.view.View
import androidx.annotation.DrawableRes
import androidx.constraintlayout.widget.ConstraintLayout
import androidx.core.content.ContextCompat
import ... | 0 | Kotlin | 0 | 0 | 48eeae8fbb7f7d237a338f829c40bf6188f8deff | 3,277 | ip-scanner | MIT License |
door-runtime/src/commonMain/kotlin/com/ustadmobile/door/replication/ReplicationSubscriptionSupervisor.kt | UstadMobile | 344,538,858 | false | null | package com.ustadmobile.door.replication
import com.ustadmobile.door.DoorDatabaseRepository
/**
* Platform dependent class which will manage switching replication automatically when connectivity is gained or lost
*/
expect class ReplicationSubscriptionSupervisor(
replicationSubscriptionManager: ReplicationSubsc... | 0 | Kotlin | 0 | 89 | 58f93d9057ece78cc3f8be3d4d235c0204a15f11 | 381 | door | Apache License 2.0 |
rounded/src/commonMain/kotlin/me/localx/icons/rounded/bold/PlaneSlash.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.rounded.bold
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter
im... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 5,329 | icons | MIT License |
app/src/main/java/io/github/emusute1212/makasetechoice/data/db/dao/MembersDao.kt | emusute1212 | 264,396,740 | false | {"Kotlin": 93804} | package io.github.emusute1212.makasetechoice.data.db.dao
import androidx.annotation.WorkerThread
import androidx.room.*
import io.github.emusute1212.makasetechoice.data.entity.Member
import kotlinx.coroutines.flow.Flow
@Dao
interface MembersDao {
@WorkerThread
@Query("SELECT * FROM members")
fun loadMembe... | 3 | Kotlin | 0 | 0 | 1d87b045a125771f22916dd6b8d02af60ed3113a | 521 | MakaseteChoiceForAndroid | MIT License |
src/main/kotlin/moe/irony/main/Main.kt | kokoro-aya | 391,633,875 | false | null | package moe.irony.main
import kotlinx.cli.ArgParser
import kotlinx.cli.ArgType
import kotlinx.cli.default
import kotlinx.cli.required
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.launch
import kotlinx.coroutines.runBlocking
import moe.irony.client.TorrentClie... | 0 | Kotlin | 0 | 1 | 86e254087bb0d3a5ef09adef8833c146bfaeab42 | 1,766 | Tiny-KTorrent | MIT License |
ground/src/main/java/com/google/android/ground/ui/map/gms/FeatureClusterManager.kt | google | 127,777,820 | false | null | /*
* Copyright 2022 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 ... | 180 | Kotlin | 109 | 196 | 22f0ffaf532d2700bcfcec78573a5949a5cdc357 | 2,798 | ground-android | Apache License 2.0 |
src/main/kotlin/io/vlang/ide/run/VlangBuildTaskRunner.kt | vlang | 754,996,747 | false | null | package org.vlang.ide.run
import com.intellij.build.BuildViewManager
import com.intellij.execution.configurations.GeneralCommandLine
import com.intellij.execution.process.ProcessAdapter
import com.intellij.execution.process.ProcessEvent
import com.intellij.openapi.application.invokeLater
import com.intellij.openapi.co... | 55 | null | 5 | 33 | a0d2cbfa63b995d93aaca3c80676f0c2f9bef117 | 5,894 | intellij-v | MIT License |
backend/src/main/kotlin/org/example/kotlin/multiplatform/backend/Application.kt | wiyarmir | 200,658,517 | false | null | package org.example.kotlin.multiplatform.backend
import freemarker.cache.ClassTemplateLoader
import io.ktor.application.Application
import io.ktor.application.call
import io.ktor.application.install
import io.ktor.features.CallLogging
import io.ktor.features.Compression
import io.ktor.features.ConditionalHeaders
impor... | 6 | Kotlin | 18 | 225 | e82a8db80952e860979fe5c7f6f49d49683db602 | 1,414 | kotlin-multiplatform-template | Apache License 2.0 |
backend/src/test/kotlin/metrik/project/domain/repository/CommitRepositoryTest.kt | thoughtworks | 351,856,572 | false | {"Kotlin": 554181, "TypeScript": 146367, "Shell": 6226, "JavaScript": 6197, "Dockerfile": 2452, "HTML": 354, "Less": 341} | package metrik.project.domain.repository
import metrik.infrastructure.utlils.toTimestamp
import metrik.project.domain.model.Commit
import metrik.project.domain.service.githubactions.GithubCommit
import org.assertj.core.api.Assertions.assertThat
import org.junit.jupiter.api.Assertions.assertTrue
import org.junit.jupite... | 19 | Kotlin | 86 | 348 | def6a52cb7339f6a422451710083177b9c79689a | 3,811 | metrik | MIT License |
app/src/main/java/com/ahrenswett/pillminder/util/Navigation.kt | ahrenswett | 493,091,110 | false | {"Kotlin": 56201} | package com.ahrenswett.pillminder
import android.util.Log
import androidx.compose.runtime.Composable
import androidx.navigation.NavArgument
import androidx.navigation.NavType
import androidx.navigation.compose.NavHost
import androidx.navigation.compose.composable
import androidx.navigation.compose.rememberNavControlle... | 2 | Kotlin | 0 | 1 | 0d843ce9b0a837095de1fa8a96d4b7c5a7815c38 | 2,728 | PillMinder | MIT License |
branches/dcc/src/main/java/dgca/verifier/app/android/dcc/ui/verification/mapper/RuleValidationResultMapper.kt | eu-digital-green-certificates | 355,126,967 | false | null | /*
* ---license-start
* eu-digital-green-certificates / dgca-verifier-app-android
* ---
* Copyright (C) 2022 T-Systems International GmbH and all other contributors
* ---
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*... | 20 | null | 118 | 103 | 1e88269edf98650a17984106a7d002569fdd4031 | 1,332 | dgca-verifier-app-android | Apache License 2.0 |
utilities/src/main/java/fr/jhelp/utilities/extensions/Binaries.kt | jhelpgg | 264,682,891 | false | null | /*
* <h1>License :</h1> <br/>
* The following code is deliver as is. <br/>
* You can use, modify, the code as your need for any usage.<br/>
* But you can't do any action that avoid me or other person use, modify this code.<br/>
* The code is free for usage and modification, you can't change that fact.
*/
pac... | 4 | Kotlin | 0 | 0 | d912fedb330027216113f8af9f8974e8d2b1b7b6 | 931 | AndroidEngine3D | Apache License 2.0 |
utilities/src/main/java/fr/jhelp/utilities/extensions/Binaries.kt | jhelpgg | 264,682,891 | false | null | /*
* <h1>License :</h1> <br/>
* The following code is deliver as is. <br/>
* You can use, modify, the code as your need for any usage.<br/>
* But you can't do any action that avoid me or other person use, modify this code.<br/>
* The code is free for usage and modification, you can't change that fact.
*/
pac... | 4 | Kotlin | 0 | 0 | d912fedb330027216113f8af9f8974e8d2b1b7b6 | 931 | AndroidEngine3D | Apache License 2.0 |
plugins/groovy/groovy-psi/src/org/jetbrains/plugins/groovy/util/RecursionAwareSafePublicationLazy.kt | ingokegel | 284,920,751 | false | null | // Copyright 2000-2020 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 org.jetbrains.plugins.groovy.util
import com.intellij.openapi.util.RecursionManager
import com.intellij.util.ObjectUtils
import org.jetbrains.annotations.NonNls
import ja... | 1 | null | 1 | 2 | dc846ecb926c9d9589c1ed8a40fdb20e47874db9 | 1,908 | intellij-community | Apache License 2.0 |
multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/mangahub/MangaHubGenerator.kt | kevin01523 | 612,636,298 | false | null | package eu.kanade.tachiyomi.multisrc.mangahub
import generator.ThemeSourceData.SingleLang
import generator.ThemeSourceGenerator
class MangaHubGenerator : ThemeSourceGenerator {
override val themePkg = "mangahub"
override val themeClass = "MangaHub"
override val baseVersionCode: Int = 18
override v... | 587 | null | 963 | 9 | 8ca7f06a4fdfbfdd66520a4798c8636274263428 | 1,966 | tachiyomi-extensions | Apache License 2.0 |
android/app/src/main/kotlin/com/v2ray/ang/service/V2RayProxyOnlyService.kt | PsrkGrmez | 759,525,035 | false | null | package com.v2ray.ang.service
import android.app.Service
import android.content.Context
import android.content.Intent
import android.os.Build
import android.os.IBinder
import androidx.annotation.RequiresApi
import com.v2ray.ang.util.MyContextWrapper
import com.v2ray.ang.util.Utils
import java.lang.ref.SoftReference
c... | 2 | null | 7 | 85 | 1a6d3d8e6c6edcfd3be8f23bee339e1c83ab9346 | 1,387 | ChiselBox | MIT License |
app/src/main/java/org/hsbp/androsphinx/SphinxApplication.kt | dnet | 211,101,707 | false | null | // SPDX-FileCopyrightText: 2019, <NAME> <<EMAIL>>
// SPDX-License-Identifier: MIT
package org.hsbp.androsphinx
import android.app.Application
@Suppress("UNUSED")
class SphinxApplication : Application() {
init {
System.loadLibrary("sphinx") // and transitively, (lib)sodium
}
}
| 10 | null | 2 | 7 | a71a0462e01998d5d391bd69b24dc87d03158e8a | 296 | androsphinx | BSD 3-Clause No Nuclear Warranty |
src/main/kotlin/icu/windea/pls/ep/color/ParadoxColorSupport.kt | DragonKnightOfBreeze | 328,104,626 | false | null | package icu.windea.pls.lang.color
import com.intellij.openapi.extensions.*
import com.intellij.psi.*
import icu.windea.pls.script.editor.*
import java.awt.*
/**
* 提供对颜色的支持。(显示颜色装订线图标)
*
* 备注:alpha值可以小于0或者大于255(对于浮点数写法则是小于0.0或者大于1.0),表示粒子外溢的光照强度。
*
* @see ParadoxScriptColorProvider
*/
interface ParadoxColorSup... | 4 | null | 5 | 41 | 99e8660a23f19642c7164c6d6fcafd25b5af40ee | 946 | Paradox-Language-Support | MIT License |
app/src/main/java/com/dreamsoftware/fitflextv/ui/screens/app/AppScreenContent.kt | sergio11 | 534,529,261 | false | {"Kotlin": 615931} | package com.dreamsoftware.saborytv.ui.screens.app
import android.os.Build
import androidx.annotation.RequiresApi
import androidx.compose.foundation.layout.Box
import androidx.compose.runtime.Composable
import androidx.compose.runtime.CompositionLocalProvider
import androidx.navigation.NavHostController
import com.drea... | 0 | Kotlin | 3 | 40 | 4452dcbcf3d4388144a949c65c216de5547c82a6 | 1,607 | fitflextv_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.