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
hazelnet-community/src/main/kotlin/io/hazelnet/community/controllers/DiscordServerController.kt
nilscodes
446,203,879
false
{"TypeScript": 1045486, "Kotlin": 810416, "Dockerfile": 4476, "Shell": 1830, "JavaScript": 1384}
package io.hazelnet.community.controllers import io.hazelnet.community.data.EmbeddableSetting import io.hazelnet.community.data.claim.PhysicalOrder import io.hazelnet.community.data.discord.DiscordMember import io.hazelnet.community.data.discord.DiscordMemberPartial import io.hazelnet.community.data.discord.DiscordSer...
0
TypeScript
4
13
79f8b096f599255acb03cc809464d0570a51d82c
6,800
hazelnet
Apache License 2.0
compiler/fir/resolve/src/org/jetbrains/kotlin/fir/resolve/providers/impl/FirProviderImpl.kt
android
263,405,600
false
null
/* * Copyright 2010-2018 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.fir.resolve.impl import org.jetbrains.annotations.TestOnly import org.jetbrains....
1
null
37
316
74126637a097f5e6b099a7b7a4263468ecfda144
9,714
kotlin
Apache License 2.0
app/src/test/java/com/whisker/world/data/BreedRepositoryTest.kt
juyuky
866,404,196
false
{"Kotlin": 67848}
package com.whisker.world.data import com.whisker.world.data.local.BreedDao import com.whisker.world.data.local.entity.BreedEntity import com.whisker.world.data.remote.BreedApi import com.whisker.world.data.remote.dto.BreedDto import com.whisker.world.data.repository.BreedRepositoryImpl import com.whisker.world.domain...
0
Kotlin
0
0
2b317ba625a88a1309805a3a23144b3b09ea3896
6,120
WhiskerWorld
MIT License
core-test/src/test/kotlin/io/github/lavenderses/aws_app_config_openfeature_provider/proxy/agent/AwsAppConfigAgentProxyTest.kt
lavenderses
795,942,797
false
{"Kotlin": 108089, "Java": 105311}
package io.github.lavenderses.aws_app_config_openfeature_provider.proxy.agent import assertk.assertThat import assertk.assertions.isEqualTo import io.github.lavenderses.aws_app_config_openfeature_provider.AwsAppConfigClientOptions import io.github.lavenderses.aws_app_config_openfeature_provider.proxy.AwsAppConfigProxy...
14
Kotlin
0
1
74b780d4b81302a7341f2b47208712050a0bb4c6
3,567
aws-appconfig-openfeature-provider-java
Apache License 2.0
core/src/main/kotlin/org/archguard/core/task/TaskConfigure.kt
archguard
565,163,416
false
{"Kotlin": 212032, "TypeScript": 19660, "MDX": 5365, "CSS": 2612, "HTML": 1703, "JavaScript": 1360}
package org.archguard.core.task class TaskConfigure { }
1
Kotlin
2
31
4c1f6a57568affeaab7771e83eb0665e934110a5
56
codedb
MIT License
app/src/main/java/com/example/hiltroomtest/di/AppModule.kt
burakselcuk1
468,541,632
false
null
package com.example.hiltroomtest.di import android.content.Context import androidx.room.Room import com.example.hiltroomtest.db.toDoDatabase import com.example.hiltroomtest.model.toDo import dagger.Module import dagger.Provides import dagger.hilt.InstallIn import dagger.hilt.android.qualifiers.ApplicationContext impor...
0
Kotlin
0
0
b14ea736506fbae23fd5c629c2648eeba5a6854f
768
HiltRoomMvvmYT
The Unlicense
app/src/main/java/com/gobinda/admob/nativetemplate/SmallAdActivity.kt
gobinda1547
685,210,506
false
null
package com.gobinda.admob.nativetemplate import android.annotation.SuppressLint import android.graphics.drawable.ColorDrawable import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.view.View import com.google.android.gms.ads.AdLoader import com.google.android.gms.ads.AdRequest import ...
0
Kotlin
0
0
fed46dab9de0c9efd3206a0a0249df645e774ffc
3,534
AdmobNativeTemplate
Apache License 2.0
sample-http/src/test/kotlin/com/github/lemfi/kest/samplehttp/multiplescenarios/stepsextracted/Steps.kt
lemfi
316,065,076
false
null
package com.github.lemfi.kest.samplehttp.multiplescenarios.stepsextracted import com.github.lemfi.kest.core.builder.ScenarioBuilder import com.github.lemfi.kest.core.cli.assertThat import com.github.lemfi.kest.core.cli.nestedScenario import com.github.lemfi.kest.http.cli.givenHttpCall import com.github.lemfi.kest.http...
3
null
0
8
b6cb85abb86844b1a589a5567f5f1eaf6aa049db
2,602
kest
Apache License 2.0
straight/src/commonMain/kotlin/me/localx/icons/straight/outline/Slash.kt
localhostov
808,861,591
false
{"Kotlin": 79430321, "HTML": 331, "CSS": 102}
package me.localx.icons.straight.filled import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap.Companion.Butt import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter...
1
Kotlin
0
5
cbd8b510fca0e5e40e95498834f23ec73cc8f245
1,406
icons
MIT License
presentation/src/commonMain/kotlin/ireader/presentation/ui/reader/ReaderScreen.kt
kazemcodes
540,829,865
false
null
package ireader.presentation.ui.reader import androidx.compose.animation.Crossfade import androidx.compose.animation.ExperimentalAnimationApi import androidx.compose.animation.core.tween import androidx.compose.foundation.ScrollState import androidx.compose.foundation.background import androidx.compose.foundation.layo...
9
null
22
6
b6b2414fa002cec2aa0d199871fcfb4c2e190a8f
7,028
IReader
Apache License 2.0
core/src/main/kotlin/io/paddle/plugin/standard/extensions/Locations.kt
JetBrains-Research
377,213,824
false
null
package io.paddle.plugin.standard.extensions import io.paddle.project.PaddleProject import io.paddle.utils.config.PaddleApplicationSettings import io.paddle.utils.ext.Extendable import java.nio.file.Path val PaddleProject.locations: Locations get() = extensions.getOrFail(Locations.Extension.key) class Locations ...
13
Kotlin
6
20
42a26a7f5815961d564f71e3606252fab7a87f82
737
paddle
MIT License
typescript-kotlin/src/main/kotlin/typescript/createIntersectionTypeNode.kt
turansky
393,199,102
false
null
// Automatically generated - do not modify! @file:JsModule("typescript") @file:JsNonModule package typescript /** @deprecated Use `factory.createIntersectionTypeNode` or the factory supplied by your transformation context instead. */ /* external val createIntersectionTypeNode: (types: readonly TypeNode[]) => Interse...
0
Kotlin
1
10
bcf03704c0e7670fd14ec4ab01dff8d7cca46bf0
337
react-types-kotlin
Apache License 2.0
straight/src/commonMain/kotlin/me/localx/icons/straight/bold/Interactive.kt
localhostov
808,861,591
false
{"Kotlin": 79430321, "HTML": 331, "CSS": 102}
package me.localx.icons.straight.bold import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap import androidx.compose.ui.gra...
1
Kotlin
0
5
cbd8b510fca0e5e40e95498834f23ec73cc8f245
3,279
icons
MIT License
feature/folder-insert/android/src/main/java/br/alexandregpereira/hunter/folder/insert/FolderInsertViewState.kt
alexandregpereira
347,857,709
false
{"Kotlin": 1323782, "Swift": 74314, "Shell": 139}
/* * Copyright 2022 <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 writi...
7
Kotlin
4
80
ca1695daf3f23e7cbb634b66e62b4fee36440ef8
1,753
Monster-Compendium
Apache License 2.0
content-types/content-types-core-services/src/main/kotlin/org/orkg/contenttypes/domain/actions/paper/PaperIdentifierUpdater.kt
TIBHannover
197,416,205
false
{"Kotlin": 2966676, "Cypher": 216833, "Python": 4881, "Groovy": 1936, "Shell": 1803, "HTML": 240}
package org.orkg.contenttypes.domain.actions.papers import org.orkg.contenttypes.domain.Identifiers import org.orkg.contenttypes.domain.actions.IdentifierUpdater import org.orkg.contenttypes.domain.actions.UpdatePaperCommand import org.orkg.contenttypes.domain.actions.UpdatePaperState import org.orkg.graph.input.Liter...
0
Kotlin
1
5
f9de52bdf498fdc200e7f655a52cecff215c1949
1,058
orkg-backend
MIT License
sample/src/main/java/com/example/webtrekk/androidsdk/mapp/Util.kt
mapp-digital
166,987,236
false
{"Kotlin": 395889, "Java": 14412}
package com.example.webtrekk.androidsdk.mapp internal object Util { @JvmStatic fun capitalize(inputWord: String): String { val words = inputWord.toLowerCase().split("_".toRegex()).toTypedArray() val builder = StringBuilder() for (i in words.indices) { val word = words[i] ...
0
Kotlin
2
13
593762e60e568f481d0f38653f79d3a8d007dca9
573
mapp-intelligence-android-sdk-v5
MIT License
app/src/main/java/com/furniconbreeze/features/location/shopRevisitStatus/ShopRevisitStatusRepository.kt
DebashisINT
811,202,727
false
{"Kotlin": 14691854, "Java": 1021080}
package com.furniconbreeze.features.location.shopRevisitStatus import com.furniconbreeze.base.BaseResponse import com.furniconbreeze.features.location.model.ShopDurationRequest import com.furniconbreeze.features.location.model.ShopRevisitStatusRequest import io.reactivex.Observable class ShopRevisitStatusRepository(v...
0
Kotlin
0
0
c02d8d092164f1a715f9b98c8a1a3ed7ca177b38
534
UniqueSorterFurnicon
Apache License 2.0
app/src/main/java/com/example/project_1/UIComponents/DataAdapter/DataNumber.kt
altaliufun2019
172,730,021
false
null
package com.example.project_1.UIComponents.DataAdapter import java.util.* class DataNumber(var id: Int, var date: Date)
1
null
1
1
60fa7bcbccff8c9d3fadd59cbbe209e7f456afd6
121
project_01.1
Apache License 2.0
ktfx-listeners/src/test/kotlin/javafx/scene/web/WebEngineTest.kt
hendraanggrian
102,934,147
false
null
package ktfx.listeners import javafx.geometry.Rectangle2D import javafx.scene.web.BaseWebEngineTest import javafx.scene.web.WebEngine import javafx.scene.web.WebErrorEvent import javafx.scene.web.WebEvent import kotlin.test.Ignore @Ignore class WebEngineTest : BaseWebEngineTest() { override fun WebEngine.callOnAl...
1
null
2
16
d7b8aec230fef877ae067d14cb0bc21c53e3d361
826
ktfx
Apache License 2.0
line-awesome/src/commonMain/kotlin/compose/icons/lineawesomeicons/PoopSolid.kt
DevSrSouza
311,134,756
false
null
package compose.icons.lineawesomeicons import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap.Butt import androidx.compose.ui.graphics.StrokeJoin.Miter import androidx.compose.ui.gra...
15
null
20
460
651badc4ace0137c5541f859f61ffa91e5242b83
8,277
compose-icons
MIT License
analysis/src/org/jetbrains/kotlin/idea/caches/resolve/IDEKotlinAsJavaSupport.kt
JetBrains
278,369,660
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 org.jetbrains.kotlin.idea.caches.resolve import com.intellij.openapi.project.Project import com.intellij.psi.* import com.intellij.psi.search.GlobalSea...
1
null
30
82
cc81d7505bc3e9ad503d706998ae8026c067e838
11,499
intellij-kotlin
Apache License 2.0
feature-tests/src/test/kotlin/fi/vauhtijuoksu/vauhtijuoksuapi/featuretest/BasicTest.kt
Vauhtijuoksu
394,707,727
false
{"Kotlin": 389348, "Smarty": 2566, "Dockerfile": 172, "Shell": 106}
package fi.vauhtijuoksu.vauhtijuoksuapi.featuretest import io.vertx.ext.web.client.WebClient import io.vertx.junit5.VertxTestContext import org.junit.jupiter.api.Assertions.assertEquals import org.junit.jupiter.api.Test @FeatureTest class BasicTest { @Test fun testServerResponds(webClient: WebClient, testCont...
11
Kotlin
0
3
99b374a55d914f1ef7b01add4a3dbaaa93f26fdd
652
vauhtijuoksu-api
MIT License
projetofinaldmo/app/src/main/java/br/edu/ifsp/arq/ads/dmo/VisualizarGrupoActivity.kt
AfonsoMorvillo
781,478,469
false
{"Kotlin": 83756}
package br.edu.ifsp.arq.ads.dmo import android.content.ClipData import android.content.ClipboardManager import android.content.Context import android.content.Intent import android.os.Bundle import android.view.View import android.widget.ImageView import android.widget.TextView import android.widget.Toast import androi...
0
Kotlin
0
0
7f3385bb36f223228767daa6d54378bdf0a50f8b
4,415
projeto-final-dmo
MIT License
plugins/kotlin/refactorings/kotlin.refactorings.common/src/org/jetbrains/kotlin/idea/refactoring/memberInfo/KtPsiClassWrapper.kt
ingokegel
72,937,917
false
null
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. package org.jetbrains.kotlin.idea.refactoring.memberInfo import com.intellij.psi.PsiClass import org.jetbrains.kotlin.psi.KtNamedDeclaration import org.jetbrains.kotlin.psi.KtPsiFactory interface ...
214
null
4829
2
b07eabd319ad5b591373d63c8f502761c2b2dfe8
849
intellij-community
Apache License 2.0
plugins/kotlin/refactorings/kotlin.refactorings.common/src/org/jetbrains/kotlin/idea/refactoring/memberInfo/KtPsiClassWrapper.kt
ingokegel
72,937,917
false
null
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. package org.jetbrains.kotlin.idea.refactoring.memberInfo import com.intellij.psi.PsiClass import org.jetbrains.kotlin.psi.KtNamedDeclaration import org.jetbrains.kotlin.psi.KtPsiFactory interface ...
214
null
4829
2
b07eabd319ad5b591373d63c8f502761c2b2dfe8
849
intellij-community
Apache License 2.0
src/test/kotlin/no/nav/tilleggsstonader/arena/TestConstants.kt
navikt
747,155,448
false
{"Kotlin": 42943, "Shell": 414, "Dockerfile": 208}
package no.nav.tilleggsstonader.arena object TestConstants { const val FNR = "25518735813" }
1
Kotlin
0
0
8745a4a09dc696b26006a9963bcd219a10728230
98
tilleggsstonader-arena
MIT License
app/src/main/java/com/example/todo_list/ui/fragment/ScheduleFragment.kt
kimdoyun98
536,434,864
false
{"Kotlin": 63396}
package com.example.todo_list.ui.fragment import android.content.Intent import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.fragment.app.Fragment import androidx.fragment.app.viewModels import androidx.recyclerview.widget.LinearLayoutManage...
0
Kotlin
0
0
832bb9cdc6ba8f5be83aa9c2397f62ccede6cc3f
2,084
TODO_List
Apache License 2.0
src/ar/witanime/src/eu/kanade/tachiyomi/animeextension/ar/witanime/WitAnime.kt
almightyhak
817,607,446
false
null
package eu.kanade.tachiyomi.animeextension.ar.witanime import android.app.Application import android.util.Base64 import androidx.preference.ListPreference import androidx.preference.PreferenceScreen import eu.kanade.tachiyomi.animeextension.ar.witanime.extractors.SharedExtractor import eu.kanade.tachiyomi.animeextensi...
55
null
28
93
507dddff536702999357b17577edc48353eab5ad
10,752
aniyomi-extensions
Apache License 2.0
analysis/src/main/kotlin/analyzers/TypeInferenceVisitor.kt
SrGaabriel
837,425,380
false
{"Kotlin": 203248, "LLVM": 29310, "Rust": 4440}
package me.gabriel.gwydion.analysis.analyzers import me.gabriel.gwydion.frontend.parsing.SyntaxTreeNode class TypeInferenceVisitor(private val node: SyntaxTreeNode) { val queuedVisits = mutableListOf<Pair<SyntaxTreeNode, () -> Any>>() fun <T : Any> visit(node: SyntaxTreeNode, block: () -> T) { queued...
0
Kotlin
0
7
44f52c1fc9ee8f5981057fa3b172737dc022782b
353
gwydion
Apache License 2.0
im-core/src/main/java/com/zj/im/chat/core/IMOption.kt
ZBL-Kiven
683,927,392
false
null
package com.zj.im.chat.core import android.app.Application import android.app.Notification import com.zj.im.chat.enums.RuntimeEfficiency /** * Created by ZJJ * * the IM SDK options ,used for #ChatBase * * @see OptionProxy * * @param notification start a foreground service to keeping active for sdk when the app...
0
Kotlin
0
1
9779d1a8dfdb86a672cb5034e8e3d688a270ca3b
1,128
IM_Core
The Unlicense
src/main/kotlin/me/exerro/kwery/queries/FileContentsQuery.kt
exerro
695,164,229
false
{"Kotlin": 60754}
package me.exerro.kwery.queries import kotlinx.coroutines.CoroutineScope import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.launch import kotlinx.coroutines.withContext import kotlinx.serialization.Serializable import me.exerro.kwery.* import me.exerro.observables.Observable import me.exerro.observables.O...
0
Kotlin
0
0
91d729c41ee36fbae160f57773e0a9449b3296d8
4,338
kwery
MIT License
compiler/testData/diagnostics/testsWithStdLib/contracts/complexConditionWithSafeCall.kt
JetBrains
3,432,266
false
{"Kotlin": 79571273, "Java": 6776465, "Swift": 4063829, "C": 2609744, "C++": 1957654, "Objective-C++": 175279, "JavaScript": 130754, "Python": 59855, "Shell": 34920, "Objective-C": 21463, "Lex": 21452, "Batchfile": 11382, "CSS": 11368, "Ruby": 10470, "Dockerfile": 9907, "Groovy": 7092, "EJS": 5241, "CMake": 4473, "HTML...
// ISSUE: KT-62137 class PersonDto ( val name: String ) fun test() { val name: String? = null val person: PersonDto? = null if (!name.isNullOrEmpty()) { <!DEBUG_INFO_SMARTCAST!>name<!>.length // Smart cast work } if (!person?.name.isNullOrEmpty()) { person<!UNSAFE_CALL!>.<!>n...
181
Kotlin
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
359
kotlin
Apache License 2.0
server/zally-server/src/main/kotlin/org/zalando/zally/apireview/ApiViolationsController.kt
zalando
76,853,145
false
null
package org.zalando.zally.apireview import org.zalando.zally.dto.ApiDefinitionRequest import org.zalando.zally.dto.ApiDefinitionResponse import org.zalando.zally.dto.ViolationDTO import org.zalando.zally.exception.ApiReviewNotFoundException import org.zalando.zally.exception.InaccessibleResourceUrlException import org...
62
null
2
882
8c7407db2be39041f61b6baa3ee74012ebdb26ad
4,517
zally
MIT License
videocall/src/main/java/com/voximplant/demos/kotlin/video_call/stories/login/LoginActivity.kt
voximplant
262,341,712
false
{"Kotlin": 260075}
/* * Copyright (c) 2011 - 2024, Zingaya, Inc. All rights reserved. */ package com.voximplant.demos.kotlin.audio_call.stories.login import android.animation.Animator import android.animation.AnimatorInflater import android.annotation.SuppressLint import android.content.Intent import android.os.Bundle import android....
1
Kotlin
2
5
2fe9f1e901556908a041ffa69065478a65bd489d
5,198
android-sdk-kotlin-demo
MIT License
libandroid-navigation/src/test/java/com/mapbox/navigation/DefaultDirectionsSessionTest.kt
the-losers
219,723,357
true
{"Java": 1318178, "Kotlin": 633196, "Python": 4645, "Makefile": 3213, "JavaScript": 3107, "Shell": 1903, "Prolog": 611}
package com.mapbox.navigation import com.mapbox.geojson.Point import com.mapbox.navigation.base.route.DirectionsSession import com.mapbox.navigation.base.route.Route import com.mapbox.navigation.base.route.Router import io.mockk.every import io.mockk.mockk import io.mockk.verify import org.junit.Assert.assertEquals im...
0
null
0
0
e35f73862d6ee76ce168a36ef0afa436fb3365c7
2,947
mapbox-navigation-android
Apache License 2.0
src/test/kotlin/uk/gov/justice/digital/hmpps/hmppsstrengthsbasedneedsassessmentsapi/oasys/service/OasysAssessmentServiceTest.kt
ministryofjustice
623,389,131
false
{"Kotlin": 168271, "Makefile": 2874, "Dockerfile": 1194}
package uk.gov.justice.digital.hmpps.hmppsstrengthsbasedneedsassessmentsapi.oasys.service import io.mockk.clearAllMocks import io.mockk.every import io.mockk.junit5.MockKExtension import io.mockk.mockk import io.mockk.slot import io.mockk.verify import org.assertj.core.api.Assertions.assertThat import org.junit.jupite...
1
Kotlin
0
0
955a4f5b5a14cd29412430927741dd1f2f8b8f43
9,591
hmpps-strengths-based-needs-assessments-api
MIT License
src/main/kotlin/com/cimbul/faqueldb/session/CommitTransactionResult.kt
cimbul
398,552,580
false
null
package com.cimbul.faqueldb.session data class CommitTransactionResult( val transactionId: String, val commitDigest: Bytes, val timingInformation: TimingInformation = TimingInformation(), val consumedIOs: IOUsage = IOUsage(), )
0
Kotlin
0
3
7b187f1e0f3df10f1f98beb16c702ebcf981d5ef
245
FaqueLDB
Apache License 2.0
mobile-common-lib/src/commonMain/kotlin/fi/riista/common/domain/srva/model/CommonSrvaSpecimen.kt
suomenriistakeskus
78,840,058
false
null
package fi.riista.common.domain.srva.model import fi.riista.common.domain.model.CommonSpecimenData import fi.riista.common.domain.model.GameAge import fi.riista.common.domain.model.Gender import fi.riista.common.model.BackendEnum import kotlinx.serialization.Serializable @Serializable data class CommonSrvaSpecimen( ...
0
Kotlin
0
3
0115971fb26453c56eb091e319cabed30decd9bb
553
oma-riista-android
MIT License
app/src/main/java/com/livewire/audax/utils/CustomDialog.kt
HDSANAULLAHS
466,947,990
false
{"Kotlin": 211156, "Java": 919}
package com.livewire.audax.utils import android.app.Activity import android.app.Dialog import android.content.Context import android.graphics.BlendMode import android.graphics.BlendModeColorFilter import android.graphics.PorterDuff import android.graphics.drawable.Drawable import android.os.Build import android.view.V...
0
Kotlin
0
0
356cfa88f3685882abd1336398defe12ea04f93f
2,044
Livewire
Apache License 2.0
serialization-msgpack/src/commonTest/kotlin/com/ensarsarajcic/kotlinx/serialization/msgpack/utils/ByteArrayUtilsKtTest.kt
esensar
302,655,232
false
null
package com.ensarsarajcic.kotlinx.serialization.msgpack.utils import kotlin.test.Test import kotlin.test.assertContentEquals import kotlin.test.assertEquals internal class ByteArrayUtilsKtTest { private val byteTestPairs = arrayOf( 1.toByte() to byteArrayOf(0x01), 0.toByte() to byteArrayOf(0x00), ...
8
null
9
44
784c827e913eb07dd7dc14388e9f29d51e9966f1
3,417
kotlinx-serialization-msgpack
MIT License
features/moviedetails/src/main/java/com/dhorowitz/openmovie/moviedetails/domain/MovieDetailsDomainMapper.kt
horowitz
328,383,283
false
null
package com.dhorowitz.openmovie.moviedetails.domain import com.dhorowitz.openmovie.moviedetails.data.model.MovieDetailsDTO import com.dhorowitz.openmovie.moviedetails.domain.model.MovieDetails fun MovieDetailsDTO.toMovieDetails(): MovieDetails = MovieDetails( id = id, title = title, posterPath = "https://...
6
Kotlin
3
7
ea7a96fdde555ecd9cce0326149bdf6c9c2b55da
580
openMovie
MIT License
app/src/main/java/com/cookmefsm/features/menuBeat/MenuBeatRepository.kt
DebashisINT
541,930,486
false
{"Kotlin": 13445429, "Java": 993208}
package com.cookmefsm.features.menuBeat import android.content.Context import android.net.Uri import android.text.TextUtils import android.util.Log import com.fasterxml.jackson.databind.ObjectMapper import com.cookmefsm.app.FileUtils import com.cookmefsm.app.Pref import com.cookmefsm.base.BaseResponse import com.cookm...
0
Kotlin
0
0
1f48da873d81959e9dbf1727e3b0d1cda4a1be63
1,431
Cookme
Apache License 2.0
src/main/kotlin/org/opensearch/replication/action/repository/TransportReleaseLeaderResourcesAction.kt
opensearch-project
323,830,219
false
{"Kotlin": 1005221, "Python": 17931, "Shell": 8517}
/* * 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. */ package org.opensearch.re...
83
Kotlin
58
48
0cc41c620b96a4798adbe2237e48b67269e3e509
3,107
cross-cluster-replication
Apache License 2.0
src/test/kotlin/com/fasterxml/jackson/module/kotlin/test/github/Github490.kt
FasterXML
23,404,083
false
null
package com.fasterxml.jackson.module.kotlin.test.github import com.fasterxml.jackson.databind.JsonNode import com.fasterxml.jackson.databind.node.NullNode import com.fasterxml.jackson.module.kotlin.jacksonObjectMapper import com.fasterxml.jackson.module.kotlin.readValue import org.hamcrest.CoreMatchers import org.hamc...
166
Kotlin
158
932
fa8ee76a8a00443aa6e8cc401c4e0868219d2d5b
2,665
jackson-module-kotlin
Apache License 2.0
src/main/kotlin/org/teamvoided/reef/world/gen/configured_feature/LargeCavePillarFeature.kt
TeamVoided
764,862,779
false
{"Kotlin": 45534, "Java": 7083}
package org.teamvoided.dusk_autumns_worldgen.worldgen.configured_feature import com.mojang.serialization.Codec import net.minecraft.block.Block import net.minecraft.block.Blocks import net.minecraft.util.math.BlockPos import net.minecraft.util.math.Direction import net.minecraft.util.math.MathHelper import net.minecra...
0
Kotlin
0
0
70b3cf3622aab9f5ba03ff33aa83456b779a111b
8,534
Reef
MIT License
vkprimer/08-oop-test/src/main/kotlin/AluBfm.kt
frwang96
416,809,961
false
null
/* * SPDX-License-Identifier: Apache-2.0 */ @file:Verik import dut.Op import io.verik.core.* class AluBfm : ModuleInterface() { var clk: Boolean = nc() var reset_n: Boolean = nc() var a: Ubit<`8`> = nc() var b: Ubit<`8`> = nc() var op: Op = nc() var start: Boolean = nc() var done: Bool...
0
Kotlin
1
5
9a0f5f79b824e69a33dc4f9717d3b9e3ed103180
1,342
verik-examples
Apache License 2.0
app/src/main/java/com/starry/greenstash/ui/screens/home/composables/GoalLazyItem.kt
Pool-Of-Tears
500,278,038
false
{"Kotlin": 583303}
/** * MIT License * * Copyright (c) [2022 - Present] <NAME> * * 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, co...
5
Kotlin
50
616
7f662bcc3f6b1051ec35f8439507d2bb39d7bb99
11,202
GreenStash
MIT License
src/main/kotlin/com/toasttab/pulseman/view/ViewUtils.kt
open-toast
399,150,014
false
{"Kotlin": 300586}
/* * Copyright (c) 2021 Toast 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 to in w...
3
Kotlin
4
8
e7396fcf17f48008cb77b10f759145377f96b559
2,569
pulseman
Apache License 2.0
token-support-tokenx-validation/src/main/kotlin/no/nav/tms/token/support/tokenx/validation/tokendings/tokenAuthentication.kt
navikt
339,078,199
false
null
package no.nav.tms.token.support.azure.validation.intercept import io.ktor.application.* import io.ktor.auth.* import io.ktor.http.* import io.ktor.response.* import io.ktor.util.pipeline.* import no.nav.tms.token.support.azure.validation.AzureHeader import no.nav.tms.token.support.azure.validation.AzurePrincipal impo...
0
Kotlin
1
1
9af53ab1fe7637918f8cd8612a76c213f07d34cf
2,551
tms-ktor-token-support
MIT License
app/src/main/java/com/jcl/exam/emapta/data/db/entities/AccountCurrency.kt
jaylumba
204,916,908
false
{"Gradle": 3, "Java Properties": 2, "Shell": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "Kotlin": 47, "XML": 30, "Java": 2, "C++": 1, "CMake": 1}
package com.jcl.exam.emapta.data.db.entities data class AccountCurrency(val id: Long, val currency_id: Long, val desc: String, val symbol: String, var amount: Double)
1
null
1
1
3b3ae7ae32b22b650e9c4c2302f987bc27876393
275
currency-converter-exam
Apache License 2.0
spring/mongo/src/test/kotlin/de/welcz/springmongo/ApplicationTests.kt
enolive
65,559,078
false
null
package com.isystk.sample.web.admin import org.junit.jupiter.api.Test import org.junit.jupiter.api.extension.ExtendWith import org.springframework.boot.test.context.SpringBootTest import org.springframework.test.context.junit.jupiter.SpringExtension @ExtendWith(SpringExtension::class) @SpringBootTest class Applicatio...
9
null
6
9
f01141469ac86352f8dc511579ead10dc7563413
371
learning
MIT License
app/src/main/java/com/ozantopuz/tvshows/util/extension/ImageViewExt.kt
ozantopuz
385,980,927
false
null
package com.ozantopuz.tvshows.util.extension import android.widget.ImageView import com.bumptech.glide.Glide import com.ozantopuz.tvshows.R fun ImageView.loadImage(url: String?) { url?.let { Glide.with(this) .load(BASE_IMAGE_URL + url) .into(this) } ?: kotlin.run { setI...
0
Kotlin
0
0
5bdd206c2e6d53e93af66b8c9a504e2faa933d7a
429
TvShows
MIT License
src/commonMain/kotlin/com/quickbirdstudios/nonEmptyCollection/list/NonEmptyList+plus.kt
ragnese
352,809,864
true
{"Kotlin": 64364}
package com.quickbirdstudios.nonEmptyCollection.list operator fun <T> NonEmptyList<T>.plus(value: T): NonEmptyList<T> = NonEmptyList(full + value) operator fun <T> List<T>.plus(value: T): NonEmptyList<T> = NonEmptyList(this as Collection<T> + value) operator fun <T> NonEmptyList<T>.plus(other: List<T>): NonEmptyList...
0
Kotlin
0
0
8397001e6f104e35f940ad8a0c7b56a3a714b289
951
NonEmptyCollections
MIT License
plugin/reporting/src/main/kotlin/com/android/build/gradle/internal/test/report/ResilientTestReport.kt
TWiStErRob
116,494,236
false
null
package com.android.build.gradle.internal.test.report import java.io.File /** * This class is the bridge between the public world and AGP's internals. */ class ResilientTestReport( reportType: ReportType, resultDir: File, reportDir: File ) : TestReport(reportType, resultDir, reportDir) { override fun generateR...
87
Kotlin
5
7
8b6a2f50388252515cfd166d20cc70c1b8d4547d
1,733
net.twisterrob.gradle
MIT License
app/src/main/java/com/alpriest/energystats/ui/login/LoginView.kt
alpriest
606,081,400
false
null
package com.alpriest.energystats.ui.login import androidx.compose.foundation.layout.* import androidx.compose.foundation.text.KeyboardOptions import androidx.compose.material.* import androidx.compose.material.MaterialTheme.colors import androidx.compose.material.icons.Icons import androidx.compose.material.icons.fill...
6
null
3
3
ac10ab887c6145c4e326f68261091a264b654a25
4,079
EnergyStats-Android
MIT License
platform/testFramework/src/com/intellij/testFramework/FixtureRule.kt
hieuprogrammer
284,920,751
false
null
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.testFramework import com.intellij.configurationStore.LISTEN_SCHEME_VFS_CHANGES_IN_TEST_MODE import com.intellij.ide.highlighter.ProjectFileType import com.in...
191
null
4372
2
dc846ecb926c9d9589c1ed8a40fdb20e47874db9
15,823
intellij-community
Apache License 2.0
src/lib/kotlin/slatekit-common/src/main/kotlin/slatekit/common/content/ContentType.kt
ColleenKeegan
174,519,919
false
{"Text": 22, "Ignore List": 25, "YAML": 1, "Markdown": 20, "Gradle": 44, "Shell": 27, "Batchfile": 27, "Java Properties": 17, "Kotlin": 690, "INI": 2, "Java": 4, "SQL": 1, "XML": 5, "HTML": 1, "CSS": 1, "JavaScript": 1, "Swift": 3}
package slatekit.common.content open class ContentType( val http: String, val ext: String ) object ContentTypeCsv : ContentType("text/csv", "csv") object ContentTypeHtml : ContentType("text/html", "html") object ContentTypeJson : ContentType("application/json", "json") object ContentTypeText : ContentType("te...
1
null
1
1
bd1d55f2191f729149e901be102c22d7c719793d
460
slatekit
Apache License 2.0
day9/src/main/java/com/joeygibson/aoc2022/day9/App.kt
joeygibson
571,669,607
false
{"Kotlin": 79226, "Shell": 3320, "Python": 1872}
package com.joeygibson.aoc2022.day9 import com.googlecode.lanterna.TextColor import com.googlecode.lanterna.terminal.DefaultTerminalFactory import com.googlecode.lanterna.terminal.Terminal import picocli.CommandLine import java.io.File import java.io.IOException import java.util.concurrent.Callable import kotlin.syste...
0
Kotlin
0
0
c66e8434fb3156550485c11703aae0a4b36b584b
7,302
adventofcode2022
MIT License
widget/src/main/java/com/savvasdalkitsis/gameframe/feature/widget/view/PowerWidgetProvider.kt
savvasdalkitsis
107,058,704
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/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing,...
9
Kotlin
3
8
2db2932139b5f410b4ee0922e2e1386c0c6b6aa5
914
gameframe
Apache License 2.0
compiler/testData/diagnostics/testsWithJava8/annotations/javaRepeatableRetention.kt
dimatim
40,043,138
true
{"Java": 15438163, "Kotlin": 9263212, "JavaScript": 176060, "Protocol Buffer": 40343, "HTML": 23495, "Lex": 17327, "ANTLR": 9689, "CSS": 9358, "Groovy": 4934, "Shell": 3931, "IDL": 3224, "Batchfile": 2831}
// FILE: RepeatableAnnotation.java import java.lang.annotation.*; @Repeatable(RepeatableAnnotations.class) @Retention(RetentionPolicy.RUNTIME) public @interface RepeatableAnnotation { } // FILE: RepeatableAnnotations.java public @interface RepeatableAnnotations { RepeatableAnnotation[] value(); } // FILE: Re...
0
Java
0
0
ef095dd5599a0fdd96054269a8d2bfa2b2ef28f8
389
kotlin
Apache License 2.0
shared/src/main/java/de/loosetie/k8s/dsl/manifests/EventSeries.kt
loosetie
283,145,621
false
{"Kotlin": 10664277}
package de.loosetie.k8s.dsl.manifests import de.loosetie.k8s.dsl.K8sTopLevel import de.loosetie.k8s.dsl.K8sDslMarker import de.loosetie.k8s.dsl.K8sManifest import de.loosetie.k8s.dsl.HasMetadata @K8sDslMarker interface EventSeries_core_v1_k8s1_16: K8sManifest { /** Number of occurrences in this series up to t...
0
Kotlin
0
1
dd616e546de56240a7a4d3edb18cb4f6529e301b
1,179
k8s-dsl
Apache License 2.0
embrace-android-sdk/src/test/java/io/embrace/android/embracesdk/injection/DataSourceModuleImplTest.kt
embrace-io
704,537,857
false
null
package io.embrace.android.embracesdk.injection import io.embrace.android.embracesdk.fakes.FakeOpenTelemetryModule import io.embrace.android.embracesdk.fakes.injection.FakeAndroidServicesModule import io.embrace.android.embracesdk.fakes.injection.FakeAnrModule import io.embrace.android.embracesdk.fakes.injection.FakeC...
22
null
8
133
e5b92a8e0ed1ea64602b68ec071780369e0ea915
2,334
embrace-android-sdk
Apache License 2.0
app/src/main/java/org/avmedia/gShockPhoneSync/ApiTest.kt
izivkov
480,047,057
false
null
package org.avmedia.gShockPhoneSync import android.content.Context import android.os.Build import androidx.annotation.RequiresApi import kotlinx.coroutines.runBlocking import org.avmedia.gShockPhoneSync.MainActivity.Companion.api import org.avmedia.gShockPhoneSync.ui.alarms.AlarmsModel import org.avmedia.gShockPhoneSy...
2
null
6
55
6531b03d6a36409987cd87deab661a013f0def72
3,853
CasioGShockSmartSync
Apache License 2.0
js/js.translator/testData/box/char/charCompareToIntrinsic.kt
gigliovale
89,726,097
false
{"Java": 23302590, "Kotlin": 21941511, "JavaScript": 137521, "Protocol Buffer": 56992, "HTML": 49980, "Lex": 18051, "Groovy": 14093, "ANTLR": 9797, "IDL": 7706, "Shell": 5152, "CSS": 4679, "Batchfile": 3721}
package foo fun box(): String { assertEquals(true, 'A' < '\uFFFF') assertEquals(true, 'A' > '\u0000') assertEquals(true, 'A' <= '\u0041') assertEquals(true, 'A' >= '\u0041') return "OK" }
184
Java
5691
6
ce145c015d6461c840050934f2200dbc11cb3d92
210
kotlin
Apache License 2.0
processor/src/test/kotlin/fr/smarquis/sealed/VisibilityModifiersTest.kt
SimonMarquis
527,279,535
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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
7
null
0
27
a86bca5fd50af086d6e0ea7c518f309c40b5ca10
8,727
SealedObjectInstances
Apache License 2.0
app/src/main/java/com/lkw1120/weatherapp/datasource/LocalDataSource.kt
lkw1120
634,133,117
false
{"Kotlin": 121594}
package com.lkw1120.weatherapp.datasource import com.lkw1120.weatherapp.datasource.local.AppDataStore import com.lkw1120.weatherapp.datasource.local.AppDatabase import com.lkw1120.weatherapp.datasource.local.entity.LocationEntity import com.lkw1120.weatherapp.datasource.local.entity.WeatherEntity import javax.inject.I...
0
Kotlin
1
0
67e95dae017e40a082158a218807d53c71a25c9a
1,961
weatherapp
Apache License 2.0
paper/src/main/kotlin/gg/flyte/pluginportal/paper/plugin/PPPluginCache.kt
flytegg
615,918,655
false
{"Kotlin": 119163}
package gg.flyte.pluginportal.paper.plugin import com.github.shynixn.mccoroutine.folia.asyncDispatcher import com.google.common.cache.CacheBuilder import gg.flyte.pluginportal.api.type.CompactPlugin import gg.flyte.pluginportal.api.type.MarketplacePlugin import gg.flyte.pluginportal.paper.PluginPortal import gg.flyte....
23
Kotlin
9
41
ca77d9ebb86f15e2c8d5d71850b8fc21e856d31c
3,766
plugin-portal
MIT License
fir-low-level-api-ide-impl/testData/partialRawBuilder/memberFunction.kt
JetBrains
278,369,660
false
null
/* * Copyright 2010-2021 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. */ // FUNCTION: foo package test.classes class Outer { inner class Inner { fun bar() fun f...
0
null
29
71
b6789690db56407ae2d6d62746fb69dc99d68c84
438
intellij-kotlin
Apache License 2.0
app/src/main/java/com/first_Ideall/utils/StringUtils.kt
ismaelic
551,328,441
false
null
package com.first_Ideall.utils class StringUtils { companion object { fun hasCharacter(text: String): Boolean { return text.trim() != "" } } }
0
Kotlin
0
1
d52f8b7b5a476db5ab77d98181b33d2c2af012e9
179
IDEALL-Android
MIT License
common-tools/src/main/java/com/likethesalad/android/templates/common/tasks/identifier/action/TemplatesIdentifierAction.kt
LikeTheSalad
216,664,268
false
null
package com.likethesalad.android.templates.common.tasks.identifier.action import com.likethesalad.android.templates.common.configuration.StemConfiguration import com.likethesalad.android.templates.common.tasks.identifier.data.TemplateItem import com.likethesalad.android.templates.common.tasks.identifier.data.TemplateI...
2
null
9
170
1ca6112fb5bdd07f8282f2dc3a46479796d4b48b
3,181
android-stem
MIT License
ImageLoader/src/main/java/cn/quibbler/imageloader/cache/memory/impl/FIFOLimitedMemoryCache.kt
quibbler01
524,270,844
false
{"Kotlin": 252007}
package cn.quibbler.imageloader.cache.memory.impl import android.graphics.Bitmap import cn.quibbler.imageloader.cache.memory.LimitedMemoryCache import java.lang.ref.Reference import java.lang.ref.WeakReference import java.util.* /** * Limited {@link Bitmap bitmap} cache. Provides {@link Bitmap bitmaps} storing. Size...
0
Kotlin
0
0
d2fae5a52fe791f0338bd303f3f7cb128fa7e504
1,752
ImageLoader
Apache License 2.0
apollo-normalized-cache-sqlite/src/jvmTest/kotlin/com/apollographql/apollo3/cache/normalized/sql/CreateDriver.kt
apollographql
69,469,299
false
null
package com.apollographql.apollo3.cache.normalized.sql import com.squareup.sqldelight.db.SqlDriver import com.squareup.sqldelight.sqlite.driver.JdbcSqliteDriver actual fun createDriver(): SqlDriver = JdbcSqliteDriver(JdbcSqliteDriver.IN_MEMORY).also { ApolloDatabase.Schema.create(it) }
129
null
559
3,046
7a1a291d5edc7d66d088c06b47975ef8a79fc439
303
apollo-android
MIT License
korge/src/commonMain/kotlin/com/soywiz/korge3d/RenderContext3D.kt
zhch0633
365,435,090
true
{"Kotlin": 2876182, "Java": 182026, "Shell": 1955, "Batchfile": 1618}
package com.soywiz.korge3d import com.soywiz.kds.* import com.soywiz.korag.* import com.soywiz.korge.render.* import com.soywiz.korma.geom.* @Korge3DExperimental class RenderContext3D() { lateinit var ag: AG lateinit var rctx: RenderContext val shaders = Shaders3D() val textureUnit = AG.TextureUnit() val bindMat...
0
null
0
1
dcddb3eb4d9e34a263a235089237deb89f339cd3
767
korge
Apache License 2.0
js/js.translator/testData/box/expression/function/anonymousWithLambda.kt
JakeWharton
99,388,807
false
null
// IGNORE_BACKEND: JS_IR // EXPECTED_REACHABLE_NODES: 1110 fun box(): String { val a = (fun(): String { val o = { "O" } return o() + "K" }) return a() }
184
null
5691
83
4383335168338df9bbbe2a63cb213a68d0858104
180
kotlin
Apache License 2.0
benchmark/benchmark-macro/src/main/java/androidx/benchmark/macro/CompilationMode.kt
androidx
256,589,781
false
null
/* * Copyright 2021 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
29
null
937
5,321
98b929d303f34d569e9fd8a529f022d398d1024b
20,830
androidx
Apache License 2.0
composeApp/src/commonMain/kotlin/me/gustavolopezxyz/common/db/AccountRepository.kt
gusaln
736,062,721
false
{"Kotlin": 304914}
/* * Copyright (c) 2023. <NAME>. All rights reserved. */ package me.gustavolopezxyz.common.db import app.cash.sqldelight.Query import app.cash.sqldelight.coroutines.asFlow import kotlinx.coroutines.flow.Flow import me.gustavolopezxyz.common.data.Account import me.gustavolopezxyz.common.data.AccountType import me.gu...
0
Kotlin
0
1
d1e56bb6dce4a0d9c430a8d4f6bcf67b1249ea52
2,453
wimm
MIT License
app/src/main/java/com/example/f1racingcompanion/data/nextsessiondto/CircuitDto.kt
wkol
408,953,651
false
{"Kotlin": 315517, "Java": 220}
package com.example.f1racingcompanion.data.nextsessiondto import com.squareup.moshi.Json import com.squareup.moshi.JsonClass @JsonClass(generateAdapter = true) data class CircuitDto( @Json(name = "circuitName") val circuitName: String, @Json(name = "circuitId") val circuitId: String )
0
Kotlin
0
7
d181a1710fdd59b043e40495032910625c0d473d
304
F1RacingCompanion
MIT License
imagek_glide_ext/src/main/java/com/mozhimen/imagek/glide/ext/ImageKGlideModelLoader.kt
mozhimen
762,736,762
false
null
package com.mozhimen.imagek.glide.helpers import com.bumptech.glide.load.Options import com.bumptech.glide.load.model.ModelLoader import com.bumptech.glide.signature.ObjectKey import com.mozhimen.basick.elemk.commons.IA_AListener import com.mozhimen.imagek.glide.mos.ImageKGlideFile import okhttp3.Call import java.io.I...
0
null
7
3
9318604f6fbd4b93c09d0a8aab55fa854a535990
1,049
AImageKit
Apache License 2.0
app/src/main/java/com/warchaser/trailrecoder/LocationService.kt
Warchaser
663,861,462
false
null
package com.warchaser.trailrecoder import android.app.Notification import android.app.NotificationChannel import android.app.NotificationManager import android.app.Service import android.content.Intent import android.os.IBinder import com.amap.api.location.AMapLocation import com.amap.api.location.AMapLocationClient i...
0
Kotlin
0
0
7b205ff1f7378e23affeeebd0ca9862c8426d3a2
2,991
TrailRecorder
Apache License 2.0
app/src/main/java/br/com/helpdev/githubers/worker/UsersDispatchers.kt
gbzarelli
168,407,845
false
null
package br.com.helpdev.githubers.worker import androidx.work.* fun dispatchListUsersWorker(lastId: Int = 0) { dispatchUsersWorker(Data.Builder().apply { putInt(GithubUsersWorker.DATA_INT_LAST_ID, lastId) }) } fun dispatchUserWorker(login: String) { dispatchUsersWorker(Data.Builder().apply { putString(GithubU...
0
Kotlin
1
4
b09ebd33fc772d1cd3df5911675a933382a85ba7
991
githubers
Apache License 2.0
addresses/src/commonMain/kotlin/geo/AddressDto.kt
aSoft-Ltd
694,870,214
false
{"Kotlin": 15901}
@file:JsExport // TODO: Remove JsExport annotation and use the AddressPresenter for Js @file:Suppress("NON_EXPORTABLE_TYPE") package geo import kollections.List import kollections.map import kollections.plus import kollections.reversed import kotlinx.JsExport import kotlinx.serialization.Serializable @Serializable d...
0
Kotlin
0
0
191d605ede8135525b0da0024a00a8b6a9cd59fb
482
geo-api
MIT License
app/src/main/java/com/e444er/cleanmovie/feature_explore/data/remote/ExploreApi.kt
e444er
597,756,971
false
null
package com.e444er.cleanmovie.feature_explore.data.remote import com.e444er.cleanmovie.core.data.dto.ApiResponse import com.e444er.cleanmovie.core.util.Constants import com.e444er.cleanmovie.feature_explore.data.dto.SearchDto import com.e444er.cleanmovie.feature_home.data.dto.MovieDto import com.e444er.cleanmovie.feat...
0
Kotlin
0
0
1c939de424b4eb254fd4258f4e56e4399bdfb3cd
1,221
KinoGoClean
Apache License 2.0
src/commonMain/kotlin/ai/hypergraph/kaliningraph/parsing/CFG.kt
breandan
245,074,037
false
null
@file:Suppress("NonAsciiCharacters") package ai.hypergraph.kaliningraph.parsing import ai.hypergraph.kaliningraph.graphs.LabeledGraph import ai.hypergraph.kaliningraph.sampling.choose import ai.hypergraph.kaliningraph.tokenizeByWhitespace import ai.hypergraph.kaliningraph.types.* import kotlin.jvm.JvmName import kotli...
0
null
9
98
239d016004b6591439f53a597a7a108c38f1dce8
16,050
galoisenne
Apache License 2.0
src/main/java/dev/arbor/gtnn/api/pattern/APredicates.kt
Arborsm
714,203,348
false
{"Kotlin": 460320, "Java": 75109}
package dev.arbor.gtnn.api.pattern import com.gregtechceu.gtceu.api.GTValues.* import com.gregtechceu.gtceu.api.machine.multiblock.PartAbility import com.gregtechceu.gtceu.api.pattern.Predicates import com.gregtechceu.gtceu.api.pattern.TraceabilityPredicate import com.gregtechceu.gtceu.api.pattern.error.PatternStringE...
3
Kotlin
6
8
73292b30ae541944f13f5b541091a67b9cc7d51a
3,869
GT--
MIT License
src/main/kotlin/name/oshurkov/books/file/fb2/parser/Gson.kt
dmitry-oshurkov
307,598,181
false
null
package name.oshurkov.books.file.fb2.parser /** * Created by kurs on 30.7.17. */ class Gson
0
Kotlin
0
1
7bb9e08427880b1fea843c0326ba5ee5d86426d3
95
books
MIT License
app/src/main/java/com/lukitor/myapplicationC/ActivityFormInput.kt
lukifenca
367,644,543
false
null
package com.lukitor.myapplicationC import android.content.Intent import android.os.Bundle import android.text.Editable import android.text.TextWatcher import android.view.View import androidx.appcompat.app.AppCompatActivity import com.lukitor.myapplicationC.databinding.ActivityFormInputBinding class ActivityFormInpu...
0
Kotlin
0
1
58fd1ce69902bb63400de11f599e619767ce53d0
6,591
CapstoneProject
MIT License
generators/test-generator/tests/org/jetbrains/kotlin/generators/TestGenerator.kt
JetBrains
3,432,266
false
null
/* * Copyright 2010-2020 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.generators import org.jetbrains.kotlin.generators.model.MethodModel abstract cl...
181
null
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
813
kotlin
Apache License 2.0
junit/src/main/kotlin/com/tomasznajda/ktx/junit/AssertExt.kt
tomasznajda
148,339,649
false
null
package com.tomasznajda.ktx.junit import org.hamcrest.CoreMatchers import org.junit.Assert import kotlin.reflect.KClass fun assertEquals(expected: Any?, actual: Any?) = Assert.assertEquals(expected, actual) fun <T : Any> Any.assertIsInstanceOf(clazz: KClass<T>) = Assert.assertThat(this, CoreMatchers.`is`(Cor...
0
Kotlin
4
22
5efbd11492dbcc634c34990d8dcb90e9fd07ce17
354
useful-ktx
Apache License 2.0
app/src/main/java/com/umaplasticsfsm/features/taskManagement/PriorityTaskSel.kt
DebashisINT
740,356,583
false
{"Kotlin": 13950763, "Java": 1000924}
package com.umaplasticsfsm.features.taskManagement import com.umaplasticsfsm.base.BaseResponse data class PriorityTaskSel(var task_priority_list:ArrayList<TaskPriorityResponse> = ArrayList()): BaseResponse() data class TaskPriorityResponse (var task_priority_id:String = "", var ...
0
Kotlin
0
0
2ccc871bdcf7df2d08825d0b9ded73b11495519e
354
UmaPlastics
Apache License 2.0
src/commonMain/kotlin/com/handtruth/mc/minecraft/proto/ResponsePaket.kt
handtruth
258,816,135
false
null
package com.handtruth.mc.minecraft.proto import com.handtruth.mc.minecraft.model.ServerStatus import com.handtruth.mc.minecraft.util.json import com.handtruth.mc.paket.Paket import com.handtruth.mc.paket.PaketCreator import com.handtruth.mc.paket.fields.string class ResponsePaket(message: ServerStatus) : Paket() { ...
0
Kotlin
0
0
786d546cf537a98c8222d202a69d8473a6cc52c7
669
mctools
MIT License
app/src/main/java/com/raul/macias/wikiheroes/view/viewholder/CharacterViewHolder.kt
xR4ULx
313,670,556
false
{"Gradle": 3, "Java Properties": 4, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Git Attributes": 1, "Markdown": 1, "INI": 7, "Proguard": 1, "Kotlin": 119, "XML": 222, "Java": 5}
package com.raul.macias.wikiheroes.view.viewholder import androidx.databinding.DataBindingUtil import android.view.View import com.raul.macias.wikiheroes.databinding.ItemCharacterBinding import com.raul.macias.wikiheroes.models.Character import com.raul.macias.wikiheroes.view.ui.home.ItemCharacterViewModel class Char...
1
null
1
1
d76d4736780b156d2b8133e794cca2de6b408f28
1,165
kotlin_api_marvel
MIT License
bot/connector-messenger/src/main/kotlin/fr/vsct/tock/bot/connector/messenger/model/webhook/OptinWebhook.kt
curinator
207,578,255
true
{"Kotlin": 3731711, "TypeScript": 587148, "HTML": 201325, "CSS": 60702, "JavaScript": 4142, "Shell": 2610}
/* * Copyright (C) 2017 VSCT * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
0
null
0
1
dd37ec79ba29b4f6aacff704ca3400b41df47efb
1,321
tock
Apache License 2.0
composeApp/src/commonMain/kotlin/com.jerryokafor.smshare/screens/navigation/SideNav.kt
jerryOkafor
759,464,735
false
{"Kotlin": 218893, "Swift": 869, "HTML": 334, "Ruby": 254, "CSS": 102}
/* * MIT License * * Copyright (c) 2024 SM Share Project * * 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
0
7637f249781b0500869c2eb2d78f9bac9cc30293
13,328
SMShare
MIT License
content/src/main/java/com/kafka/content/domain/language/UpdateLanguages.kt
vipulyaara
170,554,386
false
null
package com.kafka.content.domain.language import com.kafka.data.model.AppCoroutineDispatchers import com.kafka.data.model.Interactor import com.kafka.content.data.language.LanguageRepository import com.kafka.data.entities.Language import com.kafka.data.injection.ProcessLifetime import kotlinx.coroutines.CoroutineScope...
0
Kotlin
4
18
71a639047c246aa62c33fa472ab70100da25f727
857
Kafka
Apache License 2.0
src/main/kotlin/org/example/demo/domain/ProductPriceChanged.kt
adrisalas
710,959,750
false
{"Kotlin": 8447}
package org.example.demo.domain import java.math.BigDecimal data class ProductPriceChanged( val productCode: String, val price: BigDecimal )
0
Kotlin
0
1
350ce87f58d349467218760c3ae82937bfa2b270
150
spring-testcontainer-kafka-mysql
MIT License
app/src/main/java/com/example/lunchtray/LunchTrayScreen.kt
kelvingcr
679,250,425
false
null
/* * Copyright (C) 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
0
Kotlin
0
0
b3f32b11816fff50a92080fbf87a02630d46504f
6,204
Lunch-Tray
Apache License 2.0
js/js.translator/testData/box/incremental/multipleReimport.kt
JakeWharton
99,388,807
false
null
// EXPECTED_REACHABLE_NODES: 491 // MODULE: lib1 // FILE: lib1.kt fun foo() = "O" fun bar() = "K" // MODULE: lib2(lib1) // FILE: lib2a.kt // PROPERTY_WRITE_COUNT: name=lib1 count=1 // PROPERTY_WRITE_COUNT: name=$$imports$$ count=1 inline fun o() = foo() // FILE: lib2b.kt inline fun k() = bar() // MODULE: main(li...
184
null
5748
83
4383335168338df9bbbe2a63cb213a68d0858104
376
kotlin
Apache License 2.0
sykepenger-model/src/test/kotlin/no/nav/helse/spleis/e2e/NyOgFremtidigSøknadOutOfOrder.kt
navikt
193,907,367
false
null
package no.nav.helse.spleis.e2e import no.nav.helse.hendelser.Sykmeldingsperiode import no.nav.helse.hendelser.til import no.nav.helse.person.ArbeidsgiverVisitor import no.nav.helse.person.TilstandType.* import no.nav.helse.person.Vedtaksperiode import no.nav.helse.april import no.nav.helse.februar import no.nav.helse...
0
null
2
4
a3ba622f138449986fc9fd44e467104a61b95577
4,971
helse-spleis
MIT License
net.akehurst.language.comparisons/agl/src/jvm8Test/kotlin/Java8_compare_Test_antlrSpec.kt
dhakehurst
197,245,665
false
null
/** * Copyright (C) 2018 Dr. <NAME> (http://dr.david.h.akehurst.net) * * 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 require...
3
null
7
45
177abcb60c51efcfc2432174f5d6620a7db89928
4,399
net.akehurst.language
Apache License 2.0
sphinx/screens-detail/delete-podcast-detail/delete-podcast-detail/src/main/java/chat/sphinx/example/delete_media_detail/ui/DeleteDetailNotifySideEffect.kt
stakwork
340,103,148
false
{"Kotlin": 4002700, "Java": 403469, "JavaScript": 4745, "HTML": 4706, "Shell": 2453}
package chat.sphinx.example.delete_media_detail.ui import android.content.Context import chat.sphinx.resources.SphinxToastUtils import io.matthewnelson.android_feature_toast_utils.show import io.matthewnelson.concept_views.sideeffect.SideEffect internal class DeleteDetailNotifySideEffect(val value: String): SideEffec...
99
Kotlin
11
18
01d4be42df107d5e4fa8d2411f5390aeea60ea74
445
sphinx-kotlin
MIT License