path
stringlengths
4
280
owner
stringlengths
2
39
repo_id
int64
21.1k
879M
is_fork
bool
2 classes
languages_distribution
stringlengths
13
1.95k
⌀
content
stringlengths
7
482k
issues
int64
0
13.9k
main_language
stringclasses
121 values
forks
stringlengths
1
5
stars
int64
0
111k
commit_sha
stringlengths
40
40
size
int64
7
482k
name
stringlengths
1
100
license
stringclasses
93 values
app/src/main/java/it/stefanocappa/kotlinexample/MainActivity.kt
Ks89
43,848,053
false
null
/* * Copyright (C) 2015 <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 ...
0
Kotlin
0
0
d2c73226643cf82da21f46ff8098cd0ee3e2e6c1
1,177
Kotlin_Example
Apache License 2.0
app/src/main/java/br/com/meiadois/decole/presentation/user/education/EducationHomeTopFragment.kt
meiadois
256,744,460
false
null
package br.com.meiadois.decole.presentation.user.education import android.graphics.Color import android.os.Bundle import android.util.Log import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.core.content.ContextCompat import androidx.fragment.app.Fragment import and...
0
Kotlin
1
2
f9c861124d3a1031bf0b802465eaa166c16f1693
9,141
decole-android
MIT License
app/src/main/java/com/l3udy/junit/viewmodel/LoginViewModel.kt
SetiaBudy-Me
517,185,790
false
null
package com.l3udy.junit.viewmodel import androidx.lifecycle.MutableLiveData import androidx.lifecycle.ViewModel import com.l3udy.junit.R import com.l3udy.junit.model.ApiResult import com.l3udy.junit.utils.Validator /* * LoginViewModel * - ViewModel that updates the LoginActivity (the visible UI) * - Gets the da...
0
Kotlin
0
0
a79d98e114a6d56ca521d7f56e0baf6280de32f1
1,398
basic-android-unit-testing-with-junit
Apache License 2.0
app/src/main/java/com/cardosofgui/valorantcharacters/ui/theme/Color.kt
CardosofGui
525,194,382
false
null
package com.cardosofgui.valorantcharacters.ui.theme import androidx.compose.ui.graphics.Color val Purple200 = Color(0xFFBB86FC) val Purple500 = Color(0xFF6200EE) val Purple700 = Color(0xFF3700B3) val Teal200 = Color(0xFF03DAC5) val MainRed = Color(0xFF4457)
0
Kotlin
0
1
67c9afd6f407057327ae281eaeb9ed6f50c232b4
259
valorant-agents-compose
MIT License
src/jsMain/kotlin/pw/binom/web/layout/GridLayout.kt
caffeine-mgn
516,913,057
false
{"Kotlin": 49553}
package pw.binom.web.layout import kotlinx.browser.document import org.w3c.dom.Element import org.w3c.dom.HTMLDivElement import org.w3c.dom.HTMLElement import org.w3c.dom.get import pw.binom.web.AbstractComponent import pw.binom.web.Component class GridLayout<T : HTMLElement>(parent: T) : SimpleLayout<T>(parent), Com...
0
Kotlin
0
0
a10748ab1fbcdb39c8b117ab1efdbcc7afc1bdba
1,442
web-ui
Apache License 2.0
hadith/src/main/java/com/rahmadev/hamba/hadith/HadithFragment.kt
rahmadnoorikhsan
729,571,011
false
{"Kotlin": 78137, "Java": 3429}
package com.rahmadev.hamba.hadith import android.os.Bundle import android.view.LayoutInflater import android.view.Menu import android.view.MenuInflater import android.view.MenuItem import android.view.View import android.view.ViewGroup import android.widget.Toast import androidx.appcompat.app.AppCompatActivity import ...
0
Kotlin
0
0
ad589c072d95ffe43c5a6274219550e9742969e7
3,321
Hamba
MIT License
app/src/main/java/ml/dvnlabs/animize/ui/fragment/Global.kt
rootdavinalfa
177,693,326
false
null
/* * Copyright (c) 2020. * Animize Devs * Copyright 2019 - 2020 * <NAME> <<EMAIL>> * This program used for watching anime without ads. * */ package ml.dvnlabs.animize.ui.fragment import android.util.Log import androidx.fragment.app.Fragment import androidx.fragment.app.FragmentManager import ml.dvnlabs.animize...
1
Kotlin
1
2
c12aa046a42712794dc3f7e06dbbcee654c1e79f
1,473
animize
Apache License 2.0
src/main/kotlin/uk/gov/justice/digital/hmpps/externalusersapi/security/MaintainUserCheck.kt
ministryofjustice
534,648,415
false
null
package uk.gov.justice.digital.hmpps.externalusersapi.security import com.google.common.collect.Sets import kotlinx.coroutines.async import kotlinx.coroutines.coroutineScope import kotlinx.coroutines.flow.toList import kotlinx.coroutines.flow.toSet import org.springframework.security.core.GrantedAuthority import org.s...
3
Kotlin
0
0
f1b886e0626538dba0fa59a31edc1d6bbcd779f3
2,591
hmpps-external-users-api
MIT License
src/test/kotlin/no/nav/arbeidsgiver/sykefravarsstatistikk/api/statistikk/sykefraværshistorikk/aggregert/SumAvSykefraværOverFlereKvartalerTest.kt
navikt
201,881,144
false
{"Kotlin": 796531, "Shell": 1600, "Dockerfile": 213}
package no.nav.arbeidsgiver.sykefravarsstatistikk.api.statistikk.sykefraværshistorikk.aggregert import no.nav.arbeidsgiver.sykefravarsstatistikk.api.applikasjon.domenemodeller.* import no.nav.arbeidsgiver.sykefravarsstatistikk.api.applikasjon.domenemodeller.SumAvSykefraværOverFlereKvartaler.MaskertDataFeil import org....
0
Kotlin
2
0
fd3e4795c206dd0565fb8fc968504f0df5acae09
3,871
sykefravarsstatistikk-api
MIT License
liveVideoBroadcasterSDK/src/main/kotlin/io/antmedia/android/broadcaster/network/MediaMuxer.kt
yoshi991
241,602,208
false
{"Gradle": 4, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "Proguard": 2, "Java": 35, "XML": 15, "Kotlin": 3}
package io.antmedia.android.broadcaster.network interface MediaMuxer { enum class Type { SEND_AUDIO, SEND_VIDEO, STOP_STREAMING } /** * @param url [RTMP Base URL]/[Application Key]]/[Stream Key] */ fun open(url: String): Boolean fun close() /** * @para...
1
null
1
1
bae7d8b16ed01924dbc45dec8e293916e643ccf4
979
LiveVideoBroadcaster
Apache License 2.0
app/src/main/java/it/torino/mobin/onboarding/permissions/PrivacyPolicy.kt
fabcira
776,354,078
false
{"Kotlin": 376104}
package it.torino.mobin.onboarding.permissions import android.content.Context import android.content.Intent import android.net.Uri import androidx.compose.foundation.border import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.Row import an...
0
Kotlin
0
0
7639774b5ef546b478dc2a3b394e35437cb1cb42
8,353
healthTracker
MIT License
rounded/src/commonMain/kotlin/me/localx/icons/rounded/bold/FonduePot.kt
localhostov
808,861,591
false
{"Kotlin": 79430321, "HTML": 331, "CSS": 102}
package me.localx.icons.rounded.bold import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap.Companion.Butt import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter im...
1
Kotlin
0
5
cbd8b510fca0e5e40e95498834f23ec73cc8f245
3,928
icons
MIT License
dlang/psi-impl/src/main/kotlin/io/github/intellij/dlanguage/psi/TypeResolveUtil.kt
intellij-dlanguage
27,922,930
false
{"D": 1787183, "Kotlin": 1068238, "Java": 834373, "Lex": 22913, "DTrace": 3220, "HTML": 1386, "Makefile": 457}
package io.github.intellij.dlanguage.psi import com.intellij.psi.PsiQualifiedReference import io.github.intellij.dlanguage.psi.interfaces.DNamedElement import io.github.intellij.dlanguage.psi.resolve.processor.TypeProcessor import io.github.intellij.dlanguage.psi.scope.PsiScopesUtil object TypeResolveUtil { fun r...
160
D
51
328
298d1db45d2b35c1715a1b1b2e1c548709101f05
782
intellij-dlanguage
MIT License
compose/src/main/java/androidx/compose/material/samples/ThemeSamples.kt
arkivanov
288,587,741
true
{"Kotlin": 578007, "Shell": 5712, "HTML": 2737}
/* * Copyright 2019 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...
0
null
0
1
46835551a488a4dba913d272d5f01bcd6c905f2a
2,539
Jetpack-Compose-Playground
MIT License
mvvm/src/main/java/com/zhangteng/mvvm/utils/GlideBindingUtils.kt
DL-ZhangTeng
536,516,272
false
{"Kotlin": 192886}
package com.zhangteng.mvvm.utils import com.bumptech.glide.load.resource.bitmap.* import com.bumptech.glide.request.RequestOptions class GlideBindingUtils { object DownampleStrategies { /** * Downsamples so the image's smallest dimension is between the given dimensions and 2x the given ...
0
Kotlin
0
1
b8d0d469cc342abf95f874c028e17b25e636f250
11,126
MVVM
The Unlicense
modulecheck-gradle/platforms/internal-android/src/main/kotlin/modulecheck/gradle/platforms/android/internal/project.kt
RBusarow
316,627,145
false
null
/* * Copyright (C) 2021-2022 Rick Busarow * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
26
Kotlin
6
85
3a6e635a03000de3a88b21d04b774a58c22c6b32
3,498
ModuleCheck
Apache License 2.0
sample-jvm/src/test/kotlin/com/vinaysshenoy/quarantine/sample/jvm/CanaryTest.kt
obvious
251,010,628
false
null
package com.vinaysshenoy.quarantine.sample.jvm import com.vinaysshenoy.quarantine.QuarantineTestRule import org.junit.Rule import org.junit.Test import org.opentest4j.AssertionFailedError import strikt.api.expectThat import strikt.assertions.isEqualTo class CanaryTest { @get:Rule val rule = QuarantineTestRul...
6
Kotlin
1
1
887a6746a91b7c2ded8ab1b7a2ae810af5adcb97
590
dx-flakiness
MIT License
plot-base-portable/src/commonMain/kotlin/jetbrains/datalore/plot/base/coord/FlippedCoordinateSystem.kt
joshuayan
414,632,375
true
{"Kotlin": 5330777, "Python": 751506, "C": 2832, "CSS": 1949, "Shell": 1759, "JavaScript": 1121}
/* * Copyright (c) 2021. JetBrains s.r.o. * Use of this source code is governed by the MIT license that can be found in the LICENSE file. */ package jetbrains.datalore.plot.base.coord import jetbrains.datalore.base.geometry.DoubleVector import jetbrains.datalore.plot.base.CoordinateSystem internal class FlippedCo...
0
null
0
0
e7092424bb0c62183328552faec16ed062e42e7b
1,019
lets-plot
MIT License
idea/testData/refactoring/changeSignature/PrimaryConstructorBySuperRefBefore.kt
JakeWharton
99,388,807
true
null
open class A() { constructor(a: Int) : this() { } } open class B: A { constructor(a: Int) : <caret>super() { } } open class C: A { constructor(a: Int) { } } fun test() { A() }
0
Kotlin
28
83
4383335168338df9bbbe2a63cb213a68d0858104
209
kotlin
Apache License 2.0
appcues/src/main/java/com/appcues/data/remote/appcues/request/PushRequest.kt
appcues
413,524,565
false
{"Kotlin": 1343875, "Shell": 18150, "Ruby": 1534}
package com.appcues.data.remote.appcues.request import com.squareup.moshi.Json import com.squareup.moshi.JsonClass @JsonClass(generateAdapter = true) internal data class PushRequest( @Json(name = "device_id") val deviceId: String, @Json(name = "test_id") val token: String? = null )
15
Kotlin
3
10
337cfe569c236892915c079d3b5744fb3dd63564
301
appcues-android-sdk
MIT License
site/src/jsMain/kotlin/example/shadcn_kotlin/ui/pages/components/demo/InputFile.kt
dead8309
657,395,822
false
null
package example.shadcn_kotlin.ui.pages.components.demo import react.FC import react.Props import react.dom.html.ReactHTML.div import shadcn.ui.components.Input import shadcn.ui.components.Label import web.cssom.ClassName import web.html.InputType val InputFile = FC<Props> { div { className = ClassName("gr...
0
Kotlin
1
15
7ab7687536073f50a0da8ac8c2d0a32577794fcb
533
shadcn-kotlin
MIT License
app/src/main/java/com/tephra/mc/whatsupdoc/data/repository/login/LoginRepo.kt
manfung
147,026,942
false
null
package com.tephra.mc.whatsupdoc.data.repository.login import com.tephra.mc.whatsupdoc.data.model.User import com.tephra.mc.whatsupdoc.data.repository.Resource import com.tephra.mc.whatsupdoc.data.remote.LoginApiService import javax.inject.Inject class LoginRpo @Inject constructor(private val loginApiService: LoginAp...
0
Kotlin
0
0
93f795c580b4c8851cb38d7d0a2d07e702a2c8e5
700
whats-up-doc
Apache License 2.0
app/src/main/java/st235/com/github/strictcanary/sampleapp/StrictCanaryApplication.kt
st235
517,147,144
false
{"Kotlin": 100441}
package st235.com.github.strictcanary.sampleapp import android.app.Application import java.io.File import st235.com.github.strictcanary.StrictCanary import st235.com.github.strictcanary.StrictCanaryDetectionPolicy import st235.com.github.strictcanary.data.StrictCanaryViolation class StrictCanaryApplication: Applicati...
0
Kotlin
0
0
e7c5ad21f00ea1f883979bdebf78cae9c375b922
1,038
StrictCanary
MIT License
plugins/package-search/maven/src/com/jetbrains/packagesearch/intellij/plugin/maven/MavenProjectModuleType.kt
dmgd
74,784,489
false
null
/******************************************************************************* * Copyright 2000-2022 JetBrains s.r.o. and contributors. * * 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 ...
1
null
1
1
bf341b3f719c5bc08303b2e165d71c277fe2775c
1,925
intellij-community
Apache License 2.0
app/src/main/kotlin/sea/grammar/statements/Stat.kt
DavidMacDonald11
591,012,514
false
null
package sea.grammar import sea.stages.* abstract class Stat: Node() { companion object: Node.CompanionObject { override fun construct(parser: Parser): Node { return BasicStat.construct(parser) } } }
0
Kotlin
1
1
234e4a737f684d96bcdd17763bc16eafd722095d
237
tutorial-language
MIT License
lib/src/main/kotlin/geojson/geometry/impl/MultiLineString.kt
chris-hatton
101,699,623
false
null
package geojson.geometry.impl import geojson.geometry.Geometry import geojson.geometry.MultiGeometry /** * https://tools.ietf.org/html/rfc7946#section-3.1.7 */ class MultiLineString(coordinates: List<LineStringCoordinates>) : Geometry<List<LineStringCoordinates>>(coordinates), MultiGeometry<LineString> { overr...
0
null
4
15
b29aaae33af19451f0e054b7fb408345c1671c7e
913
geojson-kotlin
Apache License 2.0
app/src/test/java/com/intive/tmdbandroid/usecase/SearchTVShowUseCaseTest.kt
intive-FDV
404,383,579
false
null
package com.intive.tmdbandroid.usecase import androidx.arch.core.executor.testing.InstantTaskExecutorRule import androidx.paging.PagingData import app.cash.turbine.test import com.intive.tmdbandroid.common.MainCoroutineRule import com.intive.tmdbandroid.model.Genre import com.intive.tmdbandroid.model.Network import co...
0
Kotlin
1
1
381194d2083ac1e8d82749c3ac7a61832e5b350c
2,722
TMDBAndroid
Apache License 2.0
kotpref/src/main/kotlin/com/chibatching/kotpref/ContextProvider.kt
chibatching
40,081,857
false
null
package com.chibatching.kotpref import android.content.Context public fun interface ContextProvider { public fun getApplicationContext(): Context }
6
Kotlin
52
695
e38e5318aaccf60a622838c64e0992bf47060cbc
154
Kotpref
Apache License 2.0
datasource-local/src/main/java/cmm/apps/esmorga/datasource_local/user/mapper/LocalUserMapper.kt
cmm-apps-android
797,188,002
false
{"Kotlin": 296464}
package cmm.apps.esmorga.datasource_local.user.mapper import cmm.apps.esmorga.data.user.model.UserDataModel import cmm.apps.esmorga.datasource_local.user.model.UserLocalModel fun UserLocalModel.toUserDataModel(accessToken: String?, refreshToken: String?): UserDataModel = UserDataModel( dataEmail = localEmail, ...
0
Kotlin
0
0
3494b5bfaea0520855d8209aef504aec31b1895f
610
EsmorgaAndroid
The Unlicense
bytecode/src/main/kotlin/gay/pizza/pork/bytecode/MutableConstantPool.kt
GayPizzaSpecifications
680,636,847
false
{"Kotlin": 364750}
package gay.pizza.pork.bytecode class MutableConstantPool { private val pool = mutableListOf<Constant>() fun assign(tag: ConstantTag, content: ByteArray): UInt { for (constant in pool) { if (constant.value.contentEquals(content) && tag == constant.tag) { return constant.id } } val ...
0
Kotlin
1
0
962d079acce1c07ca151ea470532d549d39a0da6
474
pork
MIT License
bootstrap-icons-compose/src/main/java/com/wiryadev/bootstrapiconscompose/bootstrapicons/normal/Forward.kt
wiryadev
380,639,096
false
null
package com.wiryadev.bootstrapiconscompose.bootstrapicons.normal 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.S...
0
Kotlin
0
2
1c199d953dc96b261aab16ac230dc7f01fb14a53
2,944
bootstrap-icons-compose
MIT License
bootstrap-icons-compose/src/main/java/com/wiryadev/bootstrapiconscompose/bootstrapicons/normal/Forward.kt
wiryadev
380,639,096
false
null
package com.wiryadev.bootstrapiconscompose.bootstrapicons.normal 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.S...
0
Kotlin
0
2
1c199d953dc96b261aab16ac230dc7f01fb14a53
2,944
bootstrap-icons-compose
MIT License
app/src/main/java/zurmati/floating/widget/Main.kt
BilalZurmati
579,511,875
false
null
package zurmati.floating.widget import android.os.Bundle import android.content.Intent import android.app.AlertDialog import android.net.Uri import android.provider.Settings import androidx.appcompat.app.AppCompatActivity import androidx.core.content.ContextCompat import zurmati.floating.widget.databinding.MainBinding...
0
Kotlin
0
1
e9bb930ee485c5f1a9a53b2635bab3348bd5c96f
3,393
FloatingWidget-ChatHead
Apache License 2.0
lecture04/src/test/kotlin/io/rybalkinsd/kotlinbootcamp/PointTest.kt
rybalkinsd
143,287,871
false
null
package io.rybalkinsd.kotlinbootcamp import junit.framework.TestCase.assertTrue import org.junit.Ignore import org.junit.Test @Ignore class PointTest { @Test fun sum() { val sum = Point(1, 1) + Point(4, 9) assertTrue(sum.x == 5) assertTrue(sum.y == 10) } @Test fun `sum wi...
69
Kotlin
37
49
687f918f7eef2faf86fdcb4cdfde6e2f9e3faec1
405
kotlin-boot-camp
MIT License
video-editor/src/main/java/com/video/trimmer/interfaces/OnVideoListener.kt
tizisdeepan
181,681,865
false
{"Kotlin": 77216}
package com.video.trimmer.interfaces interface OnVideoListener { fun onVideoPrepared() }
6
Kotlin
54
200
8c33331aa1a5b5bd632cfbc906d1366bc6a24160
93
VideoEditor
MIT License
loginLibrary/src/main/java/com/github/mohamedwael/login/base/Utils.kt
sashamerkulev
270,424,052
false
{"Gradle": 13, "HTML": 2, "Java Properties": 3, "YAML": 1, "Shell": 2, "Ignore List": 8, "Batchfile": 1, "Text": 1, "Markdown": 1, "Proguard": 7, "Java": 13, "XML": 46, "Kotlin": 113}
package fi.tuni.sinipelto.disqs.util import android.app.Activity import android.view.View import android.view.inputmethod.InputMethodManager class KeyboardManager { companion object { fun hideKeyboard(activity: Activity) { val imm = activity.getSystemService(Activity.INPUT_METHOD_SERVICE) as I...
1
null
1
1
fc8ab8149c34bbda3cce9a7002d203ff62f52bd6
748
news
MIT License
foundation-runtimes/kuest/mock/src/commonMain/kotlin/kuest/HttpClientMockConfig.kt
aSoft-Ltd
402,249,541
false
{"Kotlin": 388694, "HTML": 12147, "Java": 9764, "JavaScript": 6769}
package kuest import koncurrent.Executor import koncurrent.Executors import kotlin.jvm.JvmName import kotlin.jvm.JvmStatic interface HttpClientMockConfig { val executor: Executor val resolve: (HttpRequest<*>) -> Any? companion object { @JvmStatic @JvmName("create") operator fun in...
6
Kotlin
0
0
4885fcfb3695187b436bb5a2967808b1eeaa161f
511
foundation
MIT License
rulebot/src/main/kotlin/com/kyledahlin/rulebot/RuleManager.kt
kadahlin
177,455,048
false
null
/* *Copyright 2020 <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, software...
0
Kotlin
0
2
0f6c4d27ad0ca01ec647785fe3dfd941ee714828
3,742
RuleDiscordBot
Apache License 2.0
app/src/main/java/com/mrmannwood/hexlauncher/launcher/LauncherViewModel.kt
MrMannWood
298,718,785
false
null
package com.mrmannwood.hexlauncher.launcher import android.app.Application import androidx.lifecycle.AndroidViewModel import androidx.lifecycle.LiveData import com.mrmannwood.hexlauncher.settings.PreferenceExtractor import com.mrmannwood.hexlauncher.settings.PreferenceKeys import com.mrmannwood.hexlauncher.settings.Pr...
7
Kotlin
7
28
2a83cb51a3eb1eccb720e9e8d7b68edd9fe7a15f
1,490
launcher
Apache License 2.0
app/src/main/java/com/alerdoci/marvelsuperheroes/datasource/features/superheroes/cache/impl/SuperHeroesCacheDataStoreImpl.kt
AlvaroErd
645,667,383
false
{"Kotlin": 629005}
package com.alerdoci.marvelsuperheroes.datasource.features.superheroes.cache.impl import com.alerdoci.marvelsuperheroes.data.datastore.features.superheroes.SuperheroesDataStore import com.alerdoci.marvelsuperheroes.datasource.cache.database.SuperHeroesDatabase import com.alerdoci.marvelsuperheroes.datasource.features....
0
Kotlin
0
2
c001c6797f718b8443aa2c6f04421874e978254b
3,106
MarvelSuperHeroes
Apache License 2.0
js/js.translator/testData/lineNumbers/syntheticCodeInConstructors.kt
githubsoul
186,096,123
false
null
object O { init { println() } } open class A(x: Int) class B : A( 23 ) class C : A { constructor(x: Int) : super( x ) { println() } constructor() : this ( 42 ) } // LINES(...
1
null
1
1
e6900ec0f21f4c36b6930ed54665eabf8241986c
521
kotlin
Apache License 2.0
RadialTimePicker/src/main/java/com/arappmain/radialtimepicker/digitalTimePicker/animUtils/AnimateUtils.kt
aliHosseinNezhad
368,139,689
false
null
package com.arappmain.radialtimepicker.digitalTimePicker.animUtils import android.os.CountDownTimer import android.util.Log import kotlin.math.PI import kotlin.math.cos import kotlin.math.min import kotlin.math.sin class AnimateUtils(var interval: Long) { private var isAnimating: Boolean = false private var t...
1
null
1
2
1a43a6172b1c48daf0ce64934109f6117fe231eb
6,252
PersianRadialTimePicker
MIT License
compiler/testData/diagnostics/tests/unsignedTypes/conversions/noConversionForUnsignedTypesOnReceiver.fir.kt
JetBrains
3,432,266
false
{"Kotlin": 79571273, "Java": 6776465, "Swift": 4063829, "C": 2609744, "C++": 1957654, "Objective-C++": 175279, "JavaScript": 130754, "Python": 59855, "Shell": 34920, "Objective-C": 21463, "Lex": 21452, "Batchfile": 11382, "CSS": 11368, "Ruby": 10470, "Dockerfile": 9907, "Groovy": 7092, "EJS": 5241, "CMake": 4473, "HTML...
fun UInt.fUInt() {} fun UByte.fUByte() {} fun UShort.fUShort() {} fun ULong.fULong() {} fun test() { 1.<!UNRESOLVED_REFERENCE_WRONG_RECEIVER!>fUInt<!>() 1.<!UNRESOLVED_REFERENCE_WRONG_RECEIVER!>fUByte<!>() 1.<!UNRESOLVED_REFERENCE_WRONG_RECEIVER!>fUShort<!>() 1.<!UNRESOLVED_REFERENCE_WRONG_RECEIVER!>fU...
181
Kotlin
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
441
kotlin
Apache License 2.0
setOf.kt
halilozel1903
97,366,074
false
null
/** * Created by ozel on 11.8.2017. */ fun main() { /* Set Collection arayüzünü miras alır. Matematikte ki kümelere benzerdir. */ val set_eleman = setOf("Besiktas", "Galatasaray", "Fenerbahce", "Trabzonspor", "Besiktas") // setOf ile değerler atadık. // bir değer sadece bir defa atanabili...
0
Kotlin
2
5
278d7133431838fcea6789e21a34268c4d452f38
1,011
KotlinExample
The Unlicense
Lincheck/src/main/kotlin/com/severett/akd/lincheck/AnEnum.kt
severn-everett
606,378,418
false
{"Kotlin": 16532}
package com.severett.akd.lincheck enum class AnEnum { A, B, C, D, E, F, G, H }
0
Kotlin
0
0
4661c2656c1c1b0a5e9eaee9dbcd45d5247d548f
83
AsynchronousKotlinDemo
Apache License 2.0
andcolorpicker/src/main/java/codes/side/andcolorpicker/view/picker/ColorSeekBar.kt
side-codes
243,132,182
false
null
package codes.side.andcolorpicker.view.picker import android.animation.ObjectAnimator import android.content.Context import android.graphics.drawable.* import android.os.Build import android.util.AttributeSet import android.util.Log import android.util.StateSet import android.view.Gravity import android.widget.SeekBar...
6
null
3
292
92651f46f716f3b7a3cf272ec6d0ed163c91171d
12,396
Android-Color-Picker
Apache License 2.0
app/src/main/java/com/example/starwarsexample/dependecyinjection/modules/MainActivityContextModule.kt
apiorno
318,069,331
false
null
package com.example.starwarsexample.dependecyinjection.modules import android.content.Context import com.example.starwarsexample.dependecyinjection.qualifiers.ActivityContext import com.example.starwarsexample.dependecyinjection.scopes.ActivityScope import com.example.starwarsexample.ui.MainActivity import dagger.Modu...
0
Kotlin
0
0
4d12b9a1d4d5b560dfe5565d7424a7f77f78f9c1
772
StarwarsExample
MIT License
app/src/test/java/com/sandoval/mypokedex/data/pokedex_location/RemoteDataPokedexLocationRepositoryTest.kt
juanchosandox90
540,261,120
false
null
package com.sandoval.mypokedex.data.pokedex_location import com.google.common.truth.Truth import com.sandoval.mypokedex.data.models.pokedex_location.PokedexLocationResponse import com.sandoval.mypokedex.data.models.pokedex_location.Region import com.sandoval.mypokedex.data.network.Failure import com.sandoval.mypokedex...
0
Kotlin
0
0
4f7140274cd0b531445124cce9574eac9ba1f9e2
3,136
MyPokeDex
Apache License 2.0
crashpecker/src/main/java/me/peace/communication/ProcessDispatcher.kt
peace710
201,749,299
false
{"Kotlin": 49445, "Java": 2266}
package me.peace.communication import android.content.Context import android.net.Uri import android.os.Bundle import android.text.TextUtils import me.peace.communication.ProcessConstant.METHOD_LOAD_SP import me.peace.communication.ProcessConstant.METHOD_SAVE_SP import me.peace.communication.ProcessConstant.PARAM_TYPE_...
1
Kotlin
1
1
847bf10124f0983ee3294000eb48497d2e5fc675
8,610
WoodPecker
MIT License
src/main/kotlin/com/calendar/automation/usecases/service/impl/GoogleCalendarServiceImpl.kt
math-ferreira
563,146,082
false
{"Kotlin": 51607, "Makefile": 612, "Procfile": 85}
package com.calendar.automation.usecases.service.impl import com.calendar.automation.client.GoogleAPICalendarClient import com.calendar.automation.entities.dto.response.CalendarListResponse import com.calendar.automation.entities.dto.response.CalendarResponse import com.calendar.automation.entities.dto.response.toCale...
0
Kotlin
0
4
f3f23659ef7a9407c46a3c4671f5cebd2bf4bdca
2,285
calendar-alexa-quarkus
MIT License
app/src/androidTest/java/br/com/wellingtoncosta/amdk/TestAppRunner.kt
wellingtoncosta
115,824,145
false
null
package com.rocklobstre.coolRecyclerview import android.app.Application import android.content.Context import android.support.test.runner.AndroidJUnitRunner /** * @author wellingtoncosta on 06/02/18. */ class TestAppRunner : AndroidJUnitRunner() { @Throws(InstantiationException::class, IllegalAccessException::...
0
null
4
24
e3b081346404e32852b1c4b402c77e58802148ac
542
android-mvvm-databinding-kotlin
MIT License
APPTest/src/main/java/com/bihe0832/android/test/module/TestDebugTempFragment.kt
ljwcsdn
375,552,573
true
{"Kotlin": 85843, "Java": 40326, "Shell": 14579, "HTML": 2629}
package com.bihe0832.android.test.module import android.view.View import com.bihe0832.android.app.about.AboutActivity import com.bihe0832.android.common.test.base.BaseTestFragment import com.bihe0832.android.common.test.item.TestItemData import com.bihe0832.android.lib.adapter.CardBaseModule import com.bihe0832.androi...
0
null
0
0
cd701750b79a5e26189b0a1a35f9f043e1a5adfd
1,327
AndroidAppFactory-Sample
Apache License 2.0
app/src/main/java/com/example/buahin/ui/screens/ExploreScreen.kt
SimiPrambos
440,445,933
false
null
/* * Copyright (C) 2021 SimiPrambos <<EMAIL>> - All Rights Reserved * ExploreScreen.kt * Buahin <https://github.com/SimiPrambos/buahin.git> * UI Design by Afsar <https://www.figma.com/community/file/882645007956337261> */ package com.example.buahin.ui.screens import androidx.compose.foundation.layout.* import an...
0
Kotlin
0
0
5c6a2cd40ac9e96dbfb61eefba9654b5f0fd6636
2,885
buahin
MIT License
src/test/kotlin/com/openmeteo/api/ClimateChangeTest.kt
open-meteo
524,706,191
false
null
package com.openmeteo.api import com.openmeteo.api.common.query.City import com.openmeteo.api.common.time.Date import com.openmeteo.api.common.units.Units import kotlin.test.Test import kotlin.test.assertEquals class ClimateChangeTest { @Test fun `Amsterdam, 1st January 1950 - 31st december 2050`() { ...
0
Kotlin
0
15
793fe01ca7b1111a93241c17ed0b6d679de290dc
1,821
open-meteo-api-kotlin
MIT License
src/jvmTest/kotlin/com/github/jershell/kbson/models/Blob.kt
ferusm
414,664,859
true
{"Kotlin": 99177}
package com.github.jershell.kbson.models import com.github.jershell.kbson.serializer.ByteArraySerializer import kotlinx.serialization.ExperimentalSerializationApi import kotlinx.serialization.Serializable @ExperimentalSerializationApi @Serializable class Blob( @Serializable(ByteArraySerializer::class) val img: By...
0
Kotlin
0
0
68e11cdb593a2a31b52c98602d829fa055ca3b43
465
kbson
MIT License
jetcompose/sandbox/content/unit_3_kotlin_fundamentals/104_classes_objects/01_define_class.kt
haddagart
749,030,838
false
{"Kotlin": 26020}
// Define a simple class class SmartDevice { // Properties // Read-only properties are defined with val val name:String = "Android TV" val category:String = "Entertainment" // Mutable properties are defined with var var deviceStatus:String = "online" /* The field is a keyword th...
0
Kotlin
0
0
785a615bb41f55a54ab86f0caf079cb916a3b8d3
1,195
haddag-learns
MIT License
app/src/main/java/com/android/stores_app/common/util/Constants.kt
yash786agg
447,024,419
false
null
package com.android.stores_app.common.util object Constants { const val TIMEOUT_REQUEST: Long = 30 const val NETWORK_PAGE_SIZE: Int = 10 const val STARTING_PAGE_INDEX: Int = 1 const val STORES_URL = "rest/stores/" const val CONTENT_TYPE_TAG: String = "Accept: application/json" const val LO...
0
Kotlin
1
0
2a7eb334a650e6b426f17ce8a8f5c3d1f58bda67
1,056
Stores-App
Apache License 2.0
app/src/main/kotlin/com/permissionnanny/simple/RequestLocationUpdatesListener.kt
lgslegend
82,944,527
true
{"Java Properties": 4, "YAML": 1, "XML": 40, "Gradle": 9, "Shell": 1, "Markdown": 2, "Batchfile": 1, "Ignore List": 6, "Proguard": 5, "Text": 4, "Java": 101, "Kotlin": 84}
package com.permissionnanny.simple import android.content.Context import android.location.Location import android.location.LocationListener import android.location.LocationManager import android.os.Bundle import com.permissionnanny.ProxyListener import com.permissionnanny.ProxyService import com.permissionnanny.lib.Na...
0
Java
0
0
142774c651c2c80837b97f767b23ac6a19cc7566
3,191
Permission-Nanny
RSA Message-Digest License
mobile/src/main/java/uk/co/appsbystudio/geoshare/friends/profile/ProfileView.kt
zacdevil10
50,067,543
false
null
package uk.co.appsbystudio.geoshare.friends.profile interface ProfileView { fun setPosition(position: Int) fun showDialog(uid: String?) fun showError(error: String) fun closeProfile() }
5
Kotlin
1
1
f66aa94d7f44c8dbf81a6a67a4e0504bbf7e2d32
206
GeoShare_Android
Apache License 2.0
src/main/kotlin/com/ky_proj/spjplugin/structure/SpjStructureViewModel.kt
fisherman08
117,972,344
false
{"Gradle": 2, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "YAML": 2, "Markdown": 1, "INI": 1, "Java": 50, "Kotlin": 93, "XML": 3, "JFlex": 2}
package com.ky_proj.spjplugin.structure /** * Created by Y.Kaneko on 2018/01/26. */ import com.intellij.ide.structureView.StructureViewModel import com.intellij.ide.structureView.StructureViewModelBase import com.intellij.ide.structureView.StructureViewTreeElement import com.intellij.ide.util.treeView.smartTree.Sor...
2
Kotlin
0
0
95a4ddb93950d919a59349276fceec1efbabd5fa
942
IntelliJ_SpjPlugin
MIT License
AndroidDemo/src/main/java/com/yubico/yubikit/android/app/ui/UiUtils.kt
Yubico
195,424,265
false
null
package com.yubico.yubikit.android.app.ui import android.content.Context import android.view.LayoutInflater import android.widget.EditText import androidx.annotation.StringRes import androidx.annotation.UiThread import androidx.appcompat.app.AlertDialog import com.google.android.material.textfield.TextInputLayout impo...
1
Java
26
50
0f04eeb3c9c9fc06eca29883b4ef2fa90293ffad
1,291
yubikit-android
Apache License 2.0
src/com/nerdscorner/android/plugin/github/exceptions/MissingCircleCiTokenException.kt
marcherdiego
274,920,064
false
{"XML": 9, "Ignore List": 1, "Text": 1, "Markdown": 1, "SVG": 3, "Kotlin": 53, "Java": 8}
package com.nerdscorner.android.plugin.github.exceptions class MissingCircleCiTokenException : Exception()
0
Kotlin
1
9
b346f5af63cdf95c08221469b384cedaa8e74a2d
108
github-tools-plugin
Apache License 2.0
app/src/main/java/com/rosi/masts/mvc/view/android/media/IsAppRunningUtils.kt
sr01
387,141,087
false
{"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "Kotlin": 91, "XML": 34, "Java": 19}
package com.rosi.masts.mvc.view.android.media import android.app.ActivityManager import android.content.Context import android.os.Build import com.rosi.masts.mvc.view.android.service.MediaNotificationListenerService import com.rosi.masts.utils.Logger import com.rosi.masts.utils.TerminalUtils class IsAppRunningUtils(p...
0
Kotlin
0
0
01f998fefea75370bb9f00535cb8ccee31700c4d
1,794
FineSTT
Apache License 2.0
kotlin.web.demo.frontend/src/model/File.kt
nyx2014
38,913,148
false
null
/* * Copyright 2000-2015 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
1
null
1
1
21fb955abcc8fdf02460a201b1b822cbe42979f9
2,018
kotlin-web-demo
Apache License 2.0
firefly-example/src/main/kotlin/com/firefly/example/kotlin/coffee/store/dao/impl/UserDAOImpl.kt
ycmag
127,702,872
true
{"YAML": 1, "Text": 6, "Maven POM": 9, "Markdown": 1, "Ignore List": 4, "Java": 1029, "XML": 33, "HTML": 3, "Mustache": 8, "INI": 2, "Kotlin": 97, "SQL": 9, "CSS": 2, "JavaScript": 4}
package com.firefly.example.kotlin.coffee.store.dao.impl import com.firefly.annotation.Component import com.firefly.annotation.Inject import com.firefly.example.kotlin.coffee.store.dao.UserDAO import com.firefly.example.kotlin.coffee.store.model.User import com.firefly.kotlin.ext.db.AsyncTransactionalManager import co...
0
Java
0
0
f67a156ee8065de90bc3114bd272fd40c64bcae4
875
firefly-6
Apache License 2.0
bbfgradle/tmp/results/diffABI/zhxdgae_FILE.kt
DaniilStepanov
346,008,310
false
{"Markdown": 122, "Gradle": 762, "Gradle Kotlin DSL": 649, "Java Properties": 23, "Shell": 49, "Ignore List": 20, "Batchfile": 26, "Git Attributes": 8, "Kotlin": 82508, "Protocol Buffer": 12, "Java": 6674, "Proguard": 12, "XML": 1698, "Text": 13298, "INI": 221, "JavaScript": 294, "JAR Manifest": 2, "Roff": 217, "Roff M...
// Bug happens on JVM , JVM -Xuse-ir // FILE: tmp0.kt import kotlin.sequences.* import kotlin.collections.* import kotlin.time.* import kotlin.reflect.* fun unsupportedEx():Unit =TODO() fun runtimeEx():Unit =TODO() fun test1WithFinally() : String =TODO() fun test2WithFinally() : String =TODO() fun box() : String...
1
null
1
1
e772ef1f8f951873ebe7d8f6d73cf19aead480fa
1,339
kotlinWithFuzzer
Apache License 2.0
app/src/main/java/com/doctoror/particleswallpaper/framework/opengl/KnownOpenglIssuesHandler.kt
Doctoror
93,632,093
false
null
/* * Copyright (C) 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 ...
6
null
5
20
20245b87747fd2995e0468c033e4338d88f7aa10
2,929
ParticleConstellationsLiveWallpaper
Apache License 2.0
compose/runtime/runtime-dispatch/src/commonMain/kotlin/androidx/compose/runtime/dispatch/Expect.kt
tikurahul
282,379,594
true
{"Java": 44745786, "Kotlin": 26374522, "Python": 285088, "Shell": 112015, "C++": 25110, "ANTLR": 19795, "HTML": 10802, "TypeScript": 6933, "CMake": 1901, "JavaScript": 1343}
/* * Copyright 2020 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
0
Java
0
1
ccac66729a5e461b3a05944014f42e2dc55337d6
1,170
androidx
Apache License 2.0
android/app/src/main/java/now/fortuitous/thanos/settings/ThemeAttrPreviewActivity.kt
Tornaco
228,014,878
false
null
/* * (C) Copyright 2022 Thanox * * 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 ...
392
null
87
2,145
b8b756152e609c96fd07f1f282b77582d8cde647
1,140
Thanox
Apache License 2.0
app/src/main/java/com/sk/mobile/view/staticlistview/demo/MainActivity.kt
liufsd
91,676,158
false
null
package com.sk.mobile.view.staticlistview.demo import android.app.Activity import android.os.Bundle import android.widget.Toast import com.sk.mobile.view.staticlistview.Item import com.sk.mobile.view.staticlistview.StaticListView class MainActivity : Activity() { override fun onCreate(savedInstanceState: Bundle?...
0
Kotlin
0
1
726a57d71ddcf104c4ae3f63b070cc6e1bbf42cd
1,097
StaticListview-kotlin
Apache License 2.0
subprojects/android-test/ui-testing-core-app/src/main/kotlin/com/avito/android/ui/EmptyActivity.kt
avito-tech
230,265,582
false
null
package com.avito.android.ui import androidx.appcompat.app.AppCompatActivity internal class EmptyActivity : AppCompatActivity()
10
null
50
414
4dc43d73134301c36793e49289305768e68e645b
130
avito-android
MIT License
src/main/java/pl/edu/amu/wmi/erykandroidcommon/location/LocationService.kt
dagi12
107,324,186
false
{"Gradle": 1, "Proguard": 1, "Text": 1, "Ignore List": 1, "Markdown": 1, "Java": 2, "Kotlin": 88, "XML": 19}
package pl.edu.amu.wmi.erykandroidcommon.location import android.content.Context import android.location.LocationManager /** * @author <NAME> <eryk.mariankowski></<EMAIL>> on 16.08.17. */ class LocationService(private val context: Context) { val isLocationOn: Boolean get() { val locationMan...
1
null
1
1
0715d59c3c208df668dc116171ece78a6cf9dd2c
492
eryk-android-common
Apache License 2.0
src/test/java/structurescanner/StructureScannerTest.kt
mario-s
184,122,879
true
{"Kotlin": 627685, "Java": 404554, "HTML": 34998}
/******************************************************************************* * Copyright 2000-2017 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.a...
0
Kotlin
1
2
d24a0fd982df001cd5bb3c7364567ee7503e5b17
2,651
kotlin-netbeans
Apache License 2.0
packages/kotlin/src/main/kotlin/org/openapitools/client/models/AccountRestrictionFlagsEnum.kt
symbol-blockchain-community
766,145,378
false
{"JSON": 7, "Text": 3, "Ignore List": 7, "Shell": 9, "Markdown": 1850, "OASv3-yaml": 4, "Go": 284, "Go Checksums": 1, "YAML": 11, "Go Module": 1, "Gradle": 4, "Scala": 1, "Maven POM": 1, "INI": 5, "Batchfile": 2, "Java": 544, "XML": 3, "Swift": 276, "Ruby": 1, "Microsoft Visual Studio Solution": 1, "C#": 543, "Kotlin":...
/** * * Please note: * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * Do not edit this file manually. * */ @file:Suppress( "ArrayInDataClass", "EnumEntryName", "RemoveRedundantQualifierName", "UnusedImport" ) package org.openapitools.client.models import ...
0
Java
0
0
f7862757c30b452766f10ca7e161f715edaa5016
2,633
symbol-rest-client
MIT License
app/src/main/java/com/example/moviedb/di/ApiModule.kt
khanhpt19
172,650,703
false
null
package com.example.moviedb.di import android.content.Context import com.example.moviedb.BuildConfig import com.example.moviedb.data.remote.api.MovieApi import com.example.moviedb.data.remote.factory.RxErrorHandlingFactory import com.example.moviedb.di.Properties.TIME_OUT import com.jakewharton.retrofit2.adapter.kotli...
3
null
1
2
ecda09048c0aea67396640a21ff5cb240d03ecb0
2,757
moviedb-kotlin
Apache License 2.0
src/main/kotlin/com/nonnulldinu/clionmeson/mesonbuildlang/language/highlighting/MesonBuildSyntaxBraceMatcher.kt
IntellijMesonIntegration
268,624,073
false
null
package com.nonnulldinu.clionmeson.mesonbuildlang.language.highlighting import com.intellij.lang.BracePair import com.intellij.lang.PairedBraceMatcher import com.intellij.psi.PsiFile import com.intellij.psi.tree.IElementType import com.nonnulldinu.clionmeson.mesonbuildlang.psi.MesonBuildTypes private val PAIRS = arra...
0
Kotlin
0
3
4f5a52e69b3f37d9d4e151405e5c6a64b287be67
920
IntellijMesonIntegration
MIT License
app/src/main/java/me/tatocaster/letinterview/features/moviesdetail/presentation/MoviesDetailContract.kt
tatocaster
126,601,486
false
null
package me.tatocaster.letinterview.features.moviesdetail.presentation import me.tatocaster.letinterview.features.movieslist.model.TvShow import me.tatocaster.letinterview.features.moviesdetail.model.TvShowDetail interface MoviesDetailContract { interface View { fun setUpDetailedView(item: TvShowDetail) ...
0
Kotlin
0
0
3d048923870ae54216894bed31bee4ccea11f3da
550
TVShowsExplorer
MIT License
kotlin-react-popper/src/jsMain/kotlin/react/popper/usePopper.kt
JetBrains
93,250,841
false
{"Kotlin": 12635434, "JavaScript": 423801}
@file:JsModule("react-popper") package react.popper import popper.core.Options import popper.core.ReferenceElement import web.html.HTMLElement external interface UsePopperOptions : Options external fun usePopper( referenceElement: ReferenceElement?, popperElement: HTMLElement?, options: UsePopperOptions...
38
Kotlin
162
1,347
997ed3902482883db4a9657585426f6ca167d556
340
kotlin-wrappers
Apache License 2.0
webasync/src/main/kotlin/com/hiarias/webasync/error/ErrorAttributes.kt
Ariaszzzhc
219,512,392
false
null
package com.hiarias.webasync.error interface ErrorAttributes { fun getErrorAttributes(error: Throwable, includeStackTrace: Boolean): Map<String, Any?> // fun getError(request: ApplicationRequest): Throwable // // fun storeErrorInformation(error: Throwable, call: ApplicationCall) }
0
Kotlin
0
2
d779d3875760fdde52d0085236052604b4425e0a
295
spring-webasync
Apache License 2.0
chat-oa/src/main/java/com/fzm/oa/impl/OAServiceImpl.kt
txchat
507,831,442
false
{"Kotlin": 2234450, "Java": 384844}
package com.fzm.oa.impl import android.content.Context import android.net.Uri import com.alibaba.android.arouter.facade.annotation.Route import com.alibaba.android.arouter.facade.template.IProvider import com.alibaba.android.arouter.launcher.ARouter import com.fzm.chat.biz.base.FunctionModules import com.fzm.chat.biz....
0
Kotlin
1
1
6a3c6edf6ae341199764d4d08dffd8146877678b
5,004
ChatPro-Android
MIT License
incubator.clients.kroviz/src/main/kotlin/org/apache/isis/client/kroviz/ui/ErrorAlert.kt
joerg-rade
163,651,410
false
null
package org.apache.isis.client.kroviz.ui import org.apache.isis.client.kroviz.core.event.LogEntry import org.apache.isis.client.kroviz.to.HttpError import org.apache.isis.client.kroviz.ui.kv.RoDialog class ErrorAlert(val logEntry: LogEntry) : Command { fun open() { val error = logEntry.getTransferObject(...
20
Kotlin
1
10
07e7ed9aa6dabc7e8a9a0100451d89ae18e46950
1,148
kroviz
Apache License 2.0
app/src/main/java/com/zorro/kotlin/samples/bean/Database.kt
pangli
233,767,207
false
null
package com.zorro.kotlin.samples.bean import com.contrarywind.interfaces.IPickerViewData /** * Created by Zorro on 2019/12/24. * 备注:资料库 */ //其他筛选条件 class OtherFilterData : IPickerViewData { var name: String = "" var code: String? = "" var startAge: String? = "" var endAge: String? = "" const...
1
null
1
2
bf9cfaad4bcfb83d69647483c8f0ba1a73783891
3,811
KotlinMvp
Apache License 2.0
order/composeApp/src/commonMain/kotlin/io/reyurnible/order/ui/routes/order_complete/OrderCompleteUiState.kt
Reyurnible
801,579,607
false
{"Kotlin": 77637, "Swift": 594, "HTML": 306}
package io.reyurnible.order.ui.routes.order_complete // Visible screen state data class OrderCompleteUiState( val isLoading: Boolean = false, val error: Throwable? = null )
4
Kotlin
0
0
58d66eb3a16d2ec38bdb571af36d3acb2848b527
181
Order-FullKMPSample
Apache License 2.0
vad/src/main/java/com/konovalov/vad/config/Mode.kt
gkonovalov
224,550,411
false
null
package com.konovalov.vad.config /** * Created by <NAME> on 1/06/2023. * <p> * Enum class representing different detection Modes used in the VAD algorithm. Mode determine * the aggressiveness of the voice activity detection algorithm. * </p> * @property value The numeric value associated with the Mode. */ enum ...
0
C
28
85
c0c97681a4a2b7503138f20f5dea389353021370
408
android-vad
MIT License
src/main/kotlin/entities/structures/DelegatePowerSpawn.kt
truekabal
193,283,415
true
{"Kotlin": 129036}
package main.kotlin.entities.structures import screeps.api.structures.StructurePowerSpawn class DelegatePowerSpawn(private val spawn: StructurePowerSpawn) { fun tick() { spawn.processPower() } }
0
Kotlin
0
0
be553406001f312550b10002a9be8cb8d005f958
214
screeps-kotlin-types
MIT License
src/main/kotlin/no/nav/familie/ks/sak/kjerne/behandling/steg/vedtak/vedtaksperiode/VedtaksperiodeHentOgPersisterService.kt
navikt
533,308,075
false
null
package no.nav.familie.ks.sak.kjerne.behandling.steg.vedtak.vedtaksperiode import no.nav.familie.ks.sak.common.exception.Feil import no.nav.familie.ks.sak.kjerne.behandling.steg.vedtak.domene.Vedtak import no.nav.familie.ks.sak.kjerne.behandling.steg.vedtak.domene.VedtakRepository import no.nav.familie.ks.sak.kjerne.b...
4
Kotlin
0
2
d7a12df78b63280c202bbe4915ba6bd20efe4285
2,129
familie-ks-sak
MIT License
app/src/main/java/com/eemanapp/fuoexaet/di/AppComponent.kt
sodiqOladeni
259,144,549
false
null
package com.eemanapp.fuoexaet.di import android.app.Application import com.eemanapp.fuoexaet.view.MainApplication import dagger.BindsInstance import dagger.Component import dagger.android.support.AndroidSupportInjectionModule import javax.inject.Singleton @SuppressWarnings("unchecked") @Singleton @Component(modules =...
7
Kotlin
0
0
c12fbaedadd04bc84776c9e8e127c566329c4889
659
FUO_DSC_Challenge
Apache License 2.0
app/src/main/java/com/base/app/data/repository/DashboardRepository.kt
ezhilan96
302,839,169
false
null
package com.base.app.data.repository import androidx.lifecycle.MutableLiveData import com.base.app.data.dao.UserDao import com.base.app.data.network.BaseApiService import com.base.app.data.network.ResponseWrapper import com.base.app.data.network.handleApiCall import com.base.app.enums.RetrofitStatus import com.base.ap...
0
Kotlin
0
0
8da8ba1d92178aa786cb597652de91b79b775cf6
819
AndroidBase
Apache License 2.0
backend/usecase/src/main/kotlin/dev/marcal/chatvault/usecase/legacy/ChatLegacyImporterUseCase.kt
vitormarcal
681,327,674
false
{"Kotlin": 86405, "Vue": 19253, "Dockerfile": 764, "TypeScript": 752}
package dev.marcal.chatvault.usecase.legacy import dev.marcal.chatvault.app_service.wpp_legacy_service.WppLegacyService import dev.marcal.chatvault.app_service.wpp_legacy_service.dto.ChatDTO import dev.marcal.chatvault.app_service.wpp_legacy_service.dto.MessageDTO import dev.marcal.chatvault.app_service.wpp_legacy_ser...
7
Kotlin
0
1
9192df91e37a2535cc0a000115b7ce94aebf5969
4,315
chatvault
MIT License
src/main/kotlin/com/baulsupp/okurl/services/github/model/User.kt
yschimke
48,341,449
false
{"Kotlin": 515385, "Shell": 843, "Smarty": 777}
package com.baulsupp.okurl.services.github.model import com.squareup.moshi.JsonClass @JsonClass(generateAdapter = true) data class User( val avatar_url: String, val bio: String? = null, val blog: String? = null, val collaborators: Int? = null, val company: String? = null, val created_at: String? = null, ...
16
Kotlin
15
126
32ad9f89d17500399ac16b735f1398ad6ca32f41
1,391
okurl
Apache License 2.0
src/test/kotlin/com/advanon/bus/SNSMessageTest.kt
Advanon
132,481,097
false
{"Kotlin": 8923}
package com.advanon.bus import junit.framework.TestCase.assertEquals import org.junit.Test class SNSMessageTest { @Test fun `given an empty prefix, then the whole topic name should be returned from getTopic`() { assertEquals("prod-topic-name", buildSNSMessage().getTopic("")) } @Test fun...
0
Kotlin
1
5
e5b53c723e7d2c96f2831293a19f6aa94f4270fc
876
AdvaBus
Apache License 2.0
kompack-kotlin-serialization/src/test/kotlin/org/dedee/kompack/mpack/coders/MapTests.kt
dedee
621,699,131
false
null
package org.dedee.kompack.mpack.coders import kotlinx.serialization.Serializable import org.junit.jupiter.api.Test import kotlin.test.assertEquals class MapTests { @Serializable data class Routes( val name: String, val cities: Map<String, String>, ) @Test fun `Encode and decode `...
0
Kotlin
0
0
b95f3476d533084c1bc8bfcd1c3369f3d3df9864
563
kompack
Apache License 2.0
src/main/kotlin/shou/utils/model/ItemValue.kt
NSVN-NguyenDuyThang
661,492,559
false
null
package shou.utils.model import org.apache.commons.lang3.StringUtils data class ItemValue(val value: String? = null) : AggregateModel(){ override fun toString(): String { return when (StringUtils.isEmpty(this.title)) { true -> value!! else -> "「${title}」で ー ${value}を選択" } ...
0
Kotlin
0
0
b375d9d2ebb4981209025e6052a3080324042e33
326
playwright-kotlin
MIT License
src/main/kotlin/util/javafx/SimpleCellValueFactory.kt
vatbub
353,955,869
false
null
/*- * #%L * Smart Charge * %% * Copyright (C) 2016 - 2020 <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 * * Unles...
0
Kotlin
0
0
6acd5298681bce9426d396426669c7d0cc9b1221
1,157
smartCharger
Apache License 2.0
app/src/main/java/com/example/afisha/data/remote/entity/RemoteVideo.kt
sshiae
719,299,632
false
{"Kotlin": 71491}
package com.example.afisha.data.remote.entity import com.example.afisha.common.DomainMapper import com.example.afisha.domain.model.Video import com.google.gson.annotations.SerializedName /** * Remote entity describing video */ data class RemoteVideo( @SerializedName("trailers") val trailers: List<RemoteTrai...
0
Kotlin
0
0
6b3b5a3bf1e5bf01dab2fd1eb13f0552cf42d7bc
489
Movie-Poster
Apache License 2.0
app/src/main/java/com/bikcodeh/notes_compose/MainActivity.kt
Bikcodeh
613,661,627
false
null
package com.bikcodeh.notes_compose import android.os.Bundle import androidx.activity.ComponentActivity import androidx.activity.compose.setContent import androidx.activity.viewModels import androidx.compose.material3.ExperimentalMaterial3Api import androidx.core.splashscreen.SplashScreen.Companion.installSplashScreen ...
0
Kotlin
0
1
b9fc53bb7531f957fc801a19770f6d1b48a38705
1,878
notes_compose
MIT License
idea/testData/multiplatform/correctOverloadResolutionAmbiguity/js/js.kt
android
263,405,600
false
null
actual interface A<T> { actual fun foo(x: T) fun foo(x: String) } fun main() { bar().<!OVERLOAD_RESOLUTION_AMBIGUITY(" public abstract actual fun foo(x: String): Unit defined in A public abstract fun foo(x: String): Unit defined in A")!>foo<!>("") }
0
null
37
316
74126637a097f5e6b099a7b7a4263468ecfda144
263
kotlin
Apache License 2.0
app/wear/src/main/java/com/victorrubia/tfg/data/db/GPSMeasureDao.kt
VictorRubia
597,809,981
false
null
package com.victorrubia.tfg.data.db import androidx.room.Dao import androidx.room.Insert import androidx.room.OnConflictStrategy import androidx.room.Query import com.victorrubia.tfg.data.model.gps_measure.GPSMeasure /** * Room Data Access Object interface for the [GPSMeasure] class. */ @Dao interface GPSMeasureDao...
1
Kotlin
0
0
131722463ebeaaf777e476b69f80ab875798138e
924
TFM
Creative Commons Zero v1.0 Universal
sample-app/src/main/java/com/joinforage/android/example/ui/pos/screens/payment/PaymentResultScreen.kt
teamforage
554,343,430
false
{"Kotlin": 703955}
package com.joinforage.android.example.ui.pos.screens.payment import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Row import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.material3.Button import androi...
2
Kotlin
0
0
229a0c7d38dcae751070aed45ff2f7e7ea2a5abb
5,105
forage-android-sdk
MIT License
src/main/kotlin/net/devoev/vanilla_cubed/screen/PropertyDelegate.kt
Devoev
473,273,645
false
null
package net.devoev.vanilla_cubed.screen import net.devoev.vanilla_cubed.block.entity.ModBeaconBlockEntity import net.devoev.vanilla_cubed.block.entity.beacon_upgrade.BeaconUpgrade import net.devoev.vanilla_cubed.block.entity.beacon_upgrade.BeaconUpgrades import net.minecraft.screen.PropertyDelegate /** * [ModBeaconB...
0
Kotlin
2
1
be628719f301e536811e6be4261edb0045ed511e
1,591
vanilla-cubed
MIT License