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/bitshares/oases/provider/local_repo/SystemBuildRepository.kt | huskcasaca | 464,732,039 | false | null | package com.bitshares.oases.provider.local_repo
import android.os.Build
object SystemBuildRepository {
fun getSystemABIs(): List<String> {
return Build.SUPPORTED_ABIS.orEmpty().toList();
}
} | 0 | Kotlin | 4 | 5 | 2522ec7169a5fd295225caf936bae2edf09b157e | 211 | bitshares-oases-android | MIT License |
gdxmachine-core/src/main/kotlin/com/disgraded/gdxmachine/core/Context.kt | DerYeger | 212,057,902 | true | {"Kotlin": 115829, "GLSL": 10412} | package com.disgraded.gdxmachine.core
import com.disgraded.gdxmachine.core.api.engine.EngineModule
import com.disgraded.gdxmachine.core.api.graphics.GraphicsModule
import com.disgraded.gdxmachine.core.api.input.InputModule
import com.disgraded.gdxmachine.core.api.physics.PhysicsModule
import com.disgraded.gdxmachine.c... | 0 | null | 0 | 1 | 1d830e693624aac01a3f8506ac8ddc45533875dc | 804 | gdxmachine | Apache License 2.0 |
typeform/src/commonMain/kotlin/com/typeform/schema/Number.kt | Nice-Healthcare | 713,429,319 | false | {"Kotlin": 225521} | package com.typeform.schema
import kotlinx.serialization.Serializable
@Serializable
data class Number(
val description: String?,
)
| 0 | Kotlin | 0 | 0 | dac244240af083e74be15001c910f22e43f56adf | 137 | typeform-kotlin | MIT License |
vuesaxicons/src/commonMain/kotlin/moe/tlaster/icons/vuesax/vuesaxicons/bold/Gpsslash.kt | Tlaster | 560,394,734 | false | {"Kotlin": 25133302} | package moe.tlaster.icons.vuesax.vuesaxicons.bold
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap
import androidx.co... | 0 | Kotlin | 0 | 2 | b8a8231e6637c2008f675ae76a3423b82ee53950 | 4,389 | VuesaxIcons | MIT License |
app/src/main/java/io/github/tonnyl/mango/data/repository/ShotsRepository.kt | cppmule | 115,583,214 | true | {"Kotlin": 356336, "HTML": 31219} | /*
* Copyright (c) 2017 Lizhaotailang
*
* 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, publi... | 0 | Kotlin | 0 | 0 | 958210959ea4bacaaeefc43de796429856bc941b | 2,843 | Mango | MIT License |
java2taxi/src/main/java/lang/taxi/generators/java/TaxiGenerator.kt | adarro | 458,750,628 | false | null | package lang.taxi.generators.java
import com.google.common.annotations.VisibleForTesting
import lang.taxi.TaxiDocument
import lang.taxi.annotations.DataType
import lang.taxi.annotations.Service
import lang.taxi.generators.SchemaWriter
import lang.taxi.types.Type
class TaxiGenerator(val typeMapper: TypeMapper = Defaul... | 0 | Kotlin | 0 | 0 | 4e63dc633ef4dd28f6c92f1546640d9b67fa0826 | 1,933 | quarkus-taxi-poc | Apache License 2.0 |
app/src/main/java/com/tans/tfiletransporter/App.kt | Tans5 | 329,625,887 | false | {"Kotlin": 513053} | package com.tans.tfiletransporter
import android.app.Application
import com.squareup.moshi.Moshi
import com.tans.tuiutils.systembar.AutoApplySystemBarAnnotation
class App : Application() {
override fun onCreate() {
super.onCreate()
AutoApplySystemBarAnnotation.init(this)
Settings.init(thi... | 0 | Kotlin | 20 | 96 | 061bf75ba02b48693e61fbc15af670dc24a4c2cf | 450 | tFileTransporter | Apache License 2.0 |
roman-calculator-core/src/test/kotlin/ru/andreyTw/romanCalculator/core/converters/RomanToArabicConverterShould.kt | AndreyTW | 630,311,096 | false | null | package ru.andreyTw.romanCalculator.core.converters
import org.junit.jupiter.api.Assertions.assertEquals
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.assertThrows
import org.junit.jupiter.params.ParameterizedTest
import org.junit.jupiter.params.provider.MethodSource
import ru.andreyTw.romanCalculator... | 0 | Kotlin | 1 | 1 | a1587254b4e776d13e8ecc34fdfca2230928e036 | 1,481 | roman-calculator | MIT License |
src/main/kotlin/cz/gregersoftware/testcontainers/integration/kafka/CacheHitMessage.kt | GregerSoftware | 723,429,245 | false | {"Kotlin": 37930} | package cz.gregersoftware.testcontainers.integration.kafka
import java.time.Instant
data class CacheHitMessage(
val id: Int,
val time: Instant
)
| 0 | Kotlin | 0 | 0 | 6e02d150592fa720ed2e3df3169ae3b0ea7f1e2b | 155 | testcontainers | Apache License 2.0 |
src/main/kotlin/com/cognifide/gradle/aem/common/instance/provision/step/DeployPackageSource.kt | wttech | 90,353,060 | false | {"Kotlin": 792222, "Shell": 8269, "Batchfile": 438} | package com.cognifide.gradle.aem.common.instance.provision.step
import com.cognifide.gradle.aem.AemExtension
import com.cognifide.gradle.aem.common.instance.provision.InstanceStep
import com.cognifide.gradle.aem.common.instance.provision.ProvisionException
import org.apache.commons.io.FilenameUtils
import org.gradle.a... | 67 | Kotlin | 35 | 158 | 18d6cab33481f8f883c6139267fb059f7f6047ae | 2,826 | gradle-aem-plugin | Apache License 2.0 |
app/src/main/java/com/tamimi/movies/di/AppModule.kt | tamtom | 228,876,159 | false | null | package com.tamimi.movies.di
import android.content.Context
import androidx.room.Room
import com.tamimi.movies.MoviesApplication
import com.tamimi.movies.api.MoviesService
import com.tamimi.movies.api.RequestInterceptor
import com.tamimi.movies.db.*
import com.tamimi.movies.repository.MovieDetailsRepository
import com... | 0 | Kotlin | 0 | 0 | e366f6e72816c0edf4c10a8d5c2293e85aa1fd34 | 3,287 | MoviesCatalog | Apache License 2.0 |
app/src/main/java/com/hgroup/roomnote/database/NoteDao.kt | hasangurbuzz | 354,874,257 | false | null | package com.hgroup.roomnote.database
import androidx.lifecycle.LiveData
import androidx.room.*
import com.hgroup.roomnote.model.Note
@Dao
interface NoteDao {
@Insert
suspend fun addNote(note: Note)
@Update
suspend fun updateNote(note: Note)
@Delete
suspend fun deleteNote(note: Note)
@Q... | 0 | Kotlin | 0 | 0 | 9c3c9b277f2e65eb96204513bd885f79cc8ffa71 | 469 | RoomNoteApp | MIT License |
app/src/main/java/com/isaiahvonrundstedt/fokus/features/event/EventViewModel.kt | ST10067544-Thato | 811,596,874 | false | {"Kotlin": 503075} | package com.isaiahvonrundstedt.fokus.features.event
import androidx.lifecycle.*
import com.isaiahvonrundstedt.fokus.database.repository.TaskRepository
import com.isaiahvonrundstedt.fokus.features.task.Task
import com.isaiahvonrundstedt.fokus.features.task.TaskPackage
import dagger.hilt.android.lifecycle.HiltViewModel
... | 0 | Kotlin | 0 | 0 | 0ec462bbbb8e827d7c711b3ccb40bc3bca45d5a6 | 2,075 | OPSC-POE | MIT License |
app/src/main/java/com/burgosking/order/data/models/Order.kt | Gersonhvg | 701,620,465 | false | {"Kotlin": 25398} | package com.burgosking.order.data.models
data class Order(
var id: Int,
var userId: Int,
var date: String,
val menus: MutableList<Menu> = mutableListOf()
)
| 0 | Kotlin | 0 | 0 | 23911dd70a355f549127245ea141497fe2cf21bb | 173 | Burgos-King-App | MIT License |
src/main/kotlin/no/nav/pdl/pdlfullmaktapi/config/Environment.kt | navikt | 201,039,615 | false | {"Kotlin": 15794, "Dockerfile": 47} | package no.nav.pdl.pdlfullmaktapi.config
data class Environment(
/*val fullmaktClientId: String = System.getenv("FULLMAKT_CLIENT_ID")*/
val fullmaktClientId: String = System.getenv("TOKEN_X_CLIENT_ID")
)
fun requireProperty(property: String) =
getPropertyOrNull(property) ?: throw IllegalStateException... | 1 | Kotlin | 1 | 2 | f039388876862f46f7612f769329a27be6f2e494 | 470 | pdl-fullmakt-api | MIT License |
shared/src/commonMain/kotlin/App.kt | tmromao | 714,419,305 | false | {"Kotlin": 7028, "Swift": 592, "Shell": 228} | import androidx.compose.animation.AnimatedVisibility
import androidx.compose.foundation.Image
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.RowScope
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.material.BottomNavigation
import androidx.compo... | 0 | Kotlin | 0 | 0 | d26599e0b56df403d3a31f7e810425e0080ad9dd | 3,298 | my-kmm-v1 | Apache License 2.0 |
app/src/androidTest/java/com/imtae/gitcheck/MainActivityTest.kt | Im-Tae | 237,409,069 | false | null | package com.imtae.gitcheck
import androidx.test.espresso.Espresso
import androidx.test.espresso.assertion.ViewAssertions.matches
import androidx.test.espresso.matcher.ViewMatchers.withId
import androidx.test.espresso.matcher.ViewMatchers.withText
import androidx.test.ext.junit.runners.AndroidJUnit4
import androidx.tes... | 0 | Kotlin | 0 | 4 | 9ab2fd7d39a948890e68a34f87181f327a926b1d | 794 | GitCheck | Apache License 2.0 |
app/src/main/java/com/adevinta/randomusers/RandomUsersApplication.kt | lauramsolana93 | 391,013,281 | false | null | package com.adevinta.randomusers
import android.app.Application
import com.adevinta.randomusers.di.injectModule
import org.koin.android.ext.koin.androidContext
import org.koin.core.context.startKoin
class RandomUsersApplication : Application() {
override fun onCreate() {
super.onCreate()
initDi()... | 0 | Kotlin | 0 | 0 | 90f9b61d3e3c2d54632d9729ee3e28748b48b0db | 475 | RandomUsers | Apache License 2.0 |
composeApp/src/commonMain/kotlin/com/rwmobi/kunigami/data/repository/mapper/RateMapper.kt | ryanw-mobile | 794,752,204 | false | {"Kotlin": 518481, "Swift": 693} | /*
* Copyright (c) 2024. <NAME>
* https://github.com/ryanw-mobile
* Sponsored by RW MobiMedia UK Limited
*
*/
package com.rwmobi.kunigami.data.repository.mapper
import com.rwmobi.kunigami.data.source.network.dto.RateDto
import com.rwmobi.kunigami.domain.model.PaymentMethod
import com.rwmobi.kunigami.domain.model... | 24 | Kotlin | 0 | 2 | 241e0ea08e92d663e8c9fb2732627dc054e24db6 | 554 | OctoMeter | MIT License |
data/src/main/java/com/ribsky/data/mapper/from/FromMapper.kt | nexy791 | 607,748,138 | false | {"Kotlin": 777643, "Java": 316} | package com.ribsky.data.mapper.from
import com.ribsky.data.mapper.Mapper
import com.ribsky.data.model.FromApiModel
import com.ribsky.domain.model.bio.BaseFromModel
interface FromMapper : Mapper<FromApiModel, BaseFromModel>
class FromMapperImpl : FromMapper {
override fun map(input: FromApiModel): BaseFromModel {... | 0 | Kotlin | 0 | 17 | a4bb53ce3d9d7275cecd378d7f81f0c7f844c872 | 432 | dymka | Apache License 2.0 |
app/src/main/java/com/munene/haliyahewa/api/LiveResource.kt | meshnesh | 596,996,345 | false | null | package com.munene.haliyahewa.api
sealed class LiveResource<out T>(
open val data: T? = null,
open val errorMessage: String? = null
) {
data class Loading<out T>(override val data: T?) : LiveResource<T>()
data class Success<out T>(override val data: T?) : LiveResource<T>()
data class Error<out T>(o... | 0 | Kotlin | 0 | 0 | 496c4d8c854a721ac814be18c6b1ba13db5e901b | 630 | Hali-ya-Hewa | Apache License 2.0 |
app/src/main/kotlin/com/flxrs/dankchat/chat/mention/MentionViewModel.kt | flex3r | 186,238,019 | false | {"Kotlin": 977613} | package com.flxrs.dankchat.chat.mention
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.flxrs.dankchat.chat.ChatItem
import com.flxrs.dankchat.data.repo.chat.ChatRepository
import dagger.hilt.android.lifecycle.HiltViewModel
import kotlinx.coroutines.flow.SharingStarted
import ko... | 73 | Kotlin | 37 | 266 | 49d86a05f3bba655881e6e93360f216316cee7c9 | 1,298 | DankChat | MIT License |
src/main/kotlin/de/c4vxl/bedwars/shop/items/handlers/BaseTP.kt | c4vxl-Network | 850,861,120 | false | {"Kotlin": 83435} | package de.c4vxl.bedwars.shop.items.handlers
import de.c4vxl.bedwars.BedWars
import de.c4vxl.bedwars.shop.items.Items
import de.c4vxl.gamemanager.gamemanagementapi.game.Game
import de.c4vxl.gamemanager.gamemanagementapi.player.GMAPlayer
import de.c4vxl.gamemanager.gamemanagementapi.player.GMAPlayer.Companion.asGamePla... | 0 | Kotlin | 1 | 0 | 8ca288210e244da358bbcfee52da5381b3a252b0 | 4,468 | BedWars | Apache License 2.0 |
emoji-ios/src/commonMain/kotlin/com/vanniktech/emoji/ios/category/SymbolsCategoryChunk1.kt | vfishv | 215,065,261 | true | {"Kotlin": 2339499, "JavaScript": 18682, "Ruby": 10874} | /*
* Copyright (C) 2016 - <NAME>, <NAME>, <NAME> and contributors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requir... | 2 | Kotlin | 0 | 0 | 785effa190b8da7f2cebaab23266b4b31b4147fc | 6,837 | Emoji | Apache License 2.0 |
feature/auth/src/main/java/co/orange/auth/phone/PhoneActivity.kt | Orange-Co | 806,038,557 | false | {"Kotlin": 430580, "HTML": 2625} | package co.orange.auth.phone
import android.os.Bundle
import androidx.activity.viewModels
import androidx.core.view.isVisible
import androidx.lifecycle.flowWithLifecycle
import androidx.lifecycle.lifecycleScope
import co.orange.auth.BuildConfig.IAMPORT_CODE
import co.orange.auth.databinding.ActivityPhoneBinding
import... | 0 | Kotlin | 1 | 2 | b1f2b0b3025c5e27a07ad4e0406db5c1ffa777c7 | 5,519 | DDANZI_Android | MIT License |
androidApp/src/main/java/com/rld/justlisten/android/ui/utils/Lerp.kt | RLD-JL | 495,044,961 | false | {"Kotlin": 301525, "Swift": 344} | /*
* Copyright 2020 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... | 3 | Kotlin | 3 | 82 | e7060fe54f59551b89587698149274e5647b3216 | 2,765 | Just-Listen | Apache License 2.0 |
app/src/main/java/com/tcc/alif/view/ui/administrator/employees/EmployeeViewModel.kt | Limatucano | 343,949,865 | false | null | package com.tcc.alif.view.ui.administrator.employees
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.tcc.alif.data.repository.CompanyRepository
import com.tcc.alif.data.repository.EmployeeRepository
import com.tcc.alif.data.util.request
... | 0 | Kotlin | 0 | 4 | 3232283a620ebe6ed0911b8081c2f320d887864a | 2,684 | alif | MIT License |
app/src/main/java/ru/divarteam/franimal/presentation/auth/AuthTgLoginBottomSheet.kt | divarteam | 762,212,731 | false | {"Kotlin": 150970} | package ru.divarteam.franimal.presentation.auth
import android.content.Intent
import android.net.Uri
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.activityViewModels
import com.google.android.material.bottomsheet.BottomSh... | 0 | Kotlin | 0 | 0 | 4f7ba25070ad3ab0f50f2bbebdb7d92e6a3c67f6 | 1,611 | hackathon2024_android | Apache License 2.0 |
android/engine/src/main/java/org/smartregister/fhircore/engine/ui/appsetting/AppSettingActivity.kt | opensrp | 339,242,809 | false | null | /*
* Copyright 2021 Ona Systems, Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | 150 | Kotlin | 8 | 17 | 5d69569435cb30735eff95f98f29aed1f7b16b4f | 4,854 | fhircore | Apache License 2.0 |
spring-funk-core/src/main/kotlin/com/github/wakingrufus/funk/util/ConfigKeyNormalizer.kt | wakingrufus | 787,456,746 | false | {"Kotlin": 99118} | package com.github.wakingrufus.funk.util
/**
* Spring Boot relaxed binding strictly requires kebab case when binding a configuration properties,
* so when those bindings are driven by user-supplied input, this function is useful to normalize that to kebab case prior to binding
*/
fun normalizeConfigKey(rawKey: Stri... | 4 | Kotlin | 5 | 43 | ef23568fe198df7e05a979d1cc7f4eaeb7767283 | 1,471 | spring-funk | Apache License 2.0 |
app/src/main/java/com/ly/easyrefresh/MainViewModel.kt | 972223177 | 521,466,767 | false | null | package com.ly.easyrefresh
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.ly.easyrefresh.refresh.refreshState
import kotlinx.coroutines.delay
import kotlinx.coroutines.launch
class MainViewModel : ViewModel() {
val refreshState = refreshState()
fun refresh(){
... | 0 | Kotlin | 1 | 0 | 4bb66040d382d3b2f4a05d4301b2c1b391025beb | 577 | easyrefresh-compose | Apache License 2.0 |
app/src/main/java/sergio/sastre/multiplying/quality/of/unittests/ui/CreateAccountButton.kt | sergio-sastre | 370,679,468 | false | null | package sergio.sastre.multiplying.quality.of.unittests.ui
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.material.Button
import androidx.compose.material.MaterialTheme
import androidx.compose.material.Text
import androidx.compo... | 1 | Kotlin | 0 | 4 | 7036a1533d8823635cf6d25730fe6e4b26139d52 | 1,165 | Multiplying_the_quality_of_unit_tests | MIT License |
modules/wasm-binary/src/commonMain/kotlin/tree/instructions/EndInstruction.kt | wasmium | 761,480,110 | false | {"Kotlin": 597834, "JavaScript": 203} | package org.wasmium.wasm.binary.tree.instructions
import org.wasmium.wasm.binary.tree.Opcode
import org.wasmium.wasm.binary.visitors.ExpressionVisitor
public class EndInstruction : AbstractInstruction(Opcode.END), NoneInstruction {
override fun accept(expressionVisitor: ExpressionVisitor) {
expressionVisi... | 0 | Kotlin | 0 | 3 | 9664a7c5c9bf1652ee4e8dab1bbceffebd0869ca | 354 | wasmium-wasm-binary | Apache License 2.0 |
src/main/kotlin/kscript/app/util/ScriptUtils.kt | holgerbrandl | 53,889,290 | false | null | package kscript.app.util
import kscript.app.model.*
import kscript.app.resolver.ResolutionContext
import org.apache.commons.codec.digest.DigestUtils
import java.net.HttpURLConnection
import java.net.URI
import java.net.URL
object ScriptUtils {
fun resolveRedirects(url: URL): URL {
val con: HttpURLConnecti... | 34 | Kotlin | 113 | 1,751 | dc827753adf707cf31cd220716e85139cae2d9cd | 4,034 | kscript | MIT License |
app/src/main/java/ton/coin/wallet/data/Account.kt | protoshadowmaker | 643,940,461 | false | null | package ton.coin.wallet.data
data class Account(val mnemonic: List<String>) | 0 | Kotlin | 0 | 0 | adf8eb798a8e044427b7295136913869bf264e7e | 76 | tonwallet | MIT License |
feature/account/setup/src/main/kotlin/app/k9mail/feature/account/setup/AccountSetupModule.kt | thundernest | 1,326,671 | false | null | package app.k9mail.feature.account.setup
import app.k9mail.autodiscovery.api.AutoDiscoveryService
import app.k9mail.autodiscovery.service.RealAutoDiscoveryService
import app.k9mail.core.common.coreCommonModule
import app.k9mail.feature.account.oauth.featureAccountOAuthModule
import app.k9mail.feature.account.setup.dom... | 679 | Kotlin | 2383 | 8,175 | 7da66f186763ea7a1eb94797340e28c06afb36b8 | 6,056 | k-9 | Apache License 2.0 |
app/src/main/java/com/justwayward/reader/utils/ScreenUtils.kt | petma | 198,171,907 | true | {"Kotlin": 1560776, "Java": 34640, "JavaScript": 31488, "HTML": 5286, "CSS": 4040} | /**
* Copyright 2016 JustWayward Team
*
*
* 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 | 0 | 0 | d011466692aae7c583ab8a264f760f7ff7d17458 | 9,707 | BookReader-1 | Apache License 2.0 |
app/src/main/kotlin/com/ave/vastgui/app/adapter/entity/Message.kt | SakurajimaMaii | 353,212,367 | false | {"Kotlin": 1119175, "Java": 31062} | /*
* Copyright 2024 VastGui guihy2019@gmail.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law o... | 8 | Kotlin | 6 | 64 | 81c5ca59680143d9523c01852d9587a8d926c1c3 | 1,483 | Android-Vast-Extension | Apache License 2.0 |
src/main/kotlin/com/vk/admstorm/executors/AdmToolsExecutor.kt | VKCOM | 454,408,302 | false | null | package com.vk.admstorm.executors
import com.intellij.execution.Executor
import com.intellij.execution.ExecutorRegistry
import com.intellij.icons.AllIcons
import com.intellij.openapi.project.Project
import com.vk.admstorm.utils.ServerNameProvider
class AdmToolsExecutor : Executor() {
companion object {
co... | 32 | Kotlin | 3 | 9 | a0f16edbaab1b37ae08b7244df9d0585b7949042 | 1,246 | admstorm | MIT License |
src/main/kotlin/utils/FileUtils.kt | MotasemF | 536,197,146 | false | {"Kotlin": 25470} | import java.awt.Desktop
import java.awt.image.BufferedImage
import java.io.File
import java.io.IOError
import java.io.IOException
import java.nio.file.Files
import java.nio.file.Path
import java.nio.file.attribute.BasicFileAttributes
import java.util.*
import javax.imageio.ImageIO
object FileUtils {
@JvmStatic
... | 0 | Kotlin | 0 | 1 | 39cd14fab052d29b6e546747cfd45b6ae21c290c | 1,843 | ComposeScreenshot | Apache License 2.0 |
src/main/kotlin/utils/FileUtils.kt | MotasemF | 536,197,146 | false | {"Kotlin": 25470} | import java.awt.Desktop
import java.awt.image.BufferedImage
import java.io.File
import java.io.IOError
import java.io.IOException
import java.nio.file.Files
import java.nio.file.Path
import java.nio.file.attribute.BasicFileAttributes
import java.util.*
import javax.imageio.ImageIO
object FileUtils {
@JvmStatic
... | 0 | Kotlin | 0 | 1 | 39cd14fab052d29b6e546747cfd45b6ae21c290c | 1,843 | ComposeScreenshot | Apache License 2.0 |
codegen/src/main/kotlin/software/amazon/smithy/rust/codegen/smithy/customize/NamedSectionGenerator.kt | awslabs | 308,027,791 | false | null | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
package software.amazon.smithy.rust.codegen.smithy.customize
import software.amazon.smithy.rust.codegen.rustlang.Writable
import software.amazon.smithy.rust.codegen.rustlang.writable
/**
* An overrid... | 152 | null | 46 | 133 | 97a49f3c12f7b608659fac68769166cec37e46de | 1,607 | smithy-rs | Apache License 2.0 |
app/src/main/java/com/nima/guessthatpokemon/model/PokemonAbility/Name.kt | NimaKhajehpour | 594,760,766 | false | null | package com.nima.guessthatpokemon.model.PokemonAbility
data class Name(
val language: Language,
val name: String
) | 4 | Kotlin | 0 | 9 | 34b4d2fa72dc93efc69dffb25f6557f34a387433 | 123 | GuessThatPokemon | MIT License |
app/src/main/java/dev/kingbond/moveon/ui/settings/SettingsProfileFragment.kt | Kingbond470 | 422,909,035 | false | {"Kotlin": 129863, "Java": 9137} | package dev.kingbond.moveon.ui.settings
import android.app.Activity
import android.content.Intent
import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.View
import com.bumptech.glide.Glide
import com.google.firebase.auth.FirebaseAuth
import dev.kingbond.moveon.R
import dev.kingbond.moveon.... | 0 | Kotlin | 0 | 5 | b1f790c6cf43354857f1f98e217fe68bdb3e9e3a | 1,205 | Move-On | MIT License |
model/src/main/kotlin/org/eclipse/keti/acs/model/Attribute.kt | anubhavi25 | 137,931,061 | true | {"Kotlin": 1252473, "Shell": 39051, "Gherkin": 8014, "Groovy": 6987} | /*******************************************************************************
* Copyright 2018 General Electric Company
*
* 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:... | 1 | Kotlin | 0 | 0 | 285400fba42c687bb42bf4e537ae6f9eca4bf4df | 2,953 | keti | Apache License 2.0 |
vuesaxicons/src/commonMain/kotlin/moe/tlaster/icons/vuesax/vuesaxicons/bold/Galleryremove.kt | Tlaster | 560,394,734 | false | {"Kotlin": 25133302} | package moe.tlaster.icons.vuesax.vuesaxicons.bold
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap
import androidx.co... | 0 | Kotlin | 0 | 2 | b8a8231e6637c2008f675ae76a3423b82ee53950 | 5,122 | VuesaxIcons | MIT License |
src/main/kotlin/org/grakovne/template/telegram/events/core/Event.kt | GrakovNe | 704,967,060 | false | {"Kotlin": 28494} | package org.grakovne.template.telegram.events.core
abstract class Event(val eventType: EventType)
enum class EventType {
LOG_SENT,
INCOMING_MESSAGE
}
| 0 | Kotlin | 0 | 1 | e2dc9252ddd50c8bdabf021be72b8957b10c0c2d | 162 | telegram_bot_template | MIT License |
LudoSpringBoot/game-server/src/main/kotlin/hu/bme/aut/alkfejl/ludospringboot/gameserver/domain/config/ServiceConfig.kt | Kis-Benjamin | 693,261,151 | false | {"Kotlin": 358575, "Shell": 2693, "Dockerfile": 2134} | /*
* Copyright © 2023 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... | 0 | Kotlin | 0 | 0 | 731f304280ad30068c0149fdd04a94213ebea2e1 | 1,338 | Ludo | Apache License 2.0 |
app/src/main/java/com/github/raulccabreu/redukt/Redukt.kt | niltonvasques | 111,730,029 | true | {"Kotlin": 25718} | package com.github.raulccabreu.redukt
import com.github.raulccabreu.redukt.actions.Action
import com.github.raulccabreu.redukt.middlewares.Middleware
import com.github.raulccabreu.redukt.reducers.Reducer
import com.github.raulccabreu.redukt.states.StateListener
import kotlin.system.measureTimeMillis
class Redukt<T>(s... | 0 | Kotlin | 0 | 0 | 6a981fa75ec8f13de00b48c9df9085f75d9051d3 | 1,739 | redukt | MIT License |
app/spring/oas-stub-inmemory-storage-autoconfigure/src/main/kotlin/io/github/ktakashi/oas/storages/inmemory/configurations/AutoInMemoryStorageConfiguration.kt | ktakashi | 673,843,773 | false | null | package io.github.ktakashi.oas.storages.inmemory.configurations
import io.github.ktakashi.oas.storage.apis.PersistentStorage
import io.github.ktakashi.oas.storage.apis.SessionStorage
import io.github.ktakashi.oas.storages.inmemory.InMemoryPersistentStorage
import io.github.ktakashi.oas.storages.inmemory.InMemorySessio... | 0 | Kotlin | 0 | 1 | 7ba4856cef7e8a908c549cd008c6b201a9e5660e | 1,408 | oas-stub | Apache License 2.0 |
app/src/main/java/com/brian/weather/ui/AlertFragment.kt | bmaum321 | 538,279,308 | false | {"Kotlin": 143916} | /*
* Copyright (C) 2021 The Android Open Source Project.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 0 | Kotlin | 0 | 0 | 92959115f0aadc9831f2a1c15076cd8fd961ebc7 | 5,718 | Weather-App--XML | Apache License 2.0 |
app/src/main/java/com/rainey/evapp/view/main/HomeFragmentModule.kt | gradyu | 145,406,663 | false | null | /*
* Copyright (C) 2018 grady
* 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 ... | 0 | Kotlin | 0 | 0 | deec51fce59065c23826321493fa16479e842c4e | 908 | evapp | Apache License 2.0 |
fshop/src/main/kotlin/com/zxuqian/data/ProductData.kt | zxuqian | 118,297,585 | false | {"JavaScript": 335787, "CSS": 48124, "Kotlin": 15904, "HTML": 342} | package com.zxuqian.data
import com.mongodb.client.model.Filters.*
import com.mongodb.client.model.Updates.*
import com.zxuqian.DATABASE_NAME
import com.zxuqian.PRODUCT_COLLECTION
import com.zxuqian.exceptions.DataException
import com.zxuqian.mongoClient
import org.bson.Document
import org.bson.types.ObjectId
data c... | 0 | JavaScript | 0 | 1 | 4620d2983adbba7c820cc37d487b1d36dda1bec4 | 1,285 | fshop-deprecated | MIT License |
bootstrap/ilc/src/main/kotlin/dusk/ilc/program/interpreter/ExternalFunctionHandler.kt | thebennybox-Community | 131,322,890 | false | null | package dusk.ilc.program.interpreter
interface ExternalFunctionHandler {
fun supports(name: String, paramCount: Int): Boolean
fun call(name: String, args: Array<Any>): Any?
} | 38 | C++ | 6 | 18 | 08c92b91ae33667b5fa7a6c47db0aa5dc6b0c59c | 178 | Community-Compiler | MIT License |
Android/app/src/main/java/ademar/bitac/view/ActionButtonBehavior.kt | developeromar | 112,402,025 | true | {"Kotlin": 181360} | package ademar.bitac.view
import android.content.Context
import android.support.annotation.Keep
import android.support.design.widget.CoordinatorLayout
import android.support.design.widget.Snackbar
import android.util.AttributeSet
import android.view.View
import android.view.animation.AccelerateDecelerateInterpolator
... | 0 | Kotlin | 0 | 0 | d5941136b5386267abfbde88eac242d4eb7018c4 | 1,514 | BitAC | MIT License |
src/main/kotlin/no/nav/sosialhjelp/modia/digisossak/event/EventService.kt | navikt | 216,780,859 | false | {"Kotlin": 461383, "Dockerfile": 427} | package no.nav.sosialhjelp.modia.digisossak.event
import no.nav.sbl.soknadsosialhjelp.digisos.soker.JsonDigisosSoker
import no.nav.sbl.soknadsosialhjelp.digisos.soker.JsonHendelse
import no.nav.sbl.soknadsosialhjelp.digisos.soker.hendelse.JsonDokumentasjonEtterspurt
import no.nav.sbl.soknadsosialhjelp.digisos.soker.he... | 1 | Kotlin | 0 | 1 | e5eda33bfcf16d2f519a76a53349005b064dcd1c | 6,780 | sosialhjelp-modia-api | MIT License |
app/src/main/java/xyz/tberghuis/floatingtimer/service/overlayViewFactory.kt | tberghuis | 500,632,576 | false | {"Kotlin": 88708} | package xyz.tberghuis.floatingtimer.service
import android.app.Service
import android.os.Bundle
import androidx.compose.runtime.Recomposer
import androidx.compose.ui.platform.AndroidUiDispatcher
import androidx.compose.ui.platform.ComposeView
import androidx.compose.ui.platform.ViewCompositionStrategy
import androidx.... | 11 | Kotlin | 3 | 50 | 352a4b9ebdb28e60ecf6c5f2c362e7e44807a53f | 3,307 | FloatingCountdownTimer | MIT License |
app/src/main/java/com/erivera/apps/topcharts/StartupRouteState.kt | er-rivera | 188,952,931 | false | null | package com.erivera.apps.topcharts
sealed class StartupRouteState {
object Login : StartupRouteState()
object Home : StartupRouteState()
} | 0 | Kotlin | 0 | 0 | a987851954f3536229bc09b05e7548ddb1969b06 | 148 | SpotifyStats | MIT License |
lib/basic/src/androidUnitTest/kotlin/jp/co/soramitsu/xnetworking/androidTest.kt | soramitsu | 475,838,756 | false | {"Kotlin": 117733, "Swift": 339} | package jp.co.soramitsu.xnetworking
import jp.co.soramitsu.xnetworking.basic.common.platform
import org.junit.Assert.assertEquals
import org.junit.Test
class AndroidGreetingTest {
@Test
fun testExample() {
assertEquals("android", platform())
}
} | 3 | Kotlin | 0 | 1 | 705f178f3916fb79124e329936cc4f477923ca86 | 268 | x-networking | Apache License 2.0 |
node/src/main/kotlin/me/slavita/construction/action/menu/project/ChoiceProject.kt | Roman-Andr | 535,243,293 | false | {"Kotlin": 482345} | package me.slavita.construction.action.menu.project
import me.func.mod.Anime
import me.func.mod.ui.menu.Openable
import me.func.mod.ui.menu.button
import me.func.mod.ui.menu.choicer
import me.func.protocol.data.color.GlowColor
import me.slavita.construction.action.command.MenuCommand
import me.slavita.construction.act... | 0 | Kotlin | 0 | 1 | e4e3c255bbfdfb5369ca66e57842e2c8712d2a10 | 2,652 | simulator-mayor | Apache License 2.0 |
ui/src/main/java/com/redvelvet/ui/screen/loginScreen/LoginScreen.kt | RedVelvet-Team | 670,763,637 | false | null | package com.redvelvet.ui.screen.loginScreen
import android.content.res.Configuration
import androidx.compose.foundation.Image
import androidx.compose.foundation.background
import androidx.compose.foundation.border
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
im... | 0 | Kotlin | 0 | 0 | 0d6a1934ee4bbe993a03230b01237d99bc21bc30 | 11,202 | IMovie | Apache License 2.0 |
app/src/main/java/fr/smarquis/qrcode/ui/multi/MultiResult.kt | SimonMarquis | 182,449,740 | false | {"Kotlin": 88015} | package fr.smarquis.qrcode.ui.multi
import fr.smarquis.qrcode.model.Barcode
import fr.smarquis.qrcode.model.Mode
sealed class MultiResult {
object Empty : MultiResult()
data class Found(val barcode: Barcode, val mode: Mode, var handled: Boolean = false) : MultiResult()
}
| 2 | Kotlin | 12 | 63 | be703125b2120fc14f980309bb8b1abd77c05f2f | 282 | QrCode | Apache License 2.0 |
androidApp/src/main/java/com/hicham/wcstoreapp/android/ui/main/MainActivity.kt | hichamboushaba | 409,224,270 | false | null | package com.hicham.wcstoreapp.android.ui.main
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.animation.ExperimentalAnimationApi
import androidx.compose.foundation.BorderStroke
import androidx.compose.foundation.layout.*
import and... | 1 | Kotlin | 0 | 9 | 0c307dafb1d5312b948e7921cb28803aa995015e | 6,556 | WCStoreApp | MIT License |
src/main/kotlin/org/vitrivr/cottontail/client/language/ddl/DropIndex.kt | vitrivr | 170,489,332 | false | null | package org.vitrivr.cottontail.client.language.ddl
import org.vitrivr.cottontail.client.language.basics.LanguageFeature
import org.vitrivr.cottontail.client.language.extensions.parseIndex
import org.vitrivr.cottontail.grpc.CottontailGrpc
/**
* A DROP INDEX query in the Cottontail DB query language.
*
* @author Ral... | 2 | Kotlin | 1 | 4 | 7ac4a6ef792ef849ed6eed07c60666ed09323079 | 1,261 | cottontaildb-proto | MIT License |
app/src/main/java/com/kaedenoki/moviecorner/ui/adapter/series/episode/UrlSeriesAdapter.kt | Kaede-No-Ki | 290,696,286 | false | null | package com.kaedenoki.moviecorner.ui.adapter.series.episode
import android.content.res.ColorStateList
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.core.content.ContextCompat
import androidx.recyclerview.widget.RecyclerView
import com.kaedenoki.moviecorner.R
... | 8 | Kotlin | 8 | 43 | ea72dc71dfc43e41a6566428db69c139c474df6e | 3,024 | moviecorner-app | MIT License |
app/src/main/kotlin/codes/chrishorner/socketweather/home/TimeForecastGraph.kt | chris-horner | 229,036,471 | false | null | package codes.chrishorner.socketweather.home
import androidx.compose.foundation.Canvas
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.la... | 7 | null | 9 | 91 | 8de593bbe29a0bdb86a1ec69d3889ea3c5eb8c14 | 12,238 | SocketWeather | Apache License 2.0 |
wasi-emscripten-fs/src/linuxMain/kotlin/posix/LinuxAddAdvisoryLockFd.kt | illarionov | 769,429,996 | false | {"Kotlin": 1838071} | /*
* Copyright 2024, the wasm-sqlite-open-helper project authors and contributors. Please see the AUTHORS file
* for details. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
* SPDX-License-Identifier: Apache-2.0
*/
package ru.pixnews.wasm.sqlite.open.helper.host... | 1 | Kotlin | 1 | 3 | a108f071520ab5e20fad01cb3b9a6e91549914dd | 3,540 | wasm-sqlite-open-helper | Apache License 2.0 |
src/main/kotlin/com/mairwunnx/projectessentials/core/impl/vanilla/commands/ClearCommand.kt | KuroNoSeiHai | 269,961,473 | true | {"Kotlin": 564654, "Java": 145273, "Groovy": 4174} | /**
* This command implementation by Mojang.
* And decompiled with idea source code was converted
* to kotlin code.
* Also added some logic, for example checking on
* permissions, and for some commands shorten aliases.
*
* 1. This can be bad code.
* 2. This file can be not formatter pretty.
*/
package com.mai... | 0 | Kotlin | 0 | 0 | 6bdd903e1c98858003922051971b40a96174f50a | 7,743 | ProjectEssentials-Core | MIT License |
src/testIntegration/kotlin/uk/gov/justice/digital/hmpps/sendlegalmailtoprisonsapi/mocks/ManageUsersApiMockServer.kt | ministryofjustice | 424,655,284 | false | {"Kotlin": 362738, "Shell": 4020, "JavaScript": 2567, "Dockerfile": 1381} | package uk.gov.justice.digital.hmpps.sendlegalmailtoprisonsapi.mocks
import com.github.tomakehurst.wiremock.WireMockServer
import com.github.tomakehurst.wiremock.client.WireMock
import com.github.tomakehurst.wiremock.client.WireMock.aResponse
import com.github.tomakehurst.wiremock.common.SingleRootFileSource
import co... | 2 | Kotlin | 0 | 4 | 17f125139c94f3c96220c096a022bdb09c22738b | 3,255 | send-legal-mail-to-prisons-api | MIT License |
packages/cinterop/src/nativeDarwin/kotlin/io/realm/kotlin/internal/interop/sync/AuthProvider.kt | realm | 235,075,339 | false | {"Kotlin": 4564631, "C++": 126122, "SWIG": 26070, "Shell": 23822, "C": 5126, "CMake": 2858, "Ruby": 1586, "Java": 1470} | /*
* Copyright 2021 Realm Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... | 242 | Kotlin | 57 | 942 | df49eefacba8f57653e232203f44003643468463 | 1,958 | realm-kotlin | Apache License 2.0 |
shared/src/commonMain/kotlin/data/repository/CreateDatastore.kt | BasemNasr | 710,329,067 | false | {"Kotlin": 204335, "Swift": 1050, "Ruby": 266, "Shell": 228} | package data.repository
import androidx.datastore.core.DataStore
import androidx.datastore.preferences.core.PreferenceDataStoreFactory
import androidx.datastore.preferences.core.Preferences
import kotlinx.atomicfu.locks.SynchronizedObject
import kotlinx.atomicfu.locks.synchronized
import okio.Path.Companion.toPath
pr... | 0 | Kotlin | 4 | 34 | efe9a8fe5bedcc2801474d4e85f4f9ba710160ae | 882 | StoreKMP | Apache License 2.0 |
airbyte-cdk/java/airbyte-cdk/s3-destinations/src/main/kotlin/io/airbyte/cdk/integrations/destination/s3/writer/DestinationWriter.kt | tim-werner | 511,419,970 | false | {"Java Properties": 8, "Shell": 57, "Markdown": 1170, "Batchfile": 1, "Makefile": 3, "JavaScript": 31, "CSS": 9, "Python": 4183, "Kotlin": 845, "Java": 723, "INI": 10, "Dockerfile": 27, "HTML": 7, "SQL": 527, "PLpgSQL": 8, "TSQL": 1, "PLSQL": 2} | /*
* Copyright (c) 2023 Airbyte, Inc., all rights reserved.
*/
package io.airbyte.cdk.integrations.destination.s3.writer
import com.fasterxml.jackson.databind.JsonNode
import io.airbyte.protocol.models.Jsons
import io.airbyte.protocol.models.v0.AirbyteRecordMessage
import java.io.IOException
import java.util.*
/**
... | 1 | null | 1 | 1 | b2e7895ed3e1ca7c1600ae1c23578dd1024f20ff | 1,108 | airbyte | MIT License |
release/src/main/kotlin/io/github/serpro69/semverkt/release/configuration/DefaultConfiguration.kt | serpro69 | 439,672,455 | false | {"Kotlin": 293170, "Makefile": 1478} | package io.github.serpro69.semverkt.release.configuration
/**
* Provides access to default [Configuration] properties without the possibility to override any of them.
*/
object DefaultConfiguration : ConfigurationProvider()
| 3 | Kotlin | 2 | 7 | 072e73f28a57a9471b936b25a1e2c00c64a03080 | 227 | semver.kt | MIT License |
enro-core/src/main/java/dev/enro/core/compose/dialog/BottomSheetDestination.kt | isaac-udy | 256,179,010 | false | null | package dev.enro.core.compose.dialog
import android.annotation.SuppressLint
import android.view.Window
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.defaultMinSize
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.material.*
import androidx.compose... | 12 | Kotlin | 13 | 221 | 5a951163d1826546072c3fdd7817fb8d86b0b6c7 | 4,271 | Enro | Apache License 2.0 |
app/src/main/java/com/kalugin1912/todoit/MainActivity.kt | kalugin1912 | 597,347,420 | false | null | package com.kalugin1912.todoit
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import com.kalugin1912.todoit.databinding.ActivityMainBinding
import com.kalugin1912.todoit.view.tasks.TasksFragment
class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?... | 0 | Kotlin | 0 | 0 | a8b79de28e10797f33cadcd941cfac56b9d741b1 | 634 | todo | Apache License 2.0 |
app/src/main/java/com/kalugin1912/todoit/MainActivity.kt | kalugin1912 | 597,347,420 | false | null | package com.kalugin1912.todoit
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import com.kalugin1912.todoit.databinding.ActivityMainBinding
import com.kalugin1912.todoit.view.tasks.TasksFragment
class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?... | 0 | Kotlin | 0 | 0 | a8b79de28e10797f33cadcd941cfac56b9d741b1 | 634 | todo | Apache License 2.0 |
feature/account/domain/src/main/java/br/com/jwar/sharedbill/account/domain/usecases/SignOutUseCase.kt | wellingtonrib | 535,153,218 | false | {"Kotlin": 448034, "JavaScript": 2075} | package br.com.jwar.sharedbill.account.domain.usecases
interface SignOutUseCase {
suspend operator fun invoke(): Result<Unit>
}
| 17 | Kotlin | 0 | 0 | 5343aac247f77437164505e3b977e4ef8fe764da | 133 | SharedBill | Creative Commons Attribution 4.0 International |
src/main/kotlin/com/intworkers/application/handler/RestExceptionHandler.kt | bw-international-school-social-worker | 193,610,954 | true | {"Kotlin": 84025} | package com.intworkers.application.handler
import com.intworkers.application.exception.ResourceNotFoundException
import com.intworkers.application.handler.ErrorDetail
import org.springframework.beans.TypeMismatchException
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.context.... | 1 | Kotlin | 2 | 0 | eb876f9862af3b1731788e67952f05850ce96304 | 3,564 | international-school-socialworker-BE | MIT License |
data/RF02784/rnartist.kts | fjossinet | 449,239,232 | false | {"Kotlin": 8214424} | import io.github.fjossinet.rnartist.core.*
rnartist {
ss {
rfam {
id = "RF02784"
name = "consensus"
use alignment numbering
}
}
theme {
details {
value = 3
}
color {
location {
8 to 1... | 0 | Kotlin | 0 | 0 | 3016050675602d506a0e308f07d071abf1524b67 | 1,166 | Rfam-for-RNArtist | MIT License |
line-awesome/src/commonMain/kotlin/compose/icons/lineawesomeicons/Hooli.kt | DevSrSouza | 311,134,756 | false | {"Kotlin": 36756847} | package compose.icons.lineawesomeicons
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter
... | 15 | Kotlin | 20 | 460 | 651badc4ace0137c5541f859f61ffa91e5242b83 | 7,026 | compose-icons | MIT License |
libs/utils/graphql/src/test/kotlin/no/arcane/platform/utils/graphql/GraphqlTest.kt | arcanetechnology | 416,024,376 | false | {"Kotlin": 187287, "Shell": 20387, "Dockerfile": 662} | package no.arcane.platform.utils.graphql
import com.fasterxml.jackson.module.kotlin.jacksonObjectMapper
import graphql.ExecutionInput
import graphql.ExecutionResult
import graphql.GraphQL
import io.kotest.core.spec.style.AnnotationSpec
import io.kotest.matchers.shouldBe
import kotlinx.coroutines.async
import kotlinx.c... | 0 | Kotlin | 2 | 3 | 6d481c61a363c5c476477107aca62fb571fba012 | 4,478 | arcane-platform | MIT License |
app/src/main/java/com/example/samplekotlin/SplashActivity.kt | pngme | 433,178,327 | false | {"Kotlin": 11343} | package com.example.samplekotlin
import android.annotation.SuppressLint
import android.content.Intent
import android.os.Bundle
import android.os.Handler
import androidx.appcompat.app.AppCompatActivity
@SuppressLint("CustomSplashScreen")
@Suppress("Deprecation")
class SplashActivity : AppCompatActivity() {
overrid... | 0 | Kotlin | 1 | 1 | c526f748e7da236281d314ee0ba7ffce1acb82f4 | 668 | sample-android-app-kotlin | MIT License |
app/src/main/java/com/example/sakina/MainActivity.kt | ahmedfkri | 727,766,275 | false | {"Kotlin": 179142} | package com.example.sakina
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.os.Handler
import android.util.Log
import android.view.View
import androidx.core.view.isVisible
import androidx.lifecycle.ViewModelProvider
import androidx.navigation.NavController
import androidx.navigat... | 0 | Kotlin | 0 | 0 | c876e59a4e2a1d8d6945f9903cf73ea454a4c2d6 | 10,342 | Sakina | MIT License |
lib/src/commonMain/kotlin/com/felipecsl/knes/Util.kt | felipecsl | 146,931,730 | false | null | package com.felipecsl.knes
fun Int.ensureByte(): Int {
if (this < 0 || this > 255) {
throw RuntimeException("Value is not a byte: $this")
}
return this
}
fun Int.ensurePositive(): Int {
if (this < 0) {
throw RuntimeException("Value is not positive: $this")
}
return this
} | 6 | null | 30 | 283 | a615b21aa8ca90f1b3e14bae7c96ada8fd80b00f | 294 | ktnes | Apache License 2.0 |
core/src/main/java/com/base/core/utils/Synk.kt | uygemre | 335,039,935 | false | null | package com.base.core.utils
import android.content.Context
import android.content.SharedPreferences
import android.preference.PreferenceManager
import org.joda.time.DateTime
import org.joda.time.format.ISODateTimeFormat
import java.util.concurrent.TimeUnit
object Synk {
private var preferences: SharedPreference... | 0 | Kotlin | 0 | 0 | 24c32e066a2680aed91a0932eee48fae490597d8 | 2,179 | SearchApp | MIT License |
compose-destinations-ksp/src/test/kotlin/com/ramcosta/composedestinations/ksp/commons/DefaultParameterValueReaderTest.kt | kldMohammed | 416,683,751 | true | {"Kotlin": 133560} | package com.ramcosta.composedestinations.ksp.commons
import org.junit.Test
class DefaultParameterValueReaderTest {
private val objectUnderTest = DefaultParameterValueReader
private val casesToTest = arrayOf(
TestCase(
lineText = " arg1: String? = \"defaultArg\") {",
argNam... | 0 | null | 0 | 0 | e94a7f5ec0a90c6b774b2e585ace6a61019db39e | 2,716 | compose-destinations | Apache License 2.0 |
src/main/kotlin/github/comiccorps/kilowog/models/metroninfo/Series.kt | Buried-In-Code | 674,466,125 | false | {"Kotlin": 165736} | package github.comiccorps.kilowog.models.metroninfo
import kotlinx.serialization.Serializable
import nl.adaptivity.xmlutil.serialization.XmlElement
import nl.adaptivity.xmlutil.serialization.XmlSerialName
import org.apache.logging.log4j.kotlin.Logging
@Serializable
class Series(
@XmlSerialName("Format")
val f... | 0 | Kotlin | 0 | 1 | 09d24bb1aaed446a89f3de81905ef75ef4019d15 | 1,743 | Kilowog | MIT License |
src/main/kotlin/com/budzilla/dto/LongLivedTokenDTO.kt | MrLys | 544,570,195 | false | null | package com.budzilla.dto
data class LongLivedTokenDTO(
var userId: Long?,
var encodedToken: String
)
| 0 | Kotlin | 0 | 0 | 029db87fb02a29387ee34f4c9e17d59ff06a19e1 | 110 | congenial-dollop | Apache License 2.0 |
src/main/kotlin/gg/norisk/subwaysurfers/server/listener/MovementInputListener.kt | copyandexecute | 746,645,717 | false | {"Kotlin": 58863, "Java": 22020} | package gg.norisk.subwaysurfers.server.listener
import gg.norisk.subwaysurfers.entity.TrainEntity
import gg.norisk.subwaysurfers.network.c2s.MovementType
import gg.norisk.subwaysurfers.network.c2s.movementTypePacket
import gg.norisk.subwaysurfers.network.s2c.AnimationPacket
import gg.norisk.subwaysurfers.network.s2c.g... | 0 | Kotlin | 1 | 15 | de173174e50032205a277e53e20000cb40cc520f | 4,302 | subwaysurfers | MIT License |
app/src/test/kotlin/cs/project/TextFXBase.kt | mcompscis | 644,591,586 | false | null | /**
* Copyright (c) 2023, CS 346 Whiteboard App Team 210 Winter 2022.
* All rights reserved.
*
* This code is licensed under the MIT License.
*/
package cs.project
import javafx.stage.Stage
import org.junit.jupiter.api.Assertions.assertNotNull
import org.junit.jupiter.api.BeforeEach
import org.testfx.api.FxRobot... | 0 | Kotlin | 0 | 0 | 77049e626fa6a0f5e2b134cb1d7a33c29a794e78 | 852 | whiteboard_app | MIT License |
idea/testData/stubs/AnnotationsOnPrimaryCtr.kt | JakeWharton | 99,388,807 | false | null | class A @[Deprecated] private @[Override Deprecated] ()
| 0 | null | 28 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 56 | kotlin | Apache License 2.0 |
app/src/main/java/com/lubulwa/tddkotlin/example8/networking/CartItemScheme.kt | richmahnn | 224,686,303 | false | null | package com.lubulwa.tddkotlin.example8.networking
class CartItemScheme(val offerId: String, val amount: Int)
| 1 | null | 1 | 1 | 96e5146283361db0c9c8c745bc93a5e11f60da2f | 110 | TDD-Kotlin | MIT License |
year2021/day15/part1/src/main/kotlin/com/curtislb/adventofcode/year2021/day15/part1/Year2021Day15Part1.kt | curtislb | 226,797,689 | false | null | /*
TODO: Description goes here
*/
package com.curtislb.adventofcode.year2021.day15.part1
import com.curtislb.adventofcode.common.graph.DirectedEdge
import com.curtislb.adventofcode.common.graph.dijkstraShortestDistance
import com.curtislb.adventofcode.common.grid.Point
import com.curtislb.adventofcode.common.grid.toG... | 0 | Kotlin | 1 | 0 | 2ba589b41c7aaa23bc5c9050e656aee5305d7993 | 1,138 | AdventOfCode | MIT License |
app/src/main/java/com/liang/map/util/SensorEventHelper.kt | eitteTLtangliang | 805,365,487 | false | {"Kotlin": 91280} | @file:Suppress("DEPRECATION")
package com.liang.map.util
import android.content.Context
import android.hardware.Sensor
import android.hardware.SensorEvent
import android.hardware.SensorEventListener
import android.hardware.SensorManager
import android.view.Surface
import android.view.WindowManager
import com.amap.api... | 0 | Kotlin | 0 | 0 | 8abb55585ca1011d5a2d9eced50b4af66f6c4cea | 2,445 | AndroidAmap | Apache License 2.0 |
app/src/main/java/com/example/islamiapp/api/WebServices.kt | Ahmed-Ssalem | 408,444,696 | false | null | package com.example.islamiapp.api
import retrofit2.Call
import retrofit2.http.GET
interface WebServices {
@GET("radios/radio_arabic.json")
fun getRadiosChannel() : Call<RadioResponse>
} | 0 | Kotlin | 0 | 1 | 0fd7d080d25ca5802a2f12f1b05acc46e3b805d7 | 198 | IslamiApp | Apache License 2.0 |
data/src/main/java/com/shopapp/data/impl/CategoryRepositoryImpl.kt | rubygarage | 105,554,295 | false | null | package com.shopapp.data.impl
import com.shopapp.gateway.Api
import com.shopapp.gateway.entity.Category
import com.shopapp.gateway.entity.SortType
import com.shopapp.data.rx.RxCallbackSingle
import com.shopapp.domain.repository.CategoryRepository
import io.reactivex.Single
class CategoryRepositoryImpl(private val api... | 6 | Kotlin | 100 | 148 | 133b0060626a064b437683c3f0182d2bb3066bdb | 1,014 | shopapp-android | Apache License 2.0 |
library/src/androidMain/kotlin/com/myunidays/couchbaselite/CouchbaseLite.android.kt | MyUNiDAYS | 674,162,377 | false | {"Kotlin": 31607, "Shell": 1049} | package com.myunidays.couchbaselite
import android.content.Context
import com.couchbase.lite.CouchbaseLite
import com.couchbase.lite.Database
import com.couchbase.lite.LogDomain
actual object CouchbaseLite {
actual fun init(context: Any?, logLevel: LogLevel) {
CouchbaseLite.init(context as Context)
... | 0 | Kotlin | 0 | 8 | 4f294d708250eb55e5148988f55a5b025d0ff57e | 440 | couchbaselite-kotlin-sdk | MIT License |
library/src/androidMain/kotlin/com/myunidays/couchbaselite/CouchbaseLite.android.kt | MyUNiDAYS | 674,162,377 | false | {"Kotlin": 31607, "Shell": 1049} | package com.myunidays.couchbaselite
import android.content.Context
import com.couchbase.lite.CouchbaseLite
import com.couchbase.lite.Database
import com.couchbase.lite.LogDomain
actual object CouchbaseLite {
actual fun init(context: Any?, logLevel: LogLevel) {
CouchbaseLite.init(context as Context)
... | 0 | Kotlin | 0 | 8 | 4f294d708250eb55e5148988f55a5b025d0ff57e | 440 | couchbaselite-kotlin-sdk | MIT License |
domic/android/src/main/java/com/lyft/domic/android/AndroidTextView.kt | lyft | 132,529,484 | false | null | package com.lyft.domic.android
import android.os.Build
import android.text.PrecomputedText
import com.jakewharton.rx.replayingShare
import com.jakewharton.rxbinding2.widget.RxTextView
import com.lyft.domic.android.annotations.MutatedByFramework
import com.lyft.domic.android.rendering.mapToChange
import com.lyft.domic.... | 0 | Kotlin | 19 | 487 | e18c3b6030efae23009c74fd88b762f63ecf8d3a | 3,356 | domic | Apache License 2.0 |
src/androidMain/kotlin/ch/dreipol/dreimultiplatform/ProfilingUtils.kt | dreipol | 283,491,376 | false | null | package ch.dreipol.dreimultiplatform
actual object Timing {
actual fun nanoTime(): Long = System.nanoTime()
} | 1 | Kotlin | 2 | 11 | e655154db4202188872743daf45c7d2104b76558 | 114 | dreimultiplatform | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.