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/thicapps/artbook/viewmodel/ArtViewModel.kt
cemaltuysuz
398,304,728
false
null
package com.thicapps.artbook.viewmodel import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.thicapps.artbook.model.ImageResponse import com.thicapps.artbook.repo.ArtRepositoryI import com.thicapps.artbook.ro...
0
Kotlin
0
0
9d854b731cfe9973f3082a1e803f5f55e750283e
2,472
ArtBook-Lesson-Example
MIT License
js/js.translator/testFiles/simple/cases/postfixIntOperations.kt
chirino
3,596,099
false
null
package foo fun box(): Boolean { var a = 3; val b = a++; a--; a--; return (a++ == 2) && (b == 3) }
0
null
28
71
ac434d48525a0e5b57c66b9f61b388ccf3d898b5
121
kotlin
Apache License 2.0
src/main/kotlin/days/Day17.kt
mstar95
317,305,289
false
null
package days class Day17 : Day(17) { override fun partOne(): Any { val input = countActiveAfter(1, 3, inputList) println(input) return input } override fun partTwo(): Any { val input = countActiveAfter(6, 4, inputList) return input } data class Dimensiona...
0
Kotlin
0
0
ca0bdd7f3c5aba282a7aa55a4f6cc76078253c81
1,740
aoc-2020
Creative Commons Zero v1.0 Universal
plugins/kotlin/idea/tests/testData/refactoring/extractFunction/parameters/misc/labeledReturns.kt
JetBrains
2,489,216
false
null
fun foo() { listOf(1, "a").mapNotNull { <selection>run { return@mapNotNull 1 }</selection> } } // IGNORE_K1
284
null
5162
16,707
def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0
144
intellij-community
Apache License 2.0
skd_chips/src/main/java/com/artlite/skd/chips/impl/models/ChipSectionModel.kt
dlernatovich
696,519,433
false
{"Kotlin": 71908}
package com.artlite.skd.chips.impl.models import androidx.annotation.DrawableRes import androidx.annotation.StringRes import com.artlite.skd.chips.facade.models.Displayable import com.artlite.skd.chips.facade.models.Expandable import com.artlite.skd.chips.facade.models.Identifiable import com.artlite.skd.chips.facade....
0
Kotlin
0
0
843f6876fec50d5f4e72c64fd4ad07f7c5368232
2,151
SdkAndroidChips
Apache License 2.0
app/src/main/kotlin/com/ivanovsky/passnotes/presentation/note_editor/view/SecretInputType.kt
aivanovski
95,774,290
false
null
package com.ivanovsky.passnotes.presentation.note_editor.view enum class SecretInputType { TEXT, DIGITS }
0
Kotlin
0
0
08df99c790087a252f05de76a75833ec538f6100
114
passnotes
Apache License 2.0
src/main/kotlin/com/budzilla/auth/JwtTokenFilter.kt
MrLys
544,570,195
false
null
package com.budzilla.auth import org.springframework.beans.factory.annotation.Value import org.springframework.http.HttpHeaders.AUTHORIZATION import org.springframework.security.authentication.UsernamePasswordAuthenticationToken import org.springframework.security.core.context.SecurityContextHolder import org.springfr...
0
Kotlin
0
0
e8940dcf4b4f26bbadec7edc00e59eb73655a884
2,705
congenial-dollop
Apache License 2.0
battery/src/main/java/com/domker/doctor/battery/BatteryWatcher.kt
MaisonWan
330,649,879
false
null
package com.domker.app.doctor.battery import android.content.BroadcastReceiver import android.content.Context import android.content.Intent import android.content.IntentFilter import android.os.BatteryManager import android.os.Build import androidx.fragment.app.Fragment import androidx.lifecycle.ViewModelProvider /**...
0
Kotlin
0
0
df13773545f278b8e2946a93bd0b30477e176120
2,802
AppDoctor
Apache License 2.0
battery/src/main/java/com/domker/doctor/battery/BatteryWatcher.kt
MaisonWan
330,649,879
false
null
package com.domker.app.doctor.battery import android.content.BroadcastReceiver import android.content.Context import android.content.Intent import android.content.IntentFilter import android.os.BatteryManager import android.os.Build import androidx.fragment.app.Fragment import androidx.lifecycle.ViewModelProvider /**...
0
Kotlin
0
0
df13773545f278b8e2946a93bd0b30477e176120
2,802
AppDoctor
Apache License 2.0
dsl/src/main/kotlin/io/cloudshiftdev/awscdkdsl/services/cassandra/CfnTablePropsDsl.kt
cloudshiftinc
667,063,030
false
null
@file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION") package cloudshift.awscdk.dsl.services.cassandra import cloudshift.awscdk.common.CdkDslMarker import cloudshift.awscdk.dsl.CfnTagDsl import ko...
3
null
0
3
c59c6292cf08f0fc3280d61e7f8cff813a608a62
13,004
awscdk-dsl-kotlin
Apache License 2.0
compiler/ir/backend.common/src/org/jetbrains/kotlin/backend/common/lower/InnerClassesLowering.kt
arrow-kt
109,678,056
false
null
/* * Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license * that can be found in the license/LICENSE.txt file. */ package org.jetbrains.kotlin.backend.common.lower import org.jetbrains.kotlin.backend.common.BackendContext import org.jetbrains.kotlin.backend.common.Body...
2
null
2
43
d2a24985b602e5f708e199aa58ece652a4b0ea48
11,869
kotlin
Apache License 2.0
app/src/main/java/team/msg/hi_v2/HiApplication.kt
GSM-MSG
637,641,666
false
null
package team.msg.hi_v2 import android.app.Application import dagger.hilt.android.HiltAndroidApp @HiltAndroidApp class HiApplication: Application()
0
Kotlin
0
9
bd251a1fcf7c9b81125204a34f4b6f899cd356be
148
Hi-v2-Android
MIT License
app/src/main/java/team/msg/hi_v2/HiApplication.kt
GSM-MSG
637,641,666
false
null
package team.msg.hi_v2 import android.app.Application import dagger.hilt.android.HiltAndroidApp @HiltAndroidApp class HiApplication: Application()
0
Kotlin
0
9
bd251a1fcf7c9b81125204a34f4b6f899cd356be
148
Hi-v2-Android
MIT License
src/commonMain/kotlin/org/intellij/markdown/html/GeneratingProviders.kt
JetBrains
27,873,341
false
{"Kotlin": 1305157, "Lex": 29252, "Ruby": 691, "Shell": 104}
package org.intellij.markdown.html import org.intellij.markdown.MarkdownElementTypes import org.intellij.markdown.MarkdownTokenTypes import org.intellij.markdown.ast.* import org.intellij.markdown.ast.impl.ListCompositeNode import org.intellij.markdown.ast.impl.ListItemCompositeNode import org.intellij.markdown.html.e...
56
Kotlin
75
661
43c06cb6a9d66caab8b431f738aba3c57aee559f
11,346
markdown
Apache License 2.0
src/main/java/org/tokend/sdk/utils/extentions/ReviewableRequestResource.kt
tokend
153,458,393
false
null
package org.tokend.sdk.utils.extentions import org.tokend.sdk.api.v3.model.generated.resources.BaseReviewableRequestDetailsResource import org.tokend.sdk.api.v3.model.generated.resources.ReviewableRequestResource /** * @return the result of an unchecked cast of [ReviewableRequestResource.requestDetails] to [T] */ f...
0
Kotlin
1
14
5252e7441be26091a45c8dc8a87913bb0ebd1606
459
kotlin-sdk
Apache License 2.0
ui/auth/src/main/kotlin/com/gnoemes/shimori/auth/AuthViewModel.kt
gnoemes
213,210,354
false
null
package com.gnoemes.shimori.auth import androidx.lifecycle.ViewModel import com.gnoemes.shikimori.ShikimoriAuthManager import dagger.hilt.android.lifecycle.HiltViewModel import javax.inject.Inject @HiltViewModel internal class AuthViewModel @Inject constructor( shikimoriAuthManager: ShikimoriAuthManager, ) : View...
0
Kotlin
0
9
4aad5d0bd2e1e70ca7f0c79df3fd35b37d9e0b72
373
Shimori
Apache License 2.0
app/src/main/java/de/uriegel/superfit/ui/views/Settings.kt
uriegel
132,307,614
false
{"Kotlin": 122918}
package de.uriegel.superfit.ui.views import android.app.Activity import android.content.Intent import android.net.Uri import androidx.activity.compose.rememberLauncherForActivityResult import androidx.activity.result.contract.ActivityResultContracts import androidx.compose.foundation.layout.padding import androidx.com...
0
Kotlin
1
1
53e1c418d96917938d0259a44669ff1bf0d14a46
9,278
SuperFit
MIT License
app/src/main/java/io/tokend/template/logic/credentials/providers/CredentialsProvider.kt
tokend
153,459,333
false
null
package io.tokend.template.logic.credentials.providers interface CredentialsProvider { fun hasCredentials(): Boolean fun getCredentials(): Pair<String, CharArray> }
1
null
9
24
297a2dd4b1017f49c37e7a23e4cea0e7682c99d4
173
android-client
Apache License 2.0
modules/core/arrow-core-data/src/main/kotlin/arrow/core/Id.kt
Krishan14sharma
183,217,828
false
null
package arrow.core import arrow.higherkind fun <A> IdOf<A>.value(): A = this.fix().value() @higherkind data class Id<out A>(private val value: A) : IdOf<A> { inline fun <B> map(f: (A) -> B): Id<B> = Id(f(value())) inline fun <B> flatMap(f: (A) -> IdOf<B>): Id<B> = f(value()).fix() fun <B> foldLeft(initial: ...
0
null
0
1
2b26976e1a8fbf29b7a3786074d56612440692a8
1,196
arrow
Apache License 2.0
app/src/main/java/com/example/west2_3/ChatAdapter.kt
Bngel
323,668,435
false
null
package com.example.west2_3 import android.content.Context import android.content.Intent import android.view.ViewGroup import android.widget.ImageView import android.widget.TextView class ChatAdapter(val chatitems: List<Data_ChatItem>): BaseAdapter<Data_ChatItem>(chatitems) { override fun convert(holder: BaseVie...
0
Kotlin
0
0
eb2a72064c374a29922657cf61ca7d974a97281a
1,866
West2_3
Apache License 2.0
src/main/kotlin/com/kryszak/gwatlin/api/pvp/model/stats/PvpStanding.kt
Kryszak
214,791,260
false
null
package com.kryszak.gwatlin.api.pvp.model.stats import com.google.gson.annotations.SerializedName /** * Data model for pvp standings object */ data class PvpStanding( val current: CurrentPvpStanding, val best: BestPvpStanding, @SerializedName("season_id") val seasonId: String )
10
Kotlin
0
3
e86b74305df2b4af8deda8c0a5d2929d8110e41d
307
gwatlin
MIT License
src/main/kotlin/com/amazon/opendistroforelasticsearch/indexmanagement/indexstatemanagement/model/managedindexmetadata/ActionProperties.kt
opendistro-for-elasticsearch
174,581,847
false
null
/* * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. * * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. */ /* * Copyright 2019 Amaz...
51
null
46
117
cda0eda35fc5da3816c407ad7a929d746edaf179
4,310
index-management
Apache License 2.0
compiler/testData/codegen/box/strings/kt3571.kt
JakeWharton
99,388,807
false
null
class Thing(delegate: CharSequence) : CharSequence by delegate fun box(): String { val l = Thing("hello there").length return if (l == 11) "OK" else "Fail $l" }
182
null
5646
83
4383335168338df9bbbe2a63cb213a68d0858104
172
kotlin
Apache License 2.0
app/src/main/java/com/example/waiyan/mmhealthkotlin/data/vos/HealthCareInfoVO.kt
YeHtutAung
141,786,122
false
{"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Proguard": 1, "Kotlin": 18, "XML": 19, "Java": 1}
package com.example.waiyan.mmhealthkotlin.data.vos import com.google.gson.annotations.SerializedName class HealthCareInfoVO { @SerializedName("id") val id: Int = 0 @SerializedName("title") val title: String = "" @SerializedName("image") val image: String = "" @SerializedName("author") ...
0
Kotlin
0
0
ed19fbfa159ad84a37f33e454b9d320416fb44f7
643
MMHealthKotlin_WY
MIT License
subprojects/android-test/ui-testing-core-app/src/androidTest/kotlin/com/avito/android/ui/test/VisibilityScreen.kt
avito-tech
230,265,582
false
{"Kotlin": 3752627, "Java": 67252, "Shell": 27892, "Dockerfile": 12799, "Makefile": 8086}
package com.avito.android.ui.test import androidx.test.espresso.matcher.ViewMatchers import com.avito.android.test.page_object.SimpleScreen import com.avito.android.test.page_object.ViewElement import com.avito.android.ui.R class VisibilityScreen : SimpleScreen() { override val rootId: Int = R.id.visibility ...
10
Kotlin
50
414
4dc43d73134301c36793e49289305768e68e645b
388
avito-android
MIT License
plugin/src/main/java/com/edwardstock/cmakebuild/CMakeBuildConfig.kt
edwardstock
437,412,773
false
{"Kotlin": 21226, "Shell": 172}
package com.edwardstock.cmakebuild import org.gradle.api.tasks.InputDirectory import java.io.File abstract class CMakeBuildConfig : BaseBuildConfig() { /** * Represents current OS for developers needs. * You can access this variable in your project by using: * <code> * cmakeBuild.currentOs ...
0
Kotlin
2
2
eecfe4991f2463cfec716c5b8de8eb7205e19a42
2,443
gradle-cmakebuild
MIT License
formula-test/src/main/java/com/instacart/formula/test/CountingInspector.kt
instacart
171,923,573
false
null
package com.instacart.formula.test import com.instacart.formula.DeferredAction import com.instacart.formula.Inspector import com.instacart.formula.Transition import java.lang.AssertionError import kotlin.reflect.KClass class CountingInspector : Inspector { private var runCount = 0 private val evaluatedList = ...
10
Kotlin
14
145
7a7140f11fab9e07541b0e36d70a76c8340bcfee
2,649
formula
BSD 3-Clause Clear License
bye-bye-dead-code/src/main/java/com/dipien/byebyedeadcode/commons/ExtendedExecResult.kt
dipien
282,313,164
false
{"Kotlin": 43726, "Groovy": 14054, "Shell": 2559, "HTML": 1637}
package com.releaseshub.gradle.plugin.common import org.gradle.process.ExecResult import org.gradle.process.internal.ExecException import java.io.ByteArrayOutputStream class ExtendedExecResult( private val execResult: ExecResult, private val standardOutputStream: ByteArrayOutputStream, private val errorO...
7
Kotlin
7
7
51be68322402c28a02a844235c5a42af7eba044c
983
bye-bye-dead-code
Apache License 2.0
09_MyAnimation/StartingPoint/MyAnimation/app/src/main/java/com/example/myanimation/sample/07AnimateContentSizeView.kt
emboss369
764,072,610
false
{"Kotlin": 232668}
package com.example.myanimation.sample import androidx.compose.animation.animateContentSize import androidx.compose.foundation.background import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.width import androidx.compose.material3.Butt...
0
Kotlin
0
0
cecbe3fc6f4a744314853a83e25b995e6406ec42
1,507
android-compose-book
The Unlicense
android/src/main/java/me/uport/rnsigner/RNUportSignerPackage.kt
uport-project
154,713,148
false
null
@file:Suppress("unused") package me.uport.rnsigner import com.facebook.react.ReactPackage import com.facebook.react.bridge.JavaScriptModule import com.facebook.react.bridge.NativeModule import com.facebook.react.bridge.ReactApplicationContext import com.facebook.react.uimanager.ViewManager import java.util.* /** * ...
4
null
5
8
bfbd890fc431e6341b748be918be94a4592ea4ee
1,115
react-native-uport-signer
Apache License 2.0
app/src/main/java/org/listenbrainz/android/ui/screens/profile/listens/TrackProgressBar.kt
metabrainz
550,726,972
false
null
package com.spotify.sdk.demo import android.os.Handler import android.widget.SeekBar class TrackProgressBar(private val seekBar: SeekBar, private val seekStopListener: (Long) -> Unit) { private val handler: Handler private val seekBarChangeListener = object : SeekBar.OnSeekBarChangeListener { overrid...
5
null
31
99
573ab0ec6c5b87ea963f013174159ddfcd123976
1,454
listenbrainz-android
Apache License 2.0
app/src/main/java/com/octaedges/advanceandroid/model/CountriesService.kt
Farhad2015
440,224,698
false
{"Kotlin": 9538}
package com.octaedges.advanceandroid.model import com.octaedges.advanceandroid.DI.DaggerApiComponet import io.reactivex.rxjava3.core.Single import javax.inject.Inject class CountriesService { @Inject lateinit var api: CountriesApi init { DaggerApiComponet.create().inject(this) } fun get...
0
Kotlin
0
0
3e3916afec492bab76b8be7d7f8dac9f134f2c5f
398
RxWithDragger
Apache License 2.0
src_old/main/kotlin/glm/internals/simd natives.kt
FauxKiwi
315,724,386
false
null
package glm.internals internal external fun n_f32_plusAssign(a0: FloatArray, i0: Int, a1: FloatArray, i1: Int, n: Int): FloatArray internal external fun n_f32_minusAssign(a0: FloatArray, i0: Int, a1: FloatArray, i1: Int, n: Int): FloatArray internal external fun n_f32_timesAssign(a0: FloatArray, i0: Int, a1: FloatAr...
0
Kotlin
0
2
b384f2a430c0f714237e07621a01f094d9f5ee75
353
Pumpkin-Engine
Apache License 2.0
src/main/kotlin/org/hildan/minecraft/mining/optimizer/patterns/DiggingPattern.kt
joffrey-bion
48,772,914
false
{"Kotlin": 73321}
package org.hildan.minecraft.mining.optimizer.patterns import org.hildan.minecraft.mining.optimizer.blocks.Sample /** * Represents a way to dig into the stone in 3 dimensions. */ interface DiggingPattern { /** * Digs this pattern into the given [sample]. This method must take care of stopping at the edge o...
2
Kotlin
0
0
fba62c181d2cb75f266e630ddc0690d958f3a443
737
mc-mining-optimizer
MIT License
src/main/kotlin/org/move/ide/navigation/goto/MvSymbolNavigationContributor.kt
pontem-network
279,299,159
false
{"Kotlin": 2175494, "Move": 38620, "Lex": 5509, "HTML": 2114, "Java": 1275}
package org.move.ide.navigation import com.intellij.navigation.ChooseByNameContributorEx import com.intellij.navigation.NavigationItem import com.intellij.psi.search.GlobalSearchScope import com.intellij.util.Processor import com.intellij.util.indexing.FindSymbolParameters import com.intellij.util.indexing.IdFilter im...
9
Kotlin
4
69
51a5703d064a4b016ff2a19c2f00fe8f8407d473
1,699
intellij-move
MIT License
common/common-ui/src/main/java/com/duckduckgo/common/ui/store/ThemingSharedPreferences.kt
duckduckgo
78,869,127
false
null
/* * Copyright (c) 2021 DuckDuckGo * * 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 ...
67
null
901
3,823
6415f0f087a11a51c0a0f15faad5cce9c790417c
2,656
Android
Apache License 2.0
src/main/kotlin/com/ort/lastwolf/api/body/validator/VillageRegisterBodyValidator.kt
h-orito
288,476,085
false
{"Kotlin": 934120, "Batchfile": 522, "Shell": 454}
package com.ort.lastwolf.api.body.validator import com.ort.lastwolf.api.body.VillageRegisterBody import com.ort.lastwolf.domain.model.skill.Skill import com.ort.lastwolf.fw.LastwolfDateUtil import org.springframework.stereotype.Component import org.springframework.validation.Errors import org.springframework.validatio...
5
Kotlin
0
0
a86e0b7a55dbe616bfd390b69ea368c990aee99f
3,147
lastwolf-api
MIT License
nebulosa-platesolver/src/main/kotlin/nebulosa/platesolver/PlateSolver.kt
tiagohm
568,578,345
false
{"Kotlin": 2747666, "TypeScript": 509060, "HTML": 243311, "JavaScript": 120539, "SCSS": 11332, "Python": 2817, "Makefile": 355}
package nebulosa.plate.solving import nebulosa.common.concurrency.cancel.CancellationToken import nebulosa.image.Image import nebulosa.math.Angle import java.nio.file.Path import java.time.Duration interface PlateSolver { fun solve( path: Path?, image: Image?, centerRA: Angle = 0.0, centerDEC: An...
4
Kotlin
2
4
e144290464c5e6e2e18ad23a036526800428e7f9
508
nebulosa
MIT License
core/android/src/main/kotlin/com/walletconnect/android/echo/network/EchoService.kt
WalletConnect
435,951,419
false
{"Kotlin": 1795667, "Java": 4358}
package com.walletconnect.android.echo.network import com.walletconnect.android.echo.network.model.EchoBody import com.walletconnect.android.echo.network.model.EchoResponse import retrofit2.Response import retrofit2.http.* interface EchoService { @POST("{projectId}/clients") suspend fun register(@Path("proje...
154
Kotlin
66
166
5158f90f2f241d318c7b0188047125ea789d9577
609
WalletConnectKotlinV2
Apache License 2.0
backend/src/main/kotlin/com/denchic45/studiversity/feature/membership/MembershipRouting.kt
denchic45
435,895,363
false
{"Kotlin": 2073955, "Vue": 15083, "JavaScript": 2830, "CSS": 1496, "HTML": 867}
package com.denchic45.studiversity.feature.membership //import com.denchic45.studiversity.config //import com.denchic45.studiversity.feature.membership.usecase.FindMembershipByScopeUseCase //import com.denchic45.studiversity.feature.membership.usecase.RemoveMemberFromScopeUseCase //import com.denchic45.studiversity.fe...
0
Kotlin
0
7
9d1744ffd9e1652e93af711951e924b739e96dcc
6,824
Studiversity
Apache License 2.0
kotlinLeetCode/src/main/kotlin/leetcode/editor/cn/[399]除法求值.kt
maoqitian
175,940,000
false
{"Text": 1, "Ignore List": 2, "Markdown": 1, "Java": 254, "Gradle": 2, "INI": 1, "Shell": 1, "Batchfile": 1, "Java Properties": 1, "Kotlin": 189, "JSON": 2, "C++": 1}
import java.util.* //给你一个变量对数组 equations 和一个实数值数组 values 作为已知条件,其中 equations[i] = [Ai, Bi] 和 values //[i] 共同表示等式 Ai / Bi = values[i] 。每个 Ai 或 Bi 是一个表示单个变量的字符串。 // // 另有一些以数组 queries 表示的问题,其中 queries[j] = [Cj, Dj] 表示第 j 个问题,请你根据已知条件找出 Cj / Dj = // ? 的结果作为答案。 // // 返回 所有问题的答案 。如果存在某个无法确定的答案,则用 -1.0 替代这个答案。 // // /...
0
Kotlin
0
1
8a85996352a88bb9a8a6a2712dce3eac2e1c3463
3,430
MyLeetCode
Apache License 2.0
server/world/src/main/kotlin/net/js5/Js5Decoder.kt
Guthix
270,323,476
false
{"Kotlin": 667208}
/* * Copyright 2018-2021 Guthix * * 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 ...
2
Kotlin
9
43
bbf40d18940a12155a33341a1c99ba47289b8e2a
2,036
OldScape
Apache License 2.0
src/me/anno/engine/ui/PrefabSaveableInput.kt
AntonioNoack
456,513,348
false
null
package me.anno.engine.ui import me.anno.ecs.prefab.PrefabSaveable import me.anno.language.translation.NameDesc import me.anno.studio.StudioBase.Companion.dragged import me.anno.ui.base.menu.Menu.msg import me.anno.ui.base.menu.Menu.openMenu import me.anno.ui.base.menu.MenuOption import me.anno.ui.base.text.TextPanel ...
0
Kotlin
3
9
94bc7c74436aa567ec3c19f386dd67af0f1ced00
3,059
RemsEngine
Apache License 2.0
app/src/main/java/com/hadi/archives/presentation/screens/details/BookDetailsScreen.kt
unaisulhadi
499,780,070
false
{"Kotlin": 74268}
package com.hadi.archives.presentation.screens.details import android.widget.Toast import androidx.compose.foundation.* import androidx.compose.foundation.layout.* import androidx.compose.foundation.shape.RoundedCornerShape import androidx.compose.material.Divider import androidx.compose.material.Icon import androidx....
0
Kotlin
3
42
866962abe3dadb362162e66feeb9e98764ae169d
11,028
Archives
MIT License
devops-boot-project/devops-boot-core/devops-schedule/devops-schedule-worker/src/main/kotlin/com/tencent/devops/schedule/hearbeat/Heartbeat.kt
bkdevops-projects
294,058,091
false
{"Kotlin": 488037, "JavaScript": 47413, "Vue": 36468, "SCSS": 7290, "HTML": 620, "Java": 559}
package com.tencent.devops.schedule.hearbeat import com.tencent.devops.schedule.enums.WorkerStatusEnum /** * 维持和调度中心的心跳,定时上报状态 */ interface Heartbeat { /** * @param status 自身状态 */ fun beat(status: WorkerStatusEnum) }
7
Kotlin
22
27
cbff03abe5d572b09cbd486830d87cddc91b938b
241
devops-framework
MIT License
pumping/src/test/kotlin/com/dpm/pumping/user/domain/UserTest.kt
depromeet
627,802,875
false
null
package com.dpm.pumping.user.domain import com.dpm.pumping.auth.domain.LoginPlatform import com.dpm.pumping.auth.domain.LoginType import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Test class UserTest { @Test fun `유저가 회원가입을 한 상태면 액세스 토큰을 발급한다`() { val platform = LoginPlatf...
3
Kotlin
0
2
366e951c11eafc9369aa0095337579ffb23f7ec6
709
pumping-server
Apache License 2.0
purchases/src/test/java/com/revenuecat/purchases/LogLevelTest.kt
RevenueCat
127,346,826
false
{"Kotlin": 3187935, "Java": 82657, "Ruby": 28079, "Shell": 443}
package com.revenuecat.purchases import androidx.test.ext.junit.runners.AndroidJUnit4 import org.assertj.core.api.Assertions.assertThat import org.junit.Test import org.junit.runner.RunWith @RunWith(AndroidJUnit4::class) class LogLevelTest { @Test fun testLogLevelComparable() { assertThat(com.revenue...
30
Kotlin
52
253
dad31133777389a224e9a570daec17f5c4c795ca
1,239
purchases-android
MIT License
components/ledger/ledger-utxo-flow/src/main/kotlin/net/corda/ledger/utxo/impl/token/selection/factories/ClaimReleaseParameters.kt
corda
346,070,752
false
{"Kotlin": 18843439, "Java": 318792, "Smarty": 101152, "Shell": 48766, "Groovy": 30378, "PowerShell": 6350, "TypeScript": 5826, "Solidity": 2024}
package net.corda.ledger.utxo.impl.token.selection.factories import net.corda.ledger.utxo.impl.token.selection.impl.PoolKey import net.corda.v5.ledger.utxo.StateRef data class ClaimReleaseParameters( val claimId: String, val poolKey: PoolKey, val usedTokens: List<StateRef> )
96
Kotlin
21
51
08c3e610a0e6ec20143c47d044e0516019ba6578
290
corda-runtime-os
Apache License 2.0
forstegangsbehandling/src/test/kotlin/FørstegangsbehandlingTest.kt
navikt
575,838,396
false
null
import no.nav.helse.Førstegangsbehandling import no.nav.helse.Søknad import no.nav.helse.februar import no.nav.helse.januar import org.junit.jupiter.api.Assertions.* import org.junit.jupiter.api.Test import java.time.LocalDate import java.time.LocalDateTime import java.util.UUID internal class FørstegangsbehandlingTes...
6
null
0
1
e57f5a3450eed4bd5dced16786ff06a017f62156
3,209
helse-dataprodukter
MIT License
app/src/main/java/com/github/malitsplus/shizurunotes/ui/clanbattledetails/ClanBattleBossSkillAdapter.kt
liar1573
242,482,699
true
{"Java": 779399, "Kotlin": 121731, "C++": 12688, "Starlark": 8903}
package com.github.malitsplus.shizurunotes.ui.clanbattledetails import android.content.Context import android.view.LayoutInflater import android.view.ViewGroup import androidx.databinding.DataBindingUtil import androidx.recyclerview.widget.LinearLayoutManager import androidx.recyclerview.widget.RecyclerView import com...
0
null
0
0
14af2059c37b754e125442381005998835119cb2
1,609
ShizuruNotes
Apache License 2.0
RefreshToken.kt
tanishq14developer
578,764,894
false
{"Kotlin": 2737}
import kotlinx.coroutines.delay import kotlinx.coroutines.runBlocking import okhttp3.Authenticator import okhttp3.Request import okhttp3.Response import okhttp3.Route /** * Created by <NAME> on 15/12/22. */ class TokenAuthenticator( private val tokenManager: TokenManager ) : Authenticator { override fun aut...
0
Kotlin
0
0
0e52957fb5bd848c64c8f1732993522465245a82
2,729
RefreshToken
MIT License
eithernet/src/commonMain/kotlin/com/slack/eithernet/ApiResult.kt
slackhq
297,518,695
false
null
/* * Copyright (C) 2020 Slack Technologies, LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
4
null
26
734
290aae1da9f8ab2b64e035f9b99840d97bc910f4
8,099
EitherNet
Apache License 2.0
app/src/main/java/com/zyr/apiclient/network/ApiErrorType.kt
ZYRzyr
102,813,716
false
null
/******************************************************************************* * Copyright 2017 <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/licen...
0
Kotlin
4
44
d02f7b400fb69b71f254b0f9812ca8b4c5249b63
1,403
ApiClient
Apache License 2.0
project/jimmer-sql-kotlin/src/test/kotlin/org/babyfish/jimmer/sql/kt/common/AbstractMutationTest.kt
babyfish-ct
488,154,823
false
null
package org.babyfish.jimmer.sql.kt.common import org.babyfish.jimmer.sql.kt.ast.KExecutable import org.babyfish.jimmer.sql.kt.ast.expression.value import org.babyfish.jimmer.sql.kt.ast.mutation.KBatchSaveResult import org.babyfish.jimmer.sql.kt.ast.mutation.KMutationResult import org.babyfish.jimmer.sql.kt.ast.mutatio...
18
null
72
725
873f8405a268d95d0b2e0ff796e2d0925ced21e7
10,829
jimmer
Apache License 2.0
SqlObjectMapper/src/main/kotlin/com/qualifiedcactus/sqlObjectMapper/fromRs/ResultSetParser.kt
qualified-cactus
546,189,129
false
null
/* * MIT License * * Copyright (c) 2023 qualified-cactus * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy,...
0
Kotlin
0
2
1027e4f634ec7b6db7a9fb1dbdf025a7d93536e5
8,819
SqlObjectMapper
MIT License
app/src/main/java/sgtmelon/adventofcode/year15/day7/Year15Day7ViewModel.kt
SerjantArbuz
559,224,296
false
{"Kotlin": 152755}
package sgtmelon.adventofcode.year15.day7 import sgtmelon.adventofcode.app.domain.SplitTextUseCase import sgtmelon.adventofcode.app.presentation.screen.parent.solution.TextSolutionViewModelImpl import sgtmelon.adventofcode.year15.day7.model.Command import sgtmelon.adventofcode.year15.day7.useCase.CalculateWiresUseCase...
0
Kotlin
0
0
26a57b8431c03e2d09071f7302d6360ba91bfd2f
1,532
AdventOfCode
Apache License 2.0
app/src/main/java/sgtmelon/adventofcode/year15/day7/Year15Day7ViewModel.kt
SerjantArbuz
559,224,296
false
{"Kotlin": 152755}
package sgtmelon.adventofcode.year15.day7 import sgtmelon.adventofcode.app.domain.SplitTextUseCase import sgtmelon.adventofcode.app.presentation.screen.parent.solution.TextSolutionViewModelImpl import sgtmelon.adventofcode.year15.day7.model.Command import sgtmelon.adventofcode.year15.day7.useCase.CalculateWiresUseCase...
0
Kotlin
0
0
26a57b8431c03e2d09071f7302d6360ba91bfd2f
1,532
AdventOfCode
Apache License 2.0
app/src/main/java/com/simbiri/equityjamii/adapters/TaskAdapter.kt
SimbaSimbiri
706,250,529
false
{"Kotlin": 451132}
package com.example.app.adapters import android.content.Context import android.os.Handler import android.util.DisplayMetrics import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.view.WindowManager import android.widget.ImageView import android.widget.ProgressBar impo...
0
Kotlin
0
0
8f20edd903d6616cb3dbeaa426bbd9a054cdd674
5,400
EquiJamii
Apache License 2.0
gradle-declarative-lang/src/com/android/tools/idea/gradle/dcl/ide/DeclarativePairedBraceMatcher.kt
JetBrains
60,701,247
false
{"Kotlin": 53054415, "Java": 43443054, "Starlark": 1332164, "HTML": 1218044, "C++": 507658, "Python": 191041, "C": 71660, "Lex": 70302, "NSIS": 58238, "AIDL": 35382, "Shell": 29838, "CMake": 27103, "JavaScript": 18437, "Smali": 7580, "Batchfile": 7357, "RenderScript": 4411, "Clean": 3522, "Makefile": 2495, "IDL": 19}
/* * Copyright (C) 2024 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
5
Kotlin
227
948
10110983c7e784122d94c7467e9d243aba943bf4
1,486
android
Apache License 2.0
cli/src/main/kotlin/com/malinskiy/marathon/cli/args/FileVendorConfiguration.kt
badoo
251,365,845
false
{"Gradle Kotlin DSL": 24, "CODEOWNERS": 1, "INI": 8, "YAML": 20, "Shell": 11, "Text": 1, "Ignore List": 4, "Batchfile": 4, "EditorConfig": 1, "Markdown": 1, "Gradle": 3, "XML": 33, "Kotlin": 476, "Java": 8, "OpenStep Property List": 11, "Swift": 18, "JSON": 18, "JavaScript": 15, "JSON with Comments": 1, "HTML": 9, "SCS...
package com.malinskiy.marathon.cli.args interface FileVendorConfiguration { }
1
null
6
1
e07de46f42f42e7b0a335bc1f81682deaa769288
79
marathon
Apache License 2.0
app/src/main/java/com/willowtree/vocable/presets/IPresetsRepository.kt
willowtreeapps
188,443,410
false
{"Kotlin": 261197}
package com.willowtree.vocable.presets import com.willowtree.vocable.room.CategoryDto import com.willowtree.vocable.room.PhraseDto import kotlinx.coroutines.flow.Flow //TODO: PK - Rename this once we make the jump to rename [PresetsRepository] -> "RoomPresetsRepository" interface IPresetsRepository { suspend fun ...
63
Kotlin
12
96
fdf4a76a016314f4d982c0a6bd2cf41cf888d84d
1,204
vocable-android
MIT License
data/RF00614/rnartist.kts
fjossinet
449,239,232
false
{"Kotlin": 8214424}
import io.github.fjossinet.rnartist.core.* rnartist { ss { rfam { id = "RF00614" name = "consensus" use alignment numbering } } theme { details { value = 3 } color { location { 2 to 8...
0
Kotlin
0
0
3016050675602d506a0e308f07d071abf1524b67
2,927
Rfam-for-RNArtist
MIT License
detekt-rules/src/main/kotlin/io/gitlab/arturbosch/detekt/rules/complexity/LongParameterList.kt
niraj8
355,162,546
true
{"Kotlin": 1852830, "HTML": 4183, "Groovy": 2423}
package io.gitlab.arturbosch.detekt.rules.complexity import io.gitlab.arturbosch.detekt.api.AnnotationExcluder import io.gitlab.arturbosch.detekt.api.Config import io.gitlab.arturbosch.detekt.api.Debt import io.gitlab.arturbosch.detekt.api.Entity import io.gitlab.arturbosch.detekt.api.Issue import io.gitlab.arturbosch...
4
Kotlin
0
1
e1d7272886b46ba4ba79059b9e3c0772589b62e1
5,751
detekt
Apache License 2.0
src/main/kotlin/no/nav/familie/ba/sak/kjerne/autovedtak/fødselshendelse/VelgFagSystemService.kt
navikt
224,639,942
false
null
package no.nav.familie.ba.sak.kjerne.autovedtak.fødselshendelse import io.micrometer.core.instrument.Counter import io.micrometer.core.instrument.Metrics import no.nav.familie.ba.sak.config.FeatureToggleConfig import no.nav.familie.ba.sak.config.FeatureToggleService import no.nav.familie.ba.sak.integrasjoner.infotrygd...
8
Kotlin
0
7
d4a7ef6bc7ba6f0dfdbea1e0d7c7413a97891d55
7,669
familie-ba-sak
MIT License
gradle/build-infra/src/main/kotlin/dev/elide/infra/gradle/catalogs/VersionCatalogMergeTask.kt
elide-dev
646,018,864
false
{"Kotlin": 257243, "TOML": 52866, "Gradle": 42054, "YAML": 21793, "Dockerfile": 7754, "Java": 2273}
package dev.elide.infra.gradle.catalogs import org.gradle.api.DefaultTask import org.gradle.api.file.ConfigurableFileCollection import org.gradle.api.file.RegularFileProperty import org.gradle.api.provider.ListProperty import org.gradle.api.tasks.* import org.tomlj.Toml import org.tomlj.TomlArray import org.tomlj.Toml...
6
Kotlin
2
2
ac58e3bbd8e88868d8104dccceb2affb967389af
13,690
build-infra
MIT License
src/test/kotlin/no/nav/syfo/util/GetDateTests.kt
navikt
192,538,863
false
{"Kotlin": 164579, "Dockerfile": 278}
package no.nav.syfo.util import org.junit.jupiter.api.Assertions import org.junit.jupiter.api.Test import java.time.LocalDateTime internal class GetDateTests { @Test internal fun `Convert without offset`() { val it = "2021-02-02T12:00:00" val localDateTime = getLocalDateTime(it) Asser...
4
Kotlin
1
0
f65517a241fd06ac2b161f438325296022d1affc
1,162
syfosmmottak
MIT License
src/main/kotlin/ArrayGrid.kt
acmi
91,500,714
false
null
class ArrayGrid<T>(override val width: Int, override val height: Int, initializer: (x: Int, y: Int) -> T) : Grid<T> { private val data = ArrayList((0..(width * height - 1)).map { initializer(it % width, it / width) }) override operator fun get(x: Int, y: Int) = object : C...
0
Kotlin
0
0
ae0781d2b2d446688b0214c178f4099a9af6d791
1,149
SudokuSolver
Do What The F*ck You Want To Public License
app/src/main/java/com/rafaelds/russianhelper/home/MainActivityView.kt
themobilecoder
155,638,923
false
{"Kotlin": 35702}
package com.rafaelds.russianhelper.home import com.rafaelds.russianhelper.data.RussianWord interface MainActivityView { fun showAddWordDialog() fun showWordAddedSnackbar() fun updateWordList(results: ArrayList<RussianWord>) fun getWordIndex(id: String) : Int fun insertWord(word: RussianWord, index...
0
Kotlin
0
0
d8782cee5cff030322699c4fce11afa16f11d469
481
Russian-Word-Helper
MIT License
src/org/jetbrains/r/roxygen/annotator/RoxygenAnnotator.kt
JetBrains
214,212,060
false
{"Kotlin": 2849847, "Java": 814635, "R": 36890, "CSS": 23692, "Lex": 14307, "HTML": 10063, "Rez": 245, "Rebol": 64}
/* * Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. */ package org.jetbrains.r.roxygen.annotator import com.intellij.lang.annotation.AnnotationHolder import com.intellij.lang.annotation.Annotator import com.intellij.psi.PsiEle...
2
Kotlin
12
62
a6454514e602c16474b0d25cbec5b11e70a5f686
526
Rplugin
Apache License 2.0
src/main/kotlin/no/nav/tiltakspenger/arena/felles/Mapper.kt
navikt
501,620,756
false
{"Kotlin": 135710, "Shell": 207, "Dockerfile": 135}
package no.nav.tiltakspenger.arena.felles import mu.KotlinLogging import java.text.ParseException import java.time.LocalDate import java.time.ZoneId import java.util.GregorianCalendar import javax.xml.datatype.DatatypeConfigurationException import javax.xml.datatype.DatatypeFactory import javax.xml.datatype.XMLGregori...
6
Kotlin
0
2
756057cefec20ba19ea92531e0978300ed86bb8d
1,841
tiltakspenger-arena
MIT License
src/main/kotlin/fr/zakaoai/coldlibrarybackend/infrastructure/implementation/NyaaTorrentServiceImpl.kt
zakaoai
344,490,461
false
{"Kotlin": 57777, "Dockerfile": 318}
package fr.zakaoai.coldlibrarybackend.infrastructure.implementation import de.kaysubs.tracker.nyaasi.NyaaSiApi import de.kaysubs.tracker.nyaasi.model.Category import de.kaysubs.tracker.nyaasi.model.SearchRequest import fr.zakaoai.coldlibrarybackend.infrastructure.NyaaTorrentService import fr.zakaoai.coldlibrarybackend...
11
Kotlin
0
0
40aaf07e4464c3b6f4d4955bb6e94aefe1f35983
2,245
cold-library-backend
MIT License
app/src/main/java/com/yechy/dailypic/ui/home/MainViewModel.kt
houtengzhi
232,999,794
false
{"Kotlin": 58269}
package com.yechy.dailypic.ui.home import androidx.lifecycle.* import com.yechy.dailypic.ext.copyMap import com.yechy.dailypic.repository.DataRepos import com.yechy.dailypic.repository.SourceInfo import com.yechy.dailypic.ui.DataState import com.yechy.dailypic.vm.BaseViewModel import dagger.hilt.android.lifecycle.Hilt...
0
Kotlin
0
0
92f6c0cf8f4cf201089d320790684297fcd8a297
1,315
DailyPictures
Apache License 2.0
Flexsame/app/src/main/java/com/flexso/flexsame/ui/office/OfficeViewModel.kt
bertve
241,305,722
false
null
package com.flexso.flexsame.ui.office import android.util.Log import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import androidx.lifecycle.ViewModel import com.flexso.flexsame.models.Address import com.flexso.flexsame.models.Office import com.flexso.flexsame.models.User import com.flexso.flex...
0
Kotlin
0
0
d22c365b1dc9378caed4353fac21fd746674fbc9
4,265
AccesControlFlexso-frontend
MIT License
ExportAsDragOrExportToClipboard/src/main/kotlin/example/App.kt
aterai
158,348,575
false
null
package example import java.awt.* import java.awt.datatransfer.Clipboard import java.awt.datatransfer.DataFlavor import java.awt.datatransfer.Transferable import java.awt.datatransfer.UnsupportedFlavorException import java.awt.event.InputEvent import javax.swing.* fun makeUI(): Component { val list = makeList(makeM...
0
null
6
28
433dfe2513f1016eeb1fdc0c42551623a8cfaadf
7,469
kotlin-swing-tips
MIT License
src/main/kotlin/top/lanscarlos/vulpecula/bacikal/action/vector/ActionVectorRotateAxis.kt
Lanscarlos
517,897,387
false
{"Kotlin": 654453}
package top.lanscarlos.vulpecula.bacikal.action.vector /** * Vulpecula * top.lanscarlos.vulpecula.bacikal.action.vector * * @author Lanscarlos * @since 2023-03-22 15:54 */ object ActionVectorRotateAxis : ActionVector.Resolver { override val name: Array<String> = arrayOf("rotate-axis", "rotate-a") /** ...
1
Kotlin
5
30
b07e79c505ebd953535b8c059144baa5482807d8
823
Vulpecula
MIT License
domain/src/main/java/com/jacekpietras/zoo/domain/feature/planner/interactor/AddAnimalToCurrentPlanUseCase.kt
JacekPietras
334,416,736
false
{"Kotlin": 752140, "Java": 21319}
package com.jacekpietras.zoo.domain.feature.planner.interactor import com.jacekpietras.zoo.domain.feature.animal.interactor.GetAnimalUseCase import com.jacekpietras.zoo.domain.feature.planner.model.PlanEntity import com.jacekpietras.zoo.domain.feature.planner.model.Stage import com.jacekpietras.zoo.domain.feature.plan...
0
Kotlin
1
2
e6a689f442cc32d19ee3f51efc49bf49f9969ca8
1,446
ZOO
MIT License
src/test/kotlin/uk/gov/justice/digital/hmpps/prisonertonomisupdate/locations/LocationsToNomisIntTest.kt
ministryofjustice
445,140,246
false
{"Kotlin": 1551337, "Mustache": 1803, "Dockerfile": 1118}
package uk.gov.justice.digital.hmpps.prisonertonomisupdate.locations import com.github.tomakehurst.wiremock.client.WireMock.equalTo import com.github.tomakehurst.wiremock.client.WireMock.equalToJson import com.github.tomakehurst.wiremock.client.WireMock.getRequestedFor import com.github.tomakehurst.wiremock.client.Wir...
2
Kotlin
0
2
e168c734a06480b70bd771581ef2692e83f4fc1b
26,612
hmpps-prisoner-to-nomis-update
MIT License
app/src/debug/java/com/appchamp/wordchunks/DebugApp.kt
luhongwu
144,697,733
false
null
/* * Copyright 2017 Julia Kozhukhovskaya * * 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 agree...
1
Kotlin
9
1
fb56b3bb4da2008a99068f27d9e202d083725124
2,853
WordChunks
Apache License 2.0
test/src/test/kotlin/test/java/integration/core/compile/success/template/TemplateHandlerTest.kt
afezeria
456,986,646
false
null
package test.java.template import org.junit.Test import test.BaseTest import test.Person import test.errorMessages import test.java.template.handler.* import kotlin.test.assertContentEquals /** * * @author afezeria */ class TemplateHandlerTest : BaseTest() { @Test fun `access map without type argument`() {...
0
null
3
5
f52fb74f3805b0518b2f0fce4eb842dee9517a4f
4,560
freedao
Apache License 2.0
demo/src/main/java/com/mta/tehreer/demo/TextViewWidgetActivity.kt
Tehreer
68,520,755
false
null
/* * Copyright (C) 2023 <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 ...
2
C
16
78
74aa7286b37efe058971e3bee427214bffbc5ad5
5,162
Tehreer-Android
Apache License 2.0
core/src/main/java/com/fibelatti/core/android/recyclerview/PagingRecyclerView.kt
fibelatti
165,537,939
false
null
package com.fibelatti.core.android.recyclerview import android.content.Context import android.util.AttributeSet import androidx.recyclerview.widget.GridLayoutManager import androidx.recyclerview.widget.LinearLayoutManager import androidx.recyclerview.widget.RecyclerView import kotlin.properties.Delegates class Paging...
3
Kotlin
10
87
c96e7b709abeec4614df91168c4830ac44981ae5
4,229
pinboard-kotlin
Apache License 2.0
release/rapid/src/main/kotlin/com/expediagroup/sdk/rapid/models/Fees.kt
ExpediaGroup
527,522,338
false
{"Kotlin": 2001564, "Mustache": 51082, "Shell": 166, "Makefile": 73}
/* * Copyright (C) 2022 Expedia, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
7
Kotlin
7
3
d91f62127859b50e806d2b858a1bcc04b47b6138
2,667
openworld-sdk-java
Apache License 2.0
app/src/main/java/cc/sovellus/vrcaa/ui/screen/group/UserGroupsScreenModel.kt
Nyabsi
745,635,224
false
{"Kotlin": 571062}
package cc.sovellus.vrcaa.ui.screen.group import cafe.adriel.voyager.core.model.StateScreenModel import cafe.adriel.voyager.core.model.screenModelScope import cc.sovellus.vrcaa.api.vrchat.models.UserGroups import cc.sovellus.vrcaa.manager.ApiManager.api import kotlinx.coroutines.launch sealed class UserGroupsState { ...
1
Kotlin
3
35
46a1a0b7ec9a7dc068a132a5c6e4b03200009ec1
963
VRCAA
Apache License 2.0
app/src/main/java/com/fozechmoblive/fluidwallpaper/livefluid/ui/component/themes/adapter/WallpaperDiffUtil.kt
hoangvannhatanh
763,325,226
false
{"Kotlin": 228587, "Java": 183101, "GLSL": 66443}
package com.fozechmoblive.fluidwallpaper.livefluid.ui.component.themes.adapter import androidx.recyclerview.widget.DiffUtil import com.fozechmoblive.fluidwallpaper.livefluid.models.PresetModel class WallpaperDiffUtil( private val newList: List<PresetModel>, private val oldList: List<PresetModel> ) : DiffU...
0
Kotlin
0
0
c9e8296ab6640b4e9cc44fd347057bfe8c236c3d
1,292
fluid_wallpaper
MIT License
core/src/test/kotlin/com/expediagroup/sdk/domain/rapid/RapidHelpersTest.kt
ExpediaGroup
527,522,338
false
{"Kotlin": 2111465, "Mustache": 48416, "Shell": 715, "JavaScript": 606, "Makefile": 73}
/* * Copyright (C) 2022 Expedia, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
5
Kotlin
3
3
949c81113050e93ff71e1d5a4eefa3de8a4b504d
6,049
expediagroup-java-sdk
Apache License 2.0
request-filterer/request-filterer-api/src/main/java/com/duckduckgo/request/filterer/api/RequestFilterer.kt
hojat72elect
822,396,044
false
{"Kotlin": 11627106, "HTML": 65873, "Ruby": 16984, "C++": 10312, "JavaScript": 5520, "CMake": 1992, "C": 1076, "Shell": 784}
package com.duckduckgo.request.filterer.api import android.webkit.WebResourceRequest /** Public interface for the Request Filterer feature */ interface RequestFilterer { /** * This method takes a [request] and a [documentUrl] to calculate if the request should be filtered out or not. * @return `true` ...
0
Kotlin
0
0
54351d039b85138a85cbfc7fc3bd5bc53637559f
731
DuckDuckGo
Apache License 2.0
service/src/test/kotlin/fr/nihilus/music/service/TestBrowserTree.kt
thibseisel
80,150,620
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 wr...
23
null
8
67
f097bcda052665dc791bd3c26880adb0545514dc
3,364
android-odeon
Apache License 2.0
app/src/main/java/com/example/yanghuiwen/habittodoist/view/main_page/PagerAdapter.kt
kikiouo201
319,902,491
false
{"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "JSON": 1, "Proguard": 1, "Java": 2, "XML": 45, "Kotlin": 41}
package com.example.yanghuiwen.habittodoist.view.main_page import android.util.Log import android.view.View import android.view.ViewGroup import android.widget.RelativeLayout import androidx.viewpager.widget.PagerAdapter class PagerAdapter(private val pageList : MutableList<RelativeLayout>) : PagerAdapter() { pri...
0
Kotlin
0
0
5a58e75503064b0f1f2619ef04b21fec0f9308b9
1,243
habitToDoList
Apache License 2.0
idea/testData/codeInsight/overrideImplement/doNotOverrideFinal.kt
JakeWharton
99,388,807
false
null
open class A { fun a(){} fun b(){} } interface I { fun b() } abstract class B : A() { open fun f(){} abstract fun g() fun h(){} } class C : B(), I { <caret> }
0
null
30
83
4383335168338df9bbbe2a63cb213a68d0858104
190
kotlin
Apache License 2.0
dsl/src/main/kotlin/com/faendir/awscdkkt/generated/services/cloudfront/DistributionPropsDsl.kt
F43nd1r
643,016,506
false
null
package com.faendir.awscdkkt.generated.services.cloudfront import com.faendir.awscdkkt.AwsCdkDsl import javax.`annotation`.Generated import kotlin.Unit import software.amazon.awscdk.services.cloudfront.DistributionProps @Generated public fun buildDistributionProps(initializer: @AwsCdkDsl DistributionProps.Builder.() ...
1
Kotlin
0
0
e08d201715c6bd4914fdc443682badc2ccc74bea
409
aws-cdk-kt
Apache License 2.0
app/src/main/java/com/dania/productfinder/repository/PlpRepository.kt
daniachan
335,151,127
false
null
package com.dania.productfinder.repository import androidx.lifecycle.LiveData import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.runBlocking import java.util.concurrent.TimeUnit import javax.inject.Inject import javax.inject.Singleton import com.dania.productfinder.AppExecutors import com.dania.productfin...
0
Kotlin
0
0
a7cf8399e5c9e73b7ecadadc78b57b20dfae40c4
3,246
ProductFinder
MIT License
data/src/main/java/com/bottlerocketstudios/brarchitecture/data/model/BranchDto.kt
BottleRocketStudios
323,985,026
false
null
package com.bottlerocketstudios.brarchitecture.data.model import android.os.Parcelable import com.squareup.moshi.Json import com.squareup.moshi.JsonClass import kotlinx.parcelize.Parcelize @JsonClass(generateAdapter = true) @Parcelize data class BranchDto( @Json(name = "name") val name: String?, @Json(name = ...
1
Kotlin
1
9
e3014001732516e9feab58c862e0d84de9911c83
373
Android-ArchitectureDemo
Apache License 2.0
android/engine/src/main/java/org/smartregister/fhircore/engine/data/remote/fhir/resource/FhirResourceService.kt
issyzac
420,960,297
true
{"Kotlin": 1058894}
/* * Copyright 2021 Ona Systems, Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
0
null
0
0
c4eb29dc58e6232dcee2431a77e082af7ed60421
2,835
fhircore
Apache License 2.0
data/src/main/java/com/andriawan/data/di/LocalModule.kt
andriawan24
491,750,250
false
{"Kotlin": 96002}
package com.andriawan.data.di import android.content.Context import androidx.room.Room import com.andriawan.common.Constants import com.andriawan.data.local.TemplateDatabase import com.andriawan.data.local.dao.GamesDAO import dagger.Module import dagger.Provides import dagger.hilt.InstallIn import dagger.hilt.android....
0
Kotlin
0
0
6459a6ecffd3835fb153db8a1b1cde577e598861
920
android-starter-template
MIT License
core/data/remote/src/main/java/com/fappslab/core/data/remote/network/HttpClient.kt
F4bioo
708,171,476
false
{"Kotlin": 210973}
package com.fappslab.core.data.remote.network interface HttpClient { fun <T> create(clazz: Class<T>): T }
0
Kotlin
0
1
104d22a398cc98a9f229c69a5e75273bca346c42
111
TMDBCompose
MIT License
app/src/main/java/com/homebooking/ui/home/houses/Rating.kt
MateeDevs
355,563,624
false
null
package com.homebooking.ui.home.houses import androidx.compose.foundation.layout.Row import androidx.compose.foundation.layout.requiredSize import androidx.compose.material.Icon import androidx.compose.material.icons.Icons import androidx.compose.material.icons.rounded.Star import androidx.compose.runtime.Composable i...
0
Kotlin
1
0
886f9486523b1eaeda26e1ef9f6fe88175becc10
915
article-compose-basics-and
MIT License
idea/idea-completion/testData/handlers/keywords/ReturnInUnit.kt
JakeWharton
99,388,807
false
null
// ELEMENT: return object OtherTest { fun test() : Unit { retur<caret> } }
1
null
30
83
4383335168338df9bbbe2a63cb213a68d0858104
91
kotlin
Apache License 2.0
src/backend/nuget/api-nuget/src/main/kotlin/com/tencent/bkrepo/nuget/constant/NugetMessageCode.kt
TencentBlueKing
548,243,758
false
{"Kotlin": 13715127, "Vue": 1261493, "JavaScript": 683823, "Shell": 124343, "Lua": 101021, "SCSS": 34137, "Python": 25877, "CSS": 17382, "HTML": 13052, "Dockerfile": 4483, "Smarty": 3661, "Java": 423}
package com.tencent.bkrepo.nuget.constant import com.tencent.bkrepo.common.api.message.MessageCode enum class NugetMessageCode(private val key: String) : MessageCode { PACKAGE_CONTENT_INVALID("nuget.package.content.invalid"), VERSION_EXISTED("nuget.version.existed"), PACKAGE_VERSIONS_NOT_EXISTED("nuget.ve...
383
Kotlin
38
70
817363204d5cb57fcd6d0cb520210fa7b33cd5d6
595
bk-repo
MIT License
buildSrc/src/main/kotlin/Configuration.kt
ThibaultBee
210,187,413
false
{"Kotlin": 254665, "C++": 113612, "CMake": 4052, "C": 3870}
object AndroidVersions { const val MIN_SDK = 19 const val TARGET_SDK = 34 const val COMPILE_SDK = 34 } object Publication { object Repository { val username: String? get() = Property.get(Property.SonatypeUsername) val password: String? get() = Property.get(Proper...
0
Kotlin
31
93
f6703268304f3416d1b6e79efbf06b4bdad47360
1,494
srtdroid
Apache License 2.0
video-editor/src/main/java/com/video/trimmer/view/TimeLineView.kt
tinybeanskids
275,830,814
false
null
package com.video.trimmer.view import android.content.Context import android.graphics.Bitmap import android.graphics.Canvas import android.media.MediaMetadataRetriever import android.net.Uri import android.util.AttributeSet import android.view.View import com.video.trimmer.R import com.video.trimmer.utils.BackgroundEx...
0
Kotlin
0
0
0c5f1c0904d7bba75ed506f5edd59db3879b9ce6
3,875
VideoTrimmer
MIT License