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
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/utils/KtAnalysisSessionFe10BindingHolder.kt
JetBrains
3,432,266
false
null
/* * Copyright 2010-2021 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.analysis.api.fir.utils import org.jetbrains.kotlin.fir.FirElement import org.jet...
5
null
5074
40,992
57fe6721e3afb154571eb36812fd8ef7ec9d2026
2,848
kotlin
Apache License 2.0
src/main/kotlin/com/haulmont/cuba/cli/Resources.kt
cuba-platform
127,913,583
false
null
/* * Copyright (c) 2008-2018 Haulmont. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
22
Kotlin
7
47
a6966f1c60efaecde739b3bd5f8625456d6bd545
3,615
cuba-cli
Apache License 2.0
gelm/src/main/java/io/github/gymbay/gelm/observer/GelmObserver.kt
gymbay
823,946,426
false
{"Kotlin": 60410}
package io.github.gymbay.gelm.observer /** * For objects that might be observer. * Example, [io.github.gymbay.gelm.GelmStore]. */ interface GelmObserver<Event> { /** * Sent events to handle. * * @param event Event for handling. */ fun sendEvent(event: Event) }
0
Kotlin
0
0
87485f58efbc6f8d1870baf6b564d4f1bc3b6d59
292
GELM
Apache License 2.0
src/main/java/org/kman/clearview/core/BaseViewModel.kt
aimlessness99
403,481,863
true
{"Kotlin": 180297}
package org.kman.clearview.core import android.app.Application import android.content.Context import android.util.Base64 import androidx.lifecycle.AndroidViewModel import com.squareup.moshi.Moshi import kotlinx.coroutines.* import okhttp3.ConnectionSpec import okhttp3.HttpUrl import okhttp3.OkHttpClient import okhttp3...
0
null
0
0
1dfc4d8f1bb9e1e05b52a4d3eca23fd35ab00f43
5,054
clearview-android
Apache License 2.0
optional/glide/src/main/java/com/pitaya/mobile/uinspector/optional/glide/GlidePropertiesParserPlugin.kt
YvesCheung
325,005,910
false
null
package com.pitaya.mobile.uinspector.optional.glide import android.util.Log import android.view.View import android.widget.ImageView import com.bumptech.glide.R import com.bumptech.glide.request.Request import com.bumptech.glide.request.target.CustomViewTarget import com.bumptech.glide.request.target.ViewTarget import...
1
Kotlin
24
201
b404894d395d19d62473dba1cbfd19636664d5a7
2,158
UInspector
Apache License 2.0
05-setup-a-room-database/final/app/src/main/java/com/kodeco/android/devscribe/ui/viewmodels/MainViewModel.kt
kodecocodes
784,467,323
false
{"Kotlin": 250781}
package com.kodeco.android.devscribe.ui.viewmodels import android.util.Log import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.kodeco.android.devscribe.data.datastore.DataStoreManager import com.kodeco.android.devscribe.data.files.ExternalNotesFileManager import com.kodeco.android.d...
0
Kotlin
0
0
d237a3921a3db6def1fb7927f52c9f3945664427
3,486
m3-sua-materials
Apache License 2.0
lib_common/src/main/java/com/yang/lib_common/widget/LifecycleMediaPlayer.kt
jlglyyx
517,636,450
false
null
package com.yang.lib_common.widget import android.content.Context import android.graphics.Canvas import android.graphics.Color import android.media.AudioAttributes import android.media.AudioManager import android.media.MediaPlayer import android.util.AttributeSet import android.util.Log import android.view.SurfaceHold...
0
Kotlin
0
0
87fdd734e4a3f2d061c4e0de01275f019a3dc642
7,211
yl
Apache License 2.0
Collections/Getting used to new style/src/Task.kt
DanSilva41
445,671,944
false
{"Kotlin": 26550}
fun doSomethingWithCollection(collection: Collection<String>): Collection<String>? { val groupsByLength = collection.groupBy { it.length } val maximumSizeOfGroup = groupsByLength.values.map { group -> group.size }.maxOrNull() return groupsByLength.values.firstOrNull { group -> group.size == maximumSizeOf...
0
Kotlin
0
0
5da9ac818cf85725eaf098cf80510e5a68d1ec21
330
exercises-kotlin-koans
MIT License
src/main/kotlin/sola/angel/geom2d/Size.kt
angelsolaorbaiceta
159,042,202
false
null
package sola.angel.geom2d import sola.angel.nums.fuzzyEquals import kotlin.math.abs class Size private constructor(val width: Double, val height: Double) { val area = width * height fun asVector(): Vector = Vector.make(width, height) override fun equals(other: Any?): Boolean { if (this === othe...
0
Kotlin
0
0
3355a4f738b0a8a403d00b49f0ad89b61dfc7153
886
geom2d
MIT License
app/src/main/java/com/irfan/chatbox/views/chat/ChatViewModel.kt
irfanhafizh2811
592,586,576
false
null
package com.irfan.chatbox.views.chat import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.irfan.chatbox.pref.ApplicationPref import com.irfan.chatbox.repository.ChatRepository import dagger.hilt.android.lifecycle.HiltViewModel import kotlinx.coroutines.Dispatchers import kotlinx.coro...
0
Kotlin
0
0
179b04e0134011dd69ea8ac4e75a10c8e55c1891
736
chatbox
MIT License
domain/client/src/main/kotlin/io/github/siyual_park/client/event/consumer/SyncRootClientScope.kt
siyul-park
403,557,925
false
{"Kotlin": 711198, "TypeScript": 44640, "JavaScript": 1125, "Dockerfile": 292, "Shell": 195}
package io.github.siyual_park.client.event.consumer import io.github.siyual_park.auth.domain.scope_token.ScopeTokenMapper import io.github.siyual_park.auth.entity.ScopeTokenEntity import io.github.siyual_park.client.domain.ClientStorage import io.github.siyual_park.client.property.RootClientProperty import io.github.s...
12
Kotlin
0
18
8ba61c438582901ea277c920803e42071adf3727
1,185
spring-webflux-multi-module-boilerplate
MIT License
app/src/main/java/com/example/rxlife/Url.kt
liujingxing
179,467,761
false
null
package com.example.httpsender.entity import rxhttp.wrapper.annotation.DefaultDomain import rxhttp.wrapper.annotation.Domain /** * User: ljx * Date: 2019/3/27 * Time: 10:36 */ class Url { companion object { @Domain(name = "Update") const val update = "http://update.9158.com" @Defaul...
1
null
38
352
51d97dfd44ec18a0f3590d33fd6489803bde01f3
405
rxlife
Apache License 2.0
common/src/commonMain/kotlin/com/artemchep/keyguard/core/store/bitwarden/BitwardenMetaRepositoryImpl.kt
AChep
669,697,660
false
{"Kotlin": 5516822, "HTML": 45876}
package com.artemchep.keyguard.core.store.bitwarden import app.cash.sqldelight.coroutines.asFlow import app.cash.sqldelight.coroutines.mapToList import com.artemchep.keyguard.common.io.IO import com.artemchep.keyguard.common.io.map import com.artemchep.keyguard.core.store.DatabaseDispatcher import com.artemchep.keygua...
66
Kotlin
31
995
557bf42372ebb19007e3a8871e3f7cb8a7e50739
1,698
keyguard-app
Linux Kernel Variant of OpenIB.org license
app/src/main/java/com/kevin/androidmvvmwithrxjava/di/modules/NetworkModule.kt
Avs-Pavan
716,703,680
false
{"Kotlin": 15974}
package com.kevin.androidmvvmwithrxjava.di.modules import com.kevin.androidmvvmwithrxjava.di.modules.Constants.QUOTES_BASE_URL import com.kevin.androidmvvmwithrxjava.model.repo.api.QuoteApiService import dagger.Module import dagger.Provides import dagger.hilt.InstallIn import dagger.hilt.components.SingletonComponent ...
0
Kotlin
0
0
f1f1c893e997c8db05ee6994316506f3a84639ee
1,941
AndroidMvvmWithRxjava
MIT License
idea/testData/refactoring/introduceTypeAlias/userTypeDuplicatesNoTypeParameters.kt
JakeWharton
99,388,807
false
null
// NAME: S class A<X, Y> // SIBLING: fun foo() { val t1: <caret>A<Int, Boolean> val t2: A<Int, Boolean> val t3: A<Boolean, Int> }
0
null
28
83
4383335168338df9bbbe2a63cb213a68d0858104
142
kotlin
Apache License 2.0
src/main/kotlin/configuration/connection/data/BbResponse.kt
bobril
159,777,418
false
null
package configuration.connection.data import com.fasterxml.jackson.annotation.JsonIgnoreProperties @JsonIgnoreProperties(ignoreUnknown = true) class BbResponse<T> { lateinit var id: String lateinit var m: Array<BbMessage<T>> var close: Boolean? = null }
1
Kotlin
1
1
7425e58ccbd282fb5298dc5851352164deb283f5
267
bobril-jetbrains-runner
MIT License
library/core/engine/src/main/kotlin/de/lise/fluxflow/engine/step/StepTypeResolverImpl.kt
lisegmbh
740,936,659
false
{"Kotlin": 735112}
package de.lise.fluxflow.engine.step import de.lise.fluxflow.api.step.StepKind import kotlin.reflect.KClass class StepTypeResolverImpl( private val classLoader: ClassLoader, mappings: Map<StepKind, KClass<out Any>> = emptyMap() ) : StepTypeResolver { private val cache = mappings.toMutableMap() ov...
20
Kotlin
0
7
b893e79a93122d79846143a25cd4aa83111cc13f
590
fluxflow
Apache License 2.0
library/src/jvmCommonMain/kotlin/nativex/WKPaymentProtocolPaymentAck.kt
DrewCarlson
228,961,452
false
null
/* * Created by <NAME> <<EMAIL>> on 10/29/19. * Copyright (c) 2019 Breadwinner AG. All right reserved. * * See the LICENSE file at the project root for license information. * See the CONTRIBUTORS file at the project root for a list of contributors. */ package com.blockset.walletkit.nativex import com.google.com...
4
Kotlin
1
1
6a6b20a69e6307d89ad7ce3494fb794411fb7e76
1,578
WalletKit-Kotlin
The Unlicense
android/testartifacts/testSrc/com/android/tools/idea/testartifacts/instrumented/testsuite/adapter/DdmlibTestRunListenerAdapterTest.kt
JetBrains
60,701,247
false
null
/* * Copyright (C) 2019 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
5
null
227
948
10110983c7e784122d94c7467e9d243aba943bf4
26,768
android
Apache License 2.0
android/testartifacts/testSrc/com/android/tools/idea/testartifacts/instrumented/testsuite/adapter/DdmlibTestRunListenerAdapterTest.kt
JetBrains
60,701,247
false
null
/* * Copyright (C) 2019 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
5
null
227
948
10110983c7e784122d94c7467e9d243aba943bf4
26,768
android
Apache License 2.0
mui-icons-kotlin/src/jsMain/kotlin/mui/icons/material/MotionPhotosAutoRounded.kt
karakum-team
387,062,541
false
{"Kotlin": 3037818, "TypeScript": 2249, "HTML": 724, "CSS": 86}
// Automatically generated - do not modify! @file:JsModule("@mui/icons-material/MotionPhotosAutoRounded") package mui.icons.material @JsName("default") external val MotionPhotosAutoRounded: SvgIconComponent
1
Kotlin
5
35
7c4376ba64ea84a5c40255d83c8c046978c3843d
210
mui-kotlin
Apache License 2.0
app-infrastructure/src/main/java/mobi/lab/hardwarekeybasedencryptedstoragetester/infrastructure/common/http/ErrorTransformer.kt
LabMobi
569,762,507
false
null
package mobi.lab.hardwarekeybasedencryptedstoragetester.infrastructure.common.http interface ErrorTransformer { fun transform(error: Throwable): Throwable }
0
Kotlin
0
0
74578ddac67d8ab1a03b00e987e0a3e65c5e5433
162
HardwareKeyBasedEncryptedStorageTesterAndroid
Apache License 2.0
app/src/main/java/io/github/lee0701/converter/engine/DictionaryHanjaConverter.kt
Lee0701
310,915,714
false
null
package io.github.lee0701.converter.engine import io.github.lee0701.converter.candidates.Candidate import io.github.lee0701.converter.dictionary.HanjaDictionary import io.github.lee0701.converter.dictionary.ListDictionary open class DictionaryHanjaConverter( private val dictionary: ListDictionary<HanjaDictionary....
0
Kotlin
0
2
b6ec70f7d605be77bdbfd6f678c8117da23ba6b8
1,095
Converter
Apache License 2.0
app/src/main/java/com/mystical/wildlegion/utils/fonts/Typefaces.kt
DeveloperXY
145,738,735
false
{"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "JSON": 2, "Proguard": 1, "Kotlin": 70, "XML": 60, "Java": 5}
package com.mystical.wildlegion.utils.fonts import android.content.Context import android.graphics.Typeface import android.support.v4.content.res.ResourcesCompat import com.mystical.wildlegion.R /** * A utility class to load and cache fonts. * * This class loads & caches fonts for later reuse. */ class Typefaces ...
1
null
1
1
3743e5e88fe95c0722f98334f8799cb11111e59a
2,245
WildLegion
MIT License
app/src/main/java/com/example/wallpaper/data/repository/HomeRepository.kt
bardiau3fi
794,694,375
false
{"Kotlin": 236028}
package com.example.wallpaper.data.repository import android.content.Context import androidx.core.content.ContextCompat import com.example.wallpaper.R import com.example.wallpaper.data.model.home.ColorToneModel import com.example.wallpaper.data.network.ApiServices import dagger.hilt.android.qualifiers.ApplicationCont...
0
Kotlin
0
2
4d5126f554fe9331a71eddeba7fe8f4a08eca071
1,777
Wallpaper
MIT License
EJ2/src/EJER2.kt
DavidNunoVelez
92,430,090
true
{"Kotlin": 5454}
import java.io.BufferedReader import java.io.InputStreamReader /** * Created by 7FPROG07 on 22/05/2017. */ fun main(args: Array<String>) { /* # Ejercicio 2 - Día de la semana Pedir al usuario un número comprendido entre el 1 y el 7 e imprimir el día de la semana al que hace referencia. Por ejemplo...
0
Kotlin
0
0
4f378bd3217a34cfc3b294241023a41f261405cb
740
kotlin
Apache License 2.0
src/commonTest/kotlin/de/westnordost/osmfeatures/FeatureDictionaryTest.kt
westnordost
178,749,671
false
{"Kotlin": 96771}
package de.westnordost.osmfeatures import kotlin.test.Test import kotlin.test.assertEquals import kotlin.test.assertNull class FeatureDictionaryTest { private val bakery = feature( // unlocalized shop=bakery id = "shop/bakery", tags = mapOf("shop" to "bakery"), names = listOf("Bäckerei"),...
3
Kotlin
8
17
b51f189d01b58d63ad0b4f9363ffe20e792100bd
23,426
osmfeatures
Apache License 2.0
app/src/main/java/com/kickstarter/libs/utils/KsOptional.kt
kickstarter
76,278,501
false
{"Kotlin": 5269841, "Java": 317201, "Ruby": 22177, "Shell": 6325, "Makefile": 3750}
package com.kickstarter.libs.utils import java.util.Objects class KsOptional<T> { private var value: T? private constructor() { value = null } private constructor(value: T) { this.value = Objects.requireNonNull(value) } interface Action<T> { fun apply(value: T) }...
9
Kotlin
989
5,752
a9187fb484c4d12137c7919a2a53339d67cab0cb
714
android-oss
Apache License 2.0
mvvm-dagger/src/main/java/com/example/mvvm_dagger/ext/DefferredExt.kt
silladus
145,500,576
false
{"Gradle": 6, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 5, "Batchfile": 1, "Git Attributes": 1, "Markdown": 1, "Proguard": 4, "INI": 1, "XML": 41, "Java": 64, "Kotlin": 59}
package com.example.mvvm_dagger.ext import com.example.mvvm_dagger.entity.Response import kotlinx.coroutines.Deferred /** * create by silladus 2020/7/22 * github:https://github.com/silladus * des: */ //suspend fun <T> Deferred<T>.awaitOrError(): com.example.mvvm_dagger.data.entry.Result<T> { // return try { //...
0
Java
0
1
bf6639de672f651ebe5e6cc6cbe27a9f4f523faf
773
basiclib
Apache License 2.0
backend/src/main/kotlin/me/agaman/ramona/storage/StandupStorage.kt
kravent
260,526,771
false
null
package me.agaman.ramona.storage import kotlinx.serialization.builtins.list import kotlinx.serialization.builtins.serializer import kotlinx.serialization.builtins.set import me.agaman.ramona.Serializer import me.agaman.ramona.helpers.UuidHelper import me.agaman.ramona.model.Standup import me.agaman.ramona.model.WeekDa...
0
Kotlin
0
0
e84727363b968e5776ff25698e534d9a9b36f937
3,812
ramona
MIT License
app/src/main/java/com/mathewsachin/fategrandautomata/dagger/service/ScriptRunnerServiceComponent.kt
potchy
289,129,296
true
{"Kotlin": 280590}
package com.mathewsachin.fategrandautomata.dagger.service import com.mathewsachin.fategrandautomata.accessibility.ScriptRunnerService import com.mathewsachin.fategrandautomata.dagger.script.ScriptComponent import dagger.Subcomponent @ServiceScope @Subcomponent(modules = [ScriptRunnerServiceModule::class, ScriptRunner...
0
Kotlin
0
0
5e2f88b5edbc4197aa0a0ba9093fe55d08807218
665
Fate-Grand-Automata
MIT License
android/app/src/main/java/com/opensource/pluginsample/MainActivity.kt
LEGO-SDK
107,627,265
false
{"Objective-C": 396660, "C": 383803, "JavaScript": 11380, "Shell": 9951, "Kotlin": 7349, "C++": 5194, "Java": 2349, "HTML": 1617, "Ruby": 602}
package com.opensource.pluginsample import android.os.Build import android.os.Bundle import android.webkit.WebView import com.opensource.legosdk.core.LGOWebViewActivity class MainActivity : LGOWebViewActivity() { override var urlString: String? = null get() = "file:///android_asset/sample.html" over...
0
Objective-C
1
1
000dbb12cb7d7d592b4bbad10cf8469ef76302f2
575
Plugin-AudioRecord
Apache License 2.0
java/java-impl-refactorings/src/com/intellij/refactoring/extractMethod/newImpl/JavaDuplicatesFinder.kt
JetBrains
2,489,216
false
null
// Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.refactoring.extractMethod.newImpl import com.intellij.openapi.util.Key import com.intellij.openapi.util.TextRange import com.intellij.psi.*...
284
null
5162
16,707
def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0
9,464
intellij-community
Apache License 2.0
domain/src/main/java/com/mewa/domain/model/Cat.kt
m-ewa
765,907,767
false
{"Kotlin": 29309}
package com.mewa.domain.model import java.util.Date data class Cat( val imageUrl: String?, val description: String?, val link: String?, val published: Date )
0
Kotlin
0
0
3d1558d4fc2fbe0624668b588ea4ba95b798de7b
175
FlickrApp
MIT License
core-ui/src/main/java/ly/com/tahaben/core_ui/components/HowDialog.kt
tahaak67
508,754,612
false
{"Kotlin": 506680}
package ly.com.tahaben.core_ui.components import androidx.annotation.DrawableRes import androidx.compose.foundation.background import androidx.compose.foundation.layout.* import androidx.compose.foundation.rememberScrollState import androidx.compose.foundation.verticalScroll import androidx.compose.material.Button imp...
8
Kotlin
0
57
1c96b8f02ae1c67ce7a0fbf037df07ecd5694f66
1,842
Farhan
Apache License 2.0
src/main/kotlin/challenge1/Challenge1-1.kts
MintInfusion
573,329,608
false
{"Kotlin": 7119}
import java.io.File val highestCalories = File("./input.txt") .readText() .split("\n\n") .map { elfCaloriesString -> elfCaloriesString .split("\n") .map { caloriesString -> Integer.parseInt(caloriesString, 10) } .sum() } .max() print(highestCalories)
0
Kotlin
0
0
2e7ffe34c5a6f0724e12ae47b79dc929fac63504
317
Advent-of-Code-2022
Apache License 2.0
shared/src/commonMain/kotlin/home/ui/HomeScreen.kt
Anurag10kumar
695,784,133
false
{"Kotlin": 23610, "Swift": 592, "Shell": 228}
package home.ui import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Row import androidx.compose.foundation.layout.aspectRatio import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.foundation.layout.fill...
0
Kotlin
0
0
6e2f1eedf834b4a94b8be189fbe1f3b5da99202c
3,004
custom-dashboard
Apache License 2.0
android/app/src/main/kotlin/com/josephhassell/flutter_rice_purity_test/MainActivity.kt
poster983
349,772,608
false
{"Dart": 43664, "HTML": 1544, "Swift": 404, "Kotlin": 280, "Objective-C": 38}
package com.josephhassell.flutter_rice_purity_test import io.flutter.embedding.android.FlutterActivity class MainActivity: FlutterActivity() { }
0
Dart
0
0
288dd8b92022e0f3dac22cee25e59817f6ada984
147
flutter_rice_purity_test
MIT License
src/test/kotlin/com/matthewtamlin/retrial/core/recorddependencies/TaskRunnerTests.kt
jack-bradshaw
139,724,630
false
null
/* * Copyright 2018 <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 wr...
2
Kotlin
1
10
365ec4ba65922d1e04c46334b35434d350ec3f34
4,591
Retrial
Apache License 2.0
src/test/kotlin/no/nav/pgi/skatt/leshendelse/mock/KafkaMockFactory.kt
navikt
290,200,420
false
null
package no.nav.pgi.skatt.leshendelse.mock import no.nav.pgi.skatt.leshendelse.kafka.KafkaFactory import no.nav.pgi.skatt.leshendelse.kafka.NEXT_SEKVENSNUMMER_TOPIC import no.nav.pgi.skatt.leshendelse.kafka.SekvensnummerConsumer import no.nav.samordning.pgi.schema.Hendelse import no.nav.samordning.pgi.schema.HendelseKe...
0
Kotlin
0
0
64e017b7d166b8befe707ecc0bb8afd615a3e821
2,649
pgi-les-hendelse-skatt
MIT License
src/test/kotlin/com/codeperfection/authservice/service/UserServiceSecurityTest.kt
codeperfection
716,775,432
false
{"Kotlin": 48798, "Dockerfile": 622}
package com.codeperfection.authservice.service import com.codeperfection.authservice.AuthServiceApplication import com.codeperfection.authservice.entity.User import com.codeperfection.authservice.repository.UserRepository import org.junit.jupiter.api.Test import org.junit.jupiter.api.assertThrows import org.mockito.Mo...
0
Kotlin
0
0
9e90bb5aec61403038aeff1485aa7aab46ff77a5
2,452
auth-service
MIT License
aws/sdk-codegen/src/main/kotlin/software/amazon/smithy/rustsdk/HttpRequestChecksumDecorator.kt
smithy-lang
308,027,791
false
{"Rust": 4428309, "Kotlin": 3842117, "Smithy": 151231, "Python": 62946, "Shell": 49728, "TypeScript": 30713, "Dockerfile": 9790, "JavaScript": 5975, "Harbour": 5848, "Makefile": 5633, "CSS": 982, "RenderScript": 116}
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ package software.amazon.smithy.rustsdk import software.amazon.smithy.aws.traits.HttpChecksumTrait import software.amazon.smithy.model.shapes.OperationShape import software.amazon.smithy.rust.codegen.cli...
357
Rust
188
504
8d8e7ab7aa6c3b388ffb2365a29ab03f87c24507
7,675
smithy-rs
Apache License 2.0
app/src/main/java/com/breezebiolumeskincare/features/login/model/GetQtsAnsSubmitDtlsResponseModel.kt
DebashisINT
740,453,031
false
{"Kotlin": 15911330, "Java": 1030912}
package com.breezebiolumeskincare.features.login.model import com.breezebiolumeskincare.app.domain.QuestionSubmitEntity class GetQtsAnsSubmitDtlsResponseModel { var status:String? = null var message:String? = null var Question_list: ArrayList<QuestionSubmitEntity>? = null }
0
Kotlin
0
0
e25768e0e9490f0130635d614b8743b923f35a00
289
BIOLUMESKINSCIENCE
Apache License 2.0
KotlinDeveloper/GitInternals/GitObject.kt
Tsyshnatiy
561,408,519
false
{"Kotlin": 64886, "JavaScript": 3306, "CSS": 1632, "HTML": 726}
package gitinternals interface GitObject { fun getObjectHash(): String }
0
Kotlin
0
0
5c3ef96cca79e51cc8bc3f65cad6086e0c99ea2d
77
JetBrainsCourses
Apache License 2.0
app/src/main/java/com/github/fragivity/example/swipeback/SwipeBackFragment.kt
libobo9011
347,049,704
true
{"Kotlin": 85589, "Java": 47373}
package com.github.fragivity.example.swipeback import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import com.github.fragivity.example.AbsBaseFragment import com.github.fragivity.swipeback.swipeBackLayout import com.github.fragivity.example.R import kotlin...
0
null
0
0
62e40e2fb2e87e5258731c46246c80f0510a27a4
1,001
fragivity
MIT License
certificatetransparency/src/main/kotlin/com/appmattus/certificatetransparency/internal/verifier/CertificateTransparencyTrustManagerFactory.kt
appmattus
319,979,095
false
null
/* * Copyright 2022-2023 Appmattus Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
7
Kotlin
24
91
469354b7a5692535bece8901d6d9fef1ab1f8093
2,374
certificatetransparency
Apache License 2.0
src/Main.kt
MarioMatheus
111,923,783
false
null
/* Getting Started the Application */ import com.accountsystem.AccountDatabaseController import com.accountsystem.DatabaseHandler fun main(args: Array<String>) { var dbHandler = DatabaseHandler() var accountCtrl = AccountDatabaseController(dbHandler) var window = AccountsGUI(accountCtrl) window.start() }
1
Kotlin
2
2
1b14b4484376ebba72db011179d7cbc4d5b4eb64
311
AccountSystem
MIT License
src/main/kotlin/no/nav/tilleggsstonader/sak/vedtak/barnetilsyn/dto/InnvilgelseTilsynBarnDto.kt
navikt
685,490,225
false
{"Kotlin": 1885240, "Gherkin": 41010, "HTML": 39787, "Shell": 924, "Dockerfile": 164}
package no.nav.tilleggsstonader.sak.vedtak.barnetilsyn.dto import no.nav.tilleggsstonader.sak.vedtak.TypeVedtak import no.nav.tilleggsstonader.sak.vedtak.barnetilsyn.beregning.UtgiftBeregning import no.nav.tilleggsstonader.sak.vilkår.stønadsperiode.dto.StønadsperiodeDto import no.nav.tilleggsstonader.sak.vilkår.vilkår...
3
Kotlin
1
0
df7bf11b9645dce589179f9cd856f6e4a31eba87
2,436
tilleggsstonader-sak
MIT License
gaia/src/commonMain/kotlin/fyi/pauli/ichor/gaia/networking/packet/outgoing/configuration/Disconnect.kt
ichor-dev
676,285,724
false
{"Kotlin": 74820}
package fyi.pauli.ichor.gaia.networking.packet.outgoing.configuration import fyi.pauli.ichor.gaia.networking.packet.State import fyi.pauli.ichor.gaia.networking.packet.outgoing.OutgoingPacket import kotlinx.serialization.Serializable /** * Packet to disconnect a player during the configuration state * * @param rea...
5
Kotlin
0
0
5671346d57ed8c4c2934ef94d7493beb3fd054e6
616
ichor
Apache License 2.0
plugins/maven/src/main/java/org/jetbrains/idea/maven/dom/model/completion/MavenAbstractPluginExtensionCompletionContributor.kt
ingokegel
72,937,917
false
null
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package org.jetbrains.idea.maven.dom.model.completion import com.intellij.codeInsight.completion.CompletionParameters import org.jetbrains.concurrency.AsyncPromise import org.jet...
1
null
1
2
b07eabd319ad5b591373d63c8f502761c2b2dfe8
2,851
intellij-community
Apache License 2.0
Foodtruck/app/src/main/java/com/example/foodtruck/ui/authentication/AuthenticationViewModel.kt
Build-Week-FoodTruck-TrackR
215,889,839
false
null
package com.example.foodtruck.ui.authentication import android.app.Application import androidx.lifecycle.* import com.example.foodtruck.data.source.firebase.InitFirestore import com.example.foodtruck.data.source.local.model.AccountType import com.example.foodtruck.data.source.local.model.AuthenticationState import com...
0
Kotlin
1
0
76b215d943e9f9d0331cfd221bc5cc5800663554
3,271
AND
MIT License
app/src/main/java/com/elementary/tasks/reminder/build/reminder/decompose/ByDayOfYearDecomposer.kt
naz013
165,067,747
false
{"Kotlin": 2969992, "HTML": 20925}
package com.elementary.tasks.reminder.build.reminder.decompose import com.elementary.tasks.core.data.models.Reminder import com.elementary.tasks.core.utils.datetime.DateTimeManager import com.elementary.tasks.reminder.build.bi.BiType import com.elementary.tasks.reminder.build.BuilderItem import com.elementary.tasks.re...
0
Kotlin
3
6
3d26792f05f4183cea6107aeec2d0a065f6b427c
1,492
reminder-kotlin
Apache License 2.0
version/src/main/java/com/nannoq/tools/version/operators/StateApplier.kt
NoriginMedia
110,550,798
false
null
/* * MIT License * * Copyright (c) 2019 <NAME> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, m...
1
null
1
2
02b4220ed95273981faeb9d257e8870c0559af1e
26,757
nannoq-tools
MIT License
app/src/main/java/io/github/alessandrojean/toshokan/service/lookup/LookupRepository.kt
alessandrojean
495,493,156
false
null
package io.github.alessandrojean.toshokan.service.lookup import io.github.alessandrojean.toshokan.data.preference.PreferencesManager import io.github.alessandrojean.toshokan.service.lookup.cbl.CblLookup import io.github.alessandrojean.toshokan.service.lookup.googlebooks.GoogleBooksLookup import io.github.alessandrojea...
11
Kotlin
1
5
96717312b7a5090901c8604cd069d9468995e99e
5,090
toshokan-android
MIT License
app/src/main/java/com/example/todolist/ui/other/SearchFragment.kt
bitua79
487,218,363
false
{"Kotlin": 69845}
package com.example.todolist.ui.other import androidx.core.widget.doAfterTextChanged import com.example.todolist.R import com.example.todolist.core.base.BaseTaskListFragment import com.example.todolist.data.model.TaskType import com.example.todolist.databinding.FragmentSearchBinding import dagger.hilt.android.AndroidE...
0
Kotlin
0
0
a348a75c5876f6271ef20eefa10c26758e6e7089
1,220
todo-list-app
MIT License
app/src/main/java/pt/vilhena/listit/MainActivity.kt
VilhenaChen
316,854,642
false
null
package pt.vilhena.listit import android.app.Activity import android.content.Intent import android.content.SharedPreferences import android.os.Bundle import android.view.View import com.google.gson.Gson import pt.vilhena.listit.atividades.MenuCriarLista import pt.vilhena.listit.atividades.VerListas import pt.vilhena.l...
0
Kotlin
0
1
a3abf5f05d1a4028bd3332c1066392f3945a24ba
2,454
ListIt-AMOV-20-21
MIT License
desktop/src/main/kotlin/nebulosa/desktop/Main.kt
tiagohm
568,578,345
false
null
package nebulosa.desktop import ch.qos.logback.classic.Level import com.fasterxml.jackson.databind.ObjectMapper import javafx.application.Application import javafx.scene.text.Font import nebulosa.desktop.logic.EquipmentManager import nebulosa.desktop.logic.Preferences import nebulosa.desktop.logic.connection.Connectio...
0
Kotlin
0
0
57780ec339ff4e3ec8d1965b7ddef7879861a814
2,370
nebulosa
MIT License
desktop/src/main/kotlin/nebulosa/desktop/Main.kt
tiagohm
568,578,345
false
null
package nebulosa.desktop import ch.qos.logback.classic.Level import com.fasterxml.jackson.databind.ObjectMapper import javafx.application.Application import javafx.scene.text.Font import nebulosa.desktop.logic.EquipmentManager import nebulosa.desktop.logic.Preferences import nebulosa.desktop.logic.connection.Connectio...
0
Kotlin
0
0
57780ec339ff4e3ec8d1965b7ddef7879861a814
2,370
nebulosa
MIT License
protocol/sign/src/main/kotlin/com/walletconnect/sign/di/EngineModule.kt
WalletConnect
435,951,419
false
null
@file:JvmSynthetic package com.walletconnect.sign.di import com.walletconnect.sign.engine.domain.SignEngine import com.walletconnect.sign.json_rpc.domain.GetPendingJsonRpcHistoryEntryByIdUseCase import com.walletconnect.sign.json_rpc.domain.GetPendingSessionRequests import org.koin.dsl.module @JvmSynthetic internal ...
165
null
71
177
876feade47e365868719150ab65196ed0461d5d3
2,348
WalletConnectKotlinV2
Apache License 2.0
src/main/kotlin/dev/supergrecko/vexe/llvm/ir/values/FunctionValue.kt
arkencl
275,663,397
true
{"Kotlin": 372536, "Makefile": 227}
package dev.supergrecko.vexe.llvm.ir.values import dev.supergrecko.vexe.llvm.internal.contracts.Unreachable import dev.supergrecko.vexe.llvm.internal.util.fromLLVMBool import dev.supergrecko.vexe.llvm.internal.util.map import dev.supergrecko.vexe.llvm.internal.util.wrap import dev.supergrecko.vexe.llvm.ir.Attribute im...
0
Kotlin
0
0
673522b620db4c8a619db5ccc5dfe62197b12f11
13,111
llvm4kt
Apache License 2.0
sdk/src/main/java/com/appsci/panda/sdk/Panda.kt
AppSci
303,741,765
false
{"Kotlin": 143280, "HTML": 82124}
package com.appsci.panda.sdk import android.annotation.SuppressLint import android.app.Activity import android.app.Application import android.content.Intent import com.android.billingclient.api.BillingClient import com.android.billingclient.api.ProductDetails import com.appsci.panda.sdk.domain.subscriptions.* import c...
1
Kotlin
0
1
e7b45241dd34513499b756dc4f5058eb92d27902
18,268
panda-sdk-android
MIT License
kmock-processor/src/test/kotlin/tech/antibytes/kmock/processor/mock/KMockSpyGeneratorSpec.kt
bitPogo
455,829,905
false
{"Kotlin": 3553507}
/* * Copyright (c) 2022 Matthias Geisler (bitPogo) / All rights reserved. * * Use of this source code is governed by Apache v2.0 */ package tech.antibytes.kmock.processor.mock import org.junit.jupiter.api.Test import tech.antibytes.kmock.processor.ProcessorContract import tech.antibytes.util.test.fulfils class K...
2
Kotlin
2
54
61a11f511db12b1944449d0edd5b48e9ba3beb46
471
kmock
Apache License 2.0
src/main/kotlin/us/ihmc/build/IHMCBuildProperties.kt
ihmcrobotics
50,534,125
false
null
package us.ihmc.build import groovy.util.Eval import org.gradle.api.logging.Logger import java.io.FileInputStream import java.nio.file.Path import java.util.* class IHMCBuildProperties(val logger: Logger, val projectPath: Path) : Comparable<IHMCBuildProperties> { var folderName = projectPath.fileName.toString() ...
28
Kotlin
3
5
84f35c5ab1a079cf5adbd53c3ac17cf413993f27
2,956
ihmc-build
Apache License 2.0
plugins/kotlin/idea/tests/testData/refactoring/rename/renameGet/after/get.kt
JetBrains
2,489,216
false
null
class A(val n: Int) { fun foo(i: Int): A = A(i) } fun test() { A(1).foo(2) A(1).foo(2) } class Boo(val a: A) fun test(boo: Boo) { boo.a.foo(2) }
284
null
5162
16,707
def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0
163
intellij-community
Apache License 2.0
detekt-psi-utils/src/main/kotlin/io/github/detekt/psi/AnnotationExcluder.kt
detekt
71,729,669
false
null
package io.github.detekt.psi import io.github.detekt.psi.internal.FullQualifiedNameGuesser import io.gitlab.arturbosch.detekt.rules.fqNameOrNull import org.jetbrains.kotlin.name.FqName import org.jetbrains.kotlin.psi.KtAnnotationEntry import org.jetbrains.kotlin.psi.KtFile import org.jetbrains.kotlin.psi.KtTypeReferen...
9
null
772
6,253
c5d7ed3da2824534d0e15f8404ad4f1c59fb553c
3,183
detekt
Apache License 2.0
gradle-plugin/src/main/kotlin/com/google/devtools/ksp/gradle/KspSubplugin.kt
tatocaster
390,027,112
false
{"Gradle Kotlin DSL": 45, "Java Properties": 1, "Markdown": 12, "Shell": 1, "Text": 35, "Ignore List": 1, "Batchfile": 1, "EditorConfig": 1, "INI": 4, "YAML": 2, "Java": 13, "Kotlin": 316, "Proguard": 1, "XML": 1, "SVG": 1}
/* * Copyright 2020 Google LLC * Copyright 2010-2020 JetBrains s.r.o. and Kotlin Programming Language contributors. * * 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.apac...
1
null
1
1
dae64e5e0a9375089b775b74d53c8a50ce0ff0f9
25,208
ksp
Apache License 2.0
app/src/main/java/com/amirdaryabak/runningapp/models/Feature.kt
amirdaryabak
368,950,009
false
{"Gradle": 4, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "JSON": 11, "Proguard": 1, "Kotlin": 47, "XML": 100, "Java": 3, "PureBasic": 1, "Diff": 1}
package com.amirdaryabak.runningapp.models import androidx.annotation.Keep @Keep data class Feature( var geometry: Geometry = Geometry(), val properties: Properties = Properties(), val type: String = "Feature", )
1
null
1
1
175d9079fbab5fb4100e2b8809dd1268bbc8972a
226
Piyado
Apache License 2.0
json-lib/src/main/kotlin/angstromio/json/internal/Classes.kt
angstromio
683,562,832
false
{"Kotlin": 302899, "Java": 4363}
package angstromio.json.internal internal object Classes { /** * Convert 'getFoo' or 'setFoo' to 'foo' */ fun String.asFieldName(): String = if (this.startsWith("get") || this.startsWith("set")) { this.substring(3).replaceFirstChar { it.lowercase() } } else this fun isNotAssignableF...
0
Kotlin
0
0
db9c63b291db92a8fbbc1135ebdf97197f08f5c5
676
angstromio-json
Apache License 2.0
godot-kotlin/godot-library/src/nativeCore/kotlin/godot/core/type/string/Validation.kt
utopia-rise
238,721,773
false
{"Kotlin": 655494, "Shell": 171}
package godot.core import godot.internal.type.nullSafe import kotlinx.cinterop.invoke /** Returns true if this string contains a valid float. */ fun String.isValidFloat(): Boolean = asGDString { nullSafe(Godot.gdnative.godot_string_is_valid_float)(it.value.ptr) } /** Returns true if this string contains a valid ...
17
Kotlin
17
286
8d51f614df62a97f16e800e6635ea39e7eb1fd62
1,664
godot-kotlin-native
MIT License
app/src/main/java/com/example/pettyplanet/adapters/HomeRecyclerAdapter.kt
shankarpriyank
443,486,579
false
{"Kotlin": 41528}
package com.example.pettyplanet.adapters import android.annotation.SuppressLint import android.os.Build import android.view.LayoutInflater import android.view.ViewGroup import androidx.annotation.RequiresApi import androidx.recyclerview.widget.DiffUtil import androidx.recyclerview.widget.ListAdapter import androidx.re...
0
Kotlin
1
2
bc069a841264c306833c1c7b64286b52942ae0eb
2,607
PettyPlanet
Freetype Project License
src/commonTest/kotlin/com/jillesvangurp/geojson/berlin-json.kt
jillesvangurp
5,648,298
false
{"Kotlin": 550427, "JavaScript": 6121, "HTML": 758, "Shell": 609}
package com.jillesvangurp.geojson val berlinGeoJson = """ { "type": "MultiPolygon", "coordinates": [ [ [ [13.088345, 52.4196325], [13.0902086, 52.4135513], [13.0902096, 52.4133864], [13.0901879, 52.4127306], [13...
0
Kotlin
24
126
1ccb29af6e033ca9784c1fe4339ba11d42fa7bf4
245,115
geogeometry
MIT License
app/src/main/java/com/tails/gram/escapeofgram/ui/RankingActivity.kt
DSM-GRAM
156,665,607
false
null
package com.tails.gram.escapeofgram.ui import android.os.Bundle import androidx.appcompat.app.AppCompatActivity import com.tails.gram.escapeofgram.R import com.tails.gram.escapeofgram.connect.RetrofitUtil import kotlinx.android.synthetic.main.activity_ranking.* import kotlinx.android.synthetic.main.ranking_item.* cla...
0
Kotlin
1
2
c3c53542f0d6f54266ab73f823ab5e78c58ce436
836
Escape-Of-Gram
MIT License
features/app/src/main/java/com/jlndev/facaseupedido/NewMainActivity.kt
john-lobo
706,271,485
false
{"Kotlin": 183251}
package com.jlndev.facaseupedido import android.os.Bundle import androidx.appcompat.app.AppCompatActivity import androidx.navigation.NavController import androidx.navigation.findNavController import androidx.navigation.ui.AppBarConfiguration import androidx.navigation.ui.setupActionBarWithNavController import androidx...
0
Kotlin
0
0
7473fb3cd2c9f3ff10b30fbd263344397cb5ef4c
2,565
faca-seu-pedido
MIT License
infrastructure/src/main/kotlin/nl/vintik/sample/infra/InfrastructureApp.kt
elenavanengelenmaslova
576,216,690
false
{"Kotlin": 32233}
package nl.vintik.sample.infra import software.amazon.awscdk.App import software.amazon.awscdk.Environment import software.amazon.awscdk.StackProps fun main() { val app = App() val environment = Environment.builder() .account(System.getenv("DEPLOY_TARGET_ACCOUNT")) .region(System.getenv("DEPL...
0
Kotlin
0
1
092aec6b745157caac4fdd8b581cbac136f7f55d
3,059
kotlin-lambda-example-snapstart
MIT License
src/test/kotlin/io/github/sapientpants/structurizr/macros/UtilsTest.kt
fossabot
200,343,895
true
{"Kotlin": 22933}
package io.github.sapientpants.structurizr.macros import org.junit.jupiter.api.Assertions.assertEquals import org.junit.jupiter.api.Test class UtilsTest { @Test fun `keyifying "My spec14l kEy" should equal "my_spec14l_key"`() { assertEquals("my-spec14l-key", Utils.keyify("My spec14l kEy")) } }
0
Kotlin
0
0
6b7e58aba0a1348ea2064ce4192595c701f86ae2
316
structurizr-macros
MIT License
src/test/kotlin/no/nav/syfo/services/Duplikatsjekk.kt
navikt
146,593,683
false
null
package no.nav.syfo.services import io.kotest.core.spec.style.FunSpec import no.nav.helse.infotrygd.foresp.InfotrygdForesp import no.nav.helse.infotrygd.foresp.StatusType import no.nav.helse.infotrygd.foresp.TypeSMinfo import no.nav.helse.sm2013.CS import no.nav.helse.sm2013.HelseOpplysningerArbeidsuforhet import no.n...
1
Kotlin
0
0
ee107ae72aac3407100d052ce270fbf5cb05cb87
4,162
syfosminfotrygd
MIT License
webApp/src/jsMain/kotlin/project/JSUserProjectList.kt
mutualmobile
495,292,087
false
null
package project import com.mutualmobile.harvestKmp.datamodel.* import com.mutualmobile.harvestKmp.domain.model.response.ApiResponse import com.mutualmobile.harvestKmp.domain.model.response.OrgProjectResponse import com.mutualmobile.harvestKmp.features.datamodels.userProjectDataModels.GetUserAssignedProjectsDataModel i...
0
Kotlin
4
41
763dd7f45f8271cebe9107c63f3532e1b14c666f
3,287
HarvestTimeKMP
Apache License 2.0
neo4j3/src/main/kotlin/com/arcadeanalytics/provider/neo4j3/Neo4jIdUtils.kt
ArcadeData
170,271,274
false
null
/*- * #%L * Arcade Connectors * %% * Copyright (C) 2018 - 2021 ArcadeData * %% * 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 * ...
9
null
4
6
731917fa365abc6112c70d464baa40841382e0f8
2,360
arcade-connectors
Apache License 2.0
core/src/main/java/knaufdan/android/core/calendar/alias/Hour.kt
DanielKnauf
219,150,024
false
null
package knaufdan.android.core.calendar.alias typealias Hour = Int
0
Kotlin
0
2
62ede8066096bb0e3c8a5eada577ccdae2df0d0f
67
ArchServices
Apache License 2.0
headifier-paper/src/main/kotlin/de/miraculixx/headifier/utils/gui/logic/SettingsGUI.kt
MiraculixxT
568,144,677
false
{"Kotlin": 60500}
package de.miraculixx.webServer.utils.gui.logic import de.miraculixx.kpaper.items.itemStack import de.miraculixx.kpaper.items.meta import de.miraculixx.webServer.utils.gui.logic.data.InventoryManager import de.miraculixx.webServer.utils.gui.logic.items.ItemProvider import de.miraculixx.webServer.utils.* import de.mira...
0
Kotlin
0
2
ba8166d198ca6fa12532cd14193b59cc6843de9f
3,107
Headifier
MIT License
app/src/androidTest/java/net/skyscanner/backpack/button/BpkButtonLinkTest.kt
Skyscanner
117,813,847
false
null
/** * Backpack for Android - Skyscanner's Design System * * Copyright 2018-2021 Skyscanner Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LI...
30
null
23
58
e5e6eeac33b11eaf6687e0a20589d4d12a07e33e
2,750
backpack-android
Apache License 2.0
day03/src/com/itcat/day02/25.运算符重载.kt
weibo1987
133,453,597
false
{"Text": 1, "Markdown": 9, "Kotlin": 72, "Java": 8}
package com.itcat.day02.haha /** * ClassName:`25.运算符重载` * kotlin里面每一个运算符对应的都是一个方法 运算符相当于是方法的简写 * 第一步:找到对应的函数 * 第二步:函数前加上operator */ fun main(args: Array<String>) { var a = 10 var b = 20 a.plus(b) val girl1 = Girl() val girl2 = Girl() girl2.name = "王五" val newGirl = girl1 + girl2 ...
1
null
1
1
6f5b99a51f2acb0c38d8d63191ff9eb1c89a0244
688
BlockChain-1
MIT License
app/src/main/java/io/benic/shoppinglist/view/ShoppingCartFragment.kt
BBenicio
325,425,619
false
null
package io.benic.shoppinglist.view import android.os.Bundle import android.os.Handler import android.util.Log import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.core.os.bundleOf import androidx.fragment.app.Fragment import androidx.fragment.app.viewModels import a...
0
Kotlin
0
0
f1ee39e0ef2e61c0a78066483918c51a15d9223f
4,725
shoppinglist
MIT License
src/main/kotlin/lonefox/muhcannons/blocks/MediumCannonBarrelBlock.kt
OneLoneFox
817,477,001
false
{"Kotlin": 38656, "Java": 6651}
package lonefox.muhcannons.blocks import net.minecraft.block.BlockState import net.minecraft.block.ShapeContext import net.minecraft.util.math.BlockPos import net.minecraft.util.math.Direction import net.minecraft.util.shape.VoxelShape import net.minecraft.util.shape.VoxelShapes import net.minecraft.world.BlockView c...
0
Kotlin
0
0
330fcb6896fa3ac6389e638f2925bd732ce01ef9
931
muh-cannons
Creative Commons Zero v1.0 Universal
compiler/testData/codegen/bytecodeText/inline/inlineSuspendReifiedNoSpilling.kt
JetBrains
3,432,266
false
{"Kotlin": 79416037, "Java": 6924539, "Swift": 4063829, "C": 2609780, "C++": 1953689, "Objective-C++": 175289, "JavaScript": 130738, "Python": 59811, "Shell": 32949, "Objective-C": 21463, "Lex": 21452, "Batchfile": 11382, "CSS": 11368, "Ruby": 10470, "Dockerfile": 9907, "Groovy": 7092, "EJS": 5241, "CMake": 4473, "HTML...
interface ApplicationCall interface AuthenticationService { suspend fun execute(request: Any): Any } suspend fun dummy() = Any() suspend inline fun <reified Type : Any> ApplicationCall.receiveJSON(): Type { return dummy() as Type } suspend inline fun ApplicationCall.respond(message: Any) { } suspend fun Ap...
179
Kotlin
5771
48,889
c46c3c26038158cf80a739431ac8807ac4bbbc0c
762
kotlin
Apache License 2.0
uicorek/src/main/java/com/mozhimen/uicorek/layoutk/commons/ILayoutK.kt
mozhimen
353,952,154
false
null
package com.mozhimen.uicorek.layoutk.commons import android.util.AttributeSet /** * @ClassName ILayoutK * @Description TODO * @Author mozhimen / <NAME> * @Date 2022/4/15 16:34 * @Version 1.0 */ interface ILayoutK { fun initFlag(){} fun initAttrs(attrs: AttributeSet?, defStyleAttr: Int){} fun initVie...
0
Kotlin
0
2
0b6d7642b1bd7c697d9107c4135c1f2592d4b9d5
327
SwiftKit
Apache License 2.0
src/main/kotlin/hiiragi283/ragium/common/recipe/HTRecipeInput.kt
Hiiragi283
857,262,963
false
{"Kotlin": 169358}
package hiiragi283.ragium.common.recipe import hiiragi283.ragium.common.Ragium import net.minecraft.item.ItemStack import net.minecraft.recipe.input.RecipeInput class HTRecipeInput(private val list: List<ItemStack>) : RecipeInput { constructor(builderAction: MutableList<ItemStack>.() -> Unit) : this(buildList(bu...
0
Kotlin
0
0
c61ef613a93d4b14a5682c006bb023d2b3504233
1,146
ragium
Creative Commons Zero v1.0 Universal
app/src/main/java/com/fudie/core/screens/ingredient/components/TopBarIngredientsScreen.kt
jerimkaura
575,501,780
false
null
package com.fudie.core.screens.ingredient.components import androidx.compose.foundation.isSystemInDarkTheme import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.padding import androidx.compose.material3.* import androidx.compose.runtime.Composable import androidx.compose.ui.Modifi...
4
Kotlin
2
8
49b2e3efda674d66853ff8211d718e5b0271c4e6
1,389
Fudie
The Unlicense
src/main/kotlin/org/lasantha/fxplanets/service/EntityService.kt
lasanthak
684,209,949
false
{"Kotlin": 38436, "Java": 195}
package org.lasantha.fxplanets.service import org.lasantha.fxplanets.model.EllipticalPath import org.lasantha.fxplanets.model.Entity import org.lasantha.fxplanets.model.EntityCategory import org.lasantha.fxplanets.model.Game import org.lasantha.fxplanets.model.LRUDControlPath import org.lasantha.fxplanets.model.Linear...
0
Kotlin
0
1
dcdf556aaae7e8d5cc7399406ee2f9cd4d1f8a81
3,600
fxplanets
MIT License
app/src/main/java/com/erkindilekci/valorantsphere/util/navigation/NavGraph.kt
erkindilekci
677,283,713
false
null
package com.erkindilekci.valorantsphere.util.navigation import androidx.compose.runtime.Composable import androidx.navigation.compose.NavHost import androidx.navigation.compose.composable import androidx.navigation.compose.rememberNavController import com.erkindilekci.valorantsphere.presentation.screens.agentdetailssc...
0
Kotlin
0
0
227a81bda2f8b6af01ba2081941d557d88e73ff0
1,665
ValorantSphere
Apache License 2.0
src/main/kotlin/br/com/lucascm/mangaeasy/micro_api_monolito/features/banners/repositories/BannersRepository.kt
manga-easy
627,169,031
false
{"Kotlin": 121611, "Dockerfile": 387}
package br.com.lucascm.mangaeasy.micro_api_monolito.features.banners.repositories import br.com.lucascm.mangaeasy.micro_api_monolito.features.banners.entities.BannersEntity import org.springframework.data.jpa.repository.JpaRepository import org.springframework.stereotype.Repository @Repository interface BannersRepos...
0
Kotlin
1
3
3ce62302368213c601cdbd66a98fe8234178a78b
413
manga_easy_micro_api_monolito
MIT License
app/src/main/kotlin/org/goodmath/chalumier/design/Profile.kt
MarkChuCarroll
758,511,874
false
{"Kotlin": 536522}
/* * Copyright 2024 <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 wr...
0
Kotlin
0
1
494c836ef23d82a91b547a6251e01e80acd8655a
17,250
chalumier
Apache License 2.0
server/src/test/kotlin/com/salastroya/bgserver/BGServerApplicationTests.kt
adrisalas
780,369,375
false
{"Kotlin": 344780, "TypeScript": 81133, "HTML": 44607, "CSS": 5704}
package com.salastroya.bgserver import org.junit.jupiter.api.Test import org.springframework.boot.test.context.SpringBootTest @SpringBootTest class BGServerApplicationTests { @Test fun contextLoads() { } }
0
Kotlin
0
0
afd41380db03e474bfb5650555f4831a7198852f
222
botanic-garden
MIT License
SharedCodeClient/src/commonMain/kotlin/com/jarroyo/sharedcodeclient/di/KodeinInjector.kt
jarroyoesp
345,142,032
false
null
package com.jarroyo.sharedcodeclient.di import com.jarroyo.sharedcodeclient.data.repository.AnimalRepository import com.jarroyo.sharedcodeclient.data.source.AnimalApi import com.jarroyo.sharedcodeclient.data.source.NetworkDataSource import com.jarroyo.sharedcodeclient.data.source.NetworkDataSourceImpl import com.jarro...
0
Kotlin
0
0
d82dcd8c96e6a6aa3317e3c8ab0263f105293382
920
android-dev-challenge-compose
Apache License 2.0
src/main/kotlin/no/nav/sifinnsynapi/soknad/SøknadService.kt
navikt
403,882,902
false
{"Kotlin": 320604, "Handlebars": 42961, "Dockerfile": 893, "Shell": 259}
package no.nav.sifinnsynapi.soknad import no.nav.k9.innsyn.Søknadsammenslåer import no.nav.k9.søknad.JsonUtils import no.nav.k9.søknad.Søknad import no.nav.sifinnsynapi.legacy.legacyinnsynapi.LegacyInnsynApiService import no.nav.sifinnsynapi.legacy.legacyinnsynapi.LegacySøknadstype import no.nav.sifinnsynapi.legacy.le...
2
Kotlin
0
0
a9fef67702cc14481e32b3e9f9ab91f03d79f6b3
6,219
k9-sak-innsyn-api
MIT License
framework/kotlin-simple-architecture-client/src/jsMain/kotlin/kim/jeonghyeon/auth/OAuthSignClientJs.kt
dss99911
138,060,985
false
{"Kotlin": 356216, "Swift": 24520, "Ruby": 6567, "Shell": 4020}
package kim.jeonghyeon.auth actual fun loadUrlInBrowser(url: String) { //todo } actual val platform: ClientPlatform = ClientPlatform.JS actual val packageName: String? = null
1
Kotlin
2
38
e9da57fdab9c9c1169fab422fac7432143e2c02c
182
kotlin-simple-architecture
Apache License 2.0
build-logic/convention/src/main/kotlin/com/zrcoding/convention/KotlinAndroid.kt
zouhir96
486,281,742
false
{"Kotlin": 149914}
package com.zrcoding.convention import com.android.build.api.dsl.CommonExtension import org.gradle.api.JavaVersion import org.gradle.api.Project import org.gradle.api.plugins.JavaPluginExtension import org.gradle.kotlin.dsl.configure import org.gradle.kotlin.dsl.dependencies import org.gradle.kotlin.dsl.provideDelegat...
0
Kotlin
1
23
eb8141ec276791234d9e9c6e6337a67a9278c5a0
2,878
hackertab-android
Apache License 2.0
core/src/commonMain/kotlin/com/symbiosis/sdk/network/contract/SynthFabricContract.kt
symbiosis-finance
473,611,783
false
{"Kotlin": 563820, "Swift": 5851, "Ruby": 1700}
package com.symbiosis.sdk.network.contract import com.soywiz.kbignum.BigInt import com.symbiosis.sdk.currency.Erc20Token import com.symbiosis.sdk.network.Network import com.symbiosis.sdk.network.contract.abi.fabricContractAbi import dev.icerock.moko.web3.ContractAddress import dev.icerock.moko.web3.Web3Executor import...
0
Kotlin
2
4
e8b1c424c62a847a5339039864223e65fdb2cbae
2,910
mobile-sdk
Apache License 2.0
src/kotlin-intellij/main/uk/co/reecedunn/intellij/plugin/core/xml/psi/Axes.kt
rhdunn
62,201,764
false
{"Kotlin": 8262637, "XQuery": 996770, "HTML": 39377, "XSLT": 6853}
/* * Copyright (C) 2020-2021 <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 ...
49
Kotlin
9
25
d8d460d31334e8b2376a22f3832a20b2845bacab
1,901
xquery-intellij-plugin
Apache License 2.0
common/src/main/kotlin/de/hpi/cloud/common/Service.kt
HPI-de
194,048,022
false
null
package de.hpi.cloud.common import com.couchbase.client.java.Bucket import com.couchbase.client.java.CouchbaseCluster import com.google.protobuf.GeneratedMessageV3 import de.hpi.cloud.common.couchbase.openCouchbase import de.hpi.cloud.common.entity.Id import de.hpi.cloud.common.grpc.preferredLocales import io.grpc.* ...
31
Kotlin
0
0
a505dac612b55b0c339dd7bb526e18509921bc89
3,891
hpi-cloud
Apache License 2.0