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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OrderCenter/src/main/java/com/kotlin/order/ui/adapter/OrderGoodsAdapter.kt | starktonys | 140,391,283 | false | {"Kotlin": 263051, "Java": 7941} | package com.kotlin.order.ui.adapter
import android.content.Context
import android.support.v7.widget.RecyclerView
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import com.kotlin.base.ext.loadUrl
import com.kotlin.base.ui.adapter.BaseRecyclerViewAdapter
import com.kotlin.order... | 0 | Kotlin | 1 | 8 | 7cb3f869a27c9f8a6ba44b72a7d328a1383ec4aa | 1,500 | KotlinMall-App | Apache License 2.0 |
mvrx-rxjava2/src/test/kotlin/com/airbnb/mvrx/BaseTest.kt | airbnb | 139,500,036 | false | null | package com.airbnb.mvrx
import com.airbnb.mvrx.mocking.MockBehavior
import com.airbnb.mvrx.test.MavericksTestRule
import org.junit.Ignore
import org.junit.Rule
import org.junit.runner.RunWith
import org.robolectric.RobolectricTestRunner
@RunWith(RobolectricTestRunner::class)
@Ignore("Base Class")
abstract class BaseT... | 61 | null | 498 | 5,816 | e920c4b0fe73183a3bb51e648066ebd5f7be3e8c | 576 | mavericks | Apache License 2.0 |
features/call/impl/src/main/kotlin/io/element/android/features/call/impl/DefaultElementCallEntryPoint.kt | element-hq | 546,522,002 | false | null | /*
* Copyright (c) 2024 New Vector Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | 263 | null | 129 | 955 | 31d0621fa15fe153bfd36104e560c9703eabe917 | 2,616 | element-x-android | Apache License 2.0 |
Android/dokit/src/main/java/com/didichuxing/doraemonkit/kit/main/MainIconDoKitView.kt | Wiredcraft | 531,460,111 | false | {"Markdown": 26, "Ruby": 5, "Java Properties": 6, "Objective-C": 856, "C": 8, "Batchfile": 2, "Shell": 18, "INI": 20, "Java": 732, "Kotlin": 529, "Swift": 26, "HTML": 9, "JavaScript": 100, "CSS": 2, "Proguard": 16, "C++": 3, "CMake": 1} | package com.didichuxing.doraemonkit.kit.main
import android.content.Context
import android.os.SystemClock
import android.view.LayoutInflater
import android.view.View
import android.widget.FrameLayout
import androidx.appcompat.app.AlertDialog
import com.didichuxing.doraemonkit.DoKit.launchFullScreen
import com.didichux... | 1 | null | 1 | 1 | a4e5ac0107b1a2918840ad8707d5278bf26a2fee | 2,060 | DoKit | Apache License 2.0 |
visionppi/app/src/main/java/org/mifos/visionppi/injection/component/ApplicationComponent.kt | yashk2000 | 250,595,640 | false | null | package org.mifos.visionppi.injection.component
import android.app.Application
import android.content.Context
import dagger.Component
import org.mifos.visionppi.api.BaseApiManager
import org.mifos.visionppi.api.DataManager
import org.mifos.visionppi.api.local.PreferencesHelper
import org.mifos.visionppi.injection.Appl... | 1 | null | 1 | 1 | 6f15ab8214fceebba913a97bf873b7af80880829 | 780 | ppi-vision | MIT License |
platform/configuration-store-impl/src/ModuleStateStorageManager.kt | mingyangchen | 40,174,403 | true | {"Shell": 13, "Markdown": 7, "Batchfile": 20, "Java": 47531, "HTML": 2355, "C++": 18, "C": 34, "Objective-C": 9, "Python": 6474, "Jupyter Notebook": 4, "Java Properties": 81, "JavaScript": 37, "CSS": 41, "INI": 168, "TeX": 4, "Makefile": 9, "Kotlin": 152, "Java Server Pages": 24, "Ruby": 2, "Perl": 3, "Scala": 1, "C#":... | /*
* Copyright 2000-2015 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... | 0 | Java | 0 | 0 | eb14ad8b907661076187bfac6c7afd6f5fabcc92 | 2,070 | intellij-community | Apache License 2.0 |
src/main/kotlin/org/rsmod/pathfinder/flag/CollisionFlag.kt | rsmod | 332,215,353 | false | null | @file:Suppress("MemberVisibilityCanBePrivate", "unused")
package org.rsmod.pathfinder.flag
public object CollisionFlag {
public const val WALL_NORTH_WEST: Int = 0x1
public const val WALL_NORTH: Int = 0x2
public const val WALL_NORTH_EAST: Int = 0x4
public const val WALL_EAST: Int = 0x8
public cons... | 1 | null | 8 | 3 | b8c547154cd181f7de29798dd06a3109490b07a0 | 4,447 | pathfinder | ISC License |
plugins/gradle/testSources/org/jetbrains/plugins/gradle/testFramework/GradleTestCase.kt | Maccimo | 18,582,736 | false | null | // Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package org.jetbrains.plugins.gradle.testFramework
import com.intellij.openapi.externalSystem.util.*
import com.intellij.openapi.vfs.VirtualFile
import org.gradle.util.GradleVersion
abstract class ... | 1 | null | 1 | 1 | aa7852d5f99bd8dcd44f6cb430e4e9b94eb96dd1 | 1,041 | intellij-community | Apache License 2.0 |
src/main/kotlin/com/anatawa12/decompiler/optimizer/controlFlows/SynchronizedFlowGenerator.kt | fixrtm | 287,526,773 | false | null | @file:Suppress("NestedLambdaShadowedImplicitParameter")
package com.anatawa12.decompiler.optimizer.controlFlows
import com.anatawa12.decompiler.processor.ProcessorContext
import com.anatawa12.decompiler.statementsGen.*
import kotlinx.collections.immutable.persistentListOf
import org.objectweb.asm.Label
/**
* Labels... | 0 | Kotlin | 0 | 0 | c61c444b335dfa911248c4462dae57eb44fdcc3c | 5,657 | Mataram | MIT License |
idea/idea-core/src/org/jetbrains/kotlin/idea/core/fileIndexUtils.kt | tnorbye | 162,147,688 | false | null | /*
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
* that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.idea.core
import com.intellij.openapi.roots.FileIndex
import com.intellij.openapi.vfs.VirtualFile
import org.jetbrains.jps.mod... | 1 | null | 2 | 2 | b6be6a4919cd7f37426d1e8780509a22fa49e1b1 | 1,677 | kotlin | Apache License 2.0 |
src/main/kotlin/ar/edu/utn/frba/tacs/tp/api/herocardsgame/integration/client/api/BiographyApi.kt | tacs-2021-1c-tp-hero-cards | 358,787,857 | false | {"Gradle": 1, "YAML": 3, "Dotenv": 1, "Gradle Kotlin DSL": 1, "Dockerfile": 1, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "Markdown": 1, "INI": 1, "JSON": 14, "Java": 1, "Kotlin": 132, "JavaScript": 1, "HTML": 1, "CSS": 1} | package ar.edu.utn.frba.tacs.tp.api.herocardsgame.integration.client.api
data class BiographyApi(
val response: String,
val error: String,
val fullName: String,
val alterEgos: String,
val aliases: List<String>,
val placeOfBirth: String,
val firstAppearance: String,
val publisher: String... | 20 | null | 1 | 1 | 5ddb882bfdef41c04eaca7a68afacbb2999457bb | 349 | hero-cards-game | MIT License |
mvrx/src/main/kotlin/com/airbnb/mvrx/MvRxStateFactory.kt | littleGnAl | 167,345,526 | false | null | package com.airbnb.mvrx
import androidx.annotation.RestrictTo
@RestrictTo(RestrictTo.Scope.LIBRARY)
interface MvRxStateFactory<VM : BaseMvRxViewModel<S>, S : MvRxState> {
fun createInitialState(
viewModelClass: Class<out VM>,
stateClass: Class<out S>,
viewModelContext: ViewModelContext,
... | 1 | null | 1 | 3 | 7ea6284530a0640f36d12508a669b4f4222902c3 | 3,231 | MvRx | Apache License 2.0 |
app/src/androidTest/java/com/edreams/android/workshops/kotlin/common/injection/TestApplicationModule.kt | nico-gonzalez | 105,786,885 | false | null | package com.edreams.android.workshops.kotlin.common.injection
import android.app.Application
import android.content.Context
import com.edreams.android.workshops.kotlin.common.resources.AndroidResourceProvider
import com.edreams.android.workshops.kotlin.injection.scopes.PerApplication
import com.edreams.android.worksho... | 1 | null | 1 | 6 | 4e81ba01ef1a379088cfe2c296be1c4bb336c9b3 | 687 | K-Places | Apache License 2.0 |
Interop/StubGenerator/src/main/kotlin/org/jetbrains/kotlin/native/interop/gen/MappingBridgeGenerator.kt | JetBrains | 58,957,623 | false | null | /*
* Copyright 2010-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... | 0 | null | 625 | 7,100 | 9fb0a75ab17e9d8cddd2c3d1802a1cdd83774dfa | 1,742 | kotlin-native | Apache License 2.0 |
buildSrc/src/main/java/datagenerator/SupportedLanguage.kt | hbb20 | 209,688,939 | false | null | package datagenerator
enum class SupportedLanguage(val identifier: String) {
ENGLISH("EN"),
GUJARATI("GU"),
JAPANESE("JA"),
} | 8 | null | 26 | 94 | afd480af71677a0a38ba3d15f8d5e3fa45fc3f20 | 138 | AndroidCountryPicker | MIT License |
app/src/main/java/com/mapbox/services/android/navigation/testapp/example/ui/PresenterState.kt | luugiathuy | 227,537,256 | true | {"Java": 1439669, "Kotlin": 697036, "Python": 4645, "Makefile": 3713, "JavaScript": 3107, "Shell": 1903} | package com.mapbox.services.android.navigation.testapp.example.ui
enum class PresenterState {
SHOW_LOCATION,
SEARCH,
SHOW_ROUTE,
NAVIGATE
}
| 0 | null | 0 | 1 | 2fb053cde5d83b706f4633da79ec80228a101f24 | 157 | mapbox-navigation-android | Apache License 2.0 |
pop-miners/pop-miners-common/src/main/kotlin/org/veriblock/miners/pop/core/OperationLogging.kt | VeriBlock | 179,742,374 | false | null | package org.veriblock.miners.pop.core
import kotlinx.serialization.Serializable
import kotlinx.serialization.builtins.ListSerializer
import kotlinx.serialization.json.Json
import mu.KLogger
import org.apache.logging.log4j.Level
import org.apache.logging.log4j.Level.DEBUG
import org.apache.logging.log4j.Level.ERROR
imp... | 72 | null | 16 | 12 | ef06c51c1410ba59da13403b65e367b21dcfed21 | 3,536 | nodecore | MIT License |
app/src/main/java/com/grindewald1900/shereats/view/fragment/ViewpagerSearchFragment.kt | Grindewald1900 | 419,738,068 | false | null | package com.grindewald1900.shereats.view.fragment
import android.content.Intent
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.ImageView
import android.widget.TextView
import androidx.fragment.app.Fragment
import com.bumptech.gli... | 1 | Kotlin | 0 | 1 | d81ca84c4758799f18251fe03888ce260cb229a9 | 2,194 | SherEats | Apache License 2.0 |
model/src/main/kotlin/hu/bme/mit/theta/interchange/jani/model/utils/Utils.kt | ftsrg | 151,930,212 | false | null | package hu.bme.mit.theta.interchange.jani.model.utils
fun String.upperSnakeToLowerKebabCase(): String = toLowerCase().replace("_", "-")
| 1 | Kotlin | 0 | 0 | 03b302e905396cd300b7c06d2a214d4dd8f9d0bc | 137 | theta-jani-interchange | Apache License 2.0 |
door-runtime/src/jvmTest/kotlin/com/ustadmobile/door/ext/StringByteArrayExtTest.kt | UstadMobile | 344,538,858 | false | null | package com.ustadmobile.door.ext
import org.junit.Assert.assertArrayEquals
import org.junit.Test
import java.security.MessageDigest
class StringByteArrayExtTest {
@Test
fun givenByteArray_whenConvertedToStringAndBackToByteArray_thenShouldBeTheSame() {
val testFileBytes = this::class.java
... | 0 | Kotlin | 0 | 89 | 58f93d9057ece78cc3f8be3d4d235c0204a15f11 | 689 | door | Apache License 2.0 |
app/src/main/java/com/jmnetwork/e_jartas/repository/BaseRepositoryImpl.kt | CV-JM-Network | 807,372,558 | false | {"Kotlin": 194535} | package com.jmnetwork.e_jartas.repository
import android.content.Context
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import com.jmnetwork.e_jartas.model.DasboardModel
import com.jmnetwork.e_jartas.model.DashboardResponse
import com.jmnetwork.e_jartas.model.LoginRequest
import com.jmnet... | 0 | Kotlin | 0 | 0 | 8507c23612ab61015a65db4b1040539a17ab9a51 | 3,061 | E-Jartas | MIT License |
KAdmob/src/commonMain/kotlin/io/github/kadmob/model/KAdmobBannerType.kt | the-best-is-best | 873,461,219 | false | {"Kotlin": 30365, "Swift": 782, "HTML": 352, "Ruby": 258} | package io.github.kadmob.model
enum class KAdmobBannerType {
BANNER, FULL_BANNER, LARGE_BANNER
} | 0 | Kotlin | 0 | 0 | a61168dc3e2c270e6f2b3689a8aa93f9903d6cb1 | 101 | KMMAdmob | Apache License 2.0 |
app/src/main/java/com/mmdev/kudago/app/presentation/ui/favourites/FavouritesPagerAdapter.kt | muramrr | 259,294,007 | false | null | /*
*
* Copyright (c) 2020. <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | 0 | Kotlin | 0 | 4 | a41341a5c08e4a49dcd98ec56d3fec7fcb5954d6 | 1,287 | Kudago-Application | Apache License 2.0 |
uilogic/home/src/commonMain/kotlin/tech/takahana/iconwallpaper/uilogic/home/HomeSelectBackgroundColorUiLogic.kt | Takahana | 435,170,985 | false | null | package tech.takahana.iconwallpaper.uilogic.home
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.flow.StateFlow
import tech.takahana.iconwallpaper.shared.domain.domainobject.ColorType
/**
* パターン選択ページのUiLogic
*/
interface HomeSelectBackgroundColorUiLogic {
val backgroundColorStateFlow: StateF... | 4 | Kotlin | 0 | 0 | c9d09a9ececd87cb68564de421ac4ca4fe28f449 | 509 | IconWallpaper | MIT License |
app/src/main/java/com/faigenbloom/familybudget/ui/register/RegisterPageViewModel.kt | ZakharchenkoWork | 706,155,222 | false | {"Kotlin": 697553} | package com.faigenbloom.familybudget.ui.register
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.faigenbloom.familybudget.domain.auth.RegisterUserUseCase
import com.faigenbloom.familybudget.domain.family.GetFamilyNameUseCase
import kotlinx.coroutines.flow.MutableStateFlow
import... | 0 | Kotlin | 0 | 0 | d4aa1aac7d1b8d0c56749886b9b18a2be1f8790f | 6,336 | FamilyBudget | Apache License 2.0 |
lib/data/src/main/java/com/jnyakush/carhub/data/di/Module.kt | jamesnyakush | 227,105,123 | false | null | package com.jnyakush.carhub.data.di
class Module | 2 | Kotlin | 4 | 9 | 71c992b17d447e6e7e73d5133ece6b73b901ef28 | 49 | truck-hub | Apache License 2.0 |
src/main/kotlin/com/robotutor/iot/widgets/invoice/services/InvoiceService.kt | IOT-echo-system | 768,195,181 | false | {"Kotlin": 139188, "Shell": 609, "HTML": 428, "Dockerfile": 130} | package com.robotutor.iot.widgets.invoice.services
import com.robotutor.iot.logging.logOnError
import com.robotutor.iot.logging.logOnSuccess
import com.robotutor.iot.mqtt.models.AuditEvent
import com.robotutor.iot.mqtt.services.MqttPublisher
import com.robotutor.iot.utils.audit.auditOnError
import com.robotutor.iot.ut... | 0 | Kotlin | 0 | 0 | 666bd611eb5ee588525c20b05c094c3b10df1802 | 4,860 | cloud-backend-service | MIT License |
clients/android/NewsBlur/app/src/main/java/com/newsblur/activity/Profile.kt | samuelclay | 101,248 | false | null | package com.newsblur.activity
import android.os.Bundle
import android.text.TextUtils
import android.view.MenuItem
import androidx.lifecycle.lifecycleScope
import com.newsblur.R
import com.newsblur.databinding.ActivityProfileBinding
import com.newsblur.fragment.ProfileDetailsFragment
import com.newsblur.network.APIMana... | 163 | null | 997 | 6,853 | cf9f0d9ef3403990f641f336f09009f791407e3b | 3,663 | NewsBlur | MIT License |
feature/explore/src/main/java/dev/enesky/feature/explore/navigation/ExploreDestination.kt | enesky | 708,119,546 | false | {"Kotlin": 338680, "Shell": 4890} | package dev.enesky.feature.explore.navigation
import androidx.navigation.NavGraphBuilder
import androidx.navigation.compose.composable
import dev.enesky.core.navigation.DoodleNavigationDestination
import dev.enesky.feature.explore.ExploreRoute
/**
* Created by Enes Kamil YILMAZ on 06/12/2023
*/
object ExploreDesti... | 28 | Kotlin | 0 | 9 | 1341678e0974fc0e0292836e9a8571da679150d9 | 592 | Doodle | Apache License 2.0 |
builder/src/commonMain/kotlin/pw/binom/builder/common/JobStatus.kt | caffeine-mgn | 196,877,393 | false | null | package pw.binom.builder.common
/*
import pw.binom.builder.server.Status
import pw.binom.json.*
class JobStatus(val job: ExecuteJob, val start: Long?, val end: Long?, val node: NodeInfo?, val status: Status.Type?) {
suspend fun write(ctx: ObjectCtx) {
ctx.run {
node("job") {
job... | 0 | Kotlin | 0 | 0 | 139606a956de5fc41b8cc92243e7e5905fa8b147 | 2,126 | Builder | Apache License 2.0 |
kotlin-mui-icons/src/main/generated/mui/icons/material/CommuteOutlined.kt | JetBrains | 93,250,841 | false | null | // Automatically generated - do not modify!
@file:JsModule("@mui/icons-material/CommuteOutlined")
package mui.icons.material
@JsName("default")
external val CommuteOutlined: SvgIconComponent
| 12 | null | 5 | 983 | a99345a0160a80a7a90bf1adfbfdc83a31a18dd6 | 194 | kotlin-wrappers | Apache License 2.0 |
decompose/src/androidMain/kotlin/com/arkivanov/decompose/DefaultComponentContextBuilder.kt | arkivanov | 437,015,897 | false | {"Kotlin": 700677} | package com.arkivanov.decompose
import androidx.activity.OnBackPressedDispatcher
import androidx.activity.OnBackPressedDispatcherOwner
import androidx.fragment.app.Fragment
import androidx.lifecycle.LifecycleOwner
import androidx.lifecycle.ViewModelStore
import androidx.lifecycle.ViewModelStoreOwner
import androidx.sa... | 2 | Kotlin | 84 | 2,207 | 8af551e8895951a5082a5d2750335713d673f80b | 4,630 | Decompose | Apache License 2.0 |
src/main/kotlin/uk/gov/justice/digital/hmpps/hmppsinterventionsservice/jpa/repository/SentReferralSummariesRepository.kt | ministryofjustice | 312,544,431 | false | null | package uk.gov.justice.digital.hmpps.hmppsinterventionsservice.jpa.repository
import org.springframework.data.jpa.domain.Specification
import org.springframework.data.jpa.repository.EntityGraph
import org.springframework.data.jpa.repository.JpaRepository
import org.springframework.data.jpa.repository.JpaSpecificationE... | 12 | Kotlin | 1 | 2 | 7c963c60ba9e3c6ef923a8e57e9488e8796fdf34 | 1,024 | hmpps-interventions-service | MIT License |
graphs/eacs/src/test/kotlin/com/anaplan/engineering/azuki/graphs/analysis/PathExists.kt | anaplan-engineering | 458,253,960 | false | {"Kotlin": 387125, "Groovy": 6043, "Shell": 1385, "CSS": 957} | package com.anaplan.engineering.azuki.graphs.analysis
import com.anaplan.engineering.azuki.core.runner.AnalysisScenario
import com.anaplan.engineering.azuki.graphs.dsl.GraphScenario
import com.anaplan.engineering.azuki.graphs.graphA
class PathExists : GraphScenario() {
@AnalysisScenario
fun noPath() {
... | 0 | Kotlin | 3 | 2 | 2a852b871384c449603c1c960d2c9f8a5e3de012 | 1,153 | azuki | MIT License |
themes/new-ui/new-ui-standalone/src/main/kotlin/org/jetbrains/jewel/themes/expui/standalone/control/Icon.kt | JetBrains | 440,164,967 | false | null | package io.kanro.compose.jetbrains.expui.control
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.size
import androidx.compose.runtime.Composable
import androidx.compose.runtime.remember
import androidx.compose.ui.Modifier
import androidx.compose.ui.geometry.Size
import androidx.... | 17 | null | 8 | 318 | 817adc042a029698983c9686d0f1497204bfdf14 | 4,486 | jewel | Apache License 2.0 |
src/main/kotlin/com/finnhub/api/models/ETFsCountryExposure.kt | njsoly | 362,377,870 | true | {"Kotlin": 237238, "Shell": 59} | /**
* Finnhub API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not... | 0 | Kotlin | 0 | 0 | 606005fb8f2d1255298a370ea84f2685c37c7cd1 | 978 | finnhub-kotlin | Apache License 2.0 |
app/src/main/java/com/sandoval/mypokedex/data/remote/repository/pokedex_detail/RemoteDataPokedexDetailRepository.kt | juanchosandox90 | 540,261,120 | false | null | package com.sandoval.mypokedex.data.remote.repository.pokedex_detail
import com.sandoval.mypokedex.data.network.Failure
import com.sandoval.mypokedex.data.remote.api.PokedexService
import com.sandoval.mypokedex.data.utils.Either
import com.sandoval.mypokedex.domain.models.pokedex_detail.DPokedexDetailResponse
import c... | 0 | Kotlin | 0 | 0 | 4f7140274cd0b531445124cce9574eac9ba1f9e2 | 1,310 | MyPokeDex | Apache License 2.0 |
shared/src/commonMain/kotlin/com/mutualmobile/harvestKmp/domain/usecases/userProjectUseCases/AssignProjectsToUsersUseCase.kt | mutualmobile | 495,292,087 | false | null | package com.mutualmobile.harvestKmp.domain.usecases.userProjectUseCases
import com.mutualmobile.harvestKmp.data.network.org.UserProjectApi
import com.mutualmobile.harvestKmp.domain.model.response.ApiResponse
import com.mutualmobile.harvestKmp.features.NetworkResponse
class AssignProjectsToUsersUseCase(private val use... | 0 | Kotlin | 4 | 41 | 763dd7f45f8271cebe9107c63f3532e1b14c666f | 584 | HarvestTimeKMP | Apache License 2.0 |
app/src/main/java/com/marverenic/reader/inject/PaperGraph.kt | marverenic | 101,457,590 | false | null | package com.marverenic.reader.inject
import com.marverenic.reader.ui.home.all.AllArticlesFragment
import com.marverenic.reader.ui.home.categories.CategoriesFragment
import com.marverenic.reader.ui.login.LoginActivity
import com.marverenic.reader.ui.login.LoginFragment
import com.marverenic.reader.ui.splash.SplashActiv... | 0 | Kotlin | 1 | 5 | e4ae8bda8a4f9f2ad73fcf95b2c3f759a60cd056 | 659 | Paper | Apache License 2.0 |
src/main/kotlin/com/sphericalchickens/osmptrailchallenge/model/Grid.kt | lwasser | 325,443,944 | true | {"Kotlin": 39568, "Python": 11338} | package com.sphericalchickens.osmptrailchallenge.model
import kotlin.math.ceil
class Grid(bounds: LatLngBounds, borderWidth: Int = 1, cellSizeMeters: Int = 200) {
private val width: Int
private val height: Int
private val grid = mutableListOf<Int>()
private val gridOfSegments = mutableListOf<MutableSet<String... | 0 | Kotlin | 2 | 1 | 5910db4ca79c58e15d640bf40236609baa5b389a | 3,996 | boulder-osmp-trails | Apache License 2.0 |
dsl/src/main/kotlin/io/cloudshiftdev/awscdkdsl/services/amplifyuibuilder/CfnComponentDsl.kt | cloudshiftinc | 667,063,030 | false | {"Kotlin": 63959868} | @file:Suppress(
"RedundantVisibilityModifier",
"RedundantUnitReturnType",
"RemoveRedundantQualifierName",
"unused",
"UnusedImport",
"ClassName",
"REDUNDANT_PROJECTION",
"DEPRECATION"
)
package io.cloudshiftdev.awscdkdsl.services.amplifyuibuilder
import io.cloudshiftdev.awscdkdsl.common... | 3 | Kotlin | 0 | 3 | c59c6292cf08f0fc3280d61e7f8cff813a608a62 | 16,233 | awscdk-dsl-kotlin | Apache License 2.0 |
app/src/main/java/com/breezefieldnationalplastic/features/photoReg/api/GetUserListPhotoRegProvider.kt | DebashisINT | 506,900,340 | false | {"Kotlin": 16116247, "Java": 1032208} | package com.breezefieldnationalplastic.features.photoReg.api
import com.breezefieldnationalplastic.features.stockAddCurrentStock.api.ShopAddStockApi
import com.breezefieldnationalplastic.features.stockAddCurrentStock.api.ShopAddStockRepository
object GetUserListPhotoRegProvider {
fun provideUserListPhotoReg(): G... | 0 | Kotlin | 0 | 1 | 5c48df58a8f91020101765983e8415304406fa6f | 903 | NationalPlastic | Apache License 2.0 |
bot/src/main/kotlin/com/almightyalpaca/jetbrains/plugins/discord/bot/commands/EvalCommand.kt | BGMP | 298,299,308 | true | {"Kotlin": 485566, "ANTLR": 1037, "Dockerfile": 133, "HTML": 9} | /*
* Copyright 2017-2020 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | 0 | Kotlin | 0 | 3 | 41bc8d6b9d862fe59941150e4da0e54e842868f7 | 3,330 | JetBrains-Shiba-Integration | Apache License 2.0 |
projects/simulation/src/main/kotlin/simulation/updating/NewEntities.kt | silentorb | 188,621,122 | false | {"Kotlin": 862571, "Python": 32172, "SuperCollider": 5214, "Faust": 528} | package simulation.updating
import silentorb.mythic.audio.soundsFromEvents
import silentorb.mythic.breeze.AnimationInfoMap
import silentorb.mythic.ent.*
import silentorb.mythic.happenings.Command
import silentorb.mythic.happenings.Events
import silentorb.mythic.performing.Performance
import silentorb.mythic.performing... | 0 | Kotlin | 0 | 0 | 03a1e2c082343ee3d64c8d1ffadad156fca6f9e1 | 3,516 | marloth-kotlin | MIT License |
projects/simulation/src/main/kotlin/simulation/updating/NewEntities.kt | silentorb | 188,621,122 | false | {"Kotlin": 862571, "Python": 32172, "SuperCollider": 5214, "Faust": 528} | package simulation.updating
import silentorb.mythic.audio.soundsFromEvents
import silentorb.mythic.breeze.AnimationInfoMap
import silentorb.mythic.ent.*
import silentorb.mythic.happenings.Command
import silentorb.mythic.happenings.Events
import silentorb.mythic.performing.Performance
import silentorb.mythic.performing... | 0 | Kotlin | 0 | 0 | 03a1e2c082343ee3d64c8d1ffadad156fca6f9e1 | 3,516 | marloth-kotlin | MIT License |
src/test/kotlin/land/tbp/y2019/day_8_space_image_format/Day8KtTest.kt | TheBestPessimist | 124,364,980 | false | {"Python": 111986, "Kotlin": 67608} | package land.tbp.y2019.day_8_space_image_format
import org.junit.jupiter.api.Assertions.assertEquals
import org.junit.jupiter.api.Nested
import org.junit.jupiter.api.Test
internal class Day8KtTest {
@Test
fun problem1() {
assertEquals(1360, solve1())
}
@Nested
internal inner class Problem... | 0 | Python | 0 | 0 | ee9c97f7d85b7f5ebc0bea285938ca75f2fdfddc | 752 | Advent-of-Code-Problems | Do What The F*ck You Want To Public License |
core/data/src/main/java/com/qure/data/repository/onboarding/OnboardingRepository.kt | hegleB | 613,354,773 | false | {"Kotlin": 570270} | package com.qure.data.repository.onboarding
interface OnboardingRepository {
suspend fun readOnboarding(key: String): String?
suspend fun writeOnboarding(
key: String,
value: String,
)
}
| 0 | Kotlin | 0 | 1 | 6625bdb6336f9e493aa8285c4f02725d47a1c9f1 | 217 | FishingMemory | The Unlicense |
src/db/ConnectionPool.kt | 18zuzu18 | 393,795,268 | false | null | package db
import com.zaxxer.hikari.HikariDataSource
import java.sql.SQLException
import com.zaxxer.hikari.HikariConfig
import main.logger
import java.sql.Connection
import java.util.logging.Level
class ConnectionPool {
private val ds: HikariDataSource
@get:Throws(SQLException::class)
val connection: Con... | 0 | Kotlin | 0 | 0 | 536f7de609157494963289bdcbb13d0a320f5757 | 1,131 | HTTPRequester2 | MIT License |
app/src/main/java/com/example/az/presentation/auth/fragment/LoginFragment.kt | annzzu | 440,827,643 | false | null | package com.example.az.presentation.auth.fragment
import android.util.Log.d
import androidx.core.widget.doAfterTextChanged
import androidx.fragment.app.activityViewModels
import androidx.lifecycle.lifecycleScope
import androidx.navigation.fragment.findNavController
import com.example.az.databinding.FragmentLoginBindin... | 0 | Kotlin | 0 | 2 | cf3c2213dc7c2fd1c610dbdfa5e664ad04729f9b | 4,454 | AZ | MIT License |
samples/reactive-webapp/src/main/kotlin/org/springframework/fu/sample/reactive/Routes.kt | jnizet | 136,587,970 | false | null | package org.springframework.fu.sample.reactive
import org.springframework.fu.module.webflux.routes
import org.springframework.fu.ref
fun reactiveRoutes() = routes {
val userHandler = ref<UserHandler>()
GET("/", userHandler::listView)
GET("/api/user", userHandler::listApi)
GET("/conf", userHandler::conf)
}
| 0 | null | 0 | 3 | a5e28c413d4e30578d59d235c890fa06ad1f1d30 | 313 | spring-fu | Apache License 2.0 |
app/src/main/java/ru/ivk1800/tg/di/module/FeatureModule.kt | ivk1800 | 429,483,837 | false | {"Kotlin": 57209} | package ru.ivk1800.tg.di.module
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent
import ru.ivk1800.tg.feature.auth.AuthenticationManager
import ru.ivk1800.tg.feature.auth.api.FeatureAuthApi
import ru.ivk1800.tg.feature.auth.impl.FeatureAuthDepend... | 0 | Kotlin | 0 | 0 | 9c8bce51d7860541959ddbd5118ca0a70c310151 | 1,449 | telegram-compose | Apache License 2.0 |
src/main/kotlin/toys/timberix/promack/LogManager.kt | TIMBERIX | 876,117,800 | false | {"Kotlin": 6449, "Dockerfile": 336} | package toys.timberix.promack
import java.io.File
import java.util.logging.FileHandler
import java.util.logging.Formatter
import java.util.logging.LogRecord
import java.util.logging.Logger
private const val logFile = "promack.log"
val logger: Logger = Logger.getLogger("toys.timberix.promack").apply {
File(logFil... | 0 | Kotlin | 0 | 0 | 769f8a5cacc36828d8049b571acac67ee4113fbc | 582 | promack | MIT License |
browser-kotlin/src/jsMain/kotlin/web/html/HTMLHyperlinkElementUtils.kt | karakum-team | 393,199,102 | false | {"Kotlin": 6272741} | // Automatically generated - do not modify!
@file:Suppress(
"NON_ABSTRACT_MEMBER_OF_EXTERNAL_INTERFACE",
)
package web.html
sealed external interface HTMLHyperlinkElementUtils {
/**
* Returns the hyperlink's URL's fragment (includes leading "#" if non-empty).
*
* Can be set, to change the URL'... | 0 | Kotlin | 8 | 36 | 95b065622a9445caf058ad2581f4c91f9e2b0d91 | 3,680 | types-kotlin | Apache License 2.0 |
android/src/main/java/network/ramp/reactnativesdk/MapUtil.kt | RampNetwork | 407,100,695 | false | {"Kotlin": 19314, "TypeScript": 14096, "Java": 7402, "Swift": 5091, "Ruby": 4011, "Objective-C": 2682, "JavaScript": 1661, "Objective-C++": 1146, "C": 103} | package network.ramp.reactnativesdk
import com.facebook.react.bridge.Arguments
import com.facebook.react.bridge.ReadableMap
import com.facebook.react.bridge.ReadableType
import com.facebook.react.bridge.WritableMap
import network.ramp.reactnativesdk.ArrayUtil.toArray
import network.ramp.reactnativesdk.ArrayUtil.toJSON... | 0 | Kotlin | 0 | 2 | cccce2aae2982074c68eef84dc74023808c47e5b | 4,341 | ramp-sdk-rn | MIT License |
kombucha/test/src/commonMain/kotlin/io/github/ikarenkov/kombucha/test/ReducerTestData.kt | ikarenkov | 435,272,449 | false | {"Kotlin": 74393} | package io.github.ikarenkov.kombucha.test
import io.github.ikarenkov.kombucha.reducer.ReducerResult
data class ReducerTestData<Msg : Any, State : Any, Eff : Any>(
val msg: Msg,
val expectedState: State,
val expectedEffects: Set<Eff> = emptySet()
) {
constructor(msg: Msg, reducerResult: ReducerResult<S... | 2 | Kotlin | 1 | 7 | ef19e6741159ca88c2caecd1a026580f304081fb | 1,229 | Kombucha-UDF | MIT License |
src/main/kotlin/cn/labzen/web/annotation/ServiceHandler.kt | labzen | 738,857,437 | false | {"Kotlin": 59709} | package cn.labzen.web.annotation
import kotlin.reflect.KClass
/**
* 指向处理业务逻辑的service层业务类
*/
@MustBeDocumented
@Target(AnnotationTarget.CLASS)
@Retention(AnnotationRetention.RUNTIME)
@LabzenWeb
annotation class ServiceHandler(
val main: KClass<*>,
// val organiser: KClass<out ServiceOrganiser>
val services: Arr... | 0 | Kotlin | 0 | 0 | f41b26415c77d25fa6dba6db98e374844fb3fe25 | 341 | web | Apache License 2.0 |
src/main/kotlin/cn/labzen/web/annotation/ServiceHandler.kt | labzen | 738,857,437 | false | {"Kotlin": 59709} | package cn.labzen.web.annotation
import kotlin.reflect.KClass
/**
* 指向处理业务逻辑的service层业务类
*/
@MustBeDocumented
@Target(AnnotationTarget.CLASS)
@Retention(AnnotationRetention.RUNTIME)
@LabzenWeb
annotation class ServiceHandler(
val main: KClass<*>,
// val organiser: KClass<out ServiceOrganiser>
val services: Arr... | 0 | Kotlin | 0 | 0 | f41b26415c77d25fa6dba6db98e374844fb3fe25 | 341 | web | Apache License 2.0 |
auth/src/main/java/com/nowiwr01p/auth/ui/splash_screen/SplashScreenViewModel.kt | nowiwr01w | 584,138,480 | false | null | package com.nowiwr01p.auth.ui.splash_screen
import com.google.firebase.auth.FirebaseAuth
import com.nowiwr01p.auth.AuthScreen.*
import com.nowiwr01p.auth.ui.splash_screen.SplashScreenContract.*
import com.nowiwr01p.core_ui.view_model.BaseViewModel
import com.nowiwr01p.domain.app.GetSplashScreenAnimationUrlUseCase
impo... | 0 | Kotlin | 1 | 3 | 0ebdf8f0cc072cf1f07810a6c36e710f373bfc7f | 3,105 | Protest | MIT License |
src/sketches/Grass.kt | JBWills | 291,822,812 | false | null | package sketches
import controls.controlsealedclasses.Slider.Companion.slider
import controls.controlsealedclasses.Slider2D.Companion.slider2D
import controls.panels.ControlStyle
import controls.panels.TabsBuilder.Companion.tabs
import controls.panels.panelext.noisePanel
import controls.panels.panelext.sliderPair
impo... | 0 | Kotlin | 0 | 0 | 569b27c1cb1dc6b2c37e79dfa527b9396c7a2f88 | 3,282 | processing-sketches | MIT License |
app/src/main/java/com/manasmalla/portfolioomatic/ui/theme/Theme.kt | ManasMalla | 506,664,890 | false | null | package com.manasmalla.portfolioomatic.ui.theme
import android.app.Activity
import android.os.Build
import androidx.compose.foundation.isSystemInDarkTheme
import androidx.compose.material3.*
import androidx.compose.runtime.Composable
import androidx.compose.runtime.SideEffect
import androidx.compose.ui.graphics.toArgb... | 0 | Kotlin | 0 | 0 | 648627c53ebbb5107c33fbef410cb816b66a360d | 2,080 | Portfolio-o-Matic | MIT License |
simple-icons/src/commonMain/kotlin/compose/icons/simpleicons/Launchpad.kt | DevSrSouza | 311,134,756 | false | {"Kotlin": 36719092} | package compose.icons.simpleicons
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter
impor... | 17 | Kotlin | 25 | 571 | a660e5f3033e3222e3553f5a6e888b7054aed8cd | 3,144 | compose-icons | MIT License |
framework/src/main/java/com/kortisan/framework/redux/middleware/TaggingMiddleware.kt | cobogt | 805,950,893 | false | {"Kotlin": 307796, "Java": 134} | package com.kortisan.framework.redux.middleware
/** * * * * * * * * *
* Project KoreFrame
* Created by Jacobo G Tamayo on 30/12/22.
* * * * * * * * * * **/
import com.kortisan.framework.redux.actions.ReduxAction
import com.kortisan.framework.redux.controllers.ControllersProxy
import com.kortisan.framework.redux.stor... | 0 | Kotlin | 1 | 20 | c3dd59ba705ba6872801ac1c605ded8555c1c4c3 | 697 | kortisan-android-framework | MIT License |
app/src/main/java/com/cindaku/holanear/activity/DetailChatActivity.kt | metacdq | 567,627,709 | false | {"Kotlin": 356041} | package com.cindaku.holanear.activity
import android.Manifest
import android.annotation.SuppressLint
import android.app.Activity
import android.content.ClipData
import android.content.ClipboardManager
import android.content.Context
import android.content.Intent
import android.content.pm.PackageManager
import android.n... | 0 | Kotlin | 1 | 0 | 94e3e0e88f637a8dc484fa236f0ccdfecf0b7447 | 27,992 | holanear | MIT License |
src/jvmMain/kotlin/baaahs/net/JvmUdpProxy.kt | baaahs | 174,897,412 | false | {"Kotlin": 4817815, "C": 1529197, "C++": 661363, "GLSL": 412779, "JavaScript": 61944, "HTML": 56277, "CMake": 30499, "CSS": 4340, "Shell": 2381, "Python": 1450} | package baaahs.net
import baaahs.io.ByteArrayReader
import baaahs.io.ByteArrayWriter
import baaahs.net.JvmNetwork.Companion.msgId
import baaahs.net.JvmNetwork.Companion.networkScope
import baaahs.util.Logger
import io.ktor.http.cio.websocket.*
import io.ktor.websocket.*
import kotlinx.coroutines.launch
import java.net... | 88 | Kotlin | 6 | 40 | 77ad22b042fc0ac440410619dd27b468c3b3a600 | 4,886 | sparklemotion | MIT License |
cassandra-service/src/main/kotlin/fund/cyber/cassandra/common/Keyspaces.kt | KevinLiLu | 141,660,908 | true | {"Kotlin": 576953, "Dockerfile": 1315, "Shell": 168} | package fund.cyber.cassandra.common
import org.springframework.data.cassandra.core.cql.keyspace.CreateKeyspaceSpecification
import org.springframework.data.cassandra.core.cql.keyspace.DataCenterReplication
fun defaultKeyspaceSpecification(keyspaces: String): CreateKeyspaceSpecification {
return CreateKeyspaceSpec... | 0 | Kotlin | 0 | 0 | d5f015ac97bd21ce964090167fa7f78b02f6a02f | 449 | cyber-search | MIT License |
patterns/src/main/kotlin/io/nullables/api/playground/patterns/strategy2/Client.kt | AlexRogalskiy | 331,076,596 | false | null | /*
* Copyright (C) 2021. <NAME>. 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 applic... | 13 | Kotlin | 1 | 2 | d7173ec1d9ef227308d926e71335b530c43c92a8 | 938 | gradle-kotlin-sample | Apache License 2.0 |
app/src/main/java/com/jfma75/movieskotlindemo/MoviesKotlinDemo.kt | compose-forks | 274,463,097 | true | {"Kotlin": 21547} | package com.jfma75.movieskotlindemo
import android.app.Application
import dagger.hilt.android.HiltAndroidApp
@HiltAndroidApp
class MoviesKotlinDemo : Application() {
} | 0 | null | 0 | 0 | 3ecb909e16fda74bd90a521ced9b135e3beb46f0 | 169 | MoviesKotlinDemo | MIT License |
bitgouel-api/src/main/kotlin/team/msg/domain/faq/presentation/web/CreateFaqWebRequest.kt | School-of-Company | 700,741,727 | false | {"Kotlin": 623016, "Shell": 764, "Dockerfile": 206} | package team.msg.domain.faq.presentation.web
import javax.validation.constraints.NotBlank
import javax.validation.constraints.Size
data class CreateFaqWebRequest(
@field:NotBlank
@field:Size(max=100)
val question: String,
@field:NotBlank
@field:Size(max=3000)
val answer: String
) | 2 | Kotlin | 0 | 17 | 0af55dd2947f965bb4aadafe5ab4dea30925a23d | 307 | Bitgouel-Server | MIT License |
src/main/kotlin/me/mattco/daysOptimal/day19.kt | mattco98 | 160,000,311 | false | null | package me.mattco.days
import me.mattco.utils.ResourceLoader.getTextResource
object Day19 {
private val input = getTextResource("/day19")
fun part1(): Any? {
return -1
}
fun part2(): Any? {
return -1
}
}
fun main() {
println("=== Day 19 ===")
println("Part 1: ${Day19.par... | 0 | Kotlin | 0 | 0 | 9ec878de1cd727bb56ba7cb17796c766d4894252 | 370 | AdventOfCode2018 | MIT License |
src/main/kotlin/plodsoft/mygvm/Config.kt | arucil | 136,592,455 | false | {"Kotlin": 200743} | package plodsoft.mygvm
import com.nikhaldimann.inieditor.IniEditor
import plodsoft.mygvm.util.parseColor
import java.io.IOException
import java.lang.NullPointerException
object Config {
@JvmStatic
var steps = 0; private set
@JvmStatic
var delay = 0; private set
@JvmStatic
var isDelayEnabled... | 0 | Kotlin | 2 | 1 | e7a2af0289c4b7226ad5dc5ee00a3ba860420f50 | 2,636 | MyGVM | MIT License |
infra/store/items-store/src/main/kotlin/mm/inventory/infra/store/jdbi/itemclasses/ItemClassDao.kt | maciejmalecki | 306,044,059 | false | null | package mm.inventory.infra.store.jdbi.itemclasses
import mm.inventory.app.productplanner.itemclass.ItemClassAppId
import org.jdbi.v3.sqlobject.statement.SqlQuery
import org.jdbi.v3.sqlobject.statement.SqlUpdate
/**
* Dao to access Item_Classes table and relatives.
* -------------------------------------------------... | 0 | Kotlin | 0 | 2 | 05680ded9c9039089a4170606909ba3280e8527d | 5,421 | inventory | MIT License |
src/main/kotlin/group/openalcoholics/cocktailparty/model/Cocktail.kt | OpenAlcoholics | 145,478,646 | false | null | package group.openalcoholics.cocktailparty.model
import com.fasterxml.jackson.annotation.JsonIgnore
import group.openalcoholics.cocktailparty.db.dao.CocktailCategoryDao
import group.openalcoholics.cocktailparty.db.dao.GlassDao
import org.jdbi.v3.core.mapper.Nested
/**
* Information about a cocktail and its recipe.
... | 4 | Kotlin | 0 | 0 | 39d9c23bfa8eaf411199063ddcf0aca7adb241fa | 3,704 | CocktailParty | MIT License |
cas-authorizer/src/main/kotlin/dev/vozniack/cas/authorizer/service/PrivilegeService.kt | vozniack | 416,716,896 | false | null | package dev.vozniack.cas.authorizer.service
import dev.vozniack.cas.authorizer.entity.privilege.Privilege
import dev.vozniack.cas.authorizer.entity.privilege.RelatedPrivilege
import dev.vozniack.cas.authorizer.entity.privilege.addPrivilegeIfNotExist
import dev.vozniack.cas.authorizer.entity.privilege.collectCodes
impo... | 0 | Kotlin | 0 | 0 | b9f536103d4024196fc19b9646f0a97bf7b83533 | 1,481 | cas | MIT License |
app/src/main/java/com/ozturksahinyetisir/week3v2/LoginFragment.kt | ozturksahinyetisir | 537,395,689 | false | null | package com.ozturksahinyetisir.week3v2
import android.content.Context.MODE_PRIVATE
import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.navigation.fragment.findNavController
import com.ozturksahinyetisir... | 0 | Kotlin | 0 | 0 | 18d9958b517f72f8f8aadeca61e43117cadae707 | 1,760 | Navigation-App | MIT License |
app/src/main/java/com/oseo27jul/rickandmorty/ui/viewmodel/LocationViewModel.kt | osvaldo-esparza | 776,554,856 | false | {"Kotlin": 70604} | package com.oseo27jul.rickandmorty.ui.viewmodel
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.oseo27jul.rickandmorty.data.model.Locations
import com.oseo27jul.rickandmorty.domain.LocationUseCase
imp... | 0 | Kotlin | 0 | 0 | d34098d1709fde168baac7abcc4e6f3dac1c45b1 | 2,289 | RickAndMorty | Apache License 2.0 |
core/src/main/kotlin/com/weedow/spring/data/search/alias/ConfigurableAliasResolutionService.kt | gitter-badger | 310,432,814 | true | {"Kotlin": 400259, "Java": 16661, "ANTLR": 2692} | package com.weedow.spring.data.search.alias
/**
* Configuration interface to be implemented by most if not all [AliasResolutionService] types.
*
* Consolidates the read-only operations exposed by [AliasResolutionService] and the mutating operations of [AliasResolverRegistry] to allow for convenient ad-hoc addition ... | 0 | null | 0 | 0 | d6a214fa822bd2b694625358c157d2bf715de27e | 456 | spring-data-search | MIT License |
azure-communication-ui/calling/src/main/java/com/azure/android/communication/ui/calling/redux/reducer/PermissionReducer.kt | Azure | 429,521,705 | false | null | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.android.communication.ui.redux.reducer
import com.azure.android.communication.ui.redux.action.Action
import com.azure.android.communication.ui.redux.action.PermissionAction
import com.azure.android.commun... | 7 | null | 14 | 16 | 9b39c17256362d6095a78124a1c5ff4890b46f58 | 1,378 | communication-ui-library-android | MIT License |
app/src/main/java/com/trivago/ui/adapter/CharacterFilmsRecyclerViewAdapter.kt | aldefy | 371,089,453 | true | {"Kotlin": 113316, "Shell": 107} | package com.trivago.ui.adapter
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.recyclerview.widget.DiffUtil
import androidx.recyclerview.widget.ListAdapter
import androidx.recyclerview.widget.RecyclerView
import com.trivago.core.data.models.Film
import com.trivago.databinding.ItemFilmB... | 0 | null | 0 | 1 | 59ef8857d0cdf9ac50836a25bc61273a30ca5928 | 1,598 | trivago | MIT License |
markdown/src/test/kotlin/com/appmattus/markdown/rules/ListMarkerSpaceRuleTest.kt | appmattus | 172,489,287 | false | {"Kotlin": 248958, "XSLT": 7533} | package com.appmattus.markdown.rules
import org.spekframework.spek2.Spek
import org.spekframework.spek2.style.gherkin.Feature
object ListMarkerSpaceRuleTest : Spek({
Feature("ListMarkerSpaceRule") {
FileRuleScenario(listOf("task-list-marker.md")) { ListMarkerSpaceRule() }
FileRuleScenario(listOf(... | 9 | Kotlin | 3 | 16 | 18e5bee66b7f38d1df18484e2f8f23a1f9190cf6 | 512 | markdown-lint | Apache License 2.0 |
sdk/src/main/java/it/ministerodellasalute/verificaC19sdk/network/HeaderInterceptor.kt | VC19chk | 421,911,377 | true | {"Kotlin": 218618, "Java": 5988, "CSS": 164, "Shell": 112} | /*
* ---license-start
* eu-digital-green-certificates / dgca-verifier-app-android
* ---
* Copyright (C) 2021 T-Systems International GmbH and all other contributors
* ---
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*... | 1 | Kotlin | 0 | 0 | 17b426746577c658ba3145bd75e0f4be7ab48371 | 3,272 | it-dgc-verificac19-sdk-android-TIME | Apache License 2.0 |
wui/src/main/kotlin/components/chips/FilterChipComponent.kt | kspar | 160,047,508 | false | {"Kotlin": 1479476, "HTML": 332065, "JavaScript": 104803, "CSS": 97998, "Python": 10567, "Shell": 1148} | package components.chips
import rip.kspar.ezspa.Component
import rip.kspar.ezspa.IdGenerator
typealias FilterChipId = String
sealed class FilterChipComponent : Component() {
data class Filter(
val label: String,
val icon: String? = null,
var selected: Boolean,
val id: String = Id... | 0 | Kotlin | 3 | 4 | 6bdb020309d0698ba6fbac4b20e2b7847e83f5c9 | 347 | easy | MIT License |
app/src/main/java/com/andreyyurko/dnd/data/characterData/CharacterEnums.kt | AndreyYurko | 538,904,654 | false | null | package com.andreyyurko.dnd.data.characterData
import com.andreyyurko.dnd.data.characterData.character.Filter
enum class Skill(var skillName: String, var ability: Ability) {
Acrobatics("Акробатика", Ability.Dexterity),
AnimalHandling("Уход за животными", Ability.Wisdom),
Arcana("Магия", Ability.Intelligen... | 0 | Kotlin | 0 | 1 | abe1e74bb5b85a9246a5bdf7e497d8e4fbcd96c3 | 13,177 | DnD | MIT License |
feature-dapp-impl/src/main/java/io/novafoundation/nova/feature_dapp_impl/presentation/browser/signExtrinsic/DAppSignViewModel.kt | novasamatech | 496,649,319 | false | {"Kotlin": 5949531, "Java": 14723, "JavaScript": 425} | package io.novafoundation.nova.feature_dapp_impl.presentation.browser.signExtrinsic
import io.novafoundation.nova.common.base.BaseViewModel
import io.novafoundation.nova.common.base.TitleAndMessage
import io.novafoundation.nova.common.mixin.actionAwaitable.ActionAwaitableMixin
import io.novafoundation.nova.common.mixi... | 5 | Kotlin | 9 | 28 | fcd118ab5cbedded709ec062ae5d4bc890aaf96d | 6,678 | nova-android-app | Apache License 2.0 |
src/test/kotlin/uk/co/threebugs/darwinexclient/helpers/RestCallHelper.kt | willhumphreys | 707,276,309 | false | {"Kotlin": 128249, "MQL5": 45825, "TypeScript": 24136, "CSS": 578, "Shell": 431, "JavaScript": 415} | package uk.co.threebugs.darwinexclient.helpers
import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule
import com.fasterxml.jackson.module.kotlin.jacksonObjectMapper
import com.fasterxml.jackson.module.kotlin.readValue
import io.kotest.assertions.fail
import okhttp3.OkHttpClient
import okhttp3.Request
import okhtt... | 0 | Kotlin | 0 | 0 | 83b8c6bff9365a04aa14972107d46bbd5045f428 | 2,840 | darwinex-client | Apache License 2.0 |
src/main/kotlin/uk/gov/justice/digital/hmpps/personrecord/client/model/offender/Identifiers.kt | ministryofjustice | 608,040,205 | false | {"Kotlin": 309010, "PLpgSQL": 22774, "Dockerfile": 1361, "Makefile": 302} | package uk.gov.justice.digital.hmpps.personrecord.client.model.offender
import com.fasterxml.jackson.annotation.JsonIgnoreProperties
import com.fasterxml.jackson.annotation.JsonProperty
import com.fasterxml.jackson.databind.annotation.JsonDeserialize
import uk.gov.justice.digital.hmpps.personrecord.model.identifiers.C... | 3 | Kotlin | 2 | 1 | 902f4fb72f09e407219aa6630b9b86e801ba8929 | 1,051 | hmpps-person-record | MIT License |
src/main/kotlin/atc/chassis/doc/SwaggerConfig.kt | darrylanderson | 178,497,494 | false | null | package atc.chassis.doc
import atc.chassis.exception.ApiError
import com.fasterxml.classmate.TypeResolver
import org.slf4j.LoggerFactory
import org.springframework.context.annotation.Bean
import org.springframework.context.annotation.ComponentScan
import org.springframework.context.annotation.Configuration
import org.... | 5 | Kotlin | 0 | 1 | 89f9ec559d71f2fb99c409a39213c3e88967e44d | 4,505 | microservice-chassis-kotlin | Apache License 2.0 |
src/commonMain/kotlin/baaahs/gl/param/ParamBuffer.kt | baaahs | 174,897,412 | false | null | package baaahs.gl.param
import baaahs.gl.data.ProgramFeed
import baaahs.gl.glsl.GlslProgram
import baaahs.glsl.Uniform
interface ParamBuffer {
fun resizeBuffer(width: Int, height: Int)
fun uploadToTexture()
fun setTexture(uniform: Uniform)
fun bind(glslProgram: GlslProgram): ProgramFeed
fun releas... | 88 | Kotlin | 6 | 26 | f449a11929ab2850f523ca0d3cb9e5dbbd1d6647 | 325 | sparklemotion | MIT License |
app/src/main/java/br/com/nexus/nexusmusica/ui/fragments/listaMusica/ListaMusicaViewModel.kt | MateusFreitas27 | 759,614,334 | false | {"Kotlin": 141688} | package br.com.nexus.nexusmusica.ui.fragments.listaMusica
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import androidx.navigation.NavController
import br.com.nexus.nexusmusica.di.REPRODUCAO_MUSICAS
import br.com.nexus.nexusmusica.modelo.Musica
import ... | 0 | Kotlin | 0 | 0 | de90875fb9106da9e78b251c8f0084096ec99583 | 1,920 | NexusMusica | MIT License |
app/src/main/java/com/frogobox/appuikit/recycler/FrogoRvConstant.kt | frogobox | 397,485,184 | false | {"Kotlin": 71449} | package com.frogobox.appuikit.recycler
import com.frogobox.appuikit.R
import com.frogobox.appuikit.model.Layout
/*
* Created by faisalamir on 21/05/21
* FrogoUIKit
* -----------------------------------------
* Name : <NAME>
* E-mail : <EMAIL>
* Github : github.com/amirisback
* -------------------------... | 0 | Kotlin | 0 | 7 | be4e192cf0b2815f743b8b53ef15d3c6c16d0868 | 2,652 | frogo-android-ui-kit | Apache License 2.0 |
core/src/mmorihiro/matchland/view/ScoreView.kt | mmorihiro | 84,188,372 | false | null | package mmorihiro.matchland.view
import com.badlogic.gdx.graphics.Color
import com.badlogic.gdx.graphics.Texture
import com.badlogic.gdx.scenes.scene2d.ui.Image
import com.badlogic.gdx.scenes.scene2d.ui.Label
import ktx.assets.asset
import ktx.scene2d.Scene2DSkin
import mmorihiro.matchland.model.ConfigModel
class Sc... | 0 | Kotlin | 2 | 15 | 29e36e20fd6f527468d5f70092f1f8115c162fb1 | 718 | matchland | Apache License 2.0 |
common/src/main/java/common/ImmediateDispatcher.kt | lcszc | 256,382,727 | false | {"Kotlin": 201531} | package common
import javax.inject.Qualifier
@Qualifier @Retention annotation class ImmediateDispatcher
| 2 | Kotlin | 2 | 35 | a2f02de29c4c074b5ecbda4a46349ac5b864842d | 106 | Boletinhos | MIT License |
kProperties-core/src/tvosX64Main/kotlin/de/kotlinBerlin/kProperties/util/WeakReference.kt | KotlinBerlin | 276,181,033 | false | null | package de.kotlinBerlin.kProperties.util
import kotlin.native.ref.WeakReference as NativeWeakRef
/**
* An object wrapped by a [WeakReference] can be cleaned up by a garbage collector, event if the
* [WeakReference] itself is sill strongly reachable and there are no other strong references on the
* wrapped object.
... | 0 | Kotlin | 0 | 1 | e4f37018e15bb291c68b677d9b1d8b559d80f6d5 | 603 | kProperties | Apache License 2.0 |
extension/assert/src/main/kotlin/IntermediateEventRepresentationAssert.kt | holixon | 314,334,294 | false | {"Kotlin": 116237, "Java": 24219} | package io.holixon.axon.testing.assert
import com.fasterxml.jackson.databind.JsonNode
import org.assertj.core.api.AbstractAssert
import org.assertj.core.api.ObjectAssert
import org.axonframework.serialization.SerializedObject
import org.axonframework.serialization.SerializedType
import org.axonframework.serialization.... | 13 | Kotlin | 0 | 5 | 8e622b2a9af26648be882954a6c382d75e1422da | 6,323 | axon-testing | Apache License 2.0 |
src/main/kotlin/com/mineinabyss/blocky/systems/actions/SetSeatOnFurnitureSystem.kt | MineInAbyss | 468,482,997 | false | {"Kotlin": 188535} | package com.mineinabyss.blocky.systems.actions
import com.mineinabyss.blocky.blocky
import com.mineinabyss.blocky.components.core.BlockyFurniture
import com.mineinabyss.blocky.components.features.furniture.BlockySeat
import com.mineinabyss.blocky.helpers.FurnitureHelpers
import com.mineinabyss.geary.systems.GearyListe... | 4 | Kotlin | 0 | 3 | 8c1ed3d3cd3ba4e9386dcfeb19a321826a0e4182 | 1,311 | Blocky | MIT License |
buildSrc/src/main/kotlin/Dependencies.kt | adrielcafe | 192,993,166 | false | {"Kotlin": 13390} | @file:Suppress("Unused", "MayBeConstant", "MemberVisibilityCanBePrivate")
internal object Version {
const val GRADLE_ANDROID = "7.0.0"
const val GRADLE_DETEKT = "1.17.1"
const val GRADLE_KTLINT = "10.1.0"
const val GRADLE_JACOCO = "0.16.0"
const val GRADLE_VERSIONS = "0.39.0"
const val KOTLIN ... | 2 | Kotlin | 0 | 77 | 9497086145982eee8ff9e684fc4204a0910d99ab | 2,779 | hal | MIT License |
leasingninja-sales/src/main/kotlin/sales/domain/FinancialCalculator.kt | leasingninja | 395,560,669 | false | {"Kotlin": 33436} | package io.leasingninja.sales.domain;
import org.jmolecules.ddd.annotation.Service;
/**
* Simulates the infamous HP12c calculator that is widely used in the leasing industry.
*/
//@Service
/**
* @param n number of periods
* @param iInPercent percentage interest rate per period
* @param pv present... | 0 | Kotlin | 0 | 0 | 7097c5c9d3153ef4ff7f2f99ce421dfce4773d2c | 1,106 | leasingninja-kotlin-boundedcontexts-domainmodel | MIT License |
app/src/main/kotlin/io/crypto/bitstamp/model/UserTransaction.kt | MGaetan89 | 111,290,623 | false | null | package io.crypto.bitstamp.model
import android.support.annotation.ColorRes
import android.support.annotation.StringRes
import com.squareup.moshi.Json
import io.crypto.bitstamp.R
import io.crypto.bitstamp.extension.toTimestamp
import io.crypto.bitstamp.extension.toVariationColor
data class UserTransaction(
val bch: ... | 0 | Kotlin | 2 | 5 | a7a92e45c23ba4714627599f103057349d5e254a | 3,698 | Bitcoin | Apache License 2.0 |
app/src/main/java/com/swensun/func/feature/FeatureActivity.kt | yunshuipiao | 186,582,408 | false | {"Kotlin": 344102, "Java": 163601, "HTML": 2189} | package com.swensun.func.feature
import android.os.Bundle
import com.swensun.base.BaseActivity
import com.swensun.potato.R
import com.swensun.potato.databinding.FeatureActivityBinding
import com.swensun.swutils.ui.toast
class FeatureActivity : BaseActivity<FeatureActivityBinding>() {
override fun initView(savedI... | 73 | Kotlin | 12 | 75 | 7036458d3b2d7b64730a9fa03f105460560e97fe | 600 | Potato | Apache License 2.0 |
sqlite-tests/sqlite-test-utils/src/mingwMain/kotlin/TestEnv.mingw.kt | illarionov | 769,429,996 | false | {"Kotlin": 864406} | /*
* Copyright 2024, the wasm-sqlite-open-helper project authors and contributors. Please see the AUTHORS file
* for details. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
* SPDX-License-Identifier: Apache-2.0
*/
@file:OptIn(ExperimentalForeignApi::class)
pac... | 0 | Kotlin | 1 | 3 | 192e80984862d992083c16cea6ca1a04bce0a2fc | 943 | wasm-sqlite-open-helper | Apache License 2.0 |
app/src/main/java/net/yuzumone/tootrus/ui/oauth/OAuthViewModel.kt | yuzumone | 145,217,726 | false | null | package net.yuzumone.tootrus.ui.oauth
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import dagger.hilt.android.lifecycle.HiltViewModel
import net.yuzumone.tootrus.domain.Failure
import net.yuzumone.tootrus.domain.Success
import net.yuzumone.tootr... | 4 | Kotlin | 0 | 0 | 36ecddffcb8c23dcdad1f2cae03c8cf832366f76 | 2,559 | Tootrus | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.