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
modules/nav/src/main/kotlin/dev/jonpoulton/actual/nav/NavDestination.kt
jonapoul
766,282,291
false
{"Kotlin": 233128}
package dev.jonpoulton.actual.nav import androidx.compose.runtime.Composable import androidx.navigation.NavHostController import dev.jonpoulton.actual.listbudgets.ui.ListBudgetsScreen import dev.jonpoulton.actual.login.ui.LoginScreen import dev.jonpoulton.actual.serverurl.ui.ServerUrlScreen sealed class NavDestinatio...
0
Kotlin
0
0
64a503e36f47edce84cd72f68a6833e90fcce73c
926
actual-android
Apache License 2.0
shared/src/commonMain/kotlin/com/movies/domain/util/FlowHelper.kt
ahmedorabi94
630,220,598
false
null
package com.movies.domain.util import kotlinx.coroutines.CoroutineScope import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.flow.* /** * Got my idea for this from stackoverflow post * Source: * https://stackoverflow.com/questions/64175099/listen-to-kotlin-coroutine-flow-from-ios */ /** * Must creat...
0
Kotlin
0
0
f6f2dc4c49e9f15dcdbf0c6a024b8bec1696afbe
914
MoviesKMMCompose
Apache License 2.0
dsl/src/main/kotlin/com/faendir/awscdkkt/generated/services/ec2/CfnTransitGatewayVpcAttachmentPropsDsl.kt
F43nd1r
643,016,506
false
null
package com.faendir.awscdkkt.generated.services.ec2 import com.faendir.awscdkkt.AwsCdkDsl import javax.`annotation`.Generated import kotlin.Unit import software.amazon.awscdk.services.ec2.CfnTransitGatewayVpcAttachmentProps @Generated public fun buildCfnTransitGatewayVpcAttachmentProps(initializer: @AwsCdkDsl Cfn...
1
Kotlin
0
0
b22e397ff37c5fce365a5430790e5d83f0dd5a64
489
aws-cdk-kt
Apache License 2.0
platform/platform-tests/testSrc/com/intellij/formatting/engine/FormatterEngineTests.kt
androidports
115,100,208
false
null
/* * Copyright 2000-2016 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
6
null
1
4
6e4f7135c5843ed93c15a9782f29e4400df8b068
2,532
intellij-community
Apache License 2.0
app/src/main/java/com/example/bricklist/AddActivity.kt
CookieDinner
267,930,029
false
null
package com.example.bricklist import android.annotation.SuppressLint import android.app.Activity import android.content.ContentValues import android.content.Context import android.content.Intent import android.database.sqlite.SQLiteDatabase import android.os.* import androidx.appcompat.app.AppCompatActivity import and...
0
Kotlin
0
0
72301ec966f6fae94c1262ea1ccaa13cf845928e
14,063
BrickList
MIT License
src/oracle-tools/src/main/kotlin/org/icpclive/oracle/MjpegRunner.kt
icpc
447,849,919
false
{"Kotlin": 630579, "TypeScript": 281606, "JavaScript": 120527, "HTML": 77318, "Python": 2840, "CSS": 1184, "Ruby": 1042, "SCSS": 1034, "Batchfile": 726, "Shell": 600, "Dockerfile": 453}
package org.icpclive.oracle import java.io.* import java.net.SocketTimeoutException import java.net.URL import javax.imageio.ImageIO /** * Given an extended JPanel and URL read and create BufferedImages to be displayed from a MJPEG stream * * @author shrub34 Copyright 2012 * Free for reuse, just please give me a ...
17
Kotlin
15
46
70298cce63165ab79c77823b6f8a261db81e5b28
4,583
live-v3
MIT License
src/test/kotlin/org/jmailen/gradle/kotlinter/support/HasErrorReporterTest.kt
samzurcher
179,701,204
true
{"Kotlin": 38727}
package org.jmailen.gradle.kotlinter.support import com.pinterest.ktlint.core.LintError import org.junit.Assert.assertFalse import org.junit.Assert.assertTrue import org.junit.Before import org.junit.Test class HasErrorReporterTest { private lateinit var reporter: HasErrorReporter @Before fun setUp() { ...
0
Kotlin
0
0
d81e6b7d6d5eadff968b6cca6e77041efe34665a
711
kotlinter-gradle
Apache License 2.0
android/app/src/main/java/com/algorand/android/customviews/AlgorandFloatingActionButton.kt
perawallet
364,359,642
false
{"Swift": 8753304, "Kotlin": 7709389, "Objective-C": 88978, "Shell": 7715, "Ruby": 4727, "C": 596}
/* * Copyright 2022 Pera Wallet, LDA * 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,...
22
Swift
62
181
92fc77f73fa4105de82d5e87b03c1e67600a57c0
2,637
pera-wallet
Apache License 2.0
RickMortyAndroidApp/network/src/main/kotlin/io/github/brunogabriel/rickmorty/network/di/RetrofitModule.kt
brunogabriel
437,544,186
false
null
package io.github.brunogabriel.rickmorty.network.di import com.jakewharton.retrofit2.converter.kotlinx.serialization.asConverterFactory import dagger.Module import dagger.Provides import io.github.brunogabriel.rickmorty.network.BuildConfig import io.github.brunogabriel.rickmorty.network.di.qualifiers.BaseUrl import ko...
0
Kotlin
0
3
6e40b2cdc157cf07a5b4574e9c308335112deb4d
1,321
rick-and-morty-app
MIT License
src/main/kotlin/io/vlang/debugger/renderers/VlangRendererEvaluationContext.kt
vlang
754,996,747
false
{"Kotlin": 1648092, "V": 250415, "Java": 68641, "Lex": 20424, "HTML": 6275}
package org.vlang.debugger.renderers import com.jetbrains.cidr.execution.debugger.backend.DebuggerDriver import com.jetbrains.cidr.execution.debugger.backend.LLValue import com.jetbrains.cidr.execution.debugger.backend.LLValueData import org.vlang.debugger.lang.VlangLldbEvaluationContext import org.vlang.debugger.mapI...
53
Kotlin
5
33
5b05a7b1f71ef8dcd7f26425a756259081fe5122
1,612
intellij-v
MIT License
common/src/commonMain/kotlin/com/niji/claudio/common/ui/widget/ClaudioDropdownMenu.kt
GuillaumeMuret
718,024,230
false
{"Kotlin": 268180, "Shell": 4408, "Swift": 571, "HTML": 357, "CSS": 108}
package com.niji.claudio.common.ui.widget import androidx.compose.foundation.layout.ColumnScope import androidx.compose.material.DropdownMenu import androidx.compose.runtime.Composable import androidx.compose.ui.Modifier @Composable fun ClaudioDropdownMenu( modifier: Modifier, expanded: Boolean, onDismiss...
0
Kotlin
0
0
c872bf35dcc54f700720817555d80ecf370e1d6d
548
claudio-app
Apache License 2.0
src/main/kotlin/com/github/ichanzhar/rsql/operations/Params.kt
ichanzhar
294,157,745
false
null
package com.github.ichanzhar.rsql.operations import javax.persistence.criteria.CriteriaBuilder import javax.persistence.criteria.Path data class Params( var root: Path<*>, var builder: CriteriaBuilder, var property: String, var globalProperty: String, var args: List<Any>, var argument: Any? )
0
Kotlin
0
1
d3bcdd1bf92a1704aa9697b363826ab9619e73f5
320
rsql-hibernate-jpa
MIT License
sphereon-kmp-crypto/src/commonTest/kotlin/com/sphereon/jose/JwkTest.kt
Sphereon-Opensource
832,677,457
false
{"Kotlin": 532209, "JavaScript": 3855}
package com.sphereon.jose.jwk import com.sphereon.cbor.cose.CoseCurve import com.sphereon.cbor.cose.CoseKeyCbor import com.sphereon.cbor.cose.CoseKeyType import com.sphereon.jose.jwa.JwaCurve import com.sphereon.jose.jwa.JwaKeyType import com.sphereon.kmp.Encoding import com.sphereon.kmp.decodeFrom import com.sphereon...
0
Kotlin
0
2
15a6f133cd830a213eccc96726d4167a6fd81891
4,168
mdoc-cbor-crypto-multiplatform
Apache License 2.0
imagepipeline/src/main/java/com/facebook/imagepipeline/core/ImagePipelineExperiments.kt
facebook
31,533,997
false
null
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ package com.facebook.imagepipeline.core import android.content.Context import android.graphics.Bitmap import com.facebook.cache....
243
null
3789
17,055
7df742d4bc023bf393824a6102ae0154c4ee61de
19,433
fresco
MIT License
form/src/main/java/com/thejuki/kformmaster/model/FormPickerDropDownElement.kt
TheJuki
121,467,673
false
{"Gradle Kotlin DSL": 4, "XML": 66, "Markdown": 42, "Java Properties": 3, "Shell": 2, "Text": 1, "Ignore List": 3, "Batchfile": 2, "YAML": 5, "Proguard": 2, "Kotlin": 122, "Java": 1, "JSON": 1}
package com.thejuki.kformmaster.model import android.app.AlertDialog import android.view.View import android.widget.ArrayAdapter import android.widget.TextView import androidx.appcompat.widget.AppCompatEditText import com.thejuki.kformmaster.R import com.thejuki.kformmaster.helper.FormBuildHelper import com.thejuki.kf...
16
Kotlin
45
195
d58338e52b22db38daf282183b9d962b9b9587e2
7,460
KFormMaster
Apache License 2.0
livecallback/src/main/java/com/ricarvalho/livecallback/registry/TokenizedOutputLiveCallbackRegistry.kt
rih-carv
398,972,259
false
null
package com.ricarvalho.livecallback.registry import androidx.lifecycle.Lifecycle import androidx.lifecycle.Lifecycle.State.DESTROYED import androidx.lifecycle.Lifecycle.State.RESUMED import androidx.lifecycle.Lifecycle.State.STARTED import androidx.lifecycle.LifecycleOwner import com.ricarvalho.livecallback.CallbackTo...
14
Kotlin
0
6
5348f8db6540c6a1b0ac0d17b7939fa37945cd57
5,464
LiveCallback
MIT License
App/app/src/main/java/com/mengfou/ui/section/SectionFragment.kt
baiyazi
489,327,411
false
null
package com.mengfou.ui.section import android.annotation.SuppressLint import android.os.Bundle import android.util.Log import androidx.fragment.app.Fragment import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.webkit.WebViewClient import androidx.appcompat.app.AppCom...
0
Kotlin
1
0
bb5229f121980237d09402678e4011fafc5e24fa
4,249
NovelApp
MIT License
backend/src/main/kotlin/com/cookbyte/backend/controllers/CategoryController.kt
matejapetkovska
708,374,701
false
{"Kotlin": 58255, "TypeScript": 46962, "HTML": 32189, "CSS": 25895, "JavaScript": 309}
package com.cookbyte.backend.controllers import com.cookbyte.backend.domain.Category import com.cookbyte.backend.service.CategoryService import com.cookbyte.backend.service.IngredientService import org.springframework.web.bind.annotation.GetMapping import org.springframework.web.bind.annotation.PathVariable import org...
0
Kotlin
0
0
f1b47f089ab2f8c70de1e781c038a165b333f030
644
CookByte
MIT License
compiler/fir/entrypoint/src/org/jetbrains/kotlin/fir/session/FirJsSessionFactory.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.fir.session import org.jetbrains.kotlin.config.* import org.jetbrains.kotlin.fir...
7
null
5478
44,267
7545472dd3b67d2ac5eb8024054e3e6ff7795bf6
4,264
kotlin
Apache License 2.0
Application/app/src/main/java/com/wrmh/allmyfood/views/recipes/RecipeFragment.kt
MiguelPortillo18
259,108,086
false
{"Kotlin": 94364}
package com.wrmh.allmyfood.views.recipes import android.content.Context import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.Toast import androidx.appcompat.app.AppCompatActivity import androidx.databinding.DataBindingUtil import andro...
0
Kotlin
0
1
375977d261788687bfae093d1d09c8b58d7b6593
3,820
Food-app
MIT License
src/main/kotlin/uk/gov/justice/digital/hmpps/hmppsstrengthsbasedneedsassessmentsapi/service/AssessmentService.kt
ministryofjustice
623,389,131
false
{"Kotlin": 367233, "Makefile": 4171, "Dockerfile": 1146, "JavaScript": 323}
package uk.gov.justice.digital.hmpps.hmppsstrengthsbasedneedsassessmentsapi.service import org.slf4j.LoggerFactory import org.springframework.stereotype.Service import org.springframework.transaction.annotation.Transactional import uk.gov.justice.digital.hmpps.hmppsstrengthsbasedneedsassessmentsapi.controller.request....
4
Kotlin
0
0
a42922863e180fd274b6062a261d3ae5079194dc
2,177
hmpps-strengths-based-needs-assessments-api
MIT License
EcoSwapAndroid/src/main/java/com/darrenthiores/ecoswap/android/presentation/home/HomeScreen.kt
darrenthiores
688,372,873
false
{"Kotlin": 770054, "Swift": 362583}
package com.darrenthiores.ecoswap.android.presentation.home import androidx.compose.foundation.ExperimentalFoundationApi import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.PaddingValues import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.foundation...
0
Kotlin
0
0
792b3293b4e378b7482f948ce4de622cb88f3cf1
5,145
EcoSwap
MIT License
libraries/stdlib/src/kotlin/collections/MapsJVM.kt
EasyKotlin
93,485,627
false
null
package kotlin import java.util.Comparator import java.util.LinkedHashMap import java.util.Properties import java.util.SortedMap import java.util.TreeMap /** * Allows to use the index operator for storing values in a mutable map. */ // this code is JVM-specific, because JS has native set function public fun <K, V> ...
0
null
0
1
133e9354a4ccec21eb4d226cf3f6c1f3da072309
1,840
exp
Apache License 2.0
clients/graphql-kotlin-client-serialization/src/test/kotlin/com/expediagroup/graphql/client/serialization/data/OptionalInputQuery.kt
ExpediaGroup
148,706,161
false
null
/* * Copyright 2021 Expedia, Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
68
null
345
1,739
d3ad96077fc6d02471f996ef34c67066145acb15
1,443
graphql-kotlin
Apache License 2.0
app/src/test/java/com/talhahasanzia/deezal/app/search/interactor/SearchInteractorImplTest.kt
talhahasanzia
201,644,695
false
null
package com.talhahasanzia.deezal.app.search.interactor import com.talhahasanzia.deezal.app.search.api.SearchArtistResponse import com.talhahasanzia.deezal.app.search.contracts.SearchInteractorOut import com.talhahasanzia.deezal.app.util.TestUtils import com.talhahasanzia.deezal.commons.network.Request import com.talha...
0
Kotlin
0
1
e4a34ecdb805ff129350bb2033399fc8292752ce
1,997
deezal
Apache License 2.0
features/rageshake/impl/src/test/kotlin/io/element/android/features/rageshake/impl/reporter/DefaultBugReporterTest.kt
element-hq
546,522,002
false
null
/* * Copyright (c) 2023 New Vector Ltd * * 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...
9
null
4
955
31d0621fa15fe153bfd36104e560c9703eabe917
14,668
element-x-android
Apache License 2.0
android/src/main/java/com/zondy/mapgis/mobile/geoobjects/JSSplitMode.kt
MapGIS
463,426,830
false
{"TypeScript": 1360825, "Kotlin": 197019, "JavaScript": 2750, "Java": 1126, "Objective-C": 341, "Swift": 253}
package com.zondy.mapgis.mobile.geoobjects import com.facebook.react.bridge.ReactApplicationContext import com.facebook.react.bridge.ReactContextBaseJavaModule import com.zondy.mapgis.geodatabase.raster.PixelType class JSPixelType(context: ReactApplicationContext?) : ReactContextBaseJavaModule(context) { override f...
0
TypeScript
0
0
156db7d18afd91bcf720c6429dbcd359364abaf2
729
MapGIS-Mobile-React-Native
MIT License
relax-business-component/src/main/java/com/ustory/relax_business_component/utils/ErrorUtil.kt
UCodeUStory
146,243,987
false
null
package com.ustory.relax_business_component.utils import android.app.Activity import android.content.Context import android.content.DialogInterface import com.google.gson.JsonSyntaxException import com.ustory.relax_basic_component.core.dialog.ErrorDialog import com.ustory.relax_business_component.R import com.ustory.r...
0
Kotlin
17
250
7bd38ad751eb929514f996deaf08a19c24860be2
2,319
Relax
MIT License
src/main/kotlin/playground/common/observability/sentry/SentryConfiguration.kt
dtkmn
596,118,171
false
{"Kotlin": 333222, "Dockerfile": 763}
package playground.common.observability.sentry import io.sentry.IHub import io.sentry.Sentry import io.sentry.SentryOptions import io.sentry.spring.jakarta.SentryExceptionResolver import io.sentry.spring.jakarta.tracing.TransactionNameProvider import jakarta.servlet.http.HttpServletRequest import org.springframework.b...
0
Kotlin
0
0
49b517c2197a6fa79a8532225ce294b213f2356a
1,770
kotlin-playground
MIT License
mazes-for-programmers/kotlin/src/main/kotlin/io/github/ocirne/mazes/algorithms/GrowingTree.kt
ocirne
496,354,199
false
{"Kotlin": 127854, "Python": 88203}
package io.github.ocirne.mazes.algorithms import io.github.ocirne.mazes.grids.Cell import io.github.ocirne.mazes.grids.GridProvider import io.github.ocirne.mazes.grids.Maze class GrowingTree(private val f : (List<Cell>) -> Cell): PassageCarver { override fun on(gridProvider: GridProvider, startAt: (Maze) -> Cel...
0
Kotlin
0
0
dbd59fe45bbad949937ccef29910a0b6d075cbb3
901
mazes
The Unlicense
app/src/main/java/com/rubyh/mlbcodechallenge/BeersApplication.kt
RHjelte
457,583,801
false
{"Kotlin": 23105}
package com.rubyh.mlbcodechallenge import android.app.Application import android.content.Context import com.rubyh.mlbcodechallenge.di.appModule import com.rubyh.mlbcodechallenge.di.networkModule import org.koin.android.ext.koin.androidContext import org.koin.core.context.startKoin class BeersApplication : Application...
0
Kotlin
0
0
581eb0cf859eb5477d830ff40e924fdce1267f67
791
mlb-code-challenge
MIT License
DaggerSingleModuleApp/app/src/main/java/com/github/yamamotoj/daggersinglemoduleapp/package04/Foo00400.kt
yamamotoj
163,851,411
false
{"Text": 1, "Ignore List": 30, "Markdown": 1, "Gradle": 34, "Java Properties": 11, "Shell": 6, "Batchfile": 6, "Proguard": 22, "Kotlin": 36021, "XML": 93, "INI": 1, "Java": 32, "Python": 2}
package com.github.yamamotoj.daggersinglemoduleapp.package04 import javax.inject.Inject import com.github.yamamotoj.daggersinglemoduleapp.package03.Foo00399 class Foo00400 @Inject constructor(){ fun method0() { Foo00399().method5() } fun method1() { method0() } fun method2() { method1() } fun method3() ...
0
Kotlin
0
9
2a771697dfebca9201f6df5ef8441578b5102641
400
android_multi_module_experiment
Apache License 2.0
feature/sponsors/src/commonMain/kotlin/io/github/droidkaigi/confsched/sponsors/SponsorsScreen.kt
DroidKaigi
776,354,672
false
{"Kotlin": 1017316, "Swift": 198427, "Shell": 2954, "Makefile": 1314, "Ruby": 386}
package io.github.droidkaigi.confsched.sponsors import androidx.compose.foundation.layout.PaddingValues import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.foundation.layout.padding import androidx.compose.material3.ExperimentalMaterial3Api import androidx.compose.material3.Scaffold import an...
71
Kotlin
172
374
e2628330065f71abc1b58d742576dd6bf497da0f
5,738
conference-app-2024
Apache License 2.0
js/js.translator/testData/box/expression/for/rangeOptimization.kt
JakeWharton
99,388,807
false
null
// IGNORE_BACKEND: JS_IR // EXPECTED_REACHABLE_NODES: 1121 // CHECK_CONTAINS_NO_CALLS: testRangeTo // CHECK_CONTAINS_NO_CALLS: testRangeToFunction // CHECK_CONTAINS_NO_CALLS: testUntil // CHECK_CONTAINS_NO_CALLS: testDownTo // CHECK_CONTAINS_NO_CALLS: testStep // CHECK_CONTAINS_NO_CALLS: testEmptyRange // CHECK_CONTAIN...
184
null
5748
83
4383335168338df9bbbe2a63cb213a68d0858104
2,417
kotlin
Apache License 2.0
command-client/src/main/kotlin/momosetkn/liquibase/command/client/LiquibaseCommandClientConfig.kt
momosetkn
844,062,460
false
{"Kotlin": 507898, "Java": 178}
package momosetkn.liquibase.command.client import java.time.format.DateTimeFormatter object LiquibaseCommandClientConfig { var dateTimeFormatter = DateTimeFormatter.ISO_DATE_TIME }
6
Kotlin
1
5
a409e47712bb755ddc21f9108211ea4e76e6c9c7
187
liquibase-kotlin
Apache License 2.0
src/main/kotlin/addict/AddictContainer.kt
Valefant
167,674,220
false
null
package addict import addict.exceptions.EqualBindingNotAllowedException import addict.exceptions.InterpolationException import java.util.* import kotlin.reflect.KClass /** * Basic IoC container with module capabilities. */ class AddictContainer { /** * Contains the parsed keys and values of the property so...
0
Kotlin
0
1
514d0b649d47d7b5bd68d254e65da07afe679b79
3,894
Addict
MIT License
src/main/kotlin/kr/entree/spigradle/module/bungee/BungeeExtension.kt
spigradle
227,876,875
false
null
/* * Copyright (c) 2023 Spigradle contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
16
null
7
95
b9473e5b22eddab10c39e4689a465ecac44b5154
2,321
spigradle
Apache License 2.0
compiler/ir/backend.jvm/src/org/jetbrains/kotlin/backend/jvm/MemoizedInlineClassReplacements.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.backend.jvm.lower.inlineclasses import org.jetbrains.kotlin.backend.common.ir.co...
4
null
5209
42,102
65f712ab2d54e34c5b02ffa3ca8c659740277133
12,002
kotlin
Apache License 2.0
app/src/main/java/com/dunchi/android_view/general/ConstraintLayoutActivity.kt
dunchi-develop-blog
318,939,411
false
null
package com.dunchi.android_view.general import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import com.dunchi.android_view.R class ConstraintLayoutActivity : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setConte...
0
Kotlin
0
0
062c136707b0275919d5efbee5697f4e36266459
372
android-view
MIT License
door-runtime/src/commonMain/kotlin/com/ustadmobile/door/paging/HttpResponsePagingExt.kt
UstadMobile
344,538,858
false
{"Kotlin": 1028056, "JavaScript": 1100, "HTML": 430, "Shell": 89}
package com.ustadmobile.door.paging import com.ustadmobile.door.DoorConstants import io.ktor.client.statement.* /** * Where the receiver HttpResponse is the response for a PagingSource which uses PULL_REPLICATE_ENTITIES, gets * endOfPaginationReached from the response using the header. */ fun HttpResponse.endOfPag...
5
Kotlin
1
162
9912ce18848c6f3d4c5e78e06aeb78542e2670a5
431
door
Apache License 2.0
app/src/main/java/com/mobilebreakero/Gamezone/ui/components/GameZoneTopAppBar.kt
OmarLkhalil
672,856,200
false
null
package com.mobilebreakero.Gamezone.ui.composables import androidx.compose.foundation.* import androidx.compose.foundation.layout.* import androidx.compose.material.icons.Icons import androidx.compose.material.icons.filled.ArrowBack import androidx.compose.material3.* import androidx.compose.runtime.* import androidx....
10
null
0
2
03f92d6f786e9f5d7fa5bd61cf171dfbbe8325c2
2,429
GameZone
MIT License
compiler/testData/diagnostics/jvmIntegration/classpath/sameLibraryTwiceInClasspath.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...
// FIR_IDENTICAL // MODULE: library1 // FILE: source.kt package testing object TopLevelObject class Outer { inner class Inner class Nested } // MODULE: library2 // FILE: source.kt package testing object TopLevelObject class Outer { inner class Inner class Nested } // MODULE: main(library1, library...
181
Kotlin
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
491
kotlin
Apache License 2.0
app/src/main/java/io/github/takusan23/Kaisendon/Home.kt
takusan23
161,504,060
false
{"Gradle": 5, "Markdown": 2, "Java Properties": 4, "Shell": 1, "Text": 13, "Ignore List": 3, "Batchfile": 1, "Proguard": 1, "Java": 51, "XML": 337, "Kotlin": 86, "AIDL": 4, "JSON": 6}
package io.github.takusan23.Kaisendon import android.Manifest import android.animation.ObjectAnimator import androidx.appcompat.app.AlertDialog import android.annotation.SuppressLint import android.app.* import android.content.* import android.content.pm.PackageManager import android.content.res.ColorStateList import ...
1
null
1
1
98f8dd88deb68d749a5c44a7fca8bce6e8f3af39
147,670
Kaisendon
Apache License 2.0
networklibrary/src/main/java/com/lkl/networklibrary/https/consts/UriConsts.kt
BlankLun
99,202,905
false
null
package com.lkl.networklibrary.https.consts /** * Created likunlun * Time 2017/8/3 11:06 * Desc URI常量 */ object UriConsts { val BASE_URL = "http://192.168.2.235:8095/" }
0
Kotlin
8
18
dcb28860203248cd793a7f43094753e656b2c380
193
RxKotlinRetrofitDemo
Apache License 2.0
app/src/main/java/com/buchi/fullentry/movie/data/cache/MoviesAppDatabase.kt
SunnyBe
370,745,596
false
null
package com.buchi.fullentry.movie.data.cache import androidx.room.Database import androidx.room.RoomDatabase @Database(entities = [ MovieData::class ], version = 1, exportSchema = false) abstract class MoviesAppDatabase: RoomDatabase() { abstract fun moviesDao(): MovieDao }
0
Kotlin
1
0
f4c1d6c8067c4149d357a4ded6e6455b60b15156
285
MovieApp
The Unlicense
layout-ui/src/main/java/com/android/tools/property/panel/impl/table/DefaultValueTableCellRenderer.kt
JetBrains
60,701,247
false
null
/* * Copyright (C) 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
5
null
230
948
10110983c7e784122d94c7467e9d243aba943bf4
1,780
android
Apache License 2.0
core-data-disk/src/main/java/de/niklasbednarczyk/nbweather/core/data/disk/mappers/OneWayMapperDisk.kt
NiklasBednarczyk
529,683,941
false
null
package de.niklasbednarczyk.nbweather.core.data.disk.mappers interface OneWayMapperDisk<Proto, Disk> { fun protoToDisk(proto: Proto): Disk }
12
Kotlin
0
0
b9894a6739d699799aa2ab49f3d9218a97cfb7bc
147
NBWeather
MIT License
okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/Jdk8WithJettyBootPlatform.kt
yschimke
42,286,486
false
null
/* * Copyright (C) 2016 Square, 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 agre...
2
null
9159
6
ef459b1d8b0530c915386c527e8a141c88cd5c15
6,170
okhttp
Apache License 2.0
fir/src/org/jetbrains/kotlin/idea/fir/api/fixes/HLDiagnosticFixFactory.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. */ package org.jetbrains.kotlin.idea.fir.api.fixes import com.intellij.codeInsight.intention.IntentionAction imp...
191
null
4372
82
cc81d7505bc3e9ad503d706998ae8026c067e838
5,861
intellij-kotlin
Apache License 2.0
app/src/main/java/com/workbook/liuwb/workbook/actions/service/bind/messengerdemo/ActivityMessenger.kt
bobo-lwenb
224,773,966
false
null
package com.workbook.liuwb.workbook.actions.service.bind.messengerdemo import android.content.ComponentName import android.content.Context import android.content.Intent import android.content.ServiceConnection import android.os.* import android.view.View import androidx.appcompat.app.AppCompatActivity import com.workb...
0
Kotlin
0
0
9057c0ed87d0241a7704c7dfb9e285a378c2224e
2,642
WorkBook
Apache License 2.0
examples/codeviewer/common/src/commonMain/kotlin/org/jetbrains/codeviewer/ui/common/Theme.kt
JetBrains
293,498,508
false
null
package org.jetbrains.codeviewer.ui.common import androidx.compose.material.darkColors import androidx.compose.ui.graphics.Color import androidx.compose.ui.text.SpanStyle object AppTheme { val colors: Colors = Colors() val code: Code = Code() class Colors( val backgroundDark: Color = Color(0xFF2...
668
null
645
9,090
97266a0ac8c0d7a8ad8d19ead1c925751a00ff1c
1,048
compose-jb
Apache License 2.0
demo3/app/src/main/java/com/mokelab/demo/sdldemo3/MainActivity.kt
mokelab
206,254,208
false
null
package com.mokelab.demo.sdldemo3 import android.content.Intent import android.os.Bundle import androidx.appcompat.app.AppCompatActivity class MainActivity : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContentView(R.layout.activ...
0
Kotlin
0
0
2925ce2deb96f1df273743af9e5da42ec964a8f8
420
sdl-demo2019
Apache License 2.0
src/main/kotlin/elan/tweaks/thaumcraft/research/frontend/domain/model/AspectTree.kt
GTNewHorizons
415,049,798
false
null
package elan.tweaks.thaumcraft.research.frontend.domain.model import elan.tweaks.thaumcraft.research.frontend.domain.ports.provided.AspectsTreePort import thaumcraft.api.aspects.Aspect import kotlin.math.absoluteValue object AspectTree : AspectsTreePort { private val orderedBalance = findBalance() override f...
0
Kotlin
3
9
13848ec93311687aeb071dcabb390fbb8fbf89ee
5,501
thaumcraft-research-tweaks
MIT License
compose/src/test/java/com/kizitonwose/calendar/compose/StateSaverTest.kt
kizitonwose
182,417,603
false
{"Kotlin": 670112, "HTML": 343, "CSS": 102}
package com.kizitonwose.calendar.compose import androidx.compose.runtime.saveable.Saver import androidx.compose.runtime.saveable.SaverScope import androidx.compose.runtime.saveable.listSaver import com.kizitonwose.calendar.compose.heatmapcalendar.HeatMapCalendarState import com.kizitonwose.calendar.compose.weekcalenda...
13
Kotlin
505
4,651
36de800a6c36a8f142f6432a0992e0ea4ae8a789
4,551
Calendar
MIT License
app/src/main/java/com/tktkokym/currencyviewer/AppApplication.kt
TktkOkym
205,659,017
false
null
package com.tktkokym.currencyviewer import android.app.Application import android.os.StrictMode import com.tktkokym.currencyviewer.di.appModule import org.koin.android.ext.koin.androidContext import org.koin.android.ext.koin.androidLogger import org.koin.core.context.startKoin import org.koin.core.logger.Level class ...
0
Kotlin
0
0
78235ce1e09a9a93becca33232e48b49ead31e43
1,118
CurrencyViewer
Apache License 2.0
src/main/kotlin/br/com/zup/chavepix/client/BcbClient.kt
natyff
385,923,261
true
{"Kotlin": 59542}
package br.com.zup.chavepix.client import br.com.zup.chavepix.dto.ChavePixDetalhe import br.com.zup.chavepix.entities.ChavePix import br.com.zup.chavepix.entities.ContaAssociada import br.com.zup.chavepix.enums.TipoConta import br.com.zup.chavepix.enums.TipoDeChave import io.micronaut.http.HttpResponse import io.micro...
0
Kotlin
0
0
27d4b34bc7d65a5e9b5045cb01505f3d9aabf75d
4,606
orange-talents-05-template-pix-keymanager-grpc
Apache License 2.0
src/main/kotlin/icu/windea/pls/config/cwt/expression/CwtLocalisationLocationExpression.kt
DragonKnightOfBreeze
328,104,626
false
null
package icu.windea.pls.config.cwt.expression import com.google.common.cache.* import com.intellij.openapi.project.* import icu.windea.pls.* import icu.windea.pls.config.core.* import icu.windea.pls.config.core.config.* import icu.windea.pls.core.* import icu.windea.pls.core.search.* import icu.windea.pls.core.selector...
2
Kotlin
2
13
97b0df8a6c176e97d239a0a4be9a451e70a44777
5,463
Paradox-Language-Support
MIT License
app/src/main/java/com/azamovhudstc/androidkeylogger/model/LocationData.kt
professorDeveloper
776,363,791
false
{"Kotlin": 91542}
package com.azamovhudstc.androidkeylogger.model data class LocationData( val latitude: Double, val longitude: Double, val accuracy: Float )
0
Kotlin
0
1
cc5c15e76e8f8a9a256c8e7a3a6ac1f0ef207fc0
152
Android-KeyLogger
MIT License
extensions/intellij/intellij_generator_plugin/src/main/java/com/bloc/intellij_generator_plugin/generator/components/CubitGenerator.kt
felangel
151,977,818
false
null
package com.bloc.intellij_generator_plugin.generator.components import com.bloc.intellij_generator_plugin.generator.CubitGenerator class CubitGenerator( name: String, useEquatable: Boolean ) : CubitGenerator(name, useEquatable, templateName = "cubit") { override fun fileName() = "${snakeCase()}_cubit.${fi...
65
Dart
2481
8,582
b6c55144e6c37c57100cf5be1125dca8bcc05b48
337
bloc
MIT License
mobile_app1/module555/src/main/java/module555packageKt0/Foo73.kt
uber-common
294,831,672
false
null
package module555packageKt0; annotation class Foo73Fancy @Foo73Fancy class Foo73 { fun foo0(){ module555packageKt0.Foo72().foo2() } fun foo1(){ foo0() } fun foo2(){ foo1() } }
6
null
6
72
9cc83148c1ca37d0f2b2fcb08c71ac04b3749e5e
203
android-build-eval
Apache License 2.0
workflix/backend/backend/src/main/kotlin/de/se/team3/webservice/handlers/ProcessTemplatesHandler.kt
elite-se
221,695,449
false
{"JavaScript": 227922, "Kotlin": 209131, "HTML": 6665, "CSS": 238}
package de.se.team3.webservice.handlers import de.se.team3.logic.container.ProcessTemplatesContainer import de.se.team3.logic.container.UserContainer import de.se.team3.logic.container.UserRoleContainer import de.se.team3.logic.domain.ProcessTemplate import de.se.team3.logic.domain.TaskTemplate import de.se.team3.webs...
7
JavaScript
0
1
c3d4bf7aea5b009f36deb7a4137df3107a8923c4
6,962
workflix
MIT License
app/src/main/kotlin/de/markusfisch/android/binaryeye/activity/SplashActivity.kt
markusfisch
101,552,674
false
null
package de.markusfisch.android.binaryeye.activity import android.content.Intent import android.os.Bundle import android.support.v7.app.AppCompatActivity import de.markusfisch.android.binaryeye.app.setRestartCount class SplashActivity : AppCompatActivity() { override fun onCreate(state: Bundle?) { super.onCreate(st...
83
null
97
992
e99e2d7dccba2f6ffb6d7d6d2e6428288834dcf5
586
BinaryEye
MIT License
ehr-common-model/src/main/kotlin/org/openehr/proc/taskplanning/TaskAction.kt
better-care
343,543,899
false
null
/* Copyright 2021 Better Ltd (www.better.care) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
0
Kotlin
1
2
368cae4a0464dcd90cbae48a1c6b3d4615450d6f
2,874
ehr-common
Apache License 2.0
runtime-permission/src/main/java/jp/co/soramitsu/android_foundation/kotlin/coroutines/experimental/kotlin-runtimepermissions-coroutines.kt
soramitsu
278,060,397
false
null
package jp.co.soramitsu.android_foundation.kotlin.coroutines.experimental import androidx.fragment.app.Fragment import androidx.fragment.app.FragmentActivity import jp.co.soramitsu.android_foundation.core.PermissionResult import jp.co.soramitsu.android_foundation.core.RuntimePermission import jp.co.soramitsu.android_f...
8
null
67
89
812c6ed5465d19a0616865cbba3e946d046720a1
1,909
fearless-Android
Apache License 2.0
compiler/testData/codegen/box/controlStructures/continueInExpr.kt
JakeWharton
99,388,807
false
null
// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME fun concatNonNulls(strings: List<String?>): String { var result = "" for (str in strings) { result += str?:continue } return result } fun box(): String { val test = concatNonNulls(listOf("abc", null, null, "", null, "def")) if (test != "abcdef")...
181
null
5748
83
4383335168338df9bbbe2a63cb213a68d0858104
368
kotlin
Apache License 2.0
app/src/main/kotlin/lishiyo/kotlin_arch/view/AboutFragment.kt
taduyde
124,017,263
false
null
/** * Copyright 2017 <NAME>. * <p> * 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 * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * Unless required by applicable law or agree...
0
Kotlin
0
0
e826072322a65506871546b230c63271796bf03d
1,890
kotlin-arch-boiler
Apache License 2.0
lint-checks/src/main/java/androidx/build/lint/BanConcurrentHashMap.kt
RikkaW
389,105,112
false
null
/* * Copyright 2020 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
12
null
497
7
6d53f95e5d979366cf7935ad7f4f14f76a951ea5
3,826
androidx
Apache License 2.0
src/main/kotlin/report/ExceptionToPngConverter.kt
yyYank
46,666,189
false
{"Gradle": 2, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "YAML": 1, "Markdown": 1, "Java Properties": 1, "Kotlin": 56, "Java": 1}
package kebab.report /** * Created by yy_yank on 2016/10/05. */ class ExceptionToPngConverter(val e: Exception) { fun convert(headline: String): ByteArray? = null }
7
Kotlin
2
13
876670577bfa5537755bc793098acc3c34593ee0
171
Kebab
Apache License 2.0
filepicker/src/commonMain/kotlin/com/chirrio/filepicker/ArrayBitmap.kt
gleb-skobinsky
634,563,581
false
{"Kotlin": 250953, "Swift": 580, "HTML": 312, "Shell": 228, "Ruby": 101}
package com.chirrio.filepicker import androidx.compose.ui.graphics.ImageBitmap expect fun ByteArray.toImageBitmap(context: Any, file: MPFile<Any>): ImageBitmap expect suspend fun ImageBitmap.downscale(): ImageBitmap expect fun imageBitmapFromArgb( rawArgbImageData: ByteArray, width: Int, height: Int ): ...
0
Kotlin
0
10
f576586312c1d2729e1a0100a8ccc60bfaf310f7
623
compose-connect
Apache License 2.0
app/src/main/kotlin/fardavide/molecule/domain/DataError.kt
fardavide
762,810,039
false
{"Kotlin": 61529}
package fardavide.molecule.domain object DataError { }
2
Kotlin
0
0
83ae45d2dc9a73ac9d8eaeb25247eda2aadf9db4
56
League-of-Molecule
Apache License 2.0
app/src/main/java/com/bignerdranch/android/geoquiz/MainActivity.kt
lonespartan12
499,949,139
false
{"Kotlin": 6323, "Java": 429}
package com.bignerdranch.android.geoquiz import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.view.View import android.widget.Button import android.widget.Toast import com.bignerdranch.android.geoquiz.databinding.ActivityMainBinding class MainActivity : AppCompatActivity() { pr...
2
Kotlin
0
0
e9d254a08bb0cb101a56ecd3ec3ca9d0adbd841c
4,459
BNR_Android_GeoQuiz
The Unlicense
app/src/main/java/eu/kanade/tachiyomi/util/lang/CoroutinesExtensions.kt
az4521
176,152,541
false
null
package eu.kanade.tachiyomi.util.system import kotlinx.coroutines.CoroutineScope import kotlinx.coroutines.CoroutineStart import kotlinx.coroutines.Job import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.GlobalScope import kotlinx.coroutines.launch import kotlin.coroutines.EmptyCoroutineContext fun launch...
22
null
18
471
a72df3df5073300e02054ee75dc990d196cd6db8
585
TachiyomiAZ
Apache License 2.0
lib/src/commonMain/kotlin/fyi/models/ConfigResponse.kt
infinitum-dev
196,228,013
false
{"Gradle": 3, "XML": 92, "INI": 4, "Shell": 1, "Text": 11, "Batchfile": 1, "Markdown": 1, "Ruby": 1, "OpenStep Property List": 4, "Kotlin": 66, "JAR Manifest": 39, "Java": 8, "JSON": 35, "Java Properties": 6, "SQL": 2, "Motorola 68K Assembly": 5, "Objective-C": 2, "HTML": 487, "CSS": 5, "JavaScript": 59, "Maven POM": 1...
package fyi.models import kotlinx.serialization.Serializable /** * Represents the response given by the Server when executing the config Request. * * @property apps List of applications available in the domain used in the config request. */ @Serializable data class ConfigResponse(val apps: List<App>) /** * Repr...
0
JavaScript
0
0
f748c127221a6d304d7d306094ea24d3088abc59
471
mobile-sdk
MIT License
app/src/main/java/com/newbiechen/nbreader/ui/component/book/text/engine/cursor/TextWordCursor.kt
newbiechen1024
239,496,581
false
null
package com.newbiechen.nbreader.ui.component.book.text.engine.cursor import com.newbiechen.nbreader.ui.component.book.text.entity.TextPosition import com.newbiechen.nbreader.ui.component.book.text.entity.element.TextWordElement /** * author : newbiechen * date : 2019-10-22 14:04 * description :文本单词光标,对 TextPara...
5
Kotlin
8
37
e423b13915578ab95c1683bfa7a70e59f19f2eab
4,734
NBReader
Apache License 2.0
app/src/main/java/br/edu/puccampinas/pi3/AvaliacaoActivity.kt
Jean2505
619,002,734
false
null
package br.edu.puccampinas.pi3 import android.content.Intent import android.os.Bundle import android.widget.TextView import android.widget.Toast import androidx.appcompat.app.AppCompatActivity import androidx.recyclerview.widget.RecyclerView import br.edu.puccampinas.pi3.databinding.ActivityAndamentoBinding import br....
0
Kotlin
0
0
1302c6f0b19e3f3d40807301050b197e4455998d
4,833
Projeto-Integrador-3
MIT License
app/src/main/java/com/ztftrue/music/utils/Utils.kt
ZTFtrue
744,397,364
false
null
package com.ztftrue.music.utils import android.content.Context import android.content.Intent import android.content.pm.ResolveInfo import android.net.Uri import android.os.Bundle import android.support.v4.media.MediaBrowserCompat import android.text.TextUtils import android.widget.Toast import androidx.core.content.Fi...
5
null
6
6
d7facf4eb4a35c3aa1667831726ecb9d82e9c029
16,498
MonsterMusic
Apache License 2.0
net.akehurst.language/agl-processor/src/commonTest/kotlin/agl/grammar/grammar/test_Agl_scan.kt
dhakehurst
197,245,665
false
{"Kotlin": 3441810, "ANTLR": 64742, "Rascal": 17698, "Java": 14285, "PEG.js": 6866, "JavaScript": 5287, "BASIC": 22}
/** * Copyright (C) 2018 Dr. David H. Akehurst (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 ...
2
Kotlin
7
43
b225becb87afb0577bebaeff31c256d3f8b85b63
4,552
net.akehurst.language
Apache License 2.0
plugins/hh-garcon/src/main/kotlin/ru/hh/plugins/garcon/config/editor/GarconPluginSettings.kt
hhru
159,637,875
false
null
package ru.hh.plugins.garcon.config.editor import com.intellij.openapi.components.PersistentStateComponent import com.intellij.openapi.components.State import com.intellij.openapi.components.Storage import com.intellij.openapi.components.service import com.intellij.openapi.project.Project import com.intellij.util.xmlb...
17
null
11
97
2d6c02fc814eff3934c17de77ef7ade91d3116f5
1,994
android-multimodule-plugin
MIT License
shared/data/network/src/commonTest/kotlin/dev/ohoussein/cryptoapp/data/network/crypto/service/mocks/MockCryptoDetailsJson.kt
OHoussein
388,247,123
false
null
@file:Suppress("MaxLineLength") package dev.ohoussein.cryptoapp.data.network.crypto.service.mocks val mockCryptoDetailsJson = """ { "id": "bitcoin", "symbol": "btc", "name": "Bitcoin", "asset_platform_id": null, "platforms": { "": "" }, "block_time_in_minutes": 10,...
1
null
2
9
8f28a307d64b22fee9e40853cb67858c30b82ec3
134,784
CryptoApp
Apache License 2.0
shared/data/network/src/commonTest/kotlin/dev/ohoussein/cryptoapp/data/network/crypto/service/mocks/MockCryptoDetailsJson.kt
OHoussein
388,247,123
false
null
@file:Suppress("MaxLineLength") package dev.ohoussein.cryptoapp.data.network.crypto.service.mocks val mockCryptoDetailsJson = """ { "id": "bitcoin", "symbol": "btc", "name": "Bitcoin", "asset_platform_id": null, "platforms": { "": "" }, "block_time_in_minutes": 10,...
1
null
2
9
8f28a307d64b22fee9e40853cb67858c30b82ec3
134,924
CryptoApp
Apache License 2.0
plugin-build/src/test/kotlin/io/sentry/android/gradle/integration/SentryPluginVariantTest.kt
getsentry
241,145,606
false
{"Kotlin": 797678, "Python": 6341, "Shell": 2904, "Groovy": 2407, "JavaScript": 1801, "Makefile": 702}
package io.sentry.android.gradle.integration import io.sentry.BuildConfig import org.gradle.util.GradleVersion import org.junit.Assert.assertFalse import org.junit.Assert.assertTrue import org.junit.Test class SentryPluginVariantTest : BaseSentryPluginTest(BuildConfig.AgpVersion, GradleVersion.current().version) ...
39
Kotlin
32
143
9c11c5e637e0900f35a66a95c7553d0616f0c15c
3,911
sentry-android-gradle-plugin
MIT License
androidApp/src/androidMain/kotlin/dev/sasikanth/rss/reader/MainActivity.kt
msasikanth
632,826,313
false
null
/* * Copyright 2023 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
0
Kotlin
0
6
0258e3ed2f2e9a5ea2eba91530b828e133046802
1,707
reader
Apache License 2.0
firebase-dataconnect/src/main/kotlin/com/google/firebase/dataconnect/util/ReferenceCounted.kt
firebase
146,941,185
false
{"Java": 13568535, "PureBasic": 10781995, "Kotlin": 2658699, "Python": 104323, "C++": 86300, "Makefile": 21902, "Shell": 13966, "HCL": 11091, "C": 6939, "JavaScript": 5482, "Mustache": 4729, "Ruby": 2545, "AIDL": 1486, "HTML": 215}
/* * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
440
Java
575
2,270
0697dd3aadd6c13d9e2d321c75173992bfbaac3b
2,974
firebase-android-sdk
Apache License 2.0
src/main/kotlin/com/vitalyk/insight/main/Tables.kt
yay
420,480,103
false
null
package com.vitalyk.insight.main // https://scs.fidelity.com/help/mmnet/help_personal_about_tickers.shtml // Tickers are mostly (up to) 5-character alpha codes, but Shenzhen Stock Exchange, // for example, has 6-character numerical codes. // Market Identifier Code (MIC), four alpha character code, ISO 10383: // https...
0
Kotlin
0
0
3a52cbf394224755b407fc2a30856ea92d085d74
1,358
insight
MIT License
hazelnet-community/src/main/kotlin/io/hazelnet/community/data/discord/giveaways/GiveawayWinnersCannotBeDrawnException.kt
nilscodes
446,203,879
false
{"TypeScript": 1045486, "Kotlin": 810416, "Dockerfile": 4476, "Shell": 1830, "JavaScript": 1384}
package io.hazelnet.community.data.discord.giveaways class GiveawayWinnersCannotBeDrawnException(override val message: String?): Throwable(message)
0
TypeScript
4
13
79f8b096f599255acb03cc809464d0570a51d82c
148
hazelnet
Apache License 2.0
sample/web-app-compose/src/jsMain/kotlin/com/icerockdev/web/Main.kt
icerockdev
204,874,263
false
null
/* * Copyright 2022 IceRock MAG Inc. Use of this source code is governed by the Apache 2.0 license. */ package com.icerockdev.web import androidx.compose.runtime.mutableStateOf import androidx.compose.runtime.remember import com.icerockdev.library.MR import com.icerockdev.library.Testing import dev.icerock.moko.res...
85
Kotlin
55
458
df157ee999b787bf0d3628ab33747ce51b56286d
2,542
moko-resources
Apache License 2.0
plugins/ide-features-trainer/src/training/ui/MessageFactory.kt
JetBrains
2,489,216
false
null
// Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. package training.ui import com.intellij.openapi.diagnostic.Logger import com.intellij.openapi.util.JDOMUtil import com.intellij.openapi.util.text.Strings import org.intellij.lang.annotations.Languag...
191
null
4372
13,319
4d19d247824d8005662f7bd0c03f88ae81d5364b
4,764
intellij-community
Apache License 2.0
app/src/main/java/com/example/newsfeedapp/Model/Article.kt
Srihitha18798
457,221,116
false
{"Kotlin": 19435}
package com.example.newsfeedapp.Model class Article { var author: String? = null var title: String? = null var description: String? = null var url: String? = null var urlToImage: String? = null var publishedAt: String? = null }
0
Kotlin
0
5
7a1621c80c518d4d82efadd2ef8cf30a77c1b79c
253
NewsFeedApp
Apache License 2.0
app/src/main/java/com/composetemplate/core/data/storage/PreferenceDataStore.kt
rafi4204
567,796,241
false
null
package com.composetemplate.core.data.storage import androidx.datastore.core.DataStore import androidx.datastore.preferences.core.Preferences import androidx.datastore.preferences.core.booleanPreferencesKey import androidx.datastore.preferences.core.edit import com.composetemplate.core.data.storage.PreferenceDataStore...
0
null
3
7
e1d3bc966ac0d590a3dac0210f1442d3dc90610c
1,006
android-compose-template
MIT License
app/src/main/java/nl/jovmit/friends/domain/user/User.kt
mitrejcevski
336,415,632
false
{"Kotlin": 122711}
package nl.jovmit.friends.domain.user import android.os.Parcelable import kotlinx.parcelize.Parcelize @Parcelize data class User( val id: String, val email: String, val about: String ) : Parcelable
2
Kotlin
7
32
7fe7a87f6948e9e7590dfadcb8d1cd35c096a753
206
friends
Apache License 2.0
plugins/kotlin/j2k/new/tests/testData/newJ2k/literalExpression/stringEscaping.kt
JetBrains
2,489,216
false
null
class A { // ascii escapes var ascii1 = "\t\b\n\r\'\"\\" var ascii2 = "\u000c" var ascii3 = "\\f" var ascii4 = "\\\u000c" // backslash var backslash1 = "\u0001" var backslash2 = "\\1" var backslash3 = "\\\u0001" var backslash4 = "\\\\1" var backslash5 = "\\\\\u0001" var ...
214
null
4829
15,129
5578c1c17d75ca03071cc95049ce260b3a43d50d
850
intellij-community
Apache License 2.0
app/src/main/java/com/muzzley/app/tiles/TilesFragment.kt
habitio
191,952,436
false
{"Java": 759418, "Kotlin": 611639, "JavaScript": 4086}
package com.muzzley.app.tiles import android.app.Activity import android.app.ProgressDialog import android.content.Intent import android.os.Bundle import androidx.fragment.app.Fragment import androidx.swiperefreshlayout.widget.SwipeRefreshLayout import androidx.recyclerview.widget.GridLayoutManager import androidx.rec...
1
null
1
1
57174e1ca5e0d72ebc01d0750e278fc493b44e42
14,887
habit-whitelabel-app-android
MIT License
app/src/main/java/com/cyh128/hikari_novel/data/repository/BookshelfRepository.kt
15dd
645,796,447
false
{"Kotlin": 332962}
package com.cyh128.hikari_novel.data.repository import com.cyh128.hikari_novel.data.model.BookshelfNovelInfo import kotlinx.coroutines.flow.MutableStateFlow import kotlinx.coroutines.flow.asStateFlow import javax.inject.Inject import javax.inject.Singleton @Singleton class BookshelfRepository @Inject constructor() { ...
1
Kotlin
12
400
402efc07ced528fc939d5d645e1f8a8f07636f40
578
wenku8reader
MIT License
backend/src/main/kotlin/com/willianantunes/azureb2ccustompolicydesigner/AzureB2cCustomPolicyDesignerApplication.kt
willianantunes
419,873,237
false
{"Kotlin": 22610, "JavaScript": 11846}
package com.willianantunes.azureb2ccustompolicydesigner import org.springframework.boot.autoconfigure.SpringBootApplication import org.springframework.boot.runApplication @SpringBootApplication class AzureB2cCustomPolicyDesignerApplication fun main(args: Array<String>) { runApplication<AzureB2cCustomPolicyDesigner...
1
Kotlin
1
7
828a25f933d3fad7137daf2160af8c57cb9e897c
342
azure-b2c-custom-policy-designer
MIT License
magick-kt/src/commonMain/kotlin/imagemagick/core/enums/ColorSpace.kt
Gounlaf
692,782,810
false
{"Kotlin": 666114}
package imagemagick.core.enums // // /!\ do not modify order: it's directly linked to the underlying C library enum/order /!\ // /** * Specifies a kind of color space. */ enum class ColorSpace { /** Undefined. */ UNDEFINED, /** CMY. */ CMY, /** CMYK. */ CMYK, /** Gray. */ GRAY, ...
0
Kotlin
0
0
8454fc5e2e4b62bdb9921423d0a4c8af94fccb64
1,223
Magick.KT
MIT License
app/src/main/kotlin/com/lazysoul/kotlinwithandroid/injection/module/ApplicationModule.kt
myeonginwoo
96,596,657
false
null
package com.lazysoul.kotlinwithandroid.injection.module import android.app.Application import android.content.Context import android.content.SharedPreferences import dagger.Module import dagger.Provides import javax.inject.Singleton /** * Created by Lazysoul on 2017. 7. 17.. */ @Module class ApplicationModule(priv...
1
null
1
2
5601a5c890510244f12bad23e219fbe3502655b9
700
KotlinWithAndroid
MIT License
ktor-server/ktor-server-plugins/ktor-server-auth/jvm/src/io/ktor/server/auth/BasicAuth.kt
ktorio
40,136,600
false
null
/* * Copyright 2014-2019 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license. */ package io.ktor.auth import io.ktor.application.* import io.ktor.http.auth.* import io.ktor.request.* import io.ktor.response.* import io.ktor.util.* import java.nio.charset.* /** * Represe...
6
null
774
9,308
9244f9a4a406f3eca06dc05d9ca0f7d7ec74a314
4,641
ktor
Apache License 2.0
core/common-kmp/src/commonMain/kotlin/org/michaelbel/movies/common/exceptions/CreateSessionException.kt
michaelbel
115,437,864
false
{"Kotlin": 679261, "Java": 10013, "Swift": 342, "Shell": 235}
@file:Suppress( "EXPECT_ACTUAL_CLASSIFIERS_ARE_IN_BETA_WARNING", "EXPECT_AND_ACTUAL_IN_THE_SAME_MODULE" ) package org.michaelbel.movies.common.exceptions data object CreateSessionException: Exception()
6
Kotlin
31
190
ee5c5b5dedc04666467a5bad73b72ea3fdd987b9
211
movies
Apache License 2.0
visualfsm-core/src/commonMain/kotlin/ru/kontur/mobile/visualfsm/Transition.kt
Kontur-Mobile
495,870,417
false
null
package ru.kontur.mobile.visualfsm import kotlin.reflect.KClass /** * Describes the transition rule state. Makes a transition to the same state * * In generic contains [state][State] * Defines [predicate] and [transform] functions */ abstract class SelfTransition<STATE : State> : Transition<STATE, STATE>() /** ...
1
null
4
73
655a52255ce8bd69fdb39ed11a2c24b99e899d3f
2,976
VisualFSM
MIT License
purchase/src/main/java/com/yeuristic/purchase/PurchaseListAdapter.kt
yeuristic
344,393,207
false
null
package com.yeuristic.purchase import android.view.ViewGroup import androidx.recyclerview.widget.RecyclerView class PurchaseListAdapter( private val data: List<BasePurchaseData> ): RecyclerView.Adapter<RecyclerView.ViewHolder>() { override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): RecyclerView...
0
Kotlin
0
0
183cf2a70ce9c8f90496b6aac3c46ec21f5e2696
554
example-multi-modules-communication
Apache License 2.0