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/no/nav/tilgangsmaskin/populasjonstilgangskontroll/rest/Tilgangskontroll.kt
navikt
843,415,610
false
{"Kotlin": 2033, "Dockerfile": 170}
package no.nav.tilgangsmaskin.populasjonstilgangskontroll.rest import no.nav.tilgangsmaskin.populasjonstilgangskontroll.service.TilgangsService import org.springframework.web.bind.annotation.PostMapping import org.springframework.web.bind.annotation.RequestMapping import org.springframework.web.bind.annotation.RestCon...
0
Kotlin
0
0
4c1437929d190d281601ae8b68e534459c7b33a4
642
populasjonstilgangskontroll
MIT License
app/src/main/java/com/hitanshudhawan/popcorn2/network/ApiKeyInterceptor.kt
hitanshu-dhawan
214,371,969
false
null
package com.hitanshudhawan.popcorn2.network import okhttp3.Interceptor import okhttp3.Response class ApiKeyInterceptor(private val apiKey: String) : Interceptor { override fun intercept(chain: Interceptor.Chain): Response { val originalRequest = chain.request() val originalUrl = originalRequest.u...
3
null
4
20
b6b6ca8051ba3b2b50fb908a5c1e68d281454a5d
611
PopCorn2
Apache License 2.0
bittrader-candle-api/src/main/kotlin/org/kentunc/bittrader/candle/api/BittraderCandleApiApplication.kt
ken-tunc
430,691,495
false
null
package org.kentunc.bittrader.candle.api import org.springframework.boot.autoconfigure.SpringBootApplication import org.springframework.boot.runApplication @SpringBootApplication class BittraderCandleApiApplication fun main(args: Array<String>) { runApplication<BittraderCandleApiApplication>(*args) }
2
Kotlin
0
0
757c83fd604e5758a5e67bbfd98b33c1d9cc1961
309
bittrader
MIT License
android/src/main/java/com/jpiasecki/spatialsdk/ScaleView.kt
j-piasecki
868,164,718
false
{"Kotlin": 44340, "TypeScript": 15591, "Ruby": 3166, "Objective-C": 2527, "JavaScript": 1429, "Objective-C++": 1204, "C": 103, "Swift": 62}
package com.jpiasecki.spatialsdk import com.facebook.react.bridge.ReactContext import com.facebook.react.views.view.ReactViewGroup import com.meta.spatial.core.Vector3 import com.meta.spatial.toolkit.Scale class ScaleView(reactContext: ReactContext) : ReactViewGroup(reactContext), ComponentHolder { override var...
0
Kotlin
0
6
b1b15e35935e24f1b70a790beca04710285860ee
700
react-native-spatial-sdk
MIT License
kotlin-mui-icons/src/main/generated/mui/icons/material/DensitySmallRounded.kt
JetBrains
93,250,841
false
null
// Automatically generated - do not modify! @file:JsModule("@mui/icons-material/DensitySmallRounded") @file:JsNonModule package mui.icons.material @JsName("default") external val DensitySmallRounded: SvgIconComponent
10
Kotlin
5
983
7ef1028ba3e0982dc93edcdfa6ee1edb334ddf35
220
kotlin-wrappers
Apache License 2.0
src/main/kotlin/me/xiaozhangup/ostrich/OstrichPlayer.kt
xiaozhangup
841,522,776
false
{"Kotlin": 13980, "Shell": 128}
package me.xiaozhangup.ostrich import me.xiaozhangup.ostrich.video.ImageResizer import me.xiaozhangup.ostrich.video.ImageToColorBlockConverter import me.xiaozhangup.ostrich.video.VideoFrameExtractor import net.kyori.adventure.text.Component import net.kyori.adventure.text.serializer.gson.GsonComponentSerializer import...
0
Kotlin
0
0
87897e32e432a4abbc98f6d7d57f5cbb4735ff02
7,384
OstrichPlayer
Creative Commons Zero v1.0 Universal
client/src/main/java/com/bookstore/repository/TransactionRepository.kt
ezralazuardy
271,148,211
false
null
package com.bookstore.repository import com.bookstore.dao.remote.RemoteTransactionDAO import com.bookstore.model.request.transaction.CheckoutRequest import com.bookstore.model.request.transaction.PaymentRequest import com.bookstore.model.response.transaction.Transaction import com.bookstore.utils.SessionHelper import ...
0
Kotlin
0
7
d2f7dce513588e1797fa379bf43b70ec87759f29
1,317
bookstore
MIT License
sheetselection/src/main/java/com/khoben/sheetselection/SelectionDiffCallback.kt
khoben
405,875,392
false
null
package com.khoben.sheetselection import androidx.recyclerview.widget.DiffUtil class SelectionDiffCallback( private val oldList: List<SheetSelectionItem>, private val newList: List<SheetSelectionItem> ) : DiffUtil.Callback() { override fun getOldListSize(): Int = oldList.size override fun getNewList...
0
Kotlin
0
0
eeb0085cfb1cb91982d1d06f93cfdc51288abaa9
705
sheetselection
MIT License
mobile_app/src/main/kotlin/dev/marlonlom/apps/bookbar/settings/SettingsFragment.kt
marlonlom
384,998,032
false
null
/* * Copyright (c) 2021 marlonlom. * * 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...
0
Kotlin
0
0
7a8d956a136d3eb93e1813a9cbfed466052e6330
2,674
bookbar
Apache License 2.0
feature/wallpaper-picker/data/src/main/kotlin/ru/maksonic/beresta/feature/wallpaper_picker/data/store/WallpapersStore.kt
maksonic
580,058,579
false
{"Kotlin": 1587340, "Assembly": 374}
package ru.maksonic.beresta.feature.wallpaper_picker.data.store import androidx.compose.ui.graphics.Color import ru.maksonic.beresta.feature.wallpaper_picker.data.store.gradient.WallpaperGradientsStore import ru.maksonic.beresta.feature.wallpaper_picker.data.store.texture.WallpaperTexturesStore import ru.maksonic.bere...
0
Kotlin
0
0
d9a53cc50c6e149923fc5bc6fc2c38013bfadb9d
1,996
Beresta
MIT License
matrix-sdk-android/src/test/java/org/matrix/android/sdk/test/fakes/FakeWorkManagerProvider.kt
tchapgouv
340,329,238
false
null
/* * Copyright (c) 2022 The Matrix.org Foundation C.I.C. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
91
null
6
9
a2c060c687b0aa69af681138c5788d6933d19860
1,050
tchap-android
Apache License 2.0
domain/src/main/java/pl/kubisiak/dataflow/models/FavouritePosts.kt
szymonkubisiak
222,223,106
false
null
package pl.kubisiak.dataflow.models data class FavouritePosts(val favPostid: Post.ID?)
0
Kotlin
0
0
d498fe5d18d7a02b87e8240a0429a32de2845614
87
demo-android
MIT License
shared/src/commonMain/kotlin/com/prof18/feedflow/shared/domain/feed/retriever/FeedRetrieverRepository.kt
prof18
600,257,020
false
{"Kotlin": 746513, "HTML": 182777, "Swift": 163455, "SCSS": 161629, "CSS": 16810, "Shell": 2392, "JavaScript": 1214}
package com.prof18.feedflow.shared.domain.feed.retriever import co.touchlab.kermit.Logger import com.prof18.feedflow.core.model.FeedFilter import com.prof18.feedflow.core.model.FeedItem import com.prof18.feedflow.core.model.FeedItemId import com.prof18.feedflow.core.model.FeedSource import com.prof18.feedflow.core.mod...
27
Kotlin
18
332
60c15c24c157e46625e05158c5d048d4ca4b7217
16,952
feed-flow
Apache License 2.0
vuesaxicons/src/commonMain/kotlin/moe/tlaster/icons/vuesax/vuesaxicons/outline/Externaldrive.kt
Tlaster
560,394,734
false
{"Kotlin": 25133302}
package moe.tlaster.icons.vuesax.vuesaxicons.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 import androidx...
0
Kotlin
0
2
b8a8231e6637c2008f675ae76a3423b82ee53950
5,999
VuesaxIcons
MIT License
platform/vcs-impl/src/com/intellij/openapi/vcs/checkin/ReformatBeforeCheckinHandler.kt
JetBrains
2,489,216
false
null
// Copyright 2000-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.openapi.vcs.checkin import com.intellij.codeInsight.actions.AbstractLayoutCodeProcessor import com.intellij.codeInsight.actions.ReformatCodeProcessor import ...
191
null
4372
13,319
4d19d247824d8005662f7bd0c03f88ae81d5364b
2,935
intellij-community
Apache License 2.0
lifecycle/src/commonMain/kotlin/com/erolc/lifecycle/LifecycleEventObserver.kt
ErolC
786,106,502
false
{"Kotlin": 205561, "Swift": 620, "HTML": 304}
package com.erolc.lifecycle interface LifecycleEventObserver:LifecycleObserver { fun onStateChanged(source: LifecycleOwner, event: Lifecycle.Event) }
0
Kotlin
0
0
dacbb74a8c2e60359438c7b593c7d50027c06ede
155
MRouter
Apache License 2.0
app/src/main/java/com/sethchhim/kuboo_client/ui/main/downloads/DownloadsFragmentImpl1_Content.kt
befora
137,512,422
false
null
package com.sethchhim.kuboo_client.ui.main.downloads import androidx.lifecycle.Observer import com.google.android.material.tabs.TabLayout import com.sethchhim.kuboo_client.Extensions.compressFavorite import com.sethchhim.kuboo_client.Extensions.downloadListToBookList import com.sethchhim.kuboo_client.Settings import c...
1
Kotlin
39
81
33e456344172eab96b136e30130c4125096f253d
5,214
Kuboo
Apache License 2.0
src/main/kotlin/com/chattriggers/ctjs/utils/config/ConfigBoolean.kt
qkleinfelter
146,530,916
false
{"Proguard": 1, "Text": 3, "INI": 1, "Markdown": 5, "Gradle": 2, "Shell": 1, "Ignore List": 1, "Batchfile": 1, "YAML": 1, "Java Properties": 1, "JSON": 2, "JavaScript": 5, "Java": 1, "HAProxy": 1, "Kotlin": 113}
package com.chattriggers.ctjs.utils.config import com.chattriggers.ctjs.minecraft.libs.ChatLib import com.chattriggers.ctjs.minecraft.libs.renderer.Rectangle import com.chattriggers.ctjs.minecraft.libs.renderer.Renderer import com.chattriggers.ctjs.minecraft.libs.renderer.Text import com.chattriggers.ctjs.minecraft.wr...
1
null
1
1
2f55ec379cbf17f64991b10fd3dd8a1aac94fe14
2,480
ct.js
MIT License
bbfgradle/tmp/results/diffABI/wegyxbg_FILE.kt
DaniilStepanov
346,008,310
false
{"Markdown": 122, "Gradle": 762, "Gradle Kotlin DSL": 649, "Java Properties": 23, "Shell": 49, "Ignore List": 20, "Batchfile": 26, "Git Attributes": 8, "Kotlin": 82508, "Protocol Buffer": 12, "Java": 6674, "Proguard": 12, "XML": 1698, "Text": 13298, "INI": 221, "JavaScript": 294, "JAR Manifest": 2, "Roff": 217, "Roff M...
// Bug happens on JVM , JVM -Xuse-ir // FILE: tmp0.kt package wegyxbg import kotlin.reflect.* import kotlin.collections.* import kotlin.sequences.* import kotlin.text.* fun foo(p: Int?): Boolean =TODO() fun foo2(p: Int?): Boolean =TODO() class M<T: Any>(val z: T?) { fun nulled(): T? = TODO() } fun box(): Stri...
1
null
1
1
e772ef1f8f951873ebe7d8f6d73cf19aead480fa
865
kotlinWithFuzzer
Apache License 2.0
android/src/main/java/com/simplereactnativelibrary/SimpleReactNativeLibraryModule.kt
jannik-feuerhahn
500,572,969
false
{"Java": 6360, "Objective-C": 3492, "Kotlin": 1576, "TypeScript": 1532, "JavaScript": 1472, "Ruby": 1221, "Swift": 639, "Shell": 149, "C": 103}
package com.simplereactnativelibrary import com.facebook.react.bridge.* import android.util.Log class SimpleReactNativeLibraryModule(reactContext: ReactApplicationContext) : ReactContextBaseJavaModule(reactContext) { override fun getName(): String { return "SimpleReactNativeLibrary" } // Exampl...
1
null
1
1
c0dfcfad7c67f64fa15b63d9190807a7dd889692
981
simple-react-native-library
MIT License
platform/configuration-store-impl/src/RestoreDefaultSettingsAction.kt
hieuprogrammer
284,920,751
false
null
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.configurationStore import com.intellij.CommonBundle import com.intellij.openapi.actionSystem.AnActionEvent import com.intellij.openapi.application.* import c...
1
null
1
2
dc846ecb926c9d9589c1ed8a40fdb20e47874db9
1,604
intellij-community
Apache License 2.0
appmonet-sdk/appmonet-sdk-core/src/main/java/com/monet/bidder/adview/AdViewClient.kt
AppMonet
299,708,730
false
{"Java": 446521, "Kotlin": 285931, "Shell": 83}
package com.monet.bidder.adview import android.graphics.Bitmap import android.net.Uri import android.os.Build import android.webkit.WebResourceRequest import android.webkit.WebResourceResponse import android.webkit.WebView import com.monet.bidder.* class AdViewClient internal constructor(private val adViewManagerCall...
1
null
1
1
1af1e9d2d20508496cb14d7cf12930a0727a277c
2,039
appmonet-android-sdk
Freetype Project License
app/src/main/java/org/stepik/android/presentation/step_content_text/TextStepContentPresenter.kt
StepicOrg
42,045,161
false
null
package org.stepik.android.presentation.step_content_text import io.reactivex.Scheduler import io.reactivex.rxkotlin.plusAssign import io.reactivex.rxkotlin.subscribeBy import org.stepic.droid.di.qualifiers.BackgroundScheduler import org.stepic.droid.di.qualifiers.MainScheduler import ru.nobird.android.domain.rx.empty...
13
null
54
189
dd12cb96811a6fc2a7addcd969381570e335aca7
1,175
stepik-android
Apache License 2.0
plugins/kotlin/idea/tests/testData/gradle/multiplatform/core/features/compositeBuild/libraryWithRootProjectName/includedLibrary/utils/src/nativeMain/kotlin/LibraryNativeMain.kt
ingokegel
72,937,917
false
null
object LibraryUtilsNativeMain { fun call() = LibraryNativeMain.call() }
1
null
1
2
b07eabd319ad5b591373d63c8f502761c2b2dfe8
75
intellij-community
Apache License 2.0
app/src/main/java/dev/igokoro/moshi_enum/ModelKt.kt
igokoro
306,720,802
false
null
package dev.igokoro.moshi_enum import com.squareup.moshi.JsonClass enum class DoomedEnumKt{ B } @JsonClass(generateAdapter = true) data class ModelKt( val value: DoomedEnumKt )
1
null
1
1
04c1296529e6bc08702887397c39fca9a4091e6a
187
moshi-obfuscated-enums
Apache License 2.0
plugins/full-line/src/org/jetbrains/completion/full/line/services/TabSelectedItemStorageImpl.kt
xGreat
182,651,778
false
null
package org.jetbrains.completion.full.line.services import org.jetbrains.completion.full.line.AnalyzedFullLineProposal class TabSelectedItemStorageImpl : TabSelectedItemStorage { private var head: String? = null private var selectedProposal: AnalyzedFullLineProposal? = null override fun saveTabSelected(head: S...
1
null
1
1
fb5f23167ce9cc53bfa3ee054b445cf4d8f1ce98
670
intellij-community
Apache License 2.0
library_base/src/main/java/com/ckz/baselibrary/binding/ViewBinding.kt
c786909486
514,179,909
false
{"Gradle": 9, "Java Properties": 1, "Shell": 1, "Text": 1, "Ignore List": 8, "Batchfile": 1, "Markdown": 1, "INI": 5, "Proguard": 6, "Kotlin": 80, "XML": 48, "Java": 56}
package com.ckz.baselibrary.binding import android.graphics.drawable.Drawable import android.view.View import androidx.databinding.BindingAdapter import androidx.viewpager.widget.PagerAdapter import androidx.viewpager.widget.ViewPager /** *@packageName com.ckz.baselibrary.binding *@author kzcai *@date 11/25/20 */...
0
Java
0
0
de2681d4b6a0ed9459cea57b78ea7efa5a49f702
968
BaseMvvmModel
Apache License 2.0
app/src/main/java/com/foreveross/atwork/modules/group/module/SelectToHandleAction.kt
AoEiuV020
421,650,297
false
{"Java": 8618305, "Kotlin": 1733509, "JavaScript": 719597, "CSS": 277438, "HTML": 111559}
package com.foreveross.atwork.modules.group.module import android.os.Parcelable import com.foreveross.atwork.modules.route.action.RouteAction abstract class SelectToHandleAction(open var max: Int = -1) : RouteAction(), Parcelable
1
null
1
1
1c4ca5bdaea6d5230d851fb008cf2578a23b2ce5
231
w6s_lite_android
MIT License
src/test/kotlin/org/web3j/quorum/enclave/http/ResponseParserTest.kt
cgf4j
159,775,791
false
null
package org.web3j.quorum.enclave.http import org.assertj.core.api.Assertions.* import org.junit.Test import org.junit.Assert.assertTrue class ResponseParserTest { val httpOkChunkedResponse = """ HTTP/1.1 200 OK Transfer-Encoding: chunked Date: Wed, 02 Aug 2017 21:48:33 GMT ...
1
null
1
1
67bb6522d7c93154c3173a3634b8b537f8d5632f
3,739
quorum
Apache License 2.0
plugins/groovy/src/org/jetbrains/plugins/groovy/console/GroovyConsoleView.kt
JetBrains
2,489,216
false
null
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package org.jetbrains.plugins.groovy.console import com.intellij.execution.impl.ConsoleState import com.intellij.execution.impl.ConsoleState.NotStartedStated import com.intellij....
284
null
5162
16,707
def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0
1,389
intellij-community
Apache License 2.0
utils-ktx/src/main/java/me/shouheng/utils/ktx/NoDoubleClickListener.kt
Shouheng88
214,335,640
false
{"Markdown": 2, "Text": 1, "YAML": 2, "Gradle": 5, "Shell": 1, "Ignore List": 5, "Batchfile": 1, "INI": 1, "Proguard": 3, "Kotlin": 35, "XML": 66, "Java": 72}
package me.shouheng.utils.ktx import android.view.View /** Avoid to click twice in short time. */ abstract class NoDoubleClickListener : View.OnClickListener { private var lastClickTime: Long = 0 override fun onClick(v: View) { val currentTime = System.currentTimeMillis() if (currentTime - l...
1
Java
31
118
f4189fec9f7d8941d6e5550b1c42d46c68e825c3
845
utils-android
Apache License 2.0
analysis/analysis-api/testData/components/scopeProvider/staticDeclaredMemberScope/scriptWithClassDeclaration.kts
JetBrains
3,432,266
false
{"Kotlin": 79571273, "Java": 6776465, "Swift": 4063829, "C": 2609744, "C++": 1957654, "Objective-C++": 175279, "JavaScript": 130754, "Python": 59855, "Shell": 34920, "Objective-C": 21463, "Lex": 21452, "Batchfile": 11382, "CSS": 11368, "Ruby": 10470, "Dockerfile": 9907, "Groovy": 7092, "EJS": 5241, "CMake": 4473, "HTML...
// DO_NOT_CHECK_NON_PSI_SYMBOL_RESTORE // script abstract class Person { abstract val name: String } fun foo(action: () -> Int) { action() } foo { 42 + 42 }
181
Kotlin
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
171
kotlin
Apache License 2.0
feature-walletconnect-api/src/main/java/co/jp/soramitsu/walletconnect/domain/WalletConnectInteractor.kt
soramitsu
278,060,397
false
{"Kotlin": 5738291, "Java": 18796}
package co.jp.soramitsu.walletconnect.domain import com.walletconnect.web3.wallet.client.Wallet import jp.co.soramitsu.core.models.ChainId import jp.co.soramitsu.runtime.multiNetwork.chain.model.Chain @Suppress("ComplexInterface") interface WalletConnectInteractor { suspend fun getChains(): List<Chain> susp...
15
Kotlin
30
89
812c6ed5465d19a0616865cbba3e946d046720a1
2,077
fearless-Android
Apache License 2.0
meta-resource/src/main/java/com/rarible/core/meta/resource/resolver/GatewayProvider.kt
rarible
357,923,214
false
null
package com.rarible.core.meta.resource.resolver import java.util.Random interface GatewayProvider { fun getGateway(): String } class RandomGatewayProvider( private val gateways: List<String> ) : GatewayProvider { override fun getGateway(): String = gateways[Random().nextInt(gateways.size)] } class Cons...
0
Kotlin
3
9
fb72de3228c224daf7e8ec2e09becc4dee602733
446
service-core
MIT License
app/src/main/java/com/benny/openlauncher/preference/ColorPreferenceSupport.kt
penglu20
129,922,039
true
{"Java": 449795, "Kotlin": 224558}
/* * Copyright (C) 2017 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
0
Java
1
0
f6edb6fd668f7769c6d34731a0e77f49d078b460
7,704
openlauncher
Apache License 2.0
assertk-js/src/main/kotlin/assertk/failure.kt
sowmyav24
154,699,057
false
null
package assertk @Suppress("NOTHING_TO_INLINE") internal actual inline fun failWithNotInStacktrace(error: Throwable): Nothing { throw error }
1
null
1
1
f1175aefbe46a180dc586bcc5a8093baf500fad9
146
assertk
MIT License
WorkManagerNotifications/app/src/main/java/com/lazypotato/workmanager_notifications/receiver/MediaBroadcastReceiver.kt
eishon
346,190,149
false
null
package com.lazypotato.workmanager_notifications.receiver import android.content.BroadcastReceiver import android.content.Context import android.content.Intent import android.widget.Toast class MediaBroadcastReceiver : BroadcastReceiver() { override fun onReceive(context: Context?, intent: Intent?) { val ...
1
Kotlin
1
1
5bb1c98644ee46c9ce108c9e8af7f3b4ba55fdcf
732
Android-Samples
MIT License
JediTerm/src/main/kotlin/com/jediterm/app/JediTermMain.kt
BeichenDream
382,110,263
false
null
package com.jediterm.app import com.google.common.base.Predicate import com.google.common.collect.ForwardingMap import com.google.common.collect.Lists import com.google.common.collect.Maps import com.intellij.execution.filters.UrlFilter import com.intellij.openapi.Disposable import com.intellij.openapi.util.Pair impor...
0
null
0
1
dd6eb93967891556746e5a60714c425e3853002d
4,536
jediterm
Apache License 2.0
app-inspection/inspectors/database/testSrc/com/android/tools/idea/sqlite/mocks/FakeTableView.kt
JetBrains
60,701,247
false
null
/* * Copyright (C) 2019 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 app...
5
null
227
948
10110983c7e784122d94c7467e9d243aba943bf4
2,288
android
Apache License 2.0
Tester/src/main/java/indi/arrowyi/autoconfigtest/KotlinTest.kt
Arrowyi
571,398,529
false
{"Java": 91960, "Kotlin": 1188}
package indi.arrowyi.autoconfigtest import indi.arrowyi.autoconfig.AutoRegisterInt import indi.arrowyi.autoconfig.AutoRegisterString import indi.arrowyi.autoconfig.configmanager.AutoConfig @AutoRegisterString(defaultValue = "kotlin") const val KOLINT_TEST : String = "KOLINT_TEST" class KotlinTest { companion o...
1
null
1
1
02378435246a1f0f7ef8aa40fc1a2e91b697cb31
520
AutoConfig
Apache License 2.0
app/src/main/java/rgu5android/jetpack/data/ApiService.kt
RGU5Android
159,908,258
false
{"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Markdown": 1, "Proguard": 1, "XML": 22, "Kotlin": 44, "Java": 2}
package rgu5android.jetpack.data import androidx.lifecycle.LiveData import com.google.gson.JsonObject import retrofit2.Call import retrofit2.http.GET import retrofit2.http.Path import retrofit2.http.Query import rgu5android.jetpack.data.model.RepositorySearchResponse import rgu5android.jetpack.helper.ApiResponse impor...
0
Kotlin
0
0
8795f51b712489552492ab268b62f6584f0637c2
1,988
Android-Jetpack-Sample
Apache License 2.0
app/src/main/java/com/mapswithme/maps/auth/PhoneTokenHandler.kt
dnemov
245,413,600
false
null
package com.mapswithme.maps.auth import android.content.Intent import android.text.TextUtils import com.mapswithme.maps.Framework class PhoneTokenHandler : TokenHandler { override var token: String? = null override fun checkToken(requestCode: Int, data: Intent): Boolean { if (requestCode != Constants...
0
Kotlin
0
1
8b75114193e141aee14fcbc207a208c4a39de1db
553
omim.kt
Apache License 2.0
proto-router/src/test/kotlin/actor/proto/router/fixture/TestDispatcher.kt
asynkron
96,669,281
false
null
package actor.proto.router.fixture import actor.proto.mailbox.Dispatcher import actor.proto.mailbox.Mailbox class TestDispatcher : Dispatcher { override var throughput: Int = 10 override fun schedule(mailbox:Mailbox) { } }
8
null
21
211
5d42177ff79969000b64a150ac4433dee3209b45
238
protoactor-kotlin
Apache License 2.0
domain/src/main/java/com/luismunyoz/domain/browser/GetUserUseCase.kt
luismunyoz
589,924,211
false
null
package com.luismunyoz.domain.browser import javax.inject.Inject class GetUserUseCase @Inject constructor( private val browserRepositoryContract: BrowserRepositoryContract ) { suspend operator fun invoke() = browserRepositoryContract.getUser() }
0
Kotlin
0
0
8ca2a9579481eda06517ffb3c234fd6f095de2ce
256
DirBrowser
Apache License 2.0
src/test/kotlin/de/flapdoodle/kfx/layout/absolute/AbsolutePaneSampler.kt
flapdoodle-oss
451,526,335
false
{"Kotlin": 833180, "Java": 154205, "CSS": 40962, "Shell": 297}
/* * Copyright (C) 2022 * <NAME> <<EMAIL>> * * 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...
0
Kotlin
1
0
b879584f16bcd451b20596fd8c9f7d028105988f
6,173
de.flapdoodle.kfx
Apache License 2.0
lib/Domain/src/main/kotlin/com/blok/post/ListPostsQuery.kt
jvalduvieco
61,638,034
false
null
package com.blok.post import com.blok.common.Query import com.blok.common.Response import com.blok.model.Post class ListPostsQuery: Query() class ListPostsQueryResponse (val posts: List<Post>): Response()
0
Kotlin
0
0
fc9f9d50b77cfa80e8349c55d349fc8d0289759c
207
blok
MIT License
src/main/kotlin/com/gmail/blueboxware/libgdxplugin/filetypes/atlas/psi/impl/mixins/AtlasRegionMixin.kt
eashevchenko
83,151,121
true
{"Kotlin": 493156, "Java": 38976, "Lex": 3884, "HTML": 754}
package com.gmail.blueboxware.libgdxplugin.filetypes.atlas.psi.impl.mixins import com.gmail.blueboxware.libgdxplugin.filetypes.atlas.getValue import com.gmail.blueboxware.libgdxplugin.filetypes.atlas.psi.AtlasRegion import com.gmail.blueboxware.libgdxplugin.filetypes.atlas.psi.impl.AtlasElementImpl import com.intellij...
0
Kotlin
0
0
b546e7c169130e518022e28fa9f2580dd2204607
1,339
LibGDXPlugin
Apache License 2.0
app/src/main/java/com/platform/jsbridge/KVStoreJs.kt
breadwallet
37,503,422
false
null
package com.platform.jsbridge import android.content.Context import android.webkit.JavascriptInterface import com.platform.APIClient import com.platform.kvstore.RemoteKVStore import com.platform.kvstore.ReplicatedKVStore import com.platform.sqlite.KVItem import org.json.JSONObject import java.text.SimpleDateFormat imp...
5
Kotlin
450
385
dfbbfbfc92dae054e47f245e1ce2ac8a39e65e57
2,735
breadwallet-android
MIT License
an/Wechat/app/src/main/java/com/example/wechat/Message_Fragment.kt
danyfang
120,310,634
false
{"Java": 4437735, "Jupyter Notebook": 3510225, "Python": 2038115, "C++": 1751271, "HTML": 470330, "Scala": 345699, "TeX": 92352, "C": 58145, "Haskell": 35292, "Kotlin": 32248, "Shell": 8393, "R": 1616, "CSS": 1278, "ActionScript": 543, "JavaScript": 402, "Ruby": 303, "CMake": 239, "Go": 182}
package com.example.wechat import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.fragment.app.Fragment class Message_Fragment : Fragment() { override fun onCreateView(inflator : LayoutInflater, container : ViewGroup?, savedInstanceState...
1
Java
1
1
8168f6058648f2a330a7354daf3a73a4d8a4e730
439
SourceCode
MIT License
an/Wechat/app/src/main/java/com/example/wechat/Message_Fragment.kt
danyfang
120,310,634
false
{"Java": 4437735, "Jupyter Notebook": 3510225, "Python": 2038115, "C++": 1751271, "HTML": 470330, "Scala": 345699, "TeX": 92352, "C": 58145, "Haskell": 35292, "Kotlin": 32248, "Shell": 8393, "R": 1616, "CSS": 1278, "ActionScript": 543, "JavaScript": 402, "Ruby": 303, "CMake": 239, "Go": 182}
package com.example.wechat import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.fragment.app.Fragment class Message_Fragment : Fragment() { override fun onCreateView(inflator : LayoutInflater, container : ViewGroup?, savedInstanceState...
1
Java
1
1
8168f6058648f2a330a7354daf3a73a4d8a4e730
439
SourceCode
MIT License
cinescout/search/presentation/src/main/kotlin/cinescout/search/presentation/action/SearchAction.kt
fardavide
280,630,732
false
null
package cinescout.search.presentation.action internal sealed interface SearchAction { @JvmInline value class Search(val query: String) : SearchAction }
10
Kotlin
2
6
4c1b7baa4270e2b786982b2fd435a7128be9a70e
162
CineScout
Apache License 2.0
app/src/main/java/com/hope/guanjiapo/model/PrintDeviceModel.kt
kazeik
172,053,633
false
null
package com.hope.guanjiapo.model /** * @author <NAME> * QQ:77132995 email:<EMAIL> * 2019 03 05 19:20 * 类说明: */ class PrintDeviceModel { var address: String? = "" var name: String? = "" var status: Int? = 0 }
0
Kotlin
2
1
9c435adb7dfa134fdd016f26ee7817f971e2a11c
242
GuanJiaPo
Apache License 2.0
meijue-ui/src/main/java/com/obsez/mobile/meijue/ui/base/BaseActivity.kt
hedzr
146,757,111
false
null
package com.obsez.mobile.meijue.ui.base import android.annotation.SuppressLint import android.os.Build import android.os.Bundle import android.os.Handler import android.os.PersistableBundle import android.view.MenuItem import androidx.appcompat.app.ActionBarDrawerToggle import androidx.appcompat.app.AppCompatActivity ...
0
null
0
4
aa0782c8d42d412011faac9b7787eeb53efe7528
9,023
meijue-ui
MIT License
app/src/main/java/kr/feliz/tutorial_collection/common/CurrencyListFragmentExample.kt
daryeou
472,661,370
false
null
package kr.feliz.tutorial_collection.common // //import android.annotation.SuppressLint //import android.os.Bundle //import android.util.Log //import android.view.View //import androidx.core.content.ContextCompat //import androidx.fragment.app.activityViewModels //import androidx.lifecycle.Observer //import androidx.re...
0
Kotlin
0
0
303f2a572ce06df3c57032c72bb19350a68d78d8
2,687
android_tutorial_collection
MIT License
plugin-build/plugin/src/main/java/io/github/rudikone/plugin/RegisterTask.kt
rudikone
737,096,619
false
null
package io.github.rudikov.plugin import io.confluent.kafka.schemaregistry.avro.AvroSchema import io.confluent.kafka.schemaregistry.client.CachedSchemaRegistryClient import org.apache.avro.Schema import org.gradle.api.DefaultTask import org.gradle.api.provider.MapProperty import org.gradle.api.provider.Property import ...
0
null
0
1
c58c54a10eac132ce33fa0ad1f85b1db9596a86b
1,767
avroschema-wizard-plugin
MIT License
app/src/main/java/com/example/covidapp/ui/adapter/PrecautionsAdapter.kt
swapnilsparsh
341,976,513
false
null
package com.example.covidapp.ui.adapter import android.view.LayoutInflater import android.view.ViewGroup import androidx.recyclerview.widget.DiffUtil import androidx.recyclerview.widget.ListAdapter import androidx.recyclerview.widget.RecyclerView import com.example.covidapp.data.model.Model import com.example.covidapp...
1
Kotlin
7
9
37770bc00d7f5a461b34a78129e840bba3abb2ac
1,646
Covid-App
MIT License
src/main/kotlin/com/github/stormbit/vksdk/events/chat/ChatLeaveEvent.kt
Storm-bit
292,098,640
false
null
package com.github.stormbit.vksdk.events.chat import com.github.stormbit.vksdk.events.ServiceActionEvent import com.github.stormbit.vksdk.events.message.ChatMessageEvent import com.github.stormbit.vksdk.objects.AbstractMessage data class ChatLeaveEvent( val fromId: Int, val userId: Int, val chatId: Int ) ...
0
Kotlin
0
1
fe89aef3d11761475b1a246b92c49c2286c38130
366
vk-bot-sdk-kotlin
MIT License
src/commonMain/kotlin/com/soywiz/ktcc/util/CharExt.kt
korlibs
165,555,533
false
null
package com.soywiz.ktcc.util fun Char.isHexDigit() = this in '0'..'9' || this in 'a'..'f' || this in 'A'..'F' fun Char.isDigit() = this in '0'..'9' fun Char.isAlphaLC() = (this in 'a'..'z') fun Char.isAlphaUC() = (this in 'A'..'Z') fun Char.isAlpha() = isAlphaLC() || isAlphaUC() fun Char.isAlnum() = isAlpha() || isDig...
1
Kotlin
5
63
f3d1cace49f6a74e3aad71a2cdcc22b877d3c783
580
ktcc
MIT License
compose/animation/animation-core/src/commonMain/kotlin/androidx/compose/animation/core/AnimationEndReason.kt
androidx
256,589,781
false
{"Kotlin": 112114129, "Java": 66594571, "C++": 9132142, "AIDL": 635065, "Python": 325169, "Shell": 194520, "TypeScript": 40647, "HTML": 35176, "Groovy": 27178, "ANTLR": 26700, "Svelte": 20397, "CMake": 15512, "C": 15043, "GLSL": 3842, "Swift": 3153, "JavaScript": 3019}
/* * Copyright 2019 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...
30
Kotlin
950
5,321
98b929d303f34d569e9fd8a529f022d398d1024b
1,283
androidx
Apache License 2.0
app/src/main/java/com/mxt/anitrend/view/fragment/detail/NotificationFragment.kt
AniTrend
91,993,436
false
null
package com.mxt.anitrend.view.fragment.detail import android.content.Intent import android.os.Bundle import android.view.Menu import android.view.MenuInflater import android.view.MenuItem import android.view.View import android.widget.Toast import com.annimon.stream.IntPair import com.annimon.stream.Stream import com...
32
null
26
194
57aab12703f9e7cceac34e75557fca89247bae7c
11,433
anitrend-app
MIT License
Application/app/src/main/java/com/thephoenix/rockpaperscissors/data/viewModel/NavigationViewModel.kt
Samuelk0nrad
729,453,053
false
{"Kotlin": 261149}
package com.game.rockpaperscissors.data.viewModel import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.game.rockpaperscissors.data.PlayerDataState import com.game.rockpaperscissors.data.local.database.PlayerDataDao import com.google.firebase.ktx.Firebase import com.google.firebase.m...
0
Kotlin
0
0
9d3d557e91142b82f90f460397b1929460a024a4
1,907
Rock-Paper-Scissors
Boost Software License 1.0
android/apolloui/src/main/java/io/muun/apollo/presentation/ui/fragments/error/ErrorView.kt
muun
150,655,434
false
null
package io.muun.apollo.presentation.ui.fragments.error import io.muun.apollo.presentation.ui.base.BaseView interface ErrorView: BaseView { fun setViewModel(viewModel: ErrorViewModel) }
39
null
46
256
86048fe9f8059c9617f2e6d32e7d41c460dfb785
192
apollo
MIT License
hilt/hilt-network/src/main/java/org/fnives/test/showcase/hilt/network/auth/model/CredentialsRequest.kt
fknives
356,982,481
false
null
package org.fnives.test.showcase.hilt.network.auth.model import com.squareup.moshi.Json import com.squareup.moshi.JsonClass @JsonClass(generateAdapter = true) internal class CredentialsRequest( @Json(name = "username") val user: String, @Json(name = "password") val password: String )
9
Kotlin
2
5
5bf503d90e8a13daf5626afc0cdf8bff523d2b94
303
AndroidTest-ShowCase
Apache License 2.0
app/src/main/java/chat/rocket/android/chatroom/ui/bottomsheet/BottomSheetMenu.kt
lucasmontano
128,559,523
false
null
package chat.rocket.android.chatroom.ui.bottomsheet import android.support.design.widget.BottomSheetDialog import android.support.v7.widget.LinearLayoutManager import android.support.v7.widget.RecyclerView import android.view.MenuItem import ru.whalemare.sheetmenu.SheetMenu import ru.whalemare.sheetmenu.adapter.MenuAd...
0
null
0
3
83b14b60deade340b1b2b05e20f10fb7d3772280
1,139
Rocket.Chat.Android
MIT License
common/kotlinx-coroutines-core-common/src/test/kotlin/kotlinx/coroutines/experimental/WithContextTest.kt
sahlone
141,607,927
false
null
/* * Copyright 2016-2017 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
0
null
0
1
dae510bba39181b93978f7878c033a50dccad62b
5,843
kotlinx.coroutines
Apache License 2.0
app/src/main/java/com/farmerbb/notepad/model/Note.kt
Ajit-saini
706,726,758
false
{"Kotlin": 109678}
package com.farmerbb.notepad.model import java.util.Date data class Note( val metadata: NoteMetadata = Defaults.metadata, private val contents: NoteContents = Defaults.contents ) { val id: Long get() = metadata.metadataId val text: String get() = contents.text ?: "" val draftText: String get() = c...
0
Kotlin
0
0
516d34d6864b70d52ea2ddee7b190bc27d4147ac
431
Notepadd_App
Apache License 2.0
content/core/src/main/kotlin/br/com/mrocigno/bigbrother/core/BigBrother.kt
mrocigno
574,215,368
false
{"Kotlin": 343969, "HTML": 7133}
package br.com.mrocigno.bigbrother.core import android.app.Activity import android.app.Application import androidx.fragment.app.Fragment import com.jakewharton.threetenabp.AndroidThreeTen import kotlin.reflect.KClass object BigBrother { internal val tasks = mutableListOf<BigBrotherTask>() internal val config...
0
Kotlin
0
4
8deac7d4cf1b1395e5c23dc3b788266beb1fa19b
1,282
big-brother
Apache License 2.0
components/generator/imagevector/src/test/resources/kt/backing/WithoutPath.preview.kt
ComposeGears
778,162,113
false
{"Kotlin": 777429}
package io.github.composegears.valkyrie.icons import androidx.compose.foundation.Image import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.padding import androidx.compose.runtime.Composable import androidx.compose.ui.Modifier import androidx.compose.ui.graphics.vector.ImageVector im...
27
Kotlin
6
321
f0647081b15b907ad92b38c33eb62179ffd0f969
1,098
Valkyrie
Apache License 2.0
src/main/kotlin/no/nav/syfo/repository/dao/FeiletSendingDAO.kt
navikt
164,875,446
false
{"Kotlin": 389813, "Java": 333680, "XSLT": 25351, "PLSQL": 1668, "Dockerfile": 588, "Shell": 257}
package no.nav.syfo.repository.dao import no.nav.syfo.domain.FeiletSending import no.nav.syfo.repository.DbUtil import no.nav.syfo.repository.domain.PFeiletSending import org.springframework.jdbc.core.JdbcTemplate import org.springframework.jdbc.core.RowMapper import org.springframework.jdbc.core.namedparam.MapSqlPara...
1
Kotlin
0
0
b639ea519f4144e8f9c5d8d757240b68eddb25df
4,637
syfooppfolgingsplanservice
MIT License
sphinx/application/common/wrappers/wrapper-common/src/main/java/chat/sphinx/wrapper_common/HideBalance.kt
stakwork
340,103,148
false
{"Kotlin": 4008358, "Java": 403469, "JavaScript": 4745, "HTML": 4706, "Shell": 2453}
package chat.sphinx.wrapper_common object HideBalance { const val ENABLED = 1 const val DISABLED = 0 const val HIDE_BALANCE_SHARED_PREFERENCES = "general_settings" const val HIDE_BALANCE_ENABLED_KEY = "hide-balance-enabled" }
90
Kotlin
11
18
7811b4f4e5a0cf8a26f343704cfced011b1f9bad
245
sphinx-kotlin
MIT License
api/src/main/kotlin/no/nav/helsearbeidsgiver/inntektsmelding/api/inntekt/InntektResponse.kt
navikt
495,713,363
false
null
package no.nav.helsearbeidsgiver.inntektsmelding.api.inntekt import kotlinx.serialization.Serializable import no.nav.helsearbeidsgiver.felles.MottattHistoriskInntekt @Serializable data class InntektResponse( val bruttoinntekt: Double, val tidligereInntekter: List<MottattHistoriskInntekt> )
7
Kotlin
0
2
675e15bbbe24a959dd9425830a1724ca6f920588
301
helsearbeidsgiver-inntektsmelding
MIT License
src/main/kotlin/de/thm/mni/microservices/gruppe6/user/controller/LoginController.kt
microservices-thm-ss21
517,717,526
false
{"Kotlin": 47123, "Dockerfile": 150}
package de.thm.mni.microservices.gruppe6.user.controller import de.thm.mni.microservices.gruppe6.lib.classes.userService.User import org.slf4j.LoggerFactory import org.springframework.security.core.Authentication import org.springframework.web.bind.annotation.GetMapping import org.springframework.web.bind.annotation.R...
0
Kotlin
0
0
e363e88c8b2a8ee667e87a6fdc523639f662eff1
703
user-service
Apache License 2.0
src/main/kotlin/com/gegenbauer/typora/imagehelper/MigrationFileInfo.kt
Gegenbauer
603,798,747
false
null
package com.gegenbauer.typora.imagehelper import java.io.File /** * used for image file migration * key: source filename */ data class MigrationFileInfo( val imageFilename: String, val imageFile: File, var referredMdFile: File? = null, var targetPath: String = "", var targetMdReference: String ...
0
Kotlin
0
1
c27b01973483b5af9529d9008d167baab5ab5bcb
548
TyporaImageHelper
Apache License 2.0
src/test/kotlin/usecases/user/UpdatePasswordTests.kt
ktlib-org
718,419,916
false
{"Kotlin": 82894, "PLpgSQL": 4310}
package usecases.user import entities.user.Users import io.kotest.assertions.throwables.shouldThrow import io.kotest.matchers.shouldBe import org.ktlib.Encryption import org.ktlib.entities.ValidationException import usecases.UseCaseSpec class UpdatePasswordTests : UseCaseSpec() { init { "updatePassword" ...
0
Kotlin
0
0
89b34a887ba192c4e4e3e7ff9103127dc3c7b9ff
938
example-api
The Unlicense
line-awesome/src/commonMain/kotlin/compose/icons/lineawesomeicons/FishSolid.kt
DevSrSouza
311,134,756
false
{"Kotlin": 36756847}
package compose.icons.lineawesomeicons import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap.Butt import androidx.compose.ui.graphics.StrokeJoin.Miter import androidx.compose.ui.gra...
15
Kotlin
20
460
651badc4ace0137c5541f859f61ffa91e5242b83
5,008
compose-icons
MIT License
app/src/test/java/com/microsoft/device/samples/dualscreenexperience/domain/store/testutil/MockStoreDataSource.kt
microsoft
333,507,793
false
{"Kotlin": 626561, "HTML": 33449}
/* * * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. * */ package com.microsoft.device.samples.dualscreenexperience.domain.store.testutil import com.microsoft.device.samples.dualscreenexperience.data.store.StoreDataSource import com.microsoft.device.samples.dualscree...
1
Kotlin
6
29
76577bf9cb72fc5cadd0170652936cd7fc30e3f5
1,762
surface-duo-dual-screen-experience-example
MIT License
feature/home/src/main/kotlin/com/finwise/feature/home/LoginScreen.kt
nimaiwalsh
757,345,803
false
{"Kotlin": 31597, "Shell": 2385}
package com.finwise.feature.home import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Spacer import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.foundation.layout.padding import androidx.compose.found...
0
Kotlin
0
0
6f003a50f5fe59133c12069e631474a6e4f580df
1,919
finwise
Apache License 2.0
capjoy/src/nativeMain/kotlin/capjoy/command/list/ListDevicesCommand.kt
tokuhirom
811,163,805
false
{"Kotlin": 69973}
package capjoy.command.list import capjoy.command.list.utils.showTable import capjoy.model.command.ListDevicesOutput import capjoy.model.entity.CaptureDevice import capjoy.model.entity.CaptureDeviceFormat import com.github.ajalt.clikt.core.CliktCommand import com.github.ajalt.clikt.parameters.options.default import co...
2
Kotlin
0
0
45072351cb901fd3b721f42037b881f943deb9d6
2,929
capjoy
The Unlicense
app/src/main/kotlin/github/buriedincode/bookshelf/models/ReadBook.kt
Buried-In-Code
216,420,518
false
{"Kotlin": 151756, "JavaScript": 5009, "CSS": 758, "Dockerfile": 462}
package github.buriedincode.bookshelf.models import github.buriedincode.bookshelf.tables.ReadBookTable import kotlinx.datetime.LocalDate import org.jetbrains.exposed.dao.LongEntity import org.jetbrains.exposed.dao.LongEntityClass import org.jetbrains.exposed.dao.id.EntityID import org.jetbrains.exposed.sql.and class ...
2
Kotlin
0
0
c6e11f96e8ddf35a8b1ac4a32224fb0b79770188
1,020
Bookshelf
MIT License
app/src/main/kotlin/github/buriedincode/bookshelf/models/ReadBook.kt
Buried-In-Code
216,420,518
false
{"Kotlin": 151756, "JavaScript": 5009, "CSS": 758, "Dockerfile": 462}
package github.buriedincode.bookshelf.models import github.buriedincode.bookshelf.tables.ReadBookTable import kotlinx.datetime.LocalDate import org.jetbrains.exposed.dao.LongEntity import org.jetbrains.exposed.dao.LongEntityClass import org.jetbrains.exposed.dao.id.EntityID import org.jetbrains.exposed.sql.and class ...
2
Kotlin
0
0
c6e11f96e8ddf35a8b1ac4a32224fb0b79770188
1,020
Bookshelf
MIT License
app/src/main/kotlin/io/github/plastix/kotlinboilerplate/ui/base/AbstractViewModel.kt
Plastix
65,548,118
false
null
package com.trunglen.sexygirl.ui.base import android.databinding.BaseObservable abstract class AbstractViewModel : BaseObservable(), ViewModel { override fun bind() { } override fun unbind() { } override fun onDestroy() { // Hook for subclasses to clean up used resources } }
3
Kotlin
50
282
443762ca4f331cd2d37a042298e57416d3c63ab1
313
Kotlin-Android-Boilerplate
MIT License
subprojects/xsts/xsts-analysis/src/main/kotlin/hu/bme/mit/theta/xsts/analysis/util/XstsCombineExtractUtils.kt
ftsrg
39,392,321
false
null
/* * Copyright 2024 Budapest University of Technology and Economics * * 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 * * Unles...
50
null
42
49
cb77d7e6bb0e51ea00d2a1dc483fdf510dd8e8b4
1,421
theta
Apache License 2.0
src/main/java/net/azzy/forgotten/util/shenanigans/RarityNursery.kt
Dragonoidzero
300,290,159
false
null
package net.azzy.forgotten.util.shenanigans import net.azzy.forgotten.Forgotten.Companion.WTSLog import net.minecraft.enchantment.Enchantment import net.minecraft.util.Formatting import net.minecraft.util.Rarity import sun.misc.Unsafe import java.lang.reflect.Field object RarityNursery { private val rarityField...
0
Kotlin
0
0
fce2fe1592e7760e66a45f503dd48db3db8f8308
823
Where-They-Stood
Creative Commons Zero v1.0 Universal
app/src/main/kotlin/me/zhiyao/waterever/data/repo/ImageRepository.kt
WangZhiYao
243,558,800
false
null
package me.zhiyao.waterever.data.repo import me.zhiyao.waterever.data.db.dao.ImageDao import me.zhiyao.waterever.data.db.model.Image /** * * @author WangZhiYao * @date 2020/9/12 */ class ImageRepository( private val imageDao: ImageDao ) : Repository { suspend fun addImages(images: List<Image>) { ...
0
Kotlin
0
0
232f20d623209eb2b9fb889aeb05af6ec3fee535
356
WaterEver
Apache License 2.0
src/main/kotlin/net/bratur/trip/plugins/CallLogging.kt
stavangler
298,249,881
false
null
package net.bratur.trip.net.bratur.trip.plugins import io.ktor.application.Application import io.ktor.application.install import io.ktor.features.CallLogging import io.ktor.request.path import java.util.UUID import org.slf4j.event.Level fun Application.configureCallLogging() { install(CallLogging) { level = Lev...
0
Kotlin
0
0
a297fb7b087c9966bf3b3a885122472338a5231a
459
trip
Apache License 2.0
lib/src/main/java/graphql/nadel/engine/transform/hydration/batch/NadelBatchHydrator.kt
atlassian-labs
121,346,908
false
null
package graphql.nadel.engine.transform.hydration.batch import graphql.nadel.NextgenEngine import graphql.nadel.ServiceExecutionHydrationDetails import graphql.nadel.ServiceExecutionResult import graphql.nadel.engine.NadelEngineExecutionHooks import graphql.nadel.engine.blueprint.NadelBatchHydrationFieldInstruction imp...
24
null
23
157
d9bb3cf1f301c685ca6d578279c4b2c6d6a74158
8,030
nadel
Apache License 2.0
generate/src/main/kotlin/link/kotlin/scripts/ApplicationModule.kt
mmorihiro
83,640,176
true
{"TypeScript": 73763, "Kotlin": 61968, "CSS": 8914, "JavaScript": 4622, "HTML": 2000, "Shell": 517}
package link.kotlin.scripts import com.google.inject.Binder import com.google.inject.Module import com.google.inject.Provides import io.bootique.BQCoreModule import io.bootique.config.ConfigurationFactory import link.kotlin.scripts.commands.BuildCommand import link.kotlin.scripts.commands.ReadmeCommand class Applicat...
0
TypeScript
0
0
72fd5a25f256474888811b88e419782783fa7ae5
837
awesome-kotlin
Creative Commons Zero v1.0 Universal
varp-core/src/main/kotlin/net/voxelpi/varp/exception/path/InvalidWarpPathException.kt
VoxelPi
869,165,536
false
{"Kotlin": 178363, "Java": 2122}
package net.voxelpi.varp.exception.path public class InvalidWarpPathException( public val path: String, ) : Exception("Invalid warp path: \"$path\"")
0
Kotlin
0
0
f9c616f84996d87363d37ba64eac4f89b9a32bd6
155
Varp
MIT License
shared/src/commonMain/kotlin/uk/co/sentinelweb/cuer/app/service/cast/CastServiceController.kt
sentinelweb
220,796,368
false
{"Kotlin": 2627509, "CSS": 205156, "Java": 98919, "Swift": 85812, "HTML": 19322, "JavaScript": 12105, "Ruby": 2170}
package uk.co.sentinelweb.cuer.app.service.cast import kotlinx.coroutines.launch import uk.co.sentinelweb.cuer.app.service.EXTRA_ITEM_ID import uk.co.sentinelweb.cuer.app.service.cast.CastServiceContract.Companion.ACTION_DISCONNECT import uk.co.sentinelweb.cuer.app.service.cast.CastServiceContract.Companion.ACTION_STA...
95
Kotlin
0
2
1e3522bffa43f75f0e030f7ead3ce1b6873f5bd6
2,853
cuer
Apache License 2.0
mtproto/src/main/kotlin/com/github/badoualy/telegram/mtproto/secure/MTProtoMessageEncryption.kt
Miha-x64
436,587,061
true
{"Kotlin": 3919807, "Java": 75352}
package com.github.badoualy.telegram.mtproto.secure import com.github.badoualy.telegram.mtproto.auth.AuthKey import com.github.badoualy.telegram.mtproto.exception.AuthKeyIdDontMatchException import com.github.badoualy.telegram.mtproto.exception.MessageDecryptionException import com.github.badoualy.telegram.mtproto.sec...
1
Kotlin
2
3
1a8963dce921c1e9ef05b9d1e56d8fbcb1ea1c4b
10,210
kotlogram-resurrected
MIT License
shared/presentation/src/commonMain/kotlin/org/dukecon/presentation/model/FeedbackView.kt
dukecon
211,271,600
false
{"Gradle Kotlin DSL": 12, "Gradle": 5, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Groovy": 1, "AsciiDoc": 1, "Markdown": 1, "Proguard": 4, "XML": 107, "Kotlin": 259, "Java": 1, "JSON": 7, "Ruby": 2, "OpenStep Property List": 4, "Swift": 15, "YAML": 1, "Dockerfile": 1, "OASv3-json": 3}
package org.dukecon.presentation.model class FeedbackView(val value: Int)
16
Kotlin
0
5
aa12bd09830c3407635d0bc3e5691ba1ffaeeb2f
74
dukecon_mobile
Apache License 2.0
technocracy.foundation/src/main/kotlin/net/cydhra/technocracy/foundation/model/tileentities/impl/AggregatableTileEntity.kt
tth05
198,904,996
false
null
package net.cydhra.technocracy.foundation.tileentity import net.cydhra.technocracy.foundation.tileentity.api.TCAggregatable import net.cydhra.technocracy.foundation.tileentity.api.TCAggregatableTileEntity import net.minecraft.nbt.NBTTagCompound import net.minecraft.util.EnumFacing import net.minecraftforge.common.capa...
0
null
0
1
057d12813fbcb73a11b202caae0631020b2fa303
1,279
Technocracy
MIT License
clouddriver-event/src/main/kotlin/com/netflix/spinnaker/clouddriver/event/persistence/InMemoryEventRepository.kt
spinnaker
37,556,951
false
null
/* * Copyright 2019 Netflix, 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 or agreed to...
3
null
1029
434
88d1fd00b84e10cfefeed7628e749f9a24c13cc3
6,525
clouddriver
Apache License 2.0
js/js.translator/testData/box/package/initializersOfNestedPackagesExecute.kt
JakeWharton
99,388,807
true
null
// EXPECTED_REACHABLE_NODES: 1109 package foo1.foo2.foo3.foo5.foo6.foo7.foo8 val f = "OK" fun box() = f
0
Kotlin
28
83
4383335168338df9bbbe2a63cb213a68d0858104
105
kotlin
Apache License 2.0
src/main/java/org/samoxive/safetyjim/discord/commands/Ban.kt
Samoxive
90,876,603
false
null
package org.samoxive.safetyjim.discord.commands import net.dv8tion.jda.api.EmbedBuilder import net.dv8tion.jda.api.Permission import net.dv8tion.jda.api.entities.Guild import net.dv8tion.jda.api.entities.TextChannel import net.dv8tion.jda.api.entities.User import net.dv8tion.jda.api.events.message.guild.GuildMessageRe...
6
null
14
29
159333ad78809a9de6e1491c62bfc2875970bac0
4,940
SafetyJim
MIT License
src/main/kotlin/no/nav/syfo/behandling/BehandlingException.kt
navikt
121,716,621
false
{"Kotlin": 376271, "Dockerfile": 440}
package no.nav.syfo.behandling open class BehandlingException(val feiltype: Feiltype, message: String, cause: Exception?) : RuntimeException(message, cause) // AktorClient open class AktørException(feiltype: Feiltype, message: String, causedBy: Exception?) : BehandlingException(feiltype, message, causedBy) open class...
9
Kotlin
3
4
b8890f9b7464d3c300cb8bbedd07f572516883ed
2,207
syfoinntektsmelding
MIT License
ksol-core/src/test/kotlin/com/dgsd/ksol/core/utils/IntExtensionsTests.kt
dlgrech
524,875,633
false
null
package com.dgsd.ksol.core.utils import org.junit.jupiter.api.Assertions import org.junit.jupiter.api.DynamicTest import org.junit.jupiter.api.TestFactory class IntExtensionsTests { private val intToBytes = listOf( 1 to byteArrayOf(1, 0, 0, 0), 20 to byteArrayOf(20, 0, 0, 0), 44 to byteArrayOf(44, 0, 0...
0
Kotlin
2
9
153e922fa405d6ba6c33041002bcf53d6293c7cf
1,043
ksol
Apache License 2.0
zoomx/src/main/java/com/zoomx/zoomx/util/FileUtils.kt
district0
111,302,914
false
null
package com.zoomx.zoomx.util import java.io.File import java.io.FileInputStream import java.io.FileOutputStream import java.io.IOException import java.nio.channels.FileChannel @Throws(IOException::class) fun copyFile(sourceFile: File, destFile: File) { if (!destFile.parentFile.exists()) destFile.parentFil...
3
null
6
14
4274335315f92520e86c09abf7e8fb9e359d2a72
834
ZoomX
MIT License
app/src/main/java/com/evourse/instaclone/MainActivity.kt
dayashanknar
736,360,187
false
{"Kotlin": 38103}
package com.evourse.instaclone import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import com.evourse.instaclone.databinding.ActivityMainBinding import dagger.hilt.android.AndroidEntryPoint @AndroidEntryPoint class MainActivity : AppCompatActivity() { private val binding by lazy { Act...
0
Kotlin
0
0
72d4d9f1e711327c3cdf139ec935b9b82827f2ad
661
anonym
MIT License
common/src/commonMain/kotlin/com/artemchep/keyguard/provider/bitwarden/entity/request/CipherShareRequest.kt
AChep
669,697,660
false
{"Kotlin": 5516822, "HTML": 45876}
package com.artemchep.keyguard.provider.bitwarden.entity.request import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable @Serializable data class CipherShareRequest( @SerialName("cipher") val cipher: CipherRequest, @SerialName("collectionIds") val collectionIds: List<String>,...
66
Kotlin
31
995
557bf42372ebb19007e3a8871e3f7cb8a7e50739
323
keyguard-app
Linux Kernel Variant of OpenIB.org license