path stringlengths 4 280 | owner stringlengths 2 39 | repo_id int64 21.1k 879M | is_fork bool 2
classes | languages_distribution stringlengths 13 1.95k ⌀ | content stringlengths 7 482k | issues int64 0 13.9k | main_language stringclasses 121
values | forks stringlengths 1 5 | stars int64 0 111k | commit_sha stringlengths 40 40 | size int64 7 482k | name stringlengths 1 100 | license stringclasses 93
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
app/src/commonMain/kotlin/com/materialkolor/builder/settings/model/KeyColor.kt | jordond | 860,167,006 | false | {"Kotlin": 441363, "Shell": 6336, "HTML": 4360, "Swift": 614, "CSS": 102} | package com.materialkolor.builder.settings.model
import androidx.compose.runtime.Composable
import androidx.compose.runtime.remember
enum class KeyColor {
Seed,
Primary,
Secondary,
Tertiary,
Error,
Neutral,
NeutralVariant,
}
@Composable
fun KeyColor.name() = remember(this) {
when (thi... | 5 | Kotlin | 2 | 26 | acd61c7309d24df1e014d5a0e1b9674ad8cb692b | 609 | MaterialKolorBuilder | MIT License |
app/src/commonMain/kotlin/com/materialkolor/builder/settings/model/KeyColor.kt | jordond | 860,167,006 | false | {"Kotlin": 441363, "Shell": 6336, "HTML": 4360, "Swift": 614, "CSS": 102} | package com.materialkolor.builder.settings.model
import androidx.compose.runtime.Composable
import androidx.compose.runtime.remember
enum class KeyColor {
Seed,
Primary,
Secondary,
Tertiary,
Error,
Neutral,
NeutralVariant,
}
@Composable
fun KeyColor.name() = remember(this) {
when (thi... | 5 | Kotlin | 2 | 26 | acd61c7309d24df1e014d5a0e1b9674ad8cb692b | 609 | MaterialKolorBuilder | MIT License |
app/src/main/java/com/github/jayteealao/pastelmusic/app/extensions/PlayerExt.kt | jayteealao | 530,847,226 | false | {"Kotlin": 194323} | package com.github.jayteealao.pastelmusic.app.extensions
import androidx.media3.common.Player
inline val Player.isPlayEnabled
get() = (availableCommands.contains(Player.COMMAND_PLAY_PAUSE)) &&
(!playWhenReady)
inline val Player.isEnded
get() = playbackState == Player.STATE_ENDED | 0 | Kotlin | 0 | 0 | 34294059654b8fdbc194fe4df419f5118a523070 | 302 | PastelMusic | MIT License |
src/jvmMain/kotlin/matt/cbor/data/major/tag/tag.kt | mgroth0 | 539,351,957 | false | null | package matt.cbor.data.major.tag
import matt.cbor.data.major.CborDataItem
class CborTag<T>(val tagValue: ULong, val content: CborDataItem<T>): CborDataItem<T> {
override fun info() = "tag: $tagValue, content: $content"
override val raw by lazy { content.raw }
override val isBreak get() = false
}
| 0 | Kotlin | 0 | 0 | a9cbe25c02aeb57540b01cdd86d326e4c045cebf | 311 | cbor | MIT License |
core-data/src/main/java/com/manday/coredata/HandlerResponseViewModel.kt | acasadoquijada | 260,228,423 | true | {"Kotlin": 90324, "Java": 18671} | package com.manday.coredata
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
class HandlerResponseViewModel<T> private constructor(){
companion object {
fun<T> createResponse(source: LiveData<T?>?): LiveData<ReponseViewModel<T>> {
val handleError = MutableLiveData... | 0 | null | 0 | 0 | 53408cebe9f7f1876111dcc743d93e4d553c21d7 | 1,481 | Commerce | Apache License 2.0 |
app/src/main/java/com/fjjukic/furniture4you/ui/common/model/Product.kt | franjojosip | 678,130,646 | false | {"Kotlin": 435960} | package com.fjjukic.furniture4you.ui.common.model
import androidx.annotation.DrawableRes
import androidx.compose.runtime.Immutable
@Immutable
data class Product(
val id: String,
val title: String,
val price: String,
val description: String,
val imageUrl: String,
@DrawableRes
val imageResId... | 0 | Kotlin | 0 | 0 | 94dc87c76ce31fa260189458d4061640f696ddac | 328 | Furniture4You | MIT License |
app/src/main/java/com/kennah/wecatch/module/filter/di/FilterScope.kt | kaiyan910 | 101,561,893 | false | null | package com.kennah.wecatch.module.filter.di
import javax.inject.Scope
@Scope
@kotlin.annotation.Retention(AnnotationRetention.RUNTIME)
annotation class FilterGymScope | 0 | Kotlin | 27 | 66 | d3b56f5d82af46210437ba94e031f5e8088b776c | 168 | PGO-WeCatch-Android | The Unlicense |
src/me/anno/ui/base/scrolling/ScrollableY.kt | AntonioNoack | 456,513,348 | false | null | package me.anno.ui.base.scrolling
import kotlin.math.max
interface ScrollableY {
val height: Int
val childSizeY: Long // if (child is LongScrollable) child.sizeY else child.minH.toLong()
val scrollPositionY: Double
val maxScrollPositionY get(): Long = max(0, childSizeY - height)
val relativeSizeY ... | 0 | null | 3 | 9 | 94bc7c74436aa567ec3c19f386dd67af0f1ced00 | 586 | RemsEngine | Apache License 2.0 |
app/src/main/java/com/steleot/jetpackcompose/playground/compose/externallibraries/PermissionsAccompanistScreen.kt | Vivecstel | 338,792,534 | false | {"Kotlin": 1538487} | package com.steleot.jetpackcompose.playground.compose.externallibraries
import androidx.compose.foundation.layout.*
//noinspection UsingMaterialAndMaterial3Libraries
import androidx.compose.material.Button
//noinspection UsingMaterialAndMaterial3Libraries
import androidx.compose.material.Text
import androidx.compose.r... | 2 | Kotlin | 46 | 346 | 0161d9c7bf2eee53270ba2227a61d71ba8292ad0 | 2,778 | Jetpack-Compose-Playground | Apache License 2.0 |
src/main/kotlin/com/github/sarxos/webcam/WebcamShutdownHook.kt | Kietyo | 564,699,784 | false | {"Kotlin": 276119} | package com.github.sarxos.webcam
import org.slf4j.LoggerFactory
/**
* Shutdown hook to be executed when JVM exits gracefully. This class intention
* is to be used internally only.
*
* @author <NAME> (sarxos)
*/
class WebcamShutdownHook constructor(
/**
* Webcam instance to be disposed / closed.
*/
... | 0 | Kotlin | 0 | 2 | a67ebac2fb945a56dfac7f1f67f589eecdd58022 | 977 | webcam-capture-kotlin | MIT License |
src/main/kotlin/com/octo/woapi/katapispringbootkotlin/infrastructure/product/persistence/ProductDB.kt | octo-woapi | 348,051,808 | false | null | package com.octo.woapi.katapispringbootkotlin.infrastructure.product.persistence
import com.octo.woapi.katapispringbootkotlin.domain.product.Product
import java.math.BigDecimal
import javax.persistence.*
@Entity
@Table(name = "products")
data class ProductDB(
@Id @GeneratedValue(strategy= GenerationType.IDENTITY)... | 0 | Kotlin | 0 | 0 | 80fd878cf1e4d49549d7a0d1a01374d4f503c3d8 | 539 | api-with-springboot-kotlin | MIT License |
app/src/main/java/com/shankware/annoisli/HeaderGridView.kt | shankben | 360,901,626 | false | null | /*
* Copyright (C) 2013 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 0 | Kotlin | 0 | 0 | ccadbf05dd8fe69434bd9e0ffe3c4fac0291edee | 13,392 | annoisli | MIT License |
processor/src/main/kotlin/com/infinum/collar/processor/extensions/Element.kt | infinum | 242,731,077 | false | null | package com.infinum.collar.processor.extensions
import com.squareup.kotlinpoet.ClassName
import com.squareup.kotlinpoet.metadata.isClass
import com.squareup.kotlinpoet.metadata.isSealed
import com.squareup.kotlinpoet.metadata.toKmClass
import javax.lang.model.element.Element
import javax.lang.model.element.ElementKind... | 2 | null | 2 | 12 | 9e998003137d3c39f4fe23fc1356b6182724dbef | 2,515 | android-collar | Apache License 2.0 |
autofill/autofill-impl/src/main/java/com/duckduckgo/autofill/impl/deduper/AutofillDeduplicationBestMatchFinder.kt | duckduckgo | 78,869,127 | false | {"Kotlin": 14333964, "HTML": 63593, "Ruby": 20564, "C++": 10312, "JavaScript": 8463, "CMake": 1992, "C": 1076, "Shell": 784} | /*
* Copyright (c) 2023 DuckDuckGo
*
* 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 ... | 67 | Kotlin | 901 | 3,823 | 6415f0f087a11a51c0a0f15faad5cce9c790417c | 3,800 | Android | Apache License 2.0 |
library/renetik-base/src/main/java/renetik/android/framework/json/data/CSJsonMap+.kt | rene-dohan | 69,289,476 | false | null | package renetik.android.framework.json.data
import renetik.android.framework.json.parseJsonMap
import renetik.android.framework.json.toJSONObject
import java.io.File
fun CSJsonObject.toJsonObject() = asStringMap().toJSONObject()
fun <T : CSJsonObject> T.load(data: String) = apply { load(data.parseJsonMap()!!) }
fun <... | 2 | Kotlin | 1 | 1 | 64ad43699d07d52321167f8b8a267454afbd30ff | 380 | renetik-library-android | Apache License 2.0 |
channel-presence/src/main/kotlin/su/skaard/channelpresence/services/ConnectionPeriodService.kt | ya0igoddess | 531,925,689 | false | {"Kotlin": 55723, "CSS": 554, "Dockerfile": 104} | package su.skaard.channelpresence.services
import kotlinx.coroutines.flow.toList
import org.springframework.stereotype.Service
import su.skaard.core.entities.discord.GuildMember
import su.skaard.channelpresence.model.entities.VoiceChannelConnectionPeriod
import su.skaard.channelpresence.repositories.VoiceChannelConnec... | 0 | Kotlin | 0 | 2 | 33cd9fabff08a34caa4a28940d857018d582ba35 | 1,231 | skaard | MIT License |
core/src/main/kotlin/github/leavesczy/xlog/decode/core/StringUtils.kt | leavesCZY | 813,197,275 | false | {"Kotlin": 55656} | package github.leavesczy.xlog.decode.core
/**
* @Author: leavesCZY
* @Date: 2024/6/4 14:17
* @Desc:
*/
internal object StringUtils {
fun hexStringToByteArray(hexString: String): ByteArray {
val len = hexString.length / 2
val bytes = ByteArray(len)
for (i in 0 until len) {
v... | 0 | Kotlin | 1 | 9 | e091ca5319b14ca0e46d8ba6739f810be062708a | 785 | compose-multiplatform-xlog-decode | Apache License 2.0 |
app/src/main/java/com/example/weather/Utilities/ApiInterface.kt | RJXavier | 646,517,892 | false | {"Java": 31542, "Kotlin": 27582} | package com.example.weather.Utilities
import com.example.weather.POJO.ModelClass
import retrofit2.Call
import retrofit2.http.GET
import retrofit2.http.Query
interface ApiInterface {
@GET("weather")
fun getCurrentWeatherData(
@Query("lat") latitude: String,
@Query("lon") longitude: String,
... | 1 | null | 1 | 1 | 128821b0cce312b9d81eb8e5b8d3863b91d0db51 | 534 | weather-app-android | MIT License |
foundry-databind/src/main/kotlin/com/valaphee/foundry/databind/Maybe.kt | valaphee | 372,059,969 | false | null | /*
* 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 | 1 | 3e5d3209698c3b845d00396dfd0406ca68c3319f | 2,394 | foundry | Apache License 2.0 |
supply/ethereum/src/main/kotlin/fund/cyber/supply/ethereum/ApplicationConfiguration.kt | ronin-sphere | 144,891,794 | true | {"Kotlin": 571629, "Dockerfile": 1315, "Shell": 168} | package fund.cyber.supply.ethereum
import fund.cyber.common.kafka.DEFAULT_POLL_TIMEOUT
import fund.cyber.common.kafka.JsonDeserializer
import fund.cyber.common.kafka.defaultConsumerConfig
import fund.cyber.common.with
import fund.cyber.search.configuration.KAFKA_BROKERS
import fund.cyber.search.configuration.KAFKA_BRO... | 0 | Kotlin | 0 | 0 | 512df30a75ab53bc698044fb58676e51e9167350 | 4,102 | cyber-search | MIT License |
service/src/main/kotlin/io/provenance/api/domain/usecase/cee/execute/ExecuteContract.kt | provenance-io | 480,452,118 | false | {"Kotlin": 209962, "Shell": 13707} | package io.provenance.api.domain.usecase.cee.execute
import io.provenance.api.domain.cee.ContractService
import io.provenance.api.domain.provenance.Provenance
import io.provenance.api.domain.usecase.AbstractUseCase
import io.provenance.api.domain.usecase.cee.common.ContractUtilities
import io.provenance.api.domain.use... | 5 | Kotlin | 6 | 1 | c3f61932f55945cc226780578496fde19dc1b000 | 3,620 | p8e-cee-api | Apache License 2.0 |
packages/datadog_flutter_plugin/android/src/main/kotlin/com/datadoghq/flutter/DatadogLogsPlugin.kt | DataDog | 436,020,465 | false | null | /*
* Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0.
* This product includes software developed at Datadog (https://www.datadoghq.com/).
* Copyright 2016-Present Datadog, Inc.
*/
package com.datadoghq.flutter
import android.util.Log
import com.data... | 12 | Dart | 27 | 25 | 28bf6c81389aa048f70850e7dd583c0735acad5b | 8,027 | dd-sdk-flutter | Apache License 2.0 |
kotlin-electron/src/jsMain/generated/electron/renderer/ToBitmapOptions.kt | JetBrains | 93,250,841 | false | {"Kotlin": 11400167, "JavaScript": 146545} | package electron.renderer
typealias ToBitmapOptions = electron.core.ToBitmapOptions
| 28 | Kotlin | 173 | 1,250 | d1f8f5d805ffa18431dfefb7a1aa2f67f48915f6 | 86 | kotlin-wrappers | Apache License 2.0 |
minecord-plugin/src/main/kotlin/dev/cube1/minecord/plugin/Config.kt | cube1dev | 350,152,580 | false | null | package dev.cube1.minecord.plugin
object Config {
const val render = "https://crafatar.com"
const val prefix = "Minecord -"
lateinit var discord: ConfigModel.Discord
lateinit var settings: ConfigModel.Settings
lateinit var format: ConfigModel.Format
lateinit var color: ConfigModel.Color
f... | 0 | Kotlin | 2 | 5 | ecc766b556c4e9f9029f430810fe5ddc6f7c763d | 4,048 | minecord | MIT License |
src/main/kotlin/org/zalando/axiom/krueger/api/DiscoveryVerticle.kt | peletomi | 48,176,228 | false | {"JavaScript": 65279, "Kotlin": 24527, "Shell": 1086, "HTML": 619, "CSS": 27} | package org.zalando.axiom.krueger.api
import io.vertx.core.AbstractVerticle
import org.zalando.axiom.krueger.logging.logger
import org.zalando.axiom.krueger.service.DiscoveryService
import org.zalando.axiom.krueger.service.discovery.Discovery
import org.zalando.axiom.krueger.service.discovery.DiscoveryFactory
import u... | 4 | JavaScript | 0 | 2 | 48f0ec7040662d64d4b4da164d550f7402af0933 | 849 | krueger-cockpit | The Unlicense |
radius/feature/src/main/java/com/agentdesks/android/crm/assignment/feature/FacilityListActivity.kt | kunal26das | 673,585,943 | false | null | package com.agentdesks.android.crm.assignment.feature
import android.os.Bundle
import android.widget.Toast
import androidx.activity.viewModels
import androidx.compose.animation.AnimatedVisibility
import androidx.compose.foundation.gestures.Orientation
import androidx.compose.foundation.gestures.scrollable
import andro... | 0 | Kotlin | 0 | 1 | de0811d69435da1b902a038848b8c52a9f9e165b | 3,296 | android-assignments | Apache License 2.0 |
radius/feature/src/main/java/com/agentdesks/android/crm/assignment/feature/FacilityListActivity.kt | kunal26das | 673,585,943 | false | null | package com.agentdesks.android.crm.assignment.feature
import android.os.Bundle
import android.widget.Toast
import androidx.activity.viewModels
import androidx.compose.animation.AnimatedVisibility
import androidx.compose.foundation.gestures.Orientation
import androidx.compose.foundation.gestures.scrollable
import andro... | 0 | Kotlin | 0 | 1 | de0811d69435da1b902a038848b8c52a9f9e165b | 3,296 | android-assignments | Apache License 2.0 |
app/src/main/java/com/cloudxanh/kointutorial/di/RetrofitModule.kt | sonpxp | 560,194,840 | false | null | package com.cloudxanh.kointutorial.di
import com.cloudxanh.kointutorial.BuildConfig
import com.squareup.moshi.Moshi
import com.squareup.moshi.kotlin.reflect.KotlinJsonAdapterFactory
import okhttp3.OkHttpClient
import okhttp3.logging.HttpLoggingInterceptor
import org.koin.core.module.dsl.singleOf
import org.koin.dsl.mo... | 0 | Kotlin | 0 | 0 | ee1eda8f2e1ae4b718864927fde7894925387ec1 | 1,722 | KoinGuide | Apache License 2.0 |
app/src/main/java/com/cloudxanh/kointutorial/di/RetrofitModule.kt | sonpxp | 560,194,840 | false | null | package com.cloudxanh.kointutorial.di
import com.cloudxanh.kointutorial.BuildConfig
import com.squareup.moshi.Moshi
import com.squareup.moshi.kotlin.reflect.KotlinJsonAdapterFactory
import okhttp3.OkHttpClient
import okhttp3.logging.HttpLoggingInterceptor
import org.koin.core.module.dsl.singleOf
import org.koin.dsl.mo... | 0 | Kotlin | 0 | 0 | ee1eda8f2e1ae4b718864927fde7894925387ec1 | 1,722 | KoinGuide | Apache License 2.0 |
app/src/main/java/com/vanlife/android_app/data/repository/AuthRepository.kt | Vanlife-App | 639,078,171 | false | null | package com.vanlife.android_app.data.repository
import com.google.firebase.auth.AuthCredential
import com.vanlife.android_app.common.Resource
import kotlinx.coroutines.flow.Flow
import com.google.firebase.auth.AuthResult
interface AuthRepository {
fun loginUser(email: String, password: String): Flow<Resource<Auth... | 0 | Kotlin | 0 | 0 | 89ab45d851ba7b70372d88293479d1d5bc7bd053 | 489 | android-app | Apache License 2.0 |
jpa/src/test/kotlin/com/weedow/searchy/jpa/query/specification/JpaSpecificationExecutorTest.kt | Kobee1203 | 260,688,695 | false | null | package com.weedow.searchy.jpa.query.specification
import com.nhaarman.mockitokotlin2.*
import com.querydsl.core.types.EntityPath
import com.weedow.searchy.context.SearchyContext
import com.weedow.searchy.jpa.query.JpaQueryBuilder
import com.weedow.searchy.query.querytype.QEntity
import com.weedow.searchy.query.specif... | 12 | Kotlin | 3 | 22 | 7a0e0bac533fc822ce4a2b58bc1f22eda53e5c72 | 5,883 | weedow-searchy | MIT License |
app/src/main/java/com/rubens/applembretemedicamento/framework/data/datastore/interfaces/ThemeDataStoreInterface.kt | rubens23 | 630,981,517 | false | {"Kotlin": 338831} | package com.rubens.applembretemedicamento.framework.data.datastore.interfaces
import androidx.datastore.preferences.core.Preferences
interface ThemeDataStoreInterface {
suspend fun passThemeToUserChosenTheme(intDataStore: Preferences.Key<Int>, intThemeResource: Int)
suspend fun getThemeChosenByUser(intDataSto... | 0 | Kotlin | 0 | 0 | a10f347c806d8efa9cbf526222f8a6faa15a915e | 352 | DoseCerta | Apache License 2.0 |
core/network/src/main/kotlin/com/seosh817/moviehub/core/network/model/movie_list/NetworkDates.kt | seosh817 | 722,390,551 | false | null | /*
* Copyright 2024 seosh817 (<NAME>)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | 12 | null | 0 | 3 | 212caff437708c62991a30ca011dca6e9f9af5fd | 893 | MovieHub | Apache License 2.0 |
app/src/main/java/soutvoid/com/DsrWeatherApp/interactor/common/network/NetworkModule.kt | nadraliev | 96,880,779 | false | null | package soutvoid.com.DsrWeatherApp.interactor.common.network
import com.agna.ferro.mvp.component.scope.PerApplication
import com.google.gson.Gson
import dagger.Module
import dagger.Provides
import okhttp3.OkHttpClient
import okhttp3.logging.HttpLoggingInterceptor
import retrofit2.Retrofit
import retrofit2.adapter.rxja... | 0 | Kotlin | 2 | 8 | 01d1bb380e3cedddcc5728cc47758063ab27588f | 2,667 | DsrWeatherApp | Apache License 2.0 |
king-admin-kotlin/src/main/kotlin/com/oukingtim/web/LoginController.kt | oukingtim | 96,080,088 | false | null | package com.oukingtim.web
import com.baomidou.mybatisplus.mapper.EntityWrapper
import com.oukingtim.domain.SysRole
import com.oukingtim.domain.SysUser
import com.oukingtim.service.SysMenuService
import com.oukingtim.service.SysRoleService
import com.oukingtim.service.SysUserService
import com.oukingtim.util.ShiroUtils... | 26 | null | 185 | 415 | b036451eb8d55521d7dd8aa60f07ade32c4d418f | 4,313 | king-admin | MIT License |
beans/src/main/kotlin/me/haydencheers/strf/beans/NoArg.kt | hjc851 | 251,159,348 | false | null | package me.haydencheers.strf.beans
internal annotation class NoArg | 0 | Kotlin | 0 | 0 | 4e7d8ec9a6a013b3b96ca829d4f49b8757761e83 | 67 | SCPDSimpleToolResultFormat | MIT License |
offix/src/main/java/org/aerogear/offix/callbacks/OfflineCallback.kt | aerogear | 184,272,184 | false | null | package org.aerogear.offix.callbacks
import android.util.Log
import com.apollographql.apollo.exception.ApolloException
import com.apollographql.apollo.interceptor.ApolloInterceptor
import org.aerogear.offix.Offline
/*Callbacks class which handles offline requests.
*/
class OfflineCallback(
val request: ApolloInt... | 36 | null | 16 | 38 | 7d110d4d0143e1ba4d2676d80506c80463c2edc5 | 1,125 | offix-android | Apache License 2.0 |
verik-compiler/src/main/kotlin/io/verik/compiler/transform/post/StructLiteralTransformerStage.kt | frwang96 | 269,980,078 | false | null | /*
* Copyright (c) 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | 0 | null | 1 | 7 | a40d6195f3b57bebac813b3e5be59d17183433c7 | 2,048 | verik | Apache License 2.0 |
app/src/main/java/hu/csabapap/seriesreminder/domain/GetSearchResultUseCase.kt | csabapap | 112,928,453 | false | null | package hu.csabapap.seriesreminder.domain
import hu.csabapap.seriesreminder.data.CollectionRepository
import hu.csabapap.seriesreminder.data.models.SrSearchResult
import hu.csabapap.seriesreminder.data.repositories.search.SearchRepository
import javax.inject.Inject
class GetSearchResultUseCase @Inject constructor(pri... | 0 | Kotlin | 0 | 1 | 5e63b26f5ec8a1cf8d19f40f44fcb8a39325f34d | 1,185 | SeriesReminder | MIT License |
feature/exam-result/src/main/java/team/duckie/app/android/feature/exam/result/screen/wronganswer/ChallengeComment.kt | duckie-team | 503,869,663 | false | {"Kotlin": 1819917} | /*
* Designed and developed by Duckie Team, 2022
*
* Licensed under the MIT.
* Please see full license: https://github.com/duckie-team/duckie-android/blob/develop/LICENSE
*/
@file:OptIn(ExperimentalMaterialApi::class)
package team.duckie.app.android.feature.exam.result.screen.wronganswer
import androidx.compose... | 32 | Kotlin | 1 | 8 | 5dbd5b7a42c621931d05a96e66431f67a3a50762 | 7,639 | duckie-android | MIT License |
shared/src/commonMain/kotlin/Greeting.kt | zeeeeej | 859,714,832 | false | {"Kotlin": 132292, "Swift": 621, "HTML": 335, "CSS": 102} | import com.yunext.kotlin.kmp.common.util.hdMD5
class Greeting {
private val platform = getPlatform()
fun greet(): String {
return "Hello, ${platform.name}! ".run {
this + hdMD5(this)
}
}
} | 0 | Kotlin | 0 | 0 | 49038534e30b25509a2e5d2fcb5ce2fd62c89c37 | 230 | HadlinksKMP | Apache License 2.0 |
app/src/main/java/kittoku/osc/io/incoming/IncomingManager.kt | kittoku | 173,106,265 | false | null | package kittoku.osc.io.incoming
import kittoku.osc.ControlMessage
import kittoku.osc.MAX_MRU
import kittoku.osc.Result
import kittoku.osc.SharedBridge
import kittoku.osc.Where
import kittoku.osc.client.SstpClient
import kittoku.osc.client.ppp.IpcpClient
import kittoku.osc.client.ppp.Ipv6cpClient
import kittoku.osc.cli... | 4 | null | 88 | 389 | 4f1994fda0efba784c7880c79c6165de973eff5c | 8,288 | Open-SSTP-Client | MIT License |
app/src/main/java/com/ttenushko/androidmvi/demo/domain/usecase/MultiResultUseCase.kt | ttenushko | 210,157,066 | false | null | package com.ttenushko.androidmvi.demo.domain.usecase
import com.ttenushko.androidmvi.demo.domain.utils.Cancellable
interface MultiResultUseCase<P : Any, R : Any> {
fun execute(param: P, callback: Callback<R>): Cancellable
interface Callback<R : Any> {
fun onResult(result: R)
fun onError(erro... | 0 | Kotlin | 0 | 0 | bba82b6b28f53b88de21d273f56d334a1595a70a | 366 | android-mvi | Apache License 2.0 |
media/ui/src/test/java/com/google/android/horologist/media/ui/components/PositionedState.kt | google | 451,563,714 | false | null | /*
* Copyright 2022 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | 71 | Kotlin | 69 | 430 | bcfd31399a85d9eef772947fec6765a905d3529c | 1,729 | horologist | Apache License 2.0 |
src/test/kotlin/org/kotrix/symbolic/EvalFunTest.kt | JarnaChao09 | 285,169,397 | false | null | package org.kotrix.symbolic
class EvalFunTest {
} | 0 | Kotlin | 1 | 5 | 552e9ac869f5f7d978a28389345f923ac7e8eb6f | 50 | Kotrix | MIT License |
src/main/kotlin/realjenius/evernote/noteslurp/command/AddTagsCommand.kt | realjenius | 179,378,196 | false | null | package realjenius.evernote.noteslurp.command
import com.github.ajalt.clikt.core.CliktCommand
import com.github.ajalt.clikt.parameters.options.flag
import com.github.ajalt.clikt.parameters.options.multiple
import com.github.ajalt.clikt.parameters.options.option
import com.github.ajalt.clikt.parameters.options.pair
imp... | 0 | Kotlin | 0 | 2 | 02726e7c83d5fea473187c7ede4f7559e0df868e | 1,356 | noteslurp | Apache License 2.0 |
src/main/kotlin/com/github/ralfstuckert/openpdf/markdown/provider/TableProvider.kt | ralfstuckert | 738,431,425 | false | {"Kotlin": 40242} | package com.github.ralfstuckert.com.github.ralfstuckert.openpdf.markdown.provider
import com.github.ralfstuckert.com.github.ralfstuckert.openpdf.markdown.*
import com.lowagie.text.Paragraph
import com.lowagie.text.Rectangle
import com.lowagie.text.pdf.PdfPCell
import com.lowagie.text.pdf.PdfPTable
import org.intellij.... | 0 | Kotlin | 0 | 0 | a8bd7d72c05f4fb38c5062187b25599341fc0b54 | 6,983 | openpdf-markdown | MIT License |
Corona-Warn-App/src/test/java/testhelpers/EmptyApplication.kt | corona-warn-app | 268,027,139 | false | null | package testhelpers
import android.app.Application
class EmptyApplication : Application()
| 6 | Kotlin | 514 | 2,495 | d3833a212bd4c84e38a1fad23b282836d70ab8d5 | 92 | cwa-app-android | Apache License 2.0 |
node-kotlin/src/jsMain/kotlin/node/vm/RunningScriptOptions.kt | karakum-team | 393,199,102 | false | null | // Automatically generated - do not modify!
package node.vm
sealed external interface RunningScriptOptions : BaseOptions {
/**
* When `true`, if an `Error` occurs while compiling the `code`, the line of code causing the error is attached to the stack trace.
* Default: `true`.
*/
var displayErro... | 40 | null | 6 | 26 | 3ca49a8f44fc8b46e393ffe66fbd81f8b4943c18 | 1,135 | types-kotlin | Apache License 2.0 |
node-kotlin/src/jsMain/kotlin/node/vm/RunningScriptOptions.kt | karakum-team | 393,199,102 | false | null | // Automatically generated - do not modify!
package node.vm
sealed external interface RunningScriptOptions : BaseOptions {
/**
* When `true`, if an `Error` occurs while compiling the `code`, the line of code causing the error is attached to the stack trace.
* Default: `true`.
*/
var displayErro... | 40 | null | 6 | 26 | 3ca49a8f44fc8b46e393ffe66fbd81f8b4943c18 | 1,135 | types-kotlin | Apache License 2.0 |
clients/flutter_client/android/app/src/main/kotlin/com/casualapps/fireshiftclient/flutter_client/MainActivity.kt | AlexeyPerov | 344,903,410 | false | {"Dart": 96075, "TypeScript": 18974, "HTML": 3418, "Ruby": 2666, "Objective-C": 827, "Swift": 808, "JavaScript": 631, "Kotlin": 279, "Java": 143} | package com.casualapps.fireshiftclient.flutter_client
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| 0 | Dart | 0 | 3 | 10fd7216944b2934de9c691f54dfe7dbd301f48f | 150 | FireShift | MIT License |
src/main/kotlin/com/lykke/matching/engine/outgoing/rabbit/impl/listeners/LogUtils.kt | LykkeCity | 52,304,364 | false | null | package com.lykke.matching.engine.outgoing.rabbit.impl.listeners
import com.lykke.utils.logging.MetricsLogger
import org.slf4j.LoggerFactory
private val LOGGER = LoggerFactory.getLogger("RabbitMqPublisher")
private val METRICS_LOGGER = MetricsLogger.getLogger()
fun logRmqRecover(name: String) {
val message = "Ra... | 5 | Kotlin | 16 | 31 | 937b360b10d461e444ebc7133dd9ab6b64ae4cb5 | 573 | MatchingEngine | MIT License |
app/src/main/java/com/avex/ragraa/MainActivity.kt | avexxx3 | 778,981,508 | false | {"Kotlin": 127965} | package com.avex.ragraa
import android.annotation.SuppressLint
import android.content.Context
import android.content.SharedPreferences
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.activity.enableEdgeToEdge
import androidx.compose.founda... | 0 | Kotlin | 0 | 3 | 1462362125b2a1306c14758547d6c0c2541ddb7b | 1,605 | Ragraa | Apache License 2.0 |
kotlin-examples/src/main/kotlin/examples/inheritance/CustomCylinder.kt | hiperbou | 80,252,747 | false | {"Kotlin": 7433317, "JavaScript": 4037684, "C++": 9632, "C#": 1555, "C": 120} | import ue.*
class CustomCylinder: BaseCylinder() {
override fun getName(): String {
return "Custom Cylinder"
}
}
| 0 | Kotlin | 11 | 175 | 8431df80321c61b76766e38fa7196284407abcaa | 132 | kotlin-unreal | MIT License |
navigatek_provider/src/main/java/com/mozhimen/navigatek/provider/impls/NavigateKProviderTelegram.kt | mozhimen | 797,153,927 | false | {"Kotlin": 97774} | package com.mozhimen.navigatek.provider.impls
import android.content.Context
import android.content.Intent
import com.mozhimen.kotlin.utilk.android.content.UtilKIntentWrapper
import com.mozhimen.kotlin.utilk.android.content.startContext
import com.mozhimen.kotlin.utilk.android.content.startContext_throw
import com.moz... | 0 | Kotlin | 1 | 1 | 908b7cc2485fd9ad10ac7ca0d1140e8c089d992f | 1,599 | ANavigateKit | Apache License 2.0 |
backend/src/test/kotlin/ch/zhaw/pm4/simonsays/MenuItemTest.kt | SimonSays-PM4 | 766,576,264 | false | {"Kotlin": 368622, "TypeScript": 362184, "CSS": 1791, "Dockerfile": 1104, "HTML": 462, "JavaScript": 285} | package ch.zhaw.pm4.simonsays
import ch.zhaw.pm4.simonsays.api.mapper.EventMapper
import ch.zhaw.pm4.simonsays.api.mapper.IngredientMapper
import ch.zhaw.pm4.simonsays.api.mapper.MenuItemMapperImpl
import ch.zhaw.pm4.simonsays.api.types.MenuItemDTO
import ch.zhaw.pm4.simonsays.exception.ResourceNotFoundException
impor... | 14 | Kotlin | 0 | 4 | c40b69b13530fde135af127e38900a4e9bc49354 | 4,686 | simon-says | MIT License |
example-app/src/main/java/com/adyen/checkout/example/ui/main/MainViewState.kt | Adyen | 91,104,663 | false | {"Kotlin": 4787892, "Shell": 4706} | /*
* Copyright (c) 2023 Adyen N.V.
*
* This file is open source and available under the MIT license. See the LICENSE file for more info.
*
* Created by josephj on 4/5/2023.
*/
package com.adyen.checkout.example.ui.main
/*
This is a data class instead of a sealed class because the list will always be displayed. ... | 22 | Kotlin | 66 | 126 | c45a6ee4d2039163ae075436a9d1231ffcb16f5c | 552 | adyen-android | MIT License |
src/main/kotlin/org/crystal/intellij/psi/CrSupertypeClause.kt | asedunov | 353,165,557 | false | null | package org.crystal.intellij.psi
import com.intellij.lang.ASTNode
class CrSupertypeClause(node: ASTNode) : CrElementImpl(node) {
override fun accept(visitor: CrVisitor) = visitor.visitSupertypeClause(this)
} | 0 | Kotlin | 0 | 7 | 98863bdd951c4b40124ce26e0849bfe1c7c226f1 | 213 | intellij-crystal-lang | Apache License 2.0 |
src/main/kotlin/com/ruokki/pattern/detector/CenterDetector.kt | jijins1 | 325,656,821 | false | null | package com.ruokki.pattern.detector
import com.ruokki.pattern.tools.Grid
import com.ruokki.pattern.tools.Point
class CenterDetector(val gridPattern: Grid<Boolean>, val gridImage: Grid<Boolean>) {
val pointInPatternToUse: List<Point>
get() {
return gridPattern.points.filter { point -> gridPat... | 1 | Kotlin | 0 | 0 | de0ea2c31066378c7f1bd9ac25f20c91d94e8507 | 1,548 | pattern-detector | Apache License 2.0 |
core/src/main/kotlin/io/github/serpro69/kfaker/provider/PhoneNumber.kt | serpro69 | 174,969,439 | false | null | package io.github.serpro69.kfaker.provider
import io.github.serpro69.kfaker.*
import io.github.serpro69.kfaker.dictionary.*
import io.github.serpro69.kfaker.provider.unique.LocalUniqueDataProvider
import io.github.serpro69.kfaker.provider.unique.UniqueProviderDelegate
/**
* [FakeDataProvider] implementation for [Cat... | 20 | null | 25 | 246 | 714e33b431d2240026ddbbb0522045aac0070338 | 1,041 | kotlin-faker | MIT License |
app/src/main/java/com/deepakkumardk/kontactpicker/MainActivity.kt | adnaanaeem | 210,286,450 | true | {"Kotlin": 31487, "Java": 1156} | package com.deepakkumardk.kontactpicker
import android.app.Activity
import android.content.Intent
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import androidx.core.graphics.drawable.toDrawable
import androidx.databinding.DataBindingUtil
import androidx.lifecycle.MutableLiveData
import com.a... | 0 | null | 0 | 0 | cd00db137caebfa15134cbc43444eae87c2d8392 | 5,168 | KontactPicker | Apache License 2.0 |
plugin/src/main/kotlin/com/mobilesolutionworks/gradle/swift/tasks/carthage/CarthageTaskDef.kt | yunarta | 138,553,686 | false | {"Groovy": 1, "Gradle Kotlin DSL": 3, "Markdown": 2, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "INI": 2, "Kotlin": 70, "Java": 1} | package com.mobilesolutionworks.gradle.swift.tasks.carthage
internal object CarthageTaskDef {
const val group = "carthage"
} | 1 | null | 1 | 1 | df7dca1ecfe5e7ba8789eccb528f4d6896a79cc8 | 130 | works-athena-gradle-plugin | Apache License 2.0 |
core/src/main/kotlin/de/maibornwolff/domainchoreograph/core/api/DomainDefinition.kt | MaibornWolff | 139,985,029 | false | {"Kotlin": 168533, "TypeScript": 132987, "JavaScript": 5400, "HTML": 1174, "Dockerfile": 390} | package de.maibornwolff.domainchoreograph.core.api
@Target(AnnotationTarget.CLASS, AnnotationTarget.FILE)
annotation class DomainDefinition(val value: String = "USE_CLASSNAME")
| 16 | Kotlin | 0 | 1 | 863441f0df267dcbf9874c92771e104a8f60fe37 | 178 | domainchoreograph | Apache License 2.0 |
fluent-icons-extended/src/commonMain/kotlin/com/konyaco/fluent/icons/filled/ArrowCounterclockwise.kt | Konyaco | 574,321,009 | false | null |
package com.konyaco.fluent.icons.filled
import androidx.compose.ui.graphics.vector.ImageVector
import com.konyaco.fluent.icons.Icons
import com.konyaco.fluent.icons.fluentIcon
import com.konyaco.fluent.icons.fluentPath
public val Icons.Filled.ArrowCounterclockwise: ImageVector
get() {
if (_arrowCounterc... | 1 | Kotlin | 3 | 83 | 9e86d93bf1f9ca63a93a913c990e95f13d8ede5a | 1,610 | compose-fluent-ui | Apache License 2.0 |
app/src/main/java/io/keyu/urekalite/view/PostListFragment.kt | zhaonian | 168,087,093 | false | {"Gradle": 3, "Markdown": 2, "Java Properties": 2, "Shell": 1, "Ignore List": 2, "Batchfile": 1, "Proguard": 1, "Kotlin": 62, "XML": 80, "JSON": 9, "Java": 1, "HTML": 1, "YAML": 1} | package io.keyu.urekalite.view
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import androidx.lifecycle.Observer
import androidx.lifecycle.ViewModelProviders
import androidx.recyclerview.widget.LinearLayoutManager... | 4 | Kotlin | 0 | 1 | 939c91c02c37661793c235eefcdddfb76e363ab6 | 2,610 | Ureka-Lite | Apache License 2.0 |
android/app/src/test/java/com/dionchang/podcasttolearn/ParagraphTest.kt | babogoos | 669,373,864 | false | null | package com.dionchang.podcasttolearn
import com.dionchang.podcasttolearn.data.network.model.ParagraphDto
import com.google.gson.Gson
import org.junit.Test
/**
* Created by dion on 2023/05/16.
*/
class ParagraphTest {
private val paragraphJson = """
[
{
"theme": "Misc",
... | 0 | Kotlin | 0 | 1 | 87354855c3a4c6ca1b98b5d2c182e59ca31f6543 | 7,642 | PodcastToLearn | MIT License |
app/src/main/java/br/com/enterprise/mobileparking/app/util/DateTimeUtil.kt | thiagoscerqueira | 217,631,608 | false | null | package br.com.enterprise.mobileparking.app.util
import java.time.Duration
import java.time.LocalDateTime
import java.time.LocalTime
import java.time.format.DateTimeFormatter
object DateTimeUtil {
fun formataDurationHHmmss(duration: Duration?): String? {
return duration?.let { LocalTime.MIDNIGHT.plus(dur... | 0 | Kotlin | 0 | 0 | d983e7b589d98237ac01c2696ea5f146548415ae | 538 | mobileparking-app | MIT License |
platforms/papermc/core/src/main/kotlin/com/mineinabyss/geary/papermc/store/GearyStore.kt | MineInAbyss | 306,093,350 | false | null | package com.mineinabyss.geary.minecraft.store
import com.mineinabyss.geary.ecs.api.GearyComponent
import com.mineinabyss.geary.ecs.api.entities.GearyEntity
import com.mineinabyss.idofront.plugin.getService
import kotlinx.serialization.KSerializer
import kotlinx.serialization.PolymorphicSerializer
import kotlinx.serial... | 20 | Kotlin | 9 | 16 | 8e84554a09d936feb18468e8bd8b0ad24d986805 | 967 | Geary | MIT License |
educational-core/src/com/jetbrains/edu/learning/marketplace/actions/ShareMySolutionsAction.kt | JetBrains | 43,696,115 | false | {"Kotlin": 4521114, "HTML": 3417303, "Python": 16523, "CSS": 12216, "Java": 11162, "JavaScript": 302, "Shell": 71} | package com.jetbrains.edu.learning.marketplace.actions
import com.intellij.execution.process.ProcessIOExecutorService
import com.intellij.openapi.actionSystem.ActionUpdateThread
import com.intellij.openapi.actionSystem.AnActionEvent
import com.intellij.openapi.project.DumbAwareToggleAction
import com.intellij.openapi.... | 5 | Kotlin | 48 | 128 | 58eaf0e0289ccfd37f621c46b2db91bc207f17ce | 2,110 | educational-plugin | Apache License 2.0 |
app/src/main/java/com/franjo/android/bakingapp/presentation/base/BaseFragment.kt | fgrsetic | 112,379,733 | false | null | package com.franjo.android.bakingapp.presentation.base
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.databinding.DataBindingUtil
import androidx.databinding.ViewDataBinding
import androidx.fragment.app.Fragment
abstract class BaseFra... | 1 | null | 1 | 1 | 1cd3a99a1560453914bda665a0b10729fc8fb316 | 802 | BakingApp | Apache License 2.0 |
wear/src/main/java/com/steleot/jetpackcompose/playground/compose/material/ToggleChipScreen.kt | Vivecstel | 338,792,534 | false | null | package com.steleot.jetpackcompose.playground.compose.material
import androidx.compose.runtime.Composable
@Composable
fun ToggleChipScreen() {
} | 1 | Kotlin | 10 | 117 | e4f4c45b4376dac907cae4ef07db1f188c86d01c | 146 | Jetpack-Compose-Playground | Apache License 2.0 |
src/test/kotlin/me/kpavlov/mocks/statsd/server/StatsDServerTest.kt | kpavlov | 646,375,623 | false | {"Kotlin": 25547, "Shell": 653, "Java": 248} | package me.kpavlov.mocks.statsd.server
import me.kpavlov.mocks.statsd.client.StatsDClient
import org.assertj.core.api.Assertions.assertThat
import org.awaitility.kotlin.await
import org.awaitility.kotlin.untilAsserted
import org.junit.jupiter.api.AfterAll
import org.junit.jupiter.api.BeforeAll
import org.junit.jupiter... | 9 | Kotlin | 0 | 1 | dc043535d68b003641efd4ebc1891cadf1e87f50 | 3,244 | mock-statsd | Apache License 2.0 |
app/src/main/java/com/waseefakhtar/doseapp/util/SnackbarUtil.kt | waseefakhtar | 504,263,132 | false | {"Kotlin": 135627} | package com.waseefakhtar.doseapp.util
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.material3.Snackbar
import androidx.compose.material3.SnackbarHost
import androidx.compose.material3.SnackbarHostState
import androidx.compose.runtime.Compos... | 27 | Kotlin | 71 | 467 | 21745db8db92255139b79f0c8751976a3f8e4d57 | 2,372 | dose-android | MIT License |
selection/src/commonMain/kotlin/Group.kt | JuulLabs | 202,805,795 | false | null | package com.juul.krayon.selection
import com.juul.krayon.element.Element
public data class Group<E : Element, D>(
public val parent: Element?,
public val nodes: List<E?>,
)
| 9 | Kotlin | 1 | 8 | ba3e9d8849d48b67b70422cbcf3e5c7c4bf6e8f6 | 183 | krayon | Apache License 2.0 |
native/swift/sir/tree-generator/src/org/jetbrains/kotlin/sir/tree/generator/model/Field.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.sir.tree.generator.model
import org.jetbrains.kotlin.generators.tree.*
import or... | 178 | null | 5771 | 48,021 | 093e432a97b4e7af469bc55a3d321dec964bc6de | 2,019 | kotlin | Apache License 2.0 |
app/src/main/java/com/tiagohs/hqr/helpers/extensions/OkHttpExtensions.kt | tiagohs | 135,235,006 | false | null | package com.tiagohs.hqr.helpers.extensions
import com.tiagohs.hqr.helpers.tools.ProgressListener
import io.reactivex.Observable
import okhttp3.*
import okio.*
import java.io.IOException
fun Call.asObservable(): Observable<Response> {
return Observable.create { subscriber ->
// Since Call is a one-shot typ... | 1 | Kotlin | 2 | 11 | 8a86fa1c66a9ba52afcf02bea4acbb674d8a473a | 2,853 | hqr-comics-reader | Apache License 2.0 |
core-api/api/src/main/java/love/forte/simbot/dispatcher/Dispatcher.kt | simple-robot | 554,852,615 | false | null | /*
*
* * Copyright (c) 2021. ForteScarlet All rights reserved.
* * Project simple-robot
* * File MiraiAvatar.kt
* *
* * You can contact the author through the following channels:
* * github https://github.com/ForteScarlet
* * gitee https://gitee.com/ForteScarlet
* * email <EMAIL>
* * QQ 11... | 0 | Kotlin | 0 | 3 | c5d7c9ca8c81b2bddc250090739d7c7d0c110328 | 3,271 | simple-robot-v2 | Apache License 2.0 |
ktx/src/main/java/dev/chrisbanes/insetter/viewinsetter.kt | percula | 228,463,233 | false | null | /*
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | 1 | null | 1 | 1 | be9fc133c66c25ccf8726d0c79a6edfc03c9d950 | 1,986 | insetter | Apache License 2.0 |
lib/src/main/java/com/serelay/c2pa/provenance/api/CreationInfo.kt | serelay | 429,847,043 | false | null | /*
* Copyright (c) 2021 Serelay Ltd. All rights reserved.
*/
package com.serelay.c2pa.provenance.api
/**
* @param jumbfs A list of JPEG JUMBF segments. These are APP11 blocks, they are in-order when sent
* by the server. These require augmenting with thumbnail data prior to being written
* ... | 0 | Kotlin | 1 | 1 | d5d474fc352d3edfd2a457b0f86355d3926f0550 | 511 | c2pa-android | MIT License |
library/src/main/java/com/mooveit/library/providers/FileProviderImpl.kt | moove-it | 79,579,060 | false | null | package com.mooveit.library.providers
import com.mooveit.library.Fakeit.Companion.fakeit
import com.mooveit.library.providers.base.BaseProvider
import com.mooveit.library.providers.definition.FileProvider
class FileProviderImpl : BaseProvider(), FileProvider {
override fun extension(): String {
return ge... | 18 | Kotlin | 48 | 525 | 12b87899d62c5fa701141f8f98cb7265ab58bc15 | 504 | fakeit | MIT License |
sdk-utils/src/test/kotlin/com/rakuten/tech/mobile/sdkutils/AppInfoSpec.kt | rakutentech | 222,653,867 | false | null | package com.rakuten.tech.mobile.sdkutils
import android.content.Context
import android.content.pm.PackageInfo
import android.content.pm.PackageManager
import com.nhaarman.mockitokotlin2.any
import com.nhaarman.mockitokotlin2.mock
import org.amshove.kluent.*
import org.junit.Before
import org.junit.Test
import org.mock... | 0 | Kotlin | 3 | 3 | f00b0dd305acf4062b7ee4853d99b63904204402 | 1,336 | android-sdkutils | MIT License |
src/main/kotlin/org/datacraft/loaders/dates/DateLoader.kt | bbux-dev | 783,882,166 | false | {"Kotlin": 198619} | package org.datacraft.loaders.dates
import org.datacraft.FieldSpec
import org.datacraft.Loader
import org.datacraft.ValueSupplier
import org.datacraft.models.ValueSupplierLoader
import org.datacraft.suppliers.Dates
class DateLoader : ValueSupplierLoader<String> {
override fun typeNames(): List<String> = listOf("... | 0 | Kotlin | 0 | 1 | 8cb4b4f52fafea5d6bac662c765b85afb2b0146a | 616 | datacraft-jvm | MIT License |
auth/src/main/java/inkapplications/backdraft/auth/AuthCoroutines.kt | InkApplications | 183,520,064 | false | null | package inkapplications.backdraft.auth
import com.google.firebase.auth.FirebaseAuth
import com.google.firebase.auth.FirebaseUser
import com.google.firebase.auth.GetTokenResult
import inkapplications.backdraft.tasks.await
import kotlinx.coroutines.FlowPreview
import kotlinx.coroutines.GlobalScope
import kotlinx.corouti... | 0 | Kotlin | 0 | 3 | 90080089953b21977bb5a9e43ca4ecb62c980cfb | 1,568 | Backdraft | MIT License |
app/src/main/java/com/aiven/simplechoose/bean/dto/UpdateAppDTO.kt | AivenLi | 534,558,545 | false | null | package com.aiven.simplechoose.bean.dto
data class UpdateAppDTO(
val versionName: String,
val minVersion: String,
val versionCode: Int,
val desc: String? = null,
val url: String? = null,
val md5: String? = null,
val apkSize: Long
)
| 0 | Kotlin | 0 | 0 | 8f9236b1479a93eb78c38f1eac747a909c53edc3 | 261 | SimpleChoose | Apache License 2.0 |
platform/src/main/kotlin/researchstack/backend/application/port/incoming/study/UpdateParticipationRequirementUseCase.kt | S-ResearchStack | 520,365,362 | false | {"Kotlin": 1297740, "Dockerfile": 202, "Shell": 59} | package researchstack.backend.application.port.incoming.study
interface UpdateParticipationRequirementUseCase {
suspend fun update(studyId: String, command: UpdateParticipationRequirementCommand)
}
| 1 | Kotlin | 9 | 29 | edd76f219cdb10c8151b8ac14175b1e818a6036a | 203 | backend-system | Apache License 2.0 |
ktor-utils/jvm/src/io/ktor/util/cio/CIO.kt | LloydFinch | 166,520,021 | false | null | /*
* Copyright 2014-2019 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license.
*/
package io.ktor.util.cio
import kotlinx.coroutines.*
import kotlin.coroutines.*
@Suppress("KDocMissingDocumentation")
@Deprecated("Will become private", level = DeprecationLevel.ERROR)
objec... | 0 | null | 0 | 2 | 9b9fc6c3b853c929a806c65cf6bf7c104b4c07fc | 486 | ktor | Apache License 2.0 |
render/jpql/src/main/kotlin/com/linecorp/kotlinjdsl/render/jpql/serializer/JpqlRenderClause.kt | line | 442,633,985 | false | null | package com.linecorp.kotlinjdsl.render.jpql.serializer
import com.linecorp.kotlinjdsl.SinceJdsl
import com.linecorp.kotlinjdsl.render.AbstractRenderContextElement
import com.linecorp.kotlinjdsl.render.RenderContext
/**
* Element of [RenderContext] to know which clause is being rendered.
*/
@SinceJdsl("3.0.0")
seale... | 5 | null | 86 | 705 | 3a58ff84b1c91bbefd428634f74a94a18c9b76fd | 3,042 | kotlin-jdsl | Apache License 2.0 |
api/src/main/java/com/glunode/api/ServiceLocator.kt | thejufo | 303,816,731 | false | {"Kotlin": 133579, "Java": 4715} | // Created by abdif on 8/8/2020
package com.glunode.api
import com.glunode.api.data.impl.*
import com.google.firebase.database.FirebaseDatabase
import com.google.firebase.database.ktx.database
import com.google.firebase.firestore.FirebaseFirestore
import com.google.firebase.firestore.ktx.firestore
import com.google.f... | 0 | Kotlin | 1 | 2 | f1813de993e0c06d5e3c557c7d3a5bf999fc66df | 1,352 | Attendance-Recorder | Apache License 2.0 |
straight/src/commonMain/kotlin/me/localx/icons/straight/outline/Coconut.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.rounded.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.Miter... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 4,259 | icons | MIT License |
app/src/main/java/me/codeenzyme/wally/home/views/HomeFragment.kt | Victor-El | 356,330,981 | false | null | package me.codeenzyme.wally.home.views
import android.graphics.drawable.Drawable
import android.os.Bundle
import android.view.KeyEvent
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.view.inputmethod.EditorInfo
import android.widget.TextView
import androidx.appc... | 0 | Kotlin | 4 | 2 | 2733e98010c8f271852f50d440d9b01d44ddbe5d | 11,668 | Wally | MIT License |
app/src/main/java/ru/breffi/smartlibrary/host/BackConsumer.kt | storyclm | 178,157,601 | false | null | package ru.breffi.clm.ui.library.host
interface BackConsumer {
fun onBackPressed() : Boolean
} | 1 | null | 1 | 1 | 1d6e47d48c10d8b147a91b994d62ec0bd858710b | 100 | smart-library-android | MIT License |
data/src/main/java/com/m3u/data/api/xtream/XtreamInfo.kt | realOxy | 592,741,804 | false | {"Kotlin": 884592} | package com.m3u.data.api.xtream
import com.m3u.data.database.model.Stream
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
data class XtreamInfo(
@SerialName("server_info")
val serverInfo: ServerInfo,
@SerialName("user_info")
val userInfo: UserInfo
) {
... | 20 | Kotlin | 10 | 143 | 8790161c6df87d609411f5a10b818ae2de585530 | 5,164 | M3UAndroid | Apache License 2.0 |
app/src/main/java/com/abhijit/paypay/ui/currency/CurrencyFragment.kt | achakra21 | 352,664,657 | false | null | package com.abhijit.paypay.ui.currency
import android.os.Build
import android.os.Bundle
import android.view.*
import android.widget.*
import androidx.annotation.RequiresApi
import androidx.databinding.DataBindingUtil
import androidx.fragment.app.Fragment
import androidx.fragment.app.viewModels
import androidx.lifecyc... | 0 | Kotlin | 0 | 1 | 1e46563485a684e2b89ff398dc10d927ecd0394f | 9,919 | Android-PayPay-CodingChallange | MIT License |
compiler/src/main/java/promise/database/compiler/DatabaseAbstractMethodsGenerator.kt | android-promise | 243,376,957 | false | null | /*
* Copyright 2017, <NAME>
* Licensed under the Apache License, Version 2.0, Android Promise.
* 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,
* s... | 1 | Kotlin | 0 | 11 | 65208fab30e3ef2f1c71617e4403a2153b687084 | 4,145 | database | Apache License 2.0 |
src/main/kotlin/no/nav/sosialhjelp/innsyn/vedlegg/dto/VedleggResponse.kt | navikt | 184,267,271 | false | {"Kotlin": 750292, "Dockerfile": 427, "Procfile": 92} | package no.nav.sosialhjelp.innsyn.vedlegg.dto
import com.fasterxml.jackson.annotation.JsonFormat
import java.time.LocalDateTime
data class VedleggResponse(
val filnavn: String,
val storrelse: Long,
val url: String,
val type: String,
val tilleggsinfo: String?,
@JsonFormat(pattern = "yyyy-MM-dd'... | 5 | Kotlin | 0 | 0 | c1fb303b4fb1e06b062b92be0696ad7531dc1df5 | 375 | sosialhjelp-innsyn-api | MIT License |
addressbook-common/src/main/kotlin/com/addressbook/annotations/LoggedRequest.kt | dredwardhyde | 164,920,046 | false | null | package com.addressbook.annotations
import org.springframework.core.annotation.AliasFor
import org.springframework.web.bind.annotation.RequestMapping
import org.springframework.web.bind.annotation.RequestMethod
@Target(AnnotationTarget.FUNCTION, AnnotationTarget.CLASS)
@Retention(AnnotationRetention.RUNTIME)
@Request... | 0 | Kotlin | 5 | 9 | cb69285f5b796bb2c0c3930120a4e1b287132ae7 | 769 | addressbook | Apache License 2.0 |
core/src/main/java/io/github/thibaultbee/streampack/data/AudioConfig.kt | ThibaultBee | 262,623,449 | false | null | /*
* Copyright (C) 2021 Thibault B.
*
* 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 ... | 8 | null | 37 | 99 | 3a9af52fd6f34c2dac308ece85a2a38c6d64760e | 6,506 | StreamPack | Apache License 2.0 |
src/main/kotlin/com/m1lk4fr3553r/Main.kt | M1lk4fr3553r | 247,285,609 | false | null | package com.m1lk4fr3553r
import com.m1lk4fr3553r.ui.controller.MainWindowController
import com.m1lk4fr3553r.model.properties.Properties
import com.m1lk4fr3553r.updater.github.GitHubUpdater
import com.m1lk4fr3553r.updater.github.GitHubUpdaterCallback
import com.m1lk4fr3553r.util.Globals
import com.m1lk4fr3553r.util.Uti... | 4 | Kotlin | 0 | 1 | 5bdeb8f25a4881a1d09a660b91015517beb1db1f | 1,917 | JSON-logviewer | Apache License 2.0 |
src/main/kotlin/dec_challenge2021/HouseRobberIII.kt | yvelianyk | 405,919,452 | false | null | package dec_challenge2021
import common.TreeNode
class HouseRobberIII {
private var memo: MutableMap<TreeNode, Pair<Int?, Int?>> = mutableMapOf()
fun rob(root: TreeNode?): Int {
return getMax(root, false)
}
fun getMax(node: TreeNode?, isPrevTaken: Boolean): Int {
if (node == null) ret... | 0 | Kotlin | 0 | 0 | e21ef12ed8ef573a50deb8235854a4511f004b4c | 1,048 | leetcode-kotlin | MIT License |
app/src/main/java/com/github/codingchili/dice30/model/Player.kt | codingchili | 276,671,690 | false | null | package com.github.codingchili.dice30.model
/**
* Representation of a player, name and score.
*/
class Player(var name: String) {
var score = 0
} | 0 | Kotlin | 0 | 2 | 0212dbd0b2bb491239ad94e4997356c6c6c5c1d5 | 152 | android-dice | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.