path
stringlengths
4
280
owner
stringlengths
2
39
repo_id
int64
21.1k
879M
is_fork
bool
2 classes
languages_distribution
stringlengths
13
1.95k
content
stringlengths
7
482k
issues
int64
0
13.9k
main_language
stringclasses
121 values
forks
stringlengths
1
5
stars
int64
0
111k
commit_sha
stringlengths
40
40
size
int64
7
482k
name
stringlengths
1
100
license
stringclasses
93 values
app/src/main/java/com/example/rxjava_with_mvp_in_kotlin/activities/mainActivity/MainActivity.kt
ariarostamifarah
384,513,612
false
null
package com.example.rxjava_with_mvp_in_kotlin.activities.mainActivity import android.annotation.SuppressLint import android.content.Intent import android.os.Bundle import androidx.core.app.ActivityOptionsCompat import androidx.core.view.doOnPreDraw import androidx.paging.PagingData import androidx.recyclerview.widget....
1
null
1
1
d183a7ae757f2a729efff411938cd6eec4ef0e47
3,371
Example_RxJava_With_MVP_In_Kotlin
Apache License 2.0
app/src/main/java/info/moevm/se/weatheradvisor/wardrobescreen/WardrobeActivity.kt
moevm
170,087,136
false
null
package info.moevm.se.weatheradvisor.wardrobescreen import android.content.Intent import android.os.Bundle import androidx.appcompat.app.AppCompatActivity import androidx.recyclerview.widget.LinearLayoutManager import info.moevm.se.data.repositories.ItemRepository import info.moevm.se.domain.entities.Item import info....
1
null
1
1
1d2d3706163f0974c323a8a7c9d8af30ddf25e6f
2,814
adfmp19-weather-advisor
MIT License
desk360/src/main/java/com/teknasyon/desk360/helper/Desk360Toolbar.kt
Teknasyon-Teknoloji
188,395,069
false
null
package com.teknasyon.desk360.helper import android.content.Context import android.graphics.Color import android.os.Build import android.util.AttributeSet import androidx.appcompat.widget.Toolbar class Desk360Toolbar : Toolbar { init { this.setBackgroundColor(Color.parseColor(Desk360Constants.currentType...
2
null
1
14
b73e9e0620d612f4566ace69073530207ef1eaca
994
desk360-android-sdk
MIT License
samples-tests/src/test/kotlin/org/gradle/kotlin/dsl/samples/GradlePluginSampleTest.kt
ramsrib
123,963,134
false
null
package org.gradle.kotlin.dsl.samples import org.junit.Test import org.junit.Assert.assertTrue import java.io.File class GradlePluginSampleTest : AbstractSampleTest("gradle-plugin") { @Test fun `can use the plugin`() { build("consumer") assertTrue(File(projectRoot, "consumer/build/copy/bu...
1
null
1
1
38e8ff1ab75ec62ea604b57e8f4a8069c167fdc4
353
kotlin-dsl
Apache License 2.0
vertx-mongo-client/src/main/kotlin/io/vertx/kotlin/ext/mongo/MongoClientBulkWriteResult.kt
leolux
142,990,532
true
{"Kotlin": 1088656, "Java": 878672, "JavaScript": 76098, "Groovy": 22654, "Ruby": 14717, "FreeMarker": 254}
package io.vertx.kotlin.ext.mongo import io.vertx.ext.mongo.MongoClientBulkWriteResult /** * A function providing a DSL for building [io.vertx.ext.mongo.MongoClientBulkWriteResult] objects. * * Result propagated from mongodb driver bulk write result. * * * <p/> * NOTE: This function has been automatically gene...
0
Kotlin
0
0
cdb2d177eab0d92939f38c527a149cb3e8e76ee8
542
vertx-stack-generation
Apache License 2.0
integration-tests/resteasy-reactive-kotlin/standard/src/main/kotlin/io/quarkus/it/resteasy/reactive/kotlin/SharedResource.kt
nedvin
537,882,982
false
{"AsciiDoc": 251, "YAML": 396, "Markdown": 84, "Shell": 23, "Text": 58, "Maven POM": 1407, "Batchfile": 8, "Git Attributes": 1, "Ignore List": 20, "Java": 12907, "XML": 173, "INI": 595, "Java Properties": 269, "JSON": 74, "Groovy": 16, "HTML": 183, "Gradle": 258, "Gradle Kotlin DSL": 17, "Scala": 35, "Kotlin": 252, "Fl...
package io.quarkus.it.resteasy.reactive.kotlin import io.quarkus.it.shared.Shared import javax.ws.rs.Consumes import javax.ws.rs.POST import javax.ws.rs.Path import javax.ws.rs.Produces @Path("/shared") class SharedResource { @Consumes("application/json") @Produces("application/json") @POST fun retur...
1
null
1
1
8634c51dac1a7085547dae82fd94fe0a37ed37eb
353
quarkus
Apache License 2.0
LargeDynamicProject/featureA/baseA/src/main/java/com/devrel/experiment/large/dynamic/feature/a/Foo655.kt
skimarxall
212,285,318
false
null
package com.devrel.experiment.large.dynamic.feature.a annotation class Foo655Fancy @Foo655Fancy class Foo655 { fun foo0(){ Foo654().foo8() } fun foo1(){ foo0() } fun foo2(){ foo1() } fun foo3(){ foo2() } fun foo4(){ foo3() } fun foo5(){ foo4() } fun foo6(){ ...
1
null
1
1
e027d45a465c98c5ddbf33c68deb09a6e5975aab
392
app-bundle-samples
Apache License 2.0
bbfgradle/tmp/results/BACKUP_JVM-Xuse-ir/BACKEND_ettepui_FILE.kt
DaniilStepanov
346,008,310
false
null
// Bug happens on JVM -Xuse-ir //File: tmp/tmp0.kt import kotlin.test.* fun box() = assertFailsWith<IllegalArgumentException> { do { {} } while(false) }
1
null
1
1
e772ef1f8f951873ebe7d8f6d73cf19aead480fa
164
kotlinWithFuzzer
Apache License 2.0
wallet/src/main/java/com/android/identity/issuance/evidence/EvidenceType.kt
openwallet-foundation-labs
248,844,077
false
null
package com.android.identity.issuance.evidence /** * Evidence types. */ enum class EvidenceType { /** * Evidence type displaying a message to the user. * * See [EvidenceRequestMessage] and [EvidenceResponseMessage] for parameters and values. */ MESSAGE, /** * Evidence type for...
96
null
71
128
afab57f857a1d9e321e23b26dcb135d5f1b38614
1,187
identity-credential
Apache License 2.0
integration-tests/mongodb-panache-kotlin/src/main/kotlin/io/quarkus/it/mongodb/panache/reactive/person/resources/ReactivePersonEntityResource.kt
patrox
377,393,180
false
null
package io.quarkus.it.mongodb.panache.reactive.person.resources import com.mongodb.ReadPreference import io.quarkus.it.mongodb.panache.person.PersonName import io.quarkus.it.mongodb.panache.reactive.person.ReactivePersonEntity import io.quarkus.panache.common.Sort import io.smallrye.mutiny.Uni import jakarta.ws.rs.DEL...
20
null
0
3
4b7e8c29de35541bb6a7b668391f31083abd1415
3,110
quarkus
Apache License 2.0
libnavui-maps/src/main/java/com/mapbox/navigation/ui/maps/camera/transition/TransitionEndListener.kt
mapbox
87,455,763
false
null
package com.mapbox.navigation.ui.maps.camera.transition import androidx.annotation.UiThread import com.mapbox.navigation.ui.maps.camera.NavigationCamera /** * A listener that is notified when a [NavigationCamera] transition ends. */ fun interface TransitionEndListener { /** * Notifies the end of the trans...
505
null
319
621
ad73c6011348cb9b24b92a369024ca06f48845ab
465
mapbox-navigation-android
Apache License 2.0
base/src/main/java/com/pichs/xbase/timermanager/TimerManager.kt
pichsy
327,311,001
false
{"Kotlin": 291958}
package com.pichs.xbase.timermanager import android.os.Handler import android.os.Looper import android.os.Message import java.util.* /** * 默认 times = 0 就是 正计时器 * 当times > 0 有值时就 倒计时器 * 开始后第一个数会立即触发,根据情况进行 delay=1000L */ class TimerManager constructor( var delay: Long = 0L, var period: Long = 1000L, va...
1
Kotlin
1
1
b2643faddf5648921f005f91478d5f665f4612e4
5,127
xbase
Apache License 2.0
app/src/main/java/com/android/NBZxing/CusZxingView.kt
guangmingxiong9999
288,970,872
true
{"Java Properties": 2, "Gradle": 5, "Shell": 1, "Markdown": 2, "Batchfile": 1, "Text": 1, "Ignore List": 4, "INI": 2, "XML": 33, "Java": 281, "Kotlin": 7, "PureBasic": 1, "Proguard": 2, "JSON": 1}
package com.android.NBZxing import android.Manifest import android.app.Activity import android.content.Context import android.content.pm.ActivityInfo import android.content.pm.PackageManager import android.graphics.Color import android.os.Build import android.util.AttributeSet import android.view.LayoutInflater import...
0
null
0
0
347cd824ffd12c60e57906df1f6e60b93bcaadd0
3,509
NBZxing
MIT License
product/src/main/java/com/angelorobson/product/domain/model/ProductDomain.kt
angelorobsonmelo
375,440,182
false
{"Gradle": 6, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 6, "Batchfile": 1, "Markdown": 1, "INI": 3, "Proguard": 4, "Kotlin": 81, "XML": 38, "Java": 1}
package com.angelorobson.product.domain.model data class ProductDomain( val id: Long = 0, val name: String, val description: String, val price: Double, val barcode: String, var isActive: Boolean )
0
Kotlin
0
0
6fee58553b7bf1256fc082c89aa0901795b9e254
221
sales-control
MIT License
mvp/src/main/java/com/androidkotlincore/mvp/impl/AbstractMVPDelegate.kt
i-petro
119,085,966
false
null
package com.androidkotlincore.mvp.impl import android.arch.lifecycle.GenericLifecycleObserver import android.arch.lifecycle.Lifecycle import android.arch.lifecycle.LifecycleOwner import android.content.Context import android.content.Intent import android.os.Bundle import com.androidkotlincore.mvp.* import com.androidk...
1
null
1
5
3f98be9b7e93e806ea014daaf5ee640887adaa62
8,790
AndroidKotlinCore
MIT License
packages/SystemUI/src/com/android/systemui/user/legacyhelper/ui/LegacyUserUiHelper.kt
liu-wanshun
595,904,109
true
null
/* * Copyright (C) 2022 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
0
Java
1
2
e99201cd9b6a123b16c30cce427a2dc31bb2f501
4,932
platform_frameworks_base
Apache License 2.0
compiler/ir/backend.jvm/src/org/jetbrains/kotlin/backend/jvm/lower/InterfaceLowering.kt
tnorbye
162,147,688
false
null
/* * Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license * that can be found in the license/LICENSE.txt file. */ package org.jetbrains.kotlin.backend.jvm.lower import org.jetbrains.kotlin.backend.common.ClassLoweringPass import org.jetbrains.kotlin.backend.common.desc...
1
null
2
2
b6be6a4919cd7f37426d1e8780509a22fa49e1b1
4,513
kotlin
Apache License 2.0
mage/src/main/java/mil/nga/giat/mage/glide/loader/VideoFileLoader.kt
ngageoint
42,333,816
false
{"Kotlin": 1234658, "Java": 240732}
package mil.nga.giat.mage.glide.loader import android.graphics.Bitmap import android.media.ThumbnailUtils import android.provider.MediaStore import android.webkit.MimeTypeMap import com.bumptech.glide.Priority import com.bumptech.glide.load.DataSource import com.bumptech.glide.load.Options import com.bumptech.glide.l...
5
Kotlin
22
39
81f71093b498692d99d350c702ea35a583930c68
2,229
mage-android
Apache License 2.0
backend.native/tests/codegen/mpp/mpp_default_args.kt
JetBrains
58,957,623
false
null
/* * Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license * that can be found in the LICENSE file. */ package codegen.mpp.mpp_default_args import kotlin.test.* @Test fun runTest() { box() } fun box() { assertEquals(test1(), 42) assertEquals(test2(17), 34)...
0
null
625
7,100
9fb0a75ab17e9d8cddd2c3d1802a1cdd83774dfa
1,661
kotlin-native
Apache License 2.0
compiler/psi/src/org/jetbrains/kotlin/psi/KtTypeReference.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...
/* * Copyright 2010-2015 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...
181
Kotlin
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
4,788
kotlin
Apache License 2.0
plugins/jsonpath/src/com/intellij/jsonpath/ui/JsonPathEvaluateIntentionAction.kt
ingokegel
72,937,917
false
null
// Copyright 2000-2021 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.jsonpath.ui import com.intellij.codeInsight.intention.AbstractIntentionAction import com.intellij.codeInsight.intention.HighPriorityAction import com.intelli...
214
null
4829
2
b07eabd319ad5b591373d63c8f502761c2b2dfe8
1,687
intellij-community
Apache License 2.0
material/src/test/java/org/odk/collect/material/MaterialAlertDialogFragmentTest.kt
getodk
40,213,809
false
null
package org.odk.collect.material import android.app.Application import android.os.Bundle import android.widget.TextView import androidx.appcompat.app.AlertDialog import androidx.test.core.app.ApplicationProvider import androidx.test.ext.junit.runners.AndroidJUnit4 import org.hamcrest.MatcherAssert.assertThat import or...
283
null
66
717
63050fdd265c42f3c340f0ada5cdff3c52a883bc
2,628
collect
Apache License 2.0
app/src/main/java/org/stepic/droid/features/stories/model/FeedbackStoryPart.kt
StepicOrg
42,045,161
false
null
package org.stepic.droid.features.stories.model import android.os.Parcel import android.os.Parcelable import org.stepik.android.model.StoryTemplate import ru.nobird.android.stories.model.StoryPart class FeedbackStoryPart( duration: Long, image: String, val feedback: StoryTemplate.Feedback?, val butto...
13
null
54
189
dd12cb96811a6fc2a7addcd969381570e335aca7
1,364
stepik-android
Apache License 2.0
src/jsMain/kotlin/dev.fritz2.kitchensink/demos/dropdownDemo.kt
jwstegemann
317,500,321
false
null
package dev.fritz2.kitchensink.demos import dev.fritz2.binding.storeOf import dev.fritz2.components.* import dev.fritz2.dom.html.Div import dev.fritz2.dom.html.RenderContext import dev.fritz2.kitchensink.base.* import dev.fritz2.kitchensink.menu_ import dev.fritz2.styling.div import dev.fritz2.styling.p import dev.fri...
3
Kotlin
0
5
08e25b566009797365db4c1e5184e30c7344d0b2
9,077
fritz2-kitchensink
MIT License
kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/CfnEmailIdentity.kt
cloudshiftinc
667,063,030
false
{"Kotlin": 142794926}
@file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION") package io.cloudshiftdev.awscdk.services.ses import io.cloudshiftdev.awscdk.CfnResource import io.cloudshiftdev.awscdk.IInspectable import io....
1
Kotlin
0
4
ddf2bfd2275b50bb86a667c4298dd92f59d7e342
69,547
kotlin-cdk-wrapper
Apache License 2.0
app/src/main/java/com/alexvoz/cvirus/repository/base_cache/AppDatabase.kt
aleksandrsvoz
353,679,288
false
null
package com.alexvoz.cvirus.repository.base_cache import androidx.room.Database import androidx.room.RoomDatabase import androidx.room.TypeConverters import com.alexvoz.cvirus.data.country_data.cache.CountryDataCached import com.alexvoz.cvirus.data.covid_data.cache.CovidDataCached import com.alexvoz.cvirus.repository.c...
0
Kotlin
0
0
258726e03d9d416a8b5ad9034b0471d3a568823c
804
cvirus
Apache License 2.0
src/main/kotlin/jmdict/datatypes/ReadingElement.kt
Jackson-S
443,654,833
false
null
package jmdict.datatypes import jmdict.enums.ReadingInformationEnum /** * The reading element typically contains the valid readings * of the word(s) in the kanji element using modern kanadzukai. * Where there are multiple reading elements, they will typically be * alternative readings of the kanji element. In the...
0
Kotlin
0
0
3ce7765887d55a2701c2dbdcdd3fe82f97093fdc
3,622
JapaneseDictionaryRewrite
MIT License
mobile_app1/module72/src/main/java/module72packageKt0/Foo144.kt
uber-common
294,831,672
false
null
package module692packageKt0; annotation class Foo144Fancy @Foo144Fancy class Foo144 { fun foo0(){ module692packageKt0.Foo143().foo4() } fun foo1(){ foo0() } fun foo2(){ foo1() } fun foo3(){ foo2() } fun foo4(){ foo3() } }
6
Java
6
72
9cc83148c1ca37d0f2b2fcb08c71ac04b3749e5e
267
android-build-eval
Apache License 2.0
codeforces/round783/b_wrong.kt
mikhail-dvorkin
93,438,157
false
{"Java": 2219540, "Kotlin": 615766, "Haskell": 393104, "Python": 103162, "Shell": 4295, "Batchfile": 408}
package codeforces.round783 import kotlin.math.sign fun solve(a: List<Int>): Int { val pref = mutableListOf(0L) val prefIndex = mutableListOf(0) val prefIndexRight = mutableListOf(0) var prefSum = 0L val dp = IntArray(a.size + 1) for (i in a.indices) { prefSum -= a[i] dp[i + 1] = dp[i] + a[i].sign if (pre...
0
Java
1
9
bf2846347011309aace0c4a04ac5355296dfbd90
1,754
competitions
The Unlicense
app/src/main/java/com/cameronvwilliams/raise/ui/offline/di/OfflineFragmentProvider.kt
RaiseSoftware
119,627,507
false
null
package com.cameronvwilliams.raise.ui.offline.di import com.cameronvwilliams.raise.ui.offline.view.OfflineGameFragment import com.cameronvwilliams.raise.ui.offline.view.OfflineSettingsFragment import dagger.Module import dagger.android.ContributesAndroidInjector @Module abstract class OfflineFragmentProvider { @C...
1
null
1
4
3cd0786dba77645efa5508a662478e5893037919
607
Raise-Android
MIT License
app/src/main/java/com/hankkin/reading/ui/gank/GankListFragment.kt
Hankkin
143,494,873
false
null
package com.hankkin.reading.ui.gank import android.support.v4.widget.SwipeRefreshLayout import android.support.v7.widget.LinearLayoutManager import com.hankkin.library.widget.view.PageLayout import com.hankkin.reading.R import com.hankkin.reading.adapter.GankAdapter import com.hankkin.reading.adapter.base.XRecyclerVie...
4
null
47
407
6d61ded0e9e15b473007ae5577c9520b17b454b1
2,532
Reading
Apache License 2.0
libraries/log/desktop/src/test/kotlin/com/log/vastgui/desktop/SimpleTest.kt
SakurajimaMaii
353,212,367
false
null
/* * Copyright 2021-2024 VastGui * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
8
null
6
64
75f69cb6996e93a2b2b48e7b8e609616bcd5e1f9
1,092
Android-Vast-Extension
Apache License 2.0
src/main/kotlin/io/suryawirawan/henry/beam/names/model/Person.kt
henryken
133,957,180
false
null
package io.suryawirawan.henry.beam.names.model import java.io.Serializable data class Person( val firstName: String, val lastName: String, val companyName: String, val address: String, val city: String, val county: String, val state: String, val zip: Str...
0
Kotlin
0
1
827f2a8fc93e6dea5a725f93a3fcc9ee8eac48f8
449
beam-names-sample
Apache License 2.0
exercises/src/test/kotlin/de/iteratec/kotlin/playground/T09ObjectsTasks.kt
iteratec
190,216,048
false
null
package de.iteratec.kotlin.playground import org.hamcrest.MatcherAssert.assertThat import org.hamcrest.core.IsEqual.equalTo import org.junit.Test class ObjectsTasks { /** * ## Objects * Imagine our business logic needs some custom logic where we want to sort floats by absolute value. * As we need ...
0
Kotlin
1
2
459d9b4fecbf5c92e292b36a188750482b0047da
1,253
kotlin-training-playground
Apache License 2.0
dsl/src/main/kotlin/io/cloudshiftdev/awscdkdsl/services/medialive/CfnChannelAudioOnlyHlsSettingsPropertyDsl.kt
cloudshiftinc
667,063,030
false
null
@file:Suppress( "RedundantVisibilityModifier", "RedundantUnitReturnType", "RemoveRedundantQualifierName", "unused", "UnusedImport", "ClassName", "REDUNDANT_PROJECTION", "DEPRECATION" ) package cloudshift.awscdk.dsl.services.medialive import cloudshift.awscdk.common.CdkDslMarker import ...
4
null
0
3
c59c6292cf08f0fc3280d61e7f8cff813a608a62
4,340
awscdk-dsl-kotlin
Apache License 2.0
core/src/commonMain/kotlin/org/hertsig/ticker/WindowTicker.kt
jorn86
663,109,146
false
{"Kotlin": 92295, "Java": 135}
package org.hertsig.ticker import kotlinx.coroutines.flow.MutableStateFlow import org.hertsig.util.set import kotlin.time.Duration import kotlin.time.Duration.Companion.seconds import kotlin.time.ExperimentalTime class WindowTicker<T: Comparable<T>>( private val ticker: Ticker<T>, private val windowAdder: (T)...
0
Kotlin
0
0
566aa2a56dd5ae3681a5e9cd4cc68d6587d224ce
879
kotlin-library
MIT License
app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/PanoramaVideoActivity.kt
ManishGodhani
196,373,081
false
null
package com.eagle.gallery.pro.activities import android.content.res.Configuration import android.graphics.Color import android.net.Uri import android.os.Bundle import android.os.Handler import android.view.View import android.view.Window import android.view.WindowManager import android.widget.RelativeLayout import and...
0
null
3
1
e0a4be9c47012d71bc42b53a60ca37a10d12c4e1
10,522
Simple-Gallery
Apache License 2.0
app/src/main/java/vinova/henry/com/hotfilm/pager/PageItem.kt
henryduong26
120,248,676
false
{"Kotlin": 175185, "Java": 1151}
package vinova.henry.com.hotfilm.pager import android.support.v7.widget.RecyclerView import android.view.View import android.widget.ImageView import android.widget.TextView import com.bumptech.glide.Glide import vinova.henry.com.hotfilm.R import vinova.henry.com.hotfilm.models.Movie sealed class PageItem (view: View)...
0
Kotlin
0
0
97db98daa63c275b69cbb4b8e9887af6f9d16ada
1,612
HotFilm
Apache License 2.0
android/testData/projects/unitTesting/lib/src/main/java/com/example/lib/LibKotlinClass.kt
JetBrains
60,701,247
false
{"Kotlin": 53054415, "Java": 43443054, "Starlark": 1332164, "HTML": 1218044, "C++": 507658, "Python": 191041, "C": 71660, "Lex": 70302, "NSIS": 58238, "AIDL": 35382, "Shell": 29838, "CMake": 27103, "JavaScript": 18437, "Smali": 7580, "Batchfile": 7357, "RenderScript": 4411, "Clean": 3522, "Makefile": 2495, "IDL": 19}
package com.example.lib class LibKotlinClass { val name get() = javaClass.simpleName }
5
Kotlin
227
948
10110983c7e784122d94c7467e9d243aba943bf4
91
android
Apache License 2.0
hmf-extensions/hmf-extensions-cli/src/main/kotlin/com/hartwig/hmftools/extensions/cli/options/flags/FlagOption.kt
jiaan-yu
171,220,496
true
{"Maven POM": 28, "XML": 34, "Text": 20, "Ignore List": 1, "Git Attributes": 1, "Markdown": 12, "Java": 954, "Shell": 1, "SQL": 24, "Kotlin": 229, "R": 3, "JSON": 1}
package com.hartwig.hmftools.extensions.cli.options.flags import com.hartwig.hmftools.extensions.cli.options.HmfOption import com.hartwig.hmftools.extensions.cli.options.validators.OptionValidator import org.apache.commons.cli.Option data class FlagOption(override val name: String, override val description: String) :...
0
Java
0
0
f619e02cdb166594e7dd4d7d1dd7fe8592267f2d
478
hmftools
MIT License
app/src/main/java/com/educatorapp/utils/extensions/ContextExtensions.kt
manishpatelgt
265,855,771
false
null
package com.educatorapp.utils.extensions import android.app.AlarmManager import android.app.KeyguardManager import android.app.NotificationManager import android.app.admin.DevicePolicyManager import android.content.ClipboardManager import android.content.Context import android.content.Context.* import android.content....
0
Kotlin
1
5
daab7558a301c82dbd363c857f0cb36d9f3ebf40
1,102
EducatorApp
The Unlicense
app/src/main/java/com/concordium/wallet/ui/account/accountdetails/AccountDetailsPagerAdapter.kt
Concordium
358,250,608
false
null
package com.concordium.wallet.ui.account.accountdetails import android.content.Context import android.os.Bundle import androidx.fragment.app.Fragment import androidx.fragment.app.FragmentManager import androidx.fragment.app.FragmentPagerAdapter import com.concordium.wallet.R import com.concordium.wallet.data.model.Tra...
77
Kotlin
2
6
cf482234db350007bdfef2540e16b07bfa174d03
2,573
concordium-reference-wallet-android
Apache License 2.0
picture_library/src/main/java/com/luck/picture/lib/instagram/filter/IFSutroFilter.kt
MoustafaShahin
365,029,122
false
null
package com.luck.picture.lib.instagram.filter import android.content.* import com.luck.picture.lib.R /** * Created by sam on 14-8-9. */ class IFSutroFilter(paramContext: Context) : IFImageFilter(paramContext, SHADER) { private fun setRes() { addInputTexture(R.drawable.vignette_map) addInputTextu...
0
Kotlin
0
0
6cc5ff6a5c86c491a852304c58ce979ed42d6225
3,130
InsGallery
Apache License 2.0
lib-screensharing/src/main/java/io/agora/rtc/ss/HeadsUpNotificationActionReceiver.kt
livestorehub
371,293,114
false
null
package io.agora.rtc.ss import android.app.NotificationManager import android.content.BroadcastReceiver import android.content.Context import android.content.Intent import android.util.Log import io.agora.rtc.MyApplication.Companion.apiInterface import io.agora.rtc.RtcEngine import io.agora.rtc.screenshare.Constants i...
1
null
1
1
2579615334b4dd4a7231fdd67f934724db02dfec
3,179
screenshare
Apache License 2.0
src/test/kotlin/com/chesstasks/controllers/play/training/PlayTrainingControllerTest.kt
kacperfaber
653,225,602
false
{"Kotlin": 329865, "HTML": 77916, "FreeMarker": 7303, "CSS": 5682, "JavaScript": 319}
package com.chesstasks.controllers.play.training import com.chesstasks.data.dao.UserPreferences import com.chesstasks.data.dao.UserPuzzleHistoryVisibility import com.chesstasks.data.dao.UserStatisticsVisibility import com.chesstasks.data.dto.* import io.ktor.client.request.* import io.ktor.test.dispatcher.* import org...
0
Kotlin
0
0
f856b1f396328ecfe2fda3ea7cbc7b39e838a992
22,306
chesstasks-server
MIT License
app/src/main/java/com/example/room/database/dao/UserDao.kt
barkotenicholas
478,088,064
false
null
package com.example.room.database.dao import androidx.lifecycle.LiveData import androidx.room.* import com.example.room.database.models.User @Dao interface UserDao { @Insert(onConflict = OnConflictStrategy.IGNORE) suspend fun addUser(user:User) @Query("SELECT * FROM user_table ORDER BY id ASC") fun ...
0
Kotlin
0
0
c445d04e993b7378593d1ffeefe9e60957403d39
523
KotlinRoom
MIT License
core/src/test/kotlin/io/lsdconsulting/lsd/distributed/interceptor/captor/common/ObfuscatorShould.kt
lsd-consulting
295,190,246
false
{"Gradle": 42, "Shell": 2, "Text": 6, "Ignore List": 1, "Batchfile": 1, "Git Attributes": 1, "YAML": 6, "Markdown": 1, "Kotlin": 146, "INI": 7, "JSON": 25, "Java": 1, "XML": 7, "Java Properties": 1}
package io.lsdconsulting.lsd.distributed.interceptor.captor.common import org.apache.commons.lang3.RandomStringUtils.randomAlphanumeric import org.hamcrest.MatcherAssert.assertThat import org.hamcrest.Matchers.hasEntry import org.junit.jupiter.api.Test internal class ObfuscatorShould { private val underTest = Ob...
7
Kotlin
1
1
c46181b60197b1c7ea4399157e3394c93c472d60
1,681
lsd-distributed-interceptors
Apache License 2.0
Server/Workshop/src/main/kotlin/org/elkoserver/server/workshop/StartupWorkerList.kt
jstuyts
213,739,601
false
null
package org.elkoserver.server.workshop import org.elkoserver.foundation.json.JsonMethod import org.elkoserver.objectdatabase.ObjectDatabase import org.elkoserver.util.trace.slf4j.Gorgel import java.util.function.Consumer /** * Object stored in the object database that holds a list of worker objects * that should be...
5
null
1
1
d18864aaa29914c50edcb9ccfbd074a45d3d0498
2,012
Elko
MIT License
app/src/main/kotlin/com/mitch/my_unibo/ui/custom/buttons/CloseButton.kt
seve-andre
511,074,187
false
{"Kotlin": 320965}
package com.mitch.my_unibo.ui.custom.buttons import androidx.compose.material.Icon import androidx.compose.material.IconButton import androidx.compose.material.icons.Icons import androidx.compose.material.icons.filled.Close import androidx.compose.runtime.Composable import androidx.compose.ui.Modifier @Composable fun...
0
Kotlin
0
2
d10efb2a1676ecbf78643f88726b586a3d8c989d
603
myUniBo
Apache License 2.0
graphics/integration-tests/testapp-compose/src/main/java/androidx/graphics/shapes/testcompose/Compose.kt
androidx
256,589,781
false
{"Kotlin": 95087142, "Java": 67258795, "C++": 9121515, "AIDL": 629410, "Python": 308602, "Shell": 190506, "TypeScript": 40586, "HTML": 26377, "Svelte": 20307, "ANTLR": 19860, "C": 16935, "CMake": 14401, "Groovy": 13532, "GLSL": 3842, "Swift": 3153, "JavaScript": 3019}
/* * Copyright 2023 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
22
Kotlin
894
4,892
77eef9fc0b04108be46927625e8af7f6747e97b4
3,716
androidx
Apache License 2.0
app/src/main/java/com/ilab/serialporthelper/serialport/Serial1Service.kt
zhushenwudi
365,156,647
false
null
package com.ilab.serialporthelper.serialport import android.content.Intent import android.os.Binder import android.os.IBinder import android.util.Log import androidx.lifecycle.Lifecycle import androidx.lifecycle.LifecycleObserver import androidx.lifecycle.LifecycleService import androidx.lifecycle.OnLifecycleEvent imp...
0
Kotlin
2
9
e492e7563745d698ebb7d455ff40a02dccae7358
5,653
SerialPortHelperKt
MIT License
vector/src/androidTest/java/im/vector/app/ui/robot/space/SpaceRobot.kt
p1gp1g
346,087,061
true
{"Kotlin": 13015163, "Java": 155433, "Shell": 30568, "HTML": 28096, "Python": 20068, "FreeMarker": 7662, "JavaScript": 6503, "Ruby": 1587}
/* * Copyright (c) 2022 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...
61
Kotlin
1
1
2b5920e451f423067413973db1b130a6ebeb4449
2,444
element-android
Apache License 2.0
src/commonMain/kotlin/com/zhangke/activitypub/exception/ActivityPubException.kt
0xZhangKe
594,285,909
false
{"Kotlin": 186330}
package com.zhangke.activitypub.exception import com.zhangke.activitypub.entities.ActivityPubErrorEntry import io.ktor.client.call.body import io.ktor.client.statement.HttpResponse import io.ktor.http.isSuccess /** * Created by ZhangKe on 2022/12/3. */ @Suppress("MemberVisibilityCanBePrivate") sealed class Activit...
0
Kotlin
0
3
2719aa357158289f38717057affe37a1d298b499
1,816
ActivityPub-Kotlin
Apache License 2.0
typescript-kotlin/src/main/kotlin/typescript/EmitResult.kt
turansky
393,199,102
false
null
// Automatically generated - do not modify! package typescript external interface EmitResult { /* emitSkipped: boolean; /** Contains declaration emit diagnostics */ diagnostics: readonly Diagnostic[]; emittedFiles?: string[]; */ }
0
Kotlin
1
10
bcf03704c0e7670fd14ec4ab01dff8d7cca46bf0
257
react-types-kotlin
Apache License 2.0
app/src/main/java/com/aboback/wanandroidjetpack/util/WanExecutors.kt
jhbxyz
233,553,341
false
{"Kotlin": 231460}
package com.aboback.wanandroidjetpack.util import android.os.Handler import android.os.Looper import java.util.concurrent.Executor import java.util.concurrent.Executors /** * Created by jhb on 2020-01-14. */ object WanExecutors { val mDiskIO = Executors.newSingleThreadExecutor() val mNetworkIO = Executors....
0
Kotlin
28
144
5d6b158c463596ac811adfda094ec5ab28f585c9
627
WanAndroidJetpack
Apache License 2.0
app/src/main/java/com/example/iseeyou/Navigation_drawer_student/StudentNavigation.kt
kolp143
617,771,524
false
null
package com.example.iseeyou.Navigation_drawer_student import android.os.Bundle import android.view.Menu import androidx.appcompat.app.AppCompatActivity import androidx.drawerlayout.widget.DrawerLayout import androidx.navigation.findNavController import androidx.navigation.ui.AppBarConfiguration import androidx.navigat...
0
Kotlin
0
0
4424b92d7474a0b6d7244def1b9540d9938bc57b
2,561
Project_ISeeYou
MIT License
src/test/kotlin/lt/petuska/transaction/api/routing/users/user/GetUserRouteFeature.kt
mpetuska
199,023,865
false
null
package lt.petuska.transaction.api.routing.users import com.zaxxer.hikari.* import io.ktor.http.* import io.ktor.server.testing.* import io.ktor.util.* import io.mockk.* import lt.petuska.transaction.api.config.* import lt.petuska.transaction.api.domain.error.* import lt.petuska.transaction.api.model.* import lt.petus...
1
Kotlin
2
3
3d33b61cf6a061d8486893135a8ee983f1bdfa71
2,562
transaction-api
Apache License 2.0
centurion-hive/src/test/kotlin/com/sksamuel/centurion/ParquetFormatTest.kt
sksamuel
13,625,531
false
{"Kotlin": 212253, "Java": 19565, "Shell": 1586}
package com.sksamuel.centurion import com.sksamuel.centurion.formats.ParquetFormat import io.kotlintest.specs.FunSpec import io.kotlintest.shouldBe class ParquetFormatTest : FunSpec() { init { test("should set correct serde information") { ParquetFormat.serde().inputFormat shouldBe "org.apache.hadoop.hiv...
0
Kotlin
46
325
72c8ac0290215e94ca02c2b23b2428f815576889
606
kotlin-big-data
Apache License 2.0
android-sdk/src/main/java/webtrekk/android/sdk/core/AppStateImpl.kt
mapp-digital
166,987,236
false
null
/* * MIT License * * Copyright (c) 2019 Webtrekk GmbH * * 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...
1
null
2
13
3db6592b11d7c0985acf4857676b637c26e450ee
4,144
mapp-intelligence-android-sdk-v5
MIT License
app/src/main/java/se/gustavkarlsson/skylight/android/MainActivity.kt
wowselim
288,922,417
true
{"Kotlin": 316543}
package se.gustavkarlsson.skylight.android import android.os.Bundle import androidx.appcompat.app.AppCompatActivity import se.gustavkarlsson.skylight.android.lib.navigation.Backstack import se.gustavkarlsson.skylight.android.lib.navigation.BackstackListener import se.gustavkarlsson.skylight.android.lib.navigation.Navi...
0
null
0
0
4da1731aca92d4e6d4b0e8128ca504fc0b3820b9
2,553
skylight-android
MIT License
backend/services/post-ktor-mongo-fdm/src/main/kotlin/me/jason5lee/post_ktor_mongo_fdm/user_register/impl.kt
Jason5Lee
581,490,266
false
null
package me.jason5lee.post_ktor_mongo_fdm.user_register import com.mongodb.MongoWriteException import kotlinx.coroutines.reactive.awaitSingle import me.jason5lee.post_ktor_mongo_fdm.common.Password import me.jason5lee.post_ktor_mongo_fdm.common.UserId import me.jason5lee.post_ktor_mongo_fdm.common.UserName import me.ja...
0
null
0
1
06330a1af6eaddb08f49fcaeb6bb89d4377fb355
1,147
post-project
Apache License 2.0
app/src/main/java/com/joshuacerdenia/android/nicefeed/data/model/FeedWithEntries.kt
kitlith
297,803,241
true
{"Kotlin": 207296}
package com.joshuacerdenia.android.nicefeed.data.model import androidx.room.Embedded import androidx.room.Junction import androidx.room.Relation data class FeedWithEntries( @Embedded val feed: Feed, @Relation( parentColumn = "url", entityColumn = "url", associateBy = Junction( ...
0
null
0
0
8a81efe5886b27efbce15b817d2eab9704543550
480
NiceFeed
MIT License
app/src/dev/java/com/thiosin/cryptoinfo/data/network/coinlib/models/CoinLibCoinApiResponse.kt
khongi
246,070,401
false
{"Gradle": 4, "Java Properties": 4, "YAML": 3, "Shell": 2, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "JSON": 1, "Proguard": 1, "Kotlin": 71, "XML": 23, "Java": 1}
/** * CoinInfo * Coin Info application API * * OpenAPI spec version: 1.0.0 * Contact: <EMAIL> * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit the class manually. */ package com.thiosin.cryptoinfo.data.network.coin...
1
null
1
1
48fbe0c0743e4d94be744e02064547fa6e66054d
812
crypto-info
MIT License
temporary-queue-pattern/temporary-queue-consumer/src/main/kotlin/br/com/poc/event/TransactionRequest.kt
luramarchanjo
448,598,975
false
{"Kotlin": 24228, "Shell": 283}
package br.com.poc.event import java.time.LocalDateTime import java.util.* data class TransactionRequest( val amount: Double, val processAt: LocalDateTime, val metadata: Metadata = Metadata() ) data class Metadata(val correlationId: UUID = UUID.randomUUID())
0
Kotlin
0
0
c605665a91c439eff3df3c5ac640d14bc3ed50be
273
poc-request-reply-pattern
Apache License 2.0
sql/src/main/java/dev/entao/app/sql/CursorEx.kt
yangentao
529,910,907
false
null
@file:Suppress("unused") package dev.entao.app.sql import android.database.Cursor interface CursorToModel { fun fromCursor(cursor: Cursor) } fun <R : Any> Cursor.firstRow(block: (Cursor) -> R): R? { return this.use { if (it.moveToNext()) { block(it) } else null } } fun <T : ...
0
Kotlin
0
0
04863c3fd88f5ace0fab50385d3fb6193fade17f
1,216
AppSQL
MIT License
usvm-jvm/src/test/kotlin/org/usvm/samples/psbenchmarks/TestCollatz.kt
UnitTestBot
586,907,774
false
{"Kotlin": 2623226, "Java": 476836}
package org.usvm.samples.psbenchmarks import org.usvm.PathSelectionStrategy import org.usvm.PathSelectorCombinationStrategy import org.usvm.SolverType import org.usvm.UMachineOptions import org.usvm.samples.JavaMethodTestRunner import org.usvm.test.util.checkers.ignoreNumberOfAnalysisResults import org.usvm.util.Optio...
36
Kotlin
6
9
6bafd5c9f8301c179f74f3e8f0e8c9e911aaa5e1
1,154
usvm
Apache License 2.0
app/src/main/java/com/quicknew/camerapreview/MainActivity.kt
JackiePenghe
576,201,854
false
null
package com.quicknew.camerapreview import android.os.Bundle import android.util.Log import androidx.appcompat.app.AppCompatActivity import com.quicknew.camerapreview.databinding.ActivityMainBinding import com.quicknew.camerapreview.interfaces.FrameListener class MainActivity : AppCompatActivity() { private val f...
0
Kotlin
0
0
7b88ddd273418e8abeef6f3f147201d14f925fdc
2,364
camera-preview
Apache License 2.0
app/src/main/java/com/quicknew/camerapreview/MainActivity.kt
JackiePenghe
576,201,854
false
null
package com.quicknew.camerapreview import android.os.Bundle import android.util.Log import androidx.appcompat.app.AppCompatActivity import com.quicknew.camerapreview.databinding.ActivityMainBinding import com.quicknew.camerapreview.interfaces.FrameListener class MainActivity : AppCompatActivity() { private val f...
0
Kotlin
0
0
7b88ddd273418e8abeef6f3f147201d14f925fdc
2,364
camera-preview
Apache License 2.0
shared/src/commonMain/kotlin/com/joeracosta/bookingbot/Venue.kt
JayyyR
604,273,431
false
null
package com.joeracosta.bookingbot data class Venue( val id: String, val desiredDiningType: String, val hourOfDayBookingsReleased: Int )
0
Kotlin
0
0
71558c785396d96be9ea867a1d979e9292513b3d
148
BookingBot
MIT License
kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/origins/S3StaticWebsiteOriginProps.kt
cloudshiftinc
667,063,030
false
{"Kotlin": 142794926}
@file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION") package io.cloudshiftdev.awscdk.services.cloudfront.origins import io.cloudshiftdev.awscdk.Duration import io.cloudshiftdev.awscdk.common.CdkD...
1
Kotlin
0
4
7a060aa8b6779ab04dc9881993d9598e11d278b1
17,710
kotlin-cdk-wrapper
Apache License 2.0
src/ru/mangaclub/src/eu/kanade/tachiyomi/extension/ru/mangaclub/MangaClub.kt
komikku-app
720,497,299
false
null
package eu.kanade.tachiyomi.extension.ru.mangaclub import eu.kanade.tachiyomi.network.GET import eu.kanade.tachiyomi.network.POST import eu.kanade.tachiyomi.source.model.Filter import eu.kanade.tachiyomi.source.model.FilterList import eu.kanade.tachiyomi.source.model.Page import eu.kanade.tachiyomi.source.model.SChapt...
9
null
99
97
7fc1d11ee314376fe0daa87755a7590a03bc11c0
9,810
komikku-extensions
Apache License 2.0
src/main/kotlin/dev/chara/tasks/backend/web/Logging.kt
19lmyers
624,219,343
false
null
package dev.chara.tasks.backend.web import dev.chara.tasks.backend.ApplicationError import io.ktor.server.application.* import io.ktor.server.plugins.* import io.ktor.server.request.* import io.ktor.util.pipeline.* import org.slf4j.Logger import org.slf4j.LoggerFactory private val logger: Logger = LoggerFactory.getLo...
0
Kotlin
0
1
6d5c800b9d0011f52d67271d3a6b7991d5698e65
841
tasks-backend
MIT License
server/nlw-impulse-return/src/main/kotlin/server/impulse/com/nextlevelweek/services/sendmail/SendMail.kt
Henrique-Santos-da-Silva
533,898,807
false
null
package server.impulse.com.nextlevelweek.services.sendmail import server.impulse.com.nextlevelweek.models.FeedbackModel interface SendMail { suspend fun sendMail(feedbackModel: FeedbackModel) }
0
Kotlin
0
1
ceef8fd5803e8a88f75c7898cd435a6822562cc7
199
nlw-return-impulse-kotlin
MIT License
src/main/kotlin/io/aethibo/features/users/presentation/UsersServiceImpl.kt
primepixel
726,740,875
false
{"Kotlin": 66411}
package io.aethibo.features.users.presentation import io.aethibo.core.exceptions.BadRequestResponse import io.aethibo.core.exceptions.NotAcceptableResponse import io.aethibo.core.exceptions.NotFoundResponse import io.aethibo.core.exceptions.UnauthorizedResponse import io.aethibo.core.security.Cipher import io.aethibo....
0
Kotlin
0
0
0d6a5d26de40aec4ef72f908b0e29a38dfbf3627
3,446
Atlas
Apache License 2.0
src/main/kotlin/gli_/Texture2d.kt
kotlin-graphics
86,992,411
false
null
package gli_ import glm_.glm import glm_.vec2.Vec2i import glm_.vec3.Vec3i /** * Created by GBarbieri on 03.04.2017. */ /** 2d texture */ class Texture2d : Texture { /** Create an empty texture 2D. */ constructor() : super() /** Create a texture2d and allocate a new storage_linear. */ construc...
0
null
6
31
98574369f6a752ef474f7c9533db8bd363c3cb8f
2,852
gli
MIT License
core/src/main/kotlin/in/specmatic/mock/NoMatchingScenario.kt
sahilaug
356,295,092
true
{"Kotlin": 1164936, "Gherkin": 2582, "Python": 2135, "Shell": 647}
package `in`.specmatic.mock class NoMatchingScenario(message: String = "No matching scenario was found.") : Exception(message)
0
Kotlin
0
1
a9a7082d290e84a823668959e18904961df04d72
127
specmatic
MIT License
app/src/main/java/com/swago/seenthemlive/api/spotify/Playlist.kt
ajswago
213,768,383
false
{"Kotlin": 139099}
package com.swago.seenthemlive.api.spotify import kotlinx.coroutines.Deferred import retrofit2.Response import retrofit2.http.Body import retrofit2.http.GET import retrofit2.http.POST import retrofit2.http.Path import retrofit2.http.Query interface Playlist { @GET("search") fun searchSong( @Query("q"...
0
Kotlin
0
0
f68eab83c45f709e25a62f7d9e6dc6c366f26ed9
1,338
seen-them-live
MIT License
app/src/main/java/com/kamaltatyana/redgallery/app/GalleryApp.kt
TatyanaBazhanova
132,364,766
false
{"Gradle": 4, "Java Properties": 2, "Shell": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "Java": 2, "XML": 30, "Kotlin": 39}
package com.kamaltatyana.redgallery.app import android.app.Activity import android.app.Application import com.kamaltatyana.redgallery.di.AppInjector import dagger.android.AndroidInjector import dagger.android.DispatchingAndroidInjector import dagger.android.HasActivityInjector import javax.inject.Inject class Gallery...
0
Kotlin
0
0
da68677527fd797b73ce4c479da1a7b260510900
618
GalleryApp
Apache License 2.0
src/main/kotlin/com/github/pushpavel/autocp/database/models/Problem.kt
Pushpavel
372,015,012
false
{"Kotlin": 167445, "HTML": 56159}
package com.github.pushpavel.autocp.database.models import kotlinx.serialization.Serializable @Serializable data class Problem( val name: String, val groupName: String, val url: String, val sampleTestcases: List<Testcase>, val memoryLimit: Long, val timeLimit: Long, )
22
Kotlin
13
41
6324b29ecb1576b8bb8691586659f0f57415676b
294
AutoCp
MIT License
generators/app/templates/baseandroidkotlin/app/src/main/kotlin/com/pratamawijaya/basekotlin/presentation/home/MainView.kt
pratamawijaya
105,730,553
false
{"JSON": 3, "Text": 1, "Ignore List": 2, "Git Attributes": 1, "EditorConfig": 1, "YAML": 2, "Markdown": 2, "JavaScript": 4, "Gradle": 4, "Java Properties": 2, "INI": 2, "Shell": 1, "Batchfile": 1, "Proguard": 1, "Java": 2, "Kotlin": 32, "XML": 18}
package <%= appPackage %>.presentation.home import <%= appPackage %>.entity.Hero import <%= appPackage %>.presentation.base.BaseView /** * Created by pratama on 8/7/17. */ interface MainView : BaseView { fun displayHeroes(heroes: List<Hero>) }
0
Kotlin
0
1
7f04684276dfd752f6c98f8fc8b6aa9429ce78f8
251
generator-base-android-kotlin
MIT License
Common/src/main/java/ram/talia/hexal/common/casting/actions/spells/wisp/OpWispHex.kt
Talia-12
519,549,575
false
{"Kotlin": 481043, "Java": 189021, "Python": 937}
package ram.talia.hexal.common.casting.actions.spells.wisp import at.petrak.hexcasting.api.spell.* import at.petrak.hexcasting.api.spell.casting.CastingContext import at.petrak.hexcasting.api.spell.iota.Iota import at.petrak.hexcasting.api.spell.mishaps.MishapInvalidIota import net.minecraft.server.level.ServerPlayer ...
26
Kotlin
12
12
e6f741c8b9c16142e17bccdd1fb68740af611185
1,187
Hexal
MIT License
using-embedded-kotlin/reflekt-dsl/src/main/kotlin/org/jetbrains/reflekt/Reflekt.kt
JetBrains-Research
293,503,377
false
null
package org.jetbrains.reflekt import org.jetbrains.reflekt.util.stringRepresentation import kotlin.reflect.KClass import kotlin.reflect.typeOf /** * The main Reflekt DSL for `multi-module` projects */ @Suppress("KDOC_WITHOUT_RETURN_TAG") object Reflekt { /** * The main function for searching objects. The ...
12
null
9
325
6ad9ebf8a4591c6fd729deea56063406b8c72612
11,226
reflekt
Apache License 2.0
idea/tests/testData/inspectionsLocal/delegationToVarProperty/varParameter.kt
JetBrains
278,369,660
false
null
// FIX: Change to val interface A { fun foo() } class B : A { override fun foo() {} } class C(<caret>var b: B) : A by b
0
null
30
82
cc81d7505bc3e9ad503d706998ae8026c067e838
127
intellij-kotlin
Apache License 2.0
app/src/main/java/io/github/emusute1212/makasetechoice/ui/members/adding_member/AddingMemberViewModel.kt
emusute1212
264,396,740
false
{"Kotlin": 91513}
package io.github.emusute1212.makasetechoice.ui.members.adding_member import com.airbnb.mvrx.MavericksViewModel import com.airbnb.mvrx.MavericksViewModelFactory import com.airbnb.mvrx.hilt.AssistedViewModelFactory import com.airbnb.mvrx.hilt.MavericksViewModelComponent import com.airbnb.mvrx.hilt.ViewModelKey import c...
4
Kotlin
0
0
50d38cb8188d05a322ed5ee444ed1e6575a2160f
1,985
MakaseteChoiceForAndroid
MIT License
app/src/main/java/com/muhammadwahyudin/identitasku/biometric/BiometricManagerV23.kt
hyuwah
170,234,024
false
{"Kotlin": 143177}
@file:SuppressLint("RestrictedApi") package com.muhammadwahyudin.identitasku.biometric import android.annotation.SuppressLint import android.annotation.TargetApi import android.content.Context import android.os.Build import android.security.keystore.KeyGenParameterSpec import android.security.keystore.KeyPermanentlyIn...
1
Kotlin
1
1
f862b4315676dd6d4de70016c59f49b4d78bcf32
6,813
IdentitasKu
MIT License
sykepenger-model/src/main/kotlin/no/nav/helse/serde/api/speil/builders/UtbetalingBuilder.kt
navikt
193,907,367
false
null
package no.nav.helse.serde.api.speil.builders import java.time.LocalDate import java.time.LocalDateTime import java.util.UUID import no.nav.helse.hendelser.Medlemskapsvurdering import no.nav.helse.hendelser.Periode import no.nav.helse.hendelser.SimuleringResultat import no.nav.helse.person.Opptjening import no.nav.hel...
1
Kotlin
5
5
a1d4ace847a123e6bf09754ea0640116caf6ceb7
16,844
helse-spleis
MIT License
spesialist-selve/src/test/kotlin/no/nav/helse/mediator/oppgave/OppgaveMapperTest.kt
navikt
244,907,980
false
{"Kotlin": 2703188, "PLpgSQL": 29508, "HTML": 1741, "Dockerfile": 195}
package no.nav.helse.mediator.oppgave import java.time.LocalDate import java.time.LocalDateTime import java.util.UUID import no.nav.helse.db.EgenskapForDatabase import no.nav.helse.db.EgenskapForDatabase.DELVIS_REFUSJON import no.nav.helse.db.EgenskapForDatabase.EN_ARBEIDSGIVER import no.nav.helse.db.EgenskapForDataba...
8
Kotlin
1
0
d0a19bd44246076ac5ce9fc5416052f4c10a7e96
13,066
helse-spesialist
MIT License
videoplayerapp/src/main/java/com/example/android/videoplayersample/VideoActivity.kt
bounBa
230,687,600
false
null
/* * Copyright 2018 Google LLC. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
0
Kotlin
0
0
91124bb0e684e62d841b74df5a0701af759bbdd1
14,852
AdPlayer
Apache License 2.0
feature/base/src/main/kotlin/net/twisterrob/android/view/color/SwatchChooser.kt
TWiStErRob
136,540,073
false
null
package net.twisterrob.android.view.color import android.annotation.TargetApi import android.graphics.Bitmap import android.graphics.Canvas import android.graphics.ColorFilter import android.graphics.PixelFormat import android.graphics.Rect import android.graphics.drawable.Drawable import android.os.Build import andro...
17
Kotlin
0
4
8484c351173153b5c5d1980f7ae5674097e60908
4,626
net.twisterrob.colorfilters
The Unlicense
buildSrc/src/main/java/Constants.kt
DrewCarlson
330,776,588
false
null
const val KOTLIN_VERSION = "1.6.10" const val DOKKA_VERSION = "1.6.0" const val KTOR_VERSION = "2.0.0-beta-1" const val SERIALIZATION_VERSION = "1.3.2"
0
Kotlin
0
1
e11d8d0f2994c7854c61477afa12493108a6e93c
152
ktor-permissions
MIT License
app/src/main/java/cn/xiayiye5/bluetoothdemo/adapter/MyAdapter.kt
xiayiye5
329,549,718
false
{"Java": 37312, "Kotlin": 17912}
package cn.xiayiye5.bluetoothdemo.adapter import android.annotation.SuppressLint import android.app.Activity import android.view.View import android.view.ViewGroup import android.widget.BaseAdapter import android.widget.TextView /** * @author : xiayiye5 * @date : 2021/1/14 14:14 * 类描述 : */ class MyAdapter(private...
1
null
1
1
ab4143315b73b7d5497308e169d06d279674e05f
1,345
BlueToothDemo
Apache License 2.0
tools/ueditor/src/main/kotlin/com/baidu/ueditor/define/ActionState.kt
top-bettercode
387,652,015
false
{"Kotlin": 2860676, "Java": 23654, "JavaScript": 22541, "CSS": 22336, "HTML": 15833}
package com.baidu.ueditor.define enum class ActionState { UNKNOW_ERROR }
0
Kotlin
0
1
da096b3c592335e25869d9ff2cdb91c2551c794c
78
summer
Apache License 2.0
app/src/main/java/com/flxrs/dankchat/chat/ChatAdapter.kt
ELY3M
209,954,351
true
{"Kotlin": 181513}
package com.flxrs.dankchat.chat import android.annotation.SuppressLint import android.content.ActivityNotFoundException import android.net.Uri import android.text.Spannable import android.text.SpannableStringBuilder import android.text.TextPaint import android.text.method.LinkMovementMethod import android.text.style.C...
0
Kotlin
0
0
49515ad9451019b0fa15c190e5f53e53b4500df7
13,618
DankChat---modded-by-ELY-M
MIT License
web-client/src/main/java/no/nav/familie/webflux/builder/WebClientConfig.kt
navikt
202,538,908
false
null
package no.nav.familie.webflux.builder import no.nav.familie.webflux.filter.ConsumerIdFilter import no.nav.familie.webflux.filter.MdcValuesPropagatingFilter import org.apache.hc.client5.http.config.RequestConfig import org.apache.hc.client5.http.impl.async.CloseableHttpAsyncClient import org.apache.hc.client5.http.imp...
21
Kotlin
2
3
adb42f8ad0f8260d26027d0d3bad9ebfef2c96ea
5,885
familie-felles
MIT License
app/src/main/java/com/example/project_flow_android/data/chat/ChatListResponse.kt
DSM-JAVA-PROJECT
392,317,851
false
null
package com.example.project_flow_android.data.chat data class ChatListResponse(val chatListResponse: ArrayList<ChatContentResponse>) { data class ChatContentResponse( val id: String, val type: String, val message: String, val createdAt: String, val planTitle: String, ...
0
Kotlin
0
12
c7b7dea550ffb7025cb1ffd8abc65e8f701ab0e1
481
Project-Flow_Android
MIT License
client/src/commonMain/kotlin/minigame/app/systems/MovementSystem.kt
Bruce0203
695,095,465
false
{"Kotlin": 44165, "Shell": 1210, "Dockerfile": 444}
package app.systems import app.components.RigidBody import app.components.Sprite import com.github.quillraven.fleks.EachFrame import com.github.quillraven.fleks.Entity import com.github.quillraven.fleks.FamilyDefinition import com.github.quillraven.fleks.IteratingSystem import com.github.quillraven.fleks.World.Compani...
0
Kotlin
0
1
e1cb7f71509cfd629b1ab7d23fa3431060c2e977
3,661
minigameKt
MIT License
apps/etterlatte-behandling/src/main/kotlin/common/DatabaseContext.kt
navikt
417,041,535
false
null
package no.nav.etterlatte.common import no.nav.etterlatte.DatabaseKontekst import org.slf4j.Logger import org.slf4j.LoggerFactory import java.sql.Connection import java.util.concurrent.atomic.AtomicBoolean import javax.sql.DataSource class DatabaseContext(private val ds: DataSource) : DatabaseKontekst { companion...
8
null
0
6
abd4600c70b4188d7d6272ea2d650421ffdfcfb6
1,551
pensjon-etterlatte-saksbehandling
MIT License
line-awesome/src/commonMain/kotlin/compose/icons/lineawesomeicons/HandPointDownSolid.kt
DevSrSouza
311,134,756
false
{"Kotlin": 36719092}
package compose.icons.lineawesomeicons 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 ...
17
Kotlin
25
571
a660e5f3033e3222e3553f5a6e888b7054aed8cd
3,131
compose-icons
MIT License
jtransc-utils/test/collectionutilstest.kt
jtransc
51,313,992
false
null
/* * Copyright 2016 Carlos Ballesteros Velasco * * 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...
59
Java
66
619
6f9a2166f128c2ce5fb66f9af46fdbdbcbbe4ba4
1,547
jtransc
Apache License 2.0
app/src/main/java/com/example/sunnyweather/logic/model/RealtimeResponse.kt
Bellxu
464,869,462
false
null
package com.example.sunnyweather.logic.model import com.google.gson.annotations.SerializedName data class RealtimeResponse( @SerializedName("api_status") val apiStatus: String, @SerializedName("api_version") val apiVersion: String, @SerializedName("lang") val lang: String, @SerializedName...
0
Kotlin
0
1
bb79b61da5c8620ab517530778a2bb115bb8bf1b
4,329
SunnyWeather
Apache License 2.0