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
TeamCode/src/main/java/org/firstinspires/ftc/teamcode/Autonomous/NoSplineAuto/BFSpike.kt
MostlyOperational18119
792,554,577
false
{"Git Config": 1, "Gradle": 7, "Java Properties": 1, "Shell": 1, "Text": 10, "Ignore List": 2, "Batchfile": 1, "Markdown": 7, "INI": 1, "YAML": 1, "Java": 116, "XML": 12, "Kotlin": 53}
package org.firstinspires.ftc.teamcode.Autonomous.NoSplineAuto import com.acmerobotics.dashboard.config.Config import com.acmerobotics.roadrunner.geometry.Pose2d import com.qualcomm.hardware.rev.RevBlinkinLedDriver import com.qualcomm.robotcore.eventloop.opmode.Autonomous import org.firstinspires.ftc.teamcode.Autonomo...
0
Java
0
0
eabd8a0691079c43e61f9ff65a811cc2c6d8ce25
2,354
Mostly-Operational-Center-Stage
BSD 3-Clause Clear License
app/src/main/java/org/linus/lms/hilt/ApplicationNavigationModule.kt
Linus-DuJun
463,539,080
false
{"Kotlin": 44067}
package org.linus.lms.hilt import dagger.Binds import dagger.Module import dagger.hilt.InstallIn import dagger.hilt.components.SingletonComponent import org.linus.lms.auth.presentation.navigation.AuthNavigator import org.linus.lms.navigation.AuthNavigatorImpl import javax.inject.Singleton @Module @InstallIn(Singleton...
0
Kotlin
0
0
a5cabb0665a82b1f057cd4d60ab709e429f9e772
513
LMS-MVVM
MIT License
plugins/grazie/src/main/kotlin/com/intellij/grazie/config/CheckingContext.kt
hieuprogrammer
284,920,751
false
null
package com.intellij.grazie.config import com.intellij.util.xmlb.annotations.Property data class CheckingContext(@Property val isCheckInCommitMessagesEnabled: Boolean = false, @Property val isCheckInStringLiteralsEnabled: Boolean = false, @Property val isCheckInCo...
1
null
1
2
dc846ecb926c9d9589c1ed8a40fdb20e47874db9
441
intellij-community
Apache License 2.0
src/main/kotlin/uk/gov/justice/digital/hmpps/authorizationserver/service/converter/MigrationClientConverter.kt
ministryofjustice
498,250,140
false
{"Kotlin": 209195, "Shell": 8198, "Dockerfile": 1448}
package uk.gov.justice.digital.hmpps.authorizationserver.service.converter import org.springframework.core.convert.converter.Converter import org.springframework.security.oauth2.core.ClientAuthenticationMethod.CLIENT_SECRET_BASIC import org.springframework.stereotype.Component import uk.gov.justice.digital.hmpps.autho...
0
Kotlin
1
0
68f869c2c36af3d74476e95a7b61ffaf314cc709
1,965
hmpps-authorization-server
MIT License
app/src/main/java/com/fialasfiasco/customdiceroller/history/RollHistoryFragment.kt
westonsfiala
190,253,837
false
null
package com.fialasfiasco.customdiceroller.history import android.os.Bundle import androidx.fragment.app.Fragment import androidx.recyclerview.widget.LinearLayoutManager import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.TextView import androidx.lifecycle.Obs...
0
Kotlin
1
2
4b4a67414db6cdbc3caacde4bf564183e8671d61
3,159
CustomDiceRoller
MIT License
src/main/kotlin/T654.kt
KilluaSSR
763,466,025
false
{"Kotlin": 106189, "Go": 1048}
package old01 import com.sun.source.tree.Tree //class SolutionT654 { // fun constructMaximumBinaryTree(nums: IntArray): TreeNode? { // return build(nums,0,nums.size-1) // } // private fun build(nums:IntArray, left:Int, right:Int):TreeNode?{ // if(left>right)return null // var index = lef...
0
Kotlin
0
1
879d82d074d91dd3548aeaa94c5ea54bd8cada2c
703
LeetcodeKotlin
MIT License
app/src/main/java/eu/kanade/tachiyomi/data/database/models/Chapter.kt
cuong-tran
808,519,905
false
{"Kotlin": 3259200}
package eu.kanade.tachiyomi.data.database.models import eu.kanade.tachiyomi.source.model.SChapter import java.io.Serializable interface Chapter : SChapter, Serializable { var id: Long? var manga_id: Long? var read: Boolean var bookmark: Boolean var last_page_read: Int var pages_left: Int...
1
Kotlin
2
5
d371db3f76449c76ab64960390240c8d31b7efc8
1,125
tachiyomiJ2K
Apache License 2.0
app/src/main/java/eu/kanade/tachiyomi/data/database/models/Chapter.kt
cuong-tran
808,519,905
false
{"Kotlin": 3259200}
package eu.kanade.tachiyomi.data.database.models import eu.kanade.tachiyomi.source.model.SChapter import java.io.Serializable interface Chapter : SChapter, Serializable { var id: Long? var manga_id: Long? var read: Boolean var bookmark: Boolean var last_page_read: Int var pages_left: Int...
1
Kotlin
2
5
d371db3f76449c76ab64960390240c8d31b7efc8
1,125
tachiyomiJ2K
Apache License 2.0
src/test/kotlin/com/github/kerubistan/kerub/planner/steps/storage/fs/truncate/TruncateImageFactoryTest.kt
kerubistan
19,528,622
false
null
package com.github.kerubistan.kerub.planner.steps.storage.fs.truncate import com.github.kerubistan.kerub.model.FsStorageCapability import com.github.kerubistan.kerub.model.OperatingSystem import com.github.kerubistan.kerub.model.SoftwarePackage import com.github.kerubistan.kerub.model.Version import com.github.kerubis...
109
null
4
14
99cb43c962da46df7a0beb75f2e0c839c6c50bda
2,449
kerub
Apache License 2.0
client/android/div/src/main/java/com/yandex/div/core/view2/spannable/LineMetricsSpan.kt
divkit
523,491,444
false
{"Kotlin": 7327303, "Swift": 5164616, "Svelte": 1148832, "TypeScript": 912803, "Dart": 630920, "Python": 536031, "Java": 507940, "JavaScript": 152546, "CSS": 37870, "HTML": 23434, "C++": 20911, "CMake": 18677, "Shell": 8895, "PEG.js": 7210, "Ruby": 3723, "C": 1425, "Objective-C": 38}
package com.yandex.div.core.view2.spannable import android.graphics.Canvas import android.graphics.DashPathEffect import android.graphics.Paint import android.text.style.LineBackgroundSpan internal class LineMetricsSpan : LineBackgroundSpan { private val linePaint = Paint().apply { style = Paint.Style.ST...
5
Kotlin
128
2,240
dd102394ed7b240ace9eaef9228567f98e54d9cf
1,423
divkit
Apache License 2.0
reactivestate-core-test/src/commonMain/kotlin/com/ensody/reactivestate/test/CoroutineTest.kt
ensody
246,103,397
false
{"Kotlin": 188198, "Shell": 3131, "Python": 1267, "Dockerfile": 252}
package com.ensody.reactivestate.test import com.ensody.reactivestate.AttachedDisposables import com.ensody.reactivestate.DisposableGroup import com.ensody.reactivestate.derived import com.ensody.reactivestate.dispatchers import kotlinx.coroutines.flow.Flow import kotlinx.coroutines.flow.SharingStarted import kotlinx....
3
Kotlin
2
38
aee5e749799fc542d23c39cd6862a12e7b8831ae
2,103
ReactiveState-Kotlin
Apache License 2.0
libs/crypto/cipher-suite/src/main/kotlin/net/corda/crypto/cipher/suite/SigningSpec.kt
corda
346,070,752
false
null
package net.corda.crypto.cipher.suite import net.corda.crypto.cipher.suite.schemes.KeyScheme import net.corda.v5.crypto.SignatureSpec import java.security.PublicKey /** * Marker interface denoting the signing parameters. * * @property publicKey The public key of the pair. * @property keyScheme The scheme for the ...
133
Kotlin
11
35
a0dc32cf1f7b7dc7258d5ee9fdb0624093387b13
689
corda-runtime-os
Apache License 2.0
app/src/main/java/cz/hlinkapp/gvpintranet/model/PieceOfNews.kt
gohlinka2
181,063,638
false
null
package cz.hlinkapp.gvpintranet.model import androidx.room.Entity import androidx.room.PrimaryKey /** * A model class representing an event/piece-of-news. Also works as a Room's [Entity]. */ @Entity(tableName = "news") data class PieceOfNews( @PrimaryKey(autoGenerate = true) var id : Int? = null, var ti...
0
Kotlin
0
2
d5ee48c9bd06e330927801c79e5fc06d4ccf3319
509
gvp-intranet-app
Apache License 2.0
src/main/kotlin/no/nav/helse/OmsorgsdagerMeldingProsessering.kt
navikt
363,070,619
false
null
package no.nav.helse import com.fasterxml.jackson.databind.PropertyNamingStrategies import com.fasterxml.jackson.databind.SerializationFeature import io.ktor.server.application.* import io.ktor.http.* import io.ktor.serialization.jackson.* import io.ktor.server.plugins.contentnegotiation.* import io.ktor.server.respon...
4
Kotlin
0
0
d687ee594cb0de12b6b2fa39335a3b3e5c0e6913
4,735
omsorgspenger-midlertidig-alene-prosessering
MIT License
AlmostDone/CompleteTheProject/test/Tests.kt
jetbrains-academy
504,249,857
false
null
import jetbrains.kotlin.course.almost.done.allImages import jetbrains.kotlin.course.almost.done.main import jetbrains.kotlin.course.almost.done.newLineSymbol import org.jetbrains.academy.test.system.core.invokeWithArgs import org.jetbrains.academy.test.system.core.invokeWithoutArgs import org.jetbrains.academy.test.sys...
17
null
2
8
e4ad24ca735cefeffb4be290cc3144966322626d
11,683
kotlin-onboarding-introduction
MIT License
web/src/main/kotlin/com/github/vhromada/catalog/web/connector/entity/ChangeEpisodeRequest.kt
vhromada
795,933,875
false
null
package com.github.vhromada.catalog.web.connector.entity /** * A class represents request for changing episode. * * @author Vladimir Hromada */ data class ChangeEpisodeRequest( /** * Number of episode */ val number: Int, /** * Name */ val name: String, /** * Length ...
0
Kotlin
0
0
9feab9abeb8b1ae84ae9c5e1d3c81ef7df7d0f97
401
catalog-be
MIT License
app/src/main/java/com/miu/cv/model/Education.kt
subo8
577,577,941
false
{"Kotlin": 16451}
package com.miu.cv.model import java.io.Serializable class Education ( var major: String, var start: Int, var end: Int, var university: String ): Serializable { }
0
Kotlin
0
0
287e2e4ad0d583b21dc31b6c129ed5a4f5b2e32b
197
CV
MIT License
font-awesome/src/commonMain/kotlin/compose/icons/fontawesomeicons/solid/CartPlus.kt
DevSrSouza
311,134,756
false
{"Kotlin": 36719092}
package compose.icons.fontawesomeicons.solid import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap.Companion.Butt import androidx.compose.ui.graphics.StrokeJoin.Companion....
17
Kotlin
25
571
a660e5f3033e3222e3553f5a6e888b7054aed8cd
4,124
compose-icons
MIT License
src/main/kotlin/io/github/talkarcabbage/rstimer/fxgui/ColorProgressBar.kt
Talkarcabbage
27,659,191
false
{"Kotlin": 90037, "CSS": 5231, "Java": 269}
package io.github.talkarcabbage.rstimer.fxgui import io.github.talkarcabbage.logger.LoggerManager import javafx.scene.control.ProgressBar /** * * @author Talkarcabbage */ class ColorProgressBar : ProgressBar { //NOSONAR We don't care about number of parent classes constructor() : super() constructor(arg0: Doub...
7
Kotlin
1
1
e4e3cfd8821d7ffca2d04b4799629020f7175c51
741
rs-timer
Apache License 2.0
app/src/main/java/com/breezefieldsalescodeit/features/login/model/WhatsappApiData.kt
DebashisINT
801,060,273
false
{"Kotlin": 14760834, "Java": 1022832}
package com.breezefieldsalescodeit.features.login.model import com.breezefieldsalescodeit.app.domain.VisitRevisitWhatsappStatus data class WhatsappApiData(val user_id:String,var shop_whatsapp_api_list:ArrayList<VisitRevisitWhatsappStatus>) data class WhatsappApiFetchData(val status:String,var message:String,var user...
0
Kotlin
0
0
5e0b40fa9268a2c1e9bac50d61b75d00ce82dc5d
396
CodeITSolutions
Apache License 2.0
core/src/main/kotlin/io/github/serpro69/kfaker/provider/Address.kt
serpro69
174,969,439
false
null
package io.github.serpro69.kfaker.provider import io.github.serpro69.kfaker.FakerService import io.github.serpro69.kfaker.dictionary.YamlCategory import io.github.serpro69.kfaker.extension.or import io.github.serpro69.kfaker.provider.unique.LocalUniqueDataProvider import io.github.serpro69.kfaker.provider.unique.Uniqu...
34
null
42
448
20c85c54f4508ee633d2196ec4e43de591eeea60
2,540
kotlin-faker
MIT License
rest-service/src/main/kotlin/com/folx/itquest/restservice/validation/ProductStatusValidation.kt
Ray-Neyra
131,512,641
false
null
package com.folx.itquest.restservice.validation import javax.validation.Constraint import javax.validation.Payload import kotlin.reflect.KClass @Target(AnnotationTarget.PROPERTY_GETTER) @Retention(AnnotationRetention.RUNTIME) @Constraint(validatedBy = [ProductStatusValidator::class]) annotation class ProductStatusVal...
0
Kotlin
0
0
925c2e4f6644ca0744721c07863713302e2721e7
483
folx-it-quest
MIT License
app/src/main/java/com/example/k_health/food/data/models/Header.kt
SeokJiWon1207
420,371,551
false
{"Kotlin": 149316}
package com.example.k_health.food.data.models import com.google.gson.annotations.SerializedName data class Header( @SerializedName("resultCode") val resultCode: String?, @SerializedName("resultMsg") val resultMsg: String? )
0
Kotlin
0
0
067d1dbabb741232a61cac71e12b646840dcc38f
242
K-Health
Apache License 2.0
app/src/main/java/com/michel/galileu/ui/components/textfield/CustomOutlinedTextField.kt
Michelalmeidasilva
574,104,801
false
null
import androidx.compose.foundation.background import androidx.compose.foundation.interaction.InteractionSource import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.foundation.layout.height import androidx.compose.foundation.shape.RoundedCornerShape import androidx.compose.foundation.text.Basic...
8
Kotlin
0
3
fbca08c8320804def204c7e9a782a3ca346888ce
1,959
galileu
MIT License
common/src/main/kotlin/indentia/bankid/common/validated_value/Validators.kt
indentia
206,921,451
false
null
package indentia.bankid.common.validated_value import java.util.* object Validators { class RegexValidator(private val regex: Regex) : (String) -> Boolean { override fun invoke(value: String): Boolean = regex.matches(value) } class StringLengthValidator(private val minLength: Int, private val max...
0
Kotlin
0
0
8e7a9bcd2dfc638df79ef05c4d40b1a8f270ee2a
687
bankid
MIT License
src/Day02.kt
RaspiKonk
572,875,045
false
null
/** * Day 2: <NAME> spielen * * Part 1: ABC - XYZ aus dem geheimen Strategiepapier spielen und den Score berechnen * Part 2: Im Strategiepapier steht wie die Runde ausgehen muss - eigenen Zug entsprechen berechnen * * 1. Spalte: A for Rock, B for Paper, and C for Scissors (Gegner) * 2. Spalte: X for Rock, Y fo...
0
Kotlin
0
2
7d47bea3a5e8be91abfe5a1f750838f2205a5e18
4,342
AoC_Kotlin_2022
Apache License 2.0
rounded/src/commonMain/kotlin/me/localx/icons/rounded/outline/Transporter7.kt
localhostov
808,861,591
false
{"Kotlin": 79430321, "HTML": 331, "CSS": 102}
package me.localx.icons.rounded.filled import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap.Companion.Butt import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter ...
1
Kotlin
0
5
cbd8b510fca0e5e40e95498834f23ec73cc8f245
3,834
icons
MIT License
src/main/kotlin/accounts/srvMain/MainMinerals.kt
Solovova
273,570,019
false
null
package accounts.srvMain import mainContext.MainContext import mainContext.dataclass.MineralDataRecord import screeps.api.ResourceConstant fun AccountInitMain.initMineralOut(mc: MainContext) { mc.mineralData["energy".unsafeCast<ResourceConstant>()] = MineralDataRecord( priceMax = 0.600, pr...
0
Kotlin
0
0
752a04369e5acbcd4ceda6d2fba196f935681384
5,614
Screeps
MIT License
test/unit/src/main/java/TypeAlias.kt
ShawxingKwok
667,099,894
false
{"Kotlin": 101746}
private interface T_In<in T: CharSequence>{ fun set(t: T){} } private typealias T_InImpl<T> = T_In<T> // out -> in : ! //private lateinit var t: T_InImpl<out String> // * -> in : Nothing private interface T_Out<out T: CharSequence>{ fun get(): T = TODO() } private typealias T_OutImpl<T> = T_Out<T> // in -> o...
0
Kotlin
0
2
38f6d5f46a91f2ae55186ae2095594a967e6b6f9
418
Tracer
Apache License 2.0
eCommerceMobile/app/src/main/java/com/example/ecommercemobile/data/Repository.kt
Lloansi
716,627,802
false
{"Kotlin": 165542, "Python": 7935}
package com.example.ecommercemobile.data import android.content.SharedPreferences import android.util.Log import com.example.ecommercemobile.data.model.User import com.example.ecommercemobile.data.model.auth.AuthRequest import com.example.ecommercemobile.data.model.auth.AuthResult import com.example.ecommercemobile.da...
0
Kotlin
0
0
95d2a239c6f562d1e24886500a0d169705ab8127
8,804
eCommerce_app
MIT License
src/jvmTest/kotlin/ai/hypergraph/kaliningraph/automata/WFSATest.kt
breandan
245,074,037
false
{"Kotlin": 1523021, "Haskell": 744, "OCaml": 200}
package ai.hypergraph.kaliningraph.automata import Grammars import Grammars.shortS2PParikhMap import ai.hypergraph.kaliningraph.graphs.LabeledGraph import ai.hypergraph.kaliningraph.parsing.* import net.jhoogland.jautomata.* import net.jhoogland.jautomata.Automaton import net.jhoogland.jautomata.operations.* import ne...
0
Kotlin
8
106
1866d107313fcf0d3d20a838006aa0fe2a647290
5,575
galoisenne
Apache License 2.0
core/src/main/java/com/bruno13palhano/core/network/model/CatalogNet.kt
bruno13palhano
670,001,130
false
{"Kotlin": 1392940}
package com.bruno13palhano.core.network.model import com.bruno13palhano.core.model.Model import com.squareup.moshi.Json data class CatalogNet( @Json(name = "id") override val id: Long, @Json(name = "productId") val productId: Long, @Json(name = "title") val title: String, @Json(name = "description") v...
0
Kotlin
0
2
bffdfff8cc2ee93114a9b01821ba22d959a6a781
541
shop-dani-management
MIT License
app/src/main/java/com/PsykoloGG/foodieswans/RestaurantReviewModel.kt
psykoloGG
729,682,461
false
{"Kotlin": 15814}
package com.PsykoloGG.foodieswans /* Data class for storing restaurant information */ class AccountReviewModel { var Name: String? = null var Review: String? = null fun GetName(): String { return Name.toString() } fun SetName(Name: String) { this.Name = Name } fun Ge...
0
Kotlin
0
0
5d3ede24653238926884fe11c5b83226bda7be90
453
FoodieSwans
MIT License
src/commonMain/kotlin/org/treeWare/model/operator/ElementModelError.kt
tree-ware
214,941,384
false
{"Kotlin": 953717}
package org.treeWare.model.operator data class ElementModelError(val path: String, val error: String) { override fun toString(): String = "$path: $error" }
35
Kotlin
0
1
3f5b7ee679c838515d07ba1e1abedfc09da21dde
160
tree-ware-kotlin-core
Apache License 2.0
api/src/main/kotlin/no/nav/poao_tilgang/api/dto/request/policy_input/EksternBrukerTilgangTilEksternBrukerPolicyInputV1Dto.kt
navikt
491,417,288
false
null
package no.nav.poao_tilgang.api.dto.request.policy_input data class EksternBrukerTilgangTilEksternBrukerPolicyInputV1Dto( val rekvirentNorskIdent: String, // Den som ber om tilgang val ressursNorskIdent: String // Den som bes tilgang om )
2
Kotlin
2
1
71f15ca9c2c489aca0f22dbdbd352dd74d6fbc89
242
poao-tilgang
MIT License
app/src/main/java/com/hover/stax/balances/BalancesViewModel.kt
UseHover
286,494,631
false
null
package com.hover.stax.balances import android.app.Application import android.content.Context import androidx.lifecycle.* import com.hover.sdk.actions.HoverAction import com.hover.stax.R import com.hover.stax.accounts.Account import com.hover.stax.channels.Channel import com.hover.stax.database.DatabaseRepo import com...
0
Kotlin
11
13
690a91bb07d840245f9773d6f1cecdb2aeeb9815
6,459
Stax
Apache License 2.0
api/src/main/kotlin/com/krwordcloud/api/entity/Stats.kt
hoongeun
332,092,255
false
{"Python": 62731, "TypeScript": 17448, "Kotlin": 12077, "Shell": 6855, "Smarty": 3311, "HTML": 1721, "CSS": 1064, "Dockerfile": 497, "JavaScript": 337}
package com.krwordcloud.api.entity import lombok.Data import org.springframework.data.couchbase.core.mapping.Document import java.util.* @Document @Data data class Stats( val size: Long, val start: String, val end: String, val created_at: String, val updated_at: String, val graph_size: Long, ...
0
Python
1
0
01016f94f86ba4a9d1ea668210a65689a0983641
439
krwordcloud
Beerware License
subprojects/gradle/namespaced-resources-fixer/src/main/kotlin/com/avito/android/plugin/NamespacedResourcesFixerPlugin.kt
sundetova
287,793,131
true
{"Kotlin": 2381272, "Shell": 16491, "Python": 14168, "Dockerfile": 7088, "Makefile": 2410}
package com.avito.android.plugin import com.android.build.gradle.internal.tasks.MergeJavaResourceTask import com.avito.android.withAndroidApp import com.avito.impact.configuration.internalModule import com.avito.kotlin.dsl.getOptionalStringProperty import com.avito.kotlin.dsl.isRoot import org.gradle.api.Plugin import...
0
Kotlin
0
0
2f65d3005671248068fe734d7fd48ced92192418
2,636
avito-android
MIT License
app/src/main/java/ru/surf/learn2invest/ui/components/chart/Last7DaysFormatter.kt
vafeen
787,012,717
false
{"Kotlin": 210506}
package ru.surf.learn2invest.ui.components.chart import android.icu.util.Calendar import com.github.mikephil.charting.charts.LineChart import java.text.SimpleDateFormat import java.util.Locale /** * Класс для отображения дат для графика за последние 7 дней */ class Last7DaysFormatter : CustomDateValueFormatter { ...
0
Kotlin
1
1
ce9997f1f3d465b429977e438b7e8b58bd3a18e3
767
learn2Invest
Apache License 2.0
src/main/kotlin/com/github/iguissouma/nxconsole/cli/config/NxConfigProvider.kt
iguissouma
297,120,009
false
null
package com.github.iguissouma.nxconsole.cli.config import com.github.iguissouma.nxconsole.buildTools.NxJsonUtil import com.github.iguissouma.nxconsole.schematics.NxCliUtil import com.intellij.lang.javascript.buildTools.npm.PackageJsonUtil import com.intellij.openapi.diagnostic.Logger import com.intellij.openapi.diagno...
33
Kotlin
9
41
1c796ffc986db407f558b5e17dff75b948f346b2
5,486
nx-console-idea-plugin
Apache License 2.0
app/core/src/main/java/com/fsck/k9/preferences/SettingsFileContents.kt
thunderbird
1,326,671
false
{"Kotlin": 4572978, "Java": 2232770, "Shell": 6489, "AIDL": 1946}
package com.fsck.k9.preferences import com.fsck.k9.mail.AuthType internal data class Imported( @JvmField val contentVersion: Int, @JvmField val globalSettings: ImportedSettings?, @JvmField val accounts: Map<String, ImportedAccount>?, ) internal data class ImportedSettings( @JvmField val settings: Map...
789
Kotlin
2414
9,379
71f6713a2e7cc9d587e849329908fc2526f3923a
1,418
thunderbird-android
Apache License 2.0
packages/@simpli/cli-server/generator/injected/src/main/app/env/PropsProduction.kt
simplitech
128,203,547
false
{"JavaScript": 268743, "Kotlin": 98448, "TypeScript": 58773, "CSS": 41352, "HTML": 37252, "Vue": 25233, "SCSS": 12513, "Shell": 1097, "Dockerfile": 945}
<%_ var packageAddress = options.serverSetup.packageAddress _%> package <%-packageAddress%>.app.env import <%-packageAddress%>.enums.Mode /** * Environment Variables - Production * @author Simpli CLI generator */ class PropsProduction : Props(Mode.PRODUCTION) { override val APP_DEFAULT_ORIGIN = "http://localho...
59
JavaScript
0
4
8c6a7f85da614627e205fca68125317d2732adcc
332
simpli-cli
MIT License
component/src/main/java/cn/nekocode/kotgo/component/ui/BasePresenter.kt
deepinbytes
68,384,601
true
{"Kotlin": 42604, "Python": 9330, "Java": 113}
package cn.nekocode.kotgo.component.ui import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup /** * Created by nekocode on 2015/11/20. */ abstract class BasePresenter() : WithLifecycleFragment() { val fragAct: FragmentActivity? get() = activity...
0
Kotlin
0
0
b682e24f1a75100afa8e82773e089fc493dce607
1,038
kotgo
Apache License 2.0
app/src/main/java/com/flexcode/devspace/github/data/mapper/EntityToDomain.kt
Felix-Kariuki
533,876,693
false
null
package com.flexcode.devspace.github.data.mapper import com.flexcode.devspace.github.data.local.entities.* import com.flexcode.devspace.github.domain.model.* internal fun UserEntity.toDomain(): User { return User( avatar_url = avatar_url, bio = bio, blog = blog, email = email, ...
0
Kotlin
1
6
64fa5ef872adeb4c746accdbabe7cfd6c468cfc8
1,494
DevSpace
MIT License
app/src/main/java/com/anytypeio/anytype/app/DefaultMetricsProvider.kt
anyproto
647,371,233
false
{"Kotlin": 11623123, "Java": 69306, "Shell": 11350, "Makefile": 1334}
package com.anytypeio.anytype.app import com.anytypeio.anytype.BuildConfig import com.anytypeio.anytype.domain.platform.MetricsProvider class DefaultMetricsProvider : MetricsProvider { override fun getVersion(): String { return if (BuildConfig.DEBUG) BuildConfig.VERSION_NAME + DEV_PREFIX ...
45
Kotlin
43
528
c708958dcb96201ab7bb064c838ffa8272d5f326
559
anytype-kotlin
RSA Message-Digest License
src/main/kotlin/org/ice1000/kala/MapPutUnetaInspection.kt
aya-prover
398,224,969
false
{"Kotlin": 23403, "HTML": 1367, "Java": 460}
package org.ice1000.kala import com.intellij.codeInspection.* import com.intellij.openapi.project.Project import com.intellij.psi.* import com.intellij.psi.util.InheritanceUtil class MapPutUnetaInspection : KalaInspection() { private companion object FIX : LocalQuickFix { override fun getFamilyName() = CommonQu...
0
Kotlin
2
7
5268637e430b257961b6c100cee4d3fbf532c24f
3,303
kala-inspections
MIT License
Android_01/app/src/main/java/com/example/myapplication/GpioProcessor.kt
RichardChambers
291,295,396
false
null
package com.example.myapplication import java.io.BufferedWriter import java.io.FileWriter import java.io.IOException import java.util.* /** * Created by Ara on 7/21/15. * From https://www.instructables.com/id/DragonBoard-How-to-Access-GPIOs-Using-Java/ * Java source from the article was converted to Kotlin using...
0
Kotlin
0
1
91022e3279b0786f15fbc4254738daa6489ef694
15,857
dragonboard_410c
MIT License
app/src/main/java/com/jxareas/xpensor/features/chart/presentation/ui/ChartFragment.kt
jxareas
540,284,293
false
{"Kotlin": 260827, "Python": 1602, "Shell": 695}
package com.jxareas.xpensor.features.chart.presentation.ui import android.graphics.Color import android.graphics.Typeface import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.view.animation.AnticipateOvershootInterpolator import androidx.core...
0
Kotlin
3
35
c8639526a7fdd710e485668093ce627e0fa1e8e5
7,800
Xpensor
MIT License
app/src/main/java/com/wisal/android/todoapp/testing/viewmodels/TasksViewModel.kt
wisalmuhammad
466,711,487
false
null
package com.wisal.android.todoapp.testing.viewmodels import android.app.Application import android.util.Log import androidx.lifecycle.* import com.wisal.android.todoapp.testing.R import com.wisal.android.todoapp.testing.data.Result import com.wisal.android.todoapp.testing.data.Task import com.wisal.android.todoapp.tes...
0
Kotlin
0
0
d4d6f610893ebc40457bd0b59f33439f60d810c3
4,340
ToDo-App-with-TestDriven-Development
MIT License
app/src/main/java/com/gurkanaytekin/jetpackcomposeexample/jetpacknavigation/Screen.kt
gurkanaytekin
509,069,595
false
null
package com.gurkanaytekin.jetpackcomposeexample.jetpacknavigation sealed class Screen(val route: String) { object LoginScreen : Screen(route = "login_screen") object MainScreen : Screen(route = "main_screen") object TaskListScreen : Screen(route = "task_list_screen") object DetailScreen : Screen(route ...
0
Kotlin
0
0
29f4ad0c9d5c61cd7da25d59ef7dab753d784042
453
jetpackcomposeexample
Apache License 2.0
kio/src/test/kotlin/it/msec/kio/BracketTest.kt
colomboe
207,798,811
false
{"Kotlin": 93236}
package it.msec.kio import assertk.assertThat import assertk.assertions.isEqualTo import assertk.assertions.isInstanceOf import it.msec.kio.result.Failure import it.msec.kio.runtime.RuntimeSuspended.unsafeRunSync import it.msec.kio.runtime.RuntimeSuspended.unsafeRunSyncAndGet import org.junit.Test class BracketTest {...
1
Kotlin
3
59
96308028ad823c0b6388d6bfcd620e39020d2eb3
1,859
KIO
Apache License 2.0
smithy-kotlin-codegen/src/main/kotlin/software/amazon/smithy/kotlin/codegen/core/KotlinWriter.kt
kmbotts
441,722,639
true
{"Kotlin": 1720392, "Shell": 372}
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ package software.amazon.smithy.kotlin.codegen.core import software.amazon.smithy.codegen.core.CodegenException import software.amazon.smithy.codegen.core.Symbol import software.amazon.smithy.codegen.co...
0
null
0
0
e41526fa329a0dd628f1f8d943d036694e0ecb5f
14,161
smithy-kotlin
Apache License 2.0
app/src/main/java/com/example/movplayv3/ui/components/sections/MovplayExpandableSection.kt
Aldikitta
514,876,509
false
{"Kotlin": 850016}
package com.example.movplayv3.ui.components.sections import androidx.compose.animation.AnimatedVisibility import androidx.compose.animation.core.animateFloatAsState import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.* import androidx.compose.material.icons.Icons import androidx.comp...
1
Kotlin
12
77
8344e2a5cf62289c2b56494bf4ecd5227e26de31
2,979
MovplayV3
Apache License 2.0
app/src/main/java/com/shicheeng/picacgmaterial3/data/paging/ReaderState.kt
shizheng233
499,110,507
false
null
package com.shicheeng.picacgmaterial3.data.paging data class ReaderState( val comicName:String?, val chapterName: String?, val subTime: String?, val id: Int?, val totalPage: Int, val currentPage: Int, val chapterPosition: Int, )
1
Kotlin
1
50
1017478f5e9e13c3b774d2796efe969406367e99
257
PicacgMaterial3
MIT License
Compose/BasicswithCompose/PracticeComposeBasics/FlightSearch/src/main/java/com/example/flightsearch/ui/FavoritesManager.kt
pherasymchuk
723,622,473
false
{"Kotlin": 1012277}
package com.example.flightsearch.ui import com.example.flightsearch.data.database.model.FavoriteFlight import com.example.flightsearch.data.repository.FlightsRepository import com.example.flightsearch.ui.mapper.toFavoriteModel import com.example.flightsearch.ui.model.UiFlight interface FavoritesManager { suspend ...
0
Kotlin
0
1
0ecf24bfea1dae28d17ce213d6a4eb933c86b2f6
1,274
GoogleCodelabsApps
MIT License
app/src/main/java/br/com/wellingtoncosta/coroutines/resources/remote/api/GithubApi.kt
wellingtoncosta
130,426,896
false
null
package br.com.wellingtoncosta.coroutines.data.remote.api import br.com.wellingtoncosta.coroutines.data.remote.response.UserResponse import kotlinx.coroutines.Deferred import retrofit2.http.GET import retrofit2.http.Path /** * @author <NAME> on 22/04/18. */ interface GithubApi { @GET("users") fun getAll():...
0
Kotlin
12
46
30f4919bde3f549a7380bade35b8bdb295e31c7d
464
android-kotlin-coroutines
MIT License
shared/src/commonMain/kotlin/ui/screen/HomeScreen.kt
PGzxc
676,126,421
false
null
package ui.screen import action.StateAction import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.foundation.lazy.LazyColumn import androidx.compose.foundation.lazy.itemsIndexed import androidx.compose.ma...
0
Kotlin
0
0
9a8a165b259aa132cbb5d2331d57d2514bfa6744
2,227
WanAndroid-Compose-Multiplatform
Apache License 2.0
app/src/main/java/id/co/binar/secondhand/ui/dashboard/list_sell/adapter/ListSellProductAdapter.kt
anantyan
518,069,410
false
{"Kotlin": 259916, "Ruby": 641}
package id.co.binar.secondhand.ui.dashboard.list_sell.adapter import android.view.LayoutInflater import android.view.ViewGroup import androidx.recyclerview.widget.AsyncListDiffer import androidx.recyclerview.widget.DiffUtil import androidx.recyclerview.widget.RecyclerView import coil.load import coil.size.ViewSizeReso...
0
Kotlin
0
0
1bb2890297c174f67aac0cd6bb472010f13c87af
4,045
SecondHand
MIT License
app/src/main/java/id/co/binar/secondhand/ui/dashboard/list_sell/adapter/ListSellProductAdapter.kt
anantyan
518,069,410
false
{"Kotlin": 259916, "Ruby": 641}
package id.co.binar.secondhand.ui.dashboard.list_sell.adapter import android.view.LayoutInflater import android.view.ViewGroup import androidx.recyclerview.widget.AsyncListDiffer import androidx.recyclerview.widget.DiffUtil import androidx.recyclerview.widget.RecyclerView import coil.load import coil.size.ViewSizeReso...
0
Kotlin
0
0
1bb2890297c174f67aac0cd6bb472010f13c87af
4,045
SecondHand
MIT License
customer-logic/src/test/kotlin/com/coach/flame/customer/CustomerServiceImplTest.kt
FlameNutrition
333,186,829
false
null
package com.coach.flame.customer import com.coach.flame.customer.client.ClientEnrollmentProcess import com.coach.flame.customer.register.RegistrationCustomerService import com.coach.flame.customer.security.HashPassword import com.coach.flame.customer.security.Salt import com.coach.flame.domain.* import com.coach.flame...
20
Kotlin
0
0
7c1c498be8afbb39848a2f6eb27e97099ebda58f
30,318
flame-coach-service
MIT License
app/src/main/java/com/example/androiddevchallenge/ui/theme/Color.kt
bherbst
344,260,007
false
null
/* * Copyright 2021 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
0
Kotlin
0
0
d96360dfb9c752881b40ba6a1db8c2aa001e78d2
973
ComposeCountdown
Apache License 2.0
app/src/main/java/com/example/androiddevchallenge/ui/theme/Color.kt
bherbst
344,260,007
false
null
/* * Copyright 2021 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
0
Kotlin
0
0
d96360dfb9c752881b40ba6a1db8c2aa001e78d2
973
ComposeCountdown
Apache License 2.0
0985.Sum of Even Numbers After Queries.kt
sarvex
842,260,390
false
{"Kotlin": 1775678, "PowerShell": 418}
internal class Solution { fun sumEvenAfterQueries(nums: IntArray, queries: Array<IntArray>): IntArray { var s = 0 for (x in nums) { if (x % 2 == 0) { s += x } } val m = queries.size val ans = IntArray(m) var k = 0 for (q in queries) { val v = q[0] val i = q[...
0
Kotlin
0
0
71f5d03abd6ae1cd397ec4f1d5ba04f792dd1b48
506
kotlin-leetcode
MIT License
library/src/main/java/com/sha/calendar/kotlin/lib/utilites/ShaValidationUtils.kt
ShahulAndro
161,426,497
false
null
/* * Copyright 2018 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writin...
0
Kotlin
0
0
032e9fa804581e2dd4277bc7997f4ca3ae91dd9b
3,752
sha-calendar-kotlin
Apache License 2.0
repl-api/src/main/kotlin/org/archguard/aaac/Application.kt
archguard
493,677,380
false
{"Kotlin": 22367}
package org.archguard.aaac import io.ktor.server.application.* import org.archguard.aaac.plugins.configureRouting import org.archguard.aaac.plugins.configureSockets fun main(args: Array<String>): Unit = io.ktor.server.netty.EngineMain.main(args) // sample from: https://github.com/ktorio/ktor-documentation/tree/main/...
0
Kotlin
0
0
15a56e1080bb94c45640f46d994ec344fcaddb44
444
architecture-as-code
MIT License
library/src/main/kotlin/com/devbrackets/android/exomedia/core/listener/CaptionListener.kt
brianwernick
32,229,221
false
null
/* * Copyright (C) 2015 - 2017 ExoMedia Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
26
Kotlin
370
1,956
201b76bc23a53e27b5ac66a943f478aa63266a73
853
ExoMedia
Apache License 2.0
AstroYoga/feature/onboard/src/main/java/com/shushant/astroyoga/onboard/navigation/OnBoardingRoutes.kt
ShushantTiwari-ashu
667,410,698
false
null
package com.shushant.astroyoga.onboard.navigation import androidx.navigation.NamedNavArgument import androidx.navigation.NavGraphBuilder import androidx.navigation.compose.composable import com.shushant.astroyoga.data.datastore.PrefStorage import com.shushant.astroyoga.onboard.filldetails.GetDetailsCarousel import com...
0
Kotlin
0
0
9882d51d4a1d975249109c097da0c7b141e6ff69
1,783
AstroYoga-Full-kotlin-stack-App
Apache License 2.0
src/main/kotlin/ch/swisscypher/u14n/common/location/IPAPILocationFinder.kt
Swisscypher
326,803,109
false
null
/* * Copyright 2021 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
0
Kotlin
1
2
7c73ce25d457a4fe7232de2f23ff2cb10d9652d7
1,957
u14n
Apache License 2.0
src/commonMain/kotlin/de/robolab/client/app/model/testing/FilterEntry.kt
pixix4
243,975,894
false
null
package de.robolab.client.app.model.testing import de.robolab.common.planet.test.PlanetTestGoal import de.robolab.common.testing.TestStatus import de.westermann.kobserve.base.ObservableProperty import de.westermann.kobserve.base.ObservableValue import de.westermann.kobserve.property.observeConst import de.westermann.k...
4
Kotlin
0
2
1f20731971a9b02f971f01ab8ae8f4e506ff542b
1,202
robolab-renderer
MIT License
src/commonMain/kotlin/matt/model/flowlogic/singlerunlambda/singlerunlambda.kt
mgroth0
532,381,019
false
{"Kotlin": 198277}
package matt.model.flowlogic.singlerunlambda import matt.lang.sync.ReferenceMonitor import matt.lang.sync.inSync class SingleRunLambda(private val op: () -> Unit) : ReferenceMonitor { private var ran = false operator fun invoke() = inSync { if (!ran) { ran = true op() ...
0
Kotlin
0
0
974214e9b6740646270d7838b878a4696ae923c9
330
model
MIT License
src/main/kotlin/org/ofdspec/CTComposite.kt
ryecrow
352,894,172
false
{"Kotlin": 78972, "Java": 796}
package org.ofdspec import jakarta.xml.bind.annotation.* import org.ofdspec.CTPageBlock.CompositeObject @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "CT_Composite") @XmlSeeAlso( CompositeObject::class ) open class CTComposite : CTGraphicUnit() { @XmlAttribute(name = "ResourceID", required = true) ...
0
Kotlin
1
2
c8cfac05940a36de5d6f97105cdc4fd888b71f09
348
ofd-parser
Apache License 2.0
scenariorun/src/main/kotlin/com/cosmotech/scenariorun/container/StartInfo.kt
Cosmo-Tech
351,730,782
false
{"Kotlin": 2103468, "Shell": 70952, "Smarty": 5815, "Mustache": 3150}
// Copyright (c) Cosmo Tech. // Licensed under the MIT license. package com.cosmotech.scenariorun.container import com.cosmotech.scenario.domain.Scenario import com.cosmotech.scenario.domain.ScenarioResourceSizing import com.cosmotech.scenariorun.domain.ContainerResourceSizeInfo import com.cosmotech.scenariorun.domain...
17
Kotlin
1
3
e71c84211ec779ad0e4477e95b622321fbf14fff
2,602
cosmotech-api
The Unlicense
app/src/main/java/com/prime/media/core/compose/SystemFacade.kt
iZakirSheikh
506,656,610
false
null
package com.prime.media.core.compose import androidx.annotation.StringRes import androidx.compose.runtime.Composable import androidx.compose.runtime.NonRestartableComposable import androidx.compose.runtime.Stable import androidx.compose.runtime.State import androidx.compose.runtime.staticCompositionLocalOf import andr...
5
null
9
97
a92a3d74451442b3dfb8d409c1177453c5d656a3
7,952
Audiofy
Apache License 2.0
app/src/main/java/com/concordium/wallet/ui/account/accountsoverview/SunsettingNoticeDialogFragment.kt
Concordium
358,250,608
false
{"Kotlin": 1392918, "Java": 94500, "HTML": 23222, "CSS": 664}
package com.concordium.wallet.ui.account.accountsoverview import android.content.ClipData import android.content.ClipboardManager import android.content.Intent import android.graphics.Color import android.graphics.drawable.ColorDrawable import android.net.Uri import android.os.Bundle import android.view.LayoutInflater...
0
Kotlin
2
12
65eb583dff1cc8fe37b1deada9be3da158a3f92a
6,503
concordium-reference-wallet-android
Apache License 2.0
godot-kotlin/src/nativeGen/kotlin/godot/Marshalls.kt
raniejade
166,207,411
false
null
// DO NOT EDIT, THIS FILE IS GENERATED FROM api.json package godot import gdnative.godot_method_bind import gdnative.godot_string import godot.core.Allocator import godot.core.Godot import godot.core.PoolByteArray import godot.core.Variant import godot.core.VariantArray import kotlin.Boolean import kotlin.String impor...
12
Kotlin
4
51
5c1bb2a1f1d2187375bf50c0445b42c88f37989f
5,714
godot-kotlin
MIT License
basick/src/main/java/com/mozhimen/basick/utilk/wrapper/UtilKSysRom.kt
mozhimen
353,952,154
false
null
package com.mozhimen.basick.utilk.wrapper import com.mozhimen.basick.elemk.cons.CStrPackage import com.mozhimen.basick.elemk.mos.MRomInfo import com.mozhimen.basick.utilk.android.os.UtilKBuild import com.mozhimen.basick.utilk.android.os.UtilKBuildVersion import com.mozhimen.basick.utilk.android.os.UtilKSystemPropertie...
1
null
14
118
bbdd6ab9b945f04036c27add35c1cbd70c1b49f7
9,855
SwiftKit
Apache License 2.0
src/main/kotlin/git/semver/plugin/changelog/ChangeLogFormat.kt
jmongard
248,187,973
false
{"Kotlin": 121716}
package git.semver.plugin.changelog class ChangeLogFormat { companion object { /** * Creates a change log breaking changes at the top and grouping by typ or scope. */ val defaultChangeLog = ChangeLogFormatter { appendLine(constants.header).appendLine() wit...
4
Kotlin
4
38
dd02b04b0df19ee50156211d49d44df566219e92
4,015
Git.SemVersioning.Gradle
Apache License 2.0
app/src/mock/java/com/example/android/architecture/blueprints/todoapp/data/FakeTasksRemoteDataSource.kt
oldergod
96,057,945
true
null
/* * Copyright 2016, 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 applic...
4
Kotlin
71
671
1352ba59453721c9f46200a1f10cd76515940bf0
3,303
android-architecture
Apache License 2.0
src/main/kotlin/org/kiwiproject/changelog/github/GithubApi.kt
kiwiproject
332,067,864
false
{"Kotlin": 57723, "Shell": 3115}
package org.kiwiproject.changelog.github import com.google.common.annotations.VisibleForTesting import java.io.IOException import java.net.URI import java.net.http.HttpClient import java.net.http.HttpHeaders import java.net.http.HttpRequest import java.net.http.HttpResponse.BodyHandlers import java.time.Instant import...
6
Kotlin
0
1
6c3bc1b5f8368f869375e96383777e7ace59a976
2,784
kiwiproject-changelog
MIT License
svc_notification/src/main/kotlin/ru/beeline/notification/models/Notification.kt
smith1984
642,438,569
false
null
package ru.beeline.notification.models import kotlinx.serialization.Serializable import org.jetbrains.exposed.sql.Table @Serializable data class Notification(val id: String, val userId: String, val message: String, val email: String) object Notifications : Table("notifications") { val id = char("id", 36).uniqueI...
0
Kotlin
0
0
e1d316b575601c0103c73d79ee0d554bc3e2b659
972
otus_ms_transactions
Apache License 2.0
remix/src/commonMain/kotlin/com/woowla/compose/icon/collections/remix/remix/development/GitRepositoryFill.kt
walter-juan
868,046,028
false
{"Kotlin": 34345428}
package com.woowla.compose.icon.collections.remix.remix.development import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap.Companion.Butt import androidx.compose.ui.graphic...
0
Kotlin
0
3
eca6c73337093fbbfbb88546a88d4546482cfffc
3,112
compose-icon-collections
MIT License
components/updater/card/src/main/java/com/flipperdevices/updater/card/helpers/UpdateOfferProvider.kt
flipperdevices
288,258,832
false
{"Kotlin": 2760721, "FreeMarker": 10084, "CMake": 1780, "C++": 1152, "Fluent": 21}
package com.flipperdevices.updater.card.helpers import com.flipperdevices.bridge.service.api.FlipperServiceApi import com.flipperdevices.core.di.AppGraph import com.flipperdevices.updater.card.helpers.delegates.UpdateOfferDelegate import com.squareup.anvil.annotations.ContributesBinding import kotlinx.coroutines.flow....
21
Kotlin
174
999
ef27b6b6a78a59b603ac858de2c88f75b743f432
1,113
Flipper-Android-App
MIT License
app/src/main/java/com/zaragoza/contest/domain/ScoreRepository.kt
pablo-ziura
695,146,759
false
{"Kotlin": 75939}
package com.zaragoza.contest.domain import com.zaragoza.contest.model.Score interface ScoreRepository { fun updateCurrentUserScore(score: Int) fun fetchCurrentScore(): Int suspend fun getBestScoresList(): List<Score> }
0
Kotlin
0
0
f2158e70869f9c0ed7ac9391f245a1611e081455
234
zaragoza-contest
Apache License 2.0
owner/src/main/java/org/the_chance/honeymart/ui/features/category/composable/AddProductButton.kt
TheChance101
647,400,117
false
{"Kotlin": 1218713}
package org.the_chance.honeymart.ui.features.category.composable import androidx.compose.foundation.layout.size import androidx.compose.material3.FloatingActionButton import androidx.compose.material3.Icon import androidx.compose.material3.MaterialTheme import androidx.compose.runtime.Composable import androidx.compos...
3
Kotlin
7
21
50200e0ec0802cdadc282b09074a19c96df3220c
1,318
Honey-Mart-Android-Client
Apache License 2.0
ui-kit/src/main/kotlin/org/p2p/uikit/utils/drawable/GradientDrawableUtils.kt
p2p-org
306,035,988
false
{"Kotlin": 4545395, "HTML": 3064848, "Java": 296567, "Groovy": 1601, "Shell": 1252}
package org.p2p.uikit.utils.drawable import androidx.annotation.ColorInt import android.graphics.drawable.GradientDrawable fun buildGradientDrawableRectangle( cornerRadius: Float, strokeWidth: Int, @ColorInt strokeColor: Int, @ColorInt backgroundColor: Int ): GradientDrawable = GradientDrawable().appl...
8
Kotlin
18
34
d091e18b7d88c936b7c6c627f4fec96bcf4a0356
472
key-app-android
MIT License
map/src/main/kotlin/de/darkatra/bfme2/map/reader/SidesReader.kt
DarkAtra
325,887,805
false
null
package de.darkatra.bfme2.map.reader import de.darkatra.bfme2.InvalidDataException import de.darkatra.bfme2.map.AssetName import de.darkatra.bfme2.map.MapFile import de.darkatra.bfme2.map.Player import de.darkatra.bfme2.readBoolean import de.darkatra.bfme2.readUInt import org.apache.commons.io.input.CountingInputStrea...
1
Kotlin
0
1
4110f2f02777ce1dba31c14ef2c4befbbe1fdec1
2,201
bfme2-modding-utils
MIT License
pipe/src/test/java/com/udeyrishi/pipe/internal/util/ImmutableAfterSetTest.kt
udeyrishi
131,472,826
false
null
/** * Copyright (c) 2018 <NAME>. All rights reserved. */ package com.udeyrishi.pipe.internal.util import org.junit.Assert.assertEquals import org.junit.Assert.assertNull import org.junit.Test import org.junit.runner.RunWith import org.junit.runners.JUnit4 @RunWith(JUnit4::class) class ImmutableAfterSetTest { @T...
2
Kotlin
1
4
307778d035c1f47d12ad1a10f288ea3e44491d93
1,072
pipe
MIT License
modules/about/ui/src/main/kotlin/nasa/about/ui/AboutAction.kt
jonapoul
794,260,725
false
{"Kotlin": 558516}
package nasa.about.ui import androidx.compose.runtime.Immutable @Immutable internal sealed interface AboutAction { data object NavBack : AboutAction data object ViewLicenses : AboutAction data object CheckUpdates : AboutAction data object ReportIssue : AboutAction data object OpenSourceCode : AboutAction }
1
Kotlin
0
1
c1e163f2a7212200280d0d613a478543020c9278
320
nasa-android
Apache License 2.0
src/main/kotlin/no/nav/helse/flex/cronjob/BestillBeskjedJobb.kt
navikt
495,745,215
false
{"Kotlin": 162801, "Dockerfile": 267}
package no.nav.helse.flex.cronjob import no.nav.helse.flex.logger import no.nav.helse.flex.vedtaksperiode.StatusRepository import no.nav.helse.flex.vedtaksperiode.StatusVerdi import org.springframework.beans.factory.annotation.Value import org.springframework.scheduling.annotation.Scheduled import org.springframework....
2
Kotlin
0
0
8be6bb0780b27f6dc20d8625a5060014e1c5822e
2,420
flex-inntektsmelding-status
MIT License
feature/wallpaper-picker/domain/src/main/kotlin/ru/maksonic/beresta/feature/wallpaper_picker/domain/WallpaperParams.kt
maksonic
580,058,579
false
{"Kotlin": 1622432}
package ru.maksonic.beresta.feature.wallpaper_picker.domain /** * @Author maksonic on 30.10.2023 */ data class WallpaperParams( val type: WallpaperType.Value, val id: Long, val tintColorId: Long = 0, val tintColorAlpha: Float = 1f, val backgroundColorId: Long = 0, val backgroundColorAlpha: Fl...
0
Kotlin
0
0
227b0a5f6c27b0f731b1f6e81b1fe2deeaa720aa
958
Beresta
MIT License
core/src/main/kotlin/com/ferelin/core/adapter/stocks/StocksRecyclerAdapter.kt
NikitaFerelin
339,103,168
false
null
/* * Copyright 2021 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
0
Kotlin
3
30
18670da6124d0328b0d323b675d0bafdb4df45f6
4,027
Android_Stock_Price
Apache License 2.0
meistercharts-canvas/src/jvmTest/kotlin/com/meistercharts/algorithms/layers/slippymap/SlippyMapTest.kt
Neckar-IT
599,079,962
false
{"Kotlin": 5819931, "HTML": 87784, "JavaScript": 1378, "CSS": 1114}
/** * Copyright 2023 Neckar IT GmbH, Mössingen, Germany * * 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 appli...
3
Kotlin
3
5
ed849503e845b9d603598e8d379f6525a7a92ee2
10,298
meistercharts
Apache License 2.0
src/main/kotlin/com/lykke/matching/engine/services/events/RemovedAssetPairsEvent.kt
LykkeCity
52,304,364
false
{"Gradle": 2, "Shell": 3, "Text": 2, "Ignore List": 1, "Batchfile": 2, "Markdown": 1, "Java Properties": 2, "Kotlin": 596, "XML": 2, "Java": 21, "Protocol Buffer": 1, "INI": 3, "YAML": 1}
package com.lykke.matching.engine.services.events import com.lykke.matching.engine.daos.AssetPair class RemovedAssetPairsEvent(val assetPairs: Collection<AssetPair>)
5
Kotlin
16
31
937b360b10d461e444ebc7133dd9ab6b64ae4cb5
167
MatchingEngine
MIT License
idea/testData/hierarchy/class/type/ClassFromClass/main.kt
JakeWharton
99,388,807
false
null
class MyClass<caret>: A() open class A
0
null
28
83
4383335168338df9bbbe2a63cb213a68d0858104
39
kotlin
Apache License 2.0
app/src/main/java/com/ouattararomuald/saviezvousque/posts/views/PostListView.kt
ouattararomuald
121,032,074
false
{"Gradle": 6, "Java Properties": 2, "Markdown": 2, "Shell": 1, "Text": 1, "Ignore List": 5, "Batchfile": 1, "Proguard": 4, "JSON": 3, "Kotlin": 51, "XML": 45, "Java": 2, "YAML": 2}
package com.ouattararomuald.saviezvousque.posts.views import android.content.Context import android.util.AttributeSet import android.view.LayoutInflater import android.widget.FrameLayout import androidx.core.view.isGone import androidx.core.view.isVisible import androidx.recyclerview.widget.LinearLayoutManager import ...
2
Kotlin
0
0
aee6e81cca6b0d580896e1fb05f971419dbb2fca
2,277
saviez-vous-que
Apache License 2.0
test-project/src/test/kotlin/de/mf/kmf/test/KmfAdapterTests.kt
Multifuchs
151,025,660
false
null
package de.mf.kmf.test import de.mf.kmf.core.KmfAdapter import de.mf.kmf.core.KmfNotification import de.mf.kmf.core.KmfObject import org.junit.Test import kotlin.test.BeforeTest import kotlin.test.assertContentEquals import kotlin.test.assertEquals class KmfAdapterTests { var rootA = TestRoot() var rootB = T...
1
null
1
3
b4bc611f5dd6145b065011f0a605e5ba0f6412e9
4,133
kmf
Apache License 2.0
idea/testData/inspectionsLocal/liftOut/tryToReturn/basic.kt
JakeWharton
99,388,807
false
null
// HIGHLIGHT: INFORMATION fun test(): String { <caret>try { return "success" } catch (e: Exception) { throw e } }
0
null
28
83
4383335168338df9bbbe2a63cb213a68d0858104
142
kotlin
Apache License 2.0
src/main/kotlin/hackerrank/interviewprep/warmupchallenges/SockMerchant.kt
LennyRamos
210,012,335
false
{"Gradle Kotlin DSL": 2, "XML": 12, "Shell": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 2, "INI": 1, "Kotlin": 25, "Java": 2, "Text": 8}
package hackerrank.interviewprep.warmupchallenges import java.util.* import kotlin.collections.HashMap /** * @author <NAME> * * Given an array of integers representing the color of each sock, * determine how many pairs of socks with matching colors there are. */ class SockMerchant { /** * @param number...
1
null
1
1
0903a99f438097ae9e54886a18d80b15432110ce
1,699
core
MIT License
plugins/maven/src/test/java/org/jetbrains/idea/maven/importing/MavenSetupProjectTest.kt
JetBrains
2,489,216
false
null
// Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. package org.jetbrains.idea.maven.importing import com.intellij.maven.testFramework.assertWithinTimeout import com.intellij.openapi.application.appSystemDir import com.intellij.openapi.project.getPro...
284
null
5162
16,707
def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0
7,372
intellij-community
Apache License 2.0
src/classes/SealedClasses.kt
androidlife
125,282,514
false
{"Text": 2, "Ignore List": 1, "Markdown": 1, "Kotlin": 56, "Java": 11}
package classes //sealed classes are like enums //but they add dynamic values to it ( one of the use case ) // may be other stuff are also there, but I don't know at this stage enum class ViewState(val viewData: ViewData){ Error(ViewData(10,"Error")), Loading(ViewData(20,"Loading")), Success(ViewData(30,"...
0
Kotlin
0
1
38b6b805a23a6bda0b6352967abbceff2f19e344
2,101
learningkotlin
MIT License