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/com/stellarcontainersfsm/features/alarm/model/VisitReportResponseModel.kt
DebashisINT
756,252,499
false
{"Kotlin": 14218175, "Java": 1004755}
package com.stellarcontainersfsm.features.alarm.model import com.stellarcontainersfsm.base.BaseResponse /** * Created by Saikat on 21-02-2019. */ class VisitReportResponseModel : BaseResponse() { var visit_report_list: ArrayList<VisitReportDataModel>? = null }
0
Kotlin
0
0
afb97c29d93fc5bd8668cd16d2525947ad51b8a5
268
StellarContainersFSM
Apache License 2.0
epic-calendar-compose/src/commonMain/kotlin/epicarchitect/calendar/compose/basis/BasisEpicCalendar.kt
epicarchitect
628,392,697
false
null
package epicarchitect.calendar.compose.basis import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.BoxScope import androidx.compose.foundation.layout.Column import androidx.compose.found...
6
null
4
99
78d1a4dbfbd36c7ad224753936440526ba8a0bf0
5,834
epic-calendar
MIT License
fluentlenium-kotest/src/test/kotlin/io/fluentlenium/adapter/kotest/expectspec/DataDrivenSpec.kt
FluentLenium
2,088,736
false
null
package io.fluentlenium.adapter.kotest.expectspec import io.fluentlenium.adapter.kotest.FluentExpectSpec import io.fluentlenium.adapter.kotest.TestConstants import io.kotest.datatest.withData class DataDrivenSpec : FluentExpectSpec({ context("context") { withData(listOf("A", "B")) { goTo(TestC...
32
null
212
867
6674ac80b0ab990c1ee5b8417109fc3134f27eeb
436
FluentLenium
Apache License 2.0
app/src/main/java/com/sebastianopighi/bestlyrics/domain/repositories/LyricsDataStore.kt
sebastianopighi
166,530,880
false
null
package com.sebastianopighi.bestlyrics.domain.repositories import com.sebastianopighi.bestlyrics.domain.models.LyricsEntity import io.reactivex.Single interface LyricsDataStore { fun getLyrics(trackId: Int): Single<LyricsEntity?> }
0
Kotlin
0
0
d6b096e5a64943b33e858610edd878d6f7b2d8e1
238
best-lyrics
MIT License
app/src/main/java/org/haidy/servify/presentation/screens/verified/VerifiedInteractionListener.kt
HaidyAbuGom3a
805,534,454
false
{"Kotlin": 702248}
package org.haidy.servify.presentation.screens.verified interface VerifiedInteractionListener { fun onClickExplore() }
0
Kotlin
0
2
8c2ba73cea5d29cc2ef7048d832f8ecea13f34ee
123
Servify
Apache License 2.0
src/main/kotlin/com/velocitypowered/api/kt/util/GameProfile.kt
PureOrigins
401,843,325
true
{"Kotlin": 9756}
package com.velocitypowered.api.kt.util import com.velocitypowered.api.util.GameProfile import java.util.UUID operator fun GameProfile.plus(properties: Iterable<GameProfile.Property>): GameProfile = addProperties(properties) operator fun GameProfile.plus(property: GameProfile.Property): GameProfile = addProperty...
0
Kotlin
0
0
6fb3dfe90b747156af6950a6e4989ae3187ee04a
713
velocity-language-kotlin
MIT License
app/src/main/kotlin/dev/leachryan/patterns/core/model/Dice.kt
leachryan
742,930,763
false
{"Kotlin": 2715}
package dev.leachryan.patterns.core.model class Dice(private val sides: Int) { fun roll(): Int = (1..sides).random() }
0
Kotlin
0
0
63676a934b37bb2e3131e0dd7329e9390d5233e5
125
kotlin-strategy-pattern
MIT License
app/src/prod/java/com/xmartlabs/gong/App.kt
xmartlabs
258,843,640
false
null
package com.xmartlabs.gong import com.xmartlabs.gong.device.di.DiAppModules import org.koin.android.ext.koin.androidContext import org.koin.core.context.startKoin class App : AppBase() { companion object { lateinit var instance: App private set } override fun setupKoinModules() { ...
8
null
5
89
5ac14c809c4ebd12e378b3ed66df34adc839e3dc
528
gong
MIT License
src/main/kotlin/kr/heartpattern/spikot/command/internal/CommandNode.kt
Spikot
129,165,327
false
null
/* * Copyright 2020 Spikot project authors * * 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 ...
0
Kotlin
3
11
a44e2c9ad3203f3ea1bbf65ae9ef53f6f6283d77
2,610
SpikotLegacy
Apache License 2.0
application/app/src/main/java/com/aaronfodor/android/songquiz/model/AccountService.kt
aaronfodor
349,864,292
false
null
package com.aaronfodor.android.songquiz.model import android.content.Context import android.content.Intent import androidx.lifecycle.MutableLiveData import com.aaronfodor.android.songquiz.R import com.aaronfodor.android.songquiz.model.repository.dataclasses.Account import com.spotify.sdk.android.auth.AuthorizationClie...
0
Kotlin
2
0
799b76951474a8f6f86dbd753ad160e537fd0926
4,001
SongQuiz
MIT License
8vim/src/main/kotlin/inc/flide/vim8/ime/theme/ImeTheme.kt
8VIM
72,917,629
false
null
package inc.flide.vim8.ime.theme import androidx.compose.runtime.Composable import androidx.compose.runtime.CompositionLocalProvider import androidx.compose.runtime.ReadOnlyComposable import androidx.compose.runtime.getValue import androidx.compose.runtime.remember import androidx.compose.runtime.staticCompositionLoca...
73
null
61
461
089482f6bb5f715bc9168b8289957cee865573ae
1,178
8VIM
Apache License 2.0
features/forex/src/main/java/uk/co/jamiecruwys/feature/forex/presentation/ForexViewModel.kt
JamieCruwys
341,255,213
false
null
/* * 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 * distribut...
1
Kotlin
2
4
443b1aef2f0c105369144e8c86e65741e589e608
1,945
android-modularisation
Apache License 2.0
bbootimg/src/test/kotlin/avb/desc/UnknownDescriptorTest.kt
cfig
56,238,465
false
null
// Copyright 2021 <EMAIL> // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in wri...
20
null
222
972
cae7591d55647084d9ec0f73631caac7d43481d3
1,719
Android_boot_image_editor
Apache License 2.0
core-mvp-binding/sample/src/main/java/ru/surfstudio/android/mvp/binding/rx/sample/twoway/TwoWayRoute.kt
surfstudio
139,034,657
false
null
package ru.surfstudio.android.mvp.binding.rx.sample.twoway import android.content.Context import android.content.Intent import ru.surfstudio.android.core.ui.navigation.activity.route.ActivityRoute /** * Маршрут [TwoWayActivityView]. */ class TwoWayRoute : ActivityRoute() { override fun prepareIntent(context: ...
5
null
30
249
6d73ebcaac4b4bd7186e84964cac2396a55ce2cc
394
SurfAndroidStandard
Apache License 2.0
app/src/main/java/com/sam/video/timeline/widget/MaxHeightRecyclerView.kt
meitu
312,538,026
false
null
package com.sam.video.timeline.widget import android.content.Context import android.util.AttributeSet /** * 限制最大高度的rv * @author SamWang(<EMAIL>) * @date 2019-08-07 */ class MaxHeightRecyclerView @JvmOverloads constructor( context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0 ) : androidx.recycl...
1
Kotlin
21
87
757b4cb51656f7c87836e0b323209f0fa6916bd4
694
VideoTimeLine
Apache License 2.0
app/src/main/java/com/example/eamobiles/di/RemoteModule.kt
AnguloDev10
414,837,957
false
null
package com.example.eamobiles.di import com.example.eamobiles.data.remote.AnimeService import dagger.Module import dagger.Provides import dagger.hilt.InstallIn import dagger.hilt.components.SingletonComponent import retrofit2.Retrofit import retrofit2.converter.gson.GsonConverterFactory import javax.inject.Singleton ...
0
Kotlin
0
0
b01ee45e8061a16002ba29c5eb89bba6ffdcbb45
887
ComposeMVVM
Apache License 2.0
core/src/test/kotlin/io/holunda/connector/compose/ComposeFunctionTest.kt
holunda-io
630,812,028
false
{"Python": 403136, "Kotlin": 57145, "Dockerfile": 1729, "Shell": 372}
package io.holunda.connector.compose import com.fasterxml.jackson.databind.node.* import io.holunda.connector.* import io.mockk.* import org.junit.jupiter.api.* class ComposeFunctionTest : AbstractFunctionTest<ComposeFunction>() { override val function = ComposeFunction() @Test fun `should execute compo...
20
Python
0
24
655d64157bb01c247e7105118ab88d08d2ea0a11
815
camunda-8-connector-gpt
Apache License 2.0
marker/jvm-marker/src/test/testData/scope/CallerFunctions.kt
sourceplusplus
173,253,271
false
{"Kotlin": 1227211, "Java": 190403, "JavaScript": 3929, "Groovy": 3042, "Python": 2564}
private class CallerFunctions { private fun callerFunction() { directCalledFunction() } private fun directCalledFunction() { indirectCalledFunction() } private fun indirectCalledFunction() { println(true) } }
14
Kotlin
13
87
199006a410529d961dc184f0740a5d845bd87899
258
interface-jetbrains
Apache License 2.0
straight/src/commonMain/kotlin/me/localx/icons/straight/bold/SearchHeart.kt
localhostov
808,861,591
false
{"Kotlin": 79430321, "HTML": 331, "CSS": 102}
package me.localx.icons.straight.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 i...
1
Kotlin
0
5
cbd8b510fca0e5e40e95498834f23ec73cc8f245
2,709
icons
MIT License
ktor-utils/jsAndWasmShared/src/io/ktor/util/logging/LoggerJs.kt
ktorio
40,136,600
false
{"Kotlin": 6007831, "C": 453568, "Python": 948, "JavaScript": 775, "HTML": 336, "Mustache": 77, "Handlebars": 9}
// ktlint-disable filename /* * Copyright 2014-2021 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license. */ package io.ktor.util.logging public enum class LogLevel { TRACE, DEBUG, INFO, WARN, ERROR, NONE } public actual interface Logger { publ...
156
Kotlin
1051
12,926
f90f2edf11caca28a61dbe9973faae64c17a2842
949
ktor
Apache License 2.0
checkup/src/main/java/com/straiberry/android/checkup/checkup/domain/usecase/RemoteUpdateDentalIssueUseCase.kt
STRAIBERRY-AI-INC
490,596,796
false
{"Kotlin": 637726, "HTML": 1282}
package com.straiberry.android.checkup.checkup.domain.usecase import com.straiberry.android.checkup.checkup.domain.repository.CheckupRepo class RemoteUpdateDentalIssueUseCase(private val checkupRepo: CheckupRepo) { suspend fun execute( toothId: Int, toothNumber: String, duration: Int, ...
1
Kotlin
0
3
d2f93dac8ca1ce8e64a3c0983d0b029d89e369e1
439
straiberry-checkup
The Unlicense
common/ui/src/main/kotlin/app.surgo.common.ui/ItemsHeader.kt
tsukiymk
382,220,719
false
{"Kotlin": 889558, "Shell": 553, "CMake": 252, "C++": 166}
package app.surgo.common.ui import androidx.compose.foundation.ExperimentalFoundationApi import androidx.compose.foundation.basicMarquee import androidx.compose.foundation.layout.Row import androidx.compose.foundation.layout.Spacer import androidx.compose.foundation.layout.padding import androidx.compose.material3.Mat...
0
Kotlin
0
0
99038e0621ecc17e47965c3b352391c6a780f26c
1,428
surgo
Apache License 2.0
relive-simulator-core/src/commonMain/kotlin/xyz/qwewqa/relive/simulator/core/presets/dress/generated/dress1090001.kt
qwewqa
390,928,568
false
null
package xyz.qwewqa.relive.simulator.core.presets.dress.generated import xyz.qwewqa.relive.simulator.core.stage.actor.ActType import xyz.qwewqa.relive.simulator.core.stage.actor.Attribute import xyz.qwewqa.relive.simulator.core.stage.actor.StatData import xyz.qwewqa.relive.simulator.core.stage.dress.ActParameters impor...
0
Kotlin
11
7
70e1cfaee4c2b5ab4deff33b0e4fd5001c016b74
5,490
relight
MIT License
src/main/kotlin/core/usecase/AssignCreditInteractor.kt
TimeEscaper
380,326,985
false
null
package core.usecase import core.domain.* import core.port.CreditAssignmentRepositoryException import core.port.ICreditAssignmentRepository private val POSITIVE_CREDIT = CreditValue(20) private val NEGATIVE_CREDIT = CreditValue(-20) private val MESSAGE_SELF_ASSIGN_WARNING = BotMessage( "You can not assign or deb...
0
Kotlin
1
3
09f974857cf8323c563d06fe48b086a1e5610f0b
1,638
social_creditor_bot
MIT License
kotlin-common-gradle-plugins/src/main/kotlin/com/huanshankeji/ProjectNames.kt
huanshankeji
488,230,525
false
{"Kotlin": 46318}
package com.huanshankeji import org.gradle.api.Project val Project.fullNameForFileSystem get() = path.removePrefix(":").replace(":", "--") val Project.fullNameWithRootProjectNameForFileSystem get() = rootProject.name + "--" + fullNameForFileSystem val Project.defaultFullNameForPublishing get() = (rootPr...
7
Kotlin
0
6
aabbd88f8f35402f7efc9093e4253daf2efe3ca1
543
gradle-common
Apache License 2.0
shared/src/commonMain/kotlin/UIComponentButton.kt
lspradeep
674,487,748
false
null
import androidx.compose.runtime.Composable import androidx.compose.ui.Modifier expect class UIComponentButton(onClick: () -> Unit){ @Composable fun UIComponentButton(modifier: Modifier, text: String) }
0
Kotlin
0
4
5e48e62c4533430c890ada9b2c6b5e72085dbf44
210
compose-multiplatform-media
Apache License 2.0
shared/src/commonMain/kotlin/UIComponentButton.kt
lspradeep
674,487,748
false
null
import androidx.compose.runtime.Composable import androidx.compose.ui.Modifier expect class UIComponentButton(onClick: () -> Unit){ @Composable fun UIComponentButton(modifier: Modifier, text: String) }
0
Kotlin
0
4
5e48e62c4533430c890ada9b2c6b5e72085dbf44
210
compose-multiplatform-media
Apache License 2.0
aoc2022/day13.kt
davidfpc
726,214,677
false
{"Kotlin": 127212}
package aoc2022 import utils.InputRetrieval import kotlin.math.min fun main() { Day13.execute() } object Day13 { fun execute() { val input = readInput() println("Part 1: ${part1(input)}") println("Part 2: ${part2(input)}") } private fun part1(input: List<String>): Int { ...
0
Kotlin
0
0
8dacf809ab3f6d06ed73117fde96c81b6d81464b
4,225
Advent-Of-Code
MIT License
pulsar.core/src/main/kotlin/com/marshalldbrain/pulsar/colony/production/DistrictManager.kt
marshallbrain
221,334,008
false
null
package com.marshalldbrain.pulsar.colony.production import com.marshalldbrain.ion.collections.getOrDefault import com.marshalldbrain.pulsar.colony.construction.ConstructionTask import com.marshalldbrain.pulsar.colony.construction.ConstructionType import com.marshalldbrain.pulsar.resources.ResourceUpdater class Distri...
0
Kotlin
0
0
ca61d17315f18480f074ee58d801e140605c5b12
3,435
pulsar-experiment-4
MIT License
app/src/test/java/com/prush/justanotherplayer/SplashActivityPresenterTest.kt
iamporus
203,219,989
false
null
package com.prush.justanotherplayer import com.nhaarman.mockitokotlin2.mock import com.nhaarman.mockitokotlin2.verify import com.prush.justanotherplayer.ui.splash.SplashActivityPresenter import com.prush.justanotherplayer.ui.splash.SplashActivityView import org.junit.Rule import org.junit.Test import org.mockito.junit...
0
Kotlin
2
8
1d83a0cd55fa1d92c5bc1a6b0a95c34056809a14
830
Yamp
Apache License 2.0
features/home/ui/src/main/java/io/github/japskiddin/sudoku/feature/home/ui/components/ItemSelector.kt
Japskiddin
766,410,608
false
{"Kotlin": 260171}
package io.github.japskiddin.sudoku.feature.home.ui.components import androidx.compose.foundation.Image import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.Row import androidx.compose.material3.Text import androidx.compose.runtime.Composable import androidx.compose.runtime.getValue i...
0
Kotlin
0
0
85cb1a33ef7cbc8db21c0a1b7210ce86a2446dee
2,629
SudokuGame
Apache License 2.0
alcholrehab/app/src/main/java/com/example/alcholrehab/utils/NetworkUtils.kt
bhargavbvs
476,408,431
false
null
package com.example.alcholrehab.utils import android.content.Context import android.net.ConnectivityManager import android.net.NetworkCapabilities import android.os.Build import com.example.alcholrehab.AlcoholRehab object NetworkUtils { fun isConnected(): Boolean { val connectivityManager = AlcoholRehab....
0
Kotlin
1
0
bf2b5941a00c1bf68d65863fb36e68cacfff23af
1,429
Courage-to-Change
MIT License
app/src/main/kotlin/com/adesso/movee/data/NetworkConnectionDispatcherImpl.kt
adessoTurkey
246,803,496
false
{"Kotlin": 262786, "Shell": 866}
package com.adesso.movee.data import android.content.Context import android.net.ConnectivityManager import android.net.Network import android.net.NetworkRequest import androidx.lifecycle.DefaultLifecycleObserver import androidx.lifecycle.LifecycleOwner import androidx.lifecycle.ProcessLifecycleOwner import com.adesso....
31
Kotlin
13
35
b34346a815204c966311f0c879b66e05a10eab13
2,193
android-sample-app
Apache License 2.0
src/test/kotlin/tech/espero/gruber/fullstackchallenge/controller/UserControllerTest.kt
danielgruber
458,578,234
false
{"Kotlin": 72512}
package tech.espero.gruber.fullstackchallenge.controller import org.json.JSONObject import org.junit.jupiter.api.Test import org.springframework.beans.factory.annotation.Autowired import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc import org.springframework.boot.test.context.SpringBoot...
0
Kotlin
0
0
87323a708956e9577d659ebd100005388043d717
7,017
Full-stack-challenge
Apache License 2.0
jdroid-android-core/src/test/java/com/jdroid/android/AbstractUnitTest.kt
fwonly123
198,339,170
false
{"Java Properties": 2, "Markdown": 6, "Gradle": 22, "Shell": 1, "YAML": 2, "EditorConfig": 1, "Ignore List": 16, "XML": 233, "Kotlin": 394, "Java": 254, "JSON": 5, "JavaScript": 1, "INI": 2, "HTML": 1}
package com.jdroid.android abstract class AbstractUnitTest : AbstractTest() { override fun isHttpMockEnabled(): Boolean { return true } }
1
null
1
1
578194586fc7d7e71d3742756651d658cb498bd0
156
jdroid-android
Apache License 2.0
composeApp/src/commonMain/kotlin/model/User.kt
mjaremczuk
732,345,154
false
{"Kotlin": 28092, "HTML": 304}
package model import androidx.compose.runtime.Stable @Stable data class User( val login: String, val password: String, )
0
Kotlin
0
0
efa8fce42e4963b7e26c49b93789496edb40e039
131
ProjectsHelper
Apache License 2.0
composeApp/src/commonMain/kotlin/org/sn/notebykmp/data/data_sourse/LocalData.kt
SaeedNoshadi89
798,733,711
false
{"Kotlin": 142944, "Swift": 522, "HTML": 280}
package org.sn.notebykmp.data.data_sourse import org.sn.notebykmp.domain.model.Category object LocalData { val category = listOf( Category(id = 1, name = "All"), Category(id = 2, name = "Work"), Category(id = 3, name = "Life style") ) }
0
Kotlin
2
31
27416f64e3fcf1c6c572a4194dc794d7bc12f758
270
NoteByKMP
MIT License
app/src/main/java/com/mehdisekoba/imdb/data/model/detail/ResponseDetail.kt
MehdiSekoba
783,286,213
false
{"Kotlin": 145486}
package com.mehdisekoba.imdb.data.model.detail import com.google.gson.annotations.SerializedName @Suppress("ktlint:standard:max-line-length") data class ResponseDetail( @SerializedName("adult") val adult: Boolean?, // false @SerializedName("backdrop_path") val backdropPath: String?, // /87IVlclAfWL6md...
0
Kotlin
1
11
e4a2c6589681fca604a92b159811bf0a3106094f
3,812
imdb
Apache License 2.0
integration-scenarios/src/test/kotlin/wild/monitor/WildMonitorServiceIntegrationTest.kt
ddubson
169,662,670
false
null
package wild.monitor import io.restassured.RestAssured.given import org.hamcrest.CoreMatchers.notNullValue import org.junit.jupiter.api.DisplayName import org.junit.jupiter.api.Test class WildMonitorServiceIntegrationTest { @Test @DisplayName("WildMonitor Critical Path 1") fun criticalPath1() { gi...
0
Kotlin
0
0
28bc6535ab639c3ea712383d55f60dbdcb094cf0
657
wild-monitor
MIT License
compiler/fir/resolve/testData/resolve/expresssions/receiverConsistency.kt
cr8tpro
189,964,139
false
null
fun foo() {} class C { fun bar() {} fun err() {} class Nested { fun test() { err() } } } fun test() { val c = C() foo() c.bar() val err = C() err.foo() }
0
null
1
2
dca23f871cc22acee9258c3d58b40d71e3693858
221
kotlin
Apache License 2.0
lightguide/src/main/java/com/forgetsy/lightguide/shape/RoundedRectangle.kt
ForgetSky
346,703,857
false
null
package com.forgetsy.lightguide.shape import android.animation.TimeInterpolator import android.graphics.Canvas import android.graphics.Paint import android.graphics.Rect import android.graphics.RectF import com.forgetsy.lightguide.shape.Shape.Companion.DEFAULT_DURATION import com.forgetsy.lightguide.shape.Shape.Compan...
0
Kotlin
0
1
e2a8150e5a95567412cd03ce3f685356a18b1eb8
1,649
LightGuide
Apache License 2.0
dsl/src/main/kotlin/io/cloudshiftdev/awscdkdsl/services/batch/EcsFargateContainerDefinitionDsl.kt
cloudshiftinc
667,063,030
false
{"Kotlin": 70198112}
@file:Suppress( "RedundantVisibilityModifier", "RedundantUnitReturnType", "RemoveRedundantQualifierName", "unused", "UnusedImport", "ClassName", "REDUNDANT_PROJECTION", "DEPRECATION" ) package io.cloudshiftdev.awscdkdsl.services.batch import io.cloudshiftdev.awscdkdsl.common.CdkDslMark...
0
Kotlin
0
3
256ad92aebe2bcf9a4160089a02c76809dbbedba
10,016
awscdk-dsl-kotlin
Apache License 2.0
lifecycle/autodispose-lifecycle-ktx/src/test/kotlin/com/uber/autodispose/lifecycle/ktx/KotlinLifecycleScopeProviderTest.kt
msocheat
159,807,643
true
{"Java": 306114, "Kotlin": 33135, "Shell": 938}
/* * Copyright (C) 2018. Uber Technologies * * 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...
0
Java
0
0
921965d965684e3749fcc841b28fcae2c59035ed
2,754
AutoDispose
Apache License 2.0
Kotlin/src/RotateArrayTest.kt
santosh241
293,432,227
false
null
import org.junit.Assert import org.junit.Test import java.util.Arrays class RotateArrayTest { @Test fun testRotate() { val ra = RotateArray() val array0 = intArrayOf(1) ra.rotate(array0, 1) Assert.assertTrue(Arrays.equals(array0, intArrayOf(1))) val array1 = intArray...
1
null
1
2
39f85cdedaaf5b85f7ce842ecef975301fc974cf
598
Windary
MIT License
Section3/Video3.4/CommunicatingWithFragments/app/src/main/java/fragment/packt/com/communicatingwithfragments/BlankFragment2.kt
sby5388
256,136,381
true
{"Java": 36215068, "Kotlin": 132222, "Assembly": 138}
package fragment.packt.com.communicatingwithfragments import android.content.Context import android.os.Bundle import android.support.v4.app.Fragment import android.util.Log import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.TextView // TODO: Rename paramet...
0
Java
0
0
9eeea6097983b13e411afa21dcec6460c7d7ee70
3,768
Hands-on-Android-Application-Components-Services-and-Fragments
MIT License
src/me/anno/io/base/BaseReader.kt
won21kr
351,713,352
true
{"Kotlin": 1983578, "Java": 301507, "C": 75596, "GLSL": 9436}
package me.anno.io.base import me.anno.audio.effects.SoundPipeline import me.anno.audio.effects.falloff.ExponentialFalloff import me.anno.audio.effects.falloff.LinearFalloff import me.anno.audio.effects.falloff.SquareFalloff import me.anno.audio.effects.impl.AmplitudeEffect import me.anno.audio.effects.impl.EchoEffect...
0
null
0
0
b85295f59ddfa9fc613a384d439fd1b30b06a5a4
7,153
RemsStudio
Apache License 2.0
src/test/kotlin/uk/gov/justice/digital/hmpps/hmppsactivitiesmanagementapi/service/AppointmentOccurrenceAllocationServiceTest.kt
ministryofjustice
533,838,017
false
null
package uk.gov.justice.digital.hmpps.hmppsactivitiesmanagementapi.service import org.junit.jupiter.api.Test import org.mockito.kotlin.mock import org.mockito.kotlin.verify import org.mockito.kotlin.verifyNoInteractions import org.mockito.kotlin.whenever import reactor.core.publisher.Mono import uk.gov.justice.digital....
4
Kotlin
0
1
8e1f42b2b35528679e7aefb5da9818e82e8b22d2
5,535
hmpps-activities-management-api
MIT License
app/src/main/java/pt/hventura/mycoktails/cocktails/coctailsMap/CocktailMapViewModel.kt
hventura
473,391,656
false
{"Kotlin": 83087}
package pt.hventura.mycoktails.cocktails.coctailsMap import android.app.Application import androidx.lifecycle.MutableLiveData import org.joda.time.DateTime import pt.hventura.mycoktails.base.BaseViewModel import pt.hventura.mycoktails.data.CocktailsRepositoryImpl /** * I choose to create this viewModel so that in th...
0
Kotlin
0
0
bf31fdaa3d85b22495056db3723a91225a8d05a0
700
MyCocktails
MIT License
app/src/main/java/com/example/cookingrecipe/apidata/AnalyzedInstruction.kt
real-Darkshadow
571,245,039
false
null
package com.example.cookingrecipe.apidata data class AnalyzedInstruction( val name: String, val steps: List<Step> )
0
Kotlin
0
0
35115fa9998bbd10bdd8d14c4916478bdeaf5a72
124
CookingRecipe
MIT License
sdk/src/main/kotlin/com/tpay/sdk/internal/paymentMethod/CreditCardAdapter.kt
tpay-com
702,885,281
false
{"Kotlin": 521890}
package com.tpay.sdk.internal.paymentMethod import android.view.ViewGroup import android.widget.LinearLayout import androidx.recyclerview.widget.RecyclerView import com.tpay.sdk.R import com.tpay.sdk.api.models.TokenizedCard import com.tpay.sdk.api.paycard.CreditCardBrand import com.tpay.sdk.designSystem.buttons.Butto...
0
Kotlin
1
0
b75aa85efa7cabbd628e95111b770d9b2cc2b639
2,733
tpay-android
MIT License
app/src/main/java/com/revolgenx/anilib/ui/fragment/review/ReviewComposerFragment.kt
rev0lgenX
244,410,204
false
null
package com.revolgenx.anilib.ui.fragment.review import android.content.Context import android.content.res.ColorStateList import android.os.Bundle import android.view.* import android.view.inputmethod.InputMethodManager import androidx.core.os.bundleOf import com.pranavpandey.android.dynamic.support.theme.DynamicTheme ...
3
Kotlin
1
24
355d2b5510682d869f18e0113453237af8a1f1cc
8,780
AniLib
Apache License 2.0
core/src/main/java/com/gerosprime/gylog/models/workouts/history/WorkoutExerciseHistoryLoader.kt
gerosprime
213,372,637
false
{"Gradle": 12, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 11, "Batchfile": 1, "Markdown": 1, "INI": 9, "Proguard": 10, "Kotlin": 326, "XML": 133, "Java": 11}
package com.gerosprime.gylog.models.workouts.history import io.reactivex.Single interface WorkoutExerciseHistoryLoader { fun load(workoutId : Long, exerciseId : Long) : Single<WorkoutExerciseHistoryResult> }
0
Kotlin
0
1
a775377e6a8bdb81e405eb1b04ca5fd14f5dd9c6
213
gylog-android-app
Apache License 2.0
common/src/main/kotlin/net/spaceeye/vmod/toolgun/modes/state/ConnectionMode.kt
SuperSpaceEye
751,999,893
false
null
package net.spaceeye.vmod.toolgun.modes.state import net.minecraft.world.entity.player.Player import net.minecraft.world.level.Level import net.spaceeye.vmod.constraintsManaging.addFor import net.spaceeye.vmod.constraintsManaging.extensions.RenderableExtension import net.spaceeye.vmod.constraintsManaging.makeManagedCo...
2
null
9
6
1b54435e7b48ffae90a937d7ce22dc053fc95947
5,063
VMod
MIT License
app/src/main/java/com/baserecycleradapter/example/advance/vh/HeaderVH.kt
kamranahmadhadi
324,846,118
false
null
package com.baserecycleradapter.example.advance.vh import android.view.View import android.widget.TextView import com.base.recycleradapter.BaseViewHolder import com.baserecycleradapter.example.R import com.baserecycleradapter.example.advance.model.Header class HeaderVH(view: View) : BaseViewHolder<Header>(view) { ...
0
Kotlin
0
0
5f13ef649914fa9a59c273104d1b8a89b0403d32
505
BaseRecyclerAdapter
Apache License 2.0
app/src/main/java/com/alirezaafkar/phuzei/injection/module/NetworkModule.kt
seiyria
295,443,909
true
{"Kotlin": 66614}
package com.seiyria.reuuzei.injection.module import com.seiyria.reuuzei.API_SCOPE import com.seiyria.reuuzei.AUTHORIZATION import com.seiyria.reuuzei.BASE_API_URL import com.seiyria.reuuzei.BASE_URL import com.seiyria.reuuzei.BuildConfig import com.seiyria.reuuzei.CODE import com.seiyria.reuuzei.KEY_CLIENT_ID import c...
0
Kotlin
0
0
6dc14696007dde5b9f93b7d6a0e87f3961e0dacc
4,741
reuuzei
Apache License 2.0
server/src/main/kotlin/com/asadmshah/rplace/server/Server.kt
asadmshah
93,749,947
false
null
package com.asadmshah.rplace.server import com.asadmshah.rplace.pubsub.PubSubClientModule import io.undertow.Undertow fun main(args: Array<String>) { val component = DaggerDIComponent .builder() .pubSubClientModule(PubSubClientModule()) .build() Undertow.builder() ...
0
Kotlin
0
0
17f33f12c98a4ef36f365d3ea9a9da0f7c2220f2
449
rplace-server
The Unlicense
components/src/main/java/com/mercadolibre/android/andesui/snackbar/duration/AndesSnackbarDurationInterface.kt
jorGonzalez291292
296,400,886
false
null
package com.mercadolibre.android.andesui.snackbar.duration /** * Defines all types related properties that an [AndesSnackbar] needs to be drawn properly. * Those properties change depending on the style of the tag. */ internal interface AndesSnackbarDurationInterface { /** * Returns a duration for the sna...
0
null
0
1
5b1d7b395cb60073c044365fef9d0c205c8b68cb
707
fury_andesui-android
MIT License
virtue-storage-kv/src/jsMain/kotlin/com/eygraber/virtue/storage/kv/VirtueKeyValueStorage.js.kt
eygraber
807,438,503
false
{"Kotlin": 140635, "Shell": 1747}
package com.eygraber.virtue.storage.kv import com.eygraber.virtue.paths.VirtuePaths import io.github.xxfast.kstore.KStore import io.github.xxfast.kstore.storage.storeOf internal actual fun createStore( paths: VirtuePaths, name: String, ): KStore<List<KeyValue>> = storeOf(name)
1
Kotlin
0
4
9e07f30a9b7f2e74638c22b22fa48a4156ae540e
284
virtue
MIT License
src/main/kotlin/io/github/gaming32/mckt/nbt/NbtTagType.kt
mckt-Minecraft
532,076,162
false
null
package io.github.gaming32.mckt.nbt @RequiresOptIn(level = RequiresOptIn.Level.ERROR) private annotation class DontUse @DontUse object NbtTagType { const val NULL = 0 const val BYTE = 1 const val SHORT = 2 const val INT = 3 const val LONG = 4 const val FLOAT = 5 const val DOUBLE = 6 co...
0
Kotlin
0
2
98e88af4f54a12faeea2543c4bbdc950dd744092
510
mckt
MIT License
kotlin/kotlin-and-android-development-featuring-jetpack/chapter-9/code-to-copy/standings/StandingsListItem.kt
hermantai
24,401,146
false
null
package dev.mfazio.abl.standings import dev.mfazio.abl.teams.Division sealed class StandingsListItem { abstract val id: String data class TeamItem(val uiTeamStanding: UITeamStanding) : StandingsListItem() { override val id = uiTeamStanding.teamId } data class Header(val division: Division) :...
2
null
1
1
87f62edef85ff947c8b8f014dfd231cbf7cab021
390
samples
Apache License 2.0
app/src/main/java/com/dicoding/asclepius/view/news/NewsActivity.kt
Pavelmez
802,382,087
false
{"Kotlin": 29615}
package com.dicoding.asclepius.view.news import android.os.Bundle import android.widget.ImageView import android.widget.TextView import androidx.activity.enableEdgeToEdge import androidx.appcompat.app.AppCompatActivity import androidx.core.view.ViewCompat import androidx.core.view.WindowInsetsCompat import com.bumptec...
0
Kotlin
0
0
7cf6a739ae0e8e494d93408c8819a41a4ced463a
1,216
Basic-Cancer-Checker
MIT License
app/common/src/commonJvmMain/kotlin/com/denchic45/studiversity/domain/usecase/UploadAttachmentToCourseWorkUseCase.kt
denchic45
435,895,363
false
null
package com.denchic45.studiversity.domain.usecase import com.denchic45.studiversity.data.repository.AttachmentRepository import com.denchic45.studiversity.data.repository.CourseElementRepository import com.denchic45.studiversity.domain.Resource import com.denchic45.stuiversity.api.course.element.model.AttachmentHeader...
0
Kotlin
0
5
02d19321d16604a052f6dd29aa54be29343991e6
887
Studiversity
Apache License 2.0
app/src/main/java/com/example/photohuntcompose/ui/screens/itemhunt/ItemValidationFailureScreen.kt
burhankamran5
834,095,911
false
{"Kotlin": 49177}
package com.example.photohuntcompose.ui.screens.itemhunt import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Row import androidx.compose.foundation.layout.Spacer import androidx.compose.foundation.layout.fillMaxSize import and...
0
Kotlin
0
0
f7324dfecd2a4fb6cea0d5390696a04dd4fb8111
4,211
Photo-Hunt-Compose
MIT License
bytebank/src/main/kotlin/br/com/alura/bytebank/arrays/main.kt
FernandoLink
670,308,529
false
null
package br.com.alura.bytebank.arrays import java.math.BigDecimal import java.math.RoundingMode fun main() { val idades: IntArray = intArrayOf(25, 19, 33, 20, 53, 16) idades.forEach { idade -> println(idade) } println(idades.contentToString()) println(idades.max()) println(idades.min()) println...
0
Kotlin
0
0
872d9192a741afaa438894698ec0b5e31088434b
2,416
kotlin
MIT License
src/main/kotlin/competition/CompetitionApp.kt
uttran
711,222,508
false
{"Kotlin": 163187, "HTML": 1761}
package competition import MyHandler import MyKey import competition.group.groupSelection import competition.signout.signOut import competition.signout.signOutConfirm import hotKeys import kotlinx.browser.window import kotlinx.coroutines.MainScope import kotlinx.coroutines.await import kotlinx.coroutines.launch import...
0
Kotlin
0
0
e77b20d6b486bc673143ad0c2773f816d83364fc
15,729
uttran.github.io
Apache License 2.0
cinescout/people/data/remote/src/commonMain/kotlin/cinescout/people/data/remote/mock/TmdbPeopleMockEngine.kt
fardavide
280,630,732
false
null
package cinescout.people.data.remote.mock import cinescout.network.testutil.respondJson import cinescout.people.data.remote.res.TmdbScreenplayCreditsJson import cinescout.screenplay.domain.sample.TmdbScreenplayIdSample import io.ktor.client.engine.mock.MockEngine import io.ktor.http.Url import io.ktor.http.fullPath f...
14
Kotlin
2
6
f04a22b832397f22065a85af038dd15d90225cde
1,528
CineScout
Apache License 2.0
EmergencyApp/app/src/main/java/com/dicoding/emergencyapp/ui/authentication/signup/SignUpActivity.kt
briancatraguna
364,262,679
false
null
package com.dicoding.emergencyapp.ui.authentication.signup import android.content.Intent import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.view.View import android.widget.Toast import com.dicoding.emergencyapp.R import com.dicoding.emergencyapp.databinding.ActivitySignUpBinding im...
1
Kotlin
2
9
5e2d2f6325650bdf5b406876270dd9dbbfda9491
2,744
SixPackTeamApp
MIT License
buildSrc/src/main/java/Versions.kt
odaridavid
275,939,371
false
null
object Versions { object Kotlin { const val stlibVersion = "1.4.10" const val coroutinesVersion = "1.3.9" } object Jetpack{ const val coreKtxVersion = "1.3.1" const val appCompatVersion = "1.2.0" const val lifecycleKtxVersion = "2.2.0" const val activityKtxV...
4
Kotlin
0
5
38b632cc6d9c76e9047670e257537012541421f2
772
RickNMortyCompose
Apache License 2.0
src/main/kotlin/voidcaffelatte/varioustnts/tnt/ImpactTNT.kt
voidCaffeLatte
628,475,083
false
null
package voidcaffelatte.varioustnts.tnt import org.bukkit.entity.TNTPrimed import org.bukkit.event.entity.EntityDamageByEntityEvent import org.bukkit.event.entity.EntityExplodeEvent class ImpactTNT( tnt: TNTPrimed, private val power: Double) : TNT { override val id = tnt.uniqueId.toString() override f...
0
Kotlin
0
0
f323bfa243a6f45f23cc48de9909abe3006b778f
746
various-tnts
MIT License
src/commonMain/kotlin/fr/amoya/ktaglib/tag/flac/FlacTagParser.kt
moya-a
363,263,644
false
null
package fr.amoya.ktaglib.tag.flac import fr.amoya.ktaglib.tag.Tag import fr.amoya.ktaglib.tag.TagParser /* * fr.amoya.ktaglib.common.parsers.flac * As a part of the Project k-taglib * @Author <NAME> : <<EMAIL>> * Created on 06/05/2021 */ class FlacTagParser : TagParser { override fun parse(rawData: ByteArray): ...
0
Kotlin
0
1
d3dd69285fa3d1d1efc35e22d5766f5a24a7f248
366
k-taglib
MIT License
kotlin-mui-icons/src/main/generated/mui/icons/material/AirlineSeatReclineExtra.kt
JetBrains
93,250,841
false
null
// Automatically generated - do not modify! @file:JsModule("@mui/icons-material/AirlineSeatReclineExtra") @file:JsNonModule package mui.icons.material @JsName("default") external val AirlineSeatReclineExtra: SvgIconComponent
12
Kotlin
145
983
a99345a0160a80a7a90bf1adfbfdc83a31a18dd6
228
kotlin-wrappers
Apache License 2.0
app/src/main/java/com/xin/wanandroid/ui/register/RegisterActivity.kt
coolxinxin
294,916,632
false
null
/* * Copyright 2020 Leo * 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 writin...
0
Kotlin
0
3
fbb65064bee0b3208a0b69f4feaa49c01818f854
2,874
WanAndroid-JetpackMvvm
Apache License 2.0
src/main/kotlin/polimorphism/Animal.kt
softbluecursoscode
603,710,984
false
{"Kotlin": 30194}
package polimorphism fun main() { val a: Dog = Dog() a.run() a.eat() val b: Animal = Dog() if (b is Dog) { b.run() b.eat() } } abstract class Animal { fun eat() { println("Eating...") } } class Dog : Animal() { fun run() { println("Running...") ...
0
Kotlin
2
5
d1685053cad799d678364687ea0977d9c727b14d
410
kotlin
MIT License
nebulosa-indi-protocol/src/main/kotlin/nebulosa/indi/protocol/NewBLOBVector.kt
tiagohm
568,578,345
false
{"Kotlin": 2659703, "TypeScript": 482206, "HTML": 231271, "JavaScript": 120088, "SCSS": 11161, "Python": 2817, "Makefile": 445}
package nebulosa.indi.protocol import java.io.PrintStream @Suppress("CanSealedSubClassBeObject") class NewBLOBVector : NewVector<OneBLOB>(), BLOBVector<OneBLOB> { override fun writeTo(stream: PrintStream) = stream.writeXML( "newBLOBVector", elements, "device", device, "name", name, ...
2
Kotlin
2
4
a579e15d2a2aa239965bc0f1c75c04eef74dc243
354
nebulosa
MIT License
js/js.translator/testData/incremental/invalidation/companionInlineFunction/main/m.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 box(stepId: Int, isWasm: Boolean): String { when (stepId) { 0, 1, 2, 3, 4 -> if (foo() != stepId) return "Fail" 5 -> if (foo() != 4) return "Fail" else -> return "Unkown" } return "OK" }
181
Kotlin
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
227
kotlin
Apache License 2.0
app/src/main/java/com/jx3box/ui/search/SearchActivity.kt
JX3BOX
296,293,464
false
{"Gradle": 9, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 7, "Batchfile": 1, "Markdown": 1, "INI": 5, "Proguard": 6, "XML": 143, "Java": 73, "Kotlin": 149, "JSON": 3}
/* * Copyright (C) 2020. jx3box.com * * 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 ap...
0
Kotlin
0
0
6931ec7f5edc83595f6baeec3063fd9c18759c5f
1,543
jx3box-android
Apache License 2.0
app/src/main/java/com/manhal/movies/repository/DiscoverRepository.kt
Manhal1994
682,047,030
false
null
package com.manhal.movies.repository import android.annotation.SuppressLint import android.util.Log import androidx.annotation.WorkerThread import com.manhal.movies.models.entities.MovieGenre import com.manhal.movies.network.service.TheDiscoverService import com.manhal.movies.persistence.MovieDao import com.manhal.mov...
0
Kotlin
0
0
a044f3dd507f9d1ec2ffb90c600cb3b2d66706e0
2,399
movies
Apache License 2.0
Android Application/app/src/main/java/com/example/test000/TextVoice2SL.kt
OmarHany23
677,533,253
false
{"Kotlin": 51297, "PureBasic": 13931, "Python": 10215}
package com.example.test000 import android.Manifest import android.annotation.SuppressLint import android.app.DownloadManager import android.content.Intent import android.content.pm.PackageManager import android.net.Uri import android.os.Bundle import android.os.Environment import android.speech.RecognitionListener im...
0
Kotlin
0
1
522456c022ceb1d661780e8b7bad59c1702748c6
14,306
Sign-Language-Interpreter
MIT License
plugins/scripting/scripting-compiler/testData/compiler/collectDependencies/leaf.req1.kts
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...
// nothing
181
Kotlin
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
13
kotlin
Apache License 2.0
ui/widgets/modal-bottom-sheet/src/main/kotlin/com/edricchan/studybuddy/ui/widgets/modalbottomsheet/select/dsl/SelectBottomSheetGroupBuilder.kt
EdricChan03
100,260,817
false
{"Kotlin": 840248, "Ruby": 202}
package com.edricchan.studybuddy.ui.widgets.modalbottomsheet.select.dsl import androidx.annotation.DrawableRes import androidx.annotation.StringRes import androidx.fragment.app.Fragment import androidx.fragment.app.FragmentActivity import androidx.fragment.app.FragmentManager import androidx.lifecycle.LifecycleOwner i...
49
Kotlin
10
16
47f86afce4293cb8d91aa47f40ea40d6fb82fb0b
28,095
studybuddy-android
MIT License
src/main/kotlin/no/nav/helse/grensekomp/integration/brreg/UnderenheterNavnResponse.kt
navikt
346,295,781
false
null
package no.nav.helse.grensekomp.integration.brreg data class UnderenheterNavnResponse( val navn: String )
7
Kotlin
0
0
f2479a2e3a011ab373b2a420fe4d1dc81d621329
110
grensekomp
MIT License
src/main/kotlin/com/intershop/gradle/scm/utils/ScmException.kt
IntershopCommunicationsAG
55,636,958
false
null
/* * Copyright 2020 Intershop Communications AG. * * 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...
9
Kotlin
5
9
47514e555036dd71d02935945971b4b8a9161ebe
1,366
scmversion-gradle-plugin
Apache License 2.0
koans/src/commonMain/kotlin/com/rsicarelli/koansbr/conventions/invoke/InvokeKotlin.kt
rsicarelli
678,681,968
false
{"Kotlin": 120164, "Java": 9992, "C#": 8749, "PHP": 7690, "Go": 6648, "TypeScript": 6602, "Python": 6090, "Dart": 6059, "Swift": 5735, "JavaScript": 5732}
/* * SPDX-License-Identifier: MIT * Copyright (c) 2014-2019 JetBrains s.r.o. * Copyright (c) 2023-2023 <NAME> */ package com.rsicarelli.koansbr.conventions.invoke class Invokable { var numberOfInvocations: Int = 0 private set operator fun invoke(): Invokable { numberOfInvocations++ ...
0
Kotlin
0
6
ef7a2a3b371975bab10dc98484f109e11bcab95b
397
kotlin-koans-edu-br
MIT License
lib/src/main/kotlin/se/elite/dsc/kafka/JsonMapper.kt
elite-se
270,043,143
false
{"CSS": 215798, "Kotlin": 45557, "Go": 8512, "HTML": 6527, "JavaScript": 3268, "Shell": 2347, "Dockerfile": 2006, "HCL": 1444}
import com.fasterxml.jackson.databind.ObjectMapper import com.fasterxml.jackson.databind.SerializationFeature import com.fasterxml.jackson.databind.util.StdDateFormat import com.fasterxml.jackson.module.kotlin.registerKotlinModule val jsonMapper = ObjectMapper().apply { registerKotlinModule() disable(Serializa...
0
CSS
0
0
8d6393f1a3998b716752b4d6e2efbbfec5df46d4
395
distributed-systems-cloud-2020
MIT License
server/src/main/kotlin/org/archguard/codedb/automate/builtin/LocTask.kt
archguard
565,163,416
false
{"Kotlin": 212032, "TypeScript": 19660, "MDX": 5365, "CSS": 2612, "HTML": 1703, "JavaScript": 1360}
package org.archguard.codedb.automate.builtin import org.archguard.codedb.automate.task.DefaultTask import org.archguard.codedb.automate.task.core.CacheableTask import org.archguard.codedb.automate.task.core.Input import org.archguard.codedb.automate.task.core.Output import org.archguard.codedb.automate.task.core.Task...
1
Kotlin
2
31
4c1f6a57568affeaab7771e83eb0665e934110a5
547
codedb
MIT License
ClassFileVIewer/src/main/kotlin/ConstantPoolDisplay.kt
kevinrjones
374,307,422
false
null
package com.knowledgespike.classfileviewer fun getCardContent(classFileParser: ClassFileParser, parseData: ClassfileDisplayDetails): ConstantPoolDisplay { parseData.title val constantPoolDsiplay: ConstantPoolDisplay = when (parseData) { is ClassfileDisplayDetails.ConstantValuePoolDisplayDetails -> ge...
0
Kotlin
0
0
97f689a2b7c4e8b74a06ff89c461d24680ce8fd8
4,631
ComposeExamples
MIT License
view/src/main/java/com/workfort/pstuian/view/imageslider/SliderAnimations.kt
arhanashik
411,942,559
false
{"Kotlin": 1051684}
package com.workfort.pstuian.view.imageslider /** * **************************************************************************** * * Created by : arhan on 27 Nov, 2021 at 8:02. * * Email : <EMAIL> * * * * This class is for: * * 1. * * 2. * * 3. * ******************************************************...
0
Kotlin
0
2
981e8c097318e3bdcfb10c0cd1968bbb2e0ef899
1,016
PSTUian-android
Apache License 2.0
androidApp/src/main/java/press/sync/SyncPreferencesView.kt
susyimes
323,609,665
true
{"Kotlin": 499797, "Swift": 36689, "Java": 19120, "Ruby": 5783}
package press.sync import android.content.Context import android.net.Uri import android.widget.ViewFlipper import androidx.browser.customtabs.CustomTabsIntent import com.jakewharton.rxbinding3.view.detaches import com.squareup.contour.ContourLayout import com.squareup.inject.assisted.Assisted import com.squareup.injec...
1
null
1
0
27526c7b6ce0073cfbdfc66f1e530bc96193992b
3,411
press
Apache License 2.0
app/src/main/java/com/mariotti/developer/futureclock/extensions/ResourcesExtensions.kt
gmariotti
45,698,513
false
null
package com.mariotti.developer.futureclock.extensions import android.content.res.Resources import android.os.Build fun Resources.getColorBasedOnApi23(colorID: Int): Int { if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) { return this.getColor(colorID, null) } else { return this.getColor(col...
16
Kotlin
0
0
b4d8cb49a6df9ae511b23d7b94eb40ccbed3cc10
333
future-clock
Apache License 2.0
app/src/main/java/org/xbmc/kore/ui/sections/remote/MyRemoteActivity.kt
ChanNagihong
212,856,306
true
{"Java": 2147372, "Perl": 24856, "Kotlin": 12564, "Shell": 575}
package org.xbmc.kore.ui.sections.remote import android.content.Intent import android.databinding.DataBindingUtil import android.os.Bundle import android.support.design.widget.TabLayout.OnTabSelectedListener import android.support.design.widget.TabLayout.Tab import android.support.v4.text.TextDirectionHeuristicsCompat...
0
Java
0
0
33ae15205723080290e50cdc2595c8da1fd76cf0
8,168
Kore
Apache License 2.0
app/src/main/java/com/mapswithme/maps/search/FloatingSearchToolbarController.kt
dnemov
245,413,600
false
{"Gradle": 3, "Java Properties": 3, "Shell": 1, "Text": 16, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "INI": 1, "Proguard": 1, "XML": 624, "Kotlin": 708, "Java": 9, "HTML": 3, "JSON": 95}
package com.mapswithme.maps.search import android.app.Activity import android.text.TextUtils import com.mapswithme.maps.api.ParsedMwmRequest.Companion.currentRequest import com.mapswithme.maps.api.ParsedMwmRequest.Companion.hasRequest import com.mapswithme.maps.widget.SearchToolbarController import com.mapswithme.util...
0
Kotlin
0
1
8b75114193e141aee14fcbc207a208c4a39de1db
2,392
omim.kt
Apache License 2.0
sofarc-serv/src/main/kotlin/org/maxur/sofarc/params/ConfigParams.kt
myunusov
94,055,176
false
null
@file:Suppress("unused") package org.maxur.sofarc.params import com.fasterxml.jackson.databind.SerializationFeature import org.jvnet.hk2.annotations.Service import org.maxur.sofarc.core.annotation.Value import org.maxur.sofarc.core.service.jackson.ObjectMapperProvider import org.maxur.sofarc.core.service.grizzly.conf...
1
null
1
1
d465dc917e5af6bfc32f40e4d406a2767f5261ab
1,168
sofarc
Apache License 2.0
app/src/main/java/org/abuhuraira/app/scenes/listVideos/ListVideosPresenter.kt
YusufSaad
428,501,733
false
{"Java": 3686476, "Kotlin": 315094, "HTML": 4986, "Assembly": 6}
package org.abuhuraira.app.scenes.listVideos import com.example.coreandroid.sources.errors.DataError import org.abuhuraira.app.R import org.abuhuraira.app.common.cleanBase.AppModels import org.abuhuraira.app.common.dataAdapters.VideoDataModel import org.abuhuraira.app.common.extensions.getString import org.abuhuraira....
1
Java
1
2
02f84a27796eed4683dc7bab88b07446a6fe2315
2,113
Ahc-app
MIT License
app/src/main/java/ir/neo/stepbarviewdemo/MainActivity.kt
imaNNeoFighT
128,241,824
false
{"Kotlin": 32461, "Java": 1138}
package ir.neo.stepbarviewdemo import android.os.Bundle import android.support.v7.app.AppCompatActivity import android.view.View import android.widget.* import ir.neo.stepbarview.DpHandler import ir.neo.stepbarview.StepBarView import ir.neo.stepbarview.StepBarView.StepsTitleSetter import kotlinx.android.synthetic.main...
2
Kotlin
23
110
c5f7d9bd44f7f910ca50b7925e38a7200cd759aa
7,046
StepBarView
Apache License 2.0
AndroidSDKFcm/src/main/java/com/leanplum/FirebaseUtil.kt
Leanplum
89,527,711
false
null
/* * Copyright 2021, Leanplum, Inc. All rights reserved. * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you unde...
14
null
42
41
d392efa2685ce940748e2fb9a343cc4f7ca08292
2,991
Leanplum-Android-SDK
Apache License 2.0
src/util/main/sp/it/util/units/RangeYear.kt
sghpjuikit
18,862,317
false
null
package sp.it.util.units import java.time.Year import sp.it.util.math.max import sp.it.util.math.min import sp.it.util.parsing.ConverterToString /** * Range of year units. * Stores minimum value, maximum value and specificness - whether any value the range was created for was unspecified. * Has proper text represe...
11
null
2
22
0a2f29ad192bb224a5737bac012f772c8025e348
2,431
player
RSA Message-Digest License
stplayer/src/main/java/com/st/stplayer/extension/ViewExtension.kt
CharonChui
308,626,657
false
{"Gradle": 9, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 9, "Batchfile": 1, "Markdown": 2, "INI": 6, "Proguard": 7, "Kotlin": 121, "XML": 67, "Java": 43, "GLSL": 2}
package com.st.stplayer.extension import android.graphics.Bitmap import android.graphics.Canvas import android.view.View import android.widget.Toast class ViewExtension { fun View.toast(resId: Int, duration: Int = Toast.LENGTH_SHORT) { Toast.makeText(context, resId, duration).show() } fun View.t...
1
null
1
1
fb15ae9caeeb9d3b47e0823dd0e0da2266d6ebe0
805
StPlayer
Apache License 2.0
tmp/arrays/youTrackTests/4933.kt
DaniilStepanov
228,623,440
false
null
// Original bug: KT-35175 /** * Random number generator, algorithm "xorwow" from p. 5 of Marsaglia, "Xorshift RNGs". * * Cycles after 2^160 * (2^32-1) repetitions. * * See http://www.jstatsoft.org/v08/i14/paper for details. */
1
null
1
1
602285ec60b01eee473dcb0b08ce497b1c254983
234
bbfgradle
Apache License 2.0
app/src/main/java/com/howettl/mvvm/data/repository/UserRemoteRepository.kt
rakaadinugroho
164,458,532
true
{"Kotlin": 26723}
package com.howettl.mvvm.data.repository import com.howettl.mvvm.data.model.User import com.howettl.mvvm.data.network.UserApi import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.withContext class UserRemoteRepository(private val userApi: UserApi) { suspend fun getUsers(): List<User> { return ...
0
Kotlin
0
0
6471930d52b8d786a42acdd0f77adb7bf94022e3
566
android-MVVM-project-template
MIT License
src/test/kotlinIntegration/com/artemkaxboy/redmineexporter/service/IssueCategoryServiceTest.kt
artemkaxboy
408,380,930
false
{"Kotlin": 81482}
package com.artemkaxboy.redmineexporter.service import com.artemkaxboy.redmineexporter.entity.IssueCategory import com.artemkaxboy.redmineexporter.repository.IssueCategoryRepository import org.assertj.core.api.Assertions import org.junit.jupiter.api.AfterEach import org.junit.jupiter.api.Test import org.junit.runner.R...
4
Kotlin
0
1
a9de7218d0b61bec7c03c9583db29303b7c917ce
2,558
red-exporter
MIT License