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
compiler/src/test/kotlin/se/ansman/dagger/auto/compiler/AutoBindTest.kt
ansman
565,464,998
false
null
package se.ansman.dagger.auto.compiler import org.junit.jupiter.api.DisplayName import org.junit.jupiter.api.Nested import org.junit.jupiter.api.io.TempDir import org.junit.jupiter.params.ParameterizedTest import org.junit.jupiter.params.provider.ArgumentsSource import se.ansman.dagger.auto.AutoBind import se.ansman.d...
7
null
3
69
10c439594cea772cdc90e5e89c0847061d7a26e9
10,502
auto-dagger
Apache License 2.0
app/src/main/java/com/breadwallet/ui/login/LoginScreenHandler.kt
breadwallet
37,503,422
false
null
/** * BreadWallet * * Created by <NAME> <<EMAIL>> on 10/25/19. * Copyright (c) 2019 breadwallet LLC * * 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 wi...
36
null
450
385
dfbbfbfc92dae054e47f245e1ce2ac8a39e65e57
2,098
breadwallet-android
MIT License
app/src/main/java/com/zipdabang/zipdabang_android/module/my/ui/FollowingScreen.kt
zipdabang
666,457,004
false
{"Kotlin": 1882109}
package com.zipdabang.zipdabang_android.module.my.ui import android.util.Log import android.widget.Toast import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.padding import androidx.compose.foundation.lazy.LazyColumn import androidx.compose.foundation.rememberScrollState import an...
8
Kotlin
1
2
c883a072e1d60ea6e00cc3ea87c67d23b882f2fc
4,476
android
The Unlicense
advanced-compose-state/src/main/java/com/mcmouse88/advanced_compose_state/utils/NetworkUtil.kt
mcmouse88
691,754,136
false
{"Kotlin": 496629}
package com.mcmouse88.advanced_compose_state.utils import coil.intercept.Interceptor import coil.request.ImageResult import okhttp3.HttpUrl.Companion.toHttpUrl /** * A Coil [Interceptor] which appends query params to Unsplash urls to request sized imaged */ object UnsplashSizingInterceptor : Interceptor { overr...
1
Kotlin
0
0
09ddeb718c273ba7178c62e3572cff7e91e756fd
937
GoogleCodelabs
Apache License 2.0
app/src/main/java/com/mahmoudgalal/myphoneinvoice/fragments/StartFragment.kt
mahmoudgalal
571,243,306
false
{"Kotlin": 68125, "Java": 7586}
package com.mahmoudgalal.myphoneinvoice.fragments import android.widget.EditText import android.view.LayoutInflater import android.view.ViewGroup import android.os.Bundle import com.mahmoudgalal.myphoneinvoice.R import android.widget.Toast import android.text.TextUtils import android.view.View import android.widget.Bu...
0
Kotlin
0
1
e598a87ab18b20fd9683f4dc40e9f9db39c76c76
2,951
MyPhoneInvoiceApp
MIT License
src/main/java/com/sample/dopestudyapp/components/StudySessionsList.kt
AdarshThakare
836,057,159
false
{"Kotlin": 184299}
package com.sample.dopestudyapp.components import androidx.compose.foundation.Image import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Row import androidx.compose.foundation.layout.Spacer import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.foundation.l...
0
Kotlin
0
0
e5324632bf1fd4ec9143879c37a831a3483a5558
4,146
DopeSTUDY-App
Apache License 2.0
tmp/arrays/youTrackTests/7907.kt
DaniilStepanov
228,623,440
false
null
// Original bug: KT-23274 suspend inline fun <reified T> ExtendMe.receive(): T = receive("") as T class ExtendMe { suspend fun receive(s: String): Any { return Any() } }
1
null
12
1
602285ec60b01eee473dcb0b08ce497b1c254983
188
bbfgradle
Apache License 2.0
mui-icons-kotlin/src/jsMain/kotlin/mui/icons/material/ReplySharp.kt
karakum-team
387,062,541
false
{"Kotlin": 2961484, "TypeScript": 2249, "JavaScript": 1167, "HTML": 724, "CSS": 86}
// Automatically generated - do not modify! @file:JsModule("@mui/icons-material/ReplySharp") package mui.icons.material @JsName("default") external val ReplySharp: SvgIconComponent
0
Kotlin
5
35
d12f6b1ad1b215ad7d3d9f27e24d48ada9b7fe2d
184
mui-kotlin
Apache License 2.0
compiler/testData/codegen/customScript/captureImplicitReceiverInDefaultValue.kts
JetBrains
3,432,266
false
null
// IGNORE_BACKEND: JS, JS_IR, JS_IR_ES6, NATIVE, WASM, JVM_OLD // KOTLIN_SCRIPT_DEFINITION: org.jetbrains.kotlin.codegen.TestScriptWithReceivers // receiver: abracadabra // expected: rv=cadabra // KT-55068 class User(var property: String = drop(4)) val rv = User().property
154
null
5566
45,025
8a69904d02dd3e40fae5f2a1be4093d44a227788
278
kotlin
Apache License 2.0
product/dashboard/src/main/java/io/codekvast/dashboard/util/TimeServiceImpl.kt
tusharbihani
172,893,256
true
{"Java": 844567, "HTML": 92279, "Python": 68139, "TypeScript": 60929, "Shell": 38676, "Kotlin": 19904, "JavaScript": 10407, "Smarty": 10178, "PLpgSQL": 6252, "Groovy": 4945, "Ruby": 3939, "PLSQL": 2856, "SQLPL": 2824, "Perl": 1660, "CSS": 1280, "Dockerfile": 760}
/* * Copyright (c) 2015-2019 Hallin Information Technology AB * * 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, co...
0
Java
0
1
e9991ad69e5e6643f1a3e03f5f2e2fe3db2703b0
1,555
codekvast
MIT License
app/src/main/java/smk/adzikro/moviezone/MovieApplication.kt
al-qorut
683,978,951
false
{"Kotlin": 97687}
package smk.adzikro.moviezone import android.app.Application import androidx.multidex.MultiDex import dagger.hilt.android.HiltAndroidApp import timber.log.Timber @HiltAndroidApp class MovieApplication : Application(){ override fun onCreate() { super.onCreate() MultiDex.install(this) if ...
0
Kotlin
0
0
1057c8c290ff078d2d69a1e33317c07eea368348
802
MovieZone
Apache License 2.0
app/src/main/java/org/listenbrainz/android/ui/screens/about/AboutFragment.kt
metabrainz
550,726,972
false
null
package org.listenbrainz.android.ui.screens.about import android.os.Bundle import android.view.* import androidx.fragment.app.Fragment import org.listenbrainz.android.application.App import org.listenbrainz.android.R import org.listenbrainz.android.databinding.FragmentAboutBinding class AboutFragment : Fragment() { ...
18
Kotlin
11
12
a01d6abd4bcb860cfa1d0ed9246b10dcd7f0c123
1,182
listenbrainz-android
Apache License 2.0
Practice Projects/microservice-monitoring/src/main/kotlin/com/microservices/microservice/monitoring/GreetingController.kt
jinusong
195,900,599
false
null
package com.microservices.microservice.monitoring import org.springframework.beans.factory.annotation.Autowired import org.springframework.web.bind.annotation.GetMapping import org.springframework.web.bind.annotation.RestController @RestController class GreetingController { @Autowired lateinit var greetingSer...
0
Kotlin
0
1
4aac8f9a020153aabaf1483b46a36d4a3f750cab
420
Kotlin-Microservice
MIT License
utils/src/main/java/se/stobix/utils/kotlinExtensions/KotlinExtensions.kt
stobix
354,821,011
false
{"Gradle": 4, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 4, "Batchfile": 1, "Markdown": 1, "Proguard": 2, "Kotlin": 16, "XML": 19, "Java": 2}
package se.stobix.utils.kotlinExtensions import android.os.Build import androidx.annotation.RequiresApi import java.io.Serializable import java.util.function.BiFunction import java.util.function.Function /** * Makes a [Triple] from a [Pair] */ infix fun <A, B, C> Pair<A, B>.to(c: C): Triple<A, B, C> = Triple(this.f...
0
Kotlin
0
0
c00639d0154d50d75639b76341688c892064b4f0
12,482
kotlinAndroidUtils
Apache License 2.0
lib/src/main/java/space/taran/arklib/domain/kind/ResourceKindFactory.kt
ARK-Builders
449,037,056
false
null
package space.taran.arklib.domain.kind import space.taran.arklib.ResourceId import space.taran.arklib.domain.dao.ResourceExtra import space.taran.arklib.domain.index.ResourceMeta import space.taran.arklib.domain.meta.MetadataStorage import space.taran.arklib.utils.extension import space.taran.arklib.utils.getMimeTypeU...
4
Kotlin
3
3
2a8f9af8d2527c89b8c9344b0e4e46945c99b867
2,838
arklib-android
MIT License
src/main/kotlin/io/github/lobodpav/spock/logging/Logger.kt
lobodpav
671,811,601
false
{"Kotlin": 33172, "Groovy": 22010, "HTML": 886}
package io.github.lobodpav.spock.logging import kotlin.reflect.KClass import com.intellij.openapi.diagnostic.Logger as IntelliJLogger /** * Retrieves IntelliJ Logger instance for the class. * * Does not print out `$Companion` in the class name. * * @sample LoggerSample * */ abstract class Logger { protected...
0
Kotlin
0
1
900657192b26a00c64087b5e665532ffe6b65bb9
800
spock-intellij-plugin
Apache License 2.0
app/src/test/kotlin/nolambda/androidstarter/AppNavigatorSpec.kt
esafirm
101,471,001
false
null
package nolambda.androidstarter import com.bluelinelabs.conductor.Router import com.bluelinelabs.conductor.RouterTransaction import io.kotlintest.mock.mock import io.kotlintest.specs.StringSpec import nolambda.androidstarter.navigator.AppNavigator import org.mockito.Mockito class AppNavigatorSpec : StringSpec({ ...
1
Kotlin
3
13
3576ed92180650bd05f553f4aa59c3aaa9af10de
552
android-conductor-boilerplate
MIT License
idea/testData/formatter/Class.kt
JakeWharton
99,388,807
false
null
class Some() { val a : Int }
0
null
28
83
4383335168338df9bbbe2a63cb213a68d0858104
28
kotlin
Apache License 2.0
app/src/main/java/com/example/architecturepattern/mvp/presenter/LoginPresenter.kt
cliearl
486,805,407
false
{"Kotlin": 12175}
package com.example.architecturepattern.mvp.presenter import com.example.architecturepattern.mvp.model.User interface LoginPresenter { val user: User fun login() }
0
Kotlin
0
3
4ec1c7e1f84f826eb2a49781cd3a80bf3af4f46c
174
architecture-pattern-sample
Apache License 2.0
src/main/kotlin/com/autonomousapps/tasks/ArtifactsAnalysisTask.kt
jrodbx
288,874,368
false
null
@file:Suppress("UnstableApiUsage") package com.autonomousapps.tasks import com.autonomousapps.TASK_GROUP_DEP import com.autonomousapps.internal.Artifact import com.autonomousapps.internal.DependencyConfiguration import com.autonomousapps.internal.utils.fromJsonSet import com.autonomousapps.internal.utils.getAndDelete...
0
null
0
1
3e36ef979bc3b543c260e209f7a21c87bfcca4e3
2,698
dependency-analysis-android-gradle-plugin
Apache License 2.0
src/main/kotlin/coffee/injected/extensions/logging/LoggingExtensions.kt
CoffeeInjected
244,717,732
false
null
@file:Suppress("NOTHING_TO_INLINE") package coffee.injected.extensions.logging import java.util.logging.Logger inline fun Logger.severe(any: Any?) = severe(any.toString()) inline fun Logger.warning(any: Any?) = warning(any.toString()) inline fun Logger.info(any: Any?) = info(any.toString()) inline fun Logger.config(...
0
Kotlin
0
0
6598dfb0bb963befcc3b3fa9b49bc01753cc8c48
874
KExtensions
Apache License 2.0
MapboxSearch/base/src/test/java/com/mapbox/search/base/result/BaseSearchResponseTest.kt
mapbox
438,355,708
false
{"Kotlin": 2247142, "Java": 38877, "Python": 18980, "Shell": 17499}
package com.mapbox.search.base.result import com.mapbox.search.common.tests.createTestCoreSearchResponseCancelled import com.mapbox.search.common.tests.createTestCoreSearchResponseConnectionError import com.mapbox.search.common.tests.createTestCoreSearchResponseHttpError import com.mapbox.search.common.tests.createTes...
18
Kotlin
7
33
bbe22d4d17e8bab22b64c7327fafdd56be7a03e4
4,285
mapbox-search-android
Apache License 2.0
ui/src/main/java/kiwi/orbit/compose/ui/controls/TopAppBarLarge.kt
kiwicom
289,355,053
false
null
package kiwi.orbit.compose.ui.controls import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.PaddingValues import androidx.compose.foundation.layout.Row import androidx.compose.found...
22
Kotlin
6
40
54f9289d73290ea9e69554a8babb2dad415924ef
7,471
orbit-compose
MIT License
vuesaxicons/src/commonMain/kotlin/moe/tlaster/icons/vuesax/vuesaxicons/bold/Messageedit.kt
Tlaster
560,394,734
false
{"Kotlin": 25133302}
package moe.tlaster.icons.vuesax.vuesaxicons.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.Compa...
0
Kotlin
0
2
b8a8231e6637c2008f675ae76a3423b82ee53950
3,687
VuesaxIcons
MIT License
app/src/main/java/com/projectAnya/stunthink/presentation/screen/food/FoodDetailState.kt
StuntedProject
514,847,131
false
{"Kotlin": 522096}
package com.projectAnya.stunthink.presentation.screen.food data class FoodDetailState( val message: String = "", val isLoading: Boolean = false )
0
Kotlin
0
1
fb2cd6cb887908070962c8a4e05c87197c333d53
154
Mobile
Freetype Project License
moon-sdk-kotlin/src/test/kotlin/org/usemoonai/moonsdk/models/SupportedDefaultResponseTest.kt
moon-up
725,507,140
false
{"Kotlin": 1433158}
/** * * Please note: * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * Do not edit this file manually. * */ @file:Suppress( "ArrayInDataClass", "EnumEntryName", "RemoveRedundantQualifierName", "UnusedImport" ) package org.usemoonai.moonsdk.models import io....
0
Kotlin
0
0
3148d0e925145395dcd950174bd8fb8ea7e97ff2
1,186
moon-sdk-kotlin
MIT License
demo/plot/compose-android-min/src/main/kotlin/demo/plot/MainActivity.kt
JetBrains
571,767,875
false
{"Kotlin": 175627}
/* * Copyright (c) 2023 JetBrains s.r.o. * Use of this source code is governed by the MIT license that can be found in the LICENSE file. */ package demo.plot import android.os.Bundle import androidx.activity.ComponentActivity import androidx.activity.compose.setContent import androidx.compose.foundation.layout.Col...
5
Kotlin
2
88
1649c1d8232895073ad31baea0625bf29f925b17
2,505
lets-plot-skia
MIT License
src/sugarWorld/Workforce.kt
improbable-research
142,892,726
false
null
package sugarWorld import sugarWorld.Functions.expCdf import sugarWorld.Functions.logistic import kotlin.math.max import kotlin.math.min class Workforce(val country: Country) : Consumer(bankBalance = country.population.toDouble()) { val baselineExpenditure = country.population.toDouble() * 0.0 private var pr...
0
Kotlin
0
0
5229e9b8c8deb3617cc5de5193fde3c26644e566
3,565
sugarWorld
MIT License
sink/src/test/kotlin/org/neo4j/connectors/kafka/sink/strategy/cud/OperationTest.kt
neo4j
665,115,793
false
{"Kotlin": 1536973, "JavaScript": 2839, "ANTLR": 2178, "Shell": 591}
/* * Copyright (c) "Neo4j" * Neo4j Sweden AB [https://neo4j.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 requir...
3
Kotlin
5
4
c2d0767ad4f40248942ee439a3c38bced3ab5e53
17,532
neo4j-kafka-connector
Apache License 2.0
app/src/main/java/ee/oyatl/ime/make/preset/PresetLoader.kt
Lee0701
662,239,170
false
{"Kotlin": 210510}
package ee.oyatl.ime.make.preset import android.content.Context import android.content.SharedPreferences import android.util.TypedValue import androidx.preference.PreferenceManager import com.charleskorn.kaml.Yaml import com.charleskorn.kaml.decodeFromStream import java.io.File import kotlin.math.roundToInt class Pre...
6
Kotlin
1
1
e8b1f55203276c83555ed91a82095e16bb52470c
4,158
make-keyboard
Apache License 2.0
app/src/main/java/com/google/places/android/ktx/demo/PlacesSearchDemoActivity.kt
googlemaps
279,716,514
false
null
// Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
9
null
23
98
712344af5fcf0acd617fab2511f2243c313ce8d3
3,876
android-places-ktx
Apache License 2.0
app/src/main/java/com/mertceyhan/bitcoinmarket/components/AboutChart.kt
tfaki
448,953,115
true
{"Kotlin": 124916}
package com.mertceyhan.bitcoinmarket.components import android.content.res.Configuration import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Column import androidx.compose.material.Text import androidx.compose.runtime.Composable import androidx.compose.ui.Modifier import and...
0
Kotlin
0
1
3e0c3ea7d635950c0775f1883dce74489561cb63
1,850
bitcoin-market-android
Apache License 2.0
src/main/kotlin/com/github/cpjinan/plugin/akarilevel/internal/manager/ConfigManager.kt
CPJiNan
672,557,565
false
{"Kotlin": 51102}
package com.github.cpjinan.plugin.akarilevel.internal.manager import taboolib.module.configuration.Config import taboolib.module.configuration.ConfigFile import java.util.* object ConfigManager { @Config("settings.yml", autoReload = false) lateinit var settings: ConfigFile // Options fun getConfigVer...
1
Kotlin
3
2
fd2da84e63d6c0a1ee8b63fb19c7bf7d9a566e7a
2,599
AkariLevel
Creative Commons Zero v1.0 Universal
geary-core/src/main/kotlin/com/mineinabyss/geary/ecs/query/QueryIterator.kt
MineInAbyss
306,093,350
false
null
package com.mineinabyss.geary.ecs.query import com.mineinabyss.geary.ecs.accessors.ResultScope import com.mineinabyss.geary.ecs.engine.ArchetypeIterator public class QueryIterator( public val query: Query ) : Iterator<ResultScope> { private val archetypes = query.matchedArchetypes.toList().iterator() ove...
20
null
9
16
6cae001ed4eb7803a921f772752d26f4e7a1d85d
993
Geary
MIT License
compiler/frontend.common/src/org/jetbrains/kotlin/resolve/DefaultImportProvider.kt
JetBrains
3,432,266
false
{"Kotlin": 79571273, "Java": 6776465, "Swift": 4063829, "C": 2609744, "C++": 1957654, "Objective-C++": 175279, "JavaScript": 130754, "Python": 59855, "Shell": 34920, "Objective-C": 21463, "Lex": 21452, "Batchfile": 11382, "CSS": 11368, "Ruby": 10470, "Dockerfile": 9907, "Groovy": 7092, "EJS": 5241, "CMake": 4473, "HTML...
/* * Copyright 2010-2024 JetBrains s.r.o. and Kotlin Programming Language contributors. * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. */ package org.jetbrains.kotlin.resolve import org.jetbrains.kotlin.config.LanguageFeature import org.jetbrains....
181
Kotlin
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
2,337
kotlin
Apache License 2.0
src/main/kotlin/com/dzirbel/kotify/db/SavedEntityTable.kt
dzirbel
211,595,180
false
null
package com.dzirbel.kotify.db import org.jetbrains.exposed.sql.Column import org.jetbrains.exposed.sql.insert import org.jetbrains.exposed.sql.javatime.timestamp import org.jetbrains.exposed.sql.select import org.jetbrains.exposed.sql.update import java.time.Instant /** * Common table schema for representing the sav...
1
Kotlin
2
9
2f8879a43f5741d42811ef90cf12f07581599ed9
3,885
kotify
MIT License
app/src/main/java/fr/nihilus/music/library/albums/AlbumsFragment.kt
thibseisel
80,150,620
false
null
/* * Copyright 2020 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
14
null
8
50
d2abd7a0a83ea25e00cf1ad52ec1004478775157
4,207
android-odeon
Apache License 2.0
app/src/main/java/org/sil/storyproducer/controller/export/CreateActivity.kt
chris-kalaam
313,961,445
true
{"Kotlin": 443947, "HTML": 194010, "Java": 70493, "Dockerfile": 1612, "Shell": 770}
package org.sil.storyproducer.controller.export import android.content.Context import android.graphics.Rect import android.os.Bundle import android.text.Editable import android.text.TextWatcher import android.view.MotionEvent import android.view.View import android.view.inputmethod.InputMethodManager import android.wi...
0
null
0
0
0ca086e0bbb37e3b19f5136e0b44e963dcaca97a
14,233
StoryProducer
MIT License
dto/src/main/kotlin/cz/vutbr/fit/knot/enticing/dto/config/dsl/metadata/AttributeConfiguration.kt
d-kozak
180,137,313
false
{"Kotlin": 1104829, "TypeScript": 477922, "Python": 23617, "Shell": 19609, "HTML": 8510, "ANTLR": 2005, "CSS": 1432}
package cz.vutbr.fit.knot.enticing.dto.config.dsl.metadata import cz.vutbr.fit.knot.enticing.dto.config.dsl.EnticingConfigurationUnit import cz.vutbr.fit.knot.enticing.dto.config.dsl.visitor.EnticingConfigurationVisitor /** * Configuration for on attribute of an entity */ data class AttributeConfiguration( ...
0
Kotlin
0
0
1ea9f874c6d2e4ea158e20bbf672fc45bcb4a561
2,119
enticing
MIT License
lib/src/main/java/com/github/compose/waveloading/WaveLoading.kt
vitaviva
407,110,158
false
null
package com.github.compose.waveloading import android.graphics.Bitmap import android.graphics.BitmapShader import android.graphics.Canvas import android.graphics.Shader import androidx.annotation.FloatRange import androidx.compose.animation.core.CubicBezierEasing import androidx.compose.animation.core.InfiniteTransiti...
1
null
4
23
196574bdc0f6eda4f63cbd1ae56cd48ebe0c7fc3
8,466
ComposeWaveLoading
MIT License
src/client/kotlin/tech/thatgravyboat/skyblockapi/api/events/info/TabListHeaderFooterChangeEvent.kt
SkyblockAPI
861,984,504
false
{"Kotlin": 186785, "Java": 20830}
package tech.thatgravyboat.skyblockapi.api.events.info import net.minecraft.network.chat.Component import tech.thatgravyboat.skyblockapi.api.events.base.SkyblockEvent data class TabListHeaderFooterChangeEvent( val oldFooter: Component, val oldHeader: Component, val newFooter: Component, val newHeader:...
2
Kotlin
3
3
8948d699bf0fc3df88de59d8ec79d162fb922ace
351
SkyblockAPI
MIT License
api/net/src/main/kotlin/org/rsmod/api/net/rsprot/NetworkModule.kt
rsmod
293,875,986
false
{"Kotlin": 1817705}
package org.rsmod.api.net.rsprot import com.google.inject.Provider import com.google.inject.Scopes import com.google.inject.TypeLiteral import jakarta.inject.Inject import net.rsprot.protocol.api.NetworkService import org.rsmod.game.entity.Player import org.rsmod.plugin.module.PluginModule class NetworkModule : Plugi...
0
Kotlin
64
95
3ba446ed70bcde0870ef431e1a8527efc6837d6c
729
rsmod
ISC License
app/src/main/java/com/example/imovie/di/AppListModule.kt
rpaulaeduarda
329,974,696
false
null
package com.example.imovie.di import dagger.Module @Module(includes = [HomePresentationModule::class, DetailsPresentationModule::class, DomainModule::class, DataModule::class]) abstract class AppListModule
1
Kotlin
1
0
a060efcbeddacd71c4b874657733d4960b5276a2
207
iMovie
Apache License 2.0
pkl/src/main/java/com/polstat/pkl/repository/WilayahRepositoryImpl.kt
Mjulianfr001056
739,524,606
false
{"Gradle": 33, "Shell": 3, "Markdown": 22, "Java Properties": 6, "Ignore List": 36, "Batchfile": 1, "Git Attributes": 1, "YAML": 3, "XML": 553, "Gradle Kotlin DSL": 9, "Kotlin": 799, "INI": 30, "Java": 723, "Proguard": 3, "JSON": 4, "Text": 2, "JavaScript": 1}
package com.polstat.pkl.repository import android.database.sqlite.SQLiteConstraintException import android.util.Log import com.polstat.pkl.database.dao.Capi63Dao import com.polstat.pkl.database.entity.WilayahEntity import com.polstat.pkl.mapper.toWilayahEntity import com.polstat.pkl.model.domain.Wilayah import com.pol...
0
Java
0
0
654fe234a2fb2c7d578a57036ef6e0fb29e12e20
4,639
backup-capi2
Apache License 2.0
zircon.core/src/main/kotlin/org/codetome/zircon/api/behavior/Drawable.kt
opencollective
119,803,967
true
{"Kotlin": 697338, "Java": 71250}
package org.codetome.zircon.api.behavior import org.codetome.zircon.api.Position import org.codetome.zircon.api.graphics.TextImage /** * Represents an object which can be drawn upon a [DrawSurface]. */ interface Drawable : Boundable { /** * Copies this [Drawable]'s content to a [DrawSurface]. If the desti...
0
Kotlin
1
1
3c1cd8aa4b6ddcbc39b9873c54ac64e3ec6cda4d
542
zircon
MIT License
src/main/java/ru/boldr/memebot/facade/FileLikeFacade.kt
boldrqwe
314,033,149
false
{"Batchfile": 1, "Shell": 1, "Maven POM": 1, "Dockerfile": 1, "Text": 1, "Ignore List": 1, "INI": 3, "Markdown": 1, "YAML": 7, "Java": 69, "Kotlin": 9, "GraphQL": 1, "JSON": 1, "Java Properties": 1, "HTML": 5, "JavaScript": 1, "CSS": 1, "XML": 2, "SQL": 3, "Python": 3}
package ru.boldr.memebot.facade import org.springframework.stereotype.Component import ru.boldr.memebot.model.entity.FileLike import ru.boldr.memebot.repository.UserRepository import ru.boldr.memebot.service.FileLikeService import ru.boldr.memebot.util.SecurityUtil import java.time.Instant @Component class FileLikeFa...
1
Java
2
3
bea2c61cbcea9078704fe1593f8b069fb4cc417b
1,576
memebot
MIT License
src/main/com/intellij/lang/jsgraphql/GraphQLConcurrencyUtil.kt
JetBrains
47,924,453
false
null
package com.intellij.lang.jsgraphql import com.intellij.openapi.application.ApplicationManager import com.intellij.openapi.application.ModalityState import com.intellij.openapi.application.invokeLater import com.intellij.openapi.application.runInEdt import com.intellij.openapi.progress.ProcessCanceledException import ...
138
null
97
880
7da48778c3125da12ea2aaa287b512967097c44e
1,304
js-graphql-intellij-plugin
MIT License
src/main/com/intellij/lang/jsgraphql/GraphQLConcurrencyUtil.kt
JetBrains
47,924,453
false
null
package com.intellij.lang.jsgraphql import com.intellij.openapi.application.ApplicationManager import com.intellij.openapi.application.ModalityState import com.intellij.openapi.application.invokeLater import com.intellij.openapi.application.runInEdt import com.intellij.openapi.progress.ProcessCanceledException import ...
138
null
97
880
7da48778c3125da12ea2aaa287b512967097c44e
1,304
js-graphql-intellij-plugin
MIT License
src/main/kotlin/hm/binkley/labs/skratch/layers/AbstractMutableLayer.kt
binkley
81,584,688
false
{"YAML": 3, "Shell": 3, "Batchfile": 2, "Markdown": 2, "Maven POM": 1, "Ignore List": 1, "Git Attributes": 1, "EditorConfig": 1, "INI": 1, "Java Properties": 1, "SVG": 1, "Kotlin": 105, "Java": 1}
package hm.binkley.labs.skratch.layers import kotlin.collections.Map.Entry abstract class AbstractMutableLayer< K : Any, V : Any, M : MutableLayer<K, V, M> >( override val index: Int, map: Map<K, ValueOrRule<V>> ) : MutableLayer<K, V, M>, AbstractMap<K, ValueOrRule<V>>() { private val map ...
5
Kotlin
0
1
92df064eda6f76b218e3eefcdad5a9a0f21e66ca
708
skratch
The Unlicense
XUi/src/main/java/com/danny/xui/bottombar/BottomBar.kt
dannycx
643,140,932
false
null
/* * Copyright (c) 2023-2023 x */ package com.danny.xui.bottombar import android.content.Context import android.util.AttributeSet import android.view.LayoutInflater import android.widget.FrameLayout import androidx.databinding.DataBindingUtil import com.danny.xui.databinding.BottomBarBinding /** * 底部固定的tab组件 * ...
0
Kotlin
0
0
bfb22a1abf9270e1d837113cc998cca0f9aac650
1,206
XLib
Apache License 2.0
samples/plugin/src/main/java/com/trinity/plugin/sample/MainActivity.kt
linuxaddict89
214,272,696
false
null
package com.trinity.plugin.sample import android.app.PendingIntent import android.content.Context import android.content.Intent import androidx.appcompat.app.AppCompatActivity import android.os.Bundle class MainActivity : AppCompatActivity() { }
0
Kotlin
0
1
75941780de6bd356ba9321021abb9e44a4bdb38c
250
trinitylauncher
Apache License 2.0
winterhold/src/main/java/winterhold/util/RandomUtils.kt
TijmenvanderKemp
325,634,389
false
null
package winterhold.util import com.megacrit.cardcrawl.random.Random fun Random.nextInt(range: IntRange) = this.random(range.first, range.last) fun <T> Random.pick(list: List<T>) = this.nextInt(list.indices).let { list[it] }
1
null
1
1
b17bded16770cd170d092f66c26efb6b44fcf76e
225
StS-Winterhold
MIT License
slides2-kt/src/main/kotlin/io/github/ilaborie/slides2/kt/engine/plugins/catnip.kt
ilaborie
171,029,863
false
{"SCSS": 1448332, "Kotlin": 368654, "Java": 37917, "HTML": 28931, "JavaScript": 22144, "CSS": 10352, "Rust": 6550, "Scala": 2293, "Smali": 1357, "Shell": 1012, "TypeScript": 658, "Dockerfile": 460}
package io.github.ilaborie.slides2.kt.engine.plugins import io.github.ilaborie.slides2.kt.engine.Script import io.github.ilaborie.slides2.kt.engine.Script.Companion.raw import io.github.ilaborie.slides2.kt.engine.Script.Companion.script import io.github.ilaborie.slides2.kt.engine.Stylesheet class CatnipPlugin(private...
3
SCSS
1
1
dc77f1aef93cfae26759ad11bd2733a64263b83d
949
slides2
Apache License 2.0
app/src/test/java/com/github/colinjeremie/willyoufindit/adapters/RadioAdapterTest.kt
colinjeremie
53,530,048
false
null
package com.github.colinjeremie.willyoufindit.adapters import com.deezer.sdk.model.Radio import io.reactivex.subscribers.TestSubscriber import org.json.JSONException import org.json.JSONObject import org.junit.Assert import org.junit.Test class RadioAdapterTest { companion object { private const val TEXT...
0
Kotlin
0
0
12f336815f65bf7b675010913564f133f0b955b8
2,192
WillYouFindIt
Apache License 2.0
desk360/src/main/java/com/teknasyon/desk360/themev2/Desk360TicketSuccessScreenFooter.kt
Teknasyon-Teknoloji
188,395,069
false
null
package com.teknasyon.desk360.themev2 import android.content.Context import android.graphics.Color import android.util.AttributeSet import android.view.View import android.widget.TextView import com.teknasyon.desk360.helper.Desk360SDK class Desk360CommonFooterText : TextView { init { this.setTextColor(...
2
null
2
14
b73e9e0620d612f4566ace69073530207ef1eaca
1,045
desk360-android-sdk
MIT License
analysis/low-level-api-fir/src/org/jetbrains/kotlin/analysis/low/level/api/fir/file/structure/FirElementsRecorder.kt
JetBrains
3,432,266
false
null
/* * Copyright 2010-2020 JetBrains s.r.o. and Kotlin Programming Language contributors. * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. */ package org.jetbrains.kotlin.analysis.low.level.api.fir.file.structure import org.jetbrains.kotlin.KtFakeSour...
132
Kotlin
5074
40,992
57fe6721e3afb154571eb36812fd8ef7ec9d2026
8,202
kotlin
Apache License 2.0
applvsdklib/src/main/java/com/applivery/applvsdklib/tools/executor/MainThreadImp.kt
applivery
40,442,532
false
{"Gradle": 13, "XML": 40, "Text": 2, "Java Properties": 2, "YAML": 3, "INI": 4, "Shell": 1, "Ignore List": 6, "Batchfile": 1, "Markdown": 4, "Proguard": 5, "Kotlin": 75, "Java": 67, "JSON": 6}
/* * Copyright (c) 2019 Applivery * * 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...
5
Java
14
19
a10bce9c8aa85c07c8acf41d14d29c9d724639ae
876
applivery-android-sdk
Apache License 2.0
app/src/main/java/com/gaoxianglong/demo/IndexActivity.kt
yi-sheep
309,590,471
false
null
package com.gaoxianglong.demo import android.content.Intent import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import com.gaoxianglong.demo.listView.MainActivity import com.gaoxianglong.demo.news.NewsFragmentActivity import com.gaoxianglong.demo.notepad.NotepadActivity import kotlinx.android.synt...
1
null
1
1
f73be7eec600ef0dffa623c22e9bb1adb3094ce2
902
AndroidDemo
Apache License 2.0
telegram-bot-core/src/main/kotlin/io/github/dehuckakpyt/telegrambot/template/Templater.kt
DEHuckaKpyT
670,859,055
false
{"Kotlin": 517509}
package io.github.dehuckakpyt.telegrambot.template /** * Created on 21.08.2023. *<p> * * @author <NAME> */ interface Templater { infix fun String.with(pair: Pair<String, Any>): String fun String.with(vararg pairs: Pair<String, Any>): String infix fun String.with(instance: Any): String }
1
Kotlin
0
9
fd400d4222cf7b10964bb350a943f4d6e7c6f5bd
308
telegram-bot
Apache License 2.0
straight/src/commonMain/kotlin/me/localx/icons/straight/bold/GalleryThumbnails.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
2,675
icons
MIT License
api-kotlin/src/main/java/com/guodong/android/sword/api/kt/InvocationHandler.kt
guodongAndroid
525,363,650
false
{"Kotlin": 125765}
package com.guodong.android.sword.api.kt /** * Created by guodongAndroid on 2022/8/15. */ interface InvocationHandler { fun invoke(className: String, methodName: String, args: Array<Any?>): Any? }
0
Kotlin
0
2
92f202fc534ad44f9ad5b955e8ee5ee0c943b140
204
Sword
Apache License 2.0
app/src/main/java/ir/hossein/digikala_kotlin/home/source/RemoteBannerDataSource.kt
hosseinsoltaninejad
531,991,378
false
{"Kotlin": 133243}
package ir.hossein.digikala_kotlin.home.source import io.reactivex.Single import ir.hossein.digikala_kotlin.data.Banner import ir.hossein.digikala_kotlin.retrofit.ApiService class RemoteBannerDataSource (private val apiService: ApiService): BannerDataSource { override fun getBannerts(): Single<List<Banner>> = ap...
0
Kotlin
0
4
39596bc6780ebe7ac145b3c2a9edfbe8ce696fa3
343
Digikala_kotlin
MIT License
app/src/main/java/com/futurice/freesound/feature/analytics/AnalyticsModule.kt
futurice
62,079,412
false
null
/* * Copyright 2016 Futurice GmbH * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
15
null
17
84
2367d130a42d3acd2d863325a6dc694e2d551665
903
freesound-android
Apache License 2.0
app/src/main/java/com/goudurixx/pokedex/core/routing/models/Routes.kt
Goudurixx
756,872,856
false
{"Kotlin": 249861}
package com.goudurixx.pokedex.core.routing.models /** * List of all features roots routes */ enum class Routes(val route: String) { HOME(route = "home"), POKEMON(route = "pokemon_list"), FAVORITE(route = "favorite"), POKEMAP(route = "pokemap"), }
0
Kotlin
0
2
91999438d698d59ca4b510172c72140662ed57a0
265
pokedex-JC
MIT License
core/src/main/kotlin/gropius/util/schema/Form.kt
ccims
487,996,394
false
{"Kotlin": 1069264, "TypeScript": 457681, "MDX": 61340, "JavaScript": 27194, "HTML": 19890, "CSS": 4796, "Shell": 2363}
package gropius.util.schema /** * Form represents the eight forms a JTD schema may take on. */ enum class Form { /** * The ref form. * * The `ref` keyword is used. */ REF, /** * The type form. * * The `type` keyword is used. */ TYPE, /** * The enum f...
6
Kotlin
1
0
1fac9b578ea618e50070c3b39426c633747667a4
909
gropius-backend
MIT License
shared/src/commonMain/kotlin/com/yazantarifi/radio/api/SpotifyApiHeadersBuilder.kt
Yazan98
645,154,654
false
null
package com.yazantarifi.radio.api object SpotifyApiHeadersBuilder { fun getApplicationAuthHeader(): List<Pair<String, String>> { return arrayListOf( "Authorization" to "Basic MWZjYTE1MDIyMDhlNDRhNWI3YmU4YWE5MTliYTU4YmM6YzBhMzM2Y2JlODY0NDNiYWE1MDFmYmEwOGVlNDMxMmY=" ) } fun getAp...
0
Kotlin
0
0
8a0bb79e180316b5e1dff669429ee479241ab284
485
KMM-Spotify
MIT License
KotlinMall/module_base/src/main/java/com/hjq/kotlin/base/common/BaseApplication.kt
JQHxx
200,754,360
false
null
package com.hjq.kotlin.base.common import android.app.Application import com.alibaba.android.arouter.launcher.ARouter import com.hjq.kotlin.base.injection.component.AppComponent import com.hjq.kotlin.base.injection.component.DaggerAppComponent import com.hjq.kotlin.base.injection.module.AppModule import kotlin.propert...
1
null
1
2
e2f89e82925587a09b626c44d3d34b382448e47a
981
Mall-kotlin
MIT License
dsl/src/main/kotlin/cloudshift/awscdk/dsl/services/events/targets/KinesisFirehoseStreamPropsDsl.kt
cloudshiftinc
667,063,030
false
null
@file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION") package cloudshift.awscdk.dsl.services.events.targets import cloudshift.awscdk.common.CdkDslMarker import software.amazon.awscdk.services.even...
1
Kotlin
0
0
17c41bdaffb2e10d31b32eb2282b73dd18be09fa
1,363
awscdk-dsl-kotlin
Apache License 2.0
app/src/main/java/com/example/kiyotaka/githubusers/presentation/detail/UserDetailConstraint.kt
soranakk
125,732,340
false
null
package com.example.kiyotaka.githubusers.presentation.detail import android.support.annotation.StringRes import com.example.kiyotaka.githubusers.domain.model.User /** * ユーザーの詳細画面のinterface * Created by kiyotaka on 2018/03/20. */ interface UserDetailConstraint { /** * ユーザーの詳細画面のView * Created by kiyo...
0
Kotlin
0
0
b4ab78f8eeb147e0e5a2b645d580bd89777455d0
645
GitHubUsers
Apache License 2.0
core/src/main/java/com/epam/coroutinecache/internal/ProcessorProvider.kt
epam
169,337,841
false
null
package com.epam.coroutinecache.internal interface ProcessorProvider { /** * Provide the data from the cache * * @param cacheObjectParams params for requesting cache object * @return <T> the associated data */ suspend fun <T> process(cacheObjectParams: CacheObjectParams?): T? /** ...
10
Kotlin
8
156
ad111bb1d1a6a90849c28e39259f4d564f1aa171
389
CoroutinesCache
Apache License 2.0
app/src/main/java/com/njp/wallhaven3/ui/stared/StaredPresenter.kt
NaJiPeng
144,713,498
false
null
package com.njp.wallhaven3.ui.stared import com.njp.wallhaven3.base.BasePresenter import com.njp.wallhaven3.repositories.Repository class StaredPresenter(view: StaredContract.View) : BasePresenter<StaredContract.View>(view), StaredContract.Presenter { private var page = 0 override fun refreshImages() { ...
1
Kotlin
0
0
444cc62d2427f9caa6722ed12bc6831e54c4b4d9
767
Wallhaven-v2
Apache License 2.0
korlibs-logger/src@mingw/korlibs/logger/Logger.mingw.kt
korlibs
80,095,683
false
{"WebAssembly": 14293935, "Kotlin": 9728800, "C": 77092, "C++": 20878, "TypeScript": 12397, "HTML": 6043, "Python": 4296, "Swift": 1371, "JavaScript": 328, "Shell": 254, "CMake": 202, "CSS": 66, "Batchfile": 41}
@file:OptIn(ExperimentalForeignApi::class) package korlibs.logger import kotlinx.cinterop.* import platform.windows.* actual object Console : BaseConsole() actual object DefaultLogOutput : Logger.Output { override fun output(logger: Logger, level: Logger.Level, msg: Any?) = Logger.ConsoleLogOutput.output(logger...
444
WebAssembly
121
2,207
dc3d2080c6b956d4c06f4bfa90a6c831dbaa983a
1,207
korge
Apache License 2.0
app/src/main/java/com/lighttigerxiv/simple/mp/compose/frontend/screens/setup/other_settings/OtherSettingsScreenVM.kt
jpbandroid
733,977,750
false
{"Kotlin": 458602}
package com.jpb.music.compose.frontend.screens.setup.other_settings import androidx.lifecycle.ViewModel import androidx.lifecycle.ViewModelProvider import androidx.lifecycle.ViewModelProvider.AndroidViewModelFactory.Companion.APPLICATION_KEY import androidx.lifecycle.viewModelScope import androidx.lifecycle.viewmodel....
0
Kotlin
0
0
e53569c3ebe0cba05a70519805ffb6c97137fe1e
1,886
jpbMusic-Compose
MIT License
EclipseKotlin/Kotlin/src/main/kotlin/fun/fizzy/leetcode/LeetCodeDriver.kt
PabloRosas17
812,448,924
false
{"Kotlin": 90440, "C++": 23049, "CMake": 1925, "Java": 687, "C": 382, "Python": 138}
package `fun`.fizzy.leetcode import `fun`.fizzy.leetcode.easy.LeetCodeEasy import `fun`.fizzy.leetcode.hard.LeetCodeHard import `fun`.fizzy.leetcode.medium.LeetCodeMedium /** @desc leetcode driver is meant for solving varying level of difficulty problems */ class LeetCodeDriver { val lce = LeetCodeEasy() val ...
0
Kotlin
0
0
becd9fb58b13565aae063a9125a8369f025826d3
373
Algorithms
Apache License 2.0
common/ui-kit/src/main/kotlin/ru/maksonic/beresta/common/ui_kit/Toast.kt
maksonic
580,058,579
false
{"Kotlin": 1622432}
package ru.maksonic.beresta.common.ui_kit import android.content.Context import android.widget.Toast /** * @Author maksonic on 08.03.2023 */ fun Context.toastShortTime(message: String) { Toast.makeText(this, message, Toast.LENGTH_SHORT).show() } fun Context.toastLongTime(message: String) { Toast.makeText(t...
0
Kotlin
0
0
227b0a5f6c27b0f731b1f6e81b1fe2deeaa720aa
361
Beresta
MIT License
kotlin/activity/CartActivity.kt
MyatThuraSoe
849,485,911
false
{"Kotlin": 28950, "Java": 19882}
package com.example.mtbazaar.activity import android.os.Bundle import android.view.View import androidx.appcompat.app.AppCompatActivity import androidx.core.view.ViewCompat import androidx.core.view.WindowInsetsCompat import androidx.recyclerview.widget.LinearLayoutManager import com.example.mtbazaar.R import com.exam...
0
Kotlin
0
0
79948ba716754fa0f7b1f2f88b27a2c4922f2fb8
2,371
Shop-UI-Kotlin-MVVM
MIT License
Smart Farming Monitor - MobileApp/app/src/main/java/com/ipv/farmmonitor/SplashScreenActivity.kt
andrelopes301
588,998,139
false
null
package com.ipv.farmmonitor import android.annotation.SuppressLint import android.app.Activity import android.content.Intent import android.content.pm.PackageManager import android.os.Build import android.os.Bundle import android.os.Handler import android.os.Looper import android.view.WindowInsets import android.view....
0
Kotlin
0
1
765b27d823bc108f88f97e54fe23c12156b456b6
1,595
SmartFarmMonitoring
MIT License
lib-expandablebottombar/src/main/java/github/com/st235/lib_expandablebottombar/ExpandableBottomBarMenuItem.kt
rivasedg261
312,779,402
false
null
package github.com.st235.lib_expandablebottombar import android.content.Context import android.graphics.Color import androidx.annotation.ColorInt import androidx.annotation.ColorRes import androidx.annotation.DrawableRes import androidx.annotation.IdRes import androidx.annotation.StringRes import androidx.core.content...
1
null
1
1
cd2db619adeb7d93e565ff7f17c6f8c6495eee6a
4,194
ExpandableBottomBar
MIT License
common/src/main/java/com/yuriikonovalov/common/framework/common/extentions/FilterPeriodExtensions.kt
yuriikonovalov
563,974,428
false
{"Kotlin": 872022}
package com.yuriikonovalov.common.framework.common.extentions import com.yuriikonovalov.common.application.entities.PeriodFilter import com.yuriikonovalov.common.application.util.beginningOfMonth import com.yuriikonovalov.common.application.util.beginningOfWeek import com.yuriikonovalov.common.application.util.beginni...
0
Kotlin
0
0
8063508f836512fc8f8a0ba18f794bb895ee2449
826
budgethub
MIT License
messaging-core/src/main/java/com/nabla/sdk/core/data/apollo/SubscriptionExt.kt
AchrafAmil
488,648,507
false
{"Kotlin": 305347}
package com.nabla.sdk.core.data.apollo import com.apollographql.apollo3.api.ApolloResponse import com.apollographql.apollo3.api.Operation import com.nabla.sdk.core.data.exception.isNetworkError import com.nabla.sdk.core.kotlin.shareInWithMaterializedErrors import com.nabla.sdk.messaging.core.domain.entity.ProviderInCo...
0
null
1
0
ff93b3c6e58ac0969b7be402b50c292bdfa8f534
2,020
nabla-android
MIT License
src/main/kotlin/org/wfanet/measurement/common/ProtoReflection.kt
world-federation-of-advertisers
375,798,604
false
null
/* * Copyright 2022 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 app...
16
Kotlin
1
2
b13c310458e29fa5c37cf285624625a798de7bd3
6,290
common-jvm
Apache License 2.0
app/src/main/java/com/example/testemobilus/MainActivity.kt
Kaiomor
380,895,041
false
null
package com.example.testemobilus import android.arch.lifecycle.MutableLiveData import android.support.v7.app.AppCompatActivity import android.os.Bundle import android.support.v7.widget.GridLayoutManager import android.support.v7.widget.RecyclerView import com.example.testemobilus.Adapter.AdapterCovid import com.exampl...
0
Kotlin
0
0
d92870ff0f8b0d78bcc96a4fed531059b180cd3a
1,773
TesteMobilusV2
MIT License
socket/src/main/java/com/zy/socket/utils/SocketHelp.kt
ZyElite
147,274,518
false
{"Java": 66783, "Kotlin": 47450}
package com.zy.socketclient.socket.utils object SocketHelp { fun intToBytes(value: Int): ByteArray = byteArrayOf( (value shr 24 and 0xFF).toByte(), (value shr 16 and 0xFF).toByte(), (value shr 8 and 0xFF).toByte(), (value and 0xFF).toByte()) fun bytesToInt(byte...
1
null
1
1
38e0ed1494ab1df99c0ad3b95b8cce18900942d1
819
SocketClient
Apache License 2.0
src/academy/learnprogramming/challenges/ArraysAndStrings.kt
bladefistx2
430,293,814
false
{"Kotlin": 19902, "Java": 1795}
package academy.learnprogramming.challenges fun main(args: Array<String>) { // 1. Declare a non-nullable float variable two ways, // and assign it the value -3847.384 val f1 = -3847.384f val f2 = (-3847.384).toFloat() // 2. Now change both of those variable declarations into nullable variables. ...
0
Kotlin
0
0
a8349446e202c187a0860614acc503fb412967ea
2,543
learn-kotlin
Apache License 2.0
libraries/tools/abi-comparator/src/main/kotlin/org/jetbrains/kotlin/abicmp/checkers/ClassMetadataPropertyChecker.kt
JetBrains
3,432,266
false
{"Kotlin": 79571273, "Java": 6776465, "Swift": 4063829, "C": 2609744, "C++": 1957654, "Objective-C++": 175279, "JavaScript": 130754, "Python": 59855, "Shell": 34920, "Objective-C": 21463, "Lex": 21452, "Batchfile": 11382, "CSS": 11368, "Ruby": 10470, "Dockerfile": 9907, "Groovy": 7092, "EJS": 5241, "CMake": 4473, "HTML...
/* * Copyright 2010-2023 JetBrains s.r.o. and Kotlin Programming Language contributors. * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. */ package org.jetbrains.kotlin.abicmp.checkers import kotlinx.metadata.jvm.KotlinClassMetadata import org.jetbr...
181
Kotlin
5771
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
1,231
kotlin
Apache License 2.0
app/src/main/java/com/example/friendsfeed/auth/data/network/NetworkConnectionInterceptor.kt
Mayank-AMR
270,677,008
false
null
package com.example.friendsfeed.auth.data.network import android.content.Context import android.net.ConnectivityManager import android.net.NetworkCapabilities import com.example.friendsfeed.utils.NoInternetException import okhttp3.Interceptor import okhttp3.Response /** * @Project FriendsFeed * @Created_by <NAME> o...
0
Kotlin
0
0
97ec925740e20b69893a9bcbc718fe7f8ec73d28
1,212
FriendsFeed
Apache License 2.0
rxui-sample-kotlin/src/main/kotlin/com/artemzin/rxui/sample/kotlin/MainView.kt
pythonzz
90,831,928
true
{"INI": 4, "YAML": 1, "Markdown": 3, "Gradle": 9, "Shell": 3, "Batchfile": 1, "Ignore List": 1, "Java": 13, "XML": 13, "Java Properties": 1, "Kotlin": 10}
package com.artemzin.rxui.sample.kotlin import com.artemzin.rxui.sample.kotlin.AuthService.Response.Failure import com.artemzin.rxui.sample.kotlin.AuthService.Response.Success import rx.Observable import rx.Subscription import rx.functions.Func1 // Observable <-> Observable. interface MainView { // Produces. ...
0
Java
0
0
19374a30a68b5e77395cff2dd1e4b1085042cd82
695
RxUi
MIT License
StatsMonitor/src/main/kotlin/com/severett/devicestatscollector/statsmonitor/StatsMonitor.kt
severn-everett
373,919,447
false
null
package com.severett.devicestatscollector.statsmonitor import org.springframework.boot.SpringApplication import org.springframework.boot.autoconfigure.SpringBootApplication @SpringBootApplication open class StatsMonitor fun main(args: Array<String>) { SpringApplication.run(StatsMonitor::class.java, *args) }
0
Kotlin
0
0
05571e05f444e5fa85bb18900ea59a4e4307417d
316
DeviceStatsCollector
Apache License 2.0
src/main/kotlin/imgui/imgui/window.kt
pakdev
117,052,038
true
{"Kotlin": 1002948, "C++": 13198, "Java": 8513, "GLSL": 552}
package imgui.imgui import gli_.has import gli_.hasnt import glm_.f import glm_.func.common.max import glm_.glm import glm_.i import glm_.vec2.Vec2 import imgui.* import imgui.Context.style import imgui.ImGui.buttonBehavior import imgui.ImGui.calcTextSize import imgui.ImGui.clearActiveId import imgui.ImGui.closeButton...
0
Kotlin
0
0
206a918597adaeb4bda715dbcfd8180097dcc3aa
48,953
imgui
MIT License
kotlin/98.Validate Binary Search Tree(验证二叉搜索树).kt
learningtheory
141,790,045
false
{"Python": 4025652, "C++": 1999023, "Java": 1995266, "JavaScript": 1990554, "C": 1979022, "Ruby": 1970980, "Scala": 1925110, "Kotlin": 1917691, "Go": 1898079, "Swift": 1827809, "HTML": 124958, "Shell": 7944}
/** <p>Given a binary tree, determine if it is a valid binary search tree (BST).</p> <p>Assume a BST is defined as follows:</p> <ul> <li>The left subtree of a node contains only nodes with keys <strong>less than</strong> the node&#39;s key.</li> <li>The right subtree of a node contains only nodes with keys <strong>...
0
Python
1
3
6731e128be0fd3c0bdfe885c1a409ac54b929597
2,184
leetcode
MIT License
app/src/main/java/com/chrismagaa/simple_lector_rss/ui/feed/PostAdapter.kt
chrismagaa
539,040,787
false
{"Kotlin": 43230}
package com.chrismagaa.cannabis.ui.feed import android.util.Log import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.recyclerview.widget.RecyclerView import coil.load import com.chrismagaa.cannabis.R import com.chrismagaa.cannabis.databinding.ItemPostBinding import ...
0
Kotlin
0
0
f7c3c80603ca8b44fa2e811b6a2e64e1babbc5ae
2,761
wYOBWdZelywKFXZWiupw
MIT License
subscriptions/subscriptions-impl/src/test/java/com/duckduckgo/subscriptions/impl/ui/RestoreSubscriptionViewModelTest.kt
duckduckgo
78,869,127
false
null
package com.duckduckgo.subscriptions.impl.ui import app.cash.turbine.test import com.duckduckgo.common.test.CoroutineTestRule import com.duckduckgo.subscriptions.api.SubscriptionStatus import com.duckduckgo.subscriptions.api.SubscriptionStatus.AUTO_RENEWABLE import com.duckduckgo.subscriptions.api.SubscriptionStatus.E...
67
null
901
3,823
6415f0f087a11a51c0a0f15faad5cce9c790417c
7,825
Android
Apache License 2.0
src/main/kotlin/controller/data/reader/word/ReaderUtils.kt
Locked15
545,747,004
false
null
package controller.data.reader.word import model.data.parse.changes.wrapper.BaseIteratorModel import model.data.parse.changes.wrapper.InnerIteratorModel import model.data.parse.changes.wrapper.OuterIteratorModel import org.apache.poi.xwpf.usermodel.XWPFTable import java.util.Calendar /* region Date Parsing sub-funct...
0
Kotlin
0
0
50df15b434a19d006089d081a5413a697579a036
3,277
UksivtSchedule_AdminTools-Rebooted
MIT License
src/test/kotlin/rx/lang/kotlin/CompletableTest.kt
lenguyenthanh
56,206,163
true
{"Kotlin": 52031, "Shell": 1136}
package rx.lang.kotlin import org.junit.Assert.assertEquals import org.junit.Assert.assertNotNull import rx.Single import rx.functions.Action0 import java.util.* import java.util.concurrent.Callable import org.junit.Test as test class CompletableTest { @test fun testCreateFromAction() { var count = 0 ...
0
Kotlin
0
0
215a9f5e9a4bfd109c017515878c7b17946bb401
1,284
RxKotlin
Apache License 2.0
core/core/src/commonMain/kotlin/zakadabar/core/server/WebSocketSettingsBo.kt
spxbhuhb
290,390,793
false
null
/* * Copyright © 2020-2021, Simplexion, Hungary and contributors. Use of this source code is governed by the Apache 2.0 license. */ package zakadabar.core.server import kotlinx.serialization.Serializable import zakadabar.core.data.BaseBo import zakadabar.core.schema.BoSchema @Serializable data class WebSocketSetti...
12
Kotlin
3
24
2e0d94b6a77f79566c6cf0d0cff17b3ba6a9c6a1
699
zakadabar-stack
Apache License 2.0
jetbrains-core/src/software/aws/toolkits/jetbrains/settings/AwsSettingsConfigurable.kt
JetBrains
223,485,227
false
null
// Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.aws.toolkits.jetbrains.settings import com.intellij.ide.BrowserUtil import com.intellij.openapi.application.ModalityState import com.intellij.openapi.application.runInEdt import com.intell...
6
null
4
9
ccee3307fe58ad48f93cd780d4378c336ee20548
12,451
aws-toolkit-jetbrains
Apache License 2.0
app/src/test/java/com/rikucherry/artworkespresso/feature_authentication/presentation/viewmodel/EntranceViewModelTest.kt
rikucherry1993
416,754,722
false
{"Kotlin": 235546}
package com.rikucherry.artworkespresso.feature_authentication.presentation.viewmodel import com.rikucherry.artworkespresso.FakeSecrets import com.rikucherry.artworkespresso.common.Constants import com.rikucherry.artworkespresso.common.tool.SharedPreferenceHelper import com.rikucherry.artworkespresso.feature_authentica...
0
Kotlin
0
0
0a9c264c5323a1bb9bbc801008ab8cbc6bd0c323
4,734
artwork-espresso
MIT License
app/src/main/java/net/kamradtfamily/winecheeseapp/MainActivity.kt
rkamradt
306,700,044
false
null
package net.kamradtfamily.winecheeseapp import android.os.Bundle import androidx.activity.viewModels import androidx.appcompat.app.AppCompatActivity import androidx.lifecycle.AbstractSavedStateViewModelFactory import androidx.lifecycle.SavedStateHandle import androidx.lifecycle.ViewModel import androidx.lifecycle.life...
0
Kotlin
0
0
3536ea85bfba2372e1ef9545e4d7f52a0a208853
2,701
winecheeseapp
MIT License
src/main/kotlin/nl/deltadak/ktlintruleset/NewlineAfterClassHeader.kt
slideclimb
263,087,937
false
null
package nl.deltadak.ktlintruleset import com.pinterest.ktlint.core.Rule import com.pinterest.ktlint.core.ast.ElementType import com.pinterest.ktlint.core.ast.isPartOf import com.pinterest.ktlint.core.ast.nextSibling import org.jetbrains.kotlin.com.intellij.lang.ASTNode import org.jetbrains.kotlin.com.intellij.psi.PsiW...
0
Kotlin
0
0
2f9f52984d673b8d6c5de5741da4c9872bc21983
1,572
ktlint-ruleset
ISC License
libraries/kotlinlibrary/src/main/java/demo/helloWorld.kt
uber
43,598,554
false
{"Gradle": 25, "Shell": 9, "Markdown": 9, "YAML": 3, "INI": 4, "Text": 2, "Ignore List": 1, "Batchfile": 1, "JSON": 1, "XML": 61, "Java Properties": 1, "Java": 157, "Starlark": 4, "Proguard": 1, "Kotlin": 34, "XSLT": 1, "AIDL": 2, "Scala": 2, "Groovy": 2, "JAR Manifest": 1}
package demo internal const val INTERNAL_GREETING = "Hello internal world!" fun getGreeting(): String { val words = mutableListOf<String>() words.add("Hello,") words.add("world!") return words.joinToString(separator = " ") } fun main(args: Array<String>) { println(args) println(getGreeting()...
24
Java
166
1,535
6f6a72b23d84bb70e49028cf7177377631d2bbe4
353
okbuck
Apache License 2.0