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
src/main/kotlin/uk/gov/justice/hmpps/offenderevents/health/HealthCheck.kt
ministryofjustice
212,796,813
false
{"Shell": 3, "Gradle Kotlin DSL": 2, "JSON": 3, "YAML": 14, "Dockerfile": 1, "Java Properties": 2, "Text": 2, "Ignore List": 1, "Batchfile": 1, "Markdown": 2, "INI": 1, "Kotlin": 44, "XML": 1, "HTML": 1, "Mustache": 1}
package uk.gov.justice.hmpps.offenderevents.health import org.springframework.beans.factory.annotation.Qualifier import org.springframework.stereotype.Component import org.springframework.web.reactive.function.client.WebClient import uk.gov.justice.hmpps.kotlin.health.HealthPingCheck @Component class HmppsAuthApiHeal...
0
Kotlin
1
2
a4e91aa457eeab31614150b5b8c5b1637776c63a
537
prison-offender-events
MIT License
sdk/src/main/java/com/spacer/sdk/data/api/resData/IResData.kt
spacer-dev
404,248,319
false
null
package com.spacer.sdk.data.api.resData import java.io.Serializable interface IResData : Serializable { val result: Boolean val error: ErrorResData? }
1
Kotlin
0
0
4a288d981b77dd7f580c0e2875d636b84fa6f9f8
160
spacer-sdk-android
MIT License
app/src/main/java/com/cstef/meshlink/ui/components/TextCard.kt
cestef
568,479,707
false
{"Kotlin": 220826}
package com.cstef.meshlink.ui.components 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.material3.Card import androidx.compose.material3.CardD...
0
Kotlin
1
7
1b29195544f9c8a0edea862f238621faec7e00d1
1,460
meshlink
MIT License
kotlin/kotlin-formal/examples/fuzzer/nullSpilling.kt-591733258.kt_minimized.kt
antlr
5,958,314
false
{"ANTLR": 6775610, "Java": 1331797, "Python": 537677, "C#": 213155, "Shell": 151939, "PowerShell": 91780, "C++": 85503, "JavaScript": 80796, "TypeScript": 56835, "Go": 36584, "Dart": 24575, "CMake": 16349, "Objective-C": 10524, "Swift": 9106, "PHP": 7650, "Smalltalk": 6699, "C": 6406, "Yacc": 5177, "TSQL": 4935, "PLSQL...
suspend fun foo(value: String): (String)? = suspendCoroutineOrReturn((if (true) { ({x -> }) } else { ({x -> }) }))
529
ANTLR
3668
9,910
6581f29d0cb63e3e337cd6dacec6602e34aa88d3
114
grammars-v4
MIT License
app/src/main/java/io/sensify/sensor/domains/sensors/SensorsComposables.kt
JunkieLabs
488,675,241
false
{"Kotlin": 208498}
package io.SenseSync.sensor.domains.sensors import android.content.Context import android.hardware.SensorManager import androidx.compose.runtime.Composable import androidx.compose.runtime.LaunchedEffect import androidx.compose.runtime.State import androidx.compose.runtime.collectAsState import androidx.compose.ui.plat...
2
Kotlin
19
164
d8b875f92100b63022ff7fa4360de5ba3d75dfdf
1,018
sensify-android
MIT License
src/main/java/net/ccbluex/liquidbounce/features/module/modules/movement/jesus/vanilla/DolphinJesus.kt
Rmejia39
733,988,804
false
{"Kotlin": 2304965, "Java": 1271227, "GLSL": 13515, "JavaScript": 8926}
package net.ccbluex.liquidbounce.features.module.modules.movement.jesus.vanilla import net.ccbluex.liquidbounce.event.UpdateEvent import net.ccbluex.liquidbounce.features.module.modules.movement.jesus.JesusMode import net.minecraft.util.BlockPos class DolphinJesus : JesusMode("Dolphin") { override fun onJesus(eve...
3
Kotlin
0
0
b48c4e83c888568111a6665037db7fd3f7813ed3
446
FDPClient
MIT License
composeApp/src/commonMain/kotlin/io/github/snd_r/komelia/ui/settings/authactivity/AuthenticationActivityViewModel.kt
Snd-R
775,064,249
false
null
package io.github.snd_r.komelia.ui.settings.authactivity import androidx.compose.runtime.getValue import androidx.compose.runtime.mutableStateOf import androidx.compose.runtime.setValue import cafe.adriel.voyager.core.model.StateScreenModel import cafe.adriel.voyager.core.model.screenModelScope import io.github.snd_r....
2
null
2
9
5a16d84ed86321e4c7efa96daea9dd7dbfc2308b
2,023
Komelia
Apache License 2.0
src/test/kotlin/no/oyvindis/kotlin_service/integration/LivenessIntegration.kt
oyvindis
466,156,840
false
null
package no.oyvindis.kotlin_service.integration import no.oyvindis.kotlin_service.utils.ApiTestContext import no.oyvindis.kotlin_service.utils.apiGet import org.junit.jupiter.api.Tag import org.junit.jupiter.api.Test import org.junit.jupiter.api.TestInstance import org.springframework.boot.test.context.SpringBootTest i...
1
Kotlin
0
0
a31c7118b7d5017bc26a2e7b22be3332f819f10e
996
kotlin-service
Apache License 2.0
app/src/main/java/com/niltonfirmino/unyleya_sqlite_kotlin_crud/database/Employee.kt
NiltonFirmino
463,680,107
false
{"Kotlin": 10113}
package com.niltonfirmino.unyleya_sqlite_kotlin_crud.database import androidx.room.ColumnInfo import androidx.room.Entity import androidx.room.PrimaryKey @Entity(tableName = "emp_table") data class Employee( @PrimaryKey var id:Int, @ColumnInfo(name="emp_name") var name:String, var email:String)
0
Kotlin
0
1
3ba12e6204f68f248c99f7500fd889cfff59785b
318
Unyleya_sqlite_kotlin_crud
MIT License
remark-api/src/main/java/com/stelmashchuk/remark/api/comment/PostCommentUseCase.kt
VovaStelmashchuk
350,405,976
false
null
package com.stelmashchuk.remark.api.comment public class PostCommentUseCase internal constructor( private val commentStorage: CommentStorage, private val commentService: CommentService, private val commentMapper: CommentMapper, private val siteId: String, private val postUrl: String, ) { public ...
9
Kotlin
2
4
cf06a5fb06d6d145ca2920ef76841efe6a555658
1,099
RadiotApp
MIT License
src/commonMain/kotlin/matt/obs/subscribe/subscribe.kt
mgroth0
521,720,515
false
{"Kotlin": 249599}
package matt.obs.subscribe import matt.lang.function.Consume import matt.lang.weak.common.WeakRefInter import matt.obs.common.MObservableImpl import matt.obs.listen.MyListenerInter import matt.obs.listen.event.BasicEventListener import matt.obs.listen.event.MyEventListener import matt.obs.listen.event.Subscription imp...
0
Kotlin
0
0
0b797946ca5d7ccd002f0ce020183c05dda81aeb
1,205
obs
MIT License
app/src/main/java/com/example/simplecleanarchitecture/core/lib/view/ViewExtensions.kt
tom2048
643,515,847
false
null
package com.example.simplecleanarchitecture.core.lib.view import android.text.Editable import android.view.View import android.widget.Button import android.widget.EditText import android.widget.TextView import androidx.core.view.isGone import androidx.core.view.isInvisible import androidx.core.view.isVisible import an...
0
Kotlin
0
0
70a764a9d97e7b4fc6f7172fb8eaf4df3ff4aacc
1,823
simple-clean-architecture-android-mvi-example
MIT License
app/src/main/java/io/github/pavel/jetpack/data/model/request/SampleRequest.kt
pavel-corsaghin
405,330,602
false
{"Kotlin": 36974}
package io.github.pavel.jetpack.data.model.request data class SampleRequest(val sampleField: String?)
0
Kotlin
6
24
8b35c49ffff0c6bfd778542786150e350fd09253
102
Android-Clean-Architecture-MVVM-Hilt-Jetpack-Compose
MIT License
app/src/main/java/com/webserveis/app/pomodoty/SplashScreenActivity.kt
webserveis
483,984,593
false
{"Kotlin": 86922}
package com.webserveis.app.pomodoty import android.content.Intent import android.os.Bundle import android.os.Handler import android.os.Looper import androidx.appcompat.app.AppCompatActivity import com.webserveis.app.pomodoty.databinding.ActivitySplashScreenBinding import com.webserveis.app.pomodoty.ui.WelcomeActivity ...
0
Kotlin
0
0
272c4a855ff93ca20fea244de2a24b549b670379
1,546
pomodoty
MIT License
app/src/main/java/com/androidessence/cashcaretaker/core/BaseViewModel.kt
AdamMc331
45,636,858
false
null
package com.androidessence.cashcaretaker.base import androidx.databinding.Bindable import androidx.databinding.Observable import androidx.databinding.PropertyChangeRegistry import androidx.lifecycle.ViewModel import kotlinx.coroutines.Job open class BaseViewModel : ViewModel(), Observable { protected var job: Job...
16
null
14
23
ddaf8c00e357a3b80ec5c25853a6f32ed0da7521
1,843
CashCaretaker
MIT License
library/src/main/java/net/langhoangal/direcycleradapter/item/RecyclerItem.kt
langhoangal
147,441,288
false
null
package net.langhoangal.direcycleradapter.item interface RecyclerItem { fun getItemId(): Long fun renderKey(): String }
0
Kotlin
0
0
d575128957815767658888c58c0d7b4342e502bc
128
injectable-recyclerview-adapter
Apache License 2.0
mobile/src/main/java/de/lemke/nakbuch/domain/buchUseCases/GetAllBuecherUseCase.kt
Lemkinator
475,012,572
false
null
package de.lemke.nakbuch.domain.buchUseCases import de.lemke.nakbuch.data.BuchRepository import de.lemke.nakbuch.domain.model.Buch import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.withContext import javax.inject.Inject class GetAllBuecherUseCase @Inject constructor( private val buchRepository: Buch...
0
Kotlin
0
5
223393f95e28232fdeb898056c781b462b2d74b5
464
NAK-Buch
MIT License
defitrack-rest/defitrack-api-gw/src/main/java/io/defitrack/protocol/ProtocolRouterConfig.kt
decentri-fi
426,174,152
false
{"Kotlin": 1290412, "Java": 1948, "Dockerfile": 909}
package io.defitrack.protocol import io.defitrack.protocol.distribution.ProtocolDistributionConfig import kotlinx.coroutines.runBlocking import org.slf4j.LoggerFactory import org.springframework.cloud.gateway.route.RouteLocator import org.springframework.cloud.gateway.route.builder.RouteLocatorBuilder import org.sprin...
59
Kotlin
6
11
8b8d6713c9734d2b4015e7affe658e797c9a00be
2,503
defi-hub
MIT License
retrofit_in_use/app/src/main/java/com/dev/retrofit_in_use/data/local/PixabayTypeConverter.kt
PhoenixNest
472,614,701
false
null
package com.dev.retrofit_in_use.data.local import androidx.room.TypeConverter import com.dev.retrofit_in_use.models.Pixabay import com.google.gson.Gson import com.google.gson.reflect.TypeToken class PixabayTypeConverter { private val gson = Gson() @TypeConverter fun pixabayToJsonString(pixabay: Pixabay)...
0
Kotlin
0
0
00df973b674768a28abc8e83312474f8bae933bc
552
google_jetpack_in_use
MIT License
src/main/java/de/tillhub/paymentengine/ui/CardPaymentActivity.kt
tillhub
578,173,252
false
null
package de.tillhub.paymentengine.ui import android.os.Bundle import androidx.core.view.isGone import androidx.core.view.isVisible import dagger.hilt.android.AndroidEntryPoint import de.tillhub.paymentengine.data.LavegoTerminalOperation import de.tillhub.paymentengine.databinding.ActivityCardPaymentBinding @AndroidEnt...
0
Kotlin
0
0
8c074203eecebea39184169d1dedac84e7739470
1,400
payment-engine
Apache License 2.0
app/src/main/java/com/unix14/android/wheretosea/common/ProgressData.kt
unix14
213,348,373
false
null
package com.unix14.android.wheretosea.common import androidx.lifecycle.LiveData import java.util.concurrent.atomic.AtomicInteger /** * Implementation of Boolean LiveData class * that counts the number of startProgress and endProgress calls * and post value == true in case there is any unfinished progress. */ clas...
0
Kotlin
0
0
5ff2bcb5d9d9ff9c80445e94875997a078c9560f
714
where2sea
MIT License
src/en/comicextra/src/eu/kanade/tachiyomi/extension/en/comicextra/ComicExtra.kt
SnakeDoc83
195,157,761
true
null
package eu.kanade.tachiyomi.extension.en.comicextra import eu.kanade.tachiyomi.network.GET import eu.kanade.tachiyomi.source.model.FilterList import eu.kanade.tachiyomi.source.model.Page import eu.kanade.tachiyomi.source.model.SChapter import eu.kanade.tachiyomi.source.model.SManga import eu.kanade.tachiyomi.source.on...
2
Kotlin
8
7
ff800f6fea5a09e5d4813e3079c129f52c65ada9
5,939
tachiyomi-extensions
Apache License 2.0
plugin/src/main/kotlin/io/github/addoncommunity/galactifun/units/Angle.kt
Slimefun-Addon-Community
624,085,324
false
{"Kotlin": 219072, "Java": 2022}
package io.github.addoncommunity.galactifun.units import io.github.addoncommunity.galactifun.TAU import io.github.addoncommunity.galactifun.units.Angle.Companion.radians val Angle.standardForm: Angle get() = ((radians % TAU + TAU) % TAU).radians fun sin(angle: Angle): Double = kotlin.math.sin(angle.radians) fun ...
1
Kotlin
2
5
275a0b359d2428c62338db1a930a83e7700ddaac
637
Galactifun2
Apache License 2.0
compiler/testData/codegen/box/delegation/inlineClassProperty.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...
// TARGET_BACKEND: JVM // WITH_REFLECT import kotlin.reflect.KMutableProperty1 import kotlin.reflect.full.* @JvmInline value class Z(val value: Int) interface I { var x: Z } object A : I { override var x: Z = Z(0) } object B : I by A fun box(): String { val x = B::class.memberProperties.single { it.na...
181
Kotlin
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
490
kotlin
Apache License 2.0
base/src/main/java/com/tp/base/constant/ApiConstants.kt
miel3k
250,360,137
false
null
package com.tp.base.constant object ApiConstants { const val CONTENT_TYPE = "Content-Type" }
0
Kotlin
0
1
f504e7c3bd47b784914c0535e9af9b0936743193
97
forest-fire-monitor-android
MIT License
app/src/main/java/pl/lusy/jojo/journeyjournal/data/repository/TripRepository.kt
sylgas
126,743,566
false
null
package pl.lusy.jojo.journeyjournal.data.repository import pl.lusy.jojo.journeyjournal.data.model.Trip interface TripRepository : GetDataRepository<Trip>, SaveDataRepository<Trip>, FetchDataRepository<Trip>
0
Kotlin
0
0
2e66d2b1629af87e660660aa76b8b39ed5f5d0f2
221
jojo
Apache License 2.0
spark-ml/src/main/kotlin/com/sumo/experiments/MLJob.kt
xmlking
60,850,964
false
null
package com.sumo.experiments import org.apache.spark.SparkConf import org.apache.spark.api.java.JavaSparkContext fun main(args: Array<String>) { val conf = SparkConf() .setMaster("local") .setAppName("Kotlin Spark Test") .set("spark.driver.host", "localhost") val sc = JavaSparkContex...
1
Kotlin
4
1
9e0fa6d1d68f827f8b38565fc1aa0b0c766fe916
679
spark-playground
MIT License
swipe-downer/src/main/java/com/prongbang/ui/swipedowner/SwipeDowner.kt
prongbang
120,561,167
false
{"Gradle": 4, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "Proguard": 2, "Kotlin": 9, "XML": 34, "Java": 2}
package com.prongbang.ui.swipedowner import android.app.Activity /** * Created by prongbang on 2/5/2018 AD. */ open class SwipeDowner(activity: Activity) : BaseSwipeDowner(activity)
1
null
1
1
20940052d8a230eeb71bf4a8d3c21c98a81d539a
185
SwipeDowner
MIT License
app/src/main/java/com/amalitec/moviesapp/domain/remote/usecase/GetTopRated.kt
kclaudeeager
639,718,284
false
null
package com.amalitec.moviesapp.domain.remote.usecase import com.amalitec.moviesapp.common.Resource import com.amalitec.moviesapp.data.remote.dto.Result import com.amalitec.moviesapp.data.remote.dto.toMovie import com.amalitec.moviesapp.domain.model.Movie import com.amalitec.moviesapp.domain.repository.RemoteMovieRepos...
0
Kotlin
0
0
08848f9f6a0bdd0f394c803bcef2171ecb321080
1,346
MovieApp
Apache License 2.0
Code Files/DisneyFilmKotlin/app/src/main/java/com/salihselimsekerci/disneyfilmkotlin/data/model/Movie.kt
salihselimsekerci
381,349,768
false
null
package com.salihselimsekerci.disneyfilmkotlin.data.model import androidx.room.ColumnInfo import androidx.room.Entity import androidx.room.PrimaryKey import com.google.gson.annotations.SerializedName /*Bu sınıfım hem veritabanı hem internetten veri almak için yazdım ColumnInfo kısımları ile tablodaki kolon isimleri v...
0
Kotlin
0
0
f78644a2b28c30380826fb980abef86181e6570e
1,198
DisneyTV
MIT License
src/main/kotlin/com/starlitmc/serialisation/objects/ItemSerializer.kt
StarlitMC
783,358,315
false
{"Kotlin": 77060, "Java": 3180}
package com.starlitmc.serialisation.objects import com.starlitmc.extensions.getItemName import com.starlitmc.extensions.toItem import kotlinx.serialization.KSerializer import kotlinx.serialization.descriptors.PrimitiveKind import kotlinx.serialization.descriptors.PrimitiveSerialDescriptor import kotlinx.serialization....
0
Kotlin
0
0
bed5a5fcc4ce928ca370c39cd73279c0c78c8b6f
773
StarlitUtils
Creative Commons Zero v1.0 Universal
Konan/src/main/kotlin/ViewController.kt
theapache64
132,035,192
false
null
// // ViewController.kt // Konan // // Created by theapache64 on 04/05/18. // Copyright © 2018 theah64. All rights reserved. // import kotlinx.cinterop.* import platform.Foundation.* import platform.UIKit.* @ExportObjCClass class ViewController : UIViewController { constructor(aDecoder: NSCoder) : super(aDec...
0
Kotlin
0
0
077f8037c429029a63567be1a1af53c641ea73cb
790
Konan
Apache License 2.0
src/main/java/me/han/muffin/client/module/modules/player/AutoFeetPlace.kt
SmallFishDD
425,272,585
false
{"Kotlin": 1725682, "Java": 943392, "GLSL": 15937}
package me.han.muffin.client.module.modules.player import me.han.muffin.client.Muffin import me.han.muffin.client.core.Globals import me.han.muffin.client.event.EventStageable import me.han.muffin.client.event.events.client.ClientTickEvent import me.han.muffin.client.event.events.client.MotionUpdateEvent import me.han...
1
Kotlin
2
2
13235eada9edd9ccca039dea4d3a59cc7a930830
17,842
muffin-0.10.4-src-leaked
MIT License
defitrack-blockchains/evm/src/main/java/io/defitrack/evm/contract/ERC721Contract.kt
decentri-fi
426,174,152
false
{"Kotlin": 1290412, "Java": 1948, "Dockerfile": 909}
package io.defitrack.evm.contract import io.defitrack.abi.TypeUtils.Companion.string import io.defitrack.abi.TypeUtils.Companion.toAddress import io.defitrack.abi.TypeUtils.Companion.uint256 import java.math.BigInteger open class ERC721Contract( blockchainGateway: BlockchainGateway, address: String ) : Ev...
59
Kotlin
6
11
8b8d6713c9734d2b4015e7affe658e797c9a00be
1,223
defi-hub
MIT License
kt/godot-library/src/main/kotlin/godot/gen/godot/ClockDirection.kt
utopia-rise
289,462,532
false
{"Kotlin": 1649742, "GDScript": 536482, "C++": 487057, "C": 13191, "C#": 10278, "Shell": 7888, "Python": 3941, "Java": 3219, "CMake": 941}
// THIS FILE IS GENERATED! DO NOT EDIT IT MANUALLY! package godot import kotlin.Long public enum class ClockDirection( id: Long, ) { /** * Clockwise rotation. Used by some methods (e.g. [Image.rotate90]). */ CLOCKWISE(0), /** * Counter-clockwise rotation. Used by some methods (e.g. [Image.rotate90])....
64
Kotlin
44
634
ac2a1bd5ea931725e2ed19eb5093dea171962e3f
531
godot-kotlin-jvm
MIT License
auth/src/main/java/cn/moltres/android/auth/AbsAuthBuildForRY.kt
WenjieGithub
693,520,854
false
{"Kotlin": 162199, "Java": 606}
package cn.moltres.android.auth import android.app.Activity abstract class AbsAuthBuildForRY : AbsAuthBuild("RY") { /** * TODO 暂不支持 跳转到管理订阅页, 使用前先调用登陆来确保登陆 */ abstract suspend fun jumpToManageSubsPage(activity: Activity): AuthResult /** 登录功能 授权 */ abstract suspend fun login(): AuthResult ...
0
Kotlin
1
3
b56a2727b6d43963b8ad0697e860b7aec60c7daf
3,269
AndroidAuth
Apache License 2.0
examples/forex/history/getPreviousClose/main.kt
GWT-M3O-TEST
485,009,715
false
null
package examples.forex.history import com.m3o.m3okotlin.M3O import com.m3o.m3okotlin.services.forex suspend fun main() { M3O.initialize(System.getenv("M3O_API_TOKEN")) val req = ForexHistoryRequest(Symbol = "GBPUSD",) try { val response = ForexServ.history(req) println(response) } catch (e: E...
1
Kotlin
1
0
54158b584ba47bd7323a484804dcd78c55ef7f69
355
m3o-kotlin
Apache License 2.0
src/test/kotlin/org/vld/sdp/structural/ProxyTest.kt
volodymyrprokopyuk
104,995,105
false
null
package org.vld.sdp.structural import org.assertj.core.api.Assertions.* // ktlint-disable no-wildcard-imports import org.junit.jupiter.api.DisplayName import org.junit.jupiter.api.Test import org.junit.jupiter.api.TestInstance @TestInstance(TestInstance.Lifecycle.PER_CLASS) class ProxyTest { @Test @DisplayNa...
0
Kotlin
14
171
e09bbe245fb79ea81f510932f610e2171c475367
1,427
kotlin-sdp
Artistic License 2.0
compiler/testData/diagnostics/tests/when/ExhaustivePlatformEnumStatement.kt
prasenjitghose36
258,198,392
true
{"Kotlin": 46593414, "Java": 7626725, "JavaScript": 200386, "HTML": 77284, "Lex": 23805, "TypeScript": 21756, "Groovy": 11196, "CSS": 9270, "Swift": 8589, "Shell": 7220, "Batchfile": 5727, "Ruby": 1300, "Objective-C": 404, "Scala": 80}
/* * RELEVANT SPEC SENTENCES (spec version: 0.1-152, test type: pos): * - expressions, when-expression -> paragraph 5 -> sentence 1 * - expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 9 */ // See KT-6399: exhaustive whens on platform enums // FILE: J.java public enum J { ...
0
null
0
2
acced52384c00df5616231fa5ff7e78834871e64
574
kotlin
Apache License 2.0
idea/src/org/jetbrains/kotlin/idea/inspections/gradle/DifferentStdlibGradleVersionInspection.kt
jeffreyxuworld
73,301,428
true
null
/* * Copyright 2010-2016 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
0
Java
0
1
55508afb8caa6009af9995eb473ca0eef3dbd9be
5,684
kotlin
Apache License 2.0
idea/src/org/jetbrains/kotlin/idea/inspections/gradle/DifferentStdlibGradleVersionInspection.kt
jeffreyxuworld
73,301,428
true
null
/* * Copyright 2010-2016 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
0
Java
0
1
55508afb8caa6009af9995eb473ca0eef3dbd9be
5,684
kotlin
Apache License 2.0
app/src/main/java/cc/lixiaoyu/wanandroid/core/nav/NavFragment.kt
owenleexiaoyu
144,810,060
false
{"Java": 214660, "Kotlin": 56473, "HTML": 1157}
package cc.lixiaoyu.wanandroid.core.nav import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.TextView import androidx.fragment.app.Fragment import androidx.lifecycle.ViewModelProvider import androidx.recyclerview.widget.LinearLayoutMan...
1
null
1
1
f0861395f099e9ee97d86a85600be940bb6b6bc8
2,964
WanAndroid
Apache License 2.0
camera/camera-camera2-pipe/src/main/java/androidx/camera/camera2/pipe/Streams.kt
RikkaW
389,105,112
false
null
/* * Copyright 2020 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
3
null
16
7
6d53f95e5d979366cf7935ad7f4f14f76a951ea5
8,830
androidx
Apache License 2.0
compiler/testData/diagnostics/tests/syntheticExtensions/OnlyPublic.kt
flire
39,509,520
true
{"Java": 15418565, "Kotlin": 8965491, "JavaScript": 176060, "HTML": 23089, "Lex": 17327, "Protocol Buffer": 13056, "ANTLR": 9689, "CSS": 9431, "Shell": 3931, "IDL": 3257, "Groovy": 3010, "Batchfile": 2831}
// FILE: KotlinFile.kt fun foo(javaClass: JavaClass) { javaClass.somethingPublic javaClass.<!UNRESOLVED_REFERENCE!>somethingProtected<!> javaClass.<!UNRESOLVED_REFERENCE!>somethingPrivate<!> javaClass.<!UNRESOLVED_REFERENCE!>somethingPackage<!> <!VAL_REASSIGNMENT!>javaClass.somethingPublic<!> = 1 } ...
0
Java
0
0
bab01f38221e1597365848522e7524cb11b26e64
626
kotlin
Apache License 2.0
HelpfulSense/locationsms/src/main/java/com/andruid/magic/locationsms/util/Notifications.kt
death14stroke
194,371,172
false
{"Kotlin": 113693, "Java": 51505}
package com.andruid.magic.locationsms.util import android.app.NotificationChannel import android.app.NotificationManager import android.app.PendingIntent import android.content.Context import android.content.Intent import android.graphics.Color import android.os.Build import androidx.annotation.DrawableRes import andr...
0
Kotlin
2
4
6134b138ebd858c9ef2bb1bfcd77e0addf1402c2
4,560
helpful-sense
Apache License 2.0
clients/kotlin-spring/generated/src/main/kotlin/org/openapitools/model/CreateFineTuningJobRequestIntegrationsInner.kt
oapicf
529,246,487
false
{"Markdown": 6348, "YAML": 73, "Text": 16, "Ignore List": 52, "JSON": 1138, "Makefile": 3, "JavaScript": 1042, "F#": 585, "XML": 468, "Shell": 47, "Batchfile": 10, "Scala": 2313, "INI": 31, "Dockerfile": 17, "Maven POM": 22, "Java": 6356, "Emacs Lisp": 1, "Haskell": 39, "Swift": 263, "Ruby": 555, "OASv3-yaml": 19, "Cab...
package org.openapitools.model import java.util.Objects import com.fasterxml.jackson.annotation.JsonProperty import org.openapitools.model.CreateFineTuningJobRequestIntegrationsInnerType import org.openapitools.model.CreateFineTuningJobRequestIntegrationsInnerWandb import javax.validation.constraints.DecimalMax import...
2
Java
0
4
c04dc03fa17b816be6e9a262c047840301c084b6
1,182
openapi-openai
MIT License
Paging3Simple/app/src/main/java/com/hi/dhl/paging3/ui/PersonViewHolder.kt
hi-dhl
271,965,650
false
null
package com.hi.dhl.paging3.ui import android.view.View import com.hi.dhl.jdatabinding.DataBindingViewHolder import com.hi.dhl.paging3.bean.Person import com.hi.dhl.paging3.databinding.RecycieItemPersonBinding /** * <pre> * author: dhl * date : 2020/6/16 * desc : DataBindingViewHolder 是基于 DataBinding...
1
null
133
1,183
ae24e24c2c98789ee0975e89496af45db77a261e
736
AndroidX-Jetpack-Practice
Apache License 2.0
logger-console/src/main/kotlin/logger4k/console/utils/string.kt
OpenEdgn
251,506,797
false
null
package logger4k.console.utils fun String.toIntOrDefault(default: Int): Int { return try { toInt() } catch (e: Exception) { default } } fun String.formatLength(len: Int): String { if (len <= 0) { return "" } val item = substring( 0, if (length > len) { ...
1
Kotlin
1
5
963f4231e53ce869783a70cb2d3b7ac9340485f9
946
Logger4K
MIT License
fixgrep-core/src/main/kotlin/org/tools4j/fixgrep/config/ConfigValidation.kt
tools4j
124,669,693
false
null
package org.tools4j.fixgrep.config /** * User: benjw * Date: 26/10/2018 * Time: 16:47 */ class ConfigValidation(val config: ConfigKeyedWithOption) { fun validate(): List<Error>{ val errors = ArrayList<Error>() if(config.getAsBoolean(Option.group_by_order) && config.getAsBoolean(Option.vertical_...
0
Kotlin
1
7
e2cbc5b0b174f7ab462603e8ff65701501dfeae1
4,585
market-simulator
MIT License
app/src/main/java/com/boomapps/steemapp/ui/feeds/FeedsTabsAdapter.kt
BoomApps-LLC
137,521,625
false
null
/* * Copyright 2018, BoomApps LLC. * All rights reserved. */ package com.boomapps.steemapp.ui.feeds import android.support.v4.view.PagerAdapter import android.view.View import android.view.ViewGroup class FeedsTabsAdapter(private val holders: Array<FeedListHolder>) : PagerAdapter() { override fun instantiate...
6
null
3
3
f8ff7b430b221dc12ebb1e411b881d23f6db1c75
1,020
SteemApp-Android
MIT License
app/src/main/java/com/example/root/kotlin_eyepetizer/mvp/bean/CategoryBean.kt
jiwenjie
156,038,520
false
null
package com.example.root.kotlin_eyepetizer.mvp.bean import java.io.Serializable /** * author:Jiwenjie * email:278630464@qq.com * time:2018/11/13 * desc: 分类 Bean * version:1.0 */ data class CategoryBean(val id: Long, val name: String, val description: String, ...
1
Kotlin
1
1
104af621e315bc5588f97206ca04438a082875b9
495
Kotlin_Eyepetizer
Apache License 2.0
app/src/main/java/org/stepic/droid/persistence/downloads/resolvers/structure/StepStructureResolver.kt
StepicOrg
42,045,161
false
null
package org.stepic.droid.persistence.downloads.resolvers.structure import io.reactivex.Observable import org.stepic.droid.persistence.model.Structure interface StepStructureResolver { fun resolveStructure( courseId: Long, sectionId: Long, unitId: Long, lessonId: Long, varar...
13
null
54
189
dd12cb96811a6fc2a7addcd969381570e335aca7
405
stepik-android
Apache License 2.0
packages/expo-modules-core/android/src/main/java/expo/modules/kotlin/functions/AsyncFunction.kt
gaishimo
496,814,580
false
null
package expo.modules.kotlin.functions import expo.modules.kotlin.ModuleHolder import expo.modules.kotlin.Promise import expo.modules.kotlin.types.AnyType class AsyncFunction( name: String, argsType: Array<AnyType>, private val body: (args: Array<out Any?>) -> Any? ) : AnyFunction(name, argsType, isSync = false)...
1
null
1
1
2e4445dc6cba54fd27b93580012f4b4d6a5451b4
578
expo
Apache License 2.0
src/main/java/org/klips/dsl/Facet.kt
vjache
70,011,286
false
null
package org.klips.dsl import org.klips.dsl.Guard.BinaryPredicate.Code.* import java.util.* /** * This class is an abstraction level for values (constants) * and variables (references). This is required to pass constants * or references to the parameters of constructors of facts. * * @see Fact */ @Suppress("unus...
2
null
2
18
1975cf23feeacb204dc5450c0a3142a0e6fbf309
4,324
klips
Apache License 2.0
src/main/java/org/klips/dsl/Facet.kt
vjache
70,011,286
false
null
package org.klips.dsl import org.klips.dsl.Guard.BinaryPredicate.Code.* import java.util.* /** * This class is an abstraction level for values (constants) * and variables (references). This is required to pass constants * or references to the parameters of constructors of facts. * * @see Fact */ @Suppress("unus...
2
null
2
18
1975cf23feeacb204dc5450c0a3142a0e6fbf309
4,324
klips
Apache License 2.0
app/src/main/java/com/foreveross/atwork/modules/route/manager/IRouteActionProducer.kt
AoEiuV020
421,650,297
false
{"Java": 8618305, "Kotlin": 1733509, "JavaScript": 719597, "CSS": 277438, "HTML": 111559}
package com.foreveross.atwork.modules.route.manager import com.foreveross.atwork.modules.route.action.RouteAction import com.foreveross.atwork.modules.route.model.RouteParams interface IRouteActionProducer { fun produce(routeParams: RouteParams): RouteAction? fun canRoute(routeParams: RouteParams): Boolean =...
1
null
1
1
1c4ca5bdaea6d5230d851fb008cf2578a23b2ce5
351
w6s_lite_android
MIT License
MPChartLib/src/main/java/com/github/mikephil/charting/buffer/BarBuffer.kt
Hamid-Ayub
807,286,552
false
{"Gradle": 4, "INI": 2, "Markdown": 7, "Shell": 1, "Text": 11, "Ignore List": 3, "Batchfile": 1, "YAML": 1, "Proguard": 1, "XML": 57, "Java": 179, "Maven POM": 1, "Kotlin": 44}
package com.github.mikephil.charting.buffer import com.github.mikephil.charting.interfaces.datasets.IBarDataSet import kotlin.math.abs open class BarBuffer(size: Int, dataSetCount: Int, containsStacks: Boolean) : AbstractBuffer<IBarDataSet?>(size) { protected var mDataSetIndex: Int = 0 protected var mDataSetC...
0
Java
0
0
cf5e402e240be2e17595d06fac6208a9478d8060
3,882
MPAndroidChartKotlin
Apache License 2.0
camera-core/src/main/java/com/stripe/android/camera/CameraAdapter.kt
stripe
6,926,049
false
null
package com.stripe.android.camera import android.content.Context import android.content.pm.PackageManager import android.graphics.PointF import android.util.Log import android.view.Surface import androidx.annotation.CheckResult import androidx.annotation.IntDef import androidx.annotation.MainThread import androidx.ann...
88
null
644
1,277
174b27b5a70f75a7bc66fdcce3142f1e51d809c8
5,972
stripe-android
MIT License
app/src/main/java/com/thewizrd/simpleweather/main/WeatherNowFragment.kt
jonnypjohnston
371,908,311
false
{"Java Properties": 2, "Text": 3, "Gradle": 6, "Shell": 1, "Markdown": 2, "Batchfile": 1, "Ignore List": 5, "XML": 446, "Java": 413, "Proguard": 3, "Kotlin": 88, "JSON": 15, "HTML": 1}
package com.thewizrd.simpleweather.main import android.Manifest import android.annotation.SuppressLint import android.content.Context import android.content.Intent import android.content.pm.PackageManager import android.content.res.ColorStateList import android.content.res.Configuration import android.graphics.PorterD...
1
null
1
1
e07dd52b9fd66456bcefa6b14641f3637bc6c8ac
65,038
Microsoft-SimpleWeather-Android
Apache License 2.0
buildSrc/src/main/kotlin/AppConfig.kt
felipefpx
209,575,936
false
null
object AppConfig { const val APPLICATION_ID = "me.porge.android.cars" const val VERSION_CODE = 11 const val VERSION_NAME = "1.1.1" const val TARGET_ANDROID_API = 29 const val MIN_ANDROID_API = 24 const val TEST_RUNNER = "androidx.test.runner.AndroidJUnitRunner" const val KOIN_TEST_RUNNER ...
1
Kotlin
1
3
d6758d10328e4e6bb2514828bfc70306c385cb34
399
porge-android-cars
Apache License 2.0
workflows/src/main/kotlin/com/r3/corda/lib/tokens/workflows/internal/flows/confidential/RequestConfidentialIdentityFlowHandler.kt
qianyan
193,019,678
true
{"Kotlin": 423626}
package com.r3.corda.lib.tokens.workflows.internal.flows.confidential import co.paralleluniverse.fibers.Suspendable import net.corda.core.crypto.DigitalSignature import net.corda.core.flows.FlowLogic import net.corda.core.flows.FlowSession import net.corda.core.identity.AnonymousParty import net.corda.core.identity.Pa...
0
Kotlin
0
0
4d0c64570572125b22ba96d846e9e61bd476834d
1,143
token-sdk
Apache License 2.0
app/src/main/java/dev/pimentel/marvelapp/shared/abstractions/MarvelActivity.kt
bfpimentel
225,730,080
false
null
package dev.pimentel.marvelapp.shared.abstractions import android.os.Bundle import androidx.appcompat.app.AppCompatActivity /** * @author <NAME> on 03/12/2019 */ abstract class MarvelActivity : AppCompatActivity() { abstract val layoutResId: Int final override fun onCreate(savedInstanceState: Bundle?) { ...
0
Kotlin
0
0
8990a7f098e15ad35b4cf743b79be6424b5ff2c4
457
marvel-app
MIT License
samples/sandbox/src/main/kotlin/com/bumble/appyx/sandbox/SandboxApplication.kt
bumble-tech
493,334,393
false
null
package com.bumble.appyx.sandbox import android.app.Application import com.gu.toolargetool.TooLargeTool class SandboxApplication: Application() { override fun onCreate() { super.onCreate() TooLargeTool.startLogging(this) } }
68
Kotlin
45
754
1c13ab49fb3e2eb0bcd192332d597f8c05d3f6a9
252
appyx
Apache License 2.0
src/main/kotlin/org/kstore/demo/stars/gameplay/view/screen/mainmap/MainMapScreenStore.kt
minorbyte
194,674,817
false
null
package org.kstore.demo.stars.gameplay.view.screen.mainmap import org.kstore.demo.stars.gameplay.view.console.component.description.UITileDescriptionStore import org.kstore.demo.stars.gameplay.view.console.component.mainmap.PrintedGameMapStore import org.kstore.demo.stars.gameplay.view.screen.BasicScreenStore import o...
0
Kotlin
0
0
b91a6a00d4e60a84dc8bceba5dd02c3aa352ca88
877
kotlin-reactive-store
MIT License
src/main/kotlin/org/rust/ide/newProject/RsDirectoryProjectGenerator.kt
dimonchik0036
130,724,764
true
{"Kotlin": 4211447, "Rust": 100143, "Python": 48426, "Lex": 19229, "HTML": 12916, "Shell": 760, "Java": 586, "RenderScript": 318}
/* * Use of this source code is governed by the MIT license that can be * found in the LICENSE file. */ package org.rust.ide.newProject import com.intellij.facet.ui.ValidationResult import com.intellij.ide.util.projectWizard.AbstractNewProjectStep import com.intellij.ide.util.projectWizard.CustomStepProjectGenerat...
0
Kotlin
0
1
2fcd7e0cdef976b0493ef008ec240de367a24e90
2,230
intellij-rust
MIT License
foryouandme/src/main/java/com/foryouandme/data/repository/user/UserModule.kt
4YouandMeData
610,425,317
false
null
package com.foryouandme.data.repository.user import com.foryouandme.data.datasource.StudySettings import com.foryouandme.data.datasource.network.getApiService import com.foryouandme.data.repository.user.network.UserApi import com.foryouandme.domain.usecase.user.UserRepository import com.squareup.moshi.Moshi import dag...
0
Kotlin
0
0
bc82972689db5052344365ac07c8f6711f5ad7fa
877
4YouandMeAndroid
MIT License
src/test/kotlin/app/summation/android/Test.kt
summation-app
277,418,543
false
null
package app.summation.android class Test { companion object { @JvmStatic fun main(args: Array<String>) { val client = Client( gatewayUrl = "http://192.168.3.11:8000", token = "<KEY>", gatewayToken = "<KEY>", defaultDatabase...
0
Kotlin
0
0
f51159e73a554f437da74c4e0055d7214d29b8df
760
android_client
MIT License
app/src/main/java/com/gmail/uwriegel/superfit/tracking/TrackPointsDataSource.kt
uwriegel
99,416,992
false
{"Kotlin": 52646, "TypeScript": 7042, "CSS": 3079, "HTML": 1785}
package com.gmail.uwriegel.superfit.tracking /** * Created by urieg on 05.01.2018. * * Access trackpoints without specifying trackNumber */ data class TrackPointsDataSource( val trackNumber: Long, val add: (trackPoint: TrackPoint) -> Unit){ }
0
Kotlin
0
0
f855f24c33b21e2be87557d6f081f1e4f00ad9fb
263
SuperFit-deprecated
MIT License
lanlearn/src/test/kotlin/com/piotrwalkusz/lebrb/lanlearn/filereaders/PdfFileDecoderTest.kt
piotrwalkusz1
105,932,407
false
null
package com.piotrwalkusz.lebrb.lanlearn.filereaders import org.junit.jupiter.api.Assertions.assertEquals import org.junit.jupiter.api.Test import kotlin.streams.toList internal class PdfFileDecoderTest { private val pdfReader = PdfFileDecoder(1) @Test fun `read one page`() { val inputStream = ja...
0
Kotlin
0
0
1a0f4ded26911edefc6ded52d0f71dbc5ac073c8
985
LEBRB
MIT License
src/main/java/assembly/JarsCreator.kt
ihsmarkitoss
230,111,712
false
null
package assembly import assembly.models.AssemblyDependencies import assembly.models.JarDependency import assembly.models.JarDrivers import org.apache.maven.model.Resource import org.apache.maven.plugin.logging.Log import org.apache.maven.project.MavenProject import services.FileService import java.io.File import java....
1
null
1
1
2fcb6d418f78618ccd15a8d9296797d85d26224f
5,139
nimbus-deployment
Apache License 2.0
app/src/main/java/com/sohnyi/bookshelf/database/BookInfoPagingSource.kt
sohnyi
606,577,399
false
null
package com.sohnyi.bookshelf.database class BookInfoPagingSource { }
0
Kotlin
0
0
3fd26d98b35b6c8c3b95049ea6433a3fe0733b00
69
bookshelf
MIT License
app/src/main/java/net/mm2d/orientation/view/MainActivity.kt
ohmae
30,814,736
false
null
/* * Copyright (c) 2014 大前良介 (OH<NAME>) * * This software is released under the MIT License. * http://opensource.org/licenses/MIT */ package net.mm2d.orientation.view import android.os.Bundle import android.view.MenuItem import androidx.appcompat.app.AppCompatActivity import androidx.navigation.findNavController...
2
Kotlin
13
27
decf6fc0d7e5978a107bee1e7fd379e989821d9e
1,885
orientation-faker
MIT License
app/ui/legacy/src/main/java/com/fsck/k9/ui/changelog/ChangelogFragment.kt
hwpplayers
338,868,700
true
{"Java": 3314955, "Kotlin": 1434296, "Shell": 3108}
package com.fsck.k9.ui.changelog import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.TextView import androidx.core.view.isVisible import androidx.fragment.app.Fragment import androidx.lifecycle.Observer import androidx.recyclerview.wi...
0
null
0
0
2b769f8db3d1c68c286792fb9f7fee6cace901aa
4,014
k-9
Apache License 2.0
data/src/main/java/dev/pimentel/data/dto/EpisodeDTO.kt
bfpimentel
273,356,184
false
null
package dev.pimentel.data.dto import com.squareup.moshi.Json data class EpisodeDTO( @Json(name = "id") val id: Int, @Json(name = "name") val name: String, @Json(name = "air_date") val airDate: String, @Json(name = "episode") val number: String )
0
Kotlin
1
1
0de46077173eeeef0d2e737e4618280d02075a31
264
rick-and-morty-app
MIT License
app/src/main/java/com/ku_stacks/ku_ring/data/api/response/SearchNoticeResponse.kt
ku-ring
412,458,697
false
{"Kotlin": 403379}
package com.ku_stacks.ku_ring.data.api.response import com.google.gson.annotations.SerializedName data class SearchNoticeResponse( @SerializedName("articleId") val articleId: String, @SerializedName("postedDate") val postedDate: String, @SerializedName("subject") val subject: String, @SerializedName("...
2
Kotlin
0
16
16b0bec12fa934c80f41560067f6b0ba93de4665
407
KU-Ring-Android
Apache License 2.0
core/ui/src/main/java/com/anna/greeneats/core/ui/forms/chip/InputChip.kt
AnnaL001
780,077,258
false
{"Gradle Kotlin DSL": 10, "Java Properties": 23, "Shell": 1, "Text": 107, "Ignore List": 13, "Batchfile": 1, "Markdown": 1, "INI": 40, "Proguard": 7, "Kotlin": 77, "XML": 1598, "Java": 41, "JSON": 1252, "SQL": 14, "TOML": 1, "Unix Assembly": 1, "JAR Manifest": 1}
package com.anna.greeneats.core.ui.forms.chip import androidx.compose.material3.ExperimentalMaterial3Api import androidx.compose.material3.InputChip import androidx.compose.material3.Text import androidx.compose.runtime.Composable import androidx.compose.runtime.MutableState import androidx.compose.ui.Modifier @Compo...
0
Java
0
0
64013885df857a00f42fef7aae7d500032bd080d
811
greeneats
MIT License
rdbms_service/src/main/kotlin/com/example/kotlin_example_app/kafka/KafkaService.kt
jeffreychuuu
410,302,595
false
null
package com.example.kotlin_example_app.kafka import org.springframework.beans.factory.annotation.Autowired import org.springframework.core.env.Environment import org.springframework.kafka.core.KafkaTemplate import org.springframework.stereotype.Service import org.springframework.web.bind.annotation.PathVariable @Serv...
0
Kotlin
1
1
cdf49347147e578442effd81accdb84412024389
706
kotlin_example_app
DOC License
app/src/main/java/com/puntogris/smartwear/feature_weather/domain/model/Daily.kt
puntogris
267,340,936
false
{"Kotlin": 72737}
package com.puntogris.smartwear.feature_weather.domain.model import com.puntogris.smartwear.feature_weather.domain.model.conditions.Temperature class Daily( val min: Temperature, val max: Temperature )
0
Kotlin
0
1
d41dde42a15ef2a69fefb4d1ccda6c8ae31eb3c2
211
smart-wear
MIT License
app/src/main/java/com/example/test/ui/fragments/LoginFragment.kt
rahman248
504,381,047
false
null
package com.example.test.ui.fragments import android.os.Bundle import android.os.Handler import android.os.Looper import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.Toast import androidx.databinding.DataBindingUtil import androidx.navigation.fragment.NavHost...
0
Kotlin
0
0
f1cc20afffeed786d514bdffa5ad56b4a6eddd37
2,456
pjs
The Unlicense
embrace-android-sdk/src/integrationTest/kotlin/io/embrace/android/embracesdk/testframework/export/ExportedSpanValidator.kt
embrace-io
704,537,857
false
{"Kotlin": 2914204, "C": 189341, "Java": 162931, "C++": 13140, "CMake": 4261}
package io.embrace.android.embracesdk.testframework.export import com.squareup.moshi.Types import io.embrace.android.embracesdk.ResourceReader import io.embrace.android.embracesdk.fakes.TestPlatformSerializer import io.embrace.android.embracesdk.internal.utils.threadLocal import io.opentelemetry.sdk.trace.data.SpanDat...
22
Kotlin
11
134
fad6b2473cd987b36d6ac2f293e19e8bd372e59c
2,298
embrace-android-sdk
Apache License 2.0
src/main/kotlin/com/google/shinyay/config/KafkaConsumerConfig.kt
shinyay
296,339,652
false
null
package com.google.shinyay.config import org.apache.kafka.clients.consumer.ConsumerConfig import org.apache.kafka.common.serialization.StringDeserializer import org.springframework.beans.factory.annotation.Value import org.springframework.context.annotation.Bean import org.springframework.context.annotation.Configurat...
0
Kotlin
0
0
257a8c75aa04be881324f04c9261ff97e85d795a
1,597
spring-kafka-getting-started
MIT License
src/main/kotlin/net/jammos/gameserver/characters/CharacterConfig.kt
rikbrown
174,002,580
false
null
package net.jammos.gameserver.characters import net.jammos.gameserver.config.ConfigKeys.ALLOW_MULTIPLE_TEAMS_IN_ACCOUNT import net.jammos.gameserver.config.ConfigKeys.IS_RACE_CHARACTER_CREATION_ENABLED import net.jammos.gameserver.config.ConfigKeys.MAX_CHARS_PER_ACCOUNT import net.jammos.gameserver.config.ConfigKeys.R...
0
Kotlin
0
2
438b0bddfa2bfbc16ecee1da4347282710c53608
905
jammos-game-server
MIT License
uast/uast-kotlin/testData/SAM.kt
JetBrains
278,369,660
false
null
import java.lang.Thread import java.lang.Runnable import java.util.concurrent.Callable import java.util.function.Supplier val notSam = { /* Not SAM */ } var foo: java.lang.Runnable = {/* Variable */} fun bar(): java.lang.Runnable { foo = {/* Assignment */} val a = {/* Type Cast */} as java.lang.Runnable r...
1
null
37
82
cc81d7505bc3e9ad503d706998ae8026c067e838
849
intellij-kotlin
Apache License 2.0
app/src/main/java/com/marknkamau/unipool/ui/driverScheduledRides/DriverScheduledRidesActivity.kt
MarkNjunge
117,090,097
false
null
package com.marknkamau.unipool.ui.driverScheduledRides import android.os.Bundle import android.support.v7.widget.DividerItemDecoration import android.support.v7.widget.LinearLayoutManager import android.view.View import android.widget.LinearLayout import com.marknkamau.unipool.R import com.marknkamau.unipool.UnipoolAp...
0
Kotlin
9
14
88c4fb319f07e3811b4a44cd7ce3236826e8edac
2,059
Unipool-Android
MIT License
app/src/main/kotlin/net/kibotu/heartrateometer/Config.kt
MRoschin1999
272,025,561
true
{"Kotlin": 52024, "Java": 15185}
class Config { private var n: Int = 6; private var m: Int = 7; private var row_to_win: Int = 4; constructor(n: Int, m: Int, row_to_win: Int) { this.n = n; this.m = m; this.row_to_win = row_to_win; } fun get_n(): Int { return this.n; } fun get_m(): Int {...
0
Kotlin
0
0
dfefdc77f6165fa1173b4313fa0eb131e052da86
422
Heart-Rate-Ometer
Apache License 2.0
dp-inntekt-api/src/main/kotlin/no/nav/dagpenger/inntekt/InntektApiConfig.kt
navikt
165,044,758
false
{"Kotlin": 435266, "Dockerfile": 108}
package no.nav.dagpenger.inntekt import com.natpryce.konfig.Configuration import com.natpryce.konfig.ConfigurationMap import com.natpryce.konfig.ConfigurationProperties import com.natpryce.konfig.EnvironmentVariables import com.natpryce.konfig.Key import com.natpryce.konfig.intType import com.natpryce.konfig.overridin...
1
Kotlin
1
0
bb1c4c5f98e063dd8c59b1b394919513eadf31b2
8,179
dp-inntekt
MIT License
app/src/androidTest/java/com/ignitetech/compose/ui/chat/ChatScreenEditorTest.kt
gnumilanix
602,430,902
false
null
package com.ignitetech.compose.ui.chat import androidx.annotation.DrawableRes import androidx.annotation.StringRes import androidx.compose.material.icons.Icons import androidx.compose.material.icons.filled.Add import androidx.compose.material.icons.filled.Face import androidx.compose.material.icons.filled.LocationOn i...
3
Kotlin
1
0
7a7fc31e7013e91ae78947af6bca1d97fb1140ed
7,732
explore-compose
Apache License 2.0
src/test/kotlin/org/arend/search/ArendProofSearchTest.kt
JetBrains
96,068,447
false
null
package org.arend.search import junit.framework.TestCase import org.arend.ArendTestBase import org.arend.search.proof.generateProofSearchResults import org.intellij.lang.annotations.Language class ArendProofSearchTest : ArendTestBase() { private fun findMatches( @Language("Arend") content: String, ...
67
null
12
88
b47dabffaa5a7e3b93e8814e9e6dbb912a1b627f
4,663
intellij-arend
Apache License 2.0
app/src/main/java/com/breiter/weathercheckerapp/WeatherCheckerApp.kt
ersiver
281,123,679
false
null
package com.breiter.weathercheckerapp import android.app.Application import timber.log.Timber class WeatherCheckerApp : Application() { override fun onCreate() { super.onCreate() Timber.plant(Timber.DebugTree()) } }
0
Kotlin
1
9
73b99dd09e3777e3a5880deaf0af0cf15863099e
242
WeatherChecker
Apache License 2.0
learning/katas/kotlin/Core Transforms/Side Output/Side Output/src/org/apache/beam/learning/katas/coretransforms/sideoutput/Task.kt
axbaretto
68,967,334
false
{"Gradle Kotlin DSL": 9, "Gradle": 261, "Text": 592, "Shell": 125, "Markdown": 866, "XML": 29, "CODEOWNERS": 1, "Maven POM": 99, "Java Properties": 39, "Ignore List": 11, "Batchfile": 4, "Git Attributes": 2, "YAML": 611, "Protocol Buffer": 36, "PHP": 70, "Dockerfile": 22, "CSS": 46, "JavaScript": 148, "INI": 22, "Go Ch...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
74
Python
4252
9
c20455fe0a97c885a8ef11d60d3381020c9f1bdc
2,538
beam
Apache License 2.0
src/main/kotlin/top/sshh/ddns/service/AliConfigService.kt
mwxmmy
289,706,021
false
null
package top.sshh.ddns.service import com.baomidou.mybatisplus.extension.service.IService import top.sshh.ddns.entity.AliConfig /** * @author 钟业海 * @date 2020/8/23 */ interface AliConfigService: IService<AliConfig>{ }
0
Kotlin
0
1
f02256726399b13dd44e582a2eba38d16e700fe2
221
ali-ddns
Apache License 2.0
data/RF01196/rnartist.kts
fjossinet
449,239,232
false
{"Kotlin": 8214424}
import io.github.fjossinet.rnartist.core.* rnartist { ss { rfam { id = "RF01196" name = "consensus" use alignment numbering } } theme { details { value = 3 } color { location { 2 to 3...
0
Kotlin
0
0
3016050675602d506a0e308f07d071abf1524b67
779
Rfam-for-RNArtist
MIT License
blurhash/src/main/java/com/wajahatiqbal/blurhash/BlurHashPainter.kt
wajahat-iqbal
591,062,303
false
null
package com.wajahatiqbal.blurhash import android.graphics.Bitmap import android.graphics.Color import androidx.collection.SparseArrayCompat import androidx.compose.ui.geometry.Size import androidx.compose.ui.graphics.asImageBitmap import androidx.compose.ui.graphics.drawscope.DrawScope import androidx.compose.ui.graph...
0
Kotlin
1
20
95d5b67c8aeb31e5956b54fc701eb3a7f451cb70
6,452
BlurHashPainter
MIT License
app/src/main/java/com/example/to_doapp/ui/editTodo/EditSubTaskAdapter.kt
Rohit-2602
416,039,392
false
null
package com.example.to_doapp.ui.editTodo import android.text.Editable import android.text.TextWatcher import android.view.LayoutInflater import android.view.ViewGroup import androidx.recyclerview.widget.ListAdapter import androidx.recyclerview.widget.RecyclerView import com.example.to_doapp.R import com.example.to_doa...
0
Kotlin
3
12
7cc5999f9b694a60ec2d0e96a7aeab03d131ff48
3,073
To-Do-App
Apache License 2.0
common/src/main/kotlin/org/jetbrains/academy/test/MyBaseTest.kt
jetbrains-academy
691,965,440
false
{"Kotlin": 75549}
package org.jetbrains.academy.test import com.intellij.testFramework.fixtures.BasePlatformTestCase abstract class MyBaseTest : BasePlatformTestCase() { protected abstract val resourceClass: Class<*> protected fun getResourceFileContent(relativePath: String): String = resourceClass.getResourceAsStream...
0
Kotlin
1
2
b31a4a8a32bd59b3e3aa96fd842b50f39fc989d8
732
intellij-platform-plugin-course
MIT License
mvicore-plugin/idea/src/main/java/com/badoo/mvicore/plugin/action/RunAction.kt
emreakcan
287,947,555
true
{"Gradle": 15, "Java Properties": 2, "Shell": 3, "Text": 1, "Ignore List": 13, "Batchfile": 1, "YAML": 2, "Markdown": 31, "Kotlin": 130, "XML": 31, "Proguard": 6, "Java": 5}
package com.badoo.mvicore.plugin.action import com.badoo.mvicore.plugin.iconFrom import com.badoo.mvicore.plugin.model.ConnectionData import com.badoo.mvicore.plugin.model.Event import com.badoo.mvicore.plugin.ui.ConnectionList import com.badoo.mvicore.plugin.ui.EventList import com.badoo.mvicore.plugin.utils.showErro...
0
Kotlin
0
2
b381a0c3684afca743a39808fbc8a2e37a722375
6,072
MVICore
Apache License 2.0
src/main/kotlin/fr/aubel/music/models/Member.kt
LuidjyAubel
652,362,951
false
null
package fr.aubel.music.models import javax.persistence.* @Entity data class Member( @Id var Id : String, var FirstName : String, var LastName : String, var NickName : String? = null )
0
Kotlin
0
0
f49d17061f922ec8a24da0b77f7c220b1a53561d
206
API_Music
MIT License
idea/testData/quickfix/modifiers/beforeNotAnAnnotationClass.kt
udalov
10,645,710
false
{"Java": 9931656, "Kotlin": 2142480, "JavaScript": 942412, "C++": 613791, "C": 193807, "Objective-C": 22634, "Shell": 12589, "Groovy": 1267}
// "Make 'fancy' an annotation class" "true" class fancy [fancy<caret>] class foo {}
0
Java
1
6
3958b4a71d8f9a366d8b516c4c698aae80ecfe57
86
kotlin-objc-diploma
Apache License 2.0
app/src/main/java/online/example/ui/compose/UserScreen.kt
shivanandyadav11
827,640,133
false
{"Kotlin": 22910}
package online.example.ui.compose import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.foundation.layout.padding import androidx.compose.material3.Scaffold import androidx.compose.runtime.Composable import androidx.compose.runtime.LaunchedEffect...
0
Kotlin
0
0
8c07d5c4a3dbccd2cb1a6ebf72ff9e49b2025460
1,997
Networking
MIT License
app/src/main/java/com/plcoding/woox/ui/screens/coin_detail/CoinDetailState.kt
zainshah412-eng
767,533,490
false
{"Kotlin": 62947, "Java": 290}
package com.plcoding.woox.ui.screens.coin_detail import com.plcoding.woox.domain.model.CoinDetail data class CoinDetailState( val isLoading: Boolean = false, val coin: CoinDetail? = null, val error: String = "" )
0
Kotlin
0
0
31c1929d4b4d181ddf9587feef3708443773fb69
227
ComposeTemplate
Apache License 2.0