path
stringlengths
4
280
owner
stringlengths
2
39
repo_id
int64
21.1k
879M
is_fork
bool
2 classes
languages_distribution
stringlengths
13
1.95k
content
stringlengths
7
482k
issues
int64
0
13.9k
main_language
stringclasses
121 values
forks
stringlengths
1
5
stars
int64
0
111k
commit_sha
stringlengths
40
40
size
int64
7
482k
name
stringlengths
1
100
license
stringclasses
93 values
app/src/main/java/com/tomclaw/drawa/util/SchedulersFactory.kt
solkin
62,579,229
false
{"Kotlin": 201724, "Java": 39209}
package com.tomclaw.drawa.util import io.reactivex.Scheduler import io.reactivex.android.schedulers.AndroidSchedulers import io.reactivex.schedulers.Schedulers interface SchedulersFactory { fun io(): Scheduler fun single(): Scheduler fun trampoline(): Scheduler fun mainThread(): Scheduler } clas...
1
Kotlin
6
22
131f0ef2a9ea88854f18ecef2250d5396da225e2
707
drawa-android
Apache License 2.0
src/nativeTest/kotlin/io/github/krisbitney/wasmtime/wasm/MemoryTypeTest.kt
krisbitney
625,042,873
false
null
package io.github.krisbitney.wasmtime.wasm import kotlinx.cinterop.pointed import wasmtime.wasm_memorytype_limits import kotlin.test.* class MemoryTypeTest { private val simpleMemoryType = MemoryType(Limits(1u, 10u)) @Test fun testAllocateCValue() { val cMemoryType = MemoryType.allocateCValue(si...
0
Kotlin
0
0
da0993556a50573f257ce157ae88faeff4d18ca4
1,173
wasmtime-kotlin
MIT License
app/src/main/java/com/fredrikbogg/android_chat_app/data/db/remote/FirebaseStorageSource.kt
dgewe
288,984,096
false
null
package com.fredrikbogg.android_chat_app.data.db.remote import android.net.Uri import com.google.android.gms.tasks.Task import com.google.firebase.storage.FirebaseStorage // Task based class FirebaseStorageSource { private val storageInstance = FirebaseStorage.getInstance() fun uploadUserImage(userID: String...
0
null
35
87
cff2f947a4496e46cbaa750b4e3fa768ba2308f0
562
Chat-App-Android
MIT License
Android/HumanActivityRecognition/app/src/main/java/com/example/humanactivityrecognition/ui/RecognitionAdapter.kt
phuoctan4141
462,199,972
false
null
package com.example.mlapp.ui import android.content.Context import android.view.LayoutInflater import android.view.ViewGroup import androidx.recyclerview.widget.DiffUtil import androidx.recyclerview.widget.ListAdapter import androidx.recyclerview.widget.RecyclerView import com.example.mlapp.data.Recognition import com...
1
null
2
8
51f119e46a16a010f34f6b27c7356177d7fdc126
1,862
A-FUSED-TFLITE-LSTM-MODEL
Apache License 2.0
tests/test-kotlin/src/test/kotlin/org/example/order/Order.kt
ebean-orm
5,793,895
false
null
package org.example.order import javax.persistence.CascadeType import javax.persistence.Entity import javax.persistence.Id import javax.persistence.ManyToOne import javax.persistence.OneToMany import javax.persistence.Table import javax.persistence.Version @Entity @Table(name = "t_order") class Order( customer: Cus...
75
Java
251
1,401
76d85adc98a77ed08db6458d34b397d287afc783
583
ebean
Apache License 2.0
java/java-tests/testSrc/com/intellij/codeInspection/ex/InspectionSchemeTest.kt
androidports
115,100,208
true
{"Java": 168074327, "Python": 25851822, "Kotlin": 6237300, "Groovy": 3448233, "HTML": 1962706, "C": 214338, "C++": 180382, "CSS": 172743, "JavaScript": 148969, "Lex": 148787, "XSLT": 113040, "Jupyter Notebook": 93222, "Shell": 60321, "NSIS": 57796, "Batchfile": 51257, "Roff": 37534, "Objective-C": 27309, "TeX": 25473, ...
/* * Copyright 2000-2016 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
6
Java
1
4
6e4f7135c5843ed93c15a9782f29e4400df8b068
2,540
intellij-community
Apache License 2.0
RoomWordSample/app/src/main/java/com/example/roomwordsample/WordRepository.kt
jirois
217,171,472
true
{"Kotlin": 396065}
package com.example.roomwordsample import androidx.lifecycle.LiveData class WordRepository(private val wordDao: WordDao) { // Used the LiveData in order to notify the observer when the data changed val allWords : LiveData<List<Word>> = wordDao.getAlphabetizedWords() suspend fun insert(word: Word){ ...
0
Kotlin
0
0
34f7fde40a2a857c2f17f69d5a00790f154aa19d
353
android-kotlin-fundamentals-starter-apps
Apache License 2.0
legacy/demos/demo-shared/src/commonMain/kotlin/design/ThemeSelector.kt
CLOVIS-AI
582,955,979
false
{"Kotlin": 313151, "JavaScript": 1822, "Dockerfile": 1487, "HTML": 372, "CSS": 280}
package opensavvy.decouple.demo.theming import androidx.compose.runtime.Composable import opensavvy.decouple.core.atom.ActionButton import opensavvy.decouple.core.atom.Button import opensavvy.decouple.core.atom.Text import opensavvy.decouple.core.layout.Row import opensavvy.decouple.core.layout.Screen import opensavvy...
0
Kotlin
0
2
c00928e09c01da9754f968a54cb87daa556186f0
2,417
Decouple
Apache License 2.0
modules/feature/feature_dashboard/src/main/kotlin/kekmech/ru/feature_dashboard/items/SearchFieldItem.kt
tonykolomeytsev
203,239,594
false
null
package kekmech.ru.feature_dashboard.items import kekmech.ru.coreui.items.ClickableAdapterItem import kekmech.ru.feature_dashboard.R object SearchFieldItem class SearchFieldAdapterItem( onClickListener: (SearchFieldItem) -> Unit ) : ClickableAdapterItem<SearchFieldItem>( isType = { it is SearchFieldItem }, ...
9
null
4
21
4ad7b2fe62efb956dc7f8255d35436695643d229
403
mpeiapp
MIT License
hoplite-aws/src/main/kotlin/com/sksamuel/hoplite/aws/RegionDecoder.kt
mduesterhoeft
233,792,930
true
{"Kotlin": 194619, "Shell": 126}
package com.sksamuel.hoplite.aws import arrow.core.Try import arrow.core.invalid import com.amazonaws.regions.Region import com.amazonaws.regions.Regions import com.sksamuel.hoplite.ConfigFailure import com.sksamuel.hoplite.ConfigResult import com.sksamuel.hoplite.DecoderContext import com.sksamuel.hoplite.StringNode ...
0
null
0
0
eb2a3429c39969e559231e9d6aec769efdea94ec
1,121
hoplite
Apache License 2.0
local_libs/lib-bumblebee/src/main/kotlin/gov/cdc/hl7/bumblebee/HL7JsonTransformer.kt
CDCgov
510,836,864
false
null
package gov.cdc.hl7.bumblebee import com.google.gson.* import gov.cdc.hl7.HL7ParseUtils import gov.cdc.hl7.bumblebee.StringUtils.Companion.normalize import gov.cdc.hl7.model.HL7Hierarchy class HL7JsonTransformer(val profile: Profile, val fieldProfile: Profile, val hl7Parser: HL7ParseUtils) { companion object { ...
126
null
14
9
e719565dc2d2ce837b8c5929f155b0e2416fc44d
7,354
data-exchange-hl7
Apache License 2.0
app/src/main/java/com/example/jetpack_compose_all_in_one/ui/components/NavigationDrawerMain.kt
myofficework000
626,474,700
false
{"Kotlin": 1392414}
package com.example.jetpack_compose_all_in_one.ui.components import androidx.compose.foundation.ExperimentalFoundationApi import androidx.compose.foundation.basicMarquee import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.fillMaxWidth imp...
9
Kotlin
9
222
4de5418608d6917b5c97fac7d868454c424daa26
4,204
Jetpack-Compose-All-in-one-Guide
MIT License
plugins/maven/src/main/java/org/jetbrains/idea/maven/dom/model/completion/MavenCoordinateCompletionContributor.kt
JetBrains
2,489,216
false
null
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package org.jetbrains.idea.maven.dom.model.completion import com.intellij.codeInsight.completion.* import com.intellij.codeInsight.lookup.LookupElement import com.intellij.openap...
284
null
5162
16,707
def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0
7,469
intellij-community
Apache License 2.0
app/src/main/java/com/jpgsolution/youcongresspersonmvvm/model/data/congressPersonDetail/UltimoStatus.kt
jeremias-Pereira
480,959,206
false
{"Kotlin": 18628}
package com.jpgsolution.youcongresspersonmvvm.model.data.congressPersonDetail data class UltimoStatus( val email: String, val gabinete: Gabinete, val id: Int, val nomeEleitoral: String, val siglaPartido: String, val siglaUf: String, val urlFoto: String )
0
Kotlin
0
0
680ef98ce5032ad0485be7d03b223b3089d1eeee
284
your-congressperson-MVVM
Apache License 2.0
android/engine/src/main/java/org/smartregister/fhircore/engine/domain/model/RuleConfig.kt
opensrp
339,242,809
false
null
/* * Copyright 2021 Ona Systems, Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
192
null
56
56
64a55e6920cb6280cf02a0d68152d9c03266518d
920
fhircore
Apache License 2.0
library/src/main/kotlin/io/github/wax911/library/persistedquery/PersistedQueryHashCalculator.kt
AniTrend
128,179,094
false
null
package io.github.wax911.library.persistedquery import android.content.Context import io.github.wax911.library.annotation.processor.GraphProcessor import io.github.wax911.library.annotation.processor.contract.AbstractGraphProcessor import java.math.BigInteger import java.security.MessageDigest import java.util.* /** ...
0
Kotlin
13
108
c733e613dc1e0a18b571b16d7cfb474901781fa0
2,488
retrofit-graphql
Apache License 2.0
ui-tests/tst/software/aws/toolkits/jetbrains/uitests/fixtures/AwsExplorer.kt
JetBrains
223,485,227
false
null
// Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.aws.toolkits.jetbrains.uitests.fixtures import com.intellij.remoterobot.RemoteRobot import com.intellij.remoterobot.data.RemoteComponent import com.intellij.remoterobot.fixtures.CommonCon...
6
null
4
9
ccee3307fe58ad48f93cd780d4378c336ee20548
1,962
aws-toolkit-jetbrains
Apache License 2.0
baseutils/src/main/java/peru/android/dev/baseutils/SingleEvent.kt
Bruno125
158,170,168
true
{"Kotlin": 82012, "Java": 1123}
package peru.android.dev.baseutils class SingleEvent: Event<Any?>(null)
0
Kotlin
0
1
5b996ad482f9077c8abcf1071b38bc4fe518cd87
72
android-dev-peru-app
Apache License 2.0
dsl/src/main/kotlin/io/cloudshiftdev/awscdkdsl/services/config/CfnRemediationConfigurationResourceValuePropertyDsl.kt
cloudshiftinc
667,063,030
false
{"Kotlin": 70198112}
@file:Suppress( "RedundantVisibilityModifier", "RedundantUnitReturnType", "RemoveRedundantQualifierName", "unused", "UnusedImport", "ClassName", "REDUNDANT_PROJECTION", "DEPRECATION" ) package io.cloudshiftdev.awscdkdsl.services.config import io.cloudshiftdev.awscdkdsl.common.CdkDslMar...
4
Kotlin
0
3
c59c6292cf08f0fc3280d61e7f8cff813a608a62
1,407
awscdk-dsl-kotlin
Apache License 2.0
compiler/tests-spec/testData/diagnostics/linked/expressions/type-checking-and-containment-checking-expressions/type-checking-expression/p-4/pos/1.1.kt
JetBrains
3,432,266
false
null
// FIR_IDENTICAL // !LANGUAGE: +NewInference // !DIAGNOSTICS: -USELESS_IS_CHECK USELESS_NULLABLE_CHECK -UNUSED_VALUE -UNUSED_PARAMETER -UNREACHABLE_CODE -UNUSED_VARIABLE -USELESS_NULLABLE_CHECK // SKIP_TXT /* * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-296 * PLACE: expressions, type-checking-an...
3
null
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
1,074
kotlin
Apache License 2.0
layout-ui/src/main/java/com/android/tools/componenttree/treetable/TreeTableDropTargetHandler.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...
1
null
220
857
8d22f48a9233679e85e42e8a7ed78bbff2c82ddb
7,583
android
Apache License 2.0
PayPal/src/main/java/com/braintreepayments/api/paypal/PayPalPaymentAuthRequest.kt
braintree
21,631,528
false
{"Kotlin": 943673, "Java": 780759, "Shell": 282}
package com.braintreepayments.api.paypal /** * A request used to launch the continuation of the PayPal payment flow. */ sealed class PayPalPaymentAuthRequest { /** * The request was successfully created and is ready to be launched by [PayPalLauncher] */ class ReadyToLaunch(val requestParams: PayPa...
24
Kotlin
232
405
3a713b966c132dd5647bc2565c548e9d09e0be82
521
braintree_android
MIT License
paymentsheet-example/src/main/java/com/stripe/android/paymentsheet/example/samples/ui/paymentsheet/complete_flow/CompleteFlowViewState.kt
stripe
6,926,049
false
null
package com.stripe.android.paymentsheet.example.samples.ui.complete_flow import com.stripe.android.paymentsheet.PaymentSheet import com.stripe.android.paymentsheet.example.samples.model.CartState data class CompleteFlowViewState( val isProcessing: Boolean = false, val paymentInfo: PaymentInfo? = null, val...
92
null
644
1,277
174b27b5a70f75a7bc66fdcce3142f1e51d809c8
1,339
stripe-android
MIT License
mobzy-spawning/src/main/kotlin/com/mineinabyss/mobzy/spawning/WorldGuardSpawnFlags.kt
MineInAbyss
142,800,887
false
null
package com.mineinabyss.mobzy.registration import com.sk89q.worldguard.WorldGuard import com.sk89q.worldguard.protection.flags.StringFlag import com.sk89q.worldguard.protection.flags.registry.FlagConflictException object MobzyWorldguard { //TODO Make these into their own custom flags instead of StringFlag //T...
9
null
8
43
c3b007ca794292886b3f13e607bb0fbbac46f285
1,845
Mobzy
MIT License
src/main/kotlin/unq/deportes/repository/MatchRepository.kt
Coronel-B
217,918,188
false
null
package unq.deportes.repository import org.springframework.data.repository.CrudRepository import unq.deportes.model.Match interface MatchRepository : CrudRepository<Match, Long> { }
0
Kotlin
1
0
c25915cebb358c48bae14e18aa82e707216f4707
185
deportesunq-backend
Apache License 2.0
plugins/gradle/java/testSources/importing/GradleJavaOutputParsersMessagesImportingTest.kt
JetBrains
2,489,216
false
null
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package org.jetbrains.plugins.gradle.importing import org.assertj.core.api.Assertions.assertThat import org.jetbrains.plugins.gradle.settings.GradleSettings import org.jetbrains....
284
null
5162
16,707
def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0
16,090
intellij-community
Apache License 2.0
ktor-server/ktor-server-servlet/jvm/src/io/ktor/server/servlet/ServletApplicationRequest.kt
jakobkmar
323,173,348
false
null
/* * Copyright 2014-2019 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license. */ package io.ktor.server.servlet import io.ktor.application.* import io.ktor.http.* import io.ktor.request.* import io.ktor.server.engine.* import javax.servlet.http.* @Suppress("KDocMissingDo...
1
null
0
7
ea35658a05cc085b97297a303a7c0de37efe0024
1,012
ktor
Apache License 2.0
src/contributors/Contributors.kt
kotlin-hands-on
189,397,412
false
null
package contributors import contributors.Contributors.LoadingStatus.CANCELED import contributors.Contributors.LoadingStatus.COMPLETED import contributors.Contributors.LoadingStatus.IN_PROGRESS import contributors.Variant.BACKGROUND import contributors.Variant.BLOCKING import contributors.Variant.CALLBACKS import contr...
58
null
227
241
eee89091c695b3b35993cf6611503ed04a65bcae
7,566
intro-coroutines
Apache License 2.0
core/src/commonTest/kotlin/pw/binom/base64/TestBase64DecodeAppendable.kt
caffeine-mgn
182,165,415
false
null
package pw.binom.base64 import pw.binom.asUTF8ByteArray import pw.binom.asUTF8String import pw.binom.io.ByteArrayOutputStream import kotlin.test.Test import kotlin.test.assertEquals class TestBase64DecodeAppendable { @Test fun test() { val out = ByteArrayOutputStream() val o = Base64DecodeApp...
7
null
2
59
580ff27a233a1384273ef15ea6c63028dc41dc01
1,137
pw.binom.io
Apache License 2.0
app/src/main/java/com/algorigo/pressuregoapp/RxActivity.kt
seosh817
414,050,200
false
{"Kotlin": 166092}
package com.algorigo.pressuregoapp import android.Manifest import android.content.Intent import android.os.Bundle import android.util.Log import android.widget.Button import androidx.recyclerview.widget.RecyclerView import com.algorigo.algorigoble.BleManager import com.algorigo.library.rx.permission.PermissionAppCompa...
0
null
0
0
1ee091b06a85ca738591962b05137c03452d90cc
4,161
PressureGo_Android
MIT License
app/src/main/java/com/kcteam/features/addAttendence/RouteShopListDialog.kt
DebashisINT
558,234,039
false
null
package com.demo.features.addAttendence import android.content.Context import android.os.Bundle import androidx.fragment.app.DialogFragment import androidx.recyclerview.widget.LinearLayoutManager import androidx.recyclerview.widget.RecyclerView import android.view.LayoutInflater import android.view.View import android...
0
null
1
1
e6114824d91cba2e70623631db7cbd9b4d9690ed
3,483
NationalPlastic
Apache License 2.0
app/src/main/java/io/aayush/relabs/network/data/thread/DiscussionState.kt
theimpulson
679,298,392
false
{"Kotlin": 143534}
package io.aayush.relabs.network.data.thread import com.squareup.moshi.Json enum class DiscussionState { @Json(name = "visible") VISIBLE, @Json(name = "moderated") MODERATED, @Json(name = "deleted") DELETED }
1
Kotlin
2
73
22f5741848708c9700dd197cc5731db54d19dc8e
237
ReLabs
Apache License 2.0
app/src/main/java/com/fabian/schengenvisacalculator/ui/screens/calendar/Calendar.kt
FabianShallari
313,957,735
false
null
package com.fabian.schengenvisacalculator.ui.screens.calendar import androidx.compose.foundation.layout.PaddingValues import androidx.compose.foundation.layout.fillMaxHeight import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.foundation.lazy.LazyColumn import androidx.compose.material.Surfac...
0
Kotlin
0
0
228a38efc164c0a0f67af8c4d9e6f8f441391f97
5,131
schengen-visa-calculator
MIT License
mineinabyss-features/src/main/kotlin/com/mineinabyss/features/lootcrates/LootCratesListener.kt
MineInAbyss
115,279,675
false
{"Kotlin": 412052}
package com.mineinabyss.features.lootcrates import com.mineinabyss.components.lootcrates.ContainsLoot import com.mineinabyss.features.abyss import com.mineinabyss.features.helpers.di.Features import com.mineinabyss.features.lootcrates.database.LootedChests import com.mineinabyss.geary.papermc.datastore.decode import c...
13
Kotlin
26
89
c862566af077173b00e39248121e24bb3c41402a
3,021
MineInAbyss
MIT License
src/main/kotlin/com/sugarizer/view/createinstruction/CreateInstructionView.kt
llaske
101,508,477
false
{"HTML": 16270623, "Python": 11699550, "JavaScript": 159051, "Kotlin": 125711, "C++": 19170, "C": 10794, "Shell": 6864, "CSS": 2281}
package com.sugarizer.view.createinstruction import com.sugarizer.Main import com.sugarizer.listitem.ListItemSpkInstruction import com.sugarizer.utils.shared.SpkManager import com.sugarizer.view.device.cellfactory.ListItemSpkInstructionCellFactory import com.sugarizer.view.devicedetails.view.devicedetails.CreateInstru...
2
HTML
1
1
34df1a56b68b15b6771671f87ab66586d60c514a
2,920
sugarizer-deployment-tool-desktop
Apache License 2.0
app/src/main/java/ca/on/hojat/gamenews/core/BaseViewModel.kt
hojat72elect
574,228,468
false
null
package ca.on.hojat.gamenews.core import androidx.lifecycle.ViewModel import ca.on.hojat.gamenews.core.events.Command import ca.on.hojat.gamenews.core.events.Route import kotlinx.coroutines.channels.Channel import kotlinx.coroutines.flow.Flow import kotlinx.coroutines.flow.receiveAsFlow abstract class BaseViewModel :...
0
Kotlin
2
4
b1c07551e90790ee3d273bc4c0ad3a5f97f71202
791
GameHub
MIT License
app/src/main/kotlin/com/akagiyui/drive/service/impl/AnnouncementServiceImpl.kt
AkagiYui
647,653,830
false
null
package com.akagiyui.drive.service.impl import com.akagiyui.common.ResponseEnum import com.akagiyui.common.exception.CustomException import com.akagiyui.common.utils.hasText import com.akagiyui.drive.entity.Announcement import com.akagiyui.drive.model.AnnouncementFilter import com.akagiyui.drive.model.request.UpdateAn...
5
null
3
9
6ff345645dfa83944ca4d36c02f9fa7b2162697f
3,025
KenkoDrive
MIT License
plugins/search-everywhere-ml/semantics/src/com/intellij/searchEverywhereMl/semantics/services/ClassEmbeddingsStorage.kt
wwwjames
83,334,899
true
null
package com.intellij.searchEverywhereMl.semantics.services import com.intellij.openapi.components.Service import com.intellij.openapi.components.service import com.intellij.openapi.project.Project import com.intellij.openapi.project.getProjectCachePath import com.intellij.openapi.startup.ProjectActivity import com.int...
7
null
1
1
9d4b7c6230b668e59a1aabb2b54cb89ba840fce4
3,400
intellij-community
Apache License 2.0
library/src/main/java/com/joom/grip/commons/AnyExtensions.kt
joomcode
412,782,399
false
null
/* * Copyright 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 in wr...
1
null
1
6
b1f0a7436452079eaaf663ad283e2aa7fe04cf6d
749
grip
Apache License 2.0
app/src/main/java/com/axondragonscale/jwtauth/auth/AuthResult.kt
AxonDragonScale
497,392,129
false
{"Kotlin": 18087}
package com.axondragonscale.jwtauth.auth /** * Created by <NAME> on 28/05/22 */ sealed class AuthResult<T>(data: T? = null) { class Authorized<T>(data: T? = null): AuthResult<T>(data) class Unauthorized<T>: AuthResult<T>() class UknownError<T>: AuthResult<T>() }
0
Kotlin
0
0
4644fe7a4285859fbf171f208d178e9103e3f74c
277
JwtAuthAndroid
MIT License
compottie/src/commonMain/kotlin/io/github/alexzhirkevich/compottie/internal/animation/expressions/operations/composition/OpGetProperty.kt
alexzhirkevich
730,724,501
false
{"Kotlin": 891763, "Swift": 601, "HTML": 211}
package io.github.alexzhirkevich.compottie.internal.animation.expressions.operations.composition import io.github.alexzhirkevich.compottie.internal.AnimationState import io.github.alexzhirkevich.compottie.internal.animation.AnimatedNumber import io.github.alexzhirkevich.compottie.internal.animation.RawProperty import ...
5
Kotlin
7
232
46b008cd7cf40a84261b20c5888359f08368016a
892
compottie
MIT License
app/src/main/java/com/kcteam/features/reimbursement/api/reimbursement_list_api/ReimbursementListRepoProvider.kt
DebashisINT
558,234,039
false
null
package com.ntcv4tracker.features.reimbursement.api.reimbursement_list_api /** * Created by Saikat on 25-01-2019. */ object ReimbursementListRepoProvider { fun getReimbursementListRepository(): ReimbursementListRepo { return ReimbursementListRepo(ReimbursementListApi.create()) } }
0
null
1
1
a9aabcf48662c76db18bcece75cae9ac961da1ed
300
NationalPlastic
Apache License 2.0
app/src/main/kotlin/com/tommyfen/jetpackexercise/TestFragment.kt
TommyFen
175,630,899
false
{"Java": 17341, "Kotlin": 5244}
package com.tommyfen.jetpackexercise import android.os.Bundle import androidx.fragment.app.Fragment import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import cn.tommyfen.jetpackexercise.databinding.FragmentTestBinding // TODO: Rename parameter arguments, choose names that match ...
1
Java
1
2
42326414cea154c635515ecab76e3ea134690faa
2,158
JetpackExercise
Apache License 2.0
core-points/src/test/kotlin/io/vibrantnet/ryp/core/points/service/PointsQueueServiceTest.kt
nilscodes
769,729,247
false
{"Kotlin": 901616, "TypeScript": 887764, "Dockerfile": 8250, "Shell": 7536, "JavaScript": 1867}
package io.vibrantnet.ryp.core.points.service import io.mockk.every import io.mockk.mockk import io.mockk.verify import io.ryp.shared.model.points.PointsClaimDto import io.vibrantnet.ryp.core.points.model.DuplicatePointsClaimException import org.junit.jupiter.api.Test import org.springframework.amqp.rabbit.core.Rabbit...
0
Kotlin
0
0
a03ddb79eb7a71d0c440584c758cb5600c29c15e
3,233
reach-your-people
Apache License 2.0
ospf-kotlin-framework-gantt-scheduling/gantt-scheduling-domain-produce-context/src/main/fuookami/ospf/kotlin/framework/gantt_scheduling/domain/produce/service/limits/ConsumptionQuantityMinimization.kt
fuookami
359,831,793
false
null
package fuookami.ospf.kotlin.framework.gantt_scheduling.domain.produce.service.limits import fuookami.ospf.kotlin.utils.math.* import fuookami.ospf.kotlin.utils.functional.* import fuookami.ospf.kotlin.core.frontend.variable.* import fuookami.ospf.kotlin.core.frontend.expression.monomial.* import fuookami.ospf.kotlin....
0
null
0
2
ee15667db4a8d3789cb1fd3df772717971e83a31
1,938
ospf-kotlin
Apache License 2.0
app/src/main/java/com/smarttoolfactory/composecolorpicker/ui/CanvasWithTitle.kt
SmartToolFactory
468,093,233
false
{"Kotlin": 422080}
package com.smarttoolfactory.composecolorpicker.ui import androidx.compose.foundation.Canvas import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.padding import androidx.compose.foundation.layout.wrapContentWidth import androidx.compose.material.Text import androidx.compose.runtim...
0
Kotlin
6
56
a027bbadc0542494214ce59c399dcfe9cd0862ef
1,073
Compose-Color-Picker-Bundle
Apache License 2.0
sykepenger-model/src/test/kotlin/no/nav/helse/serde/migration/V236MigrereUtbetalingTilÅOverlappeMedAUUTest.kt
navikt
193,907,367
false
null
package no.nav.helse.serde.migration import org.junit.jupiter.api.Test internal class V236MigrereUtbetalingTilÅOverlappeMedAUUTest: MigrationTest(V236MigrereUtbetalingTilÅOverlappeMedAUU()) { @Test fun `strekker tilbake utbetalingsperiodeobjekt`() { assertMigration( expectedJson = "/migrat...
2
Kotlin
6
5
314d8a6e32b3dda391bcac31e0b4aeeee68f9f9b
421
helse-spleis
MIT License
shared/src/iosMain/kotlin/dev/sasikanth/rss/reader/network/IOSRssMapper.kt
msasikanth
632,826,313
false
{"Kotlin": 484129, "Swift": 5413, "Shell": 227, "Ruby": 102}
/* * Copyright 2023 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
4
Kotlin
20
342
eb714b64f320c83f026433317dffe06940199cd6
3,572
twine
Apache License 2.0
app/src/main/java/com/rami/koroutinesdemo/presentation/di/ViewModelFactory.kt
rami-de
214,674,311
false
null
package com.rami.koroutinesdemo.presentation.di import androidx.lifecycle.ViewModel import androidx.lifecycle.ViewModelProvider import javax.inject.Inject import javax.inject.Provider import javax.inject.Singleton @Singleton class ViewModelFactory @Inject constructor( private val creators: Map<Class<out ViewModel...
0
Kotlin
0
0
2b748717e49ead520bc5c4f2b247b4e7fc826f83
520
KoroutinesDemo
MIT License
fir/testData/codeInsight/handlers/gotoSuperActionHandler/properties/incorrectCode/overrideFinalPropertyInFinalClass.kt
JetBrains
278,369,660
false
null
open class A { val foo: Int = 1 } class B : A() { override val fo<caret>o: Int = 10 }
1
Kotlin
29
71
b6789690db56407ae2d6d62746fb69dc99d68c84
94
intellij-kotlin
Apache License 2.0
idea/testData/quickfix/autoImports/noImportInQualifiedExpressionNotFirst.before.Main.kt
JakeWharton
99,388,807
false
null
// "class org.jetbrains.kotlin.idea.quickfix.ImportFix" "false" // ACTION: Convert property initializer to getter // ACTION: Create class 'SomeTest' // ACTION: Rename reference // ERROR: Unresolved reference: SomeTest package testing val x = testing.<caret>SomeTest()
1
null
37
83
4383335168338df9bbbe2a63cb213a68d0858104
270
kotlin
Apache License 2.0
core/admin-api/src/main/kotlin/io/mailit/core/admin/api/type/MailMessageTypeService.kt
awelless
467,556,925
false
null
package io.mailit.core.admin.api.type import io.mailit.core.model.HtmlTemplateEngine import io.mailit.core.model.MailMessageType import io.mailit.core.model.Slice interface MailMessageTypeService { suspend fun getById(id: Long): MailMessageType suspend fun getAllSliced(page: Int, size: Int): Slice<MailMessa...
3
Kotlin
0
1
55b4e9502dba6f3a218affa2a1c96ea4e7754584
1,114
mail-it
MIT License
app/src/main/java/com/n27/elections/injection/SubcomponentsModule.kt
Narsuf
52,900,182
false
{"Kotlin": 246421}
package com.n27.elections.injection import com.n27.core.injection.CoreComponent import com.n27.regional_live.injection.RegionalLiveComponent import dagger.Module @Module( subcomponents = [ CoreComponent::class, RegionalLiveComponent::class ] ) class SubcomponentsModule
0
Kotlin
0
2
73959e069dcd7166b9095f0b94cc3d0c42873c77
296
Elections
Apache License 2.0
iteration7/music-matters/core/data/src/main/java/com/odesa/musicMatters/core/data/search/impl/SearchHistoryStoreImpl.kt
Odhiambo-Michael-Allan
740,198,682
false
{"Kotlin": 9540063}
package com.odesa.musicMatters.data.search.impl import com.odesa.musicMatters.data.playlists.impl.FileAdapter import com.odesa.musicMatters.data.search.SearchHistoryItem import com.odesa.musicMatters.data.search.SearchHistoryStore import com.odesa.musicMatters.utils.toList import org.json.JSONArray import org.json.JSO...
0
Kotlin
0
3
05ad5e08002a78958ed7763e6685a0e15f635fae
2,013
music-matters
Apache License 2.0
app/src/main/java/com/kgurgul/cpuinfo/features/applications/ApplicationsFragment.kt
kamgurgul
105,620,694
false
null
/* * Copyright 2017 KG Soft * * 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 w...
27
null
88
462
b987a198d0aaaa9978a80ee52ddedb6bb30fd8c8
7,843
cpu-info
Apache License 2.0
app/src/main/kotlin/jp/co/yumemi/android/codecheck/data/api/GithubApi.kt
LeoAndo
583,336,904
false
{"Kotlin": 26878}
package jp.co.yumemi.android.codecheck.data.api import io.ktor.client.* import io.ktor.client.call.* import io.ktor.client.engine.android.* import io.ktor.client.plugins.* import io.ktor.client.plugins.logging.* import io.ktor.client.request.* import io.ktor.client.statement.* import io.ktor.http.* import jp.co.yumemi...
2
Kotlin
0
1
9f4fd9856df78d9cdc696b2a90a5840bf54ca8ae
2,064
android-engineer-codecheck
Apache License 2.0
app/shared/state-machine/ui/public/src/commonMain/kotlin/build/wallet/statemachine/demo/DemoModeCodeEntryUiStateMachineImpl.kt
proto-at-block
761,306,853
false
null
package build.wallet.statemachine.demo import androidx.compose.runtime.Composable import androidx.compose.runtime.LaunchedEffect import androidx.compose.runtime.getValue import androidx.compose.runtime.mutableStateOf import androidx.compose.runtime.remember import androidx.compose.runtime.setValue import build.wallet....
3
null
16
98
1f9f2298919dac77e6791aa3f1dbfd67efe7f83c
3,854
bitkey
MIT License
server/src/main/kotlin/vr/network/model/ModelNode.kt
tlaukkan
62,936,064
false
{"Gradle": 3, "Text": 2, "Ignore List": 1, "YAML": 1, "Markdown": 1, "Kotlin": 108, "INI": 1, "HTML": 2, "Wavefront Object": 4, "COLLADA": 1, "JavaScript": 6, "Java": 2, "JSON": 156}
package vr.network.model class ModelNode(var path: String = "") : Node() { }
0
JavaScript
0
1
4067f653eef50e93aeaa7a5171709e6eb9dee005
78
kotlin-web-vr
MIT License
identity-starter/src/main/kotlin/com/labijie/application/identity/data/pojo/dsl/OAuth2ClientDSL.kt
hongque-pro
309,874,586
false
null
@file:Suppress("RedundantVisibilityModifier") package com.labijie.application.identity.`data`.pojo.dsl import com.labijie.application.identity.`data`.OAuth2ClientTable import com.labijie.application.identity.`data`.OAuth2ClientTable.accessTokenLiveSeconds import com.labijie.application.identity.`data`.OAuth2ClientTab...
0
null
0
8
9e2b1f76bbb239ae9029bd27cda2d17f96b13326
10,368
application-framework
Apache License 2.0
basick/src/main/java/com/mozhimen/basick/taskk/temps/TaskKPollInfinite.kt
mozhimen
353,952,154
false
null
package com.mozhimen.basick.taskk.temps import coil.request.Disposable import com.mozhimen.basick.lintk.optin.OptInApiInit_ByLazy import com.mozhimen.basick.elemk.commons.ISuspend_Listener import com.mozhimen.basick.lintk.optin.OptInApiCall_BindLifecycle import com.mozhimen.basick.taskk.bases.BaseWakeBefDestroyTaskK i...
1
null
8
118
8192372dff44185d6c61ff39958e7d61a6521305
1,585
SwiftKit
Apache License 2.0
domain/src/main/kotlin/no/nav/su/se/bakover/domain/oppdrag/KryssjekkTidslinjerOgSimulering.kt
navikt
227,366,088
false
null
package no.nav.su.se.bakover.domain.oppdrag import arrow.core.Either import arrow.core.getOrElse import arrow.core.left import arrow.core.right import no.nav.su.se.bakover.common.extensions.førsteINesteMåned import no.nav.su.se.bakover.common.sikkerLogg import no.nav.su.se.bakover.common.tid.periode.Måned import no.na...
5
Kotlin
1
1
fbeb1614c40e0f6fce631d4beb1ba25e2f78ddda
7,309
su-se-bakover
MIT License
app/src/main/java/sk/devprog/firmy/ui/screen/licenses/LicensesScreen.kt
yuraj11
637,130,066
false
{"Kotlin": 157151}
package sk.devprog.firmy.ui.screen.licenses import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.foundation.layout.padding import androidx.compose.material.icons.Icons import androidx.compose.material.icons.automirrored.filled.ArrowBack import androidx.compose.material3.ExperimentalMaterial3Ap...
0
Kotlin
0
1
bd10f991ae17fdc1830b7dd79bdda177ff880527
1,675
firmy
Apache License 2.0
app/src/main/java/com/hwinzniej/musichelper/ui/AboutPageUi.kt
Winnie0408
730,239,668
false
null
package com.hwinzniej.musichelper.ui import android.content.Intent import android.content.res.Resources import android.graphics.Bitmap import android.graphics.BitmapFactory import android.net.Uri import android.os.Environment import android.webkit.WebView import android.widget.Toast import androidx.activity.compose.Ba...
0
null
2
98
016561a8fe6d601d4d0885fe2cc41023624806eb
45,625
LocalMusicHelper
MIT License
ok-marketplace-be-app-ktor/test/ApplicationInMemoryTest.kt
otuskotlin
323,966,359
false
null
import io.ktor.http.* import io.ktor.server.testing.* import ru.otus.otuskotlin.marketplace.backend.app.ktor.jsonConfig import ru.otus.otuskotlin.marketplace.backend.app.ktor.module import ru.otus.otuskotlin.marketplace.backend.repository.inmemory.demands.DemandRepoInMemory import ru.otus.otuskotlin.marketplace.backend...
0
Kotlin
0
1
5f52fc91b3d71397cfabd02b5abb86a69d8567a1
12,612
202012-otuskotlin-marketplace
MIT License
kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnDeviceDefinitionVersion.kt
cloudshiftinc
667,063,030
false
{"Kotlin": 142794926}
@file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION") package io.cloudshiftdev.awscdk.services.greengrass import io.cloudshiftdev.awscdk.CfnResource import io.cloudshiftdev.awscdk.IInspectable imp...
3
Kotlin
0
4
a18731816a3ec710bc89fb8767d2ab71cec558a6
17,957
kotlin-cdk-wrapper
Apache License 2.0
android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerButtonViewManager.kt
software-mansion
72,087,685
false
null
package com.swmansion.gesturehandler.react import android.annotation.SuppressLint import android.annotation.TargetApi import android.content.Context import android.content.res.ColorStateList import android.graphics.Color import android.graphics.drawable.Drawable import android.graphics.drawable.LayerDrawable import an...
95
null
980
6,098
da9eed867ff09633c506fc9ad08634eaf707cbdb
13,979
react-native-gesture-handler
MIT License
data/src/main/java/dev/seabat/android/hellobottomnavi/data/repository/QiitaArticlesRepository.kt
seabat
614,867,401
false
null
package dev.seabat.android.hellobottomnavi.data.repository import dev.seabat.android.hellobottomnavi.data.BuildConfig import dev.seabat.android.hellobottomnavi.data.datasource.qiita.QiitaApiService import dev.seabat.android.hellobottomnavi.data.datasource.qiita.QiitaExceptionConverter import dev.seabat.android.hellobo...
0
Kotlin
0
0
b4c5afa9609ef0e07e36593b8545d9ab093c33ea
2,852
hello-bottom-navigation
Apache License 2.0
fluent-icons-extended/src/commonMain/kotlin/com/konyaco/fluent/icons/filled/PaintBrushArrowDown.kt
Konyaco
574,321,009
false
null
package com.konyaco.fluent.icons.filled import androidx.compose.ui.graphics.vector.ImageVector import com.konyaco.fluent.icons.Icons import com.konyaco.fluent.icons.fluentIcon import com.konyaco.fluent.icons.fluentPath public val Icons.Filled.PaintBrushArrowDown: ImageVector get() { if (_paintBrushArrow...
1
Kotlin
3
83
9e86d93bf1f9ca63a93a913c990e95f13d8ede5a
3,487
compose-fluent-ui
Apache License 2.0
app/src/main/java/com/kirakishou/photoexchange/helper/database/entity/GalleryPhotoEntity.kt
K1rakishou
109,590,033
false
null
package com.kirakishou.photoexchange.helper.database.entity import androidx.room.ColumnInfo import androidx.room.Entity import androidx.room.PrimaryKey import com.kirakishou.photoexchange.helper.database.entity.GalleryPhotoEntity.Companion.TABLE_NAME @Entity(tableName = TABLE_NAME) class GalleryPhotoEntity( @Prima...
0
Kotlin
1
4
15f67029376a98353a01b5523dfb42d183a26bf2
1,383
photoexchange-android
Do What The F*ck You Want To Public License
compiler/testData/diagnostics/tests/evaluate/unaryMinusIndependentExpType.kt
JakeWharton
99,388,807
false
null
val p1: Int = -1 val p2: Long = -1 val p3: Byte = -1 val p4: Short = -1 val lp1: Int = <!INITIALIZER_TYPE_MISMATCH!>-1111111111111111111<!> val lp2: Long = -1111111111111111111 val lp3: Byte = <!INITIALIZER_TYPE_MISMATCH!>-1111111111111111111<!> val lp4: Short = <!INITIALIZER_TYPE_MISMATCH!>-1111111111111111111<!> va...
181
null
5748
83
4383335168338df9bbbe2a63cb213a68d0858104
849
kotlin
Apache License 2.0
backend/service-import/src/jvmMain/kotlin/dev/johnoreilly/confetti/backend/import/Sessionize.kt
joreilly
436,024,503
false
null
package dev.johnoreilly.confetti.backend.import import dev.johnoreilly.confetti.backend.datastore.* import kotlinx.datetime.LocalDate import kotlinx.datetime.LocalDateTime import kotlinx.datetime.TimeZone import kotlinx.datetime.atTime import kotlinx.datetime.toInstant import kotlinx.datetime.toLocalDateTime import ne...
37
Kotlin
44
443
039c4aadd82f7029df027a6332a4743a4470dbc8
7,646
Confetti
Apache License 2.0
modules/theme/src/commonMain/kotlin/io/imrekaszab/eaplayers/theme/AppTheme.kt
kaszabimre
853,228,340
false
null
package io.imrekaszab.eaplayers.theme import androidx.compose.foundation.isSystemInDarkTheme import androidx.compose.foundation.text.selection.LocalTextSelectionColors import androidx.compose.material3.ColorScheme import androidx.compose.material3.ExperimentalMaterial3Api import androidx.compose.material3.LocalRippleC...
3
null
2
2
85b56abea8531a2ace9aaa76e9508ab3ef64ad7f
2,684
EAPlayers
Apache License 2.0
app/src/main/java/ua/blackwind/limbushelper/domain/party/model/Party.kt
BlackW1ndCoding
609,364,983
false
null
package ua.blackwind.limbushelper.domain.party.model const val DEFAULT_PARTY_ID = 1 data class Party( val id: Int, val name: String, val sinners: List<PartySinner> ) fun Party.getAllIdentities() = sinners.map { it.identities }.flatten().map { it.identity } fun Party.getAllActiveIdentities() = sinners.map...
7
Kotlin
2
3
f832ec78af5bfca6f7e092d4e4f640b93983f393
429
limbus_helper
MIT License
app/src/main/java/me/ranko/autodark/ui/MainActivity.kt
0ranko0P
208,796,965
false
null
package me.ranko.autodark.ui import android.content.Intent import android.content.res.ColorStateList import android.os.Bundle import android.view.View import android.view.WindowManager import androidx.databinding.DataBindingUtil import androidx.databinding.Observable import androidx.databinding.ObservableField import ...
2
Kotlin
4
53
5a5b47014b38e5b461c5329a4387882b956c1f28
4,744
AutoDark
MIT License
api/src/test/kotlin/org/jetbrains/kotlinx/dl/api/core/activation/LishtActivationTest.kt
JetBrains
249,948,572
false
null
/* * Copyright 2020 JetBrains s.r.o. and Kotlin Deep Learning project contributors. All Rights Reserved. * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE.txt file. */ package org.jetbrains.kotlinx.dl.api.core.activation import org.junit.jupiter.api.Test internal cla...
81
null
79
806
efaa1ebdf7bf9a131826d3ded42e1eb178e4fd19
846
KotlinDL
Apache License 2.0
data/src/main/java/com/ribsky/data/service/offline/article/ArticlesDatabase.kt
nexy791
607,748,138
false
{"Kotlin": 844377, "Java": 316}
package com.ribsky.data.service.offline.article import androidx.room.Database import androidx.room.RoomDatabase import androidx.room.TypeConverters import com.ribsky.data.converters.Converters import com.ribsky.data.model.ArticleApiModel @TypeConverters(Converters::class) @Database(entities = [ArticleApiModel::class]...
0
Kotlin
0
17
aa23106d2e167906066f433ff758a4b6ad1e5e4e
528
dymka
Apache License 2.0
rt/support/src/main/kotlin/LoggerReporting.kt
yandex
570,094,802
false
null
/* * Copyright 2022 Yandex LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
17
Kotlin
6
170
33418e21a7c6374bbe7b52b73b36781f99b27d25
1,613
yatagan
Apache License 2.0
app/src/main/java/com/example/flixterapp/Article.kt
tpatel29
857,178,041
false
{"Kotlin": 26559}
package com.codepath.articlesearch import android.support.annotation.Keep import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable @Keep @Serializable data class SearchNewsResponse( @SerialName("response") val response: BaseResponse? ) @Keep @Serializable data class BaseResponse( ...
1
Kotlin
1
0
f8902b8b24514bc24a003135da615c6f8a571ece
1,130
Lab4Real
MIT License
src/main/kotlin/no/nav/familie/ks/sak/api/dto/KorrigertEtterbetalingRequestDto.kt
navikt
533,308,075
false
{"Kotlin": 3728348, "Gherkin": 186833, "Shell": 1839, "Dockerfile": 467}
package no.nav.familie.ks.sak.api.dto import no.nav.familie.ks.sak.kjerne.korrigertetterbetaling.KorrigertEtterbetaling import no.nav.familie.ks.sak.kjerne.korrigertetterbetaling.KorrigertEtterbetalingÅrsak import java.time.LocalDateTime data class KorrigertEtterbetalingRequestDto( val årsak: KorrigertEtterbetali...
3
Kotlin
1
2
c39fb12189c468a433ca2920b1aa0f5509b23d54
924
familie-ks-sak
MIT License
app/src/main/java/com/udayy/android/utils/CustomInputDialog.kt
premchand-verma
382,544,390
false
null
package com.udayy.android.utils import android.app.Activity import android.app.Dialog import android.graphics.Color import android.graphics.drawable.ColorDrawable import android.view.View import android.view.ViewGroup import android.view.Window import android.widget.Button import android.widget.EditText import android...
0
Kotlin
0
0
5cd5396ba3df092a449bbbfb4fae7f8d96890eaf
1,981
udayy
Apache License 2.0
src/main/kotlin/other/MinAlgorithm.kt
DmitryTsyvtsyn
418,166,620
false
{"Kotlin": 228861}
package other import java.lang.IllegalArgumentException /** * * Algorithm for finding the minimum value from a list * */ class MinAlgorithm { fun <T : Comparable<T>> compute(items: List<T>) : T { if (items.isEmpty()) { throw IllegalArgumentException("items list is empty!") } ...
0
Kotlin
135
788
1f89f062a056e24cc289ffdd0c6e23cadf8df887
931
Kotlin-Algorithms-and-Design-Patterns
MIT License
next/kmp/browser/src/commonMain/kotlin/org/dweb_browser/browser/BrowserI18nResource.kt
BioforestChain
594,577,896
false
{"Kotlin": 2719211, "TypeScript": 733573, "Swift": 350492, "Vue": 150380, "SCSS": 39016, "Objective-C": 17350, "HTML": 13200, "Shell": 11193, "JavaScript": 3998, "CSS": 818}
package org.dweb_browser.browser import org.dweb_browser.core.help.types.MMID import org.dweb_browser.helper.compose.Language import org.dweb_browser.helper.compose.OneParamI18nResource import org.dweb_browser.helper.compose.SimpleI18nResource object BrowserI18nResource { val application_name = SimpleI18nResour...
57
Kotlin
4
11
b9b39e294badbb02eeb3a3a6d1851fd5105bd09f
19,432
dweb_browser
MIT License
runtime/src/commonMain/kotlin/com/asyncant/io/MessageReceiver.kt
asyncant
363,257,201
false
{"Kotlin": 18781}
package com.asyncant.io internal interface MessageReceiver { fun append(data: ByteArray, size: Int) fun completed(): Boolean }
0
Kotlin
1
2
1c029f79b2b2c6e2c15580f60fd7e65f59c9d6ef
131
aws-lambda-kotlin-runtime
MIT License
src/main/java/com/cumulocity/client/api/TokensApi.kt
SoftwareAG
525,378,320
false
{"Kotlin": 776057}
// Copyright (c) 2014-2023 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors. // Use, reproduction, transfer, publication or disclosure is prohibited except as specifically provided for in your License Agreement with Softwa...
1
Kotlin
1
3
b9e366de1d8d21fa479a42497d45a4efa4de2268
4,789
cumulocity-clients-kotlin
Apache License 2.0
core/camera/src/main/java/com/google/jetpackcamera/core/camera/CameraXCameraUseCase.kt
google
591,101,391
false
{"Kotlin": 640681, "C++": 2189, "CMake": 1010, "Shell": 724}
/* * Copyright (C) 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 app...
39
Kotlin
26
141
f79336788a80bf2d7e35393bde6470db3ea548e7
26,771
jetpack-camera-app
Apache License 2.0
idea/testData/quickfix/createFromUsage/createSecondaryConstructor/noParametersImplicitSuperCall.kt
JakeWharton
99,388,807
true
null
// "Create secondary constructor" "true" open class Base() class Creation { constructor(f: Int) } val v = Creation(<caret>)
0
Kotlin
28
83
4383335168338df9bbbe2a63cb213a68d0858104
128
kotlin
Apache License 2.0
app/src/main/java/com/herscher/swiftlydemo/MainActivity.kt
markherscher
392,020,007
false
null
package com.herscher.swiftlydemo import android.os.Bundle import androidx.appcompat.app.AppCompatActivity import com.herscher.swiftlydemo.specials.SpecialsListFragment class MainActivity : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) ...
0
Kotlin
0
0
680324f1e8736489ac8357cc41002882fbd2f438
595
ManagerSpecialDemo
Apache License 2.0
telegram/src/main/kotlin/com/github/kotlintelegrambot/entities/ChosenInlineResult.kt
kotlin-telegram-bot
121,235,631
false
{"Kotlin": 618749}
package com.github.kotlintelegrambot.entities import com.google.gson.annotations.SerializedName as Name data class ChosenInlineResult( @Name("result_id") val resultId: String, val from: User, val location: Location? = null, @Name("inline_message_id") val inlineMessageId: String? = null, val query:...
67
Kotlin
161
794
18013912c6a8c395b6491c2323a8f5eb7288b4f5
330
kotlin-telegram-bot
Apache License 2.0
platform/platform-impl/src/com/intellij/ide/plugins/marketplace/MarketplacePluginDownloadService.kt
ingokegel
72,937,917
false
null
// Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.ide.plugins.marketplace import com.fasterxml.jackson.databind.ObjectMapper import com.intellij.ide.IdeBundle import com.intellij.ide.plugin...
233
null
4912
2
b07eabd319ad5b591373d63c8f502761c2b2dfe8
9,128
intellij-community
Apache License 2.0
android/app/src/main/java/com/algorand/android/ui/register/BackupPassphraseFragment.kt
perawallet
364,359,642
false
null
/* * 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,...
23
null
64
181
92fc77f73fa4105de82d5e87b03c1e67600a57c0
4,357
pera-wallet
Apache License 2.0
library/src/commonMain/kotlin/com/befrvnk/knotion/objects/block/Bookmark.kt
befrvnk
672,042,674
false
null
package com.befrvnk.knotion.objects.block import com.befrvnk.knotion.objects.other.Parent import com.befrvnk.knotion.objects.richtext.RichText import com.befrvnk.knotion.objects.user.User import kotlinx.datetime.Instant import kotlinx.serialization.ExperimentalSerializationApi import kotlinx.serialization.SerialName i...
2
Kotlin
0
0
9ada5a7c5b38aedd53abe3aa58dfd999795c8e89
1,126
knotion
MIT License
src/main/kotlin/kt/kotlinalgs/app/graph/PathsWithSum.ws.kts
sjaindl
384,471,324
false
null
package kt.kotlinalgs.app.graph import java.util.* /* Achtung: Immer map etc. zurücksetzen!! BC: from root, cur element .. test cases! */ Solution().test() /* 10 15,5 17,7,2 18,8,3,1 alt.. store complete sum in set<Int> 10, 15, 17, 18 .. check at each node if (set.contains(runningSum - k)) -> incr. co...
1
null
1
1
e7ae2fcd1ce8dffabecfedb893cb04ccd9bf8ba0
3,130
KotlinAlgs
MIT License
paymentsheet/src/test/java/com/stripe/android/paymentsheet/addresselement/AutocompleteViewModelTest.kt
stripe
6,926,049
false
null
package com.stripe.android.paymentsheet.addresselement import android.app.Application import android.text.SpannableString import androidx.test.core.app.ApplicationProvider import com.google.common.truth.Truth.assertThat import com.stripe.android.paymentsheet.PaymentSheet import com.stripe.android.paymentsheet.addresse...
88
null
644
1,277
174b27b5a70f75a7bc66fdcce3142f1e51d809c8
10,288
stripe-android
MIT License
2016-08-11-WebViewJavascriptInterafce/src/main/kotlin/tech/thdev/webviewjavascriptinterface/view/main/KotlinFragment.kt
mgkim9
141,031,406
false
null
package tech.thdev.webviewjavascriptinterface.view.main import android.content.Context import android.os.Bundle import android.text.TextUtils import android.view.View import android.view.inputmethod.EditorInfo import android.view.inputmethod.InputMethodManager import android.webkit.WebSettings import android.webkit.We...
0
null
0
1
e7c88e1b4f84e54510b49004db41dbe72df39a09
2,706
Android-BlogExample
Apache License 2.0
src/test/kotlin/ru/qiwi/devops/mission/control/platform/kubernetes/KubernetesConfig.kt
qiwi
329,911,226
false
null
package ru.qiwi.devops.mission.control.platform.kubernetes import ru.qiwi.devops.mission.control.platform.configuration.TestConfig import java.time.Duration data class KubernetesConfig( val defaultCluster: String?, val waitForEventMs: Long, val generating: GeneratingConfig, val clusters: List<ClusterC...
1
Kotlin
1
1
a5b4a1dc716841bbf0439fa309e3a2b85bbeb1d3
646
k8s-mission-control
MIT License
src/main/kotlin/ch/unil/pafanalysis/analysis/steps/summary_stat/AsyncSummaryStatRunner.kt
UNIL-PAF
419,229,519
false
null
package ch.unil.pafanalysis.analysis.steps.summary_stat import ch.unil.pafanalysis.analysis.model.AnalysisStep import ch.unil.pafanalysis.analysis.steps.CommonStep import ch.unil.pafanalysis.common.ReadTableData import ch.unil.pafanalysis.common.SummaryStatComputation import org.springframework.scheduling.annotation.A...
0
Kotlin
0
0
ab2cdaaa4b36cd8c7cc0ae91b196162a9fea41c1
1,535
paf-analysis-backend
MIT License
generator/src/commonTest/kotlin/maryk/generator/kotlin/GenerateKotlinForIndexedEnumTest.kt
marykdb
290,454,412
false
{"Kotlin": 3292487, "JavaScript": 1004}
package maryk.generator.kotlin import maryk.test.models.Option import kotlin.test.Test import kotlin.test.assertEquals val generatedKotlinForIndexedEnum = """ package maryk.test.models import maryk.core.properties.enum.IndexedEnumDefinition import maryk.core.properties.enum.IndexedEnumImpl sealed class Option( ...
1
Kotlin
1
8
1da24fb090889aaf712592bcdb34876cb502f13a
1,188
maryk
Apache License 2.0
app/src/main/java/com/example/kotlinglang/b_estruturaDados/reverseStringTeste.kt
johnnymeneses
527,025,619
false
{"Kotlin": 101138}
package b_estruturaDados //import org.junit.Assert //import org.junit.Test class reverseStringTeste { // @Test // fun reverseUsingSB() { // Assert.assertEquals("ynnhoJ", reverseUsingSB("Johnny")) // } // // @Test // fun reverseStringLoop() { // Assert.assertEquals("seseneM", reverseUsin...
0
Kotlin
0
0
81adfdad80400ece05a66d49dc7aeea7d107a68b
703
kotlin-lang
MIT License
app/src/main/java/com/destr/financehelper/data/datasource/cloud/JsonMapDeserializer.kt
DESTROYED
252,989,159
false
null
package com.destr.financehelper.data.datasource.cloud import com.destr.financehelper.data.datasource.cloud.response.PairDetail import com.google.gson.* import java.lang.reflect.Type class JsonMapDeserializer : JsonDeserializer<Map<String, PairDetail>> { override fun deserialize( json: JsonElement?, ...
0
Kotlin
0
0
8fa90bc008aff86cb682d8ca414acf705d54d15c
752
ExmoFinanceHelper
Apache License 2.0
idea/testData/intentions/toInfixCall/doubleFunctionCall.kt
staltz
38,581,975
true
{"Java": 15450397, "Kotlin": 8578737, "JavaScript": 176060, "HTML": 22810, "Lex": 17327, "Protocol Buffer": 13024, "ANTLR": 9689, "CSS": 9431, "Shell": 3931, "IDL": 3257, "Groovy": 3010, "Batchfile": 2831}
fun foo(x: Int) { (x.<caret>times(1)).div(2) }
0
Java
0
1
80074c71fa925a1c7173e3fffeea4cdc5872460f
51
kotlin
Apache License 2.0