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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
brd-android/buy/src/test/java/com/fabriik/buy/ui/features/processing/PaymentProcessingEventHandlerTest.kt | fabriik | 489,117,365 | false | null | package com.rockwallet.buy.ui.features.processing
import org.junit.Test
import org.junit.runner.RunWith
import org.mockito.Mockito.verify
import org.mockito.Spy
import org.mockito.junit.MockitoJUnitRunner
@RunWith(MockitoJUnitRunner::class)
class PaymentProcessingEventHandlerTest {
@Spy val handler = object : Pay... | 2 | null | 1 | 1 | 8894f5c38203c64e48242dae9ae9344ed4b2a61f | 1,735 | wallet-android | MIT License |
app/src/main/java/tv/pluto/dynamic/cropping/android/framework/gallery/GalleryActivity.kt | kamilpierudzki-vimncontractor | 869,470,880 | false | {"Kotlin": 700824} | package tv.pluto.dynamic.cropping.android.framework.gallery
import android.content.pm.ActivityInfo
import android.os.Bundle
import android.view.WindowManager
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import tv.pluto.dynamic.cropping.android.framework.gallery.ui.GalleryApp
i... | 0 | Kotlin | 0 | 0 | bf1ec23e22d95b70ae733cfd98341d4694461ab3 | 864 | dynamic-cropping-demo-android-app | Apache License 2.0 |
src/main/java/ms/konovalov/intellij/hidpi/FontProfileManager.kt | mskonovalov | 80,467,487 | false | null | package ms.konovalov.intellij.hidpi
import com.intellij.ide.ui.LafManager
import com.intellij.ide.ui.UISettings
import com.intellij.openapi.actionSystem.impl.ActionToolbarImpl
import com.intellij.openapi.application.ApplicationManager
import com.intellij.openapi.editor.EditorFactory
import com.intellij.openapi.editor.... | 5 | Kotlin | 3 | 20 | f7ab2dd3bc7977f59eb78bfb82127f03cf41e923 | 2,937 | intellij-hidpi-profiles | MIT License |
src/app/src/main/java/com/couchbase/expensereporter/data/expenseTypes/ExpenseTypeRepository.kt | couchbaselabs | 540,301,470 | false | null | package com.couchbase.expensereporter.data.expenseTypes
import com.couchbase.expensereporter.models.ExpenseTypes
interface ExpenseTypeRepository {
suspend fun get(): List<ExpenseTypes>
suspend fun count(): Int
} | 0 | Kotlin | 0 | 4 | bbf0836f5210db36840250b948a0c0c506e57c64 | 221 | android-kotlin-cbl-expense-reporter | MIT License |
buildSrc/src/main/kotlin/reactivecircus/flowbinding/ApiCheckConfigs.kt | ReactiveCircus | 201,777,295 | false | null | package reactivecircus.flowbinding
import org.gradle.api.Project
import org.gradle.kotlin.dsl.configure
import org.gradle.kotlin.dsl.withType
import kotlinx.validation.ApiValidationExtension
import kotlinx.validation.BinaryCompatibilityValidatorPlugin
/**
* Apply and configure the [BinaryCompatibilityValidatorPlugin... | 6 | Kotlin | 43 | 894 | 25e5b9723211d37c3cb36daae8649cc1d603691a | 1,249 | FlowBinding | Apache License 2.0 |
src/main/kotlin/io/zhudy/duic/env/PrepareEnvironmentPostProcessor.kt | JangoCity | 168,462,784 | true | {"Kotlin": 277163, "Vue": 83478, "JavaScript": 9457, "HTML": 2393, "CSS": 34} | package io.zhudy.duic.env
import io.zhudy.duic.DBMS
import org.springframework.boot.SpringApplication
import org.springframework.boot.env.EnvironmentPostProcessor
import org.springframework.core.env.ConfigurableEnvironment
import org.springframework.core.env.MapPropertySource
/**
* 启动服务前检查依赖环境是否可用。全部检查通过用启动服务,或者返回具体... | 0 | Kotlin | 0 | 0 | abea3f10834011a0f5d94051500c633415022481 | 923 | duic | Apache License 2.0 |
app/src/main/java/com/hfut/schedule/ui/Activity/success/cube/Settings/Test/Test.kt | Chiu-xaH | 705,508,343 | false | {"Kotlin": 707947, "HTML": 77257} | package com.hfut.schedule.ui.Activity.success.cube.Settings.Test
import android.annotation.SuppressLint
import android.content.Context
import android.net.wifi.WifiManager
import android.os.Build
import android.util.Log
import androidx.annotation.RequiresApi
import androidx.compose.animation.core.animateDp
import andro... | 0 | Kotlin | 0 | 2 | 8a3f58a613224afae93b1b083c0e61ca077ace56 | 7,072 | HFUT-Schedule | Apache License 2.0 |
app/src/main/java/com/example/minimovie/repository/movie/MoviesDTO.kt | IvonKhalif | 319,346,510 | false | null | package com.example.minimovie.repository.movie
import android.os.Parcelable
import kotlinx.android.parcel.Parcelize
@Parcelize
data class MoviesDTO(
var page: Int,
var results: List<ResultMovie>?,
var total_pages: Int?,
var total_results: Int?
): Parcelable {
@Parcelize
data class ResultMovie... | 0 | Kotlin | 0 | 0 | abcd5cacfcaf210c6587052489ab93841931e234 | 754 | Mini-Movie | Apache License 2.0 |
app/src/main/java/cz/nestresuju/MainActivity.kt | johnondrej | 371,166,772 | false | null | package cz.nestresuju
import android.content.Context
import android.content.Intent
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import androidx.navigation.findNavController
import androidx.navigation.ui.AppBarConfiguration
import androidx.navigation.ui.setupActionBarWithNavController
import... | 0 | Kotlin | 0 | 0 | 8d7c54c00c865a370ed24a356abd2bfeeef4ed4b | 3,711 | nestresuju-android | Apache License 2.0 |
ndic-jvm/src/main/kotlin/net/codesanctum/ndic/util/JvmExtentions.kt | wickedev | 123,547,642 | false | {"JavaScript": 1668745, "Kotlin": 37027} | package net.codesanctum.ndic.util
import org.jsoup.nodes.Element
fun Element.next():Element? = nextElementSibling()
fun Element.`is`(tagName: String): Boolean = tagName() == tagName | 0 | JavaScript | 0 | 1 | 2adcf73028ef7a82f1980a82807f46635c35cfa7 | 184 | ndic | MIT License |
app/src/main/java/com/cobeisfresh/azil/presentation/EditPasswordPresenter.kt | vejathegreat | 162,910,055 | false | null | package com.cobeisfresh.azil.presentation
import com.cobeisfresh.azil.common.constants.ERROR_CODE_INVALID_PASSWORD
import com.cobeisfresh.azil.common.constants.ERROR_CODE_PASSWORDS_MISMATCHED
import com.cobeisfresh.azil.common.extensions.isValidPassword
import com.cobeisfresh.azil.data.models.ChangePasswordData
import... | 0 | Kotlin | 0 | 0 | 174c15f617b5766bd2f093a7780c7d090b632d40 | 5,250 | Azil-Osijek-Android | The Unlicense |
sdk/src/main/java/com/talobin/robinhood/util/RandomQueryGenerator.kt | talobin | 352,029,813 | false | null | /*
* Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | 0 | Kotlin | 0 | 0 | f32dd6d2c53bd6cd3ed57d8386277b0022f12790 | 4,295 | Robinhood-Android-SDK | Apache License 2.0 |
app/src/main/java/com/kavrin/marvin/domain/model/tv/api/TvApiResponse.kt | k4vrin | 503,752,158 | false | {"Kotlin": 562455} | package com.kavrin.marvin.domain.model.tv.api
import com.kavrin.marvin.domain.model.tv.entities.Tv
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
data class TvApiResponse(
@SerialName("page")
val page: Int,
@SerialName("results")
val tvs: List<Tv>,
@Seri... | 0 | Kotlin | 0 | 2 | 13dde151d9d35d2a68a08b2f0b17e89fa9ab56bf | 425 | Marvin | MIT License |
straight/src/commonMain/kotlin/me/localx/icons/straight/outline/Skip15Seconds.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.straight.outline
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.Mite... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 4,242 | icons | MIT License |
src/main/kotlin/me/damon/schoolbot/service/GuildService.kt | day-mon | 450,948,808 | false | {"Kotlin": 308718, "Dockerfile": 1374} | package me.damon.schoolbot.service
import me.damon.schoolbot.objects.guild.GuildSettings
import me.damon.schoolbot.objects.repository.GuildSettingsRepository
import org.springframework.stereotype.Service
@Service("GuildService")
class GuildService(
private val guildRepository: GuildSettingsRepository
)
{
fun... | 0 | Kotlin | 0 | 2 | 7fc75f84a247060a53049ca04eb9c61fedf4b3b8 | 798 | Schoolbot-kt | Apache License 2.0 |
feature/marketlist/src/main/java/ir/composenews/marketlist/MarketListViewModel.kt | Kaaveh | 576,928,671 | false | null | @file:Suppress("MaxLineLength", "TooGenericExceptionCaught")
package ir.composenews.marketlist
import androidx.lifecycle.viewModelScope
import dagger.hilt.android.lifecycle.HiltViewModel
import ir.composenews.base.BaseContract
import ir.composenews.base.BaseViewModel
import ir.composenews.core_test.dispatcher.Dispatc... | 7 | null | 51 | 319 | 2d49e4a79a9c22a916bd3d2e814127fe65e625a8 | 4,616 | ComposeNews | Apache License 2.0 |
common/src/main/java/com/sygic/sdk/example/common/data/MapFragmentDataModel.kt | Sygic | 433,540,119 | false | {"Kotlin": 124860} | package com.sygic.sdk.example.common.data
import com.sygic.sdk.map.`object`.MapMarker
import com.sygic.sdk.map.`object`.MapRoute
import com.sygic.sdk.map.data.SimpleMapDataModel
import com.sygic.sdk.position.GeoCoordinates
import com.sygic.sdk.route.Route
class MapFragmentDataModel : SimpleMapDataModel() {
priva... | 0 | Kotlin | 0 | 1 | 9f079fb20a106f756d3bbd01dba09468a4a0965d | 1,466 | sygic-sdk-examples-android | MIT License |
mobikulOC/src/main/java/webkul/opencart/mobikul/helper/NetworkSchedulerService.kt | fortunedev223 | 435,488,584 | false | {"Kotlin": 1128789, "Java": 655153} | package webkul.opencart.mobikul.helper
import android.annotation.TargetApi
import android.app.Service
import android.app.job.JobParameters
import android.app.job.JobService
import android.content.Intent
import android.content.IntentFilter
import android.os.Build
import android.widget.Toast
@TargetApi(Build.VERSION_CO... | 0 | Kotlin | 0 | 0 | fe2513dab910dc471810fa37d6c01c848712c295 | 1,566 | Boutiquey_Android | MIT License |
project/common-impl/src/main/kotlin/ink/ptms/adyeshach/impl/entity/type/DefaultItem.kt | TabooLib | 284,936,010 | false | {"Kotlin": 1050024, "Java": 35966} | package ink.ptms.adyeshach.impl.entity.type
import ink.ptms.adyeshach.core.Adyeshach
import ink.ptms.adyeshach.core.entity.EntityTypes
import ink.ptms.adyeshach.core.entity.type.AdyItem
import ink.ptms.adyeshach.core.util.toItem
import ink.ptms.adyeshach.impl.util.ifTrue
import org.bukkit.Material
import org.bukkit.en... | 13 | Kotlin | 86 | 98 | ac7098b62db19308c9f14182e33181c079b9e561 | 1,837 | adyeshach | MIT License |
ocpi-toolkit-2.2.1/src/main/kotlinGen/com/izivia/ocpi/toolkit/modules/tokens/domain/AuthorizationInfoPartial.kt | IZIVIA | 497,830,391 | false | {"Kotlin": 1365913} | // ----------
// - WARNING -
// ----------
// This code is generated AND MUST NOT BE EDITED
// ----------
package com.izivia.ocpi.toolkit.modules.tokens.domain
import com.izivia.ocpi.toolkit.common.CiString
import com.izivia.ocpi.toolkit.modules.types.DisplayTextPartial
import com.izivia.ocpi.toolkit.modules.type... | 5 | Kotlin | 2 | 15 | 493f34775934d53b8559cf18df7ff4a50aaf2542 | 1,138 | ocpi-toolkit | MIT License |
octicons/src/commonMain/kotlin/com/woowla/compose/icon/collections/octicons/octicons/FileMedia24.kt | walter-juan | 868,046,028 | false | {"Kotlin": 34345428} | package com.woowla.compose.icon.collections.octicons.octicons
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.Stro... | 0 | Kotlin | 0 | 3 | eca6c73337093fbbfbb88546a88d4546482cfffc | 3,283 | compose-icon-collections | MIT License |
library/src/main/kotlin/ru/kontur/kinfra/kfixture/generators/dates/JapaneseDateDateCreator.kt | skbkontur | 212,616,062 | false | null | package ru.kontur.kinfra.kfixture.generators.dates
import java.time.chrono.JapaneseDate
import java.time.temporal.ChronoUnit
class JapaneseDateDateCreator : DateCreator<JapaneseDate> {
override fun create(interval: TimeInterval): JapaneseDate {
return when (interval) {
TimeInterval.PAST -> Jap... | 7 | Kotlin | 1 | 1 | e1845e8c9737c66b63cfa49925ad3bb9c589fbd1 | 639 | KFixture | MIT License |
app/src/main/java/lucky/online/matka/app/ui/main/viewmodel/SecondViewModel.kt | navdeepmeenaraj | 563,979,652 | false | {"Kotlin": 349451} | package lucky.online.matka.app.ui.main.viewmodel
import androidx.hilt.lifecycle.ViewModelInject
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import lucky.online.matka.app.web.model.*
import lucky.online.matka.a... | 0 | Kotlin | 0 | 0 | 770766d4f97480824d5d6303c511ba3a84af583a | 7,853 | LuckyMatka | Apache License 2.0 |
jetpack/src/main/java/io/github/caoshen/androidadvance/jetpack/compose/navigation/Screens.kt | caoshen | 290,115,293 | false | null | package io.github.caoshen.androidadvance.jetpack.compose.navigation
import androidx.navigation.NavController
import io.github.caoshen.androidadvance.jetpack.compose.util.AppHolder
import io.github.caoshen.androidadvance.jetpack.compose.util.AppHolder.HOME_SCREEN
import io.github.caoshen.androidadvance.jetpack.compose.... | 0 | Kotlin | 0 | 2 | b128cdd72dd81ef2bc3f3510f808f198196ef889 | 992 | AndroidAdvance | MIT License |
app/src/main/java/co/yml/ycharts/app/presentation/BarChartActivity.kt | yml-org | 516,647,200 | false | null | package co.yml.ycharts.app.presentation
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.height
import androidx.co... | 5 | Kotlin | 8 | 206 | f5f0bdcf432be1f5e26fdfca3c8b77d4df5db323 | 4,684 | YCharts | Apache License 2.0 |
app/src/main/java/com/flixclusive/presentation/mobile/screens/player/controls/TopControls.kt | rhenwinch | 659,237,375 | false | {"Kotlin": 905846} | package com.flixclusive.presentation.mobile.screens.player.controls
import androidx.annotation.DrawableRes
import androidx.compose.foundation.background
import androidx.compose.foundation.clickable
import androidx.compose.foundation.interaction.MutableInteractionSource
import androidx.compose.foundation.layout.Arrange... | 4 | Kotlin | 6 | 37 | 6b153eec56c3e68e6da5ecdc645041ad2ed912d1 | 4,089 | Flixclusive | MIT License |
src/main/kotlin/commands/Rclone.kt | MineInAbyss | 541,368,210 | false | null | package commands
import com.lordcodes.turtle.ShellRunException
import com.lordcodes.turtle.shellRun
import kotlinx.serialization.builtins.ListSerializer
import kotlinx.serialization.json.Json
import java.nio.file.Path
object Rclone {
val rclone = "rclone"
private val json = Json { ignoreUnknownKeys = true }
... | 0 | Kotlin | 0 | 1 | 274edcdcb42dc0ba4b18bdc3463d086f46b520ef | 1,223 | Keepup | MIT License |
app/src/main/java/com/harris/cryptoworld/data/remote/model/ApiResponse.kt | HarrisDas | 407,679,657 | false | null | package com.harris.cryptoworld.data.remote.model
import com.google.gson.annotations.SerializedName
open class ApiResponse {
@SerializedName("success")
var success: Boolean? = null
@SerializedName("error")
var error: ApiErrorResponse? = null
} | 0 | Kotlin | 0 | 6 | 1b72eb2daf07ebb1545be6f8728823b6cc2473c2 | 261 | CryptoWorld | Apache License 2.0 |
bilimiao-comm/src/main/java/com/a10miaomiao/bilimiao/comm/store/WindowStore.kt | 10miaomiao | 142,169,120 | false | {"Kotlin": 1671460, "Java": 664642, "HTML": 601} | package com.a10miaomiao.bilimiao.store
import android.app.Activity
import android.content.Context
import android.os.Debug
import android.util.DisplayMetrics
import android.view.View
import androidx.core.graphics.Insets
import androidx.lifecycle.ViewModel
import com.a10miaomiao.bilimiao.comm.store.base.BaseStore
import... | 44 | Kotlin | 38 | 977 | 1d59b82ba30b4c2e83c781479d09c48c3a82cd47 | 2,562 | bilimiao2 | Apache License 2.0 |
vormi-portal-telegram-admin/src/main/kotlin/tech/vtitbid/vormi/telegramadmin/Module.kt | vtitbid | 584,951,475 | false | null | /*
* Copyright 2023 VTITBiD.TECH Research Group <<EMAIL>>
*
* 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 require... | 4 | Kotlin | 0 | 2 | fdf9abc1c867e876c150882ec755567e0e9f8530 | 2,896 | vormi-portal | Apache License 2.0 |
xxl-job-admin-bio-client/src/test/kotlin/top/nb6/scheduler/xxl/http/XxlAdminHttpClientTest.kt | ColinZou | 509,623,008 | false | null | package top.nb6.scheduler.xxl.http
import org.junit.jupiter.api.Assertions
import org.junit.jupiter.api.TestInstance
import java.net.http.HttpRequest
import java.net.http.HttpResponse
@TestInstance(TestInstance.Lifecycle.PER_CLASS)
internal class XxlAdminHttpClientTest {
companion object {
val adminSiteCo... | 0 | Kotlin | 0 | 0 | 8d5ec81846ef38ec306b59b2a16a0de4cf40324d | 1,368 | xxl-job-admin-client | MIT License |
micronaut/src/main/kotlin/org/fosdem/steinhauer/demo/micronaut/service/ArticleService.kt | daincredibleholg | 326,807,361 | false | null | package org.fosdem.steinhauer.demo.micronaut.service
import org.fosdem.steinhauer.demo.domain.Article
import org.fosdem.steinhauer.demo.micronaut.repository.ArticleRepository
import javax.inject.Singleton
interface ArticleService {
fun getAllArticle(): List<Article>
}
@Singleton
class FosdemArticleService (priva... | 1 | Kotlin | 0 | 0 | 199c9b3f9dfd469b8dfc38385261ff5ffe8f78ce | 455 | this-spring-shall-be-challenged | MIT License |
shared/src/commonMain/kotlin/com/renzler/shared/apis/kraken/domainWS/TradeFeed.kt | Pren7z | 440,201,285 | false | null | package com.renzler.shared.apis.kraken.domainWS
import kotlinx.serialization.Serializable
@Serializable
data class TradeFeed(
var channelID : String,
var channelName : String,
var pair : String,
var trades : Feed,
)
@Serializable
data class Feed(
var price : String,
var volume: St... | 0 | Kotlin | 5 | 0 | db66d801a80cf908c4310b2722afaaa5351c0ef1 | 428 | kraken-kotlin-api | MIT License |
app/src/main/java/com/azamovhudstc/androidkeylogger/SvcAccFix.kt | Sozo-app | 770,386,334 | false | {"Kotlin": 14876} | package com.azamovhudstc.androidkeylogger
import android.accessibilityservice.AccessibilityService
import android.content.Context
import android.content.Intent
import android.text.format.DateFormat
import android.util.Log
import android.view.accessibility.AccessibilityEvent
import java.io.File
import java.io.FileOutpu... | 0 | Kotlin | 0 | 0 | b990062213ac26d4b6a6affac7d993135e86429d | 2,191 | Android-KeyLogger | MIT License |
src/main/java/puzzles/easy/onboarding/Solution.kt | vafin-mk | 96,515,154 | false | {"Java": 291144, "Kotlin": 35152, "Groovy": 5340, "C#": 739, "Python": 648, "C": 624, "JavaScript": 291, "Shell": 271} | package puzzles.easy.onboarding
import java.util.*
fun main(args : Array<String>) {
val input = Scanner(System.`in`)
while (true) {
val enemy1 = input.next()
val dist1 = input.nextInt()
val enemy2 = input.next()
val dist2 = input.nextInt()
println(if (dist1 < dist2) enemy1 else enemy2)
}
} | 1 | null | 1 | 1 | 18da2175dd043a2a2ba0f4ac60c0edd93225d3fa | 317 | codingame | MIT License |
music/src/main/java/com/dht/music/local/LocalAdapter.kt | Sotardust | 233,010,320 | false | {"Java": 482520, "Kotlin": 375635} | package com.dht.music.local
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.annotation.NonNull
import androidx.databinding.DataBindingUtil
import androidx.recyclerview.widget.RecyclerView
import com.dht.baselib.base.BaseAdapter
import com.dht.baselib.callback.RecycleItemClickCallBack
i... | 1 | null | 1 | 1 | cb410886655fb44cc3ee522e16c7bbd28fd899e3 | 1,610 | Interest | Apache License 2.0 |
foundation/video/api/src/main/kotlin/com/savvasdalkitsis/uhuruphotos/foundation/video/api/ExoplayerType.kt | savvasdalkitsis | 485,908,521 | false | {"Kotlin": 2667755, "Ruby": 1294, "PowerShell": 325, "Shell": 158} | /*
Copyright 2022 <NAME>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distribu... | 71 | Kotlin | 26 | 358 | 22c2ac7d953f88b4d60fb74953667ef0c4beacc5 | 862 | uhuruphotos-android | Apache License 2.0 |
app/src/main/java/com/douglas/offlinefirstsample/domain/service/SchedulerJobService.kt | douglas-queiroz | 159,359,486 | false | null | package com.douglas.offlinefirstsample.domain.service
import com.birbit.android.jobqueue.JobManager
import com.birbit.android.jobqueue.scheduling.FrameworkJobSchedulerService
class SchedulerJobService: FrameworkJobSchedulerService() {
override fun getJobManager(): JobManager {
return JobManagerFactory.ge... | 0 | Kotlin | 0 | 0 | f52a8058f382a3073786541118333db677ba8234 | 341 | OfflineFirstSample | Apache License 2.0 |
src/main/kotlin/com/helltar/aibot/dao/tables/CommandsStateTable.kt | Helltar | 591,327,331 | false | {"Kotlin": 88527} | package com.helltar.aibot.dao.tables
import org.jetbrains.exposed.sql.Table
import org.jetbrains.exposed.sql.javatime.datetime
object CommandsStateTable : Table() {
val name = varchar("name", 32)
val isDisabled = bool("isDisabled")
val datetime = datetime("datetime")
override val primaryKey = Primar... | 0 | Kotlin | 3 | 21 | 1a446727f4206d26c786a2958b3a275b1593eefb | 332 | artific_intellig_bot | MIT License |
nft/migration/src/main/kotlin/com/rarible/protocol/nft/migration/mongock/mongo/ChangeLog00002HistoryIndexes.kt | NFTDroppr | 418,665,809 | true | {"Kotlin": 2329156, "Scala": 37343, "Shell": 6001, "HTML": 547} | package com.rarible.protocol.nft.migration.mongock.mongo
import com.github.cloudyrock.mongock.ChangeLog
import com.github.cloudyrock.mongock.ChangeSet
import com.rarible.protocol.nft.core.repository.history.NftItemHistoryRepository
import io.changock.migration.api.annotations.NonLockGuarded
import kotlinx.coroutines.r... | 0 | Kotlin | 0 | 1 | b1efdaceab8be95429befe80ce1092fab3004d18 | 999 | ethereum-indexer | MIT License |
binding/src/main/java/com/lifecycle/binding/adapter/pager/FragmentPager2Adapter.kt | striveprince | 211,611,448 | false | null | package com.lifecycle.binding.adapter.pager
import android.util.SparseArray
import androidx.fragment.app.Fragment
import androidx.fragment.app.FragmentManager
import androidx.lifecycle.Lifecycle
import androidx.viewpager2.adapter.FragmentStateAdapter
import com.lifecycle.binding.IEvent
import com.lifecycle.binding.ILi... | 0 | Kotlin | 0 | 2 | 651a6ecd744e8124c5002a075a4a8c325bebd977 | 1,124 | kotlin | Apache License 2.0 |
sample-common/src/jvmMain/kotlin/com/mikepenz/common/repository/actual.kt | mikepenz | 230,075,651 | false | null | package com.mikepenz.common.repository
import co.touchlab.kermit.CommonWriter
import co.touchlab.kermit.Logger
import co.touchlab.kermit.StaticConfig
actual fun getLogger(): Logger = Logger(StaticConfig(logWriterList = listOf(CommonWriter()))) | 1 | Kotlin | 3 | 21 | bf4883e7d4d9cbcea8a727f3dde3d22e7c7082b3 | 245 | storyblok-mp-SDK | Apache License 2.0 |
yetutil/src/main/java/yet/ui/ext/ParamExt.kt | yangentao | 64,828,822 | false | null | package yet.ui.ext
import android.view.View
import android.view.ViewGroup
import yet.theme.Space
import yet.theme.ViewSize
/**
* Created by yangentao on 2015/11/21.
* <EMAIL>
*/
val Param: ViewGroup.LayoutParams
get() {
return ViewGroup.LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, ViewGroup.LayoutParams.... | 0 | Kotlin | 0 | 0 | e5f048899e88d34e0fbc331b76cdd5d897495438 | 6,348 | klib | Apache License 2.0 |
fiks-arkiv-forenklet-arkivering/src/main/kotlin/no/ks/fiks/io/arkiv/model/forenklet/Personidentifikator.kt | ks-no | 462,694,499 | false | {"Kotlin": 138061, "Java": 12286} | package no.ks.fiks.io.arkiv.model.forenklet
class Personidentifikator {
var personidentifikatorNr: String? = null
private set
var personidentifikatorLandkode: String? = null
private set
fun personidentifikatorNr(personidentifikatorNr: String) = apply { this.personidentifikatorNr = personid... | 2 | Kotlin | 0 | 0 | b8d2cfc9422c5dccac0ab02c79064a4d3a74542d | 486 | fiks-arkiv-client-java | MIT License |
frontview/src/main/kotlin/platform/MainView.kt | SilenLoc | 442,108,466 | false | {"Java": 76501, "Kotlin": 15840, "CSS": 254} | package platform
import javafx.scene.Parent
import javafx.scene.layout.BorderPane
class MainView(
table: Parent,
controls: Parent
) : BorderPane() {
init {
center = table
right = controls
}
} | 1 | Java | 0 | 0 | 1a06581ec54ea7c277f43ab9ca8905821d386355 | 214 | tichu | Apache License 2.0 |
composeApp/src/commonMain/kotlin/domain/usecase/SearchExerciseUseCase.kt | anwar-pasaribu | 798,728,457 | false | {"Kotlin": 370338, "Swift": 585} | package domain.usecase
import domain.model.gym.Exercise
import domain.repository.IGymRepository
class SearchExerciseUseCase(
private val repository: IGymRepository
) {
suspend operator fun invoke(searchQuery: String): List<Exercise> {
return repository.searchExercises(searchQuery)
}
} | 0 | Kotlin | 0 | 0 | f2878e0f953fd2003d0c412d6de344a4932c886d | 307 | Tabiat | MIT License |
chart/src/main/java/com/kylecorry/ceres/chart/label/ChartLabelFormatter.kt | kylecorry31 | 530,670,032 | false | {"Kotlin": 50931, "Python": 298} | package com.kylecorry.ceres.chart.label
interface ChartLabelFormatter {
fun format(value: Float): String
} | 0 | Kotlin | 0 | 0 | a599259e83416b4ea054edea7fee863ffe9cd22a | 111 | ceres | MIT License |
src/main/kotlin/App.kt | DunnRiley | 389,178,195 | false | null | import kotlinx.css.*
import kotlinx.css.properties.border
import react.*
import react.dom.*
import styled.*
fun TeamNames(): Array<Array<String>> {
val NameOfteams = arrayOf(
arrayOf("Team 1", "1a", "2a", "3a", "4a","5a"),
arrayOf("Team 2", "1b", "2b", "3b", "4b","5b"),
arrayOf("Team 3", "1... | 0 | Kotlin | 0 | 0 | e86eeecd7e2621ab40e9e354b688f9f3e0af7c56 | 1,649 | LeaderBoardForOrgabowl | Apache License 2.0 |
app/src/main/java/io/github/kunal26das/yify/service/MovieService.kt | kunal26das | 283,553,926 | false | null | package io.github.kunal26das.yify.service
import androidx.annotation.IntRange
import io.github.kunal26das.model.Genre
import io.github.kunal26das.model.Movie
import io.github.kunal26das.model.Quality
import io.github.kunal26das.model.Response
import retrofit2.http.GET
import retrofit2.http.Query
interface MovieServic... | 5 | Kotlin | 0 | 1 | f9c76b21e6222b447550d0f1b153e703bd9edd7d | 2,446 | yify | Apache License 2.0 |
billMan/src/main/kotlin/com/weesnerdevelopment/billman/income/IncomeRouterImpl.kt | adamWeesner | 239,233,558 | false | null | package com.weesnerdevelopment.billman.income
import com.weesnerdevelopment.businessRules.*
import com.weesnerdevelopment.businessRules.get
import com.weesnerdevelopment.shared.base.ServerError
import com.weesnerdevelopment.shared.billMan.Income
import com.weesnerdevelopment.shared.billMan.responses.IncomeResponse
imp... | 1 | Kotlin | 1 | 1 | c7962e6ccec3b8b327886a3b35e2e17d16449c34 | 6,452 | weesnerDevelopment | MIT License |
app/src/main/java/com/se/fintechadvise/Fragments/SettingsFragment.kt | FarazRashid | 788,390,387 | false | {"Kotlin": 275557, "Python": 16782, "Java": 9941} | package com.se.fintechadvise.Fragments
import android.os.Bundle
import android.transition.Fade
import android.transition.Slide
import android.transition.TransitionManager
import android.util.Log
import android.view.Gravity
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.Vie... | 1 | Kotlin | 0 | 5 | ad642789905cb7875aa463dc393a07bbe2518e75 | 6,193 | FintechAdvise | MIT License |
app/src/main/java/iy/panneerdas/batterylevelnotification/domain/usecase/worker/GetAllWorkerLogUseCase.kt | panneerdasiy | 646,193,275 | false | null | package iy.panneerdas.batterylevelnotification.domain.usecase.worker
import iy.panneerdas.batterylevelnotification.domain.model.DomainWorkerLog
import iy.panneerdas.batterylevelnotification.domain.repository.WorkerLogRepository
import kotlinx.coroutines.flow.Flow
import javax.inject.Inject
interface GetAllWorkerLogUs... | 0 | Kotlin | 0 | 0 | d70bdc9c5b0b3fc0da0e98e8d225b2dadfdc8cdb | 564 | Battery-Level-Notification | MIT License |
app/src/main/java/dev/vaibhav/quizzify/util/SafeApiCall.kt | Vaibhav2002 | 469,355,489 | false | {"Kotlin": 257353} | package dev.vaibhav.quizzify.util
import retrofit2.Response
import timber.log.Timber
import java.io.IOException
suspend fun <T> safeApiCall(
successMessage: String = "",
errorMessage: String? = null,
call: suspend () -> Response<T>
): Resource<T> = try {
val response = call()
if (response.isSucces... | 2 | Kotlin | 12 | 42 | 7527d4bc20d86808b2a04c193466273663cff9f0 | 781 | Quizzify | MIT License |
app/src/main/java/co/ello/android/ello/ext/ViewGroup.kt | ello | 129,277,321 | false | null | package co.ello.android.ello
import android.view.View
import android.view.ViewGroup
val ViewGroup.childViews: List<View> get() = (0 until childCount).map { getChildAt(it) }
| 0 | Kotlin | 0 | 2 | 489a1b9f0acf5c2b92bd65ada7e73b91fc8e2ff4 | 176 | android | MIT License |
tabby-jackson/src/jvmMain/kotlin/com/sksamuel/tabby/jackson/TabbyModule.kt | sksamuel | 280,509,527 | false | null | package com.sksamuel.tabby.jackson
import com.fasterxml.jackson.core.JsonGenerator
import com.fasterxml.jackson.core.JsonParser
import com.fasterxml.jackson.core.JsonToken
import com.fasterxml.jackson.databind.BeanDescription
import com.fasterxml.jackson.databind.DeserializationConfig
import com.fasterxml.jackson.data... | 0 | Kotlin | 1 | 6 | e49c41da4e0267f47a28b330524130621e7b891c | 3,994 | tabby | Apache License 2.0 |
src/main/kotlin/io/github/durun/lateko/dsl/line/ItemListScope.kt | Durun | 244,782,805 | false | null | package io.github.durun.lateko.dsl.line
import io.github.durun.lateko.dsl.Builder
import io.github.durun.lateko.dsl.inline.text
import io.github.durun.lateko.extension.*
import io.github.durun.lateko.extension.ItemList.Companion.toComposition
import io.github.durun.lateko.model.inline.InlineElement
abstract class Ite... | 5 | Kotlin | 0 | 1 | b5809e171acf41a804b2fbdb4ddb21185bd93e8b | 1,352 | lateko | MIT License |
hurl-core/src/main/kotlin/com/orange/ccmd/hurl/core/utils/Log.kt | isabella232 | 379,204,586 | true | {"Kotlin": 512534, "Python": 22137, "Shell": 3425, "HTML": 1830, "Mustache": 1098} | /*
* Copyright (C) 2020 Orange
*
* Hurl JVM (JVM Runner for https://hurl.dev)
*
* 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
... | 0 | null | 0 | 0 | 787bb3f83ff6629a5d3a391518675b60e2a28e9b | 1,181 | hurl-jvm | Apache License 2.0 |
src/k_09_arrayYColecciones/Ejemplo8.kt | liquisbert | 209,602,066 | true | {"Kotlin": 29694} | package k_09_arrayYColecciones
fun main() {
val edades: MutableList<Int> = mutableListOf(23, 67, 12, 35, 12)
println("Lista de edades")
println(edades)
edades[0] = 60
println("Lista completa después de modificar la primer edad")
println(edades)
println("Primera edad almacenada en la lista")... | 0 | null | 0 | 0 | 709a910ae55700935a6bd1aa7a3842ce5bfc4bf3 | 1,228 | KotlinStudyJam | MIT License |
basic-feature/src/main/java/com/roz/coinfetcher/basicfeature/data/remote/model/TagResponse.kt | roryjones123 | 674,608,140 | false | null | package com.roz.coinfetcher.basicfeature.data.remote.model
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
data class TagResponse(
val id: String,
val name: String,
@SerialName("coin_counter")
val coinCounter: Long,
@SerialName("ico_counter")
val... | 1 | Kotlin | 0 | 0 | 6f8c662e5f7d8944dc2053bd64e524cdcbac4b2c | 513 | Coin-Fetcher | MIT License |
app/src/main/java/com/watcha/itunes/home/TrackPagingDataAdapter.kt | su6378 | 681,065,957 | false | null | package com.watcha.itunes.home
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.databinding.DataBindingUtil
import androidx.paging.PagingDataAdapter
import androidx.recyclerview.widget.DiffUtil
import androidx.recyclerview.widget.RecyclerView
import com.watcha.domain.model.Track
import ... | 0 | Kotlin | 0 | 0 | 933fca178c006a06cdc88161c05d8a8dad49ff79 | 1,778 | iTunesSearch | MIT License |
src/main/kotlin/com/sbl/sulmun2yong/global/migration/AddSurveyIdAtResponses.kt | SUIN-BUNDANG-LINE | 819,257,518 | false | {"Kotlin": 405689} | package com.sbl.sulmun2yong.global.migration
import io.mongock.api.annotations.ChangeUnit
import io.mongock.api.annotations.Execution
import io.mongock.api.annotations.RollbackExecution
import org.bson.types.Binary
import org.slf4j.LoggerFactory
import org.springframework.data.mongodb.core.MongoTemplate
import org.spr... | 0 | Kotlin | 1 | 3 | 3084b3ea3ad428ec9d665ba92393631e23004373 | 2,479 | Backend | MIT License |
yangxj96-starter/yangxj96-starter-security/src/main/java/io/github/yangxj96/starter/security/mapper/TokenAccessMapper.kt | yangxj96 | 574,967,993 | false | null | /*
* Copyright (c) 2021 - 2023
* 作者:杨新杰(<NAME>)
* 邮箱:<EMAIL>
* 日期:2023-05-05 09:49:48
* Copyright (c) 2021 - 2023
*/
package io.github.yangxj96.starter.security.mapper
import com.baomidou.mybatisplus.core.mapper.BaseMapper
import io.github.yangxj96.bean.security.TokenAccess
/**
* Token的JDBC相关操作
*/
interf... | 0 | Kotlin | 0 | 0 | a7bd92ba9722b1573ff7c2e469c06f092a7f0f37 | 368 | yangxj96-saas-api | MIT License |
samples/reactive-server-example/src/main/kotlin/io/lonmstalker/telegrambots/config/FlowConfiguration.kt | lonmstalker | 645,014,780 | false | null | package io.lonmstalker.telegrambots.config
import io.lonmstalker.telegrambots.model.UpdateData
import kotlinx.coroutines.flow.MutableSharedFlow
import org.springframework.context.annotation.Bean
import org.springframework.context.annotation.Configuration
@Configuration
class FlowConfiguration {
@Bean
fun sin... | 0 | Kotlin | 0 | 0 | 904dd8cd10ca1b5e799bb31bc558c7e4f12e7eaf | 363 | telegrambots-reactive | Apache License 2.0 |
src/main/kotlin/grojdg/harderstats/PlayerStats.kt | xxk-i | 627,815,085 | false | {"Kotlin": 20865, "Java": 5435} | package grojdg.harderstats
class PlayerStats {
var damageTaken = 0
private set
var mobsKilled = 0
private set
var foodEaten = 0
private set
var experienceGained = 0
private set
var waterTimer: StatTimer = StatTimer()
var netherTimer: StatTimer = StatTimer()
f... | 0 | Kotlin | 0 | 0 | 050d94841898463253ab7e3ca1134bad905e0b1d | 881 | harderstats | Creative Commons Zero v1.0 Universal |
app/src/main/java/com/kylecorry/trail_sense/settings/migrations/PreferenceMigration.kt | kylecorry31 | 215,154,276 | false | {"Kotlin": 2589968, "Python": 22919, "HTML": 18863, "Shell": 5290, "CSS": 5120, "JavaScript": 3814, "Batchfile": 2553} | package com.kylecorry.trail_sense.settings.migrations
import android.content.Context
import com.kylecorry.andromeda.preferences.IPreferences
data class PreferenceMigration(
val fromVersion: Int,
val toVersion: Int,
val action: (context: Context, prefs: IPreferences) -> Unit
) | 456 | Kotlin | 66 | 989 | 41176d17b498b2dcecbbe808fbe2ac638e90d104 | 290 | Trail-Sense | MIT License |
netcode-mcbe/src/main/kotlin/com/valaphee/netcode/mcbe/network/packet/BookEditPacket.kt | valaphee | 431,915,568 | false | {"Kotlin": 1365906} | /*
* Copyright (c) 2021-2022, Valaphee.
*
* 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 ag... | 0 | Kotlin | 0 | 2 | 4230a7ed71665360df32601956795b9ce8e2eb6c | 4,562 | netcode | Apache License 2.0 |
src/functionalTest/kotlin/kotlinx/kover/gradle/plugin/test/functional/cases/ReportsCachingTests.kt | Kotlin | 394,574,917 | false | null | /*
* Copyright 2017-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
*/
package kotlinx.kover.gradle.plugin.test.functional.cases
import kotlinx.kover.gradle.plugin.test.functional.framework.configurator.*
import kotlinx.kover.gradle.plugin.test.functional.framework.starter.*
int... | 48 | Kotlin | 32 | 862 | 287d8689bb47b59a75fc81c4cf944d17bd2dd3ff | 2,231 | kotlinx-kover | Apache License 2.0 |
FrolloSDKSample/src/main/kotlin/us/frollo/frollosdksample/view/aggregation/adapters/TagsAdapter.kt | frollous | 261,678,394 | false | null | /*
* Copyright 2019 Frollo
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wri... | 0 | Kotlin | 0 | 0 | ae35633b9e237b6b67cb08493c50a8bed8eba13e | 1,784 | frollo-android-sdk-example | Apache License 2.0 |
game/plugins/src/main/kotlin/gg/rsmod/plugins/content/skills/smithing/SmithingAction.kt | 2011Scape | 578,880,245 | false | {"Kotlin": 8904349, "Dockerfile": 1354} | package gg.rsmod.plugins.content.skills.smithing
import gg.rsmod.game.fs.DefinitionSet
import gg.rsmod.game.fs.def.ItemDef
import gg.rsmod.game.model.queue.QueueTask
import gg.rsmod.plugins.api.Skills
import gg.rsmod.plugins.api.cfg.Items
import gg.rsmod.plugins.api.ext.messageBox
import gg.rsmod.plugins.api.ext.playe... | 39 | Kotlin | 143 | 34 | e5400cc71bfa087164153d468979c5a3abc24841 | 2,527 | game | Apache License 2.0 |
kotest-framework/kotest-framework-api/src/commonMain/kotlin/io/kotest/core/spec/style/scopes/TestWithConfigBuilder.kt | antonlakida | 365,987,307 | true | {"Kotlin": 3293621, "CSS": 352, "Java": 145} | package io.kotest.core.spec.style.scopes
import io.kotest.core.Tag
import io.kotest.core.descriptors.append
import io.kotest.core.extensions.TestCaseExtension
import io.kotest.core.names.TestName
import io.kotest.core.test.EnabledIf
import io.kotest.core.test.TestCaseConfig
import io.kotest.core.test.TestCaseSeverityL... | 0 | Kotlin | 0 | 0 | ad6059703b1846b5f8f6e8e662e65edfa9727339 | 1,771 | kotest | Apache License 2.0 |
compiler/ir/ir.tree/tree-generator/src/org/jetbrains/kotlin/ir/generator/ImplementationConfigurator.kt | JetBrains | 3,432,266 | false | null | /*
* Copyright 2010-2024 JetBrains s.r.o. and Kotlin Programming Language contributors.
* 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.ir.generator
import org.jetbrains.kotlin.generators.tree.StandardTypes
import or... | 181 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 16,857 | kotlin | Apache License 2.0 |
dsl/src/main/kotlin/io/cloudshiftdev/awscdkdsl/services/quicksight/CfnAnalysisCustomContentConfigurationPropertyDsl.kt | cloudshiftinc | 667,063,030 | false | {"Kotlin": 63959868} | @file:Suppress(
"RedundantVisibilityModifier",
"RedundantUnitReturnType",
"RemoveRedundantQualifierName",
"unused",
"UnusedImport",
"ClassName",
"REDUNDANT_PROJECTION",
"DEPRECATION"
)
package io.cloudshiftdev.awscdkdsl.services.quicksight
import io.cloudshiftdev.awscdkdsl.common.CdkDs... | 4 | Kotlin | 0 | 3 | c59c6292cf08f0fc3280d61e7f8cff813a608a62 | 2,166 | awscdk-dsl-kotlin | Apache License 2.0 |
template-vertx-basic/src/main/kotlin/cc/chordflower/template/basic/application/config/base/BaseLogglyConfiguration.kt | fossabot | 340,571,858 | false | null | package cc.chordflower.template.basic.application.config.base
import com.fasterxml.jackson.annotation.JsonInclude
import com.fasterxml.jackson.annotation.JsonProperty
import com.fasterxml.jackson.annotation.JsonPropertyDescription
import com.fasterxml.jackson.annotation.JsonPropertyOrder
import java.io.Serializable
/... | 0 | Kotlin | 0 | 1 | 54a32cb686105265079f1b8d68a75993edffce4b | 1,681 | template-3 | Apache License 2.0 |
demo/src/main/java/com/peterlaurence/mapview/demo/fragments/MapMarkersFragment.kt | thenghiapham | 291,764,899 | true | {"Kotlin": 134870} | package com.peterlaurence.mapview.demo.fragments
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import com.peterlaurence.mapview.MapView
import com.peterlaurence.mapview.MapViewConfiguration
import com.peterlauren... | 0 | null | 0 | 0 | 4c3b8bb528d97c3c17b4843af7d254b36ecfe95f | 3,588 | MapView | Apache License 2.0 |
fontawesome/src/de/msrd0/fontawesome/icons/FA_SKYATLAS.kt | msrd0 | 363,665,023 | false | null | /* @generated
*
* This file is part of the FontAwesome Kotlin library.
* https://github.com/msrd0/fontawesome-kt
*
* This library is not affiliated with FontAwesome.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may... | 0 | Kotlin | 0 | 0 | e757d073562077a753280bf412eebfc4a9121b33 | 1,877 | fontawesome-kt | Apache License 2.0 |
kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/gamelift/CfnContainerGroupDefinitionProps.kt | cloudshiftinc | 667,063,030 | false | {"Kotlin": 142794926} | @file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION")
package io.cloudshiftdev.awscdk.services.gamelift
import io.cloudshiftdev.awscdk.CfnTag
import io.cloudshiftdev.awscdk.IResolvable
import io.c... | 0 | Kotlin | 0 | 4 | ddf2bfd2275b50bb86a667c4298dd92f59d7e342 | 18,829 | kotlin-cdk-wrapper | Apache License 2.0 |
app/shared/relationships/public/src/commonMain/kotlin/build/wallet/relationships/RelationshipsKeysRepository.kt | proto-at-block | 761,306,853 | false | {"C": 10474259, "Kotlin": 8243078, "Rust": 2779264, "Swift": 893661, "HCL": 349246, "Python": 338898, "Shell": 136508, "TypeScript": 118945, "C++": 69203, "Meson": 64811, "JavaScript": 36398, "Just": 32977, "Ruby": 13559, "Dockerfile": 5934, "Makefile": 3915, "Open Policy Agent": 1552, "Procfile": 80} | package build.wallet.relationships
import build.wallet.bitkey.keys.app.AppKey
import build.wallet.bitkey.socrec.SocRecKey
import build.wallet.crypto.CurveType
import build.wallet.crypto.PublicKey
import com.github.michaelbull.result.Result
import com.github.michaelbull.result.coroutines.coroutineBinding
import com.git... | 3 | C | 16 | 113 | 694c152387c1fdb2b6be01ba35e0a9c092a81879 | 2,752 | bitkey | MIT License |
kotlin/aoc2018/src/test/kotlin/Day11Tests.kt | aochsner | 160,386,044 | false | null | import org.junit.jupiter.api.Test
import org.assertj.core.api.Assertions.assertThat
class Day11Tests {
@Test
fun `power levels`() {
assertThat(Day11().getPowerLevel(122, 79, 57)).isEqualTo(-5)
assertThat(Day11().getPowerLevel(217, 196, 39)).isEqualTo(0)
assertThat(Day11().getPowerLevel(... | 0 | Kotlin | 0 | 1 | 7c42ec9c20147c4be056d03e5a1492c137e63615 | 823 | adventofcode2018 | MIT License |
features/playlist/src/main/java/com/m3u/features/playlist/components/StreamGallery.kt | realOxy | 592,741,804 | false | {"Kotlin": 610231, "Ruby": 955} | package com.m3u.features.playlist.components
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.PaddingValues
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.lazy.staggeredgrid.L... | 11 | Kotlin | 7 | 70 | d2e6fe6b71c5d3eed9f2bce98a50bf30df0a6134 | 7,964 | M3UAndroid | Apache License 2.0 |
plugin/src/main/kotlin/io/github/admund/marketspecificui/plugin/MarketSpecificUiPlugin.kt | admund | 746,599,483 | false | {"Kotlin": 13855} | package io.github.admund.marketspecificui.plugin
import groovy.util.Node
import groovy.xml.XmlParser
import io.github.admund.marketspecificui.plugin.usecases.ParsePackageNameUseCase
import org.gradle.api.Plugin
import org.gradle.api.Project
import org.gradle.api.file.ConfigurableFileTree
import org.gradle.api.provider... | 0 | Kotlin | 0 | 0 | 99f3fc9b070171478b499627f47408e07f6a8296 | 7,549 | MarketSpecificUI | Apache License 2.0 |
build/assets/compose/vitaminassets/payments/Eps.kt | Decathlon | 511,157,831 | false | {"Kotlin": 4443549, "HTML": 226066, "Swift": 163852, "TypeScript": 60822, "CSS": 53872, "JavaScript": 33103, "Handlebars": 771} | package com.decathlon.vitamin.compose.vitaminassets.payments
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType
import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphi... | 25 | Kotlin | 5 | 33 | c2c9cfa43128d412b7b2841cabd76952a13db2e1 | 17,271 | vitamin-design | Apache License 2.0 |
start-display/start-display/src/main/java/com/samara/start_display/presentation/navigation/StartDisplayNavigation.kt | Salieri666 | 708,944,325 | false | {"Kotlin": 40241} | package com.samara.start_display.presentation.navigation
import androidx.compose.runtime.Composable
import androidx.compose.runtime.Stable
import androidx.compose.runtime.remember
import com.samara.core.presentation.navigation.INavigation
interface IStartDisplayNavigation : INavigation {
fun navigateToStartDispla... | 0 | Kotlin | 0 | 0 | 37bbb7d2b593d31f85590677a86958b2aa352230 | 753 | WeatherFlex | Apache License 2.0 |
Demo/module-base/src/main/java/com/xiaojinzi/component/base/interceptor/ErrorRouterInterceptor.kt | xiaojinzi123 | 574,764,526 | false | {"Kotlin": 479775, "Java": 27180} | package com.xiaojinzi.component.base.interceptor
import com.xiaojinzi.component.error.ignore.NavigationException
import com.xiaojinzi.component.impl.RouterInterceptor
import com.xiaojinzi.component.impl.RouterResult
class ErrorRouterInterceptor : RouterInterceptor {
override suspend fun intercept(chain: RouterIn... | 3 | Kotlin | 11 | 99 | b575c031f91acadc0debbcc96cf96d8235026116 | 438 | KComponent | Apache License 2.0 |
mvp/src/main/java/com/zhangteng/mvp/base/IModel.kt | duoluo9 | 269,325,054 | false | null | package com.zhangteng.mvp.base
interface IModel {
fun onDestroy() {}
} | 0 | Kotlin | 0 | 5 | 6563d2b45554c8685153ace5f4d56217fa2c03ea | 75 | BaseLibrary | The Unlicense |
ksoup/src/com/fleeksoft/ksoup/ported/stream/CharReaderAsyncStream.kt | fleeksoft | 719,100,459 | false | {"Kotlin": 1370329, "HTML": 36067} | package com.fleeksoft.ksoup.ported.stream
import korlibs.datastructure.ByteArrayDeque
import korlibs.io.lang.Charset
import korlibs.io.stream.AsyncStream
import korlibs.io.stream.readBytesUpTo
public class CharReaderAsyncStream(private val stream: AsyncStream, private val charset: Charset, private val chunkSize: Int ... | 1 | Kotlin | 8 | 179 | 579adabaf6fa4325849668139b57e4617ef9789d | 1,474 | ksoup | Apache License 2.0 |
compiler/testData/diagnostics/tests/inference/pcla/lambdaBelongsToOuterCallAdditionalFixedVariable.kt | JetBrains | 3,432,266 | false | {"Kotlin": 79571273, "Java": 6776465, "Swift": 4063829, "C": 2609744, "C++": 1957654, "Objective-C++": 175279, "JavaScript": 130754, "Python": 59855, "Shell": 34920, "Objective-C": 21463, "Lex": 21452, "Batchfile": 11382, "CSS": 11368, "Ruby": 10470, "Dockerfile": 9907, "Groovy": 7092, "EJS": 5241, "CMake": 4473, "HTML... | // FIR_IDENTICAL
// ISSUE: KT-69040
interface Controller<T> {
fun add(t: T)
}
fun <T1, R1> T1.foo(g: (T1) -> R1): R1 = TODO()
fun <T2, T3> Controller<T2>.get(): MyPair<T2, T3> = TODO()
class MyPair<out P1, out P2>
fun <BK, BV, IRR> build(
i: IRR,
transformer: (Controller<BK>) -> MyPair<BV, IRR>,
): BV =... | 181 | Kotlin | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 703 | kotlin | Apache License 2.0 |
rx-preferences/src/main/java/com/f2prateek/rx/preferences2/RealPreference.kt | carvaq | 360,856,178 | true | {"Kotlin": 32778, "Shell": 946} | package com.f2prateek.rx.preferences2
import android.content.SharedPreferences
import android.content.SharedPreferences.Editor
import androidx.annotation.CheckResult
import io.reactivex.rxjava3.core.Observable
import io.reactivex.rxjava3.functions.Consumer
internal class RealPreference<T>(
private val preferences... | 0 | Kotlin | 0 | 0 | fbb072ece86649fc778dd969611103d94cccbb91 | 2,368 | rx-preferences | Apache License 2.0 |
shared-test/src/main/java/com/koleff/kare_android/exercise/data/ExerciseSetChangeListener.kt | MartinKoleff | 741,013,199 | false | {"Kotlin": 1413112} | package com.koleff.kare_android.exercise.data
import com.koleff.kare_android.data.room.entity.ExerciseSet
interface ExerciseSetChangeListener {
suspend fun onSetAdded(exerciseSet: ExerciseSet)
suspend fun onSetUpdated(exerciseSet: ExerciseSet)
suspend fun onSetDeleted(exerciseSet: ExerciseSet)
sus... | 23 | Kotlin | 0 | 4 | 4ad6b9f320ff60e05b453375b9b855bd3e4a3483 | 377 | KareFitnessApp | MIT License |
src/main/kotlin/org/jitsi/rtp/rtcp/rtcpfb/NackFci.kt | bbaldino | 173,043,170 | true | {"Kotlin": 349802} | /*
* Copyright @ 2018 Atlassian Pty 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 ag... | 0 | Kotlin | 0 | 0 | b8226d21296d773b792eaff18add487c27d35b1c | 8,454 | jitsi-rtp-1 | Apache License 2.0 |
app/src/test/java/com/codingpit/pvpcplanner/data/RepositoryImplTest.kt | Coding-Pit-Dev | 825,419,559 | false | {"Kotlin": 25792} | package com.codingpit.pvpcplanner.data
import com.codingpit.pvpcplanner.data.mappers.DTOConvertToModel
import com.codingpit.pvpcplanner.data.remote.RemoteDataSource
import com.codingpit.pvpcplanner.mocks.Mocks
import io.mockk.coEvery
import io.mockk.coVerify
import io.mockk.mockk
import kotlinx.coroutines.runBlocking
... | 5 | Kotlin | 0 | 1 | f78a7db1d0e6d6f40ec49f86d2f497fb8956686a | 1,326 | PVPC-Android | MIT License |
src/main/kotlin/com/vk/modulite/inspections/intentions/FindUsagesInModuleIntention.kt | VKCOM | 568,834,307 | false | {"Kotlin": 419218, "HTML": 610, "PHP": 478} | package com.vk.modulite.inspections.intentions
import com.intellij.codeInsight.intention.PsiElementBaseIntentionAction
import com.intellij.openapi.application.invokeLater
import com.intellij.openapi.editor.Editor
import com.intellij.openapi.project.Project
import com.intellij.psi.PsiElement
import com.jetbrains.php.la... | 15 | Kotlin | 3 | 65 | 006d176565ff5f589a592b8f9233de7bac1b4295 | 1,017 | modulite | MIT License |
features/splash/src/main/kotlin/com/theteampotato/gifit/splash/viewmodel/SplashViewModel.kt | TheTeamPotato | 334,402,195 | false | null | package com.theteampotato.gifit.splash.viewmodel
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.theteampotato.gifit.domain.usecase.GetSelectedLanguage
import dagger.hilt.android.lifecycle.HiltViewModel
import javax.inject.Inject
import kotlinx.coroutines.withContext
@HiltV... | 3 | Kotlin | 5 | 41 | 590effa8aa01bb0e57cd80f8cde49b7d0b5b3bbb | 598 | GIFit | Apache License 2.0 |
app/src/main/java/com/flixclusive/presentation/mobile/screens/preferences/film/PreferencesFilmMobileScreen.kt | rhenwinch | 659,237,375 | false | {"Kotlin": 1156049} | package com.flixclusive.presentation.mobile.screens.preferences.film
import androidx.compose.runtime.Composable
import androidx.media3.common.util.UnstableApi
import com.flixclusive.presentation.common.viewmodels.film.FilmScreenNavArgs
import com.flixclusive.presentation.destinations.PreferencesFilmMobileScreenDestina... | 21 | Kotlin | 7 | 96 | a90215b8c40ac0675cd217b38b842d2d57c90acc | 1,824 | Flixclusive | MIT License |
src/main/kotlin/com/kevin/BackendInterview/BackendInterview/BackendInterviewApplication.kt | kevinmainairungu | 366,629,641 | false | null | package com.kevin.BackendInterview.BackendInterview
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.runApplication
import org.springframework.web.bind.annotation.GetMapping
import org.springframework.web.bind.annotation.RestController
@SpringBootApplication
@RestCon... | 0 | Kotlin | 0 | 0 | 87403abb36fc46b200491824fd2c39ce83d983cc | 473 | BackendInterview | MIT License |
src/main/kotlin/design/create/factory/abstract_simple/Client.kt | cunzhiwang | 623,534,375 | false | null | package design.create.factory.abstract_simple
fun main(){
SimpleFactory.makeProduct(0)?.doSomeThing()
} | 0 | Kotlin | 1 | 2 | d6034adf37a72cc30c16db208bbf6e4ddd9d7e87 | 108 | DesignPattern | Apache License 2.0 |
src/main/kotlin/me/sargunvohra/lib/ktunits/Bytes.kt | slinactive | 127,571,064 | true | {"Kotlin": 4960, "Batchfile": 122, "Shell": 82} | @file:JvmName("Bytes")
package me.sargunvohra.lib.ktunits
val Long.bits: BitValue get() = BitValue(this)
val Long.bytes: BitValue get() = (this * 8).bits
val Long.kibibytes: BitValue get() = (this * 1024).bytes
val Long.mebibytes: BitValue get() = (this * 1024).kibibytes
val Long.gibibytes: BitValue get() = (this * 10... | 0 | Kotlin | 0 | 0 | 430ee9e33c829aea4a51a439365b1372a1f33dc7 | 1,147 | ktunits | Apache License 2.0 |
app/src/main/java/petrov/ivan/deliverymobile/ui/adapters/ProductCategoryAdapter.kt | peiwal | 281,885,651 | false | null | package petrov.ivan.deliverymobile.ui.adapters
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.recyclerview.widget.RecyclerView
import kotlinx.android.synthetic.main.item_product_category.view.*
import petrov.delivery.webapi.CategoryWithProductList
import petro... | 0 | Kotlin | 0 | 0 | 031eca5e4bfa389598318aaf0f10eb3281252dc5 | 1,986 | DeliveryMoxy | MIT License |
superwall/src/main/java/com/superwall/sdk/store/ExternalNativePurchaseController.kt | superwall-me | 642,585,064 | false | {"Kotlin": 1138130} | package com.superwall.sdk.store
import android.app.Activity
import android.content.Context
import com.android.billingclient.api.*
import com.superwall.sdk.Superwall
import com.superwall.sdk.delegate.PurchaseResult
import com.superwall.sdk.delegate.RestorationResult
import com.superwall.sdk.delegate.SubscriptionStatus
... | 0 | Kotlin | 1 | 6 | e7b40bd50b4de67138e6ad2a1874750c575ebdaa | 7,638 | Superwall-Android | MIT License |
app/src/main/java/eu/kanade/domain/source/repository/SourceRepository.kt | CFManuel | 134,889,201 | true | {"Kotlin": 2276037} | package eu.kanade.domain.source.repository
import eu.kanade.domain.source.model.Source
import kotlinx.coroutines.flow.Flow
import eu.kanade.tachiyomi.source.Source as LoadedSource
interface SourceRepository {
fun getSources(): Flow<List<Source>>
fun getOnlineSources(): Flow<List<Source>>
fun getSources... | 0 | Kotlin | 0 | 0 | 1c8da5fa974b4cfd0fd762b0b1c2a07622ac7662 | 453 | tachiyomi | Apache License 2.0 |
src/main/kotlin/no/nav/helse/sporbar/VedtakDao.kt | navikt | 271,491,647 | false | null | package no.nav.helse.sporbar
import kotliquery.queryOf
import kotliquery.sessionOf
import org.intellij.lang.annotations.Language
import javax.sql.DataSource
internal class VedtakDao(private val dataSource: DataSource) {
internal fun opprett(
utbetaling: Utbetaling
) {
@Language("PostgreSQL")
... | 0 | Kotlin | 1 | 0 | c55a21ce5a47dc6d921ceee40d14fd6e9d832a0a | 4,857 | helse-sporbar | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.