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
src/main/kotlin/com/devmpv/repositories/MessageRepository.kt
devmpv
74,987,245
false
null
package com.devmpv.repositories import com.devmpv.model.Message import com.devmpv.model.Projections.InlineAttachments import com.devmpv.model.Thread import org.springframework.data.domain.Page import org.springframework.data.domain.Pageable import org.springframework.data.repository.PagingAndSortingRepository import o...
0
Kotlin
0
2
51215cf787f1fdf107f2a72892550220b295e3b5
1,205
chan-reactor
MIT License
src/main/kotlin/net/iceice666/majosbroom/ItemRegistry.kt
iceice666
809,211,937
false
{"Kotlin": 4716, "Java": 1001}
package net.iceice666.majosbroom import net.iceice666.majosbroom.Utils.getIdentifier import net.iceice666.majosbroom.armor.MajoArmorMaterial import net.minecraft.item.ArmorItem import net.minecraft.item.Item import net.minecraft.registry.Registries import net.minecraft.registry.Registry object ItemRegistry { ...
0
Kotlin
0
0
88333ddcbd283f8f3640775553ade75fedbeba1e
1,139
majos-broom
MIT License
imitate/src/main/java/com/engineer/imitate/ui/fragments/di/DaggerPlayground.kt
REBOOTERS
65,188,539
false
null
package com.engineer.imitate.ui.fragments.di import dagger.Component import java.util.* import javax.inject.Inject import javax.inject.Singleton fun main() { testDagger() } private fun testDagger() { val TAG = "Dagger" val applicationGraph = DaggerApplicationGraph.create() val userRepo1 = applicat...
4
null
352
1,880
278998c8da1da2b47778dba3dbd3f2de1e12f2ed
1,685
AndroidAnimationExercise
Apache License 2.0
example/android/app/src/main/kotlin/com/example/skinny_app/MainActivity.kt
GitHubStuff
466,626,767
false
{"Dart": 35055, "HTML": 1503, "Ruby": 1353, "Swift": 404, "Kotlin": 135, "Objective-C": 38}
package com.sqliteviewer.sqlite_viewer import io.flutter.embedding.android.FlutterActivity class MainActivity: FlutterActivity() { }
0
Dart
0
0
3d5b86caad2d9d6511fc10635eb7a19e8a33690c
135
sqlite_viewer
The Unlicense
core/base/src/jsMain/kotlin/nl/adaptivity/xmlutil/core/impl/dom/DocumentTypeImpl.kt
pdvrieze
143,553,364
false
{"Kotlin": 3481762}
/* * Copyright (c) 2024. * * This file is part of xmlutil. * * This file is licenced to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You should have received a copy of the license with the source distribution. * Alternatively, y...
35
Kotlin
31
378
c4053519a8b6c90af9e1683a5fe0e9e2b2c0db79
1,163
xmlutil
Apache License 2.0
src/main/kotlin/org/vitrivr/cottontail/utilities/data/exporter/DataExporter.kt
corner4world
331,901,507
true
{"Kotlin": 1810171, "Dockerfile": 478}
package org.vitrivr.cottontail.utilities.data.exporter import org.vitrivr.cottontail.grpc.CottontailGrpc import org.vitrivr.cottontail.utilities.data.Format import java.nio.file.Path /** * A class that can be used for exporting data out of Cottontail DB. * * @author Ralph Gasser * @version 1.0.0 */ interface Da...
0
Kotlin
0
0
7303b1b7ee5486a69cb88752127088956ebde6ba
879
cottontaildb
MIT License
app/src/main/java/fr/enssat/babelblock/mentlia/MainActivity.kt
cforgeard
340,957,893
false
null
package fr.enssat.babelblock.mentlia import android.Manifest import android.content.Context import android.content.DialogInterface import android.content.Intent import android.content.pm.PackageManager import android.net.Uri import android.os.Bundle import android.provider.Settings import android.view.Menu import andr...
0
Kotlin
1
2
61af551a98c7910d810e8053f336760ccd7883a0
9,504
AndroidVoiceTranslator
Apache License 2.0
tv/tv-material/src/main/java/androidx/tv/material3/NavigationDrawerScope.kt
androidx
256,589,781
false
{"Kotlin": 98730775, "Java": 63409851, "C++": 9124958, "AIDL": 591191, "Python": 308602, "Shell": 186401, "TypeScript": 40586, "HTML": 29764, "Groovy": 24103, "Svelte": 20307, "ANTLR": 19860, "C": 16935, "CMake": 15482, "GLSL": 3842, "Swift": 3153, "JavaScript": 3019}
/* * Copyright 2023 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
26
Kotlin
901
4,964
155b4777a51e77095ca1609b1c514d37933d8828
1,226
androidx
Apache License 2.0
app/src/main/java/com/beomjo/whitenoise/di/FirebaseModule.kt
beomjo
341,792,497
false
null
/* * Designed and developed by 2021 beomjo * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
6
Kotlin
0
7
bd0906f72c92431a66cb365fe85062ba0d3d700a
2,170
white-noise-player
Apache License 2.0
dsl/src/test/kotlin/de/bebauer/webflux/handler/dsl/HandlerDslTests.kt
bebauer
159,832,834
false
null
package de.bebauer.webflux.handler.dsl import io.kotest.core.spec.style.WordSpec import io.kotest.data.forAll import io.kotest.data.row import io.kotest.matchers.shouldBe import org.springframework.http.HttpStatus import org.springframework.web.reactive.function.BodyInserters.fromValue import org.springframework.web.r...
0
Kotlin
0
0
d550e0b6227f4325060c5ac2e4d6135e0f584cb9
4,198
webflux-handler-dsl
Apache License 2.0
plugins/kotlin/idea/src/org/jetbrains/kotlin/idea/inspections/collections/RemoveUselessCallFix.kt
ingokegel
72,937,917
false
null
// Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package org.jetbrains.kotlin.idea.inspections.collections import com.intellij.codeInspection.LocalQuickFix import com.intellij.codeInspection.ProblemDescriptor...
1
null
1
2
b07eabd319ad5b591373d63c8f502761c2b2dfe8
910
intellij-community
Apache License 2.0
view/src/test/java/cmm/apps/esmorga/view/viewmodel/login/LoginViewModelTest.kt
cmm-apps-android
797,188,002
false
{"Kotlin": 146446}
package cmm.apps.esmorga.view.viewmodel.login import android.app.Application import cmm.apps.esmorga.domain.result.Success import cmm.apps.esmorga.domain.user.PerformLoginUseCase import cmm.apps.esmorga.view.login.LoginViewModel import cmm.apps.esmorga.view.login.model.LoginEffect import cmm.apps.esmorga.view.viewmode...
0
Kotlin
0
0
b22d3ad05d6b8aba2d2ab25ffd85c8e777025049
1,321
EsmorgaAndroid
The Unlicense
cli/src/main/kotlin/org/nessus/didcomm/cli/RunCommand.kt
tdiesler
578,916,709
false
{"Kotlin": 620123, "Python": 19397, "HTML": 13066, "Java": 3170, "Shell": 2174, "Open Policy Agent": 1617, "CSS": 458, "Dockerfile": 196}
/*- * #%L * Nessus DIDComm :: CLI * %% * Copyright (C) 2022 - 2023 Nessus * %% * 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 * ...
26
Kotlin
1
8
ae9539dc74cd867be61946e5a7912a6611f1d8a2
2,365
nessus-didcomm
Apache License 2.0
feature-router/src/main/java/io/github/zohrevand/dialogue/feature/router/RouterViewModel.kt
zohrevand
510,113,579
false
{"Kotlin": 271495}
package io.github.zohrevand.dialogue.feature.router import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import dagger.hilt.android.lifecycle.HiltViewModel import io.github.zohrevand.dialogue.core.data.repository.PreferencesRepository import io.github.zohrevand.dialogue.feature.router.RouterUiS...
1
Kotlin
2
11
9607aed6f182d3eb051e5da4cee6ddf82c659690
1,373
dialogue
Apache License 2.0
kt/godot-library/src/main/kotlin/godot/gen/godot/CSGMesh.kt
ShalokShalom
343,354,086
true
{"Kotlin": 516486, "GDScript": 294955, "C++": 262753, "C#": 11670, "CMake": 2060, "Shell": 1628, "C": 959, "Python": 75}
// THIS FILE IS GENERATED! DO NOT EDIT IT MANUALLY! @file:Suppress("PackageDirectoryMismatch", "unused", "FunctionName", "RedundantModalityModifier", "UNCHECKED_CAST", "JoinDeclarationAndAssignment", "USELESS_CAST", "RemoveRedundantQualifierName") package godot import godot.annotation.GodotBaseType import god...
0
null
0
1
7b9b195de5be4a0b88b9831c3a02f9ca06aa399c
1,476
godot-jvm
MIT License
octopuscoroutine/src/main/java/ru/volkdown/octopuscoroutine/CoroutineInnerFeatureSubscriber.kt
volkdown
237,741,034
false
null
package ru.volkdown.octopuscoroutine import kotlinx.coroutines.channels.BroadcastChannel import kotlinx.coroutines.channels.sendBlocking import kotlinx.coroutines.flow.Flow import kotlinx.coroutines.flow.asFlow import ru.volkdown.coreoctopus.BaseFeatureEvent import ru.volkdown.coreoctopus.FeatureEventListener class C...
0
Kotlin
0
6
090509a0fba784a6a109c7944a012515a20c0d75
778
octopus
MIT License
src/main/kotlin/com/exactpro/th2/sim/template/rule/TemplateAbstractRule.kt
th2-net
317,861,573
true
{"Kotlin": 49119, "Dockerfile": 410}
/******************************************************************************* * Copyright 2020-2021 Exactpro (Exactpro Systems Limited) * * 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...
0
null
5
0
62e0536369cc554137cfcd5e99bc9ea0166c4601
1,734
th2-sim-template
Apache License 2.0
app/src/main/java/com/kumcompany/uptime/presentation/screens/search/SearchScreen.kt
pluzarev-nemanja
769,557,772
false
{"Kotlin": 106416}
package com.kumcompany.uptime.presentation.screens.search import android.app.Activity import androidx.compose.foundation.layout.PaddingValues import androidx.compose.material3.MaterialTheme import androidx.compose.material3.Scaffold import androidx.compose.runtime.Composable import androidx.compose.runtime.SideEffect ...
0
Kotlin
0
0
3f623c7f1bc334327b461e1af7026d454efe62dd
1,792
UpTime
MIT License
lib-util/src/main/kotlin/org/stellar/anchor/client/Sep10Client.kt
stellar
452,893,461
false
{"Kotlin": 2236867, "Java": 1313406, "Smarty": 2448, "Makefile": 659, "Shell": 513, "Dockerfile": 483}
package org.stellar.anchor.client import java.net.URL import org.stellar.anchor.api.exception.SepNotAuthorizedException import org.stellar.anchor.api.sep.sep10.ChallengeResponse import org.stellar.anchor.api.sep.sep10.ValidationRequest import org.stellar.anchor.api.sep.sep10.ValidationResponse import org.stellar.ancho...
10
Kotlin
33
35
755e2c6d3df826282b4931bb92a03306d5956076
2,699
java-stellar-anchor-sdk
Apache License 2.0
src/commonMain/kotlin/org/andstatus/game2048/view/Help.kt
andstatus
299,049,641
false
null
package org.andstatus.game2048.view import korlibs.korge.view.position fun ViewData.showHelp(): MyWindow = myWindow("help_title") { wrappableText( stringResources.text("help"), winWidth - 2 * cellMargin, defaultTextSize.toDouble(), gameColors.labelText, font, Gravity.LEFT ) { position(...
7
null
11
61
7ab38d367cf8070ebc9a11a61a1983679846375f
494
game2048
Apache License 2.0
samples/nav/desktopApp/src/main/kotlin/com/eygraber/vice/samples/nav/desktop/SampleNavDesktopApp.kt
eygraber
740,196,321
false
{"Kotlin": 47138, "Shell": 1351}
package com.eygraber.vice.samples.nav.desktop import androidx.compose.ui.window.singleWindowApplication import com.eygraber.vice.samples.nav.shared.App fun main() { // UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName()) singleWindowApplication(title = "Nav") { App() } }
1
Kotlin
1
6
dd4b3812e8e396e74e8f2345fa013a3dae71ac18
299
vice
MIT License
community/community-core-model/src/main/kotlin/org/orkg/community/domain/ObservatoryFilterId.kt
TIBHannover
197,416,205
false
{"Kotlin": 4976122, "Cypher": 219418, "Python": 4881, "Shell": 2767, "Groovy": 1936, "HTML": 240}
package org.orkg.community.domain import java.util.* data class ObservatoryFilterId(val value: UUID) { constructor(s: String) : this(UUID.fromString(s)) override fun toString() = value.toString() }
0
Kotlin
0
4
c40b2ed7d55a3c45ebd42680ff16474adc341eab
210
orkg-backend
MIT License
src/client/kotlin/io/urokhtor/minecraft/containertooltips/rendering/RenderingConstants.kt
Urokhtor
739,790,956
false
{"Kotlin": 14347, "Java": 3310}
package io.urokhtor.minecraft.containertooltips.rendering import net.minecraft.util.Identifier const val Y_START: Int = 10 const val MAX_ROW_LENGTH: Int = 9 const val ITEM_SIZE_X: Int = 18 const val ITEM_SIZE_Y: Int = 20 /** * The padding in pixels applied by Minecraft's TooltipBackgroundRenderer. */ const val TOO...
0
Kotlin
0
0
d02b4e88003f8521cec71f21a856ad7ceeecd553
519
container-tooltips
Creative Commons Zero v1.0 Universal
app/src/main/java/com/breezefieldbluebarry/features/weather/api/WeatherRepoProvider.kt
DebashisINT
796,591,497
false
{"Kotlin": 14413602, "Java": 1021634}
package com.breezefieldbluebarry.features.weather.api import com.breezefieldbluebarry.features.task.api.TaskApi import com.breezefieldbluebarry.features.task.api.TaskRepo object WeatherRepoProvider { fun weatherRepoProvider(): WeatherRepo { return WeatherRepo(WeatherApi.create()) } }
0
Kotlin
0
0
b6c9ab260c1f9791fe80aaa1c70439f2fc6b2e3b
302
BlueBarrPaints
Apache License 2.0
app/src/main/java/com/androiddevs/firebasefirestore/Person.kt
abhinay100
698,626,811
false
{"Kotlin": 8424}
package com.androiddevs.firebasefirestore data class Person( var firstName: String = "", var lastName: String = "", var age: Int = -1 )
0
Kotlin
0
0
8e739c447c2d7237e50b040990a65f680e75d394
148
FirebaseFirestore
MIT License
plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceRangeStartEndInclusiveWithFirstLast/startLongRange.kt
ingokegel
72,937,917
true
null
// WITH_STDLIB fun foo() { var range : LongRange = 1L..2L range.<caret>start }
1
null
1
2
b07eabd319ad5b591373d63c8f502761c2b2dfe8
88
intellij-community
Apache License 2.0
app/src/main/java/nz/co/trademe/techtest/listingsdetail/presentation/SearchListingsScreen.kt
aldefy
187,426,585
false
null
package nz.co.trademe.techtest.listingsdetail.presentation import androidx.lifecycle.Lifecycle import androidx.lifecycle.LifecycleObserver import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import com.bumptech.glide.Glide import com.uber.autodispose.LifecycleScopeProvider import io.reactivex....
1
null
1
3
a3cdae34813dff56673245ae12540d70152e24d8
2,085
TradeMe-Demo-app
MIT License
spring-webflux/src/test/kotlin/org/springframework/web/reactive/function/server/ServerRequestExtensionsTests.kt
yejianwu1974
169,584,911
true
{"Java": 36891047, "Kotlin": 165149, "HTML": 45788, "Groovy": 38175, "AspectJ": 31907, "FreeMarker": 16043, "CSS": 13070, "GAP": 6137, "XSLT": 2945, "Ruby": 1060, "JavaScript": 916, "Smarty": 700, "PLpgSQL": 304, "Python": 254}
/* * Copyright 2002-2019 the original author or 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 required by ap...
0
Java
0
0
4ad3237717df96c33a1b3f44819dc96d11275998
1,583
spring-framework
Apache License 2.0
1_Two Sum.kt
gauthampaimk
834,774,928
false
{"Kotlin": 2371}
/* * Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target. * You may assume that each input would have exactly one solution, and you may not use the same element twice. * You can return the answer in any order. Example 1: Input: nums = [2,7,11,15], t...
0
Kotlin
0
0
c9680782d2c8f9ce9a6277ef5198ea746341be27
928
leetcode
MIT License
src/main/kotlin/br/com/orange/validation/KeyType.kt
Kaiofprates
354,880,407
true
{"Kotlin": 30043}
package br.orange.zup.register import io.micronaut.validation.validator.constraints.EmailValidator import org.hibernate.validator.internal.constraintvalidators.hv.br.CPFValidator enum class KeyType { CPF { override fun valida(key: String?): Boolean { if(key.isNullOrBlank()){ re...
0
Kotlin
0
0
be06f89380ddef3960dcacfcc7d255f7efa5c59b
1,226
orange-talents-02-template-pix-keymanager-rest
Apache License 2.0
zenkey-sdk/src/main/kotlin/com/xci/zenkey/sdk/internal/ktx/TelephonyManager.kt
MyZenKey
212,171,855
false
null
/* * Copyright 2019-2020 ZenKey, LLC. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
0
Kotlin
1
3
a8c0d8f7796920cfd47f05a7bb98f211974d31a3
950
sp-sdk-android
Apache License 2.0
codegen/src/main/kotlin/org/jetbrains/research/ktglean/angle/generation/GenerateType.kt
e2e4b6b7
476,404,280
false
{"Kotlin": 85849, "ANTLR": 2903}
package org.jetbrains.research.ktglean.angle.generation import com.squareup.kotlinpoet.ParameterizedTypeName.Companion.parameterizedBy import org.jetbrains.research.ktglean.angle.data.* import org.jetbrains.research.ktglean.angle.generation.context.* fun GenerationContext.generateType(type: Type, reservedName: String...
0
Kotlin
0
4
84b9d903f16cf9300bf5d0c0930b37b7e480b0dd
2,653
KtGlean
Apache License 2.0
data/src/main/java/com/infinitepower/newquiz/data/database/AppDatabase.kt
joaomanaia
443,198,327
false
null
package com.infinitepower.newquiz.data.database import android.annotation.SuppressLint import androidx.room.Database import androidx.room.RoomDatabase import androidx.room.TypeConverters import com.infinitepower.newquiz.data.database.util.converters.ListConverter import com.infinitepower.newquiz.data.database.util.con...
2
Kotlin
8
62
0dfff8721f37d61e8328f620ec3dd5a4d2f2c151
1,542
newquiz
Apache License 2.0
Base/src/main/java/com/meuus/base/network/NetworkBoundResource.kt
meuus90
280,310,581
false
null
package com.meuus.base.network import androidx.annotation.MainThread import androidx.annotation.WorkerThread import androidx.lifecycle.LiveData import androidx.lifecycle.MediatorLiveData import com.meuus.base.utility.SingleLiveEvent import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.runBlocking import kot...
0
Kotlin
0
0
6dca5e857873fce60b6e309a0368b830eeafe9a8
4,744
CleverBase
MIT License
app/src/main/java/com/govi/forage/ui/adapter/ForageableListAdapter.kt
govindgupta09
531,440,054
false
null
package com.example.forage.ui.adapter import android.view.LayoutInflater import android.view.ViewGroup import androidx.recyclerview.widget.DiffUtil import androidx.recyclerview.widget.ListAdapter import androidx.recyclerview.widget.RecyclerView import com.example.forage.databinding.ListItemForageableBinding import com...
0
null
0
2
28ed5015a6bddf7ca9e994647ad94d54d05be048
1,802
Forage-App-Kotlin-Google-Practice-Project
Apache License 2.0
compose/animation/animation/integration-tests/animation-demos/src/main/java/androidx/compose/animation/demos/ShrineCartDemo.kt
RikkaW
389,105,112
false
null
/* * Copyright 2021 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
29
null
937
7
6d53f95e5d979366cf7935ad7f4f14f76a951ea5
6,698
androidx
Apache License 2.0
theory/src/commonMain/kotlin/it/unibo/tuprolog/collections/rete/custom/leaf/AbstractIndexingLeaf.kt
tuProlog
230,784,338
false
null
package it.unibo.tuprolog.collections.rete.custom.leaf import it.unibo.tuprolog.collections.rete.custom.IndexingLeaf internal abstract class AbstractIndexingLeaf : IndexingLeaf { override fun invalidateCache() { /* do nothing */ } }
65
Kotlin
8
52
ac01a7814c5fc9ce33fcd66f6f936a6c94fc9f17
251
2p-kt
Apache License 2.0
app/src/main/java/pl/applover/androidarchitecture/views_presenters/start/start_fragment/main_fragment/MainFragmentModule.kt
ApploverSoftware
120,068,417
false
null
package pl.applover.androidarchitecture.views_presenters.start.start_fragment.main_fragment import android.content.Context import com.stfalcon.mvphelper.PresenterLoader import dagger.Module import dagger.Provides /** * Created by Janusz Hain on 2018-02-02. */ @Module class MainFragmentModule { @Provides fu...
0
Kotlin
0
0
b3ee9cf7cd6bd7369609ec95d187176fafb17ad6
498
hack4future-silamiasta-android
Apache License 2.0
app/src/main/java/com/antalya/coders/pigeon/models/ConversationListModel.kt
codersAntalya
118,904,739
false
null
package com.antalya.coders.pigeon.models /** * Created by kemalturk on 25.01.2018. */ class ConversationListModel { var id: String? = null var imageUrl: String? = null var name: String? = null var lastMessage: String? = null var date: String? = null }
0
Kotlin
0
1
2bc056d15e9ac86d031a5faeeb033c8bdd173c37
266
Pigeon
MIT License
cli/src/main/kotlin/dev/whyoleg/ktd/cli/tl/TlSchemeMetadata.kt
whyoleg
202,767,670
false
null
package dev.whyoleg.ktd.cli.tl import dev.whyoleg.ktd.cli.tl.parser.* data class TlScheme( val data: List<TlData>, val metadata: TlSchemeMetadata ) data class TlSchemeMetadata( val typesWithNullableProperties: Set<String>, val typesWithDefaultsProperties: Set<String> ) data class TlDataMetadata( ...
7
Kotlin
11
45
7284eeabef0bd002dc72634351ab751b048900e9
2,323
ktd
Apache License 2.0
app/src/main/java/com/codenesia/donasein/data/repository/DonateRepo.kt
Donasien
641,316,456
false
null
package com.codenesia.donasein.data.repository import android.util.Log import androidx.lifecycle.LiveData import androidx.lifecycle.liveData import com.codenesia.donasein.data.Results import com.codenesia.donasein.data.remote.network.ApiService import com.codenesia.donasein.data.remote.response.* import okhttp3.Multip...
0
Kotlin
0
0
23c9cd01802f18999004e4c1822ffba3c475f10c
3,538
Mobile-Development
MIT License
BazaarPay/src/main/java/ir/cafebazaar/bazaarpay/data/bazaar/account/AccountSharedDataSource.kt
cafebazaar
489,705,723
false
{"Kotlin": 379916, "Java": 39842}
package ir.cafebazaar.bazaarpay.data.bazaar.account import ir.cafebazaar.bazaarpay.data.SharedDataSource internal class AccountSharedDataSource: SharedDataSource() { override val fileName: String = ACCOUNT_DATA_SOURCE_FILE_NAME private companion object { const val ACCOUNT_DATA_SOURCE_FILE_NAME = "Ac...
2
Kotlin
2
9
cd3a3befd8eb51fc635133baf356d130502b5d49
334
BazaarPay
Apache License 2.0
bukkit/rpk-professions-bukkit/src/main/kotlin/com/rpkit/professions/bukkit/command/profession/experience/ProfessionExperienceSetCommand.kt
RP-Kit
54,840,905
false
null
/* * Copyright 2021 Ren Binden * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
51
null
11
22
aee4060598dc25cd8e4f3976ed5e70eb1bf874a2
5,473
RPKit
Apache License 2.0
android/app/src/main/kotlin/com/example/bmi_cal/MainActivity.kt
aleena-james
371,911,624
false
{"Dart": 6179, "HTML": 3693, "Swift": 404, "Kotlin": 124, "Objective-C": 38}
package com.example.bmi_cal import io.flutter.embedding.android.FlutterActivity class MainActivity: FlutterActivity() { }
0
Dart
0
0
33786f36edb4c848af76658cec8a65cd7e7ff8d0
124
BMI-calculator
MIT License
app/src/main/java/com/burrowsapps/gif/search/data/api/model/GifResponseDto.kt
jaredsburrows
61,517,561
false
null
package com.burrowsapps.gif.search.data.api.model import com.squareup.moshi.Json import com.squareup.moshi.JsonClass /** * Tenor Api Response. * * eg. https://g.tenor.com/v1/search?key=LIVDSRZULELA&tag=goodluck&limit=10 */ @JsonClass(generateAdapter = true) internal data class GifResponseDto( @field:Json(name =...
8
null
52
406
b1795fbbc0bc40f3ad06b06504733778b0755731
437
android-gif-search
Apache License 2.0
kotlin/sslc.kt
dplassgit
757,776,105
false
{"Scala": 31608, "Java": 23771, "C": 21978, "Ruby": 21400, "Kotlin": 17345, "C++": 16480, "Go": 16145, "Python": 13385, "Starlark": 3897, "Shell": 1376}
package com.plasstech.lang.ssl import kotlin.io.readLine class Sslc { companion object { @JvmStatic private fun tokens(program: String) { //val program = "pRiNtLn A J S 3" // 34.56 \n #comment \n 0.14" println("Program:\n$program") val lexer = Lexer(program) var token = lexer.nextTok...
5
Scala
0
1
d9565b5496e98b36fcf4756d256402fec6ef87e4
953
ssl-compilers
MIT License
kotlin/sslc.kt
dplassgit
757,776,105
false
{"Scala": 31608, "Java": 23771, "C": 21978, "Ruby": 21400, "Kotlin": 17345, "C++": 16480, "Go": 16145, "Python": 13385, "Starlark": 3897, "Shell": 1376}
package com.plasstech.lang.ssl import kotlin.io.readLine class Sslc { companion object { @JvmStatic private fun tokens(program: String) { //val program = "pRiNtLn A J S 3" // 34.56 \n #comment \n 0.14" println("Program:\n$program") val lexer = Lexer(program) var token = lexer.nextTok...
5
Scala
0
1
d9565b5496e98b36fcf4756d256402fec6ef87e4
953
ssl-compilers
MIT License
app/src/main/java/com/wegdut/wegdut/ui/message/like/LikeFragment.kt
laishere
301,439,203
false
null
package com.wegdut.wegdut.ui.message.like import com.wegdut.wegdut.R import com.wegdut.wegdut.data.message.like.LikeMessage import com.wegdut.wegdut.ui.message.SimpleMessageFragment class LikeFragment : SimpleMessageFragment<LikeMessage>(R.layout.fragment_notification_like)
0
Kotlin
2
6
b62720ce8fbe79817b9c05e6bb1eeff09f53e804
276
wegdut-android
MIT License
src/main/java/org/cuongnv/consoleformatter/ConsoleFormat.kt
cuongnv126
413,774,350
false
null
package org.cuongnv.consoleformatter object ConsoleFormat { fun String.fixLeft(length: Int): String { return String.format("%1$" + length + "s", this) } fun String.fixRight(length: Int): String { return String.format("%1$-" + length + "s", this) } fun String.color(color: String): ...
0
Kotlin
0
0
3172ffd3d79258f114783d1c949c3aa4fc6e73b8
387
consoleformatter
Apache License 2.0
MomentumSDK/src/iosTest/kotlin/com/mwaibanda/momentum/iosTest.kt
MwaiBanda
509,266,324
false
null
package com.mwaibanda.momentum import kotlin.test.Test import kotlin.test.assertTrue class IosGreetingTest { @Test fun testExample() { assertTrue(true, "Check iOS is mentioned") } }
0
null
4
36
a8831d17bdfb4d6dcfdb9b42141ed4e2286e63e6
204
Momentum
MIT License
mine/src/main/java/com/example/mine/MineViewModel.kt
replice
673,754,127
false
null
package com.example.mine import androidx.lifecycle.MutableLiveData import com.example.common.base.BaseViewModel import com.example.mine.repo.IMineResource import com.example.service.repo.UserInfo class MineViewModel(private val repo: IMineResource): BaseViewModel() { val liveUserInfo = repo.liveUserInfo /**...
0
Kotlin
0
0
b8069e56124ae4d106e6e922619d6131c5048d99
458
UatShopping
Apache License 2.0
src/test/kotlin/component/GatheringSimulatorRequestsTest.kt
ODIM-Project
355,910,204
false
null
/* * Copyright (c) Intel Corporation * * 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...
1
Kotlin
0
7
7e8a3030ca83c040678f8edf76def588b2b01cca
1,372
BMCSimulator
Apache License 2.0
browser-kotlin/src/jsMain/kotlin/web/workers/Worker.kt
karakum-team
393,199,102
false
null
// Automatically generated - do not modify! package web.workers import js.array.ReadonlyArray import js.transferable.Transferable import web.events.EventHandler import web.events.EventTarget import web.messaging.MessageEvent import web.serialization.StructuredSerializeOptions import web.url.URL /** * This Web Worke...
0
null
8
36
95b065622a9445caf058ad2581f4c91f9e2b0d91
1,861
types-kotlin
Apache License 2.0
apps/microfrontend-toggler/src/main/kotlin/no/nav/paw/arbeidssoekerregisteret/config/KafkaProducer.kt
navikt
794,875,530
false
{"Kotlin": 319081, "Dockerfile": 335}
package no.nav.paw.arbeidssoekerregisteret.config import no.nav.paw.arbeidssoekerregisteret.model.Toggle import no.nav.paw.config.kafka.KafkaConfig import no.nav.paw.config.kafka.KafkaFactory import org.apache.kafka.clients.producer.Producer import org.apache.kafka.common.serialization.LongSerializer fun buildToggleK...
0
Kotlin
0
1
6c93d67cf37421aaaef2482e9baef7d5894deec8
712
paw-arbeidssoekerregisteret-monorepo-ekstern
MIT License
app/src/main/java/com/github/fajaragungpramana/igit/module/favorite/FavoriteViewModel.kt
fajaragungpramana
759,898,833
false
{"Kotlin": 114464}
package com.github.fajaragungpramana.igit.module.favorite import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import androidx.paging.PagingData import com.github.fajaragungpramana.igit.core.app.AppResult import com.github.fajaragungpramana.igit.core.domain.user.UserUseCase import dagger.hilt.a...
0
Kotlin
0
2
a9180669cf3a887207f6f41a4c558cba71e85c32
1,404
android.igit
Apache License 2.0
shared/src/commonMain/kotlin/com/daou/deliagent/shared/data/TimesRepository.kt
DaouMobile
435,697,747
false
null
package com.daou.deliagent.shared.data import com.daou.deliagent.shared.entity.ClipArticle import com.daou.deliagent.shared.di.TimesDatabaseWrapper import com.daou.deliagent.shared.entity.Article import com.daou.deliagent.shared.entity.SearchWord import com.daou.deliagent.shared.network.TimesApi import org.koin.core.c...
0
Kotlin
0
0
f78ee017da4245ce92a97ed53e4f8ef3ea2d5244
2,345
nytimes-kmm
Apache License 2.0
app/src/main/java/com/masterplus/mesnevi/features/search/presentation/search_result/SearchResultEvent.kt
Ramazan713
615,289,510
false
{"Kotlin": 443947}
package com.masterplus.mesnevi.features.search.presentation.search_result import com.masterplus.mesnevi.core.domain.constants.FontSizeEnum import com.masterplus.mesnevi.core.domain.constants.ShareItemEnum import com.masterplus.mesnevi.core.domain.model.ContentModel sealed class SearchResultEvent{ data class Searc...
0
Kotlin
0
0
7e29fcb261f1d4b3dc2d23d8ae27f7797da1a2c3
1,135
Mesnevi
Apache License 2.0
app/src/androidTest/java/de/niklasbednarczyk/nbweather/core/common/NBIntentTest.kt
NiklasBednarczyk
529,683,941
false
{"Kotlin": 1065284}
package de.niklasbednarczyk.nbweather.core.common import android.content.Intent import de.niklasbednarczyk.nbweather.core.common.intent.createEmailIntent import de.niklasbednarczyk.nbweather.core.common.intent.createUrlIntent import de.niklasbednarczyk.nbweather.test.common.tests.NBTest import org.junit.Test import ko...
14
Kotlin
0
1
aa09037fa77f495d6dbf5cdde88e4c2872fc1cf8
2,036
NBWeather
MIT License
app/src/main/java/com/jetpack/compose/maccalculator/MainActivity.kt
ccsavvy
302,519,165
false
null
package com.jetpack.compose.maccalculator import android.os.Bundle import android.util.Log import androidx.activity.ComponentActivity import androidx.compose.foundation.background import androidx.compose.foundation.border import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.* import a...
0
Kotlin
1
0
9207bad5a76a851c0966bfb21a19d0fe6091f57f
35,411
jetpack-calculator
MIT License
app/src/p_app/main/java/com/llj/architecturedemo/hook/HookHelper.kt
liulinjie1990823
133,350,610
false
null
package com.llj.architecturedemo.hook import android.app.Instrumentation /** * ArchitectureDemo. * describe: * author llj * date 2018/8/30 */ class HookHelper { companion object { @Throws(Exception::class) fun attachContext() { // 先获取到当前的ActivityThread对象 val activit...
1
null
1
1
7c5d7fe1e5e594baba19778e0ed857325ce58095
1,211
ArchitectureDemo
Apache License 2.0
src/main/kotlin/br/com/zup/pix/compartilhado/KeyManagerGrpcFactory.kt
frederico-neres
386,578,668
true
{"Kotlin": 28815, "Smarty": 2032, "Dockerfile": 133}
package br.com.zup.pix.compartilhado import br.com.zup.KeyManagerConsultaGrpcServiceGrpc import br.com.zup.KeyManagerGrpcServiceGrpc import br.com.zup.KeyManagerRemoveGrpcServiceGrpc import io.grpc.ManagedChannel import io.micronaut.context.annotation.Factory import io.micronaut.grpc.annotation.GrpcChannel import java...
0
Kotlin
0
0
f035b83efc26f2d88cb5709e8e486ed0a6dd9737
732
orange-talents-05-template-pix-keymanager-rest
Apache License 2.0
gara-photo-app-server/src/main/kotlin/org/contourgara/garaphotospringboot/domain/Media.kt
contour-gara
783,416,988
false
{"Kotlin": 108180, "Dockerfile": 808, "Shell": 611}
package org.contourgara.garaphotospringboot.domain import java.io.File data class Media(val files: List<File>) { init { require(files.size <= MAX_FILE_COUNT) { "files length must be between 0 and 4. [length = ${files.size}]" } } companion object { private const val MAX_FILE_COUNT = 4 ...
0
Kotlin
0
0
dfd906c70cdb262c885f3543a572c0318812671a
324
gara-photo-spring-boot
Creative Commons Zero v1.0 Universal
app/src/main/java/com/breezefsmpriyankaenterprises/features/location/api/LocationRepo.kt
DebashisINT
650,050,446
false
{"Kotlin": 13730372, "Java": 997354}
package com.breezefsmpriyankaenterprises.features.location.api import com.breezefsmpriyankaenterprises.app.Pref import com.breezefsmpriyankaenterprises.base.BaseResponse import com.breezefsmpriyankaenterprises.features.location.model.AppInfoInputModel import com.breezefsmpriyankaenterprises.features.location.model.App...
0
Kotlin
0
0
8375e7d02b960de5b663130a5f743f3afc3122e7
1,120
PriyankaEnterprises
Apache License 2.0
sample/todo-reaktive/src/commonTest/kotlin/com/arkivanov/mvikotlin/sample/todo/reaktive/controller/TodoListReaktiveControllerTest.kt
badoo
135,858,329
false
null
package com.arkivanov.mvikotlin.sample.todo.reaktive.controller import com.arkivanov.essenty.instancekeeper.InstanceKeeper import com.arkivanov.essenty.instancekeeper.InstanceKeeperDispatcher import com.arkivanov.essenty.lifecycle.Lifecycle import com.arkivanov.essenty.lifecycle.LifecycleRegistry import com.arkivanov....
10
null
70
825
39de85b944a52cd1878478e2c5c4921f8896920d
6,355
MVIKotlin
Apache License 2.0
app/src/main/java/com/quickbirdstudios/mvvmtalk/BaseFragment.kt
quickbirdstudios
129,719,136
false
null
package com.quickbirdstudios.mvvmtalk import com.quickbirdstudios.quickboot.architecture.QuickFragment import com.quickbirdstudios.rx.DisposeBag /** * Created by <NAME> on 12/04/2018. */ open class BaseFragment: QuickFragment() { val disposeBag = DisposeBag.create() override fun onDestroy() { disp...
1
null
1
15
9e15947f5098b46e0231ec11d30eb2f5c71947b2
371
platform-independent-mvvm-android
Apache License 2.0
src/main/kotlin/uk/gov/justice/digital/hmpps/prisonperson/mapper/ReferenceDataDomainMapper.kt
ministryofjustice
805,355,441
false
{"Kotlin": 421824, "Shell": 6374, "Dockerfile": 1365}
package uk.gov.justice.digital.hmpps.prisonperson.mapper import uk.gov.justice.digital.hmpps.prisonperson.dto.ReferenceDataDomainDto import uk.gov.justice.digital.hmpps.prisonperson.jpa.ReferenceDataDomain import java.time.ZonedDateTime fun ReferenceDataDomain.toDto(): ReferenceDataDomainDto = ReferenceDataDomainDto(...
4
Kotlin
0
1
a4a62a6ac3fc940f154ba8689b16cbd21adc6db4
604
hmpps-prison-person-api
MIT License
tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/edit/abstracts/EditLinkPreviewOptionsContainer.kt
InsanusMokrassar
163,152,024
false
{"Kotlin": 2656615, "Shell": 373}
package dev.inmo.tgbotapi.requests.edit.abstracts import dev.inmo.tgbotapi.abstracts.types.LinkPreviewOptionsContainer interface EditLinkPreviewOptionsContainer : LinkPreviewOptionsContainer @Deprecated("Renamed", ReplaceWith("EditLinkPreviewOptionsContainer", "dev.inmo.tgbotapi.requests.edit.abstracts.EditLinkPrevi...
8
Kotlin
23
313
092722fad8f0ca5de60741c1d7539fcb1e1e0479
418
ktgbotapi
Apache License 2.0
backend/src/main/kotlin/fr/gouv/cacem/monitorenv/domain/exceptions/CouldNotUpdateMissionException.kt
MTES-MCT
462,794,012
false
{"TypeScript": 1358478, "Kotlin": 815514, "Python": 209694, "Shell": 21375, "CSS": 19997, "JavaScript": 8409, "Makefile": 8169, "Dockerfile": 6554, "PLpgSQL": 4966, "HTML": 864}
package fr.gouv.cacem.monitorenv.domain.exceptions class CouldNotUpdateMissionException(message: String, cause: Throwable? = null) : Throwable(message, cause)
190
TypeScript
1
3
f755ce65909e473e564ff5e273b9b4930e82ad4d
164
monitorenv
MIT License
api/app/src/main/kotlin/packit/service/UserRoleService.kt
mrc-ide
599,186,390
false
{"Kotlin": 262866, "TypeScript": 183933, "Shell": 7544, "JavaScript": 2023, "CSS": 1626, "Dockerfile": 1112, "HTML": 904}
package packit.service import org.springframework.http.HttpStatus import org.springframework.stereotype.Service import packit.exceptions.PackitException import packit.model.Role import packit.model.User import packit.model.dto.UpdateRoleUsers import packit.model.dto.UpdateUserRoles interface UserRoleService { fun...
4
Kotlin
0
0
05d72bdf1185505559a0440830bd2acc90bf6081
3,808
packit
MIT License
client/android/div/src/test/java/com/yandex/div/core/view2/state/DivMultipleStateSwitcherTest.kt
divkit
523,491,444
false
null
package com.yandex.div.core.view2.state import android.app.Activity import com.yandex.div.DivDataTag import com.yandex.div.core.Div2Context import com.yandex.div.core.DivConfiguration import com.yandex.div.core.path import com.yandex.div.core.state.DivPathUtils.findDivState import com.yandex.div.core.state.DivStatePat...
7
null
128
2,240
dd102394ed7b240ace9eaef9228567f98e54d9cf
5,702
divkit
Apache License 2.0
src/main/kotlin/com/eta/shapes/web/ShapeExceptionHandler.kt
etashkinov
370,768,527
false
null
package com.eta.shapes.web import com.eta.shapes.api.exception.IntersectionException import com.eta.shapes.api.exception.NameAlreadyExistsException import com.fasterxml.jackson.databind.exc.ValueInstantiationException import org.apache.commons.logging.LogFactory import org.springframework.http.HttpHeaders import org.s...
0
Kotlin
0
0
3fdaff562ef628ceeb8ef876dd6e9cdd1a404258
3,456
shapes-example
MIT License
src/test/kotlin/algorithms/leetcode/medium/ReverseWordsInStringKtTest.kt
DenisLatushko
615,981,611
false
{"Kotlin": 129747}
package algorithms.leetcode.medium import org.junit.Test import org.junit.runner.RunWith import org.junit.runners.Parameterized import org.junit.runners.Parameterized.Parameters import kotlin.test.assertEquals @RunWith(Parameterized::class) class ReverseWordsInStringKtTest( private val str: String, private va...
0
Kotlin
0
0
3b57094ed800e5dbaf4a2def403902ebd5010c3b
931
leetcode
Apache License 2.0
src/test/kotlin/algorithms/leetcode/medium/ReverseWordsInStringKtTest.kt
DenisLatushko
615,981,611
false
{"Kotlin": 129747}
package algorithms.leetcode.medium import org.junit.Test import org.junit.runner.RunWith import org.junit.runners.Parameterized import org.junit.runners.Parameterized.Parameters import kotlin.test.assertEquals @RunWith(Parameterized::class) class ReverseWordsInStringKtTest( private val str: String, private va...
0
Kotlin
0
0
3b57094ed800e5dbaf4a2def403902ebd5010c3b
931
leetcode
Apache License 2.0
app/src/main/java/com/nqmgaming/furniture/presentation/main/notification/components/NotificationItem.kt
nqmgaming
803,271,824
false
{"Kotlin": 323752}
package com.nqmgaming.furniture.presentation.main.notification.components import android.util.Log import androidx.compose.foundation.background import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Row import androidx.compose.foundation.layout.Spacer import androidx.compose.foundat...
0
Kotlin
0
1
1c14c70be1f64a188d98e674f7cedf5433a98f30
4,111
furniture-shopping-asm
MIT License
app/src/main/java/com/example/returnpals/composetools/dashboard/Profile.kt
BC-CS481-Capstone
719,299,432
false
{"Kotlin": 353540, "Java": 57406}
package com.example.returnpals.composetools.dashboard import DashboardMenuScaffold import androidx.compose.foundation.Image import androidx.compose.foundation.background import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Spacer import androidx.compose.foundation.layout.fillMaxSi...
27
Kotlin
0
0
b9be2454004844edc5815e7e67db7a3ebe7c1c5f
5,652
ReturnPalsApp
MIT License
app/src/main/kotlin/org/andstatus/app/net/http/MisconfiguredSslHttpClientFactory.kt
andstatus
3,040,264
false
{"Kotlin": 3385973, "XSLT": 14655, "HTML": 14046, "CSS": 4427, "Shell": 707}
/* * Copyright (C) 2014 yvolk (<NAME>), http://yurivolkov.com * * 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 ...
86
Kotlin
69
306
6166aded1f115e6e6a7e66ca3756f39f0434663e
3,392
andstatus
Apache License 2.0
tools/plugin/gradle-plugin/plugin-build/plugin/src/main/java/dev/elide/buildtools/gradle/plugin/cfg/AssetContent.kt
elide-dev
506,113,888
false
null
package dev.elide.buildtools.gradle.plugin.cfg import com.google.protobuf.ByteString import tools.elide.assets.AssetBundle import tools.elide.assets.AssetBundleKt.assetContent import tools.elide.crypto.HashAlgorithm import tools.elide.data.CompressionMode import tools.elide.data.compressedData import tools.elide.data....
75
null
16
97
652036fb4e8394e8ad1aced2f4bbfaa9e00a5181
3,079
elide
MIT License
core/src/ru/deadsoftware/cavedroid/game/debug/DebugInfoStringsProvider.kt
fredboy
196,049,035
false
{"Kotlin": 187033, "Java": 114830, "Shell": 2635}
package ru.deadsoftware.cavedroid.game.debug import com.badlogic.gdx.Gdx import ru.deadsoftware.cavedroid.game.GameScope import ru.deadsoftware.cavedroid.game.mobs.MobsController import ru.deadsoftware.cavedroid.game.objects.DropController import ru.deadsoftware.cavedroid.game.world.GameWorld import javax.inject.Injec...
0
Kotlin
1
5
193c44ff3de8a8ad6395b9cb8863c1de6308b562
1,298
cavedroid
MIT License
app/shared/partnerships/impl/src/commonTest/kotlin/build/wallet/partnerships/PartnershipTransactionsRepositoryTest.kt
proto-at-block
761,306,853
false
{"C": 10436287, "Kotlin": 7417534, "Rust": 2134795, "Swift": 749653, "HCL": 335954, "Python": 333911, "Shell": 123335, "TypeScript": 106617, "C++": 64770, "Meson": 64234, "JavaScript": 36227, "Just": 30021, "Ruby": 9428, "Dockerfile": 5778, "Makefile": 3839, "Open Policy Agent": 1552, "Procfile": 80}
package build.wallet.partnerships import build.wallet.bitkey.f8e.FullAccountIdMock import build.wallet.coroutines.turbine.turbines import build.wallet.db.DbTransactionError import build.wallet.f8e.F8eEnvironment import build.wallet.f8e.partnerships.FakePartnershipTransfer import build.wallet.f8e.partnerships.GetPartne...
0
C
11
104
f0590b43294d9dbad067ed3f7fa2c1ddc84295ec
8,327
bitkey
MIT License
j2k/testData/fileOrElement/nullability/VariableInitializedWithTernaryNull.kt
JakeWharton
99,388,807
true
null
// !specifyLocalVariableTypeByDefault: true fun foo(b: Boolean) { val s: String? = if (b) "abc" else null }
0
Kotlin
28
83
4383335168338df9bbbe2a63cb213a68d0858104
111
kotlin
Apache License 2.0
app/src/main/java/app/sosapp/sos/sosapp/constants/AppConstants.kt
arupakaman
350,255,189
false
{"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "XML": 79, "YAML": 1, "Kotlin": 58, "Java": 1}
package app.sosapp.sos.sosapp.constants object AppConstants { const val MAX_SOS_CONTACTS = 10 }
0
Kotlin
0
0
8aa75c607c5a1c78b7274122b93e83b6770bf5d4
102
SOSApp-Lite
MIT License
presenceoverflow/src/main/java/org/woahoverflow/po/v3/handle/AccountHandler.kt
moderatorman
157,059,258
false
{"Java": 45957, "Kotlin": 13482}
package org.woahoverflow.po.v3.handle import com.mashape.unirest.http.Unirest import org.slf4j.LoggerFactory import org.woahoverflow.po.v3.PresenceOverflow object AccountHandler { var token: String? = null var loggedIn: Boolean = false var vip: Boolean = false var name: String = "" var id: Long = ...
1
null
1
1
8d2b2ab39e9be01f9cc5985ca01770930dde89b1
2,025
PresenceOverflow
MIT License
app/src/main/kotlin/batect/config/TaskSpecialisedConfigurationFactory.kt
batect
102,647,061
false
null
/* Copyright 2017-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 https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed t...
24
null
47
687
67c942241c7d52b057c5268278d6252301c48087
5,575
batect
Apache License 2.0
libraries/tools/kotlin-gradle-plugin-integration-tests/src/test/kotlin/org/jetbrains/kotlin/gradle/DifferentClassloadersIT.kt
JetBrains
3,432,266
false
null
/* * Copyright 2010-2022 JetBrains s.r.o. and Kotlin Programming Language contributors. * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. */ package org.jetbrains.kotlin.gradle import org.gradle.util.GradleVersion import org.jetbrains.kotlin.gradle.p...
9
null
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
4,296
kotlin
Apache License 2.0
mpp-library/feature/film_list/src/commonMain/kotlin/com/jaa/library/feature/filmList/useCase/FilterByTitleUseCaseInterface.kt
Jaime97
300,568,157
false
null
package com.jaa.library.feature.filmList.useCase import com.jaa.library.feature.filmList.model.FilmRowData interface FilterByTitleUseCaseInterface { interface FilterByTitleModelListener { fun onSuccess(filmList:List<FilmRowData>) } suspend fun execute(title:String, listener:FilterByTitleModelList...
1
null
1
2
38611cb56edfafcc5647049a0cf45a695bc97945
327
LikeAStarMpp
Apache License 2.0
src/test/kotlin/org/kstore/demo/stars/TestGameDescription.kt
minorbyte
194,674,817
false
{"Gradle": 1, "Gradle Kotlin DSL": 4, "INI": 1, "Shell": 3, "Text": 7, "Ignore List": 1, "Markdown": 1, "Java": 4, "Kotlin": 288, "JSON": 1, "XML": 1}
package org.kstore.demo.stars import org.kstore.demo.stars.common.* import org.kstore.demo.stars.rule.PlayerTurnStageType import org.kstore.demo.stars.rule.blueprint.* import org.kstore.demo.stars.rule.ship.ShipType import org.kstore.demo.stars.rule.tech.TechTree import org.kstore.randomItem class TestGameDescriptio...
0
Kotlin
0
0
b91a6a00d4e60a84dc8bceba5dd02c3aa352ca88
7,751
kotlin-reactive-store
MIT License
samples/client/3_1_0_unit_test/kotlin/src/main/kotlin/org/openapijsonschematools/client/schemas/validation/LongEnumValidator.kt
openapi-json-schema-tools
544,314,254
false
null
package org.openapijsonschematools.client.schemas.validation import org.openapijsonschematools.client.configurations.SchemaConfiguration import org.openapijsonschematools.client.exceptions.ValidationException interface LongEnumValidator<EnumType : LongValueMethod> { @Throws(ValidationException::class) fun val...
1
null
11
128
9006de722f74b7ca917e4e5d38e4cd6ab5ea6e78
385
openapi-json-schema-generator
Apache License 2.0
compiler/testData/loadJava/compiledKotlin/fromLoadJava/kotlinSignature/propagation/typeParameter/InheritNullability.kt
JakeWharton
99,388,807
false
null
package test public interface InheritNullability { public interface Super { public fun <A: CharSequence> foo(a: A) } public interface Sub: Super { override fun <B: CharSequence> foo(a: B) } }
179
null
5640
83
4383335168338df9bbbe2a63cb213a68d0858104
227
kotlin
Apache License 2.0
base/src/testFixtures/kotlin/proguard/testutils/ClassPoolUtil.kt
Guardsquare
263,266,232
false
{"Java": 5872772, "Smali": 1388507, "Kotlin": 1237210, "HTML": 5772}
package proguard.testutils import proguard.classfile.ClassPool import proguard.classfile.util.ClassPoolClassLoader import java.io.ByteArrayOutputStream import java.io.PrintStream import java.lang.reflect.InvocationTargetException /** * Runs the given class from the given classpool, captures the stdout returns the st...
10
Java
61
279
158061999ebd35ffa8e79a55cd38c06d0aeb10d7
1,470
proguard-core
Apache License 2.0
tmp/arrays/youTrackTests/1855.kt
DaniilStepanov
228,623,440
false
{"Git Config": 1, "Gradle": 6, "Text": 3, "INI": 5, "Shell": 2, "Ignore List": 3, "Batchfile": 2, "Markdown": 2, "Kotlin": 15942, "JavaScript": 4, "ANTLR": 2, "XML": 12, "Java": 4}
// Original bug: KT-26694 interface Base { fun foo() } class Der1 : Base { override fun foo() { println("Der1") } } class Der2 : Base { override fun foo() { println("Der2") } } class Der(var der: Base) : Base by der fun main(args: Array<String>) { val a = Der(Der1()) a.f...
1
null
1
1
602285ec60b01eee473dcb0b08ce497b1c254983
358
bbfgradle
Apache License 2.0
src/main/kotlin/codes/jakob/tstse/example/idiomatic/scopefunctions/apply.kt
The-Self-Taught-Software-Engineer
392,776,173
false
null
@file:Suppress("unused") package codes.jakob.tstse.example.idiomatic.scopefunctions import codes.jakob.tstse.example.common.Developer import codes.jakob.tstse.example.common.DeveloperType import codes.jakob.tstse.example.common.Notification import java.time.Clock import java.util.* import javax.mail.Message import ja...
0
null
2
3
2c90b9420c7e8188b3eee84838579bb6930efb68
2,099
Examples
MIT License
airbyte-cdk/java/airbyte-cdk/dependencies/src/main/kotlin/io/airbyte/commons/stream/AirbyteStreamStatusHolder.kt
tim-werner
511,419,970
false
{"Java Properties": 8, "Shell": 57, "Markdown": 1170, "Batchfile": 1, "Makefile": 3, "JavaScript": 31, "CSS": 9, "Python": 4183, "Kotlin": 845, "Java": 723, "INI": 10, "Dockerfile": 27, "HTML": 7, "SQL": 527, "PLpgSQL": 8, "TSQL": 1, "PLSQL": 2}
/* * Copyright (c) 2023 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.stream import io.airbyte.protocol.models.AirbyteStreamNameNamespacePair import io.airbyte.protocol.models.v0.AirbyteStreamStatusTraceMessage import io.airbyte.protocol.models.v0.AirbyteTraceMessage import io.airbyte.protocol.mo...
1
null
1
1
b2e7895ed3e1ca7c1600ae1c23578dd1024f20ff
1,274
airbyte
MIT License
idcloud-idv-connect/app/src/main/java/com/thalesgroup/kyc/idvconnect/gui/view/FacialGraphic.kt
ThalesGroup
236,450,814
false
null
package com.thalesgroup.kyc.idvconnect.gui.view import android.graphics.Canvas import android.graphics.Color import android.graphics.Paint import com.acuant.acuanthgliveness.model.LiveFaceDetails import com.google.android.gms.vision.face.Face /** * Graphics class for rendering eye position and face position. */ int...
1
null
1
2
2f7d6b9345f57354ba5eedfc96856bb545cea557
2,266
idcloud-kyc-sample-android
MIT License
compiler/testData/multiplatform/incompatibleCallables/common.kt
ivanpopelyshev
72,205,391
true
{"Java": 22748306, "Kotlin": 18640110, "JavaScript": 180163, "HTML": 47571, "Protocol Buffer": 44671, "Lex": 18051, "Groovy": 10124, "ANTLR": 9729, "CSS": 9358, "IDL": 6426, "Shell": 4704, "Batchfile": 3703}
platform fun f1() platform fun f2(name: String) platform fun f3(name: String) platform fun String.f3ext() platform fun f4(name: String) platform fun String.f5() platform fun f6(p1: String, p2: Int) platform fun <T> f7() internal platform fun f8() private platform fun f9() public platform fun f10() platform fun ...
0
Java
0
1
2df9daab1f9c7490f9a4557b0f00fcb5015a837e
890
kotlin
Apache License 2.0
core/api/src/main/kotlin/com/wansenai/api/basic/CustomerController.kt
wansenai
605,630,517
false
null
/* * Copyright 2023-2033 WanSen AI Team, Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance * with the License. A copy of the License is located at * * http://opensource.wansenai.com/apache2.0/ * * or in the "license" file...
28
null
4
66
7cb630645f167eaadf20939df034a319b7132665
2,362
eairp
Apache License 2.0
idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/mutableListOf.kt
JetBrains
278,369,660
false
null
// WITH_RUNTIME // FIX: Replace with `mutableListOf` function import java.util.Arrays fun test() { val a = Arrays.<caret>asList(1, 3, null) }
0
Kotlin
30
82
cc81d7505bc3e9ad503d706998ae8026c067e838
146
intellij-kotlin
Apache License 2.0
jps/jps-plugin/test/org/jetbrains/kotlin/jps/build/AbstractMultiplatformJpsTest.kt
JetBrains
278,369,660
false
null
/* * Copyright 2010-2018 JetBrains s.r.o. and Kotlin Programming Language contributors. * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. */ package org.jetbrains.kotlin.jps.build import org.jetbrains.kotlin.jps.build.dependeciestxt.ModulesTxt import...
179
null
5640
71
b6789690db56407ae2d6d62746fb69dc99d68c84
1,481
intellij-kotlin
Apache License 2.0
idea/idea-completion/testData/weighers/basic/PreferGetMethodToProperty.Data.kt
JakeWharton
99,388,807
false
null
package dependency import test.A fun A.getFaa() = 1
0
null
28
83
4383335168338df9bbbe2a63cb213a68d0858104
54
kotlin
Apache License 2.0
nab-shared/src/main/java/au/com/nab/android/shared/common/extensions/StringExtension.kt
nphausg
312,741,827
false
{"Kotlin": 163738, "Java": 1660, "Shell": 50}
// Use this annotation so you can call it from Java code like FormatUtils. @file:JvmName("FormatUtils") package com.linecorp.android.extensions import android.text.Spanned import androidx.core.text.HtmlCompat import java.math.BigInteger import java.security.MessageDigest fun String?.fileExtension(): String { ret...
0
Kotlin
0
0
af5cd949793467dbd4893bc5690cf5f1ce6eeed8
897
android.interview.nab
Apache License 2.0
compiler/testData/asJava/lightClasses/nullabilityAnnotations/ClassWithConstructorAndProperties.kt
JakeWharton
99,388,807
true
null
// ClassWithConstructorAndProperties class ClassWithConstructorAndProperties( val nullable: String?, val notNull: String )
179
Kotlin
5640
83
4383335168338df9bbbe2a63cb213a68d0858104
140
kotlin
Apache License 2.0