Dataset Viewer
Auto-converted to Parquet Duplicate
path
stringlengths
4
280
owner
stringlengths
2
39
repo_id
int64
21.1k
756M
is_fork
bool
2 classes
languages_distribution
stringlengths
12
2.44k
⌀
content
stringlengths
6
6.29M
issues
float64
0
10k
⌀
main_language
stringclasses
128 values
forks
int64
0
54.2k
stars
int64
0
157k
commit_sha
stringlengths
40
40
size
int64
6
6.29M
name
stringlengths
1
100
license
stringclasses
104 values
app/src/main/kotlin/io/trewartha/positional/ui/ViewModelEvent.kt
mtrewartha
62,930,438
false
null
package io.trewartha.positional.ui abstract class ViewModelEvent { var handled = false }
1
Kotlin
2
18
63f1e5813ae5351459c970f46c1c8dd77f66a8b5
94
positional
MIT License
demo-app/src/main/java/com/zero/xera/parcelable/demo/LargeData.kt
0xera
746,013,123
false
{"Kotlin": 30604, "Java": 19845}
package com.zero.xera.parcelable.demo import android.os.Parcelable import kotlinx.parcelize.Parcelize import java.io.Serializable import java.util.UUID internal interface LargeData { val list: List<String> } private val genData = MutableList(50_000) { UUID.randomUUID().toString() } data class SerializableLa...
0
Kotlin
0
8
f1be77798e430e91c07b21e181c71c6b6c544216
704
parcelable
MIT License
app/src/main/kotlin/org/mifos/mobile/cn/ui/adapter/DebtIncomeReportAdapter.kt
openMF
133,982,000
false
null
package org.mifos.mobile.cn.ui.adapter import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.recyclerview.widget.RecyclerView import kotlinx.android.synthetic.main.item_debt_income_report.view.* import org.mifos.mobile.cn.R import org.mifos.mobile.cn.data.models.acco...
66
Kotlin
65
37
2dd8750cb34e62e9458469da09c3fb55a258b067
1,574
mifos-mobile-cn
Apache License 2.0
attribouter/src/main/java/me/jfenn/attribouter/wedges/PlayStoreLinkWedge.kt
fennifith
124,246,346
false
null
package me.jfenn.attribouter.wedges import android.content.Context import android.view.View import me.jfenn.attribouter.utils.UrlClickListener class PlayStoreLinkWedge @JvmOverloads constructor(url: String? = null, priority: Int = 0) : LinkWedge( id = "playStore", name = "@string/attribouter_title_pla...
5
Kotlin
13
118
bfa65610b55a1b88673a321dd3bdd9ac409cf6a0
671
Attribouter
Apache License 2.0
app/src/main/java/com/razi/booking/BookingHistoryActivity.kt
alokrathava
352,985,296
false
{"Java": 67727, "Kotlin": 34757}
package com.razi.booking import android.os.Bundle import android.util.Log import androidx.appcompat.app.AppCompatActivity import androidx.lifecycle.lifecycleScope import com.adapters.OrderAdapter import com.data.Order import com.network.ApiService import com.network.RetroClass import com.razi.furnitar.databinding.Acti...
1
Java
0
0
bc3377154c39207afa1a0d39ac7dcf8c7c9b6cfa
1,949
ARCLONE
MIT License
src/main/kotlin/net/sportsday/routes/v1/UsersRouter.kt
Sports-day
589,245,462
false
{"Kotlin": 220880, "Dockerfile": 330}
package net.sportsday.routes.v1 import io.ktor.http.* import io.ktor.server.application.* import io.ktor.server.auth.* import io.ktor.server.plugins.* import io.ktor.server.request.* import io.ktor.server.response.* import io.ktor.server.routing.* import net.sportsday.models.LogEvents import net.sportsday.models.Omitt...
9
Kotlin
0
0
368f79670b349e93c5ff03c81d8e38433672e6b7
5,436
SportsDayAPI
Apache License 2.0
compiler/fir/raw-fir/psi2fir/testData/rawBuilder/declarations/secondaryConstructor.kt
JetBrains
3,432,266
false
{"Kotlin": 74444760, "Java": 6669398, "Swift": 4261253, "C": 2620837, "C++": 1953730, "Objective-C": 640870, "Objective-C++": 170766, "JavaScript": 135724, "Python": 48402, "Shell": 30960, "TypeScript": 22754, "Lex": 18369, "Groovy": 17273, "Batchfile": 11693, "CSS": 11368, "Ruby": 10470, "EJS": 5241, "Dockerfile": 513...
// MEMBER_CLASS_FILTER: org.jetbrains.kotlin.fir.symbols.impl.FirConstructorSymbol // BODY_RESOLVE package util @Target(AnnotationTarget.TYPE) annotation class Anno(val position: String) const val prop = "str" abstract class AbstractClass<T> class <caret>MyClass() : @Anno("super type call $prop") AbstractClass<@Ann...
166
Kotlin
5,771
46,772
bef0946ab7e5acd5b24b971eca532c43c8eba750
409
kotlin
Apache License 2.0
agp-7.1.0-alpha01/tools/base/build-system/gradle-core/src/test/java/com/android/build/gradle/internal/services/AsyncResourceProcessorTest.kt
jomof
374,736,765
false
{"Java": 35519326, "Kotlin": 22849138, "C++": 2171001, "HTML": 1377915, "Starlark": 915536, "C": 141955, "Shell": 110207, "RenderScript": 58853, "Python": 25635, "CMake": 18109, "Batchfile": 12180, "Perl": 9310, "Dockerfile": 5690, "Makefile": 4535, "CSS": 4148, "JavaScript": 3488, "PureBasic": 2359, "GLSL": 1628, "AID...
/* * Copyright (C) 2020 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
1
Java
1
0
9e3475f6d94cb3239f27ed8f8ee81b0abde4ef51
3,990
CppBuildCacheWorkInProgress
Apache License 2.0
paper/src/main/kotlin/net/prosavage/factionsx/manager/ConfigFileManager.kt
ryderbelserion
669,875,997
false
null
package net.prosavage.factionsx.manager import net.prosavage.factionsx.FactionsX import net.prosavage.factionsx.persist.IConfigFile import net.prosavage.factionsx.persist.Message import net.prosavage.factionsx.persist.config.* import net.prosavage.factionsx.persist.config.gui.AccessGUIConfig import net.prosavage.facti...
0
Kotlin
0
0
2d3ed828660aa9b9f35ca55edbda519a11ed7756
1,339
Factions
MIT License
lib/src/test/java/com/sha/bulletin/toast/StandardToastTest.kt
ShabanKamell
228,855,441
false
null
package com.sha.bulletin.toast import com.sha.bulletin.DefaultDuplicateStrategy import org.junit.Before import org.junit.Test class StandardToastTest { lateinit var options: StandardToast.Options.Builder @Before fun setup() { options = StandardToast.Options.Builder() } @Test fun cont...
0
Kotlin
0
5
16dcc2b867ae362830b9249e84bb911af7e8a82d
626
Bulletin
Apache License 2.0
kt/godot-library/src/main/kotlin/godot/gen/godot/OpenXRInterface.kt
utopia-rise
289,462,532
false
{"Kotlin": 1464908, "GDScript": 492843, "C++": 484675, "C#": 10278, "C": 8523, "Shell": 8429, "Java": 2136, "CMake": 939, "Python": 75}
// 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...
61
Kotlin
33
445
1dfa11d5c43fc9f85de2260b8e88f4911afddcb9
16,527
godot-kotlin-jvm
MIT License
app/src/main/java/ru/dronelektron/investmentcalculator/di/module/PresentationModule.kt
dronelektron
294,493,925
false
null
package ru.dronelektron.investmentcalculator.di.module import androidx.lifecycle.ViewModelProvider import dagger.Module import dagger.Provides import ru.dronelektron.investmentcalculator.di.annotation.InvestForm import ru.dronelektron.investmentcalculator.domain.usecase.CalculateProfitUseCase import ru.dronelektron.in...
0
Kotlin
0
0
5108e1a2e11f9dade739a277610ff3be9d7f85af
642
investment-calculator
MIT License
app/src/main/java/com/example/inventory/ui/item/ItemEditViewModel.kt
sagargupta35
722,047,338
false
{"Kotlin": 67521}
/* * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
0
Kotlin
0
0
0422029f18ecf3d41592280596bbb88bae09d634
3,003
Inventory
Apache License 2.0
common/src/main/kotlin/io/liquidsoftware/common/logging/Logging.kt
edreyer
445,325,795
false
{"Kotlin": 197484, "Procfile": 119}
package io.liquidsoftware.common.logging import org.slf4j.Logger import org.slf4j.LoggerFactory.getLogger import kotlin.properties.ReadOnlyProperty import kotlin.reflect.KProperty import kotlin.reflect.full.companionObject class LoggerDelegate<in R : Any> : ReadOnlyProperty<R, Logger> { override fun getValue(thisRe...
13
Kotlin
9
28
1cb7199d8aee3d534f9b3369555eb399a613eb64
594
modulith
MIT License
app/src/main/java/com/blockeq/stellarwallet/models/SelectionModel.kt
Block-Equity
128,590,362
false
null
package com.blockeq.stellarwallet.models import org.stellar.sdk.Asset open class SelectionModel(var label: String, var value: Int, var holdings: Double, var asset : Asset?) { override fun toString(): String { return label } }
14
Kotlin
24
32
7996e9c75f4af6dc49241e918494155d0b82493e
243
stellar-android-wallet
MIT License
app/src/main/java/org/simple/clinic/contactpatient/ContactPatientUi.kt
simpledotorg
132,515,649
false
{"Kotlin": 5970450, "Shell": 1660, "HTML": 545}
package org.simple.clinic.contactpatient import org.simple.clinic.overdue.TimeToAppointment import java.time.LocalDate interface ContactPatientUi { fun showProgress() fun hideProgress() /** * Call patient view */ fun switchToCallPatientView() fun switchToSetAppointmentReminderView() fun renderPati...
4
Kotlin
73
223
58d14c702db2b27b9dc6c1298c337225f854be6d
1,603
simple-android
MIT License
app/src/main/java/com/example/quotidian/repo/data/Quotes.kt
lssarao
579,010,205
false
{"Kotlin": 19016}
package com.example.quotidian.repo.data import android.os.Parcelable import androidx.room.ColumnInfo import androidx.room.Entity import androidx.room.PrimaryKey import com.google.gson.annotations.SerializedName import kotlinx.parcelize.Parcelize import kotlinx.serialization.Serializable @Serializable @Parcelize @Enti...
0
Kotlin
0
1
aff9d2bebb0eaa763f6a92c2aa36ae48d238c577
554
jetpack-compose-quotidian
MIT License
libraries/report/src/commonMain/kotlin/com/zegreatrob/testmints/report/MintReporterConfig.kt
robertfmurdock
172,112,213
false
{"Kotlin": 170915, "JavaScript": 796, "Batchfile": 697, "Dockerfile": 282}
package com.zegreatrob.testmints.report import kotlin.native.concurrent.ThreadLocal @ThreadLocal object MintReporterConfig : ReporterProvider { override var reporter: MintReporter = PlaceholderMintReporter }
0
Kotlin
2
6
9044806e7f09bb6365b1854a69a8cf67f2404587
214
testmints
MIT License
algorithms/src/main/kotlin/org/baichuan/sample/algorithms/leetcode/simple/RemoveDuplicates.kt
scientificCommunity
352,868,267
false
{"Java": 154453, "Kotlin": 69817}
package org.baichuan.sample.algorithms.leetcode.simple /** * https://leetcode.cn/problems/remove-duplicates-from-sorted-array/ * 26. 删除有序数组中的重复项 */ class RemoveDuplicates { fun removeDuplicates(nums: IntArray): Int { var pre: Int? = null var end = 0 var i = 0 while (true) { ...
1
Java
0
8
36e291c0135a06f3064e6ac0e573691ac70714b6
935
blog-sample
Apache License 2.0
Chapter07/Journaler API/api/src/main/kotlin/com/journaler/api/reactor/NotesCountNotificationServiceImpl.kt
PacktPublishing
102,436,360
false
null
package com.journaler.api.reactor import com.journaler.api.mail.MailMessage import com.journaler.api.mail.MailService import org.springframework.beans.factory.annotation.Autowired import org.springframework.stereotype.Service @Service class NotesCountNotificationServiceImpl : NotesCountNotificationService { @Aut...
0
Kotlin
12
22
914a9d5d336e3563c3a12b6ad7b8e3321f3ec46d
720
Building-Applications-with-Spring-5-and-Kotlin
MIT License
src/main/kotlin/com/notify/scheduler/ScheduledTasks.kt
u-verma
288,201,627
false
null
package com.notify.scheduler import com.notify.api.user.repository.UserProfileRepository import com.notify.client.email.service.EmailService import org.slf4j.LoggerFactory import org.springframework.scheduling.annotation.Scheduled import org.springframework.stereotype.Component import java.text.SimpleDateFormat @Comp...
0
Kotlin
0
0
c739d5712d03349722c417eefbae348a256a6b4a
983
notification
Apache License 2.0
archimedes-data-jdbc/src/main/kotlin/io/archimedesfw/data/EntityVersionedString.kt
archimedes-projects
362,401,748
false
null
package io.archimedesfw.data interface EntityVersionedString : EntityVersioned<String>, EntityString
0
Kotlin
4
25
000669e868c4d2a1ee84f9007ca9d291b64521b2
102
archimedes-jvm
Apache License 2.0
compiler/backend/src/org/jetbrains/kotlin/codegen/optimization/fixStack/BasicTypeInterpreter.kt
JetBrains
3,432,266
false
{"Kotlin": 74444760, "Java": 6669398, "Swift": 4261253, "C": 2620837, "C++": 1953730, "Objective-C": 640870, "Objective-C++": 170766, "JavaScript": 135724, "Python": 48402, "Shell": 30960, "TypeScript": 22754, "Lex": 18369, "Groovy": 17273, "Batchfile": 11693, "CSS": 11368, "Ruby": 10470, "EJS": 5241, "Dockerfile": 513...
/* * Copyright 2010-2021 JetBrains s.r.o. and Kotlin Programming Language contributors. * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. */ package org.jetbrains.kotlin.codegen.optimization.fixStack import org.jetbrains.kotlin.codegen.inline.insnOpc...
166
Kotlin
5,771
46,772
bef0946ab7e5acd5b24b971eca532c43c8eba750
7,187
kotlin
Apache License 2.0
compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.3.fir.kt
JetBrains
3,432,266
false
{"Kotlin": 74444760, "Java": 6669398, "Swift": 4261253, "C": 2620837, "C++": 1953730, "Objective-C": 640870, "Objective-C++": 170766, "JavaScript": 135724, "Python": 48402, "Shell": 30960, "TypeScript": 22754, "Lex": 18369, "Groovy": 17273, "Batchfile": 11693, "CSS": 11368, "Ruby": 10470, "EJS": 5241, "Dockerfile": 513...
// SKIP_TXT /* * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-100 * MAIN LINK: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 2 * NUMBER: 3 * DESCRIPTION: Type checking (comparison with invalid types) of various integer literals. * HELPERS: checkType ...
166
Kotlin
5,771
46,772
bef0946ab7e5acd5b24b971eca532c43c8eba750
6,435
kotlin
Apache License 2.0
analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/destructuringDeclaration/scriptStatementLevelAsLastStatement.kts
JetBrains
3,432,266
false
{"Kotlin": 74444760, "Java": 6669398, "Swift": 4261253, "C": 2620837, "C++": 1953730, "Objective-C": 640870, "Objective-C++": 170766, "JavaScript": 135724, "Python": 48402, "Shell": 30960, "TypeScript": 22754, "Lex": 18369, "Groovy": 17273, "Batchfile": 11693, "CSS": 11368, "Ruby": 10470, "EJS": 5241, "Dockerfile": 513...
// RESOLVE_SCRIPT // BODY_RESOLVE package util annotation class Anno(val str: String) const val constant = "s" data class Pair(val a: @Anno("a type $constant") List<@Anno("a nested type $constant") Collection<@Anno("a nested nested type $constant") String>>?, val b: @Anno("b type $constant") Array<@Anno("b nested type...
166
Kotlin
5,771
46,772
bef0946ab7e5acd5b24b971eca532c43c8eba750
628
kotlin
Apache License 2.0
app/src/main/java/com/vshyrochuk/topcharts/data/datasource/ChartsRemoteDataSource.kt
Mc231
524,970,692
false
null
package com.vshyrochuk.topcharts.data.datasource import com.vshyrochuk.topcharts.BuildConfig import com.vshyrochuk.topcharts.data.network.ChartsApi import com.vshyrochuk.topcharts.data.network.mapping.toDomain import com.vshyrochuk.topcharts.domain.domain.ChartsDataSource import com.vshyrochuk.topcharts.domain.model.C...
0
Kotlin
0
0
8b9f6ae00d38e69b81cc466adb14bb7d2b48c20f
556
Top-Charts
MIT License
nitrozen-android-lib/src/main/java/com/fynd/nitrozen/components/button/text/TextButton.kt
gofynd
238,860,720
false
null
package com.fynd.nitrozen.components.button.text import androidx.compose.foundation.layout.heightIn import androidx.compose.material.ButtonDefaults import androidx.compose.material.Text import androidx.compose.material.TextButton import androidx.compose.runtime.Composable import androidx.compose.ui.Modifier import and...
1
Kotlin
4
5
2e0506c5ddd9bd0ebd45814ca1c8fef232db336f
2,554
nitrozen-android
MIT License
common/src/commonMain/kotlin/drop/DropEvaluator.kt
alexsocha
181,845,813
false
{"Kotlin": 429248, "Dockerfile": 861, "JavaScript": 402, "Shell": 114}
package mod.lucky.common.drop import mod.lucky.common.* import mod.lucky.common.attribute.* import mod.lucky.common.attribute.evalAttr import kotlin.math.pow const val DEBUG = false private var debugDropFilters = listOf<String>() private var debugDropIndexRange = 0..1000 private var debugDropIndex = debugDropIndexRa...
24
Kotlin
19
32
ecccf2ae066b6c511bce35f16c0b1e06519c31c0
7,204
luckyblock
FSF All Permissive License
command/src/main/kotlin/com/amarcolini/joos/command/SequentialCommand.kt
19279-M1C2
477,597,033
true
{"Kotlin": 541606, "Java": 1396}
package com.amarcolini.joos.command /** * A command that runs commands in sequence. */ class SequentialCommand @JvmOverloads constructor( override val isInterruptable: Boolean = true, vararg val commands: Command ) : CommandGroup(false, *commands) { private var index = -1 override fun init() { ...
0
Kotlin
0
0
9e65a6ac51025627c837e697fe648ab4f95c5169
901
joos
MIT License
projects/execution/src/main/kotlin/silentorb/imp/execution/Types.kt
silentorb
235,929,224
false
{"Kotlin": 189044}
package silentorb.imp.execution import silentorb.imp.core.* data class CompleteFunction( val path: PathKey, val signature: CompleteSignature, val implementation: FunctionImplementation ) data class TypeAlias( val path: TypeHash, val alias: TypeHash? = null, val numericConstraint: NumericTypeC...
3
Kotlin
0
1
ca465c2b0a9864ded53114120d8b98dad44551dd
547
imp-kotlin
MIT License
src/main/kotlin/com/ort/howlingwolf/domain/service/ability/DivineDomainService.kt
h-orito
176,481,255
false
null
package com.ort.howlingwolf.domain.service.ability import com.ort.dbflute.allcommon.CDef import com.ort.howlingwolf.domain.model.ability.AbilityType import com.ort.howlingwolf.domain.model.charachip.Chara import com.ort.howlingwolf.domain.model.charachip.Charas import com.ort.howlingwolf.domain.model.daychange.DayChan...
0
Kotlin
1
3
7ef6d01ade6cfeb96935d6430a1a404bd67ae54e
5,763
howling-wolf-api
MIT License
compiler/testData/diagnostics/nativeTests/specialBackendChecks/objCInterop/t33.kt
JetBrains
3,432,266
false
{"Kotlin": 74444760, "Java": 6669398, "Swift": 4261253, "C": 2620837, "C++": 1953730, "Objective-C": 640870, "Objective-C++": 170766, "JavaScript": 135724, "Python": 48402, "Shell": 30960, "TypeScript": 22754, "Lex": 18369, "Groovy": 17273, "Batchfile": 11693, "CSS": 11368, "Ruby": 10470, "EJS": 5241, "Dockerfile": 513...
// FIR_IDENTICAL // WITH_PLATFORM_LIBS import kotlinx.cinterop.* import platform.darwin.* import platform.Foundation.* class Zzz : NSString { <!CONSTRUCTOR_OVERRIDES_ALREADY_OVERRIDDEN_OBJC_INITIALIZER!>@OptIn(kotlinx.cinterop.BetaInteropApi::class) @OverrideInit constructor(coder: NSCoder) { }<!> @Su...
166
Kotlin
5,771
46,772
bef0946ab7e5acd5b24b971eca532c43c8eba750
417
kotlin
Apache License 2.0
idea/testData/findUsages/kotlin/findClassUsages/kotlinNestedClassAllUsages.1.kt
android
263,405,600
true
null
package b import a.Outer public class X(bar: String? = Outer.A.bar): Outer.A() { var next: Outer.A? = Outer.A() val myBar: String? = Outer.A.bar init { Outer.A.bar = "" Outer.A.foo() } fun foo(a: Outer.A) { val aa: Outer.A = a aa.bar = "" } fun getNext():...
17
Kotlin
65
316
74126637a097f5e6b099a7b7a4263468ecfda144
622
kotlin
Apache License 2.0
intellij.tools.ide.starter/src/com/intellij/ide/starter/golang.kt
JetBrains
499,194,001
false
{"Kotlin": 426021, "C++": 3610, "Makefile": 713}
package com.intellij.ide.starter import com.intellij.ide.starter.path.GlobalPaths import com.intellij.openapi.util.SystemInfo import com.intellij.ide.starter.utils.FileSystem import com.intellij.ide.starter.utils.HttpClient import java.nio.file.Path fun downloadGoSdk(version: String): Path { val os = when { Sys...
0
Kotlin
2
8
79dad83d28351750817d8e0c49ec516941b7c248
1,095
intellij-ide-starter
Apache License 2.0
analysis/analysis-api-standalone/tests/org/jetbrains/kotlin/analysis/api/standalone/fir/test/configurators/AnalysisApiFirStandaloneModeTestConfiguratorFactory.kt
JetBrains
3,432,266
false
{"Kotlin": 74444760, "Java": 6669398, "Swift": 4261253, "C": 2620837, "C++": 1953730, "Objective-C": 640870, "Objective-C++": 170766, "JavaScript": 135724, "Python": 48402, "Shell": 30960, "TypeScript": 22754, "Lex": 18369, "Groovy": 17273, "Batchfile": 11693, "CSS": 11368, "Ruby": 10470, "EJS": 5241, "Dockerfile": 513...
/* * Copyright 2010-2023 JetBrains s.r.o. and Kotlin Programming Language contributors. * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. */ package org.jetbrains.kotlin.analysis.api.standalone.fir.test.configurators import org.jetbrains.kotlin.analy...
166
Kotlin
5,771
46,772
bef0946ab7e5acd5b24b971eca532c43c8eba750
1,847
kotlin
Apache License 2.0
idea/testData/intentions/addForLoopIndices/explicitParamType.kt
android
263,405,600
true
null
// WITH_RUNTIME fun a() { val b = listOf(1,2,3,4,5) for (<caret>c : Int in b) { } }
15
Kotlin
37
316
74126637a097f5e6b099a7b7a4263468ecfda144
96
kotlin
Apache License 2.0
src/test/kotlin/com/dprint/services/editorservice/process/EditorProcessTest.kt
dprint
419,904,216
false
{"Kotlin": 130008}
package com.dprint.services.editorservice.process import com.dprint.config.UserConfiguration import com.dprint.utils.getValidConfigPath import com.dprint.utils.getValidExecutablePath import com.dprint.utils.infoLogWithConsole import com.intellij.execution.configurations.GeneralCommandLine import com.intellij.openapi.p...
4
Kotlin
2
7
191ab01e4eb5b0fa941c6f807ccf40915d007257
2,889
dprint-intellij
MIT License
src/main/kotlin/app/quiz/images/ImageRepository.kt
waterlink
150,397,627
false
null
package app.quiz.images interface ImageRepository { fun upload(image: ByteArray): String }
13
Kotlin
3
10
e4968ba369ce40258e9d3c069d918430fef015c0
96
kotlin-spring-boot-mvc-starter
MIT License
app/src/main/java/com/davismiyashiro/expenses/model/localrepo/TabDbSchema.kt
DavisJP
109,140,022
false
null
/* * MIT License * * Copyright (c) 2019 <NAME> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, m...
0
Kotlin
0
0
e88daf146151fa7ff3d2d4cc0a378af480dc48aa
2,164
Expenses
MIT License
imagepicker/src/main/java/com/shz/imagepicker/imagepicker/model/PickedResult.kt
ShiftHackZ
418,227,897
false
{"Kotlin": 61367}
package com.shz.imagepicker.imagepicker.model import java.io.Serializable import com.shz.imagepicker.imagepicker.ImagePickerCallback /** * Describes all available business logic pick-operation result. * * Implements [Serializable]. * * @see ImagePickerCallback */ sealed class PickedResult : Serializable { /...
0
Kotlin
4
8
5fff8486c1dc3c4a6ad4a60bdb9505593f9f980c
1,324
ImagePicker
Apache License 2.0
ktor-client/ktor-client-java/build.gradle.kts
ddadon10
378,281,313
true
{"Kotlin": 5244117, "Python": 948, "JavaScript": 775, "HTML": 88, "Mustache": 77}
val coroutines_version: String by project.extra kotlin.sourceSets { val jvmMain by getting { dependencies { api(project(":ktor-client:ktor-client-core")) implementation("org.jetbrains.kotlinx:kotlinx-coroutines-jdk8:$coroutines_version") } } val jvmTest by getting { ...
6
null
1
1
425fc32d020317f6b6b8aa30f2182904270919ec
420
ktor
Apache License 2.0
app/src/main/kotlin/com/rayfantasy/icode/model/ICodeTheme.kt
RayFantasyStudio
50,503,759
false
null
/* * Copyright 2016 <NAME> aka. ztc1997 * * 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 ...
6
Kotlin
7
12
9751ec05a22f333e66cb0dccb013108127320f58
3,116
iCode-Android
Apache License 2.0
src/test/java/tech/sirwellington/cs/MainTest.kt
SirWellington
172,366,874
false
{"Java": 9509, "Kotlin": 2162}
package tech.sirwellington.cs import org.junit.runner.RunWith import tech.sirwellington.alchemy.test.junit.runners.* @RunWith(AlchemyTestRunner::class) class MainTest { @org.junit.Before fun setup() { } }
0
Java
0
0
fc8e2c3850eaaf6d5db042471f6588f281bf5ff3
224
CS-Fundamentals
MIT License
app/src/main/java/com/dkmkknub/villtech/component/PostingField.kt
fahmigutawan
510,392,118
false
{"Kotlin": 197257}
package com.dkmkknub.villtech.component import androidx.activity.compose.rememberLauncherForActivityResult import androidx.activity.result.contract.ActivityResultContracts import androidx.compose.foundation.BorderStroke import androidx.compose.foundation.layout.* import androidx.compose.foundation.lazy.LazyColumn impo...
0
Kotlin
0
0
899205eef1d12aa40a04a0603d4b4af0540e2673
15,439
Jetpack-VillTech
MIT License
core/descriptors/src/org/jetbrains/kotlin/resolve/sam/SamConstructorDescriptor.kt
JetBrains
3,432,266
false
{"Kotlin": 74444760, "Java": 6669398, "Swift": 4261253, "C": 2620837, "C++": 1953730, "Objective-C": 640870, "Objective-C++": 170766, "JavaScript": 135724, "Python": 48402, "Shell": 30960, "TypeScript": 22754, "Lex": 18369, "Groovy": 17273, "Batchfile": 11693, "CSS": 11368, "Ruby": 10470, "EJS": 5241, "Dockerfile": 513...
/* * Copyright 2010-2020 JetBrains s.r.o. and Kotlin Programming Language contributors. * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. */ package org.jetbrains.kotlin.resolve.sam import org.jetbrains.kotlin.descriptors.CallableMemberDescriptor imp...
166
Kotlin
5,771
46,772
bef0946ab7e5acd5b24b971eca532c43c8eba750
1,705
kotlin
Apache License 2.0
app/src/main/java/com/agenda/up/listeners/telamain/VerificarCurrentUser.kt
Araujo-Alisson
596,383,449
false
null
package com.agenda.up.listeners.telamain interface VerificarCurrentUser { fun onSucesso() fun onFailure() }
1
Kotlin
0
0
1a74801e3a82982d024fb85defa664396ade2eb9
125
Up
Apache License 2.0
src/main/kotlin/com/kotlinHSE/sergey/tinkoff_api/schemas/Candles.kt
SergeyHSE7
333,788,653
false
null
package com.kotlinHSE.sergey.tinkoff_api.schemas import kotlinx.serialization.Serializable @Serializable data class Candles( val figi: String, val interval: String, val candles: Array<Candle> )
0
Kotlin
0
0
97c3e66ed96e70f54c7cdaadf60ae810e840b191
220
kotlin_fin-assistant
Apache License 2.0
src/test/java/com/kimen/Tester.kt
Kimentanm
331,475,192
false
{"Vue": 23918, "JavaScript": 16804, "Kotlin": 15560, "HTML": 804, "Dockerfile": 677, "Java": 592, "Shell": 180}
package com.kimen import org.junit.runner.RunWith import org.springframework.boot.test.context.SpringBootTest import org.springframework.test.annotation.Rollback import org.springframework.test.context.junit4.SpringRunner @RunWith(SpringRunner::class) @SpringBootTest @Rollback abstract class Tester { }
0
Vue
2
2
75e4015c5b2d03fba83415250ff0cb7ee418f5f6
305
whale-photos
MIT License
compiler/fir/analysis-tests/testData/resolveWithStdlib/functionAndFunctionN.kt
JetBrains
3,432,266
false
{"Kotlin": 74444760, "Java": 6669398, "Swift": 4261253, "C": 2620837, "C++": 1953730, "Objective-C": 640870, "Objective-C++": 170766, "JavaScript": 135724, "Python": 48402, "Shell": 30960, "TypeScript": 22754, "Lex": 18369, "Groovy": 17273, "Batchfile": 11693, "CSS": 11368, "Ruby": 10470, "EJS": 5241, "Dockerfile": 513...
fun takeAnyFun(function: Function<*>) {} fun test(block: () -> Unit) { takeAnyFun(block) }
166
Kotlin
5,771
46,772
bef0946ab7e5acd5b24b971eca532c43c8eba750
96
kotlin
Apache License 2.0
app/src/main/java/com/newsapp/models/news/Article.kt
Anasmirza20
428,017,744
false
{"Kotlin": 26961}
package com.newsapp.models.news data class Article( val author: String, val content: String?, val description: String?, val publishedAt: String, val source: Source, val title: String, val url: String?, val urlToImage: String?, var isAlreadyLike: Boolean = false, var isAlreadyDis...
0
Kotlin
0
0
c6314f04244aa638321b836d8208c2731a612c1d
344
News-App
Apache License 2.0
compiler/testData/diagnostics/tests/modifiers/annotations.fir.kt
android
263,405,600
true
null
annotation class My( public val x: Int, protected val y: Int, internal val z: Int, private val w: Int ) open class Your { open val x: Int = 0 } annotation class His(override val x: Int): Your()
15
Kotlin
37
316
74126637a097f5e6b099a7b7a4263468ecfda144
215
kotlin
Apache License 2.0
RateBottomSheet/app/src/main/java/com/timac/ratebottomsheet/MainActivity.kt
HenryMacharia254
327,206,499
false
{"Kotlin": 23971}
package com.timac.ratebottomsheet import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.widget.Toast import com.mikhaellopez.ratebottomsheet.AskRateBottomSheet import com.mikhaellopez.ratebottomsheet.RateBottomSheet import com.mikhaellopez.ratebottomsheet.RateBottomSheetManager import...
0
Kotlin
0
0
e69d7b4f9bbf62fb9b7d84ef5e084544e7448c28
2,201
Android-UI--Implementations
MIT License
sphinx/screens-detail/contact/edit-contact/src/main/java/chat/sphinx/edit_contact/ui/EditContactFragment.kt
stakwork
340,103,148
false
{"Kotlin": 4002503, "Java": 403469, "JavaScript": 4745, "HTML": 4706, "Shell": 2453}
package chat.sphinx.edit_contact.ui import android.os.Bundle import android.view.View import androidx.fragment.app.viewModels import androidx.lifecycle.lifecycleScope import by.kirich1409.viewbindingdelegate.viewBinding import chat.sphinx.concept_user_colors_helper.UserColorsHelper import chat.sphinx.contact.databindi...
96
Kotlin
8
18
4fd9556a4a34f14126681535558fe1e39747b323
2,345
sphinx-kotlin
MIT License
src/test/kotlin/io/github/trustedshops_public/spring_boot_starter_keycloak_path_based_resolver/keycloak/NoPathMatcherExceptionTest.kt
trustedshops-public
524,078,409
false
{"Kotlin": 22803}
package io.github.trustedshops_public.spring_boot_starter_keycloak_path_based_resolver.keycloak import org.junit.jupiter.api.Assertions.* import org.junit.jupiter.api.Test class NoPathMatcherExceptionTest { @Test fun `Verify that error message can be built`() { assertEquals( NoPathMatcherE...
2
Kotlin
0
0
451885d836f596ae1423b78d9a7a873552b42e18
443
spring-boot-starter-keycloak-path-based-resolver
MIT License
src/commonMain/kotlin/de/tfr/game/util/Timer.kt
TobseF
172,265,691
false
{"Kotlin": 34687, "Shell": 1210}
package de.tfr.game.util class Timer(var actionTime: Double, private val timerAction: () -> Unit) : Time { override var time = 0.0 private var pause = false fun update(deltaTime: Double) { time += deltaTime if (!pause && time >= actionTime) { time = 0.0 timerActio...
1
Kotlin
5
24
a378d865d06ddd7455343ee899b0531565b2f768
448
HitKlack
MIT License
app/src/main/kotlin/io/orangebuffalo/simpleaccounting/domain/documents/storage/noop/NoopDocumentsStorage.kt
orange-buffalo
154,902,725
false
{"Kotlin": 915625, "TypeScript": 536700, "Vue": 256779, "SCSS": 30586, "JavaScript": 6806, "HTML": 633, "CSS": 10}
package io.orangebuffalo.simpleaccounting.domain.documents.storage.noop import io.orangebuffalo.simpleaccounting.domain.documents.storage.DocumentsStorage import io.orangebuffalo.simpleaccounting.domain.documents.storage.DocumentsStorageStatus import io.orangebuffalo.simpleaccounting.domain.documents.storage.SaveDocum...
67
Kotlin
0
1
bec32d609ecb678203f5ab1afecb9b7e627858ef
2,426
simple-accounting
Creative Commons Attribution 3.0 Unported
the.orm.itest/src/test/kotlin/io/the/orm/test/functional/ExamplesTest.kt
christophsturm
260,202,802
false
{"Kotlin": 221994}
package io.the.orm.test.functional import failgood.Test import io.the.orm.ConnectedRepo import io.the.orm.test.DBS import io.the.orm.test.describeOnAllDbs import kotlinx.coroutines.Deferred import kotlinx.coroutines.async import kotlinx.coroutines.channels.Channel import kotlinx.coroutines.coroutineScope import kotlin...
11
Kotlin
0
0
198962eaa510e50fb0790c147fb88440ed26f587
1,677
the.orm
MIT License
src/main/kotlin/no/nav/arbeidsgiver/min_side/services/ereg/EregService.kt
navikt
170,528,339
false
{"Kotlin": 271228, "Dockerfile": 85}
package no.nav.arbeidsgiver.min_side.services.ereg import com.fasterxml.jackson.databind.JsonNode import com.github.benmanes.caffeine.cache.Caffeine import no.nav.arbeidsgiver.min_side.clients.retryInterceptor import no.nav.arbeidsgiver.min_side.models.Organisasjon import org.springframework.beans.factory.annotation.V...
0
Kotlin
0
0
e625f3abc5d915bdbe5aa1861d25e29aabe2dc0e
4,269
min-side-arbeidsgiver-api
MIT License
spigot-core/src/main/kotlin/ru/astrainteractive/astralibs/serialization/KyoriComponentSerializerType.kt
Astra-Interactive
422,588,271
false
{"Kotlin": 110093}
package ru.astrainteractive.astralibs.serialization import kotlinx.serialization.Serializable @Serializable enum class KyoriComponentSerializerType { Json, Gson, Plain, MiniMessage, Legacy }
1
Kotlin
0
3
047f85e57d853166d1aec64ea52e0a956197e711
197
AstraLibs
MIT License
app/src/main/kotlin/useless/android/app/module/app/Colors.kt
kepocnhh
543,966,743
false
{"Kotlin": 34319}
package useless.android.app.module.app import androidx.compose.runtime.Immutable import androidx.compose.ui.graphics.Color @Immutable internal class Colors private constructor( val background: Color, val foreground: Color, ) { companion object { val dark = Colors( background = Color.Bl...
0
Kotlin
0
0
22c2325164b49a592e027991ed34700073f601fe
495
AndroidAppUseless
MIT License
compiler/testData/diagnostics/tests/generics/wrongNumberOfTypeArgumentsDiagnostic.kt
android
263,405,600
true
null
// !WITH_NEW_INFERENCE // !DIAGNOSTICS: -UNUSED_PARAMETER, -UNUSED_VARIABLE fun myFun(i : String) {} fun myFun(i : Int) {} fun test1() { <!NI;NONE_APPLICABLE!>myFun<!><!OI;WRONG_NUMBER_OF_TYPE_ARGUMENTS!><Int><!>(3) <!NONE_APPLICABLE!>myFun<!><String>('a') } fun test2() { val m0 = java.util.<!NI;NEW_INFE...
15
Kotlin
37
316
74126637a097f5e6b099a7b7a4263468ecfda144
590
kotlin
Apache License 2.0
compiler/testData/codegen/box/properties/backingField/independentBackingFieldType.kt
JetBrains
3,432,266
false
{"Kotlin": 74444760, "Java": 6669398, "Swift": 4261253, "C": 2620837, "C++": 1953730, "Objective-C": 640870, "Objective-C++": 170766, "JavaScript": 135724, "Python": 48402, "Shell": 30960, "TypeScript": 22754, "Lex": 18369, "Groovy": 17273, "Batchfile": 11693, "CSS": 11368, "Ruby": 10470, "EJS": 5241, "Dockerfile": 513...
// TARGET_BACKEND: JVM_IR // TARGET_BACKEND: JS_IR // TARGET_BACKEND: JS_IR_ES6 // TARGET_BACKEND: WASM // IGNORE_BACKEND_K1: JVM_IR, JS_IR, JS_IR_ES6, WASM fun createString() = "AAA" + "BBB" class A { var it: Int field = 3.14 get() = (field + 10).toInt() set(value) { field = (...
166
Kotlin
5,771
46,772
bef0946ab7e5acd5b24b971eca532c43c8eba750
1,012
kotlin
Apache License 2.0
android/room/src/main/java/com/example/splitandpay/room/di/RoomModule.kt
timatifey
718,057,019
false
{"Kotlin": 116639, "TypeScript": 52420, "Swift": 26466, "CSS": 24361, "HTML": 9914, "JavaScript": 1425, "Dockerfile": 404}
package com.example.splitandpay.room.di import com.example.splitandpay.room.RoomModelMapper import com.example.splitandpay.room.RoomViewModel import org.koin.androidx.viewmodel.dsl.viewModel import org.koin.dsl.module val roomModule = module { single { RoomModelMapper() } viewModel { RoomViewModel(get...
0
Kotlin
0
3
3e24e188d15308b67d1eae1169072c67fb11c403
345
split-and-pay
MIT License
js/js.translator/testData/box/coroutines/dynamicSuspendReturnWithArrayAccess.kt
JetBrains
3,432,266
false
{"Kotlin": 74444760, "Java": 6669398, "Swift": 4261253, "C": 2620837, "C++": 1953730, "Objective-C": 640870, "Objective-C++": 170766, "JavaScript": 135724, "Python": 48402, "Shell": 30960, "TypeScript": 22754, "Lex": 18369, "Groovy": 17273, "Batchfile": 11693, "CSS": 11368, "Ruby": 10470, "EJS": 5241, "Dockerfile": 513...
// IGNORE_BACKEND: JS // WITH_STDLIB // EXPECTED_REACHABLE_NODES: 1292 import kotlin.coroutines.* import kotlin.coroutines.intrinsics.* suspend fun foo(): dynamic { return js("[1, 2, 3]") } fun builder(c: suspend () -> Unit) { c.startCoroutine(object : Continuation<Unit> { override val context = Empt...
166
Kotlin
5,771
46,772
bef0946ab7e5acd5b24b971eca532c43c8eba750
666
kotlin
Apache License 2.0
mpdomain/src/main/java/com/jpp/mpdomain/usecase/GetCreditsUseCase.kt
perettijuan
156,444,935
false
null
package com.jpp.mpdomain.usecase import com.jpp.mpdomain.CastCharacter import com.jpp.mpdomain.Connectivity import com.jpp.mpdomain.Credits import com.jpp.mpdomain.ImagesConfiguration import com.jpp.mpdomain.repository.ConfigurationRepository import com.jpp.mpdomain.repository.ConnectivityRepository import com.jpp.mpd...
9
Kotlin
7
46
7921806027d5a9b805782ed8c1cad447444f476b
1,879
moviespreview
Apache License 2.0
app/src/main/java/ru/mail/march/sample/PresenterImpl.kt
mailru
263,284,417
false
null
package ru.mail.march.sample import ru.mail.march.interactor.InteractorObtainer class PresenterImpl(view: Presenter.View, interactorObtainer: InteractorObtainer): Presenter { private val interactor = interactorObtainer.obtain(SampleInteractor::class.java) { SampleInteractor() } init { int...
2
Kotlin
1
11
74522ab9e1cc2b07763a3ee240c727155d45f194
572
March
MIT License
feature-staking-api/src/main/java/jp/co/soramitsu/feature_staking_api/domain/model/StakingAccount.kt
izhestkov
346,603,452
true
{"Kotlin": 1066068}
package jp.co.soramitsu.feature_staking_api.domain.model import jp.co.soramitsu.core.model.CryptoType import jp.co.soramitsu.core.model.Network data class StakingAccount( val address: String, val name: String?, val cryptoType: CryptoType, val network: Network )
0
null
0
0
f63b80c711d17b9f07e8632260b69029dea6e517
279
fearless-Android
Apache License 2.0
pubsub/src/main/kotlin/glitch/pubsub/events/json/moderation.kt
GlitchLib
146,582,041
false
{"Java": 236506, "Kotlin": 125095}
package glitch.pubsub.events.json import com.google.gson.annotations.JsonAdapter import com.google.gson.annotations.SerializedName import glitch.api.objects.json.interfaces.IDObject import glitch.pubsub.`object`.adapters.ModerationActionAdapter import java.util.* /** * * @author <NAME> [<EMAIL>] * @version %I%, %G...
15
Java
3
11
81283227ee6c3b63866fe1371959a72f8b0d2640
3,812
glitch
MIT License
fluent-icons-extended/src/commonMain/kotlin/com/konyaco/fluent/icons/regular/MusicNote2.kt
Konyaco
574,321,009
false
{"Kotlin": 11029508, "Java": 256912}
package com.konyaco.fluent.icons.regular 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.Regular.MusicNote2: ImageVector get() { if (_musicNote2 != null) { ...
4
Kotlin
4
155
9e86d93bf1f9ca63a93a913c990e95f13d8ede5a
1,872
compose-fluent-ui
Apache License 2.0
src/main/kotlin/fp/kotlin/example/chapter11/exercise/11_2_writeMonad_gcd.kt
funfunStory
101,662,895
false
null
package fp.kotlin.example.chapter11.exercise import fp.kotlin.example.chapter10.Maybe import fp.kotlin.example.chapter10.Nothing import fp.kotlin.example.chapter10.exercise.FunStream import fp.kotlin.example.chapter10.exercise.funStreamOf import fp.kotlin.example.chapter11.logging.WriterMonad /** * * 연습문제 11-2 * ...
1
Kotlin
23
39
bb10ea01d9f0e1b02b412305940c1bd270093cb6
2,014
fp-kotlin-example
MIT License
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
6