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/dev/patrickgold/florisboard/app/FlorisAppActivity.kt
Singitur
408,142,718
true
{"Kotlin": 1278081, "C++": 239868, "CMake": 2100, "C": 528, "Python": 429, "Shell": 37}
/* * Copyright (C) 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...
0
Kotlin
0
0
2d65f2d99d038fbaaea3fe3ad6fa62677f3df2b9
6,540
florisboard
Apache License 2.0
tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/update/BusinessConnectionUpdate.kt
InsanusMokrassar
163,152,024
false
{"Kotlin": 3243076, "Shell": 373}
package dev.inmo.tgbotapi.types.update import dev.inmo.tgbotapi.types.UpdateId import dev.inmo.tgbotapi.types.business_connection.BusinessConnection import dev.inmo.tgbotapi.types.update.abstracts.Update import kotlinx.serialization.Serializable @Serializable data class BusinessConnectionUpdate( override val upda...
13
Kotlin
29
358
482c375327b7087699a4cb8bb06cb09869f07630
389
ktgbotapi
Apache License 2.0
app/src/main/java/com/anorlddroid/wallpapers4e/data/database/CategoriesDao.kt
anorld-droid
469,583,476
false
{"Kotlin": 141967}
package com.anorlddroid.wallpapers4e.data.database import androidx.room.* import kotlinx.coroutines.flow.Flow /** * [Room] DAO for [Category] related operations. */ @Dao abstract class CategoriesDao { @Query("SELECT name FROM categories") abstract fun getAllCategories(): Flow<List<String>> /** * T...
0
Kotlin
0
2
7928508ab6e981a9a5e41f1419331301244d1793
672
UHD-Wallpapers
MIT License
app/src/main/java/com/anorlddroid/wallpapers4e/data/database/CategoriesDao.kt
anorld-droid
469,583,476
false
{"Kotlin": 141967}
package com.anorlddroid.wallpapers4e.data.database import androidx.room.* import kotlinx.coroutines.flow.Flow /** * [Room] DAO for [Category] related operations. */ @Dao abstract class CategoriesDao { @Query("SELECT name FROM categories") abstract fun getAllCategories(): Flow<List<String>> /** * T...
0
Kotlin
0
2
7928508ab6e981a9a5e41f1419331301244d1793
672
UHD-Wallpapers
MIT License
src/main/kotlin/com/jeayeob/coffeelog/constant/ResultCode.kt
radic2510
664,984,356
false
null
package com.jeayeob.coffeelog.constant import com.jeayeob.coffeelog.exception.IResultCode enum class ResultCode(override val code: Int, override val message: String) : IResultCode { /** * Common Result Code */ OK(Code.OK, Message.OK), GENERAL_ERROR(Code.GENERAL_ERROR, Message.GENERAL_ERROR), ...
0
Kotlin
0
0
d96e843364766d93559dcc8d363df9c4a22d14a6
1,406
coffee-log
MIT License
src/main/kotlin/nl/tiemenschut/aoc/lib/dsl/AocService.kt
tschut
584,193,738
false
null
package nl.tiemenschut.aoc.lib.dsl import io.ktor.client.* import io.ktor.client.plugins.* import io.ktor.client.request.* import io.ktor.client.statement.* import io.ktor.http.* import kotlinx.coroutines.runBlocking import nl.tiemenschut.aoc.lib.dsl.ResponseStatus.* class AocService(private val root: String) { p...
5
Kotlin
0
0
581a1edf8dc1dc713ce45a00c7b344875ed63b6b
1,853
aoc-dsl
The Unlicense
src/main/java/net/oxyopia/vice/events/LeftClickEvent.kt
Oxyopiia
689,119,282
false
{"Kotlin": 52652, "Java": 50706}
package net.oxyopia.vice.events class LeftClickEvent : BaseEvent()
1
Kotlin
1
1
f16ccd00e90320f5732d38176ba3ad6d802ea875
67
ViceMod
MIT License
composeApp/src/commonMain/kotlin/org/qrcodedemo/app/ui/BarCodeGeneratorScreen.kt
Chaintech-Network
783,713,756
false
{"Kotlin": 114047, "Swift": 532}
package org.qrcodedemo.app.ui import androidx.compose.foundation.Image import androidx.compose.foundation.background import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.Column import a...
3
Kotlin
11
160
ea25d89e5912141471c21ba6cde624f666b59854
18,802
QRKitComposeMultiplatform
Apache License 2.0
app/src/main/java/com/stack/open_work_mobile/activities/lay_home/FinanceFragment.kt
1OPENWORK
708,477,953
false
{"Kotlin": 132763}
package com.stack.open_work_mobile.activities.lay_home import android.content.Context import android.graphics.Color import android.os.Bundle import android.util.Log import android.view.Gravity import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.ImageView impo...
0
Kotlin
0
0
a50f09e0357cf4bc8854b344a3e668a3eb63c427
28,193
Kotlin
MIT License
compose/ui/ui/src/androidInstrumentedTest/kotlin/androidx/compose/ui/window/DialogTest.kt
androidx
256,589,781
false
{"Kotlin": 106982564, "Java": 66121226, "C++": 9132145, "AIDL": 618719, "Python": 320044, "Shell": 189663, "TypeScript": 40647, "HTML": 35176, "Groovy": 27178, "ANTLR": 26700, "Svelte": 20397, "CMake": 15512, "C": 15043, "GLSL": 3842, "Swift": 3153, "JavaScript": 3019}
/* * Copyright 2020 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
25
Kotlin
983
5,248
8cf1bff2dd0a5a1837dee372a789ea75a037d02e
12,811
androidx
Apache License 2.0
browser-kotlin/src/jsMain/kotlin/js/intl/YearFormat.kt
karakum-team
393,199,102
false
{"Kotlin": 6272741}
// Automatically generated - do not modify! package js.intl import seskar.js.JsValue sealed external interface YearFormat { companion object { @JsValue("numeric") val numeric: YearFormat @JsValue("2-digit") val twoDigit: YearFormat } }
0
Kotlin
8
36
95b065622a9445caf058ad2581f4c91f9e2b0d91
280
types-kotlin
Apache License 2.0
app/src/main/java/com/ibrahimcanerdogan/turkiyebankdatabase/common/NetworkStatusChecker.kt
icanerdogan
837,943,629
false
{"Kotlin": 51459}
package com.ibrahimcanerdogan.turkiyebankdatabase.common import android.content.Context import android.net.ConnectivityManager import android.net.Network import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.channels.awaitClose import kotlinx.coroutines.flow.Flow import kotlinx.coroutines.flow.callbackFlow i...
0
Kotlin
0
0
6aea57e9da6d4c9e35e49ada08038c7e2f22358e
1,095
Turkiye-JetBank-Database
Apache License 2.0
src/main/kotlin/com/github/shiraji/findpullrequest/model/GitRepositoryUrlService.kt
anonfunc
202,916,005
true
{"Kotlin": 52859, "Java": 5338, "Shell": 1894}
package com.github.shiraji.findpullrequest.model class GitRepositoryUrlService { /** * The expected remote url format is * * https://HOST/USER/REPO.git * * git@HOST:USER/REPO.git */ private val userRegex = Regex(".*[/:](.*)/.*.git") private val repoRegex = Regex(".*[/:].*/(.*).git") ...
0
Kotlin
0
0
e94e09bb72697a47cab76039973907d8796406e6
999
find-pull-request
Apache License 2.0
src/main/kotlin/com/scavi/brainsqueeze/adventofcode/Day6CustomCustoms.kt
Scavi
68,294,098
false
{"Java": 1449516, "Kotlin": 59149}
package com.scavi.brainsqueeze.adventofcode class Day6CustomCustoms { fun solve(input: String, all: Boolean): Int { val groups = input.split("\n\n").map { group -> group.split("\n").map { it.toSet() } } return if (all) { groups.map { it.reduce(Set<Char>::union).size }.sum() } el...
1
Java
1
1
79550cb8ce504295f762e9439e806b1acfa057c9
413
BrainSqueeze
Apache License 2.0
feature-staking-impl/src/main/java/io/novafoundation/nova/feature_staking_impl/data/network/subquery/StakingApi.kt
novasamatech
415,834,480
false
{"Kotlin": 7667771, "Java": 14723, "JavaScript": 425}
package io.novafoundation.nova.feature_staking_impl.data.network.subquery import io.novafoundation.nova.common.data.network.subquery.EraValidatorInfoQueryResponse import io.novafoundation.nova.common.data.network.subquery.SubQueryResponse import io.novafoundation.nova.feature_staking_impl.data.network.subquery.request...
17
Kotlin
6
9
67cd6fd77aae24728a27b81eb7f26ac586463aaa
1,341
nova-wallet-android
Apache License 2.0
app/src/main/java/org/blitzortung/android/location/provider/GPSLocationProvider.kt
wuan
1,559,150
false
{"Kotlin": 404521}
package org.blitzortung.android.location.provider import android.Manifest import android.content.Context import android.location.Location import android.location.LocationManager import androidx.core.content.PermissionChecker import javax.inject.Singleton @Singleton class GPSLocationProvider( context: Context, ...
22
Kotlin
32
97
05975d34aba562ee80d9ae7434eb365495d493f3
798
bo-android
Apache License 2.0
common/src/main/kotlin/tech/sethi/pebbles/cobbledhunters/screenhandler/PersonalHuntMenu.kt
navneetset
770,120,520
false
{"Kotlin": 256052}
package tech.sethi.pebbles.cobbledhunters.screenhandler import net.minecraft.entity.player.PlayerEntity import net.minecraft.inventory.SimpleInventory import net.minecraft.screen.GenericContainerScreenHandler import net.minecraft.screen.ScreenHandlerType import net.minecraft.screen.SimpleNamedScreenHandlerFactory impo...
0
Kotlin
0
0
8fb73002a081807a1fde72be877f0e6dec001fce
8,083
pebbles-cobbledhunters-multiplatform
Creative Commons Zero v1.0 Universal
main-course-project/src/main/kotlin/br/com/leuras/app/infrastructure/sql/CustomerOrderSQL.kt
leuras
672,251,747
false
null
package br.com.leuras.app.infrastructure.sql object CustomerOrderSQL { const val SELECT = """ SELECT orders FROM customer_account WHERE customer_id = ? """ const val UPDATE = """ UPDATE customer_account SET orders = ?::jsonb WHERE customer_id = ? """ }
0
Kotlin
0
0
a781207b157a87e22b4ddfa58b87fba060ea5a87
315
kotlin-unit-testing-course
MIT License
firebase-dataconnect/src/main/kotlin/com/google/firebase/dataconnect/core/FirebaseDataConnectImpl.kt
firebase
146,941,185
false
{"Java": 13568535, "PureBasic": 10781995, "Kotlin": 2658699, "Python": 104323, "C++": 86300, "Makefile": 21902, "Shell": 13966, "HCL": 11091, "C": 6939, "JavaScript": 5482, "Mustache": 4729, "Ruby": 2545, "AIDL": 1486, "HTML": 215}
/* * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
440
Java
575
2,270
0697dd3aadd6c13d9e2d321c75173992bfbaac3b
16,929
firebase-android-sdk
Apache License 2.0
app/src/test/java/io/dolby/rtsviewer/di/MockDataModule.kt
dolbyio-samples
605,773,452
false
{"Kotlin": 492042}
package io.dolby.rtsviewer.di import android.content.Context import androidx.compose.runtime.MutableState import androidx.compose.runtime.mutableStateOf import com.millicast.Media import dagger.Module import dagger.Provides import dagger.hilt.android.qualifiers.ApplicationContext import dagger.hilt.components.Singleto...
4
Kotlin
3
2
a45da27c6cdb9f490c266f52e151e715b26872fe
2,165
rts-app-android-viewer
MIT License
app/src/main/java/com/vultisig/wallet/ui/components/VaultCeil.kt
vultisig
789,965,982
false
{"Kotlin": 1611851, "Ruby": 1713}
package com.vultisig.wallet.ui.components import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Row import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.foundation.layout.padding import androidx.compose...
58
Kotlin
2
6
bc136dca92abbc2507d64764737fdccddd9bdf42
5,269
vultisig-android
Apache License 2.0
src/main/kotlin/io/burba/tothecomments/di/AppModule.kt
sburba
169,514,468
false
null
package io.burba.tothecomments.di import com.google.gson.Gson import com.jakewharton.retrofit2.adapter.kotlin.coroutines.CoroutineCallAdapterFactory import dagger.Module import dagger.Provides import io.burba.tothecomments.Config import io.burba.tothecomments.VERSION import io.burba.tothecomments.http.App import io.bu...
0
Kotlin
0
0
8daca9fbc984ec26ef19d93e162c11980b53b49b
2,861
tothecomments
MIT License
library-filelogger/src/main/java/com/michaelflisar/lumberjack/FileLoggingSetup.kt
MFlisar
71,460,539
false
{"Kotlin": 60230}
package com.michaelflisar.lumberjack import android.content.Context import android.os.Parcelable import com.michaelflisar.lumberjack.interfaces.IFileLoggingSetup import kotlinx.parcelize.Parcelize import java.io.File import java.io.PrintWriter import java.util.regex.Pattern sealed class FileLoggingSetup : IFileLoggin...
0
Kotlin
6
37
2329fae619c98cbeab4dfa9698967f321a7e1289
3,653
Lumberjack
Apache License 2.0
app/src/main/java/ar/com/p39/localshare/Settings.kt
Gazer
61,770,816
false
null
package ar.com.p39.localshare /** * Created by gazer on 5/29/16. */ data class Settings(var fakeSSID:Boolean, var fakedSSID:String)
1
null
1
1
77f7d3010de6888b15257d28064008a000daf36d
134
localshare
Apache License 2.0
app/src/main/java/eu/darken/androidkotlinstarter/ServiceBinder.kt
d4rken
187,688,567
false
null
package eu.darken.androidkotlinstarter import dagger.Module import dagger.android.ContributesAndroidInjector import eu.darken.androidkotlinstarter.main.core.service.ExampleService @Module internal abstract class ServiceBinder { @ContributesAndroidInjector internal abstract fun exampleService(): ExampleServic...
1
null
1
9
3f97c595e4a0ba385100702ebd77ed126174b2b0
323
android-kotlin-starter-v2
Apache License 2.0
modules/wasm-binary/src/commonMain/kotlin/visitors/StartSectionAdapter.kt
wasmium
761,480,110
false
null
package org.wasmium.wasm.binary.visitors public open class StartSectionAdapter(protected val delegate: StartSectionVisitor? = null) : StartSectionVisitor { override fun visitStartFunctionIndex(functionIndex: UInt) { delegate?.visitStartFunctionIndex(functionIndex) } public override fun visitEnd() ...
0
null
0
1
f7ddef76630278616d221e7c8251adf0f11b9587
359
wasmium-wasm-binary
Apache License 2.0
src/test/integration/handlers/challenge/ShareChallengeTest.kt
ncent-archive
150,326,270
false
{"Kotlin": 352866, "JavaScript": 7544, "Makefile": 563, "Shell": 222}
package test.integration.handlers.challenge import io.kotlintest.shouldBe import io.kotlintest.specs.WordSpec import io.kotlintest.Description import com.amazonaws.services.lambda.runtime.Context import framework.models.idValue import io.kotlintest.TestResult import kotlinserverless.framework.models.* import io.mockk....
16
Kotlin
2
2
802160f3332c4b6d63d4219067848e38a689c48b
4,199
ncent-api-v2
MIT License
app/src/main/java/com/suda/yzune/wakeupschedule/settings/provider/HorizontalItemProvider.kt
YZune
140,358,025
false
null
package com.suda.yzune.wakeupschedule.settings.provider import android.util.TypedValue import android.view.Gravity import android.view.ViewGroup import androidx.appcompat.widget.AppCompatTextView import androidx.appcompat.widget.LinearLayoutCompat import com.chad.library.adapter.base.provider.BaseItemProvider import c...
19
null
64
530
a69fb7555e0917e0ba8a0dadbf3248364666b089
2,521
WakeupSchedule_Kotlin
Apache License 2.0
src/main/kotlin/dev/meanmail/codeInsight/completion/directives/ngx_http_browser_module.kt
meanmail-dev
315,109,527
false
{"Kotlin": 167591, "Java": 34357, "Lex": 3299, "HTML": 1064}
package dev.meanmail.codeInsight.completion.directives // https://nginx.org/en/docs/http/ngx_http_browser_module.html val ancientBrowser = Directive("ancient_browser") val ancientBrowserValue = Directive( "ancient_browser_value", defaultValue = "1" ) val modernBrowser = Directive("modern_browser") val modernB...
4
Kotlin
6
50
1d7460d1403c331a44358d051e3bd3a26f5fc198
624
nginx-intellij-plugin
MIT License
idea/testData/intentions/removeBraces/ifInsideIf.kt
JakeWharton
99,388,807
false
null
// IS_APPLICABLE: false fun test(b: Boolean): String { if (b == true) { if (true) return "first" }<caret> else if (b == false) { if (true) return "second" } return "none" }
0
null
28
83
4383335168338df9bbbe2a63cb213a68d0858104
209
kotlin
Apache License 2.0
src/main/kotlin/cz/opendatalab/captcha/CaptchaApplication.kt
opendatalabcz
481,095,558
false
{"Kotlin": 221562, "JavaScript": 47287, "HTML": 26542, "CSS": 9253, "Dockerfile": 304}
package cz.opendatalab.captcha import io.mongock.runner.springboot.EnableMongock import org.springframework.boot.autoconfigure.SpringBootApplication import org.springframework.boot.context.properties.ConfigurationPropertiesScan import org.springframework.boot.runApplication @SpringBootApplication @ConfigurationProper...
0
Kotlin
0
0
16e1871255bdda1a79a0b44502d2acc01b6ad0af
447
czech-captcha
Apache License 2.0
documents-service-api/src/main/kotlin/pl/altkom/asc/lab/micronaut/poc/documents/api/queries/finddocuments/FindDocumentsResult.kt
asc-lab
143,267,111
false
null
package pl.altkom.asc.lab.micronaut.poc.documents.api.queries.finddocuments data class FindDocumentsResult(val documents: List<GeneratedDocument>?)
6
null
163
467
9871a2e482f6ff8a358b8f3c6caa460374e76c36
148
micronaut-microservices-poc
Apache License 2.0
onboarding/onboarding_domain/src/main/java/ly/com/tahaben/domain/model/OnBoardingData.kt
tahaak67
508,754,612
false
{"Kotlin": 614590}
package ly.com.tahaben.domain.model data class OnBoardingData( val image: Int, val title: String, val desc: String )
17
Kotlin
4
96
f7efae3a6d3b0ba52b3cdf082727f6beb8eb74d9
126
Farhan
Apache License 2.0
src/main/java/com/ecwid/maleorang/method/v3_0/batches/StartBatchMethod.kt
Ecwid
65,213,967
false
null
package com.ecwid.maleorang.method.v3_0.batches import com.ecwid.maleorang.annotation.Field import com.ecwid.maleorang.MailchimpMethod import com.ecwid.maleorang.MailchimpMethodInfo import com.ecwid.maleorang.MailchimpObject import com.ecwid.maleorang.annotation.APIVersion import com.ecwid.maleorang.annotation.HttpMet...
3
null
34
84
e7f4acc50a7b5c383d8f3c1441e6d4b77b37989f
1,250
maleorang
Apache License 2.0
defitrack-protocols/crv/src/main/java/io/defitrack/protocol/crv/CurvePolygonPoolGraphProvider.kt
decentri-fi
426,174,152
false
null
package io.defitrack.protocol.crv import io.defitrack.common.network.Network import io.defitrack.thegraph.TheGraphGatewayProvider import org.springframework.stereotype.Component @Component class CurvePolygonPoolGraphProvider( theGraphGatewayProvider: TheGraphGatewayProvider ) : CurvePoolGraphProvider( "https:...
17
Kotlin
6
9
f7c65aa58bec3268101d90fc538c3f8bd0c29093
428
defi-hub
MIT License
frontend/compose-html-ext/src/jsMain/kotlin/com/varabyte/kobweb/compose/dom/observers/externals/IntersectionObserver.kt
varabyte
389,223,226
false
null
package com.varabyte.kobweb.compose.dom.observers.externals import org.w3c.dom.DOMRectReadOnly import org.w3c.dom.Element import kotlin.js.Json internal external class IntersectionObserverEntry { val boundingClientRect: DOMRectReadOnly val intersectionRatio: Double val intersectionRect: DOMRectReadOnly ...
113
null
70
992
a6061d7a3b53383e055a94ef4aa430af6647f8b4
779
kobweb
Apache License 2.0
pokedexar-core/src/main/java/com/skydoves/pokedexar_core/ModelAnimations.kt
skydoves
321,092,589
false
null
/* * Designed and developed by 2020 skydoves (<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...
0
Kotlin
54
566
db14b250156c2d29bd7acb5a914ce46a3431faae
2,870
Pokedex-AR
Apache License 2.0
src/test/java/com/github/pires/obd/commands/StatusCommandTest.kt
reline
204,101,964
true
{"Gradle": 2, "Maven POM": 1, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "Markdown": 1, "Java Properties": 1, "Java": 24, "Kotlin": 70, "XML": 1, "YAML": 1}
/** * 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, software * distributed...
1
Kotlin
1
6
b79614e5b8127caa1ff11c962c2a9a4c8290c977
11,304
obd-api
Apache License 2.0
app/src/main/kotlin/by/anegin/vkdiscover/core/model/Link.kt
eugene-kirzhanov
159,214,166
false
{"Kotlin": 72538}
package by.anegin.vkdiscover.core.model class Link( private val url: String ) : Attachment { fun getUrl() = url }
0
Kotlin
0
0
0b7ad65c5e54eefc00673d6fb0171e22bddf0b09
120
vk-mobile-challenge-18
MIT License
after-party/src/androidMain/kotlin/io/ashdavies/android/Layout.kt
ashdavies
36,688,248
false
{"Kotlin": 230959, "HCL": 20577, "Shell": 3934, "Mustache": 2101}
package io.ashdavies.android import androidx.compose.runtime.Composable @Composable public actual fun FlowRow(content: @Composable () -> Unit) { com.google.accompanist.flowlayout.FlowRow(content = content) }
39
Kotlin
33
116
7b82a274bc4f4278d3163a2a4dee6c8d8e862ac5
214
playground.ashdavies.dev
Apache License 2.0
app/src/main/kotlin/com/pnuema/bible/android/statics/CurrentSelected.kt
barnhill
98,140,541
false
null
package com.pnuema.bible.android.statics import android.content.Context import android.preference.PreferenceManager import android.util.Log import androidx.datastore.core.DataStore import androidx.datastore.preferences.core.edit import androidx.datastore.preferences.core.stringPreferencesKey import androidx.datastore....
0
Kotlin
2
13
ca2ddcf6d29e78df59a835b4076605a919cdf957
2,169
Bible
Apache License 2.0
saksbehandlingsstatistikk/src/main/kotlin/no/nav/helse/spre/saksbehandlingsstatistikk/DataSourceBuilder.kt
navikt
342,325,871
false
null
package no.nav.helse.spre.saksbehandlingsstatistikk import com.zaxxer.hikari.HikariConfig import com.zaxxer.hikari.HikariDataSource import org.flywaydb.core.Flyway internal class DataSourceBuilder(private val dbConfig: Environment.DB) { private val hikariConfig = HikariConfig().apply { jdbcUrl = dbConfig...
0
null
2
1
2adea5abb9092ca8c08271ef43d18a17b4f303e4
818
helse-spre
MIT License
src/main/kotlin/com/nanabell/quickstart/config/adapter/AbstractConfigAdapter.kt
Nanabell
243,985,934
false
null
package com.nanabell.quickstart.config.adapter import com.nanabell.quickstart.config.AdaptableConfigProvider import com.nanabell.quickstart.config.node.NodeProvider import com.nanabell.quickstart.util.AdapterNotAttachedException import ninja.leaping.configurate.ConfigurationNode import ninja.leaping.configurate.commen...
0
Kotlin
0
0
47e82a4bb6190542518ac2297bff80dfdbd1f349
2,180
Simple-Moduleloader
MIT License
src/main/kotlin/reporter/Reporter.kt
fraunhofer-iem
738,423,065
false
{"Kotlin": 180328, "HTML": 3405, "Dockerfile": 1581}
package reporter import commands.calculateTechnicalLag.visualization.Visualizer import kotlinx.coroutines.CoroutineDispatcher import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.withContext import kotlinx.serialization.json.Json import org.jetbrains.kotlinx.dataframe.DataFrame import org.jetbrains.kotlinx....
6
Kotlin
0
1
4fdb322d0302e87eff97444af3fcfb85732c58b5
2,437
technical-lag-calculator
MIT License
src/main/java/tml/cuajet/apis/SimpleFileCloudStorageAPI.kt
devngmo
273,853,362
false
null
package tml.cuajet.apis import tml.cuajet.storages.StorageCloudAPIInterface import tml.libs.cku.event.TaskResultListener import java.io.InputStream class SimpleFileCloudStorageAPI : StorageCloudAPIInterface { override fun addFile( info: String, data: ByteArray, callback: TaskResultListener...
0
Kotlin
0
0
964dbb92bd13b087e2bc55be9b200359e8b53822
1,382
tml.cuajet
MIT License
arrow-libs/optics/arrow-optics-ksp-plugin/src/main/kotlin/arrow/optics/plugin/OpticsProcessorProvider.kt
arrow-kt
86,057,409
false
{"Kotlin": 1993399, "Java": 434}
package arrow.optics.plugin import com.google.devtools.ksp.processing.SymbolProcessor import com.google.devtools.ksp.processing.SymbolProcessorEnvironment import com.google.devtools.ksp.processing.SymbolProcessorProvider class OpticsProcessorProvider : SymbolProcessorProvider { override fun create(environment: Symb...
42
Kotlin
451
6,170
c47d9bcfbb402f827b312dbcfec1d5cf68ba2fc3
482
arrow
Apache License 2.0
src/main/kotlin/core/lambdaAndCollection/collectionOfHigherOrderFunctionsAPI/SumBySumFoldAndReduce.kt
programing-language
375,609,760
false
{"Gradle": 1, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "Markdown": 2, "Java Properties": 1, "Kotlin": 192, "Java": 3}
package core.lambdaAndCollection.collectionOfHigherOrderFunctionsAPI /** * Created by ChenJinXin on 2021/7/1 下午2:40 */ fun test3() { val scoreTotal = students.sumBy { it.score } println(scoreTotal) val a = listOf<Int>(1, 2, 3, 4, 5) val b = listOf<Double>(1.1, 2.5, 3.0, 4.5) val aTotal = a.sumBy...
1
null
1
1
f614aef0f625b0ac403dd0f8acfe3be384ae25e5
703
KotlinCoreProgramming
Apache License 2.0
android/app/src/main/java/org/cryptimeleon/incentive/app/ui/common/BottomNav.kt
cryptimeleon
320,273,336
false
{"Java": 716234, "Kotlin": 330128, "Vue": 27878, "JavaScript": 2540, "Shell": 2198, "Dockerfile": 703, "HTML": 589, "CSS": 148}
package org.cryptimeleon.incentive.app.ui.common import androidx.annotation.StringRes import androidx.compose.material.icons.Icons import androidx.compose.material.icons.filled.Home import androidx.compose.material.icons.filled.QrCodeScanner import androidx.compose.material.icons.filled.ShoppingBasket import androidx....
31
Java
0
2
a8e9c8830974b3705a2bca80a092ccfc102f6b90
3,485
incentive-system
Apache License 2.0
libs/arrow-meta/src/main/kotlin/arrow/meta/quotes/expression/ThrowExpression.kt
arrow-kt
217,378,939
false
null
package arrow.meta.quotes.expression import arrow.meta.phases.analysis.ElementScope import arrow.meta.quotes.Scope import org.jetbrains.kotlin.psi.KtExpression import org.jetbrains.kotlin.psi.KtThrowExpression /** * <code>"""throw $thrownExpression""".`throw`</code> * * A template destructuring [Scope] for a [KtTh...
100
null
36
297
155df7a8d8dbe3433079fe171567b856503a159c
1,181
arrow-meta
Apache License 2.0
src/main/kotlin/com/simpleprograms/FibonacciNumbers.kt
darian-catalin-cucer
558,823,485
false
{"Markdown": 5, "Text": 1, "Ignore List": 1, "Java": 44, "JavaScript": 1, "Kotlin": 9, "Shell": 1}
/* * MIT License * * Copyright (c) 2022 <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, merg...
1
null
1
1
ca3e20b20785eeeaff8df86ee6181d2aa202f4f1
1,729
SimplePrograms
MIT License
kotlin/src/main/kotlin/io/github/ocirne/rosetta/gildedrose/GildedRose.kt
ocirne
357,521,091
false
null
package io.github.ocirne.rosetta.gildedrose class GildedRose(var items: List<Item>) { fun updateQuality() { items.forEach { updateQuality(it) } } fun updateQuality(item: Item) { when (item.name) { "Sulfuras, Hand of Ragnaros" -> LegendaryItem() "Aged Brie" -> Chees...
1
null
1
1
dd779a56e78db6357ddbbc3c721ab8b7fbcb89d2
1,630
ocirne-rosetta-stone
The Unlicense
compiler/fir/checkers/src/org/jetbrains/kotlin/fir/analysis/diagnostics/FirDiagnosticFactoryDsl.kt
BradOselo
367,097,840
false
null
/* * 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.fir.analysis.diagnostics import com.intellij.psi.PsiElement import org.jetbrains...
1
null
1
3
58c7aa9937334b7f3a70acca84a9ce59c35ab9d1
5,175
kotlin
Apache License 2.0
compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/controlFlow/unreachableCode/pos/6.fir.kt
JetBrains
3,432,266
false
null
// !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts // SKIP_TXT // TESTCASE NUMBER: 1 fun case_1(b: Boolean?, c: Boolean) { funWithExactlyOnceCallsInPlace { if (b == null) return try { when (b) { true -> { println(1) retu...
154
Kotlin
5563
44,965
e6633d3d9214402fcf3585ae8c24213a4761cc8b
1,453
kotlin
Apache License 2.0
src/main/java/com/bot/models/InternalUser.kt
SiberGamer
277,353,342
true
{"Java": 366212, "Kotlin": 9277, "TSQL": 4969, "Makefile": 402, "Dockerfile": 262}
package com.bot.models // WIP public data class InternalUser(val id: String)
0
null
0
0
c8cfb08bda1db1a3d1bb443bd3bbdd5a67636fbd
77
Vinny-Redux
MIT License
Kotlin/src/CoroutineScope.kt
tkuenneth
167,723,105
false
null
import kotlinx.coroutines.coroutineScope import kotlinx.coroutines.delay import kotlinx.coroutines.launch import kotlinx.coroutines.runBlocking fun main() = runBlocking<Unit> { coroutineScope { for (i in 1..10) { launch { delay(i * 1000L) println("$i finished") ...
1
null
1
1
1e5b3d5f6433e1bd808bcf4ee945ea9ecad3a8fc
408
mind_the_thread
Apache License 2.0
detekt-rules-empty/src/test/kotlin/io/gitlab/arturbosch/detekt/rules/empty/EmptyBlocksMultiRuleSpec.kt
detekt
71,729,669
false
null
package io.gitlab.arturbosch.detekt.rules.empty import io.github.detekt.test.utils.compileForTest import io.github.detekt.test.utils.resourceAsPath import io.gitlab.arturbosch.detekt.test.compileAndLint import io.gitlab.arturbosch.detekt.test.lint import io.gitlab.arturbosch.detekt.test.yamlConfig import org.assertj.c...
152
null
644
4,680
594a2daa7f4d044236da18c70fa70d625dc2d246
2,117
detekt
Apache License 2.0
idea/testData/scratch/simpleNoRuntime.kts
damenez
189,964,139
true
{"Kotlin": 37481242, "Java": 7489008, "JavaScript": 157778, "HTML": 74773, "Lex": 23159, "TypeScript": 21255, "IDL": 10895, "ANTLR": 9803, "CSS": 8084, "Shell": 7727, "Groovy": 6940, "Batchfile": 5362, "Swift": 2253, "Ruby": 668, "Objective-C": 293, "Scala": 80}
arrayListOf(1, 2).size //NO_MODULE
0
Kotlin
1
2
dca23f871cc22acee9258c3d58b40d71e3693858
35
kotlin
Apache License 2.0
app/src/test/java/pl/srw/billcalculator/bill/save/PgeDbEntityCreatorTest.kt
sewerk
20,012,125
false
{"Java": 427319, "Kotlin": 313019}
package pl.srw.billcalculator.bill.save import com.nhaarman.mockito_kotlin.doReturn import com.nhaarman.mockito_kotlin.mock import com.nhaarman.mockito_kotlin.verify import org.junit.Assert.assertTrue import org.junit.Test import pl.srw.billcalculator.db.PgeG11Bill import pl.srw.billcalculator.db.PgeG12Bill import pl....
0
Java
3
7
cb30459d77370bfb44b8c45fadf4d515345f919a
2,010
Bill-Calculator
MIT License
modern/src/main/kotlin/rs/emulate/modern/codec/CacheArchive.kt
apollo-rsps
50,723,825
false
null
package rs.emulate.modern.codec import io.netty.buffer.ByteBuf import rs.emulate.modern.ModernCache import rs.emulate.util.crypto.xtea.XteaKey import java.io.Closeable import java.io.FileNotFoundException class CacheArchive( private val cache: ModernCache, private val index: Int, private val archive: Arch...
6
Kotlin
5
12
fba5069744a04835c23373c1d11f90b201cdc604
2,667
Vicis
ISC License
airbrush/src/main/java/com/subgarden/airbrush/GlideModule.kt
frel
88,551,727
false
{"Gradle": 6, "Markdown": 2, "Java Properties": 2, "Shell": 1, "Ignore List": 3, "Batchfile": 1, "Proguard": 2, "Java": 4, "XML": 8, "Kotlin": 17, "RenderScript": 1}
package com.subgarden.airbrush import android.content.Context import android.graphics.drawable.BitmapDrawable import com.bumptech.glide.Glide import com.bumptech.glide.Registry import com.bumptech.glide.annotation.GlideModule import com.bumptech.glide.module.LibraryGlideModule import com.subgarden.airbrush.loaders.* ...
1
Kotlin
1
8
c060e1e1507cd014d99f76b36a46a6bd019ec4c4
1,064
AirBrush
Apache License 2.0
core/src/com/mo/stratego/ui/input/PieceInputListener.kt
GPla
217,608,618
false
null
package com.mo.stratego.ui.input import com.badlogic.ashley.core.ComponentMapper import com.badlogic.ashley.core.Engine import com.badlogic.gdx.math.GridPoint2 import com.badlogic.gdx.scenes.scene2d.InputEvent import com.badlogic.gdx.scenes.scene2d.utils.ActorGestureListener import com.mo.stratego.model.HighlightType ...
1
Kotlin
1
1
bfcde4983771f6eabfd3060278424549d379dccf
3,968
Stratego
MIT License
compiler/testData/diagnostics/tests/functionLiterals/return/LambdaReturnTypeIsUnitIfImplicitReturnExists.kt
JetBrains
3,432,266
false
{"Kotlin": 79571273, "Java": 6776465, "Swift": 4063829, "C": 2609744, "C++": 1957654, "Objective-C++": 175279, "JavaScript": 130754, "Python": 59855, "Shell": 34920, "Objective-C": 21463, "Lex": 21452, "Batchfile": 11382, "CSS": 11368, "Ruby": 10470, "Dockerfile": 9907, "Groovy": 7092, "EJS": 5241, "CMake": 4473, "HTML...
// FIR_IDENTICAL // ISSUE: KT-63563 fun foo(x: () -> Any) = x() fun foo2(x: () -> Unit) = x() fun <T> foo3(x: () -> T): T = x() fun main2() { foo { if ("0".hashCode() == 42) <!RETURN_TYPE_MISMATCH!>return@foo<!> "" } foo2 { if ("1".hashCode() == 42) return@foo2 "" } ...
181
Kotlin
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
425
kotlin
Apache License 2.0
klaxon/src/test/kotlin/com/beust/klaxon/PrettyPrintTest.kt
cbeust
9,588,335
false
null
package com.beust.klaxon import org.testng.Assert import org.testng.annotations.Test class PrettyPrintTest { @Test fun shouldDisplayInts() { val test2 = json { JsonObject(mapOf( "test" to mapOf<String, String>(), "2" to mapOf("test" to 22) )) } val strin...
90
null
126
1,811
cfd3dac07614d27845001de0ca83583239ffbd73
467
klaxon
Apache License 2.0
libnavui-dropin/src/main/java/com/mapbox/navigation/dropin/ViewBinderCustomization.kt
mapbox
87,455,763
false
{"Kotlin": 9692008, "Python": 65081, "Java": 36829, "HTML": 17811, "Makefile": 9840, "Shell": 7129}
package com.mapbox.navigation.dropin import com.mapbox.maps.MapView import com.mapbox.navigation.dropin.actionbutton.ActionButtonDescription import com.mapbox.navigation.dropin.actionbutton.ActionButtonsBinder import com.mapbox.navigation.dropin.infopanel.InfoPanelBinder import com.mapbox.navigation.dropin.map.MapView...
505
Kotlin
319
621
ad73c6011348cb9b24b92a369024ca06f48845ab
8,041
mapbox-navigation-android
Apache License 2.0
libnavui-dropin/src/main/java/com/mapbox/navigation/dropin/ViewBinderCustomization.kt
mapbox
87,455,763
false
{"Kotlin": 9692008, "Python": 65081, "Java": 36829, "HTML": 17811, "Makefile": 9840, "Shell": 7129}
package com.mapbox.navigation.dropin import com.mapbox.maps.MapView import com.mapbox.navigation.dropin.actionbutton.ActionButtonDescription import com.mapbox.navigation.dropin.actionbutton.ActionButtonsBinder import com.mapbox.navigation.dropin.infopanel.InfoPanelBinder import com.mapbox.navigation.dropin.map.MapView...
505
Kotlin
319
621
ad73c6011348cb9b24b92a369024ca06f48845ab
8,041
mapbox-navigation-android
Apache License 2.0
src/com/koxudaxi/poetry/PyPoetrySdkFlavor.kt
koxudaxi
262,716,981
false
null
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.koxudaxi.poetry import com.jetbrains.python.sdk.flavors.CPythonSdkFlavor import java.io.File /** * @author vlan */ /** * This source code is edited by @koxudaxi...
27
Kotlin
14
178
51b33be1c68a151459c8fb4cb5bedd1f93c502f4
510
poetry-pycharm-plugin
Apache License 2.0
stripe/src/main/java/com/stripe/android/model/SourceRedirect.kt
swdreams
220,836,994
true
{"Kotlin": 1543131, "Java": 141606, "Ruby": 6208}
package com.stripe.android.model import androidx.annotation.StringDef import androidx.annotation.VisibleForTesting import com.stripe.android.model.StripeJsonUtils.optString import org.json.JSONException import org.json.JSONObject /** * Model for a [redirect](https://stripe.com/docs/api/sources/object#source_object-r...
0
null
1
2
413c85d6213d894510cc78684287783e36eeb53b
2,287
stripe-android
MIT License
compiler/testData/codegen/bytecodeText/valueClasses/passingMFVC2Functions.kt
JetBrains
3,432,266
false
null
// CHECK_BYTECODE_LISTING // FIR_IDENTICAL // WITH_STDLIB // TARGET_BACKEND: JVM_IR // LANGUAGE: +ValueClasses @JvmInline value class DPoint(val x: Double, val y: Double) fun `1`() = 1.0 fun `2`() = 2.0 fun `3`() = 3.0 fun `4`() = 4.0 fun acceptBoxed(x: Any?) {} fun acceptFlattened(x: DPoint) {} fun returnBoxed() = ...
181
null
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
1,750
kotlin
Apache License 2.0
src/org/themeswitcher/settings/PluginSettings.kt
dkandalov
77,445,875
true
{"XML": 3, "Text": 1, "Kotlin": 4, "Java": 1}
package org.themeswitcher.settings import com.intellij.openapi.components.PersistentStateComponent import com.intellij.openapi.components.ServiceManager import com.intellij.openapi.components.State import com.intellij.openapi.components.Storage import com.intellij.util.xmlb.XmlSerializerUtil import java.time.LocalTime...
0
Kotlin
0
1
9f25199fa9e3a5731da1b2500f07328460ff983e
1,439
ThemeSwitcher
MIT License
plugins/git4idea/tests/git4idea/rebase/GitRewordTest.kt
saifullah007
94,907,835
false
null
/* * Copyright 2000-2017 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
0
null
0
1
6db8e97198de8abee8801356a1fa197e4a302448
3,087
intellij-community
Apache License 2.0
wifi-p2p/hotspot-client/src/main/java/com/microport/wifi/client/page/p2p/SendActivity.kt
fizzuas
654,398,679
false
null
package com.microport.wifi.client.page.p2p import android.app.ProgressDialog import android.content.Intent import android.net.wifi.p2p.WifiP2pDevice import android.net.wifi.p2p.WifiP2pGroup import android.net.wifi.p2p.WifiP2pInfo import android.os.Bundle import android.provider.MediaStore import android.widget.Toast i...
0
Kotlin
0
0
6b211f974db8f96eb15e6f936c2bafc555640f8f
6,719
WifiToolKit
MIT License
app/src/main/java/com/zsoltbertalan/flickslate/presentation/ui/movies/MoviesScreen.kt
herrbert74
779,374,786
false
{"Kotlin": 227177}
package com.zsoltbertalan.flickslate.presentation.ui.movies import androidx.compose.foundation.background import androidx.compose.foundation.layout.fillMaxHeight import androidx.compose.foundation.lazy.itemsIndexed import androidx.compose.runtime.Composable import androidx.compose.ui.Modifier import androidx.compose.u...
1
Kotlin
2
6
26ed9b8411ad4ff512ee53ac666ac894caba9293
4,934
FlickSlate
Apache License 2.0
sandbox-multiplatform-app/shared/src/desktopMain/kotlin/example/imageviewer/model/filtration/GrayScaleFilter.kt
j-roskopf
851,412,643
false
{"Kotlin": 261316, "HTML": 4038, "Swift": 1161, "JavaScript": 1108, "Ruby": 101}
package example.imageviewer.model.filtration import androidx.compose.ui.graphics.ImageBitmap import androidx.compose.ui.graphics.toAwtImage import androidx.compose.ui.graphics.toComposeImageBitmap import example.imageviewer.core.BitmapFilter import example.imageviewer.utils.applyGrayScaleFilter class GrayScaleFilter ...
0
Kotlin
0
7
df9df8d6e46c842fb3aaa3359634c0259ac5be58
584
KotlinWarningBaselineGenerator
MIT License
idea/testData/refactoring/changeSignature/JavaConstructorParameterPropagationAfter.1.kt
JakeWharton
99,388,807
false
null
open class C(n: Int) : A(n) { } open class D: A { constructor(n: Int) : super(n) constructor(b: Boolean, n: Int) : super(n) } fun test(n: Int) { A(n) A(false, n) B(n) B(false, n) C(n) D(n) D(false, n) }
284
null
5162
83
4383335168338df9bbbe2a63cb213a68d0858104
241
kotlin
Apache License 2.0
src/commonMain/kotlin/data/items/SparkingArcaniteRing.kt
marisa-ashkandi
332,658,265
false
null
package `data`.items import `data`.Constants import `data`.buffs.Buffs import `data`.model.Item import `data`.model.ItemSet import `data`.model.Socket import `data`.model.SocketBonus import character.Buff import character.Stats import kotlin.Array import kotlin.Boolean import kotlin.Double import kotlin.Int import kot...
21
null
11
25
9cb6a0e51a650b5d04c63883cb9bf3f64057ce73
1,647
tbcsim
MIT License
spring-app-consumer/demo/src/main/kotlin/com/example/demo/model/QueueModel.kt
hennroja
878,544,206
false
{"Kotlin": 5716}
package com.example.demo.model import org.springframework.retry.annotation.Backoff @Backoff(delay = 10000, multiplier = 2.0, maxDelay = 60000) data class DbChangeEvent( val before: StudentDto?, val after: StudentDto?, val source: Source, val op: String, val ts_ms: Long, val transaction: Any? )...
0
Kotlin
0
0
7064ffda79e2a0f83a61364797c6eb46f00ab333
731
debezium-postgresql-spring-boot
PostgreSQL License
s4-adding-customized-previews/final-project/app/src/main/java/com/droidcon/borrow/MainActivity.kt
droidcon-academy
562,033,143
false
null
package com.droidcon.borrow import android.os.Bundle import androidx.activity.ComponentActivity import androidx.activity.compose.setContent import androidx.compose.animation.ExperimentalAnimationApi import androidx.compose.foundation.isSystemInDarkTheme import androidx.compose.material.Text import androidx.compose.run...
0
Kotlin
0
0
62f863d658106bdc1670551dd8a11b9fd796f82e
2,230
android-dark-theme-compose-course-materials
Apache License 2.0
app/src/main/java/com/sirionrazzer/diary/models/LocalUserSettings.kt
SirionRazzer
175,241,127
false
null
package com.sirionrazzer.diary.models class LocalUserSettings { var email: String? = null // status var accountCreated: Boolean = false var isNewcomer: Boolean = false var firstTime: Boolean = true var boardingPickerShown: Boolean = false // preferences var reminderAdded: Boolean = fa...
0
Kotlin
10
14
a65a0bd0fb1ad516f04c8fed88789633e91c3559
436
Diary
MIT License
plugins/kotlin/refactorings/kotlin.refactorings.k2/src/org/jetbrains/kotlin/idea/k2/refactoring/K2ReferenceMutateService.kt
JetBrains
2,489,216
false
null
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. package org.jetbrains.kotlin.idea.k2.refactoring import com.intellij.psi.PsiElement import com.intellij.psi.util.parentOfType import com.intellij.util.IncorrectOperationException import com.intellij...
251
null
5079
16,158
831d1a4524048aebf64173c1f0b26e04b61c6880
10,590
intellij-community
Apache License 2.0
shared/src/main/kotlin/com/github/jactor/shared/dto/commands.kt
jactor-rises
463,152,761
false
null
package com.github.jactor.shared.dto import io.swagger.v3.oas.annotations.media.Schema @Schema(description = "Metadata for creation of a user") data class CreateUserCommandDto( @Schema(description = "The username of a user") var username: String = "", @Schema(description = "The surname of a user") var surname...
0
Kotlin
0
0
244c413354cd4b3e1926f1642bb937e11c6220d5
1,193
jactor-modules
MIT License
app/src/main/java/com/example/instagram_clone_clean_architecture/app/data/retrofit/responses/AddNewPostResponse.kt
kyleliao321
284,104,912
false
null
package com.example.instagram_clone_clean_architecture.app.data.retrofit.responses import com.example.instagram_clone_clean_architecture.app.data.model.PostDataModel data class AddNewPostResponse( val post: PostDataModel )
0
Kotlin
1
2
365a0c94b79eccaef2d54e29465d726ef0046c0b
229
instagram-clone-clean-architecture
MIT License
samples/kotlin-spring-app/src/main/kotlin/org/sandbox/samples/util/Response.kt
agpopikov
74,228,731
false
null
package org.sandbox.samples.util data class Response(val type: ResponseType, val data: Any?, val error: ResponseError?) { companion object { fun ok() = Response(ResponseType.OK, null, null) fun ok(data: Any) = Response(ResponseType.OK, data, null) fun fail(message: String) = Response(Resp...
0
null
0
0
d77dea99318d40c6b20ec4e0a1b05a0756fb2859
693
sandbox
MIT License
feature-governance-impl/src/main/java/io/novafoundation/nova/feature_governance_impl/presentation/referenda/list/di/ReferendaListModule.kt
novasamatech
415,834,480
false
null
package io.novafoundation.nova.feature_governance_impl.presentation.referenda.list.di import androidx.fragment.app.Fragment import androidx.lifecycle.ViewModel import androidx.lifecycle.ViewModelProvider import dagger.Module import dagger.Provides import dagger.multibindings.IntoMap import io.novafoundation.nova.commo...
5
null
9
9
66a5c0949aee03a5ebe870a1b0d5fa3ae929516f
3,719
nova-wallet-android
Apache License 2.0
src/main/kotlin/com/example/cavesofzircon/builders/WorldBuilder.kt
Hexworks
314,678,169
false
null
package com.example.cavesofzircon.builders import com.example.cavesofzircon.blocks.GameBlock import com.example.cavesofzircon.extensions.sameLevelNeighborsShuffled import com.example.cavesofzircon.world.World import org.hexworks.zircon.api.data.Position3D import org.hexworks.zircon.api.data.Size3D import kotlin.random...
0
Kotlin
1
4
938d45432231ae0f5515700ecb13048644b4712d
3,705
caves-of-zircon-tutorial
Apache License 2.0
kotest-plugins/kotest-plugins-pitest/src/jvmTest/kotlin/io/kotest/plugin/pitest/Kotest.kt
junron
214,570,871
false
{"Gradle": 30, "YAML": 2, "Markdown": 12, "Java Properties": 2, "Shell": 3, "Text": 1, "Ignore List": 1, "Batchfile": 2, "EditorConfig": 1, "INI": 4, "Kotlin": 574, "Maven POM": 1, "XML": 10, "JavaScript": 1, "Java": 1, "JSON": 1}
package io.kotest.plugin.pitest import io.kotest.matchers.collections.shouldBeEmpty import io.kotest.matchers.collections.shouldHaveSize import io.kotest.plugin.pitest.specs.FunSpecs import io.kotest.plugin.pitest.specs.StringSpecs import io.kotest.plugin.pitest.specs.WordSpecs import io.kotest.specs.FunSpec class Ko...
1
null
1
1
3a00e967d50a43e6200060f7c3df44c730d02610
1,480
kotlintest
Apache License 2.0
app/src/main/java/eu/kanade/tachiyomi/data/track/myanimelist/dto/MALUserListSearch.kt
mihonapp
743,704,912
false
{"Kotlin": 2940843}
package eu.kanade.tachiyomi.data.track.myanimelist.dto import kotlinx.serialization.Serializable @Serializable data class MALUserSearchResult( val data: List<MALUserSearchItem>, val paging: MALUserSearchPaging, ) @Serializable data class MALUserSearchItem( val node: MALUserSearchItemNode, ) @Serializabl...
280
Kotlin
447
9,867
f3a2f566c8a09ab862758ae69b43da2a2cd8f1db
470
mihon
Apache License 2.0
eWiLL_backend/src/main/kotlin/com/wipdev/eWiLL_backend/eval/rules/ScoreType.kt
thm-mnd-ii
548,815,176
false
null
package com.wipdev.eWiLL_backend.eval.rules enum class ScoreType { PERCENTAGE, ERROR_COUNT }
7
Kotlin
0
1
ce7bb8ddcd4abf049cd112f626c8a78a5eb387e4
98
eWiLL
MIT License
ambassador-application/src/main/kotlin/com/roche/ambassador/configuration/concurrent/ConcurrencyProviderImpl.kt
filipowm
409,076,487
false
null
@file:Suppress("SpringJavaInjectionPointsAutowiringInspection", "SpringJavaInjectionPointsAutowiringInspection", "SpringJavaInjectionPointsAutowiringInspection", "SpringJavaInjectionPointsAutowiringInspection", "SpringJavaInjectionPointsAutowiringInspection", "SpringJavaInjectionPointsAutowiringInspectio...
22
Kotlin
0
9
87b3db67dea1a19df1011337babb42b068d21171
4,860
the-ambassador
Apache License 2.0
app/src/main/java/com/enecuum/wl/vvm/faq/FaqFragment.kt
Enecuum
331,261,546
false
null
package com.enecuum.wl.vvm.faq import android.os.Bundle import android.text.method.LinkMovementMethod import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.core.text.HtmlCompat import com.enecuum.wl.R import com.enecuum.wl.utils.BaseFragment import kotlinx.android.sy...
1
Kotlin
8
3
dae354e7a11e6897f1f7d978d59ee536f9f0fea7
1,209
android-miner-app
MIT License
src/main/kotlin/com/danielmichalski/algorithms/algorithms/_03_is_anagram/AnagramService1.kt
DanielMichalski
288,453,885
false
null
package com.danielmichalski.algorithms.algorithms._03_is_anagram internal class AnagramService1 { /** * O(n log n) time complexity */ fun areAnagrams(text1: String, text2: String): Boolean { if (text1.isEmpty() || text2.isEmpty() || text1.length != text2.length) { return false ...
0
null
1
7
6327b0fdb6899550b25b01eb093fa3d239938cb1
739
algorithms-and-data-structures-in-kotlin
MIT License
app/src/main/java/com/fido/common/common_utils/eventbus/flow_bus/FlowBus.kt
SevenUpup
588,455,697
false
{"Kotlin": 1010830, "Java": 450588, "Groovy": 7694, "Shell": 4817}
package com.fido.common.common_utils.eventbus.flow_bus import androidx.lifecycle.Lifecycle import androidx.lifecycle.LifecycleObserver import androidx.lifecycle.LifecycleOwner import androidx.lifecycle.OnLifecycleEvent import androidx.lifecycle.lifecycleScope import com.fido.common.common_base_util.ext.logd import com...
0
Kotlin
0
2
4bbc5ebca4ab5d09e652b11957bd9b506812bf2d
3,764
common_utils
MIT License
packages/expo-image/android/src/main/java/expo/modules/image/ExpoImageModule.kt
peterpme
564,949,337
true
{"C++": 23171966, "Objective-C": 19342710, "Java": 9079466, "Kotlin": 8555592, "TypeScript": 7620395, "Objective-C++": 6217868, "Swift": 2559039, "C": 1868513, "JavaScript": 1089204, "Ruby": 623953, "Starlark": 383361, "Shell": 245009, "CMake": 125692, "Makefile": 93213, "Assembly": 46755, "HTML": 26496, "Batchfile": 9...
package expo.modules.image import android.util.Log import android.view.View import com.bumptech.glide.Glide import com.bumptech.glide.load.model.GlideUrl import com.facebook.react.uimanager.PixelUtil import com.facebook.react.uimanager.Spacing import com.facebook.react.uimanager.ViewProps import com.facebook.yoga.Yoga...
1
C++
1
1
6f60fb6eded0c035cd79c290f8009e093f9ab294
5,894
expo
MIT License
src/cds/src/main/kotlin/org/icpclive/cds/common/DataLoader.kt
icpc
447,849,919
false
null
package org.icpclive.cds.common import io.ktor.client.request.* import io.ktor.client.statement.* import kotlinx.serialization.decodeFromString import kotlinx.serialization.json.Json import org.w3c.dom.Document import java.nio.file.Paths import javax.xml.parsers.DocumentBuilder import javax.xml.parsers.DocumentBuilder...
14
Kotlin
7
28
a8f6d0f18f2b5b39781a0196fd1b531b0878013f
1,451
live-v3
MIT License
app/src/main/java/jp/zuikou/system/redditprojectsample1/domain/repository/SubRedditsRepositoryImpl.kt
rooneyviet
228,741,478
false
{"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "Kotlin": 109, "XML": 40, "Java": 2}
package jp.zuikou.system.redditprojectsample1.domain.repository import io.reactivex.Single import jp.zuikou.system.redditprojectsample1.data.datasource.Datasource import jp.zuikou.system.redditprojectsample1.domain.Pagination import jp.zuikou.system.redditprojectsample1.domain.model.RSubSubcribersEntity class SubRedd...
1
null
1
1
c712f265b239d69d977ea2a12d95a35718f36922
609
reddit_sync
MIT License
src/main/kotlin/zielu/gittoolbox/branch/RecentBranchesService.kt
GitHub-Xzhi
326,868,800
true
{"Java": 368850, "Kotlin": 282198, "HTML": 5686}
package zielu.gittoolbox.branch import com.intellij.openapi.project.Project import com.intellij.serviceContainer.NonInjectable import git4idea.GitBranch import zielu.gittoolbox.repo.GtRepository import zielu.gittoolbox.store.RecentBranch import zielu.gittoolbox.util.AppUtil import java.time.Instant internal class Rec...
0
null
0
0
608d90485b664a0da45c84a167b40a65cbc249f5
3,072
GitToolBox
Apache License 2.0
kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/KonanBackendContext.kt
JetBrains
3,432,266
false
null
/* * Copyright 2010-2024 JetBrains s.r.o. and Kotlin Programming Language contributors. * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. */ package org.jetbrains.kotlin.backend.konan import org.jetbrains.kotlin.backend.common.CommonBackendContext im...
182
null
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
1,530
kotlin
Apache License 2.0
app/src/main/java/com/certified/order/view/CartFragment.kt
certified84
408,564,402
false
null
package com.certified.order.view import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.fragment.app.Fragment import androidx.fragment.app.FragmentTransaction import androidx.lifecycle.ViewModelProvider import androidx.navigation.NavOptions im...
0
Kotlin
0
2
283b845409b0e1f8978724258bb0e85004b159f0
5,138
Order
Apache License 2.0
app/src/main/java/fr/corenting/edcompanion/network/CommunityGoalsNetwork.kt
corenting
86,805,660
false
{"Java": 172988, "Kotlin": 165908}
package fr.corenting.edcompanion.network import android.content.Context import fr.corenting.edcompanion.models.CommunityGoal import fr.corenting.edcompanion.models.ProxyResult import fr.corenting.edcompanion.models.events.CommunityGoals import fr.corenting.edcompanion.singletons.RetrofitSingleton object CommunityGoal...
2
Java
3
22
93c06fff4f29aac4ee76cb811186122bcb11feea
1,100
EDCompanion
MIT License
java/java-impl/src/com/intellij/psi/util/pointers.kt
androidports
115,100,208
false
null
/* * Copyright 2000-2017 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
6
null
5162
4
6e4f7135c5843ed93c15a9782f29e4400df8b068
918
intellij-community
Apache License 2.0
PennMobile/src/main/java/com/pennapps/labs/pennmobile/api/OAuth2NetworkManager.kt
pennlabs
16,791,473
false
null
package com.pennapps.labs.pennmobile.api import android.preference.PreferenceManager import android.provider.Settings import android.util.Log import com.pennapps.labs.pennmobile.BuildConfig import com.pennapps.labs.pennmobile.MainActivity import com.pennapps.labs.pennmobile.R import com.pennapps.labs.pennmobile.classe...
34
null
5
31
85f47edd1ed5bb118b6eb57bbcef4727dc2b5359
3,138
penn-mobile-android
MIT License