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/app/src/main/java/com/ingjuanocampo/enfila/android/home/ActivityLobby.kt | ingjuanocampo | 387,043,993 | false | {"Kotlin": 240432} | package com.ingjuanocampo.enfila.android.home
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import androidx.appcompat.widget.Toolbar
import androidx.navigation.NavController
import androidx.navigation.findNavController
import androidx.navigation.ui.AppBarConfiguration
import androidx.navigat... | 0 | Kotlin | 0 | 0 | decebb226be191ec6382a7d60a97c5598d3f1bdf | 3,071 | EnFila-Android | MIT License |
compiler/testData/codegen/box/jvmField/checkNoAccessors.kt | JakeWharton | 99,388,807 | false | null | import kotlin.test.assertFalse
@JvmField public val field = "OK";
class A {
@JvmField public val field = "OK";
companion object {
@JvmField public val cfield = "OK";
}
}
object Object {
@JvmField public val field = "OK";
}
fun box(): String {
var result = A().field
checkNoAccessor... | 181 | null | 5748 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 742 | kotlin | Apache License 2.0 |
app/src/main/kotlin/by/anegin/vkdiscover/core/util/FragmentEx.kt | eugene-kirzhanov | 159,214,166 | false | {"Kotlin": 72538} | package by.anegin.vkdiscover.core.util
import androidx.fragment.app.Fragment
import androidx.lifecycle.ViewModel
import androidx.lifecycle.ViewModelProvider
import androidx.lifecycle.ViewModelProviders
inline fun <reified T : ViewModel> Fragment.getViewModel(viewModelFactory: ViewModelProvider.Factory): T {
return V... | 0 | Kotlin | 0 | 0 | 0b7ad65c5e54eefc00673d6fb0171e22bddf0b09 | 382 | vk-mobile-challenge-18 | MIT License |
teqanydb/src/main/java/com/teqanyco/teqanydb/PasswordFiled.kt | teqanyco | 421,897,417 | false | {"Kotlin": 17126} | package com.teqanyco.teqanyjetpack.textfield
import androidx.compose.foundation.text.KeyboardOptions
import androidx.compose.material.Icon
import androidx.compose.material.IconButton
import androidx.compose.material.OutlinedTextField
import androidx.compose.material.Text
import androidx.compose.runtime.Composable
impo... | 0 | Kotlin | 0 | 0 | c105182dd9a91c6ec12e40e04077a20f2c1cfdca | 1,756 | teqanyjetback | MIT License |
domain/src/main/java/com/semicolon/domain/entity/users/FetchUserHealthEntity.kt | Walkhub | 443,006,389 | false | null | package com.semicolon.domain.entity.users
data class FetchUserHealthEntity(
val height: Double,
val weight: Double,
val sex: String
)
| 5 | Kotlin | 1 | 29 | 5070c2c33365f2db6f57975078e1ecd7594f66fa | 147 | walkhub_android | MIT License |
detekt-watcher/src/test/resources/Default.kt | hcknl | 158,261,983 | true | {"Kotlin": 1062676, "Groovy": 3620, "Shell": 1710, "HTML": 698} | @Suppress("unused")
private val x = 0
| 0 | Kotlin | 0 | 1 | 565d86d780c15ade77b5468a9e342ba334181333 | 38 | detekt | Apache License 2.0 |
straight/src/commonMain/kotlin/me/localx/icons/straight/bold/CirclePhoneFlip.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.straight.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
i... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 2,588 | icons | MIT License |
libs/DocumentScanner/src/main/java/com/zynksoftware/documentscanner/ui/camerascreen/CameraScreenFragment.kt | instructure | 179,290,947 | false | null | /**
Copyright 2021 Krobys
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
associated documentation files (the "Software"), to deal in the Software without restriction,
including without limitation the rights to use, copy, modify, merge, publish, distrib... | 9 | null | 85 | 99 | 1bac9958504306c03960bdce7fbb87cc63bc6845 | 10,331 | canvas-android | Apache License 2.0 |
player/events/src/main/java/com/tidal/sdk/player/events/model/VideoPlaybackSession.kt | tidal-music | 806,866,286 | false | {"Kotlin": 1775374, "Shell": 9881, "Python": 7380, "Mustache": 911} | package com.tidal.sdk.player.events.model
import androidx.annotation.Keep
import com.google.gson.annotations.SerializedName
import com.tidal.sdk.player.common.model.AssetPresentation
import com.tidal.sdk.player.common.model.ProductType
import com.tidal.sdk.player.common.model.VideoQuality
import dagger.assisted.Assist... | 33 | Kotlin | 0 | 23 | 1f654552133ef7794fe9bb7677bc7fc94c713aa3 | 2,045 | tidal-sdk-android | Apache License 2.0 |
compiler/fir/tree/gen/org/jetbrains/kotlin/fir/declarations/builder/FirErrorImportBuilder.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.
*/
@file:Suppress("DuplicatedCode")
package org.jetbrains.kotlin.fir.declarations.builder
import kotlin.contrac... | 34 | null | 5686 | 46,039 | f98451e38169a833f60b87618db4602133e02cf2 | 1,472 | kotlin | Apache License 2.0 |
projects/core/src/main/kotlin/site/siredvin/peripheralium/common/items/DescriptiveBlockItem.kt | SirEdvin | 489,457,802 | false | {"Kotlin": 479164, "Java": 13590} | package site.siredvin.peripheralium.common.items
import net.minecraft.network.chat.Component
import net.minecraft.network.chat.MutableComponent
import net.minecraft.network.chat.contents.TranslatableContents
import net.minecraft.world.item.BlockItem
import net.minecraft.world.item.ItemStack
import net.minecraft.world.... | 2 | Kotlin | 3 | 2 | 94a9b51913723e792c3403f5a5ba347bc84c7987 | 1,123 | Peripheralium | MIT License |
app/src/main/java/fm/weigl/refsberlin/di/ActivityComponent.kt | asco33 | 92,974,118 | false | null | package fm.weigl.refsberlin.di
import dagger.Component
import fm.weigl.refsberlin.abouttheapp.view.AboutTheAppFragment
import fm.weigl.refsberlin.gameslist.view.GamesListFragment
import fm.weigl.refsberlin.main.view.MainActivity
import fm.weigl.refsberlin.settings.view.SettingsFragment
@ActivityScope
@Component(modul... | 2 | null | 1 | 1 | 7b0c7b8641206624c3d2df235eb47341130e98f1 | 605 | refsberlin | Apache License 2.0 |
server/src/main/kotlin/com/kamelia/hedera/database/Connection.kt | Black-Kamelia | 492,280,011 | false | null | package com.kamelia.hedera.database
import com.zaxxer.hikari.HikariConfig
import com.zaxxer.hikari.HikariDataSource
import java.sql.Connection
import kotlinx.coroutines.CoroutineDispatcher
import kotlinx.coroutines.Dispatchers
import org.jetbrains.exposed.sql.Database
import org.jetbrains.exposed.sql.Transaction
impor... | 3 | Kotlin | 0 | 9 | 23b16a0000769665d1d97a54dc8459935edfdb50 | 1,087 | Hedera | Apache License 2.0 |
z2-core/src/commonMain/kotlin/hu/simplexion/z2/adaptive/entry.kt | spxbhuhb | 665,463,766 | false | {"Kotlin": 1586446, "CSS": 166528, "Java": 12046, "HTML": 1560, "JavaScript": 975} | /*
* Copyright © 2020-2021, Simplexion, Hungary and contributors. Use of this source code is governed by the Apache 2.0 license.
*/
package hu.simplexion.z2.adaptive
/**
* Entry point of a Adaptive component tree.
*
* **IMPORTANT** variables declared outside the block are **NOT** reactive
*/
fun adaptive(block: ... | 5 | Kotlin | 0 | 1 | a7213ad95437796bc87674dd9530a95e1528901e | 820 | z2 | Apache License 2.0 |
backend/services/UserService/src/main/kotlin/com/arconsis/domain/users/UsersService.kt | arconsis | 506,954,248 | false | {"Kotlin": 284198, "HCL": 70387, "HTML": 27287, "Dockerfile": 10124, "Go": 8432, "TypeScript": 7350, "PLpgSQL": 3157, "JavaScript": 2138, "Shell": 1891, "Smarty": 1371, "Java": 697} | package com.arconsis.domain.users
import com.arconsis.data.outboxevents.OutboxEventsRepository
import com.arconsis.data.users.UsersRepository
import com.arconsis.presentation.http.dto.UserCreate
import com.fasterxml.jackson.databind.ObjectMapper
import io.smallrye.mutiny.Uni
import org.hibernate.reactive.mutiny.Mutiny... | 9 | Kotlin | 1 | 3 | 384eb68907ef2e975904bf392a9ece9d0d0754f8 | 1,359 | ecommerce | Apache License 2.0 |
src/test/kotlin/no/nav/medlemskap/cucumber/steps/RegelFraDatagrunnlagJsonSteps.kt | navikt | 225,422,169 | false | {"Kotlin": 943408, "Gherkin": 426906, "Shell": 151, "Dockerfile": 147} | package no.nav.medlemskap.cucumber.steps
import io.cucumber.java8.No
import junit.framework.TestCase.assertEquals
import no.nav.medlemskap.cucumber.DomenespråkParser
import no.nav.medlemskap.domene.Datagrunnlag
import no.nav.medlemskap.regler.assertDelresultat
import no.nav.medlemskap.regler.common.RegelId.REGEL_2
imp... | 10 | Kotlin | 1 | 0 | ef1d25c3b042bfec4fc2f235fb658e97f94479d6 | 1,690 | medlemskap-oppslag | MIT License |
feature/photo-api/src/main/java/com/mldz/feature/photo/PhotoEntry.kt | MaximZubarev | 729,033,741 | false | {"Kotlin": 156400} | package com.mldz.feature.photo
import androidx.compose.runtime.Composable
abstract class PhotoEntry {
val photoIdArg = "photoIdArg"
val canNavigateToProfileArg = "canNavigateToProfileArg"
val featureRoute = "photo_route/"
val featureRouteArg = "photo_route/{$photoIdArg}/{$canNavigateToProfileArg}"
... | 0 | Kotlin | 0 | 0 | fb0d2d62f5e09034e204348ba6d0818521a178ff | 445 | unsplash_app | The Unlicense |
compiler/testData/diagnostics/tests/multimodule/AnonymousFunctionParametersOfInaccessibleTypes.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... | // LATEST_LV_DIFFERENCE
// MODULE: start
// FILE: start.kt
interface InaccessibleConcreteType
interface InaccessibleGenericType<T>
// MODULE: middle(start)
// FILE: middle.kt
fun withConcreteParameter(arg: (InaccessibleConcreteType) -> Unit) {}
fun withGenericParameter(arg: (InaccessibleGenericType<*>) -> Unit) {}
... | 182 | Kotlin | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 638 | kotlin | Apache License 2.0 |
src/main/kotlin/CommandManager.kt | somichev-dev | 768,722,264 | false | {"Kotlin": 2591} | import org.bukkit.block.CommandBlock
import org.bukkit.command.Command
import org.bukkit.command.CommandExecutor
import org.bukkit.command.CommandSender
import org.bukkit.command.TabCompleter
class CommandManager(private val plugin: SMMW) : CommandExecutor, TabCompleter {
override fun onCommand(
sender: Co... | 0 | Kotlin | 0 | 0 | 353585b8140cd6e847370cd41f3913d227aeec21 | 1,459 | SimpleMiniMessageForWhitelist | MIT License |
src/commonMain/kotlin/com/arcnor/miniscript/MiniscriptLexer.kt | Arcnor | 205,708,705 | false | null | package com.arcnor.miniscript
class MiniscriptLexer {
class Token(
var type: Type = Type.Unknown,
// may be null for things like operators, whose text is fixed
var text: String? = null
) {
enum class Type {
Unknown,
Keyword,
Number,
String,
Identifier,
OpAssign,
OpPlus,
OpMinus,
Op... | 0 | Kotlin | 1 | 5 | c0ab5c46f1a441ebaf3a3fc7138d6e109cb8c4a9 | 9,041 | miniscript-kt | MIT License |
src/commonMain/kotlin/com/arcnor/miniscript/MiniscriptLexer.kt | Arcnor | 205,708,705 | false | null | package com.arcnor.miniscript
class MiniscriptLexer {
class Token(
var type: Type = Type.Unknown,
// may be null for things like operators, whose text is fixed
var text: String? = null
) {
enum class Type {
Unknown,
Keyword,
Number,
String,
Identifier,
OpAssign,
OpPlus,
OpMinus,
Op... | 0 | Kotlin | 1 | 5 | c0ab5c46f1a441ebaf3a3fc7138d6e109cb8c4a9 | 9,041 | miniscript-kt | MIT License |
android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/image/ImageViewWrapperTarget.kt | betomoedano | 462,599,485 | false | null | package abi48_0_0.expo.modules.image
import android.graphics.drawable.Drawable
import android.util.Log
import com.bumptech.glide.RequestManager
import com.bumptech.glide.request.ThumbnailRequestCoordinator
import com.bumptech.glide.request.transition.Transition
import abi48_0_0.expo.modules.core.utilities.ifNull
impor... | 1 | null | 1 | 4 | 52d6405570a39a87149648d045d91098374f4423 | 2,197 | expo | MIT License |
domain/src/test/java/org/watsi/domain/relations/EncounterWithExtrasTest.kt | Meso-Health | 227,514,539 | false | {"Gradle": 7, "Java Properties": 2, "Shell": 3, "Text": 1, "Ignore List": 4, "Markdown": 1, "Proguard": 2, "JSON": 25, "Kotlin": 419, "YAML": 3, "XML": 153, "Java": 1} | package org.watsi.domain.relations
import org.junit.Assert.assertEquals
import org.junit.Test
import org.watsi.domain.factories.BillableFactory
import org.watsi.domain.factories.BillableWithPriceScheduleFactory
import org.watsi.domain.factories.EncounterItemFactory
import org.watsi.domain.factories.PriceScheduleFactor... | 2 | Kotlin | 3 | 6 | 6e1da182073088f28230fe60a2e09d6f38aab957 | 3,082 | meso-clinic | Apache License 2.0 |
presentation/src/main/java/com/nemesis/rio/presentation/profile/overview/character/mplus/ranks/MythicPlusOverallRanksItemsFactory.kt | N3-M3-S1S | 370,791,918 | false | null | package com.nemesis.rio.presentation.profile.overview.character.mplus.ranks
import com.nemesis.rio.domain.mplus.ranks.MythicPlusRanksScope
import com.nemesis.rio.domain.mplus.ranks.usecase.GetOverallMythicPlusRanksForCurrentSeason
import com.nemesis.rio.domain.profile.Character
import com.nemesis.rio.presentation.R
im... | 0 | Kotlin | 0 | 0 | 62dc309a7b4b80ff36ea624bacfa7b00b5d8607e | 1,560 | rio | MIT License |
android/app/src/main/kotlin/com/lior/translation_cards/MainActivity.kt | liorgeren | 320,936,715 | false | {"Dart": 4843, "Swift": 404, "Kotlin": 131, "Objective-C": 38} | package com.lior.translation_cards
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| 0 | Dart | 1 | 0 | ab275a4841042c2371abbda1df28323a185d84b8 | 131 | flutter-flash-cards | Apache License 2.0 |
app/src/main/java/com/smarttoolfactory/composecropper/MainActivity.kt | SmartToolFactory | 529,241,895 | false | {"Kotlin": 262869} | package com.smarttoolfactory.composecropper
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.material3.MaterialTheme
import andro... | 15 | Kotlin | 51 | 358 | ac45140384d16c6d1ddfa539a100a92e44b70221 | 1,108 | Compose-Cropper | MIT License |
src/main/kotlin/me/fzzyhmstrs/amethyst_core/boost/base/FireAspectBoost.kt | fzzyhmstrs | 507,177,454 | false | null | package me.fzzyhmstrs.amethyst_core.boost.base
import me.fzzyhmstrs.amethyst_core.AC
import me.fzzyhmstrs.amethyst_core.boost.BoostConsumers
import me.fzzyhmstrs.amethyst_core.boost.EnchantmentAugmentBoost
import me.fzzyhmstrs.amethyst_core.modifier.AugmentConsumer
import me.fzzyhmstrs.amethyst_core.modifier.AugmentEf... | 2 | Kotlin | 1 | 0 | c5b7e4f17ef534c525b4a41f38a547ef46f10e13 | 829 | ac | MIT License |
src/test/kotlin/no/nav/bidrag/arbeidsflyt/hendelse/featuretoggle/FeatureToggleOpprettOppgave.kt | navikt | 295,692,779 | false | null | package no.nav.bidrag.arbeidsflyt.hendelse
import no.nav.bidrag.arbeidsflyt.dto.OppgaveData
import no.nav.bidrag.arbeidsflyt.dto.OppgaveStatus
import no.nav.bidrag.arbeidsflyt.dto.Oppgavestatuskategori
import no.nav.bidrag.arbeidsflyt.service.BehandleOppgaveHendelseService
import no.nav.bidrag.arbeidsflyt.utils.AKTOER... | 3 | Kotlin | 0 | 1 | 9c999650de179ec26ec7298b7922b97caf707dd5 | 1,805 | bidrag-arbeidsflyt | MIT License |
AstroYoga/astroyoga/src/main/java/com/shushant/astroyoga/di/AppModule.kt | ShushantTiwari-ashu | 667,410,698 | false | null | package com.shushant.astroyoga.di
import com.shushant.astroyoga.data.utils.AppCoroutineDispatchers
import com.shushant.astroyoga.operator.DefaultAppCoroutineDispatchers
import com.shushant.astroyoga.ui.MainViewModel
import com.shushant.common.compose.utils.ActivityProvider
import com.shushant.resource.ResourceProvider... | 0 | Kotlin | 0 | 0 | 9882d51d4a1d975249109c097da0c7b141e6ff69 | 658 | AstroYoga-Full-kotlin-stack-App | Apache License 2.0 |
shared/src/commonMain/kotlin/com/lightningkite/lightningdb/HasIdFields.kt | lightningkite | 512,032,499 | false | {"Kotlin": 2373037, "TypeScript": 38628, "JavaScript": 118} | package com.lightningkite.lightningdb
import com.lightningkite.serialization.SerializableProperty
import com.lightningkite.serialization.serializableProperties
import kotlinx.serialization.KSerializer
import kotlin.jvm.JvmName
@Suppress("UNCHECKED_CAST")
fun <Model: HasId<ID>, ID> KSerializer<Model>._id() = serializa... | 2 | Kotlin | 1 | 5 | b061fe6b89860f0381a184e6b7fcca7736fad4a4 | 1,390 | lightning-server | MIT License |
app/src/main/java/com/example/shrinecompose/MainActivity.kt | c5inco | 388,989,613 | false | null | package com.example.shrinecompose
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.runtime.Composable
import androidx.compose.ui.tooling.preview.Preview
import com.example.shrinecompose.ui.theme.ShrineComposeTheme
class MainActivit... | 0 | Kotlin | 1 | 5 | 2275e7332f7d2eacb24dcc10dc6c21e98f4cdb97 | 666 | Shrine-Compose-Stream | Apache License 2.0 |
androidlibrary/src/main/java/io/supportgenie/androidlibrary/view/main/ChatActivityFragment.kt | himmat-rana | 206,965,643 | false | null | package io.supportgenie.androidlibrary.view.main
import android.Manifest
import android.app.Activity.RESULT_OK
import android.app.AlertDialog
import android.content.Context
import android.content.Intent
import android.content.pm.PackageManager
import android.graphics.Color
import android.graphics.LightingColorFilter
i... | 1 | null | 1 | 1 | 2fa640e9d281f849a8c25620d640c68aa2e53a91 | 34,084 | AndroidSDK | Apache License 2.0 |
state/src/main/java/me/rei_m/hyakuninisshu/state/question/model/QuestionResult.kt | rei-m | 68,487,243 | false | {"Kotlin": 446709, "HTML": 1416} | /*
* Copyright (c) 2020. <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writ... | 0 | Kotlin | 1 | 11 | d88621799d19fb55443c14748870a85c063026e3 | 930 | android_hyakuninisshu | Apache License 2.0 |
src/jvmMain/kotlin/com/rodev/jbpkmp/domain/compiler/BlueprintCompiler.kt | r0astPiGGy | 665,522,977 | false | null | package com.rodev.jbpkmp.domain.compiler
import com.rodev.jbpkmp.domain.compiler.exception.BlueprintCompileException
import com.rodev.jbpkmp.domain.model.Blueprint
import com.rodev.jbpkmp.domain.repository.NodeDataSource
import kotlin.jvm.Throws
class BlueprintCompiler(
private val nodeDataSource: NodeDataSource
... | 0 | Kotlin | 0 | 3 | 11dfc41d60c3482fb100ed8d2a8e5f77569836b2 | 511 | JustBlueprints | MIT License |
sdk/src/main/kotlin/io/github/wulkanowy/sdk/mapper/MessagesMapper.kt | wulkanowy | 138,756,468 | false | null | package io.github.wulkanowy.sdk.mapper
import io.github.wulkanowy.sdk.normalizeRecipient
import io.github.wulkanowy.sdk.pojo.Folder
import io.github.wulkanowy.sdk.pojo.Message
import io.github.wulkanowy.sdk.pojo.MessageAttachment
import io.github.wulkanowy.sdk.pojo.MessageDetails
import io.github.wulkanowy.sdk.pojo.Me... | 5 | Kotlin | 5 | 22 | cd3b738e8173907cc6ba81fe968e93c11eeca0cf | 3,081 | sdk | Apache License 2.0 |
kotlin-electron/src/jsMain/generated/electron/main/UsbDeviceAddedDetails.kt | JetBrains | 93,250,841 | false | {"Kotlin": 11411371, "JavaScript": 154302} | package electron.main
typealias UsbDeviceAddedDetails = electron.core.UsbDeviceAddedDetails
| 28 | Kotlin | 173 | 1,250 | 9e9dda28cf74f68b42a712c27f2e97d63af17628 | 94 | kotlin-wrappers | Apache License 2.0 |
kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/synthetics/CfnCanary.kt | cloudshiftinc | 667,063,030 | false | null | @file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION")
package io.cloudshiftdev.awscdk.services.synthetics
import io.cloudshiftdev.awscdk.CfnResource
import io.cloudshiftdev.awscdk.CfnTag
import io... | 4 | null | 0 | 4 | 9a242bcc59b2c1cf505be2f9d838f1cd8008fe12 | 134,393 | kotlin-cdk-wrapper | Apache License 2.0 |
data/src/main/java/br/com/lucas/cordeiro/cryptowalletapp/data/di/module/RepositoryModule.kt | lucas-cordeiro | 331,486,180 | false | null | package br.com.lucas.cordeiro.cryptowalletapp.data.di.module
import br.com.lucas.cordeiro.cryptowalletapp.data.repository.CoinRepositoryImpl
import br.com.lucas.cordeiro.cryptowalletapp.domain.repository.CoinRepository
import org.koin.dsl.module
val repositoryModule = module {
single { CoinRepositoryImpl() as Coi... | 0 | Kotlin | 0 | 2 | a15631fad4e972d061dcba5e512be29b64534e01 | 335 | Crypto-Wallet-App | MIT License |
WorkManager/app/src/main/java/com/example/personal/ThirdActivity.kt | leeGYPlus | 222,656,177 | true | {"Kotlin": 60932, "RenderScript": 2642} | package com.example.personal
import android.content.Context
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.util.Log
import androidx.work.*
import kotlinx.coroutines.delay
import java.time.Duration
class ThirdActivity : AppCompatActivity() {
private val duration: Duration ... | 0 | Kotlin | 0 | 0 | 947ec5df159740851e7d536b40040053f02140d3 | 714 | background-tasks-samples | Apache License 2.0 |
src/main/kotlin/xyz/acrylicstyle/gptxbot/function/ClearRemindFunction.kt | acrylic-style | 723,533,167 | false | {"Kotlin": 56506, "Dockerfile": 214} | package xyz.acrylicstyle.gptxbot.function
import dev.kord.core.entity.Message
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
@SerialName("clear_remind")
data object ClearRemindFunction : Function {
override suspend fun call(originalMessage: Message, addToolCallOutp... | 2 | Kotlin | 1 | 1 | 83b3e82390453dd9f082c72e565cc5eb5007a780 | 571 | gptx-bot | MIT License |
compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/awt/AwtEvents.desktop.kt | VexorMC | 838,305,267 | false | {"Kotlin": 104238872, "Java": 66757679, "C++": 9111230, "AIDL": 628952, "Python": 306842, "Shell": 199496, "Objective-C": 47117, "TypeScript": 38627, "HTML": 28384, "Swift": 21386, "Svelte": 20307, "ANTLR": 19860, "C": 15043, "CMake": 14435, "JavaScript": 6457, "GLSL": 3842, "CSS": 1760, "Batchfile": 295} | package androidx.compose.ui.awt
import androidx.compose.ui.input.key.InternalKeyEvent
import androidx.compose.ui.input.key.internal
import androidx.compose.ui.input.pointer.PointerEvent
/**
* The original raw native event from AWT.
*
* Null if:
* - the native event is sent by another framework (when Compose UI is... | 0 | Kotlin | 0 | 2 | 9730aa39ce1cafe408f28962a59b95b82c68587f | 1,168 | compose | Apache License 2.0 |
services/cookbook/core/src/main/kotlin/recipe/InvalidNumber.kt | wolkenschloss | 370,828,904 | false | null | package family.haschka.wolkenschloss.cookbook.recipe
class InvalidNumber(s: String) : RuntimeException(s) | 56 | null | 1 | 1 | 218a04bde90f402d3d6c7981520bcd2e2ed15fc4 | 106 | nubes | Apache License 2.0 |
2-Desafios/001-Principiante/09–Tabuada.kts | an-jorge | 170,856,534 | false | null | /*
09 – Tabuada
Exercício Python 009:
Faça um programa que leia um número Inteiro qualquer e mostre na tela a sua tabuada.
*/
fun main() {
val tabuada = 10
println("== == Tabuada de $tabuada == ==")
println()
for (index in 0..12) {
println("$tabuada * $index = ${tabuada * index}")
}
}
ma... | 1 | Kotlin | 1 | 1 | b3a217b44719c737b5925cecfbdfb6348532d741 | 324 | Learning-Kotlin | MIT License |
app/src/test/java/com/mrkaz/tokoin/di/MockWebServerDITest.kt | mrkazansky | 348,208,334 | false | null | package com.mrkaz.tokoin.di
import okhttp3.mockwebserver.MockWebServer
import org.koin.dsl.module
val MockWebServerDIPTest = module {
factory {
MockWebServer()
}
} | 1 | null | 1 | 1 | 4b4df194cbf375ec057d61f57516b5a45f27c1b1 | 183 | mvvm-template | Apache License 2.0 |
app/common/src/desktopMain/kotlin/com/denchic45/studiversity/ui/profile/ProfileUI.kt | denchic45 | 435,895,363 | false | {"Kotlin": 2110094, "Vue": 15083, "JavaScript": 2830, "CSS": 1496, "HTML": 867} | package com.denchic45.studiversity.ui.profile
import androidx.compose.foundation.Image
import androidx.compose.foundation.background
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.shape.CircleShape
import androidx.compose.foundation.shape.Rou... | 0 | Kotlin | 0 | 7 | 9d1744ffd9e1652e93af711951e924b739e96dcc | 11,207 | Studiversity | Apache License 2.0 |
app/src/main/java/top/jiecs/screener/ui/resolution/ResolutionViewModel.kt | jiesou | 727,220,282 | false | {"Kotlin": 13071} | package top.jiecs.screener.ui.resolution
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import android.os.Build
import android.view.Display
import android.util.DisplayMetrics
import android.view.WindowManager
// import android.content.pm.UserInfo
impor... | 0 | Kotlin | 0 | 5 | 933b2055203aaff53c0301d4ca801b356f2fca1e | 2,463 | Android-Screener | MIT License |
app/src/main/kotlin/by/kirich1409/grsuschedule/schedule/viewholder/DayViewHolder.kt | mydos | 48,542,594 | false | null | package by.kirich1409.grsuschedule.schedule.viewholder
import android.view.View
import android.widget.TextView
import by.kirich1409.grsuschedule.R
import by.kirich1409.grsuschedule.app.BaseRecyclerItemViewHolder
import by.kirich1409.grsuschedule.model.DaySchedule
/**
* Created by kirillrozov on 10/10/15.
*/
class ... | 0 | Kotlin | 0 | 0 | 2fb2c70622f2a058fb6a983ad40e2d05201e4aab | 647 | GrSU-Schedule | Apache License 2.0 |
shared/src/commonMain/kotlin/me/inassar/data/remote/dto/BannersDTO.kt | Mustafa-Elazab | 730,848,733 | false | {"Kotlin": 81497, "Swift": 727, "Shell": 227, "Ruby": 101} | package me.inassar.data.remote.dto
import kotlinx.serialization.Serializable
@Serializable
data class BannersDTO(
val `data`: List<BannerDTO?>?,
val message: String?,
val status: Boolean?
)
@Serializable
data class CategoryDTO(
val id: Int?,
val image: String?,
val name: String?
)
@Se... | 0 | Kotlin | 0 | 0 | 833de7404a4399bc29358f2711b0bc5cc0ab81d1 | 461 | Multi-Platform-News | Apache License 2.0 |
EasyRoom/app/src/main/java/pt/ipca/easyroom/data/DataSourceActivity.kt | TheAdventurersOrg | 695,132,245 | false | {"Kotlin": 56137} | package pt.ipca.easyroom.data
import android.content.ContentValues.TAG
import android.content.Context
import android.util.Log
import android.widget.Toast
import com.google.android.gms.tasks.Task
import com.google.firebase.firestore.FirebaseFirestore
import pt.ipca.easyroom.model.Property
import pt.ipca.easyroom.model.... | 0 | Kotlin | 0 | 0 | ce58e5332f31166859080a71c0ce8ffaeb129ec8 | 7,120 | EasyRoom | MIT License |
ontrack-extension-auto-versioning/src/main/java/net/nemerosa/ontrack/extension/av/config/AutoVersioningConfigurationServiceImpl.kt | nemerosa | 19,351,480 | false | {"Kotlin": 9228434, "JavaScript": 3016136, "Java": 1053512, "HTML": 506551, "Groovy": 377453, "CSS": 137546, "Less": 35335, "Dockerfile": 6298, "Shell": 5086} | package net.nemerosa.ontrack.extension.av.config
import net.nemerosa.ontrack.common.syncForward
import net.nemerosa.ontrack.extension.notifications.subscriptions.EventSubscription
import net.nemerosa.ontrack.extension.notifications.subscriptions.EventSubscriptionFilter
import net.nemerosa.ontrack.extension.notificatio... | 44 | Kotlin | 26 | 96 | fde26a48ea7b18689851fe579635f4ed72ad2c5a | 6,598 | ontrack | MIT License |
platform/vcs-impl/src/com/intellij/openapi/vcs/checkin/CodeAnalysisBeforeCheckinHandler.kt | JetBrains | 2,489,216 | false | null | // Copyright 2000-2021 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.openapi.vcs.checkin
import com.intellij.CommonBundle.getCancelButtonText
import com.intellij.codeInsight.CodeSmellInfo
import com.intellij.codeInspection.ex.... | 191 | null | 4372 | 13,319 | 4d19d247824d8005662f7bd0c03f88ae81d5364b | 12,092 | intellij-community | Apache License 2.0 |
app/src/main/java/com/zrcoding/hackertab/features/setting/master/SettingMasterScreen.kt | zouhir96 | 486,281,742 | false | null | package com.zrcoding.hackertab.features.setting.master
import android.content.res.Configuration
import androidx.annotation.StringRes
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout... | 0 | null | 1 | 20 | 99e8e5cd055215bb3af066c32c1b9fe70897140e | 4,996 | hackertab-android | Apache License 2.0 |
src/main/kotlin/summarisation/SummariseSentenceScore.kt | rock3125 | 138,799,834 | false | {"Kotlin": 30711, "Java": 939, "Shell": 774} | package summarisation
import summarisation.parser.Sentence
import java.util.ArrayList
/**
* sentence sorting by both index and scoring after algorithm completes
*
*/
class SummariseSentenceScore(var sentence: Sentence // the sentence held
, var sentenceIndex: Int // original index ... | 0 | Kotlin | 0 | 4 | 24d8916dbecde35eaeb760eb4307ca32a4ecb768 | 2,432 | ExtractiveSummarisation | MIT License |
rest-api-server/src/integrationTest/kotlin/org/orkg/contenttypes/adapter/input/rest/RosettaStoneStatementControllerIntegrationTest.kt | TIBHannover | 197,416,205 | false | {"Kotlin": 4856605, "Cypher": 219418, "Python": 4881, "Shell": 2767, "Groovy": 1936, "HTML": 240} | package org.orkg.contenttypes.adapter.input.rest
import io.kotest.assertions.asClue
import io.kotest.matchers.shouldBe
import io.kotest.matchers.shouldNotBe
import io.kotest.matchers.types.shouldBeInstanceOf
import org.assertj.core.api.Assertions.assertThat
import org.eclipse.rdf4j.common.net.ParsedIRI
import org.juni... | 0 | Kotlin | 0 | 4 | ee884fb0b87c20e18b6e1ee81379f9d2ab17c8f3 | 32,650 | orkg-backend | MIT License |
common-legacy-api/src/main/kotlin/taboolib/common5/util/String2TimeCycle.kt | TabooLib | 120,413,612 | false | null | package taboolib.common5.util
import taboolib.common5.Coerce
import taboolib.common5.TimeCycle
fun String.parseTimeCycle(): TimeCycle {
val args = split(" ")
return when (args[0]) {
"day" -> TimeCycle(
Coerce.toInteger(args[1]),
Coerce.toInteger(args.getOrNull(2) ?: 0)
... | 4 | null | 101 | 307 | f1178ac797c650042c977bfdf7a25e926522c032 | 829 | taboolib | MIT License |
compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/lazy/layout/LazyLayoutBeyondBoundsModifierLocal.kt | androidx | 256,589,781 | false | null | /*
* Copyright 2023 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 28 | null | 945 | 5,125 | 55c737bfb7a7320ac5b43787306f0c3af169f420 | 6,659 | androidx | Apache License 2.0 |
vector/src/main/java/im/vector/app/ext/data/model/FiledtoItems.kt | huy22091999 | 542,926,323 | false | {"Kotlin": 9903484, "Java": 166049, "HTML": 24691, "Shell": 23527, "Python": 17848, "FreeMarker": 7722, "JavaScript": 1782} | package im.vector.app.ext.data.model
import com.google.gson.annotations.SerializedName
data class FiledtoItems(
@SerializedName("content") var content: ArrayList<FiledtoContent> = arrayListOf(),
@SerializedName("empty") var empty : Boolean? = false
)
| 0 | Kotlin | 0 | 0 | 9255297220ad63fef367b2c8b1a1065ad5241c92 | 265 | edoctor_OCT | Apache License 2.0 |
source_codes/get_gif_api/android/app/src/main/kotlin/com/enesusta_/getgif/get_gif_api/MainActivity.kt | Turkmen48 | 461,888,649 | false | {"Dart": 5033, "Swift": 404, "Kotlin": 137, "Objective-C": 38} | package com.enesusta_.getgif.get_gif_api
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| 0 | Dart | 0 | 0 | d8d3d7c2b002a14a6662aa6d01f4ba536118f9fb | 137 | Get_Gif_App_WithApi_Flutter | MIT License |
jdk_17_maven/cs/rest/familie-tilbake/src/main/kotlin/no/nav/familie/tilbake/api/dto/VurdertForeldelseDto.kt | WebFuzzing | 94,008,854 | false | null | package no.nav.familie.tilbake.api.dto
import no.nav.familie.kontrakter.felles.Datoperiode
import no.nav.familie.tilbake.foreldelse.domain.Foreldelsesvurderingstype
import java.math.BigDecimal
import java.time.LocalDate
data class VurdertForeldelseDto(val foreldetPerioder: List<VurdertForeldelsesperiodeDto>)
data cl... | 3 | null | 16 | 26 | 1777aafb22c6fc7c1bc7db96c86b6ea70e38a36e | 621 | EMB | Apache License 2.0 |
app/src/main/java/com/example/AppTodoList/ui/tasks/TasksViewModel.kt | luga97 | 349,090,083 | false | null | package com.example.AppTodoList.ui.tasks
import androidx.hilt.lifecycle.ViewModelInject
import androidx.lifecycle.ViewModel
import com.example.AppTodoList.data.repository.TasksRepository
/**
* ViewModel Exclusivo del fragmento TaskFragment
* nos permitira obtener todas las tareas desde las
* fuentes de datos
* @pa... | 0 | Kotlin | 0 | 0 | b87aae8de7af134a637f63465513914dd2b44fba | 570 | AppTodoList | Apache License 2.0 |
src/test/java/com/ecwid/maleorang/method/v3_0/lists/members/MembersTest.kt | Ecwid | 65,213,967 | false | null | package com.ecwid.maleorang.method.v3_0.lists.members
import com.ecwid.maleorang.MailchimpClient
import com.ecwid.maleorang.MailchimpException
import com.ecwid.maleorang.MailchimpObject
import org.testng.Assert.assertEquals
import org.testng.Assert.fail
import org.testng.annotations.BeforeMethod
import org.testng.anno... | 3 | null | 34 | 84 | e7f4acc50a7b5c383d8f3c1441e6d4b77b37989f | 5,656 | maleorang | Apache License 2.0 |
newm-server/src/main/kotlin/io/newm/server/features/marketplace/database/MarketplaceBookmarkTable.kt | projectNEWM | 447,979,150 | false | {"Kotlin": 2128188, "HTML": 154009, "Shell": 2775, "Dockerfile": 2535, "Procfile": 60} | package io.newm.server.features.marketplace.database
import org.jetbrains.exposed.dao.id.EntityID
import org.jetbrains.exposed.dao.id.IdTable
import org.jetbrains.exposed.sql.Column
object MarketplaceBookmarkTable : IdTable<String>(name = "marketplace_bookmarks") {
override val id: Column<EntityID<String>> = text... | 1 | Kotlin | 4 | 9 | 3e0dc74a14a33b195b9311767c794b8d244db697 | 470 | newm-server | Apache License 2.0 |
app/src/main/java/com/github/psm/jethouse/ui/widget/ProfileIcon.kt | Pidsamhai | 400,962,881 | false | null | package com.github.psm.jethouse.ui.widget
import androidx.compose.foundation.Image
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.size
import androidx.compose.runtime.Composable
... | 0 | Kotlin | 0 | 0 | d70f7a730f9e31c1ee83583e9f44b672b6f53448 | 1,490 | jethouse | MIT License |
ok-workout-be-common/src/main/kotlin/ru/otus/otuskotlin/workout/backend/common/models/MpUserGroups.kt | otuskotlin | 377,713,426 | false | null | package ru.otus.otuskotlin.workout.backend.common.models
enum class MpUserGroups {
USER,
ADMIN,
TEST,
BAN
}
| 0 | Kotlin | 1 | 0 | 7f9445aacad7e524a74b3a0cab0e853e845faba7 | 125 | ok-202105-workout-kkh | MIT License |
platform/platform-impl/src/com/intellij/ide/GeneralSettingsConfigurable.kt | ingokegel | 72,937,917 | true | null | // Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.ide
import com.intellij.application.options.editor.CheckboxDescriptor
import com.intellij.application.options.editor.checkBox
import com.intellij.ide.ui.search.BooleanOptionDesc... | 284 | null | 5162 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 6,929 | intellij-community | Apache License 2.0 |
components/bridge/impl/src/main/java/com/flipperdevices/bridge/impl/manager/overflow/FlipperSerialOverflowThrottler.kt | flipperdevices | 288,258,832 | false | null | package com.flipperdevices.bridge.impl.manager.overflow
import android.bluetooth.BluetoothGatt
import android.bluetooth.BluetoothGattCharacteristic
import androidx.annotation.VisibleForTesting
import com.flipperdevices.bridge.api.manager.service.FlipperSerialApi
import com.flipperdevices.bridge.api.utils.Constants
imp... | 9 | null | 78 | 850 | 4a30af6fffc8dc8dc51b24ef8d7526e9f580a38f | 5,368 | Flipper-Android-App | MIT License |
ontrack-job/src/main/java/net/nemerosa/ontrack/job/orchestrator/NOPJobOrchestratorSupplier.kt | nemerosa | 19,351,480 | false | {"Kotlin": 9228434, "JavaScript": 3016136, "Java": 1053512, "HTML": 506551, "Groovy": 377453, "CSS": 137546, "Less": 35335, "Dockerfile": 6298, "Shell": 5086} | package net.nemerosa.ontrack.job.orchestrator
import net.nemerosa.ontrack.job.JobRegistration
import org.springframework.stereotype.Component
@Component
class NOPJobOrchestratorSupplier : JobOrchestratorSupplier {
override val jobRegistrations: Collection<JobRegistration> = emptyList()
} | 44 | Kotlin | 25 | 96 | fde26a48ea7b18689851fe579635f4ed72ad2c5a | 294 | ontrack | MIT License |
app/src/main/java/com/example/jetpackcompose/material/FixedActionButtonActivity.kt | anitaa1990 | 264,724,714 | true | null | package com.example.jetpackcompose.material
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import androidx.compose.Composable
import androidx.compose.remember
import androidx.ui.core.Modifier
import androidx.ui.core.setContent
import androidx.ui.foundation.Icon
import androidx.ui.foundation.T... | 0 | null | 3 | 10 | 24da6d327fbc77a88c359c16d55eeb9f5fb1f1da | 6,748 | Learn-Jetpack-Compose-By-Example | Apache License 2.0 |
emoji-google-compat/src/commonMain/kotlin/com/vanniktech/emoji/googlecompat/category/FlagsCategoryChunk0.kt | vanniktech | 53,511,222 | false | {"Kotlin": 2552475, "JavaScript": 19229, "Ruby": 15950} | /*
* Copyright (C) 2016 - <NAME>, <NAME>, <NAME> and contributors
*
* 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 requir... | 5 | Kotlin | 292 | 1,537 | 60efe8bbfe4f2900e424c4cdddf01dcc59e0b4bb | 8,178 | Emoji | Apache License 2.0 |
perf/app/src/main/java/com/google/firebase/quickstart/perfmon/EntryChoiceActivity.kt | firebase | 57,147,349 | false | null | package com.google.firebase.quickstart.perfmon
import android.content.Intent
import com.firebase.example.internal.BaseEntryChoiceActivity
import com.firebase.example.internal.Choice
class EntryChoiceActivity : BaseEntryChoiceActivity() {
override fun getChoices(): List<Choice> {
return listOf(
... | 68 | null | 7436 | 8,858 | 4d1e253dd1dd8052310e889fc1785084b1997aca | 967 | quickstart-android | Apache License 2.0 |
project/src/main/kotlin/cga/exercise/components/light/PointLight.kt | Merciii | 284,711,888 | false | null | package cga.exercise.components.light
import cga.exercise.components.geometry.Transformable
import cga.exercise.components.shader.ShaderProgram
import org.joml.Vector3f
open class PointLight(var pos :Vector3f,var color :Vector3f) :Transformable(),IPointLight{
var attenuation = Vector3f(1.0f,0.5f,0.1f)
init {
... | 0 | null | 0 | 1 | 613b03d5e3adb042cb1262a169d8beccee0fd9d3 | 639 | CGAProject2020BreidbachCinkaya | MIT License |
base/lint/libs/lint-tests/src/test/java/com/android/tools/lint/detector/api/CategoryTest.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) 2015 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 | 2,743 | vmtrace | Apache License 2.0 |
data/api/src/main/java/com/mataku/scrobscrob/data/api/endpoint/UserTopAlbumsEndpoint.kt | mataku | 99,928,377 | false | {"Kotlin": 406856, "Ruby": 2778, "Makefile": 558} | package com.mataku.scrobscrob.data.api.endpoint
import com.mataku.scrobscrob.data.api.model.UserTopAlbumsApiResponse
import io.ktor.http.HttpMethod
data class UserTopAlbumsEndpoint(
override val path: String = "/2.0/?method=user.getTopAlbums&format=json",
override val requestType: HttpMethod = HttpMethod.Get,
o... | 2 | Kotlin | 2 | 9 | 5c93daff9786df8300f8f6209ab9c3bb79585352 | 396 | SunsetScrob | Apache License 2.0 |
app/src/main/java/com/example/parentguide/navigation/KidUser/DataState.kt | COMBOxKILLER | 802,642,141 | false | {"Kotlin": 244975, "Java": 138062, "Assembly": 43} | package com.example.parentguide.navigation.KidUser
sealed class DataState<out T> {
data class Success<T>(val data: T) : DataState<T>()
data class Failure(val message: String) : DataState<Nothing>()
object Loading : DataState<Nothing>()
object Empty : DataState<Nothing>()
}
| 0 | Kotlin | 0 | 0 | 5c6ab91573d32bba1edbce0a27175d286feaa108 | 292 | SecureKids-app-CU2000187 | MIT License |
unique-sdk/src/openApiGenerator/src/main/kotlin/network/unique/model/VideoDto.kt | UniqueNetwork | 555,353,838 | false | {"Kotlin": 1102840, "Rust": 7782, "Java": 2916} | /**
*
* Please note:
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* Do not edit this file manually.
*
*/
@file:Suppress(
"ArrayInDataClass",
"EnumEntryName",
"RemoveRedundantQualifierName",
"UnusedImport"
)
package network.unique.model
import com.square... | 0 | Kotlin | 0 | 3 | 0f5afacd0cb7b7411bc78307f3a22c8d02a14e69 | 477 | unique-sdk-kotlin | MIT License |
android/src/main/kotlin/dev/msfjarvis/claw/android/MainActivity.kt | msfjarvis | 289,347,156 | false | null | /*
* Copyright © 2021-2023 <NAME>.
* Use of this source code is governed by an MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT.
*/
package dev.msfjarvis.claw.android
import android.app.assist.AssistContent
import android.net.Uri
import android.os.Bundle
import... | 6 | null | 7 | 53 | 44438da292394fd2d0d64ae9d4e000352f7a603b | 1,875 | compose-lobsters | MIT License |
feature/changepassword/src/main/java/com/muammarahlnn/learnyscape/feature/changepassword/navigation/ChangePasswordNavigation.kt | muammarahlnn | 663,132,195 | false | {"Kotlin": 1077954} | package com.muammarahlnn.learnyscape.feature.changepassword.navigation
import androidx.compose.runtime.rememberCoroutineScope
import androidx.navigation.NavController
import androidx.navigation.NavGraphBuilder
import androidx.navigation.compose.composable
import com.muammarahlnn.learnyscape.feature.changepassword.Chan... | 0 | Kotlin | 0 | 0 | 1a6aafc8a84cd2cbe54b7b64c6ec937c2c8c5580 | 1,036 | Learnyscape | Apache License 2.0 |
workflows/src/test/kotlin/com/r3/corda/lib/tokens/workflows/TokenSelectionWithInFlowTest.kt | corda | 160,397,060 | false | null | package com.r3.corda.lib.tokens.workflows
import com.r3.corda.lib.tokens.contracts.states.FungibleToken
import com.r3.corda.lib.tokens.contracts.utilities.heldBy
import com.r3.corda.lib.tokens.contracts.utilities.issuedBy
import com.r3.corda.lib.tokens.contracts.utilities.of
import com.r3.corda.lib.tokens.money.BTC
im... | 38 | null | 77 | 80 | 749483f691c2c6ca56d9caacdd73a9e6319a969e | 2,223 | token-sdk | Apache License 2.0 |
ide-common/src/main/kotlin/org/digma/intellij/plugin/auth/account/CentralizedLoginHandler.kt | digma-ai | 472,408,329 | false | {"Kotlin": 1686412, "Java": 579281, "C#": 117248, "Shell": 13664, "HTML": 11307, "FreeMarker": 10897} | package org.digma.intellij.plugin.auth.account
import org.digma.intellij.plugin.analytics.RestAnalyticsProvider
import org.digma.intellij.plugin.auth.reportAuthPosthogEvent
import org.digma.intellij.plugin.auth.withAuthManagerDebug
import org.digma.intellij.plugin.common.ExceptionUtils
import org.digma.intellij.plugin... | 477 | Kotlin | 7 | 32 | ce460b0cdc604968d267b98e72bf9dd211cf39b3 | 6,094 | digma-intellij-plugin | MIT License |
app/src/main/java/com/mokelab/tools/shortcut/pages/create/setting/CreateSettingShortcutViewModel.kt | mokelab | 280,076,271 | false | null | package com.mokelab.tools.shortcut.pages.create.setting
import android.content.Context
import android.content.Intent
import android.graphics.Bitmap
import android.graphics.Canvas
import android.graphics.drawable.VectorDrawable
import android.provider.Settings
import androidx.core.content.ContextCompat
import androidx.... | 0 | Kotlin | 0 | 0 | aadcc6a30c70c322294cc2c92f38f939d22d09c7 | 2,634 | android-the-shortcut | Apache License 2.0 |
App/app/src/main/java/com/app/notes/database/repository/RepositoryImpl.kt | ericasaline | 578,992,527 | false | null | package com.app.notes.database.repository
import com.app.notes.database.dao.NoteRoom
import com.app.notes.database.entity.NoteModel
class RepositoryImpl(private val room: NoteRoom): Repository {
override suspend fun insert(note: NoteModel): Boolean {
return try {
room.insert(note)
... | 0 | Kotlin | 0 | 0 | b116c34c9da0ca0973adf0a477eaf92504f3545e | 1,050 | App-Notes | MIT License |
app/src/main/java/com/example/leslie/carousellkotlin/ui/ProfileFragment.kt | leslieharland | 135,650,274 | false | {"Kotlin": 203127, "Java": 1767} | package com.example.leslie.carousellkotlin.ui
import android.os.Bundle
import android.support.v4.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import com.example.leslie.carousellkotlin.ui.layout.ProfileFragmentLayout
class ProfileFragment : Fragment() {
pr... | 0 | Kotlin | 0 | 0 | 8688f1031b5f66b88ce2974ca99e95ec8e25d9a4 | 698 | Carousell-Kotlin | Apache License 2.0 |
12-animating-properties-using-compose/projects/starter/app/src/main/java/com/raywenderlich/android/jetreddit/screens/MyProfileScreen.kt | raywenderlich | 276,131,170 | false | null | package com.raywenderlich.android.jetreddit.screens
import androidx.compose.animation.Crossfade
import androidx.compose.foundation.Image
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.foundation.lazy.i... | 5 | null | 41 | 98 | 35a9250d111fa9dac64e22dc99e5cabd81579702 | 10,373 | jet-materials | Apache License 2.0 |
liberalize/src/main/java/liberalize/kotlin/sdk/models/CardDetailsResponse.kt | LiberationNetwork | 420,028,908 | false | {"Gradle": 4, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "Proguard": 2, "Kotlin": 44, "XML": 18, "Java": 2, "INI": 2} | package liberalize.kotlin.sdk.models
import android.os.Parcelable
import kotlinx.parcelize.Parcelize
import org.json.JSONObject
@Parcelize
data class MountCardData(
@JvmField
val source: String?,
@JvmField
val securityCode: String?
) : Parcelable
@Parcelize
data class CardDetailsResponse(
@JvmFie... | 1 | null | 1 | 1 | f9e4ab00c2b09afc8937f60d3cae903238990fff | 3,188 | liberalize-frontend-android-sdk | MIT License |
main/src/main/kotlin/us/wedemy/eggeum/android/main/viewmodel/HomeViewModel.kt | Wedemy | 615,061,021 | false | null | /*
* Designed and developed by Wedemy 2023.
*
* Licensed under the MIT.
* Please see full license: https://github.com/Wedemy/eggeum-android/blob/main/LICENSE
*/
package us.wedemy.eggeum.android.main.viewmodel
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import androidx.paging.Item... | 12 | null | 0 | 7 | 25827748532b9d0013cf6215cb58c1ad52f6de4e | 2,910 | eggeum-android | MIT License |
android/src/main/kotlin/app/begaz/obd/two/plugin/obd2_plugin/Obd2Plugin.kt | begaz | 448,589,262 | false | {"Dart": 30988, "Kotlin": 3854, "Ruby": 976, "Swift": 908, "Objective-C": 676} | package app.begaz.obd.two.plugin.obd2_plugin
import android.bluetooth.BluetoothAdapter
import android.content.Intent
import androidx.annotation.NonNull
import androidx.core.app.ActivityCompat.startActivityForResult
import io.flutter.embedding.engine.plugins.FlutterPlugin
import io.flutter.plugin.common.MethodCall
imp... | 0 | Dart | 10 | 24 | 734609d87ea727caf4a9f7cb8d1058b339fa48d0 | 3,705 | OBDII | MIT License |
serialization/src/commonMain/kotlin/pw/binom/openapi/serialization/ExampleGenerator.kt | caffeine-mgn | 529,723,183 | false | null | package pw.binom.openapi.serialization
import kotlinx.serialization.*
import kotlinx.serialization.modules.EmptySerializersModule
import kotlinx.serialization.modules.SerializersModule
object ExampleGenerator {
fun <T : Any> generate(
serializer: KSerializer<T>,
serializersModule: SerializersModul... | 0 | Kotlin | 0 | 0 | d3bd4d3f84bd93e68dd461e98a9677dc437eb2d6 | 787 | openapi | Apache License 2.0 |
features/dd-sdk-android-trace/src/main/kotlin/com/datadog/android/trace/internal/domain/event/BigIntegerUtils.kt | DataDog | 219,536,756 | false | {"Kotlin": 9121111, "Java": 1179237, "C": 79303, "Shell": 63055, "C++": 32351, "Python": 5556, "CMake": 2000} | /*
* Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0.
* This product includes software developed at Datadog (https://www.datadoghq.com/).
* Copyright 2016-Present Datadog, Inc.
*/
package com.datadog.android.trace.internal.domain.event
import java.... | 44 | Kotlin | 60 | 151 | d7e640cf6440ab150c2bbfbac261e09b27e258f4 | 1,973 | dd-sdk-android | Apache License 2.0 |
remote/src/main/kotlin/io/github/gmvalentino8/github/sample/remote/models/MergedMinusUpstreamApiModel.kt | wasabi-muffin | 462,369,263 | false | {"Kotlin": 2712155, "Mustache": 4796, "Ruby": 1144, "Shell": 812} | /**
* GitHub v3 REST API
*
* GitHub's v3 REST API.
*
* The version of the OpenAPI document: 1.1.4
*
*
* Please note:
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* Do not edit this file manually.
*/
@file:Suppress(
"ArrayInDataClass",
"EnumEntryName",
"R... | 0 | Kotlin | 0 | 1 | 2194a2504bde08427ad461d92586497c7187fb40 | 2,136 | github-sample-project | Apache License 2.0 |
Frontend/app/src/main/java/com/example/spotivote/service/dto/TrackList.kt | UTN-FRBA-Mobile | 637,448,794 | false | null | package com.example.spotivote.service.dto
data class TrackList(val items: List<TrackItem>) | 0 | Kotlin | 0 | 1 | 1ab357641c8764c2ac418ddb83540845b4fa00e9 | 91 | SpotiVote | MIT License |
app/src/main/java/com/aitsuki/currency/CurrencyEditText.kt | aitsuki | 762,651,045 | false | {"Kotlin": 6658} | package com.aitsuki.currency
import android.annotation.SuppressLint
import android.content.Context
import android.text.InputType
import android.text.method.DigitsKeyListener
import android.util.AttributeSet
import android.widget.EditText
import java.math.BigDecimal
import java.text.DecimalFormatSymbols
import java.uti... | 0 | Kotlin | 0 | 0 | 4f67e8d68391330c80513af8bdae9d568f63881d | 1,925 | CurrencyEditText | MIT License |
src/main/kotlin/br/com/zup/gian/registrarchave/itau/TitularResponse.kt | gianmsouza | 395,672,736 | true | {"Kotlin": 64998} | package br.com.zup.gian.registrarchave.itau
data class TitularResponse(val id: String, val nome: String, val cpf: String)
| 0 | Kotlin | 0 | 0 | 51dd2506d114c2d977e1b3b640b8c5b78639b5d9 | 123 | orange-talents-06-template-pix-keymanager-grpc | Apache License 2.0 |
src/main/kotlin/com/github/mrbean355/admiralbulldog/arch/service/GitHubService.kt | MrBean355 | 181,222,587 | false | null | /*
* Copyright 2023 Michael Johnston
*
* 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 agree... | 7 | null | 5 | 31 | 24f2f5de5c8d8397c9aec94795f6da3bfaac3611 | 1,478 | admiralbulldog-sounds | Apache License 2.0 |
cosec-core/src/main/kotlin/me/ahoo/cosec/principal/SimplePrincipal.kt | Ahoo-Wang | 567,999,401 | false | null | /*
* Copyright [2021-present] [<NAME> <<EMAIL>> (https://github.com/Ahoo-Wang)].
* 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... | 4 | null | 4 | 32 | ea4af7a66c1ab4d6560d7f3ba5d7026cd6904c26 | 1,148 | CoSec | Apache License 2.0 |
app/src/main/java/com/coinninja/coinkeeper/view/button/HelpLinkButton.kt | coinninjadev | 175,276,289 | false | null | package com.coinninja.coinkeeper.view.button
import android.content.Context
import android.content.Intent
import android.net.Uri
import android.util.AttributeSet
import android.view.View
import androidx.appcompat.content.res.AppCompatResources
import androidx.appcompat.widget.AppCompatButton
import androidx.core.graph... | 2 | null | 0 | 6 | d67d7c0b9cad27db94470231073c5d6cdda83cd0 | 1,958 | dropbit-android | MIT License |
app/src/main/java/flaskoski/rs/smartmuseum/listAdapter/SubItemListAdapter.kt | flaskoski | 173,016,051 | false | null | package flaskoski.rs.smartmuseum.listAdapter
import android.app.Activity
import androidx.recyclerview.widget.RecyclerView
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import flaskoski.rs.smartmuseum.R
import flaskoski.rs.smartmuseum.model.ItemRepository
import flaskoski.rs.... | 0 | Kotlin | 0 | 1 | 2e180a388298e0b827cea35daef4593ec52f5811 | 2,670 | SmartMuseum | MIT License |
rounded/src/commonMain/kotlin/me/localx/icons/rounded/outline/FaceConfused.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.rounded.outline
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... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 3,316 | icons | MIT License |
src/main/kotlin/uk/gov/justice/digital/hmpps/hmppsmanageadjudicationsapi/controllers/draft/DraftAdjudicationController.kt | ministryofjustice | 416,301,250 | false | {"Kotlin": 1584553, "Dockerfile": 1411} | package uk.gov.justice.digital.hmpps.hmppsmanageadjudicationsapi.controllers.draft
import io.swagger.v3.oas.annotations.Operation
import io.swagger.v3.oas.annotations.Parameter
import io.swagger.v3.oas.annotations.Parameters
import io.swagger.v3.oas.annotations.media.Schema
import io.swagger.v3.oas.annotations.tags.Ta... | 3 | Kotlin | 0 | 3 | b09836ea73215eade93eb0a723ac4d8ddc365b1d | 15,890 | hmpps-manage-adjudications-api | MIT License |
app/src/androidTest/java/com/meslmawy/ibtkarchallenge/logic/SaveImagesTest.kt | KhaledSherifSayed | 278,113,314 | false | null | /*
*
* Copyright (c) 2020 Khaled Sherif
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publ... | 0 | Kotlin | 3 | 16 | 99dda9ded47348ea1a15bace1c24267411e2496b | 2,859 | PopularPeople | MIT License |
app/src/main/kotlin/com/sukitsuki/tsukibb/activity/LoginWebViewActivity.kt | Tsuki | 166,343,816 | false | null | package com.sukitsuki.tsukibb.activity
import android.annotation.SuppressLint
import android.content.SharedPreferences
import android.graphics.Bitmap
import android.os.Bundle
import android.webkit.CookieManager
import android.webkit.WebResourceRequest
import android.webkit.WebView
import android.webkit.WebViewClient
i... | 0 | Kotlin | 0 | 0 | 17f676fc22bed38bd38622dd4c73215fe91e6860 | 6,131 | TsukiBBkt | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.