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/wannabit/io/cosmostaion/model/viewModel/neutron/DaoViewModel.kt | cosmostation | 418,314,439 | false | {"Java": 9401828, "Kotlin": 430818} | package wannabit.io.cosmostaion.model.viewModel.neutron
import android.content.Context
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import com.google.gson.Gson
import kotlinx.coroutines.launch
import wannabit.io.cosmostaion.base.chains.ChainConfig
import wannabit.io.cosmostaion.dao.Acco... | 0 | Java | 51 | 66 | 4a89189b1f7f053a1cd97a1e0371940bad52bd05 | 3,138 | cosmostation-android | MIT License |
kotlin-electron/src/jsMain/generated/electron/common/LoginItemSettings.kt | JetBrains | 93,250,841 | false | {"Kotlin": 11411371, "JavaScript": 154302} | package electron.common
typealias LoginItemSettings = electron.core.LoginItemSettings
| 28 | Kotlin | 173 | 1,250 | 9e9dda28cf74f68b42a712c27f2e97d63af17628 | 88 | kotlin-wrappers | Apache License 2.0 |
app/src/main/java/eu/kanade/presentation/manga/MangaScreenConstants.kt | mihonapp | 743,704,912 | false | null | package eu.kanade.presentation.manga
enum class DownloadAction {
NEXT_1_CHAPTER,
NEXT_5_CHAPTERS,
NEXT_10_CHAPTERS,
CUSTOM,
UNREAD_CHAPTERS,
ALL_CHAPTERS,
}
enum class EditCoverAction {
EDIT,
DELETE,
}
enum class MangaScreenItem {
INFO_BOX,
ACTION_ROW,
DESCRIPTION_WITH_TAG... | 72 | null | 447 | 9,867 | f3a2f566c8a09ab862758ae69b43da2a2cd8f1db | 357 | mihon | Apache License 2.0 |
TabnineSelfHosted/src/main/java/com/tabnineSelfHosted/Initializer.kt | zxqfl | 199,185,542 | false | null | package com.tabnineSelfHosted
import com.intellij.openapi.application.ApplicationManager
import com.intellij.openapi.application.PreloadingActivity
import com.intellij.openapi.components.ServiceManager
import com.intellij.openapi.progress.ProgressIndicator
import com.intellij.openapi.project.Project
import com.intelli... | 38 | null | 57 | 509 | 1cc05157fdfd742059be88f00fb92bc58e005a1c | 1,747 | tabnine-intellij | MIT License |
android/app/src/main/java/com/algorand/android/ui/send/shared/AddNoteBottomSheet.kt | perawallet | 364,359,642 | false | {"Swift": 8753304, "Kotlin": 7709389, "Objective-C": 88978, "Shell": 7715, "Ruby": 4727, "C": 596} | /*
* Copyright 2022 Pera Wallet, LDA
* 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 writing,... | 22 | Swift | 62 | 181 | 92fc77f73fa4105de82d5e87b03c1e67600a57c0 | 2,671 | pera-wallet | Apache License 2.0 |
dsl/src/main/kotlin/io/cloudshiftdev/awscdkdsl/services/quicksight/CfnTemplateSectionBasedLayoutPaperCanvasSizeOptionsPropertyDsl.kt | cloudshiftinc | 667,063,030 | false | null | @file:Suppress(
"RedundantVisibilityModifier",
"RedundantUnitReturnType",
"RemoveRedundantQualifierName",
"unused",
"UnusedImport",
"ClassName",
"REDUNDANT_PROJECTION",
"DEPRECATION"
)
package cloudshift.awscdk.dsl.services.quicksight
import cloudshift.awscdk.common.CdkDslMarker
import... | 4 | null | 0 | 3 | c59c6292cf08f0fc3280d61e7f8cff813a608a62 | 2,650 | awscdk-dsl-kotlin | Apache License 2.0 |
packages/mongodb-mql-model/src/test/kotlin/com/mongodb/jbplugin/mql/NodeTest.kt | mongodb-js | 797,134,624 | false | {"Kotlin": 358451, "Shell": 1926, "Java": 906, "HTML": 254} | package com.mongodb.jbplugin.mql
import com.mongodb.jbplugin.mql.components.*
import org.junit.jupiter.api.Assertions.*
import org.junit.jupiter.api.Test
import org.junit.jupiter.params.ParameterizedTest
import org.junit.jupiter.params.provider.MethodSource
class NodeTest {
@Test
fun `is able to get a compone... | 2 | Kotlin | 0 | 3 | 73a49b3e70883af142010f872b5951a067724717 | 4,145 | intellij | Apache License 2.0 |
server/src/main/kotlin/org/kryptonmc/krypton/entity/KryptonLivingEntity.kt | KryptonMC | 255,582,002 | false | null | /*
* This file is part of the Krypton project, licensed under the Apache License v2.0
*
* Copyright (C) 2021-2023 KryptonMC and the contributors of the Krypton 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 ... | 27 | Kotlin | 11 | 233 | a9eff5463328f34072cdaf37aae3e77b14fcac93 | 9,080 | Krypton | Apache License 2.0 |
src/main/kotlin/me/steven/indrev/gui/controllers/BiomassGeneratorController.kt | superJK921 | 297,734,676 | false | null | package me.steven.indrev.gui.controllers
import io.github.cottonmc.cotton.gui.widget.WGridPanel
import io.github.cottonmc.cotton.gui.widget.WItemSlot
import me.steven.indrev.IndustrialRevolution
import me.steven.indrev.gui.PatchouliEntryShortcut
import me.steven.indrev.gui.widgets.misc.WFuel
import me.steven.indrev.ut... | 1 | null | 1 | 1 | c8d1b3ae534d177105f807c645db715346839840 | 1,477 | Industrial-Revolution | Apache License 2.0 |
app/src/main/java/me/ppvan/metour/MainActivity.kt | quanminhhoanga | 708,860,979 | false | {"Kotlin": 116676} | package me.ppvan.metour
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.Surface
import androidx.compose.runtime.Composa... | 0 | Kotlin | 0 | 0 | 612bc8a56344c7f1f7ce1ab61f01d55c11f52ed8 | 2,479 | TourismMobileApp | MIT License |
flowbinding-viewpager/src/androidTest/java/reactivecircus/flowbinding/viewpager/ViewPagerPageSelectedFlowTest.kt | mochadwi | 326,126,160 | true | {"Kotlin": 469647, "Shell": 2411} | package reactivecircus.flowbinding.viewpager
import androidx.test.filters.LargeTest
import androidx.test.internal.runner.junit4.statement.UiThreadStatement.runOnUiThread
import androidx.viewpager.widget.ViewPager
import org.amshove.kluent.shouldEqual
import org.junit.Test
import reactivecircus.blueprint.testing.action... | 0 | null | 0 | 0 | b2b56b9834cf003146193e9cfa3e2cb4e813439b | 2,646 | FlowBinding | Apache License 2.0 |
app/src/main/java/ro/alexmamo/firemag/domain/model/User.kt | alexmamo | 569,800,514 | false | null | package ro.alexmamo.firemag.domain.model
data class User (
val uid: String,
val photoUrl: String,
val displayName: String,
val email: String
) | 0 | Kotlin | 1 | 9 | d648c129c9d9f0841b898b6c178170e404f35024 | 159 | FireMag | Apache License 2.0 |
android/src/main/java/com/visioncamerafacetflite/VisionCameraFaceTflitePlugin.kt | edritech93 | 741,416,649 | false | {"Kotlin": 16619, "Swift": 15495, "TypeScript": 11777, "Ruby": 4407, "Objective-C": 3214, "JavaScript": 2205, "Objective-C++": 1568, "C": 103} | package com.visioncamerafacetflite
import android.graphics.Bitmap
import android.graphics.Canvas
import android.graphics.Matrix
import android.graphics.Rect
import android.graphics.RectF
import com.google.android.gms.tasks.Tasks
import com.google.mlkit.vision.common.InputImage
import com.google.mlkit.vision.common.int... | 0 | Kotlin | 0 | 0 | 96b2f4567ded44ade57a00fed608bf4a896e3c97 | 6,117 | vision-camera-face-tflite | MIT License |
app/src/main/java/io/github/takusan23/akaridroid/ui/component/AkariCanvasCompose.kt | takusan23 | 584,131,815 | false | null | package io.github.takusan23.akaridroid.ui.component
import androidx.compose.foundation.Image
import androidx.compose.foundation.gestures.detectDragGestures
import androidx.compose.foundation.layout.Box
import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
import androidx.compose.runtime.Lau... | 0 | Kotlin | 0 | 0 | f1b481e30a226607467099ac16aa819553784728 | 2,325 | AkariDroid | Apache License 2.0 |
fastadapter-extensions-paged/src/main/java/com/mikepenz/fastadapter/paged/PagedItemListImpl.kt | mikepenz | 48,688,603 | false | null | package com.mikepenz.fastadapter.paged
import android.util.Log
import androidx.paging.AsyncPagedListDiffer
import androidx.paging.PagedList
import androidx.recyclerview.widget.AsyncDifferConfig
import androidx.recyclerview.widget.ListUpdateCallback
import com.mikepenz.fastadapter.GenericItem
import com.mikepenz.fastad... | 9 | null | 500 | 3,827 | 77761873d8f5c469a3dcc49766e2960826bbe62b | 8,309 | FastAdapter | Apache License 2.0 |
src/main/kotlin/br/com/tecnoinfo/baseapi/mapper/PagetoPageDetMapper.kt | GilbertoMattos | 587,541,296 | false | null | package br.com.tecnoinfo.baseapi.mapper
import br.com.tecnoinfo.baseapi.wrapper.response.PageDet
import org.springframework.data.domain.Page
import org.springframework.stereotype.Component
@Component
class PagetoPageDetMapper : Mapper<Page<*>, PageDet> {
override fun map(param: Page<*>): PageDet {
return ... | 0 | Kotlin | 0 | 0 | bb9e50a1b243ea37c9d5de588165eddde74adaea | 583 | base-api | Apache License 2.0 |
app/src/main/java/org/ergoplatform/android/wallet/WalletFragment.kt | B2skk | 424,350,097 | false | null | package org.ergoplatform.android.wallet
import android.os.Bundle
import android.text.format.DateUtils
import android.view.*
import android.view.animation.Animation
import android.view.animation.AnimationUtils
import androidx.fragment.app.Fragment
import androidx.fragment.app.findFragment
import androidx.navigation.fra... | 1 | null | 1 | 1 | dcdc780f8514d27435591172e8e73935fefddee2 | 13,745 | ergo-wallet-android | Apache License 2.0 |
src/main/kotlin/io/kanro/idea/plugin/protobuf/buf/project/BufProjectInitializer.kt | devkanro | 351,091,577 | false | null | package io.kanro.idea.plugin.protobuf.buf.project
import com.intellij.openapi.components.service
import com.intellij.openapi.project.Project
import com.intellij.openapi.startup.ProjectActivity
import com.intellij.openapi.vfs.VirtualFileManager
class BufProjectInitializer : ProjectActivity {
override suspend fun e... | 8 | null | 10 | 76 | 0ce1fd26e742569f7c4278a80d6909c081dfa92c | 525 | intellij-protobuf-plugin | Apache License 2.0 |
ui-kit/src/main/java/com/quickblox/android_ui_kit/presentation/dialogs/AvatarDialog.kt | QuickBlox | 637,751,718 | false | {"Kotlin": 1833847} | /*
* Created by Injoit on 26.3.2023.
* Copyright © 2023 Quickblox. All rights reserved.
*/
package com.quickblox.android_ui_kit.presentation.dialogs
import android.content.Context
import android.view.View
import com.quickblox.android_ui_kit.R
import com.quickblox.android_ui_kit.presentation.base.BaseDialog
import ... | 1 | Kotlin | 0 | 4 | 0ef856d22efb1540d6e238a073badbf31c03961a | 2,729 | android-ui-kit | MIT License |
app/src/main/java/com/kieronquinn/app/classicpowermenu/ui/screens/settings/quickaccesswallet/SettingsQuickAccessWalletViewModel.kt | KieronQuinn | 410,362,831 | false | {"Kotlin": 737388, "Java": 280783, "AIDL": 22512} | package com.kieronquinn.app.classicpowermenu.ui.screens.settings.quickaccesswallet
import android.content.Context
import android.content.Intent
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.kieronquinn.app.classicpowermenu.components.navigation.AppNavigation
import com.kieronq... | 9 | Kotlin | 19 | 607 | fe566cf30f4539f84887c78d8f388a38b8fe69b7 | 3,358 | ClassicPowerMenu | Apache License 2.0 |
app/src/main/java/com/yanbin/reactivestickynote/ui/view/BoardView.kt | hungyanbin | 378,550,510 | false | null | package com.yanbin.reactivestickynote.ui.view
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.runtime.Composable
import androidx.compose.runtime.ReusableContent
import androidx.compose.runtime.State
import androidx.compose.runtime.getValue
imp... | 1 | Kotlin | 1 | 2 | 5fee0681303cceebf7331fd02683cddd52494894 | 1,335 | ReactiveStickyNote | MIT License |
app/src/main/java/com/mindsync/mindmapview/EditDescriptionDialog.kt | hegleB | 784,266,225 | false | {"Kotlin": 79055} | package com.mindsync.mindmapview
import android.app.Dialog
import android.content.DialogInterface
import android.graphics.Color
import android.graphics.drawable.ColorDrawable
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.view.WindowMan... | 0 | Kotlin | 0 | 0 | a634e55d664dac80e3dcf4c17b4339d38dff6f57 | 3,281 | MindMapView | MIT License |
sykepenger-etterlevelse/src/main/kotlin/no/nav/helse/etterlevelse/SubsumsjonVisitor.kt | navikt | 193,907,367 | false | null | package no.nav.helse.etterlevelse
import no.nav.helse.hendelser.Periode
import java.time.LocalDate
interface SubsumsjonVisitor {
fun preVisitSubsumsjon(
utfall: Subsumsjon.Utfall,
lovverk: String,
versjon: LocalDate,
paragraf: Paragraf,
ledd: Ledd?,
punktum: Punktum... | 2 | Kotlin | 6 | 5 | 2f940cad2bc6a756033a4e19edc5236a0648c971 | 940 | helse-spleis | MIT License |
food-delivery-app/app/src/main/java/com/bkarakoca/fooddeliveryapp/scene/restaurant/detail/FRRestaurantDetailVM.kt | kkocaburak | 509,401,156 | false | {"Kotlin": 130651} | package com.bkarakoca.fooddeliveryapp.scene.restaurant.detail
import androidx.lifecycle.MutableLiveData
import com.bkarakoca.fooddeliveryapp.base.BaseViewModel
import com.bkarakoca.fooddeliveryapp.data.uimodel.restaurant.listitem.RestaurantUIModel
import dagger.hilt.android.lifecycle.HiltViewModel
import javax.inject.... | 0 | Kotlin | 0 | 3 | 764b032bfcbd8fb2e2b1aa68f089eeb95fb0184a | 597 | android-food-delivery-example | Apache License 2.0 |
backpack-compose/src/main/kotlin/net/skyscanner/backpack/compose/flare/internal/BpkFlareImpl.kt | Skyscanner | 117,813,847 | false | null | /**
* Backpack for Android - Skyscanner's Design System
*
* Copyright 2018 Skyscanner Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE... | 8 | Kotlin | 31 | 94 | 9b5448b446c7bc46560e430595829e5f4f090e6b | 1,874 | backpack-android | Apache License 2.0 |
app/src/main/java/com/hamburger/kotlinqiitareader/ui/item/ItemViewModel.kt | ham-burger | 200,448,368 | false | null | package com.hamburger.kotlinqiitareader.ui.item
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.ViewModelProvider
import com.hamburger.kotlinqiitareader.extension.observeOnMainThread
import com.hamburger.kotlinqiitareader.extension.subscribeOnIOThread
import com.... | 1 | Kotlin | 1 | 1 | 0f564ff8adb4f42db2b3f2f0f173887ddc17cba1 | 1,477 | KotlinQiitaReader | Apache License 2.0 |
app/src/main/java/eu/darken/androidstarter/common/lists/modular/mods/ClickMod.kt | d4rken | 367,445,682 | false | null | package eu.darken.androidstarter.common.lists.modular.mods
import eu.darken.androidstarter.common.lists.modular.ModularAdapter
class ClickMod<VHT : ModularAdapter.VH> constructor(
private val listener: (VHT, Int) -> Unit
) : ModularAdapter.Module.Binder<VHT> {
override fun onBindModularVH(adapter: ModularAda... | 0 | Kotlin | 2 | 8 | 0e704d561d39ca3b3ea755da2d05815dfa4ee196 | 455 | android-starter-v4 | Apache License 2.0 |
src/main/kotlin/core/UnderlingError.kt | darthmachina | 637,608,931 | false | null | package core
import arrow.core.None
import arrow.core.Option
sealed class UnderlingError(
open val message: String,
open val throwable: Option<Throwable> = None
)
data class DateParsError(override val message: String, override val throwable: Option<Throwable> = None) : UnderlingError(message, throwable)
data ... | 0 | null | 0 | 1 | fe584feb9f40ff6353c55b7311b5fddfe65fbce0 | 464 | underling-obsidian | MIT License |
src/main/kotlin/uk/gov/justice/digital/hmpps/hmppsidentifyremandperiodsapi/calculatereleasedatesapi/model/RelevantRemandReleaseDateCalculationRequest.kt | ministryofjustice | 642,301,009 | false | {"Kotlin": 182357, "Dockerfile": 1376} | package uk.gov.justice.digital.hmpps.hmppsidentifyremandperiodsapi.calculatereleasedatesapi.model
import uk.gov.justice.digital.hmpps.hmppsidentifyremandperiodsapi.relevantremand.model.Sentence
import java.time.LocalDate
data class RelevantRemandReleaseDateCalculationRequest(
val relevantRemands: List<RelevantReman... | 3 | Kotlin | 0 | 1 | bbebc2f554d6c06fe019c2081870c551e94f4ea8 | 382 | hmpps-identify-remand-periods-api | MIT License |
Entrega/app/src/main/java/com/jjmorillo/ladespensademicasa/ui/fragmenNavigationDrawer/PescadosFragment.kt | jjmorleo | 356,499,729 | false | null | package com.jjmorillo.ladespensademicasa.ui.fragmenNavigationDrawer
import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.core.os.bundleOf
import androidx.fragment.app.activityViewModels
import androidx.f... | 0 | Kotlin | 0 | 0 | 1f555d30c298501215655317578de2c8cc3ea465 | 3,083 | la-despensa-de-mi-casa | MIT License |
app/src/main/java/net/rubey/materialswipedismiss/DemoActivity.kt | markusrubey | 146,635,933 | false | null | package net.rubey.materialswipedismiss
import android.os.Bundle
import android.support.v4.content.ContextCompat
import android.support.v7.app.AppCompatActivity
import android.support.v7.widget.helper.ItemTouchHelper
import android.support.v7.widget.helper.ItemTouchHelper.END
import android.support.v7.widget.helper.Ite... | 0 | Kotlin | 0 | 0 | 7740493b4aef319ea2a101e30e23dd89ad511177 | 1,869 | MaterialSwipeDismiss | Apache License 2.0 |
cpg-core/src/main/kotlin/de/fraunhofer/aisec/cpg/helpers/neo4j/LocationConverter.kt | Fraunhofer-AISEC | 225,386,107 | false | {"Kotlin": 3152711, "LLVM": 170593, "C++": 42625, "Go": 35624, "C": 31808, "Java": 28991, "TypeScript": 4908, "Shell": 2939, "Python": 2787, "JavaScript": 751, "Ruby": 201} | /*
* Copyright (c) 2019, Fraunhofer AISEC. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless require... | 74 | Kotlin | 58 | 217 | ded24ab341cdf17c8dc9b385d6faa3fa529b706d | 3,060 | cpg | Apache License 2.0 |
app/src/main/java/com/personal/tmdb/detail/presentation/detail/components/Details.kt | Avvami | 755,489,313 | false | null | package com.personal.tmdb.detail.presentation.detail.components
import android.net.Uri
import androidx.compose.animation.AnimatedVisibility
import androidx.compose.animation.animateContentSize
import androidx.compose.foundation.Image
import androidx.compose.foundation.background
import androidx.compose.foundation.clic... | 0 | null | 0 | 2 | d5b4d2ee9eb9616ab0e217f8d6fff45723bf5e58 | 29,223 | TMDB | MIT License |
src/main/kotlin/net/papierkorb2292/command_crafter/editor/MinecraftServerConnection.kt | Papierkorb2292 | 584,879,864 | false | {"Kotlin": 106935, "Java": 59908, "TypeScript": 3609, "JavaScript": 1615} | package net.papierkorb2292.command_crafter.editor
import com.mojang.brigadier.CommandDispatcher
import net.minecraft.server.command.ServerCommandSource
interface MinecraftServerConnection {
val commandDispatcher: CommandDispatcher<ServerCommandSource>
val functionPermissionLevel: Int
} | 0 | Kotlin | 0 | 4 | 397e9b82b1a79209a3d2fe070c5b49979e715019 | 296 | CommandCrafter | MIT License |
NBEffects/src/main/java/cn/wufuqi/nbeffects/bean/Vec3.kt | wufuqi123 | 572,812,247 | false | {"Kotlin": 55427, "GLSL": 19095, "Java": 6490} | package cn.wufuqi.nbeffects.bean
data class Vec3(var r: Float, var g: Float, var b: Float): UniformInterface() {
override fun toArray(): FloatArray {
return floatArrayOf(r, g, b)
}
}
| 0 | Kotlin | 0 | 7 | fbd2d7b4312891e15b41d98fb96c1374ccd9324b | 200 | NBEffects | Apache License 2.0 |
SKIE/compiler/kotlin-plugin/src/kgp_common/kotlin/co/touchlab/skie/sir/element/SirClass.kt | touchlab | 685,579,240 | false | {"Kotlin": 1061981, "Swift": 24501, "Shell": 183} | package co.touchlab.skie.sir.element
import co.touchlab.skie.sir.SirFqName
import co.touchlab.skie.sir.element.util.sirDeclarationParent
import co.touchlab.skie.sir.type.DeclaredSirType
class SirClass(
override var simpleName: String,
parent: SirDeclarationParent,
var kind: Kind = Kind.Class,
override... | 8 | Kotlin | 4 | 409 | 73e41b4240fabfa05cddfcd30a08adb213c74064 | 3,858 | SKIE | Apache License 2.0 |
src/main/kotlin/no/nav/familie/ef/søknad/ettersending/EttersendingService.kt | navikt | 204,012,464 | false | {"Kotlin": 384792, "Dockerfile": 215} | package no.nav.familie.ef.søknad.ettersending
import no.nav.familie.ef.søknad.ettersending.mapper.EttersendingMapper
import no.nav.familie.ef.søknad.søknad.SøknadClient
import no.nav.familie.ef.søknad.søknad.domain.Kvittering
import no.nav.familie.ef.søknad.søknad.mapper.KvitteringMapper
import no.nav.familie.kontrakt... | 1 | Kotlin | 1 | 1 | 733b7d42cdb5e7fce29e8dc8e3cedfc07beedbc8 | 1,144 | familie-ef-soknad-api | MIT License |
libs/pandautils/src/main/java/com/instructure/pandautils/room/model/PendingSubmissionCommentWithFileUploadInput.kt | instructure | 179,290,947 | false | null | package com.instructure.pandautils.room.model
import androidx.room.Embedded
import androidx.room.Relation
import com.instructure.canvasapi2.models.postmodels.CommentSendStatus
import com.instructure.canvasapi2.models.postmodels.FileUploadWorkerData
import com.instructure.canvasapi2.models.postmodels.PendingSubmissionC... | 7 | null | 85 | 99 | 1bac9958504306c03960bdce7fbb87cc63bc6845 | 1,801 | canvas-android | Apache License 2.0 |
app/src/main/java/org/stepic/droid/ui/quiz/QuizDelegate.kt | StepicOrg | 42,045,161 | false | {"Kotlin": 4281147, "Java": 1001895, "CSS": 5482, "Shell": 618} | package org.stepic.droid.ui.quiz
import android.view.View
import android.view.ViewGroup
import android.widget.Button
import org.stepik.android.model.Reply
import org.stepik.android.model.Submission
import org.stepik.android.model.attempts.Attempt
abstract class QuizDelegate {
abstract var isEnabled: Boolean
a... | 13 | Kotlin | 54 | 189 | dd12cb96811a6fc2a7addcd969381570e335aca7 | 701 | stepik-android | Apache License 2.0 |
examples/getting-started/shared/src/mingwX64Main/kotlin/dev/kotbase/gettingstarted/shared/Platform.mingwX64.kt | jeffdgr8 | 518,984,559 | false | {"Kotlin": 2266831, "Python": 294} | package dev.kotbase.gettingstarted.shared
actual class Platform actual constructor() {
actual val platform: String = "Windows"
}
| 0 | Kotlin | 0 | 7 | ec8fbeb0d3e6c487ec8fb48ba2ba5388c71a29b1 | 134 | kotbase | Apache License 2.0 |
app/src/main/java/com/kevalpatel2106/ci/greenbuild/di/ViewModelFactoryModule.kt | kevalpatel2106 | 129,620,378 | false | null | /*
* Copyright 2018 <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 writing, s... | 6 | Kotlin | 14 | 75 | da9f2e64cd09848528f313d0e3188b7c40f4b3f7 | 4,372 | green-build | Apache License 2.0 |
pretixscan/app/src/main/java/eu/pretix/pretixscan/droid/AndroidHttpClientFactory.kt | pretix | 173,713,911 | false | {"Kotlin": 221714, "Java": 23039, "HTML": 1961, "Shell": 716} | package eu.pretix.pretixscan.droid
import android.os.Build
import eu.pretix.libpretixsync.api.HttpClientFactory
import eu.pretix.libpretixsync.api.RateLimitInterceptor
import okhttp3.OkHttpClient
import java.security.cert.X509Certificate
import java.util.concurrent.TimeUnit
import javax.net.ssl.HostnameVerifier
import... | 15 | Kotlin | 18 | 23 | 5b0d6108dfacb9635447b1943229b290e5150efd | 2,725 | pretixscan-android | Apache License 2.0 |
umaserverdemo/src/main/kotlin/com/lightspark/plugins/Routing.kt | lightsparkdev | 590,703,408 | false | null | package com.lightspark.plugins
import com.lightspark.UmaConfig
import com.lightspark.Vasp2
import com.lightspark.sdk.uma.InMemoryPublicKeyCache
import com.lightspark.sdk.uma.UmaProtocolHelper
import io.ktor.server.application.Application
import io.ktor.server.application.ApplicationCall
import io.ktor.server.applicati... | 0 | Kotlin | 0 | 2 | b7b7a1133f69ad58522f01af71ce807d89adfc8e | 1,733 | kotlin-sdk | Apache License 2.0 |
buildSrc/subprojects/packaging/src/main/kotlin/org/gradle/gradlebuild/packaging/ShadedJarPlugin.kt | Verdinjoshua26 | 187,253,049 | false | null | /*
* Copyright 2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 10 | null | 1 | 2 | cfeeb71d1e3159f5d10856aef854344ba92c4a0f | 6,948 | gradle | Apache License 2.0 |
pluto-plugins/plugins/exceptions/lib/src/main/java/com/pluto/plugins/exceptions/internal/ui/ListFragment.kt | androidPluto | 390,471,457 | false | {"Kotlin": 744352, "Shell": 646} | package com.pluto.plugins.exceptions.internal.ui
import android.os.Bundle
import android.view.View
import android.view.View.GONE
import android.view.View.VISIBLE
import androidx.core.widget.doOnTextChanged
import androidx.fragment.app.Fragment
import androidx.fragment.app.activityViewModels
import androidx.lifecycle.O... | 23 | Kotlin | 64 | 657 | 5562cb7065bcbcf18493820e287d87c7726f630b | 4,622 | pluto | Apache License 2.0 |
compiler/ir/ir.tree/gen/org/jetbrains/kotlin/ir/expressions/impl/IrCatchImpl.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.
*/
// This file was generated automatically. See compiler/ir/ir.tree/tree-generator/ReadMe.md.
// DO NOT MODIFY I... | 183 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 952 | kotlin | Apache License 2.0 |
app/src/main/java/com/kieronquinn/app/taptap/ui/screens/settings/backuprestore/restore/permissionprompt/SettingsRestoreNotificationPermissionBottomSheetFragment.kt | KieronQuinn | 283,883,226 | false | null | package com.kieronquinn.app.taptap.ui.screens.settings.backuprestore.restore.permissionprompt
import android.app.NotificationManager
import android.content.Context
import android.content.Intent
import android.os.Bundle
import android.provider.Settings
import androidx.activity.result.contract.ActivityResultContracts
im... | 52 | null | 2 | 2,251 | abec5a3e139786beeea75e2fb5677013d0719bf1 | 3,741 | TapTap | Apache License 2.0 |
live-video-sample/app/src/main/java/com/sendbird/live/videoliveeventsample/adapter/LiveEventListAdapter.kt | sendbird | 542,961,997 | false | {"Kotlin": 271278} | package com.sendbird.live.uikit.sample.adapter
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.recyclerview.widget.DiffUtil
import androidx.recyclerview.widget.RecyclerView
import coil.load
import com.sendbird.live.LiveEvent
import com.sendbird.live.LiveEventSt... | 1 | Kotlin | 1 | 1 | 24aaad8749f827ce4900f06838534335aa2ffb6a | 8,507 | sendbird-live-sample-android | MIT License |
app/composeapp/src/main/java/com/example/srmc/composeapp/ui/screens/form/DoctorSchedScreen.kt | ajcatindig | 699,722,916 | false | {"Kotlin": 334416} | package com.example.srmc.composeapp.ui.screens.form
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.fillMaxSize
import androidx.co... | 0 | Kotlin | 0 | 0 | eb43372e611366e925c7fae2509efa741d2bdf71 | 11,066 | SRMC | MIT License |
browser-kotlin/src/jsMain/kotlin/web/crypto/AesKeyAlgorithm.kt | karakum-team | 393,199,102 | false | {"Kotlin": 6630901} | // Automatically generated - do not modify!
package web.crypto
sealed external interface AesKeyAlgorithm :
KeyAlgorithm {
var length: Short
}
| 0 | Kotlin | 6 | 28 | 664781d7bdaf5f4aca206e11990b1d304fd45212 | 152 | types-kotlin | Apache License 2.0 |
src/main/kotlin/nl/utwente/student/metrics/ResponseForAClass.kt | MarnickvdA | 571,956,335 | false | null | package nl.utwente.student.metrics
import nl.utwente.student.metamodel.v3.Module
import nl.utwente.student.metamodel.v3.Unit
import nl.utwente.student.metamodel.v3.UnitCall
import nl.utwente.student.visitors.ModuleVisitor
import nl.utwente.student.visitors.SourceElementFinder.findAllByExpressionType
class ResponseFor... | 0 | Kotlin | 0 | 0 | 9fcc44d65eedec25c12c52c6303935719e16bc49 | 1,234 | LAMP-Framework | MIT License |
src/main/kotlin/model/RequestResult.kt | Jakub9 | 834,452,863 | false | {"Kotlin": 38612} | package de.reeii.checkthesite.model
import de.reeii.checkthesite.checker.SiteChecker
enum class RequestResult {
/**
* Request was successful and the website got checked positively according to the [SiteChecker] implementation
*/
POSITIVE,
/**
* Request was successful, but the website got c... | 0 | Kotlin | 0 | 0 | 8c6abd1a1640ac557404e630cce99108b4b55ff1 | 537 | CheckTheSite | MIT License |
demo/src/main/kotlin/dev/skye/daisy/MeterRegistryCounters.kt | lopcode | 342,974,433 | false | {"Kotlin": 54970, "Shell": 534} | package dev.skye.daisy
import io.micrometer.core.instrument.Counter
import io.micrometer.core.instrument.MeterRegistry
import io.micrometer.core.instrument.Tag
internal fun MeterRegistry.makeGeneratedCounter(queue: String): Counter {
return this.counter(
"messages.generated",
listOf(
T... | 0 | Kotlin | 0 | 7 | 8c2d2cf20709a05ec28c7efa17ac49778a38e0c2 | 360 | Daisy | Apache License 2.0 |
src/commonMain/kotlin/app/thelema/gltf/GLTFBuffer.kt | zeganstyl | 275,550,896 | false | null | /*
* Copyright 2020-2021 <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 ... | 3 | Kotlin | 5 | 61 | 8e2943b6d2de3376ce338025b58ff31c14097caf | 2,576 | thelema-engine | Apache License 2.0 |
app/src/main/java/com/dropbox/android/sample/Graph.kt | yigit | 194,454,615 | false | null | package com.dropbox.android.sample
import android.content.Context
import android.text.Html
import androidx.room.Room
import com.dropbox.android.sample.data.model.Children
import com.dropbox.android.sample.data.model.Post
import com.dropbox.android.sample.data.model.RedditDb
import com.dropbox.android.sample.data.remot... | 38 | null | 167 | 6 | 929b4c40a48251ee07372b4ae75cfc3e17c00540 | 5,900 | Core | Apache License 2.0 |
src/main/kotlin/org/agoranomic/assessor/decisions/8266-8274.kt | AgoraNomic | 98,589,628 | false | null | package org.agoranomic.assessor.decisions
import org.agoranomic.assessor.dsl.assessment
import org.agoranomic.assessor.dsl.receivers.ai
import org.agoranomic.assessor.dsl.receivers.coauthors
import org.agoranomic.assessor.dsl.receivers.quorum
import org.agoranomic.assessor.dsl.receivers.url
import org.agoranomic.asses... | 1 | null | 1 | 1 | 4599bda37a691ab971e170c07f1efa214105498a | 11,737 | assessor | MIT License |
app/src/main/java/com/example/cocktailsapp/shared/business/DrinkList.kt | MertYazi | 693,573,760 | false | {"Kotlin": 217483} | package com.example.cocktailsapp.shared.business
data class DrinkList(
val drinks: ArrayList<DrinkItem>
) | 0 | Kotlin | 0 | 1 | d6b6dd5cb03bb8a6ecfada312b5cefe03e82ae4c | 110 | CocktailsApp | Apache License 2.0 |
app/src/main/java/com/example/cocktailsapp/shared/business/DrinkList.kt | MertYazi | 693,573,760 | false | {"Kotlin": 217483} | package com.example.cocktailsapp.shared.business
data class DrinkList(
val drinks: ArrayList<DrinkItem>
) | 0 | Kotlin | 0 | 1 | d6b6dd5cb03bb8a6ecfada312b5cefe03e82ae4c | 110 | CocktailsApp | Apache License 2.0 |
sdk/src/main/java/io/matchmore/sdk/api/models/Subscriptions.kt | matchmore | 113,169,361 | false | {"Kotlin": 286033, "Java": 12753, "Shell": 510} | /*
* MATCHMORE ALPS Core REST API
* ## ALPS by [MATCHMORE](https://dev.matchmore.io) The first version of the MATCHMORE API is an exciting step to allow developers use a context-aware pub/sub cloud service. A lot of mobile applications and their use cases may be modeled using this approach and can therefore profit ... | 2 | Kotlin | 1 | 2 | 0dfd5ba1953cf04e425d410954b05464b809be39 | 15,659 | android-sdk | MIT License |
app/src/main/java/com/mayokunadeniyi/instantweather/data/model/Wind.kt | mayokunadeniyi | 236,161,392 | false | null | package com.mayokunadeniyi.instantweather.data.model
import android.os.Parcelable
import kotlinx.android.parcel.Parcelize
/**
* Created by <NAME> on 16/03/2020.
*/
@Parcelize
data class Wind(
val speed: Double,
val deg: Int
) : Parcelable
| 9 | null | 163 | 763 | 52cc36b3bd17faf121fa72e1dd3e68eb6f58795d | 252 | Instant-Weather | MIT License |
idea/testData/formatter/callChain/CallChainWrapping2.kt | Ndex471 | 236,524,761 | true | {"Kotlin": 43583583, "Java": 7648290, "JavaScript": 197545, "HTML": 75661, "Lex": 23805, "TypeScript": 21613, "Groovy": 11205, "CSS": 9144, "Shell": 7220, "Batchfile": 5362, "Swift": 2272, "Ruby": 1300, "Objective-C": 404, "Scala": 80} | fun test() {
INSTANCE.awswswswswswswswwawswswswswswswswwawswswswswswswswwawswswswswswswswwawswswswswswswswwawswswswswswswswwawswswswswswswswwawswswswswswswsww.awswswswswswswswwawswswswswswswswwawswswswswswswswwawswswswswswswswwawswswswswswswswwawswswswswswswswwawswswswswswswswwawswswswswswswsww.adad.adad
INSTA... | 0 | null | 0 | 1 | f7626d6474bff5fceba8506c37480e8918bd11cf | 6,652 | kotlin | Apache License 2.0 |
plugin/src/main/kotlin/com/github/grishberg/profiler/ui/PluginThemeController.kt | Grigory-Rylov | 256,819,360 | false | null | package com.github.grishberg.profiler.ui
import com.github.grishberg.profiler.chart.theme.DarkPalette
import com.github.grishberg.profiler.chart.theme.LightPalette
import com.github.grishberg.profiler.ui.theme.Palette
import com.github.grishberg.profiler.ui.theme.ThemeController
import com.intellij.util.ui.UIUtil
impo... | 38 | null | 3 | 97 | e0ba609640cea72c301ff1537dc9cdd9b67bfe4c | 755 | android-methods-profiler | Apache License 2.0 |
Kotlin/src/GeneratorAlgorithm.kt | pedrolemoz | 214,701,654 | false | {"Python": 6033, "Kotlin": 1313, "Swift": 1308, "Java": 1288, "C": 1205, "JavaScript": 998} | fun main() {
var generator = GeneratorAlgorithm()
for (i in 0..100){
println(generator.generateCPF())
}
}
class GeneratorAlgorithm() {
fun generateCPF() : String {
var buildCPF = ArrayList<Int>()
for (i in 0..8) {
buildCPF.add((0..9).random())
}... | 0 | Python | 0 | 6 | 0a1641dda6808a702763ec21c340fbf66709800e | 1,313 | CPFGen | Apache License 2.0 |
src/main/kotlin/DamerauLevensthein.kt | javacook | 111,961,341 | false | null | package de.kotlincook.textmining
import java.lang.Math.max
import java.util.HashMap
/**
* The Damerau-Levenshtein Algorithm is an extension to the Levenshtein
* Algorithm which solves the edit distance problem between a source string and
* a target string with the following operations:
*
* Character Insertion
*... | 0 | Kotlin | 0 | 0 | 79fd08394b50016f8174f922abbea8c3cb506e49 | 4,871 | dameraulevenshtein | Apache License 2.0 |
rendering/testSrc/com/android/tools/rendering/classloading/loaders/DelegatingClassLoaderTest.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 | 227 | 948 | 10110983c7e784122d94c7467e9d243aba943bf4 | 2,153 | android | Apache License 2.0 |
lib/src/integrationTest/kotlin/com/lemonappdev/konsist/core/declaration/kokdoc/forkokdoctags/KoKDocDeclarationForTagTest.kt | LemonAppDev | 621,181,534 | false | null | package com.lemonappdev.konsist.core.declaration.kokdocdeclaration.kokdoctagsprovider
import com.lemonappdev.konsist.TestSnippetProvider.getSnippetKoScope
import com.lemonappdev.konsist.api.provider.KoKDocProvider
import com.lemonappdev.konsist.api.provider.KoNameProvider
import org.amshove.kluent.shouldBeEqualTo
impo... | 7 | Kotlin | 1 | 71 | c3cf91622bab1938fecbc96c119cbbb70e372451 | 2,533 | konsist | Apache License 2.0 |
libs/canvas-api-2/src/main/java/com/instructure/canvasapi2/managers/NotificationPreferencesManager.kt | instructure | 179,290,947 | false | null | /*
* Copyright (C) 2017 - present Instructure, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requ... | 4 | null | 71 | 81 | ee27bb79afb1ae70e6221cd59882f6165f64cf55 | 2,641 | canvas-android | Apache License 2.0 |
feature-crowdloan-api/src/main/java/io/novafoundation/nova/feature_crowdloan_api/data/network/blockhain/binding/TrieIndex.kt | novasamatech | 415,834,480 | false | {"Kotlin": 7662708, "Java": 14723, "JavaScript": 425} | package io.novafoundation.nova.feature_crowdloan_api.data.network.blockhain.binding
import io.novafoundation.nova.common.data.network.runtime.binding.HelperBinding
import io.novafoundation.nova.common.data.network.runtime.binding.bindNumber
import java.math.BigInteger
typealias TrieIndex = BigInteger
@HelperBinding
... | 13 | Kotlin | 5 | 9 | 66a5c0949aee03a5ebe870a1b0d5fa3ae929516f | 391 | nova-wallet-android | Apache License 2.0 |
app/src/main/java/org/simple/clinic/recentpatient/AllRecentPatientsEffect.kt | simpledotorg | 132,515,649 | false | null | package org.simple.clinic.recentpatient
import androidx.paging.PagingData
import org.simple.clinic.patient.RecentPatient
import java.util.UUID
sealed class AllRecentPatientsEffect
object LoadAllRecentPatients : AllRecentPatientsEffect()
sealed class AllRecentPatientsViewEffect : AllRecentPatientsEffect()
data clas... | 7 | null | 74 | 236 | ff699800fbe1bea2ed0492df484777e583c53714 | 506 | simple-android | MIT License |
Tutorial1-1Basics/src/main/java/com/smarttoolfactory/tutorial1_1basics/tutorial_list/TutorialList.kt | SmartToolFactory | 326,400,374 | false | null | package com.smarttoolfactory.tutorial1_1basics.tutorial_list
import Tutorial2_10Screen3
import Tutorial2_5Screen5
import Tutorial2_5Screen6
import androidx.compose.animation.ExperimentalAnimationApi
import androidx.compose.foundation.ExperimentalFoundationApi
import androidx.compose.material.ExperimentalMaterialApi
im... | 4 | null | 312 | 3,006 | efea98b63e63a85b80f7dc1bd4ca6d769e35905d | 98,651 | Jetpack-Compose-Tutorials | Apache License 2.0 |
app/src/main/kotlin/co/anitrend/retrofit/graphql/data/arch/database/extensions/DatabaseExtensions.kt | AniTrend | 128,179,094 | false | {"Kotlin": 295008, "Shell": 235} | package co.anitrend.retrofit.graphql.data.arch.database.extensions
import co.anitrend.arch.extension.ext.empty
import co.anitrend.retrofit.graphql.data.arch.database.ISampleStore
import org.koin.core.scope.Scope
internal fun List<*>.toCommaSeparatedValues(): String {
return if (isNotEmpty()) {
joinToStrin... | 4 | Kotlin | 19 | 109 | e0d1a9df279df6d560220f90f353b388d7fc9eea | 836 | retrofit-graphql | Apache License 2.0 |
app/src/main/java/com/armutyus/ninova/ui/books/adapters/BooksRecyclerViewAdapter.kt | armutyus | 494,403,387 | false | {"Kotlin": 258357} | package com.armutyus.ninova.ui.books.adapters
import android.content.Intent
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.ImageView
import android.widget.TextView
import androidx.core.net.toUri
import androidx.recyclerview.widget.AsyncListDiffer
import ... | 4 | Kotlin | 4 | 9 | d1482f60dc309b1aff82bb725e901ecb4ef58122 | 3,419 | ninova | MIT License |
mvicore-demo/mvicore-demo-app/src/main/java/com/badoo/mvicoredemo/di/appscope/module/AndroidModule.kt | emreakcan | 287,947,555 | true | {"Kotlin": 172910, "Java": 1704, "Shell": 279} | package com.badoo.mvicoredemo.di.appscope.module
import android.content.Context
import android.content.SharedPreferences
import android.content.res.Resources
import com.badoo.mvicoredemo.App
import dagger.Module
import dagger.Provides
@Module
class AndroidModule(context: Context) {
private val context: Context ... | 0 | Kotlin | 0 | 2 | b381a0c3684afca743a39808fbc8a2e37a722375 | 769 | MVICore | Apache License 2.0 |
libraries/designsystem/src/main/kotlin/io/element/android/libraries/designsystem/components/list/SingleSelectionListItem.kt | element-hq | 546,522,002 | false | null | /*
* Copyright (c) 2023 New Vector Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | 263 | null | 129 | 955 | 31d0621fa15fe153bfd36104e560c9703eabe917 | 6,514 | element-x-android | Apache License 2.0 |
app/src/main/java/com/santansarah/barcodescanner/ui/account/verified/VerifiedScreen.kt | santansarah | 621,930,119 | false | null | package com.santansarah.barcodescanner.ui.account.verified
import androidx.compose.foundation.Image
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.... | 0 | Kotlin | 0 | 3 | d044d5cd5fcfa1e96cebdec1ac546056cafece13 | 5,671 | barcode-scanner | MIT License |
site/src/commonMain/kotlin/pt/rvcoding/personalwebsitecomposehtml/models/content/History.kt | revs87 | 745,878,560 | false | {"Kotlin": 112933, "Dockerfile": 2766, "CSS": 193} | package pt.rvcoding.personalwebsitecomposehtml.models.content
import kotlinx.serialization.Serializable
import pt.rvcoding.personalwebsitecomposehtml.models.PersonalContent
@Serializable
data class History(
val title: String,
val subTitle: String,
val period: String,
val description: List<PersonalCon... | 0 | Kotlin | 0 | 0 | 4de8183fa1cbe82f1b356e283bd3196bc130e6a2 | 329 | personalwebsite-composehtml | MIT License |
px-checkout/src/main/java/com/mercadopago/android/px/internal/repository/DiscountRepository.kt | DevZamSe | 345,492,088 | false | {"Java Properties": 1, "Markdown": 7, "Gradle": 17, "Shell": 1, "YAML": 2, "Batchfile": 1, "Text": 1, "Ignore List": 8, "Proguard": 6, "XML": 205, "Kotlin": 356, "Java": 599, "INI": 2, "JSON": 39, "HTML": 309, "JavaScript": 14, "CSS": 6, "SVG": 2, "Python": 2} | package com.mercadopago.android.px.internal.repository
import com.mercadopago.android.px.model.DiscountConfigurationModel
internal interface DiscountRepository : LocalRepository<Map<String, DiscountConfigurationModel>> {
/**
* Obtains the discount configuration that applies in a particular moment of the flo... | 1 | null | 1 | 1 | a9cab26d5235cfc23bd5f12dd7409fd6158f9194 | 1,143 | px-android | MIT License |
compose/src/main/java/androidx/compose/material/samples/TextFieldSamples.kt | Gurupreet | 293,232,977 | false | null | /*
* Copyright 2020 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 2 | null | 1 | 6 | 1c2fa962d0ebda96326ab69d4af15671989c9583 | 5,439 | Jetpack-Compose-Playground | MIT License |
packages/expo-speech/android/src/main/java/expo/modules/speech/SpeechInputIsToLongException.kt | expo | 65,750,241 | false | {"Gemfile.lock": 1, "YAML": 79, "Git Config": 1, "JSON with Comments": 175, "Ignore List": 236, "JSON": 713, "Markdown": 291, "JavaScript": 1979, "Text": 62, "Git Attributes": 7, "Shell": 66, "Ruby": 99, "TSX": 976, "Gradle": 106, "Java Properties": 5, "Batchfile": 4, "INI": 8, "Proguard": 10, "XML": 273, "Kotlin": 121... | package expo.modules.speech
import android.speech.tts.TextToSpeech
import expo.modules.kotlin.exception.CodedException
class SpeechInputIsToLongException : CodedException(
message = "Speech input text is too long! Limit of input length is: ${TextToSpeech.getMaxSpeechInputLength()}"
)
| 668 | TypeScript | 5226 | 32,824 | e62f80228dece98d5afaa4f5c5e4fb195f3daa15 | 289 | expo | Apache License 2.0 |
src/main/kotlin/com/staboss/crypto/cipher/aes/TablesAES.kt | staboss | 263,959,642 | false | {"Gradle": 2, "Markdown": 2, "INI": 2, "Shell": 1, "Ignore List": 1, "Batchfile": 1, "Java": 1, "Kotlin": 8, "Text": 3} | package com.staboss.crypto.cipher.aes
const val MAX_BLOCK_COLUMNS = 8
const val MAX_KEY_COLUMNS = 8
const val MAX_ROUNDS = 14
/**
* Таблицы Logtable и Alogtable используются для выполнения операции умножения в поле GF(256)
*/
val LOGTABLE = intArrayOf(
0, 0, 25, 1, 50, 2, 26, 198, 75, 199, 27, 104, 51, 238,... | 0 | Kotlin | 0 | 0 | c3cc5847ae5fa53db337bf45c0a99fd44a797c86 | 6,161 | crypto-symmetric | MIT License |
compiler/ir/ir.tree/src/org/jetbrains/kotlin/ir/builders/IrGenerator.kt | JakeWharton | 99,388,807 | false | null | /*
* Copyright 2010-2017 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | 181 | null | 5748 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 1,119 | kotlin | Apache License 2.0 |
filesystem/src/commonMain/kotlin/op/readwrite/ReadFd.kt | illarionov | 848,247,126 | false | {"Kotlin": 991649} | /*
* Copyright 2024, the wasi-emscripten-host project authors and contributors. Please see the AUTHORS file
* for details. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
* SPDX-License-Identifier: Apache-2.0
*/
package at.released.weh.filesystem.op.readwrite
i... | 0 | Kotlin | 0 | 2 | eac1f7473d21ca17c16e4b1b01185c9e4c7c81a5 | 784 | wasi-emscripten-host | Apache License 2.0 |
app/src/main/java/com/github/ephelsa/mycareer/ui/dialog/LoaderDialog.kt | ephelsa | 312,443,837 | false | null | package com.github.ephelsa.mycareer.ui.dialog
import android.annotation.SuppressLint
import android.app.Dialog
import android.graphics.Color
import android.graphics.drawable.ColorDrawable
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.... | 5 | Kotlin | 0 | 2 | d68ee1b43b6df9e95aa58db72e2999f2207fb94d | 1,589 | my-career | MIT License |
app/src/main/java/com/tanasi/sflix/fragments/movie/MovieViewModel.kt | stantanasi | 511,319,545 | false | null | package com.tanasi.sflix.fragments.movie
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.tanasi.sflix.models.Movie
import com.tanasi.sflix.utils.UserPreferences
import kotlinx.coroutines.Dispatchers
imp... | 9 | null | 8 | 56 | 53029752567ee26bc252452d6550b3dc867f90e4 | 1,102 | sflix | Apache License 2.0 |
src/main/kotlin/au/kilemon/messagequeue/queue/exception/DuplicateMessageException.kt | Kilemonn | 521,916,115 | false | null | package au.kilemon.messagequeue.queue.exception
/**
* A specific exception used to indicate that an exist `QueueMessage` with the same `UUID` already exists and the new `QueueMessage` can not be added to the queue.
*
* @author github.com/KyleGonzalez
*/
class DuplicateMessageException(uuid: String, queueType: Stri... | 0 | null | 0 | 5 | 010fad7d516c9cfa7288e27aa966edc4f128c1b1 | 415 | MessageQueue | Apache License 2.0 |
alkemy/src/test/kotlin/io/alkemy/examples/CustomConfigPooled.kt | cosmin-marginean | 630,394,204 | false | null | package io.alkemy.examples
import io.alkemy.AlkemyContext
import io.alkemy.config.AlkemyConfig
import io.alkemy.config.Browser
import io.alkemy.use
import io.kotest.core.spec.style.StringSpec
class CustomConfig : StringSpec({
"run with custom config" {
val config = AlkemyConfig.fromSystemProperties()
... | 3 | null | 1 | 14 | 2936f6b76158ff5402a2b8cc6b11d7874843e425 | 944 | alkemy | Apache License 2.0 |
ideaplugin/src/main/kotlin/de/jensklingenberg/htmltocfw/ideaplugin/theme/Theme.kt | Foso | 440,659,239 | false | null | package io.github.appspirimentlabs.vectorpreview.theme
import androidx.compose.material.MaterialTheme
import androidx.compose.material.darkColors
import androidx.compose.material.lightColors
import androidx.compose.runtime.Composable
import androidx.compose.ui.graphics.Color
import com.intellij.openapi.editor.colors.E... | 668 | null | 645 | 94 | 86b4dfe1b8d0253d2cf67777edf71ae6a4f0a6a6 | 1,931 | HtmlToComposeWebConverter | Apache License 2.0 |
bugsnag-android-performance/src/main/kotlin/com/bugsnag/android/performance/internal/Encodings.kt | bugsnag | 539,491,063 | false | {"Kotlin": 501559, "Gherkin": 41179, "Ruby": 7538, "Shell": 2095, "Java": 1362, "Makefile": 617} | @file:JvmName("EncodingUtils")
package com.bugsnag.android.performance.internal
import java.util.UUID
private const val UUID_ID_STRING_LENGTH = 32
private const val LONG_ID_STRING_LENGTH = 16
public fun StringBuilder.appendHexPair(b: Int): StringBuilder {
if (b < 16) append('0')
return append(b.toString(16)... | 3 | Kotlin | 1 | 4 | ea6d690ea6701005c26a940e6023248845edecd1 | 1,618 | bugsnag-android-performance | MIT License |
aoc-2022/src/commonMain/kotlin/fr/outadoc/aoc/scaffold/Day2022Ext.kt | outadoc | 317,517,472 | false | {"Kotlin": 183714} | package fr.outadoc.aoc.scaffold
internal fun <T, U : Day<T>> U.readDayInput() = readDayInput(year = "2022")
| 0 | Kotlin | 0 | 0 | 54410a19b36056a976d48dc3392a4f099def5544 | 109 | adventofcode | Apache License 2.0 |
kt/godot-library/src/main/kotlin/godot/gen/godot/SphereShape3D.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... | 63 | null | 39 | 571 | 39dc30230a30d2a6ab4ec3277eb3bc270995ab23 | 2,152 | godot-kotlin-jvm | MIT License |
core/ui/src/main/kotlin/com/ngapp/metanmobile/core/ui/career/CareerRow.kt | ngapp-dev | 878,233,406 | false | {"Kotlin": 1167674} | /*
* Copyright 2024 NGApps Dev (https://github.com/ngapp-dev). All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*... | 0 | Kotlin | 0 | 0 | f44bd23069c40a0342ed1310505f5bcc0547868c | 9,436 | metanmobile | Apache License 2.0 |
core/src/io/wasin/asteroids/entities/Bullet.kt | haxpor | 96,201,097 | false | null | package io.wasin.asteroids.entities
import com.badlogic.gdx.graphics.Color
import com.badlogic.gdx.graphics.glutils.ShapeRenderer
import com.badlogic.gdx.math.MathUtils
import com.badlogic.gdx.utils.Pool
import com.badlogic.gdx.utils.viewport.Viewport
import io.wasin.asteroids.interfaces.IBatchShapeRenderable
import i... | 0 | Kotlin | 6 | 34 | 001fea22df35a6d1ed18d6312b3d3248262de0ac | 2,634 | asteroids | MIT License |
project-wizard/idea/src/org/jetbrains/kotlin/tools/projectWizard/wizard/ui/components/DropDownComponent.kt | JetBrains | 278,369,660 | false | null | // Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package org.jetbrains.kotlin.tools.projectWizard.wizard.ui.components
import com.intellij.openapi.application.ApplicationManager
import com.intellij.openapi.ui.ComboBox
import com.intellij.ui.Colore... | 191 | null | 4372 | 82 | cc81d7505bc3e9ad503d706998ae8026c067e838 | 4,555 | intellij-kotlin | Apache License 2.0 |
app/features/settings/src/main/java/tv/orange/features/settings/bridge/settings/OrangeViewSettingsFragment.kt | NyanArchive | 503,292,084 | false | null | package tv.orange.features.settings.bridge.settings
import tv.orange.features.settings.bridge.IFragment
import tv.twitch.android.settings.base.BaseSettingsFragment
import tv.twitch.android.settings.base.BaseSettingsPresenter
class OrangeSettingsFragment : BaseSettingsFragment(), IFragment {
lateinit var presenter... | 0 | Kotlin | 0 | 2 | 69f8dcc9df76fe4a48b2fcad8290f8d1cfcc5ff6 | 552 | OrangeTV | Apache License 2.0 |
plugin-dotnet-agent/src/test/kotlin/jetbrains/buildServer/dotnet/test/dotcover/DotCoverProjectSerializerTest.kt | JetBrains | 49,584,664 | false | null | /*
* Copyright 2000-2021 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | 15 | null | 23 | 91 | 27d046d4f924620de40edcb78aab04a28affc665 | 9,195 | teamcity-dotnet-plugin | Apache License 2.0 |
grpc-multiplatform-lib/src/androidJvmCommon/kotlin/io/github/timortel/kotlin_multiplatform_grpc_lib/KMChannel.kt | TimOrtel | 503,391,702 | false | {"Kotlin": 330017, "ANTLR": 2178, "Dockerfile": 193, "HTML": 191} | package io.github.timortel.kotlin_multiplatform_grpc_lib
import io.grpc.ManagedChannel
import io.grpc.ManagedChannelBuilder
/**
* The Jvm [KMChannel] wraps the grpc [ManagedChannel] and delegates its operations to the wrapped native channel.
*/
actual class KMChannel private constructor(val managedChannel: ManagedC... | 1 | Kotlin | 14 | 62 | c2ab8b52c36cade78ba8cc5be1123ff006f715a2 | 821 | GRPC-Kotlin-Multiplatform | Apache License 2.0 |
app/src/test/java/com/example/android_study/Java/Juc/_7_Future_FutureTask_Callable/_1_Example.kt | RhythmCoderZZF | 281,057,053 | false | null | package com.example.android_study.Java.Juc._7_Future_FutureTask_Callable
import org.junit.Test
import java.util.concurrent.Callable
import java.util.concurrent.Executors
import java.util.concurrent.FutureTask
/**
* Author:create by RhythmCoder
* Date:2021/7/6
* Description:
*/
class _1_Example {
/**
* Ru... | 0 | Kotlin | 0 | 0 | 797cb3961876a1dac95d6438a632742cb9e27ed6 | 2,373 | AndroidStudy | Apache License 2.0 |
compose/src/main/java/org/zhiwei/compose/screen/gesture/ClickableScreen.kt | iOrchid | 156,658,695 | false | {"Kotlin": 1005931, "Java": 2777} | package org.zhiwei.compose.screen.gesture
import android.widget.Toast
import androidx.compose.animation.AnimatedVisibility
import androidx.compose.foundation.Indication
import androidx.compose.foundation.IndicationInstance
import androidx.compose.foundation.background
import androidx.compose.foundation.clickable
impor... | 0 | Kotlin | 111 | 627 | 2c24cb98da0b1731279fd9c1473c1aa229198fa7 | 17,332 | android-jetpack-demo | Apache License 2.0 |
composeApp/src/androidMain/kotlin/co/moregpt/ai/utils/SuperUtils.kt | obelieve | 766,344,687 | false | {"Kotlin": 222990, "Swift": 594, "HTML": 304} | package co.moregpt.ai.utils
import android.content.Context
import android.content.Intent
import android.media.MediaDrm
import android.os.Build
import android.util.Base64
import java.util.*
/**
* @desc content
* Created by zxy
**/
object SuperUtils {
fun getDeviceInfo():String{
return Build.MANUFA... | 0 | Kotlin | 0 | 1 | e6c7b646635414fac4433a0fc07c44e27db24227 | 1,713 | compose-multiplatform-moregpt | MIT License |
app/src/main/java/com/juangm/randomusers/presentation/ui/extensions/ImageViewExtension.kt | juangranadilla | 182,758,014 | false | null | package com.juangm.randomusers.presentation.ui.extensions
import android.graphics.Bitmap
import android.widget.ImageView
import androidx.core.graphics.drawable.RoundedBitmapDrawableFactory
import com.bumptech.glide.Glide
import com.bumptech.glide.request.RequestOptions
import com.bumptech.glide.request.target.BitmapIm... | 0 | Kotlin | 3 | 5 | 37ed5c2176b97845f6c3cb866cf1fb40f7da82b4 | 1,159 | RandomUsers | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.