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/rezen/reminderapp/Application.kt | martinlutter | 370,136,236 | false | null | package com.rezen.reminderapp
import android.app.Application
import android.app.NotificationChannel
import android.app.NotificationManager
import android.os.Build
import androidx.core.app.NotificationManagerCompat
import dagger.hilt.android.HiltAndroidApp
@HiltAndroidApp
class Application : Application() {
overri... | 0 | Kotlin | 0 | 0 | 137daa45aea7d1f0f0edff1880ee8531be4c35f9 | 741 | reminder-app | MIT License |
lib/src/main/java/com/borealbit/lib/auth/AuthManager.kt | domllm | 786,437,029 | false | {"Kotlin": 10201} | package com.borealbit.lib.auth
import android.app.Activity
import android.content.Intent
import com.google.firebase.auth.FirebaseAuth
class AuthManager(private val activity: Activity) {
private val auth: FirebaseAuth = FirebaseAuth.getInstance()
companion object {
private const val GOOGLE_SIGN_IN_REQ... | 3 | Kotlin | 0 | 0 | 4e7efc4ee05410fd3c8e01aa40842ef5213aa80a | 344 | BaseDroid | MIT License |
app/src/main/java/mil/nga/msi/datasource/route/RouteMapItem.kt | ngageoint | 588,211,646 | false | {"Kotlin": 1876117} | package mil.nga.msi.datasource.route
import androidx.room.ColumnInfo
import mil.nga.sf.geojson.FeatureCollection
import mil.nga.sf.geojson.FeatureConverter
class RouteMapItem(
@ColumnInfo(name = "id") val id: String,
@ColumnInfo(name = "name") val name: String,
@ColumnInfo(name = "geoJson") val geoJson: S... | 0 | Kotlin | 0 | 0 | 24d0765298274e7aa2d80ec0f147306a61d909ef | 440 | marlin-android | MIT License |
access.kt | datkt | 157,414,511 | false | null | package datkt.fs
import kotlinx.cinterop.staticCFunction
import kotlinx.cinterop.CPointer
import datkt.fs.EmptyCallback as Callback
import datkt.uv.uv_fs_access
import datkt.uv.uv_fs_t
fun access(path: String, callback: Callback) {
return access(path, F_OK, callback)
}
fun access(path: String, mode: Long = F_OK,... | 0 | Kotlin | 1 | 3 | 11e6b8d809950d23fe48a07510fb5c34ae83c0b8 | 654 | fs | MIT License |
features/passphrase/masterPasswordDomain/src/commonMain/kotlin/io/spherelabs/masterpassworddomain/di/Koin.masterpassword.domain.kt | getspherelabs | 687,455,894 | false | {"Kotlin": 645187, "Ruby": 6822, "Swift": 1167, "Shell": 226} | package io.spherelabs.masterpassworddomain.di
import io.spherelabs.masterpassworddomain.usecase.*
import org.koin.dsl.module
val masterPasswordDomainModule = module {
single<SetMasterPasswordUseCase> { DefaultSetMasterPasswordUseCase(get()) }
single<IsPasswordExistUseCase> { DefaultIsPasswordExistUseCase(get(... | 25 | Kotlin | 21 | 134 | 09ce4d285d7dc88e265ca0534272f20c7254b82c | 493 | anypass-kmp | Apache License 2.0 |
compiler/tests-spec/testData/codegen/box/templates/identifiers/fileAnnotationComplex.kt | JetBrains | 3,432,266 | false | null | <!DIRECTIVES("HELPERS: REFLECT")!>
@file:[org.jetbrains.<!ELEMENT(1)!>.<!ELEMENT(2)!>() <!ELEMENT(3)!>]
package org.jetbrains.<!ELEMENT(1)!>
@Target(AnnotationTarget.FILE)
annotation class <!ELEMENT(2)!>
@Target(AnnotationTarget.FILE)
annotation class <!ELEMENT(3)!>
fun box(): String? {
if (!checkFileAnnotatio... | 181 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 794 | kotlin | Apache License 2.0 |
app/src/main/java/com/yoron/nerdsoverflow/activities/AnsweringActivity.kt | yorondahacker | 385,210,432 | false | {"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Proguard": 1, "Kotlin": 46, "XML": 63, "JSON": 2, "Java": 17} | /*
*
* Created by Obaida Al Mostarihi on 8/5/21, 10:33 AM
* Copyright (c) 2021 . All rights reserved.
* Last modified 8/5/21, 10:33 AM
*
*/
package com.yoron.nerdsoverflow.activities
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import androidx.activity.v... | 0 | Kotlin | 1 | 2 | b78d8019331244eae31dbf42ac41b2bc90add81e | 2,765 | NerdsOverFlow | Apache License 2.0 |
android/Library/Owner/app/src/main/java/com/pradyotprakash/libraryowner/di/utils/Qualifiers.kt | pradyotprksh | 385,586,594 | false | {"Kotlin": 2932498, "Dart": 1066884, "Python": 319755, "Rust": 180589, "Swift": 149003, "C++": 113494, "JavaScript": 103891, "CMake": 94132, "HTML": 57188, "Go": 45704, "CSS": 18615, "SCSS": 17864, "Less": 17245, "Ruby": 13609, "Dockerfile": 9772, "C": 8043, "Shell": 7657, "PowerShell": 3045, "Nix": 2616, "Makefile": 1... | package com.pradyotprakash.libraryowner.di.utils
import javax.inject.Qualifier
@Qualifier
@Retention(AnnotationRetention.BINARY)
annotation class UnsplashClient
@Qualifier
@Retention(AnnotationRetention.BINARY)
annotation class UnsplashRetrofit
@Qualifier
@Retention(AnnotationRetention.BINARY)
annotation class IpGe... | 0 | Kotlin | 11 | 24 | a31e612a63e1dc42ed4cf2f50db90b8613fb5177 | 425 | development_learning | MIT License |
src/main/kotlin/no/nav/ehandel/kanal/services/legalarchive/LegalArchiveLogger.kt | navikt | 151,560,767 | false | null | package no.nav.ehandel.kanal.services.legalarchive
import kotlinx.coroutines.runBlocking
import mu.KotlinLogging
import no.nav.ehandel.kanal.LegalArchiveProps
import no.nav.ehandel.kanal.ServiceUserProps
import no.nav.ehandel.kanal.common.extensions.getBody
import org.apache.camel.Exchange
private val LOGGER = Kotlin... | 1 | null | 1 | 1 | fb8b3b0054625d90a527b6e01881bd10209154c8 | 1,274 | ehandelkanal-2 | MIT License |
library/src/main/java/com/mooveit/library/providers/definition/NameProvider.kt | moove-it | 79,579,060 | false | null | package com.mooveit.library.providers.definition
interface NameProvider : Provider {
fun name(): String
fun nameWithMiddle(): String
fun firstName(): String
fun lastName(): String
fun prefix(): String
fun suffix(): String
fun title(): String
}
| 18 | null | 48 | 525 | 12b87899d62c5fa701141f8f98cb7265ab58bc15 | 274 | fakeit | MIT License |
Example/PrebidInternalTestApp/src/main/java/org/prebid/mobile/renderingtestapp/plugplay/bidding/ppm/PpmNativeStylesNoAssetsFragment.kt | avohraa | 446,469,720 | true | {"Java": 3742167, "Kotlin": 318993, "JavaScript": 48466, "HTML": 24217, "Shell": 10362} | /*
* Copyright 2018-2021 Prebid.org, 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 ... | 0 | Java | 0 | 0 | fd7eef8a5febd9a3156f9612775ce8e4f92f09aa | 1,001 | prebid-mobile-android | Apache License 2.0 |
analytics/src/main/java/io/appmetrica/analytics/impl/telephony/DummyTelephonyInfoAdapterApplier.kt | appmetrica | 650,662,094 | false | null | package io.appmetrica.analytics.impl.telephony
internal class DummyTelephonyInfoAdapterApplier<T> : TelephonyInfoAdapterApplier<T> {
override fun applyAdapter(adapter: TelephonyInfoAdapter<T>) {
// Do nothing
}
}
| 1 | null | 5 | 54 | 472d3dfb1e09f4e7f35497e5049f53287ccce7d1 | 231 | appmetrica-sdk-android | MIT License |
idea/tests/testData/inspectionsLocal/coroutines/redundantAsync/simple.kt | JetBrains | 278,369,660 | false | null | // WITH_RUNTIME
// FIX: Merge call chain to 'withContext'
package kotlinx.coroutines
suspend fun test(ctx: CoroutineContext) {
coroutineScope {
<caret>async(ctx) { 42 }.await()
}
} | 0 | Kotlin | 30 | 82 | cc81d7505bc3e9ad503d706998ae8026c067e838 | 198 | intellij-kotlin | Apache License 2.0 |
library/src/main/kotlin/com/twitter/meil_mitu/twitter4hk/converter/api/IFilterStreamConverter.kt | MeilCli | 51,423,644 | false | {"Gradle": 4, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "Proguard": 2, "Java": 3, "XML": 22, "Kotlin": 303, "Checksums": 6} | package com.twitter.meil_mitu.twitter4hk.converter.api
import com.twitter.meil_mitu.twitter4hk.converter.IStatusConverter
interface IFilterStreamConverter<TStatus> : IStatusConverter<TStatus> {
} | 0 | Kotlin | 0 | 0 | 818e42ea417c326e3d50024decce4c7e70641a73 | 197 | Twitter4HK | MIT License |
kotlin-order/src/main/kotlin/com/veben/javatokotlin/kotlin/order/ext/db/JpaLineOrderRepository.kt | veben | 221,807,863 | false | null | package com.veben.javatokotlin.kotlin.order.ext.db
import com.veben.javatokotlin.kotlin.order.domain.LineOrder
import com.veben.javatokotlin.kotlin.order.domain.LineOrderRepository
import org.springframework.stereotype.Repository
import java.util.*
import javax.persistence.EntityManager
import javax.persistence.Persis... | 1 | null | 1 | 1 | da890e6deb4daecbedd7fda59d6dff565e4c89bd | 853 | java-to-kotlin | MIT License |
airbyte-data/src/test/kotlin/io/airbyte/data/repositories/PermissionRepositoryTest.kt | lj-michale | 719,837,726 | true | {"Java Properties": 2, "Gradle Kotlin DSL": 49, "Shell": 54, "Markdown": 70, "Batchfile": 1, "Kotlin": 422, "Dockerfile": 25, "Java": 1531, "INI": 7, "JavaScript": 20, "TypeScript": 428, "HTML": 5, "CSS": 3, "Python": 7, "SQL": 14} | package io.airbyte.data.repositories
import io.airbyte.data.repositories.entities.Permission
import io.airbyte.db.instance.configs.jooq.generated.Keys
import io.airbyte.db.instance.configs.jooq.generated.Tables
import io.airbyte.db.instance.configs.jooq.generated.enums.PermissionType
import io.micronaut.test.extension... | 0 | Java | 0 | 1 | e554884ac0c8a22e423f470213de3d4cfa384938 | 1,964 | airbyte-platform | MIT License |
platform/new-ui-onboarding/src/com/intellij/platform/ide/newUiOnboarding/steps/MoreToolWindowsStep.kt | huwensen | 201,616,287 | false | null | // Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.platform.ide.newUiOnboarding.steps
import com.intellij.ide.actions.ActivateToolWindowAction
import com.intellij.openapi.actionSystem.ActionPlaces
import com.intellij.openapi.act... | 1 | null | 1 | 1 | abb490446a7f9abbc55f100b166cadee7dba60ae | 2,409 | intellij-community | Apache License 2.0 |
dokka-runners/runner-cli/src/test/kotlin/org/jetbrains/dokka/CliTest.kt | Kotlin | 21,763,603 | false | {"Kotlin": 4076594, "CSS": 63880, "JavaScript": 39656, "TypeScript": 16774, "SCSS": 8881, "HTML": 6860, "FreeMarker": 4120, "Shell": 3948, "Java": 1147} | /*
* Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
*/
package org.jetbrains.dokka
import java.nio.file.Paths
import kotlin.test.Test
import kotlin.test.assertEquals
import kotlin.test.assertTrue
class CliTest {
@Test
fun `should apply global settings t... | 671 | Kotlin | 409 | 3,434 | ec28b78ee5b137ee989cd0203ef108b2a2ac4811 | 1,880 | dokka | Apache License 2.0 |
src/main/kotlin/kura/utils/BoundingBoxUtils.kt | dyzjct | 570,597,758 | false | {"Java Properties": 2, "Gradle": 1, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "Git Attributes": 1, "Markdown": 1, "Kotlin": 153, "Java": 457, "JSON": 2, "HAProxy": 1, "GLSL": 25, "XML": 9} | package kura.utils
import me.windyteam.kura.utils.fuck.vector.Vec2f
import me.windyteam.kura.utils.fuck.vector.VectorUtils.plus
import me.windyteam.kura.utils.fuck.vector.VectorUtils.times
import me.windyteam.kura.utils.fuck.vector.VectorUtils.toVec3d
import kura.utils.VectorUtils.toViewVec
import net.minecraft.util.E... | 0 | Java | 2 | 6 | 0b2e9fb04624e79bf9d91591b7658b6bb467c15e | 2,990 | Kura-Public | MIT License |
app/src/main/java/afkt/project/base/app/BaseFragment.kt | afkT | 147,776,221 | false | null | package afkt.project.base.app
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.viewbinding.ViewBinding
import dev.base.expand.viewbinding.DevBaseViewBindingFragment
/**
* detail: Base ViewBinding 基类
* @author Ttt
*/
abstract class Ba... | 1 | Java | 221 | 882 | 2fd4c7582a97968d73d67124b6b2e57eda18e90f | 740 | DevUtils | Apache License 2.0 |
bitcoincore/src/main/kotlin/io/space/bitcoincore/managers/BlockHashFetcher.kt | numsecurelab | 247,338,625 | false | null | package io.space.bitcoincore.managers
import io.space.bitcoincore.core.IInitialSyncApi
import io.space.bitcoincore.extensions.toReversedByteArray
import io.space.bitcoincore.models.BlockHash
import io.space.bitcoincore.models.PublicKey
class BlockHashFetcher(private val restoreKeyConverter: IRestoreKeyConverter, priv... | 1 | null | 1 | 1 | 861d7029e938b224e56189246bc9dd136b1ccac9 | 1,830 | blockchain-bitcoint-android | MIT License |
python/src/com/jetbrains/python/debugger/state/PyRuntime.kt | ingokegel | 72,937,917 | false | null | // Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.jetbrains.python.debugger.state
import com.intellij.openapi.project.Project
import com.intellij.openapi.vfs.VirtualFile
import com.intellij.xdebugger.frame.XValueChildrenList
import com.... | 284 | null | 5162 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 705 | intellij-community | Apache License 2.0 |
node/src/main/kotlin/net/corda/node/services/persistence/StorageServiceImpl.kt | evisoft | 75,185,334 | false | {"Gradle": 25, "INI": 18, "Markdown": 36, "Shell": 4, "Ignore List": 7, "Batchfile": 2, "XML": 48, "CSS": 133, "Kotlin": 420, "Java": 46, "Text": 73, "reStructuredText": 52, "Groovy": 6, "Java Properties": 1, "SVG": 13, "JavaScript": 1986, "HTML": 4120, "JSON": 31, "JSON with Comments": 6, "Dockerfile": 1, "EditorConfi... | package net.corda.node.services.persistence
import net.corda.core.node.services.AttachmentStorage
import net.corda.core.node.services.StateMachineRecordedTransactionMappingStorage
import net.corda.core.node.services.TransactionStorage
import net.corda.core.node.services.TxWritableStorageService
import net.corda.core.s... | 1 | null | 1 | 1 | 4a9f5cafc1f2f09e8f612a09f30f9dfffd985a6c | 707 | corda | Apache License 2.0 |
dependency-analyzer/src/test/kotlin/de/accso/dependencyanalyzer/testset/testpackage5/TargetUsedAsGenericTypeInCollection.kt | accso | 417,084,915 | false | {"Shell": 2, "Maven POM": 6, "Text": 3, "Ignore List": 3, "Markdown": 1, "INI": 3, "Java": 175, "XML": 2, "Kotlin": 31, "Java Properties": 1, "SQL": 3, "YAML": 1} | package de.accso.dependencyanalyzer.testset.testpackage5
data class Top1(val ref: Middle1)
data class Middle1(val refs: List<TargetUsedAsGenericTypeInCollection>)
data class Top2(val ref: Middle2)
data class Middle2(val refs: Set<TargetUsedAsGenericTypeInCollection>)
data class Top3(val ref: Middle2)
data class Midd... | 0 | Java | 0 | 2 | 24d330e6469b72d07fb3e44f56b404bd4123c298 | 440 | static-code-analysis-archunit | Apache License 2.0 |
quickstart/getting-started-koin-core/src/test/kotlin/org/koin/sample/HelloAppTest.kt | vitaviva | 385,180,189 | true | {"Kotlin": 632711, "Java": 6588, "Shell": 1541} | package org.koin.sample
import org.junit.Assert.assertEquals
import org.junit.Rule
import org.junit.Test
import org.koin.test.KoinTest
import org.koin.test.KoinTestRule
import org.koin.test.inject
class HelloAppTest : KoinTest {
val model by inject<HelloMessageData>()
val service by inject<HelloService>()
... | 0 | Kotlin | 1 | 1 | 2ca2899cd644b3df927153e6e447f25137a9ebb0 | 664 | koin | Apache License 2.0 |
matisse/src/main/java/com/zhihu/matisse/MatisseFileProvider.kt | wangchenyan | 657,961,197 | true | {"Java Properties": 2, "YAML": 1, "Text": 1, "Gradle": 4, "Shell": 1, "Markdown": 4, "Batchfile": 1, "Ignore List": 1, "INI": 1, "Proguard": 2, "XML": 42, "Java": 48, "Kotlin": 2} | package com.zhihu.matisse
import androidx.core.content.FileProvider
/**
* Created by wangchenyan.top on 2023/7/14.
*/
class MatisseFileProvider : FileProvider() | 0 | Java | 0 | 0 | f2ce42d868968dc28d0079927599fdbfc28b3fbe | 164 | Matisse | Apache License 2.0 |
Hyperion/src/main/java/com/helios/hyperion/Hyperion.kt | team5009 | 706,929,299 | true | {"Java Properties": 1, "Gradle": 7, "Shell": 1, "Markdown": 7, "Batchfile": 1, "Text": 4, "Ignore List": 2, "INI": 1, "XML": 20, "Java": 53, "Proguard": 1, "Kotlin": 23, "JSON": 3} | package com.helios.hyperion
import android.content.Context
import com.helios.hyperion.server.HyperionServer
import com.helios.hyperion.util.Mutex
import com.qualcomm.robotcore.eventloop.EventLoop
import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode
import com.qualcomm.robotcore.eventloop.opmode.OpMode
import co... | 0 | Java | 1 | 1 | 90954ed85dfde0f476cae3a70260cabee67b3d00 | 3,783 | Hyperion | BSD 3-Clause Clear License |
java/java-impl/src/com/intellij/refactoring/extractMethod/newImpl/ExtractOptionsPipeline.kt | putitforward | 247,667,288 | false | {"Text": 4011, "XML": 4666, "Ant Build System": 13, "Shell": 511, "Markdown": 306, "Ignore List": 80, "Git Attributes": 9, "Batchfile": 30, "SVG": 2028, "Java": 64945, "C++": 20, "HTML": 2397, "Kotlin": 5295, "DTrace": 1, "Gradle": 71, "Java Properties": 106, "INI": 276, "JFlex": 27, "CSS": 52, "Objective-C": 19, "Groo... | // Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.refactoring.extractMethod.newImpl
import com.intellij.openapi.util.TextRange
import com.intellij.psi.*
import com.intellij.psi.util.PsiTreeUtil
import com.in... | 1 | null | 1 | 1 | 5fd7fd38fbd34bae45a7c3297602369527b0bee9 | 6,243 | intellij-community | Apache License 2.0 |
Corona-Warn-App/src/main/java/de/rki/coronawarnapp/ui/view/TestResultCardFetchFailed.kt | elizarov | 312,342,155 | false | null | package de.rki.coronawarnapp.ui.view
import android.content.Context
import android.util.AttributeSet
import android.view.LayoutInflater
import androidx.constraintlayout.widget.ConstraintLayout
import de.rki.coronawarnapp.databinding.ViewSubmissionStatusCardFetchFailedBinding
class TestResultCardFetchFailed(context: C... | 0 | null | 0 | 1 | 74b3f37cfe215a8e1e49c484671f5e0881c37f9a | 719 | cwa-app-android | Apache License 2.0 |
port-in/src/main/kotlin/com/yapp/bol/season/SeasonService.kt | YAPP-Github | 634,125,780 | false | null | package com.yapp.bol.season
import com.yapp.bol.group.GroupId
interface SeasonService {
fun getOrCreateSeason(groupId: GroupId): Season
}
| 4 | Kotlin | 0 | 13 | 9391cc9c45d7446c977517231f367f32ff4c4991 | 144 | onboard-server | Apache License 2.0 |
app/src/main/java/com/example/keepnotes/screen/MainScreen.kt | JohnAeris | 568,001,598 | false | {"Kotlin": 31137} | package com.example.keepnotes.screen
import android.os.Build
import android.widget.Toast
import androidx.annotation.RequiresApi
import androidx.compose.foundation.background
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.lazy.LazyColumn
impor... | 0 | Kotlin | 0 | 0 | 7ca98db9b7e365a190b01e69a6a4bd468468b42c | 5,734 | Keep-Notes-App | MIT License |
app/src/main/java/fr/o80/puitsvieux/MainActivity.kt | olivierperez | 541,771,217 | false | null | package fr.o80.puitsvieux
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.material.MaterialTheme
import androidx.compose.material.Surface
import androidx.compose.material.Text
i... | 0 | Kotlin | 0 | 0 | a7d51c26d6a2137511ba07946f07e5622fc7ebef | 1,304 | PuitsVieuxApp | Apache License 2.0 |
app/src/main/java/com/nux/studio/dvor/data/local/profile/Profile.kt | Ledokol-IT | 502,100,836 | false | null | package com.nux.studio.dvor.data.local.profile
import androidx.annotation.NonNull
import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey
import com.nux.studio.dvor.data.local.user.Status
@Entity(tableName = "profile")
data class Profile(
@ColumnInfo(name = "access_token")
... | 0 | Kotlin | 0 | 0 | f9b171c33807325ad068e79fa3f9dd52f685f4d1 | 1,101 | nux-application | MIT License |
app/src/main/java/com/jpsison/formverifier/MainActivity.kt | jpsison-io | 227,503,478 | false | null | package com.jpsison.formverifier
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import androidx.databinding.DataBindingUtil
import com.jpsison.formverifier.databinding.ActivityMainBinding
class MainActivity : AppCompatActivity() {
private lateinit var mBinding: ActivityMainBinding
... | 0 | Kotlin | 0 | 0 | 4947e18ba2ad57d5ebedeaaa4a60a17a1b5587c4 | 607 | form-verifier | MIT License |
projects/core/src/main/kotlin/site/siredvin/peripheralium/computercraft/peripheral/PluggablePeripheral.kt | SirEdvin | 489,457,802 | false | null | package site.siredvin.peripheralium.computercraft.peripheral
import dan200.computercraft.api.lua.IArguments
import dan200.computercraft.api.lua.ILuaContext
import dan200.computercraft.api.lua.LuaException
import dan200.computercraft.api.lua.MethodResult
import dan200.computercraft.api.peripheral.IComputerAccess
import... | 1 | Kotlin | 1 | 2 | 790d37b05fb08164364da37ddb14993e07fd938d | 5,618 | Peripheralium | MIT License |
app/src/test/java/i/herman/friends/FailUpdatingFollowingTest.kt | ihermandev | 574,420,150 | false | {"Kotlin": 133424} | package i.herman.friends
import androidx.lifecycle.SavedStateHandle
import com.ihermandev.sharedtest.domain.user.OfflineUserCatalog
import com.ihermandev.sharedtest.domain.user.UnavailableUserCatalog
import i.herman.InstantTaskExecutorExtension
import i.herman.app.TestDispatchers
import i.herman.domain.friends.Friends... | 0 | Kotlin | 0 | 0 | 29c0dde061a15c33a9c4ede6cbd6b779ea6e40ad | 1,543 | FriendsComposeCourse | Apache License 2.0 |
picturechargingedit/src/main/java/com/r/picturechargingedit/model/PixelAverage.kt | chargedroman | 289,063,119 | false | null | package com.r.picturechargingedit.model
import android.graphics.Color
import kotlin.math.sqrt
/**
* Stats about the average of pixels for an IntArray of pixels.
*
* Author: romanvysotsky
* Created: 25.08.21
*/
class PixelAverage(pixelArray: IntArray) {
val averageColor: Int
val averagePixel: Int
va... | 0 | Kotlin | 0 | 0 | 3f10b97c030aac617698311cd6e1ac25a20a3a9d | 2,520 | editpicture | Apache License 2.0 |
unitsKSP/src/main/kotlin/creativeDsls/chapter_12/units/ksp/MultiplicationVisitor.kt | DanielGronau | 521,419,278 | false | {"Kotlin": 132813, "CSS": 27709, "Java": 2033} | package creativeDsls.chapter_12.units.ksp
import com.google.devtools.ksp.processing.CodeGenerator
import com.google.devtools.ksp.processing.KSPLogger
import com.google.devtools.ksp.symbol.KSAnnotation
import com.google.devtools.ksp.symbol.KSClassDeclaration
import com.google.devtools.ksp.symbol.KSType
import com.googl... | 0 | Kotlin | 0 | 0 | d165ef95d4b75036ce1703880d23899386d11d6e | 3,303 | creativeDSLs | MIT License |
aak/src/main/java/dev/aaron/aak/permission/PermissionExt.kt | yoonhok524 | 528,048,310 | false | null | package dev.aaron.aak.permission
import android.app.Activity
import android.content.Context
import android.content.pm.PackageManager
import androidx.core.app.ActivityCompat
import androidx.core.content.ContextCompat
import androidx.fragment.app.Fragment
fun Context.hasPermission(vararg permission: String): Boolean {
... | 0 | Kotlin | 0 | 1 | 1595b072df1a6b139bc42e4fecad75ce09bda933 | 1,048 | AAK | Apache License 2.0 |
processor/src/main/kotlin/kotli/template/multiplatform/compose/essentials/buildtool/gradle/GradleProcessor.kt | kotlitecture | 790,159,970 | false | {"Kotlin": 329990, "Swift": 580, "JavaScript": 313, "HTML": 234} | package kotli.template.multiplatform.compose.essentials.buildtool.gradle
import kotli.engine.BaseFeatureProcessor
import kotli.engine.TemplateState
import kotlin.time.Duration.Companion.hours
object GradleProcessor : BaseFeatureProcessor() {
const val ID = "essentials.buildtool.gradle"
override fun getId():... | 1 | Kotlin | 1 | 30 | 65824f5616693e7607fc94fb821633d0dae023aa | 665 | template-multiplatform-compose | MIT License |
app/src/main/java/io/reitmaier/transcripttool/di/AppModule.kt | unmute-tech | 738,848,415 | false | {"Kotlin": 272965} | package io.reitmaier.transcripttool.di
import android.content.Context
import android.content.SharedPreferences
import android.preference.PreferenceManager
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.android.qualifiers.ApplicationContext
import dagger.hilt.components.Sing... | 0 | Kotlin | 0 | 0 | 70095feb85b4c8fe0faafa301ea9fed36ca3bb96 | 583 | transcripttool | Apache License 2.0 |
src/main/kotlin/eventtrack/RequestIdGenerator.kt | nzooherd | 417,790,187 | false | {"Kotlin": 7146} | package eventtrack
import okhttp3.Request
/**
* @author nzooherd <<EMAIL>>
* Created on 6/27/2021
*/
interface RequestIdGenerator {
fun generateRequestId(request: Request): String
} | 0 | Kotlin | 0 | 0 | 17fe7ad402836c3b168707fd34f72f3750148323 | 190 | HttpBenchmark | MIT License |
app/src/main/java/com/example/watchdeck/di/AppModule.kt | pawanbangar | 417,223,005 | false | {"Kotlin": 27049} | package com.example.watchdeck.di
import android.content.Context
import com.example.watchdeck.data.local.IssueDatabase
import com.example.watchdeck.data.local.CommentDao
import com.example.watchdeck.data.local.CommentDatabase
import com.example.watchdeck.data.local.IssueDao
import com.example.watchdeck.data.remote.Comm... | 0 | Kotlin | 0 | 0 | d1fc19c5d78551de00e4457cef17b5b1e86b10aa | 2,833 | WatchDeck-Okhttp | MIT License |
src/test/kotlin/uk/gov/justice/digital/hmpps/hmppscontactsapi/integration/IntegrationTestBase.kt | ministryofjustice | 835,306,273 | false | {"Kotlin": 796959, "Shell": 2365, "Dockerfile": 1483} | package uk.gov.justice.digital.hmpps.hmppscontactsapi.integration
import org.junit.jupiter.api.BeforeEach
import org.junit.jupiter.api.extension.ExtendWith
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.boot.test.context.SpringBootTest
import org.springframework.boot.test.cont... | 5 | Kotlin | 0 | 0 | fdcb9649525c4bad4ee73ec6b844abf8ebbd466c | 2,523 | hmpps-contacts-api | MIT License |
src/leetcodeProblem/leetcode/editor/en/RussianDollEnvelopes.kt | faniabdullah | 382,893,751 | false | null | //You are given a 2D array of integers envelopes where envelopesintArrayOf(i) = intArrayOf(wi, hi)
//represents the width and the height of an envelope.
//
// One envelope can fit into another if and only if both the width and height
//of one envelope are greater than the other envelope's width and height.
//
// Ret... | 0 | Kotlin | 0 | 6 | ecf14fe132824e944818fda1123f1c7796c30532 | 2,915 | dsa-kotlin | MIT License |
src/main/kotlin/aoc2022/day19/Day.kt | dkhawk | 573,106,005 | false | null | package aoc2022.day19
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.setValue
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Job
import kotlinx.coroutines.launch
import utils.InputNew
const val day = 19
const val year = 2022
... | 0 | Kotlin | 0 | 2 | c3fd969d1ca443a6cdc550d677db32a17894a4a6 | 5,846 | AoCDesktop | Apache License 2.0 |
WPRKSDK/src/commonMain/kotlin/com/mwaibanda/wprksdk/data/metadataDTO/MetadataDTO.kt | MwaiBanda | 455,768,879 | false | {"Kotlin": 187628, "Swift": 121023, "Ruby": 2326} | package com.mwaibanda.wprksdk.data.metadataDTO
import kotlinx.serialization.Serializable
@Serializable
data class MetadataDTO (
val currentPage: Int,
val totalPages: Int,
val totalCount: Int
) | 0 | Kotlin | 8 | 46 | 1169628c70cca58408f5561293a7d09922ddfb21 | 206 | WPRK-MultiPlatform | MIT License |
tilgangskontroll/src/test/kotlin/no/nav/amt/tiltak/tilgangskontroll/tilgang/ArrangorAnsattTilgangServiceImplTest.kt | navikt | 393,356,849 | false | null | package no.nav.amt.tiltak.tilgangskontroll.tilgang
import io.kotest.assertions.throwables.shouldNotThrow
import io.kotest.assertions.throwables.shouldThrowExactly
import io.kotest.core.spec.style.FunSpec
import io.kotest.matchers.shouldBe
import io.mockk.every
import io.mockk.mockk
import no.nav.amt.tiltak.core.domain... | 3 | Kotlin | 1 | 2 | 90b2da08f224d9b05496cecc36434d95762e4cd5 | 2,936 | amt-tiltak | MIT License |
app/src/main/java/com/rabble/cyril/rabble/adapters/AdapterRecyclerCustomerOrders.kt | ceeroblaq | 746,187,964 | false | {"Kotlin": 427879, "Java": 248172} | package com.rabble.cyril.rabble.adapters
import com.rabble.cyril.rabble.models.OrderItem
import androidx.fragment.app.FragmentActivity
import androidx.recyclerview.widget.RecyclerView
import com.rabble.cyril.rabble.interfaces.OnOrderFulfilled
import android.view.ViewGroup
import android.view.LayoutInflater
import com.... | 0 | Kotlin | 0 | 0 | 092982e3342c055af6ff018e0fa7a5953a01cfca | 8,184 | Rabble | MIT License |
AsistenciaUPeUJC/app/src/main/java/pe/edu/upeu/asistenciaupeujc/utils/TimeUtils.kt | jhamil545 | 696,257,424 | false | {"Kotlin": 237295, "Java": 115388} | package pe.edu.upeu.asistenciaupeujc.utils
import java.util.Calendar
fun isNight():Boolean{
val hora= Calendar.getInstance().get(Calendar.HOUR_OF_DAY)
return (hora<=6 || hora>=18)
} | 0 | Kotlin | 0 | 0 | fd4c38e2d6c3ec181ea0378d1a5ee63b5421bb90 | 192 | examen1_2023-2 | Apache License 2.0 |
kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/AccessLevel.kt | cloudshiftinc | 667,063,030 | false | {"Kotlin": 149148378} | @file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION")
package io.cloudshiftdev.awscdk.services.cloudfront
public enum class AccessLevel(
private val cdkObject: software.amazon.awscdk.services.cl... | 0 | Kotlin | 0 | 4 | ddf2bfd2275b50bb86a667c4298dd92f59d7e342 | 1,130 | kotlin-cdk-wrapper | Apache License 2.0 |
app/src/main/java/hu/tuleloverseny/versenynaplo/extra/ShapeDir.kt | krajorama | 207,670,063 | false | null | package hu.tuleloverseny.versenynaplo.extra
import android.graphics.Color
class ShapeDir {
companion object {
private val shapeA: Shape = Shape(
// OX
listOf(Position(0,0), Position(1, 0)),
'A',
Color.parseColor("#7FFFD4")
)
private val shape... | 0 | Kotlin | 0 | 0 | 73452090baf1f7ad191ea94ac99a0c0c4fd4aedf | 13,389 | VersenyNaploExtra46 | MIT License |
app/src/main/java/com/shevelev/wizard_camera/activity_main/fragment_camera/di/CameraFragmentComponent.kt | AlShevelev | 262,626,159 | false | null | package com.shevelev.wizard_camera.activity_main.fragment_camera.di
import com.shevelev.wizard_camera.activity_main.fragment_camera.view.CameraFragment
import com.shevelev.wizard_camera.core.common_entities.di_scopes.FragmentScope
import dagger.Subcomponent
@Subcomponent(modules = [CameraFragmentModule::class])
@Frag... | 0 | Kotlin | 4 | 40 | 6b909113559999415f667e2de0530f4ea4ce6456 | 510 | WizardCamera | Apache License 2.0 |
springboot-demo/r-feign/src/main/kotlin/org/study/rfeign/factory/FeignClientBuilder.kt | yuri-li | 529,808,476 | false | null | package org.study.rfeign.factory
import io.rsocket.metadata.WellKnownMimeType
import kotlinx.coroutines.reactive.asFlow
import kotlinx.coroutines.reactive.awaitFirstOrNull
import kotlinx.coroutines.reactive.awaitSingle
import kotlinx.coroutines.withContext
import org.springframework.core.ResolvableType
import org.spri... | 0 | Kotlin | 0 | 0 | ab69a9dfd23c73efe93c3a7e8b4174dc29f7a747 | 4,223 | reactive-system | Apache License 2.0 |
app/src/main/java/dev/varshakulkarni/videoplayer/ui/MainActivity.kt | Varsha-Kulkarni | 590,539,157 | false | null | /*
* Copyright 2023 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... | 0 | Kotlin | 4 | 21 | 65295b3cefa1e58bafe5508737144a04a47659ee | 9,530 | VideoPlayer | Apache License 2.0 |
app/src/main/java/com/dbtechprojects/mydiary/MainActivity.kt | Manithj | 788,993,585 | false | {"Kotlin": 50813} | package com.dbtechprojects.mydiary
import androidx.compose.material.Button
import android.content.Context
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column... | 0 | Kotlin | 0 | 0 | 2671f2a3cafc7dba1bbda1b4479753613a7e9f55 | 4,958 | My-Diary-App | Apache License 2.0 |
app/src/main/java/com/github/jing332/tts_server_android/ui/forwarder/ms/ScSwitchActivity.kt | jing332 | 536,800,727 | false | null | package com.github.jing332.tts_server_android.ui.forwarder.ms
import android.app.Activity
import android.content.Intent
import android.os.Bundle
import com.github.jing332.tts_server_android.R
import com.github.jing332.tts_server_android.service.forwarder.ms.TtsIntentService
/* 桌面长按菜单{开关} */
class ScSwitchActivity : A... | 4 | Kotlin | 80 | 717 | b8aa01c268c8718f00f2bb6267921ea75e3cf619 | 697 | tts-server-android | MIT License |
plugin-dotnet-agent/src/test/kotlin/jetbrains/buildServer/dotnet/test/inspect/InspectionEnvironmentProviderTest.kt | JetBrains | 49,584,664 | false | null | /*
* Copyright 2000-2023 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | 15 | Kotlin | 23 | 91 | a19e1b8856a120d6f7f0d85cf7c2161adfae241f | 3,310 | teamcity-dotnet-plugin | Apache License 2.0 |
src/commonMain/kotlin/com/epam/drill/test/agent/http/JvmHttpClient.kt | Drill4J | 250,085,937 | false | null | /**
* Copyright 2020 EPAM Systems
*
* 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... | 2 | Kotlin | 4 | 5 | f099b4744a49e5c0b524f7e22bc38eee7ef8b554 | 1,013 | autotest-agent | Apache License 2.0 |
src/test/kotlin/at/cpickl/gadsu/appointment/gcal/matchclient.kt | christophpickl | 56,092,216 | false | null | package at.cpickl.gadsu.appointment.gcal
import at.cpickl.gadsu.appointment.gcal.sync.MatchClients
import at.cpickl.gadsu.appointment.gcal.sync.MatchClientsInDb
import at.cpickl.gadsu.client.Client
import at.cpickl.gadsu.client.ClientJdbcRepository
import at.cpickl.gadsu.testinfra.HsqldbTest
import at.cpickl.gadsu.tes... | 43 | Kotlin | 1 | 2 | f6a84c42e1985bc53d566730ed0552b3ae71d94b | 2,389 | gadsu | Apache License 2.0 |
app/src/main/kotlin/org/emunix/insteadlauncher/ui/installedgames/InstalledGamesFragment.kt | androidzhangyu | 190,537,683 | true | {"Kotlin": 100622, "Java": 85086, "CMake": 79116, "C": 5786} | /*
* Copyright (c) 2019 <NAME> <<EMAIL>>
* Distributed under the MIT License (license terms are at http://opensource.org/licenses/MIT).
*/
package org.emunix.insteadlauncher.ui.installedgames
import android.content.Intent
import android.os.Bundle
import android.view.*
import android.widget.LinearLayout
import andr... | 0 | Kotlin | 0 | 0 | d0794bcb406f30a45b38643b118b5a1fc48fd6ce | 3,662 | instead-launcher-android | MIT License |
app/src/main/kotlin/org/emunix/insteadlauncher/ui/installedgames/InstalledGamesFragment.kt | androidzhangyu | 190,537,683 | true | {"Kotlin": 100622, "Java": 85086, "CMake": 79116, "C": 5786} | /*
* Copyright (c) 2019 <NAME> <<EMAIL>>
* Distributed under the MIT License (license terms are at http://opensource.org/licenses/MIT).
*/
package org.emunix.insteadlauncher.ui.installedgames
import android.content.Intent
import android.os.Bundle
import android.view.*
import android.widget.LinearLayout
import andr... | 0 | Kotlin | 0 | 0 | d0794bcb406f30a45b38643b118b5a1fc48fd6ce | 3,662 | instead-launcher-android | MIT License |
app/src/main/java/de/uriegel/superfit/sensor/BikeSensor.kt | uriegel | 132,307,614 | false | {"Kotlin": 122071} | package de.uriegel.superfit.sensor
import android.bluetooth.BluetoothGatt
import android.bluetooth.BluetoothGattCharacteristic
import android.content.Context
import androidx.lifecycle.MutableLiveData
import de.uriegel.superfit.ui.MainActivity
import de.uriegel.superfit.ui.MainActivity.Companion.dataStore
import kotlin... | 0 | Kotlin | 1 | 1 | 7299d8dcb6d6567d9986f7a68bd41f106c099a8e | 4,662 | SuperFit | MIT License |
app/src/main/java/com/noble/news/ui/components/NavHostApp.kt | NobleXL | 509,033,346 | false | {"Kotlin": 125083} | package com.noble.news.ui.components
import androidx.compose.animation.AnimatedContentScope
import androidx.compose.animation.ExperimentalAnimationApi
import androidx.compose.runtime.Composable
import androidx.compose.runtime.CompositionLocalProvider
import androidx.compose.ui.platform.LocalContext
import androidx.com... | 0 | Kotlin | 0 | 0 | 41cd4f60d71ff5696dd4035826698bf7ff3a6a44 | 4,218 | News | Apache License 2.0 |
app/src/main/java/com/altice/eteco/course/basic/connect4/Connect4Fragment.kt | fbencosme | 94,599,690 | false | null | package com.altice.eteco.course.basic.connect4
import android.os.Bundle
import android.view.View
import com.altice.eteco.course.basic.BaseFragment
import com.altice.eteco.course.basic.R
import com.altice.eteco.course.basic.simonSays.play
import com.jakewharton.rxbinding2.view.clicks
import com.pawegio.kandroid.view... | 0 | Kotlin | 0 | 0 | 3cfa27b795711629050f84eaf1c0db82d17010c7 | 5,101 | prj-course-basic | Info-ZIP License |
android/sdk/src/main/java/clover/studio/sdk/utils/Utils.kt | cloverstudio | 381,606,636 | false | null | package clover.studio.clovermediasouppoc.utils
import java.util.*
private const val ALLOWED_CHARACTERS = "0123456789qwertyuiopasdfghjklzxcvbnm"
object Utils {
fun getRandomString(sizeOfRandomString: Int): String {
val random = Random()
val sb = StringBuilder(sizeOfRandomString)
for (i in ... | 0 | Kotlin | 0 | 2 | 3f7e7f4c88b0f95d914645ba235993c46560664b | 509 | SpikaBroadcast_old | MIT License |
android_mobile/src/main/java/com/alexstyl/specialdates/person/ContactAction.kt | alexstyl | 66,690,455 | false | null | package com.alexstyl.specialdates.person
data class ContactAction(val value: String, val label: String, val action: () -> Unit) {
fun run() {
action()
}
}
| 0 | Java | 49 | 211 | d224f0af53ee3d4ecadad5df0a2731e2c9031a23 | 172 | Memento-Calendar | MIT License |
app/src/main/java/com/fattmerchant/fmsampleclient/OmniSample.kt | dharmeshumedex | 260,430,137 | true | {"Kotlin": 108048, "HTML": 2145, "Java": 725, "CSS": 510} | package com.fattmerchant.fmsampleclient
import android.app.Application
class OmniSample: Application() {
override fun onCreate() {
super.onCreate()
// System.setProperty("kotlinx.coroutines.debug", "on")
}
} | 0 | null | 0 | 0 | 3e8a1bf30d90c362c438c05f860cbf9bd4d674b1 | 233 | fattmerchant-android-sdk | Apache License 2.0 |
app/src/main/java/com/oneswitch/features/location/shopRevisitStatus/ShopRevisitStatusRepository.kt | DebashisINT | 479,421,399 | false | null | package com.oneswitch.features.location.shopRevisitStatus
import com.oneswitch.base.BaseResponse
import com.oneswitch.features.location.model.ShopDurationRequest
import com.oneswitch.features.location.model.ShopRevisitStatusRequest
import io.reactivex.Observable
class ShopRevisitStatusRepository(val apiService : Shop... | 0 | Kotlin | 0 | 0 | e8a10afc0beca231a299cca19185ad2f8187c907 | 514 | OneSwitch | Apache License 2.0 |
app/src/main/java/com/z99a/zarifboyevjavohir/vikipediya/di/LocationModule.kt | Zarifboyev | 835,740,302 | false | {"Kotlin": 129773, "Java": 1169} | package com.z99a.zarifboyevjavohir.vikipediya.di
import android.content.Context
import com.google.android.gms.location.FusedLocationProviderClient
import com.google.android.gms.location.LocationRequest
import com.google.android.gms.location.LocationServices
import com.google.android.gms.location.Priority
import dagger... | 0 | Kotlin | 0 | 1 | 1bfbad99672aa6dd1244ec434f6d91ef84f3932f | 1,144 | WikiExplorer | Apache License 2.0 |
defitrack-rest/defitrack-protocol-service/src/main/java/io/defitrack/protocol/dodo/pooling/DodoPoolingMarketProvider.kt | decentri-fi | 426,174,152 | false | {"Kotlin": 1287962, "Java": 1948, "Dockerfile": 909} | package io.defitrack.protocol.dodo.pooling
import io.defitrack.common.utils.refreshable
import io.defitrack.market.domain.PoolingMarket
import io.defitrack.market.domain.PoolingMarketTokenShare
import io.defitrack.market.port.out.PoolingMarketProvider
import io.defitrack.protocol.dodo.DodoGraphProvider
import java.mat... | 59 | Kotlin | 6 | 10 | c16d5fb71849772434a198f22edcdde809f7e15d | 1,081 | defi-hub | MIT License |
app/src/main/java/com/app/nikhil/coroutinedownloader/usecase/DownloadFile.kt | Xing1P | 319,190,699 | true | {"Kotlin": 38262} | package com.app.nikhil.coroutinedownloader.usecase
import javax.inject.Inject
class DownloadFile @Inject constructor() : BaseUseCase() {
operator fun invoke(url: String) {}
} | 0 | null | 0 | 0 | 3a0d9a410bedd79619c98a29ed00511b2d68353b | 178 | CoroutineDownloader | Apache License 2.0 |
app/src/main/java/com/app/nikhil/coroutinedownloader/usecase/DownloadFile.kt | Xing1P | 319,190,699 | true | {"Kotlin": 38262} | package com.app.nikhil.coroutinedownloader.usecase
import javax.inject.Inject
class DownloadFile @Inject constructor() : BaseUseCase() {
operator fun invoke(url: String) {}
} | 0 | null | 0 | 0 | 3a0d9a410bedd79619c98a29ed00511b2d68353b | 178 | CoroutineDownloader | Apache License 2.0 |
icp_kotlin_kit/src/main/java/com/bity/icp_kotlin_kit/candid/model/CandidValue.kt | ThomasConstantinBity | 824,624,205 | false | {"Kotlin": 554595, "Rust": 313094} | package com.bity.icp_kotlin_kit.candid.model
import java.math.BigInteger
sealed class CandidValue(
val candidType: CandidType
) {
val natural8Value: BigInteger?
get() = (this as? Natural8)
?.let { BigInteger.valueOf(it.uInt8.toLong()) }
data object Null : CandidValue(
candidT... | 1 | Kotlin | 2 | 0 | e3e7f9086aebf3997cf7747f98efec81f3a654bb | 5,718 | ICP-Kotlin-Kit | MIT License |
serialization-djvm/src/main/kotlin/net/corda/serialization/djvm/serializers/SandboxPublicKeySerializer.kt | corda | 70,137,417 | false | null | package net.corda.serialization.djvm.serializers
import net.corda.core.serialization.DESERIALIZATION_CACHE_PROPERTY
import net.corda.core.serialization.SerializationContext
import net.corda.djvm.rewiring.SandboxClassLoader
import net.corda.serialization.djvm.deserializers.PublicKeyDecoder
import net.corda.serializatio... | 57 | Kotlin | 1090 | 3,952 | 1eb3b3b42b2b916b7f81354238ccd3ce685b0bd3 | 2,004 | corda | Apache License 2.0 |
src/test/kotlin/org/wagham/db/scopes/feats.kt | kaironbot | 540,862,397 | false | null | package org.wagham.db.scopes
import io.kotest.assertions.throwables.shouldThrow
import io.kotest.matchers.ints.shouldBeGreaterThan
import io.kotest.matchers.shouldBe
import kotlinx.coroutines.flow.count
import kotlinx.coroutines.flow.toList
import org.wagham.db.KabotMultiDBClient
import org.wagham.db.KabotMultiDBClien... | 0 | Kotlin | 0 | 0 | b5ec572caae2f90691cdb258c88da9d801425977 | 1,870 | kabot-db-connector | MIT License |
src/app/src/main/java/com/helper/idealist/ui/theme/Theme.kt | UIdealist | 658,037,641 | false | {"Kotlin": 51762} | package com.helper.idealist.ui.theme
import android.app.Activity
import android.os.Build
import androidx.compose.foundation.isSystemInDarkTheme
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.Shapes
import androidx.compose.material3.darkColorScheme
import androidx.compose.material3.dy... | 0 | Kotlin | 0 | 0 | 9c8c8e553859b7f71d48db01de1246f723eb5226 | 2,711 | UIdealist-Mobile | Apache License 2.0 |
base/src/main/java/io/upnextgpt/base/util/IntentUtil.kt | dokar3 | 664,889,464 | false | null | package io.upnextgpt.base.util
import android.app.SearchManager
import android.content.Context
import android.content.Intent
import android.content.pm.PackageManager.NameNotFoundException
import android.net.Uri
import android.provider.MediaStore
import io.upnextgpt.base.Logger
import io.upnextgpt.base.SealedResult
ob... | 8 | Kotlin | 0 | 5 | c9bfcb55659a71cdd7e4de4ec8599dca2b5a8d94 | 2,349 | upnext-gpt | Apache License 2.0 |
usuarios-api/src/main/kotlin/resa/rodriguez/UsuariosApiApplication.kt | SebsMendoza | 610,919,372 | false | null | package resa.rodriguez
import kotlinx.coroutines.runBlocking
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.boot.CommandLineRunner
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.runApplication
import org.springframework.cach... | 0 | Kotlin | 0 | 0 | a3425f3c8c7381c8fcd77d9dd5b066df298ccb88 | 938 | SuperTechnology | MIT License |
rounded/src/commonMain/kotlin/me/localx/icons/rounded/bold/Ghost.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.rounded.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
im... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 4,090 | icons | MIT License |
src/main/java/genesis/util/render/FakeBlockState.kt | Boethie | 109,195,551 | false | null | /*
* This file is part of Genesis Mod, licensed under the MIT License (MIT).
*
* Copyright (c) 2017 Boethie
* Copyright (c) 2017 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 ... | 0 | Kotlin | 1 | 1 | 0d18541d095ad26364994ac5f8b3e9b6e084ccb9 | 8,318 | Old-Genesis | MIT License |
push/src/main/java/com/hms/lib/commonmobileservices/push/model/MessageType.kt | Explore-In-HMS | 402,745,331 | false | {"Kotlin": 888179} | // Copyright 2020. Explore in HMS. 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 applicable la... | 5 | Kotlin | 7 | 55 | 4decd25cd07e6ee709ce40e1f94574f512e12d14 | 983 | common-mobile-services | Apache License 2.0 |
src/main/kotlin/com/rarnu/mdpro3/api/YugiohAPI.kt | rarnu | 809,611,315 | false | {"Kotlin": 134197} | package com.rarnu.mdpro3.api
import com.isyscore.kotlin.ktor.Result
import com.rarnu.mdpro3.database.Omega
import io.ktor.server.application.*
import io.ktor.server.response.*
import io.ktor.server.routing.*
fun Route.yugiohApi() = route("/yugioh") {
get("/list") {
val name = call.request.queryParameters... | 0 | Kotlin | 0 | 1 | f637f1a85be3af152204b6c5af5237d3be24f1d9 | 1,221 | mdpro3-deck-center | Apache License 2.0 |
core/src/main/kotlin/kt/firmata/core/protocol/FirmataPin.kt | tiagohm | 734,739,135 | false | {"Kotlin": 102030, "C++": 2146} | package kt.firmata.core.protocol
import kt.firmata.core.IOEvent
import kt.firmata.core.Pin
import kt.firmata.core.PinEventListener
import kt.firmata.core.PinMode
import kt.firmata.core.protocol.board.Board
import kt.firmata.core.protocol.message.*
import java.util.*
import kotlin.concurrent.Volatile
data class Firmat... | 0 | Kotlin | 0 | 0 | 33654b7e31a4deb4e8f9aa5f1fb8bda748be984f | 4,688 | KtFirmata | MIT License |
app/src/main/java/io/github/alamo18/updater/ui/fragment/InstalledFragment.kt | vaginessa | 147,669,087 | false | null | package io.github.alamo18.updater.ui.fragment
import android.os.Bundle
import android.support.v4.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import io.github.alamo18.updater.R
/**
* Created by alamo with his pizza on 7/9/2017.
*/
class InstalledFragment :... | 1 | Kotlin | 0 | 0 | c927fc79f6930898ae518da0dc20e2b5161c50b3 | 855 | gib-concept | Apache License 2.0 |
wisp/wisp-config/src/main/kotlin/wisp/config/PrefixResourceLoaderPreprocessor.kt | cashapp | 113,107,217 | false | {"Kotlin": 3843790, "TypeScript": 232251, "Java": 83564, "JavaScript": 5073, "Shell": 3462, "HTML": 1536, "CSS": 58} | package wisp.config
import com.sksamuel.hoplite.ConfigResult
import com.sksamuel.hoplite.DecoderContext
import com.sksamuel.hoplite.Node
import com.sksamuel.hoplite.PrimitiveNode
import com.sksamuel.hoplite.StringNode
import com.sksamuel.hoplite.fp.valid
import com.sksamuel.hoplite.preprocessor.TraversingPrimitivePrep... | 169 | Kotlin | 169 | 400 | 13dcba0c4e69cc2856021270c99857e7e91af27d | 1,651 | misk | Apache License 2.0 |
shared/updater/src/main/kotlin/com/abdownloadmanager/updateapplier/UpdateApplier.kt | amir1376 | 825,187,044 | false | {"Kotlin": 967280, "Shell": 3811} | package com.abdownloadmanager.updateapplier
abstract class UpdateApplier{
abstract suspend fun applyUpdate()
} | 31 | Kotlin | 16 | 721 | 34801da12e8ae1e0a7e4cec5b75a62c6d3b2d265 | 115 | ab-download-manager | Apache License 2.0 |
app/src/main/java/com/slava/taboolatest/MainActivity.kt | haythama | 328,953,165 | true | {"Kotlin": 28067} | package com.slava.taboolatest
import android.content.Intent
import android.graphics.Color
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import androidx.constraintlayout.widget.ConstraintLayout
import com.slava.taboolatest.articles.fragments.MainArticlesScreenFragment
import timber.log.Timber... | 0 | null | 0 | 0 | df6bd891b556633649cda7d3460d78aae5c8bd48 | 1,320 | TaboolaTestApp | Apache License 2.0 |
XMagicHooker/wework/src/main/java/com/magic/wework/apis/com/tencent/wework/foundation/model/Message.kt | edxposedd | 317,722,625 | false | null | package com.magic.wework.apis.com.tencent.wework.foundation.model
import com.magic.wework.mirror.com.tencent.wework.foundation.model.Methods
import de.robv.android.xposed.XposedHelpers
/**
* @param original com.tencent.wework.foundation.model.Message
*/
data class Message(var original: Any) {
companion object ... | 2 | Kotlin | 80 | 526 | 025e484eeab842ae47a0a5d706a717ab51ff60a0 | 494 | wework | MIT License |
integration-test-jdbc/src/postgresql/kotlin/integration/jdbc/postgresql/JdbcPostgreSqlSetting.kt | komapper | 349,909,214 | false | {"Kotlin": 2922039, "Java": 57131} | package integration.jdbc.postgresql
import integration.core.PostgreSqlSetting
import org.komapper.core.ExecutionOptions
import org.komapper.jdbc.JdbcDataTypeProvider
import org.komapper.jdbc.JdbcDatabase
import org.komapper.jdbc.JdbcDialects
@Suppress("unused")
class JdbcPostgreSqlSetting(url: String) : PostgreSqlSet... | 8 | Kotlin | 14 | 301 | 9fbc0b5652ee732583e977180cdc493e116e1022 | 695 | komapper | Apache License 2.0 |
src/test/kotlin/no/nav/personbruker/minesaker/api/saf/sakstemaer/transformers/HentSakstemaerTransformerTest.kt | joakibj | 458,172,377 | true | {"Kotlin": 170883, "Shell": 265, "Dockerfile": 250} | package no.nav.personbruker.minesaker.api.saf.sakstemaer.transformers
import no.nav.personbruker.minesaker.api.saf.sakstemaer.objectmothers.SakstemaObjectMother
import org.amshove.kluent.`should be equal to`
import org.amshove.kluent.`should be null`
import org.amshove.kluent.shouldNotBeNull
import org.junit.jupiter.a... | 0 | null | 0 | 0 | 51dd522799ecbd53207a55a44c8378ecdb819547 | 1,032 | mine-saker-api | MIT License |
src/main/kotlin/no/nav/syfo/smregistrering/SmregistreringService.kt | navikt | 526,559,029 | false | null | package no.nav.syfo.smregistrering
import java.time.LocalDateTime
import java.time.format.DateTimeFormatter
import no.nav.syfo.db.Database
import no.nav.syfo.logger
import no.nav.syfo.oppgave.client.FerdigstillOppgave
import no.nav.syfo.oppgave.client.OppgaveClient
class SmregistreringService(
private val oppgave... | 0 | Kotlin | 0 | 0 | cd55b610754403b507ce80551c321fab24cc60ce | 2,645 | macgyver | MIT License |
src/main/kotlin/no/nav/syfo/smregistrering/SmregistreringService.kt | navikt | 526,559,029 | false | null | package no.nav.syfo.smregistrering
import java.time.LocalDateTime
import java.time.format.DateTimeFormatter
import no.nav.syfo.db.Database
import no.nav.syfo.logger
import no.nav.syfo.oppgave.client.FerdigstillOppgave
import no.nav.syfo.oppgave.client.OppgaveClient
class SmregistreringService(
private val oppgave... | 0 | Kotlin | 0 | 0 | cd55b610754403b507ce80551c321fab24cc60ce | 2,645 | macgyver | MIT License |
screenrecorder/src/main/java/io/github/japskiddin/screenrecorder/model/RecordVideoResult.kt | Japskiddin | 643,089,658 | false | {"Kotlin": 24137} | package io.github.japskiddin.screenrecorder.model
import android.content.Intent
data class RecordVideoResult(val code: Int, val intent: Intent?) | 0 | Kotlin | 0 | 0 | 934307e79ea09a051fc08976b4596a174d22ace0 | 146 | ScreenRecorder | Apache License 2.0 |
src/example/myapp/decor/Decoration.kt | HEY-BLOOD | 370,875,579 | false | null | package example.myapp.decor
data class Decoration(val rocks: String) {
}
// Here is a data class with 3 properties.
data class Decoration2(val rocks: String, val wood: String, val diver: String) {
}
fun makeDecorations() {
val decoration1 = Decoration("granite")
println(decoration1)
val decoration2 = De... | 0 | Kotlin | 0 | 0 | 24f5c2ccbe43df1a84a980efacb5b768e8f4af9b | 852 | Hello-Kotlin | Apache License 2.0 |
BaseUseCase.kt | talhahasanzia | 530,524,492 | false | null | package <YOUR_PACKAGE_NAME>
interface BaseUseCase<Input, Output> {
suspend fun execute(input: Input): Output
} | 0 | Kotlin | 0 | 16 | e66ec91a2b36cd963f903ba09ba56e5972f2d568 | 115 | android-mvvm-generator | Apache License 2.0 |
tabler/src/commonMain/kotlin/com/woowla/compose/icon/collections/tabler/tabler/filled/CircleKey.kt | walter-juan | 868,046,028 | false | {"Kotlin": 34345428} | package com.woowla.compose.icon.collections.tabler.tabler.filled
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.S... | 0 | Kotlin | 0 | 3 | eca6c73337093fbbfbb88546a88d4546482cfffc | 3,269 | compose-icon-collections | MIT License |
src/commonMain/kotlin/org.angproj.aux/util/NullObject.kt | angelos-project | 677,039,667 | false | {"Kotlin": 548311} | /**
* Copyright (c) 2024 by Kristoffer Paulsson <kristoffer.paulsson@talenten.se>.
*
* This software is available under the terms of the MIT license. Parts are licensed
* under different terms if stated. The legal terms are attached to the LICENSE file
* and are made available on:
*
* https://opensource.org... | 0 | Kotlin | 0 | 0 | f9142bec995ef434cc7cdc02f01a7ed9ac3cd00b | 1,843 | angelos-project-aux | MIT License |
app/src/main/java/id/rllyhz/dicodingsubmissionbfaa/ui/activity/main/MainActivity.kt | rllyhz | 355,088,778 | false | null | package id.rllyhz.dicodingsubmissionbfaa.ui.activity.main
import android.content.Intent
import android.os.Bundle
import android.view.Menu
import android.view.MenuItem
import androidx.appcompat.app.AppCompatActivity
import androidx.appcompat.app.AppCompatDelegate
import androidx.navigation.NavController
import androidx... | 0 | Kotlin | 0 | 0 | ac3d77f3c885603c71f5ccc78b5739e957d6a0d9 | 2,880 | bfaa-final-submission | Apache License 2.0 |
skellig-test-step-processing-cassandra/src/test/kotlin/org/skellig/teststep/processor/cassandra/CassandraSelectRequestExecutorTest.kt | skellig-framework | 263,021,995 | false | {"Kotlin": 1283314, "CSS": 525991, "Java": 270216, "FreeMarker": 66859, "HTML": 11313, "ANTLR": 6165} | package org.skellig.teststep.processor.cassandra
import com.datastax.oss.driver.api.core.CqlSession
import com.datastax.oss.driver.api.core.cql.ResultSet
import com.datastax.oss.driver.api.core.cql.Row
import com.datastax.oss.driver.api.core.cql.SimpleStatement
import org.junit.jupiter.api.Assertions
import org.junit.... | 8 | Kotlin | 0 | 3 | ed375268b0e444f1928f22f4ac27603e9d1fb66b | 4,298 | skellig-core | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.