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/org/stepik/android/data/personal_deadlines/DeadlinesHelper.kt
StepicOrg
42,045,161
false
{"Kotlin": 4281147, "Java": 1001895, "CSS": 5482, "Shell": 618}
package org.stepik.android.data.personal_deadlines fun getKindOfRecord(courseId: Long): String = "deadline_$courseId" fun getKindStartsWithOfRecord(): String = "deadline"
13
Kotlin
54
189
dd12cb96811a6fc2a7addcd969381570e335aca7
180
stepik-android
Apache License 2.0
wow-spring-boot-starter/src/main/kotlin/me/ahoo/wow/spring/boot/starter/webflux/WebFluxProperties.kt
Ahoo-Wang
628,167,080
false
{"Kotlin": 2461710, "TypeScript": 51145, "Java": 37656, "HTML": 15900, "Lua": 3978, "JavaScript": 2514, "Dockerfile": 820, "SCSS": 609, "Less": 413}
/* * Copyright [2021-present] [ahoo wang <ahoowang@qq.com> (https://github.com/Ahoo-Wang)]. * 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....
8
Kotlin
23
187
4fb54c314c31a7cd3c9515554879a2ca8fade764
1,495
Wow
Apache License 2.0
app/src/main/java/eu/kanade/tachiyomi/widget/materialdialogs/MaterialAlertDialogBuilderExtensions.kt
komikku-app
743,200,516
false
null
package eu.kanade.tachiyomi.widget.materialdialogs import android.content.Context import android.content.res.ColorStateList import android.graphics.Canvas import android.graphics.ColorFilter import android.graphics.Paint import android.graphics.PixelFormat import android.graphics.RectF import android.graphics.drawable...
36
null
2
78
9b4b1e3e1a13778fbaa70fc3113827eb396ed489
4,282
komikku
Apache License 2.0
app/src/main/java/com/example/linma9/mytechcruncharticlelistapplication/DI/module/PresentorModule.kt
lannyf77
118,670,794
false
null
package com.example.linma9.mytechcruncharticlelistapplication.DI.module import android.app.Application import android.content.Context import android.support.v7.widget.LinearLayoutManager import android.util.Log import com.example.linma9.mytechcruncharticlelistapplication.DI.scope.ViewScope import com.example.linma9.my...
0
Kotlin
0
0
9ae67243bcd5c91fa89fc0868fff44cab796f605
2,107
test_androidArch_retrofix_rxjava
MIT License
src/main/kotlin/br/com/zupacademy/thiago/pix/registra/NovaChaveRequest.kt
ThiagoZup
408,523,610
true
{"Kotlin": 65785}
package br.com.zupacademy.thiago.pix.registra import br.com.zupacademy.thiago.pix.model.ChavePix import br.com.zupacademy.thiago.pix.model.ContaAssociada import br.com.zupacademy.thiago.pix.model.enums.TipoChave import br.com.zupacademy.thiago.pix.model.enums.TipoConta import io.micronaut.core.annotation.Introspected ...
0
Kotlin
0
0
d33c030324376a465a35d32552a612668c6c05f0
1,051
orange-talents-07-template-pix-keymanager-grpc
Apache License 2.0
app/src/main/java/com/jonikoone/dictionaryforlearning/util/BasePresenter.kt
jonikoone
247,094,767
false
null
package com.jonikoone.dictionaryforlearning.util import moxy.MvpPresenter import moxy.MvpView import timber.log.Timber const val TAG_BASE_PRESENTER = "BasePresenter:Log:" abstract class BasePresenter<View : MvpView> : MvpPresenter<View>() { override fun onFirstViewAttach() { super.onFirstViewAttach() ...
0
Kotlin
0
0
c9fd3fd74429513987fa217fb155c85e94195811
510
JapanesDictionary
Apache License 2.0
app/src/main/kotlin/me/miguelos/sample/MainApplication.kt
Miguelos
329,111,147
false
null
package me.miguelos.sample import android.app.Application import android.os.StrictMode import dagger.hilt.android.HiltAndroidApp import timber.log.Timber import javax.inject.Inject @HiltAndroidApp class CoreApplication : Application() { @Inject lateinit var loggingTree: Timber.Tree override fun onCreat...
0
Kotlin
0
0
bbf8cb951c68abbbb73edc4f119c72ba2f480029
1,128
AndroidSample
Apache License 2.0
okta-idx-kotlin/src/test/java/com/okta/idx/kotlin/dto/IdxPollCapabilityTest.kt
okta
331,106,204
false
{"Kotlin": 426673, "Gherkin": 17266, "Ruby": 1873, "Shell": 541}
/* * Copyright 2021-Present Okta, 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...
4
Kotlin
13
9
ebdaf4ffb488b60854779afe770cd88cf0bad826
6,567
okta-idx-android
Apache License 2.0
collection/collection/src/commonTest/kotlin/androidx/collection/IntIntMapTest.kt
androidx
256,589,781
false
null
/* * Copyright 2023 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
29
null
937
5,321
98b929d303f34d569e9fd8a529f022d398d1024b
17,519
androidx
Apache License 2.0
app/common/src/main/kotlin/me/zhanghai/android/files/provider/root/RootFileService.kt
overphoenix
621,371,055
false
null
package me.zhanghai.android.files.provider.root import android.annotation.SuppressLint import android.content.Context import android.os.Process import android.util.Log import tech.nagual.common.BuildConfig import me.zhanghai.android.files.provider.FileSystemProviders import me.zhanghai.android.files.provider.remote.Re...
0
Kotlin
0
0
64264f261c2138d5f1932789702661917bbfae28
2,162
phoenix-android
Apache License 2.0
server/src/main/kotlin/de/sambalmueslie/openevent/server/cache/db/CacheSettingsData.kt
sambalmueslie
270,265,994
false
{"Kotlin": 265865, "Dockerfile": 434, "Batchfile": 61}
package de.sambalmueslie.openevent.server.cache.db import de.sambalmueslie.openevent.server.cache.api.CacheSettings import de.sambalmueslie.openevent.server.common.DataObject import de.sambalmueslie.openevent.server.common.EmptyConvertContent import javax.persistence.* @Entity(name = "CacheSettings") @Table(name = "c...
0
Kotlin
0
1
053fb05dbe4242941659518f93dcac4c34b29126
766
open-event
Apache License 2.0
src/commonMain/kotlin/com/dxc/ssi/agent/api/pluggable/Transport.kt
dxc-technology
259,322,339
false
{"Kotlin": 598967, "Objective-C": 537589, "Objective-C++": 442889, "C": 238203, "Ruby": 12614, "Shell": 7187, "Swift": 1114}
package com.dxc.ssi.agent.api.pluggable import com.dxc.ssi.agent.model.PeerConnection import com.dxc.ssi.agent.model.messages.MessageEnvelop interface Transport { suspend fun sendMessage(connection: PeerConnection, message: MessageEnvelop) suspend fun disconnect(connection: PeerConnection) suspend fun rec...
3
Kotlin
6
5
9bede83e0358b16d6dc9459ccc2fd85541027b6c
376
ssi-mobile-sdk
Apache License 2.0
src/main/kotlin/dev/minerslab/showeverything/server/command/ShowItemCommand.kt
MinersLab
837,875,280
false
{"Kotlin": 13606, "Java": 925}
package dev.minerslab.showeverything.server.command import com.mojang.brigadier.CommandDispatcher import com.mojang.brigadier.context.CommandContext import dev.minerslab.showeverything.util.color import dev.minerslab.showeverything.util.hover import dev.minerslab.showeverything.util.text import net.fabricmc.fabric.api...
1
Kotlin
0
4
ac5e09f5c71699851f2af7594f7fa5eb726755e5
2,891
show-everything
MIT License
fintechplatform-api/src/androidTest/java/com/fintechplatform/api/integration/CashInApiIntegrationTest.kt
DWAplatform
128,736,783
false
null
package com.fintechplatform.api.integration import android.support.test.InstrumentationRegistry import android.support.test.runner.AndroidJUnit4 import com.fintechplatform.api.FintechPlatformAPI import com.fintechplatform.api.card.models.PaymentCardItem import com.fintechplatform.api.money.Money import com.fintechplat...
1
null
2
1
498bfbdfd00724ae24d7efc01e9af0b2a8cb58b0
6,590
fintech-platform-sdk-android
MIT License
test-app/build-tools/android-metadata-generator/src/src/com/telerik/metadata/parsing/NativeFieldDescriptor.kt
NativeScript
29,137,950
false
null
package com.telerik.metadata.parsing /** * Describes the properties of a native field */ interface NativeFieldDescriptor : AccessModifiable { val isFinal: Boolean val isStatic: Boolean val name: String val type: NativeTypeDescriptor }
104
null
135
524
27eec841a36d4926de79f513bf37cbdaa5dfa254
254
android
Apache License 2.0
example/src/main/kotlin/com/example/afterpay/data/Product.kt
afterpay
279,474,371
false
null
package com.example.afterpay.data import java.math.BigDecimal import java.util.UUID data class Product( val id: UUID, val name: String, val description: String, val price: BigDecimal )
0
Kotlin
5
8
fc2e10abc31eb35c36adda6ffd0e5affdafc8756
203
sdk-android
Apache License 2.0
src/rider/main/kotlin/com/intelligentcomments/core/comments/states/EditorId.kt
aerooneqq
413,810,255
false
{"C#": 669344, "Kotlin": 636063}
package com.intelligentcomments.core.comments.states data class EditorId(val moniker: String, val tabOrder: Int = 0) { companion object { val emptyInstance = EditorId("", 0) } }
0
C#
2
11
48bbfff2384d55a960a1129777e1cdd38803d883
186
IntelligentComments
MIT License
src/test/kotlin/tsuzuru/test/ControllerSupport.kt
tmyksj
325,959,108
false
null
package tsuzuru.test import org.springframework.beans.factory.annotation.Autowired import org.springframework.boot.test.context.TestComponent import org.springframework.test.web.servlet.MockMvc import org.springframework.test.web.servlet.RequestBuilder import org.springframework.test.web.servlet.ResultActions import o...
3
Kotlin
0
0
b7f42ffe09a5e123397d30f61aeb6c1eb9eb0e17
1,035
tsuzuru
Apache License 2.0
app/wear/src/main/java/com/victorrubia/tfg/presentation/status_menu/StatusMenuActivity.kt
VictorRubia
597,809,981
false
null
package com.victorrubia.tfg.presentation.status_menu import android.os.Bundle import android.os.Environment import android.view.WindowManager import androidx.activity.ComponentActivity import androidx.activity.compose.setContent import androidx.compose.foundation.layout.* import androidx.compose.material.icons.Icons i...
1
Kotlin
0
0
4d4d6de63c4ce5c9522d19ba0c80891cbe768507
7,932
TFM
Creative Commons Zero v1.0 Universal
app/src/main/kotlin/dev/jianastrero/qr_delivery/component/BottomNav.kt
jianastrero
679,629,907
false
null
package dev.jianastrero.qr_delivery.component import androidx.compose.foundation.background import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.Column import androidx.compose.foundatio...
0
Kotlin
0
0
6ee1f5f2688ecb84ecd96ed534461c0a145f49f0
4,381
qr-delivery
The Unlicense
rounded/src/commonMain/kotlin/me/localx/icons/rounded/filled/Shop.kt
localhostov
808,861,591
false
{"Kotlin": 79430321, "HTML": 331, "CSS": 102}
package me.localx.icons.rounded.filled import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap import androidx.compose.ui.gr...
1
Kotlin
0
5
cbd8b510fca0e5e40e95498834f23ec73cc8f245
3,213
icons
MIT License
MatchFilter/app/src/main/java/com/github/jaydeepw/matchfilter/models/datasource/repositories/MatchesRepository.kt
jaydeepw
190,135,438
false
null
package com.github.jaydeepw.matchfilter.models.datasource.repositories import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import com.github.jaydeepw.matchfilter.models.datasource.MatchesDataSource import com.github.jaydeepw.matchfilter.models.datasource.remote.NetworkMatches import com.github...
0
Kotlin
0
0
4ebbe6f465df86d825d71d926b4503d47b8846b8
911
android-mvvm-snetworks
MIT License
app/src/main/java/com/example/jetpackcompose/state/livedata/LiveDataActivity.kt
SoumikBhatt
299,381,169
true
{"Kotlin": 374012}
package com.example.jetpackcompose.state.livedata import android.os.Bundle import androidx.appcompat.app.AppCompatActivity import androidx.compose.foundation.Box import androidx.compose.foundation.ContentGravity import androidx.compose.foundation.Text import androidx.compose.foundation.layout.fillMaxSize import androi...
0
null
0
1
e2daf40da070559c4f7f9cec39f0577fc1935aa5
11,771
SDUI-By-Jetpack-Compose-Example
Apache License 2.0
test11/android/app/src/main/kotlin/com/example/test11/MainActivity.kt
sasankaweera123
345,114,657
false
{"Dart": 34556, "Swift": 4444, "Kotlin": 1329, "Objective-C": 418}
package com.example.test11 import io.flutter.embedding.android.FlutterActivity class MainActivity: FlutterActivity() { }
0
Dart
0
3
2b04bb430d316e0df56cc2719bb20f4e525d5920
123
Android-Studio-Learning-Flutter
MIT License
typescript-kotlin/src/jsMain/kotlin/typescript/ClassificationTypeNames.kt
karakum-team
393,199,102
false
{"Kotlin": 7083457}
// Automatically generated - do not modify! @file:Suppress( "NAME_CONTAINS_ILLEGAL_CHARS", "NESTED_CLASS_IN_EXTERNAL_INTERFACE", ) package typescript // language=JavaScript @JsName("""(/*union*/{comment: 'comment', identifier: 'identifier', keyword: 'keyword', numericLiteral: 'number', bigintLiteral: 'bigint...
0
Kotlin
6
26
3ca49a8f44fc8b46e393ffe66fbd81f8b4943c18
2,253
types-kotlin
Apache License 2.0
svg-to-compose/src/commonMain/kotlin/dev/tonholo/s2c/domain/avg/AvgPathNode.kt
rafaeltonholo
659,782,425
false
{"Kotlin": 518714, "Shell": 5365}
package dev.tonholo.s2c.domain.avg import dev.tonholo.s2c.domain.ImageVectorNode import dev.tonholo.s2c.domain.asNodeWrapper import dev.tonholo.s2c.domain.compose.ComposeBrush import dev.tonholo.s2c.domain.compose.PathFillType import dev.tonholo.s2c.domain.compose.StrokeCap import dev.tonholo.s2c.domain.compose.Stroke...
3
Kotlin
2
61
4cc571fc5b904528813fc96083d40a531bb21ce7
3,819
svg-to-compose
MIT License
src/main/java/pl/edu/zut/mad/schedule/widget/ScheduleWidgetProvider.kt
MADWI
85,480,616
false
{"Kotlin": 123928}
package pl.edu.zut.mad.schedule.widget import android.appwidget.AppWidgetManager import android.appwidget.AppWidgetProvider import android.content.Context import android.content.Intent import android.widget.RemoteViews import org.joda.time.LocalDate import pl.edu.zut.mad.schedule.R import pl.edu.zut.mad.schedule.Sched...
2
Kotlin
0
0
ad79a44025399c11372630ba3041190f27fe904d
1,338
schedule
Apache License 2.0
app/src/main/java/com/github/android/example/feature/feature1/domain/Feature1Repository.kt
hammernetwork
387,936,460
false
{"Kotlin": 31929}
package com.github.android.example.feature.feature1.domain import com.github.android.shared.Result interface Feature1Repository { suspend fun recordSomething(): Result<Unit> fun getStatus(): String }
0
Kotlin
0
0
35694b926aefa9e0d741e607621b4bc5e53c6f9e
209
android-mvvm-clean-architecture-hilt
Apache License 2.0
libraries/tools/kotlin-gradle-plugin-idea/src/main/kotlin/org/jetbrains/kotlin/gradle/kpm/idea/IdeaKotlinModule.kt
JetBrains
3,432,266
false
null
/* * Copyright 2010-2022 JetBrains s.r.o. and Kotlin Programming Language contributors. * 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.gradle.kpm.idea import java.io.Serializable sealed interface IdeaKotlinModule :...
132
Kotlin
5074
40,992
57fe6721e3afb154571eb36812fd8ef7ec9d2026
880
kotlin
Apache License 2.0
model/src/main/java/org/stepik/android/model/user/Profile.kt
abhirocks1211
205,717,847
false
null
package org.stepik.android.model.user import android.os.Parcel import android.os.Parcelable import com.google.gson.annotations.SerializedName import org.stepik.android.model.util.readBoolean import org.stepik.android.model.util.writeBoolean data class Profile( @SerializedName("id") val id: Long = 0, @Ser...
1
null
1
1
8a2ead7334b6b26a281b3a7842e6502fd96b2cc5
2,004
stepik
Apache License 2.0
wear/watchface/watchface-complications/src/androidTest/java/androidx/wear/watchface/complications/ComplicationSlotBoundsTest.kt
chun-wang
481,494,320
true
{"Kotlin": 52564870, "Java": 52198139, "C++": 8961316, "Python": 265552, "AIDL": 236524, "Shell": 180139, "ANTLR": 19860, "HTML": 10802, "CMake": 9486, "TypeScript": 6933, "JavaScript": 4866, "C": 4764, "Objective-C++": 3190}
/* * Copyright 2022 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
0
Kotlin
0
0
ddf3d68fde3246dead246c361474968bfbaafd52
2,484
androidx
Apache License 2.0
EcoItems/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoitems/items/ItemListener.kt
Samplayz2007
612,336,825
false
{"Text": 6, "Ignore List": 7, "Markdown": 20, "Gradle": 30, "Java Properties": 5, "YAML": 203, "Shell": 7, "Batchfile": 8, "INI": 7, "Kotlin": 434, "Gradle Kotlin DSL": 9, "XML": 1, "Java": 1108, "JSON": 1, "GLSL": 6}
package com.willfp.ecoitems.items import com.willfp.eco.core.EcoPlugin import com.willfp.eco.util.NumberUtils import com.willfp.libreforge.updateEffects import org.bukkit.event.EventHandler import org.bukkit.event.EventPriority import org.bukkit.event.Listener import org.bukkit.event.block.Action import org.bukkit.eve...
0
Java
0
1
7c28f335dbaea42f4451d8996c651db31860dea1
1,895
Java-Plugins-For-Minecraft
MIT License
extensions/vp9/src/main/java/com/google/android/exoplayer2/ext/vp9/VpxDecoder.kt
rezaulkhan111
589,317,131
false
{"Java Properties": 1, "Gradle": 47, "Markdown": 91, "Shell": 6, "Batchfile": 1, "Text": 16, "Ignore List": 1, "XML": 480, "Java": 1191, "Kotlin": 302, "YAML": 6, "INI": 1, "JSON": 5, "HTML": 1519, "Ruby": 1, "SVG": 43, "JavaScript": 40, "SCSS": 81, "CSS": 5, "GLSL": 15, "Starlark": 1, "Protocol Buffer Text Format": 1,...
/* * Copyright (C) 2016 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...
1
null
1
1
c467e918356f58949e0f7f4205e96f0847f1bcdb
9,143
ExoPlayer
Apache License 2.0
platform/lang-impl/src/com/intellij/lang/documentation/ide/actions/DocumentationBackAction.kt
ingokegel
72,937,917
false
null
// Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.lang.documentation.ide.actions import com.intellij.codeInsight.hint.HintManagerImpl.ActionToIgnore import com.intellij.openapi.actionSystem...
191
null
4372
2
b07eabd319ad5b591373d63c8f502761c2b2dfe8
848
intellij-community
Apache License 2.0
app/src/main/kotlin/io/github/nuhkoca/vivy/domain/repository/DoctorsRepository.kt
nuhkoca
258,777,733
false
null
/* * Copyright (C) 2020. <NAME>. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
1
Kotlin
3
18
512412bef33ffdd0ab0ac2bb358a88ebb0a09c44
5,560
vivy-challenge
Apache License 2.0
app/src/main/java/com/learn/lockopensystem/ui/newalarm/NewAlarmFragment.kt
hyd2016
239,652,352
false
null
package com.learn.lockopensystem.ui.newalarm import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.Toast import androidx.fragment.app.Fragment import androidx.recyclerview.widget.LinearLayoutManager import com.learn.lockopensystem.R imp...
0
Kotlin
0
0
6a0604ff531a1797a6fa695f838307ea6ac4d8c2
2,192
lockOpenSystem
Apache License 2.0
shared/src/commonMain/kotlin/me/saket/press/shared/sync/git/service/GitHostService.kt
Krishan14sharma
277,725,447
false
null
package me.saket.press.shared.sync.git.service import com.badoo.reaktive.completable.Completable import com.badoo.reaktive.single.Single import me.saket.kgit.SshKeyPair import me.saket.press.shared.sync.git.GitHost import me.saket.press.shared.sync.git.GitHostAuthToken import me.saket.kgit.GitIdentity /** See [GitHos...
1
null
1
1
94cd95660b3274b5fdbbee2eba3d679aecaccdc8
1,585
press
Apache License 2.0
app/src/main/java/com/bernaferrari/changedetection/util/VisibilityHelper.kt
vavavr00m
148,187,253
true
{"Kotlin": 293300, "Java": 51923}
package com.bernaferrari.changedetection.util import com.bernaferrari.changedetection.R internal object VisibilityHelper { internal fun getStaticIcon(isOn: Boolean): Int { return if (isOn) { R.drawable.visibility_on } else { R.drawable.visibility_off } } in...
0
Kotlin
0
1
3bfa088c020a6f0deb04d1018987424996ed321d
518
ChangeDetection
Apache License 2.0
app/src/main/java/org/wikipedia/readinglist/database/ReadingListDbHelper.kt
dbrant
28,157,306
true
{"Java": 2472470, "Kotlin": 315335, "Python": 20806, "Shell": 1800, "HTML": 1233}
package org.wikipedia.readinglist.database import android.content.ContentValues import android.database.sqlite.SQLiteDatabase import org.apache.commons.lang3.StringUtils import org.wikipedia.R import org.wikipedia.WikipediaApp import org.wikipedia.database.contract.ReadingListContract import org.wikipedia.database.con...
0
Java
0
2
33d4c162b0847ef4814d9ae7a6229d4877d8eb80
29,306
apps-android-wikipedia
Apache License 2.0
game/plugin/skills/woodcutting/test/TestData.kt
ultraviolet-jordan
482,152,097
false
null
import java.util.stream.Stream import org.apollo.game.plugin.skills.woodcutting.Tree import org.junit.jupiter.api.extension.ExtensionContext import org.junit.jupiter.params.provider.Arguments import org.junit.jupiter.params.provider.ArgumentsProvider data class WoodcuttingTestData(val treeId: Int, val stumpId: Int, va...
0
null
5
5
656755cca55b2ee4ed4288d051c2dfbb1b61386e
743
apollo
BSD Zero Clause License
src/test/kotlin/com/swisschain/matching/engine/grpc/TestMarketStreamObserver.kt
swisschain
255,464,363
false
null
package com.swisschain.matching.engine.grpc import com.swisschain.matching.engine.messages.incoming.IncomingMessages import io.grpc.stub.StreamObserver class TestMarketStreamObserver: StreamObserver<IncomingMessages.MarketOrderResponse> { val responses = mutableListOf<IncomingMessages.MarketOrderResponse>() ...
1
null
1
1
5ef23544e9c5b21864ec1de7ad0f3e254044bbaa
729
Exchange.MatchingEngine
Apache License 2.0
app/src/main/java/com/xiasuhuei321/gank_kotlin/GankApplication.kt
ForgetAll
102,325,322
false
null
package com.xiasuhuei321.gank_kotlin import android.app.Application import android.content.Context /** * Created by xiasuhuei321 on 2017/9/6. * author:luo * e-mail:<EMAIL> */ class GankApplication : Application() { companion object { var mContext: Context? = null } override fun onCreate() { ...
0
null
3
11
5ab5785d141e307b31644383c234fa0b1485887f
540
GankKotlin
Apache License 2.0
MPChartExample/src/androidTest/java/com/xxmassdeveloper/mpchartexample/StartTest.kt
shamilovstas
680,033,128
true
{"Java Properties": 1, "YAML": 7, "Gradle": 4, "Shell": 3, "Markdown": 1, "Batchfile": 1, "Text": 12, "Ignore List": 1, "Proguard": 1, "Kotlin": 6, "XML": 59, "Java": 220, "INI": 1}
package com.xxmassdeveloper.mpchartexample import android.util.Log import androidx.test.core.graphics.writeToTestStorage import androidx.test.espresso.Espresso import androidx.test.espresso.Espresso.onData import androidx.test.espresso.action.ViewActions.click import androidx.test.espresso.matcher.ViewMatchers import ...
0
null
0
0
ff2984f74762de5926db2c6e900508d6493f5c00
2,242
MPAndroidChart
Apache License 2.0
plugins/kotlin/idea/tests/testData/inspectionsLocal/unusedSymbol/propertyViaSetter.kt
JetBrains
2,489,216
false
null
// PROBLEM: none var pfd<caret>: String get() = "" set(value) {} fun test() { pfd }
284
null
5162
16,707
def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0
97
intellij-community
Apache License 2.0
domain/src/main/kotlin/com/seanshubin/code/sync/domain/JsonConfigurationLoader.kt
SeanShubin
238,817,152
false
{"XML": 1, "Maven POM": 7, "Ignore List": 1, "JSON": 1, "Shell": 1, "Text": 4, "HTML": 6, "Kotlin": 59, "Java": 6}
package com.seanshubin.code.sync.domain import com.seanshubin.code.sync.contract.FilesContract import java.nio.file.Path import java.nio.file.Paths class JsonConfigurationLoader(private val files: FilesContract, private val configurationDataTransfer: ConfigurationDataTransfer) : Configur...
0
Kotlin
0
0
909568ebabe43214320a958e874ef03e0ce9dfb3
1,149
kotlin-code-sync
The Unlicense
app/src/main/java/com/labs/pbrother/freegallery/adapters/SelectableAdapter.kt
zmnpl
76,036,701
false
{"Gradle": 3, "Java Properties": 3, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "JSON": 2, "Java": 2, "XML": 226, "Kotlin": 41}
package com.labs.pbrother.freegallery.adapters import androidx.recyclerview.widget.RecyclerView import android.util.SparseBooleanArray import java.util.* /** * Created by simon on 13.11.16. */ /** * Class in majority copied from tutorial from: * Copyright © 2016 - <NAME> * https://enoent.fr/blog/2015/01/18/recy...
1
null
1
1
14ffd44270d7dafd19f0a7abcc7704787d884d39
2,089
FreeGallery
Apache License 2.0
educational-core/testSrc/com/jetbrains/edu/coursecreator/actions/create/MockNewStudyItemUi.kt
JetBrains
43,696,115
false
null
package com.jetbrains.edu.coursecreator.actions.create import com.intellij.openapi.project.Project import com.jetbrains.edu.coursecreator.actions.NewStudyItemInfo import com.jetbrains.edu.coursecreator.actions.NewStudyItemUiModel import com.jetbrains.edu.coursecreator.ui.AdditionalPanel import com.jetbrains.edu.course...
6
Kotlin
45
99
cfc24fe13318de446b8adf6e05d1a7c15d9511b5
1,270
educational-plugin
Apache License 2.0
rsocket-transport-netty/src/main/java/io/rsocket/android/transport/netty/Ext.kt
mostroverkhov
110,164,592
true
{"Gradle": 6, "Markdown": 3, "Java Properties": 3, "Shell": 2, "Text": 1, "Ignore List": 1, "Batchfile": 1, "Git Attributes": 1, "YAML": 1, "Kotlin": 108, "Java": 11, "INI": 1}
package io.rsocket.android.transport.netty import io.reactivex.Completable import io.reactivex.Flowable import io.reactivex.Single import reactor.core.publisher.Flux import reactor.core.publisher.Mono internal fun <T> Flux<T>.toFlowable(): Flowable<T> = Flowable.fromPublisher(this) internal fun Mono<Void>.toCompleta...
0
Kotlin
0
0
185e469b0f9f7aea60fc158b4e471a7d0abdce55
522
rsocket-kotlin
Apache License 2.0
app/src/main/kotlin/es/voghdev/chucknorrisjokes/ui/fragment/BaseFragment.kt
JMartinMarcos
121,960,341
false
{"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "Kotlin": 40, "XML": 10, "Java": 2}
package es.voghdev.chucknorrisjokes.ui.fragment import android.os.Bundle import android.support.v4.app.Fragment import android.view.LayoutInflater import android.view.View import android.view.ViewGroup abstract class BaseFragment : Fragment() { override fun onCreateView(inflater: LayoutInflater, container: ViewGr...
0
Kotlin
0
0
c290f72ac20cf48a826022c0ba730f4f7bf3fe4a
485
ChukNorrisJojes_Kotlin_Retrofit_MVP
Apache License 2.0
impl/airsync-local-web/src/main/java/ffc/airsync/localweb/webresources/FirebaseResource.kt
ffc-nectec
122,017,567
false
{"Batchfile": 4, "Gradle": 11, "YAML": 2, "Java Properties": 3, "Shell": 1, "Ignore List": 3, "EditorConfig": 1, "Text": 4, "Markdown": 2, "Kotlin": 253, "Java": 22, "JavaScript": 3, "HTML": 1, "CSS": 1, "JSON": 1, "SQL": 1, "Ant Build System": 1, "XML": 10, "SVG": 1, "INI": 3}
/* * Copyright (c) 2018 NECTEC * National Electronics and Computer Technology Center, Thailand * * 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/...
1
null
1
1
bd62f7de63ce246722f7b8f9e48891e121b68fe5
2,969
airsync
Apache License 2.0
app/src/main/java/com/walkud/app/mvp/ui/activity/VideoDetailActivity.kt
Walkud
161,125,865
false
null
package com.walkud.app.mvp.ui.activity import android.annotation.TargetApi import android.app.Activity import android.content.Intent import android.content.res.Configuration import android.os.Build import android.os.Bundle import android.support.v4.app.ActivityCompat import android.support.v4.app.ActivityOptionsCompat...
1
null
10
67
0ac68b983f900035e6bb7338ba20c0b88e79d168
10,577
JudyKotlinMvp
Apache License 2.0
packages/react-native-carplay/android/src/main/java/org/birkir/carplay/parser/Ext.kt
birkir
177,710,514
false
{"YAML": 6, "Prolog": 1, "Ignore List": 5, "JSON": 11, "Markdown": 7, "JSON with Comments": 4, "Git Attributes": 1, "EditorConfig": 1, "Ruby": 3, "Java Properties": 2, "Gradle": 4, "Shell": 4, "Batchfile": 2, "INI": 3, "XML": 11, "Kotlin": 19, "Objective-C": 10, "JavaScript": 9, "Gemfile.lock": 1, "TSX": 17, "Java": 4,...
package org.birkir.carplay.parser import com.facebook.react.bridge.ReadableMap fun ReadableMap.isLoading(): Boolean { return try { getBoolean("loading") } catch (e: Exception) { return false } }
45
TypeScript
107
649
b651b160315c18f5249f570768b372c8e5b6284a
211
react-native-carplay
MIT License
android/engine/src/main/java/org/smartregister/fhircore/engine/configuration/navigation/NavigationConfiguration.kt
opensrp
339,242,809
false
null
/* * Copyright 2021-2023 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 o...
192
null
56
56
64a55e6920cb6280cf02a0d68152d9c03266518d
1,269
fhircore
Apache License 2.0
sdk/src/main/java/io/wso2/android/api_authenticator/sdk/models/exceptions/AuthnManagerException.kt
Achintha444
731,559,375
false
{"Kotlin": 381654, "Java": 1580}
package io.wso2.android.api_authenticator.sdk.models.exceptions import io.wso2.android.api_authenticator.sdk.core.managers.authn.AuthnManager /** * Exception to be thrown to the exception related to [AuthnManager] * * @property message Message related to the exception */ class AuthnManagerException ( override...
0
Kotlin
0
0
ca070c515980157b02b2eae50894a775a6a40271
626
wso2-android-api-authenticator-sdk
Apache License 2.0
Controls/src/commonMain/kotlin/io/nacular/doodle/controls/carousel/DampedTransitioner.kt
nacular
108,631,782
false
{"Kotlin": 3150677}
package io.nacular.doodle.controls.carousel import io.nacular.doodle.controls.carousel.Carousel.ItemMarkers import io.nacular.doodle.controls.carousel.CarouselBehavior.Transitioner import io.nacular.doodle.geometry.Vector2D import io.nacular.doodle.geometry.times import io.nacular.doodle.scheduler.AnimationScheduler i...
3
Kotlin
26
613
f7414d4c30cdd7632992071234223653e52b978c
9,453
doodle
MIT License
app/src/main/java/com/example/inventory/data/ItemDao.kt
n1k1ttka
546,674,118
false
null
package com.example.inventory.data import androidx.room.* import kotlinx.coroutines.flow.Flow @Dao interface ItemDao { @Insert(onConflict = OnConflictStrategy.IGNORE) // что делать в случае конфликта = игнорировать новый элемент с повторяющимся идентификатором suspend fun insert(item: Item) @Update() ...
0
Kotlin
0
0
659094969a92e2a363514468eacbc27db4f04302
559
InventoryApp
Apache License 2.0
app/src/main/java/com/github/jing332/tts_server_android/help/ConfigImportHelper.kt
jing332
536,800,727
false
null
package com.github.jing332.tts_server_android.help import com.github.jing332.tts_server_android.constant.ConfigType object ConfigImportHelper { private val fieldMap = mapOf( "pluginId" to ConfigType.PLUGIN, "pattern" to ConfigType.REPLACE_RULE, "ruleId" to ConfigType.SPEECH_RULE, "...
8
Kotlin
120
1,266
3238ef34571724819f5daf7570a9ec9e4b8dc864
616
tts-server-android
MIT License
app/src/main/java/br/com/breno/orgs/extensions/ContextExtensions.kt
JeyZBreno
625,006,533
false
null
package br.com.breno.orgs.extensions import android.content.Context import android.content.Intent fun Context.parseTo(clazz: Class<*>) { Intent(this, clazz).apply { startActivity(this) } }
0
Kotlin
0
0
5cfbfe3d3b2d73ac20c851f1fb5f3fdefc13779a
206
orgs-practice
MIT License
app/src/androidTest/java/com/example/cupcake/test/CupcakeScreenNavigationTest.kt
Koopa103
872,146,618
false
{"Kotlin": 40416}
package com.example.cupcake.test class CupcakeScreenNavigationTest { }
0
Kotlin
0
0
f5b577c4cc85819d9c0d72c8e257d16be5302076
71
cupcake-test
Apache License 2.0
base/src/commonMain/kotlin/tech/alexib/yaba/model/Account.kt
ruffCode
377,878,114
false
null
/* * Copyright 2021 <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...
9
Kotlin
1
6
ca86e5a60d0fcc2accfd6c12da07a334558cce0e
7,043
yaba-kmm
Apache License 2.0
app/src/main/java/com/xluo/nops/ui/activity/fragment/PenPressFragment.kt
VocientLuo
794,170,414
false
{"Kotlin": 469730, "Java": 118636}
package com.xluo.nops.ui.activity.fragment import android.view.View import android.widget.SeekBar import android.widget.SeekBar.OnSeekBarChangeListener import com.xluo.lib_base.ui.BaseViewModelFragment import com.xluo.nops.databinding.FragmentPenPressureBinding import com.xluo.nops.ui.activity.PenSettingActivity impor...
0
Kotlin
0
0
2ffabe9101cf772ee51a76a48b4287e18e64a5ed
2,519
NoPS
Apache License 2.0
buildSrc/subprojects/plugins/src/main/kotlin/org/gradle/build/GenerateSubprojectsInfoPlugin.kt
Demitrex01
244,180,899
false
null
/* * Copyright 2020 the original author or 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 applica...
0
null
0
1
a111d54da9fe0d35902eede8ed1e4829417b1b20
2,170
gradle
Apache License 2.0
compiler/testData/diagnostics/tests/assigningAssignments.kt
JetBrains
3,432,266
false
null
// ISSUE: KT-61067 // DIAGNOSTICS: -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE fun main() { val storages: HashMap<String, String> = HashMap<String, String>() val a = <!ASSIGNMENT_IN_EXPRESSION_CONTEXT!>storages<!NO_SET_METHOD!>["4"]<!> = ""<!> //K1 compile error - Kotlin: Assignments are not expressions, and only ex...
181
null
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
523
kotlin
Apache License 2.0
ui/src/main/java/com/dastanapps/dastanlib/customUI/ProgressDrawable.kt
DastanIqbal
268,110,924
false
{"Java": 692857, "Kotlin": 417485}
package com.dastanapps.dastanlib.customUI import android.graphics.Canvas import android.graphics.ColorFilter import android.graphics.Paint import android.graphics.PixelFormat import android.graphics.drawable.Drawable internal class ProgressDrawable(private val mOffset: Int) : Drawable() { private val mPaint: Pain...
1
null
1
1
a91a9ba58b9a9008a60c57e1126c0201338fb47f
1,105
DastanLib
MIT License
livingdoc-format-gherkin/src/test/kotlin/org/livingdoc/repositories/format/GherkinFormatTestData.kt
LivingDoc
85,412,044
false
null
package org.livingdoc.repositories.format internal fun simpleGherkin() = """ Feature: Test Feature Scenario: Test Scenario When I test the Gherkin parser """.trimIndent().byteInputStream() internal fun multipleScenarioGherkin() = """ Feature: Test Feature Sc...
34
Kotlin
16
14
f3d52b8bacbdf81905e4b4a753d75f584329b297
4,020
livingdoc
Apache License 2.0
app/src/main/java/com/rorpage/purtyweather/database/DatabaseModule.kt
rorpage
258,194,705
false
null
package com.rorpage.purtyweather.database import android.content.Context import androidx.room.Room import com.rorpage.purtyweather.database.daos.CurrentWeatherDAO import com.rorpage.purtyweather.database.daos.HourlyDAO import com.rorpage.purtyweather.database.daos.HourlyWeatherDAO import com.rorpage.purtyweather.datab...
8
null
4
1
f5b68c3675a3f57664592ee5a94f2a8d0d85035e
1,627
purty-weather
MIT License
app/src/main/java/com/example/k2024_04_21_livedata_volley/MainActivity.kt
ignaciod25
794,236,397
false
{"Kotlin": 17883}
package com.example.k2024_04_21_livedata_volley import android.annotation.SuppressLint import android.graphics.Bitmap import android.os.Bundle import android.util.Log import android.widget.ImageView import androidx.activity.viewModels import androidx.appcompat.app.AppCompatActivity import com.android.volley.Request im...
0
Kotlin
0
0
50192909b582218e001d2b47e59028d38e4314f5
5,091
MET_Museum_API
MIT License
test/plugin/scenarios/kotlin-coroutine-scenario/src/main/kotlin/org/apache/skywalking/apm/testcase/kotlin/coroutine/Application.kt
apache
400,172,901
false
null
/* * 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 under the Apache License, Version 2.0 * (the "License"); you may ...
0
null
587
756
615a1b11bb49106ae9b8dc49da53caef2ec038ae
1,124
skywalking-java
Apache License 2.0
src/main/kotlin/be/duncanc/discordmodbot/bot/commands/ReactionVote.kt
DuncanCasteleyn
98,295,422
false
null
/* * Copyright 2018 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
9
Kotlin
3
2
0e7ccdbe9531a837c8c230be6a941e81fe6a7d5c
3,298
DiscordModBot
Apache License 2.0
app/src/main/java/com/elementary/tasks/birthdays/list/BirthdaysViewModel.kt
naz013
165,067,747
false
null
package com.elementary.tasks.birthdays.list import androidx.lifecycle.Transformations import androidx.lifecycle.viewModelScope import com.elementary.tasks.birthdays.work.BirthdayDeleteBackupWorker import com.elementary.tasks.core.arch.BaseProgressViewModel import com.elementary.tasks.core.data.Commands import com.elem...
0
Kotlin
2
3
bba3dc604f6ff4fa56134738b5195b99160febcd
2,375
reminder-kotlin
Apache License 2.0
app/src/main/kotlin/com/mgaetan89/showsrage/adapter/SchedulePagerAdapter.kt
id-ks
107,322,013
true
{"Kotlin": 763835, "Shell": 374}
package com.mgaetan89.showsrage.adapter import android.os.Bundle import android.support.v4.app.Fragment import android.support.v4.app.FragmentManager import android.support.v4.app.FragmentStatePagerAdapter import com.mgaetan89.showsrage.Constants import com.mgaetan89.showsrage.fragment.ScheduleSectionFragment class S...
0
Kotlin
0
0
8b32e27b8e468f13b942313a80761569a61f4f05
913
ShowsRage
Apache License 2.0
library/src/main/kotlin/com/devbrackets/android/playlistcore/components/image/ImageProvider.kt
brianwernick
49,831,322
false
null
/* * Copyright (C) 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/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
2
null
25
87
b4c626f0c7f3af3ec6e3c0a19272d982f57ed228
1,789
PlaylistCore
Apache License 2.0
idea/src/org/jetbrains/kotlin/idea/util/DialogWithEditor.kt
JetBrains
278,369,660
false
null
// Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package org.jetbrains.kotlin.idea.util import com.intellij.openapi.editor.Editor import com.intellij.openapi.editor.EditorFactory import com.intellij.openapi.e...
191
null
4372
82
cc81d7505bc3e9ad503d706998ae8026c067e838
2,476
intellij-kotlin
Apache License 2.0
platform/platform-impl/src/com/intellij/ide/ui/laf/darcula/ui/customFrameDecorations/DarculaTitleButtons.kt
lots0logs
177,212,454
false
{"Text": 3529, "XML": 4465, "Ant Build System": 14, "Shell": 33, "Markdown": 23, "Ignore List": 34, "Git Attributes": 6, "Batchfile": 26, "SVG": 1872, "Java": 61669, "C++": 15, "HTML": 2672, "Kotlin": 3299, "DTrace": 1, "Gradle": 49, "Java Properties": 89, "Groovy": 2927, "INI": 217, "JFlex": 25, "XSLT": 109, "JavaScri...
// Copyright 2000-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 file. package com.intellij.ide.ui.laf.darcula.ui.customFrameDecorations import com.intellij.icons.AllIcons import com.intellij.ide.ui.laf.darcula.ui.customFrameDecorations.style.Compon...
1
null
1
1
3dd717a44039d5592619331857621c17baae490a
3,725
intellij-community
Apache License 2.0
app/src/main/java/my/dzeko/weatherforecast/di/module/WeatherForecastDetailActivityModule.kt
dzeko14
168,175,566
false
null
package my.dzeko.weatherforecast.di.module import dagger.Module import dagger.Provides import dagger.android.ContributesAndroidInjector import my.dzeko.weatherforecast.factory.WeatherForecastDetailViewModelFactory import my.dzeko.weatherforecast.repository.WeatherForecastDetailRepo import my.dzeko.weatherforecast.view...
0
Kotlin
0
0
bcf7bdfd6fb14eced160c7377d8e4471297825ef
870
weather-forecast
MIT License
kt/api-generator/src/main/kotlin/godot/codegen/repositories/impl/NativeStructureRepository.kt
utopia-rise
289,462,532
false
null
package godot.codegen.repositories.impl import godot.codegen.constants.PrimitiveNativeStructures import godot.codegen.models.enriched.EnrichedNativeStructure import godot.codegen.repositories.INativeStructureRepository import godot.codegen.traits.TypedTrait class NativeStructureRepository( jsonData: List<Enriched...
63
null
44
634
ac2a1bd5ea931725e2ed19eb5093dea171962e3f
759
godot-kotlin-jvm
MIT License
app/src/main/java/com/mitteloupe/loader/jigsaw/Jigsaw.kt
EranBoudjnah
739,791,962
false
{"Kotlin": 130319}
package com.mitteloupe.loader.jigsaw import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.foundation.layout.height import androidx.compose.foundation.layout.padding import androidx.compose.f...
0
Kotlin
1
8
d98f2f3fca9ad1e003c761e8e6e3f7c986e76e55
5,496
Loaders
MIT License
Locale/src/main/kotlin/example/App.kt
aterai
158,348,575
false
null
package example import java.awt.* import java.util.Locale import javax.swing.* private val LOCALE_ARRAY = arrayOf( Locale.ENGLISH, Locale.FRENCH, Locale.GERMAN, Locale.ITALIAN, Locale.JAPANESE, Locale.KOREAN, Locale.CHINESE, Locale.SIMPLIFIED_CHINESE, Locale.TRADITIONAL_CHINESE, Locale.FRANCE, L...
0
null
5
9
47a0c684f64c3db2c8b631b2c20c6c7f9205bcab
1,824
kotlin-swing-tips
MIT License
src/commonMain/kotlin/io/github/mwaibanda/authentication/domain/usecase/GetCurrentUserUseCase.kt
MwaiBanda
583,859,491
false
{"Kotlin": 33982, "Ruby": 1756, "Swift": 567}
package io.github.mwaibanda.authentication.domain.usecase import io.github.mwaibanda.authentication.domain.model.UserResponse import io.github.mwaibanda.authentication.domain.service.AuthenticationService import io.github.mwaibanda.authentication.utils.AuthResult class GetCurrentUserUseCase( private val authentic...
0
Kotlin
0
0
e1c7ed54bb994f0d75894c6149011cc9ca9696c9
511
Authentication
MIT License
src/test/kotlin/xyz/dnfetheus/projecteuler/problem/Problem3Test.kt
dnfetheus
340,552,069
false
null
package xyz.dnfetheus.projecteuler.problem import io.kotest.core.spec.style.StringSpec import io.kotest.matchers.longs.shouldBeExactly class Problem3Test : StringSpec({ val problem = Problem3() "Is problem being solved correctly" { problem.solve() shouldBeExactly 6857L } })
0
Kotlin
0
0
d74a07483a4b88deafa40b20757991bc19121f72
299
project-euler-kotlin
MIT License
scrimage-webp/src/test/kotlin/com/sksamuel/scrimage/webp/WebpTest.kt
szeeshan896
300,215,989
false
{"Gradle Kotlin DSL": 11, "Java Properties": 1, "Shell": 1, "Markdown": 7, "Text": 1, "Ignore List": 1, "Batchfile": 1, "EditorConfig": 1, "Kotlin": 60, "Java": 383, "Scala": 66, "INI": 1, "YAML": 4}
package com.sksamuel.scrimage.webp import com.sksamuel.scrimage.ImmutableImage import io.kotest.assertions.throwables.shouldThrow import io.kotest.core.spec.style.FunSpec import io.kotest.matchers.shouldBe import io.kotest.matchers.string.shouldContain import java.io.IOException class WebpTest : FunSpec() { init {...
1
null
1
1
d1c1756a64db65ac54f5d7e627e99912008fea83
735
scrimage
Apache License 2.0
src/commonMain/kotlin/org/angproj/crypt/number/Binary.kt
angelos-project
677,062,617
false
{"Kotlin": 18476262, "Java": 141357}
/** * Copyright (c) 2023 by Kristoffer Paulsson <kristoffer.paulsson@talenten.se>. * * This software is available under the terms of the MIT license. Parts are licensed * under different terms if stated. The legal terms are attached to the LICENSE file * and are made available on: * * https://opensource.org...
0
Kotlin
0
0
f11e68cfb417d5077fdc5683c126aaaf3fa07c35
3,467
angelos-project-crypt
MIT License
src/main/kotlin/org/jetbrains/plugins/bsp/ui/widgets/tool/window/components/BspToolWindowService.kt
JetBrains
521,228,542
false
null
package org.jetbrains.plugins.bsp.ui.widgets.tool.window.components import com.intellij.openapi.application.AppUIExecutor import com.intellij.openapi.project.Project public class BspToolWindowService(private val project: Project) { private var deepPanelReload: (() -> Unit)? = null public fun setDeepPanelReload(...
1
Kotlin
1
6
9205f41486af6062c2efbcb29f2d6d313a53c148
660
intellij-bsp
Apache License 2.0
feature/search/domain/src/main/java/com/joelkanyi/domain/repository/SearchRepository.kt
joelkanyi
554,742,212
false
{"Kotlin": 563575, "Shell": 761, "Java": 595}
/* * Copyright 2023 Joel Kanyi. * * 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...
8
Kotlin
10
79
8da6fb74589e194c92e92a6ac1ebb27961219364
838
mealtime
Apache License 2.0
shared/src/commonMain/kotlin/com/seiko/greenqrscanner/util/storage/StorageService.kt
qdsfdhvh
650,389,325
false
null
package com.seiko.greenqrscanner.util.storage expect class StorageService { val appDir: String val cacheDir: String }
0
Kotlin
0
1
5263759c7049f969463ea8cb5b5b772d78eeb3d2
127
green-qrscanner
Apache License 2.0
kotlin-mui-icons/src/main/generated/mui/icons/material/FormatColorFillRounded.kt
JetBrains
93,250,841
false
null
// Automatically generated - do not modify! @file:JsModule("@mui/icons-material/FormatColorFillRounded") package mui.icons.material @JsName("default") external val FormatColorFillRounded: SvgIconComponent
12
Kotlin
5
983
372c0e4bdf95ba2341eda473d2e9260a5dd47d3b
208
kotlin-wrappers
Apache License 2.0
kool-editor/src/commonMain/kotlin/de/fabmax/kool/editor/overlays/SelectionOverlay.kt
kool-engine
81,503,047
false
null
package de.fabmax.kool.editor.overlays import de.fabmax.kool.KoolContext import de.fabmax.kool.editor.KoolEditor import de.fabmax.kool.editor.api.GameEntity import de.fabmax.kool.editor.components.MeshComponent import de.fabmax.kool.editor.components.localToGlobalF import de.fabmax.kool.editor.ui.UiColors import de.fa...
11
null
20
303
8d05acd3e72ff2fc115d0939bf021a5f421469a5
15,516
kool
Apache License 2.0
analysis/analysis-api/testData/components/typeProvider/haveCommonSubtype/collections.kt
JetBrains
3,432,266
false
null
fun test() { typesHaveCommonSubtype(listOf(1), listOf(1)) typesHaveCommonSubtype(listOf(1), setOf(1)) typesHaveCommonSubtype(listOf(1), mutableSetOf(1)) typesHaveNoCommonSubtype(listOf(1), listOf("")) typesHaveNoCommonSubtype(listOf(1), setOf("")) typesHaveNoCommonSubtype(listOf(1), mutableSetO...
181
null
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
328
kotlin
Apache License 2.0
app/src/main/java/in/ceeq/define/data/source/DefinitionDataSource.kt
rachitmishra
94,635,030
false
null
package `in`.ceeq.define.data.source import `in`.ceeq.define.data.entity.Definition interface DefinitionDataSource { fun getDefinition(phrase: String): Definition }
1
Kotlin
1
4
d846801f1ad64b4dca06edb240c15daa9a99db8d
171
define
MIT License
app/src/main/java/in/ceeq/define/data/source/DefinitionDataSource.kt
rachitmishra
94,635,030
false
null
package `in`.ceeq.define.data.source import `in`.ceeq.define.data.entity.Definition interface DefinitionDataSource { fun getDefinition(phrase: String): Definition }
1
Kotlin
1
4
d846801f1ad64b4dca06edb240c15daa9a99db8d
171
define
MIT License
app/src/main/java/com/mg/zeearchiver/utils/Utils.kt
mahmoudgalal
155,771,137
false
null
package com.mg.zeearchiver.utils import android.content.ActivityNotFoundException import android.content.Context import android.content.Intent import android.net.Uri import android.os.Build import android.os.Environment import android.provider.OpenableColumns import android.provider.Settings import androidx.annotation...
7
null
10
69
1e791d96dcd18d3be9c7f094e29e975e38878cef
2,850
ZeeArchiver-Android
MIT License
backend/app/src/test/kotlin/io/tolgee/api/v2/controllers/batch/BatchJobManagementControllerTest.kt
tolgee
303,766,501
false
{"TypeScript": 2960870, "Kotlin": 2463774, "JavaScript": 19327, "Shell": 12678, "Dockerfile": 9468, "PLpgSQL": 663, "HTML": 439}
package io.tolgee.api.v2.controllers.batch import io.tolgee.ProjectAuthControllerTest import io.tolgee.batch.BatchJobActivityFinalizer import io.tolgee.batch.BatchJobChunkExecutionQueue import io.tolgee.batch.BatchJobConcurrentLauncher import io.tolgee.batch.BatchJobService import io.tolgee.batch.BatchJobTestUtil impo...
170
TypeScript
188
1,837
6e01eec3a19c151a6e0aca49e187e2d0deef3082
10,618
tolgee-platform
Apache License 2.0
storio-common-annotations-processor/src/main/kotlin/com/pushtorefresh/storio3/common/annotations/processor/generate/Common.kt
luoxg
114,567,280
true
{"Batchfile": 1, "Shell": 2, "Markdown": 6, "INI": 10, "Proguard": 1, "Java": 527, "Kotlin": 32}
package com.pushtorefresh.storio3.common.annotations.processor.generate import com.pushtorefresh.storio3.common.annotations.processor.introspection.JavaType import com.pushtorefresh.storio3.common.annotations.processor.introspection.JavaType.* import com.squareup.javapoet.ClassName object Common { val ANDROID_NO...
0
Java
0
0
ccc976085f7d7fb0ec6d6853127445936061281f
986
storio
Apache License 2.0
libraries/tools/kotlin-gradle-plugin-integration-tests/src/test/resources/testProject/kapt2/android-databinding-androidX/app/src/main/java/com/example/databinding/MyBindingMethods.kt
JetBrains
3,432,266
false
null
package com.example.databinding import androidx.databinding.BindingMethod import androidx.databinding.BindingMethods import android.widget.ImageView @BindingMethods( BindingMethod( type = ImageView::class, attribute = "app:srcCompat", method = "setImageResource" ) ) class MyBindingMet...
181
null
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
325
kotlin
Apache License 2.0
src/test/kotlin/uk/gov/justice/digital/hmpps/hmppsbookavideolinkapi/service/events/InboundEventsServiceTest.kt
ministryofjustice
789,053,149
false
{"Kotlin": 557700, "Dockerfile": 1492, "Shell": 1007}
package uk.gov.justice.digital.hmpps.hmppsbookavideolinkapi.service.events import org.junit.jupiter.api.Test import org.mockito.kotlin.mock import org.mockito.kotlin.verify import uk.gov.justice.digital.hmpps.hmppsbookavideolinkapi.service.events.handlers.AppointmentCreatedEventHandler import uk.gov.justice.digital.hm...
0
Kotlin
0
0
01ebc5387ad0ff2c68dc5c9f205546bdd9519057
1,537
hmpps-book-a-video-link-api
MIT License
src/main/java/me/han/muffin/client/utils/block/HoleUtils.kt
SmallFishDD
425,272,585
false
{"Kotlin": 1725682, "Java": 943392, "GLSL": 15937}
package me.han.muffin.client.utils.block import me.han.muffin.client.core.Globals import me.han.muffin.client.manager.managers.HoleManager.isInHole import me.han.muffin.client.utils.combat.CrystalUtils import me.han.muffin.client.utils.entity.EntityUtil.flooredPosition import me.han.muffin.client.utils.entity.Movement...
1
Kotlin
2
2
13235eada9edd9ccca039dea4d3a59cc7a930830
9,555
muffin-0.10.4-src-leaked
MIT License
src/test/kotlin/io/lenses/jdbc4/AvroSchemaResultSetMetaDataTest.kt
lensesio
130,357,433
false
null
//package com.landoop.jdbc4 // //import com.landoop.jdbc4.resultset.AvroSchemaResultSetMetaData //import io.kotlintest.shouldBe //import io.kotlintest.specs.WordSpec //import org.apache.avro.LogicalTypes //import org.apache.avro.Schema //import org.apache.avro.SchemaBuilder //import org.apache.avro.generic.GenericData ...
1
Kotlin
7
20
4ea41f66879c6e506b42432f6899cf6376f26957
20,225
lenses-jdbc
Apache License 2.0
driver-samples/src/main/kotlin/com/example/androidthings/kotlin/TemperatureActivity.kt
androidthings
146,490,593
false
null
/* * Copyright 2018 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
0
null
5
3
7bf03d84bf49415adbeecb72990c80220f44bffb
2,747
snippet-cookbook
Apache License 2.0
app/src/test/java/com/example/bletracker/data/repository/NetworkLocatorRepositoryTest.kt
sowalks
749,925,143
false
{"Kotlin": 107473}
package uk.ac.cam.smw98.bletracker.fake import uk.ac.cam.smw98.bletracker.data.repository.NetworkLocatorRepository import uk.ac.cam.smw98.bletracker.data.datasource.LocatorApiService package uk.ac.cam.smw98.bletracker.data.repository import uk.ac.cam.smw98.bletracker.rules.TestDispatcherRule import uk.ac.cam.smw98.b...
0
Kotlin
0
0
37ce616f1b045efdc27350be22d10718a804449e
5,844
android-ble-tracker
Apache License 2.0
app/src/main/java/com/epikron/countriesandflags/ui/theme/Color.kt
divingpixel
817,696,087
false
{"Kotlin": 240723}
package com.epikron.countriesandflags.ui.theme import androidx.compose.ui.graphics.Color object DarkThemeColors { val primary = Color(0xFFFFC107) val onPrimary = Color(0xFF200001) val primaryContainer = Color(0xFFFFEB3B) val onPrimaryContainer = Color(0xFF300000) val secondary = Color(0xFF673AB7)...
0
Kotlin
0
0
0aa9326cc280eca0ab2a369ba0e59fdbc69a89ae
1,226
CountriesAndFlags
Apache License 2.0