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
app/src/main/java/com/mvvm/contactlist/ui/MainActivity.kt
kishandonga
281,011,654
false
{"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "Java": 2, "XML": 34, "Kotlin": 24}
package com.mvvm.contactlist.ui import android.os.Bundle import android.view.MenuItem import androidx.appcompat.app.AppCompatActivity import androidx.core.view.GravityCompat import androidx.databinding.DataBindingUtil import androidx.navigation.fragment.NavHostFragment import androidx.navigation.ui.AppBarConfiguration...
1
null
1
1
2e31bb7462ba9db379155c351c3c8e13143eb835
2,621
MVVM-ContactList
Apache License 2.0
src/main/kotlin/com/between_freedom_and_space/mono_backend/mailing/service/models/Email.kt
Between-Freedom-and-Space
453,797,438
false
{"Kotlin": 614504, "HTML": 8733, "Dockerfile": 503, "Shell": 166}
package com.between_freedom_and_space.mono_backend.mailing.service.models @JvmInline value class Email(val address: String)
0
Kotlin
0
1
812d8257e455e7d5b1d0c703a66b55ed2e1dcd35
124
Mono-Backend
Apache License 2.0
straight/src/commonMain/kotlin/me/localx/icons/straight/outline/GraphicStyle.kt
localhostov
808,861,591
false
{"Kotlin": 79430321, "HTML": 331, "CSS": 102}
package me.localx.icons.straight.outline import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap.Companion.Butt import androidx.compose.ui.graphics.StrokeJoin.Companion.Mite...
1
Kotlin
0
5
cbd8b510fca0e5e40e95498834f23ec73cc8f245
3,616
icons
MIT License
app/src/main/java/com/vultisig/wallet/data/models/OneInchSwapPayloadJson.kt
vultisig
789,965,982
false
{"Kotlin": 1394352, "Ruby": 1713}
package com.vultisig.wallet.data.models import com.google.gson.JsonDeserializationContext import com.google.gson.JsonDeserializer import com.google.gson.JsonElement import com.google.gson.JsonObject import com.google.gson.JsonSerializationContext import com.google.gson.JsonSerializer import com.google.gson.annotations...
31
Kotlin
2
5
b39fefbe18e332461581807249810dd455fba814
2,627
vultisig-android
Apache License 2.0
framework/src/main/java/com/example/framework/features/policies/FirstFromCachePolicy.kt
xcelder
353,815,359
false
null
package com.example.framework.features.policies internal suspend fun <Entity> getDataFirstFromCache( isStored: suspend () -> Boolean, getFromCache: suspend () -> Entity, storeInCache: suspend (Entity) -> Unit, getFromNetwork: suspend () -> Entity ) = if (isStored()) { getFromCache() } e...
0
Kotlin
0
0
dff56f55e3e4b25946d43c3e91a4c3803b6e4b8d
382
citibox_challenge
Apache License 2.0
idea-plugin/p3c-common/src/main/kotlin/io/github/godfather1103/rule/impl/MethodReturnWrapperTypeRule.kt
godfather1103
629,270,898
false
{"Kotlin": 358334, "Java": 299326, "Shell": 629, "FreeMarker": 243, "CSS": 47}
package io.github.godfather1103.rule.impl import io.github.godfather1103.rule.IModifyRuleValue import io.github.godfather1103.service.BaseNameListServiceExt /** * <p>Title: Godfather1103's Github</p> * <p>Copyright: Copyright (c) 2023</p> * <p>Company: https://github.com/godfather1103</p> * * @aut...
0
Kotlin
14
66
5d3476ff806f46feed8855bee91841ee329d9bb6
1,136
p3c
Apache License 2.0
data/src/main/java/com/kafka/data/content/ContentRepository.kt
compose-forks
271,084,093
false
{"Kotlin": 266767, "Java": 11357}
package com.kafka.data.content import com.kafka.data.entities.Item import com.kafka.data.entities.asRecentlyVisited import com.kafka.data.model.data.Result import com.kafka.data.model.data.Success import com.kafka.data.model.data.dataOrThrowError import com.kafka.data.query.ArchiveQuery import kotlinx.coroutines.flow....
0
null
0
0
a528ca24c799f7f896cab65d2b2a0f8c11a7d2fd
1,546
Kafka
Apache License 2.0
platform/util/ui/src/com/intellij/ui/components/JBFontScaler.kt
ingokegel
72,937,917
false
null
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. package com.intellij.ui.components import com.intellij.util.ui.JBFont import java.awt.Font class JBFontScaler(private val origFont: Font) { private val originalDefaultSize = JBFont.labelFontSize...
1
null
1
2
b07eabd319ad5b591373d63c8f502761c2b2dfe8
773
intellij-community
Apache License 2.0
app/maliangDSL/src/main/java/com/rarcher/maliangdsl/dsl/bean/componentbean/PictureComponentBean.kt
Rarchers
428,103,015
false
null
package com.example.dsl.dsl.bean.componentbean import android.graphics.Bitmap import com.example.dsl.dsl.emun.ComponentType class PictureComponentBean( override val type: ComponentType, val bitmap:Bitmap, val height : Float, val width : Float ) : PathBean(type){ var positionX: Float = 0f var...
0
Kotlin
0
0
31ceea8e50a4bd27ac7b10af7106e5ad8a5329f3
344
MaLiang_DSL
MIT License
ivy-design/src/main/java/com/ivy/design/l4_patterns/delete/DeleteItem.kt
ILIYANGERMANOV
442,188,120
false
null
package com.ivy.design.l4_patterns.delete //Delete Button + Delete Confirmation Modal
0
Kotlin
1
1
eab596d90f3580dea527d404a0f453e5b9d2167e
86
ivy-design-android
MIT License
app/src/main/java/com/heyanle/easybangumi4/ui/cartoon_play/cartoon_recorded/clip_video/ClipVideoModel.kt
easybangumiorg
413,723,669
false
null
package com.heyanle.easybangumi4.ui.cartoon_play.cartoon_recorded.clip_video import android.content.Context import androidx.compose.runtime.getValue import androidx.compose.runtime.mutableLongStateOf import androidx.compose.runtime.mutableStateOf import androidx.compose.runtime.setValue import androidx.media3.common.u...
30
null
82
2,892
e1f67cc997884e4f6e0e7074c2bae599d3996c9a
6,328
EasyBangumi
Apache License 2.0
stripe/src/test/java/com/stripe/android/model/parsers/SourceCardDataJsonParserTest.kt
carolinemusyoka
269,436,815
true
{"Kotlin": 2172538, "Java": 64855, "Ruby": 6208, "Shell": 321}
package com.stripe.android.model.parsers import com.stripe.android.model.CardBrand import com.stripe.android.model.CardFunding import com.stripe.android.model.SourceFixtures import com.stripe.android.model.SourceTypeModel import com.stripe.android.model.TokenizationMethod import kotlin.test.Test import kotlin.test.ass...
0
null
0
1
016bf6ef4d559017e6d405a87e6de7e0d40ebcae
2,471
stripe-android
MIT License
src/jvmMain/kotlin/ui/utils/SunriseAndSunsetFormat.kt
HoneyCakeTeam
664,858,310
false
null
package ui.utils import java.time.Instant import java.time.LocalDateTime import java.time.ZoneId import java.time.format.DateTimeFormatter fun convertFromUnixToDate(unix: Long): String { val zoneId = ZoneId.of(ZoneId.systemDefault().id) val time = LocalDateTime.ofInstant(Instant.ofEpochSecond(unix), zoneId) ...
0
Kotlin
2
3
bcb3e145d73280fc77a23ae7f91e6613de601b46
415
Honey-Weather
Apache License 2.0
android/src/main/kotlin/com/posthog/posthog_flutter/PosthogFlutterPlugin.kt
PostHog
274,941,768
false
{"Dart": 32921, "Kotlin": 16467, "Swift": 13916, "Ruby": 4134, "HTML": 3201, "JavaScript": 1508, "Shell": 1250, "Objective-C": 791, "Makefile": 319}
package com.posthog.posthog_flutter import android.content.Context import android.content.pm.ApplicationInfo import android.content.pm.PackageManager import android.os.Build import android.os.Bundle import android.util.Log import com.posthog.PersonProfiles import com.posthog.PostHog import com.posthog.PostHogConfig im...
10
Dart
38
52
e1715271b1011d3daeea04ecf813bd1bbc47982f
14,854
posthog-flutter
MIT License
UdemyRetrofiet/JwtAndroid/app/src/main/java/ec/com/paul/jwtandroid/MainActivity.kt
PaulMarcelo
255,495,694
false
null
package ec.com.paul.jwtandroid import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.util.Log import ec.com.paul.jwtandroid.api.WebServiceApi import ec.com.paul.jwtandroid.api.WebServiceJWT import ec.com.paul.jwtandroid.model.Login import kotlinx.android.synthetic.main.activity_main.*...
0
Kotlin
0
0
5c363e7e5837eaec8c43c1edf6eafa69ab84725d
4,415
Android
Apache License 2.0
app/src/main/java/com/frhanklindevs/bantukuy/donor/ui/fragments/dashboard/widgets/box/DonationBoxWidget.kt
frhanklin
432,865,086
false
{"Kotlin": 168127}
package com.frhanklindevs.bantukuy.donor.ui.fragments.dashboard.widgets.box import android.icu.text.NumberFormat import android.os.Bundle import androidx.fragment.app.Fragment import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.fragment.app.activityViewModels impor...
0
Kotlin
0
0
304d966344317e9d09daa0d5b89f0d862e896c17
4,590
BantuKuy
Apache License 2.0
core/src/commonMain/kotlin/work/socialhub/kbsky/api/entity/app/bsky/video/VideoGetJobStatusRequest.kt
uakihir0
735,265,237
false
{"Kotlin": 396349, "Shell": 1421, "Makefile": 315}
package work.socialhub.kbsky.api.entity.app.bsky.video import work.socialhub.kbsky.api.entity.share.AuthRequest import work.socialhub.kbsky.api.entity.share.MapRequest import work.socialhub.kbsky.auth.AuthProvider class VideoGetJobStatusRequest( auth: AuthProvider, val jobId: String ) : AuthRequest(auth), Map...
2
Kotlin
1
17
648870de4e311a209096822b9b73767e0e050c37
484
kbsky
MIT License
shared/src/commonMain/kotlin/presentation/screen/components/ShimmerTabBar.kt
adelsaramii
727,620,001
false
{"Kotlin": 1014333, "Swift": 2299, "Shell": 228}
package com.attendace.leopard.presentation.screen.components import androidx.compose.foundation.background import androidx.compose.foundation.layout.Row import androidx.compose.foundation.layout.padding import androidx.compose.foundation.layout.wrapContentHeight import androidx.compose.runtime.Composable import androi...
0
Kotlin
0
0
ed51d4c99caafefc5fc70cedbe0dd0fa62cce271
1,228
Leopard-Multiplatform
Apache License 2.0
app/src/main/java/com/mburakcakir/taketicket/ui/event/turkish/TurkishEventFragment.kt
mburakcakir
319,590,139
false
null
package com.mburakcakir.taketicket.ui.event.turkish import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.fragment.app.Fragment import androidx.lifecycle.ViewModelProvider import com.mburakcakir.taketicket.data.db.entity.EventModel import com...
0
Kotlin
2
3
d8f1c95a6acac306d349d82c2d1fe91fcb739f09
2,262
TakeTicket
Apache License 2.0
client/android/divkit-demo-app/src/main/java/com/yandex/divkit/demo/utils/ContextUtils.kt
divkit
523,491,444
false
{"Kotlin": 7327303, "Swift": 5164616, "Svelte": 1148832, "TypeScript": 912803, "Dart": 630920, "Python": 536031, "Java": 507940, "JavaScript": 152546, "CSS": 37870, "HTML": 23434, "C++": 20911, "CMake": 18677, "Shell": 8895, "PEG.js": 7210, "Ruby": 3723, "C": 1425, "Objective-C": 38}
package com.yandex.divkit.demo.utils import android.content.Context import android.net.ConnectivityManager import android.view.WindowManager val Context.connectivityManager: ConnectivityManager get() = getSystemService(Context.CONNECTIVITY_SERVICE) as ConnectivityManager val Context.windowManager: WindowManager ...
5
Kotlin
128
2,240
dd102394ed7b240ace9eaef9228567f98e54d9cf
389
divkit
Apache License 2.0
models/src/main/kotlin/motif/models/parsing/ChildMethodParser.kt
HubBucket-Team
154,919,728
true
{"Markdown": 15, "Gradle": 13, "Java Properties": 5, "Shell": 2, "Ignore List": 1, "Batchfile": 1, "Text": 1, "YAML": 1, "Kotlin": 102, "Java": 275, "XML": 20}
/* * Copyright (c) 2018 Uber Technologies, 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 ...
0
Java
1
1
835dc7630d91fe51e3c780fc97fda4f550896e8b
1,284
motif
Apache License 2.0
nft/migration/src/main/kotlin/com/rarible/protocol/nft/migration/mongock/mongo/ChangeLog00014UploadSvgsForCryptoPunks.kt
NFTDroppr
418,665,809
true
{"Kotlin": 2329156, "Scala": 37343, "Shell": 6001, "HTML": 547}
package com.rarible.protocol.nft.migration.mongock.mongo import com.github.cloudyrock.mongock.ChangeLog import com.github.cloudyrock.mongock.ChangeSet import com.rarible.protocol.nft.core.service.CryptoPunksMetaService import com.rarible.protocol.nft.migration.configuration.IpfsProperties import io.changock.migration....
0
Kotlin
0
1
b1efdaceab8be95429befe80ce1092fab3004d18
4,902
ethereum-indexer
MIT License
multiplatform-result/src/commonMain/kotlin/cat.helm.result/Result.kt
HelmMobile
246,812,665
false
null
package cat.helm.result /** * Created by Borja on 4/1/17. */ sealed class Result<out Value, out Exception : Throwable> { abstract val value: Value class Success<out Value>(override val value: Value) : Result<Value, Nothing>() class Failure<out Exception : Throwable>(val exception: Exception) : Result...
0
Kotlin
0
4
c784f30a03d3da301cc4837387328455120a01bb
3,022
MultiplatformResult
Apache License 2.0
Programming-With-IntelliJ-IDEA/Programming-With-IntelliJ-IDEA/src/main/kotlin/berkenalandenganCoroutines/CoroutineDispatcher.kt
eby8zevin
248,026,114
false
{"Kotlin": 107743}
package berkenalandenganCoroutines import kotlinx.coroutines.* /* Dispatcher.Default launch { // TODO: Implement suspending lambda here } launch(Dispatcher.Default){ // TODO: Implement suspending lambda here } Dispatcher.IO launch(Dispatcher.IO){ // TODO: Implement algorithm here } Dispatcher.Unconfined...
0
Kotlin
0
0
bde791efe687f35dffb6ae6e352e10abeab8bc4e
1,155
started-Kotlin
MIT License
src/main/kotlin/io/github/arcticpot/jublockly/base/data/ActionBarData.kt
arctic-pot
600,395,021
false
{"Kotlin": 39006, "Java": 5203}
package io.github.arcticpot.jublockly.base.data import net.minecraft.text.Text object ActionBarData { val health = StatValue(0) val maxHealth = StatValue(0) val trueDefense = StatValue(0) val defense = StatValue(0) val mana = StatValue(0) val overflowMana = StatValue(0) val maxMana = Stat...
0
Kotlin
0
0
0bd391206b3c7599e747cd11aeb88d67ed6bc69b
4,669
jublockly
MIT License
application/src/main/java/com/svprdga/mvppaymentflowdemo/presentation/presenter/AmountPresenter.kt
svprdga
164,151,243
false
null
package com.svprdga.mvppaymentflowdemo.presentation.presenter import com.svprdga.mvppaymentflowdemo.presentation.eventbus.AmountBus import com.svprdga.mvppaymentflowdemo.presentation.eventbus.AmountData import com.svprdga.mvppaymentflowdemo.presentation.eventbus.AmountEvent import com.svprdga.mvppaymentflowdemo.presen...
1
Kotlin
1
1
fc15e5fee6798cdbdba0313cb7c386c74ce3c3b0
1,450
mvppaymentflowdemo
Apache License 2.0
src/main/kotlin/com/swisschain/utils/AppVersion.kt
swisschain
255,464,363
false
null
package com.lykke.matching.engine.utils import java.net.InetAddress import java.text.SimpleDateFormat import java.util.Date import java.util.jar.Attributes import java.util.jar.Manifest object AppVersion { val REVISION_NUMBER: String? val BUILD_NUMBER: String? val VERSION: String? val INSTANCE_UNIQU...
1
null
1
1
5ef23544e9c5b21864ec1de7ad0f3e254044bbaa
1,515
Exchange.MatchingEngine
Apache License 2.0
voice-search/voice-search-impl/src/main/java/com/duckduckgo/voice/impl/VoiceSearchPermissionDialogsLauncher.kt
hojat72elect
822,396,044
false
{"Kotlin": 11627106, "HTML": 65873, "Ruby": 16984, "C++": 10312, "JavaScript": 5520, "CMake": 1992, "C": 1076, "Shell": 784}
package com.duckduckgo.voice.impl import android.content.Context import com.duckduckgo.app.statistics.pixels.Pixel import com.duckduckgo.common.ui.view.dialog.TextAlertDialogBuilder import com.duckduckgo.di.scopes.ActivityScope import com.squareup.anvil.annotations.ContributesBinding import javax.inject.Inject inte...
0
Kotlin
0
0
54351d039b85138a85cbfc7fc3bd5bc53637559f
4,063
DuckDuckGo
Apache License 2.0
incubator/clients/kroviz/src/test/kotlin/org/apache/causeway/client/kroviz/snapshots/demo2_0_0/TEXT_LAYOUT.kt
apache
6,935,442
false
null
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License")...
4
null
294
751
cfb994d281118effa2363528c6d5cf74c8c64cae
20,761
causeway
Apache License 2.0
src/main/kotlin/github/ijkzen/blog/service/GitService.kt
ijkzen
209,753,689
false
null
package github.ijkzen.blog.service import com.jcraft.jsch.JSch import com.jcraft.jsch.Session import github.ijkzen.blog.utils.* import org.eclipse.jgit.api.Git import org.eclipse.jgit.transport.JschConfigSessionFactory import org.eclipse.jgit.transport.OpenSshConfig import org.eclipse.jgit.transport.SshTransport impor...
0
Kotlin
0
0
4905191f3cef3bea196bc441337e9ae1cd168609
5,199
Blog-Backend
MIT License
payments-core/src/main/java/com/stripe/android/paymentsheet/repositories/StripeIntentRepository.kt
michelleb-stripe
378,098,509
true
{"Kotlin": 3206059, "Java": 67346, "Ruby": 6208, "Shell": 328}
package com.stripe.android.paymentsheet.repositories import com.stripe.android.model.StripeIntent import com.stripe.android.networking.ApiRequest import com.stripe.android.networking.StripeRepository import com.stripe.android.paymentsheet.model.ClientSecret import com.stripe.android.paymentsheet.model.PaymentIntentCli...
1
null
1
1
ef2197fabeb47436a4119e23dab74041c31320d4
2,205
stripe-android
MIT License
components/ledger/ledger-persistence/src/main/kotlin/net/corda/ledger/persistence/json/ContractStateVaultJsonFactoryRegistry.kt
corda
346,070,752
false
{"Kotlin": 20533702, "Java": 307325, "Smarty": 115357, "Shell": 54409, "Groovy": 30246, "PowerShell": 6470, "TypeScript": 5826, "Solidity": 2024, "Batchfile": 244}
package net.corda.ledger.persistence.json import net.corda.v5.ledger.utxo.ContractState import net.corda.v5.ledger.utxo.query.json.ContractStateVaultJsonFactory /** * A storage for contract state json factories. */ interface ContractStateVaultJsonFactoryRegistry { /** * Store a given contract state json f...
13
Kotlin
26
67
4b87ed3ff03a7e0b7672287a96ddf99e0554c4df
646
corda-runtime-os
Apache License 2.0
example/android/app/src/main/kotlin/com/example/bottomnavlayout/example/MainActivity.kt
m-azyoksul
377,648,043
false
null
package com.example.bottomnavlayout.example import io.flutter.embedding.android.FlutterActivity class MainActivity: FlutterActivity() { }
4
Dart
9
34
0bbf61638909f65cfa7610e41a4cbc98ad7928c8
140
bottom_nav_layout
MIT License
modules/tak/compose/icons/src/main/kotlin/dev/jonpoulton/alakazam/tak/compose/icons/radial/Chat.kt
jonapoul
375,762,483
false
{"Kotlin": 2898393, "Shell": 670}
package dev.jonpoulton.alakazam.tak.compose.icons.radial import androidx.compose.runtime.Composable 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 im...
0
Kotlin
0
0
7769263ac0c6f0976facff732cf533dfd7ec44a3
5,911
alakazam
Apache License 2.0
wearos/src/main/java/dev/sergiobelda/todometer/wear/ui/home/HomeScreen.kt
serbelga
301,817,067
false
null
/* * Copyright 2021 Sergio Belda * * 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...
16
null
9
93
bd39269ff685f0ac1c487becfa106fb7ece2cf1a
4,733
ToDometer_Kotlin_Multiplatform
Apache License 2.0
src/integration/kotlin/at/ahammer/bluetooth/checker/CheckDeviceIT.kt
andi-git
102,292,061
false
null
package at.ahammer.bluetooth.checker import com.github.kittinunf.fuel.core.ResponseDeserializable import com.github.kittinunf.fuel.httpGet import com.github.kittinunf.result.Result import com.google.gson.Gson import com.nhaarman.expect.expect import com.nhaarman.expect.fail import kotlinx.coroutines.experimental.runBl...
0
Kotlin
0
0
d3d5de2da70191b8e83031d20a457c1313906f09
1,390
kotlin-test
MIT License
browser-kotlin/src/jsMain/kotlin/web/rtc/RTCAnswerOptions.kt
karakum-team
393,199,102
false
{"Kotlin": 6619312}
// Automatically generated - do not modify! package web.rtc sealed external interface RTCAnswerOptions : RTCOfferAnswerOptions
0
Kotlin
6
28
2e94b60c9e3838c464ab9da211ca44de54e74133
133
types-kotlin
Apache License 2.0
buildSrc/src/main/kotlin/com/jakewharton/rxbinding/project/KotlinGenTask.kt
AaronYang23
146,552,871
false
null
package com.jakewharton.rxbinding.project import com.jakewharton.rxbinding.project.conversion.convertToKotlinFile import org.gradle.api.tasks.SourceTask import org.gradle.api.tasks.TaskAction import org.gradle.api.tasks.incremental.IncrementalTaskInputs import java.io.File private val SLASH = File.separator open cla...
0
null
0
1
88092a168a5bb25920418208ea5a29558ae6e286
1,119
RxBinding
Apache License 2.0
shared/src/commonMain/kotlin/view/shared/HelperFunctions.kt
fkischewski99
727,426,243
false
{"Kotlin": 104961, "Swift": 580, "Shell": 228}
package view.shared import getPlatformName import kotlinx.datetime.Clock import kotlinx.datetime.Instant import kotlinx.datetime.LocalDate import kotlinx.datetime.toLocalDateTime class HelperFunctions { companion object { fun formatLongDate(time: Long): String { val date = Instant.fromEpochMil...
0
Kotlin
0
0
e3d32118e590a4f75393ed68f94b9eaa56b929cd
740
futterbock_app
Apache License 2.0
shared/src/commonMain/kotlin/view/shared/HelperFunctions.kt
fkischewski99
727,426,243
false
{"Kotlin": 104961, "Swift": 580, "Shell": 228}
package view.shared import getPlatformName import kotlinx.datetime.Clock import kotlinx.datetime.Instant import kotlinx.datetime.LocalDate import kotlinx.datetime.toLocalDateTime class HelperFunctions { companion object { fun formatLongDate(time: Long): String { val date = Instant.fromEpochMil...
0
Kotlin
0
0
e3d32118e590a4f75393ed68f94b9eaa56b929cd
740
futterbock_app
Apache License 2.0
mobile/src/main/java/com/krisbiketeam/smarthomeraspbpi3/MobileApplication.kt
GITkrisbiketeam
139,046,047
false
{"Gradle": 6, "JSON": 4, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 4, "Batchfile": 1, "Markdown": 1, "XML": 79, "Proguard": 3, "Kotlin": 156, "Java": 5, "JavaScript": 1, "JSON with Comments": 1, "CMake": 1, "C++": 1, "C": 15}
package com.krisbiketeam.smarthomeraspbpi3 import android.app.Application import com.google.firebase.FirebaseApp import com.krisbiketeam.smarthomeraspbpi3.di.myModule import org.koin.android.ext.koin.androidContext import org.koin.core.context.startKoin import timber.log.Timber class MobileApplication : Application()...
1
null
1
1
f85cc18ef75ef6a73c940c4fc86b46dbca729fb2
802
SmartHomeRaspbPi3
Apache License 2.0
tesla-tool/src/commonMain/kotlin/org/teslatoolkit/tool/vehicle/command/ExecuteOpenChargePortCommand.kt
szantogab
442,446,551
true
{"Kotlin": 83956, "Shell": 418}
package org.teslatoolkit.tool.vehicle.command import org.teslatoolkit.model.command.OpenChargePortCommand class ExecuteOpenChargePortCommand : ExecuteVehicleCommand<OpenChargePortCommand>( name = "open-charge-port", help = "Opens the Charge Port Door" ) { override fun createCommandRequest(): OpenChargePortComma...
0
null
0
0
92d8ed0d62b053b2a96d3e3ba5ad881c051162c9
355
tesla.kt
MIT License
ide-common/src/main/kotlin/org/digma/intellij/plugin/common/AlarmUtils.kt
digma-ai
472,408,329
false
{"Kotlin": 1686412, "Java": 579281, "C#": 117248, "Shell": 13664, "HTML": 11307, "FreeMarker": 10897}
package org.digma.intellij.plugin.common import com.intellij.util.Alarm import org.digma.intellij.plugin.errorreporting.ErrorReporter fun addRequestWithErrorReporting(alarm: Alarm, task: Runnable, delayMillis: Int, messageOnError: String) { alarm.addRequest({ try { task.run() } catch ...
477
Kotlin
7
32
ce460b0cdc604968d267b98e72bf9dd211cf39b3
439
digma-intellij-plugin
MIT License
src/main/kotlin/me/arasple/mc/trmenu/commands/sub/CommandItem.kt
DusKAugustus
288,902,080
true
{"Kotlin": 291052}
package me.arasple.mc.trmenu.commands.sub import io.izzel.taboolib.cronus.CronusUtils import io.izzel.taboolib.module.command.base.Argument import io.izzel.taboolib.module.command.base.BaseSubCommand import io.izzel.taboolib.module.command.base.CommandType import io.izzel.taboolib.util.Hastebin import io.izzel.tabooli...
0
null
0
1
fda531aa22f985b787f67995d82450d9704ad38b
1,941
TrMenu
MIT License
adaptive-core/src/commonMain/kotlin/fun/adaptive/foundation/testing/entry.kt
spxbhuhb
788,711,010
false
{"Kotlin": 2231374, "Java": 23999, "HTML": 7707, "JavaScript": 3880, "Shell": 687}
/* * Copyright © 2020-2024, Simplexion, Hungary and contributors. Use of this source code is governed by the Apache 2.0 license. */ package `fun`.adaptive.foundation.testing import `fun`.adaptive.backend.BackendAdapter import `fun`.adaptive.foundation.Adaptive import `fun`.adaptive.foundation.AdaptiveAdapter import ...
28
Kotlin
0
3
c0fd95c9654bee332c20f8f9373f1dae9132cf6b
793
adaptive
Apache License 2.0
src/test/kotlin/no/nav/arbeidsforhold/dto/DtoUtilsTest.kt
navikt
175,394,209
false
{"Kotlin": 57979, "Dockerfile": 263}
package no.nav.arbeidsforhold.dto import no.nav.arbeidsforhold.service.outbound.ArbeidsavtaleDto import no.nav.arbeidsforhold.service.outbound.PeriodeDto import no.nav.arbeidsforhold.util.DtoUtils import org.junit.jupiter.api.Test import org.junit.jupiter.api.TestInstance import kotlin.test.assertEquals @TestInstance...
2
Kotlin
0
1
f54ca6f7870760d64d63b879cbca51777c11044a
1,229
arbeidsforhold-api
MIT License
src/test/java/no/nav/veilarbvedtaksstotte/client/arena/VeilarbarenaClientImplTest.kt
navikt
177,988,846
false
{"Java": 359286, "Kotlin": 303244, "Dockerfile": 89}
package no.nav.veilarbvedtaksstotte.client.arena import com.github.tomakehurst.wiremock.client.WireMock import com.github.tomakehurst.wiremock.junit5.WireMockRuntimeInfo import com.github.tomakehurst.wiremock.junit5.WireMockTest import no.nav.veilarbvedtaksstotte.utils.TestData.TEST_FNR import no.nav.veilarbvedtakssto...
9
Java
1
1
db325e6c12a4a674b95a5376406f732151661d76
2,558
veilarbvedtaksstotte
MIT License
src/mainKotlin/kotlin/me/sizableshrimp/adventofcode2023/days/Day16.kt
SizableShrimp
723,954,033
false
{"Gradle": 2, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "Markdown": 1, "TOML": 1, "INI": 1, "Java": 38, "Kotlin": 32}
/* * AdventOfCode2023 * Copyright (C) 2023 SizableShrimp * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, ...
0
Java
0
0
7741ddd697b7d774695fc6e4ef9eac3d3d70a1a7
4,771
AdventOfCode2023
MIT License
app/src/main/java/com/dch/test/ui/CardAdapter.kt
MrDeclanCoder
87,888,816
false
null
package com.dch.test.ui import android.support.v7.widget.RecyclerView import android.view.View import android.view.ViewGroup import android.widget.ImageView import com.dch.test.R import kotlinx.android.synthetic.main.card_item_photoview.view.* /** * 作者:MrCoder on 2017/6/2 17:47 * 描述: * 邮箱:daichuanhao@caijinquan.co...
1
null
9
42
ff71c1be21d82952d8c973e1d066cf1d031a7731
1,122
KotlinMVPRxJava2Dagger2GreenDaoRetrofitDemo
Apache License 2.0
lang/src/org/partiql/lang/types/PartiqlPhysicalTypeExtensions.kt
partiql
186,474,394
false
null
package org.partiql.lang.types import org.partiql.lang.domains.PartiqlPhysical /** * Helper to convert [PartiqlPhysical.Type] in AST to a [TypedOpParameter]. */ fun PartiqlPhysical.Type.toTypedOpParameter(customTypedOpParameters: Map<String, TypedOpParameter>): TypedOpParameter = when (this) { is PartiqlPhysica...
188
null
55
519
ff041b28c6db53853c3b370690246bc01913a400
5,037
partiql-lang-kotlin
Apache License 2.0
Sources/Android/app/src/main/java/com/indeema/smartlock/di/component/DoorComponent.kt
IndeemaSoftware
143,034,862
false
null
package com.indeema.smartlock.di.component import com.indeema.smartlock.activity.AuthActivity import com.indeema.smartlock.activity.DoorActivity import com.indeema.smartlock.di.module.AuthModule import com.indeema.smartlock.di.module.DoorModule import com.indeema.smartlock.di.scope.AuthScope import com.indeema.smartlo...
1
Kotlin
4
4
47334c564f391d34e33de5ed3dd354c4a5a7e4e3
560
SmartLock
MIT License
common-ui/src/main/java/com/n0lik/sample/common/ui/widget/recyclerview/GridDecoration.kt
n0lik
455,874,699
false
{"Kotlin": 104510, "Shell": 487}
package com.illiarb.tmdbclient.libs.ui.widget.recyclerview import android.graphics.Rect import android.view.View import androidx.recyclerview.widget.RecyclerView import androidx.recyclerview.widget.RecyclerView.ItemDecoration class GridDecoration(private val spacing: Int, private val spanCount: Int) : ItemDecoration(...
0
Kotlin
1
7
03b9ee2a649bb24e98cf65117e2f9a1ac265d4c6
1,728
TMDB-Android-Client
MIT License
src/test/kotlin/com/github/vatbub/commandlineUserPromptProcessor/parsers/StringParserTest.kt
vatbub
102,260,200
false
null
/*- * #%L * Vatbub Commandline User Prompt Processor * %% * Copyright (C) 2017 - 2020 <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/licen...
0
Kotlin
0
0
752e58822920bde16af86d398e7f65fe92db6f76
1,278
commandlineUserPromptProcessor
Apache License 2.0
vpn/src/test/java/com/duckduckgo/mobile/android/vpn/processor/requestingapp/requestingapp/ConnectionInfoTestUtil.kt
cmonfortep
252,403,423
false
null
/* * Copyright (c) 2021 DuckDuckGo * * 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 ...
5
null
671
3
228a1217aad96d19f90750d94664b7a4a5744c9a
1,410
Android
Apache License 2.0
wallet/src/main/kotlin/org/trustnote/superwallet/widget/MnemonicAutoCompleteTextView.kt
ringringringring
129,693,546
false
null
package org.trustnote.wallet.widget import android.content.Context import android.os.Build import android.text.Editable import android.text.InputType import android.text.TextWatcher import android.util.AttributeSet import android.view.KeyEvent import android.view.View import android.view.ViewGroup import android.view....
1
null
5
6
7a1c95b60569600ff09b5d520a1c4694fc1a3707
2,440
trustnote-wallet-android
MIT License
android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/image/records/ImageTransition.kt
expo
65,750,241
false
null
package abi49_0_0.expo.modules.image.records import abi49_0_0.expo.modules.kotlin.records.Field import abi49_0_0.expo.modules.kotlin.records.Record data class ImageTransition( @Field val duration: Int = 0 ) : Record
627
null
4443
25,078
846b9d2e77b069744479f31777ff3ea059990055
220
expo
MIT License
agp-7.1.0-alpha01/tools/base/build-system/gradle-core/src/main/java/com/android/build/gradle/internal/lint/AndroidLintGlobalTask.kt
jomof
502,039,754
false
{"Java": 35519326, "Kotlin": 22849138, "C++": 2171001, "HTML": 1377915, "Starlark": 915536, "C": 141955, "Shell": 110207, "RenderScript": 58853, "Python": 25635, "CMake": 18109, "Batchfile": 12180, "Perl": 9310, "Dockerfile": 5690, "Makefile": 4535, "CSS": 4148, "JavaScript": 3488, "PureBasic": 2359, "GLSL": 1628, "AID...
/* * Copyright (C) 2020 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...
1
Java
1
0
9e3475f6d94cb3239f27ed8f8ee81b0abde4ef51
2,322
CppBuildCacheWorkInProgress
Apache License 2.0
clients/kotlin/generated/src/main/kotlin/org/openapitools/client/models/RunStepDetailsToolCallsCodeObjectCodeInterpreter.kt
oapicf
529,246,487
false
{"Markdown": 6348, "YAML": 73, "Text": 16, "Ignore List": 52, "JSON": 1138, "Makefile": 3, "JavaScript": 1042, "F#": 585, "XML": 468, "Shell": 47, "Batchfile": 10, "Scala": 2313, "INI": 31, "Dockerfile": 17, "Maven POM": 22, "Java": 6356, "Emacs Lisp": 1, "Haskell": 39, "Swift": 263, "Ruby": 555, "OASv3-yaml": 19, "Cab...
/** * * Please note: * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * Do not edit this file manually. * */ @file:Suppress( "ArrayInDataClass", "EnumEntryName", "RemoveRedundantQualifierName", "UnusedImport" ) package org.openapitools.client.models import o...
2
Java
0
4
c04dc03fa17b816be6e9a262c047840301c084b6
1,379
openapi-openai
MIT License
app/src/main/java/com/mohit/ipsians_diary/settingsActivity/models/MyFilesViewModel.kt
MohitGupta121
619,303,070
false
{"Java": 288450, "Kotlin": 132215, "HTML": 8164}
package com.mohit.ipsians_diary.settingsActivity.models import android.app.Application import androidx.lifecycle.AndroidViewModel import androidx.lifecycle.LiveData import androidx.lifecycle.viewModelScope import com.mohit.ipsians_diary.database.DownloadDatabase import com.mohit.ipsians_diary.datamodels.Constants impo...
1
null
1
1
9d23a202e3d7030645b97623fbc3cfeb6b2de76e
1,168
IPSians-Diary
Apache License 2.0
app/src/main/java/com/webaddicted/kotlinproject/view/fcmkit/FcmFoodActivity.kt
webaddicted
193,627,207
false
null
package com.webaddicted.kotlinproject.view.fcmkit import android.app.Activity import android.content.Intent import android.os.Bundle import androidx.core.content.ContextCompat import androidx.databinding.ViewDataBinding import androidx.fragment.app.Fragment import com.webaddicted.kotlinproject.R import com.webaddicted...
1
null
17
75
18e361939df69445487a53baca8a7ec40beef7a5
1,838
KotlinProject
Apache License 2.0
bbfgradle/tmp/results/BACKUP_JVM-Xuse-ir/FRONTEND_qznhkdn_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 -Xuse-ir //File: tmp/tmp0.kt fun () { fun local() test(fun() = ::local ) }
1
null
1
1
e772ef1f8f951873ebe7d8f6d73cf19aead480fa
100
kotlinWithFuzzer
Apache License 2.0
app/src/main/kotlin/com/github/ramonrabello/smartfood/snacks/SnackAdapter.kt
ramonrabello
100,962,719
false
null
package com.github.ramonrabello.smartfood.snacks import android.support.v7.widget.RecyclerView import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import com.bumptech.glide.Glide import com.github.ramonrabello.smartfood.R import com.github.ramonrabello.smartfood.shared.BaseViewHol...
1
null
1
1
a2fc792c7a1dcce056f70dab0ce2e0a3a3505f5e
1,378
SmartFood
Apache License 2.0
src/_002_structurePattern/_007_iterator_pattern/normal/ConcreteHandler1.kt
ningcaichen555
499,707,055
false
{"Java": 21599, "Kotlin": 5205}
package _002_structurePattern._007_iterator_pattern.normal /** * Created by liyan on 2020/10/11. * 具体的处理者角色,对请求进行处理,如果不能处理则传递给下个处理者 */ class ConcreteHandler1 : Handler() { override fun handleRequest(request: AbstractRequest) { if (request.name == "ConcreteHandler1") { print("ConcreteHandle...
1
null
1
1
a5b1dda4ace78341f05ab8fec90d8e73bc6a125f
412
patternDesign
Apache License 2.0
rt-common/src/main/kotlin/xyz/redtorch/common/sync/dto/QuoteMirror.kt
sun0x00
130,566,707
false
null
package xyz.redtorch.common.sync.dto import xyz.redtorch.common.trade.dto.Contract import xyz.redtorch.common.trade.dto.Tick class QuoteMirror { var subscribedMap = HashMap<String, Contract>() var tickMap = HashMap<String, Tick>() fun clone(): QuoteMirror { val quoteMirror = QuoteMirror() ...
0
Java
346
714
c6a036adc262829e28d8e6cd2ea4bc3b7089b863
447
redtorch
MIT License
library/src/main/kotlin/com/wuhenzhizao/utils/ScreenUtils.kt
wuhenzhizao
142,847,078
false
{"Java": 47385, "Kotlin": 40556}
package com.gome.common.utils import android.app.Activity import android.content.Context import android.content.ContextWrapper import android.util.DisplayMetrics import android.view.View import android.view.inputmethod.InputMethodManager import com.wuhenzhizao.utils.AppUtils /** * Created by liufei on 2017/10/11. ...
1
Java
1
6
f256612a6d8eadd1b93cf2c3a3ed653b85ace846
3,857
kotlin-mvp-framework
Apache License 2.0
app/src/main/java/com/kyberswap/android/domain/usecase/swap/GetSwapDataUseCase.kt
KYRDTeam
181,612,742
false
null
package com.kyberswap.android.domain.usecase.swap import androidx.annotation.VisibleForTesting import com.kyberswap.android.domain.SchedulerProvider import com.kyberswap.android.domain.model.NotificationAlert import com.kyberswap.android.domain.model.NotificationExt import com.kyberswap.android.domain.model.Swap impor...
1
Kotlin
10
26
abd4ab033d188918849e5224cc8204409776391b
1,093
android-app
MIT License
model/src/main/kotlin/org/katan/model/role/Role.kt
KatanPanel
182,468,654
false
null
package org.katan.model.role import org.katan.model.PermissionsHolder import org.katan.model.Snowflake /** * Roles are a set of permissions attached to a group of accounts. */ public interface Role : PermissionsHolder { /** * The unique id of this role in. */ public val id: Snowflake /** ...
5
Kotlin
5
55
2c4d99e277e372e78a14486748de3c3624a45cdb
472
Katan
Apache License 2.0
project/module-legacy-api/src/main/kotlin/ink/ptms/adyeshach/api/event/AdyeshachPersistentTagUpdateEvent.kt
TabooLib
284,936,010
false
{"Kotlin": 1050024, "Java": 35966}
package ink.ptms.adyeshach.api.event import ink.ptms.adyeshach.common.entity.EntityMetaable import ink.ptms.adyeshach.common.entity.EntityTypes import taboolib.common.platform.event.SubscribeEvent import taboolib.platform.type.BukkitProxyEvent /** * @author sky * @since 2020-08-14 19:21 */ @Deprecated("Outdated bu...
13
Kotlin
86
98
ac7098b62db19308c9f14182e33181c079b9e561
869
adyeshach
MIT License
app/src/main/java/com/ethermail/androidchallenge/assets/AssetUiItem.kt
Ethersuite
775,439,375
false
{"Kotlin": 12906}
package com.ethermail.androidchallenge.assets data class AssetUiItem(val symbol: String, val name: String, val price: String)
0
Kotlin
0
1
dc15d2fcaf900c87e3cbc515fe2086e6e52ecbad
127
android-challenge
MIT License
tabler/src/commonMain/kotlin/com/woowla/compose/icon/collections/tabler/tabler/outline/DeviceMobileVibration.kt
walter-juan
868,046,028
false
null
package com.woowla.compose.icon.collections.tabler.tabler.outline import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.vector.ImageVector import androidx.compose.ui.graphics.vector...
0
null
0
3
eca6c73337093fbbfbb88546a88d4546482cfffc
3,142
compose-icon-collections
MIT License
coroutines-codelab/start/src/test/java/com/example/android/kotlincoroutines/main/TitleRepositoryTest.kt
android
150,171,445
false
null
/* * Copyright (C) 2019 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
87
Kotlin
254
524
72e3f6d22a3cb579a6b5c2e43cc4e25a6647ab95
1,181
codelab-kotlin-coroutines
Apache License 2.0
feather/src/commonMain/kotlin/compose/icons/feathericons/CloudSnow.kt
DevSrSouza
311,134,756
false
{"Kotlin": 36719092}
package compose.icons.feathericons 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.compose.ui.graphi...
17
Kotlin
25
571
a660e5f3033e3222e3553f5a6e888b7054aed8cd
3,746
compose-icons
MIT License
jetpack-loading/src/main/java/com/spr/jetpack_loading/enums/SquareCardFace.kt
MahboubehSeyedpour
671,910,347
false
{"Kotlin": 122757}
package com.spr.jetpack_loading.enums enum class SquareCardFace(val angle: Float, val axis: RotationAxis) { AxisX(angle = 180f, axis = RotationAxis.AxisX) { override val next: SquareCardFace get() = AxisY }, AxisY(angle = 180f, axis = RotationAxis.AxisY) { override val next: Squ...
4
Kotlin
1
9
870325c7d41c4213447ddc7e18fb00fb2afedc92
405
jetpack-loading
Apache License 2.0
src/main/kotlin/kgen/proto/OneOf.kt
patefacio
540,050,815
false
{"Kotlin": 253491}
package kgen.proto import kgen.Identifier import kgen.asMarkdownList import kgen.blockComment import kgen.indent data class OneOf( val nameId: String, val parentNameId: String, val fields: List<Field>, val doc: String? = null ) : Identifier(nameId), Udt, AsProto, MessageField { override val isNum...
0
Kotlin
0
0
d098395fa8cdf8c0bba80cabe8ff9dd09d567a9e
1,252
kgen
MIT License
src/org/elixir_lang/reference/resolver/atom/resolvable/Pattern.kt
KronicDeth
22,329,177
false
{"Kotlin": 2461440, "Elixir": 2165417, "Java": 1582388, "Euphoria": 151683, "Lex": 69822, "HTML": 22466, "Makefile": 499}
package org.elixir_lang.reference.resolver.atom.resolvable import com.intellij.openapi.project.Project import com.intellij.psi.PsiElementResolveResult import com.intellij.psi.ResolveResult import com.intellij.psi.search.GlobalSearchScope import com.intellij.psi.stubs.StubIndex import org.elixir_lang.psi.NamedElement i...
590
Kotlin
153
1,815
b698fdaec0ead565023bf4461d48734de135b604
1,573
intellij-elixir
Apache License 2.0
app/src/main/java/com/lavos/features/photoReg/RegisTerFaceFragment.kt
DebashisINT
408,324,332
false
null
package com.lavos.features.photoReg import android.Manifest import android.app.Activity import android.app.Dialog import android.content.Context import android.content.Intent import android.graphics.* import android.graphics.drawable.ColorDrawable import android.hardware.camera2.CameraCharacteristics import android.ne...
0
Kotlin
0
0
8926f80a2527e00724f1b7e1211508f8601470f9
28,783
Lavos
Apache License 2.0
ask/src/main/kotlin/me/xizzhu/android/ask/db/Query.kt
xizzhu
224,090,174
false
null
/* * Copyright (C) 2020 <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 ...
2
Kotlin
1
13
91294f3708d9929d831420eb03972efe0ce4e286
5,961
ask
Apache License 2.0
src/main/kotlin/de/mackeprm/herdable/main.kt
mackeprm
304,402,446
false
null
package de.mackeprm.herdable import processing.core.PApplet import java.awt.geom.Point2D import java.util.* import java.util.concurrent.ConcurrentLinkedQueue import kotlin.reflect.KClass class Simulator : PApplet() { private val actors = ConcurrentLinkedQueue<Actor>() private val buttons = ArrayList<Button>(...
0
Kotlin
0
0
5803d4721c062c6d073c6fa056d9dd626bb348b2
3,127
herdable
MIT License
src/main/kotlin/com/wire/ganymede/setup/EnvConfigVariables.kt
wireapp
253,750,060
false
null
package com.wire.ganymede.setup /** * Contains variables that are loaded from the environment. */ enum class EnvConfigVariables { /** * Password for the key store. */ STORE_PASS, /** * Path to the keystore. */ STORE_PATH, /** * Type of the store, JKS for example */...
0
Kotlin
0
1
9f1f64f68678ab3ad994ef3e5f0c5a04cc4fcdfb
815
ganymede
MIT License
src/main/kotlin/com/baizey/npmupdater/packagemanager/DependencyService.kt
Baizey
622,707,468
false
{"Kotlin": 20082}
package com.baizey.npmupdater.packagemanager import com.baizey.npmupdater.dto.DependencyCollection import com.baizey.npmupdater.dto.NpmSemanticVersion import com.baizey.npmupdater.packagejson.PackageJsonDependency import com.intellij.openapi.project.Project import com.jetbrains.rd.util.concurrentMapOf import java.io.I...
0
Kotlin
0
1
3bc1b0d2576675cd139bf196e4f2a57c4d35f570
4,228
npm-updater
MIT License
src/main/kotlin/dev/cccm5/thebeginning/common/world/biome/TitanicPlains.kt
cccm5
231,794,757
false
{"Gradle": 2, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "Markdown": 1, "Java": 1, "JSON": 53, "Kotlin": 19}
package dev.cccm5.thebeginning.common.world.biome import dev.cccm5.thebeginning.common.registry.BlockRegistry import dev.cccm5.thebeginning.common.registry.FeatureRegistry import dev.cccm5.thebeginning.common.registry.configureFeature import net.fabricmc.api.EnvType import net.fabricmc.api.Environment import net.minec...
1
null
1
1
a384c26e23d594eaed9cb021c46cce81f914e869
3,464
the-begining
Creative Commons Zero v1.0 Universal
app/src/main/java/com/kylecorry/trail_sense/weather/infrastructure/services/WeatherUpdateService.kt
leandrovisky
371,525,007
true
{"Kotlin": 1025888}
package com.kylecorry.trail_sense.weather.infrastructure.services import android.app.Notification import android.content.Context import android.content.Intent import android.util.Log import com.kylecorry.trail_sense.NotificationChannels import com.kylecorry.trail_sense.R import com.kylecorry.trail_sense.shared.Navigat...
0
null
0
0
59258f769d20eaeb9a0dc1dbdedc9cef848b3f95
9,421
Trail-Sense
MIT License
shared/src/commonMain/kotlin/markdown/handler/MarkdownHandler.kt
AntonAlekseevich93
683,819,027
false
null
package markdown.handler import androidx.compose.runtime.Composable import markdown.elements.MarkdownCodeFence import markdown.elements.MarkdownParagraph import markdown.elements.MarkdownText import markdown.theme.LocalMarkdownTypography import org.intellij.markdown.MarkdownElementTypes import org.intellij.markdown.Ma...
0
Kotlin
0
0
3f328a95c2de861889b81c1c571954d6e67b02d2
2,936
ChatGTP
Apache License 2.0
dsl/src/main/kotlin/cloudshift/awscdk/dsl/services/ecr/CfnReplicationConfigurationDsl.kt
cloudshiftinc
667,063,030
false
null
@file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION") package cloudshift.awscdk.dsl.services.ecr import cloudshift.awscdk.common.CdkDslMarker import kotlin.String import software.amazon.awscdk.IRe...
1
Kotlin
0
0
17c41bdaffb2e10d31b32eb2282b73dd18be09fa
3,515
awscdk-dsl-kotlin
Apache License 2.0
domain/src/main/java/com/cheise_proj/domain/usecase/posts/GetPostsTask.kt
alvinmarshall
249,792,945
false
null
package com.cheise_proj.domain.usecase.posts import com.cheise_proj.domain.entities.posts.PostEntity import com.cheise_proj.domain.repository.PostRepository import com.cheise_proj.domain.rx.ObservableUseCase import com.cheise_proj.domain.rx.qualifier.Background import com.cheise_proj.domain.rx.qualifier.Foreground imp...
3
Kotlin
1
9
f64214c986ac8d228e5bc627ee847c0a74bd197f
1,028
Spiice-ui-challenge
MIT License
code/app/src/main/java/com/example/androidgettingstarted/MainActivity.kt
sebsto
301,777,386
false
null
package com.example.androidgettingstarted import android.content.Intent import android.os.Bundle import android.util.Log import androidx.appcompat.app.AppCompatActivity import androidx.lifecycle.Observer import androidx.recyclerview.widget.ItemTouchHelper import androidx.recyclerview.widget.RecyclerView import com.goo...
5
null
8
3
97cf3373ba3d17e11529e3fe8e70bd2238ce58f1
3,438
amplify-android-getting-started
Apache License 2.0
src/main/java/tripway/server/models/BaseEntity.kt
NikitaBurtelov
362,575,706
false
null
package tripway.server.models import javax.persistence.GeneratedValue import javax.persistence.GenerationType import javax.persistence.Id import javax.persistence.MappedSuperclass @MappedSuperclass open class BaseEntity(@Id @GeneratedValue(strategy = GenerationType.IDENTITY) val id: Long)
0
Kotlin
0
0
f561eb2c5abfd69b5fc4d886664203aa3603a571
292
Tripway-Spring-Server
Apache License 2.0
app/src/main/kotlin/com/franckrj/jvnotif/utils/JVCParser.kt
FranckRJ
102,766,462
false
null
package com.franckrj.jvnotif.utils object JVCParser { private val numberOfMpJVCPattern = Regex("""<div class=".*?account-mp.*?">[^<]*<span[^c]*class="jv-account-number-mp[^"]*".*?data-val="([^"]*)"""", RegexOption.DOT_MATCHES_ALL) private val numberOfStarsJVCPattern = Regex("""<div class=".*?account-notif.*?">...
0
Kotlin
0
1
66f5081be210b310de6cc506ff2450c3bca4cd27
1,352
JVNotif
zlib License
json/tests/test/com/jetbrains/jsonSchema/impl/JsonBySchemaCompletionTestingUtil.kt
StingNevermore
113,538,568
true
null
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. package com.jetbrains.jsonSchema.impl import com.intellij.openapi.extensions.ExtensionPointName import com.intellij.openapi.extensions.impl.ExtensionPointImpl import com.intellij.openapi.util.Dispos...
0
null
0
0
68a9dba2e125a7d8ee96ca86e965a30a8ead7e2c
2,020
intellij-community
Apache License 2.0
api/src/main/kotlin/net/devslash/err/RetryOnTransitiveError.kt
devslash-paul
152,959,898
false
null
package net.devslash.err import kotlinx.coroutines.channels.Channel import net.devslash.OnErrorWithState import net.devslash.Envelope import net.devslash.HttpRequest import net.devslash.RequestData import java.net.SocketTimeoutException class RetryOnTransitiveError : OnErrorWithState { override suspend fun <T> acce...
7
Kotlin
2
9
9346d497282869958f913bb84459921f53e3288e
714
fetchDSL
MIT License
threads/src/main/kotlin/pl/edu/pw/ia/threads/infrastructure/query/entity/ThreadViewEntity.kt
ERSMS-24L
768,705,060
false
{"Kotlin": 82244, "CSS": 5011, "HTML": 1892, "JavaScript": 1300, "Dockerfile": 666, "Shell": 288}
package pl.edu.pw.ia.threads.infrastructure.query.entity import org.springframework.data.annotation.Id import org.springframework.data.mongodb.core.mapping.Document import pl.edu.pw.ia.shared.domain.view.ThreadView import java.time.Instant import java.util.UUID @Document(collection = "threadViews") data class ThreadV...
26
Kotlin
2
1
f5497e3afd2e6cd3bdd026d2c6610a972e618f97
1,158
ERSMS-24L
MIT License
features/game/src/main/java/io/github/japskiddin/sudoku/feature/main/GameViewModel.kt
Japskiddin
766,410,608
false
{"Kotlin": 53126}
package io.github.japskiddin.sudoku.feature.main import androidx.annotation.StringRes import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import dagger.hilt.android.lifecycle.HiltViewModel import io.github.japskiddin.sudoku.data.models.Difficulty import io.github.japskiddin.sudoku.data.models....
0
Kotlin
0
0
cf0331327366d94b6acca9874d2132f40c54684c
3,125
SudokuGame
Apache License 2.0
src/main/kotlin/com/tuk/oriddle/domain/participant/exception/ParticipantNotHostException.kt
Team-Oriddle
731,663,342
false
{"Kotlin": 85525}
package com.tuk.oriddle.domain.participant.exception import com.tuk.oriddle.global.error.ErrorCode import com.tuk.oriddle.global.error.exception.BusinessException class ParticipantNotHostException : BusinessException { constructor() : super(ErrorCode.PARTICIPANT_NOT_HOST) }
3
Kotlin
1
0
e32f08c4677e947a529d5f1d9a38eeefb385e1e9
280
oriddle-backend
MIT License
src/main/kotlin/com/tuk/oriddle/domain/participant/exception/ParticipantNotHostException.kt
Team-Oriddle
731,663,342
false
{"Kotlin": 85525}
package com.tuk.oriddle.domain.participant.exception import com.tuk.oriddle.global.error.ErrorCode import com.tuk.oriddle.global.error.exception.BusinessException class ParticipantNotHostException : BusinessException { constructor() : super(ErrorCode.PARTICIPANT_NOT_HOST) }
3
Kotlin
1
0
e32f08c4677e947a529d5f1d9a38eeefb385e1e9
280
oriddle-backend
MIT License
src/main/kotlin/ChainOfResponsibilities.kt
iamjosephmj
408,988,721
false
{"Kotlin": 23851}
package main.kotlin interface HandlerChain { fun addHeader(inputHeader: String): String } class AuthenticationHeader(val token: String?, var next: HandlerChain? = null): HandlerChain { override fun addHeader(inputHeader: String) = "$inputHeader\nAuthorization: $token" .let { next?.addHeade...
0
Kotlin
3
14
68819078c2dc37281194959b6e132c6bada51d36
802
kotlin-design-patterns
MIT License
common/src/commonMain/kotlin/com/artemchep/keyguard/ui/toolbar/SmallToolbar.kt
AChep
669,697,660
false
{"Kotlin": 5516822, "HTML": 45876}
package com.artemchep.keyguard.ui.toolbar import androidx.compose.foundation.layout.RowScope import androidx.compose.material3.ExperimentalMaterial3Api import androidx.compose.material3.MaterialTheme import androidx.compose.material3.TopAppBar import androidx.compose.material3.TopAppBarDefaults import androidx.compose...
66
Kotlin
31
995
557bf42372ebb19007e3a8871e3f7cb8a7e50739
1,596
keyguard-app
Linux Kernel Variant of OpenIB.org license
lib/src/main/java/org/oneui/compose/preference/SwitchPreference.kt
TrainerSnow
666,717,085
false
null
package org.oneui.compose.preference import androidx.compose.foundation.interaction.MutableInteractionSource import androidx.compose.material3.Text import androidx.compose.runtime.Composable import androidx.compose.runtime.remember import androidx.compose.ui.Modifier import org.oneui.compose.base.Icon import org.oneui...
4
null
2
9
3b04d1e5b3ff17f36e6e3dab41236a9d4f4776f0
1,834
oneui-compose
Apache License 2.0
core/src/main/kotlin/com/wangmuy/llmchain/prompt/BasePromptTemplate.kt
wangmuy
634,570,916
false
null
package com.wangmuy.llmchain.prompt import com.wangmuy.llmchain.schema.BaseOutputParser import com.wangmuy.llmchain.schema.PromptValue import java.util.* abstract class BasePromptTemplate @JvmOverloads constructor( val inputVariables: List<String> = Collections.emptyList(), val outputParser: BaseOutputParser<...
0
Kotlin
0
4
03f8abfa889fe413c2be5b1332b8b79396d9fedb
466
llmchain
MIT License
app/src/main/java/edu/uofk/eeese/eeese/projects/ProjectsContract.kt
ratedali
77,694,300
false
null
/* * Copyright 2017 <NAME> * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, subl...
0
Kotlin
0
1
517d549e1ec36a2647cc5401312d06645a54afe2
1,803
EEESE-android
MIT License
app/src/main/java/com/example/gpsmapcameraapp/fragments/BottomSheetDialogFragmentAccuracy.kt
developer-reyuna
821,749,818
false
{"Kotlin": 200554, "HTML": 112734, "CSS": 69702, "JavaScript": 4499}
package com.example.gpsmapcameraapp.fragments import android.content.Context import android.content.SharedPreferences import android.graphics.Bitmap import android.graphics.drawable.BitmapDrawable import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import ...
0
Kotlin
0
0
dcd0588f3f2413adbbaa6388008331c9c233aa5f
4,529
Gps-Camera-Location-on-Photo
Apache License 2.0