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/ink/ptms/chemdah/core/quest/objective/bukkit/IEntityInteract.kt
TabooLib
338,114,548
false
null
package ink.ptms.chemdah.core.quest.objective.bukkit import ink.ptms.chemdah.core.quest.objective.Dependency import ink.ptms.chemdah.core.quest.objective.ObjectiveCountableI import org.bukkit.event.player.PlayerInteractAtEntityEvent /** * Chemdah * ink.ptms.chemdah.core.quest.objective.bukkit.IEntityInteract * * ...
6
Kotlin
44
55
cac7ab72556538dfcfe53b2169c93687c69b3f31
1,264
chemdah
MIT License
app/src/main/java/com/gaugustini/shiny/presentation/result/ResultScreen.kt
gaugustini
695,659,583
false
{"Kotlin": 30639}
package com.gaugustini.shiny.presentation.result import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.foundation.lazy.LazyColumn import androidx.compose.foundation.lazy.items import androidx.compose.material3.MaterialTheme import androidx.compose.material3.Surface import androidx.compose.mater...
0
Kotlin
0
0
c28b1ee6932cf69bdab5038e62ae7113e0a90b6b
2,322
shiny
MIT License
lib/src/main/kotlin/treelib/abstractTree/balanced/BalancerNoParent.kt
spbu-coding-2022
616,414,890
false
null
package treelib.abstractTree.balanced import treelib.abstractTree.Node import treelib.abstractTree.StateContainer import treelib.singleObjects.exceptions.IllegalNodeStateException abstract class BalancerNoParent<Pack : Comparable<Pack>, NodeType : Node<Pack, NodeType>, StateContainerType : StateContainer<Pack, NodeTy...
9
Kotlin
2
4
8abae618ab4f5b6d329046b897d1e62f60e1f8f0
876
trees-1
Apache License 2.0
subprojects/android-test/test-report/src/main/kotlin/com/avito/android/test/report/TestCaseAssertion.kt
StanlyT
344,157,673
true
{"Kotlin": 2773538, "HTML": 121161, "Shell": 17522, "Python": 14168, "Makefile": 7187, "Dockerfile": 7134}
package com.avito.android.test.report interface TestCaseAssertion { fun assertion(assertionMessage: String, action: () -> Unit) }
0
Kotlin
0
0
96463f7714c0550e331d2a37fb32ad98fac9d62d
135
avito-android
MIT License
src/main/kotlin/com/informalware/footylens/routes/Match.kt
informalware
770,996,595
false
{"Kotlin": 45742, "Shell": 5660, "Dockerfile": 96}
package com.informalware.footylens.routes import com.informalware.footylens.data.Matches import com.informalware.footylens.data.Match import com.informalware.footylens.data.Events import com.informalware.footylens.data.MatchRegistryRequest import com.informalware.footylens.plugins.validateMatchById import com.informal...
0
Kotlin
0
0
b69ffdc9296fe450d4b1e131aeebb961d904eff2
4,246
footylens-server
MIT License
src/main/kotlin/com/rmarioo/checkout/events/EventHandler.kt
rmarioo
303,830,669
false
null
package com.rmarioo.checkout.events import com.rmarioo.checkout.CheckoutStatus import com.rmarioo.checkout.events.Event.DELIVERED import com.rmarioo.checkout.events.Event.NOTIFICATION_CREATED import com.rmarioo.checkout.events.Event.NOTIFICATION_SENT import com.rmarioo.checkout.events.Event.PAID import com.rmarioo.che...
0
Kotlin
1
2
05c25808b4495a43129b2d56ad6b2d0ecc73e5e8
1,535
checkout-event-sourcing
MIT License
src/main/kotlin/me/nepnep/lambdaauth/AuthModule.kt
NepNep21
376,793,261
false
null
package me.nepnep.lambdaauth import com.google.gson.Gson import com.google.gson.JsonArray import com.google.gson.JsonObject import com.lambda.client.event.events.GuiEvent import com.lambda.client.mixin.extension.message import com.lambda.client.module.Category import com.lambda.client.plugin.api.PluginModule import co...
0
Kotlin
0
1
88ddb83d2fbac899b256bb741d64a1e91e2c3024
8,972
lambda-auth
MIT License
src/test/kotlin/biokotlin/genome/TravisTest.kt
maize-genetics
281,224,272
false
{"Kotlin": 921743, "Jupyter Notebook": 222698, "Nu": 8928, "QMake": 1381, "Prolog": 401}
package biokotlin.genome import biokotlin.seq.NucSeq fun main() { /* val gcSame: (NucSeq, NucSeq) -> Boolean = { a, b -> (a.gc() / a.size() == b.gc() / b.size()) } val repeatOverlapSame: (SRange, SRange, SRange) -> Boolean = { a, b, r -> (a.overlapPerc(r) == b.overlapPerc(r)) } val compFunc: (SRange,...
2
Kotlin
1
6
50c26a6e279e36450175b9a00fd30d4f94040f9f
1,085
BioKotlin
Apache License 2.0
compiler/testData/diagnostics/tests/override/MultipleDefaultsInSupertypesNoExplicitOverride.fir.kt
JetBrains
3,432,266
false
null
interface X { fun foo(a : Int = 1) } interface Y { fun foo(a : Int = 1) } <!ABSTRACT_MEMBER_NOT_IMPLEMENTED!>class Z1<!> : X, Y {} // BUG <!ABSTRACT_MEMBER_NOT_IMPLEMENTED!>object Z1O<!> : X, Y {} // BUG
154
Kotlin
5566
45,025
8a69904d02dd3e40fae5f2a1be4093d44a227788
214
kotlin
Apache License 2.0
testing/core-test-utils/src/main/kotlin/net/corda/coretesting/internal/performance/Rate.kt
corda
70,137,417
false
null
package net.corda.testing.internal.performance import java.time.Duration import java.time.temporal.ChronoUnit import java.util.concurrent.TimeUnit /** * [Rate] holds a quantity denoting the frequency of some event e.g. 100 times per second or 2 times per day. */ data class Rate( val numberOfEvents: Long, ...
62
null
1087
3,989
d27aa0e6850d3804d0982024054376d452e7073a
945
corda
Apache License 2.0
app/src/main/kotlin/com/citrus/theme/ThemeFunctions.kt
Citrus-CAF
99,509,439
false
null
package substratum.theme.template import android.annotation.SuppressLint import android.app.Activity import android.content.Context import android.content.Intent import android.content.pm.PackageManager import android.content.pm.Signature import android.net.Uri import android.os.RemoteException import android.widget.T...
5
null
7
8
c1a7f5487ae4b22b0658e4b4368f34c0709b0013
8,905
packages_apps_Margarita
Apache License 2.0
feature_emi/src/main/kotlin/com/allutils/feature_emi/EmiKoinModule.kt
donchakkappan
811,182,787
false
{"Kotlin": 114972}
package com.allutils.feature_emi import com.allutils.feature_emi.di.dataModule import com.allutils.feature_emi.di.domainModule import com.allutils.feature_emi.di.presentationModule val emiModules = listOf( presentationModule, domainModule, dataModule, )
0
Kotlin
0
0
72a99d8dcb480f4247256909e30c76448afcade7
268
Convert
MIT License
runtime/jsMain/src/kotlinx/benchmark/js/JsBenchmarkExecutor.kt
Kotlin
162,275,279
false
null
package kotlinx.benchmark.js import kotlinx.benchmark.* import kotlinx.benchmark.internal.KotlinxBenchmarkRuntimeInternalApi import kotlin.js.Promise @KotlinxBenchmarkRuntimeInternalApi class JsBenchmarkExecutor(name: String, @Suppress("UNUSED_PARAMETER") dummy_args: Array<out String>) : SuiteExecutor(name, jsEng...
61
null
36
469
7950a879c92b765d8df43feb9c667efc2d5fd75d
6,898
kotlinx-benchmark
Apache License 2.0
mobile_app1/module753/src/main/java/module753packageKt0/Foo41.kt
uber-common
294,831,672
false
null
package module753packageKt0; annotation class Foo41Fancy @Foo41Fancy class Foo41 { fun foo0(){ module753packageKt0.Foo40().foo3() } fun foo1(){ foo0() } fun foo2(){ foo1() } fun foo3(){ foo2() } }
6
null
6
72
9cc83148c1ca37d0f2b2fcb08c71ac04b3749e5e
233
android-build-eval
Apache License 2.0
mobile_app1/module753/src/main/java/module753packageKt0/Foo41.kt
uber-common
294,831,672
false
null
package module753packageKt0; annotation class Foo41Fancy @Foo41Fancy class Foo41 { fun foo0(){ module753packageKt0.Foo40().foo3() } fun foo1(){ foo0() } fun foo2(){ foo1() } fun foo3(){ foo2() } }
6
null
6
72
9cc83148c1ca37d0f2b2fcb08c71ac04b3749e5e
233
android-build-eval
Apache License 2.0
app/src/test/java/com/rafaelfelipeac/marvelapp/features/details/data/model/DetailInfoDtoMapperTest.kt
rafaelfelipeac
329,159,954
false
null
package com.rafaelfelipeac.marvelapp.features.details.data.model import com.rafaelfelipeac.marvelapp.base.DataProviderTest.createDetailInfo import com.rafaelfelipeac.marvelapp.base.DataProviderTest.createDetailInfoDto import com.rafaelfelipeac.marvelapp.base.equalTo import org.junit.Test class DetailInfoDtoMapperTest...
0
Kotlin
0
0
645da550990292d44e81cf9412475c7836ec11d0
996
MarvelApp
Apache License 2.0
tiny-event-sourcing-lib/src/main/kotlin/ru/quipy/streams/BufferedAggregateEventStream.kt
andrsuh
498,475,206
false
null
package ru.quipy.streams import kotlinx.coroutines.* import org.slf4j.LoggerFactory import ru.quipy.domain.Aggregate import ru.quipy.domain.EventRecord import ru.quipy.streams.annotation.RetryConf import ru.quipy.streams.annotation.RetryFailedStrategy import java.util.concurrent.atomic.AtomicBoolean class BufferedAg...
14
null
18
31
0ef623b888458ab2919937653d79f09da23f66ef
5,743
tiny-event-sourcing
Apache License 2.0
fluent-icons-extended/src/commonMain/kotlin/com/konyaco/fluent/icons/filled/ClockArrowDownload.kt
Konyaco
574,321,009
false
null
package com.konyaco.fluent.icons.filled import androidx.compose.ui.graphics.vector.ImageVector import com.konyaco.fluent.icons.Icons import com.konyaco.fluent.icons.fluentIcon import com.konyaco.fluent.icons.fluentPath public val Icons.Filled.ClockArrowDownload: ImageVector get() { if (_clockArrowDownlo...
0
Kotlin
0
24
336c85b59b6a6ad97a522a25a0042cd8e0750474
2,443
compose-fluent-ui
Apache License 2.0
data/src/main/java/com/vinners/cube_vishwakarma/data/models/profile/UserProfile.kt
Mansoori999
412,034,929
false
null
package com.vinners.cube_vishwakarma.data.models.profile import com.google.gson.annotations.SerializedName data class UserProfile( @SerializedName("jobcCompleted") val jobCompleted: Int, @SerializedName("moneyEarned") val moneyEarned: Int, @SerializedName("rating") val rateing: String? = nul...
1
null
1
1
522bae5017a74f33fbb9bd7aff9af5ccd60a8b39
328
cube-vishwakarma
MIT License
language-actionscript/src/main/kotlin/com/blacksquircle/ui/language/actionscript/lexer/ActionScriptToken.kt
massivemadness
608,535,719
false
null
/* * Copyright 2023 Squircle CE contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
45
null
46
5
bbf3b9ea8316fe6831ac40a75f0a1076c2e31663
2,404
EditorKit
Apache License 2.0
app/src/main/java/com/example/tobechain/ui/component/ModalNavigationDrawer.kt
imchic
569,119,742
false
{"Kotlin": 97397}
package com.example.tobechain.ui.component import android.util.Log import androidx.compose.foundation.layout.* import androidx.compose.material3.* import androidx.compose.runtime.Composable import androidx.compose.runtime.MutableState import androidx.compose.ui.Alignment import androidx.compose.ui.Modifier import andr...
0
Kotlin
0
0
3215c509a38b66c2c2e94051ea3cc91d22a1370d
3,812
JetPackSample
Apache License 2.0
features/settings/faq/src/main/kotlin/com/egoriku/grodnoroads/settings/faq/domain/model/FAQ.kt
egorikftp
485,026,420
false
null
package com.egoriku.grodnoroads.settings.faq.domain.model data class FAQ( val question: String, val answer: String )
2
Kotlin
1
6
4c13949a65f68379426b54b3fe2561f9698ec214
125
GrodnoRoads
Apache License 2.0
feature/screencapture/src/main/java/com/lingshot/screencapture/util/ServiceUtil.kt
CharlesMoreira1
618,817,135
false
{"Kotlin": 311024, "Ruby": 301}
/* * Copyright 2023 Lingshot * * 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 agreed to in...
12
Kotlin
7
80
d7e5bc6580cd3ffca390916c37a0a0e60fdb6a91
1,159
lingshot
Apache License 2.0
SubShop/app/src/main/java/com/diekvoss/subshop/screens/history/OrderHistoryViewModel.kt
ToyVo
231,263,116
false
{"Kotlin": 139741}
package com.diekvoss.subshop.screens.history import android.app.Application import androidx.lifecycle.AndroidViewModel import androidx.lifecycle.LiveData import com.diekvoss.subshop.OrderEntity import com.diekvoss.subshop.OrderRepository /** * @property repository local database * @property allOrders all orders fro...
0
Kotlin
0
0
ea17b954729a0fba2dd5a69684021fe9d3042fcc
722
AndroidStout
Apache License 2.0
.teamcity/src/subprojects/release/ProjectRelease.kt
ktorio
300,262,534
false
null
package subprojects.release import jetbrains.buildServer.configs.kotlin.v2019_2.* import subprojects.SIGN_KEY_PUBLIC import subprojects.build.* import subprojects.release.apidocs.ProjectReleaseAPIDocs import subprojects.release.generator.ProjectReleaseGeneratorWebsite import subprojects.release.publishing.* import jav...
1
Kotlin
2
9
d1cd27b232778d48977a5e152eaadf821ab56a1c
1,669
ktor-build
Apache License 2.0
core/ui/src/androidMain/kotlin/ru/kyamshanov/mission/core/ui/extensions/applyImePadding.kt
KYamshanov
656,042,097
false
null
package ru.kyamshanov.mission.core.ui.extensions import androidx.compose.foundation.layout.WindowInsets import androidx.compose.foundation.layout.imePadding import androidx.compose.foundation.layout.navigationBarsPadding import androidx.compose.foundation.layout.statusBars import androidx.compose.foundation.layout.sys...
7
null
0
1
11b2f6c17bf59fd3ef027536a0c1033f61b49684
1,005
Mission-app
Apache License 2.0
kmath-coroutines/src/commonMain/kotlin/space/kscience/kmath/streaming/RingBuffer.kt
SciProgCentre
129,486,382
false
null
package space.kscience.kmath.streaming import kotlinx.coroutines.sync.Mutex import kotlinx.coroutines.sync.withLock import space.kscience.kmath.structures.Buffer import space.kscience.kmath.structures.MutableBuffer import space.kscience.kmath.structures.VirtualBuffer /** * Thread-safe ring buffer */ @Suppress("UNCH...
91
null
52
600
83d9e1f0afb3024101a2f90a99b54f2a8b6e4212
2,488
kmath
Apache License 2.0
arrow-libs/core/arrow-core/src/jvmTest/kotlin/examples/example-iterable-10.kt
lukaszkalnik
427,116,886
true
{"Kotlin": 1928099, "SCSS": 99659, "JavaScript": 83153, "HTML": 25306, "Java": 7691, "Ruby": 917, "Shell": 98}
// This file was automatically generated from Iterable.kt by Knit tool. Do not edit. package arrow.core.examples.exampleIterable10 import arrow.core.* fun main(args: Array<String>) { //sampleStart val result = listOf("A:1", "B:2", "C:3").unzip { e -> e.split(":").let { it.first() to it.last() ...
0
Kotlin
0
1
73fa3847df1f04e634a02bba527917389b59d7df
361
arrow
Apache License 2.0
app/src/main/java/com/drewbitt/trntlist/dagger/scopes/MainScope.kt
drewbitt
185,934,336
false
null
package com.drewbitt.trntlist.dagger.scopes import javax.inject.Scope @Scope @Retention(AnnotationRetention.RUNTIME) annotation class AppScope
0
Kotlin
0
0
0f289e65be623c33d3eb4dc57be8b3dcdcad3869
145
TrntList
Apache License 2.0
src/main/kotlin/browser/tabs/Extras.kt
rivasdiaz
114,281,782
false
null
package chrome.tabs const val MUTED_INFO_REASON__USER = "user" const val MUTED_INFO_REASON__CAPTURE = "capture" const val MUTED_INFO_REASON__EXTENSION = "extension" const val RUN_AT__DOCUMENT_START = "document_start" const val RUN_AT__DOCUMENT_END = "document_end" const val RUN_AT__DOCUMENT_IDLE = "document_idle" co...
3
null
8
30
6496af8ba4411c973d7be3c18b83377cb535de82
929
helloworld-chrome-extension-kotlin
Apache License 2.0
quadtree/d2v-quadtree-common/src/test/kotlin/io/data2viz/quadtree/QuadtreeAccessorsTests.kt
yijunwu
207,939,886
true
{"Kotlin": 1455567, "HTML": 45831, "JavaScript": 9282}
package io.data2viz.quadtree import io.data2viz.geom.Point import io.data2viz.test.JsName import io.data2viz.test.TestBase import kotlin.test.Test class QuadtreeAccessorsTests : TestBase() { @Test @JsName("quadtree_accessor_1") fun `quadtree sets the accessors used by quadtree add`() { val quadtr...
0
Kotlin
0
0
733f9ac458755ab065becd16d7f001be21080f59
1,769
data2viz
Apache License 2.0
core/src/commonMain/kotlin/com/littlekt/graphics/webgpu/enums.kt
littlektframework
442,309,478
false
{"Kotlin": 2170511, "Java": 1717152, "C": 111391}
package com.littlekt.graphics.webgpu import kotlin.jvm.JvmInline /** Primitive type the input mesh is composed of. */ enum class PrimitiveTopology { /** Vertex data is a list of points. Each vertex is a new point. */ POINT_LIST, /** * Vertex data is a list of lines. Each pair of vertices composes a ...
14
Kotlin
12
316
100c37feefcfd65038a9cba4886aeb4a7d5632dc
29,266
littlekt
Apache License 2.0
adaptive-core/src/commonMain/kotlin/hu/simplexion/adaptive/service/model/RequestEnvelope.kt
spxbhuhb
788,711,010
false
{"Kotlin": 963434, "CSS": 47382, "Java": 16814, "HTML": 2759, "JavaScript": 896}
/* * Copyright © 2020-2024, Simplexion, Hungary and contributors. Use of this source code is governed by the Apache 2.0 license. */ package hu.simplexion.adaptive.service.model import hu.simplexion.adaptive.utility.UUID import hu.simplexion.adaptive.wireformat.Wire import hu.simplexion.adaptive.wireformat.WireForma...
23
Kotlin
0
0
f3550c330c1b66014e922b30c8a8586d6e9d31d8
1,518
adaptive
Apache License 2.0
app/src/main/kotlin/io/xps/playground/ui/feature/liquidWidget/LiquidWidgetFragment.kt
serhii-petrenko-dev
593,936,096
false
{"Kotlin": 226184, "Java": 6274}
package io.xps.playground.ui.feature.liquidWidget import android.graphics.ColorMatrix import android.graphics.ColorMatrixColorFilter import android.graphics.RenderEffect import android.graphics.Shader import android.os.Build import android.os.Bundle import android.view.View import androidx.annotation.RequiresApi impor...
0
Kotlin
0
0
bc0277d1200aa5078c8943c67aa8fa9dfe37b8ce
11,584
playground
MIT License
src/main/kotlin/com/krillsson/sysapi/graphql/domain/MonitorEvent.kt
Krillsson
40,235,586
false
{"Kotlin": 454985, "Shell": 10836, "Batchfile": 734, "Dockerfile": 274}
package com.krillsson.sysapi.graphql.domain import com.krillsson.sysapi.core.monitoring.Monitor import java.time.OffsetDateTime import java.util.* class MonitorEvent( val id: UUID, val monitorId: UUID, val time: OffsetDateTime, val monitorType: Monitor.Type, val threshold: Doub...
9
Kotlin
3
97
08d2205b06687f67a24e64a9ed9fc9cf36ff91a4
351
sys-API
Apache License 2.0
src/main/kotlin/com/epam/brn/controller/advice/ExceptionControllerAdvice.kt
Reset256
233,861,917
true
{"Kotlin": 152983, "JavaScript": 101723, "TypeScript": 24564, "HTML": 17191, "CSS": 8735, "RAML": 4123, "Makefile": 467, "Shell": 405, "TSQL": 191, "Dockerfile": 185, "Java": 128}
package com.epam.brn.controller.advice import com.epam.brn.dto.BaseResponseDto import com.epam.brn.dto.ErrorResponse import com.epam.brn.exception.EntityNotFoundException import com.epam.brn.exception.FileFormatException import com.epam.brn.exception.NoDataFoundException import org.apache.logging.log4j.kotlin.logger i...
0
null
0
0
f160a881865680365e87755dec6b2e0d93d84e10
2,367
brn
MIT License
src/client/kotlin/tech/thatgravyboat/skyblockapi/helpers/McClient.kt
SkyblockAPI
861,984,504
false
{"Kotlin": 300649, "Java": 24588}
package tech.thatgravyboat.skyblockapi.helpers import com.mojang.blaze3d.platform.Window import com.mojang.brigadier.CommandDispatcher import net.fabricmc.loader.api.FabricLoader import net.minecraft.client.Minecraft import net.minecraft.client.gui.components.ChatComponent import net.minecraft.client.gui.components.to...
3
Kotlin
3
3
8948d699bf0fc3df88de59d8ec79d162fb922ace
3,253
SkyblockAPI
MIT License
servers/graphql-kotlin-spring-server/src/test/kotlin/com/expediagroup/graphql/server/spring/context/GraphQLContextFactoryIT.kt
webdeveloper0012
338,369,606
true
{"Kotlin": 1448590, "HTML": 8758, "JavaScript": 8746, "CSS": 297}
/* * Copyright 2020 Expedia, 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
0
null
0
0
5294aa549d00bfd2c0dec2e9588662ce0d8920d1
3,410
graphql-kotlin
Apache License 2.0
core/src/commonMain/kotlin/com/xebia/functional/xef/llm/models/chat/ChatCompletionResponseWithFunctions.kt
xebia-functional
629,411,216
false
null
package com.xebia.functional.xef.llm.models.chat import com.xebia.functional.xef.llm.models.usage.Usage data class ChatCompletionResponseWithFunctions( val id: String, val `object`: String, val created: Int, val model: String, val usage: Usage, val choices: List<ChoiceWithFunctions> )
10
Kotlin
8
89
a762a968c31778f0a314a204f6b10340cec38336
300
xef
Apache License 2.0
src/test/kotlin/pubg/radar/getRouteTable.kt
whitewingz2017
129,306,460
false
null
package pubg.radar import pubg.radar.sniffer.Sniffer.Companion.targetAddr import java.io.BufferedReader import java.io.InputStreamReader import java.net.Inet4Address fun main(args: Array<String>) { val proc = Runtime.getRuntime().exec("route print -4") val input = BufferedReader(InputStreamReader(proc.inputSt...
2
null
67
7
0810899b85ac5bea69cb558c24c8241d5cc29ff3
908
Gdar
The Unlicense
src/main/kotlin/me/rafaelka/cmdportals/command/Commands.kt
Angelo4ekUwU
676,237,886
false
null
package me.rafaelka.cmdportals.command import com.mojang.brigadier.arguments.IntegerArgumentType.getInteger import com.mojang.brigadier.arguments.IntegerArgumentType.integer import com.mojang.brigadier.arguments.StringArgumentType.getString import com.mojang.brigadier.arguments.StringArgumentType.greedyString import c...
0
Kotlin
0
0
4ffdf454c3cf303f9318c2b6511bee06ecc05417
14,650
CommandPortals
Creative Commons Zero v1.0 Universal
MzaziConnectApplication/app/src/main/java/sakigake/mzaziconnect/mzaziconnectapplication/ui/teacher/EditAssignmentActivity.kt
Florence-nyokabi
721,515,801
false
{"Kotlin": 130912}
package sakigake.mzaziconnect.mzaziconnectapplication.ui.teacher import android.app.DatePickerDialog import android.content.Intent import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.view.View import android.widget.AdapterView import android.widget.ArrayAdapter import android.widget...
0
Kotlin
0
0
e4c7c167efb9b1373f2ecf231fd126ab6ff9675b
7,384
Sakigake-mobile
MIT License
nativelogger/src/main/java/cn/jesse/nativelogger/util/ZipUtil.kt
284919275IOS
499,047,712
true
{"Java": 685158, "Kotlin": 112011}
package cn.jesse.nativelogger.util import android.text.TextUtils import cn.jesse.nativelogger.NLogger import java.io.* import java.nio.charset.Charset import java.util.zip.ZipEntry import java.util.zip.ZipOutputStream /** * 压缩工具 * * @author Jesse */ object ZipUtil { val SUFFIX_ZIP = ".zip" private val BUF...
0
null
0
0
4e0b4da53b87c6afa0c4787357b75ac1edd76a22
3,331
XDroidMvp-AndroidX
MIT License
app/src/main/java/zebrostudio/wallr100/android/AndroidBackgroundThreads.kt
abhriyaroy
119,387,578
false
null
package zebrostudio.wallr100.android import io.reactivex.Scheduler import io.reactivex.schedulers.Schedulers import zebrostudio.wallr100.domain.executor.ExecutionThread class AndroidBackgroundThreads : ExecutionThread { override val ioScheduler: Scheduler get() = Schedulers.io() override val computationSche...
1
null
1
1
ff76741976c2fe5b68360fc970531124a2ff516b
375
WallR2.0
Apache License 2.0
redwood-protocol-guest/src/commonTest/kotlin/app/cash/redwood/protocol/guest/GuestProtocolAdapterTest.kt
cashapp
305,409,146
false
null
/* * Copyright (C) 2022 Square, 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 agre...
98
null
73
1,648
3f14e622c2900ec7e0dfaff5bd850c95a7f29937
5,781
redwood
Apache License 2.0
ground/src/main/java/com/google/android/ground/persistence/local/room/dao/TaskDao.kt
google
127,777,820
false
{"Kotlin": 1400241}
/* * Copyright 2024 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
235
Kotlin
116
245
bb5229149eb3687923a8391f30f7279e477562a8
820
ground-android
Apache License 2.0
apps/etterlatte-trygdetid/src/test/kotlin/no/nav/etterlatte/trygdetid/TrygdetidServiceTest.kt
navikt
417,041,535
false
{"Kotlin": 7159442, "TypeScript": 1725433, "Handlebars": 26265, "Shell": 12687, "HTML": 1734, "CSS": 598, "PLpgSQL": 556, "Dockerfile": 547}
package no.nav.etterlatte.trygdetid import com.fasterxml.jackson.databind.JsonNode import io.kotest.matchers.collections.shouldNotContain import io.kotest.matchers.shouldBe import io.kotest.matchers.shouldNotBe import io.mockk.clearAllMocks import io.mockk.coEvery import io.mockk.coVerify import io.mockk.confirmVerifi...
9
Kotlin
0
6
fe4ed6670fcc0d3fcd117c51b5a7acc224fa6bd2
66,074
pensjon-etterlatte-saksbehandling
MIT License
korge/test/korlibs/korge/view/ImageAnimationViewTest.kt
korlibs
80,095,683
false
{"Kotlin": 4210038, "C": 105670, "C++": 20878, "HTML": 3853, "Swift": 1371, "JavaScript": 1068, "Shell": 439, "CMake": 202, "Batchfile": 41, "CSS": 33}
package korlibs.korge.view import korlibs.image.bitmap.* import korlibs.image.format.* import korlibs.korge.view.animation.* import korlibs.time.* import kotlin.test.* class ImageAnimationViewTest { private val animImages4Layers1 = ImageAnimation( frames = listOf( ImageFrame(0, 60.milliseconds...
464
Kotlin
123
2,497
1a565007ab748e00a4d602fcd78f7d4032afaf0b
3,887
korge
Apache License 2.0
core/infrastructure/rickandmorty/src/test/java/com/rlad/core/infrastructure/rickandmorty/remote/RickAndMortyRemoteDataSourceTest.kt
adamdanielczyk
259,461,736
false
{"Kotlin": 122467}
package com.rlad.core.infrastructure.rickandmorty.remote import com.rlad.core.infrastructure.rickandmorty.remote.ServerCharacter.Gender import com.rlad.core.infrastructure.rickandmorty.remote.ServerCharacter.Location import com.rlad.core.infrastructure.rickandmorty.remote.ServerCharacter.Status import kotlinx.coroutin...
7
Kotlin
0
4
f1de80d2ce3a230296341f0ec9d1dd335cdbe749
2,547
RLAD
MIT License
ktlint-ruleset-standard/src/test/kotlin/com/pinterest/ktlint/ruleset/standard/importordering/ImportOrderingRuleIdeaTest.kt
pinterest
64,293,719
false
null
package com.pinterest.ktlint.ruleset.standard.importordering import com.pinterest.ktlint.core.LintError import com.pinterest.ktlint.core.api.FeatureInAlphaState import com.pinterest.ktlint.ruleset.standard.ImportOrderingRule import com.pinterest.ktlint.test.EditorConfigOverride import com.pinterest.ktlint.test.format ...
83
Kotlin
401
4,875
c42647182196339f08ff14cea9dd0321d69014fc
12,451
ktlint
MIT License
mui-icons-kotlin/src/jsMain/kotlin/mui/icons/material/FreeBreakfastSharp.kt
karakum-team
387,062,541
false
{"Kotlin": 3059969, "TypeScript": 2249, "HTML": 724, "CSS": 86}
// Automatically generated - do not modify! @file:JsModule("@mui/icons-material/FreeBreakfastSharp") package mui.icons.material @JsName("default") external val FreeBreakfastSharp: SvgIconComponent
0
Kotlin
5
35
45ca2eabf1d75a64ab7454fa62a641221ec0aa25
200
mui-kotlin
Apache License 2.0
app/src/main/java/pl/krzysztof/drobek/wemple3/WeatherApplication.kt
krzysztofdrobek
348,763,702
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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
0
Kotlin
0
0
5c24460c1419a42e83ebd9c68b413dcc7f80b35e
1,262
weather-android-dev-challange
Apache License 2.0
nativechain/src/main/kotlin/com/sys1yagi/websocket/interface/WebSocketInterface.kt
sys1yagi
116,396,177
false
null
package com.sys1yagi.nativechain.p2p.connection import kotlinx.coroutines.experimental.channels.ReceiveChannel interface Connection { fun send(message: String) fun receiveChannel(): ReceiveChannel<String> fun peer(): String }
0
Kotlin
2
4
b106c8beb2449ff1760dee71fba4349940475b18
240
nativechain-kotlin
MIT License
cap11-api-backend/src/main/java/tech/salvatore/livro_android_kotlin_paulo_salvatore/view/creatures/CreaturesListFragment.kt
FabricaDeSinapse
387,030,484
false
null
package tech.salvatore.livro_android_kotlin_paulo_salvatore.view.creatures import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.fragment.app.Fragment import androidx.fragment.app.viewModels import androidx.navigation.fragment.findNavControll...
0
null
6
12
625321562bb79ad5729be634e0690815425520b2
1,732
livro-android-casa-do-codigo
MIT License
tooling-country/src/commonMain/kotlin/dev/datlag/tooling/country/Algeria.kt
DatL4g
739,165,922
false
{"Kotlin": 532513}
package dev.datlag.tooling.country data object Algeria : Country { override val codeAlpha2: Country.Code.Alpha2 = Country.Code.Alpha2("DZ") override val codeAlpha3: Country.Code.Alpha3 = Country.Code.Alpha3("DZA") override val codeNumeric: Country.Code.Numeric = Country.Code.Numeric(12) }
0
Kotlin
0
3
e4d2bf45d9d34e80107e9b1558fd982e511ab28c
303
tooling
Apache License 2.0
browser-kotlin/src/jsMain/kotlin/web/serviceworker/ExtendableEvent.kt
karakum-team
393,199,102
false
null
// Automatically generated - do not modify! @file:Suppress( "EXTERNAL_CLASS_CONSTRUCTOR_PROPERTY_PARAMETER", ) package web.serviceworker import js.promise.Promise import web.events.Event import web.events.EventType /** * Extends the lifetime of the install and activate events dispatched on the global scope as ...
0
null
7
29
86021857be9c82b4e56221db1a399a9775d9570d
936
types-kotlin
Apache License 2.0
app/src/main/kotlin/com/mhp/showcase/block/header/HeaderBlock.kt
MHP-A-Porsche-Company
100,703,518
false
null
package com.mhp.showcase.block.header import com.mhp.showcase.block.BaseBlock data class HeaderBlock(override val id: String, val title: String, val subtitle: String) : BaseBlock
0
Kotlin
0
2
e3a9884a090be8cdb909981f4267fdb61cf91455
226
CDUI-Showcase-Android
MIT License
presentation/fishingspot/src/main/java/com/qure/fishingspot/FishingSpotNavigatorImpl.kt
hegleB
613,354,773
false
null
package com.qure.fishingspot import android.content.Context import android.content.Intent import com.qure.navigator.FishingSpotNavigator import javax.inject.Inject class FishingSpotNavigatorImpl @Inject constructor(): FishingSpotNavigator { override fun intent(context: Context): Intent { return Intent(co...
0
Kotlin
0
1
dacdd36c449a6d2d08e80bd4b3ce357b58f6feda
368
FishingMemory
The Unlicense
src/main/kotlin/glm_/mat2x4/Mat2x4d.kt
kotlin-graphics
71,653,021
false
null
package glm_.mat2x4 import glm_.ToDoubleBuffer import glm_.d import glm_.toDouble import glm_.vec4.Vec4d import glm_.vec4.Vec4t import kool.BYTES import kool.set import java.nio.ByteBuffer import java.nio.DoubleBuffer /** * Created by GBarbieri on 09.12.2016. */ class Mat2x4d(var array: DoubleArray) : Mat2x4t<Dou...
5
null
19
99
dcbdd6237fbc5af02722b8ea1b404a93ce38a043
3,373
glm
MIT License
src/com/interview/kotlinbasics/Dummy2.kt
prdp89
109,804,931
true
{"Java": 3495725, "Python": 105849, "C++": 26234, "Kotlin": 4167}
package com.interview.kotlinbasics /*class Dummy2 { //https://github.com/ResoCoder/coroutines-kotlin-tutorial suspend fun abc(){ } } fun main(args: Array<String>) { print("hello") }*/
1
Java
1
1
04424ec1f13b0d1555382090d35c394b99a3a24b
204
interview
Apache License 2.0
node/perfdiagram/src/main/kotlin/matt/fx/node/perfdiagram/perfdiagram.kt
mgroth0
497,866,693
false
{"Kotlin": 1343008}
package matt.fx.node.perfdiagram import matt.fig.modell.sankey.SankeyConnection import matt.fig.modell.sankey.SankeyIr import matt.log.profile.stopwatch.Stopwatch fun Stopwatch.analysisNodeIr() = SankeyIr( increments().map { SankeyConnection(from = prefix ?: "null", to = it.second, weight = it.first.inWho...
0
Kotlin
0
0
ed503cefeab036423dab613ae5b2e08cbd79d710
343
fx
MIT License
straight/src/commonMain/kotlin/me/localx/icons/straight/filled/UserCowboy.kt
localhostov
808,861,591
false
{"Kotlin": 79430321, "HTML": 331, "CSS": 102}
package me.localx.icons.straight.filled import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap.Companion.Butt import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter...
1
Kotlin
0
5
cbd8b510fca0e5e40e95498834f23ec73cc8f245
2,935
icons
MIT License
src/main/kotlin/org/piecesapp/client/models/LocationTypeEnum.kt
pieces-app
726,212,140
false
null
/** * Pieces Isomorphic OpenAPI * Endpoints for Assets, Formats, Users, Asset, Format, User. * * The version of the OpenAPI document: 1.0 * Contact: tsavo@pieces.app * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class man...
9
null
2
6
9371158b0978cae518a6f2584dd452a2556b394f
882
pieces-os-client-sdk-for-kotlin
MIT License
src/main/kotlin/com/dsoftware/ghmanager/data/LogLoadingModelListener.kt
cunla
495,431,686
false
{"Kotlin": 144571}
package com.dsoftware.ghmanager.data import com.dsoftware.ghmanager.Constants.LOG_MSG_JOB_IN_PROGRESS import com.dsoftware.ghmanager.Constants.LOG_MSG_MISSING import com.dsoftware.ghmanager.Constants.LOG_MSG_PICK_JOB import com.dsoftware.ghmanager.api.model.Job import com.dsoftware.ghmanager.api.model.JobStep import c...
7
Kotlin
9
52
239789f77d6706067bd8dab32ec4155e1cfd9962
4,440
ghactions-manager
MIT License
rsocket-transport-nodejs-tcp/src/jsMain/kotlin/io/rsocket/kotlin/transport/nodejs/tcp/FrameWithLengthAssembler.kt
rsocket
109,894,810
false
null
package io.rsocket.kotlin.transport.nodejs.tcp import io.ktor.utils.io.core.* import io.rsocket.kotlin.frame.io.* internal fun ByteReadPacket.withLength(): ByteReadPacket = buildPacket { @Suppress("INVISIBLE_MEMBER") writeLength(this@withLength.remaining.toInt()) writePacket(this@withLength) } internal class...
24
Kotlin
31
398
8a7baeca7df5ddcd63bc4d0e391df835a207ec01
1,724
rsocket-android
Apache License 2.0
library/src/rpiMain/kotlin/dev/bluefalcon/BluetoothService.kt
jamesjmtaylor
319,074,911
false
null
package dev.bluefalcon import android.bluetooth.BluetoothGattService actual class BluetoothService(val service: BluetoothGattService) { actual val name: String? get() = service.uuid.toString() actual val characteristics: List<BluetoothCharacteristic> get() = service.characteristics.map { ...
0
null
1
8
68a9ccfad87809b9c4ecd657be3bdecca58ad65d
366
blue-falcon-ftms
MIT License
app/src/main/kotlin/com/xiaocydx/sample/paging/complex/VideoStreamFragment.kt
xiaocydx
460,257,515
false
null
package com.xiaocydx.sample.paging.complex import android.os.Bundle import android.util.Log import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.core.view.WindowInsetsCompat import androidx.core.view.updatePadding import androidx.fragment.app.Fragment import android...
0
null
0
9
83ca90dc5c8ac6892c1cdfdb026b8afb187e48fd
7,268
CXRV
Apache License 2.0
wcmodel/src/main/kotlin/at/triply/wcmodel/model/CollectionLink.kt
triply-at
139,441,256
false
{"Kotlin": 37612}
package at.triply.wcmodel.model data class CollectionLink(val href: String)
0
Kotlin
2
1
d7ede01957fd0eb3adf55af5e5708b3a3bf7cadd
76
wcapi
The Unlicense
composeApp/src/commonMain/kotlin/org/xanderzhu/coincounter/expense/db/ExpenseLocalStorageDataSourceImpl.kt
XanderZhu
735,312,120
false
{"Kotlin": 12289}
package org.xanderzhu.coincounter.expense.db import kotlinx.coroutines.CoroutineDispatcher import kotlinx.coroutines.withContext import org.xanderzhu.coincounter.data.ExpenseQueries import org.xanderzhu.coincounter.expense.data.source.ExpenseLocalStorageDataSource class ExpenseLocalStorageDataSourceImpl( private ...
0
Kotlin
0
0
3d56c12ac2d09e9250fe4f0f962628eac0d1a1f8
603
cointcounter
Apache License 2.0
straight/src/commonMain/kotlin/me/localx/icons/straight/bold/FaceConfused.kt
localhostov
808,861,591
false
{"Kotlin": 79430321, "HTML": 331, "CSS": 102}
package me.localx.icons.straight.bold import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap.Companion.Butt import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter i...
1
Kotlin
0
5
cbd8b510fca0e5e40e95498834f23ec73cc8f245
3,001
icons
MIT License
composeApp/src/commonMain/kotlin/dev/senk0n/moerisuto/preferences/model/Preference.kt
senk0n
606,822,939
false
{"Kotlin": 50292, "Batchfile": 2675, "Ruby": 1767, "Swift": 532, "HTML": 281}
package dev.senk0n.moerisuto.preferences.model import dev.senk0n.moerisuto.core.className import dev.senk0n.moerisuto.core.classNameOf import kotlinx.coroutines.flow.StateFlow interface Preference { val tag: PreferenceTag get() = PreferenceTag(className) } data class PreferenceTag(val tag: String) interface Sin...
5
Kotlin
0
0
24ddc2ccb6a69157b9811901fe7191e3deedc18f
614
moe-risuto-app
MIT License
modules/wasm-binary/src/commonMain/kotlin/visitors/GlobalSectionAdapter.kt
wasmium
761,480,110
false
null
package org.wasmium.wasm.binary.visitors public open class GlobalSectionAdapter(protected val delegate: GlobalSectionVisitor? = null) : GlobalSectionVisitor { public override fun visitGlobalVariable(globalIndex: UInt): GlobalVariableVisitor { if (delegate != null) { return GlobalVariableAdapter...
0
null
0
1
f7ddef76630278616d221e7c8251adf0f11b9587
496
wasmium-wasm-binary
Apache License 2.0
subprojects/assemble/build-metrics/src/main/kotlin/com/avito/android/plugin/build_metrics/internal/CompositeBuildOperationsResultListener.kt
avito-tech
230,265,582
false
null
package com.avito.android.plugin.build_metrics.internal internal class CompositeBuildOperationsResultListener( private val listeners: List<BuildOperationsResultListener> ) : BuildOperationsResultListener { override fun onBuildFinished(result: BuildOperationsResult) { listeners.forEach { it.onBuildFini...
7
Kotlin
41
358
84c207b8d1a421470c8b94611eddefebbea55bfe
343
avito-android
MIT License
sdk/src/commonMain/kotlin/gitfox/model/interactor/CommitInteractor.kt
dector
341,706,824
false
null
package gitfox.model.interactor import gitfox.entity.Commit import gitfox.entity.DiffData import gitfox.model.data.server.GitlabApi /** * @author <NAME> (glvvl) on 18.06.19. */ class CommitInteractor internal constructor( private val api: GitlabApi ) { suspend fun getCommit(projectId: Long, commitId: Strin...
0
Kotlin
0
1
7258eb2bc4ca9fcd1ebf3029217d80d6fd2de4b9
527
gitfox-mirror
Apache License 2.0
http4k-contract/src/main/kotlin/org/http4k/contract/ContractRoutingHttpHandler.kt
opencollective
102,504,841
true
{"Gradle": 20, "Text": 3, "JSON": 4, "Shell": 7, "Markdown": 39, "Ignore List": 2, "Batchfile": 1, "YAML": 2, "Kotlin": 228, "XML": 3, "OASv2-json": 1, "JavaScript": 2, "Java Properties": 1, "HTML": 7, "CSS": 1, "Handlebars": 4, "Java": 2}
package org.http4k.contract import org.http4k.core.Filter import org.http4k.core.HttpHandler import org.http4k.core.Method.GET import org.http4k.core.Request import org.http4k.core.Response import org.http4k.core.Status.Companion.NOT_FOUND import org.http4k.core.then import org.http4k.core.with import org.http4k.filte...
0
Kotlin
0
1
6a8ce15e4f40f10920a9b79f2d0a6d9296d7b195
3,248
http4k
Apache License 2.0
src/main/kotlin/de/skyrising/aoc2021/day22.kt
skyrising
317,830,992
false
{"Kotlin": 370865}
package de.skyrising.aoc2021 import de.skyrising.aoc.PuzzleInput import de.skyrising.aoc.TestInput import de.skyrising.aoc.part1 import de.skyrising.aoc.part2 import java.util.* @Suppress("unused") class BenchmarkDay22 : BenchmarkDayV1(22) @Suppress("unused") fun registerDay22() { val test = TestInput(""" ...
0
Kotlin
0
0
ca9cbf4212c50424f595c7ecbe3e13b53d4cefb6
7,877
aoc2020
MIT License
kotlin-web/src/jsTest/kotlin/web/events/EventTypesTest.kt
JetBrains
93,250,841
false
null
package web.events import web.events.ProgressEvent.Companion.PROGRESS import kotlin.test.Test import kotlin.test.assertEquals class EventTypesTest { @Test fun import() { assertEquals<Any>("abort", ProgressEvent.ABORT) } @Test fun staticImport() { assertEquals<Any>("progress", PROG...
39
null
165
1,347
997ed3902482883db4a9657585426f6ca167d556
334
kotlin-wrappers
Apache License 2.0
app/src/main/java/com/hfut/schedule/ui/Activity/success/search/Search/LoginWeb/loginWebUI.kt
Chiu-xaH
705,508,343
false
null
package com.hfut.schedule.ui.Activity.success.search.Search.LoginWeb import android.os.Handler import android.os.Looper import androidx.compose.animation.core.Spring import androidx.compose.animation.core.animateFloatAsState import androidx.compose.animation.core.spring import androidx.compose.foundation.clickable imp...
0
null
1
3
aead3d3e437531c52a0ba99d71fae27d4ea0fe4f
6,515
HFUT-Schedule
Apache License 2.0
app/src/main/java/app/odapplications/bitstashwallet/modules/send/submodules/memo/SendMemoViewModel.kt
bitstashco
220,133,996
false
null
package app.odapplications.bitstashwallet.modules.send.submodules.memo import androidx.lifecycle.MutableLiveData import androidx.lifecycle.ViewModel class SendMemoViewModel : ViewModel(), SendMemoModule.IView { lateinit var delegate: SendMemoModule.IViewDelegate val maxLength = MutableLiveData<Int>() f...
3
null
3
11
64c242dbbcb6b4df475a608b1edb43f87e5091fd
530
BitStash-Android-Wallet
MIT License
linea/src/commonMain/kotlin/compose/icons/lineaicons/basic/BookPencil.kt
DevSrSouza
311,134,756
false
{"Kotlin": 36719092}
package compose.icons.lineaicons.basic 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 import androidx.compose.ui.gr...
17
Kotlin
25
571
a660e5f3033e3222e3553f5a6e888b7054aed8cd
3,467
compose-icons
MIT License
filepickerlibrary/src/main/java/com/nareshchocha/filepickerlibrary/ui/activitys/MediaFilePickerActivity.kt
ChochaNaresh
637,484,561
false
null
package com.nareshchocha.filepickerlibrary.ui.activitys import android.Manifest import android.app.Activity import android.content.Context import android.content.Intent import android.content.pm.PackageManager import android.net.Uri import android.os.Build import android.os.Bundle import androidx.activity.result.contr...
1
null
7
93
f01cad5848595e595f9ffd086397d1644c9d8aa4
9,138
FilePicker
Apache License 2.0
app/src/main/java/com/google/samples/apps/sunflower/data/GardenPlantingRepository.kt
LiuPangYao
380,426,708
false
null
/* * Copyright 2018 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
0
Kotlin
0
1
ae02063ca7ffed7fae8ead43a1e9b5344590709f
3,105
bw7
Apache License 2.0
compiler/test/data/typescriptBodies/import/simpleImport.kt
Kotlin
159,510,660
false
{"Kotlin": 2656818, "WebIDL": 323681, "TypeScript": 135641, "JavaScript": 19475, "ANTLR": 11333}
@file:Suppress("INTERFACE_WITH_SUPERCLASS", "OVERRIDING_FINAL_MEMBER", "RETURN_TYPE_MISMATCH_ON_OVERRIDE", "CONFLICTING_OVERLOADS", "EXTERNAL_DELEGATION") import kotlin.js.* import kotlin.js.Json import org.khronos.webgl.* import org.w3c.dom.* import org.w3c.dom.events.* import org.w3c.dom.parsing.* import org.w3c.dom...
244
Kotlin
42
535
d50b9be913ce8a2332b8e97fd518f1ec1ad7f69e
1,890
dukat
Apache License 2.0
app/src/main/java/com/danielvilha/luasapp/di/component/ApplicationComponent.kt
danielvilha
273,302,957
false
null
package com.danielvilha.luasapp.di.component import android.app.Application import com.danielvilha.luasapp.AppApplication import com.danielvilha.luasapp.data.remote.MiddlewareApi import com.danielvilha.luasapp.data.repository.MiddlewareRepository import com.danielvilha.luasapp.di.module.ApplicationModule import com.da...
0
Kotlin
0
0
f39817cdb4e870456319dd69ca9e2c64c3b026dd
985
kotlin-luas-app
The Unlicense
solidblocks-rds-postgresql/test/src/test/kotlin/de/solidblocks/rds/postgresql/test/RdsPostgresqlInvalidConfigIntegrationTest.kt
pellepelster
427,474,970
false
null
package de.solidblocks.rds.postgresql.test import de.solidblocks.rds.postgresql.test.RdsPostgresqlMinioBackupIntegrationTest.Companion.database import mu.KotlinLogging import org.junit.jupiter.api.Assertions import org.junit.jupiter.api.Disabled import org.junit.jupiter.api.Test import org.junit.jupiter.api.TestInstan...
6
Kotlin
5
8
d73a91b20e799a1dc075428266a0644e4fddd303
3,751
solidblocks
MIT License
vilkår/uføre/domain/src/main/kotlin/vilkår/uføre/domain/UføreVilkår.kt
navikt
227,366,088
false
{"Kotlin": 10119313, "Shell": 4388, "TSQL": 1233, "Dockerfile": 1209}
package vilkår.uføre.domain import arrow.core.Either import arrow.core.Nel import arrow.core.left import arrow.core.nonEmptyListOf import arrow.core.right import no.nav.su.se.bakover.common.domain.Stønadsperiode import no.nav.su.se.bakover.common.domain.tidslinje.Tidslinje.Companion.lagTidslinje import no.nav.su.se.ba...
5
Kotlin
1
1
fbeb1614c40e0f6fce631d4beb1ba25e2f78ddda
7,729
su-se-bakover
MIT License
sceneview_2_0_0/src/main/java/io/github/sceneview/utils/FrameTime.kt
SceneView
426,414,439
false
null
package io.github.sceneview.utils import kotlin.time.Duration import kotlin.time.Duration.Companion.nanoseconds import kotlin.time.DurationUnit /** * ### Provides time information for the current frame. * * @param nanoseconds The time when this frame started * @param lastNanoseconds The time when the previous fra...
55
null
90
662
001ee5e60166bee050d02f931f106d687b47e3cd
1,174
sceneview-android
Apache License 2.0
src/main/kotlin/g0001_0100/s0092_reverse_linked_list_ii/Solution.kt
javadev
190,711,550
false
null
/** * Example: * var li = ListNode(5) * var v = li.`val` * Definition for singly-linked list. * class ListNode(var `val`: Int) { * var next: ListNode? = null * } */ class Solution { fun reverseBetween(head: ListNode?, left: Int, right: Int): ListNode? { var head = head var right = right ...
1
null
20
43
62708bc4d70ca2bfb6942e4bbfb4c64641e598e8
1,535
LeetCode-in-Kotlin
MIT License
platform/credential-store/src/libraries/linuxSecretLibrary.kt
afdw
66,280,367
true
{"Text": 2540, "XML": 4219, "Ant Build System": 19, "Shell": 34, "Markdown": 6, "Ignore List": 22, "Git Attributes": 4, "Batchfile": 23, "Java": 50569, "Java Properties": 85, "HTML": 2441, "Kotlin": 436, "Groovy": 2258, "JavaScript": 44, "JFlex": 23, "XSLT": 109, "CSS": 70, "desktop": 2, "Python": 7648, "INI": 186, "SV...
package com.intellij.credentialStore.linux import com.intellij.credentialStore.CredentialStore import com.intellij.credentialStore.LOG import com.intellij.jna.DisposableMemory import com.sun.jna.Library import com.sun.jna.Native import com.sun.jna.Pointer private val LIBRARY by lazy { Native.loadLibrary("secret-1", S...
0
Java
0
0
759cd48f7a36a7df41c28fd259fdcf8816cca9d9
3,421
intellij-community
Apache License 2.0
core/testing/src/main/java/io/github/droidkaigi/confsched/testing/robot/SponsorsScreenRobot.kt
DroidKaigi
776,354,672
false
{"Kotlin": 1119401, "Swift": 211686, "Shell": 2954, "Makefile": 1314, "Ruby": 386}
package io.github.droidkaigi.confsched.testing.robot import androidx.compose.ui.test.assertContentDescriptionEquals import androidx.compose.ui.test.assertIsDisplayed import androidx.compose.ui.test.filter import androidx.compose.ui.test.hasTestTag import androidx.compose.ui.test.hasText import androidx.compose.ui.test...
71
Kotlin
201
438
57c38a76beb5b75edc9220833162e1257f40ac06
5,698
conference-app-2024
Apache License 2.0
app/src/test/java/com/example/homepage/loginSignup/HelperSignInSignUpTest.kt
Parvez-Uni-Projects
516,901,454
false
null
package com.example.homepage.loginSignup import org.junit.Assert.assertEquals import org.junit.Before import org.junit.Test import org.junit.runner.RunWith import org.junit.runners.Parameterized @RunWith(Parameterized::class) class HelperSignInSignUpTest( private val testData: EmailPasswordTestData ) { comp...
10
null
4
9
a2bbc2ca9310241e623b123b4e9f62004c28e2e5
1,015
AUST_BUDDY
MIT License
src/main/kotlin/me/javahere/apipathpamanager/ApiPathBuilderExtensions.kt
javokhirakramjonov
765,915,618
false
null
package me.javahere.apipathpamanager internal fun ApiPathSegment.printPaths() { println("All possible endpoints:") printSegments(String.EMPTY, this) println("Finish.") } private fun printSegments( currentPath: String, apiPathSegment: ApiPathSegment, ) { val path = if (currentPath.isE...
0
null
0
1
3bf25173627790d618a2f63c9d3df7c43f6c71a6
677
api-path-manager
MIT License
app/src/main/java/com/hal/kaiyan/ui/home/fragment/RelatedFragment.kt
leihaogit
734,572,648
false
null
package com.hal.kaiyan.ui.home.fragment import android.annotation.SuppressLint import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.fragment.app.viewModels import androidx.lifecycle.lifecycleScope import androidx.recyclerview.widget.LinearLa...
0
null
1
6
dc9cbb8035f46e35c7a2f648fc9e3bdf7a8eb7d6
5,603
kaiyan
Apache License 2.0
app/src/main/java/com/mkdev/zerotohero/extension/ActivityExtensions.kt
msddev
408,932,522
false
null
package com.d204.algo.ui.extension import android.app.Activity import android.content.Context import android.content.Intent import android.view.View import android.widget.Toast import androidx.fragment.app.Fragment import com.google.android.material.snackbar.Snackbar internal fun Activity.showSnackBar(view: View, mes...
0
null
1
6
5d174a554a196bc3ee2823b1d8c12a6dcd60b1ce
1,033
Sample-MVVM-Clean-Arch
Apache License 2.0
light/src/main/kotlin/net/kotlinx/okhttp/OkHttpSupport.kt
mypojo
565,799,715
false
{"Kotlin": 1352508, "Jupyter Notebook": 13439, "Java": 9531}
package net.kotlinx.okhttp import okhttp3.MultipartBody import okhttp3.OkHttpClient import okhttp3.Request import okhttp3.RequestBody.Companion.asRequestBody import okhttp3.Response import java.io.File private val OKHTTP_REQ_INTERCEPTOR: MutableMap<OkHttpClient, (OkHttpReq) -> Unit> = mutableMapOf() /** interceptor...
0
Kotlin
0
1
fb930ed8208165b710de3eff879e1aaa2f154655
1,110
kx_kotlin_support
MIT License
core/src/main/kotlin/net/ormr/kommando/utils/emojis.kt
Olivki
473,789,476
false
{"Kotlin": 389470}
/* * MIT License * * Copyright (c) 2022 <NAME> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, m...
3
Kotlin
0
2
a3cbb08a332873cc783296c45c21cf950aed7ed5
2,238
kommando
MIT License
app/src/main/kotlin/taiwan/no1/app/mvp/models/tv/TvBriefModel.kt
pokk
77,319,651
false
null
package taiwan.no1.app.mvp.models.tv import android.os.Parcel import android.os.Parcelable import taiwan.no1.app.mvp.models.IVisitable import taiwan.no1.app.ui.adapter.viewholder.viewtype.IViewTypeFactory import java.util.* /** * * @author Jieyi * @since 2/5/17 */ data class TvBriefModel(val poster_path: Stri...
0
Kotlin
5
5
d5c8c3e473e6c480e1eb1660caf477ada65859f0
2,863
mvp-magazine
Apache License 2.0
client/src/main/kotlin/com/configset/client/ObservableConfProperty.kt
raymank26
296,910,120
false
null
package com.configset.client import com.configset.client.converter.Converter import com.configset.sdk.extension.createLoggerStatic private val LOG = createLoggerStatic<ObservableConfProperty<*>>() class ObservableConfProperty<T>( private val configPropertyLinkProcessor: ConfigPropertyLinkProcessor, private v...
0
Kotlin
0
0
a43603265e1c7e4c5e38d69ecd3bb8a210ba3691
3,080
configset
Apache License 2.0
app/src/main/kotlin/app/luisramos/ler/ui/settings/SettingsItemSwitchView.kt
orgmir
244,587,282
false
{"Kotlin": 217708, "HTML": 8054, "Ruby": 1070}
package app.luisramos.ler.ui.settings import android.content.Context import android.util.AttributeSet import android.view.Gravity import android.widget.TextView import androidx.core.view.isGone import androidx.core.view.isVisible import androidx.core.view.updatePadding import app.luisramos.ler.R import app.luisramos.l...
2
Kotlin
0
1
b703b241c8b0d1093ae4fe89b0d7a5ca1df03cb4
2,485
ler-android
Apache License 2.0
app/src/test/java/com/fappslab/bookshelf/main/domain/usecase/SetFavoriteUseCaseTest.kt
F4bioo
661,873,124
false
null
package com.fappslab.bookshelf.main.domain.usecase import com.fappslab.bookshelf.main.domain.repository.BookshelfRepository import com.fappslab.bookshelf.stub.BooksFactory.book import io.mockk.every import io.mockk.mockk import io.mockk.verify import io.reactivex.Completable import io.reactivex.Flowable import org.jun...
0
Kotlin
0
0
3b3f5a9759e9f94068d3eba8a2fa01f647096b8d
1,309
Bookshelf
MIT License