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
app/src/main/java/com/bayron/weatherguy/ui/main/MainActivity.kt
bayrontq
360,231,854
false
null
package com.bayron.weatherguy.ui.main import android.os.Bundle import android.widget.TextView import com.bayron.weatherguy.R import com.bayron.weatherguy.data.models.Weather import dagger.android.support.DaggerAppCompatActivity import java.text.SimpleDateFormat import java.util.* class MainActivity : DaggerAppCompatA...
0
Kotlin
0
0
5bdfcc2272249649f0db0ad06e6c7a06113216ac
4,116
WeatherGuy
MIT License
android/src/main/java/com/rntest/RnTestPackage.kt
jeremiahNewton
802,826,425
false
{"Kotlin": 3596, "Ruby": 3173, "Objective-C": 2503, "JavaScript": 2122, "TypeScript": 1250, "Objective-C++": 1192, "C": 103, "Swift": 58}
package com.rntest import com.facebook.react.ReactPackage import com.facebook.react.bridge.NativeModule import com.facebook.react.bridge.ReactApplicationContext import com.facebook.react.uimanager.ViewManager class RnTestPackage : ReactPackage { override fun createNativeModules(reactContext: ReactApplicationContex...
0
Kotlin
0
0
44ba50fafd3e0869f4670d94d63b630b3ee31e79
525
rn-test
MIT License
src/test/kotlin/no/nav/cv/eures/eures/EuresControllerTest.kt
navikt
245,109,239
false
null
package no.nav.cv.eures.eures import no.nav.security.token.support.test.spring.TokenGeneratorConfiguration import org.junit.jupiter.api.Assertions.assertEquals import org.junit.jupiter.api.BeforeEach import org.junit.jupiter.api.Disabled import org.junit.jupiter.api.Test import org.mockito.ArgumentCaptor import org.mo...
1
Kotlin
0
0
572ce80f63e03c7169e170fc04ca367af3b9a38b
3,671
pam-eures-cv-eksport
MIT License
library/utils/src/main/java/com/sinch/verification/utils/SinchPhoneNumberUtils.kt
isabella232
463,064,200
true
{"Kotlin": 370117, "Dockerfile": 3056}
package com.sinch.verification.utils import android.content.Context import android.telephony.PhoneNumberUtils import android.telephony.TelephonyManager import java.util.* /** * Helper object holding methods connected with phone number validation, formatting and processing. */ object SinchPhoneNumberUtils { /**...
1
null
0
0
2d1b65e4a42e52e509b6a0d7a9892b9ddc5de3c9
1,348
verification-android-sdk
Apache License 2.0
kotlin-mui-icons/src/main/generated/mui/icons/material/FortRounded.kt
JetBrains
93,250,841
false
null
// Automatically generated - do not modify! @file:JsModule("@mui/icons-material/FortRounded") package mui.icons.material @JsName("default") external val FortRounded: SvgIconComponent
12
null
5
983
a99345a0160a80a7a90bf1adfbfdc83a31a18dd6
186
kotlin-wrappers
Apache License 2.0
model/converter/src/main/kotlin/ru/gnylka/smh/model/converter/internal/ExceptionMessages.kt
Z00000000Z
282,607,063
false
null
package ru.gnylka.smh.model.converter.internal const val MULTIPLE_MATERIALS = "Material %s is repeated %s times" const val MULTIPLE_DIFFUSE_TEXTURES = "Diffuse texture %s is repeated %s times" const val MULTIPLE_SPECULAR_TEXTURES = "Specular texture %s is repeated %s times" const val MULTIPLE_MESH_ATTRIBUTES = "Mesh a...
0
Kotlin
0
3
1897ab9f48bf3a4674f510b9288648c534e89dac
901
simple-model-handler
MIT License
backend/data/src/main/kotlin/io/tolgee/dtos/request/KeyDefinitionDto.kt
tolgee
303,766,501
false
{"TypeScript": 2960870, "Kotlin": 2463774, "JavaScript": 19327, "Shell": 12678, "Dockerfile": 9468, "PLpgSQL": 663, "HTML": 439}
package io.tolgee.dtos.request import jakarta.validation.constraints.NotEmpty class KeyDefinitionDto { @get:NotEmpty var name: String = "" var namespace: String? = null }
170
TypeScript
188
1,837
6e01eec3a19c151a6e0aca49e187e2d0deef3082
179
tolgee-platform
Apache License 2.0
designer/src/com/android/tools/idea/uibuilder/scene/LayoutlibSceneRenderer.kt
JetBrains
60,701,247
false
{"Kotlin": 52820362, "Java": 39727934, "HTML": 1217714, "Starlark": 1100459, "C++": 507658, "Python": 168311, "C": 71660, "Lex": 70309, "NSIS": 58238, "AIDL": 35382, "Shell": 29480, "CMake": 27103, "JavaScript": 18437, "Smali": 7580, "Batchfile": 7357, "RenderScript": 4411, "Clean": 3522, "Makefile": 2495, "IDL": 19}
/* * Copyright (C) 2024 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...
4
Kotlin
227
940
bc21afa2fe3f88d1ed106d6d8cae000cf9aa94dd
14,876
android
Apache License 2.0
compose/src/main/java/com/bottlerocketstudios/compose/snippets/SnippetDetailsScreen.kt
BottleRocketStudios
323,985,026
false
null
package com.bottlerocketstudios.compose.snippets import androidx.compose.animation.animateContentSize import androidx.compose.animation.core.tween import androidx.compose.foundation.ExperimentalFoundationApi import androidx.compose.foundation.background import androidx.compose.foundation.layout.Column import androidx....
1
Kotlin
1
9
e3014001732516e9feab58c862e0d84de9911c83
8,765
Android-ArchitectureDemo
Apache License 2.0
src/main/kotlin/kotlinmudv2/event/EventFactory.kt
danielmunro
515,227,142
false
{"Kotlin": 214222, "Dockerfile": 179, "Makefile": 134}
package kotlinmudv2.event import kotlinmudv2.mob.Hit import kotlinmudv2.socket.Client fun createGameLoopEvent(): Event<Any?> { return Event(EventType.GameLoop, null) } fun createTickEvent(): Event<Any?> { return Event(EventType.Tick, null) } fun createPulseEvent(): Event<Any?> { return Event(EventType.P...
0
Kotlin
0
0
28b5a049c54ad072ccade19c9ad2bb36b9cf8909
559
kotlinmud-v2
MIT License
solar/src/main/java/com/chiksmedina/solar/linear/transportpartsservice/TransmissionSquare.kt
CMFerrer
689,442,321
false
{"Kotlin": 36591890}
package com.chiksmedina.solar.linear.transportpartsservice 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.StrokeC...
0
Kotlin
0
0
3414a20650d644afac2581ad87a8525971222678
3,258
SolarIconSetAndroid
MIT License
executor/invoker/src/commonMain/kotlin/io/github/charlietap/chasm/executor/invoker/instruction/table/TableSetExecutor.kt
CharlieTap
743,980,037
false
{"Kotlin": 2038087, "WebAssembly": 45714}
@file:Suppress("NOTHING_TO_INLINE") package io.github.charlietap.chasm.executor.invoker.instruction.table import com.github.michaelbull.result.Err import com.github.michaelbull.result.Result import com.github.michaelbull.result.binding import io.github.charlietap.chasm.ast.instruction.TableInstruction import io.githu...
5
Kotlin
3
67
dd6fa51262510ecc5ee5b03866b3fa5d1384433b
1,425
chasm
Apache License 2.0
app/src/main/java/com/hypersoft/clicker/MainActivity.kt
hypersoftdev
873,529,237
false
{"Kotlin": 2553}
package com.hypersoft.clicker import android.os.Bundle import androidx.appcompat.app.AppCompatActivity import com.hypersoft.clicker.databinding.ActivityMainBinding import com.hypersoft.rapidclick.Extensions.rapidSafeClickListener class MainActivity : AppCompatActivity() { private lateinit var binding: ActivityMa...
0
Kotlin
0
0
ee5f7a87fe02970ab1e2ffbb23a465a09158d557
783
RapidClick
Apache License 2.0
app/src/main/java/com/hypersoft/clicker/MainActivity.kt
hypersoftdev
873,529,237
false
{"Kotlin": 2553}
package com.hypersoft.clicker import android.os.Bundle import androidx.appcompat.app.AppCompatActivity import com.hypersoft.clicker.databinding.ActivityMainBinding import com.hypersoft.rapidclick.Extensions.rapidSafeClickListener class MainActivity : AppCompatActivity() { private lateinit var binding: ActivityMa...
0
Kotlin
0
0
ee5f7a87fe02970ab1e2ffbb23a465a09158d557
783
RapidClick
Apache License 2.0
src/test/kotlin/S08C08P03ClustersLloydAlgorithmKmeansTest.kt
jimandreas
377,843,697
false
null
@file:Suppress( "UNUSED_VARIABLE", "MemberVisibilityCanBePrivate", "UNUSED_PARAMETER", "unused", "ReplaceManualRangeWithIndicesCalls", "ReplaceSizeZeroCheckWithIsEmpty" ) import algorithms.Clustering import algorithms.assignPointsToClusters import algorithms.clusterCenterOfGravity import algorithms.compareTwoM...
0
Kotlin
0
0
fa92b10ceca125dbe47e8961fa50242d33b2bb34
5,388
stepikBioinformaticsCourse
Apache License 2.0
app/src/main/java/com/maliks/applocker/xtreme/ui/background/BackgroundItem.kt
gamerz1990
873,653,054
false
{"Kotlin": 362849, "Java": 1255}
package com.maliks.applocker.xtreme.ui.background interface BackgroundItem
0
Kotlin
0
0
28189c677f7a595580e5f97d13291b0f617b159f
75
applocker
Apache License 2.0
app/src/main/java/io/sinzak/android/remote/remotesources/RemoteChatInterface.kt
SINZAK
567,559,091
false
null
package io.sinzak.android.remote.remotesources import com.google.gson.JsonObject import io.sinzak.android.remote.dataclass.chat.* import io.sinzak.android.remote.dataclass.response.chat.* import okhttp3.MultipartBody import retrofit2.Call import retrofit2.http.* interface RemoteChatInterface { @POST("api/chat/roo...
1
null
0
3
3467e8ee8afeb6b91b51f3a454f7010bc717c436
1,442
sinzak-android
MIT License
src/main/kotlin/br/com/kofood/avaliacoes/dto/PaymentStatus.kt
ocartaxo
700,150,925
false
{"Kotlin": 4394}
package br.com.kofood.avaliacoes.dto enum class PaymentStatus { CREATED, CONFIRMED, CANCELLED, CONFIRMED_WITHOUT_INTEGRATION }
0
Kotlin
0
0
104548d129d925365c9167f2ec94422d79116a72
144
avaliacoes
MIT License
src/main/kotlin/controller/db/pgsql/schedule/lite/helper/LessonHelper.kt
Locked15
545,747,004
false
null
package controller.db.pgsql.schedule.lite.helper import model.data.schedule.base.Lesson as LessonModel import model.entity.schedule.lite.base.Lesson as LessonEntity fun createNewLessonInstances(lessons: List<LessonModel>, basicId: Int? = null, replaceId: Int? = null, finalId: Int? = null...
0
Kotlin
0
0
460815a4a3b1e26281b6e9c61cf4ed5ec1843db1
1,259
UksivtSchedule_AdminTools-Rebooted
MIT License
app_usecase/src/main/java/com/battagliandrea/usecase/GerBeersByFilter.kt
battagliandrea
253,013,900
false
null
package com.battagliandrea.usecase import com.battagliandrea.domain.repository.BeerRepository import com.battagliandrea.domain.repository.FilterRepository import javax.inject.Inject class GerBeersByFilter @Inject constructor( private val filterRepository: FilterRepository, private val beerRepository: BeerRepo...
0
Kotlin
0
0
e2fca8b8994f4d4c7c224414e10a761933bf9e5c
513
BeerAppAndroid
Apache License 2.0
usecases/src/main/java/com/rodgim/usecases/GetMoviesFromCategory.kt
rodgim
547,556,451
false
{"Kotlin": 76988}
package com.rodgim.usecases import com.rodgim.data.repository.MoviesRepository import com.rodgim.entities.Movie class GetMoviesFromCategory(private val moviesRepository: MoviesRepository) { suspend operator fun invoke(category: String): List<Movie> = moviesRepository.getMoviesFromCategory(category) }
0
Kotlin
0
0
e67eb9d989595ea1aa2b0c02961ef4b848ebbcc9
307
movies
MIT License
android/app/src/main/kotlin/com/example/campo_minado/MainActivity.kt
gabrielscota
298,046,630
false
{"Dart": 8721, "Swift": 404, "Kotlin": 129, "Objective-C": 38}
package com.example.campo_minado import io.flutter.embedding.android.FlutterActivity class MainActivity: FlutterActivity() { }
0
Dart
0
0
7fb09d5cfb17c40f2ac5d6fe1b174629c4f740f2
129
campominado-flutter
MIT License
app/src/main/java/in/junkielabs/adsmeta/ui/labs/LabsConstants.kt
JunkieLabs
566,357,373
false
{"Kotlin": 102990}
package `in`.junkielabs.adsmeta.ui.labs /** * Created by Niraj on 20-11-2022. */ object LabsConstants { object Navigation{ const val SAMPLE_1 = 1 const val THREE_D = 2 const val THREE_D_SENSE = 3 const val THREE_D_SENSE2 = 4 const val THREE_D_MODEL = 5 // cons...
0
Kotlin
1
7
952ef89b95eaabdd72abf557053ec6163ea6c4e8
384
android-3d-ads-template
Apache License 2.0
plugins/feature-usage-database/core/src/com/intellij/ae/database/core/models/TimeSpan.kt
JetBrains
2,489,216
false
null
package com.intellij.ae.database.core.models import com.intellij.ae.database.core.activities.DatabaseBackedTimeSpanUserActivity import java.time.Instant data class TimeSpan( val activity: DatabaseBackedTimeSpanUserActivity, val id: String, val start: Instant, val end: Instant )
284
null
5162
16,707
def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0
289
intellij-community
Apache License 2.0
app/src/main/java/br/com/bernardino/githubsearch/database/RoomRepos.kt
jbernardinojr
310,642,087
false
null
package br.com.bernardino.githubsearch.database import android.content.Context import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import androidx.paging.DataSource import androidx.room.* import br.com.bernardino.githubsearch.model.Repository import br.com.bernardino.githubsearch.model.Reposit...
0
Kotlin
0
0
024b95e053cfd626c6a071cf2ab865386db55e80
1,287
GithubSearch
Apache License 2.0
src/main/kotlin/io/github/jokoroukwu/zephyrng/annotations/TestCaseKey.kt
jokoroukwu
367,474,759
false
null
package io.github.jokoroukwu.zephyrapi.annotation /** * Indicates that the test method is a candidate * for its result to be published to Zephyr. * * @param value test case key as it appears in JIRA project */ @Retention(AnnotationRetention.RUNTIME) @Target(AnnotationTarget.FUNCTION, AnnotationTarget.CLASS) annot...
0
null
0
1
f06485240153d5c6b6da9ae60208f771698cfa40
362
zephyrng
Apache License 2.0
plugins/markdown/src/org/intellij/plugins/markdown/extensions/common/FontStyleExtension.kt
zhoumin03
128,005,393
false
{"Text": 6391, "XML": 6476, "YAML": 417, "Ant Build System": 12, "Shell": 563, "Markdown": 577, "Ignore List": 97, "Git Attributes": 10, "EditorConfig": 233, "Batchfile": 27, "SVG": 2415, "Java": 76791, "Kotlin": 42750, "Java Properties": 199, "HTML": 2907, "INI": 428, "JFlex": 31, "CSS": 59, "Groovy": 3467, "XSLT": 11...
// 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.intellij.plugins.markdown.extensions.common import org.intellij.plugins.markdown.extensions.MarkdownBrowserPreviewExtension import org.intellij.plugins.markdown.exten...
1
null
1
1
85e5e3f22943744eaf80e844fdf195ca1130b14b
1,514
intellij-community
Apache License 2.0
cinescout/search/presentation/src/main/kotlin/cinescout/search/presentation/sample/SearchItemUiModelSample.kt
fardavide
280,630,732
false
null
package cinescout.search.presentation.sample import cinescout.screenplay.domain.sample.ScreenplayIdsSample import cinescout.search.presentation.model.SearchItemUiModel object SearchItemUiModelSample { val BreakingBad = SearchItemUiModel( screenplayIds = ScreenplayIdsSample.BreakingBad, title = "B...
14
Kotlin
2
6
f04a22b832397f22065a85af038dd15d90225cde
870
CineScout
Apache License 2.0
src/main/kotlin/org/kotlinmc/bukkit/serialization/BukkitSerialModule.kt
SexyTeam
391,816,933
false
null
package org.kotlinmc.bukkit.serialization import kotlinx.serialization.modules.* import org.kotlinmc.bukkit.serialization.serializers.* fun BukkitSerialModule() = SerializersModule { contextual(BlockSerializer) contextual(ChunkSerializer) contextual(LocationSerializer) contextual(MaterialDataSerialize...
0
Kotlin
0
1
b04670d59939fedf7a5bb961cdfe8064f7f56311
391
KotlinBukkitAPI
MIT License
app/src/main/java/com/example/androiddevchallenge/ui/CatInfoActivity.kt
ultimateHandsomeBoy666
343,621,798
false
null
/* * Copyright 2021 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
0
Kotlin
0
0
eb1b4c6960acdc57d06742174a11c3c7ca7658eb
2,312
CatAdoption
Apache License 2.0
rounded/src/commonMain/kotlin/me/localx/icons/rounded/bold/FloorAlt.kt
localhostov
808,861,591
false
{"Kotlin": 79430321, "HTML": 331, "CSS": 102}
package me.localx.icons.rounded.bold import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap.Companion.Butt import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter im...
1
Kotlin
0
5
cbd8b510fca0e5e40e95498834f23ec73cc8f245
4,341
icons
MIT License
app/src/main/java/com/carlosgracite/planningpoker/api/websocket/PokerPlanningSocketService.kt
carlosgracite
449,565,864
false
{"Kotlin": 76624}
package com.carlosgracite.planningpoker.api.websocket import com.tinder.scarlet.State import com.tinder.scarlet.ws.Receive import com.tinder.scarlet.ws.Send import kotlinx.coroutines.flow.Flow interface PokerPlanningSocketService { @Receive fun observeState(): Flow<State> @Send fun startSession(mess...
0
Kotlin
0
0
834b2939b188c2e5f8f19098fe3ea7df9f4d0946
646
poker-planning
Apache License 2.0
amadeus-android/src/main/java/com/amadeus/android/shopping/FlightDestinations.kt
amadeus4dev-examples
251,277,473
false
{"Kotlin": 407450}
package com.amadeus.android.shopping import com.amadeus.android.BaseApi import com.amadeus.android.domain.air.apis.FlightDestinationsApi import com.amadeus.android.tools.GeneratedCodeConverters import com.squareup.moshi.Moshi import kotlinx.coroutines.CoroutineDispatcher import okhttp3.OkHttpClient import retrofit2.Re...
14
Kotlin
8
19
0dc89b54f1fceae6038d50a3566b1f7a2a874b90
1,024
amadeus-android
MIT License
src/main/kotlin/org/move/cli/runconfig/AptosCommandConfiguration.kt
pontem-network
279,299,159
false
null
package org.move.cli.runconfig import com.intellij.execution.Executor import com.intellij.execution.configuration.EnvironmentVariablesData import com.intellij.execution.configurations.* import com.intellij.execution.runners.ExecutionEnvironment import com.intellij.openapi.project.Project import com.intellij.openapi.ut...
9
Kotlin
14
50
af0e2bde6ee134efc96115b38ad6362c9207e29e
4,081
intellij-move
MIT License
src/test/kotlin/uk/gov/justice/digital/hmpps/approvedpremisesapi/integration/givens/GivenAnApArea.kt
ministryofjustice
515,276,548
false
{"Kotlin": 7912822, "Shell": 16340, "Dockerfile": 1667, "Mustache": 383}
package uk.gov.justice.digital.hmpps.approvedpremisesapi.integration.givens import uk.gov.justice.digital.hmpps.approvedpremisesapi.integration.IntegrationTestBase import uk.gov.justice.digital.hmpps.approvedpremisesapi.jpa.entity.ApAreaEntity import java.util.UUID fun IntegrationTestBase.`Given an AP Area`( id: UU...
26
Kotlin
1
4
54462450f45faf09f64b75b287a079e1dc740526
473
hmpps-approved-premises-api
MIT License
iteration7/music-matters/mobile/src/main/java/com/odesa/musicMatters/ui/settings/player/PlayOnHeadphonesConnect.kt
Odhiambo-Michael-Allan
740,198,682
false
{"Kotlin": 9540063}
package com.odesa.musicMatters.ui.settings.player import androidx.compose.material.icons.Icons import androidx.compose.material.icons.filled.Headphones import androidx.compose.material3.Icon import androidx.compose.material3.Text import androidx.compose.runtime.Composable import com.odesa.musicMatters.core.i8n.Languag...
0
Kotlin
0
3
05ad5e08002a78958ed7763e6685a0e15f635fae
845
music-matters
Apache License 2.0
android/demos/compose/src/main/kotlin/com/uber/rib/compose/util/AnalyticsClient.kt
uber
105,686,726
false
null
/* * Copyright (C) 2021. Uber Technologies * * 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...
124
null
905
7,754
08b95b6d0ee16c1b5e02a769d8b40f0310add73a
1,525
RIBs
Apache License 2.0
app/src/main/java/com/example/project8/OMDB.kt
FaultyPine
714,482,929
false
{"Kotlin": 7438}
package com.example.project8 import android.graphics.Movie import retrofit2.Call import retrofit2.http.GET import retrofit2.http.Path import retrofit2.http.Query const val API_KEY = "a3b294d6" interface OMDbApi { // get movie based on title search & api key @GET("?apikey=$API_KEY") fun getMovie(@Query("...
0
Kotlin
0
0
d3c47422481bef8870e50933f690f5d9d8b68332
365
c323-project8
Apache License 2.0
app/src/main/java/io/github/ihdatech/myapplication/data/local/ProductImageDao.kt
ihdatech
449,925,714
false
null
package io.github.ihdatech.myapplication.data.local import androidx.lifecycle.LiveData import androidx.room.* @Dao interface ProductImageDao { @Query("SELECT * FROM product_image_table ORDER BY product ASC") fun getAll(): LiveData<List<ProductImageEntity>> @Query("DELETE FROM product_image_table") s...
0
Kotlin
0
1
1f5133fda120ac8a2c8668e6cefee3db365db929
591
android-application-19
MIT License
slack-web/domain/src/commonMain/kotlin/com/gchristov/thecodinglove/slackweb/domain/SlackWebDomainModule.kt
gchristov
533,472,792
false
{"Kotlin": 499461, "CSS": 174432, "HTML": 61045, "Dockerfile": 4477, "Shell": 2259, "JavaScript": 742}
package com.gchristov.thecodinglove.slackweb.domain import com.gchristov.thecodinglove.common.kotlin.di.DiModule import com.gchristov.thecodinglove.slackweb.domain.model.SlackConfig import org.kodein.di.DI import org.kodein.di.bindSingleton object SlackWebDomainModule : DiModule() { override fun name() = "slack-w...
0
Kotlin
1
4
1af949b947bf493c0c2303a0a2ecaddd578e78f8
601
thecodinglove-kotlinjs
Apache License 2.0
presentation/src/main/java/com/safetyheads/akademiaandroida/presentation/ui/activities/splashscreen/SplashScreenViewModel.kt
SafetyHeads
590,936,924
false
null
package com.safetyheads.akademiaandroida.splashscreen import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.safetyheads.domain.entities.Config import com.safetyheads.domain.usecases.DelaySplashScreenUseCase i...
7
Kotlin
0
0
77a34fdcc2c7d374fa678b3b8c12cacdd095ad34
1,171
Akademia-Androida-2023
Apache License 2.0
library/src/main/kotlin/it/krzeminski/githubactions/actions/CustomAction.kt
krzema12
439,670,569
false
null
package it.krzeminski.githubactions.actions /** * CustomAction can be used when there is no type-safe wrapper action * and a quickly untyped wrapper is needed to fill the blank. * * Consider adding first-class support for your action! See CONTRIBUTING.md. */ public class CustomAction( override val actionOwner...
33
Kotlin
12
287
5f45a621b9aba292541e1d47c4738aedf491d8d2
880
github-workflows-kt
Apache License 2.0
src/main/kotlin/me/redth/armorochud/hud/ItemHUD.kt
RedthMC
676,876,159
false
{"Kotlin": 7648}
package me.redth.armorochud.hud import cc.polyfrost.oneconfig.hud.Hud import cc.polyfrost.oneconfig.libs.universal.UMatrixStack import net.minecraft.client.Minecraft import net.minecraft.client.renderer.GlStateManager import net.minecraft.client.renderer.RenderHelper import net.minecraft.item.ItemStack abstract class...
0
Kotlin
1
0
7e104b002f43a2b53637c42ba328a39cdd046892
1,721
ArmorOCHUD
MIT License
sample/src/main/java/smartrecycleradapter/utils/ActivityExt.kt
P1NG2WIN
298,023,448
true
{"Gradle": 6, "YAML": 2, "Markdown": 2, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Proguard": 2, "Java": 4, "XML": 79, "Kotlin": 96}
package smartrecycleradapter.utils import android.os.Handler /* * Created by <NAME> on 2019-12-12. * Copyright (c) All rights reserved. */ inline fun runDelayed(crossinline action: () -> Unit) { Handler().postDelayed({ action.invoke() }, 800) }
0
Kotlin
0
0
17c8bf61779b0a8ec94c0e2678910168a4c93928
273
smart-recycler-adapter
Apache License 2.0
androidApp/src/main/java/com/san/englishbender/android/ui/common/widgets/LoadingView.kt
SanEffect
661,043,037
false
null
package com.san.englishbender.android.ui.common.widgets import android.content.res.Configuration import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.runtime.Composable import androidx.compose.ui.Alignment import androidx.compose.ui.Modifier import...
0
Kotlin
0
0
39469ca2231b2cc1e6869d0d1461d32d87f1abef
1,216
EngApp
MIT License
src/main/kotlin/icu/windea/pls/extension/translation/TranslatableStringSnippets.kt
DragonKnightOfBreeze
328,104,626
false
{"Kotlin": 3051746, "Java": 166938, "Lex": 43449, "HTML": 37393, "Shell": 2733}
package icu.windea.pls.extension.translation class TranslatableStringSnippets( snippets: MutableList<TranslatableStringSnippet> = mutableListOf() ) : MutableList<TranslatableStringSnippet> by snippets { override fun toString(): String { return joinToString("") { it.text } } } data class TranslatableStringSnippet...
5
Kotlin
4
24
acd903174601e80613c30c20feb28d8a22980438
372
Paradox-Language-Support
MIT License
app/src/main/java/org/p2p/wallet/feerelayer/api/SignTransactionRequest.kt
p2p-org
306,035,988
false
null
package org.p2p.wallet.feerelayer.api import com.google.gson.annotations.SerializedName import org.p2p.core.crypto.Base64String data class SignTransactionRequest( @SerializedName("transaction") val transaction: Base64String, @SerializedName("info") val info: FeeRelayerInfoRequest )
8
null
18
34
d091e18b7d88c936b7c6c627f4fec96bcf4a0356
301
key-app-android
MIT License
ktor-abnamro-api/src/nl/brachio/abnamro/model/TransactionList.kt
fschutte
236,371,657
false
null
package nl.brachio.abnamro.model data class TransactionList( val transactions: List<Transaction> )
1
null
1
1
47e6e664b80a92d0c83f6aac9ea1a45012c45bbd
105
Abnamro-API
MIT License
app/src/main/java/cn/xxt/kotlinapplication/ui/activities/MainActivity.kt
Martin-zhq
156,842,627
false
null
package cn.xxt.kotlinapplication.ui.activities import android.os.Bundle import android.support.v7.app.AppCompatActivity import android.support.v7.widget.LinearLayoutManager import android.support.v7.widget.RecyclerView import cn.xxt.kotlinapplication.R import org.jetbrains.anko.custom.async import org.jetbrains.anko.u...
0
Kotlin
0
0
4d63c9a643d47313724e22c631df6ea437fab8a9
1,154
KotlinApplication
Apache License 2.0
kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/SigningAlgorithm.kt
cloudshiftinc
667,063,030
false
{"Kotlin": 149148378}
@file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION") package io.cloudshiftdev.awscdk.services.cognito public enum class SigningAlgorithm( private val cdkObject: software.amazon.awscdk.services....
0
Kotlin
0
4
ddf2bfd2275b50bb86a667c4298dd92f59d7e342
869
kotlin-cdk-wrapper
Apache License 2.0
app/src/main/java/com/apiguave/tinderclonecompose/login/LoginViewModel.kt
alejandro-piguave
567,907,964
false
{"Kotlin": 209812}
package com.apiguave.tinderclonecompose.login import androidx.activity.result.ActivityResult import androidx.compose.runtime.Immutable import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.apiguave.tinderclonecompose.extension.toProviderAccount import com.apiguave.tinderclonedomain.us...
0
Kotlin
12
42
d4d0e8ea31161e71de7b06b531f17b0055c1b970
1,624
TinderCloneCompose
MIT License
src/main/kotlin/com/ipmus/resources/PurchaseOrderResource.kt
pinkjersey
98,462,736
false
null
package com.ipmus.resources import com.ipmus.entities.Item import com.ipmus.entities.PurchaseOrder import javax.ws.rs.* import javax.ws.rs.core.MediaType @Path("purchaseOrders") class PurchaseOrderResource : GenericResource<PurchaseOrder>(PurchaseOrder.type, ::PurchaseOrder) { @GET @Produces("application/json...
1
Kotlin
0
0
2f33129de9d8edbbe2f1cbc1c537955a83301a49
958
mtlshipback
MIT License
src/main/kotlin/br/com/orange/httpClient/bcb/request/BcbRequest.kt
Kaiofprates
354,880,407
true
{"Kotlin": 81828}
package br.com.orange.httpClient.bcb.request import br.com.orange.validation.KeyType data class BcbRequest( val keyType: KeyType, val key: String, val bankAccount: BankAccountRequest, val owner: OwnerRequest )
0
Kotlin
0
0
5c2112fa02efc10a0b1286a169dc783acdffadf2
225
orange-talents-02-template-pix-keymanager-grpc
Apache License 2.0
backend/src/main/java/com/sl/il/src/backend/model/Credentials.kt
San-Moshe
285,565,612
false
null
package com.sl.il.src.backend.model import android.os.Parcelable import com.google.gson.annotations.SerializedName import kotlinx.android.parcel.Parcelize @Parcelize data class Credentials( @SerializedName("username") val username: String, @SerializedName("password") val password: String ) : Parcelable
0
Kotlin
0
0
3e292e382ed357f2ae0ed214dab527a986d2e200
314
secured-client-server-demo
Apache License 2.0
src/main/kotlin/br/com/rayana/section05/_0504/Interfaces.kt
rayanagoncalves
699,577,232
false
{"Kotlin": 19086, "Java": 1181}
package br.com.rayana.section05._0504 fun main() { val myCar = Car() myCar.start() println("My car's make = ${myCar.automakerName}") }
0
Kotlin
0
0
040fa799995fb34e8da857225481a5524eb5c7a8
147
kotlin-4-devs-java
Apache License 2.0
packages/kotlin/src/main/kotlin/org/openapitools/client/models/MosaicAddressRestrictionEntryWrapperDTO.kt
symbol-blockchain-community
766,145,378
false
{"JSON": 7, "Text": 3, "Ignore List": 7, "Shell": 9, "Markdown": 1850, "OASv3-yaml": 4, "Go": 284, "Go Checksums": 1, "YAML": 11, "Go Module": 1, "Gradle": 4, "Scala": 1, "Maven POM": 1, "INI": 5, "Batchfile": 2, "Java": 544, "XML": 3, "Swift": 276, "Ruby": 1, "Microsoft Visual Studio Solution": 1, "C#": 543, "Kotlin":...
/** * * Please note: * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * Do not edit this file manually. * */ @file:Suppress( "ArrayInDataClass", "EnumEntryName", "RemoveRedundantQualifierName", "UnusedImport" ) package org.openapitools.client.models import o...
0
Java
0
0
f7862757c30b452766f10ca7e161f715edaa5016
1,391
symbol-rest-client
MIT License
logcat/src/com/android/tools/idea/logcat/messages/DocumentAppender.kt
TrellixVulnTeam
571,897,700
true
{"Text": 355, "EditorConfig": 2, "Markdown": 64, "Shell": 32, "Ignore List": 193, "XML": 13507, "Starlark": 142, "Kotlin": 6746, "Java": 8085, "Gradle": 2753, "Proguard": 169, "INI": 72, "JSON": 80, "Graphviz (DOT)": 1, "Ant Build System": 2, "Protocol Buffer": 8, "Java Properties": 166, "HTML": 67, "Batchfile": 20, "G...
/* * Copyright (C) 2021 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
0
null
0
0
b373163869f676145341d60985cdbdaca3565c0b
3,621
android_74FW
Apache License 2.0
app/src/main/java/com/example/css545application/ui/SoupScreen.kt
sarahmarie23
780,148,390
false
{"Kotlin": 35271}
package com.example.css545application.ui import androidx.compose.foundation.Image import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Row import androidx.compose.foundation.layout....
0
Kotlin
0
0
84a31e3a6c0ba58933cc41ae07105e04d9f16590
9,734
Spring-2024-App-Project
MIT License
app/src/main/java/xyz/fairportstudios/popularin/apis/tmdb/get/SearchFilmRequest.kt
rgxcp
277,228,278
false
null
package xyz.fairportstudios.popularin.apis.tmdb.get import android.content.Context import com.android.volley.NetworkError import com.android.volley.Request import com.android.volley.ServerError import com.android.volley.TimeoutError import com.android.volley.toolbox.JsonObjectRequest import com.android.volley.toolbox....
0
Kotlin
0
0
ac82b65d5f43d07b64aa5010218c663983c839cb
2,917
PopularinKotlin
MIT License
ByteBank - Heritage, Polimorfism and Interface/src/br/com/brenofarias/bytebank/test/testDifferentAccounts.kt
BrenoFariasdaSilva
435,834,837
false
{"Kotlin": 68217}
import br.com.brenofarias.bytebank.model.CheckingAccount import br.com.brenofarias.bytebank.model.Client import br.com.brenofarias.bytebank.model.SavingsAccount public fun testDifferentAccounts() { val brenoChecking = CheckingAccount( owner = Client(name = "Breno", cpf = "000.111.123-45", password = <PASSW...
0
Kotlin
0
0
3bd354e5be24accdf9d13e1477a03823bdf3f260
1,480
Kotlin
Apache License 2.0
app/common/src/commonJvmMain/kotlin/com/denchic45/studiversity/domain/model/EventsOfDay.kt
denchic45
435,895,363
false
null
package com.denchic45.studiversity.domain.model import com.denchic45.studiversity.util.UUIDS import com.denchic45.studiversity.util.swap import com.denchic45.stuiversity.api.timetable.model.PeriodResponse import com.denchic45.stuiversity.util.toString import java.time.LocalDate class EventsOfDay constructor( val ...
0
Kotlin
0
5
02d19321d16604a052f6dd29aa54be29343991e6
2,617
Studiversity
Apache License 2.0
pin/src/main/java/com/bael/pin/contract/PinProperty.kt
ErickSumargo
247,421,828
false
null
package com.bael.pin.contract import android.content.SharedPreferences import android.content.SharedPreferences.Editor /** * Created by ericksumargo on 10/03/20. */ internal interface PinProperty { val preferences: SharedPreferences val editor: Editor }
1
Kotlin
0
3
afce8396e0949c875f00fe4ff8ae202a00289d71
266
Pin
Apache License 2.0
src/main/kotlin/uk/gov/justice/digital/hmpps/hmppsresettlementpassportapi/service/external/InterventionsApiService.kt
ministryofjustice
665,659,688
false
{"Kotlin": 423729, "Dockerfile": 1528}
package uk.gov.justice.digital.hmpps.hmppsresettlementpassportapi.service.external import kotlinx.coroutines.reactor.awaitSingle import org.springframework.http.HttpStatus import org.springframework.stereotype.Service import org.springframework.web.reactive.function.client.WebClient import org.springframework.web.reac...
0
Kotlin
1
0
09fdae3408036372a212080c2aba850c8fcf68a4
996
hmpps-resettlement-passport-api
MIT License
features/authentication/src/test/java/com/maximapps/authentication/domain/validators/UserInputValidatorTest.kt
merklol
387,326,024
false
null
/* * MIT License * * Copyright (c) 2021 Maxim Smolyakov * * 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, ...
5
Kotlin
0
4
fb860e37659a2c9255037cf73c56a2a5843604d6
3,734
Alin-Chinese
MIT License
app/src/main/java/com/kaushiknsanji/topstoriesticker/ui/custom/WindowBoxedImageView.kt
kaushiknsanji
270,371,734
false
null
/* * Copyright 2020 Kaushik N. Sanji * * 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...
0
Kotlin
0
1
f78656dda26e6d386ef21ce18c1dddd7ae6ff5a8
6,195
TopStoriesTicker
Apache License 2.0
app/src/main/kotlin/com/panelsense/app/ui/login/LoginScreen.kt
dawidpodolak
676,995,228
false
{"Kotlin": 209631, "Shell": 408}
package com.panelsense.app.ui.login import androidx.compose.animation.fadeIn import androidx.compose.animation.fadeOut import androidx.compose.foundation.ExperimentalFoundationApi import androidx.compose.foundation.Image import androidx.compose.foundation.ScrollState import androidx.compose.foundation.background impor...
0
Kotlin
0
1
bce29e39342d4a19d027eaff745bc25bd8a7143f
10,265
android-panelsense
Apache License 2.0
app/src/main/java/dev/vengateshm/android_kotlin_compose_practice/animation_with_reading_large_file/FileReader.kt
vengateshm
670,054,614
false
{"Kotlin": 1535915, "Java": 37802}
package dev.vengateshm.android_kotlin_compose_practice.animation_with_reading_large_file import android.content.Context import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.withContext class FileReader(private val context: Context) { suspend fun readFile(fileName: String): ByteArray { return wi...
0
Kotlin
0
1
ee7859eaa8712f6c38e78d792ee5643495bfafa5
458
Android-Kotlin-Jetpack-Compose-Practice
Apache License 2.0
AdventureXplore/app/src/main/java/com/example/adventerlife/Fragment/ProfileFragment.kt
Puravish08
698,056,809
false
{"Kotlin": 121016}
package com.example.adventerlife.Fragment import android.content.Intent import android.content.SharedPreferences import android.os.Bundle import android.util.Log import androidx.fragment.app.Fragment import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.Toast i...
0
Kotlin
0
0
097ec8cf2f543d619b01a21e4cee36d82b6d4d45
4,565
AdavantureLife
MIT License
codeSnippets/snippets/upload-file/src/main/kotlin/uploadfile/UploadFile.kt
ktorio
278,572,893
false
{"Kotlin": 333280, "HTML": 29703, "JavaScript": 5361, "FreeMarker": 2738, "Dockerfile": 1709, "Swift": 1432, "CSS": 470, "Handlebars": 75, "Pug": 51}
package uploadfile import io.ktor.server.application.* import io.ktor.http.content.* import io.ktor.server.request.* import io.ktor.server.response.* import io.ktor.server.routing.* import io.ktor.utils.io.* import kotlinx.io.readByteArray import java.io.File fun Application.main() { routing { var fileDes...
1
Kotlin
285
430
0d0e39e69bb98340708b5193bab8a550e0a29cac
1,137
ktor-documentation
Apache License 2.0
plugin-dotnet-agent/src/main/kotlin/jetbrains/buildServer/inspect/DupFinderEnvironmentProvider.kt
JetBrains
49,584,664
false
null
package jetbrains.buildServer.inspect import jetbrains.buildServer.agent.CommandLineEnvironmentVariable class DupFinderEnvironmentProvider: EnvironmentProvider { override fun getEnvironmentVariables() = emptySequence<CommandLineEnvironmentVariable>() }
14
Kotlin
21
88
2ff78dc1c479e37c865f8403dd56e57fe0e05556
258
teamcity-dotnet-plugin
Apache License 2.0
app/src/main/java/com/jianastrero/templateandroidapp/extension/Screen.kt
jianastrero
670,783,652
false
null
package com.jianastrero.templateandroidapp.extension import androidx.navigation.NavController import com.jianastrero.templateandroidapp.enumeration.Screen import com.jianastrero.templateandroidapp.type.screen.Argument import com.jianastrero.templateandroidapp.type.screen.Parameter fun NavController.navigate( scre...
0
Kotlin
0
0
91220beb78b7c689e65508c6a63404a1c9c24191
494
Template-Android-App
The Unlicense
buildSrc/src/main/java/com/heyanle/buildsrc/Android.kt
easybangumiorg
413,723,669
false
{"Kotlin": 1449643, "Java": 761739, "Shell": 450}
package com.heyanle.buildsrc /** * Created by HeYanLe on 2023/1/3 17:17. * https://github.com/heyanLE */ object Android { const val minSdk = 21 const val targetSdk = 34 const val compileSdk = 34 const val versionCode = 95 const val versionName = "5.4.3" }
20
Kotlin
66
2,429
ab2ef1ac6309d2b26f1aa33a8fc4964cc014900f
282
EasyBangumi
Apache License 2.0
job/src/linuxX64Main/kotlin/pw/binom/job/Worker.kt
dragossusi
277,504,821
true
{"C": 13518997, "Kotlin": 569853, "C++": 546364, "Shell": 86}
package pw.binom.job import pw.binom.io.Closeable import kotlin.native.concurrent.Future import kotlin.native.concurrent.FutureState import kotlin.native.concurrent.TransferMode import kotlin.native.concurrent.freeze import kotlin.native.concurrent.Worker as NWorker actual class Worker : Closeable { override fun ...
0
null
0
0
d16040b0f0d340104194014fc174858244684813
1,820
pw.binom.io
Apache License 2.0
ledger/src/main/kotlin/org/knowledger/ledger/storage/block/StorageAwareBlock.kt
fakecoinbase
282,563,487
false
null
package org.knowledger.ledger.storage.block import kotlinx.serialization.Transient import org.knowledger.collections.mutableSortedListOf import org.knowledger.ledger.adapters.AdapterManager import org.knowledger.ledger.config.BlockParams import org.knowledger.ledger.config.ChainId import org.knowledger.ledger.crypto.H...
0
Kotlin
0
0
8bc64987e1ab4d26663064da06393de6befc30ae
6,501
SeriyinslashKnowLedger
MIT License
app/src/main/java/com/winterprojects/tvmazeapp/presentation/home/HomeShowAdapter.kt
CristianoWinter10
427,190,987
false
{"Kotlin": 100578}
package com.winterprojects.tvmazeapp.presentation.home import android.view.LayoutInflater import android.view.ViewGroup import androidx.paging.PagingDataAdapter import androidx.recyclerview.widget.DiffUtil import androidx.recyclerview.widget.RecyclerView import com.winterprojects.tvmazeapp.common.helpers.OnItemClickLi...
0
Kotlin
0
1
172516b151689332e0671449105b501cbd665ac8
1,919
tvmaze-app-android
MIT License
app/src/main/java/com/nirbhay/flappymusketeer/components/Ground.kt
nirbhayph
698,438,145
false
{"Kotlin": 42782}
package com.nirbhay.flappymusketeer.components import androidx.compose.foundation.BorderStroke import androidx.compose.foundation.background import androidx.compose.foundation.border import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.la...
0
Kotlin
1
4
4017fd88ac506d1c854eddb7edcd8cfcf26b9c0f
2,576
flappymusketeer
Apache License 2.0
src/main/java/com/dzen/campfire/server/executors/wiki/EWikiArticleChangeLanguage.kt
timas130
443,572,543
true
{"Kotlin": 1072092}
package com.dzen.campfire.server.executors.wiki import com.dzen.campfire.api.API import com.dzen.campfire.api.models.wiki.WikiTitle import com.dzen.campfire.api.requests.wiki.RWikiArticleChangeLanguage import com.dzen.campfire.server.controllers.ControllerFandom import com.dzen.campfire.server.controllers.ControllerWi...
0
Kotlin
0
0
40a2fbdbbdbe6706ed852f7218cb10fd57e50445
1,502
CampfireServer
Apache License 2.0
modules/dom/sources/js/utility/External.kt
cybernetics
323,978,328
true
{"Kotlin": 74790, "JavaScript": 374, "HTML": 94}
@file:JsModule("react-dom") @file:Suppress("FunctionName") package io.fluidsonic.react.external import io.fluidsonic.react.* import org.w3c.dom.* @JsName("createPortal") @PublishedApi internal external fun external_createPortal( children: RElement?, container: Element, key: String? = definedExternally, ): REleme...
0
null
0
0
6ac334135e5d56e953ec2a729015133f018e02f6
591
fluid-react
Apache License 2.0
core/src/main/kotlin/core/external/Resources.kt
sdercolin
280,808,994
false
{"Kotlin": 552368, "CSS": 2020, "JavaScript": 1346, "HTML": 852}
package core.external object Resources { val vsqxTemplate: String get() = require("./format_templates/template.vsqx").default as String val vprTemplate: String get() = require("./format_templates/template.vprjson").default as String val ccsTemplate: String get() = require("./forma...
2
Kotlin
41
222
17de7cbe9fa0a0fca63e18f27b563a2f07bf85cc
1,178
utaformatix3
Apache License 2.0
2023/src/day07/Day07.kt
scrubskip
160,313,272
false
{"Kotlin": 179054, "Python": 114888, "Dart": 86314}
package day07 import java.io.File fun main() { val input = File("src/day07/day07.txt").readLines() println(getWinnings(input, true)) } fun getWinnings(input: List<String>, useJoker: Boolean = false): Int { val handBids = input.map { handBid -> val parts = handBid.split(" ") Pair(Hand(par...
0
Kotlin
0
0
43f749277df6394c4be735f13f35d58902de56dd
4,054
adventofcode
Apache License 2.0
app/src/main/java/com/example/githubusers/di/module/FragmentBuilderModule.kt
nmauludina
327,646,453
true
{"Kotlin": 85510}
package com.example.githubusers.di.module import com.example.githubusers.feature.follower.FollowerFragment import com.example.githubusers.feature.following.FollowingFragment import dagger.Module import dagger.android.ContributesAndroidInjector @Module abstract class FragmentBuilderModule { @ContributesAndroidInj...
0
null
0
0
dcc33a9aef31d639a65937d416b887301bfd36d3
492
GithubUsers
Apache License 2.0
src/integration-test/kotlin/com/thelastpickle/tlpcluster/MainTest.kt
rustyrazorblade
253,851,902
false
{"Kotlin": 102873, "Jsonnet": 47770, "Shell": 14095, "HCL": 1072, "Dockerfile": 941}
package com.thelastpickle.tlpcluster import org.junit.jupiter.api.Test class MainTest { @Test fun basicTest() { main(arrayOf("init", "tlp-cluster", "no ticket", "automated test suite", "-s", "1")) main(arrayOf("up", "--yes")) main(arrayOf("use", "3.11.4")) main(arrayOf("insta...
5
Kotlin
0
1
512aa8e43a9a8ea6dfbe3a72301ead6a77a21188
461
tlp-cluster
Apache License 2.0
core/src/main/java/kr/edoli/edolview/ui/drawable/SplitHandleDrawable.kt
edoli
390,192,597
false
null
package kr.edoli.edolview.ui.drawable import com.badlogic.gdx.graphics.Color import com.badlogic.gdx.graphics.g2d.Batch import kr.edoli.edolview.ui.UIRes class SplitHandleDrawable(fill: Color, border: Color, val dot: Color, private val size: Float, private val isVe...
0
null
2
9
6a7c6f6c6ccd909e6e8b5ed2daf54ec736761e53
1,458
edolview
MIT License
app/src/main/java/com/warbler/data/network/NetworkInterceptor.kt
JoshLudahl
227,914,431
false
{"Kotlin": 95376}
package com.warbler.data.network import android.content.Context import java.net.UnknownHostException import okhttp3.Interceptor import okhttp3.Response class NetworkInterceptor( private val context: Context ) : Interceptor { override fun intercept(chain: Interceptor.Chain): Response { if (ConnectionH...
11
Kotlin
0
1
993a29ff2a4fc9499ba3e38d3cca903956a28e6b
477
Warbler-Weather
The Unlicense
src/test/kotlin/br/com/lukinhasssss/endpoints/RemoverChaveEndpointTest.kt
Lukinhasssss
395,090,454
true
{"Kotlin": 86512}
package br.com.lukinhasssss.endpoints import br.com.lukinhasssss.* import br.com.lukinhasssss.clients.* import br.com.lukinhasssss.entities.ChavePix import br.com.lukinhasssss.repositories.ChavePixRepository import io.grpc.ManagedChannel import io.grpc.Status import io.grpc.StatusRuntimeException import io.micronaut....
0
Kotlin
0
0
1687cdf8986f211585d86b7d9714ad19c0e8c4c4
7,086
orange-talents-06-template-pix-keymanager-grpc
Apache License 2.0
game/plugins/src/main/kotlin/gg/rsmod/plugins/content/quests/impl/DruidicRitual.kt
2011Scape
578,880,245
false
{"Kotlin": 8904349, "Dockerfile": 1354}
package gg.rsmod.plugins.content.quests.impl import gg.rsmod.game.model.entity.Player import gg.rsmod.plugins.api.Skills import gg.rsmod.plugins.api.cfg.Items import gg.rsmod.plugins.api.ext.getVarp import gg.rsmod.plugins.api.ext.setVarp import gg.rsmod.plugins.content.quests.* object DruidicRitual : Quest( //sets u...
39
Kotlin
82
34
e5400cc71bfa087164153d468979c5a3abc24841
3,216
game
Apache License 2.0
app/src/main/java/com/africinnovate/algorandandroidkotlin/di/StatefulSmartContractModule.kt
gconnect
391,365,376
false
null
package com.africinnovate.algorandandroidkotlin.di import com.africinnovate.algorandandroidkotlin.repository.StatefulContractRepository import com.africinnovate.algorandandroidkotlin.repository.TransactionRepository import com.africinnovate.algorandandroidkotlin.repositoryImpl.StatefulContractRepositoryImpl import com...
0
Kotlin
0
9
89133427f8348682303e6e54cc893a0bf0370fb4
784
AlgorandAndroidWallet
MIT License
app-elgoog/src/main/kotlin/dev/bogdanzurac/marp/app/elgoog/news/NewsDao.kt
bogdanzurac
606,411,511
false
null
package dev.bogdanzurac.marp.app.elgoog.news import dev.bogdanzurac.marp.app.elgoog.core.db.AppDatabase import dev.bogdanzurac.marp.app.elgoog.core.db.BaseDao import org.koin.core.annotation.Single @Single class NewsDao(appDatabase: AppDatabase) : BaseDao<NewsArticleEntity>(appDatabase)
0
Kotlin
0
1
9cc815c57d7b3948a5a20f12883dc4dbee7fc4b3
289
marp-app-client-android
Apache License 2.0
src/test/kotlin/com/github/problems/problem1/SolutionTest.kt
frikit
333,555,449
false
null
package com.github.problems.problem1 import org.junit.jupiter.api.Assertions.assertEquals import org.junit.jupiter.api.Test internal class SolutionTest { @Test fun emptyListWhenEmptyListAsInput() { assertEquals(false, Solution().findSumInList(emptyList(), 0)) } @Test fun emptyListWhenOne...
0
Kotlin
0
0
d5c537d0afd49305ab095b64cfa655501c0c8387
1,036
daily-coding-problem
Apache License 2.0
app/src/androidTest/java/com/arophix/mvvm/example/ArophixMockTestRunner.kt
russell-shizhen
293,683,823
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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
0
Kotlin
0
1
b598a13bcec88a18d9f6882ea08f3a73187d94eb
1,425
android-mvvm
Apache License 2.0
ConferenceOrganizerApp/app/src/main/java/com/jjh/android/organizer/ui/conference/SessionRowViewHolder.kt
johnehunt
341,587,859
false
null
package com.jjh.android.organizer.ui.conference import android.util.Log import android.view.LayoutInflater import android.view.ViewGroup import android.widget.TextView import androidx.recyclerview.widget.RecyclerView import com.jjh.android.organizer.R import com.jjh.android.organizer.model.Session class SessionRowVie...
0
Kotlin
0
0
99572171d2e0f24fb7c13b7e9dd39060510d378c
1,440
KotlinExtendedProject
Apache License 2.0
app/src/main/kotlin/ch/empa/openbisio/propertytype/PropertyTypeDTO.kt
empa-scientific-it
618,383,912
false
null
/* * Copyright 2023 <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...
0
Kotlin
0
0
39396bb489fa91e8e65f83206e806b67fcd3ac65
1,114
instanceio
Apache License 2.0
app/src/test/java/com/example/android/architecture/blueprints/todoapp/tasks/TasksViewModelTest.kt
UmaRamakrishann
342,913,141
false
null
package com.example.android.architecture.blueprints.todoapp.tasks import android.os.Parcel import android.os.Parcelable import androidx.arch.core.executor.testing.InstantTaskExecutorRule import androidx.test.core.app.ApplicationProvider import androidx.test.ext.junit.runners.AndroidJUnit4 import com.example.android.ar...
0
Kotlin
0
0
e7ea0eee745dc3b829bfc299aa25d84b1186ab6a
1,113
android-testing-starter_code
Apache License 2.0
app/src/main/kotlin/com/dmitriivoronko/chartsta/feature/explore/domain/PointsRepository.kt
DmitryVoronko
641,529,582
false
null
package com.dmitriivoronko.chartsta.feature.explore.domain import com.dmitriivoronko.chartsta.core.result.DomainResult import com.dmitriivoronko.chartsta.feature.explore.domain.model.Error import com.dmitriivoronko.chartsta.feature.explore.domain.model.Point interface PointsRepository { suspend fun get(count: In...
0
Kotlin
0
0
12082d83ca70e916573e24d13aa23308881e5509
358
chartsta
MIT License
app/src/main/java/net/csonkadavid/androiddev2022recipeapp/view/recycler/RecipeListRecyclerViewAdapter.kt
CsonkaDavid
570,934,820
false
null
package net.csonkadavid.androiddev2022recipeapp.view.recycler import android.annotation.SuppressLint import android.net.Uri import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.ImageView import android.widget.TextView import androidx.recyclerview.widget.DiffUt...
0
Kotlin
0
0
03c09a9c6d9dfe4be9593ccba834db246f426b50
4,982
AndroidDev2022RecipeApp
MIT License
app/src/main/java/com/example/hiltdemo/Truck.kt
von-mon
315,506,144
false
null
package com.example.hiltdemo import com.example.hiltdemo.engine.Engine import com.example.hiltdemo.module.BindElectricEngine import com.example.hiltdemo.module.BindGasEngine import javax.inject.Inject class Truck @Inject constructor(val driver: Driver) { @BindGasEngine @Inject lateinit var gasEngine: Eng...
0
Kotlin
0
0
c4d07766cd50a732bdecdda295c8eeb88f444a52
612
HiltDemo
Apache License 2.0
app/src/main/java/com/tcs/ecom/ui/main/setting/orders/ShowOrderDetailsFragment.kt
bhuvancom
387,227,067
false
null
/* * Copyright 2021 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
0
Kotlin
0
0
ac5a6fb229b3432e72f10ac7831fc0eb90bd0f58
3,889
Ecom-Android
Apache License 2.0
src/main/kotlin/no/fdk/concept_catalog/repository/ConceptRepository.kt
Informasjonsforvaltning
366,717,204
false
null
package no.fdk.concept_catalog.repository import no.fdk.concept_catalog.model.BegrepDBO import no.fdk.concept_catalog.model.Status import org.springframework.data.mongodb.repository.MongoRepository import org.springframework.data.mongodb.repository.Query import org.springframework.data.repository.query.Param import or...
6
Kotlin
0
0
7fcc9dec7e8eb454afbc8722a572188597275300
1,286
concept-catalog
Apache License 2.0
app/src/main/java/com/realitix/nectar/fragment/view/ReceipeStepMultiFab.kt
Nectar-Project
247,032,480
false
null
package com.realitix.nectar.fragment.view import android.content.Context import android.util.AttributeSet class ReceipeStepMultiFab: BaseFab2 { constructor(context: Context): this(context, null) constructor(context: Context, attrs: AttributeSet?): this(context, attrs, 0) constructor(context: Context, attr...
2
Kotlin
0
0
f220b9007fc5d3faf1d3fd9a842154de2a7d0cdf
687
nectar-android
Apache License 2.0
app/src/main/java/soutvoid/com/DsrWeatherApp/interactor/util/TransformUtil.kt
nadraliev
96,880,779
false
null
package soutvoid.com.DsrWeatherApp.interactor.util import android.annotation.SuppressLint import android.text.Html import soutvoid.com.DsrWeatherApp.util.SdkUtil object TransformUtil { @SuppressLint("NewApi") /** * Заменяет форматирующие символы Html на нормальные (например &quot; -> ") */...
0
Kotlin
2
8
01d1bb380e3cedddcc5728cc47758063ab27588f
637
DsrWeatherApp
Apache License 2.0