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/behere/loc_based_reminder/CommonApplication.kt | irekizea | 284,908,511 | false | null | package com.behere.loc_based_reminder
import android.app.Application
class CommonApplication : Application() {
lateinit var apiContainer: ApiContainer
override fun onCreate() {
super.onCreate()
apiContainer = ApiContainer(this)
//http://apis.data.go.kr/B553077/api/open/sdsc/storeListI... | 8 | Kotlin | 0 | 0 | 820ec4e2690aa9d2d3614b9d4afcd5d2b2bee078 | 424 | behere | Apache License 2.0 |
tabler/src/commonMain/kotlin/com/woowla/compose/icon/collections/tabler/tabler/outline/PhotoQuestion.kt | walter-juan | 868,046,028 | false | {"Kotlin": 34345428} | package com.woowla.compose.icon.collections.tabler.tabler.outline
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
im... | 0 | Kotlin | 0 | 3 | eca6c73337093fbbfbb88546a88d4546482cfffc | 3,608 | compose-icon-collections | MIT License |
protocol/src/test/kotlin/models/QuoteTest.kt | TBD54566975 | 696,627,382 | false | {"Kotlin": 32572} | package protocol.models
import assertk.assertAll
import assertk.assertThat
import assertk.assertions.isEqualTo
import models.Message
import models.MessageKind
import models.Quote
import models.QuoteData
import models.QuoteDetails
import protocol.TestData
import typeid.TypeID
import java.time.OffsetDateTime
import kotl... | 24 | Kotlin | 0 | 0 | 25f20c8e699f3b368a3ca77d5eaa35dcf8f32363 | 1,341 | tbdex-kt | Apache License 2.0 |
example/android/app/src/main/kotlin/li/zhuoyuan/example/MainActivity.kt | OpenFlutter | 149,636,417 | false | {"Dart": 81873, "C++": 18229, "CMake": 15759, "Ruby": 2103, "HTML": 1503, "Objective-C": 650, "Shell": 575, "Swift": 404, "Kotlin": 125} | package li.zhuoyuan.example
import io.flutter.embedding.android.FlutterActivity
class MainActivity : FlutterActivity() {
}
| 12 | Dart | 490 | 3,861 | 6982b1242ffef72c6bce5dad1146f2f000d8eddf | 125 | flutter_screenutil | Apache License 2.0 |
src/main/kotlin/nu/peg/demo/data/transfer/TransferDtoMapper.kt | jmesserli | 77,136,044 | false | null | package nu.peg.demo.data.transfer
import nu.peg.demo.util.Mapper
import org.springframework.stereotype.Component
@Component
open class TransferDtoMapper : Mapper<Transfer, TransferDto> {
override fun toDto(entity: Transfer): TransferDto {
return TransferDto(
entity.confirmationId!!,
... | 0 | Kotlin | 0 | 0 | 0ad2792aa533f38c0d75243caa694ad0de0ad795 | 590 | spring-boot-demo | MIT License |
app/src/main/java/network/minter/bipwallet/exchange/GateAndExplorerEstimateVariantImpl.kt | MinterTeam | 139,714,727 | false | null | /*
* Copyright (C) by MinterTeam. 2022
* @link <a href="https://github.com/MinterTeam">Org Github</a>
* @link <a href="https://github.com/edwardstock">Maintainer Github</a>
*
* The MIT License
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated docu... | 0 | null | 9 | 17 | a7c254e6e3744d9304d5bf6f9133096263727bfa | 17,970 | minter-android-wallet | MIT License |
buildSrc/src/main/kotlin/Feature.kt | maksonic | 487,487,302 | false | {"Kotlin": 150513} | /**
* @author maksonic on 01.05.2022
*/
object Feature {
const val MAIN = ":feature:main"
const val DETAILS = ":feature:details"
} | 0 | Kotlin | 1 | 1 | b8c3d407cfc8ca9303f90b639d04c9df68c1809f | 140 | Elmaks | MIT License |
core/src/main/java/me/tatocaster/core/di/application/ApplicationAssistedInjectModule.kt | tatocaster | 253,899,293 | false | null | package me.tatocaster.core.di.application
import androidx.work.ListenableWorker
import androidx.work.WorkerFactory
import com.squareup.inject.assisted.dagger2.AssistedModule
import dagger.Binds
import dagger.Module
import dagger.Provides
import dagger.Reusable
import me.tatocaster.core.ChildWorkerFactory
import me.tat... | 0 | Kotlin | 0 | 3 | 32c3eab1e0f544d75457bc5300d82a38b91e7126 | 950 | covid19-IoT | MIT License |
animators/src/main/java/com/revolut/recyclerkit/animations/BaseItemAnimator.kt | revolut-mobile | 208,288,969 | false | null | package com.revolut.recyclerkit.animations
import android.animation.Animator
import android.animation.AnimatorListenerAdapter
import android.view.animation.DecelerateInterpolator
import android.view.animation.Interpolator
import androidx.core.view.ViewCompat
import androidx.recyclerview.widget.RecyclerView.ViewHolder
... | 3 | null | 9 | 37 | 076190e652863f7693aa919105a378b13e2716f4 | 25,830 | RecyclerKit | Apache License 2.0 |
src/main/kotlin/Main.kt | limitLiu | 231,546,946 | false | null | import ltd.rust_lang.entities.Person
import ltd.rust_lang.utils.map.HashMap
object Main {
@JvmStatic
fun main(args: Array<String>) {
val hashMap = HashMap<Person, Int>()
val p1 = Person()
val p2 = Person()
hashMap.put(p1, 10)
hashMap.put(p2, 11)
hashMap.traversal... | 0 | Kotlin | 0 | 0 | 41071e2b343a63e06a95f17cf02220e96c0bfc8d | 426 | algorithm | MIT License |
shared/src/commonMain/kotlin/dev/boris/kite/models/params/GetTimeEntriesParams.kt | Bombo | 739,094,047 | false | {"Kotlin": 4513} | package dev.boris.kite.models.params
import dev.boris.kite.models.enums.GroupBy
import dev.boris.kite.models.enums.OrderBy
import dev.boris.kite.models.enums.SortBy
import kotlinx.datetime.LocalDate
data class GetTimeEntriesParams(
val userIds: Array<Int>,
val customerId: Int?,
val projectId: Int?,
va... | 0 | Kotlin | 0 | 0 | dc782ae61334f49bf977e8ec21296110e598dffe | 647 | kite | MIT License |
ktor-exposed/src/main/kotlin/com/github/brane08/pagila/actor/Routing.kt | brane08 | 474,589,307 | false | {"HTML": 490919, "Java": 145047, "Python": 24236, "Kotlin": 13925, "TypeScript": 7423, "SCSS": 1053} | package com.github.brane08.pagila.actor
import com.github.brane08.pagila.actor.repositories.ActorsRepository
import com.github.brane08.pagila.seedworks.beans.PageInfo
import io.ktor.server.application.*
import io.ktor.server.response.*
import io.ktor.server.routing.*
import org.kodein.di.instance
import org.kodein.di.... | 0 | HTML | 0 | 0 | d582e8a111325a4a021c8a91eb31f5c5529d7a56 | 624 | pagila-samples | MIT License |
node/src/main/kotlin/net/corda/node/internal/djvm/ComponentFactory.kt | corda | 70,137,417 | false | null | @file:JvmName("ComponentUtils")
package net.corda.node.internal.djvm
import net.corda.core.contracts.ComponentGroupEnum
import net.corda.core.crypto.componentHash
import net.corda.core.transactions.ComponentGroup
import net.corda.core.transactions.FilteredComponentGroup
import net.corda.djvm.rewiring.SandboxClassLoade... | 57 | null | 1090 | 3,952 | 1eb3b3b42b2b916b7f81354238ccd3ce685b0bd3 | 1,856 | corda | Apache License 2.0 |
common/src/main/java/com/idisfkj/awesome/common/navigation/OnNavigationListener.kt | idisfkj | 219,784,908 | false | null | package com.idisfkj.awesome.common.navigation
/**
* Created by idisfkj on 2019-08-29.
* Email : <EMAIL>.
*/
interface OnNavigationListener {
fun onBackClick()
fun onRightIconClick()
}
| 0 | Kotlin | 41 | 215 | c9f99cecc4784a2d0b30d98ea6d94e315364b081 | 198 | AwesomeGithub | Apache License 2.0 |
lib/src/main/java/com/kotlin/inaction/reference/classes_and_objects/02_properties_and_fields/02_Getters_And_Setters.kt | jhwsx | 167,022,805 | false | null | package com.kotlin.inaction.reference.classes_and_objects.`02_properties_and_fields`
/**
* https://ebnbin.com/2017/11/06/kotlin-getter-setter/
*/
class Person {
// var 声明的属性自带 getter 和 setter
var name: String = "wzc"
var age = 18
set(value) {
if (value > 0) {
field = v... | 1 | Kotlin | 1 | 1 | 1e28292ee86cf8ce42b90c78b1c17cb143801a73 | 1,753 | KotlinInAction | MIT License |
src/main/kotlin/ExperimentUser.kt | amplitude | 385,415,429 | false | {"Kotlin": 74383, "JavaScript": 2373} | package com.amplitude.experiment
/**
* The user to fetch experiment/flag variants for. This is an immutable object
* that can be created using an [ExperimentUser.Builder]. Example usage:
*
* ```
* ExperimentUser.builder().userId("<EMAIL>").build()
* ```
*
* You can copy and modify a user using [copyToBuilder].... | 0 | Kotlin | 2 | 2 | e0962e0620293f0e441fd98381e24d0131fab0b6 | 7,815 | experiment-jvm-server | MIT License |
app/src/main/java/org/stepik/android/presentation/banner/dispatcher/BannerActionDispatcher.kt | StepicOrg | 42,045,161 | false | {"Kotlin": 4281147, "Java": 1001895, "CSS": 5482, "Shell": 618} | package org.stepik.android.presentation.banner.dispatcher
import io.reactivex.Scheduler
import io.reactivex.rxkotlin.plusAssign
import io.reactivex.rxkotlin.subscribeBy
import org.stepic.droid.di.qualifiers.BackgroundScheduler
import org.stepic.droid.di.qualifiers.MainScheduler
import org.stepik.android.domain.banner.... | 13 | Kotlin | 54 | 189 | dd12cb96811a6fc2a7addcd969381570e335aca7 | 1,428 | stepik-android | Apache License 2.0 |
library/core/talaiot/src/main/kotlin/io/github/cdsap/talaiot/provider/Provider.kt | cdsap | 157,973,716 | false | null | package io.github.cdsap.talaiot.provider
interface Provider<T> {
fun get(): T
}
| 26 | null | 37 | 583 | 5a1fe716c92aa5d9895f543e75ddeebfd7d47df2 | 85 | Talaiot | MIT License |
scientist4k-http-test/src/main/kotlin/com/github/squirrelgrip/scientist4k/http/test/servlet/ReferenceServlet.kt | SquirrelGrip | 247,915,957 | true | {"Kotlin": 234965, "JavaScript": 2164, "HTML": 1653, "CSS": 930} | package com.github.squirrelgrip.scientist4k.http.test.servlet
import com.github.squirrelgrip.scientist4k.http.core.configuration.ConnectorConfiguration
import com.github.squirrelgrip.scientist4k.http.core.configuration.ServerConfiguration
import com.github.squirrelgrip.scientist4k.http.core.server.SecuredServer
import... | 0 | Kotlin | 0 | 2 | 5c88eb2bf0275c1c8ad139a78c9a1222f499ce4e | 1,682 | Scientist4K | MIT License |
markdown-editor/src/jvmMain/kotlin/me/okonecny/markdowneditor/view/Renderers.kt | konecny-ondrej | 784,920,382 | false | {"Kotlin": 223790} | package me.okonecny.markdowneditor.view
import androidx.compose.runtime.Composable
import me.okonecny.markdowneditor.MappedText
import kotlin.reflect.KClass
data class Renderers<BaseNode : Any>(
val unknownBlockRenderer: BlockRenderer<BaseNode, BaseNode> = noopBlockRenderer(),
val unknownInlineRenderer: Inlin... | 1 | Kotlin | 0 | 6 | 0e1f0019178329dd2f8194bbd760355228ee989c | 2,802 | compose-markdown-editor | MIT License |
Chapter3/favedish-ui/src/main/java/com/favedish/ui/navigation/mapper/DestinationPresentationToUiMapper.kt | bpbpublications | 533,628,168 | false | null | package com.favedish.ui.navigation.mapper
import com.favedish.presentation.architecture.model.PresentationDestination
import com.favedish.ui.navigation.model.UiDestination
interface DestinationPresentationToUiMapper {
fun toUi(input: PresentationDestination): UiDestination
}
| 0 | Kotlin | 5 | 7 | cd85b9fb89e307ad4977bcdb63121aa906f19427 | 282 | Clean-Architecture-for-Android | MIT License |
sdkv1/src/test/kotlin/com/nohrd/bike/sdkv1/internal/protocol/ValueCalculatorTest.kt | NOHrD-Waterrower | 313,321,300 | false | null | package com.nohrd.bike.sdkv1.internal.protocol
import com.nhaarman.expect.expect
import com.nohrd.bike.sdkv1.internal.protocol.ValueCalculator.calculateValue
import org.junit.jupiter.api.Test
internal class ValueCalculatorTest {
private val highByte: Byte = 0b0001_0001 // 4097
private val lowByte: Byte = 0b0... | 2 | Kotlin | 0 | 0 | 8e2391554ae918e6fc821b9fce7cceac1e86d415 | 3,961 | Nohrd-Bike-SDK-Android | Apache License 2.0 |
app/src/main/java/dev/leonlatsch/photok/recoverymenu/RecoveryMenuActivity.kt | leonlatsch | 287,088,448 | false | null | /*
* Copyright 2020-2022 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 43 | null | 52 | 523 | f31156f75af892f03c77b4ff45ad907e2e25f7c2 | 1,674 | Photok | Apache License 2.0 |
core-android/src/main/kotlin/com/androidmess/helix/core/discover/usecase/GetDiscoverMoviesUseCase.kt | sswierczek | 83,972,004 | false | null | package com.androidmess.helix.core.discover.usecase
import com.androidmess.helix.core.data.models.Movie
import com.androidmess.helix.core.data.models.Response
import com.androidmess.helix.core.data.repository.Repository
/**
* Use case for providing movies discover data.
*/
class GetDiscoverMoviesUseCase(val reposit... | 0 | Kotlin | 1 | 3 | 96c3c1cc628fea8a693283dd5b8b950d77fe48d3 | 458 | Helix-Movie-Guide-Android | Apache License 2.0 |
src/all/komga/src/eu/kanade/tachiyomi/extension/all/komga/dto/Dto.kt | EduFdezSoy | 226,588,143 | true | {"Kotlin": 1821985, "Java": 4615, "Shell": 1729} | package eu.kanade.tachiyomi.extension.all.komga.dto
data class LibraryDto(
val id: Long,
val name: String
)
data class SeriesDto(
val id: Long,
val name: String,
val lastModified: String?
)
data class BookDto(
val id: Long,
val name: String,
val lastModified: String?,
val sizeByte... | 0 | Kotlin | 0 | 0 | cb7dbddc34e23b011f52b9b663e140698222f833 | 564 | tachiyomi-extensions | Apache License 2.0 |
app/src/main/kotlin/net/primal/android/core/compose/icons/primaliconpack/FeedRepostsFilled.kt | PrimalHQ | 639,579,258 | false | null | @file:Suppress("MagicNumber")
package net.primal.android.core.compose.icons.primaliconpack
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 and... | 56 | null | 12 | 98 | 438072af7f67762c71c5dceffa0c83dedd8e2e85 | 3,841 | primal-android-app | MIT License |
app/src/main/java/com/kp/foregroundbackgroundevents/App.kt | KrishnaprasadN | 335,290,004 | false | null | package com.kp.foregroundbackgroundevents
import android.app.Application
import android.util.Log
import android.widget.Toast
import androidx.lifecycle.Lifecycle
import androidx.lifecycle.LifecycleObserver
import androidx.lifecycle.OnLifecycleEvent
import androidx.lifecycle.ProcessLifecycleOwner
class App : Applicatio... | 0 | Kotlin | 0 | 0 | 11267e56bfe603d4879f88d83d85e70645caa767 | 1,373 | AndroidKotlin-BackgroundForegroundEvents | Apache License 2.0 |
app/src/main/java/org/haidy/servify/app/resources/strings/ar/ArabicEG.kt | HaidyAbuGom3a | 805,534,454 | false | {"Kotlin": 702248} | package org.haidy.servify.app.resources.strings.ar
import androidx.compose.ui.text.AnnotatedString
import androidx.compose.ui.text.SpanStyle
import androidx.compose.ui.text.buildAnnotatedString
import androidx.compose.ui.text.font.Font
import androidx.compose.ui.text.font.FontFamily
import androidx.compose.ui.text.fon... | 0 | Kotlin | 0 | 2 | 8c2ba73cea5d29cc2ef7048d832f8ecea13f34ee | 11,950 | Servify | Apache License 2.0 |
kotest-core/src/commonMain/kotlin/io/kotest/core/spec/style/scopes/RootTestWithConfigBuilder.kt | asztalosdani | 276,474,464 | true | {"Kotlin": 2343269, "HTML": 423, "Java": 145} | package io.kotest.core.spec.style.scopes
import io.kotest.core.Tag
import io.kotest.core.extensions.TestCaseExtension
import io.kotest.core.test.*
import kotlin.time.Duration
import kotlin.time.ExperimentalTime
@OptIn(ExperimentalTime::class)
class RootTestWithConfigBuilder(
private val name: TestName,
privat... | 0 | null | 0 | 0 | a49bb90d17e242de5122c0960e2334ee0cc49e0e | 1,226 | kotest | Apache License 2.0 |
app/src/main/java/com/example/anubhav/gesture_app/Dashboard.kt | anubhavtomar | 160,777,611 | false | null | package com.example.anubhav.gesture_app
import android.Manifest
import android.content.pm.PackageManager
import android.media.MediaPlayer
import android.media.MediaRecorder
import android.os.AsyncTask
import android.os.Build
import android.support.v7.app.AppCompatActivity
import android.os.Bundle
import android.suppor... | 0 | Kotlin | 1 | 1 | 7d80be479afba9441c974740095ce22438b22946 | 9,138 | gesture-app | MIT License |
shared/src/commonTest/kotlin/com/lightningkite/ValidationTest.kt | lightningkite | 512,032,499 | false | {"Kotlin": 2373037, "TypeScript": 38628, "JavaScript": 118} | package com.lightningkite
import com.lightningkite.lightningdb.*
import com.lightningkite.serialization.*
import com.lightningkite.validation.validateFast
import kotlinx.serialization.Serializable
import kotlinx.serialization.json.Json
import kotlinx.serialization.serializer
import kotlin.test.Test
import kotlin.test.... | 1 | Kotlin | 1 | 5 | 8389a133ad7c3e34fdcd8964db3c69e9825d7a73 | 1,964 | lightning-server | MIT License |
languages/php/src/main/kotlin/io/vrap/codegen/languages/php/model/DocsProducer.kt | commercetools | 136,635,215 | false | null | package io.vrap.codegen.languages.php.model
import com.google.common.collect.Lists
import io.vrap.codegen.languages.extensions.getMethodName
import io.vrap.codegen.languages.php.AbstractRequestBuilder
import io.vrap.codegen.languages.php.ClientConstants
import io.vrap.codegen.languages.php.extensions.*
import io.vrap.... | 20 | null | 6 | 14 | 1d29b69ae49e17c28a26be72fd28979ca74922ec | 3,385 | rmf-codegen | Apache License 2.0 |
mathevaluator/src/main/kotlin/com/github/vatbub/mathevaluator/util/List+isLastElementANumberOrExpressionOrFunction.kt | vatbub | 137,678,673 | false | {"Maven POM": 3, "Ignore List": 1, "Markdown": 1, "Text": 3, "YAML": 1, "Kotlin": 26, "Java": 4} | /*-
* #%L
* math-evaluator
* %%
* Copyright (C) 2019 - 2022 <NAME>
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unl... | 0 | Kotlin | 0 | 1 | 161919fc92e35ea1c4d93baee8ad32a630bb17c3 | 905 | mathevaluator | Apache License 2.0 |
app/src/main/java/com/jichenhao/pettime_jichenhao/ui/composableComponents/PetInfoCard.kt | JiChenHao | 782,845,740 | false | {"Kotlin": 255530} | package com.jichenhao.pettime_jichenhao.ui.composableComponents
import android.graphics.Bitmap
import android.graphics.BitmapFactory
import android.util.Log
import androidx.compose.foundation.Image
import androidx.compose.foundation.gestures.detectTapGestures
import androidx.compose.foundation.layout.Arrangement
impor... | 0 | Kotlin | 0 | 0 | cef5eca3199b29cc14043a622a39458998cc17c3 | 8,471 | PetTime | Apache License 2.0 |
app/src/main/java/com/exmple/baseprojectmvp/http/NetArrayListCallBack.kt | weileng11 | 189,573,322 | false | {"Gradle": 4, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 2, "Proguard": 2, "XML": 118, "Kotlin": 121, "Java": 20} | package com.exmple.baseprojectmvp.http
import com.exmple.corelib.http.entity.BaseBean
/**
* @author: ${bruce}
* @project: KotlinMvpExample-master
* @package: com.exmple.corelib.http.retrofit
* @description: 暂时没有用
* @date: 2019/6/4
* @time: 17:54
*/
interface NetArrayListCallBack <T>{
@Throws(Exception::c... | 0 | Kotlin | 0 | 0 | 584174718759919a6ddf31589a3e056c6990ddac | 457 | KotlinMvpExample-master | Apache License 2.0 |
library/src/main/java/io/callstats/event/info/EndpointInfo.kt | callstats-io | 129,705,126 | false | null | package io.callstats.event.info
import android.os.Build
import io.callstats.BuildConfig
internal data class EndpointInfo(val appVersion: String? = null) {
val type = "native"
val os = "Android"
val osVersion = Build.VERSION.RELEASE
val buildVersion = BuildConfig.VERSION_NAME
} | 1 | Kotlin | 2 | 5 | 65b22d6d4154169b0e32bc5e5b1441a4615a7ac0 | 287 | callstats-android | MIT License |
src/test/kotlin/cc/ekblad/toml/parser/ListTests.kt | valderman | 426,810,086 | false | {"Kotlin": 235023, "Shell": 99} | package cc.ekblad.toml.parser
import cc.ekblad.toml.TomlValue
import cc.ekblad.toml.UnitTest
import java.time.LocalDate
import kotlin.test.Test
class ListTests : UnitTest {
@Test
fun `can parse empty list`() {
listOf("[]", "[\n]", "[ ]", "[# this is a comment\n]", "[\n\n# this is a comment\n]").asse... | 10 | Kotlin | 2 | 71 | a036e7c0f16e342ed4f285ebc66e9fac902cd469 | 3,089 | 4koma | MIT License |
distributed-raft/StateMachine.kt | AlexeyShik | 517,908,610 | false | null | package raft
import kotlinx.serialization.*
import raft.system.*
import java.util.*
/** Command performed by the client on [StateMachine]. */
@Serializable
data class Command(
/** Process that originally issued a command is expecting to get the result. */
val processId: Int,
/** Identifier of the command.... | 0 | Kotlin | 0 | 0 | 958171be3441828c07c0bfd22cfd73067c2a711f | 1,526 | Distributed-Programming | MIT License |
subprojects/assemble/build-verdict/src/main/kotlin/com/avito/android/build_verdict/internal/Error.kt | avito-tech | 230,265,582 | false | null | package com.avito.android.build_verdict.internal
import com.avito.utils.getCausesRecursively
import org.gradle.internal.exceptions.MultiCauseException
internal sealed class Error {
abstract val message: String
data class Multi(
override val message: String,
val errors: List<Single>
) : E... | 10 | null | 50 | 414 | 4dc43d73134301c36793e49289305768e68e645b | 1,426 | avito-android | MIT License |
app/src/main/java/com/google/firebase/ml/md/kotlin/objectdetection/DetectedObject.kt | FirebaseExtended | 183,648,846 | false | null | /*
* Copyright 2019 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 ... | 19 | null | 148 | 489 | 47cbc495a7dbcca6e3bcb1b63a49382a8f085ab0 | 2,791 | mlkit-material-android | Apache License 2.0 |
misk/src/main/kotlin/misk/web/actions/ReadinessCheckService.kt | cashapp | 113,107,217 | false | {"Kotlin": 3843790, "TypeScript": 232251, "Java": 83564, "JavaScript": 5073, "Shell": 3462, "HTML": 1536, "CSS": 58} | package misk.web.actions
import com.google.common.annotations.VisibleForTesting
import com.google.common.util.concurrent.AbstractIdleService
import com.google.common.util.concurrent.ServiceManager
import misk.healthchecks.HealthCheck
import misk.healthchecks.HealthStatus
import misk.tasks.RepeatedTaskQueue
import misk... | 169 | Kotlin | 169 | 400 | 13dcba0c4e69cc2856021270c99857e7e91af27d | 2,525 | misk | Apache License 2.0 |
idea/testData/libraries/navigation/decompiled/LibrariesPackage.kt | staltz | 52,061,310 | true | {"Java": 15450397, "Kotlin": 8578737, "JavaScript": 176060, "HTML": 22810, "Lex": 17327, "Protocol Buffer": 13024, "ANTLR": 9689, "CSS": 9431, "Shell": 3931, "IDL": 3257, "Groovy": 3010, "Batchfile": 2831} | // IntelliJ API Decompiler stub source generated from a class file
// Implementation of methods is not available
package testData.libraries
[public val globalVal: testData.libraries.Pair<kotlin.Int, kotlin.String> /* compiled code */]
[public val globalValWithGetter: kotlin.Long /* compiled code */]
[public val kot... | 0 | Java | 0 | 1 | ff00bde607d605c4eba2d98fbc9e99af932accb6 | 1,489 | kotlin | Apache License 2.0 |
app/src/main/java/com/linkjf/climita/data/mapper/CurrentMapper.kt | linkjf | 683,250,481 | false | null | package com.linkjf.climita.data.mapper
import com.linkjf.climita.data.models.CurrentEntity
import com.linkjf.climita.domain.models.Current
import javax.inject.Inject
class CurrentMapper @Inject constructor(
private val conditionMapper: ConditionMapper
) : Mapper<CurrentEntity, Current> {
override fun mapFrom... | 0 | Kotlin | 0 | 0 | 4106c139f9247639d2c3e870b8386f53eabf811b | 744 | climita | Apache License 2.0 |
window.kt | fpeterek | 137,389,280 | false | {"Kotlin": 3301} | package game
import java.awt.Dimension
import javax.swing.JFrame
class Window(game: Game): JFrame("Window") {
init {
add(game)
addKeyListener(game)
defaultCloseOperation = JFrame.EXIT_ON_CLOSE
size = Dimension(600, 400)
isResizable = false
isVisible = true
... | 0 | Kotlin | 0 | 0 | 0470771634796f9d9514ff9b9a56b1ea9efb28ff | 324 | Kotlin_game_blueprint | MIT License |
src/main/kotlin/nz/ahw/kompat/hk2/binding/ScopedNamedBindingBuilder.kt | alexwestphal | 115,575,363 | false | null | /*-----------------------------------------------------*\
** **
** kompat-hk2: Kompatibility for HK2 **
** Kotlin Compatibility Project (Kompat) **
** Copyright 2017-2018, <NAME> **
** https://github.com/ahwnz/ko... | 0 | Kotlin | 0 | 1 | b37b00d861ed23cf3542f952ea0d4bb4bb117e05 | 1,750 | kompat-hk2 | Apache License 2.0 |
app/src/main/java/com/github/malitsplus/shizurunotes/ui/shared/SharedViewModelCharaEquipmentFactory.kt | HerDataSam | 261,453,486 | false | null | package com.github.malitsplus.shizurunotes.ui.shared
import androidx.lifecycle.ViewModel
import androidx.lifecycle.ViewModelProvider
import java.lang.reflect.InvocationTargetException
class SharedViewModelCharaEquipmentFactory (
private val sharedChara: SharedViewModelChara,
private val shardEquipment: Shared... | 1 | null | 1 | 12 | aa7afa182a0c8b53fe711b6ca2584502a477d9af | 1,158 | KasumiNotes | Apache License 2.0 |
app/src/main/java/cn/cqautotest/sunnybeach/http/network/AppNetwork.kt | anjiemo | 378,095,612 | false | null | package cn.cqautotest.sunnybeach.http.network
import cn.cqautotest.sunnybeach.http.api.app.AppApi
/**
* author : <NAME>
* github : https://github.com/anjiemo/SunnyBeach
* time : 2021/10/01
* desc : App信息获取
*/
object AppNetwork {
suspend fun checkAppUpdate() = AppApi.checkAppUpdate()
suspend fun get... | 0 | Kotlin | 18 | 95 | a2402da1cb6af963c829a69d9783053f15d866b5 | 371 | SunnyBeach | Apache License 2.0 |
src/main/kotlin/com/team4099/lib/logging/TunableNumber.kt | team4099 | 560,942,123 | false | null | package com.team4099.lib.logging
import com.team4099.robot2023.config.constants.Constants
import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard
/**
* Taken from
* https://github.com/Mechanical-Advantage/SwerveDevelopment/blob/main/src/main/java/frc/robot/util/TunableNumber.java
*/
class TunableNumber(dashboar... | 7 | Kotlin | 2 | 9 | d114a9a0cd8de83d438df424b74adf7844050354 | 2,084 | ChargedUp-2023 | MIT License |
arrow-libs/fx/arrow-benchmarks-fx/src/jmh/kotlin/arrow/benchmarks/Cancellable.kt | clojj | 343,913,289 | true | {"Kotlin": 6274993, "SCSS": 78040, "JavaScript": 77812, "HTML": 21200, "Scala": 8073, "Shell": 2474, "Ruby": 83} | package arrow.benchmarks
import arrow.core.Right
import arrow.fx.IO
import arrow.fx.extensions.io.concurrent.concurrent
import arrow.fx.fix
import org.openjdk.jmh.annotations.Benchmark
import org.openjdk.jmh.annotations.CompilerControl
import org.openjdk.jmh.annotations.Fork
import org.openjdk.jmh.annotations.Measurem... | 0 | null | 0 | 0 | 5eae605bbaeb2b911f69a5bccf3fa45c42578416 | 1,112 | arrow | Apache License 2.0 |
app/src/main/java/com/example/tee_together/LoginActivity.kt | ChicoState | 687,285,420 | false | {"Kotlin": 23662} | package com.example.tee_together
import android.content.Intent
import android.os.Bundle
import android.widget.Button
import android.widget.EditText
import android.widget.Toast
import androidx.appcompat.app.AppCompatActivity
import com.google.firebase.auth.FirebaseAuth
class LoginActivity : AppCompatActivity() {
... | 9 | Kotlin | 0 | 0 | 2cd643cfd2f5b0e8670dda11b3d6aeb9fb20b9a6 | 2,065 | Tee-Together | MIT License |
app/src/main/java/com/petpooja/store/data/api/database/CartDao.kt | droidwithme | 442,346,484 | false | {"Kotlin": 80480} | package com.petpooja.store.data.api.database
import androidx.room.*
import com.petpooja.store.data.api.database.entity.CartEntity
@Dao
interface CartDao {
@Query("SELECT * FROM cart")
fun getAll(): List<CartEntity>
@Delete
fun delete(product: CartEntity)
@Query("DELETE FROM cart")
fun empt... | 0 | Kotlin | 0 | 0 | 3763417410ebac7ba7c7ab35c1d6a5074bebe8ac | 668 | petpooja-test | Apache License 2.0 |
app/src/main/java/co/tiagoaguiar/tutorial/jokerappdev/view/HomeFragment.kt | mantunesgithub | 625,252,230 | false | null | package co.tiagoaguiar.tutorial.jokerappdev.view
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.ProgressBar
import android.widget.Toast
import androidx.fragment.app.Fragment
import androidx.navigation.fragment.findNavController
i... | 0 | Kotlin | 0 | 0 | 7daba28a8ffcb90a8f2986931a43424a362ce79e | 2,814 | joker | MIT License |
app/src/main/java/com/example/employeeapplication/cache/rom/EmployeeDAO.kt | letatanhhuy | 317,697,147 | false | null | package com.example.employeeapplication.cache.rom
import androidx.room.Dao
import androidx.room.Insert
import androidx.room.OnConflictStrategy
import androidx.room.Query
@Dao
interface EmployeeDAO {
@Query("select * from employeeroomentity")
fun getAllEmployee():List<EmployeeRoomEntity>
@Insert(onConflict... | 0 | Kotlin | 0 | 0 | a6e32679eac9a5626d5509b517c056c8b24b744f | 409 | EmployeeApplication | MIT License |
app/src/main/java/com/example/ranich/ui/component/topbar/MainTopBar.kt | NoraHeithur | 791,614,008 | false | {"Kotlin": 164741} | package com.example.ranich.ui.component.topbar
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.size
import androidx.compos... | 0 | Kotlin | 0 | 0 | 1bf6fe606862a7d29d2598f60d9abe89fba2b572 | 3,795 | Ranich | MIT License |
sdkCore/src/main/java/com/hyperring/sdk/core/nfc/HyperRingNFC.kt | yoonil-hypercycle | 834,749,904 | false | {"Kotlin": 88780} | package com.hyperring.sdk.core.nfc
import android.app.Activity
import android.content.Context
import android.nfc.NfcAdapter
import android.util.Log
import com.hyperring.sdk.core.data.HyperRingDataNFCInterface
class HyperRingNFC {
companion object {
private var initialized = false
private var adapte... | 0 | Kotlin | 0 | 0 | 1c434229fba5cab919d5891eb6ae5b593407a410 | 5,689 | HyperRing-for-FIDO-2-App | Apache License 2.0 |
app/src/main/java/com/etasdemir/ethinspector/ui/block/components/BlockTransactionItem.kt | etasdemir | 584,191,764 | false | null | package com.etasdemir.ethinspector.ui.block.components
import androidx.compose.foundation.background
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.material3.MaterialTheme
import androidx.compo... | 0 | Kotlin | 0 | 1 | 6d1c42bb7558e6f82578f2a013b63af25d10c91e | 2,024 | eth-inspector | MIT License |
app/src/main/java/com/example/alarmclock/presentation/alarm_screen/ui/AlarmActivity.kt | info-kareemmohamed | 795,287,595 | false | {"Kotlin": 64960} | package com.example.alarmclock.presentation.alarm_screen.ui
import java.util.Calendar
import android.os.Build
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.view.View
import androidx.activity.viewModels
import androidx.databinding.DataBindingUtil
import com.example.alarmclock.R... | 1 | Kotlin | 0 | 1 | 5bd6fbca1197f2b663d15f2fbd460ca9ea9795b8 | 4,246 | WakeUp | MIT License |
Final/data/src/main/java/ubb/thesis/david/data/workers/BaseWorker.kt | davidleiti | 163,836,279 | false | {"Text": 1, "Markdown": 1, "Gradle": 6, "Java Properties": 2, "Shell": 1, "Ignore List": 5, "Batchfile": 1, "Kotlin": 123, "JSON": 1, "Proguard": 2, "XML": 66, "Java": 2} | package ubb.thesis.david.data.workers
import android.content.Context
import android.widget.Toast
import androidx.work.Worker
import androidx.work.WorkerParameters
import org.jetbrains.anko.runOnUiThread
import java.util.concurrent.CountDownLatch
abstract class BaseWorker(appContext: Context, workerParameters: WorkerP... | 0 | Kotlin | 0 | 2 | 59ca0edd6bf8f004c0a712ce532fcc107f58d147 | 995 | Monumental | MIT License |
platform/core-impl/src/com/intellij/util/graph/impl/HierarchyTreeImpl.kt | JetBrains | 2,489,216 | 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... | 284 | null | 5162 | 16,707 | def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0 | 3,338 | intellij-community | Apache License 2.0 |
platform/lang-impl/src/com/intellij/formatting/blocks/CStyleComment.kt | androidports | 115,100,208 | 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... | 6 | null | 0 | 4 | 6e4f7135c5843ed93c15a9782f29e4400df8b068 | 4,039 | intellij-community | Apache License 2.0 |
src/main/kotlin/fr/o80/aoc/day21/Day21.kt | olivierperez | 310,899,127 | false | null | package fr.o80.aoc.day21
class Day21 {
fun part1(parsed: Int): Int {
TODO()
}
fun parse1(input: String): Int {
TODO()
}
fun part2(parsed: Int): Int {
TODO()
}
fun parse2(input: String): Int {
TODO()
}
}
| 0 | Kotlin | 1 | 2 | a52ea4e58b273a1aec55500802ad210c24257498 | 273 | AdventOfCode-KotlinStarterKit | Apache License 2.0 |
app/src/main/java/com/winterprojects/tvmazeapp/domain/cast/dtos/SelfXDto.kt | CristianoWinter10 | 427,190,987 | false | {"Kotlin": 100578} | package com.winterprojects.tvmazeapp.domain.cast.dtos
import com.winterprojects.tvmazeapp.domain.cast.models.SelfXModel
data class SelfXDto(
val href: String
)
fun SelfXDto.toModel(): SelfXModel {
return SelfXModel(
this.href
)
} | 0 | Kotlin | 0 | 1 | 172516b151689332e0671449105b501cbd665ac8 | 252 | tvmaze-app-android | MIT License |
packages/canvas/src-native/canvas-android/canvas/src/main/java/org/nativescript/canvas/TNSWebGLRenderingContext.kt | NativeScript | 293,639,798 | false | null | package org.nativescript.canvas
import android.graphics.Bitmap
import android.opengl.GLES20
import android.os.Build
import android.os.Build.VERSION_CODES
import org.nativescript.canvas.extensions.*
import java.io.UnsupportedEncodingException
import java.nio.*
import java.nio.charset.Charset
import java.nio.charset.Sta... | 22 | null | 8 | 76 | cc723b4504a6878d8e25ec6b1fea22f5ca949f30 | 114,648 | canvas | Apache License 2.0 |
ui/src/main/java/de/iskae/ui/di/module/DataModule.kt | iskae | 170,329,616 | false | null | package de.iskae.ui.di.module
import dagger.Binds
import dagger.Module
import de.iskae.data.WeatherDataRepository
import de.iskae.domain.repository.WeatherRepository
@Module
abstract class DataModule {
@Binds
abstract fun bindDataRepository(dataRepository: WeatherDataRepository): WeatherRepository
} | 2 | Kotlin | 0 | 0 | 594f574c90ffe7ca078e4ccdc2a87d998d3d7a6a | 306 | YetAnotherWeather | MIT License |
app/src/main/java/tech/thdev/mediaprojectionexample/ui/service/VideoViewService.kt | taehwandev | 25,468,091 | false | null | package tech.thdev.mediaprojectionexample.ui.service
import android.annotation.SuppressLint
import android.content.Context
import android.content.Intent
import android.graphics.Color
import android.graphics.PixelFormat
import android.os.Build
import android.os.IBinder
import android.view.Gravity
import android.view.La... | 1 | Kotlin | 12 | 40 | b3ebcc7d88bfd62941eb2604363a620a230da27c | 5,377 | MediaProjectionExample | Apache License 2.0 |
core/src/iosMain/kotlin/io/shortway/kobankat/models/PricingPhase.ios.kt | JayShortway | 758,647,648 | false | null | package io.shortway.kobankat.models
public actual data class PricingPhase (
public actual val billingPeriod: Period,
public actual val recurrenceMode: RecurrenceMode,
public actual val billingCycleCount: Int?,
public actual val price: Price,
public actual val offerPaymentMode: OfferPaymentMode?,
) | 8 | null | 2 | 9 | f374c234be5b1fc5da36dbf0ddcfe0398d871cf5 | 319 | kobankat | MIT License |
CriminalIntent/app/src/main/java/com/huymee/android/criminalintent/Crime.kt | HuyMy | 718,041,080 | false | {"Kotlin": 43172} | package com.huymee.android.criminalintent
import androidx.room.Entity
import androidx.room.PrimaryKey
import java.util.Date
import java.util.UUID
@Entity
data class Crime(
@PrimaryKey val id: UUID,
val title: String,
val date: Date,
val isSolved: Boolean,
val suspect: String = "",
val contactI... | 11 | Kotlin | 0 | 1 | aa71ecb3be3d8bee7672a7b1e2cb25aa094ea5ca | 375 | Android-Programming-The-Big-Nerd-Ranch-Guide-5th | Apache License 2.0 |
compiler/kodein-resolver-test/src/commonTest/kotlin/org/kodein/di/resolver/CheckKSP.kt | kosi-libs | 34,046,231 | false | {"Kotlin": 666847, "Java": 16368} | package org.kodein.di.resolver
import org.kodein.di.DI
import org.kodein.di.bindFactory
import org.kodein.di.bindSingleton
import org.kodein.di.new
import kotlin.test.Test
import kotlin.test.assertEquals
// TODO: WIP
class CheckKSP {
private val di = DI {
bindSingleton("DEF") { Bar() }
bindSinglet... | 6 | Kotlin | 174 | 3,189 | 573b264a3f6f5f7145583081efc318c4303fc4d2 | 939 | Kodein | MIT License |
src/main/kotlin/io/github/saneea/dvh/feature/binary/ToRandomArt.kt | saneea | 122,739,039 | false | {"Kotlin": 119970, "Batchfile": 280} | package io.github.saneea.dvh.feature.binary
import io.github.saneea.dvh.Feature
import io.github.saneea.dvh.Feature.Meta
import org.apache.commons.cli.CommandLine
import org.apache.commons.cli.Option
import java.io.InputStream
import java.io.PrintStream
class ToRandomArt :
Feature,
Feature.CLI,
Feature.CL... | 4 | Kotlin | 0 | 0 | 0b258b751db3278455f60f645111456799d99ca3 | 4,339 | dev-helper | MIT License |
src/test/kotlin/de/flapdoodle/kfx/usecase/tab2/graphmodeleditor/events/ModelEvent.kt | flapdoodle-oss | 451,526,335 | false | {"Kotlin": 364915, "Java": 153590, "CSS": 23336, "Shell": 189} | package de.flapdoodle.kfx.controls.grapheditor.model
import de.flapdoodle.kfx.controls.grapheditor.types.SlotId
sealed class ModelEvent<T> {
data class TryToConnect<T>(val vertex: VertexId<T>, val slot: SlotId): ModelEvent<T>()
data class TryToConnectTo<T>(val startVertex: VertexId<T>, val startSlot: SlotId, val... | 0 | Kotlin | 1 | 0 | 62dc208ceebb2f0741b8f118ff1ab9a15979fced | 529 | de.flapdoodle.kfx | Apache License 2.0 |
src/test/kotlin/de/flapdoodle/kfx/usecase/tab2/graphmodeleditor/events/ModelEvent.kt | flapdoodle-oss | 451,526,335 | false | {"Kotlin": 364915, "Java": 153590, "CSS": 23336, "Shell": 189} | package de.flapdoodle.kfx.controls.grapheditor.model
import de.flapdoodle.kfx.controls.grapheditor.types.SlotId
sealed class ModelEvent<T> {
data class TryToConnect<T>(val vertex: VertexId<T>, val slot: SlotId): ModelEvent<T>()
data class TryToConnectTo<T>(val startVertex: VertexId<T>, val startSlot: SlotId, val... | 0 | Kotlin | 1 | 0 | 62dc208ceebb2f0741b8f118ff1ab9a15979fced | 529 | de.flapdoodle.kfx | Apache License 2.0 |
shared/src/commonMain/kotlin/com/grappim/aipal/di/viewModelModule.kt | Grigoriym | 819,323,833 | false | {"Kotlin": 195288, "Swift": 615} | package com.grappim.aipal.di
import com.grappim.aipal.data.local.LocalDataStorage
import com.grappim.aipal.data.recognition.STTFactory
import com.grappim.aipal.data.repo.AiPalRepo
import com.grappim.aipal.data.uuid.UuidGenerator
import com.grappim.aipal.feature.chat.ChatViewModel
import org.koin.compose.viewmodel.dsl.... | 10 | Kotlin | 1 | 3 | fd543fafaa8bbee7a024b42703a11d518eee4071 | 639 | AiPal | Apache License 2.0 |
shared/src/commonMain/kotlin/com/grappim/aipal/di/viewModelModule.kt | Grigoriym | 819,323,833 | false | {"Kotlin": 195288, "Swift": 615} | package com.grappim.aipal.di
import com.grappim.aipal.data.local.LocalDataStorage
import com.grappim.aipal.data.recognition.STTFactory
import com.grappim.aipal.data.repo.AiPalRepo
import com.grappim.aipal.data.uuid.UuidGenerator
import com.grappim.aipal.feature.chat.ChatViewModel
import org.koin.compose.viewmodel.dsl.... | 10 | Kotlin | 1 | 3 | fd543fafaa8bbee7a024b42703a11d518eee4071 | 639 | AiPal | Apache License 2.0 |
montecristo/src/test/kotlin/com/datastax/montecristo/fileLoaders/ArtifactsTest.kt | datastax-labs | 764,557,778 | false | {"Kotlin": 1562703, "Shell": 29445, "CSS": 6059, "HTML": 2490, "Dockerfile": 1633} | /*
* Copyright DataStax, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wri... | 0 | Kotlin | 3 | 6 | 30d71ae652578da68d6beb7f79927002ecb27a8a | 10,157 | Montecristo | Apache License 2.0 |
apps/expo-go/android/expoview/src/main/java/host/exp/exponent/kernel/ExperienceKey.kt | expo | 65,750,241 | false | {"Gemfile.lock": 1, "YAML": 79, "Git Config": 1, "JSON with Comments": 175, "Ignore List": 236, "JSON": 713, "Markdown": 291, "JavaScript": 1979, "Text": 62, "Git Attributes": 7, "Shell": 66, "Ruby": 99, "TSX": 976, "Gradle": 106, "Java Properties": 5, "Batchfile": 4, "INI": 8, "Proguard": 10, "XML": 273, "Kotlin": 121... | package host.exp.exponent.kernel
import expo.modules.manifests.core.Manifest
import org.json.JSONException
import java.io.UnsupportedEncodingException
import java.net.URLEncoder
data class ExperienceKey(
val scopeKey: String
) {
@Throws(UnsupportedEncodingException::class)
fun getUrlEncodedScopeKey(): String = ... | 668 | TypeScript | 5226 | 32,824 | e62f80228dece98d5afaa4f5c5e4fb195f3daa15 | 515 | expo | Apache License 2.0 |
app/src/main/java/id/dionix/kiro/dialog/WiFiDialog.kt | dionixid | 583,373,459 | false | {"Kotlin": 407147} | package id.dionix.kiro.dialog
import android.app.Dialog
import android.content.DialogInterface
import android.graphics.Color
import android.graphics.drawable.ColorDrawable
import android.os.Bundle
import android.view.*
import android.view.inputmethod.EditorInfo
import androidx.activity.addCallback
import androidx.appc... | 0 | Kotlin | 0 | 1 | 0ecaca8cf25092c6d9dfaf53b91081975e7616ba | 6,850 | Kiro-Android | MIT License |
plugin/src/main/kotlin/CleanQuestions.kt | cs124-illinois | 585,572,354 | false | null | package edu.illinois.cs.cs125.questioner.plugin
import org.gradle.api.DefaultTask
import org.gradle.api.file.FileCollection
import org.gradle.api.plugins.JavaPluginExtension
import org.gradle.api.tasks.InputFiles
import org.gradle.api.tasks.TaskAction
@Suppress("unused")
abstract class CleanQuestions : DefaultTask() ... | 0 | Kotlin | 0 | 0 | 7f92b6985ee36ae158c2fdf9160d6a6324364dd9 | 773 | questioner | MIT License |
sam-kotlin-core/src/test/kotlin/software/elborai/api/models/EntityBeneficialOwnerCreateParamsTest.kt | DefinitelyATestOrg | 787,029,213 | false | {"Kotlin": 12996764, "Shell": 3638, "Dockerfile": 366} | // File generated from our OpenAPI spec by Stainless.
package software.elborai.api.models
import java.time.LocalDate
import java.time.OffsetDateTime
import java.time.format.DateTimeFormatter
import java.util.UUID
import org.junit.jupiter.api.Test
import org.assertj.core.api.Assertions.assertThat
import org.apache.hc.... | 1 | Kotlin | 0 | 0 | 3a5229b8bc5cf400f07efbd41e00b9cf40663f97 | 10,206 | sam-kotlin | Apache License 2.0 |
clients/kotlin/generated/src/test/kotlin/org/openapitools/client/models/AudienceInsightsResponseTest.kt | oapicf | 489,369,143 | false | {"Markdown": 13009, "YAML": 64, "Text": 6, "Ignore List": 43, "JSON": 688, "Makefile": 2, "JavaScript": 2261, "F#": 1305, "XML": 1120, "Shell": 44, "Batchfile": 10, "Scala": 4677, "INI": 23, "Dockerfile": 14, "Maven POM": 22, "Java": 13384, "Emacs Lisp": 1, "Haskell": 75, "Swift": 551, "Ruby": 1149, "Cabal Config": 2, ... | /**
*
* Please note:
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* Do not edit this file manually.
*
*/
@file:Suppress(
"ArrayInDataClass",
"EnumEntryName",
"RemoveRedundantQualifierName",
"UnusedImport"
)
package org.openapitools.client.models
import i... | 0 | Java | 0 | 2 | dcd328f1e62119774fd8ddbb6e4bad6d7878e898 | 2,188 | pinterest-sdk | MIT License |
Android/auikit/src/main/java/io/agora/auikit/service/http/room/RoomDataTransferObjects.kt | zjc19891106 | 640,717,623 | true | {"Markdown": 25, "Text": 4, "Ignore List": 5, "Ruby": 8, "Swift": 124, "OpenStep Property List": 5, "XML": 147, "JSON": 35, "YAML": 3, "Java Properties": 2, "Gradle": 5, "Shell": 2, "Batchfile": 2, "INI": 3, "Proguard": 3, "Java": 188, "Kotlin": 42, "JavaScript": 1, "Maven POM": 1, "Dockerfile": 1, "JSON with Comments"... | package io.agora.auikit.service.http.room
import io.agora.auikit.model.AUiRoomInfo
data class CreateRoomReq(
val roomName: String,
val userId: String,
val userName: String,
val userAvatar: String,
val micSeatCount: Int
)
data class CreateRoomResp(
val roomId: String,
val roomName: String
)... | 0 | null | 0 | 0 | 9bc6b8a85cb033e3025e63665ae41837f21781f8 | 677 | AUIKitKaraoke | MIT License |
app/src/kotlin/java/com/bear2b/sampleapp/App.kt | andysklyarov | 368,168,151 | true | {"Java Properties": 2, "Markdown": 3, "Shell": 1, "Batchfile": 1, "Proguard": 1, "Kotlin": 12, "Java": 11} | package com.bear2b.sampleapp
import androidx.multidex.MultiDexApplication
import com.bear.common.sdk.BearSdk
class App : MultiDexApplication() {
override fun onCreate() {
super.onCreate()
BearSdk.getInstance(this).init("<KEY>")
}
} | 0 | Java | 0 | 0 | f437b8db559f41f9c97512069866bb2032de5345 | 258 | bear_sdk_demo_android | Apache License 2.0 |
ProjectFeedget/entity/src/main/java/kr/mashup/feedget/entity/CreationStatus.kt | mash-up-kr | 109,485,907 | false | {"Java": 101694, "Kotlin": 74233} | package kr.mashup.feedget.entity
enum class CreationStatus {
PROCEEDING, DEADLINE
}
| 1 | null | 1 | 1 | 78dd05a711215f55d9a3bf8bde7c2349ee134f73 | 89 | feedget-android | Apache License 2.0 |
thelema-studio/src/commonMain/kotlin/app/thelema/studio/Selection3D.kt | zeganstyl | 275,550,896 | false | null | package app.thelema.studio
import app.thelema.data.DATA
import app.thelema.data.IByteData
import app.thelema.ecs.IEntity
import app.thelema.ecs.componentOrNull
import app.thelema.ecs.sibling
import app.thelema.g3d.IScene
import app.thelema.g3d.ISceneInstance
import app.thelema.g3d.ITransformNode
import app.thelema.gl.... | 1 | Kotlin | 3 | 39 | 18532db00f6654f7cd2c151a116d2a4670360131 | 6,997 | thelema-engine | Apache License 2.0 |
spring-web/src/main/kotlin/us/venky/library/springweb/controllers/TitleController.kt | ramana-git | 580,225,190 | false | null | package us.venky.library.springweb.controllers
import org.springframework.web.bind.annotation.*
import us.venky.library.springweb.entities.Member
import us.venky.library.springweb.services.MemberService
import java.util.UUID
@RestController @RequestMapping("titles")
class TitleController(private val service: MemberSe... | 0 | Kotlin | 0 | 0 | 782005f51cf583445281ea20e37160951d52843b | 1,027 | library | MIT License |
src/main/kotlin/repo/RepoManager.kt | nea89o | 637,563,904 | false | {"Kotlin": 590698, "Java": 124868, "Nix": 1217} | package moe.nea.firmament.repo
import io.github.moulberry.repo.NEURepository
import io.github.moulberry.repo.NEURepositoryException
import io.github.moulberry.repo.data.NEUItem
import io.github.moulberry.repo.data.NEURecipe
import io.github.moulberry.repo.data.Rarity
import net.fabricmc.fabric.api.client.event.lifecyc... | 25 | Kotlin | 6 | 37 | 8ba16d8612de96fa5f3dbbbb01c77cb721a2acc9 | 5,655 | Firmament | Apache License 2.0 |
app/src/main/java/xyz/theadityamishra/kalvi/ui/dashboard/DashboardFragment.kt | mishraaditya595 | 391,327,943 | false | null | package xyz.theadityamishra.kalvi.ui.dashboard
import android.graphics.Color
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import androidx.fragment.app.Fragment
import androidx.lifecycle.Observer
import androidx.lifecyc... | 0 | Kotlin | 0 | 0 | dc4f0c1b4be4d8de26dbcc484d8569c258e1c4cb | 2,262 | Kalvi | MIT License |
subprojects/samples-tests/src/test/kotlin/org/gradle/kotlin/dsl/samples/CompositeBuildsSampleTest.kt | vdvorak83 | 156,388,201 | false | {"Gradle Kotlin DSL": 99, "Markdown": 43, "Shell": 36, "INI": 44, "Ignore List": 12, "Batchfile": 35, "EditorConfig": 1, "YAML": 2, "Text": 3, "Kotlin": 201, "Gradle": 4, "Groovy": 1, "XML": 10, "Java": 11, "HTML": 1} | package org.gradle.kotlin.dsl.samples
import org.hamcrest.CoreMatchers.containsString
import org.junit.Assert.assertThat
import org.junit.Test
class CompositeBuildsSampleTest : AbstractSampleTest("composite-builds") {
@Test
fun `run cli`() {
assertThat(
build(":run").output,
... | 1 | null | 1 | 1 | 70aca202558f2f6e43cd8ead3ec95d669bfd7b33 | 427 | kotlin-dsl | Apache License 2.0 |
app/src/main/java/com/ramitsuri/notificationjournal/broadcast/NotificationActionReceiver.kt | ramitsuri | 667,037,607 | false | {"Kotlin": 394166, "Shell": 8383, "Python": 3405, "HTML": 1499, "JavaScript": 1016} | package com.ramitsuri.notificationjournal.broadcast
import android.content.BroadcastReceiver
import android.content.Context
import android.content.Intent
import android.util.Log
import androidx.core.app.RemoteInput
import com.ramitsuri.notificationjournal.MainApplication
import com.ramitsuri.notificationjournal.core.d... | 0 | Kotlin | 0 | 0 | 8baeb0c4bcca82195f5cddbe192c937b257be1f5 | 1,566 | notification-journal | MIT License |
demo/src/main/java/eu/kevin/demo/screens/chooseaccount/adapters/AccountsListAdapter.kt | getkevin | 375,151,388 | false | null | package eu.kevin.demo.screens.chooseaccount.adapters
import android.view.LayoutInflater
import android.view.ViewGroup
import coil.load
import eu.kevin.common.extensions.getDrawableCompat
import eu.kevin.common.extensions.setDebounceClickListener
import eu.kevin.demo.R
import eu.kevin.demo.data.database.entities.Linked... | 0 | Kotlin | 2 | 5 | d151488596c3a95eb1c00719411810dd2c7d3357 | 1,904 | kevin-android | MIT License |
gi/src/commonMain/kotlin/data/login/StopServerInfo.kt | Anime-Game-Servers | 642,871,918 | false | {"Kotlin": 612536} | package data.login
import org.anime_game_servers.core.base.annotations.AddedIn
import org.anime_game_servers.core.base.Version
import org.anime_game_servers.core.base.annotations.proto.ProtoModel
@AddedIn(Version.GI_CB1)
@ProtoModel
interface StopServerInfo {
var stopBeginTime: Int
var stopEndTime: Int
@A... | 0 | Kotlin | 3 | 6 | 6a45cbe89682bc25543b24db9a21f8012d9f53bc | 424 | anime-game-multi-proto | MIT License |
backend/src/main/kotlin/fr/gouv/cacem/monitorenv/infrastructure/api/adapters/bff/outputs/controlPlans/ControlPlanDataOutput.kt | MTES-MCT | 462,794,012 | false | {"TypeScript": 1358478, "Kotlin": 815514, "Python": 209694, "Shell": 21375, "CSS": 19997, "JavaScript": 8409, "Makefile": 8169, "Dockerfile": 6554, "PLpgSQL": 4966, "HTML": 864} | package fr.gouv.cacem.monitorenv.infrastructure.api.adapters.bff.outputs.controlPlans
import fr.gouv.cacem.monitorenv.domain.entities.controlPlan.ControlPlanSubThemeEntity
import fr.gouv.cacem.monitorenv.domain.entities.controlPlan.ControlPlanTagEntity
import fr.gouv.cacem.monitorenv.domain.entities.controlPlan.Contro... | 190 | TypeScript | 1 | 3 | f755ce65909e473e564ff5e273b9b4930e82ad4d | 1,281 | monitorenv | MIT License |
app/src/main/java/com/example/moviefindefapd/data/models/DescriprionMovies.kt | produman66 | 800,913,388 | false | {"Kotlin": 57478, "Dockerfile": 1889} | package com.example.moviefindefapd.data.models
data class DescriprionMovies(
val completed: Boolean,
val countries: List<Country>,
val coverUrl: Any,
val description: String,
val editorAnnotation: Any,
val endYear: Any,
val filmLength: Int,
val genres: List<Genre>,
val has3D: Boolea... | 0 | Kotlin | 1 | 0 | 510f0e2a221897f0260fc5bcf0bc4c0f0f71e8f0 | 1,359 | MovieFindefAPD | MIT License |
app/src/main/java/ru/gordinmitya/facedetection/MainActivity.kt | gordinmitya | 249,784,635 | false | {"C++": 134851, "Java": 13471, "Kotlin": 6098, "C": 2038, "CMake": 1175} | package ru.gordinmitya.facedetection
import android.annotation.SuppressLint
import android.graphics.*
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.taobao.android.mnn.MNNForwardType
import kotlinx.android.synthetic.main.activity_main.*
class MainActivity : AppCompatActivity() {
... | 0 | C++ | 4 | 2 | f8d6e5e3fd367d05025c17fe552c4cd9f93e5b17 | 3,407 | face_detection | MIT License |
kt/godot-library/src/main/kotlin/godot/gen/godot/Marker3D.kt | utopia-rise | 289,462,532 | false | null | // THIS FILE IS GENERATED! DO NOT EDIT IT MANUALLY!
@file:Suppress("PackageDirectoryMismatch", "unused", "FunctionName", "RedundantModalityModifier",
"UNCHECKED_CAST", "JoinDeclarationAndAssignment", "USELESS_CAST",
"RemoveRedundantQualifierName", "NOTHING_TO_INLINE", "NON_FINAL_MEMBER_IN_OBJECT",
"Redundan... | 60 | null | 28 | 412 | fe7379a450ed32ad069f3b672709a2520b86f092 | 1,621 | godot-kotlin-jvm | MIT License |
app/src/main/java/com/artrointel/moodmaker/kotesrenderengine/gl/Shader.kt | artrointel | 387,339,888 | false | null | package com.artrointel.moodmaker.kotesrenderengine.gl
import com.artrointel.moodmaker.kotesrenderengine.utils.Debugger
import android.opengl.GLES20
import android.opengl.GLES30
import java.nio.IntBuffer
class Shader(_type: TYPE, _shaderString: String) : IGLObject {
enum class TYPE {
VERTEX,
FRAGME... | 0 | Kotlin | 0 | 0 | dddf5e64a5f70c12a8819940051ff5ce1d84c2ab | 1,399 | MoodMaker | MIT License |
app/src/main/java/dev/engel/gitty/repository/AuthRepository.kt | CodyEngel | 264,292,447 | false | null | package dev.engel.gitty.repository
import android.annotation.SuppressLint
import android.content.SharedPreferences
import dev.engel.gitty.di.CoroutineIODispatcher
import dev.engel.gitty.repository.AuthModule.Companion.PREF_AUTH_STATE
import kotlinx.coroutines.CoroutineDispatcher
import kotlinx.coroutines.withContext
i... | 0 | Kotlin | 0 | 1 | 03f549d5ef5488778d2a1042c1815342629bcacd | 1,664 | Gitty | Apache License 2.0 |
RMQ/SegmentTree + Lazy propagation.kt | wangchaohui | 737,511,233 | false | {"Kotlin": 104739} | class SegmentTree<T, M>(
private val n: Int,
private val identity: T,
private val combine: (T, T) -> T,
private val identityModification: M,
private val combineModification: (M, M) -> M,
private val modify: M.(T) -> T,
) {
private val h = 32 - Integer.numberOfLeadingZeros(n)
private val ... | 0 | Kotlin | 0 | 2 | ac25856d485a01e2be372d57fc69f9edd301d624 | 2,483 | kotlin-lib | Apache License 2.0 |
wow-webflux/src/main/kotlin/me/ahoo/wow/webflux/route/event/state/RegenerateStateEventFunction.kt | Ahoo-Wang | 628,167,080 | false | null | /*
* Copyright [2021-present] [<NAME> <<EMAIL>> (https://github.com/Ahoo-Wang)].
* 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... | 5 | null | 8 | 87 | 033a1e805cbed84145047ab2cfa9d83baa0b711c | 2,999 | Wow | Apache License 2.0 |
jenjin-core/src/main/kotlin/com/binarymonks/jj/core/specs/render/BackingTexture.kt | lgwillmore | 79,716,845 | false | {"Kotlin": 419262, "Java": 381851, "OpenEdge ABL": 8978, "GLSL": 3774} | package com.binarymonks.jj.core.specs.render
import com.badlogic.gdx.graphics.Texture
import com.badlogic.gdx.utils.Array
import com.badlogic.gdx.utils.Json
import com.badlogic.gdx.utils.JsonValue
import com.binarymonks.jj.core.JJ
import com.binarymonks.jj.core.assets.AssetReference
import com.binarymonks.jj.core.rend... | 4 | Kotlin | 1 | 7 | 5b958f6b9a10eb342fb3fa190154029723d3593d | 1,581 | jenjin | Apache License 2.0 |
app/src/main/kotlin/com/ivanovsky/passnotes/domain/otp/OtpFlowFactory.kt | aivanovski | 95,774,290 | false | null | package com.ivanovsky.passnotes.domain.otp
import kotlin.math.max
import kotlin.math.min
import kotlinx.coroutines.delay
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.flow
object OtpFlowFactory {
private const val MIN_PROGRESS_REFRESH_DELAY_MILLIS = 200L
fun createCodeFlow(generator: To... | 7 | null | 4 | 53 | 83605c13c7f13e1f484aa00f6b3e9af622880888 | 1,753 | keepassvault | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.