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
collect_app/src/main/java/org/odk/collect/android/injection/config/CollectProjectsDependencyModule.kt
getodk
40,213,809
false
{"Java": 3378614, "Kotlin": 2749754, "JavaScript": 2830, "Shell": 2689}
package org.odk.collect.android.injection.config import org.odk.collect.projects.ProjectsDependencyModule import org.odk.collect.projects.ProjectsRepository class CollectProjectsDependencyModule( private val appDependencyComponent: AppDependencyComponent ) : ProjectsDependencyModule() { override fun providesP...
283
Java
1372
717
63050fdd265c42f3c340f0ada5cdff3c52a883bc
429
collect
Apache License 2.0
lib/src/main/java/com/mcp/one4all/One4AllView.kt
gtbimaykel
698,039,213
false
{"Kotlin": 45988}
package com.mcp.one4all import android.app.DatePickerDialog import android.app.TimePickerDialog import android.content.Context import android.content.res.TypedArray import android.text.Editable import android.text.InputType import android.text.TextWatcher import android.text.method.PasswordTransformationMethod import ...
0
Kotlin
0
0
26928a208e58d34ec4aee6acba80ccd4808203bc
26,525
one4all-view
Apache License 2.0
solar/src/main/java/com/chiksmedina/solar/broken/arrows/DoubleAltArrowUp.kt
CMFerrer
689,442,321
false
{"Kotlin": 36591890}
package com.chiksmedina.solar.broken.arrows 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.Round import androidx.compose.ui.graphics.StrokeJoin import and...
0
Kotlin
0
0
3414a20650d644afac2581ad87a8525971222678
2,032
SolarIconSetAndroid
MIT License
woocommercehelper/src/main/java/ir/mjmim/woocommercehelper/main/WooBuilder.kt
mortezamim
197,435,766
false
{"Gradle": 4, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Git Attributes": 1, "Markdown": 1, "Proguard": 2, "Kotlin": 7, "XML": 11, "Java": 1}
package ir.mjmim.woocommercehelper.main import ir.mjmim.woocommercehelper.enums.SigningMethod class WooBuilder { var isHttps: Boolean = false var baseUrl: String? = null var wc_key: String? = null var wc_secret: String? = null var signing_method: SigningMethod? = null var enableDebug: Boolean ...
0
Kotlin
0
5
d1086b142af27dacd6f8cbb5adffd556a490c1a6
330
Woocommerce-Helper-Android
MIT License
dsl/src/main/kotlin/io/cloudshiftdev/awscdkdsl/services/lightsail/CfnInstanceAutoSnapshotAddOnPropertyDsl.kt
cloudshiftinc
667,063,030
false
{"Kotlin": 70198112}
@file:Suppress( "RedundantVisibilityModifier", "RedundantUnitReturnType", "RemoveRedundantQualifierName", "unused", "UnusedImport", "ClassName", "REDUNDANT_PROJECTION", "DEPRECATION" ) package cloudshift.awscdk.dsl.services.lightsail import cloudshift.awscdk.common.CdkDslMarker import ...
4
Kotlin
0
3
256ad92aebe2bcf9a4160089a02c76809dbbedba
1,917
awscdk-dsl-kotlin
Apache License 2.0
app/src/main/java/com/daou/timesapp/ui/home/model/ArticleViewData.kt
DaouMobile
434,501,532
false
null
package com.daou.timesapp.ui.home.model import com.daou.timesapp.common.ext.convertMilliSec import java.text.SimpleDateFormat import java.util.* data class ArticleViewData( val title: String, val date: String, val linkUrl: String, val thumbnailUrl: String, ) { fun formatDateTime(): String { ...
0
Kotlin
0
2
1c544a9b65e9528d4c6cbd0667cb54b8a5e00d16
636
nytimes-mvvm
Apache License 2.0
feature/details/ui/src/test/java/com/grappim/hateitorrateit/feature/details/ui/TestUtils.kt
Grigoriym
704,244,986
false
{"Kotlin": 500015}
package com.grappim.hateitorrateit.feature.details.ui import com.grappim.hateitorrateit.data.repoapi.models.HateRateType import com.grappim.hateitorrateit.feature.details.ui.model.ProductDetailsImageUi import com.grappim.hateitorrateit.feature.details.ui.model.ProductDetailsUi import com.grappim.hateitorrateit.testing...
17
Kotlin
0
1
70b5ee468f57ed1af60bbf1c2aa089a5195a464b
718
HateItOrRateIt
Apache License 2.0
ui/core/src/commonMain/kotlin/br/alexandregpereira/hunter/ui/compose/MonsterCard.kt
alexandregpereira
347,857,709
false
{"Kotlin": 1412071, "Swift": 754, "Shell": 139}
/* * Copyright 2022 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writi...
4
Kotlin
5
85
5256ca9553e070f11a8cde5515afb74503b1a23c
2,379
Monster-Compendium
Apache License 2.0
sort-dependencies-gradle-plugin/src/main/kotlin/com/squareup/sort/SortDependenciesPlugin.kt
square
554,372,622
false
null
package com.squareup.sort import org.gradle.api.Plugin import org.gradle.api.Project import org.gradle.api.Task import org.gradle.language.base.plugins.LifecycleBasePlugin @Suppress("unused") class SortDependenciesPlugin : Plugin<Project> { private companion object { const val VERSION_FILENAME = "version.txt" ...
14
Kotlin
7
209
78d3ee3ca5694474b5f746bd0d8359fc27772063
1,398
gradle-dependencies-sorter
Apache License 2.0
src/main/kotlin/practice/KuralPorulSelection.kt
uttran
711,222,508
false
{"Kotlin": 154031, "HTML": 1758}
package practice import kotlinx.css.LinearDimension import kotlinx.css.height import kotlinx.css.pct import kotlinx.css.width import kotlinx.html.js.onClickFunction import react.* import styled.css import styled.styledButton import styled.styledDiv external interface KuralPorulSelectionProps : RProps { var button...
0
Kotlin
0
0
ee1e574e83468df3eb9faf99bd91196facb564ea
2,813
uttran.github.io
Apache License 2.0
modules/ktecs-core/src/commonMain/kotlin/io/github/tschie/ktecs/core/query/Query.kt
tschie
304,751,481
false
null
package io.github.tschie.ktecs.core.query import kotlin.reflect.KClass /** * Class all Ktecs queries extend from. */ sealed class Query /** * Query for entities having the specified component. * * @param componentClass component type */ data class Has<T: Any>(val componentClass: KClass<T>) : Query() /** * Qu...
0
Kotlin
0
2
8ba1c616ca114674bc388091b6143f4254ab755c
1,146
ktecs
MIT License
kjsonpatch-core/src/main/kotlin/com/beyondeye/kjsonpatch/JsonPatch.kt
beyondeye
87,417,157
false
{"Java": 67434, "Kotlin": 36127}
/* * Copyright 2016 flipkart.com zjsonpatch. * * 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...
1
Java
6
8
939455832a09de666d9578963676996b5e09b6be
5,140
kjsonpatch
Apache License 2.0
compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/24.kt
JetBrains
3,432,266
false
{"Kotlin": 79571273, "Java": 6776465, "Swift": 4063829, "C": 2609744, "C++": 1957654, "Objective-C++": 175279, "JavaScript": 130754, "Python": 59855, "Shell": 34920, "Objective-C": 21463, "Lex": 21452, "Batchfile": 11382, "CSS": 11368, "Ruby": 10470, "Dockerfile": 9907, "Groovy": 7092, "EJS": 5241, "CMake": 4473, "HTML...
// !LANGUAGE: +NewInference // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT /* * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) * * SECTIONS: dfa * NUMBER: 24 * DESCRIPTION: Raw data flow analysis test * HELPERS: classes, objects, typealiases, enumClasses, interfaces, sealedClasses */ // TESTCASE NUMBER: 1...
181
Kotlin
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
841
kotlin
Apache License 2.0
app/src/main/java/com/a10miaomiao/bilimiao/ui/upper/UpperInfoViewModel.kt
10miaomiao
142,169,120
false
null
package com.a10miaomiao.bilimiao.ui.upper import android.arch.lifecycle.MutableLiveData import android.arch.lifecycle.ViewModel import com.a10miaomiao.bilimiao.entity.* import com.a10miaomiao.bilimiao.netword.BiliApiService import com.a10miaomiao.bilimiao.netword.MiaoHttp import com.a10miaomiao.bilimiao.ui.commponents...
3
Java
8
127
7fb43ddc56a19ab4f00e3e1a8d6e8f5a94271d14
2,903
bilimiao2
Apache License 2.0
app/src/main/java/com/theone/demo/data/model/bean/SystemResponse.kt
Theoneee
473,409,123
false
null
package com.zbt.cosmetology.data.model.bean import android.annotation.SuppressLint import android.os.Parcelable import kotlinx.android.parcel.Parcelize /** * 体系数据 * @Author: zbt * @CreateDate: 2019/8/21 15:46 */ @SuppressLint("ParcelCreator") @Parcelize data class SystemResponse(var children: Array...
1
null
4
6
66e7dd671635352c8039bc3bf47a715620347448
681
QMUI-MVVM
Apache License 2.0
app/src/main/kotlin/graymatter/sec/common/io/StandardOutputStream.kt
graydnit
327,977,522
false
{"Kotlin": 136739, "Java": 444}
package graymatter.sec.common.io import java.io.OutputStream /** * Adapts the [System.out] function in such manner that behaves like an normal * [OutputStream], with one important difference: Closing an instance of it * will just flush the underlying [System.out] stream. */ class StandardOutputStream : OutputStre...
0
Kotlin
0
0
e84bd29b50112196452e121f8e7f059ca5e6b82f
670
sec
Apache License 2.0
ui/ui-core/src/desktopMain/kotlin/androidx/compose/ui/platform/SkijaLayer.kt
AmibaWorld
284,157,908
false
null
/* * Copyright 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 applica...
0
null
0
1
37768e92d0b500f08750c44b1f342e044b83e8fa
3,257
androidx
Apache License 2.0
java/kotlin/src/main/kotlin/cosmos/distribution/v1beta1/QueryDelegatorValidatorsRequestKt.kt
dimitar-petrov
575,395,653
true
{"Git Config": 1, "Text": 1, "Ignore List": 3, "Makefile": 3, "Markdown": 3, "Gradle Kotlin DSL": 5, "INI": 2, "Shell": 3, "Batchfile": 1, "Java": 181, "Kotlin": 917, "JSON with Comments": 1, "JSON": 3, "Git Attributes": 1, "EditorConfig": 1}
//Generated by the protocol buffer compiler. DO NOT EDIT! // source: cosmos/distribution/v1beta1/query.proto package cosmos.distribution.v1beta1; @kotlin.jvm.JvmSynthetic inline fun queryDelegatorValidatorsRequest(block: cosmos.distribution.v1beta1.QueryDelegatorValidatorsRequestKt.Dsl.() -> Unit): cosmos.distributio...
1
null
0
0
fe9795120e37a7223f331f48c0dd18c29e6e7cac
2,376
terra.proto
Apache License 2.0
src/main/java/dev/blachut/svelte/lang/parsing/html/SvelteHtmlLexer.kt
tomblachut
184,821,501
false
null
package dev.blachut.svelte.lang.parsing.html import com.intellij.html.embedding.HtmlEmbeddedContentProvider import com.intellij.lexer.BaseHtmlLexer import com.intellij.lexer.HtmlLexer import com.intellij.lexer.HtmlRawTextTagContentProvider import com.intellij.lexer.HtmlScriptStyleEmbeddedContentProvider import com.int...
0
null
38
482
793f21924edd2436b2c980ad1958785e000a65ac
2,181
svelte-intellij
MIT License
services/uplabs/src/main/kotlin/catchup/service/uplabs/UplabsService.kt
ZacSweers
57,029,623
false
{"Kotlin": 699458, "Java": 11152, "Shell": 7329}
/* * Copyright (C) 2019. Zac Sweers * * 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...
37
Kotlin
201
1,980
3ac348452590f8d9ba02c3e6163fb210df9e37f4
5,643
CatchUp
Apache License 2.0
mvvm/app/src/main/java/com/example/mvvmproject/ui/MainActivity.kt
foreverxiongtao
198,543,119
false
{"Java": 154250, "Kotlin": 57040}
package com.example.mvvmproject.ui import android.content.Intent import android.view.View import androidx.appcompat.app.ActionBarDrawerToggle import androidx.fragment.app.Fragment import com.example.mvvmproject.* import com.example.mvvmproject.base.activity.BaseActivity import com.example.mvvmproject.ui.activity.Login...
1
null
1
1
420fa6e7509478912bad35d67157ca2035f7c460
5,231
wanandroid-kotlin
Apache License 2.0
ui/src/main/java/io/snabble/sdk/ui/scanner/SelectReducedPriceDialogFragment.kt
snabble
124,525,499
false
null
package io.snabble.sdk.ui.scanner import android.app.Dialog import android.os.Bundle import android.widget.ArrayAdapter import androidx.appcompat.app.AlertDialog import androidx.fragment.app.DialogFragment import io.snabble.sdk.coupons.CouponType import io.snabble.sdk.Snabble import io.snabble.sdk.ui.R class SelectR...
2
null
1
6
616deec75e44da50e3bd7819d962ffb782aa64e3
1,620
Android-SDK
MIT License
2022/src/main/kotlin/Day3.kt
andrewhughes101
433,527,663
false
{"Java": 25131, "Kotlin": 6689}
import org.gradle.internal.impldep.org.apache.commons.io.IOUtils import java.nio.charset.StandardCharsets class Day3 { private fun getInput(): String { return IOUtils.toString(Day3::class.java.classLoader.getResourceAsStream("Day3.txt"), StandardCharsets.UTF_8) } fun getDuplicateItem(): MutableLis...
1
null
1
1
0cbacb3ab93e21d40acc93e4bd59d3a6a9bda878
1,912
advent-of-code
Apache License 2.0
ruoyi-common/src/main/kotlin/com/ruoyi/common/pojo/BaseEntity.kt
kukume
813,495,513
false
{"Batchfile": 8, "Gradle Kotlin DSL": 9, "Shell": 2, "INI": 3, "Text": 2, "Ignore List": 3, "Markdown": 2, "Java": 260, "YAML": 4, "XML": 22, "Java Properties": 1, "Kotlin": 30, "SQL": 3, "Dotenv": 3, "JSON": 2, "JavaScript": 80, "EditorConfig": 1, "HTML": 2, "robots.txt": 1, "Vue": 106, "SVG": 87, "SCSS": 9}
package com.ruoyi.common.pojo import com.fasterxml.jackson.annotation.JsonFormat import jakarta.persistence.MappedSuperclass import org.springframework.data.annotation.CreatedBy import org.springframework.data.annotation.CreatedDate import org.springframework.data.annotation.LastModifiedBy import org.springframework.d...
0
Java
0
0
d04f4748877ad926d4afb3e68f0d4bee93e280ee
771
ruoyi
MIT License
sketch-zoom/src/main/java/com/github/panpf/sketch/zoom/internal/Edge.kt
fltwlulu
188,455,050
true
{"Gradle Kotlin DSL": 14, "Markdown": 35, "Java Properties": 2, "Shell": 1, "TOML": 1, "Ignore List": 1, "Batchfile": 1, "Text": 1, "Proguard": 12, "XML": 105, "Kotlin": 514, "Java": 12, "SVG": 2, "INI": 11}
package com.github.panpf.sketch.zoom.internal enum class Edge { NONE, START, END, BOTH }
0
Kotlin
0
0
c9ff98d80c36d7c4ba5c28bbf358dc8ee53278b1
93
sketch
MIT License
compiler/ir/backend.jvm/lower/src/org/jetbrains/kotlin/backend/jvm/lower/ReplaceKFunctionInvokeWithFunctionInvoke.kt
JetBrains
3,432,266
false
null
/* * Copyright 2010-2019 JetBrains s.r.o. and Kotlin Programming Language contributors. * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. */ package org.jetbrains.kotlin.backend.jvm.lower import org.jetbrains.kotlin.backend.common.FileLoweringPass im...
154
null
5563
44,965
e6633d3d9214402fcf3585ae8c24213a4761cc8b
4,376
kotlin
Apache License 2.0
compiler/ir/backend.jvm/lower/src/org/jetbrains/kotlin/backend/jvm/lower/ReplaceKFunctionInvokeWithFunctionInvoke.kt
JetBrains
3,432,266
false
null
/* * Copyright 2010-2019 JetBrains s.r.o. and Kotlin Programming Language contributors. * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. */ package org.jetbrains.kotlin.backend.jvm.lower import org.jetbrains.kotlin.backend.common.FileLoweringPass im...
154
null
5563
44,965
e6633d3d9214402fcf3585ae8c24213a4761cc8b
4,376
kotlin
Apache License 2.0
apollo-runtime/src/main/java/com/apollographql/apollo/internal/response/RealResponseReader.kt
apollostack
69,469,299
false
null
package com.apollographql.apollo.internal.response import com.apollographql.apollo.api.BigDecimal import com.apollographql.apollo.api.CustomTypeAdapter import com.apollographql.apollo.api.CustomTypeValue.Companion.fromRawValue import com.apollographql.apollo.api.Operation import com.apollographql.apollo.api.ResponseFi...
22
null
531
2,897
f16ef0f4020af7a07c200f0fdcf1dac977d63637
9,274
apollo-android
MIT License
packages/expo-dev-menu-interface/android/src/main/java/expo/interfaces/devmenu/DevMenuExtensionInterface.kt
betomoedano
462,599,485
true
{"TypeScript": 7804102, "Kotlin": 3383974, "Objective-C": 2722124, "Swift": 1723956, "Java": 1686584, "JavaScript": 847793, "C++": 310224, "C": 237463, "Objective-C++": 191888, "Ruby": 167983, "Shell": 59271, "HTML": 31107, "CMake": 25754, "Batchfile": 89, "CSS": 42}
package expo.interfaces.devmenu import expo.interfaces.devmenu.items.DevMenuDataSourceInterface import expo.interfaces.devmenu.items.DevMenuItemsContainerInterface import expo.interfaces.devmenu.items.DevMenuScreen interface DevMenuExtensionSettingsInterface { fun wasRunOnDevelopmentBridge(): Boolean val manager:...
3
TypeScript
1
4
52d6405570a39a87149648d045d91098374f4423
1,270
expo
MIT License
puzzles/kotlin/src/the-gift.kt
johnny3young
236,746,590
true
{"Java": 91464, "Python": 86885, "Kotlin": 61386, "C++": 34661, "TypeScript": 22936, "JavaScript": 22349, "PHP": 18102, "Go": 17772, "Haskell": 13981, "Ruby": 13483, "C#": 2600, "Scala": 1555, "Perl": 1240, "Shell": 1220, "Clojure": 753, "C": 598, "Makefile": 58}
import java.util.Scanner fun main(args : Array<String>) { val input = Scanner(System.`in`) val n = input.nextInt() var price = input.nextInt() val budgets = ArrayList<Int>(n) var totalBudget = 0 for (i in 0 until n) { val budget = input.nextInt() budgets.add(budget) totalBudget += budget } ...
0
null
0
0
df0f98aad010d9e8a21075f96f6c0c73af880ee4
672
codingame
MIT License
omisego-sdk/src/main/java/co/omisego/omisego/network/ewallet/EWalletClient.kt
tonefreqhz
143,763,743
true
{"Kotlin": 426024, "Shell": 229}
package co.omisego.omisego.network.ewallet /* * OmiseGO * * Created by <NAME> on 11/10/2017 AD. * Copyright © 2017-2018 OmiseGO. All rights reserved. */ import co.omisego.omisego.constant.Exceptions import co.omisego.omisego.custom.retrofit2.adapter.OMGCallAdapterFactory import co.omisego.omisego.custom.retrofit...
0
Kotlin
0
0
a498f616d3e6178051cc55a92a562cb7d6c911fa
4,633
android-sdk
Apache License 2.0
plugin/src/main/kotlin/ir/taher7/melodymine/listeners/ShortcutListener.kt
Vallerian
700,695,551
false
{"Kotlin": 203655, "TypeScript": 151385, "CSS": 4018, "Shell": 2145, "JavaScript": 1577, "Dockerfile": 367}
package ir.taher7.melodymine.listeners import ir.taher7.melodymine.MelodyMine import ir.taher7.melodymine.core.MelodyManager import ir.taher7.melodymine.storage.Messages import ir.taher7.melodymine.storage.Settings import ir.taher7.melodymine.storage.Storage import ir.taher7.melodymine.utils.Adventure.sendMessage impo...
0
Kotlin
8
33
2a2eaeff6f9994fc21a2afb28a0bc6d9b43a7e10
3,106
MelodyMine
Apache License 2.0
app/src/main/java/com/app/skyss_companion/model/geocode/Geocoding.kt
martinheitmann
339,335,251
false
null
package com.app.skyss_companion.model.geocode import com.squareup.moshi.JsonClass @JsonClass(generateAdapter = true) data class Geocoding( val version: String, val attribution: String, val query: Query, val engine: Engine, val timestamp: Float, )
0
Kotlin
0
1
a4a79e658643731cd76617cdb9458aa1f742d4c3
269
bus-companion
MIT License
app/src/main/java/com/catness/blinkblinkbeach/data/repositories/profile/ProfileRepositoryImpl.kt
XiangLun0713
569,613,074
false
{"Kotlin": 101746}
package com.catness.blinkblinkbeach.data.repositories.profile import android.net.Uri import android.util.Log import com.catness.blinkblinkbeach.data.model.User import com.catness.blinkblinkbeach.utilities.Constants import com.google.firebase.auth.FirebaseAuth import com.google.firebase.firestore.FirebaseFirestore impo...
0
Kotlin
0
0
dad4624d25b66d599e996975b3462ecb11ec65c3
3,189
blink-blink-beach
MIT License
sphinx/application/common/menus/menu-bottom-phone-signer-method/src/main/java/chat/sphinx/menu_bottom_phone_signer_method/PhoneSignerMethodMenu.kt
stakwork
340,103,148
false
{"Kotlin": 4002700, "Java": 403469, "JavaScript": 4745, "HTML": 4706, "Shell": 2453}
package chat.sphinx.menu_bottom_phone_signer_method import androidx.annotation.StringRes import androidx.lifecycle.LifecycleOwner import chat.sphinx.menu_bottom.databinding.LayoutMenuBottomBinding import chat.sphinx.menu_bottom.model.MenuBottomOption import chat.sphinx.menu_bottom.ui.BottomMenu import chat.sphinx.menu...
99
Kotlin
11
18
01d4be42df107d5e4fa8d2411f5390aeea60ea74
2,270
sphinx-kotlin
MIT License
src/test/kotlin/com/olx/ps/vault/utils/MockVault.kt
gmariotti
104,581,755
false
null
package com.olx.ps.vault.utils import org.eclipse.jetty.server.Request import org.eclipse.jetty.server.handler.AbstractHandler import javax.servlet.http.HttpServletRequest import javax.servlet.http.HttpServletResponse class MockVault(responsesWithStatus: List<Pair<String, Int>>) : AbstractHandler() { private val ...
2
Kotlin
0
0
240a89f44035f24cb8a742a42a86eafb693c969f
1,254
vault-kotlin-driver
Apache License 2.0
gi/src/commonMain/kotlin/org/anime_game_servers/multi_proto/gi/data/activity/general/ActivityUpdateWatcherNotify.kt
Anime-Game-Servers
642,871,918
false
{"Kotlin": 1651536}
package org.anime_game_servers.multi_proto.gi.data.activity.general import org.anime_game_servers.core.base.annotations.AddedIn import org.anime_game_servers.core.base.Version.GI_0_9_0 import org.anime_game_servers.core.base.annotations.proto.CommandType.CLIENT import org.anime_game_servers.core.base.annotations.proto...
0
Kotlin
2
6
7639afe4f546aa5bbd9b4afc9c06c17f9547c588
491
anime-game-multi-proto
MIT License
app/src/main/java/com/hb/videoplayermanager/FileUtils.kt
mkrupal09
507,914,806
false
null
/* * Copyright (C) 2007-2008 OpenIntents.org * * 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
Kotlin
0
0
af0d6836e728a27f0f46eed545241105e40187ef
21,211
VideoPlayerManager
Apache License 2.0
idea/testData/debugger/tinyApp/src/stepping/filters/checkNotNull.kt
JakeWharton
99,388,807
false
null
package checkNotNull import stepInto.MyJavaClass fun main(args: Array<String>) { val myClass = MyJavaClass() //Breakpoint! val a: String = myClass.testNotNullFun() val b = 1 } // STEP_INTO: 3
0
null
28
83
4383335168338df9bbbe2a63cb213a68d0858104
211
kotlin
Apache License 2.0
app/src/main/java/com/lkw1120/pokedex/usecase/model/TypeInfo.kt
lkw1120
727,588,825
false
{"Kotlin": 84577}
package com.lkw1120.pokedex.usecase.model data class TypeInfo( val slot: Long, val name: String, val url: String, )
0
Kotlin
0
1
12c448e541df14713554ea4604252f3b8a490dba
128
compose-pokedex
Apache License 2.0
market-sim/src/main/kotlin/org/tools4j/model/state/market/New.kt
tools4j
124,669,693
false
{"Gradle": 5, "Text": 1, "Ignore List": 1, "Markdown": 1, "HTML": 4, "Groovy": 64, "XML": 8, "Kotlin": 337, "Java Properties": 2, "Shell": 1, "INI": 7, "JavaScript": 1, "CSS": 1, "Java": 4}
package org.tools4j.model.state.client import org.tools4j.fix.OrdStatus /** * User: ben * Date: 17/7/17 * Time: 6:03 PM */ class New(context: StateContext) : AbstractOpenState(context) { override val ordStatus: OrdStatus get() = OrdStatus.New }
0
Kotlin
1
7
e2cbc5b0b174f7ab462603e8ff65701501dfeae1
263
market-simulator
MIT License
spesialist-api/src/test/kotlin/no/nav/helse/spesialist/api/vedtak/VedtaksperiodeTest.kt
navikt
244,907,980
false
null
package no.nav.helse.spesialist.api.vedtak import java.time.LocalDate import java.util.UUID import no.nav.helse.spesialist.api.april import no.nav.helse.spesialist.api.februar import no.nav.helse.spesialist.api.januar import no.nav.helse.spesialist.api.mars import no.nav.helse.spesialist.api.varsel.Varsel import no.na...
9
Kotlin
2
1
9d4136c645cc48337f246413c4b0beb906839ffd
4,007
helse-spesialist
MIT License
src/main/java/me/syake/chestshop/InteractEvent.kt
syake4659
313,058,125
false
null
package me.syake.chestshop import org.bukkit.block.Sign import org.bukkit.block.data.type.WallSign import org.bukkit.event.EventHandler import org.bukkit.event.Listener import org.bukkit.event.block.Action import org.bukkit.event.player.PlayerInteractEvent class InteractEvent(private val main: ChestShop): Listener { ...
2
Kotlin
1
1
e603437ae61a06d4b6cc164bd82398078c501e0d
882
ChestShop
MIT License
dsl/src/main/kotlin/com/faendir/awscdkkt/generated/services/ecr/ReplicationConfigurationPropertyDsl.kt
F43nd1r
643,016,506
false
null
package com.faendir.awscdkkt.generated.services.ecr import com.faendir.awscdkkt.AwsCdkDsl import javax.`annotation`.Generated import kotlin.Unit import software.amazon.awscdk.services.ecr.CfnReplicationConfiguration @Generated public fun buildReplicationConfigurationProperty(initializer: @AwsCdkDsl CfnReplication...
1
Kotlin
0
0
e9a0ff020b0db2b99e176059efdb124bf822d754
557
aws-cdk-kt
Apache License 2.0
src/main/kotlin/eZmaxApi/models/EzsignfoldertypeMinusCreateObjectMinusV1MinusRequest.kt
eZmaxinc
271,950,932
false
null
/** * * Please note: * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * Do not edit this file manually. * */ @file:Suppress( "ArrayInDataClass", "EnumEntryName", "RemoveRedundantQualifierName", "UnusedImport" ) package eZmaxApi.models import eZmaxApi.models....
0
Kotlin
0
0
775bfa1e6452d8ba1c6c4d7e1781b0977f5301b0
723
eZmax-SDK-kotlin
MIT License
app/src/main/java/com/gobinda/currency/converter/ui/navigation/AppScreen.kt
gobinda1547
745,860,953
false
{"Kotlin": 54684}
package com.gobinda.currency.converter.ui.navigation sealed class AppScreen(val route: String) { data object LoadingScreen : AppScreen("loading_screen") data object ConverterScreen : AppScreen("converter_screen") data object CurrencyListScreen : AppScreen("currency_list_screen") data object SelectCurre...
0
Kotlin
0
0
144ed0a1b0c9464a31e778d41e1ca21905779045
369
Currency-Converter-Android-App
MIT License
spring-field-app/src/main/kotlin/cfcodefans/study/spring_field/patterns/Adapter.kt
cfcodefans
584,342,291
false
{"Kotlin": 293438, "Java": 1941}
package cfcodefans.study.spring_field.patterns import org.slf4j.Logger import org.slf4j.LoggerFactory object Adapter { private val log: Logger = LoggerFactory.getLogger("Adapter") interface IRowingBoat { fun row() } class FishingBoat { fun sail() = log.info("The fishing boat is saili...
0
Kotlin
1
1
60adb273b8f0f66207842f30168f8082cb4656dd
781
spring-field
MIT License
app/src/main/java/com/benhagy/gamefinder3/domain/usecases/GetGenres.kt
ben-hagy
671,589,018
false
null
package com.benhagy.gamefinder3.domain.usecases import com.benhagy.gamefinder3.domain.models.Genre import com.benhagy.gamefinder3.domain.repository.GamefinderRepository import com.benhagy.gamefinder3.util.Resource import kotlinx.coroutines.flow.Flow import javax.inject.Inject // use case to call a single function via...
0
Kotlin
0
0
036eeb69dd0d13a01b1beb8bf3872dc5c44ebd8d
604
Gamefinder3
MIT License
app/src/main/kotlin/com/simplemobiletools/gallery/receivers/RefreshMediaReceiver.kt
VasilisKos
145,341,598
true
{"Kotlin": 322635}
package com.simplemobiletools.gallery.receivers import android.content.BroadcastReceiver import android.content.Context import android.content.Intent import com.simplemobiletools.commons.extensions.getFilenameFromPath import com.simplemobiletools.commons.extensions.getParentPath import com.simplemobiletools.commons.ex...
0
Kotlin
0
0
ecdc07dac5b838ae8c63cc7df6b5dc98b5960de3
1,416
Simple-Gallery
Apache License 2.0
app/src/main/java/com/wyd/yd_app/item/Test3ViewData.kt
chong2vv
527,822,914
false
null
package com.wyd.yd_app.item import com.wyd.yd_app.base.list.base.BaseViewData import com.wyd.yd_app.bean.User class Test3ViewData(data: User) : BaseViewData<User>(data) { }
0
Kotlin
0
1
9c62f20192f66d9cecabcf173292a0f67abd6d6c
174
yd-general-android-app
Apache License 2.0
example/src/main/java/com/b3nedikt/restring/example/SampleStringsGenerator.kt
ashu5398
311,227,303
true
{"Kotlin": 41254, "Java": 6609, "Shell": 901}
package com.b3nedikt.restring.example import dev.b3nedikt.restring.PluralKeyword import java.util.* /** * Generates example strings */ object SampleStringsGenerator { fun getStrings(locale: Locale): Map<String, CharSequence> { return mapOf<String, CharSequence>( "title" to "Title $local...
0
null
0
0
5c48d47538a43875a4178ed852eade5ae50d52fb
1,273
reword
Apache License 2.0
klogging/src/commonMain/kotlin/io/klogging/internal/KloggingEngine.kt
klogging
378,410,833
false
{"Kotlin": 492999, "Java": 4188, "Shell": 1000}
/* Copyright 2021-2024 Michael Strasser. 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...
17
Kotlin
18
179
7088c16575e9e0dcba428c57a6276a0322fdda37
5,131
klogging
Apache License 2.0
klogging/src/commonMain/kotlin/io/klogging/internal/KloggingEngine.kt
klogging
378,410,833
false
{"Kotlin": 492999, "Java": 4188, "Shell": 1000}
/* Copyright 2021-2024 Michael Strasser. 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...
17
Kotlin
18
179
7088c16575e9e0dcba428c57a6276a0322fdda37
5,131
klogging
Apache License 2.0
app/src/main/java/com/maximmakarov/comparator/data/model/Item.kt
makarov-nsk
143,522,419
false
null
package com.maximmakarov.comparator.data.model import android.os.Parcel import android.os.Parcelable import androidx.room.* @Entity(tableName = "items", indices = [Index("template_id")], foreignKeys = [ForeignKey(entity = Template::class, parentColumns = ["id"], childColumns = ["template_id"], onDele...
9
Kotlin
0
1
a7c0cc20318a73a51ee9f58e359cc80c88a79ddc
1,287
comparator
MIT License
src/main/kotlin/no/vingaas/pokermanager/entities/chip/ChipValue.kt
tomandreaskv
810,388,706
false
{"Kotlin": 143404}
package no.vingaas.pokermanager.entities.chip import jakarta.persistence.* @Entity @Table(name = "chip_values", schema = "pokerman") data class ChipValue( @Id @GeneratedValue(strategy = GenerationType.IDENTITY) val id: Long = 0, @ManyToOne @JoinColumn(name = "chip_set_id", nullable = false) v...
0
Kotlin
0
1
76245f712deb230f6369d236fa6b440ac4e6553e
472
pokermanager-backend
Apache License 2.0
build-tools/agp-gradle-core/src/main/java/com/android/build/gradle/internal/dsl/CoreBuildType.kt
RivanParmar
526,653,590
false
null
/* * Copyright (C) 2015 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
null
2
17
8fb2bb1433e734aa9901184b76bc4089a02d76ca
1,588
androlabs
Apache License 2.0
01-build-src/buildSrc/src/main/kotlin/org/gradle/example/KotlinBuildUtils.kt
gradle
416,316,695
false
null
package org.gradle.example class KotlinBuildUtils { fun printString(message: String) { println(message) } }
7
null
2
3
91612572fca913bc029bafcf7cf59fbf18e63223
124
ide-smoke-tests
Apache License 2.0
src/main/java/com/sdk/platform/apis/companyprofile/CompanyProfileApiList.kt
gofynd
337,940,340
false
null
package com.sdk.platform.apis.companyprofile import kotlinx.coroutines.Deferred import retrofit2.Response import okhttp3.ResponseBody import retrofit2.http.* import com.sdk.platform.* import com.sdk.platform.models.companyprofile.* interface CompanyProfileApiList { @GET ("/service/platform/company-profile/v1...
0
Kotlin
4
4
5e0246485c5e7fc207734325e283b6b201ef6a31
3,630
fdk-client-kotlin
MIT License
httpclient-android/src/main/kotlin/om/ok2c/hc/android/HttpClientActivity.kt
ok2c
172,536,562
false
{"Kotlin": 21554}
package om.ok2c.hc.android import android.app.Activity import org.apache.hc.client5.http.impl.io.PoolingHttpClientConnectionManager import org.apache.hc.client5.http.impl.io.PoolingHttpClientConnectionManagerBuilder import org.apache.hc.core5.io.CloseMode import org.apache.hc.core5.util.TimeValue abstract class HttpC...
0
Kotlin
4
6
e740e0622b10d826d2a377abd7696e66e6d06a39
960
httpclient-android-ext
Apache License 2.0
buildSrc/src/main/kotlin/util/1.kt
aimdie
384,188,764
false
null
package util import java.util.Calendar.* /** * 获取库版本。我,月,日。 * @return String */ fun getVersionMe(): String { val cal = getInstance() val year: Int = cal.get(YEAR) - 1992 val month: Int = cal.get(MONTH) + 1 val day: Int = cal.get(DATE) return "$year.$month.$day" }
0
Kotlin
0
0
b15ee161cfa098d1ba534ad50e86bb26cd73f1f5
279
TemplateProject
Apache License 2.0
src/test/kotlin/org/grandtestauto/maths/monoid/test/SemigroupTest.kt
TimLavers
67,501,240
false
null
package org.grandtestauto.maths.monoid.test import io.kotest.matchers.collections.shouldContain import io.kotest.matchers.shouldBe import org.grandtestauto.maths.monoid.* import org.junit.Assert.* import org.junit.Test import java.util.* /** * @author <NAME> */ class SemigroupTest : TestBase() { @Test fun ...
0
Kotlin
0
0
befa24c784e742f2529168732e27e7937868b24c
19,717
semigroups_kotlin
MIT License
jvm/jvm-analysis-java-tests/testSrc/com/intellij/codeInspection/tests/java/JavaTestOnlyInspectionTest.kt
kollaam
299,605,621
false
null
package com.intellij.codeInspection.tests.java import com.intellij.codeInspection.tests.TestOnlyInspectionTestBase import com.intellij.jvm.analysis.JvmAnalysisTestsUtil class JavaTestOnlyInspectionTest : TestOnlyInspectionTestBase() { override fun getTestDataPath() = JvmAnalysisTestsUtil.TEST_DATA_PROJECT_RELATIVE_...
1
null
1
1
3dbfbac6b6316183e6bb7b066a70e8b04b73f0a8
617
intellij-community
Apache License 2.0
java/com/example/birellerapp/authentication/AuthenticationAdapter.kt
haileygovender
724,182,670
false
{"Kotlin": 168525}
package com.example.birellerapp.authentication import LoginFragment import androidx.fragment.app.Fragment import androidx.fragment.app.FragmentManager import androidx.lifecycle.Lifecycle import androidx.viewpager2.adapter.FragmentStateAdapter class AuthenticationAdapter (fragmentManager: FragmentManager, lifecycle: L...
0
Kotlin
0
0
9071594a5c76dbe0ed49ef8cacf2e2e86a8d0a03
634
Bireller
MIT License
hoplite-yaml/src/test/kotlin/com/sksamuel/hoplite/decoder/PrincipalDecoderTest.kt
sksamuel
187,727,131
false
null
package com.sksamuel.hoplite.decoder import com.sksamuel.hoplite.ConfigLoader import io.kotest.matchers.shouldBe import io.kotest.core.spec.style.StringSpec import java.security.Principal class PrincipalDecoderTest : StringSpec({ "Principal decoded from yaml" { data class Test(val name: Principal) val conf...
9
null
74
918
c21e77ea11e26d7852cb6a1859bfc26dee74974e
440
hoplite
Apache License 2.0
ok-user-be-common/src/main/kotlin/ru/otus/otuskotlin/user/backend/common/dsl/UserNameDsl.kt
otuskotlin
265,139,735
false
{"Gradle Kotlin DSL": 16, "Java Properties": 2, "Shell": 2, "Text": 2, "Ignore List": 9, "Batchfile": 1, "Markdown": 17, "OASv3-yaml": 1, "YAML": 7, "Kotlin": 118, "INI": 2, "HCL": 3, "Dart": 3, "Gradle": 3, "XML": 13, "HTML": 4, "JSON": 8, "CMake": 3, "C++": 3, "C": 2, "OpenStep Property List": 4, "Objective-C": 1, "S...
package ru.otus.otuskotlin.user.backend.common.dsl @UserDslMarker class UserNameDsl( var first: String = "", var second: String = "", var last: String = "" ) { companion object { val EMPTY = UserNameDsl() } }
1
null
2
1
1b652434201714e5081252b18cda0dccfd4dfdb4
250
otuskotlin-user
MIT License
src/main/java/net/oxyopia/vice/features/itemabilities/SetHighlighting.kt
Oxyopiia
689,119,282
false
{"Kotlin": 207588, "Java": 65076, "HTML": 7789}
package net.oxyopia.vice.features.itemabilities import gg.essential.elementa.utils.withAlpha import net.minecraft.entity.attribute.EntityAttributes import net.minecraft.item.ItemStack import net.oxyopia.vice.Vice import net.oxyopia.vice.data.Set import net.oxyopia.vice.events.ContainerRenderSlotEvent import net.oxyopi...
5
Kotlin
1
2
c69dbc73955f0be69ef2c590958db5fa383f69f3
1,812
ViceMod
MIT License
src/main/kotlin/uk/gov/justice/digital/hmpps/createandvaryalicenceapi/entity/AdditionalConditionData.kt
ministryofjustice
384,371,667
false
null
package uk.gov.justice.digital.hmpps.createandvaryalicenceapi.entity import javax.persistence.Entity import javax.persistence.GeneratedValue import javax.persistence.GenerationType import javax.persistence.Id import javax.persistence.JoinColumn import javax.persistence.ManyToOne import javax.persistence.Table import j...
10
Kotlin
0
0
4bc8e12ddc29af15771572053f9007b26d80c314
775
create-and-vary-a-licence-api
MIT License
data/src/main/java/ch/mofobo/foodscanner/data/product/locale/LocaleProductDataSource.kt
mofobo
307,447,023
false
{"Kotlin": 89770, "Python": 5393, "Batchfile": 88}
package ch.mofobo.foodscanner.data.product.locale import ch.mofobo.foodscanner.domain.model.Product interface LocaleProductDataSource { suspend fun add(product: Product) suspend fun add(product: Product, position: Int) suspend fun get(id: Long?, barcode: String?): Product? suspend fun getAll(): Li...
0
Kotlin
0
0
b78f3f8a36b7e6dfe661dd432f22422a6c010956
404
food-scanner
The Unlicense
reposilite-backend/src/integration/kotlin/com/reposilite/specification/ReposiliteSpecification.kt
dzikoysk
96,474,388
false
null
/* * Copyright (c) 2022 dzikoysk * * 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...
16
null
104
631
a4ad03ca8e060282308c1e9b63c454171cded47e
3,764
reposilite
Apache License 2.0
feature/auth/src/main/kotlin/com/kevlina/budgetplus/feature/auth/AuthViewModel.kt
kevinguitar
517,537,183
false
null
@file:Suppress("DEPRECATION") package com.kevlina.budgetplus.feature.auth import android.app.Activity.RESULT_OK import android.content.Context import android.content.Intent import android.content.IntentSender import androidx.activity.ComponentActivity import androidx.core.net.toUri import androidx.lifecycle.lifecycle...
2
null
0
9
9c964e063efdf797f84f58fcc3e8b17da75f8309
7,257
budgetplus-android
MIT License
demo/src/main/java/ovh/plrapps/mapcompose/demo/viewmodels/PathsVM.kt
p-lr
359,208,603
false
null
package ovh.plrapps.mapcompose.demo.viewmodels import android.app.Application import androidx.compose.runtime.getValue import androidx.compose.runtime.mutableStateOf import androidx.compose.runtime.setValue import androidx.compose.ui.geometry.Offset import androidx.compose.ui.graphics.Color import androidx.lifecycle.A...
5
null
17
175
d68a863777327a3de987eb7d561830ba957403da
3,098
MapCompose
Apache License 2.0
vehicles_service/src/main/java/com/cooltee/service/impl/DataOperateServiceImpl.kt
cooltee
81,402,394
false
{"Maven POM": 6, "Markdown": 3, "Text": 1, "Ignore List": 1, "Kotlin": 18, "INI": 6, "Java": 63, "Java Server Pages": 16, "XML": 8, "JAR Manifest": 1, "JSON": 4, "JavaScript": 39, "CSS": 31, "SVG": 2, "Less": 13, "SCSS": 13, "SQL": 1}
package com.cooltee.service.impl import com.cooltee.dao.entity.Vehicle import com.cooltee.dao.interfaces.VehicleDao import com.cooltee.service.interfaces.DataOperateService import org.springframework.beans.factory.annotation.Autowired import org.springframework.stereotype.Service import org.springframework.transaction...
0
JavaScript
0
2
14ba6cf059316a18f6a5c5669cca9aab61c02509
1,032
vehicles
MIT License
qatoolkit-bridge-core/src/main/java/com/github/iojjj/bootstrap/qatoolkit/pub/bridge/core/service/ServiceRequest.kt
Iojjj
429,845,456
false
{"Kotlin": 694141}
package com.github.iojjj.bootstrap.qatoolkit.pub.bridge.core.service import android.os.Message import android.os.Parcelable import com.github.iojjj.bootstrap.pub.core.os.makeBundle import com.github.iojjj.bootstrap.pub.core.os.withCurrentThreadContextClassLoader interface ServiceRequest<out R : Parcelable> : Parcelab...
0
Kotlin
1
3
8f131d8132b0deb6a638d2a66fdf1d53911cca32
1,152
QA-Toolkit
MIT License
klang/libclang/src/main/kotlin/klang/jvm/binding/CXDiagnosticSeverity.kt
ygdrasil-io
634,882,904
false
{"Kotlin": 292451, "C": 3541, "Shell": 2951, "Objective-C": 1076, "C++": 567}
package klang.jvm.binding object CXDiagnosticSeverity { val CXDiagnostic_Ignored = 0 val CXDiagnostic_Note = 1 val CXDiagnostic_Warning = 2 val CXDiagnostic_Error = 3 val CXDiagnostic_Fatal = 4 }
2
Kotlin
1
0
5889fb009a06f141d238587b7288ef727873253e
217
klang
MIT License
Corona-Warn-App/src/main/java/de/rki/coronawarnapp/ui/submission/fragment/SubmissionResultPositiveOtherWarningFragment.kt
CoraLibre
268,867,734
true
null
package de.rki.coronawarnapp.ui.submission.fragment import android.content.Intent import android.os.Bundle import android.view.View import android.view.accessibility.AccessibilityEvent import androidx.fragment.app.Fragment import androidx.fragment.app.activityViewModels import androidx.navigation.fragment.findNavContr...
5
Kotlin
3
36
8e3d915aa194cae0645ff668cca2114d9bb3d7c2
8,548
CoraLibre-android
Apache License 2.0
libraries/apollo-compiler/src/main/kotlin/com/apollographql/apollo3/compiler/CodegenSchema.kt
apollographql
69,469,299
false
{"Kotlin": 3318081, "Java": 229860, "CSS": 26280, "HTML": 4780, "JavaScript": 1191}
package com.apollographql.apollo3.compiler import com.apollographql.apollo3.ast.Schema import com.apollographql.apollo3.ast.findTargetName import kotlinx.serialization.ExperimentalSerializationApi import kotlinx.serialization.Serializable import kotlinx.serialization.json.Json import kotlinx.serialization.json.okio.de...
170
Kotlin
658
3,596
a87b15a8ef3421bb19166f7354b42da8bf0b23ca
1,574
apollo-kotlin
MIT License
src/main/java/ink/anur/client/ClientMsgProcessCentreService.kt
anurnomeru
242,305,129
false
null
package ink.anur.client import ink.anur.common.struct.KanashiNode import ink.anur.core.client.ClientOperateHandler import ink.anur.core.request.MsgProcessCentreService import ink.anur.inject.NigateBean import ink.anur.inject.NigateInject import ink.anur.inject.NigatePostConstruct import io.netty.channel.ConnectTimeout...
1
null
1
5
27db6442ef9d4abc594d7e7719a8c772f03e61b6
1,456
kanashi
MIT License
app/src/main/java/com/example/codev/chat_feature/ui/ChatScreen.kt
YadavYashvant
697,651,024
false
{"Kotlin": 171258, "Java": 218}
package com.example.codev.chat_feature.ui import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.material3.Text import androidx.navigation.NavHostController import com.example.codev.data.DataOrException import com.example.codev.firestore_feature.P...
0
Kotlin
0
2
8adc6db29ee186c2ab7d30383c76e7d9922dbe8e
7,747
Codev
MIT License
LargeDynamicProject/featureA/baseA/src/main/java/com/devrel/experiment/large/dynamic/feature/a/Foo97.kt
skimarxall
212,285,318
false
null
package com.devrel.experiment.large.dynamic.feature.a annotation class Foo97Fancy @Foo97Fancy class Foo97 { fun foo0(){ Foo96().foo8() } fun foo1(){ foo0() } fun foo2(){ foo1() } fun foo3(){ foo2() } fun foo4(){ foo3() } fun foo5(){ foo4() } fun foo6(){ foo5...
1
null
1
1
e027d45a465c98c5ddbf33c68deb09a6e5975aab
388
app-bundle-samples
Apache License 2.0
shared/src/main/java/com/elbehiry/shared/domain/recipes/search/SearchRecipesUseCase.kt
winterdl
553,699,684
true
{"Kotlin": 424827, "Shell": 537}
/* * Copyright 2021 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
0
null
0
0
fc248349fbca6be573a602b7dec5509814fb0919
1,472
GoodFood
Apache License 2.0
app/src/main/java/br/edu/ifsp/scl/ads/pdm/contatoskt/model/ContatoDao.kt
Xandstf
380,548,335
false
{"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "JSON": 1, "Proguard": 1, "Java": 2, "XML": 25, "Kotlin": 13}
package br.edu.ifsp.scl.ads.pdm.contatoskt.model interface ContatoDao { fun createContato(contato: Contato) fun readContato(nome: String): Contato fun readContatos(): MutableList<Contato> fun updateContato(contato: Contato) fun deleteContato(nome: String) }
1
null
1
1
4a17ab21c6fe951a64374254d5ce66c5ddaf16c4
278
ContatosKt
Apache License 2.0
ryujin/src/commonMain/kotlin/statement/Math.kt
SrGaabriel
837,425,380
false
{"Kotlin": 239319, "LLVM": 21034, "Rust": 5321, "HTML": 171}
package me.gabriel.ryujin.statement import me.gabriel.ryujin.struct.DragonType import me.gabriel.ryujin.struct.Value class AddStatement( val left: Value, val right: Value ) : TypedDragonStatement { override val memoryDependencies: Set<Value> get() = setOf(left, right) override fun isValid(): ...
0
Kotlin
0
11
8d59af2378097a7d73cd74ac14b59e0a4d3c2594
524
selene
Apache License 2.0
src/main/kotlin/io/decorus/lyricsx/LyricsxApplication.kt
decorus-kazuma
242,469,835
false
null
package io.decorus.lyricsx import org.springframework.boot.autoconfigure.SpringBootApplication import org.springframework.boot.runApplication @SpringBootApplication class LyricsxApplication fun main(args: Array<String>) { runApplication<LyricsxApplication>(*args) }
20
Kotlin
0
1
a60e00873bfae29c381cd15846d4bbb7f10bd6f9
270
lyricsx-server
MIT License
src/main/kotlin/com/nowak/demo/view/EditBirthDate.kt
KamilaNowak
253,590,927
false
null
package com.nowak.demo.view import com.nowak.demo.controllers.UserController import javafx.beans.property.SimpleObjectProperty import javafx.beans.property.SimpleStringProperty import tornadofx.* import java.time.LocalDate class EditBirthDate : View("Change birth date") { private val loggedBirthDate = SimpleObje...
6
Kotlin
0
5
7db18fbb23736be92db641b5d6e65d40de1350b9
1,148
invoice-manager
MIT License
straight/src/commonMain/kotlin/me/localx/icons/straight/filled/MatchFire.kt
localhostov
808,861,591
false
{"Kotlin": 79430321, "HTML": 331, "CSS": 102}
package me.localx.icons.straight.filled 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...
1
Kotlin
0
5
cbd8b510fca0e5e40e95498834f23ec73cc8f245
2,905
icons
MIT License
spring-boot-feature/src/main/kotlin/com/example/feature/controller/FeatureController.kt
anirban99
302,595,489
false
null
package com.example.feature.controller import com.example.feature.controller.model.FeatureDto import com.example.feature.controller.model.FeatureDto.ModelMapper.toFeatureDto import com.example.feature.service.FeatureService import org.springframework.http.MediaType import org.springframework.web.bind.annotation.GetMap...
0
Kotlin
8
9
5b2fefbe07e1b5f36b5a5f633b1d5bb78657d183
918
spring-boot-examples
Apache License 2.0
app/src/main/java/com/ermile/salamquran/android/dao/bookmark/BookmarkResult.kt
aliamituddin
306,941,072
true
{"INI": 2, "YAML": 1, "Gradle": 9, "Shell": 2, "EditorConfig": 1, "Markdown": 2, "Batchfile": 1, "Text": 1, "Ignore List": 2, "JSON": 3, "PHP": 2, "XML": 171, "Kotlin": 63, "Java": 213, "Java Properties": 1}
package com.ermile.salamquran.android.dao.bookmark import com.ermile.salamquran.android.dao.Tag import com.ermile.salamquran.android.ui.helpers.QuranRow data class BookmarkResult(val rows: List<QuranRow>, val tagMap: Map<Long, Tag>)
0
null
0
0
b3fa38fb9b8bd38fe736fad9dea4e73397ba699a
235
SalamQuran-android
MIT License
android/src/fabric/java/com/reactnativekeyboardcontroller/KeyboardControllerModule.kt
kirillzyusko
482,596,054
false
null
package com.reactnativekeyboardcontroller import com.facebook.react.bridge.ReactApplicationContext import com.reactnativekeyboardcontroller.modules.KeyboardControllerModuleImpl class KeyboardControllerModule(mReactContext: ReactApplicationContext) : NativeKeyboardControllerSpec(mReactContext) { private val module =...
8
null
71
996
4e659427e1037a2136d3691a534884c8341bbe44
948
react-native-keyboard-controller
MIT License
src/All_Exception_Handling/Extension_Function.kt
RedwanSharafatKabir
280,724,526
false
null
package All_Exception_Handling fun String.lastChar() = get(length - 1) //fun main(args: Array<String>){ // val c:Char = "SEX".lastChar() // println(c) //} fun sum (list: List<Int>): Int{ var result = 0 for(i in list){ result += i } return result } fun main(args: Array<String>){ va...
1
Kotlin
1
3
f764850ab3a7d0949f3e0401b0fe335d9df30cab
382
OOP-Kotlin
MIT License
ktfx-thirdparty/controlsfx/src/ktfx/controlsfx/control/Rating.kt
alilosoft
182,138,993
true
{"Kotlin": 364065, "HTML": 1385, "Java": 682}
@file:Suppress("PackageDirectoryMismatch", "NOTHING_TO_INLINE") package ktfx.controlsfx import ktfx.layouts.NodeManager import ktfx.layouts.LayoutDslMarker import org.controlsfx.control.Rating /** Creates a [Rating]. */ fun rating( max: Int = 5, rating: Int = -1, init: ((@LayoutDslMarker Rating).() -> Un...
0
Kotlin
0
0
f499c9d7abddb270f1946c0e9ffb9072e45cd625
641
ktfx
Apache License 2.0
src/commonMain/kotlin/org/tix/config/data/MatrixEntryConfiguration.kt
ncipollo
336,920,234
false
{"Kotlin": 601503}
package org.tix.config.data data class MatrixEntryConfiguration(val variables: Map<String, String>)
8
Kotlin
0
3
02f87c827c1159af055f5afc5481afd45c013703
101
tix-core
MIT License
tmp/arrays/kotlinAndJava/87.kt
mandelshtamd
249,374,670
false
{"Git Config": 1, "Gradle": 6, "Text": 3, "INI": 5, "Shell": 2, "Ignore List": 3, "Batchfile": 2, "Markdown": 2, "Kotlin": 15942, "JavaScript": 4, "ANTLR": 2, "XML": 12, "Java": 4}
//File Outer.java import kotlin.Metadata; import kotlin.jvm.internal.Intrinsics; import org.jetbrains.annotations.NotNull; public final class Outer { public final void foo(@NotNull Outer.Inner $this$foo) { new Outer(); new Outer.Nested(); new Outer.Inner(); } public final void bar(@NotNull ...
1
null
1
1
da010bdc91c159492ae74456ad14d93bdb5fdd0a
843
bbfgradle
Apache License 2.0
app/src/main/java/com/application/moviesapp/domain/MoviesSortUseCase.kt
sheikh-20
676,842,394
false
null
package com.application.moviesapp.domain import com.application.moviesapp.data.mock.Datasource import com.application.moviesapp.data.repository.MoviesRepository import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.async import kotlinx.coroutines.withContext import javax.inject.Inject interface MoviesSortUs...
0
null
1
7
7ac9a7d2c41f9d0acf1f37d5475e5ca321447e3f
1,083
MoviesApp
MIT License
plugins/lombok/src/main/java/de/plushnikov/intellij/plugin/logging/LombokLoggingUtils.kt
JetBrains
2,489,216
false
null
package de.plushnikov.intellij.plugin.logging object LombokLoggingUtils { const val SLF4J_ANNOTATION = "lombok.extern.slf4j.Slf4j" const val LOG4J2_ANNOTATION = "lombok.extern.log4j.Log4j2" const val LOG4J_ANNOTATION = "lombok.extern.log4j.Log4j" const val COMMONS_ANNOTATION = "lombok.extern.apachecommons.Comm...
284
null
5162
16,707
def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0
553
intellij-community
Apache License 2.0
app/src/main/kotlin/io/github/wykopmobilny/base/BaseLinksFragment.kt
otwarty-wykop-mobilny
374,160,630
true
{"Kotlin": 1326147, "HTML": 66896, "Java": 38599}
package io.github.wykopmobilny.base import android.os.Bundle import android.view.View import androidx.core.view.isVisible import androidx.recyclerview.widget.LinearLayoutManager import androidx.swiperefreshlayout.widget.SwipeRefreshLayout import io.github.wykopmobilny.R import io.github.wykopmobilny.api.links.LinksApi...
13
Kotlin
4
47
85b54b736f5fbcd6f62305779ed7ae2085c3b136
3,991
wykop-android
MIT License
app/src/main/java/com/webitel/mobile_demo_app/data/remote/PortalCustomerService.kt
webitel
718,075,081
false
{"Kotlin": 113068}
package com.webitel.mobile_demo_app.data.remote import android.app.Application import android.util.Log import com.webitel.mobile_sdk.domain.Call import com.webitel.mobile_sdk.domain.CallStateListener import com.webitel.mobile_sdk.domain.CallbackListener import com.webitel.mobile_sdk.domain.ChatClient import com.webite...
0
Kotlin
0
0
4e6ff1930c63a674db8a15d3e84c82872b89f567
27,773
mobile-demo-app
MIT License
mockito1_kotlin/src/test/kotlin/be.vergauwen.simon/mockito1_kotlin/CreateInstanceTest.kt
appfoundry
68,204,452
false
{"Gradle": 4, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "Kotlin": 43, "Proguard": 1, "Java": 4, "XML": 5}
package be.vergauwen.simon.mockito1_kotlin/* * The MIT License * * Copyright (c) 2016 <NAME> * Copyright (c) 2007 Mockito contributors * * 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 Softwar...
0
Kotlin
0
3
6e740828e822a0e916f38dc75930f7592b82ff23
11,476
android-spek-sample
MIT License
src/commonMain/kotlin/io/konform/validation/ValidationResult.kt
ScriptonBasestar-io
458,200,721
true
{"Kotlin": 55108}
package io.konform.validation import kotlin.reflect.KProperty1 interface ValidationError { val dataPath: String val message: String } internal data class PropertyValidationError( override val dataPath: String, override val message: String ) : ValidationError { override fun toString(): String { ...
0
Kotlin
0
0
2646a36a7c2b3d26ef58c3d6f1791e0f1eed8ba7
2,312
sb-konform
MIT License
app/src/main/java/com/kanyideveloper/joomia/feature_auth/data/dto/Name.kt
JoelKanyi
501,639,143
false
null
package com.kanyideveloper.joomia.feature_auth.data.dto import com.google.gson.annotations.SerializedName data class Name( @SerializedName("firstname") val firstname: String, @SerializedName("lastname") val lastname: String )
0
null
2
98
573cd1f81e2ad47d6b53c461f32d58ca8bec4535
244
Joomia
Apache License 2.0
nlp/api/service/src/main/kotlin/fr/vsct/tock/nlp/api/NlpVerticle.kt
gearnode
115,011,243
true
{"Kotlin": 1448205, "TypeScript": 301273, "HTML": 102491, "CSS": 27660, "JavaScript": 5174, "Shell": 1303}
/* * Copyright (C) 2017 VSCT * * 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 wri...
0
Kotlin
0
0
e8ee0dcc3de16f89878e138dc06920ed8b96aa20
2,911
tock
Apache License 2.0