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
plugins/korge-intellij-plugin/src/com/soywiz/korge/intellij/IdeaAdaptorVfs.kt
phyrian
209,852,647
true
{"Kotlin": 958944, "Java": 182756, "ActionScript": 7295, "HTML": 174}
package com.soywiz.korge.intellij import com.intellij.openapi.vfs.VirtualFile import com.soywiz.korio.async.AsyncSequence import com.soywiz.korio.async.asyncGenerate import com.soywiz.korio.lang.Closeable import com.soywiz.korio.stream.AsyncInputStream import com.soywiz.korio.stream.AsyncStream import com.soywiz.korio...
0
Kotlin
0
0
cee8132dd63f168cdcc186c5510afd6985a53b3f
3,438
korge
Apache License 2.0
platform/xdebugger-impl/src/com/intellij/xdebugger/impl/ui/XDebugSessionTab3.kt
xieguanliang
261,644,228
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.xdebugger.impl.ui import com.intellij.debugger.ui.DebuggerContentInfo import com.intellij.execution.runners.ExecutionEnvironment import com.intellij.executio...
1
null
1
1
d39c1b5060e799de1911c3a04a46bbd0669a7dd6
8,214
intellij-community
Apache License 2.0
device/src/main/java/org/watsi/device/db/daos/IdentificationEventDao.kt
Meso-Health
227,514,539
false
{"Gradle": 7, "Java Properties": 2, "Shell": 3, "Text": 1, "Ignore List": 4, "Markdown": 1, "Proguard": 2, "JSON": 25, "Kotlin": 419, "YAML": 3, "XML": 153, "Java": 1}
package org.watsi.device.db.daos import android.arch.persistence.room.Dao import android.arch.persistence.room.Insert import android.arch.persistence.room.OnConflictStrategy import android.arch.persistence.room.Query import android.arch.persistence.room.Transaction import io.reactivex.Flowable import io.reactivex.Sing...
2
Kotlin
3
6
6e1da182073088f28230fe60a2e09d6f38aab957
2,179
meso-clinic
Apache License 2.0
generator/src/main/kotlin/fixie/generator/quantity/FixedQuantityClass.kt
knokko
687,847,559
false
{"Kotlin": 421410}
package fixie.generator.quantity import fixie.generator.number.NumberClass import fixie.generator.roundBigDecimal import java.math.BigDecimal import java.math.BigInteger import kotlin.math.abs abstract class FixedQuantityClass( className: String, val number: NumberClass, createNumberExtensions...
0
Kotlin
0
0
5ad29202e30e0779bccc7147670342bd08066132
1,092
fixie
MIT License
project-system-gradle-psd/src/com/android/tools/idea/gradle/structure/configurables/ui/properties/manipulation/ExtractVariableDialog.kt
JetBrains
60,701,247
false
null
/* * Copyright (C) 2018 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
3,240
android
Apache License 2.0
app/src/main/kotlin/_4_classes/_5_Delegations.kt
PrashantSPol
110,964,845
false
null
package _4_classes /** * Created by prashantspol on 11/10/2017. */ interface Callable { fun call() } class Phone : Callable { override fun call() { } } class Tablet(c: Callable) : Callable by c fun letsCall(tablet : Tablet) { tablet.call() }
1
null
1
1
12738832473a05e3d919a5d2e2dc5c5621d125c2
264
KotlinSamples
Apache License 2.0
android_client/app/src/main/java/com/microsoft/hydralab/android/client/vpn/protocol/TCBStatus.kt
microsoft
486,525,050
false
null
package studio.attect.demo.vpnservice.protocol enum class TCBStatus { SYN_SENT, SYN_RECEIVED, ESTABLISHED, CLOSE_WAIT, LAST_ACK, CLOSED }
46
null
94
997
4d24a7064464d90dd624a0bb120872fab0cdb89e
162
HydraLab
MIT License
app/src/main/java/ajar/huzefa/olaplay/data/HistoryDao.kt
huzefaraja
115,239,147
false
null
package ajar.huzefa.olaplay.data import android.arch.persistence.room.* @Dao interface HistoryDao { @Query("SELECT * FROM history") fun all(): List<History> @Insert(onConflict = OnConflictStrategy.ABORT) fun insert(vararg Histories: History): Array<Long> @Insert(onConflict = OnConflictStrateg...
1
null
1
1
779098baaf99b5a31389ec08ef33dff4a959f19e
505
ola_play
MIT License
feature/autodiscovery/service/src/main/kotlin/app/k9mail/autodiscovery/service/RealAutoDiscoveryService.kt
thunderbird
1,326,671
false
{"Kotlin": 4766001, "Java": 2159946, "Shell": 2768, "AIDL": 1946}
package app.k9mail.autodiscovery.service import app.k9mail.autodiscovery.api.AutoDiscoveryRegistry import app.k9mail.autodiscovery.api.AutoDiscoveryResult import app.k9mail.autodiscovery.api.AutoDiscoveryService import app.k9mail.core.common.mail.EmailAddress /** * Uses Thunderbird's Autoconfig mechanism to find mai...
846
Kotlin
2467
9,969
8b3932098cfa53372d8a8ae364bd8623822bd74c
764
thunderbird-android
Apache License 2.0
bugsnag-android-core/src/androidTest/java/com/bugsnag/android/ThreadStateTest.kt
AllanWang
199,244,341
true
{"Java": 608807, "C": 274520, "Kotlin": 140929, "Gherkin": 115095, "C++": 38356, "Ruby": 20243, "Shell": 6349, "CMake": 5105, "Makefile": 2290}
package com.bugsnag.android import android.support.test.filters.SmallTest import android.support.test.runner.AndroidJUnit4 import com.bugsnag.android.BugsnagTestUtils.streamableToJsonArray import org.json.JSONArray import org.json.JSONObject import org.junit.Assert.* import org.junit.Test import org.junit.runner.RunWi...
0
Java
0
1
8f490e66a287d0b55a3c114f7c3b7e45c5c4dcae
5,957
bugsnag-android
MIT License
src/test/kotlin/com/github/erosb/jsonsKema/ReadWriteContextTest.kt
erosb
314,666,360
false
{"Kotlin": 262694}
package com.github.erosb.jsonsKema import org.junit.jupiter.api.Assertions.assertEquals import org.junit.jupiter.api.Assertions.assertNull import org.junit.jupiter.api.Test class ReadWriteContextTest { @Test fun `validation in write context fails on readonly prop`() { val schema = SchemaLoader(JsonPa...
19
Kotlin
8
49
26060fbad7917fc05d58b21184cba45ef97b53ba
4,939
json-sKema
MIT License
example/kotlin/save-command-kt/src/test/kotlin/org/babyfish/jimmer/example/save/TriggerTest.kt
babyfish-ct
488,154,823
false
null
package org.babyfish.jimmer.example.save import org.babyfish.jimmer.example.save.common.AbstractMutationWithTriggerTest import org.babyfish.jimmer.example.save.model.BookStore import org.babyfish.jimmer.example.save.model.addBy import org.babyfish.jimmer.example.save.model.by import org.babyfish.jimmer.kt.new import o...
12
null
66
569
59e868ed92902f4dd797b4974993f579682a5213
6,363
jimmer
Apache License 2.0
KotlinBasico/src/main/kotlin/ControleFluxoIF.kt
kbmbarreto
471,227,065
false
null
fun main() { var a = 10 var b = 5 var c = 0 // IF ELSE if(a < b) else c = b println("O valor de C é $c.") // IF ELSE c = if (a < b) a else b println("O valor de C é $c") // IF ELSE var num = 0 var num1 = 1 if (num > num1) { println("Num é maior que Num1.")...
0
Kotlin
0
0
4800e170fc0a1461b356f521e8d500cb75a706ee
382
EstudosKotlinAndroid
MIT License
lib_common/src/main/java/com/cmj/wanandroid/common/kt/Coroutine.kt
mikechenmj
590,477,705
false
null
package com.cmj.wanandroid.kt import com.cmj.wanandroid.base.log.LogMan import kotlinx.coroutines.CoroutineExceptionHandler import kotlinx.coroutines.CoroutineScope import kotlinx.coroutines.Job import kotlinx.coroutines.launch import kotlin.coroutines.CoroutineContext import kotlin.coroutines.EmptyCoroutineContext p...
0
Kotlin
0
0
b6ba391b5925a5ebff3040575a813ce9e140cbd3
979
WanAndroid
Apache License 2.0
data/src/main/java/com/ericampire/android/androidstudycase/data/room/AnimatorDao.kt
eric-ampire
402,759,023
false
{"Kotlin": 212488}
package com.ericampire.android.androidstudycase.data.room import androidx.room.Dao import androidx.room.Insert import androidx.room.OnConflictStrategy import androidx.room.Query import com.ericampire.android.androidstudycase.domain.entity.Animator import kotlinx.coroutines.flow.Flow @Dao interface AnimatorDao { @I...
0
Kotlin
4
26
5a5f87658071da4b64a6563db7ae59c7bf0fa497
481
lottiefiles-app
Apache License 2.0
app/src/main/java/me/rosuh/easywatermark/ui/widget/WaterMarkImageView.kt
rosuH
281,094,148
false
null
package me.rosuh.easywatermark.ui.widget import android.animation.Animator import android.animation.ObjectAnimator import android.animation.ValueAnimator import android.content.Context import android.graphics.Bitmap import android.graphics.BitmapShader import android.graphics.Canvas import android.graphics.Color impor...
24
null
131
1,550
5f479829d5a5f8ad2ef5c1576674ae9dfac2b90b
28,147
EasyWatermark
MIT License
lib/src/test/kotlin/com/maltaisn/icondialog/StringNormalizeTest.kt
maltaisn
129,983,346
false
null
/* * Copyright 2019 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
1
null
15
111
c561f68bf302a94626631d1930b88f4faf45528c
1,368
icondialoglib
Apache License 2.0
schoolData/src/main/kotlin/com/intelligentbackpack/schooldata/api/CalendarApi.kt
IntelligentBackpack
629,745,884
false
null
package com.intelligentbackpack.schooldata.api import calendar.communication.BasicMessage import calendar.communication.Lessons import calendar.communication.Subjects import calendar.communication.UserInformations import okhttp3.RequestBody import retrofit2.Call import retrofit2.http.Body import retrofit2.http.GET imp...
3
Kotlin
1
0
61bfdc8c21801a14d67c62b69a07a0fb341aab6d
4,396
IntelligentBackpackApp
MIT License
promptkt/src/main/kotlin/tri/util/Utils.kt
aplpolaris
663,584,917
false
null
/*- * #%L * promptkt-0.1.0-SNAPSHOT * %% * Copyright (C) 2023 Johns Hopkins University Applied Physics Laboratory * %% * 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:/...
20
null
0
8
be010bc7e1b303852280b3a503e3ab03a60888d2
1,016
promptfx
Apache License 2.0
promptkt/src/main/kotlin/tri/util/Utils.kt
aplpolaris
663,584,917
false
null
/*- * #%L * promptkt-0.1.0-SNAPSHOT * %% * Copyright (C) 2023 Johns Hopkins University Applied Physics Laboratory * %% * 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:/...
20
null
0
8
be010bc7e1b303852280b3a503e3ab03a60888d2
1,016
promptfx
Apache License 2.0
app/src/main/java/com/jetpackcompose/playground/compose_game_bench/domain/util/RayCastMathUtils.kt
StefanWyszynski
765,607,090
false
{"Kotlin": 183920}
package com.jetpackcompose.playground.compose_game_bench.domain.util import androidx.core.math.MathUtils object RayCastMathUtils { fun calculateColorIntensityByDistance(distance: Double, maxViewDistance: Double): Int { val wallMaxFactpr = 1.0 - MathUtils.clamp(distance / maxViewDistance, 0.0, 1.0) ...
0
Kotlin
0
0
d573b5b30cd286a99df564c16ec97d1f61c16eed
549
2024_JetpackComposePlayground
MIT License
app/src/main/java/com/sheryv/tubegripper/ui/Logger.kt
Sheryv
137,062,786
false
{"Kotlin": 49093, "HTML": 7662}
package com.sheryv.tubegripper.ui import android.app.Activity import android.app.Application import android.util.Log import android.view.View import java.lang.ref.WeakReference class Logger { private val listener: WeakReference<OnMsgReceived?> private val app: WeakReference<Application> private val star...
0
Kotlin
0
0
c801afc94d8f5554b54b45c3bec35af8e60381c9
4,903
TubeGripper
Apache License 2.0
app/src/main/java/com/sheryv/tubegripper/ui/Logger.kt
Sheryv
137,062,786
false
{"Kotlin": 49093, "HTML": 7662}
package com.sheryv.tubegripper.ui import android.app.Activity import android.app.Application import android.util.Log import android.view.View import java.lang.ref.WeakReference class Logger { private val listener: WeakReference<OnMsgReceived?> private val app: WeakReference<Application> private val star...
0
Kotlin
0
0
c801afc94d8f5554b54b45c3bec35af8e60381c9
4,903
TubeGripper
Apache License 2.0
base_android/src/androidMain/kotlin/siarhei/luskanau/iot/doorbell/data/AndroidThisDeviceRepository.kt
siarhei-luskanau
79,257,367
false
null
package siarhei.luskanau.iot.doorbell.data import android.content.Context import android.content.pm.PackageManager import android.os.Build import androidx.core.content.ContextCompat import siarhei.luskanau.iot.doorbell.common.AppConstants import siarhei.luskanau.iot.doorbell.common.DeviceInfoProvider import siarhei.lu...
0
null
0
2
0e4dd38c61feee92a688eda968ba06c64ef3a95c
2,022
android-iot-doorbell
MIT License
walletlibrary/src/main/java/com/microsoft/did/sdk/util/log/DefaultLogConsumer.kt
microsoft
567,422,889
false
null
// Copyright (c) Microsoft Corporation. All rights reserved package com.microsoft.did.sdk.util.log import android.util.Log internal class DefaultLogConsumer : SdkLog.Consumer { override fun log(logLevel: SdkLog.Level, message: String, throwable: Throwable?, tag: String) { if (throwable == null) { ...
5
null
8
9
5978f33741ddf4dcd51533552487eaeb81ee6e75
878
entra-verifiedid-wallet-library-android
MIT License
graphql-dgs-subscriptions-websockets-autoconfigure/src/main/kotlin/com/netflix/graphql/dgs/subscriptions/websockets/DgsWebSocketAutoConfig.kt
Netflix
317,375,887
false
null
/* * Copyright 2020 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...
88
null
289
3,037
bd2d0c524e70a9d1d625d518a94926c7b53a7e7c
2,620
dgs-framework
Apache License 2.0
app/src/main/java/com/example/shoestoreinventory/utils/Utils.kt
PackHg
328,856,748
false
null
package com.example.shoestoreinventory.utils import android.app.Activity import android.content.Context import android.view.View import android.view.inputmethod.InputMethodManager import androidx.fragment.app.Fragment object Utils { /** * The following utility functions for hiding the keyboard are by Gunham ...
0
Kotlin
0
0
26a4ccf80153e5c04b21ca7f6ea52245a9d6c30c
838
Udacity-ShoeStoreInventory
Apache License 2.0
Froom-Backend/src/main/kotlin/com/froom/util/retrofit/category/CategoryAPI.kt
Damian2057
715,183,107
false
{"Kotlin": 59970, "Python": 9937, "Dockerfile": 2266}
package com.froom.util.retrofit.category import com.froom.util.retrofit.category.model.CategoryResponseDto import okhttp3.MultipartBody import org.springframework.stereotype.Component import retrofit2.Call import retrofit2.http.Multipart import retrofit2.http.POST import retrofit2.http.Part @Component interface Categ...
0
Kotlin
0
0
fe8fc93b5cf5ea28a2572cf467374e58f993be37
443
Froom
Apache License 2.0
app/src/main/java/com/edricchan/studybuddy/ui/modules/task/ViewTaskActivity.kt
Animesh-Barai
258,812,917
true
{"Kotlin": 539305, "Ruby": 202}
package com.edricchan.studybuddy.ui.modules.task import android.os.Bundle import android.util.Log import android.view.MenuItem import android.view.View import android.widget.TextView import android.widget.Toast import androidx.annotation.StringRes import androidx.appcompat.app.AppCompatActivity import com.edricchan.st...
0
null
0
0
61b1ba1a7ee46837ddba56d82e4fec3e70862c68
18,360
StudyBuddy-android
MIT License
beam-ui/src/jsMain/kotlin/dev/d1s/beam/ui/state/ObservableLauncher.kt
d1snin
632,895,652
false
null
/* * Copyright 2023 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
6
null
0
5
934806a6a5315092922478995aa0390c3fae4727
1,025
beam
Apache License 2.0
app/src/main/java/id/samai/mymedcure/activities/FireBase_registration.kt
samba-rgb
588,846,571
false
null
package id.samai.mymedcure.activities import android.content.Intent import android.net.Uri import android.os.Bundle import android.provider.MediaStore import android.widget.Button import android.widget.EditText import android.widget.ImageView import android.widget.Toast import androidx.appcompat.app.AppCompatActivity ...
0
Kotlin
0
0
ac1bad8693cfdae021e18621d57878cec87f7c27
7,873
my_medicure_app
Apache License 2.0
android_env/apps/java/com/google/androidenv/accessibilityforwarder/FlagsBroadcastReceiverTest.kt
google-deepmind
360,111,507
false
{"Python": 561122, "Kotlin": 52487}
// Copyright 2024 DeepMind Technologies Limited. // // 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 l...
8
Python
73
1,007
746e0e9649a5ff90d9513b7f4d857fc71c167037
4,895
android_env
Apache License 2.0
data/barcode/src/main/java/com/awscherb/cardkeeper/barcode/db/ScannedCodeDao.kt
LateNightProductions
66,697,395
false
{"Kotlin": 186882}
package com.awscherb.cardkeeper.barcode.db import androidx.room.* import com.awscherb.cardkeeper.barcode.entity.ScannedCodeEntity import kotlinx.coroutines.flow.Flow @Dao interface ScannedCodeDao { @Query("SELECT * FROM scannedCode WHERE id = :id LIMIT 1") fun getScannedCode(id: Int): Flow<List<ScannedCodeEn...
1
Kotlin
18
102
b13a05f9967071b69b52abc1d8ae4a8280a97d0e
887
CardKeeper
Apache License 2.0
data/barcode/src/main/java/com/awscherb/cardkeeper/barcode/db/ScannedCodeDao.kt
LateNightProductions
66,697,395
false
{"Kotlin": 186882}
package com.awscherb.cardkeeper.barcode.db import androidx.room.* import com.awscherb.cardkeeper.barcode.entity.ScannedCodeEntity import kotlinx.coroutines.flow.Flow @Dao interface ScannedCodeDao { @Query("SELECT * FROM scannedCode WHERE id = :id LIMIT 1") fun getScannedCode(id: Int): Flow<List<ScannedCodeEn...
1
Kotlin
18
102
b13a05f9967071b69b52abc1d8ae4a8280a97d0e
887
CardKeeper
Apache License 2.0
app/src/main/java/com/teamnoyes/majorparksinseoul/adapter/DetailParkAdapter.kt
kjh9589
373,385,554
false
null
package com.teamnoyes.majorparksinseoul.adapter import android.view.ViewGroup import androidx.recyclerview.widget.DiffUtil import androidx.recyclerview.widget.ListAdapter import androidx.recyclerview.widget.RecyclerView import com.teamnoyes.majorparksinseoul.model.ModelDetailPark import com.teamnoyes.majorparksinseoul...
0
Kotlin
0
0
0c12c5b787730eb36263afcc3de0ab7163c8692a
1,624
Android-Major-Parks-In-Seoul
Apache License 2.0
app/src/main/java/io/exzocoin/wallet/modules/blockchainsettings/BlockchainSettingsModule.kt
rexdev0211
403,525,735
false
{"Kotlin": 2356794, "Shell": 2039, "Ruby": 966}
package io.exzocoin.wallet.modules.blockchainsettings import io.exzocoin.wallet.entities.AccountType.Derivation import io.exzocoin.wallet.entities.BitcoinCashCoinType import io.exzocoin.wallet.ui.extensions.BottomSheetSelectorViewItem import io.exzocoin.coinkit.models.Coin object BlockchainSettingsModule { data ...
0
Kotlin
1
0
1ed5d80490ecf1574499cafa5aad922c4ea9a362
902
exzo-android-wallet-main
MIT License
vuesaxicons/src/commonMain/kotlin/moe/tlaster/icons/vuesax/vuesaxicons/bold/Volumelow1.kt
Tlaster
560,394,734
false
{"Kotlin": 25133302}
package moe.tlaster.icons.vuesax.vuesaxicons.bold 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.co...
0
Kotlin
0
2
b8a8231e6637c2008f675ae76a3423b82ee53950
3,411
VuesaxIcons
MIT License
medeia-validator-core/src/main/kotlin/com/worldturner/medeia/schema/validation/EnumValidator.kt
crunchyroll
193,698,964
true
{"Kotlin": 359249, "Java": 18810}
package com.worldturner.medeia.schema.validation import com.worldturner.medeia.api.FailedValidationResult import com.worldturner.medeia.api.OkValidationResult import com.worldturner.medeia.api.ValidationResult import com.worldturner.medeia.parser.ArrayNode import com.worldturner.medeia.parser.JsonTokenData import com....
1
Kotlin
0
0
9f435c57f5a31cc5f7fbde6cdae747c38a2ed9ec
5,737
medeia-validator
Apache License 2.0
app/src/main/java/com/yggdralisk/koinspotifysample/presentation/releases/ReleasesViewModel.kt
JanStoltman
145,439,418
false
null
package com.yggdralisk.koinspotifysample.presentation.releases import android.app.Activity import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import com.yggdralisk.koinspotifysample.R import com.yggdralisk.koinspotifysample.data.model.ReleaseModel import com.yggdralisk.koinspotifysample.domai...
0
Kotlin
1
4
af87049819152bd2239963f2e78590ef76288bda
2,004
koin-spotify-sample
Apache License 2.0
bukkit/rpk-chat-bukkit/src/main/kotlin/com/rpkit/chat/bukkit/discord/command/DiscordVersionCommand.kt
RP-Kit
54,840,905
false
null
/* * Copyright 2022 Ren Binden * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
51
Kotlin
11
22
aee4060598dc25cd8e4f3976ed5e70eb1bf874a2
3,854
RPKit
Apache License 2.0
SleepestMaster/app/src/main/java/com/sleepestapp/sleepest/ui/history/HistoryDayFragment.kt
vanthomiy
334,247,111
false
null
package com.sleepestapp.sleepest.ui.history import android.content.Context import android.graphics.Color import android.os.Bundle import android.transition.TransitionManager import android.util.TypedValue import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.core.con...
8
Kotlin
0
2
ef3d037fbc4a2997e1339f9419d13d56d1a9f379
26,858
Sleepest
MIT License
app/src/main/java/com/example/tictactoe/ui/board/GameBoard.kt
Rahula-12
695,938,700
false
{"Kotlin": 59476}
package com.example.tictactoe.ui.board import androidx.compose.foundation.Canvas import androidx.compose.foundation.background import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.runtime.Composable import androidx.compose.ui.Modifier import androidx.compose.ui.geometry.Offset import androidx....
0
Kotlin
0
0
27867eb2bdb4dc42b3245753161e71886b068050
3,779
TicTacToeGame
MIT License
kotlin/examples/src/main/kotlin/examples/utils/visualization/meshvis2d/viewport/Viewport.kt
facebookresearch
495,505,391
false
null
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ package examples.utils.visualization.meshvis2d.viewport import examples.utils.visualization.meshvis2d.math.Vector2 abstract cla...
62
Jupyter Notebook
3
55
710f403719bb89e3bcf00d72e53313f8571d5230
1,434
diffkt
MIT License
app/src/main/java/org/tokend/template/features/clients/repository/CompanyClientsRepository.kt
tokend
192,905,357
false
{"Kotlin": 1830732, "HTML": 58776, "Java": 21685}
package org.tokend.template.features.clients.repository import io.reactivex.Single import io.reactivex.functions.BiFunction import org.tokend.rx.extensions.toSingle import org.tokend.sdk.api.base.model.DataPage import org.tokend.sdk.api.base.params.PagingOrder import org.tokend.sdk.api.base.params.PagingParamsV2 impor...
1
Kotlin
1
6
05bb971859713830a9c229206dc9f525ce80f754
3,374
conto-android-client
Apache License 2.0
services/csm.cloud.project.activity/src/main/kotlin/com/bosch/pt/csm/cloud/projectmanagement/user/repository/impl/UserRepositoryExtensionImpl.kt
boschglobal
805,348,245
false
{"Kotlin": 13156190, "HTML": 274761, "Go": 184388, "HCL": 158560, "Shell": 117666, "Java": 52634, "Python": 51306, "Dockerfile": 10348, "Vim Snippet": 3969, "CSS": 344}
/* * ************************************************************************ * * Copyright: <NAME> Power Tools GmbH, 2018 - 2021 * * ************************************************************************ */ package com.bosch.pt.csm.cloud.projectmanagement.user.repository.impl import com.bosch.pt.csm.c...
0
Kotlin
3
9
9f3e7c4b53821bdfc876531727e21961d2a4513d
2,207
bosch-pt-refinemysite-backend
Apache License 2.0
app/src/main/java/com/example/composepokedex/data/remote/dto/GenerationViii.kt
zprima
486,766,592
false
{"Kotlin": 47829}
package com.example.composepokedex.data.remote.dto import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable @Serializable data class GenerationViii( @SerialName("icons") val icons: IconsX? )
0
Kotlin
0
0
22c4188b0070a2e6e30184003d065edf8e4be40c
226
compose-pokedex-clean
MIT License
src/jvmMain/kotlin/com/sdercolin/vlabeler/ui/App.kt
sdercolin
503,365,242
false
null
package com.sdercolin.vlabeler.ui import androidx.compose.foundation.background import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.material.MaterialTheme import androidx.compose.material.SnackbarHostState import androidx.compose.runtime.Composabl...
8
null
22
147
f4e47b6c386e1446f9e311549156a6d29aa8d3da
8,360
vlabeler
Apache License 2.0
app/src/main/java/com/example/missingpets/utils/storage/preferences/Prefs.kt
UTN-FRBA-Mobile
409,980,590
false
{"Kotlin": 140503, "Java": 13882}
package com.example.missingpets.utils.storage.preferences import android.content.Context import android.content.SharedPreferences class Prefs (context: Context) { val PREFS_NAME = "com.cursokotlin.sharedpreferences" val SHARED_LATITUDE = "shared_latitude" val SHARED_LONGITUDE = "shared_longitude" val...
0
Kotlin
0
0
e2c3332e28877d23b15ce92bc29adda82e707bee
850
MissingPets
MIT License
app/src/main/java/edu/rosehulman/andersc7/androidsalewaypoint/ui/listing/ListingViewHolder.kt
petersjl
468,592,926
false
{"Kotlin": 52083}
package edu.rosehulman.andersc7.androidsalewaypoint.ui.listing import android.graphics.Color import android.opengl.Visibility import android.view.View import androidx.core.graphics.drawable.DrawableCompat import androidx.core.view.isVisible import androidx.recyclerview.widget.RecyclerView import edu.rosehulman.andersc...
0
Kotlin
0
1
94ed0dfca2ff57478e9cf9609f39f6111f185913
1,684
AndroidSaleWaypoint
Apache License 2.0
plugins/kotlin/idea/tests/testData/quickfix/suppress/inspections/codeStructure/parameterSuppressedOnParameter.kt
JetBrains
2,489,216
false
null
// "Suppress 'DelegationToVarProperty' for parameter text" "true" class ParameterSuppressedOnParameter(var <caret>text: CharSequence): CharSequence by text // K1_TOOL: org.jetbrains.kotlin.idea.codeInsight.inspections.shared.DelegationToVarPropertyInspection // K2_TOOL: org.jetbrains.kotlin.idea.codeInsight.inspectio...
284
null
5162
16,707
def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0
529
intellij-community
Apache License 2.0
src/main/java/com/github/ai/autokpass/presentation/ui/core/strings/StringResourcesImpl.kt
aivanovski
473,610,974
false
{"Kotlin": 288569}
package com.github.ai.autokpass.presentation.ui.core.strings import java.util.Locale import java.util.ResourceBundle class StringResourcesImpl : StringResources { private val resourceMap = ResourceBundleMap( resources = ResourceBundle.getBundle("strings", Locale.getDefault()) ) override val appN...
1
Kotlin
0
1
4f9d3bebbde84056b8d721dae71aca15932d0b5c
1,941
autokpass
Apache License 2.0
compiler/testData/codegen/box/multiDecl/ValCapturedInFunctionLiteral.kt
udalov
10,645,710
false
{"Java": 9931656, "Kotlin": 2142480, "JavaScript": 942412, "C++": 613791, "C": 193807, "Objective-C": 22634, "Shell": 12589, "Groovy": 1267}
class A { fun component1() = 1 fun component2() = 2 } fun box() : String { var (a, b) = A() a = b return if (a == 2 && b == 2) "OK" else "fail" }
0
Java
1
6
3958b4a71d8f9a366d8b516c4c698aae80ecfe57
167
kotlin-objc-diploma
Apache License 2.0
compiler/testData/codegen/box/multiDecl/ValCapturedInFunctionLiteral.kt
udalov
10,645,710
false
{"Java": 9931656, "Kotlin": 2142480, "JavaScript": 942412, "C++": 613791, "C": 193807, "Objective-C": 22634, "Shell": 12589, "Groovy": 1267}
class A { fun component1() = 1 fun component2() = 2 } fun box() : String { var (a, b) = A() a = b return if (a == 2 && b == 2) "OK" else "fail" }
0
Java
1
6
3958b4a71d8f9a366d8b516c4c698aae80ecfe57
167
kotlin-objc-diploma
Apache License 2.0
tiny-event-sourcing-lib/src/main/kotlin/ru/quipy/streams/AggregateSubscriptionsManager.kt
andrsuh
498,475,206
false
{"Kotlin": 420728, "PLpgSQL": 1840, "Dockerfile": 242}
package ru.quipy.streams import org.slf4j.LoggerFactory import org.springframework.core.annotation.AnnotationUtils import ru.quipy.core.AggregateRegistry import ru.quipy.domain.Aggregate import ru.quipy.domain.Event import ru.quipy.mapper.EventMapper import ru.quipy.streams.EventStreamSubscriber.EventStreamSubscriptio...
14
Kotlin
8
34
880796f04bb6e27aab615c8efccd709d5ca22193
8,037
tiny-event-sourcing
Apache License 2.0
analytics/src/main/java/io/appmetrica/analytics/impl/core/CoreImplFirstCreateTaskLauncher.kt
appmetrica
650,662,094
false
null
package io.appmetrica.analytics.impl.core import io.appmetrica.analytics.impl.GlobalServiceLocator import io.appmetrica.analytics.logger.appmetrica.internal.DebugLogger import java.util.concurrent.TimeUnit private const val TAG = "[MetricaCoreImplFirstCreateTaskLauncher]" class CoreImplFirstCreateTaskLauncher(privat...
3
null
5
54
81572296e16423617822fbc19c2465d6b7b4713e
851
appmetrica-sdk-android
MIT License
src/commonMain/kotlin/com/jeffpdavidson/kotwords/formats/unidecode/xb9.kt
jpd236
143,651,464
false
{"Kotlin": 4431127, "HTML": 41941, "Rouge": 3731, "Perl": 1705, "Shell": 744, "JavaScript": 618}
package com.jeffpdavidson.kotwords.formats.unidecode internal val xb9 = arrayOf( // 0xb900: 뤀 => ruk "\u0072\u0075\u006b", // 0xb901: 뤁 => rut "\u0072\u0075\u0074", // 0xb902: 뤂 => rup "\u0072\u0075\u0070", // 0xb903: 뤃 => ruh "\u0072\u0075\u0068", // 0xb904: 뤄 => rweo "\u0072\u...
8
Kotlin
6
25
0c94260c3e9472db2e89f6c62ba715e85e1539f4
15,271
kotwords
Apache License 2.0
application/module/module_splash/src/main/java/afkt_replace/module/splash/SplashViewModel.kt
afkT
343,177,221
false
null
package novalinx.module.splash import novalinx.core.lib.base.app.BaseViewModel import novalinx.core.lib.bean.splash.SplashAds import novalinx.core.lib.config.KeyConst import novalinx.core.lib.router.module.AppRouter import novalinx.core.lib.router.module.splash.SplashNav import android.app.Activity import androidx.lif...
2
null
17
72
710033ee53928e30f8dc7b37aacdbde7283a7841
1,583
DevComponent
Apache License 2.0
app/src/main/java/com/cubivue/camera/app/CameraActivity.kt
embraceitmobile
535,972,537
false
null
package com.cubivue.camera.app import android.content.Context import android.content.Intent import android.net.Uri import android.os.Build import android.os.Bundle import android.util.Log import android.view.WindowInsets import android.view.WindowInsetsController import android.view.WindowManager import androidx.activ...
0
Kotlin
0
0
059e7b8be28a4e9d61cea9c2f903ac4771c66a6c
7,201
Camera_CubiVue
Apache License 2.0
zircon.core/src/commonMain/kotlin/org/hexworks/zircon/api/component/builder/ComponentBuilder.kt
EdaKalabak
385,504,580
true
{"Kotlin": 1760072, "Java": 118844, "Shell": 152}
package org.hexworks.zircon.api.component.builder import org.hexworks.zircon.api.ComponentAlignments.alignmentAround import org.hexworks.zircon.api.ComponentAlignments.alignmentWithin import org.hexworks.zircon.api.ComponentAlignments.positionalAlignment import org.hexworks.zircon.api.builder.Builder import org.hexwor...
0
null
0
0
8143a56d9c82c07cb1a91dcb4cf355bd2afe45cc
7,792
zircon
Apache License 2.0
core/src/main/java/com/serious/exception/RegisterExceptionHandler.kt
coolsamson7
700,938,199
false
{"Kotlin": 196440}
package com.serious.exception /* * @COPYRIGHT (C) 2023 Andreas Ernst * * All rights reserved */ import org.springframework.stereotype.Component @MustBeDocumented @Retention(AnnotationRetention.RUNTIME) @Target(AnnotationTarget.CLASS) @Component annotation class RegisterExceptionHandler()
0
Kotlin
0
1
7f8e95fa9c395f12c076d9e1219718592439858f
295
service
Apache License 2.0
timer/d2v-timer-js/src/test/kotlin/io/data2viz/timer/TimerTests.kt
yijunwu
207,939,886
true
{"Kotlin": 1700165, "JavaScript": 42307, "HTML": 38481, "Java": 386}
package io.data2viz.timer import io.data2viz.test.TestBase import kotlinx.coroutines.experimental.delay import kotlinx.coroutines.experimental.promise import kotlin.test.Ignore import kotlin.test.Test @Suppress("unused") class TimerTests : TestBase() { @Test fun keepOneTest() { true shouldBe true...
0
null
0
0
733f9ac458755ab065becd16d7f001be21080f59
3,763
data2viz
Apache License 2.0
embrace-android-core/src/main/kotlin/io/embrace/android/embracesdk/internal/config/behavior/AppExitInfoBehavior.kt
embrace-io
704,537,857
false
{"Kotlin": 2981564, "C": 189341, "Java": 150268, "C++": 13140, "CMake": 4261}
package io.embrace.android.embracesdk.internal.config.behavior interface AppExitInfoBehavior { fun getTraceMaxLimit(): Int /** * Whether the feature is enabled or not. */ fun isAeiCaptureEnabled(): Boolean fun appExitInfoMaxNum(): Int sealed class CollectTracesResult(val result: Strin...
11
Kotlin
11
134
896e9aadf568ba527c76ec66f6f440baed29d1ee
551
embrace-android-sdk
Apache License 2.0
embrace-android-sdk/src/test/java/io/embrace/android/embracesdk/fakes/FakeInternalNetworkApi.kt
embrace-io
704,537,857
false
null
package io.embrace.android.embracesdk.fakes import io.embrace.android.embracesdk.internal.config.instrumented.NetworkCaptureConfig import io.embrace.android.embracesdk.internal.network.http.InternalNetworkApi import io.embrace.android.embracesdk.network.EmbraceNetworkRequest internal class FakeInternalNetworkApi( ...
20
null
8
134
896e9aadf568ba527c76ec66f6f440baed29d1ee
1,440
embrace-android-sdk
Apache License 2.0
src/main/kotlin/org/nield/kotlinstatistics/SimpleRegression.kt
thomasnield
84,361,977
false
null
package org.nield.kotlinstatistics interface SimpleRegression { val n: Long val intercept: Double val slope: Double val sumSquaredErrors: Double val totalSumSqaures: Double val xSumSquares: Double val sumOfCrossProducts: Double val regressionSumSquares: Double val meanSquareError: ...
3
null
48
842
17f64bae2a3cea2e85f05c08172d19a290561e3b
1,513
kotlin-statistics
Apache License 2.0
examples/example-kotlin/services/intermediary-service/src/main/kotlin/Main.kt
konigsoftware
690,328,441
false
{"Kotlin": 31037}
package example.services.intermediary import example.services.balance.BalanceServiceGrpcKt.BalanceServiceCoroutineStub import example.services.shared.GlobalAuthContextKey import io.grpc.ManagedChannelBuilder import io.grpc.ServerBuilder import org.konigsoftware.kontext.KonigKontextServerInterceptor import org.konigsof...
5
Kotlin
0
1
cdfe2ab61f32625d5300c9dcd3c17c82079cc6ec
955
konig-kontext
MIT License
app/src/main/java/com/luiz/thenews/presentation/NewsApp.kt
Felipeecp
641,915,241
false
null
package com.luiz.thenews.presentation import android.app.Application import dagger.hilt.android.HiltAndroidApp @HiltAndroidApp class NewsApp:Application()
0
Kotlin
0
0
e78de1fb46118ac3a9a950b653ca9ef2902b6844
156
TheNewsApp
MIT License
src/nl/hannahsten/texifyidea/action/group/ZathuraActionGroup.kt
bdudelsack
296,719,900
true
{"Gradle Kotlin DSL": 2, "Java Properties": 1, "Markdown": 7, "Shell": 1, "Text": 2, "Ignore List": 1, "Batchfile": 1, "EditorConfig": 1, "YAML": 3, "Kotlin": 592, "Java": 93, "TeX": 38, "BibTeX": 3, "INI": 1, "XML": 5, "JFlex": 2, "CODEOWNERS": 1, "SVG": 74, "HTML": 98, "Python": 1}
package nl.hannahsten.texifyidea.action.group import com.intellij.openapi.actionSystem.DataContext import com.intellij.openapi.actionSystem.DefaultActionGroup import nl.hannahsten.texifyidea.run.linuxpdfviewer.PdfViewer class SkimActionGroup : DefaultActionGroup() { override fun canBePerformed(context: DataConte...
0
null
0
0
afb253cfce2159660097792682e05c147851afe9
416
TeXiFy-IDEA
MIT License
app/src/test/java/com/example/stylo/data/database/NotesMetaDataDatabaseTest.kt
Evan-Coulter
501,509,725
false
null
package com.example.stylo.data.database import android.content.Context import androidx.room.Room import androidx.test.core.app.ApplicationProvider import com.example.stylo.data.model.BelongsToBuilder import com.example.stylo.data.model.RoomFolder import com.example.stylo.data.model.RoomFolderBuilder import com.example...
2
Kotlin
0
0
59c96bbcbaf61dd2328a725c781d486384a8c305
8,017
Stylo
Apache License 2.0
app/src/main/kotlin/com/ch3d/android/utils/StringUtils.kt
Ch3D
66,939,085
false
null
package com.ch3d.android.utils import android.content.Context import android.util.TypedValue class StringUtils { companion object { fun dpToPx(context: Context, i: Float): Float { val displayMetrics = context.resources.displayMetrics return TypedValue.applyDimension(TypedValue.COM...
0
Kotlin
0
0
131b16addee5741115b1b206025832b2bbf006d1
1,529
AndroidUtils
Apache License 2.0
finance/src/main/java/com/scitrader/finance/pane/modifiers/legend/StudyLegend.kt
ABTSoftware
468,421,926
false
{"Kotlin": 296559, "Java": 3061}
package com.scitrader.finance.pane.modifiers.legend import android.content.Context import android.util.AttributeSet import com.scichart.charting.visuals.layout.LinearViewContainer import com.scitrader.finance.study.StudyId import com.scitrader.finance.study.tooltips.IStudyTooltip class StudyLegend @JvmOverloads const...
3
Kotlin
0
2
00245ef7ee93ee79b1b5a1e8a6a77bce0f02777b
1,496
Finance.Android
Apache License 2.0
app/src/main/java/com/zql/travelassistant/fragment/SettingsViewModel.kt
zliu80
596,862,076
false
null
package com.zql.travelassistant.fragment import androidx.lifecycle.ViewModel class SettingsViewModel : ViewModel() { // TODO: Implement the ViewModel }
0
Kotlin
0
0
f6d0a9b8507e5f3d566f3578cdba231ab74b1042
157
491finalproject
MIT License
domain/src/main/java/com/demo/domain/db/AlbumDao.kt
Mithrandir21
415,935,855
false
null
package com.demo.domain.db import androidx.room.* import com.demo.domain.model.albums.Album import io.reactivex.rxjava3.core.Completable import io.reactivex.rxjava3.core.Flowable @Dao interface AlbumDao { /** * Returns a single [Album] with the given [id]. * Note: Returning a List to allow for continu...
0
Kotlin
0
0
09eb085fd6428750ce2825b6a7e9403f216742c8
1,745
demo
Apache License 2.0
plugins/amazonq/codetransform/jetbrains-community/src/software/aws/toolkits/jetbrains/ui/feedback/CodeTransformFeedbackDialog.kt
aws
91,485,909
false
{"Kotlin": 7507266, "TypeScript": 132101, "C#": 97693, "Vue": 47529, "Java": 19596, "JavaScript": 12450, "HTML": 5878, "Python": 2939, "Shell": 2920, "Dockerfile": 2209, "SCSS": 2045, "CSS": 1827, "PowerShell": 386, "Batchfile": 77}
// Copyright 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.aws.toolkits.jetbrains.ui.feedback import com.intellij.openapi.project.Project import software.aws.toolkits.jetbrains.feedback.sendFeedbackWithExperimentsMetadata import software.aws.tool...
519
Kotlin
220
757
a81caf64a293b59056cef3f8a6f1c977be46937e
1,213
aws-toolkit-jetbrains
Apache License 2.0
chat-android/src/main/java/com/ably/chat/ErrorCodes.kt
ably-labs
842,493,008
false
{"Kotlin": 99368}
package com.ably.chat /** * Error codes for the Chat SDK. */ object ErrorCodes { /** * The messages feature failed to attach. */ const val MessagesAttachmentFailed = 102_001 /** * The presence feature failed to attach. */ const val PresenceAttachmentFailed = 102_002 /** ...
8
Kotlin
0
1
b0943ab719663f2d8cf55ce7b3e69eecee711587
2,530
ably-chat-kotlin
Apache License 2.0
GUI/src/main/kotlin/frameNavigation/FrameNavigation.kt
amosproj
705,002,381
false
{"Kotlin": 174558, "Python": 2014, "Shell": 588}
package frameNavigation import FrameNavigationInterface import algorithms.AlignmentElement import androidx.compose.runtime.MutableState import androidx.compose.runtime.mutableStateOf import androidx.compose.ui.graphics.ImageBitmap import androidx.compose.ui.graphics.toAwtImage import androidx.compose.ui.graphics.toCom...
59
Kotlin
2
6
eac092621fd0e53eb12b948f8aef19f5c47df710
10,382
amos2023ws03-gui-frame-diff
MIT License
owntracks-android-2.5/project/app/src/androidTest/java/org/owntracks/android/data/waypoints/WaypointsMigrationFromObjectboxTest.kt
wir3z
737,346,188
false
{"Kotlin": 928031, "Groovy": 381781, "Java": 12862, "Shell": 4540}
package org.owntracks.android.data.waypoints import android.content.Context import androidx.test.core.app.ApplicationProvider import androidx.test.espresso.Espresso import androidx.test.filters.SmallTest import androidx.test.platform.app.InstrumentationRegistry import kotlin.time.Duration.Companion.minutes import kotl...
0
Kotlin
3
5
c8a9c15dfd402e126ab7a2a5316b316c80142cfb
2,223
hubitat
Apache License 2.0
src/main/kotlin/no/nav/syfo/infrastructure/kafka/AktivitetskravVarselProducer.kt
navikt
554,767,872
false
{"Kotlin": 508056, "Dockerfile": 226}
package no.nav.syfo.infrastructure.kafka import no.nav.syfo.infrastructure.kafka.domain.KafkaAktivitetskravVarsel import org.apache.kafka.clients.producer.KafkaProducer import org.apache.kafka.clients.producer.ProducerRecord import org.slf4j.LoggerFactory import java.util.* class AktivitetskravVarselProducer(private ...
3
Kotlin
1
0
55c4a23f24c6776d947cafc6788d23f919c84de5
1,352
isaktivitetskrav
MIT License
stytch/src/main/kotlin/com/stytch/java/consumer/api/m2mclients/M2MClients.kt
stytchauth
665,684,154
false
{"Kotlin": 1170620}
package com.stytch.java.consumer.api.m2mclients // !!! // WARNING: This file is autogenerated // Only modify code within MANUAL() sections // or your changes may be overwritten later! // !!! import com.squareup.moshi.JsonAdapter import com.squareup.moshi.Moshi import com.squareup.moshi.Types import com.stytch.java.co...
1
Kotlin
3
8
2913009c79852c9f7bccea41e24b2a3bcc2295c3
13,574
stytch-java
MIT License
plugins/kotlin/gradle/gradle-java/tests/test/org/jetbrains/kotlin/idea/codeInsight/gradle/CommonizerImportAndCheckHighlightingTest.kt
ingokegel
72,937,917
false
null
// Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package org.jetbrains.kotlin.idea.codeInsight.gradle import com.intellij.lang.annotation.HighlightSeverity import com.intellij.openapi.externalSystem.model.proj...
236
null
4946
2
b07eabd319ad5b591373d63c8f502761c2b2dfe8
13,233
intellij-community
Apache License 2.0
src/main/kotlin/br/com/jiratorio/parser/EstimateIssueParser.kt
andrelugomes
230,294,644
false
null
package br.com.jiratorio.parser import br.com.jiratorio.aspect.annotation.ExecutionTime import br.com.jiratorio.domain.FluxColumn import br.com.jiratorio.domain.entity.Board import br.com.jiratorio.domain.estimate.EstimateIssue import br.com.jiratorio.domain.impediment.calculator.ImpedimentCalculatorResult import br.c...
0
null
0
1
168de10e5e53f31734937816811ac9dae6940202
4,968
jirareport
MIT License
korge/src/commonMain/kotlin/com/soywiz/korge/ui/UIScrollBar.kt
RezMike
245,256,664
true
{"Kotlin": 1902450, "Java": 182026, "Shell": 1955, "Batchfile": 1618}
package com.soywiz.korge.ui import com.soywiz.kmem.* import com.soywiz.korge.input.* import com.soywiz.korge.ui.UIScrollBar.* import com.soywiz.korge.view.* import com.soywiz.korio.async.* import com.soywiz.korma.geom.* import kotlin.math.* inline fun Container.uiScrollBar( width: Number, height: Number, ...
0
Kotlin
0
0
7516f754ecdb4ea8dce3c7b1a14ee2b07e28f984
5,377
korge
Apache License 2.0
compiler/fir/analysis-tests/testData/resolve/references/leakedImplicitType.kt
JetBrains
3,432,266
false
null
// ISSUE: KT-46072 // Case 1 class Foo { fun bar() {} fun f() = <!UNRESOLVED_REFERENCE!>Unresolved<!>()::bar // Type of Unresolved()::bar is implicit } // Case 2 interface IA interface IB : IA fun IA.extFun(x: IB) {} fun IB.extFun(x: IA) {} fun testWithExpectedType() { val extFun_AA_B: IA.(IA) -> Unit =...
181
null
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
417
kotlin
Apache License 2.0
src/main/kotlin/day4/solver.kt
derekaspaulding
317,756,568
false
null
package day4 import java.io.File fun getPassports(batch: String, shouldValidate: Boolean = false): List<Passport> = batch .split("\n\n") .map { Passport(it, shouldValidate) } fun solveFirstProblem(batch: String): Int = getPassports(batch).count { it.isValid() } fun solveSecondProblem(batch: String): Int = g...
0
Kotlin
0
0
0e26fdbb3415fac413ea833bc7579c09561b49e5
630
advent-of-code-2020
MIT License
wgpu4k/src/nativeMain/kotlin/io.ygdrasil.wgpu/RenderPassEncoder.native.kt
wgpu4k
773,068,055
false
{"Kotlin": 1190676, "HTML": 1638, "Dockerfile": 1039, "Shell": 308}
@file:OptIn(ExperimentalForeignApi::class) package io.ygdrasil.wgpu import io.ygdrasil.wgpu.internal.toPointerArray import kotlinx.cinterop.ExperimentalForeignApi import kotlinx.cinterop.memScoped import webgpu.* actual class RenderPassEncoder(internal val handler: WGPURenderPassEncoder) { actual fun end() { ...
7
Kotlin
6
41
822c304afaa72411ae42e86f20c7b5c62b5f9815
2,035
wgpu4k
MIT License
app/src/main/java/com/thecode/infotify/presentation/splash/SplashViewModel.kt
Ethiel97
373,656,092
true
{"Kotlin": 103599}
package com.thecode.infotify.presentation.splash import androidx.lifecycle.ViewModel import com.thecode.infotify.core.usecases.IsOnboardingCompleted import dagger.hilt.android.lifecycle.HiltViewModel import javax.inject.Inject @HiltViewModel class SplashViewModel @Inject constructor( private val isOnboardingCompl...
0
null
0
0
bd6cfdd0f64a919cfb302e6b536c09b093e0dee6
464
Infotify
Apache License 2.0
component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/core/deeplink/DeepLinkManager.kt
pablichjenkov
135,388,611
false
null
package com.macaosoftware.component.core.deeplink import com.macaosoftware.component.core.Component import com.macaosoftware.component.core.ComponentLifecycleState interface DeepLinkManager { fun navigateToDeepLink( component: Component, deepLinkMsg: DeepLinkMsg ) } class DefaultDeepLinkManag...
0
null
5
95
198b61ee7bb8b777868b64066f9004e070e63856
2,548
macao-sdk
The Unlicense
src/main/kotlin/org/cryptobiotic/mixnet/cli/RunMixnetTally.kt
JohnLCaron
762,789,706
false
{"Kotlin": 169695, "Shell": 12082}
package org.cryptobiotic.mixnet.cli import com.github.michaelbull.result.Err import com.github.michaelbull.result.unwrap import io.github.oshai.kotlinlogging.KotlinLogging import kotlinx.cli.ArgParser import kotlinx.cli.ArgType import kotlinx.cli.required import org.cryptobiotic.eg.core.* import org.cryptobiotic.eg.el...
0
Kotlin
0
0
7f96f8ee4acb2e5a11c8a83acba0b082627cead0
4,353
egk-ec-mixnet
MIT License
app/src/main/java/com/prmto/mova_movieapp/feature_person_detail/presentation/adapter/PersonCastMovieAdapter.kt
tolgaprm
541,709,201
false
{"Kotlin": 522687}
package com.prmto.mova_movieapp.feature_person_detail.presentation.adapter import com.prmto.mova_movieapp.feature_person_detail.domain.model.CastForPerson class PersonCastMovieAdapter() : PersonMovieBaseAdapter<CastForPerson>() { override fun onBindViewHolder(holder: PersonMovieViewHolder, position: Int) { ...
1
Kotlin
3
56
1936fb736958a2e47e691ae7d694ba56e77e44f5
517
Mova-MovieApp
Apache License 2.0
app/src/main/java/com/example/stylish/data/remote/dto/detail/Catwalk.kt
world2222
713,460,580
false
{"Kotlin": 161972}
package com.example.stylish.data.remote.dto.detail import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable @Serializable data class Catwalk( @SerialName("url") val url: String? = null, @SerialName("colourWayId") val colourWayId: Int? = null, @SerialName("colourCode") ...
0
Kotlin
0
0
a73253f5852ec397a5c5b50f446cf4be60bdab4a
353
Stylish
Apache License 2.0
dsl/src/main/kotlin/io/cloudshiftdev/awscdkdsl/services/ecs/CfnTaskSetAwsVpcConfigurationPropertyDsl.kt
cloudshiftinc
667,063,030
false
{"Kotlin": 70198112}
@file:Suppress( "RedundantVisibilityModifier", "RedundantUnitReturnType", "RemoveRedundantQualifierName", "unused", "UnusedImport", "ClassName", "REDUNDANT_PROJECTION", "DEPRECATION" ) package cloudshift.awscdk.dsl.services.ecs import cloudshift.awscdk.common.CdkDslMarker import kotlin...
3
Kotlin
0
3
c59c6292cf08f0fc3280d61e7f8cff813a608a62
3,670
awscdk-dsl-kotlin
Apache License 2.0
klio/src/commonMain/kotlin/org/kodein/memory/io/IOException.kt
kosi-libs
181,659,560
false
{"C": 2929780, "Kotlin": 313185, "JavaScript": 359}
package org.kodein.memory.io public expect open class IOException(msg: String): Exception
0
C
0
7
bab7f6ff28ca5cf9031a3d312f56d67fe3151d3c
92
Klio
MIT License
app/src/main/java/com/example/androiddevchallenge/HomeScreen.kt
robertdegroot
355,230,750
false
null
package com.example.androiddevchallenge import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.foundation.lazy.LazyColumn import androidx.compose.foundation.lazy.items import androidx.compose.material.MaterialTheme import androidx.compose.material...
0
Kotlin
0
0
74d2a8b964b7d628521dddb73bd6d3ea718586a6
1,127
DogAdoptionJetpackCompose
Apache License 2.0
matrix-sdk-android/src/androidTest/java/org/matrix/android/sdk/internal/crypto/ExportEncryptionTest.kt
matrix-org
287,466,066
false
null
/* * Copyright 2018 New Vector Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
75
null
6
97
55cc7362de34a840c67b4bbb3a14267bc8fd3b9c
7,608
matrix-android-sdk2
Apache License 2.0
app/src/main/java/com/tikou/androidstudylib/dagger2/DaggerActivity.kt
Tiannuo
502,867,476
false
null
package com.tikou.androidstudylib.dagger2 import android.content.Intent import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.view.View import com.orhanobut.logger.Logger import com.tikou.androidstudylib.MyApp import com.tikou.androidstudylib.R import com.tikou.androidstudylib.di.Pres...
0
Kotlin
0
0
23e5a46bb5cd2be618ecf1b5fff52b81ebf38888
1,701
AndroidArchitect
Apache License 2.0
app/src/main/java/org/szymonbultrowicz/olympusphototransfer/app/MyAppGlideModule.kt
szymonbultrowicz
219,493,861
false
null
package com.android.myapplication.movies.util import android.content.Context import com.bumptech.glide.GlideBuilder import com.bumptech.glide.annotation.GlideModule import com.bumptech.glide.load.engine.DiskCacheStrategy import com.bumptech.glide.module.AppGlideModule import com.bumptech.glide.request.RequestOptions i...
0
null
0
2
9c3591336176ef440b3ca338a9b5f545e2760210
713
android-olympus-photo-transfer
Apache License 2.0
plugins/git4idea/tests/git4idea/update/GitForcePushedBranchUpdateBaseTest.kt
JetBrains
2,489,216
false
null
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. package git4idea.update import com.intellij.testFramework.runInEdtAndWait import com.intellij.testFramework.utils.coroutines.waitCoroutinesBlocking import com.intellij.vcs.log.VcsCommitMetadata impo...
284
null
5162
16,707
def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0
1,459
intellij-community
Apache License 2.0
app/src/test/java/com/babylon/wallet/android/presentation/settings/editgateway/GatewaysViewModelTest.kt
radixdlt
513,047,280
false
null
package com.babylon.wallet.android.presentation.settings.editgateway import app.cash.turbine.test import com.babylon.wallet.android.domain.SampleDataProvider import com.babylon.wallet.android.domain.model.NetworkInfo import com.babylon.wallet.android.domain.usecases.GetNetworkInfoUseCase import com.babylon.wallet.andr...
8
null
11
6
aad2bc0b39f8871eca0b3e1f2b822c010cd016a6
5,614
babylon-wallet-android
Apache License 2.0
app/src/main/java/app/epf/ratp_eb_pf/PreferencesActivity.kt
pierrefrncs
255,360,624
false
null
package app.epf.ratp_eb_pf import android.content.Intent import android.content.SharedPreferences import android.os.Bundle import android.view.MenuItem import androidx.appcompat.app.AppCompatActivity import androidx.appcompat.app.AppCompatDelegate import androidx.preference.PreferenceManager const val KEY_THEME = "p...
0
Kotlin
0
0
8e17c15d5cba1194247e0adc7a35b694fe14435c
2,609
Metro-Finder
MIT License
master_detail/app/src/main/java/com/tjclawson/master_detail/MainActivity.kt
tjclawson
257,737,751
false
null
package com.tjclawson.master_detail import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import androidx.lifecycle.ViewModelProvider import kotlinx.android.synthetic.main.activity_main.* class MainActivity : AppCompatActivity() { private lateinit var viewModel: SharedViewModel override f...
0
Kotlin
0
0
65975854b6ce1ad279293aeab531949d687ccdde
1,128
rv_java
MIT License
src/main/kotlin/es/jtp/graphql/server/dsl/builders/UnionTypeBuilder.kt
juliotpaez
215,011,592
false
null
package es.jtp.graphql.server.dsl.builders import es.jtp.graphql.server.dsl.exceptions.* import es.jtp.graphql.server.dsl.interfaces.* import graphql.schema.* import kotlin.reflect.* import kotlin.reflect.full.* /** * Builder for a GraphQL union type. */ @Suppress("UNCHECKED_CAST") class UnionTypeBuilder<T : Any>(v...
0
Kotlin
0
0
119f266d08e3ef149b2a9c456e2550dcdfc3b6db
2,554
graphql-kotlin
MIT License