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/java/io/github/hnosmium0001/actionale/core/ListenerMap.kt
hnOsmium0001
253,158,845
false
null
package io.github.hnosmium0001.actionale.core import java.util.* interface ListenerMap<L> : MutableMap<Any, L> where L : Any { operator fun plusAssign(listener: L) { this[listener] = listener } } class HashListenerMap<L> : HashMap<Any, L>(), ListenerMap<L> where L : Any class LinkedHashListenerMap<L>...
0
Kotlin
1
1
dc6b7ca8945c2bb3659c5b4176bfe91005cb5432
542
Actionale
MIT License
app/src/main/kotlin/net/primal/android/user/accounts/UserAccountFetcher.kt
PrimalHQ
639,579,258
false
null
package net.primal.android.user.accounts import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.withContext import net.primal.android.core.utils.asEllipsizedNpub import net.primal.android.nostr.ext.asProfileMetadata import net.primal.android.nostr.ext.takeContentAsUserProfileStatsOrNull import net.primal.andr...
12
null
3
41
1528853a5255bf61c504012adb7770fab6d5a4bf
2,315
primal-android-app
MIT License
stream-api/src/main/kotlin/fund/cyber/markets/api/common/WebSocketCommandsParser.kt
yvladimir
113,311,451
true
{"Kotlin": 110822, "JavaScript": 15976, "HTML": 4428, "Shell": 464}
package fund.cyber.markets.api.common import com.fasterxml.jackson.databind.JsonNode import com.fasterxml.jackson.databind.ObjectMapper import fund.cyber.markets.api.common.IncomingMessageGetTopicType.* import fund.cyber.markets.api.common.IncomingMessageSubscribeTopicType.* import fund.cyber.markets.api.configuration...
0
Kotlin
0
0
bec8ce6f529287635edcf367f112c6a8646ea824
2,895
cyber-markets
MIT License
app/src/main/java/com/trifork/timandroid/di/TIMModule.kt
trifork
431,052,684
false
{"Kotlin": 51367}
package com.trifork.timandroid.di import android.content.Context import com.trifork.timandroid.TIM import com.trifork.timandroid.util.AuthenticatedUsers import com.trifork.timandroid.util.configureTIM import dagger.Module import dagger.Provides import dagger.hilt.InstallIn import dagger.hilt.android.qualifiers.Applica...
1
Kotlin
1
0
535991fedd2c69006cc4df7891675653ab35cd99
783
TIM-Example-Android
MIT License
kotlin-mui-icons/src/main/generated/mui/icons/material/VideoCameraBackSharp.kt
JetBrains
93,250,841
false
null
// Automatically generated - do not modify! @file:JsModule("@mui/icons-material/VideoCameraBackSharp") @file:JsNonModule package mui.icons.material @JsName("default") external val VideoCameraBackSharp: SvgIconComponent
10
null
5
983
7ef1028ba3e0982dc93edcdfa6ee1edb334ddf35
222
kotlin-wrappers
Apache License 2.0
src/main/kotlin/com/ff14/chousei/service/UserService.kt
FF14org
86,364,860
false
null
package com.ff14.chousei.service import org.apache.commons.lang3.StringUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.core.userdetails.UserDetails; import org.springframework.security.core.userdetails.UserDetailsService; import org.springframework.security.cor...
0
Kotlin
0
0
16531e6759c02222c4a2a98a4919339739900a8a
993
ChouseiFF14
Apache License 2.0
state-keeper/src/macosArm64Test/kotlin/com/arkivanov/essenty/statekeeper/Benchmarks.kt
arkivanov
385,374,863
false
{"Kotlin": 178160}
package com.arkivanov.essenty.statekeeper import com.arkivanov.essenty.parcelable.Parcelable import com.arkivanov.parcelize.darwin.decodeParcelable import com.arkivanov.parcelize.darwin.encodeParcelable import platform.Foundation.NSData import platform.Foundation.NSKeyedArchiver import platform.Foundation.NSKeyedUnarc...
3
Kotlin
11
342
c625395cdf916b831f66d57ad2c7fa11f65bb4ae
928
Essenty
Apache License 2.0
src/me/anno/utils/assertions/Assertions.kt
AntonioNoack
456,513,348
false
{"Kotlin": 10398329, "C": 236426, "Java": 6754, "Lua": 4404, "C++": 3070, "GLSL": 2698}
package me.anno.utils.assertions import me.anno.maths.Maths.sq import org.joml.Vector import kotlin.math.abs fun assertTrue(condition: Boolean, message: String = "condition failed") { if (!condition) throw IllegalStateException(message) } fun assertTrue(condition: Boolean, message: () -> String) { if (!condi...
0
Kotlin
3
22
cfd55a45577c26fc995c6cc665c402f75c2eaa40
2,713
RemsEngine
Apache License 2.0
app/src/main/java/com/example/androidcomponentillustration/ui/screen/impl/ComponentImplScreen.kt
RaheemJnr
581,824,263
false
{"Kotlin": 34206}
package com.example.androidcomponentillustration.ui.screen.impl import androidx.compose.foundation.background import androidx.compose.foundation.layout.* import androidx.compose.foundation.shape.CircleShape import androidx.compose.material.* import androidx.compose.material.icons.Icons import androidx.compose.material...
0
Kotlin
0
0
e8f7f51e6fc0a3ac391c2b9a822b7faefb384e4f
2,240
Android-component-illustration
Apache License 2.0
src/main/kotlin/tothrosch/json/bitmex/BitmexOrderSerializer.kt
ondrsh
753,599,143
false
{"Kotlin": 462633}
package tothrosch.json.bitmex /* class BitmexOrderSerializer(val exchangeImpl: Exchange.Impl): JsonSerializer<BitmexOrder>() { override fun serialize(value: BitmexOrder?, gen: JsonGenerator?, serializers: SerializerProvider?) { val hasOrderID = value!!.orderID != null gen!!.writeStartObject() value.price?.let...
0
Kotlin
0
0
63f01e03c623269084572837764433285df6e6f4
1,369
totec-engine-old
MIT License
models/src/main/java/lt/markmerkk/entities/SyncStatus.kt
marius-m
67,072,115
false
null
package lt.markmerkk.entities import javafx.scene.paint.Color /** * Defines sync status for the entries */ enum class SyncStatus { /** * Entry status is INVALID and should be handled accordingly. */ INVALID, /** * Entry is already in sync */ IN_SYNC, /** * Entry has so...
1
Kotlin
1
23
32711cad889f0450c40179f5e5a1f71937576971
1,489
wt4
Apache License 2.0
src/main/kotlin/org/move/lang/core/psi/ext/MoveStructDefField.kt
pontem-network
279,299,159
false
null
package org.move.lang.core.psi.ext import com.intellij.lang.ASTNode import org.move.ide.MoveIcons import org.move.lang.core.psi.MvStructField import org.move.lang.core.psi.impl.MvMandatoryNameIdentifierOwnerImpl import javax.swing.Icon abstract class MvStructFieldMixin(node: ASTNode) : MvMandatoryNameIdentifierOwnerI...
9
Kotlin
15
51
dbf98888e0fc900a5bcfce8c8e7834ad9d34dc4b
469
intellij-move
MIT License
kmqtt-broker/src/commonMain/kotlin/mqtt/Will.kt
davidepianca98
235,132,697
false
null
package mqtt import mqtt.packets.Qos import mqtt.packets.mqtt.MQTTConnect import mqtt.packets.mqttv5.MQTT5Connect import mqtt.packets.mqttv5.ReasonCode import validatePayloadFormat class Will(packet: MQTTConnect) { val retain: Boolean val qos: Qos val topic: String val payload: UByteArray val will...
0
Kotlin
14
60
c5ae6095b8f83eed28446b5afdf0140f99283e54
1,494
KMQTT
MIT License
src/test/kotlin/io/pixeloutlaw/minecraft/spigot/config/migration/models/ConfigMigrationStepTest.kt
MythicDrops
10,021,467
false
null
/* * This file is part of MythicDrops, licensed under the MIT License. * * Copyright (C) 2021 <NAME> * * Permission is hereby granted, free of charge, * to any person obtaining a copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including wi...
57
Kotlin
41
28
c5deec0c7ce799886f66c8194c8bc6f1e2661532
3,733
MythicDrops
MIT License
app/src/main/java/com/rozdoum/socialcomponents/main/editProfile/EditProfileActivity.kt
tuantrinh90
179,996,121
false
null
/* * Copyright 2018 Rozdoum * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
0
Kotlin
1
0
7702fef53e4da1ff194de1f201b196a14f19c343
4,504
socialKotlin
Apache License 2.0
domain/src/main/java/com/roxana/recipeapp/domain/editrecipe/GetCommentsUseCase.kt
roxanapirlea
383,507,335
false
null
package com.roxana.recipeapp.domain.editrecipe import com.roxana.recipeapp.domain.RecipeCreationRepository import com.roxana.recipeapp.domain.base.BaseFlowUseCase import com.roxana.recipeapp.domain.model.CreationComment import kotlinx.coroutines.flow.Flow import javax.inject.Inject class GetCommentsUseCase @Inject co...
0
Kotlin
0
1
8dc3e7040d806893dddd4538e15dd3a40faa80a4
557
RecipeApp
Apache License 2.0
app/src/main/java/uk/ac/tees/w9591610/bitesearch/screens/ProfileScreen.kt
siva7254
713,183,808
false
{"Kotlin": 148295}
package uk.ac.tees.w9591610.bitesearch.screens import android.util.Log import androidx.compose.foundation.Image import androidx.compose.foundation.background import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Box import androidx....
0
Kotlin
0
0
7f1fe6795392a2e0491af0bab2ea5bdc785501c5
10,457
BiteSearch
Apache License 2.0
dsl/src/main/kotlin/com/faendir/awscdkkt/generated/services/appflow/ZendeskDestinationPropertiesPropertyDsl.kt
F43nd1r
643,016,506
false
null
package com.faendir.awscdkkt.generated.services.appflow import com.faendir.awscdkkt.AwsCdkDsl import javax.`annotation`.Generated import kotlin.Unit import software.amazon.awscdk.services.appflow.CfnFlow @Generated public fun buildZendeskDestinationPropertiesProperty(initializer: @AwsCdkDsl CfnFlow.ZendeskDestina...
1
Kotlin
0
0
a1cf8fbfdfef9550b3936de2f864543edb76348b
501
aws-cdk-kt
Apache License 2.0
src/main/kotlin/com/cognifide/gradle/aem/instance/Instance.kt
mierzwid
162,127,323
true
{"Kotlin": 377850, "Shell": 5207, "Java": 2130, "Batchfile": 233}
package com.cognifide.gradle.aem.instance import com.cognifide.gradle.aem.common.AemException import com.cognifide.gradle.aem.common.AemExtension import com.cognifide.gradle.aem.common.Formats import com.cognifide.gradle.aem.common.Patterns import com.fasterxml.jackson.annotation.JsonIgnore import java.io.Serializable...
0
Kotlin
0
0
0fd535613b7351dbd8c0989b6135e61bcf7e19c8
6,507
gradle-aem-plugin
Apache License 2.0
src/main/kotlin/g1701_1800/s1771_maximize_palindrome_length_from_subsequences/Solution.kt
javadev
190,711,550
false
{"Kotlin": 4870729, "TypeScript": 50437, "Python": 3646, "Shell": 994}
package g1701_1800.s1771_maximize_palindrome_length_from_subsequences // #Hard #String #Dynamic_Programming #2023_06_18_Time_248_ms_(100.00%)_Space_69.7_MB_(100.00%) class Solution { fun longestPalindrome(word1: String, word2: String): Int { val len1 = word1.length val len2 = word2.length ...
0
Kotlin
20
43
e8b08d4a512f037e40e358b078c0a091e691d88f
1,068
LeetCode-in-Kotlin
MIT License
src/main/kotlin/com/sopp/Payment/controller/PaymentRequestController.kt
Smart-Online-POS-Payment
712,252,323
false
{"Kotlin": 30169, "Dockerfile": 299}
package com.sopp.Payment.controller import com.sopp.Payment.model.PaymentModel import com.sopp.Payment.model.PaymentRequestModel import com.sopp.Payment.service.PaymentRequestService import org.springframework.web.bind.annotation.* import java.util.* @RestController @RequestMapping("payment/payment-request") @CrossOr...
0
Kotlin
0
0
237e5249d2b243206296a6c888f41d6bb9ed9595
1,382
Payment
MIT License
kotlin-enigma-machine/src/test/kotlin/com/jacovanderbyl/enigmamachine/StepRotorTest.kt
jaco-vanderbyl
725,663,536
false
{"Kotlin": 120908}
package com.jacovanderbyl.enigmamachine import org.junit.jupiter.api.Test import kotlin.test.assertEquals import kotlin.test.assertFalse import kotlin.test.assertTrue class StepRotorTest { private val cipherSet = "EKMFLGDQVZNTOWYHXUSPAIBRCJ" private val notchPositions = setOf(Letter.C, Letter.J, Letter.W) ...
0
Kotlin
0
0
9b81053c8a9986edbfe40aab07f13271cec6add0
1,757
kotlin-enigma-machine
MIT License
abstract/src/main/kotlin/me/gamercoder215/battlecards/util/extensions.kt
gmitch215
555,359,817
false
{"Kotlin": 1085695, "Shell": 477}
package me.gamercoder215.battlecards.util import me.gamercoder215.battlecards.api.BattleConfig import me.gamercoder215.battlecards.api.card.BattleCardType import me.gamercoder215.battlecards.api.card.item.CardEquipment import me.gamercoder215.battlecards.impl.* import me.gamercoder215.battlecards.impl.cards.IBattleCar...
4
Kotlin
0
3
840a2726bf0c60fa94924c4773888bd34cc67298
17,452
BattleCards
Apache License 2.0
basick/src/test/java/com/mozhimen/basick/utilk/TestUtilKLifecycle.kt
mozhimen
353,952,154
false
{"Kotlin": 1551026, "Java": 3916, "AIDL": 964}
package com.mozhimen.basick.utilk /** * @ClassName TestUtilKLifecycle * @Description TODO * @Author Mozhimen & <NAME> * @Date 2023/7/11 19:17 * @Version 1.0 */ class TestUtilKLifecycle { fun test() { } }
1
Kotlin
15
118
3e9cda57ac87f84134e768cc3756411d5bbd143f
219
SwiftKit
Apache License 2.0
DiceAppDSC/app/src/main/java/com/example/diceappdsc/MainActivity.kt
ucargiray
311,378,299
false
null
package com.example.diceappdsc import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.widget.Button import android.widget.ImageView import android.widget.TextView class MainActivity : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreat...
0
Kotlin
0
1
8904f9a106be9786f11f2d606627d01d31a0af28
2,483
Roll-Dice-App-Kotlin
MIT License
src/main/kotlin/com/nuecho/mutagen/cli/commands/audio/import/AudioImportCommand.kt
nuecho
154,838,618
false
null
/* * Copyright (C) 2018 Nu Echo Inc * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
0
Kotlin
2
4
c508200bc6e1b2e4d16ec4426047c40ae44deb47
8,018
mutagen
Apache License 2.0
modulecheck-finding/impl-sort/src/main/kotlin/modulecheck/finding/sort/SortPluginsFinding.kt
rickbusarow
316,627,145
false
{"Kotlin": 2149665, "MDX": 85759, "JavaScript": 11460, "CSS": 3389, "Shell": 1798}
/* * Copyright (C) 2021-2023 Rick Busarow * 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 ag...
76
Kotlin
7
129
5934de0bc8edc688b088324437b05a974073267e
4,103
ModuleCheck
Apache License 2.0
app/src/main/java/com/orange/ods/app/ui/utilities/composable/CodeImplementation.kt
Orange-OpenSource
440,548,737
false
{"Kotlin": 862831, "HTML": 13867, "CSS": 1444, "Shell": 587, "JavaScript": 197}
/* * * Copyright 2021 Orange * * Use of this source code is governed by an MIT-style * license that can be found in the LICENSE file or at * https://opensource.org/licenses/MIT. * / */ package com.orange.ods.app.ui.utilities.composable import androidx.compose.foundation.background import androidx.compose....
83
Kotlin
3
14
87c6d0602c3b91e4a704cf3002512b337a50a7dc
13,832
ods-android
MIT License
autofill/autofill-impl/src/test/java/com/duckduckgo/autofill/impl/ui/credential/management/viewing/AutofillManagementStringBuilderImplTest.kt
duckduckgo
78,869,127
false
{"Kotlin": 14333964, "HTML": 63593, "Ruby": 20564, "C++": 10312, "JavaScript": 8463, "CMake": 1992, "C": 1076, "Shell": 784}
package com.duckduckgo.autofill.impl.ui.credential.management.viewing import androidx.test.ext.junit.runners.AndroidJUnit4 import androidx.test.platform.app.InstrumentationRegistry import com.duckduckgo.common.test.CoroutineTestRule import com.duckduckgo.sync.api.DeviceSyncState import kotlinx.coroutines.test.runTest ...
67
Kotlin
901
3,823
6415f0f087a11a51c0a0f15faad5cce9c790417c
3,976
Android
Apache License 2.0
test-server/src/main/kotlin/com/sunnychung/application/multiplatform/hellohttp/testserver/controller/websocket/EntryWebSocketHandler.kt
sunny-chung
711,387,879
false
{"Kotlin": 1426494, "Shell": 3020}
package com.sunnychung.application.multiplatform.hellohttp.testserver.controller.websocket import com.fasterxml.jackson.module.kotlin.jacksonObjectMapper import com.sunnychung.application.multiplatform.hellohttp.test.payload.RequestData import com.sunnychung.application.multiplatform.hellohttp.testserver.controller.re...
0
Kotlin
0
72
a71b1bab930be2ecbf533c702ee44ef8c549a287
2,779
hello-http
Apache License 2.0
app/src/main/java/io/outblock/lilico/manager/config/AppConfig.kt
Outblock
435,317,689
false
null
package io.outblock.lilico.manager.config import com.google.firebase.ktx.Firebase import com.google.firebase.remoteconfig.ktx.remoteConfig import com.google.gson.Gson import com.google.gson.annotations.SerializedName import io.outblock.lilico.manager.app.isTestnet import io.outblock.lilico.utils.ioScope import io.outb...
6
Kotlin
0
2
3be43a8f7c36680f99dc157fe589358728963055
1,667
Lilico-Android
Apache License 2.0
src/main/kotlin/io/github/chaosalphard/windowsuacskipper/util/TimeUtil.kt
ChaosAlphard
574,072,634
false
null
package io.github.chaosalphard.windowsuacskipper.util; import java.time.LocalDate import java.time.LocalTime import java.time.format.DateTimeFormatter import java.util.* /** * @author wan * @version 1.0.0 * Date 2022/12/06 19:34 */ class TimeUtil { companion object { private val LOCALE: Locale = Local...
0
Kotlin
0
1
d793fee846aae9877446bbb7f8c999a355a6c205
571
WindowsUACSkipper
MIT License
src/main/kotlin/us/jwf/aoc/parsing/expression/Expression.kt
jasonwyatt
318,073,137
false
null
package us.jwf.aoc.parsing.expression interface Expression<T> { fun evaluate(): T }
0
Kotlin
0
0
60282b121bec6b845a74507960934a03a9153178
86
AdventOfCode-Kotlin
Apache License 2.0
kool-core/src/commonMain/kotlin/de/fabmax/kool/math/Random.kt
fabmax
81,503,047
false
null
package de.fabmax.kool.math import de.fabmax.kool.util.Time import kotlin.math.abs import kotlin.math.ln import kotlin.math.sqrt val defaultRandomInstance = Random((Time.precisionTime * 1e3).toInt()) /** * Returns a random integer in range of [Int.MIN_VALUE] .. [Int.MAX_VALUE] */ fun randomI(): Int = defaultRandom...
3
Kotlin
7
78
2aeb035ab84e4c660bc11f5167a7f485b4a86da8
2,699
kool
Apache License 2.0
src/test/kotlin/org/jesperancinha/plugins/omni/reporter/transformers/AllParserToCodecovTest.kt
JEsperancinhaOrg
450,076,280
false
null
package org.jesperancinha.plugins.omni.reporter.transformers import io.kotest.matchers.collections.shouldNotBeEmpty import io.kotest.matchers.nulls.shouldBeNull import io.kotest.matchers.nulls.shouldNotBeNull import io.kotest.matchers.shouldBe import io.kotest.matchers.string.shouldHaveLength import org.jesperancinha....
0
Kotlin
0
2
f996612fefd0a3dae4f3d359184ee298e767fdf3
2,325
omni-reporter-commons
Apache License 2.0
src/main/kotlin/com/oyosite/ticon/starship/Aliases.kt
eehunter
486,157,672
false
null
package com.oyosite.ticon.starship import com.oyosite.ticon.starship.Util.identifier import com.oyosite.ticon.starship.Util.putBlockPos import net.minecraft.nbt.NbtCompound import net.minecraft.network.PacketByteBuf import net.minecraft.util.Identifier import net.minecraft.util.math.BlockPos import net.minecraft.util....
0
Kotlin
0
0
3b31aaced44b31c49d8129fd57620298295ca65f
1,215
StarshipMod
MIT License
sdk/sdk-metrics/src/commonMain/kotlin/io/opentelemetry/kotlin/sdk/metrics/internal/state/EmptyMetricStorage.kt
dcxp
450,518,130
false
{"Kotlin": 1483649}
/* * Copyright The OpenTelemetry Authors * SPDX-License-Identifier: Apache-2.0 */ package io.opentelemetry.kotlin.sdk.metrics.internal.state import io.opentelemetry.kotlin.api.common.Attributes import io.opentelemetry.kotlin.context.Context import io.opentelemetry.kotlin.sdk.common.InstrumentationLibraryInfo import...
10
Kotlin
2
29
9c3186e26bd3ac78b650163be2c8f569096aaeec
1,653
opentelemetry-kotlin
Apache License 2.0
plugins/all-modules-page/src/test/kotlin/templates/MultiModuleDocumentationTest.kt
Kotlin
21,763,603
false
null
package org.jetbrains.dokka.allModulesPage.templates import matchers.content.* import org.jetbrains.dokka.allModulesPage.MultiModuleAbstractTest import org.jetbrains.dokka.model.dfs import org.jetbrains.dokka.pages.ContentKind import org.jetbrains.dokka.pages.ContentResolvedLink import org.jetbrains.dokka.pages.Multim...
438
Kotlin
390
3,010
bec2cac91726e52884329e7997207e9777abaab7
2,629
dokka
Apache License 2.0
app/src/main/java/com/weighttracker/screen/nutrients/NutrientsEvent.kt
nicolegeorgieva
556,229,503
false
{"Kotlin": 221653}
package com.weighttracker.screen.nutrients sealed interface NutrientsEvent { data class QuantityChange(val quantityChange: Int?) : NutrientsEvent data class SelectFood(val food: String?) : NutrientsEvent data class SelectSize(val size: FoodSize) : NutrientsEvent object RetryNutrientsRequest : Nutrients...
0
Kotlin
0
5
9df6604d4968d62958667658a33ee7cb64c86db7
327
weight-tracker-android
MIT License
src/main/kotlin/saarland/cispa/frontmatter/cg/CallgraphAssembler.kt
uds-se
384,046,711
false
null
package saarland.cispa.frontmatter.cg import mu.KLogging import saarland.cispa.frontmatter.ApkInfo import saarland.cispa.frontmatter.DUMMY_ACTIVITY_NAME import saarland.cispa.frontmatter.FIND_VIEW_METHOD_NAME import saarland.cispa.frontmatter.Utils.implements import saarland.cispa.frontmatter.Utils.isAndroidClass impo...
1
Kotlin
0
1
2ce4b52fc84e4c837749a205c9b32d48b9423c4c
37,992
Frontmatter
MIT License
libraries/library-logger/src/main/java/com/mctech/showcase/library/logger/Logger.kt
MayconCardoso
227,483,417
false
null
package com.mctech.library.logger interface Logger { companion object{ const val DEFAULT_TAG = "FlickerShowCase" } fun v(tag : String = DEFAULT_TAG, message: String) fun d(tag : String = DEFAULT_TAG, message: String) fun i(tag : String = DEFAULT_TAG, message: String) fun w(tag : String...
0
null
0
5
2236517f7222c827a719087a558f8536a4f8734e
461
Modularized-Marvel-Showcase
Apache License 2.0
kotlin-mui-icons/src/main/generated/mui/icons/material/ScreenLockPortraitTwoTone.kt
JetBrains
93,250,841
false
null
// Automatically generated - do not modify! @file:JsModule("@mui/icons-material/ScreenLockPortraitTwoTone") package mui.icons.material @JsName("default") external val ScreenLockPortraitTwoTone: SvgIconComponent
10
Kotlin
5
983
7ef1028ba3e0982dc93edcdfa6ee1edb334ddf35
214
kotlin-wrappers
Apache License 2.0
src/main/kotlin/info/benjaminhill/gdrivedl/SimpleCache.kt
salamanders
246,631,263
false
null
package info.benjaminhill.gdrivedl import java.io.File import java.io.ObjectInputStream import java.io.ObjectOutputStream import java.io.Serializable import java.util.concurrent.ConcurrentHashMap import java.util.concurrent.atomic.AtomicLong import java.util.zip.GZIPInputStream import java.util.zip.GZIPOutputStream im...
1
Kotlin
0
0
26b04fed925278fb2ac47d6e65b2cec6f3a4904d
2,101
gdrivedl
MIT License
function/src/main/java/app/allever/android/sample/function/im/function/db/IMDB.kt
devallever
522,186,250
false
{"Kotlin": 519675, "Java": 281241, "C++": 13880, "CMake": 1635, "C": 664}
package app.allever.android.sample.function.im.function.db import android.annotation.SuppressLint import android.content.Context import androidx.room.Database import androidx.room.Room import androidx.room.RoomDatabase import app.allever.android.sample.function.im.function.db.dao.MessageDao import app.allever.android....
1
Kotlin
0
3
9c4250e2a070b1a51e5e67d3735edbe7b38a90fa
1,310
AndroidSampleLibs
Apache License 2.0
kt/godot-library/src/main/kotlin/godot/gen/godot/ParallaxBackground.kt
utopia-rise
289,462,532
false
null
// THIS FILE IS GENERATED! DO NOT EDIT IT MANUALLY! @file:Suppress("PackageDirectoryMismatch", "unused", "FunctionName", "RedundantModalityModifier", "UNCHECKED_CAST", "JoinDeclarationAndAssignment", "USELESS_CAST", "RemoveRedundantQualifierName", "NOTHING_TO_INLINE", "NON_FINAL_MEMBER_IN_OBJECT", "Redundan...
49
null
45
634
ac2a1bd5ea931725e2ed19eb5093dea171962e3f
12,409
godot-kotlin-jvm
MIT License
src/mingwX64Main/kotlin/io/github/vyfor/kpresence/ipc/Connection.kt
vyfor
770,371,275
false
{"Kotlin": 47926}
package io.github.vyfor.kpresence.ipc import io.github.vyfor.kpresence.exception.* import io.github.vyfor.kpresence.utils.byteArrayToInt import io.github.vyfor.kpresence.utils.putInt import io.github.vyfor.kpresence.utils.reverseBytes import kotlinx.cinterop.* import platform.windows.* actual class Connection { pri...
0
Kotlin
1
11
6a0c6d3acac2ff6b72af35fb6778442aa62076cd
3,873
KPresence
MIT License
api/src/main/kotlin/de/hypercdn/ticat/api/entities/sql/repo/MemberRepository.kt
HyperCDN
543,352,274
false
null
package de.hypercdn.ticat.api.entities.sql.repo import de.hypercdn.ticat.api.entities.sql.entities.Board import de.hypercdn.ticat.api.entities.sql.entities.Member import org.springframework.data.domain.PageRequest import org.springframework.data.domain.Pageable import org.springframework.data.jpa.repository.JpaReposit...
0
Kotlin
0
0
9fe22efb1d3890f31da13e4e2751ac1af6afda95
921
TiCat
Apache License 2.0
HW6/CurriculumVitaeApp/app/src/main/java/com/pheakdey/curriculumvitaeapp/model/Skill.kt
nhatpk
292,409,495
false
null
package com.pheakdey.curriculumvitaeapp.model import com.google.gson.annotations.SerializedName class Skill { @SerializedName("name") lateinit var name:String override fun toString():String { return ("Skill{" + "name= " + name + "} ") } }
0
Kotlin
0
0
c26a4a9d46d551b755feed35c0f927f56137e7ee
281
CS473-Moblie-Device-Programming
MIT License
thelema-studio/src/commonMain/kotlin/app/thelema/studio/SKIN.kt
zeganstyl
275,550,896
false
null
package app.thelema.studio import app.thelema.g2d.NinePatch import app.thelema.g2d.Sprite import app.thelema.gl.GL_NEAREST import app.thelema.img.Image import app.thelema.img.Texture2D import app.thelema.ui.* import app.thelema.utils.Color object SKIN { val X = 0xFF8080FF.toInt() val Y = 0x80FF80FF.toInt() ...
3
Kotlin
5
61
8e2943b6d2de3376ce338025b58ff31c14097caf
2,143
thelema-engine
Apache License 2.0
app/src/main/kotlin/com/absinthe/libchecker/utils/harmony/HarmonyOsUtil.kt
zhaobozhen
248,400,799
false
null
package com.absinthe.libchecker.utils.harmony /** * Created by su1216 on 21-6-28. */ object HarmonyOsUtil { private var sHarmonyOs: Boolean? = null fun <T> wrapperStub(f: () -> T): T? { return try { f() } catch (e: Throwable) { null } } fun isHarmonyOs(): Boolean { return try {...
18
null
83
987
bbfdf8353172281af5ae08694305c32e837cb497
560
LibChecker
Apache License 2.0
android/common/core/core/src/main/java/com/jaychang/food/core/util/WindowDecorationHandler.kt
jaychang0917
462,185,290
false
{"Kotlin": 429866, "Dart": 68481, "Ruby": 1354, "Shell": 608, "Swift": 404, "Objective-C": 38}
/* * Copyright (C) 2021. Jay Chang * * 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 ...
0
Kotlin
0
0
d6c7572e85b3746c0f260f1bd9618e24e0e4530c
1,966
food
Apache License 2.0
app/src/main/java/com/example/track_mate/TrackMateRoutes.kt
f-arslan
631,604,224
false
null
package com.example.track_mate import androidx.annotation.DrawableRes import com.example.track_mate.R.drawable as AppIcon data class Route( val route: String, @DrawableRes val iconOutline: Int, @DrawableRes val iconFilled: Int = iconOutline, ) // common screen const val SPLASH_SCREEN = "SplashScreen" // ...
0
Kotlin
0
0
12337092e4f065c144565bef3d8976a8ceae384a
1,688
track_mate
MIT License
app/src/main/java/com/dsl/ktruleset/CustomRuleSetProvider.kt
abbenyyyyyy
357,846,316
false
null
package com.dsl.ktruleset import com.pinterest.ktlint.core.RuleSet import com.pinterest.ktlint.core.RuleSetProvider class CustomRuleSetProvider : RuleSetProvider { override fun get(): RuleSet = RuleSet( "custom-rule-set", KclassNoteRule(), ExtendBaseRule(), AndroidL...
0
Kotlin
0
0
9efe651850d45e5ef59bbb47ab35039123aeac37
336
ktruleset
MIT License
app/src/main/java/fr/fyzdesign/winveerapp/MainActivity.kt
FyzRDC
343,496,286
false
null
package fr.fyzdesign.winveerapp import android.Manifest import android.content.Intent import android.graphics.Color import android.net.Uri import android.os.Build import android.os.Bundle import android.view.KeyEvent import android.view.View import android.webkit.ValueCallback import android.webkit.WebChromeClient imp...
0
Kotlin
1
2
05b16cc3661e03e349269414c73cdd211cab155d
5,562
Winveer-App
Creative Commons Zero v1.0 Universal
BorrowMe/app/src/main/java/com/borrowme/Database/DataBase.kt
higorcp18
159,457,972
false
null
package com.borrowme.Database import android.arch.persistence.room.Database import android.arch.persistence.room.RoomDatabase import com.borrowme.DAO.EmprestimoDao import com.borrowme.Model.Emprestimo /** * Created by juliosantos on 11/6/18. */ @Database(version = 1, entities = arrayOf(Emprestimo::class)) abstract ...
0
Kotlin
0
0
cff3a1fd6aa8ec8b1a04fd7947a384f563379dab
406
BorrowMe
MIT License
adaptive-core/src/commonMain/kotlin/hu/simplexion/adaptive/wireformat/json/elements/JsonObject.kt
spxbhuhb
788,711,010
false
{"Kotlin": 1058159, "CSS": 47382, "Java": 18012, "HTML": 2759, "JavaScript": 896}
/* * Copyright © 2020-2024, Simplexion, Hungary and contributors. Use of this source code is governed by the Apache 2.0 license. */ package hu.simplexion.adaptive.wireformat.json.elements class JsonObject : JsonElement() { val entries = mutableMapOf<String, JsonElement>() }
12
Kotlin
0
0
75ec9b0c6a9f89359a08ce992affab493475ca4c
282
adaptive
Apache License 2.0
android/src/main/java/nolambda/linkrouter/android/measure/DefaultMeasureConfig.kt
esafirm
134,037,751
false
{"Kotlin": 154498, "Shell": 256, "Makefile": 96}
package nolambda.linkrouter.android.measure import nolambda.linkrouter.android.RouterPlugin import kotlin.system.measureNanoTime import kotlin.system.measureTimeMillis class DefaultMeasureConfig : MeasureConfig { override fun shouldMeasure(name: String): Boolean = true override fun <T> doMeasure(name: String,...
13
Kotlin
11
75
9fa8b8a1e0f7d728e4b229105b1a7ceeb0d700b0
561
universal-router
MIT License
gi/src/commonMain/kotlin/org/anime_game_servers/multi_proto/gi/data/gallery/balloon/GalleryBalloonShootNotify.kt
Anime-Game-Servers
642,871,918
false
{"Kotlin": 1651536}
package org.anime_game_servers.multi_proto.gi.data.gallery.balloon import org.anime_game_servers.core.base.annotations.AddedIn import org.anime_game_servers.core.base.Version.GI_1_4_0 import org.anime_game_servers.core.base.annotations.proto.* import org.anime_game_servers.core.base.annotations.proto.CommandType.NOTIF...
0
Kotlin
2
6
7639afe4f546aa5bbd9b4afc9c06c17f9547c588
558
anime-game-multi-proto
MIT License
src/test/kotlin/uk/gov/justice/digital/hmpps/prisonertonomisupdate/casenotes/CaseNotesDpsApiServiceTest.kt
ministryofjustice
445,140,246
false
{"Kotlin": 1753644, "Mustache": 1803, "Dockerfile": 1118}
package uk.gov.justice.digital.hmpps.prisonertonomisupdate.casenotes import com.github.tomakehurst.wiremock.client.WireMock.anyUrl import com.github.tomakehurst.wiremock.client.WireMock.equalTo import com.github.tomakehurst.wiremock.client.WireMock.getRequestedFor import com.github.tomakehurst.wiremock.client.WireMock...
0
Kotlin
0
2
d43b96c60238f8ea55c284caa71c97396ecc7fd2
3,215
hmpps-prisoner-to-nomis-update
MIT License
src/test/kotlin/uk/gov/justice/digital/hmpps/prisonertonomisupdate/casenotes/CaseNotesDpsApiServiceTest.kt
ministryofjustice
445,140,246
false
{"Kotlin": 1753644, "Mustache": 1803, "Dockerfile": 1118}
package uk.gov.justice.digital.hmpps.prisonertonomisupdate.casenotes import com.github.tomakehurst.wiremock.client.WireMock.anyUrl import com.github.tomakehurst.wiremock.client.WireMock.equalTo import com.github.tomakehurst.wiremock.client.WireMock.getRequestedFor import com.github.tomakehurst.wiremock.client.WireMock...
0
Kotlin
0
2
d43b96c60238f8ea55c284caa71c97396ecc7fd2
3,215
hmpps-prisoner-to-nomis-update
MIT License
src/Abstract_Factory_Pattern_2/FactoryProducer.kt
estand25
119,630,165
false
null
package Abstract_Factory_Pattern_2 import Abstract_Factory_Pattern_2.Abstract.AbstractFactory class FactoryProducer { companion object { @JvmStatic fun getFactory(choice: String): AbstractFactory? { if (choice.equals("SHAPE",true)) return ShapeFactory() els...
0
Kotlin
0
0
52de8a1993e3043fc5bfe36cc1fb1ca09e80b7d3
435
JavaDesignPattern
The Unlicense
src/main/java/com/andres_k/lib/library/utils/data/PdfMetadata.kt
Draym
319,586,872
false
null
package com.andres_k.lib.library.utils.data /** * Created on 2020/07/20. * * @author Kevin Andres */ data class PdfMetadata( val creator: String? = null, val author: String? = null, val title: String? = null, val subject: String? = null, val custom: List<Pair<String, String>> = emptyList() ) { ...
0
Kotlin
0
1
5084ca91cf25328afa3238abc19d1f0e3c095fe1
384
PDF-Flex
MIT License
ee/backend/tests/src/test/kotlin/io/tolgee/ee/service/slack/SavedSlackMessageServiceTest.kt
tolgee
303,766,501
false
{"TypeScript": 2960870, "Kotlin": 2463774, "JavaScript": 19327, "Shell": 12678, "Dockerfile": 9468, "PLpgSQL": 663, "HTML": 439}
package io.tolgee.ee.service.slack import io.tolgee.AbstractSpringTest import io.tolgee.development.testDataBuilder.data.SlackTestData import io.tolgee.ee.service.slackIntegration.SavedSlackMessageService import io.tolgee.testing.assertions.Assertions import io.tolgee.util.addMinutes import org.junit.jupiter.api.After...
170
TypeScript
188
1,837
6e01eec3a19c151a6e0aca49e187e2d0deef3082
1,212
tolgee-platform
Apache License 2.0
src/main/java/com/controlj/komodo/KeyWrapper.kt
clydebarrow
135,408,518
false
{"Kotlin": 68211}
/* * * * Copyright 2018 Control-J Pty Ltd * * * * Licensed under the Apache License, Version 2.0 (the "License"); * * you may not use this file except in compliance with the License. * * You may obtain a copy of the License at * * * * http://www.apache.org/licenses/LICENSE-2.0 * * * * Unless requ...
0
Kotlin
0
0
8d2e43488dc9abe1ab805ed190196f664d8eb6a8
5,527
komodo
Apache License 2.0
library/src/main/java/de/tobiasschuerg/weekview/data/WeekData.kt
tobiasschuerg
121,117,889
false
null
package de.tobiasschuerg.weekview.data import de.tobiasschuerg.weekview.util.TimeSpan import java.time.LocalTime class WeekData { private val singleEvents: MutableList<Event.Single> = mutableListOf() private val allDays: MutableList<Event.AllDay> = mutableListOf() private var earliestStart: LocalTime? = ...
8
null
7
52
418a4ebdf2295b8175e4cd9dbf12638fccf6d929
1,280
android-week-view
MIT License
src/main/kotlin/com/soblemprolved/interfaceofourown/model/CollectionReference.kt
soblemprolved
385,327,834
false
{"Kotlin": 147226}
package com.soblemprolved.interfaceofourown.model data class CollectionReference( // rename to collectionReference? /** * The unique ID of the collection. */ val id: String, /** * The name of the collection. */ val name: String )
1
Kotlin
1
1
d2ab50e81e1b6b55d075d37454f5e9cc57c54ac5
269
InterfaceOfOurOwn
MIT License
src/test/kotlin/no/nav/melosysskattehendelser/PostgresTestContainerBase.kt
navikt
786,418,225
false
{"Kotlin": 78024, "PLpgSQL": 530, "Shell": 229, "Dockerfile": 199}
package no.nav.melosysskattehendelser import org.springframework.test.context.DynamicPropertyRegistry import org.springframework.test.context.DynamicPropertySource open class PostgresTestContainerBase { companion object { @JvmStatic @DynamicPropertySource fun registerProperties(registry: D...
0
Kotlin
0
0
43076e6bd548fbabc7c0fd4b0623a11794d61f02
435
melosys-skattehendelser
MIT License
shared/src/commonMain/kotlin/com.cherry.kmp/ui/main/SourcesScreen.kt
ashoktallapelli
828,203,237
false
{"Kotlin": 142443, "Swift": 666, "Shell": 228}
package com.cherry.kmp.ui.main import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.foundation.lazy.LazyColumn import androidx.compose.foundation.lazy.items import androidx.compose.material.Scaffold import androidx.compose.runtime.Composable imp...
0
Kotlin
0
1
532953f426c041eeb30bea4a50ed9d3debdd9f9d
2,637
CherryKMP
Apache License 2.0
ui/log/src/main/kotlin/me/gegenbauer/catspy/log/datasource/FileLogProducer.kt
Gegenbauer
609,809,576
false
{"Kotlin": 652879}
package me.gegenbauer.catspy.log.datasource import kotlinx.coroutines.CoroutineDispatcher import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.flow.Flow import kotlinx.coroutines.flow.channelFlow import kotlinx.coroutines.flow.emptyFlow import me.gegenbauer.catspy.concurrency.GIO import me.gegenbauer.catspy...
0
Kotlin
1
7
70d905761d3cb0cb2e5ee9b80ceec72fca46ee52
1,225
CatSpy
Apache License 2.0
feature-account-impl/src/main/java/io/novafoundation/nova/feature_account_impl/presentation/manualBackup/secrets/common/adapter/ManualBackupItemHandler.kt
novasamatech
415,834,480
false
{"Kotlin": 11112596, "Rust": 25308, "Java": 17664, "JavaScript": 425}
package io.novafoundation.nova.feature_account_impl.presentation.manualBackup.secrets.common.adapter import io.novafoundation.nova.feature_account_impl.presentation.manualBackup.secrets.common.adapter.viewHolders.ManualBackupJsonRvItem import io.novafoundation.nova.feature_account_impl.presentation.manualBackup.secret...
14
Kotlin
30
50
166755d1c3388a7afd9b592402489ea5ca26fdb8
561
nova-wallet-android
Apache License 2.0
app/src/main/java/dev/leonlatsch/photok/imageloading/compose/EncryptedImageFetcher.kt
leonlatsch
287,088,448
false
null
/* * Copyright 2020-2024 Leon Latsch * * 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...
30
null
44
418
58d9bae31cba5445bec0b518f642ee41c468c023
1,876
Photok
Apache License 2.0
m3-h3/src/main/kotlin/ru/yegorpilipenko/otus/spring/m3h3/Application.kt
nao4j
158,942,958
false
{"Java": 372709, "Kotlin": 153881, "HTML": 56806, "Dockerfile": 710}
package ru.yegorpilipenko.otus.spring.m3h3 import org.springframework.boot.autoconfigure.SpringBootApplication import org.springframework.boot.runApplication @SpringBootApplication class Application fun main(args: Array<String>) { runApplication<Application>(*args) }
1
null
1
1
a3074a5e1d999a64703dd644df9a354d15ad531b
275
spring-otus
MIT License
kotest-framework/kotest-framework-api/src/jvmMain/kotlin/io/kotest/core/spec/AutoCloseable.kt
kotest
47,071,082
false
null
package io.kotest.core.spec actual typealias AutoCloseable = java.lang.AutoCloseable
141
null
648
4,435
2ce83d0f79e189c90e2d7bb3d16bd4f75dec9c2f
86
kotest
Apache License 2.0
app/src/main/java/com/hasegawa/diapp/controllers/ListNewsController.kt
AranHase
55,708,682
false
{"Gradle": 8, "Java Properties": 2, "Shell": 1, "Ignore List": 9, "Batchfile": 1, "Markdown": 1, "Kotlin": 152, "SVG": 5, "Text": 1, "XML": 72, "Proguard": 4, "Java": 3}
/* * Copyright 2016 <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...
6
Kotlin
1
8
80e2c6d345a63ce75a1383f52f08bfb1f0a1535b
4,727
PassosDoImpeachment-app
Apache License 2.0
mvrx/src/main/kotlin/com/airbnb/mvrx/MavericksViewModelConfig.kt
airbnb
139,500,036
false
{"Kotlin": 902916, "Java": 1431, "Shell": 897}
package com.airbnb.mvrx import androidx.lifecycle.LifecycleOwner import kotlinx.coroutines.CoroutineScope import kotlin.coroutines.CoroutineContext /** * Provides configuration for a [MavericksViewModel]. */ abstract class MavericksViewModelConfig<S : Any>( /** * If true, extra validations will be applied ...
61
Kotlin
498
5,816
e920c4b0fe73183a3bb51e648066ebd5f7be3e8c
2,148
mavericks
Apache License 2.0
src/main/kotlin/org/metaborg/intellij/idea/compilation/BuildClasspathProvider.kt
metaborg
38,443,919
false
{"Gradle": 5, "Markdown": 4, "Java Properties": 1, "Shell": 2, "Text": 4, "Ignore List": 1, "Batchfile": 1, "Groovy": 1, "XML": 16, "Java": 284, "INI": 1, "Kotlin": 6}
package org.metaborg.intellij.idea.compilation import com.google.inject.Inject import com.intellij.compiler.server.BuildProcessParametersProvider import org.metaborg.intellij.idea.SpoofaxIdeaPlugin import org.metaborg.intellij.idea.SpoofaxPlugin.plugin import org.metaborg.intellij.idea.utils.SimpleConfigUtil import or...
8
Java
6
11
f3cc160913e3651d5c4fb0713de9fc8aef85d46e
1,872
spoofax-intellij
Apache License 2.0
libnavui-maps/src/main/java/com/mapbox/navigation/ui/maps/camera/data/ViewportDataSource.kt
mapbox
87,455,763
false
{"Kotlin": 8885438, "Makefile": 8762, "Python": 7925, "Java": 4624}
package com.mapbox.navigation.ui.maps.camera.data import com.mapbox.navigation.ui.maps.camera.NavigationCamera /** * Describes an object that provides desired camera positions to [NavigationCamera]. * * Implementation should always store the latest available [ViewportData] and return it via * [getViewportData]. W...
508
Kotlin
318
621
88163ae3d7e34948369d6945d5b78a72bdd68d7c
1,006
mapbox-navigation-android
Apache License 2.0
idea/tests/testData/multiModuleQuickFix/addMissingActualMembers/classFunctionSameSignature/jvm/jvm.kt
JetBrains
278,369,660
false
null
// "Add missing actual members" "true" // DISABLE-ERRORS actual object <caret>O { fun <T> hello(): MutableMap<String, T> { TODO("not implemented") } }
284
null
5162
82
cc81d7505bc3e9ad503d706998ae8026c067e838
167
intellij-kotlin
Apache License 2.0
kotlinx-coroutines-core/jvm/test/scheduling/TestTimeSource.kt
Kotlin
61,722,736
false
null
package kotlinx.coroutines.scheduling internal class TestTimeSource(var time: Long) : SchedulerTimeSource() { override fun nanoTime() = time fun step(delta: Long = WORK_STEALING_TIME_RESOLUTION_NS) { time += delta } }
295
null
1850
13,033
6c6df2b850382887462eeaf51f21f58bd982491d
242
kotlinx.coroutines
Apache License 2.0
app/src/main/java/com/krm/debitcreditcards/pager/IActionListener.kt
cadet29manikandan
245,153,282
false
{"Java": 31570, "Kotlin": 22777}
package com.krm.debitcreditcards.pager interface IActionListener { fun onActionComplete(fragment: CreditCardFragment?) fun onEdit(fragment: CreditCardFragment?, edit: String?) }
1
null
1
1
50dc1cc0ca0b98584299ce4b951ddf3c0bf87340
186
DebitCreditCards
Apache License 2.0
core/src/main/kotlin/io/gitplag/core/rest/RepositoriesController.kt
nikita715
163,607,927
false
{"Gradle": 8, "INI": 2, "Shell": 1, "Text": 13, "Ignore List": 2, "Batchfile": 1, "YAML": 3, "Markdown": 2, "Kotlin": 109, "Nginx": 1, "JSON": 6, "HTML": 1, "JavaScript": 19, "CSS": 2, "Java Properties": 1, "Dotenv": 1, "Dockerfile": 2, "Java": 34}
package io.gitplag.core.rest import io.gitplag.core.websocket.NotificationService import io.gitplag.git.payload.GitManager import io.gitplag.model.dto.InputRepositoryDto import io.gitplag.model.dto.OutputRepositoryDto import io.gitplag.model.enums.GitProperty import io.gitplag.model.manager.RepositoryDataManager impor...
2
Kotlin
1
3
fb0cd89f62c482d880f7b9c2f8c679a14f09e45e
1,721
gitplag
Apache License 2.0
src/backend/ci/core/store/biz-store/src/main/kotlin/com/tencent/devops/store/configuration/StoreMQConfiguration.kt
chenpeizhen
225,764,376
false
null
package com.tencent.devops.store.configuration import com.tencent.devops.common.event.dispatcher.pipeline.mq.MQ import com.tencent.devops.common.event.dispatcher.pipeline.mq.MQEventDispatcher import com.tencent.devops.common.event.dispatcher.pipeline.mq.Tools import com.tencent.devops.store.listener.StorePipelineBuild...
1
null
1
1
173853ce1555559a5de2a58c8b90bb35623efbec
3,054
bk-ci
MIT License
VehicleUI/src/main/java/com/drivequant/drivekit/vehicle/ui/vehicledetail/common/CameraGalleryPickerHelper.kt
DriveQuantPublic
216,339,559
false
{"Kotlin": 1618267, "Java": 8753}
package com.drivequant.drivekit.vehicle.ui.vehicledetail.common import android.app.Activity import android.content.Intent import android.net.Uri import android.os.Environment import android.provider.MediaStore import android.util.Log import androidx.core.app.ActivityCompat.startActivityForResult import androidx.core.c...
1
Kotlin
3
9
e7956263157c49aae8d6f993a558ea77d9658ee6
1,996
drivekit-ui-android
Apache License 2.0
base/src/main/java/com/pichs/xbase/api/ApiEnvUtils.kt
pichsy
327,311,001
false
{"Kotlin": 231451, "Java": 46412}
package com.pichs.xbase.api import com.pichs.xbase.cache.CacheHelper object ApiEnvUtils { const val ENV_PREVIEW = "preview" const val ENV_RELEASE = "release" const val ENV_TEST = "test" fun changeEnv(env: String) { CacheHelper.get().setString("xbase_api_env", env) } /** * 切换 a...
1
Kotlin
1
1
b2643faddf5648921f005f91478d5f665f4612e4
526
xbase
Apache License 2.0
base/src/main/java/com/pichs/xbase/api/ApiEnvUtils.kt
pichsy
327,311,001
false
{"Kotlin": 231451, "Java": 46412}
package com.pichs.xbase.api import com.pichs.xbase.cache.CacheHelper object ApiEnvUtils { const val ENV_PREVIEW = "preview" const val ENV_RELEASE = "release" const val ENV_TEST = "test" fun changeEnv(env: String) { CacheHelper.get().setString("xbase_api_env", env) } /** * 切换 a...
1
Kotlin
1
1
b2643faddf5648921f005f91478d5f665f4612e4
526
xbase
Apache License 2.0
app/src/main/java/com/dron/app/vrtulnicek/missions/TapFlyMissionMgr.kt
martinek-stepan
279,858,926
false
null
package com.dron.app.vrtulnicek.missions /* import android.graphics.PointF import android.view.MotionEvent import android.view.View import android.widget.* import com.dron.app.R import com.dron.app.example.common.Utils import com.dron.app.example.common.Utils.setResultToToast import com.dron.app.vrtulnicek.MapSwapper i...
1
null
1
1
427f59293b357ce38c91bcd2e108cb263ab63032
8,720
DronApp
MIT License
breeze-serialization/src/main/kotlin/serialization/json/JacksonJsonSerializer.kt
DragonKnightOfBreeze
205,561,109
false
null
// Copyright (c) 2020-2021 <NAME> // Breeze is blowing... package icu.windea.breezeframework.serialization.json import com.fasterxml.jackson.databind.json.* import icu.windea.breezeframework.serialization.* import java.lang.reflect.* /** * 由Jackson委托实现的Json数据的序列化器。 * * @see com.fasterxml.jackson.databind.json.Jso...
1
Kotlin
1
8
e067f9e676fbb2fe2d4b5076e522edea63ce5a0f
831
Breeze-Framework
MIT License
tools/ideTestingFramework/intellij.tools.ide.starter/src/com/intellij/ide/starter/report/ErrorReporter.kt
brunodabo
22,349,000
false
{"Text": 6853, "INI": 537, "YAML": 412, "Ant Build System": 10, "Batchfile": 34, "Shell": 622, "Markdown": 667, "Ignore List": 112, "Git Revision List": 1, "Git Attributes": 10, "EditorConfig": 244, "XML": 6850, "SVG": 3479, "Kotlin": 46280, "Java": 79402, "HTML": 3169, "Java Properties": 208, "Gradle": 429, "Maven POM...
package com.intellij.ide.starter.report import com.intellij.ide.starter.ci.CIServer import com.intellij.ide.starter.di.di import com.intellij.ide.starter.utils.convertToHashCodeWithOnlyLetters import com.intellij.ide.starter.utils.generifyErrorMessage import org.kodein.di.direct import org.kodein.di.instance import ja...
1
null
1
1
ffe6e7dedb82e26a725d07d9a2e9326a4b0bc1b4
2,337
intellij-community
Apache License 2.0
yaml-tables-core/src/main/yamltables/Parser.kt
kyegupov
60,565,801
false
null
package yamltables import org.yaml.snakeyaml.Yaml import org.yaml.snakeyaml.constructor.SafeConstructor object YamlTableParser { fun getData(yamlTableSpec: Map<String, Any>): List<RowSpec> { val rows = mutableListOf<RowSpec>() for (dataRow in yamlTableSpec["data"] as List<Map<String, Any>>) { ...
1
null
1
1
a4af405abb6dbe497be910103a3029a587451011
2,536
yaml-tables
MIT License
tmp/arrays/youTrackTests/5749.kt
DaniilStepanov
228,623,440
false
null
// Original bug: KT-19976 inline fun stepOutMe(fn: () -> Unit = { println() }) { fn() // Breakpoint. println("More important code.") // Line N. } fun main(args: Array<String>) { stepOutMe() stepOutMe { println() } }
1
null
11
1
602285ec60b01eee473dcb0b08ce497b1c254983
234
bbfgradle
Apache License 2.0
tmp/arrays/youTrackTests/5749.kt
DaniilStepanov
228,623,440
false
null
// Original bug: KT-19976 inline fun stepOutMe(fn: () -> Unit = { println() }) { fn() // Breakpoint. println("More important code.") // Line N. } fun main(args: Array<String>) { stepOutMe() stepOutMe { println() } }
1
null
11
1
602285ec60b01eee473dcb0b08ce497b1c254983
234
bbfgradle
Apache License 2.0
app/src/main/java/com/newgram/s2oul_android/data/source/showInfo/ShowInfoSource.kt
GRAM-DSM
209,287,603
false
null
package com.newgram.s2oul_android.data.source.showInfo import com.newgram.s2oul_android.entity.ShowInfo import io.reactivex.Flowable interface ShowInfoSource { fun loadShowAlphabet(genre: String): Flowable<ArrayList<ShowInfo>> fun loadShowDate(genre: String): Flowable<ArrayList<ShowInfo>> }
0
Kotlin
0
0
4426c694f84bdecb046b25996ccf6b5604f0c848
302
S2oul-Android
MIT License
src/main/kotlin/org/wfanet/measurement/common/graphviz/Dot.kt
world-federation-of-advertisers
375,798,604
false
{"Kotlin": 583783, "Starlark": 112267, "Shell": 7028}
// Copyright 2021 The Cross-Media Measurement 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 applic...
15
Kotlin
3
3
6f79ccfc02e50ea4f1c5da65d7c073564b9ff6f3
4,787
common-jvm
Apache License 2.0
src/test/kotlin/jdregistry/client/DockerRegistryGetClientNoAuthTests.kt
JDregistry
146,001,990
false
null
package jdregistry.client import jdregistry.client.api.DockerRegistryGetClient import jdregistry.client.data.RepositoryName as DockerRepositoryName import jdregistry.client.data.Tag as DockerTag import jdregistry.client.impl.http.apache.ApacheHttpClient import jdregistry.test.SingleExposedPortContainer import org.juni...
0
Kotlin
0
0
a0dfd99840dd16cd59f89c0cd75d355cf6592a78
3,536
JDregistry
MIT License
showcase/src/main/kotlin/app/softwork/bootstrapcompose/showcase/DropDownView.kt
hfhbd
372,465,451
false
null
package app.softwork.bootstrapcompose.showcase import androidx.compose.runtime.* import app.softwork.bootstrapcompose.* import org.jetbrains.compose.web.css.* @Composable fun DropDownView() { GridBox(styling = { Margins { All { size = SpacingSpecs.SpacingSize.Small ...
7
null
7
62
0727f7f1d88f98a10138e567c3fc2a92a76c02ce
1,564
bootstrap-compose
Apache License 2.0
common/src/main/kotlin/kingmc/platform/event/AbstractPublisher.kt
Kingsthere
599,960,106
false
null
package kingmc.platform.event import kingmc.common.application.suspendApplication import kotlinx.coroutines.runBlocking import java.util.* /** * An abstract implementation of [Publisher] */ abstract class AbstractPublisher : Publisher { protected val subscriptions: MutableSet<Subscription<Any>> = TreeSet(compar...
0
Kotlin
0
0
deb953d7a31738f8f602fb89e592db299ee3010c
2,135
kingmc-platform
MIT License
net/src/main/java/com/drake/net/callback/PageCallback.kt
liangjingkanji
208,626,324
false
null
package com.drake.net.callback import android.view.View import androidx.annotation.MainThread import com.drake.brv.PageRefreshLayout import com.drake.net.Net import com.drake.net.NetConfig import com.drake.net.interfaces.NetCallback import com.drake.net.request.group import okhttp3.Call import okhttp3.Request import j...
0
Kotlin
87
779
b31a22e97ef3074940093c07af9f306832e5a3c7
1,737
Net
Apache License 2.0
android/app/src/main/kotlin/com/drakota/bttvstickers/Utils.kt
Drakota
325,718,462
false
{"Dart": 54266, "Kotlin": 6237}
package com.drakota.bttvstickers import android.os.Build import android.os.VibrationEffect import android.os.Vibrator import android.content.Context class Utils { companion object { fun performHapticFeedback(context: Context, ms: Long) { val vibratorService = context.getSystemService(Context.V...
2
Dart
1
9
d83db82971d8e5b38e8acb7f3bdaa870c0289ae6
695
bttvstickers
MIT License
plugin-bazel-agent/src/test/kotlin/jetbrains/buildServer/bazel/WorkingDirectoryProviderTest.kt
JetBrains
143,697,750
false
null
package jetbrains.buildServer.bazel import jetbrains.buildServer.agent.runner.ParameterType import jetbrains.buildServer.agent.runner.ParametersService import jetbrains.buildServer.agent.runner.PathType import jetbrains.buildServer.agent.runner.PathsService import org.jmock.Expectations import org.jmock.Mockery impo...
6
null
7
14
8500373123364eb486fcdb07b9717b7a07a655d4
2,066
teamcity-bazel-plugin
Apache License 2.0
library/src/main/java/io/github/reyurnible/fitbit/entity/FitbitDateActivity.kt
Reyurnible
140,307,608
false
{"Kotlin": 33263}
package io.github.reyurnible.fitbit.entity data class FitbitDateActivity( val activities: List<FitbitActivity>, val goals: Goals, val summary: Summary ) { data class Goals( val caloriesOut: Int, val distance: Float, val floors: Int, val steps: Int ) data class S...
0
Kotlin
0
1
5d109abea7d8bd8f5393535c10877e476d1800d8
821
FitbitAndroid
Apache License 2.0