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/test/kotlin/org/rooftop/netx/redis/NoAckRedisTransactionConfigurer.kt | rooftop-MSA | 751,298,974 | false | {"Kotlin": 53829} | package org.rooftop.netx.redis
import org.redisson.Redisson
import org.redisson.api.RedissonReactiveClient
import org.redisson.config.Config
import org.rooftop.netx.api.TransactionManager
import org.springframework.beans.factory.annotation.Value
import org.springframework.boot.autoconfigure.condition.ConditionalOnProp... | 5 | Kotlin | 0 | 3 | 63b0d95c42c64880ef987af1ca405110f0d4cd4a | 5,120 | Netx | Apache License 2.0 |
TeamCode/src/main/java/org/firstinspires/ftc/teamcode/opmodes/TeleOpCore.kt | EagleRobotics7373 | 537,861,182 | false | {"Java": 150944, "Kotlin": 138225} | package org.firstinspires.ftc.teamcode.opmodes
import com.arcrobotics.ftclib.gamepad.GamepadEx
import com.arcrobotics.ftclib.gamepad.GamepadKeys
import com.arcrobotics.ftclib.gamepad.GamepadKeys.Button.*
import com.arcrobotics.ftclib.gamepad.ToggleButtonReader
import com.qualcomm.robotcore.eventloop.opmode.OpMode
impo... | 1 | null | 1 | 1 | 9cb45388a1ff592cda32ebb38cc9a420ed8e96e0 | 15,163 | FtcRobotController_7373_Freight-Frenzy | MIT License |
android/src/main/java/com/nolson/plugins/solanawalletadaptor/SolanaWalletAdaptorPlugin.kt | nolsonlabs | 525,461,773 | false | {"Java": 156516, "Kotlin": 122625, "TypeScript": 15863, "JavaScript": 4477, "Swift": 1452, "HTML": 1086, "Ruby": 937, "Objective-C": 658, "CSS": 42} | package com.nolson.plugins.solanawalletadaptor
import android.app.Application
import android.content.Intent
import android.net.Uri
import android.util.Log
import androidx.annotation.GuardedBy
import com.getcapacitor.JSObject
import com.getcapacitor.Plugin
import com.getcapacitor.PluginCall
import com.getcapacitor.Plug... | 1 | null | 1 | 1 | db25f98fc4ddd64b80efc452735cad917fd3d39c | 5,786 | solana-capacitor-dapp | MIT License |
airbyte-workload-api-server/src/main/kotlin/io/airbyte/workload/handler/WorkloadHandler.kt | Natural-State | 718,467,972 | true | {"Java Properties": 2, "Starlark": 3, "YAML": 258, "Dotenv": 6, "Ignore List": 26, "INI": 10, "Gradle": 48, "Shell": 59, "Markdown": 65, "EditorConfig": 1, "TOML": 2, "Batchfile": 1, "Text": 40, "XML": 24, "Java": 1425, "Dockerfile": 25, "Python": 20, "Gradle Kotlin DSL": 4, "Kotlin": 235, "JSON": 194, "JSON with Comme... | package io.airbyte.workload.handler
import io.airbyte.db.instance.configs.jooq.generated.enums.WorkloadStatus
import io.airbyte.workload.api.domain.Workload
import io.airbyte.workload.api.domain.WorkloadLabel
import io.airbyte.workload.errors.InvalidStatusTransitionException
import io.airbyte.workload.errors.NotFoundE... | 0 | Java | 0 | 0 | bd76a798345f8e22e97ec4293216247cf1279fa9 | 3,514 | NIP-Airbyte | MIT License |
ktlint-gradle-plugin/src/main/kotlin/io/github/usefulness/KtlintGradleExtension.kt | usefulness | 362,716,386 | false | null | package io.github.usefulness
import io.github.usefulness.support.versionProperties
import io.github.usefulness.tasks.listProperty
import io.github.usefulness.tasks.property
import org.gradle.api.file.RegularFileProperty
import org.gradle.api.model.ObjectFactory
import org.gradle.api.provider.ListProperty
import org.gr... | 2 | Kotlin | 0 | 2 | 0d6056e73e68e706184157fbe72b7440f5665675 | 1,427 | ktlint-gradle-plugin | Apache License 2.0 |
src/main/kotlin/io/github/durun/vFit2gFit/writer/db/table/HeartRateTable.kt | Durun | 239,739,951 | false | null | package io.github.durun.vFit2gFit.writer.db.table
import org.jetbrains.exposed.sql.Column
import org.jetbrains.exposed.sql.Table
import org.jetbrains.exposed.sql.`java-time`.datetime
object HeartRateTable : Table("heartRate") {
val timeAt = datetime("timeAt")
val bpm: Column<Int> = integer("bpm")
override val pri... | 0 | Kotlin | 0 | 0 | a9b7230961b256c02d09a6e51396a452d7503a49 | 363 | veryFit2googleFit | MIT License |
feature/auth/src/main/java/com/redpine/auth/di/deps/AuthDependenciesProvider.kt | maiow | 600,207,272 | false | {"Kotlin": 188157} | package com.redpine.auth.di.deps
import com.redpine.auth.di.componentviewmodel.AuthStore
interface AuthDependenciesProvider {
var dependencies: AuthDependencies
companion object : AuthDependenciesProvider by AuthStore
} | 36 | Kotlin | 1 | 5 | a5a4344c45c22e20dec25d319201174ed0e6c158 | 230 | dog-shelter | MIT License |
KotlinTest/src/ExtendsTest.kt | gubaojian | 354,480,658 | false | {"PureBasic": 9241771, "Java": 96109, "Kotlin": 23751, "C": 3386} | package hellobase
class Example;
open class Base(p:Int)
class Derived(p:Int):Base(p){
}
open class Person(var name:String, var age:Int){
}
class Student:Person{
constructor(name:String, age:Int, no:String, score:Int):super(name,age){
println("$name");
println("$age");
println("$no"... | 0 | PureBasic | 0 | 0 | 480cd02ccad81c3dccc7a785e51eed22590711ca | 646 | ServerTechTest | Apache License 2.0 |
app/src/main/java/com/example/rickandmorty/data/models/NewsImage.kt | faiz786 | 515,634,709 | false | {"Kotlin": 37304} | package com.example.rickandmorty.data.models
data class NewsImage(
val caption: String,
val copyright: String,
val url: String
) | 0 | Kotlin | 0 | 0 | 96c12bf290caa1cea47f26afd22af18312768d44 | 141 | RickAndMorty | Apache License 2.0 |
Analytics/src/main/java/com/redelf/analytics/Analytics.kt | red-elf | 731,934,432 | false | {"Kotlin": 540978, "Java": 41189, "Shell": 3417} | package com.redelf.analytics
interface Analytics {
companion object {
fun build(backend: Analytics): AnalyticsBuilder {
return AnalyticsBuilder(backend)
}
}
fun log(vararg params: AnalyticsParameter<*>?)
} | 0 | Kotlin | 1 | 0 | 7996ea1b0a323f17dc87a4b55a5481a0254be85e | 250 | Android-Toolkit | Apache License 2.0 |
app/src/androidTest/java/hu/mostoha/mobile/android/huki/testdata/UiTestData.kt | RolandMostoha | 386,949,428 | false | null | package hu.mostoha.mobile.android.huki.testdata
import hu.mostoha.mobile.android.huki.data.LOCAL_LANDSCAPES
import hu.mostoha.mobile.android.huki.model.domain.Geometry
import hu.mostoha.mobile.android.huki.model.domain.HikingRoute
import hu.mostoha.mobile.android.huki.model.domain.Location
import hu.mostoha.mobile.and... | 0 | Kotlin | 1 | 5 | 0216ce3631d3c7dbf4c3f2cd5ed0ebb43dc51dd8 | 2,956 | HuKi-Android | The Unlicense |
src/main/kotlin/com/hiczp/caeruleum/annotation/Param.kt | czp3009 | 180,173,161 | false | null | package com.hiczp.caeruleum.annotation
import kotlin.annotation.AnnotationTarget.VALUE_PARAMETER
@MustBeDocumented
@Target(VALUE_PARAMETER)
annotation class Url
@MustBeDocumented
@Target(VALUE_PARAMETER)
annotation class Path(val value: String = "")
@MustBeDocumented
@Target(VALUE_PARAMETER)
annotation class Header... | 2 | Kotlin | 3 | 17 | e7b99ca5c3d393d6c3a0e437b2b08ae70e892b50 | 1,060 | caeruleum | Apache License 2.0 |
libraries/live_shared_prefs/src/main/java/com/yolisstorm/live_shared_prefs/Extensions.kt | YolisStormbreaker | 259,668,401 | false | null | package com.yolisstorm.live_shared_prefs
import android.content.SharedPreferences
import android.icu.lang.UCharacter.GraphemeClusterBreak.T
import com.google.gson.Gson
import com.google.gson.JsonElement
import com.google.gson.reflect.TypeToken
object Extensions {
inline fun <reified DataType: Any?> SharedPreference... | 0 | Kotlin | 0 | 0 | ee295681aae90442674dd305e73614419fc5cf27 | 1,583 | covid_android_showcase | Apache License 2.0 |
app/src/main/java/com/petnagy/superexchange/pages/fragments/history/viewmodel/HistoryItemViewModel.kt | petnagy | 151,879,510 | false | null | package com.petnagy.superexchange.pages.fragments.history.viewmodel
import android.databinding.Bindable
import com.petnagy.superexchange.recyclerview.ListItemViewModel
class HistoryItemViewModel(private val date: String, private val rates: String) : ListItemViewModel() {
override fun areItemsTheSame(newItem: Lis... | 0 | Kotlin | 0 | 0 | 8b8df7312a209c9b2b8c2b0737d78e365b9791cc | 756 | super_exchange | Apache License 2.0 |
navigation/src/main/java/com/erivera/apps/topcharts/navigation/NavigationFlow.kt | er-rivera | 188,952,931 | false | null | package com.erivera.apps.topcharts.navigation
sealed class NavigationFlow() {
object HomeFlow: NavigationFlow()
object TopListFlow: NavigationFlow()
} | 0 | Kotlin | 0 | 0 | 61f8f6098291031efc3092852b2fd464398c71af | 159 | SpotifyStats | MIT License |
Kawa/src/test/kotlin/sibwaf/kawa/snippets/Hibernate_Query_setParameters.kt | dya-tel | 332,540,419 | false | null | package sibwaf.kawa.snippets
import kotlinx.coroutines.runBlocking
import sibwaf.kawa.MethodAnalyzerTestBase
import sibwaf.kawa.parse
import kotlin.test.Test
@Suppress("ClassName")
class Hibernate_Query_setParameters : MethodAnalyzerTestBase() {
private companion object {
val TEXT = """
public abs... | 0 | Kotlin | 0 | 0 | f3ff039c6204a659e67554617178a78dc695d1f9 | 889 | Kawa | MIT License |
metrics_extractor/src/main/kotlin/com/sortinghat/backend/metrics_extractor/services/MetricExtractor.kt | the-sortinghat | 529,660,037 | false | null | package com.sortinghat.backend.metrics_extractor.services
import com.sortinghat.backend.metrics_extractor.vo.ExtractionResult
interface MetricExtractor {
fun getResult(): ExtractionResult
fun getMetricDescription(): String
}
| 0 | Kotlin | 0 | 0 | 95695a1808e477ce67d8257891f4fa9be21f8cce | 236 | backend | MIT License |
app/src/main/java/arcus/app/account/settings/list/SideNavSettingsFragment.kt | arcus-smart-home | 168,191,380 | false | null | /*
* Copyright 2019 Arcus 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 applicable law or a... | 6 | Java | 27 | 27 | 845b23b6ee913c58e009914e920242e29d0b137a | 3,685 | arcusandroid | Apache License 2.0 |
compose/src/commonMain/kotlin/com/camackenzie/exvi/client/components/VideoPlayer.kt | CallumMackenzie | 450,286,341 | false | {"Kotlin": 239407, "Swift": 582} | package com.camackenzie.exvi.client.components
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
/**
* @return whether the video player could be created
*/
@Composable
expect fun VideoPlayer(url: String, modifier: Modifier = Modifier... | 1 | Kotlin | 0 | 0 | 033a4826b7cd6dd856fc65605414f73f56a646db | 344 | exvi-client | Apache License 2.0 |
nee-security/src/main/kotlin/dev/neeffect/nee/security/state/ServerVerifier.kt | Burdzi0 | 326,246,930 | true | {"Kotlin": 224609, "Shell": 304} | package dev.neeffect.nee.security.state
import io.vavr.control.Option
import io.vavr.control.Try
import java.io.InputStream
import java.io.ObjectInputStream
import java.io.ObjectOutputStream
import java.nio.file.Files
import java.nio.file.Path
import java.nio.file.Paths
import java.security.KeyPair
import java.securit... | 0 | null | 0 | 0 | 6d40e6c9a54a9ebb90217603e0d8e37d886e1884 | 2,828 | nee | Apache License 2.0 |
app/src/main/java/com/example/omdb/util/anim/ScaleFadeIn.kt | Pro-55 | 195,038,410 | false | {"Kotlin": 259217} | package com.example.omdb.util.anim
import androidx.compose.animation.EnterTransition
import androidx.compose.animation.core.AnimationConstants
import androidx.compose.animation.core.Easing
import androidx.compose.animation.core.FastOutSlowInEasing
import androidx.compose.animation.core.tween
import androidx.compose.an... | 0 | Kotlin | 0 | 1 | 2ee54ce67c4c077ef1ccb83cd92121e3eb778c09 | 1,166 | OMDb | Apache License 2.0 |
dsb-gui/src/main/java/com/spectralogic/dsbrowser/gui/services/jobService/data/KnownJobData.kt | RachelTucker | 96,939,569 | false | {"Java Properties": 25, "YAML": 1, "Gradle": 6, "Shell": 7, "Markdown": 3, "Git Attributes": 1, "Batchfile": 4, "Ignore List": 5, "Java": 197, "Kotlin": 30, "Text": 12, "CSS": 8, "XML": 26, "JAR Manifest": 1, "desktop": 1, "HTML": 1, "INI": 4, "HAProxy": 1, "Microsoft Visual Studio Solution": 1, "C#": 5, "Rich Text For... | /*
* ***************************************************************************
* Copyright 2014-2017 Spectra Logic Corporation. All Rights Reserved.
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use
* this file except in compliance with the License. A copy of the License is l... | 1 | null | 1 | 1 | aab1984aaaa430399fca5a2160e8098f9dda50ed | 2,238 | ds3_java_browser | Apache License 2.0 |
src/main/kotlin/io/github/serpro69/kfaker/provider/Team.kt | jianfang-kso | 204,592,729 | true | {"Kotlin": 189205, "Groovy": 1142} | package io.github.serpro69.kfaker.provider
import io.github.serpro69.kfaker.*
import io.github.serpro69.kfaker.dictionary.*
/**
* [FakeDataProvider] implementation for [CategoryName.TEAM] category.
*/
class Team internal constructor(fakerService: FakerService) : AbstractFakeDataProvider(fakerService) {
override... | 0 | Kotlin | 0 | 0 | 36a77fb520f82a1a0b43cf6cd08c54c2c7b9d6d6 | 568 | kotlin-faker | MIT License |
rest-problem/src/test/kotlin/io/zhudy/kitty/rest/problem/IntegrationTestProblemHandler.kt | zhudyos | 142,425,085 | false | null | /**
* Copyright 2019-2019 the original author or authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 0 | Kotlin | 0 | 1 | 26147c3d2bc8a6a28c82cbf1360dec957a5dfad7 | 1,120 | kitty | Apache License 2.0 |
app/src/main/java/com/devcommop/myapplication/ui/components/common/buttons/GoogleButton.kt | pareekdevansh | 648,905,400 | false | null | package com.devcommop.myapplication.ui.components.common.buttons
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.PaddingValues
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.Spacer
imp... | 0 | Kotlin | 0 | 0 | d0fda60a15fe2c7bd93596cf6582fccdbccb788a | 3,276 | Social-Jaw | MIT License |
app/src/main/kotlin/journaler/ollie/study/journaler/permission/PermissionCompactActivity.kt | zurongchung | 136,867,859 | false | {"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 2, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "Java": 2, "XML": 32, "Kotlin": 21} | package journaler.ollie.study.journaler.permission
import android.content.pm.PackageManager
import android.support.v4.app.ActivityCompat
import android.support.v7.app.AppCompatActivity
import android.util.Log
import java.util.concurrent.ConcurrentHashMap
import java.util.concurrent.atomic.AtomicInteger
abstract class... | 0 | Kotlin | 0 | 1 | 099f3d8b15e0f4bc43810fe2115f796630001357 | 2,294 | MADWithKotlin_part1 | MIT License |
core/src/main/kotlin/com/hdbank/core/data/Result.kt | shinichi495 | 537,305,043 | false | {"Kotlin": 77413} | package com.hdbank.core.data
sealed class NetworkResult<T>(val data: T? = null, val errorMessage: String? = null) {
class Success<T>(data: T?) : NetworkResult<T>(data)
class Error<T>(errorMessage: String?, data: T? = null) :
NetworkResult<T>(data, errorMessage)
class Exception<T> (val e : Throwabl... | 0 | Kotlin | 0 | 0 | 52625829a709b71e065b2d8569ea48d2c89484e7 | 409 | clean-arc-mvvm-dynamic-feature | MIT License |
src/main/kotlin/championofgoats/advent/utils/point.kt | ChampionOfGoats | 225,446,764 | false | null | package championofgoats.advent.utils
import kotlin.math.abs
import kotlin.math.sign
// A coordinate-space agnostic point in 2D space
data class Point(var x: Int, var y: Int) {
fun directionTo(other: Point): Direction {
var out: Direction
if (this.x == other.x) {
// the slope is horizon... | 0 | Kotlin | 0 | 0 | 4f69de1579f40928c1278c3cea4e23e0c0e3b742 | 969 | advent-of-code | MIT License |
domain/src/test/java/com/bikcodeh/melichallenge/domain/usecase/SearchProductsUseCaseTest.kt | Bikcodeh | 549,280,439 | false | null | package com.bikcodeh.melichallenge.domain.usecase
import com.bikcodeh.melichallenge.core_test.util.CoroutineRule
import com.bikcodeh.melichallenge.domain.common.Result
import com.bikcodeh.melichallenge.domain.model.Product
import com.bikcodeh.melichallenge.domain.repository.MeliRepository
import com.google.common.trut... | 0 | Kotlin | 0 | 2 | 692249b05dce6a96dbcdc84bb175a75e37bac0f1 | 4,362 | Meli-Challenge | MIT License |
font-awesome/src/commonMain/kotlin/compose/icons/fontawesomeicons/regular/Square.kt | DevSrSouza | 311,134,756 | false | null | package compose.icons.fontawesomeicons.regular
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Butt
import androidx.compose.ui.graphics.StrokeJoin.Miter
import androidx.compos... | 17 | null | 25 | 571 | a660e5f3033e3222e3553f5a6e888b7054aed8cd | 2,227 | compose-icons | MIT License |
vk-api-generated/src/main/kotlin/name/anton3/vkapi/generated/messages/methods/MessagesIsMessagesFromGroupAllowed.kt | Anton3 | 159,801,334 | true | {"Kotlin": 1382186} | @file:Suppress("unused", "MemberVisibilityCanBePrivate", "SpellCheckingInspection")
package name.anton3.vkapi.generated.messages.methods
import com.fasterxml.jackson.module.kotlin.jacksonTypeRef
import name.anton3.vkapi.generated.messages.objects.IsMessagesFromGroupAllowedResponse
import name.anton3.vkapi.method.User... | 2 | Kotlin | 0 | 8 | 773c89751c4382a42f556b6d3c247f83aabec625 | 817 | kotlin-vk-api | MIT License |
core/src/main/kotlin/com/github/quillraven/darkmatter/ecs/system/RemoveSystem.kt | Quillraven | 255,084,653 | false | null | package com.github.quillraven.darkmatter.ecs.system
import com.badlogic.ashley.core.Entity
import com.badlogic.ashley.systems.IteratingSystem
import com.github.quillraven.darkmatter.ecs.component.PlayerComponent
import com.github.quillraven.darkmatter.ecs.component.RemoveComponent
import com.github.quillraven.darkmatt... | 0 | Kotlin | 9 | 51 | 676da9ddaec5b61e8ff08253cae99d01705dedb8 | 1,141 | Dark-Matter | MIT License |
src/main/kotlin/com/chimbori/crux/common/Log.kt | chimbori | 127,672,595 | false | null | package com.chimbori.crux.common
import org.jsoup.nodes.Node
object Log {
private const val DEBUG = false
private const val TRUNCATE = true
fun i(message: String, vararg args: Any?) {
if (DEBUG) {
System.err.println(String.format(message, *args))
}
}
fun i(reason: String, node: Node) {
... | 12 | null | 43 | 232 | 2fb56759a54820e9439cdd2c18437223bb537e5e | 646 | crux | Apache License 2.0 |
app/src/main/java/com/breezefieldnationalplastic/features/weather/api/WeatherRepoProvider.kt | DebashisINT | 506,900,340 | false | {"Kotlin": 16116247, "Java": 1032208} | package com.breezefieldnationalplastic.features.weather.api
import com.breezefieldnationalplastic.features.task.api.TaskApi
import com.breezefieldnationalplastic.features.task.api.TaskRepo
object WeatherRepoProvider {
fun weatherRepoProvider(): WeatherRepo {
return WeatherRepo(WeatherApi.create())
}
} | 0 | Kotlin | 0 | 1 | 5c48df58a8f91020101765983e8415304406fa6f | 320 | NationalPlastic | Apache License 2.0 |
app/src/main/kotlin/com/intelligentbackpack/app/ui/common/CameraViewWithPermission.kt | IntelligentBackpack | 629,745,884 | false | null | package com.intelligentbackpack.app.ui.common
import android.content.Context
import android.content.Intent
import android.net.Uri
import android.provider.Settings
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Box
import and... | 0 | Kotlin | 0 | 0 | 61bfdc8c21801a14d67c62b69a07a0fb341aab6d | 4,043 | IntelligentBackpackApp | MIT License |
lib_common/src/main/java/com/fmt/kotlin/eyepetizer/common/ext/ImageExt.kt | fmtjava | 310,798,006 | false | null | package com.fmt.kotlin.eyepetizer.common.ext
import android.graphics.Color
import android.widget.ImageView
import androidx.databinding.BindingAdapter
import androidx.swiperefreshlayout.widget.CircularProgressDrawable
import coil.load
@BindingAdapter(
value = ["url", "showLoading", "strokeWidth", "centerRadius", "... | 0 | Kotlin | 16 | 98 | 263023794c27fe81d05ac771329e2c3ce1a992f6 | 1,142 | Jetpack_Kotlin_Eyepetizer | MIT License |
imagepicker/src/main/kotlin/com/github/drjacky/imagepicker/ImagePickerFileProvider.kt | Drjacky | 315,432,863 | false | null | package com.github.drjacky.imagepicker
import androidx.core.content.FileProvider
class ImagePickerFileProvider : FileProvider()
| 21 | Kotlin | 52 | 206 | 62c1e603bcb63276ca17f0713f6fa8664df3beef | 130 | ImagePicker | Apache License 2.0 |
navigation/src/main/kotlin/dev/pott/abonity/navigation/destination/SavedStateArgumentParser.kt | JohannesPtaszyk | 695,929,733 | false | {"Kotlin": 517175} | package dev.pott.abonity.navigation.destination
import androidx.lifecycle.SavedStateHandle
fun interface SavedStateArgumentParser<T> {
fun parse(savedStateHandle: SavedStateHandle): T
}
| 12 | Kotlin | 0 | 2 | 12d657c4efdfac44be19f7c5c4cbfaf13f4401b4 | 192 | Abonity | Apache License 2.0 |
backends/intellij/php/src/main/kotlin/com/yoavst/graffiti/intellij/lang/PHP.kt | yoavst | 502,321,594 | false | {"JavaScript": 105989, "TypeScript": 80380, "Python": 63113, "Kotlin": 62795, "C#": 27771, "HTML": 9288, "CSS": 8203, "Makefile": 4419} | package com.yoavst.graffiti.intellij.lang
import com.intellij.psi.PsiElement
import com.intellij.psi.PsiFile
import com.intellij.psi.util.PsiTreeUtil
import com.jetbrains.php.lang.psi.PhpFile
import com.jetbrains.php.lang.psi.elements.Field
import com.jetbrains.php.lang.psi.elements.Function
import com.jetbrains.php.l... | 0 | JavaScript | 6 | 30 | 2ed19c161151332ce115068f9163f375962910ab | 1,864 | Graffiti | MIT License |
src/app/src/main/java/io/capsulo/min808/core/utils/CalendarUtils.kt | lemarcque | 190,186,868 | false | null | package io.capsulo.min808.core.utils
import java.util.*
/**
* Used to format representation of date.
*/
class CalendarUtils {
companion object {
/**
* Return an abbreviation of year's month from their representation's number.
*/
fun getMonthLetter(day: Int): String = when(day... | 0 | Kotlin | 0 | 1 | e99464346b6a6177beb614b002ebf60f94a92ab2 | 1,247 | min808 | MIT License |
app/src/main/java/st235/com/github/calculator/startup/MainService.kt | st235 | 293,614,114 | false | null | package st235.com.github.calculator.startup
import io.reactivex.Single
import javax.inject.Inject
class MainService @Inject constructor(
private val tokenService: TokenService
) {
fun initialize(): Single<Boolean> {
return tokenService.initialize()
}
} | 0 | Kotlin | 0 | 0 | c8c334e5b72a9abb7951f34d2be5b08f522942b0 | 275 | xcalc-android | MIT License |
paymentsheet/src/main/java/com/stripe/android/paymentsheet/IntentConfirmationInterceptorKtx.kt | stripe | 6,926,049 | false | null | package com.stripe.android.paymentsheet
import com.stripe.android.model.ConfirmPaymentIntentParams
import com.stripe.android.model.ConfirmPaymentIntentParams.SetupFutureUsage
import com.stripe.android.paymentsheet.model.PaymentSelection
import com.stripe.android.paymentsheet.model.PaymentSelection.CustomerRequestedSav... | 87 | null | 606 | 1,133 | 8103aa6791ce4de7739d201f35e3572334a60553 | 1,706 | stripe-android | MIT License |
app/src/main/java/com/ntcv4tracker/app/domain/SchedulerMasterEntity.kt | DebashisINT | 598,511,717 | false | {"Kotlin": 14019030, "Java": 1002677} | package com.ntcv4tracker.app.domain
import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey
import com.ntcv4tracker.app.AppConstant
@Entity(tableName = AppConstant.CRM_SCHEDULER_MASTER)
data class SchedulerMasterEntity (
@PrimaryKey(autoGenerate = true) var sl_no: Int = 0,
... | 0 | Kotlin | 0 | 0 | 1ec0fb56b58e16ecd0c3b0d2ad518d8acc831acf | 1,230 | NTC | Apache License 2.0 |
solutions/xmllayout/app/src/main/java/com/gorillalogic/workshoplayout/datasource/LocalItemsDataSource.kt | donaldrodriguezGL | 787,515,328 | false | {"Kotlin": 14699} | package com.gorillalogic.workshoplayout.datasource
import com.gorillalogic.workshoplayout.R
import com.gorillalogic.workshoplayout.model.ItemModel
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.withContext
class LocalItemsDataSource : IItemsDataSource {
//region - IItemsDataSource implementation... | 0 | Kotlin | 0 | 0 | 7782c4fd58dd50d79327e2f393aab947e0c993cd | 1,757 | android-workshop-xmllayout | Apache License 2.0 |
src/main/kotlin/com/discounts/nearby/service/supermarket/SupermarketDataManager.kt | MarchenkoVladislav | 330,028,034 | false | {"HTML": 3540056, "Kotlin": 111830, "JavaScript": 26285, "CSS": 755} | package com.discounts.nearby.service.supermarket
/**
* @author shvatov
*/
interface SupermarketDataManager<S : SupermarketDataProvider> {
/**
* Used to set the autowired beans with providers of the data.
*/
fun setProviders(providers: List<S>)
} | 0 | HTML | 0 | 0 | 035fc24a53c2313a7f0a17acd66324982c05fd98 | 266 | DiscountsNearby | MIT License |
app/src/main/java/com/techbeloved/hymnbook/data/repo/local/util/InitialDataUtil.kt | techbeloved | 133,724,406 | false | null | package com.techbeloved.hymnbook.data.repo.local.util
import com.techbeloved.hymnbook.data.model.Hymn
import com.techbeloved.hymnbook.data.model.Topic
import com.techbeloved.hymnbook.data.repo.local.HymnsDatabase
import timber.log.Timber
import javax.inject.Inject
import javax.inject.Provider
class InitialDataUtil @I... | 4 | Kotlin | 8 | 8 | 0d92143b2fad211d0d75c49dfc5fec66f809e1c8 | 750 | hymnbook | MIT License |
lib/src/main/java/eu/h2020/helios_social/core/messaging/nodejs/NodejsMessageCall.kt | helios-h2020 | 275,871,293 | false | {"C": 3321732, "C++": 991292, "Java": 149018, "JavaScript": 123773, "Kotlin": 56600, "Python": 28518, "CMake": 1008} | package eu.h2020.helios_social.core.messaging.nodejs
import com.google.gson.annotations.Expose
class NodejsMessageCall : NodejsMessage {
override var type: NodejsMessageType? = NodejsMessageType.CALL
override var id: String?
override var name: String?
override var data: List<Any?>? = null
overrid... | 0 | C | 1 | 2 | e907e821902b0fe7e7fd9399c3fb6fd59985ed97 | 896 | h.core-Messaging | Apache License 2.0 |
omisego-core/src/main/java/co/omisego/omisego/model/pagination/PaginationList.kt | omgnetwork | 116,833,092 | false | null | package co.omisego.omisego.model.pagination
import android.os.Parcelable
import kotlinx.android.parcel.Parcelize
import kotlinx.android.parcel.RawValue
/*
* OmiseGO
*
* Created by Phuchit Sirimongkolsathien on 14/3/2018 AD.
* Copyright © 2017-2018 OmiseGO. All rights reserved.
*/
@Parcelize
data class Paginatio... | 0 | Kotlin | 8 | 18 | de12e344d6437b9c23df35d158fb247bac6c8055 | 413 | android-sdk | Apache License 2.0 |
payments-core/src/main/java/com/stripe/android/model/parsers/FraudDetectionDataJsonParser.kt | stripe | 6,926,049 | false | null | package com.stripe.android.model.parsers
import com.stripe.android.model.StripeJsonUtils.optString
import com.stripe.android.networking.FraudDetectionData
import org.json.JSONObject
internal class FraudDetectionDataJsonParser(
private val timestampSupplier: () -> Long
) : ModelJsonParser<FraudDetectionData> {
... | 64 | null | 522 | 935 | bec4fc5f45b5401a98a310f7ebe5d383693936ea | 910 | stripe-android | MIT License |
commonbase/src/main/java/com/hymnal/base/mvvm/ServiceLocator.kt | Hymn-Qin | 147,835,752 | false | null | package com.hymnal.base.mvvm
import com.hymnal.base.mvvm.Repository
import java.util.concurrent.Executor
interface ServiceLocator {
fun getRepository(type: Repository.Type): Repository
fun getNetworkExecutor(): Executor
fun getDiskIOExecutor(): Executor
fun getApi()
} | 0 | Kotlin | 0 | 1 | ec1319cd1988da7275aa4a252a84a3988ba026f2 | 290 | AppConclusion | Apache License 2.0 |
ProjectPazarama-main/app/src/main/java/com/example/projectpazarama/view/DetailAdapter.kt | gurbuzkaanakkaya | 583,281,896 | false | null | package com.example.projectpazarama.view
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import androidx.recyclerview.widget.RecyclerView
import com.example.projectpazarama.R
import com.example.projectpazarama.model.VisitHistory
class DetailAdap... | 0 | Kotlin | 0 | 0 | 8c037409836d9d1df68e111c025d4f78d67f40d2 | 1,367 | Travel-Guide | MIT License |
walletlibrary/src/main/java/com/microsoft/walletlibrary/networking/entities/openid4vci/credentialmetadata/CredentialConfiguration.kt | microsoft | 567,422,889 | false | {"Kotlin": 1390274} | package com.microsoft.walletlibrary.networking.entities.openid4vci.credentialmetadata
import android.content.res.Resources
import androidx.core.os.ConfigurationCompat
import com.microsoft.walletlibrary.requests.styles.BasicVerifiedIdStyle
import com.microsoft.walletlibrary.requests.styles.VerifiedIdStyle
import kotlin... | 13 | Kotlin | 8 | 20 | b31d71b53baef4e1390a4f85f0c80bba3ae35702 | 2,242 | entra-verifiedid-wallet-library-android | MIT License |
src/main/kotlin/me/sd_master92/customvoting/commands/voteparty/VotePartyCreateCommand.kt | sanderderks | 306,723,396 | false | {"Kotlin": 405670} | package me.sd_master92.customvoting.commands.voteparty
import me.sd_master92.core.command.SimpleSubCommand
import me.sd_master92.customvoting.CV
import me.sd_master92.customvoting.gui.pages.overviews.VotePartyChestOverview
import org.bukkit.command.CommandSender
import org.bukkit.entity.Player
class VotePartyCreateCo... | 9 | Kotlin | 2 | 0 | e65f5cf5e42fd5f947978f48a4509ef070e99153 | 686 | CustomVoting | MIT License |
tabler/src/commonMain/kotlin/com/woowla/compose/icon/collections/tabler/tabler/outline/LegoOff.kt | walter-juan | 868,046,028 | false | {"Kotlin": 20416825} | package com.woowla.compose.icon.collections.tabler.tabler.outline
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.vector.ImageVector
import androidx.compose.ui.graphics.vector... | 0 | Kotlin | 0 | 1 | b037895588c2f62d069c724abe624b67c0889bf9 | 3,290 | compose-icon-collections | MIT License |
database/src/test/kotlin/no/nav/su/se/bakover/database/grunnlag/OpplysningspliktVilkårsvurderingPostgresRepoTest.kt | navikt | 227,366,088 | false | null | package no.nav.su.se.bakover.database.grunnlag
import arrow.core.NonEmptyList
import io.kotest.matchers.shouldBe
import no.nav.su.se.bakover.common.periode.år
import no.nav.su.se.bakover.database.TestDataHelper
import no.nav.su.se.bakover.database.withMigratedDb
import no.nav.su.se.bakover.database.withSession
import ... | 4 | Kotlin | 0 | 0 | d23e2f58306b48f4fe21a1c74c38085f4f4ab115 | 5,402 | su-se-bakover | MIT License |
app/src/main/java/pl/droidcon/app/speakers/view/SpeakersFragment.kt | droidconpl | 103,277,279 | false | {"Kotlin": 123751} | package pl.droidcon.app.speakers.view
import android.os.Bundle
import android.support.v4.app.Fragment
import android.support.v7.widget.GridLayoutManager
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import io.reactivex.android.schedulers.AndroidSchedulers
import io.reactivex... | 1 | Kotlin | 0 | 0 | 116caf6e0c93d8dde2b19e7037ee6ad49b39e939 | 2,645 | droidcon-mobile-app | Apache License 2.0 |
app/src/main/java/com/example/egeapp_kotlin/AboutActivity.kt | FeN0-MEN | 776,854,954 | false | {"Kotlin": 87223} | package com.example.egeapp_kotlin
import android.graphics.Color
import android.graphics.drawable.ColorDrawable
import android.os.Bundle
import android.view.View
import androidx.appcompat.app.AppCompatActivity
class AboutActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
... | 0 | Kotlin | 0 | 1 | 8e4b6366e9d83dc1dc7f0e400b2e8f7773f23c59 | 567 | EGEApp-Kotlin | MIT License |
src/test/kotlin/team/credible/action/versioncleaner/domain/DeleteVersionsUseCaseTest.kt | credible-team | 689,614,450 | false | {"Kotlin": 84041} | package team.credible.action.versioncleaner.domain
import io.kotest.core.spec.style.BehaviorSpec
import io.kotest.matchers.result.shouldBeFailure
import io.kotest.matchers.result.shouldBeSuccess
import io.mockk.coEvery
import io.mockk.coVerify
import io.mockk.every
import io.mockk.mockk
import team.credible.action.ver... | 0 | Kotlin | 0 | 3 | d42b6da71b18e7b9cdc2eb7f580d6fe62e7c4135 | 6,294 | action-version-cleaner | MIT License |
application/src/test/kotlin/net/tinyteam/hero/HeroApplicationTests.kt | LambChen | 326,636,766 | false | null | package net.tinyteam.hero
import org.junit.jupiter.api.Test
import org.springframework.boot.test.context.SpringBootTest
@SpringBootTest
class HeroApplicationTests {
@Test
fun contextLoads() {
}
}
| 0 | Kotlin | 0 | 0 | b16afc20965e3189a22b5a96f9981d20b4deca41 | 203 | lindorm-event-store | Apache License 2.0 |
app/src/main/java/com/example/tcomposedatetimepicker/MainActivity.kt | the-best-is-best | 753,300,420 | false | {"Kotlin": 35197} | package com.example.tcomposedatetimepicker
import android.os.Bundle
import android.util.Log
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.... | 0 | Kotlin | 0 | 0 | d0f454f08a4be3b228bc60798453295bcefc78e6 | 4,818 | TComposeDateTimePicker | Apache License 2.0 |
app/src/main/java/com/fjjukic/furniture4you/ui/common/viewmodel/MainViewModel.kt | franjojosip | 678,130,646 | false | {"Kotlin": 378486} | package com.fjjukic.furniture4you.ui.common.viewmodel
import androidx.lifecycle.ViewModel
import com.fjjukic.furniture4you.ui.common.SharedPreferenceManager
import com.fjjukic.furniture4you.ui.navigation.Graph
import com.fjjukic.furniture4you.ui.navigation.Screens
import dagger.hilt.android.lifecycle.HiltViewModel
imp... | 0 | Kotlin | 0 | 0 | 548708706a707ecebcc77c00439dc4a6ab230c3a | 998 | Furniture4You | MIT License |
app/src/main/java/com/realitix/nectar/database/dao/ReceipeStepAlimentStateDao.kt | Nectar-Project | 247,032,480 | false | null | package com.realitix.nectar.database.dao
import androidx.lifecycle.LiveData
import androidx.room.Dao
import androidx.room.Query
import androidx.room.Transaction
import com.realitix.nectar.database.entity.ReceipeStepAlimentState
import com.realitix.nectar.database.entity.ReceipeStepAlimentStateRaw
@Dao
abstract class ... | 2 | Kotlin | 0 | 0 | f220b9007fc5d3faf1d3fd9a842154de2a7d0cdf | 1,530 | nectar-android | Apache License 2.0 |
src/main/kotlin/org/crystal/intellij/psi/CrIntegerKind.kt | asedunov | 353,165,557 | false | null | package org.crystal.intellij.psi
enum class CrIntegerKind(
val typeName: String,
val parser: (text: String, radix: Int) -> Any?
) {
I8("Int8", String::toByteOrNull),
U8("UInt8", String::toUByteOrNull),
I16("Int16", String::toShortOrNull),
U16("UInt16", String::toUShortOrNull),
I32("Int32", ... | 0 | Kotlin | 0 | 3 | cc646e02311905fad63054c98df2f5ee97c94c11 | 552 | intellij-crystal-lang | Apache License 2.0 |
dsl/jpql/src/test/kotlin/com/linecorp/kotlinjdsl/dsl/jpql/select/WhereDslTest.kt | line | 442,633,985 | false | {"Kotlin": 1959613, "JavaScript": 5144, "Shell": 1023} | package com.linecorp.kotlinjdsl.dsl.jpql.select
import com.linecorp.kotlinjdsl.dsl.jpql.entity.book.Book
import com.linecorp.kotlinjdsl.dsl.jpql.entity.book.Isbn
import com.linecorp.kotlinjdsl.dsl.jpql.queryPart
import com.linecorp.kotlinjdsl.querymodel.jpql.entity.Entities
import com.linecorp.kotlinjdsl.querymodel.jp... | 4 | Kotlin | 86 | 705 | 3a58ff84b1c91bbefd428634f74a94a18c9b76fd | 3,563 | kotlin-jdsl | Apache License 2.0 |
app/src/main/java/com/example/myfinalproject/UserSignUpInfot.kt | mcmalfaro140 | 230,535,951 | false | null | package com.example.myfinalproject
import android.content.Intent
import com.example.myfinalproject.databinding.FragmentSignUpInfoBinding
import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.databinding.D... | 0 | Kotlin | 0 | 0 | 05367cb075c8e911353fb2a41c731123854df439 | 6,560 | MyWashApp | MIT License |
examples/todos/common/src/commonMain/kotlin/org/reduxkotlin/examples/todos/TodosReducer.kt | reduxkotlin | 188,472,766 | false | {"Kotlin": 71660, "JavaScript": 15809, "CSS": 7148} | package org.reduxkotlin.examples.todos
fun todosReducer(state: List<Todo>, action: Any) =
when (action) {
is AddTodo -> state + Todo(action.text, id = state.size)
is ToggleTodo -> state.mapIndexed { index, todo ->
if (index == action.index) {
todo.copy(completed = !todo.... | 15 | Kotlin | 32 | 428 | ea2bc12b9e6638977d4b9a241e13b081aa0364b0 | 425 | redux-kotlin | MIT License |
app/src/main/java/kr/sungil/bizcard/PortfolioAdapter.kt | sungil-i | 589,796,692 | false | null | package kr.sungil.bizcard
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.recyclerview.widget.DiffUtil
import androidx.recyclerview.widget.ListAdapter
import androidx.recyclerview.widget.RecyclerView
import com.bumptech.glide.Glide
import kr.sungil.bizcard.databinding.RvItemPortpolioBi... | 1 | Kotlin | 1 | 0 | 14b749097ebc96bd69bac4d284ad859243041489 | 1,329 | sungil_i_bizcard | MIT License |
gooddata-server-oauth2-autoconfigure/src/main/kotlin/SecurityContextRepositoryLogoutHandler.kt | gooddata | 373,135,413 | false | null | /*
* (C) 2022 GoodData Corporation
*/
package com.gooddata.oauth2.server
import org.springframework.security.core.Authentication
import org.springframework.security.web.server.WebFilterExchange
import org.springframework.security.web.server.authentication.logout.ServerLogoutHandler
import org.springframework.securit... | 1 | Kotlin | 1 | 3 | 1e120d2736176a061b0950892f48db842cb93edf | 844 | gooddata-server-oauth2 | Apache License 2.0 |
src/main/kotlin/no/nav/familie/ef/mottak/config/DatabaseConfiguration.kt | navikt | 204,919,927 | false | {"Kotlin": 442141, "Dockerfile": 185} | package no.nav.familie.ef.mottak.config
import no.nav.familie.ef.mottak.encryption.FileCryptoReadingConverter
import no.nav.familie.ef.mottak.encryption.FileCryptoWritingConverter
import no.nav.familie.ef.mottak.encryption.StringValCryptoReadingConverter
import no.nav.familie.ef.mottak.encryption.StringValCryptoWritin... | 0 | Kotlin | 3 | 0 | c244546c62bfbeae4c031bda0b52cc05c51525c2 | 2,000 | familie-ef-mottak | MIT License |
app/src/main/java/com/zobaer53/zedmovies/ui/list/util/Utils.kt | zobaer53 | 661,586,013 | false | {"Kotlin": 498107, "JavaScript": 344099, "C++": 10825, "CMake": 2160} |
package com.zobaer53.zedmovies.ui.list.util
import androidx.annotation.StringRes
import com.zobaer53.zedmovies.data.model.MediaType
import com.zobaer53.zedmovies.data.model.MediaType.Common.Discover
import com.zobaer53.zedmovies.data.model.MediaType.Common.NowPlaying
import com.zobaer53.zedmovies.data.model.MediaType... | 0 | Kotlin | 3 | 6 | 1e70d46924b711942b573364745fa74ef1f8493f | 948 | NoFlix | Apache License 2.0 |
idea/tests/testData/inspectionsLocal/removeRedundantQualifierName/classLiteral.kt | JetBrains | 278,369,660 | false | null | // WITH_RUNTIME
package foo
class Foo
fun bar() {
foo<caret>.Foo::class
}
| 0 | Kotlin | 30 | 82 | cc81d7505bc3e9ad503d706998ae8026c067e838 | 80 | intellij-kotlin | Apache License 2.0 |
services-hz/src/main/kotlin/ru/taskurotta/service/hz/storage/MongoStringSetCounter.kt | JLLeitschuh | 239,803,397 | true | {"JavaScript": 4744019, "Java": 2283404, "HTML": 790531, "PLSQL": 14748, "CSS": 12359, "Shell": 11473, "Batchfile": 7718, "TSQL": 4862, "Makefile": 4846, "Kotlin": 2050, "Dockerfile": 176} | package ru.taskurotta.service.hz.storage
import com.mongodb.BasicDBObject
import com.mongodb.DB
import org.slf4j.LoggerFactory
import java.util.*
interface StringSetCounter {
val size: Long
fun add(customId: String)
fun findUniqueItems(supposedUniqueList: List<String>): List<String>
}
private val logge... | 5 | null | 0 | 0 | 0e1f1eda2f93a723c6d77f3842e732c6c886c109 | 2,050 | taskurotta | MIT License |
app/src/main/java/com/example/expensetracker/Onboard3.kt | JuzDaydream | 861,736,858 | false | {"Kotlin": 312267} | package com.example.expensetracker
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import com.example.expensetracker.databinding.FragmentOnboard2Binding
class Onboard2 : Fragment() {
private lateinit var bindi... | 0 | Kotlin | 0 | 0 | c4d2a42b5f1644c77a0cfe48f8963b71d9309150 | 1,011 | ExpenseTracker-With-Advanced-Security | MIT License |
ktor-server/ktor-server-netty/jvm/src/io/ktor/server/netty/Embedded.kt | jakobkmar | 323,173,348 | true | {"Kotlin": 5039593, "Python": 948, "JavaScript": 775, "HTML": 165} | /*
* Copyright 2014-2019 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license.
*/
package io.ktor.server.netty
import io.ktor.server.engine.*
/**
* An [ApplicationEngineFactory] providing a Netty-based [ApplicationEngine]
*/
object Netty : ApplicationEngineFactory<Netty... | 0 | Kotlin | 0 | 7 | ea35658a05cc085b97297a303a7c0de37efe0024 | 602 | ktor | Apache License 2.0 |
stream-video-android-core/src/main/kotlin/io/getstream/video/android/core/call/stats/model/RtcMediaStreamVideoTrackSenderStats.kt | GetStream | 505,572,267 | false | {"Kotlin": 2549850, "MDX": 279508, "Python": 18285, "Shell": 4455, "JavaScript": 1112, "PureBasic": 107} | /*
* Copyright (c) 2014-2023 Stream.io Inc. All rights reserved.
*
* Licensed under the Stream License;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://github.com/GetStream/stream-video-android/blob/main/LICENSE
*
* Unless required by ... | 3 | Kotlin | 30 | 308 | 1c67906e4c01e480ab180f30b39f341675bc147e | 2,579 | stream-video-android | FSF All Permissive License |
stream-video-android-core/src/main/kotlin/io/getstream/video/android/core/call/stats/model/RtcMediaStreamVideoTrackSenderStats.kt | GetStream | 505,572,267 | false | {"Kotlin": 2549850, "MDX": 279508, "Python": 18285, "Shell": 4455, "JavaScript": 1112, "PureBasic": 107} | /*
* Copyright (c) 2014-2023 Stream.io Inc. All rights reserved.
*
* Licensed under the Stream License;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://github.com/GetStream/stream-video-android/blob/main/LICENSE
*
* Unless required by ... | 3 | Kotlin | 30 | 308 | 1c67906e4c01e480ab180f30b39f341675bc147e | 2,579 | stream-video-android | FSF All Permissive License |
lib/src/main/kotlin/org/didcommx/didcomm/utils/CommonUtils.kt | sicpa-dlab | 387,500,702 | false | null | package org.didcommx.didcomm.utils
fun isJDK15Plus() =
System.getProperty("java.version")?.let {
val major = it.split(".")[0].toInt()
return major >= 15
} ?: false
| 5 | Kotlin | 13 | 12 | 993265c75c12924f7ded917e3c54282c327ab315 | 189 | didcomm-jvm | Apache License 2.0 |
app/src/main/java/com/suda/datetimewallpaper/service/WidgetProvider1.kt | ghbhaha | 181,253,319 | false | null | package com.suda.datetimewallpaper.service
import android.appwidget.AppWidgetManager
import android.appwidget.AppWidgetProvider
import android.content.Context
import android.content.Intent
import android.util.Log
/**
* @author guhaibo
* @date 2019/5/14
*/
class WidgetProvider1 : AppWidgetProvider() {
override... | 0 | Kotlin | 0 | 4 | 3b745cbcfde56eaa3efeafd49043e3a035117b25 | 1,286 | DateTimewallpaper | MIT License |
detekt-rules/src/test/resources/cases/ModifierOrder.kt | olivierperez | 110,848,906 | true | {"Kotlin": 569884, "Groovy": 1433} | @file:Suppress("RedundantVisibilityModifier", "unused", "RedundantModalityModifier")
package cases
abstract public class Test(val test: String = "abc"): OpenTest() {
lateinit public var property: String
override open fun test() {
}
}
abstract class OpenTest {
abstract fun test()
}
| 0 | Kotlin | 0 | 0 | 18e14a2f8b63463703a030014ccc0bf37acc19ed | 290 | detekt | Apache License 2.0 |
core/src/com/fittonia/chigginblazzder/Chicken.kt | oseph | 385,045,337 | false | {"Gradle": 6, "INI": 3, "Shell": 1, "Ignore List": 1, "Batchfile": 1, "Text": 1, "Markdown": 1, "Kotlin": 11, "Proguard": 1, "XML": 9, "Java Properties": 1, "Java": 3, "JSON": 3} | package com.fittonia.chigginblazzder
import com.badlogic.gdx.Gdx
import com.badlogic.gdx.graphics.Color
import com.badlogic.gdx.graphics.Pixmap
import com.badlogic.gdx.graphics.Texture
import com.badlogic.gdx.graphics.g2d.*
import com.badlogic.gdx.math.Vector2
import com.badlogic.gdx.physics.box2d.*
import com.fittoni... | 0 | Kotlin | 1 | 1 | 8cdbb41bc46570e42dcbb69b6e30b763b7f909a1 | 11,648 | chigginblazzder | MIT License |
app/src/main/kotlin/com/mitch/template/ui/navigation/TemplateDestination.kt | seve-andre | 564,679,359 | false | {"Kotlin": 108318} | package com.mitch.template.ui.navigation
import kotlinx.serialization.Serializable
sealed interface TemplateDestination {
sealed interface Screen : TemplateDestination {
@Serializable
data object Home : Screen
}
sealed interface Graph : TemplateDestination
}
| 0 | Kotlin | 2 | 59 | c7d052bb9cda267ec83dd4d205120f2fdb497d24 | 291 | jetpack-compose-template | MIT License |
OneSignalSDK/onesignal/core/src/main/java/com/onesignal/common/ViewUtils.kt | OneSignal | 33,515,679 | false | null | package com.onesignal.common
import android.annotation.TargetApi
import android.app.Activity
import android.content.res.Configuration
import android.content.res.Resources
import android.graphics.Point
import android.graphics.Rect
import android.os.Build
import android.view.View
import android.view.Window
import kotlin... | 72 | null | 368 | 604 | 7e68c1d6bdc48b1786926cc443dcf532d592e4ec | 4,058 | OneSignal-Android-SDK | Apache License 2.0 |
MyJetPackApplication/businesses/business-view/src/main/java/com/example/myjetpackapplication/business/view/ViewActivity.kt | seelikes | 154,868,585 | false | null | package com.example.myjetpackapplication.business.view
import android.os.Bundle
import androidx.databinding.DataBindingUtil
import com.example.myjetpackapplication.annotationprocessor.business.annotation.Business
import com.example.myjetpackapplication.business.view.databinding.ActivityViewBinding
import com.github.se... | 1 | null | 1 | 1 | 7b3bc00c2e98f11b0798a97474a28fb63c0b53ae | 671 | MyAndroidSet | MIT License |
feature/home/home-api/src/main/java/com/timothy/themoviedb/home_api/domain/model/Video.kt | harrytmthy | 565,863,027 | false | null | /*
* Copyright 2022 harrytmthy
*
* 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 i... | 0 | Kotlin | 0 | 0 | 2e0efb3ff55f558886fa6ac99d06c9e8e96c8cc1 | 1,877 | TheMovieDB | Apache License 2.0 |
server/src/main/kotlin/com/github/stepbeeio/kelsingra/config/PubSubConfig.kt | stepbeekio | 816,451,462 | false | {"Kotlin": 46693, "JavaScript": 3356, "HTML": 2554} | package com.github.stepbeeio.kelsingra.config
import com.fasterxml.jackson.databind.ObjectMapper
import com.github.stepbeeio.kelsingra.tunnel.PeristableRequestSubscriber
import com.github.stepbeeio.kelsingra.tunnel.RequestSendingClient
import org.springframework.context.annotation.Bean
import org.springframework.conte... | 0 | Kotlin | 0 | 0 | a2e1293ea177d4f9405c15f5d959d33179c98703 | 1,386 | kelsingra | MIT License |
app/src/main/java/austinwhite/tech/temperaturekotlin/ui/celsius/CelsiusViewModel.kt | endlessrequiem | 271,161,261 | false | null | package austinwhite.tech.temperaturekotlin.ui.celsius
import android.arch.lifecycle.LiveData
import android.arch.lifecycle.MutableLiveData
import android.arch.lifecycle.ViewModel
class CelsiusViewModel : ViewModel() {
private val _text = MutableLiveData<String>().apply {
value = "0"
}
val text: L... | 0 | Kotlin | 0 | 0 | 525cefc43b66223bf7a22521b3017f4239460b2f | 345 | TempCheckKotlin | Apache License 2.0 |
code/jvm/src/main/kotlin/org/ionproject/codegarten/database/helpers/UsersDb.kt | i-on-project | 344,857,721 | false | null | package org.ionproject.codegarten.database.helpers
import org.ionproject.codegarten.database.dto.Classroom
import org.ionproject.codegarten.database.dto.DtoListWrapper
import org.ionproject.codegarten.database.dto.User
import org.ionproject.codegarten.database.dto.UserAssignment
import org.ionproject.codegarten.databa... | 12 | Kotlin | 0 | 4 | b80bd2f6514320bdcaa34e13d9d3b7c0cecd6af2 | 15,354 | codegarten | Apache License 2.0 |
kofu/src/test/kotlin/org/springframework/fu/kofu/samples/r2dbc.kt | spring-projects-experimental | 134,733,282 | false | {"Java": 266521, "Kotlin": 215169, "Shell": 515, "HTML": 78, "Mustache": 30} | package org.springframework.fu.kofu.samples
import org.springframework.fu.kofu.application
import org.springframework.fu.kofu.r2dbc.r2dbc
fun r2dbcPostgresql() {
application {
r2dbc {
url = "r2dbc:postgresql://dbserver:1234"
}
}
}
fun r2dbc(){
application {
r2dbc {
url = "r2dbc:postgresql://localhost/... | 39 | Java | 139 | 1,673 | c41806b1429dc31f75e2cb0f69ddd51a0bd8e9da | 335 | spring-fu | Apache License 2.0 |
app/src/main/java/com/example/alertofevents/di/DatabaseModule.kt | sshiae | 729,492,545 | false | {"Kotlin": 87983} | package com.example.alertofevents.di
import android.content.Context
import androidx.room.Room
import com.example.alertofevents.common.database.AlertOfEventsDatabase
import com.example.alertofevents.data.local.dao.AlertOfEventsDao
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hi... | 0 | Kotlin | 0 | 0 | 8ea3479f79d7a1363555980c620137ec39b3b798 | 972 | Event-Notification | Apache License 2.0 |
geary-papermc-integrations/src/main/kotlin/com/mineinabyss/geary/papermc/features/general/cooldown/CooldownStarted.kt | MineInAbyss | 592,086,123 | false | {"Kotlin": 180266} | package com.mineinabyss.geary.papermc.features.general.cooldown
/** Represents a possibly ongoing cooldown with its start time and length */
class CooldownStarted(val time: Long, val cooldown: Cooldown)
| 1 | Kotlin | 0 | 1 | 499f8fb30c8509aa488056e1e3600544426677da | 204 | geary-papermc | MIT License |
src/main/kotlin/com/blueanvil/tekst/StemmingLanguage.kt | blueanvil | 276,079,873 | false | null | package com.blueanvil.tekst
import org.tartarus.snowball.SnowballStemmer
/**
* @author <NAME>
*/
enum class StemmingLanguage {
ARABIC,
BASQUE,
CATALAN,
DANISH,
DUTCH,
ENGLISH,
FINNISH,
FRENCH,
GERMAN,
GREEK,
HINDI,
HUNGARIAN,
INDONESIAN,
IRISH,
ITALIAN,
... | 0 | Kotlin | 0 | 0 | b1b8aa34973ff7b760f3d53365a6d5bfe3ee97db | 976 | tekst | Apache License 2.0 |
src/main/kotlin/com/blueanvil/tekst/StemmingLanguage.kt | blueanvil | 276,079,873 | false | null | package com.blueanvil.tekst
import org.tartarus.snowball.SnowballStemmer
/**
* @author <NAME>
*/
enum class StemmingLanguage {
ARABIC,
BASQUE,
CATALAN,
DANISH,
DUTCH,
ENGLISH,
FINNISH,
FRENCH,
GERMAN,
GREEK,
HINDI,
HUNGARIAN,
INDONESIAN,
IRISH,
ITALIAN,
... | 0 | Kotlin | 0 | 0 | b1b8aa34973ff7b760f3d53365a6d5bfe3ee97db | 976 | tekst | Apache License 2.0 |
app/src/main/java/com/breezebppoddarhospital/fcm/api/UpdateDeviceTokenRepo.kt | DebashisINT | 518,335,697 | false | {"Kotlin": 14759233, "Java": 1022832} | package com.breezebppoddarhospital.fcm.api
import com.breezebppoddarhospital.app.Pref
import com.breezebppoddarhospital.base.BaseResponse
import io.reactivex.Observable
/**
* Created by Saikat on 27-02-2019.
*/
class UpdateDeviceTokenRepo(val apiService: UpdateDeviceTokenApi) {
fun updateDeviceToken(deviceToken... | 0 | Kotlin | 0 | 0 | eb8e1b76424ecb09a6a1a5ee8af0b16695ffd4dc | 472 | BPPODDARHOSPITAL | Apache License 2.0 |
app/src/main/java/com/breezebppoddarhospital/fcm/api/UpdateDeviceTokenRepo.kt | DebashisINT | 518,335,697 | false | {"Kotlin": 14759233, "Java": 1022832} | package com.breezebppoddarhospital.fcm.api
import com.breezebppoddarhospital.app.Pref
import com.breezebppoddarhospital.base.BaseResponse
import io.reactivex.Observable
/**
* Created by Saikat on 27-02-2019.
*/
class UpdateDeviceTokenRepo(val apiService: UpdateDeviceTokenApi) {
fun updateDeviceToken(deviceToken... | 0 | Kotlin | 0 | 0 | eb8e1b76424ecb09a6a1a5ee8af0b16695ffd4dc | 472 | BPPODDARHOSPITAL | Apache License 2.0 |
core/src/main/java/de/quantummaid/reflectmaid/ThirdPartyAnnotation.kt | quantummaid | 250,527,761 | false | null | /**
* Copyright (c) 2021 <NAME> - https://quantummaid.de/.
*
* 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 un... | 1 | null | 1 | 4 | 31b816cfcb3d070c5ac84c70f4b9bd9741a7823a | 2,394 | reflectmaid | Apache License 2.0 |
buildSrc/src/main/kotlin/mihon/buildlogic/AndroidConfig.kt | komikku-app | 743,200,516 | false | {"Kotlin": 5710281} | package mihon.buildlogic
import org.gradle.api.JavaVersion as GradleJavaVersion
object AndroidConfig {
const val COMPILE_SDK = 34
const val TARGET_SDK = 34
const val MIN_SDK = 26
const val NDK = "26.1.10909125"
val JavaVersion = GradleJavaVersion.VERSION_17
}
| 36 | Kotlin | 2 | 78 | 9b4b1e3e1a13778fbaa70fc3113827eb396ed489 | 282 | komikku | Apache License 2.0 |
app/src/main/java/com/example/caniwatchitapplication/ui/adapter/StreamingSourcesAdapter.kt | bitasuperactive | 798,400,133 | false | {"Kotlin": 111123} | package com.example.caniwatchitapplication.ui.adapter
import android.graphics.drawable.Drawable
import android.view.View
import androidx.lifecycle.LifecycleOwner
import androidx.lifecycle.LiveData
import com.bumptech.glide.Glide
import com.bumptech.glide.load.DataSource
import com.bumptech.glide.load.engine.GlideExcep... | 0 | Kotlin | 0 | 0 | a60f7601bcddb2d744afcb4b4b7ba96ef2706563 | 4,697 | CanIWatchIt | MIT License |
src/main/kotlin/no/nav/helse/rapids_rivers/River.kt | navikt | 245,991,465 | false | null | package no.nav.helse.rapids_rivers
class River(rapidsConnection: RapidsConnection) : RapidsConnection.MessageListener {
private val validations = mutableListOf<PacketValidation>()
private val listeners = mutableListOf<PacketListener>()
init {
rapidsConnection.register(this)
}
fun validat... | 8 | Kotlin | 2 | 17 | 8e24a34a2ecdccf4c7d316e294bff3abcfa4dbc8 | 3,565 | rapids-and-rivers | MIT License |
src/main/kotlin/de/smartsquare/kickchain/kickway/analyzing/BlockchainRepository.kt | SmartsquareGmbH | 144,985,246 | false | null | package de.smartsquare.kickchain.kickway.analyzing
import de.smartsquare.kickchain.kickway.Blockchain
import de.smartsquare.kickchain.kickway.ConfigurationProperties
import org.springframework.stereotype.Repository
import org.springframework.web.client.RestClientException
import org.springframework.web.client.RestTemp... | 4 | Kotlin | 0 | 0 | 20765b7c7501833c35b0b9d1b7d9383010aaa439 | 827 | kickway | MIT License |
api/src/main/kotlin/com/wnsgml972/strada/api/v1/option/drink/service/DrinkOptionMapper.kt | Coffee-Street | 289,485,814 | false | {"Kotlin": 267923, "Shell": 2546, "Dockerfile": 174} | package com.wnsgml972.strada.api.v1.option.drink.service
import com.wnsgml972.strada.api.v1.option.drink.domain.DrinkOption
import com.wnsgml972.strada.api.v1.option.drizzle.service.toDto
import com.wnsgml972.strada.api.v1.option.drizzle.service.toEntity
import com.wnsgml972.strada.api.v1.option.syrup.service.toDto
im... | 2 | Kotlin | 2 | 2 | 24422867afe6c7f547a93f98083f655ecb80c0ed | 1,164 | strada | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.