path
stringlengths
4
280
owner
stringlengths
2
39
repo_id
int64
21.1k
879M
is_fork
bool
2 classes
languages_distribution
stringlengths
13
1.95k
content
stringlengths
7
482k
issues
int64
0
13.9k
main_language
stringclasses
121 values
forks
stringlengths
1
5
stars
int64
0
111k
commit_sha
stringlengths
40
40
size
int64
7
482k
name
stringlengths
1
100
license
stringclasses
93 values
app/src/main/kotlin/cn/navigational/dbfx/navigator/folder/pg/PgSchemeFolder.kt
tivrfoa
303,001,716
true
{"Kotlin": 108780, "Java": 52343, "CSS": 9400}
package cn.navigational.dbfx.navigator.folder.pg import cn.navigational.dbfx.kit.SQLQuery import cn.navigational.dbfx.kit.enums.Clients import cn.navigational.dbfx.kit.postgres.PgQuery import cn.navigational.dbfx.navigator.FolderItem import cn.navigational.dbfx.navigator.scheme.ComSchemeItem class PgSchemeFolder(priv...
0
null
0
0
84074162f9765f5f480f77bfd6c5b220a1f093e3
828
dbfx
Apache License 2.0
compiler/tests-spec/testData/psi/linked/constant-literals/boolean-literals/p-1/pos/2.11.kt
haerulmuttaqin
156,727,010
true
{"Kotlin": 31513732, "Java": 7641810, "JavaScript": 152543, "HTML": 68411, "Lex": 18275, "IDL": 10060, "ANTLR": 9803, "Shell": 6769, "Groovy": 5466, "CSS": 4679, "Batchfile": 4437}
/* KOTLIN PSI SPEC TEST (POSITIVE) SECTIONS: constant-literals, boolean-literals PARAGRAPH: 1 SENTENCE: [2] These are strong keywords which cannot be used as identifiers unless escaped. NUMBER: 11 DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the function. NOTE: this test data is...
0
Kotlin
1
2
8f2117685f9f1b76b7f61ef67c0f58431bbf2f0e
490
kotlin
Apache License 2.0
app/src/main/java/com/example/factoryfm/db/AlbumTypeConverter.kt
supermzn
160,585,725
false
null
package com.example.factoryfm.db import android.arch.persistence.room.TypeConverter import com.example.factoryfm.model.FmImage import com.google.gson.Gson import com.google.gson.reflect.TypeToken class AlbumTypeConverter { val gson: Gson = Gson() @TypeConverter fun listToString(list: List<FmImage>): Str...
0
Kotlin
0
0
d8d57b413ff0879890a0cb7b4a57cb56d940a0f8
606
factoryFM
MIT License
ontrack-extension-jenkins/src/main/java/net/nemerosa/ontrack/extension/jenkins/client/DefaultJenkinsClientFactory.kt
nemerosa
19,351,480
false
null
package net.nemerosa.ontrack.extension.jenkins.client import net.nemerosa.ontrack.extension.jenkins.JenkinsConfiguration import net.nemerosa.ontrack.extension.jenkins.JenkinsConfigurationProperties import org.springframework.boot.web.client.RestTemplateBuilder import org.springframework.stereotype.Component import jav...
57
null
27
97
7c71a3047401e088ba0c6d43aa3a96422024857f
959
ontrack
MIT License
domain/src/main/java/com/escodro/domain/usecase/task/UpdateTask.kt
igorescodro
116,942,964
false
null
package com.escodro.domain.usecase.task import com.escodro.domain.model.Task /** * Use case to update a task from the database. */ interface UpdateTask { /** * Updates a task. * * @param task the task to be updated * * @return observable to be subscribe */ suspend operator fun...
16
Kotlin
106
999
e64a652c6b62dd5ca80c2c128186ef4b8bf6cf63
342
alkaa
Apache License 2.0
features/films_favourite/src/main/java/com/doskoch/movies/features/films_favourite/repository/db/FavouriteFilmsDbRepository.kt
VitaliyDoskoch
263,280,184
false
null
package com.doskoch.movies.features.films_favourite.repository.db import com.doskoch.movies.core.components.database.DatabaseConnector import com.doskoch.movies.database.BaseEntity import com.doskoch.movies.database.modules.films.entity.DbFavouriteFilm import com.doskoch.movies.database.modules.films.view.Film import ...
0
Kotlin
0
0
9de9670b1b24934a39122b58517d026569cea1d3
1,287
Movies
MIT License
shared/src/commonMain/kotlin/uk/co/sentinelweb/cuer/app/ui/cast/CastDialogViewModel.kt
sentinelweb
220,796,368
false
{"Kotlin": 2627509, "CSS": 205156, "Java": 98919, "Swift": 85812, "HTML": 19322, "JavaScript": 12105, "Ruby": 2170}
package uk.co.sentinelweb.cuer.app.ui.cast import kotlinx.coroutines.flow.Flow import kotlinx.coroutines.flow.MutableStateFlow import kotlinx.coroutines.launch import uk.co.sentinelweb.cuer.app.ui.remotes.selector.RemotesDialogContract import uk.co.sentinelweb.cuer.core.providers.CoroutineContextProvider class CastDi...
95
Kotlin
0
2
1e3522bffa43f75f0e030f7ead3ce1b6873f5bd6
2,029
cuer
Apache License 2.0
app/src/main/java/ro/alexmamo/firestorecleanarchitecture/data/repository/BooksRepositoryImpl.kt
alexmamo
413,736,186
false
null
package ro.alexmamo.firestorecleanarchitecture.data.repository import com.google.firebase.firestore.CollectionReference import kotlinx.coroutines.channels.awaitClose import kotlinx.coroutines.flow.callbackFlow import kotlinx.coroutines.tasks.await import ro.alexmamo.firestorecleanarchitecture.core.Constants.TITLE impo...
0
null
31
98
354d33ad5811aae9d3b791386111c47452b4207b
2,146
FirestoreCleanArchitectureApp
Apache License 2.0
realm/realm-annotations-processor/src/main/java/io/realm/processor/RealmProxyMediatorGenerator.kt
realm
4,084,908
false
null
/* * Copyright 2019 Realm 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 in wr...
400
null
1747
11,450
e564a45fbeabb4710ac5fcd231c107642dd4aa83
28,784
realm-java
Apache License 2.0
yjloginsdk/src/main/java/jp/co/yahoo/yconnect/yjloginsdk/core/OptionalParameters.kt
yahoojapan
240,211,657
false
null
/* * © 2024 LY Corporation. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
0
null
4
6
d47cbb06249213ce84ba76a2ab75265a43f313e0
1,967
yjlogin-android-sdk
Apache License 2.0
src/main/kotlin/org/incava/rando/RandIntCalculated.kt
jpace
483,382,354
false
{"Kotlin": 207435, "Ruby": 674}
package org.incava.rando class RandIntCalculated(size: Int, numSlots: Int) : RandCalculated(size, numSlots) { private val intArray: List<Int> = slots.map { it.value } fun nextInt(): Int { val index = random.nextInt(100) return intArray[index] } }
0
Kotlin
0
0
f7d56ea5b803c985df415863ce8dc3ee8fa6f84b
276
mmonkeys
MIT License
src/main/kotlin/org/incava/rando/RandIntCalculated.kt
jpace
483,382,354
false
{"Kotlin": 207435, "Ruby": 674}
package org.incava.rando class RandIntCalculated(size: Int, numSlots: Int) : RandCalculated(size, numSlots) { private val intArray: List<Int> = slots.map { it.value } fun nextInt(): Int { val index = random.nextInt(100) return intArray[index] } }
0
Kotlin
0
0
f7d56ea5b803c985df415863ce8dc3ee8fa6f84b
276
mmonkeys
MIT License
src/main/java/dev/blachut/svelte/lang/codeInsight/SvelteTypeScriptReferenceExpressionResolver.kt
tomblachut
184,821,501
false
{"JavaScript": 1549586, "Kotlin": 449460, "Java": 82443, "Lex": 16407, "Svelte": 15267, "HTML": 2052, "TypeScript": 709}
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package dev.blachut.svelte.lang.codeInsight import com.intellij.lang.javascript.ecmascript6.TypeScriptReferenceExpressionResolver import com.intellij.lang.javascript.psi.impl.JSR...
0
JavaScript
38
479
3dacc20896adf1f1db06c99d691b3dbadc70d267
1,947
svelte-intellij
MIT License
idea/testData/quickfix/autoImports/sameModuleImportPriority.before.Main.kt
JakeWharton
99,388,807
true
null
// "Import" "true" // ERROR: Unresolved reference: Delegates // WITH_RUNTIME package testing fun foo() { val d = <caret>Delegates() }
0
Kotlin
30
83
4383335168338df9bbbe2a63cb213a68d0858104
138
kotlin
Apache License 2.0
src/main/kotlin/Day02.kt
SimonMarquis
724,825,757
false
{"Kotlin": 8653}
import Day02.Color.blue import Day02.Color.green import Day02.Color.red class Day02(private val input: List<String>) { @Suppress("EnumEntryName") enum class Color { red, green, blue } private val regex = """(\d+) (${Color.entries.joinToString("|")})""".toRegex() fun part1( target: Map<Color,...
0
Kotlin
0
1
2a692412ee89c0b5eb0e8f0841f4f3a6dbc128fe
1,204
advent-of-code-2023
MIT License
app/src/main/java/com/entersekt/fido2/MainActivity.kt
RameshPokharel
204,686,651
false
{"Gradle": 3, "Java Properties": 2, "Shell": 2, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "XML": 10, "Kotlin": 2, "Java": 1, "JSON": 2}
package com.entersekt.fido2 import android.content.Intent import android.content.IntentSender import android.os.Bundle import android.preference.PreferenceManager import android.util.Base64 import android.util.Log import androidx.appcompat.app.AppCompatActivity import androidx.core.content.edit import com.google.andro...
0
Kotlin
0
0
5fbb20a31c280a501b79f3b03683f3a10cbfa768
11,714
FidoDemo
Apache License 2.0
src/main/kotlin/platform/velocity/framework/VelocityPresentationProvider.kt
minecraft-dev
42,327,118
false
null
/* * Minecraft Dev for IntelliJ * * https://minecraftdev.org * * Copyright (c) 2022 minecraft-dev * * MIT License */ package com.demonwav.mcdev.platform.velocity.framework import com.demonwav.mcdev.asset.PlatformAssets import com.demonwav.mcdev.util.localFile import com.intellij.framework.library.LibraryVersi...
204
null
152
1,154
36cc3d47f7f39c847c0ebdcbf84980bc7262dab7
1,818
MinecraftDev
MIT License
yiski3/src/main/kotlin/one/devos/yiski3/data/Yiski3ConfigData.kt
devOS-Sanity-Edition
436,825,258
false
{"Kotlin": 116829}
package one.devos.yiski3.data import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable import one.devos.yiski.common.AbstractYiskiConfig @Serializable data class Yiski3ConfigData( val images: ImageConfig, val videos: VideosConfig ) : AbstractYiskiConfig { @Serializable data cl...
11
Kotlin
1
1
10947f0a43420bb28ff69897ef711528415eaf21
1,260
yiski
MIT License
features/news/src/commonMain/kotlin/com/mathroda/news/components/NewsCard.kt
MathRoda
507,060,394
false
{"Kotlin": 446115, "Swift": 4323, "Ruby": 2379, "Java": 624}
package com.mathroda.news_screen.components import androidx.compose.foundation.background import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.* import androidx.compose.foundation.lazy.LazyRow import androidx.compose.foundation.lazy.items import androidx.compose.foundation.shape.Round...
0
Kotlin
41
297
cf303ba50bad35a816253bee5b27beee5ea364b8
3,787
DashCoin
Apache License 2.0
app/src/main/java/com/srtp/assistant/logic/dao/CampusAddressDao.kt
FallingStars-5
359,435,558
false
null
package com.srtp.assistant.logic.dao import com.srtp.assistant.logic.model.CampusAddress import org.litepal.LitePal import org.litepal.extension.delete import org.litepal.extension.deleteAll import org.litepal.extension.find object CampusAddressDao { /**增加一条网址记录 * @param campusAddress :CampusAddress */...
0
Kotlin
1
1
ec1c0a9409b44b5d4a58d5e0cf4912b6bf74cdf4
1,627
UniversityStudentAssistant
Apache License 2.0
src/main/kotlin/no/iktdev/cloud/gateway/Application.kt
bskjon
495,877,886
false
{"Kotlin": 16607, "Dockerfile": 295}
package no.iktdev.cloud.gateway import no.iktdev.cloud.gateway.firebase.Initializer import org.slf4j.LoggerFactory import org.springframework.boot.autoconfigure.SpringBootApplication import org.springframework.boot.runApplication import org.springframework.context.ApplicationContext import javax.annotation.PreDestroy ...
0
Kotlin
0
0
053f302181dd8255f81e23260d679fbbb24dcd14
916
CloudGateway
Apache License 2.0
js/js.parser/src/org/jetbrains/kotlin/js/parser/sourcemaps/JSON.kt
JakeWharton
99,388,807
false
null
/* * Copyright 2010-2017 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
181
null
5748
83
4383335168338df9bbbe2a63cb213a68d0858104
11,422
kotlin
Apache License 2.0
app/src/main/java/com/example/myapplication/ui/page/manager/FourFragment.kt
yo-lolo
660,058,834
false
null
package com.example.myapplication.ui.page.manager import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import com.ctq.sphone.market.base.BaseFragment import com.example.myapplication.databinding.FragmentFourBinding class FourFragment : BaseFragment() { ...
0
Kotlin
0
0
e7eb3c1d7f016b9148a8be3a9168982d1d4b8720
718
yolo
Apache License 2.0
app/src/main/java/com/shashank/moviefindermvvm/ui/home/HomeActivity.kt
Shashank02051997
255,571,550
false
null
package com.shashank.moviefindermvvm.ui.home import android.animation.Animator import android.animation.AnimatorListenerAdapter import android.content.Intent import android.os.Bundle import android.os.Handler import android.util.Log import android.view.Menu import android.view.View import android.widget.SearchView imp...
1
null
24
76
8f24b851dc1befaffe2163aa4e08c02daf76feaf
7,632
MovieFinderUsingMVVM-Android
MIT License
src/main/kotlin/org/unbrokendome/gradle/plugins/helm/dsl/dependencies/ResolvedChartDependency.kt
Haardt
243,044,316
true
{"Kotlin": 260778}
package org.unbrokendome.gradle.plugins.helm.dsl.dependencies import java.io.File internal data class ResolvedChartDependency( /** Resolved version. */ val version: String, /** Path to the resolved chart artifact. */ val file: File )
0
null
0
0
f5e5ef51272526eaf2cf2f8f94a51d7a7da4bbd9
253
gradle-helm-plugin
MIT License
features/register/onboard/src/main/kotlin/team/applemango/runnerbe/feature/register/onboard/constant/EmailVerifyState.kt
ricky-buzzni
485,390,072
false
{"Kotlin": 615137}
/* * RunnerBe © 2022 Team AppleMango. all rights reserved. * RunnerBe license is under the MIT. * * [EmailVerifyState.kt] created by <NAME> on 22. 2. 10. 오후 5:24 * * Please see: https://github.com/applemango-runnerbe/RunnerBe-Android/blob/main/LICENSE. */ package team.applemango.runnerbe.feature.register.onboar...
0
null
0
0
f48fb298c07732a9c32afcff0bddb16f9fe2e37a
645
RunnerBe-Android
MIT License
app/src/main/java/echo/engineer/happymaven/MainActivity.kt
a42803488
203,913,919
false
{"Markdown": 1, "Gradle": 8, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 6, "Batchfile": 1, "Proguard": 4, "Java": 7, "XML": 18, "INI": 2, "Kotlin": 5, "Checksums": 18, "Public Key": 4, "Groovy": 4}
package echo.engineer.happymaven import android.support.v7.app.AppCompatActivity import android.os.Bundle /** * MainActivity.kt * Info: MainActivity.kt * Created by Plucky(plucky@echo.engineer) on 2018/12/21 - 6:55 PM * more about me: http://www.1991th.com */ class MainActivity : AppCompatActivity() { o...
1
null
1
1
e79ea039885cf418fcafd94b5c14925d0f53394c
470
HappyMaven
Apache License 2.0
src/main/kotlin/club/pisquad/minecraft/csgrenades/enums/GrenadeType.kt
ThePiSquad
839,453,704
false
{"Kotlin": 83211}
package club.pisquad.minecraft.csgrenades.enums enum class GrenadeType { FLASH_BANG, SMOKE_GRENADE, HEGRENADE, INCENDIARY }
0
Kotlin
0
0
d50e9db22ab374d5550e06d8e0c7acc9855b42c8
140
CounterStrikeGrenades
MIT License
sampleapp/src/main/java/com/kirkbushman/sampleapp/models/TrophyModel.kt
ShaishavGandhi
282,130,827
true
{"Kotlin": 389434}
package com.kirkbushman.sampleapp.models import android.widget.TextView import com.airbnb.epoxy.EpoxyAttribute import com.airbnb.epoxy.EpoxyModelClass import com.airbnb.epoxy.EpoxyModelWithHolder import com.kirkbushman.sampleapp.R @EpoxyModelClass(layout = R.layout.item_trophy) abstract class TrophyModel : EpoxyModel...
0
null
0
0
056eb8e6084148af6bed984f8be25e44b00e8255
572
ARAW
MIT License
compiler/tests-spec/testData/codegen/box/linked/expressions/try-expression/p-5/pos/1.1.kt
JetBrains
3,432,266
false
null
// WITH_RUNTIME /* * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-218 * PLACE: expressions, try-expression -> paragraph 5 -> sentence 1 * RELEVANT PLACES: expressions, try-expression -> paragraph 4 -> sentence 1 * NUMBER: 1 * DESCRIPTION: If no exception is thrown during the evaluation of the t...
181
null
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
807
kotlin
Apache License 2.0
app/src/main/java/com/anytypeio/anytype/other/Deeplinks.kt
anyproto
647,371,233
false
null
package com.anytypeio.anytype.other import android.net.Uri import com.anytypeio.anytype.core_models.Id import com.anytypeio.anytype.core_models.Url import com.anytypeio.anytype.core_models.primitives.SpaceId import com.anytypeio.anytype.domain.misc.DeepLinkResolver import com.anytypeio.anytype.domain.multiplayer.Space...
45
null
43
528
c708958dcb96201ab7bb064c838ffa8272d5f326
3,908
anytype-kotlin
RSA Message-Digest License
MyApplication/app/src/main/java/com/example/myapplication/viewmodelfactory/KisiDetaySayfaviewmodelfactory.kt
HERIS00
752,560,884
false
{"Kotlin": 27771}
package com.example.myapplication.viewmodelfactory import android.app.Application import androidx.lifecycle.ViewModel import androidx.lifecycle.ViewModelProvider import com.example.myapplication.viewmmodel.KisininDetaySayfasiViewModel class KisiDetaySayfaviewmodelfactory(var application: Application): ViewModelProvi...
0
Kotlin
0
0
1f693a92e6105267dd0272022094c2054c018d5f
483
Kisiler_Uygulamas-_Apk
MIT License
actions-kotlin/src/jsMain/kotlin/actions/tool/cache/IToolRelease.kt
karakum-team
393,199,102
false
{"Kotlin": 6914539}
// Automatically generated - do not modify! package actions.tool.cache import js.array.ReadonlyArray import js.objects.JsPlainObject @JsPlainObject sealed external interface IToolRelease { var version: String var stable: Boolean var release_url: String var files: ReadonlyArray<IToolReleaseFile> }
0
Kotlin
7
31
c3de7c4098277a67bd40a9f0687579a6b9956cb2
317
types-kotlin
Apache License 2.0
plugin/src/main/kotlin/io/github/dejankos/RockyBuildCachePlugin.kt
dejankos
538,162,622
false
null
package io.github.dejankos import org.gradle.api.Plugin import org.gradle.api.initialization.Settings class RockyBuildCachePlugin : Plugin<Settings> { override fun apply(settings: Settings) { settings.buildCache { registerBuildCacheService(RockyBuildCacheProperties::class.java, RockyBuildCach...
0
Kotlin
0
0
26e65a21bee1da2f1f73837dbf660db4c079ec51
470
gradle-rocky-build-cache
MIT License
src/main/java/net/ccbluex/liquidbounce/utils/MovementUtils.kt
Rmejia39
733,988,804
false
{"Kotlin": 2304965, "Java": 1271227, "GLSL": 13515, "JavaScript": 8926}
/* * FDPClient Hacked Client * A free open source mixin-based injection hacked client for Minecraft using Minecraft Forge by LiquidBounce. * https://github.com/SkidderMC/FDPClient/ */ package net.ccbluex.liquidbounce.utils import net.ccbluex.liquidbounce.event.MoveEvent import net.minecraft.client.Minecraft import...
3
Kotlin
0
0
b48c4e83c888568111a6665037db7fd3f7813ed3
11,921
FDPClient
MIT License
clients/src/commonMain/kotlin/app/softwork/composetodo/viewmodels/Failure.kt
hfhbd
286,300,714
false
{"Kotlin": 68059, "Swift": 12186, "HTML": 385, "JavaScript": 319}
package app.softwork.composetodo.viewmodels enum class Failure(val reason: String) { WrongCredentials("Wrong credentials"), NoNetwork("Server not available") }
9
Kotlin
11
99
16e1d95cad1edabab9a1afdb16fe3f8bac81fd9d
169
ComposeTodo
Apache License 2.0
idea/idea-completion/testData/basic/common/visibility/VisibilityPrivateToThisWithReceiver2.kt
JakeWharton
99,388,807
false
null
class A<in I> { private val bar: I private fun foo(): I = null!! fun test(a: A<Int>) { a.<caret> } } // INVOCATION_COUNT: 1 // ABSENT: bar, foo
284
null
5162
83
4383335168338df9bbbe2a63cb213a68d0858104
172
kotlin
Apache License 2.0
compiler/testData/codegen/box/controlStructures/kt769.kt
JakeWharton
99,388,807
false
null
// IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS_IR_ES6 // TODO: muted automatically, investigate should it be ran for JS or not // IGNORE_BACKEND: JS, NATIVE package w_range fun box() : String { var i = 0 when (i) { 1 -> i-- else -> { i = 2 } } System.out?.println(i) return "OK" }
155
null
5553
83
4383335168338df9bbbe2a63cb213a68d0858104
319
kotlin
Apache License 2.0
kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/CfnTemplate.kt
cloudshiftinc
667,063,030
false
{"Kotlin": 149148378}
@file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION") package io.cloudshiftdev.awscdk.services.ses import io.cloudshiftdev.awscdk.CfnResource import io.cloudshiftdev.awscdk.IInspectable import io....
1
Kotlin
0
4
ddf2bfd2275b50bb86a667c4298dd92f59d7e342
15,109
kotlin-cdk-wrapper
Apache License 2.0
common/src/commonMain/kotlin/com/darkrockstudios/apps/hammer/common/DataVersion.kt
Wavesonics
499,367,913
false
null
package com.darkrockstudios.apps.hammer.common import com.darkrockstudios.apps.hammer.base.BuildMetadata internal var DATA_VERSION = BuildMetadata.DATA_VERSION fun setDataVersion(version: String) { DATA_VERSION = version } fun getDataVersion() = DATA_VERSION
0
Kotlin
1
8
37fa39e536151ba2b15eb81feddfd8435bf8a1d7
263
hammer-editor
MIT License
cinescout/settings/data/local/src/commonMain/kotlin/cinescout/settings/data/local/SettingsDataLocalModule.kt
fardavide
280,630,732
false
{"Kotlin": 2374797, "Shell": 11599}
package cinescout.anticipated.data.local import org.koin.core.annotation.ComponentScan import org.koin.core.annotation.Module @Module @ComponentScan class AnticipatedDataLocalModule
8
Kotlin
2
6
f2e3993816452afaf6c3f1e7c7a384eb9a66c06e
184
CineScout
Apache License 2.0
boat-egg/src/main/kotlin/xyz/srclab/common/egg/nest/o/OUnits.kt
srclab-projects
247,777,997
false
null
package xyz.srclab.common.egg.nest.o import java.awt.Color internal const val HUMAN_FORCE = 1 internal const val ENEMY_FORCE = 2 internal const val STEP_UNIT = 1.0 internal const val STEP_45_DEGREE_ANGLE = STEP_UNIT * 0.7071067812 internal interface OElement { var id: Long } internal interface OObjectUnit : OE...
0
Kotlin
1
4
a630d2897d5299af34ec17cfe335f3df3221851e
3,016
boat
Apache License 2.0
nav/editor/testSrc/com/android/tools/idea/naveditor/actions/ActivateSelectionActionTest.kt
JetBrains
60,701,247
false
null
/* * Copyright (C) 2018 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
5
null
227
948
10110983c7e784122d94c7467e9d243aba943bf4
2,229
android
Apache License 2.0
app/src/main/java/com/drewcodesit/afiexplorer/view/MainActivity.kt
DrewStephensCoding
509,035,000
false
null
package com.drewcodesit.afiexplorer.view import android.annotation.SuppressLint import android.app.SearchManager import android.content.ActivityNotFoundException import android.content.Context import android.content.Intent import android.content.SharedPreferences import android.content.pm.ActivityInfo import android.c...
0
Kotlin
0
1
0387b394b55a144d749041e5cef6792712ca37e0
18,739
AFIExplorer
MIT License
simplified-ui-settings/src/main/java/org/nypl/simplified/ui/settings/SettingsCustomOPDSFragment.kt
ThePalaceProject
367,082,997
false
null
package org.nypl.simplified.ui.settings import android.app.Activity import android.os.Bundle import android.text.Editable import android.text.TextWatcher import android.view.View import android.widget.Button import android.widget.EditText import android.widget.ProgressBar import android.widget.TextView import androidx...
109
null
4
8
91e03d505fc718dcc977930eb668761898ccdfc1
3,928
android-core
Apache License 2.0
Backpack/src/main/java/net/skyscanner/backpack/text/BpkTextField.kt
Skyscanner
117,813,847
false
null
/** * Backpack for Android - Skyscanner's Design System * * Copyright 2018-2021 Skyscanner 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/LI...
8
null
31
94
9b5448b446c7bc46560e430595829e5f4f090e6b
5,333
backpack-android
Apache License 2.0
shared/src/commonTest/kotlin/ui/MjImagesViewModelTest.kt
mbakgun
629,040,507
false
null
package ui import app.cash.turbine.test import data.source.MjImagesDataSource import di.initKoin import domain.model.State import fakes.ErrorMjImagesDataSource import fakes.SuccessMjImagesDataSource import kotlin.test.AfterTest import kotlin.test.BeforeTest import kotlin.test.Test import kotlin.test.assertEquals impor...
3
null
4
60
5b2962dbd9f9313972014b67b74f06c9af6cab7a
3,253
midjourney-images-compose-multiplatform
The Unlicense
sdk/src/test/java/com/moyasar/android/sdk/presentation/viewmodel/FormValidatorTest.kt
moyasar
389,428,787
false
{"Kotlin": 91616}
package com.moyasar.android.sdk.presentation.viewmodel import android.app.Application import android.arch.core.executor.testing.InstantTaskExecutorRule import com.moyasar.android.sdk.R import org.junit.Assert.* import org.junit.Before import org.junit.Rule import org.junit.Test import org.mockito.Mockito import org.mo...
0
Kotlin
3
0
233daf2f5e7b107f75a980fc15d4b28af2f75a96
3,734
moyasar-android-sdk
MIT License
elmslie-core/src/main/java/vivid/money/elmslie/core/config/ElmslieConfig.kt
vivid-money
328,970,240
false
null
package vivid.money.elmslie.core.config import vivid.money.elmslie.core.logger.ElmslieLogger import vivid.money.elmslie.core.logger.ElmslieLogConfiguration import vivid.money.elmslie.core.logger.strategy.IgnoreLog import vivid.money.elmslie.core.store.StateReducer import vivid.money.elmslie.core.switcher.Switcher impo...
7
Kotlin
12
94
fb50f3714da87a912e50bfe95edd6b08eb020b26
1,616
elmslie
Apache License 2.0
test-app-reactive/src/test/kotlin/uk/gov/justice/digital/hmpps/testappreactive/integration/auth/customizer/AuthorizeExchangeCustomizerTest.kt
ministryofjustice
750,400,333
false
{"Kotlin": 161094, "Dockerfile": 2277}
package uk.gov.justice.digital.hmpps.testappreactive.integration.auth.customizer import org.junit.jupiter.api.BeforeEach import org.junit.jupiter.api.Test import org.springframework.boot.test.context.SpringBootTest import org.springframework.boot.test.context.TestConfiguration import org.springframework.context.annota...
1
Kotlin
1
2
1bf38c08142996598c7ebc9b206186a5518ff854
2,662
hmpps-kotlin-lib
MIT License
plugins/kotlin/gradle/gradle-tooling/impl/src/org/jetbrains/kotlin/idea/gradleTooling/reflect/KotlinSourceSetReflection.kt
ingokegel
72,937,917
true
null
// Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. package org.jetbrains.kotlin.idea.gradleTooling.reflect import org.gradle.api.Named import org.gradle.api.file.SourceDirectorySet import org.gradle.api.plugins.ExtensionAware fun KotlinSourceSetRef...
1
null
1
2
b07eabd319ad5b591373d63c8f502761c2b2dfe8
2,501
intellij-community
Apache License 2.0
app/src/main/java/org/kiteio/punica/MainActivity.kt
Kiteio
815,391,946
false
{"Kotlin": 446759}
package org.kiteio.punica import android.os.Bundle import androidx.activity.ComponentActivity import androidx.activity.compose.setContent import androidx.activity.enableEdgeToEdge import androidx.compose.animation.fadeIn import androidx.compose.animation.fadeOut import androidx.compose.animation.slideInHorizontally im...
0
Kotlin
0
1
b1d3f06f3727c876842b2c7cfe74835f6e89a66a
3,353
Punica
MIT License
plugins/core/src/main/kotlin/de/fayard/refreshVersions/core/RefreshVersionsCorePlugin.kt
Splitties
150,827,271
false
null
package de.fayard.refreshVersions.core import de.fayard.refreshVersions.core.extensions.gradle.isBuildSrc import de.fayard.refreshVersions.core.extensions.gradle.isRootProject import de.fayard.refreshVersions.core.internal.InternalRefreshVersionsApi import de.fayard.refreshVersions.core.internal.RefreshVersionsConfigH...
80
Kotlin
92
1,571
2c04a6047e586cd25236916f7be6bc81ccd25997
2,606
refreshVersions
MIT License
app/src/main/java/com/lelestacia/hayate/domain/state/AppBarState.kt
gab-stargazer
717,145,817
false
{"Kotlin": 459698}
package com.lelestacia.hayate.domain.state import androidx.annotation.StringRes import com.lelestacia.hayate.R import com.lelestacia.hayate.core.common.Screen data class AppBarState( // Current route, i don't want to pass navController around val currentRoute: String = Screen.Init.route, // This part ...
0
Kotlin
0
4
892b443a225f787aa99631a3fb02fad517f7f19f
896
hayate
MIT License
educational-core/src/com/jetbrains/edu/learning/stepik/hyperskill/widget/HyperskillWidget.kt
telezhnaya
264,863,128
true
{"Kotlin": 2477547, "Java": 634238, "HTML": 131915, "CSS": 12844, "Python": 3994, "JavaScript": 315}
package com.jetbrains.edu.learning.stepik.hyperskill.widget import com.intellij.openapi.project.Project import com.jetbrains.edu.learning.EduLogInListener import com.jetbrains.edu.learning.EduNames import com.jetbrains.edu.learning.LoginWidget import com.jetbrains.edu.learning.authUtils.OAuthAccount import com.jetbrai...
0
null
0
0
9f9492f7505fb86df37c9d582814c075aa3a611d
1,219
educational-plugin
Apache License 2.0
core/ui/src/main/kotlin/com/ekezet/othello/core/ui/navigation/Finishable.kt
atomgomba
754,770,216
false
{"Kotlin": 218762}
package com.ekezet.othello.core.ui.navigation interface Finishable { fun finish() }
0
Kotlin
0
1
fd6e9345379768da5de5dbe42be377802f3e18c8
89
othello
Apache License 2.0
straight/src/commonMain/kotlin/me/localx/icons/straight/bold/Scribble.kt
localhostov
808,861,591
false
{"Kotlin": 79430321, "HTML": 331, "CSS": 102}
package me.localx.icons.straight.bold import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap.Companion.Butt import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter i...
1
Kotlin
0
5
cbd8b510fca0e5e40e95498834f23ec73cc8f245
3,865
icons
MIT License
app/src/main/java/com/example/cs567_3d_ui_project/qgis_driver/resource_objects/wms_resources/GetSchemaExtensionResponse.kt
csu-hci-projects
694,848,698
false
{"Kotlin": 91009}
package com.example.cs567_3d_ui_project.qgis_driver.resource_objects.wms_resources import com.example.cs567_3d_ui_project.qgis_driver.resource_objects.HttpResponse import com.example.cs567_3d_ui_project.qgis_driver.resource_objects.HttpResponseContent import com.google.gson.GsonBuilder import com.google.gson.JsonArray...
0
Kotlin
0
0
40ca9d803c4349d3b088e3e82d366de129c51b4d
1,664
FA23-Visualization-of-Infrastructure-with-a-3D-GIS-Mobile-Application
MIT License
src/main/kotlin/io/github/marco4413/kwasm/runtime/Label.kt
Marco4413
590,497,284
false
null
package io.github.marco4413.kwasm.runtime import io.github.marco4413.kwasm.bytecode.Expression import io.github.marco4413.kwasm.bytecode.U32 import io.github.marco4413.kwasm.instructions.Instruction open class Label(val body: Expression) : Iterator<Instruction> { var index: Int = 0 protected set over...
0
Kotlin
0
0
0a70626d5f2f1c103242810e24b9626c843e474b
800
kwasm
MIT License
src/main/kotlin/io/github/marco4413/kwasm/runtime/Label.kt
Marco4413
590,497,284
false
null
package io.github.marco4413.kwasm.runtime import io.github.marco4413.kwasm.bytecode.Expression import io.github.marco4413.kwasm.bytecode.U32 import io.github.marco4413.kwasm.instructions.Instruction open class Label(val body: Expression) : Iterator<Instruction> { var index: Int = 0 protected set over...
0
Kotlin
0
0
0a70626d5f2f1c103242810e24b9626c843e474b
800
kwasm
MIT License
gradle-dsl/src/com/android/tools/idea/gradle/dsl/model/ext/transforms/CompactToMapCatalogDependencyTransform.kt
JetBrains
60,701,247
false
null
/* * Copyright (C) 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 app...
5
null
230
948
10110983c7e784122d94c7467e9d243aba943bf4
3,380
android
Apache License 2.0
src/main/kotlin/io/github/tsb99x/trakt/core/entity/ApiTokenEntity.kt
tsb99x
203,202,702
false
null
package io.github.tsb99x.trakt.core.entity import java.time.Instant import java.util.* data class ApiTokenEntity( val id: UUID, val userId: UUID, val createdAt: Instant, val lastUsedAt: Instant )
12
Kotlin
0
0
8c664fb60d185c4fc466d8026a76eb3ccd4ccae8
214
trakt
MIT License
app/src/main/java/com/lizongying/mytv/api/LiveInfo.kt
lizongying
727,213,319
false
{"C": 1971354, "Kotlin": 342893, "Java": 143291, "CMake": 3899, "Makefile": 204}
package com.lizongying.mytv.api import android.util.Log import okhttp3.MediaType import okhttp3.RequestBody import okio.BufferedSink import java.io.IOException data class LiveInfo( val code: Int, val msg: String, val data: LiveInfoData, ) data class LiveInfoData( val extended_param: String, val c...
126
C
3005
26,803
b372d52510a494bfc57b3c05fa8cf95a78028c82
830
my-tv
Apache License 2.0
kmdc/kmdc-slider/src/jsMain/kotlin/MDCSliderTrack.kt
mpetuska
430,798,310
false
null
package dev.petuska.kmdc.slider import androidx.compose.runtime.Composable import dev.petuska.kmdc.core.MDCDsl import org.jetbrains.compose.web.dom.AttrBuilderContext import org.jetbrains.compose.web.dom.Div import org.w3c.dom.HTMLDivElement /** * [JS API](https://github.com/material-components/material-components-w...
22
Kotlin
8
29
67b31502b5f76b64f7571821fdd0b78a3df0a68c
1,152
kmdc
Apache License 2.0
nuget-feed/src/jetbrains/buildServer/nuget/feed/server/index/impl/NuGetBuildMetadataProvider.kt
38438-38438-org
193,887,431
false
{"INI": 2, "Text": 14, "Gradle": 9, "Shell": 1, "EditorConfig": 2, "Markdown": 1, "Batchfile": 1, "Ignore List": 1, "Java": 418, "XML": 116, "Kotlin": 80, "JSON": 2, "Java Server Pages": 18, "CSS": 1, "JavaScript": 1, "Microsoft Visual Studio Solution": 20, "C#": 101}
package jetbrains.buildServer.nuget.feed.server.index.impl import jetbrains.buildServer.serverSide.SBuild interface NuGetBuildMetadataProvider { fun getPackagesMetadata(build: SBuild): Collection<Map<String, String>> }
1
null
1
1
6cff9f41569191e258c63b1140fdfbfe5f9a7be9
225
teamcity-nuget-support
Apache License 2.0
src/main/kotlin/io/holunda/camunda/platform/login/ExtendedContainerBasedAuthenticationFilter.kt
holunda-io
485,963,351
false
{"Kotlin": 6657}
package io.holunda.camunda.platform.login import jakarta.servlet.FilterConfig import org.camunda.bpm.engine.rest.security.auth.AuthenticationProvider import org.camunda.bpm.webapp.impl.security.auth.ContainerBasedAuthenticationFilter /** * Uses provided instance of authentication provider instead of creation of it b...
1
Kotlin
0
10
4c6307481866eaaad616e4e4c52e8b15561adff4
584
camunda-platform-7-autologin
Apache License 2.0
app/src/main/java/com/mapswithme/maps/settings/StorageItem.kt
dnemov
245,413,600
false
null
package com.mapswithme.maps.settings import com.mapswithme.util.Constants /** * Represents storage option. */ class StorageItem internal constructor(// Path to the root of writable directory. val mPath: String?, // Free size. val mFreeSize: Long ) { override fun equals(o: Any?): Boolean { if (o...
0
Kotlin
0
1
8b75114193e141aee14fcbc207a208c4a39de1db
1,072
omim.kt
Apache License 2.0
sdk/src/main/java/com/qonversion/android/sdk/internal/QProductCenterManager.kt
qonversion
224,974,105
false
null
package com.qonversion.android.sdk.internal import android.app.Activity import android.app.Application import android.content.pm.PackageManager import android.os.Build import android.util.Pair import com.android.billingclient.api.BillingFlowParams import com.android.billingclient.api.Purchase import com.android.billin...
7
Kotlin
21
117
e0f90e56a4a9679afce6e91d724b1ffda13b8b65
41,893
android-sdk
MIT License
src/main/kotlin/at/searles/parsing/lexer/regexp/Text.kt
searles
837,100,761
false
{"Kotlin": 63697}
package at.searles.parsing.lexer.regexp import at.searles.parsing.lexer.Automaton class Text(private val text: String): Regexp { override fun <A> toAutomaton(): Automaton<A> { return Automaton.ofString(text) } override fun toString(): String { return text } }
0
Kotlin
0
0
99ddf66881d529a89bd95671956c620e425d7ada
294
parsingKotlin
MIT License
app/src/main/java/com/droid/newsapiclient/presentation/di/AdapterModule.kt
peter-wachira
401,620,074
false
null
package com.droid.newsapiclient.presentation.di import com.droid.newsapiclient.presentation.adapter.NewsAdapter import dagger.Module import dagger.Provides import dagger.hilt.InstallIn import dagger.hilt.components.SingletonComponent import javax.inject.Singleton @Module @InstallIn(SingletonComponent::class) class...
1
Kotlin
0
4
5be82560acd890700af836f318e56be53735ac42
441
PixelNewsApp
The Unlicense
appupdatewrapper/src/test/java/com/motorro/appupdatewrapper/testUtils.kt
motorro
198,185,007
false
null
/* * Copyright 2019 <NAME> (motorro). * 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...
1
null
2
35
53f96f89b0dace51c46f34b9912007dd261d7596
2,832
AppUpdateWrapper
Apache License 2.0
plugins/scripting/scripting-compiler/testData/compiler/constructAnnotations/TestAnnotationWithArrayLiteral.kts
JetBrains
3,432,266
false
{"Kotlin": 79571273, "Java": 6776465, "Swift": 4063829, "C": 2609744, "C++": 1957654, "Objective-C++": 175279, "JavaScript": 130754, "Python": 59855, "Shell": 34920, "Objective-C": 21463, "Lex": 21452, "Batchfile": 11382, "CSS": 11368, "Ruby": 10470, "Dockerfile": 9907, "Groovy": 7092, "EJS": 5241, "CMake": 4473, "HTML...
@file:TestAnnotation(options = ["option"])
181
Kotlin
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
43
kotlin
Apache License 2.0
app/src/main/java/com/yorick/cokotools/util/ShizukuSystemServerApi.kt
Yorick-Ryu
542,501,945
false
null
package com.yorick.cokotools.util import android.content.pm.IPackageInstaller import android.content.pm.IPackageManager import android.os.RemoteException import rikka.shizuku.ShizukuBinderWrapper import rikka.shizuku.SystemServiceHelper object ShizukuSystemServerApi { private val PACKAGE_MANAGER: Singleton<IPacka...
1
null
2
3
6e2b0f838546aa940211287d01aa2f1e8da8b7ce
955
CokoTools
Apache License 2.0
services/spring-graphql-redis/src/main/kotlin/micro/apps/service/domain/user/models.kt
xmlking
236,108,779
false
null
package micro.apps.service import com.redis.om.spring.annotations.Bloom import com.redis.om.spring.annotations.Indexed import com.redis.om.spring.annotations.Searchable import org.springframework.data.annotation.Id import org.springframework.data.annotation.Reference import org.springframework.data.redis.core.RedisHas...
9
null
11
48
135c0f6b8ccfe17121a367bbfdd8024c77ea3c51
812
micro-apps
MIT License
app/src/main/java/com/jensencelestial/ghiblibrary/android/ui/vehicle/VehicleFragment.kt
jensencelestial
293,452,579
false
null
package com.jensencelestial.ghiblibrary.android.ui.vehicle import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.fragment.app.Fragment import androidx.fragment.app.viewModels import androidx.lifecycle.Observer import androidx.navigation.fragm...
0
Kotlin
0
0
fcb906fcc0f834302e80d24ba646b5c9614644e4
3,189
ghiblibrary-android
MIT License
kotlin/src/src/main/java/com/techlabcamp/neuronet/presenterImpl/CouponPresenterImpl.kt
dimske-sys
610,048,630
false
null
package com.techlabcamp.neuronet.presenterImpl import com.techlabcamp.neuronet.manager.net.ApiService import com.techlabcamp.neuronet.manager.net.CustomCallback import com.techlabcamp.neuronet.manager.net.RetryListener import com.techlabcamp.neuronet.model.Coupon import com.techlabcamp.neuronet.model.CouponValidation ...
0
Kotlin
0
0
0f4cc0534a3c77a8edfb0fa043fb2ed7e2707250
1,345
neuronet
Apache License 2.0
src/maia/util/property/PropertyWithMemory.kt
waikato-maia
387,324,750
false
{"Kotlin": 249102}
package maia.util.property import maia.util.datastructure.WeakIdentityHashMap import java.util.* import kotlin.NoSuchElementException import kotlin.properties.ReadOnlyProperty import kotlin.properties.ReadWriteProperty /** * Class which provides memory for objects inside a property with memory. * * @param perObjec...
0
Kotlin
0
0
b8ca03697de549dad17dbd7c3860d44247e2e973
2,490
maia-util
Apache License 2.0
app/src/main/java/com/example/archivevn/view/NavigationFragment.kt
JoDaC
594,124,810
false
null
package com.example.archivevn.view import android.content.res.Configuration import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.EditText import androidx.databinding.DataBindingUtil import androidx.fragment.app.Fragment import androidx...
5
Kotlin
0
5
6836f0a843095c1f8b90a0ce9db235d3b76f46d2
2,316
Article-Companion
Apache License 2.0
app/src/main/java/com/criticalay/neer/ui/theme/Color.kt
criticalAY
757,950,703
false
{"Kotlin": 293492}
/* * Copyright (c) 2024 <NAME> <<EMAIL>> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
7
Kotlin
3
26
aa46640b0660ea6bda41e64ac35408467181d26e
1,010
Neer
Apache License 2.0
PracticaRecyclerViewBindingKotlin/app/src/main/java/edu/unicauca/aplimovil/practicarecyclerviewapp/adapter/UserBindingAdapter.kt
cfigmart
491,656,397
false
null
package edu.unicauca.aplimovil.practicarecyclerviewapp.adapter import android.content.Context import android.view.LayoutInflater import android.view.ViewGroup import androidx.databinding.DataBindingUtil import androidx.recyclerview.widget.RecyclerView import edu.unicauca.aplimovil.practicarecyclerviewapp.R import edu....
0
Kotlin
0
0
6647b2dd12e0098a62f024e42b5adf900de218af
1,308
aplimovil2022
Apache License 2.0
app/src/test/java/me/hufman/androidautoidrive/calendar/UpcomingDestinationTest.kt
BimmerGestalt
164,273,785
false
null
package me.hufman.androidautoidrive.calendar import android.location.Address import org.mockito.kotlin.* import me.hufman.androidautoidrive.carapp.calendar.UpcomingDestination import me.hufman.androidautoidrive.maps.LatLong import me.hufman.androidautoidrive.carapp.navigation.AddressSearcher import me.hufman.androidau...
61
null
90
546
ea49ba17a18c353a8ba55f5040e8e4321bf14bd7
6,044
AAIdrive
MIT License
libNetwork/src/main/java/com/kanawish/socket/NetworkHelper.kt
kanawish
110,839,705
false
null
package com.kanawish.socket import android.graphics.Bitmap import android.graphics.BitmapFactory import com.kanawish.robot.Command import com.kanawish.robot.Telemetry import io.reactivex.Completable import io.reactivex.Observable import io.reactivex.disposables.Disposable import io.reactivex.schedulers.Schedulers impo...
1
null
2
4
0404917454f2cbc04731c41d760edbff17444fb1
8,472
mixed-reality-toolbox
Apache License 2.0
app/src/main/java/com/app/upload_file/ui/upload_files/UploadListAdapter.kt
thanhit93
459,072,267
false
null
package com.app.upload_file.ui.upload_files import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.ImageView import android.widget.TextView import androidx.recyclerview.widget.RecyclerView import com.app.upload_file.R class UploadListAdapter(var fileNameList: L...
0
Kotlin
0
0
8775ab01083bb8ea5fb4204438908767a177ba6a
1,448
multiple_upload_firebase
MIT License
media/audio-ui/src/test/kotlin/com/google/android/horologist/audio/ui/components/actions/SetVolumeButtonTest.kt
google
451,563,714
false
{"Kotlin": 3151160, "Shell": 5169, "Java": 708, "Starlark": 361}
/* * Copyright 2022 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
16
Kotlin
93
565
bde87db14f63338904550fc1827d0141ebe24d9a
2,633
horologist
Apache License 2.0
trixnity-core/src/commonMain/kotlin/net/folivo/trixnity/core/model/Mention.kt
benkuly
330,904,570
false
{"Kotlin": 4181910, "JavaScript": 5352, "TypeScript": 2906, "CSS": 1454, "Dockerfile": 1275}
package net.folivo.trixnity.core.model sealed interface Mention { data class User(val userId: UserId) : Mention data class Room(val roomId: RoomId) : Mention data class RoomEvent(val roomId: RoomId, val eventId: EventId) : Mention data class RoomAlias(val roomAliasId: RoomAliasId) : Mention data cl...
0
Kotlin
3
29
8a92f29c64822248ba00fc6d8ad55466f93ab081
455
trixnity
Apache License 2.0
mtproto/src/main/kotlin/com/github/badoualy/telegram/mtproto/tl/MTProtoContext.kt
y9san9
285,876,206
true
{"Gradle": 7, "Shell": 1, "Text": 1, "Ignore List": 6, "Batchfile": 1, "YAML": 1, "Markdown": 1, "JAR Manifest": 1, "Kotlin": 94, "INI": 1, "Java": 894, "Gradle Kotlin DSL": 1, "JSON": 776}
package com.github.badoualy.telegram.mtproto.tl import com.github.badoualy.telegram.tl.TLContext object MTProtoContext : TLContext(15) { override fun init() { registerClass(MTMessagesContainer.CONSTRUCTOR_ID, MTMessagesContainer::class.java) registerClass(MTMsgsAck.CONSTRUCTOR_ID, MTMsgsAck::clas...
1
Java
2
5
34f98671bd0aa15c67b0ead1ed0292755bf8c7eb
1,527
kotlogram
MIT License
crp-util-desktop/src/main/kotlin/com/x256n/desktop/crputil/MainState.kt
liosha2007
471,299,880
false
null
package com.x256n.desktop.crputil data class MainState( val mode: ScreenMode = ScreenMode.MAIN, val source: String = "", val result: List<DisplayResultItem> = emptyList(), val activePanel: ActivePanel = ActivePanel.SOURCE, val progress: Float = 0f, val logs: MutableList<LogMessage> = mutableLis...
0
Kotlin
0
0
23ec8032fbe3719a6e9a6b5d80cfb88fa2a31a90
648
crp-util
MIT License
velocity/src/main/kotlin/kingmc/platform/velocity/entity/player/VelocityPlayer.kt
Kingsthere
599,960,106
false
{"Kotlin": 1080096}
package kingmc.platform.velocity.entity.player import kingmc.common.application.Application import kingmc.platform.proxy.entity.player.ProxiedPlayer import kingmc.platform.server import kingmc.platform.velocity.VelocityProxyServer import kingmc.platform.velocity._VelocityPlayer import kingmc.platform.velocity.command....
0
Kotlin
0
1
6c325cbe550bcebc70f3071564e63459c2592f6b
1,003
kingmc-platform
MIT License
web/src/main/kotlin/showdown.web/ui/game/Toolbar.kt
Foso
335,062,450
false
null
package showdown.web.ui.game import Application import kotlinx.html.DIV import kotlinx.html.id import kotlinx.html.js.onClickFunction import materialui.components.appbar.appBar import materialui.components.appbar.enums.AppBarColor import materialui.components.appbar.enums.AppBarPosition import materialui.components.bu...
0
Kotlin
0
0
b68c5f3964163fa2d263b298b96c30c1c469bcf3
8,058
QuizPrototype
Apache License 2.0
app/src/main/java/com/fourteenrows/p2pcs/activities/quest/QuestRecyclerAdapter.kt
FourteenRows
185,977,617
false
null
package com.fourteenrows.p2pcs.activities.quest import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.appcompat.widget.AppCompatTextView import androidx.recyclerview.widget.RecyclerView import com.fourteenrows.p2pcs.R import com.fourteenrows.p2pcs.objects.quests.Acti...
0
Kotlin
0
0
b88364cb6775aa24ef005845943d1086a7f76bbe
2,556
P2PCS
MIT License
compiler/testData/codegen/box/inlineClasses/propertyDelegation/kt42933.kt
JetBrains
3,432,266
false
null
// WITH_RUNTIME class Delegate { operator fun getValue(t: Any?, p: Any): String = "OK" } @Suppress("OPTIONAL_DECLARATION_USAGE_IN_NON_COMMON_SOURCE") @kotlin.jvm.JvmInline value class Kla1(val default: Int) { fun getValue(): String { val prop by Delegate() return prop } } fun box() = Kla1...
125
null
4813
39,375
83d2d2cfcfc3d9903c902ca348f331f89bed1076
334
kotlin
Apache License 2.0
compiler/testData/codegen/classes/privateOuterFunctions.kt
chirino
3,596,099
false
null
class C { private fun String.ext() : String = "" private fun f() {} public fun foo() : String { { "".ext() f() }.invoke() object : Runnable { public override fun run() { "".ext() f() } }.run() ...
0
null
28
71
ac434d48525a0e5b57c66b9f61b388ccf3d898b5
505
kotlin
Apache License 2.0
src/main/kotlin/com/hiberus/anaya/redmineeditor/dialogs/ColorEntrySettings.kt
anayaHiberus
645,313,511
false
{"Kotlin": 214371, "Java": 692, "Batchfile": 504, "Shell": 240, "CSS": 43}
package com.hiberus.anaya.redmineeditor.dialogs import com.hiberus.anaya.redmineeditor.model.Colors import com.hiberus.anaya.redmineeditor.utils.enabled import javafx.scene.control.Button import javafx.scene.control.ColorPicker import javafx.scene.control.Label import javafx.scene.control.Tooltip /** For settings. */...
0
Kotlin
0
3
b0bac42c74907f2b29b832a2e6bd1d57f3831e5f
1,737
redmineeditor
Creative Commons Attribution 4.0 International
app/src/main/java/com/benrostudios/enchante/data/models/response/home/PasseX.kt
EnchanteHQ
380,800,255
false
null
package com.benrostudios.enchante.data.models.response.events data class PasseX( val _id: String? = "", val availableNumber: Int? = 0, val description: String? = "", val passName: String? = "", val price: Int? = 0 )
0
Kotlin
0
0
67cf14e4929105fcc7b2d1c8ad35136ea2c5f154
236
enchante
MIT License
zzsong-device-edge/src/main/kotlin/com/zzsong/device/edge/configure/DeviceEdgeInitializing.kt
Songzhizong
465,969,434
false
null
package com.zzsong.device.edge.configure import com.zzsong.device.edge.infrastructure.center.CenterClient import kotlinx.coroutines.runBlocking import org.slf4j.Logger import org.slf4j.LoggerFactory import org.springframework.beans.factory.SmartInitializingSingleton import org.springframework.stereotype.Component /**...
0
Kotlin
0
0
06f8f2664499e92576b0bc329083ec15bebfdad9
1,138
zzsong-device
MIT License
src/test/kotlin/uk/gov/justice/digital/hmpps/prisonerfromnomismigration/prisonperson/physicalattributes/PhysicalAttributesNomisApiMockServer.kt
ministryofjustice
452,734,022
false
{"Kotlin": 2137951, "Mustache": 1803, "Dockerfile": 1377}
package uk.gov.justice.digital.hmpps.prisonerfromnomismigration.prisonperson import com.fasterxml.jackson.databind.ObjectMapper import com.github.tomakehurst.wiremock.client.WireMock.aResponse import com.github.tomakehurst.wiremock.client.WireMock.get import com.github.tomakehurst.wiremock.client.WireMock.urlEqualTo i...
3
Kotlin
1
2
d312542469362ff77dab8300a3aadaadc3143395
3,099
hmpps-prisoner-from-nomis-migration
MIT License
build-tools/agp-gradle-core/src/main/java/com/android/build/gradle/internal/ManagedDeviceUtils.kt
RivanParmar
526,653,590
false
null
/* * Copyright (C) 2020 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
0
null
2
17
a497291d77bba1aa34271808088fe1e8aab5efe2
3,775
androlabs
Apache License 2.0
app/src/main/java/net/osdn/ja/gokigen/wearos/timerapp/presentation/ui/ViewRoot.kt
MRSa
753,626,791
false
{"Kotlin": 57411}
package net.osdn.ja.gokigen.wearos.timerapp.presentation.ui import android.content.Context import android.util.AttributeSet import android.util.Log import androidx.compose.runtime.Composable import androidx.compose.runtime.remember import androidx.compose.ui.platform.AbstractComposeView import androidx.wear.compose.na...
0
Kotlin
0
0
3f4fac2d77da8ee9ff39a9b931c57fa77a87f8b9
1,193
TimerApp
Apache License 2.0
deprecated/RxJavaTemplate/app/src/main/java/co/nimblehq/rxjava/ui/common/ItemClickable.kt
nimblehq
101,353,301
false
null
package co.nimblehq.rxjava.ui.common import io.reactivex.Observable import io.reactivex.subjects.PublishSubject interface ItemClickable<T : Any> { val itemClick: Observable<T> fun notifyItemClick(data: T) } class ItemClickableImpl<T : Any> : ItemClickable<T> { private val _itemClick = PublishSubject.c...
31
null
23
94
f07941499a70b6144f4280c233edba542ab3e516
471
android-templates
MIT License
app/src/main/java/com/xwq/companyvxwhelper/bean/Enum/InputSettingEnum.kt
aidenpierce2
421,354,234
false
null
package com.xwq.companyvxwhelper.bean.Enum enum class InputSettingEnum(var inputSettingStr : String) { PHONENUM("phonenum"), WXACCOUNT("wxaccount") }
0
Kotlin
0
0
f3dea6373b9a48e9fbbd69dba8a27da10d6569b3
156
companyvxwhelper
MIT License