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
profile/src/main/java/org/openedx/profile/presentation/profile/ProfileViewModel.kt
openedx
613,282,821
false
{"Kotlin": 2073675, "Groovy": 5883, "JavaScript": 1129}
package org.openedx.profile.presentation.profile import androidx.fragment.app.FragmentManager import androidx.lifecycle.LifecycleOwner import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import androidx.lifecycle.viewModelScope import kotlinx.coroutines.flow.MutableStateFlow import kotlinx.cor...
85
Kotlin
23
18
4d36310011d20ce0fe896ae4e4d3ca2148f322b6
4,055
openedx-app-android
Apache License 2.0
app/src/main/java/com/robyn/dayplus2/display/DisplayActivity.kt
yifeidesu
92,456,032
false
{"Gradle": 3, "Markdown": 2, "Java Properties": 2, "Shell": 1, "Ignore List": 2, "Batchfile": 1, "JSON": 17, "Proguard": 1, "XML": 36, "Text": 1, "Java": 2, "Kotlin": 38}
package com.robyn.dayplus2.display import android.content.Context import android.content.Intent import android.os.Bundle import android.support.v4.app.Fragment import android.support.v4.app.FragmentStatePagerAdapter import android.support.v4.content.FileProvider import android.support.v4.view.ViewPager import android....
1
null
1
1
788a1ef3cdf88b9e6e65f513148cda58bb43fef7
6,901
DayPlus-Countdown
Apache License 2.0
peacock-core/src/main/kotlin/com/peacock/core/domain/account/AccountRepository.kt
peacock-123
828,176,906
false
{"Kotlin": 12393, "Dockerfile": 189}
package com.peacock.core.domain.account import com.peacock.core.domain.account.vo.AccountId import com.peacock.core.domain.vo.Email import org.springframework.data.repository.CrudRepository interface AccountRepository : CrudRepository<Account, AccountId> { fun findByEmail(email: Email): Account? }
0
Kotlin
0
0
5523334b76aa3b4bcbe9faf790e71191e26b26fe
305
peacock-server
MIT License
mongo/src/test/java/com/rarible/core/mongo/AbstractIntegrationTest.kt
rarible
357,923,214
false
null
package com.rarible.core.mongo import com.rarible.core.test.ext.MongoCleanup import com.rarible.core.test.ext.MongoTest import org.springframework.beans.factory.annotation.Autowired import org.springframework.boot.test.context.SpringBootTest import org.springframework.data.mongodb.core.ReactiveMongoOperations import o...
0
null
3
9
fb72de3228c224daf7e8ec2e09becc4dee602733
623
service-core
MIT License
common-model/src/main/java/com/moadgara/common_model/usecase/UseCase.kt
YKakdas
692,527,114
false
{"Kotlin": 320913}
package com.moadgara.common_model.usecase import com.moadgara.common_model.network.NetworkResult import kotlinx.coroutines.CoroutineDispatcher import kotlinx.coroutines.withContext abstract class UseCase<in P, R>(private val coroutineDispatcher: CoroutineDispatcher) { /** Executes the use case asynchronously and...
6
Kotlin
1
0
fa509863863ffc8a315bd238afe2f3d0f0ec61c8
1,143
NexusNook
Apache License 2.0
src/offer/Questions08.kt
andrewloski
154,839,594
true
{"Kotlin": 79493, "Java": 31720}
package offer //给定一颗二叉树及其中一个节点,找出其中序遍历序列的下一个节点 class BinaryTreeNodeWithFather<T>(var mValues: T, var mFather: BinaryTreeNodeWithFather<T>? = null, var mLeft: BinaryTreeNodeWithFather<T>? = null, var mRight: BinaryTreeNodeWithFather<T>? = null) fun main(args: Array<String>) { val a = Bi...
0
Kotlin
0
0
878265e3fcc76c66b55f3f39bba11dee540b3691
1,772
Algorithm
Apache License 2.0
app/src/main/java/com/google/norinori6791/cycledo/ui/dust/DustFragment.kt
norinori777
208,719,519
false
null
package com.google.norinori6791.cycledo.ui.dust import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.TextView import androidx.fragment.app.Fragment import androidx.lifecycle.Observer import androidx.lifecycle.ViewModelProviders import ...
6
Kotlin
0
0
64d33c5d84b39b4065b4034e45b33bace2eb3b5a
953
CycleDo
Apache License 2.0
straight/src/commonMain/kotlin/me/localx/icons/straight/bold/BowlingPins.kt
localhostov
808,861,591
false
{"Kotlin": 79430321, "HTML": 331, "CSS": 102}
package me.localx.icons.straight.bold 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.Miter i...
1
Kotlin
0
5
cbd8b510fca0e5e40e95498834f23ec73cc8f245
5,759
icons
MIT License
src/main/kotlin/uk/gov/justice/digital/hmpps/hmppselectronicmonitoringcreateanorderapi/models/AdditionalDocument.kt
ministryofjustice
852,871,729
false
{"Kotlin": 75871, "Dockerfile": 1173}
package uk.gov.justice.digital.hmpps.hmppselectronicmonitoringcreateanorderapi.models import jakarta.persistence.Column import jakarta.persistence.Entity import jakarta.persistence.Id import jakarta.persistence.JoinColumn import jakarta.persistence.ManyToOne import jakarta.persistence.Table import java.util.* @Entity...
1
Kotlin
0
0
1a1e301379437d0d9a312a62d24d1c9e07016d63
805
hmpps-electronic-monitoring-create-an-order-api
MIT License
app/src/main/java/com.terracode.blueharvest/listeners/accessibilityListeners/UnitToggleListener.kt
Capstone-Terracoders
718,832,727
false
{"Kotlin": 201501}
package com.terracode.blueharvest.listeners.accessibilityListeners import android.widget.CompoundButton import com.terracode.blueharvest.AccessibilitySettingsActivity import com.terracode.blueharvest.utils.PreferenceManager import com.terracode.blueharvest.utils.UnitConverter /** * Listener for handling changes in u...
69
Kotlin
0
0
a7c6739cd4ff084a233a27213c462cdee8615c06
2,585
Mobile-Application
MIT License
modules/android/ui/compose/src/main/kotlin/alakazam/android/ui/compose/Colours.kt
jonapoul
375,762,483
false
null
package alakazam.android.ui.compose import androidx.compose.material.Colors import androidx.compose.runtime.Stable import androidx.compose.ui.graphics.Color @Stable public val Colors.OnSurfaceSecondary: Color get() = if (isLight) Color(0x99000000) else Color(0x99FFFFFF) @Stable public val Colors.OnSurfaceGreen: Colo...
0
null
0
1
20c3c3255f9ac32db71aa04ea6357f0535e98f85
1,347
alakazam
Apache License 2.0
src/test/kotlin/msw/server/core/common/classes.kt
RaphaelTarita
316,530,927
false
null
package msw.server.core.common import com.google.common.net.InetAddresses import java.net.InetAddress import java.time.OffsetDateTime import java.util.UUID import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable import msw.server.core.model.OPLevel import msw.server.core.model.adapters.DateSe...
0
null
0
6
adf27aa75901ee7c35bbda724ee36dc43727e0a7
5,424
msw-server
MIT License
http-client/src/main/java/no/nav/familie/http/interceptor/MdcValuesPropagatingClientInterceptor.kt
navikt
202,538,908
false
null
package no.nav.familie.http.interceptor import no.nav.familie.log.IdUtils import no.nav.familie.log.NavHttpHeaders import no.nav.familie.log.mdc.MDCConstants import org.slf4j.MDC import org.springframework.http.HttpRequest import org.springframework.http.client.ClientHttpRequestExecution import org.springframework.htt...
19
Kotlin
1
2
957e0346ada3cabbc536ec5371b830e1fd69ea74
893
familie-felles
MIT License
app/src/main/kotlin/me/leon/ctf/Ook.kt
Leon406
381,644,086
false
null
package me.leon.ctf private val engine = OokEngine() fun String.ookEncrypt(): String = throw NotImplementedError() fun String.ookDecrypt() = engine.interpret(this.replace("\r\n|\n".toRegex(), " "))
1
Kotlin
80
339
5f7627974e58bd6a00679fd8ce69d8355815eaa2
201
ToolsFx
ISC License
platform/testGuiFramework/src/com/intellij/testGuiFramework/framework/SystemProperties.kt
hieuprogrammer
284,920,751
false
null
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.testGuiFramework.framework /** * An annotation to provide custom system properties for a running instance of IDEA. * It assumed to have a next usage: * @...
1
null
1
2
dc846ecb926c9d9589c1ed8a40fdb20e47874db9
617
intellij-community
Apache License 2.0
compiler/testData/diagnostics/testsWithStdLib/annotations/prohibitPositionedArgument/tooManyArgs.fir.kt
BradOselo
367,097,840
true
null
// FILE: A.java public @interface A { int a(); double b(); boolean x(); } // FILE: b.kt @A(false, 1.0, false, <!TOO_MANY_ARGUMENTS!>1<!>, <!TOO_MANY_ARGUMENTS!>2<!>) fun foo1() {}
0
null
0
3
58c7aa9937334b7f3a70acca84a9ce59c35ab9d1
193
kotlin
Apache License 2.0
mail/protocols/imap/src/test/java/com/fsck/k9/mail/store/imap/TestImapConnection.kt
thunderbird
1,326,671
false
null
package com.mail.ann.mail.store.imap import java.io.OutputStream import java.util.concurrent.LinkedBlockingDeque import java.util.concurrent.TimeUnit import java.util.concurrent.locks.ReentrantLock import kotlin.concurrent.withLock internal open class TestImapConnection(val timeout: Long, override val connectionGener...
846
null
2467
9,969
8b3932098cfa53372d8a8ae364bd8623822bd74c
4,260
thunderbird-android
Apache License 2.0
app/src/main/java/com/alpriest/energystats/ui/flow/home/SolarPowerFlow.kt
alpriest
606,081,400
false
{"Kotlin": 852801}
package com.alpriest.energystats.ui.flow.home import androidx.compose.foundation.Canvas import androidx.compose.foundation.isSystemInDarkTheme import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Row import androidx.compose.foundation....
8
Kotlin
3
3
e730e5ec4efc4cd32e0aca8d2fbdb548174ffbb7
8,578
EnergyStats-Android
MIT License
app/src/main/java/com/example/unrepeatability/MainActivity.kt
Samiaza
763,386,216
false
{"Kotlin": 14955}
package com.example.unrepeatability import android.content.Intent import android.media.MediaPlayer import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import java.util.Timer import kotlin.concurrent.timerTask class MainActivity : AppCompatActivity() { private lateinit var startJingle: MediaPl...
0
Kotlin
0
0
1e9cf7f12adebae3f2046647f0eb3a096e388fdf
1,051
Repeat-The-Sequence
MIT License
plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/typeReference/enumEntryJavaEnumReceiver.before.Main.kt
JetBrains
2,489,216
false
null
// "Create enum constant 'A'" "false" // ERROR: Unresolved reference: A internal fun foo(): J.<caret>A = throw Throwable("")
284
null
5162
16,707
def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0
124
intellij-community
Apache License 2.0
extension/core/src/main/kotlin/io/holunda/camunda/bpm/data/adapter/basic/ReadWriteAdapterVariableMap.kt
holunda-io
213,882,987
false
null
package io.holunda.camunda.bpm.data.adapter.basic import org.camunda.bpm.engine.variable.VariableMap import java.util.* /** * Read-write adapter for variable map. * * @param [T] type of value. * @param variableMap variable map to access. * @param variableName variable to access. * @param clazz class of ...
20
null
6
31
9c3657be2ab4b5c92047aa145557ea66e4d690c5
1,310
camunda-bpm-data
Apache License 2.0
app/src/main/java/com/example/weatherapp/MainActivity.kt
AntonioArquelau
768,745,537
false
{"Kotlin": 28859}
package com.example.weatherapp import android.Manifest import android.content.pm.PackageManager import android.location.LocationManager import android.os.Bundle import android.provider.Settings.Global.getString import android.util.Log import android.widget.Toast import androidx.activity.ComponentActivity import androi...
0
Kotlin
0
0
93e0b2dce58ccf5f3fac4b4074f73f56f407db3a
14,448
WeatherApp
MIT License
shared/src/wasmJsMain/kotlin/com/example/cache/DatabaseDriverFactory.kt
Hieu-Luu
761,312,099
false
{"Kotlin": 21698, "Swift": 594, "HTML": 304}
package com.example.cache actual class DatabaseDriverFactory { }
0
Kotlin
0
0
80b9335218ec4cbc3d35f6f6ae36b1caee16a94a
65
kmp-example
Apache License 2.0
app/src/main/java/com/hackware/mormont/notebook/SettingsActivity.kt
LinDevHard
177,015,303
false
null
package com.hackware.mormont.notebook import android.content.SharedPreferences import android.os.Bundle import android.preference.PreferenceActivity import android.preference.PreferenceManager import androidx.appcompat.app.AppCompatActivity import android.content.Intent import android.preference.Preference import and...
0
Kotlin
0
2
c994ab73ba036097c73bc4f5ca7b2cad544d36e0
1,559
notes_android
MIT License
kotlin-main/src/main/kotlin/io/objectbox/example/Main.kt
objectbox
79,907,973
false
{"Java": 163500, "Kotlin": 72467, "Shell": 79}
/* * Copyright 2022-2024 ObjectBox Ltd. All rights reserved. * * 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...
2
Java
93
396
8fb98b9adb6f277fec99979296f4ac05e3cbe24f
1,586
objectbox-examples
Apache License 2.0
app/src/main/java/com/itflat/popugweather/PopugiaFragment.kt
iTflatApps
408,177,465
false
{"Kotlin": 34121}
/* * Copyright 2021 iTFlat Apps * * 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 wri...
0
Kotlin
0
1
967f6d74b2e28752dedd35b8d41321d3e675b1bb
6,257
PopugWeather
Apache License 2.0
layout-inspector/src/com/android/tools/idea/layoutinspector/SkiaParser.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...
0
null
187
751
16d17317f2c44ec46e8cd2180faf9c349d381a06
17,938
android
Apache License 2.0
src/test/java/assignmentTests/optionalTests/KotlinCoroutineLocalCrawlTest.kt
americanstone
417,626,723
false
null
package assignmentTests.optionalTests import admin.CrawlTest import edu.vanderbilt.imagecrawler.crawlers.CrawlerType import org.junit.Ignore import org.junit.Test /** * OPTIONAL test for this assignment. */ @Ignore class KotlinCoroutineLocalCrawlTest { @Test fun optionalTest() { CrawlTest.localCrawl...
1
null
1
1
2ac7bf09376a9fa6104963c67ece65e7f2b9912e
364
image-crawler
MIT License
model/src/androidMain/kotlin/tech/skot/model/Encoding.kt
skot-framework
235,318,194
false
null
package tech.skot.model import android.util.Base64 import java.security.MessageDigest import javax.crypto.Cipher import javax.crypto.spec.IvParameterSpec import javax.crypto.spec.SecretKeySpec actual fun decodeBase64(str: String): String { return String(Base64.decode(str, Base64.URL_SAFE)) } actual fun encodeBas...
1
Kotlin
4
5
44ddb5bd14313e81ff3abff97d7e6b1242e9f3c5
1,370
skot
Apache License 2.0
kotlin-native/backend.native/tests/samples/globalState/src/globalStateMain/kotlin/Global.kt
JetBrains
3,432,266
false
null
/* * Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license * that can be found in the license/LICENSE.txt file. */ package sample.globalstate import kotlin.native.concurrent.* import kotlinx.cinterop.* import platform.posix.* inline fun Int.ensureUnixCallResult(op: Str...
181
null
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
2,413
kotlin
Apache License 2.0
sample-library/src/main/java/com/xfinity/blueprint_sample_library/mvp/view/StaticScreenView.kt
Comcast
103,149,221
false
{"Gradle": 10, "XML": 68, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 8, "Batchfile": 1, "Markdown": 1, "Kotlin": 132, "Proguard": 6, "Java": 3}
/* * * * Copyright 2018 Comcast Cable Communications Management, 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 requi...
14
Kotlin
15
21
47835a4e0138d4dd267677b0b264c9778884e7c9
818
blueprint
Apache License 2.0
mbmobilesdk/src/main/java/com/daimler/mbmobilesdk/preferences/mbmobilesdk/SharedMBMobileSDKPreferences.kt
Daimler
199,815,262
false
null
package com.daimler.mbmobilesdk.preferences.mbmobilesdk import android.content.Context import android.content.SharedPreferences import com.daimler.mbcommonkit.extensions.getMultiAppSharedPreferences import com.daimler.mbcommonkit.utils.preferencesForSharedUserId import com.daimler.mbmobilesdk.preferences.PreferencesIn...
1
Kotlin
8
15
3721af583408721b9cd5cf89dd7b99256e9d7dda
1,802
MBSDK-Mobile-Android
MIT License
lib_base/src/main/java/com/hzsoft/lib/base/widget/NetErrorView.kt
zhouhuandev
346,678,456
false
null
package com.lib.base.widget import android.content.Context import android.util.AttributeSet import android.view.View import android.widget.RelativeLayout import androidx.annotation.ColorRes import com.lib.base.R class NetErrorView(context: Context, attrs: AttributeSet) : RelativeLayout(context, attrs) { private v...
0
null
53
88
c74e9e5e1059805e4373981633e17616a2328948
1,004
BaseDemo
Apache License 2.0
src/test/kotlin/handlers/events/TimestampGeneratorTest.kt
th2-net
313,911,661
false
{"Kotlin": 448754, "Dockerfile": 330, "Shell": 190}
/* * Copyright 2022-2024 Exactpro (Exactpro Systems 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...
3
Kotlin
2
4
e9e34e7edafcab204ba783a18ddf420337709db5
8,419
th2-rpt-data-provider
Apache License 2.0
org.librarysimplified.audiobook.tests/src/test/java/org/librarysimplified/audiobook/tests/LicenseStatusParserTest.kt
ThePalaceProject
379,956,255
false
{"Kotlin": 695923, "Java": 2392}
package org.librarysimplified.audiobook.tests import org.librarysimplified.audiobook.lcp.license_status.LicenseStatusParserProviderType import org.librarysimplified.audiobook.lcp.license_status.LicenseStatusParsers class LicenseStatusParserTest : LicenseStatusParserContract() { override fun parsers(): LicenseStatus...
1
Kotlin
1
1
e876ad5481897b14c37c0969997dcce0807fac33
379
android-audiobook
Apache License 2.0
core-mvp-binding/src/main/java/ru/surfstudio/android/core/mvp/binding/rx/loadable/data/EmptyErrorException.kt
eltray
200,101,552
true
{"Kotlin": 1787549, "Java": 826942, "FreeMarker": 54338, "Groovy": 8823, "C++": 1542, "CMake": 285}
package ru.surfstudio.android.core.mvp.binding.rx.loadable.data import java.lang.Exception /** * Пустая ошибка. * Используется, если запрос вернул положительный результат, и предыдущий errorState необходимо очистить. */ class EmptyErrorException : Exception()
0
Kotlin
0
0
69d435621d90954102af7424b4b309213d9bc95d
264
SurfAndroidStandard
Apache License 2.0
kotest-extensions-testcontainers-kafka/src/main/kotlin/io/kotest/extensions/testcontainers/kafka/KafkaContainerExtension.kt
kotest
361,198,041
false
null
package io.kotest.extensions.testcontainers.kafka import io.kotest.core.extensions.MountableExtension import io.kotest.core.listeners.AfterProjectListener import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.withContext import org.apache.kafka.clients.CommonClientConfigs import org.apache.kafka.clients.cons...
1
Kotlin
3
14
333d48d9d210520c8279e000bbbfb447344f5ee1
2,315
kotest-extensions-testcontainers
Apache License 2.0
app/src/main/java/com/example/cameramotiondetector/ExtendedImageView.kt
AmirrezaNasiri
731,762,698
false
{"Kotlin": 15386, "CMake": 1926, "C++": 262}
package com.example.cameramotiondetector import android.content.Context import android.graphics.Canvas import android.graphics.Color import android.graphics.Paint import android.util.AttributeSet import androidx.appcompat.widget.AppCompatImageView class ExtendedImageView @JvmOverloads constructor( context: Contex...
0
Kotlin
0
2
9bab5fdfe614823cfe3f7d3aa52ccc427a3423ec
790
camera-motion-detector
Apache License 2.0
system-extension/src/main/java/com/highcapable/betterandroid/system/extension/component/BroadcastFactory.kt
BetterAndroid
708,020,230
false
{"Kotlin": 369902, "Java": 6779}
/* * Better Android - Create more useful tool extensions for Android. * Copyright (C) 2019-2023 HighCapable * https://github.com/BetterAndroid/BetterAndroid * * Apache License Version 2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with th...
0
Kotlin
0
22
ad00888146552a96ba0d72ab5ee1fdc3786513bf
3,176
BetterAndroid
Apache License 2.0
app/src/main/java/org/stepik/android/domain/onboarding/analytic/OnboardingClosedAnalyticEvent.kt
StepicOrg
42,045,161
false
{"Kotlin": 4281147, "Java": 1001895, "CSS": 5482, "Shell": 618}
package org.stepik.android.domain.onboarding.analytic import org.stepik.android.domain.base.analytic.AnalyticEvent class OnboardingClosedAnalyticEvent( screen: Int ) : AnalyticEvent { companion object { private const val PARAM_SCREEN = "screen" } override val name: String = "Onboardin...
13
Kotlin
54
189
dd12cb96811a6fc2a7addcd969381570e335aca7
414
stepik-android
Apache License 2.0
local/local/src/main/java/com/nimbusframework/nimbuslocal/deployment/services/StageService.kt
thomasjallerton
163,180,980
false
{"YAML": 3, "Ignore List": 2, "XML": 4, "Maven POM": 9, "Dockerfile": 1, "Text": 1, "Markdown": 35, "Kotlin": 570, "Java": 167, "JSON": 2, "JavaScript": 4, "SVG": 4, "CSS": 1}
package com.nimbusframework.nimbuslocal.deployment.services class StageService( val deployingStage: String, private val deployingDefaultStage: Boolean, private val allowedOrigin: Map<String, String>, private val allowedHeaders: Map<String, List<String>> ) { fun <T> isResourceDeploy...
6
Kotlin
5
39
5c3325caaf3fe9de9ffad130fd1e773c6f680e89
1,267
nimbus-framework
MIT License
app/src/main/java/com/niyaj/popos/features/customer/presentation/settings/export_customer/ExportCustomerScreen.kt
skniyajali
579,613,644
false
null
package com.niyaj.popos.features.customer.presentation.settings.export_customer import android.Manifest import androidx.activity.compose.rememberLauncherForActivityResult import androidx.activity.result.contract.ActivityResultContracts import androidx.compose.animation.AnimatedVisibility import androidx.compose.animat...
4
Kotlin
0
1
6e00bd5451336314b99f6ae1f1f43eea0f2079ad
8,786
POS-Application
MIT License
src/jvmMain/kotlin/baaahs/util/JvmLogger.kt
baaahs
174,897,412
false
{"Kotlin": 3453370, "C": 1529197, "C++": 661364, "GLSL": 404582, "HTML": 55183, "JavaScript": 53132, "CMake": 30499, "CSS": 4340, "Shell": 2381, "Python": 1450}
package baaahs.util import org.slf4j.LoggerFactory class JvmLogger(id: String) : NativeLogger { private val logger = LoggerFactory.getLogger(id) override fun debug(exception: Throwable?, message: () -> String) { if (logger.isDebugEnabled) logger.debug(message(), exception) } override fun inf...
108
Kotlin
12
40
384a415dc129f7123a48697a79a5a27140e003ea
1,317
sparklemotion
MIT License
libadwaita-bindings/src/nativeMain/kotlin/bindings.adw/PasswordEntryRow.kt
vbsteven
582,302,322
false
null
package bindings.adw import bindings.gobject.asTypedPointer import internal.BuiltinTypeInfo import kotlinx.cinterop.CPointer import native.adwaita.ADW_TYPE_PASSWORD_ENTRY_ROW import native.adwaita.AdwPasswordEntryRow import native.adwaita.adw_password_entry_row_new class PasswordEntryRow : EntryRow { val adwPassw...
0
Kotlin
0
24
af5f6c9d32498b6e791a92503dfb45ebfd1af6c3
625
gtk-kotlin-native
MIT License
backpack-compose/src/main/kotlin/net/skyscanner/backpack/compose/card/BpkCard.kt
Skyscanner
117,813,847
false
null
/** * Backpack for Android - Skyscanner's Design System * * Copyright 2018-2021 Skyscanner 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/LI...
7
Kotlin
23
55
f2fd1e811d6e7ea642d3dd231b11966f345e821a
4,423
backpack-android
Apache License 2.0
matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/room/relation/poll/FetchPollResponseEventsTask.kt
tchapgouv
340,329,238
false
null
/* * Copyright (c) 2022 The Matrix.org Foundation C.I.C. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
91
Kotlin
4
9
a2c060c687b0aa69af681138c5788d6933d19860
5,006
tchap-android
Apache License 2.0
face_module/src/main/java/com/inz/z/face_module/view/widget/FaceView.kt
Memory-Z
141,771,340
false
{"Java": 1063423, "Kotlin": 584610}
package com.inz.z.face_module.view.widget import android.content.Context import android.graphics.Canvas import android.graphics.Color import android.graphics.Paint import android.graphics.RectF import android.util.AttributeSet import android.util.TypedValue import android.view.View /** * author : chensen * data :...
1
Java
1
1
feff01057cf308fcbf9f1ebf880b9a114badf970
1,409
Z_inz
Apache License 2.0
src/main/kotlin/com/workos/usermanagement/types/AuthenticationAdditionalOptions.kt
workos
419,780,611
false
{"Kotlin": 500568}
package com.workos.usermanagement.types import com.fasterxml.jackson.annotation.JsonProperty open class AuthenticationAdditionalOptions( /** * The token of an invitation. The invitation should be in the pending state. * * When a valid invitation token is specified, the user is able to sign up even * if ...
1
Kotlin
8
12
4387a813f3d17f499386e7b24660f7f8117cab95
1,289
workos-kotlin
MIT License
app/src/main/java/com/korol/myweather/ui/city/RvViewedCityAdapter.kt
AndreyKoroliov1981
456,469,102
false
{"Kotlin": 59456}
package com.korol.myweather.ui.city import android.view.LayoutInflater import android.view.ViewGroup import androidx.recyclerview.widget.RecyclerView import com.korol.myweather.databinding.RcViewedCityItemBinding import com.korol.myweather.db.ViewedCity class RvViewedCityAdapter ( var citysList: ArrayList<Viewed...
0
Kotlin
0
0
a6074efac0ea6d9c945a2b9edcff5d3b6eec1e44
1,583
My-Weather
The Unlicense
src/main/kotlin/dev/deepslate/fallacy/Fallacy.kt
Mottle
841,231,519
false
{"Kotlin": 289220, "Java": 21036}
package dev.deepslate.fallacy import dev.deepslate.fallacy.common.FallacyTabs import dev.deepslate.fallacy.common.block.FallacyBlocks import dev.deepslate.fallacy.common.data.FallacyAttachments import dev.deepslate.fallacy.common.data.FallacyAttributes import dev.deepslate.fallacy.common.effect.FallacyEffects import d...
0
Kotlin
0
0
6858960a6c7021660159a04b8656215efe74cb6e
2,215
Fallacy
MIT License
src/main/kotlin/com/fpwag/admin/domain/entity/Dept.kt
FlowersPlants
286,647,008
false
null
package com.fpwag.admin.domain.entity import com.baomidou.mybatisplus.annotation.TableName import com.fpwag.admin.infrastructure.CommonConstant import com.fpwag.admin.infrastructure.mybatis.base.DataEntity /** * 部门信息 * * @author fpwag */ @TableName(value = "sys_dept") class Dept() : DataEntity() { companion o...
0
Kotlin
0
3
dae83eb311a3d23da5b1d65d3196d7ffdd5229ce
570
fp-admin
Apache License 2.0
serialization/serialization-annotation/src/main/kotlin/androidx/serialization/Field.kt
virendersran01
343,676,031
true
{"Java Properties": 20, "Shell": 44, "Markdown": 43, "Java": 4516, "HTML": 17, "Kotlin": 3557, "Python": 28, "Proguard": 37, "Batchfile": 6, "JavaScript": 1, "CSS": 1, "TypeScript": 6, "Gradle Kotlin DSL": 2, "INI": 1, "CMake": 1, "C++": 2}
/* * Copyright 2019 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
0
null
0
1
e4ce477393fc1026f45fe67b73d8400f19e83975
6,806
androidx
Apache License 2.0
src/main/kotlin/io/mustelidae/riverotter/config/WebConfiguration.kt
stray-cat-developers
297,187,345
false
{"Kotlin": 173944, "Shell": 252}
package io.mustelidae.riverotter.config import io.mustelidae.riverotter.utils.Jackson import org.springframework.context.annotation.Configuration import org.springframework.format.datetime.standard.DateTimeFormatterRegistrar import org.springframework.format.support.FormattingConversionService import org.springframewo...
1
Kotlin
2
3
09c1839947d0410b0e3d50c3520f783618cbf8f4
1,948
river-otter
MIT License
baselibrary/src/main/java/newtrekwang/com/baselibrary/presenter/view/BaseView.kt
Wangjiaxing123
119,262,875
false
{"Gradle": 7, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 6, "Batchfile": 1, "Markdown": 1, "Proguard": 5, "XML": 76, "Kotlin": 80, "Java": 4}
package newtrekwang.com.baselibrary.presenter.view /** * Created by dell on 2018/1/30. */ interface BaseView { fun showLoading() fun hideLoading() fun onError(text:String) fun showToast(str: String) }
0
Kotlin
0
0
dad2cc48cd71c134a872bac151b7fe8a26a498b9
219
KotlinMall
Apache License 2.0
android/app/src/main/java/now/fortuitous/thanos/process/v2/ProcessManageScreen.kt
Tornaco
228,014,878
false
null
/* * (C) Copyright 2022 Thanox * * 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 ...
392
null
87
2,145
b8b756152e609c96fd07f1f282b77582d8cde647
15,573
Thanox
Apache License 2.0
inappmessaging/src/test/java/io/karte/android/inappmessaging/unit/IAMWebViewTest.kt
y-aimi0805
276,550,949
true
{"Kotlin": 578155, "Java": 19268, "Ruby": 10195, "Shell": 2229, "Groovy": 710}
// // Copyright 2020 PLAID, 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agr...
0
null
0
0
578e27ecf330b4c48626a4bee15c35bddba90eaf
12,335
karte-android-sdk
Apache License 2.0
arrow-libs/core/arrow-core/src/nonJvmMain/kotlin/arrow/core/NonFatal.kt
arrow-kt
86,057,409
false
{"Kotlin": 2793646, "Java": 7691}
package arrow.core import arrow.continuations.generic.ControlThrowable import kotlin.coroutines.cancellation.CancellationException public actual fun NonFatal(t: Throwable): Boolean = when (t) { is ControlThrowable, is CancellationException -> false else -> true }
38
Kotlin
436
5,958
5f0da6334b834bad481c7e3c906bee5a34c1237b
278
arrow
Apache License 2.0
korge-dragonbones/src/commonMain/kotlin/com/dragonbones/model/BoundingBoxData.kt
korlibs
80,095,683
false
null
/** * The MIT License (MIT) * * Copyright (c) 2012-2018 DragonBones team and other contributors * * 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...
102
null
64
1,192
7fa8c9981d09c2ac3727799f3925363f1af82f45
18,928
korge
Apache License 2.0
server-core/src/main/kotlin/com/lightningkite/lightningserver/exceptions/DebugExceptionReporter.kt
lightningkite
512,032,499
false
null
package com.lightningkite.lightningserver.exceptions import com.lightningkite.lightningserver.core.ServerPath import com.lightningkite.lightningserver.http.get import com.lightningkite.lightningserver.logger import com.lightningkite.lightningserver.typed.typed import java.time.Instant object DebugExceptionReporter : ...
1
Kotlin
1
3
a6637772db8eeebd9a611e68fb19b96e9bfa2d77
1,308
lightning-server
MIT License
mall-service/mall-product/src/main/kotlin/com/github/product/vo/Catelog2Vo.kt
andochiwa
409,491,115
false
{"Kotlin": 5143282, "Java": 228835, "TSQL": 18775, "Dockerfile": 134}
package com.github.product.vo import com.fasterxml.jackson.databind.annotation.JsonSerialize import com.fasterxml.jackson.databind.ser.std.ToStringSerializer data class Catelog2Vo( @JsonSerialize(using = ToStringSerializer::class) var id: Long? = null, var name: String? = null, @JsonSerialize(using ...
0
Kotlin
1
2
5685d6749a924dddd79d7f06e222b425190c7168
696
Webflux-Mall-Back
MIT License
src/main/kotlin/com/toasttab/pulseman/state/protocol/protobuf/ProtobufState.kt
open-toast
399,150,014
false
null
/* * Copyright (c) 2021 Toast 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 in w...
1
Kotlin
4
8
50cc0b09795b998ebc2697e9497d4ce9f0a5ff4c
5,788
pulseman
Apache License 2.0
feature-wallet-impl/src/main/java/jp/co/soramitsu/wallet/impl/presentation/send/confirm/ConfirmSendFragment.kt
soramitsu
278,060,397
false
null
package jp.co.soramitsu.wallet.impl.presentation.send.confirm import android.os.Bundle import android.view.View import androidx.compose.foundation.layout.PaddingValues import androidx.compose.runtime.Composable import androidx.compose.runtime.collectAsState import androidx.compose.runtime.getValue import androidx.core...
8
Kotlin
18
64
f1f913b342f644fdedd3843691f9434bb696d2d3
1,771
fearless-Android
Apache License 2.0
dnq/src/test/kotlin/kotlinx/dnq/incomingLinks/IncomingLinksConstraintsTest.kt
JetBrains
72,845,430
false
{"Kotlin": 1045011, "Java": 1363, "FreeMarker": 567}
/** * Copyright 2006 - 2024 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
7
Kotlin
32
86
feffc04edb59c406322ebb8e222579bfc49b836c
3,984
xodus-dnq
Apache License 2.0
mongodb-search-core/src/main/kotlin/io/github/yearnlune/search/core/operator/StartWithOperator.kt
yearnlune
512,971,890
false
{"Kotlin": 137605, "JavaScript": 1872, "TypeScript": 91}
package io.github.yearnlune.search.core.operator import io.github.yearnlune.search.core.extension.escapeSpecialRegexChars import org.springframework.data.mongodb.core.aggregation.AggregationExpression import org.springframework.data.mongodb.core.aggregation.StringOperators import org.springframework.data.mongodb.core....
0
Kotlin
0
2
c3aa124d5c1f015e65c1a001b6e5c4c0e51a7ae8
1,022
mongodb-search
Apache License 2.0
server/src/test/kotlin/de/sambalmueslie/openevent/server/event/EventControllerTest.kt
sambalmueslie
270,265,994
false
{"Kotlin": 265865, "Dockerfile": 434, "Batchfile": 61}
package de.sambalmueslie.openevent.server.event import de.sambalmueslie.openevent.server.auth.AuthUtils.Companion.getAuthToken import de.sambalmueslie.openevent.server.event.api.Event import de.sambalmueslie.openevent.server.event.api.EventChangeRequest import de.sambalmueslie.openevent.server.event.api.Period import ...
0
Kotlin
0
1
053fb05dbe4242941659518f93dcac4c34b29126
3,936
open-event
Apache License 2.0
compiler/testData/diagnostics/tests/delegation/kt48546.kt
JetBrains
3,432,266
false
null
// WITH_STDLIB // FIR: KT-51648 object DelegateTest { var result = "" val f by lazy { result += <!DEBUG_INFO_ELEMENT_WITH_ERROR_TYPE, TYPECHECKER_HAS_RUN_INTO_RECURSIVE_PROBLEM_WARNING!>f<!>.<!DEBUG_INFO_MISSING_UNRESOLVED!>toString<!>() // Compiler crash "hello" } } object DelegateTest2 {...
157
null
5209
42,102
65f712ab2d54e34c5b02ffa3ca8c659740277133
461
kotlin
Apache License 2.0
src/main/kotlin/app/data/adapters/UserAdapter.kt
bed72
664,335,364
false
{"Kotlin": 39244}
package app.data.adapters import app.domain.core.models.UserInModel import app.external.database.entities.UserEntity class UserAdapter : Adapter<UserInModel, UserEntity> { override fun invoke(data: UserInModel) = UserEntity { name = data.name.value email = data.email.value } }
0
Kotlin
0
0
7bc27f4522b3576eccf107e6f5714345558e3330
304
KingsCross
Apache License 2.0
Problems/Beyond the word/src/Task.kt
Perl99
273,730,854
false
null
import java.util.Scanner fun main(args: Array<String>) { val input = Scanner(System.`in`) val word = input.next() for (l in 'a'..'z') { var found = false for (e in word) { if (l == e) { found = true break } } if (!fou...
0
Kotlin
0
0
4afb085918697c41a5722f50e8a7bb65fcab0854
364
hyperskill-kotlin-ascii-text-signature
MIT License
app/src/main/java/eu/kanade/tachiyomi/ui/browse/extension/ExtensionFilterController.kt
arkon
127,645,159
false
null
package eu.kanade.tachiyomi.ui.browse.extension import androidx.preference.PreferenceScreen import eu.kanade.tachiyomi.R import eu.kanade.tachiyomi.extension.ExtensionManager import eu.kanade.tachiyomi.ui.setting.SettingsController import eu.kanade.tachiyomi.util.preference.minusAssign import eu.kanade.tachiyomi.util....
92
null
58
9
2f07f226b8182699884262ac67139454d5b7070d
1,723
tachiyomi
Apache License 2.0
lib/multiservers/src/main/java/eu/kanade/tachiyomi/lib/multiservers/MultiServers.kt
adly98
827,820,894
false
null
package eu.kanade.tachiyomi.lib.multiservers import eu.kanade.tachiyomi.lib.multiservers.dto.IframeResponse import eu.kanade.tachiyomi.lib.multiservers.dto.LeechResponse import eu.kanade.tachiyomi.network.GET import kotlinx.serialization.json.Json import okhttp3.Headers import okhttp3.OkHttpClient class MultiServers(...
0
null
0
2
174fc4d4d401bd18e0928a65a8ca6e3cb40bcde7
2,352
aniyomi-ar-extensions
Apache License 2.0
common/vector/src/main/kotlin/com/curtislb/adventofcode/common/vector/IntVector.kt
curtislb
226,797,689
false
null
package com.curtislb.adventofcode.common.vector import com.curtislb.adventofcode.common.iteration.nestedLoop import kotlin.math.sqrt /** * A vector with mutable [Int] components in a fixed dimensional space. * * @property components The integer component values of the vector. * * @constructor Creates a new insta...
0
Kotlin
1
1
6b64c9eb181fab97bc518ac78e14cd586d64499e
8,906
AdventOfCode
MIT License
api/src/main/kotlin/io/github/msengbusch/unitsystem/scope/identifier/FromModule.kt
msengbusch
400,603,984
false
null
package io.github.msengbusch.unitsystem.scope.identifier import javax.inject.Qualifier @Qualifier annotation class FromModule
5
Kotlin
0
0
40183f3bc8db0aed84fcb993d6299c8e78ff4790
128
UnitSystem
MIT License
plot-builder-portable/src/commonMain/kotlin/jetbrains/datalore/plot/builder/assemble/PlotFacets.kt
JetBrains
176,771,727
false
null
/* * Copyright (c) 2019. JetBrains s.r.o. * Use of this source code is governed by the MIT license that can be found in the LICENSE file. */ package org.jetbrains.letsPlot.core.plot.builder.assemble import org.jetbrains.letsPlot.commons.interval.DoubleSpan import org.jetbrains.letsPlot.core.commons.data.SeriesUtil...
97
Kotlin
51
889
c5c66ceddc839bec79b041c06677a6ad5f54e416
8,099
lets-plot
MIT License
app/src/main/java/com/antonioleiva/weatherapp/data/db/DbClasses.kt
15102391937
142,841,471
true
{"Kotlin": 31026}
package com.antonioleiva.weatherapp.data.db import java.util.* class DBCityForecast(val map: MutableMap<String, Any?>, val dailyForecastDB: List<DBDayForecast>) { var _id: Long by map var city: String by map var country: String by map constructor(id: Long, city: String, country: String, dailyForecast...
0
Kotlin
0
0
f302f92280cc6cb8a3f81c783930bbeb91bc636b
1,021
Kotlin-for-Android-Developers
Apache License 2.0
godot-kotlin/godot-library/src/nativeGen/kotlin/godot/VisualShaderNodeBooleanConstant.kt
utopia-rise
238,721,773
false
{"Kotlin": 655494, "Shell": 171}
// THIS FILE IS GENERATED! DO NOT EDIT IT MANUALLY! ALL CHANGES TO IT WILL BE OVERWRITTEN ON EACH BUILD package godot import godot.icalls._icall_Boolean import godot.icalls._icall_Unit_Boolean import godot.internal.utils.getMethodBind import godot.internal.utils.invokeConstructor import kotlin.Boolean import kotlinx.c...
17
Kotlin
17
286
8d51f614df62a97f16e800e6635ea39e7eb1fd62
1,193
godot-kotlin-native
MIT License
core/src/main/java/top/xuqingquan/utils/ManifestParser.kt
xuqingquan1995
196,393,794
false
{"Gradle Kotlin DSL": 3, "Java Properties": 2, "YAML": 1, "Shell": 1, "Text": 2, "Ignore List": 4, "Batchfile": 1, "Markdown": 1, "Proguard": 5, "Gradle": 2, "Java": 21, "XML": 32, "Kotlin": 76, "TOML": 1}
package top.xuqingquan.utils import android.content.Context import android.content.pm.PackageManager import top.xuqingquan.integration.LifecycleConfig import java.util.ArrayList /** * Created by 许清泉 on 2019/4/14 22:59 */ internal class ManifestParser(private val context: Context) { companion object { pr...
1
null
1
1
44f5b2597e78ba752b6e67f7c35762fe3a056c09
2,000
Scaffold
MIT License
src/test/kotlin/TestGreetingPlugin.kt
MatteoCaval
445,562,187
false
{"Kotlin": 8237}
import io.kotest.core.spec.style.FreeSpec import io.kotest.engine.spec.tempdir import io.kotest.matchers.shouldBe import io.kotest.matchers.string.shouldContain import org.gradle.testkit.runner.GradleRunner import org.gradle.testkit.runner.TaskOutcome import java.io.File class TestGreetingPlugin : FreeSpec({ val m...
0
Kotlin
0
0
1019bf4c7170bbb68db241b022aa8c1a8cbcd91f
1,353
lss-plugin-example
MIT License
doctor-plugin/src/integrationTest/java/com/osacky/doctor/TestIntegrationTest.kt
runningcode
200,733,919
false
{"Kotlin": 140166, "Java": 824}
package com.osacky.doctor import com.google.common.truth.Truth.assertThat import org.gradle.testkit.runner.GradleRunner import org.junit.Rule import org.junit.Test import org.junit.rules.TemporaryFolder class TestIntegrationTest { @get:Rule val testProjectRoot = TemporaryFolder() @Test fun testIgnore...
38
Kotlin
48
736
09ee630bd6ca39e9c16acd01c0ae343732c19f9e
5,617
gradle-doctor
Apache License 2.0
androidApp/src/main/java/com/msabhi/androidApp/counter/entities/CounterAction.kt
abhimuktheeswarar
380,572,734
false
null
/* * Copyright (C) 2021 Abhi Muktheeswarar * * 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 ...
2
Objective-C
4
37
7691042c1715ccff725349de7c3c489d293b3e3c
926
Flywheel
Apache License 2.0
kafkistry-sql/src/main/kotlin/com/infobip/kafkistry/sql/sources/ConsumerGroupsDataSource.kt
infobip
456,885,171
false
null
@file:Suppress("JpaDataSourceORMInspection") package com.infobip.kafkistry.sql.sources import com.infobip.kafkistry.kafka.ConsumerGroupStatus import com.infobip.kafkistry.model.KafkaClusterIdentifier import com.infobip.kafkistry.model.ConsumerGroupId import com.infobip.kafkistry.model.TopicName import com.infobip.kaf...
2
null
6
42
06616ab58ca8bf7708fb8c62d584394f4fa303ab
3,410
kafkistry
Apache License 2.0
presentation/src/main/java/com/duccnv/cleanmoviedb/base/BaseActivity.kt
duccnv-1684
260,399,969
false
null
package com.duccnv.cleanmoviedb.base import dagger.android.support.DaggerAppCompatActivity abstract class BaseActivity : DaggerAppCompatActivity()
1
Kotlin
1
1
d157e2f275b20c8601766ce36c8a91841c133faa
148
clean_movie_db
Apache License 2.0
filepicker/src/main/java/me/rosuh/filepicker/config/DefaultFileDetector.kt
rosuH
158,897,052
false
{"Gradle": 4, "Markdown": 4, "YAML": 2, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Proguard": 2, "Java": 4, "XML": 54, "Kotlin": 42}
package me.rosuh.filepicker.config import me.rosuh.filepicker.bean.FileItemBeanImpl import me.rosuh.filepicker.filetype.* /** * * @author rosu * @date 2018/11/27 */ class DefaultFileDetector : AbstractFileDetector() { var enableCustomTypes: Boolean = false private set private val allDefaultFileT...
10
Kotlin
85
945
3cb6deca053dea5a6a7c4068f39ad7c34f30b014
1,572
AndroidFilePicker
MIT License
core/src/main/kotlin/org/tenkiv/kuantify/gate/control/output/Output.kt
Tenkiv
183,814,098
false
null
/* * Copyright 2019 Tenkiv, Inc. * * 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, dist...
0
Kotlin
0
4
cc774f93c7d47f84c4e22aeb032e48451478beb8
7,028
kuantify
MIT License
modules/ktorium-datetime/src/commonMain/kotlinX/LocalDate.kt
ktorium
316,943,260
false
{"Kotlin": 75228, "JavaScript": 203}
@file:Suppress("PackageDirectoryMismatch") package org.ktorium.datetime import kotlinx.datetime.DateTimeUnit import kotlinx.datetime.LocalDate import kotlinx.datetime.LocalDateTime import kotlinx.datetime.LocalTime import kotlinx.datetime.TimeZone import kotlinx.datetime.plus import org.ktorium.kotlin.ExperimentalSin...
0
Kotlin
0
1
019ed2c96f545f5a725053d37074bca462efb4d5
1,431
ktorium-kotlin
Apache License 2.0
recorder-core/src/main/java/me/shetj/recorder/core/BaseRecorder.kt
SheTieJun
207,213,419
false
null
/* * MIT License * * Copyright (c) 2019 SheTieJun * * 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...
0
Kotlin
2
21
33de393c74f4fbd7857fa27de42db5a9c38f4d6e
20,784
Mp3Recorder
MIT License
src/main/java/com/razorpay/sampleapp/kotlin/PaymentOptions.kt
razorpay
65,271,132
false
null
package com.razorpay.sampleapp.kotlin import android.app.Activity import android.os.Bundle import android.util.Log import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.webkit.WebView import android.widget.* import android.widget.AdapterView.OnItemClickListener import...
14
null
9
8
fcd817f87e137354b3b77dc68fd3ddbb25f583cc
14,781
razorpay-android-custom-sample-app
MIT License
data/src/main/java/com/example/data/local/PreferencesDataStore.kt
mahmood199
753,995,489
false
{"Kotlin": 129052}
package com.example.data.local import androidx.datastore.core.DataStore import androidx.datastore.preferences.core.Preferences import androidx.datastore.preferences.core.booleanPreferencesKey import androidx.datastore.preferences.core.doublePreferencesKey import androidx.datastore.preferences.core.edit import androidx...
0
Kotlin
0
0
a1fb1d447bf3f8b316f8d1d1d0c2122a7c42b6d3
1,649
Dashboard
Apache License 2.0
plugins/kotlin-dataframe/testData/box/remove.kt
Kotlin
259,256,617
false
{"Kotlin": 8227503, "Java": 17608, "JavaScript": 11483, "CSS": 3083, "HTML": 137, "Shell": 73}
import org.jetbrains.kotlinx.dataframe.* import org.jetbrains.kotlinx.dataframe.api.* data class Nested(val d: Double) data class Record(val a: String, val b: Int, val nested: Nested) fun box(): String { val df = listOf(Record("112", 42, Nested(3.0))).toDataFrame(maxDepth = 1) val df1 = df.remove { nested.d ...
235
Kotlin
60
833
54d00e69ae7c06ff254c6591242413eaf7894f01
350
dataframe
Apache License 2.0
app/src/main/kotlin/io/github/nuhkoca/libbra/ui/currency/BindableMultiplier.kt
nuhkoca
252,193,036
false
{"Kotlin": 258455, "Shell": 1250, "Java": 620}
/* * Copyright (C) 2020. Nuh Koca. All Rights Reserved. * * 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 appl...
1
Kotlin
11
54
fd6c1560078017c81564b4b8e0717b32b2b31ec0
1,508
libbra
Apache License 2.0
kvision-tools/kvision-gradle-plugin/src/main/kotlin/io/kvision/gradle/KVisionPlugin.kt
rjaros
120,835,750
false
null
package io.kvision.gradle import io.kvision.gradle.tasks.KVConvertPoTask import io.kvision.gradle.tasks.KVGeneratePotTask import io.kvision.gradle.tasks.KVWorkerBundleTask import javax.inject.Inject import org.gradle.api.NamedDomainObjectContainer import org.gradle.api.NamedDomainObjectProvider import org.gradle.api.P...
31
null
59
1,062
b33809a2ff07eb36ceacef441f3a0a929b7c4ba2
18,183
kvision
MIT License
dashboard/src/main/java/com/bibek/dashboard/presentation/ui/components/ReminderContent.kt
bibekanandan892
820,073,061
false
{"Kotlin": 148771}
package com.bibek.dashboard.presentation.ui.components import androidx.compose.foundation.background import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.Column import androidx.compose....
0
Kotlin
0
0
5844da2f6c85cdff4f5e2d226dc94463a8fc66de
4,915
Recipe-Database
Apache License 2.0
plain-java-sockets/src/main/kotlin/daggerok/SocketClient.kt
daggerok
122,118,350
false
null
package daggerok import org.slf4j.LoggerFactory import java.io.ByteArrayOutputStream import java.net.Socket import java.nio.charset.StandardCharsets.UTF_8 class SocketClient { companion object { private val log = LoggerFactory.getLogger(SocketClient::class.java) private const val port = 8080 private v...
1
Kotlin
1
3
571e4b868b49d7661073a11d0f2edb1772edce81
1,041
kotlin-examples
MIT License
waypoints-api/src/main/kotlin/de/md5lukas/waypoints/api/WaypointsAPI.kt
Sytm
211,378,928
false
null
package de.md5lukas.waypoints.api import java.util.* /** * This interface provides the entry-point to use the Waypoints API. * * It can be obtained by using a ServiceProvider like this: * ```java * RegisteredServiceProvider<WaypointsAPI> rsp = Bukkit.getServicesManager().getRegistration(WaypointsAPI.class); * W...
1
null
7
28
b31e54acb0cb8e93c9713492b1c1a0759f1045ed
2,447
waypoints
MIT License
vector/src/main/java/im/vector/app/core/animations/VectorFullTransitionSet.kt
tchapgouv
340,329,238
false
null
/* * Copyright 2019 New Vector Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
55
null
6
9
02c555858daab03fd2bdac159efd55961f3b6ebe
1,307
tchap-android
Apache License 2.0
src/main/java/com/samla/sdk/ISamla.kt
NiekBijman
237,298,269
false
null
package com.samla.sdk import android.app.Activity interface ISamla { fun getActivity() : Activity; }
1
null
1
1
9685137d3cae2d19eb90eebfef579c31f930bf41
106
user-testing-android-sdk
MIT License
src/main/java/com/samla/sdk/ISamla.kt
NiekBijman
237,298,269
false
null
package com.samla.sdk import android.app.Activity interface ISamla { fun getActivity() : Activity; }
1
null
1
1
9685137d3cae2d19eb90eebfef579c31f930bf41
106
user-testing-android-sdk
MIT License
app/src/main/java/com/ctd/cymanage/widget/NoticeDialog.kt
lianwt115
162,071,434
false
{"Java": 370195, "Kotlin": 191947}
package com.ctd.cymanage.widget import android.app.Dialog import android.content.Context import android.content.DialogInterface import android.graphics.BitmapFactory import android.text.TextUtils import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.* import br...
1
null
1
1
aed1d6fbdea2b7b949b2e01b14b22fa359a074d8
5,050
pad_table
Apache License 2.0
src/main/kotlin/com/atlassian/performance/tools/jiraactions/page/SingleSelect.kt
atlassian
162,422,950
false
{"Kotlin": 214499, "Java": 1959}
package com.atlassian.performance.tools.jiraactions.page import com.atlassian.performance.tools.jiraactions.api.page.wait import com.atlassian.performance.tools.jiraactions.api.webdriver.sendKeysWhenClickable import org.openqa.selenium.By import org.openqa.selenium.Keys import org.openqa.selenium.WebDriver import org....
8
Kotlin
31
26
10b363eda1e171f8342eaeeb6deac843b1d34df3
2,347
jira-actions
Apache License 2.0
shared/src/commonMain/kotlin/com/somabits/spanish/ui/product/BuyVerbDataPackCard.kt
chiljamgossow
581,781,635
false
{"Kotlin": 904768, "Swift": 1817}
package com.somabits.spanish.ui.product import androidx.compose.material.icons.Icons import androidx.compose.material.icons.rounded.ShoppingCart import androidx.compose.runtime.Composable import androidx.compose.ui.Modifier import com.somabits.spanish.SharedRes import com.somabits.spanish.stringResource import com.som...
1
Kotlin
0
0
e680c7048721fb9a2cbfb7cb5a9db3e39ac73b45
990
Spanish
MIT License
src/commonTest/kotlin/GameTests.kt
jonnyzzz
189,975,478
false
null
package org.jonnyzzz.lifegame import kotlin.test.Test class GameTests { @Test fun testMe() { } }
0
Kotlin
2
22
63dba61271e1271d7bce1749977c7d2adf024362
113
kotlin-game-of-life
MIT License