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
src/main/kotlin/io/github/flaviolionelrita/lambdaorm/client/model/QueryResponse.kt
FlavioLionelRita
607,104,769
false
null
/** * * 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 io.github.flaviolionelrita.lambdaorm.cli...
0
Kotlin
0
0
a09f50d7097ac3ee1d72397f4a5b7926d38e38ca
486
lambdaorm-client-kotlin
MIT License
app/src/main/java/br/com/manoloneto/vnavenda/data/dao/ShoppingItemDao.kt
manoloneto
741,086,329
false
{"Kotlin": 6781}
package br.com.manoloneto.vnavenda.data.dao import androidx.room.* import br.com.manoloneto.vnavenda.data.entities.ShoppingItem import kotlinx.coroutines.flow.Flow @Dao interface ShoppingItemDao { @Query("SELECT * FROM shopping_items") fun getAllItems(): Flow<List<ShoppingItem>> @Query("SELECT * FROM sho...
0
Kotlin
0
0
318ab882b9799c578cfaa68e34cec2c59bc5f9b0
620
android-vnavenda
MIT License
app/src/main/java/br/com/manoloneto/vnavenda/data/dao/ShoppingItemDao.kt
manoloneto
741,086,329
false
{"Kotlin": 6781}
package br.com.manoloneto.vnavenda.data.dao import androidx.room.* import br.com.manoloneto.vnavenda.data.entities.ShoppingItem import kotlinx.coroutines.flow.Flow @Dao interface ShoppingItemDao { @Query("SELECT * FROM shopping_items") fun getAllItems(): Flow<List<ShoppingItem>> @Query("SELECT * FROM sho...
0
Kotlin
0
0
318ab882b9799c578cfaa68e34cec2c59bc5f9b0
620
android-vnavenda
MIT License
core/src/pl/shockah/godwit/color/LCHColor.kt
Shockah
72,736,272
false
null
package pl.shockah.godwit.color import pl.shockah.godwit.color.XYZColor.Companion.xyz import pl.shockah.godwit.ease.ease import pl.shockah.godwit.geom.Angle import pl.shockah.godwit.geom.Radians import kotlin.math.atan2 import kotlin.math.pow import kotlin.math.sqrt data class LCHColor( val l: Float, val c: Float...
0
Kotlin
0
0
e6290497e5f4780d2e2b337df8fb498a49c75087
2,670
Godwit
Apache License 2.0
domains/android/stub/src/testFixtures/kotlin/fake/FakeNotificationBuilder.kt
ouchadam
434,718,760
false
{"Kotlin": 461355, "JavaScript": 12445, "Shell": 1820}
package fake import android.app.Notification import io.mockk.every import io.mockk.mockk import test.delegateReturn class FakeNotificationBuilder { val instance = mockk<Notification.Builder>(relaxed = true) fun givenBuilds() = every { instance.build() }.delegateReturn() }
36
Kotlin
4
139
5a391676d0d482596fe5d270798c2b361dba67e7
283
small-talk
Apache License 2.0
src/main/kotlin/fr/phast/cql/services/providers/LibraryContentProviderImpl.kt
phast-fr
424,529,437
false
{"Kotlin": 69053}
/* * MIT License * * Copyright (c) 2021 PHAST * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, me...
0
Kotlin
0
0
b8e3da27d0b7e76eb85596ae8a217e597a074d35
3,109
cql-services
MIT License
core/src/main/java/id/rifqipadisiliwangi/core/domain/usecase/StoreUseCase.kt
Rifqips
767,860,717
false
{"Kotlin": 316033}
package id.rifqipadisiliwangi.core.domain.usecase import id.rifqipadisiliwangi.core.domain.model.detail.StoreDetailData import id.rifqipadisiliwangi.core.domain.model.fulfillment.FulfillmentRequest import id.rifqipadisiliwangi.core.domain.model.fulfillment.FulfillmentResponse import id.rifqipadisiliwangi.core.domain.m...
0
Kotlin
0
0
d3dcbf01c5155a6b761a2919c214bda5de0374a9
4,856
TokoPaerbe
MIT License
AndroidApp/app/src/main/java/pl/todoit/industrialAndroidWebAppHost/model/extensions/SoundPool.kt
d-p-y
249,801,428
false
null
package pl.todoit.industrialAndroidWebAppHost.model.extensions import android.media.SoundPool import timber.log.Timber import java.io.Closeable fun SoundPool.asClosable() : Closeable = Closeable { this.release() } fun SoundPool.playOnce(sndId : Int) { val zeroIfFailed = this.play(sndId, 1f, 1f, 0, 0, 1f) if ...
0
Kotlin
0
0
cf9a1312fdef17bb2aba98c6c1a39fe5502090b5
391
industrial-android-webapp-host
Apache License 2.0
Fragments/Configuration/SettingsRepository.kt
georeaper
852,383,858
false
{"Kotlin": 560550}
package com.gkprojects.cmmsandroidapp.Fragments.Configuration import android.content.Context import androidx.room.Insert import androidx.room.OnConflictStrategy import com.gkprojects.cmmsandroidapp.CMMSDatabase import com.gkprojects.cmmsandroidapp.Dao.SettingsDao import com.gkprojects.cmmsandroidapp.DataClasses.Settin...
0
Kotlin
0
0
ead876d15542a773f84db60d89a2360dc940b268
1,690
CMMSmobile
MIT License
core/ui/src/main/java/com/devfalah/ui/screen/profile/composable/AlbumSection.kt
Salmon-family
569,890,321
false
{"Kotlin": 837143}
package com.devfalah.ui.screen.profile.composable import androidx.compose.foundation.Image import androidx.compose.foundation.background import androidx.compose.foundation.layout.* import androidx.compose.foundation.shape.RoundedCornerShape import androidx.compose.material.Text import androidx.compose.runtime.Composab...
11
Kotlin
19
24
7589d73a400c78ecfa94b24d87189b4f5e01de9b
2,871
Clubs
Apache License 2.0
korge-core/test/korlibs/io/net/http/HttpTestExt.kt
korlibs
80,095,683
false
{"WebAssembly": 14293935, "Kotlin": 9728800, "C": 77092, "C++": 20878, "TypeScript": 12397, "HTML": 6043, "Python": 4296, "Swift": 1371, "JavaScript": 328, "Shell": 254, "CMake": 202, "CSS": 66, "Batchfile": 41}
package korlibs.io.net.http import korlibs.io.lang.UTF8 import korlibs.io.lang.toString import korlibs.io.stream.readAll suspend fun HttpBodyContent.toDebugString(): String { return "$contentType\n${this.createAsyncStream().readAll().toString(UTF8)}" }
444
WebAssembly
121
2,207
dc3d2080c6b956d4c06f4bfa90a6c831dbaa983a
259
korge
Apache License 2.0
ShowWmtProduct/app/src/main/java/com/example/showwmtproduct/ui/theme/Theme.kt
saga0086
594,338,181
false
{"Kotlin": 110752, "Java": 1348}
package com.example.showwmtproduct.ui.theme //import androidx.compose.foundation.isSystemInDarkTheme //import androidx.compose.material3.MaterialTheme //import androidx.compose.material3.darkColorScheme //import androidx.compose.material3.dynamicDarkColorScheme //import androidx.compose.material3.dynamicLightColorSche...
0
Kotlin
0
0
14358ca6e8c839d66bb502fd444720303ebf6758
1,904
android-small-project
Apache License 2.0
app/src/main/java/ci/projccb/mobile/activities/infospresenters/InspectionPreviewUpdateActivity.kt
SICADEVD
686,088,142
false
{"Kotlin": 1766967, "Java": 20374}
package ci.projccb.mobile.activities.infospresenters import android.graphics.Bitmap import android.graphics.BitmapFactory import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import androidx.recyclerview.widget.LinearLayoutManager import ci.projccb.mobile.R import ci.projccb.mobile.activities.form...
0
Kotlin
0
2
9a8837d033e4cf50b023450540e7af4ff7e4780c
4,680
ccbm
Apache License 2.0
app/src/main/java/com/nextgen/mygithubuserapp/ui/setting/SettingViewModel.kt
beranju
564,798,705
false
null
package com.nextgen.mygithubuserapp.ui.setting import androidx.lifecycle.* import kotlinx.coroutines.launch class SettingViewModel(private val pref: SettingPreferences) : ViewModel() { fun getThemeSettings():LiveData<Boolean>{ return pref.getThemeSetting().asLiveData() } fun saveThemeSettings(isD...
0
Kotlin
0
0
4dcf8fb470a497bbeadf3e372ee5c03462033f13
448
User-Of-Github
Apache License 2.0
app/src/test/kotlin/com/ceh9/portfolio/features/calculator/domain/MathEngineImplTest.kt
CeH9
202,865,791
false
null
package com.ceh9.portfolio.features.calculator.domain import org.hamcrest.CoreMatchers.`is` import org.hamcrest.MatcherAssert.assertThat import org.junit.Test /** * Created by CeH9 on 29.10.2019 */ class MathEngineImplTest { private val mathEngine: MathEngine = MathEngineImpl() @Test fun `multiply 2 b...
0
Kotlin
0
0
d4efdcffbee64a02cdb82d73d4f707f322964c40
566
Portfolio
MIT License
identity/src/main/java/com/stripe/android/identity/viewmodel/FrontBackUploadViewModel.kt
vaibhavantil2
467,840,474
true
{"Kotlin": 5114452, "Java": 67363, "Shell": 14657, "Python": 1729, "Ruby": 1280}
package com.stripe.android.identity.viewmodel import android.content.Context import android.net.Uri import androidx.activity.result.ActivityResultCaller import androidx.activity.result.ActivityResultLauncher import androidx.lifecycle.LiveData import androidx.lifecycle.MediatorLiveData import androidx.lifecycle.Mutable...
0
Kotlin
0
0
52a37829e06439fa55d837423922f57265a9816f
6,179
stripe-android
MIT License
app/src/main/java/it/bosler/remotealarm/MainActivity.kt
maribox
736,473,741
false
{"Kotlin": 25495}
package it.bosler.remotealarm import android.os.Bundle import androidx.activity.ComponentActivity import androidx.activity.compose.setContent import androidx.activity.viewModels import androidx.compose.runtime.collectAsState import androidx.compose.runtime.getValue import androidx.lifecycle.ViewModel import androidx.l...
0
Kotlin
0
0
cc4da14861653d1e4b8cd8c24cb30e9bdb70682e
1,407
RemoteAlarm
MIT License
app/src/main/java/com/powelllaboratoriesfsm/features/NewQuotation/interfaces/TaxOnclick.kt
DebashisINT
558,285,083
false
null
package com.powelllaboratoriesfsm.features.NewQuotation.interfaces import com.powelllaboratoriesfsm.app.domain.NewOrderGenderEntity interface TaxOnclick { fun OnClick(obj:String) }
0
Kotlin
0
0
9ca14a68e2c8a2958dc6d7dd00f4b6471dd95c1f
186
PowellLaboratories
Apache License 2.0
sample/src/commonMain/kotlin/com/mmk/kmpnotifier/sample/AppInitializer.kt
mirzemehdi
717,626,777
false
{"Kotlin": 33042, "Ruby": 2108, "Swift": 1582}
package com.mmk.kmpnotifier.sample import com.mmk.kmpnotifier.notification.NotifierManager import com.mmk.kmpnotifier.notification.PayloadData object AppInitializer { fun onApplicationStart() { onApplicationStartPlatformSpecific() NotifierManager.addListener(object : NotifierManager.Listener { ...
9
Kotlin
5
97
30146d54821565000b3b5354cf04f20ff80517b1
1,122
KMPNotifier
Apache License 2.0
android/scripts/src/test/kotlin/com/github/pgreze/versions/VersionsStripperTest.kt
pgreze
535,231,537
false
{"Kotlin": 33443}
package com.github.pgreze.versions import com.google.common.truth.Truth.assertThat import kotlinx.coroutines.runBlocking import org.junit.jupiter.api.Test class VersionsStripperTest { @Test fun `strip after XX versions`(): Unit = runBlocking { val lines = VERSIONS_LONG.split("\n") .stripV...
0
Kotlin
2
4
ad83259e9632c65c6d021f730a7248712601f68a
4,126
kotlin-ci
Apache License 2.0
core/ui/src/main/kotlin/de/tum/informatics/www1/artemis/native_app/core/ui/LocalLinkOpener.kt
ls1intum
537,104,541
false
{"Kotlin": 1958386, "Dockerfile": 1306, "Shell": 1187}
package de.tum.informatics.www1.artemis.native_app.core.ui import androidx.compose.runtime.ProvidableCompositionLocal import androidx.compose.runtime.compositionLocalOf /** * Local provider to open links from the UI. Currently provided by [de.tum.informatics.www1.artemis.native_app.android.ui.MainActivity]. */ val ...
12
Kotlin
0
6
dd4b99ab6a143b669d3db20af45dbe533c650bd4
700
artemis-android
MIT License
save-backend/src/main/kotlin/org/cqfn/save/backend/controllers/DownloadFilesController.kt
cqfn
300,279,336
false
null
package org.cqfn.save.backend.controllers import org.cqfn.save.agent.TestExecutionDto import org.cqfn.save.backend.ByteArrayResponse import org.cqfn.save.backend.repository.AgentRepository import org.cqfn.save.backend.repository.TestDataFilesystemRepository import org.cqfn.save.backend.repository.TimestampBasedFileSys...
97
Kotlin
0
15
c381c6fd4d9c12178de79da4818220b724a15596
7,217
save-cloud
MIT License
2021/app/src/test/kotlin/net/sympower/aok2021/tonis/Day03Test.kt
tonisojandu
573,036,346
false
{"Rust": 113625, "Kotlin": 15806, "Shell": 1265}
package net.sympower.aok2021.tonis import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Test class Day03Test { @Test fun test01() { val consumption = day03Part01("/Day03Test.in") assertThat(consumption).isEqualTo(198) } @Test fun test02() { val lifeSupportRating = da...
0
Rust
0
0
4154c0fd74ef0c933491498a14548afcdd1df414
402
to-advent-of-code
MIT License
IPassPlusSdk/src/main/java/com/sdk/ipassplussdk/model/response/ceon/PostCeon/Google.kt
yazanalqasem
808,584,767
false
{"Kotlin": 308101, "Java": 4759}
package com.sdk.ipassplussdk.model.response.ceon.PostCeon data class Google( val photo: String, val registered: Boolean )
0
Kotlin
0
0
1fc3247607811f7f52e1d401c252b82e2c98c3a8
130
iPass2.0NativeAndroidSDK
Apple MIT License
src/main/kotlin/org/hoss/repositories/PayDatesRepository.kt
HOSSVILLE
310,470,615
false
null
package org.hoss.repositories import io.micronaut.data.jdbc.annotation.JdbcRepository import io.micronaut.data.model.query.builder.sql.Dialect import io.micronaut.data.repository.CrudRepository import org.hoss.models.PayDates import org.hoss.models.Payee import java.util.* @JdbcRepository(dialect = Dialect.POSTGRES) ...
0
Kotlin
0
0
176584f2b7e3b76a466c82e67380bdaeecc16b8a
427
personal-bill-trakker-kotlin
Apache License 2.0
PagerAdapter.kt
AtifAbbAsi19
289,652,733
false
null
import androidx.annotation.NonNull import androidx.fragment.app.Fragment import androidx.fragment.app.FragmentActivity import androidx.fragment.app.FragmentManager import androidx.fragment.app.FragmentPagerAdapter.BEHAVIOR_RESUME_ONLY_CURRENT_FRAGMENT import androidx.fragment.app.FragmentStatePagerAdapter import andr...
0
Kotlin
0
1
801321ea4e2b22c86ed9b1d699463948497135bb
1,124
ViewPager2
Apache License 2.0
src/main/kotlin/com/redrield/units/conversions/MassConversions.kt
Redrield
195,331,813
false
null
package com.redrield.units.conversions import com.redrield.units.Kilogram import com.redrield.units.SIConstants import com.redrield.units.SIUnit val SIUnit<Kilogram>.yottagram get() = value / SIConstants.kYottaOffsetKilo val SIUnit<Kilogram>.zettagram get() = value / SIConstants.kZettaOffsetKilo val SIUnit<Kilogram>....
0
Kotlin
0
1
c536fbaf781558bd20e6e0568d44f06940827b97
1,682
yaul
Apache License 2.0
app/src/main/java/eu/kanade/data/history/anime/AnimeHistoryRepositoryImpl.kt
AniFOSS
377,170,228
true
{"Kotlin": 4060627}
package eu.kanade.data.history.anime import eu.kanade.data.handlers.anime.AnimeDatabaseHandler import eu.kanade.domain.history.anime.model.AnimeHistoryUpdate import eu.kanade.domain.history.anime.model.AnimeHistoryWithRelations import eu.kanade.domain.history.anime.repository.AnimeHistoryRepository import eu.kanade.ta...
1
Kotlin
0
0
08787976b43da6e02207081e1ecccb7fcd89c307
2,184
aniyomi
Apache License 2.0
app/src/main/java/com/shahin/meistersearch/data/Repository.kt
shahin68
369,420,907
false
null
package com.shahin.meistersearch.data import androidx.paging.PagingData import com.shahin.meistersearch.data.local.models.relations.project_section.ProjectWithSections import com.shahin.meistersearch.data.local.models.relations.project_section.SectionWithProjects import com.shahin.meistersearch.data.local.models.relat...
0
Kotlin
0
0
c04a20438794ed2feb4faf8b4bd38614a141c968
1,134
meister-challenge
MIT License
src/main/kotlin/me/zhiyao/hexo/Main.kt
WangZhiYao
328,140,572
false
null
package me.zhiyao.hexo import me.zhiyao.hexo.exts.logger import me.zhiyao.hexo.network.BingCrawler import me.zhiyao.hexo.post.PostMaker class Main { companion object { @JvmStatic fun main(args: Array<String>) { val logger = logger() val bingImage = BingCrawler.getImage() ...
0
Kotlin
0
0
44725a5c451dd52060612ca5b82da30e20fb6dce
648
HexoBingPostMaker
MIT License
graph/graph-application/src/main/kotlin/eu/tib/orkg/prototype/statements/domain/model/ExtractionMethod.kt
TIBHannover
197,416,205
false
{"Kotlin": 2439902, "Cypher": 212135, "Python": 4880, "Groovy": 1936, "Shell": 1803, "HTML": 240}
package eu.tib.orkg.prototype.statements.domain.model enum class ExtractionMethod { AUTOMATIC, MANUAL, UNKNOWN }
0
Kotlin
2
5
8739ce33adc28e780a0c98771cd0c91b63dc922a
126
orkg-backend
MIT License
app/src/main/java/com/cdev/showtracker/category/CategoryContract.kt
gyorgygabor
87,455,684
false
null
package com.cdev.showtracker.category import com.cdev.showtracker.BasePresenter import com.cdev.showtracker.BaseView import com.cdev.showtracker.model.Category interface CategoryContract { interface Presenter : BasePresenter<View> { fun loadCategories() } interface View : BaseView { fun ...
0
Kotlin
0
0
08d66dcd78908266b97bf3096582eed813d2163f
504
ShowTrackerMVP
MIT License
bluetape4k/testcontainers/src/test/kotlin/io/bluetape4k/testcontainers/llm/OllamaServerTest.kt
debop
625,161,599
false
{"Kotlin": 7504333, "HTML": 502995, "Java": 2273, "JavaScript": 1351, "Shell": 1301, "CSS": 444, "Dockerfile": 121, "Mustache": 82}
package io.bluetape4k.testcontainers.llm import io.bluetape4k.logging.KLogging import io.bluetape4k.logging.debug import io.restassured.RestAssured.given import org.amshove.kluent.shouldBeEqualTo import org.amshove.kluent.shouldContain import org.junit.jupiter.api.Test import org.testcontainers.utility.Base58 import o...
0
Kotlin
0
1
ce3da5b6bddadd29271303840d334b71db7766d2
2,188
bluetape4k
MIT License
library/src/main/kotlin/eu/tib/orkg/prototype/statements/application/ObjectController.kt
TIBHannover
197,416,205
false
null
package eu.tib.orkg.prototype.statements.application import eu.tib.orkg.prototype.statements.api.ResourceRepresentation import eu.tib.orkg.prototype.statements.api.ResourceUseCases import eu.tib.orkg.prototype.community.domain.model.ObservatoryId import eu.tib.orkg.prototype.community.domain.model.OrganizationId impor...
0
Kotlin
1
4
84e17adb51e35e7123e1d853d49ae1d8ea95d400
6,465
orkg-backend
MIT License
compose-dot/src/main/kotlin/dev/arunkumar/compose/dot/Dot.kt
arunkumar9t2
364,978,130
false
null
package dev.arunkumar.compose.dot import androidx.compose.runtime.Composable import androidx.compose.runtime.Composition import androidx.compose.runtime.Recomposer import dev.arunkumar.dot.* import kotlinx.coroutines.Dispatchers @DslMarker annotation class DotDslScope @DotDslScope inline class DotGraphScope(val dotG...
0
Kotlin
0
31
40a5c9fc0e44c5bc98b90efd901a4c615af94074
1,512
compose-dot
Apache License 2.0
stripe-ui-core/src/main/java/com/stripe/android/uicore/elements/PhoneNumberElement.kt
stripe
6,926,049
false
{"Kotlin": 11893047, "Java": 70838, "Ruby": 22569, "Python": 21716, "Shell": 20293, "HTML": 7519}
package com.stripe.android.uicore.elements import androidx.annotation.RestrictTo @RestrictTo(RestrictTo.Scope.LIBRARY_GROUP_PREFIX) data class PhoneNumberElement( override val identifier: IdentifierSpec, override val controller: PhoneNumberController ) : SectionSingleFieldElement(identifier)
126
Kotlin
629
1,227
c351d4adda26782202e3844f9bbbe556e80bdd76
303
stripe-android
MIT License
app/src/main/java/com/example/mycocktailsexpert/domain/drinks/usecases/SearchDrinksUseCase.kt
alexaniko88
777,171,389
false
{"Kotlin": 38706}
package com.example.mycocktailsexpert.domain.drinks.usecases import com.example.mycocktailsexpert.domain.drinks.entities.MyDrinks interface SearchDrinksUseCase { suspend fun execute(searchText: String): MyDrinks }
0
Kotlin
0
1
f4bee0f9b32bce334a9704164b313ce86e4268d2
220
MyCocktailsExpert
MIT License
sparkrecyclerview/src/main/java/com/louisfn/sparkrecyclerview/SparkItem.kt
LouisFn
284,340,133
false
null
package com.louisfn.sparkrecyclerview internal data class SparkItem<E>( var element: E? = null, var isHeader: Boolean = false, var isFooter: Boolean = false ) { val isHeaderOrFooter get() = isHeader || isFooter }
0
Kotlin
0
0
96f8760e4075b43925ddcc423e2cc7c48d995b6b
239
SparkRecyclerView
Apache License 2.0
app/src/main/java/com/example/weatherapp/data/WeatherResponse.kt
Christinepeng
840,926,905
false
{"Kotlin": 21106}
package com.example.weatherapp.data import androidx.room.Entity import androidx.room.PrimaryKey data class WeatherResponse( val main: Main, val weather: List<Weather>, val name: String ) data class Main( val temp: Double, val humidity: Int ) data class Weather( val description: String, v...
0
Kotlin
0
0
0a84bca30319e1eaa0ea5e3024a5d80a2d05faec
617
WeatherApp
Apache License 2.0
samples/src/main/kotlin/samples/SpawnSingleProcess.kt
aarangop
618,418,716
false
null
/* * Copyright (c) 2023. <NAME> <<EMAIL>> * * You may use, distribute and modify this code under the terms of the MIT license. */ package samples import Environment import process.SimProcess fun main() { // Create environment val env = Environment() val simpleProcess = SimProcess(env, sequence { ...
5
Kotlin
0
0
0424d803419e52da6abd6df957c4134f37c78e03
616
k-DESim
MIT License
app/src/main/java/com/ddiehl/rgsc/utils/ViewGroupExtensions.kt
damien5314
18,043,613
false
null
package com.ddiehl.rgsc.utils import android.view.View import android.view.ViewGroup import java.util.* fun ViewGroup.getChildren(): Iterable<View> { var list = ArrayList<View>() for (i in 0..childCount-1) list.add(getChildAt(i)) return list }
0
Kotlin
0
0
02615b7a1b2ce333c213852d7897aea57694a01c
257
RhythmGameScoreCalculator
Apache License 2.0
app/src/main/java/tj/boronov/farhang/ui/phrasebook/category/CategoryViewModel.kt
intoxication
375,275,467
false
null
package tj.boronov.farhang.ui.phrasebook.category import androidx.lifecycle.MutableLiveData import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import androidx.paging.Pager import androidx.paging.PagingConfig import androidx.paging.PagingSource import androidx.paging.cachedIn import tj.boronov...
0
null
0
0
775048d37136e72ee23af6bcef6366d43521b9f1
1,310
farhang
MIT License
src/main/kotlin/validations/LengthValidation.kt
davidisla
523,437,654
false
null
package validations class LengthValidation(private val length: Int) : Validation { override fun invoke(pattern: String): Boolean = pattern.length < length }
0
Kotlin
0
0
8b89d1e5b41784b089278e1f0d5133a9d74bd2d1
169
kataPasswordValidation
Apache License 2.0
player/src/main/java/com/kafka/player/queue/PlayerQueue.kt
compose-forks
271,084,093
false
{"Kotlin": 266767, "Java": 11357}
package com.kafka.player.queue //package com.kafka.player.queue // //import com.kafka.player.model.PlaybackItem //import com.kafka.player.model.PlayerHead // //interface PlayerQueue { // // fun init(item: PlaybackItem, head: PlayerHead?) // // fun currentSong(): PlaybackItem? // // fun head(): PlayerHead? // ...
0
null
0
0
a528ca24c799f7f896cab65d2b2a0f8c11a7d2fd
856
Kafka
Apache License 2.0
dsl/src/main/kotlin/com/faendir/awscdkkt/generated/services/iam/CfnAccessKeyPropsDsl.kt
F43nd1r
643,016,506
false
null
package com.faendir.awscdkkt.generated.services.iam import com.faendir.awscdkkt.AwsCdkDsl import javax.`annotation`.Generated import kotlin.Unit import software.amazon.awscdk.services.iam.CfnAccessKeyProps @Generated public fun buildCfnAccessKeyProps(initializer: @AwsCdkDsl CfnAccessKeyProps.Builder.() -> Unit): ...
1
Kotlin
0
0
a1cf8fbfdfef9550b3936de2f864543edb76348b
395
aws-cdk-kt
Apache License 2.0
source-downloader-core/src/main/kotlin/xyz/shoaky/sourcedownloader/core/file/PersistentSourceContent.kt
shoaky009
607,575,763
false
null
package xyz.shoaky.sourcedownloader.core.file import xyz.shoaky.sourcedownloader.sdk.MapPatternVariables import xyz.shoaky.sourcedownloader.sdk.SourceContent import xyz.shoaky.sourcedownloader.sdk.SourceItem data class PersistentSourceContent( override val sourceItem: SourceItem, override val sourceFiles: Lis...
1
Kotlin
0
5
16c265c082112aad122bb8a59cad6308e35da098
409
source-downloader
Apache License 2.0
app/src/main/java/com/asb/presentation/auth/ProgramActivity.kt
rizkyhamdhany
243,784,183
false
null
package com.asb.presentation.auth import android.os.Bundle import androidx.lifecycle.MutableLiveData import androidx.lifecycle.Observer import androidx.lifecycle.liveData import androidx.lifecycle.switchMap import com.asb.android.R import com.asb.core.model.MedcekRespond import com.asb.core.model.ProgramPostData impor...
0
Kotlin
0
0
42a6ef0d5ae6bb2ba1fdc4a12b6aea932c60f92d
3,235
asb-android
Apache License 2.0
roboquant-jupyter/src/test/kotlin/org/roboquant/jupyter/PriceChartTest.kt
neurallayer
406,929,056
false
null
/* * Copyright 2020-2023 Neural Layer * * 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 agr...
17
Kotlin
29
217
2b8f0cfcb12718d6a615eea4397b7c8dd91c1bfc
1,374
roboquant
Apache License 2.0
src/main/kotlin/org/skellig/plugin/language/teststep/psi/impl/SkelligTestStepFunctionImpl.kt
skellig-framework
309,154,374
false
null
package org.skellig.plugin.language.teststep.psi.impl import com.intellij.lang.ASTNode import com.intellij.psi.PsiElement import org.skellig.plugin.language.teststep.psi.SkelligTestStepElementVisitor interface SkelligTestStepFunction : PsiElement { } class SkelligTestStepFunctionImpl(node: ASTNode) : SkelligTestSte...
0
Kotlin
0
1
9eb8fef6f1054bcd0a3cbc4fcbefbebe64655397
576
skellig-intellij-plugin
Apache License 2.0
src/main/kotlin/io/openfuture/chain/rpc/validation/TransferTransactionValidator.kt
OpenFuturePlatform
135,143,034
false
{"Kotlin": 466643, "Dockerfile": 210, "Shell": 74}
package io.openfuture.chain.rpc.validation import io.openfuture.chain.rpc.domain.transaction.request.TransferTransactionRequest import io.openfuture.chain.rpc.validation.annotation.TransferTransaction import javax.validation.ConstraintValidator import javax.validation.ConstraintValidatorContext class TransferTransact...
2
Kotlin
16
64
f7e511b3ba17cc75d7f23618008dd89a7b83c4c0
579
open-chain
MIT License
FitLifeIn30Days/app/src/main/java/com/example/fitlifein30days/workout/WorkoutViewModel.kt
atakan-ozkan
732,440,741
false
{"Kotlin": 42044}
package com.example.fitlifein30days import android.content.Context import androidx.lifecycle.ViewModel import org.xmlpull.v1.XmlPullParser import java.io.IOException class WorkoutViewModel (context: Context) : ViewModel(){ private val workoutsForMale = listOf( WorkoutModel(R.drawable.benchpressman, "Bench...
0
Kotlin
0
0
ffc0fb645d26491a1495a9de4a7b6a53cb4a10ac
4,677
comp319a-2023f-assign3
MIT License
litho-core/src/main/java/com/facebook/litho/cancellation/FutureCancelledByPolicyException.kt
philIip
627,174,901
true
{"Java Properties": 57, "Markdown": 81, "Gradle": 81, "Shell": 17, "Text": 2, "Batchfile": 12, "Starlark": 174, "Ignore List": 7, "Java": 1639, "XML": 157, "Kotlin": 881, "YAML": 6, "C": 2, "C++": 41, "CMake": 3, "Proguard": 10, "JavaScript": 7, "JSON": 1, "SVG": 14, "HTML": 1211, "CSS": 1, "SCSS": 2, "MDX": 70, "INI":...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * 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 appl...
0
null
0
0
c66f7760ef0ca91232b44955881139c333121438
935
litho
Apache License 2.0
backend/src/main/kotlin/com/project/nanuriserver/domain/post/exception/InvalidCategoryException.kt
hackersground-kr
847,204,786
false
{"Kotlin": 75137, "TypeScript": 69688, "Bicep": 5862, "HTML": 1652, "CSS": 1371, "Shell": 89}
package com.project.nanuriserver.domain.post.exception import com.project.nanuriserver.domain.post.exception.error.PostError import com.project.nanuriserver.global.exception.BusinessException object InvalidCategoryException : BusinessException(PostError.INVALID_CATEGORY) { private fun readResolve(): Any = Invalid...
0
Kotlin
3
2
10faf92c3a3ea48bdf7ab991d532e405ad88d223
340
hg-Team-azure-love
MIT License
src/main/kotlin/org/cryptobiotic/eg/core/ecgroup/EcGroupContext.kt
JohnLCaron
760,153,500
false
{"Kotlin": 1064430, "C": 26235}
package org.cryptobiotic.eg.core.ecgroup import org.cryptobiotic.eg.core.* import java.math.BigInteger class EcGroupContext(val name: String, useNative: Boolean = true): GroupContext { val vecGroup: VecGroup = VecGroups.getEcGroup(name, useNative) val ONE = EcElementModP(this, vecGroup.ONE) override val...
0
Kotlin
0
0
2acaeac9d4b6db99dd3d98165606154ccbb563e4
3,935
egk-ec
MIT License
kstatemachine/src/main/kotlin/ru/nsk/kstatemachine/TransitionDirection.kt
Obighbyd
427,186,102
false
null
package ru.nsk.kstatemachine sealed class TransitionDirection { open val targetState: IState? = null } /** * [Transition] is triggered, but state is not changed */ internal object Stay : TransitionDirection() fun stay(): TransitionDirection = Stay /** * [Transition] should not be triggered */ internal objec...
0
Kotlin
0
0
49654e06121d1769049d3428600a12f90e194ffa
645
kstatemachine
Boost Software License 1.0
src/main/kotlin/cn/rtast/rob/entity/Message.kt
RTAkland
848,228,984
false
{"Kotlin": 108404}
/* * Copyright © 2024 RTAkland * Author: RTAkland * Date: 2024/8/26 */ package cn.rtast.rob.entity import cn.rtast.rob.ROneBotFactory import cn.rtast.rob.ROneBotFactory.actionCoroutineScope import cn.rtast.rob.actionable.MessageActionable import cn.rtast.rob.entity.lagrange.ForwardMessageId import cn.rtast.rob.u...
0
Kotlin
0
1
fd3c166d03f2f2f12b407821391c9f58837c81e0
3,728
ROneBot
Apache License 2.0
mvi-test-util/src/main/kotlin/dev/sunnyday/arch/mvi/test/ConstructorRule.kt
SunnyDayDev
613,837,799
false
null
package dev.sunnyday.arch.mvi.test import io.mockk.Matcher import io.mockk.MockKGateway import io.mockk.every import kotlin.reflect.KClass @Suppress("UnusedEquals") class ConstructorRule<T: Any>( private val marker: Any, private val matchers: Array<Matcher<*>>, private val klass: KClass<T>, ) { fun v...
13
Kotlin
0
1
30d3e472138d9797d9eda0363c7aae052e89623c
1,375
arch-mvi
MIT License
viewmodel/src/commonMain/kotlin/tech/skot/libraries/map/MapLogger.kt
skot-framework
416,366,518
false
{"Kotlin": 156431}
package tech.skot.libraries.map import tech.skot.core.SKLogger object MapLogger : SKLogger("sk-map")
0
Kotlin
1
0
9fb2c59c672cb1fad467c968d70c8d7b5040dfd4
102
sk-map
Apache License 2.0
dsl/src/main/kotlin/com/faendir/awscdkkt/generated/services/cloud9/RepositoryPropertyDsl.kt
F43nd1r
643,016,506
false
null
package com.faendir.awscdkkt.generated.services.cloud9 import com.faendir.awscdkkt.AwsCdkDsl import javax.`annotation`.Generated import kotlin.Unit import software.amazon.awscdk.services.cloud9.CfnEnvironmentEC2 @Generated public fun buildRepositoryProperty(initializer: @AwsCdkDsl CfnEnvironmentEC2.RepositoryProp...
1
Kotlin
0
0
e08d201715c6bd4914fdc443682badc2ccc74bea
463
aws-cdk-kt
Apache License 2.0
feature-governance-api/src/main/java/io/novafoundation/nova/feature_governance_api/data/network/blockhain/model/PreImage.kt
novasamatech
415,834,480
false
{"Kotlin": 11112596, "Rust": 25308, "Java": 17664, "JavaScript": 425}
package io.novafoundation.nova.feature_governance_api.data.network.blockhain.model import io.novasama.substrate_sdk_android.runtime.definitions.types.generics.GenericCall class PreImage(val encodedCall: ByteArray, val call: GenericCall.Instance)
14
Kotlin
30
50
166755d1c3388a7afd9b592402489ea5ca26fdb8
248
nova-wallet-android
Apache License 2.0
feature-governance-api/src/main/java/io/novafoundation/nova/feature_governance_api/data/network/blockhain/model/PreImage.kt
novasamatech
415,834,480
false
{"Kotlin": 11112596, "Rust": 25308, "Java": 17664, "JavaScript": 425}
package io.novafoundation.nova.feature_governance_api.data.network.blockhain.model import io.novasama.substrate_sdk_android.runtime.definitions.types.generics.GenericCall class PreImage(val encodedCall: ByteArray, val call: GenericCall.Instance)
14
Kotlin
30
50
166755d1c3388a7afd9b592402489ea5ca26fdb8
248
nova-wallet-android
Apache License 2.0
skiko/src/commonMain/kotlin/org/jetbrains/skiko/SkikoView.kt
JetBrains
282,864,178
false
null
package org.jetbrains.skiko @Deprecated( message = "Replaced with SkikoRenderDelegate", replaceWith = ReplaceWith("SkikoRenderDelegate") ) typealias SkikoView = SkikoRenderDelegate @Deprecated( message = "Replaced with SkiaLayerRenderDelegate", replaceWith = ReplaceWith("SkiaLayerRenderDelegate") ) ty...
23
null
118
1,821
bbfaf62256fcf0255ac2b5846223f27c43dbfb00
371
skiko
Apache License 2.0
vire-stdlib/src/main/kotlin/net/voxelpi/vire/stdlib/kernel/Adders.kt
VoxelPi
700,036,011
false
{"Kotlin": 424819}
package net.voxelpi.vire.stdlib.kernel import net.voxelpi.vire.engine.kernel.Kernel import net.voxelpi.vire.engine.kernel.KernelProvider import net.voxelpi.vire.engine.kernel.kernel import net.voxelpi.vire.engine.kernel.variable.InputScalar import net.voxelpi.vire.engine.kernel.variable.OutputScalar import net.voxelpi...
1
Kotlin
0
0
5ecadbfc298061e5fc680c37c93784ff4184fef8
1,902
Vire
MIT License
common/src/main/java/com/jonnyzzz/teamcity/plugins/node/common/GruntBean.kt
jonnyzzz
7,573,978
false
null
/* * Copyright 2013-2015 <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 w...
60
null
51
306
9ef42088b96dad0d1e721dafedf394d8f4bad124
1,758
TeamCity.Node
Apache License 2.0
ui/src/main/kotlin/com/mephistolie/compost/ui/textfields/TextField.kt
mephistolie
529,561,862
false
{"Kotlin": 69974, "Shell": 330}
package com.mephistolie.compost.ui.textfields import androidx.compose.foundation.interaction.Interaction import androidx.compose.foundation.interaction.MutableInteractionSource import androidx.compose.foundation.layout.PaddingValues import androidx.compose.foundation.text.BasicTextField import androidx.compose.foundat...
0
Kotlin
0
15
2c2becb815a4d108db271d15c5aa4bb65add639a
7,337
compost
MIT License
android/src/main/java/com/audienzzrn/RCTOriginalInterstitialView.kt
audienzz
756,759,703
false
{"Kotlin": 82981, "Objective-C": 74969, "TypeScript": 54280, "Ruby": 3820, "JavaScript": 2122, "Objective-C++": 817, "C": 103}
package com.audienzz /* Copyright 2024 Audienzz AG 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...
0
Kotlin
0
0
e47b568680b339c51b137bda901cb86fffbeef29
4,832
audienzz-rn-sdk
Apache License 2.0
src/Main.kt
cjfuller
442,845,718
false
{"Kotlin": 34397}
package kargo import kotlinx.cli.ArgParser import kotlinx.cli.ArgType import kotlinx.cli.ExperimentalCli import kotlinx.cli.Subcommand import kotlin.io.path.Path @ExperimentalCli fun main(args: Array<String>) { val parser = ArgParser("kargo") class Init : Subcommand("init", "Required first-time setup") { ...
1
Kotlin
0
1
d622c90c603b7eaa88cb5039cb5b70be6b9309dc
2,621
kargo
Apache License 2.0
kt-api/src/main/kotlin/com/firebase/wrapper/admin/firestore/QueryDocumentSnapshot.kt
xebia-france
150,782,121
false
null
package com.firebase.wrapper.admin.firestore import com.firebase.wrapper.admin.firestore.DocumentSnapshot external interface QueryDocumentSnapshot : DocumentSnapshot
0
Kotlin
0
2
7042e20f5f1bb75f3542a4433b195f5ba2a5b1f3
168
mdk-kotlinjs
Apache License 2.0
src/test/kotlin/FetchTransactionAddressTest.kt
rench
130,037,838
false
{"CSS": 859461, "HTML": 42906, "Kotlin": 26453, "JavaScript": 6782}
import com.alibaba.fastjson.JSON import com.github.rench.ddw.rpc.RpcApi.web3j import com.sun.xml.internal.ws.util.CompletedFuture import org.junit.Test import org.web3j.protocol.Web3j import org.web3j.protocol.core.DefaultBlockParameter import org.web3j.protocol.core.DefaultBlockParameterName import org.web3j.protocol....
0
CSS
0
4
4a5f4e6cb9a54cc13653394cb29dde06748690ec
2,765
phi-ddw
MIT License
src/main/kotlin/io/kanro/idea/plugin/protobuf/aip/reference/contributor/AipReferenceContributor.kt
yuxin-zhao
359,704,598
true
{"Kotlin": 311223, "Lex": 6288, "Java": 730}
package io.kanro.idea.plugin.protobuf.aip.reference.contributor import com.intellij.patterns.PlatformPatterns import com.intellij.psi.PsiElement import com.intellij.psi.PsiReference import com.intellij.psi.PsiReferenceContributor import com.intellij.psi.PsiReferenceProvider import com.intellij.psi.PsiReferenceRegistra...
0
null
0
0
43fd148d80b7d11c17b12fb2be7df5b1fd68dba4
5,185
intellij-protobuf-plugin
Apache License 2.0
core/src/main/java/kekmech/ru/core/dto/NoteNative.kt
NuvaltsevAA
249,189,732
true
{"Kotlin": 355287, "Shell": 46}
package kekmech.ru.core.dto import androidx.room.* import com.google.gson.annotations.SerializedName import org.jetbrains.annotations.NotNull @Entity( tableName = "notes", indices = [Index( value = ["id"], unique = true )] ) data class NoteNative( @ColumnInfo(name = "couple_id") va...
0
null
0
0
94bd394725e495a13f818e94f674a5353dd29bcb
849
mpeiapp
MIT License
app/src/main/kotlin/batect/config/ImageSource.kt
Tzrlk
281,249,203
true
{"Kotlin": 2896181, "Python": 25357, "Groovy": 22956, "Shell": 19774, "PowerShell": 6999, "Dockerfile": 5707, "Batchfile": 3162, "Java": 1310, "HTML": 500}
/* Copyright 2017-2020 Charles Korn. 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...
0
null
0
0
b1321a0acbd2ba896c3024801d509259d96bfa6d
995
batect
Apache License 2.0
app/src/androidTest/java/net/skyscanner/backpack/button/BpkButtonTest.kt
Skyscanner
117,813,847
false
null
/** * Backpack for Android - Skyscanner's Design System * * Copyright 2018 Skyscanner Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE...
7
Kotlin
22
62
160a3d32ba223295498a09c86f38f5b2bc46aa89
6,642
backpack-android
Apache License 2.0
model-d-control-core/src/test/kotlin/nl/breun/model_d/core/ModelDTest.kt
breun
92,437,248
false
{"Kotlin": 32029, "Shell": 7272, "Batchfile": 5127}
package nl.breun.model_d.core import com.nhaarman.mockito_kotlin.any import com.nhaarman.mockito_kotlin.doAnswer import com.nhaarman.mockito_kotlin.doReturn import com.nhaarman.mockito_kotlin.mock import io.github.benas.randombeans.api.EnhancedRandom.random import nl.breun.model_d.core.parameter.* import org.assertj.c...
0
Kotlin
0
0
e820e12b22bc2fbc5d8cfd9bae30ab1cea879bf1
13,054
model-d-control
Apache License 2.0
03/MasterDetail/app/src/main/java/com/lfg/masterdetail/fragments/ContainerFragment.kt
leonelgomez1990
402,218,277
false
null
package com.lfg.masterdetail.fragments import androidx.lifecycle.ViewModelProvider import android.os.Bundle import androidx.fragment.app.Fragment import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.viewpager2.widget.ViewPager2 import com.google.android.material.tab...
0
Kotlin
0
0
ce39f62befef83d53a3809411dbf60c2dcd410cc
1,868
kotlin1
MIT License
shared/src/commonMain/kotlin/dev/vengateshm/kmpudemycourseapp/articles/di/ArticlesModule.kt
vengateshm
767,983,517
false
{"Kotlin": 36800, "Swift": 6537}
package dev.vengateshm.kmpudemycourseapp.articles.di import dev.vengateshm.kmpudemycourseapp.articles.data.ArticleRepository import dev.vengateshm.kmpudemycourseapp.articles.data.ArticlesDataSource import dev.vengateshm.kmpudemycourseapp.articles.data.ArticlesService import dev.vengateshm.kmpudemycourseapp.articles.do...
0
Kotlin
0
1
a6c1224efc9db820c8d99c3444e6e5cc35167497
783
KMP-Udemy-Course-Practice
Apache License 2.0
app/src/main/java/JandD/zinify/MainActivity.kt
KST-JD
422,671,215
false
null
package JandD.zinify import JandD.zinify.gallery.GalleryActivity import android.Manifest import android.content.Intent import android.content.pm.PackageManager import android.graphics.Bitmap import android.net.Uri import android.os.Bundle import android.util.Log import android.view.MotionEvent import android.view.Scal...
0
Kotlin
0
0
5bacee7a04e781caa677f75f9079d2bf4d4fb082
7,112
Zinify
MIT License
library/src/main/java/com/etrusted/android/trustbadge/library/ui/badge/TrustbadgeViewModel.kt
trustedshops-public
560,817,987
false
null
/* * Created by <NAME> on 30.1.2023. * Copyright (c) 2023 Trusted Shops GmbH * * MIT License * * 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 l...
2
Kotlin
1
0
299495b5913a8a8e541ea9fd8db8fc1477fd927d
2,599
etrusted-android-trustbadge-library
MIT License
src/main/kotlin/me/melijn/melijnbot/enums/SpamType.kt
ToxicMushroom
107,187,088
false
null
package me.melijn.melijnbot.enums enum class SpamType { FAST_MESSAGE, MANY_CAPS, MANY_MENTIONS }
5
Kotlin
22
80
01107bbaad0e343d770b1e4124a5a9873b1bb5bd
109
Melijn
MIT License
src/main/kotlin/dev/dexsr/gmod/palworld/toolbox/savegame/composeui/libint/ExternalDragAwtExtensions.kt
flammky
758,310,188
false
null
package dev.dexsr.gmod.palworld.toolbox.savegame.composeui.libint import androidx.compose.ui.ExperimentalComposeUiApi /* * Copyright 2023 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 ma...
0
null
0
4
cd07163868b5ee8d3f46d106d467d211b8f3c5d8
3,099
PalToolbox
Apache License 2.0
android/di_common/src/main/java/com/phicdy/totoanticipation/di_common/Scopes.kt
phicdy
69,365,985
false
{"Kotlin": 241309, "HTML": 1307, "Shell": 1139}
package com.phicdy.totoanticipation.di_common import javax.inject.Scope @Scope @Retention(AnnotationRetention.RUNTIME) annotation class ActivityScope @Scope @Retention(AnnotationRetention.RUNTIME) annotation class FragmentScope
20
Kotlin
0
1
5ccc5c781f5569b5da12d75a3d83bc0622daede4
232
toto-anticipation
Apache License 2.0
Stipop/src/main/java/io/stipop/extend/StipopEditText.kt
hojunjeong90
400,364,714
true
{"Kotlin": 165406, "Java": 70029}
package io.stipop.extend import android.content.Context import android.graphics.Typeface import android.util.AttributeSet import androidx.appcompat.widget.AppCompatEditText import androidx.appcompat.widget.AppCompatTextView import io.stipop.Config import java.lang.Exception class StipopEditText : AppCompatEditText { ...
1
Kotlin
0
0
be1f878c1cf79cf5be1900ebb1a68d936b04dba9
849
stipop-android-sdk
MIT License
app/src/main/java/com/winterprojects/tvmazeapp/business/shows/UpdateShowFavoriteStatusUseCase.kt
CristianoWinter10
427,190,987
false
{"Kotlin": 100578}
package com.winterprojects.tvmazeapp.business.shows import com.winterprojects.tvmazeapp.domain.helpers.ResultState import com.winterprojects.tvmazeapp.domain.shows.models.ShowModel interface UpdateShowFavoriteStatusUseCase { suspend operator fun invoke(showModel: ShowModel): ResultState<Boolean> }
0
Kotlin
0
1
172516b151689332e0671449105b501cbd665ac8
304
tvmaze-app-android
MIT License
src/main/kotlin/dev/bogwalk/batch0/Problem10.kt
bog-walk
381,459,475
false
null
package dev.bogwalk.batch0 /** * Problem 10: Summation of Primes * * https://projecteuler.net/problem=10 * * Goal: Find the sum of all prime numbers <= N. * * Constraints: 1 <= N <= 1e6 * * e.g. N = 5 * primes = {2, 3, 5} * sum = 10 */ class SummationOfPrimes { /** * Stores the cumulati...
0
Kotlin
0
0
62b33367e3d1e15f7ea872d151c3512f8c606ce7
3,040
project-euler-kotlin
MIT License
presentation/src/main/java/com/innosync/hook/feature/jopoffer/info/hackathon/support/JobOfferInfoHackathonSupportViewModel.kt
2023-DGSW-FLY
685,568,000
false
{"Kotlin": 362041}
package com.innosync.hook.feature.jopoffer.info.hackathon.support import com.innosync.domain.usecase.jobopening.JobOpeningSupportHackathonUseCase import com.innosync.hook.base.BaseViewModel import com.innosync.hook.util.launchIO import com.innosync.hook.util.launchMain import dagger.hilt.android.lifecycle.HiltViewMode...
3
Kotlin
0
0
64011af8c3425a46481efe26c92da4a2758e06d6
2,055
Android_Hook
MIT License
inference/src/test/kotlin/io/kinference/operators/operations/UnsqueezeTest.kt
cybernetics
324,970,047
true
{"Kotlin": 461291, "PureBasic": 24490}
package io.kinference.operators.operations import io.kinference.runners.TestRunner import org.junit.jupiter.api.Test class UnsqueezeTest { private fun getTargetPath(dirName: String) = "/unsqueeze/$dirName/" @Test fun `test unsqueeze axis 0`() { TestRunner.runFromResources(getTargetPath("test_unsq...
0
null
0
0
8aa3295f112353949562750b83991b7ea8b83cf2
1,292
kinference
Apache License 2.0
plugin/src/main/kotlin/xyz/jpenilla/resourcefactory/bungeecord/BungeeCordConvention.kt
jpenilla
775,651,436
false
{"Kotlin": 70506}
package xyz.jpenilla.resourcefactory.bungeecord import xyz.jpenilla.resourcefactory.ResourceFactoryConventionPlugin abstract class BungeeCordConvention : ResourceFactoryConventionPlugin.Provider<BungeeCordPluginYaml>( "bungeePluginYaml", { project -> project.bungeePluginYaml() } )
2
Kotlin
1
5
b2fbbae88f4981758d143fbeebf24512a8082e11
292
resource-factory
Apache License 2.0
FirstLineCodeForAndroid/Chapter5/FragmentTest/app/src/main/java/com/rxf113/fragmenttest/LeftFragment.kt
rxf113
397,638,698
false
null
package com.example.fragmenttest import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.fragment.app.Fragment import com.rxf113.fragmenttest.R class LeftFragment : Fragment() { override fun onCreateView(inflater: LayoutInflater, containe...
0
Kotlin
0
1
5bac57a9979901c7e249083148f62ec5c172899a
455
FirstLineCodeForAndroid
Apache License 2.0
app/src/main/java/ai/andromeda/nordstarter/base/ui/BaseFragment.kt
atick-faisal
374,208,645
false
null
package ai.andromeda.nordstarter.base.ui import ai.andromeda.nordstarter.extensions.observeEvent import ai.andromeda.nordstarter.extensions.showToast import android.content.Context import android.net.ConnectivityManager import android.os.Bundle import androidx.annotation.LayoutRes import androidx.fragment.app.Fragment...
0
Kotlin
0
1
0956e330e6a6eced2506f1afd775a0f0d8b05404
832
Nord-Starter-Android
MIT License
app/src/main/java/akme/akme.kt
javipacheco
109,856,824
false
null
package akme import kategory.* import kotlinx.coroutines.experimental.channels.ActorJob import kotlinx.coroutines.experimental.runBlocking typealias Service<A> = Either<AkmeException, A> sealed class AkmeException: Throwable() { data class UiException(val msg: String) : AkmeException() data class ApiExcept...
1
Kotlin
1
23
a4b530d47adbe83691d5ec1b6f07eaba1b8c5451
1,163
rekkit
Apache License 2.0
src/main/kotlin/at/rechnerherz/example/config/Profiles.kt
rechnerherz
292,055,822
false
null
package at.rechnerherz.example.config // Constants for our Spring application profiles const val DEVELOPMENT: String = "development" const val TESTING: String = "testing" const val STAGING: String = "staging" const val PRODUCTION: String = "production"
0
Kotlin
0
3
475b6ec7f1b0d4df9c9894f8731d73d06bfef990
255
spring-boot-kotlin-rest-api-template
Apache License 2.0
core/network/src/main/java/com/roquebuarque/smartstocks/network/ScarletModule.kt
RBJUR
385,636,037
false
null
package com.roquebuarque.smartstocks.network import android.app.Application import com.tinder.scarlet.Lifecycle import com.tinder.scarlet.Scarlet import com.tinder.scarlet.lifecycle.android.AndroidLifecycle import com.tinder.scarlet.messageadapter.gson.GsonMessageAdapter import com.tinder.scarlet.streamadapter.rxjava2...
0
Kotlin
0
3
09861c8858cd456227be862880c08fa66c6ba6a3
1,660
SmartStocks
The Unlicense
src/commonTest/kotlin/superlogin/RestoreKeyTest.kt
sergeych
564,533,845
false
null
package superlogin import kotlinx.coroutines.test.runTest import net.sergeych.superlogin.InitSuperlogin import net.sergeych.superlogin.RestoreKey import kotlin.test.Test import kotlin.test.assertContentEquals import kotlin.test.assertEquals import kotlin.test.assertFails internal class RestoreKeyTest { @Test ...
0
Kotlin
0
0
6c0825f512e1fce0b91b74279c2f0039543d6c91
781
superlogin
MIT License
app/src/main/java/com/example/androiddevchallenge/ui/input/FloatingInput.kt
MarioNoll
349,129,357
false
{"Kotlin": 112565}
/* * 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
1
1a9b93677e258398c4c92fad1d700c924a0a4a21
3,850
android-dev-challenge-compose-week4
Apache License 2.0
manager-commons/src/main/kotlin/com/github/lee/core/Constants.kt
291700351
142,010,755
false
{"Java": 55328, "Kotlin": 19403, "Dockerfile": 1295, "Shell": 154, "Batchfile": 140}
package com.github.lee.core class Constants { companion object { /**SpringBoot启动类上添加包扫描*/ const val SCAN_BASE_PACKAGES = "com.github.lee" /**数据库操作的Mapper扫描地*/ const val SCAN_BASE_MAPPER ="com.github.lee.dao.mapper" } }
1
null
1
1
d7f65afb5ef880b22249ddd2df002e9268582c2b
259
CloudManager
MIT License
src/test/kotlin/io/github/srtigers98/birthdaydiscordbot/application/command/BirthdaySelectCommandTest.kt
SRTigers98
461,204,182
false
{"Kotlin": 71103, "Dockerfile": 446}
package io.github.srtigers98.birthdaydiscordbot.application.command import dev.kord.common.entity.InteractionResponseType import dev.kord.common.entity.Permission import dev.kord.common.entity.Permissions import dev.kord.common.entity.Snowflake import dev.kord.common.entity.optional.OptionalSnowflake import dev.kord.c...
6
Kotlin
0
4
e5363762d7522d88ae583bfcd86f67dd2bb6295a
3,989
ye-ol-birthday-reminder
MIT License
app/src/main/java/com/tcc/alif/view/ui/administrator/configuration/OptionConfigurationAdapter.kt
Limatucano
343,949,865
false
null
package com.tcc.alif.view.ui.administrator.configuration import android.content.Context import android.view.LayoutInflater import android.view.ViewGroup import androidx.recyclerview.widget.RecyclerView import com.tcc.alif.data.model.local.ConfigurationOptions import com.tcc.alif.databinding.ConfigurationOptionsItemBin...
0
Kotlin
0
4
cb64297f16b239bd07ce109e286d379e4fbf9908
1,534
alif
MIT License
legacy/src/main/kotlin/com/hadilq/mastan/timeline/ui/Share.kt
hadilq
715,823,678
false
{"Kotlin": 689784, "Nix": 4671}
/** * Copyright 2023 Hadi Lashkari Ghouchani * * 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 a...
0
Kotlin
0
3
f17caa73c487d927d651e788215aa30b8b9cf842
1,251
Mastan
Apache License 2.0
adaptive-lib/adaptive-browser/src/jsMain/kotlin/hu/simplexion/adaptive/html/launchButton.kt
spxbhuhb
788,711,010
false
{"Kotlin": 1058159, "CSS": 47382, "Java": 18012, "HTML": 2759, "JavaScript": 896}
/* * Copyright © 2020-2024, Simplexion, Hungary and contributors. Use of this source code is governed by the Apache 2.0 license. */ package hu.simplexion.adaptive.html import hu.simplexion.adaptive.base.* import hu.simplexion.adaptive.dom.AdaptiveDOMNodeFragment import kotlinx.browser.document import kotlinx.corouti...
1
Kotlin
0
0
75ec9b0c6a9f89359a08ce992affab493475ca4c
1,489
adaptive
Apache License 2.0
solar/src/main/java/com/chiksmedina/solar/outline/videoaudiosound/Pip2.kt
CMFerrer
689,442,321
false
{"Kotlin": 36591890}
package com.chiksmedina.solar.outline.videoaudiosound import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap.Companion.Butt import androidx.compose.ui.graphics.StrokeJoin.C...
0
Kotlin
0
0
3414a20650d644afac2581ad87a8525971222678
8,379
SolarIconSetAndroid
MIT License