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
Notebook/app/src/main/java/com/example/notebook/viewmodel/NoteViewModel.kt
BennyZhang-Canviz
255,919,665
false
null
package com.example.notebook.viewmodel import androidx.lifecycle.LiveData import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.example.notebook.data.Note import com.example.notebook.data.NoteRepository import kotlinx.coroutines.launch import java.util.* class NoteViewModel ( var...
0
Kotlin
0
0
55ae049d5c880b67251e40cf658c4535d52cd017
1,123
Android
Apache License 2.0
app/src/main/java/com/danielefavaro/spacex/main/ui/LaunchDetailFragment.kt
dfavaro
349,760,654
false
null
package com.danielefavaro.spacex.main.ui import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import com.danielefavaro.spacex.SpaceXApp import com.danielefavaro.spacex.base.ktx.load import com.danielefavaro.spacex.base.ui.BaseBottomSheetDialogFragment impor...
0
Kotlin
0
0
0483fdfbd8b0e5bf2c0f3ddfbe5dfce17078d933
1,625
spacex-android
MIT License
player/playback-engine/src/main/kotlin/com/tidal/sdk/player/playbackengine/quality/VideoQualityRepository.kt
tidal-music
806,866,286
false
{"Kotlin": 1775374, "Shell": 9881, "Python": 7380, "Mustache": 911}
package com.tidal.sdk.player.playbackengine.quality import com.tidal.sdk.player.common.model.VideoQuality import com.tidal.sdk.player.streamingapi.playbackinfo.model.PlaybackInfo /** * Repository for getting the [VideoQuality] to be used in a specific request for [PlaybackInfo]. */ internal class VideoQualityReposi...
27
Kotlin
0
23
1f654552133ef7794fe9bb7677bc7fc94c713aa3
375
tidal-sdk-android
Apache License 2.0
lib/src/main/java/com/cexdirect/lib/util/ValidationUtils.kt
decent-finance
190,219,501
false
{"Gradle": 7, "Shell": 3, "Java Properties": 2, "Ignore List": 3, "Batchfile": 1, "YAML": 3, "Markdown": 1, "Proguard": 3, "XML": 144, "Kotlin": 231, "Java": 6, "JSON": 5}
/* * Copyright 2019 CEX.​IO Ltd (UK) * * 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 applicab...
1
null
1
1
0701a5be69007b1c9ffb3d03775410e413629417
9,245
direct-android
Apache License 2.0
src/test/kotlin/com/epam/brn/controller/UserSubGroupStatisticControllerTest.kt
Brain-up
216,092,521
false
{"Kotlin": 1057933, "Handlebars": 512629, "TypeScript": 401203, "JavaScript": 168755, "HTML": 45401, "CSS": 30742, "SCSS": 27412, "RAML": 22982, "Makefile": 545, "Shell": 405, "Dockerfile": 185}
package com.epam.brn.controller import com.epam.brn.dto.BaseResponseDto import com.epam.brn.dto.response.SubGroupStatisticResponse import com.epam.brn.dto.statistic.DayStudyStatistic import com.epam.brn.dto.statistic.MonthStudyStatistic import com.epam.brn.service.statistic.UserPeriodStatisticService import com.epam.b...
76
Kotlin
26
61
310cfcae2b9780740554396271444388258ce8da
2,045
brn
Creative Commons Zero v1.0 Universal
compose/foundation/foundation/src/desktopMain/kotlin/androidx/compose/foundation/Clickable.desktop.kt
RikkaW
389,105,112
false
null
/* * Copyright 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 applica...
6
null
937
7
6d53f95e5d979366cf7935ad7f4f14f76a951ea5
5,088
androidx
Apache License 2.0
src/main/kotlin/me/znepb/roadworks/block/signals/impl/ThreeHeadTrafficSignalRight.kt
znepb
674,486,233
false
{"Kotlin": 264114, "Java": 1022}
package me.znepb.roadworks.block.signals.impl import me.znepb.roadworks.Registry import me.znepb.roadworks.block.signals.AbstractOneHeadSignal import me.znepb.roadworks.block.signals.AbstractTrafficSignalBlockEntity import net.minecraft.block.BlockState import net.minecraft.block.entity.BlockEntity import net.minecraf...
0
Kotlin
1
6
c14b96b0c0c3e10aada1b2d56d72e0ce531e6731
1,023
roadworks
MIT License
app/src/main/java/com/hoc/weatherapp/data/models/apiresponse/currentweatherapiresponse/CurrentWeatherResponse.kt
hoc081098
146,096,095
false
null
package com.hoc.weatherapp.data.models.apiresponse.currentweatherapiresponse import com.hoc.weatherapp.data.models.apiresponse.Clouds import com.hoc.weatherapp.data.models.apiresponse.Coord import com.hoc.weatherapp.data.models.apiresponse.Rain import com.hoc.weatherapp.data.models.apiresponse.Snow import com.hoc.weat...
7
null
16
71
577cab95c896c68e02d337315e69749b9f55be0f
1,204
WeatherApp_MVI_sample
MIT License
tests/input/src/test/kotlin/test/InputTest.kt
apollographql
69,469,299
false
null
package test import com.apollographql.apollo3.api.Optional import com.example.CreateUser2Query import com.example.CreateUserQuery import com.example.type.FindUserInput import com.example.type.UserInput import org.junit.Test import kotlin.test.assertEquals import kotlin.test.assertFailsWith class InputTest { @Test ...
164
null
651
3,750
174cb227efe76672cf2beac1affc7054f6bb2892
2,759
apollo-kotlin
MIT License
plugins/github/src/org/jetbrains/plugins/github/api/data/pullrequest/GHPullRequestShort.kt
JetBrains
2,489,216
false
null
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package org.jetbrains.plugins.github.api.data.pullrequest import com.fasterxml.jackson.annotation.JsonIgnore import com.fasterxml.jackson.annotation.JsonProperty import com.intel...
284
null
5162
16,707
def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0
4,541
intellij-community
Apache License 2.0
compat/agp/src/main/kotlin/net/twisterrob/gradle/common/AGPVersions.kt
TWiStErRob
116,494,236
false
null
package net.twisterrob.gradle.common import org.jetbrains.annotations.TestOnly /** * Version constants for the Android Gradle Plugin. */ object AGPVersions { @Throws(IllegalStateException::class) fun olderThan4NotSupported(version: AGPVersion): Nothing { error("AGP ${version} is not supported, because it's old...
46
Kotlin
1
7
b207c0bce0c0f7f3405fb54d10071547f60a0eb4
3,474
net.twisterrob.gradle
MIT License
src/commonMain/kotlin/api/resources/Playlists.kt
kotlinfunc
565,100,240
false
null
package api.resources import io.ktor.resources.* import kotlinx.serialization.Serializable @Serializable @Resource("/playlists/list") class Playlists(val playlistIds: List<String>)
0
null
0
0
4ac5e027fb2f63eb7235ce2add8be6d36002d711
182
yandex-music-kotlin
Do What The F*ck You Want To Public License
app/src/main/java/dev/vengateshm/dribbox/presentation/home/components/Home.kt
vengateshm
446,151,154
false
{"Kotlin": 39209}
package dev.vengateshm.dribbox.presentation.home.components import androidx.compose.foundation.* import androidx.compose.foundation.layout.* import androidx.compose.foundation.lazy.GridCells import androidx.compose.foundation.lazy.LazyVerticalGrid import androidx.compose.foundation.lazy.items import androidx.compose.f...
0
Kotlin
0
0
b420205453e4e3f365830dd52e0ccfd67a8a8282
6,089
jetpack_compose_cloud_storage_manager
Apache License 2.0
kotlin-analysis-api/src/main/kotlin/com/google/devtools/ksp/impl/symbol/kotlin/KSValueParameterLiteImpl.kt
google
297,744,725
false
null
package com.google.devtools.ksp.impl.symbol.kotlin import com.google.devtools.ksp.common.IdKeyPair import com.google.devtools.ksp.common.KSObjectCache import com.google.devtools.ksp.common.impl.KSNameImpl import com.google.devtools.ksp.impl.symbol.kotlin.resolved.KSTypeReferenceResolvedImpl import com.google.devtools....
370
null
268
2,854
a977fb96b05ec9c3e15b5a0cf32e8e7ea73ab3b3
1,615
ksp
Apache License 2.0
app/src/main/java/ru/glindaqu/ejournal/viewModel/implementation/HomeViewModel.kt
glindaqu
789,473,966
false
{"Kotlin": 8175}
package ru.glindaqu.ejournal.viewModel.implementation import android.app.Application import androidx.lifecycle.AndroidViewModel import ru.glindaqu.ejournal.viewModel.api.IHomeViewModel class HomeViewModel(application: Application) : IHomeViewModel, AndroidViewModel(application) { }
0
Kotlin
0
0
ce70079f47af3f75208d269e56d059bc68acccb1
284
EJournal
MIT License
services/csm.cloud.project.project/src/main/kotlin/com/bosch/pt/iot/smartsite/project/download/repository/DownloadBlobStorageRepository.kt
boschglobal
805,348,245
false
{"Kotlin": 13156190, "HTML": 274761, "Go": 184388, "HCL": 158560, "Shell": 117666, "Java": 52634, "Python": 51306, "Dockerfile": 10348, "Vim Snippet": 3969, "CSS": 344}
/* * ************************************************************************ * * Copyright: <NAME> Power Tools GmbH, 2018 - 2022 * * ************************************************************************ */ package com.bosch.pt.iot.smartsite.project.download.repository import com.bosch.pt.csm.cloud.co...
0
Kotlin
3
9
9f3e7c4b53821bdfc876531727e21961d2a4513d
3,778
bosch-pt-refinemysite-backend
Apache License 2.0
client/android/div/src/main/java/com/yandex/div/core/view2/animations/Utils.kt
divkit
523,491,444
false
{"Kotlin": 7327303, "Swift": 5164616, "Svelte": 1148832, "TypeScript": 912803, "Dart": 630920, "Python": 536031, "Java": 507940, "JavaScript": 152546, "CSS": 37870, "HTML": 23434, "C++": 20911, "CMake": 18677, "Shell": 8895, "PEG.js": 7210, "Ruby": 3723, "C": 1425, "Objective-C": 38}
package com.yandex.div.core.view2.animations import android.graphics.drawable.Drawable import android.graphics.drawable.LayerDrawable import android.view.MotionEvent import android.view.View import android.view.ViewGroup import android.view.animation.AlphaAnimation import android.view.animation.Animation import androi...
5
Kotlin
128
2,240
dd102394ed7b240ace9eaef9228567f98e54d9cf
7,400
divkit
Apache License 2.0
MonsterLabTechnicalTest/app/src/main/java/com/monsterlab/technicaltest/network/APIHelperImpl.kt
aliahmedbd
430,296,526
false
null
package com.monsterlab.technicaltest.network import com.monsterlab.technicaltest.model.ImagesModel import com.monsterlab.technicaltest.network.APIHelper import com.monsterlab.technicaltest.network.APIInterface import javax.inject.Inject /** * Created by <NAME>, mail: <EMAIL> */ class ApiHelperImpl @Inject construct...
0
Kotlin
0
0
ecc17bf7f4e2491ce4f85b8b1de4ddafe6c725a3
500
MonsterLabTechnicalTest
Apache License 2.0
code/app/src/main/java/vn/eazy/base/mvp/example/mvp/di/module/UserModule.kt
harrylefit
93,927,281
false
null
package vn.eazy.base.mvp.example.mvp.di.module import dagger.Module import dagger.Provides import vn.eazy.base.mvp.di.scope.ActivityScope import vn.eazy.base.mvp.example.mvp.contract.UserContract import vn.eazy.base.mvp.example.mvp.model.UserModel /** * Created by harryle on 6/17/17. */ @Module class UserModule(pri...
1
Java
3
10
30abe4877baae4e7fb53c72eae304246cffe25d6
616
EazyBaseMVP
Apache License 2.0
apps/mobile-app/src/main/kotlin/dev/marlonlom/apps/cappajv/ui/navigation/MainNavHost.kt
marlonlom
766,685,767
false
{"Kotlin": 238268}
/* * Copyright 2024 Marlonlom * SPDX-License-Identifier: Apache-2.0 */ package dev.marlonlom.apps.cappajv.ui.navigation import androidx.compose.foundation.ExperimentalFoundationApi import androidx.compose.foundation.layout.ExperimentalLayoutApi import androidx.compose.material3.ExperimentalMaterial3Api import andr...
0
Kotlin
0
0
669e0b66b8f8822a67ab6e820c2f632137f81f3b
2,571
cappajv
Apache License 2.0
app/src/main/java/com/example/android/trackmysleepquality/Util.kt
st0rmg0d
461,144,266
false
null
package com.example.android.trackmysleepquality import android.annotation.SuppressLint import android.content.res.Resources import java.text.SimpleDateFormat fun convertNumericQualityToString(quality: Int, resources: Resources): String { var qualityString = resources.getString(R.string.three_ok) when (quality...
0
Kotlin
1
0
5b27b3430a2f4a43ab59fa4c284607d86b365501
951
homework-camillebalima
MIT License
app/src/main/java/com/example/returnpals/services/SettingsViewModel.kt
BC-CS481-Capstone
719,299,432
false
{"Kotlin": 327246, "Java": 57406}
import android.util.Log import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.amplifyframework.api.graphql.model.ModelQuery import com.amplifyframework.auth.AuthException import com.amplifyframework.auth.AuthSession import com.amplifyframework.auth.result.AuthResetPasswordResult impor...
26
Kotlin
0
0
b893f3998fc29477e9fc6b154b8b5acfa4f520f0
8,104
ReturnPalsApp
MIT License
libs/serialization/serialization-amqp/src/main/kotlin/net/corda/internal/serialization/amqp/custom/YearSerializer.kt
corda
346,070,752
false
{"Kotlin": 20585419, "Java": 308202, "Smarty": 115357, "Shell": 54409, "Groovy": 30246, "PowerShell": 6470, "TypeScript": 5826, "Solidity": 2024, "Batchfile": 244}
package net.corda.internal.serialization.amqp.custom import net.corda.serialization.BaseProxySerializer import java.time.Year /** * A serializer for [Year] that uses a proxy object to write out the integer form. */ class YearSerializer : BaseProxySerializer<Year, YearSerializer.YearProxy>() { override val type:...
11
Kotlin
27
69
d478e119ab288af663910f9a2df42a7a7b9f5bce
693
corda-runtime-os
Apache License 2.0
sample/src/main/java/com/hieupt/standalonescrollbar/sample/HorizontalScrollViewActivity.kt
I3eyonder
318,128,746
false
null
package com.hieupt.standalonescrollbar.sample import android.os.Bundle import androidx.appcompat.app.AppCompatActivity import com.hieupt.android.standalonescrollbar.attachTo import com.hieupt.standalonescrollbar.R import kotlinx.android.synthetic.main.activity_horizontal_scroll_view.* class HorizontalScrollViewActivi...
2
Kotlin
4
7
fca84c13279aca5f8de14981a1940e328c260056
736
android-standalone-scroll-bar
Apache License 2.0
feature-account-api/src/main/java/jp/co/soramitsu/account/api/presentation/account/AddressDisplayUseCase.kt
soramitsu
278,060,397
false
{"Kotlin": 5738459, "Java": 18796}
package jp.co.soramitsu.account.api.presentation.account import jp.co.soramitsu.account.api.domain.interfaces.AccountRepository import jp.co.soramitsu.shared_utils.extensions.fromHex import jp.co.soramitsu.shared_utils.ss58.SS58Encoder.toAccountId import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.withCon...
15
Kotlin
30
89
1de6dfa7c77d4960eca2d215df2bdcf71a2ef5f2
1,225
fearless-Android
Apache License 2.0
core/common/src/main/kotlin/org/michaelbel/movies/common/coroutines/Dispatcher.kt
michaelbel
115,437,864
false
null
package org.michaelbel.movies.common.coroutines import javax.inject.Qualifier @Qualifier @Retention(AnnotationRetention.RUNTIME) annotation class Dispatcher( val dispatcher: MoviesDispatchers )
4
Kotlin
21
81
00b1cd807a4e7c894b0792ebb668e4cbcedc5605
199
movies
Apache License 2.0
composeUi/src/commonMain/kotlin/com/darkrockstudios/apps/hammer/common/encyclopedia/CreateEntryUi.kt
Wavesonics
499,367,913
false
null
package com.darkrockstudios.apps.hammer.common.encyclopedia import androidx.compose.foundation.background import androidx.compose.foundation.border import androidx.compose.foundation.layout.* import androidx.compose.foundation.rememberScrollState import androidx.compose.foundation.verticalScroll import androidx.compos...
8
null
7
99
2feba4da350977e6eac5fdf07b3be644ee255b7a
7,614
hammer-editor
MIT License
app/src/main/java/com/msc/someweather/utilities/UnitUtils.kt
danding1207
146,581,858
false
{"Gradle": 3, "Java Properties": 2, "Markdown": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Git Attributes": 1, "YAML": 2, "Proguard": 1, "Kotlin": 92, "XML": 59, "Java": 12, "JSON": 1}
package com.msc.someweather.utilities import android.content.Context import android.graphics.drawable.Drawable import android.support.v4.content.ContextCompat import android.util.DisplayMetrics import android.view.WindowManager import com.msc.someweather.R import com.orhanobut.logger.Logger import java.text.ParseExcep...
0
Kotlin
0
0
65cda4c473fd094f4662a973362d0161a325870a
11,610
android-Jetpack-demo
Apache License 2.0
core/src/main/java/de/dseelp/kommon/command/arguments/UUIDArgument.kt
KelpFramework
211,553,334
false
null
package de.dseelp.kommon.command.arguments import de.dseelp.kommon.command.CommandContext import java.util.* /** * @author DSeeLP */ class UUIDArgument<S: Any>(name: String, val completer: CommandContext<S>.() -> Array<UUID> = { arrayOf() }) : Argument<S, UUID>(name) { constructor(name: String): this(name, { ar...
6
Java
7
50
1b7a876472457043a9430a2b0e2b28a234bab8b8
769
kelp
MIT License
src/Day03.kt
camina-apps
572,935,546
false
{"Kotlin": 7782}
import kotlin.math.floor import kotlin.math.roundToInt fun main() { fun priorityOfItem(letter: Char): Int { val offset = if (letter.isUpperCase()) 38 else 96 return letter.code - offset } fun findDuplicate(rucksack: String): Char { val half = (rucksack.length / 2.0).roundToInt() ...
0
Kotlin
0
0
fb6c6176f8c127e9d36aa0b7ae1f0e32b5c31171
1,639
aoc_2022
Apache License 2.0
graphics/src/main/java/com/gamapp/custom/ViewNumberPicker.kt
aliHosseinNezhad
507,626,994
false
null
package com.gamapp.custom import android.annotation.SuppressLint import android.content.Context import android.util.AttributeSet import android.util.Log import android.view.* import android.widget.* import androidx.core.view.GestureDetectorCompat import kotlinx.coroutines.* import kotlin.math.abs import kotlin.math.ex...
0
Kotlin
0
2
8eddbdbcd5706072262ed7bd2cf6b2d0a6df6ada
8,752
DMPlayer_public
MIT License
app/src/main/java/com/alejandromr/kontacts/domain/model/NameModel.kt
alejandromr92
396,426,398
false
null
package com.alejandromr.kontacts.domain.model import java.io.Serializable data class NameModel( val first: String, val last: String ) : Serializable
0
Kotlin
0
1
2bf4e49db7061fa7aa47ccecf091da2656e4f0bd
159
Kontacts
Apache License 2.0
app/src/test/java/org/simple/clinic/bp/entry/BpValidatorTest.kt
eco4ndly
244,967,563
false
{"Gradle": 9, "Shell": 4, "Markdown": 26, "Java Properties": 2, "Text": 1, "Ignore List": 8, "Batchfile": 1, "YAML": 3, "Kotlin": 1176, "XML": 237, "INI": 2, "Proguard": 2, "JSON": 62, "Java": 1, "SVG": 1}
package org.simple.clinic.bp.entry import com.google.common.truth.Truth.assertThat import org.junit.Test class BpValidatorTest { private val bpValidator = BpValidator() @Test fun `when systolic is less than diastolic, return error`() { val systolic = "90" val diastolic = "140" val result = bpValid...
1
null
1
1
c0bb3139dada4f34206928ec81f1e5f6f056134b
2,030
simple-android
MIT License
game/plugins/src/main/kotlin/gg/rsmod/plugins/content/quests/impl/DoricsQuest.kt
2011Scape
578,880,245
false
{"Kotlin": 8904349, "Dockerfile": 1354}
package gg.rsmod.plugins.content.quests.impl import gg.rsmod.game.model.entity.Player import gg.rsmod.game.model.item.Item import gg.rsmod.plugins.api.Skills import gg.rsmod.plugins.api.cfg.Items import gg.rsmod.plugins.api.ext.getVarp import gg.rsmod.plugins.api.ext.setVarp import gg.rsmod.plugins.content.quests.* /...
39
Kotlin
79
34
e5400cc71bfa087164153d468979c5a3abc24841
2,683
game
Apache License 2.0
src/main/kotlin/uk/gov/justice/digital/hmpps/nomisuserrolesapi/resource/UserAccountResource.kt
ministryofjustice
407,125,432
false
null
package uk.gov.justice.digital.hmpps.nomisuserrolesapi.resource import io.swagger.v3.oas.annotations.Operation import io.swagger.v3.oas.annotations.media.Content import io.swagger.v3.oas.annotations.media.Schema import io.swagger.v3.oas.annotations.responses.ApiResponse import io.swagger.v3.oas.annotations.security.Se...
3
null
0
1
3eb25d393778a24dc4c5800f06a9a6d25d79c1d4
13,593
nomis-user-roles-api
MIT License
app/src/main/java/com/theophiluskibet/koin/playground/presentation/screens/list/CharacterListScreen.kt
kibettheophilus
811,054,900
false
{"Kotlin": 41923}
/* * Copyright 2024 Theophilus Kibet * * 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...
4
Kotlin
0
2
6ee4c0f796c98bdbd3ce4b6009d5c71da9359987
2,180
koin-playground
Apache License 2.0
diktat-rules/src/main/kotlin/com/saveourtool/diktat/ruleset/constants/Chapters.kt
saveourtool
275,879,956
false
null
package org.cqfn.diktat.ruleset.constants import org.cqfn.diktat.common.config.rules.RulesConfig import org.cqfn.diktat.common.config.rules.getCommonConfiguration import org.cqfn.diktat.ruleset.utils.isDigits import org.jetbrains.kotlin.org.jline.utils.Levenshtein /** * This class represents the chapters that are in...
93
null
39
535
9e73d811d9fd9900af5917ba82ddeed0177ac52e
2,125
diktat
MIT License
app/src/main/java/com/payamgr/qrcodemaker/data/model/event/ContentFormEffect.kt
PayamGerackoohi
737,574,318
false
{"Kotlin": 278463, "C++": 90697, "CMake": 2467, "Shell": 1537}
package com.payamgr.qrcodemaker.data.model.event sealed class ContentFormEffect { object ClosePage : ContentFormEffect() }
0
Kotlin
0
0
8e4e2ff12778c4c52a2476eb588f4f7047d7140a
128
QRCodeMaker
MIT License
sample/src/test/java/com.vicpin.sample.testjvm/ViewHolderLifecycleTests.kt
vicpinm
74,609,838
false
null
package com.vicpin.sample.testjvm import androidx.recyclerview.widget.LinearLayoutManager import androidx.recyclerview.widget.RecyclerView import androidx.test.core.app.launchActivity import androidx.test.ext.junit.runners.AndroidJUnit4 import com.nhaarman.mockitokotlin2.* import com.vicpin.kpresenteradapter.Presenter...
0
Kotlin
1
7
8390626c1eab6082a46626f77b550906a2f98a43
3,757
KPresenterAdapter
Apache License 2.0
Corona-Warn-App/src/main/java/de/rki/coronawarnapp/exception/reporting/ErrorReportReceiver.kt
covid-be-app
281,650,940
false
null
package de.rki.coronawarnapp.exception.reporting import android.app.Activity import android.content.BroadcastReceiver import android.content.Context import android.content.Intent import android.util.Log import de.rki.coronawarnapp.CoronaWarnApplication import de.rki.coronawarnapp.R import de.rki.coronawarnapp.exceptio...
5
null
3
55
d556b0b9f29e76295b59be2a1ba89bc4cf6ec33b
3,155
cwa-app-android
Apache License 2.0
src/main/kotlin/de/bybackfish/avomod/util/Transformer.kt
byBackfish
510,866,399
false
{"Kotlin": 65429, "Java": 1232}
package de.bybackfish.avomod.util
0
Kotlin
0
0
d82639e486fc5d892890038f0c41b15a8854ce7b
35
AvoMod-Recode
MIT License
codebase/android/feature/transactions/src/main/java/com/makeappssimple/abhimanyu/financemanager/android/feature/transactions/transactions/screen/TransactionsScreenUIEvent.kt
Abhimanyu14
429,663,688
false
{"Kotlin": 1459939, "Dart": 102426}
package com.makeappssimple.abhimanyu.financemanager.android.feature.transactions.transactions.screen import androidx.compose.runtime.Immutable import com.makeappssimple.abhimanyu.financemanager.android.core.model.feature.Filter import com.makeappssimple.abhimanyu.financemanager.android.core.model.feature.SortOption im...
11
Kotlin
0
1
433728cb7a9003e38ea9f579d561e4e27b47ef76
1,700
finance-manager
Apache License 2.0
app/src/main/java/com/romandevyatov/bestfinance/viewmodels/foreachmodel/IncomeHistoryViewModel.kt
RomanDevyatov
587,557,441
false
null
package com.romandevyatov.bestfinance.viewmodels.foreachmodel import androidx.lifecycle.LiveData import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.romandevyatov.bestfinance.db.entities.IncomeHistory import com.romandevyatov.bestfinance.db.entities.relations.IncomeHistoryWithIncome...
0
Kotlin
0
1
bacad4ca4c12fdef63d1e1e746439751cb891776
1,533
BestFinance
Apache License 2.0
app/src/main/java/com/skeleton/roomdagger2/data/prefs/PrefsHelper.kt
IQBALAGUNG
142,387,988
false
null
package com.skeleton.roomdagger2.data.prefs /** * Created by <NAME> on 24/07/2018. */ interface PrefsHelper { }
0
Kotlin
0
0
3f741803ffc70eb5979d07966d3258ddc8faa9fe
115
RoomDagger2
MIT License
straight/src/commonMain/kotlin/me/localx/icons/straight/outline/LightCeiling.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
2,517
icons
MIT License
library/src/main/kotlin/com/gabrielfeo/gradle/enterprise/api/extension/BuildsApiExtensions.kt
gabrielfeo
579,131,355
false
null
@file:Suppress("unused") package com.gabrielfeo.gradle.enterprise.api.extension import com.gabrielfeo.gradle.enterprise.api.BuildsApi import com.gabrielfeo.gradle.enterprise.api.internal.API_MAX_BUILDS import com.gabrielfeo.gradle.enterprise.api.internal.operator.pagedUntilLastBuild import com.gabrielfeo.gradle.enter...
1
null
0
8
3b49efb0c91b2b7572c53239b665821f2fa0d565
2,635
gradle-enterprise-api-kotlin
MIT License
promptfx/src/main/kotlin/tri/promptfx/ui/DocumentListView.kt
aplpolaris
663,584,917
false
{"Kotlin": 952445, "Java": 7792, "CSS": 2840}
/*- * #%L * tri.promptfx:promptfx * %% * Copyright (C) 2023 - 2024 Johns Hopkins University Applied Physics Laboratory * %% * 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 * * h...
39
Kotlin
1
16
95b240c7d32f22b9af3833b9ca1d0d9f1fc85357
2,694
promptfx
Apache License 2.0
app/src/main/java/com/babakbelur/studiary/core/data/remote/response/user/DataUserResponse.kt
Babak-Belur
396,693,139
false
null
package com.babakbelur.studiary.core.data.remote.response.user import com.google.gson.annotations.SerializedName data class DataUserResponse( @SerializedName("id_user") val idUser: Int = 0, @SerializedName("name") val name: String? = "", @SerializedName("role") val role: String? = "", @...
0
Kotlin
0
0
cc7d86e6fd132e24478a0abafb86258c7da087eb
444
android-app
Apache License 2.0
platform/platform-api/src/com/intellij/ui/tabs/newImpl/TabsHeightController.kt
mobproinu
196,253,481
true
null
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.ui.tabs.impl import com.intellij.openapi.Disposable import com.intellij.openapi.util.Disposer import com.intellij.ui.tabs.TabsUtil import com.intellij.util.u...
1
null
1
1
c4f0b566e6b2ec410fb3c785e12dab9c6d20ac26
2,686
intellij-community
Apache License 2.0
src/main/kotlin/io/github/serpro69/kfaker/provider/ProgrammingLanguage.kt
jianfang-kso
204,592,729
true
{"Kotlin": 189205, "Groovy": 1142}
package io.github.serpro69.kfaker.provider import io.github.serpro69.kfaker.* import io.github.serpro69.kfaker.dictionary.* /** * [FakeDataProvider] implementation for [CategoryName.PROGRAMMING_LANGUAGE] category. */ class ProgrammingLanguage internal constructor(fakerService: FakerService) : AbstractFakeDataProvid...
0
Kotlin
0
0
36a77fb520f82a1a0b43cf6cd08c54c2c7b9d6d6
548
kotlin-faker
MIT License
packages/nasi-lemak-carrier-services/android/src/main/java/org/nasi/lemak/carrierservices/ESimBridge.kt
diaozheng999
213,815,778
false
{"TypeScript": 204860, "Python": 6815, "Kotlin": 6064, "JavaScript": 3032, "Shell": 81}
package org.nasi.lemak.carrierservices import android.annotation.TargetApi import android.app.PendingIntent import android.content.BroadcastReceiver import android.content.Context import android.content.Intent import android.content.IntentFilter import android.telephony.euicc.DownloadableSubscription import android.te...
90
TypeScript
2
3
2dc41f1e58fcf00d1200e94514d4488cd03cf902
3,927
nasi-lemak
MIT License
feature/explore/src/main/java/com/peonlee/explore/ExploreActivity.kt
YAPP-Github
634,125,265
false
null
package com.peonlee.explore import android.content.Context import android.content.Intent import androidx.activity.viewModels import androidx.core.view.isVisible import androidx.core.widget.addTextChangedListener import com.peonlee.core.ui.base.BaseActivity import com.peonlee.core.ui.base.ProductSearchableViewModel imp...
3
Kotlin
0
7
2b10d9192bc6c72ad6e890ba794a7a62d3e9f633
1,885
pyeonlee-aos
Apache License 2.0
src/test/kotlin/uk/gov/justice/digital/hmpps/approvedpremisesapi/util/JwtAuthHelper.kt
ministryofjustice
515,276,548
false
null
package uk.gov.justice.digital.hmpps.approvedpremisesapi.util import io.jsonwebtoken.Jwts import io.jsonwebtoken.SignatureAlgorithm import org.springframework.context.annotation.Bean import org.springframework.context.annotation.Primary import org.springframework.security.oauth2.jwt.JwtDecoder import org.springframewo...
6
null
2
5
b1468c08a6153621abff4deb0df1988d446c56ce
3,561
hmpps-approved-premises-api
MIT License
src/main/kotlin/endpoints/pages/Pages.kt
basic-mission
480,688,737
false
{"Kotlin": 97001}
package endpoints.pages import endpoints.pages.dto.request.PageRetrieveRequest import endpoints.pages.dto.response.PageResponse import io.ktor.client.* import io.ktor.client.call.* import io.ktor.client.request.* import mu.KotlinLogging open class Pages( private val ktorClient: HttpClient, ) { private val logger = ...
0
Kotlin
0
0
265a648d8e56fe2d2c4c2f6adee182d8a9b25112
586
notion-sdk-jvm
MIT License
src/main/kotlin/endpoints/pages/Pages.kt
basic-mission
480,688,737
false
{"Kotlin": 97001}
package endpoints.pages import endpoints.pages.dto.request.PageRetrieveRequest import endpoints.pages.dto.response.PageResponse import io.ktor.client.* import io.ktor.client.call.* import io.ktor.client.request.* import mu.KotlinLogging open class Pages( private val ktorClient: HttpClient, ) { private val logger = ...
0
Kotlin
0
0
265a648d8e56fe2d2c4c2f6adee182d8a9b25112
586
notion-sdk-jvm
MIT License
app/src/main/java/jp/co/soramitsu/app/di/deps/ComponentDependenciesModule.kt
ModeNode
300,518,840
true
{"Kotlin": 57393}
package jp.co.soramitsu.app.di.deps import dagger.Binds import dagger.Module import dagger.multibindings.IntoMap import jp.co.soramitsu.app.di.app.AppComponent import jp.co.soramitsu.app.di.main.MainDependencies @Module interface ComponentDependenciesModule { @Binds @IntoMap @ComponentDependenciesKey(Mai...
0
null
0
0
15d40658cc79c518e038f40531f56917cd9233e7
423
fearless-Android
Apache License 2.0
solana-kotlin/src/commonTest/kotlin/net/avianlabs/solana/domain/program/AssociatedTokenProgramTest.kt
avianlabs
653,085,616
false
{"Kotlin": 91997}
package net.avianlabs.solana.domain.program import net.avianlabs.solana.domain.randomKey import net.avianlabs.solana.tweetnacl.ed25519.PublicKey import kotlin.test.Test import kotlin.test.assertEquals class AssociatedTokenProgramTest { @Test fun testFindProgramAddress() { for (i in 0..1000) { val progr...
3
Kotlin
0
2
01bbc31b30b5484d23512ed8aeb3451b25bdf63d
1,394
solana-kotlin
MIT License
src/main/kotlin/io/github/dockyardmc/events/PlayerSprintToggleEvent.kt
DockyardMC
650,731,309
false
{"Kotlin": 1019371}
package io.github.dockyardmc.events import io.github.dockyardmc.annotations.EventDocumentation import io.github.dockyardmc.player.Player @EventDocumentation("when player changes sprinting state", false) class PlayerSprintToggleEvent(val player: Player, val sprinting: Boolean): Event
6
Kotlin
7
55
9a0eb8f3184123b79b835356ddde526d9eb6df65
285
Dockyard
MIT License
app/src/main/java/com/mozhimen/taskk/provider/test/MainActivity.kt
mozhimen
737,202,327
false
{"Kotlin": 348381, "Java": 6683}
package com.mozhimen.taskk.provider.test import android.annotation.SuppressLint import android.os.Bundle import com.mozhimen.basick.elemk.androidx.appcompat.bases.viewbinding.BaseActivityVB import com.mozhimen.basick.elemk.commons.I_Listener import com.mozhimen.basick.lintk.optins.OApiInit_InApplication import com.moz...
0
Kotlin
0
3
b67256826bd4e4aeefccf495b23d3ba7b1497a1a
15,410
ATaskKit_Provider
Apache License 2.0
xposed/src/main/java/moe/fuqiuluo/xposed/hooks/blindhook/BlindHookLocation.kt
fuqiuluo
870,496,630
false
{"Kotlin": 280032, "AIDL": 21153, "Java": 3777}
package moe.fuqiuluo.xposed.hooks.blindhook import android.location.Location import de.robv.android.xposed.XposedBridge import moe.fuqiuluo.xposed.BaseLocationHook import moe.fuqiuluo.xposed.utils.FakeLoc import moe.fuqiuluo.xposed.utils.Logger object BlindHookLocation: BaseLocationHook() { operator fun invoke(cl...
0
Kotlin
1
8
ded8017653fb6535cc71e421175d22867d2f12a2
696
Portal
Apache License 2.0
annotation-processor/test-cases/1/input/json/decoding/AutomaticSecondaryConstructorPrimaryInaccessible.kt
fluidsonic
105,949,984
false
null
package json.decoding import io.fluidsonic.json.* @Json( decoding = Json.Decoding.automatic ) class AutomaticSecondaryConstructorPrimaryExcluded @Json.Excluded constructor( val value: String ) { constructor(value: Int) : this(value.toString()) }
9
Kotlin
6
29
f71b7aa99df3cbb5dba194b8ee071490150b2277
253
fluid-json
Apache License 2.0
modules/bridge/src/main/kotlin/ru/astrainteractive/discordbot/module/bridge/WebSocketClient.kt
Astra-Interactive
584,452,095
false
{"Kotlin": 44477}
package ru.astrainteractive.discordbot.module.bridge import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.cancel import kotlinx.coroutines.delay import kotlinx.coroutines.flow.Flow import kotlinx.coroutines.flow.MutableSharedFlow import kotlinx.coroutines.flow.MutableStateFlow import kotlinx.coroutines.flow...
2
Kotlin
0
0
8ebededeb5876e7275850548e921aa464abc23b0
5,775
TelegramBridge
MIT License
module-about/src/main/java/com/orange/ods/module/about/domain/OdsAboutDomainModule.kt
Orange-OpenSource
440,548,737
false
{"Kotlin": 1041275, "HTML": 26065, "CSS": 14905, "Shell": 587, "JavaScript": 197}
/* * Software Name: Orange Design System * SPDX-FileCopyrightText: Copyright (c) Orange SA * SPDX-License-Identifier: MIT * * This software is distributed under the MIT licence, * the text of which is available at https://opensource.org/license/MIT/ * or see the "LICENSE" file for more details. * * Software de...
77
Kotlin
9
17
a0f69bea2bc10e8af4a1e50dcf34cff74adc4ff3
1,025
ods-android
MIT License
app/src/main/java/com/admin/ozieats_app/ui/home/cart/CartItemAdapter.kt
chetan532
602,176,592
false
{"Kotlin": 547623, "Java": 49451}
package com.admin.ozieats_app.ui.home.cart import android.app.Activity import android.content.Context import android.view.LayoutInflater import android.view.ViewGroup import android.view.WindowManager import android.widget.ImageView import android.widget.TextView import androidx.databinding.DataBindingUtil import andr...
0
Kotlin
0
0
4fd3704a83c8e3ad7026bfda167c9b9b654384b1
9,439
ozieats
MIT License
tools/simulator/src/main/kotlin/io/libp2p/simulate/stream/Libp2pConnectionImpl.kt
libp2p
189,293,403
false
null
package io.libp2p.simulate.stream import io.libp2p.core.PeerId import io.libp2p.core.crypto.PubKey import io.libp2p.core.multiformats.Multiaddr import io.libp2p.core.security.SecureChannel import io.libp2p.simulate.util.DummyChannel import io.libp2p.simulate.util.NullTransport import io.libp2p.transport.implementation...
30
null
75
265
7cf9e990c77be65f549ecfe9d4e908f59796c2dc
867
jvm-libp2p
Apache License 2.0
integration/camunda-bpm/engine-client/src/test/kotlin/io/holunda/camunda/client/task/TaskEventHandlerTest.kt
margue
384,111,593
true
{"Kotlin": 647631}
package io.holunda.camunda.client.task import io.holunda.camunda.client.CamundaEngineClientProperties import io.holunda.camunda.taskpool.api.task.* import org.camunda.bpm.engine.TaskService import org.camunda.bpm.extension.mockito.QueryMocks import org.camunda.bpm.extension.mockito.task.TaskFake import org.junit.jupit...
0
null
0
0
d5797861e5d7126dcdfd5e5b9cca8478f887cf68
2,952
camunda-bpm-taskpool
Apache License 2.0
src/main/kotlin/com/freewill/repository/jpa/ProfileRepository.kt
free-wiII
685,840,987
false
{"Kotlin": 117508, "HTML": 76338}
package com.freewill.repository.jpa import com.freewill.entity.Profile import com.freewill.entity.User import org.springframework.data.jpa.repository.JpaRepository import org.springframework.stereotype.Repository @Repository interface ProfileRepository : JpaRepository<Profile, Long> { fun findByUser(user: User): ...
0
Kotlin
0
2
1dfee10b9bcd740abaaa418e9be71e11bf11f4da
331
synergy-be
MIT License
src/main/kotlin/com/geogrind/geogrindbackend/repositories/sessions/SessionsRepository.kt
GeoGrind
703,185,030
false
{"Kotlin": 355636, "Shell": 2624, "HTML": 1687, "Dockerfile": 488, "Java": 302}
package com.geogrind.geogrindbackend.repositories.sessions import com.geogrind.geogrindbackend.models.sessions.Sessions import com.geogrind.geogrindbackend.models.user_profile.UserProfile import org.springframework.data.jpa.repository.JpaRepository import org.springframework.stereotype.Repository import java.util.Opti...
13
Kotlin
0
2
b1d44aac6e304f5c97ba233882c0dca42eddf3f7
492
GeoGrind-Backend
Apache License 2.0
meistercharts-api/meistercharts-easy-api/src/jsMain/kotlin/com/meistercharts/api/line/LineChartSimpleConverter.kt
Neckar-IT
599,079,962
false
{"Kotlin": 5819931, "HTML": 87784, "JavaScript": 1378, "CSS": 1114}
/** * Copyright 2023 Neckar IT GmbH, Mössingen, Germany * * 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 appli...
3
Kotlin
3
5
ed849503e845b9d603598e8d379f6525a7a92ee2
7,032
meistercharts
Apache License 2.0
confluence-plugin/src/main/java/com/networkedassets/git4c/boundary/inbound/RequestedFile.kt
rpaasche
321,741,515
true
{"Kotlin": 798728, "JavaScript": 351426, "Java": 109291, "Groovy": 55451, "CSS": 37375, "ANTLR": 19544, "Gherkin": 15007, "HTML": 14268, "Shell": 4490, "Ruby": 1378, "Batchfile": 1337, "PowerShell": 716}
package com.networkedassets.git4c.boundary.inbound data class RequestedFile( val file: String )
0
Kotlin
0
0
e55391b33cb70d66bbf5f36ba570fb8822f10953
104
git4c
Apache License 2.0
shell/src/main/java/com/stewemetal/takehometemplate/shell/domain/usecase/GetItemUseCase.kt
stewemetal
782,690,916
false
{"Kotlin": 80236}
package com.stewemetal.takehometemplate.shell.domain.usecase import com.stewemetal.takehometemplate.shell.architecture.DispatcherProvider import com.stewemetal.takehometemplate.shell.domain.model.Item import com.stewemetal.takehometemplate.shell.domain.model.ItemId import com.stewemetal.takehometemplate.shell.reposito...
0
Kotlin
0
0
ee39c12d7a1a6bce3364f0d857bab6a2ac7de51c
704
locationmockery
Apache License 2.0
app/src/main/java/com/kevalpatel2106/ci/greenbuild/main/AccountsAdapter.kt
kevalpatel2106
129,620,378
false
null
/* * Copyright 2018 <NAME>. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0. * * Unless required by applicable law or agreed to in writing, s...
6
Kotlin
14
75
da9f2e64cd09848528f313d0e3188b7c40f4b3f7
1,448
green-build
Apache License 2.0
src/main/kotlin/dev/tmsoft/lib/openapi/spec/Components.kt
turbomates
496,384,184
false
null
package dev.tmsoft.lib.openapi.spec import kotlinx.serialization.Contextual import kotlinx.serialization.Serializable import kotlinx.serialization.json.JsonElement @Serializable data class Components( val schemas: Map<String, SchemaObject>, val responses: Map<String, ResponseObject>, val parameters: Map<S...
0
Kotlin
0
0
f7d0c9ec3216d56e35d18108b708c468d5980d9e
4,887
ktor-open-api
MIT License
java/service-transport-ipc/src/main/java/one/tesseract/service/transport/ipc/IPCTransport.kt
tesseract-one
515,723,398
false
{"Rust": 115074, "Kotlin": 30237}
package one.tesseract.service.transport.ipc import one.tesseract.service.transport.BoundTransport import one.tesseract.service.transport.JavaTransport import one.tesseract.service.transport.Processor class IPCTransport(private val channel: String = "default"): JavaTransport { companion object { @JvmStatic...
4
Rust
2
2
22efca1fd784e71137473d85c4b2343a5d36cec0
506
Tesseract.android
Apache License 2.0
app/src/main/java/com/stevenschoen/putionew/files/FileDownloadMaintenance.kt
DSteve595
5,757,119
false
null
package com.stevenschoen.putionew.files import android.app.Activity import android.app.DownloadManager import android.app.job.JobParameters import android.app.job.JobService import android.content.Context import android.os.AsyncTask import androidx.annotation.WorkerThread import com.stevenschoen.putionew.putioApp cla...
19
Kotlin
30
142
42a2196ee8e80cce3b8582f18fe38594d3f6b7ce
3,334
Put.io
MIT License
app/src/main/java/com/neoapps/skijahorina/features/skicenter/weather/WeatherFragment.kt
MilosVulic
872,651,256
false
{"Kotlin": 120456}
package com.neoapps.skijahorina.features.skicenter.weather import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.TextView import androidx.fragment.app.Fragment import androidx.navigation.fragment.navArgs import androidx.recyclerview.wid...
0
Kotlin
0
0
58cd580894db16d14b8a849048299887fc790f24
3,559
Ski-Jahorina
MIT License
app/src/main/kotlin/ir/erfansn/nsmavpn/data/util/NetworkUsageTracker.kt
erfansn
547,180,309
false
{"Kotlin": 611093, "HTML": 313045}
/* * Copyright 2024 Erfan Sn * * 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 in...
13
Kotlin
1
35
230181bfc03b19bd5bb52818ee0b8b19078a4ec1
3,796
NsmaVPN
Apache License 2.0
livekit-android-test/src/main/java/livekit/org/webrtc/MockPeerConnectionFactory.kt
livekit
339,892,560
false
null
/* * Copyright 2023-2024 LiveKit, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
62
null
69
176
b2858976de9ea0c91fd0d29432e8a2a7f973e30b
3,194
client-sdk-android
Apache License 2.0
yapp-auth/src/main/kotlin/auth/BasicAuthUtils.kt
IgorPerikov
131,679,239
false
null
package auth import io.ktor.auth.Principal import io.ktor.auth.UserIdPrincipal import io.ktor.auth.UserPasswordCredential import io.ktor.util.encodeBase64 import io.ktor.util.getDigestFunction import org.jetbrains.exposed.sql.and import org.jetbrains.exposed.sql.transactions.transaction object BasicAuthUtils { pr...
0
Kotlin
0
1
4a34a924bb25c0872d83e044763e604a0e46d469
1,250
yapp
MIT License
authentication-service/api/src/main/kotlin/org/amogus/authenticationservice/api/requests/AuthenticationRequest.kt
Doremi203
805,741,239
false
{"Kotlin": 87060, "Dockerfile": 15}
package org.amogus.authenticationservice.api.requests import jakarta.validation.constraints.Email import jakarta.validation.constraints.NotBlank data class AuthenticationRequest( @get:NotBlank(message = "Email is required") @get:Email(message = "Invalid email") val email: String, @get:NotBlank(messag...
0
Kotlin
0
0
55c044cfed78fb7e35d17bb9a973622df5ef5db0
376
TicketsMicroservices
MIT License
src/main/kotlin/us/frollo/frollosdk/model/coredata/reports/ReportDateFormat.kt
frollous
261,670,220
false
null
/* * Copyright 2019 Frollo * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
5
Kotlin
0
2
3eed44186c366a9d47252779d11433157403db94
1,468
frollo-android-sdk
Apache License 2.0
svg-to-compose/src/commonMain/kotlin/dev/tonholo/s2c/domain/avg/gradient/AvgGradientType.kt
rafaeltonholo
659,782,425
false
{"Kotlin": 518715, "Shell": 5365}
package dev.tonholo.s2c.domain.avg.gradient import dev.tonholo.s2c.logger.warn enum class AvgGradientType { Linear, Radial, Sweep, ; override fun toString(): String = name.lowercase() companion object { operator fun invoke(value: String): AvgGradientType = when (value) { ...
5
Kotlin
2
61
b3e7c5ffa041d5d31c686d72b9119661b5e4ce7b
694
svg-to-compose
MIT License
alice-ktx/src/main/kotlin/com/github/alice/ktx/api/common/Response.kt
danbeldev
833,612,985
false
{"Kotlin": 63137}
package com.github.alice.ktx.api.common /** * Запечатанный интерфейс, представляющий ответ, который может быть либо успешным, либо неудачным. * * @param T Тип данных, возвращаемых в успешном ответе. */ sealed interface Response<T> { /** * Представляет неудачный ответ. * * @param T Тип данных, к...
0
Kotlin
0
3
11a47be88a2fe3aeede7300c1daf122ddf56cdf8
728
alice-ktx
MIT License
indy-utils/src/test/kotlin/com/luxoft/blockchainlab/hyperledger/indy/AnoncredsDemoTest.kt
advata
153,336,525
true
{"Kotlin": 208863, "Dockerfile": 1875, "Shell": 281}
package com.luxoft.blockchainlab.hyperledger.indy import com.luxoft.blockchainlab.hyperledger.indy.utils.LedgerService import com.luxoft.blockchainlab.hyperledger.indy.utils.PoolManager import com.luxoft.blockchainlab.hyperledger.indy.utils.SerializationUtils import com.luxoft.blockchainlab.hyperledger.indy.utils.Stor...
0
Kotlin
0
0
cea4bf85c125693455d739d8b4f74b0e3c4bb321
12,977
Lumedic-cordentity
Apache License 2.0
main/src/test/java/org/fnives/android/test/dockerfile/configuration/ConfigurationParserTest.kt
fknives
528,731,489
false
{"Kotlin": 46734, "Dockerfile": 8624, "Shell": 6926}
package org.fnives.android.test.dockerfile.configuration import org.fnives.android.test.dockerfile.util.resourceFileAsInputStream import org.junit.jupiter.api.Assertions import org.junit.jupiter.api.BeforeEach import org.junit.jupiter.api.Test class ConfigurationParserTest { private lateinit var parser: Configur...
0
Kotlin
1
0
e478a4c83617907acba43ecdb60569efa9ea0e73
1,843
AndroidEmuTestImg
Apache License 2.0
keyboard-kt/src/jsTest/kotlin/com/github/animeshz/keyboard/TestUtils.kt
Animeshz
318,761,308
false
null
package com.github.animeshz.keyboard import kotlinx.coroutines.CoroutineScope import kotlinx.coroutines.GlobalScope import kotlinx.coroutines.promise actual fun runBlockingTest(block: suspend CoroutineScope.() -> Unit): dynamic = GlobalScope.promise { this.block() }
5
Kotlin
2
49
2d17241a61179c29f2dd1f48137cfbb1bc1d12f4
273
keyboard-mouse-kt
MIT License
app/src/main/java/ch/dreipol/rezhycle/utils/ReminderUtils.kt
terrakok
334,467,384
true
{"Kotlin": 145354, "Swift": 99066, "Ruby": 16325, "Shell": 483}
package ch.dreipol.rezhycle.utils import android.content.BroadcastReceiver import android.content.Context import android.content.Intent import androidx.work.* import ch.dreipol.multiplatform.reduxsample.shared.database.* import java.util.concurrent.TimeUnit import kotlin.time.ExperimentalTime import kotlinx.datetime.C...
0
Kotlin
0
1
d35f0034f3fa870c00dd783d692dc586c8785614
3,150
multiplatform-redux-sample
MIT License
src/main/kotlin/io/github/stream29/streamlin/Functional.kt
Stream29
859,505,101
false
{"Kotlin": 60065}
package io.github.stream29.streamlin /** * Filters a value based on a predicate. * * @param predicate A function that returns true if the value should be kept, false otherwise. * @return The value if the predicate returns true, null otherwise. */ inline fun <T : Any> T.filter(crossinline predicate: T.() -> Boolea...
0
Kotlin
0
3
a364da159a0a3b5f73baf261490112271433d599
728
Streamlin
Apache License 2.0
fundamentals/android/auth-sign-in-with-google/Notes/app/src/main/java/com/notes/app/screens/account_center/AccountCenterButtons.kt
FirebaseExtended
467,490,083
false
{"Swift": 584690, "Kotlin": 163332, "JavaScript": 48493, "CSS": 41317, "Vue": 5664, "HTML": 3230}
package com.notes.app.screens.account_center import android.util.Log import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Row import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.foundation.layout.padding import androidx.compose.material.icons.Icons impor...
23
Swift
114
98
8e0e8bc0d62924c8f9176a7036f58d92572f6f54
7,650
firebase-video-samples
Apache License 2.0
android/src/main/java/com/google/samples/apps/iosched/gcm/command/NotificationCommand.kt
brentwatson
70,599,432
true
{"Gradle": 11, "Java Properties": 9, "Shell": 3, "Ignore List": 6, "Batchfile": 2, "Text": 10, "YAML": 2, "Markdown": 11, "HTML": 24, "CSS": 4, "JavaScript": 3, "Java": 206, "XML": 277, "JSON": 1, "Kotlin": 172, "SVG": 3, "Makefile": 2, "Ant Build System": 1, "INI": 7, "Maven POM": 2}
/* * Copyright 2014 Google Inc. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
0
Kotlin
0
0
e6f4a8ad4d1c84f55bfb5c3140c171af1792343b
9,731
iosched
Apache License 2.0
bookingservice-mappers/src/main/kotlin/mapper/MapperSlotFromTransport.kt
akopovab
638,664,041
false
null
package ru.otuskotlin.public.bookingservice.mappers.mapper import ru.otuskotlin.public.bookingservice.api.models.* import ru.otuskotlin.public.bookingservice.common.context.Impl.BsSlotContext import ru.otuskotlin.public.bookingservice.common.models.BsRequestId import ru.otuskotlin.public.bookingservice.common.models.m...
1
Kotlin
0
0
5fcf69608ec26f746e13c006420d5f353d391ffe
1,162
ok-bookingservice
Apache License 2.0
src/cds/src/main/kotlin/org/icpclive/cds/cms/model/Team.kt
icpc
447,849,919
false
{"Kotlin": 494337, "JavaScript": 246365, "HTML": 76741, "TypeScript": 30915, "Python": 2450, "SCSS": 1034, "CSS": 466, "Dockerfile": 406, "Shell": 344, "Batchfile": 199}
package org.icpclive.cds.cms.model import kotlinx.serialization.Serializable @Serializable internal data class Team(val name: String)
17
Kotlin
11
36
e3cb0165d86f7dc0d1232cb35988743d44fe80c9
135
live-v3
MIT License
src/commonMain/kotlin/com/ditchoom/mqtt5/controlpacket/properties/ServerReference.kt
DitchOoM
422,091,819
false
null
package com.ditchoom.mqtt5.controlpacket.properties import com.ditchoom.buffer.WriteBuffer data class ServerReference(val otherServer: String) : Property(0x1C, Type.UTF_8_ENCODED_STRING) { override fun write(buffer: WriteBuffer): Int = write(buffer, otherServer) override fun size(): Int = size(otherServer...
0
Kotlin
0
0
eb45a9961e1873dd4bd3abb7446d25f96e14f7cf
324
mqtt-5-models
Apache License 2.0
src/main/kotlin/com/fluxtah/ask/app/commanding/commands/ListRunSteps.kt
fluxtah
794,032,032
false
null
/* * Copyright (c) 2024 <NAME> * Released under the MIT license * https://opensource.org/licenses/MIT */ package com.fluxtah.ask.app.commanding.commands import com.fluxtah.ask.api.clients.openai.assistants.AssistantsApi import com.fluxtah.ask.api.clients.openai.assistants.model.AssistantRunStepList import com.flu...
4
null
0
8
c59cfeee7b7034e08b64a0bf31d770b0b123f875
1,048
ask
MIT License
app/src/main/java/com/wavesplatform/wallet/v2/injection/module/NetworkModule.kt
wavesplatform
98,419,999
false
null
/* * Created by Eduard Zaydel on 1/4/2019 * Copyright © 2019 Waves Platform. All rights reserved. */ package com.wavesplatform.wallet.v2.injection.module import android.content.Context import android.util.Log import com.google.gson.FieldNamingPolicy import com.google.gson.Gson import com.google.gson.GsonBuilder im...
2
null
52
55
5f4106576dc4fe377a355d045f638e7469cd6abe
7,727
WavesWallet-android
MIT License
ToolBarBorder/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.metal.MetalBorders fun makeUI(): Component { val toolBar1 = object : JToolBar("Customized ToolBarBorder") { override fun updateUI() { super.updateUI() border = ToolBarDragBorder() } }.also { it.add(JLabel("<- Cu...
0
Kotlin
6
28
433dfe2513f1016eeb1fdc0c42551623a8cfaadf
3,729
kotlin-swing-tips
MIT License
gradle-plugin/src/main/kotlin/dev/schlaubi/mikbot/gradle/extension/Extensions.kt
DRSchlaubi
409,332,765
false
null
package dev.schlaubi.mikbot.gradle.extension import dev.schlaubi.mikbot.gradle.BuildRepositoryExtension import org.gradle.api.Project import org.gradle.api.plugins.ExtensionAware import org.gradle.api.plugins.ExtensionContainer const val pluginExtensionName = "mikbotPlugin" private const val pluginPublishingExtensio...
17
null
12
36
5b57b3e6e8a06324da478231f6bd7035a0c1feb2
2,433
mikbot
MIT License
app/src/main/java/com/yenaly/han1meviewer/util/Versions.kt
YenalyLiew
524,046,895
false
{"Kotlin": 721116, "Java": 88900}
package com.yenaly.han1meviewer.util import android.content.Context import android.content.Intent import android.graphics.Typeface import androidx.appcompat.app.AlertDialog import androidx.core.content.FileProvider import com.google.android.material.dialog.MaterialAlertDialogBuilder import com.itxca.spannablex.spannab...
15
Kotlin
54
815
3db1537f3893a57d68af11e02818d39dc947180c
2,483
Han1meViewer
Apache License 2.0
goldeneye/src/main/java/co/infinum/goldeneye/GoldenEye1Impl.kt
infinum
54,713,189
false
null
@file:Suppress("DEPRECATION") package co.infinum.goldeneye import android.annotation.SuppressLint import android.app.Activity import android.graphics.Bitmap import android.hardware.Camera import android.os.Build import android.view.TextureView import co.infinum.goldeneye.config.CameraConfig import co.infinum.goldeney...
15
Kotlin
52
374
5f9a7106043b68013aa65c65f8e552f64a46e8c5
11,297
Android-GoldenEye
Apache License 2.0
examples/src/test/kotlin/examples/onnx/cv/OnnxResNetTestSuite.kt
JetBrains
249,948,572
false
null
/* * Copyright 2020 JetBrains s.r.o. and Kotlin Deep Learning project contributors. All Rights Reserved. * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE.txt file. */ package examples.onnx.cv import examples.onnx.cv.custom.resnet50CustomPrediction import examples.onn...
81
null
79
806
efaa1ebdf7bf9a131826d3ded42e1eb178e4fd19
2,168
KotlinDL
Apache License 2.0