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
idea/tests/testData/inspectionsLocal/simpleRedundantLet/letWithBinaryExpression.kt
JetBrains
278,369,660
false
null
// PROBLEM: none // WITH_RUNTIME fun foo() { "".let<caret> { it.length + 1 } }
0
Kotlin
30
82
cc81d7505bc3e9ad503d706998ae8026c067e838
84
intellij-kotlin
Apache License 2.0
libraries/design/src/main/java/com/fappslab/mbchallenge/libraries/design/theme/tokens/Color.kt
F4bioo
845,138,188
false
{"Kotlin": 242545}
package com.fappslab.mbchallenge.libraries.design.theme.tokens import androidx.compose.ui.graphics.Color // -=-=-= Light Start =-=-=- val primaryLight = Color(0xFF415F91) val onPrimaryLight = Color(0xFFFFFFFF) val primaryContainerLight = Color(0xFFCBE6FF) val onPrimaryContainerLight = Color(0xFF001E30) val secondaryL...
0
Kotlin
0
0
d81eff4b566578b5dc8596b7cbfcfb2e12e652b6
11,578
MBChallenge
MIT License
zpack/src/main/java/io/github/achmadhafid/zpack/extension/Flow.kt
AchmadHafid
194,087,291
false
null
package io.github.achmadhafid.zpack.extension import androidx.appcompat.app.AppCompatActivity import androidx.fragment.app.Fragment import androidx.lifecycle.Lifecycle import androidx.lifecycle.lifecycleScope import androidx.lifecycle.repeatOnLifecycle import kotlinx.coroutines.CoroutineScope import kotlinx.coroutines...
0
Kotlin
0
2
72032ba6444e6fd840e177e918454e613d499099
3,812
Zpack
Apache License 2.0
projects/fabric/src/main/kotlin/site/siredvin/peripheralworks/integrations/create/Integration.kt
SirEdvin
489,471,520
false
{"Kotlin": 642700, "Java": 4072}
package site.siredvin.peripheralworks.integrations.create import com.simibubi.create.content.contraptions.piston.LinearActuatorBlockEntity import com.simibubi.create.content.processing.burner.BlazeBurnerBlockEntity import com.simibubi.create.foundation.blockEntity.SmartBlockEntity import com.simibubi.create.foundation...
6
Kotlin
3
9
5cac34bb70130ee20f64de77732b0f57237ffa8f
3,743
UnlimitedPeripheralWorks
MIT License
src/main/kotlin/dev/mcenv/mcx/debug/Rcon.kt
mcenv
721,052,595
false
{"Kotlin": 276346, "TypeScript": 2048, "JavaScript": 863}
package dev.mcenv.mcx.debug import kotlinx.coroutines.* import java.io.InputStream import java.io.OutputStream import java.net.ConnectException import java.net.Socket import java.nio.ByteBuffer import java.nio.ByteOrder import java.security.SecureRandom import java.util.concurrent.atomic.AtomicInteger import kotlin.ti...
81
Kotlin
0
5
2f6bdf83719edbc5bd45b60d82589cf88f68a982
5,069
mcx
MIT License
app/src/main/java/com/alyndroid/decadeofmovies/domain/di/modules/NetworkModule.kt
Alinasser96
348,125,632
false
null
package com.alyndroid.decadeofmovies.domain.di.modules import com.alyndroid.coroutinestutorialstest.ApiInterface import com.alyndroid.decadeofmovies.data.remote.ApiHelper import com.alyndroid.decadeofmovies.data.remote.ApiHelperImpl import com.alyndroid.decadeofmovies.util.BASE_URL import dagger.Module import dagger.P...
0
Kotlin
1
1
8d2a7477f199840e8d880c1d682ae1d0d3bba585
1,083
DecadeOfMovies
The Unlicense
vector/src/main/java/fr/gouv/tchap/sdk/rest/model/UsersInfoParams.kt
dinsic-pim
116,960,197
false
null
/* * Copyright 2020 New Vector Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
84
null
28
146
53a545a0d97b201cfab899713ff0a5f89ce0bfbd
806
tchap-android
Apache License 2.0
app/src/main/java/com/bluehub/mixi/common/views/FileWaveViewWidget.kt
ashfaq1701
275,871,797
false
null
package com.bluehub.mixi.common.views import android.annotation.SuppressLint import android.content.Context import android.content.res.ColorStateList import android.util.AttributeSet import android.view.* import android.widget.HorizontalScrollView import android.widget.PopupMenu import androidx.appcompat.content.res.A...
0
null
9
48
dc9b650d8a07afb9da27057aa1336482b83e2010
14,579
fast-mixer
Creative Commons Zero v1.0 Universal
app/src/main/java/ir/ahfz/rentcar/ui/LogoFragment.kt
AHFZ
204,262,454
false
null
package ir.ahfz.rentcar.ui import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.fragment.app.Fragment import ir.ahfz.rentcar.R import kotlinx.android.synthetic.main.activity_login.* class LogoFragment : Fragment() { override fun onCreat...
1
null
1
1
a37db2f69b31eb4def8338f375015508d274a8b4
517
RentCarAndroidClient
MIT License
frogorecyclerview/src/main/java/com/frogobox/recycler/core/FrogoViewAdapter.kt
amirisback
229,149,549
false
null
package com.frogobox.recycler.core import android.util.Log import android.view.View import android.view.ViewGroup /* * Created by Faisal Amir * ========================================= * FrogoRecyclerViewAdapter * Copyright (C) 14/04/2020. * All rights reserved * -----------------------------------------...
1
null
16
99
0554af5591bb2a812b44e6df1faeedcccf2c50ce
1,605
frogo-recycler-view
Apache License 2.0
jlink-gradle/src/main/kotlin/com/ryandens/jlink/JlinkAwareStartScriptGenerator.kt
ryandens
538,010,117
false
null
package com.ryandens.jlink import org.gradle.api.internal.plugins.DefaultTemplateBasedStartScriptGenerator import org.gradle.api.internal.plugins.StartScriptTemplateBindingFactory import org.gradle.util.internal.TextUtil class JlinkAwareStartScriptGenerator : DefaultTemplateBasedStartScriptGenerator( TextUtil.get...
2
null
3
7
9f46742af54380bf310b69843bb6c2d6fa78cd91
482
jlink-gradle-plugin
Apache License 2.0
weibo/src/main/java/com/github/moqi/faker/weibo/ui/MessageFragment.kt
moqi-Git
182,109,822
false
null
package com.github.moqi.faker.weibo.ui import android.os.Bundle import android.view.View import androidx.fragment.app.Fragment import androidx.fragment.app.FragmentPagerAdapter import com.github.moqi.faker.R import com.github.moqi.faker.weibo.ui.base.BaseFragment import kotlinx.android.synthetic.main.fragment_weibo_me...
0
Kotlin
0
0
82246ff5982a75047acb980381713c7d7290323a
1,247
AndFaker
Apache License 2.0
app/src/main/java/app/krunal3kapadiya/facts/network/NetworkModule.kt
krunal3kapadiya
226,319,579
false
null
package app.krunal3kapadiya.facts.network import app.krunal3kapadiya.facts.BuildConfig import io.reactivex.schedulers.Schedulers import retrofit2.Retrofit import retrofit2.adapter.rxjava2.RxJava2CallAdapterFactory import retrofit2.converter.gson.GsonConverterFactory /** * @author <NAME> * @link https://krunal3kapad...
0
Kotlin
0
1
8e6b3c75fa7d5ed09ac6fa4f1a50658b5664d20a
770
Facts
Apache License 2.0
db-memory/src/main/kotlin/edgn/lightdb/memory/internal/utils/MemoryMeta.kt
OpenEdgn
425,215,099
false
{"Kotlin": 105687, "Java": 1585}
package edgn.lightdb.memory.internal.utils import edgn.lightdb.api.DestroyException import edgn.lightdb.memory.MemoryMetaData import java.util.Optional import java.util.concurrent.TimeUnit import java.util.concurrent.atomic.AtomicLong /** * 内存LightDB相关配置 */ class MemoryMeta(private val name: String) : MemoryMetaDat...
0
Kotlin
0
0
6047397505900e7276d18ab36eff709863c75db6
2,099
LightDB
MIT License
src/main/kotlin/org/piecesapp/client/apis/WebsiteApi.kt
pieces-app
726,212,140
false
null
/** * Pieces Isomorphic OpenAPI * Endpoints for Assets, Formats, Users, Asset, Format, User. * * The version of the OpenAPI document: 1.0 * Contact: <EMAIL> * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */...
5
null
2
6
26fbd58376e3cfca5ddcfe3d22a9e412425e12b4
22,371
pieces-os-client-sdk-for-kotlin
MIT License
src/main/kotlin/br/com/zup/client/bcb/model/BCBOwner.kt
HarissonNascimento
358,258,422
true
{"Kotlin": 82568, "Dockerfile": 201}
package br.com.zup.client.bcb.model import br.com.zup.client.bcb.model.request.enums.BCBOwnerType data class BCBOwner( val type: BCBOwnerType, val name: String, val taxIdNumber: String )
0
Kotlin
0
0
32ed45ce01d46e5ab1e0cc327b3fc4c3bfc7291c
201
orange-talents-02-template-pix-keymanager-grpc
Apache License 2.0
java-agent/src/nativeMain/kotlin/com/epam/drill/agent/jvmti/event/VmInitEvent.kt
Drill4J
240,284,351
false
null
/** * Copyright 2020 - 2022 EPAM Systems * * 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 agree...
3
Kotlin
1
6
d8deffaab6279665eb5b13e3a345e3ed22295773
3,477
java-agent
Apache License 2.0
src/main/kotlin/com/hbk619/intellisay/MainApp.kt
hbk619
762,230,623
false
{"Kotlin": 57407}
package com.hbk619.intellisay import com.hbk619.intellisay.caret.CaretMoveListener import com.hbk619.intellisay.sound.sayText import com.hbk619.intellisay.sound.validateVoiceOver import com.intellij.ide.AppLifecycleListener import com.intellij.openapi.Disposable import com.intellij.openapi.diagnostic.Logger import com...
0
Kotlin
0
0
3c3d6a9f2f39bf572fa6f86a02c958242c002dd6
987
intellisay
MIT License
sample/shared_code/src/commonMain/kotlin/com/freeletics/flowredux/sample/shared/GithubRepository.kt
posix-dev
275,102,921
true
{"Kotlin": 95429, "Shell": 119}
package com.freeletics.flowredux.sample.shared import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable /** * A github repository */ @Serializable data class GithubRepository( @SerialName("id") val id: String, @SerialName("name") val name: String, @SerialName("stargazers_count"...
0
null
0
0
f55a28988212b9bae00b532c5830ac5ea61b5238
349
FlowRedux
Apache License 2.0
test-suite-kotlin-ksp/src/test/kotlin/io/micronaut/docs/config/value/VehicleSpec.kt
micronaut-projects
124,230,204
false
null
package io.micronaut.docs.config.value import io.kotest.matchers.shouldBe import io.kotest.core.spec.style.StringSpec import io.micronaut.context.ApplicationContext import io.micronaut.context.DefaultApplicationContext import io.micronaut.context.env.PropertySource import org.codehaus.groovy.runtime.DefaultGroovyMetho...
753
null
1061
6,059
c9144646b31b23bd3c4150dec8ddd519947e55cf
1,364
micronaut-core
Apache License 2.0
src/main/kotlin/io/perracodex/exposed/pagination/PageableRequest.kt
perracodex
861,064,583
false
{"Kotlin": 37023}
/* * Copyright (c) 2024-Present Perracodex. Use of this source code is governed by an MIT license. */ package io.perracodex.exposed.pagination import io.ktor.http.* import io.ktor.server.application.* import io.perracodex.exposed.utils.SortParameterParser /** * Creates a [Pageable] instance by extracting paginati...
0
Kotlin
0
0
e14ecc5c717a634e9885a56f471c35e23a785334
3,500
exposed-pagination
MIT License
protocol/osrs-226/osrs-226-desktop/src/main/kotlin/net/rsprot/protocol/game/incoming/codec/misc/user/UpdatePlayerModelDecoderV1.kt
blurite
771,753,685
false
{"Kotlin": 11331205}
package net.rsprot.protocol.game.incoming.codec.misc.user import net.rsprot.buffer.JagByteBuf import net.rsprot.protocol.ClientProt import net.rsprot.protocol.game.incoming.misc.user.UpdatePlayerModelV1 import net.rsprot.protocol.game.incoming.prot.GameClientProt import net.rsprot.protocol.message.codec.MessageDecoder...
4
Kotlin
6
27
9b1573071d281e6ef5ac9094411f2a18a65b2290
1,016
rsprot
MIT License
app/src/test/kotlin/com/akinci/chatter/ui/MessagingViewModelTest.kt
AttilaAKINCI
353,730,900
false
{"Kotlin": 193030}
package com.akinci.chatter.ui import androidx.lifecycle.SavedStateHandle import app.cash.turbine.test import com.akinci.chatter.core.coroutine.MainDispatcherRule import com.akinci.chatter.core.coroutine.TestContextProvider import com.akinci.chatter.data.exception.UserNotFound import com.akinci.chatter.domain.ChatSimul...
0
Kotlin
0
0
22fcbbc4b5ec2f98094ea89d52d2e9baa05ca7e6
5,567
ChatterAI
Apache License 2.0
backend/scheduler/src/test/kotlin/ru/itmo/hict/scheduler/SchedulerApplicationTests.kt
AlexandrSinitsyn
739,110,646
false
{"Kotlin": 229528, "Vue": 50994, "TypeScript": 19979, "Dockerfile": 9102, "SCSS": 4555, "PLpgSQL": 2489, "JavaScript": 883, "HTML": 376}
package ru.itmo.hict.scheduler import org.junit.jupiter.api.Test import org.springframework.boot.test.context.SpringBootTest @SpringBootTest class SchedulerApplicationTests { @Test fun contextLoads() { } }
0
Kotlin
0
0
382d9ba7d72eb1bc7fdb37f0e37c695a23e9da6c
213
hict-platform
MIT License
app/src/main/java/com/gloryfootwarefsm/features/orderList/model/OrderListResponseModel.kt
DebashisINT
608,204,106
false
null
package com.gloryfootwarefsm.features.orderList.model import com.gloryfootwarefsm.base.BaseResponse /** * Created by Saikat on 01-10-2018. */ class OrderListResponseModel : BaseResponse() { var order_list: List<OrderListDataModel>? = null }
0
Kotlin
0
0
639d492a5f6e33c77f397a7ad52a34545519c37b
248
GloryFootware
Apache License 2.0
JKodiWrapper/src/main/java/com/cf/jkodiwrapper/types/application/ApplicationPropertyValue.kt
cfe86
172,903,714
false
{"Kotlin": 548780}
package com.cf.jkodiwrapper.types.application import com.fasterxml.jackson.annotation.JsonIgnoreProperties @JsonIgnoreProperties(ignoreUnknown = true) data class ApplicationPropertyValue(var muted: Boolean = false, var name: String = "", var vers...
0
Kotlin
0
0
58a62f9cd275dd70eb0e054b1a959a6a8aec02b5
410
JKodiWrapper
MIT License
z2-lib/src/commonMain/kotlin/hu/simplexion/z2/adaptive/field/text/TextField.kt
spxbhuhb
665,463,766
false
{"Kotlin": 1492824, "CSS": 166164, "Java": 9167, "HTML": 1560, "JavaScript": 975}
package hu.simplexion.z2.adaptive.field.text import hu.simplexion.z2.adaptive.field.AdaptiveField import hu.simplexion.z2.adaptive.field.FieldConfig import hu.simplexion.z2.adaptive.field.FieldState import hu.simplexion.z2.adaptive.field.FieldValue import hu.simplexion.z2.schematic.Schematic import hu.simplexion.z2.sc...
5
Kotlin
0
1
cb3effbcd9f086977150bd5b58fb7e7f14ae94ac
644
z2
Apache License 2.0
runtime/protocol/http-client/common/test/aws/smithy/kotlin/runtime/http/interceptors/ResponseLengthValidationInterceptorTest.kt
awslabs
294,823,838
false
null
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ package aws.smithy.kotlin.runtime.http.interceptors import aws.smithy.kotlin.runtime.http.* import aws.smithy.kotlin.runtime.http.operation.* import aws.smithy.kotlin.runtime.http.request.HttpRequestBuil...
30
Kotlin
16
29
9f3ea3ca2e545f791fa148cf9844b28b44536aa9
5,972
smithy-kotlin
Apache License 2.0
src/main/kotlin/no/nav/fo/veilarbregistrering/oppfolging/Oppfolgingsstatus.kt
navikt
131,013,336
false
null
package no.nav.fo.veilarbregistrering.oppfolging import no.nav.fo.veilarbregistrering.arbeidssoker.Formidlingsgruppe data class Oppfolgingsstatus( val isUnderOppfolging: Boolean, val kanReaktiveres: Boolean? = null, val erSykmeldtMedArbeidsgiver: Boolean? = null, val formidlingsgruppe: Formidlingsgrup...
8
null
5
6
68dabd12cfa5af1eb0a3af33fd422a3e755ad433
430
veilarbregistrering
MIT License
src/main/kotlin/com/keygenqt/patterns/pattern/creational/factory_method/BasketEurope.kt
keygenqt
358,650,463
false
null
package com.keygenqt.patterns.pattern.creational.factory_method class BasketEurope(price: Double) : Basket(price) { override fun getCurrency(): Currency { return CurrencyEUR() } }
0
Kotlin
2
1
8326b6ee0e7b1ab27be39f8ee3d0a8a014bad5d3
196
skill-patterns
Apache License 2.0
sisterhood-core/src/commonMain/kotlin/sisterhood/infrastructure/sqldelight/SqliteDriverFactory.kt
trinity-library
821,523,435
false
{"Kotlin": 49468, "JavaScript": 21486}
package sisterhood.infrastructure.sqldelight import app.cash.sqldelight.db.SqlDriver expect class SqliteDriverFactory { fun create(): SqlDriver }
0
Kotlin
0
0
538470b8dfceb920ab6b3546ea144382fd6d5d90
152
sisterhood
MIT License
src/main/kotlin/org/vitrivr/cottontail/evaluation/datasets/YandexDeep1BIterator.kt
ppanopticon
511,841,537
false
{"Kotlin": 154364}
package org.vitrivr.cottontail.evaluation.datasets import java.nio.ByteBuffer import java.nio.ByteOrder import java.nio.channels.SeekableByteChannel import java.nio.file.Files import java.nio.file.Path import java.nio.file.StandardOpenOption /** * A [DatasetIterator] to read Yandex Deep 1B data files. * * @author ...
0
Kotlin
0
0
e9f67ee385270909e6cccbd569fde27570f235ee
2,577
cottontaildb-evaluation
MIT License
common-ui-view/src/main/java/app/tivi/extensions/MotionLayoutExtensions.kt
grvgoel81
272,160,037
false
{"Gradle": 32, "YAML": 10, "Shell": 6, "Java Properties": 3, "Markdown": 5, "Text": 9, "Ignore List": 2, "Batchfile": 1, "XML": 195, "Kotlin": 413, "Java": 7, "JSON": 35, "INI": 1, "Proguard": 1, "Gradle Kotlin DSL": 1, "Dockerfile": 2}
/* * Copyright 2019 Google LLC * * 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 i...
1
null
1
1
f9a8bed638a448afdb272b8a20b9cc6d365bd627
3,015
tivi
Apache License 2.0
common-ui-view/src/main/java/app/tivi/extensions/MotionLayoutExtensions.kt
grvgoel81
272,160,037
false
{"Gradle": 32, "YAML": 10, "Shell": 6, "Java Properties": 3, "Markdown": 5, "Text": 9, "Ignore List": 2, "Batchfile": 1, "XML": 195, "Kotlin": 413, "Java": 7, "JSON": 35, "INI": 1, "Proguard": 1, "Gradle Kotlin DSL": 1, "Dockerfile": 2}
/* * Copyright 2019 Google LLC * * 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 i...
1
null
1
1
f9a8bed638a448afdb272b8a20b9cc6d365bd627
3,015
tivi
Apache License 2.0
scientific/src/commonMain/kotlin/converter/weight/convertToForce.kt
splendo
191,371,940
false
null
/* Copyright 2022 Splendo Consulting B.V. The Netherlands 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 appli...
76
Kotlin
6
197
a41a5ba07af00dce140b2e1a9b0c73d969360f8d
5,045
kaluga
Apache License 2.0
plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/filterIndexedTo.kt
ingokegel
72,937,917
true
null
// WITH_STDLIB fun test(list: List<Int>) { val filterIndexedTo: MutableList<Int> = list.<caret>filter { it > 1 }.filterIndexedTo(mutableListOf()) { index, it -> true } }
1
null
1
2
b07eabd319ad5b591373d63c8f502761c2b2dfe8
175
intellij-community
Apache License 2.0
partiql-lang/src/main/kotlin/org/partiql/lang/eval/time/TimeExtensions.kt
partiql
186,474,394
false
null
package org.partiql.lang.util import org.partiql.lang.errors.ErrorCode import org.partiql.lang.eval.time.SECONDS_PER_HOUR import org.partiql.lang.eval.time.SECONDS_PER_MINUTE import java.time.ZoneOffset import kotlin.math.absoluteValue // These are used to validate the generic format of the time string. // The more i...
306
null
61
539
306ec7c1dc143660d6d861cc9626cbc3ac444ec6
2,148
partiql-lang-kotlin
Apache License 2.0
Manga/app/src/main/java/nhdphuong/com/manga/analytics/AnalyticsPusher.kt
duyphuong5126
140,096,962
false
null
package nhdphuong.com.manga.analytics import android.content.Context import android.os.Bundle import com.google.firebase.analytics.FirebaseAnalytics import nhdphuong.com.manga.BuildConfig import nhdphuong.com.manga.Constants.Companion.PARAM_NAME_APP_VERSION_CODE import nhdphuong.com.manga.Constants.Companion.PARAM_NAM...
4
Kotlin
0
3
8cbd6b2246726944e8cde96be8a4124feabe1baf
1,769
H-Manga
Apache License 2.0
seed-spring/src/testFixtures/kotlin/pl/seed/mail/TestMailConfiguration.kt
marwoj
322,919,630
false
null
package pl.seed.mail import org.springframework.boot.test.context.TestConfiguration import org.springframework.context.annotation.Bean import org.springframework.context.annotation.Primary @TestConfiguration class TestMailConfiguration { @Bean @Primary fun emailService() = RecordingEmailService() }
0
Kotlin
1
5
16eea8802cdb171d66378d6d02afda580d38471e
314
seed-spring-vue-aws-ec2
MIT License
sykepenger-model/src/test/kotlin/no/nav/helse/person/SykmeldingsperioderBuilderTest.kt
navikt
193,907,367
false
null
package no.nav.helse.person import no.nav.helse.hendelser.til import no.nav.helse.januar import no.nav.helse.mars import no.nav.helse.serde.JsonBuilder import org.junit.jupiter.api.Assertions.assertEquals import org.junit.jupiter.api.Test internal class SykmeldingsperioderBuilderTest() { @Test fun `serialise...
0
Kotlin
3
4
22fe9640780c8c8c13165c2efb0dfc4d96ba9965
935
helse-spleis
MIT License
app/src/main/java/app/papes/presentation/photo_detail/PhotoDetailNavigation.kt
elias-ka
871,926,885
false
{"Kotlin": 47627}
package app.papes.presentation.photo_detail import android.net.Uri import android.os.Build import android.os.Bundle import androidx.navigation.NavController import androidx.navigation.NavGraphBuilder import androidx.navigation.NavOptions import androidx.navigation.NavType import androidx.navigation.compose.composable ...
0
Kotlin
0
0
1e57bc58e5fc565441886bea09a577c40ceda71c
1,759
Papes
MIT License
theme/src/main/java/com/test/paypaytest/theme/components/TextFields.kt
8106yogi
752,025,792
false
{"Kotlin": 32457}
package com.test.paypaytest.theme.components import androidx.annotation.StringRes import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.foundation.layout.height import androidx.compose.material3.LocalTextStyle import androidx.compose.material3.Surf...
0
Kotlin
0
0
21dc8069ac12f0071bd690be5f4fe4ae38049342
1,809
ComposeCurrencyConverter
MIT License
app/src/main/java/com/tans/tfiletransporter/ui/activity/filetransport/FileTransportActivity.kt
Tans5
329,625,887
false
{"Kotlin": 489222, "Java": 29868}
package com.tans.tfiletransporter.ui.activity.filetransport import android.content.Context import android.content.Intent import android.os.Environment import android.view.View import androidx.fragment.app.Fragment import com.google.android.material.appbar.AppBarLayout import com.google.android.material.tabs.TabLayout ...
3
Kotlin
9
80
8ac51fa32e84048da07b77a6167ecc59fd6b6e81
19,628
tFileTransporter
Apache License 2.0
app/src/main/java/com/tbdev/ringo/ui/dice/DiceRollerEditorScreen.kt
ferreira-tb
575,490,970
false
{"Kotlin": 186149}
package com.tbdev.ringo.ui.dice import androidx.compose.animation.AnimatedContent import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.foundation.text.KeyboardOptions import androidx.compose.material3.Button import androidx.compose.materia...
1
Kotlin
0
0
a545799e3d2b2e330165b7cdc8d0174252d17bb8
7,036
ringo
MIT License
welite-core/src/main/java/com/ealva/welite/db/expr/Op.kt
ealva-com
265,936,796
false
null
/* * Copyright 2020 eAlva.com * * 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...
0
Kotlin
0
3
7d9c5a82c289b04fad34ecc484e5fb3224f41699
9,681
welite
Apache License 2.0
core/design-system/src/main/java/com/goms/design_system/component/clickable/gomsClickable.kt
team-haribo
740,096,241
false
{"Kotlin": 621219}
package com.goms.design_system.component.clickable import androidx.compose.foundation.LocalIndication import androidx.compose.foundation.clickable import androidx.compose.foundation.interaction.MutableInteractionSource import androidx.compose.material.ripple.rememberRipple import androidx.compose.runtime.remember impo...
5
Kotlin
0
9
32b6b960f997e282a05c8409d6e045e6f95822d5
1,580
GOMS-Android-V2
MIT License
domain/tmdb/src/main/kotlin/com/flixclusive/domain/tmdb/FilmProviderUseCase.kt
rhenwinch
659,237,375
false
{"Kotlin": 1637525, "Java": 18011}
package com.flixclusive.domain.tmdb import com.flixclusive.core.util.common.resource.Resource import com.flixclusive.core.util.film.FilmType import com.flixclusive.data.tmdb.TMDBRepository import com.flixclusive.model.tmdb.Film import javax.inject.Inject class FilmProviderUseCase @Inject constructor( private val ...
26
Kotlin
22
264
5128cac1ac119e84a6725fd655eb0da427964c5f
627
Flixclusive
MIT License
app/src/main/java/com/example/playlistmaker/domain/db/impl/FavoriteTracksInteractorImpl.kt
AnShok
669,330,334
false
{"Kotlin": 152850}
package com.example.playlistmaker.domain.db.impl import com.example.playlistmaker.domain.db.FavoriteTracksInteractor import com.example.playlistmaker.domain.db.FavoriteTracksRepository import com.example.playlistmaker.domain.search.model.Track import kotlinx.coroutines.flow.Flow class FavoriteTracksInteractorImpl(pri...
0
Kotlin
0
0
0a5000b55536680ad64913d0fb4ff1c9e7d5ef89
929
PlaylistMaker
MIT License
app/src/main/java/com/capstone/Capstone2Project/repository/AuthRepositoryImpl.kt
JMS1208
594,071,509
false
{"Kotlin": 844774}
package com.capstone.Capstone2Project.repository import com.capstone.Capstone2Project.data.model.UserInfo import com.capstone.Capstone2Project.data.resource.Resource import com.capstone.Capstone2Project.network.service.MainService import com.capstone.Capstone2Project.utils.etc.Name.REQUEST_SUCCESS import com.capstone....
0
Kotlin
0
0
d4a52197796f97fc10da1391dfd1c2d893c0ed43
2,607
IntervuStella
MIT License
window/window/src/androidTest/java/androidx/window/layout/TranslatorTestInterface.kt
RikkaW
389,105,112
false
null
/* * 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
29
null
945
7
6d53f95e5d979366cf7935ad7f4f14f76a951ea5
1,150
androidx
Apache License 2.0
src/main/kotlin/mathlingua/frontend/chalktalk/phase2/ast/group/toplevel/shared/metadata/item/ResourceItem.kt
DominicKramer
203,428,613
false
null
/* * Copyright 2021 The MathLingua Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
4
null
0
67
c264bc61ac7d9e520018f2652b110c4829876c82
1,676
mathlingua
Apache License 2.0
src/main/kotlin/mathlingua/frontend/chalktalk/phase2/ast/group/toplevel/shared/metadata/item/ResourceItem.kt
DominicKramer
203,428,613
false
null
/* * Copyright 2021 The MathLingua Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
4
null
0
67
c264bc61ac7d9e520018f2652b110c4829876c82
1,676
mathlingua
Apache License 2.0
krefty-core/src/commonTest/kotlin/dev/ustits/krefty/predicate/maps/NotEmptyTest.kt
ustitc
410,678,793
false
null
package dev.ustits.krefty.predicate.maps import io.kotest.core.spec.style.StringSpec import io.kotest.matchers.shouldBe import io.kotest.property.Arb import io.kotest.property.arbitrary.map import io.kotest.property.arbitrary.string import io.kotest.property.forAll class NotEmptyTest : StringSpec({ "returns fals...
0
null
1
8
a0c6301bcf28154b59afcd14f32563ba40dd2993
683
krefty
MIT License
SS-W-Discord/src/main/kotlin/com/github/syari/ss/wplugins/discord/api/entity/Message.kt
SecondStoryServer
314,996,172
false
null
package com.github.syari.ss.wplugins.discord.api.entity import com.github.syari.ss.wplugins.discord.api.entity.Mentionable.Companion.replaceAll class Message( val channel: TextChannel, val member: Member, val content: String, private val mentionMembers: List<Member>, private val mentionRoles: List...
25
Kotlin
1
2
9af898e4eef290b8a2e4c0f75e3f99afb0b19e57
727
SS-Plugins
Apache License 2.0
src/main/kotlin/me/elsiff/morefish/hooker/PluginHooker.kt
wotnak
360,557,145
true
{"Kotlin": 105382}
package me.elsiff.morefish.hooker import me.elsiff.morefish.MoreFish import org.bukkit.plugin.PluginManager /** * Created by elsiff on 2018-12-31. */ interface PluginHooker { val pluginName: String var hasHooked: Boolean fun canHook(pluginManager: PluginManager) = pluginManager.isPluginEnabled(pluginNa...
8
Kotlin
1
3
7f2f55f76bd1114a2fd59c336cc8f17a8ac9449e
842
more-fish
MIT License
feature/chart/src/main/java/com/mataku/scrobscrob/chart/ui/screen/ChartScreen.kt
mataku
99,928,377
false
{"Kotlin": 406570, "Ruby": 2839, "Makefile": 558}
package com.mataku.scrobscrob.chart.ui.screen import androidx.compose.animation.core.tween import androidx.compose.foundation.ExperimentalFoundationApi import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.fillMaxSize import and...
2
Kotlin
2
9
13b6a59eac798a291c4ce4316326d653a70c21e0
2,611
SunsetScrob
Apache License 2.0
plugins/kotlin/idea/tests/testData/findUsages/kotlin/findClassUsages/kotlinInterfaceDerivedLocalObjects.1.kt
ingokegel
72,937,917
false
null
// PSI_ELEMENT: org.jetbrains.kotlin.psi.KtClass // OPTIONS: derivedClasses // PSI_ELEMENT_AS_TITLE: "" fun foo() { val O1 = object : A() { } fun bar() { val O2 = object : X { } } }
1
null
1
2
b07eabd319ad5b591373d63c8f502761c2b2dfe8
218
intellij-community
Apache License 2.0
sentinel-no-op/src/main/kotlin/com/infinum/sentinel/ui/tools/CollarTool.kt
infinum
257,115,400
false
{"Kotlin": 526915, "HTML": 3350, "Groovy": 1211}
package com.infinum.sentinel.ui.tools import android.view.View import com.infinum.sentinel.Sentinel /** * Specific wrapper tool around Collar in no - op. * */ public class CollarTool : Sentinel.Tool { override fun name(): Int = 0 override fun listener(): View.OnClickListener = View.OnClickListener { ...
0
Kotlin
1
38
605b5849d4d00ffb212859fba7797c8b33384925
343
android-sentinel
Apache License 2.0
app/src/main/kotlin/com/francescsoftware/mosaic/ui/mosaic/viewmodel/MosaicUpdaterMiddleware.kt
fvilarino
487,330,720
false
{"Kotlin": 67941}
package com.francescsoftware.mosaic.ui.mosaic.viewmodel import com.francescsoftware.mosaic.core.dispatcher.DispatcherProvider import com.francescsoftware.mosaic.ui.shared.mvi.Middleware import com.francescsoftware.mosaic.ui.shared.widget.CardFace import kotlinx.coroutines.launch import javax.inject.Inject private dat...
0
Kotlin
1
2
4b054516345ec19957ea798ba1449728c9ab5903
3,048
Mosaic
Apache License 2.0
compiler/testData/writeSignature/jlString.kt
JakeWharton
99,388,807
false
null
fun string(): java.lang.String = throw Exception() // method: JlStringKt::string // jvm signature: ()Ljava/lang/String; // generic signature: null
179
null
5640
83
4383335168338df9bbbe2a63cb213a68d0858104
151
kotlin
Apache License 2.0
src/main/kotlin/com/github/imyuyu/sqltoy/inspection/XmlInspection.kt
imyuyu
711,378,160
false
null
package com.github.imyuyu.sqltoy.inspection import com.intellij.codeInspection.ProblemHighlightType import com.intellij.codeInspection.ProblemsHolder import com.intellij.codeInspection.XmlSuppressableInspectionTool import com.intellij.psi.ElementManipulators import com.intellij.psi.PsiElementVisitor import com.intelli...
9
null
3
8
f14af8b9eb176428278006c1a42362c502f3ab62
2,182
sqltoy-idea-plugin
MIT License
app/src/main/java/ir/abolfazl/abolmovie/MainActivity/MainActivity.kt
abolfazl344
713,461,288
false
{"Kotlin": 36891}
package ir.abolfazl.abolmovie.MainActivity import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import cn.pedant.SweetAlert.SweetAlertDialog import ir.abolfazl.abolmovie.R import ir.abolfazl.abolmovie.databinding.ActivityMainBinding class MainActivity : AppCompatActivity() { lateinit var bindi...
0
Kotlin
0
0
ba1eaa6da78b36573a7fabae627d981eb4fd6676
688
Movie-TV
MIT License
analysis/analysis-api/testData/components/scopeProvider/scopeContextForPosition/kDocOnFunction.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...
package test class Receiver class Param1 class Param2 /** * [<expr>param1</expr>] */ fun <TypeParam> Receiver.function(param1: Param1, param2: Param2): TypeParam {}
181
Kotlin
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
170
kotlin
Apache License 2.0
app-android/src/main/java/org/mtransit/android/ui/view/POIViewUtils.kt
mtransitapps
24,649,585
false
{"Java": 1033894, "Kotlin": 857743, "Shell": 2111, "HTML": 1249}
package org.mtransit.android.ui.view import android.graphics.drawable.GradientDrawable import android.view.View import androidx.annotation.ColorInt import org.mtransit.android.R import org.mtransit.android.commons.data.POI import org.mtransit.android.commons.data.POI.ItemViewType import org.mtransit.android.data.POIMa...
4
Java
4
36
9386c4dccf5a6fae62b95aee249f7c20c803ed58
2,223
mtransit-for-android
Apache License 2.0
app/src/main/java/com/husqvarna/popularmovies/ui/composables/screen/movies/MovieContentContainer.kt
zakirpervez
705,155,582
false
{"Kotlin": 85221}
package com.husqvarna.popularmovies.ui.composables.screen.movies import androidx.compose.foundation.background import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Row import androidx.compose.foundation.layout.aspectRatio impor...
0
Kotlin
0
0
071e95f36dd1e315671461f95fdd178c9988a478
2,937
PopularMovies
The Unlicense
app/src/main/java/liberalize/kotlin/sample/payment/QrCodeActivity.kt
LiberationNetwork
420,028,908
false
{"Gradle": 4, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "Proguard": 2, "Kotlin": 44, "XML": 18, "Java": 2, "INI": 2}
package liberalize.kotlin.sample.payment import android.content.DialogInterface import android.os.Bundle import android.os.Handler import android.os.Looper import androidx.activity.viewModels import androidx.appcompat.app.AlertDialog import androidx.appcompat.app.AppCompatActivity import liberalize.kotlin.sample.datab...
1
null
1
1
f9e4ab00c2b09afc8937f60d3cae903238990fff
2,715
liberalize-frontend-android-sdk
MIT License
mobiuskt-core/src/jvmTest/kotlin/TestWorkRunner.kt
benoitthore
351,249,957
true
{"Kotlin": 224300}
package kt.mobius.test import kt.mobius.runners.Runnable import kt.mobius.runners.WorkRunner import java.util.* class TestWorkRunner : WorkRunner { private val queue = LinkedList<Runnable>() var isDisposed = false private set override fun post(runnable: Runnable) { synchronized(queue) {...
0
Kotlin
0
0
f4f1930ca5a4e0de4a5701221296c259a0490644
1,024
mobius.kt
Apache License 2.0
app/src/main/kotlin/io/element/android/x/initializer/TracingInitializer.kt
vector-im
546,522,002
false
null
/* * Copyright (c) 2022 New Vector Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
105
Kotlin
32
287
4587b51bd33e8b5a2e2c81c79f3aa70a3ac52923
2,338
element-x-android
Apache License 2.0
client/slack-api-client/src/main/kotlin/com/kreait/slack/api/group/conversations/ConversationsUnarchiveMethod.kt
raphaeldelio
342,576,196
true
{"Kotlin": 923419, "Shell": 654}
package com.kreait.slack.api.group.conversations import com.kreait.slack.api.contract.jackson.group.conversations.ConversationUnarchiveRequest import com.kreait.slack.api.contract.jackson.group.conversations.ErrorConversationUnarchiveResponse import com.kreait.slack.api.contract.jackson.group.conversations.SuccessfulC...
0
null
0
0
7313d2205e2b284d7d50c6d04e7acd29b284f433
731
slack-spring-boot-starter
MIT License
src/test/kotlin/novah/data/DAGSpec.kt
stackoverflow
255,379,925
false
null
/** * Copyright 2021 Islon Scherer * * 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 t...
0
Kotlin
0
9
f3f2b12e178c5288197f6c6d591e8d304f5baf5d
2,759
novah
Apache License 2.0
app/src/main/java/com/pepdoesthings/marvelchars/data/repository/MarvelRepositoryImpl.kt
pepitoria
442,251,370
false
{"Kotlin": 44672}
package com.pepdoesthings.marvelchars.data.repository import com.pepdoesthings.marvelchars.data.model.CharactersResponse import com.pepdoesthings.marvelchars.data.network.MarvelService import javax.inject.Inject class MarvelRepositoryImpl @Inject constructor( private val api: MarvelService ) : MarvelRepository { ...
0
Kotlin
0
0
86579be1eb5c15c2b97700103ab3896a0ce2a059
581
MarvelCharactersAndroid
The Unlicense
src/main/java/com/sdk/platform/payment/PaymentModels.kt
gofynd
337,940,340
false
{"Kotlin": 2818110, "Java": 179}
package com.sdk.platform.payment import com.sdk.platform.* import android.os.Parcelable import kotlinx.parcelize.Parcelize import kotlinx.parcelize.RawValue import android.util.Base64 import com.google.gson.annotations.SerializedName /* Model: PaymentGatewayConfigResponse */ @Parcelize data cla...
0
Kotlin
4
3
c4ba6b378e84ab56201ebd18ae9290ab270677b8
81,447
fdk-client-kotlin
MIT License
app/src/main/java/com/hoangtien2k3/themoviedb/domain/model/LanguageUI.kt
hoangtien2k3
781,918,819
false
{"Kotlin": 385191}
package com.hoangtien2k3.themoviedb.domain.model data class LanguageUI( val englishName: String, val iso6391: String, val name: String )
1
Kotlin
0
3
0ef347135c141cc49cb1e9d27fde6fdeedf71471
150
movie
MIT License
app/src/main/java/com/example/nichanview/ui/home/HomeViewModel.kt
CAT5NEKO
723,420,416
false
{"Kotlin": 8024}
package com.example.nichanview.ui.home import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import androidx.lifecycle.ViewModel class HomeViewModel : ViewModel() { private val _text = MutableLiveData<String>().apply { value = "ここにスレッド一覧を取得させる" } val text: LiveData<String> ...
0
Kotlin
0
0
be67062639f169ec84e60737c8f57239022a7f0b
329
Nichang
Creative Commons Zero v1.0 Universal
src/test/kotlin/org/openrewrite/kubernetes/KubernetesRecipeTest.kt
devorbitus
394,745,491
false
null
/* * Copyright 2021 the original author or authors. * <p> * 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 * <p> * https://www.apache.org/licenses/LICENSE-2.0 * <p> * Unless required by...
1
null
1
1
f09385b76ea429c1caf17a5620cad0884054c8cb
2,855
rewrite-kubernetes
Apache License 2.0
app/src/main/java/com/axel_stein/glucose_tracker/ui/edit/EditorImpl.kt
AxelStein
320,277,698
false
null
package com.axel_stein.glucose_tracker.ui.edit import android.app.Activity import android.view.Menu import android.view.MenuInflater import android.view.MenuItem import android.view.View import android.widget.TextView import androidx.annotation.ArrayRes import androidx.appcompat.app.AppCompatActivity import androidx.a...
4
Kotlin
0
1
e6ed8ebdaf7d10bbec4ea830448dd9b174ed8c17
7,765
GlucoseTracker
Apache License 2.0
klay-scene/src/main/kotlin/klay/scene/ImageLayer.kt
cdietze
89,875,388
false
null
package klay.scene import euklid.f.IDimension import euklid.f.Rectangle import klay.core.Surface import klay.core.Texture import klay.core.Tile import klay.core.TileSource import react.RFuture /** * A layer that displays a texture or region of a texture (tile). By default, the layer is the same * size as its source...
0
Kotlin
0
4
72031aa267cd304a0612b31c871e2f5cf73d2c4c
5,679
klay
Apache License 2.0
core/generated-sources/src/test/kotlin/org/jetbrains/kotlinx/dataframe/api/reverse.kt
Kotlin
259,256,617
false
{"Kotlin": 8227503, "Java": 17608, "JavaScript": 11483, "CSS": 3083, "HTML": 137, "Shell": 73}
package org.jetbrains.kotlinx.dataframe.api import io.kotest.matchers.shouldBe import org.junit.Test class ReverseTests { @Test fun dataframe() { val df = dataFrameOf("a", "b")(1, 2, 3, 4) df.reverse() shouldBe dataFrameOf("a", "b")(3, 4, 1, 2) } @Test fun column() { val ...
235
Kotlin
60
833
54d00e69ae7c06ff254c6591242413eaf7894f01
634
dataframe
Apache License 2.0
plugins/performanceTesting/src/com/jetbrains/performancePlugin/commands/OpenFileCommand.kt
rpaquay
192,350,885
false
null
package com.jetbrains.performancePlugin.commands import com.intellij.codeInsight.daemon.DaemonCodeAnalyzer import com.intellij.openapi.application.EDT import com.intellij.openapi.fileEditor.FileEditorManager import com.intellij.openapi.project.Project import com.intellij.openapi.project.guessProjectDir import com.inte...
1
null
1
1
55cb0396e166a3f4e114a59e9357d2e390a6dd96
2,868
intellij-community
Apache License 2.0
libs/serialization/serialization-amqp/src/test/kotlin/net/corda/internal/serialization/amqp/StaticInitialisationOfSerializedObjectTest.kt
corda
346,070,752
false
null
package net.corda.internal.serialization.amqp import net.corda.internal.serialization.SerializedBytesImpl import net.corda.internal.serialization.amqp.helper.testSerializationContext import net.corda.internal.serialization.amqp.testutils.deserialize import org.assertj.core.api.Assertions.assertThatThrownBy import org....
82
null
7
69
0766222eb6284c01ba321633e12b70f1a93ca04e
3,305
corda-runtime-os
Apache License 2.0
app/src/main/java/com/forcetower/uefs/feature/siecomp/speaker/SpeakerFragment.kt
marcelobiao
184,821,890
true
{"Kotlin": 1857200, "Java": 257698, "Shell": 376}
/* * Copyright (c) 2019. * João Paulo Sena <joaopaulo761@gmail.com> * * This file is part of the UNES Open Source Project. * * UNES is licensed under the MIT License * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Soft...
0
Kotlin
0
0
8c27cac95ffde6aae6a07156be0aad3d6039767e
4,892
Melon
MIT License
Programming Basics/Summary 1/Exercise 8/src/Task.kt
marchdz
633,862,396
false
null
// Summary1/Task8.kt package summaryIExercise8 fun reverseDecimal(number: Int): Int { var originalNumber = number var worker = 0 while (originalNumber > 0) { worker = worker * 10 + originalNumber % 10 originalNumber /= 10 } return worker } fun main() { println(reverseDecimal(1234)) // 4321 }
0
Kotlin
0
0
0246a342b54600ceb6ac38ecb4498d16a7e86e8e
315
atomic-kotlin-exercises
MIT License
telekt/src/main/kotlin/telekt/types/common/Poll.kt
telekt
173,566,083
false
null
package rocks.waffle.telekt.types import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable import kotlinx.serialization.Transient import rocks.waffle.telekt.contrib.filters.TextableTelegramEvent /** This object contains information about one answer option in a poll. */ @Serializable data clas...
0
Kotlin
3
12
6e337e863884c875f3032fd60bbdf4bf537bb17e
720
telekt
MIT License
RQ1_Kotlin/src/main/kotlin/ch/uzh/ifi/seal/smr/soa/analysis/executiontimerepocorrelation/Main.kt
stewue
200,048,959
false
null
package ch.uzh.ifi.seal.smr.soa.analysis.executiontimerepocorrelation import ch.uzh.ifi.seal.smr.soa.utils.CsvProjectParser import ch.uzh.ifi.seal.smr.soa.utils.CsvResExecutionTimeParser import ch.uzh.ifi.seal.smr.soa.utils.CustomMappingStrategy import ch.uzh.ifi.seal.smr.soa.utils.OpenCSVWriter import java.io.File p...
0
Kotlin
0
0
0fb825e196f386c628f95524aa9c80af2126617e
1,682
masterthesis-evaluation
Apache License 2.0
spring-componentmap/src/test/kotlin/dev/krud/spring/componentmap/examples/calculator/CalculatorService.kt
krud-dev
523,310,204
false
null
package dev.krud.spring.componentmap.examples.calculator interface CalculatorService { /** * Calculate the result of an operation. */ fun calculate(type: CalculatorOperationType, a: Int, b: Int): Number }
1
Kotlin
0
8
af879efc52281530f4115e1e5d9a2b0cf5f6c96c
223
spring-componentmap
MIT License
src/main/kotlin/uk/gov/justice/digital/hmpps/hmppsaccreditedprogrammesapi/client/manageOffencesApi/model/Offence.kt
ministryofjustice
615,402,552
false
{"Kotlin": 537513, "Shell": 9504, "Dockerfile": 1415}
package uk.gov.justice.digital.hmpps.hmppsaccreditedprogrammesapi.client.manageOffencesApi.model import com.fasterxml.jackson.annotation.JsonIgnoreProperties @JsonIgnoreProperties(ignoreUnknown = true) data class Offence( val code: String, val description: String? = null, val legislation: String? = null, )
2
Kotlin
0
0
b1fd77ada3979937240507864c35ad67ff033970
316
hmpps-accredited-programmes-api
MIT License
nutritioncore/src/main/java/com/frogobox/nutritioncore/compose/ui/Color.kt
amirisback
361,106,969
false
{"Kotlin": 618147, "HTML": 300988, "SCSS": 157102, "JavaScript": 155345, "CSS": 96509, "Less": 78481, "Witcher Script": 27406, "Java": 15217}
package com.frogobox.nutritioncore.compose.ui import androidx.compose.ui.graphics.Color val Purple200 = Color(0xFFBB86FC) val Purple500 = Color(0xFF6200EE) val Purple700 = Color(0xFF3700B3) val Teal200 = Color(0xFF03DAC5) val NutriColorPrimary = Color(0xFF6200EE) val NutriColorPrimaryDark = Color(0xFF3700B3) val Nu...
1
Kotlin
4
41
e7d102622e6aac67fedf1414a74fe4ab705b04f3
1,136
nutrition-framework
Apache License 2.0
sample_code/src/main/kotlin/online/heyworld/kt/easy/once/OnceRunner.kt
heyworld-online
381,216,777
false
null
package online.heyworld.kt.easy.once import org.jaudiotagger.audio.mp3.MP3FileReader import java.io.File import java.io.OutputStream class OnceRunner { fun mp3(){ val path = Any().javaClass.getResource("/audio_list.txt").readText() // path.split("\n").forEachIndexed { index, s -> // println("$...
0
Kotlin
0
1
4ab5821a9fbdfe8cc3465704a0122c6fc54435a6
1,315
hey_kotlin
Apache License 2.0
domain/src/commonMain/kotlin/uk/co/sentinelweb/cuer/net/remote/RemotePlaylistsInteractor.kt
sentinelweb
220,796,368
false
{"Kotlin": 2383617, "CSS": 205156, "Java": 98919, "Swift": 85812, "HTML": 19322, "JavaScript": 12105, "Ruby": 2170}
package uk.co.sentinelweb.cuer.net.remote import uk.co.sentinelweb.cuer.app.orchestrator.OrchestratorContract import uk.co.sentinelweb.cuer.domain.GUID import uk.co.sentinelweb.cuer.domain.PlaylistDomain import uk.co.sentinelweb.cuer.domain.RemoteNodeDomain interface RemotePlaylistsInteractor { suspend fun getRem...
94
Kotlin
0
2
8fa2f9590eb37051442aa359262826dac83e5562
474
cuer
Apache License 2.0
codeSnippets/snippets/sockets-server/src/main/kotlin/com/example/Application.kt
ktorio
278,572,893
false
{"Kotlin": 333280, "HTML": 29703, "JavaScript": 5361, "FreeMarker": 2738, "Dockerfile": 1709, "Swift": 1432, "CSS": 470, "Handlebars": 75, "Pug": 51}
package com.example import io.ktor.network.selector.* import io.ktor.network.sockets.* import io.ktor.utils.io.* import kotlinx.coroutines.* fun main(args: Array<String>) { runBlocking { val selectorManager = SelectorManager(Dispatchers.IO) val serverSocket = aSocket(selectorManager).tcp().bind("1...
2
Kotlin
285
430
0d0e39e69bb98340708b5193bab8a550e0a29cac
1,090
ktor-documentation
Apache License 2.0
app/src/main/java/com/markkolenbrander/capstonenewsapp/models/ArticlesResponse.kt
MarkKolenbrander
529,135,388
false
null
package com.markkolenbrander.capstonenewsapp.models import android.os.Parcelable import com.squareup.moshi.Json import kotlinx.parcelize.Parcelize @Parcelize data class ArticlesResponse( @Json(name = "status") val status: String, @Json(name ="totalResults") val totalResults: Int, @Json(name ="articles") v...
0
Kotlin
0
0
0bdb70a8454afa4113f840b7206205421fae5c49
361
CapstoneNewsApp
MIT License
src/test/kotlin/es/joseluisgs/kotlinspringbootrestservice/repositories/categorias/CategoriasRepositoryTest.kt
joseluisgs
462,853,361
false
{"Kotlin": 127596}
package es.joseluisgs.kotlinspringbootrestservice.repositories.categorias import es.joseluisgs.kotlinspringbootrestservice.models.Categoria import es.joseluisgs.kotlinspringbootrestservice.models.Producto import org.junit.jupiter.api.Assertions.assertEquals import org.junit.jupiter.api.Test import org.springframework....
0
Kotlin
3
2
8ba321403c0e672372ed9df79c0ae996ae5c0e91
2,901
Kotlin-SpringBoot-REST-Service
MIT License
app/src/main/java/org/simple/clinic/introvideoscreen/IntroVideoEvent.kt
simpledotorg
132,515,649
false
{"Kotlin": 6129044, "Shell": 1660, "HTML": 545}
package org.simple.clinic.introvideoscreen import org.simple.clinic.widgets.UiEvent sealed class IntroVideoEvent : UiEvent data object VideoClicked : IntroVideoEvent() { override val analyticsName: String = "IntroVideo:Video Clicked" } data object SkipClicked : IntroVideoEvent() { override val analyticsName: St...
13
Kotlin
73
236
ff699800fbe1bea2ed0492df484777e583c53714
355
simple-android
MIT License
common/src/main/kotlin/org/valkyrienskies/toolbox/content/block/mechanical/hinge/HingeHelper.kt
BlueMoonJune
844,053,463
false
{"Kotlin": 115352, "Java": 11359}
package org.valkyrienskies.toolbox.content.block.mechanical.hinge import net.minecraft.core.Direction import org.joml.AxisAngle4d import org.joml.Quaterniond import org.joml.Quaterniondc import org.joml.Vector3d import org.valkyrienskies.toolbox.api.extension.snapToGrid object HingeHelper { fun getRotationQuater...
0
Kotlin
0
0
c4d7a6296b408dbfcabcdca277cd140a328af50f
1,281
VSToolbox
Apache License 2.0
app/src/main/java/com/example/dropy/ui/screens/waterOrderSingle/WaterOrderSingleViewModel.kt
dropyProd
705,360,878
false
{"Kotlin": 3916897, "Java": 20617}
package com.example.dropy.ui.screens.waterOrderSingle import android.content.Context import android.util.Log import android.widget.Toast import androidx.compose.runtime.mutableStateOf import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.example.dropy.di.DropyApp import com.example.dr...
0
Kotlin
0
0
6d994c9c61207bac28c49717b6c250656fe4ae6b
10,816
DropyLateNights
Apache License 2.0
domains/android/imageloader/src/main/kotlin/app/dapk/st/imageloader/ImageLoaderModule.kt
ouchadam
434,718,760
false
{"Kotlin": 461355, "JavaScript": 12445, "Shell": 1820}
package app.dapk.st.imageloader import android.content.Context import app.dapk.st.core.extensions.unsafeLazy class ImageLoaderModule( private val context: Context, ) { private val imageLoader by unsafeLazy { CoilImageLoader(context) } private val cachedIcons by unsafeLazy { CachedIcons(imageLoader) } ...
36
Kotlin
4
139
5a391676d0d482596fe5d270798c2b361dba67e7
368
small-talk
Apache License 2.0
Novation/app/src/main/java/com/example/dev_man/modules/models/Module.kt
STStereotype
628,655,727
false
null
package com.example.dev_man.modules.models data class Module ( var ip: String, var host: String, var mask: String = "255.255.255.0", var batteryLevel: Int, var temperature: Float = 30.0f, var nameModule: String )
0
Kotlin
0
0
cbfcd6853e4e5e371301c1a348122d479ac56a27
237
Dev_man
MIT License
libs/messaging/messaging/src/test/kotlin/net/corda/messaging/api/publisher/FutureUtilsTest.kt
corda
346,070,752
false
{"Kotlin": 20585393, "Java": 308202, "Smarty": 115357, "Shell": 54409, "Groovy": 30246, "PowerShell": 6470, "TypeScript": 5826, "Solidity": 2024, "Batchfile": 244}
package net.corda.messaging.api.publisher import net.corda.messaging.api.exception.CordaMessageAPIFatalException import net.corda.messaging.api.exception.CordaMessageAPIIntermittentException import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Assertions.assertEquals import org.junit.jupiter....
14
Kotlin
27
69
0766222eb6284c01ba321633e12b70f1a93ca04e
5,719
corda-runtime-os
Apache License 2.0
tv/src/main/java/com/onirutla/movflex/tv/ui/TvDetailScreen.kt
Alturino
476,949,602
false
{"Kotlin": 235674}
package com.onirutla.movflex.tv.ui import androidx.compose.foundation.ScrollState import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Row import androidx.compose.foundation.layout....
0
Kotlin
0
0
689cd51a60c6d1713c2625fbfde2ce59420a19e5
7,609
MovFlex
MIT License
app/src/main/java/me/grey/picquery/ui/home/HomeScreen.kt
greyovo
676,960,803
false
{"Kotlin": 151873, "Python": 17259, "PureBasic": 181}
package me.grey.picquery.ui.home import LogoRow import SearchInput import androidx.compose.animation.AnimatedVisibility import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.fillMaxHeight import androidx.compose.foundation.layou...
7
Kotlin
12
92
eda7d169cde517fed8f4ef0b70bdc4c1e32013ab
5,658
PicQuery
MIT License