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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
fragmentation_core/src/main/java/me/yokeyword/fragmentation/SupportActivityDelegate.kt | qdsfdhvh | 166,903,972 | true | {"Java": 215233, "Kotlin": 205707} | package me.yokeyword.fragmentation
import android.os.Bundle
import android.view.MotionEvent
import androidx.annotation.DrawableRes
import androidx.core.app.ActivityCompat
import androidx.fragment.app.FragmentActivity
import me.yokeyword.fragmentation.anim.FragmentAnimator
import me.yokeyword.fragmentation.debug.DebugS... | 0 | Java | 0 | 0 | 3ddb2fe6ee7f8519e78ef0a5806bd217329ed023 | 6,684 | Fragmentation | Apache License 2.0 |
models/src/main/java/com/vimeo/networking2/params/PublishToFacebookPost.kt | Geet2312 | 261,973,040 | false | {"Java Properties": 2, "Ruby": 3, "YAML": 3, "Gradle": 11, "Shell": 2, "Markdown": 7, "Batchfile": 1, "Text": 1, "Gemfile.lock": 1, "Ignore List": 6, "Git Config": 1, "Kotlin": 258, "XML": 30, "Proguard": 3, "Java": 37} | package com.vimeo.networking2.params
import com.squareup.moshi.Json
import com.squareup.moshi.JsonClass
import java.io.Serializable
/**
* Represents the required data for a Facebook post.
*/
@JsonClass(generateAdapter = true)
data class PublishToFacebookPost(
/**
* The title of the post as it will appear ... | 1 | null | 1 | 1 | d66b4cddd07ff662175488b8f26823c1fbe1bfcf | 1,647 | vimeo-networking-java | MIT License |
platform/platform-impl/src/com/intellij/openapi/vfs/newvfs/persistent/log/diagnostic/LogStats.kt | JetBrains | 2,489,216 | false | null | // Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
@file:Suppress("RAW_RUN_BLOCKING")
package com.intellij.openapi.vfs.newvfs.persistent.log.diagnostic
import com.intellij.openapi.vfs.newvfs.persistent.log.VfsLog
import com.intellij.openapi.vfs.new... | 214 | null | 4829 | 15,129 | 5578c1c17d75ca03071cc95049ce260b3a43d50d | 4,659 | intellij-community | Apache License 2.0 |
app/core/src/main/java/com/fsck/k9/helper/PendingIntentCompat.kt | thundernest | 1,326,671 | false | null | package com.fsck.k9.helper
import android.app.PendingIntent
import android.os.Build
object PendingIntentCompat {
@JvmField
val FLAG_IMMUTABLE = if (Build.VERSION.SDK_INT >= 23) PendingIntent.FLAG_IMMUTABLE else 0
@JvmField
val FLAG_MUTABLE = if (Build.VERSION.SDK_INT >= 31) PendingIntent.FLAG_MUTABLE... | 681 | null | 2394 | 8,411 | 83fe6c244d1e72cb59f7fe3249adf3affed90f6a | 330 | k-9 | Apache License 2.0 |
opensrp-path-zeir/src/main/java/org/smartregister/path/reporting/dropuout/DropoutReportRegisterPresenter.kt | opensrp | 306,545,484 | false | null | package org.smartregister.path.reporting.dropuout
import android.app.Activity
import android.content.Intent
import org.smartregister.path.reporting.DropoutReportGroup
import java.lang.ref.WeakReference
class DropoutReportRegisterPresenter(override val dropoutReportRegisterView: DropoutReportContract.View) : DropoutRe... | 24 | null | 5 | 1 | e2fe71b921186d8944d863f3be2d5522a899dfc3 | 1,334 | opensrp-client-path-zeir | Apache License 2.0 |
kotlin/src/main/java/com/mertsy/kotlinsample/Extensions.kt | CappasityTech | 703,137,804 | false | null | package ru.threedplatforma.sdksample
import android.app.Activity
import android.content.ClipData
import android.content.ClipboardManager
import android.content.Context
import android.widget.Toast
infix fun <T : Any?> Boolean.then(variable: T): T? {
return if (this) variable else null
}
fun Context.copyToClipboar... | 1 | null | 1 | 1 | 2cc49794f7113146554b84d61659d43956ae70f8 | 623 | MertsySDKViewer_Android | The Unlicense |
Desafios em Kotlin/1015 - Distância Entre Dois Pontos/Main.kt | lucasmarcuzo | 386,427,361 | false | {"Text": 5, "Markdown": 6, "C#": 178, "Git Attributes": 1, "JSON": 3, "SQL": 49, "Kotlin": 174, "Java": 177, "XML": 8, "Ignore List": 2, "JavaScript": 163} | //Developed by: @LucasMarcuzo
import java.util.Scanner
import kotlin.math.pow
import kotlin.math.sqrt
fun main(args: Array<String>) {
val scan = Scanner(System.`in`)
var distancia: Double
var x: Double
var y: Double
val x1 = scan.nextDouble()
val y1 = scan.nextDouble()
val x2 = scan... | 0 | Java | 12 | 22 | 0238d847dac30cabeccbccb657da96128c2d5a5c | 497 | Beecrowd | MIT License |
app/src/main/java/com/christianbahl/swapico/vehicles/model/VehiclesResponse.kt | Bodo1981 | 44,470,954 | false | null | package com.christianbahl.swapico.vehicles.model
import com.christianbahl.swapico.model.IListData
import com.google.gson.annotations.SerializedName
/**
* @author <NAME>
*/
class VehiclesResponse(override val name: String,
val model: String,
@SerializedName("vehicle_clas... | 1 | null | 1 | 1 | 0d029b8064c941766eafb7bb7000c8289a4c96ec | 1,501 | swapi.co | Apache License 2.0 |
analytics/src/test/java/io/appmetrica/analytics/impl/db/storage/DatabaseStorageFactoryTest.kt | appmetrica | 650,662,094 | false | null | package io.appmetrica.analytics.impl.db.storage
import android.content.Context
import io.appmetrica.analytics.impl.component.ComponentId
import io.appmetrica.analytics.impl.db.DatabaseManagerProvider
import io.appmetrica.analytics.impl.db.DatabaseStorage
import io.appmetrica.analytics.impl.db.StorageType
import io.app... | 2 | null | 5 | 54 | 7f7b9968291a809f653f8d8fea1ecb3eed6cb278 | 23,240 | appmetrica-sdk-android | MIT License |
flank-scripts/src/main/kotlin/flank/scripts/ops/assemble/ios/BuildIosIPA.kt | Flank | 84,221,974 | false | null | package flank.scripts.shell.ops
import flank.scripts.shell.ios.createXcodeArchiveCommand
import flank.scripts.shell.ios.createXcodeExportArchiveCommand
import flank.scripts.shell.utils.flankFixturesIosTmpPath
import flank.scripts.shell.utils.pipe
import flank.scripts.utils.downloadCocoaPodsIfNeeded
import flank.script... | 64 | null | 115 | 676 | b40904b4e74a670cf72ee53dc666fc3a801e7a95 | 2,113 | flank | Apache License 2.0 |
app/src/main/java/com/kyberswap/android/domain/usecase/notification/GetSubscriptionNotificationUseCase.kt | KYRDTeam | 181,612,742 | false | null | package com.kyberswap.android.domain.usecase.notification
import androidx.annotation.VisibleForTesting
import com.kyberswap.android.domain.SchedulerProvider
import com.kyberswap.android.domain.model.Notification
import com.kyberswap.android.domain.model.SubscriptionNotification
import com.kyberswap.android.domain.mode... | 1 | null | 10 | 26 | abd4ab033d188918849e5224cc8204409776391b | 986 | android-app | MIT License |
app/src/main/java/com/andresequeira/layzardsampleapp/ExampleLayzard.kt | Andre-Sequeira | 183,953,014 | false | {"Gradle": 4, "Markdown": 2, "Java Properties": 2, "Shell": 1, "Ignore List": 3, "Batchfile": 1, "Proguard": 2, "Kotlin": 8, "XML": 20, "Java": 5} | package com.andresequeira.layzardsampleapp
import com.andresequeira.layzard.Layzard
class ExampleLayzard : Layzard() {
override val layoutResId = R.layout.layout_example
}
| 0 | Kotlin | 0 | 0 | 7c6da3b4e344a8f72f9a20f57f0284c8d85a3f9c | 180 | Layzard | Apache License 2.0 |
packages/SystemUI/screenshot/src/com/android/systemui/testing/screenshot/ScreenshotActivity.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 | 845 | platform_frameworks_base | Apache License 2.0 |
testing/node-driver/src/main/kotlin/net/corda/testing/node/TestCordapp.kt | StioDevolpper | 160,531,644 | false | null | package net.corda.testing.node
import net.corda.core.DoNotImplement
import net.corda.core.internal.PLATFORM_VERSION
import net.corda.testing.node.internal.TestCordappImpl
import net.corda.testing.node.internal.simplifyScanPackages
import java.nio.file.Path
/**
* Represents information about a CorDapp. Used to genera... | 0 | null | 0 | 1 | 316dc4ab92941a0693394eec0e7771e41b50617a | 3,470 | corda | Apache License 2.0 |
testing/node-driver/src/main/kotlin/net/corda/testing/node/TestCordapp.kt | StioDevolpper | 160,531,644 | false | null | package net.corda.testing.node
import net.corda.core.DoNotImplement
import net.corda.core.internal.PLATFORM_VERSION
import net.corda.testing.node.internal.TestCordappImpl
import net.corda.testing.node.internal.simplifyScanPackages
import java.nio.file.Path
/**
* Represents information about a CorDapp. Used to genera... | 0 | null | 0 | 1 | 316dc4ab92941a0693394eec0e7771e41b50617a | 3,470 | corda | Apache License 2.0 |
python/python-psi-impl/src/com/jetbrains/python/pyi/PyiFile.kt | Blackdread | 253,757,648 | false | null | /*
* Copyright 2000-2017 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... | 1 | null | 1 | 1 | 713cd98e68644db6926bdf0a869b225d36145583 | 2,846 | intellij-community | Apache License 2.0 |
app/src/main/java/com/mystical/wildlegion/BaseView.kt | DeveloperXY | 145,738,735 | false | null | package com.mystical.wildlegion
import android.content.Context
interface BaseView {
fun getContext(): Context
} | 1 | null | 1 | 1 | 3743e5e88fe95c0722f98334f8799cb11111e59a | 117 | WildLegion | MIT License |
android/src/main/java/com/reactnativerawbtbridge/RawbtBridgeModule.kt | vertvvv | 300,296,468 | false | null | package com.reactnativerawbtbridge
import com.facebook.react.bridge.ReactApplicationContext
import com.facebook.react.bridge.ReactContextBaseJavaModule
import com.facebook.react.bridge.ReactMethod
import com.facebook.react.bridge.Promise
import android.content.Intent
class RawbtBridgeModule(reactContext: ReactApplic... | 1 | null | 1 | 1 | 5edf2e1998b2614e36063a62f4ee8a5845e7455d | 998 | react-native-rawbt-bridge | MIT License |
app/src/androidTest/java/com/juniperphoton/android/ktdsltest/ExampleInstrumentedTest.kt | JuniperPhoton | 168,288,322 | false | {"Gradle Kotlin DSL": 6, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "Proguard": 2, "Kotlin": 3, "XML": 11, "Java": 3} | package com.juniperphoton.android.ktdsltest
import androidx.test.InstrumentationRegistry
import androidx.test.runner.AndroidJUnit4
import org.junit.Test
import org.junit.runner.RunWith
import org.junit.Assert.*
/**
* Instrumented test, which will execute on an Android device.
*
* See [testing documentation](http... | 0 | Kotlin | 0 | 0 | f070d024b0fc55bb19a819004eacfd8e9ac5a002 | 650 | KotlinGradleDsl.Android | MIT License |
js/js.translator/testData/box/operatorOverloading/notOverload.kt | JakeWharton | 99,388,807 | false | null | // EXPECTED_REACHABLE_NODES: 1112
package foo
class A() {
operator fun not() = "OK"
}
fun box() = !A() | 0 | null | 28 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 110 | kotlin | Apache License 2.0 |
jubako/src/main/java/com/justeat/jubako/data/EmptyLiveData.kt | TrendingTechnology | 218,504,527 | true | {"Kotlin": 120242, "Java": 8780} | package com.justeat.jubako.data
import androidx.lifecycle.LiveData
class EmptyLiveData<T> : LiveData<T>()
| 0 | null | 0 | 0 | 46a8af8ea05302655318af3c5cbeb919849378dd | 108 | jubako | Apache License 2.0 |
linea/src/commonMain/kotlin/compose/icons/lineaicons/basicelaboration/BriefcaseSearch.kt | DevSrSouza | 311,134,756 | false | {"Kotlin": 36719092} | package compose.icons.lineaicons.basicelaboration
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap
import androidx.co... | 17 | Kotlin | 25 | 571 | a660e5f3033e3222e3553f5a6e888b7054aed8cd | 3,157 | compose-icons | MIT License |
kmm/domain/src/commonMain/kotlin/com/barabasizsolt/mova/domain/usecase/screen/explore/search/DeleteContentUseCase.kt | barabasizsolt | 524,965,150 | false | null | package com.barabasizsolt.mova.domain.usecase.screen.explore.search
import category.Category
import com.barabasizsolt.mova.domain.usecase.helper.movie.search.DeleteSearchMovieUseCase
import com.barabasizsolt.mova.domain.usecase.helper.tvSeries.search.DeleteSearchTvSeriesUseCase
class DeleteContentUseCase(
private... | 0 | Kotlin | 0 | 0 | acf4e021200c670dbc7bc2a38240d019f2a4a3a2 | 632 | Mova | The Unlicense |
shared/src/iosMain/kotlin/util/File.kt | tkhs-dev | 654,871,518 | false | {"Kotlin": 238026, "Swift": 580, "Shell": 228, "Ruby": 101} | package util
actual object FileUtil{
actual fun saveFile(fileName: String, data: ByteArray): Boolean {
TODO()
}
actual fun saveFileEncrypted(
fileName: String,
data: ByteArray
): Boolean {
TODO()
}
actual fun loadFile(fileName: String): ByteArray? {
TOD... | 4 | Kotlin | 0 | 0 | eadefe3882c8dd21997afe4e1aad2829674f9fe1 | 418 | HandaiManager | Apache License 2.0 |
data/RF02179/rnartist.kts | fjossinet | 449,239,232 | false | {"Kotlin": 8214424} | import io.github.fjossinet.rnartist.core.*
rnartist {
ss {
rfam {
id = "RF02179"
name = "consensus"
use alignment numbering
}
}
theme {
details {
value = 3
}
color {
location {
1 to... | 0 | Kotlin | 0 | 0 | 3016050675602d506a0e308f07d071abf1524b67 | 399 | Rfam-for-RNArtist | MIT License |
app/src/main/java/com/dp/logcatapp/util/RootUtils.kt | Vhoakab84 | 119,921,940 | true | {"Kotlin": 91389, "Java": 18881} | package com.dp.logcatapp.util
import android.Manifest
import android.content.Context
import com.dp.jshellsession.Config
import com.dp.jshellsession.JShellSession
import java.io.IOException
object RootUtils {
fun grantReadLogsPermission(context: Context): Boolean {
var jshellSession: JShellSession? = null... | 0 | Kotlin | 1 | 0 | eecd128c4671eb18089bf4a78f2ca5d8c54bce18 | 777 | LogcatReader | MIT License |
kaspresso/src/main/kotlin/com/kaspersky/kaspresso/device/screenshots/screenshoter/internal/InternalScreenshotMaker.kt | dector | 222,651,686 | true | {"Kotlin": 260006, "Java": 10748} | package com.kaspersky.kaspresso.device.screenshots.screenshoter.internal
import android.app.Activity
import android.graphics.Bitmap
import android.graphics.Canvas
import android.os.Looper
import com.kaspersky.kaspresso.device.screenshots.screenshoter.ScreenshotFiles
import java.io.BufferedOutputStream
import java.io.F... | 0 | null | 0 | 1 | d6f0c4a4388970f54b9036b47b7f9df0c954105c | 2,474 | Kaspresso | Apache License 2.0 |
src/test/kotlin/days/Day11Test.kt | andilau | 433,504,283 | false | {"Kotlin": 137815} | package days
import org.assertj.core.api.Assertions.assertThat
import org.junit.jupiter.api.*
@DisplayName("Day 11")
class Day11Test {
@Nested
@DisplayName("Part 1")
inner class Part1 {
@Test
fun `Small example generation should transition to generation from step 0 to 1`() {
a... | 4 | Kotlin | 0 | 0 | 92d9366fe5449cfda2a15e36986afb20e5d66a25 | 7,781 | advent-of-code-2021 | Creative Commons Zero v1.0 Universal |
app/src/main/java/com/example/wordprovider/MainActivity.kt | suki-sahota | 285,865,149 | false | null | package com.example.wordprovider
import android.Manifest
import android.app.Activity
import android.content.ContentProviderOperation
import android.content.ContentValues
import android.content.Context
import android.net.ConnectivityManager
import android.net.Network
import android.net.NetworkCapabilities
import androi... | 0 | Kotlin | 0 | 0 | c5ad932bfe356b7beaba04fee78c5e0c53d8dc32 | 12,386 | wordProvider | MIT License |
identity/src/main/java/com/stripe/android/identity/navigation/CouldNotCaptureDestination.kt | stripe | 6,926,049 | false | {"Kotlin": 10130961, "Java": 71963, "Ruby": 24683, "Shell": 20001, "Python": 13941} | package com.stripe.android.identity.navigation
import androidx.navigation.NavBackStackEntry
import androidx.navigation.NavType
import androidx.navigation.navArgument
import com.stripe.android.identity.states.IdentityScanState
internal class CouldNotCaptureDestination(
scanType: IdentityScanState.ScanType,
req... | 120 | Kotlin | 620 | 1,162 | b6ac6cc775ede2e74ec7aea86f403e1345135a1e | 1,638 | stripe-android | MIT License |
playerlist/playerlistapi/src/test/java/it/laface/playerlist/api/PlayerListMapperTest.kt | carlaf92 | 249,497,287 | false | null | package it.laface.playerlist.api
import it.laface.base.NetworkResult
import it.laface.player.domain.Player
import it.laface.test.errorResponse
import it.laface.test.mock
import it.laface.test.thenAnswer
import it.laface.test.whenever
import kotlinx.coroutines.ExperimentalCoroutinesApi
import kotlinx.coroutines.test.ru... | 1 | Kotlin | 0 | 5 | ece5ed250b5f188b985fb546d24981077ef99866 | 3,304 | nba-app | MIT License |
app/src/main/java/com/seven_sheesh/greventure/data/repository/BookmarkRepositoryImpl.kt | ahargunyllib | 846,841,295 | false | {"Kotlin": 453189} | package com.seven_sheesh.greventure.data.repository
import android.util.Log
import com.seven_sheesh.greventure.domain.model.Bookmark
import com.seven_sheesh.greventure.domain.model.Bubble
import com.seven_sheesh.greventure.domain.model.BubblePhoto
import com.seven_sheesh.greventure.domain.model.Review
import com.seven... | 0 | Kotlin | 1 | 0 | 8735831666609ec8f4e017c5120dbe6fbe241916 | 10,551 | Greventure | MIT License |
sample-core/src/commonMain/kotlin/com/mobilejazz/kmmsample/core/feature/hackerposts/domain/interactor/GetHackerNewsPostInteractor.kt | mobilejazz | 193,985,847 | false | null | package com.mobilejazz.kmmsample.core.feature.hackerposts.domain.interactor
import com.harmony.kotlin.common.either.Either
import com.harmony.kotlin.domain.interactor.either.GetInteractor
import com.harmony.kotlin.error.HarmonyException
import com.mobilejazz.kmmsample.core.feature.hackerposts.domain.HackerNewsQuery
im... | 1 | Kotlin | 1 | 12 | 77fe72f1e62afeac68e28e0a6121b97655b7e3ad | 877 | harmony-kotlin | Apache License 2.0 |
sample-core/src/commonMain/kotlin/com/mobilejazz/kmmsample/core/feature/hackerposts/domain/interactor/GetHackerNewsPostInteractor.kt | mobilejazz | 193,985,847 | false | null | package com.mobilejazz.kmmsample.core.feature.hackerposts.domain.interactor
import com.harmony.kotlin.common.either.Either
import com.harmony.kotlin.domain.interactor.either.GetInteractor
import com.harmony.kotlin.error.HarmonyException
import com.mobilejazz.kmmsample.core.feature.hackerposts.domain.HackerNewsQuery
im... | 1 | Kotlin | 1 | 12 | 77fe72f1e62afeac68e28e0a6121b97655b7e3ad | 877 | harmony-kotlin | Apache License 2.0 |
src/test/kotlin/br/com/zup/ot5/compartilhado/KeyManagerGrpcExceptionHandlerUnitTest.kt | DaviLevi | 383,277,162 | true | {"Kotlin": 37001, "Smarty": 2172, "Dockerfile": 405} | package br.com.zup.ot5.compartilhado
import br.com.zup.ot5.core.exception_handler.KeyManagerGrpcExceptionHandler
import io.grpc.Status
import io.grpc.StatusRuntimeException
import io.micronaut.http.HttpRequest
import io.micronaut.http.HttpStatus
import io.micronaut.test.extensions.junit5.annotation.MicronautTest
impor... | 0 | Kotlin | 0 | 0 | 771d09ad89dc965fdabf894ef3414578ab9d8425 | 3,495 | orange-talents-05-template-pix-keymanager-rest | Apache License 2.0 |
tezos-core/src/main/kotlin/it/airgap/tezos/core/internal/coder/tez/TezInternalCoderContext.kt | airgap-it | 460,351,851 | false | null | package it.airgap.tezos.core.internal.coder.tez
import it.airgap.tezos.core.internal.annotation.InternalTezosSdkApi
@InternalTezosSdkApi
public interface TezInternalCoderContext : MutezInternalCoderContext | 0 | Kotlin | 2 | 1 | c5af5ffdd4940670bd66842580d82c2b9d682d84 | 207 | tezos-kotlin-sdk | MIT License |
app/src/main/java/com/example/studentapp/domain/models/Expense.kt | Mohanmanuhs | 781,995,646 | false | {"Kotlin": 64961} | package com.example.studentapp.domain.models
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
data class Expense(
@SerialName("usn")
val usn: String,
@SerialName("tuition")
val tuition: String,
@SerialName("txtBook")
val txtBook: String,
@S... | 0 | Kotlin | 0 | 0 | 862186749d4536080876fce7e5b5c284d3214640 | 419 | student-app | MIT License |
eventsourcing/javers-testing/src/test/kotlin/org/javers/hibernate/integration/ObjectAccessHookBeanTest.kt | debop | 187,949,869 | false | null | package org.javers.hibernate.integration
import mu.KLogging
import org.amshove.kluent.shouldContainSame
import org.amshove.kluent.shouldEqual
import org.amshove.kluent.shouldNotBeNull
import org.javers.core.Javers
import org.javers.hibernate.entity.Author
import org.javers.hibernate.entity.AuthorCrudRepository
import ... | 1 | Kotlin | 4 | 24 | a1f1fb9d8d27a072093acd13da2c04e557dc2d03 | 2,959 | kotlin-workshop | MIT License |
SDKSampleApp/app/src/kotlin/java/com/fourthline/sdksample/extensions/FragmentExtensions.kt | umairakram500 | 534,287,996 | false | {"Kotlin": 123628, "Java": 27222} | package com.fourthline.sdksample.extensions
import androidx.fragment.app.DialogFragment
import androidx.fragment.app.Fragment
import com.fourthline.sdksample.R
import com.fourthline.sdksample.showDialog
import com.fourthline.sdksample.vibrate
import kotlinx.android.synthetic.main.activity_main.*
fun Fragment.runOnUiT... | 0 | Kotlin | 0 | 0 | 065760aa4a01e8b936dce0d35a2800f877f2f7a7 | 1,599 | forthline2 | Apache License 2.0 |
app/src/main/java/org/fnives/tiktokdownloader/data/usecase/GetUserPreferences.kt | fknives | 309,122,353 | false | {"HTML": 1099221, "Kotlin": 222872} | package org.fnives.tiktokdownloader.data.usecase
import org.fnives.tiktokdownloader.data.local.UserPreferencesLocalSource
import org.fnives.tiktokdownloader.data.model.UserPreferences
class GetUserPreferences(private val userPreferencesLocalSource: UserPreferencesLocalSource) {
operator fun invoke(): UserPrefere... | 7 | HTML | 4 | 16 | 027f4e89d6b0fddf899005b2cb1dec0437129c6c | 365 | TikTok-Downloader | Apache License 2.0 |
app-backend/infrastructure/src/main/kotlin/com/github/francescojo/infra/jdbc/common/converter/UuidConverter.kt | FrancescoJo | 534,724,231 | false | {"Kotlin": 160267, "Vim Snippet": 765} | /*
* kopringboot-multimodule-monorepo-template
* Distributed under MIT licence
*/
package com.github.francescojo.infra.jdbc.common.converter
import com.github.francescojo.lib.util.toByteArray
import com.github.francescojo.lib.util.toUUID
import jakarta.persistence.AttributeConverter
import jakarta.persistence.Conve... | 0 | Kotlin | 1 | 24 | 638311a4364b175de7a4f9297e757730fa8f981a | 697 | kopringboot-multimodule-template | MIT License |
presentation/src/main/java/com/jason/sport/common/AppConstant.kt | htJason98 | 609,194,852 | false | null | package com.jason.sport.common
object AppConstant {
const val UNDEFINED = "UNDEFINED"
object NavigationAnimationSpec {
const val INITIAL_OFFSET_X = 400
const val ANIMATION_SIDE_IN_TWEEN_DURATION = 300
const val ANIMATION_FADE_IN_TWEEN_DURATION = 400
}
} | 0 | Kotlin | 0 | 0 | 68ff9127cb807410e17d24c8aed40053be57ced2 | 291 | hypothecial-sport | MIT License |
app/src/main/java/com/simtop/openmarvel/di/MarvelNetworkModule.kt | simtop | 425,833,490 | false | {"Kotlin": 71649} | package com.simtop.openmarvel.di
import com.simtop.openmarvel.data.network.MarvelService
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent
import retrofit2.Retrofit
import javax.inject.Singleton
@Module
@InstallIn(SingletonComponent::class)
objec... | 0 | Kotlin | 0 | 0 | 26b013ce9da94034ddf2c59cd2bec1f749638cf7 | 489 | OpenMarvel | MIT License |
src/commonMain/kotlin/com.adamratzman.spotify/models/Player.kt | adamint | 104,819,774 | false | null | /* Spotify Web API, Kotlin Wrapper; MIT License, 2017-2021; Original author: <NAME> */
package com.adamratzman.spotify.models
import com.adamratzman.spotify.endpoints.client.ClientPlayerApi
import com.adamratzman.spotify.utils.getExternalUrls
import com.adamratzman.spotify.utils.match
import kotlinx.serialization.Seri... | 8 | null | 21 | 178 | 1b2c9f80200825a6aa4e3656ba11b7396b5bd2e4 | 7,954 | spotify-web-api-kotlin | MIT License |
domain/src/main/java/com/fioalpha/poc/domain/model/InvestmentParameter.kt | fioalpha | 362,514,615 | false | null | package com.fioalpha.poc.domain.model
data class InvestmentParameter(
val investedAmount: Double,
val isTaxFree: Boolean,
val maturityBusinessDays: Int,
val maturityDate: String,
val maturityTotalDays: Int,
val rate: Double,
val yearlyInterestRate: Double
)
| 4 | Kotlin | 0 | 1 | 908bc82b6174685e61f44dd6f777e6cc41aeba24 | 287 | CaseStudy | Apache License 2.0 |
common/src/commonMain/kotlin/me/kit/common/bloc/RootComponent.kt | kdreamix | 396,769,399 | false | null | package me.kit.common.bloc
import androidx.compose.runtime.Composable
import com.arkivanov.decompose.ComponentContext
import com.arkivanov.decompose.extensions.compose.jetbrains.Children
import com.arkivanov.decompose.push
import me.kit.common.routing.Configuration
import me.kit.common.ui.expect.MainUi
import me.kit.c... | 0 | Kotlin | 0 | 1 | 9ee8ce13950f147c9e1c8b9c19bd696ae1c3383b | 1,642 | ComposeTruck | Apache License 2.0 |
kompot/src/main/kotlin/com/revolut/kompot/navigable/vc/ui/ViewStates.kt | revolut-mobile | 488,970,565 | false | {"Kotlin": 795294} | /*
* Copyright (C) 2022 Revolut
*
* 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 ... | 0 | Kotlin | 5 | 100 | b0da9ef98e13f0e7b62f96a4b9a6275e56a66555 | 1,251 | kompot | Apache License 2.0 |
app/src/test/java/com/hello/curiosity/ui/scenes/components/InputSceneTest.kt | HelloCuriosity | 531,667,914 | false | null | package com.hello.curiosity.ui.scenes.components
import androidx.compose.ui.test.assertIsDisplayed
import androidx.compose.ui.test.onChildAt
import androidx.compose.ui.test.onNodeWithTag
import io.github.hellocuriosity.compose.test.ComposeTest
import org.junit.Test
class InputSceneTest : ComposeTest() {
@Test
... | 7 | Kotlin | 0 | 4 | 9bfff3af4c69c2a2e5dfb57b447c0bb5aac45a6c | 1,301 | curiosity | MIT License |
src/main/kotlin/com/github/welblade/labpicpayclonebackendapi/data/service/CartaoCreditoService.kt | welblade | 445,275,716 | false | null | package com.github.welblade.labpicpayclonebackendapi.data.service
import com.github.welblade.labpicpayclonebackendapi.data.dto.model.cartaocredito.CartaoCreditoDto
interface CartaoCreditoService {
fun salvar(cartaoCreditoDto: CartaoCreditoDto) : CartaoCreditoDto
}
| 0 | Kotlin | 0 | 0 | 7335f6ee5728a1c282e0962539e8cf1699e972cc | 271 | lab-picpay-clone-backend-api | MIT License |
data/src/main/java/com/mrtckr/livecoding/data/model/ForecastHoursEntity.kt | Mrtckr008 | 747,623,658 | false | {"Kotlin": 136414} | package com.mrtckr.livecoding.data.model
import com.mrtckr.livecoding.domain.entity.WeatherStatus
import kotlinx.serialization.Serializable
@Serializable
data class ForecastHoursEntity(
val hour: String,
val temperature: Int,
val weatherStatus: WeatherStatus
)
| 0 | Kotlin | 0 | 3 | 0dd9a6cce5180b706d56f7e437e1ef5e7f79385f | 275 | Sample-Android-Clean-Architecture | The Unlicense |
app/src/main/java/bapspatil/captainchef/ui/StepsListFragment.kt | bapspatil | 105,727,452 | false | null | package bapspatil.captainchef.ui
import android.content.Context
import android.os.Bundle
import android.support.v4.app.Fragment
import android.support.v7.widget.LinearLayoutManager
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import bapspatil.captainchef.R
import bapspatil.... | 1 | Kotlin | 0 | 10 | 2ecdd8e3d13a9f434d1649d0cd55c91c1c2db78a | 4,289 | CaptainChef | Apache License 2.0 |
src/main/kotlin/io/github/gasbarrel/localization/HoconLocalizationMap.kt | GasBarrel | 642,112,498 | false | null | package io.github.gasbarrel.localization
import com.freya02.botcommands.api.BContext
import com.freya02.botcommands.api.localization.DefaultLocalizationTemplate
import com.freya02.botcommands.api.localization.LocalizationMap
import com.freya02.botcommands.api.localization.LocalizationTemplate
import com.typesafe.confi... | 1 | Kotlin | 0 | 5 | 1166d43af6f7e3702047e36b34426344844e393d | 846 | GasBarrel | Do What The F*ck You Want To Public License |
app/src/main/java/com/lanier/rocoguide/utils/FileUtil.kt | taxeric | 517,588,660 | false | null | package com.lanier.rocoguide.utils
import android.content.Context
import android.content.Intent
import androidx.core.content.FileProvider
import com.lanier.rocoguide.base.net.Net
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.flow.*
import kotlinx.coroutines.withContext
import okhttp3.ResponseBody
imp... | 0 | Kotlin | 1 | 6 | d4c10ffe4dac97c50fcccaba529418644fae96b9 | 4,312 | RocoGuide | MIT License |
app/src/main/java/com/lanier/rocoguide/utils/FileUtil.kt | taxeric | 517,588,660 | false | null | package com.lanier.rocoguide.utils
import android.content.Context
import android.content.Intent
import androidx.core.content.FileProvider
import com.lanier.rocoguide.base.net.Net
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.flow.*
import kotlinx.coroutines.withContext
import okhttp3.ResponseBody
imp... | 0 | Kotlin | 1 | 6 | d4c10ffe4dac97c50fcccaba529418644fae96b9 | 4,312 | RocoGuide | MIT License |
src/main/kotlin/com/zupedu/gabrielpedrico/controllers/RegistraChavePixController.kt | GabrielPedricoZup | 400,619,172 | true | {"Kotlin": 9376} | package com.zupedu.gabrielpedrico.controllers
import com.zupedu.gabrielpedrico.RegistraPixGrpcServiceGrpc
import com.zupedu.gabrielpedrico.dtos.NovaChavePixRequest
import io.micronaut.http.HttpResponse
import io.micronaut.http.annotation.Body
import io.micronaut.http.annotation.Controller
import io.micronaut.http.anno... | 0 | Kotlin | 0 | 0 | 44feed80b30766a15adcb49749e1cb53eda5f9b0 | 1,086 | orange-talents-06-template-pix-keymanager-rest | Apache License 2.0 |
app/src/main/java/com/nuhkoca/myapplication/api/NetworkState.kt | nuhkoca | 166,842,702 | false | null | package com.nuhkoca.myapplication.api
import com.nuhkoca.myapplication.api.NetworkState.Status
import javax.inject.Inject
/**
* A class that handles all network traffics
*
* @author nuhkoca
*/
class NetworkState
/**
* @param status from [Status]
* @param message an error message
*/
@Inject
constructor(val sta... | 1 | Kotlin | 9 | 62 | 9e373cd741cb243b0a1ce90c7ad88284941b56b1 | 774 | DaggerExoPlayer | The Unlicense |
lib-crypto-secp256k1/src/androidTest/java/com/smallraw/crypto/CryptoExampleUnitTest.kt | QuincySx | 262,699,409 | false | null | package com.smallraw.crypto
import android.util.Log
import androidx.test.ext.junit.runners.AndroidJUnit4
import com.smallraw.crypto.core.extensions.hexToByteArray
import com.smallraw.crypto.core.extensions.toHex
import com.smallraw.crypto.core.util.timeDiff
import com.smallraw.lib.crypto.Secp256K1
import org.junit.Ass... | 1 | C | 6 | 26 | 0beea2170ea56e2dd224fe0e174d5ac2951632ca | 2,014 | ChainWallet | Apache License 2.0 |
app/src/main/java/com/jefisu/manualplus/features_manual/data/mapper/UserMapper.kt | jefisu | 628,486,274 | false | null | package com.jefisu.manualplus.features_manual.data.mapper
import com.jefisu.manualplus.features_manual.data.dto.UserDto
import com.jefisu.manualplus.features_manual.domain.model.User
fun UserDto.toUser(): User {
return User(
id = _id.toString(),
name = name,
avatarRemotePath = avatar,
... | 0 | Kotlin | 0 | 0 | 7171b5754d3ce8c2475e37fbb578b8b8f158cc2a | 376 | Manual-PLUS | The Unlicense |
src/main/kotlin/io/nozemi/aoc/solutions/year2020/day05/BinaryBoarding.kt | Nozemi | 433,882,587 | false | {"Kotlin": 92614, "Shell": 421} | package io.nozemi.aoc.solutions.year2020.day05
import io.nozemi.aoc.puzzle.Puzzle
import kotlin.reflect.KFunction0
class BinaryBoarding(input: String) : Puzzle<List<String>>(input) {
override fun Sequence<String>.parse(): List<String> = toList()
override fun solutions(): List<KFunction0<Any>> = listOf()
} | 0 | Kotlin | 0 | 0 | fc7994829e4329e9a726154ffc19e5c0135f5442 | 318 | advent-of-code | MIT License |
data/src/main/java/com/x/data/api/model/response/ProfileResponse.kt | ResulSilay | 469,322,755 | false | {"Kotlin": 403160} | package com.x.data.api.model.response
import androidx.annotation.Keep
import com.squareup.moshi.Json
import com.x.domain.model.ProfileModel
@Keep
data class ProfileResponse(
@field:Json(name = "_class") var className: String? = null,
@field:Json(name = "id") var id: String? = null,
@field:Json(name = "ful... | 0 | Kotlin | 1 | 14 | 4648b4e6fdbaf60631c9a203cefd51beef370f71 | 981 | jenci | Apache License 2.0 |
emulators/gameboy/src/commonTest/kotlin/com/kiliansteenman/kemulation/gameboy/cpu/OpcodeInc16BitTest.kt | KilianSteenman | 289,452,042 | false | {"Kotlin": 101270, "Ruby": 2419, "Swift": 580, "HTML": 176} | package com.kiliansteenman.kemulation.gameboy.cpu
import kotlin.test.Test
@ExperimentalStdlibApi
class OpcodeInc16BitTest : OpcodeBaseTest() {
private val opcodes = arrayOf(
0x03.toByte() to "BC",
0x13.toByte() to "DE",
0x23.toByte() to "HL",
0x33.toByte() to "SP",
)
@Tes... | 1 | Kotlin | 0 | 3 | e3cdb9e1018dca5e274a8b4d2bfa05a003327598 | 602 | KEmulation | MIT License |
src/main/kotlin/no/nav/pdl/pdlfullmaktapi/unleash/Cluster.kt | navikt | 201,039,615 | false | {"Kotlin": 15794, "Dockerfile": 47} | package no.nav.pdl.pdlfullmaktapi.unleash
enum class Cluster {
DEV_FSS, PROD_FSS;
companion object {
val current: Cluster by lazy {
when (val c=System.getenv("NAIS_CLUSTER_NAME")){
"dev-fss" -> DEV_FSS
"prod-fss" -> PROD_FSS
else -> throw Run... | 1 | Kotlin | 1 | 2 | f039388876862f46f7612f769329a27be6f2e494 | 452 | pdl-fullmakt-api | MIT License |
lib/src/main/java/com/omega_r/base/components/OmegaComponent.kt | EdutainmentLIVE | 196,008,557 | true | {"Kotlin": 116314, "Java": 1103} | package com.omega_r.base.components
import android.app.Activity
import android.app.Dialog
import android.content.Intent
import android.view.View
import android.widget.Toast
import com.google.android.material.dialog.MaterialAlertDialogBuilder
import com.google.android.material.snackbar.Snackbar
import com.omega_r.base.... | 0 | Kotlin | 0 | 0 | 310461036666d7e55a73547238f28a50849099cf | 3,282 | OmegaBase | MIT License |
ok-phonesell-pa-mp-pipelines-validation/src/commonMain/kotlin/ru/otus/otuskotlin/phonesell/pa/kmp/pipelines/validation/ValidationOperationBuilder.kt | otuskotlin | 327,228,590 | false | null | package ru.otus.otuskotlin.phonesell.pa.kmp.pipelines.validation
import ru.otus.otuskotlin.phonesell.pa.kmp.pipelines.validation.DefaultValidationOperation
import ru.otus.otuskotlin.phonesell.pa.kmp.pipelines.validation.IValidationOperation
import ru.otus.otuskotlin.phonesell.pa.mp.validation.IValidator
import ru.otus.... | 0 | Kotlin | 0 | 0 | c4e5b9a30aaba73c5d6c28bb8c6ebab578c8950b | 1,017 | otuskotlin-202012-phonesell-pa | MIT License |
site/src/jsMain/kotlin/example/shadcn_kotlin/ui/components/sidebarnav/SideNavBar.kt | dead8309 | 657,395,822 | false | null | package example.shadcn_kotlin.ui.components.sections
import example.shadcn_kotlin.ui.types.NavItemWithChildren
import example.shadcn_kotlin.ui.types.SidebarNavItem
import kotlinx.browser.window
import react.FC
import react.Props
import react.dom.html.ReactHTML.a
import react.dom.html.ReactHTML.div
import react.dom.htm... | 0 | Kotlin | 1 | 4 | 8413055f558c4fccaee9f39fe372d21ff6d466c8 | 3,365 | shadcn-kotlin | MIT License |
skiko/src/linuxMain/kotlin/org/jetbrains/skiko/SkikoKey.linux.kt | JetBrains | 282,864,178 | false | null | package org.jetbrains.skiko
actual enum class SkikoKey(val value: Int) {
KEY_UNKNOWN(-1),
KEY_A(0),
KEY_S(1),
KEY_D(2),
KEY_F(3),
KEY_H(4),
KEY_G(5),
KEY_Z(6),
KEY_X(7),
KEY_C(8),
KEY_V(9),
KEY_B(11),
KEY_Q(12),
KEY_W(13),
KEY_E(14),
KEY_R(15),
KEY_Y(... | 42 | null | 94 | 840 | cf67c819f15ffcd8b6ecee3edb29ae2cdce1f2fe | 2,262 | skiko | Apache License 2.0 |
v1_29/src/main/java/de/loosetie/k8s/dsl/impls/PodTemplate.kt | loosetie | 283,145,621 | false | {"Kotlin": 8925107} | package de.loosetie.k8s.dsl.impls
import com.fasterxml.jackson.annotation.JsonIgnore
import com.fasterxml.jackson.annotation.JsonPropertyOrder
import de.loosetie.k8s.dsl.K8sManifest
import de.loosetie.k8s.dsl.HasParent
import de.loosetie.k8s.dsl.manifests.*
@JsonPropertyOrder("apiVersion", "kind", "metadata", "templa... | 0 | Kotlin | 0 | 2 | 57d56ab780bc3134c43377e647e7f0336a5f17de | 561 | k8s-dsl | Apache License 2.0 |
cli/src/test/kotlin/io/wavebeans/cli/WaveBeansCliSpec.kt | WaveBeans | 174,378,458 | false | null | package io.wavebeans.cli
import assertk.assertThat
import assertk.assertions.*
import io.ktor.client.HttpClient
import io.ktor.client.engine.cio.CIO
import io.ktor.client.features.ClientRequestException
import io.ktor.client.features.ServerResponseException
import io.ktor.client.request.get
import io.wavebeans.cli.Wav... | 30 | Kotlin | 0 | 14 | 9f3b139acac158f1bbe92a4a9838390be3707e1a | 10,606 | wavebeans | Apache License 2.0 |
app/src/main/java/dev/techpolis/studservice/screens/main/search/filters/FiltersMvpViewImpl.kt | StudServices | 353,117,513 | false | null | package dev.techpolis.studservice.screens.main.search.filters
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.view.animation.Animation
import android.view.animation.Transformation
import androidx.appcompat.widget.*
import androidx.core.view.children
import andro... | 0 | Kotlin | 0 | 0 | a844a9ac31fa02245237a7af68a66b2451dac7cd | 10,253 | StudServices-Android | MIT License |
src/main/kotlin/com/equisoft/awsmocks/common/interfaces/http/serialization/jackson/AsValue.kt | kronostechnologies | 192,785,938 | false | null | package com.equisoft.awsmocks.common.interfaces.http.serialization.jackson
import com.fasterxml.jackson.annotation.JacksonAnnotationsInside
import com.fasterxml.jackson.databind.annotation.JsonSerialize
@Retention
@JacksonAnnotationsInside
@JsonSerialize(using = AsValueSerializer::class)
annotation class AsValue
| 0 | Kotlin | 0 | 0 | 819798902aab012b06587f1b073dfcee58fec3e3 | 316 | aws-mocks | Apache License 2.0 |
ground/src/main/java/com/google/android/ground/persistence/local/room/fields/UserDetails.kt | google | 127,777,820 | false | null | /*
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | 224 | null | 116 | 245 | 502a3bcafa4d65ba62868036cf5287a4219aaf5c | 1,309 | ground-android | Apache License 2.0 |
app/src/main/java/com/nikitosii/studyrealtorapp/core/domain/useCase/agent/RemoveAgentUseCase.kt | meanswar | 702,052,508 | false | {"Kotlin": 730795, "HTML": 262565} | package com.nikitosii.studyrealtorapp.core.domain.useCase.agent
import com.nikitosii.studyrealtorapp.core.domain.repository.AgentsRepo
import com.nikitosii.studyrealtorapp.core.domain.useCase.base.UseCaseParams
import javax.inject.Inject
class RemoveAgentUseCase @Inject constructor(private val repo: AgentsRepo) :
... | 2 | Kotlin | 0 | 0 | 20c281e8954fe900812e1923600ff0fd9b82d2b4 | 670 | StudyRealtorApp | MIT License |
app/src/main/java/atanana/com/marvelousbrowser/data/dto/Character.kt | atanana | 155,773,183 | false | null | package atanana.com.marvelousbrowser.data.dto
data class Character(
val id: Int,
val name: String,
val thumbnailUrl: String
) | 0 | Kotlin | 0 | 0 | e3615fa5ab6690185a8b3f472648799dee1d99d8 | 138 | marvelous-browser | MIT License |
compose-mds/src/main/java/ch/sbb/compose_mds/sbbicons/small/TicketMachineTicketSmall.kt | SchweizerischeBundesbahnen | 853,290,161 | false | {"Kotlin": 6728512} | package ch.sbb.compose_mds.sbbicons.small
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.StrokeJoin.Companion.Mit... | 0 | Kotlin | 0 | 1 | 090a66a40e1e5a44d4da6209659287a68cae835d | 4,014 | mds-android-compose | MIT License |
app/src/main/java/io/github/tonnyl/mango/ui/user/following/FollowingPresenter.kt | thinhtp | 101,600,230 | false | null | package io.github.tonnyl.mango.ui.user.following
import io.github.tonnyl.mango.data.Followee
import io.github.tonnyl.mango.data.repository.UserRepository
import io.github.tonnyl.mango.util.PageLinks
import io.reactivex.android.schedulers.AndroidSchedulers
import io.reactivex.disposables.CompositeDisposable
import io.r... | 0 | Kotlin | 1 | 0 | 2c6de8532424dcaa814445a66830e4b9f24d0495 | 3,541 | AndroidMango | MIT License |
src/main/kotlin/de/cacheoverflow/neodymium/impl/modules/implementation/movement/StepModule.kt | DietrichPaul | 502,445,024 | false | {"Kotlin": 87769, "Java": 30724, "GLSL": 2580} | package de.cacheoverflow.neodymium.impl.modules.implementation.movement
import de.cacheoverflow.neodymium.Neodymium
import de.cacheoverflow.neodymium.api.modules.Module
@Module.Declaration(name = "Step", description = "module.step.description", category = Module.EnumCategory.MOVEMENT)
class StepModule(client: Neodymi... | 0 | null | 0 | 0 | df1cd9e1a4e7f339d795fc567f8384a2ac91a616 | 524 | Neodymium | MIT License |
crabzilla-stack/src/test/kotlin/io/github/crabzilla/TestRepository.kt | crabzilla | 91,769,036 | false | null | package io.github.crabzilla.pgclient
import io.vertx.core.Future
import io.vertx.core.json.JsonObject
import io.vertx.pgclient.PgPool
import io.vertx.sqlclient.Row
import io.vertx.sqlclient.RowSet
import io.vertx.sqlclient.Tuple
import java.util.UUID
// TODO decouple from example1 and make it a library scope class
cl... | 1 | Kotlin | 8 | 67 | 2e4e7b943276e69a8338c99efa70a24445003f68 | 2,788 | crabzilla | Apache License 2.0 |
androidextensions/src/main/java/com/github/davidepanidev/androidextensions/views/ActivityExtensions.kt | davidepanidev | 473,995,320 | false | null | package com.github.davidepanidev.androidextensions.views
import android.app.Activity
import android.content.Intent
import android.net.Uri
fun Activity.openUrlInExternalBrowser(url: String) {
val uri = Uri.parse(url)
startActivity(
Intent(Intent.ACTION_VIEW).apply {
data = uri
}
... | 0 | Kotlin | 0 | 1 | 1c80fa87394825015fe3b44be5996c6a5976a217 | 808 | android-extensions | MIT License |
daggercore/src/main/java/com/worldsnas/daggercore/ActivityComponentProvider.kt | tamasbazs | 195,262,935 | true | {"Kotlin": 314785, "Java": 240871} | package com.worldsnas.daggercore
interface ActivityComponentProvider {
fun activityComponent() : ActivityComponent
} | 0 | Kotlin | 0 | 0 | d93f780c4a3a6eec663e86a35c84d838907cbb69 | 122 | AIO | Apache License 2.0 |
kappwrite/src/commonMain/kotlin/com/bayocode/kappwrite/services/Locale.kt | bayo-code | 800,109,468 | false | {"Kotlin": 276285} | package com.bayocode.kappwrite.services
import com.bayocode.kappwrite.Client
import com.bayocode.kappwrite.HttpMethod
import com.bayocode.kappwrite.ResponseType
import com.bayocode.kappwrite.Service
import com.bayocode.kappwrite.models.*
/**
* The Locale service allows you to customize your app based on your users&... | 0 | Kotlin | 0 | 0 | 845d4eda04b8cfe3a5c5bcf4a9e704f25b6049d7 | 6,827 | kappwrite | MIT License |
app/src/main/java/ramble/sokol/sberafisha/routes/view/screens/TestRouterScreen.kt | InverseTeam | 674,135,722 | false | null | package ramble.sokol.sberafisha.routes.view.screens
import androidx.activity.compose.BackHandler
import androidx.compose.foundation.Image
import androidx.compose.foundation.background
import androidx.compose.foundation.border
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Arrang... | 0 | Kotlin | 0 | 1 | f550e0b932106d6dd0181f86baa2cd627572085b | 9,358 | Afisha-Mobile | MIT License |
app/src/main/java/com/dadachen/oribee/time/TimeSync.kt | coda1997 | 304,501,540 | false | null | package com.dadachen.oribee.time
import android.net.Uri
import android.util.Log
import com.koushikdutta.async.http.AsyncHttpClient
import com.koushikdutta.async.http.AsyncHttpGet
import com.koushikdutta.async.http.AsyncHttpRequest
import com.koushikdutta.async.http.AsyncHttpResponse
import com.koushikdutta.async.http.... | 0 | Kotlin | 3 | 3 | f00bca05dfcf9c3a3bdb15ed40dac58f25887537 | 1,115 | OriBee | MIT License |
app/src/main/kotlin/com/litekite/systemui/fragment/FragmentHostProvider.kt | LiteKite | 235,597,886 | false | null | /*
* Copyright 2021 LiteKite Startup. 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 ap... | 0 | Kotlin | 11 | 29 | 0a389139d1a32514413373047fb8c30d4df40f45 | 6,260 | Android-SystemUI | Apache License 2.0 |
app/src/main/kotlin/com/litekite/systemui/fragment/FragmentHostProvider.kt | LiteKite | 235,597,886 | false | null | /*
* Copyright 2021 LiteKite Startup. 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 ap... | 0 | Kotlin | 11 | 29 | 0a389139d1a32514413373047fb8c30d4df40f45 | 6,260 | Android-SystemUI | Apache License 2.0 |
src/main/kotlin/ua/kurinnyi/jaxrs/auto/mock/body/TemplateEngine.kt | daniele-aramu | 230,681,377 | true | {"Kotlin": 77550} | package ua.kurinnyi.jaxrs.auto.mock.body
import com.mitchellbosecke.pebble.PebbleEngine
import com.mitchellbosecke.pebble.loader.StringLoader
import java.io.StringWriter
object TemplateEngine {
private val engine = PebbleEngine.Builder().loader(StringLoader()).build()
fun processTemplate(templateId:String,... | 0 | null | 0 | 0 | 7893bee19d3e7c67a4323232dd9b9a08914b15e5 | 694 | Jax-Rs-Auto-Mock | MIT License |
app/src/main/java/com/perfectweather/android/PerfectWeatherApplication.kt | fanpengfei1993 | 581,695,063 | false | null | package com.perfectweather.android
import android.app.Application
import android.content.Context
/**
* @author perfect
* @date 2022/12/21 17:03
*@describe 添加描述
*/
class PerfectWeatherApplication : Application() {
companion object{
lateinit var context: Context
const val TOKEN = "oj25bgoiykc1t... | 0 | Kotlin | 0 | 0 | a837098f75d36eb7cb19b4da748ef35f885ed01b | 432 | PerfectWeather | Apache License 2.0 |
app/src/main/java/com/blaubalu/detoxrank/ui/UserDataUiState.kt | AdamBalu | 749,353,748 | false | {"Kotlin": 437464} | package com.blaubalu.detoxrank.ui
import com.blaubalu.detoxrank.data.TimerDifficulty
import com.blaubalu.detoxrank.data.user.UserData
data class UserDataUiState(
val id: Int = 1,
val timerStartTimeMillis: Long = 0,
val timerStarted: Boolean = false,
val rankPoints: Int = 0,
val xpPoints: Int = 0,
... | 0 | Kotlin | 0 | 0 | d168a379f1555a3f9260fc8d882c978cc7af5b63 | 1,943 | DetoxRank | MIT License |
app/src/main/java/com/example/maihang/viewModel/CategoryMealViewModel.kt | DevP-ai | 689,309,567 | false | {"Kotlin": 45226} | package com.example.maihang.viewModel
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import com.example.maihang.api.RetrofitApiInstance
import com.example.maihang.model.CategoryList
import com.example.maihang.model.MealsByCategory
import com.example.mai... | 0 | Kotlin | 0 | 0 | e8bdfab87fc649b90865ef9ca53aeece731572e7 | 1,351 | Maihang | MIT License |
linguine-runtime/src/commonMain/kotlin/io/github/cleverlance/linguine/linguineruntime/presentation/LocalisationRetriever.kt | Cleverlance | 777,740,595 | false | {"Kotlin": 53018} | @file:Suppress("EXPECT_ACTUAL_CLASSIFIERS_ARE_IN_BETA_WARNING")
package io.github.cleverlance.linguine.linguineruntime.presentation
internal expect object LocalisationRetriever {
fun getJson(localization: Language?): String?
}
| 3 | Kotlin | 0 | 0 | 24935567aa872bdb5606b4c6132f476e5fbfeb99 | 233 | linguine | MIT License |
src/main/kotlin/uk/gov/justice/digital/hmpps/hmppsintegrationapi/services/GetPersonService.kt | ministryofjustice | 572,524,532 | false | {"Kotlin": 921304, "Python": 32511, "Shell": 16913, "HTML": 6740, "Makefile": 1468, "Dockerfile": 1120, "Ruby": 216, "SCSS": 130, "JavaScript": 28} | package uk.gov.justice.digital.hmpps.hmppsintegrationapi.services
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.stereotype.Service
import uk.gov.justice.digital.hmpps.hmppsintegrationapi.gateways.PrisonerOffenderSearchGateway
import uk.gov.justice.digital.hmpps.hmppsintegrati... | 3 | Kotlin | 1 | 2 | ccdb90915ee338db16b40deb16da0df2fc876524 | 1,736 | hmpps-integration-api | MIT License |
src/test/kotlin/org/incava/mmonkeys/match/number/NumberLongsMatcherTest.kt | jpace | 483,382,354 | false | null | package org.incava.mmonkeys.match.number
import org.incava.mmonkeys.Monkey
import org.incava.mmonkeys.match.corpus.Corpus
import org.incava.mmonkeys.type.StandardTypewriter
import org.incava.ikdk.io.Console
import org.junit.jupiter.api.Assertions.assertEquals
import org.junit.jupiter.api.Test
internal class NumberLon... | 0 | Kotlin | 0 | 0 | e17236627a3996d6181e1e856a0ecccfa396d9a6 | 2,472 | mmonkeys | MIT License |
app/src/main/java/com/example/loginui/MainActivity.kt | zehrakuru | 614,810,100 | false | null | package com.example.loginui
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.widget.Toast
import com.example.loginui.databinding.ActivityMainBinding
class MainActivity : AppCompatActivity() {
private lateinit var binding: ActivityMainBinding
... | 0 | Kotlin | 0 | 0 | b0d3b087aaf39e374cabc6b7a881fc8a575c3b6b | 1,278 | LoginApp | MIT License |
domain/src/main/java/com/semicolon/domain/usecase/user/PatchUserChangePasswordUseCase.kt | Walkhub | 443,006,389 | false | null | package com.semicolon.domain.usecase.user
import com.semicolon.domain.param.user.PatchUserChangePasswordParam
import com.semicolon.domain.repository.UserRepository
import com.semicolon.domain.usecase.UseCase
import javax.inject.Inject
class PatchUserChangePasswordUseCase @Inject constructor(
private val userRepos... | 5 | Kotlin | 1 | 29 | 5070c2c33365f2db6f57975078e1ecd7594f66fa | 520 | walkhub_android | MIT License |
core-web-starter/src/main/kotlin/com/labijie/application/web/handler/ErrorResponse.kt | hongque-pro | 309,874,586 | false | {"Kotlin": 1051745, "Java": 72766} | package com.labijie.application.web.handler
import com.fasterxml.jackson.annotation.JsonProperty
import com.labijie.application.localeErrorMessage
/**
* Created with IntelliJ IDEA.
* @author <NAME>
* @date 2019-09-05
*/
open class ErrorResponse(
var error:String,
errorDescription:String? = null,
@get:... | 0 | Kotlin | 0 | 8 | 9e2b1f76bbb239ae9029bd27cda2d17f96b13326 | 521 | application-framework | Apache License 2.0 |
app/src/main/java/ua/kpi/comsys/ip8405/AppActivity.kt | Hud-Volodymyr | 336,877,433 | false | null | package ua.kpi.comsys.ip8405
import android.os.Bundle
import ua.kpi.comsys.ip8405.ui.navigation.NavFragment
class AppActivity : MainActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
supportFragmentManager.beginTransaction().apply {
re... | 0 | Kotlin | 0 | 0 | 9d7ff787d05a46b4c10e3c715622f84f3a8e77a1 | 383 | Mobile-Coursework | MIT License |
app/src/main/java/com/github/rviannaoliveira/dynamicview/presentation/DynamicComponent.kt | rviannaoliveira | 418,187,280 | false | {"Kotlin": 23494} | package com.github.rviannaoliveira.dynamicview.presentation
import com.github.rviannaoliveira.dynamic.presentation.renderes.DynamicViewListener
import com.github.rviannaoliveira.dynamic.presentation.renderes.ViewRenderer
import com.github.rviannaoliveira.dynamic.domain.model.SimpleProperties
import com.github.rviannao... | 0 | Kotlin | 2 | 3 | be2f2c435974e76eb71fc8b875ff0cb407bef400 | 1,161 | DynamicView | Apache License 2.0 |
app/src/main/java/com/elhady/movies/presentation/viewmodel/home/HomeViewModel.kt | islamelhady | 301,591,032 | false | {"Kotlin": 584524} | package com.elhady.movies.presentation.viewmodel.home
import android.util.Log
import androidx.lifecycle.viewModelScope
import com.elhady.movies.core.bases.BaseViewModel
import com.elhady.movies.core.domain.usecase.home.GetAiringTodayTvUseCase
import com.elhady.movies.core.domain.usecase.home.GetNowPlayingUseCase
impor... | 1 | Kotlin | 0 | 0 | d9b6c3f241b5de6c334fa2dcc9f2653de3c04762 | 8,520 | movie-night-v2 | Apache License 2.0 |
app/src/main/java/ps/stdev/room/DateTypeConverter.kt | Stephen-Odumirin | 289,394,925 | false | null | package ps.stdev.room
import androidx.room.TypeConverter
import java.util.*
class DateTypeConverter {
@TypeConverter
fun toDate(value : Long?): Date? {
return if (value == null)
null
else Date(value)
}
@TypeConverter
fun toLong(value: Date?): Long?{
return valu... | 0 | Kotlin | 0 | 1 | 972c2cb9496d7aa21956499f8ab9d2e6fa4d9beb | 335 | Room | Apache License 2.0 |
app/src/main/java/com/nakul/blogWall/utils/UtilFunctions.kt | nakul-19 | 368,067,955 | false | null | package com.nakul.blogWall.utils
import android.os.Handler
import android.widget.Button
import java.text.SimpleDateFormat
import java.time.LocalTime
import java.util.*
object UtilFunctions {
fun getGreetings(): String {
return when {
LocalTime.now().hour > 15 -> "Good Evening!"
Lo... | 0 | Kotlin | 0 | 6 | 75088bce7a5f4b516c7c702cc83c7226c151e829 | 1,757 | Blog-Wall | MIT License |
zipline-gradle-plugin/src/main/kotlin/app/cash/zipline/gradle/ZiplineGradleDownloader.kt | cashapp | 41,445,081 | false | {"C": 2214152, "Kotlin": 1352475, "C++": 39612, "Shell": 1471, "CMake": 871, "JavaScript": 313} | /*
* Copyright (C) 2021 Square, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | 83 | C | 154 | 2,043 | e7ad22ac5110a20686035b616aef190814472d19 | 1,704 | zipline | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.