path
stringlengths
4
280
owner
stringlengths
2
39
repo_id
int64
21.1k
879M
is_fork
bool
2 classes
languages_distribution
stringlengths
13
1.95k
content
stringlengths
7
482k
issues
int64
0
13.9k
main_language
stringclasses
121 values
forks
stringlengths
1
5
stars
int64
0
111k
commit_sha
stringlengths
40
40
size
int64
7
482k
name
stringlengths
1
100
license
stringclasses
93 values
src/main/kotlin/com/github/igorperikov/mightywatcher/service/OutputFormatter.kt
IgorPerikov
100,801,260
false
{"Kotlin": 37720, "Shell": 405, "Dockerfile": 273}
package com.github.igorperikov.mightywatcher.service import com.github.igorperikov.mightywatcher.entity.IssueLine import com.github.igorperikov.mightywatcher.entity.ResultLine import com.github.igorperikov.mightywatcher.entity.TimestampLine import j2html.TagCreator import j2html.attributes.Attr import j2html.tags.Cont...
7
Kotlin
7
46
082791c2ac776e2b60c6037817ce034230959301
1,886
mighty-watcher
MIT License
scripts/Day13.kts
matthewm101
573,325,687
false
{"Kotlin": 63435}
import java.io.File import kotlin.math.max sealed class Data { data class Packet(val data: List<Data>) : Data(), Comparable<Packet> { override fun toString() = data.joinToString(separator = ",", prefix = "[", postfix = "]") { it.toString() } override fun compareTo(other: Packet): Int { ...
0
Kotlin
0
0
bbd3cf6868936a9ee03c6783d8b2d02a08fbce85
3,612
adventofcode2022
MIT License
app/src/main/java/com/mksoftware101/notes/features/noteList/ui/extensions/Extensions.kt
mksoftware101
357,660,329
false
null
package com.mksoftware101.notes.features.noteList.ui.extensions
0
Kotlin
0
0
0792a1b68d02229082d3faf6c984f9003822ce19
63
yetanothernotes
Apache License 2.0
app/src/main/java/com/github/braillesystems/learnbraille/ui/screens/AbstractFragmentWithHelp.kt
braille-systems
246,795,546
false
null
package com.github.braillesystems.learnbraille.ui.screens import android.view.Menu import android.view.MenuInflater import android.view.MenuItem import com.github.braillesystems.learnbraille.R import com.github.braillesystems.learnbraille.ui.screens.help.HelpFragmentDirections import com.github.braillesystems.learnbra...
35
Kotlin
3
9
e7e41e88d814aa4f7dd118ed023cdd6f955d53e5
1,255
learn-braille
Apache License 2.0
buildSrc/src/main/java/Library.kt
squaredcandy
422,740,618
false
{"Kotlin": 99379}
object Library { object Android { const val ApplicationId = "com.squaredcandy.lunar" const val MinCompileVersion = 23 const val CompileVersion = 31 const val TargetVersion = 30 const val VersionCode = 1 const val VersionName = "1.0" const val GradleVersion = "...
0
Kotlin
0
0
ed5674e11b1a27281b37de73237869ab1c9d8bed
3,159
Lunar
MIT License
tools/weixin/src/main/kotlin/top/bettercode/summer/tools/weixin/support/offiaccount/entity/CachedValue.kt
top-bettercode
387,652,015
false
null
package top.bettercode.summer.tools.weixin.support.offiaccount.entity import java.time.LocalDateTime /** * * @author Peter Wu */ data class CachedValue(val value: String, val expiresIn: LocalDateTime) { val expired: Boolean by lazy { expiresIn <= LocalDateTime.now() } }
0
Kotlin
0
2
23ba7a8c61b0b7b7eb95926fc45f1f9127e443ea
280
summer
Apache License 2.0
dsl/src/main/kotlin/io/cloudshiftdev/awscdkdsl/services/customerprofiles/CfnDomainDomainStatsPropertyDsl.kt
cloudshiftinc
667,063,030
false
{"Kotlin": 70198112}
@file:Suppress( "RedundantVisibilityModifier", "RedundantUnitReturnType", "RemoveRedundantQualifierName", "unused", "UnusedImport", "ClassName", "REDUNDANT_PROJECTION", "DEPRECATION" ) package io.cloudshiftdev.awscdkdsl.services.customerprofiles import io.cloudshiftdev.awscdkdsl.common...
0
Kotlin
0
3
256ad92aebe2bcf9a4160089a02c76809dbbedba
2,273
awscdk-dsl-kotlin
Apache License 2.0
idea/idea-repl/src/org/jetbrains/kotlin/console/KotlinConsoleRunner.kt
JakeWharton
99,388,807
false
null
/* * Copyright 2010-2017 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
284
null
5162
83
4383335168338df9bbbe2a63cb213a68d0858104
12,705
kotlin
Apache License 2.0
app/src/main/java/cc/sovellus/vrcaa/api/helper/StatusHelper.kt
Nyabsi
745,635,224
false
null
package cc.sovellus.vrcaa.api.helper import androidx.compose.ui.graphics.Color class StatusHelper { enum class Status { JoinMe, Active, AskMe, Busy, Offline; companion object { fun toColor(status: Status): Color { return when (status) { ...
1
null
3
8
69b3be86a31fba1bfea5180c82117b49fe31f90e
1,266
VRCAA
Apache License 2.0
core/src/androidMain/kotlin/com/lhwdev/ktui/graphics/Path.kt
lhwdev
220,774,525
false
null
package com.lhwdev.ktui.graphics import android.graphics.Path as APath actual typealias FrameworkPath = APath internal actual fun Path.toFrameworkPathInternal(): FrameworkPath { TODO() }
0
Kotlin
1
6
d1af81f1e4f6c0660dd0557868738d8df50c4da6
192
kt-ui
Apache License 2.0
html-textview/src/main/java/com/saka/android/htmltextview/utility/ThumbnailLoader.kt
sakacyber
259,229,776
false
{"Kotlin": 48447}
package com.saka.android.htmltextview.utility import android.graphics.Bitmap import android.graphics.BitmapFactory import android.media.MediaMetadataRetriever import kotlinx.coroutines.CoroutineScope import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.launch import kotlinx.coroutines.withContext import jav...
2
Kotlin
2
18
0672db02272811e47c6adb9804a51432ef04aca5
1,838
html-textview
MIT License
src/day16/day16.kt
kacperhreniak
572,835,614
false
{"Kotlin": 85244}
package day16 import readInput import java.util.UUID import kotlin.math.max fun parse(input: List<String>): Pair<Map<String, Map<String, Int>>, Map<String, Int>> { val rates = HashMap<String, Int>() val graph = HashMap<String, MutableMap<String, Int>>() // create connections based on input for (line ...
0
Kotlin
1
0
03368ffeffa7690677c3099ec84f1c512e2f96eb
3,941
aoc-2022
Apache License 2.0
app/src/main/java/com/stocksexchange/android/database/model/DatabaseDeposit.kt
nscoincommunity
277,168,471
true
{"Kotlin": 2814235}
package com.stocksexchange.android.database.model import androidx.room.ColumnInfo import androidx.room.Entity import androidx.room.PrimaryKey import com.stocksexchange.api.model.rest.Deposit import com.stocksexchange.android.database.model.DatabaseDeposit.Companion.TABLE_NAME /** * A Room database model for the [Dep...
0
null
0
0
52766afab4f96506a2d9ed34bf3564b6de7af8c3
2,372
Android-app
MIT License
test_runner/src/test/kotlin/ftl/cli/firebase/test/IosCommandTest.kt
rashiq
267,499,333
true
{"Kotlin": 418227, "Java": 298969, "HTML": 277221, "JavaScript": 5357, "TypeScript": 4809, "Shell": 3046, "CSS": 537, "Go": 159}
package ftl.cli.firebase.test import com.google.common.truth.Truth import ftl.test.util.FlankTestRunner import ftl.test.util.TestHelper.normalizeLineEnding import org.junit.Rule import org.junit.Test import org.junit.contrib.java.lang.system.SystemOutRule import org.junit.runner.RunWith @RunWith(FlankTestRunner::clas...
1
Kotlin
1
1
bd6e444bb95f9b05a6a28755948acec459a81f70
861
flank
MIT License
app-android/src/main/java/org/mtransit/android/data/AgencyBaseProperties.kt
mtransitapps
24,649,585
false
null
package org.mtransit.android.data import androidx.room.ColumnInfo import androidx.room.Embedded import androidx.room.Ignore import com.google.android.gms.maps.model.LatLngBounds import org.mtransit.android.commons.data.Area import org.mtransit.android.data.IAgencyProperties.Companion.DEFAULT_LONG_VERSION_CODE // all ...
5
null
4
34
dccaac0fe7f1604a191eaa63b936ba476a9a0682
2,081
mtransit-for-android
Apache License 2.0
bindings/core/glib/src/nativeMain/kotlin/org/gtkkn/bindings/glib/OptionErrorException.kt
gtk-kn
609,191,895
false
{"Kotlin": 10448515, "Shell": 2740}
// This is a generated file. Do not modify. package org.gtkkn.bindings.glib import org.gtkkn.extensions.glib.GlibException public class ConvertErrorException( error: Error, public val code: ConvertError, ) : GlibException(error)
0
Kotlin
0
13
c033c245f1501134c5b9b46212cd153c61f7efea
239
gtk-kn
Creative Commons Attribution 4.0 International
app/src/main/java/com/example/chat_bot/Room/Dao/SeedsDao.kt
SEEDS-learning-apps
536,944,125
false
null
package com.example.chat_bot.Room.Dao import androidx.room.* import com.example.chat_bot.Room.Relations.UserAndMessage import com.example.chat_bot.data.R_Message import com.example.chat_bot.data.User import com.example.chat_bot.data.tryy.QuestItem @Dao interface SeedsDao{ @Transaction //Avoids Multithreading iss...
0
Kotlin
2
0
f8245e8c608460bc95f00f7705a72bba5aa49a6f
1,830
learning-MobileApp
Educational Community License v2.0
app/src/main/java/com/herry/test/app/tflite/digitclassifier/DigitClassifierPresenter.kt
HerryPark
273,154,769
false
{"Kotlin": 1291945, "Java": 602}
package com.herry.test.app.tflite.digitclassifier import android.graphics.Bitmap import android.graphics.BitmapFactory import com.herry.libs.util.tuple.Tuple1 import io.reactivex.Observable import kotlinx.coroutines.Dispatchers import java.util.concurrent.atomic.AtomicReference class DigitClassifierPresenter : DigitC...
0
Kotlin
0
0
f7a9ced28da4ad6c49515e136114961aa45d45dd
2,151
HerryApiDemo
Apache License 2.0
library/src/test/java/com/github/skgmn/viewmodelevent/MultipleScreenHandleEvent.kt
skgmn
392,284,310
false
{"Kotlin": 61413}
package com.github.skgmn.viewmodelevent import android.os.Bundle import androidx.activity.viewModels import androidx.appcompat.app.AppCompatActivity import androidx.fragment.app.Fragment import androidx.fragment.app.activityViewModels import androidx.lifecycle.ViewModel import androidx.test.ext.junit.rules.activitySce...
0
Kotlin
0
4
c867a600434524b6c4caf1d7f8fdccf64494c487
3,677
ViewModelEvent
MIT License
src/test/kotlin/ch/leadrian/gradle/plugin/propertykeygenerator/model/PropertyKeyTest.kt
Double-O-Seven
174,027,903
false
null
package ch.leadrian.gradle.plugin.propertykeygenerator.model import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Test internal class PropertyKeyTest { @Test fun `should compute segments`() { val propertyKey = PropertyKey("foo.bar.baz") val segments = propertyKey.se...
1
Kotlin
1
1
d9f6560eca4053149c444f7e70a71cd47c695b2f
419
property-key-generator
Apache License 2.0
sqlite-embedder-graalvm/src/jvmMain/kotlin/ru/pixnews/wasm/sqlite/open/helper/graalvm/host/emscripten/func/EmscriptenDateNow.kt
illarionov
769,429,996
false
null
/* * Copyright 2024, the wasm-sqlite-open-helper project authors and contributors. Please see the AUTHORS file * for details. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. * SPDX-License-Identifier: Apache-2.0 */ package ru.pixnews.wasm.sqlite.open.helper.graa...
0
null
0
1
49bab6c6cd72999124e35ba009a1f8adfe9d8bb5
1,274
wasm-sqlite-open-helper
Apache License 2.0
medolylibrary/src/main/java/com/wa2c/android/medoly/library/PropertyData.kt
wa2c
134,095,731
false
{"Kotlin": 63278, "Batchfile": 37}
package com.wa2c.android.medoly.library import android.net.Uri /** * Property data. */ open class PropertyData : ExtraData { /** * Constructor. */ constructor() : super() /** * Constructor. * @param capacity The capacity. */ constructor(capacity: Int) : super(capacity) ...
0
Kotlin
0
0
c82f28bc43e18522be5a428ec1db94a960567018
6,399
medoly-library
MIT License
app/src/main/java/com/will/habit/ui/tab_bar/activity/TabBarActivity.kt
dcn01
274,296,030
true
{"Kotlin": 222715, "Java": 215869}
package com.will.habit.ui.tab_bar.activity import android.os.Bundle import androidx.core.content.ContextCompat import androidx.fragment.app.Fragment import com.will.habit.BR import com.will.habit.R import com.will.habit.databinding.ActivityTabBarBinding import com.will.habit.ui.tab_bar.fragment.TabBar1Fragment import ...
0
null
0
0
08d36bb62984f7321c295acb3286b561627b7e6d
3,411
MVVMWill
Apache License 2.0
java/java-impl/src/com/intellij/internal/statistic/libraryUsage/LibraryDescriptorFinderService.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.internal.statistic.libraryUsage import com.intellij.openapi.components.Service import com.intellij.util.concurrency.annotations.RequiresBac...
191
null
4372
13,319
4d19d247824d8005662f7bd0c03f88ae81d5364b
1,165
intellij-community
Apache License 2.0
scanner/src/main/kotlin/Main.kt
jeffmcaffer
114,395,628
false
null
/* * Copyright (c) 2017 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
0
null
0
1
c05c57e9eaff25249ff3c26c79aa140a5af1f0e8
9,363
oss-review-toolkit
Apache License 2.0
ComponentImpl/src/main/java/com/xiaojinzi/component/impl/RouterDegrade.kt
xiaojinzi123
574,764,526
false
null
package com.xiaojinzi.component.impl import android.content.Intent import com.xiaojinzi.component.anno.support.CheckClassNameAnno /** * 降级的一个接口, 使用 [com.xiaojinzi.component.anno.RouterDegradeAnno] 注解标记一个类为降级处理 */ @CheckClassNameAnno interface RouterDegrade { /** * 是否匹配这个路由 * * @param request 路由请求...
5
null
284
99
b575c031f91acadc0debbcc96cf96d8235026116
562
KComponent
Apache License 2.0
core/src/main/java/io/github/kunal26das/core/gson/GsonImpl.kt
kunal26das
283,553,926
false
null
package io.github.kunal26das.core.gson import com.google.gson.Gson import com.google.gson.GsonBuilder import io.github.kunal26das.core.singleton.Singleton abstract class GsonImpl( private val builder: (GsonBuilder.() -> Unit)? = null ) : Singleton<Gson>() { override fun initialize(): Gson { return Gso...
0
Kotlin
0
1
9d7459f38693e881d8f8dd7bb725a7fb5b6447c9
399
Yify
Apache License 2.0
app/src/main/java/com/amazonaws/services/chime/sdkdemo/data/JoinMeetingResponse.kt
aws
249,543,698
false
null
package com.nam.chime_sdk.data import com.amazonaws.services.chime.sdk.meetings.session.Attendee import com.amazonaws.services.chime.sdk.meetings.session.Meeting import com.google.gson.annotations.SerializedName data class JoinMeetingResponse( @SerializedName("JoinInfo") val joinInfo: MeetingInfo ) data class Me...
30
null
52
98
a63bff8018ab63f8d381f96cda231a28eec40181
643
amazon-chime-sdk-android
Apache License 2.0
app/src/main/java/afkt/project/feature/ButtonItemActivity.kt
afkT
147,776,221
false
null
package afkt.project.feature import afkt.project.R import afkt.project.base.app.BaseActivity import afkt.project.databinding.BaseViewRecyclerviewBinding import afkt.project.model.item.ButtonList import afkt.project.model.item.ButtonValue import afkt.project.model.item.RouterPath import com.therouter.router.Route impor...
1
null
299
882
2fd4c7582a97968d73d67124b6b2e57eda18e90f
1,153
DevUtils
Apache License 2.0
KotlinGames/app/src/main/java/com/mduranx64/kotlingames/ChessGame.kt
mduranx64
857,545,408
false
{"Kotlin": 73326, "Ruby": 1269}
package com.mduranx64.kotlingames import android.content.res.Configuration import androidx.compose.foundation.Image import androidx.compose.foundation.background import androidx.compose.foundation.border import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.Arrangement import androidx....
0
Kotlin
0
0
cc0a00cc8d9d86b86b70937c62bed7e4fe0dd8c5
33,177
kotlin-games
MIT License
kontrolno1/src/main/kotlin/rali_transport/Coordinate.kt
rostislavdmrv
874,437,529
false
{"Kotlin": 3587}
package rali_transport import java.lang.Math.pow import kotlin.math.* class Coordinate(private val longitude:Double,private val latitude:Double) { private val radiusOfEarth = 6371.0 fun getDistance(other: Coordinate): Double { val lat1 = Math. toRadians(this. latitude) val lon1 = Math. toRadi...
0
Kotlin
0
0
117442a798758b2c5d10f109d41d21c3f4dd4a64
674
AndroidDevHub
MIT License
ui/src/main/java/ru/tinkoff/acquiring/sdk/redesign/cards/list/ui/CardsListState.kt
itlogic
293,802,517
true
{"Kotlin": 1162428, "Java": 29422}
package ru.tinkoff.acquiring.sdk.redesign.cards.list.ui import ru.tinkoff.acquiring.sdk.models.Card import ru.tinkoff.acquiring.sdk.redesign.cards.list.models.CardItemUiModel /** * Created by <NAME> */ sealed class CardsListState(val mode: CardListMode, val isInternal: Boolean = false) { object Shimmer : CardsL...
0
Kotlin
0
0
8de009c2ae6ca40843c74799429346fcfa74820c
1,396
AcquiringSdkAndroid
Apache License 2.0
app/src/main/java/com/grumpyshoe/lumos/core/data/src/network/dto/ImageDto.kt
lumos-app
179,739,531
false
null
package com.grumpyshoe.lumos.core.data.src.network.dto import android.os.Parcel import android.os.Parcelable import java.util.Date /** * Network object * * Created by <NAME> on 10.06.19. * Copyright © 2019 <NAME>. All rights reserved. */ data class ImageDto( val uuid: String? = null, val filename: String...
0
Kotlin
0
0
376a6363c669a324b52c6728ac6e834144a8e863
1,979
lumos-android
MIT License
src/test/kotlin/com/xrpn/immutable/flisttest/FListFilteringTest.kt
xrpn
364,037,871
false
null
package com.xrpn.immutable.flisttest import com.xrpn.imapi.IMList import com.xrpn.imapi.IMListFiltering import com.xrpn.immutable.FLCons import com.xrpn.immutable.FLNil import com.xrpn.immutable.FList import com.xrpn.immutable.emptyArrayOfInt import io.kotest.core.spec.style.FunSpec import io.kotest.matchers.shouldBe ...
0
Kotlin
1
3
09da19a3b49d41ae0679b853b4efe4605ba319f6
10,704
immutable-kotlin
Apache License 2.0
AndroidBroadcastReceiverExample/app/src/main/java/com/waynestalk/broadcastreceiverexample/AirplaneModeBroadcastReceiver.kt
xhhuango
262,588,464
false
{"Jupyter Notebook": 49573021, "Kotlin": 265587, "Swift": 163046, "TypeScript": 14366, "Go": 8073, "Shell": 4571, "JavaScript": 3704, "HTML": 3547, "Ruby": 1806, "Objective-C": 908, "SCSS": 80, "CSS": 25}
package com.waynestalk.broadcastreceiverexample import android.content.BroadcastReceiver import android.content.Context import android.content.Intent import android.widget.Toast class AirplaneModeBroadcastReceiver : BroadcastReceiver() { companion object { private const val TAG = "AirplaneModeBroadcast" ...
0
Jupyter Notebook
19
24
c2702503ff55f221a58d6b384d87d8d12cb0be12
666
waynestalk
MIT License
app/src/main/java/com/thezayin/kainaclean/presentation/onboarding/OnBoardingScreen.kt
thezayin
761,579,033
false
{"Kotlin": 137350}
package com.thezayin.kainaclean.presentation.onboarding import androidx.compose.foundation.Image import androidx.compose.foundation.background import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.Column import androidx.compose.fou...
0
Kotlin
0
1
139ba23f2d10ec143154a328667df2bb71f97568
4,500
Kaina_Clean
The Unlicense
domain/src/main/java/tachiyomi/domain/items/episode/service/EpisodeSorter.kt
aniyomiorg
358,887,741
false
null
package tachiyomi.domain.items.episode.service import tachiyomi.core.util.lang.compareToWithCollator import tachiyomi.domain.entries.anime.model.Anime import tachiyomi.domain.items.episode.model.Episode fun getEpisodeSort(anime: Anime, sortDescending: Boolean = anime.sortDescending()): ( Episode, Episode, ) -...
232
null
315
4,992
823099f775ef608b7c11f096da1f50762dab82df
1,371
aniyomi
Apache License 2.0
desktop/src/main/kotlin/app/softwork/composetodo/DesktopContainer.kt
hfhbd
286,300,714
false
null
package app.softwork.composetodo import app.softwork.composetodo.repository.* import app.softwork.composetodo.viewmodels.* import com.squareup.sqldelight.db.* import com.squareup.sqldelight.sqlite.driver.* import io.ktor.client.* import io.ktor.client.engine.cio.* import io.ktor.client.features.* import io.ktor.http.*...
2
Kotlin
1
28
d52fe552203bbfe1613c948c03ff7d104a15c08f
1,274
ComposeTodo
Apache License 2.0
app/src/main/java/org/jnanaprabodhini/happyteacherapp/util/LocaleManager.kt
HappyTeacher
102,859,416
false
null
package org.jnanaprabodhini.happyteacherapp.util import android.content.Context import android.content.res.Configuration import android.os.Build import org.jnanaprabodhini.happyteacherapp.R import java.util.* /** * A singleton object for managing language in the app. * * 🙏 * Thanks to this blog post: * http...
6
null
1
2
5487bcdefb8f0e8452d21e160a95b869290d4e23
1,961
HappyTeacherAndroid
Apache License 2.0
app/src/main/java/com/weatherxm/usecases/ForecastUseCaseImpl.kt
WeatherXM
728,657,649
false
null
package com.weatherxm.usecases import arrow.core.Either import com.weatherxm.data.ApiError import com.weatherxm.data.Failure import com.weatherxm.data.HourlyWeather import com.weatherxm.data.network.ErrorResponse.Companion.INVALID_TIMEZONE import com.weatherxm.data.repository.WeatherForecastRepository import com.weath...
2
null
2
13
c3320ce6d0e5018da3868e14414ce9a723213b32
2,705
wxm-android
Apache License 2.0
client/src/main/kotlin/com/lsdconsulting/exceptionhandling/client/exception/InternalServerException.kt
lsd-consulting
463,933,707
false
null
package com.lsdconsulting.exceptionhandling.client.exception import com.fasterxml.jackson.core.JsonParser import com.fasterxml.jackson.databind.DeserializationContext import com.fasterxml.jackson.databind.JsonDeserializer import com.fasterxml.jackson.databind.annotation.JsonDeserialize import com.lsdconsulting.excepti...
0
Kotlin
0
1
7e1f222ddc037dfe022abf23765de80ac781a2ea
1,032
spring-http-exception-handling-library
MIT License
PreparationApp/app/src/main/java/com/jbavaji/preparationapp/presentation/screen/authentication/signup/UserInputType.kt
JBavaji
508,955,291
false
null
package com.jbavaji.preparationapp.presentation.screen.authentication.signup enum class UserInputType { EMAIL, PASSWORD }
0
Kotlin
0
0
8da4c4a3044535daffb8c96eed84c66b9b99681c
131
preparing-2022-tech-stack-application
MIT License
javapoet-dsl/src/main/kotlin/com/hendraanggrian/javapoet/JavapoetSpecDsl.kt
hendraanggrian
169,205,951
false
{"Kotlin": 139216, "CSS": 1653}
package com.hanggrian.javapoet /** * Delimits spec builders' DSL. Code and javadoc builders are not tagged because some specs may * implement them. */ @DslMarker @Target(AnnotationTarget.CLASS) public annotation class JavapoetDsl
1
Kotlin
1
5
fd452bd62bc8b6a2f8e8ad11e42518515d39be0e
234
javapoet-dsl
Apache License 2.0
lib/geomaglocation/src/main/java/se/gustavkarlsson/skylight/android/lib/geomaglocation/GeomagLocationComponent.kt
gustavkarlsson
128,669,768
false
null
package se.gustavkarlsson.skylight.android.lib.geomaglocation import se.gustavkarlsson.skylight.android.core.services.ChanceEvaluator import se.gustavkarlsson.skylight.android.core.services.Formatter interface GeomagLocationComponent { fun geomagLocationChanceEvaluator(): ChanceEvaluator<GeomagLocation> fun...
0
Kotlin
2
5
4726d86c7ae6c0333e78d1d8cde9a7658ff67cd7
635
skylight-android
MIT License
app-feature/home/src/iosMain/kotlin/dev/sergiobelda/todometer/app/feature/home/ui/HomeMoreDropdownMenu.kt
serbelga
301,817,067
false
{"Kotlin": 553475, "Swift": 763}
/* * Copyright 2023 <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...
8
Kotlin
37
585
9a097cd4df924cbf66c0b6af6fa1fed667d30ca0
1,996
Todometer-KMP
Apache License 2.0
app/shared/feature-flag/public/src/commonMain/kotlin/build/wallet/feature/flags/UtxoMaxConsolidationCountFeatureFlag.kt
proto-at-block
761,306,853
false
{"C": 10474259, "Kotlin": 8243078, "Rust": 2779264, "Swift": 893661, "HCL": 349246, "Python": 338898, "Shell": 136508, "TypeScript": 118945, "C++": 69203, "Meson": 64811, "JavaScript": 36398, "Just": 32977, "Ruby": 13559, "Dockerfile": 5934, "Makefile": 3915, "Open Policy Agent": 1552, "Procfile": 80}
package build.wallet.feature.flags import build.wallet.feature.FeatureFlag import build.wallet.feature.FeatureFlagDao import build.wallet.feature.FeatureFlagValue class UtxoMaxConsolidationCountFeatureFlag( featureFlagDao: FeatureFlagDao, ) : FeatureFlag<FeatureFlagValue.DoubleFlag>( identifier = "mobile-utxo-c...
3
C
16
113
694c152387c1fdb2b6be01ba35e0a9c092a81879
631
bitkey
MIT License
moreapps/src/main/java/io/github/raghavsatyadev/moreapps/utils/MoreAppsPrefUtil.kt
raghavsatyadev
163,333,560
false
null
@file:Suppress("MemberVisibilityCanBePrivate") package io.github.raghavsatyadev.moreapps.utils import android.content.Context import android.text.TextUtils import com.google.gson.Gson import com.google.gson.JsonSyntaxException import com.google.gson.reflect.TypeToken import io.github.raghavsatyadev.moreapps.kotlinFil...
0
Kotlin
5
4
5d90235d130a29d738d7adc9df213630b7607379
5,496
MoreApps
Apache License 2.0
src/main/kotlin/com/palmlang/palm/frontend/palm/ast/Paths.kt
PalmLang
241,457,986
false
null
package com.palmlang.palm.frontend.palm.ast import com.palmlang.palm.util.TokenIndex sealed interface PathIdent { val index: TokenIndex data class This(override val index: TokenIndex) : PathIdent data class Super(override val index: TokenIndex) : PathIdent data class Error(override val index: TokenIn...
0
Kotlin
0
2
e3e539d439be7e8a5b3f517eaa6fec3423c430de
410
Palm
Apache License 2.0
MyPayTemplate/app/src/main/java/br/uea/transirie/mypay/mypaytemplate2/model/ClienteMinimal.kt
gldnjmat17
438,400,051
false
{"Kotlin": 501915}
package br.uea.transirie.mypay.mypaytemplate2.model /** * Esta classe é utilizada para simplificar o retorno de uma consulta por clientes. Ao invés de * retornar a classe completa, retorna apenas os atributos mais relevantes. * O nome das propriedades deve casar com o nome da classe que ela simplifica (nesse caso, ...
0
Kotlin
0
0
bef2b21101aee9c8f985498532385eee18cb0e05
396
MyPets---Aplicativo
MIT License
app/src/main/java/chat/rocket/android/helper/ImageHelper.kt
RocketChat
48,179,404
false
null
package chat.rocket.android.helper import android.Manifest import android.app.Activity import android.content.Context import android.graphics.Color import android.graphics.Typeface import android.media.MediaScannerConnection import android.os.Environment import android.text.TextUtils import android.util.TypedValue imp...
283
null
6
877
f832d59cb2130e5c058f5d9e9de5ff961d5d3380
6,626
Rocket.Chat.Android
MIT License
src/main/kotlin/no/nav/syfo/dialogmote/database/MotedeltakerArbeidsgiverVarselQuery.kt
navikt
331,892,633
false
null
package no.nav.syfo.dialogmote.database import com.fasterxml.jackson.core.type.TypeReference import no.nav.syfo.application.database.DatabaseInterface import no.nav.syfo.application.database.toList import no.nav.syfo.dialogmote.database.domain.PMotedeltakerArbeidsgiverVarsel import no.nav.syfo.dialogmote.domain.* impo...
6
Kotlin
1
0
e7a334eebbbc5ce316772ba2a94fe62acfa6e1e6
6,959
isdialogmote
MIT License
app/src/main/java/com/karrar/movieapp/utilities/FormFieldState.kt
Salmon-family
540,624,429
false
{"Kotlin": 445900}
package com.karrar.movieapp.utilities sealed class FormFieldState { object Valid : FormFieldState() data class InValid(val message: String) : FormFieldState() fun errorMessage() = if (this is InValid) message else null fun isValid(): Boolean { return this is Valid } }
1
Kotlin
26
76
d8aa22e528208c42d89a3574f1da025a49f23aed
300
MovieApp
Apache License 2.0
android/configurations/testSrc/com/android/tools/idea/configurations/TargetMenuActionTest.kt
JetBrains
60,701,247
false
null
/* * Copyright (C) 2023 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
3
null
230
912
d88742a5542b0852e7cb2dd6571e01576cb52841
6,291
android
Apache License 2.0
app/src/main/java/com/frafio/myfinance/data/storage/UserStorage.kt
francescofiorella
360,818,457
false
{"Kotlin": 226836}
package com.frafio.myfinance.data.storage import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import com.frafio.myfinance.data.model.User import com.google.firebase.auth.FirebaseUser import java.util.Calendar object MyFinanceStorage { private var privateUser: User? = null val user: Us...
0
Kotlin
0
1
a6d1f6b955ca386085a8e15f8a03fc2287761678
1,586
MyFinance
MIT License
cloudopt-next-web/src/test/kotlin/net/cloudopt/next/web/test/controller/SockController.kt
lhongjum
337,297,274
true
{"Kotlin": 321835, "Java": 20762, "HTML": 4306, "Handlebars": 149, "FreeMarker": 148, "CSS": 23}
/* * Copyright 2017-2020 original 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 or agr...
0
null
0
0
b370d261955973fc5a23400ddc11c00dfc2094d3
1,159
cloudopt-next
Apache License 2.0
jvm/src/main/kotlin/org/amshove/kluent/FileBacktick.kt
MarkusAmshove
51,317,191
false
null
package org.amshove.kluent import java.io.File fun File.`should exist`() = this.shouldExist() fun File.`should not exist`() = this.shouldNotExist() fun File.`should be dir`() = this.shouldBeDir() fun File.`should not be dir`() = this.shouldNotBeDir() fun File.`should be file`() = this.shouldBeFile() fun File.`shoul...
12
Kotlin
65
836
b714b62dec562682d25b2d0240814c9fb301464b
936
Kluent
MIT License
test_runner/src/test/kotlin/ftl/util/StopWatchTest.kt
samtstern
286,730,731
false
null
package ftl.util import com.google.common.truth.Truth.assertThat import org.junit.Test class StopWatchTest { @Test(expected = FlankGeneralError::class) fun `stopWatch errorOnCheckWithoutStart`() { StopWatch().check() } @Test fun `stopWatch recordTime`() { val watch = StopWatch()....
1
null
1
2
43c1635497a00bea465f5ff25029448506d46dfe
449
flank
Apache License 2.0
lib/android/src/main/java/cn/qiuxiang/react/baidumap/CoordinateTransformUtil.kt
MarkRunWu
160,131,277
true
{"Kotlin": 56095, "JavaScript": 54696, "Objective-C": 33450, "TypeScript": 16681, "Ruby": 1814, "Java": 1589}
package cn.qiuxiang.react.baidumap import cn.qiuxiang.react.baidumap.CoordinateTransformUtil.gcj02tobd09 import cn.qiuxiang.react.baidumap.CoordinateTransformUtil.gcj02towgs84 import com.baidu.mapapi.model.LatLng /** * 百度坐标(BD09)、国测局坐标(火星坐标,GCJ02)、和WGS84坐标系之间的转换的工具 * * * 参考 https://github.com/wandergis/coordtrans...
0
Kotlin
0
0
1ff5324907ec37dfb614bdb879e9900016374465
5,734
react-native-baidumap-sdk
MIT License
palumu-lib/src/main/java/tw/invictus/palumu/ScalablePageFrame.kt
ivanisidrowu
125,709,512
false
null
package tw.invictus.palumu import android.content.Context import android.support.constraint.ConstraintLayout import android.support.constraint.ConstraintSet import android.support.v4.app.Fragment import android.support.v4.app.FragmentManager import android.support.v4.view.MotionEventCompat import android.support.v4.vi...
0
Kotlin
14
76
13140af519f50931584f519ea78b2d3c6e86231e
13,046
palumu
Apache License 2.0
mobile-common-lib/src/commonMain/kotlin/fi/riista/common/domain/harvest/sync/dto/HarvestDTO.kt
suomenriistakeskus
78,840,058
false
{"Gradle": 4, "Java Properties": 2, "Shell": 2, "Text": 4, "Ignore List": 2, "Batchfile": 1, "Git Attributes": 1, "Markdown": 4, "Gradle Kotlin DSL": 1, "Kotlin": 1344, "XML": 401, "Java": 161, "Protocol Buffer": 1, "JSON": 1}
package fi.riista.common.domain.harvest.sync.dto import fi.riista.common.domain.dto.HarvestSpecimenDTO import fi.riista.common.domain.dto.PersonWithHunterNumberDTO import fi.riista.common.domain.dto.toHarvestSpecimen import fi.riista.common.domain.dto.toPersonWithHunterNumber import fi.riista.common.domain.groupHuntin...
0
Kotlin
0
3
23645d1abe61c68d649b6d0ca1d16556aa8ffa16
5,908
oma-riista-android
MIT License
HTTPShortcuts/app/src/main/kotlin/ch/rmy/android/http_shortcuts/activities/remote_edit/RemoteEditViewModel.kt
Waboodoo
34,525,124
false
null
package ch.rmy.android.http_shortcuts.activities.remote_edit import android.app.Application import androidx.core.net.toUri import androidx.lifecycle.viewModelScope import ch.rmy.android.framework.extensions.context import ch.rmy.android.framework.extensions.logException import ch.rmy.android.framework.utils.localizati...
18
Kotlin
100
749
72abafd7e3bbe68647a109cb4d5a1d3b97a73d31
7,589
HTTP-Shortcuts
MIT License
payment-library/src/test/java/ru/modulkassa/payment/library/domain/PaymentTerminalImplTest.kt
modulkassa
647,749,589
false
null
package ru.modulkassa.payment.library.domain import com.google.common.truth.Truth import com.google.gson.Gson import com.nhaarman.mockitokotlin2.any import com.nhaarman.mockitokotlin2.argumentCaptor import com.nhaarman.mockitokotlin2.doReturn import com.nhaarman.mockitokotlin2.mock import com.nhaarman.mockitokotlin2.v...
0
Kotlin
0
1
66f0543e53bb38275157f882aac94f161bf54ab9
9,674
payment-android-sdk
MIT License
helm-plugin/src/test/kotlin/com/citi/gradle/plugins/helm/command/internal/FileUtilsTest.kt
2lambda123
748,592,455
false
{"Kotlin": 549953, "Batchfile": 87, "Shell": 80}
package com.citi.gradle.plugins.helm.command.internal import io.kotest.assertions.throwables.shouldThrowAny import io.kotest.matchers.collections.beEmpty import io.kotest.matchers.file.exist import io.kotest.matchers.should import io.kotest.matchers.shouldBe import io.kotest.matchers.shouldNot import io.mockk.every im...
0
Kotlin
0
0
4335722bca8a61d605ee79e548758e2e2ebdba35
1,454
Citi-gradle-helm-plugin
MIT License
src/main/kotlin/io/digturtle/gradle/accu/yml/AccuYmlPlugin.kt
dig-turtle
160,903,538
false
null
package io.digturtle.gradle.accu.yml import org.gradle.api.Plugin import org.gradle.api.Project import io.digturtle.gradle.accu.yml.Tasks.check import io.digturtle.gradle.accu.yml.Tasks.accuYml /** * The main entry point to the AccuYmlPlugin. * * This plugin runs under the 'check' lifecycle phase by default. * T...
0
Kotlin
0
0
938f360cfb5018b5bbcef1894d8791615115a864
927
accu-yml
Apache License 2.0
src/jvmMain/kotlin/prime/template/interpreter/IncludeInstruction.kt
fantaevroman
415,853,010
false
{"Kotlin": 21526}
package prime.template.interpreter import prime.combinator.pasers.* import prime.combinator.pasers.implementations.* class IncludeInstruction() : BlockInstruction("Block") { private val sequenceOf = SequenceOf( Str("include"), Spaces(), DoubleQuote(), CustomWord(EnglishLetter().asC...
0
Kotlin
0
0
fe075627e403b7454e2accef50022eccabdd3206
1,581
primeTemplate
Apache License 2.0
src/commonMain/kotlin/br/darthweigert/service/RoomService.kt
darth-weigert
843,393,138
false
{"Kotlin": 64971, "Shell": 3185, "Batchfile": 2989}
package br.darthweigert.service import br.darthweigert.geometry.Polygon import br.darthweigert.geometry.Triangle import br.darthweigert.algorithm.Triangulation import br.darthweigert.geometry.PolygonHole import br.darthweigert.geometry.toVectorPath import br.darthweigert.math.nextRandomGray import korlibs.korge.view.C...
0
Kotlin
0
0
cc6e156fc0a7b87162052e3c9c58434e6ee75878
3,775
bot-algorithms
MIT License
cpg-language-go/src/main/kotlin/de/fraunhofer/aisec/cpg/frontends/golang/GoLanguageFrontend.kt
Fraunhofer-AISEC
225,386,107
false
null
/* * Copyright (c) 2021, Fraunhofer AISEC. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless require...
85
Kotlin
52
177
4c54110cf2bb1d24230216bc6060fb93282528f6
10,802
cpg
Apache License 2.0
dsl/src/main/kotlin/cloudshift/awscdk/dsl/services/neptune/_BuildableLastArgumentExtensions.kt
cloudshiftinc
667,063,030
false
null
@file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION") package cloudshift.awscdk.dsl.services.neptune import kotlin.Unit import software.amazon.awscdk.services.neptune.CfnDBCluster /** * Contains...
1
Kotlin
0
0
17c41bdaffb2e10d31b32eb2282b73dd18be09fa
698
awscdk-dsl-kotlin
Apache License 2.0
src/main/kotlin/dev/wigger/mood/entry/EntryRepository.kt
LukasW01
796,396,744
false
{"Kotlin": 29446, "HTML": 28991, "Dockerfile": 652, "Shell": 221}
package dev.wigger.mood.entry import io.quarkus.hibernate.orm.panache.PanacheRepository import jakarta.enterprise.context.ApplicationScoped import java.util.UUID @ApplicationScoped class EntryRepository : PanacheRepository<Entry> { fun findByUserId(userId: Long): List<Entry>? = find("user.id = ?1", userId).list()...
0
Kotlin
0
0
f54a5b8336d01591c6f3f92af2de5fd510ab2a5e
877
mood-quarkus
MIT License
ontrack-extension-gitlab/src/main/java/net/nemerosa/ontrack/extension/gitlab/property/GitLabProjectConfigurationProperty.kt
nemerosa
19,351,480
false
null
package net.nemerosa.ontrack.extension.gitlab.property import net.nemerosa.ontrack.extension.gitlab.model.GitLabConfiguration import net.nemerosa.ontrack.model.support.ConfigurationProperty /** * @property configuration Link to the GitLab configuration * @property issueServiceConfigurationIdentifier ID to the [net....
57
Kotlin
27
97
7c71a3047401e088ba0c6d43aa3a96422024857f
775
ontrack
MIT License
src/main/kotlin/Plane.kt
TommiDL
768,012,759
false
{"Kotlin": 100450}
package org.example import kotlin.math.sqrt import kotlin.math.truncate /** *A 3D infinite plane parallel to the x and y axis and passing through the origin * */ class Plane(val trasformation:Transformation=Transformation()):Shape { /** * checks if a ray intersects the plane * @param Ray * @return ...
4
Kotlin
0
0
91460e40467bd55133f5189de7cba89098b813a5
1,585
LITracer
Apache License 2.0
platform/platform-impl/src/com/intellij/ide/ui/laf/darcula/ui/OnboardingDialogButtons.kt
JetBrains
2,489,216
false
null
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. package com.intellij.ide.ui.laf.darcula.ui import com.intellij.ui.JBColor import com.intellij.util.ui.JBUI import org.jetbrains.annotations.Nls import java.awt.Color import java.awt.Dimension import...
7
null
5079
16,158
831d1a4524048aebf64173c1f0b26e04b61c6880
3,819
intellij-community
Apache License 2.0
codegen/src/main/kotlin/com/android/designcompose/codegen/BuilderProcessor.kt
google
624,923,090
false
null
/* * Copyright 2023 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...
97
null
9
94
3d8f2e9f5e39ff32476e6d3ee3e576e9e612b339
56,009
automotive-design-compose
Apache License 2.0
hazelnet-community/src/main/kotlin/io/hazelnet/community/controllers/DiscordGiveawayController.kt
nilscodes
446,203,879
false
{"TypeScript": 1045486, "Kotlin": 810416, "Dockerfile": 4476, "Shell": 1830, "JavaScript": 1384}
package io.hazelnet.community.controllers import io.hazelnet.community.data.discord.giveaways.DiscordGiveaway import io.hazelnet.community.data.discord.giveaways.DiscordGiveawayPartial import io.hazelnet.community.services.DiscordGiveawayService import org.springframework.http.HttpStatus import org.springframework.htt...
0
TypeScript
4
13
79f8b096f599255acb03cc809464d0570a51d82c
4,687
hazelnet
Apache License 2.0
app/src/main/java/com/vitorpamplona/amethyst/ui/components/UrlPreviewCard.kt
vitorpamplona
587,850,619
false
null
package com.vitorpamplona.amethyst.ui.components import androidx.compose.foundation.border import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Row import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.foundatio...
63
null
40
795
53a5d3e88e10bc5d5d181430ae7a82fb8ce56278
2,946
amethyst
MIT License
compiler/testData/diagnostics/testsWithStdLib/contracts/smartcasts/nullabilitySmartcastWhenNullability.kt
JakeWharton
99,388,807
false
null
// !LANGUAGE: +AllowContractsForCustomFunctions +UseReturnsEffect // !OPT_IN: kotlin.contracts.ExperimentalContracts // !DIAGNOSTICS: -INVISIBLE_REFERENCE -INVISIBLE_MEMBER import kotlin.contracts.* fun nullWhenNull(x: Int?): Int? { contract { returnsNotNull() implies (x != null) } return x?.inc()...
34
null
5748
83
4383335168338df9bbbe2a63cb213a68d0858104
1,313
kotlin
Apache License 2.0
app/src/main/kotlin/io/element/android/x/initializer/TracingInitializer.kt
element-hq
546,522,002
false
{"Kotlin": 8692554, "Python": 57175, "Shell": 39911, "JavaScript": 20399, "Java": 9607, "HTML": 9416, "CSS": 2519, "Ruby": 44}
/* * 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...
263
Kotlin
67
955
31d0621fa15fe153bfd36104e560c9703eabe917
3,311
element-x-android
Apache License 2.0
app/src/main/java/com/hulkrent/app/ui/profile/about/why_Host/SlidingImageAdapter.kt
Hulk-Cars
772,120,218
false
{"Kotlin": 2511410, "Java": 358761}
package com.hulkrent.app.ui.profile.about.why_Host import android.content.Context import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.ImageView import android.widget.TextView import androidx.viewpager.widget.PagerAdapter import com.hulkrent.app.Constants impo...
0
Kotlin
0
0
9886a3455e3d404110a85cdaaf5bbff449390814
1,659
Hulk-Rent-Android
Artistic License 1.0 w/clause 8
src/main/kotlin/swyg/hollang/entity/TestResponse.kt
MOKY4
645,608,258
false
null
package swyg.hollang.entity import jakarta.persistence.* import jakarta.persistence.CascadeType.ALL import jakarta.persistence.FetchType.LAZY import swyg.hollang.entity.common.BaseTimeEntity @Entity class TestResponse private constructor( @OneToOne(fetch = LAZY, cascade = [ALL], orphanRemoval = true) @JoinCo...
0
Kotlin
0
0
26962b5afda62540e9177fe8a7194074fcec3093
1,349
hollang-weeks52-api-server
MIT License
plugins/kotlin/code-insight/inspections-shared/src/org/jetbrains/kotlin/idea/codeInsight/inspections/shared/collections/AbstractUselessCallInspection.kt
JetBrains
2,489,216
false
null
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. package org.jetbrains.kotlin.idea.codeInsight.inspections.shared.collections import com.intellij.codeInspection.ProblemsHolder import org.jetbrains.kotlin.analysis.api.KaSession import org.jetbrains...
284
null
5162
16,707
def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0
4,621
intellij-community
Apache License 2.0
combustion-android-ble/src/main/java/inc/combustion/framework/service/ProbeID.kt
combustion-inc
463,664,807
false
{"Kotlin": 607897}
/* * Project: Combustion Inc. Android Framework * File: ProbeID.kt * Author: https://github.com/miwright2 * * MIT License * * Copyright (c) 2022. Combustion Inc. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Softwar...
0
Kotlin
0
4
7b30d50974076c4f8355b5a8acd6f52d7c98f0f2
2,358
combustion-android-ble
MIT License
app/src/main/java/com/bruno13palhano/shopdanimanagement/ui/screens/catalog/CatalogScreen.kt
bruno13palhano
670,001,130
false
{"Kotlin": 1278676}
package com.bruno13palhano.shopdanimanagement.ui.screens.catalog import android.content.res.Configuration.UI_MODE_NIGHT_YES import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.PaddingValues import androidx.compose.foundation.l...
0
Kotlin
0
2
c55b8f8f9fccb42ce9b5a99a309e41bd2ec0b5b2
8,280
shop-dani-management
MIT License
hexagon_core/src/main/kotlin/ResourceNotFoundException.kt
ramyaravindranath
369,034,896
true
{"Kotlin": 598350, "HTML": 22972, "CSS": 1770, "JavaScript": 1420}
package com.hexagonkt import java.io.IOException class ResourceNotFoundException(message: String) : IOException(message)
0
null
0
1
15cab055df5bc100e5dd1b79e74f2c24b2a4ea7c
123
hexagon
MIT License
src/main/kotlin/com/hypto/iam/server/Constants.kt
hwslabs
455,187,437
false
null
package com.hypto.iam.server import com.hypto.iam.server.models.PaginationOptions class Constants private constructor() { // Validation constants companion object { const val MIN_LENGTH = 2 const val MIN_USERNAME_LENGTH = 8 const val MIN_EMAIL_LENGTH = 4 const val MAX_NAME_LENG...
20
null
3
15
b06cdd32d7b4080f887887bcc881bf38938de8eb
1,256
iam
MIT License
test-suite-kotlin-ksp/src/test/kotlin/io/micronaut/jackson/JacksonNullableTest.kt
micronaut-projects
124,230,204
false
{"Java": 13018207, "Groovy": 7010109, "Kotlin": 1674872, "HTML": 143, "Shell": 14}
package io.micronaut.jackson import com.fasterxml.jackson.databind.ObjectMapper import io.micronaut.test.extensions.junit5.annotation.MicronautTest import org.junit.jupiter.api.Assertions import org.junit.jupiter.api.Test @MicronautTest class JacksonNullableTest { @Test fun testDefaultValue(objectMapper: Obj...
753
Java
1061
6,059
c9144646b31b23bd3c4150dec8ddd519947e55cf
1,192
micronaut-core
Apache License 2.0
src/macosMain/kotlin/com/jetbrains/handson/handson/init/FileIO.kt
kotlin-hands-on
254,169,194
false
null
package com.jetbrains.handson.handson.init import kotlinx.cinterop.ByteVar import kotlinx.cinterop.allocArray import kotlinx.cinterop.memScoped import kotlinx.cinterop.toKString import platform.posix.* class FileIO() { fun readFile(filename: String): String { val file = fopen(filename, "r") ?...
1
Kotlin
2
9
b3efa02c8a98d5fc6fe2f450b76d6f79e18b355a
1,313
hands-on-init
Apache License 2.0
platforms/hermes-kotlin/hermes-kotlin-test/src/test/kotlin/FfiTest.kt
elbywan
209,998,549
true
{"Rust": 368079, "Python": 216780, "Kotlin": 96118, "TypeScript": 86389, "C": 78170, "JavaScript": 20296, "Shell": 7261}
import ai.snips.hermes.AsrDecodingDuration import ai.snips.hermes.AsrToken import ai.snips.hermes.AsrTokenRange import ai.snips.hermes.ContinueSessionMessage import ai.snips.hermes.DialogueConfigureIntent import ai.snips.hermes.DialogueConfigureMessage import ai.snips.hermes.EndSessionMessage import ai.snips.hermes.Her...
0
null
0
0
da23326f026fbfb8a23413c78383301e523188f3
23,062
hermes-protocol
Apache License 2.0
simplified-tests/src/test/java/org/nypl/simplified/tests/http/refresh_token/time_tracking/TimeTrackingRefreshTokenTest.kt
ThePalaceProject
367,082,997
false
{"Kotlin": 3317583, "JavaScript": 853788, "Java": 374503, "CSS": 65407, "HTML": 49220, "Shell": 5017, "Ruby": 178}
package org.nypl.simplified.tests.http.refresh_token.time_tracking import android.content.Context import com.fasterxml.jackson.databind.ObjectMapper import okhttp3.mockwebserver.MockResponse import okhttp3.mockwebserver.MockWebServer import org.junit.jupiter.api.AfterEach import org.junit.jupiter.api.Assertions import...
1
Kotlin
4
8
f68b6907367e2213f1dcde700ca5c91f2f515ada
5,610
android-core
Apache License 2.0
src/main/kotlin/com/github/jyc228/keth/client/ApiResult.kt
jyc228
833,953,853
false
{"Kotlin": 217816, "Solidity": 5515}
package com.github.jyc228.keth.client import com.github.jyc228.jsonrpc.JsonRpcError import com.github.jyc228.jsonrpc.JsonRpcException import com.github.jyc228.jsonrpc.JsonRpcRequest import com.github.jyc228.jsonrpc.JsonRpcResponse import kotlinx.coroutines.channels.Channel import kotlinx.serialization.json.JsonElement...
0
Kotlin
0
2
4fd6f900b4e80b5f731090f33c1ddc10c6ede9ca
2,644
keth-client
Apache License 2.0
compiler/testData/diagnostics/testsWithStdLib/when/noTypeArgumentsInConstructor.kt
JakeWharton
99,388,807
true
null
// !WITH_NEW_INFERENCE import java.util.* fun <T> nullable(x: T): T? = x @Suppress("UNUSED_PARAMETER") fun <T> select(x1: T, x2: T): T = x1 val test1 = listOf(1, 2, 3).mapNotNullTo(ArrayList()) { if (true) nullable(it) else null } val test2: MutableList<Int?> = listOf(1, 2, 3).m...
181
Kotlin
5748
83
4383335168338df9bbbe2a63cb213a68d0858104
1,089
kotlin
Apache License 2.0
octicons/src/commonMain/kotlin/com/woowla/compose/icon/collections/octicons/octicons/ShieldX16.kt
walter-juan
868,046,028
false
{"Kotlin": 34345428}
package com.woowla.compose.icon.collections.octicons.octicons import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap.Companion.Butt import androidx.compose.ui.graphics.Stro...
0
Kotlin
0
3
eca6c73337093fbbfbb88546a88d4546482cfffc
4,031
compose-icon-collections
MIT License
app/src/main/java/com/weather/data/DataManager.kt
eltohamy
251,126,528
false
null
package com.weather.data import com.weather.data.remote.RemoteApi import javax.inject.Inject import javax.inject.Singleton /** * Created by Tohamy on 30/03/2020 */ @Singleton class DataManager @Inject constructor(val remoteApi: RemoteApi)
0
Kotlin
0
0
1adb3696d8dc744f89607301c4243a0db632f1f8
243
weather
Apache License 2.0
app/src/main/java/com/ml512/mvp/demo/ui/fragment/TestFragmentDialog.kt
malong512
203,532,099
false
{"Java": 12644, "Kotlin": 4611}
package com.ml512.mvp.demo.ui.fragment import android.os.Bundle import android.view.View import android.widget.Toast import com.ml512.base.BaseDialogFragment import com.ml512.mvp.demo.R import kotlinx.android.synthetic.main.dialog_fragment_test.* /** * 功能描述:测试弹窗 * Created by MaLong on 2019-08-21 18:09. */ class Te...
1
null
1
1
9fc34cd756e5d4c98d319382b15bf07c124da780
1,491
mvp
Apache License 2.0
samples/server/petstore/kotlin-springboot/src/main/kotlin/org/openapitools/model/User.kt
mooreliving777
608,792,838
true
{"Ruby": 533, "Shell": 384, "Dockerfile": 32, "Batchfile": 112, "Markdown": 7416, "SQL": 71, "Kotlin": 1508, "INI": 208, "Java": 8970, "Scala": 284, "C#": 3015, "TypeScript": 1105, "Python": 3771, "Makefile": 16, "Rust": 188, "JavaScript": 462, "HTML": 116, "Swift": 963, "Perl": 148, "Gradle Kotlin DSL": 19, "Java Prop...
package org.openapitools.model import java.util.Objects import com.fasterxml.jackson.annotation.JsonProperty import javax.validation.constraints.* import javax.validation.Valid /** * A User who is purchasing from the pet store * @param id * @param username * @param firstName * @param lastName * @param email...
2
null
2
1
31c3a40b4c7982eed7e42c3759a82aed4ad77de4
973
openapi-generator
Apache License 2.0
app/src/test/java/com/pierbezuhoff/clonium/models/animation/Generators.kt
pier-bezuhoff
196,375,991
false
{"Gradle": 3, "YAML": 1, "Java Properties": 2, "Shell": 14, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "JSON": 1, "Java": 1, "Kotlin": 61, "XML": 36, "HTML": 1, "Emacs Lisp": 1}
@file:Suppress("TestFunctionName") package com.pierbezuhoff.clonium.models.animation import com.pierbezuhoff.clonium.utils.Milliseconds import io.kotlintest.properties.Gen fun <A> ConstAdvancer(result: A, duration: Milliseconds, blocking: Boolean): Advancer<A> = object : Advancer<A>(duration, if (blocking) durat...
7
Kotlin
2
6
aaa5dcef4f81c0d7630af2acace7d9daa633b7b6
1,737
Clonium4Android
Apache License 2.0
app/src/main/java/uz/javokhirjambulov/notes/database/DeletedNoteDatabase.kt
JavokhirJambulov
514,119,906
false
null
package uz.javokhirjambulov.notes.database import android.content.Context import androidx.room.Database import androidx.room.Room import androidx.room.RoomDatabase @Database(entities = [Note::class], version = 1) abstract class DeletedNoteDatabase: RoomDatabase(){ companion object { private var notesData...
0
null
1
3
27e79c981969cb9b3dc9285181daebbdec37a484
852
Notes-App-Android
Apache License 2.0
src/main/java/morefirework/mod/item/FirePasteItem.kt
Sparkierkan7
617,247,442
false
null
package morefirework.mod.item import net.minecraft.item.Item class FirePasteItem : Item { constructor(settings: Settings?) : super(settings) { } }
0
Kotlin
0
0
298d3b06c408b2c93ef379b4ab693905d07270a7
161
more_explosives_mod
MIT License
src/test/kotlin/dev/monosoul/jooq/functional/PropertiesConfigurationJooqDockerPluginFunctionalTest.kt
monosoul
497,003,599
false
null
package dev.monosoul.jooq.functional import dev.monosoul.jooq.container.PostgresContainer import org.gradle.testkit.runner.TaskOutcome.SUCCESS import org.junit.jupiter.api.Test import strikt.api.expect import strikt.assertions.isEqualTo import strikt.java.exists class PropertiesConfigurationJooqDockerPluginFunctional...
2
Kotlin
5
9
f3cc5cbaf77e3a2a22c767fee75de4f809cea477
9,906
jooq-gradle-plugin
Apache License 2.0
java/src/main/java/trinsic/services/provider/v1/ProviderOuterClassGrpcKt.kt
trinsic-id
361,889,702
false
null
package trinsic.services.provider.v1 import io.grpc.CallOptions import io.grpc.CallOptions.DEFAULT import io.grpc.Channel import io.grpc.Metadata import io.grpc.MethodDescriptor import io.grpc.ServerServiceDefinition import io.grpc.ServerServiceDefinition.builder import io.grpc.ServiceDescriptor import io.grpc.Status ...
8
Dart
15
25
fd7439f78b1bb2c72db8ca91c11659e618974694
29,407
sdk
Apache License 2.0
Kuery/src/main/kotlin/com/sxtanna/db/struct/SqlType.kt
camdenorrb
190,177,971
true
{"Kotlin": 95560}
package com.sxtanna.db.struct import com.sxtanna.db.struct.SqlType.Attribute.* import com.sxtanna.db.type.Named import kotlin.reflect.KClass /** * Defines the supported SQL Types of this DSL * * These descriptions are 100% copy-pasted from my best friend "HeidiSQL", don't @ me if they are wrong, make an issue pls ...
0
Kotlin
0
0
28388edf5a67889430246312d5b46db3b16f204b
10,354
KDatabases
Apache License 2.0