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
doc-examples/r2dbc-example-kotlin/src/main/kotlin/example/BlockingBookRepository.kt
micronaut-projects
197,611,324
false
{"Java": 6176157, "Groovy": 2248675, "Kotlin": 532110, "Dockerfile": 263}
package example import io.micronaut.data.model.query.builder.sql.Dialect import io.micronaut.data.r2dbc.annotation.R2dbcRepository import io.micronaut.data.repository.CrudRepository @R2dbcRepository(dialect = Dialect.POSTGRES) interface BlockingBookRepository : CrudRepository<Book, Long> { fun findOne(title: Str...
195
Java
195
464
9443990a6e13a2a8e34a15cea1ac2584581dd16a
336
micronaut-data
Apache License 2.0
app/src/main/kotlin/com/kondenko/pocketwaka/screens/menu/MenuViewModel.kt
Kondenko
95,912,101
false
null
package com.kondenko.pocketwaka.screens.menu import com.kondenko.pocketwaka.domain.main.ClearCache import com.kondenko.pocketwaka.domain.menu.GetMenuUiModel import com.kondenko.pocketwaka.domain.menu.MenuUiModel import com.kondenko.pocketwaka.screens.State import com.kondenko.pocketwaka.screens.base.BaseViewModel impo...
3
null
7
58
6f1423415e2a23f12626ac67c9afb25f2df9e302
3,581
pocketwaka
MIT License
app/src/main/java/njc/koinprototype/MainActivity.kt
ncipollo
150,166,726
false
{"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Proguard": 1, "Kotlin": 12, "XML": 19, "Java": 1}
package njc.koinprototype import android.os.Bundle import android.support.v7.app.AppCompatActivity class MainActivity : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContentView(R.layout.activity_main) if (savedInstanceSta...
1
null
1
1
88e5fb2de29c0debbe3de31d47b5d8396d065e2a
592
koin-prototype
MIT License
http4k-security/oauth/src/main/kotlin/org/http4k/security/oauth/server/accesstoken/AccessTokenGenerator.kt
raymanoz
388,516,258
true
{"Kotlin": 2274398, "JavaScript": 135140, "Java": 40393, "CSS": 4705, "Shell": 2840, "TypeScript": 2319, "HTML": 2049, "Python": 1714, "Handlebars": 1513, "Pug": 944}
package org.http4k.security.oauth.server.accesstoken import dev.forkhandles.result4k.Result import org.http4k.core.Request import org.http4k.security.AccessTokenDetails import org.http4k.security.oauth.server.AccessTokenError import org.http4k.security.oauth.server.ClientId import org.http4k.security.oauth.server.Toke...
0
null
0
0
b8f638f72ebd67aa5fc9b908b3c4e471f0d83b66
498
http4k
Apache License 2.0
plugins/completion-ml-ranking-models/src/com/jetbrains/completion/ml/ranker/cb/CatBoostResourcesModelMetadataReader.kt
blindarcheology
299,589,148
false
null
package com.jetbrains.completion.ml.ranker.cb import ai.catboost.CatBoostModel import com.intellij.internal.ml.InconsistentMetadataException import com.intellij.internal.ml.ResourcesModelMetadataReader class CatBoostResourcesModelMetadataReader(metadataHolder: Class<*>, feat...
1
null
1
1
fd47b87096a3eb5e261d37b575cffac51030c255
867
intellij-community
Apache License 2.0
RxUI/src/main/java/com/tamsiree/rxui/view/dialog/wheel/ArrayWheelAdapter.kt
Tamsiree
69,093,112
false
null
package com.tamsiree.rxui.view.dialog.wheel import android.content.Context /** * @param <T> the element type * The simple Array wheel adapter * @author tamsiree </T> */ open class ArrayWheelAdapter<T> //setEmptyItemResource(TEXT_VIEW_ITEM_RESOURCE); (context: Context, // items private val items: Array<T>) : Abstr...
70
Kotlin
2855
12,025
fa5f88c24594a562c2a9047c40ceeb94de297428
708
RxTool
Apache License 2.0
widget/src/main/java/app/allever/android/lib/widget/mediapicker/ui/adapter/AudioAdapter.kt
devallever
446,030,743
false
null
package app.allever.android.lib.widget.mediapicker.ui.adapter import android.graphics.Color import android.view.animation.Animation import android.view.animation.LinearInterpolator import android.view.animation.RotateAnimation import app.allever.android.lib.core.ext.logE import app.allever.android.lib.core.function.im...
1
null
8
52
b5ec21078c8a6f509822c763fc90d6106b64bde3
5,809
AndroidBaseLibs
Apache License 2.0
android-app/app/src/main/java/br/com/firstsoft/parlathon/view/viewholder/PartidoViewHolder.kt
daniloleemes
139,360,390
false
{"Kotlin": 126708, "JavaScript": 24941, "Java": 19260}
package br.com.firstsoft.parlathon.view.viewholder import android.annotation.SuppressLint import android.content.Context import android.support.v7.widget.RecyclerView import android.view.View import br.com.firstsoft.parlathon.business.vo.Partido import br.com.firstsoft.parlathon.util.loadImg import kotlinx.android.syn...
1
Kotlin
1
1
698f14cb69e0e150c87154d062a01f7c253cf5a1
766
tramit-parlathon2018
Apache License 2.0
lawnchair/src/app/lawnchair/ui/preferences/components/AnnouncementPreference.kt
LawnchairLauncher
83,799,439
false
null
package app.lawnchair.ui.preferences.components import android.content.Intent import android.net.Uri import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Row import androidx.compose....
292
null
1156
8,748
382171893cff0ef29e30409479245cfc101edfc1
6,286
lawnchair
Apache License 2.0
app/src/main/java/me/mucool/testapplication/ui/activity/ServiceRecordFragment.kt
duxiu-chen
373,359,212
false
{"Java": 110324, "Kotlin": 26443}
package me.mucool.testapplication.ui.activity import android.app.Dialog import android.content.BroadcastReceiver import android.content.Context import android.content.Intent import android.content.IntentFilter import android.os.Bundle import android.view.* import android.widget.TextView import androidx.appcompat.widge...
1
null
1
1
7bc5e0d4e4562563c1f7a9987fb5c5f27a0294a4
7,625
onenine
Apache License 2.0
app/src/main/java/fun/inaction/sample/dialog/MainActivity.kt
hahaha28
253,959,709
false
null
package `fun`.inaction.sample.dialog import `fun`.inaction.dialog.dialogs.* import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.view.View import android.widget.Button import android.widget.TextView import android.widget.Toast class MainActivity : AppCompatActivity() { /** ...
1
Kotlin
1
3
71d6dadcc6d268b9dd2f8aa80e59a4fc4510a48e
7,151
Dialog
Apache License 2.0
app/src/main/java/me/raghu/mvpassignment/util/Coroutine.kt
raghunandankavi2010
151,673,114
false
null
package me.raghu.mvpassignment.util import kotlinx.coroutines.CoroutineScope import kotlinx.coroutines.runBlocking import kotlin.coroutines.CoroutineContext import kotlin.coroutines.EmptyCoroutineContext /** * Equivalent to [runBlocking] but return [Unit] instead of [T]. * * Mainly for usage when you want to lift...
0
Kotlin
0
2
29e3f60ecb4f77b3d39739b4ceb636107057e575
596
MVPSample
Apache License 2.0
dbflow-kotlinextensions/src/main/java/com/raizlabs/android/dbflow/kotlinextensions/PropertyMethodExtensions.kt
lstNull
111,766,134
false
null
package com.raizlabs.android.dbflow.kotlinextensions import com.raizlabs.android.dbflow.sql.language.BaseModelQueriable import com.raizlabs.android.dbflow.sql.language.IConditional import com.raizlabs.android.dbflow.sql.language.Operator import com.raizlabs.android.dbflow.sql.language.Operator.Between import com.raizl...
1
null
0
1
fcbad3b591fdc7d61140b76834e8d4582f642b2b
5,642
DBFlow
MIT License
Stipop/src/main/java/io/stipop/Config.kt
AYOMITIDE-OAJ
608,090,223
false
null
package io.stipop import android.content.Context import android.graphics.Color import android.graphics.Typeface import android.graphics.drawable.GradientDrawable import androidx.core.content.ContextCompat import org.json.JSONException import org.json.JSONObject import java.io.IOException import kotlin.math.roundToInt ...
1
null
1
2
1f99a4f3f00629259feb834a67caefedc3b0884f
20,301
wavychat
MIT License
src/main/kotlin/days/Day8.kt
felix-ebert
317,592,241
false
null
package days class Day8 : Day(8) { override fun partOne(): Int { val instructions = inputList.map { it.substringBefore(" ") to it.substringAfter(" ").toInt() }.toTypedArray() val visited = mutableSetOf<Int>() var isRunning = true var ptr = 0 var accumulator = 0 whi...
0
Kotlin
0
4
dba66bc2aba639bdc34463ec4e3ad5d301266cb1
2,527
advent-of-code-2020
Creative Commons Zero v1.0 Universal
src/main/kotlin/net/cerulan/luminality/block/entity/lumus/LumusRegulator.kt
CerulanLumina
229,501,289
false
{"Kotlin": 102598, "Java": 1712, "Shell": 151}
package net.cerulan.luminality.block.entity.lumus import net.cerulan.luminality.LuminalityBlocks import net.cerulan.luminality.api.LumusRatioChanges import net.cerulan.luminality.api.RatioLumusPower import net.cerulan.luminality.api.attr.LumusSink import net.cerulan.luminality.api.attr.LumusSource import net.cerulan.l...
4
Kotlin
0
0
87c90f10f83b673b2aadcd91104cf80d11c3be64
3,230
luminality-mod-mc
MIT License
coding/sources-jvm/codecs/basic/IterableJsonEncoderCodec.kt
fluidsonic
105,949,984
false
null
package io.fluidsonic.json public object IterableJsonEncoderCodec : AbstractJsonEncoderCodec<Iterable<*>, JsonCodingContext>() { override fun JsonEncoder<JsonCodingContext>.encode(value: Iterable<*>): Unit = writeList(value) public val nonRecursive: JsonEncoderCodec<Iterable<*>, JsonCodingContext> = NonRecursi...
9
Kotlin
6
29
bfaf4565c6ca92df03c7b8961853895bdd6c1589
350
fluid-json
Apache License 2.0
FanControl/app/src/jvmMain/kotlin/ui/itemsList/behaviorList/linearAndTarget/target/managerTarget.kt
wiiznokes
573,084,607
false
null
package ui.screen.itemsList.behaviorList.linearAndTarget.target import FState import androidx.compose.foundation.layout.Spacer import androidx.compose.foundation.layout.height import androidx.compose.foundation.layout.width import androidx.compose.runtime.Composable import androidx.compose.runtime.MutableState import ...
2
Kotlin
0
3
9c2a3a05d62d2fef1c8739481d7478fddecc209f
4,692
LibreFanControl
Apache License 2.0
app/src/test/java/com/crazie/android/model/PostTest.kt
Rajeshkeshoju
340,576,734
false
null
package com.crazie.android.model import org.junit.Assert import org.junit.Test class PostTest { @Test fun getPostId() { Assert.assertNotNull(Post().postId) } @Test fun getPostImage() { Assert.assertNotNull(Post().postImage) } @Test fun getPostCaption() { Asse...
0
Kotlin
2
7
4b221645af1f7bea3d367c2669e9e271e8bfdf5a
807
Crazie
Apache License 2.0
src/jvmTest/kotlin/me/maikv/wrapperImplementations/ChangesImplementationTest.kt
MaikV
359,591,447
false
null
package me.maikv.wrapperImplementations import io.ktor.client.engine.mock.respond import io.ktor.client.engine.mock.respondBadRequest import io.ktor.client.features.json.serializer.KotlinxSerializer import io.ktor.http.HttpMethod import kotlin.test.Test import kotlin.test.assertEquals import kotlinx.coroutines.runBloc...
2
Kotlin
0
0
699d0379b8577a9dd16888e4ac0810d9d6fc6161
6,339
TmdbApiWrapperKotlin
Apache License 2.0
gi/src/commonMain/kotlin/org/anime_game_servers/multi_proto/gi/data/serenitea_pot/furniture/FurnitureMakeStartReq.kt
Anime-Game-Servers
642,871,918
false
{"Kotlin": 1651536}
package org.anime_game_servers.multi_proto.gi.data.serenitea_pot.furniture import org.anime_game_servers.core.base.Version.GI_1_5_0 import org.anime_game_servers.core.base.Version.GI_2_0_0 import org.anime_game_servers.core.base.annotations.AddedIn import org.anime_game_servers.core.base.annotations.proto.CommandType....
0
Kotlin
2
6
7639afe4f546aa5bbd9b4afc9c06c17f9547c588
546
anime-game-multi-proto
MIT License
library/src/main/java/com/camerash/filterdrawer/DrawerBuilder.kt
Camerash
150,241,216
false
null
package com.camerash.filterdrawer import android.app.Activity import android.os.Build import android.support.annotation.ColorRes import android.support.annotation.LayoutRes import android.support.annotation.MenuRes import android.support.annotation.NonNull import android.support.v4.content.ContextCompat import android...
1
Kotlin
2
17
4d79b90fedc6135255e325b9b16954dafe0a9e0f
12,401
FilterDrawer
MIT License
src/test/kotlin/com/fiap/order/usecases/services/PaymentServiceTest.kt
FIAP-3SOAT-G15
794,350,212
false
{"Kotlin": 125965, "HCL": 4430, "Dockerfile": 283}
package com.fiap.order.usecases.services import com.fiap.order.adapter.gateway.PaymentGateway import com.fiap.order.createOrder import com.fiap.order.createPaymentResponse import io.mockk.every import io.mockk.mockk import io.mockk.unmockkAll import io.mockk.verify import org.assertj.core.api.Assertions.assertThat imp...
0
Kotlin
0
1
53f972c9cb0a7175f3d5ade84c18ac90c025df79
1,109
orders-api
MIT License
idea/src/org/jetbrains/kotlin/idea/inspections/KotlinCleanupInspection.kt
culvert
42,346,712
false
{"Markdown": 34, "XML": 694, "Ant Build System": 44, "Git Attributes": 1, "Ignore List": 7, "Maven POM": 51, "Kotlin": 19994, "Groovy": 23, "Java": 4435, "Shell": 11, "Batchfile": 10, "Java Properties": 11, "Gradle": 74, "HTML": 144, "INI": 7, "CSS": 2, "JavaScript": 63, "Text": 4403, "ANTLR": 1, "Protocol Buffer": 7, ...
/* * Copyright 2010-2015 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
1
null
1
1
69038ba6c09a4427ace5158fd434e27f1672d3f0
7,205
kotlin
Apache License 2.0
feature-staking-impl/src/main/java/jp/co/soramitsu/feature_staking_impl/domain/validations/unbond/UnbondValidationPayload.kt
soramitsu
278,060,397
false
null
package jp.co.soramitsu.feature_staking_impl.domain.validations.unbond import jp.co.soramitsu.feature_staking_api.domain.model.StakingState import jp.co.soramitsu.feature_wallet_api.domain.model.Asset import jp.co.soramitsu.feature_wallet_api.domain.model.Token import java.math.BigDecimal data class UnbondValidationP...
3
Kotlin
11
51
ce2d28cd14a57c20f4d1757a89e23d2709c63072
471
fearless-Android
Apache License 2.0
Notes/app/src/main/java/com/example/notes/ui/TaskRecyclerAdapter.kt
trypuzz
590,908,174
false
null
package com.example.notes.ui import android.annotation.SuppressLint import android.view.LayoutInflater import android.view.ViewGroup import androidx.recyclerview.widget.RecyclerView import com.example.notes.R import com.example.notes.model.Task import com.example.notes.ui.adapter.TaskViewHolder class TaskRecyclerAda...
0
Kotlin
0
9
2eeb88553b0456b22ae3e5fb717cabf44315ea52
1,123
pet-projects
MIT License
tjenestespesifikasjoner/manuelle-fikser-for-api.main.kts
navikt
218,512,058
false
null
@file:DependsOn("no.nav.common:yaml:2.2021.12.09_11.56-a71c36a61ba3") import Manuelle_fikser_for_api_main.ChangeUtils.JsonSource import Manuelle_fikser_for_api_main.ChangeUtils.YamlSource import Manuelle_fikser_for_api_main.ChangeUtils.changeFile import Manuelle_fikser_for_api_main.ChangeUtils.forDefinition import Man...
4
null
1
3
fd510352761273d6ecc8ff7f482b7c271efdf83e
8,594
modiapersonoversikt-api
MIT License
vuesaxicons/src/commonMain/kotlin/moe/tlaster/icons/vuesax/vuesaxicons/twotone/Locationslash.kt
Tlaster
560,394,734
false
{"Kotlin": 25133302}
package moe.tlaster.icons.vuesax.vuesaxicons.twotone import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap import androidx...
0
Kotlin
0
2
b8a8231e6637c2008f675ae76a3423b82ee53950
3,086
VuesaxIcons
MIT License
enode/src/main/java/org/enodeframework/messaging/TwoMessageHandlerProvider.kt
anruence
165,245,292
false
null
package org.enodeframework.messaging interface TwoMessageHandlerProvider { fun getHandlers(messageTypes: List<Class<*>>): List<MessageHandlerData<MessageHandlerProxy2>> }
1
null
55
205
22c81b98b36a6a221d026272594eaf7817145e0f
175
enode
MIT License
app/src/main/java/jp/juggler/subwaytooter/action/Action_Instance.kt
e10ulen
158,270,603
true
{"Java": 2066183, "Kotlin": 1874608, "Perl": 52118}
package jp.juggler.subwaytooter.action import java.util.ArrayList import jp.juggler.subwaytooter.ActMain import jp.juggler.subwaytooter.App1 import jp.juggler.subwaytooter.Column import jp.juggler.subwaytooter.R import jp.juggler.subwaytooter.api.* import jp.juggler.subwaytooter.api.entity.EntityId import jp.juggler....
0
Java
0
0
72f7d7df54bfe12c71a9b97aa83aad0ad74aa60a
5,214
SubwayTooter
Apache License 2.0
shared/src/main/java/com/google/samples/apps/iosched/shared/domain/search/SearchUseCase.kt
wangwindlong
38,219,321
true
{"Kotlin": 1404126, "HTML": 35552, "Shell": 9569, "Java": 2065}
/* * Copyright 2018 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
0
Kotlin
0
0
27507f874b95660e096c4268440898fd9b633e23
1,948
iosched
Apache License 2.0
waltid-mdoc-credentials/src/commonMain/kotlin/id/walt/mdoc/doc/VerificationType.kt
walt-id
701,058,624
false
{"Kotlin": 2129639, "Vue": 327721, "TypeScript": 93015, "JavaScript": 20560, "Dockerfile": 7261, "Shell": 1651, "CSS": 404}
package id.walt.mdoc.doc /** * Verification type for MDOC documents */ enum class VerificationType { VALIDITY, DOC_TYPE, CERTIFICATE_CHAIN, ITEMS_TAMPER_CHECK, ISSUER_SIGNATURE, DEVICE_SIGNATURE; infix fun and(other: VerificationType): VerificationTypes = setOf(this, other) companion object { /...
32
Kotlin
33
98
a86bd0c843d594f6afe6e747d3c4de7d8a4789a8
1,155
waltid-identity
Apache License 2.0
jessie/src/test/java/cn/jessie/main/ProgramManagerNativeTest.kt
7hens
207,047,545
false
null
package cn.jessie.main import cn.jessie.app.activity.ActivityStubs import org.junit.Assert.assertEquals import org.junit.Test class ProgramManagerNativeTest { @Test fun test() { val stubId = ActivityStubs.ID.of(12, 1, 56) println(stubId) assertEquals(ActivityStubs.ID.processIndex(stubI...
1
Kotlin
5
34
c650b6abb29e8324f52d94f9142834db8d7b01e5
454
jessie
MIT License
src/main/kotlin/com/glinboy/weather/handler/GreetingHandler.kt
GLinBoy
466,682,381
false
{"Kotlin": 17816}
package com.glinboy.weather.handler import org.springframework.http.MediaType import org.springframework.stereotype.Component import org.springframework.web.reactive.function.BodyInserters import org.springframework.web.reactive.function.server.ServerRequest import org.springframework.web.reactive.function.server.Serv...
10
Kotlin
0
1
d52257a149da7e46bc318dc96b360d0ee9a10cdd
629
weather-api
MIT License
src/main/kotlin/no/nav/pensjon/opptjening/omsorgsopptjening/start/innlesning/config/RetryConfig.kt
navikt
585,136,142
false
{"Kotlin": 158008, "Dockerfile": 111}
package no.nav.pensjon.opptjening.omsorgsopptjening.start.innlesning.config import org.springframework.context.annotation.Configuration import org.springframework.retry.annotation.EnableRetry @Configuration @EnableRetry class RetryConfig
0
Kotlin
0
0
855f439efae22bd782b5f791155dedd44fc73367
239
omsorgsopptjening-start-innlesning
MIT License
wallet/ui/main/MainFragment.kt
clement-stackup
795,301,218
false
{"Kotlin": 96386}
// Copyright (c) 2023, Circle Technologies, LLC. 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 req...
0
Kotlin
0
0
cffb378085f7b2475242c0f7265cd3f962c77aa3
12,784
walletA
Apache License 2.0
vanite-utils/src/main/java/io/vanite/android/utils/language/VaniteLanguageToggle.kt
Yazan98
237,016,323
false
null
package io.vanite.android.utils.language import android.content.Context import android.content.SharedPreferences import io.vanite.android.details.VanitePrefsDetails import io.vanite.android.details.VanitePrefsDetailsException import io.vanite.android.errors.VanitePrefsNotInitializedException import kotlinx.coroutines....
1
null
1
6
1d193db103ac624b52acbaf57fb9db7fd5fee8f7
2,338
Vortex
Apache License 2.0
app/src/main/java/com/example/amphibians/network/AmphibianApiService.kt
Kholifah07
570,427,928
false
null
/* * Copyright (C) 2021 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
a322084d90f8496bf5c52f11fb2939e80e8a9a2e
2,068
amfibian
Apache License 2.0
spesialist-selve/src/main/kotlin/no/nav/helse/modell/kommando/KobleVedtaksperiodeTilOverstyring.kt
navikt
244,907,980
false
null
package no.nav.helse.modell.kommando import java.util.UUID import no.nav.helse.modell.overstyring.OverstyringDao internal class KobleVedtaksperiodeTilOverstyring( val berørteVedtaksperiodeIder: List<UUID>, val kilde: UUID, val overstyringDao: OverstyringDao, ): Command { override fun execute(context:...
9
null
2
1
9d4136c645cc48337f246413c4b0beb906839ffd
542
helse-spesialist
MIT License
app/src/main/java/com/github/pakka_papad/home/Genres.kt
pakka-papad
539,192,838
false
null
package com.github.pakka_papad.home import androidx.compose.foundation.clickable import androidx.compose.foundation.interaction.MutableInteractionSource import androidx.compose.foundation.layout.* import androidx.compose.foundation.lazy.LazyColumn import androidx.compose.foundation.lazy.LazyListState import androidx.c...
8
null
8
97
332de5a4418cdcc5fdf837c846e30e76df4103c3
4,182
Zen
MIT License
src/main/kotlin/uk/gibby/neo4k/functions/Equality.kt
mnbjhu
576,776,238
false
{"Kotlin": 325491}
package uk.gibby.neo4k.functions import uk.gibby.neo4k.returns.ReturnValue import uk.gibby.neo4k.returns.primitives.BooleanReturn infix fun <T, U: ReturnValue<T>>U.eq(other: U) = ReturnValue.createReference(::BooleanReturn, "(${getString()} = ${other.getString()})") infix fun <T, U: ReturnValue<T>>U.eq(other: T) = Re...
3
Kotlin
0
4
a82253fce182c008edf98e13aec6309f1d0f0423
413
neo4k
MIT License
utsjekk-oppdrag-app/src/test/kotlin/no/nav/utsjekk/oppdrag/iverksetting/OppdragControllerIntegrationTest.kt
navikt
596,541,750
false
{"Kotlin": 159669, "Dockerfile": 265}
package no.nav.utsjekk.oppdrag.iverksetting import no.nav.utsjekk.kontrakter.oppdrag.OppdragStatus import no.nav.utsjekk.kontrakter.oppdrag.Utbetalingsoppdrag import no.nav.utsjekk.oppdrag.MQInitializer import no.nav.utsjekk.oppdrag.PostgreSQLInitializer import no.nav.utsjekk.oppdrag.etUtbetalingsoppdrag import no.nav...
1
Kotlin
0
0
30b70d4c8ed09c6ce0d2216e4f4c29bf2d08d73f
3,136
utsjekk-oppdrag
MIT License
mobile/src/main/java/io/github/tonnyl/latticify/data/UsersProfileWrapper.kt
TonnyL
106,430,606
false
null
package io.github.tonnyl.latticify.data import com.google.gson.annotations.SerializedName /** * Created by lizhaotailang on 08/10/2017. * * { * "ok": true, * "profile": { * "status_text": "riding a train", * "status_emoji": ":mountain_railway:", * "first_name": "John", * "last_name": "Smith", * "email": "<E...
2
null
4
43
4f8103fb6a5d46821bf459128dd9c93fb8b24e5f
1,633
Latticify
MIT License
src/main/kotlin/edu/ort/tuguia/core/user/application/EditUser.kt
ort-tuguia
480,584,853
false
null
package edu.ort.tuguia.core.user.application import javax.validation.constraints.Email import javax.validation.constraints.NotBlank class EditUser( firstName: String, lastName: String, email: String, ) { @NotBlank(message = "El nombre es obligatorio") val firstName: String @NotBlank(message =...
0
Kotlin
0
1
52cbddaf0946b7fcab0cec642415164621148881
570
tuguia-api
MIT License
src/main/kotlin/dev/argraur/aosp/builder/cli/listeners/CommandListener.kt
argraur
459,604,174
false
null
/* * SPDX-FileCopyrightText: 2022 <NAME> <<EMAIL>> * SPDX-License-Identifier: MIT */ package dev.argraur.aosp.builder.cli.listeners import dev.argraur.aosp.builder.cli.CLI import dev.argraur.aosp.builder.cli.command.JobCommand class CommandListener { companion object { private val TAG = CommandListene...
0
Kotlin
0
2
f0ebc53f318f81065b10a07b635bba66e2228f19
1,669
aosp-builder
MIT License
app/src/main/kotlin/com/muedsa/jcytv/util/JcyPlaySourceTool.kt
muedsa
773,720,587
false
null
package com.muedsa.jcytv.util import com.google.common.net.HttpHeaders import com.muedsa.jcytv.model.JcyRawPlaySource import com.muedsa.uitl.decodeBase64 import com.muedsa.uitl.encryptRC4 import org.jsoup.Jsoup import org.jsoup.nodes.Document import java.net.URI import java.net.URLDecoder import java.nio.charset.Stand...
6
null
0
9
d01a1018ac6f0cfdda5d4b65eeb9bfda6d40c0b8
4,397
JCYTV
MIT License
Architecture/UnidirectionalKotlinCats/core/src/main/kotlin/com/odai/architecturedemo/api/CatApi.kt
MeriamLabidi
141,568,320
false
null
package com.odai.architecturedemo.api import com.odai.architecturedemo.cat.model.Cat import com.odai.architecturedemo.cats.model.Cats import rx.Observable interface CatApi { fun getCats(): Observable<Cats>; fun getFavouriteCats(): Observable<Cats> fun addToFavourite(cat: Cat): Observable<Cat> fun ...
0
null
0
1
324370b01d55604d9609336e9a2285e33e47064d
370
spikes
Apache License 2.0
src/main/kotlin/io/github/smiley4/ktorswaggerui/dsl/OpenApiResponse.kt
SMILEY4
526,907,299
false
null
package io.github.smiley4.ktorswaggerui.dsl import kotlin.reflect.KClass /** * A container for the expected responses of an operation. The container maps an HTTP response code to the expected response. * A response code can only have one response object. */ @OpenApiDslMarker class OpenApiResponse(val statusCode: S...
4
null
19
93
6ae057d68bf0b93099201e59c4f4310cdc51ba9e
3,353
ktor-swagger-ui
Apache License 2.0
innsender/src/main/kotlin/no/nav/soknad/innsending/exceptions/RestExceptionHandler.kt
navikt
406,355,715
false
null
package no.nav.soknad.innsending.exceptions import no.nav.soknad.innsending.dto.RestErrorResponseDto import org.slf4j.Logger import org.slf4j.LoggerFactory import org.springframework.http.HttpStatus import org.springframework.http.ResponseEntity import org.springframework.web.bind.annotation.ControllerAdvice import or...
3
null
0
3
2918f03faf9ec74670412e8e59e712d07f203fca
2,707
innsending-api
MIT License
app/src/main/java/com/github/stargrey/secret/bean/ImageData.kt
stargrey
437,261,048
false
{"Kotlin": 126611, "CSS": 70}
package com.github.stargrey.secret.bean import kotlinx.serialization.Serializable @Serializable data class ImageData( var name: String? = null, var type: String? = null, var size: String? = null, var bytes: ByteArray? = null )
0
Kotlin
0
0
bf72782afd2656ec1a6a7f134c7bb283c098db89
245
secretNote
Apache License 2.0
app/src/test/java/com/moyi/liu/audiofeedback/adapter/audio/StubAudioManager.kt
MoyiLiu
349,500,190
false
null
package com.moyi.liu.audiofeedback.adapter.audio import com.moyi.liu.audiofeedback.domain.model.AudioContext import com.moyi.liu.audiofeedback.domain.model.Direction import io.reactivex.rxjava3.core.Completable open class StubAudioManager : AudioManager { val audioContextsList = mutableListOf<Pair<AudioContext, A...
0
Kotlin
0
0
153823c1af721fbb161ad760e1ed7b9031f9da9f
999
audio-feedback-android
Apache License 2.0
examples/paywall-tester/src/main/java/com/revenuecat/paywallstester/ui/screens/main/offerings/OfferingsViewModel.kt
RevenueCat
127,346,826
false
{"Kotlin": 3187935, "Java": 82657, "Ruby": 28079, "Shell": 443}
package com.revenuecat.paywallstester.ui.screens.main.offerings import android.util.Log import androidx.lifecycle.ViewModel import com.revenuecat.purchases.Purchases import com.revenuecat.purchases.getOfferingsWith import kotlinx.coroutines.flow.MutableStateFlow import kotlinx.coroutines.flow.StateFlow import kotlinx....
30
Kotlin
52
253
dad31133777389a224e9a570daec17f5c4c795ca
1,226
purchases-android
MIT License
app/src/main/java/com/vidial/chatsapp/domain/usecase/UpdateUserProfileUseCase.kt
alulcardino
844,420,524
false
{"Kotlin": 139328}
package com.vidial.chatsapp.domain.usecase import com.vidial.chatsapp.data.remote.mappers.toUpdateProfileDto import com.vidial.chatsapp.domain.exception.AuthException import com.vidial.chatsapp.domain.exception.mapFailure import com.vidial.chatsapp.domain.model.UpdateProfileModel import com.vidial.chatsapp.domain.repo...
0
Kotlin
0
0
aa7d2cd969f822920edbc159963dae93875842e8
1,191
ChatsApp
MIT License
src/main/kotlin/com/lykke/matching/engine/services/MultiLimitOrderService.kt
MioGreen
108,066,733
true
{"Kotlin": 485839, "Java": 39868}
package com.lykke.matching.engine.services import com.lykke.matching.engine.daos.LkkTrade import com.lykke.matching.engine.daos.NewLimitOrder import com.lykke.matching.engine.daos.TradeInfo import com.lykke.matching.engine.daos.WalletOperation import com.lykke.matching.engine.database.MarketOrderDatabaseAccessor impor...
0
Kotlin
0
0
2c21756b3617b63cfb44fef31eae44715fc1b917
12,630
MatchingEngine
MIT License
idea/testData/quickfix/override/nothingToOverride/beforeAddParameterTwoSupertypes.kt
develar
14,658,474
true
{"Java": 14526655, "Kotlin": 6831811, "JavaScript": 897073, "Groovy": 43935, "CSS": 14421, "Shell": 9248}
// "Change function signature to 'override fun f(a: Int)'" "true" open class A { open fun f(a: Int) {} } open class B : A() { } class C : B() { <caret>override fun f(a: Int) {} }
0
Java
0
1
bf5b387580265cba01efc8fd30d1d0c0b41ac5a9
189
kotlin
Apache License 2.0
Problem_2.kt
infdahai
186,154,671
false
{"Python": 20179, "Rust": 838, "Go": 579, "Kotlin": 442}
/** I am a freshman in Kotlin. And I paste the code from my hand and just enhance my ability in KT */ /**ref_link: https://projecteuler.net/thread=2;page=8*/ fun main(){ val goldenRatio = 1.618034 var sum: Long = 0 var term = 2.0 while(true){ val fbn = ((Math.pow(goldenRatio,term)-Math.pow(1-goldenRatio,te...
0
Python
0
0
7764c639474df19f3f02ca5804819a1a74d8a723
442
PE_sol
MIT License
presentation/src/main/java/org/lotka/xenon/presentation/screen/wish_list/compose/WishListCard.kt
armanqanih
860,856,530
false
{"Kotlin": 300166}
package org.lotka.xenon.presentation.screen.wish_list.compose import androidx.compose.foundation.Image import androidx.compose.foundation.background import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Row import androidx.compo...
0
Kotlin
0
0
894b4ba5b113d951ee4975c66cbbe3115f3239b2
4,893
ModernNews
Apache License 2.0
components/bridge/synchronization/impl/src/main/java/com/flipperdevices/bridge/synchronization/impl/repository/KeyDiffApplier.kt
flipperdevices
288,258,832
false
{"Kotlin": 2760721, "FreeMarker": 10084, "CMake": 1780, "C++": 1152, "Fluent": 21}
package com.flipperdevices.bridge.synchronization.impl.repository import com.flipperdevices.bridge.synchronization.impl.di.TaskGraph import com.flipperdevices.bridge.synchronization.impl.executor.AbstractKeyStorage import com.flipperdevices.bridge.synchronization.impl.executor.DiffKeyExecutor import com.flipperdevices...
13
Kotlin
131
999
ef27b6b6a78a59b603ac858de2c88f75b743f432
3,563
Flipper-Android-App
MIT License
korge-core/src/korlibs/io/file/std/ZipVfs.kt
korlibs
80,095,683
false
{"WebAssembly": 14293935, "Kotlin": 9728800, "C": 77092, "C++": 20878, "TypeScript": 12397, "HTML": 6043, "Python": 4296, "Swift": 1371, "JavaScript": 328, "Shell": 254, "CMake": 202, "CSS": 66, "Batchfile": 41}
package korlibs.io.file.std import korlibs.io.compression.deflate.Deflate import korlibs.io.compression.deflate.DeflatePortable import korlibs.io.compression.uncompressed import korlibs.io.compression.zip.ZipBuilder import korlibs.io.compression.zip.ZipEntry2 import korlibs.io.compression.zip.ZipFile import korlibs.io...
444
WebAssembly
121
2,207
dc3d2080c6b956d4c06f4bfa90a6c831dbaa983a
6,664
korge
Apache License 2.0
composeApp/src/iosMain/kotlin/MainViewController.kt
raheemadamboev
812,420,762
false
{"Kotlin": 5448, "Swift": 594}
import androidx.compose.ui.window.ComposeUIViewController import platform.UIKit.UIViewController fun MainViewController(): UIViewController = ComposeUIViewController( configure = { KoinInitializer().init() } ) { App() }
0
Kotlin
0
0
722ec0a44b281ad8b7166bd3fc5d339831620fea
240
viewmodel-compose-multiplatform
Apache License 2.0
ktoken/src/commonMain/kotlin/com/aallam/ktoken/encoding/P50KEdit.kt
aallam
700,547,449
false
{"Kotlin": 43033}
package com.aallam.ktoken.encoding import com.aallam.ktoken.Encoding import com.aallam.ktoken.EncodingConfig import com.aallam.ktoken.internal.Patterns import com.aallam.ktoken.internal.Tokens import okio.ByteString /** * Default configuration of `p50k_edit` encoding. */ public data class P50KEdit( override val...
0
Kotlin
0
5
1e84948d3ecb3f56b1717ae7961346a66da7cddd
820
ktoken
MIT License
src/commonMain/kotlin/motd/Motd.kt
Cdm2883
845,014,244
false
{"Kotlin": 12499}
package motd interface Motd { val motd: String val protocol: Int val version: String val playerOnline: Int val playerMax: Int val delay: Int companion object { const val TIME_OUT = 3000 } }
0
Kotlin
0
3
1371d97b4763d760cd2a78fbdcf91a8f9f6d918e
232
kotlin-native-motd-checker-cli
Apache License 2.0
src/main/kotlin/uk/gov/justice/digital/hmpps/arnscoordinatorapi/wiremock/WireMockProperties.kt
ministryofjustice
858,719,887
false
{"Kotlin": 94284, "Makefile": 2499, "Dockerfile": 1203}
package uk.gov.justice.digital.hmpps.arnscoordinatorapi.wiremock import org.springframework.boot.context.properties.ConfigurationProperties import org.springframework.context.annotation.Configuration import org.springframework.context.annotation.Profile @Profile("wiremock") @Configuration @ConfigurationProperties(pre...
0
Kotlin
0
0
d77ac746a2c1cee10ac5bf28a1535e7638aa02ff
524
hmpps-assess-risks-and-needs-coordinator-api
MIT License
app/src/main/java/com/abner/dialog/DialogBottomAdapter.kt
AbnerMing888
571,973,787
false
{"Kotlin": 18784}
package com.abner.dialog import android.content.Context import android.view.View import android.view.ViewGroup import androidx.databinding.DataBindingUtil import androidx.recyclerview.widget.RecyclerView import com.abner.dialog.databinding.LayoutDialogItemBottomGridBinding /** *AUTHOR:AbnerMing *DATE:2022/11/29 *I...
0
Kotlin
3
9
f0b4ddb93e29bff91a67277c1a8528168e3287ee
1,481
VipDialog
Apache License 2.0
wave-core/src/test/kotlin/com/github/dhsavell/wave/core/conversation/ConversationBuilderTest.kt
dhsavell
116,500,218
false
null
package com.github.dhsavell.wave.core.conversation import com.github.dhsavell.wave.core.conversation.builder.conversation import com.nhaarman.mockitokotlin2.doReturn import com.nhaarman.mockitokotlin2.mock import io.kotlintest.matchers.beOfType import io.kotlintest.should import io.kotlintest.shouldBe import io.kotlin...
1
Kotlin
1
1
718b8faadf44c18f8485b6d7d8cc4d0d1196e06b
2,390
wave
MIT License
m5-hw7-vafs-repo-postgresql/src/test/kotlin/RuleRepoPostgresqlTest.kt
smith1984
587,390,812
false
null
package ru.beeline.vafs.repo.posgresql import ru.beeline.vafs.common.repo.IRuleRepository import ru.beeline.vafs.repository.test.* class RepoRuleSQLCreateTest : RepoRuleCreateTest() { override val repo: IRuleRepository = SqlTestCompanion.repoUnderTestContainer( initObjects, randomUuid = { lockNew....
0
Kotlin
0
0
ba96e9998cb3cb1d40a4f083840343975bb1a329
1,002
otuskotlin
Apache License 2.0
changelog-endpoint/src/main/kotlin/jp/co/soramitsu/bootstrap/changelog/endpoint/HealthcheckEndpoint.kt
d3ledger
179,243,998
false
null
/* * Copyright Soramitsu Co., Ltd. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ package jp.co.soramitsu.bootstrap.changelog.endpoint import io.ktor.application.Application import io.ktor.application.call import io.ktor.response.respond import io.ktor.routing.get import io.ktor.routing.routing /**...
1
null
1
2
a51274e5271492d5b431edea09e8ce905d1dabd2
506
bootstrap-changelog
Apache License 2.0
modules/recursion/arrow-recursion-extensions/src/test/kotlin/arrow/recursion/FixTest.kt
Krishan14sharma
183,217,828
false
null
package arrow.recursion import arrow.recursion.data.Fix import arrow.recursion.extensions.fix.birecursive.birecursive import arrow.test.UnitSpec import arrow.test.laws.BirecursiveLaws class FixTest : UnitSpec() { init { testLaws(BirecursiveLaws.laws(Fix.birecursive())) } }
0
null
0
1
2b26976e1a8fbf29b7a3786074d56612440692a8
284
arrow
Apache License 2.0
src/main/kotlin/me/honkling/detainment/manager/types/StringType.kt
honkling
758,727,426
false
{"Kotlin": 64933, "Java": 2008}
package me.honkling.detainment.manager.types import org.bukkit.command.CommandSender object StringType : Type<String> { private val regex = Regex("^(\"([^\"]|\\\\\")*\"|\\S+)") override fun validate(sender: CommandSender, input: String): Boolean { return regex.containsMatchIn(input) } overri...
0
Kotlin
0
0
0ad2e601e0a741d0f5fb92c1a8e99159c9d116fa
862
detainment
Apache License 2.0
app/src/main/java/com/samirmaciel/yugiohapp/modules/myDeck/MyDeckViewModel.kt
samirmaciel
428,419,110
false
{"Kotlin": 30217}
package com.samirmaciel.yugiohapp.modules.myDeck import androidx.lifecycle.MutableLiveData import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.samirmaciel.yugiohapp.shared.domain.model.Card import com.samirmaciel.yugiohapp.shared.data.dataInternal.repository.CardRepositoryImpl impor...
0
Kotlin
1
8
9fdbf1466f0a8c43431e4d6182ce179e9a8c4d4f
852
Yu-Gi-Oh-App
MIT License
fluent-icons-extended/src/commonMain/kotlin/com/konyaco/fluent/icons/regular/CopySelect.kt
Konyaco
574,321,009
false
null
package com.konyaco.fluent.icons.regular 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.Regular.CopySelect: ImageVector get() { if (_copySelect != null) { ...
1
Kotlin
3
83
9e86d93bf1f9ca63a93a913c990e95f13d8ede5a
4,878
compose-fluent-ui
Apache License 2.0
src/main/kotlin/com/github/bhlangonijr/flubber/action/RestAction.kt
bhlangonijr
295,315,222
false
null
package com.github.bhlangonijr.flubber.action import com.fasterxml.jackson.databind.JsonNode import com.fasterxml.jackson.databind.ObjectMapper import com.fasterxml.jackson.module.kotlin.KotlinModule import java.net.URI import java.net.http.HttpClient import java.net.http.HttpRequest import java.net.http.HttpResponse ...
0
Kotlin
1
2
83b8ed1ed4a049de43e98726274396151792fe4a
3,257
flubber
Apache License 2.0
TableShowGrid/src/main/kotlin/example/App.kt
aterai
158,348,575
false
{"Kotlin": 4358653, "JavaScript": 241284, "Java": 14467, "HTML": 378}
package example import java.awt.* import javax.swing.* import javax.swing.plaf.ColorUIResource import javax.swing.plaf.DimensionUIResource import javax.swing.table.DefaultTableModel import javax.swing.table.TableCellEditor fun makeUI(): Component { val columnNames = arrayOf("String", "Integer", "Boolean") val dat...
0
Kotlin
6
28
433dfe2513f1016eeb1fdc0c42551623a8cfaadf
3,457
kotlin-swing-tips
MIT License
app/src/main/java/github/sachin2dehury/musicplayer/MusicPlayerApplication.kt
sachin2dehury
318,585,413
false
null
package github.sachin2dehury.musicplayer import android.app.Application import dagger.hilt.android.HiltAndroidApp @HiltAndroidApp class MusicPlayerApplication : Application()
0
Kotlin
0
1
f64ac670e0fd32e74b191ddbbcee200ce5124267
176
MusicPlayer
Apache License 2.0
beagle/src/test/kotlin/br/com/zup/beagle/android/context/GlobalContextTest.kt
ZupIT
391,144,851
false
null
/* * Copyright 2020 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA * * 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...
2
null
6
9
812a330777edd79a123495e9f678dc8f25a019f7
6,973
beagle-android
Apache License 2.0
sketch-extensions/src/androidTest/java/com/github/panpf/sketch/extensions/test/decode/ApkIconBitmapDecoderTest.kt
panpf
14,798,941
false
null
/* * Copyright (C) 2022 panpf <<EMAIL>> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
7
null
308
1,939
3a4098967b656ce1b06d21000984c68c27e39716
9,470
sketch
Apache License 2.0
src/main/kotlin/me/koddle/json/JsonArrayCollector.kt
colinchilds
210,252,919
false
{"Kotlin": 30232}
package dev.cchilds.json import io.vertx.core.json.JsonArray import java.util.* import java.util.function.BiConsumer import java.util.function.BinaryOperator import java.util.function.Function import java.util.function.Supplier import java.util.stream.Collector class JsonArrayCollector<T> : Collector<T, JsonArray, Js...
2
Kotlin
3
7
6d8bebb11be2f52f58971ebb3fb58e8442b05c81
1,018
Koddle
MIT License
app/src/main/java/com/google/samples/apps/sunflower/newsscreen/viewmodels/InfoDetailViewModel.kt
Angryestbird
267,251,847
false
null
/* * Copyright 2018 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
0
Kotlin
1
0
11c8f4ae77fb480ed4dfe92e2ccd99e18a831526
1,738
orangetv-android
Apache License 2.0
app/src/main/java/com/jeanloth/project/android/kotlin/feedme/features/command/presentation/command/CommandDetailsVM.kt
Schtroumphy
517,779,185
false
{"Kotlin": 256445}
package com.jeanloth.project.android.kotlin.feedme.features.command.presentation.command import android.util.Log import androidx.compose.runtime.mutableStateOf import androidx.lifecycle.SavedStateHandle import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.jeanloth.project.android.kot...
0
Kotlin
0
0
8a876cfca26538d22aa266bf57ceb0cd93869a54
7,458
FeedMe
Apache License 2.0
app/src/main/java/com/babakbelur/studiary/presentation/utils/ExtFunctions.kt
Babak-Belur
396,693,139
false
null
package com.babakbelur.studiary.presentation.utils import java.text.SimpleDateFormat import java.util.* fun Date.ddMMMMyFormat(): String { val outputFormat = SimpleDateFormat("dd MMMM y", Locale.getDefault()) return outputFormat.format(this) } fun Date.ddMMMMyyyyFormat(): String { val outputFormat = Simp...
0
Kotlin
0
0
cc7d86e6fd132e24478a0abafb86258c7da087eb
2,353
android-app
Apache License 2.0
sample/src/main/java/com/lush/views/dialogs/StatusFailureDialog.kt
LUSHDigital
73,694,789
false
{"Java": 43338, "Kotlin": 16922}
package com.lush.views.dialogs import android.os.Message import com.lush.dialog.BaseStatusDialog import java.util.* import kotlin.concurrent.timerTask class StatusFailureDialog: BaseStatusDialog(), android.os.Handler.Callback { override fun startTask() { val handler = android.os.Handler(this) Timer().schedule(t...
3
null
2
1
e3b55cf34c87d20d289935bc26c0daaa50aa01b1
657
android-lush-views
Apache License 2.0
app/src/main/java/id/ac/undip/ce/student/muhammadrizqi/footballclub/main/TeamDetailView.kt
muhrizky
148,885,798
false
{"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "Kotlin": 24, "Java": 1, "XML": 25}
package id.ac.undip.ce.student.muhammadrizqi.footballclub.main import id.ac.undip.ce.student.muhammadrizqi.footballclub.model.Team interface TeamDetailView { fun showLoading() fun hideLoading() fun showTeamDetail(data: List<Team>) }
1
null
1
1
ff86b9ab61befd68b567f7cdfdbaf904d82b54f2
246
FootballClub-Latihan
MIT License
app/src/main/java/org/fossasia/openevent/general/order/OrderCompletedViewModel.kt
Kapil706
162,965,477
true
{"Kotlin": 282142, "Java": 3853, "Shell": 3765}
package org.fossasia.openevent.general.order import android.arch.lifecycle.MutableLiveData import android.arch.lifecycle.ViewModel import io.reactivex.android.schedulers.AndroidSchedulers import io.reactivex.disposables.CompositeDisposable import io.reactivex.schedulers.Schedulers import org.fossasia.openevent.general...
0
Kotlin
0
1
e3bf6da900f3715759cd5a4d172ed198a4dd207d
1,346
open-event-android
Apache License 2.0
src/main/kotlin/io/github/hc1839/crul/chemistry/species/format/mol2/Mol2RecordParser.kt
hc1839
724,383,874
false
{"Kotlin": 541316}
/* * Copyright <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 w...
0
Kotlin
0
0
736b3c8377ca2f2f4a4e86fde6312e50b7ea2505
1,937
crul
Apache License 2.0
app/src/main/java/eu/pkgsoftware/babybuddywidgets/debugging/GlobalDebugObject.kt
babybuddy
453,577,707
false
null
package eu.pkgsoftware.babybuddywidgets.debugging import android.util.Log class GlobalDebugObject { companion object { @JvmStatic val ENABLED = false @JvmStatic val DO_PRINT = true @JvmStatic val LOG_FILE_MESSAGE_LIMIT = 10000 val LOCK = Object() p...
17
null
6
9
efe79aa44c54bd4332acbf186ee41fa9ea442fa8
1,000
babybuddy-for-android
MIT License
libraries/core/domain/src/main/java/com/cheise_proj/domain/usecases/user/GetProfileTask.kt
Bik-KrlvnOrg
277,364,293
false
null
package com.cheise_proj.domain.usecases.user import com.cheise_proj.domain.entities.ProfileEntity import com.cheise_proj.domain.qualifiers.Background import com.cheise_proj.domain.repository.UserRepository import com.cheise_proj.domain.rx.ObservableUseCase import com.cheise_proj.domain.rx.qualifier.Foreground import i...
2
Kotlin
0
0
de66c9f37378c8363d3a9306539a20085648b3ea
944
sms_client
MIT License
app/gps_alarm/src/main/java/com/gps_alarm/ui/util/PermissionUtils.kt
KimBoWoon
519,954,177
false
null
package com.gps_alarm.ui.util import android.Manifest import android.app.Activity import android.content.Intent import android.content.pm.PackageManager import android.net.Uri import android.provider.Settings import androidx.activity.compose.rememberLauncherForActivityResult import androidx.activity.result.contract.Ac...
0
Kotlin
0
0
754abce1449bc6f03c9782c37dba1bb864aca159
3,472
CleanArchitecture
MIT License
kafkakewl-domain/src/main/kotlin/com/mwam/kafkakewl/domain/DeploymentsExtensions.kt
MarshallWace
313,626,541
false
{"Kotlin": 72485, "Java": 9675}
/* * SPDX-FileCopyrightText: 2024 <NAME> <<EMAIL>> * * SPDX-License-Identifier: Apache-2.0 */ package com.mwam.kafkakewl.domain fun TopologyDeployments.toTopologies() = this.values.mapNotNull { it.topology }
2
Kotlin
3
9
6b078f88b077a49e40667c5077d9fed50a36edbc
214
kafkakewl
Apache License 2.0
src/main/kotlin/com/google/shinyay/GoogleCloudProfilerGsApplication.kt
shinyay
333,787,342
false
null
package com.google.shinyay import org.slf4j.Logger import org.slf4j.LoggerFactory import org.springframework.boot.autoconfigure.SpringBootApplication import org.springframework.boot.runApplication @SpringBootApplication class GoogleCloudProfilerGsApplication fun main(args: Array<String>) { runApplication<GoogleClou...
0
Kotlin
0
0
d9033a6dc908fd544be61e98ff00168abee98c8e
427
google-cloud-profiler-gs
MIT License
app/src/main/java/space/taran/arkretouch/presentation/drawing/EditManager.kt
ARK-Builders
553,609,385
false
null
package space.taran.arkretouch.presentation.drawing import androidx.compose.runtime.MutableState import androidx.compose.runtime.State import androidx.compose.runtime.mutableStateOf import androidx.compose.ui.geometry.Offset import androidx.compose.ui.graphics.BlendMode import androidx.compose.ui.graphics.Color import...
18
Kotlin
0
0
e9d6510c314045b68a4a325808146ec4be614423
4,257
ARK-Retouch
MIT License
src/main/kotlin/com/bol/dangerous/extensions/Controllers.kt
benkelaar
306,878,401
false
null
package com.bol.dangerous.extensions import org.springframework.web.bind.annotation.PostMapping import org.springframework.web.bind.annotation.RequestBody import org.springframework.web.bind.annotation.RequestMapping import org.springframework.web.bind.annotation.RestController @RestController @RequestMapping("/v1/st...
0
Kotlin
0
1
2cbc741f63356f06471a329bb6b9e9a6076c1f8a
747
dangerous-kotlin
MIT License
TeamCode/src/main/java/org/firstinspires/ftc/teamcode/controllers/Intake.kt
Superman132
239,211,214
false
null
package org.firstinspires.ftc.teamcode.controllers import org.firstinspires.ftc.teamcode.hardware.general.Motor // Holonomic Mecanum/quad-omni drive train class Intake(val motors: Array<Motor>, val speeds: Array<Double>) { enum class Mode { Forward, Backward, OFF } var currentMod...
0
Kotlin
0
1
1806b92cafaf774c944966e5c2c68557930d6432
1,018
StaticDischargeCode
MIT License
LargeDynamicProject/common/commonA/src/main/java/com/devrel/experiment/large/dynamic/feature/common/a/Foo1973.kt
skimarxall
212,285,318
false
null
package com.devrel.experiment.large.dynamic.feature.common.a annotation class Foo1973Fancy @Foo1973Fancy class Foo1973 { fun foo0(){ Foo1972().foo8() } fun foo1(){ foo0() } fun foo2(){ foo1() } fun foo3(){ foo2() } fun foo4(){ foo3() } fun foo5(){ foo4() } fun f...
1
null
1
1
e027d45a465c98c5ddbf33c68deb09a6e5975aab
403
app-bundle-samples
Apache License 2.0
coil-base/src/main/java/coil/annotation/BuilderMarker.kt
JaydipRadadiya
217,218,633
true
{"Kotlin": 347430, "IDL": 2767, "Shell": 2659}
package coil.annotation import kotlin.annotation.AnnotationRetention.SOURCE /** * Marks builder classes that are part of a DSL. * This restricts calling an outer scope if it is also marked by [DslMarker]. */ @DslMarker @Retention(SOURCE) annotation class BuilderMarker
0
null
0
1
ffc80ada47e0abff8b3a622e352d2fb3d20e8696
274
coil
Apache License 2.0
kcrud-base/src/main/kotlin/kcrud/base/env/health/checks/ApplicationCheck.kt
perracodex
682,128,013
false
{"Kotlin": 552738, "JavaScript": 17898, "CSS": 7959, "Dockerfile": 3297, "HTML": 579}
/* * Copyright (c) 2024-Present Perracodex. All rights reserved. * This work is licensed under the terms of the MIT license. * For a copy, see <https://opensource.org/licenses/MIT> */ package kcrud.base.env.health.checks import kcrud.base.env.EnvironmentType import kcrud.base.env.health.annotation.HealthCheckAPI ...
0
Kotlin
0
2
7faa3d74588e41a48ac48bb56e80bb02c48f0ba3
1,295
Kcrud
MIT License
app/src/main/java/com/fjjukic/furniture4you/ui/common/model/Order.kt
franjojosip
678,130,646
false
{"Kotlin": 435960}
package com.fjjukic.furniture4you.ui.common.model import androidx.compose.runtime.Immutable import com.fjjukic.furniture4you.ui.order.OrderStatus import java.util.UUID @Immutable data class Order( val id: String = UUID.randomUUID().toString(), val number: String, val date: String, val quantity: Int, ...
0
Kotlin
0
0
94dc87c76ce31fa260189458d4061640f696ddac
372
Furniture4You
MIT License
src/tr/adumanga/src/eu/kanade/tachiyomi/extension/tr/adumanga/AduManga.kt
komikku-app
720,497,299
false
{"Kotlin": 6409055, "JavaScript": 2160}
package eu.kanade.tachiyomi.extension.tr.adumanga import eu.kanade.tachiyomi.multisrc.mangathemesia.MangaThemesia import java.text.SimpleDateFormat import java.util.Locale class AduManga : MangaThemesia( "Adu Manga", "https://www.mangacim.com", "tr", dateFormat = SimpleDateFormat("MMMM d, yyy", Locale...
8
Kotlin
2
19
88bafd3e5fb05cd4690fc46e4a7d624a2595e7f3
331
komikku-extensions
Apache License 2.0
src/tr/adumanga/src/eu/kanade/tachiyomi/extension/tr/adumanga/AduManga.kt
komikku-app
720,497,299
false
{"Kotlin": 6409055, "JavaScript": 2160}
package eu.kanade.tachiyomi.extension.tr.adumanga import eu.kanade.tachiyomi.multisrc.mangathemesia.MangaThemesia import java.text.SimpleDateFormat import java.util.Locale class AduManga : MangaThemesia( "Adu Manga", "https://www.mangacim.com", "tr", dateFormat = SimpleDateFormat("MMMM d, yyy", Locale...
8
Kotlin
2
19
88bafd3e5fb05cd4690fc46e4a7d624a2595e7f3
331
komikku-extensions
Apache License 2.0
app/src/main/java/ru/glindaqu/ejournal/MainActivity.kt
glindaqu
789,473,966
false
{"Kotlin": 29517}
package ru.glindaqu.ejournal import android.annotation.SuppressLint import android.os.Bundle import androidx.activity.ComponentActivity import androidx.activity.compose.setContent import androidx.activity.enableEdgeToEdge import androidx.compose.ui.unit.dp import androidx.compose.foundation.layout.fillMaxSize import a...
0
Kotlin
0
0
f30598d19240b548779c043f45a0efecf6a9d86a
1,560
EJournal
MIT License
src/main/kotlin/dev/kazusato/exeptionhandlingexample/domain/model/BookCategory.kt
kazusato
305,538,955
false
null
package dev.kazusato.exeptionhandlingexample.domain.model import java.lang.IllegalArgumentException enum class BookCategory { COMPUTER, TRAVEL, SPORTS, ALL; companion object { fun fromString(categoryString: String?): BookCategory { return if (categoryString == null) { BookCategory.ALL } else { B...
0
Kotlin
0
0
a58012ed0a94b7b39a13c404f5ec2f4c61602bae
369
exception-handling-example
Apache License 2.0