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
samples/auth/webWasmApp/src/wasmJsMain/kotlin/AuthWasmJsApplication.kt
eygraber
807,438,503
false
{"Kotlin": 191931, "Shell": 1747}
import com.eygraber.virtue.app.virtueApplication import com.eygraber.virtue.config.WasmVirtueConfig import com.eygraber.virtue.samples.auth.shared.AuthAppComponent import com.eygraber.virtue.samples.auth.shared.AuthAppInfo import com.eygraber.virtue.samples.auth.shared.AuthSessionComponent import com.eygraber.virtue.sa...
4
Kotlin
1
9
55b450bbe340cae74956b737422d2f133ab8e91b
1,097
virtue
MIT License
app/src/main/java/com/jonah/trackling/features/habit/viewmodel/HabitState.kt
J5kinner
858,054,020
false
{"Kotlin": 15040}
package com.jonah.trackling.features.habit.viewmodel import com.jonah.trackling.features.habit.data.Habit data class HabitState ( val habits: List<Habit> = emptyList(), val isLoading: Boolean = false ) sealed class HabitSideEffect { data class Toast(val text: String) : HabitSideEffect() }
0
Kotlin
0
0
8700698aac916a6a6704b753ca35fb45e03bc005
304
Trackling
MIT License
shared/data/src/commonMain/kotlin/org/dukecon/data/mapper/FavoriteMapper.kt
dukecon
211,271,600
false
{"Gradle Kotlin DSL": 12, "Gradle": 5, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Groovy": 1, "AsciiDoc": 1, "Markdown": 1, "Proguard": 4, "XML": 107, "Kotlin": 259, "Java": 1, "JSON": 7, "Ruby": 2, "OpenStep Property List": 4, "Swift": 15, "YAML": 1, "Dockerfile": 1, "OASv3-json": 3}
package org.dukecon.data.mapper import org.dukecon.data.model.FavoriteEntity import org.dukecon.domain.model.Favorite import org.dukecon.domain.model.Speaker /** * Map a [FavoriteEntity] to and from a [Favorite] instance when data is moving between * this later and the Domain layer */ open class FavoriteMapper con...
16
Kotlin
0
5
aa12bd09830c3407635d0bc3e5691ba1ffaeeb2f
776
dukecon_mobile
Apache License 2.0
app/src/main/java/ru/ekbtrees/treemap/data/api/TreesApiService.kt
Yekaterinburg-Tree-Map
353,033,851
false
null
package ru.ekbtrees.treemap.data.api import retrofit2.http.* import ru.ekbtrees.treemap.data.dto.* import ru.ekbtrees.treemap.data.result.RetrofitResult interface TreesApiService { @GET("trees-cluster/get-in-region") suspend fun getClusterTreesInRegion( @Query("x1") topLeftX: Double, @Query("...
9
Kotlin
1
0
d71b5f1486c410d4347d2f3f4fc2498ec8db688c
1,242
ekbtrees-android
MIT License
dsl/src/main/kotlin/com/faendir/awscdkkt/generated/services/sns/TopicDsl.kt
F43nd1r
643,016,506
false
null
package com.faendir.awscdkkt.generated.services.sns import com.faendir.awscdkkt.AwsCdkDsl import javax.`annotation`.Generated import kotlin.String import kotlin.Unit import software.amazon.awscdk.services.sns.Topic import software.amazon.awscdk.services.sns.TopicProps import software.constructs.Construct @Generated p...
1
Kotlin
0
0
451a1e42282de74a9a119a5716bd95b913662e7c
975
aws-cdk-kt
Apache License 2.0
dslitem/src/main/java/com/angcyo/item/DslLabelOptionItem.kt
angcyo
229,037,615
false
null
package com.angcyo.item import android.app.Dialog import android.content.Context import android.view.View import com.angcyo.dialog.OptionDialogConfig import com.angcyo.dialog.optionDialog import com.angcyo.dsladapter.DslAdapterItem import com.angcyo.item.style.itemText import com.angcyo.library.ex.string import com.an...
0
null
6
5
18cdbc1d8e6c0ed88adbf3c441ea28e1a61d6e17
2,674
UICore
MIT License
client-misk-hibernate/src/main/kotlin/app/cash/backfila/client/misk/hibernate/internal/BoundingRangeStrategy.kt
cashapp
209,384,085
false
null
package app.cash.backfila.client.misk.hibernate.internal import app.cash.backfila.client.misk.hibernate.HibernateBackfill import app.cash.backfila.client.misk.hibernate.PartitionProvider import com.google.common.collect.Ordering import javax.persistence.Table import kotlin.streams.toList import misk.hibernate.DbEntity...
49
null
49
31
27e31a9a6ba643c314ee99fa1bb617fb1a33a2b6
7,462
backfila
Apache License 2.0
formats/protobuf/commonTest/src/kotlinx/serialization/protobuf/MapEntryTest.kt
Kotlin
97,827,246
false
null
/* * Copyright 2017-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. */ package kotlinx.serialization.protobuf import kotlinx.serialization.* import kotlin.test.* class MapEntryTest { @Serializable data class Wrapper(val e: Map.Entry<Int, Int>) @Test fun testEn...
407
null
621
5,396
d4d066d72a9f92f06c640be5a36a22f75d0d7659
583
kotlinx.serialization
Apache License 2.0
tests/react-value/src/jsMain/kotlin/com/test/counter/ActiveCounterWithDelegate.kt
turansky
279,976,108
false
{"Kotlin": 148097, "JavaScript": 1520, "Shell": 459, "HTML": 302}
package com.test.counter import react.FC val ActiveCounterWithDelegate = FC { Counter { active = true } }
0
Kotlin
7
53
aed3340d598374581ea4fbb0db06e9902b8d664c
124
seskar
Apache License 2.0
screenShareKit/src/main/java/org/loka/screensharekit/ScreenReaderService.kt
LxzBUG
392,629,411
false
null
package org.loka.screensharekit import android.app.Activity.RESULT_CANCELED import android.app.Service import android.content.Context import android.content.Intent import android.content.res.Resources import android.graphics.PixelFormat import android.hardware.display.DisplayManager import android.hardware.display.Vir...
3
null
8
52
dc72f31639afd819b97404cd50f18875989f9dad
16,800
ScreenShare
Apache License 2.0
cesium-kotlin/src/jsMain/kotlin/cesium/MapboxStyleImageryProvider.kt
karakum-team
393,199,102
false
null
// Automatically generated - do not modify! @file:JsModule("cesium") @file:JsNonModule @file:Suppress( "NON_EXTERNAL_DECLARATION_IN_INAPPROPRIATE_FILE", ) package cesium import kotlinx.js.ReadonlyArray /** * Provides tiled imagery hosted by Mapbox. * ``` * // Mapbox style provider * const mapbox = new Mapb...
0
null
6
24
f9d8715af4491f4030d7a23d11cdcd39c84054f1
13,866
types-kotlin
Apache License 2.0
app/src/main/java/com/mvfkotlin/myapplication/adapters/MoviesAdapter.kt
Dhaia
310,402,825
false
null
package com.mvfkotlin.myapplication.adapters import android.view.LayoutInflater import android.view.ViewGroup import androidx.databinding.DataBindingUtil import androidx.recyclerview.widget.RecyclerView import com.mvfkotlin.myapplication.R import com.mvfkotlin.myapplication.databinding.MoviesItemBinding import com.mvf...
0
Kotlin
0
2
56c9c54656c01a2e84b55ab8258d5047b6b79c98
1,784
MoviesFollowerKotlin
Apache License 2.0
sdk/src/main/java/ch/opentransportdata/ojp/data/dto/response/tir/situations/StopPointsDto.kt
openTdataCH
783,593,283
false
{"Kotlin": 222756}
package ch.opentransportdata.ojp.data.dto.response.tir.situations import com.tickaroo.tikxml.annotation.Element import com.tickaroo.tikxml.annotation.Xml /** * Created by <NAME> on 28.06.2024 */ @Xml(name = "siri:StopPoints") data class StopPointsDto( @Element(name = "siri:AffectedStopPoint") val affectedSt...
0
Kotlin
0
1
e1ec68eb0f10dbfa48ae6bc35090ca219bd3f761
355
ojp-android
MIT License
src/main/kotlin/no/nav/sbl/sosialhjelp_mock_alt/datastore/fiks/DokumentKrypteringsService.kt
navikt
257,863,652
false
{"Kotlin": 224929, "Dockerfile": 1139, "Shell": 217}
package no.nav.sbl.sosialhjelp_mock_alt.datastore.fiks import org.springframework.stereotype.Service import java.util.Base64 @Service class DokumentKrypteringsService { private val publicCertificateString = "MIICKzCCAZQCCQDv9tI+XfqHGjANBgkqhkiG9w0BAQsFADBaMQswCQYDVQQGEwJu" + "bzENMAsGA1UECAwETW9jazENMAsGA...
3
Kotlin
0
1
734eb511175980d918a80e0f98cfe45d876029de
1,205
sosialhjelp-mock-alt-api
MIT License
shared/src/commonMain/kotlin/com/takaotech/dashboard/model/github/GHLanguageDao.kt
TakaoTech
761,297,714
false
{"Kotlin": 316308, "Swift": 594, "HTML": 369, "Dockerfile": 345}
package com.takaotech.dashboard.model.github import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable @Serializable data class GHLanguageDao( @SerialName("name") val name: String, @SerialName("lines") val lines: Long, @SerialName("weight") val weight: Float = 0f, @SerialName("colorCode...
6
Kotlin
0
2
7012497146262c980bddfdaa771af9cc59eb41fa
356
TTD
Apache License 2.0
app/src/main/java/dxmnd/com/mymusicplayer/service/MusicService.kt
KimHunJin
101,188,391
false
null
package dxmnd.com.mymusicplayer.service import android.app.Service import android.content.Context import android.content.Intent import android.media.AudioManager import android.media.MediaPlayer import android.net.Uri import android.os.Binder import android.os.IBinder import android.os.PowerManager import android.prov...
0
Kotlin
0
0
e9fc8dc43545f3f2f0fc09afb392216aca097fa1
5,332
MyMusicPlayer
Apache License 2.0
favorite/src/main/java/com/masscode/animesuta/favorite/FavoriteViewModel.kt
agustiyann
299,888,684
false
null
package com.masscode.animesuta.favorite import androidx.lifecycle.ViewModel import androidx.lifecycle.asLiveData import com.masscode.animesuta.core.domain.usecase.AnimeUseCase class FavoriteViewModel(animeUseCase: AnimeUseCase) : ViewModel() { val favoriteAnime = animeUseCase.getFavoriteAnime().asLiveData() }
0
Kotlin
10
55
0a51677ddcd69eb9f8c2f9c8da62518c894d06ce
318
Android-Clean-Architecture
Apache License 2.0
ui/src/main/java/com/nemesis/sunrise/ui/location/LocationViewModel.kt
N3-M3-S1S
515,637,127
false
{"Kotlin": 168066}
package com.nemesis.sunrise.ui.location import androidx.lifecycle.SavedStateHandle import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import androidx.paging.Pager import androidx.paging.PagingConfig import androidx.paging.PagingData import androidx.paging.cachedIn import com.nemesis.sunrise.d...
0
Kotlin
0
0
92e40610ebda8eb317b8992f92912e558b97359d
7,560
sunrise
MIT License
newm-chain-db/src/main/kotlin/io/newm/chain/database/entity/LedgerAsset.kt
projectNEWM
447,979,150
false
null
package io.newm.chain.database.entity import kotlinx.serialization.Serializable @Serializable data class LedgerAsset( val id: Long? = null, // policy id for this asset val policy: String, // name for this asset val name: String, // the asset image ipfs link val image: String?, // t...
2
Kotlin
2
4
ed0669f0a211fb9e07c1c0666bbc1281c115afd2
379
newm-server
Apache License 2.0
matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/media/MediaModule.kt
matrix-org
287,466,066
false
null
/* * Copyright 2020 The Matrix.org Foundation C.I.C. * * 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 ...
75
null
27
97
55cc7362de34a840c67b4bbb3a14267bc8fd3b9c
1,578
matrix-android-sdk2
Apache License 2.0
stacktrace-decoroutinator-jvm/src/test/kotlin/example.kt
Anamorphosee
429,510,239
false
null
import dev.reformator.stacktracedecoroutinator.runtime.DecoroutinatorRuntime import kotlinx.coroutines.delay import kotlinx.coroutines.runBlocking suspend fun rec(depth: Int) { if (depth == 0) { delay(100) throw Exception("exception at ${System.currentTimeMillis()}") } rec(depth - 1) } fun...
4
null
4
149
d2ceaa91f30b6fa261f71ba4190e37da85a4359c
585
stacktrace-decoroutinator
Apache License 2.0
kotlin/geometry/LineGeometry.kt
polydisc
281,633,906
true
{"Java": 540473, "Kotlin": 515759, "C++": 265630, "CMake": 571}
package geometry import numeric.FFT import optimization.Simplex object LineGeometry { const val EPS = 1e-10 fun sign(a: Double): Int { return if (a < -EPS) -1 else if (a > EPS) 1 else 0 } // Returns -1 for clockwise, 0 for straight line, 1 for counterclockwise order fun orientation(a: Poi...
1
Java
0
0
4566f3145be72827d72cb93abca8bfd93f1c58df
3,399
codelibrary
The Unlicense
core/src/main/java/io/github/thibaultbee/streampack/internal/sources/IVideoSource.kt
ThibaultBee
262,623,449
false
null
/* * Copyright (C) 2022 Thibault B. * * 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 ...
9
null
70
202
ab8027231982e5e8280fb99812dcd6d0ef28440d
1,519
StreamPack
Apache License 2.0
src/main/kotlin/com/milkcocoa/info/Application.kt
milkcocoa0902
701,992,213
false
{"Kotlin": 21474}
package com.milkcocoa.info import com.google.auth.oauth2.GoogleCredentials import com.google.firebase.FirebaseApp import com.google.firebase.FirebaseOptions import com.google.firebase.auth.FirebaseAuthException import com.milkcocoa.info.authentocator.FirebaseAuthProvider import com.milkcocoa.info.authentocator.HeaderA...
0
Kotlin
0
0
29e38428f33a3f2f8d37bc2ecf005a51613d6faf
667
KtorAuthenticator
MIT License
opencola-server/server/src/main/kotlin/opencola/server/viewmodel/Persona.kt
johnmidgley
441,008,781
false
{"Kotlin": 1130580, "Java": 851281, "Dart": 181759, "Clojure": 111662, "CSS": 61393, "HTML": 42666, "Shell": 17124, "Swift": 14391, "JavaScript": 10218, "PowerShell": 8360, "Ruby": 1586, "Dockerfile": 654, "Objective-C": 38}
/* * Copyright 2024 OpenCola * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
18
Kotlin
1
3
b296f54f81e529bdb8bf7b01c36e20aa20f579ff
1,852
opencola
Apache License 2.0
app/src/main/java/hu/tb/minichefy/domain/use_case/Validators.kt
BTheofil
705,819,849
false
{"Kotlin": 246523}
package hu.tb.minichefy.domain.use_case class ValidateQuantityNumber { operator fun invoke(quantityNumber: Int): ValidationResult = if (quantityNumber <= 0) { ValidationResult.ERROR } else { ValidationResult.SUCCESS } } class ValidateTextField { operator fun inv...
5
Kotlin
0
0
0046e73588f465517906d557451bf76505ff1a96
601
MiniChefy
Apache License 2.0
src/test/kotlin/adventofcode/util/graph/GraphsTest.kt
jwcarman
731,408,177
false
{"Kotlin": 102033}
/* * Copyright (c) 2023 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
0
Kotlin
0
0
bc92b3359f822cc2496a61f516896feb8b288ece
1,452
adventofcode2023
Apache License 2.0
commands/src/main/kotlin/cc/fyre/kt/command/CommandHelper.kt
xanderume
738,271,694
false
{"Kotlin": 68788}
package cc.fyre.kt.command import kotlin.math.ceil interface CommandHelper<out A: CommandActor<*,*>> { val command: Command val pages: Int get() = if (this.commandsPerPage == -1) { 1 } else { ceil(this.commandsPerPage.toDouble() / this.command.children.size.toDouble(...
0
Kotlin
0
1
044c3e956db8f02aa9ca61da31b882bb736d0626
692
KT-Commands
MIT License
font-awesome/src/commonMain/kotlin/compose/icons/fontawesomeicons/brands/Hive.kt
DevSrSouza
311,134,756
false
{"Kotlin": 36719092}
package compose.icons.fontawesomeicons.brands import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap.Companion.Butt import androidx.compose.ui.graphics.StrokeJoin.Companion...
17
Kotlin
25
571
a660e5f3033e3222e3553f5a6e888b7054aed8cd
3,490
compose-icons
MIT License
kotlin-analysers/src/main/kotlin/org/jetbrains/research/lupa/kotlinAnalysis/dependencies/analysis/ImportDirectivesAnalysisExecutor.kt
nbirillo
353,952,951
false
null
package org.jetbrains.research.lupa.kotlinAnalysis.dependencies.analysis import com.intellij.openapi.application.ApplicationManager import com.intellij.openapi.project.Project import org.jetbrains.kotlin.psi.KtImportDirective import org.jetbrains.kotlin.psi.KtPackageDirective import org.jetbrains.kotlin.utils.addToStd...
8
Jupyter Notebook
5
25
c4875ccd6762d779bff8b3da37690360253a74fb
3,113
Lupa
Apache License 2.0
app/src/main/java/com/example/mytaskboard/taskboard/create/presentation/CreateTaskViewModel.kt
Deizerok
802,200,633
false
{"Kotlin": 52821}
package com.example.mytaskboard.taskboard.create.presentation import com.example.mytaskboard.core.presentation.BaseViewModel import com.example.mytaskboard.core.presentation.RunAsync import com.example.mytaskboard.main.Navigation import com.example.mytaskboard.main.Screen import com.example.mytaskboard.taskboard.creat...
0
Kotlin
1
6
4fd99fc77c85647a057273da87d972ecd7136b0b
1,047
My-Task-Board
MIT License
example/src/main/kotlin/com/example/afterpay/data/CashData.kt
afterpay
279,474,371
false
null
package com.example.afterpay.data import android.os.Parcelable import kotlinx.parcelize.Parcelize @Parcelize data class CashData(val cashTag: String, val amount: String, val grantId: String) : Parcelable
0
Kotlin
4
8
fc2e10abc31eb35c36adda6ffd0e5affdafc8756
206
sdk-android
Apache License 2.0
tilbakekreving/domain/src/main/kotlin/tilbakekreving/domain/opprett/OpprettTilbakekrevingsbehandling.kt
navikt
227,366,088
false
{"Kotlin": 9215718, "Shell": 3838, "TSQL": 1233, "Dockerfile": 800}
package tilbakekreving.domain.opprett import no.nav.su.se.bakover.hendelse.domain.DefaultHendelseMetadata import no.nav.su.se.bakover.hendelse.domain.Hendelsesversjon import tilbakekreving.domain.OpprettetTilbakekrevingsbehandling import tilbakekreving.domain.OpprettetTilbakekrevingsbehandlingHendelse import tilbakekr...
1
Kotlin
1
1
82897d6bc412e9a086063aece4d1a54822ad2c82
1,167
su-se-bakover
MIT License
app/src/main/java/com/muratozturk/breakingbad/common/Constants.kt
muratozturk5
559,985,666
false
{"Kotlin": 36465}
package com.muratozturk.breakingbad.common object Constants { const val BASE_URL = "https://www.breakingbadapi.com/api/" const val CHARACTERS = "characters" const val EPISODES = "episodes" const val QUOTE = "quotes" const val CHARACTERS_DETAIL = "characters/{id}" const val EPISODES_DETAIL = "ep...
0
Kotlin
3
13
e36da837b61e5f849e8d17252960382248124785
364
Breaking-Bad
MIT License
app/src/main/java/com/example/chessmate/ui/pages/multiplayer/FindGameScreen.kt
Pancio-code
705,812,857
false
{"Kotlin": 406248}
package com.example.chessmate.ui.pages.multiplayer import android.util.Log import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Spacer import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.foundation.layout.height import androidx.compose.foundation.layout.s...
0
Kotlin
0
0
f401348ffd9f1fd748a6277e8d0a295234b5610f
3,763
ChessMate-MACC
Apache License 2.0
hexagon_core/src/test/kotlin/com/hexagonkt/settings/SettingsManagerTest.kt
muniyalr
140,866,324
true
{"Kotlin": 397397, "FreeMarker": 16374, "CSS": 8405, "Groovy": 2183, "HTML": 1732, "JavaScript": 1280, "Gherkin": 332}
package com.hexagonkt.settings import com.hexagonkt.helpers.get import com.hexagonkt.settings.SettingsManager.loadDefaultSettings import com.hexagonkt.settings.SettingsManager.settings import com.hexagonkt.settings.SettingsManager.setting import com.hexagonkt.settings.SettingsManager.requireSetting import org.testng.a...
0
Kotlin
0
0
daeafd1ebaefba75f472bca154935358edd89e35
2,282
hexagon
MIT License
app/src/main/java/com/beetlestance/smartcaller/di/scopes/DialogFragmentScoped.kt
akshay253101
338,502,166
false
null
package com.beetlestance.smartcaller.di.scopes import javax.inject.Scope @Scope @Retention(AnnotationRetention.BINARY) annotation class ActivityScoped
0
Kotlin
2
2
110d746d06c4b80b53736ed28343a39af98b3764
152
SmartCaller
Apache License 2.0
compiler/testData/codegen/box/enum/abstractmethod.kt
udalov
10,645,710
false
null
fun box() = IssueState.DEFAULT.ToString() + IssueState.FIXED.ToString() open enum class IssueState { DEFAULT FIXED { override fun ToString() = "K" } open fun ToString() : String = "O" }
0
null
1
6
3958b4a71d8f9a366d8b516c4c698aae80ecfe57
206
kotlin-objc-diploma
Apache License 2.0
bc-gateway/bc-gateway-core/src/main/kotlin/co/nilin/opex/bcgateway/core/spi/CurrencyHandler.kt
opexdev
370,411,517
false
{"Kotlin": 1296033, "HTML": 43145, "Shell": 8309, "Java": 8001, "PLpgSQL": 3351, "Dockerfile": 3334, "HCL": 823}
package co.nilin.opex.bcgateway.core.spi import co.nilin.opex.bcgateway.core.model.CurrencyImplementation import co.nilin.opex.bcgateway.core.model.CurrencyInfo import java.math.BigDecimal interface CurrencyHandler { suspend fun addCurrency(name: String, symbol: String) suspend fun editCurrency(name: String...
30
Kotlin
20
46
f1812b42b836babad24ca9ebbf63683b1c81713e
1,285
core
MIT License
android/airship-framework-proxy/src/main/java/com/urbanairship/android/framework/proxy/events/EventEmitter.kt
urbanairship
587,525,727
false
{"Kotlin": 102633, "Swift": 97577, "Ruby": 1415, "Objective-C": 536}
/* Copyright Urban Airship and Contributors */ package com.urbanairship.android.framework.proxy.events import com.urbanairship.android.framework.proxy.Event import com.urbanairship.android.framework.proxy.EventType import kotlinx.coroutines.CoroutineScope import kotlinx.coroutines.Dispatchers import kotlinx.coroutine...
1
Kotlin
2
0
edc760738543753dc1a50ab779a11e4c590c758a
2,624
airship-mobile-framework-proxy
Apache License 2.0
app/src/main/java/cz/josefadamcik/trackontrakt/data/api/model/MediaType.kt
josefadamcik
86,170,190
false
null
package cz.josefadamcik.trackontrakt.data.api.model enum class MediaType { movie, episode, show }
1
null
1
1
b43bfae21f085d84a0f3aeac74f5a38b087b2032
110
TrackOnTrakt
Apache License 2.0
libraries/cache/src/main/kotlin/io/plastique/core/cache/CacheHelper.kt
plastiqueapp
150,879,887
false
null
package io.plastique.core.cache import io.reactivex.Completable import io.reactivex.Observable import timber.log.Timber class CacheHelper( private val cacheEntryRepository: CacheEntryRepository, private val cacheEntryChecker: CacheEntryChecker, private val cacheStrategy: CacheStrategy = UpdateIfNotActualS...
0
Kotlin
2
9
9271853f3741add18822858cbad9d4f8e8104f54
1,023
plastique
Apache License 2.0
src/main/kotlin/dev/kosmx/needle/database/MatchSequence.kt
KosmX
651,103,285
false
null
package dev.kosmx.needle.database import dev.kosmx.needle.core.JarCheckMatch import dev.kosmx.needle.core.MatchType import dev.kosmx.needle.core.InsnComparator import dev.kosmx.needle.lib.Word import dev.kosmx.needle.lib.match import org.objectweb.asm.tree.AbstractInsnNode import kotlin.reflect.KClass typealias InsnS...
7
Kotlin
1
4
f08260cab2890592b8b8e45a3054be02270f4095
1,003
jneedle
MIT License
src/main/kotlin/dev/kosmx/needle/database/MatchSequence.kt
KosmX
651,103,285
false
null
package dev.kosmx.needle.database import dev.kosmx.needle.core.JarCheckMatch import dev.kosmx.needle.core.MatchType import dev.kosmx.needle.core.InsnComparator import dev.kosmx.needle.lib.Word import dev.kosmx.needle.lib.match import org.objectweb.asm.tree.AbstractInsnNode import kotlin.reflect.KClass typealias InsnS...
7
Kotlin
1
4
f08260cab2890592b8b8e45a3054be02270f4095
1,003
jneedle
MIT License
smart-kettle-core/src/main/kotlin/com/smart/kettle/core/properties/DatabaseMetaProperties.kt
ming4762
289,197,444
false
null
package com.smart.kettle.core.properties import lombok.Getter import lombok.Setter /** * 资源库配置 * @author shizhongming * 2020/7/16 8:33 下午 */ open class DatabaseMetaProperties { var type = "mysql" var access = "jdbc" var name: String? = null var host = "localhost" var db: String? = null var...
0
Kotlin
0
0
c5b3dd5759e78c6c8ba3e660fae10a4214c333b5
385
smart-kettle
MIT License
templates/spring-boot/src/main/kotlin/sift/template/springboot/SpringBootTemplate.kt
junkdog
561,870,959
false
null
package sift.template.springboot import com.github.ajalt.mordant.rendering.TextStyles.bold import com.github.ajalt.mordant.rendering.TextStyles.inverse import org.objectweb.asm.Type import sift.core.entity.Entity import sift.core.api.Action import sift.core.dsl.Methods import sift.core.dsl.template import sift.core.gr...
0
null
0
54
ed617355830f88f1e956d17661565be88b1a4e1c
4,471
sift
MIT License
src/main/kotlin/dev/remylavergne/togglsheet/models/SapExcelData.kt
remylavergne
359,909,061
false
null
package dev.remylavergne.togglsheet.models data class SapExcelData( val date: String, val project: String, val projectDescription: String, val task: String, val taskDescription: String, val customerName: String, val hours: Double, val ticket: String, val comment: String, val sp...
7
Kotlin
0
1
a03d0d38f79059a3e5ce7740131cdb239a2eb131
336
Ktoggl-CLI
MIT License
app/src/main/java/pk/sufiishq/app/feature/kalam/popupmenu/KalamItemPopupMenu.kt
sufiishq
427,931,739
false
{"Kotlin": 950135}
/* * Copyright 2022-2023 SufiIshq * * 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...
3
Kotlin
0
2
254eeb6c2b1cad21d2f971d8b49ba3327d446bb5
1,206
sufiishq-mobile
Apache License 2.0
app/src/main/java/com/mjay/instagram_clone/repositories/UserRepository.kt
Sre-n
550,942,823
false
{"Kotlin": 185710}
package com.mjay.instagram_clone.repositories import com.mjay.instagram_clone.data.fake.FakeServicesImpl import com.mjay.instagram_clone.models.User import com.mjay.instagram_clone.sealed.DataResponse import javax.inject.Inject class UserRepository @Inject constructor( private val fakeServicesImpl: FakeServicesIm...
0
Kotlin
0
0
5f8eae0ee86b6f7b24623306542a338fe045ba17
590
insta_clone
MIT License
forage-android/src/main/java/com/joinforage/forage/android/ForageSDKApi.kt
teamforage
554,343,430
false
null
package com.joinforage.forage.android import android.content.Context import com.joinforage.forage.android.network.model.ForageApiResponse import com.joinforage.forage.android.ui.ForagePINEditText /** * The Forage SDK public API */ internal interface ForageSDKApi { suspend fun tokenizeEBTCard( merchantAc...
5
Kotlin
0
0
f2ff61ed27847b28d631f975c9a79e52f9258802
884
forage-android-sdk
MIT License
messagecenter/src/main/java/ruolan/com/messagecenter/provider/PushProviderImpl.kt
wuyinlei
117,832,134
false
null
package ruolan.com.messagecenter.provider import android.content.Context import cn.jpush.android.api.JPushInterface import com.alibaba.android.arouter.facade.annotation.Route import com.ruolan.factory.PushProvider import com.ruolan.factory.router.RouterPath /** * Created by wuyinlei on 2018/1/30. * * @function 模块间...
1
Kotlin
1
2
2b388a915760c6f85dc1523b42cf11446c3ff63f
666
CNMarket4Kotlin
Apache License 2.0
utils/src/commonMain/kotlin/it/unibo/tuprolog/utils/impl/NonLastCursor.kt
tuProlog
230,784,338
false
null
package it.unibo.tuprolog.utils.impl internal class NonLastCursor<T>(source: Iterator<T>) : AbstractCursor<T>() { private var source: Iterator<T>? = source override val next: AbstractCursor<out T> by lazy { AbstractCursor.of(source).also { this.source = null } } override val current: T = sour...
92
null
14
93
3223ffc302e5da0efe2b254045fa1b6a1a122519
537
2p-kt
Apache License 2.0
frontend/HackingTheBookShelf/app/src/main/java/kz/nikitos/hackingthebookshelf/data/models/DebtData.kt
notbot479
853,304,560
false
{"Kotlin": 79263, "Python": 45672}
package kz.nikitos.hackingthebookshelf.data.models import kotlinx.datetime.LocalDate import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable @Serializable data class DebtData( @SerialName("book") val bookData: BookData, @SerialName("count") val available: Int, @SerialName("date_o...
0
Kotlin
0
1
f0fd8aeaaba4f12fb8456b20045d8161ad0f2cd7
426
HackTheBookshelf2024
MIT License
lib/src/main/kotlin/com/lemonappdev/konsist/api/declaration/KoPackageDeclaration.kt
LemonAppDev
621,181,534
false
{"Kotlin": 4854719, "Python": 17926}
package com.lemonappdev.konsist.api.declaration import com.lemonappdev.konsist.api.provider.KoBaseProvider import com.lemonappdev.konsist.api.provider.KoContainingFileProvider import com.lemonappdev.konsist.api.provider.KoFullyQualifiedNameProvider import com.lemonappdev.konsist.api.provider.KoLocationProvider import ...
6
Kotlin
27
995
603d19e179f59445c5f4707c1528a438e4595136
1,047
konsist
Apache License 2.0
query-model/jpql/src/main/kotlin/com/linecorp/kotlinjdsl/querymodel/jpql/path/impl/JpqlPathTreat.kt
line
442,633,985
false
{"Kotlin": 1959613, "JavaScript": 5144, "Shell": 1023}
package com.linecorp.kotlinjdsl.querymodel.jpql.path.impl import com.linecorp.kotlinjdsl.Internal import com.linecorp.kotlinjdsl.querymodel.jpql.path.Path import kotlin.reflect.KClass @Internal data class JpqlPathTreat<T : Any, S : T> internal constructor( val path: Path<T>, val type: KClass<S>, ) : Path<S>
4
Kotlin
86
705
3a58ff84b1c91bbefd428634f74a94a18c9b76fd
319
kotlin-jdsl
Apache License 2.0
src/main/kotlin/no/skatteetaten/aurora/gobo/infrastructure/field/Field.kt
Skatteetaten
135,263,220
false
{"Kotlin": 729888, "HTML": 1433, "Shell": 426}
package no.skatteetaten.aurora.gobo.infrastructure.field data class Field( val name: String, val count: Long, val clients: List<FieldClient> = emptyList() ) data class FieldClient( val name: String, val count: Long )
0
Kotlin
0
3
9a28e1d711756479696672f139568fdeadb74ac1
239
gobo
Apache License 2.0
plugins/git4idea/src/git4idea/branch/GitNewBranchDialog.kt
sxhya
228,590,825
false
{"Text": 3958, "XML": 4557, "Ant Build System": 13, "Shell": 472, "Markdown": 298, "Ignore List": 79, "Git Attributes": 9, "Batchfile": 30, "SVG": 1987, "Java": 64019, "C++": 15, "HTML": 2722, "Kotlin": 4369, "DTrace": 1, "Gradle": 70, "Java Properties": 94, "INI": 236, "JFlex": 27, "Objective-C": 19, "Groovy": 3317, "...
/* * Copyright 2000-2017 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
1
null
1
1
ca8064e5da364dfff33d56208a5512032b55ce46
4,698
intellij-community
Apache License 2.0
karibu-testing-v8/src/main/kotlin/com/github/mvysny/kaributesting/v8/TestingLifecycleHook.kt
mvysny
123,093,803
false
null
package com.github.mvysny.kaributesting.v8 import com.vaadin.server.VaadinSession /** * If you need to hook into the testing lifecycle (e.g. you need to wait for any async operations to finish), * provide your own custom implementation of this interface, then set it into [testingLifecycleHook]. * * ### Mocking se...
7
null
8
74
c7ba652094e33d48414389e79ea32c9e8790b26b
2,480
karibu-testing
Apache License 2.0
client/src/main/kotlin/com/rarible/opensea/client/model/v1/Maker.kt
rarible
390,211,974
false
{"Kotlin": 51206}
package com.rarible.opensea.client.model import scalether.domain.Address data class Maker( val address: Address, /** * TODO: need fix serialization * 1) * "user": { * "username": "NullAddress" * } * 2) * "user": 150875 */ //val user: User? // )
0
Kotlin
2
4
c677060fbbca2aeb17ac5db8b45ffdc7483f88a2
302
opensea-client
MIT License
libs/metadata/kotlin/src/test/kotlin/gov/cdc/dex/metadata/DateHelperTest.kt
CDCgov
510,835,938
false
{"Kotlin": 6408}
package gov.cdc.dex.metadata import gov.cdc.dex.metadata.DateHelper.asISO8601 import org.junit.jupiter.api.Test import java.time.LocalDate import java.time.ZoneId import java.util.* class DateHelperTest { @Test fun testDates() { val defaultZoneId = ZoneId.systemDefault() val localDate = Loca...
1
Kotlin
0
2
642e1cecb1a9f710d59a7a504149d515110d9274
544
data-exchange
Apache License 2.0
paletteon-core/src/commonMain/kotlin/dev/teogor/paletteon/ktx/CorePalette.kt
teogor
849,961,511
false
{"Kotlin": 482882}
/* * Copyright 2024 Teogor (<NAME>) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
0
Kotlin
0
2
de712f6bb9d48be94e204086cbddabd32110d61d
2,340
paletteon
Apache License 2.0
codebase/src/main/java/com/singularity_code/codebase/pattern/VMData.kt
SingularityIndonesia
659,777,906
false
null
package com.singularity_code.codebase.pattern sealed interface VMData<T> { interface Default<T> : VMData<T> interface Loading<T> : VMData<T> interface Success<T> : VMData<T> { val data: T } interface Failed<T> : VMData<T> { val message: String } }
0
Kotlin
0
3
38e73034980d0a864b910fd37d57615386e822e2
288
AndroidCodebase
MIT License
server/executioncontext/installationcontext/src/main/kotlin/org/jetbrains/bsp/bazel/installationcontext/InstallationContextDebuggerAddressEntity.kt
JetBrains
826,262,028
false
{"Kotlin": 3064918, "Starlark": 370388, "Java": 165158, "Scala": 37245, "Python": 34754, "Lex": 17493, "Dockerfile": 8674, "Shell": 7379, "HTML": 1310, "Rust": 680, "Go": 428, "C++": 113}
package org.jetbrains.bsp.bazel.installationcontext import org.jetbrains.bsp.bazel.executioncontext.api.ExecutionContextSingletonEntity data class InstallationContextDebuggerAddressEntity(override val value: String) : ExecutionContextSingletonEntity<String>()
6
Kotlin
47
45
1d79484cfdf8fc31d3a4b214655e857214071723
266
hirschgarten
Apache License 2.0
src/test/kotlin/uk/gov/justice/digital/hmpps/oauth2server/resource/api/AuthServicesIntTest.kt
ministryofjustice
118,512,431
false
{"Kotlin": 2265535, "HTML": 206930, "Shell": 16327, "CSS": 11834, "Dockerfile": 1459, "JavaScript": 439, "Procfile": 74}
package uk.gov.justice.digital.hmpps.oauth2server.resource.api import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Nested import org.junit.jupiter.api.Test import org.springframework.http.MediaType import uk.gov.justice.digital.hmpps.oauth2server.resource.IntegrationTest class AuthServicesI...
4
Kotlin
4
8
6b962b2a7c4b34195a9b4cbd3bb0e5ccdca53869
3,576
hmpps-auth
MIT License
tabler/src/commonMain/kotlin/com/woowla/compose/icon/collections/tabler/tabler/outline/ArrowDownLeft.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
1,880
compose-icon-collections
MIT License
githubApi/src/commonMain/kotlin/io/github/opletter/espul/gh/data/OpenState.kt
DennisTsar
739,949,683
false
{"Kotlin": 160384, "HTML": 398}
package io.github.opletter.espul.gh.data import kotlinx.serialization.SerialName enum class OpenState { @SerialName("open") OPEN, @SerialName("closed") CLOSED, }
0
Kotlin
0
0
8c6fe7e927d2db67af8e56ac7cdbc88a4f251c49
181
Espul
Apache License 2.0
SecondTempleTimer/src/commonMain/kotlin/com/kdroid/secondtempletimer/TimeIntervalProvider.kt
kdroidFilter
849,781,239
false
{"Kotlin": 814129}
import kotlinx.datetime.LocalDate import kotlinx.datetime.TimeZone import kotlinx.datetime.atStartOfDayIn import sternbach.software.kosherkotlin.hebrewcalendar.JewishDate import kotlin.time.Duration.Companion.milliseconds interface TimeIntervalProvider { fun getCurrentJewishDate(): JewishDate fun getSecondTem...
0
Kotlin
0
0
577cd4818376400b4acc0f580ef19def3bf9e8d9
4,336
SecondTempleTimerLibrary
Apache License 2.0
video-sdk/src/test/java/com/kaleyra/video_sdk/viewmodel/call/VirtualBackgroundViewModelTest.kt
KaleyraVideo
686,975,102
false
{"Kotlin": 3462882, "Shell": 7470, "Python": 6756, "Java": 1213}
/* * Copyright 2023 Kaleyra @ https://www.kaleyra.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
1
Kotlin
0
1
bd76590cc18ca2b05c1978f37f43147cb71a6d4f
5,127
VideoAndroidSDK
Apache License 2.0
platform/platform-api/src/com/intellij/ui/popup/list/SelectablePanel.kt
ingokegel
72,937,917
false
null
// Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. package com.intellij.ui.popup.list import com.intellij.util.ui.GraphicsUtil import com.intellij.util.ui.JBUI import org.jetbrains.annotations.ApiStatus import java.awt.* import javax.accessibility.A...
214
null
4829
2
b07eabd319ad5b591373d63c8f502761c2b2dfe8
4,040
intellij-community
Apache License 2.0
bbfgradle/tmp/results/diffABI/classified3/19/bpqkljk_FILE.kt
DaniilStepanov
346,008,310
false
{"Markdown": 122, "Gradle": 762, "Gradle Kotlin DSL": 649, "Java Properties": 23, "Shell": 49, "Ignore List": 20, "Batchfile": 26, "Git Attributes": 8, "Kotlin": 82508, "Protocol Buffer": 12, "Java": 6674, "Proguard": 12, "XML": 1698, "Text": 13298, "INI": 221, "JavaScript": 294, "JAR Manifest": 2, "Roff": 217, "Roff M...
// Bug happens on JVM , JVM -Xuse-ir // !LANGUAGE: +NoConstantValueAttributeForNonConstVals, +JvmFieldInInterface // WITH_RUNTIME // TARGET_BACKEND: JVM // FILE: tmp0.kt import kotlin.test.assertEquals class C { val testClassVal = 100 @JvmField val testJvmFieldVal = 105 companion object { va...
1
null
1
1
e772ef1f8f951873ebe7d8f6d73cf19aead480fa
1,489
kotlinWithFuzzer
Apache License 2.0
compiler-plugin/src/main/kotlin/com/google/devtools/ksp/symbol/impl/kotlin/KSFunctionDeclarationImpl.kt
edrd-f
340,050,868
false
null
/* * Copyright 2020 Google LLC * Copyright 2010-2020 JetBrains s.r.o. and Kotlin Programming Language contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apac...
1
null
1
1
cd9ad2de7b6face04a4c3aa693bb5b45d3097082
3,919
ksp
Apache License 2.0
android/apollo/src/main/java/io/muun/apollo/domain/libwallet/errors/UnknownRecoveryCodeVersionError.kt
muun
150,655,434
false
null
package io.muun.apollo.domain.libwallet.errors import io.muun.apollo.domain.errors.MuunError class UnknownRecoveryCodeVersionError(cause: Throwable): MuunError("Libwallet failed to recognize version from Recovery Code", cause)
39
null
46
256
86048fe9f8059c9617f2e6d32e7d41c460dfb785
232
apollo
MIT License
core/src/main/kotlin/com/krake/core/text/DistanceNumberFormat.kt
LaserSrl
165,023,586
false
{"Gradle": 23, "Text": 3, "INI": 20, "Java Properties": 2, "Shell": 1, "Ignore List": 1, "Batchfile": 1, "Git Attributes": 1, "XML": 512, "JSON": 4, "Java": 163, "Kotlin": 393, "Proguard": 2, "Groovy": 2}
package com.krake.core.text /** * Created by joel on 21/04/17. */ class DistanceNumberFormat { var prefix: String? = null var suffix: String? = null fun prefix(prefix: String?) = apply { this.prefix = prefix } fun suffix(suffix: String?) = apply { this.suffix = suffix } /** * Formattazio...
1
null
1
1
51b97524ff72273227d029faf06acbef0f2699f8
892
KrakeAndroid
Apache License 2.0
app/src/main/java/me/raghu/mvpassignment/DemoApplication.kt
raghunandankavi2010
151,673,114
false
{"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "Kotlin": 29, "XML": 13, "Java": 3, "YAML": 1}
package me.raghu.mvpassignment import android.app.Application import dagger.android.AndroidInjector import dagger.android.DispatchingAndroidInjector import dagger.android.HasAndroidInjector import me.raghu.mvpassignment.dagger.DaggerAppComponent import javax.inject.Inject class DemoApplication : Application(), HasAnd...
0
Kotlin
0
2
29e3f60ecb4f77b3d39739b4ceb636107057e575
740
MVPSample
Apache License 2.0
app/src/main/java/io/horizontalsystems/bankwallet/modules/market/topnftcollections/TopNftCollectionsService.kt
horizontalsystems
142,825,178
false
{"Kotlin": 5050886, "Shell": 6112, "Ruby": 1350}
package io.horizontalsystems.bankwallet.modules.market.topnftcollections import io.horizontalsystems.bankwallet.modules.market.SortingField import io.horizontalsystems.bankwallet.modules.market.TimeDuration import io.horizontalsystems.bankwallet.modules.nft.TopNftCollection import kotlinx.coroutines.* import kotlinx.c...
168
Kotlin
364
895
218cd81423c570cdd92b1d5161a600d07c35c232
2,231
unstoppable-wallet-android
MIT License
common/src/main/java/io/github/caimucheng/leaf/common/callback/FileUnZipCallback.kt
CaiMuCheng
714,178,682
false
null
package io.github.caimucheng.leaf.common.callback interface FileUnZipCallback { fun onUnZipSuccess() fun onUnZipFailed(e: Exception) }
5
null
5
12
4072b9f90dfcc03576731871ad3fd10a69463008
146
LeafIDE
Apache License 2.0
base/src/main/java/com/mvp/base/rx/IoMainScheduler.kt
lxqxsyu
186,373,048
false
{"Java": 107663, "Kotlin": 32950}
package com.hazz.kotlinmvp.rx.scheduler import io.reactivex.android.schedulers.AndroidSchedulers import io.reactivex.schedulers.Schedulers /** * 描述:主线程调度 * 日期:2019/5/13 * 作者:水寒 * 邮箱:lxq_xsyu@163.com */ class IoMainScheduler<T> : BaseScheduler<T>(Schedulers.io(), AndroidSchedulers.mainThread())
1
null
1
1
04336aec03932660f1e55eda9b3a1914095ae7e9
302
kotlin-mvp-base
Apache License 2.0
cryptoapi/src/main/java/io/pixelplex/mobile/cryptoapi/support/future/FutureTask.kt
cryptoapi-project
245,105,614
false
null
package io.pixelplex.mobile.cryptoapi.support.future import io.pixelplex.mobile.cryptoapi.model.exception.ApiException import java.util.concurrent.CancellationException import java.util.concurrent.ExecutionException import java.util.concurrent.Semaphore import java.util.concurrent.TimeUnit import java.util.concurrent....
0
Kotlin
0
0
8362c0cd1fed18c67edbb7e98087beae0c023ac7
5,240
cryptoapi-kotlin
MIT License
extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/guard/condition/VariableExistsGuardCondition.kt
holunda-io
213,882,987
false
null
package io.holunda.camunda.bpm.data.guard.condition import io.holunda.camunda.bpm.data.factory.VariableFactory import io.holunda.camunda.bpm.data.guard.GuardViolation import java.util.* /** * Condition to check if the variable exists. * @constructor Creates a condition. * @param variableFactory factory to work on....
21
null
6
31
13b0b6a32519d41222e1dce75456af79b6c4ed33
1,421
camunda-bpm-data
Apache License 2.0
src/main/java/lala/data/models/AbsVote.kt
miguelslemos
112,460,912
false
null
package lala.data.models /** * Created by miguellemos on 30/10/17. */ abstract class AbsVote { abstract fun createVote(candidate: Candidate?): Candidate }
1
null
1
2
31db387ae4557eb55754c6afa986653c79b7c567
162
brazilian-voting-system
Apache License 2.0
compiler/testData/codegen/box/delegation/delegationToIntersectionType.kt
JetBrains
3,432,266
false
{"Kotlin": 79571273, "Java": 6776465, "Swift": 4063829, "C": 2609744, "C++": 1957654, "Objective-C++": 175279, "JavaScript": 130754, "Python": 59855, "Shell": 34920, "Objective-C": 21463, "Lex": 21452, "Batchfile": 11382, "CSS": 11368, "Ruby": 10470, "Dockerfile": 9907, "Groovy": 7092, "EJS": 5241, "CMake": 4473, "HTML...
// FIR_IDENTICAL // DUMP_IR fun <T> select(a: T, b: T) : T = a interface A interface B { fun foo(): String } class C : A, B { override fun foo() = "OK" } class D : A, B { override fun foo() = "FAIL" } fun test(c: C, d: D): String { val intersection = select(c, d) return object: B by intersection ...
181
Kotlin
5771
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
358
kotlin
Apache License 2.0
Projects Manager/Backend/src/main/kotlin/pt/isel/daw/controller/IssueController.kt
LuisGuerraa
242,099,578
false
{"Java": 402166, "JavaScript": 280467, "Kotlin": 195260, "CSS": 94986, "HTML": 4711, "Procfile": 54}
package pt.isel.daw.controller import org.springframework.http.HttpStatus import org.springframework.http.ResponseEntity import org.springframework.web.bind.annotation.* import pt.isel.daw.common.Href import pt.isel.daw.common.MIMEType import pt.isel.daw.controller.representation.input.IssueInputModel import pt.isel.d...
8
Java
1
3
a73ada1f8a133d222577f9d7e004d3458ae4b536
5,009
BscInformaticsWork
Apache License 2.0
Android/dokit/src/main/java/com/didichuxing/doraemonkit/kit/connect/ws/OnWebSocketMessageListener.kt
didi
144,705,602
false
null
package com.didichuxing.doraemonkit.kit.connect.ws /** * didi Create on 2022/4/12 . * * Copyright (c) 2022/4/12 by didiglobal.com. * * @author <a href="<EMAIL>">zhangjun</a> * @version 1.0 * @Date 2022/4/12 12:05 下午 * @Description 用一句话说明文件功能 */ interface OnWebSocketMessageListener { fun onMessage(webSoc...
252
null
3074
20,003
166a1a92c6fd509f6b0ae3e8dd9993f631b05709
365
DoKit
Apache License 2.0
android/apollo/src/main/java/io/muun/apollo/data/preferences/UserPreferencesRepository.kt
muun
150,655,434
false
{"Java": 1903704, "Kotlin": 1487589, "C": 800452, "Go": 673506, "Shell": 4602, "Dockerfile": 2321, "Python": 1557}
package io.muun.apollo.data.preferences import android.content.Context import androidx.annotation.VisibleForTesting import com.fasterxml.jackson.annotation.JsonIgnoreProperties import com.fasterxml.jackson.annotation.JsonInclude import io.muun.apollo.data.preferences.adapter.JsonPreferenceAdapter import io.muun.apollo...
40
Java
46
256
86048fe9f8059c9617f2e6d32e7d41c460dfb785
3,172
apollo
MIT License
jetbrains-core/src/software/aws/toolkits/jetbrains/core/help/HelpIds.kt
vitaliymashkov
220,433,604
true
{"Gradle": 14, "Markdown": 13, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 5, "Batchfile": 1, "EditorConfig": 1, "YAML": 8, "Kotlin": 371, "Java": 22, "XML": 30, "SVG": 22, "INI": 1, "JSON": 27, "CODEOWNERS": 1, "Microsoft Visual Studio Solution": 3, "C#": 75}
// Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.aws.toolkits.jetbrains.core.help enum class HelpIds(shortId: String, val url: String) { EXPLORER_WINDOW( "explorerWindow", "https://docs.aws.amazon.com/console/toolkit...
0
null
0
0
d7fdbffed3c7b7b4dfcf81bfaf0a6bbb81a5debd
1,646
aws-toolkit-jetbrains
Apache License 2.0
app/src/main/java/com/delishstudio/delish/view/activities/CategoryBahanMakananActivity.kt
kaks-ev
737,305,479
false
{"Kotlin": 76229}
package com.delishstudio.delish.view.activities import android.os.Bundle import androidx.appcompat.app.AppCompatActivity import androidx.core.content.ContextCompat import androidx.recyclerview.widget.LinearLayoutManager import androidx.recyclerview.widget.RecyclerView import com.delishstudio.delish.R import com.delish...
0
Kotlin
0
3
a740468b54da1e3fb1fcfedb9a56707b5797a7ec
2,005
Delish
Apache License 2.0
library/src/main/kotlin/com/daniloaraujosilva/mathemagika/library/common/mathematica/functions/Property.kt
Danilo-Araujo-Silva
271,904,885
false
null
package com.daniloaraujosilva.mathemagika.library.common.mathematica.functions import com.daniloaraujosilva.mathemagika.library.common.mathematica.MathematicaFunction /** *```` * * Name: Property * * Full name: System`Property * * Usage: Property[item, name  value] associates the...
2
Kotlin
0
3
4fcf68af14f55b8634132d34f61dae8bb2ee2942
949
mathemagika
Apache License 2.0
notary-plugins/notary-plugin-common/src/main/kotlin/com/r3/corda/notary/plugin/common/PluggableNotaryFlowHelpers.kt
corda
346,070,752
false
null
@file:JvmName("PluggableNotaryFlowHelpers") package com.r3.corda.notary.plugin.common import net.corda.v5.application.crypto.DigestService import net.corda.v5.application.crypto.DigitalSignatureAndMetadata import net.corda.v5.application.crypto.DigitalSignatureVerificationService import net.corda.v5.application.crypt...
71
Kotlin
9
28
fa43ea7a49afb8ed2d1686a6e847c8a02d376f85
6,787
corda-runtime-os
Apache License 2.0
app/src/main/java/nl/amsterdam/openmonumentendag/monuments/presenter/MonumentSearchPresenter.kt
mattking17
149,164,443
false
null
package nl.amsterdam.openmonumentendag.monuments.presenter import io.reactivex.disposables.CompositeDisposable import nl.amsterdam.openmonumentendag.monuments.repository.MonumentSearchDataRepository import nl.amsterdam.openmonumentendag.source.DataSourceSearchQuery class MonumentSearchPresenter(val view: MonumentSear...
0
Kotlin
0
0
fc62ffe5ec1f974481ae6dd4f548006de0f03d1f
984
AmsterdamOpenMonumentenDag2018
MIT License
src/main/kotlin/de/flapdoodle/tab/data/calculation/Calculator.kt
flapdoodle-oss
237,231,857
false
null
package de.flapdoodle.tab.data.calculation import de.flapdoodle.tab.data.Data import de.flapdoodle.tab.data.NodeConnections import de.flapdoodle.tab.data.Nodes import de.flapdoodle.tab.data.calculations.ListMap import de.flapdoodle.tab.data.calculations.VariableMap import de.flapdoodle.tab.data.graph.ColumnGraph impor...
0
Kotlin
0
0
d8154544a5ae9e922b31f7a652bcbc5dd5ee9a65
2,385
tab
Apache License 2.0
app/src/main/java/tool/xfy9326/schedule/io/JSFileManager.kt
XFY9326
325,915,275
false
null
package tool.xfy9326.schedule.io import io.github.xfy9326.atools.base.md5 import io.github.xfy9326.atools.io.okio.copyTo import io.github.xfy9326.atools.io.okio.readText import io.github.xfy9326.atools.io.okio.readTextAsync import io.github.xfy9326.atools.io.serialization.json.readJSONAsync import io.github.xfy9326.at...
1
Kotlin
1
5
8e1fdbf481f19f7c57262d008fd0e550c58bf99f
9,354
Schedule
Apache License 2.0
reposilite-backend/src/main/kotlin/com/reposilite/settings/application/SettingsPlugin.kt
dzikoysk
96,474,388
false
null
/* * Copyright (c) 2022 dzikoysk * * 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...
15
null
85
541
2d116b595c64c6b5a71b694ba6d044c40ef16b6a
2,728
reposilite
Apache License 2.0
billMan/src/main/kotlin/com/weesnerdevelopment/billman/server/BillManProdServer.kt
adamWeesner
239,233,558
false
null
package com.weesnerdevelopment.auth.server import com.codahale.metrics.jmx.JmxReporter import com.weesnerdevelopment.auth.routes import com.weesnerdevelopment.businessRules.* import com.weesnerdevelopment.businessRules.auth.AuthProvider import com.weesnerdevelopment.shared.Paths import com.weesnerdevelopment.shared.ba...
2
Kotlin
1
1
bfb3161173d75ea43acd990e9a024210cd1b87e7
2,704
weesnerDevelopment
MIT License
sample/src/main/java/com/dev/rosty/lepka/sample/injection/screen/ScreenScope.kt
726f737479
112,074,145
false
null
package com.dev.rosty.lepka.sample.injection.screen import javax.inject.Scope @Scope @Retention(AnnotationRetention.RUNTIME) annotation class ScreenScope
0
null
1
4
0e077c0008f09e0429d2a1d60b9e0aa736ac4fc5
157
lepka
Apache License 2.0
ktstocks/src/main/java/com/willor/ktstockdata/historicchartdata/charts/advancedchart/indicators/RSI.kt
willor777
533,096,759
false
null
package com.willor.ktstockdata.historicchartdata.charts.advancedchart.indicators import com.tictactec.ta.lib.MInteger class RSI( val inputData: List<Double>, val window: Int = 14 ) : IndicatorBase() { val size = inputData.size val lastIndex = inputData.lastIndex val values: List<Double> init...
0
Kotlin
0
0
98568bb37867ad2847e1cf2c33a45073cac4a59d
1,178
ktstocks-project
Apache License 2.0
components/src/androidTest/java/emperorfin/android/components/ui/constants/LongConstants.kt
emperorfin
611,222,954
false
null
/** * Copyright 2023 <NAME> (emperorfin) * * 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 agree...
0
null
0
28
58cf34eea5c1c3f26e99b3ed3c8647885cc497d2
1,549
MilitaryJet
Apache License 2.0
materialchecklist/src/main/java/com/dvdb/materialchecklist/recycler/checklist/model/ChecklistRecyclerHolderConfig.kt
DamianvdB
250,746,414
false
null
/* * Designed and developed by <NAME>. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
1
Kotlin
2
14
5edd4a1ab9899759aec81b45d820d42f858c8a0b
1,670
MaterialChecklist
Apache License 2.0
Armadillo/src/main/java/com/scribd/armadillo/extensions/IntExt.kt
scribd
375,130,964
false
null
package com.scribd.armadillo.extensions import java.nio.ByteBuffer internal fun Int.encodeInByteArray(): ByteArray { // Creates a ByteBuffer instance with a 4 bytes capacity(32/8). // If you put more than one integer (or 4 bytes) in the ByteBuffer instance, a java.nio.BufferOverflowException is thrown. re...
2
Kotlin
4
9
6abe7cfce7f06c846ec2120863ecce65a512eb4c
425
armadillo
MIT License
app/src/main/java/org/room76/cryptoobserver/MainActivity.kt
AlexeyZatsepin
118,249,573
false
null
package org.room76.cryptoobserver import android.support.v7.app.AppCompatActivity import android.os.Bundle import android.util.Log import retrofit2.Call import retrofit2.Callback import retrofit2.Response class MainActivity : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { supe...
0
Kotlin
2
4
067198143ade3e18f3df9c1028548852997f1466
406
CryptoObserver
Apache License 2.0
font-awesome/src/commonMain/kotlin/compose/icons/fontawesomeicons/solid/PlayCircle.kt
DevSrSouza
311,134,756
false
null
package compose.icons.fontawesomeicons.solid import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap.Companion.Butt import androidx.compose.ui.graphics.StrokeJoin.Companion....
17
null
25
571
a660e5f3033e3222e3553f5a6e888b7054aed8cd
2,001
compose-icons
MIT License