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
whynotimagecarousel/src/main/java/org/imaginativeworld/whynotimagecarousel/model/CarouselType.kt
ImaginativeShohag
240,220,327
false
{"Kotlin": 60297}
package org.imaginativeworld.whynotimagecarousel.model enum class CarouselType(val value: Int) { BLOCK(0), SHOWCASE(1) }
8
Kotlin
61
423
1272cc9617d82b8dfb0346b9b500315ad7a056eb
130
Why-Not-Image-Carousel
Apache License 2.0
idea/tests/testData/multiplatform/chainedTypeAliasRefinement/native/native.kt
JetBrains
278,369,660
false
null
actual typealias <!LINE_MARKER("descr='Has declaration in common module'")!>Common<!> = Short fun nativeTest(arg: Common) { takeCommon(arg) }
1
Kotlin
29
71
b6789690db56407ae2d6d62746fb69dc99d68c84
146
intellij-kotlin
Apache License 2.0
library/src/test/kotlin/com/mongodb/reactor/client/FindFluxTest.kt
jntakpe
304,628,892
false
null
package com.mongodb.reactor.client import com.mongodb.CursorType import com.mongodb.ExplainVerbosity import com.mongodb.client.model.Collation import com.mongodb.reactivestreams.client.FindPublisher import io.mockk.confirmVerified import io.mockk.mockk import io.mockk.spyk import io.mockk.verifyAll import org.bson.Bso...
7
Kotlin
0
8
4f0430ab3e28ed90579a82ddcffdb334378ddbd0
3,759
mongo-reactor-adapter
MIT License
src/main/kotlin/uk/gov/justice/digital/hmpps/pecs/jpc/service/SpreadsheetService.kt
ministryofjustice
292,861,912
false
null
package uk.gov.justice.digital.hmpps.pecs.jpc.service import org.slf4j.LoggerFactory import org.springframework.security.core.Authentication import org.springframework.stereotype.Service import org.springframework.transaction.annotation.Transactional import uk.gov.justice.digital.hmpps.pecs.jpc.domain.auditing.Auditab...
1
Kotlin
2
1
4a01db5b169a4083509c2b7f7f5279f600085217
1,351
calculate-journey-variable-payments
MIT License
shared/src/androidMain/kotlin/main.android.kt
azim-charaniya
691,164,127
false
{"Kotlin": 7633, "Swift": 592, "Shell": 228}
import androidx.compose.material.MaterialTheme import androidx.compose.runtime.Composable import androidx.compose.ui.tooling.preview.Preview import one.azim.todo.shared.Ui.App @Composable fun MainView() = App()
0
Kotlin
0
0
dc36cd488d25edb925da4e3f0e5a5d4af3e99f0f
212
ComposeMultiplatform
Apache License 2.0
DSLs/kubernetes/dsl/src/main/kotlin-gen/dev/forkhandles/k8s/admission/v1/userInfo.kt
fork-handles
649,794,132
false
{"Kotlin": 575626, "Shell": 2264, "Just": 1042, "Nix": 740}
// GENERATED package dev.forkhandles.k8s.admission.v1 import io.fabric8.kubernetes.api.model.admission.v1.AdmissionRequest as v1_AdmissionRequest import io.fabric8.kubernetes.api.model.authentication.UserInfo as authentication_UserInfo fun v1_AdmissionRequest.userInfo(block: authentication_UserInfo.() -> Unit = {}) {...
0
Kotlin
0
9
68221cee577ea16dc498745606d07b0fb62f5cb7
424
k8s-dsl
MIT License
src/main/kotlin/no/nav/familie/ba/sak/common/LocalDateProvider.kt
navikt
224,639,942
false
{"Kotlin": 6460661, "Gherkin": 961304, "PLpgSQL": 4478, "Shell": 3178, "Dockerfile": 522}
package no.nav.familie.ba.sak.common import org.springframework.stereotype.Service import java.time.LocalDate interface LocalDateProvider { fun now(): LocalDate } @Service class RealDateProvider : LocalDateProvider { override fun now() = LocalDate.now() }
8
Kotlin
1
9
6eef80ecfdafc3785c2e0edd407b87693ddcf28a
268
familie-ba-sak
MIT License
src/jvmMain/kotlin/data/ImageLoader.kt
kaiwolfram
633,970,006
false
null
package data import androidx.compose.ui.graphics.ImageBitmap import androidx.compose.ui.res.loadImageBitmap import java.net.SocketException import java.net.URL fun loadNetworkImageBitmap(url: String): ImageBitmap? { return try { URL(url).openStream().buffered().use(::loadImageBitmap) } catch (socketE...
0
Kotlin
1
6
d0532a6b0d7a94029e8613dc9a57c8371247710e
420
jeepney
MIT License
TrailTrackerApp/app/src/main/java/app/demo/example/com/trailtracker/routename/RouteNamePresenter.kt
bonafonteGuillermo
148,182,636
false
null
package app.demo.example.com.trailtracker.routename import app.demo.example.com.trailtracker.model.Route import app.demo.example.com.trailtracker.repository.IRepository import app.demo.example.com.trailtracker.rx.Schedulers import app.demo.example.com.trailtracker.utils.isValidRouteName import io.reactivex.disposables...
0
Kotlin
0
0
c3b98af96efe75ad8a3b430d84e32cc21ec1b8aa
1,714
TrailTracker
Apache License 2.0
Splitify/Splitify/src/main/kotlin/project/splitify/services/Utils.kt
RodrigoNevesWork
604,869,686
false
null
package project.splitify.services import org.springframework.stereotype.Component import project.splitify.domain.UserCreation import project.splitify.domain.UserOutput import java.util.* import javax.crypto.Cipher import javax.crypto.spec.SecretKeySpec @Component class Utils { private val SECRET_KEY = System.get...
2
Kotlin
0
0
a8237b9a4c42f4eb5a96ae9aa6558c20a0c3cc44
1,865
Splitify
MIT License
app/src/main/java/com/task/ui/base/BaseViewModel.kt
alikhsan778
233,774,296
true
{"Kotlin": 69171, "HTML": 53}
package com.task.ui.base import androidx.lifecycle.ViewModel /** * Created by AhmedEltaher on 5/12/2016 */ abstract class BaseViewModel: ViewModel()
0
null
1
0
25fcddf2e03a6ca29df9405c3ee887d4f1fa1ea0
156
MVVM-Kotlin-Android-Architecture
Apache License 2.0
app/src/main/java/com/sedsoftware/yaptalker/presentation/feature/search/SearchResultsFragment.kt
djkovrik
98,050,611
false
{"Gradle": 7, "Shell": 1, "Text": 1, "Ignore List": 5, "Batchfile": 1, "Markdown": 6, "Proguard": 14, "XML": 201, "Kotlin": 418, "Java Properties": 1, "JSON": 2, "Java": 2, "CSS": 1, "INI": 1, "YAML": 1}
package com.sedsoftware.yaptalker.presentation.feature.search import android.os.Bundle import androidx.recyclerview.widget.LinearLayoutManager import android.view.View import androidx.core.os.bundleOf import com.arellomobile.mvp.presenter.InjectPresenter import com.arellomobile.mvp.presenter.ProvidePresenter import co...
0
Kotlin
4
9
465c34c3dc0dd0488b637073fddf6cd797e78613
3,877
YapTalker
Apache License 2.0
app/src/main/java/com/arnyminerz/androidmatic/ui/theme/Color.kt
ArnyminerZ
540,989,660
false
null
package com.arnyminerz.androidmatic.ui.theme import androidx.compose.ui.graphics.Color val md_theme_light_primary = Color(0xFF0058CC) val md_theme_light_onPrimary = Color(0xFFFFFFFF) val md_theme_light_primaryContainer = Color(0xFFD9E2FF) val md_theme_light_onPrimaryContainer = Color(0xFF001945) val md_theme_light_se...
0
Kotlin
0
0
5252242a8cc0667cda551b0f1a7dd2956f49c668
3,013
Androidmatic
MIT License
android/app/src/main/kotlin/com/bluebubbles/messaging/services/system/OpenConversationNotificationSettingsHandler.kt
BlueBubblesApp
220,658,950
false
null
package com.bluebubbles.messaging.services.system import android.app.NotificationChannel import android.app.NotificationManager import android.content.Context import android.content.Intent import android.os.Build import android.provider.Settings import android.util.Log import com.bluebubbles.messaging.Constants import...
189
null
101
735
3f659afcb06e0b5766b4f1fc74cabc98c9498359
2,520
bluebubbles-app
Apache License 2.0
app/src/main/java/in/junkielabs/parking/components/api/repository/ApiRepoQrCode.kt
JunkieLabs
361,432,908
false
null
package `in`.junkielabs.parking.components.api.repository import `in`.junkielabs.parking.components.api.ApiModule import `in`.junkielabs.parking.components.api.base.ApiRepositoryBase import `in`.junkielabs.parking.components.api.models.ParamErrorRes import `in`.junkielabs.parking.components.api.routepoints.ApiPointQrC...
0
Kotlin
4
7
e5e8c3f09560b0d27efe08c9744d43ddb1db41fe
670
junkie-parking-android-app
MIT License
plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/apps/AmazonQApp.kt
aws
91,485,909
false
null
// Copyright 2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.aws.toolkits.jetbrains.services.amazonq.apps import com.intellij.openapi.Disposable /** * Base interface for the entry point for "apps" that are built using AmazonQ. * * Apps should i...
519
null
220
757
a81caf64a293b59056cef3f8a6f1c977be46937e
1,099
aws-toolkit-jetbrains
Apache License 2.0
src/jvmMain/kotlin/acidicoala/koalageddon/settings/di/SettingsModule.kt
acidicoala
584,899,259
false
null
package acidicoala.koalageddon.settings.di import acidicoala.koalageddon.settings.domain.use_case.ClearCache import acidicoala.koalageddon.settings.domain.use_case.GetCacheSize import acidicoala.koalageddon.core.use_case.SaveSettings import acidicoala.koalageddon.settings.ui.SettingsScreenModel import org.kodein.di.DI...
1
Kotlin
4
50
9ec09a7ba5cabc7b1be173a9c8e8794c93984a24
604
Koalageddon2
The Unlicense
dynamic-app/src/androidTest/java/com/okta/idx/android/infrastructure/ResourceNames.kt
okta
331,106,204
false
{"Kotlin": 426673, "Gherkin": 17266, "Ruby": 1873, "Shell": 541}
/* * Copyright 2021-Present Okta, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
4
Kotlin
13
9
ebdaf4ffb488b60854779afe770cd88cf0bad826
1,075
okta-idx-android
Apache License 2.0
src/main/kotlin/ru/krindra/vknorthtypes/notes/NotesGetResponse.kt
kravandir
745,597,090
false
{"Kotlin": 633233}
package ru.krindra.vknorthtypes.notes import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable @Serializable() data class NotesGetRawResponse ( @SerialName("count") val count: Int, @SerialName("items") val items: List<NotesNote>, ) @Serializable() data class NotesGetResponse ( va...
0
Kotlin
0
0
508d2d1d59c4606a99af60b924c6509cfec6ef6c
355
VkNorthTypes
MIT License
documents_feature/src/main/java/com/flyview/documents_feature/ui/main/MainViewState.kt
DmiMukh
676,402,705
false
{"Kotlin": 288475, "Java": 130379}
package com.flyview.documents_feature.ui.main import com.flyview.documents_feature.domain.model.Document sealed class MainViewState { data class Display(val items: List<Document>) : MainViewState() data class Error (val msg: String): MainViewState() object Idle: MainViewState() object Loading: MainVi...
0
Kotlin
0
0
5c184121116c08abe217946ba7da27804c232edb
368
PharmMobile
MIT License
src/main/kotlin/com/github/sukhinin/simpleconsole/Color.kt
sukhinin
336,896,932
false
null
package com.github.sukhinin.simpleconsole enum class Color(val value: String) { INFO(ANSI_BRIGHT_WHITE), WARN(ANSI_BRIGHT_YELLOW), ERROR(ANSI_BRIGHT_RED), SUCCESS(ANSI_BRIGHT_GREEN), PRIMARY(ANSI_WHITE), SECONDARY(ANSI_BRIGHT_BLACK) }
0
Kotlin
0
0
dd5468e2099d8085ef6247a4796ebabff8841f27
261
simple-console
MIT License
src/main/kotlin/com/github/sukhinin/simpleconsole/Color.kt
sukhinin
336,896,932
false
null
package com.github.sukhinin.simpleconsole enum class Color(val value: String) { INFO(ANSI_BRIGHT_WHITE), WARN(ANSI_BRIGHT_YELLOW), ERROR(ANSI_BRIGHT_RED), SUCCESS(ANSI_BRIGHT_GREEN), PRIMARY(ANSI_WHITE), SECONDARY(ANSI_BRIGHT_BLACK) }
0
Kotlin
0
0
dd5468e2099d8085ef6247a4796ebabff8841f27
261
simple-console
MIT License
app/src/main/java/com/iflytek/cyber/iot/show/core/fragment/CollectionAlbumFragment.kt
iFLYOS-OPEN
209,758,318
false
null
package com.iflytek.cyber.iot.show.core.fragment import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.LinearLayout import android.widget.Toast import androidx.core.view.isVisible import androidx.recyclerview.widget.RecyclerView import ...
1
null
11
21
4739e2450dcda545fb1361469a9172f82ce28c66
2,416
ShowCore-Open
Apache License 2.0
gamespot-api/src/main/java/com/paulrybitskyi/gamedge/gamespot/api/articles/serialization/ImageTypeAdapter.kt
francishero
350,442,985
true
{"Kotlin": 1299502, "Shell": 537}
/* * Copyright 2021 Paul Rybitskyi, paul.rybitskyi.work@gmail.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requir...
0
null
0
0
853270f8f2ba6f0299ee85fb9a49a448db23fa9c
1,185
gamedge
Apache License 2.0
straight/src/commonMain/kotlin/me/localx/icons/straight/outline/TalentAlt.kt
localhostov
808,861,591
false
{"Kotlin": 79430321, "HTML": 331, "CSS": 102}
package me.localx.icons.straight.outline import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap.Companion.Butt import androidx.compose.ui.graphics.StrokeJoin.Companion.Mite...
1
Kotlin
0
5
cbd8b510fca0e5e40e95498834f23ec73cc8f245
4,975
icons
MIT License
app/src/main/java/com/rejowan/deviceinfo/detailsMVVM/DeviceDetailsRepository.kt
ahmmedrejowan
778,650,948
false
{"Kotlin": 296758, "Java": 38028}
package com.rejowan.deviceinfo.detailsMVVM import android.app.ActivityManager import android.app.usage.StorageStatsManager import android.content.Context import android.content.pm.PackageInfo import android.content.pm.PackageManager import android.content.res.Configuration import android.graphics.ImageFormat import an...
0
Kotlin
0
0
fe8bbd51042ca2fb5001f0e7bfddc0645d19bf0e
29,566
DeviceInfo
Apache License 2.0
Code/app/src/main/java/com/istudio/services/modules/bound_services/media_player/services/PlayerService.kt
devrath
534,642,035
false
{"Kotlin": 36755}
package com.istudio.services.modules.bound_services.media_player.services import android.app.Service import android.content.Intent import android.media.MediaPlayer import android.os.Binder import android.os.IBinder import android.util.Log import com.istudio.services.R import kotlinx.coroutines.flow.MutableStateFlow im...
0
Kotlin
0
0
c8716f8b3a6902b432e8127a2c6da11c9b9f9e96
2,216
droid-component-services
Apache License 2.0
camera/camera-media3-effect/src/main/java/androidx/camera/media3/effect/CameraXGlTransformation.kt
androidx
256,589,781
false
{"Kotlin": 112114129, "Java": 66594571, "C++": 9132142, "AIDL": 635065, "Python": 325169, "Shell": 194520, "TypeScript": 40647, "HTML": 35176, "Groovy": 27178, "ANTLR": 26700, "Svelte": 20397, "CMake": 15512, "C": 15043, "GLSL": 3842, "Swift": 3153, "JavaScript": 3019}
/* * Copyright 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 applica...
29
Kotlin
1011
5,321
98b929d303f34d569e9fd8a529f022d398d1024b
4,110
androidx
Apache License 2.0
patch-jvm/src/main/java/jmp0/patchjvm/patch/StaticPatch.kt
asmjmp0
466,534,924
false
{"Kotlin": 310358, "Java": 11714, "C++": 3915, "CMake": 1761}
package jmp0.patchjvm.patch import com.sun.jna.Platform import java.io.File import java.lang.Exception abstract class StaticPatch(workDir:File): DynamicPatch() { /* * add x1,x1,xxx * movz w2,4 * */ private val strARMPtrPattern = byteArrayOf(0x21,0,0, 0x91.toByte(), 0x82.toByte(),0, 0x80.toByte(...
0
Kotlin
46
211
d8dfccb6851e5dc11e89fe46e0114ae192ee9564
896
appdbg
Apache License 2.0
api/src/main/kotlin/com/seedcompany/cordtables/components/tables/sc/change_to_plans/Read.kt
CordField
409,237,733
false
null
package com.seedcompany.cordtables.components.tables.sc.change_to_plans import com.seedcompany.cordtables.common.ErrorType import com.seedcompany.cordtables.common.Utility import com.seedcompany.cordtables.components.admin.GetSecureListQuery import com.seedcompany.cordtables.components.admin.GetSecureListQueryRequest ...
93
Kotlin
1
3
7e5588a8b3274917f9a5df2ffa12d27db23fb909
4,453
cordtables
MIT License
AtomicKotlin/Power Tools/Property Delegation Tools/Examples/src/NeverNull.kt
fatiq123
726,462,263
false
{"Kotlin": 370528, "HTML": 6544, "JavaScript": 5252, "Java": 4416, "CSS": 3780, "Assembly": 94}
// DelegationTools/NeverNull.kt package delegationtools import atomictest.* import kotlin.properties.Delegates class NeverNull { var nn: Int by Delegates.notNull() } fun main() { val non = NeverNull() capture { non.nn } eq "IllegalStateException: Property " + "nn should be initialized before get." n...
0
Kotlin
0
0
3d351652ebe1dd7ef5f93e054c8f2692c89a144e
347
AtomicKotlinCourse
MIT License
src/main/kotlin/sh/nemo/meilisearch/Health.kt
nemoengineering
480,784,790
false
{"Kotlin": 33540}
package sh.nemo.meilisearch import io.ktor.client.call.body import io.ktor.client.request.get import sh.nemo.meilisearch.responses.HealthResponse suspend fun Meilisearch.health(): HealthResponse = this.client.get("/health").body()
0
Kotlin
1
5
be88d613bfcc7234c1ac32ef3d9d88616f3f3fe1
233
meilisearch-kotlin
MIT License
app/src/main/java/xyz/junerver/composehooks/example/UseTimestampExample.kt
junerver
767,292,867
false
{"Kotlin": 366745}
package xyz.junerver.composehooks.example import android.util.Log import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Row import androidx.compose.material3.Surface import androidx.compose.material3.Text import androidx.compose.runtime.Composable import kotlin.time.Duration.Compan...
0
Kotlin
5
48
4d646069750f8341f25ce5a64ab3403761724ea3
1,777
ComposeHooks
Apache License 2.0
app/src/main/java/com/newgram/s2oul_android/searchFilter/SearchFilterContract.kt
GRAM-DSM
209,287,603
false
null
package com.newgram.s2oul_android.searchFilter import com.newgram.s2oul_android.BasePresenter import com.newgram.s2oul_android.BaseView interface SearchFilterContract { interface View: BaseView<Presenter> { fun acceptFilter() } interface Presenter: BasePresenter { } }
0
Kotlin
0
0
4426c694f84bdecb046b25996ccf6b5604f0c848
295
S2oul-Android
MIT License
app/src/main/java/com/kotlin/architecture/ui/home/HomeFragment.kt
KaranMavadhiya
270,289,104
false
null
package com.kotlin.architecture.ui.home import android.content.Intent import android.util.Log import android.view.View import android.widget.Toast import androidx.appcompat.app.AppCompatActivity import androidx.navigation.Navigation import com.kotlin.architecture.R import com.kotlin.architecture.api.response.UserModel...
0
Kotlin
1
2
022d88d54f0d0217f5bbd64e2dadbc53b16671ec
2,533
Kotlin-Architecture
Apache License 2.0
Yukari/src/main/java/shibafu/yukari/mastodon/MastodonUtil.kt
shibafu528
134,973,177
false
{"Git Config": 1, "Gradle": 7, "Java Properties": 2, "Shell": 1, "Text": 3, "Ignore List": 6, "Batchfile": 1, "Markdown": 3, "Kotlin": 144, "Proguard": 1, "XML": 167, "Java": 150, "HTML": 1, "Ruby": 1}
package shibafu.yukari.mastodon import android.net.Uri object MastodonUtil { private val REGEX_HOST_COMPRESS = Regex("[a-zA-Z]{4,}") private val compressedHostCache: MutableMap<String, String> = hashMapOf() fun expandFullScreenName(acct: String, url: String): String = if (acct.contains('@')) { ...
40
Java
2
60
28ce3e38b9cf44308bab74f1b6cb8d39a4de2509
1,175
Yukari
Apache License 2.0
demos/instagram/src/main/java/com/guru/composecookbook/instagram/components/InstagramHome.kt
Gurupreet
293,227,683
false
null
package com.guru.composecookbook.instagram.components import androidx.compose.foundation.layout.Column import androidx.compose.material.* import androidx.compose.runtime.Composable import androidx.compose.ui.res.painterResource import androidx.compose.ui.tooling.preview.Preview import androidx.compose.ui.unit.dp impor...
11
Kotlin
405
3,533
092d2c4c78d8a971f68ac0796e2f25517eeb304d
2,640
ComposeCookBook
MIT License
src/test/kotlin/team/codemonsters/ddd/toolkit/domain/subscriberDataUpdate/SubscriberGatewayConnectionFailTest.kt
dmpichugin
587,608,359
false
null
package team.codemonsters.ddd.toolkit.domain.subscriberDataUpdate import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Test import org.springframework.beans.factory.annotation.Autowired import org.springframework.boot.test.context.SpringBootTest import reactor.test.StepVerifier @SpringBootT...
0
Kotlin
0
2
6b145b60c973d676d05c413bcd6b3b149d95e064
836
ddd-code-toolkit
The Unlicense
app/src/main/java/org/stepic/droid/model/CourseListType.kt
abhirocks1211
205,717,847
false
null
package org.stepic.droid.model enum class CourseListType { FEATURED, ENROLLED }
1
null
1
1
8a2ead7334b6b26a281b3a7842e6502fd96b2cc5
84
stepik
Apache License 2.0
src/main/java/com/mitsuki/armory/adapter/notify/NotifyQueueData.kt
mmm3w
405,451,854
false
{"Kotlin": 23492}
package com.mitsuki.armory.adapter.notify import android.os.Handler import android.os.HandlerThread import android.os.Looper import androidx.annotation.MainThread import androidx.recyclerview.widget.DiffUtil import androidx.recyclerview.widget.RecyclerView import java.lang.ref.WeakReference import java.util.ArrayDeque...
0
Kotlin
0
0
eb571205f1cda5124ebcbe6783f4997b8fa1b0aa
2,558
adapter
MIT License
src/main/kotlin/me/leon/encode/Octal.kt
solitary321
408,059,496
true
{"Kotlin": 161179, "Shell": 259, "Batchfile": 220}
package me.leon.encode fun String.octal() = toByteArray().octal() fun ByteArray.octal() = String(this).toCharArray().joinToString(" ") { (it.code).toString(8) } fun String.octalDecode() = octalDecode2String().toByteArray() fun String.octalDecode2String() = split(" +".toRegex()).map { Char(it.toInt(8)) }.joinToStrin...
0
null
0
0
40e1d9720be37b46ef14994b10110f6092f9bc4a
326
ToolsFx
ISC License
kotlin-mui-icons/src/main/generated/mui/icons/material/PestControlTwoTone.kt
JetBrains
93,250,841
false
null
// Automatically generated - do not modify! @file:JsModule("@mui/icons-material/PestControlTwoTone") package mui.icons.material @JsName("default") external val PestControlTwoTone: SvgIconComponent
12
null
5
983
372c0e4bdf95ba2341eda473d2e9260a5dd47d3b
200
kotlin-wrappers
Apache License 2.0
domain/src/main/java/danggai/domain/db/account/usecase/AccountDaoUseCase.kt
danggai
420,838,266
false
null
package danggai.domain.db.account.usecase import danggai.domain.db.account.entity.Account import danggai.domain.db.account.repository.AccountRepository import kotlinx.coroutines.flow.Flow import javax.inject.Inject class AccountDaoUseCase @Inject constructor( private val accountRepository: AccountRepository ) { ...
2
Kotlin
0
9
593ced62277665819bd71d97184c4e3eef2a9c9f
917
android_genshin_resin_widget
MIT License
gradle/plugins/src/main/kotlin/org/kotools/samples/gradle/KotoolsSamplesJvmPlugin.kt
kotools
581,475,148
false
{"Kotlin": 443860, "Java": 11976}
package org.kotools.samples.gradle import org.gradle.api.Plugin import org.gradle.api.Project import org.gradle.api.file.Directory import org.gradle.api.plugins.JavaPluginExtension import org.gradle.kotlin.dsl.findByType import org.gradle.kotlin.dsl.getByType import org.jetbrains.kotlin.gradle.dsl.KotlinJvmProjectExte...
43
Kotlin
6
90
80422a2af60d0aa24f9d86e859f985678bad52b8
2,697
types
MIT License
sample/src/main/java/org/sdelaysam/configurator/sample/data/Tile.kt
sdelaysam
344,450,742
false
null
package org.sdelaysam.configurator.sample.data /** * Created on 03.03.2021. * @author sdelaysam */ data class Tile( val id: Int, val title: String, val imageUrl: String )
0
Kotlin
0
1
9dd6afd6996137e1a8e7a12d2380c97262a709c8
187
configurator-android
Apache License 2.0
geo/d2v-geo-common/src/main/kotlin/io/data2viz/geo/projection/IdentityProjection.kt
realdadfish
158,028,324
true
{"Kotlin": 1433243, "JavaScript": 42307, "HTML": 38410, "Java": 386}
package io.data2viz.geo.projection import io.data2viz.math.PI fun identityProjection() = projection(IdentityProjection()) { preClip = { it } postClip = { it } scale = 180 / PI } class IdentityProjection : ProjectableInvertable { override fun project(lambda: Double, phi: Double) = doubleArrayOf(lambda...
0
Kotlin
0
0
4e3c732d44ee94940fa340e5684ea55e8ef05556
396
data2viz
Apache License 2.0
compiler/testData/codegen/box/jvmOverloads/primaryConstructorWithAllDefaults.kt
JetBrains
3,432,266
false
null
// TARGET_BACKEND: JVM // WITH_STDLIB class C @kotlin.jvm.JvmOverloads constructor(s1: String = "O", s2: String = "K") { public val status: String = s1 + s2 } fun box(): String { val c = (C::class.java.getConstructor().newInstance()) return c.status }
181
null
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
267
kotlin
Apache License 2.0
src/main/kotlin/no/nav/familie/ef/sak/iverksett/oppgaveforbarn/InitForberedOppgaverForBarnTaskController.kt
navikt
206,805,010
false
null
package no.nav.familie.ef.sak.iverksett.oppgaveforbarn import no.nav.familie.prosessering.domene.TaskRepository import no.nav.security.token.support.core.api.Unprotected import org.springframework.http.MediaType import org.springframework.web.bind.annotation.PostMapping import org.springframework.web.bind.annotation.R...
8
Kotlin
2
0
826996ddfeb9a0ec01a8b3525cb5841bd41bd7dd
1,171
familie-ef-sak
MIT License
use_case/src/main/java/usecase/ijoic/ktx/util/PropertyCase.kt
VerstSiu
137,000,822
false
{"Gradle": 7, "JSON": 1, "JavaScript": 2, "Shell": 2, "Java Properties": 2, "Text": 1, "Ignore List": 6, "Batchfile": 1, "Markdown": 1, "Proguard": 5, "Java": 7, "XML": 30, "Kotlin": 65}
/* * * Copyright(c) 2018 VerstSiu * * 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 agree...
0
Kotlin
1
0
7912517be6bd0d494044916e22cbe2b102cb87f9
1,175
kotlin_extension
Apache License 2.0
wrapper/godot-library/src/main/kotlin/godot/generated/EditorProperty.kt
payload
189,718,948
true
{"Kotlin": 3888394, "C": 6051, "Batchfile": 714, "Shell": 574}
@file:Suppress("unused", "ClassName", "EnumEntryName", "FunctionName", "SpellCheckingInspection", "PARAMETER_NAME_CHANGED_ON_OVERRIDE", "UnusedImport", "PackageDirectoryMismatch") package godot import godot.gdnative.* import godot.core.* import godot.utils.* import godot.icalls.* import kotlinx.cinterop.* // NOTE: T...
0
Kotlin
1
2
70473f9b9a0de08d82222b735e7f9b07bbe91700
6,648
kotlin-godot-wrapper
Apache License 2.0
CAP-12/MyRoomMVVM/app/src/main/java/es/javiercarrasco/myroom/domain/SaveEditorialUseCase.kt
KotlinStuff
601,574,601
false
{"Kotlin": 444072}
package es.javiercarrasco.myroom.domain import es.javiercarrasco.myroom.data.SupersRepository import es.javiercarrasco.myroom.domain.model.Editorial class SaveEditorialUseCase constructor(private val supersRepository: SupersRepository) { // se utiliza la palabra reservada operator para poder hacer una llamda dire...
0
Kotlin
0
1
3b90fb7bc0dc9fff739f74b9d51e49f47ed05d92
438
DMKotlin-v2023
MIT License
pumping/src/main/kotlin/com/dpm/pumping/HelloController.kt
depromeet
627,802,875
false
null
package com.dpm.pumping import org.springframework.web.bind.annotation.GetMapping import org.springframework.web.bind.annotation.RequestMapping import org.springframework.web.bind.annotation.RestController @RestController @RequestMapping("/hello") class HelloController { @GetMapping fun sayHello(): Response ...
9
Kotlin
0
1
36ab35af74cdf35c37cc6edac30dd32dd9ac7151
428
pumping-server
Apache License 2.0
app/src/main/java/com/paypay/riyas/db/SharedPref.kt
mriyas
319,618,578
false
null
package com.paypay.riyas.db import android.content.Context import android.content.Context.MODE_PRIVATE import android.content.SharedPreferences class SharedPref(context: Context) { private val applicationContext = context.applicationContext private val editor: SharedPreferences.Editor private val sharedPr...
0
Kotlin
0
0
76a8c247128eff297b77a7e56d56ae2c8a0fada3
990
CurrencyLayer
Apache License 2.0
src/main/kotlin/exploration/designPatterns/creation/factoryModel/ExtensionsOfObject.kt
programing-language
375,609,760
false
null
package exploration.designPatterns.creation.factoryModel /** * Created by ChenJinXin on 2021/7/8 下午2:17 */ //当类是工程引入的第三方类库时,如果我们希望进一步改造其中的逻辑,可以使用扩展函数的特性实现需求。 fun Computer3.Factory.fromCPU(cpu: String): ComputerType? = when (cpu) { "Core" -> ComputerType.PC "Xeon" -> ComputerType.Server else -> null } fu...
1
null
1
1
f614aef0f625b0ac403dd0f8acfe3be384ae25e5
399
KotlinCoreProgramming
Apache License 2.0
core/src/main/java/com/halcyonmobile/errorhandling/core/api/UserService.kt
halcyonmobile
266,983,268
false
null
package com.halcyonmobile.errorhandling.core.api import com.halcyonmobile.errorhandlerrest.exception.RemoteException import com.halcyonmobile.errorhandling.core.dto.UserDto import com.halcyonmobile.errorhandling.util.ApiErrorModel import com.halcyonmobile.errorparsing.ParsedError import retrofit2.http.GET internal in...
15
Kotlin
0
4
d18da91eba263ee3218ca058ad4b30b975da369d
478
error-handler
Apache License 2.0
api/main/App.kt
navikt
526,111,403
false
null
import com.auth0.jwk.JwkProvider import com.auth0.jwk.JwkProviderBuilder import com.fasterxml.jackson.databind.SerializationFeature import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule import io.ktor.http.* import io.ktor.serialization.jackson.* import io.ktor.server.application.* import io.ktor.server.auth.* im...
1
Kotlin
0
0
9fca0659bf8b1c25a85232cd4141dfd12cd8db46
3,553
aap-api
MIT License
app/src/main/java/com/wcsm/dailygoals/data/database/DatabaseHelper.kt
WallaceMartinsTI
789,980,685
false
{"Kotlin": 30762}
package com.wcsm.dailygoals.data.database import android.content.Context import android.database.sqlite.SQLiteDatabase import android.database.sqlite.SQLiteOpenHelper import android.util.Log class DatabaseHelper(context: Context) : SQLiteOpenHelper(context, DATABASE, null, VERSION) { companion object { co...
0
Kotlin
0
0
9c7c9d311385467a97b5e0bef416fded6f3e900a
1,466
DailyGoals
MIT License
app/src/main/java/com/andrii_a/walleria/ui/user_details/UserDetailsRoute.kt
andrew-andrushchenko
525,795,850
false
{"Kotlin": 702698}
package com.andrii_a.walleria.ui.user_details import androidx.compose.animation.AnimatedContentTransitionScope import androidx.compose.animation.core.LinearEasing import androidx.compose.animation.core.Spring import androidx.compose.animation.core.spring import androidx.compose.animation.core.tween import androidx.com...
0
Kotlin
3
25
4161fc58c222fc7d73cc0421e2b4910df1c06fd2
3,859
Walleria
MIT License
interactive-text/src/jvmMain/kotlin/me/okonecny/interactivetext/SelectionMovement.kt
konecny-ondrej
784,920,382
false
{"Kotlin": 223790}
package me.okonecny.interactivetext internal fun updateSelection( selection: Selection, oldCursorPosition: CursorPosition?, newCursorPosition: CursorPosition?, scope: InteractiveScope ): Selection { if (!scope.hasAnyComponents) return Selection.empty if (oldCursorPosition == null || newCursorPo...
1
Kotlin
0
6
0e1f0019178329dd2f8194bbd760355228ee989c
1,116
compose-markdown-editor
MIT License
modules/feature/map/impl/src/main/kotlin/kekmech/ru/feature_map_impl/DeeplinkHelper.kt
tonykolomeytsev
203,239,594
false
{"Kotlin": 972736, "JavaScript": 9100, "Python": 2365, "Shell": 46}
package kekmech.ru.feature_map_impl import android.os.Handler import android.os.Looper import kekmech.ru.feature_map_impl.launcher.DeeplinkDelegate import kekmech.ru.feature_map_impl.presentation.screen.main.elm.MapEffect import kekmech.ru.feature_map_impl.presentation.screen.main.elm.MapEvent import kekmech.ru.featur...
19
Kotlin
4
41
15c3c17e33d0ffffc0e269ad0cd6fe47b0bc971a
2,320
mpeiapp
MIT License
multisrc/overrides/madara/mangavb/src/MangaVB.kt
Mehmet529
381,317,205
true
{"Kotlin": 3788414, "Shell": 3142, "Java": 608}
package eu.kanade.tachiyomi.extension.en.mangavb import eu.kanade.tachiyomi.annotations.Nsfw import eu.kanade.tachiyomi.multisrc.madara.Madara @Nsfw class MangaVB : Madara("MangaVB", "https://mangavb.com", "en") { }
0
null
0
0
97e18a0ba2d7d7f89daf5bbae9b1b6b39335e228
219
tachiyomi-extensions
Apache License 2.0
test-utils-architecture/src/commonTest/kotlin/SimpleUIThreadViewModelTestTest.kt
splendo
191,371,940
false
null
/* Copyright 2022 Splendo Consulting B.V. The Netherlands 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 appli...
82
Kotlin
6
213
fd4c8940824eca864f7d260aa85027abf9649999
1,188
kaluga
Apache License 2.0
webrtc-kmp/src/jsAndWasmJsMain/kotlin/com/shepeliev/webrtckmp/RtpSender.kt
shepeliev
329,550,581
false
{"Kotlin": 233515}
package com.shepeliev.webrtckmp import com.shepeliev.webrtckmp.externals.RTCRtpSender import com.shepeliev.webrtckmp.externals.replaceTrack actual class RtpSender internal constructor(internal val js: RTCRtpSender) { actual val id: String get() = track?.id ?: "" actual val track: MediaStreamTrack? ...
13
Kotlin
38
181
73e482e70dc7192601acd3482a6774c017c072de
746
webrtc-kmp
Apache License 2.0
app/src/main/java/org/oppia/android/app/customview/OppiaCurveBackgroundView.kt
oppia
148,093,817
false
{"Kotlin": 13302271, "Starlark": 693163, "Java": 34760, "Shell": 18872}
package org.oppia.android.app.customview import android.content.Context import android.content.res.Configuration import android.content.res.Resources import android.graphics.Canvas import android.graphics.Color import android.graphics.Paint import android.graphics.Path import android.util.AttributeSet import android.v...
487
Kotlin
517
315
95699f922321f49a3503783187a14ad1cef0d5d3
3,849
oppia-android
Apache License 2.0
app/src/main/java/com/turastory/falcon/data/source/FeedMemoryDataSource.kt
turastory
154,104,058
false
null
package com.turastory.falcon.data.source import android.util.Log import com.turastory.falcon.data.source.local.Feed import io.reactivex.Completable import io.reactivex.Single /** * Created by tura on 2018-10-22. */ class FeedMemoryDataSource : FeedDataSource { private val feeds = mutableListOf<Feed>() over...
0
Kotlin
0
0
ec2d5472d7d7a4172b056e938bc4a0e1a8e41471
1,245
falcon-android
Apache License 2.0
src/test/kotlin/_1to50/Task19Test.kt
embuc
735,933,359
false
{"Kotlin": 122945, "Java": 69285}
package _1to50 import org.junit.jupiter.api.Assertions.assertEquals import org.junit.jupiter.api.Test import se.embuc._1to50.Task19 class Task19Test { @Test fun solve() { assertEquals(171, Task19().solve()) assertEquals(171, _1to50.JTask19().solve()) } }
0
Kotlin
0
1
916e0683182a44ca647ddac004b3082c3118a202
264
projecteuler
MIT License
packages/SystemUI/tests/src/com/android/systemui/qs/tiles/FlashlightTileTest.kt
liu-wanshun
595,904,109
true
null
package com.android.systemui.qs.tiles import android.content.Context import android.os.Handler import android.testing.AndroidTestingRunner import android.testing.TestableLooper import androidx.test.filters.SmallTest import com.android.internal.logging.MetricsLogger import com.android.internal.logging.testing.UiEventLo...
0
Java
1
2
e99201cd9b6a123b16c30cce427a2dc31bb2f501
3,726
platform_frameworks_base
Apache License 2.0
app/src/test/java/com/kickstarter/viewmodels/EmailVerificationInterstitialFragmentViewModelTest.kt
yangfjiahl-fork
312,587,102
false
{"Batchfile": 1, "Makefile": 1, "Shell": 1, "Markdown": 3, "Ruby": 19, "Java Properties": 2, "Java": 471, "Kotlin": 266, "INI": 1}
package com.kickstarter.viewmodels import androidx.annotation.NonNull import com.kickstarter.KSRobolectricTestCase import com.kickstarter.libs.Environment import org.junit.Test import rx.observers.TestSubscriber class EmailVerificationInterstitialFragmentViewModelTest : KSRobolectricTestCase() { private lateinit ...
1
null
1
1
8d01e7811e4bdb18b0f8780c0fe4fc6886073ea5
935
android-oss
Apache License 2.0
app/src/main/java/com/nvkhang96/fossilfileexplorer/feature_file_explorer/presentation/file_list/component/ExpandableSearchIcon.kt
nvkhang96
628,568,918
false
null
package com.nvkhang96.fossilfileexplorer.feature_file_explorer.presentation.file_list.component import androidx.compose.foundation.text.KeyboardActions import androidx.compose.foundation.text.KeyboardOptions import androidx.compose.material.* import androidx.compose.material.icons.Icons import androidx.compose.materia...
0
Kotlin
0
0
0c238dc6097fe585d2f89bf5910ff5ffa31b03e0
3,281
FossilFileExplorer
MIT License
JOOX_SDK_Demo_Android/app/src/main/java/com/tencent/joox/sdk/business/songlist/entity/MusicRecommendPlayListRsp.kt
TencentCloud
386,706,230
false
{"Kotlin": 243250, "Java": 61143, "Shell": 454}
package com.tencent.joox.sdk.business.songlist.entity import com.google.gson.annotations.SerializedName import com.tencent.joox.sdk.data.entity.CoverEntity import com.tencent.joox.sdk.data.entity.TracksRspEntity class MusicRecommendPlayListRsp { @SerializedName("id") var id: String = "" @SerializedName(...
0
Kotlin
1
9
1e06dfb99826b33ffa676c51999887a60730552d
511
joox-sdk-android
Apache License 2.0
app/src/main/kotlin/com/jpaya/englishisfun/data/firebase/di/FirebaseModule.kt
jpaya17
254,323,532
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...
20
Kotlin
6
49
5f6b5583f1a259407e85f6ecad6333b208b98885
1,636
englishisfun
Apache License 2.0
platform/src/main/kotlin/researchstack/backend/adapter/outgoing/mongo/education/UpdateEducationalContentMongoAdapter.kt
S-ResearchStack
520,365,362
false
{"Kotlin": 1297198, "Dockerfile": 202, "Shell": 59}
package researchstack.backend.adapter.outgoing.mongo.education import com.linecorp.armeria.server.ServiceRequestContext import kotlinx.coroutines.reactor.awaitSingle import org.springframework.stereotype.Component import reactor.core.scheduler.Schedulers import researchstack.backend.adapter.outgoing.mongo.mapper.toEnt...
1
Kotlin
9
29
214dc84476e2de6948c3fc5225cebca0707bfb91
1,368
backend-system
Apache License 2.0
feature/network/src/main/kotlin/top/chengdongqing/weui/feature/network/download/repository/DownloadRepository.kt
chengdongqing
782,566,304
false
{"Kotlin": 894390}
package top.chengdongqing.weui.feature.network.download.repository import okhttp3.ResponseBody interface DownloadRepository { suspend fun downloadFile(filename: String): ResponseBody? }
0
Kotlin
3
8
eb773e75aacb801cb24adb41db9fe17224eb883a
191
WeUI
Apache License 2.0
server/src/main/kotlin/com/thoughtworks/archguard/scanner/domain/scanner/javaext/bs/DesigniteJavaTool.kt
archguard
460,910,110
false
{"Kotlin": 1763628, "Java": 611399, "TypeScript": 11395, "C#": 5593, "Dockerfile": 2549, "C": 1223, "Shell": 926, "JavaScript": 400, "Go": 291, "Scala": 97, "Python": 42, "Rust": 32}
package com.thoughtworks.archguard.scanner.domain.tools import com.thoughtworks.archguard.scanner.infrastructure.FileOperator import com.thoughtworks.archguard.scanner.infrastructure.command.Processor import com.thoughtworks.archguard.scanner.infrastructure.command.StreamConsumer import org.slf4j.LoggerFactory import ...
1
Kotlin
89
575
049f3cc8f2c0e2c34e65bb0049f645caa5be9bf8
4,175
archguard
MIT License
app/src/main/java/com/israis007/datetimepickerspinner/MainActivity.kt
israis007
253,709,477
false
null
package com.israis007.datetimepickerspinner import android.graphics.Color import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import com.israis007.datetimespinner.TimePicker import kotlinx.android.synthetic.main.activity_main.* import java.util.* class MainActivity : AppCompatActivity() { ov...
0
Kotlin
0
0
7bd421a95c9b4e62e8a9e259d716a5fdcd9beb02
863
DateTimePickerSpinner
Apache License 2.0
data/src/main/java/com/roxana/recipeapp/data/settings/SettingsRepositoryImpl.kt
roxanapirlea
383,507,335
false
null
package com.roxana.recipeapp.data.settings import androidx.datastore.core.DataStore import com.roxana.recipeapp.data.Settings import com.roxana.recipeapp.domain.SettingsRepository import com.roxana.recipeapp.domain.model.QuantityType import com.roxana.recipeapp.domain.model.Temperature import kotlinx.coroutines.flow.F...
0
Kotlin
0
1
8dc3e7040d806893dddd4538e15dd3a40faa80a4
1,408
RecipeApp
Apache License 2.0
core/pokemon-species/src/main/kotlin/com/yerastov/assignment/pokedex/core/pokemon/species/di/PokemonSpeciesCoreComponentInjector.kt
alterpie
592,035,814
false
null
package com.yerastov.assignment.pokedex.core.pokemon.species.di import android.content.Context import com.yerastov.assignment.pokedex.core.di.common.ComponentInjector import com.yerastov.assignment.pokedex.core.network.di.NetworkComponentInjector object PokemonSpeciesCoreComponentInjector : ComponentInjector<Cont...
0
Kotlin
0
0
f6bb6b082eb8311c12b860b65a33cac54f19c8e9
634
Pokedex
Apache License 2.0
src/main/kotlin/no/nav/kanal/config/VirksomhetssertifikatCredentials.kt
navikt
157,670,548
false
null
package no.nav.kanal.config data class VirksomhetssertifikatCredentials( val alias: String, val password: String, val type: String )
0
Kotlin
0
0
36ebe75eaacb787a7de6a1d2b7f60ca0cb63b970
146
sdpkanal
MIT License
components-core/src/main/java/com/adyen/checkout/components/core/internal/util/CheckoutConfigurationMarker.kt
Adyen
91,104,663
false
{"Kotlin": 4787892, "Shell": 4706}
/* * Copyright (c) 2024 Adyen N.V. * * This file is open source and available under the MIT license. See the LICENSE file for more info. * * Created by oscars on 29/1/2024. */ package com.adyen.checkout.components.core.internal.util import androidx.annotation.RestrictTo @DslMarker @Target(AnnotationTarget.CLAS...
22
Kotlin
66
126
c45a6ee4d2039163ae075436a9d1231ffcb16f5c
435
adyen-android
MIT License
app/src/main/java/com/example/composedweather/ui/feature/dashboard/DashboardViewState.kt
mahmood199
753,995,489
false
{"Kotlin": 129052}
package com.example.composedweather.ui.feature.dashboard data class DashboardViewState( val greetingMessage: String, val isLoading: Boolean, val dateRange: String, val contactNumber: String, val totalClicksForToday: Int, ) { companion object { fun default(): DashboardViewState { ...
0
Kotlin
0
0
a1fb1d447bf3f8b316f8d1d1d0c2122a7c42b6d3
594
Dashboard
Apache License 2.0
FinFamily/src/main/java/com/bandtec/finfamily/fragments/CardGoal.kt
Natayoane
274,787,455
true
{"Kotlin": 153399}
package com.bandtec.finfamily.fragments import android.content.Intent import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.Toast import androidx.fragment.app.Fragment import com.bandtec.finfamily.R import com.bandtec.finfamily.api.Retr...
0
null
0
1
13b5d44e5cff959d3551db6fec6cf08a42ee422d
4,579
fin-family-app
MIT License
stack/src/main/kotlin/com/example/hello/infra/Main.kt
jensbarthel
713,360,193
false
{"Kotlin": 9283, "Dockerfile": 408}
package com.example.hello.infra import com.pulumi.Context import com.pulumi.Pulumi fun main() { Pulumi.run { ctx: Context -> Stack().provision(ctx) } }
0
Kotlin
0
0
099e86235c2dc018789215961e9c3f6d5c32f671
157
azure-kotlin-function-graal-spring
Apache License 2.0
base/mvvm/src/main/java/windly/template/mvvm/fragment/BaseFragment.kt
tommus
591,404,405
false
null
package windly.template.mvvm.fragment import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.databinding.DataBindingUtil import androidx.databinding.ViewDataBinding import androidx.lifecycle.ViewModel import windly.template.mvvm.databinding.Li...
0
Kotlin
0
0
9a7f8cdf7684d057e2a30ac76c288aab14788706
739
android-mvvm-template
Apache License 2.0
src/main/kotlin/com/awen/spring/cache/OcsKeyManager.kt
awenblue
141,681,187
false
null
/* * * Copyright 2018 The awen_blue Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requ...
0
Kotlin
1
8
0a744fee7d565664c3569cdc2fbdb55e18b28af3
998
spring-kotlin-jpa
Apache License 2.0
Kotlin/ThirtyDaysofWellness/app/src/main/java/com/example/thirtydaysofwellness/ui/theme/Color.kt
mehmoodharis74
655,308,233
false
null
package com.example.thirtydaysofwellness.ui.theme import androidx.compose.ui.graphics.Color val md_theme_light_primary = Color(0xFF335CA8) val md_theme_light_onPrimary = Color(0xFFFFFFFF) val md_theme_light_primaryContainer = Color(0xFFD8E2FF) val md_theme_light_onPrimaryContainer = Color(0xFF001A42) val md_theme_li...
0
Kotlin
0
0
7e9aae748e55f7308ef70cd5e8dae8fb452df9ba
3,215
Android-Projects
MIT License
core/engine/src/main/kotlin/com/github/ilikeyourhat/lsaa/core/engine/Initializer.kt
ILikeYourHat
385,717,121
false
null
package com.github.ilikeyourhat.lsaa.core.engine import com.github.ilikeyourhat.lsaa.core.engine.contract.ITopActivityProvider import com.github.ilikeyourhat.lsaa.core.engine.contract.ModuleInitializer @Suppress("unused") public class Initializer : ModuleInitializer( { single<ITopActivityProvider> { TopAc...
12
Kotlin
2
4
3c2073e1eb9f10285c84382caf5caad455f2bb9a
347
Large-Scale-Android-App
Apache License 2.0
src/main/kotlin/tic_tac_toe/game_manager/repo/schema/turns/Turns.kt
xray
192,956,408
false
null
package tic_tac_toe.game_manager.repo.schema.turns import org.jetbrains.exposed.dao.IntIdTable import tic_tac_toe.game_manager.repo.schema.boards.Boards import tic_tac_toe.game_manager.repo.schema.games.Games object Turns : IntIdTable() { val player = integer("player") val move = integer("move") val game ...
0
Kotlin
0
1
b81fb3f5e3d850190935f9b26cc182983f443f88
392
kotlinTTT
The Unlicense
src/main/kotlin/ru/softstone/linguaglide/presentation/feature/settings/SettingsScreen.kt
DevAlexCor
818,563,315
false
{"Kotlin": 66861}
package ru.softstone.linguaglide.presentation.feature.settings import androidx.compose.desktop.ui.tooling.preview.Preview import androidx.compose.foundation.background import androidx.compose.foundation.layout.* import androidx.compose.foundation.rememberScrollState import androidx.compose.foundation.text.KeyboardOpti...
0
Kotlin
0
0
d5303b612c92366510d686658dae3c1aad55d19b
5,060
linguaglide
MIT License
app/src/main/java/com/github/fajaragungpramana/morent/module/about/AboutViewModel.kt
fajaragungpramana
758,782,516
false
{"Kotlin": 60435}
package com.github.fajaragungpramana.morent.module.about import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.github.fajaragungpramana.morent.core.app.AppResult import com.github.fajaragungpramana.morent.core.domain.user.UserUseCase import dagger.hilt.android.lifecycle.HiltViewModel ...
0
Kotlin
0
1
ef8254d6056233e1300bdd7be10cf4304fd8d377
1,266
android.morent
Apache License 2.0
src/functional-test/kotlin/uk/gov/justice/digital/hmpps/makerecalldecisionapi/ContactHistoryFunctionalTest.kt
ministryofjustice
478,614,213
false
null
package uk.gov.justice.digital.hmpps.makerecalldecisionapi import io.restassured.RestAssured import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Test class ContactHistoryTest() : FunctionalTest() { @Test fun `fetch contact history, expected 200`() { // when lastResponse = Rest...
6
Kotlin
1
0
b298033a6ee778d61a57a4add48b8b0a65c4cdc7
166,630
make-recall-decision-api
MIT License
src/functional-test/kotlin/uk/gov/justice/digital/hmpps/makerecalldecisionapi/ContactHistoryFunctionalTest.kt
ministryofjustice
478,614,213
false
null
package uk.gov.justice.digital.hmpps.makerecalldecisionapi import io.restassured.RestAssured import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Test class ContactHistoryTest() : FunctionalTest() { @Test fun `fetch contact history, expected 200`() { // when lastResponse = Rest...
6
Kotlin
1
0
b298033a6ee778d61a57a4add48b8b0a65c4cdc7
166,727
make-recall-decision-api
MIT License
app/src/main/java/com/xdja/app/config/ResponseErrorListenerImpl.kt
yuan9034
280,068,333
false
null
package com.xdja.app.config /** * @author yuanwanli * @des 统一处理协程出错(暂未实现) * @date 2020/7/6 */ class ResponseErrorListenerImpl { }
0
Kotlin
0
1
85290317abc7dc62de12c73a6b8e195a8323b45b
136
EasyMvp
Apache License 2.0
examples/src/main/java/de/maibornwolff/domainchoreograph/examples/statistic/domaintypes/Sample.kt
MaibornWolff
139,985,029
false
{"Kotlin": 168533, "TypeScript": 132987, "JavaScript": 5400, "HTML": 1174, "Dockerfile": 390}
package de.maibornwolff.domainchoreograph.examples.statistic.domaintypes import com.fasterxml.jackson.annotation.JsonIgnore import de.maibornwolff.domainchoreograph.core.api.DomainDefinition @DomainDefinition data class Sample(val value: List<Int>) { val size: Int @JsonIgnore get() = value.size ...
16
Kotlin
0
1
863441f0df267dcbf9874c92771e104a8f60fe37
398
domainchoreograph
Apache License 2.0
app/src/main/java/com/copticomm/yunweibao/document/model/DocumentInfo.kt
delikely
202,367,753
true
{"Kotlin": 191673}
package com.copticomm.yunweibao.document.model import com.like.recyclerview.model.BaseListInfo class DocumentInfo : BaseListInfo { var name = ""// 电表名称 var address = ""// 电表地址 var xiaoQu = ""// 小区 var louDong = ""// 楼栋 var menPaiHao = ""// 门牌号 override fun equals(other: Any?): Boolean { ...
0
Kotlin
0
1
7c438d5312d06f22defc122fcf217b3767edb685
589
yunweibao
Apache License 2.0
library-mvvmlazy/src/main/java/com/rui/mvvmlazy/binding/viewadapter/recyclerview/LayoutManagers.kt
jirywell
418,722,038
false
{"Kotlin": 779701, "Java": 48117}
package com.rui.mvvmlazy.binding.viewadapter.recyclerview import androidx.annotation.IntDef import androidx.recyclerview.widget.GridLayoutManager import androidx.recyclerview.widget.LinearLayoutManager import androidx.recyclerview.widget.RecyclerView import androidx.recyclerview.widget.StaggeredGridLayoutManager impor...
0
Kotlin
7
27
b37dcb02d8b93699299aada9ec98a1c3ae10e346
5,129
MvvmLazy-kotlin
Apache License 2.0
samples-di/anvil/src/main/kotlin/dev/olshevski/navigation/reimagined/sample/anvil/repo/DemoRepository.kt
olshevski
455,126,442
false
{"Kotlin": 359651, "Shell": 242}
package dev.olshevski.navigation.reimagined.sample.anvil.repo interface DemoRepository
5
Kotlin
17
507
665ddfce244666e2a6679b9ca1a5363b49a623b7
87
compose-navigation-reimagined
MIT License
src/main/kotlin/Cell.kt
andeemarks
568,036,348
false
{"Kotlin": 44224}
open class Cell(val row: Int, val column: Int) { var west: Cell? = null var east: Cell? = null var south: Cell? = null var north: Cell? = null val links: MutableList<Cell> = mutableListOf() fun link(cell: Cell) { this.links.add(cell) cell.links.add(this) } fun unlink(ce...
0
Kotlin
0
0
8284b3e65e4783c22b99b76eb99cee01ff0439ed
1,681
mazes-kotlin
MIT License
src/main/kotlin/info/firozansari/parceldelivery/DeliveryType.kt
firozansar
445,798,203
false
{"Kotlin": 125172}
package info.firozansari.parceldelivery enum class DeliveryType { SameDay, TwoDays }
0
Kotlin
0
0
f570953f9c1108107675dec777a1f0355d8a5af5
90
Kotlin-TDD
The Unlicense
app/src/main/java/com/baimsg/contact/activity/AppViewModel.kt
baimsg
709,598,557
false
{"Kotlin": 118477}
package com.baimsg.contact.activity import androidx.lifecycle.ViewModel import dagger.hilt.android.lifecycle.HiltViewModel import javax.inject.Inject /** * Create by Baimsg on 2022/8/12 * **/ @HiltViewModel class AppViewModel @Inject constructor() : ViewModel() { }
0
Kotlin
0
0
425ea349bcbb7afde15855d8a9446ebbdb9e3abc
271
small-AB
Apache License 2.0
PWM - Aski/Progetto Aski - Android/GPSModule/app/src/main/java/it/am/gpsmodule/utils/NotificationReceiver.kt
Slenderman0039
669,456,723
false
{"Kotlin": 405201}
package it.am.gpsmodule.utils import android.app.AlarmManager import android.app.PendingIntent import android.content.BroadcastReceiver import android.content.Context import android.content.Intent import it.am.gpsmodule.R class NotificationReceiver : BroadcastReceiver() { companion object { var title:Str...
0
Kotlin
0
2
81ff85a85293e997daf72c9d51fed64a981385a9
1,307
Aski-Project
MIT License