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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
core/resources/src/androidMain/kotlin/com/opencritic/resources/images/SharedImageResource.android.kt | MAX-POLKOVNIK | 797,563,657 | false | {"Kotlin": 604244, "Swift": 213504, "Objective-C": 8050} | package com.opencritic.resources.images
import androidx.compose.runtime.Composable
import androidx.compose.ui.graphics.painter.Painter
import androidx.compose.ui.res.painterResource
@Composable
fun SharedImageResource.asPainter(): Painter =
painterResource(id = imageRes.drawableResId) | 0 | Kotlin | 0 | 4 | 99c3df65e8620fe5f2d5c16ade0d593357869fa5 | 291 | OpenCritic | Apache License 2.0 |
src/main/kotlin/eli/inevitable/templates/AbstractBuilderTemplate.kt | NexusSandbox | 182,915,463 | false | {"Gradle Kotlin DSL": 2, "YAML": 1, "INI": 4, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "EditorConfig": 1, "Markdown": 1, "Java": 4, "Kotlin": 21} | package eli.inevitable.templates
/**
* A generic builder pattern used to configure objects with complex state.
*/
abstract class AbstractBuilderTemplate<out T>(protected val buildable: T) {
private var finished = false
/**
* Verifies that the builder is not in a finished state. Only the builder can mo... | 1 | null | 1 | 1 | 5aab955de2a65c00b69be99f836d389965d230af | 1,671 | inevitable | MIT License |
shared/src/commonMain/kotlin/com/mocoding/pokedex/ui/pokedex/components/PokemonGrid.kt | MohamedRejeb | 606,436,499 | false | null | package pokedex.ui.pokedex.components
import androidx.compose.animation.core.*
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.BoxWithConstraints
import androidx.compose.foundation.layout.PaddingValues
import androidx.compose.foundation.layout.fillMaxWidth
import android... | 8 | null | 48 | 569 | e13c46fdcff7b21353019da9a85438e2088c529d | 2,358 | Pokedex | Apache License 2.0 |
core/src/test/java/com/safeboda/core/dispatcher/MockRequestDispatcher.kt | jumaallan | 313,547,738 | false | null | /*
* Copyright 2020 MaishaMeds
*
* 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 ... | 2 | null | 14 | 21 | ec11c0ce526d2a790cb3b6fdd90f4ed56e9bfff8 | 1,245 | safeboda | The Unlicense |
businessRules/src/main/kotlin/model/Notification.kt | adamWeesner | 239,233,558 | false | null | package model
import kotlinx.serialization.Serializable
/**
* The change type of the [Notification].
*/
enum class ChangeType { Create, Update, Delete, Error }
/**
* Notification for websocket connections to keep track of what is changed and what change was made.
*/
@Serializable
data class Notification<T>(
... | 2 | Kotlin | 1 | 1 | bfb3161173d75ea43acd990e9a024210cd1b87e7 | 378 | weesnerDevelopment | MIT License |
src/commonMain/kotlin/com/github/dwursteisen/minigdx/ecs/systems/EntityQuery.kt | minigdx | 241,479,001 | false | null | package com.github.dwursteisen.minigdx.ecs.systems
import com.github.dwursteisen.minigdx.ecs.components.Component
import com.github.dwursteisen.minigdx.ecs.entities.Entity
import kotlin.reflect.KClass
open class EntityQuery(
val include: List<KClass<out Component>> = emptyList(),
val exclude: List<KClass<out ... | 2 | Kotlin | 5 | 98 | ca4065239c1d9e1f7f9a4d21f535e7a2f082c65a | 1,364 | minigdx | MIT License |
app/src/main/java/ru/santaev/clipboardtranslator/ui/HistoryFragment.kt | santaevpavel | 98,892,568 | false | null | package ru.santaev.clipboardtranslator.ui
import androidx.lifecycle.Observer
import androidx.lifecycle.ViewModelProviders
import androidx.databinding.DataBindingUtil
import android.os.Bundle
import androidx.fragment.app.Fragment
import androidx.recyclerview.widget.LinearLayoutManager
import androidx.recyclerview.widge... | 2 | null | 1 | 3 | df59db6e93752cb0614ecc29eba60542383b1f18 | 3,499 | ClipboardTranslator | Apache License 2.0 |
feature/splash/src/main/java/org/expenny/feature/splash/navigation/SplashNavigator.kt | expenny-application | 712,607,222 | false | {"Kotlin": 890931} | package org.expenny.feature.splash.navigation
@Deprecated("Moved to MainActivity")
interface SplashNavigator {
fun navigateToSetup()
fun navigateToApp()
} | 0 | Kotlin | 0 | 0 | 2077cd7bf02fcae059c13bd9f5fda677d9149854 | 163 | expenny-android | Apache License 2.0 |
modules/support/src/main/java/com/david/support/base_class/BaseFragment.kt | Jeyasee | 526,838,266 | false | {"Kotlin": 216503, "Java": 91937} | package com.david.support.base_class
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import androidx.lifecycle.ViewModel
import androidx.lifecycle.ViewModelProvider
import androidx.viewbinding.ViewBinding
import co... | 0 | Kotlin | 0 | 0 | 9a54f4bc1be7f4333581d9eee0efd109e0ea5268 | 3,372 | task_sciflare_mvvm_kotlin_coroutine | Apache License 2.0 |
app/src/main/java/me/threebecause/learning/data/model/Competition.kt | tuan-brother | 362,051,235 | false | {"Gradle": 3, "Java Properties": 2, "Shell": 1, "Ignore List": 3, "Batchfile": 1, "Text": 1, "Markdown": 1, "JSON": 2, "Proguard": 2, "Java": 13, "XML": 46, "Kotlin": 84} | package me.threebecause.learning.data.model
data class Competition(
val area: AreaXX,
val id: Int,
val name: String
) | 1 | null | 1 | 1 | 3057d329916a9bf73a65b2e05989dd7d5df0e720 | 130 | ExampleLearing | Apache License 2.0 |
src/main/kotlin/kz/btsd/messenger/bot/api/model/command/DeleteGroupAvatar.kt | btsdigital | 195,374,563 | false | null | package kz.btsd.messenger.bot.api.model.command
import io.swagger.annotations.ApiModel
import io.swagger.annotations.ApiModelProperty
import kz.btsd.messenger.bot.api.validation.UUID
@ApiModel(description = "Delete group avatar", parent = Command::class)
data class DeleteGroupAvatar(
@ApiModelProperty(
no... | 0 | Kotlin | 2 | 15 | d05b3b5a41c7df7e4b9f172e249eb259a8f0062c | 466 | bot-api-contract | Apache License 2.0 |
app/src/main/java/moe/tlaster/openween/core/model/types/WeiboVisibility.kt | OpenWeen | 69,312,077 | false | null | package moe.tlaster.openween.core.model.types
/**
* Created by Tlaster on 2016/9/2.
*/
enum class WeiboVisibility constructor(val value: Int) {
All(0),
OnlyMe(1),
OnlyFriends(2),
SpecifiedGroup(3)
}
| 3 | Kotlin | 1 | 11 | 9ace2dd55be92979561b6ec8f6c4fde8f3c045d3 | 218 | OpenWeen.Droid | MIT License |
app/src/main/java/com/example/startupappgro/adapter/AdapterPostCommunity.kt | Dreamer-byte | 511,022,060 | false | null | package com.example.startupappgro.adapter
import android.content.DialogInterface
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.recyclerview.widget.RecyclerView
import com.example.startupappgro.R
import com.example.startupappgro.model.ModelPostCommunity
import com.example.startupappgr... | 0 | null | 0 | 1 | 337028b36026179d4224ab8e5bb2c870650f7e87 | 1,089 | startup-appgro | MIT License |
presentation/src/test/java/com/doctoror/splittor/presentation/groupsoverview/GroupItemViewModelMapperTest.kt | Doctoror | 639,914,602 | false | null | package com.doctoror.splittor.presentation.groupsoverview
import android.content.res.Resources
import com.doctoror.splittor.R
import com.doctoror.splittor.domain.groups.Group
import com.doctoror.splittor.domain.groups.GroupMember
import com.doctoror.splittor.domain.numberformat.FormatAmountWithCurrencyUseCase
import o... | 0 | null | 0 | 2 | f8ae7f4ca61f85b606b51a34c85790702cb2319d | 1,931 | Android-MVPVM-Architecture-Demo | Apache License 2.0 |
presentation/src/test/java/com/doctoror/splittor/presentation/groupsoverview/GroupItemViewModelMapperTest.kt | Doctoror | 639,914,602 | false | null | package com.doctoror.splittor.presentation.groupsoverview
import android.content.res.Resources
import com.doctoror.splittor.R
import com.doctoror.splittor.domain.groups.Group
import com.doctoror.splittor.domain.groups.GroupMember
import com.doctoror.splittor.domain.numberformat.FormatAmountWithCurrencyUseCase
import o... | 0 | null | 0 | 2 | f8ae7f4ca61f85b606b51a34c85790702cb2319d | 1,931 | Android-MVPVM-Architecture-Demo | Apache License 2.0 |
bbfgradle/tmp/results/diffCompile/objeymc.kt | DaniilStepanov | 346,008,310 | false | {"Markdown": 122, "Gradle": 762, "Gradle Kotlin DSL": 649, "Java Properties": 23, "Shell": 49, "Ignore List": 20, "Batchfile": 26, "Git Attributes": 8, "Kotlin": 82508, "Protocol Buffer": 12, "Java": 6674, "Proguard": 12, "XML": 1698, "Text": 13298, "INI": 221, "JavaScript": 294, "JAR Manifest": 2, "Roff": 217, "Roff M... | // Different compile happens on:JVM ,JVM -Xnew-inference
fun less1(a: Double
) = a == null && false && a!!.compareTo(TODO()) !=
1
| 1 | null | 1 | 1 | e772ef1f8f951873ebe7d8f6d73cf19aead480fa | 132 | kotlinWithFuzzer | Apache License 2.0 |
compiler/testData/diagnostics/tests/generics/kt34729.kt | android | 263,405,600 | false | null | // !WITH_NEW_INFERENCE
// !DIAGNOSTICS: -UNUSED_PARAMETER
// !LANGUAGE: +NewInference
interface ILength {
val length: Int
}
class Impl(override val length: Int) : ILength
fun <T> foo(a: (Int) -> T) = 0
fun <T : ILength> bar(a: (Int) -> T) {
a(42).length
}
fun test() {
foo<String> <!NI;TYPE_MISMATCH!>{ <... | 0 | null | 37 | 316 | 74126637a097f5e6b099a7b7a4263468ecfda144 | 431 | kotlin | Apache License 2.0 |
app/src/main/java/com/ieeevit/gakko/data/models/User.kt | VibhorChinda | 279,553,228 | true | {"Kotlin": 218578} | package com.ieeevit.gakko.data.models
data class User(
val classrooms: List<String>?,
val displayName: String,
val id: String,
val name: String,
val online: Boolean,
val profileImage: String
){
constructor():this(emptyList(),"","","",false,"")
} | 0 | null | 0 | 3 | bd2fa42693e81ff464d268cc88b629dd7a66cd8f | 274 | Gakko | MIT License |
presentation/src/main/java/com/example/eziketobenna/bakingapp/presentation/mvi/MVIView.kt | ahmedalkhashab | 277,918,156 | false | null | package com.zizohanto.android.currencyconverter.presentation.mvi
import kotlinx.coroutines.flow.Flow
interface MVIView<out I : ViewIntent, in S : ViewState> {
fun render(state: S)
val intents: Flow<I>
} | 0 | null | 0 | 1 | 4f623a3629d21d0b84dfa43f9dcfc9fc45695317 | 212 | Baking-App-Kotlin | Apache License 2.0 |
core/infrastructure/common/src/main/java/com/rlad/core/infrastructure/common/di/CommonModule.kt | adamdanielczyk | 259,461,736 | false | null | package com.rlad.core.infrastructure.common.di
import android.app.Application
import androidx.room.Room
import com.rlad.core.domain.repository.AppSettingsRepository
import com.rlad.core.domain.usecase.GetAvailableDataSourcesUseCase
import com.rlad.core.domain.usecase.GetItemByIdUseCase
import com.rlad.core.domain.usec... | 9 | Kotlin | 0 | 3 | 64bb88049cfd29c777f49133db4580bc4fe60697 | 2,969 | RLAD | MIT License |
android/app/src/main/java/com/fabirt/debty/ui/MainActivity.kt | virendersran01 | 353,795,029 | true | {"Kotlin": 119324} | package com.fabirt.debty.ui
import android.app.PendingIntent
import android.content.Intent
import android.os.Bundle
import android.util.Log
import androidx.appcompat.app.AppCompatActivity
import androidx.core.app.NotificationCompat
import androidx.core.app.NotificationManagerCompat
import androidx.core.view.WindowComp... | 0 | null | 0 | 1 | 6230c4caa0914ca2d7480d365287bae5a68fa897 | 7,056 | debty-v2 | MIT License |
src/commonMain/kotlin/org/treexl/ParseError.kt | pacdouglas | 380,362,550 | true | {"Kotlin": 46342} | /*
*
* Treexl (Tree extensible expression language).
* Copyright <NAME> (<EMAIL>).
*
* Licensed under Apache License 2.0
* (http://www.apache.org/licenses/LICENSE-2.0).
*
* See the LICENSE file distributed with this work for
* additional information regarding copyright ownership.
*
*/
package org.treexl
c... | 0 | null | 0 | 0 | ee73f639483402d773be1a68fc0eaa3932a0d0ad | 384 | treexl | Apache License 2.0 |
app/src/main/java/com/stx/xhb/enjoylife/ui/activity/VideoDetailsActivity.kt | xiaohaibin | 139,092,356 | false | {"Kotlin": 126377, "Java": 91485} | package com.stx.xhb.enjoylife.ui.activity
import android.content.Intent
import android.os.Bundle
import android.support.v4.view.ViewCompat
import android.support.v7.widget.Toolbar
import android.text.TextUtils
import android.view.View
import android.widget.ImageButton
import android.widget.ImageView
import android.wid... | 0 | Kotlin | 15 | 74 | 42f60bd9aad1b6199cdd5e9e7d93b86366ff7e5e | 4,187 | KotlinEnjoyLife | Apache License 2.0 |
plugin/src/test/kotlin/me/him188/maven/central/publish/gradle/publishing/AbstractPublishingTest.kt | Him188 | 345,882,271 | false | null | package me.him188.maven.central.publish.gradle.publishing
import me.him188.maven.central.publish.gradle.AbstractPluginTest
import me.him188.maven.central.publish.gradle.AbstractPluginTest.Companion.kotlinVersionForTests
import me.him188.maven.central.publish.gradle.createTempDirSmart
import me.him188.maven.central.pub... | 1 | Kotlin | 4 | 9 | 95bb30a0cd9dd05037ec4cea9269189f057ace02 | 10,796 | maven-central-publish | Apache License 2.0 |
insets/src/main/kotlin/com/xiaocydx/insets/InsetsInspector.kt | xiaocydx | 735,924,562 | false | {"Kotlin": 243787} | /*
* Copyright 2023 xiaocydx
*
* 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 w... | 0 | Kotlin | 0 | 0 | 84a7ad8e78523029ca060802677327bf4d807193 | 2,409 | Insets | Apache License 2.0 |
android-aop-annotation/src/main/java/com/flyjingfish/android_aop_annotation/ProceedReturn.kt | FlyJingFish | 722,020,803 | false | {"Kotlin": 514894, "Java": 95343} | package com.flyjingfish.android_aop_annotation
interface ProceedReturn : ProceedReturn2 {
/**
* 继续执行 suspend 函数的返回值代码块
*
* @return 返回 suspend 函数的返回值代码块的结果
*/
fun proceed(): Any?
} | 0 | Kotlin | 29 | 433 | b6743fd17ae2c062bc1ee2104d2d95c931139998 | 209 | AndroidAOP | Apache License 2.0 |
presentation/src/main/java/com/goms/presentation/view/outing/component/OutingStudentCard.kt | team-haribo | 614,646,527 | false | {"Kotlin": 195602} | package com.goms.presentation.view.outing.component
import android.content.Context
import androidx.compose.foundation.Image
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.shape.CircleShape
import androidx.compose.foundation.shape.RoundedCorne... | 1 | Kotlin | 0 | 7 | 9d7a06d4c69abe6807c9f531403c3d48be0d6be8 | 3,800 | GOMS-Android | MIT License |
kValidation-core/src/commonMain/kotlin/de/kotlinBerlin/kValidation/Validation.kt | KotlinBerlin | 281,152,635 | false | {"Gradle Kotlin DSL": 3, "Ignore List": 1, "Text": 1, "Markdown": 1, "Kotlin": 17, "Java": 1} | package de.kotlinBerlin.kValidation
import de.kotlinBerlin.kValidation.internal.BasicAndValidationBuilder
interface Validation<T> {
companion object {
operator fun <T> invoke(init: AndValidationBuilder<T>.() -> Unit): Validation<T> {
val builder = BasicAndValidationBuilder<T>()
re... | 1 | null | 1 | 1 | 0921b87a427215a8782f4e4f84f60bee7d6aac7b | 473 | kValidation | Apache License 2.0 |
core/src/main/kotlin/ru/alexmaryin/deter_rev/engine/components/TransformComponent.kt | alexmaryin | 375,100,476 | false | {"Kotlin": 95904} | package ru.alexmaryin.deter_rev.engine.components
import com.badlogic.ashley.core.Component
import com.badlogic.ashley.core.Entity
import com.badlogic.gdx.math.Vector2
import com.badlogic.gdx.math.Vector3
import com.badlogic.gdx.utils.Pool
import ktx.ashley.get
import ktx.ashley.mapperFor
class TransformComponent : C... | 0 | Kotlin | 0 | 2 | e2248d3098caafdc4ff1defecad2b0807b123d27 | 1,345 | first_game | Apache License 2.0 |
modules/feature/app_settings/src/test/kotlin/kekmech/ru/feature_app_settings/screens/favorites/elm/FavoritesReducerTest.kt | tonykolomeytsev | 203,239,594 | false | null | package kekmech.ru.feature_app_settings.screens.favorites.elm
import io.kotest.core.spec.style.BehaviorSpec
import io.kotest.matchers.collections.shouldBeEmpty
import io.kotest.matchers.collections.shouldContainExactly
import io.kotest.matchers.shouldBe
import kekmech.ru.domain_favorite_schedule.dto.FavoriteSchedule
i... | 18 | Kotlin | 4 | 28 | 209f34745458e150136c3cd6acb1fcad2e12ef9c | 4,823 | mpeiapp | MIT License |
Demos/Micronaut/src/main/kotlin/com/groupdocs/ui/viewer/micronaut/model/TreeModels.kt | groupdocs-viewer | 56,287,404 | false | null | package com.groupdocs.ui.viewer.javalin.model
data class TreeRequest(
val path: String
)
// --------------------------------
data class FileDescriptionEntity(
val guid: String? = null,
val name: String? = null,
val isDirectory: Boolean? = null,
val size: Long? = null
) | 5 | null | 22 | 22 | f355fb741c72d1b256a7a609a63ae5b9f4bd2547 | 292 | GroupDocs.Viewer-for-Java | MIT License |
visualization/src/main/kotlin/com/enigmashowdown/visual/LevelCountdown.kt | EnigmaShowdown | 682,837,285 | false | {"Kotlin": 128525, "Java": 233} | package com.enigmashowdown.visual
import com.badlogic.gdx.scenes.scene2d.Actor
import com.badlogic.gdx.scenes.scene2d.Stage
import com.badlogic.gdx.scenes.scene2d.ui.Image
import com.badlogic.gdx.utils.Scaling
import com.badlogic.gdx.utils.viewport.ScalingViewport
import com.enigmashowdown.EnigmaShowdownConstants
impo... | 10 | Kotlin | 0 | 1 | 7a9e7c5d9fbed97fe2cccc9555368aba70e5f615 | 4,579 | enigmashowdown | MIT License |
app/src/main/java/com/junerver/cloudnote/ui/activity/LoginActivity.kt | junerver | 67,023,500 | false | null | package com.junerver.cloudnote.ui.activity
import android.content.Intent
import android.text.TextUtils
import com.junerver.cloudnote.net.BmobMethods
import com.edusoa.ideallecturer.fetchNetwork
import com.edusoa.ideallecturer.toBean
import com.edusoa.ideallecturer.toJson
import com.elvishew.xlog.XLog
import com.idealw... | 0 | null | 5 | 23 | dced9fc5f03fcf93247f1f79528fbc5fa7b884dc | 3,352 | CloudNote | Apache License 2.0 |
identity/src/main/java/com/stripe/android/identity/networking/NetworkConstants.kt | stripe | 6,926,049 | false | null | package com.stripe.android.identity.networking
internal const val BASE_URL = "https://api.stripe.com/v1"
internal const val IDENTITY_VERIFICATION_PAGES = "identity/verification_pages"
internal const val IDENTITY_STRIPE_API_VERSION_WITH_BETA_HEADER =
"2020-08-27;identity_client_api=v2"
| 86 | null | 584 | 1,078 | 74bf7263f56d53aff2d0035127d84dd40609403d | 291 | stripe-android | MIT License |
app/main/app/Dto.kt | navikt | 462,279,483 | false | null | package app
data class Dto(
val personident: String,
val record: ByteArray,
val dtoVersion: Int?,
val partition: Int,
val offset: Long,
val topic: String,
val timestamp: Long,
val systemTimeMs: Long,
val streamTimeMs: Long,
) {
companion object {
fun from(dao: Dao): Dto ... | 1 | Kotlin | 0 | 1 | 3b96a6fda880b9f3666900f271ec092f15db186b | 1,980 | aap-sink | MIT License |
kevs-core/src/commonMain/kotlin/io/kevs/station/impl/SerializerEventStation.kt | MikiLoz92 | 502,142,453 | false | null | package io.kevs.station.impl
import io.kevs.annotation.InternalKevsApi
import io.kevs.event.metadata.EventMetadata
import io.kevs.event.metadata.EventWithMetadata
import io.kevs.event.serialization.EventSerializer
import io.kevs.station.EventCollector
import io.kevs.station.EventDispatcher
import io.kevs.station.Event... | 0 | Kotlin | 0 | 0 | 861b0e117c6af98311983d6623882534ff32cebd | 1,784 | kevs | MIT License |
kevs-core/src/commonMain/kotlin/io/kevs/station/impl/SerializerEventStation.kt | MikiLoz92 | 502,142,453 | false | null | package io.kevs.station.impl
import io.kevs.annotation.InternalKevsApi
import io.kevs.event.metadata.EventMetadata
import io.kevs.event.metadata.EventWithMetadata
import io.kevs.event.serialization.EventSerializer
import io.kevs.station.EventCollector
import io.kevs.station.EventDispatcher
import io.kevs.station.Event... | 0 | Kotlin | 0 | 0 | 861b0e117c6af98311983d6623882534ff32cebd | 1,784 | kevs | MIT License |
android/app/src/main/java/com/brianbhuang/fakelocation/Splash.kt | huangbrian | 139,228,085 | false | {"Kotlin": 14164} | package com.brianbhuang.fakelocation
import android.app.Activity
import android.content.Intent
import android.content.pm.PackageManager
import android.os.Bundle
import android.os.Handler
import android.view.Menu
import android.widget.TextView
import androidx.appcompat.app.AppCompatActivity
import androidx.core.app.Act... | 0 | Kotlin | 0 | 0 | a0eba6e0a370332c0ed98251d77a33ffc2496557 | 1,972 | mock_location | MIT License |
app/src/main/java/com/siju/acexplorer/main/model/data/music/AlbumDetailDataFetcher.kt | siju-s | 427,592,750 | false | null | package com.siju.acexplorer.main.model.data.music
import android.content.Context
import android.provider.MediaStore
import com.siju.acexplorer.common.types.FileInfo
import com.siju.acexplorer.main.model.data.DataFetcher
import com.siju.acexplorer.main.model.data.DataFetcher.Companion.canShowHiddenFiles
import com.siju... | 4 | Kotlin | 5 | 2 | 68338f005f8365609f115390e7d770197b807763 | 1,761 | AceExplorer | Apache License 2.0 |
app/src/main/java/com/elhady/movies/core/domain/usecase/mylist/GetMyWatchlistListUseCase.kt | islamelhady | 301,591,032 | false | {"Kotlin": 584524} | package com.elhady.movies.core.domain.usecase.mylist
import com.elhady.movies.core.domain.entities.MovieEntity
import com.elhady.movies.core.domain.repository.MovieRepository
import javax.inject.Inject
class GetMyWatchlistListUseCase @Inject constructor(
private val movieRepository: MovieRepository,
) {
suspe... | 1 | Kotlin | 0 | 0 | d9b6c3f241b5de6c334fa2dcc9f2653de3c04762 | 461 | movie-night-v2 | Apache License 2.0 |
src/test/kotlin/me/senseiwells/arucas/test/JavaTest.kt | senseiwells | 410,678,534 | false | null | package me.senseiwells.arucas.test
import org.junit.jupiter.api.Test
class JavaTest {
@Test
fun testTypeConversions() {
}
@Test
fun testReflection() {
}
} | 0 | Kotlin | 4 | 12 | dc5a032c38361f37d754bfd99d49a5cb7d6593d0 | 183 | Arucas | MIT License |
library/src/main/java/com/ola/chat/picker/utils/MatrixEvaluator.kt | olaola-chat | 581,383,264 | false | null | package com.ola.chat.picker.utils
import android.animation.TypeEvaluator
import android.graphics.Matrix
class MatrixEvaluator : TypeEvaluator<Matrix> {
private val mTempStartValues = FloatArray(9)
private val mTempEndValues = FloatArray(9)
private val mTempMatrix = Matrix()
override fun evaluate(frac... | 1 | Kotlin | 0 | 0 | f22dc84cfca4d594f5cbb0482d0a0b2b3cfad9ee | 721 | image_picker_adr | Apache License 2.0 |
aws-storage-s3/src/main/java/com/amplifyframework/storage/s3/utils/JsonUtils.kt | aws-amplify | 177,009,933 | false | null | /*
* Copyright 2022 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" ... | 103 | null | 115 | 245 | c1030d45909bb6e2ace4dc195047f9c2a8630fe2 | 907 | amplify-android | Apache License 2.0 |
platform/vcs-impl/src/com/intellij/vcs/commit/ChangesViewCommitStatusPanel.kt | hieuprogrammer | 284,920,751 | false | null | // Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.vcs.commit
import com.intellij.openapi.util.registry.Registry
import com.intellij.openapi.util.registry.RegistryValue
import com.intellij.openapi.util.regist... | 1 | null | 1 | 2 | dc846ecb926c9d9589c1ed8a40fdb20e47874db9 | 2,931 | intellij-community | Apache License 2.0 |
src/main/kotlin/no/nav/eessi/pensjon/fagmodul/pesys/KravUtlandModel.kt | navikt | 144,840,932 | false | null | package no.nav.eessi.pensjon.fagmodul.pesys
import com.fasterxml.jackson.databind.annotation.JsonDeserialize
import com.fasterxml.jackson.databind.annotation.JsonSerialize
import java.time.LocalDate
//Model for opprettelse av kravhode til pesys.
data class KravUtland(
val errorMelding: String? = null,
... | 1 | Kotlin | 0 | 6 | aa7a963aafcce7036fc882a9bed9da705602cbb2 | 3,586 | eessi-pensjon-fagmodul | MIT License |
vaadin-simple-security/src/test/java/com/github/mvysny/vaadinsimplesecurity/SimpleUserWithRolesTest.kt | mvysny | 590,763,479 | false | {"Gradle Kotlin DSL": 4, "INI": 4, "Markdown": 2, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "TOML": 1, "YAML": 1, "HTML": 1, "Java": 23, "Isabelle ROOT": 1, "SQL": 1, "Kotlin": 6} | package com.github.mvysny.vaadinsimplesecurity
import com.github.mvysny.dynatest.DynaTest
import kotlin.test.expect
class SimpleUserWithRolesTest : DynaTest({
test("smoke") {
SimpleUserWithRoles("foo", setOf())
SimpleUserWithRoles("foo", setOf("bar"))
SimpleUserWithRoles("foo", null)
}... | 0 | Java | 0 | 2 | 30f624d40450c67fbed9668449fab38e86c88ca8 | 980 | vaadin-simple-security | MIT License |
app/src/main/java/com/wcsm/touchgames/memorygame/Card.kt | WallaceMartinsTI | 694,433,312 | false | {"Kotlin": 35788} | package com.wcsm.touchgames.memorygame
data class Card (var imageSrc: Int) {
var isMatched: Boolean = false
} | 0 | Kotlin | 0 | 0 | c22d239c77ebfefb2b832ca32873013e05f52eaf | 114 | touch-games | MIT License |
common/src/androidMain/kotlin/com/artemchep/keyguard/copy/LogRepositoryAndroid.kt | AChep | 669,697,660 | false | {"Kotlin": 5516822, "HTML": 45876} | package com.artemchep.keyguard.copy
import android.util.Log
import com.artemchep.keyguard.common.service.logging.LogLevel
import com.artemchep.keyguard.common.service.logging.LogRepositoryChild
class LogRepositoryAndroid(
) : LogRepositoryChild {
override suspend fun add(
tag: String,
message: Str... | 66 | Kotlin | 31 | 995 | 557bf42372ebb19007e3a8871e3f7cb8a7e50739 | 600 | keyguard-app | Linux Kernel Variant of OpenIB.org license |
vuesaxicons/src/commonMain/kotlin/moe/tlaster/icons/vuesax/vuesaxicons/bold/Cd.kt | Tlaster | 560,394,734 | false | {"Kotlin": 25133302} | package moe.tlaster.icons.vuesax.vuesaxicons.bold
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Compa... | 0 | Kotlin | 0 | 2 | b8a8231e6637c2008f675ae76a3423b82ee53950 | 1,838 | VuesaxIcons | MIT License |
platform/core/src/main/java/com/komamj/platform/core/util/ViewExt.kt | komamj | 367,612,961 | false | null | /*
* Copyright 2021 komamj
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... | 0 | Kotlin | 0 | 2 | fe61e2fb464730043164e083e31a4edc42c0183d | 1,724 | android-pedestal | MIT License |
plugins/kotlin/j2k/shared/src/org/jetbrains/kotlin/nj2k/conversions/JavaStatementConversion.kt | SamB | 215,873,627 | false | null | // Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package org.jetbrains.kotlin.nj2k.conversions
import org.jetbrains.kotlin.analysis.api.KtAnalysisSession
import org.jetbrains.kotlin.j2k.Nullability.NotNull
import org.jetbrains.kotlin.nj2k.*
import... | 1 | null | 1 | 1 | 37c7118b1a4fb7f21c1a2636355c91f2a7d9ba05 | 8,333 | intellij-community | Apache License 2.0 |
src/commonMain/kotlin/com/handtruth/mc/paket/fields/Int8Field.kt | handtruth | 258,815,087 | false | null | package com.handtruth.mc.paket.fields
import com.handtruth.mc.paket.*
import kotlinx.io.Input
import kotlinx.io.Output
import kotlin.jvm.JvmName
object Int8Codec : Codec<Byte> {
override fun measure(value: Byte) = sizeByte
override fun read(input: Input, old: Byte?) = readByte(input)
override fun write(ou... | 0 | Kotlin | 0 | 1 | 1ceeeaed85fa7d083a995911df0197331d517391 | 832 | paket-kotlin | MIT License |
domain/src/main/java/org/kafka/domain/interactors/UpdateItemDetail.kt | vipulyaara | 612,950,214 | false | {"Kotlin": 635130, "JavaScript": 440999, "HTML": 11959, "CSS": 7888, "Shell": 2974} | package org.kafka.domain.interactors
import com.kafka.data.feature.item.ItemDetailDataSource
import kotlinx.coroutines.withContext
import org.kafka.base.CoroutineDispatchers
import org.kafka.base.domain.Interactor
import org.kafka.domain.interactors.recommendation.PostRecommendationEvent
import org.kafka.domain.intera... | 5 | Kotlin | 10 | 86 | fa64a43602eecac8b93ae9e8b713f6d29ba90727 | 1,036 | Kafka | Apache License 2.0 |
app/src/main/java/com/leadrdrk/umapatcher/patcher/LyricsPatcher.kt | LeadRDRK | 736,499,816 | false | {"Kotlin": 270543} | package com.leadrdrk.umapatcher.patcher
import android.content.Context
import com.leadrdrk.umapatcher.data.AssetsTranslationFile
import com.leadrdrk.umapatcher.data.TextBlock
import com.leadrdrk.umapatcher.unity.file.SerializedFile
import com.leadrdrk.umapatcher.utils.repoDir
class LyricsPatcher(
skipMachineTl: B... | 1 | Kotlin | 0 | 1 | 7a924f17f1bb77e99aca3919946bfda8a316d496 | 1,623 | UmaPatcher | Apache License 2.0 |
app/src/main/java/com/kentvu/androidhacks/MainActivity.kt | KentVu | 215,210,996 | false | null | package com.kentvu.androidhacks
import android.content.Context
import android.content.Intent
import android.os.Bundle
import android.os.PersistableBundle
import android.view.View
import android.widget.ArrayAdapter
import android.widget.SpinnerAdapter
import androidx.appcompat.app.AppCompatActivity
import androidx.frag... | 0 | Kotlin | 0 | 0 | 5031745460703f1df2d2b90f89a86b94baf7f959 | 6,385 | AndroidHacks | MIT License |
app/src/main/java/dev/kingbond/notify/ui/event/LocationSearchActivity.kt | Kingbond470 | 429,672,171 | false | null | package dev.kingbond.notify.ui.event
import android.Manifest
import android.content.Intent
import android.content.pm.PackageManager
import android.location.*
import android.os.Build
import android.os.Bundle
import android.view.View
import android.widget.EditText
import android.widget.Toast
import androidx.annotation.R... | 0 | Kotlin | 3 | 5 | a663e7c2390279a6ff1661c38d31a8f49b9673d1 | 12,305 | Notify | MIT License |
src/test/kotlin/build/buf/gradle/AbstractBuildTest.kt | bufbuild | 291,329,569 | false | {"Kotlin": 113367, "Java": 9644, "Makefile": 1153} | // Copyright 2023 Buf Technologies, 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 a... | 11 | Kotlin | 13 | 48 | 40789c3318c52e03e8a7f09aaa93fee0228a33c3 | 3,261 | buf-gradle-plugin | Apache License 2.0 |
components/flow/flow-rest-resource-service-impl/src/main/kotlin/net/corda/flow/rest/impl/v1/FlowClassRestResourceImpl.kt | corda | 346,070,752 | false | {"Kotlin": 20585393, "Java": 308202, "Smarty": 115357, "Shell": 54409, "Groovy": 30246, "PowerShell": 6470, "TypeScript": 5826, "Solidity": 2024, "Batchfile": 244} | package net.corda.flow.rest.impl.v1
import net.corda.cpiinfo.read.CpiInfoReadService
import net.corda.data.virtualnode.VirtualNodeInfo
import net.corda.flow.rest.v1.FlowClassRestResource
import net.corda.flow.rest.v1.types.response.StartableFlowsResponse
import net.corda.rest.PluggableRestResource
import net.corda.res... | 82 | Kotlin | 7 | 69 | 0766222eb6284c01ba321633e12b70f1a93ca04e | 4,476 | corda-runtime-os | Apache License 2.0 |
plugins/kotlin/uast/uast-kotlin/tests/test/org/jetbrains/uast/test/kotlin/KotlinUastCommentOwnersTest.kt | JetBrains | 2,489,216 | false | null | // Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package org.jetbrains.uast.test.kotlin
import org.jetbrains.uast.UFile
import org.jetbrains.uast.test.common.CommentsTestBase
import org.junit.Test
class KotlinUastCommentOwnersTest : AbstractKotl... | 214 | null | 4829 | 15,129 | 5578c1c17d75ca03071cc95049ce260b3a43d50d | 595 | intellij-community | Apache License 2.0 |
app/src/main/java/com/depsoftware/fgindex/FearGreedIndexWidget.kt | danylo-pavenko | 760,699,330 | false | {"Kotlin": 18045} | package com.depsoftware.fgindex
import android.app.PendingIntent
import android.appwidget.AppWidgetManager
import android.appwidget.AppWidgetProvider
import android.content.Context
import android.content.Intent
import android.widget.RemoteViews
import com.depsoftware.fgindex.domain.model.FearGreedIndex
import com.deps... | 0 | Kotlin | 0 | 0 | 2b3dd0a45a025796ca749cc71e168eaf0594bfa8 | 2,650 | android-fear-greed-widget | Apache License 2.0 |
src/Day09.kt | djleeds | 572,720,298 | false | {"Kotlin": 43505} | import kotlin.math.abs
import kotlin.math.max
import kotlin.math.sign
import kotlin.properties.Delegates.observable
data class Motion(val direction: String, val count: Int) {
companion object {
fun parse(line: String) = line.split(" ").let { (dir, count) -> Motion(dir, count.toInt()) }
}
}
data class ... | 0 | Kotlin | 0 | 4 | 98946a517c5ab8cbb337439565f9eb35e0ce1c72 | 2,160 | advent-of-code-in-kotlin-2022 | Apache License 2.0 |
intellij-tooling/src/main/kotlin/com/heroslender/hmf/intellij/insight/Color.kt | heroslender | 341,310,824 | false | null | package com.heroslender.hmf.bukkit.map
import com.heroslender.hmf.core.IColor
/**
* All available colors for minecraft 1.8.8.
*
* @see <a href="https://minecraft.gamepedia.com/Map_item_format#Color_table">Map Item Format - Color Table</a>
*/
@Suppress("unused")
enum class Color(
override val id: Byte,
ove... | 1 | Kotlin | 4 | 58 | 23c601aa0680ae1366f63b761cfa9b74b80833ab | 7,182 | menu-framework | MIT License |
composeApp/src/commonTest/kotlin/com/rwmobi/kunigami/domain/usecase/account/SyncUserProfileUseCaseTest.kt | ryanw-mobile | 794,752,204 | false | {"Kotlin": 1093835, "Ruby": 2466, "Swift": 693} | /*
* Copyright (c) 2024. <NAME>
* https://github.com/ryanw-mobile
* Sponsored by RW MobiMedia UK Limited
*
*/
package com.rwmobi.kunigami.domain.usecase.account
import com.rwmobi.kunigami.domain.exceptions.IncompleteCredentialsException
import com.rwmobi.kunigami.domain.model.account.UserProfile
import com.rwmob... | 19 | Kotlin | 8 | 89 | 1a9b5aad5cfe606175a7003ae82dfbc6d1d0e650 | 4,357 | OctoMeter | Apache License 2.0 |
module/src/main/kotlin/org/ksharp/module/prelude/PreludeTypeSystem.kt | ksharp-lang | 573,931,056 | false | {"Kotlin": 1451913, "Java": 49163, "TypeScript": 3203} | package org.ksharp.module.prelude
import org.ksharp.common.Either
import org.ksharp.module.prelude.serializer.TypeSerializers
import org.ksharp.module.prelude.types.Numeric
import org.ksharp.module.prelude.types.charType
import org.ksharp.module.prelude.types.numeric
import org.ksharp.typesystem.PartialTypeSystem
impo... | 5 | Kotlin | 0 | 0 | 1dc50e99bc6bf5319cfd2d370ac7e7c6842c790d | 2,419 | ksharp-kt | Apache License 2.0 |
app/src/main/java/com/apiguave/tinderclonecompose/login/LoginViewModel.kt | alejandro-piguave | 567,907,964 | false | {"Kotlin": 216630} | package com.apiguave.tinderclonecompose.login
import androidx.activity.result.ActivityResult
import androidx.compose.runtime.Immutable
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.apiguave.tinderclonecompose.extension.toProviderAccount
import com.apiguave.tinderclonedomain.us... | 1 | Kotlin | 13 | 46 | dfd4a2a675b843401023f6b55c5be4349a5b5559 | 1,701 | TinderCloneCompose | MIT License |
app/src/main/java/com/forcetower/uefs/core/storage/resource/NetworkBoundResource.kt | Matoro17 | 171,460,349 | false | {"Gradle": 7, "INI": 1, "Markdown": 9, "Shell": 2, "Text": 6, "Ignore List": 4, "Batchfile": 1, "Java Properties": 1, "Proguard": 2, "XML": 320, "JSON": 21, "Kotlin": 398, "Java": 48, "Gradle Kotlin DSL": 6, "YAML": 1} | /*
* Copyright (c) 2019.
* João Paulo Sena <joaopaulo761@gmail.com>
*
* This file is part of the UNES Open Source Project.
*
* UNES is licensed under the MIT License
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Soft... | 1 | null | 1 | 1 | 000e7aa8b9123959d2704ee5dc9b45b03b46dbb1 | 4,461 | Melon | MIT License |
kingmc-common-api/src/main/kotlin/kingmc/util/json/JsonUtils.kt | Kingsthere | 603,292,992 | false | null | package kingmc.util.json
import kingmc.util.json.gson.StandardGson
/**
* Serialize an object to json
*
* @author kingsthere
* @since 0.0.1
*/
fun Any.serializeToJson(): String =
StandardGson.standard.toJson(this)
/**
* Deserialize an object from json
*
* @author kingsthere
* @since 0.0.1
*/
inline fun ... | 0 | Kotlin | 0 | 1 | df84d9d5b97e320eaea946fbf7ccda3ee3783fed | 429 | kingmc-common | MIT License |
app/src/main/java/com/jimzjy/routercontroller/tools/ToolsView.kt | Jimzjy | 129,732,441 | false | {"Gradle": 6, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 5, "Batchfile": 1, "Markdown": 1, "SVG": 2, "Proguard": 4, "JSON": 3, "Kotlin": 39, "XML": 66, "Java": 4} | package com.jimzjy.routercontroller.tools
interface ToolsView | 0 | Kotlin | 0 | 5 | 71e009c87f8baf384f44ce6876a35ca74a98f19e | 62 | RouterController | Apache License 2.0 |
app/src/main/java/com/revolgenx/anilib/character/service/CharacterServiceImpl.kt | AniLibApp | 244,410,204 | false | {"Kotlin": 1593083, "Shell": 52} | package com.revolgenx.anilib.character.service
import com.revolgenx.anilib.character.data.field.CharacterField
import com.revolgenx.anilib.character.data.field.CharacterMediaField
import com.revolgenx.anilib.character.data.field.CharacterVoiceActorField
import com.revolgenx.anilib.character.data.model.*
import com.rev... | 9 | Kotlin | 3 | 76 | b3caec5c00779c878e4cf22fb7d2034aefbeee54 | 4,501 | AniLib | Apache License 2.0 |
appyx-navigation/common/src/androidMain/kotlin/com/bumble/appyx/navigation/integration/requestcode/RequestCodeBasedEventStream.kt | bumble-tech | 493,334,393 | false | null | package com.bumble.appyx.navigation.integrationpoint.requestcode
import kotlinx.coroutines.flow.Flow
interface RequestCodeBasedEventStream<T : RequestCodeBasedEventStream.RequestCodeBasedEvent> {
fun events(client: RequestCodeClient): Flow<T>
interface RequestCodeBasedEvent {
val requestCode: Int
... | 85 | null | 54 | 997 | f5cc89fbdf9a168a70f8e9f11313e6524914179a | 326 | appyx | Apache License 2.0 |
src/main/kotlin/ru/spbstu/kparsec/examples/tip/Types.kt | belyaev-mikhail | 115,148,080 | false | null | package ru.spbstu.kparsec.examples.tip
import java.util.*
sealed class Type
object IntType : Type() {
override fun toString() = "Int"
}
data class PointerType(val pointee: Type) : Type()
data class FunctionType(val result: Type, val arguments: List<Type>) : Type()
data class TypeVariable(val id: Int) : Type()
d... | 0 | Kotlin | 0 | 0 | ae5e1f7360e6d7c910851ab6ecdd3822b8d997e9 | 4,253 | kparsec | MIT License |
app/src/main/java/com/sunnyweather/android/ui/adapter/CustomBean.kt | 9527-tkx | 349,295,498 | false | {"Java": 86685, "Kotlin": 64939} | package com.sunnyweather.android.ui.adapter
class CustomBean {
var imageRes: Int = 0
var imageDescription: String? = null
var imgUrl: String? = null
}
| 1 | Java | 1 | 1 | 10cf20d075198459512a48e19e8d190f235ca56e | 167 | SunnyWeather | Apache License 2.0 |
tezos-core/src/main/kotlin/it/airgap/tezos/core/type/encoded/CryptoboxPublicKeyHash.kt | airgap-it | 460,351,851 | false | null | package it.airgap.tezos.core.type.encoded
import it.airgap.tezos.core.internal.annotation.InternalTezosSdkApi
/**
* Base58 encoded Cryptobox public key hash.
*
* @property base58 The encoded string: `id(30)`.
*/
@JvmInline
public value class CryptoboxPublicKeyHash(override val base58: String) : Encoded, MetaEncod... | 0 | Kotlin | 2 | 1 | c5af5ffdd4940670bd66842580d82c2b9d682d84 | 1,780 | tezos-kotlin-sdk | MIT License |
app/src/androidTest/java/com/example/billbuddy/data/local/PaymentDaoTest.kt | arfinhosainn | 607,740,170 | false | null | package com.example.billbuddy.data.local
import androidx.room.Room
import androidx.test.core.app.ApplicationProvider
import com.example.billbuddy.data.local.model.Payment
import kotlinx.coroutines.flow.first
import kotlinx.coroutines.runBlocking
import org.junit.After
import org.junit.Assert
import org.junit.Before
im... | 0 | Kotlin | 0 | 3 | 845aeeb56c088562787f814643b9b1aac31ef3df | 1,337 | BillBuddy | Apache License 2.0 |
composeApp/src/commonMain/kotlin/com/jetbrains/kmpapp/database/NotesDatabase.kt | massana2110 | 806,387,488 | false | {"Kotlin": 18527, "Swift": 665} | package com.jetbrains.kmpapp.database
import androidx.room.Database
import androidx.room.RoomDatabase
import com.jetbrains.kmpapp.database.dao.NotesDao
import com.jetbrains.kmpapp.database.entities.NoteEntity
@Database(
entities = [NoteEntity::class],
version = 1
)
abstract class NotesDatabase: RoomDatabase()... | 0 | Kotlin | 0 | 0 | 1464035e78efbf51dff0662406f502a71c417c4e | 367 | NotesAppKMP | Apache License 2.0 |
app/src/main/java/eu/kanade/domain/chapter/model/ChapterFilter.kt | scb261 | 381,944,147 | true | {"Kotlin": 4047397} | package eu.kanade.domain.chapter.model
import eu.kanade.domain.manga.model.Manga
import eu.kanade.domain.manga.model.TriStateFilter
import eu.kanade.domain.manga.model.isLocal
import eu.kanade.tachiyomi.data.download.DownloadManager
import eu.kanade.tachiyomi.data.download.model.Download
import eu.kanade.tachiyomi.ui.... | 0 | Kotlin | 0 | 7 | 5a3a2084cbfff68c4187ea55ad6b8fd7be2796b7 | 3,875 | TachiyomiSY | Apache License 2.0 |
src/main/kotlin/no/nav/sokos/spk/mottak/mq/JmsProducerService.kt | navikt | 758,019,980 | false | {"Kotlin": 246017, "Shell": 2430, "Dockerfile": 394} | package no.nav.sokos.spk.mottak.mq
import com.ibm.mq.jms.MQDestination
import com.ibm.mq.jms.MQQueue
import com.ibm.msg.client.wmq.common.CommonConstants
import mu.KotlinLogging
import no.nav.sokos.spk.mottak.config.MQConfig
import no.nav.sokos.spk.mottak.metrics.Metrics
import javax.jms.ConnectionFactory
import javax... | 0 | Kotlin | 0 | 0 | a030ded5f0b82cbd1a27c7218517e52234702fc8 | 1,465 | sokos-spk-mottak | MIT License |
plugin-locationcomponent/src/test/java/com/mapbox/maps/plugin/locationcomponent/LocationCompassEngineTest.kt | mapbox | 330,365,289 | false | null | package com.mapbox.maps.plugin.locationcomponent
import android.content.Context
import android.hardware.Sensor
import android.hardware.SensorManager
import android.view.WindowManager
import com.mapbox.maps.logW
import io.mockk.*
import org.junit.After
import org.junit.Before
import org.junit.Test
import org.junit.runn... | 216 | null | 131 | 472 | 2700dcaf18e70d23a19fc35b479bff6a2d490475 | 5,393 | mapbox-maps-android | Apache License 2.0 |
app/src/main/java/com/mog/bondoman/ui/login/LoginViewModel.kt | yuujin-Q | 792,755,995 | false | {"Kotlin": 99625, "Dockerfile": 1614, "Ruby": 46} | package com.mog.bondoman.ui.login
import android.util.Patterns
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.mog.bondoman.R
import com.mog.bondoman.data.Result
import com.mog.bondoman.data.connection.... | 0 | Kotlin | 0 | 0 | fa05ac572ca4d6ba67f88d621a60d1f9a3519346 | 3,626 | transaction-manager-android-app | MIT License |
tilbakekreving/domain/src/main/kotlin/tilbakekreving/domain/vurdert/KanLeggeTilBrev.kt | navikt | 227,366,088 | false | {"Kotlin": 9808901, "Shell": 4388, "TSQL": 1233, "Dockerfile": 1209} | @file:Suppress("PackageDirectoryMismatch")
// Må ligge i samme pakke som Tilbakekrevingsbehandling (siden det er et sealed interface), men trenger ikke ligge i samme mappe.
package tilbakekreving.domain
import dokument.domain.brev.Brevvalg
import no.nav.su.se.bakover.hendelse.domain.HendelseId
import no.nav.su.se.bak... | 2 | Kotlin | 1 | 1 | 6a38e3ae163e3a184dde60853090e5e34624fa43 | 799 | su-se-bakover | MIT License |
app/src/main/java/com/asimodabas/country_detail/view/MainActivity.kt | asimodabas | 455,709,974 | false | null | package com.asimodabas.country_detail.view
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.asimodabas.country_detail.R
class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentVi... | 0 | Kotlin | 0 | 8 | 5ac44d8cde1dc627cddd2102fda30eaa891332e2 | 354 | Country-Detail | MIT License |
bugsnag-plugin-android-okhttp/src/test/java/com/bugsnag/android/BugsnagOkHttpPluginTest.kt | bugsnag | 2,406,783 | false | null | package com.bugsnag.android
import com.bugsnag.android.okhttp.BugsnagOkHttpPlugin
import okhttp3.Call
import okhttp3.Protocol
import okhttp3.Request
import okhttp3.Response
import org.junit.Assert.assertEquals
import org.junit.Assert.assertNotNull
import org.junit.Assert.assertNull
import org.junit.Before
import org.j... | 22 | null | 205 | 1,188 | 8074d55eae773563fc97e91161b56089bf329107 | 6,899 | bugsnag-android | MIT License |
ksp-xposed/src/main/java/mufanc/easyhook/ksp_xposed/XposedEntryProcessorProvider.kt | Mufanc | 460,466,174 | false | {"Kotlin": 26558} | package mufanc.easyhook.ksp_xposed
import com.google.devtools.ksp.processing.SymbolProcessorEnvironment
import com.google.devtools.ksp.processing.SymbolProcessorProvider
class XposedEntryProcessorProvider : SymbolProcessorProvider {
override fun create(environment: SymbolProcessorEnvironment): XposedEntryProcesso... | 0 | Kotlin | 3 | 9 | e812a2808b0aab66e83ed3e5e646bdb7f1ffa3dc | 381 | EasyHook | MIT License |
src/backend/job/biz-job/src/main/kotlin/com/tencent/bkrepo/job/batch/base/CompositeJobContext.kt | TencentBlueKing | 548,243,758 | false | {"Kotlin": 13715127, "Vue": 1261493, "JavaScript": 683823, "Shell": 124343, "Lua": 101021, "SCSS": 34137, "Python": 25877, "CSS": 17382, "HTML": 13052, "Dockerfile": 4483, "Smarty": 3661, "Java": 423} | package com.tencent.bkrepo.job.batch.base
open class CompositeJobContext<T>(
val childJobs: List<ChildMongoDbBatchJob<T>>,
) : JobContext() {
private val childContextMap: Map<String, ChildJobContext>
init {
val m = HashMap<String, ChildJobContext>()
childJobs.forEach {
val chil... | 383 | Kotlin | 38 | 70 | 817363204d5cb57fcd6d0cb520210fa7b33cd5d6 | 727 | bk-repo | MIT License |
analytics/src/test/java/io/appmetrica/analytics/impl/attribution/ObjectExternalAttributionTest.kt | appmetrica | 650,662,094 | false | null | package io.appmetrica.analytics.impl.attribution
import io.appmetrica.analytics.impl.protobuf.backend.ExternalAttribution.ClientExternalAttribution
import io.appmetrica.analytics.protobuf.nano.MessageNano
import io.appmetrica.analytics.testutils.CommonTest
import io.appmetrica.analytics.testutils.MockedStaticRule
impo... | 1 | null | 5 | 54 | 472d3dfb1e09f4e7f35497e5049f53287ccce7d1 | 1,797 | appmetrica-sdk-android | MIT License |
newm-shared/src/main/kotlin/io/newm/shared/serialization/PasswordSerializer.kt | projectNEWM | 447,979,150 | false | {"Kotlin": 2223591, "HTML": 154009, "Shell": 2775, "Dockerfile": 2535, "Procfile": 60} | package io.newm.shared.serialization
import io.newm.shared.auth.Password
import kotlinx.serialization.KSerializer
import kotlinx.serialization.descriptors.PrimitiveKind
import kotlinx.serialization.descriptors.PrimitiveSerialDescriptor
import kotlinx.serialization.encoding.Decoder
import kotlinx.serialization.encoding... | 1 | Kotlin | 4 | 9 | b25c5a6d016c232707b6aefad18abec35fc4c167 | 688 | newm-server | Apache License 2.0 |
app/src/main/java/com/bh/mycurrencyconverter/ui/MainFragment.kt | binghuan | 591,054,177 | false | null | package com.bh.mycurrencyconverter.ui
import android.R.layout.simple_spinner_dropdown_item
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.AdapterView
import android.widget.ArrayAdapter
import androidx.core.widget.doAfterTextChang... | 0 | Kotlin | 0 | 0 | 775ba934d73c06bae55bef92f8e41b67f9a60c33 | 4,870 | MyCurrencyConverter | MIT License |
skaffold/src/test/kotlin/com/google/container/tools/skaffold/SkaffoldConfigurationDetectorTest.kt | GoogleContainerTools | 143,777,319 | false | null | /*
* Copyright 2018 Google Inc. 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... | 1 | null | 19 | 56 | 24c5a63b3fd9f848e15c094bbbf341201e09b82f | 9,104 | google-container-tools-intellij | Apache License 2.0 |
User Mobile App/app/src/main/java/in/techware/lataxicustomer/model/OTPBean.kt | BlondelSeumo | 272,554,453 | false | {"TSQL": 61756373, "PHP": 2277395, "Java": 2067539, "JavaScript": 103903, "Kotlin": 40327, "CSS": 25122, "HTML": 6107, "Hack": 3473} | package `in`.techware.lataxicustomer.model
class OTPBean : BaseBean() {
var otpOcde: String = ""
}
| 0 | TSQL | 4 | 1 | ba28a9ba6129a502a3f5081d9a999d4b2c2da165 | 106 | On-Demand-Taxi-Booking-Application | MIT License |
presentation/src/main/kotlin/com/lukelorusso/presentation/ui/info/InfoFragment.kt | lukelorusso | 277,556,469 | false | null | package com.lukelorusso.presentation.ui.info
import android.os.Bundle
import android.view.View
import androidx.appcompat.app.AppCompatActivity
import androidx.recyclerview.widget.RecyclerView
import com.lukelorusso.presentation.BuildConfig
import com.lukelorusso.presentation.R
import com.lukelorusso.presentation.datab... | 0 | null | 2 | 4 | 932fe4a62057ae1cb43e9c249e819a2b3c69b375 | 5,436 | ColorBlindClickAndroid | Apache License 2.0 |
presentation/src/main/kotlin/com/lukelorusso/presentation/ui/info/InfoFragment.kt | lukelorusso | 277,556,469 | false | null | package com.lukelorusso.presentation.ui.info
import android.os.Bundle
import android.view.View
import androidx.appcompat.app.AppCompatActivity
import androidx.recyclerview.widget.RecyclerView
import com.lukelorusso.presentation.BuildConfig
import com.lukelorusso.presentation.R
import com.lukelorusso.presentation.datab... | 0 | null | 2 | 4 | 932fe4a62057ae1cb43e9c249e819a2b3c69b375 | 5,436 | ColorBlindClickAndroid | Apache License 2.0 |
core/src/main/java/com/noxboxcore/core/Utils.kt | Lipnevich | 525,282,529 | false | {"Kotlin": 3870} | package com.noxboxcore.core
| 0 | Kotlin | 0 | 0 | 9f6687c86558bf5eb6574c4f1687c0e7b620319d | 29 | core | Apache License 2.0 |
models/src/main/java/dev/zacsweers/jsonserialization/models/kotlinx_serialization/Response.kt | ZacSweers | 82,453,363 | false | null | package dev.zacsweers.jsonserialization.models.kotlinx_serialization
import com.google.gson.annotations.SerializedName
import com.squareup.moshi.Json
import kotlinx.serialization.KSerializer
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
class Response {
var users... | 5 | null | 23 | 58 | 6f8cb04d1091de5b813243aa1e1b042fbf31338e | 1,037 | json-serialization-benchmarking | Apache License 2.0 |
game/plugin/shops/src/org/apollo/game/plugin/shops/builder/CategoryBuilder.kt | ultraviolet-jordan | 482,152,097 | false | null | package org.apollo.game.plugin.shops.builder
/**
* A builder for a category - a collection of sold items that share a common prefix or suffix.
*
* ```
* category("mould") {
* sell(10) of "Ring"
* sell(2) of "Necklace"
* sell(10) of "Amulet"
* }
* ```
*/
@ShopDslMarker
class CategoryBuilder {
... | 0 | null | 5 | 5 | 656755cca55b2ee4ed4288d051c2dfbb1b61386e | 1,626 | apollo | BSD Zero Clause License |
app/src/main/java/com/pagingdemo/model/UserListResponse.kt | rahulshah0891 | 259,700,601 | false | null | package com.pagingdemo.model
class UserListResponse(
var page: Int,
var per_page: Int,
var total: Int,
var total_pages: Int,
var data: List<UserEntity>
) {
} | 2 | Kotlin | 4 | 16 | c30d46534cdd737b47e9dfef4a4f0ebd79d20695 | 179 | Android-Paging | Apache License 2.0 |
data/src/main/java/com/example/data/datasource/PlayerDataSourceImpl.kt | minjun8946 | 390,971,021 | false | null | package com.example.data.datasource
import com.example.data.entity.*
import com.example.data.remote.ApiService
import io.reactivex.Single
class PlayerDataSourceImpl(private val api : ApiService) : PlayerDataSource{
override fun getBasicData(
pageData: PageData
): Single<StatsBasicInfoResponse> =
... | 0 | Kotlin | 0 | 1 | 5957c6f9f991138c44f0a024ea2092313f19cda9 | 964 | Stats | MIT License |
project/core-bukkit/src/main/kotlin/io/github/itsflicker/sync/bukkit/listener/ListenerQuit.kt | MeowRealms | 680,412,955 | false | null | package io.github.itsflicker.sync.bukkit.listener
import org.bukkit.event.player.PlayerQuitEvent
import taboolib.common.platform.Platform
import taboolib.common.platform.PlatformSide
import taboolib.common.platform.event.EventPriority
import taboolib.common.platform.event.SubscribeEvent
@PlatformSide([Platform.BUKKIT... | 1 | Kotlin | 0 | 0 | a0a9e1d2053590eec95bec51951b718f9e778918 | 475 | ItsSync | Creative Commons Zero v1.0 Universal |
src/test/kotlin/org/incava/mmonkeys/trials/rand/StrSupplier.kt | jpace | 483,382,354 | false | {"Kotlin": 302186, "Ruby": 674} | package org.incava.mmonkeys.trials.rand
interface StrSupplier {
fun get(): String
} | 0 | Kotlin | 0 | 0 | 8a79b7a1350aa5b9a1d3ac9ec91dc31761f3c672 | 88 | mmonkeys | MIT License |
lionweb-gen/src/main/kotlin/com/strumenta/kolasu/lionweb/KotlinCodeProcessor.kt | Strumenta | 91,565,400 | false | null | package com.strumenta.kolasu.lionweb
import org.jetbrains.kotlin.cli.jvm.compiler.EnvironmentConfigFiles
import org.jetbrains.kotlin.cli.jvm.compiler.KotlinCoreEnvironment
import org.jetbrains.kotlin.com.intellij.openapi.util.Disposer
import org.jetbrains.kotlin.com.intellij.psi.PsiManager
import org.jetbrains.kotlin.... | 94 | null | 9 | 87 | 0d71a9248f87f8495c8ba1cf48284dec2b9fb3cd | 2,207 | kolasu | Apache License 2.0 |
src/buildSrc/src/main/kotlin/gpo_746/AvrConstants.kt | andy-preston | 603,731,107 | false | {"Kotlin": 49457, "Assembly": 21789, "Python": 17592, "Shell": 4634, "HTML": 1290, "Dockerfile": 1246} | final class AvrConstants {
private val clockFrequency = 14745600
// To match both sides of the connection, baudRate should be one of the
// keys in Ch340gConstants.baudRate.basis
private val baudRate = 9600
private val ringHalfPeriodMilliseconds = 20
// Better to calculate PreScale and get an... | 1 | Kotlin | 0 | 0 | 97d584dc689ee4113f65c35536e05416ac4f0ac2 | 2,014 | gpo-746-android | The Unlicense |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.