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
src/main/kotlin/org/vitalyros/redisson/kotlin/coroutines/reactive/RedissonCoroutinesReactive.kt
vitalyros
317,603,935
false
null
package org.vitalyros.redisson.kotlin.coroutines.reactive; import org.redisson.api.* import org.redisson.client.codec.Codec import org.redisson.config.Config import org.vitalyros.redisson.kotlin.coroutines.* import java.util.concurrent.TimeUnit class RedissonCoroutinesReactive(val wrapped: RedissonReactiveClient) : R...
1
Kotlin
1
1
dc05333ed2a6c75c6059842d665b547953de0002
4,190
redisson-kotlin-coroutines
Apache License 2.0
app/src/main/java/com/learndm/nnsman/utils/ViewEx.kt
ysjava
620,683,141
false
null
package com.learndm.nnsman.utils import android.content.Context import android.graphics.drawable.Drawable import android.widget.ImageView import androidx.annotation.ColorInt import androidx.annotation.ColorRes fun ImageView.setTint(@ColorRes color:Int){ drawable.setTint(resources.getColor(color,null)) }
0
Kotlin
0
0
f75f8f1e0dce39f698f1f04378bbdfea74136c0e
311
ReadMan
Apache License 2.0
ktfx-commons/src/test/kotlin/ktfx/print/PrinterTest.kt
hanggrian
102,934,147
false
null
package ktfx.print import javafx.print.Printer import kotlin.test.Test import kotlin.test.assertEquals class PrinterTest { @Test fun createJob() { Printer.getDefaultPrinter()?.run { val job = createJob { copies = 2 setPageRanges(1 untilPage 3) }...
1
null
2
18
edc15180b85065567a877254c439bb61ee07c329
537
ktfx
Apache License 2.0
ktfx-commons/src/test/kotlin/ktfx/print/PrinterTest.kt
hanggrian
102,934,147
false
null
package ktfx.print import javafx.print.Printer import kotlin.test.Test import kotlin.test.assertEquals class PrinterTest { @Test fun createJob() { Printer.getDefaultPrinter()?.run { val job = createJob { copies = 2 setPageRanges(1 untilPage 3) }...
1
null
2
18
edc15180b85065567a877254c439bb61ee07c329
537
ktfx
Apache License 2.0
backend/src/main/kotlin/entities/Joint.kt
Feng-12138
640,760,018
false
null
package entities import javax.persistence.* @Entity @Table(name = "Joint") class Joint { @Id @Column(name = "requirementID", nullable = false) var requirementID: Long = 0 @Column(name = "jointName", nullable = false) var jointName: DegreeName = "" }
0
Kotlin
2
3
f8db57b89cda6f71388cdaa0042a1c2908c86cc3
272
LooSchedule
MIT License
benchmark/perfetto/src/main/java/androidx/benchmark/perfetto/PerfettoRule.kt
tikurahul
332,680,050
false
null
/* * Copyright 2020 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 applica...
1
null
1
1
ccac66729a5e461b3a05944014f42e2dc55337d6
4,729
androidx
Apache License 2.0
app/src/main/kotlin/com/pachuho/lol/data/di/ApiModule.kt
pachuho
833,649,109
false
{"Kotlin": 64402}
package com.pachuho.lol.data.di import com.pachuho.lol.data.interceptor.LoggerInterceptor import com.pachuho.lol.data.remote.ChampionService import com.pachuho.lol.data.remote.UrlConstants.BASE_URL import com.pachuho.lol.data.remote.UrlConstants.VERSION import dagger.Module import dagger.Provides import dagger.hilt.In...
0
Kotlin
0
0
e21e0ac6a905889bb2b6e2e300da3b4dffc4385b
1,403
League-of-Legend
Apache License 2.0
core/src/main/kotlin/xyz/laxus/command/standard/InviteCommand.kt
LaxusBot
126,445,364
false
null
/* * Copyright 2018 <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 wr...
1
Kotlin
1
11
9cb4362e282acfcff950adeb1911cbb5b81ef20a
2,318
Laxus
Apache License 2.0
app/src/main/java/com/kirakishou/photoexchange/mvrx/viewmodel/state/GalleryFragmentState.kt
K1rakishou
109,590,033
false
null
package com.kirakishou.photoexchange.mvrx.viewmodel.state import com.airbnb.mvrx.Async import com.airbnb.mvrx.MvRxState import com.airbnb.mvrx.Uninitialized import com.kirakishou.photoexchange.helper.Paged import com.kirakishou.photoexchange.mvrx.model.photo.GalleryPhoto data class GalleryFragmentState( val favouri...
0
Kotlin
1
4
15f67029376a98353a01b5523dfb42d183a26bf2
4,462
photoexchange-android
Do What The F*ck You Want To Public License
BaseExtend/src/main/java/com/chen/baseextend/bean/news/NewsBean.kt
chen397254698
268,411,455
false
null
package com.chen.baseextend.bean.news import com.chen.basemodule.basem.BaseBean data class NewsBean( val `abstract`: String?, val action_list: List<Action>?, val aggr_type: Int?, val allow_download: Boolean?, val article_alt_url: String?, val article_sub_type: Int?, val article_type: Int?,...
1
Kotlin
14
47
85ffc5e307c6171767e14bbfaf992b8d62ec1cc6
2,857
EasyAndroid
Apache License 2.0
plugin/checkstyle/src/main/kotlin/se/jguru/nazgul/tools/plugin/checkstyle/report/model/CheckstyleReport.kt
lennartj
39,342,670
false
{"Java": 886743, "Kotlin": 137128, "ANTLR": 3584, "FreeMarker": 31}
/*- * #%L * Nazgul Project: nazgul-tools-checkstyle-maven-plugin * %% * Copyright (C) 2010 - 2018 jGuru Europe AB * %% * Licensed under the jGuru Europe AB license (the "License"), based * on Apache License, Version 2.0; you may not use this file except * in compliance with the License. * * You may obtain a ...
1
Java
0
0
27425742629a49f7e0834127002083ff1e180564
3,988
nazgul_tools
Apache License 2.0
dsl/src/main/kotlin/com/faendir/awscdkkt/generated/services/acmpca/CfnCertificateAuthorityPropsDsl.kt
F43nd1r
643,016,506
false
null
package com.faendir.awscdkkt.generated.services.acmpca import com.faendir.awscdkkt.AwsCdkDsl import javax.`annotation`.Generated import kotlin.Unit import software.amazon.awscdk.services.acmpca.CfnCertificateAuthorityProps @Generated public fun buildCfnCertificateAuthorityProps(initializer: @AwsCdkDsl CfnCertific...
1
Kotlin
0
0
b22e397ff37c5fce365a5430790e5d83f0dd5a64
460
aws-cdk-kt
Apache License 2.0
sdk/src/main/kotlin/raiffeisen/sbp/sdk/android/BanksAdapter.kt
Raiffeisen-DGTL
567,678,720
false
{"Kotlin": 27927}
package raiffeisen.sbp.sdk.android import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.ImageView import android.widget.TextView import androidx.recyclerview.widget.DiffUtil import androidx.recyclerview.widget.ListAdapter import androidx.recyclerview.widget.Re...
0
Kotlin
1
1
5a782a3e5f930fecd1ace4a2ea03b079b4297a5b
3,163
sbp-sdk-android
MIT License
sample/src/main/java/com/google/android/horologist/scratch/ScratchActivity.kt
google
451,563,714
false
{"Kotlin": 3164928, "Shell": 5169, "Java": 708, "Starlark": 361}
/* * 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
84
533
354ab1ef580faa9ed0f39cfe2c523df0ae11280f
8,003
horologist
Apache License 2.0
src/main/kotlin/no/nav/utsjekk/felles/oppdrag/konfig/interceptor/MdcValuesPropagatingClientInterceptor.kt
navikt
611,752,955
false
{"Kotlin": 332594, "Gherkin": 60800, "Shell": 625, "Dockerfile": 116}
package no.nav.dagpenger.iverksett.infrastruktur.interceptor import no.nav.dagpenger.iverksett.infrastruktur.util.MDCConstants import no.nav.dagpenger.iverksett.infrastruktur.util.NavHttpHeaders import no.nav.familie.prosessering.util.IdUtils import org.slf4j.MDC import org.springframework.http.HttpRequest import org....
2
Kotlin
1
0
e22bac4134604455dec0f70a6f3d5e9fe78391d6
1,132
utsjekk
MIT License
kotlin-inject-compiler-kapt/src/main/kotlin/me/tatarka/inject/compiler/kapt/Util.kt
japplin
289,405,210
true
{"Kotlin": 134058}
package me.tatarka.inject.compiler.kapt import com.squareup.kotlinpoet.* import com.squareup.kotlinpoet.ClassName import com.squareup.kotlinpoet.ParameterizedTypeName.Companion.parameterizedBy import kotlinx.metadata.* import kotlinx.metadata.jvm.* import javax.lang.model.element.Element import javax.lang.model.elemen...
0
null
0
0
894a66d92e9cdee48b4b66a7a22f287f8f939997
6,460
kotlin-inject
Apache License 2.0
gi/src/commonMain/kotlin/data/player/ChangeGameTimeReq.kt
Anime-Game-Servers
642,871,918
false
{"Kotlin": 535420}
package data.player import org.anime_game_servers.core.base.annotations.proto.CommandType import org.anime_game_servers.core.base.annotations.proto.ProtoCommand @ProtoCommand(CommandType.REQUEST) interface ChangeGameTimeReq { var extraDays: Int var gameTime: Int var isForceSet: Boolean }
0
Kotlin
3
6
9fc2c2ea7e3c2561ffaa66e7f58012ae1dcc4256
303
anime-game-multi-proto
MIT License
test/src/test/kotlin/test/java/integration/classic/runtime/ContextParameterTest.kt
afezeria
456,986,646
false
null
package test.java.integration.classic.runtime import com.github.afezeria.freedao.classic.runtime.context.* import org.junit.Test import test.BaseTest import test.Person import java.util.function.Supplier /** * * @author afezeria */ class ContextParameterTest : BaseTest() { @Test fun dynamicTableName() { ...
0
Kotlin
2
3
12bcab5714ea7cfa8a0f72062607709041d4d867
1,993
freedao
Apache License 2.0
app/src/main/java/io/astronout/dicodingstoryapp/data/source/remote/ErrorResponseMapper.kt
ariastro
678,904,369
false
null
package io.astronout.dicodingstoryapp.data.source.remote import com.skydoves.sandwich.ApiErrorModelMapper import com.skydoves.sandwich.ApiResponse import com.squareup.moshi.Moshi import io.astronout.dicodingstoryapp.data.source.remote.model.ErrorResponse object ErrorResponseMapper : ApiErrorModelMapper<ErrorResponse?...
0
Kotlin
0
0
7c85e2af777e4fa98aa9e9990d4800853b38ece9
712
DicodingStoryApp
MIT License
app/src/main/java/com/example/to_doapp/utils/Constants.kt
Rohit-2602
416,039,392
false
null
package com.example.to_doapp.utils object Constants { const val NOTIFICATION_CHANNEL_ID = "channel_1" }
0
Kotlin
3
12
7cc5999f9b694a60ec2d0e96a7aeab03d131ff48
110
To-Do-App
Apache License 2.0
bbfgradle/tmp/results/BACKUP_JS/FRONTEND_dsmpcjv_FILE.kt
DaniilStepanov
346,008,310
false
null
// Bug happens on JS // FILE: tmp0.kt { val i if ::i else !
1
null
1
1
e772ef1f8f951873ebe7d8f6d73cf19aead480fa
65
kotlinWithFuzzer
Apache License 2.0
core/src/main/java/com/tomochain/wallet/core/w3jl/components/tomochain/token/TRC21ServiceImpl.kt
MTCRIP
437,576,111
false
{"Kotlin": 225861}
package com.tomochain.wallet.core.w3jl.components.tomochain.token import android.annotation.SuppressLint import com.tomochain.wallet.core.common.Config import com.tomochain.wallet.core.common.exception.InsufficientBalanceException import com.tomochain.wallet.core.common.exception.InvalidAddressException import com.tom...
0
Kotlin
0
0
d4985c811cd7bacf53481b8a372c129219739ba3
13,758
tomowallet-core-android
MIT License
src/main/java/ml/a0x00000000/mjavascript/highlightingdefinitions/definitions/NoHighlightingDefinition.kt
Luluno01
143,576,176
false
{"C": 2038618, "C++": 754934, "Kotlin": 116851, "CMake": 81988, "Python": 22472, "Java": 6730, "JavaScript": 3231, "TypeScript": 2885, "HTML": 387}
package ml.a0x00000000.mjavascript.highlightingdefinitions.definitions import java.util.regex.Pattern import ml.a0x00000000.mjavascript.editor.HighlightingDefinition /** * Author: 0xFireball */ //TODO: Include color in a newer version class GenericHighlightingDefinition : HighlightingDefinition { override f...
0
C
0
1
0cb58910d493bd4e992e8c7be0be03eb099d2b22
1,763
mJavaScript
Do What The F*ck You Want To Public License
src/test/kotlin/com/github/thake/kafka/avro4k/serializer/PrintConfigDocumentation.kt
thake
243,688,275
false
null
package com.github.thake.kafka.avro4k.serializer fun main() { print(KafkaAvro4kDeserializerConfig.Companion.baseConfigDef().toEnrichedRst()) }
1
Kotlin
7
21
5f1396521964ea7a03299f7381773cfcabf4f795
149
avro4k-kafka-serializer
Apache License 2.0
src/shop/main/kotlin/com/prameprimo/shop/products/application/create/ProductCreator.kt
joucogi
319,022,920
false
null
package com.prameprimo.shop.products.application.create import com.prameprimo.shared.domain.Service import com.prameprimo.shop.products.domain.Product import com.prameprimo.shop.products.domain.ProductId import com.prameprimo.shop.products.domain.ProductName import com.prameprimo.shop.products.domain.contracts.Product...
1
Kotlin
0
0
b3fb596e7ede435f8efe33722297a940828692e3
617
kotlin-springboot-cqrs
MIT License
src/shop/main/kotlin/com/prameprimo/shop/products/application/create/ProductCreator.kt
joucogi
319,022,920
false
null
package com.prameprimo.shop.products.application.create import com.prameprimo.shared.domain.Service import com.prameprimo.shop.products.domain.Product import com.prameprimo.shop.products.domain.ProductId import com.prameprimo.shop.products.domain.ProductName import com.prameprimo.shop.products.domain.contracts.Product...
1
Kotlin
0
0
b3fb596e7ede435f8efe33722297a940828692e3
617
kotlin-springboot-cqrs
MIT License
idea/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/math/abs.kt
cr8tpro
189,964,139
true
{"Kotlin": 37481242, "Java": 7489008, "JavaScript": 157778, "HTML": 74773, "Lex": 23159, "TypeScript": 21255, "IDL": 10895, "ANTLR": 9803, "CSS": 8084, "Shell": 7727, "Groovy": 6940, "Batchfile": 5362, "Swift": 2253, "Ruby": 668, "Objective-C": 293, "Scala": 80}
// WITH_RUNTIME fun test(x: Double) { <caret>Math.abs(x) }
0
Kotlin
1
2
dca23f871cc22acee9258c3d58b40d71e3693858
62
kotlin
Apache License 2.0
core/src/main/java/com/alvayonara/mealsfood/core/data/source/remote/response/FoodListResponse.kt
alvayonara
307,544,464
false
null
package com.alvayonara.mealsfood.core.data.source.remote.response import com.google.gson.annotations.SerializedName data class FoodListResponse( @SerializedName("idMeal") var idMeal: String? = null, @SerializedName("strMeal") var strMeal: String? = null, @SerializedName("strMealThumb") var strMealThumb: S...
0
Kotlin
2
4
52a46f41c396db5b35c8bd7888f930ace320836b
439
MealsFood
Apache License 2.0
buildSrc/src/main/kotlin/Version.kt
rhdunn
631,532,861
false
null
// Copyright (C) 2023 <NAME>. SPDX-License-Identifier: Apache-2.0 /** * Versions of the various plugins and libraries used by the project. */ object Version { /** * The version of the Kotlin compiler and runtime. */ const val Kotlin = "1.7.20" /** * Versions of the various plugins used by...
0
null
0
1
af718b670572f3fe4107e10b0a2ecc1194f3d8cb
963
kotlin-multilpatform-template
Apache License 2.0
src/main/kotlin/nl/pvanassen/led/animation/common/ControllerClient.kt
pvanassen
158,941,491
false
{"Kotlin": 17105}
package nl.pvanassen.led.animation.common import io.ktor.client.* import io.ktor.client.plugins.websocket.* import io.ktor.http.* import io.ktor.serialization.kotlinx.* import io.ktor.server.config.* import io.ktor.websocket.* import kotlinx.coroutines.delay import kotlinx.coroutines.flow.reduce import kotlinx.corouti...
2
Kotlin
0
0
93859a365fd3db3e3aac4e7797965f47fc1d6cf2
4,042
animation-common
Apache License 2.0
plot-api/src/commonMain/kotlin/org/jetbrains/letsPlot/intern/layer/stat/DensityRidgesStatParameters.kt
JetBrains
172,682,391
false
null
/* * Copyright (c) 2022. JetBrains s.r.o. * Use of this source code is governed by the MIT license that can be found in the LICENSE file. */ package org.jetbrains.letsPlot.intern.layer.stat import org.jetbrains.letsPlot.core.spec.Option.Stat import org.jetbrains.letsPlot.intern.Options interface DensityRidgesStat...
17
null
36
433
f6edab1a67783d14e2378675f065ef7111bdc1a0
501
lets-plot-kotlin
MIT License
kotlin-antd/src/main/kotlin/antd/mention/MentionTypes.kt
ricsonhoo
251,039,996
true
{"Kotlin": 1197966, "CSS": 29526, "HTML": 6470, "JavaScript": 980}
package antd.mention typealias MentionPlacement = String /* "top" | "bottom" */ typealias SuggestionItme = Any /* ReactElement | String */
0
null
0
0
7d92fb58ae96ed7a16d70cb2832284acff023bcf
141
kotlin-js-wrappers
Apache License 2.0
components/src/commonMain/kotlin/me/lincolnstuart/funblocks/components/form/button/timer/TimerButton.kt
LincolnStuart
645,064,211
false
null
package me.lincolnstuart.funblocks.components.form.button.timer import androidx.compose.foundation.layout.Arrangement.Absolute.spacedBy import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.padding import androidx.compose.runtime.Composable import androidx.compose.runtime.LaunchedE...
1
null
0
4
5a9d60f062132df12a6022530dfa10692fbf6c6d
2,992
fun-blocks
MIT License
sms-core/src/main/kotlin/team/msg/sms/domain/authentication/dto/res/QueryAuthenticationHistoryResponseData.kt
GSM-MSG
625,717,097
false
{"Kotlin": 388304, "Shell": 1480, "Dockerfile": 288}
package team.msg.sms.domain.authentication.dto.res import team.msg.sms.domain.authentication.model.ActivityStatus import java.time.LocalDate data class QueryAuthenticationHistoryResponseData ( val authenticationId: String, val teacherName: String?, val gradedDate: LocalDate, val score: Int, val ac...
10
Kotlin
0
9
4005f8463b9248f8a21ab48255e12027381f1118
375
SMS-BackEnd
MIT License
morpheus/annotation/src/main/kotlin/br/com/mob1st/morpheus/annotation/Morpheus.kt
mob1st
526,655,668
false
{"Kotlin": 616109, "Shell": 1558}
package br.com.mob1st.morpheus.annotation /** * Annotates a class that can produce side-effects that should be consumed and cleaned by the ui * This annotation will only work on data classes */ @Target(AnnotationTarget.CLASS) @Retention(AnnotationRetention.SOURCE) annotation class Morpheus
11
Kotlin
0
3
d3f7e689dec83b4417bc39458c99981ad9d4d86f
295
bet-app-android
Apache License 2.0
core/src/main/java/dev/ahmedmourad/bundlizer/BundleEncoder.kt
AhmedMourad0
252,725,232
false
null
package dev.ahmedmourad.bundlizer import android.os.Bundle import kotlinx.serialization.ExperimentalSerializationApi import kotlinx.serialization.descriptors.SerialDescriptor import kotlinx.serialization.descriptors.StructureKind import kotlinx.serialization.encoding.AbstractEncoder import kotlinx.serialization.encodi...
1
Kotlin
6
71
08dd818d55b599c1654a0400606935b1dcf9a9ff
2,945
bundlizer
Apache License 2.0
app/src/main/java/com/yureka/technology/ytc/ui/beranda/materi/practice4/fragment/BottomSheetWrongFragment.kt
hafidrf
347,619,244
false
null
package com.yureka.technology.ytc.ui.beranda.materi.practice4.fragment import android.app.Dialog import android.os.Bundle import android.speech.tts.TextToSpeech import android.text.SpannableStringBuilder import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.Fra...
0
Kotlin
0
0
3d63f924b9438f497280459d91f891892758a519
4,413
ytc-android
Apache License 2.0
codegen-server/src/main/kotlin/software/amazon/smithy/rust/codegen/server/smithy/generators/http/RestRequestSpecGenerator.kt
smithy-lang
308,027,791
false
null
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ package software.amazon.smithy.rust.codegen.core.smithy.generators.http import software.amazon.smithy.model.shapes.OperationShape import software.amazon.smithy.rust.codegen.core.rustlang.Writable import...
346
null
188
504
8d8e7ab7aa6c3b388ffb2365a29ab03f87c24507
3,790
smithy-rs
Apache License 2.0
src/main/kotlin/fr/amou/ffbad/tournaments/slack/bot/infra/driven/RestRetrofitClient.kt
amourany
604,537,060
false
{"Kotlin": 46080, "Dockerfile": 181}
package fr.amou.ffbad.tournaments.slack.bot.infra.driven import org.slf4j.Logger import retrofit2.Call import retrofit2.Response data class OnFailure<U>(val defaultValue: U, val message: String) fun <T, U> restCall(call: Call<T>, onSuccess: (response: Response<T>) -> U, onFailure: OnFailure<U>) = { logger: Logger ->...
2
Kotlin
0
1
e519bf4d39c3b296c606c1da60d48a8aaf0ae540
703
ffbad-tournaments-slack-bot
MIT License
plugins/client/graphql-kotlin-client-generator/src/test/data/kotlinx/variables/scalars/OptionalSimpleArgumentInputSerializer.kt
ExpediaGroup
148,706,161
false
null
package com.expediagroup.graphql.generated.scalars import com.expediagroup.graphql.client.Generated import com.expediagroup.graphql.client.serialization.types.OptionalInput import com.expediagroup.graphql.client.serialization.types.OptionalInput.Defined import com.expediagroup.graphql.client.serialization.types.Option...
68
null
345
1,739
d3ad96077fc6d02471f996ef34c67066145acb15
1,671
graphql-kotlin
Apache License 2.0
bot/src/main/kotlin/me/y9san9/prizebot/actors/telegram/mapper/GiveawayToResultArticleMapper.kt
y9san9
337,414,979
false
{"Kotlin": 309570, "Dockerfile": 126}
package me.y9san9.prizebot.actors.telegram.mapper import dev.inmo.tgbotapi.types.InlineQueries.InlineQueryResult.InlineQueryResultArticle import dev.inmo.tgbotapi.types.InlineQueries.InputMessageContent.InputTextMessageContent import dev.inmo.tgbotapi.types.InlineQueryId import me.y9san9.prizebot.database.giveaways_st...
15
Kotlin
14
71
a606dbb02a98fdfc775e16e2c35344e6336ec74b
1,065
prizebot
MIT License
wallet/src/main/kotlin/org/trustnote/superwallet/widget/FieldTextView.kt
ringringringring
129,693,546
false
null
package org.trustnote.superwallet.widget import android.content.Context import android.util.AttributeSet import android.view.View import android.widget.FrameLayout import android.widget.ImageView import android.widget.TextView import org.trustnote.db.TxType import org.trustnote.superwallet.R import org.trustnote.super...
1
null
5
6
7a1c95b60569600ff09b5d520a1c4694fc1a3707
2,141
trustnote-wallet-android
MIT License
cucumber/src/test/kotlin/steps/StepsInfrastructure.kt
TimLavers
513,037,911
false
{"Kotlin": 978409, "Gherkin": 33754, "Java": 138}
package steps import io.rippledown.TestClientLauncher import io.rippledown.integration.UITestBase import io.rippledown.integration.pageobjects.* import steps.StepsInfrastructure.client import steps.StepsInfrastructure.uiTestBase object StepsInfrastructure { var uiTestBase: UITestBase? = null private var launc...
1
Kotlin
0
0
755058472297b68284b515abc3e3e2fd5e3b1698
2,064
OpenRDR
MIT License
codebase/android/feature/transactions/src/main/java/com/makeappssimple/abhimanyu/financemanager/android/feature/transactions/add_transaction/viewmodel/AddTransactionScreenInitialData.kt
Abhimanyu14
429,663,688
false
{"Kotlin": 1662499}
package com.makeappssimple.abhimanyu.financemanager.android.feature.transactions.add_transaction.viewmodel import com.makeappssimple.abhimanyu.financemanager.android.core.model.Account import com.makeappssimple.abhimanyu.financemanager.android.core.model.Amount import com.makeappssimple.abhimanyu.financemanager.androi...
11
Kotlin
0
2
c16afd210b40ec527483daaa37c78bcc2c8f14b0
1,262
finance-manager
Apache License 2.0
src/main/kotlin/org/cuongnv/subfinder/view/main/MainMvpView.kt
cuongnv126
386,142,000
false
null
package org.cuongnv.subfinder.view.main import org.cuongnv.subfinder.model.SimpleSubtitle interface MainMvpView { fun onSearchSuccess(data: List<SimpleSubtitle>) fun onSearchFail() fun onDownloadSuccess() fun onDownloadFail() }
0
Kotlin
0
5
d0492b892ae880e0cac508bb26528232f0c78756
246
subfinderapp
Apache License 2.0
Corona-Warn-App/src/deviceForTesters/java/de/rki/coronawarnapp/nearby/ExposureNotificationClientFactory.kt
pocmo
271,262,274
true
{"Kotlin": 774972, "HTML": 159992}
package de.rki.coronawarnapp.nearby import android.util.Log import com.google.android.gms.common.api.Api import com.google.android.gms.common.api.internal.ApiKey import com.google.android.gms.nearby.exposurenotification.ExposureConfiguration import com.google.android.gms.nearby.exposurenotification.ExposureInformation...
0
Kotlin
0
2
7043609ea79b8ee062c2e1e6542d4c7391350424
2,680
cwa-app-android
Apache License 2.0
ksrpc-ktor/websocket/shared/src/commonMain/kotlin/WebsocketPacketChannel.kt
Monkopedia
305,151,870
false
null
/** * Copyright (C) 2022 <NAME> <<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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
0
null
0
8
fac7aa9d367bcc29b8071141f6260c83f892f982
2,445
ksrpc
Apache License 2.0
ksrpc-ktor/websocket/shared/src/commonMain/kotlin/WebsocketPacketChannel.kt
Monkopedia
305,151,870
false
null
/** * Copyright (C) 2022 <NAME> <<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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
0
null
0
8
fac7aa9d367bcc29b8071141f6260c83f892f982
2,445
ksrpc
Apache License 2.0
app/src/main/java/eu/kanade/presentation/browse/components/BrowseSourceSimpleToolbar.kt
scb261
381,944,147
true
{"Kotlin": 4047397}
package eu.kanade.presentation.browse.components import androidx.compose.material.icons.Icons import androidx.compose.material.icons.outlined.Check import androidx.compose.material.icons.outlined.ViewModule import androidx.compose.material3.DropdownMenuItem import androidx.compose.material3.Icon import androidx.compos...
0
Kotlin
0
7
5a3a2084cbfff68c4187ea55ad6b8fd7be2796b7
3,684
TachiyomiSY
Apache License 2.0
src/test/kotlin/de/startat/collectionmanagement/CollectionManagementApplicationTests.kt
Arondc
718,297,883
false
{"Kotlin": 4510}
package de.startat.collectionmanagement import org.junit.jupiter.api.Test import org.springframework.boot.test.context.SpringBootTest @SpringBootTest class CollectionManagementApplicationTests { @Test fun contextLoads() { } }
0
Kotlin
0
0
a46e0094df2516a24e8b5db9cf9ab6d4c8bbcc89
242
collection-management-kotlin-example
Creative Commons Zero v1.0 Universal
modules/dagger/arrow-dagger/src/main/kotlin/arrow/dagger/extensions/EvalInstances.kt
i-walker
169,250,797
true
{"Kotlin": 2456999, "CSS": 152663, "JavaScript": 67900, "HTML": 23177, "Scala": 8150, "Java": 4465, "Shell": 3043, "Ruby": 1598}
package arrow.dagger.extensions import arrow.core.Eval import arrow.core.ForEval import arrow.core.extensions.eval.applicative.applicative import arrow.core.extensions.eval.bimonad.bimonad import arrow.core.extensions.eval.comonad.comonad import arrow.core.extensions.eval.functor.functor import arrow.core.extensions.e...
0
Kotlin
0
0
81ccaf5001739e52eceb32c529c8b2fed7de6fad
951
arrow
Apache License 2.0
core/src/main/kotlin/spp/jetbrains/view/trace/node/TraceSpanTreeNode.kt
sourceplusplus
173,253,271
false
null
/* * Source++, the continuous feedback platform for developers. * Copyright (C) 2022-2023 CodeBrig, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/...
2
null
13
87
199006a410529d961dc184f0740a5d845bd87899
1,915
interface-jetbrains
Apache License 2.0
core/core-ktx/src/main/java/rikka/core/res/Resources.kt
RikkaApps
106,552,709
false
null
@file:Suppress("unused") package rikka.core.res import android.content.res.ColorStateList import android.content.res.Resources import android.graphics.Typeface import android.graphics.drawable.Drawable import android.os.Build import androidx.annotation.AttrRes import androidx.annotation.ColorInt import androidx.annot...
2
null
49
394
ae15cd4057ce232aac4a12681973fd89bdcbb6e5
3,318
RikkaX
MIT License
app/src/main/java/com/github/aradxxx/ciceroneflowssample/di/FragmentBindingModule.kt
aradxxx
217,260,346
false
{"Gradle": 4, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "Proguard": 2, "XML": 15, "Kotlin": 21, "INI": 1}
package com.github.aradxxx.ciceroneflowssample.di import dagger.Module import dagger.android.ContributesAndroidInjector import com.github.aradxxx.ciceroneflowssample.tabfragment.Tab1 import com.github.aradxxx.ciceroneflowssample.tabfragment.Tab2 import com.github.aradxxx.ciceroneflowssample.tabfragment.Tab3 import com...
0
Kotlin
3
22
045d0174b34f2de7835deb2b8f83784a471ff3e9
733
ciceronetabs
MIT License
ocsgw/src/main/java/org/ostelco/ocsgw/OcsServer.kt
ostelco
112,729,477
false
null
package org.ostelco.ocsgw import org.jdiameter.api.ApplicationId import org.jdiameter.api.Avp import org.jdiameter.api.IllegalDiameterStateException import org.jdiameter.api.InternalException import org.jdiameter.api.OverloadException import org.jdiameter.api.RouteException import org.jdiameter.api.Stack import org.jd...
23
null
13
37
b072ada4aca8c4bf5c3c2f6fe0d36a5ff16c11af
7,506
ostelco-core
Apache License 2.0
apps/demox/src/main/java/chart/PieData.kt
akt
178,159,333
false
{"Java": 755054, "Kotlin": 74323}
package chart data class PieData(val name: String, val value: Double, val color: Int)
1
null
1
1
ac6714621deadaaf21e8acb192184183d54ed7fc
86
android-boot
MIT License
app/src/main/java/ru/qdev/lnotes/mvp/QDVNotesHomeView.kt
wn1
91,445,961
false
{"Java": 110470, "Kotlin": 45588}
package ru.qdev.lnotes.mvp import androidx.annotation.UiThread import moxy.MvpView import moxy.viewstate.strategy.AddToEndSingleStrategy import moxy.viewstate.strategy.OneExecutionStateStrategy import moxy.viewstate.strategy.SingleStateStrategy import moxy.viewstate.strategy.StateStrategyType import ru.qdev.lnotes.db....
1
null
1
1
22e59e92f45072fa2f45a32d88fab584970c5ef5
951
LNotes
MIT License
src/main/kotlin/com/stepanov/bbf/bugfinder/generator/targetsgenerators/typeGenerators/RandomTypeGenerator.kt
DaniilStepanov
228,623,440
false
{"Git Config": 1, "Gradle": 6, "Text": 3, "INI": 5, "Shell": 2, "Ignore List": 3, "Batchfile": 2, "Markdown": 2, "Kotlin": 15942, "JavaScript": 4, "ANTLR": 2, "XML": 12, "Java": 4}
package com.stepanov.bbf.bugfinder.generator.targetsgenerators.typeGenerators import com.stepanov.bbf.bugfinder.executor.project.Project import com.stepanov.bbf.bugfinder.generator.constructor.util.StandardLibraryInheritanceTree import com.stepanov.bbf.bugfinder.mutator.transformations.tce.StdLibraryGenerator import c...
1
null
1
1
602285ec60b01eee473dcb0b08ce497b1c254983
14,611
bbfgradle
Apache License 2.0
merriamwebster/src/main/java/space/narrate/waylan/merriamwebster/data/local/Uro.kt
narrate-co
171,908,990
false
null
package space.narrate.waylan.merriamwebster.data.local /** * An object that represents an alternative to its parent word's morpheme, usually replacing a prefix * or suffix. * * For example, <i>quiescent</i> will have a [Uro] for <i>quiescently</i>. */ data class Uro( val ure: String, val fl: String )
25
null
1
14
c5640fb3bab994fd2c78cabd83fa962fbff75911
317
waylan_android
Apache License 2.0
api-gateway/api-gateway-domain/src/test/kotlin/com/jmsoftware/maf/apigateway/remote/impl/AuthCenterWebClientServiceImplTest.kt
johnnymillergh
240,563,247
false
null
package com.jmsoftware.maf.apigateway.remote.impl import com.jmsoftware.maf.apigateway.remote.AuthCenterWebClient import com.jmsoftware.maf.common.domain.authcenter.permission.GetPermissionListByRoleIdListPayload import com.jmsoftware.maf.common.domain.authcenter.permission.Permission import com.jmsoftware.maf.common....
1
null
4
11
67917520e69c3f2a47fdd06817e9421cd4d82159
2,691
muscle-and-fitness-server
Apache License 2.0
mage/src/main/java/mil/nga/giat/mage/observation/sync/AttachmentSyncWorker.kt
newmanw
401,480,632
false
{"Java Properties": 2, "Markdown": 2, "Gradle": 3, "Shell": 1, "Batchfile": 1, "Text": 2, "Ignore List": 1, "YAML": 2, "XML": 219, "JSON": 1, "Java": 111, "Kotlin": 88}
package mil.nga.giat.mage.observation.sync import android.content.Context import android.graphics.Bitmap import android.graphics.BitmapFactory import android.util.Log import androidx.exifinterface.media.ExifInterface import androidx.preference.PreferenceManager import androidx.work.Worker import androidx.work.WorkerPa...
1
null
1
1
b9a6ac0ee20f53191e82ba7cd78c0e92cdc97b41
9,348
mage-android
Apache License 2.0
mod/src/main/java/org/lineageos/mod/health/security/KeyMaster.kt
bvlj
286,560,862
false
{"Java": 231235, "Kotlin": 222270, "Shell": 1773}
/* * Copyright (C) 2020 The LineageOS 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 applicable law...
1
Java
1
1
96b999338b8ab38bf9d5355100a3753a6948cd9d
4,745
android_vendor_lineage_health
Apache License 2.0
dsl/test/org/jetbrains/android/anko/fileUtils.kt
pawegio
46,745,583
true
{"Kotlin": 1142586, "Java": 31266, "HTML": 1725}
/* * Copyright 2015 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
0
Kotlin
0
1
6ed2929dd3ebea881255cb0136e9fe794f19d91a
914
anko
Apache License 2.0
plugins/gitlab/src/org/jetbrains/plugins/gitlab/mergerequest/ui/list/GitLabMergeRequestsListViewModel.kt
ingokegel
72,937,917
false
null
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. package org.jetbrains.plugins.gitlab.mergerequest.ui.list import com.intellij.collaboration.api.page.SequentialListLoader import com.intellij.collaboration.async.launchNow import com.intellij.collab...
251
null
5079
2
b07eabd319ad5b591373d63c8f502761c2b2dfe8
4,483
intellij-community
Apache License 2.0
library/src/main/java/just4fun/modularity/core/utils/EasyList.kt
just-4-fun
105,467,191
false
null
package just4fun.modularity.core.utils import kotlin.collections.ArrayList /**TEST fun main(args: Array<String>) { testTraverceAndRemove() // return testAdd() println() elist.forEach { print("$it ") } println() println() testRemove() println("EasyList: ${elist.toList()}") println() println("ePlus= ${ePlus / plusNum...
0
Kotlin
0
1
97db4f732238098065ad71b7141f6bfa7a680bd0
4,324
modularity
Apache License 2.0
compiler/testData/diagnostics/tests/modifiers/const/kCallable_after.fir.kt
JetBrains
3,432,266
false
null
class SomeClassWithName(val property: Int) { val anotherProperty: String = "" fun foo() {} fun bar(a: Int, b: Double): String = "" } const val className = ::SomeClassWithName.name const val propName = SomeClassWithName::property.name const val anotherPropName = SomeClassWithName::anotherProperty.name cons...
181
null
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
707
kotlin
Apache License 2.0
playground/src/main/java/mx/yellowme/youst/playground/ui/nemo/navigator/fetchers/FetchConfig.kt
yellowme
191,184,085
false
null
package mx.yellowme.youst.playground.ui.nemo.navigator.fetchers import mx.yellowme.youst.playground.data.ConfigFakeRepository import mx.yellowme.youst.playground.domain.Config import mx.yellowme.youst.playground.ui.nemo.navigator.BaseHelm import mx.yellowme.youst.playground.ui.nemo.navigator.hooks.AsyncSingleNavigator...
9
null
2
9
83be5408b0cbdd9d8d88e7ab7dfc0eb0e88b7320
895
youst-kotlin
MIT License
subprojects/software.hsharp.core.models/src/kotlin/software/hsharp/core/models/IUser.kt
idempiere-micro-archive
140,256,677
false
{"Java": 11358014, "Kotlin": 226863, "XSLT": 16624, "Shell": 10056, "JavaScript": 967, "HTML": 866, "Makefile": 780}
package software.hsharp.core.models interface IUser : INameKeyPair
1
null
1
1
a5c09f37d68950b458cf23ce4a2c50e98c50ea2c
68
idempiere-micro
MIT License
app/ui/legacy/src/main/java/com/mail/ann/ui/choosefolder/KoinModule.kt
ZhangXinmin528
516,242,626
true
{"INI": 1, "Shell": 6, "Gradle": 30, "EditorConfig": 1, "Markdown": 8, "Git Attributes": 1, "Batchfile": 1, "Text": 44, "Ignore List": 4, "Git Config": 1, "XML": 399, "YAML": 6, "Kotlin": 744, "AIDL": 2, "Java": 433, "Java Properties": 1, "SVG": 67, "PostScript": 1, "JSON": 23, "E-mail": 27, "Proguard": 1}
package com.mail.ann.ui.choosefolder import org.koin.androidx.viewmodel.dsl.viewModel import org.koin.dsl.module val chooseFolderUiModule = module { viewModel { ChooseFolderViewModel(get()) } }
0
Java
0
0
3efc82014d57307996329fd057c505d2b88ed044
200
Ann-mail
Apache License 2.0
app/src/main/java/com/google/samples/apps/topeka/activity/CategorySelectionActivity.kt
hpsoar
64,523,563
true
{"Java Properties": 2, "Markdown": 2, "Gradle": 3, "Shell": 1, "Batchfile": 1, "Text": 1, "Ignore List": 2, "YAML": 1, "Java": 95, "XML": 145, "JSON": 1, "Kotlin": 4}
/* * Copyright 2015 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
0
Java
0
0
cdff7e32af08395cdbd0b234d48f621a50a0672a
5,554
android-topeka
Apache License 2.0
aggregation/simple/src/main/java/com/spotify/heroic/aggregation/simple/MetricMappingAggregation.kt
puppup420247-org
313,466,792
true
{"Java": 2694203, "Kotlin": 515919, "Python": 9692, "ANTLR": 4623, "Shell": 1807, "Dockerfile": 646}
/* * Copyright (c) 2019 Spotify AB. * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License,...
3
null
0
0
f51f08ddbdd2fe2eba2752be2f74fca1e513a49d
3,727
heroic
Apache License 2.0
recyclerview-adapters/src/main/java/ru/touchin/roboswag/recyclerview_adapters/adapters/DelegationListAdapter.kt
TouchInstinct
148,156,940
false
null
package ru.touchin.roboswag.recyclerview_adapters.adapters import android.view.ViewGroup import androidx.recyclerview.widget.AsyncDifferConfig import androidx.recyclerview.widget.AsyncListDiffer import androidx.recyclerview.widget.DiffUtil import androidx.recyclerview.widget.RecyclerView import ru.touchin.extensions.s...
15
null
6
21
3b35c16cde524bf4400ad29f34c71fde2001a2e2
3,627
RoboSwag
Apache License 2.0
src/main/kotlin/com/llamalad7/pseudo/runtime/objects/IntObject.kt
LlamaLad7
289,768,489
false
null
package com.llamalad7.pseudo.runtime.objects import com.llamalad7.pseudo.runtime.abstraction.BaseObject import com.llamalad7.pseudo.runtime.abstraction.Member import com.llamalad7.pseudo.runtime.builtinmethods.IntObjectClassMembers import java.math.BigInteger class IntObject(val value: BigInteger) : BaseObject() { ...
0
null
1
8
b7abb7cfd99944f4e143a399f10cd7ca2304fd24
891
pseudo-kt
Apache License 2.0
app/src/main/java/com/ojekbro/framework/mvvm/ui/usermanagement/login/LoginViewModel.kt
halimbimantara
304,837,133
false
null
package com.ojekbro.framework.mvvm.ui.usermanagement.login import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.ojekbro.framework.mvvm.core.BaseViewModel import com.ojekbro.framework.mvvm.data.repository.Rep...
1
null
1
1
d5eed331d204a9821626004130819a9e5b875d2e
961
kotlin-mvvm-hilt
Apache License 2.0
src/main/java/org/codinjutsu/tools/nosql/commons/view/panel/query/QueryOptions.kt
michaelsiepmann
110,033,938
true
{"Gradle": 2, "Text": 3, "Shell": 2, "Ignore List": 1, "Batchfile": 1, "XML": 13, "Markdown": 1, "Kotlin": 232, "Java": 82, "JSON": 11, "INI": 1}
package org.codinjutsu.tools.nosql.commons.view.panel.query interface QueryOptions { val operations: String? val resultLimit: Int val filter: String? val projection: String? val sort: String? val page: Page? }
0
Java
2
4
68b6d376d54a388771279292dffd8b42134673f9
234
nosql4idea
Apache License 2.0
lib/src/test/kotlin/org/hravemzdy/procezor/example/ExampleConstants.kt
hravemzdy
486,632,661
false
null
package org.hravemzdy.procezor.example enum class ExampleArticleConst(val code: Int) { ARTICLE_TIMESHT_WORKING (80001), ARTICLE_PAYMENT_SALARY (80002), ARTICLE_PAYMENT_BONUS (80003), ARTICLE_PAYMENT_BARTER (80004), ARTICLE_ALLOWCE_HOFFICE (80005), ARTICLE_HEALTH_INSBASE (80006), ARTICL...
0
Kotlin
0
0
345d489c83901ca501a46c055e9733b51ad8581f
1,327
kotlin-procezor
The Unlicense
app/src/main/java/ru/aasmc/whishlist/app/App.kt
aasmc
423,582,559
false
null
package ru.aasmc.whishlist.app import android.app.Application import org.koin.android.ext.koin.androidContext import org.koin.core.context.GlobalContext import org.koin.core.context.startKoin class App : Application(){ override fun onCreate() { super.onCreate() if (GlobalContext.getOrNull() == null) { ...
0
Kotlin
0
0
d5d479bc4da4b4053ccec2d0e541c1d31da86f3b
533
WhishListTDD
The Unlicense
app/src/main/java/ru/aasmc/whishlist/app/App.kt
aasmc
423,582,559
false
null
package ru.aasmc.whishlist.app import android.app.Application import org.koin.android.ext.koin.androidContext import org.koin.core.context.GlobalContext import org.koin.core.context.startKoin class App : Application(){ override fun onCreate() { super.onCreate() if (GlobalContext.getOrNull() == null) { ...
0
Kotlin
0
0
d5d479bc4da4b4053ccec2d0e541c1d31da86f3b
533
WhishListTDD
The Unlicense
pig/src/org/partiql/pig/generator/kotlin/KotlinCrossDomainFreeMarkerGlobals.kt
partiql
238,071,402
false
null
package org.partiql.pig.generator.kotlin import java.time.OffsetDateTime /** * The properties of [KotlinCrossDomainFreeMarkerGlobals] become global variables for our freemarker template that * generates the cross-domain visitor transforms. */ @Suppress("unused") class KotlinCrossDomainFreeMarkerGlobals( val na...
42
Kotlin
7
8
2a663d6cf6400f99cb3c4160844d019955775c1b
408
partiql-ir-generator
Apache License 2.0
app/src/main/java/com/sharkaboi/mediahub/modules/discover/adapters/AnimeSuggestionsAdapter.kt
susyimes
379,613,392
true
{"Kotlin": 432335}
package com.sharkaboi.mediahub.modules.discover.adapters import android.view.LayoutInflater import android.view.ViewGroup import androidx.core.view.isVisible import androidx.recyclerview.widget.AsyncListDiffer import androidx.recyclerview.widget.DiffUtil import androidx.recyclerview.widget.RecyclerView import coil.loa...
0
null
0
0
5200b21912d2816ac6d992f95ce4e206971590e4
3,080
MediaHub
MIT License
domain/src/main/java/juanocampo/test/domain/entity/FileType.kt
ingjuanocampo
214,337,884
false
null
package juanocampo.test.domain.entity sealed class FileType object Folder: FileType() object Image: FileType() object Document: FileType()
1
Kotlin
1
8
8909f9b2a55abf2eb69f56ddd626a846b320b584
139
DropboxFileExplorer
Apache License 2.0
kotlin-node/src/jsMain/generated/node/readline/cursorTo.kt
JetBrains
93,250,841
false
null
// Generated by Karakum - do not modify it manually! @file:JsModule("node:readline") package node.readline /** * The `readline.cursorTo()` method moves cursor to the specified position in a * given [TTY](https://nodejs.org/docs/latest-v20.x/api/tty.html) `stream`. * @since v0.7.7 * @param callback Invoked once t...
40
null
173
1,347
997ed3902482883db4a9657585426f6ca167d556
678
kotlin-wrappers
Apache License 2.0
loggia-api/src/main/kotlin/io/fries/loggia/api/security/jwt/JwtAuthenticationFilter.kt
mrkloan
262,714,921
false
{"Kotlin": 34149, "Vue": 4268, "JavaScript": 1150, "HTML": 579, "SCSS": 47}
package io.fries.loggia.api.security.jwt import io.jsonwebtoken.JwtException import org.slf4j.Logger import org.springframework.security.authentication.UsernamePasswordAuthenticationToken import org.springframework.security.core.context.SecurityContext import org.springframework.security.web.authentication.WebAuthenti...
16
Kotlin
0
0
43abb706346c245dd08e3c47d930b3fb1cb37a12
2,215
loggia
The Unlicense
app/src/main/java/com/sqgc/ktdaggermvvm/core/adapter/BaseViewHolder.kt
imrandev
477,220,616
false
{"Kotlin": 11246, "Java": 289}
package com.sqgc.ktdaggermvvm.core.adapter import android.view.View import androidx.annotation.NonNull import androidx.recyclerview.widget.RecyclerView import androidx.viewbinding.ViewBinding import com.sqgc.ktdaggermvvm.core.utils.Constant public abstract class BaseViewHolder<M, L : BaseRecyclerItemClickListener<M>>...
0
Kotlin
0
0
128aa6fae2717c7f266f86a23443739919db6969
1,871
kTDaggerMVVM
Apache License 2.0
model_other/src/main/java/com/wynne/other/grammar/Grammar5.kt
tony-xxw
122,974,025
false
null
package com.wynne.other.grammar import androidx.annotation.Nullable fun main() { var str: String? = null; println(str?.length) // str = "11" val value = str ?: "1111" println("value $value") //类型判断 val demo = when (val obj = Any()) { obj is String -> "1" obj !is String -> ...
0
Kotlin
0
7
4c8595c84086a11f1abba8538c2de8c86f17212d
3,443
KnowledgeTree
Apache License 2.0
openrndr/src/main/kotlin/extensions/CustomScreenshots.kt
ericyd
250,675,664
false
{"Kotlin": 905784, "Rust": 540056, "JavaScript": 129825, "GLSL": 31121, "Processing": 6318, "HTML": 1074, "Shell": 873, "Makefile": 435}
package extensions // TODO: open PR against openrndr for new functionality // and consider adding an additional "Named" property // and consider docs /** * This file is basically stolen directly from * https://github.com/openrndr/openrndr/blob/50554b34160aa40bdc9b18bf9e5e79ba310d3973/openrndr-extensions/src/main/ko...
2
Kotlin
0
58
975278dd14cc46fed8c02fdbb16527bbc78423b1
7,123
generative-art
MIT License
app/src/main/java/com/nux/studio/dvor/services/FirebaseMessagingService.kt
Ledokol-IT
502,100,836
false
null
package com.nux.studio.dvor.services import android.app.NotificationChannel import android.app.NotificationManager import android.app.PendingIntent import android.content.Context import android.content.Intent import android.graphics.Bitmap import android.graphics.drawable.BitmapDrawable import android.graphics.drawabl...
0
Kotlin
0
0
f9b171c33807325ad068e79fa3f9dd52f685f4d1
12,825
nux-application
MIT License
src/main/kotlin/entity/locations/EncounterMethodRate.kt
Tykok
518,240,433
false
null
package entity.locations import entity.common.NamedApiResource import entity.encounters.EncounterMethod /** * @see <a href="https://pokeapi.co/docs/v2#encountermethodrate">Documentation of PokeApi</a> * * @author Tykok * @version 1.0.0 * @since 2022-08-27 */ class EncounterMethodRate( /** * The method...
12
Kotlin
0
1
b017ec3b0cacc436e6ce975610b6bb9209e88026
652
PokeAPI-Kotlin
MIT License
plugins/reporters/evaluated-model/src/main/kotlin/EvaluatedModelReporter.kt
oss-review-toolkit
107,540,288
false
{"Kotlin": 4952390, "JavaScript": 334131, "Shell": 125399, "HTML": 98970, "Haskell": 30438, "FreeMarker": 27748, "CSS": 27239, "Dockerfile": 20545, "Python": 19161, "Swift": 12129, "Ruby": 9991, "Roff": 7688, "Vim Snippet": 7361, "Scala": 6656, "Go": 1909, "Starlark": 948, "C++": 587, "Java": 559, "Rust": 280, "Emacs L...
/* * Copyright (C) 2017 The ORT Project Authors (see <https://github.com/oss-review-toolkit/ort/blob/main/NOTICE>) * * 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.a...
319
Kotlin
297
1,506
980f5ea8e13af3c5ae05a41b85fc77b527f81c6f
2,760
ort
Apache License 2.0
chapter6/app/src/main/kotlin/chapter6/UserUpdateCommand.kt
koralle
674,252,070
false
null
package chapter6 data class UserUpdateCommand(val id: String, var name: String?) { }
0
Kotlin
0
0
79e570489d2148acb0114e996016002e9a1a20e1
86
domain-driven-development-with-kotlin-and-gradle
MIT License
app/src/main/java/com/android/sample/game/fragment/ResultsWinner.kt
AliRezaeiii
378,406,012
false
null
package com.android.sample.game.fragment import android.os.Bundle import androidx.fragment.app.Fragment import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.Button import androidx.navigation.Navigation import com.android.sample.game.R /** * Shows the winning...
0
Kotlin
0
0
ba1ade471d269011b980f7fdd5d3fa7ea0353688
854
SimpleGame-Navigation
The Unlicense
pillarbox-demo/src/main/java/ch/srgssr/pillarbox/demo/ui/MainNavigation.kt
SRGSSR
519,157,987
false
{"Kotlin": 1531426, "Shell": 549}
/* * Copyright (c) SRG SSR. All rights reserved. * License information is available from the LICENSE file. */ package ch.srgssr.pillarbox.demo import androidx.compose.foundation.layout.padding import androidx.compose.material.icons.Icons import androidx.compose.material.icons.automirrored.filled.ArrowBack import an...
24
Kotlin
1
12
f65758adbf037ffef04861f878a714beac0f8c36
11,656
pillarbox-android
MIT License
ocpi-toolkit-2.2.1/src/main/kotlin/com/izivia/ocpi/toolkit/modules/commands/domain/CancelReservation.kt
IZIVIA
497,830,391
false
{"Kotlin": 716699}
package com.izivia.ocpi.toolkit.modules.commands.domain import com.izivia.ocpi.toolkit.common.CiString import com.izivia.ocpi.toolkit.common.URL /** * @property responseUrl (max-length=255) URL that the CommandResult POST should be sent to. This URL might contain a * unique ID to be able to distinguish between Canc...
19
Kotlin
8
24
8e9f7a873242046bad248bce6c0d9296e02999dc
657
ocpi-toolkit
MIT License
app/src/main/java/com/utradia/catalogueappv2/module/productdetail/fragments/overview/ImagesAdapter.kt
Sunfocus
164,079,839
false
{"Gradle": 7, "Java Properties": 3, "Text": 1, "Shell": 1, "Ignore List": 6, "Batchfile": 1, "Git Attributes": 1, "Markdown": 1, "JSON": 3, "Proguard": 5, "XML": 265, "Java": 103, "Kotlin": 254}
package com.utradia.catalogueappv2.module.productdetail.fragments.overview import android.content.Context import androidx.core.content.ContextCompat import androidx.recyclerview.widget.RecyclerView import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.ImageView...
0
Kotlin
0
1
684f0a2621ef7b906c8b19d6b003a704d6edca1c
2,705
Utradia-Catlog-
Apache License 2.0
shared/src/commonMain/kotlin/org/nautilusapp/nautilus/attendance/UserAttendance.kt
nautilus-frc
663,757,256
false
{"Kotlin": 663349, "Swift": 154776}
package org.nautilusapp.nautilus.attendance import kotlinx.serialization.Serializable @Serializable data class UserAttendance( val totalHoursLogged: Int, val logs: List<MeetingLog> ) @Serializable data class MeetingLog( val meetingId: String, val verifiedBy: String = "unknown", )
8
Kotlin
0
0
d8d008b33a4eff1e156ee04b8f679b2dd3d336f0
299
companion
MIT License
src/main/kotlin/com/kylecorry/sol/science/physics/IPhysicsService.kt
kylecorry31
294,668,785
false
null
package com.kylecorry.sol.science.physics import com.kylecorry.sol.math.Quaternion import com.kylecorry.sol.math.Vector3 import com.kylecorry.sol.science.geology.Geology import com.kylecorry.sol.units.Bearing import com.kylecorry.sol.units.Distance import java.time.Duration interface IPhysicsService { // Kinemati...
7
null
4
8
8145d048395d63058ec4f607a795403963b2d9f0
1,380
sol
MIT License
app/src/main/java/com/greenart7c3/nostrsigner/ui/AccountScreen.kt
greenart7c3
671,206,453
false
null
package com.greenart7c3.nostrsigner.ui import android.content.Intent import androidx.compose.animation.Crossfade import androidx.compose.animation.core.tween import androidx.compose.foundation.layout.Column import androidx.compose.runtime.Composable import androidx.compose.runtime.collectAsState import androidx.compos...
5
null
3
69
ccb85c7a9212d999b66a8cee2cac6f02559626da
1,964
Amber
MIT License
image-loader/src/commonMain/kotlin/com/seiko/imageloader/model/ImageRequest.kt
qdsfdhvh
502,954,331
false
null
package com.seiko.imageloader.model import androidx.compose.runtime.Composable import androidx.compose.runtime.Immutable import androidx.compose.ui.graphics.painter.Painter import com.seiko.imageloader.component.ComponentRegistry import com.seiko.imageloader.component.ComponentRegistryBuilder import com.seiko.imageloa...
8
null
9
90
d9c86b3bb21817f1c0d2517dc2bebcd7ebf8642a
4,265
compose-imageloader
MIT License
app/src/main/java/com/wireguard/android/widget/KeyInputFilter.kt
msfjarvis
143,062,973
false
null
/* * Copyright © 2017-2019 WireGuard LLC. * Copyright © 2018-2019 Harsh Shandilya <msfjarvis@gmail.com>. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ package com.wireguard.android.widget import android.text.InputFilter import android.text.SpannableStringBuilder import android.text.Spanned import m...
3
null
27
159
18d78ad28cfafac9838bd6b5d36762c3987ff0e8
1,768
viscerion
Apache License 2.0
briefpreference/src/main/java/com/ethanhua/briefpreference/BriefPreference.kt
ethanhua
123,082,964
false
{"Gradle": 4, "Java Properties": 2, "Shell": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "Proguard": 2, "XML": 11, "Kotlin": 18, "Java": 3}
package com.ethanhua.briefpreference import android.content.Context import java.lang.reflect.InvocationHandler import java.lang.reflect.Method import java.lang.reflect.Proxy import java.util.concurrent.ConcurrentHashMap /** * Created by ethanhua on 2018/2/26. */ class BriefPreference(private var converterFactory: C...
0
Kotlin
1
4
c0a7b5686b2421c0e3848b7d25a1309453b342e5
2,140
BriefPreference
Apache License 2.0