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
lol/app/src/main/java/com/tyhoo/android/lol/data/ApiService.kt
cnwutianhao
600,592,169
false
null
package com.tyhoo.android.lol.data import com.tyhoo.android.lol.domain.HeroResponse import com.tyhoo.android.lol.domain.HeroesResponse import com.tyhoo.android.lol.domain.ItemsResponse import okhttp3.OkHttpClient import okhttp3.logging.HttpLoggingInterceptor import retrofit2.Retrofit import retrofit2.converter.gson.Gs...
0
Kotlin
0
0
90797aa1c354092b72ed5fc910f2c4838f1e0577
1,668
android
MIT License
app/src/main/java/com/tomergoldst/gepp/ui/KickOffActivity.kt
tomergoldst
172,235,669
false
null
package com.tomergoldst.gepp.ui import android.Manifest import android.content.Intent import android.os.Bundle import android.widget.Toast import androidx.appcompat.app.AppCompatActivity import androidx.lifecycle.Observer import androidx.lifecycle.ViewModelProviders import com.google.android.material.snackbar.Snackbar...
0
Kotlin
0
0
d554ac585a7ea06cc79e133b57f7e6f1aa283ad0
2,761
Gepp
Apache License 2.0
src/test/kotlin/com/lucaszeta/adventofcode2020/day20/Day20KtTest.kt
LucasZeta
317,600,635
false
null
package com.lucaszeta.adventofcode2020.day20 import com.lucaszeta.adventofcode2020.ext.getResourceAsText import org.junit.jupiter.api.Assertions.assertEquals import org.junit.jupiter.api.Assertions.assertTrue import org.junit.jupiter.api.Test class Day20KtTest { @Test fun `Should find corner tiles`() { ...
0
Kotlin
0
1
9c19513814da34e623f2bec63024af8324388025
722
advent-of-code-2020
MIT License
backend/services/auth-service/src/main/kotlin/com/mihirpaldhikar/di/CoreModule.kt
mihirpaldhikar
807,442,613
false
{"Kotlin": 89398, "TypeScript": 45748, "JavaScript": 2475, "CSS": 1183}
/* * Copyright (c) <NAME> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the “Software”), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribu...
0
Kotlin
0
0
b82d0a376bbd274959a956d8f6d052219f149fe2
1,929
passkeys
MIT License
app/src/main/java/com/yoyiyi/soleil/adapter/app/up/ArchiveFavouriteAdapter.kt
yoyiyi
97,073,764
false
null
package com.yoyiyi.soleil.adapter.app.up import android.widget.ImageView import com.bumptech.glide.Glide import com.bumptech.glide.load.engine.DiskCacheStrategy import com.chad.library.adapter.base.BaseQuickAdapter import com.chad.library.adapter.base.BaseViewHolder import com.yoyiyi.soleil.R import com.yoyiyi.soleil...
2
Kotlin
25
141
044f76fd499bb49b0fe94d9c83c9bb1db283b8ea
1,620
bilisoleil-kotlin
Apache License 2.0
commons/src/main/kotlin/com/eagle/commons/activities/FAQActivity.kt
JustinBeeper
215,044,353
false
null
package com.eagle.commons.activities import android.os.Bundle import android.view.LayoutInflater import com.eagle.commons.R import com.eagle.commons.extensions.baseConfig import com.eagle.commons.extensions.getAdjustedPrimaryColor import com.eagle.commons.extensions.underlineText import com.eagle.commons.helpers.APP_F...
0
Kotlin
3
0
03493bc14978a15324754e2386498346cab5e41f
1,853
BestGallery
Apache License 2.0
TeamCode/src/main/java/us/brainstormz/choivico/creamsicleGoalDetection/CreamsicleGoalDetector.kt
FTCTeam10298
298,725,724
false
null
////This code is brought to you by your friendly Aperture Science Community Outreach Associate, who would like to remind you that a bright future involves dark rooms and nuclear material. // // ////IN CASE OF FEDERAL INVESTIGATION: ////Pull switch to deploy FlameThrower turrets into Enrichment Sphere below Observation ...
7
Kotlin
0
1
875a1fb1a7899c99a85ea3b89da4d0e1e29aa1b0
9,217
2020-21-code
The Unlicense
web/src/test/kotlin/com/github/vhromada/catalog/web/utils/GameUtils.kt
vhromada
517,235,441
false
null
package com.github.vhromada.catalog.web.utils import com.github.vhromada.catalog.web.connector.entity.ChangeGameRequest import com.github.vhromada.catalog.web.connector.entity.Game import com.github.vhromada.catalog.web.fo.GameFO import org.assertj.core.api.SoftAssertions.assertSoftly /** * A class represents utilit...
0
Kotlin
0
0
2d763b4ab70524d2196fcc158d4c21766eed1107
4,308
Catalog-Web-Spring
MIT License
app/src/main/java/com/piashcse/hilt_mvvm_compose_movie/ui/component/text/SubtitlePrimary.kt
piashcse
415,384,781
false
null
package ui.component.text import androidx.compose.material.MaterialTheme import androidx.compose.material.Text import androidx.compose.runtime.Composable import theme.subTitlePrimary @Composable fun SubtitlePrimary(text: String) { Text( text = text, style = MaterialTheme.typography.subTitlePrimary...
1
null
2
97
98c5621eb0077530f84437a947fc285b14115529
328
Hilt-MVVM-Compose-Movie
Apache License 2.0
feature/cryptos/src/main/java/com/minux/monitoring/feature/cryptos/ui/CryptosStatePreviewParameterProvider.kt
MINUX-organization
756,381,294
false
{"Kotlin": 234602}
package com.minux.monitoring.feature.cryptos.ui import androidx.compose.ui.tooling.preview.PreviewParameterProvider import com.minux.monitoring.core.domain.model.cryptocurrency.Cryptocurrency import com.minux.monitoring.feature.cryptos.CryptosState class CryptosStatePreviewParameterProvider : PreviewParameterProvider...
0
Kotlin
0
0
ea0ed05ff1b07f2d970f772b2af1c9179872ccf1
720
MNX.Mobile.Monitoring
MIT License
app/src/main/java/com/gowtham/ricknmorty/compose/characters/CharactersScreen.kt
a914-gowtham
381,371,743
false
null
package com.gowtham.ricknmorty.compose.characters import androidx.compose.foundation.Image import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Row import androidx.compose.foundation...
0
Kotlin
0
9
2b9536243c593e16d24271250bbe928913783417
6,791
RickNMortyCompose
Apache License 2.0
model-d-control-core/src/main/kotlin/nl/breun/model_d/core/parameter/GlobalParameter.kt
breun
92,437,248
false
{"Kotlin": 32029, "Shell": 7272, "Batchfile": 5127}
package nl.breun.model_d.core.parameter enum class GlobalParameter(val number: Int) { DEVICE_ID(0), MIDI_CHANNEL_IN(1), MIDI_CHANNEL_OUT(2), KEY_PRIORITY(3), MULTI_TRIGGER(4), BEND_SEMITONES(5), POLY_VOICE_NUMBER(6), POLY_VOICES_MAX(7), OUTPUT_MIDI_PITCH_BEND(8), OUTPUT_MIDI_PRE...
0
Kotlin
0
0
e820e12b22bc2fbc5d8cfd9bae30ab1cea879bf1
590
model-d-control
Apache License 2.0
src/main/kotlin/dev/andrewohara/adoptapis/Cat.kt
oharaandrew314
470,304,439
false
{"Kotlin": 9794}
package dev.andrewohara.adoptapis import java.time.Instant data class Cat( val id: String, val name: String, val ownerId: String, val ownerName: String, val colours: Set<Colour>, val breed: Breed?, val appointments: List<Instant>, val favouriteFood: String? = null ) enum class Breed {...
0
Kotlin
0
0
2c0461bccbd7847cc4a37b50899f92f9d9c0824c
412
hexagonal-api-clients
The Unlicense
feature/expenses/src/main/kotlin/com/niyaj/expenses/createOrUpdate/AddEditExpenseViewModel.kt
skniyajali
644,752,474
false
{"Kotlin": 5076894, "Shell": 16584, "Ruby": 1461, "Java": 232}
/* * Copyright 2024 <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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
42
Kotlin
0
1
e5d475f1fbcc2c2c332a7ac1bf569ae1e3bf1f7c
8,190
PoposRoom
Apache License 2.0
platform/projectModel-impl/src/com/intellij/workspaceModel/ide/impl/legacyBridge/library/LibraryEntityUtils.kt
JetBrains
2,489,216
false
null
// Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. @file:JvmName("LibraryEntityUtils") package com.intellij.workspaceModel.ide.impl.legacyBridge.library import com.intellij.openapi.project.Project import com.intellij.openapi.roots.libraries.Library ...
284
null
5162
16,707
def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0
2,263
intellij-community
Apache License 2.0
app/src/main/java/com/robert/android/lostpets/presentation/presenters/impl/AddAdPresenterImpl.kt
robertene1994
303,119,114
false
null
package com.robert.android.lostpets.presentation.presenters.impl import android.content.Context import android.net.Uri import com.robert.android.lostpets.domain.executor.Executor import com.robert.android.lostpets.domain.executor.MainThread import com.robert.android.lostpets.domain.interactors.AddAdInteractor import c...
0
Kotlin
0
0
a7af7de031d3ab4e2d14851a117d3729330cd875
2,741
lostpets-android
MIT License
app/src/main/java/com/egenvall/travelplanner/common/threading/UiExecutor.kt
egenvall
75,604,257
false
null
package com.egenvall.travelplanner.common.threading import rx.Scheduler interface UiExecutor { val scheduler: Scheduler }
1
null
2
3
7892b0a6c62ac689b0ef185451e65260995bab48
127
TravelPlanner
Apache License 2.0
ontrack-extension-delivery-metrics/src/main/java/net/nemerosa/ontrack/extension/dm/charts/PromotionLevelChartParameters.kt
nemerosa
19,351,480
false
null
package net.nemerosa.ontrack.extension.dm.charts /** * Parameters for a promotion chart. * * @property id ID of the promotion level */ data class PromotionLevelChartParameters( val id: Int, )
57
null
27
97
7c71a3047401e088ba0c6d43aa3a96422024857f
201
ontrack
MIT License
dsl/src/main/kotlin/com/faendir/awscdkkt/generated/services/cloudwatch/GaugeWidgetPropsDsl.kt
F43nd1r
643,016,506
false
null
package com.faendir.awscdkkt.generated.services.cloudwatch import com.faendir.awscdkkt.AwsCdkDsl import javax.`annotation`.Generated import kotlin.Unit import software.amazon.awscdk.services.cloudwatch.GaugeWidgetProps @Generated public fun buildGaugeWidgetProps(initializer: @AwsCdkDsl GaugeWidgetProps.Builder.() -> ...
1
Kotlin
0
0
451a1e42282de74a9a119a5716bd95b913662e7c
404
aws-cdk-kt
Apache License 2.0
src/test/kotlin/hm/binkley/dice/ColorOptionTest.kt
binkley
259,950,798
false
null
package hm.binkley.dice import com.github.stefanbirkner.systemlambda.SystemLambda.restoreSystemProperties import hm.binkley.dice.ColorOption.always import hm.binkley.dice.ColorOption.auto import hm.binkley.dice.ColorOption.force import hm.binkley.dice.ColorOption.`if-tty` import hm.binkley.dice.ColorOption.never impor...
11
Kotlin
0
0
dc809d38d3dd75d4b4bfba3098c624cbcaf7c677
1,292
kotlin-dice
The Unlicense
core/src/jsMain/kotlin/dev/fritz2/core/listener.kt
jwstegemann
230,732,344
false
{"Kotlin": 1171556, "TypeScript": 112179, "Nunjucks": 73148, "JavaScript": 15611, "CSS": 3463, "HTML": 891}
@file:Suppress("unused") package dev.fritz2.core import kotlinx.coroutines.channels.awaitClose import kotlinx.coroutines.flow.Flow import kotlinx.coroutines.flow.callbackFlow import kotlinx.coroutines.flow.filter import kotlinx.coroutines.flow.map import org.w3c.dom.* import org.w3c.dom.events.Event import org.w3c.dom...
20
Kotlin
24
599
b91675ee9b94dc197533be50bbb6a7c44d036b1c
4,991
fritz2
MIT License
src/main/kotlin/ch/uzh/ifi/seal/bencher/prioritization/search/PrioritzationProblem.kt
chrstphlbr
227,602,878
false
null
package ch.uzh.ifi.seal.bencher.prioritization.search import arrow.core.getOrElse import ch.uzh.ifi.seal.bencher.Benchmark import ch.uzh.ifi.seal.bencher.Method import ch.uzh.ifi.seal.bencher.MethodComparator import ch.uzh.ifi.seal.bencher.analysis.callgraph.CGOverlap import ch.uzh.ifi.seal.bencher.analysis.callgraph....
0
Kotlin
2
1
e2e5f57720e5aae7830d212891cd7f464c3d87a6
4,803
bencher
Apache License 2.0
services/hanke-service/src/main/kotlin/fi/hel/haitaton/hanke/HankeServiceImpl.kt
City-of-Helsinki
300,534,352
false
null
package fi.hel.haitaton.hanke import fi.hel.haitaton.hanke.domain.Hanke import fi.hel.haitaton.hanke.domain.HankeYhteystieto import fi.hel.haitaton.hanke.logging.Action import fi.hel.haitaton.hanke.logging.AuditLogRepository import fi.hel.haitaton.hanke.logging.YhteystietoLoggingEntryHolder import fi.hel.haitaton.hank...
6
Kotlin
4
1
8f5d9dd7af0f78b8f19598c484ae657c26f3f9b8
35,873
haitaton-backend
MIT License
app/src/main/java/com/lahsuak/apps/tasks/ui/screens/dialog/AddUpdateTaskSceen.kt
KaushalVasava
506,109,776
false
{"Kotlin": 353744}
package com.lahsuak.apps.tasks.ui.screens.dialog import androidx.activity.compose.BackHandler import androidx.compose.foundation.background import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Column import androidx.compose.foundat...
1
Kotlin
5
30
49e024e90b1f58612e174336983c0e304afd647f
20,316
Tasks
Apache License 2.0
shared/src/commonMain/kotlin/JsonBuilder.kt
nanaten
688,849,714
false
{"Kotlin": 20920, "Swift": 708, "Shell": 228, "Ruby": 101}
import kotlinx.serialization.json.Json object JsonBuilder { fun build(): Json = Json { prettyPrint = true isLenient = true ignoreUnknownKeys = true } }
0
Kotlin
0
4
be466e072013b8530990b5cd06969c281c3247c1
184
compose-for-ios-sample
Apache License 2.0
sources/naf_presentation_layer/library/src/androidTest/java/com/github/nikolaymenzhulin/naf_presentation_layer/android_test/app/di/component/AppComponent.kt
NikolayMenzhulin
360,942,326
false
null
/* Copyright © 2021 <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 writing, softwa...
0
Kotlin
0
0
5e478b4c0f527913f3f0cc3aa952e120c9275ae3
1,407
NAF
Apache License 2.0
app/src/main/kotlin/net/primal/android/wallet/domain/TxType.kt
PrimalHQ
639,579,258
false
{"Kotlin": 2548226}
package net.primal.android.wallet.domain enum class TxType(val id: Int) { DEPOSIT(id = 1), WITHDRAW(id = 2), }
56
Kotlin
12
98
438072af7f67762c71c5dceffa0c83dedd8e2e85
120
primal-android-app
MIT License
ProyectoDivisaContentPrividerA/app/src/main/java/net/ivanvega/proyectodivisacontentprividera/repository/MonedaViewModel.kt
profe-givox
604,357,163
false
null
package net.ivanvega.proyectodivisacontentprividera.repository import androidx.lifecycle.LiveData import androidx.lifecycle.ViewModel import androidx.lifecycle.ViewModelProvider import androidx.lifecycle.asLiveData import net.ivanvega.proyectodivisacontentprividera.db.Moneda class MonedaViewModel(private val reposito...
0
Kotlin
0
1
68c996b2e468f01ddc53413d1ad4eac50f862a6a
882
3WNB-PROG.MOVIL-II.N-EJ23
MIT License
src/test/kotlin/com/cognifide/gradle/aem/test/DebugTaskTest.kt
mierzwid
162,127,323
true
{"Kotlin": 377850, "Shell": 5207, "Java": 2130, "Batchfile": 233}
package com.cognifide.gradle.aem.test import com.cognifide.gradle.aem.test.AemAssert.assertJsonCustomized import com.cognifide.gradle.aem.test.json.AnyValueMatcher import com.cognifide.gradle.aem.test.json.PathValueMatcher import com.cognifide.gradle.aem.test.json.ValueMatcher import org.junit.jupiter.api.Test class ...
0
Kotlin
0
0
0fd535613b7351dbd8c0989b6135e61bcf7e19c8
1,650
gradle-aem-plugin
Apache License 2.0
src/test/kotlin/com/cognifide/gradle/aem/test/DebugTaskTest.kt
mierzwid
162,127,323
true
{"Kotlin": 377850, "Shell": 5207, "Java": 2130, "Batchfile": 233}
package com.cognifide.gradle.aem.test import com.cognifide.gradle.aem.test.AemAssert.assertJsonCustomized import com.cognifide.gradle.aem.test.json.AnyValueMatcher import com.cognifide.gradle.aem.test.json.PathValueMatcher import com.cognifide.gradle.aem.test.json.ValueMatcher import org.junit.jupiter.api.Test class ...
0
Kotlin
0
0
0fd535613b7351dbd8c0989b6135e61bcf7e19c8
1,650
gradle-aem-plugin
Apache License 2.0
punt_lila/app/src/main/java/com/copernic/PuntLila/Fragments/FragmentSolicitudActivista.kt
ansmore
592,951,311
false
null
package com.copernic.PuntLila.Fragments import android.content.Intent import android.net.Uri import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.fragment.app.Fragment import com.copernic.PuntLila.databinding.FragmentSolicitudActivistaBindin...
0
Kotlin
0
0
d7d096987cc16b060043ff3eb860f4e1354af106
1,408
Punt_Lila
MIT License
src/test/kotlin/TestServer.kt
LukynkaCZE
774,033,055
false
{"Kotlin": 18536}
import java.io.File class TestServer { var server: LightweightWebServer = LightweightWebServer(6900) init { server.get("/statusCode") { it.respond("200", 200) } server.get("/response") { it.respond("hello world", 200) } server.get("/urlparams/{...
1
Kotlin
0
5
27a7fe46f06a2d9147098c2b38b6565530d3c9a4
904
LKWS
MIT License
src/test/kotlin/TestServer.kt
LukynkaCZE
774,033,055
false
{"Kotlin": 18536}
import java.io.File class TestServer { var server: LightweightWebServer = LightweightWebServer(6900) init { server.get("/statusCode") { it.respond("200", 200) } server.get("/response") { it.respond("hello world", 200) } server.get("/urlparams/{...
1
Kotlin
0
5
27a7fe46f06a2d9147098c2b38b6565530d3c9a4
904
LKWS
MIT License
notes-mappers-log1/src/commonMain/kotlin/org/avr/notes/log/mappers/NoteContext2Log.kt
alex-avr
589,281,806
false
null
package org.avr.notes.log.mappers import kotlinx.datetime.Clock import org.avr.notes.api.logs.models.CommonLogModel import org.avr.notes.api.logs.models.FolderChildInfo import org.avr.notes.api.logs.models.NoteLog import org.avr.notes.api.logs.models.NoteLogModel import org.avr.notes.common.NoteContext import org.avr....
0
Kotlin
0
0
03aaa0789fd602dcacd4f4ef2747f80cb80f331a
2,050
notes
Apache License 2.0
light/src/test/kotlin/net/kotlinx/aws/s3/S3PresignSupportTest.kt
mypojo
565,799,715
false
{"Kotlin": 1207831, "Java": 9531, "Jupyter Notebook": 7080}
package net.kotlinx.aws.s3 import net.kotlinx.aws.AwsClient1 import net.kotlinx.koin.Koins.koin import net.kotlinx.kotest.KotestUtil import net.kotlinx.kotest.initTest import net.kotlinx.kotest.modules.BeSpecHeavy internal class S3PresignSupportTest : BeSpecHeavy() { private val profileName by lazy { findProfile...
0
Kotlin
0
1
d7a595c2b37be90937eb0358e8f8b502fd178226
955
kx_kotlin_support
MIT License
src/main/kotlin/me/fzzyhmstrs/amethyst_imbuement/item/custom/CustomShovelItem.kt
fzzyhmstrs
461,338,617
false
{"Kotlin": 1732617, "Java": 107324}
package me.fzzyhmstrs.amethyst_imbuement.item.custom import me.fzzyhmstrs.fzzy_core.item_util.interfaces.Flavorful import net.minecraft.item.ShovelItem import net.minecraft.item.ToolMaterial class CustomShovelItem(material: ToolMaterial, attackDamage: Float, attackSpeed: Float, settings: Settings): ShovelItem(mat...
9
Kotlin
8
4
bf57639e6cf7711e51debd25a92a47c40623d9fd
626
ai
MIT License
app/src/main/java/com/hermanowicz/pantry/domain/settings/ValidateEmailUseCase.kt
sirconceptz
615,655,539
false
null
package com.hermanowicz.pantry.domain.settings import androidx.core.util.PatternsCompat import com.hermanowicz.pantry.utils.enums.EmailValidation import javax.inject.Inject class ValidateEmailUseCase @Inject constructor() : (CharSequence) -> EmailValidation { override fun invoke(email: CharSequence): EmailValidat...
0
Kotlin
0
1
75128b836de9efb61ee7fd785ed298402a0a430a
579
MyPantry
Apache License 2.0
app/src/main/java/com/example/gcore_vod_demo/GCoreApp.kt
G-Core
464,986,406
false
{"Kotlin": 122519}
package com.example.gcore_vod_demo import android.app.Application import androidx.work.Configuration import com.example.gcore_vod_demo.data.remote.account.AccountApi import com.example.gcore_vod_demo.data.remote.account.auth.AuthApi import com.example.gcore_vod_demo.data.remote.account.refresh_token.RefreshTokenApi im...
0
Kotlin
1
1
2a194cd24ef5b5d2cbefe465a2fdd3a00f9b7ee3
2,508
android-demo-vod-hosting
Apache License 2.0
app/src/main/kotlin/com/denwehrle/boilerplate/redux/state/AppStore.kt
kostah50
138,571,190
true
{"Kotlin": 114088}
package com.denwehrle.boilerplate.redux.state import org.rekotlin.Store /** * Created by dmba on 5/17/18. */ typealias AppStore = Store<AppState>
0
Kotlin
0
0
2e388b91c4315b93d3846b6e78f6d91992a53792
151
boilerplate-kotlin
Apache License 2.0
analysis/low-level-api-fir/testData/getOrBuildFir/types/whereFunction.kt
JetBrains
3,432,266
false
null
interface One interface Two fun <T> foo(t: T) where T : One, T : <expr>Two</expr> = t
181
null
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
86
kotlin
Apache License 2.0
app/src/main/kotlin/com/k0d4black/theforce/activities/AboutActivity.kt
odaridavid
227,998,628
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...
23
Kotlin
109
635
641213f53fc148b154465727d4c3246194a11542
1,438
Clean-MVVM-ArchComponents
Apache License 2.0
app/src/main/java/de/christinecoenen/code/zapp/utils/system/PreferenceFragmentHelper.kt
mediathekview
68,289,398
false
null
package de.christinecoenen.code.zapp.utils.system import androidx.appcompat.app.AppCompatDelegate import androidx.core.os.LocaleListCompat import androidx.lifecycle.DefaultLifecycleObserver import androidx.lifecycle.LifecycleOwner import androidx.preference.ListPreference import androidx.preference.Preference import a...
57
null
33
201
7a3cadf5a8b8efd1bb5cb9a0d6175c995e2f5aaf
4,294
zapp
MIT License
network/src/test/java/com/apm29/network/ExampleUnitTest.kt
apm29
102,709,720
false
null
package com.apm29.network import io.reactivex.Observable import org.junit.Test /** * Example local unit test, which will execute on the development machine (host). * * @see [Testing documentation](http://d.android.com/tools/testing) */ class ExampleUnitTest { @Test @Throws(Exception::class) fun additi...
1
null
1
2
862cd263248b0506c1f850eecc05880c3ce34aac
821
kotlinapp
Apache License 2.0
module_test_agency/src/main/java/com/hlq/module_test_agency/ui/activity/AgencyMessageActivity.kt
huanglinqing123
448,540,959
false
null
/* * * * Copyright (C) HuangLinqing, TravelPrevention 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/L...
0
Kotlin
23
99
e7ddde38419c35d914c8fc430340680ad4797b63
4,172
TravelPrevention
Apache License 2.0
app/src/main/kotlin/io/eugenethedev/taigamobile/ui/screens/commontask/components/CommonTaskWatchers.kt
EugeneTheDev
345,475,827
false
null
package io.eugenethedev.taigamobile.ui.screens.commontask.components import androidx.annotation.DrawableRes import androidx.annotation.StringRes import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Row import androidx.compose.foundation.layout.Spacer import androidx.compose.f...
0
Kotlin
17
124
f71ee71ab2dcc546cac02063dc2cbdfa5da8b96c
3,050
TaigaMobile
Apache License 2.0
algorithms/src/test/kotlin/io/nullables/api/playground/algorithms/data/StackTest.kt
AlexRogalskiy
331,076,596
false
null
/* * Copyright (C) 2021. <NAME>. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
13
Kotlin
1
2
d7173ec1d9ef227308d926e71335b530c43c92a8
2,019
gradle-kotlin-sample
Apache License 2.0
app/src/main/java/ac/uk/hope/osmviewerjetpack/displayables/search/ArtistSearchViewModel.kt
movedaccount-droid
796,686,976
false
{"Kotlin": 56858}
package ac.uk.hope.osmviewerjetpack.displayables.search import ac.uk.hope.osmviewerjetpack.domain.musicbrainz.model.Artist import ac.uk.hope.osmviewerjetpack.repository.fanarttv.FanartTvRepository import ac.uk.hope.osmviewerjetpack.repository.musicbrainz.MusicBrainzRepository import ac.uk.hope.osmviewerjetpack.util.TA...
0
Kotlin
0
0
67b269d9a2bc7c41561888bbe26a81584d4e17d0
4,350
osmviewerjetpack2
Creative Commons Zero v1.0 Universal
modules/mining-pipeline/ccspan-pattern-detector/src/test/kotlin/org/cafejojo/schaapi/miningpipeline/patterndetector/ccspan/TestNodeComparator.kt
cafejojo
130,986,816
false
null
package org.cafejojo.schaapi.miningpipeline.patterndetector.prefixspan import org.cafejojo.schaapi.models.GeneralizedNodeComparator import org.cafejojo.schaapi.models.Node /** * A subclass of [GeneralizedNodeComparator] for testing purposes. * * Two [Node]s are considered equal if they have the same reference. */...
5
null
1
9
71324e567bbd75b15816b94b5e0942dade12a56d
656
schaapi
MIT License
komga/src/main/kotlin/org/gotson/komga/Application.kt
lgq19991225
670,682,017
true
{"Kotlin": 228714, "Vue": 150769, "TypeScript": 36658, "TSQL": 3392, "JavaScript": 2632, "PLSQL": 2130, "Shell": 1470, "HTML": 704, "Dockerfile": 391}
package com.lgq.fsl.wiki import org.springframework.boot.autoconfigure.SpringBootApplication import org.springframework.boot.autoconfigure.domain.EntityScan import org.springframework.boot.runApplication import org.springframework.data.jpa.repository.config.EnableJpaAuditing import org.springframework.data.jpa.reposit...
0
Kotlin
0
0
ad1e7b8fae605eeb55540c3ddad6252a42276f53
488
komga
MIT License
generator/gradle-plugin/src/main/kotlin/org/timemates/rrpc/plugin/RSProtoExtension.kt
timemates
713,625,067
false
{"Kotlin": 261080}
package org.timemates.rrpc.plugin import org.gradle.api.model.ObjectFactory import org.gradle.api.provider.Property import org.gradle.kotlin.dsl.property /** * Class representing the extension for generating Protobuf code. */ @RRpcGradlePluginDsl public open class RRpcExtension(objects: ObjectFactory) { /** ...
8
Kotlin
0
8
e349daf1ae419c3cf544dc9b27a93f2274ad90e3
5,251
rrpc-kotlin
MIT License
ceres-extensions/src/main/kotlin/dev/teogor/ceres/extensions/FragmentManagerExt.kt
teogor
555,090,893
false
null
/* * Copyright 2022 teogor (Teodor Grigor) All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ...
6
Kotlin
3
22
dd556d2f43fa8b0fd44edf9d091d8059a9c8caac
880
ceres
Apache License 2.0
src/main/kotlin/ingsis/snippetmanager/domains/rule/service/LinterRulesService.kt
ingsis-group-6
637,242,497
false
null
package ingsis.snippetmanager.domains.rule.service import ingsis.snippetmanager.domains.rule.dto.LinterRulesDTO interface LinterRulesService { suspend fun getLinterRulesByUserId(userId: String): LinterRulesDTO suspend fun updateLinterRules(linterRules: LinterRulesDTO, userId: String): LinterRulesDTO }
0
Kotlin
0
0
091a7f49a12a2d0c64849ed3f39aa91bcfeef31a
313
snippet-manager
MIT License
application/src/test/kotlin/net/codebot/application/components/AppCanvasTest.kt
OHNOalan
693,360,836
false
{"Kotlin": 170345, "Java": 493, "Dockerfile": 325}
package net.codebot.application.components import javafx.application.Platform import javafx.scene.Node import javafx.scene.layout.BorderPane import javafx.scene.shape.Polyline import javafx.stage.Stage import junit.framework.TestCase.* import org.junit.Before import org.junit.BeforeClass import org.junit.Test import j...
0
Kotlin
0
0
5e3650cd67adec148078bb5b78723120ef105ff1
2,551
Whiteboard
Apache License 2.0
compiler/testData/ir/irText/expressions/callableReferences/withAdaptedArguments.kt
JetBrains
3,432,266
false
null
// !LANGUAGE: +NewInference, +FunctionReferenceWithDefaultValueAsOtherType import Host.importedObjectMemberWithVarargs fun use(fn: (Int) -> String) = fn(1) fun use0(fn: () -> String) = fn() fun coerceToUnit(fn: (Int) -> Unit) {} fun fnWithDefault(a: Int, b: Int = 42) = "abc" fun fnWithDefaults(a: Int = 1, b: Int =...
181
null
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
754
kotlin
Apache License 2.0
cassandra-data-service/src/main/kotlin/com/example/web/routes/ApiRoutes.kt
xmlking
104,446,236
false
null
package com.example.web.routes import com.example.web.handler.* import org.springframework.context.annotation.Bean import org.springframework.context.annotation.Configuration import org.springframework.context.annotation.DependsOn import org.springframework.http.MediaType.* import org.springframework.web.reactive.func...
0
Kotlin
17
40
8ab1b2a2f98fae739562c733360fb4e69687879d
1,584
microservices-observability
MIT License
app/src/main/java/org/simple/clinic/registration/pin/RegistrationPinScreen.kt
simpledotorg
132,515,649
false
{"Kotlin": 6129044, "Shell": 1660, "HTML": 545}
package org.simple.clinic.registration.pin import android.content.Context import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.view.inputmethod.EditorInfo import com.jakewharton.rxbinding3.widget.editorActions import com.spotify.mobius.functi...
16
Kotlin
73
236
ff699800fbe1bea2ed0492df484777e583c53714
3,942
simple-android
MIT License
ui/feature/search/src/main/kotlin/com/francescsoftware/weathersample/ui/feature/search/weather/ui/WeatherStateWrapperProvider.kt
fvilarino
355,724,548
false
{"Kotlin": 574824, "Shell": 60}
@file: Suppress("MagicNumber") package com.francescsoftware.weathersample.ui.feature.search.weather.ui import androidx.compose.ui.tooling.preview.PreviewParameterProvider import com.francescsoftware.weathersample.core.type.weather.AverageVisibility import com.francescsoftware.weathersample.core.type.weather.Humidity ...
10
Kotlin
1
33
ae2e6ad24f6dacb2f6211cdf7684928264f5ebd7
3,407
Weather-Sample
Apache License 2.0
parsingkit/src/main/kotlin/com/zkhaider/parsingkit/Parser.NTuple.kt
ZkHaider
199,350,388
false
null
package com.zkhaider.parsingkit data class Quadruple<A, B, C, D>(val first: A, val second: B, val third: C, val fourth: D) data class Quintuple<A, B, C, D, E>(val first: A, val second...
0
Kotlin
0
0
55ff14c1218ee319ad764bd1f01297e613e9ae33
1,180
ParsingKit-Android
MIT License
src/main/kotlin/com/brownian/testify/MethodInspectors.kt
JJatSTASH
481,322,169
false
{"Kotlin": 27895, "Go": 1013, "HTML": 140}
package com.brownian.testify import com.goide.psi.GoCallExpr import com.goide.psi.GoFunctionDeclaration import com.goide.psi.GoMethodDeclaration import com.goide.psi.GoNamedSignatureOwner import com.goide.psi.impl.GoPsiUtil import com.intellij.util.ObjectUtils fun isMatchingMethodCall(expr: GoCallExpr, methodName: S...
4
Kotlin
0
3
59de3b59826b271c7fb028caa6fd7856019158b3
1,214
testify-support-plugin
MIT License
edu-format/src/com/jetbrains/edu/learning/courseFormat/EduTestInfo.kt
JetBrains
43,696,115
false
{"Text": 28, "Gradle Kotlin DSL": 6, "Java Properties": 17, "YAML": 9, "Markdown": 10, "Shell": 2, "Ignore List": 1, "Batchfile": 1, "Git Attributes": 1, "Python": 6, "TOML": 1, "INI": 4, "Java": 7, "Kotlin": 1709, "XML": 105, "CSS": 18, "HTML": 45, "JSON": 268, "SVG": 183, "JavaScript": 2, "CODEOWNERS": 1}
package com.jetbrains.edu.learning.courseFormat import com.fasterxml.jackson.annotation.JsonProperty import com.jetbrains.edu.learning.marketplace.api.NAME import org.jetbrains.annotations.TestOnly private const val STATUS = "status" class EduTestInfo private constructor() { @JsonProperty(NAME) var name: String ...
6
Kotlin
45
143
8c8ffb1372f80ed9efd9aa1ad58544141df9698f
1,387
educational-plugin
Apache License 2.0
metric/memory/src/main/java/com/spotify/heroic/metric/memory/Data.kt
spotify
36,483,902
false
null
/* * Copyright (c) 2019 Spotify AB. * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License,...
70
Java
110
845
9a021a7a4acf643012cd0b2bfe8f59e7b6cfda89
1,330
heroic
Apache License 2.0
app/src/main/java/com/socialbox/chat/data/model/Message.kt
sangeetds
370,140,900
false
null
package com.socialbox.chat.data.model data class Message( val id: String? = null, val senderId: Int = 0, val senderName: String = "", val content: String = "", val createdAt: String )
11
Kotlin
0
0
0408c8194404a80b4a3fb8182faa1d2104afe8ec
195
SocialBox
Apache License 2.0
src/main/kotlin/com/github/michaelbull/retry/RetryResult.kt
michaelbull
204,199,690
false
null
package com.github.michaelbull.retry import com.github.michaelbull.result.Err import com.github.michaelbull.result.Ok import com.github.michaelbull.result.Result import com.github.michaelbull.retry.context.CoroutineRetryScope import com.github.michaelbull.retry.context.RetryStatus import com.github.michaelbull.retry.c...
2
Kotlin
9
297
f5c916e110b3e5300c1c78234eb95c3a203e60f5
2,070
kotlin-retry
ISC License
app/src/main/java/dev/mryp/drawerdemo/MainActivity.kt
mryp
465,181,192
false
null
package dev.mryp.drawerdemo import android.os.Bundle import androidx.activity.ComponentActivity import androidx.activity.compose.setContent import androidx.compose.foundation.background import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.* import androidx.compose.material.* import an...
0
Kotlin
0
0
52a72b611be368377b3d6a98abf643ca8b3a1f33
9,124
compose-drawer-demo
MIT License
compiler/testData/codegen/box/dataClasses/hashCode/alreadyDeclaredWrongSignature.kt
JetBrains
3,432,266
false
null
// TARGET_BACKEND: JVM // WITH_RUNTIME data class A(val x: Int) { fun hashCode(other: Any): Int = 0 } data class B(val x: Int) { fun hashCode(other: B, another: Any): Int = 0 } fun box(): String { A::class.java.getDeclaredMethod("hashCode") A::class.java.getDeclaredMethod("hashCode", Any::class.java) B::...
181
null
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
456
kotlin
Apache License 2.0
root/common/src/main/kotlin/nullversionnova/novaslibrary/test/TestTabs.kt
null-version-nova
748,790,222
false
{"Kotlin": 37141}
package nullversionnova.novaslibrary.test import net.minecraft.world.item.Items import nullversionnova.novaslibrary.NovasLibrary import nullversionnova.novaslibrary.registry.CreativeTabRegistry object TestTabs : CreativeTabRegistry(NovasLibrary.MOD_ID) { val TEST_TAB by registerWithIcon("test_tab") { Items.WHEAT ...
0
Kotlin
0
0
82f021b88810eabaa830828e8cb59baede41db64
323
novas-library
MIT License
app/src/main/java/com/arreis/brightnessswitcher/configuration/LevelListAdapter.kt
jantonioromero
441,989,640
false
{"Kotlin": 26197, "Java": 8448}
package com.arreis.brightnessswitcher.configuration import android.content.Context import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.BaseAdapter import com.arreis.brightnessswitcher.R import com.arreis.brightnessswitcher.domain.entity.BrightnessLevel class...
0
Kotlin
0
0
3f6caa4206cb1d95fa5228babfe25f5fc14ee1da
1,865
Brightness-Switcher-v2
MIT License
app/src/main/java/eu/pkgsoftware/babybuddywidgets/timers/TimerControllersV2.kt
babybuddy
453,577,707
false
{"Kotlin": 273505, "Java": 126718, "Python": 16664, "Makefile": 9142, "Ruby": 2629, "Shell": 1519}
package eu.pkgsoftware.babybuddywidgets.timers import android.os.Handler import android.view.View import android.view.ViewGroup import android.widget.AdapterView import android.widget.ArrayAdapter import android.widget.Button import android.widget.ImageButton import android.widget.LinearLayout import android.widget.Sp...
16
Kotlin
6
15
d429282b47951bf431773e341bb2e8d06fb3b3b9
38,853
babybuddy-for-android
MIT License
step8/app/src/androidTest/java/com/jhouse/simpleflashcard/svc/TopicServiceTest.kt
Jooho
255,480,890
false
null
package com.jhouse.simpleflashcard.svc import com.jhouse.simpleflashcard.db.question.QuestionEntity import com.jhouse.simpleflashcard.db.topic.TopicEntity import com.jhouse.simpleflashcard.etc.RootTest import com.jhouse.simpleflashcard.question.QuestionFile import org.junit.Assert.assertEquals import org.junit.Test c...
0
Kotlin
0
0
f97a64ab7e72b9c59a49c53a10d89ac8881237fa
4,683
SimpleFlashCardTutorial
Apache License 2.0
composeApp/src/iosMain/kotlin/org/chaintech/app/utility/util.ios.kt
Chaintech-Network
800,279,650
false
{"Kotlin": 100877, "Swift": 522}
package org.chaintech.app.utility import androidx.compose.runtime.Composable import androidx.compose.runtime.LaunchedEffect import kotlinx.cinterop.ExperimentalForeignApi import kotlinx.cinterop.memScoped import kotlinx.cinterop.pointed import platform.Foundation.NSBundle import platform.UIKit.UIApplication import pla...
6
Kotlin
22
315
5a75a36c4e29746a4a18ba56add3518f1e13650f
1,320
ComposeMultiplatformMediaPlayer
Apache License 2.0
app/src/main/java/io/github/drumber/kitsune/constants/Kitsu.kt
Drumber
406,471,554
false
{"Kotlin": 797542, "Ruby": 2045}
package io.github.drumber.kitsune.constants object Kitsu { const val DEFAULT_PAGE_OFFSET = 0 const val DEFAULT_PAGE_SIZE = 10 const val DEFAULT_PAGE_SIZE_LIBRARY = 30 const val ALGOLIA_APP_ID = "AWQO5J657S" const val API_URL = "https://kitsu.io/api/edge/" const val OAUTH_URL = "https://kitsu...
5
Kotlin
4
61
6ab88cfacd8ee4daad23edbe4a134ab1f2b1f62c
538
Kitsune
Apache License 2.0
plugins/kotlin/idea/tests/testData/intentions/indentRawString/simple.kt
zhoumin03
128,005,393
false
null
// WITH_RUNTIME // AFTER-WARNING: Variable 'foo' is never used fun test() { val foo = <caret>"""foo bar baz""" }
1
null
1
1
85e5e3f22943744eaf80e844fdf195ca1130b14b
116
intellij-community
Apache License 2.0
plugins/radar-android-phone/src/main/java/org/radarbase/passive/phone/PhoneSensorManager.kt
peyman-mohtashami
253,735,178
true
{"C++": 2939471, "Kotlin": 632460, "C": 289748, "Java": 157517, "PHP": 29226, "Makefile": 8524, "RenderScript": 997, "Assembly": 694, "Pawn": 466}
/* * Copyright 2017 The Hyve * * 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 writ...
0
null
0
0
0d6a16e1a2b931bba038828ceb836d466c189be1
11,158
radar-commons-android
Apache License 2.0
sampleapp/src/main/java/co/nimblehq/loyalty/sdk/poc/ui/screen/history/RewardHistoryScreen.kt
nimblehq
614,262,220
false
null
package co.nimblehq.loyalty.sdk.poc.ui.screen.history import android.app.Activity import android.widget.Toast import androidx.compose.foundation.layout.* import androidx.compose.foundation.lazy.LazyColumn import androidx.compose.foundation.lazy.itemsIndexed import androidx.compose.material.icons.Icons import androidx....
6
Kotlin
0
0
8641a422bb5a58bb49d51f1f0aa9139e03b37bee
5,196
business-loyalty-android-sdk-poc
MIT License
src/test/kotlin/io/github/paulgriffith/modification/ModificationTests.kt
paul-griffith
497,065,211
false
null
package io.github.paulgriffith.modification import io.kotest.core.spec.style.FunSpec import io.kotest.matchers.shouldBe import java.time.Instant class ModificationTests : FunSpec({ test("Modification") { val initial = deserializeResource("script") val updated = initial.update("test", Instant.parse...
1
Kotlin
0
0
137aaac39092cf07c9d6cf258cf5bba1ef27b71b
462
modification-updater
Apache License 2.0
app/src/main/java/com/wings/kotlinweather/WeatherApp.kt
ruanyandong
287,937,197
false
null
package com.wings.kotlinweather import android.annotation.SuppressLint import android.app.Application import android.content.Context /** * @author -> Wings * @date -> 2020/8/17 * @email -> <EMAIL> <EMAIL> * @phone -> 18983790146 * @blog -> https://ruanyandong.github.io -> https://blog.csdn.net/qq_34681580 ...
1
null
1
1
60aff1301cd6881467340f180b4004199d21cb04
803
kotlinWeather
Apache License 2.0
bindings/gtk/gtk4/src/nativeMain/kotlin/org/gtkkn/bindings/gtk/Shortcut.kt
gtk-kn
609,191,895
false
{"Kotlin": 10448515, "Shell": 2740}
// This is a generated file. Do not modify. package org.gtkkn.bindings.gtk import kotlinx.cinterop.CPointer import kotlinx.cinterop.reinterpret import org.gtkkn.bindings.glib.Variant import org.gtkkn.bindings.gobject.Object import org.gtkkn.extensions.gobject.GeneratedClassKGType import org.gtkkn.extensions.gobject.KG...
0
Kotlin
0
13
c033c245f1501134c5b9b46212cd153c61f7efea
6,968
gtk-kn
Creative Commons Attribution 4.0 International
presentation/src/main/java/com/sms/presentation/main/ui/mypage/state/ExpandableProjectData.kt
GSM-MSG
625,706,722
false
null
package com.sms.presentation.main.ui.mypage.state import com.sms.presentation.main.ui.detail.data.RelatedLinksData data class ExpandableProjectData( val name: String, val activityDuration: String, val projectImage: List<String>, val icon: String, val techStack: List<String>, val keyTask: Strin...
17
Kotlin
1
8
00c55844b4111501f4661430093ba03228f9f41c
396
SMS-Android
MIT License
app/src/test/java/com/bed/seller/presentation/ui/authentication/signin/SignInViewModelTest.kt
bed72
674,410,644
false
{"Kotlin": 168677, "Shell": 492}
package com.bed.seller.presentation.ui.authentication.signin import org.junit.Rule import org.junit.Test import org.junit.Before import org.junit.runner.RunWith import junit.framework.TestCase.assertTrue import junit.framework.TestCase.assertEquals import org.mockito.Mock import org.mockito.kotlin.any import org.moc...
0
Kotlin
0
1
8040eb5deeaadac11e754b054b62c751d1a3cc65
3,649
Hogwarts
MIT License
app/src/test/java/com/bed/seller/presentation/ui/authentication/signin/SignInViewModelTest.kt
bed72
674,410,644
false
{"Kotlin": 168677, "Shell": 492}
package com.bed.seller.presentation.ui.authentication.signin import org.junit.Rule import org.junit.Test import org.junit.Before import org.junit.runner.RunWith import junit.framework.TestCase.assertTrue import junit.framework.TestCase.assertEquals import org.mockito.Mock import org.mockito.kotlin.any import org.moc...
0
Kotlin
0
1
8040eb5deeaadac11e754b054b62c751d1a3cc65
3,649
Hogwarts
MIT License
src/main/kotlin/year_2022/Day01.kt
krllus
572,617,904
false
null
fun main() { fun part1(input: List<String>): Int { val caloriesCountByElf = arrayListOf<Int>() var currentElfCaloriesCount = 0 for(index in input.indices){ val element = input[index] if(element.isEmpty()){ caloriesCountByElf.add(currentElfCaloriesCoun...
0
Kotlin
0
0
f77cf4694a4b392251d57be0638c256a8609de8b
1,612
advent-of-code-2022
Apache License 2.0
app/src/main/java/dev/maxsiomin/ntc/util/SharedPrefsConfig.kt
MaxSiominDev
443,741,088
false
{"Kotlin": 77718}
package dev.maxsiomin.ntc.util object SharedPrefsConfig { const val DATE_UPDATE_SUGGESTED = "dateUpdateSuggested" }
0
Kotlin
0
1
7f801d695041b6b7ca4a9a624f0d6b2095b377cc
123
NameThatColor
MIT License
app/src/main/java/com/danielefavaro/waround/base/BaseBottomSheetDialogFragment.kt
dfavaro
338,638,291
false
null
package com.danielefavaro.waround.base import com.danielefavaro.waround.base.util.ViewModelsFactory import com.google.android.material.bottomsheet.BottomSheetDialogFragment import javax.inject.Inject abstract class BaseBottomSheetDialogFragment : BottomSheetDialogFragment() { @Inject lateinit var viewModelsF...
0
Kotlin
0
0
4f27165dd6e3e0bfbb704b56f8fbdbaf04b61fd2
348
waround-android
MIT License
app/src/main/java/com/danielefavaro/waround/base/BaseBottomSheetDialogFragment.kt
dfavaro
338,638,291
false
null
package com.danielefavaro.waround.base import com.danielefavaro.waround.base.util.ViewModelsFactory import com.google.android.material.bottomsheet.BottomSheetDialogFragment import javax.inject.Inject abstract class BaseBottomSheetDialogFragment : BottomSheetDialogFragment() { @Inject lateinit var viewModelsF...
0
Kotlin
0
0
4f27165dd6e3e0bfbb704b56f8fbdbaf04b61fd2
348
waround-android
MIT License
src/main/java/edu/isi/gaia/ColdStart2AidaInterchange.kt
shinyichen
183,950,084
true
{"Java": 725440, "Kotlin": 157808, "Python": 84360, "Makefile": 2155}
package edu.isi.gaia import ch.qos.logback.classic.Level import ch.qos.logback.classic.Logger import com.google.common.base.Charsets import com.google.common.collect.* import com.google.common.io.Files import edu.isi.gaia.AIFUtils.markJustification import edu.isi.gaia.AIFUtils.markSystem import edu.isi.nlp.files.FileU...
0
Java
0
0
cb066d82568bc5931a010972d9c2c8a4ce6a05a6
32,827
AIDA-Interchange-Format
MIT License
AnimationCodelab/start/src/main/java/com/example/android/codelab/animation/ui/Color.kt
android
290,421,574
false
{"Kotlin": 678026, "Shell": 1224}
/* * Copyright 2021 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
28
Kotlin
655
1,442
c986b5afee85c5ca4036bb947e5c2b332aea01dd
938
codelab-android-compose
Apache License 2.0
library/src/main/java/androidx/kotlin/expand/version/VersionX.kt
7449
184,541,129
false
null
@file:JvmName("VersionUtils") package androidx.kotlin.expand.version import android.os.Build @JvmName("isMinVersion") fun Int.minVersionExpand(): Boolean = Build.VERSION.SDK_INT >= this @JvmName("isMaxVersion") fun Int.maxVersionExpand(): Boolean = Build.VERSION.SDK_INT <= this @JvmName("isK") fun hasKExpand(): Bo...
0
Kotlin
0
0
fc14bb027736c33d8ff910c964c0dece21ff67f2
1,106
kotlinx
Apache License 2.0
tools/tungsten/core/src/com/google/android/filament/tungsten/ui/preview/CameraManipulator.kt
roxlu
199,715,800
false
null
/* * Copyright (C) 2018 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
1
null
1
5
001a4c46db3750d60d002872d667001f3ce90a82
2,661
filament
Apache License 2.0
src/main/kotlin/com/softwareascraft/eventingswitchlist/configuration/RabbitEventingConnection.kt
MyTurnyet
786,587,760
false
{"Kotlin": 15823}
package com.softwareascraft.eventingswitchlist.configuration import com.softwareascraft.eventingswitchlist.senders.EventingConnection import org.springframework.amqp.core.FanoutExchange import org.springframework.amqp.rabbit.core.RabbitTemplate class RabbitEventingConnection(private val template: RabbitTemplate) : Ev...
0
Kotlin
0
0
29ffd8ac5013fa18909cedaa0ff9c923738af2d5
612
eventing-switchlist
MIT License
app/src/main/java/com/example/newsappcompose/domain/repository/NewsRepository.kt
alaa745
810,540,656
false
{"Kotlin": 108193}
package com.example.newsappcompose.domain.repository import androidx.paging.PagingData import com.example.newsappcompose.data.remote.dto.GetNewsResponse import com.example.newsappcompose.domain.model.Result import kotlinx.coroutines.flow.Flow interface NewsRepository { fun getNews(page: String?, category: List<Str...
0
Kotlin
0
0
34fd2c11b915d1068671a4e385c3d1217a25b260
811
NewsAppCompose
MIT License
beagle/src/main/kotlin/br/com/zup/beagle/android/context/tokenizer/ExpressionTokenExecutor.kt
ZupIT
391,144,851
false
null
/* * Copyright 2020, 2022 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 re...
2
null
6
9
812a330777edd79a123495e9f678dc8f25a019f7
2,705
beagle-android
Apache License 2.0
analysis/low-level-api-fir/testData/lazyResolve/annotationWithEnumFromBody.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...
@WithEnumFromBody("", WithEnumFromBody.MyLevel.ERROR) public annotation class WithEnumFromBody cons<caret>tructor( val a: String = "", @WithEnumFromBody("", WithEnumFromBody.MyLevel.WARNING) val b: MyLevel = MyLevel.ERROR ) { public enum class MyLevel { WARNING, ERROR, } }
181
Kotlin
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
306
kotlin
Apache License 2.0
app/src/main/kotlin/com/wiley/fordummies/androidsdk/tictactoe/ui/activity/HelpWebViewActivity.kt
acchampion
157,287,910
false
{"Kotlin": 158046, "Java": 9533}
package com.wiley.fordummies.androidsdk.tictactoe.ui.activity import androidx.annotation.Keep import androidx.fragment.app.Fragment import com.wiley.fordummies.androidsdk.tictactoe.ui.SingleFragmentActivity import com.wiley.fordummies.androidsdk.tictactoe.ui.fragment.HelpWebViewFragment /** * Activity to show a WebV...
0
Kotlin
3
3
a7ed3df4e9f69508350f72309cf4314e1aecb931
556
TicTacToeKotlin
Apache License 2.0
Src/app/src/main/java/com/example/inventory/FollowActivity.kt
emanuel0303
792,707,214
false
{"Kotlin": 109215}
package com.example.inventory import android.content.Intent import android.os.Bundle import android.widget.Button import android.widget.EditText import androidx.appcompat.app.AppCompatActivity import android.widget.Toast class FollowActivity : AppCompatActivity() { private lateinit var followUpSession1Text: Edit...
0
Kotlin
0
0
830615c179d25ae3f1f604f7d86a1d44f3ddfadf
9,823
Student_Inventory_Android_APP
Apache License 2.0
src/main/kotlin/With.kt
gabrielvieira1
759,188,563
false
{"Kotlin": 7559, "Java": 248}
fun main() { val str = "Programação Kotlin" str.uppercase() str.lowercase() val size = str.length // Faz o uso da instância da classe para chamar diversos métodos // Escopo function // Pode-se ler "com esse objeto, faça." with(str) { uppercase() lowercase() val ...
0
Kotlin
0
0
d9dd33a333b01bfbfb41c9724ca560f224c4a15f
341
OrientacaoObjetosKotlin
MIT License
app/src/main/java/jp/juggler/subwaytooter/view/CountImageButton.kt
Kjwon15
177,438,602
false
{"Git Config": 1, "Gradle": 9, "Perl": 7, "Java Properties": 2, "Shell": 1, "Ignore List": 8, "Batchfile": 1, "Text": 14, "Markdown": 1, "JSON": 6, "INI": 1, "Proguard": 6, "XML": 215, "Java": 19, "YAML": 1, "Kotlin": 282, "SVG": 2556}
package jp.juggler.subwaytooter.view import android.content.Context import android.graphics.Canvas import android.graphics.Paint import android.graphics.Rect import android.graphics.Typeface import android.util.AttributeSet import android.view.ViewGroup import androidx.appcompat.widget.AppCompatImageButton class Coun...
1
null
1
1
65d99b947323eb8df4c2053c586373e9f95536bc
3,490
SubwayTooter
Apache License 2.0
app/src/main/java/com/pengxh/autodingding/utils/Constant.kt
AndroidCoderPeng
230,078,640
false
{"Kotlin": 67760, "Java": 37381}
package com.pengxh.autodingding.utils import android.Manifest import android.os.Build /** * @author: Pengxh * @email: 290677893@qq.com * @date: 2019/12/29 12:42 */ object Constant { val USER_PERMISSIONS = if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.R) { arrayOf( Manifest.permission.QU...
18
Kotlin
47
225
5f0dad04a6663f63a90b125cca340f0b9ea4404e
930
AutoDingding
Apache License 2.0
app/src/main/java/com/krootl/beetlens/ui/common/InfinitePagerAdapter.kt
Krootl
256,464,296
false
null
package com.krootl.beetlens.ui.common import androidx.recyclerview.widget.RecyclerView abstract class InfinitePagerAdapter<T, VH : RecyclerView.ViewHolder>(private val data: List<T>) : RecyclerView.Adapter<VH>() { override fun getItemCount(): Int = if (data.isEmpty()) 0 else data.size + 2 fun getRealCount(...
0
null
7
34
cd5c14aba49dbee8dac82d3f06dfbeebe3cfc8bb
965
Beetlens
MIT License
src/test/kotlin/uk/gov/justice/digital/hmpps/hmppsactivitiesmanagementapi/entity/AppointmentInstanceTest.kt
ministryofjustice
533,838,017
false
{"Kotlin": 3860948, "Shell": 9529, "Dockerfile": 1514}
package uk.gov.justice.digital.hmpps.hmppsactivitiesmanagementapi.entity import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Test import uk.gov.justice.digital.hmpps.hmppsactivitiesmanagementapi.entity.appointment.toModel import uk.gov.justice.digital.hmpps.hmppsactivitiesmanagementapi.helpe...
4
Kotlin
0
1
527572217f1001313d48368357893453aecc2b3b
989
hmpps-activities-management-api
MIT License
arrow-libs/core/arrow-core/src/main/kotlin/arrow/core/extensions/tuple9/order/Tuple9Order.kt
clojj
343,913,289
true
{"Kotlin": 6274993, "SCSS": 78040, "JavaScript": 77812, "HTML": 21200, "Scala": 8073, "Shell": 2474, "Ruby": 83}
package arrow.core.extensions.tuple9.order import arrow.core.Tuple2 import arrow.core.Tuple9 import arrow.core.Tuple9.Companion import arrow.core.extensions.Tuple9Order import arrow.typeclasses.Order import arrow.typeclasses.OrderDeprecation import kotlin.Boolean import kotlin.Deprecated import kotlin.Int import kotli...
0
null
0
0
5eae605bbaeb2b911f69a5bccf3fa45c42578416
7,102
arrow
Apache License 2.0