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
cesium-kotlin/src/jsMain/kotlin/cesium/engine/ShadowMap.kt
karakum-team
393,199,102
false
null
// Automatically generated - do not modify! @file:JsModule("cesium") package cesium /** * <div class="notice"> * Use [Viewer.shadowMap] to get the scene's shadow map. Do not construct this directly. * </div> * * The normalOffset bias pushes the shadows forward slightly, and may be disabled * for applications t...
0
null
8
36
95b065622a9445caf058ad2581f4c91f9e2b0d91
2,195
types-kotlin
Apache License 2.0
fuzzer/fuzzing_output/crashing_tests/verified/overrideAnyWithPrimitive.kt1527669832.kt
ItsLastDay
102,885,402
false
null
import kotlin.reflect.jvm.* import kotlin.test.* interface I { fun foo(): Any } data class A: I { override fun foo(): Int = 0 fun bar(x: Long): Int = x.toInt() } fun Any.box(): String { assertEquals(Integer::class.java, A::foo.returnType.javaType) assertNotEquals(Integer.TYPE, A::foo.returnType.javaType) assertN...
2
Kotlin
1
6
56f50fc307709443bb0c53972d0c239e709ce8f2
560
KotlinFuzzer
MIT License
app/src/main/java/zebrostudio/wallr100/domain/interactor/WallpaperImagesUseCase.kt
abhriyaroy
119,387,578
false
{"Gradle": 19, "Java Properties": 2, "Shell": 1, "Ignore List": 15, "Batchfile": 1, "Markdown": 1, "Proguard": 7, "XML": 126, "Kotlin": 228, "Java": 87, "AIDL": 1, "INI": 3, "C++": 2, "Makefile": 2, "C": 16, "CMake": 1}
package zebrostudio.wallr100.domain.interactor import io.reactivex.Single import zebrostudio.wallr100.domain.WallrRepository import zebrostudio.wallr100.domain.model.images.ImageModel interface WallpaperImagesUseCase { fun exploreImagesSingle(): Single<List<ImageModel>> fun recentImagesSingle(): Single<List<Image...
1
null
1
1
ff76741976c2fe5b68360fc970531124a2ff516b
2,019
WallR2.0
Apache License 2.0
common-extension/src/main/java/ru/boronin/common/extension/core/intent_extension.kt
boronin-serge
242,097,636
false
null
package ru.boronin.common.extension.core import android.content.Intent import android.net.Uri import android.os.Bundle import android.os.Parcelable import java.io.Serializable fun actionViewIntentOf(uri: Uri, vararg pairs: Pair<String, Any?>) = intentOf(*pairs).apply { action = Intent.ACTION_VIEW data = uri } fu...
1
null
1
2
07d177d9e9ded6fdf76e0f43ef4cd455ff0692fd
2,543
simpleweather
MIT License
app/src/main/java/com/tasomaniac/openwith/settings/advanced/features/FeaturesListFragment.kt
tasomaniac
42,516,482
false
null
package com.tasomaniac.openwith.settings.advanced.features import android.content.Context import android.os.Build.VERSION_CODES.M import android.os.Bundle import androidx.annotation.Keep import androidx.annotation.RequiresApi import androidx.preference.Preference import androidx.preference.PreferenceFragmentCompat imp...
42
null
32
352
ae55b1854c5ce4e65b7f1ba85457cd3bff78dcbd
1,640
OpenLinkWith
Apache License 2.0
app/src/main/java/com/jdagnogo/welovemarathon/beach/domain/BeachBar.kt
jdagnogo
424,252,162
false
null
package com.jdagnogo.welovemarathon.beach.domain import androidx.annotation.Keep import com.google.android.gms.maps.model.LatLng import com.google.firebase.firestore.GeoPoint import com.jdagnogo.welovemarathon.R import com.jdagnogo.welovemarathon.common.category.CategoryItem import com.jdagnogo.welovemarathon.common.c...
0
Kotlin
0
0
c604da10657fe937af7492710e71a1872337444b
1,952
WeLoveMArathon
The Unlicense
app/src/main/java/com/ncs/o2/UI/Notifications/NotificationsActivity.kt
arpitmx
647,358,015
false
{"Kotlin": 1430554}
package com.ncs.o2.UI.Notifications import android.content.Intent import android.content.IntentFilter import android.net.ConnectivityManager import android.os.Bundle import android.os.Handler import android.os.Looper import android.util.Log import android.widget.ImageView import androidx.activity.OnBackPressedCallback...
1
Kotlin
2
2
3e92ac9f38735961aab7f415c85c35523d40d1bf
15,031
Oxygen
MIT License
app/src/main/java/ffeltrinelli/textualclock/domain/RandomGenerator.kt
ffeltrinelli
838,364,681
false
{"Kotlin": 15256}
package ffeltrinelli.textualclock.domain import kotlin.random.Random class RandomGenerator(private val random: Random) { fun nextLetter() = random.nextInt('a'.code, 'z'.code + 1).toChar() }
0
Kotlin
0
0
fc64b4d47acec53680bd79a71fa47e993186f26c
196
textual-clock-android
Apache License 2.0
idea/tests/org/jetbrains/kotlin/idea/decompiler/stubBuilder/AbstractClsStubBuilderTest.kt
JakeWharton
99,388,807
false
null
/* * Copyright 2010-2015 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
4
83
4383335168338df9bbbe2a63cb213a68d0858104
3,411
kotlin
Apache License 2.0
domain/src/main/kotlin/domain/versioncheck/VersionCheckUseCase.kt
anirudh8860
144,851,679
false
null
package domain.versioncheck import domain.interactor.SingleDisposableUseCase import io.reactivex.Scheduler import io.reactivex.Single class VersionCheckUseCase( private val appVersion: Long, asyncExecutionScheduler: Scheduler, postExecutionScheduler: Scheduler) : SingleDisposableUseCase<DomainVersionChe...
0
null
0
1
ba8ead38f5bcefc857a6dc9cc344cd030ca5b22d
926
dinger
MIT License
spinnerlibrary/src/main/java/com/sugarya/animateoperator/operator/FlexibleOperator.kt
Sugarya
139,695,344
false
null
package com.sugarya.animateoperator.operator import android.util.TypedValue import android.view.View import android.view.ViewGroup import com.sugarya.animateoperator.base.BaseBuilder import com.sugarya.animateoperator.interfaces.Expandable import com.sugarya.animateoperator.base.BaseOperator import com.sugarya.animate...
1
Java
2
11
354c8106ced7bb32862bb94cb7be200b6a289d2e
3,112
SpinnerLayout
Apache License 2.0
billMan/src/main/kotlin/com/weesnerdevelopment/billman/bill/occurrence/BillOccurrenceHistoryTable.kt
adamWeesner
239,233,558
false
null
package com.weesnerdevelopment.billman.bill.occurrence import org.jetbrains.exposed.sql.ReferenceOption import org.jetbrains.exposed.sql.Table object BillOccurrenceHistoryTable : Table() { val occurrence = reference("occurrence", BillOccurrenceTable, ReferenceOption.CASCADE) // val history = reference("history...
1
Kotlin
1
1
c7962e6ccec3b8b327886a3b35e2e17d16449c34
363
weesnerDevelopment
MIT License
wear/compose/compose-material/benchmark/src/androidTest/java/androidx/wear/compose/material/benchmark/ScalingLazyColumnBenchmark.kt
JetBrains
351,708,598
false
null
/* * Copyright 2021 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
29
null
937
59
3fbd775007164912b34a1d59a923ad3387028b97
7,559
androidx
Apache License 2.0
compose-annotation-processor/src/main/java/com/compose/type_safe_args/compose_annotation_processor/ComposeDestinationVisitor.kt
dilrajsingh1997
430,086,432
false
null
package com.compose.type_safe_args.compose_annotation_processor import com.google.devtools.ksp.processing.KSPLogger import com.google.devtools.ksp.processing.Resolver import com.google.devtools.ksp.symbol.ClassKind import com.google.devtools.ksp.symbol.KSClassDeclaration import com.google.devtools.ksp.symbol.KSPropert...
1
null
4
22
35bbcbf5bdfd86af527c5ce363b93282fc3c5aab
14,611
safe-compose-args
MIT License
ssl/src/jvmMain/kotlin/pw/binom/crypto/Sha256MessageDigest.kt
caffeine-mgn
182,165,415
false
{"C": 13079003, "Kotlin": 1913743, "C++": 200, "Shell": 88}
package pw.binom.crypto import pw.binom.io.MessageDigest import java.security.MessageDigest as JMessageDigest actual class Sha256MessageDigest : MessageDigest, AbstractJavaMessageDigest() { override val messageDigest = JMessageDigest.getInstance("SHA-256")!! }
7
C
2
59
580ff27a233a1384273ef15ea6c63028dc41dc01
266
pw.binom.io
Apache License 2.0
app/src/main/java/my/id/andraaa/dstory/stories/presentor/auth/signin/SignInActivity.kt
andraantariksa
592,246,390
false
null
package my.id.andraaa.dstory.stories.presentor.auth.signin import android.content.Intent import android.os.Bundle import androidx.appcompat.app.AppCompatActivity import androidx.core.widget.doOnTextChanged import androidx.lifecycle.lifecycleScope import kotlinx.coroutines.flow.collectLatest import kotlinx.coroutines.l...
0
Kotlin
0
0
bc9cc47f11556c9c429161bf2ea715b546afc216
3,922
dicoding-a352-dstory
MIT License
codeview/src/main/java/io/github/kbiakov/codeview/views/LineDiffView.kt
FabianTerhorst
69,113,444
false
null
package com.github.codedex.codeview.views import android.content.Context import android.support.v4.content.ContextCompat import android.view.LayoutInflater import android.widget.RelativeLayout import android.widget.TextView import com.github.codedex.codeview.R import com.github.codedex.codeview.highlight.MonoFontCache...
1
null
1
3
bf67bb11f12dd0f2e5f023ed8ff4cfc30e1b405b
1,948
codeview-android
MIT License
common/task-poc/src/main/kotlin/cz/kotox/common/task/poc/data/impl/remote/api/TaskApi.kt
kotoMJ
575,403,398
false
{"Kotlin": 426806, "Shell": 697}
package cz.kotox.common.task.poc.data.impl.remote.api import cz.kotox.common.task.poc.data.impl.remote.dto.TaskDTO import retrofit2.http.GET private const val ALL_TASKS_DOCUMENT = "86329e68087a3d2bca54" interface TaskApi { @GET(ALL_TASKS_DOCUMENT) suspend fun getAllTasks(): List<TaskDTO> }
0
Kotlin
0
0
fc8e7c36ec7c90becab482304b8e2c9049532ff6
303
kotox-android
MIT License
app/src/main/java/ppapps/cropreceiptdemo/opencv/OpenCVUtils.kt
hoangphuc3117
112,906,669
false
null
package ppapps.cropreceiptdemo.opencv import android.graphics.Bitmap import android.graphics.Matrix import android.graphics.PointF import android.graphics.RectF import org.opencv.android.Utils import org.opencv.core.* import org.opencv.imgproc.Imgproc import org.opencv.utils.Converters import ppapps.cropreceiptdemo.cr...
3
null
8
14
9147803ba4aa4f146280cccd1a4a7db69ddd3b62
20,067
Android-auto-detect-receipt-corners-and-crop-image
Apache License 2.0
kotlin-mui-icons/src/main/generated/mui/icons/material/TimeToLeaveTwoTone.kt
JetBrains
93,250,841
false
null
// Automatically generated - do not modify! @file:JsModule("@mui/icons-material/TimeToLeaveTwoTone") @file:JsNonModule package mui.icons.material @JsName("default") external val TimeToLeaveTwoTone: SvgIconComponent
10
Kotlin
5
983
7ef1028ba3e0982dc93edcdfa6ee1edb334ddf35
218
kotlin-wrappers
Apache License 2.0
src/main/kotlin/cn/sabercon/realworld/user/UserModels.kt
sabercon
625,280,409
false
null
package cn.sabercon.realworld.user data class LoginRequest(val user: User) { data class User(val email: String, val password: String) } data class RegisterRequest(val user: User) { data class User( val username: String, val email: String, val password: String, ) } data class UserU...
1
Kotlin
0
2
06d4e3b08b2ae2c3ed135a2ca1e54198c786d1ec
1,463
realworld-spring-exposed
MIT License
kontrol/src/iosMain/kotlin/io/chopyourbrain/kontrol/network/NetworkViewController.kt
chopyourbrain
403,580,882
false
{"Kotlin": 105952}
package io.chopyourbrain.kontrol.network import io.chopyourbrain.kontrol.* import io.chopyourbrain.kontrol.ktor.NetCall import io.chopyourbrain.kontrol.network.detail.NetworkDetailViewController import io.chopyourbrain.kontrol.repository.getCallsList import kotlinx.cinterop.ExportObjCClass import kotlinx.cinterop.ObjC...
0
Kotlin
5
41
96596f0cdba6b7db1da84d20f0fc968b7e7c3472
4,624
kontrol
MIT License
completable-reactor-runtime/src/main/kotlin/ru/fix/completable/reactor/runtime/execution/HandleByExecutionBuilder.kt
ru-fix
81,559,336
false
null
package ru.fix.completable.reactor.runtime.execution import mu.KotlinLogging import ru.fix.completable.reactor.graph.runtime.RuntimeVertex import ru.fix.completable.reactor.runtime.ProfilerIdentity import ru.fix.completable.reactor.runtime.execution.ExecutionBuilder.Companion.INVALID_TRANSITION_PAYLOAD_CONTEXT import ...
16
null
2
14
69aa01c9d2d046a195f609e703a3c554795d9c8d
9,026
completable-reactor
MIT License
vector/src/main/java/im/vector/app/features/MainActivity.kt
FaradayApp
732,727,396
false
{"Kotlin": 15889711, "Java": 250183, "Shell": 102807, "HTML": 28529, "Python": 25379, "FreeMarker": 7662, "JavaScript": 7070, "Ruby": 3420, "Gherkin": 58}
/* * Copyright 2019 New Vector Ltd * * 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
2
0
d765bc66c3dc1ee2ab2e54f3d1f7bc09896b3708
17,290
Faraday-android
Apache License 2.0
app/src/main/java/com/briggin/coroutineplayground/view/PlaygroundActivity.kt
bRiggin
340,968,559
false
null
package com.briggin.coroutineplayground.view import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import com.briggin.coroutineplayground.R import kotlinx.android.synthetic.main.activity_main.* class PlaygroundActivity : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) ...
0
Kotlin
0
0
524494d5a4853ee8d50b210e4457831edbcca669
636
android-coroutine-playground
Apache License 2.0
reposilite-backend/src/main/kotlin/com/reposilite/shared/extensions/CdnExtensions.kt
dzikoysk
96,474,388
false
null
package com.reposilite.shared.extensions import com.reposilite.web.http.ErrorResponse import io.javalin.http.HttpCode.BAD_REQUEST import net.dzikoysk.cdn.Cdn import net.dzikoysk.cdn.KCdnFactory import net.dzikoysk.cdn.source.Source import panda.std.Result import panda.std.asError import panda.std.asSuccess fun String...
27
Kotlin
69
446
aed196d872c427b01951d07be0381b389e8fa0b5
1,025
reposilite
Apache License 2.0
kotest-framework/kotest-framework-engine/src/commonMain/kotlin/io/kotest/engine/test/extensions/TestExecutionExtension.kt
rgmz
398,368,607
true
{"Kotlin": 3044586, "CSS": 352, "Java": 145}
package io.kotest.engine.test.extensions import io.kotest.core.test.TestCase import io.kotest.core.test.TestContext import io.kotest.core.test.TestResult internal interface TestExecutionExtension { suspend fun shouldApply(testCase: TestCase): Boolean = true suspend fun execute( test: suspend (TestCase, ...
0
null
0
0
7303265bdca3baccac68baba49fc9681ff1b18f0
401
kotest
Apache License 2.0
gi/src/commonMain/kotlin/org/anime_game_servers/multi_proto/gi/data/player/OpenStateUpdateNotify.kt
Anime-Game-Servers
642,871,918
false
{"Kotlin": 1651536}
package data.player import org.anime_game_servers.core.base.annotations.AddedIn import org.anime_game_servers.core.base.Version import org.anime_game_servers.core.base.annotations.proto.CommandType import org.anime_game_servers.core.base.annotations.proto.ProtoCommand @AddedIn(Version.GI_CB2) @ProtoCommand(CommandTy...
1
Kotlin
3
6
b342ff34dfb0f168a902498b53682c315c40d44e
412
anime-game-multi-proto
MIT License
src/main/kotlin/dev/crashteam/keanalytics/client/freekassa/FreeKassaClient.kt
crashteamdev
643,974,955
false
null
package dev.crashteam.keanalytics.client.freekassa import com.fasterxml.jackson.databind.ObjectMapper import dev.crashteam.keanalytics.client.freekassa.model.FreeKassaPaymentRequestParams import dev.crashteam.keanalytics.client.freekassa.model.PaymentFormRequestParams import dev.crashteam.keanalytics.client.freekassa....
1
Kotlin
0
0
f9b08de7955e840842067a536c06f7b81687a353
3,329
ke-analytics
Apache License 2.0
core/domain/src/main/java/com/mayuresh/domain/usecase/GetCountriesDetailsUseCase.kt
mayureshps21
700,256,778
false
{"Kotlin": 215560}
package com.mayuresh.domain.usecase import com.mayuresh.data.dto.CountryDto import com.mayuresh.data.model.CountryDetailsModel import com.mayuresh.data.repository.CountryDetailsRepository import com.mayuresh.data.util.AppConstants import com.mayuresh.domain.mapper.CountryDetailsMapper import com.mayuresh.domain.util.R...
0
Kotlin
0
0
c591e755636dde08108874ef69dfc6776b595a96
1,569
EuropeanCountriesSample
Apache License 2.0
MomentumAndroid/src/main/java/com/mwaibanda/momentum/android/presentation/sermon/PlayerScreen.kt
MwaiBanda
509,266,324
false
{"Kotlin": 498123, "Swift": 282045, "Ruby": 2617}
package com.mwaibanda.momentum.android.presentation.sermon import android.content.pm.ActivityInfo import android.graphics.Rect import android.net.Uri import android.util.Log import android.view.ViewGroup import android.widget.FrameLayout import androidx.appcompat.app.AppCompatDelegate import androidx.compose.animation...
0
Kotlin
4
36
dde77f0319ec4dd5d473e2957264458de9a0197c
23,186
Momentum
MIT License
Highlights/src/androidMain/kotlin/pl/tkadziolka/highlights/extension/NumberExtensions.kt
SnippLog
389,388,771
false
null
package pl.tkadziolka.highlights.extension import android.graphics.Color internal val maxAlpha get() = 255 internal val Int.red get() = Color.red(this) internal val Int.green get() = Color.green(this) internal val Int.blue get() = Color.blue(this) internal val Int.rgb get() = Color.rgb(red, green, blue) internal...
0
Kotlin
0
0
e1611b53e68d59b9c56767717b0721d2ce27df1d
387
Highlights
MIT License
src/main/kotlin/pl/exbook/exbook/util/retrofit/RetrofitService.kt
Ejden
339,380,956
false
null
package pl.exbook.exbook.util.retrofit @Target(AnnotationTarget.CLASS) @Retention(AnnotationRetention.RUNTIME) annotation class RetrofitService(val serviceName: String)
1
Kotlin
0
1
102b50decb94605e7a085619d585a4135e25ad2a
170
exbook-backend
The Unlicense
src/main/kotlin/org/movietime/webapp/MovieApp.kt
kapil-kr
284,861,026
false
null
package org.movietime.webapp import org.movietime.webapp.resources.MovieResource import javax.ws.rs.ApplicationPath import javax.ws.rs.core.Application @ApplicationPath("/") open class MovieApp: Application() { override fun getClasses(): Set<Class<*>> { // for more detailed resources, use classgraph ...
0
Kotlin
0
0
1c94e5440544bfcdf44640f94905fff1bf164e55
371
RestEasy-Undertow-Kotlin-Multiproj
Apache License 2.0
build-logic/convention/src/main/java/MadifiersLibraryConventionPlugin.kt
MadFlasheroo7
662,162,501
false
null
import com.android.build.api.dsl.LibraryExtension import org.gradle.api.Plugin import org.gradle.api.Project import org.gradle.kotlin.dsl.configure import org.gradle.kotlin.dsl.dependencies import pro.jayeshseth.madifiers.convention.configureAndroidCompose import pro.jayeshseth.madifiers.convention.configureKotlinAndro...
0
null
0
18
68b1c2c0bb32dd0d52a3b228e50b7b12255fca54
1,213
Madifiers
Apache License 2.0
app/src/main/java/com/igor/composebasics/ui/screens/PicturesSearchScreen.kt
igorpk10
677,765,066
false
null
package com.igor.composebasics.ui.screens import android.annotation.SuppressLint import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.foundation.layout.height import androidx.compose.foundat...
0
Kotlin
0
0
29edf0c682bcd89672a87023e48e9ab833695303
2,996
compose-simple-project
Apache License 2.0
app/src/main/java/com/luuu/seven/module/update/ComicUpdateFragment.kt
oteher
288,484,684
false
{"Kotlin": 223873}
package com.luuu.seven.module.update import android.os.Bundle import android.support.v7.widget.GridLayoutManager import android.support.v7.widget.RecyclerView import com.luuu.seven.R import com.luuu.seven.adapter.ComicUpdateAdapter import com.luuu.seven.base.BaseFragment import com.luuu.seven.bean.ComicUpdateBean impo...
0
null
0
0
56d8fc35e2cd2281e9b96806f0d35d9e0c02f3e1
4,392
Seven
MIT License
processors/src/main/kotlin/com/alecarnevale/claymore/visitors/Visitor.kt
alecarnevale
559,250,665
false
{"Kotlin": 92000}
package com.alecarnevale.claymore.visitors import com.google.devtools.ksp.processing.CodeGenerator import com.google.devtools.ksp.processing.KSPLogger import com.google.devtools.ksp.processing.Resolver import com.google.devtools.ksp.symbol.KSClassDeclaration import com.google.devtools.ksp.symbol.KSType import com.goog...
1
Kotlin
0
5
fedfc34d5d114fff7f3f5063906caf70ea419137
3,095
claymore
Apache License 2.0
app/src/main/java/com/example/pokedek/presentasion/fragment/item/ItemDetailFragment.kt
Alstonargodi
442,473,206
false
null
package com.example.pokedek.presentasion.fragment.item import android.os.Bundle import androidx.fragment.app.Fragment import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.core.content.ContextCompat import com.bumptech.glide.Glide import com.example.pokedek.R import ...
0
Kotlin
0
0
a548138a792ff8d4954328553f3100f28fec6525
1,454
Pokedex
Apache License 2.0
core/src/main/java/id/sansets/infood/core/di/CoreDatabaseModule.kt
sansets
294,803,938
false
null
package id.sansets.infood.core.di import android.content.Context import androidx.room.Room import dagger.Module import dagger.Provides import id.sansets.infood.core.data.source.local.room.RecipeDao import id.sansets.infood.core.data.source.local.room.FoodCategoryDao import id.sansets.infood.core.data.source.local.room...
0
Kotlin
12
98
7ce8bafa0ea25d7ac6da58abb183c383a2eebae9
869
android-clean-architecture
Apache License 2.0
app/src/test/java/com/triviagenai/triviagen/options/OptionsViewModelTest.kt
sidcgithub
793,551,165
false
{"Kotlin": 75478}
package com.triviagenai.triviagen.options import com.triviagenai.triviagen.options.domain.usecase.GetDarkmodePreferenceUseCase import com.triviagenai.triviagen.options.domain.usecase.SetDarkmodePreferenceUseCase import com.triviagenai.triviagen.options.presentation.options.OptionsViewModel import junit.framework.TestC...
3
Kotlin
1
2
337d72b00a5ed6f022d91d13cb12d3d9122296b7
2,400
ai-trivia-app-android
MIT License
api/src/test/kotlin/com/krwordcloud/api/KrwordcloudApplicationTests.kt
hoongeun
332,092,255
false
{"Python": 62731, "TypeScript": 17448, "Kotlin": 12077, "Shell": 6855, "Smarty": 3311, "HTML": 1721, "CSS": 1064, "Dockerfile": 497, "JavaScript": 337}
package com.krwordcloud.api import org.junit.jupiter.api.Test import org.springframework.boot.test.context.SpringBootTest @SpringBootTest class KrwordcloudApplicationTests { @Test fun contextLoads() { } }
0
Python
1
0
01016f94f86ba4a9d1ea668210a65689a0983641
212
krwordcloud
Beerware License
android/quest/src/main/java/org/smartregister/fhircore/quest/util/extensions/ConfigExtensions.kt
opensrp
339,242,809
false
null
/* * Copyright 2021-2023 Ona Systems, Inc * * 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 o...
191
null
38
50
804cf101f47b08f947709509996e8cf8e6f4fc64
6,221
fhircore
Apache License 2.0
vertx-lang-kotlin/src/main/kotlin/io/vertx/kotlin/ext/stomp/StompServerHandler.kt
Sammers21
142,990,532
true
{"Kotlin": 1088656, "Java": 878672, "JavaScript": 76098, "Groovy": 22654, "Ruby": 14717, "FreeMarker": 254}
package io.vertx.kotlin.ext.stomp import io.vertx.ext.stomp.Acknowledgement import io.vertx.ext.stomp.ServerFrame import io.vertx.ext.stomp.StompServerConnection import io.vertx.ext.stomp.StompServerHandler import io.vertx.kotlin.coroutines.awaitEvent import io.vertx.kotlin.coroutines.awaitResult /** * Configures a ...
0
Kotlin
0
0
bdf349e87e39aeec85cfbd1a53bae3cb3e420c55
8,796
vertx-stack-generation
Apache License 2.0
packet/src/test/java/dev/keiji/openpgp/packet/publickey/PublicKeyEcdhTest.kt
keiji
591,966,950
false
null
package dev.keiji.openpgp.packet.publickey import dev.keiji.openpgp.* import org.junit.jupiter.api.Assertions.assertEquals import org.junit.jupiter.api.Assertions.assertTrue import org.junit.jupiter.api.Test import java.io.ByteArrayInputStream import java.io.ByteArrayOutputStream class PublicKeyEcdhTest { compan...
2
Kotlin
0
0
92cad92ef3afea6b5f19365d671e141897e34305
1,729
openpgp
Apache License 2.0
app/src/main/java/com/madebyratik/mincast/data/PodcastsRepo.kt
libhide
308,572,210
false
null
package com.madebyratik.mincast.data import com.madebyratik.mincast.model.Episode import com.madebyratik.mincast.model.Podcast interface PodcastsRepo { fun getPopularPodcasts(): List<Podcast> fun getRecommendedEpisodes(): List<Episode> }
0
Kotlin
0
0
6f933b453833f4046b3bd950b99b5218300a787c
247
mincast
MIT License
libs/db/db-core/src/test/kotlin/net/corda/db/core/utils/BatchPersistenceServiceImplTest.kt
corda
346,070,752
false
{"Kotlin": 20585393, "Java": 308202, "Smarty": 115357, "Shell": 54409, "Groovy": 30246, "PowerShell": 6470, "TypeScript": 5826, "Solidity": 2024, "Batchfile": 244}
package net.corda.db.core.utils import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.BeforeEach import org.junit.jupiter.api.Test import org.mockito.Mockito.any import org.mockito.Mockito.mock import org.mockito.Mockito.never import org.mockito.Mockito.times import org.mockito.kotlin.inOrder ...
14
Kotlin
27
69
0766222eb6284c01ba321633e12b70f1a93ca04e
9,175
corda-runtime-os
Apache License 2.0
lib/src/test/kotlin/com/vinted/automerger/testutils/RepoExtension.kt
jenkinsci
189,257,621
false
null
package com.vinted.automerger.testutils import org.eclipse.jgit.api.Git import org.junit.jupiter.api.extension.AfterEachCallback import org.junit.jupiter.api.extension.BeforeEachCallback import org.junit.jupiter.api.extension.ExtensionContext import java.io.File open class RepoExtension : BeforeEachCallback, AfterEac...
1
Kotlin
4
3
ee00ce245c70bc4919c887b37f476b33157cce76
1,050
git-automerger-plugin
MIT License
src/test/kotlin/com/ginsberg/advent2022/Day17Test.kt
tginsberg
568,158,721
false
{"Kotlin": 113322}
/* * Copyright (c) 2022 by <NAME> */ package com.ginsberg.advent2022 import com.ginsberg.advent2022.Resources.resourceAsString import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.DisplayName import org.junit.jupiter.api.Nested import org.junit.jupiter.api.Test @DisplayName("Day 17") clas...
0
Kotlin
2
26
2cd87bdb95b431e2c358ffaac65b472ab756515e
1,422
advent-2022-kotlin
Apache License 2.0
app/src/main/java/com/victor/clips/data/FollowItem.kt
Victor2018
152,215,979
false
null
package com.victor.clips.data /* * ----------------------------------------------------------------- * Copyright (C) 2018-2028, by Victor, All rights reserved. * ----------------------------------------------------------------- * File: FollowItem.java * Author: Victor * Date: 2019/11/1 9:55 * Description: * --...
0
Kotlin
13
45
ebd31401c63ec5641e69427bd25e41c60f0fa9fd
543
FunnyClips
Apache License 2.0
technology/kotlin-quarkus/src/main/kotlin/org/acme/kotlin/schooltimetabling/domain/Lesson.kt
TimefoldAI
630,933,034
false
null
package org.acme.kotlin.schooltimetabling.domain import ai.timefold.solver.core.api.domain.entity.PlanningEntity import ai.timefold.solver.core.api.domain.lookup.PlanningId import ai.timefold.solver.core.api.domain.variable.PlanningVariable import com.fasterxml.jackson.annotation.JsonIdentityReference @PlanningEntit...
13
null
31
97
1821ce36d4605d3b70280920ed99134c7f2e69cd
1,262
timefold-quickstarts
Apache License 2.0
generator/bin/src/main/kotlin/com/laidpack/sourcerer/generator/flow/setter/BaseSetterHandler.kt
dpnolte
151,090,095
false
null
package com.laidpack.sourcerer.generator.flow.setter import com.github.javaparser.ast.Node import com.laidpack.sourcerer.generator.flow.BaseHandler import kotlin.reflect.KClass abstract class BaseSetterHandler<T : Node>(protected val flow: SetterFlow, targetType: KClass<T>) : BaseHandler<T>(targetType) { }
8
Kotlin
1
0
9513bbc54768e9248c450b0aba125b433c447e68
314
sourcerer
Apache License 2.0
lib/src/main/kotlin/com/prosumma/di/Registration.kt
Prosumma
403,770,130
false
{"Kotlin": 30615}
package com.prosumma.di internal sealed class Registration<T>
0
Kotlin
0
0
dea409388efdee393eb07db8e97234e1a2e2be73
62
KoDI
MIT License
coroutine_cachepro/src/main/java/com/pv_libs/coroutine_cachepro/ApiResult.kt
pv-libs
262,783,333
false
null
package com.pv_libs.coroutine_cachepro sealed class ApiResult<out T> { data class Success<T>(val data: T) : ApiResult<T>() class Error(val exception: Exception) : ApiResult<Nothing>() }
0
Kotlin
0
1
8f58ca190302806540c00bb44eff48ec914798ee
195
CoroutineCachePro
MIT License
Core/src/main/kotlin/pw/kmp/gamelet/map/repository/LocalMapRepository.kt
kailan
82,181,368
false
{"Kotlin": 37819}
package pw.kmp.gamelet.map.repository import java.io.File /** * A repository of maps in a local folder. */ open class LocalMapRepository(val directory: File) : MapRepository { /** * Ensure that the folder exists. */ override fun setup() { if (!directory.exists()) { directory.m...
0
Kotlin
0
0
91fcd588aebbefbe62bd543c5ea5661d1323d5dd
497
Gamelet
MIT License
lib/src/main/kotlin/com/lemonappdev/konsist/api/ext/list/KoTestClassProviderListExt.kt
LemonAppDev
621,181,534
false
{"Kotlin": 4854719, "Python": 17926}
package com.lemonappdev.konsist.api.ext.list import com.lemonappdev.konsist.api.declaration.KoBaseDeclaration import com.lemonappdev.konsist.api.declaration.KoClassDeclaration import com.lemonappdev.konsist.api.provider.KoTestClassProvider /** * List containing test classes. * * @param testPropertyName the test pr...
5
Kotlin
26
995
603d19e179f59445c5f4707c1528a438e4595136
3,910
konsist
Apache License 2.0
lightweightlibrary/src/main/java/com/tradingview/lightweightcharts/api/series/models/PriceFormat.kt
tradingview
284,986,398
false
null
package com.tradingview.lightweightcharts.api.series.models import com.google.gson.annotations.SerializedName data class PriceFormat( val formatter: String? = null, val type: Type? = null, val precision: Int? = null, val minMove: Float? = null ) { enum class Type { @SerializedName("price"...
25
null
27
86
08c3dbda653a1d5f78f7c5d47c990c7f9887d9e4
897
lightweight-charts-android
Apache License 2.0
lib/src/main/kotlin/be/zvz/klover/tools/io/EmptyInputStream.kt
organization
673,130,266
false
null
package be.zvz.klover.tools.io import java.io.InputStream /** * Represents an empty input stream. */ class EmptyInputStream : InputStream() { override fun available(): Int { return 0 } override fun read(): Int { return -1 } companion object { val INSTANCE = EmptyInputSt...
1
Kotlin
0
2
06e801808933ff8c627543d579c4be00061eb305
335
Klover
Apache License 2.0
testlibrary/src/main/java/com/hyperdimension/testlibrary/MyEditText.kt
Guille88C
213,553,455
false
{"Kotlin": 3887}
package com.hyperdimension.testlibrary import android.content.Context import android.util.AttributeSet import androidx.appcompat.widget.AppCompatEditText class MyEditText : AppCompatEditText { constructor(context: Context) : super(context) constructor(context: Context, attrs: AttributeSet?) : super(context,...
0
Kotlin
0
0
d1918dbc9c3a58e7b99d24fbff6223f4eca4f380
474
AndroidTestLibrary
Apache License 2.0
app/src/main/java/com/example/newsapp/domain/usecases/InsertArticleUseCase.kt
milosursulovic
577,638,138
false
{"Kotlin": 29536}
package com.example.newsapp.domain.usecases import com.example.newsapp.data.api.models.Article import com.example.newsapp.domain.repository.NewsRepository class InsertArticleUseCase( private val repository: NewsRepository ) { suspend operator fun invoke(article: Article) { repository.insertArticle(art...
0
Kotlin
0
0
8f099dd0a4aab91879303caa85838de3f4676874
333
news-app
MIT License
feature_workdetail/src/main/java/com/andtv/flicknplay/workdetail/domain/GetWorkDetailsUseCase.kt
procoder1128
553,094,605
false
null
/* * Copyright (C) 2021 Flicknplay * * 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 w...
0
Kotlin
1
4
45d661d6b872c13b6a1235bbb9a44c91740d3f9d
3,366
blockchain
Apache License 2.0
platform/collaboration-tools/src/com/intellij/collaboration/ui/codereview/timeline/comment/CommentInputComponentFactory.kt
JetBrains
2,489,216
false
null
// Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. package com.intellij.collaboration.ui.codereview.timeline.comment import com.intellij.collaboration.ui.SingleValueModel import com.intellij.collaboration.ui.codereview.InlineIconButton import com.in...
191
null
4372
13,319
4d19d247824d8005662f7bd0c03f88ae81d5364b
9,884
intellij-community
Apache License 2.0
arrow-libs/fx/arrow-fx-coroutines/src/test/kotlin/arrow/fx/coroutines/stream/Counter.kt
clojj
343,913,289
true
{"Kotlin": 6274993, "SCSS": 78040, "JavaScript": 77812, "HTML": 21200, "Scala": 8073, "Shell": 2474, "Ruby": 83}
package arrow.fx.coroutines.stream import arrow.fx.coroutines.Atomic class Counter private constructor(private val atomic: Atomic<Int>) { suspend fun increment(): Unit = atomic.update(Int::inc) suspend fun decrement(): Unit = atomic.update(Int::dec) suspend fun count(): Int = atomic.get() comp...
0
null
0
0
5eae605bbaeb2b911f69a5bccf3fa45c42578416
411
arrow
Apache License 2.0
src/main/kotlin/no/nav/syfo/consumer/PdlConsumer.kt
navikt
303,972,532
false
null
package no.nav.syfo.consumer import com.fasterxml.jackson.databind.DeserializationFeature import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule import com.fasterxml.jackson.module.kotlin.registerKotlinModule import io.ktor.client.* import io.ktor.client.call.* import io.ktor.client.engine.cio.* import io.ktor.cl...
1
Kotlin
0
0
60f1af7bc7582eb1d7531172179b0831581440d7
4,210
esyfovarsel
MIT License
compiler/testData/codegen/box/functions/bigArity/callFunViaVararg.kt
JetBrains
3,432,266
false
null
// !LANGUAGE: +FunctionTypesWithBigArity // WITH_STDLIB // TARGET_BACKEND: JVM // FILE: J.java // import kotlin.jvm.functions.Arity; import kotlin.jvm.functions.FunctionN; import kotlin.Unit; import java.util.Arrays; public class J { // TODO: uncomment arity as soon as Arity is introduced public static void t...
181
null
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
2,631
kotlin
Apache License 2.0
app-elgoog/src/main/kotlin/dev/bogdanzurac/marp/app/elgoog/core/feature/FirebaseFeatureManager.kt
bogdanzurac
606,411,511
false
null
package dev.bogdanzurac.marp.app.elgoog.core.feature import com.google.firebase.ktx.Firebase import com.google.firebase.remoteconfig.FirebaseRemoteConfig import com.google.firebase.remoteconfig.ktx.remoteConfig import com.google.firebase.remoteconfig.ktx.remoteConfigSettings import dev.bogdanzurac.marp.core.feature.Fe...
0
null
0
1
9cc815c57d7b3948a5a20f12883dc4dbee7fc4b3
1,970
marp-app-client-android
Apache License 2.0
korge-core/src/korlibs/image/color/RGB.kt
korlibs
80,095,683
false
null
package korlibs.image.color import korlibs.memory.extract8 import korlibs.memory.insert8 open class RGB(val rOffset: Int, val gOffset: Int, val bOffset: Int) : ColorFormat24() { override fun getR(v: Int): Int = v.extract8(rOffset) override fun getG(v: Int): Int = v.extract8(gOffset) override fun getB(v: Int): Int ...
444
null
121
2,207
dc3d2080c6b956d4c06f4bfa90a6c831dbaa983a
627
korge
Apache License 2.0
openapi-processor-core/src/test/kotlin/io/openapiprocessor/core/converter/OptionsConverterSpec.kt
openapi-processor
547,758,502
false
{"Kotlin": 867607, "Groovy": 171700, "Java": 118943, "ANTLR": 2598, "TypeScript": 1166, "Just": 263}
/* * Copyright 2021 https://github.com/openapi-processor/openapi-processor-core * PDX-License-Identifier: Apache-2.0 */ package io.openapiprocessor.core.converter import io.kotest.core.spec.style.StringSpec import io.kotest.matchers.booleans.shouldBeFalse import io.kotest.matchers.booleans.shouldBeTrue import io.k...
10
Kotlin
3
2
5e97065608791bbb5846f752f221a0bfa30be92f
5,517
openapi-processor-base
Apache License 2.0
app/src/main/java/id/ac/undip/ce/student/muhammadrizqi/footballclub/model/Team.kt
muhrizky
148,885,798
false
null
package id.ac.undip.ce.student.muhammadrizqi.footballclub.model import com.google.gson.annotations.SerializedName data class Team ( @SerializedName("idTeam") var teamId : String? = null, @SerializedName("strTeam") var teamName: String? = null, @SerializedName("StrTeamBadge") var teamBadge: S...
1
null
1
1
ff86b9ab61befd68b567f7cdfdbaf904d82b54f2
567
FootballClub-Latihan
MIT License
compiler/frontend/src/org/jetbrains/jet/lang/psi/userDataUtil.kt
chashnikov
14,658,474
true
{"Java": 14526655, "Kotlin": 6831811, "JavaScript": 897073, "Groovy": 43935, "CSS": 14421, "Shell": 9248}
/* * Copyright 2010-2014 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
Java
1
1
88a261234860ff0014e3c2dd8e64072c685d442d
1,063
kotlin
Apache License 2.0
src/lib/kotlin/slatekit-tests/src/test/kotlin/test/common/ArgsTests.kt
ColleenKeegan
174,519,919
false
{"Text": 22, "Ignore List": 25, "YAML": 1, "Markdown": 20, "Gradle": 44, "Shell": 27, "Batchfile": 27, "Java Properties": 17, "Kotlin": 690, "INI": 2, "Java": 4, "SQL": 1, "XML": 5, "HTML": 1, "CSS": 1, "JavaScript": 1, "Swift": 3}
/** <slate_header> url: www.slatekit.com git: www.github.com/code-helix/slatekit org: www.codehelix.co author: Kishore Reddy copyright: 2016 CodeHelix Solutions Inc. license: refer to website and/or github about: A Kotlin utility library, tool-kit and server backend. mantra: Simplicity above all else </slate_header> *...
1
null
1
1
bd1d55f2191f729149e901be102c22d7c719793d
7,468
slatekit
Apache License 2.0
backend/api/src/main/kotlin/io/tolgee/api/v2/controllers/suggestion/TranslationSuggestionController.kt
tolgee
303,766,501
false
null
package io.tolgee.api.v2.controllers.suggestion import io.swagger.v3.oas.annotations.Operation import io.swagger.v3.oas.annotations.tags.Tag import io.tolgee.api.v2.hateoas.invitation.TranslationMemoryItemModelAssembler import io.tolgee.constants.Message import io.tolgee.dtos.request.SuggestRequestDto import io.tolgee...
170
null
96
1,837
6e01eec3a19c151a6e0aca49e187e2d0deef3082
5,050
tolgee-platform
Apache License 2.0
app/src/main/java/com/realikea/weatherforecast/network/AirQuality.kt
iamrealikea
678,456,521
false
{"Kotlin": 106982}
package com.realikea.weatherforecast.network import com.squareup.moshi.Json data class AirQuality( @field:Json(name = "co") val co: Double, val no2: Double, val o3: Double, val pm10: Double, val pm2_5: Double, val so2: Double, //val usepaindex: Int )
0
Kotlin
0
1
c39bea4492864f51b791aee2bdba90bc0df32259
284
Weather_Forecast_Application
Apache License 2.0
app/src/main/java/com/blinkist/easylibrary/di/DatabaseInjection.kt
dungdung13
215,445,852
true
{"Kotlin": 38853}
package com.blinkist.easylibrary.di import android.content.Context import androidx.room.Room import com.blinkist.easylibrary.data.EasyLibraryDatabase import dagger.Module import dagger.Provides import javax.inject.Singleton @Module(includes = [DaoModule::class]) object DatabaseModule { @JvmStatic @Provides @Single...
0
null
0
0
f3e8c4b6c4f2a8022633490bea80338044b7edd1
618
easy-library
Apache License 2.0
core/src/main/java/rs/rocketbyte/wifisilencer/core/usecase/dnd/DndUseCase.kt
izpakla
584,018,000
false
null
package rs.rocketbyte.wifisilencer.core.usecase.dnd interface DndUseCase { fun isDndPermissionGranted(): Boolean }
0
Kotlin
0
0
4d75212f2ee904f1e0e6be7623179dd78351e2e1
119
wifi-silencer
Apache License 2.0
threejs_kt/src/main/kotlin/three/TorusGeometry.module_three.kt
mihbor
525,856,941
false
null
@file:JsModule("three") @file:JsNonModule @file:Suppress("ABSTRACT_MEMBER_NOT_IMPLEMENTED", "VAR_TYPE_MISMATCH_ON_OVERRIDE", "INTERFACE_WITH_SUPERCLASS", "OVERRIDING_FINAL_MEMBER", "RETURN_TYPE_MISMATCH_ON_OVERRIDE", "CONFLICTING_OVERLOADS", "EXTERNAL_DELEGATION", "PackageDirectoryMismatch") package three.js import ko...
0
Kotlin
0
0
cf298738f1ede827308109cdbd06bf28176dce65
791
miniverse
MIT License
data-processor/src/test/kotlin/at/ac/tuwien/dse/ss18/group05/repository/AccidentRepositoryTest.kt
fuvidani
128,628,639
false
null
package at.ac.tuwien.dse.ss18.group05.repository import at.ac.tuwien.dse.ss18.group05.DataProcessorApplication import at.ac.tuwien.dse.ss18.group05.TestDataProvider /* ktlint-disable no-wildcard-imports */ import at.ac.tuwien.dse.ss18.group05.dto.* import org.junit.Assert import org.junit.Before import org.junit.Test ...
0
null
2
2
21d0424a6a2f9ce230201a1f960619fdd14059c5
4,061
autonomous-vehicle-data-processing
MIT License
src/main/kotlin/net/forkk/greenstone/grpl/commands/StringCommands.kt
Forkk
250,610,539
false
null
package net.forkk.greenstone.grpl.commands import net.forkk.greenstone.grpl.Context import net.forkk.greenstone.grpl.IntVal import net.forkk.greenstone.grpl.ListVal import net.forkk.greenstone.grpl.StringVal import net.forkk.greenstone.grpl.TypeError import net.forkk.greenstone.grpl.ValueType val StringCommands = Com...
1
Kotlin
1
3
6f0eb5483af1586751db1501c32bde845d62663e
3,528
Greenstone
MIT License
src/main/java/io/github/mdsimmo/bomberman/events/BmPlayerWonEvent.kt
mdsimmo
21,511,109
false
{"Kotlin": 257371, "Java": 4283}
package io.github.mdsimmo.bomberman.events import io.github.mdsimmo.bomberman.game.Game import org.bukkit.entity.Player import org.bukkit.event.HandlerList class BmPlayerWonEvent(val game: Game, val player: Player) : BmEvent() { override fun getHandlers(): HandlerList { return handlerList } comp...
12
Kotlin
7
3
6703100a298c2543098440eded52d7bf12412c39
402
bomberman
The Unlicense
src/test/kotlin/no/nav/helse/flex/fss/proxy/modiacontext/ModiacontextControllerTest.kt
navikt
316,526,205
false
null
package no.nav.helse.flex.fss.proxy.modiacontext import no.nav.helse.flex.fss.proxy.Application import no.nav.security.mock.oauth2.MockOAuth2Server import no.nav.security.mock.oauth2.token.DefaultOAuth2TokenCallback import no.nav.security.token.support.spring.test.EnableMockOAuth2Server import org.junit.jupiter.api.Be...
7
Kotlin
0
0
cf621f446ff4e3f61041cd46b46eceba5523d7e0
4,486
flex-fss-proxy
MIT License
src/main/kotlin/com/lykke/matching/engine/utils/config/GrpcEndpoints.kt
MyJetWallet
334,417,928
true
{"Kotlin": 1903525, "Java": 39278}
package com.lykke.matching.engine.utils.config data class GrpcEndpoints( val cashApiServicePort: Int, val tradingApiServicePort: Int, val balancesServicePort: Int, val orderBooksServicePort: Int, val dictionariesConnection: String, val outgoingEventsConnections: Set<String>, val outgoingTr...
0
Kotlin
1
0
fad1a43743bd7b833bfa4f1490da5e5350b992ff
395
MatchingEngine
MIT License
demo-native/src/main/kotlin/kodein/demo/coffee/ElectricHeater.kt
suclike
123,946,819
true
{"Kotlin": 367343, "Java": 15376, "Shell": 723, "HTML": 718}
package kodein.demo.coffee //import com.github.salomonbrys.kodein.Kodein //import com.github.salomonbrys.kodein.erased.bind //import com.github.salomonbrys.kodein.erased.singleton class ElectricHeater : Heater { private var heating: Boolean = false init { println("<Creating ElectricHeater>") } ...
0
Kotlin
0
0
734f09ba0e8d80046beec92f29c928b46a4dfd23
674
Kodein
MIT License
app/src/main/java/fr/free/nrw/commons/explore/depictions/DepictsClient.kt
commons-app
42,032,884
false
null
package fr.free.nrw.commons.explore.depictions import android.annotation.SuppressLint import fr.free.nrw.commons.mwapi.Binding import fr.free.nrw.commons.mwapi.SparqlResponse import fr.free.nrw.commons.upload.depicts.DepictsInterface import fr.free.nrw.commons.upload.structure.depictions.DepictedItem import fr.free.nr...
571
null
953
997
93f1e1ec299a78dac8a013ea21414272c1675e7b
3,987
apps-android-commons
Apache License 2.0
android/racehorse/src/main/java/org/racehorse/AssetLoaderPlugin.kt
smikhalevski
556,915,160
false
{"Kotlin": 225363, "TypeScript": 144714, "JavaScript": 1955, "HTML": 23}
package org.racehorse import android.content.Intent import android.webkit.WebResourceResponse import androidx.activity.ComponentActivity import androidx.annotation.WorkerThread import androidx.webkit.WebViewAssetLoader import androidx.webkit.WebViewAssetLoader.PathHandler import org.greenrobot.eventbus.Subscribe impor...
1
Kotlin
1
3
c4be3b6e180ebe3ddebdd0482a5c26c6aec298b8
5,190
racehorse
MIT License
app/src/androidTest/java/com/example/ghostmst/foodtoday/ExampleInstrumentedTest.kt
gitter-badger
102,723,578
false
null
package com.example.ghostmst.foodtoday import android.content.Context import org.junit.Test import org.junit.runner.RunWith import org.junit.Assert.* /** * Instrumentation test, which will execute on an Android device. * * @see [Testing documentation](http://d.android.com/tools/testing) */ @RunWith(AndroidJUnit...
0
Kotlin
0
0
5114476a871b4e4ea4a64753ae8948071ad2af28
631
food-today
MIT License
src/commonMain/kotlin/io/github/devngho/kisopenapi/requests/response/LiveResponse.kt
devngho
565,833,597
false
null
package io.github.devngho.kisopenapi.requests.response import io.github.devngho.kisopenapi.requests.util.ResultCodeSerializer import io.github.devngho.kisopenapi.requests.util.YNSerializer import io.github.devngho.kisopenapi.requests.util.json import kotlinx.serialization.SerialName import kotlinx.serialization.Serial...
0
null
1
7
9f95e79dcfc53340fcf202a6106876b02eb067e5
2,352
kt_kisopenapi
MIT License
acornui-core/src/main/kotlin/com/acornui/google/Icons.kt
polyforest
82,695,679
false
null
/* * Copyright 2020 Poly Forest, LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
3
Kotlin
0
1
87e0d951b75f4c4220147ff729ed199ec0a54e10
33,773
acornui
Apache License 2.0
src/main/java/io/github/hotlava03/baclava/bot/listeners/tictactoe/TicTacToeListener.kt
HotLava03
179,969,541
false
null
package io.github.hotlava03.baclava.bot.listeners.tictactoe import net.dv8tion.jda.api.events.interaction.ButtonClickEvent import net.dv8tion.jda.api.hooks.ListenerAdapter import java.util.concurrent.TimeUnit class TicTacToeListener : ListenerAdapter() { override fun onButtonClick(e: ButtonClickEvent) { i...
0
Kotlin
0
1
ed3365a59ca567afe6decd8968051ec0240328fc
850
baclava
Apache License 2.0
kotlin/basic-script-hello-world/Main.kt
TWiStErRob
175,983,199
false
null
import java.io.File import kotlin.script.experimental.annotations.KotlinScript import kotlin.script.experimental.api.EvaluationResult import kotlin.script.experimental.api.ResultWithDiagnostics import kotlin.script.experimental.api.ScriptDiagnostic import kotlin.script.experimental.host.toScriptSource import kotlin.scr...
0
Kotlin
3
0
8179d79b75fa1a87b1b73a3b05ceade098bf4768
2,652
repros
The Unlicense
example/src/main/java/com/freeletics/statelayout/MainActivity.kt
freeletics
262,744,080
false
null
package com.freeletics.statelayout import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.os.Handler import android.transition.Transition import android.view.View import android.widget.TextView import androidx.transition.TransitionInflater class MainActivity : AppCompatActivity() { ...
0
Kotlin
1
7
03395f9a132f2f98834f42f19f7d67370197b6cc
1,347
StateLayout
Apache License 2.0
app/src/main/java/com/vishalag53/pokedex/splashScreen/SplashScreenActivity.kt
vishalag53
659,343,908
false
null
package com.vishalag53.pokedex.splashScreen import android.content.Intent import android.os.Bundle import android.os.Handler import android.os.Looper import android.view.animation.AnimationUtils import androidx.appcompat.app.AppCompatActivity import androidx.databinding.DataBindingUtil import androidx.navigation.findN...
0
Kotlin
0
0
4389a73c474363be86666f2af9e961d2dd78a12b
844
Pokedex
Apache License 2.0
core/src/main/kotlin/com/demo/dynamopoc/core/book/BookRepository.kt
jorgejcabrera
287,841,868
false
null
package com.demo.dynamopoc.core.book import java.util.* interface BookRepository { fun findAll(): List<Book> fun findAllByCategoryAndPriceGreaterThan(category: Category, price: Double): List<Book> fun findAllByCreatedDateBefore(date: Date): List<Book> fun save(book: Book) fun findAllByCategory(cat...
0
Kotlin
0
1
68660741a6c2e0518e41d2a3c8e3ec073a86e757
560
dynamo-poc
MIT License
infrastructure/rsocket-api/src/main/kotlin/io/timemates/backend/rsocket/internal/AuthorizationMetadata.kt
timemates
575,534,781
false
{"Kotlin": 441365, "Dockerfile": 859}
package io.timemates.backend.rsocket.internal import io.ktor.utils.io.core.* import io.ktor.utils.io.core.internal.* import io.ktor.utils.io.pool.* import io.rsocket.kotlin.ExperimentalMetadataApi import io.rsocket.kotlin.core.MimeType import io.rsocket.kotlin.core.WellKnownMimeType import io.rsocket.kotlin.metadata.M...
17
Kotlin
0
8
ba66b305eebf276c6f72131a2500c7f47cc5d7e3
1,601
backend
MIT License
commons/src/main/kotlin/com/simplemobiletools/commons/dialogs/FileConflictDialog.kt
Zxc-40
120,768,753
true
{"Kotlin": 286154}
package com.simplemobiletools.commons.dialogs import android.app.Activity import android.support.v7.app.AlertDialog import com.simplemobiletools.commons.R import com.simplemobiletools.commons.R.id.conflict_dialog_radio_merge import com.simplemobiletools.commons.R.id.conflict_dialog_radio_skip import com.simplemobileto...
0
Kotlin
0
0
197ffd66060924f9cbbaeff12adf2e81e0c093dd
2,554
Simple-Commons
Apache License 2.0
src/main/kotlin/dev/rvbsm/fsit/event/ServerStoppingListener.kt
rvbsm
611,853,270
false
{"Kotlin": 93738, "Java": 20363}
package dev.rvbsm.fsit.event import net.fabricmc.fabric.api.event.lifecycle.v1.ServerLifecycleEvents val ServerStoppingListener = ServerLifecycleEvents.ServerStopping { server -> RidingServerStoppingEvent.onServerStopping(server) }
2
Kotlin
2
9
e67762263d45cd74dbc592c00c65b8bd5a3a8fa4
238
fsit
MIT License
src/main/kotlin/me/melijn/melijnbot/commands/games/PokerCommand.kt
ToxicMushroom
107,187,088
false
null
package me.melijn.melijnbot.commands.games import me.melijn.melijnbot.internals.command.AbstractCommand import me.melijn.melijnbot.internals.command.CommandCategory import me.melijn.melijnbot.internals.command.ICommandContext import me.melijn.melijnbot.internals.embed.Embedder import me.melijn.melijnbot.internals.util...
5
null
22
80
01107bbaad0e343d770b1e4124a5a9873b1bb5bd
10,312
Melijn
MIT License
app/src/main/java/com/pandulapeter/beagle/appDemo/feature/main/examples/simpleSetup/list/SimpleSetupAdapter.kt
pandulapeter
209,092,048
false
{"Kotlin": 849080, "Ruby": 497}
package com.pandulapeter.beagle.appDemo.feature.main.examples.simpleSetup.list import android.view.ViewGroup import com.pandulapeter.beagle.appDemo.R import com.pandulapeter.beagle.appDemo.feature.shared.list.BaseAdapter import com.pandulapeter.beagle.appDemo.feature.shared.list.BaseViewHolder import com.pandulapeter....
15
Kotlin
27
491
edc654e4bd75bf9519c476c67a9b77d600e3ce9e
1,390
beagle
Apache License 2.0
app/common/src/commonMain/kotlin/com/denchic45/studiversity/data/db/local/DbHelper.kt
denchic45
435,895,363
false
null
package com.denchic45.studiversity.data.db.local import app.cash.sqldelight.ColumnAdapter import app.cash.sqldelight.EnumColumnAdapter import app.cash.sqldelight.Transacter import app.cash.sqldelight.adapter.primitive.IntColumnAdapter import app.cash.sqldelight.db.SqlDriver import com.denchic45.studiversity.AppDatabas...
0
null
0
7
9d1744ffd9e1652e93af711951e924b739e96dcc
3,478
Studiversity
Apache License 2.0
game/src/commonMain/kotlin/com/lehaine/game/component/DebugSpriteComponent.kt
anthony-tarantini
832,768,665
false
{"Kotlin": 62248, "Shell": 1686, "HTML": 348}
package com.lehaine.game.component import com.github.quillraven.fleks.Component import com.github.quillraven.fleks.ComponentType import com.lehaine.littlekt.graphics.Color /** * @author <NAME> * @date 3/15/2023 */ class DebugSpriteComponent : Component<DebugSpriteComponent> { override fun type() = DebugSpriteC...
0
Kotlin
0
0
954160f073400e212e0d728fb7ded592eb2163af
392
littleky
MIT License
src/main/kotlin/BuiltInProperties.kt
pongasoft
312,870,302
false
null
/* * Copyright (c) 2020 pongasoft * * 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
3
e47a7f12d758ca004863e042a40e08ca314cbc46
2,308
re-quickstart
Apache License 2.0