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/commonMain/generated/kotlin/ch/tutteli/kbox/Tuple5Like.kt
robstoll
79,735,987
false
{"Kotlin": 276135, "Java": 85}
// -------------------------------------------------------------------------------------------------------------------- // automatically generated, don't modify here but in: // gradle/code-generation/src/main/kotlin/code-generation.generate.gradle.kts // -----------------------------------------------------------------...
1
Kotlin
3
8
c2c54c3b4c75ea38c3c3df7129aa831a9278f9df
1,520
kbox
Apache License 2.0
idea/testData/refactoring/move/kotlin/moveNestedClass/dropEmptyCompanion/before/test.kt
JakeWharton
99,388,807
true
null
package test class Test1 { companion object { class <caret>Nested{} } }
0
Kotlin
28
83
4383335168338df9bbbe2a63cb213a68d0858104
88
kotlin
Apache License 2.0
android-npw/testSrc/com/android/tools/idea/npw/module/BenchmarkModuleTest.kt
JetBrains
60,701,247
false
{"Kotlin": 53054415, "Java": 43443054, "Starlark": 1332164, "HTML": 1218044, "C++": 507658, "Python": 191041, "C": 71660, "Lex": 70302, "NSIS": 58238, "AIDL": 35382, "Shell": 29838, "CMake": 27103, "JavaScript": 18437, "Smali": 7580, "Batchfile": 7357, "RenderScript": 4411, "Clean": 3522, "Makefile": 2495, "IDL": 19}
/* * Copyright (C) 2021 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
5
Kotlin
227
948
10110983c7e784122d94c7467e9d243aba943bf4
3,317
android
Apache License 2.0
integration-tests/vertx-kotlin/src/test/kotlin/io/quarkus/it/vertx/kotlin/KotlinSuspendConsumeEventTest.kt
patrox
377,393,180
true
{"Batchfile": 8, "Shell": 22, "Markdown": 93, "Java": 17456, "Java Properties": 363, "HTML": 123, "INI": 756, "Kotlin": 347, "Scala": 38, "SQL": 95, "Gradle Kotlin DSL": 35, "Dockerfile": 2, "JavaScript": 112, "Python": 1, "CSS": 6, "PLpgSQL": 1}
package io.quarkus.it.vertx.kotlin import io.quarkus.test.junit.QuarkusTest import io.vertx.core.eventbus.DeliveryOptions import io.vertx.core.eventbus.EventBus import jakarta.inject.Inject import java.util.concurrent.TimeUnit import org.junit.jupiter.api.Assertions.assertEquals import org.junit.jupiter.api.BeforeEach...
0
Java
0
3
4b7e8c29de35541bb6a7b668391f31083abd1415
1,894
quarkus
Apache License 2.0
buildSrc/src/main/kotlin/Definitions.kt
programadorthi
360,684,543
true
{"Kotlin": 19462, "Java": 216}
/** * Common definitions used in several Gradle modules */ object Definitions { const val groupId = "io.labs.dotanuki" const val libraryVersion = "0.0.4" const val targetJDK = "1.8" }
0
null
1
0
ff0cf978975e46f800bdcf652f2a57daeb6f1535
198
magic-modules
MIT License
collect_app/src/androidTest/java/org/odk/collect/android/support/pages/FirstLaunchPage.kt
nchenari
375,854,035
true
{"Java": 4604777, "Kotlin": 342855, "XSLT": 142758, "HTML": 11799, "JavaScript": 2830, "Shell": 1245}
package org.odk.collect.android.support.pages import org.odk.collect.android.R class FirstLaunchPage : Page<FirstLaunchPage>() { override fun assertOnPage(): FirstLaunchPage { assertText(R.string.configure_with_qr_code) return this } fun clickTryCollect(): MainMenuPage { clickOnS...
0
Java
0
0
3b5f08e205392ce38bf1abe1a18804d4a59b2e86
816
collect
Apache License 2.0
app/src/main/kotlin/com/ramotion/showroom/examples/navigationtoolbar/ExampleDataSet.kt
msukov
148,614,834
false
{"Gradle": 4, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Proguard": 2, "Java": 52, "XML": 94, "Kotlin": 15}
package com.ramotion.showroom.examples.navigationtoolbar import com.ramotion.showroom.R interface HeaderDataSet { data class ItemData(val gradient: Int, val background: Int, val title: String) fun getItemData(pos: Int): ItemData } interface PageDataSet { ...
1
null
1
1
286471e3600a60f593df7d45c63943a189cef9d0
3,907
showroom-android
MIT License
App/app/src/main/java/at/tugraz/vaccinationpassport/DocAddActivity.kt
sw21-tug
351,002,683
false
{"Text": 1, "Markdown": 2, "Gradle": 3, "Java Properties": 2, "Shell": 2, "Ignore List": 4, "Batchfile": 2, "Proguard": 1, "Kotlin": 47, "XML": 38, "Java": 3, "Gradle Kotlin DSL": 2, "INI": 2}
package at.tugraz.vaccinationpassport import android.content.Intent import android.content.res.Configuration import android.content.res.Resources import android.os.Bundle import android.util.Log import android.view.MenuItem import android.view.View import android.widget.EditText import androidx.appcompat.app.ActionBar...
5
null
5
1
04a904fada50a3a710e3163634ce38cf4b83d4c7
4,843
Team_20
MIT License
src/main/kotlin/org/swordess/common/lang/io/DirectoryWatcher.kt
swordess
225,810,986
false
null
/* * The MIT License (MIT) * * Copyright (c) 2016 Vic Lau * * 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 without limitation the rights * to use, copy...
3
null
1
1
bc198dbde6d89593ec6507da0249807877f6f372
4,031
common-lang
MIT License
buildSrc/src/main/kotlin/GradleUtil.kt
kepocnhh
349,158,555
false
{"Gradle Kotlin DSL": 4, "Text": 1, "Ignore List": 3, "Markdown": 1, "YAML": 1, "Java": 2, "Shell": 17, "Dockerfile": 1, "Kotlin": 10}
import org.gradle.api.Project import org.gradle.api.initialization.dsl.ScriptHandler import org.gradle.api.tasks.SourceSet import org.gradle.api.tasks.SourceSetContainer import org.gradle.kotlin.dsl.DependencyHandlerScope import org.gradle.kotlin.dsl.ScriptHandlerScope import org.gradle.kotlin.dsl.dependencies import o...
2
null
1
1
a6c81acc88e4beffb4453d2cd00a7719b5d2887c
2,348
GitHubPackagesSample
Apache License 2.0
easyvalidation-toasts/src/main/java/com/wajahatkarim3/easyvalidation/toasts/view_ktx/TextViewKtx.kt
wajahatkarim3
131,595,666
false
null
package com.wajahatkarim3.easyvalidation.toasts.view_ktx import android.widget.TextView import com.wajahatkarim3.easyvalidation.core.view_ktx.validator fun TextView.nonEmptyToast(errorMsg: String? = null): Boolean { return validator().nonEmpty(errorMsg).addErrorCallback { showToast(errorMsg ?: it) }....
12
null
71
398
30816d7c1a39a5017876f30651af677a6a72c1bc
24,165
EasyValidation
Apache License 2.0
compiler/testData/codegen/box/properties/lateinit/simple.kt
carozhu
42,450,179
true
{"Markdown": 34, "Kotlin": 19841, "Java": 4418, "Shell": 7, "Batchfile": 9, "Java Properties": 11, "HTML": 143, "INI": 7, "CSS": 2, "JavaScript": 63, "Proguard": 1}
class A { public lateinit val str: String init { str = "OK" } } fun box(): String { val a = A() return a.str }
0
Java
0
0
708ceb4aff818d096f36ecfa9eaab1d81f99d2a5
140
kotlin
Apache License 2.0
core/src/jvmTest/kotlin/behavior/channel/MessageChannelBehaviorTest.kt
kordlib
202,856,399
false
null
package dev.kord.core.behavior.channel import dev.kord.core.equality.ChannelEqualityTest import dev.kord.core.mockKord internal class MessageChannelBehaviorTest : ChannelEqualityTest<MessageChannelBehavior> by ChannelEqualityTest({ id -> val kord = mockKord() MessageChannelBehavior(id = id, kord = kord) })
52
null
82
922
e99c5c583229d20e69632aae39cee47da637abef
318
kord
MIT License
compiler/fir/analysis-tests/testData/resolve/expresssions/invoke/explicitReceiver.kt
JetBrains
3,432,266
false
null
fun x() { } class Foo { val x: Foo = Foo() operator fun invoke(): Foo { return this } fun bar() = x() // Should resolve to invoke } class Bar { fun x() {} val x: Bar = Bar() operator fun invoke(): Bar { return this } fun baz() { x() // Should resolve to fun x() } }
181
null
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
316
kotlin
Apache License 2.0
src/test/kotlin/cn/yiiguxing/plugin/translate/util/StringsTest.kt
YiiGuxing
60,159,997
false
null
package cn.yiiguxing.plugin.translate.util import org.junit.Assert import org.junit.Test /** * StringsTest */ class StringsTest { @Test fun testSplitWord() { Assert.assertEquals("split Word", "splitWord".splitWords()) Assert.assertEquals("Split Word", "SplitWord".splitWords()) Asser...
38
null
711
9,758
3a5cf29b7765e48ff828c23e3bb960aa72a583d4
6,179
TranslationPlugin
MIT License
commonlib/src/main/java/com/module/common/widget/HeadToolBar.kt
chenyacheng
471,260,725
false
{"Java": 183942, "Kotlin": 58525}
package com.module.common.widget import android.content.Context import android.util.AttributeSet import android.view.LayoutInflater import android.view.View import android.widget.FrameLayout import com.module.common.databinding.ToolbarHeadBinding /** * 顶部状态栏 * * @author bd * @date 2021/10/14 */ class HeadToolBar...
1
null
1
1
0c73512b4150db24fca9cbced9439c0697deefee
2,256
FrameModule
MIT License
commonlib/src/main/java/com/module/common/widget/HeadToolBar.kt
chenyacheng
471,260,725
false
{"Java": 183942, "Kotlin": 58525}
package com.module.common.widget import android.content.Context import android.util.AttributeSet import android.view.LayoutInflater import android.view.View import android.widget.FrameLayout import com.module.common.databinding.ToolbarHeadBinding /** * 顶部状态栏 * * @author bd * @date 2021/10/14 */ class HeadToolBar...
1
null
1
1
0c73512b4150db24fca9cbced9439c0697deefee
2,256
FrameModule
MIT License
ontrack-extension-stale/src/main/java/net/nemerosa/ontrack/extension/stale/StalePropertyCascEntity.kt
nemerosa
19,351,480
false
null
package net.nemerosa.ontrack.extension.stale import net.nemerosa.ontrack.extension.casc.entities.AbstractCascEntityPropertyContext import net.nemerosa.ontrack.model.structure.PropertyService import org.springframework.stereotype.Component @Component class StalePropertyCascEntity( propertyType: StalePropertyType, ...
57
Kotlin
27
97
7c71a3047401e088ba0c6d43aa3a96422024857f
513
ontrack
MIT License
buildSrc/src/main/kotlin/io/vertx/gradle/generator/FreemarkerTemplateEngine.kt
danielpetisme
145,231,664
false
{"Gradle Kotlin DSL": 10, "Shell": 4, "Text": 1, "Ignore List": 1, "Batchfile": 3, "Groovy": 1, "EditorConfig": 1, "AsciiDoc": 1, "YAML": 1, "Kotlin": 19, "Java Properties": 1, "Fluent": 4, "Java": 2, "INI": 2}
package io.vertx.gradle.generator import freemarker.template.Configuration import freemarker.template.TemplateExceptionHandler import java.io.File open class FreemarkerTemplateEngine(val from: File, val into: File, val templateExtension: String = ".ftl") { private val hasFreemarkerExtension = { _: File, name: Stri...
1
Kotlin
4
3
6b712f55ea73da5c90470f552a6960ec0b314c5a
891
vertx-project-generator
Apache License 2.0
agp-7.1.0-alpha01/tools/base/lint/cli/src/main/java/com/android/tools/lint/XmlReader.kt
jomof
502,039,754
false
{"Java": 35519326, "Kotlin": 22849138, "C++": 2171001, "HTML": 1377915, "Starlark": 915536, "C": 141955, "Shell": 110207, "RenderScript": 58853, "Python": 25635, "CMake": 18109, "Batchfile": 12180, "Perl": 9310, "Dockerfile": 5690, "Makefile": 4535, "CSS": 4148, "JavaScript": 3488, "PureBasic": 2359, "GLSL": 1628, "AID...
/* * Copyright (C) 2021 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
1
Java
1
0
9e3475f6d94cb3239f27ed8f8ee81b0abde4ef51
26,853
CppBuildCacheWorkInProgress
Apache License 2.0
android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/host/exp/exponent/modules/internal/ExponentAsyncStorageModule.kt
betomoedano
462,599,485
false
null
// Copyright 2015-present 650 Industries. All rights reserved. package versioned.host.exp.exponent.modules.internal import com.facebook.react.bridge.Callback import com.facebook.react.bridge.ReactApplicationContext import com.facebook.react.bridge.ReactMethod import com.facebook.react.bridge.ReadableArray import com.f...
668
null
5226
4
52d6405570a39a87149648d045d91098374f4423
2,447
expo
MIT License
app/src/main/java/com/example/imagegallery/view/main/ImageListFragment.kt
auron567
278,583,026
false
{"Kotlin": 70186}
package com.example.imagegallery.view.main import android.os.Bundle import android.view.LayoutInflater import android.view.Menu import android.view.MenuInflater import android.view.View import android.view.ViewGroup import androidx.appcompat.widget.SearchView import androidx.fragment.app.Fragment import androidx.navig...
2
Kotlin
20
220
6244d94afe2ba86f1458b8cc2cf78c83ed431e17
5,270
Gallerit
MIT License
presentation/src/main/java/com/x/presentation/scene/main/dashboard/DashboardViewModel.kt
ResulSilay
469,322,755
false
{"Kotlin": 403160}
package com.x.presentation.scene.main.dashboard import androidx.lifecycle.viewModelScope import com.x.domain.repository.cache.CachePreferences import com.x.domain.usecase.ActionUseCase import com.x.domain.usecase.DashboardUseCase import com.x.presentation.base.BaseViewModel import com.x.presentation.scene.main.dashboa...
0
Kotlin
1
14
4648b4e6fdbaf60631c9a203cefd51beef370f71
2,326
jenci
Apache License 2.0
plugin/src/org/jetbrains/haskell/scope/ModuleScope.kt
kosiakk
23,557,980
true
{"Kotlin": 186606, "Java": 151985, "Haskell": 4139}
package org.jetbrains.haskell.scope import org.jetbrains.haskell.psi.ValueDeclaration import org.jetbrains.haskell.psi.Module import java.util.ArrayList import org.jetbrains.haskell.psi.DataDeclaration import org.jetbrains.haskell.psi.ConstructorDeclaration import org.jetbrains.haskell.psi.TypeName /** * Created by ...
0
Kotlin
0
0
f4a452bd8865c4bc9785b22264e3fa4e8dc312f6
1,706
haskell-idea-plugin
Apache License 2.0
examples/kotlin-diktat/warn/chapter1/TestResultsFileTest/EnumTestDetection.kt
saveourtool
340,654,529
false
{"Kotlin": 391563, "Shell": 601}
package org.cqfn.diktat.test.resources.test.paragraph1.naming.enum_ // ;warn:3:1: [MISSING_KDOC_TOP_LEVEL] all public and internal top-level classes and functions should have Kdoc: EnumTestDetection (cannot be auto-corrected) // ;warn:30: [WRONG_DECLARATIONS_ORDER] declarations of constants and enum members should be ...
69
Kotlin
4
42
470be8f5787fa4de9f220640e6add72ad277aaf8
1,082
save-cli
MIT License
core/src/main/java/dev/pthomain/android/boilerplate/core/utils/kotlin/BooleanExtensions.kt
pthomain
140,967,224
false
{"Kotlin": 97269}
package dev.pthomain.android.boilerplate.core.utils.kotlin fun Boolean?.ifTrue(ifTrue: () -> Unit) { ifTrue(this, ifTrue) } fun Boolean?.ifFalseOrNull(ifFalse: () -> Unit) { ifFalseOrNull(this, ifFalse) } fun <T> Boolean?.ifElse(ifTrue: T, ifFalse: T) = ifElse(this, ifTrue, if...
0
Kotlin
1
1
9c58f74d7d7ccb01556ad8e2c2e3bcb407739569
453
boilerplate
Apache License 2.0
src/main/kotlin/com/pokosho/midi2musicxml/cui/Cui.kt
kaibadash
255,134,236
false
null
package com.pokosho.midi2musicxml.cui import com.pokosho.midi2musicxml.MidiParser import com.pokosho.midi2musicxml.executor.NeutrinoExecutor /** * Command Line Interface. * See help() */ class Cui(val args: Array<String>) { fun run(): Int { val params: Params? try { params = Params(args, System.`in...
5
Kotlin
1
9
bbd6d4e7522145817ab38b12ed364747fc273242
952
midi2musicxml
MIT License
app/src/main/java/me/zhaoweihao/hnuplus/Gson/Channel.kt
zhaoweih
128,950,368
false
null
package me.zhaoweihao.hnuplus.Gson /** * Created by ZhaoWeihao on 2018/1/6. */ class Channel { var lastBuildDate: String? = null var location: Location? = null var wind: Wind? = null var atmosphere: Atmosphere? = null var astronomy: Astronomy? = null var item: Item? = null }
0
Kotlin
0
13
73f2e2b5467c0010f2cb8852c306b0fe0ef95617
304
Nice-Trader
MIT License
summer-arch-lifecycle/src/androidMain/kotlin/summer/arch/ViewModelBinder.kt
adevone
195,204,039
false
null
package summer.arch import androidx.lifecycle.Lifecycle import androidx.lifecycle.LifecycleEventObserver import androidx.lifecycle.LifecycleOwner import summer.DefaultSummerViewModel import summer.DefaultSummerViewModelImpl import summer.LifecycleViewModel interface ViewModelBinder<TView> { fun bindView(owner: Li...
1
null
2
44
c0136b93032e10f930de2011f44209adbe971c36
2,523
summer
MIT License
app/src/main/java/com/capstone/ecoreport/ui/item/DummyItem.kt
eco-report-inc
722,970,466
false
{"Kotlin": 145779}
package com.capstone.ecoreport.ui.item import androidx.compose.foundation.Image import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Row import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.foundation.layout.fi...
0
Kotlin
0
0
137d86557557c2f39e9eea2075865906073766f0
2,048
eco-report-mobile
MIT License
basick/src/main/java/com/mozhimen/basick/utilk/kotlin/UtilKStrAssetFileName.kt
mozhimen
353,952,154
false
{"Kotlin": 2406837, "Java": 313410, "AIDL": 1012}
package com.mozhimen.basick.utilk.kotlin import android.graphics.Bitmap import com.mozhimen.basick.elemk.commons.IAB_Listener import com.mozhimen.basick.utilk.android.content.UtilKAsset import com.mozhimen.basick.utilk.android.content.UtilKAssetManager import com.mozhimen.basick.utilk.android.content.getStrAssetFilePa...
0
Kotlin
6
114
004a0f393c40649d95294b8165090c603e8d0d38
3,241
SwiftKit
Apache License 2.0
persistence/src/main/kotlin/io/sparkled/persistence/transaction/Transaction.kt
jeffdbeats
208,570,966
true
{"Kotlin": 374254, "JavaScript": 194627, "CSS": 6973, "HTML": 1319}
package io.sparkled.persistence.transaction import javax.inject.Inject import javax.inject.Provider import javax.persistence.EntityManager class Transaction @Inject constructor(private val entityManagerProvider: Provider<EntityManager>) { fun <T> of(query: () -> T): T { val transaction = entityManagerPro...
0
null
0
1
fe9d05789b338d17bbb46fad8cc1ba6f33b7096c
592
sparkled
MIT License
src/test/kotlin/discord/weather/CityDetails.kt
lacanlale
115,397,062
false
null
package weather import org.json.JSONObject import java.io.File import java.io.FileNotFoundException import java.util.* import kotlin.collections.ArrayList /********************************************************* * Primary class for dealing with reading the * * city list file. Will also process the weat...
1
Kotlin
0
0
c7d164842a753c124bfc50a63ecb1030cd633c44
2,448
DiscordWeatherBot
MIT License
library/src/main/java/com/sharkaboi/appupdatechecker/sources/github/GithubTagSource.kt
Sharkaboi
388,470,290
false
{"Kotlin": 55771}
package com.sharkaboi.appupdatechecker.sources.github import com.sharkaboi.appupdatechecker.models.AppUpdateCheckerException import com.sharkaboi.appupdatechecker.models.GenericError import com.sharkaboi.appupdatechecker.models.InvalidRepositoryNameException import com.sharkaboi.appupdatechecker.models.InvalidUserName...
0
Kotlin
1
3
2edec5b593b48e53f5bf24dd4388c696545cd181
2,823
AppUpdateChecker
MIT License
app/src/main/java/project/dheeraj/cinewatch/di/module/DatabaseModule.kt
dheerajkotwani
349,171,972
false
null
package project.dheeraj.cinewatch.di.module import android.app.Application import dagger.Module import dagger.Provides import dagger.hilt.InstallIn import dagger.hilt.android.components.ApplicationComponent import project.dheeraj.cinewatch.data.local.BookmarkDatabase import javax.inject.Singleton /** * Created by <N...
1
Kotlin
9
31
eb22a6a45963f3be8d3ae82cdae0b2cf3bcc33fe
655
CineWatch
MIT License
app/src/main/java/com/appmilla/web3authdemoapp/AppNavigation.kt
Appmilla
744,430,460
false
{"Kotlin": 68542}
package com.appmilla.web3authdemoapp import androidx.compose.runtime.Composable import androidx.compose.runtime.collectAsState import androidx.compose.runtime.getValue import androidx.compose.ui.platform.LocalContext import androidx.lifecycle.viewmodel.compose.viewModel import androidx.navigation.compose.NavHost impor...
0
Kotlin
0
0
e0d9098194f08295431a5504c8f3d7a044fb8344
2,274
Web3AuthDemo
Apache License 2.0
app/src/main/java/me/lazy_assedninja/demo/ui/index/MainComponent.kt
henryhuang1219
357,838,778
false
null
package me.lazy_assedninja.demo.ui.index import dagger.Subcomponent import me.lazy_assedninja.demo.di.ActivityScope import me.lazy_assedninja.demo.ui.demo.di.DemoComponent import me.lazy_assedninja.demo.ui.documents_provider.di.DocumentsProviderComponent import me.lazy_assedninja.demo.ui.retrofit.di.RetrofitComponent ...
0
Kotlin
1
2
2f5a79974f8d6b6af516a8959824558324bab8ce
1,111
Android-Demo
Apache License 2.0
src/main/kotlin/mixit/repository/TicketRepository.kt
konrad-kaminski
94,822,051
true
{"HTML": 90494, "Kotlin": 76303, "CSS": 25975, "JavaScript": 6164, "TypeScript": 2185}
package mixit.repository import mixit.model.* import org.slf4j.LoggerFactory import org.springframework.data.mongodb.core.ReactiveMongoTemplate import org.springframework.data.mongodb.core.findAll import org.springframework.stereotype.Repository @Repository class TicketRepository(private val template: ReactiveMongoT...
0
HTML
1
2
996f11323f564e35d482e2ed0326b0de73100650
576
mixit
Apache License 2.0
browser-kotlin/src/jsMain/kotlin/webassembly/Table.kt
karakum-team
393,199,102
false
null
// Automatically generated - do not modify! @file:JsQualifier("WebAssembly") package webassembly external class Table( descriptor: TableDescriptor, value: Any? = definedExternally, ) { val length: Int operator fun get(index: Int): Any fun grow( delta: Number, value: Any? = defined...
0
Kotlin
6
22
340fa5d93f874ebf14810ab797a9808af574e058
429
types-kotlin
Apache License 2.0
app/src/main/kotlin/io/github/tommygeenexus/usbdonglecontrol/control/business/ControlState.kt
Tommy-Geenexus
532,057,986
false
null
/* * Copyright (c) 2022-2024, <NAME> (<EMAIL>) * * 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 without limitation the rights to use, copy, modify, merge,...
4
null
1
8
67a5e6a3b03d784c208cd3ea61de0c926e5e3d02
1,748
usb-dongle-control
MIT License
kotmolpdbparser/src/test/java/com/kotmol/pdbParser/BondGuanineTest01.kt
kotmol
275,154,384
false
null
/* * Copyright 2020 <NAME> * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable law or agreed to in writ...
3
null
0
1
53ac74abe5224784cb64bbd82727c45a89dda1fe
5,346
KotmolPdbParser
Apache License 2.0
project-system-gradle/testSrc/com/android/tools/idea/gradle/project/sync/issues/SyncFailureUsageReporterTest.kt
JetBrains
60,701,247
false
{"Kotlin": 49550960, "Java": 35837871, "HTML": 1217714, "Starlark": 909188, "C++": 357481, "Python": 106384, "C": 71782, "Lex": 66732, "NSIS": 58538, "AIDL": 35382, "Shell": 26938, "CMake": 26798, "JavaScript": 18437, "Smali": 7580, "Batchfile": 6951, "RenderScript": 4411, "Makefile": 2495, "IDL": 269, "QMake": 18}
/* * 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...
3
Kotlin
219
921
dbd9aeae0dc5b8c56ce2c7d51208ba26ea0f169b
4,686
android
Apache License 2.0
src/main/kotlin/org/snd/metadata/providers/mangaupdates/model/json/SeriesJson.kt
Snd-R
463,859,568
false
null
package org.snd.metadata.providers.mangaupdates.model.json import com.squareup.moshi.JsonClass @JsonClass(generateAdapter = true) data class SeriesJson( val series_id: Long, val title: String, val associated: Collection<AssociatedJson>, val description: String?, val image: ImageJson?, val type...
8
null
9
99
0584078f460c5d8c7b740bbe77905fab1c0ad105
1,170
komf
MIT License
src/main/kotlin/effectivekotlin/creatingobject/CreatingDestroyingObject.kt
mkdika
149,041,144
false
null
package effectivekotlin.creatingobject import java.io.File interface ImageReader { fun read(file: File): Bitmap companion object { fun newImageReader(format: String) = when (format) { "jpg" -> JpegReader() "gif" -> GifReader() else -> throw IllegalStateException("Un...
0
Kotlin
0
0
4d4aed9f913f9f75fcdee3e81014f3f8e7d5a977
745
learn-kotlin
MIT License
build/icons/compose/vitaminicons/fill/MoonCloudy.kt
Decathlon
511,157,831
false
{"Kotlin": 4443549, "HTML": 226066, "Swift": 163852, "TypeScript": 60822, "CSS": 53872, "JavaScript": 33193, "Handlebars": 771}
package com.decathlon.vitamin.compose.vitaminicons.fill 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...
1
Kotlin
5
33
852dcd924b82cac447918d2609615819d34caf82
3,293
vitamin-design
Apache License 2.0
muslim-data/src/androidTest/java/dev/kosrat/muslimdata/AzkarItemTests.kt
kosratdev
274,667,170
false
{"Kotlin": 66023, "Python": 1027}
package dev.kosrat.muslimdata import android.content.Context import androidx.room.Room import androidx.test.ext.junit.runners.AndroidJUnit4 import androidx.test.platform.app.InstrumentationRegistry import dev.kosrat.muslimdata.database.MuslimDataDao import dev.kosrat.muslimdata.database.MuslimDataDatabase import dev.k...
5
Kotlin
3
20
99253be0131664a46ad78a6e53ebc830237dfbf3
1,528
muslim-data-android
Apache License 2.0
src/main/java/com/temelyan/pomoapp/web/pomo/PomoRestController.kt
temaEmelyan
108,548,342
false
null
package com.temelyan.pomoapp.web.pomo import com.temelyan.pomoapp.model.Project import com.temelyan.pomoapp.service.AuthorisedUserService import com.temelyan.pomoapp.service.PomoService import com.temelyan.pomoapp.service.ProjectService import org.springframework.http.MediaType import org.springframework.web.bind.anno...
0
Kotlin
0
2
c9ced11ceecffbb9971d6f42adb855f69eb14d64
1,318
pomodoreApp
MIT License
nebulosa-indi-device/src/main/kotlin/nebulosa/indi/device/filterwheel/FilterWheelMovingChanged.kt
tiagohm
568,578,345
false
{"Kotlin": 2712371, "TypeScript": 513759, "HTML": 249483, "JavaScript": 120539, "SCSS": 11332, "Python": 2817, "Makefile": 445}
package nebulosa.indi.device.filterwheel import nebulosa.indi.device.PropertyChangedEvent data class FilterWheelMovingChanged(override val device: FilterWheel) : FilterWheelEvent, PropertyChangedEvent
26
Kotlin
2
4
2099c6f2d7453507289a43efe903c7f92f65f770
203
nebulosa
MIT License
shared/src/commonMain/kotlin/data/repository/GeminiRepositoryImpl.kt
chouaibMo
731,815,563
false
{"Kotlin": 60578, "Swift": 570, "Shell": 228}
package data.repository import data.network.GeminiService import domain.model.Status import domain.repository.GeminiRepository import io.ktor.utils.io.errors.IOException class GeminiRepositoryImpl : GeminiRepository { private val geminiService = GeminiService() override suspend fun generate(prompt: String, ...
1
Kotlin
9
54
6c6958483141fc4bb5503bf7073f49d2f3887789
1,266
ChatGemini
Apache License 2.0
app/src/main/java/com/ayatkhraisat/mvp_example/di/scopes/ViewScope.kt
AyatKhraisat
158,123,741
false
null
package com.ayatkhraisat.mvp_example.di.scopes import java.lang.annotation.RetentionPolicy import javax.inject.Scope import kotlin.annotation.Retention /** * Created by <NAME> on 2/12/19 * <EMAIL> * <p> * Project Name: MVP_Architecture * <p> * Blessed Tree IT */ @Scope @Retention(AnnotationRetention.RUNTIME) ...
0
Kotlin
2
5
bd8bd152431505fff2168af177f2e2554016af76
347
MVP-Architecture
Apache License 2.0
profile/impl/src/main/kotlin/com/morfly/sample/profile/impl/settings/SettingsViewModel.kt
JohnBuhanan
454,460,312
false
null
package com.morfly.sample.profile.impl.settings import androidx.lifecycle.ViewModel import dagger.hilt.android.lifecycle.HiltViewModel import javax.inject.Inject @HiltViewModel class SettingsViewModel @Inject constructor() : ViewModel() { val settings = listOf( SettingsItem("Some configuration", activate...
0
Kotlin
0
0
0b36ee7de3b5390fa296aed57db47059ec274370
471
MVI-Public2
MIT License
src/main/kotlin/eu/europa/ec/eudi/verifier/endpoint/adapter/out/jose/VerifyJarmEncryptedJwtNimbus.kt
eu-digital-identity-wallet
642,351,759
false
null
/* * Copyright (c) 2023 European Commission * * 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 o...
4
null
11
9
677d40d52aad4373702205d56af1239268b8dec2
4,946
eudi-srv-web-verifier-endpoint-23220-4-kt
Apache License 2.0
ktfx-coroutines/src/test/kotlin/javafx/collections/ObservableArrayTest.kt
hanggrian
102,934,147
false
{"Kotlin": 1146536, "CSS": 1653}
package ktfx.coroutines import com.hanggrian.ktfx.test.testScene import javafx.collections.FXCollections import javafx.collections.ObservableArray import javafx.stage.Stage import org.testfx.framework.junit.ApplicationTest import kotlin.test.Test import kotlin.test.assertEquals import kotlin.test.assertTrue class Obs...
1
Kotlin
2
19
6e5ec9fedf8359423c31a2ba64cd175bc9864cd2
844
ktfx
Apache License 2.0
src/jsMain/kotlin/view/Landing.kt
dupontgu
517,092,342
false
{"Kotlin": 35639, "HTML": 268, "JavaScript": 68}
package view import androidx.compose.runtime.Composable import org.jetbrains.compose.web.dom.* import style.Container @Composable fun Landing() { H1 { Text("HotClasps!") } Div { P { Text("Open source, HitClips compatible audio cartridges - Coming Soon.") Br() ...
0
Kotlin
0
1
f9c5dbd89b93008e4445b2c07f80180d619275b4
745
hc-webapp
MIT License
entry/web/src/main/kotlin/plugins/Serialization.kt
Goyatuzo
61,412,827
false
null
package com.lurkerbot.web.plugins import io.ktor.serialization.kotlinx.json.* import io.ktor.server.application.* import io.ktor.server.plugins.contentnegotiation.* fun Application.configureSerialization() { install(ContentNegotiation) { json() } }
0
Kotlin
3
2
394a862357205feb9538dece075ae4f8b05b8d87
255
LurkerBot
Apache License 2.0
app/src/main/java/com/mob/lee/fastair/adapter/PageAdapter.kt
way1989
210,399,200
true
{"Kotlin": 151682, "HTML": 3789, "Java": 1951}
package com.mob.lee.fastair.adapter import androidx.fragment.app.Fragment import androidx.fragment.app.FragmentManager import androidx.fragment.app.FragmentStatePagerAdapter import com.mob.lee.fastair.base.AppActivity import com.mob.lee.fastair.fragment.ContentPickFragment import com.mob.lee.fastair.repository.RecordR...
0
Kotlin
0
0
86a95110ac30532f3373d05af27bd4737c768d23
758
FastAir
Apache License 2.0
librarian-gradle-plugin/src/main/kotlin/com/gradleup/librarian/gradle/internal/task/DeployToPortalTask.kt
GradleUp
808,333,288
false
{"Kotlin": 118565, "Shell": 3227, "JavaScript": 1026}
package com.gradleup.librarian.gradle.internal.task import okhttp3.MediaType import okhttp3.MediaType.Companion.toMediaType import okhttp3.MultipartBody import okhttp3.OkHttpClient import okhttp3.Request import okhttp3.RequestBody import okio.Buffer import okio.BufferedSink import okio.Timeout import okio.buffer impor...
10
Kotlin
0
6
d7cdb464d374de91793db03395900c5592ff8c9d
3,833
librarian
MIT License
utilities/src/main/kotlin/io/infinitic/loadTester/utilities/JoinUtils.kt
infiniticio
364,862,738
false
null
/* * This Kotlin source file was generated by the Gradle 'init' task. */ package io.infinitic.loadTester.utilities import io.infinitic.loadTester.launcher.LinkedList class JoinUtils { companion object { fun join(source: LinkedList): String { val result = StringBuilder() for (i in...
0
Kotlin
0
0
302067a9c0a86e67b043452213247e8380139f21
561
hackaton-pulsar-2021
Apache License 2.0
app/src/main/java/com/example/grooveix/ui/fragment/PlayerFragment.kt
DmitryLebovski
747,392,361
false
{"Kotlin": 97775}
package com.example.grooveix.ui.fragment import android.annotation.SuppressLint import android.os.Bundle import android.support.v4.media.MediaMetadataCompat import android.support.v4.media.session.PlaybackStateCompat import android.support.v4.media.session.PlaybackStateCompat.REPEAT_MODE_ALL import android.support.v4....
0
Kotlin
0
1
d880740955d8232e1b157cf9657dd2b09c58032d
7,430
grooveix
Apache License 2.0
app/src/main/java/com/weibo/biz/kotlin/event/EventActivity.kt
huipengo
166,368,980
false
null
package com.weibo.biz.kotlin.event import android.content.Intent import android.support.v7.app.AppCompatActivity import android.os.Bundle import android.widget.Button import com.weibo.biz.kotlin.R import com.weibo.biz.kotlin.handle.HandleActivity import okhttp3.internal.Internal class EventActivity : AppCompatActivit...
0
Kotlin
0
1
f163bcb30c89bd42de1ac1b50313d6f9fc293f51
1,584
Kotlin_Learning
MIT License
app/core/designsystem/src/main/java/com/anotn/flea/designsystem/theme/Color.kt
Uhjinkim
850,430,659
false
{"Kotlin": 81861}
package com.anotn.flea.designsystem.theme import androidx.compose.ui.graphics.Color val Purple80 = Color(0xFFD0BCFF) val PurpleGrey80 = Color(0xFFCCC2DC) val Pink80 = Color(0xFFEFB8C8) val Purple40 = Color(0xFF6650a4) val PurpleGrey40 = Color(0xFF625b71) val Pink40 = Color(0xFF7D5260) val Blue200 = Color(0xFF90CAF9...
0
Kotlin
0
1
d321af1c24b973faa0345aede4d353ce42e791a8
750
Flea-Market
MIT License
chat-service/src/main/kotlin/com/github/maly7/domain/ConversationMessage.kt
maly7
167,461,658
false
null
package com.github.maly7.domain import org.springframework.data.annotation.CreatedBy import org.springframework.data.annotation.CreatedDate import org.springframework.data.annotation.Id import org.springframework.data.mongodb.core.mapping.Document import java.io.Serializable import java.util.Date import javax.validati...
10
Kotlin
2
4
6ae547a177024fe5be99a0db80345fa83a622b69
720
spring-boot-microservices
MIT License
justjavastaff/src/main/java/com/marknkamau/justjavastaff/ui/orderdetails/OrderDetailsView.kt
ahmedayaz
152,017,278
true
{"Kotlin": 176811}
package com.marknkamau.justjavastaff.ui.orderdetails import com.marknkamau.justjavastaff.models.OrderItem import com.marknkamau.justjavastaff.models.OrderStatus import com.marknkamau.justjavastaff.models.User import com.marknkamau.justjavastaff.ui.BaseView /** * Created by <NAME>. * <EMAIL> * https://github.com/Ma...
0
Kotlin
0
0
39bd1ea03a2a3ae91e2143e4c44294fc0eeb2e6b
513
JustJava-Android
Apache License 2.0
server/src/main/kotlin/server/klaxon/KlaxonExt.kt
zed13
264,632,149
false
null
package server.klaxon import com.beust.klaxon.JsonObject fun JsonObject.copyWith(vararg parameter: Pair<String, Any?>): JsonObject { val paramsCopy = HashMap(map) paramsCopy.putAll(parameter) return JsonObject(paramsCopy) } fun JsonObject(vararg parameter: Pair<String, Any?>): JsonObject { return Jso...
0
Kotlin
0
0
796e875693caff8c965878a326cae4d4e3b15d50
349
TheGreenDragon
Apache License 2.0
src/main/kotlin/com/dehnes/accounting/utils/ContextShifter.kt
sebdehne
694,658,939
false
{"Kotlin": 193112, "TypeScript": 173335, "CSS": 7197, "SCSS": 1015, "Dockerfile": 773, "HTML": 464}
package com.dehnes.accounting.utils import io.github.oshai.kotlinlogging.KLogger fun wrap(logger: KLogger, r: Runnable) = Runnable { try { r.run() } catch (e: Throwable) { logger.error(e) { "" } } }
0
Kotlin
0
0
477a5a871cb1b6977d4bbf5df51d6842e90dc6a7
228
dehne-accounting
MIT License
app/src/main/java/com/nadafeteih/bookstore/data/remote/response/SearchResponse.kt
NadaFeteiha
590,720,352
false
{"Kotlin": 70843}
package com.nadafeteih.bookstore.data.remote.response import kotlinx.serialization.Serializable @Serializable data class SearchResponse( val error: String?, val total: String?, val page: String?, val books: List<BookDTO>, )
1
Kotlin
2
7
3758e5543d5053271777c073ecbcec5636c92934
242
BookStore
Apache License 2.0
src/test/kotlin/com/sherepenko/gradle/plugin/version/BuildVersionTest.kt
asherepenko
271,092,640
false
null
package com.sherepenko.gradle.plugin.version import com.google.common.truth.Truth.assertThat import java.io.File import java.lang.IllegalArgumentException import org.junit.Assert.assertThrows import org.junit.Rule import org.junit.Test import org.junit.rules.TemporaryFolder class BuildVersionTest { @Rule @Jv...
0
Kotlin
0
0
5cf5c143ce55b41fb4d32686c809212eff80e48e
10,592
plugin-build-version
MIT License
base/src/jsMain/kotlin/jetbrains/datalore/base/edt/SafeAsync.kt
JetBrains
176,771,727
false
null
/* * Copyright (c) 2019. JetBrains s.r.o. * Use of this source code is governed by the MIT license that can be found in the LICENSE file. */ package jetbrains.datalore.base.edt import jetbrains.datalore.base.async.Async import jetbrains.datalore.base.function.Consumer import jetbrains.datalore.base.registration.Re...
98
Kotlin
46
886
30f147b2ab81c2b4f6bb29ba7a5e41ad3245cdfd
1,043
lets-plot
MIT License
examples/src/main/kotlin/com/algolia/instantsearch/examples/showcase/view/list/merged/MergedListShowcase.kt
algolia
55,971,521
false
null
package com.algolia.instantsearch.examples.showcase.view.list.merged import android.os.Bundle import androidx.appcompat.app.AppCompatActivity import com.algolia.instantsearch.core.connection.ConnectionHandler import com.algolia.instantsearch.core.hits.connectHitsView import com.algolia.instantsearch.android.searchbox....
5
Kotlin
22
140
7feb9f30bd32c963161ceead279d1c4f1525d783
3,117
instantsearch-android
Apache License 2.0
examples/src/main/kotlin/com/algolia/instantsearch/examples/showcase/view/list/merged/MergedListShowcase.kt
algolia
55,971,521
false
null
package com.algolia.instantsearch.examples.showcase.view.list.merged import android.os.Bundle import androidx.appcompat.app.AppCompatActivity import com.algolia.instantsearch.core.connection.ConnectionHandler import com.algolia.instantsearch.core.hits.connectHitsView import com.algolia.instantsearch.android.searchbox....
5
Kotlin
22
140
7feb9f30bd32c963161ceead279d1c4f1525d783
3,117
instantsearch-android
Apache License 2.0
examples/object_detection/android/app/src/main/java/com/google/aiedge/examples/object_detection/ui/Color.kt
google-ai-edge
800,245,798
false
null
/* * Copyright 2024 The Google AI Edge Authors. 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 r...
6
null
10
35
3822c37565b0d7ff4853b54a11e82e1782646866
860
litert-samples
Apache License 2.0
src/linuxArm32Main/kotlin/org/guiVista/gui/widget/tool/item/separator_tool_item.kt
gui-vista
331,127,836
false
null
package org.guiVista.gui.widget.tool.item import glib2.FALSE import glib2.TRUE import gtk3.* import kotlinx.cinterop.CPointer import kotlinx.cinterop.reinterpret public actual class SeparatorToolItem(separatorToolItemPtr: CPointer<GtkSeparatorToolItem>? = null) : ToolItemBase { override val gtkToolItemPtr: CPoint...
0
Kotlin
0
0
484e1e8437a3d57faaf5667489d622402fe7be01
1,033
guivista-gui
Apache License 2.0
src/main/kotlin/lean/kotlin/tutorial/springboot/GreeterController.kt
yosuke-dev
387,508,119
false
null
package lean.kotlin.tutorial.springboot import org.springframework.beans.factory.annotation.Autowired import org.springframework.web.bind.annotation.* @RestController @RequestMapping("greeter") class GreeterController() { @Autowired private lateinit var greeter: Greeter @GetMapping("/hello") fun hell...
0
Kotlin
0
0
d50a74a266e8c2f23c0f070ed7165ed1f61e6152
1,047
learn.kotlin.springboot
The Unlicense
src/com/genir/aitweaks/core/features/shipai/adapters/SystemAI.kt
Halke1986
714,437,206
false
{"Kotlin": 215036, "Python": 1805, "Shell": 453}
package com.genir.aitweaks.core.features.shipai.adapters import com.fs.starfarer.api.combat.ShipAPI import com.fs.starfarer.combat.ai.BasicShipAI import com.fs.starfarer.combat.entities.Ship import org.lwjgl.util.vector.Vector2f import java.lang.invoke.MethodHandle import java.lang.invoke.MethodHandles import java.lan...
0
Kotlin
0
1
22e95e104b6d27637ac58ba29d38d8345edd77c6
1,276
starsector-ai-tweaks
The Unlicense
app/shared/bitkey-primitives/fake/src/commonMain/kotlin/build/wallet/bitkey/auth/AuthKeyMock.kt
proto-at-block
761,306,853
false
{"C": 10424094, "Kotlin": 7156393, "Rust": 2046237, "Swift": 700307, "Python": 331492, "HCL": 271992, "Shell": 111209, "TypeScript": 102700, "C++": 64770, "Meson": 64234, "JavaScript": 36227, "Just": 28071, "Ruby": 9428, "Dockerfile": 5731, "Makefile": 3839, "Open Policy Agent": 1552, "Procfile": 80}
package build.wallet.bitkey.auth import build.wallet.bitkey.app.AppGlobalAuthKey import build.wallet.bitkey.app.AppRecoveryAuthKey import build.wallet.bitkey.hardware.HwAuthPublicKey import build.wallet.bitkey.keys.app.AppKey import build.wallet.crypto.PrivateKey import build.wallet.crypto.PublicKey import build.walle...
0
C
10
98
1f9f2298919dac77e6791aa3f1dbfd67efe7f83c
1,328
bitkey
MIT License
kool-core/src/commonMain/kotlin/de/fabmax/kool/pipeline/deferred/ReflectionDenoisePass.kt
fabmax
81,503,047
false
null
package de.fabmax.kool.util.deferred import de.fabmax.kool.KoolContext import de.fabmax.kool.math.Vec2f import de.fabmax.kool.pipeline.* import de.fabmax.kool.pipeline.shadermodel.* import de.fabmax.kool.pipeline.shading.ModeledShader import de.fabmax.kool.scene.Group import de.fabmax.kool.scene.mesh import de.fabmax....
3
null
7
78
2aeb035ab84e4c660bc11f5167a7f485b4a86da8
4,252
kool
Apache License 2.0
app/src/main/java/com/mertozan/moviescompose/presentation/list/content/components/EmptyListPlaceHolder.kt
meetOzan
676,086,793
false
{"Kotlin": 292193}
package com.mertozan.moviescompose.presentation.list.content.components import androidx.compose.foundation.Image import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.fillMaxHeight import androidx.compose.foundation.layout.fillM...
0
Kotlin
0
9
01fbf0fa096d35253eb8c447784e5a57ce4ae4a3
1,818
I-Watch
Apache License 2.0
dist/src/main/kotlin/kr/toxicity/hud/layout/TextLayout.kt
toxicity188
766,189,896
false
null
package kr.toxicity.hud.layout import kr.toxicity.hud.api.yaml.YamlObject import kr.toxicity.hud.background.HudBackground import kr.toxicity.hud.equation.TEquation import kr.toxicity.hud.location.PixelLocation import kr.toxicity.hud.manager.BackgroundManager import kr.toxicity.hud.manager.ConfigManagerImpl import kr.t...
7
null
24
109
15054334bd4d4239a8883fca5dd0e7856a2cfb27
2,736
BetterHud
MIT License
iminling-core/src/main/kotlin/com/iminling/core/constant/NumEnum.kt
konghanghang
340,850,176
false
null
package com.iminling.core.constant /** * @author yslao@outlook.com * @since 2021/11/26 */ enum class NumEnum(open val code: Int) { ZERO(0), ONE(1), TWO(2), THREE(3), FOUR(4), FIVE(5), SIX(6), SEVEN(7), EIGHT(8), NINE(9), TEN(10), ELEVEN(11), TWELVE(12), THI...
0
Kotlin
0
1
9f2cb7d85ad7364ff3aa92bfd5eb15db9b23809a
455
base-iminling-core
MIT License
filesystem/src/linuxMain/kotlin/linux/LinuxReadLink.kt
illarionov
848,247,126
false
null
/* * Copyright 2024, the wasi-emscripten-host project authors and contributors. Please see the AUTHORS file * for details. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. * SPDX-License-Identifier: Apache-2.0 */ package at.released.weh.filesystem.linux import a...
1
null
0
4
774f9d4fc1c05080636888c4fe03049fdb038a8d
1,010
wasi-emscripten-host
Apache License 2.0
binding/src/main/kotlin/xyz/tynn/hoppa/binding/ViewBinding.kt
tynn-xyz
280,739,124
false
null
// Copyright 2021 <NAME> // SPDX-License-Identifier: Apache-2.0 package xyz.tynn.hoppa.binding import android.content.Context import android.view.View import androidx.viewbinding.ViewBinding /** * Gets the [Context] from [ViewBinding.getRoot]. */ public val ViewBinding.context: Context get() = root.context ...
0
Kotlin
0
4
cf9433e5af1582473b1101aeebca65cfc4dda16f
1,676
Hoppa
Apache License 2.0
common-ui/src/test/java/com/costular/commonui/TimePickerDialogViewModelTest.kt
costular
379,913,052
false
null
package com.costular.commonui import app.cash.turbine.test import com.costular.atomtasks.coretesting.MviViewModelTest import com.costular.commonui.dialogs.timepicker.TimePickerDialogViewModel import com.costular.commonui.dialogs.timepicker.TimePickerUiEvents import com.google.common.truth.Truth import java.time.LocalT...
2
Kotlin
0
3
b9a761a5bb6a5cc489d1d58562eb8e6498465392
1,547
atom-tasks
Apache License 2.0
utbot-fuzzers/src/test/kotlin/org/utbot/framework/plugin/api/FuzzedValueDescriptionTest.kt
UnitTestBot
480,810,501
false
null
package org.utbot.framework.plugin.api import org.junit.jupiter.api.Assertions.assertEquals import org.junit.jupiter.api.Test import org.utbot.framework.plugin.api.util.intClassId import org.utbot.framework.plugin.api.util.voidClassId import org.utbot.fuzzer.FuzzedConcreteValue import org.utbot.fuzzer.FuzzedMethodDesc...
337
Kotlin
25
70
d93fd5656645b55d3cece6eb13de8835bd0496d3
2,647
UTBotJava
Apache License 2.0
feature/people/src/main/kotlin/ru/resodostudio/flick/feature/people/PeopleViewModel.kt
f33lnothin9
565,400,839
false
null
package ru.resodostudios.flick.feature.people import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import dagger.hilt.android.lifecycle.HiltViewModel import kotlinx.coroutines.flow.SharingStarted import kotlinx.coroutines.flow.StateFlow import kotlinx.coroutines.flow.catch import kotlinx.corout...
0
null
3
70
70e1171d8c228620dffc93bf2a47c70087868e03
1,450
flick
Apache License 2.0
fish-admin/fish-admin-common/src/main/kotlin/cn/devifish/cloud/admin/common/util/MenuUtils.kt
iweisi
207,775,708
false
{"Kotlin": 85703, "Dockerfile": 2445, "Shell": 267}
package cn.devifish.cloud.admin.common.util object MenuUtils { }
0
null
0
2
d09fbab0f5d2733de55c3f9e6923389c82a48778
65
Fish-Cloud
Apache License 2.0
src/test/kotlin/uk/gov/justice/digital/hmpps/approvedpremisesapi/factory/CancellationEntityFactory.kt
ministryofjustice
515,276,548
false
{"Kotlin": 8393388, "Shell": 15748, "Dockerfile": 1667, "Mustache": 383}
package uk.gov.justice.digital.hmpps.approvedpremisesapi.factory import io.github.bluegroundltd.kfactory.Factory import io.github.bluegroundltd.kfactory.Yielded import uk.gov.justice.digital.hmpps.approvedpremisesapi.jpa.entity.BookingEntity import uk.gov.justice.digital.hmpps.approvedpremisesapi.jpa.entity.Cancellati...
30
Kotlin
2
5
5b02281acd56772dc5d587f8cd4678929a191ac0
2,695
hmpps-approved-premises-api
MIT License
core/ui/src/main/kotlin/nl/q42/template/ui/theme/Theme.kt
Q42
593,537,486
false
{"Kotlin": 55441, "Python": 2058}
package nl.q42.template.ui.theme import android.annotation.SuppressLint import android.app.Activity import android.os.Build import androidx.compose.foundation.isSystemInDarkTheme import androidx.compose.material3.ExperimentalMaterial3Api import androidx.compose.material3.MaterialTheme import androidx.compose.material3...
7
Kotlin
0
7
417ee4c1a99570a8c851be39f51881332b24f6e3
2,758
Template.Android
MIT License
app/src/main/java/com/harmony/harmonyAndroid/MainActivity.kt
regular1020
531,455,340
false
null
package com.harmony.harmonyAndroid import android.content.Intent import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import com.harmony.harmonyAndroid.activity.SignInActivity import com.harmony.harmonyAndroid.databinding.ActivityMainBinding import com.harmony.harmonyAndroid.preference.SharedManage...
3
Kotlin
0
1
693814b3efd8e2365185a47d2d5f87f41f4481ef
1,025
harmony-android
MIT License
auth/src/iosArm64Main/kotlin/com/github/lamba92/firebasemultiplatform/auth/AuthCredential.kt
lamba92
229,603,545
false
{"Kotlin": 209408, "Shell": 521, "Batchfile": 367}
package com.github.lamba92.firebasemultiplatform.auth import com.google.firebase.FIRAuthCredential actual abstract class AuthCredential( open val delegate: FIRAuthCredential ) { actual val provider: String get() = delegate.provider actual val signInMethod: String get() = delegate.provider...
5
Kotlin
1
23
b6b671bd6ecb5465ee67ef5d277bc37e591eb496
324
firebase-multiplatform
Apache License 2.0
library/src/main/java/io/kk__777/library/ThemeAnnotations.kt
kk-777-1127
779,479,194
false
{"Kotlin": 19111}
package io.kk__777.library @Target(AnnotationTarget.FUNCTION) @Retention(AnnotationRetention.SOURCE) annotation class StaticColorSourceTheme( val name: String, val rgbColor: Long, // TODO Support Int or ULong? ) //@Target(AnnotationTarget.FUNCTION) //@Retention(AnnotationRetention.SOURCE) //annotation class S...
3
Kotlin
0
0
07f7c5c02c423adb857e54aea8dcc57f7ad5ccba
367
M3ColorThemeScreen
Apache License 2.0
app/src/main/java/kr/sjh/myschedule/ui/MainViewModel.kt
junghoonshin3
674,523,154
false
{"Kotlin": 108150}
package kr.sjh.myschedule.ui import android.util.Log import androidx.compose.ui.graphics.Color import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import dagger.hilt.android.lifecycle.HiltViewModel import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.flow.MutableSharedFlow import ko...
1
Kotlin
0
1
3b3db082cf1014911c565f7b99e2341367cb4193
2,066
MySchedule
MIT License
src/jvmMain/kotlin/it/nicolasfarabegoli/moisture/units/SensorsUnit.kt
nicolasfara
580,722,001
false
{"Kotlin": 13696, "Rust": 7090, "Shell": 240, "Dockerfile": 216}
package it.nicolasfarabegoli.moisture.units // ktlint-disable filename import it.nicolasfarabegoli.moisture.DeviceSensors import it.nicolasfarabegoli.moisture.configuration import it.nicolasfarabegoli.moisture.moistureSensorLogic import it.nicolasfarabegoli.pulverization.dsl.getDeviceConfiguration import it.nicolasfar...
1
Kotlin
0
0
fbd57c86003b77f914605ea5c513ffb3c8f1dd06
1,091
pulverization-moisture-soil
MIT License
components/persistence/entity-processor-service-impl/src/integrationTest/kotlin/net/corda/entityprocessor/impl/tests/helpers/Utils.kt
corda
346,070,752
false
{"Kotlin": 20585419, "Java": 308202, "Smarty": 115357, "Shell": 54409, "Groovy": 30246, "PowerShell": 6470, "TypeScript": 5826, "Solidity": 2024, "Batchfile": 244}
package net.corda.entityprocessor.impl.tests.helpers import net.corda.data.flow.event.FlowEvent import net.corda.data.flow.event.external.ExternalEventResponse import org.junit.jupiter.api.Assertions fun assertEventResponseWithoutError(flowEvent: FlowEvent) { Assertions.assertNull((flowEvent.payload as ExternalEv...
11
Kotlin
27
69
d478e119ab288af663910f9a2df42a7a7b9f5bce
482
corda-runtime-os
Apache License 2.0
android/src/main/java/com/imdangerous/reactnativeforminput/RNFormInputModule.kt
imDangerous
472,083,094
false
{"JavaScript": 16484, "Kotlin": 6012, "Swift": 2107, "TypeScript": 1816, "Ruby": 1438, "Starlark": 602, "Objective-C": 549}
package com.imdangerous.reactnativeforminput import com.facebook.react.bridge.ReactApplicationContext import com.facebook.react.bridge.ReactContextBaseJavaModule class RNFormInputModule(reactContext: ReactApplicationContext) : ReactContextBaseJavaModule(reactContext) { override fun getName() = "RNFormInputModule...
0
JavaScript
0
0
650139f8321492a05f1b422c2768dd315d5dd98f
429
react-native-form-input
MIT License
v1/src/main/kotlin/com/example/forsubmit/domain/user/service/OAuthService.kt
jhhong0509
433,380,334
false
{"Kotlin": 84514, "Groovy": 81151, "Vim Snippet": 690}
package com.example.forsubmit.domain.user.service import com.example.forsubmit.domain.auth.payload.response.TokenResponse import com.example.forsubmit.domain.user.entity.OAuthUser import com.example.forsubmit.domain.user.enums.OAuthType import com.example.forsubmit.domain.user.facade.UserFacade import com.example.fors...
5
Kotlin
4
29
3f8effaca61e6d8f328e3aca7356cbd1d67335b4
3,592
Kopring-Best-Practice
Apache License 2.0
app/src/main/java/com/victor/clips/util/ColorUtil.kt
Victor2018
152,215,979
false
null
package com.victor.clips.util import androidx.annotation.ColorInt import androidx.annotation.FloatRange import com.victor.clips.R import com.victor.clips.app.App import java.util.* /* * ----------------------------------------------------------------- * Copyright (C) 2018-2028, by Victor, All rights reserved. * --...
0
Kotlin
13
45
ebd31401c63ec5641e69427bd25e41c60f0fa9fd
1,518
FunnyClips
Apache License 2.0
app/src/main/java/com/revolgenx/anilib/list/bottomsheet/MediaListGroupSelectorBottomSheet.kt
AniLibApp
244,410,204
false
{"Kotlin": 1593083, "Shell": 52}
package com.revolgenx.anilib.list.bottomsheet import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.core.os.bundleOf import com.otaliastudios.elements.Adapter import com.otaliastudios.elements.Presenter import com.otaliastudios.elements.Sourc...
36
Kotlin
3
76
b3caec5c00779c878e4cf22fb7d2034aefbeee54
2,772
AniLib
Apache License 2.0
modules/feature/dashboard/src/test/kotlin/kekmech/ru/feature_dashboard/DashboardReducerTest.kt
tonykolomeytsev
203,239,594
false
null
package kekmech.ru.feature_dashboard import io.kotest.core.spec.style.BehaviorSpec import io.kotest.matchers.booleans.shouldBeFalse import io.kotest.matchers.booleans.shouldBeTrue import io.kotest.matchers.collections.shouldBeEmpty import io.kotest.matchers.collections.shouldContainExactly import io.kotest.matchers.sh...
18
Kotlin
4
28
209f34745458e150136c3cd6acb1fcad2e12ef9c
8,931
mpeiapp
MIT License
rule-base-mapping-engine/src/main/kotlin/com/hlabs/rbme/domain/entity/RuleEntity.kt
nanacnote
522,501,688
false
{"Kotlin": 31216, "HTML": 21181}
package com.hlabs.rbme.domain.entity import javax.persistence.ElementCollection import javax.persistence.Entity import javax.persistence.GeneratedValue import javax.persistence.Id @Entity data class RuleEntity( @Id @GeneratedValue val id: Long, var mapTo: String, @ElementCollection var fieldNa...
0
Kotlin
0
1
3c8c2f125e330811580f4e9aa6138e92de6761e0
341
jvm-sandbox
MIT License
examples/nexus.r/ContextMenu.kt
ShindouMihou
455,037,013
false
{"Kotlin": 257911, "Java": 97270}
import org.javacord.api.event.interaction.MessageContextMenuCommandEvent import org.javacord.api.interaction.MessageContextMenuInteraction import pw.mihou.nexus.features.command.facade.NexusCommandEvent import pw.mihou.nexus.features.command.facade.NexusHandler import pw.mihou.nexus.features.contexts.NexusContextMenuEv...
2
Kotlin
0
7
4049185b4e5ead2b04e75cc3bf675cdbf3774a0b
1,904
Nexus
Apache License 2.0