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/photoeditor/MainActivity.kt
N0MoreFun
652,654,558
false
null
package com.example.photoeditor import android.Manifest import android.content.Context import android.content.Intent import android.content.pm.PackageManager import android.net.Uri import android.os.Bundle import androidx.activity.ComponentActivity import androidx.activity.compose.setContent import androidx.compose.fo...
0
Kotlin
0
0
2f8886434279f0472eb34b696fb22d17b6fc92a4
5,280
Easy-Photo-Editor
MIT License
qrcode/src/main/java/com/angcyo/qrcode/code/DataMatrixConfig.kt
angcyo
229,037,615
false
{"Kotlin": 6701828, "JavaScript": 5194}
package com.angcyo.qrcode.code import com.angcyo.qrcode.DslCode import com.google.zxing.BarcodeFormat import com.google.zxing.Dimension import com.google.zxing.EncodeHintType import com.google.zxing.datamatrix.encoder.SymbolShapeHint /** * 二维码类型, 支持的配置参数, 不支持emoji表情, 不支持中文 * [com.google.zxing.BarcodeFormat.DATA_MAT...
0
Kotlin
6
5
73c1ad1bef2dbaeb3cafe412f34c741da288e934
1,237
UICore
MIT License
src/main/java/uk/gov/justice/hmpps/casenotes/domain/DeletionCause.kt
ministryofjustice
195,988,411
false
{"Kotlin": 369335, "Java": 35045, "PLpgSQL": 5831, "Mustache": 1803, "Dockerfile": 1357}
package uk.gov.justice.hmpps.casenotes.domain enum class DeletionCause { DELETE, UPDATE, MERGE, MOVE, }
0
Kotlin
1
1
138261a3283125613d0646c775edd8d2cd0ac720
113
offender-case-notes
MIT License
src/main/kotlin/counters/minter/sdk/minter_api/TransactionInterface.kt
counters
196,465,317
false
null
package counters.minter.sdk.minter_api import counters.minter.grpc.client.ApiServiceGrpc import counters.minter.grpc.client.TransactionRequest import counters.minter.grpc.client.TransactionResponse import counters.minter.sdk.minter.models.TransactionRaw import counters.minter.sdk.minter_api.convert.ConvertTransaction ...
0
Kotlin
3
7
dd03cc8a1e0b4c21ceb03dbceff7b0fe4136d4ca
2,697
minter-kotlin-sdk
Apache License 2.0
app/src/main/java/com/lindungisesama/model/response/PrismicResponse.kt
ezralazuardy
255,088,592
false
null
package com.lindungisesama.model.response import com.lindungisesama.model.raw.prismic.Prismic data class PrismicResponse( var status: RetrofitStatus = RetrofitStatus.UNKNOWN, var data: Prismic? = null )
0
Kotlin
0
0
c39d59ac08f80f102135a13e57d33d6e60808094
206
lindungisesama
MIT License
app/src/main/java/divyansh/tech/animeclassroom/genres/source/GenreSearchRemoteRepo.kt
justdvnsh
361,118,759
false
{"Kotlin": 197005}
package divyansh.tech.animeclassroom.genres.source import divyansh.tech.animeclassroom.common.utils.C import divyansh.tech.animeclassroom.common.utils.ResultWrapper import divyansh.tech.animeclassroom.common.data.Manga import divyansh.tech.animeclassroom.common.data.AnimeModel import divyansh.tech.animeclassroom.commo...
47
Kotlin
32
95
53aa9258daa16022cad3b3dd961ceb60be01e67e
1,696
AnimeClassroom
MIT License
data/cache/src/main/java/com/jfmr/ac/test/data/cache/dao/character/CharacterDao.kt
JuanPolea
425,060,476
false
{"Kotlin": 165843}
package com.jfmr.ac.test.data.cache.dao.character import androidx.paging.PagingSource import androidx.room.Dao import androidx.room.Insert import androidx.room.OnConflictStrategy import androidx.room.Query import androidx.room.Update import com.jfmr.ac.test.data.cache.entities.character.LocalCharacter @Dao interface ...
0
Kotlin
0
0
cbcea22d2683dd2b8e58d46c70ed3808eaccce7f
886
AC-Test
Apache License 2.0
desktop/app/src/main/kotlin/com/abdownloadmanager/desktop/pages/addDownload/single/AddSingleDownloadComponent.kt
amir1376
825,187,044
false
{"Kotlin": 902305}
package com.abdownloadmanager.desktop.pages.addDownload.single import com.abdownloadmanager.desktop.pages.addDownload.AddDownloadComponent import com.abdownloadmanager.desktop.pages.addDownload.DownloadUiChecker import com.abdownloadmanager.desktop.pages.settings.configurable.IntConfigurable import com.abdownloadmanag...
0
Kotlin
0
44
bac56f49eb955766c524ce94941f3898cda61189
7,668
ab-download-manager
Apache License 2.0
app/src/main/java/com/tink/link/profile/ProfileFragment.kt
maggud
246,289,229
true
{"Kotlin": 91712}
package com.tink.link.profile import android.app.AlertDialog import android.os.Bundle import android.view.View import androidx.fragment.app.Fragment import androidx.lifecycle.Observer import androidx.lifecycle.ViewModelProviders import androidx.navigation.fragment.findNavController import androidx.recyclerview.widget....
0
Kotlin
0
0
33334c1201d941ccf3ff5ec89fbac8d6276be2c2
3,232
tink-link-android
MIT License
remark-api/src/test/java/com/stelmashchuk/tooling/MockkUser.kt
VovaStelmashchuk
350,405,976
false
null
package com.stelmashchuk.tooling import com.stelmashchuk.remark.api.user.User import com.stelmashchuk.remark.api.user.UserRepository import io.mockk.every import io.mockk.mockk internal fun getUserRepository(mockUser: User?): UserRepository { return mockk { every { user } answers { mockUser } } } internal fu...
9
Kotlin
2
4
cf06a5fb06d6d145ca2920ef76841efe6a555658
422
RadiotApp
MIT License
app/src/main/java/com/example/practica1/model/FormulaViewModel.kt
ivanNieto13
558,174,748
false
null
package com.example.practica1.model import android.app.Application import androidx.lifecycle.AndroidViewModel import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import com.example.practica1.R class FormulaViewModel(application: Application) : AndroidViewModel(application) { private val ...
0
Kotlin
0
0
7d8f420ad10e48544c799696e4dffb137df9a0db
1,593
Practica1
MIT License
cache/src/main/java/com/mkdev/cache/mapper/CacheMapper.kt
msddev
469,005,380
false
null
package com.mkdev.cache.mapper interface CacheMapper<T, V> { fun mapFromCached(type: T?): V fun mapToCached(type: V?): T }
0
Kotlin
0
0
ca6eacd6b5c6e4e612c766cf9b2df45f6b7ed9d0
132
Currency-Exchange
Apache License 2.0
gallerydroid/src/main/java/com/jesusd0897/gallerydroid/model/GalleryDroid.kt
engmms
809,607,529
true
{"Kotlin": 74343}
/* * Copyright (c) 2021. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable law or agreed to in writing, software...
0
null
0
0
84dd25fa299fc8a8240c314947441c365accaa50
5,243
gallery-droid
Apache License 2.0
app/src/test/java/com/example/billbuddy/data/local/repository/PaymentRepositoryImplTest.kt
arfinhosainn
607,740,170
false
null
package com.example.billbuddy.data.local.repository import androidx.arch.core.executor.testing.InstantTaskExecutorRule import com.example.billbuddy.data.local.PaymentDao import com.example.billbuddy.data.local.model.InvalidPaymentException import com.example.billbuddy.data.local.model.Payment import com.example.billbu...
0
Kotlin
0
3
845aeeb56c088562787f814643b9b1aac31ef3df
6,514
BillBuddy
Apache License 2.0
core/src/main/java/eu/krzdabrowski/starter/core/presentation/mvi/EventDelegate.kt
krzdabrowski
482,774,200
false
{"Kotlin": 90253}
package eu.krzdabrowski.starter.core.presentation.mvi import kotlinx.coroutines.flow.Flow interface EventDelegate<EVENT> { fun getEvents(): Flow<EVENT> suspend fun setEvent(event: EVENT) }
6
Kotlin
43
382
dbf81d2b4da5c6d2c518b74e3d110f658a62b44e
200
android-starter-2022
MIT License
feature/category/src/main/kotlin/com/naveenapps/expensemanager/feature/category/create/CategoryCreateAction.kt
nkuppan
536,435,007
false
{"Kotlin": 1018021}
package com.naveenapps.expensemanager.feature.category.create sealed class CategoryCreateAction { data object ClosePage : CategoryCreateAction() data object ShowDeleteDialog : CategoryCreateAction() data object DismissDeleteDialog : CategoryCreateAction() data object Save : CategoryCreateAction() ...
4
Kotlin
15
94
5a5c790bea3f1ce4a720d7cffe6fe72a506507b7
511
expensemanager
Apache License 2.0
app-launcher/common/src/jvmMain/kotlin/io/ashdavies/playground/ColorScheme.jvm.kt
ashdavies
36,688,248
false
{"Kotlin": 211308, "HCL": 21205, "Shell": 3934, "Mustache": 2208}
package io.ashdavies.playground import androidx.compose.material3.ColorScheme import androidx.compose.runtime.Composable @Composable public actual fun dynamicColorScheme(darkTheme: Boolean): ColorScheme = defaultColorScheme(darkTheme)
44
Kotlin
33
116
1fb23ea56a215e9b2a0026e7fce5ab334b7b0354
237
playground.ashdavies.dev
Apache License 2.0
advanced/battleship-domain/src/test/kotlin/io/drevezerezh/scylla/advanced/domain/impl/ShipManagerBeanTest.kt
drevezerezh
672,485,652
false
{"Kotlin": 948680, "ANTLR": 1204}
/* * Copyright (c) 2024 gofannon.xyz * * 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 agree...
0
Kotlin
0
0
5b252105940bee53350039c479aabcc479f3c894
4,755
scylla
Apache License 2.0
src/main/java/com/github/greennick/properties/Initializers.kt
green-nick
170,363,475
false
null
package com.github.greennick.properties import com.github.greennick.properties.debounce.* import com.github.greennick.properties.debounce.DebouncePropertyImpl import com.github.greennick.properties.generic.* import kotlinx.coroutines.CoroutineScope import kotlinx.coroutines.launch import java.util.concurrent.Scheduled...
0
Kotlin
0
8
969741bf9750634e7c5a673c7551746fc4a1e1ab
3,297
properties
MIT License
app/src/main/java/com/app/myarticleapp/utils/Constants.kt
sunday58
531,985,278
false
{"Kotlin": 44667}
package com.app.myarticleapp.utils object Constants { const val BASE_URL = "http://api.nytimes.com/svc/mostpopular/v2/" }
0
Kotlin
0
0
6fd20d7dfed82dcfed6cd90bbe0a1b4b9c669cfc
126
MyArticleApp
Apache License 2.0
lib/src/main/java/io/sellmair/quantum/internal/SingleThreadExecutor.kt
sellmair
147,240,457
false
null
package io.sellmair.quantum.internal import io.sellmair.quantum.Joinable import io.sellmair.quantum.Quitable import java.util.* import java.util.concurrent.Executor import java.util.concurrent.locks.ReentrantLock import kotlin.concurrent.withLock /* ####################################################################...
1
Kotlin
3
71
a235277f9ce915ce54d933416a9724cbf424e776
3,316
quantum
MIT License
demo/playground/src/jvmMain/kotlin/gdmlCubes.kt
mipt-npm
174,502,624
false
null
package space.kscience.visionforge.examples import space.kscience.dataforge.context.Context import space.kscience.gdml.GdmlShowCase import space.kscience.visionforge.gdml.toVision import space.kscience.visionforge.html.ResourceLocation import space.kscience.visionforge.solid.Solids fun main() { val context = Cont...
11
Kotlin
5
25
456e01fcfa48f798a03cc5866acc5d4c557e00c3
516
visionforge
Apache License 2.0
benchmark/src/commonMain/kotlin/diglol/crypto/otp/HotpBenchmark.kt
diglol
398,510,327
false
{"C": 284748, "Kotlin": 239933, "Objective-C": 44341, "JavaScript": 684}
package diglol.crypto.otp import diglol.crypto.Hmac import diglol.crypto.random.nextBytes import kotlinx.benchmark.Benchmark import kotlinx.benchmark.BenchmarkMode import kotlinx.benchmark.BenchmarkTimeUnit import kotlinx.benchmark.Measurement import kotlinx.benchmark.Mode import kotlinx.benchmark.OutputTimeUnit impor...
3
C
4
21
1eb21fc70a685aedd722fd760542e981c811e00c
1,248
crypto
Apache License 2.0
inappnotification/src/main/java/com/github/thuannv/inappnotification/NotificationInfo.kt
thuannv
290,727,807
false
null
package com.github.thuannv.inappnotification import android.view.View import androidx.annotation.LayoutRes class NotificationInfo { var x: Int = 0 var y: Int = 0 var contentView: View? = null @LayoutRes var contentViewLayoutRes: Int = 0 var enterAnimationDuration: Long = 150L var exitAni...
0
Kotlin
6
5
bc5f19261f006a4419877f568464995f5f63527e
396
in-app-notification
Apache License 2.0
idea/tests/testData/refactoring/inline/namedFunction/withoutUsage.kt
JetBrains
278,369,660
false
null
fun <caret>a() { }
0
Kotlin
30
82
cc81d7505bc3e9ad503d706998ae8026c067e838
20
intellij-kotlin
Apache License 2.0
app/src/main/java/org/lineageos/aperture/ui/LensSelectorLayout.kt
ArrowOS-MiPa-Edition
576,044,537
false
null
/* * SPDX-FileCopyrightText: 2022 The LineageOS Project * SPDX-License-Identifier: Apache-2.0 */ package org.lineageos.aperture.ui import android.annotation.SuppressLint import android.content.Context import android.icu.text.DecimalFormat import android.icu.text.DecimalFormatSymbols import android.util.AttributeSe...
0
Kotlin
0
0
03cd2e7ef6f58160024a740f6d156340dbb1e6af
3,227
android_packages_apps_Aperture
Apache License 2.0
app/src/main/java/com/sbma/linkup/connection/ConnectionCardDao.kt
ericaskari-metropolia
694,027,591
false
{"Kotlin": 323836, "HTML": 71958, "TypeScript": 19773, "Dockerfile": 577, "JavaScript": 256}
package com.sbma.linkup.connection import androidx.room.Dao import androidx.room.Delete import androidx.room.Insert import androidx.room.OnConflictStrategy import androidx.room.Query import androidx.room.Transaction import androidx.room.Update import androidx.room.Upsert import kotlinx.coroutines.flow.Flow import java...
0
Kotlin
1
1
436d8f46fc76a9d6af2ab5e997dc673d9ee1bf08
1,338
sbma
MIT License
presentation/src/main/java/com/jinglebroda/presentation/singleActivity/mvvm/utils/recipeParcelize/IngredientParcelize.kt
jingleBroda
629,142,633
false
{"Kotlin": 98477}
package com.jinglebroda.presentation.singleActivity.mvvm.utils.recipeParcelize import android.os.Parcelable import com.jinglebroda.domain.model.searchRecipeModel.Ingredient import kotlinx.parcelize.Parcelize @Parcelize data class IngredientParcelize( val foodId:String, val quantity:Float, val measure:Stri...
0
Kotlin
0
0
856f3d611ab642c292e3b262f3e0e41752acfcc2
1,602
Look_to_cook
MIT License
app/src/main/java/com/lianyi/paimonsnotebook/common/util/notification/PaimonsNotebookNotificationData.kt
QooLianyi
435,314,581
false
{"Kotlin": 1855635}
package com.lianyi.paimonsnotebook.common.util.notification import androidx.compose.runtime.MutableState import androidx.compose.runtime.mutableStateOf data class PaimonsNotebookNotificationData( val content:String, val notificationId:String, val type:PaimonsNotebookNotificationType = PaimonsNotebookNotif...
1
Kotlin
2
36
7af1f8cce2f8eea3f72b3735e820508510b3112e
511
PaimonsNotebook
MIT License
data/src/main/java/com/ibenabdallah/motus/data/di/NetworkModule.kt
ibenabdallah
800,097,815
false
{"Kotlin": 61508}
package com.ibenabdallah.motus.data.di import com.ibenabdallah.motus.data.TextConverterFactory import com.ibenabdallah.motus.data.network.MotusApi import dagger.Module import dagger.Provides import dagger.hilt.InstallIn import dagger.hilt.components.SingletonComponent import okhttp3.OkHttpClient import okhttp3.logging...
0
Kotlin
0
0
db033424b23424bc6f497209441fcf16703a6ed0
1,367
motus
Apache License 2.0
backend/data/src/main/kotlin/io/tolgee/dtos/request/translation/comment/TranslationCommentWithLangKeyDto.kt
tolgee
303,766,501
false
null
package io.tolgee.dtos.request.translation.comment import io.tolgee.model.enums.TranslationCommentState import org.hibernate.validator.constraints.Length import javax.validation.constraints.NotBlank import javax.validation.constraints.NotNull data class TranslationCommentWithLangKeyDto( @field:NotNull val keyId: ...
13
Kotlin
40
666
38c1064783f3ec5d60d0502ec0420698395af539
580
tolgee-platform
Apache License 2.0
sykepenger-model/src/main/kotlin/no/nav/helse/serde/mapping/JsonMedlemskapstatus.kt
navikt
193,907,367
false
null
package no.nav.helse.serde.mapping internal enum class JsonMedlemskapstatus { JA, VET_IKKE, NEI }
2
Kotlin
6
5
2f940cad2bc6a756033a4e19edc5236a0648c971
103
helse-spleis
MIT License
examples/src/main/kotlin/05_fxaa/FXAAExampleData.kt
exerro
483,762,931
false
{"Kotlin": 175865}
package `05_fxaa` import me.exerro.eggli.GLResource import me.exerro.eggli.types.GLFramebuffer import me.exerro.eggli.types.GLShaderProgram import me.exerro.eggli.types.GLTexture import me.exerro.eggli.types.GLUniformLocation import me.exerro.egglix.mesh.SimpleMesh import me.exerro.egglix.postprocessing.FXAA import me...
1
Kotlin
0
0
f77e981fc28a14aa54aad6a369adfdccc6ab1d5b
608
eggli
MIT License
app/src/main/java/pl/grajek/actions/view/activity/ActionActivity.kt
dawids222
169,272,010
false
null
package pl.grajek.actions.view.activity import android.app.DatePickerDialog import android.arch.lifecycle.Observer import android.arch.lifecycle.ViewModelProviders import android.databinding.DataBindingUtil import android.os.Bundle import android.support.design.widget.Snackbar import android.support.v4.content.Context...
0
Kotlin
0
0
dc8c674b0b171ee68698133bcd023b2e26279612
3,443
Actions
MIT License
base/src/main/java/com/surrus/galwaybus/ui/NearbyFragment.kt
chanyaz
125,964,728
true
{"Kotlin": 114008, "Java": 73173, "GLSL": 9264, "Ruby": 3132}
package com.surrus.galwaybus.ui import android.Manifest import android.annotation.SuppressLint import android.arch.lifecycle.ViewModelProviders import android.content.Context import android.content.pm.PackageManager import android.os.Bundle import android.support.design.widget.Snackbar import android.support.v4.app.F...
0
Kotlin
0
0
18b0ddc9755886ca05a7437df29a8ddaa75ab927
8,870
galway-bus-android
MIT License
app/src/main/java/com/rrvieira/trendyt/ui/MainActivity.kt
rrvieira
485,406,045
false
null
package com.coderio.themoviedb.ui import android.os.Bundle import android.view.WindowManager import androidx.activity.ComponentActivity import androidx.activity.compose.setContent import androidx.core.view.WindowCompat import dagger.hilt.android.AndroidEntryPoint @AndroidEntryPoint class MainActivity : ComponentActiv...
0
null
1
2
fa5b8cdad4d37d97a015762e3485d272ad2eca34
556
trendyt-android-app
MIT License
src/main/kotlin/br/com/zupacademy/registra/response/DadosContaResponse.kt
CharlesRodrigues-01
393,033,826
true
{"Kotlin": 72390, "Smarty": 1872, "Dockerfile": 184}
package br.com.zupacademy.registra.response import br.com.zupacademy.registra.model.ContaAssociada import org.slf4j.LoggerFactory data class DadosContaResponse( val tipo: String, val instituicao: InstituicaoResponse, val agencia: String, val numero: String, val titular: TitularResponse ) { pri...
0
Kotlin
0
0
3e482e6eb1798501329ae0148326f398dc9e6318
934
orange-talents-06-template-pix-keymanager-grpc
Apache License 2.0
project/app/src/main/java/com/garmin/garminkaptain/MainActivity.kt
katonaaron
335,685,619
false
null
package com.garmin.garminkaptain import android.os.Bundle import android.util.Log import androidx.appcompat.app.AppCompatActivity import androidx.navigation.fragment.NavHostFragment import androidx.navigation.fragment.findNavController import androidx.navigation.ui.setupWithNavController import com.google.android.mate...
1
Kotlin
0
0
7404973f335eb97d2a3e4d7da7beef1225f15aae
1,410
GarminKaptain2021
Apache License 2.0
src/jvmMain/kotlin/acidicoala/koalageddon/core/event/CoreEvent.kt
acidicoala
584,899,259
false
null
package acidicoala.koalageddon.core.event import androidx.compose.material.SnackbarDuration sealed interface CoreEvent { class ShowSnackbar( val message: String, val actionLabel: String? = null, val duration: SnackbarDuration = SnackbarDuration.Short ) : CoreEvent }
1
Kotlin
4
50
9ec09a7ba5cabc7b1be173a9c8e8794c93984a24
300
Koalageddon2
The Unlicense
pockyt_pay/src/main/java/com/pockyt/pay/req/GooglePayReq.kt
yuansfer
179,186,940
false
{"Kotlin": 85072}
package com.pockyt.pay.req import android.app.Activity import com.braintreepayments.api.GooglePayRequest import com.pockyt.pay.base.BaseReq data class GooglePayReq( val activity: Activity, val clientToken: String, val request: GooglePayRequest, val autoDeviceData: Boolean = false ): BaseReq()
1
Kotlin
0
1
1a4273d4cdc604992ae5b1bdb83933c08882af0d
312
yuansfer-mobile-sdk-android
MIT License
src/main/kotlin/me/mrpingu/kotlinbiomesxl/world/biome/GlacierShoreBiome.kt
luizrcs
260,727,646
false
null
package me.mrpingu.kotlinbiomesxl.world.biome import me.mrpingu.kotlinbiomesxl.world.gen.feature.SnowTopLayerFeature import me.mrpingu.kotlinbiomesxl.world.gen.surfacebuilder.GlacierSurfaceBuilder import net.minecraft.block.Blocks.* import net.minecraft.entity.EntityType.* import net.minecraft.world.biome.Biome.Catego...
0
Kotlin
0
0
05d596a190db6f3498a31c813daeb61729ad4262
1,940
KotlinBiomesXL
MIT License
dataStructures.kt
mikhail-dvorkin
93,333,859
false
{"Java": 99023, "Kotlin": 12807, "Python": 1664}
data class IncrementalIncreasingSequence(val map: TreeMap<Int, Int>) { constructor() : this(TreeMap()) init { map[Int.MIN_VALUE] = Int.MIN_VALUE map[Int.MAX_VALUE] = Int.MAX_VALUE } fun size() = map.size - 2 fun add(key: Int, value: Int) { val floorEntry = map.floorEntry(key) if (floorEntry.value >= va...
0
Java
0
12
22a2b32839b80fb5ce09cb63f9a60bf224761eb6
472
algorithms
The Unlicense
platforms/android/app/src/main/java/com/weexbox/playground/EventModule.kt
torns
200,949,056
true
{"Vue": 35912, "Swift": 5142, "JavaScript": 4822, "Kotlin": 4585, "CSS": 464, "Ruby": 176, "TypeScript": 74}
package com.weexbox.playground import com.taobao.weex.annotation.JSMethod import com.weexbox.core.module.BaseModule import com.weexbox.core.router.Router /** * Author: Mario * Time: 2019/1/25 9:08 PM * Description: This is EventModule */ class EventModule: BaseModule() { @JSMethod(uiThread = true) fun o...
0
Vue
0
0
caf7849f4f025d054654cabc3780a1e06070b341
478
weexbox-template
MIT License
magick-kt-common/src/commonMain/kotlin/imagemagick/core/matrices/ConvolveMatrix.kt
Gounlaf
692,782,810
false
{"Kotlin": 954080, "C": 942148, "C++": 3285}
package imagemagick.core.matrices /** * Encapsulates a convolution kernel. */ public interface ConvolveMatrix : DoubleMatrix
0
Kotlin
0
0
a075a88d293b5c77668d8079c73b463c2d601fc8
128
Magick.KT
MIT License
app/src/main/java/com/example/ruslanyussupov/popularmovies/ConnectivityReceiver.kt
ruslanyussupov
122,436,627
false
null
package com.example.ruslanyussupov.popularmovies import android.content.BroadcastReceiver import android.content.Context import android.content.Intent import android.net.ConnectivityManager class ConnectivityReceiver : BroadcastReceiver() { lateinit var connectivityReceiverListener: ConnectivityReceiverListener ...
0
Kotlin
0
0
612674df598a86889a451f285c6aef9105838771
813
popular-movies
MIT License
app/src/main/java/com/farsheel/mypos/view/cart/CartFragment.kt
farsheel
200,694,316
false
null
package com.farsheel.mypos.view.cart import android.content.Context import android.graphics.Color import android.os.Bundle import android.os.Handler import android.view.HapticFeedbackConstants import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.LinearLayout i...
0
Kotlin
1
3
100b822a2db7ae84b3de39c801cf042fd10ed9b8
9,209
my_pos_android
Apache License 2.0
app/src/main/java/com/example/exam/MainActivity.kt
lavinia06
767,497,189
false
{"Kotlin": 113869}
package com.example.exam //import ListAnalitics //import ListPageParticipant import ListSupplier import com.example.exam.App import android.os.Bundle import androidx.activity.ComponentActivity import androidx.activity.compose.setContent import androidx.navigation.NavType import androidx.navigation.compose.NavHost imp...
0
Kotlin
0
0
f9c9c93eeaa983bb520752432826ea37e2decaf8
3,846
MobileApp
MIT License
Framework/src/main/kotlin/net/milosvasic/factory/component/installer/step/PackageManagerUninstallationStep.kt
Server-Factory
326,063,014
true
{"Kotlin": 470923, "Shell": 188}
package net.milosvasic.factory.component.installer.step import net.milosvasic.factory.component.packaging.PackageInstaller import net.milosvasic.factory.component.packaging.item.InstallationItem import net.milosvasic.factory.validation.Validator class PackageManagerUninstallationStep(private val toUninstall: List<Ins...
0
Kotlin
0
1
7c9a48ac22541c01d56cb7ed404348f9dbcf6d6d
689
Core-Framework
Apache License 2.0
app/src/main/kotlin/fr/simonlebras/radiofrance/ui/browser/di/components/RadioListComponent.kt
simonlebras
73,916,448
false
null
package fr.simonlebras.radiofrance.ui.browser.di.components import dagger.Subcomponent import dagger.android.AndroidInjector import fr.simonlebras.radiofrance.di.scopes.FragmentScope import fr.simonlebras.radiofrance.ui.browser.list.RadioListFragment @Subcomponent @FragmentScope interface RadioListComponent : Android...
0
Kotlin
0
2
ed57072599ebbb233b133d63c08c75f9f56444df
452
Radio-France
MIT License
main/src/desafios/resolvidos_Iniciante/20–SorteandoOrdem.kt
an-jorge
481,258,292
false
{"Kotlin": 16065}
package desafios.resolvidos_Iniciante fun main() { val students = mutableListOf<String>() repeat(4){ println("Digite o nome aluno: ") val names: String = readLine()!! students.add(names) } println("== Ordem de apresentaçāo ==") println(students.sorted()) }
1
Kotlin
1
1
d70e4e676b63af6e11e45d0d7c7ff2ae481d1d7c
304
Kotlin-Playground
MIT License
SharedCode/src/commonMain/kotlin/SearchStationsContract.kt
oliverob
385,532,089
true
{"Kotlin": 30188, "Swift": 13411}
package com.jetbrains.handson.mpp.mobile import kotlinx.coroutines.CoroutineScope interface SearchStationsContract { interface View { fun listStationsInListView(stationData: List<Station>) } abstract class Presenter: CoroutineScope { abstract fun getAndListStationsData(view: SearchStation...
0
Kotlin
0
0
551c4e8c4a16b596877789894393ba24923450e9
344
mpp-ios-android
Apache License 2.0
src/main/kotlin/com/aemtools/reference/common/reference/PsiDirectoryReference.kt
iannovic
107,144,305
true
{"Kotlin": 574047, "HTML": 14948, "Java": 4019, "Lex": 3652}
package com.aemtools.reference.common.reference import com.intellij.openapi.util.TextRange import com.intellij.psi.PsiDirectory import com.intellij.psi.PsiElement import com.intellij.psi.PsiReferenceBase /** * @author <NAME> */ class PsiDirectoryReference( val psiDirectory: PsiDirectory, element: Ps...
0
Kotlin
0
0
d9c1558872fd5e32f18e0bab0afa8f4495da95b0
563
aemtools
MIT License
src/main/kotlin/com/github/kuro46/embedscript/util/Scheduler.kt
kuro46
158,701,965
false
null
package com.github.kuro46.embedscript.util import com.google.common.util.concurrent.Futures import java.util.Collections import java.util.WeakHashMap import java.util.concurrent.Executors import java.util.concurrent.Future /** * @author shirokuro */ object Scheduler { private val threads: MutableSet<Thread> = C...
5
Kotlin
0
0
91c716bc2872a6bf21bdb9a816347cb9011f71b0
1,529
EmbedScript
Apache License 2.0
plugin/src/main/kotlin/com/jraska/module/graph/assertion/GraphRulesExtension.kt
jraska
227,907,412
false
null
package com.jraska.module.graph.assertion open class GraphRulesExtension { var maxHeight: Int = 0 var restricted = emptyArray<String>() // each restriction in format "regexp -X> regexp" e.g.: ":feature-[a-z]* -X> :forbidden-lib" var allowed = emptyArray<String>() // each allowance in format "regexp -> regexp" e....
3
null
22
522
03a3d40cae4c8625f3f80f0286214f3dd4fd4a78
657
modules-graph-assert
Apache License 2.0
core/src/main/kotlin/com/jjdev/equi/core/base/domain/AppError.kt
JanJarosDev
804,500,985
false
{"Kotlin": 113072}
package com.jjdev.equi.core.base.domain import javax.net.ssl.SSLPeerUnverifiedException /** * App error class that serves as a container for different error types. */ sealed class AppError { abstract fun toPrintableCode(): String abstract val originalException: Throwable /** * A simple error repr...
6
Kotlin
0
1
d2a617df46042dbc131f020deefe728b1d53ee9d
2,876
equi
Apache License 2.0
pokespeare-sdk/src/main/java/com/fgdc/pokespearesdk/data/source/pokemon/entity/pokemon/Type.kt
FelipeGDC
411,792,590
false
null
package com.fgdc.pokespearesdk.data.source.pokemon.entity.pokemon import com.squareup.moshi.Json import com.squareup.moshi.JsonClass @JsonClass(generateAdapter = true) data class Type( @Json(name = "name") var name: String? )
0
Kotlin
0
1
45572ebdfd25808ecb15ce6f63d1d8b013c70c15
236
PokeSpeare
MIT License
domain/src/main/java/vn/thailam/domain/usecases/GetListExampleUseCase.kt
ngthailam
710,795,027
false
{"Kotlin": 40074}
package vn.thailam.domain.usecases import kotlinx.coroutines.flow.Flow import vn.thailam.domain.models.Example import vn.thailam.domain.repositories.ExampleRepository import javax.inject.Inject class GetListExampleUseCase @Inject constructor( private val exampleRepository: ExampleRepository, ) { operator fun ...
4
Kotlin
0
0
f694fba45c30b16556971c7f73cf312ad1466e64
407
android-base
MIT License
app/src/main/java/com/example/fitfinder/data/repository/exercise/TrainingSessionsRepository.kt
OmriGawi
618,447,164
false
{"Kotlin": 235146}
package com.example.fitfinder.data.repository.exercise import android.util.Log import com.example.fitfinder.data.model.TrainingSession import com.example.fitfinder.data.repository.BaseRepository import com.google.android.gms.tasks.TaskCompletionSource import com.google.android.gms.tasks.Tasks import com.google.firebas...
0
Kotlin
0
0
aaa6f0858ee5d40d2688d3d22d03c92193e7c080
3,857
FitFinder
MIT License
custom-vu/src/main/kotlin/jces1209/vu/action/BrowsePopularFilters.kt
Mac-Ste
244,664,896
true
{"Kotlin": 320510}
package jces1209.vu.action import com.atlassian.performance.tools.jiraactions.api.ActionType import com.atlassian.performance.tools.jiraactions.api.action.Action import com.atlassian.performance.tools.jiraactions.api.measure.ActionMeter import com.atlassian.performance.tools.jiraactions.api.memories.Memory import jces...
0
Kotlin
0
0
b036176c7c568f0e1f8e75e265c9008244c1a1a6
859
jces-1209
Apache License 2.0
custom-vu/src/main/kotlin/jces1209/vu/action/BrowsePopularFilters.kt
Mac-Ste
244,664,896
true
{"Kotlin": 320510}
package jces1209.vu.action import com.atlassian.performance.tools.jiraactions.api.ActionType import com.atlassian.performance.tools.jiraactions.api.action.Action import com.atlassian.performance.tools.jiraactions.api.measure.ActionMeter import com.atlassian.performance.tools.jiraactions.api.memories.Memory import jces...
0
Kotlin
0
0
b036176c7c568f0e1f8e75e265c9008244c1a1a6
859
jces-1209
Apache License 2.0
api/src/main/kotlin/edu/wgu/osmt/api/model/ApiSearchV2.kt
wgu-opensource
371,168,832
false
{"TypeScript": 870780, "Kotlin": 663910, "HTML": 153260, "JavaScript": 87226, "Shell": 42875, "HCL": 13700, "SCSS": 9144, "Java": 8284, "Smarty": 5908, "Dockerfile": 477}
package edu.wgu.osmt.api.model import com.fasterxml.jackson.annotation.JsonInclude import com.fasterxml.jackson.annotation.JsonProperty import com.fasterxml.jackson.annotation.JsonRootName @JsonInclude(JsonInclude.Include.ALWAYS) data class ApiSearchV2( @JsonProperty("query") val query: String? = null, @...
59
TypeScript
9
38
661def32d727c19c77c0f8e5a9c78cda65ab047b
1,599
osmt
Apache License 2.0
api/src/main/kotlin/edu/wgu/osmt/api/model/ApiSearchV2.kt
wgu-opensource
371,168,832
false
{"TypeScript": 870780, "Kotlin": 663910, "HTML": 153260, "JavaScript": 87226, "Shell": 42875, "HCL": 13700, "SCSS": 9144, "Java": 8284, "Smarty": 5908, "Dockerfile": 477}
package edu.wgu.osmt.api.model import com.fasterxml.jackson.annotation.JsonInclude import com.fasterxml.jackson.annotation.JsonProperty import com.fasterxml.jackson.annotation.JsonRootName @JsonInclude(JsonInclude.Include.ALWAYS) data class ApiSearchV2( @JsonProperty("query") val query: String? = null, @...
59
TypeScript
9
38
661def32d727c19c77c0f8e5a9c78cda65ab047b
1,599
osmt
Apache License 2.0
src/main/kotlin/com/github/michaelbull/advent/day12/Position.kt
michaelbull
225,205,583
false
null
package com.github.michaelbull.advent.day12 data class Position( val x: Int, val y: Int, val z: Int ) { fun translate(x: Int = 0, y: Int = 0, z: Int = 0): Position { return copy( x = this.x + x, y = this.y + y, z = this.z + z ) } } private val RE...
0
Kotlin
0
2
d271a7c43c863acd411bd1203a93fd10485eade6
565
advent-2019
ISC License
JOOX_SDK_Demo_Android/app/src/main/java/com/tencent/joox/sdk/business/library/entity/LibraryPageEntity.kt
TencentCloud
386,706,230
false
{"Kotlin": 243250, "Java": 61143, "Shell": 454}
package com.tencent.joox.sdk.business.library.entity import com.tencent.joox.sdk.business.subscribe.entity.SubscribePlayListEntity import com.tencent.joox.sdk.data.entity.DiscoverSectionEntity import com.tencent.joox.sdk.data.entity.PageEntity import com.tencent.joox.sdk.data.entity.PageState class LibraryPageEntity(...
0
Kotlin
1
9
530745eeb83c331c549994b60ee223b464ece8be
484
joox-sdk-android
Apache License 2.0
app/src/main/java/com/neoapps/skijahorina/main/MainApplication.kt
MilosVulic
872,651,256
false
{"Kotlin": 120456}
package com.neoapps.skijahorina.main import android.app.Application import android.content.Context import android.content.res.Resources import androidx.appcompat.app.AppCompatDelegate import com.neoapps.skijahorina.common.PreferenceProvider import dev.b3nedikt.app_locale.AppLocale import dev.b3nedikt.reword.RewordInte...
0
Kotlin
0
0
58cd580894db16d14b8a849048299887fc790f24
1,207
Ski-Jahorina
MIT License
modules/core/arrow-test/src/main/kotlin/arrow/test/laws/ProfunctorLaws.kt
simonbasle
146,276,825
true
{"Kotlin": 1552802, "CSS": 142107, "JavaScript": 66545, "HTML": 11364, "Java": 4465, "Shell": 3043}
package arrow.test.laws import arrow.Kind2 import arrow.core.andThen import arrow.test.generators.genDoubleConstructor import arrow.test.generators.genFunctionAToB import arrow.typeclasses.Eq import arrow.typeclasses.Profunctor import io.kotlintest.properties.Gen import io.kotlintest.properties.forAll object Profunct...
0
Kotlin
0
0
22f63f5daa7529cf2192ea0282716d95c002dc33
3,051
arrow
Apache License 2.0
data/src/main/java/ronybrosh/rocketlauncher/data/repositories/LaunchRepositoryImpl.kt
ron-brosh
412,615,944
true
{"Kotlin": 88759}
package ronybrosh.rocketlauncher.data.repositories import android.annotation.SuppressLint import io.reactivex.Flowable import io.reactivex.Observable import io.reactivex.disposables.CompositeDisposable import io.reactivex.schedulers.Schedulers import io.reactivex.subjects.PublishSubject import ronybrosh.rocketlauncher...
0
null
0
0
43640b1aeea9812a1e75a9ade3b322705567682d
4,007
RocketLauncher
Apache License 2.0
app/src/main/java/src/MainScreen.kt
HansenBerlin
682,715,164
false
null
/* * Copyright 2023 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writin...
0
Kotlin
0
0
6e554ebe4ac4ba179946fe0f5c23d357d55ec309
4,849
ZBTDW
Apache License 2.0
app/src/main/java/com/example/mytransactions/domain/TransactionDetailUseCase.kt
zcufo123
463,680,121
false
{"Kotlin": 31968}
package com.example.mytransactions.domain import com.example.mytransactions.data.repository.TransactionRepository import javax.inject.Inject class TransactionDetailUseCase @Inject constructor(private val repository: TransactionRepository) { fun getTransactionDetail(id: Int) = repository.getLocalTransaction(id) ...
0
Kotlin
0
0
52d22bfc68628cf94aa96f751b9a107a283bf6c0
321
MyTransactions
Apache License 2.0
src/main/kotlin/com/mrivanplays/toggleinventory/commands/ToggleInventoryCommand.kt
MrIvanPlays
263,033,546
false
null
package com.mrivanplays.toggleinventory.commands import co.aikar.commands.BaseCommand import co.aikar.commands.MessageKeys import co.aikar.commands.annotation.CommandAlias import co.aikar.commands.annotation.CommandCompletion import co.aikar.commands.annotation.CommandPermission import co.aikar.commands.annotation.Def...
0
Kotlin
0
0
b7329f2872d9a3b2d8fe29009efe6bc5a45a7a12
4,589
ToggleInventory-Revamped
MIT License
xml/src/commonMain/kotlin/pw/binom/xml/dom/NameSpace.kt
caffeine-mgn
182,165,415
false
{"C": 13079003, "Kotlin": 1913743, "C++": 200, "Shell": 88}
package pw.binom.xml.dom data class NameSpace(val url: String)
7
C
2
59
580ff27a233a1384273ef15ea6c63028dc41dc01
63
pw.binom.io
Apache License 2.0
native/native.tests/testData/codegen/fileCheck/generic_safe_casts.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...
// TARGET_BACKEND: NATIVE // FILECHECK_STAGE: CStubs // FREE_COMPILER_ARGS: -Xbinary=genericSafeCasts=true value class Foo(val value: Int) // CHECK-LABEL: define ptr @"kfun:Foo#$<bridge-NUN>toString(){}kotlin.String(){}kotlin.String // CHECK-DEBUG-NOT: {{call|call zeroext}} i1 @IsSubtype // CHECK-OPT-NOT: {{call|call ...
181
Kotlin
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
1,382
kotlin
Apache License 2.0
app/src/main/java/com/example/basestructure/services/ApiImpl.kt
burakselcuk1
599,538,921
false
null
package com.example.basestructure.services import com.example.basestructure.services.Api import javax.inject.Inject class ApiImpl @Inject constructor(private val api: Api) { suspend fun getBtc() = api.getBtc() }
0
Kotlin
0
0
490b6d30e8af2aaa2e1f9b5e818ad5cd76e8c8eb
219
BaseStructure
The Unlicense
src/commonTest/kotlin/com/beetstra/blockbuster/TestItem.kt
JBeet
624,436,778
false
{"Kotlin": 13183}
package com.beetstra.blockbuster import kotlinx.serialization.Serializable @Serializable data class TestItem(val s: String, val i: Int)
0
Kotlin
0
0
6162b71380d59f9a5711096c787efee5e057472d
138
Blockbuster
MIT License
app/src/main/java/com/supdevinci/aieaie/view/WelcomeActivity.kt
romainfb
783,581,831
false
{"Gradle Kotlin DSL": 3, "Java Properties": 5, "Shell": 1, "Batchfile": 1, "Markdown": 1, "TOML": 1, "Proguard": 1, "Ignore List": 2, "Kotlin": 23, "XML": 19, "INI": 3, "Java": 2}
package com.supdevinci.aieaie.view import android.content.Intent import android.os.Bundle import android.view.View import android.widget.ImageView import androidx.activity.ComponentActivity import androidx.activity.compose.setContent import androidx.compose.foundation.background import androidx.compose.foundation.layo...
0
Java
0
0
6000277f7e6f84fe29f6d29cd6d6c7d94f0c70c3
4,281
astronaut-ai
MIT License
subprojects/gradle/module-types-validator/src/main/kotlin/com/avito/android/module_type/validation/configurations/missings/implementations/MissingImplementationDependencyExtension.kt
avito-tech
230,265,582
false
{"Gradle Kotlin DSL": 149, "Java Properties": 2, "Shell": 30, "Text": 155, "Ignore List": 2, "Batchfile": 2, "EditorConfig": 1, "Makefile": 1, "TOML": 2, "INI": 16, "Java": 25, "Markdown": 50, "YAML": 6, "Dockerfile": 6, "Kotlin": 2083, "JSON": 5, "Proguard": 5, "XML": 49, "Gradle": 3}
package com.avito.android.module_type.validation.configurations.missings.implementations import org.gradle.api.model.ObjectFactory import org.gradle.api.provider.SetProperty import javax.inject.Inject public abstract class MissingImplementationDependencyExtension @Inject constructor( objects: ObjectFactory ) { ...
10
Kotlin
47
403
3b46574c25dbeb0f21fe218207a37b070f9e5967
499
avito-android
MIT License
src/jsMain/kotlin/dev/inmo/jsuikit/elements/NavbarNavBuilder.kt
InsanusMokrassar
440,777,301
false
null
package dev.inmo.jsuikit.elements import androidx.compose.runtime.Composable import dev.inmo.jsuikit.modifiers.* import dev.inmo.jsuikit.utils.* import org.jetbrains.compose.web.attributes.AttrsScope import org.jetbrains.compose.web.dom.* import org.w3c.dom.* @Composable fun NavbarNav( elements: List<AttrsWithCon...
1
Kotlin
1
4
29fe133777070f685e6b2d6616997e182287f424
1,356
JSUIKitKBindings
MIT License
app/src/main/kotlin/com/github/devjn/githubsearch/view/BaseFragment.kt
devjn
89,781,518
false
{"Java": 141546, "Kotlin": 121017, "Objective-C": 13413, "C++": 178, "Ruby": 103}
package com.github.devjn.githubsearch.view import android.arch.lifecycle.ViewModel import android.content.Context import android.databinding.DataBindingUtil import android.databinding.ViewDataBinding import android.os.Bundle import android.support.annotation.LayoutRes import android.support.v4.app.Fragment import andr...
1
Java
1
2
a61d3bd55db1c211759fecbe26bf27f2f931402e
2,186
GithubSearch
Apache License 2.0
akommons-bindings/src/androidTest/java/com/dewarder/akommons/binding/string/TestStringView.kt
hluhovskyi
82,401,091
false
{"Kotlin": 261392}
package com.dewarder.akommons.binding.string import android.content.Context import android.view.View import com.dewarder.akommons.binding.string import com.dewarder.akommons.binding.stringOptional import com.dewarder.akommons.binding.strings import com.dewarder.akommons.binding.stringsOptional import com.dewarder.akom...
0
Kotlin
3
25
0c6001f673e3eeb25e364745ad9942c49737e875
1,435
AndroidKommons
Apache License 2.0
libs/project/SDK/QRCode/src/main/java/com/hl/qrcode/QRCodeUtil.kt
Heart-Beats
473,996,742
false
{"Kotlin": 1393280, "Java": 40623, "HTML": 2897, "AIDL": 1581}
package com.hl.qrcode import android.graphics.Bitmap import android.graphics.Color import androidx.annotation.FloatRange import androidx.annotation.Px import com.google.zxing.BarcodeFormat import com.king.zxing.util.CodeUtils /** * @author 张磊 on 2022/01/23 at 6:08 * Email: 913305160@qq.com */ object QRCodeUtil ...
1
Kotlin
3
2
7d297415585c0919845d928f8df0804ebe3c2b90
2,193
BaseProject
Apache License 2.0
src/main/kotlin/firebase/admin/database/ThenableReference.kt
theerasan
148,879,943
false
{"Kotlin": 30995, "JavaScript": 19437}
package firebase.admin.database external interface ThenableReference : Reference
3
Kotlin
1
12
e937799a04288207347a0204d0d44bc37e62e767
81
kotlin-firebase-interface
MIT License
echoframework/src/main/kotlin/org/echo/mobile/framework/model/GrapheneObject.kt
echoprotocol
151,734,824
false
null
package org.echo.mobile.framework.model import com.google.gson.annotations.Expose import org.echo.mobile.framework.support.Uint8 /** * Represents base graphene object model * * Encapsulates logic of parsing object id * * @author <NAME> */ open class GrapheneObject( @Expose protected var id: String ) : B...
0
Kotlin
2
5
92036a0665d706c219d183a4a7582f02b87b9f88
1,240
echo-android-framework
MIT License
solutions/src/main/kotlin/y2016/Y2016D08.kt
Jadarma
324,646,170
false
null
package y2016 import io.github.jadarma.aoc.AdventDay import y2016.Y2016D08.Instruction.Rectangle import y2016.Y2016D08.Instruction.RotateColumn import y2016.Y2016D08.Instruction.RotateRow class Y2016D08 : AdventDay(2016, 8) { /** An instruction for building the display. */ private sealed class Instruction { ...
0
Kotlin
0
3
3f36fc11261dee5583947dc1e1fbaa1e7d656b47
4,269
advent-of-code-kotlin
MIT License
Chapter06/Maps.kt
PacktPublishing
131,798,556
false
null
package quickstartguide.kotlin.chapter5.maps val map = mapOf(1 to "one", 2 to "two") val hashMap = hashMapOf(3 to "three", 4 to "four") val linkedMap = linkedMapOf(5 to "five", 6 to "six") val sortedMap = sortedMapOf(7 to "seven", 8 to "eight") val empty = emptyMap<Int, String>() val mutableMap = mutableMapOf(9 to "n...
1
Kotlin
8
9
5c781d2da36e8cb3407b8448c5cbff207fe34592
338
Kotlin-Quick-Start-Guide
MIT License
app/src/main/java/com/example/storyapplication/PokemonRepository.kt
nadavshalev67
814,504,279
false
{"Kotlin": 53933}
package com.example.storyapplication import com.example.storyapplication.data.PokemonMockData import com.example.storyapplication.room.PokemonDao import com.example.storyapplication.room.PokemonEntity import com.example.storyapplication.room.TypeWithPokemons import kotlinx.coroutines.flow.Flow interface PokemonReposi...
1
Kotlin
0
2
d3a51007947427626f1291169ee89f57e9dd9906
1,143
Story-Booker
Apache License 2.0
winmdj-core/src/main/kotlin/com/github/danielchemko/winmdj/core/autoobject/stubs/StubCustomAttributeImpl.kt
danielchemko
774,741,943
false
{"Kotlin": 284901}
package com.github.danielchemko.winmdj.core.autoobject.stubs import com.github.danielchemko.winmdj.core.MdObjectMapper import com.github.danielchemko.winmdj.core.autoobject.BaseWinMdStub import com.github.danielchemko.winmdj.core.mdspec.CLRMetadataType import com.github.danielchemko.winmdj.core.mdspec.CustomAttribute...
0
Kotlin
0
0
0d2a72ee7ea6f0dc05803b06039a8ac8bfc0dbd0
2,205
winmdj
MIT License
samples/corda-simple-application/clients/src/main/kotlin/com/cordaSimpleApplication/client/CustomSerializationWhitelist.kt
lehors
354,862,712
true
{"Kotlin": 228428, "Shell": 141962, "TypeScript": 128077, "Go": 110256, "JavaScript": 69634, "Rust": 44336, "Makefile": 19503, "Dockerfile": 4256, "Smarty": 2942, "ANTLR": 1108, "EJS": 49}
package com.cordaDriver import arrow.core.Either import net.corda.core.serialization.SerializationWhitelist // TODO: Documentation class CustomSerializationWhitelist : SerializationWhitelist { override val whitelist: List<Class<*>> = listOf( Either::class.java, Either.Right::class.java, ...
0
Kotlin
0
0
0ecd70a0b01cf8c14136ded13383207a3527b327
361
weaver-dlt-interoperability
Apache License 2.0
src/main/kotlin/org/jaqpot/api/entity/Library.kt
ntua-unit-of-control-and-informatics
790,773,279
false
{"Kotlin": 9895}
package org.jaqpot.api.entity import jakarta.persistence.* @Entity class Library( @Id @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "library_id_seq") @SequenceGenerator(name = "library_id_seq", sequenceName = "library_id_seq", allocationSize = 1) val id: Long = 0, @ManyToOne ...
0
Kotlin
0
0
ce3afeb1684b43e6857759402989565d5b93d9f9
503
jaqpot-api-v2
MIT License
backend/src/main/kotlin/br/tapajos/example/application/port/output/ObjectRepositoryPort.kt
yanBrandao
311,519,801
false
null
package br.tapajos.example.application.port.output import br.tapajos.example.application.domain.Objects import br.tapajos.example.application.domain.Objectt interface ObjectRepositoryPort: GenericRepositoryPort<Objectt>{ fun findNotUsedObject(): Objects }
0
Kotlin
0
0
4789957f09e2ef8fb874836aa4dd19eb4dc58f83
261
image_and_action
MIT License
app/src/main/java/com/example/stopwatch/service/StopwatchService.kt
abhineshchandra1234
847,032,620
false
{"Kotlin": 24632}
package com.example.stopwatch.service import android.app.NotificationChannel import android.app.NotificationManager import android.app.Service import android.content.Intent import android.content.pm.ServiceInfo.FOREGROUND_SERVICE_TYPE_MEDIA_PLAYBACK import android.os.Binder import android.os.Build import androidx.comp...
0
Kotlin
0
0
c86d07ea213a5d5bd68fd0444a74bd611cbaf831
6,855
Stopwatch
Apache License 2.0
app/src/main/java/com/masterplus/trdictionary/core/shared_features/premium/PremiumState.kt
Ramazan713
634,957,286
false
{"Kotlin": 1110654}
package com.masterplus.trdictionary.core.shared_features.premium import com.masterplus.trdictionary.core.domain.utils.UiText data class PremiumState( val isPremium: Boolean = false, val message: UiText? = null, val uiEvent: PremiumUiEvent? = null )
0
Kotlin
0
1
5c096081d631a769ba3a6390c298611c70295ccc
263
Turkce-ve-Osmanlica-Sozluk
Apache License 2.0
lib/src/main/java/me/turkergoksu/lib/model/FloatingObjectLocation.kt
turkergoksu
333,151,288
false
null
package me.turkergoksu.lib.model /** * Created by turkergoksu on 02-Feb-21. */ enum class FloatingObjectLocation { OUTER, INNER, CENTER }
0
Kotlin
1
28
0938e8324d9471d76bb0752e862dc20ce4e53db4
152
SocialOrbitLayout
MIT License
lib/src/main/java/me/turkergoksu/lib/model/FloatingObjectLocation.kt
turkergoksu
333,151,288
false
null
package me.turkergoksu.lib.model /** * Created by turkergoksu on 02-Feb-21. */ enum class FloatingObjectLocation { OUTER, INNER, CENTER }
0
Kotlin
1
28
0938e8324d9471d76bb0752e862dc20ce4e53db4
152
SocialOrbitLayout
MIT License
app/src/main/java/com/example/dkalita/pocopay/viewmodel/LoginViewModel.kt
rusmonster
124,943,430
false
null
package com.example.dkalita.pocopay.viewmodel import android.arch.lifecycle.ViewModel import android.content.Context import android.databinding.ObservableField import com.example.dkalita.pocopay.R import com.example.dkalita.pocopay.common.ApiErrorHandler import com.example.dkalita.pocopay.common.SingleLiveEvent import...
0
Kotlin
0
0
cf92d2a8ccf1b6879775bf0b25a5a71240e5fd6e
1,864
pocopayapi
Apache License 2.0
app/src/main/java/ir/sajjad/textsaver/fragment/AddTextFragment.kt
Sajjad-sojoudi
714,687,430
false
{"Kotlin": 19972}
package ir.sajjad.textsaver.fragment import android.content.Context import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.fragment.app.Fragment import androidx.navigation.fragment.findNavController import ir.sajjad.textsaver.R import ir.sajja...
0
Kotlin
0
1
2b55bcfde7d4fc5364a0ef75fc5229ecb263ac44
2,204
text_saver
MIT License
codeforces/round576/c.kt
mikhail-dvorkin
93,438,157
false
{"XML": 3, "Text": 1, "Ignore List": 1, "Markdown": 5, "Java": 988, "Shell": 20, "Python": 66, "Kotlin": 512, "INI": 1, "Batchfile": 2, "Diff": 1, "Haskell": 140}
package codeforces.round576 private fun solve() { val (n, m) = readInts() val taken = BooleanArray(3 * n) val matching = mutableListOf<Int>() for (i in 0 until m) { val (a, b) = readInts().map { it - 1 } if (taken[a] || taken[b]) continue taken[a] = true taken[b] = true matching.add(i) } val ans = if (...
0
Java
1
9
bf2846347011309aace0c4a04ac5355296dfbd90
825
competitions
The Unlicense
sdk_ads/src/main/java/com/sdk/ads/consent/ConsentManager.kt
ToanMobile
666,259,115
false
{"Kotlin": 122590}
//package com.sdk.ads.consent // //import android.app.Activity //import android.util.Log //import com.google.android.gms.ads.AdRequest //import com.google.android.ump.ConsentDebugSettings //import com.google.android.ump.ConsentInformation.ConsentStatus.NOT_REQUIRED //import com.google.android.ump.ConsentInformation.Con...
0
Kotlin
0
0
5809715adf90984c4c274bcf9e8cee04e1f9f1a3
3,794
SDKAds
MIT License
src/main/kotlin/org/move/lang/core/psi/ext/MoveType.kt
WormholeStudio
386,158,725
true
{"Kotlin": 522703, "Lex": 7602, "HTML": 131}
package org.move.lang.core.psi.ext import com.intellij.lang.ASTNode import org.move.lang.core.psi.MoveElementImpl import org.move.lang.core.psi.MoveType import org.move.lang.core.types.BaseType import org.move.lang.core.types.TypeVarsMap abstract class MoveTypeMixin(node: ASTNode) : MoveElementImpl(node), MoveType { ...
0
null
0
0
eaf3fbfaf7183274cab9d88bb4dc25187eb534ad
393
intellij-move
MIT License
back-end/src/main/kotlin/com/apexdevs/backend/web/controller/routing/TopicController.kt
sanctuuary
360,515,462
false
null
/* * This program has been developed by students from the bachelor Computer Science at Utrecht University within the Software Project course. * © Copyright Utrecht University (Department of Information and Computing Sciences) */ package com.apexdevs.backend.web.controller.routing import com.apexdevs.backend.persist...
0
TypeScript
0
2
59611f01ff7bc89d7971b26f0354126e7bcde2d3
1,537
APE-Web
Apache License 2.0
axon/delivery-service/src/main/kotlin/com/microservice/axon/delivery/DeliveryApp.kt
gaortiz1
593,892,624
false
null
package com.microservice.axon.delivery import org.springframework.boot.autoconfigure.SpringBootApplication import org.springframework.boot.runApplication @SpringBootApplication class DeliveryApp fun main(args: Array<String>) { runApplication<DeliveryApp>(*args) }
0
Kotlin
0
0
9339fa9b104751034ba71f2ddb81429924a83b67
271
microservices-axon
MIT License