path
stringlengths
4
280
owner
stringlengths
2
39
repo_id
int64
21.1k
879M
is_fork
bool
2 classes
languages_distribution
stringlengths
13
1.95k
⌀
content
stringlengths
7
482k
issues
int64
0
13.9k
main_language
stringclasses
121 values
forks
stringlengths
1
5
stars
int64
0
111k
commit_sha
stringlengths
40
40
size
int64
7
482k
name
stringlengths
1
100
license
stringclasses
93 values
src/main/kotlin/com/pokerplayer/model/Rank.kt
Mokane3562
123,499,809
false
null
package com.pokerplayer.model enum class Rank(val sign: Char) { TWO('2'), THREE('3'), FOUR('4'), FIVE('5'), SIX('6'), SEVEN('7'), EIGHT('8'), NINE('9'), TEN('T'), JACK('J'), QUEEN('Q'), KING('K'), ACE('A'); companion object { private val map = Rank.v...
4
Kotlin
2
2
dd89fb69b3eaa8316727231f699eebeb33c44d31
685
congenial-kotlin-broccoli-sandbox
Apache License 2.0
core/ui/src/main/java/com/devfalah/ui/screen/search/SearchScreen.kt
Salmon-family
569,890,321
false
{"Kotlin": 837143}
package com.devfalah.ui.screen.search import androidx.compose.foundation.background import androidx.compose.foundation.layout.* import androidx.compose.foundation.lazy.LazyColumn import androidx.compose.foundation.lazy.items import androidx.compose.material.MaterialTheme import androidx.compose.runtime.Composable impo...
11
Kotlin
19
24
7589d73a400c78ecfa94b24d87189b4f5e01de9b
5,050
Clubs
Apache License 2.0
scripts/Day9.kts
matthewm101
573,325,687
false
{"Kotlin": 63435}
import java.io.File import kotlin.math.abs import kotlin.math.sign val program = File("../inputs/9.txt").readLines().map { val splits = it.split(" ") Pair(splits[0][0], splits[1].toInt()) } val visited: MutableSet<Pair<Int,Int>> = mutableSetOf(Pair(0,0)) var xh = 0 var yh = 0 var xt = 0 var yt = 0 program.fo...
0
Kotlin
0
0
bbd3cf6868936a9ee03c6783d8b2d02a08fbce85
1,923
adventofcode2022
MIT License
app/src/main/java/com/nuevo/gameness/ui/pages/personal/profile/myteam/MyTeamViewModel.kt
arbabkh
873,814,880
false
{"Kotlin": 538078}
package com.nuevo.gameness.ui.pages.personal.profile.myteam import android.app.Application import androidx.lifecycle.AndroidViewModel import androidx.lifecycle.viewModelScope import com.nuevo.gameness.data.repository.Repository import com.nuevo.gameness.data.result.StateLiveData import dagger.hilt.android.lifecycle.Hi...
0
Kotlin
0
0
80d7b04385a2cd516b8157dbea19dd821c30fcc9
700
gameness-android
MIT License
Listy/app/src/main/java/com/NAD303/PaulLoots170083/Listy/DTO/ToDoItem.kt
PaulLoots
200,694,943
false
null
package com.NAD303.PaulLoots170083.Listy.DTO class ToDoItem(){ var id : Long = -1 var toDoId : Long = -1 var itemName = "" var isCompleted = false }
0
Kotlin
0
1
5ae5b44852a7f8c92c209780f6d192b67e88b25e
167
Listy
MIT License
multipaysdk/src/main/java/com/inventiv/multipaysdk/ui/splash/SplashActivity.kt
multinetinventiv
332,757,520
false
null
package com.inventiv.multipaysdk.ui.splash import android.content.Context import android.content.Intent import androidx.fragment.app.Fragment import com.inventiv.multipaysdk.base.BaseContainerActivity import com.inventiv.multipaysdk.util.EXTRA_SPLASH import com.inventiv.multipaysdk.util.SDK_CLOSED import com.inventiv....
0
Kotlin
0
0
841cf8a96b2f3aa07265028bcbbab11d58ad5748
1,373
MultiPay-Android-Sdk
Apache License 2.0
app/src/main/java/com/hd/bluetooth/MainActivity.kt
HelloHuDi
111,981,539
false
null
package com.hd.bluetooth import android.Manifest import android.bluetooth.BluetoothGattCharacteristic import android.content.pm.PackageManager import android.os.Bundle import android.support.v4.app.ActivityCompat import android.support.v4.content.ContextCompat import android.support.v7.app.AppCompatActivity import and...
0
Kotlin
0
1
03f68d4d5050a9056a26d5dfdbd8767a8b7a4f7b
6,303
android-bluetooth-handler
Apache License 2.0
app/src/main/java/xyz/kgy_production/webdavebookmanager/ui/component/FilterView.kt
phillui-37
813,751,089
false
{"Kotlin": 213213, "HTML": 8228, "JavaScript": 1534}
package xyz.kgy_production.webdavebookmanager.ui.component import androidx.compose.material.icons.Icons import androidx.compose.material.icons.filled.FilterList import androidx.compose.material3.Icon import androidx.compose.material3.IconButton import androidx.compose.material3.Text import androidx.compose.material3.T...
0
Kotlin
0
0
b15ddf9632bc91799d17e0782e8e34c84984c90d
1,062
Webdav-Ebook-Manager
Apache License 2.0
lazyrecycler/src/main/java/com/dokar/lazyrecycler/Template.kt
dokar3
344,170,886
false
null
package com.dokar.lazyrecycler import com.dokar.lazyrecycler.viewbinder.ItemBinder import com.dokar.lazyrecycler.viewcreator.ViewCreator @Suppress("UNCHECKED_CAST") class Template<I>( viewCreator: ViewCreator<out Any>, itemBinder: ItemBinder<out Any, I>, ) : Section<Any, I>( id = -1, viewCreator = vie...
0
Kotlin
0
0
d652bf8fa588238ca81df28a4a74a67e4978b49c
427
LazyRecycler
Apache License 2.0
app/src/main/java/com/creation/kitchen/myfoodie/ui/DiscoverViewModel.kt
jhpark904
607,425,211
false
null
package com.creation.kitchen.myfoodie.ui import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.creation.kitchen.myfoodie.network.MyFoodieApi import com.creation.kitchen.myfoodie.ui.model.Category import kotlinx.coroutines.flow.MutableStateFlow import kotlinx.coroutines.flow.StateFlow ...
0
Kotlin
0
0
ea9202fa0c4ff7e1b25b49186622c0c521bfb368
1,322
My-Foodie
MIT License
app/src/main/java/com/yumenonaka/ymnkapp/MainActivity.kt
heongle
443,275,588
false
null
package com.yumenonaka.ymnkapp import android.os.Bundle import androidx.activity.ComponentActivity import androidx.activity.compose.setContent import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.ExperimentalLayoutApi import androidx.compose.foundation.layout.consumedWindowInsets imp...
0
Kotlin
0
0
e53e52ad53c548e4e27b2227d3a016ba427c66cb
3,502
yumeno-naka-app
zlib License
src/com/nerdscorner/android/plugin/utils/GHRepositoryExtensions.kt
marcherdiego
274,920,064
false
{"XML": 9, "Ignore List": 1, "Text": 1, "Markdown": 1, "SVG": 3, "Kotlin": 53, "Java": 8}
package com.nerdscorner.android.plugin.utils import com.nerdscorner.android.plugin.github.managers.GitHubManager import org.kohsuke.github.GHRepository fun GHRepository.shouldAddRepository(): Boolean { val validSource = GitHubManager.canShowReposFromOutsideOrganization() || GitHubManager.repoBelongsToAnyOrganizat...
0
Kotlin
1
9
b346f5af63cdf95c08221469b384cedaa8e74a2d
371
github-tools-plugin
Apache License 2.0
app/src/main/kotlin/com/tezov/bank/ui/pageMain/auth/help/PageHelpAction.kt
tezov
669,951,320
false
null
package com.tezov.bank.ui.pageMain.auth.help import com.tezov.lib_core_android_kotlin.navigation.NavigationController import com.tezov.lib_core_android_kotlin.navigation.NavigationRouteManager.NotImplemented import com.tezov.lib_core_android_kotlin.ui.compositionTree.page.PageAction class PageHelpAction private con...
0
Kotlin
0
0
efdc87667fb1cfa322d7378ec026679fb0e1db5b
1,327
bank
MIT License
reflekt-plugin/src/main/kotlin/org/jetbrains/reflekt/plugin/utils/PluginConfig.kt
JetBrains-Research
293,503,377
false
null
package org.jetbrains.reflekt.plugin.utils import org.jetbrains.reflekt.plugin.utils.Util.initMessageCollector import org.jetbrains.reflekt.plugin.utils.Util.log import org.jetbrains.reflekt.plugin.utils.Util.messageCollector import org.jetbrains.kotlin.cli.common.messages.MessageCollector import org.jetbrains.kotlin...
8
Kotlin
5
236
e68a281a33d5d6979009799d3292b7fc2ab3e084
2,580
reflekt
Apache License 2.0
feature/session-overview/src/main/kotlin/net/onefivefour/sessiontimer/feature/sessionoverview/UiSession.kt
OneFiveFour
715,295,614
false
{"Kotlin": 137846}
package net.onefivefour.sessiontimer.feature.sessionoverview import net.onefivefour.sessiontimer.core.common.domain.model.Session data class UiSession( val id: Long, val title: String ) fun List<Session>.toUiSessions() = map { it.toUiSession() } fun Session.toUiSession() = UiSession( id = this.id, ...
0
Kotlin
0
0
9aa4f4aa42fd4d9ce326a1c4148af1fb14e34d00
343
session-timer
Apache License 2.0
app/src/main/kotlin/de/nanogiants/a5garapp/model/entities/domain/Image.kt
5GAR-Hackathon
283,319,676
false
null
/** * Created by appcom interactive GmbH on 09.09.2020 * Copyright © 2020 appcom interactive GmbH. All rights reserved. */ package de.nanogiants.a5garapp.model.entities.domain import com.squareup.moshi.JsonClass import java.io.Serializable @JsonClass(generateAdapter = true) data class Image( val url: String, ...
0
Kotlin
0
1
c672c4b0353ca3c27d06268c27ae49b5252dc848
356
5g-ar-hackathon-app-android
MIT License
app/src/main/java/com/example/project_x/data/model/UserX.kt
Ansalpandey
822,056,495
false
{"Kotlin": 162022}
package com.example.project_x.data.model data class UserX( val __v: Int?, // 1 val _id: String?, // 669a69c129a4e7da7baa72c2 val age: Int?, // 21 val bio: String?, // this is my bio val courses: List<Course?>?, val createdAt: String?, // 2024-07-19T13:27:29.415Z val email: String?, // <EMAIL> val enrol...
0
Kotlin
0
1
a71acef6269d81875c75c8c995e4e0d9abb1ec5a
738
Slidee
MIT License
bindings/gtk/gdk4/src/nativeMain/kotlin/org/gtkkn/bindings/gdk/ContentSerializer.kt
gtk-kn
609,191,895
false
{"Kotlin": 10448515, "Shell": 2740}
// This is a generated file. Do not modify. package org.gtkkn.bindings.gdk import kotlinx.cinterop.CPointer import kotlinx.cinterop.reinterpret import kotlinx.cinterop.toKString import org.gtkkn.bindings.gio.AsyncResult import org.gtkkn.bindings.gio.Cancellable import org.gtkkn.bindings.gio.OutputStream import org.gtk...
0
Kotlin
0
13
c033c245f1501134c5b9b46212cd153c61f7efea
5,429
gtk-kn
Creative Commons Attribution 4.0 International
src/commonMain/kotlin/model/Copyable.kt
giancarlo-misasi
585,324,638
false
null
package model interface Copyable<T> { fun copy(): T }
0
Kotlin
0
0
bfdf1c1334d39660b0c5e28bb456b3560f541e07
58
kotlin-briscola
MIT License
ui/src/main/kotlin/com/processout/sdk/ui/napm/NativeAlternativePaymentInteractorState.kt
processout
117,821,122
false
{"Kotlin": 1033186, "Java": 85526, "Shell": 696}
package com.processout.sdk.ui.napm import androidx.compose.ui.text.input.TextFieldValue import com.processout.sdk.api.model.response.PONativeAlternativePaymentMethodParameter.ParameterType import com.processout.sdk.api.model.response.PONativeAlternativePaymentMethodTransactionDetails.Gateway import com.processout.sdk....
1
Kotlin
5
2
d7e4214b244c2664c090c03650080a6996dd7809
3,206
processout-android
MIT License
app/src/main/java/com/silverpine/uu/sample/bluetooth/ui/HomeActivity.kt
SilverPineSoftware
393,236,705
false
{"Java": 290974, "Kotlin": 30842}
package com.silverpine.uu.sample.bluetooth.ui import android.Manifest import android.app.AlertDialog import android.content.Intent import android.os.Build import android.os.Bundle import android.util.Log import androidx.annotation.RequiresApi import androidx.core.util.Pair import androidx.lifecycle.ViewModel import an...
1
null
1
1
48291f62a67055ed84d53de0ed162e1bbfd4cd79
10,950
UUAndroidBluetooth
MIT License
kt/godot-library/src/main/kotlin/godot/gen/godot/NinePatchRect.kt
utopia-rise
289,462,532
false
null
// THIS FILE IS GENERATED! DO NOT EDIT IT MANUALLY! @file:Suppress("PackageDirectoryMismatch", "unused", "FunctionName", "RedundantModalityModifier", "UNCHECKED_CAST", "JoinDeclarationAndAssignment", "USELESS_CAST", "RemoveRedundantQualifierName", "NOTHING_TO_INLINE") package godot import godot.`annotation`.C...
50
null
25
301
0d33ac361b354b26c31bb36c7f434e6455583738
10,017
godot-kotlin-jvm
MIT License
compiler/testData/asJava/lightClasses/lightClassByPsi/facades/varargParameterWithoutType.kt
JetBrains
3,432,266
false
null
fun someFun(vararg values) // COMPILATION_ERRORS
181
null
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
49
kotlin
Apache License 2.0
src/backend/turbo/biz-turbo/src/main/kotlin/com/tencent/devops/turbo/job/TBSCreateDataJob.kt
TencentBlueKing
548,695,563
false
null
package com.tencent.devops.turbo.job import com.tencent.devops.common.redis.RedisOperation import com.tencent.devops.common.service.Gray import com.tencent.devops.common.util.constants.EXCHANGE_TURBO_REPORT import com.tencent.devops.common.util.constants.ROUTE_TURBO_REPORT_CREATE import com.tencent.devops.turbo.dto.Tu...
16
null
12
22
32b710e162584f96a0747d548fd54ac05d248be2
3,083
bk-turbo
MIT License
save-common/src/commonMain/kotlin/com/saveourtool/save/core/utils/ProcessBuilder.kt
saveourtool
340,654,529
false
null
/** * Utilities to run a process and get its result. */ package org.cqfn.save.core.utils import org.cqfn.save.core.files.createFile import org.cqfn.save.core.files.myDeleteRecursively import org.cqfn.save.core.files.readLines import org.cqfn.save.core.logging.logDebug import org.cqfn.save.core.logging.logError impo...
70
null
4
41
16a8a185a4b66c45a80ec73193f23e5f6e27e77b
9,778
save-cli
MIT License
app/src/main/java/io/github/takusan23/zeromirror/ui/screen/HelloScreen.kt
takusan23
487,599,407
false
{"Kotlin": 248680}
package io.github.takusan23.zeromirror.ui.screen import androidx.compose.foundation.Image import androidx.compose.foundation.layout.* import androidx.compose.foundation.rememberScrollState import androidx.compose.foundation.verticalScroll import androidx.compose.material3.* import androidx.compose.runtime.Composable i...
0
Kotlin
1
8
f5f6f2328712e211d29dc6f05cfa63b54c9eacfb
2,597
ZeroMirror
Apache License 2.0
plugins/search-everywhere-ml/typos/src/com/intellij/searchEverywhereMl/typos/actions/DumpDictionaryToFileAction.kt
JetBrains
2,489,216
false
null
package com.intellij.searchEverywhereMl.typos.actions import com.intellij.openapi.actionSystem.ActionUpdateThread import com.intellij.openapi.actionSystem.AnAction import com.intellij.openapi.actionSystem.AnActionEvent import com.intellij.openapi.fileEditor.FileEditorManager import com.intellij.openapi.fileTypes.Plain...
284
null
5162
16,707
def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0
2,001
intellij-community
Apache License 2.0
mui-icons-kotlin/src/jsMain/kotlin/mui/icons/material/DataSaverOn.kt
karakum-team
387,062,541
false
{"Kotlin": 3037818, "TypeScript": 2249, "HTML": 724, "CSS": 86}
// Automatically generated - do not modify! @file:JsModule("@mui/icons-material/DataSaverOn") package mui.icons.material @JsName("default") external val DataSaverOn: SvgIconComponent
1
Kotlin
5
35
7c4376ba64ea84a5c40255d83c8c046978c3843d
186
mui-kotlin
Apache License 2.0
ambassador-commons/src/test/kotlin/com/roche/ambassador/markdown/MarkdownDocumentToTextFormatterTest.kt
filipowm
409,076,487
false
null
package com.roche.ambassador.markdown import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Test class MarkdownDocumentToTextFormatterTest { @Test fun `should use title if not null`() { // given val doc = MarkdownDocument(Section("my title"), "test") // when ...
22
Kotlin
1
9
11e72d45f1b91e724073b230577033d0115b1a24
1,896
the-ambassador
Apache License 2.0
config/src/main/kotlin/org/springframework/security/config/annotation/web/ExceptionHandlingDsl.kt
spring-projects
3,148,979
false
null
/* * Copyright 2002-2020 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
942
null
5864
8,737
9ba2435cb21a828dd2bccaabcac63dabf12d5dc8
3,921
spring-security
Apache License 2.0
app/src/main/java/com/shepeliev/livemvi/data/CalculatorApi.kt
shepeliev
229,240,925
false
null
package com.shepeliev.livemvi.data interface CalculatorApi { suspend fun add(a: Int, b: Int): Int }
0
Kotlin
1
1
ac6495931d2f89f3165b9fb68b7bf58ea52ad40f
105
mvicore_courutines_example
Apache License 2.0
buildSrc/public/src/main/kotlin/androidx/build/ExportAtomicLibraryGroupsToTextTask.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
790
59
3fbd775007164912b34a1d59a923ad3387028b97
1,940
androidx
Apache License 2.0
src/test/kotlin/g1801_1900/s1840_maximum_building_height/SolutionTest.kt
javadev
190,711,550
false
{"Kotlin": 4901773, "TypeScript": 50437, "Python": 3646, "Shell": 994}
package g1801_1900.s1840_maximum_building_height import org.hamcrest.CoreMatchers.equalTo import org.hamcrest.MatcherAssert.assertThat import org.junit.jupiter.api.Test internal class SolutionTest { @Test fun maxBuilding() { assertThat( Solution().maxBuilding(5, arrayOf(intArrayOf(2, 1), i...
0
Kotlin
20
43
471d45c60f669ea1a2e103e6b4d8d54da55711df
707
LeetCode-in-Kotlin
MIT License
window/window-testing/src/main/java/androidx/window/testing/layout/StubWindowMetricsCalculatorRule.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...
28
null
945
59
e18ad812b77fc8babb00aacfcea930607b0794b5
1,920
androidx
Apache License 2.0
madman/src/main/java/com/flipkart/madman/manager/handler/ProgressHandler.kt
flipkart-incubator
235,603,923
false
null
/* * Copyright (C) 2020 Flipkart Internet Pvt 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 applicabl...
8
Kotlin
8
66
ded0a7a5d50bdf2b60e5a31a41943266bb677041
3,793
madman-android
Apache License 2.0
src/test/kotlin/day19/part2/exercise.kt
Malo-T
575,370,082
false
null
package day19.part2 const val exercise_d19_p2 = """5001791"""
0
Kotlin
0
0
f4edefa30c568716e71a5379d0a02b0275199963
63
AoC-2022
Apache License 2.0
wanakana-core/src/test/java/dev/esnault/wanakana/core/IsKanaTest.kt
esnaultdev
324,520,503
false
null
package dev.esnault.wanakana.core import dev.esnault.wanakana.dynamicTests import org.junit.jupiter.api.DisplayName import org.junit.jupiter.api.TestFactory @DisplayName("isKana()") class IsKanaTest { @TestFactory @DisplayName("Basic usage") fun isKanaTest() = dynamicTests { fun test(name: Strin...
2
null
2
6
09baef953fb15f5e2b1626f265cf0ee9e1418085
921
wanakana-kt
MIT License
drestaurant-libs/drestaurant-restaurant/src/main/kotlin/com/drestaurant/restaurant/domain/RestaurantOrderEventHandler.kt
chanyaz
147,175,416
true
{"Kotlin": 284455, "Shell": 4709, "HTML": 814}
package com.drestaurant.restaurant.domain import com.drestaurant.order.domain.api.RestaurantOrderCreationRequestedEvent import com.drestaurant.restaurant.domain.api.CreateRestaurantOrderCommand import org.axonframework.commandhandling.callbacks.LoggingCallback import org.axonframework.commandhandling.gateway.CommandGa...
0
Kotlin
0
0
eb080901705bb3c90946ea63534f989dbb88e23c
901
digital-restaurant
Apache License 2.0
src/main/kotlin/com/github/sarxos/webcam/util/OsUtils1.kt
Kietyo
564,699,784
false
{"Kotlin": 276119}
package com.github.sarxos.webcam.util import java.util.* /** * Just a simple enumeration with supported (not yet confirmed) operating * systems. * * @author <NAME> (sarxos) */ enum class OsUtils { /** * Microsoft Windows */ WIN, /** * Linux or UNIX. */ NIX, /** * Ma...
0
Kotlin
0
2
a67ebac2fb945a56dfac7f1f67f589eecdd58022
1,653
webcam-capture-kotlin
MIT License
app/src/main/java/com/minhtetoo/myfirstkotlinapp/data/vos/ForecasstList.kt
minhtetoo131
134,927,578
false
{"Kotlin": 10101}
package com.minhtetoo.myfirstkotlinapp.data.vos data class ForecastList(val city: String, val country: String, val dailyForecast:List<Forecast>)
0
Kotlin
0
0
279ba1d8d5ef009ad0ed0359fea087c167f86243
169
MyFirstKotLinApp-weatherdemoapp-
Apache License 2.0
src/main/kotlin/com/oyosite/ticon/lostarcana/block/entity/Util.kt
eehunter
666,546,581
false
null
package com.oyosite.ticon.lostarcana.block.entity import com.oyosite.ticon.lostarcana.aspect.AspectRegistry import com.oyosite.ticon.lostarcana.item.VisCrystalItem import net.minecraft.item.ItemStack fun Int.testCrystalInSlot(crystal: ItemStack):Boolean = crystal.item is VisCrystalItem && AspectRegistry.ASPECTS.k...
1
Kotlin
0
1
d81722a306575f2e5725cb8045bba44f54aa8d1b
398
LostArcana
MIT License
Retos/Reto #6 - PIEDRA, PAPEL, TIJERA, LAGARTO, SPOCK [Media]/kotlin/jcdm60.kt
mouredev
581,049,695
false
{"Python": 4194087, "JavaScript": 1590517, "Java": 1408944, "C#": 782329, "Kotlin": 533858, "TypeScript": 479964, "Rust": 357628, "Go": 322940, "PHP": 288620, "Swift": 278290, "C": 223896, "Jupyter Notebook": 221090, "C++": 175187, "Dart": 159755, "Ruby": 71132, "Perl": 52923, "VBScript": 49663, "HTML": 45912, "Raku": ...
class JuegoPiedraPapelTijera { val ganadores = mapOf( "piedra:tijera" to "Jugador 1 gana", "piedra:lagarto" to "Jugador 1 gana", "papel:piedra" to "Jugador 1 gana", "papel:spock" to "Jugador 1 gana", "tijera:papel" to "Jugador 1 gana", "tijera:lagarto" to "Jugador 1 ...
1
Python
2974
5,192
f8c44ac12756b14a32abf57cbf4e0cd06ad58088
1,597
retos-programacion-2023
Apache License 2.0
kotlin-mui-icons/src/main/generated/mui/icons/material/SignalCellular2BarTwoTone.kt
JetBrains
93,250,841
false
null
// Automatically generated - do not modify! @file:JsModule("@mui/icons-material/SignalCellular2BarTwoTone") @file:JsNonModule package mui.icons.material @JsName("default") external val SignalCellular2BarTwoTone: SvgIconComponent
12
Kotlin
145
983
372c0e4bdf95ba2341eda473d2e9260a5dd47d3b
232
kotlin-wrappers
Apache License 2.0
idea/testData/quickfix/modifiers/infixModifier.kt
JakeWharton
99,388,807
false
null
// "Add 'infix' modifier" "true" class A { fun xyzzy(i: Int) {} } fun foo() { A() xyz<caret>zy 5 }
284
null
5162
83
4383335168338df9bbbe2a63cb213a68d0858104
107
kotlin
Apache License 2.0
app/src/main/kotlin/com/kondenko/pocketwaka/data/android/DeviceInfoProvider.kt
Kondenko
95,912,101
false
null
package com.kondenko.pocketwaka.data.android import android.os.Build import com.kondenko.pocketwaka.BuildConfig import com.kondenko.pocketwaka.domain.menu.DeviceInfo class DeviceInfoProvider { fun getDeviceInfo() = DeviceInfo( deviceName = "${Build.MODEL} (${Build.DEVICE})", osVersion = "...
2
Kotlin
7
58
6f1423415e2a23f12626ac67c9afb25f2df9e302
509
pocketwaka
MIT License
utils/jwt/src/main/kotlin/io/bluetape4k/jwt/provider/JwtParserSupport.kt
debop
625,161,599
false
{"Kotlin": 7504333, "HTML": 502995, "Java": 2273, "JavaScript": 1351, "Shell": 1301, "CSS": 444, "Dockerfile": 121, "Mustache": 82}
package io.bluetape4k.jwt.provider import io.bluetape4k.jwt.JwtConsts.HEADER_ALGORITHM import io.bluetape4k.jwt.JwtConsts.HEADER_KEY_ID import io.bluetape4k.jwt.codec.DeflateCodec import io.bluetape4k.jwt.codec.GzipCodec import io.bluetape4k.jwt.codec.JwtCodecs import io.bluetape4k.jwt.codec.Lz4Codec import io.bluetap...
0
Kotlin
0
1
ce3da5b6bddadd29271303840d334b71db7766d2
2,214
bluetape4k
MIT License
utils/jwt/src/main/kotlin/io/bluetape4k/jwt/provider/JwtParserSupport.kt
debop
625,161,599
false
{"Kotlin": 7504333, "HTML": 502995, "Java": 2273, "JavaScript": 1351, "Shell": 1301, "CSS": 444, "Dockerfile": 121, "Mustache": 82}
package io.bluetape4k.jwt.provider import io.bluetape4k.jwt.JwtConsts.HEADER_ALGORITHM import io.bluetape4k.jwt.JwtConsts.HEADER_KEY_ID import io.bluetape4k.jwt.codec.DeflateCodec import io.bluetape4k.jwt.codec.GzipCodec import io.bluetape4k.jwt.codec.JwtCodecs import io.bluetape4k.jwt.codec.Lz4Codec import io.bluetap...
0
Kotlin
0
1
ce3da5b6bddadd29271303840d334b71db7766d2
2,214
bluetape4k
MIT License
mediastore/src/main/java/com/google/modernstorage/mediastore/StorageLocation.kt
google
365,054,118
false
null
/* * Copyright 2021 Google 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
8
null
24
859
05a8ee7ad4e680c1507415cd0f0c9cd052d4dc16
1,092
modernstorage
Apache License 2.0
app/src/main/java/br/com/paulosalvatore/room/dao/WordDao.kt
paulosalvatore
169,881,600
false
null
package br.com.paulosalvatore.room.dao import androidx.lifecycle.LiveData import androidx.room.Dao import androidx.room.Insert import androidx.room.OnConflictStrategy import androidx.room.Query import br.com.paulosalvatore.room.entities.Word @Dao interface WordDao { @Insert(onConflict = OnConflictStrategy.IGNORE)...
0
Kotlin
0
0
736296918fbbe87b97cba03294f53edbbb309efd
510
Room
MIT License
app/src/main/java/com/example/voicerecoderstt/Retrofit/RetrofitService.kt
power95031
504,009,200
false
{"Kotlin": 19486}
package com.example.voicerecoderstt.Retrofit import com.example.voicerecoderstt.ObjectFactory.SecondDataObject import com.example.voicerecoderstt.ObjectFactory.dataObject import okhttp3.MultipartBody import retrofit2.Call import retrofit2.http.Multipart import retrofit2.http.POST import retrofit2.http.Part interface ...
0
Kotlin
0
0
9ad2cd3137cce7bc857cfdd41f55c79f2eae35a2
628
VoiceRecoderSTT
MIT License
PassiveData/app/src/main/java/com/example/passivedata/MainModule.kt
yingding
401,380,550
true
{"Kotlin": 102349}
/* * Copyright 2021 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
0
Kotlin
0
0
37424ecb36971e7650084d9857a03eca5f6b73b0
1,827
health-samples
Apache License 2.0
plot-api/src/jvmMain/kotlin/org/jetbrains/letsPlot/intern/settings/DefaultFrontendContext.kt
JetBrains
172,682,391
false
{"Kotlin": 1563280, "HTML": 24175, "Shell": 73}
/* * Copyright (c) 2022. JetBrains s.r.o. * Use of this source code is governed by the MIT license that can be found in the LICENSE file. */ package org.jetbrains.letsPlot.intern.settings import org.jetbrains.letsPlot.FrontendContext import org.jetbrains.letsPlot.frontend.DefaultSwingBatikFrontendContext import or...
14
Kotlin
36
433
f6edab1a67783d14e2378675f065ef7111bdc1a0
1,396
lets-plot-kotlin
MIT License
app/src/main/java/info/hzvtc/hipixiv/pojo/novel/Novel.kt
Tait4198
94,422,381
false
null
package info.hzvtc.hipixiv.pojo.novel import com.google.gson.annotations.Expose import com.google.gson.annotations.SerializedName data class Novel( @SerializedName("id") @Expose val novelId : Int )
0
Kotlin
0
0
35def2de39973a82e0fcf03f63733bb34c32d98d
208
hi_pixiv
MIT License
src/main/kotlin/status/Updater.kt
bkahlert
389,667,183
false
null
package status import com.bkahlert.kommons.dom.forEachInstance import io.ktor.client.HttpClient import io.ktor.client.engine.js.Js import io.ktor.client.features.websocket.DefaultClientWebSocketSession import io.ktor.client.features.websocket.WebSockets import io.ktor.client.features.websocket.webSocket import io.ktor...
10
Kotlin
0
1
0820ee461998b0155e4c7269ad9583b937520a9b
3,253
busy-screen
MIT License
app/src/main/java/mx/itesm/appdibujandounmanana/View/AllProjectsCardAdapter.kt
Maikindustries
402,613,254
false
null
package mx.itesm.appdibujandounmanana.View import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.ImageView import android.widget.LinearLayout import android.widget.TextView import androidx.recyclerview.widget.RecyclerView import mx.itesm.appdibujandounmanana.R ...
1
Kotlin
0
0
11c0b496883cbab40c1090c1feca46a329ce94ca
1,879
AppDibujandoUnManana
MIT License
src/main/kotlin/lambdas/Filter4.kt
pambrose
486,314,504
false
null
package lambdas fun main() { //sampleStart val intList = listOf(0, 1, 2, 3, 4, 5, 6) .filterNot { it % 2 == 0 } .filterNot { it % 3 == 0 } println(intList) //sampleEnd }
0
Kotlin
0
2
a799a6966085b8ad70f46665a41feb807384ad92
197
myslides
Apache License 2.0
src/main/kotlin/su/sonoma/lostriver/item/BlueprintItem.kt
saddydead1
837,735,532
false
{"Kotlin": 210174, "Java": 475}
package su.sonoma.lostriver.item import net.minecraft.world.item.Item import net.minecraft.world.item.ItemStack class BlueprintItem(p_41383_: Properties) : Item(p_41383_) { override fun getCraftingRemainingItem(stack: ItemStack?): ItemStack? { val container = stack!!.copy() return container }...
0
Kotlin
0
2
f6579c09f6661bbc244f392871ecbe08f86531c2
421
lostriver
MIT License
game/plugins/src/main/kotlin/gg/rsmod/plugins/content/combat/strategy/RangedCombatStrategy.kt
2011Scape
578,880,245
false
{"Kotlin": 8359518, "Dockerfile": 1354}
package gg.rsmod.plugins.content.combat.strategy import gg.rsmod.game.model.Tile import gg.rsmod.game.model.attr.LAST_KNOWN_WEAPON_TYPE import gg.rsmod.game.model.combat.WeaponStyle import gg.rsmod.game.model.combat.PawnHit import gg.rsmod.game.model.combat.XpMode import gg.rsmod.game.model.entity.GroundItem import gg...
36
Kotlin
27
32
da66bb6d68ebae531ee325b909a6536e798b1144
8,387
game
Apache License 2.0
src/main/kotlin/io/github/dockyardmc/utils/MathUtils.kt
DockyardMC
650,731,309
false
null
package io.github.dockyardmc.utils import io.github.dockyardmc.location.Location import io.github.dockyardmc.utils.vectors.Vector3f import java.io.File import java.lang.IllegalStateException import java.security.MessageDigest import kotlin.math.PI import kotlin.math.cos import kotlin.math.sin fun multiplyQuaternions(...
9
null
7
55
9a0eb8f3184123b79b835356ddde526d9eb6df65
4,377
Dockyard
MIT License
library/igdb/src/main/kotlin/ru/pixnews/library/igdb/internal/twitch/OkhttpTwitchTokenFetcher.kt
illarionov
305,333,284
false
null
/* * Copyright 2023 Alexey Illarionov * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
0
Kotlin
0
2
8912bf1116dd9fe94d110162ff9a302e93af1509
3,547
Pixnews
Apache License 2.0
language/compiler/src/bytecodegeneration/expression/CallExpressionGenerator.kt
dmitrykolesnikovich
433,133,604
false
null
package jiva.bytecodegeneration.expression import com.google.common.collect.Ordering import jiva.domain.node.expression.* import jiva.domain.scope.FunctionSignature import jiva.domain.scope.Scope import jiva.domain.type.ClassType import jiva.exception.BadArgumentsToFunctionCallException import jiva.exception.WrongArgu...
4
Kotlin
0
0
aa3a7e0d617111f3ef93fc22457eb7dd7e313063
4,529
jiva
MIT License
app/src/main/kotlin/za/co/wethinkcode/viewer/app/ViewerMain.kt
GeePawHill
661,747,103
false
null
package za.co.wethinkcode.viewer.app import org.geepawhill.jltk.flow.Recorder import tornadofx.App import tornadofx.launch import za.co.wethinkcode.viewer.app.ui.ViewerFrame class ViewerMain : App(ViewerFrame::class) { companion object { val wtc = Recorder().logRun() } } fun main(args: Array<String>...
0
Kotlin
0
0
80845f0d39537ef9e64908b81a01e42f615c3a87
355
jltk-viewer
MIT License
app/src/main/java/com/simbiri/equityjamii/ui/main_activity/workspace_page/AddTaskViewModel.kt
SimbaSimbiri
706,250,529
false
{"Kotlin": 480481}
package com.simbiri.equityjamii.ui.main_activity.workspace_page import android.net.Uri import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.google.firebase.Timestamp import com.google.firebase.firestore.Fire...
0
Kotlin
0
0
f2b93cc27436f8f30149946c77025849958764e9
4,736
EquiJamii
Apache License 2.0
restaurants/src/test/java/com/karzek/restaurants/data/RestaurantRepositoryImplTest.kt
MarjanaKarzek
839,724,284
false
{"Kotlin": 70571}
package com.karzek.restaurants.data import com.karzek.core.coroutines.DispatcherProvider import com.karzek.core.error.ComposedErrorEntityFactory import com.karzek.core.error.ErrorEntityFactory import com.karzek.core.mapper.Mapper import com.karzek.core.network.NetworkErrorEntityFactory import com.karzek.core.result.Re...
0
Kotlin
0
0
44215b3978539fea21491c95c0573f3861a913e5
3,639
android-venue-recommendations
Apache License 2.0
src/client/bouncer-api/src/main/kotlin/io/quut/bouncer/api/universe/IBouncerUniverseInfo.kt
Quutio
382,121,332
false
{"Kotlin": 94260, "C#": 35941, "Dockerfile": 156}
package io.quut.bouncer.api.universe import net.kyori.adventure.key.Key interface IBouncerUniverseInfo { val type: Key companion object { @JvmStatic fun of(type: Key): IBouncerUniverseInfo { return Impl(type) } } private class Impl(override val type: Key) : IBouncerUniverseInfo }
0
Kotlin
2
9
1af5c404533c10fa5c1c193cd9c59ba88c008806
301
Bouncer
MIT License
src/main/kotlin/com/leocth/drunkfletchintable/client/screen/FletchinScreen.kt
pluiedev
287,311,361
false
{"Kotlin": 112877, "Java": 2668}
package com.leocth.drunkfletchintable.client.screen import com.leocth.drunkfletchintable.DrunkFletchinTable import com.leocth.drunkfletchintable.block.entity.FletchinTableBlockEntity import com.leocth.drunkfletchintable.block.entity.modules.CraftingModule import com.leocth.drunkfletchintable.block.entity.modules.Fletc...
1
Kotlin
1
3
a911e7c67a5143c85af6c47f54bca9d23e1d5953
2,659
drunk-fletchin-table
MIT License
card/src/main/java/com/adyen/checkout/card/CardOutputData.kt
leandromagnabosco
533,836,687
false
null
/* * Copyright (c) 2020 <NAME>. * * This file is open source and available under the MIT license. See the LICENSE file for more info. * * Created by caiof on 27/8/2020. */ package com.adyen.checkout.card import androidx.annotation.StringRes import com.adyen.checkout.card.data.CardType import com.adyen.checkout.c...
2
Kotlin
0
0
c154e989a08f1dc76cf90f6949878621cbbfa644
2,377
testsonarcloud
MIT License
src/main/kotlin/dev/storozhenko/familybot/models/telegram/stickers/StickerPack.kt
AngryJKirk
114,262,178
false
null
package dev.storozhenko.familybot.models.telegram.stickers enum class StickerPack(val packName: String) { FAMILY_PACK("FamiliGayPack"), YOU_ARE_TODAY("youaretoday"), HAMPIK_PACK("Hampik"); }
0
null
4
97
aff071c72503ffb9ad276fb9cc33d8408196795d
204
familybot
Apache License 2.0
app/src/main/java/com/mytests/testExam/data/local/ExamDb.kt
FredNekrasov
766,574,196
false
{"Kotlin": 49690}
package com.mytests.testExam.data.local import androidx.room.Database import androidx.room.RoomDatabase import com.mytests.testExam.data.local.dao.IAnimalFactsDao import com.mytests.testExam.data.local.dao.IUserDao import com.mytests.testExam.data.local.entities.AnimalFactsEntity import com.mytests.testExam.data.local...
0
Kotlin
0
1
7d7603c85380db9db2c5688367d7be76101640fb
657
my-tests
MIT License
taxiql-query-engine/src/test/java/com/orbitalhq/QueryWithScopedParamsTest.kt
orbitalapi
541,496,668
false
{"TypeScript": 9344934, "Kotlin": 5669840, "HTML": 201985, "SCSS": 170620, "HCL": 55741, "Java": 29373, "JavaScript": 24697, "Shell": 8800, "Dockerfile": 7001, "Smarty": 4741, "CSS": 2966, "Mustache": 1392, "Batchfile": 983, "MDX": 884, "PLpgSQL": 337}
package com.orbitalhq import io.kotest.common.runBlocking import io.kotest.matchers.shouldBe import com.orbitalhq.models.json.parseJson import io.kotest.matchers.nulls.shouldNotBeNull import lang.taxi.compiledWithQuery import org.junit.Test import kotlin.test.assertFailsWith class QueryWithScopedParamsTest { @Tes...
9
TypeScript
10
292
2be59abde0bd93578f12fc1e2ecf1f458a0212ec
6,178
orbital
Apache License 2.0
plot-builder/src/commonMain/kotlin/org/jetbrains/letsPlot/core/plot/builder/FrameOfReferenceProvider.kt
JetBrains
176,771,727
false
null
/* * Copyright (c) 2021. JetBrains s.r.o. * Use of this source code is governed by the MIT license that can be found in the LICENSE file. */ package org.jetbrains.letsPlot.core.plot.builder import org.jetbrains.letsPlot.commons.values.Color import org.jetbrains.letsPlot.core.plot.builder.coord.CoordProvider import...
93
null
51
1,561
c8db300544974ddd35a82a90072772b788600ac6
1,009
lets-plot
MIT License
kokain-core-lib/src/main/java/com/schwarz/kokain/corelib/observer/RefreshingReadonlyProperty.kt
SchwarzIT
247,762,834
false
{"Gradle": 11, "INI": 3, "Shell": 1, "Text": 1, "Ignore List": 10, "Batchfile": 1, "YAML": 2, "Markdown": 1, "Kotlin": 65, "Java Properties": 1, "Proguard": 4, "XML": 15, "CODEOWNERS": 1, "Java": 6}
package com.schwarz.kokain.corelib.observer import kotlin.properties.ReadOnlyProperty import kotlin.reflect.KProperty class RefreshingReadonlyProperty<T, V>(private val initializer: (T, KProperty<*>) -> V) : ReadOnlyProperty<T, V> { private var value: Any? = null override fun getValue(thisRef: T, property: ...
1
null
1
1
fb7ffd27d33c7535fa60da0a3a1e64b0eb90dc00
463
kokain
MIT License
src/main/kotlin/com/faendir/zachtronics/bot/om/rest/dto/OmRecordDTO.kt
F43nd1r
290,065,466
false
null
/* * Copyright (c) 2023 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writ...
7
null
6
4
f10fb507c64cfd9af5c3c5f655336ad0610facec
3,072
zachtronics-leaderboard-bot
Apache License 2.0
lib_base/src/main/java/com/hzsoft/lib/base/view/BaseMvvmViewBindingActivity.kt
Nuyoah965
476,117,497
true
{"Batchfile": 1, "Shell": 1, "Markdown": 1, "Java Properties": 3, "INI": 10, "Proguard": 11, "Kotlin": 189, "Java": 101}
package com.hzsoft.lib.base.view import android.view.ViewStub import androidx.viewbinding.ViewBinding import com.hzsoft.lib.base.mvvm.viewmodel.BaseViewModel import com.hzsoft.lib.base.view.viewbinding.ActivityBinding import com.hzsoft.lib.base.view.viewbinding.ActivityViewBinding /** * 基础 ViewBinding 页面 * * @auth...
0
null
0
0
ce2965240ba8a209f333b261d30a8e203bc078d6
759
BaseDemo
Apache License 2.0
lib_base/src/main/java/com/hzsoft/lib/base/view/BaseMvvmViewBindingActivity.kt
Nuyoah965
476,117,497
true
{"Batchfile": 1, "Shell": 1, "Markdown": 1, "Java Properties": 3, "INI": 10, "Proguard": 11, "Kotlin": 189, "Java": 101}
package com.hzsoft.lib.base.view import android.view.ViewStub import androidx.viewbinding.ViewBinding import com.hzsoft.lib.base.mvvm.viewmodel.BaseViewModel import com.hzsoft.lib.base.view.viewbinding.ActivityBinding import com.hzsoft.lib.base.view.viewbinding.ActivityViewBinding /** * 基础 ViewBinding 页面 * * @auth...
0
null
0
0
ce2965240ba8a209f333b261d30a8e203bc078d6
759
BaseDemo
Apache License 2.0
src/main/kotlin/therealfarfetchd/quacklib/common/api/wires/BlockWire.kt
therealfarfetchd
123,460,493
false
{"Gradle": 1, "Gradle Kotlin DSL": 1, "INI": 1, "Shell": 2, "Text": 1, "Ignore List": 1, "Batchfile": 1, "Markdown": 1, "Java Properties": 1, "JSON": 55, "Kotlin": 144, "Java": 1}
package therealfarfetchd.quacklib.common.api.wires import mcmultipart.api.slot.EnumFaceSlot import mcmultipart.api.slot.IPartSlot import mcmultipart.block.TileMultipartContainer import net.minecraft.block.material.Material import net.minecraft.block.properties.IProperty import net.minecraft.block.properties.PropertyEn...
6
Kotlin
2
4
fc060397fb0aced5a64c537bf21c8142d0833957
7,879
QuackLib
MIT License
kotlin/kotlin/src/main/kotlin/bg/softuni/kotlin/kotlin/web/GreeterController.kt
vankodj
583,402,005
false
{"Text": 964, "Ignore List": 144, "Gradle Kotlin DSL": 2, "Shell": 197, "Batchfile": 179, "Java Properties": 5, "Java": 458, "HTML": 434, "XML": 50, "Gradle": 12, "INI": 12, "YAML": 243, "SQL": 180, "CSS": 161, "Kotlin": 5, "SVG": 10, "Maven POM": 10, "JavaScript": 18148, "JSON": 1895, "Markdown": 1895, "Makefile": 18,...
package bg.softuni.kotlin.kotlin.web import bg.softuni.kotlin.kotlin.service.GreeterService import org.springframework.stereotype.Controller import org.springframework.ui.Model import org.springframework.ui.set import org.springframework.web.bind.annotation.GetMapping import org.springframework.web.bind.annotation.Req...
0
Java
0
0
4e5ebaf5ba42e0fea7073adccb35968fa3a99d76
620
SoftUni
MIT License
src/test/kotlin/com/github/ekohlwey/astrolabe/messages/HostMessageTest.kt
ekohlwey
419,396,789
false
null
package com.github.ekohlwey.astrolabe.messages import com.github.ekohlwey.astrolabe.* import com.github.ekohlwey.astrolabe.Direction.* import com.github.ekohlwey.astrolabe.HostMessage.Command.* import com.github.ekohlwey.astrolabe.HostMessage.GetParameter.* import com.github.ekohlwey.astrolabe.HostMessage.ReadValue.* ...
0
Kotlin
0
0
8f80099694846aee6af1be2326eba1d2675f7356
5,130
astrolabe
Apache License 2.0
enode/src/main/java/org/enodeframework/commanding/impl/DefaultProcessingCommandHandler.kt
junneyang
429,318,342
false
null
package org.enodeframework.commanding.impl import com.google.common.base.Strings import kotlinx.coroutines.CoroutineScope import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.async import kotlinx.coroutines.future.asCompletableFuture import org.enodeframework.commanding.* import org.enodeframework.common.Sy...
1
null
1
2
3a61f9ab29862c4aaf7e4f8140175b89473ec78e
18,070
enode
MIT License
app/src/main/java/com/hod/themoviedb/Presenter.kt
h-od
123,565,467
false
{"Kotlin": 13389}
package com.hod.themoviedb import android.support.annotation.CallSuper import io.reactivex.Observable import io.reactivex.disposables.CompositeDisposable import io.reactivex.disposables.Disposable abstract class Presenter<in V : Presenter.View> { private lateinit var viewSubscriptions: CompositeDisposable @...
0
Kotlin
0
0
93f823cd8b50c29e484378c2f313e96b9e2eb182
1,345
movies
MIT License
libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/sync/SlidingSyncListFlows.kt
vector-im
546,522,002
false
null
/* * Copyright (c) 2023 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 agr...
80
Kotlin
25
183
5f79988c06daa6e5eb27223bc3db821edb0865bc
2,313
element-x-android
Apache License 2.0
infrastructure/src/main/kotlin/com/mauscoelho/upcomingmovies/infrastructure/network/TmdbNetwork.kt
mauscoelho
74,774,273
false
null
package com.mauscoelho.upcomingmovies.infrastructure.network import com.mauscoelho.upcomingmovies.model.Genres import com.mauscoelho.upcomingmovies.model.Movie import com.mauscoelho.upcomingmovies.model.UpcomingMovies import retrofit2.http.GET import retrofit2.http.Path import retrofit2.http.Query import rx.Observable...
0
null
0
2
d2557985718a1712b1fe79853f525e22bea6543c
1,020
upcomingmovies
Apache License 2.0
app/src/main/java/plus/jone/android_idea/socket/base/OnSocketStateListener.kt
jonesruner
641,497,495
false
null
package jone.plus.socket.plus.base import java.lang.Exception import java.net.Socket interface OnSocketStateListener { fun prepare() fun connect() fun onNewConnect(socket: Socket) fun disConnect(exception: Exception?) }
0
Kotlin
0
1
79178eacf32f3acc32fab1df77c33e9f46dd7361
237
android_idea
Apache License 2.0
src/main/kotlin/br/com/zupedu/pix/externalConnections/bcb/requests/CreatePixKeyRequest.kt
olucasokarin
385,244,357
true
{"Kotlin": 72078, "Smarty": 1862, "Dockerfile": 177}
package br.com.zupedu.pix.externalConnections.bcb.requests import br.com.zupedu.pix.model.KeyPix import br.com.zupedu.pix.model.enums.TypeAccount import br.com.zupedu.pix.model.enums.TypeKey import java.lang.IllegalArgumentException import javax.validation.constraints.Size data class CreatePixKeyRequest( val keyT...
0
Kotlin
0
0
7832099ab206788de2c5ed04a69d1952e4c9201d
2,282
orange-talents-05-template-pix-keymanager-grpc
Apache License 2.0
app/src/main/java/com/muradtop/kitsu/presentation/models/manga/CastingsLinksUI.kt
muradtop
493,405,815
false
{"Kotlin": 144882}
package com.muradtop.kitsu.presentation.models.manga import com.muradtop.kitsu.domain.models.manga.LinksXXXModel data class LinksXXXUI( val self: String, val related: String ) fun LinksXXXModel.toUI() = LinksXXXUI( self, related )
0
Kotlin
0
0
9be8846ddd2bf85896a139a742314b23bca4a2e7
245
Kitsu-Auntheticator
MIT License
src/main/kotlin/com/anahoret/aoc2022/utils.kt
mikhalchenko-alexander
584,735,440
false
null
package com.anahoret.aoc2022 import kotlin.math.* fun calculateEndIndex(idx: Int, amount: Int, size: Int): Int { return calculateEndIndex(idx, amount.toLong(), size) } fun calculateEndIndex(idx: Int, amount: Long, size: Int): Int { val endIndex = idx + amount return when { endIndex in 0 until siz...
0
Kotlin
0
0
b8f30b055f8ca9360faf0baf854e4a3f31615081
3,688
advent-of-code-2022
Apache License 2.0
src/main/kotlin/showcase/Fab.kt
simonegiacomelli
432,381,505
true
{"Kotlin": 49477, "HTML": 483, "CSS": 208}
package showcase import mui.material.Fab import mui.material.SpeedDialIcon import react.Props import react.fc val FabShowcase = fc<Props> { Fab { attrs.color = "primary" // TODO: No ability to use `AddIcon` from [MUI] SpeedDialIcon {} } }
1
null
0
0
bd25a0b7127dbe01f8690c4a878b7de79b6a3f51
273
kotlin-mui-showcase
Apache License 2.0
operator/src/main/kotlin/eu/glasskube/operator/odoo/dependent/OdooPostgresScheduledBackup.kt
glasskube
528,301,150
false
null
package eu.glasskube.operator.odoo.dependent import eu.glasskube.kubernetes.api.model.metadata import eu.glasskube.operator.odoo.Odoo import eu.glasskube.operator.odoo.OdooReconciler import eu.glasskube.operator.odoo.dbName import eu.glasskube.operator.odoo.resourceLabels import eu.glasskube.operator.postgres.Schedule...
9
Kotlin
3
28
e42ec943ea6577f2ac1a64505faf5210f632f027
1,343
operator
MIT License
mandrake-backend/src/main/kotlin/com/fernandocejas/mandrake/backend/features/jobs/JobsRepository.kt
android10
357,895,491
false
null
package com.fernandocejas.mandrake.backend.features.jobs import com.fernandocejas.mandrake.backend.core.exception.* import com.fernandocejas.mandrake.backend.core.functional.* internal interface JobsRepository { fun createJob() fun getJobById(id: Int) fun deleteJob(id: Int) fun getAllJobs(): Either<Fa...
0
Kotlin
0
0
cee0f15878254c37adde90120343b47be92c90b7
339
mandrake
MIT License
src/test/kotlin/sqlbuilder/DefaultConstructorTest.kt
laurentvdl
27,872,125
false
null
package sqlbuilder import org.junit.Before import org.junit.Test import sqlbuilder.beans.UserWithNoDefaultConstructor import sqlbuilder.exceptions.NoDefaultConstructorException import sqlbuilder.impl.SqlBuilderImpl import sqlbuilder.kotlin.select.selectBeans import sqlbuilder.meta.FieldPropertyResolver class DefaultC...
1
null
2
6
4efe1dd61f6da45192a1b2741d654269616535d0
1,016
sqlbuilder
Apache License 2.0
app/src/main/java/com/swago/seenthemlive/ui/setlist/SetlistFragment.kt
ajswago
213,768,383
false
{"Kotlin": 139099}
package com.swago.seenthemlive.ui.setlist import android.app.Activity import android.app.AlertDialog import android.content.Intent import android.graphics.drawable.GradientDrawable import android.opengl.Visibility import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view....
0
Kotlin
0
0
1f131e5a086034217a9761369138ab3fdcf9cfe6
10,990
seen-them-live
MIT License
tabler/src/commonMain/kotlin/com/woowla/compose/icon/collections/tabler/tabler/outline/CodeOff.kt
walter-juan
868,046,028
false
{"Kotlin": 34345428}
package com.woowla.compose.icon.collections.tabler.tabler.outline import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap im...
0
Kotlin
0
3
eca6c73337093fbbfbb88546a88d4546482cfffc
2,762
compose-icon-collections
MIT License
platforms/fabric-1.15/src/main/java/org/anti_ad/mc/ipnext/compat/ModMenuApiImpl.kt
blackd
351,481,591
false
null
package org.anti_ad.mc.ipnext.compat import io.github.prospector.modmenu.api.ConfigScreenFactory import io.github.prospector.modmenu.api.ModMenuApi import org.anti_ad.mc.ipnext.gui.ConfigScreen class ModMenuApiImpl : ModMenuApi { override fun getModConfigScreenFactory(): ConfigScreenFactory<ConfigScreen> { ...
10
Kotlin
9
40
7da5d9f1aadb2ec0826d30c71257bec4c4d495fc
507
Inventory-Profiles
MIT License
saf-injectview-compiler/src/main/java/com/safframework/injectview/compiler/ExtraField.kt
fengzhizi715
79,627,291
false
null
package com.safframework.injectview.compiler import com.safframework.injectview.annotations.InjectExtra import javax.lang.model.element.Element import javax.lang.model.element.ElementKind import javax.lang.model.element.Name import javax.lang.model.element.VariableElement import javax.lang.model.type.TypeMirror /** ...
1
null
2
8
5136df3b9fe5b70b73957b2a9738864b06ccade6
1,315
SAF-Kotlin-InjectView
The Unlicense
src/main/kotlin/com/asarkar/gradle/Printer.kt
Spandana03
357,317,299
true
{"Kotlin": 20160}
package com.asarkar.gradle data class PrinterInput( val buildDuration: Long, val taskDurations: List<Pair<String, Long>>, val ext: BuildTimeTrackerPluginExtension ) interface Printer { fun print(input: PrinterInput) companion object { fun newInstance(output: Output): Printer {...
0
null
0
0
03259fad3af0b2a44eb1a451635bb972e3930b52
438
build-time-tracker
Apache License 2.0
sample/src/main/java/com/airbnb/mvrx/sample/models/Joke.kt
littleGnAl
167,345,526
false
null
package com.airbnb.mvrx.sample.models import com.squareup.moshi.Json data class Joke( @get:Json(name = "id") @Json(name = "id") val id: String, @get:Json(name = "joke") @Json(name = "joke") val joke: String )
1
null
1
3
7ea6284530a0640f36d12508a669b4f4222902c3
218
MvRx
Apache License 2.0
src/main/kotlin/ch/hevs/cloudio2/cloud/AuthenticationService.kt
cloudio-project
184,277,082
false
null
package ch.hevs.cloudio2.cloud import ch.hevs.cloudio2.cloud.model.Permission import ch.hevs.cloudio2.cloud.model.User import org.slf4j.LoggerFactory import org.springframework.amqp.core.ExchangeTypes import org.springframework.amqp.core.Message import org.springframework.amqp.rabbit.annotation.Exchange import org.spr...
3
Kotlin
0
0
2a7a6fa521887ae72311c87c39e214d6f3204698
4,163
cloudio-services
MIT License
core/domain/src/test/java/com/houlis/haris/core/domain/PictureImageTest.kt
HarisHoulis
595,512,452
false
{"Kotlin": 74440, "Shell": 135}
package com.houlis.haris.core.domain import com.houlis.haris.test.data.provider.dummyPictureRaw1 import org.junit.jupiter.api.Test import strikt.api.expectThat import strikt.assertions.isEqualTo internal class PictureImageTest { @Test fun `creates image`() { val imageBaseUrl = "someurl.com/" ...
8
Kotlin
0
0
679d1a897048f019c849e828913dcd645174f3ca
585
PicFind
Apache License 2.0
solar/src/main/java/com/chiksmedina/solar/lineduotone/notes/DocumentMedicine.kt
CMFerrer
689,442,321
false
{"Kotlin": 36591890}
package com.chiksmedina.solar.lineduotone.notes 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.StrokeCap.Companio...
0
Kotlin
0
0
3414a20650d644afac2581ad87a8525971222678
3,561
SolarIconSetAndroid
MIT License
game/plugins/src/main/kotlin/gg/rsmod/plugins/content/drops/DropEntry.kt
2011Scape
578,880,245
false
null
package gg.rsmod.plugins.content.drops import gg.rsmod.game.model.item.Item /** * Represents a possible drop entry. */ sealed class DropEntry { /** * A drop that will contain nothing. */ object NothingDrop : DropEntry() /** * A drop that will contain an item. */ class ItemDrop(v...
36
null
27
32
da66bb6d68ebae531ee325b909a6536e798b1144
885
game
Apache License 2.0