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
data/src/main/java/dv/lux/data/model/vo/BaseVO.kt
Mail-Bird
703,962,715
false
{"Kotlin": 51074}
package dv.lux.data.model.vo import dv.lux.domain.model.BaseModel abstract class BaseVO<out BM : BaseModel> { abstract fun toModel(): BM? }
0
Kotlin
0
0
81c914b413d8daa8f7d0fd9741abb01f51977289
146
mail-bird-android
Apache License 2.0
ospf-kotlin-framework-plugin/ospf-kotlin-framework-plugin-persistence-sqlite/src/main/fuookami/ospf/kotlin/framework/persistence/Sqlite.kt
fuookami
359,831,793
false
{"Kotlin": 2440181, "Python": 6629}
package fuookami.ospf.kotlin.framework.persistence import kotlinx.serialization.* import org.ktorm.database.* import org.ktorm.support.sqlite.* import org.apache.commons.dbcp2.* import org.apache.logging.log4j.kotlin.* data class SqliteClientKey( val name: String ) data class SqliteConfigBuilder( var url: St...
0
Kotlin
0
4
b34cda509b31884e6a15d77f00a6134d001868de
3,115
ospf-kotlin
Apache License 2.0
app/src/main/java/com/example/mymaps2/MapsAdapter.kt
nicolelee1012
423,359,136
false
{"Kotlin": 19451}
package com.example.mymaps2 import android.content.Context import android.os.Handler import android.util.Log import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.TextView import androidx.recyclerview.widget.RecyclerView import com.example.mymaps2.models.UserMa...
0
Kotlin
0
0
b7d546821dd9c847852a9d45c3016d6f0227559e
1,670
MyMaps
Apache License 2.0
src/test/kotlin/com/booleworks/boolerules/export/excel/ExcelExportTest.kt
booleworks
721,827,334
false
{"Kotlin": 394178, "Shell": 1110, "Dockerfile": 342}
package com.booleworks.boolerules.export.excel import com.booleworks.boolerules.computations.backbone.BackboneComputation import com.booleworks.boolerules.computations.backbone.BackboneRequest import com.booleworks.boolerules.computations.backbone.BackboneType import com.booleworks.boolerules.computations.consistency....
0
Kotlin
0
1
5c7d858a5358adfa0ce3c274bb74eb6b181f5949
9,157
boolerules
MIT License
app/src/main/java/com/example/doomnews/MainActivity.kt
JavRuiz16
716,707,847
false
{"Kotlin": 19162}
package com.example.doomnews import android.os.Bundle import androidx.activity.ComponentActivity import androidx.activity.compose.setContent import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.material3.MaterialTheme import androidx.compose.material3.Surface import androidx.compose.material3....
0
Kotlin
0
0
33c2faeb5a8d007e125abcc5b269276274cc66b3
1,123
Doom_News
Apache License 2.0
sample/src/main/java/com/glassdoor/sample/MyPreferences.kt
Glassdoor
139,523,300
false
{"Kotlin": 22023}
/* * Copyright (c) 2018 Glassdoor, 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...
3
Kotlin
2
4
7c4fca455f04e051bb42edc1dbdabedba10e244d
1,310
PreferenceX
Apache License 2.0
app/src/main/java/com/github/diabetesassistant/auth/data/UserDTO.kt
diabetes-assistant
372,014,025
false
{"Kotlin": 73858}
package com.github.diabetesassistant.auth.data data class UserDTO(val id: String, val email: String, val role: String) : DTO
0
Kotlin
0
0
e90614ea9d0e406892bb26ef464fc16d98c20ce7
126
android-app
MIT License
data/src/main/java/com/elpablo/data/local/model/UserRoom.kt
FunnyRider34Rus
611,846,879
false
null
package com.elpablo.data.local.model import androidx.room.ColumnInfo import androidx.room.Entity import androidx.room.PrimaryKey import com.elpablo.domain.model.User @Entity(tableName = "user") data class UserRoom( @PrimaryKey val firstName: String, @ColumnInfo val lastName: String, @ColumnInfo val passwo...
0
Kotlin
0
0
df7ea9886736cfc99d8367e4b208b119aa94fb55
704
PradanaMarketPlace
Apache License 2.0
src/controller/java/generated/java/chip/devicecontroller/cluster/eventstructs/DoorLockClusterLockUserChangeEvent.kt
project-chip
244,694,174
false
null
/* * * Copyright (c) 2023 Project CHIP Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requir...
1,120
C++
1588
6,261
693b30264d3a91c663218ff04d2a83846ca247c5
4,405
connectedhomeip
Apache License 2.0
examples/android-centralised/app/src/main/java/com/example/pingcodelab/App.kt
AwalaNetwork
339,223,220
false
{"JavaScript": 133315, "SCSS": 25823, "HTML": 23013, "Shell": 1057}
package com.example.pingcodelab import android.app.Application import androidx.core.content.edit import com.squareup.moshi.Moshi import com.squareup.moshi.kotlin.reflect.KotlinJsonAdapterFactory import com.fredporciuncula.flow.preferences.FlowSharedPreferences import kotlinx.coroutines.* import kotlinx.coroutines.chan...
3
JavaScript
0
2
60953df1ff45152fde37acfbee343ccbf07b65cd
2,812
codelabs
MIT License
app/src/main/java/com/rabobank/csvreader/base/CoroutinesContextProvider.kt
babu-kaliyamoorthy
223,904,429
false
null
package com.rabobank.csvreader.base import kotlinx.coroutines.Dispatchers import kotlin.coroutines.CoroutineContext /** * Created by Babu Kaliyamoorthy on 23/11/19. */ open class CoroutinesContextProvider { open val Main: CoroutineContext by lazy { Dispatchers.Main } open val IO: CoroutineContext by lazy {...
0
Kotlin
0
0
0d47508cbbcc792c71c61b153530ab00fe1e509c
339
CSV-Reader
Apache License 2.0
src/main/kotlin/org/oleg/iem/MyToolWindow.kt
olegmozhei
855,277,390
false
{"Kotlin": 8761}
package org.oleg.iem import javax.swing.* object MyToolWindow { private val myPanel = JPanel() private val chatArea = JTextArea(20, 50) init { println("Creating tool window content...") myPanel.layout = BoxLayout(myPanel, BoxLayout.Y_AXIS) chatArea.isEditable = false val s...
0
Kotlin
0
0
53a087b64c0d13851af8db1a127eeae893e73734
984
idea-ex-machina
Apache License 2.0
llama-stack-client-kotlin-core/src/main/kotlin/com/llama_stack_client/api/errors/UnauthorizedException.kt
meta-llama
854,913,926
false
{"Kotlin": 2020773, "Shell": 2562}
package com.llama_stack_client.api.errors import com.google.common.collect.ListMultimap class UnauthorizedException( headers: ListMultimap<String, String>, body: String, error: LlamaStackClientError, ) : LlamaStackClientServiceException(401, headers, body, error)
0
Kotlin
2
0
ee76c5aec1d582dbbd2759d084ba16b8b74f04ea
278
llama-stack-client-kotlin
Apache License 2.0
app/src/main/java/com/doctoror/particleswallpaper/framework/view/DisplayFrameRateProvider.kt
Doctoror
93,632,093
false
{"Gradle Kotlin DSL": 3, "Ignore List": 2, "Text": 1, "Markdown": 1, "TOML": 1, "Java Properties": 1, "Proguard": 3, "Kotlin": 230, "INI": 1, "XML": 34, "Java": 1}
package com.doctoror.particleswallpaper.framework.view import android.content.Context class DisplayFrameRateProvider { /** * Provides frame rate of this display. * * Returns 60 if Display is not available */ fun provide(context: Context): Int = try { context.display?.refreshRate?....
6
Kotlin
5
20
20245b87747fd2995e0468c033e4338d88f7aa10
472
ParticleConstellationsLiveWallpaper
Apache License 2.0
app/src/main/java/com/bsp/basekotlin/ui/base/BaseViewModel.kt
songuyen1816
398,463,895
false
null
package com.bsp.basekotlin.ui.base import android.app.Application import androidx.lifecycle.AndroidViewModel import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import com.bsp.basekotlin.utils.Event abstract class BaseViewModel(application: Application): AndroidViewModel(application) { p...
0
Kotlin
0
0
c2ae99356e1e0153a09bbe585e2989027c51377e
953
android-base-kotlin
MIT License
fashion-tryon-compose/src/main/kotlin/com/aiuta/fashionsdk/tryon/compose/domain/internal/language/InternalAiutaTryOnLanguageHelpers.kt
aiuta-com
759,918,511
false
{"Kotlin": 603225, "Shell": 1462}
package com.aiuta.fashionsdk.tryon.compose.domain.internal.language import androidx.compose.runtime.Composable import androidx.compose.runtime.remember import androidx.compose.ui.text.intl.Locale import com.aiuta.fashionsdk.tryon.compose.domain.internal.language.translations.EnglishAiutaTryOnLanguage import com.aiuta....
6
Kotlin
0
2
a9070f55adf8cb560b7649973bb59b4c7fbf88b4
1,728
android-sdk
Apache License 2.0
app/src/main/java/com/project/photoedit/ColorFilterGenerator.kt
sonic-onkaringale
512,624,247
false
{"Kotlin": 27128}
package com.project.photoedit import android.graphics.ColorFilter import android.graphics.ColorMatrix import android.graphics.ColorMatrixColorFilter object ColorFilterGenerator { private val DELTA_INDEX = doubleArrayOf( 0.0, 0.01, 0.02, 0.04, 0.05, 0.06, 0.07, 0.08, 0.1, 0.11, 0.12, 0.14, 0.15, 0...
0
Kotlin
0
0
a4f1dd016de1fe4f76517c1c692c99f394baeba6
5,770
Photo-Editing
MIT License
forge/src/main/kotlin/com/github/kittinunf/forge/core/Operators.kt
kittinunf
43,631,014
false
null
package com.github.kittinunf.forge.core import com.github.kittinunf.forge.deserializer.deserializeAs import com.github.kittinunf.result.Result.Failure import com.github.kittinunf.result.Result.Success import com.github.kittinunf.result.flatMap import com.github.kittinunf.result.lift import com.github.kittinunf.result....
1
null
8
119
f6441dad29a9b974c402561b65652c04d2e75052
1,920
Forge
MIT License
src/integrationTest/kotlin/messaging/RabbitGatewayIntegration.kt
s61-austria
123,896,740
false
null
package messaging import com.kontofahren.integrationslosung.Exchange import com.kontofahren.integrationslosung.Queue import com.kontofahren.integrationslosung.RabbitGateway import com.kontofahren.integrationslosung.Routing import org.junit.Test class RabbitGatewayIntegration { val rabbitGateway by lazy { RabbitGa...
1
null
1
1
baf4e0543739265d6b8315a67bd39cedc76e6823
691
kontofahren
MIT License
DSLs/zookeeper/dsl/src/main/kotlin-gen/com/fkorotkov/kubernetes/zookeeper/requests.kt
woxiehaode
275,597,681
true
{"Kotlin": 511354, "Java": 231356}
// GENERATED package com.fkorotkov.kubernetes.zookeeper import com.fkorotkov.kubernetes.zookeeper.Requests as zookeeper_Requests import com.fkorotkov.kubernetes.zookeeper.Resources as zookeeper_Resources fun zookeeper_Resources.`requests`(block: zookeeper_Requests.() -> Unit = {}) { if(this.`requests` == null) { ...
0
null
0
0
5caafecc9948817feadb977069091e111012b45a
397
k8s-kotlin-dsl
MIT License
buy-oyc-commons/src/main/kotlin/org/jesperancinha/concert/buy/oyc/commons/dto/TicketDto.kt
jesperancinha
65,844,678
false
{"Kotlin": 119759, "Batchfile": 39648, "Shell": 9865, "TypeScript": 8618, "Makefile": 6882, "Python": 1737, "HTML": 1721, "Dockerfile": 1545, "CSS": 930, "JavaScript": 99}
package org.jesperancinha.concert.buy.oyc.commons.dto import org.jesperancinha.concert.buy.oyc.commons.domain.AuditLogType import org.jesperancinha.concert.buy.oyc.commons.domain.BuyOycType import org.jesperancinha.concert.buy.oyc.commons.domain.TicketReservation import java.io.Serializable import java.time.LocalDate ...
0
Kotlin
1
4
ce9877fcb3882f311eaa1abc6a82c8380da884e1
1,286
buy-odd-yucca-concert
Apache License 2.0
app/src/main/java/net/mm2d/orientation/util/BundleExtensions.kt
ohmae
30,814,736
false
{"Kotlin": 285967}
/* * Copyright (c) 2022 大前良介 (OH<NAME>) * * This software is released under the MIT License. * http://opensource.org/licenses/MIT */ package net.mm2d.orientation.util import android.os.Build import android.os.Bundle import java.io.Serializable inline fun <reified T : Serializable> Bundle.getSerializableSafely(k...
3
Kotlin
21
70
b8384573e09be1c07abf31beb6ad19a62e974536
534
orientation-faker
MIT License
tabler/src/commonMain/kotlin/com/woowla/compose/icon/collections/tabler/tabler/outline/PaperBagOff.kt
walter-juan
868,046,028
false
null
package com.woowla.compose.icon.collections.tabler.tabler.outline 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.vector.ImageVector import androidx.compose.ui.graphics.vector...
0
null
0
3
eca6c73337093fbbfbb88546a88d4546482cfffc
4,098
compose-icon-collections
MIT License
dd-sdk-android-core/src/test/kotlin/com/datadog/android/core/sampling/RateBasedSamplerTest.kt
DataDog
219,536,756
false
null
/* * Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0. * This product includes software developed at Datadog (https://www.datadoghq.com/). * Copyright 2016-Present Datadog, Inc. */ package com.datadog.android.core.sampling import com.datadog.android...
44
null
60
151
d7e640cf6440ab150c2bbfbac261e09b27e258f4
5,367
dd-sdk-android
Apache License 2.0
spring-organization-svc/src/main/kotlin/com/google/shinyay/repository/OrganizationRepository.kt
shinyay
261,201,073
false
null
package com.google.shinyay.repository import com.google.shinyay.model.Organization import org.springframework.data.repository.CrudRepository interface OrganizationRepository : CrudRepository<Organization, String>
0
Kotlin
0
0
982ac5a6994c6dd088c5480efce0d2590c77cff1
214
spring-cloud-k8s-sample-app
MIT License
LabAttendenceSystem/app/src/main/java/sg/edu/ntu/scse/labattendancesystem/domain/models/NetworkDatabaseConvertors.kt
Kenton1989
568,103,183
false
{"Kotlin": 148469}
package sg.edu.ntu.scse.labattendancesystem.domain.models import sg.edu.ntu.scse.labattendancesystem.network.models.* import sg.edu.ntu.scse.labattendancesystem.database.models.* import java.time.Duration fun UserResp.toDatabaseModel() = DbUser( id = id!!, username = username!!, displayName = displayName!...
0
Kotlin
0
0
bf39a0b05259a55c5620e37b8e2ea5ee84ae6d24
2,672
lab-attendance-system-android
MIT License
app/src/main/java/com/adityakamble49/ttl/ui/activity/RegisterActivity.kt
AkshayChordiya
84,938,122
false
null
package com.adityakamble49.ttl.ui.activity import android.app.Activity import android.content.Intent import android.os.AsyncTask import android.os.Bundle import android.support.v7.app.AppCompatActivity import android.view.View.GONE import android.view.View.VISIBLE import android.widget.Toast import com.adityakamble49....
0
Kotlin
7
23
11b12150dd366750f7c4093e4899cb08f64c86a7
3,671
gofun-android
MIT License
kotlin-browser/src/main/generated/dom/ScrollIntoViewOptions.kt
stefanthaler
440,580,782
true
{"Kotlin": 8815376, "JavaScript": 528}
// Automatically generated - do not modify! package dom typealias ScrollIntoViewOptions = org.w3c.dom.ScrollIntoViewOptions
0
Kotlin
0
0
fc27a2b5d98423c8db24f8a28d1c3a95dc682b0a
126
kotlin-wrappers
Apache License 2.0
app/src/main/java/com/withgoogle/experiments/unplugged/ui/HomeViewModel.kt
specialprojects-experiments
200,379,468
false
null
package com.withgoogle.experiments.unplugged.ui import android.app.Application import androidx.lifecycle.AndroidViewModel import androidx.lifecycle.LiveData import com.withgoogle.experiments.unplugged.data.persistence.AppDatabase import com.withgoogle.experiments.unplugged.data.integrations.contacts.ContactsDataSource...
10
Kotlin
22
188
5e9aba7d67711962f8139011ecde0139fa11ea64
743
paperphone
Apache License 2.0
classfile/src/main/kotlin/org/tinygears/bat/classfile/editor/LocalVariableSizeComputer.kt
TinyGearsOrg
562,774,371
false
{"Kotlin": 1879358, "Smali": 712514, "ANTLR": 26362, "Shell": 12090}
/* * Copyright (c) 2020-2022 <NAME>. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
0
Kotlin
0
0
50083893ad93820f9cf221598692e81dda05d150
1,278
bat
Apache License 2.0
rounded/src/commonMain/kotlin/me/localx/icons/rounded/bold/PhoneCall.kt
localhostov
808,861,591
false
{"Kotlin": 79430321, "HTML": 331, "CSS": 102}
package me.localx.icons.rounded.bold 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 im...
1
Kotlin
0
5
cbd8b510fca0e5e40e95498834f23ec73cc8f245
3,958
icons
MIT License
src/main/kotlin/com/valhallagame/valhalla/bankserviceserver/config/RabbitMQConfig.kt
saiaku-gaming
157,013,928
false
null
package com.valhallagame.valhalla.bankserviceserver.config import com.valhallagame.common.rabbitmq.RabbitMQRouting import org.springframework.amqp.core.Binding import org.springframework.amqp.core.BindingBuilder import org.springframework.amqp.core.DirectExchange import org.springframework.amqp.core.Queue import org.s...
0
Kotlin
0
0
e0eb78792a4693c253b673fa2536d36cee569d2e
1,335
bank-service-server
MIT License
example/android/app/src/main/kotlin/hk/gogovan/flutter_label_printer_example/MainActivity.kt
gogovan
570,574,812
false
null
package hk.gogovan.flutter_label_printer_example import io.flutter.embedding.android.FlutterActivity class MainActivity: FlutterActivity() { }
1
Kotlin
0
0
9798a92a5d539c18b0e115214c928656def60aec
145
flutter-label-printer
MIT License
app/src/main/java/com/sama/integration/google/calendar/application/Commands.kt
sama-app
363,692,054
false
null
package com.sama.integration.google.calendar.application import com.sama.integration.google.auth.domain.GoogleAccountPublicId import com.sama.integration.google.calendar.domain.GoogleCalendarEventId import com.sama.integration.google.calendar.domain.GoogleCalendarId import java.time.ZonedDateTime data class InsertGoo...
0
Kotlin
1
2
a73319e26a22bf09aeb6bcc1cc2feaf3723ba0b9
1,139
sama-service
Apache License 2.0
src/main/kotlin/net/casual/championships/commands/Command.kt
CasualChampionships
334,382,250
false
{"Kotlin": 65115, "Java": 2123}
package net.casual.championships.commands import com.mojang.brigadier.CommandDispatcher import net.minecraft.commands.CommandBuildContext import net.minecraft.commands.CommandSourceStack interface Command { fun register(dispatcher: CommandDispatcher<CommandSourceStack>) { } fun register(dispatcher: Comm...
0
Kotlin
1
3
751999243e73ce1e91c8210f4fadee0fe6b959d0
428
CasualChampionships
MIT License
src/main/kotlin/edu/stanford/cfuller/imageanalysistools/metric/ZeroMetric.kt
cjfuller
4,823,440
false
{"Kotlin": 964294, "Ruby": 12471}
package edu.stanford.cfuller.imageanalysistools.metric import edu.stanford.cfuller.imageanalysistools.image.Histogram import edu.stanford.cfuller.imageanalysistools.image.Image import edu.stanford.cfuller.imageanalysistools.image.ImageSet /** * @author cfuller */ class ZeroMetric : Metric { /* (non-Javadoc) *...
14
Kotlin
0
3
610f6dbea06120afc23444c3b2a5826aca56700c
860
imageanalysistools
Apache License 2.0
app/src/main/java/com/samuelepontremoli/bankingapp/ui/main/MainActivity.kt
sampontremoli
207,146,527
false
null
package com.samuelepontremoli.bankingapp.ui.main import android.os.Bundle import androidx.appcompat.app.AppCompatActivity import com.samuelepontremoli.bankingapp.R class MainActivity : AppCompatActivity() { companion object { val TAG = MainActivity::class.java.simpleName } override fun onCreate(...
0
Kotlin
0
0
e330112ae4041aa48969e2c5fa640ce55e2f4d58
449
banking-app
MIT License
common/src/main/java/com/android/sample/common/base/BasePageKeyedDataSource.kt
alirezaeiii
347,954,072
false
null
package com.android.sample.common.base import android.content.Context import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import androidx.paging.PageKeyedDataSource import com.android.sample.common.R import com.android.sample.common.extension.isNetworkAvailable import com.android.sample.common...
0
null
2
4
8896884a4395786938456d90c8cf351e0a924651
2,346
StarWarsSearch-RxPaging
The Unlicense
form-normal/src/main/java/vip/qsos/form/normal/hodler/AbsFormHolder.kt
hslooooooool
234,873,835
false
null
package vip.qsos.form.normal.hodler import android.text.TextUtils import android.view.View import android.widget.Toast import kotlinx.android.synthetic.main.form_normal_title.view.* import vip.qsos.form.lib.base.BaseFormHolder import vip.qsos.form.lib.model.FormItemEntity /**表单列表项基础布局 * @author : 华清松 */ abstract cl...
0
Kotlin
0
2
a789423e2fe1fed0211f696fa5c710f951befd50
1,044
qsos-form
Apache License 2.0
app/src/main/java/com/wss/seekbar/MainActivity.kt
song234876
203,341,522
false
{"Gradle": 4, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "Proguard": 2, "Kotlin": 5, "XML": 21, "Java": 2}
package com.wss.seekbar import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.util.Log import com.wss.library.ScaleSeekBar import kotlinx.android.synthetic.main.activity_main.* class MainActivity : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { ...
0
Kotlin
0
6
5b135f78506b141689cc2bd655370cbe89e1dffe
785
ScaleSeekBar
Apache License 2.0
compiler/testData/diagnostics/tests/smartCasts/implicitToGrandSon.kt
shanfei
47,173,520
true
{"Markdown": 32, "Kotlin": 21794, "Java": 4537, "Shell": 7, "Batchfile": 10, "Java Properties": 14, "HTML": 157, "INI": 17, "CSS": 2, "JavaScript": 63, "Proguard": 1}
open class A { open fun foo() = "FAIL" fun bar() = if (this is C) <!DEBUG_INFO_IMPLICIT_RECEIVER_SMARTCAST!>foo<!>() else "FAIL" } open class B : A() open class C : B() { override fun foo() = "OK" }
0
Java
0
0
b0dab4c67aec02afc1ce6c7949c7b728998ad7ab
214
kotlin
Apache License 2.0
serialization/src/main/kotlin/com/ing/zkflow/serialization/serializer/FixedLengthSetSerializer.kt
ing-bank
550,239,957
false
{"Kotlin": 1610321, "Shell": 1609}
package com.ing.zkflow.serialization.serializer import com.ing.zkflow.serialization.FixedLengthKSerializerWithDefault import com.ing.zkflow.serialization.FixedLengthType import kotlinx.serialization.encoding.Decoder import kotlinx.serialization.encoding.Encoder open class FixedLengthSetSerializer<T : Any>( maxSiz...
0
Kotlin
4
9
f6e2524af124c1bdb2480f03bf907f6a44fa3c6c
982
zkflow
MIT License
app/src/main/java/com/leonards/tmdb/app/home/tvshow/TvShowIntent.kt
Leonards03
370,141,672
false
null
package com.leonards.tmdb.app.home.tvshow sealed class TvShowIntent { object FetchTvShows: TvShowIntent() object SearchTvShows: TvShowIntent() }
0
Kotlin
0
0
b7663c774cbf81d411d1faf32796cee6bee03399
154
TheMovieDB-Dummy
Apache License 2.0
connectors/file/src/main/kotlin/com/river/connector/file/FileExt.kt
River-Kt
539,201,163
false
null
package com.river.connector.file import com.river.core.asByteArray import com.river.core.launchCollect import com.river.core.poll import kotlinx.coroutines.* import kotlinx.coroutines.channels.Channel import kotlinx.coroutines.flow.* import java.io.InputStream import java.io.OutputStream import java.io.PipedInputStrea...
30
Kotlin
3
54
8cb93b7e6761c642c19e4c2b6fe06d11581f0dbd
3,862
river
MIT License
feature/passcode/src/main/java/org/expenny/feature/passcode/view/PasscodeToolbar.kt
expenny-application
712,607,222
false
{"Kotlin": 1159082}
package org.expenny.feature.passcode.view import androidx.compose.material3.ExperimentalMaterial3Api import androidx.compose.runtime.Composable import androidx.compose.ui.Modifier import androidx.compose.ui.res.painterResource import androidx.compose.ui.res.stringResource import org.expenny.core.resources.R import org...
0
Kotlin
3
42
0eb0f1fa9a4376c3ad2222d16ec704754f7f0786
1,053
expenny-android
Apache License 2.0
framework/src/main/kotlin/dev/alpas/http/RequestableCall.kt
alpas
222,342,832
false
null
package dev.alpas.http import com.fasterxml.jackson.core.JsonParseException import com.fasterxml.jackson.databind.exc.MismatchedInputException import dev.alpas.JsonSerializer import dev.alpas.cookie.CookieJar import dev.alpas.ifNotBlank import dev.alpas.session.Session import org.eclipse.jetty.server.Request import ja...
8
null
7
180
1006b1e6aa2a97f2e122162b7d90444515b43cc5
6,125
alpas
MIT License
src/main/kotlin/top/maplex/rayskilljob/data/PlayerSkillData.kt
RaySkillSystem
672,158,470
false
null
package top.maplex.rayskilljob.data import com.alibaba.fastjson2.JSONObject import taboolib.expansion.Id import taboolib.expansion.Key import top.maplex.rayskilljob.database.RaySkillJobTable import java.util.* data class PlayerSkillData( @Id val name: String, @Key val uuid: UUID, var levelMap: JSO...
0
Kotlin
0
1
05101264820b13851c8e4bd0a286c3448371429f
446
RaySkillJob
Creative Commons Zero v1.0 Universal
samples/mobile-android-showcase/app/src/main/java/com/pdftron/showcase/activities/SplitViewFragment.kt
yesunch
201,868,040
false
{"Java": 6857172, "C++": 1404234, "C": 260573, "Objective-C": 6159, "HTML": 4282, "IDL": 642}
package com.pdftron.showcase.activities import android.os.Bundle import android.support.v4.app.Fragment import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import com.pdftron.showcase.R // Declares PasswordProtectedDocumentFragment as a subclass of Fragment class SplitViewFragmen...
0
Java
0
0
110af493387b866e765e877c8cacae72bafc4cf8
675
PDFNetNew
Apache License 2.0
app/src/main/java/eu/kanade/presentation/components/Badges.kt
scb261
381,944,147
true
{"Kotlin": 4047397}
package eu.kanade.presentation.components import androidx.compose.foundation.background import androidx.compose.foundation.layout.Row import androidx.compose.foundation.layout.RowScope import androidx.compose.foundation.layout.padding import androidx.compose.foundation.shape.RoundedCornerShape import androidx.compose....
0
Kotlin
0
7
5a3a2084cbfff68c4187ea55ad6b8fd7be2796b7
1,466
TachiyomiSY
Apache License 2.0
client/android/app/src/main/kotlin/com/hedlx/client/MainActivity.kt
hedlx
403,745,402
false
{"Dart": 13055, "CMake": 7238, "C++": 4051, "HTML": 3843, "Ruby": 2684, "Swift": 1267, "C": 691, "Kotlin": 126, "Objective-C": 38}
package com.hedlx.conavigator import io.flutter.embedding.android.FlutterActivity class MainActivity: FlutterActivity() { }
0
Dart
0
0
3fc9648c5ea83f1446d6dbf495f0b3cb43b7afee
126
conavigator
MIT License
sample/src/test/kotlin/com/milkyhead/app/androidtriesearchsample/domain/usecase/LoadPersonsUseCaseTest.kt
zarini
415,253,080
false
{"Kotlin": 8121}
package com.milkyhead.app.androidtriesearchsample.domain.usecase import com.milkyhead.app.androidtriesearchsample.domain.repository.PersonLoaderRepository import kotlinx.coroutines.runBlocking import org.junit.Before import org.junit.Test import org.mockito.Mockito import org.mockito.kotlin.times import org.mockito.k...
0
Kotlin
0
1
9d3b85d1a988ac782c426c1891663bbea7d6cba1
890
android-trie-search-sample
Apache License 2.0
app/src/main/java/com/niyaj/popos/features/expenses/presentation/ExpensesViewModel.kt
skniyajali
579,613,644
false
null
package com.niyaj.popos.features.expenses.presentation import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.niyaj.popos.features.common.util.Resource import com.niyaj.popos.features.common.util.UiEvent import com.niyaj.popos.features.expenses.domain.repository.ExpensesRepository impo...
4
Kotlin
0
1
6e00bd5451336314b99f6ae1f1f43eea0f2079ad
6,402
POS-Application
MIT License
app-thunderbird/src/debug/kotlin/net/thunderbird/android/dev/DemoBackendFactory.kt
thunderbird
1,326,671
false
null
package net.thunderbird.android.dev import app.k9mail.backend.demo.DemoBackend import app.k9mail.legacy.account.Account import com.fsck.k9.backend.BackendFactory import com.fsck.k9.backend.api.Backend import com.fsck.k9.mailstore.K9BackendStorageFactory class DemoBackendFactory(private val backendStorageFactory: K9Ba...
846
null
2467
9,969
8b3932098cfa53372d8a8ae364bd8623822bd74c
552
thunderbird-android
Apache License 2.0
completion/tests/testData/basic/common/ExtensionToIntInFloatStyle.kt
JetBrains
278,369,660
false
null
// FIR_IDENTICAL // FIR_COMPARISON val Int.f: Float get() = this.toFloat() val test = 1.<caret> // INVOCATION_COUNT: 1 // EXIST: f
1
null
30
82
cc81d7505bc3e9ad503d706998ae8026c067e838
133
intellij-kotlin
Apache License 2.0
idea/idea-gradle/tests/org/jetbrains/kotlin/gradle/GradleMultiplatformWizardTest.kt
lukaswelte
153,597,995
true
{"Kotlin": 31006824, "Java": 7590391, "JavaScript": 152543, "HTML": 67804, "Lex": 18269, "IDL": 10060, "ANTLR": 9797, "Shell": 6769, "CSS": 4679, "Batchfile": 4437, "Groovy": 4356}
/* * 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.gradle import org.jetbrains.kotlin.ide.konan.gradle.KotlinGradleNativeMultiplatformModuleBuilder import org.jetbrains.kotlin.i...
0
Kotlin
0
0
7887bafc5bee170b0eabed577c9b71e43917b21d
1,820
kotlin
Apache License 2.0
library/src/commonMain/kotlin/com/ioki/passenger/api/models/ApiBookingRequest.kt
ioki-mobility
838,801,042
false
{"Kotlin": 335865}
package com.ioki.passenger.api.models import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable @Serializable public data class ApiBookingRequest( @SerialName(value = "ride_version") val rideVersion: Int, @SerialName(value = "solution_id") val solutionId: String?, @SerialName(value...
5
Kotlin
0
1
2c50b7079b7b991e5a97f314e9783c1a323a759a
471
kmp-passenger-api
MIT License
app/src/main/java/com/ifanr/tangzhi/ui/postlist/PostListViewModel.kt
cyrushine
224,551,311
false
{"Kotlin": 673925, "Java": 59856, "Python": 795}
package com.ifanr.tangzhi.ui.postlist import androidx.lifecycle.MutableLiveData import com.ifanr.tangzhi.model.Product import com.ifanr.tangzhi.repository.baas.BaasRepository import com.ifanr.tangzhi.ui.base.BaseViewModel import com.ifanr.tangzhi.ui.base.autoDispose import io.reactivex.android.schedulers.AndroidSchedu...
0
Kotlin
0
0
ab9a7a2eba7f53eca918e084da9d9907f7997cee
883
tangzhi_android
Apache License 2.0
rounded/src/commonMain/kotlin/me/localx/icons/rounded/bold/LightsHoliday.kt
localhostov
808,861,591
false
{"Kotlin": 79430321, "HTML": 331, "CSS": 102}
package me.localx.icons.rounded.bold 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 im...
1
Kotlin
0
5
cbd8b510fca0e5e40e95498834f23ec73cc8f245
6,449
icons
MIT License
accountant/accountant-app/src/main/kotlin/co/nilin/opex/accountant/app/listener/KycLevelUpdatedListener.kt
opexdev
370,411,517
false
null
package co.nilin.opex.accountant.app.listener import co.nilin.opex.accountant.core.inout.KycLevelUpdatedEvent import co.nilin.opex.accountant.ports.kafka.listener.spi.KycLevelUpdatedEventListener import co.nilin.opex.accountant.ports.postgres.impl.UserLevelLoaderImpl import org.slf4j.LoggerFactory import org.springfra...
29
null
22
51
fedf3be46ee7fb85ca7177ae91b13dbc6f2e8a73
1,310
core
MIT License
src/main/kotlin/com/github/ekvedaras/classfactoryphpstorm/domain/method/make/MakeMethodReference.kt
ekvedaras
529,156,658
false
null
package com.github.ekvedaras.classfactoryphpstorm.domain.method.make import com.github.ekvedaras.classfactoryphpstorm.domain.ClassFactory import com.github.ekvedaras.classfactoryphpstorm.domain.ClassFactoryMethodReference import com.github.ekvedaras.classfactoryphpstorm.support.DomainException import com.github.ekveda...
3
Kotlin
0
2
92bbdf8ee49333c9990ab2f95fa6cc48cefa5869
2,283
class-factory-phpstorm
Apache License 2.0
mineinabyss-features/src/main/kotlin/com/mineinabyss/features/lootcrates/LootCrateEditingListener.kt
MineInAbyss
115,279,675
false
{"Kotlin": 394266}
package com.mineinabyss.features.lootcrates import com.mineinabyss.components.lootcrates.ContainsLoot import com.mineinabyss.components.lootcrates.LootLocation import com.mineinabyss.features.lootcrates.constants.LootCratePermissions import com.mineinabyss.geary.papermc.datastore.decode import com.mineinabyss.geary.pa...
11
Kotlin
27
99
35b12abf13867de5a00acfc4804b1797751b842e
3,023
MineInAbyss
MIT License
app/src/main/java/ac/uk/hope/osmviewerjetpack/data/local/util/CacheTimestampConstants.kt
movedaccount-droid
796,686,976
false
{"Kotlin": 153945, "TeX": 15257}
package ac.uk.hope.osmviewerjetpack.data.local.util // we cannot hold complex objects like Instants in room, // nor can we make any wrapper class around a Long and access a .expired getter in sql. // so we're stuck with this... defining some constants and duplicating the (simple) logic with each // query. blugh const...
0
Kotlin
0
0
74c785bdf9eb6b2b3e3be78fae1024469f16b8d9
475
osmviewerjetpack2
Creative Commons Zero v1.0 Universal
app/src/main/java/com/dev/bins/daily/App.kt
devbins
103,132,563
false
null
package com.dev.bins.daily import android.app.Application import com.raizlabs.android.dbflow.config.FlowManager /** * Created by bin on 14/09/2017. */ class App: Application() { override fun onCreate() { super.onCreate() FlowManager.init(this) } }
1
null
1
1
a949dc22b7d4fad41e7f7970e2886ac51c54dd6c
280
Daily
Apache License 2.0
app/src/main/java/im/fdx/v2ex/view/GoodTextView.kt
codecopy
158,506,466
true
{"Kotlin": 246557, "Java": 18631}
package im.fdx.v2ex.view import android.content.Context import android.graphics.Canvas import android.graphics.drawable.BitmapDrawable import android.graphics.drawable.Drawable import android.text.Html import android.text.SpannableStringBuilder import android.text.Spanned import android.text.TextPaint import android.t...
0
Kotlin
0
0
3921fb6b426576a4d2645f8bc7fb7973f293514c
8,282
v2ex-simple
Apache License 2.0
app/src/main/java/com/kylecorry/trail_sense/weather/infrastructure/WeatherPreferences.kt
Lelik-Bolik
343,114,452
true
{"Kotlin": 683783}
package com.kylecorry.trail_sense.weather.infrastructure import android.content.Context import com.kylecorry.trail_sense.R import com.kylecorry.trail_sense.shared.math.MathExtensions.toFloatCompat2 import com.kylecorry.trailsensecore.domain.weather.PressureAltitudeReading import com.kylecorry.trailsensecore.infrastruc...
0
null
0
0
200c1677a10f2d63fd4d6d79e8a54102bf53c85f
7,050
Trail-Sense
MIT License
library/src/main/java/com/ola/chat/picker/album/model/CheckBoxMediaData.kt
olaola-chat
581,383,264
false
null
package com.ola.chat.picker.album.model import android.os.Parcelable import kotlinx.android.parcel.Parcelize @Parcelize data class CheckBoxMediaData( var mediaData: MediaData, var isSelected: Boolean ) : Parcelable
1
Kotlin
0
0
f22dc84cfca4d594f5cbb0482d0a0b2b3cfad9ee
225
image_picker_adr
Apache License 2.0
mobile/src/test/java/com/aptopayments/mobile/repository/UserSessionRepositoryDouble.kt
ShiftFinancial
130,093,227
false
{"Markdown": 2, "Gradle": 5, "Text": 1, "Ignore List": 1, "Kotlin": 492, "JSON": 41, "XML": 2, "YAML": 1}
package com.aptopayments.mobile.repository class UserSessionRepositoryDouble : UserSessionRepository { override var userToken: String = "" override fun isUserSessionValid() = userToken.isNotEmpty() override fun clearUserSession() {} override fun subscribeSessionInvalidListener(instance: Any, callbac...
0
Kotlin
0
5
f79b3c532ae2dfec8e571b315401ef03d8e507f9
568
shift-sdk-android
MIT License
feature-governance-api/src/main/java/io/novafoundation/nova/feature_governance_api/data/network/offchain/model/delegation/DelegateStats.kt
novasamatech
415,834,480
false
{"Kotlin": 11112596, "Rust": 25308, "Java": 17664, "JavaScript": 425}
package io.novafoundation.nova.feature_governance_api.data.network.offchain.model.delegation import io.novafoundation.nova.feature_wallet_api.data.network.blockhain.types.Balance import io.novasama.substrate_sdk_android.runtime.AccountId class DelegateStats( val accountId: AccountId, val delegationsCount: Int...
14
Kotlin
30
50
166755d1c3388a7afd9b592402489ea5ca26fdb8
382
nova-wallet-android
Apache License 2.0
core/src/ru/deadsoftware/cavedroid/game/input/action/IGameInputAction.kt
fredboy
196,049,035
false
{"Kotlin": 263467, "Java": 128621, "Shell": 2648}
package ru.deadsoftware.cavedroid.game.input.action interface IGameInputAction
0
Kotlin
1
6
1e285247085ba04351feb486a0be6aa577f43093
79
cavedroid
MIT License
survey/src/main/java/com.quickbirdstudios.surveykit/backend/views/question_parts/TimePickerPart.kt
snake984
252,285,332
true
{"Kotlin": 204388, "Shell": 8542}
package com.quickbirdstudios.surveykit.backend.views.question_parts import android.content.Context import android.os.Build import android.util.AttributeSet import android.view.Gravity import android.widget.LinearLayout import android.widget.TimePicker import com.quickbirdstudios.surveykit.R import com.quickbirdstudios...
0
Kotlin
0
0
7a71391811cdb921d20719d69f6ae04c60d2895c
2,051
SurveyKit
MIT License
kotlin/co/eft/xml/DocBuilder.kt
sten1ee
233,094,640
false
{"Kotlin": 17165, "Java": 10207, "Ruby": 7898}
package co.eft.xml import org.w3c.dom.Attr import org.w3c.dom.Document import org.w3c.dom.Element import org.w3c.dom.Text import java.io.File import javax.xml.parsers.DocumentBuilderFactory class DocBuilder { fun build(fileName: String): Node.Doc { val xmlFile = File(fileName) val xmlDoc: Document...
0
Kotlin
0
0
c94dbac19489f74975a855a272d53292bf60d078
1,503
lod-utils
Apache License 2.0
app/src/main/kotlin/com/netguru/android/arlocalizeralternative/injection/presentation/ViewModelModule.kt
netguru
207,792,749
false
null
package com.netguru.android.arlocalizeralternative.injection.presentation import androidx.lifecycle.ViewModel import androidx.lifecycle.ViewModelProvider import com.netguru.android.arlocalizeralternative.feature.location.presentation.LocationViewModel import dagger.Binds import dagger.Module import dagger.multibinding...
20
Kotlin
11
31
1630602759b9c0132c82e01bceb3061d93dcad8f
637
ar-localizer-view-android
Apache License 2.0
src/main/kotlin/strixpyrr/specular/models/SimpleModel.kt
NightEule5
295,050,378
false
null
// Copyright 2020 Strixpyrr // // 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
0
a55a368193804ad0b69e193b23c684968d12ca55
884
Specular
Apache License 2.0
module-book-reader/src/main/java/io/legado/app/ui/book/local/ImportBookAdapter.kt
LinXueyuanStdio
332,099,365
false
{"Gradle": 10, "Java Properties": 3, "Shell": 1, "Text": 2, "Ignore List": 5, "Batchfile": 1, "Markdown": 16, "INI": 3, "Proguard": 4, "JSON": 7, "XML": 357, "Kotlin": 478, "Java": 6, "HTML": 3, "JavaScript": 9, "CSS": 6, "robots.txt": 1, "SVG": 1}
package io.legado.app.ui.book.local import android.content.Context import android.net.Uri import io.legado.app.R import io.legado.app.base.adapter.ItemViewHolder import io.legado.app.base.adapter.SimpleRecyclerAdapter import io.legado.app.constant.AppConst import io.legado.app.utils.* import kotlinx.android.synthetic....
1
null
1
1
1131fe5d2c16c15adfa12111cfac0fda080a50dc
4,094
TimeCatModule-BookReader
Apache License 2.0
compiler/src/main/kotlin/edu/cornell/cs/apl/viaduct/security/Principal.kt
byzhang
374,496,728
true
{"Kotlin": 878748, "Java": 43761, "C++": 13898, "Python": 11991, "Lex": 6620, "Dockerfile": 1963, "Makefile": 1785, "SWIG": 1212, "Shell": 698}
package edu.cornell.cs.apl.viaduct.security import edu.cornell.cs.apl.prettyprinting.Document import edu.cornell.cs.apl.prettyprinting.PrettyPrintable import edu.cornell.cs.apl.prettyprinting.Style import edu.cornell.cs.apl.prettyprinting.styled /** An actor with an associated security label. */ data class Principal(...
0
null
0
0
7aae916a0b9b1e5f880611c7ff69007fc946346b
729
viaduct
MIT License
backend/src/main/kotlin/uk/gov/justice/digital/backend/client/domain/DomainRegistryClient.kt
ministryofjustice
620,391,775
false
null
package uk.gov.justice.digital.backend.client.domain import com.amazonaws.services.dynamodbv2.AmazonDynamoDB import com.amazonaws.services.dynamodbv2.model.* import com.amazonaws.services.dynamodbv2.model.ComparisonOperator.EQ import io.micronaut.context.annotation.Value import io.micronaut.serde.ObjectMapper import j...
1
Kotlin
1
1
d3706af83531ec6116768c25ce94d0bfe78e9d5f
4,612
digital-prison-reporting-domain-builder
MIT License
debop4k-core/src/main/kotlin/debop4k/core/utils/ClassLoaderx.kt
debop
60,844,667
false
null
/* * Copyright (c) 2016. <NAME> <<EMAIL>> * 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 a...
1
Kotlin
10
40
5a621998b88b4d416f510971536abf3bf82fb2f0
1,723
debop4k
Apache License 2.0
app/src/main/java/com/etasdemir/ethinspector/ui/address/AddressDetailViewModel.kt
etasdemir
584,191,764
false
null
package com.etasdemir.ethinspector.ui.address import androidx.lifecycle.viewModelScope import com.etasdemir.ethinspector.data.Repository import com.etasdemir.ethinspector.data.domain_model.Account import com.etasdemir.ethinspector.ui.UIResponseState import com.etasdemir.ethinspector.ui.mapResponseToUIResponseState imp...
0
null
0
4
753c16ebcb2973bdef76078bb391792892187826
1,330
eth-inspector
MIT License
sample/src/main/java/com/grumpyshoe/module/bonjourconnect/sample/MainActivity.kt
grumpyshoe
183,683,727
false
null
package com.grumpyshoe.module.bonjourconnect.sample import android.os.Bundle import android.os.Handler import android.os.Looper import android.util.Log import android.view.View import androidx.appcompat.app.AppCompatActivity import com.grumpyshoe.module.bonjourconnect.BonjourConnect import com.grumpyshoe.module.bonjou...
0
Kotlin
1
3
b1f432d1fe463221d2607e1dfce408a04489c61f
1,786
android-module-bonjourconnect
MIT License
app/src/test/java/de/anew/activities/editor/EditorViewModelFactoryTest.kt
MarcelBruse
250,358,185
false
{"Gradle": 3, "Java Properties": 2, "Shell": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Text": 1, "Proguard": 1, "Kotlin": 69, "XML": 16, "Java": 1}
/* * Copyright 2020 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
1
null
1
1
7dd2692c8a28f798e843e721d2bd76acb45af774
1,477
Anew
Apache License 2.0
app/src/main/java/com/matusiakartur/cleanadapter/view/MainActivity.kt
aptyr
92,069,018
false
null
package com.matusiakartur.cleanadapter.view /** * Copyright (C) 2017 Artur Matusiak (github.com/aptyr) * * 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/l...
0
Kotlin
0
0
cc0424f5a4155b75827869c0b0b7fd900b99469b
1,875
KeepAdapterClean-android-example
Apache License 2.0
src/test/kotlin/com/example/sws/UserInfoTests.kt
tseissrd
524,350,463
false
null
package com.example.sws import com.example.sws.controller.userInfoRouter import com.example.sws.data.DatabaseSpec import com.example.sws.entity.UserInfo import io.ktor.client.call.* import io.ktor.client.plugins.contentnegotiation.* import io.ktor.client.request.* import io.ktor.http.* import io.ktor.serialization.kot...
0
Kotlin
0
0
3a5597b0696f2ffc001e34f25e307d713e252059
2,477
sws-ktor
Apache License 2.0
app/src/test/java/io/github/rtazaki/kyotoshogi/GetMovePosUnitTest/GoldUnitTest.kt
rtazaki
302,190,377
false
null
package io.github.rtazaki.kyotoshogi.getMovePosUnitTest import io.github.rtazaki.kyotoshogi.MainGame import org.junit.Test /** * 金(と) * 実装では、と, 金は同じ処理パスを通るため、金のみで試験を行う。 * (と で試験したい場合、金 を と で置換してテスト実行すれば同じ結果が得られる。) * ホワイトボックス的観点から見て、2個に増やすことに意味がない。 * (と が TO になっても気づけないとか一理あるが、この場合だと、MainGameUnitTestでこけるため、 * 単体試...
0
Kotlin
0
0
234bdc527732081738833480e7f233d99475bd04
9,127
KyotoShogi
Apache License 2.0
carp.deployments.core/src/commonTest/kotlin/dk/cachet/carp/deployments/infrastructure/StudyDeploymentStatusTest.kt
cph-cachet
116,270,288
false
null
package dk.cachet.carp.deployments.infrastructure import dk.cachet.carp.common.application.UUID import dk.cachet.carp.common.application.users.UsernameAccountIdentity import dk.cachet.carp.common.infrastructure.test.StubMasterDeviceDescriptor import dk.cachet.carp.common.infrastructure.test.makeUnknown import dk.cache...
61
Kotlin
1
10
f54518dc7dfffc2823a21f2a500b360b8addd136
3,662
carp.core-kotlin
MIT License
samples/app/gallery/src/main/java/com/badoo/ribs/samples/gallery/rib/android/picker/AndroidPickerInteractor.kt
badoo
170,855,556
false
{"Kotlin": 934999}
package com.badoo.ribs.samples.gallery.rib.android.picker import androidx.lifecycle.Lifecycle import com.badoo.binder.using import com.badoo.mvicore.android.lifecycle.startStop import com.badoo.ribs.clienthelper.interactor.Interactor import com.badoo.ribs.core.modality.BuildParams import com.badoo.ribs.samples.gallery...
34
Kotlin
50
162
cec2ca936ed17ddd7720b4b7f8fca4ce12033a89
721
RIBs
Apache License 2.0
samples/app/gallery/src/main/java/com/badoo/ribs/samples/gallery/rib/android/picker/AndroidPickerInteractor.kt
badoo
170,855,556
false
{"Kotlin": 934999}
package com.badoo.ribs.samples.gallery.rib.android.picker import androidx.lifecycle.Lifecycle import com.badoo.binder.using import com.badoo.mvicore.android.lifecycle.startStop import com.badoo.ribs.clienthelper.interactor.Interactor import com.badoo.ribs.core.modality.BuildParams import com.badoo.ribs.samples.gallery...
34
Kotlin
50
162
cec2ca936ed17ddd7720b4b7f8fca4ce12033a89
721
RIBs
Apache License 2.0
src/test/kotlin/kr/waymakers/tsid/TsidFactory00256Test.kt
corestone
737,921,418
true
{"Batchfile": 2, "Shell": 3, "Gradle Kotlin DSL": 3, "Markdown": 4, "Java": 20, "Kotlin": 20}
package kr.waymakers.tsid import org.junit.Assert.* import org.junit.Test import kotlin.math.pow class TsidFactory00256Test : TsidFactory00000Test() { @Test fun testGetTsid256() { val startTime = System.currentTimeMillis() val factory = TsidFactory(nodeBits = NODE_BITS, random = random) val list = LongArray...
0
Java
0
0
49b8965f2bd9762b36d4cf6bc170a1ee6f7f4c32
3,247
tsid-creator
MIT License
idea/testData/quickfix/typeMismatch/numberConversion/convertLiteral.kt
dae-woong
421,687,586
false
null
// "Convert expression to 'Int'" "true" fun foo() { bar(1L<caret>) } fun bar(l: Int) { }
0
null
0
1
5396a68e71868cc604300f21943c7a64b40bb47e
93
kotlin
Apache License 2.0
hello-kafka-es-streamsapi/kotlin/order-query-service/src/main/kotlin/kafka/es/query/OrderListener.kt
thecodemonkey
374,150,626
false
null
package kafka.es.query import kafka.es.query.model.OrderEvent import kafka.es.query.model.merge import org.apache.kafka.common.serialization.Serde import org.apache.kafka.common.serialization.Serdes import org.apache.kafka.streams.StreamsBuilder import org.apache.kafka.streams.kstream.* import org.springframework.bean...
1
null
3
9
a4752cdb21d1d06bffb398fd5d128d14a87c6cec
1,928
kafka-microservices
MIT License
idea/tests/testData/multiFileLocalInspections/unusedSymbol/fromKotlinTest/after/kotlin/test/KotlinTest.kt
JetBrains
278,369,660
false
null
package kotlin.test annotation class Test fun assertEquals(expected: Any, actual: Any) {}
0
null
30
82
cc81d7505bc3e9ad503d706998ae8026c067e838
93
intellij-kotlin
Apache License 2.0
buildSrc/src/main/java/PageViewInjector.kt
XinicsInc
123,872,784
true
{"Markdown": 5, "INI": 18, "Shell": 27, "Proguard": 16, "Gradle": 54, "Ignore List": 38, "Java": 1391, "XML": 1946, "Gradle Kotlin DSL": 2, "Kotlin": 965, "Ruby": 19, "Protocol Buffer": 14, "JSON": 7, "GraphQL": 1, "Text": 12, "Batchfile": 2, "Java Properties": 11, "HTML": 7, "Python": 1, "YAML": 3, "CSS": 1, "Ant Buil...
/* * Copyright (C) 2018 - present Instructure, 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 requ...
0
Java
0
1
70b0cd08042e05293fc78478f90c3608a31831e1
21,159
instructure-android
Apache License 2.0
app/src/main/java/victordev/es/polimorfismo/MainActivity.kt
vcanadao
135,938,029
false
{"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Proguard": 1, "Kotlin": 7, "XML": 13, "Java": 4}
package victordev.es.polimorfismo import android.support.v7.app.AppCompatActivity import android.os.Bundle import victordev.es.polimorfismo.interfaces.MainKotlin class MainActivity : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setC...
1
null
1
1
198e1ae22c41f0281f98d61c3f602bf2df382f4b
485
polimorfismo
Apache License 2.0
src/aoc2018/kot/Day05.kt
Tandrial
47,354,790
false
null
package aoc2018.kot import java.io.File import java.util.* import kotlin.math.abs object Day05 { fun partOne(input: String): Vector<Char> = reduce(input) fun partTwo(input: String): Int = ('a'..'z').map { c -> reduce(input.filter { it != c && it != c - 32 }).size }.min()!! fun reduce(input: String): Vector<Ch...
1
Kotlin
1
1
9294b2cbbb13944d586449f6a20d49f03391991e
813
Advent_of_Code
MIT License
library/src/main/java/com/cafrecode/views/circurlarpercent/UnitPosition.kt
nightcrawler-
255,568,293
false
{"Java": 90003, "Kotlin": 5050}
package com.cafrecode.views.circurlarpercent enum class UnitPosition { TOP, BOTTOM, LEFT_TOP, RIGHT_TOP, LEFT_BOTTOM, RIGHT_BOTTOM }
1
null
1
1
348429d96f077e97d3683f41b2fda7b890da1557
137
circular-percent-view
MIT License
mobile_app1/module926/src/main/java/module926packageKt0/Foo6.kt
uber-common
294,831,672
false
null
package module926packageKt0; annotation class Foo6Fancy @Foo6Fancy class Foo6 { fun foo0(){ module926packageKt0.Foo5().foo3() } fun foo1(){ foo0() } fun foo2(){ foo1() } fun foo3(){ foo2() } }
6
Java
6
72
9cc83148c1ca37d0f2b2fcb08c71ac04b3749e5e
229
android-build-eval
Apache License 2.0
master-package/bonus-webinars-2019/introduction-to-mockk/src/test/kotlin/com/testwithspring/master/kotlin/matchers/stub/FindByCreatorAndStatusStubExampleTest.kt
brabii
428,071,292
true
{"Markdown": 102, "Text": 2, "Ignore List": 1, "INI": 124, "Maven POM": 95, "Gradle": 82, "Java": 1553, "Java Server Pages": 28, "XML": 231, "Java Properties": 58, "SQL": 24, "HTML": 64, "CSS": 4, "JavaScript": 38, "JSON": 6, "JSON with Comments": 2, "Less": 2, "Ant Build System": 2, "Kotlin": 140, "Groovy": 276, "Asci...
package com.testwithspring.master.kotlin.matchers.stub import com.testwithspring.master.kotlin.* import io.mockk.every import io.mockk.mockk import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.BeforeEach import org.junit.jupiter.api.DisplayName import org.junit.jupiter.api.Tag import org.jun...
0
null
0
1
34ff510322734bb1c2ac13b732591a2bc88644d0
2,246
test-with-spring
Apache License 2.0
idea/testData/refactoring/move/kotlin/moveTopLevelDeclarations/misc/superReferences/before/b/usage.kt
JakeWharton
99,388,807
false
null
package b class C: a.B() { fun test() { super.t() } }
0
null
28
83
4383335168338df9bbbe2a63cb213a68d0858104
70
kotlin
Apache License 2.0
app/src/main/java/org/tokend/template/features/invest/logic/SaleOverviewMarkdownLoader.kt
dponizhan
268,484,748
true
{"Kotlin": 1288766, "HTML": 57453, "Java": 21383}
package org.tokend.template.features.invest.logic import android.content.Context import com.google.gson.JsonParser import io.reactivex.Single import org.tokend.sdk.api.blobs.model.Blob import org.tokend.sdk.factory.HttpClientFactory import org.tokend.template.BuildConfig import org.tokend.template.data.repository.Blob...
0
null
0
0
7fb6c0c96333d8356b68e7d0a868257a6e1937c8
2,223
android-client
Apache License 2.0
tests/src/com/android/launcher3/model/AbstractWorkspaceModelTest.kt
MrSluffy
695,766,563
false
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
null
7
39
ab5963a04cb1e1d49a588b088fdb6530de62cf09
5,742
lawnchair
Apache License 2.0
edusdk-impl/src/main/kotlin/io/agora/education/impl/cmd/CMDProcessor.kt
jiayanana
385,456,456
false
{"Java": 647477, "Kotlin": 265318, "Python": 1650}
package io.agora.education.impl.cmd import io.agora.education.impl.util.Convert import io.agora.education.api.room.EduRoom import io.agora.education.api.room.data.RoomType import io.agora.education.api.stream.data.EduStreamEvent import io.agora.education.api.stream.data.EduStreamInfo import io.agora.education.api.user...
1
null
1
1
a1dfbbab8ca17ee79dff53865c8c4fa3c3dda63f
3,737
eEducation-Android
MIT License