path stringlengths 4 280 | owner stringlengths 2 39 | repo_id int64 21.1k 879M | is_fork bool 2
classes | languages_distribution stringlengths 13 1.95k ⌀ | content stringlengths 7 482k | issues int64 0 13.9k | main_language stringclasses 121
values | forks stringlengths 1 5 | stars int64 0 111k | commit_sha stringlengths 40 40 | size int64 7 482k | name stringlengths 1 100 | license stringclasses 93
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
app/src/main/java/com/eilco/cartalog/utils/BaseUrls.kt | younessbakache | 756,089,412 | false | {"Kotlin": 145526} | package com.vitor238.cartalog.utils
object BaseUrls {
const val BASE_TMDB_URL = "https://public.opendatasoft.com/api/explore/v2.1/catalog/datasets/all-vehicles-model/"
const val BASE_TMDB_IMG_URL_200 = "https://image.tmdb.org/t/p/w200"
} | 0 | Kotlin | 0 | 0 | 999bfd08813b9807c95a42cc055bb912a7ab7d71 | 246 | Cartalog-App | Apache License 2.0 |
libB/src/main/java/package_B_18/Foo_B_1817.kt | lekz112 | 118,451,085 | false | null | package package_B_18
class Foo_B_1817 {
fun foo0() {
var i=0
i+=Math.random().toInt()
i+=Math.random().toInt()
i+=Math.random().toInt()
i+=Math.random().toInt()
i+=Math.random().toInt()
i+=Math.random().toInt()
i+=Math.random().toInt()
i+=Math.random().toInt()
i+=Math.random().toInt()
i+=Math.random().toInt()
i+=Math.r... | 0 | Kotlin | 0 | 0 | 8182b7f6e92f9d65efb954c32ca640fe50ae6b79 | 584 | ModuleTest | Apache License 2.0 |
libB/src/main/java/package_B_18/Foo_B_1817.kt | lekz112 | 118,451,085 | false | null | package package_B_18
class Foo_B_1817 {
fun foo0() {
var i=0
i+=Math.random().toInt()
i+=Math.random().toInt()
i+=Math.random().toInt()
i+=Math.random().toInt()
i+=Math.random().toInt()
i+=Math.random().toInt()
i+=Math.random().toInt()
i+=Math.random().toInt()
i+=Math.random().toInt()
i+=Math.random().toInt()
i+=Math.r... | 0 | Kotlin | 0 | 0 | 8182b7f6e92f9d65efb954c32ca640fe50ae6b79 | 584 | ModuleTest | Apache License 2.0 |
app/src/main/java/com/ubaidmerchant/findamatch/model/LoginModel.kt | ubaid-merchant | 293,975,010 | false | null | package com.ubaidmerchant.findamatch.model
data class LoginModel(
val uuid: String?,
val username: String?,
val password: String?,
val salt: String?,
val md5: String?,
val sha1: String?,
val sha256: String?
) | 0 | Kotlin | 0 | 0 | fccb8cdb68e1fdf761ecbf2c5f5036ba18e23661 | 237 | FindAMatch | MIT License |
FingerprintVerifyer/src/main/java/com/liangguo/fingerprintverifyer/BiometricHelper.kt | ldh-star | 464,807,833 | false | null | package com.liangguo.fingerprintverifyer
import android.os.Build
import androidx.fragment.app.FragmentActivity
import com.liangguo.fingerprintverifyer.core.BiometricVerifier
import com.liangguo.fingerprintverifyer.core.BiometricVerifierCallback
import com.liangguo.fingerprintverifyer.core.FingerPrintVerifier
/**
* ... | 0 | Kotlin | 0 | 0 | 189ee8ec6251f4ddae4bdc957d9bf5bdc1532675 | 1,362 | FingerprintVerifyer | Apache License 2.0 |
app/src/main/java/ru/vitaliy/belyaev/wishapp/utils/Context.kt | VitaliyBelyaev | 398,851,175 | false | {"Kotlin": 386804, "Swift": 91562, "Ruby": 2345} | package ru.vitaliy.belyaev.wishapp.utils
import android.app.ActivityManager
import android.content.ActivityNotFoundException
import android.content.Context
import android.content.Intent
import android.net.Uri
import android.os.Handler
import androidx.compose.foundation.ExperimentalFoundationApi
import androidx.compose... | 1 | Kotlin | 1 | 23 | f034eebfd9adaea16f723b3aeb0825b946beea96 | 1,516 | WishApp | Apache License 2.0 |
aoc-2018/src/test/kotlin/nl/jstege/adventofcode/aoc2018/days/Day20Test.kt | JStege1206 | 92,714,900 | false | null | package nl.jstege.adventofcode.aoc2018.days
import nl.jstege.adventofcode.aoccommon.utils.DayTester
class Day20Test : DayTester(Day20())
| 0 | Kotlin | 0 | 0 | d48f7f98c4c5c59e2a2dfff42a68ac2a78b1e025 | 139 | AdventOfCode | MIT License |
app/src/main/java/com/abaferastech/marvelapp/MarvelApplication.kt | CheeseCake-Team | 633,955,610 | false | null | package com.abaferastech.marvelapp
import android.app.Application
import dagger.hilt.android.HiltAndroidApp
@HiltAndroidApp
class MarvelApplication : Application() {
/*override fun onCreate() {
super.onCreate()
val refreshWorkerRequest = PeriodicWorkRequestBuilder<RefreshWorker>(
repe... | 0 | Kotlin | 0 | 0 | 7c2e38f2571e5ed5135e2461034d77750546ee23 | 559 | MarvelApp | Apache License 2.0 |
app/src/main/java/com/codev/recruitment/archielogarta/app/impl/FabListener.kt | logartaa | 586,470,320 | false | null | package com.codev.recruitment.archielogarta.app.impl
import com.codev.recruitment.archielogarta.app.enum.FabActionType
import com.codev.recruitment.archielogarta.repository.entity.Contact
interface FabListener {
fun onFabAction(fabActionType: FabActionType)
fun onFabEdit(contact: Contact)
fun onFabDelete(... | 0 | Kotlin | 0 | 0 | c2c863f3a2dd87d24b64c466d971a6f1403df0f5 | 364 | MyContacts | Apache License 2.0 |
bootstrap-icons-compose/src/main/java/com/wiryadev/bootstrapiconscompose/bootstrapicons/normal/ArrowLeftShort.kt | wiryadev | 380,639,096 | false | null | package com.wiryadev.bootstrapiconscompose.bootstrapicons.normal
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.S... | 0 | Kotlin | 0 | 2 | 1c199d953dc96b261aab16ac230dc7f01fb14a53 | 1,996 | bootstrap-icons-compose | MIT License |
src/main/kotlin/world/cepi/kstom/util/CaseUtils.kt | Project-Cepi | 320,725,364 | false | null | package world.cepi.kstom.util
fun String.pascalToTitle() = Regex("^[a-z]+|[A-Z][a-z]+").findAll(this)
.map { it.value.replaceFirstChar(Char::uppercase) }.joinToString(" ")
fun String.snakeToTitle() = this.split("_").joinToString(" ") { it.replaceFirstChar(Char::uppercase) } | 1 | Kotlin | 4 | 8 | 2bb37b0156cbb6c5af8be845a35ac29c07fba30c | 280 | KStom | MIT License |
app/src/main/java/com/commit451/gitlab/model/api/Label.kt | sunzcdev | 100,562,921 | true | {"Kotlin": 710591, "Java": 7073, "CSS": 1148} | package com.commit451.gitlab.model.api
import com.squareup.moshi.Json
import org.parceler.Parcel
/**
* A label
*/
@Parcel(Parcel.Serialization.BEAN)
open class Label {
@field:Json(name = "color")
var color: String? = null
@field:Json(name = "name")
var name: String? = null
@field:Json(name = "... | 0 | Kotlin | 0 | 0 | 5827bf17c798ec362faf1286045b6396df6a4716 | 697 | LabCoat | Apache License 2.0 |
app/src/main/java/de/fhe/ai/flipsen/view/ui/settings/SettingsViewModel.kt | fh-erfurt | 575,489,613 | false | null | package de.fhe.ai.flipsen.view.ui.settings
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
class SettingsViewModel : ViewModel() {
private val _text = MutableLiveData<String>().apply {
value = "Einstellungen"
}
val text: LiveData<St... | 0 | Kotlin | 0 | 1 | 99df17d26563326aecb70055d94eda81fbebcaa5 | 335 | ws2022_pme_flipsen | MIT License |
android-ktx/src/main/java/io/github/raggedycoder/android/Toast.kt | RaggedyCoder | 184,918,243 | false | null | /*
* Copyright 2019 RaggedyCoder.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | 0 | Kotlin | 0 | 0 | 82e985169a8c09eadc0434cfd45619f9bc5e2fc8 | 1,395 | AndroidKtx | Apache License 2.0 |
src/main/kotlin/kr/nagaza/nagazaserver/domain/service/AppInfoService.kt | NAGAZA-Team | 706,076,040 | false | {"Kotlin": 121612, "Shell": 637} | package kr.nagaza.nagazaserver.domain.service
import kr.nagaza.nagazaserver.infrastructure.jpa.repository.JpaAppInfoRepository
import org.springframework.stereotype.Service
@Service
class AppInfoService(
private val jpaAppInfoRepository: JpaAppInfoRepository,
) {
private val appInfoMap = mutableMapOf<String, ... | 0 | Kotlin | 1 | 1 | 536eb9df2b8b2c171d2c5eb92f2a09332b4e278e | 603 | NAGAZA-Server | MIT License |
fashion-tryon-compose/src/main/kotlin/com/aiuta/fashionsdk/tryon/compose/ui/internal/screens/preonboarding/PreOnboardingScreen.kt | aiuta-com | 759,918,511 | false | {"Kotlin": 666373, "Shell": 1462} | package com.aiuta.fashionsdk.tryon.compose.ui.internal.screens.preonboarding
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.fillMaxSiz... | 6 | Kotlin | 0 | 2 | 6e17d89bf031feff027315f1cc49ed0dd818708e | 5,894 | android-sdk | Apache License 2.0 |
packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/FromOccludedTransitionInteractor.kt | liu-wanshun | 595,904,109 | true | null | /*
* Copyright (C) 2022 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 | Java | 1 | 2 | e99201cd9b6a123b16c30cce427a2dc31bb2f501 | 4,072 | platform_frameworks_base | Apache License 2.0 |
packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/FromOccludedTransitionInteractor.kt | liu-wanshun | 595,904,109 | true | null | /*
* Copyright (C) 2022 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 | Java | 1 | 2 | e99201cd9b6a123b16c30cce427a2dc31bb2f501 | 4,072 | platform_frameworks_base | Apache License 2.0 |
kairo-money/src/main/kotlin/kairo/money/Money.kt | hudson155 | 836,940,978 | false | {"Kotlin": 554879, "HCL": 1700} | package kairo.money
import javax.money.Monetary
import org.javamoney.moneta.Money
public fun Money.round(): Money =
with(Monetary.getDefaultRounding())
public fun Iterable<Money>.sumOrNull(): Money? =
reduceOrNull(Money::add)
public fun Iterable<Money>.sum(currencyCode: String): Money =
fold(Money.of(0, curre... | 0 | Kotlin | 1 | 14 | 8b71e7186f7a39f4d809f424752cd428479851f5 | 342 | kairo | Apache License 2.0 |
app/src/main/java/com/zocky/githubapp/ui/detail/DetailViewModel.kt | raflizocky | 714,308,108 | false | {"Kotlin": 45433} | package com.zocky.githubapp.ui.detail
import android.app.Application
import android.util.Log
import androidx.lifecycle.AndroidViewModel
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.viewModelScope
import com.zocky.githubapp.data.response.DetailResponse
import co... | 0 | Kotlin | 0 | 1 | 75c38fe2be4366d078d77fdbc1865c7bd6bbb40a | 3,572 | github-app | Apache License 2.0 |
library/src/main/java/com/mabn/calendarlibrary/component/MonthViewCalendar.kt | mateusz800 | 540,003,807 | false | null | package com.mabn.calendarlibrary.component
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.lazy.grid.GridCells
import androidx.compose.foundation.lazy.grid.LazyVerticalGrid
import androidx.compose.foundation.lazy.grid.itemsIndexed
import androidx.compose.runtime.Composable
import android... | 3 | null | 6 | 89 | c5deac66e272985b0a1299763dd757ef0163b917 | 2,028 | Expandable-Compose-Calendar | Apache License 2.0 |
kutil-unit-impl/src/main/java/net/kigawa/kutil/unit/component/UnitCloserComponentImpl.kt | kigawa01 | 534,968,547 | false | null | package net.kigawa.kutil.unit.component
import net.kigawa.kutil.unitapi.annotation.getter.LateInit
import net.kigawa.kutil.unitapi.component.*
import net.kigawa.kutil.unitapi.extention.ComponentDatabase
import net.kigawa.kutil.unitapi.extention.UnitCloser
@LateInit
class UnitCloserComponentImpl(
container: UnitCont... | 3 | Kotlin | 0 | 0 | 924a20e797160fb9e93cd4331803654533c5ca59 | 672 | kutil-unit | MIT License |
app/ime/src/main/kotlin/studio/lunabee/onesafe/ime/ui/OSKeyboardStatus.kt | LunabeeStudio | 624,544,471 | false | {"Kotlin": 2127888, "Java": 11977, "Python": 2057} | /*
* Copyright (c) 2023 Lunabee Studio
*
* 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 agree... | 0 | Kotlin | 0 | 1 | b2f1f08531c4431ee08d3ea196bfccc47447060b | 2,750 | oneSafe6_SDK_Android | Apache License 2.0 |
app/src/main/java/com/brayskiy/example/core/log/Log.kt | brayskiy | 179,559,620 | false | null | package com.brayskiy.example.core.log
/**
* Created by brayskiy on 02/01/19.
*/
object Log {
private lateinit var mLogger: Logger
private var isEnabled = false
enum class LoggerType {
ANDROID,
TIMBER
}
fun init(enable: Boolean, loggerType: LoggerType) {
if (enable) {
... | 0 | Kotlin | 0 | 0 | 330e6e4e8d0f3f5037694f82fef7182a5dc251dd | 1,625 | android-example | Apache License 2.0 |
fluent-icons-extended/src/commonMain/kotlin/com/konyaco/fluent/icons/regular/PersonSwap.kt | Konyaco | 574,321,009 | false | null |
package com.konyaco.fluent.icons.regular
import androidx.compose.ui.graphics.vector.ImageVector
import com.konyaco.fluent.icons.Icons
import com.konyaco.fluent.icons.fluentIcon
import com.konyaco.fluent.icons.fluentPath
public val Icons.Regular.PersonSwap: ImageVector
get() {
if (_personSwap != null) {
... | 1 | Kotlin | 3 | 83 | 9e86d93bf1f9ca63a93a913c990e95f13d8ede5a | 2,946 | compose-fluent-ui | Apache License 2.0 |
app/src/main/java/behale/health/reminder/receiver/DrinkWaterReceiver.kt | Akshay-kumar79 | 427,837,509 | false | {"Kotlin": 110919} | package behale.health.reminder.receiver
import android.app.NotificationManager
import android.content.BroadcastReceiver
import android.content.Context
import android.content.Intent
import android.content.SharedPreferences
import android.widget.Toast
import androidx.core.content.ContextCompat
import behale.health.remin... | 0 | Kotlin | 0 | 2 | cdaa5b20feb2411229eccbb0d3b555b9930fcd97 | 2,745 | Behale | MIT License |
app/src/androidTest/java/me/zama/holdmywidgets/mock/arrangement/WidgetArrangementManagerTestImpl.kt | giacomozama | 490,050,213 | false | null | package me.zama.holdmywidgets.mock.arrangement
import me.zama.holdmywidgets.model.widget.arrangement.WidgetArrangement
import me.zama.holdmywidgets.model.widget.arrangement.WidgetArrangementManager
class WidgetArrangementManagerTestImpl : WidgetArrangementManager {
override fun store(arrangement: WidgetArrangeme... | 0 | Kotlin | 0 | 0 | 8d237b3ec6cde6113f7c38fc6ee27413e9829619 | 384 | hold-my-widgets | MIT License |
documents_feature/src/main/java/com/flyview/documents_feature/ui/document/DocumentComponent.kt | DmiMukh | 676,402,705 | false | {"Kotlin": 296304, "Java": 130379} | package com.flyview.documents_feature.ui.document
import com.flyview.documents_feature.ui.document.toolbar.DocumentToolbarComponent
interface DocumentComponent {
val toolbarComponent: DocumentToolbarComponent
fun onScanClick()
fun onPlacementClick()
} | 0 | Kotlin | 0 | 0 | f2dcebe8643c068c7fd57bfddd85fd1f6d6fd8f9 | 267 | PharmMobile | MIT License |
amazon/evidently/fake/src/main/kotlin/org/http4k/connect/amazon/evidently/StoredProject.kt | http4k | 295,641,058 | false | {"Kotlin": 1624385, "Handlebars": 10370, "CSS": 5434, "Shell": 3178, "JavaScript": 2076, "Python": 1834, "HTML": 675} | package org.http4k.connect.amazon.evidently
import org.http4k.connect.amazon.core.model.ARN
import org.http4k.connect.amazon.core.model.AwsAccount
import org.http4k.connect.amazon.core.model.Region
import org.http4k.connect.amazon.evidently.actions.Project
import org.http4k.connect.amazon.evidently.model.ProjectName
i... | 7 | Kotlin | 17 | 37 | 3522f4a2bf5e476b849ec367700544d89e006f71 | 1,201 | http4k-connect | Apache License 2.0 |
app/src/main/java/com/twilio/conversations/app/common/FirebaseTokenRetriever.kt | mayank-techeniac | 366,132,427 | true | {"Kotlin": 423618, "Shell": 2710} | package com.twilio.conversations.app.common
import com.google.firebase.messaging.FirebaseMessaging
import com.twilio.conversations.app.common.enums.ConversationsError
import com.twilio.conversations.app.common.extensions.ConversationsException
import kotlin.coroutines.resume
import kotlin.coroutines.resumeWithExceptio... | 0 | null | 0 | 0 | bd0d85cf9baadc30cda9013eda0cacbba6b001d0 | 1,015 | twilio-conversations-demo-kotlin | MIT License |
src/main/kotlin/no/nav/syfo/api/auth/OIDCUtil.kt | navikt | 178,837,883 | false | null | package no.nav.syfo.api.auth
import no.nav.security.token.support.core.context.TokenValidationContextHolder
import no.nav.syfo.api.auth.OIDCClaim.JWT_CLAIM_AZP
import no.nav.syfo.api.auth.OIDCClaim.NAVIDENT
object OIDCUtil {
@JvmStatic
fun tokenFraOIDC(contextHolder: TokenValidationContextHolder, issuer: Stri... | 0 | Kotlin | 0 | 0 | b7324f1b2ed507fcc1f15591d15fa2e158bbfc89 | 915 | fastlegerest | MIT License |
shared/src/commonMain/kotlin/ui/library/menu/MyBottomMenu.kt | EvertW | 629,878,605 | false | {"Kotlin": 88621, "Swift": 612, "Jupyter Notebook": 539, "Shell": 228, "Ruby": 101} | package ui.library.menu
import androidx.compose.foundation.background
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.RowScope
import androidx.compose.foundation.layout.fillMaxHeight
impor... | 0 | Kotlin | 0 | 1 | 3eac617b85601da335fd96058098da129850dfc5 | 1,456 | ComposeMultiplatformExperiment | Apache License 2.0 |
graphql-api/src/main/kotlin/io/zeebe/zeeqs/graphql/resolvers/type/MessageSubscriptionResolver.kt | camunda-community-hub | 237,922,743 | false | null | package io.zeebe.zeeqs.data.resolvers
import graphql.kickstart.tools.GraphQLResolver
import io.zeebe.zeeqs.data.entity.*
import io.zeebe.zeeqs.data.repository.ElementInstanceRepository
import io.zeebe.zeeqs.data.repository.MessageCorrelationRepository
import io.zeebe.zeeqs.data.repository.ProcessInstanceRepository
imp... | 17 | Kotlin | 11 | 41 | dd15093812273f8972eaee5c082aaacfadda8411 | 3,413 | zeeqs | Apache License 2.0 |
app/src/main/java/com/example/mymoney/presenter/RegisterUser.kt | CardosofGui | 454,529,864 | false | null | package com.example.mymoney.presenter
import android.content.Context
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.widget.Toast
import androidx.core.content.edit
import com.example.mymoney.R
import com.example.mymoney.databinding.ActivityRegisterU... | 0 | Kotlin | 0 | 1 | 8a44bf4dc5de12071490374bcd32d86a46068d71 | 1,522 | my-money | MIT License |
src/main/kotlin/com/demonwav/torchglow/psi/TorchMethod.kt | DenWav | 100,835,055 | false | {"Kotlin": 20857} | /*
* TorchGlow
*
* IntelliJ JVM Bytecode PSI Equivalency Framework
*
* Copyright (c) 2017 <NAME>
*
* MIT License
*/
@file:JvmName("TorchMethods")
package com.demonwav.torchglow.psi
import com.intellij.psi.PsiType
interface TorchMethod : TorchMember {
val jvmReturnTypeName: String
val jvmParamList:... | 0 | Kotlin | 0 | 1 | 5152ae8d8a4dc775b27b44772788a49361312f54 | 618 | TorchGlow | MIT License |
kroto-plus-gradle-plugin/src/main/kotlin/com/github/marcoferrer/krotoplus/gradle/KrotoPlusGradlePlugin.kt | marcoferrer | 124,468,545 | false | null | /*
* Copyright 2019 Kroto+ Contributors
*
* 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 a... | 32 | Kotlin | 27 | 486 | 2b0b447d47f14da93b536ef238b379eb4cc6075c | 2,064 | kroto-plus | Apache License 2.0 |
presentation/src/main/java/com/safetyheads/akademiaandroida/presentation/ui/WebViewActivity.kt | SafetyHeads | 590,936,924 | false | null | package com.safetyheads.akademiaandroida.presentation.ui
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.safetyheads.akademiaandroida.presentation.databinding.ActivityWebViewBinding
class WebViewActivity : AppCompatActivity() {
private lateinit var binding: ActivityWebViewBind... | 7 | Kotlin | 0 | 0 | 77a34fdcc2c7d374fa678b3b8c12cacdd095ad34 | 705 | Akademia-Androida-2023 | Apache License 2.0 |
sample-kotlin-lib/src/main/kotlin/com/slapin/napt/sample/LongProvider.kt | sergei-lapin | 350,015,310 | false | null | package com.slapin.napt.sample
import dagger.Binds
import dagger.Module
import javax.inject.Inject
import kotlin.random.Random
interface LongProvider {
fun get(): Long
}
class LongProviderImpl @Inject constructor() : LongProvider {
override fun get(): Long = Random.nextLong()
}
@Module
interface LongProviderM... | 3 | Kotlin | 6 | 83 | ffd874c25c33b1908317d5be0cf0dea836292be2 | 382 | napt | MIT License |
material-popup-menu/src/main/java/com/github/zawadz88/materialpopupmenu/internal/PopupMenuAdapter.kt | zawadz88 | 97,512,779 | false | null | package com.github.zawadz88.materialpopupmenu.internal
import android.annotation.SuppressLint
import android.content.res.ColorStateList
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import androidx.annotation.CallSuper
import androidx.appcompat... | 14 | Kotlin | 56 | 644 | 6a1e8475b5a08665170fdca2ec5235bda462bfb0 | 5,686 | MaterialPopupMenu | Apache License 2.0 |
app/src/main/java/com/pieterbommele/dunkbuzz/ui/navigation/DunkBuzzOverviewScreen.kt | piebom | 736,048,297 | false | {"Kotlin": 119324} | package com.pieterbommele.dunkbuzz.ui.navigation
import androidx.annotation.StringRes
import com.pieterbommele.dunkbuzz.R
/**
* Enum representing screens in the DunkBuzz overview navigation.
*
* @param title The title resource ID for the screen.
* @param icon The icon resource ID for the screen.
*/
enum class Dun... | 0 | Kotlin | 0 | 0 | ca19c01340a3fa11f079aa92fff776601adffb84 | 621 | DunkBuzz | MIT License |
src/test/kotlin/io/provenance/abci/listener/TestProtoProducer.kt | provenance-io | 575,569,863 | false | {"Kotlin": 50926, "Shell": 12232, "Python": 650} | package io.provenance.abci.listener
import com.google.protobuf.Message
import com.typesafe.config.Config
import io.confluent.kafka.serializers.AbstractKafkaSchemaSerDeConfig
import org.apache.kafka.clients.producer.KafkaProducer
import org.apache.kafka.clients.producer.Producer
import org.apache.kafka.clients.producer... | 13 | Kotlin | 0 | 0 | fb4b78b56074c87fcbf7be2723986b8f2e63f99b | 2,645 | provenance-abci-listener | Apache License 2.0 |
src/main/kotlin/local/example/draft/ui/view/WelcomeView.kt | paolomococci | 139,423,040 | false | {"Kotlin": 18459} | /**
*
* Copyright 2018 <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 i... | 0 | Kotlin | 0 | 0 | aff83dc869e6a3790888edf5a884c56a71aed8ac | 1,735 | prn-client-draft | Apache License 2.0 |
test/Imports.test.kt | Animeshz | 336,521,787 | true | {"Kotlin": 54877, "JavaScript": 11210} | // SYNTAX TEST "source.kotlin" "Imports"
import com.google.test.ClassName as Test
//^^^^^^ source.kotlin meta.import.kotlin keyword.other.import.kotlin
// ^ source.kotlin meta.import.kotlin
// ^^^^^^^^^^^^^^^^^^^^^^^^^ source.kotlin meta.import.kotlin storage.modifier.import.kotlin
// ... | 0 | Kotlin | 0 | 1 | 46e2761a761af1de2eda9c02eb5ef0c119187aad | 623 | language-kotlin | Apache License 2.0 |
server/apigateway/src/main/kotlin/jetty/ep/login/TwoFactorAuthEnableStep2.kt | fzuleta | 123,956,049 | false | null | package jetty.ep.login
import com.google.gson.Gson
import com.google.gson.JsonObject
import common.functions.s
import jetty.EndPoint
import objects.EndPointReply
import org.apache.shiro.SecurityUtils
import shiro.Shiro
import vertxl.VertX
import java.time.LocalDateTime
class TwoFactorAuthEnableStep2 : EndPoint() {
... | 0 | Kotlin | 2 | 9 | dcc54b04ae2a5f945eecc55a1108ca5453f1da3d | 917 | sample-users-microservice | Apache License 2.0 |
libs/kbeam/src/main/kotlin/micro/apps/kbeam/coders/KryoCoder.kt | xmlking | 236,108,779 | false | {"Kotlin": 533847, "JavaScript": 249370, "HTML": 24462, "Shell": 7142, "Java": 6604, "Dockerfile": 2816} | package micro.apps.kbeam.coders
// import org.apache.beam.sdk.extensions.kryo.KryoCoderProvider
// https://beam.apache.org/documentation/sdks/java/euphoria/
class KryoCoderProvider
| 9 | Kotlin | 11 | 48 | 135c0f6b8ccfe17121a367bbfdd8024c77ea3c51 | 183 | micro-apps | MIT License |
app/src/main/java/com/yabancikelimedefteri/presentation/dictionary/DictionaryViewModel.kt | AhmetOcak | 621,942,001 | false | {"Kotlin": 164416} | package com.yabancikelimedefteri.presentation.dictionary
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.yabancikelimedefteri.core.helpers.Response
import com.yabancikelimedefteri.domain.model.WordWithId
import com.yabancikelimedefteri.domain.usecase.word.GetAllWordsUseCase
impo... | 0 | Kotlin | 0 | 1 | c3cbfdf189469045cba151b138efef246bc503d7 | 3,115 | YabanciKelimeDefterim | MIT License |
app/src/main/java/io/github/wulkanowy/ui/modules/about/license/LicenseFragment.kt | wezuwiusz | 827,505,734 | false | null | package io.github.wulkanowy.ui.modules.about.license
import android.os.Bundle
import android.view.View
import android.view.View.GONE
import android.view.View.VISIBLE
import androidx.core.text.parseAsHtml
import androidx.recyclerview.widget.LinearLayoutManager
import com.google.android.material.dialog.MaterialAlertDial... | 72 | null | 6 | 28 | 82b4ea930e64d0d6e653fb9024201b372cdb5df2 | 2,388 | neowulkanowy | Apache License 2.0 |
health/connect/connect-client/src/test/java/androidx/health/connect/client/records/PlannedExerciseBlockTest.kt | androidx | 256,589,781 | false | {"Kotlin": 112114129, "Java": 66594571, "C++": 9132142, "AIDL": 635065, "Python": 325169, "Shell": 194520, "TypeScript": 40647, "HTML": 35176, "Groovy": 27178, "ANTLR": 26700, "Svelte": 20397, "CMake": 15512, "C": 15043, "GLSL": 3842, "Swift": 3153, "JavaScript": 3019} | /*
* Copyright 2024 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 29 | Kotlin | 1011 | 5,321 | 98b929d303f34d569e9fd8a529f022d398d1024b | 3,738 | androidx | Apache License 2.0 |
build-logic/convention/src/main/kotlin/dev/enesky/build_logic/convention/plugins/common/BenchmarkTestPlugin.kt | enesky | 708,119,546 | false | {"Kotlin": 338680, "Shell": 4890} | package dev.enesky.build_logic.convention.plugins.common
import com.android.build.gradle.TestExtension
import dev.enesky.build_logic.convention.helpers.configureKotlinAndroid
import dev.enesky.build_logic.convention.helpers.libs
import org.gradle.api.Plugin
import org.gradle.api.Project
import org.gradle.kotlin.dsl.co... | 28 | Kotlin | 0 | 9 | 1341678e0974fc0e0292836e9a8571da679150d9 | 897 | Doodle | Apache License 2.0 |
iteration7/music-matters/mobile/src/test/java/com/odesa/musicMatters/services/media/library/BrowseTreeTest.kt | Odhiambo-Michael-Allan | 740,198,682 | false | {"Kotlin": 9540063} | package com.odesa.musicMatters.services.media.library
import com.odesa.musicMatters.core.common.media.extensions.toAlbum
import com.odesa.musicMatters.core.common.media.library.BrowseTree
import com.odesa.musicMatters.core.common.media.library.MUSIC_MATTERS_ALBUMS_ROOT
import com.odesa.musicMatters.core.common.media.l... | 0 | Kotlin | 0 | 3 | 05ad5e08002a78958ed7763e6685a0e15f635fae | 3,288 | music-matters | Apache License 2.0 |
app/src/main/java/taiwan/no/one/dropbeat/presentation/services/DownloadReceiver.kt | pokk | 263,073,196 | false | null | /*
* MIT License
*
* Copyright (c) 2020 Jieyi
*
* 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, me... | 2 | Kotlin | 3 | 16 | 6d173194dcd3c44db46dfe6b0ef691b9322da975 | 4,204 | DropBeat | MIT License |
cmd/src/test/kotlin/CmdTest.kt | hannomalie | 663,652,657 | false | null | import de.hanno.executablefetcher.os.OperatingSystem
import de.hanno.executablefetcher.os.currentOS
import org.assertj.core.api.Assertions.assertThat
import org.junit.jupiter.api.Test
import java.io.File
class CmdTest {
@Test
fun `compiled executable runs`() {
val pathFromProjectRootToExecutable = if(c... | 4 | Kotlin | 0 | 0 | 0510a3c4688c43a1c4d3ab25c3a712cf56e8d8c1 | 889 | executablefetcher | MIT License |
app/src/main/java/com/task/noteapp/data/NoteRepository.kt | Hichamraf | 491,177,404 | false | {"Kotlin": 24919} | package com.task.noteapp.data
import com.task.noteapp.model.Note
interface NoteRepository {
suspend fun save(note : Note)
suspend fun update(note: Note)
suspend fun delete(note: Note)
suspend fun getAllNotes() : List<Note>
} | 0 | Kotlin | 0 | 0 | 11d0afd5f64d8c408d45c754bfe7872c4589f09f | 246 | Notes | Apache License 2.0 |
app/src/main/java/com/adityagupta/gdsc_nie/presentation/main/home/connect/ConnectFragment.kt | DSCNIE | 414,119,878 | false | {"Kotlin": 54092} | package com.adityagupta.gdsc_nie.presentation.main.home.connect
import android.os.Bundle
import android.transition.TransitionInflater
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.databinding.DataBindingUtil
import com.ad... | 1 | Kotlin | 3 | 0 | 267dd9bc8fd7c5b076ae97549915c28f0039290c | 2,412 | GDSC-NIE-Android | MIT License |
samples/an-empty-journey/app/src/main/java/ninja/luke/mobi/journey2/samples/emptyjourney/EmptyApp.kt | luke-vietnam | 487,814,894 | false | {"Kotlin": 26203} | package ninja.luke.mobi.journey2.samples.emptyjourney
import androidx.multidex.MultiDexApplication
import ninja.luke.mobi.journey2.contract.J2Configs
class EmptyApp : MultiDexApplication() {
override fun onCreate() {
super.onCreate()
}
} | 0 | Kotlin | 1 | 8 | ac5eef05ce298adb4f53ce9f15da02a516ad3695 | 257 | journey2-samples | MIT License |
src/main/kotlin/uk/gov/justice/digital/hmpps/calculatereleasedatesapi/model/ComparisonSummary.kt | ministryofjustice | 387,841,000 | false | {"Kotlin": 947113, "Shell": 5975, "Dockerfile": 1337} | package uk.gov.justice.digital.hmpps.calculatereleasedatesapi.model
import java.time.LocalDateTime
data class ComparisonSummary(
val comparisonShortReference: String,
val prison: String?,
val calculatedAt: LocalDateTime,
val calculatedByUsername: String,
val numberOfMismatches: Long,
val numberOfPeopleCom... | 3 | Kotlin | 0 | 5 | 806693e7491f76d07a39deb92bca8a766553bac6 | 335 | calculate-release-dates-api | MIT License |
app/src/main/java/com/sarbaevartur/wuwreader/screens/TestWindowWithVoiceAssistant.kt | magmadog | 533,213,841 | false | null | package com.sarbaevartur.wuwreader.screens
import androidx.compose.animation.AnimatedContent
import androidx.compose.animation.ExperimentalAnimationApi
import androidx.compose.foundation.layout.*
import androidx.compose.material.*
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.roun... | 0 | Kotlin | 0 | 0 | 39ebc99377e1e276f7d00cb12c57bed98669ee45 | 2,621 | WuWReader | MIT License |
librefit-service/src/main/kotlin/io/tohuwabohu/crud/util/FlywayMigration.kt | tohuwabohu-io | 606,202,766 | false | {"Kotlin": 166215, "Svelte": 87441, "JavaScript": 49188, "HTML": 13431, "CSS": 1155, "Shell": 517, "Dockerfile": 313} | package io.tohuwabohu.crud.util
import io.quarkus.logging.Log
import io.quarkus.runtime.StartupEvent
import jakarta.enterprise.context.ApplicationScoped
import jakarta.enterprise.event.Observes
import org.eclipse.microprofile.config.inject.ConfigProperty
import org.flywaydb.core.Flyway
import java.util.*
/**
* Work... | 8 | Kotlin | 0 | 0 | 9b1247feba1cb03e9adc4578d4734e0bc898a57c | 1,458 | librefit | MIT License |
src/main/kotlin/extensions/TenantsExtensions.kt | novuhq | 609,113,780 | false | {"Kotlin": 309101} | package co.novu.extensions
import co.novu.Novu
import co.novu.dto.Tenant
import co.novu.dto.request.TenantRequest
import co.novu.dto.response.DeleteTenantResponse
import co.novu.dto.response.PaginatedResponseWrapper
import co.novu.dto.response.ResponseWrapper
import co.novu.helpers.extractResponse
import mu.KotlinLogg... | 7 | Kotlin | 8 | 19 | 539fac1b789de580659716349fd4e1c68641a8ef | 1,475 | novu-kotlin | MIT License |
app/src/main/java/com/jetpack/swipecompose/MainActivity.kt | MakeItEasyDev | 414,430,989 | false | null | package com.jetpack.swipecompose
import android.os.Bundle
import android.widget.Space
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.animation.animateColorAsState
import androidx.compose.animation.core.tween
import androidx.compose.foundation.Image
import... | 0 | Kotlin | 1 | 6 | 18302a531b6c3e3418f138873b7337e2d64156bb | 7,331 | Jetpack-Compose-Swipe-to-Reveal | Apache License 2.0 |
cap08-q01-13/app/src/main/java/com/androiddesenv/opiniaodetudo/MainActivity.kt | vitorecomp | 259,554,376 | false | null | package com.androiddesenv.opiniaodetudo
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import androidx.fragment.app.Fragment
import com.androiddesenv.opiniaodetudo.fragment.ListFragment
import com.google.android.material.bottomnavigation.BottomNavigationView
class MainActivity : AppCompatAct... | 0 | Kotlin | 0 | 0 | eeae5ee862a803df80304746eba2dbeba6ce0937 | 1,480 | android-course | MIT License |
app/src/main/java/com/codigodelsur/mlkit/feature/translation/presentation/TranslationScreen.kt | CodigoDelSurUY | 796,365,173 | false | {"Kotlin": 206179, "Java": 32945} | package com.codigodelsur.mlkit.feature.translation.presentation
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.fillMaxWidth
im... | 0 | Kotlin | 0 | 2 | 4bf9bcf8cc9e37cdc53a655137f785a0fa872414 | 4,913 | ml-kit-android-demo | Apache License 2.0 |
app/src/main/java/com/sbw/calculator/MainActivity.kt | sumantain | 240,911,752 | false | null | package com.sbw.calculator
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.text.Editable
import android.text.TextWatcher
import kotlinx.android.synthetic.main.activity_main.*
class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
... | 0 | Kotlin | 1 | 0 | d20a12a548bfd752ad233bccef7cbc5545bfbe79 | 1,752 | Calculator | Apache License 2.0 |
composeApp/src/commonMain/kotlin/tabs/calendar/CalendarViewState.kt | spoonofcode | 829,948,208 | false | {"Kotlin": 96677, "Swift": 621} | package tabs.calendar
internal data class CalendarViewState(
val title: String = "Calendar title"
) | 11 | Kotlin | 0 | 0 | 5233af10246b1b0b1c268ec666afd70c21f80be9 | 104 | dojo-pro | Apache License 2.0 |
app/src/main/kotlin/hr/algebra/domace/domain/mailing/MailingService.kt | karlobratko | 793,157,929 | false | {"Kotlin": 396835} | package hr.algebra.domace.domain.mailing
import arrow.core.Either
import hr.algebra.domace.domain.DomainError
/**
* A functional interface for a mailing service.
*
* This interface defines a single function, `send`, which is used to send an email.
* The function is a suspending function, meaning it is designed to... | 0 | Kotlin | 0 | 0 | 085007340832bc6f1143af18d580f8702bed9c59 | 2,449 | domace | MIT License |
dsl/src/main/kotlin/io/cloudshiftdev/awscdkdsl/services/amplifyuibuilder/_amplifyuibuilder.kt | cloudshiftinc | 667,063,030 | false | {"Kotlin": 63959868} | @file:Suppress(
"RedundantVisibilityModifier",
"RedundantUnitReturnType",
"RemoveRedundantQualifierName",
"unused",
"UnusedImport",
"ClassName",
"REDUNDANT_PROJECTION",
"DEPRECATION"
)
package io.cloudshiftdev.awscdkdsl.services.amplifyuibuilder
import kotlin.String
import kotlin.Unit
... | 3 | Kotlin | 0 | 3 | c59c6292cf08f0fc3280d61e7f8cff813a608a62 | 100,433 | awscdk-dsl-kotlin | Apache License 2.0 |
lib/sorawallet/src/commonMain/kotlin/jp/co/soramitsu/xnetworking/sorawallet/blockexplorerinfo/fiat/case2/SoraWalletFiatCase2Request.kt | soramitsu | 475,838,756 | false | {"Kotlin": 109437, "Swift": 339} | package jp.co.soramitsu.xnetworking.sorawallet.blockexplorerinfo.fiat.case2
internal fun graphQLRequestSoraWalletFiatCase2(
cursor: String,
) = """
query FiatPriceQuery {
entities: assets(
first: 100
after: "$cursor") {
nodes {
id
... | 2 | Kotlin | 0 | 1 | 9048bf9bb1c547aa7c5c94ccda3e8d568f7b2738 | 486 | x-networking | Apache License 2.0 |
ui-main/src/main/java/pl/kamilszustak/read/ui/main/quotes/QuotesEvent.kt | swistak7171 | 289,985,013 | false | null | package pl.kamilszustak.read.ui.main.quotes
import pl.kamilszustak.model.common.id.QuoteId
import pl.kamilszustak.read.ui.base.view.ViewEvent
sealed class QuotesEvent : ViewEvent {
object OnAddQuoteButtonClicked : QuotesEvent()
data class OnShareQuoteButtonClicked(
val quoteId: QuoteId,
) : Quote... | 2 | Kotlin | 0 | 1 | 70d7be58042410bdb969035413b726126426e3d3 | 520 | read | Apache License 2.0 |
app/src/main/java/com/pavelrekun/rekado/services/utils/DesignUtils.kt | mehmet-efe61 | 162,128,393 | true | {"Kotlin": 64173, "C++": 1279, "Java": 817, "CMake": 145} | package com.pavelrekun.rekado.services.utils
import android.app.ActivityManager
import android.graphics.BitmapFactory
import android.os.Build
import android.util.TypedValue
import android.view.View
import androidx.core.content.ContextCompat
import androidx.preference.PreferenceManager
import com.pavelrekun.rang.data.N... | 0 | Kotlin | 0 | 0 | 2c359ea0f4322a79e1e98dc4a154b65181658ec2 | 2,716 | Rekado | Apache License 2.0 |
servomatic/src/main/kotlin/crackers/kobots/app/ServoThing.kt | EAGrahamJr | 564,081,499 | false | {"Kotlin": 67691, "Shell": 3453} | /*
* Copyright 2022-2024 by E. A. Graham, Jr.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | 0 | Kotlin | 0 | 1 | fb958fcfd306e87ee5a18a2eeb18e4a7b662d560 | 3,665 | kobots | Apache License 2.0 |
app/src/main/java/com/chani/sampleplayer/MainActivity.kt | chani01 | 262,197,458 | false | null | package com.chani.sampleplayer
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.util.Log
import com.chani.easyexoplayer.EasyExoPlayer
import com.google.android.exoplayer2.Player
import kotlinx.android.synthetic.main.activity_main.*
class MainActivity : AppCompatActivity() {
... | 0 | Kotlin | 0 | 1 | 21fe872303dec49f56b8b44f208ad3ba846b6512 | 1,626 | EasyExoPlayer | Apache License 2.0 |
app/src/main/java/com/puutaro/commandclick/activity_lib/event/lib/cmdIndex/ExecCmdIndexSizingInTermShort.kt | puutaro | 596,852,758 | false | {"Kotlin": 1472142, "JavaScript": 147417, "HTML": 19619} | package com.puutaro.commandclick.activity_lib.event.lib.cmdIndex
import androidx.core.view.isVisible
import com.puutaro.commandclick.R
import com.puutaro.commandclick.activity.MainActivity
import com.puutaro.commandclick.fragment.CommandIndexFragment
import com.puutaro.commandclick.fragment_lib.command_index_fragment.... | 2 | Kotlin | 3 | 54 | 000db311f5780b2861a2143f7985507b06cae5f1 | 1,236 | CommandClick | MIT License |
app/src/main/java/com/koodipuukko/dragonsquad/GLRenderer.kt | tmmvn | 450,234,293 | false | {"Kotlin": 297115, "Java": 366} | package com.koodipuukko.dragonsquad
import android.content.Context
import android.graphics.Bitmap
import android.graphics.BitmapFactory
import android.opengl.EGLConfig
import android.opengl.GLSurfaceView
import android.opengl.GLUtils
import android.util.Log
import com.koodipuukko.R
import java.util.ArrayList
import ja... | 0 | Kotlin | 0 | 1 | aa10dfac2364fd19898614fa218ba21f3964b84c | 13,253 | kotlin-android-game-snippets | Eiffel Forum License v2.0 |
src/main/kotlin/br/eng/r2a/dokument/documents/Document.kt | r2a-engineering | 315,466,235 | false | null | package br.eng.r2a.dokument.documents
interface Document {
fun isValid(documentValue: String): Boolean
} | 0 | Kotlin | 0 | 7 | 5cfafbc207ba63b05c348d29fe5239a6689b297c | 109 | dokument-validate | MIT License |
lib/app-db/src/main/kotlin/vdi/component/db/app/model/DeleteFlag.kt | VEuPathDB | 575,990,672 | false | {"Kotlin": 601562, "Java": 211932, "RAML": 63444, "Makefile": 1936, "Dockerfile": 1001, "Shell": 423} | package org.veupathdb.vdi.lib.db.app.model
/**
* Dataset Deletion Status Indicator
*
* This enum represents the different deletion statuses a dataset may be in for
* install target App databases.
*
* Datasets that are marked with [NotDeleted] (`0` in the database) are visible
* to App DB queries for user datase... | 41 | Kotlin | 0 | 0 | 41aceea8e161e0d018f1e573ec8883278862de00 | 2,127 | vdi-service | Apache License 2.0 |
lib/app-db/src/main/kotlin/vdi/component/db/app/model/DeleteFlag.kt | VEuPathDB | 575,990,672 | false | {"Kotlin": 601562, "Java": 211932, "RAML": 63444, "Makefile": 1936, "Dockerfile": 1001, "Shell": 423} | package org.veupathdb.vdi.lib.db.app.model
/**
* Dataset Deletion Status Indicator
*
* This enum represents the different deletion statuses a dataset may be in for
* install target App databases.
*
* Datasets that are marked with [NotDeleted] (`0` in the database) are visible
* to App DB queries for user datase... | 41 | Kotlin | 0 | 0 | 41aceea8e161e0d018f1e573ec8883278862de00 | 2,127 | vdi-service | Apache License 2.0 |
plugins/ComposeAuth/src/noDefaultMain/kotlin/io/github/jan/supabase/compose/auth/composable/GoogleAuth.kt | supabase-community | 495,084,592 | false | {"Kotlin": 901718} | package io.github.jan.supabase.compose.auth.composable
import androidx.compose.runtime.Composable
import io.github.jan.supabase.compose.auth.ComposeAuth
import io.github.jan.supabase.compose.auth.defaultLoginBehavior
/**
* Composable function that implements Native Google Auth.
*
* On unsupported platforms it will... | 11 | Kotlin | 37 | 395 | 52abcc3d5744ad2703afc40a9d1e6cae5b74b834 | 736 | supabase-kt | MIT License |
PixabayGallery/app/src/main/java/com/junpu/pixabaygallery/ui/image/ImageFragment.kt | zhangjunpu | 351,693,686 | false | null | package com.junpu.pixabaygallery.ui.image
import android.Manifest
import android.content.ContentValues
import android.content.pm.PackageManager
import android.graphics.Bitmap
import android.os.Bundle
import android.provider.MediaStore
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import andr... | 0 | Kotlin | 0 | 0 | 4fb63390fc666c29cd898abf4c4aa64a67af8d2e | 4,519 | AndroidJetpackDemo | MIT License |
app/src/main/java/com/grevi/masakapa/db/RecipesDataSourceImpl.kt | ahmadramadhannn | 390,560,780 | true | {"Kotlin": 75373} | package com.grevi.masakapa.db
import com.grevi.masakapa.db.entity.Category
import com.grevi.masakapa.db.entity.RecipesTable
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.flow
import javax.inject.Inject
class RecipesDataSourceImpl @Inject constructor(private val recipesDAO: RecipesDAO) : RecipesDa... | 0 | null | 0 | 0 | beff087a00d91ddd369fbcf98f1da36cdef074ec | 1,175 | masak-apa | MIT License |
base/src/main/kotlin/browser/contentSettings/Constructor.kt | DATL4G | 372,873,797 | false | null | @file:Suppress("UNCHECKED_CAST_TO_EXTERNAL_INTERFACE")
package browser.contentSettings
public inline fun ResourceIdentifier(block: ResourceIdentifier.() -> Unit): ResourceIdentifier =
(js("{}") as ResourceIdentifier).apply(block)
public inline fun ClearDetails(block: ClearDetails.() -> Unit): ClearDetails = (js(... | 0 | Kotlin | 1 | 37 | ab2a825dd8dd8eb704278f52c603dbdd898d1875 | 836 | Kromex | Apache License 2.0 |
presentation-layer/src/main/kotlin/org/deafsapps/android/githubbrowser/presentationlayer/feature/main/view/adapter/DataRepoListAdapter.kt | pablodeafsapps | 304,021,652 | false | null | package org.deafsapps.android.githubbrowser.presentationlayer.feature.main.view.adapter
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.recyclerview.widget.RecyclerView
import org.deafsapps.android.githubbrowser.presentationlayer.R
import org.deafsapps.android.githubbrowser.presentatio... | 0 | Kotlin | 0 | 1 | efbed3f77d01cae50b95610a601f960e507427e0 | 1,960 | github-browser | MIT License |
presentation-layer/src/main/kotlin/org/deafsapps/android/githubbrowser/presentationlayer/feature/main/view/adapter/DataRepoListAdapter.kt | pablodeafsapps | 304,021,652 | false | null | package org.deafsapps.android.githubbrowser.presentationlayer.feature.main.view.adapter
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.recyclerview.widget.RecyclerView
import org.deafsapps.android.githubbrowser.presentationlayer.R
import org.deafsapps.android.githubbrowser.presentatio... | 0 | Kotlin | 0 | 1 | efbed3f77d01cae50b95610a601f960e507427e0 | 1,960 | github-browser | MIT License |
app/src/main/java/com/aldajo92/joystickwebsocket/framework/validation/IPValidator.kt | aldajo92 | 656,899,261 | false | null | package com.aldajo92.joystickwebsocket.framework.validation;
class IPValidator : FieldValidator {
// private val IP_REGEX = """^(?:[0-9]{1,3}\.){3}[0-9]{1,3}$"""
private val IP_REGEX = """^(?:\d{1,3}\.){3}\d{1,3}:\d{1,5}$"""
override fun isValid(value: String): Boolean {
// return IP_REGEX.toRegex().matches(value... | 0 | Kotlin | 1 | 0 | 8dd79fbc6f482a78b4b5e7b3d1ebd8f57699419e | 341 | AndroidKt_JoyWebSocket | MIT License |
app/src/main/kotlin/com/reconnect/refuge/ui/cameracapture/CameraCapturePresenterImpl.kt | BrianLusina | 118,647,777 | false | null | package com.emojify.me.ui.main
import android.graphics.Bitmap
import android.net.Uri
import com.reconnect.refuge.data.DataManager
import com.reconnect.refuge.data.io.SchedulerProvider
import com.reconnect.refuge.ui.base.BasePresenterImpl
import com.reconnect.refuge.ui.cameracapture.CameraCapturePresenter
import com.re... | 0 | Kotlin | 0 | 0 | ee66760088877c9ec5e54ec94c0a9cf561709eb6 | 2,457 | refugereconnect | MIT License |
app-lifelike/src/main/java/com/example/lifelike/composable/loggedout/Splash.kt | tchigher | 231,011,739 | true | {"Kotlin": 43515} | package com.example.lifelike.composable.loggedout
import androidx.compose.Composable
import androidx.compose.unaryPlus
import androidx.ui.core.Alignment
import androidx.ui.core.Text
import androidx.ui.core.dp
import androidx.ui.layout.*
import androidx.ui.material.MaterialTheme
import androidx.ui.text.ParagraphStyle
i... | 0 | null | 0 | 0 | b6b873d715d4eba169495493ae705f1aac1067a1 | 1,291 | backtrack | Apache License 2.0 |
src/main/kotlin/rest/dummy.kt | pse-parkview | 475,971,278 | false | null | package rest
import benchmark.Format
import benchmark.SpmvBenchmarkResult
import benchmark.SpmvDatapoint
import database.DatabaseHandler
import database.MissingBenchmarkResultException
import git.*
val DUMMY_BRANCH = "test"
val DUMMY_DEVICE = Device("meter")
val DUMMY_COMMIT = Commit("peter")
val SPMV_DUMMY_RESULT =... | 0 | Kotlin | 0 | 2 | e80f29be82d0e9823d55fecaf8d8a681b7dde3c7 | 2,104 | parkview-lib | MIT License |
common/src/main/kotlin/org/valkyrienskies/tournament/util/BlockMap.kt | alex-s168 | 648,266,124 | false | {"Kotlin": 311448, "Java": 42190} | package org.valkyrienskies.tournament.util
import blitz.collections.*
import com.fasterxml.jackson.annotation.JsonIgnore
import com.fasterxml.jackson.core.JsonGenerator
import com.fasterxml.jackson.core.JsonParser
import com.fasterxml.jackson.databind.DeserializationContext
import com.fasterxml.jackson.databind.JsonNo... | 4 | Kotlin | 10 | 8 | 48f2da03fab0f937805231929b7c145c69b1dab1 | 4,683 | VS_tournament_continued | Apache License 2.0 |
feature/accounts/src/main/java/org/expenny/feature/accounts/view/AccountsListConfirmSelectionButton.kt | expenny-application | 712,607,222 | false | {"Kotlin": 958809} | package org.expenny.feature.accounts.view
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.res.painterResource
import androidx.compose.ui.res.stringResource
import org.expenny.core.resources.R
import org.expenny.core.ui.foundation.ExpennyButton
import org.expenn... | 0 | Kotlin | 0 | 0 | 38bcfc1cbb9184d1f52ad5c0c7398aaa4d38bc4b | 1,096 | expenny-android | Apache License 2.0 |
library/src/main/java/com/angcyo/library/ex/BitmapEx.kt | hongri-xiao | 289,456,694 | true | {"Kotlin": 1593128, "Java": 10629} | package com.angcyo.library.ex
import android.content.Context
import android.content.Intent
import android.graphics.Bitmap
import android.graphics.BitmapFactory
import android.graphics.Matrix
import android.media.ExifInterface
import android.net.Uri
import android.provider.MediaStore
import android.util.Base64
import c... | 0 | null | 0 | 0 | 53e533caf25d2fcd76e54d712b8857486af90632 | 5,773 | UICore | MIT License |
android/app/src/main/kotlin/com/marcustwichel/MainActivity.kt | mtwichel | 595,998,021 | false | null | package com.marcustwichel.slack_chat
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| 3 | Dart | 1 | 13 | 6efc222c6a70c716e2db6da711502cd966cf8d28 | 133 | slack-chat-prototype | Apache License 2.0 |
app/src/main/java/com/maasbodev/marvelcomicsmd/data/network/entities/ApiReferenceList.kt | MaasboDev | 663,567,382 | false | {"Kotlin": 83116, "Shell": 441} | package com.maasbodev.marvelcomicsmd.data.network.entities
data class ApiReferenceList(
val available: Int,
val collectionURI: String,
val items: List<ApiReference>?,
val returned: Int
)
| 0 | Kotlin | 0 | 0 | 2c42573d417bd1043674ac31aedcdfb3ac3786ce | 204 | marvel-comics-md | Apache License 2.0 |
central/src/main/java/cn/lalaki/pub/BaseDeleteDeploymentTask.kt | lalakii | 818,217,756 | false | {"Kotlin": 18062} | package cn.lalaki.pub
import org.apache.commons.io.FileUtils
import org.gradle.api.tasks.TaskAction
import java.io.File
import java.nio.charset.Charset
abstract class BaseDeleteDeploymentTask : AbstractTask() {
@TaskAction
fun launch() {
val arg = "utId"
var id = ""
if (project.hasProp... | 0 | Kotlin | 0 | 0 | fcafc3f52b4796959314250611e7758121a2ee67 | 1,455 | central-portal-plus | Apache License 2.0 |
kopring/src/test/kotlin/com/example/kopring/test/IntegrationTestExecuteListener.kt | unluckyjung | 484,942,720 | false | {"Kotlin": 39032} | package com.example.kopring.test
import org.springframework.jdbc.core.JdbcTemplate
import org.springframework.test.context.TestContext
import org.springframework.test.context.support.AbstractTestExecutionListener
import org.springframework.test.jdbc.JdbcTestUtils
import org.springframework.transaction.TransactionStatu... | 1 | Kotlin | 0 | 4 | 4e6605decefb85b546c9030ee95a1a9add5f298f | 2,847 | kotlin-spring-jpa-playground | MIT License |
ksol-rpc/src/main/kotlin/com/dgsd/ksol/jsonrpc/networking/RpcException.kt | dlgrech | 524,875,633 | false | null | package com.dgsd.ksol.jsonrpc.networking
internal class RpcException(message: String, cause: Throwable? = null) : RuntimeException(message, cause) | 0 | Kotlin | 2 | 9 | 153e922fa405d6ba6c33041002bcf53d6293c7cf | 147 | ksol | Apache License 2.0 |
app/network/src/main/java/com/pubnub/demo/telemedicine/initialization/data/Encrypted.kt | pubnub | 340,153,384 | false | null | package com.pubnub.demo.telemedicine.initialization.data
import androidx.annotation.Keep
@Keep
data class Encrypted(
val encrypted: String,
) | 0 | Kotlin | 3 | 9 | 0f8ebf2bd9e01507b0662f5ae9230fb3deb2d832 | 147 | kotlin-telemedicine-demo | MIT License |
app/src/main/java/com/example/cameracompose/MainActivity.kt | byronsanchez0 | 642,587,913 | false | null | package com.example.cameracompose
import android.Manifest
import android.app.Activity
import android.content.Intent
import android.net.Uri
import android.os.Build
import android.os.Bundle
import android.provider.Settings
import androidx.activity.ComponentActivity
import androidx.activity.compose.rememberLauncherForAct... | 0 | Kotlin | 0 | 0 | 53cd52fc94f6114cb62c68009f8d3fa691385f9d | 3,281 | CameraCompose | MIT License |
src/jvmMain/kotlin/org/github/anisch/modules/DaoModule.kt | anisch | 612,110,087 | false | {"Kotlin": 18762} | package org.github.anisch.modules
import org.github.anisch.dao.DefaultPersonDao
import org.github.anisch.dao.PersonDao
import org.koin.dsl.module
val daoModule = module {
single<PersonDao> { DefaultPersonDao() }
}
| 0 | Kotlin | 0 | 0 | deaa6c744772b3085cdbf36dbb9e713a98ce667c | 220 | kotlin-multiplatform-demo | MIT License |
sql/src/main/kotlin/io/github/pdvrieze/kotlinsql/metadata/impl/TableMetaResultBase.kt | pdvrieze | 55,180,714 | false | null | /*
* Copyright (c) 2021.
*
* This file is part of kotlinsql.
*
* This file is licenced to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You should have received a copy of the license with the source distribution.
* Alternatively,... | 1 | Kotlin | 1 | 2 | 3ed9e15e96251913be9d2127259f53c44c879439 | 1,166 | kotlinsql | Apache License 2.0 |
app/src/main/java/tuver/manualdi/provider/impl/WebImageProviderImpl.kt | cemtuver | 587,025,922 | false | null | package tuver.manualdi.provider.impl
import android.widget.ImageView
import androidx.fragment.app.Fragment
import com.bumptech.glide.Glide
import com.bumptech.glide.RequestBuilder
import com.bumptech.glide.load.resource.bitmap.CircleCrop
import tuver.manualdi.di.AppModule
import tuver.manualdi.provider.WebImageProvide... | 0 | Kotlin | 0 | 3 | 51244153a6c460159370ee278cb7dd0aec57ceca | 1,133 | android-manualdi | MIT License |
src/main/kotlin/moirai/transport/TransportAst.kt | moirai-lang | 301,230,998 | false | {"Kotlin": 1308517, "ANTLR": 9622} | package moirai.transport
import java.math.BigDecimal
/**
* This type provides a stable public surface for simple Abstract Syntax Trees. It can be used
* in contexts where generating raw Moirai code may not be safe. For example, when converting
* a transport format to Moirai, the transport format may contain a stri... | 5 | Kotlin | 1 | 24 | 92e34321fa32324eab62dc45057d46969999ee23 | 1,078 | moirai-kt | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.