path
stringlengths
4
280
owner
stringlengths
2
39
repo_id
int64
21.1k
879M
is_fork
bool
2 classes
languages_distribution
stringlengths
13
1.95k
content
stringlengths
7
482k
issues
int64
0
13.9k
main_language
stringclasses
121 values
forks
stringlengths
1
5
stars
int64
0
111k
commit_sha
stringlengths
40
40
size
int64
7
482k
name
stringlengths
1
100
license
stringclasses
93 values
core/design/src/main/kotlin/tmidev/apirequest/core/design/theme/Shapes.kt
tminet
460,450,877
false
null
package tmidev.apirequest.core.design.theme import androidx.compose.foundation.shape.RoundedCornerShape import androidx.compose.material3.Shapes import androidx.compose.ui.unit.dp internal val Shapes = Shapes( extraSmall = RoundedCornerShape(size = 2.dp), small = RoundedCornerShape(size = 4.dp), medium = ...
0
Kotlin
4
3
2c11174d54f351e4f9e3c612d56cce5693bb5b39
450
API-Request
MIT License
mikro-extensions/src/appleMain/kotlin/ru/astrainteractive/klibs/mikro/extensions/AppleTimeFormatter.kt
makeevrserg
669,091,517
false
{"Kotlin": 27193}
package ru.astrainteractive.klibs.mikro.extensions import kotlinx.datetime.Instant import kotlinx.datetime.TimeZone import kotlinx.datetime.toNSDate import kotlinx.datetime.toNSTimeZone import platform.Foundation.NSDateFormatter import platform.Foundation.NSLocale import platform.Foundation.currentLocale /** * Multi...
0
Kotlin
0
1
8f4189461fe99990a8afc1fc9bdeecb7f2b70700
862
klibs.mikro
Apache License 2.0
data-dashboard-backend/src/main/java/org/radarbase/datadashboard/api/domain/model/Variable.kt
RADAR-base
790,680,509
false
{"Kotlin": 28147, "Dockerfile": 1642}
/* * * * Copyright 2024 The Hyve * * * * 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 ...
0
Kotlin
0
0
9be6a1ede7d7851dd42a731df75b3855bd693dbb
2,045
radar-data-dashboard-backend
Apache License 2.0
app/src/main/java/sh/xsl/reedisland/data/local/dao/CommentDao.kt
xslingcn
500,378,553
false
{"Kotlin": 786534, "HTML": 16531}
/* * Copyright 2020 Fishballzzz * * * * 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...
2
Kotlin
2
5
a950d1b58dfcf3153d6cf407daae1696cc8ecbc6
2,961
ReedIsland
Apache License 2.0
day01/src/main/kotlin/com/shifteleven/adventofcode2023/day01/App.kt
pope
733,715,471
false
{"Kotlin": 3950, "Nix": 1630}
package com.shifteleven.adventofcode2023.day01 import kotlin.math.min fun main() { part1() part2() } fun part1() { val lines = object {}.javaClass.getResourceAsStream("/input.txt")!!.bufferedReader().readLines() val sum = lines .stream() .mapToInt({ line -> var tens: Int? = null var ones = 0 ...
0
Kotlin
0
0
cb2862a657d307b5ecd74ebb9c167548b67ba6fc
1,940
advent-of-code-2023-kotlin
The Unlicense
font-awesome/src/commonMain/kotlin/compose/icons/fontawesomeicons/solid/FirstAid.kt
DevSrSouza
311,134,756
false
{"Kotlin": 36719092}
package compose.icons.fontawesomeicons.solid import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap.Companion.Butt import androidx.compose.ui.graphics.StrokeJoin.Companion....
17
Kotlin
25
571
a660e5f3033e3222e3553f5a6e888b7054aed8cd
3,421
compose-icons
MIT License
lib/accounts/src/jvmTest/kotlin/zakadabar/lib/accounts/business/KtorSessionBlTest.kt
spxbhuhb
290,390,793
false
null
/* * Copyright © 2020-2021, Simplexion, Hungary and contributors. Use of this source code is governed by the Apache 2.0 license. */ package zakadabar.lib.accounts.business import kotlinx.coroutines.runBlocking import org.junit.AfterClass import org.junit.BeforeClass import org.junit.Test import zakadabar.lib.account...
12
Kotlin
3
24
2e0d94b6a77f79566c6cf0d0cff17b3ba6a9c6a1
1,383
zakadabar-stack
Apache License 2.0
app/src/main/java/lac/example/app/AppFirebaseRemoteConfig.kt
bandysik
143,031,693
false
null
package lac.example.app import com.google.firebase.remoteconfig.FirebaseRemoteConfig import lac.plugin.remoteconfig.RemoteConfig class AppFirebaseRemoteConfig : RemoteConfig { private val mFirebaseRemoteConfig = FirebaseRemoteConfig.getInstance() override fun fetch(onLoaded: () -> Unit) { // cacheExpirationS...
0
Kotlin
0
1
c2e0478c93eb5eaf7ec1632d2257427a9174443e
1,114
LAC
Apache License 2.0
modules/kilua-bootstrap/src/commonMain/kotlin/dev/kilua/toast/Toast.kt
rjaros
706,876,956
false
null
/* * Copyright (c) 2023 <NAME> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, dis...
0
null
2
97
524a35c898fe84fa1773b53bf97e701cdc00155b
6,960
kilua
MIT License
compose-tools/src/main/java/com/google/android/horologist/compose/tools/SnapshotInABox.kt
google
451,563,714
false
null
/* * Copyright 2022 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
66
Kotlin
45
342
d24a514f92b658f99259004e46524de6b80c2795
1,723
horologist
Apache License 2.0
src/main/kotlin/jp/assasans/protanki/server/extensions/CoroutineContext.kt
Assasans
452,391,158
false
{"Kotlin": 418747}
package jp.assasans.protanki.server.extensions import kotlin.coroutines.CoroutineContext import kotlin.coroutines.EmptyCoroutineContext import kotlin.time.Duration import kotlinx.coroutines.* fun CoroutineScope.launchDelayed( delay: Duration, context: CoroutineContext = EmptyCoroutineContext, start: CoroutineSt...
5
Kotlin
18
32
6ef00ad8cf2f480f61f36e890df985b3b3dd1a64
491
protanki-server
MIT License
maestro-orchestra/src/test/java/maestro/orchestra/android/AndroidMediaStoreTest.kt
mobile-dev-inc
476,427,476
false
{"Kotlin": 1025452, "TypeScript": 199278, "Swift": 61726, "JavaScript": 16304, "Shell": 14163, "CSS": 2349, "Smarty": 904, "HTML": 358}
package maestro.orchestra.android import com.google.common.truth.Truth.assertThat import dadb.Dadb import maestro.Maestro import maestro.drivers.AndroidDriver import maestro.orchestra.Orchestra import maestro.orchestra.yaml.YamlCommandReader import org.junit.jupiter.api.Disabled import org.junit.jupiter.api.Test impor...
374
Kotlin
273
5,808
e957c5ef248afe672c2ba0bda3c555880a3dc990
2,687
maestro
Apache License 2.0
fluent-icons-extended/src/commonMain/kotlin/com/konyaco/fluent/icons/regular/ArrowCircleDownSplit.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.ArrowCircleDownSplit: ImageVector get() { if (_arrowCircleD...
1
Kotlin
3
83
9e86d93bf1f9ca63a93a913c990e95f13d8ede5a
3,200
compose-fluent-ui
Apache License 2.0
Controls/src/main/java/com/android/systemui/controls/management/ControlsRequestDialog.kt
KieronQuinn
410,362,831
false
{"Kotlin": 810491, "Java": 281044, "AIDL": 22512}
/* * Copyright (C) 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 app...
8
Kotlin
23
693
e17f14a85f85d4eefabaf847abfadd1af32291c1
6,859
ClassicPowerMenu
Apache License 2.0
Controls/src/main/java/com/android/systemui/controls/management/ControlsRequestDialog.kt
KieronQuinn
410,362,831
false
{"Kotlin": 810491, "Java": 281044, "AIDL": 22512}
/* * Copyright (C) 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 app...
8
Kotlin
23
693
e17f14a85f85d4eefabaf847abfadd1af32291c1
6,859
ClassicPowerMenu
Apache License 2.0
src/main/kotlin/org/ghrobotics/lib/mathematics/units/SIValue.kt
rbrott
167,865,898
true
{"Kotlin": 175644}
package org.ghrobotics.lib.mathematics.units import org.ghrobotics.lib.mathematics.kEpsilon import org.ghrobotics.lib.mathematics.lerp import org.ghrobotics.lib.mathematics.max import org.ghrobotics.lib.mathematics.min import kotlin.math.absoluteValue operator fun <T : SIValue<T>> Number.times(other: T) = other * thi...
0
Kotlin
0
2
28cd20018e0e8d47a12995578383cb591d98de8c
1,513
FalconLibrary
MIT License
app/src/main/java/eu/kanade/tachiyomi/ui/setting/track/AnilistLoginActivity.kt
WorldHeaven777
329,142,416
false
null
package eu.kanade.tachiyomi.ui.setting.track import android.content.Intent import android.os.Bundle import android.view.Gravity.CENTER import android.view.ViewGroup.LayoutParams.WRAP_CONTENT import android.widget.FrameLayout import android.widget.ProgressBar import androidx.appcompat.app.AppCompatActivity import eu.ka...
0
Kotlin
0
2
7ef9dcbc12905f66966a7c561809f469b9c3d9db
1,782
MangaDesu
Apache License 2.0
app/src/main/java/tech/sonle/barcodescanner/extension/Boolean.kt
sonlenef
492,779,126
false
{"Kotlin": 364958, "Java": 17337}
package tech.sonle.barcodescanner.extension fun Boolean?.orFalse(): Boolean { return this ?: false }
0
Kotlin
0
0
f624f51868cfd42c71dc2f615d1f1116785776ef
105
QrAndBarcodeScanner
The Unlicense
frogocovid19api/src/main/java/com/frogobox/frogocovid19api/data/source/Covid19Repository.kt
amirisback
247,946,214
false
null
package com.frogobox.frogocovid19api.data.source import android.content.Context import com.frogobox.frogocovid19api.data.model.Country import com.frogobox.frogocovid19api.data.model.Route import com.frogobox.frogocovid19api.data.model.Status import com.frogobox.frogocovid19api.data.reponse.ReponseSummary /** * Creat...
0
Kotlin
1
9
60c03d42a517ba3d1cd5630aa47c12bb4a629cf6
2,594
consumable-code-covid-19-api
Apache License 2.0
src/commonMain/kotlin/com/soywiz/ktcc/preprocessor/Preprocessor.kt
korlibs
165,555,533
false
null
package com.soywiz.ktcc.preprocessor import com.soywiz.ktcc.parser.* import com.soywiz.ktcc.tokenizer.* import com.soywiz.ktcc.util.* import kotlin.math.* // https://gcc.gnu.org/onlinedocs/cpp/index.html#SEC_Contents data class PToken(var str: String = "<EOF>", val range: IntRange = 0 until 0, val file: String, val ...
1
Kotlin
5
63
f3d1cace49f6a74e3aad71a2cdcc22b877d3c783
23,797
ktcc
MIT License
app/src/main/java/com/github/deianvn/my/vignette/dto/VignetteResponseStatus.kt
deianvn
622,232,452
false
null
package com.github.deianvn.my.vignette.dto import com.squareup.moshi.JsonClass @JsonClass(generateAdapter = true) data class VignetteResponseStatus( val code: Int, val message: String )
0
Kotlin
0
0
8b373fb4f5060caf1801fd9dd5c69b80c9cf127b
196
my-vignette
MIT License
android/example/src/main/java/com/jd/hybrid/example/SysWebFragment.kt
JDFED
561,670,655
false
null
/* * MIT License * * Copyright (c) 2022 JD.com, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, mod...
0
HTML
9
89
81f3a37f1caf33f4196e140604aa91c4c92663a2
2,330
JDHybrid
MIT License
common/domain/src/main/kotlin/no/nav/mulighetsrommet/domain/dto/DeltakerRegistreringInnholdDto.kt
navikt
435,813,834
false
{"Kotlin": 1538935, "TypeScript": 1377841, "SCSS": 41073, "JavaScript": 27458, "PLpgSQL": 14591, "HTML": 2263, "Dockerfile": 1339, "CSS": 1145, "Shell": 396}
package no.nav.mulighetsrommet.domain.dto import kotlinx.serialization.Serializable @Serializable data class DeltakerRegistreringInnholdDto( val innholdselementer: List<Innholdselement>, val ledetekst: String, ) @Serializable data class Innholdselement( val tekst: String, val innholdskode: String, )
3
Kotlin
2
7
7e78d4ff84a479ec7277396b9caa070c8f375c5e
320
mulighetsrommet
MIT License
app/src/main/java/com/bhoopathi/sony/repository/AppRepository.kt
bhoopathik
417,763,206
false
null
package com.bhoopathi.sony.repository import com.bhoopathi.sony.model.LanguageDictionary import com.bhoopathi.sony.network.RetrofitInstance import retrofit2.Response // This is Common Repository for All APIs class AppRepository { suspend fun getLocalization() = RetrofitInstance.localizationApi.getLocalization() ...
0
Kotlin
0
0
9fcb67d90501c388f7de836ad30b1404a2918263
472
SonyLocalization
Apache License 2.0
app/src/main/java/eu/kanade/tachiyomi/ui/catalogue/global_search/CatalogueSearchItem.kt
lineCode
108,694,560
true
{"Kotlin": 1166091, "Java": 149940, "Shell": 1127}
package eu.kanade.tachiyomi.ui.catalogue.global_search import android.view.LayoutInflater import android.view.ViewGroup import eu.davidea.flexibleadapter.FlexibleAdapter import eu.davidea.flexibleadapter.items.AbstractFlexibleItem import eu.kanade.tachiyomi.R import eu.kanade.tachiyomi.source.CatalogueSource import eu...
0
Kotlin
0
0
4ae00c80ca3256334c689fe28835ea1e0df75159
1,859
tachiyomi
Apache License 2.0
app/src/production/java/com/heirko/prim/environment/EnvironmentModule.kt
heralight
72,844,582
false
{"Gradle": 3, "Java Properties": 3, "Shell": 1, "JSON": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "XML": 8, "Proguard": 1, "Kotlin": 39, "Java": 3}
package com.heirko.prim.environment; import com.heirko.prim.network.OkHttpInterceptors import com.heirko.prim.network.OkHttpNetworkInterceptors import com.heirko.prim.di.ForApplication import com.heirko.prim.BuildConfig import com.heirko.prim.application.App import com.mixpanel.android.mpmetrics.MixpanelAPI import an...
0
Kotlin
0
1
30419e37f670e3c35c4c8b0db1a7f9ad7eae63d4
2,470
primhipster
Apache License 2.0
core/preferences/src/jvmMain/kotlin/dev/avatsav/linkding/prefs/inject/PreferencesPlatformComponent.kt
avatsav
576,855,763
false
{"Kotlin": 266585, "Swift": 1604}
package dev.avatsav.linkding.prefs.inject import com.russhwolf.settings.ObservableSettings import com.russhwolf.settings.PreferencesSettings import dev.avatsav.linkding.inject.AppScope import me.tatarka.inject.annotations.Provides import java.util.prefs.Preferences actual interface PreferencesPlatformComponent { ...
3
Kotlin
0
9
0806e8910795bc86be9832cb2a7935fd79a0bff0
445
linkding-apps
MIT License
core/src/ru/deadsoftware/cavedroid/game/ui/windows/inventory/SurvivalInventoryWindow.kt
fredboy
196,049,035
false
{"Kotlin": 263467, "Java": 128621, "Shell": 2648}
package ru.deadsoftware.cavedroid.game.ui.windows.inventory import ru.deadsoftware.cavedroid.game.GameItemsHolder import ru.deadsoftware.cavedroid.game.GameUiWindow import ru.deadsoftware.cavedroid.game.model.item.InventoryItem class SurvivalInventoryWindow( gameItemsHolder: GameItemsHolder ) : AbstractInventoryW...
0
Kotlin
1
6
1e285247085ba04351feb486a0be6aa577f43093
470
cavedroid
MIT License
barnetrygd/src/main/kotlin/no/nav/familie/kontrakter/ba/søknad/VersjonertBarnetrygdSøknad.kt
navikt
206,793,193
false
{"Kotlin": 335702}
package no.nav.familie.kontrakter.ba.søknad import com.fasterxml.jackson.core.JsonParser import com.fasterxml.jackson.databind.DeserializationContext import com.fasterxml.jackson.databind.JsonDeserializer import com.fasterxml.jackson.databind.JsonNode import com.fasterxml.jackson.databind.annotation.JsonDeserialize im...
6
Kotlin
0
2
fcf1202931026a66f92c8b0e8601845e389375f0
2,938
familie-kontrakter
MIT License
solutions/aockt/y2022/Y2022D01.kt
Jadarma
624,153,848
false
{"Kotlin": 435276}
package aockt.y2022 import io.github.jadarma.aockt.core.Solution object Y2022D01 : Solution { /** Parse the input and return a list containing the total calories of each elf at a given index. */ private fun parseInput(input: String): List<Int> = buildList { var index = 0 var calories = 0 ...
0
Kotlin
0
3
ce4accde57c46b804bac0b49826960c35998a7d4
773
advent-of-code-kotlin-solutions
The Unlicense
app/main/app/meldeplikt/MeldepliktRepo.kt
navikt
462,279,483
false
null
package app.meldeplikt import app.Dao import app.exposed.SqlTraceLogger import org.jetbrains.exposed.sql.Expression import org.jetbrains.exposed.sql.ResultRow import org.jetbrains.exposed.sql.SortOrder import org.jetbrains.exposed.sql.SqlExpressionBuilder.eq import org.jetbrains.exposed.sql.addLogger import org.jetbra...
4
Kotlin
0
1
3b96a6fda880b9f3666900f271ec092f15db186b
2,060
aap-sink
MIT License
src/day3/Day03.kt
blundell
572,916,256
false
{"Kotlin": 38491}
package day3 import readInput fun main() { /** * https://theasciicode.com.ar/ */ fun Char.toElfIndex() = if (isLowerCase()) { (code - 96) } else { (code - 38) } /** * Lowercase item types a through z have priorities 1 through 26. * Uppercase item types A throu...
0
Kotlin
0
0
f41982912e3eb10b270061db1f7fe3dcc1931902
1,847
kotlin-advent-of-code-2022
Apache License 2.0
input/core/src/commonMain/kotlin/symphony/Form.kt
aSoft-Ltd
632,021,007
false
{"Kotlin": 229884, "HTML": 296, "JavaScript": 200}
@file:JsExport @file:Suppress("NON_EXPORTABLE_TYPE", "UNCHECKED_CAST") package symphony import cinematic.Live import koncurrent.Later import symphony.properties.Clearable import symphony.properties.Hideable import symphony.properties.Resetable import kotlinx.JsExport interface Form<out R, out O : Any, out F : Fields...
0
Kotlin
0
0
c0dacd0844d942b9418934965b54c88fa6284dd7
502
symphony
MIT License
src/main/kotlin/yandex/cloud/toolkit/util/ActionsBundle.kt
yandex-cloud
386,235,739
false
{"Kotlin": 506192, "HTML": 1351}
package yandex.cloud.toolkit.util import com.intellij.openapi.actionSystem.AnAction interface ActionsBundle { fun getActions(actions: MutableList<AnAction>) {} } fun ActionsBundle.getActions(): MutableList<AnAction> { return mutableListOf<AnAction>().also { this.getActions(it) } } class StaticActionsBundle...
11
Kotlin
4
65
2f8eaa54aad978e5ab452e5d05ba573f68b72943
1,202
ide-plugin-jetbrains
MIT License
hangman-service/src/test/kotlin/dulcinea/hangman/WordTest.kt
wpitt3
167,178,716
false
null
package dulcinea.hangman import org.junit.Test import org.assertj.core.api.Assertions.assertThat as assertThat class WordTest { @Test fun `word is set`() { assertThat(Word("ADJURE").word).isEqualTo("ADJURE") assertThat(Word("Adjoin").word).isEqualTo("ADJOIN") } @Test fun `unique ...
2
Kotlin
0
0
2332521547d4fafcbca282c8431eb739efb85abe
1,916
hangman
Apache License 2.0
src/main/kotlin/com/catcher/base/data/dto/ProjectDTO.kt
kbelova
205,001,599
true
{"Kotlin": 125166, "CSS": 68535, "TypeScript": 35297, "HTML": 19638, "JavaScript": 1828, "TSQL": 399}
package com.catcher.base.data.dto import com.catcher.base.data.dao.Project import javax.validation.constraints.NotEmpty import javax.validation.constraints.NotNull data class ProjectDTO(val projectId: Int?, @NotEmpty @NotNull val name: String, val remo...
0
Kotlin
0
0
52a64b6f611598f4c8a1de151936d81a8734743a
774
catcher_base
Apache License 2.0
src/main/kotlin/cn/yycampus/plc/view/ui/panel/NavigationPanel.kt
123enjoy
760,280,109
false
{"Kotlin": 53188, "Java": 44821}
package cn.yycampus.plc.view.ui.panel import cn.hutool.core.util.ReflectUtil import cn.yycampus.plc.core.enity.PLCEntity import cn.yycampus.plc.core.enity.PLCGroupEntity import cn.yycampus.plc.core.enity.PLCPointEntity import cn.yycampus.plc.view.enums.PopupMenuEnum import cn.yycampus.plc.view.ui.dialog.NewPointKtDial...
0
Kotlin
0
0
b2128cb5e920ccfa266823eff769948bbc5a5346
3,495
plc-view
Apache License 2.0
lib/src/main/java/com/shencoder/mvvmkit/http/bean/BaseResponse.kt
shenbengit
379,882,523
false
null
package com.shencoder.mvvmkit.http.bean /** * * @author ShenBen * @date 2020/10/26 11:53 * @email <EMAIL> */ abstract class BaseResponse<T> { /** * 是否成功 */ abstract fun isSuccess(): Boolean /** * 返回状态码 */ abstract fun getResponseCode(): Int /** * 返回说明 */ ...
0
Kotlin
4
9
67fa68e69912235ff67d9f8c51303b39e61bd9cb
428
MVVMKit
MIT License
presentation/src/main/java/com/pp/jetweatherfy/presentation/forecast/components/surface/ForecastSurface.kt
pauloaapereira
348,738,402
false
null
/* * Copyright 2021 Paulo Pereira * * 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 ...
0
Kotlin
18
155
fcf55a107586de46a081d8e692c0f3722f4bc3d8
1,967
AndroidDevChallenge_Week4_JetWeatherfy
Apache License 2.0
source-code/final-project/app/src/main/java/com/droidcon/graphqlmaster/presentation/subscription/CollegeSubscriptionScreenVM.kt
droidcon-academy
788,308,556
false
{"Kotlin": 101794, "Python": 10111, "Dockerfile": 1172, "Procfile": 60}
package com.droidcon.graphqlmaster.presentation.subscription import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.droidcon.graphqlmaster.domain.model.CollegeEntity import com.droidcon.graphqlmaster.domain.usecase.GetFragmentStudentByCollegeIdUseCase import com.droidcon.graphqlmaster....
0
Kotlin
0
0
21073bc3e237bf37ba79df0ed4d10b6d00e0658d
1,927
android-mc-graphql
Apache License 2.0
photos_domain/src/main/java/com/nowjordanhappy/photos_domain/use_case/SearchPhotos.kt
nowjordanhappy
631,133,237
false
{"Kotlin": 98399}
package com.nowjordanhappy.photos_domain.use_case import com.nowjordanhappy.core_ui.domain.ProgressBarState import com.nowjordanhappy.core_ui.domain.UIComponent import com.nowjordanhappy.photos_domain.data.DataState import com.nowjordanhappy.photos_domain.model.Photo import com.nowjordanhappy.photos_domain.repository....
0
Kotlin
0
1
8c8d7d412d8464ba49b238988a085c41020a5a19
1,658
AndroidTvDemoPlus
The Unlicense
src/main/kotlin/com/deflatedpickle/undulation/functions/ColourButton.kt
DeflatedPickle
286,105,109
false
null
package com.deflatedpickle.undulation.functions import com.deflatedpickle.undulation.widget.ColourButton import java.awt.Color fun ColourButton(colour: Color, tooltip: String? = null, function: (ColourButton) -> Unit) = ColourButton(colour).apply { toolTipText = tooltip addActionListener { ...
0
Kotlin
0
0
ea485d3d5a1f52498d027464f710b9841f8b7230
355
undulation
MIT License
app/src/main/java/com/movicom/informativeapplicationcovid19/models/Country.kt
SebastianRV26
289,597,953
false
null
package com.movicom.informativeapplicationcovid19.models /** * País. */ data class Country( val Country: String, val ISO2: String, val Slug: String )
0
Kotlin
0
1
bf3bc1dfc9bdb3cb71a503f81a0cb778240283a2
164
Info-COVID-App
MIT License
src/main/kotlin/com/simple/jenkins/firebase/GcloudSdkLocator.kt
SimpleFinance
97,263,845
false
null
package com.simple.jenkins.firebase import com.cloudbees.jenkins.plugins.gcloudsdk.GCloudInstallation import hudson.EnvVars import hudson.model.Node import hudson.model.TaskListener import hudson.tools.ToolInstallation import hudson.util.LogTaskListener import jenkins.model.Jenkins import java.util.logging.Level impor...
2
Kotlin
2
7
aa7996c665640bec95e16aa7a7f6977c36522229
1,753
jenkins-firebase-test-plugin
Apache License 2.0
src/main/kotlin/com/simple/jenkins/firebase/GcloudSdkLocator.kt
SimpleFinance
97,263,845
false
null
package com.simple.jenkins.firebase import com.cloudbees.jenkins.plugins.gcloudsdk.GCloudInstallation import hudson.EnvVars import hudson.model.Node import hudson.model.TaskListener import hudson.tools.ToolInstallation import hudson.util.LogTaskListener import jenkins.model.Jenkins import java.util.logging.Level impor...
2
Kotlin
2
7
aa7996c665640bec95e16aa7a7f6977c36522229
1,753
jenkins-firebase-test-plugin
Apache License 2.0
composeApp/src/commonMain/kotlin/com/monkopedia/notiwhere/injection/MqttModule.kt
Monkopedia
846,301,378
false
{"Kotlin": 9924, "HTML": 335, "CSS": 102}
package com.monkopedia.notiwhere.injection import com.monkopedia.notiwhere.model.DatastoreModule import com.monkopedia.notiwhere.interfaces.AppContext import com.monkopedia.notiwhere.interfaces.MqttController expect class MqttModule(appContext: AppContext, datastoreModule: DatastoreModule) { val mqttController: M...
0
Kotlin
0
0
99e3c32f933b578681b20ccebcc46ee716fac758
336
notiwhere
Apache License 2.0
implementation/src/main/kotlin/io/github/tomplum/aoc/map/tree/TreePatch.kt
TomPlum
572,260,182
false
null
package io.github.tomplum.aoc.map.tree import io.github.tomplum.libs.math.map.MapTile class TreePatch(val height: Int) : MapTile<Int>(height)
0
Kotlin
0
0
703db17fe02a24d809cc50f23a542d9a74f855fb
143
advent-of-code-2022
Apache License 2.0
app/src/main/java/com/lostincontext/utils/Animations.kt
LostInContext
65,417,953
false
null
package com.lostincontext.utils import android.support.v4.view.animation.FastOutLinearInInterpolator import android.support.v4.view.animation.LinearOutSlowInInterpolator val FAST_OUT_LINEAR_IN_INTERPOLATOR = FastOutLinearInInterpolator() val LINEAR_OUT_SLOW_IN_INTERPOLATOR = LinearOutSlowInInterpolator()
1
Kotlin
5
46
0a2650852fb8bc56cb71c158fc1724f69cdbb640
309
LostContext-App
Beerware License
feature-favouritevehicles/src/main/java/io/agapps/feature/favouritevehicles/FavouriteVehicleViewState.kt
AlexMGreen
484,774,505
false
null
package io.agapps.feature.favouritevehicles import io.agapps.core.model.Vehicle sealed interface FavouriteVehicleViewState { data class FavouriteVehicle( val favouriteVehicles: List<Vehicle> ) : FavouriteVehicleViewState object Empty : FavouriteVehicleViewState }
0
Kotlin
0
0
fc190a765d904f9ff18f0720ba9b7398edc6d29b
288
mot-checker
Apache License 2.0
app/src/main/java/com/breezefieldsalesbaishalii/features/weather/api/WeatherRepo.kt
DebashisINT
764,495,414
false
{"Kotlin": 16305966, "Java": 1023113}
package com.breezefieldsalesbaishalii.features.weather.api import com.breezefieldsalesbaishalii.base.BaseResponse import com.breezefieldsalesbaishalii.features.task.api.TaskApi import com.breezefieldsalesbaishalii.features.task.model.AddTaskInputModel import com.breezefieldsalesbaishalii.features.weather.model.ForeCas...
0
Kotlin
0
0
1706fa9ae7d427280d4c6c04955a081f9fd99ec7
760
BaishaliiTanksFSM
Apache License 2.0
app/src/main/java/com/gmail/shtukarrv/dogbreedsapp/data/local/DogBreedsDao.kt
shtukar
348,483,748
false
null
package com.gmail.shtukarrv.dogbreedsapp.data.local import androidx.room.Dao import androidx.room.Insert import androidx.room.OnConflictStrategy import androidx.room.Query import com.gmail.shtukarrv.dogbreedsapp.domain.entity.DogBreed import kotlinx.coroutines.flow.Flow @Dao interface DogBreedsDao { @Insert(onCon...
0
Kotlin
0
0
9d97166df0cc611144fb544fbdc0f74484191572
670
Dog-Breeds-App
Apache License 2.0
GeneralLedger/app/src/main/java/com/ideahamster/generalledger/data/util/DateUtil.kt
sridharnalam
613,153,998
false
null
package com.ideahamster.generalledger.data.util import android.text.TextUtils import android.util.Log import java.text.ParseException import java.text.SimpleDateFormat import java.util.* class DateUtil { companion object { private const val TAG = "DateUtil" private val sourceDateFormat = SimpleDat...
0
Kotlin
0
0
f0977938f94975252ee71289309570efb54ab86b
1,544
GeneralLedger
Apache License 2.0
dbml/src/main/kotlin/com/zynger/floorplan/dbml/Project.kt
julioz
252,514,550
false
null
package com.zynger.floorplan.dbml data class Project( val tables: List<Table>, val references: List<Reference> )
5
Kotlin
6
178
7ee20354c5b0a7fe19685db296057c277f755a02
122
FloorPlan
Apache License 2.0
app/src/main/java/com/example/ussenators/domain/mapJson.kt
mal7othify
348,827,688
false
null
package com.example.ussenators.domain import android.content.Context import java.io.IOException import java.io.InputStream import java.nio.charset.Charset fun mapJson(context: Context): String? { var inputStream: InputStream? = null val jsonString: String val charset: Charset = Charsets.UTF_8 try { ...
0
Kotlin
1
3
407f1fdb6bba30a945b1b7dff1719b9c7bd9b9d4
693
us-senators
Apache License 2.0
backend.native/tests/codegen/function/defaultsFromFakeOverride.kt
mano7onam
122,908,795
true
{"Kotlin": 4630329, "C++": 803727, "Groovy": 137600, "C": 119742, "Objective-C++": 66838, "Swift": 29084, "JavaScript": 19411, "Shell": 11621, "Batchfile": 7004, "Python": 4775, "Objective-C": 3532, "Pascal": 1698, "Java": 782, "HTML": 185}
package codegen.function.defaultsFromFakeOverride import kotlin.test.* interface I<T> { fun f(x: String = "42"): String } open class A<T> { open fun f(x: String) = x } class B : A<String>(), I<String> @Test fun runTest() { val b = B() println(b.f()) }
0
Kotlin
0
12
d5169f2370a6b20ae91fc31999fe5ebefcb4344d
272
kotlin-native
Apache License 2.0
src/nativeMain/kotlin/OptimizationLevel.kt
aripiprazole
370,489,230
false
{"Kotlin": 297789}
/* * Copyright 2022 Plank * * 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 o...
0
Kotlin
0
3
110e1b467a5ba322954b95b7a9374ca1e052f3a8
1,332
llvm4k
Apache License 2.0
src/main/kotlin/com/badger/familyorgbe/service/tasks/TaskNotificationsCheckerUtil.kt
Artem-Yakovlev
445,531,524
false
{"Kotlin": 109555}
package com.badger.familyorgbe.service.tasks import com.badger.familyorgbe.repository.tasks.IFamilyTaskRepository import com.badger.familyorgbe.service.fcm.FirebaseMessagingService import com.badger.familyorgbe.service.users.UserService import com.badger.familyorgbe.utils.converters.convertToEmailList import kotlinx.c...
0
Kotlin
0
1
131e3e8841d55a9a14995aa6b254976c89d2c336
1,891
FamilyOrganizerBackend
MIT License
src/en/silentsky/src/eu/kanade/tachiyomi/extension/en/silentsky/SilentSky.kt
komikku-app
720,497,299
false
{"Kotlin": 6775539, "JavaScript": 2160}
package eu.kanade.tachiyomi.extension.en.silentsky import eu.kanade.tachiyomi.multisrc.foolslide.FoolSlide class SilentSky : FoolSlide("Silent Sky", "https://reader.silentsky-scans.net", "en")
22
Kotlin
8
97
7fc1d11ee314376fe0daa87755a7590a03bc11c0
195
komikku-extensions
Apache License 2.0
storage-service/src/main/kotlin/com/icerockdev/service/storage/s3/policy/dto/Resource.kt
icerockdev
289,230,738
false
{"Kotlin": 59658}
package com.icerockdev.service.storage.s3.policy.dto import com.fasterxml.jackson.annotation.JsonInclude import com.fasterxml.jackson.annotation.JsonProperty @JsonInclude(JsonInclude.Include.NON_EMPTY) class Resource( @JsonProperty("Bucket") val bucket: String?, @JsonProperty("DetailRoute") val detail...
0
Kotlin
1
4
c9d1ca3337037674cb215d274b39fbfa8f7675d8
338
storage-service
Apache License 2.0
data/src/test/java/com/jpventura/data/di/DataModule.kt
jpventura
258,794,947
false
null
package com.jpventura.data.di import com.google.gson.Gson import io.reactivex.schedulers.TestScheduler import okhttp3.OkHttpClient import org.kodein.di.Kodein import org.kodein.di.generic.bind import org.kodein.di.generic.instance import org.kodein.di.generic.singleton import retrofit2.converter.gson.GsonConverterFact...
0
Kotlin
0
0
9e90ccfc3492c06d8766d5197c4a06959eec2977
698
nd009t
Apache License 2.0
app/src/main/java/net/junki_t/sekigae/MainActivity.kt
junt1458
214,852,403
false
null
package net.junki_t.sekigae import android.content.Intent import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.view.View import android.webkit.WebView import kotlinx.android.synthetic.main.activity_main.* class MainActivity : AppCompatActivity() { private val mUsageClicked = ob...
0
Kotlin
0
0
27b5df7fe4531d557754db25ca1a85892d5ea0db
1,625
Sekigae-android
MIT License
src/test/kotlin/ru/agalkin/beholder/passthrough/SwitchTest.kt
johnnywoo
21,419,854
false
null
package ru.agalkin.beholder.passthrough import ru.agalkin.beholder.Message import ru.agalkin.beholder.testutils.TestAbstract import kotlin.test.Test import kotlin.test.assertEquals import kotlin.test.assertNotNull class SwitchTest : TestAbstract() { @Test fun testSwitchParses() { assertConfigParses("s...
0
Kotlin
0
2
f25f00b7dd0692ff67d0eda55e6a3d59299e6cdb
10,537
beholder
MIT License
app/src/main/java/com/wtmberlin/data/ApiService.kt
victorvicari
239,278,153
true
{"Kotlin": 76580}
package com.wtmberlin.data import com.wtmberlin.meetup.* import io.reactivex.Single import org.threeten.bp.Duration import org.threeten.bp.Instant import org.threeten.bp.ZoneOffset import org.threeten.bp.ZonedDateTime open class ApiService(private val meetupService: MeetupService) { fun events(): Single<List<WtmE...
0
null
0
0
4ba949686b779207cad5bd3d5206f9d0337267d3
2,280
WTMBApp
Apache License 2.0
karibu-dsl-v10/src/test/kotlin/com/github/vok/karibudsl/flow/VaadinComponentsTest.kt
monkeyer
175,144,572
true
{"Kotlin": 347222, "HTML": 16485, "CSS": 3191}
package com.github.mvysny.karibudsl.v10 import com.github.mvysny.kaributesting.v10.* import com.github.mvysny.dynatest.DynaTest import com.vaadin.flow.component.orderedlayout.FlexLayout import com.vaadin.flow.component.orderedlayout.HorizontalLayout import com.vaadin.flow.component.orderedlayout.VerticalLayout import ...
0
Kotlin
0
0
a1b1dfbf3cb6bd0cefe741e2fbaf6ede08f0fe36
1,429
karibu-dsl
MIT License
src/main/kotlin/command/download/VideoDownload.kt
LittleMengBot
378,202,426
false
null
package command.download import ConfigLoader.configCache import LANG import callback.deleteButton import com.github.kotlintelegrambot.Bot import com.github.kotlintelegrambot.entities.ChatId import com.github.kotlintelegrambot.entities.TelegramFile import com.github.kotlintelegrambot.entities.Update import command.cach...
0
Kotlin
0
3
d458555a45c16edfbc5250344dba8f0858a0dc8c
5,957
MengProject
Apache License 2.0
core/src/commonMain/kotlin/dev/brella/ktornea/spotify/services/SpotifyTrackService.kt
UnderMybrella
628,495,061
false
null
package dev.brella.ktornea.spotify.services import dev.brella.kornea.errors.common.KorneaResult import dev.brella.ktornea.spotify.chunkEmptyToResults import dev.brella.ktornea.spotify.chunkFlatToResults import dev.brella.ktornea.spotify.data.SpotifyPaginatedData import dev.brella.ktornea.spotify.data.enums.EnumPitchCl...
0
Kotlin
0
1
b56c46c58629cf28ca1c14c3529615eed925f625
9,297
ktornea-spotify
MIT License
src/test/kotlin/dnaforge/backend/sim/StageConfigsTest.kt
dnaforge
662,927,654
false
{"Kotlin": 106941, "Dockerfile": 1327}
package dnaforge.backend.sim import kotlin.test.Test import kotlin.test.assertIs class StageConfigsTest { @Test fun `all default options are valid`() { StageConfigs.default.forEach { assertIs<ManualConfig>(it) assertIs<Map<String, String>>(it.toPropertiesMap()) } } ...
0
Kotlin
0
2
b4502d8e2ff9727ef812e99309ecec842ed9c30c
322
dnaforge-backend
MIT License
core/util/src/main/kotlin/com/flixclusive/core/util/network/WebViewInterceptor.kt
flixclusiveorg
659,237,375
false
{"Kotlin": 1974106, "Java": 18011}
package com.flixclusive.core.util.network import android.content.Context import android.webkit.CookieManager import android.webkit.WebStorage import android.webkit.WebView import androidx.annotation.MainThread import com.flixclusive.core.util.webview.WebViewDriver import okhttp3.Interceptor import okhttp3.OkHttpClient...
27
Kotlin
29
358
5fe0a7790fadf4534b0cf09304caed1da4ec1979
1,474
Flixclusive
MIT License
logic-service/src/main/kotlin/io/lonmstalker/springkube/repository/impl/BotAuditRepositoryImpl.kt
lonmstalker
634,331,522
false
null
package io.lonmstalker.springkube.repository.impl import io.lonmstalker.springkube.helper.ClockHelper import io.lonmstalker.springkube.helper.JooqHelper import io.lonmstalker.springkube.mapper.AuditMapper import io.lonmstalker.springkube.model.BotActionAudit import io.lonmstalker.springkube.model.UserInfo import io.lo...
0
Kotlin
0
0
1955769c3ed52bbbabe941f514c01f3d39514697
2,346
spring-kube
Apache License 2.0
app/src/main/java/com/translate/translator/voice/translation/dictionary/all/language/TranslatorMainActivity.kt
MubasherKhan9170
628,859,119
false
null
package com.translate.translator.voice.translation.dictionary.all.language import android.content.ActivityNotFoundException import android.content.Intent import android.graphics.drawable.ColorDrawable import android.net.Uri import android.os.Bundle import android.util.Log import android.view.Menu import android.view....
0
Kotlin
0
0
49f982fc4f437e90c94b6a2b2365c955ace8c207
13,734
Elite-Translator
MIT License
app/src/main/java/com/example/myapplication/MainActivity.kt
DevAndroidify
792,212,630
false
{"Kotlin": 48791}
package com.example.myapplication import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.widget.PopupMenu import androidx.navigation.fragment.findNavController import androidx.navigation.ui.setupWithNavController import com.example.myapplication.databinding.ActivityMainBinding class M...
0
Kotlin
0
0
2a8934d36339521cbfb831b32283e0f2536d0867
927
Electronic-Ecommerce
MIT License
suit-food-common-be/src/main/kotlin/ru/suit/food/common/models/BeMeasure.kt
KonstantinKhan
841,418,512
false
{"Kotlin": 13764}
package ru.suit.food.common.models data class BeMeasure( val measureValue: Double = 0.0, val unitMeasure: BeUnitMeasure = BeUnitMeasure() )
0
Kotlin
0
0
08e7d759b2ae9897c10cdabd87f3274699298c97
149
suit
MIT License
app/src/main/java/com/brins/locksmith/data/card/SingleCardLiveData.kt
BrinsLee
224,311,693
false
null
package com.brins.locksmith.data.card import androidx.lifecycle.MutableLiveData /** * @author lipeilin * @date 2020/4/28 */ class SingleCardLiveData : MutableLiveData<ArrayList<CardItem>>() { companion object { private lateinit var sInstance: SingleCardLiveData fun get(): SingleCardLiveData ...
0
Kotlin
0
1
e1fd0e515a410c49c33c6b9e94411ae07936f1e3
459
Locksmith
MIT License
domene/src/main/kotlin/no/nav/tiltakspenger/saksbehandling/service/sak/SakServiceImpl.kt
navikt
487,246,438
false
{"Kotlin": 783873, "Shell": 1318, "Dockerfile": 495, "HTML": 45}
package no.nav.tiltakspenger.saksbehandling.service.sak import arrow.core.Either import arrow.core.getOrElse import arrow.core.left import arrow.core.right import kotlinx.coroutines.runBlocking import mu.KotlinLogging import no.nav.tiltakspenger.felles.Saksbehandler import no.nav.tiltakspenger.felles.exceptions.IkkeFu...
10
Kotlin
0
1
63b6702ba616e70e219dbc37f19707f7a60ef7d5
7,762
tiltakspenger-vedtak
MIT License
app/src/main/java/cz/nestresuju/model/converters/LibraryConverter.kt
johnondrej
371,166,772
false
null
package cz.nestresuju.model.converters import cz.nestresuju.model.entities.api.library.ApiLibrarySection import cz.nestresuju.model.entities.database.library.DbLibrarySection import cz.nestresuju.model.entities.domain.library.LibrarySection /** * Converter for library entities. */ interface LibraryConverter { ...
0
Kotlin
0
0
8d7c54c00c865a370ed24a356abd2bfeeef4ed4b
1,900
nestresuju-android
Apache License 2.0
plugins/server/io.ktor/https-redirect/2.0/install.kt
ktorio
729,497,149
false
{"Kotlin": 161300, "HTML": 329, "FreeMarker": 139}
import io.ktor.server.application.* import io.ktor.server.plugins.httpsredirect.* import io.ktor.server.response.* public fun Application.configureHTTP() { install(HttpsRedirect) { // The port to redirect to. By default 443, the default HTTPS port. sslPort = 443 // 301 Moved Per...
7
Kotlin
15
53
cc335db378624997da3e2c677c962586df2d9e79
402
ktor-plugin-registry
Apache License 2.0
module_home/src/main/java/com/yg/home/ui/adapter/NewsListAdapter.kt
yang95C
452,964,813
false
{"Kotlin": 299738, "Java": 33615}
package com.yg.home.ui.adapter import android.text.TextUtils import android.view.View import android.widget.ImageView import android.widget.LinearLayout import android.widget.TextView import com.blankj.utilcode.util.StringUtils import com.bumptech.glide.Glide import com.chad.library.adapter.base.BaseMultiItemQuickAdap...
0
Kotlin
0
0
213d8f8000aaa23c429a347ac5dec1647fb49b69
9,520
NewsProject
Apache License 2.0
app/src/main/java/be/hogent/faith/faith/util/ActivityExtension.kt
hydrolythe
353,694,404
false
null
package be.hogent.faith.faith.util import android.content.Context import android.view.Surface import android.view.WindowManager import androidx.appcompat.app.AppCompatActivity import be.hogent.faith.R import androidx.fragment.app.Fragment import androidx.fragment.app.FragmentManager import androidx.fragment.app.Fragme...
0
Kotlin
0
0
14c6aec4b3c0a42bc73a7f779964d166fffeea20
1,371
FAITHAndroid
The Unlicense
platform/backend/request/src/main/kotlin/io/hamal/request/Func.kt
hamal-io
622,870,037
false
{"Kotlin": 2125103, "C": 1398432, "TypeScript": 284356, "Lua": 110643, "C++": 40651, "Makefile": 11728, "Java": 7564, "JavaScript": 3406, "CMake": 2810, "CSS": 1626, "HTML": 1239, "Shell": 977}
package io.hamal.request import io.hamal.lib.domain.vo.* interface CreateFuncReq { val name: FuncName val inputs: FuncInputs val code: CodeValue } interface UpdateFuncReq { val name: FuncName? val inputs: FuncInputs? val code: CodeValue? } interface InvokeFuncReq { val correlationId: Co...
26
Kotlin
0
0
971509d939b37ebc7c503e1f9c79139e983fe371
535
hamal
Creative Commons Zero v1.0 Universal
support/src/main/java/com/nativedevps/support/utility/validation/ValidationUtility.kt
merlinJeyakumar
446,346,525
false
{"Kotlin": 125686, "Java": 32709}
package com.nativedevps.support.utility.validation import android.content.Context import android.util.Patterns import android.widget.Toast import java.util.regex.Pattern /** * Created by pchub on 29-09-2017. * * A Simple ValidationUtil class that can validate your inputs * and can display the error messages on it...
0
Kotlin
0
0
407135e0b1f9c0b102ffddfd40fae64906738896
2,319
shot-vid-camera-sdk
Apache License 2.0
HenryPottier/app/src/main/java/com/jordantuffery/henrypottier/library/LibraryAdapter.kt
TufferyJordan
132,359,362
false
null
package com.jordantuffery.henrypottier.library import android.graphics.drawable.Drawable import android.support.v7.widget.RecyclerView import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.ImageView import android.widget.ProgressBar import android.widget.TextVi...
0
Kotlin
0
0
2e2c2915b3bf711947a03a2a50c633b3326df5f5
2,864
henry-pottier
Apache License 2.0
android-test--fragment/src/androidTest/java/io/sellmair/kompass/android/test/fragment/FragmentRoutingTest.kt
nairobi222
181,482,076
true
{"Kotlin": 92166}
package io.sellmair.kompass.android.test.fragment import androidx.test.rule.ActivityTestRule import io.sellmair.kompass.android.fragment.FragmentRouter import io.sellmair.kompass.android.test.FragmentHostActivity import io.sellmair.kompass.android.test.FragmentHostRoute import io.sellmair.kompass.core.RoutingStack imp...
0
Kotlin
0
1
49817436878aa2733af004a0f3c8dd893ea9f767
4,777
kompass
Apache License 2.0
core/src/main/kotlin/com/messengerk/core/stamp/HandledStamp.kt
tsantos84
441,781,910
false
{"Kotlin": 40278}
package com.messengerk.core.stamp import com.messengerk.core.Stamp data class HandledStamp (val handler: String, val result: Any?): Stamp
0
Kotlin
0
0
5358365033dfb76db9d021f7e2b12aa568e2c22d
139
messengerk
MIT License
src/test/kotlin/leetcode/problem0014/LongestCommonPrefixTest.kt
ayukatawago
456,312,186
false
null
package leetcode.problem0014 import kotlin.test.Test import kotlin.test.assertEquals class LongestCommonPrefixTest { private val target = LongestCommonPrefix() @Test fun test_1() { val input = arrayOf("flower", "flow", "flight") assertEquals("fl", target.longestCommonPrefix(input)) } ...
0
Kotlin
0
0
f9602f2560a6c9102728ccbc5c1ff8fa421341b8
471
leetcode-kotlin
MIT License
src/test/kotlin/leetcode/problem0014/LongestCommonPrefixTest.kt
ayukatawago
456,312,186
false
null
package leetcode.problem0014 import kotlin.test.Test import kotlin.test.assertEquals class LongestCommonPrefixTest { private val target = LongestCommonPrefix() @Test fun test_1() { val input = arrayOf("flower", "flow", "flight") assertEquals("fl", target.longestCommonPrefix(input)) } ...
0
Kotlin
0
0
f9602f2560a6c9102728ccbc5c1ff8fa421341b8
471
leetcode-kotlin
MIT License
app/src/main/java/com/crazyhitty/chdev/ks/news/data/api/NewsApiConfig.kt
crazyhitty
121,720,447
false
null
package com.crazyhitty.chdev.ks.news.data.api /** * Data class which will contain information about News API. * * @param baseUrl Base url endpoint for this API * @param apiHeader Header param key for API authentication * @param apiKey Valid key for communicating with this API * * @author Kartik Sharma (cr...
0
Kotlin
0
12
9c3561d8ce9c5c418d71ba99ad60fb475866f3a8
433
news
MIT License
sha256/common/test/org/komputing/khash/sha256/extensions/ByteArrayExtensionsTests.kt
mirceanis
180,548,382
true
{"Kotlin": 742632}
package org.komputing.khash.sha256.extensions import io.mockk.every import io.mockk.mockkObject import org.komputing.khash.sha256.Sha256 import kotlin.test.Test import kotlin.test.assertTrue class ByteArrayExtensionsTests { @Test fun testToByteArrayEmpty() { val input = intArrayOf() val expec...
0
Kotlin
0
0
848718a996aad01b52c9422de4c947a9173ce9c6
1,353
KHash
MIT License
src/main/kotlin/no/fdk/concept_catalog/model/SortField.kt
Informasjonsforvaltning
366,717,204
false
{"Kotlin": 278336, "Dockerfile": 210}
package no.fdk.concept_catalog.model enum class SortFieldEnum(val label: String) { SIST_ENDRET("sistEndret"), ANBEFALT_TERM_NB("anbefaltTerm.nb"), } enum class SortDirection(val label: String) { ASC("ASC"), DESC("DESC"), } class SortField( val field: SortFieldEnum, val direction: SortDirectio...
18
Kotlin
0
0
8e4fa1e2a2fb959ec27227721ffd91c7ad993aa9
325
concept-catalog
Apache License 2.0
app/src/main/java/io/astronout/gamescatalogue/presentation/detail/DetailViewModel.kt
ariastro
679,583,467
false
null
package io.astronout.gamescatalogue.presentation.detail import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import androidx.paging.cachedIn import dagger.hilt.android.lifecycle.HiltViewModel import io.astronout.core.domain.usecase.GameUsecase import kotlinx.coroutines.launch import javax.injec...
0
Kotlin
0
0
f0c6df5f1b7a7c6f5643ccc0da593a518dac7710
660
GamesCatalogue
MIT License
navigator/runtime-compose/src/main/java/com/freeletics/mad/navigator/compose/NavHost.kt
freeletics
375,363,637
false
null
package com.freeletics.mad.navigator.compose import androidx.navigation.compose.NavHost as AndroidXNavHost import androidx.compose.material.MaterialTheme import androidx.compose.material.ModalBottomSheetDefaults import androidx.compose.material.contentColorFor import androidx.compose.runtime.Composable import androidx...
5
Kotlin
5
43
102987a931cebb7d2352a46f7b86c6a32b23982d
7,755
mad
Apache License 2.0
app/src/test/java/org/fnives/test/showcase/ui/home/MainViewModelTest.kt
fknives
356,982,481
false
null
package org.fnives.test.showcase.ui.home import com.jraska.livedata.test import kotlinx.coroutines.flow.flowOf import kotlinx.coroutines.runBlocking import org.fnives.test.showcase.core.content.AddContentToFavouriteUseCase import org.fnives.test.showcase.core.content.FetchContentUseCase import org.fnives.test.showcase...
16
Kotlin
0
1
364b7264841eda9e25011e8076ae1d40a9bb932b
10,197
AndroidTest-ShowCase
Apache License 2.0
src/main/java/tgz39/challengeplugin/utils/Challenge.kt
TgZ39
699,971,096
false
{"Kotlin": 117166}
package tgz39.challengeplugin.utils import org.bukkit.inventory.ItemStack import tgz39.challengeplugin.timer.Timer abstract class Challenge { init { ChallengeAction.addChallenge(this) } abstract var isActive: Boolean abstract fun guiItem(): ItemStack open fun onEnable() {} open fun ...
0
Kotlin
1
1
70741bf3811fb32a15e45b547ec8a4b21ff6d0cb
767
ChallengePlugin
Apache License 2.0
kotlin-electron/src/jsMain/generated/electron/core/ClientRequestConstructorOptionsProtocol.kt
JetBrains
93,250,841
false
{"Kotlin": 12141293, "JavaScript": 331794}
// Generated by Karakum - do not modify it manually! package electron.core @Suppress("NESTED_CLASS_IN_EXTERNAL_INTERFACE") @seskar.js.JsVirtual sealed external interface ClientRequestConstructorOptionsProtocol { companion object { @seskar.js.JsValue("http:") val http: ClientRequestConstructorOpti...
38
Kotlin
165
1,304
28da3ba19f48d2c9dc2aa78f2ef1892e396aa2aa
437
kotlin-wrappers
Apache License 2.0
infrastructure/src/main/kotlin/module/setup/StatusPagesModule.kt
radityagumay
299,516,443
false
null
package main.kotlin.module.setup import io.ktor.application.Application import io.ktor.application.call import io.ktor.application.install import io.ktor.application.log import io.ktor.features.StatusPages import io.ktor.http.HttpStatusCode import io.ktor.response.respond @JvmOverloads fun Application.statusPagesModu...
0
Kotlin
0
3
f6e9e4b75f3db771b826a0140b976ddb10110c59
516
learning-ktor
Apache License 2.0
src/main/kotlin/osahner/config/SecurityConstants.kt
Goncharov01
141,819,719
false
null
package osahner.config object SecurityConstants { const val SECRET = "secretSECRETsecret-notreally" const val EXPIRATION_TIME: Long = 864000000 // 10 days const val TOKEN_PREFIX = "Bearer " const val HEADER_STRING = "Authorization" const val STRENGTH = 10 }
0
Kotlin
1
0
d2dfb20b843910328378566c15c9f7914493fd99
269
kotlin-spring-boot-rest-jpa-jwt-starter
MIT License
straight/src/commonMain/kotlin/me/localx/icons/straight/outline/Selection.kt
localhostov
808,861,591
false
{"Kotlin": 79430321, "HTML": 331, "CSS": 102}
package me.localx.icons.straight.outline import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap.Companion.Butt import androidx.compose.ui.graphics.StrokeJoin.Companion.Mite...
1
Kotlin
0
5
cbd8b510fca0e5e40e95498834f23ec73cc8f245
5,545
icons
MIT License
cookbook/src/commonMain/kotlin/fun/adaptive/cookbook/auth/authMain.kt
spxbhuhb
788,711,010
false
{"Kotlin": 2251135, "Java": 24502, "HTML": 7707, "JavaScript": 3880, "Shell": 687}
package `fun`.adaptive.cookbook.auth import `fun`.adaptive.cookbook.auth.screens.passwordReset import `fun`.adaptive.cookbook.auth.screens.signIn import `fun`.adaptive.cookbook.auth.screens.signUp import `fun`.adaptive.foundation.Adaptive import `fun`.adaptive.foundation.rangeTo import `fun`.adaptive.ui.api.column imp...
30
Kotlin
0
3
d6c0623918922416e3f2d6666b66626e25fb0704
771
adaptive
Apache License 2.0
core/src/main/kotlin/no/nav/amt/tiltak/core/port/NavAnsattService.kt
navikt
393,356,849
false
null
package no.nav.amt.tiltak.core.port import no.nav.amt.tiltak.core.domain.nav_ansatt.NavAnsatt import no.nav.amt.tiltak.core.domain.nav_ansatt.UpsertNavAnsattInput import java.util.* interface NavAnsattService { fun getNavAnsatt(navAnsattId: UUID): NavAnsatt fun getNavAnsatt(navIdent: String): NavAnsatt fun upse...
2
Kotlin
3
4
7f3df04447dc622e87538f454e4fcc69bfd713e9
382
amt-tiltak
MIT License
sample/src/main/java/soup/animation/sample/utils/Lerp.kt
fornewid
271,574,899
false
null
package soup.animation.sample.utils fun lerp(from: Int, to: Int, progress: Float): Float { return (1 - progress) * from + to * progress } fun lerp(from: Float, to: Float, progress: Float): Float { return (1 - progress) * from + to * progress }
0
null
5
41
d4b87fd7f307dc940a4086b18d287db2ceb64051
254
android-animation-11p-more
Apache License 2.0
engine/events/src/main/kotlin/org/rsmod/events/UnboundEvent.kt
rsmod
293,875,986
false
{"Kotlin": 1817705}
package org.rsmod.events public interface UnboundEvent
0
Kotlin
64
95
3ba446ed70bcde0870ef431e1a8527efc6837d6c
56
rsmod
ISC License