path stringlengths 4 280 | owner stringlengths 2 39 | repo_id int64 21.1k 879M | is_fork bool 2
classes | languages_distribution stringlengths 13 1.95k ⌀ | content stringlengths 7 482k | issues int64 0 13.9k | main_language stringclasses 121
values | forks stringlengths 1 5 | stars int64 0 111k | commit_sha stringlengths 40 40 | size int64 7 482k | name stringlengths 1 100 | license stringclasses 93
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
app/src/main/java/com/sadashi/apps/extensions/ViewGroupExtension.kt | sadashi-ota | 129,120,443 | false | null | package com.sadashi.apps.extensions
import android.support.annotation.LayoutRes
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
fun ViewGroup.inflate(@LayoutRes layoutRes: Int): View {
return LayoutInflater.from(context).inflate(layoutRes, this, false)
}
| 0 | Kotlin | 0 | 0 | f72515a2b4cf415c80243a32e1d6371a70499860 | 304 | material_ui_like_play_store | Apache License 2.0 |
src/main/kotlin/com/komorowskidev/tuicodechallenge/githubrepo/domain/type/GithubRepository.kt | komorowskidev | 698,516,599 | false | {"Kotlin": 16517, "Dockerfile": 199} | package com.komorowskidev.tuicodechallenge.githubrepo.domain.type
data class GithubRepository(
val name: String,
val fork: Boolean,
)
| 0 | Kotlin | 0 | 0 | d478ebc902b006aa507136fc6549c8d9a69342dd | 143 | tuicodechallenge | MIT License |
fluxo-kmp-conf/src/main/kotlin/SetupGradlePlugin.kt | fluxo-kt | 705,309,218 | false | {"Kotlin": 470827} | import fluxo.conf.dsl.FluxoConfigurationExtension
import fluxo.conf.dsl.fluxoConfiguration
import fluxo.conf.feat.gradlePlugin
import fluxo.conf.impl.e
import fluxo.conf.impl.l
import fluxo.conf.impl.w
import org.gradle.api.Project
import org.jetbrains.kotlin.gradle.dsl.KotlinJvmProjectExtension
public fun Project.set... | 0 | Kotlin | 0 | 1 | 96eccd5d159e81bba79f2df0fa434403518df937 | 2,134 | fluxo-kmp-conf | Apache License 2.0 |
halley-ktor/src/main/java/com/infinum/halley/ktor/configuration/HalleyConfiguration.kt | infinum | 515,133,770 | false | null | package com.infinum.halley.ktor.configuration
import HAL
import io.ktor.http.ContentType
import io.ktor.http.ContentTypeMatcher
import io.ktor.serialization.Configuration
import io.ktor.serialization.ContentConverter
/**
* A [HalleyPlugin] configuration that is used during installation.
*/
public class HalleyConfig... | 0 | Kotlin | 0 | 0 | 0af19cf3a4ffeebb10b5b053dff01bb1acd15dbc | 1,545 | android-halley | Apache License 2.0 |
app/src/main/java/com/gaugustini/vort/domain/ResultWithNamesCase.kt | gaugustini | 416,395,415 | false | null | package com.gaugustini.vort.domain
import com.gaugustini.vort.model.Result
import com.gaugustini.vort.model.ResultWithNames
import com.gaugustini.vort.repository.ArmorPieceRepository
import com.gaugustini.vort.repository.DecorationRepository
import com.gaugustini.vort.repository.LanguageRepository
import com.gaugustin... | 0 | Kotlin | 0 | 0 | 2f26bb863801caab95733511c6683b527ef33f35 | 4,220 | vort | MIT License |
app/src/main/java/com/gracedian/explorebojonegoro/ui/welcome/WelcomeActivity.kt | rikoarik | 724,154,798 | false | {"Kotlin": 347415} | package com.gracedian.explorebojonegoro.ui.welcome
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import androidx.activity.enableEdgeToEdge
import androidx.appcompat.widget.AppCompatButton
import com.gracedian.explorebojonegoro.R
import com.gracedian.explorebojo... | 0 | Kotlin | 0 | 1 | 9bd4b5b425a273b5f744cf7c34cb05534d60bc2e | 1,194 | ExploreBojonegoro | MIT License |
app/src/main/java/com/yamin/chatchat/adapters/ChatsTabRecyclerViewAdapter.kt | YaminArafat | 609,940,129 | false | null | package com.yamin.chatchat.adapters
import android.util.Log
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import androidx.recyclerview.widget.RecyclerView
import com.bumptech.glide.Glide
import com.yamin.chatchat.data.models.Chats
import com.ya... | 0 | Kotlin | 0 | 0 | 483bd013db258f07d8436fff90bea6c5570ec02e | 3,106 | ChatChat | Apache License 2.0 |
src/main/kotlin/me/aberrantfox/warmbot/commands/UtilityCommands.kt | the-programmers-hangout | 251,074,725 | false | null | package me.aberrantfox.warmbot.commands
import me.aberrantfox.kjdautils.api.dsl.command.*
import me.aberrantfox.kjdautils.extensions.stdlib.toMinimalTimeString
import me.aberrantfox.warmbot.messages.Locale
import java.awt.Color
import java.util.Date
private val startTime = Date()
@CommandSet("Utility")
fun utilityCo... | 0 | Kotlin | 0 | 1 | 04233ad02ad14fcaaccd5d57f81b30bfcb8d688d | 1,036 | WarmBot | MIT License |
src/main/kotlin/me/aberrantfox/warmbot/commands/UtilityCommands.kt | the-programmers-hangout | 251,074,725 | false | null | package me.aberrantfox.warmbot.commands
import me.aberrantfox.kjdautils.api.dsl.command.*
import me.aberrantfox.kjdautils.extensions.stdlib.toMinimalTimeString
import me.aberrantfox.warmbot.messages.Locale
import java.awt.Color
import java.util.Date
private val startTime = Date()
@CommandSet("Utility")
fun utilityCo... | 0 | Kotlin | 0 | 1 | 04233ad02ad14fcaaccd5d57f81b30bfcb8d688d | 1,036 | WarmBot | MIT License |
app/src/test/java/com/concordium/wallet/data/util/CurrencyUtilUnitTest.kt | Concordium | 358,250,608 | false | null | package com.concordium.wallet.data.util
import org.junit.Assert.assertEquals
import org.junit.Test
import java.text.DecimalFormatSymbols
class CurrencyUtilUnitTest {
private val decimalSeparator = DecimalFormatSymbols.getInstance().decimalSeparator
private fun replaceDecimalSep(str: String): String {
... | 77 | Kotlin | 1 | 6 | cf482234db350007bdfef2540e16b07bfa174d03 | 5,808 | concordium-reference-wallet-android | Apache License 2.0 |
app/src/main/java/com/tanasi/mangajap/fragments/reviewsave/ReviewSaveViewModel.kt | stantanasi | 356,597,017 | false | {"Kotlin": 527731} | package com.tanasi.mangajap.fragments.reviewsave
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.tanasi.jsonapi.JsonApiResponse
import com.tanasi.mangajap.models.Review
import com.tanasi.mangajap.utils.MangaJapApi
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.f... | 0 | Kotlin | 2 | 3 | 18bf10ec562af28cb52a48a3ac3caa64064ea79b | 2,560 | mangajap | Apache License 2.0 |
domain/src/main/java/com/demont/ldap/domain/business/preferences/GetThemeUseCase.kt | MaxMichel2 | 517,036,014 | false | null | package com.demont.ldap.domain.business.preferences
import com.demont.ldap.domain.business.base.FlowUseCase
import com.demont.ldap.domain.di.IoDispatcher
import com.demont.ldap.domain.model.Result
import com.demont.ldap.domain.model.preferences.Theme
import com.demont.ldap.domain.preferences.PreferenceRepository
impor... | 0 | Kotlin | 0 | 0 | 196237feffbf3b7f44210e0538693fab58ec0def | 944 | LDAP | Apache License 2.0 |
libs/data/src/main/kotlin/com/astrum/data/property/MigrationProperties.kt | yacosta738 | 579,772,354 | false | null | package com.astrum.data.property
import org.springframework.boot.context.properties.ConfigurationProperties
@ConfigurationProperties(prefix = "application.migration")
data class MigrationProperties(
var clear: Boolean
)
| 3 | Kotlin | 0 | 1 | 0f704b8c8e99de3985d29f3f5364fcbf2d2c5c1b | 226 | astrum | MIT License |
rui-kotlin-plugin/src/main/kotlin/hu/simplexion/rui/kotlin/plugin/ir/rum2sir/dirtyMask.kt | spxbhuhb | 635,590,591 | false | null | package hu.simplexion.rui.kotlin.plugin.ir.rum2sir
import hu.simplexion.rui.kotlin.plugin.ir.RUI_INVALIDATE
import hu.simplexion.rui.kotlin.plugin.ir.RUI_MASK
import hu.simplexion.rui.kotlin.plugin.ir.rum.RumDirtyMask
import hu.simplexion.rui.kotlin.plugin.ir.sir.SirDirtyMask
import hu.simplexion.rui.kotlin.plugin.ir.... | 7 | Kotlin | 1 | 18 | 79f120edaba6abf8c14c23ad70aea01992750830 | 2,469 | rui | Apache License 2.0 |
data/coverart/src/main/java/ly/david/data/coverart/BuildCoverArtUrl.kt | lydavid | 458,021,427 | false | null | package ly.david.data.coverart
/**
* Builds a fully qualified cover art url from [coverArtPath].
*
* @param thumbnail Determines whether to build url for smaller thumbnail image or not.
*/
fun buildCoverArtUrl(
coverArtPath: String,
thumbnail: Boolean = true
): String {
return if (coverArtPath.isEmpty(... | 36 | Kotlin | 0 | 3 | d8dd6b9ef7d2d12087b8a0d2ca9b4968d5fb11d9 | 466 | MusicSearch | Apache License 2.0 |
src/main/kotlin/com/geogrind/geogrindbackend/services/sessions/SessionService.kt | GeoGrind | 703,185,030 | false | {"Kotlin": 275271, "Shell": 2624, "HTML": 1687, "Dockerfile": 488} | package com.geogrind.geogrindbackend.services.sessions
import com.geogrind.geogrindbackend.dto.session.CreateSessionDto
import com.geogrind.geogrindbackend.dto.session.DeleteSessionByIdDto
import com.geogrind.geogrindbackend.dto.session.GetSessionByIdDto
import com.geogrind.geogrindbackend.dto.session.UpdateSessionByI... | 14 | Kotlin | 0 | 2 | c0387735b3795aff0bd7e406117cccb03baecc8c | 1,050 | GeoGrind-Backend | Apache License 2.0 |
korge-core/src/korlibs/kgl/KmlBufferExt.kt | korlibs | 80,095,683 | false | {"Kotlin": 3929805, "C++": 20878, "HTML": 3853, "Swift": 1371, "JavaScript": 328, "Shell": 254, "CMake": 202, "Batchfile": 41, "CSS": 33} | package korlibs.kgl
import korlibs.memory.*
fun Buffer.toAsciiString(): String {
var out = ""
for (n in 0 until size) {
val b = getInt8(n)
if (b == 0.toByte()) break
out += b.toInt().toChar()
}
return out
}
fun Buffer.putAsciiString(str: String): Buffer {
var n = 0
for (c in str) {
if (size >= n) setIn... | 461 | Kotlin | 120 | 2,394 | 0ca8644eb43c2ea8148dcd94d5c2a063466b0079 | 589 | korge | Apache License 2.0 |
spring-funk-base/src/test/kotlin/com/github/wakingrufus/funk/TestIntegrationTest.kt | wakingrufus | 787,456,746 | false | {"Kotlin": 99118} | package com.github.wakingrufus.funk
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
@SpringBootTest(classes = [TestApplication::class])
class TestIntegrationTes... | 4 | Kotlin | 5 | 43 | ef23568fe198df7e05a979d1cc7f4eaeb7767283 | 541 | spring-funk | Apache License 2.0 |
spring-funk-base/src/test/kotlin/com/github/wakingrufus/funk/TestIntegrationTest.kt | wakingrufus | 787,456,746 | false | {"Kotlin": 99118} | package com.github.wakingrufus.funk
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
@SpringBootTest(classes = [TestApplication::class])
class TestIntegrationTes... | 4 | Kotlin | 5 | 43 | ef23568fe198df7e05a979d1cc7f4eaeb7767283 | 541 | spring-funk | Apache License 2.0 |
Application/buildSrc/src/main/java/LifeCycle.kt | devrath | 570,594,617 | false | {"Kotlin": 238294} | object LifeCycle {
private const val lifecycleExtensionsVersion = "2.2.0"
const val lifecycleExtensions = "androidx.lifecycle:lifecycle-extensions:$lifecycleExtensionsVersion"
private const val lifecycleLiveDataVersion = "2.5.1"
const val lifecycleLiveData = "androidx.lifecycle:lifecycle-livedata-ktx:$... | 0 | Kotlin | 3 | 6 | 17d03b535e2ced992b97cc1e3a6d40c5393afded | 514 | Distance-Tracker | Apache License 2.0 |
libraries/design/src/main/java/com/fappslab/rickandmortygraphql/libraries/design/dsprogress/DsProgress.kt | F4bioo | 585,168,438 | false | null | package com.fappslab.rickandmortygraphql.libraries.design.dsprogress
import android.app.AlertDialog
import android.app.Dialog
import android.graphics.Color
import android.graphics.drawable.ColorDrawable
import android.os.Bundle
import android.view.View
import androidx.core.view.isVisible
import androidx.fragment.app.D... | 0 | Kotlin | 0 | 0 | b2a46bb919d7159c8417832a731798fdb9d159e9 | 1,747 | RickAndMorty-GraphQL | MIT License |
app/src/main/java/com/example/androiddevchallenge/CitiesActivity.kt | poppito | 349,556,639 | false | null | /*
* Copyright 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 0 | Kotlin | 0 | 0 | c4e3feea1587306bd155fc569cdf17a4af82d24f | 24,140 | SprocketWeather | Apache License 2.0 |
tl/src/main/kotlin/com/github/badoualy/telegram/tl/api/TLInputStickerSetThumb.kt | Miha-x64 | 436,587,061 | true | {"Kotlin": 3919807, "Java": 75352} | package com.github.badoualy.telegram.tl.api
import com.github.badoualy.telegram.tl.TLObjectUtils.SIZE_CONSTRUCTOR_ID
import com.github.badoualy.telegram.tl.TLObjectUtils.SIZE_INT32
import com.github.badoualy.telegram.tl.serialization.TLDeserializer
import com.github.badoualy.telegram.tl.serialization.TLSerializer
impo... | 1 | Kotlin | 2 | 3 | 1a8963dce921c1e9ef05b9d1e56d8fbcb1ea1c4b | 1,952 | kotlogram-resurrected | MIT License |
src/main/kotlin/io/github/natanfudge/genericutils/network/PacketType.kt | natanfudge | 667,527,587 | false | {"Kotlin": 78160, "Java": 1256} | package io.github.natanfudge.genericutils.network
import io.github.natanfudge.genericutils.csId
import io.github.natanfudge.genericutils.CommonInit
import kotlinx.serialization.KSerializer
import kotlinx.serialization.minecraft.Buf
import kotlinx.serialization.serializer
import net.fabricmc.fabric.api.networking.v1.Pa... | 0 | Kotlin | 0 | 0 | 70b53e8980d8794e3b66c51e4a92b386d1ce05d4 | 1,839 | CraftingStation-Fabric | MIT License |
plot-base-portable/src/commonMain/kotlin/jetbrains/datalore/plot/base/coord/Coords.kt | JetBrains | 176,771,727 | false | null | /*
* Copyright (c) 2020. JetBrains s.r.o.
* Use of this source code is governed by the MIT license that can be found in the LICENSE file.
*/
package jetbrains.datalore.plot.base.coord
import jetbrains.datalore.base.geometry.DoubleRectangle
import jetbrains.datalore.base.geometry.DoubleVector
import jetbrains.datal... | 97 | Kotlin | 47 | 889 | c5c66ceddc839bec79b041c06677a6ad5f54e416 | 1,123 | lets-plot | MIT License |
app/src/main/java/com/kodedynamic/recipeoracle/apis/data/mappers/CategoriesMapper.kt | kushal2011 | 836,607,411 | false | {"Kotlin": 238994} | package com.kodedynamic.recipeoracle.apis.data.mappers
import com.kodedynamic.recipeoracle.apis.data.models.CategoriesDto
import com.kodedynamic.recipeoracle.apis.domain.models.CategoriesModel
import com.kodedynamic.recipeoracle.common.Mapper
import javax.inject.Inject
class CategoriesMapper @Inject constructor(
... | 0 | Kotlin | 0 | 0 | 98b4bdcd58d59fae9a8d3103b831cbecddacd886 | 640 | Recipe-Oracle | MIT License |
app/src/main/java/com/rosen/lumina/custom/QuantityButtons.kt | DerekWasswa | 731,987,581 | false | {"Kotlin": 40907} | package com.rosen.lumina.custom
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layou... | 0 | Kotlin | 0 | 0 | 6ffbfde17a3075c5131bc61baa14ecb89f4fe0d4 | 2,905 | Lumina | Apache License 2.0 |
pillarbox-player/src/test/java/ch/srgssr/pillarbox/player/extension/PlayerCommandsTest.kt | SRGSSR | 519,157,987 | false | {"Kotlin": 1473274, "Shell": 549} | /*
* Copyright (c) SRG SSR. All rights reserved.
* License information is available from the LICENSE file.
*/
package ch.srgssr.pillarbox.player.extension
import androidx.media3.common.Player
import androidx.media3.common.Player.Commands
import androidx.test.ext.junit.runners.AndroidJUnit4
import io.mockk.every
imp... | 23 | Kotlin | 1 | 13 | b155c6d3f2da29b8e30555f13ecce64f28f82db2 | 6,196 | pillarbox-android | MIT License |
android/src/main/kotlin/abdurrahmankaraoglu/app/advanced_background_locator/provider/LocationUpdateListener.kt | AbdurrahmanKaraoglu | 852,799,985 | false | {"Kotlin": 57383, "Dart": 28651, "Objective-C": 25219, "C++": 23965, "CMake": 19456, "Swift": 1823, "C": 1425, "HTML": 1218, "Ruby": 768, "Java": 516} | package abdurrahmankaraoglu.app.advanced_background_locator.provider
import java.util.HashMap
interface LocationUpdateListener {
fun onLocationUpdated(location: Map<*, *>?)
} | 0 | Kotlin | 0 | 0 | 0707869fb5f9f1372b4b494764b6f632e819bc66 | 180 | advanced_background_locator | MIT License |
src/all/comicfury/src/eu/kanade/tachiyomi/extension/all/comicfury/ComicFury.kt | komikku-app | 720,497,299 | false | {"Kotlin": 6775539, "JavaScript": 2160} | package eu.kanade.tachiyomi.extension.all.comicfury
import android.app.Application
import android.content.SharedPreferences
import androidx.preference.PreferenceScreen
import androidx.preference.SwitchPreferenceCompat
import eu.kanade.tachiyomi.lib.textinterceptor.TextInterceptor
import eu.kanade.tachiyomi.lib.textint... | 22 | Kotlin | 8 | 97 | 7fc1d11ee314376fe0daa87755a7590a03bc11c0 | 12,342 | komikku-extensions | Apache License 2.0 |
src/kotlin/src/tutorial/coroutine/async/AsyncRun.kt | NanamiMio | 457,178,790 | true | {"HTML": 3072012, "CSS": 1909531, "Scheme": 308236, "Java": 183277, "Emacs Lisp": 108499, "Kotlin": 105053, "Erlang": 76979, "Rust": 75302, "Python": 53551, "Go": 47318, "C": 7008, "Shell": 372} | package tutorial.coroutine.async
import kotlinx.coroutines.async
import kotlinx.coroutines.runBlocking
import kotlin.system.measureTimeMillis
fun main() = runBlocking {
//sampleStart
val time = measureTimeMillis {
val one = async {
doSomethingUsefulOne()
}
val two = async {
doSomethingUsefulTwo()... | 0 | HTML | 0 | 0 | 278937d27d09c1d659eb9e4fc65a2844e5fe3c72 | 425 | klose911.github.io | Apache License 2.0 |
app/src/main/java/com/kvl/serenity/SoundDef.kt | kevinvanleer | 697,405,690 | false | {"Kotlin": 78297} | package com.kvl.serenity
import androidx.annotation.Keep
@Keep
data class SoundDef(val name: String, val location: String, val filename: String)
| 0 | Kotlin | 0 | 0 | 0cbdbcd3962db04411e1511c5933aff016278383 | 147 | serenity | MIT License |
app/src/main/java/com/dramtar/billscollecting/presenter/UIUpdatingEvent.kt | Dramtar | 544,515,289 | false | null | package com.dramtar.billscollecting.presenter
import java.io.File
sealed class UIUpdatingEvent {
data class OpenCreatedCSV(val file: File): UIUpdatingEvent()
object AddBillTypeClicked: UIUpdatingEvent()
object NavigateToOverview: UIUpdatingEvent()
object NavigateToTypeOverview: UIUpdatingEvent()
}
| 0 | Kotlin | 0 | 1 | 7ed7aa9bb9fce7fdadc051d52742b9c86fb9a854 | 317 | Bills-Collecting | Apache License 2.0 |
library/src/test/java/dev/zotov/phototime/solarized/SolarizedUnitTest.kt | aadithyanr | 413,385,632 | true | {"Kotlin": 19691} | package dev.zotov.phototime.solarized
import org.junit.Assert
import org.junit.Test
import java.time.Instant
import java.time.LocalDateTime
import java.time.ZoneOffset
class SolarizedUnitTest {
private val date = Instant.ofEpochSecond(1549918775).atZone(ZoneOffset.UTC).toLocalDateTime()
private val latitude ... | 0 | null | 0 | 0 | 0a0e5af6788ecd406b9898fea6ac790f024d1139 | 2,220 | solarized-android | Do What The F*ck You Want To Public License |
app/src/main/java/com/kenkoro/taurus/client/feature/orders/presentation/screen/editor/order/util/CustomerState.kt | kenkoro | 746,982,789 | false | {"Kotlin": 265963, "JavaScript": 64} | package com.kenkoro.taurus.client.feature.orders.presentation.screen.editor.order.util
import com.kenkoro.taurus.client.feature.shared.states.TaurusTextFieldState
class CustomerState(
customer: String? = null,
) : TaurusTextFieldState(
validator = ::isCustomerValid,
errorFor = ::customerValidationError,
)... | 3 | Kotlin | 0 | 4 | 935ee7470b27759ee0623aed4c4c570aa06523d4 | 606 | taurus | Apache License 2.0 |
easy/ValidAnagram.kt | Sternbach-Software | 631,554,036 | false | null | package easy
class ValidAnagram {
companion object {
/**
* # Intuition
Assuming strings are equal length, if you can successfully remove a single instance of a letter `c` from `t` every time you see it in `s` (it is contained in `t`), then the strings have the same letters appearing the s... | 0 | Kotlin | 0 | 0 | 2ca833bc0f46ea6f036c397af154fe71a393f4ab | 2,712 | Grind75Solutions | Apache License 2.0 |
antsadapter/src/main/java/com/papashkin/antsadapter/AntsAdapter.kt | Papashkin | 194,541,888 | false | null | package com.papashkin.antsadapter
import android.support.annotation.LayoutRes
import android.support.v7.util.DiffUtil
import android.support.v7.widget.RecyclerView
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
/**
* @author <NAME>
* Realization of the base adapter for rec... | 0 | Kotlin | 0 | 0 | e1a6ad679852be39207b64d78a32a709cdcaffbc | 2,372 | ants_base_adapter | MIT License |
watchmen-model/src/main/kotlin/com/matrdata/watchmen/model/admin/Enumeration.kt | Indexical-Metrics-Measure-Advisory | 478,865,509 | false | {"Kotlin": 160616} | package com.matrdata.watchmen.model.admin
import com.matrdata.watchmen.model.common.*
import java.time.LocalDateTime
data class EnumItem(
var itemId: EnumItemId? = null,
var code: String? = null,
var label: String? = null,
var parentCode: String? = null,
var replaceCode: String? = null,
var enumId: EnumId? = nu... | 0 | Kotlin | 0 | 0 | bd8ef342a31c4a2bac57f96f00e9069b386e7c5a | 849 | watchmen-kotlin | MIT License |
api/src/main/kotlin/de/hanno/hpengine/graphics/constants/TexelComponentType.kt | hannomalie | 330,376,962 | false | {"Kotlin": 959590, "GLSL": 658394, "JavaScript": 3160, "Shell": 137, "Batchfile": 65} | package de.hanno.hpengine.graphics.constants
enum class TexelComponentType {
Float,
Int,
UnsignedByte
} | 0 | Kotlin | 0 | 0 | 1827c8eaa9dc922871de66185ec489ce3e65bef9 | 116 | hpengine | MIT License |
petal-cli/src/main/kotlin/CLI.kt | NekoGoddessAlyx | 418,652,485 | false | null | package petal.vm
import kotlinx.cli.ArgParser
import kotlinx.cli.ArgType
import kotlinx.cli.required
import java.io.File
fun main(args: Array<String>) {
val parser = ArgParser("Petal")
val fileName by parser.option(ArgType.String, shortName = "f", description = "File Name").required()
parser.parse(args)
... | 0 | Kotlin | 0 | 0 | bb1fee0549316ebbeae139745f29287f833e1d11 | 708 | Petal | Apache License 2.0 |
src/main/kotlin/denis/bayramgulov/hack4luck/properties/YandexSpeechProperties.kt | bayramgulov | 579,468,593 | false | {"Kotlin": 28211} | package denis.bayramgulov.hack4luck.properties
import org.springframework.boot.context.properties.ConfigurationProperties
@ConfigurationProperties("yandex-speech")
class YandexSpeechProperties {
lateinit var iam: String
} | 0 | Kotlin | 0 | 0 | e1532efd7a5ff3ba62a41e3e471b506006d0489e | 227 | hack4luck | MIT License |
Android/app/src/main/java/live/ditto/pos/core/presentation/composables/screens/DemoLocationSelectionScreen.kt | getditto | 660,393,373 | false | {"Kotlin": 118261, "Swift": 108298, "Shell": 1686} | package live.ditto.pos.core.presentation.composables.screens
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.hilt.navigation.compose.hiltViewModel
import androidx.navigation.NavHostController
import live.ditto.pos.Loca... | 14 | Kotlin | 0 | 3 | 669dcb812c668d172891090bc4925c29757776e7 | 860 | demoapp-pos-kds | MIT License |
compose/src/main/kotlin/ui/screen/programs/programloaded/ProgramCoordinates.kt | 85vmh | 543,628,296 | false | null | package ui.screen.programs.programloaded
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.*
import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.graphi... | 0 | Kotlin | 1 | 2 | bfa08242829985a8fe0d743085de89057cefcef2 | 4,710 | mindovercnclathe | Apache License 2.0 |
app/src/main/java/net/xblacky/animexstream/di/RepositoryModule.kt | naufalprakoso | 275,484,992 | true | {"Kotlin": 138818, "Java": 1567} | package net.xblacky.animexstream.di
import dagger.Module
import dagger.Provides
import dagger.Reusable
import dagger.hilt.InstallIn
import dagger.hilt.android.components.ApplicationComponent
import io.realm.Realm
import net.xblacky.animexstream.ui.main.home.HomeRepository
import net.xblacky.animexstream.ui.main.player... | 0 | Kotlin | 1 | 1 | f557ce683f248231cb7c590779e44dfeb5f42dda | 969 | AnimeXStream | MIT License |
app/src/main/java/com/gummybearstudio/infapp/fragments/LoaderFragment.kt | Maciej-GBS | 860,632,348 | false | {"Kotlin": 29875} | package com.gummybearstudio.infapp.fragments
import android.os.Bundle
import androidx.fragment.app.Fragment
import androidx.lifecycle.Lifecycle
import androidx.lifecycle.lifecycleScope
import androidx.lifecycle.repeatOnLifecycle
import androidx.navigation.Navigation
import com.gummybearstudio.infapp.R
import com.gummy... | 0 | Kotlin | 0 | 0 | 443c42a04bf1bba99f8006d965ba14343423284b | 1,000 | TFLiteRTApp | Apache License 2.0 |
Browser/src/commonMain/kotlin/io/nacular/doodle/dom/Node.kt | nacular | 108,631,782 | false | {"Kotlin": 3150677} | @file:Suppress("EXPECTED_EXTERNAL_DECLARATION", "WRONG_MODIFIER_TARGET")
package io.nacular.doodle.dom
internal expect abstract external class NodeList() {
abstract val length: Int
open fun item(index: Int): Node?
}
internal expect inline operator fun NodeList.get(index: Int): Node?
internal expect abstrac... | 3 | Kotlin | 26 | 613 | f7414d4c30cdd7632992071234223653e52b978c | 990 | doodle | MIT License |
src/main/kotlin/no/nav/dagpenger/soknad/orkestrator/behov/løsere/UtdanningEllerOpplæringBehovløser.kt | navikt | 758,018,874 | false | {"Kotlin": 251103, "HTML": 1388, "Dockerfile": 109} | package no.nav.dagpenger.soknad.orkestrator.behov.løsere
import no.nav.dagpenger.soknad.orkestrator.behov.Behovløser
import no.nav.dagpenger.soknad.orkestrator.behov.BehovløserFactory.Behov.TarUtdanningEllerOpplæring
import no.nav.dagpenger.soknad.orkestrator.opplysning.db.OpplysningRepository
import no.nav.helse.rapi... | 0 | Kotlin | 0 | 0 | 9069503c23e9067c5b020127da975d92a0d878b6 | 652 | dp-soknad-orkestrator | MIT License |
buildSrc/src/main/kotlin/SecretLoader.kt | NyCodeGHG | 393,796,405 | false | null | /*
* Copyright 2021 NyCode
*
* 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 ... | 17 | Kotlin | 4 | 4 | d32635ac47a30bde149955da80c54d399c85d8c2 | 1,310 | github-api-wrapper | Apache License 2.0 |
src/higherOrderFunction.kt | myeonginwoo | 143,044,639 | false | null | fun main(args: Array<String>) {
higherOrderFunction1 { println("FP") }
higherOrderFunction2()
higherOrderFunction3 { println("FP") }
}
fun higherOrderFunction1(func: () -> Unit) {
func()
}
fun higherOrderFunction2(): () -> Unit {
return { println("FP") }
}
fun higherOrderFunction3(func: () -> U... | 0 | Kotlin | 1 | 0 | eac92f504dcf576654cd330eb21d06d2ab694dea | 356 | t-academy | MIT License |
projects/manage-pom-cases-and-delius/src/test/kotlin/uk/gov/justice/digital/hmpps/integrations/ldap/LdapServiceTest.kt | ministryofjustice | 500,855,647 | false | null | package uk.gov.justice.digital.hmpps.integrations.ldap
import org.hamcrest.MatcherAssert.assertThat
import org.hamcrest.Matchers.equalTo
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.extension.ExtendWith
import org.mockito.InjectMocks
import org.mockito.Mock
import org.mockito.junit.jupiter.MockitoExt... | 0 | Kotlin | 0 | 2 | 2a148131c90e90dcc541dc1c0a2e69fc4f3ea121 | 1,032 | hmpps-probation-integration-services | MIT License |
core/src/main/kotlin/cloudspec/model/Resource.kt | efoncubierta | 259,448,965 | false | null | /*-
* #%L
* CloudSpec Core Library
* %%
* Copyright (C) 2020 Ezequiel Foncubierta
* %%
* 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... | 3 | Kotlin | 2 | 26 | edabff96392cdb1f0d55b3a9c57ae5c433c7be69 | 1,155 | cloudspec | Apache License 2.0 |
09_OOP1/practice/src/main/kotlin/Dog.kt | ILYA-NASA | 658,033,777 | false | {"Kotlin": 71525} | class Dog(energy: Int, weight: Int, currentAge: Int, maxAge: Int, name: String) :
Animal(energy, weight, currentAge, maxAge, name) {
override fun move(message: String) {
super.move("$name running")
}
override fun giveOffspring(energy: Int, weight: Int, currentAge: Int, maxAge: Int, name: String... | 0 | Kotlin | 0 | 1 | 7ef691ad58df137bd54825c9a84ae3f54c18dec4 | 467 | Android-basic | NASA Open Source Agreement 1.3 |
test-data/src/main/java/ly/david/data/network/FakeRecordings.kt | lydavid | 458,021,427 | false | null | package ly.david.data.network
import ly.david.data.network.api.BrowseRecordingsResponse
import ly.david.data.network.api.SearchRecordingsResponse
val fakeRecording = RecordingMusicBrainzModel(
id = "recording1",
name = "<NAME>",
firstReleaseDate = "2022-11-06",
length = 25300000,
artistCredits = l... | 11 | Kotlin | 0 | 0 | 4067d6463a41acfeeea529faa621b9478051ff5e | 673 | MusicSearch | Apache License 2.0 |
src/main/kotlin/de/coaster/cringepvp/utils/CringePath.kt | RasselbandeDE | 524,159,699 | false | {"Kotlin": 199713} | package de.coaster.cringepvp.utils
import de.coaster.cringepvp.extensions.toCringeLocation
import de.coaster.cringepvp.managers.CoroutineManager
import kotlinx.coroutines.delay
import org.bukkit.Location
import org.bukkit.configuration.ConfigurationSection
import org.bukkit.entity.Player
import org.bukkit.util.Vector
... | 0 | Kotlin | 0 | 0 | 6d07a821ddedaf741c131af4e8932e728af37728 | 2,180 | CringePvP | MIT License |
shared/chart/src/commonMain/kotlin/little/goose/chart/bar/BarData.kt | MReP1 | 525,822,587 | false | {"Kotlin": 661580} | package little.goose.chart.bar
import androidx.compose.ui.graphics.Color
data class BarData(
val xText: String,
val amount: Float,
val yText: String,
val color: Color
)
| 1 | Kotlin | 27 | 96 | fd0e66aefcdb571972e1ba96819255998b46529b | 187 | LittleGooseOffice | MIT License |
sphinx/screens/dashboard/dashboard/src/main/java/chat/sphinx/dashboard/ui/feed/FeedRecommendationsViewModel.kt | stakwork | 340,103,148 | false | {"Kotlin": 4008358, "Java": 403469, "JavaScript": 4745, "HTML": 4706, "Shell": 2453} | package chat.sphinx.dashboard.ui.feed
import chat.sphinx.wrapper_podcast.FeedRecommendation
import kotlinx.coroutines.flow.StateFlow
interface FeedRecommendationsViewModel {
val feedRecommendationsHolderViewStateFlow: StateFlow<List<FeedRecommendation>>
fun feedRecommendationSelected(feed: FeedRecommendation... | 90 | Kotlin | 11 | 18 | 7811b4f4e5a0cf8a26f343704cfced011b1f9bad | 357 | sphinx-kotlin | MIT License |
myddd-starter-domain/src/main/kotlin/org/myddd/vertx/domain/DocumentRepository.kt | mydddOrg | 493,973,123 | false | {"Kotlin": 42207} | package org.myddd.vertx.domain
import io.vertx.core.Future
import org.myddd.vertx.repository.api.EntityRepository
interface DocumentRepository:EntityRepository {
suspend fun queryDocumentByMediaId(mediaId: String): Future<Document?>
} | 0 | Kotlin | 0 | 0 | 52aab7aab14b640b1bc5d37e58512a926d416fb7 | 240 | myddd-vertx-scaffold | MIT License |
Android/app/src/main/java/live/ditto/pos/core/data/locations/ditto/LocationsDittoConstants.kt | getditto | 660,393,373 | false | {"Kotlin": 118261, "Swift": 108298, "Shell": 1686} | package live.ditto.pos.core.data.locations.ditto
const val LOCATIONS_COLLECTIONS_NAME = "locations"
const val LOCATIONS_SUBSCRIPTION_QUERY = """
SELECT * FROM COLLECTION $LOCATIONS_COLLECTIONS_NAME (saleItemIds MAP)
"""
const val SELECT_ALL_LOCATIONS_QUERY = """
SELECT * FROM COLLECTION $LOCATIONS_COLLECTION... | 14 | Kotlin | 0 | 3 | 669dcb812c668d172891090bc4925c29757776e7 | 522 | demoapp-pos-kds | MIT License |
app/src/main/java/br/espartano/marvelheroescatalog/ui/activities/MainActivity.kt | oliveiradev27 | 216,417,185 | false | null | package br.espartano.marvelheroescatalog.ui.activities
import android.os.Bundle
import android.os.Parcelable
import android.view.View
import android.view.ViewGroup
import androidx.activity.viewModels
import androidx.appcompat.app.AlertDialog
import androidx.appcompat.app.AppCompatActivity
import androidx.recyclerview.... | 0 | Kotlin | 0 | 0 | 4a7230b5e3fb34a6c36dbc89bd32cda21654d5ec | 4,632 | Marvel-Heroes-Panel | MIT License |
camerax_lib/src/main/java/com/kiylx/camerax_lib/main/manager/model/ManagerConfig.kt | Knightwood | 517,621,489 | false | {"Kotlin": 248505, "Java": 31809} | package com.kiylx.camerax_lib.main.manager.model
import android.os.Parcelable
import android.util.Size
import android.view.Surface
import androidx.camera.core.ImageCapture
import com.kiylx.camerax_lib.main.store.ImageCaptureConfig
import com.kiylx.camerax_lib.main.store.VideoRecordConfig
import kotlinx.parcelize.Parce... | 0 | Kotlin | 6 | 34 | 4db9a7dafd770415d7f85b3f5159bcb542e2925d | 3,183 | CameraX-Helper | Apache License 2.0 |
app/src/main/java/io/awaken/data/database/AwakenDatabase.kt | SharpKode | 155,014,956 | true | {"Kotlin": 27056, "Java": 6020} | package io.awaken.data.database
import android.content.Context
import androidx.room.Database
import androidx.room.Room
import androidx.room.RoomDatabase
import io.awaken.data.ConnectionDao
import io.awaken.data.model.Connection
@Database(entities = [Connection::class], version = 1)
abstract class AwakenDatabase : Roo... | 0 | Kotlin | 0 | 0 | 696a353eb03739400cf699c1ea912a8b37e405fc | 935 | Awaken | Apache License 2.0 |
protocol/src/main/kotlin/net/rsprox/protocol/ProtProvider.kt | blurite | 822,339,098 | false | {"Kotlin": 1453055} | package net.rsprox.protocol
public fun interface ProtProvider<out T> {
public operator fun get(opcode: Int): T
}
| 2 | Kotlin | 4 | 9 | 41535908e6ccb633c8f2564e8961efa771abd6de | 118 | rsprox | MIT License |
app/src/main/kotlin/cz/covid19cz/erouska/ui/helpsearch/HelpSearchFragment.kt | covid19cz | 247,683,648 | false | null | package cz.covid19cz.erouska.ui.helpsearch
import android.app.SearchManager
import android.content.Context
import android.os.Bundle
import android.view.MenuItem
import android.view.View
import android.widget.SearchView
import androidx.lifecycle.Observer
import cz.covid19cz.erouska.R
import cz.covid19cz.erouska.databin... | 0 | Kotlin | 57 | 205 | 23064413869fe7ba3d083beb9e6c639b59abfbcc | 3,642 | erouska-android | MIT License |
google/tasks/src/commonMain/kotlin/net/opatry/google/tasks/model/SurfaceInfo.kt | opatry | 860,583,716 | false | {"Kotlin": 667737, "Shell": 13260, "HTML": 451, "Ruby": 196} | /*
* Copyright (c) 2024 <NAME>
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, dis... | 4 | Kotlin | 0 | 2 | 299f266b7fad0e8d942ec9a10b702977b763e864 | 2,550 | taskfolio | MIT License |
libraries/remote/src/test/java/com/aliumujib/artic/remote/remote/ArticlesRemoteTest.kt | aliumujib | 210,103,091 | false | {"Kotlin": 448715} | /*
* 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... | 0 | Kotlin | 6 | 47 | 3306935c9c45a888e81819b56b83c478c63e9640 | 4,696 | Artic | Apache License 2.0 |
src/main/kotlin/uk/gov/justice/digital/hmpps/nomisprisonerapi/jpa/repository/AgencyVisitSlotRepository.kt | ministryofjustice | 444,895,409 | false | {"Kotlin": 2982892, "PLSQL": 319433, "Dockerfile": 1112} | package uk.gov.justice.digital.hmpps.nomisprisonerapi.jpa.repository
import org.springframework.data.repository.CrudRepository
import org.springframework.stereotype.Repository
import uk.gov.justice.digital.hmpps.nomisprisonerapi.jpa.AgencyVisitSlot
import java.time.LocalTime
@Repository
interface AgencyVisitSlotRepos... | 1 | Kotlin | 2 | 0 | ca8b0f7ca122431097b3462e3b57803561d75f9e | 620 | hmpps-nomis-prisoner-api | MIT License |
app/src/main/java/com/alorma/settingslib/MainActivity.kt | eric-ampire | 362,271,861 | true | {"Kotlin": 44012} | package com.alorma.settingslib
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.material.Text
import androidx.navigation.NavHostController
import androidx.navigation.compose.NavHost
import androidx.navigation.compose.composable
impo... | 0 | null | 1 | 0 | 5ead5024251243eb9482d11feb10c5dc2341a7b6 | 1,840 | Compose-Settings | MIT License |
common/src/commonMain/kotlin/io/github/irack/stonemanager/interface/ui/view/common/CommonWidget.kt | IRACK000 | 723,712,145 | false | {"Kotlin": 136170, "Swift": 540} | package io.github.irack.stonemanager.`interface`.ui.view.common
| 0 | Kotlin | 0 | 0 | 8e86910e7f2121b99639ab190be36458f7de8b83 | 65 | StoneManager | MIT License |
akommons-bindings/src/main/java/com/dewarder/akommons/binding/ColorBindings.kt | hluhovskyi | 82,401,091 | false | {"Kotlin": 261392} | /*
* Copyright (C) 2017 Artem Hluhovskyi
*
* 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 ... | 0 | Kotlin | 3 | 25 | 0c6001f673e3eeb25e364745ad9942c49737e875 | 5,354 | AndroidKommons | Apache License 2.0 |
app/src/main/java/com/mustafa/movieapp/MovieApp.kt | SP2014 | 267,268,228 | true | {"Kotlin": 505199} | package com.mustafa.movieapp
import android.app.Application
import com.mustafa.movieapp.di.AppInjector
import dagger.android.AndroidInjector
import dagger.android.DispatchingAndroidInjector
import dagger.android.HasAndroidInjector
import timber.log.Timber
import javax.inject.Inject
@Suppress("unused")
class MovieApp ... | 0 | null | 0 | 0 | a64da3622d0c2fb8f8d83f5a913979c471f6b3bf | 720 | MoviesApp | Apache License 2.0 |
favorite/src/test/java/com/instaleap/favorite/ui/favorite/FavoriteViewModelTest.kt | rovargas15 | 845,909,506 | false | {"Kotlin": 255524, "Shell": 3714} | package com.instaleap.favorite.ui.favorite
import com.instaleap.core.route.Router
import com.instaleap.domain.model.Movie
import com.instaleap.domain.model.Tv
import com.instaleap.domain.usecase.GetFavoriteMovieUseCase
import com.instaleap.domain.usecase.GetFavoriteTvUseCase
import com.instaleap.favorite.ui.favorite.F... | 0 | Kotlin | 0 | 0 | 277fc502e04753aa81295f167523691033ae8fd0 | 3,027 | Instaflix | Apache License 2.0 |
app/src/main/java/dev/vivvvek/seekerdemo/ui/theme/Theme.kt | 2307vivek | 595,118,282 | false | null | /*
* Copyright 2023 Vivek Singh
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | 1 | Kotlin | 4 | 98 | 17f639093eca623930c75cd69ca44376e5116e62 | 1,736 | Seeker | Apache License 2.0 |
filePickerLibrary/src/main/java/com/zwc/filepicker/filetype/ImageFileType.kt | MrZWC | 667,748,262 | false | {"Java": 134345, "Kotlin": 79046} | package com.zwc.filepicker.filetype
/**
* ClassName VideoFileType
* User: zuoweichen
* Date: 2022/5/20 16:32
* Description: 适配过滤器
*/
object ImageFileType : FileType() {
override fun getFileFilter(): Array<String> {
return arrayOf(
"jpg",
"jpeg",
"png",
"... | 1 | null | 1 | 1 | 2730cf9a0a4ac66a19f1a9d3b74f189e2a3a1817 | 493 | androidFilePicker | Apache License 2.0 |
app/src/main/java/com/kv/wanandroid/event/LoginEvent.kt | Vension | 173,887,387 | false | {"Gradle": 4, "Java Properties": 2, "Shell": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "Proguard": 2, "Kotlin": 207, "XML": 192, "Java": 23} | package com.kv.wanandroid.event
/**
* ========================================================
* 作 者:Vension
* 日 期:2018/11/21 15:37
* 描 述:
* ========================================================
*/
class LoginEvent(var isLogin: Boolean) | 0 | Kotlin | 1 | 0 | 23b2cc2f851289af79ba7c53ce0c858706f13ba0 | 250 | V-WanAndroid | Apache License 2.0 |
generator/src/main/kotlin/com/antwerkz/critter/CritterContext.kt | akoranne | 113,503,519 | true | {"Kotlin": 79577, "Java": 22306} | package com.antwerkz.critter
import java.util.HashMap
@Suppress("UNCHECKED_CAST")
class CritterContext(val criteriaPkg: String? = null, var force: Boolean = false) {
val classes = HashMap<String, CritterClass>()
fun shouldGenerate(source: Long?, output: Long?): Boolean {
return force || source == nul... | 0 | Kotlin | 0 | 0 | 4ba3e293cfab531b42ff709d1df02a3c22d6833c | 1,061 | critter | Apache License 2.0 |
client-android/lib/src/main/kotlin/stasis/client_android/lib/compression/Compression.kt | sndnv | 153,169,374 | false | {"Scala": 3373826, "Kotlin": 1821771, "Dart": 853650, "Python": 363474, "Shell": 70265, "CMake": 8759, "C++": 4051, "HTML": 2655, "Dockerfile": 1942, "Ruby": 1330, "C": 691, "Swift": 594, "JavaScript": 516} | package stasis.client_android.lib.compression
import stasis.client_android.lib.model.EntityMetadata
import stasis.client_android.lib.model.SourceEntity
import stasis.client_android.lib.model.TargetEntity
import java.nio.file.Path
import java.util.Locale
interface Compression {
fun defaultCompression(): Compressor... | 0 | Scala | 4 | 53 | d7b3002880814039b332b3d5373a16b57637eb1e | 2,483 | stasis | Apache License 2.0 |
packages/graalvm/src/test/kotlin/elide/runtime/gvm/js/node/AbstractJsModuleTest.kt | elide-dev | 506,113,888 | false | {"Kotlin": 4156801, "Rust": 130170, "Java": 51233, "Python": 7851, "JavaScript": 6037, "Ruby": 2474, "C": 1926, "RenderScript": 578, "Shell": 160, "Pkl": 102, "TypeScript": 78, "Swift": 23} | /*
* Copyright (c) 2024 Elide Technologies, Inc.
*
* Licensed under the MIT license (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* https://opensource.org/license/mit/
*
* Unless required by applicable law or agreed to in writing,... | 39 | Kotlin | 16 | 97 | 652036fb4e8394e8ad1aced2f4bbfaa9e00a5181 | 5,330 | elide | MIT License |
components-core/src/main/java/com/adyen/checkout/components/core/Item.kt | Adyen | 91,104,663 | false | null | /*
* Copyright (c) 2019 <NAME>.
*
* This file is open source and available under the MIT license. See the LICENSE file for more info.
*
* Created by caiof on 27/5/2019.
*/
package com.adyen.checkout.components.core
import com.adyen.checkout.core.exception.ModelSerializationException
import com.adyen.checkout.cor... | 28 | Kotlin | 59 | 96 | 1f000e27e07467f3a30bb3a786a43de62be003b2 | 1,495 | adyen-android | MIT License |
app/src/main/java/jp/juggler/subwaytooter/util/LinkHelper.kt | tateisu | 89,120,200 | false | null | package jp.juggler.subwaytooter.util
import jp.juggler.subwaytooter.api.entity.Acct
import jp.juggler.subwaytooter.api.entity.Host
import jp.juggler.subwaytooter.api.entity.HostAndDomain
import jp.juggler.subwaytooter.api.entity.TootAccount
import jp.juggler.util.findOrNull
import jp.juggler.util.groupEx
interface Li... | 26 | Kotlin | 17 | 137 | 77be9f9396eee9a2e3ee5cef71c80857a1c73615 | 3,124 | SubwayTooter | Apache License 2.0 |
src/main/kotlin/io/openfuture/api/component/web3/event/Decoder.kt | OpenFuturePlatform | 134,381,311 | false | null | package io.openfuture.api.component.web3.event
import io.openfuture.api.domain.event.Event
import org.web3j.abi.FunctionReturnDecoder
import org.web3j.abi.TypeReference
import org.web3j.abi.Utils
import org.web3j.abi.datatypes.Type
interface Decoder<T : Event> {
fun decode(addressScaffold: String, rawData: Strin... | 11 | JavaScript | 7 | 42 | 4cf6df0407c9a941bd1e0b6d01a9ab05f4db0ef6 | 496 | open-api | Apache License 2.0 |
app/src/main/java/jp/seo/station/ekisagasu/repository/impl/PrefectureRepositoryImpl.kt | Seo-4d696b75 | 247,417,963 | false | null | package jp.seo.station.ekisagasu.repository.impl
import android.content.Context
import android.util.SparseArray
import jp.seo.station.ekisagasu.R
import jp.seo.station.ekisagasu.repository.PrefectureRepository
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.withContext
import javax.inject.Inject
class... | 1 | Kotlin | 0 | 0 | 99cda72b3a3b68a99254ce578595f5270674f536 | 1,278 | checkhelper | MIT License |
buildSrc/src/main/java/co/accelerator/dependencies/library/android/AndroidLibraryDependencies.kt | yml-org | 504,124,065 | false | null | package co.accelerator.dependencies.library.android
object AndroidLibraryDependencies {
val prod = AndroidLibraryProductionDependencies
val integrationTest = AndroidLibraryTestDependencies
val unitTest = AndroidLibraryJvmUnitTestDependencies
}
| 1 | Kotlin | 2 | 5 | 2b5162b3e687d81546d9c7ce7a666b3a2b6df889 | 257 | ynetwork-android | Apache License 2.0 |
css-gg/src/commonMain/kotlin/compose/icons/cssggicons/ChevronUpR.kt | DevSrSouza | 311,134,756 | false | {"Kotlin": 36719092} | package compose.icons.cssggicons
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap
import androidx.c... | 17 | Kotlin | 25 | 571 | a660e5f3033e3222e3553f5a6e888b7054aed8cd | 2,877 | compose-icons | MIT License |
app/src/main/java/com/devvailonge/flip/features/categories/create/domain/CategoryCreateUseCase.kt | devvailonge | 358,834,978 | false | null | package com.devvailonge.flip.features.categories.create.domain
import android.app.Application
import androidx.lifecycle.LiveData
import androidx.lifecycle.liveData
import com.devvailonge.flip.FlipApplication
import com.devvailonge.flip.R
import com.devvailonge.flip.base.AppDataBase
import com.devvailonge.flip.features... | 0 | Kotlin | 0 | 1 | 509f44593e4dbe8338f02179e3366c8b228c267f | 1,936 | flip | MIT License |
build-app/example/FileManager/app/src/main/java/com/android/samples/filemanager/FileUtils.kt | wickimassoy | 269,890,421 | true | {"C++": 23211, "Kotlin": 15854, "CMake": 12971, "Java": 5752, "Lua": 5257, "C": 2024, "Python": 1642, "Shell": 168} | /*
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | 0 | C++ | 1 | 2 | ba3eef6e633403e11611b3bd60ca615bebb2ab1c | 2,574 | termux-ndk | Apache License 2.0 |
src/test/kotlin/co/nums/intellij/aem/htl/editor/actions/HtlTypingActionTestBase.kt | karollewandowski | 74,054,504 | false | null | package co.nums.intellij.aem.htl.editor.actions
import co.nums.intellij.aem.htl.HtlTestBase
import co.nums.intellij.aem.htl.file.HtlFileType
abstract class HtlTypingActionTestBase : HtlTestBase() {
protected fun doTest(given: String, typeChar: Char, expected: String) {
myFixture.configureByText(HtlFileTy... | 0 | Kotlin | 8 | 26 | 9e76302b897bddb9ce6721d67787e92be575794f | 413 | aem-intellij-plugin | MIT License |
app/src/androidTest/java/com/devdaniel/marvelapp/util/Hooks.kt | Cerverussz | 534,818,141 | false | {"Kotlin": 112667} | package com.devdaniel.marvelapp.util
import androidx.annotation.IdRes
import androidx.annotation.StringRes
import androidx.appcompat.widget.AppCompatImageButton
import androidx.recyclerview.widget.RecyclerView
import androidx.test.espresso.Espresso.onView
import androidx.test.espresso.ViewInteraction
import androidx.t... | 0 | Kotlin | 1 | 0 | 1b0ca033cd11b712a9b8f3080c0731fcd9622832 | 3,112 | MarvelApp | MIT License |
Images2/app/src/main/java/com/example/images/GalleryViewModel.kt | BennyZhang-Canviz | 255,919,665 | false | null | package com.example.images
import android.app.Application
import androidx.lifecycle.AndroidViewModel
import androidx.paging.toLiveData
class GalleryViewModel(application: Application) : AndroidViewModel(application) {
val photos = PixabayDataSourceFactory(application).toLiveData(1)
fun loadImages(){
... | 0 | Kotlin | 0 | 0 | 55ae049d5c880b67251e40cf658c4535d52cd017 | 368 | Android | Apache License 2.0 |
Repairs/app/src/test/java/com/rooio/repairs/ChangeLocationSettingsActivityTest.kt | roopairs | 212,211,326 | false | {"XML": 431086, "Kotlin": 299391, "Java": 26386} | package com.rooio.repairs
import android.app.Application
import android.content.Intent
import android.widget.Button
import android.widget.Spinner
import android.widget.TextView
import androidx.test.ext.junit.runners.AndroidJUnit4
import com.android.volley.RequestQueue
import org.json.JSONObject
import org.junit.Assert... | 0 | XML | 0 | 0 | e81487aba0a997812769e893dc8e34d21935647f | 2,396 | Rooio | MIT License |
src/main/kotlin/com/ort/firewolf/domain/service/message/system/PrivateSystemMessageDomainService.kt | h-orito | 282,923,189 | false | {"Kotlin": 928429, "Batchfile": 522, "Shell": 454} | package com.ort.firewolf.domain.service.message.system
import com.ort.firewolf.domain.model.player.Player
import com.ort.firewolf.domain.model.village.Village
import com.ort.firewolf.domain.model.village.participant.VillageParticipant
import com.ort.firewolf.domain.service.message.MessageTypeDomainService
import org.s... | 0 | Kotlin | 0 | 0 | 8c553f8d4d87c11398e240fb94a1627d1c4a26dd | 681 | firewolf-api | MIT License |
kotlin-react-router-dom/src/jsMain/generated/react/router/dom/useFetchers.kt | JetBrains | 93,250,841 | false | {"Kotlin": 11571203, "JavaScript": 155592} | // Generated by Karakum - do not modify it manually!
@file:JsModule("react-router-dom")
package react.router.dom
import remix.run.router.Fetcher
/**
* Provides all fetchers currently on the page. Useful for layouts and parent
* routes that need to provide pending/optimistic UI regarding the fetch.
*/
external fu... | 28 | Kotlin | 173 | 1,250 | 3c11ef0b33e2901f3079f7ad5eb5b5cfc27b6a9d | 371 | kotlin-wrappers | Apache License 2.0 |
app/src/main/java/top/eviarch/simplenote/ui/screen/WebViewContainer.kt | Yttehs-HDX | 763,306,615 | false | {"Kotlin": 106052} | package top.eviarch.simplenote.ui.screen
import android.annotation.SuppressLint
import android.webkit.WebChromeClient
import android.webkit.WebSettings
import android.webkit.WebView
import android.webkit.WebViewClient
import androidx.compose.runtime.Composable
import androidx.compose.ui.viewinterop.AndroidView
@Suppr... | 0 | Kotlin | 0 | 0 | ff992e10ec7b79c01ef0cce72eaef909de262435 | 722 | Simple-Note | Apache License 2.0 |
Kawa/src/main/kotlin/sibwaf/kawa/analysis/DelegatingStatementAnalyzer.kt | dya-tel | 332,540,419 | false | null | package sibwaf.kawa.analysis
import sibwaf.kawa.AnalyzerState
import sibwaf.kawa.DataFrame
import spoon.reflect.code.CtStatement
class DelegatingStatementAnalyzer(private val analyzers: List<StatementAnalyzer>) : StatementAnalyzer {
override fun supports(statement: CtStatement): Boolean {
return analyzer... | 0 | Kotlin | 0 | 0 | f3ff039c6204a659e67554617178a78dc695d1f9 | 730 | Kawa | MIT License |
app/src/main/java/com/asanarebel/android/ui/base/MvpPresenter.kt | ajaysaini-sgvu | 120,072,531 | false | null | package com.asanarebel.android.ui.base
interface MvpPresenter<V : MvpView> {
fun onAttach(mvpView: V)
fun onDetach()
fun handleApiError(error: Any)
} | 0 | Kotlin | 0 | 3 | f7a0dd5887be597d06c6654fd40e6bf9a76ad42a | 167 | search-github-repo | Apache License 2.0 |
kotlin-electron/src/jsMain/generated/electron/PowerSaveBlocker.kt | JetBrains | 93,250,841 | false | {"Kotlin": 11411371, "JavaScript": 154302} | package electron
typealias PowerSaveBlocker = electron.core.PowerSaveBlocker
| 28 | Kotlin | 173 | 1,250 | 9e9dda28cf74f68b42a712c27f2e97d63af17628 | 79 | kotlin-wrappers | Apache License 2.0 |
app/src/main/java/com/example/hairharmony/activities/LogIn.kt | 007-Shivam | 745,058,133 | false | {"Kotlin": 22490} | package com.example.hairharmony.activities
import android.content.Context
import androidx.compose.runtime.Composable
import androidx.compose.ui.platform.LocalContext
import androidx.compose.ui.tooling.preview.Preview
import androidx.navigation.NavHostController
import androidx.navigation.compose.rememberNavController
... | 0 | Kotlin | 1 | 0 | 063bbd2a4400b1377ca12bfbeb287d2b4890596b | 589 | Hair_Harmony | MIT License |
app/src/main/kotlin/net/yuzumone/bergamio/di/AppComponent.kt | yuzumone | 81,647,607 | false | null | package net.yuzumone.bergamio.di
import dagger.Component
import net.yuzumone.bergamio.MainApp
import javax.inject.Singleton
@Singleton
@Component(modules = arrayOf(AppModule::class))
interface AppComponent {
fun inject(application: MainApp)
fun plus(module: ActivityModule): ActivityComponent
} | 0 | Kotlin | 0 | 0 | a2335b62dfdc5e182616e9a13c722c138708cfda | 305 | bergamio | Apache License 2.0 |
app/src/test/java/com/wajahatkarim/tipcalculator/model/RestaurantCalculatorTest.kt | wajahatkarim3 | 136,158,316 | false | {"Kotlin": 22011} | package com.wajahatkarim.tipcalculator.model
import org.junit.Assert.assertEquals
import org.junit.Before
import org.junit.Test
class RestaurantCalculatorTest {
lateinit var calculator: RestaurantCalculator
@Before
fun setup()
{
calculator = RestaurantCalculator()
}
@Test
fun te... | 0 | Kotlin | 0 | 2 | 6a7ca5ee77e577610db2086400415b9db1c4e11e | 783 | TipCalculator-MVVM-Example | Apache License 2.0 |
Android/app/src/main/java/com/plantry/data/dto/response/profile/ResponseProfileInfoDto.kt | GDSC-SWU | 736,526,220 | false | {"Kotlin": 312709, "Java": 284329, "Python": 1946, "Dockerfile": 370} | package com.plantry.data.dto.response.profile
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
data class ResponseProfileInfoDto(
@SerialName("email")
val email: String?,
@SerialName("nickname")
val nickname: String?,
@SerialName("profileImagePath")
... | 0 | Kotlin | 0 | 3 | 7a8074ba1a76027fe09077dd490c8c7eb8a87c9f | 355 | 2024-Plantry-SolutionChallenge | MIT License |
app/src/main/java/com/g/pocketmal/util/EpisodeType.kt | glodanif | 847,288,195 | false | {"Kotlin": 517413, "Java": 112995} | package com.g.pocketmal.util
enum class EpisodeType(val type: Int) {
EPISODE(0),
CHAPTER(1),
VOLUME(2)
}
| 0 | Kotlin | 1 | 8 | 1a7fe52c2dc59dd3bf4eaeb3d9bb64d469e10845 | 118 | Pocket_MAL | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.