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
template/app/src/commonMain/kotlin/kotli/app/datasource/database/sqldelight/AppSqlDelightSource.kt
kotlitecture
790,159,970
false
{"Kotlin": 329990, "Swift": 580, "JavaScript": 313, "HTML": 234}
package kotli.app.datasource.database.sqldelight import app.cash.sqldelight.db.SqlDriver import kotlinx.coroutines.GlobalScope import kotlinx.coroutines.flow.SharingStarted import kotlinx.coroutines.flow.first import kotlinx.coroutines.flow.flow import kotlinx.coroutines.flow.shareIn expect fun createSqlDriver(name: ...
1
Kotlin
1
30
65824f5616693e7607fc94fb821633d0dae023aa
934
template-multiplatform-compose
MIT License
app/src/fake/java/uk/ryanwong/skycatnews/storydetail/data/remote/FakeStoryService.kt
ryanwong-uk
531,291,511
false
null
/* * Copyright (c) 2024. Ryan Wong (hello@ryanwong.co.uk) */ package uk.ryanwong.catnews.data.datasource.remote import kotlinx.coroutines.delay import uk.ryanwong.catnews.data.datasource.remote.interfaces.StoryService import uk.ryanwong.catnews.data.dto.ContentDto import uk.ryanwong.catnews.data.dto.HeroImageDto im...
8
null
1
1
9206fa79726955336a267cba347b0f9ff658ff6b
4,748
cat-news
Apache License 2.0
src/main/kotlin/br/furb/bigheadedfootball/world/World.kt
matheusPereiraKrumm
108,462,979
false
null
package br.furb.bigheadedfootball.world import br.furb.bigheadedfootball.common.* import br.furb.bigheadedfootball.world.components.* import br.furb.bigheadedfootball.world.objects.GraphicalObject import br.furb.bigheadedfootball.world.objects.parts.* import javax.media.opengl.GL import javax.media.opengl.GLAutoDrawab...
0
Kotlin
1
1
5a53360e766a5550f5fa5769e56f7b1e74adf1d5
5,122
big-headed-football
MIT License
presentation/src/main/kotlin/io/github/gmvalentino8/github/sample/presentation/core/utils/DomainResultExt.kt
wasabi-muffin
462,369,263
false
{"Kotlin": 2712155, "Mustache": 4796, "Ruby": 1144, "Shell": 812}
package io.github.gmvalentino8.github.sample.presentation.core.utils import io.github.gmvalentino8.github.sample.domain.core.DomainError import io.github.gmvalentino8.github.sample.domain.core.DomainResult import io.github.gmvalentino8.github.sample.presentation.core.contract.Result import kotlinx.coroutines.flow.Flow...
0
Kotlin
0
1
2194a2504bde08427ad461d92586497c7187fb40
1,025
github-sample-project
Apache License 2.0
test/nl/hannahsten/texifyidea/inspections/latex/LatexLabelConventionInspectionTest.kt
Xaaris
275,614,106
true
{"Gradle": 2, "Java Properties": 1, "Markdown": 7, "Shell": 1, "Text": 2, "Ignore List": 1, "Batchfile": 1, "EditorConfig": 1, "YAML": 3, "Kotlin": 530, "Java": 93, "TeX": 31, "BibTeX": 3, "INI": 1, "XML": 5, "JFlex": 2, "CODEOWNERS": 1, "SVG": 74, "HTML": 98, "Python": 1}
package nl.hannahsten.texifyidea.inspections.latex import nl.hannahsten.texifyidea.file.LatexFileType import nl.hannahsten.texifyidea.inspections.TexifyInspectionTestBase class LatexLabelConventionInspectionTest : TexifyInspectionTestBase(LatexLabelConventionInspection()) { fun testSectionLabelConventionWarning()...
0
null
0
0
ddb3790dd4eadf482caa511bbee1039dc4367d0a
3,758
TeXiFy-IDEA
MIT License
plugins/kotlin/line-indent-provider/src/org/jetbrains/kotlin/idea/formatter/lineIndent/KotlinIndentationAdjuster.kt
JetBrains
2,489,216
false
null
// Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package org.jetbrains.kotlin.idea.formatter.lineIndent interface KotlinIndentationAdjuster { // ALIGN_MULTILINE_METHOD_BRACKETS val alignWhenMultilineF...
191
null
4372
13,319
4d19d247824d8005662f7bd0c03f88ae81d5364b
715
intellij-community
Apache License 2.0
app/src/main/java/com/hotmail/or_dvir/televizia/ui/shows/allShows/AllShowsScreen.kt
or-dvir
680,743,936
false
null
package com.hotmail.or_dvir.televizia.ui.shows.allShows import androidx.compose.foundation.ExperimentalFoundationApi import androidx.compose.foundation.background import androidx.compose.foundation.focusable import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Box import andr...
0
Kotlin
0
0
807ca6ed49e26465224c0a9c654c3c6acdbe0048
9,333
TeleviZia
Apache License 2.0
TDDKotlinProject/app/src/main/java/dev/alexferreira/tddkotlinproject/injection/data/source/ReceitaDaoModule.kt
alexferreiradev
205,727,742
false
{"Java": 46765, "Kotlin": 16644}
package dev.alexferreira.tddkotlinproject.injection.data.source import com.nhaarman.mockitokotlin2.mock import dagger.Module import dagger.Provides import dev.alexferreira.tddkotlinproject.data.source.database.ReceitaDao import dev.alexferreira.tddkotlinproject.data.source.database.ReceitaDaoKotlin import dev.alexferr...
1
null
1
1
eece3a5eb5eda2220e4e8e17eaa155327450b48d
710
CPBR-GO19
MIT License
src/main/kotlin/uk/gov/justice/digital/hmpps/personrecord/service/matcher/OffenderMatcher.kt
ministryofjustice
608,040,205
false
{"Kotlin": 221197, "Shell": 2601, "Mustache": 1669, "Dockerfile": 1145, "PLpgSQL": 474}
package uk.gov.justice.digital.hmpps.personrecord.service.matcher import uk.gov.justice.digital.hmpps.personrecord.client.model.OffenderDetail import uk.gov.justice.digital.hmpps.personrecord.model.PNCIdentifier import uk.gov.justice.digital.hmpps.personrecord.model.Person class OffenderMatcher(offenderDetails: List<...
5
Kotlin
2
1
a2a6e9f347076228078104ade5f1da0032dd7070
1,238
hmpps-person-record
MIT License
src/main/kotlin/uk/gov/justice/digital/hmpps/personrecord/service/matcher/OffenderMatcher.kt
ministryofjustice
608,040,205
false
{"Kotlin": 221197, "Shell": 2601, "Mustache": 1669, "Dockerfile": 1145, "PLpgSQL": 474}
package uk.gov.justice.digital.hmpps.personrecord.service.matcher import uk.gov.justice.digital.hmpps.personrecord.client.model.OffenderDetail import uk.gov.justice.digital.hmpps.personrecord.model.PNCIdentifier import uk.gov.justice.digital.hmpps.personrecord.model.Person class OffenderMatcher(offenderDetails: List<...
5
Kotlin
2
1
a2a6e9f347076228078104ade5f1da0032dd7070
1,238
hmpps-person-record
MIT License
meta-server/src/main/java/org/appmeta/web/system/TerminalManageCtrl.kt
0604hx
651,454,980
false
{"Kotlin": 310876, "Java": 139190, "Batchfile": 109}
package org.appmeta.web.system import org.appmeta.component.deploy.Deployer import org.appmeta.model.IdStringModel import org.appmeta.model.QueryModel import org.appmeta.service.TerminalService import org.nerve.boot.cache.CacheManage import org.nerve.boot.module.operation.Operation import org.nerve.boot.web.ctrl.Basic...
0
Kotlin
0
1
7d4287ff89846d657f90a0835abd0745dff5a620
1,776
app-meta-server
MIT License
src/main/kotlin/me/glaremasters/guilds/guild/GuildHome.kt
guilds-plugin
93,349,217
false
null
package me.glaremasters.guilds.guild import org.bukkit.Bukkit import org.bukkit.Location /** * Created by GlareMasters * Date: 2/14/2019 * Time: 9:33 AM */ class GuildHome(private val world: String, private val x: Double, private val y: Double, private val z: Double, private val yaw: Float, private val pitch: Flo...
56
Java
37
86
a8b8ca3ac94ebc6196686fedff8fdd283142802d
428
Guilds
MIT License
src/com/blogspot/kotlinstudy/lognote/Main.kt
cdcsgit
316,948,997
false
null
package com.blogspot.kotlinstudy.lognote import java.awt.Color import javax.swing.SwingUtilities import javax.swing.UIManager import javax.swing.plaf.ColorUIResource class Main { companion object { const val VERSION: String = "0.2.0" @JvmStatic fun main(args: Array<String>) { ...
0
Kotlin
0
1
ff58db40958d35d8f20521c5b86f58f9a7341e8d
970
lognote
Apache License 2.0
src/test/kotlin/org/rust/ide/navigation/goto/RsGotoTypeDeclarationTest.kt
kumbayo
66,188,183
false
null
/* * Use of this source code is governed by the MIT license that can be * found in the LICENSE file. */ package org.rust.ide.navigation.goto import com.intellij.openapi.actionSystem.IdeActions.ACTION_GOTO_TYPE_DECLARATION import org.intellij.lang.annotations.Language import org.rust.RsTestBase class RsGotoTypeDec...
0
null
0
1
ac5c7bef9ed268d4ab35eb4697874ecbcb95a2ff
7,889
intellij-rust
MIT License
compiler/Jvm/src/com/stratos/model/Node.kt
Arthur-Kamau
241,635,623
false
null
package com.stratos.model class Node(var nodeStart: Int, var nodeEnd: Int, var nodeLineStart: Int, var nodeLineEnd: Int, var type: NodeType, var value: String, var isTemp: Boolean = false) { override fun toString(): String { return "Node{" + "nodeStart=" + nodeStart + ", no...
1
null
1
6
5afe8aa88ba765498779a6aecea908f2b0d927ef
550
stratos
MIT License
app/src/main/kotlin/com/fernandocejas/sample/framework/view/LoadingView.kt
siddharth-shah
126,468,494
true
{"Kotlin": 48822}
package com.fernandocejas.sample.framework.view interface LoadingView { fun showLoading() fun hideLoading() }
0
Kotlin
0
0
a0da1c7971dbebc6811d4441ba8e5c30c4f6ad74
119
Android-CleanArchitecture-Kotlin
Apache License 2.0
feature-nft-impl/src/main/java/com/edgeverse/wallet/feature_nft_impl/di/NftFeatureDependencies.kt
finn-exchange
512,140,809
false
{"Kotlin": 2956205, "Java": 14536, "JavaScript": 399}
package com.edgeverse.wallet.feature_nft_impl.di import coil.ImageLoader import com.google.gson.Gson import com.edgeverse.wallet.common.address.AddressIconGenerator import com.edgeverse.wallet.common.data.network.HttpExceptionHandler import com.edgeverse.wallet.common.data.network.NetworkApiCreator import com.edgevers...
0
Kotlin
1
0
03229c4188cb56b0fb0340e60d60184c7afa2c75
2,033
edgeverse-wallet
Apache License 2.0
src/main/kotlin/com/sergeysav/voxel/client/nuklear/NkFont.kt
SergeySave
260,611,748
false
null
package com.sergeysav.voxel.client.nuklear import com.sergeysav.voxel.client.gl.Font import org.lwjgl.nuklear.NkUserFont import org.lwjgl.nuklear.NkUserFontGlyph import org.lwjgl.nuklear.Nuklear import org.lwjgl.stb.STBTTAlignedQuad import org.lwjgl.stb.STBTruetype import org.lwjgl.system.MemoryStack import org.lwjgl....
0
Kotlin
0
0
446f91f11661f1b87e1fb7b2f533f9e24b45704e
3,330
Voxel
MIT License
app/src/main/java/com/omongole/fred/yomovieapp/data/remote/services/ItunesApi.kt
EngFred
724,071,728
false
{"Kotlin": 244248}
package com.omongole.fred.yomovieapp.data.remote.services import com.omongole.fred.yomovieapp.data.model.itunes.ItunesResponse import retrofit2.http.GET import retrofit2.http.Query interface ItunesApi { @GET("search?media=movie") suspend fun searchItuneMovie( @Query("term") name: String ) : Itunes...
0
Kotlin
0
0
31d0f28329a453f07a099278428bb4c7d433245d
457
Cinema-app
MIT License
platform/core-impl/src/com/intellij/openapi/progress/ProgressIndicatorEx.kt
hieuprogrammer
284,920,751
false
null
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.openapi.progress import com.intellij.concurrency.SensitiveProgressWrapper import org.jetbrains.annotations.ApiStatus inline fun <Y> ProgressIndicator.withPu...
1
null
1
2
dc846ecb926c9d9589c1ed8a40fdb20e47874db9
1,973
intellij-community
Apache License 2.0
src/main/kotlin/org/wagham/entities/InteractionParameters.kt
kaironbot
566,988,243
false
null
package org.wagham.entities import dev.kord.common.entity.Snowflake data class InteractionParameters( val guildId: Snowflake, val locale: String )
3
Kotlin
0
0
6083953e2e2822fdba229129381e76418bfdede0
156
kairon-bot
MIT License
easy-to-start/easy/app/src/main/java/ninja/luke/mobi/journey2/easy/app/single3/Single3Route.kt
luke-vietnam
487,814,894
false
{"Kotlin": 26203}
package ninja.luke.mobi.journey2.easy.app.single3 import ninja.luke.mobi.journey2.scope.single.J2SingleRoute interface Single3Route : J2SingleRoute { fun onSingle3GoNextOnLiveData() }
0
Kotlin
1
8
ac5eef05ce298adb4f53ce9f15da02a516ad3695
189
journey2-samples
MIT License
app/src/main/java/com/aredruss/jet_shop/domain/ShopPreferences.kt
Aredruss
453,904,507
false
null
package com.aredruss.jet_shop.domain import android.content.Context import android.content.SharedPreferences class ShopPreferences( appContext: Context, ) { private val TAG = "JetShopPrefs" private val prefs: SharedPreferences = appContext.getSharedPreferences(prefsName, Context.MODE_PRIVATE) ...
0
Kotlin
0
0
aff50220ffc951d1fa138f0f9ad38bc2e026bff4
841
Jet-Shop
Apache License 2.0
src/main/java/de/huebcraft/mods/enderio/conduits/network/NetworkDataSlot.kt
HuebCraftDev
797,898,118
false
{"Kotlin": 232676, "Java": 10316}
package de.huebcraft.mods.enderio.conduits.network import net.minecraft.nbt.NbtCompound import net.minecraft.network.PacketByteBuf abstract class NetworkDataSlot<T>(val getter: () -> T, val setter: (T) -> Unit) { private var cachedHash = 0 fun writeNbt(fullUpdate: Boolean): NbtCompound? { val value = ...
0
Kotlin
0
0
75ff6391166582d351d14542c1895f2d13de27de
1,193
EnderIO
The Unlicense
packages/gradle/some-app/src/main/kotlin/com/reachnow/Main.kt
isabella232
354,265,977
true
{"Kotlin": 7699, "JavaScript": 476}
package com.reachnow import io.ktor.application.Application import io.ktor.application.call import io.ktor.application.install import io.ktor.features.CallLogging import io.ktor.features.DefaultHeaders import io.ktor.http.ContentType import io.ktor.response.respondText import io.ktor.routing.Routing import io.ktor.rou...
0
null
0
0
366ea048af2c366d3a3e56bea30a4a559ac08a25
749
codeartifact-packages-publishing
Apache License 2.0
src/main/java/de/tum/www1/orion/exercise/OrionAssessmentService.kt
ls1intum
203,402,411
false
null
package de.tum.www1.orion.exercise import com.intellij.collaboration.ui.codereview.diff.EditorComponentInlaysManager import com.intellij.openapi.application.WriteAction import com.intellij.openapi.application.invokeAndWaitIfNeeded import com.intellij.openapi.application.runInEdt import com.intellij.openapi.components....
8
null
5
30
df684f46c9faeb0e41dd46e9a1d673097d0ab09f
7,833
Orion
MIT License
exposer/src/main/java/com/yazan98/exposer/models/ExposerConstraintError.kt
Yazan98
254,803,495
false
null
package com.yazan98.exposer.models data class ExposerConstraintError( val reasons: List<Any>, val message: String )
0
Kotlin
0
0
0e8b219ea755a7c3fa1647f906c55bda92c51446
124
AndroidTemplate
Apache License 2.0
app/src/main/java/me/hufman/androidautoidrive/phoneui/viewmodels/MusicAdvancedSettingsModel.kt
BimmerGestalt
164,273,785
false
{"Kotlin": 1839646, "Python": 4131, "HTML": 3912, "Shell": 1732}
package me.hufman.androidautoidrive.phoneui.viewmodels import android.content.Context import androidx.lifecycle.ViewModel import androidx.lifecycle.ViewModelProvider import me.hufman.androidautoidrive.AppSettings import me.hufman.androidautoidrive.BooleanLiveSetting import me.hufman.androidautoidrive.StringLiveSetting...
49
Kotlin
90
546
ea49ba17a18c353a8ba55f5040e8e4321bf14bd7
1,084
AAIdrive
MIT License
seventools/src/main/java/me/sieben/seventools/functions/LetNotNull.kt
cmaier
103,826,506
false
null
@file:Suppress("unused", "UNCHECKED_CAST") package me.sieben.seventools.functions import me.sieben.seventools.containers.Hex import me.sieben.seventools.containers.Quad import me.sieben.seventools.containers.Quin import me.sieben.seventools.containers.Sep @Deprecated("Use early exists instead.", ReplaceWith("")) inl...
0
Kotlin
0
2
fafc93a7888299ad406d48862f973c585c96b63f
3,584
7tools
Apache License 2.0
app/src/main/java/com/example/iocdemo/base/BaseActivity.kt
von-mon
387,110,101
false
null
package com.example.iocdemo.base import android.os.Bundle import androidx.appcompat.app.AppCompatActivity import com.example.iocdemo.utils.InjectUtilJava /** *author: TZL *Date: 2021/7/17 *Desc: 基类 */ open class BaseActivity : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { ...
1
null
1
1
d4b6f538ede3b448f6ed8cc10dcb3618af0d6631
407
Android_IOC
Apache License 2.0
app/src/main/java/com/germanautolabs/acaraus/main/MainDi.kt
alexandrucaraus
836,093,916
false
{"Kotlin": 84463}
package com.germanautolabs.acaraus.main import android.content.Context import org.koin.android.ext.koin.androidContext import org.koin.android.ext.koin.androidLogger import org.koin.core.annotation.ComponentScan import org.koin.core.annotation.Module import org.koin.core.context.startKoin import org.koin.core.logger.L...
0
Kotlin
0
0
bc717901f00417aea53f7230b13f2cc9f21933be
956
germanautolabs
MIT License
fluent-icons-extended/src/commonMain/kotlin/com/konyaco/fluent/icons/filled/ArrowCircleLeft.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.ArrowCircleLeft: ImageVector get() { if (_arrowCircleLeft != ...
1
Kotlin
3
83
9e86d93bf1f9ca63a93a913c990e95f13d8ede5a
1,859
compose-fluent-ui
Apache License 2.0
app/src/main/java/xyz/leomurca/flickrfinder/FlickrFinderApplication.kt
leomurca
813,082,391
false
{"Kotlin": 35966}
package xyz.leomurca.flickrfinder import android.app.Application import dagger.hilt.android.HiltAndroidApp @HiltAndroidApp class FlickrFinderApplication : Application()
0
Kotlin
0
0
184586f4188e2e9b6346518b8264a4234b0e38e4
170
flickr-finder
MIT License
app/src/main/java/com/sunkitto/news/di/modules/NetworkModule.kt
sunkitto
663,131,959
false
{"Kotlin": 142652}
package com.sunkitto.news.di.modules import com.sunkitto.news.core.network.NewsNetworkDataSource import com.sunkitto.news.core.network.NewsNetworkDataSourceImpl import com.sunkitto.news.di.NewsApiKeyQualifier import dagger.Module import dagger.Provides @Module object NetworkModule { @Provides fun provideNews...
0
Kotlin
0
0
dc8f6e99b95aae50b3013f19bc36b75b110f7e3f
467
News
Apache License 2.0
case-one/src/main/kotlin/com/test/task/main.kt
unlazy
324,730,050
false
null
package com.test.task fun findTwoElementsThatAppearOnlyOnce(input: Array<Int>): Array<Int> { var temp = 0 input.forEach { temp = temp.xor(it) } val diff = (temp.and(temp - 1)).xor(temp) var first = 0 var second = 0 input.forEach { if (diff.and(it) == 0) { first = first.xor(i...
0
Kotlin
0
0
efc3470104e8526c105c2d132b72e5bd89f51213
427
december-test-task
The Unlicense
app/src/main/java/com/android/medialerta/presentation/alert/PermissionViewModel.kt
sufurlani
813,389,004
false
{"Kotlin": 60769}
package com.android.medialerta.presentation.alert import android.app.AlarmManager import android.app.PendingIntent import android.content.Context import android.content.Intent import androidx.lifecycle.ViewModel import com.android.medialerta.model.entity.Alerta import com.android.medialerta.presentation.AlarmReceiver ...
0
Kotlin
0
0
cc07b08550ce3f585057155497f6cb4754d67fed
1,363
medialerta
Apache License 2.0
app/src/main/java/com/cleanarch/features/wikientry/data/remote/WikiApiService.kt
nareshidiga
100,857,304
false
null
package com.cleanarch.features.wikientry.data.remote import retrofit2.http.GET import retrofit2.http.Query /* * Copyright (C) 2017 <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 a...
0
Kotlin
4
9
43bee74d40874e4b87a9e8e27ae25943ebb9c3ef
901
Android-CleanArchitecture-Kotlin
Apache License 2.0
client/src/commonMain/kotlin/com/algolia/search/model/insights/ObjectData.kt
algolia
153,273,215
false
{"Kotlin": 1346247, "Dockerfile": 163}
import com.algolia.search.model.QueryID import com.algolia.search.serialize.internal.Key import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable /** * ObjectData * * @param queryID Unique identifier for a search query, used to track purchase events with multiple records that originate from...
14
Kotlin
23
59
21f0c6bd3c6c69387d1dd4ea09f69a220c5eaff4
1,228
algoliasearch-client-kotlin
MIT License
kotlin-app/src/main/kotlin/de/igorakkerman/demo/kafka/application/MoveReceiver.kt
igorakkerman
358,978,388
false
null
package de.igorakkerman.demo.kafka.application interface MoveReceiver
0
Kotlin
0
1
eee650d7011260fc90fd8293ade50cec4ec4a407
71
kafka-kotlin-demo
MIT License
bff-server/bff/src/main/kotlin/br/com/zup/beagle/automatedtests/builders/WebViewScreenBuilder.kt
ZupIT
391,146,276
false
null
/* * Copyright 2020 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA * * 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...
1
null
2
3
ef44b6b67c23660ec6a5cd19b3fffe90972d52e8
2,391
beagle-tests
Apache License 2.0
HTTPShortcuts/app/src/main/kotlin/ch/rmy/android/http_shortcuts/scripting/actions/types/DialogActionType.kt
Waboodoo
34,525,124
false
null
package ch.rmy.android.http_shortcuts.scripting.actions.types import ch.rmy.android.http_shortcuts.scripting.ActionAlias import ch.rmy.android.http_shortcuts.scripting.actions.ActionDTO class DialogActionType : BaseActionType() { override val type = TYPE override fun fromDTO(actionDTO: ActionDTO) = DialogAc...
36
null
73
445
e28eef6769b485f3ff004deaf5911be40eec49e3
880
HTTP-Shortcuts
MIT License
LudoSpringBoot/src/main/kotlin/hu/bme/aut/alkfejl/ludospringboot/data/entities/GameEntity.kt
Kis-Benjamin
693,261,151
false
{"Kotlin": 123208, "Java": 182}
package hu.bme.aut.alkfejl.ludospringboot.data.entities import java.time.LocalDateTime import jakarta.persistence.* import org.hibernate.Hibernate @Entity @Table(name = "games") data class GameEntity( @Id @GeneratedValue var id: Int? = null, @Column(name = "date") var creationDate: LocalDateTime...
0
Kotlin
0
0
8593b3544705623dbbb363f36e9ccb03b5c7d5df
1,620
Ludo
Apache License 2.0
app/src/main/java/com/example/ctut_student/viewmodel/ClassroomManageViewModel.kt
seven1106
701,369,145
false
{"Kotlin": 80100}
package com.example.ctut_student.viewmodel import android.app.Application import android.util.Log import androidx.lifecycle.AndroidViewModel import androidx.lifecycle.viewModelScope import com.example.ctut_student.data.Classroom import com.example.ctut_student.data.User import com.example.ctut_student.util.Resource im...
0
Kotlin
0
0
478024f9b40f1b4a961abeb7e36d0dfe84289a44
4,914
CTUT-Student
MIT License
fly/src/main/java/com/tiamosu/fly/integration/gson/GsonFactory.kt
tiamosu
241,047,431
false
null
package com.tiamosu.fly.integration.gson import com.google.gson.FieldNamingPolicy import com.google.gson.GsonBuilder import com.google.gson.InstanceCreator import com.google.gson.TypeAdapterFactory import com.google.gson.internal.ConstructorConstructor import com.google.gson.internal.Excluder import com.google.gson.in...
0
Kotlin
4
6
e838dba5eee2835b2870c1a160c240714b3bcc0c
4,320
X-MVVMFly
Apache License 2.0
app/src/main/java/com/syleiman/myfootprints/applicationLayer/di/components/ServicesComponent.kt
AlShevelev
116,675,999
false
null
package com.syleiman.myfootprints.applicationLayer.di.components import com.syleiman.myfootprints.applicationLayer.di.modules.ServicesModule import com.syleiman.myfootprints.applicationLayer.di.scopes.ActivityScope import com.syleiman.myfootprints.applicationLayer.services.geoLocationTracking.GeoLocationTrackingServic...
1
Kotlin
1
2
11a243900f3a33b4b3aab358d4a2b08f9759dd8e
627
MyFootprints
MIT License
app/src/sharedInstruments/java/com.grela.clean/DataGenerator.kt
PabloMGrela
267,906,034
false
null
package com.grela.clean import com.grela.clean.MockGenerator.createList import com.grela.clean.MockGenerator.givenACountryRemoteEntity import com.grela.data.model.toCountryDomainEntity import com.grela.domain.DataResult import com.grela.domain.SportRepositoryContract import com.grela.domain.model.CountryDomainEntity i...
0
Kotlin
0
1
22f05fd65172e68997625308980143de69831778
944
kotlin_clean_mvp
Apache License 2.0
vuesaxicons/src/commonMain/kotlin/moe/tlaster/icons/vuesax/vuesaxicons/broken/Messagequestion.kt
Tlaster
560,394,734
false
{"Kotlin": 25133302}
package moe.tlaster.icons.vuesax.vuesaxicons.broken 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....
0
Kotlin
0
2
b8a8231e6637c2008f675ae76a3423b82ee53950
3,080
VuesaxIcons
MIT License
src/main/kotlin/com/runyu/sql/QueryFilter.kt
Miao4099
283,650,244
false
null
package com.runyu.sql import com.runyu.std.Const.Prompt.VAL_BAD_FILTER import com.runyu.std.Msg import io.vertx.core.json.JsonArray import io.vertx.core.json.JsonObject class QueryFilter{ class Rule(var fileldName:String,var op:String,var value:Any? ) protected var mRules=HashMap<String, Rule>() fun add...
0
Kotlin
0
1
deb504657adc38eff9c2b0a87a9b8f84ef3768ed
4,698
VertxApp
MIT License
src/main/java/space/impact/impact_compat/addon/gt/features/steam_age/machines/processing/MultiSteamKineticExtractor.kt
GT-IMPACT
658,419,880
false
null
package space.impact.impact_compat.addon.gt.features.steam_age.machines.processing import com.gtnewhorizon.structurelib.alignment.constructable.ISurvivalConstructable import com.gtnewhorizon.structurelib.structure.IStructureDefinition import com.gtnewhorizon.structurelib.structure.ISurvivalBuildEnvironment import com....
0
Kotlin
0
0
18ab2a6b7a88a76eb90a4edef9a8ce9db207f3c7
5,760
Impact-compat
MIT License
kotlin-antd/antd-samples/src/main/kotlin/samples/upload/PreviewFile.kt
ricsonhoo
251,039,996
true
{"Kotlin": 1197966, "CSS": 29526, "HTML": 6470, "JavaScript": 980}
package samples.upload import antd.button.button import antd.icon.icon import antd.upload.UploadProps import antd.upload.upload import kotlinext.js.jsObject import kotlinx.html.id import react.* import react.dom.* import kotlin.browser.window private val props = jsObject<UploadProps> { action = "//jsonplaceholder...
0
null
0
0
7d92fb58ae96ed7a16d70cb2832284acff023bcf
1,200
kotlin-js-wrappers
Apache License 2.0
weathersdk/src/main/kotlin/fr/ekito/myweatherlibrary/WeatherSDK.kt
Ekito
65,008,668
false
null
package fr.ekito.myweatherlibrary import android.app.Application import android.content.Context import android.content.Intent import android.util.Log import fr.ekito.myweatherlibrary.di.KInjector import fr.ekito.myweatherlibrary.json.geocode.Geocode import fr.ekito.myweatherlibrary.json.weather.Weather import rx.Obser...
1
Kotlin
1
7
e9ea46eb6671e80faa10a66903c218d225d338fc
1,636
reactiveweather-android
Apache License 2.0
core/model/src/main/kotlin/ru/resodostudios/cashsense/core/model/data/WalletWithTransactionsAndCategories.kt
f33lnothin9
674,320,726
false
{"Kotlin": 220474}
package ru.resodostudios.cashsense.core.model.data data class WalletWithTransactionsAndCategories( val wallet: Wallet, val transactionsWithCategories: List<TransactionWithCategory> )
0
Kotlin
2
8
0117df61689868a7c0196246e0fb4caaed3f1b5a
191
cashsense
Apache License 2.0
app/src/main/java/com/tc/kefan/ui/activity/LoginActivity.kt
ganyang-eyespage
331,564,430
false
null
package com.tc.kefan.ui.activity import android.content.Intent import android.view.View import com.tc.kefan.R import com.tc.kefan.base.BaseMvpActivity import com.tc.kefan.constant.Constant import com.tc.kefan.event.LoginEvent import com.tc.kefan.ext.showToast import com.tc.kefan.mvp.contract.LoginContract import com.t...
0
Kotlin
0
0
5f2fd9425b9eaf59f2339563f63041a71d594451
3,566
KeFan-Kotlin
Apache License 2.0
src/main/kotlin/com/helltar/twitchviewerbot/command/commands/StartCommand.kt
Helltar
580,061,642
false
{"Kotlin": 49350}
package com.helltar.twitchviewerbot.command.commands import com.annimon.tgbotsmodule.commands.context.MessageContext import com.helltar.twitchviewerbot.Strings import com.helltar.twitchviewerbot.command.BotCommand class StartCommand(ctx: MessageContext) : BotCommand(ctx) { override fun run() { replyToMes...
0
Kotlin
0
5
4aaa90a974071988e37186e36322609e41bd75cb
377
twitchviewer_bot
MIT License
app/src/main/kotlin/io/rg/mp/ui/auth/AuthSubcomponent.kt
rustamgaifullin
107,809,204
false
null
package io.rg.mp.ui.auth import dagger.Subcomponent import dagger.android.AndroidInjector import io.rg.mp.ui.FragmentScope @Subcomponent(modules = arrayOf(AuthServiceModule::class)) @FragmentScope interface AuthSubcomponent: AndroidInjector<AuthFragment> { @Subcomponent.Builder abstract class Builder : Andro...
0
Kotlin
0
1
f5f9b16aef38b52279b141a344da8b8bca387a5f
356
MP
MIT License
src/main/kotlin/org/web3kt/abi/type/Int256Type.kt
web3kt
828,453,056
false
{"Kotlin": 192188}
package org.web3kt.abi.type import java.math.BigInteger import kotlin.String public data class Int256Type( override val `value`: BigInteger, ) : Type<BigInteger> { override val type: String = "int256" }
0
Kotlin
0
0
b4ddabf6dc6225bf06136ea333532b15bf34047a
213
web3.kt
MIT License
shacl2plantuml-lib/src/main/kotlin/com/github/rosecky/shacl2plantuml/lib/PlantUml.kt
rosecky
329,383,028
false
null
package com.github.rosecky.shacl2plantuml.lib import com.github.rosecky.shacl2plantuml.lib.renderer.DiagramRenderer import java.io.File import java.io.OutputStream class PlantUml( private val renderer: DiagramRenderer, /** * PlantUML string */ val plantUmlString: String ) { /** * Dumps...
0
Kotlin
0
5
e61bdd71ab5fa48d93a9bfbd5a16ccfaa6ba6a42
943
shacl2plantuml
Apache License 2.0
straight/src/commonMain/kotlin/me/localx/icons/straight/outline/Blender.kt
localhostov
808,861,591
false
{"Kotlin": 79430321, "HTML": 331, "CSS": 102}
package me.localx.icons.straight.outline 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.Mite...
1
Kotlin
0
5
cbd8b510fca0e5e40e95498834f23ec73cc8f245
3,521
icons
MIT License
build-logic/testing/src/main/kotlin/com/avito/android/test/Test.kt
v-rodionov
386,629,124
true
{"Kotlin": 2773538, "HTML": 121161, "Shell": 17522, "Python": 14168, "Makefile": 7187, "Dockerfile": 7134}
package com.avito.android.test import org.gradle.api.tasks.testing.Test @Suppress("unused") fun Test.applyOptionalSystemProperty(name: String) { if (project.hasProperty(name)) { project.property(name)?.toString()?.let { value -> systemProperty(name, value) } } }
0
Kotlin
0
0
96463f7714c0550e331d2a37fb32ad98fac9d62d
281
avito-android
MIT License
app/src/main/java/io/navendra/dreamgl/views/MainActivity.kt
navi25
156,949,649
false
null
package io.navendra.dreamgl.views import android.support.v7.app.AppCompatActivity import android.os.Bundle import io.navendra.dreamgl.R import io.navendra.dreamgl.views.fragments.DayGLFragment class MainActivity : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(s...
1
null
1
1
791e69c33c8d726f1f24523bf4010968a65817b1
834
DreamGL
MIT License
kotlin-typescript/src/main/generated/typescript/isTemplateLiteralToken.kt
JetBrains
93,250,841
false
null
// Automatically generated - do not modify! @file:Suppress( "CANNOT_CHECK_FOR_EXTERNAL_INTERFACE", ) package typescript import kotlin.contracts.contract fun isTemplateLiteralToken(node: Node): Boolean { contract { returns(true) implies (node is TemplateLiteralToken) } return typescript.raw....
12
Kotlin
145
983
372c0e4bdf95ba2341eda473d2e9260a5dd47d3b
351
kotlin-wrappers
Apache License 2.0
app/src/main/java/com/zacharee1/systemuituner/dialogs/DonateDialog.kt
zacharee
221,786,635
false
{"Kotlin": 681812, "AIDL": 1172}
package com.zacharee1.systemuituner.dialogs import android.annotation.SuppressLint import android.content.Context import android.view.LayoutInflater import android.view.View import com.zacharee1.systemuituner.R import com.zacharee1.systemuituner.databinding.LayoutDonateBinding import com.zacharee1.systemuituner.util....
25
Kotlin
174
994
27672d3a0ad7caf1dce360dc1a0651926903b8a8
1,378
Tweaker
MIT License
app/src/main/java/com/jcaldier/felinefriendlyplants/MainActivity.kt
jcaldier
542,240,733
false
{"Kotlin": 17752}
package com.jcaldier.felinefriendlyplants import android.os.Bundle import androidx.appcompat.app.AppCompatActivity import androidx.navigation.NavController import androidx.navigation.fragment.NavHostFragment import com.jcaldier.felinefriendlyplants.databinding.ActivityMainBinding import dagger.hilt.android.AndroidEntr...
0
Kotlin
0
1
23f6141c1c4436e04aa17429059e88eb6261bda6
950
feline-friendly-plants
MIT License
OrderCenter/src/main/java/com/kotlin/order/presenter/EditShipAddressPresenter.kt
starktonys
140,391,283
false
{"Kotlin": 263051, "Java": 7941}
package com.kotlin.order.presenter import com.kotlin.base.ext.excute import com.kotlin.base.presenter.BasePresenter import com.kotlin.base.rx.BaseSubscriber import com.kotlin.order.data.protocol.ShipAddress import com.kotlin.order.presenter.view.EditShipAddressView import com.kotlin.order.service.ShipAddressService im...
0
Kotlin
1
8
7cb3f869a27c9f8a6ba44b72a7d328a1383ec4aa
1,449
KotlinMall-App
Apache License 2.0
app/src/main/java/com/sample/navigator/factories/DefaultFragmentFactory.kt
santukis
309,307,272
false
null
package com.sample.navigator.factories import android.os.Bundle import androidx.fragment.app.Fragment import com.santukis.navigator.FragmentFactory import com.sample.navigator.R class DefaultFragmentFactory(private val fragment: Class<out Fragment>): FragmentFactory() { override fun create(): Fragment = fragment...
0
Kotlin
0
0
ffa23f55f81b1074cd7429ad00a5bf8a70067f2f
586
navigator
MIT License
src/main/kotlin/net/voxelpi/voxlib/math/aabb/MutableAABB3F.kt
VoxelPi
708,099,726
false
{"Kotlin": 274588}
package net.voxelpi.voxlib.math.aabb import net.voxelpi.voxlib.math.position.MutablePosition3F import net.voxelpi.voxlib.math.position.Position3 import net.voxelpi.voxlib.math.vector.Vector3F import net.voxelpi.voxlib.math.vector.vector3F import kotlin.math.abs import kotlin.math.min public data class MutableAABB3F( ...
0
Kotlin
0
0
2e8253699793e57c7bb3e443fc5cc6874c9adfd3
1,910
VoxLib
MIT License
src/main/kotlin/no/nav/familie/ba/sak/integrasjoner/pdl/domene/PdlHentPersonRelasjonResponse.kt
navikt
224,639,942
false
null
package no.nav.familie.ba.sak.integrasjoner.pdl.domene import com.fasterxml.jackson.annotation.JsonIgnoreProperties import no.nav.familie.kontrakter.felles.personopplysning.ForelderBarnRelasjon class PdlHentPersonRelasjonerResponse( val person: PdlPersonRelasjonData?, ) @JsonIgnoreProperties(ignoreUnknown = true...
7
Kotlin
1
9
46c25577fe0e0ded731171ea826e93bbb19c8400
430
familie-ba-sak
MIT License
app/src/main/java/com/adriandeleon/friends/domain/user/InMemoryUserCatalog.kt
adriandleon
377,688,121
false
null
package com.adriandeleon.friends.domain.user import com.adriandeleon.friends.domain.exceptions.DuplicateAccountException class InMemoryUserCatalog( private val usersForPassword: MutableMap<String, MutableList<User>> = mutableMapOf() ) : UserCatalog { override fun createUser( email: String, pa...
0
Kotlin
0
0
e688f8a7140250ec18cb5facb8280c5f69e562c8
997
friends
Apache License 2.0
app/src/test/java/org/simple/clinic/scanid/ScanSimpleIdScreenControllerTest.kt
snajdan0525
179,085,523
true
{"Kotlin": 1902469, "C": 680052, "Java": 8206, "Makefile": 635}
package org.simple.clinic.scanid import com.nhaarman.mockito_kotlin.any import com.nhaarman.mockito_kotlin.mock import com.nhaarman.mockito_kotlin.never import com.nhaarman.mockito_kotlin.verify import io.reactivex.subjects.PublishSubject import junitparams.JUnitParamsRunner import junitparams.Parameters import org.ju...
0
Kotlin
0
0
f8216d5a942a37c65fc2cfca8e647a0e51d6568a
3,120
simple-android
MIT License
src/main/kotlin/operator/overloading/iterator.kt
congwiny
92,557,698
false
null
package operator.overloading import java.time.LocalDate /** * 在Kotlin中, for循环中也可以使用in运算符,和做区间检查一样。 * 但是在这种情况下它的含义是不同的:它被用来执行迭代。 * 这意味着一个诸如for(x in list) {...}将被转换成list.iterator()的调用, * 然后就像在Java中一样,在它上面重复调用hasNext和next方法。 * * 在Kotlin中,这也是一种约定,这意味着iterator方法可以被定义为扩展函数。 * 这就解释了为什么可以遍历一个常规的Java字符串:标准库已经为CharSeque...
1
null
1
1
f09378b3dca4822f7c4cfc82a5e0f13487826d71
1,226
KotlinBasic
Apache License 2.0
LeetCode/0067. Add Binary/Solution.kt
InnoFang
86,413,001
false
null
/** * Created by <NAME> on 2018/2/17. */ class Solution { fun addBinary(a: String, b: String): String { var i = a.lastIndex; var j = b.lastIndex; var c = 0 val res = StringBuilder() while (i >= 0 || j >= 0 || c == 1) { c += if (i >= 0) a[i--] - '0' else 0 c += if (...
1
null
9
21
37b336048643a7181c85b18546e3f4b9fa8f18cb
585
algo-set
Apache License 2.0
clients/ktorm-schema/generated/src/main/kotlin/org/openapitools/database/models/ChatCompletionStreamResponseDelta.kt
oapicf
529,246,487
false
{"Markdown": 6348, "YAML": 73, "Text": 16, "Ignore List": 52, "JSON": 1138, "Makefile": 3, "JavaScript": 1042, "F#": 585, "XML": 468, "Shell": 47, "Batchfile": 10, "Scala": 2313, "INI": 31, "Dockerfile": 17, "Maven POM": 22, "Java": 6356, "Emacs Lisp": 1, "Haskell": 39, "Swift": 263, "Ruby": 555, "OASv3-yaml": 19, "Cab...
/** * OpenAI API * The OpenAI REST API. Please see https://platform.openai.com/docs/api-reference for more details. * * The version of the OpenAPI document: 2.0.0 * Contact: <EMAIL> * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not ed...
2
Java
0
4
c04dc03fa17b816be6e9a262c047840301c084b6
3,594
openapi-openai
MIT License
actor-bots/src/main/java/im/actor/bots/blocks/OAuth2.kt
actorapp
45,862,072
false
null
package im.actor.bots.blocks import im.actor.bots.framework.* import im.actor.bots.framework.persistence.ServerKeyValue import im.actor.bots.framework.stateful.MagicStatefulBot import im.actor.bots.framework.stateful.oneShot import im.actor.bots.framework.traits.HTTPTrait import im.actor.bots.framework.traits.HTTPTrai...
4
null
32
23
ea6c028726b236369b92381462baae752754aedb
6,914
actor-bots
Apache License 2.0
platform/platform-impl/src/com/intellij/internal/ui/uiDslShowcase/DemoComponentLabels.kt
ingokegel
72,937,917
true
null
// Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.internal.ui.uiDslShowcase import com.intellij.openapi.ui.DialogPanel import com.intellij.ui.dsl.builder.LabelPosition import com.intellij.u...
284
null
5162
2
b07eabd319ad5b591373d63c8f502761c2b2dfe8
1,270
intellij-community
Apache License 2.0
UdidClient/app/src/main/java/com/horizon/udid/manager/DeviceManager.kt
BillyWei01
210,720,192
false
null
package com.horizon.udid.manager import com.horizon.did.DarkPhysicsInfo import com.horizon.did.DeviceId import com.horizon.did.PhysicsInfo import com.horizon.udid.application.GlobalConfig import com.horizon.udid.data.AppKv import com.horizon.udid.event.EventManager import com.horizon.udid.event.Events import com.horiz...
0
null
40
220
e9720d7cb8d8e191b3d72ffb309eca25463b360c
3,612
Udid
MIT License
HTLoading/src/main/kotlin/com/superlht/htloading/util/SizeUtil.kt
HartleyLau
100,459,282
false
null
package com.superlht.htloading.util import android.content.Context /** * Created by <NAME> on 2017/8/17. * 屏幕尺寸计算的相关类 */ class SizeUtil { companion object { /** * dp转px */ fun dip2px(context: Context, dpValue: Float): Int { val scale = context.resources.displayMet...
0
null
3
14
9ce8ec6bb4f8e7612076c36741a64d82b2e31927
1,115
HTLoading
Apache License 2.0
play-services-maps/core/hms/src/main/kotlin/org/microg/gms/maps/hms/model/BitmapDescriptorFactory.kt
kazimmt
645,813,057
false
null
/* * SPDX-FileCopyrightText: 2023 microG Project Team * SPDX-License-Identifier: Apache-2.0 */ package org.microg.gms.maps.hms.model import android.content.res.Resources import android.graphics.* import android.os.Parcel import android.util.Log import com.google.android.gms.dynamic.IObjectWrapper import com.google...
990
null
1707
96
30e774b23b845d20eb82f8a611345cf32fdc991e
2,479
mMicroG
Apache License 2.0
platform/script-debugger/backend/src/debugger/sourcemap/SourceMapDataEx.kt
hieuprogrammer
284,920,751
false
null
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package org.jetbrains.debugger.sourcemap class SourceMapDataEx( val sourceMapData: SourceMapDataImpl, val sourceIndexToMappings: Array<MappingList?>, val generatedMappings:...
1
null
1
2
dc846ecb926c9d9589c1ed8a40fdb20e47874db9
331
intellij-community
Apache License 2.0
src/test/kotlin/de/eternalwings/vima/query/QueryParserTest.kt
kumpelblase2
269,905,877
false
{"Kotlin": 181559, "Vue": 134841, "JavaScript": 57737, "Java": 3154, "HTML": 541, "SCSS": 35, "CSS": 34}
package de.eternalwings.vima.query import com.github.h0tk3y.betterParse.grammar.tryParseToEnd import com.github.h0tk3y.betterParse.parser.Parsed import org.junit.jupiter.api.Test class QueryParserTest { @Test fun itParsesSimpleQueries() { assert(QueryParser.tryParseToEnd("simpleproperty") is Parsed) ...
0
Kotlin
0
0
168a342f93648054624415b5114ffb28edd93672
2,106
vimax
MIT License
src/main/kotlin/io/github/ruskonert/ruskit/plugin/IntegratedPlugin.kt
Ruskonert
140,462,127
false
{"Kotlin": 165766, "Java": 5810, "C++": 2625}
/* Copyright (c) 2018 ruskonert Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublic...
0
Kotlin
0
0
e68ce3997182e5ebaed10868ddefc4eaeee3a262
7,136
Ruskit
MIT License
app/src/main/java/com/stemlabs/ellu/ui/component/home/dialog/TutorialDialog.kt
StemlabsSL
329,898,048
false
null
package com.stemlabs.ellu.ui.component.home.dialog import android.app.Dialog import android.os.Bundle import android.util.Log import android.view.Gravity import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.fragment.app.DialogFragment import com.stemlabs.ellu.R impo...
1
null
1
1
0560654991402f229b1fcb3a65e8d6ee23c0763b
3,885
Stemlabschat-Android
Apache License 2.0
processor/src/main/java/com/tickaroo/tikxml/processor/field/PolymorphicElementField.kt
evant
69,920,539
true
{"Java": 375582, "Kotlin": 307322, "Shell": 1046}
/* * Copyright (C) 2015 <NAME> * Copyright (C) 2015 Tickaroo, 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 r...
0
Java
0
0
a5bc4437be84977ca48ca1b39630fbf557a916b3
4,786
tikxml
Apache License 2.0
televisionbingecalculator/src/main/java/com/vanillax/televisionbingecalculator/app/kotlin/BaseViewModelFactory.kt
mitchross
20,243,733
false
{"Gradle": 3, "SVG": 8, "Java Properties": 3, "Shell": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "JSON": 2, "Text": 2, "Kotlin": 34, "XML": 28, "Java": 12}
package com.vanillax.televisionbingecalculator.app.kotlin import androidx.lifecycle.ViewModel import androidx.lifecycle.ViewModelProvider /** * Created by nandeesh on 2019-06-02. */ class BaseViewModelFactory<T>(val creator: () -> T) : ViewModelProvider.Factory { override fun <T : ViewModel?> create(modelClass:...
1
null
1
1
50437a17166633ef7c88ae159765e31bf97fb609
373
Television-Binge-Calculator
The Unlicense
presentation/src/main/java/com/noxel/colorstudio/ui/main/MainActivity.kt
AsmaGhafoorian
194,685,601
false
{"Gradle": 3, "Java Properties": 2, "Shell": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 2, "Proguard": 1, "JSON": 1, "Java": 2, "Kotlin": 57, "XML": 44, "Gradle Kotlin DSL": 1, "YAML": 1}
package com.noxel.colorstudio.ui.main import android.Manifest import android.annotation.SuppressLint import android.os.Bundle import android.support.design.internal.BottomNavigationItemView import android.support.design.internal.BottomNavigationMenuView import android.support.design.widget.BottomNavigationView import ...
1
null
1
1
83bd2e9e8a1a114478b56645e472f05121136c6b
6,860
color_studio
Apache License 2.0
uast/uast-kotlin/test/org/jetbrains/uast/test/common/kotlin/ValuesTestBase.kt
JetBrains
278,369,660
false
null
/* * Copyright 2010-2018 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.uast.test.common.kotlin import org.jetbrains.uast.UFile import org.jetbrains.uast.evalu...
0
null
30
82
cc81d7505bc3e9ad503d706998ae8026c067e838
764
intellij-kotlin
Apache License 2.0
platform/statistics/devkit/testSrc/com/intellij/internal/statistic/actions/devkit/CleanupEventsTestSchemeActionTest.kt
ingokegel
72,937,917
true
null
// Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. package com.intellij.internal.statistic.actions.devkit import com.intellij.internal.statistic.devkit.actions.CleanupEventsTestSchemeAction import com.intellij.internal.statistic.eventLog.validator.I...
1
null
1
2
b07eabd319ad5b591373d63c8f502761c2b2dfe8
1,632
intellij-community
Apache License 2.0
extensions/intellij/intellij_generator_plugin/src/main/java/com/bloc/intellij_generator_plugin/generator/components/CubitStateGenerator.kt
felangel
151,977,818
false
null
package com.bloc.intellij_generator_plugin.generator.components import com.bloc.intellij_generator_plugin.generator.CubitGenerator class CubitStateGenerator( name: String, useEquatable: Boolean ) : CubitGenerator(name, useEquatable, templateName = "cubit_state") { override fun fileName() = "${snakeCase()}...
65
null
2481
8,582
b6c55144e6c37c57100cf5be1125dca8bcc05b48
348
bloc
MIT License
app/src/main/java/cf/playhi/freezeyou/app/FreezeYouAlertDialogBuilder.kt
Playhi
258,391,881
false
null
package cf.playhi.freezeyou.app import android.content.Context import androidx.appcompat.app.AlertDialog import cf.playhi.freezeyou.utils.ThemeUtils.isMaterial3Theme import com.google.android.material.dialog.MaterialAlertDialogBuilder @JvmOverloads fun FreezeYouAlertDialogBuilder( context: Context, overrideTh...
32
null
22
4
d4ad1ad7e6f5b5edd0d5ffde7a3ba74277fb3fb5
541
FreezeYou
Apache License 2.0
idea/testData/quickfix/suppress/annotationPosition/topLevelFunctionNoModifiers.kt
JakeWharton
99,388,807
true
null
// "Suppress 'REDUNDANT_NULLABLE' for fun foo" "true" fun foo(): String?<caret>? = null
0
Kotlin
28
83
4383335168338df9bbbe2a63cb213a68d0858104
88
kotlin
Apache License 2.0
plugins/gradle/testSources/org/jetbrains/plugins/gradle/util/GradleJdkResolutionTestCase.kt
smarie
256,414,054
false
null
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package org.jetbrains.plugins.gradle.util import com.intellij.openapi.Disposable import com.intellij.openapi.application.ApplicationManager import com.intellij.openapi.externalSy...
1
null
1
1
c56f7ee3a151ade00a702aed9c63a73da6e9f1d8
5,929
intellij-community
Apache License 2.0
problems/2021adventofcode21a/submissions/accepted/Stefan.kt
stoman
47,287,900
false
{"C": 169266, "C++": 142801, "Kotlin": 115106, "Python": 76047, "Java": 68331, "Go": 46428, "TeX": 27545, "Shell": 3428, "Starlark": 2165, "Makefile": 1582, "SWIG": 722}
import java.lang.Integer.min import java.util.* @ExperimentalStdlibApi fun main() { val s = Scanner(System.`in`) repeat(4) {s.next()} var posA = s.nextInt() var scoreA = 0 repeat(4) {s.next()} var posB = s.nextInt() var scoreB = 0 var rolls = 0 while(true) { repeat(3) { ...
0
C
1
3
ee214c95c1dc1d5e9510052ae425d2b19bf8e2d9
728
competitive-programming
MIT License
app/src/main/java/data/models/Models.kt
ariesvelasquez
168,901,580
false
{"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "JSON": 2, "Kotlin": 11, "XML": 30, "Java": 3}
package data.models object Models { data class Video( val description: String, val url: Int ) }
0
Kotlin
0
0
f4e2b286af65d285e34d27f018902d8394747b10
121
WordSpeak
MIT License
compose/material3/material3-lint/src/test/java/androidx/compose/material3/lint/ScaffoldPaddingDetectorTest.kt
androidx
256,589,781
false
{"Kotlin": 92744555, "Java": 67265286, "C++": 9111524, "AIDL": 629410, "Python": 306379, "Shell": 189818, "TypeScript": 39695, "HTML": 26377, "Svelte": 20307, "ANTLR": 19860, "C": 17782, "CMake": 14353, "Groovy": 13532, "GLSL": 3842, "Swift": 3153, "JavaScript": 3019}
/* * Copyright 2022 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
21
Kotlin
862
4,829
3ccf568d9a67bf895b29952f394c856bbc6fcb9a
11,674
androidx
Apache License 2.0
vector/src/main/java/im/vector/app/features/location/LocationSharingViewModel.kt
vector-im
151,282,063
false
null
/* * Copyright (c) 2021 New Vector Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
45
null
386
1,842
9e9dc1defde87edbc645134f31a9bea212b825f9
3,572
riotX-android
Apache License 2.0
src/main/kotlin/Utils.kt
navikt
249,433,776
false
null
fun String.loadFromResources(): String { return ClassLoader.getSystemResource(this).readText() }
4
Kotlin
0
2
d6ff76bfa9e17c426087a220209687bc37683346
101
sporenstreks
MIT License
app/src/main/java/com/example/android_study/android/activity/launchMode/singleTop/SingleTopActivity.kt
RhythmCoderZZF
281,057,053
false
null
package com.example.android_study.android.activity.launchMode.singleTop import android.content.Intent import android.os.Bundle import com.example.android_study.R import com.example.android_study._base.BaseActivity import com.example.android_study._base.cmd.CmdUtil import kotlinx.android.synthetic.main.activity_single_...
0
Kotlin
0
0
b569adcacfdba5ea6b4c323454c3c5130a1b4763
819
AndroidStudy
Apache License 2.0
amkotlinutil/src/main/java/dk/adaptmobile/amkotlinutil/model/PostDelay.kt
adaptmobile-organization
94,333,240
false
null
package dk.adaptmobile.amkotlinutil.model import android.os.Handler data class PostDelay(val handler: Handler, val runnable: Runnable) { fun cancel() { handler.removeCallbacks(runnable) } }
1
Kotlin
1
2
aea255fba3d9a5e59db9c7862573f0b20b4adf05
208
amkotlinutil
Apache License 2.0
android-nativo/Clase3-Activities-2/final/app/src/main/java/com/example/activities_2/MainActivity.kt
PUJ-ICM-6805
674,738,686
false
{"Kotlin": 129473, "Swift": 16381, "Dart": 8539}
package com.example.activities_2 import android.content.Intent import android.os.Bundle import android.util.Log import android.view.View import androidx.appcompat.app.AppCompatActivity import com.example.activities_2.databinding.ActivityMainBinding class MainActivity : AppCompatActivity() { // Se agrega una vari...
0
Kotlin
0
0
29c4bf488eb9b25296a87cfa77532323240cf94f
1,788
ejemplos-clase
MIT License
module_feed/src/main/java/app/melon/feed/data/FeedPagingSource.kt
biubiubiiu
344,728,768
false
null
package app.melon.feed.data import androidx.paging.PagingSource import androidx.paging.PagingState import app.melon.data.resultentities.FeedAndAuthor import app.melon.feed.data.mapper.RemoteFeedListToFeedAndAuthor import app.melon.feed.data.remote.FeedListItemResponse import app.melon.util.mappers.toListMapper import ...
1
null
1
2
6bb52f962084674ed50ffb3f8399c1b413a5a234
1,562
Melon
Apache License 2.0
simplecloud-modules/simplecloud-module-statistics/src/main/kotlin/eu/thesimplecloud/module/statistics/timed/listener/PlayerConnectListener.kt
theSimpleCloud
270,085,977
false
{"Kotlin": 1969307, "Java": 4872, "Shell": 1302, "Batchfile": 156}
/* * MIT License * * Copyright (C) 2020-2022 The SimpleCloud authors * * 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 u...
8
Kotlin
43
98
8f10768e2be523e9b2e7c170965ca4f52a99bf09
1,915
SimpleCloud
MIT License