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/testData/intentions/toInfixCall/doubleFunctionCall.kt
staltz
38,581,975
true
{"Java": 15450397, "Kotlin": 8578737, "JavaScript": 176060, "HTML": 22810, "Lex": 17327, "Protocol Buffer": 13024, "ANTLR": 9689, "CSS": 9431, "Shell": 3931, "IDL": 3257, "Groovy": 3010, "Batchfile": 2831}
fun foo(x: Int) { (x.<caret>times(1)).div(2) }
0
Java
0
1
80074c71fa925a1c7173e3fffeea4cdc5872460f
51
kotlin
Apache License 2.0
app/src/main/java/org/stepic/droid/configuration/ConfigImpl.kt
StepicOrg
42,045,161
false
null
package org.stepic.droid.configuration import android.content.Context import com.google.gson.FieldNamingPolicy import com.google.gson.GsonBuilder import org.stepic.droid.di.AppSingleton import org.stepic.droid.web.Api import java.io.InputStreamReader import java.nio.charset.Charset import javax.inject.Inject @AppSing...
13
null
54
189
dd12cb96811a6fc2a7addcd969381570e335aca7
3,267
stepik-android
Apache License 2.0
src/main/kotlin/com/aemtools/lang/htl/file/HtlFileViewProvider.kt
iannovic
107,144,305
true
{"Kotlin": 574047, "HTML": 14948, "Java": 4019, "Lex": 3652}
package com.aemtools.lang.htl.file import com.aemtools.lang.htl.HtlLanguage.getDefaultTemplateLang import com.aemtools.lang.htl.psi.HtlTypes.HEL import com.aemtools.lang.htl.psi.HtlTypes.OUTER_LANGUAGE import com.intellij.lang.Language import com.intellij.lang.LanguageParserDefinitions import com.intellij.lang.ParserD...
0
Kotlin
0
0
d9c1558872fd5e32f18e0bab0afa8f4495da95b0
3,981
aemtools
MIT License
compose/src/main/java/dev/medzik/android/compose/ui/textfield/AnimatedTextFieldBadge.kt
M3DZIK
698,762,035
false
{"Kotlin": 116204}
package dev.medzik.android.compose.ui.textfield import androidx.compose.animation.animateColorAsState import androidx.compose.animation.animateContentSize import androidx.compose.foundation.layout.Row import androidx.compose.foundation.layout.padding import androidx.compose.material3.MaterialTheme import androidx.comp...
0
Kotlin
0
2
bb2fed8304f2bb20429549f2ea47852d3acecf31
3,422
android-libs
MIT License
app/src/main/java/com/nbmlon/mushroomer/ui/commu/CommuFragmentBoard_hot.kt
nbmLon99
658,672,044
false
{"Kotlin": 222650}
package com.nbmlon.mushroomer.ui.commu import android.os.Bundle import android.util.Log import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.fragment.app.viewModels import com.nbmlon.mushroomer.R import com.nbmlon.mushroomer.data.posts.PostsRepository import com.nbm...
11
Kotlin
0
1
f6441c70f542efd789bbb52a342992e042c9ff5e
2,867
Mushroomer
Apache License 2.0
app/src/main/java/com/vitorpamplona/amethyst/model/Settings.kt
vitorpamplona
587,850,619
false
{"Kotlin": 3777160, "Shell": 1488, "Java": 921}
/** * Copyright (c) 2024 Vitor Pamplona * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in * the Software without restriction, including without limitation the rights to use, * copy, modify, merge, pub...
5
Kotlin
3
995
0bb39f91b9dddf81dcec63f3d97674f26872fbd0
4,081
amethyst
MIT License
kotlinknifer/src/main/java/com/devrapid/kotlinknifer/recyclerview/itemdecorator/VerticalItemDecorator.kt
pokk
87,917,798
false
null
package com.devrapid.kotlinknifer.recyclerview.itemdecorator import android.graphics.Rect import android.view.View import androidx.recyclerview.widget.RecyclerView class VerticalItemDecorator( private val topBottom: Int, private val leftRight: Int = topBottom, ) : RecyclerView.ItemDecoration() { override ...
0
Kotlin
1
2
a389edf7794ba79d7b2e937c134b0c3f811a9185
845
KotlinKnifer
Apache License 2.0
tensorflow/src/main/kotlin/wumo/sim/tensorflow/ops/variables/VariableLike.kt
wumo
305,330,037
false
{"Maven POM": 11, "Text": 7, "Python": 54, "Kotlin": 262, "Protocol Buffer Text Format": 2, "Java": 14, "ANTLR": 1, "Shell": 3, "CMake": 2, "C++": 291, "C": 22, "Prolog": 1, "M4": 3, "TeX": 2, "X PixMap": 1}
package wumo.sim.tensorflow.ops.variables import wumo.sim.tensorflow.core.Graph import wumo.sim.tensorflow.ops.HasName import wumo.sim.tensorflow.ops.Op import wumo.sim.tensorflow.ops.Output import wumo.sim.tensorflow.ops.OutputConvertible import wumo.sim.tensorflow.types.DataType import wumo.sim.util.Shape interface...
1
null
1
1
2a3a5118239b27eeb268cd1e7bdbfe5f5604dab6
4,606
sim-world
MIT License
app/src/main/java/com/faigenbloom/familybudget/repositories/FamilyRepository.kt
ZakharchenkoWork
706,155,222
false
{"Kotlin": 746176}
package com.faigenbloom.familybudget.repositories import com.faigenbloom.familybudget.datasources.BaseDataSource import com.faigenbloom.familybudget.datasources.ID import com.faigenbloom.familybudget.datasources.IdSource import com.faigenbloom.familybudget.datasources.db.entities.FamilyEntity import com.faigenbloom.fa...
0
Kotlin
0
0
e81fa66d6afd5b79d3299583a73378c3ee1463ca
4,276
FamilyBudget
Apache License 2.0
util-ktx/lib-util-ktx/src/main/java/ru/surfstudio/android/utilktx/ktx/ui/activity/ActivityExtension.kt
surfstudio
139,034,657
false
null
/* * Copyright (c) 2019-present, SurfStudio 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 ...
5
null
30
249
6d73ebcaac4b4bd7186e84964cac2396a55ce2cc
1,939
SurfAndroidStandard
Apache License 2.0
cdk/src/main/kotlin/com/shinythings/CognitoStack.kt
Partyschaum
599,731,955
false
null
package com.shinythings import dev.stratospheric.cdk.ApplicationEnvironment import software.amazon.awscdk.Duration import software.amazon.awscdk.Environment import software.amazon.awscdk.Stack import software.amazon.awscdk.StackProps import software.amazon.awscdk.customresources.AwsCustomResource import software.amazo...
3
Kotlin
0
0
84552b54e92ae07e90ab5d739544840c4290187a
11,409
stratospheric-kotlin
MIT License
Plugins/ChatLogger/src/main/kotlin/tw/xserver/plugin/logger/chat/ChatLogger.kt
IceXinShou
830,436,296
false
{"Kotlin": 163517}
package tw.xserver.plugin.logger.chat import net.dv8tion.jda.api.entities.Guild import net.dv8tion.jda.api.entities.IMentionable import net.dv8tion.jda.api.entities.Member import net.dv8tion.jda.api.entities.Message import net.dv8tion.jda.api.entities.channel.concrete.TextChannel import net.dv8tion.jda.api.entities.ch...
0
Kotlin
0
1
5da8e70c066ba9b22ea563c1587edd57cbd1a371
11,400
XsDiscordBotKt
Apache License 2.0
app/src/main/java/com/example/satu/ui/activities/transfer/TransferPinActivity.kt
synrgy-satu
829,466,485
false
{"Kotlin": 221544}
package com.example.satu.ui.activities.transfer import android.content.Context import android.content.Intent import android.graphics.Typeface import android.os.Bundle import android.util.Log import android.view.View import android.widget.LinearLayout import android.widget.TextView import android.widget.Toast import an...
1
Kotlin
0
0
f26cf59385a8112a8649b449d964cc50933ba568
12,121
android-satu
Open Market License
src/main/kotlin/leight/user/LockedUserException.kt
marek-hanzal
259,577,282
false
null
package leight.user open class LockedUserException(message: String, cause: Throwable? = null) : UserException(message, cause)
112
Kotlin
0
1
7a485228438c5fb9a61b1862e8164f5e87361e4a
127
DeRivean
Apache License 2.0
simple-icons/src/commonMain/kotlin/compose/icons/simpleicons/Scopus.kt
DevSrSouza
311,134,756
false
{"Kotlin": 36719092}
package compose.icons.simpleicons import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap.Butt import androidx.compose.ui.graphics.StrokeJoin.Miter import androidx.compose.ui.graphics...
17
Kotlin
25
571
a660e5f3033e3222e3553f5a6e888b7054aed8cd
3,030
compose-icons
MIT License
recruitment-fandom/app/src/main/java/gs/kar/rfandom/MainActivity.kt
mouradaldmi
175,237,266
false
{"Java": 66699, "Kotlin": 47653, "Swift": 2168, "Python": 1967, "Go": 1603}
package gs.kar.rfandom import android.databinding.ObservableArrayList import android.os.Bundle import android.support.v4.app.Fragment import android.support.v4.app.FragmentManager import android.support.v4.app.FragmentPagerAdapter import android.support.v7.app.AppCompatActivity import android.support.v7.widget.GridLay...
0
Java
1
0
7f5dd4cdb2b218088f65062bd19f7b50dcd22134
5,351
challenges
Apache License 2.0
server/server/src/test/kotlin/org/jetbrains/bsp/bazel/server/sync/TargetTagsResolverTest.kt
JetBrains
826,262,028
false
{"Kotlin": 3064918, "Starlark": 370388, "Java": 165158, "Scala": 37245, "Python": 34754, "Lex": 17493, "Dockerfile": 8674, "Shell": 7379, "HTML": 1310, "Rust": 680, "Go": 428, "C++": 113}
package org.jetbrains.bsp.bazel.server.sync import io.kotest.matchers.shouldBe import org.jetbrains.bsp.bazel.info.BspTargetInfo.TargetInfo import org.jetbrains.bsp.bazel.server.model.Tag import org.junit.jupiter.api.Test import org.junit.jupiter.params.ParameterizedTest import org.junit.jupiter.params.provider.ValueS...
2
Kotlin
18
45
1d79484cfdf8fc31d3a4b214655e857214071723
1,976
hirschgarten
Apache License 2.0
src/main/kotlin/io/mustelidae/seaotter/domain/editor/command/ResizeCommand.kt
stray-cat-developers
154,283,194
false
{"Kotlin": 136637, "Shell": 223}
package io.mustelidae.seaotter.domain.editor.command import io.mustelidae.seaotter.domain.editor.image.ImageScalingFlabbyImage import io.mustelidae.seaotter.domain.editor.image.ImgscalrFlabbyImage import java.awt.image.BufferedImage class ResizeCommand(private var bufferedImage: BufferedImage) : EditCommand<ResizeOpt...
2
Kotlin
0
1
db4acbffaa27ca1d0e22a832aecb5ba1cccf61e8
1,352
sea-otter
MIT License
src/test/kotlin/com/glancebar/apiboilerplate/controller/AuthorityControllerTest.kt
yisen-cai
321,651,755
false
null
package com.glancebar.apiboilerplate.controller import com.glancebar.apiboilerplate.service.AuthorityService import org.junit.jupiter.api.Disabled import org.junit.jupiter.api.Test import org.springframework.beans.factory.annotation.Autowired import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigure...
1
Kotlin
0
1
beb48202163b6bd39001661969a2a640bc359734
1,909
api-boilerplate
Apache License 2.0
compiler/src/main/kotlin/io/github/aplcornell/viaduct/circuitcodegeneration/AbstractCodeGenerator.kt
apl-cornell
169,159,978
false
{"Kotlin": 1117382, "Java": 43793, "C++": 13898, "Lex": 12293, "Python": 11983, "Dockerfile": 1951, "Makefile": 1762, "SWIG": 1212, "Shell": 950}
package io.github.aplcornell.viaduct.circuitcodegeneration import com.squareup.kotlinpoet.CodeBlock import com.squareup.kotlinpoet.MemberName import com.squareup.kotlinpoet.PropertySpec import com.squareup.kotlinpoet.TypeName import io.github.aplcornell.viaduct.syntax.Arguments import io.github.aplcornell.viaduct.synt...
31
Kotlin
4
20
567491fdcfd313bf287b8cdd374e80f1e005ac62
4,394
viaduct
MIT License
home/src/main/java/com/pyamsoft/tickertape/home/HomePortfolio.kt
pyamsoft
371,196,339
false
{"Kotlin": 1132677, "Shell": 2191}
/* * Copyright 2024 pyamsoft * * 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...
1
Kotlin
0
7
9b793a0fb08c4bcf87d4f9e2c25628ddf534ba40
5,424
tickertape
Apache License 2.0
app/src/main/java/com/thread0/weather/util/AQIUtil.kt
wuzelong
384,625,570
false
null
/* * @Copyright: 2020-2021 www.thread0.com Inc. All rights reserved. */ package com.thread0.weather.util import com.thread0.weather.R object AQIUtil { /** * 获取AQI对应颜色 */ fun getColor(aqi:Int): Int { return when(aqi){ in 0..50-> R.color.btn_text in 51..100->R.color.y...
0
Kotlin
0
1
00f93f0c656d3734c4d3bb10c66ec94f6e030d7e
1,113
weather
Apache License 2.0
src/main/kotlin/org/wfanet/measurement/reporting/service/api/v2alpha/ReportsService.kt
world-federation-of-advertisers
349,561,061
false
null
/* * Copyright 2023 The Cross-Media Measurement 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
150
null
11
36
ba2d2d8d3d4527d844e6d168273b1c2fabfd5d4e
48,253
cross-media-measurement
Apache License 2.0
compiler/testData/codegen/boxInline/callableReference/classLevel2.kt
JakeWharton
99,388,807
false
null
// Enable when using lambdas as extension lambdas is supported (KT-13312) // IGNORE_BACKEND: JS // FILE: 1.kt package test class A(val z: Int) { fun calc() = z fun test() = call(A(z), A::calc) } inline fun call(p: A, s: A.() -> Int): Int { return p.s() } // FILE: 2.kt import test.* fun box() : String...
179
null
5640
83
4383335168338df9bbbe2a63cb213a68d0858104
397
kotlin
Apache License 2.0
v2-model/src/commonMain/kotlin/com/bselzer/gw2/v2/model/guild/log/JoinedLog.kt
Woody230
388,820,096
false
{"Kotlin": 750899}
package com.bselzer.gw2.v2.model.guild.log import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable /** * The [user] has joined the guild. */ @Serializable @SerialName("joined") class JoinedLog : GuildLog()
2
Kotlin
0
2
7bd43646f94d1e8de9c20dffcc2753707f6e455b
235
GW2Wrapper
Apache License 2.0
web/src/main/kotlin/no/nav/su/se/bakover/web/services/AccessCheckProxy.kt
navikt
227,366,088
false
{"Kotlin": 10056854, "Shell": 4388, "TSQL": 1233, "Dockerfile": 1209}
package no.nav.su.se.bakover.web.services import arrow.core.Either import arrow.core.getOrElse import behandling.domain.Stønadsbehandling import behandling.domain.fradrag.LeggTilFradragsgrunnlagRequest import behandling.klage.domain.KlageId import behandling.klage.domain.UprosessertKlageinstanshendelse import behandli...
9
Kotlin
1
1
fbeb1614c40e0f6fce631d4beb1ba25e2f78ddda
75,337
su-se-bakover
MIT License
teller-android/src/test/java/com/levibostian/teller/TellerTest.kt
levibostian
132,034,933
false
null
package com.levibostian.teller import android.app.Application import android.content.Context import android.content.SharedPreferences import com.google.common.truth.Truth.assertThat import com.levibostian.teller.error.TellerLimitedFunctionalityException import com.levibostian.teller.util.ConstantsUtil import com.nhaar...
25
null
3
15
32772b08cf5d939279c4057386b2bb67d4663569
2,297
Teller-Android
MIT License
src/main/kotlin/com/kalikov/game/EnemyFactoryView.kt
kalikov
696,277,791
false
{"Kotlin": 435569}
package com.kalikov.game class EnemyFactoryView( private val imageManager: ImageManager, private val enemyFactory: EnemyFactory, private val x: Pixel, private val y: Pixel ) { fun draw(surface: ScreenSurface) { val image = imageManager.getImage("enemy") for (i in 0 until enemyFactor...
0
Kotlin
0
0
c531a38c9ef654f06f7beab648dd98285f25d58d
495
battle-city
MIT License
app/src/main/java/com/comunidadedevspace/taskbeats/presentation/TaskListFavoriteFragment.kt
RenanPdeOliveira
615,246,251
false
{"Kotlin": 64621}
package com.comunidadedevspace.taskbeats.presentation import android.os.Bundle import androidx.fragment.app.Fragment import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.core.view.isVisible import androidx.fragment.app.viewModels import androidx.lifecycle.lifecycleS...
0
Kotlin
0
0
d9b08f6a291622d6c5f208f10238f01988db14dc
3,586
TaskBeats
The Unlicense
core/src/main/kotlin/materialui/components/slider/enums/SliderValueLabelDisplay.kt
subroh0508
167,797,152
false
null
package materialui.components.slider.enums @Suppress("EnumEntryName") enum class SliderValueLabelDisplay { on, auto, off }
14
Kotlin
27
81
a959a951ace3b9bd49dc5405bea150d4d53cf162
128
kotlin-material-ui
MIT License
data/src/main/java/com/tamimattafi/pizza/android/data/local/IPizzaLocalDataSource.kt
tamimattafi
428,131,583
false
{"Kotlin": 96172}
package com.tamimattafi.pizza.android.data.local import com.tamimattafi.pizza.domain.model.Pizza import io.reactivex.rxjava3.core.Completable import io.reactivex.rxjava3.core.Flowable interface IPizzaLocalDataSource { fun insert(pizza: Pizza): Completable fun insertAll(pizzaList: List<Pizza>): Completable ...
0
Kotlin
1
0
b0732e71ca1aeb4b6934fa2ec512c61620adc5b9
449
i-pizza-android
Apache License 2.0
src/main/kotlin/com/swisschain/matching/engine/order/process/context/StopLimitOrderContext.kt
swisschain
255,464,363
false
{"Gradle": 2, "Text": 2, "Ignore List": 1, "Markdown": 1, "Kotlin": 578, "XML": 2, "Shell": 2, "Batchfile": 1, "Java": 3, "Protocol Buffer": 14, "Java Properties": 1, "INI": 2, "YAML": 2}
package com.swisschain.matching.engine.order.process.context import com.swisschain.matching.engine.daos.Asset import com.swisschain.matching.engine.daos.LimitOrder import com.swisschain.matching.engine.order.transaction.ExecutionContext import com.swisschain.matching.engine.services.validators.impl.OrderValidationResu...
1
null
1
1
5ef23544e9c5b21864ec1de7ad0f3e254044bbaa
1,351
Exchange.MatchingEngine
Apache License 2.0
telegram-bot/src/jvmTest/kotlin/eu/vendeli/api/chat/ChatInviteLinkMethodsTest.kt
vendelieu
496,567,172
false
{"Kotlin": 925708, "CSS": 356}
package eu.vendeli.api.chat import BotTestContext import ChatTestingOnlyCondition import eu.vendeli.tgbot.api.chat.createChatInviteLink import eu.vendeli.tgbot.api.chat.editChatInviteLink import eu.vendeli.tgbot.api.chat.exportChatInviteLink import eu.vendeli.tgbot.api.chat.revokeChatInviteLink import io.kotest.core.a...
6
Kotlin
6
165
c1ddf4a42c577410af31249dc650858320668263
2,921
telegram-bot
Apache License 2.0
komf-core/src/commonMain/kotlin/snd/komf/providers/mal/MalMetadataProvider.kt
Snd-R
463,859,568
false
{"Kotlin": 694478, "Dockerfile": 582}
package snd.komf.providers.mal import io.github.oshai.kotlinlogging.KotlinLogging import snd.komf.model.Image import snd.komf.providers.MetadataProvider import snd.komf.util.NameSimilarityMatcher import snd.komf.providers.CoreProviders.MAL import snd.komf.model.MatchQuery import snd.komf.model.MediaType import snd.kom...
30
Kotlin
19
309
4c260a3dcd326a5e1d74ac9662eec8124ab7e461
3,951
komf
MIT License
app/src/main/java/co/rahulchowdhury/addtothings/HomeActivity.kt
rahulchowdhury
224,971,234
false
null
package com.sanardev.instagramapijavatest import android.os.Bundle import androidx.appcompat.app.AppCompatActivity class HomeActivity : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContentView(R.layout.activity_home) } }
2
null
6
6
e9ec5c32c8401189932d9291734a1427fe58b1f7
314
add-to-things
Apache License 2.0
browser-kotlin/src/jsMain/kotlin/web/gpu/GPUShaderModuleDescriptor.kt
karakum-team
393,199,102
false
{"Kotlin": 6272741}
// Automatically generated - do not modify! package web.gpu import kotlinx.js.JsPlainObject @JsPlainObject external interface GPUShaderModuleDescriptor : GPUObjectDescriptorBase { var code: String var sourceMap: Any? }
0
Kotlin
8
36
95b065622a9445caf058ad2581f4c91f9e2b0d91
234
types-kotlin
Apache License 2.0
browser-kotlin/src/jsMain/kotlin/web/gpu/GPUShaderModuleDescriptor.kt
karakum-team
393,199,102
false
{"Kotlin": 6272741}
// Automatically generated - do not modify! package web.gpu import kotlinx.js.JsPlainObject @JsPlainObject external interface GPUShaderModuleDescriptor : GPUObjectDescriptorBase { var code: String var sourceMap: Any? }
0
Kotlin
8
36
95b065622a9445caf058ad2581f4c91f9e2b0d91
234
types-kotlin
Apache License 2.0
app/src/main/java/com/transcodium/wirepurse/DialogActivity.kt
razzbee
195,604,153
false
null
package com.transcodium.wirepurse import android.os.Bundle import android.os.PersistableBundle import android.view.ViewGroup import androidx.appcompat.app.AppCompatActivity import kotlinx.coroutines.CoroutineScope import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.Job import kotlin.coroutines.CoroutineCon...
0
Kotlin
0
0
d55181e5afbdb7a7afeb88da61d324f1cc4ab373
935
wirepurse-android
Apache License 2.0
features/anime/src/main/java/com/doskoch/template/anime/screens/favorite/FavoriteAnimeScreen.kt
VitaliyDoskoch
263,280,184
false
{"Kotlin": 233695, "Shell": 270}
package com.doskoch.template.anime.screens.favorite import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.foundation.layout.navigationBarsPadding import androidx.compose.foundation.layout.padding import androidx.compose.foundation.layout.size import ...
0
Kotlin
0
2
477c3dbb8ab046b3ab9204912535516c8487e254
4,171
Template
MIT License
apollo-gradle-plugin/src/test/kotlin/com/apollographql/apollo3/gradle/test/SourceDirectorySetTests.kt
apollographql
69,469,299
false
null
package com.apollographql.apollo3.gradle.test import com.apollographql.apollo3.gradle.util.TestUtils import com.apollographql.apollo3.gradle.util.generatedChild import org.gradle.testkit.runner.TaskOutcome import org.junit.Assert import org.junit.Test import java.io.File class SourceDirectorySetTests { }
129
Kotlin
559
3,046
7a1a291d5edc7d66d088c06b47975ef8a79fc439
310
apollo-android
MIT License
matrix/common/src/testFixtures/kotlin/fake/FakeCredentialsStore.kt
ShadowJonathan
471,471,233
true
{"Kotlin": 586327, "Java": 13756, "Shell": 763, "Prolog": 113}
package fake import app.dapk.st.matrix.common.CredentialsStore import io.mockk.coEvery import io.mockk.mockk import test.delegateReturn class FakeCredentialsStore : CredentialsStore by mockk() { fun givenCredentials() = coEvery { credentials() }.delegateReturn() }
0
null
0
0
2ab2253e7a1335f8c25b5e69be0dc1ec9c254958
270
small-talk
Apache License 2.0
core/src/main/java/com/gordonfromblumberg/calculator/Texts.kt
Gordon-from-Blumberg
673,508,452
false
null
package com.gordonfromblumberg.calculator object Texts { const val addButton = "Добавить" const val calculateButton = "Посчитать" const val nameCol = "Название" const val proteinsCol = "Б/100г" const val fatsCol = "Ж/100г" const val carbohydratesCol = "У/100г" const val kcalCol = "Ккал/100...
0
Kotlin
0
0
30a40c8c6c057c2e109037240e21c3e8a4170e56
489
calculator
MIT License
script-utils-common/src/main/kotlin/com/github/pambrose/common/script/AbstractExprEvaluatorPool.kt
pambrose
212,692,041
false
{"Kotlin": 179543, "Java": 1287, "Makefile": 548}
/* * Copyright © 2023 Paul Ambrose (pambrose@mac.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 appl...
0
Kotlin
0
0
c6b6b7439057fd272ea68f591ae1bfa08ad4f490
1,403
common-utils
Apache License 2.0
app/src/main/java/dev/abhaycloud/fdtracker/domain/model/biometrics/BiometricCheckResult.kt
Abhay-cloud
816,359,684
false
{"Kotlin": 164703}
package dev.abhaycloud.fdtracker.domain.model.biometrics sealed interface BiometricCheckResult { data object Available : BiometricCheckResult data object NoHardware : BiometricCheckResult data object HardwareUnavailable : BiometricCheckResult data object NoneEnrolled : BiometricCheckResult }
2
Kotlin
4
32
a8ab2db4b600c29ecfffe45c263305bf939a5142
309
Fixed-Deposit-Tracker
MIT License
limp/src/commonMain/kotlin/dev/bitspittle/limp/methods/collection/MapMethod.kt
bitspittle
583,402,131
false
null
package dev.bitspittle.limp.methods.collection import dev.bitspittle.limp.Environment import dev.bitspittle.limp.Evaluator import dev.bitspittle.limp.Method import dev.bitspittle.limp.types.Expr /** * map (List) ('Expr) -> List * * Take a list and an expression and return a new list with that expression applied on...
1
Kotlin
0
0
551cbe3fe06f9bdb630eb81d2f6a00b387b62d6b
921
limp
MIT License
buildSrc/src/main/kotlin/karakum/browser/TagName.kt
karakum-team
393,199,102
false
null
package karakum.browser internal const val HTML_TAG_NAME = "HtmlTagName" internal const val SVG_TAG_NAME = "SvgTagName" internal const val MATHML_TAG_NAME = "MathMLTagName" internal const val SVG_NAMESPACE = "http://www.w3.org/2000/svg" internal const val MATHML_NAMESPACE = "http://www.w3.org/1998/Math/MathML" priva...
0
null
8
36
95b065622a9445caf058ad2581f4c91f9e2b0d91
2,768
types-kotlin
Apache License 2.0
codebase/android/feature/transactions/src/main/java/com/makeappssimple/abhimanyu/financemanager/android/feature/transactions/edit_transaction/snackbar/EditTransactionScreenSnackbarType.kt
Abhimanyu14
429,663,688
false
{"Kotlin": 1876553}
package com.makeappssimple.abhimanyu.financemanager.android.feature.transactions.edit_transaction.snackbar import com.makeappssimple.abhimanyu.financemanager.android.core.ui.base.ScreenSnackbarType internal sealed class EditTransactionScreenSnackbarType : ScreenSnackbarType { data object EditTransactionFailed : E...
11
Kotlin
0
3
7e080a68bc038bd64d2d406b75a49e8f1ea2a791
496
finance-manager
Apache License 2.0
compose/ui/ui/src/androidAndroidTest/kotlin/androidx/compose/ui/input/pointer/PointerInputEventProcessorTest.kt
RikkaW
389,105,112
false
null
/* * Copyright 2020 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
6
null
983
7
6d53f95e5d979366cf7935ad7f4f14f76a951ea5
107,320
androidx
Apache License 2.0
skribenten-backend/src/main/kotlin/no/nav/pensjon/brev/skribenten/routes/Pen.kt
navikt
375,334,697
false
{"Kotlin": 1656546, "TypeScript": 153560, "TeX": 12814, "Shell": 9153, "CSS": 6527, "Python": 4661, "Dockerfile": 2199, "JavaScript": 2067, "HTML": 380}
package no.nav.pensjon.brev.skribenten.routes import io.ktor.http.* import io.ktor.server.application.* import io.ktor.server.request.* import io.ktor.server.response.* import io.ktor.server.routing.* import io.ktor.server.util.* import no.nav.pensjon.brev.skribenten.auth.UnauthorizedException import no.nav.pensjon.br...
5
Kotlin
3
1
d142c620414bd87549bdb2f39a80ae86b4394240
4,065
pensjonsbrev
MIT License
game-plugins/src/main/kotlin/org/alter/plugins/content/area/edgeville/objs/trapdoor.plugin.kts
AlterRSPS
421,831,790
false
null
package org.alter.plugins.content.area.edgeville.objs val OPEN_SFX = 62 val CLOSE_SFX = 60 on_obj_option(obj = Objs.TRAPDOOR_1579, option = "open") { open(player, player.getInteractingGameObj()) } on_obj_option(obj = Objs.TRAPDOOR_1581, option = "close") { close(player, player.getInteractingGameObj()) } on_...
8
null
33
23
8d3b3cb38ab6a0e4bed7976cb2dbfcf75bfac9b3
763
Alter
Apache License 2.0
src/main/kotlin/best/leafyalex/gainzclient/utils/WebHook.kt
ProbAlex
861,028,735
false
{"Kotlin": 145411, "Java": 2465}
package best.leafyalex.gainzclient.utils import com.google.gson.JsonArray import com.google.gson.JsonObject import java.io.BufferedReader import java.io.DataOutputStream import java.io.InputStreamReader import java.net.URL import javax.net.ssl.HttpsURLConnection object WebHook { fun sendEmbed(url: String, embed:...
0
Kotlin
0
0
b07663acd80e3c6680ed278b1f2e503d4507d1ce
3,266
GainzClient
MIT License
8vim/src/main/kotlin/inc/flide/vim8/datastore/ui/SwitchPreference.kt
8VIM
72,917,629
false
{"Kotlin": 560253}
package inc.flide.vim8.datastore.ui import androidx.annotation.DrawableRes import androidx.compose.foundation.selection.toggleable import androidx.compose.material3.Switch import androidx.compose.runtime.Composable import androidx.compose.runtime.getValue import androidx.compose.ui.Modifier import androidx.compose.ui....
73
Kotlin
61
461
089482f6bb5f715bc9168b8289957cee865573ae
1,964
8VIM
Apache License 2.0
backend/src/main/kotlin/com/denchic45/studiversity/feature/course/work/submission/usecase/FindSubmissionsByWorkUseCase.kt
denchic45
435,895,363
false
null
package com.denchic45.studiversity.feature.course.work.submission.usecase import com.denchic45.studiversity.feature.course.work.submission.SubmissionRepository import com.denchic45.studiversity.feature.membership.repository.UserMembershipRepository import com.denchic45.studiversity.transaction.SuspendTransactionWorker...
0
Kotlin
0
5
abe66e3c117adfd0cbbaee288b00aaf78acd6772
925
Studiversity
Apache License 2.0
app/src/main/java/org/simple/clinic/summary/medicalhistory/MedicalHistorySummaryUpdate.kt
simpledotorg
132,515,649
false
null
package org.simple.clinic.summary.medicalhistory import com.spotify.mobius.Next import com.spotify.mobius.Next.dispatch import com.spotify.mobius.Update import org.simple.clinic.medicalhistory.MedicalHistory import org.simple.clinic.medicalhistory.MedicalHistoryQuestion.DIAGNOSED_WITH_DIABETES import org.simple.clinic...
4
Kotlin
56
179
9c8f86e6a9d2b707b746822e078c04f7cec03d53
1,735
simple-android
MIT License
docs-examples/example-kotlin/src/test/kotlin/io/micronaut/rabbitmq/docs/serdes/ProductInfo.kt
micronaut-projects
167,575,069
false
null
package io.micronaut.nats.docs.consumer.custom.type // tag::clazz[] class ProductInfo(val size: String?, // <1> val count: Long, // <2> val sealed: Boolean)// <3> // end::clazz[]
9
null
9
19
ab5234345d3b9986a2dd49c7035a3f71655d6612
216
micronaut-rabbitmq
Apache License 2.0
src/main/kotlin/pers/neige/banker/loot/impl/Rank.kt
Neige7
624,015,130
false
null
package pers.neige.banker.loot.impl import org.bukkit.Bukkit import org.bukkit.configuration.ConfigurationSection import pers.neige.banker.loot.LootGenerator import pers.neige.banker.manager.LootManager import pers.neige.neigeitems.manager.ActionManager import java.util.concurrent.ConcurrentHashMap import kotlin.math....
0
Kotlin
0
0
dff3b51852ea47d9bc10b8c9444a23063d865dca
2,963
Banker
MIT License
app/src/main/java/android/thortechasia/popularmovie/ui/movie/MoviePresenter.kt
riefist
160,018,829
false
null
package android.thortechasia.popularmovie.ui.movie import android.thortechasia.popularmovie.data.repository.MovieRepository import android.thortechasia.popularmovie.utils.scheduler.AppSchedulerProvider import android.thortechasia.popularmovie.utils.scheduler.SchedulerProvider import io.reactivex.android.schedulers.And...
0
Kotlin
2
1
6ec35276828745ba7e4857c1a586f707e780f981
1,530
PopularMovie
MIT License
src/i_introduction/_12_Extensions_On_Collections/ExtensionsOnCollections.kt
zhaoqingchris
75,694,136
false
null
package i_introduction._12_Extensions_On_Collections import util.TODO import util.doc12 fun todoTask12(): Nothing = TODO( """ Task 12. In Kotlin standard library there are lots of extension functions that make the work with collections more convenient. Rewrite the previous example once mor...
0
Kotlin
0
0
db5b24369a3fb02c0b20f2cd790dd7835a324fad
763
kotlin-koans-solution
MIT License
src/test/kotlin/org/web3j/fabric/shim/ChaincodeDslTest.kt
web3j
164,084,544
false
{"Kotlin": 9949}
package org.web3j.fabric.shim import org.web3j.fabric.shim.ChaincodeDsl.Companion.chaincode import org.web3j.fabric.shim.ChaincodeDsl.Companion.error import org.web3j.fabric.shim.ChaincodeDsl.Companion.success import org.assertj.core.api.Assertions.assertThat import org.hyperledger.fabric.shim.Chaincode.Response.Statu...
0
Kotlin
1
2
5ae3505b3b143587b48c8e1e65f4e0f63c0af65a
2,841
fabric
Apache License 2.0
BanknotesCatalogApp/src/main/java/com/pako2k/banknotescatalog/localsource/FlagsLocalDataSource.kt
Pako2K
746,171,800
false
{"Kotlin": 553837}
package com.pako2k.banknotescatalog.localsource import android.content.res.AssetManager import android.graphics.BitmapFactory import androidx.compose.ui.graphics.ImageBitmap import androidx.compose.ui.graphics.asImageBitmap import kotlinx.coroutines.coroutineScope import java.io.IOException private const val FLAGS_DI...
0
Kotlin
0
0
7d34e72896434a1fedd78c439eaf0a57899ef97f
2,001
BanknotesCatalog
MIT License
examples/kotlin/src/main/kotlin/com/example/ondeck/postgresql/Queries.kt
sqlc-dev
193,160,679
false
null
// Code generated by sqlc. DO NOT EDIT. // versions: // sqlc v1.16.0 package com.example.ondeck.postgresql import java.sql.Connection import java.sql.SQLException import java.sql.Statement import java.sql.Types import java.time.LocalDateTime interface Queries { @Throws(SQLException::class) fun createCity(name:...
7
null
9
9,303
e4fd0793730a3afb8d74a05b78e6f3db0b9f2c90
1,206
sqlc
MIT License
reaktive/src/commonMain/kotlin/com/badoo/reaktive/single/Repeat.kt
amrfarid140
277,184,092
true
{"Kotlin": 1333783, "Swift": 6264, "HTML": 1109, "Ruby": 150}
package com.badoo.reaktive.single import com.badoo.reaktive.observable.Observable import com.badoo.reaktive.observable.repeat fun <T> Single<T>.repeat(count: Int = -1): Observable<T> = asObservable().repeat(count = count)
0
null
0
0
6ae4e8caf147e784f21f16dcc49a6b8fe8ed6d92
224
Reaktive
Apache License 2.0
myhairdiary/app/src/main/java/com/example/myhairdiary/register/Register.kt
sungdoolim
238,624,065
false
{"Text": 2, "Markdown": 7, "Gradle": 27, "Java Properties": 18, "Shell": 9, "Ignore List": 18, "Batchfile": 9, "Proguard": 9, "Kotlin": 162, "XML": 353, "JSON": 4, "Java": 9}
package com.example.myhairdiary.register import android.content.Intent import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import com.example.myhairdiary.MainActivity import com.example.myhairdiary.R import com.example.myhairdiary.designers.designer import com.example.myhairdiary.firedb.fireDB imp...
1
null
1
1
dc08834dafcef20209ba15bcff114f9f55775913
2,112
android_practice
Apache License 2.0
app/src/main/java/org/citruscircuits/viewer/fragments/team_details/TeamDetailsFragment.kt
frc1678
804,234,032
false
{"Kotlin": 418437}
package org.citruscircuits.viewer.fragments.team_details import android.content.Context import android.os.Bundle import android.util.AttributeSet import android.util.Log import android.view.Gravity import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.LinearLay...
0
Kotlin
0
0
f38e2f99c1b16f6f5a89342b4619c19082346b09
8,327
viewer-2024-public
MIT License
samples/rickymortykmm/shared/src/commonMain/kotlin/io/spherelabs/rickymortykmm/domain/GetCharacterByIdUseCase.kt
getspherelabs
646,328,849
false
null
package io.spherelabs.rickymortykmm.domain import io.spherelabs.rickymortykmm.remote.dto.CharacterDto import io.spherelabs.rickymortykmm.repository.RickyMortyRepository import kotlinx.coroutines.flow.Flow import kotlinx.coroutines.flow.flow interface GetCharacterByIdUseCase { fun execute(id: Int): Flow<Result<Cha...
6
Kotlin
1
9
0e6b5aecfcea88d5c6ff7070df2e0ce07edc5457
737
meteor
Apache License 2.0
core/ds_component/src/main/java/com/sabufung/app/ds/component/button/Button.kt
sabufung30
552,990,093
false
null
package com.sabufung.app.ds.component.button import androidx.compose.foundation.layout.PaddingValues import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.foundation.layout.width import androidx.compose.foundation.layout.wrapContentWidth import androidx.compose.runtime.Composable import androi...
0
Kotlin
0
0
8676c8953db22c321b92c92881debb6e45c17c74
2,980
property-listing
Apache License 2.0
app/src/main/java/jp/mihailskuzmins/sugoinihongoapp/models/wordStudy/WordQuizQuestionOptionModel.kt
MihailsKuzmins
240,947,625
false
{"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 10, "Ignore List": 1, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "Kotlin": 323, "XML": 156, "Java": 1, "JSON": 1}
package jp.mihailskuzmins.sugoinihongoapp.models.wordStudy import jp.mihailskuzmins.sugoinihongoapp.persistence.models.Word class WordQuizQuestionOptionModel( override val original: String, override val translation: String, override val transcription: String, val isCorrect: Boolean ) : Word
1
null
1
1
57e19b90b4291dc887a92f6d57f9be349373a444
297
sugoi-nihongo-android
Apache License 2.0
web-regresjonstest/src/test/kotlin/no/nav/su/se/bakover/web/søknadsbehandling/flyktning/LeggTilFlyktningVilkårIT.kt
navikt
227,366,088
false
{"Kotlin": 9239094, "Shell": 4372, "TSQL": 1233, "Dockerfile": 800}
package no.nav.su.se.bakover.web.søknadsbehandling.flyktning import io.kotest.matchers.shouldBe import no.nav.su.se.bakover.common.brukerrolle.Brukerrolle import no.nav.su.se.bakover.common.extensions.desember import no.nav.su.se.bakover.common.extensions.januar import no.nav.su.se.bakover.web.SharedRegressionTestData...
9
Kotlin
1
1
d7157394e11b5b3c714a420a96211abb0a53ea45
5,869
su-se-bakover
MIT License
src/main/java/movies/spring/data/neo4j/SecurityConfig.kt
hriddle
143,642,375
true
{"Kotlin": 42155}
package movies.spring.data.neo4j import movies.spring.data.neo4j.infrastructure.security.TokenAuthenticationFilter import movies.spring.data.neo4j.infrastructure.security.TokenAuthenticationProvider import movies.spring.data.neo4j.repositories.UserRepository import org.springframework.beans.factory.annotation.Value im...
0
Kotlin
0
0
0160ed8beb682720dbfbef42bbf0f5eb5168aa21
2,093
movies-kotlin-spring-data-neo4j
Apache License 2.0
tabler/src/commonMain/kotlin/com/woowla/compose/icon/collections/tabler/tabler/outline/LungsOff.kt
walter-juan
868,046,028
false
{"Kotlin": 34345428}
package com.woowla.compose.icon.collections.tabler.tabler.outline import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap im...
0
Kotlin
0
3
eca6c73337093fbbfbb88546a88d4546482cfffc
4,112
compose-icon-collections
MIT License
common/common-mail/src/main/kotlin/com/blank/common/mail/config/properties/MailProperties.kt
qq781846712
705,955,843
false
{"Kotlin": 848578, "Vue": 376959, "TypeScript": 137544, "Java": 45954, "HTML": 29445, "SCSS": 19657, "JavaScript": 3399, "Batchfile": 2056, "Shell": 1786, "Dockerfile": 1306}
package com.blank.common.mail.config.properties import org.springframework.boot.context.properties.ConfigurationProperties /** * JavaMail 配置属性 */ @ConfigurationProperties(prefix = "mail") class MailProperties { /** * 过滤开关 */ var enabled: Boolean? = null /** * SMTP服务器域名 */ var ho...
1
Kotlin
0
0
e7ce0812d564f79ef655788829d983c25e51592a
1,025
Ruoyi-Vue-Plus-Kotlin
Apache License 2.0
core/src/main/java/com/github/dudgns0507/core/util/ext/BaseExt.kt
dudgns0507
379,595,025
false
null
package com.github.dudgns0507.core.util.ext
1
null
1
2
c69453e3898271eba176975a8f5d1f2cc38386aa
43
MVVM-cropo
The Unlicense
src/main/kotlin/no/nav/dagpenger/iverksett/api/IverksettingValidatorService.kt
navikt
611,752,955
false
{"Kotlin": 304290, "Gherkin": 44293, "Shell": 626, "Dockerfile": 121}
package no.nav.dagpenger.iverksett.api import no.nav.dagpenger.iverksett.api.domene.IverksettDagpenger import no.nav.dagpenger.iverksett.api.domene.erKonsistentMed import no.nav.dagpenger.iverksett.api.domene.personIdent import no.nav.dagpenger.iverksett.api.domene.sakId import no.nav.dagpenger.iverksett.api.tilstand....
1
Kotlin
0
0
fc64be50e9a8cdb9ca9b55666b83793fa610a98f
4,105
dp-iverksett
MIT License
sdk/src/main/java/io/portone/sdk/android/type/CashReceiptType.kt
portone-io
835,174,061
false
{"Kotlin": 197769, "HTML": 1179}
package io.portone.sdk.android.type enum class CashReceiptType { PERSONAL, // 소득공제용 CORPORATE, // 지출증빙용 ANONYMOUS; // 국세청번호 자동발급 케이스 대응 }
0
Kotlin
0
2
07509908b066a19fc5e0e96afca415816687d2f4
151
android-sdk
MIT License
app/src/main/java/com/example/restaurant/cleanArchitecture/data/repository/ShopRepository.kt
Imranseu17
481,709,159
false
null
package com.example.restaurant.cleanArchitecture.data.repository import androidx.lifecycle.MutableLiveData import com.example.restaurant.cleanArchitecture.data.model.Root import com.example.restaurant.cleanArchitecture.data.remote.APIService import com.example.restaurant.cleanArchitecture.data.remote.RetroClass impo...
0
Kotlin
1
0
e89ed3bfde75b32383c425ecaca9b4dd6b53ad6d
1,203
ShopApplication
Apache License 2.0
socorro/src/main/java/com/soumya/wwdablu/socorro/SocorroConfig.kt
wwdablu
158,618,914
false
null
package com.soumya.wwdablu.socorro import android.text.TextUtils class SocorroConfig { enum class SourceFileFrom { Assets, Raw, Resources } private var endPoint: String = "" private var codeResponseMap: HashMap<Int, String> = HashMap() private var delay: Int = 0 priva...
0
Kotlin
0
0
71ff5a3333c24d987a8dc1a9235d24407fe48cee
1,971
Socorro
MIT License
orca-queue/src/test/kotlin/com/netflix/spinnaker/orca/q/handler/CompleteStageHandlerTest.kt
spinnaker
19,834,314
false
null
/* * Copyright 2017 Netflix, Inc. * * 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...
78
null
808
246
3e98d0a79d72805d16c8a5eb63c4cf1a5bdbbfbc
49,473
orca
Apache License 2.0
net.akehurst.kotlinx/kotlinx-reflect-gradle-plugin/src/main/kotlin/KotlinxReflectFirExtensionRegistrar.kt
dhakehurst
189,049,817
false
{"Kotlin": 177637}
package net.akehurst.kotlinx.reflect.gradle.plugin import org.jetbrains.kotlin.cli.common.messages.CompilerMessageSeverity import org.jetbrains.kotlin.cli.common.messages.MessageCollector import org.jetbrains.kotlin.fir.FirSession import org.jetbrains.kotlin.fir.extensions.FirExtensionRegistrar import org.jetbrains.ko...
0
Kotlin
0
1
0f29e96aa48d84efb1cd41ec469a68040b31ecc3
943
net.akehurst.kotlinx
Apache License 2.0
app/src/main/java/com/honeybilly/cleanbrowser/App.kt
liqQi
140,266,723
false
{"Kotlin": 46672, "Java": 6682}
package com.honeybilly.cleanbrowser import android.app.Application import com.honeybilly.cleanbrowser.data.DaoMaster import com.honeybilly.cleanbrowser.data.DaoSession import com.honeybilly.cleanbrowser.data.WebViewOpenHelper /** * Created by liqi on 11:36. * * */ class App : Application() { private lateinit ...
0
Kotlin
0
0
175c1c0f3dc328f16c371895704d08e5ff31fedb
749
simplebrowser
Apache License 2.0
coachmark/src/main/java/com/android/library/coachmark/utility/ShapeType.kt
chhatrasal09
179,552,987
false
{"Gradle": 4, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "Proguard": 2, "Kotlin": 16, "XML": 18, "Java": 2}
package com.android.library.coachmark.utility enum class ShapeType { INSIDE, OUTSIDE }
5
Kotlin
6
35
9db2f55dc14d93a50d7f8f709d680e827e7cdbbf
95
CoachMark
Apache License 2.0
linkable-text/src/main/java/com/github/fobid/linkabletext/widget/UrlSpanNoUnderline.kt
fobidlim
73,983,043
false
null
package com.github.fobid.linkabletext.widget import android.text.TextPaint import android.text.style.URLSpan internal class URLSpanNoUnderline( url: String ) : URLSpan(url) { override fun updateDrawState(ds: TextPaint) { super.updateDrawState(ds) ds.isUnderlineText = false } }
1
Kotlin
5
26
efa562b99d84c46815a854608e8870e01517d949
308
linkable-text-android
Apache License 2.0
crowdin/src/main/java/com/crowdin/platform/data/remote/Connectivity.kt
Sav22999
233,290,149
true
{"Kotlin": 305831}
package com.crowdin.platform.data.remote import android.content.Context import android.net.ConnectivityManager import android.net.NetworkInfo internal class Connectivity private constructor() { companion object { fun isOnline(context: Context): Boolean { val info = getNetworkInfo(context) ...
0
null
0
0
b1cb5894bfa51408fa6ac8dbec8f0815ff5909bf
2,138
mobile-sdk-android
MIT License
app/src/main/kotlin/cz/covid19cz/erouska/ui/main/MainVM.kt
4n6strider
304,637,652
true
{"Kotlin": 257534, "Java": 1863, "Shell": 384}
package cz.covid19cz.erouska.ui.main import androidx.hilt.lifecycle.ViewModelInject import androidx.lifecycle.Lifecycle import androidx.lifecycle.OnLifecycleEvent import arch.livedata.SafeMutableLiveData import com.google.firebase.auth.FirebaseAuth import cz.covid19cz.erouska.R import cz.covid19cz.erouska.ui.base.Base...
0
null
0
0
8c1e2822c53085b8d2ea0b017fe2bdb158d9db34
800
erouska-android
MIT License
SerawaziApplication/app/src/main/java/com/greenrevive/serawaziapplication/API_KEY.kt
MutindaVictoria
718,561,733
false
{"Kotlin": 107697}
package com.greenrevive.serawaziapplication object API_KEY { const val MY_API_KEY = "<KEY>" }
0
Kotlin
0
0
3e68806907fa0489274d5625a35d220ffb79c9a0
98
Serawazi-Mobile
MIT License
client/src/androidMain/kotlin/com/oztechan/ccc/client/base/BaseViewModel.kt
CurrencyConverterCalculator
102,633,334
false
null
/* * Copyright (c) 2020 <NAME>. All rights reserved. */ package com.github.mustafaozhan.ccc.client.base import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import kotlinx.coroutines.CoroutineScope @Suppress("EmptyDefaultConstructor") actual open class BaseViewModel actual constructor() : V...
20
Kotlin
21
170
97e7f7c9a1b0342bef0fa551f8dd335c95861ab8
476
CCC
Apache License 2.0
NotesFirebase(Kotlin)/app/src/main/java/com/example/notesfirebase/utlis/Config.kt
DSC-Galgotias
547,749,268
false
null
package com.example.notesfirebase.utlis import android.content.Context import androidx.appcompat.app.AlertDialog import com.example.notesfirebase.R import com.google.android.material.dialog.MaterialAlertDialogBuilder object Config { var dialog: AlertDialog? = null fun showDialog(context: Context) { di...
1
Java
72
10
78d025801bb11983cca12b7e1766321d2bc19ac5
551
Hacktoberfest2022
MIT License
domain/src/test/java/com/instaleap/domain/usecase/GetFavoriteTvUseCaseTest.kt
rovargas15
845,909,506
false
{"Kotlin": 255524, "Shell": 3714}
package com.instaleap.domain.usecase import com.instaleap.domain.model.Tv import com.instaleap.domain.repository.TvRepository import io.mockk.coEvery import io.mockk.coVerify import io.mockk.mockk import kotlinx.coroutines.flow.firstOrNull import kotlinx.coroutines.flow.flowOf import kotlinx.coroutines.runBlocking imp...
0
Kotlin
0
0
277fc502e04753aa81295f167523691033ae8fd0
980
Instaflix
Apache License 2.0
app/src/main/java/ca/on/hojat/gamenews/feature_info/presentation/widgets/header/artworks/GameInfoArtworkUiModelMapper.kt
hojat72elect
574,228,468
false
null
package ca.on.hojat.gamenews.feature_info.presentation.widgets.header.artworks import ca.on.hojat.gamenews.core.factories.IgdbImageSize import ca.on.hojat.gamenews.core.factories.IgdbImageUrlFactory import ca.on.hojat.gamenews.core.domain.entities.Image import com.paulrybitskyi.hiltbinder.BindType import javax.inject....
0
Kotlin
0
2
80ff667af63e00b09aac129bb1206f520452700a
1,330
GameHub
Apache License 2.0
day11/src/main/java/com/joeygibson/aoc2022/day11/App.kt
joeygibson
571,669,607
false
{"Kotlin": 79226, "Shell": 3320, "Python": 1872}
package com.joeygibson.aoc2022.day11 import com.googlecode.lanterna.terminal.Terminal import picocli.CommandLine import java.io.File import java.io.IOException import java.util.concurrent.Callable import kotlin.system.exitProcess @CommandLine.Command( name = "day11", mixinStandardHelpOptions = true, versi...
0
Kotlin
0
0
c66e8434fb3156550485c11703aae0a4b36b584b
4,173
adventofcode2022
MIT License
schoolDomain/src/main/kotlin/com/intelligentbackpack/schooldomain/entities/calendar/alteration/IntervalOfDaysAlteration.kt
IntelligentBackpack
629,745,884
false
null
package com.intelligentbackpack.schooldomain.entities.calendar.alteration import java.time.LocalDate /** * Represents an alteration event that alters the original calendar for an interval of days * * @property initialDate the initial date of the interval * @property finalDate the final date of the interval */ in...
0
Kotlin
0
0
61bfdc8c21801a14d67c62b69a07a0fb341aab6d
435
IntelligentBackpackApp
MIT License
door-compiler/src/main/kotlin/com/ustadmobile/lib/annotationprocessor/core/ext/KSAnnotatedExt.kt
UstadMobile
344,538,858
false
null
package com.ustadmobile.lib.annotationprocessor.core.ext import com.google.devtools.ksp.KspExperimental import com.google.devtools.ksp.getAnnotationsByType import com.google.devtools.ksp.isAnnotationPresent import com.google.devtools.ksp.symbol.KSAnnotated import com.google.devtools.ksp.symbol.KSAnnotation import kotl...
0
Kotlin
0
89
58f93d9057ece78cc3f8be3d4d235c0204a15f11
1,580
door
Apache License 2.0
src/me/anno/remsstudio/utils/Naming.kt
AntonioNoack
266,471,164
false
{"Kotlin": 996755, "GLSL": 6755, "Java": 1308}
package me.anno.remsstudio.utils object Naming { fun incrementName(name: String): String { val lastHash = name.lastIndexOf('#') if (lastHash > -1) { val value = name.substring(lastHash + 1).trim().toIntOrNull() if (value != null) { return "${name.substring(0,...
2
Kotlin
3
19
c9c0d366d1f2d08a57da72f7315bb161579852f2
412
RemsStudio
Apache License 2.0
src/main/kotlin/Atom.kt
zensum
100,732,002
false
null
package leia import java.util.concurrent.atomic.AtomicReference /** * An atom wraps provides a single element of state. It does this by providing * an [AtomicReference] to an immutable value. */ interface Atom<T> { val reference: AtomicReference<T> }
0
null
2
5
4b7689b8338b8dd369b92cb5badb9b223740e062
259
leia
MIT License
src/main/kotlin/com/framstag/semtrail/scanner/TokenType.kt
Framstag
166,638,904
false
{"Kotlin": 44789, "HTML": 11242, "CSS": 5572, "Dockerfile": 432, "Shell": 182}
package com.framstag.semtrail enum class TokenType { LEFT_BRACKET, RIGHT_BRACKET, LEFT_CURLY_BRACKET, RIGHT_CURLY_BRACKET, QUOTE, SYMBOL, ATOM, STRING, EOL }
7
Kotlin
0
0
61b8d2f4d0531980dada89f1c10b0255fae41fd9
194
semtrail
Apache License 2.0
src/commonMain/kotlin/io/github/rk012/taskboard/Taskboard.kt
rk012
468,767,458
false
{"Kotlin": 27599}
package io.github.rk012.taskboard import com.benasher44.uuid.uuid4 import io.github.rk012.taskboard.exceptions.NoSuchLabelException import io.github.rk012.taskboard.items.Goal import io.github.rk012.taskboard.items.Task import io.github.rk012.taskboard.items.TaskObject import io.github.rk012.taskboard.serialization.Se...
0
Kotlin
0
0
07a039313cdbceec35dfce820c59c78ba7c0d9ac
5,801
taskboard-core
MIT License
wear/wear-phone-interactions/src/test/java/androidx/wear/phone/interactions/authentication/RemoteAuthTest.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...
21
null
862
7
6d53f95e5d979366cf7935ad7f4f14f76a951ea5
12,047
androidx
Apache License 2.0
src/main/kotlin/no/nb/mlt/wls/domain/model/HostName.kt
NationalLibraryOfNorway
800,484,682
false
{"Kotlin": 98706, "JavaScript": 911, "Dockerfile": 782}
package no.nb.mlt.wls.core.data import org.springframework.http.HttpStatus import org.springframework.web.server.ResponseStatusException enum class HostName { AXIELL } fun throwIfInvalidClientName( clientName: String, hostName: HostName ) { if (clientName.uppercase() == hostName.name) return thro...
0
Kotlin
0
0
8f0fa54352fef42de550ef7072794c4d05eb9c94
455
warehouse-logistics-service
MIT License
paymentsheet-example/src/androidTest/java/com/stripe/android/test/core/ui/ClickTextInWebView.kt
stripe
6,926,049
false
{"Kotlin": 13558068, "Java": 109098, "Ruby": 45764, "HTML": 42045, "Shell": 23226, "Python": 21891}
package com.stripe.android.test.core.ui import androidx.test.uiautomator.By import androidx.test.uiautomator.UiDevice import androidx.test.uiautomator.UiObject2 import androidx.test.uiautomator.Until private const val DefaultDelayInMillis = 5_000L private const val DefaultTimeoutInMillis = 10_000L internal fun UiDev...
102
Kotlin
636
1,251
98f7c4d7c3e05981d973aa4725a7307ce18998ee
851
stripe-android
MIT License
src/gaea/src/main/kotlin/com/synebula/gaea/data/serialization/ISerializer.kt
synebula-myths
205,819,036
false
null
package com.synebula.gaea.data.serialization /** * 序列化器 */ interface ISerializer { /** * 序列化 * * @param <S> 源数据类型 * @param <T> 目标数据类型 * @param src 源数据 * @return 目标数据 */ fun <S, T> serialize(src: S): T }
0
Kotlin
0
0
487176b208813794f2e8cbca38240ddfbc276e5f
249
gaea
MIT License
kirby/src/main/java/com/kosoku/kirby/extension/DialogFragmentExtensions.kt
Kosoku
478,798,167
false
{"Kotlin": 31998}
package com.kosoku.kirby.extension import androidx.fragment.app.DialogFragment import androidx.fragment.app.Fragment import com.kosoku.kirby.fragment.KBYFragment import com.kosoku.kirby.fragment.NavigationFragment import timber.log.Timber /** * Extension on [DialogFragment] to get the fragment it was presented from ...
0
Kotlin
1
1
da4218586d91072314a9cf75011a9edccbd9e907
2,405
Kirby
Apache License 2.0