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/de/jensklingenberg/jetpackcomposeplayground/mysamples/github/material/floatingactionbutton/FabDemo.kt | Foso | 187,719,625 | false | {"Kotlin": 106029, "Shell": 5712} | package de.jensklingenberg.jetpackcomposeplayground.mysamples.github.material.floatingactionbutton
import androidx.compose.material.*
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.filled.Favorite
import androidx.compose.runtime.Composable
import androidx.compose.ui.unit.dp
@Compo... | 13 | Kotlin | 287 | 3,404 | 53b5945345cbc4dcddfd965eb73085096cb8791a | 764 | Jetpack-Compose-Playground | MIT License |
acornui-core/src/commonMain/kotlin/com/acornui/filter/ColorTransformationFilter.kt | fuzzyweapon | 130,889,917 | true | {"Kotlin": 2963922, "JavaScript": 15366, "HTML": 5956, "Java": 4507} | /*
* Copyright 2018 <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 | 1 | 0 | a57100f894721ee342d23fe8cacb3fcbcedbe6dc | 1,792 | acornui | Apache License 2.0 |
src/main/kotlin/com/mpaulse/mobitra/DataUsageMonitor.kt | mpaulse | 219,060,709 | false | null | /*
* Copyright (c) 2022 <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... | 0 | Kotlin | 0 | 0 | 613e58a0558fcb771ac409c0ff92cdcdb36a81ca | 16,706 | mobitra | MIT License |
src/main/kotlin/com/mpaulse/mobitra/DataUsageMonitor.kt | mpaulse | 219,060,709 | false | null | /*
* Copyright (c) 2022 <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... | 0 | Kotlin | 0 | 0 | 613e58a0558fcb771ac409c0ff92cdcdb36a81ca | 16,706 | mobitra | MIT License |
kotlin-electron/src/jsMain/generated/electron/main/NotificationAction.kt | JetBrains | 93,250,841 | false | {"Kotlin": 11400167, "JavaScript": 146545} | package electron.main
typealias NotificationAction = electron.core.NotificationAction
| 28 | Kotlin | 173 | 1,250 | d1f8f5d805ffa18431dfefb7a1aa2f67f48915f6 | 88 | kotlin-wrappers | Apache License 2.0 |
kotlin-electron/src/jsMain/generated/electron/main/NotificationAction.kt | JetBrains | 93,250,841 | false | {"Kotlin": 11400167, "JavaScript": 146545} | package electron.main
typealias NotificationAction = electron.core.NotificationAction
| 28 | Kotlin | 173 | 1,250 | d1f8f5d805ffa18431dfefb7a1aa2f67f48915f6 | 88 | kotlin-wrappers | Apache License 2.0 |
library/src/main/java/com/shevelev/page_turning_lib/page_curling/ResizingState.kt | AlShevelev | 398,846,673 | false | null | /*
* Copyright (c) 2021 <NAME>
*
* Licensed under the MIT License;
* ---------------------------------------
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, includ... | 3 | Kotlin | 0 | 6 | 11cef6855d3808fd22579d6eb96b6d0eea103e21 | 3,075 | PageTurningLib | MIT License |
componentlibrary/src/main/java/com/vallem/componentlibrary/ui/appbar/SylphBottomBar.kt | leonardovallem | 613,461,263 | false | {"Kotlin": 308660} | package com.vallem.componentlibrary.ui.appbar
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.rounded.Add
import androidx.compose.material.icons.rounded.LocationSearchi... | 0 | Kotlin | 0 | 0 | 27615ff4672845892d2150ed7069702b521115ef | 2,340 | sylph | MIT License |
measurer/src/commonMain/kotlin/com/github/soushin/measurer/httpclient/HttpClient.kt | soushin | 171,784,688 | false | null | package com.github.soushin.measurer.httpclient
abstract class HttpClient {
abstract class Request {
abstract val method: String
abstract val path: String
abstract val userAgent: String
open val body: String? = null
open val headers = emptyMap<String, String>()
open ... | 0 | Kotlin | 0 | 8 | 203da2e72e8ee11d32673b59801e4c3db6e5f3c3 | 582 | measurer | Apache License 2.0 |
app/src/main/kotlin/android/emu6502/instructions/impl/ADC.kt | felipecsl | 37,146,897 | false | null | package android.emu6502.instructions.impl
import android.emu6502.CPU
import android.emu6502.instructions.BaseInstruction
import android.emu6502.instructions.Instruction
/** ADd with Carry */
class ADC(private val cpu: CPU) : BaseInstruction(Instruction.ADC, cpu) {
override fun immediate() {
testADC(cpu.popByte(... | 0 | Kotlin | 3 | 13 | b928d84c4911db28cdd2973fd87d3d6ba4d18ea5 | 1,299 | 6502Android | Apache License 2.0 |
TripKitAndroid/src/main/java/com/skedgo/tripkit/notification/Notification.kt | skedgo | 38,415,407 | false | {"Java": 815763, "Kotlin": 434506} | package com.skedgo.tripkit.notification
import android.app.Notification
import android.app.NotificationChannel
import android.app.NotificationManager
import android.app.PendingIntent
import android.content.Context
import android.content.Intent
import android.graphics.Bitmap
import android.media.AudioManager
import and... | 2 | Java | 3 | 4 | 55fd2ddc7692ccf183499c387bdab32476732bdc | 2,706 | tripkit-android | Apache License 2.0 |
packages/cli/src/main/kotlin/elide/tool/cli/GuestLanguage.kt | elide-dev | 506,113,888 | false | null | package elide.tool.cli
/** Specifies languages supported for REPL access. */
internal enum class GuestLanguage constructor (
internal val id: String,
internal val formalName: String,
internal val experimental: Boolean = false,
internal val extensions: List<String> = emptyList(),
internal val mimeTypes: List<... | 36 | Kotlin | 4 | 33 | 91800dbbf291e65a91d451ed50c9673d82efd174 | 963 | elide | MIT License |
feature/about/src/main/java/io/github/droidkaigi/confsched2020/about/ui/item/AboutTextItem.kt | DroidKaigi | 202,978,106 | false | null | package io.github.droidkaigi.confsched2020.about.ui.item
import com.squareup.inject.assisted.Assisted
import com.squareup.inject.assisted.AssistedInject
import com.xwray.groupie.databinding.BindableItem
import io.github.droidkaigi.confsched2020.about.R
import io.github.droidkaigi.confsched2020.about.databinding.ItemAb... | 46 | Kotlin | 331 | 785 | 4c5533e4611d4bf6007284dd1f61db2fc92eb0ae | 893 | conference-app-2020 | Apache License 2.0 |
app/src/main/java/home/smart/fly/animations/webview/NestedWebViewActivity.kt | REBOOTERS | 65,188,539 | false | null | package home.smart.fly.animations.webview
import android.os.Build
import android.os.Bundle
import android.util.Log
import android.webkit.WebResourceRequest
import android.webkit.WebView
import android.webkit.WebViewClient
import android.widget.ScrollView
import androidx.appcompat.app.AppCompatActivity
import home.smar... | 4 | null | 352 | 1,880 | 278998c8da1da2b47778dba3dbd3f2de1e12f2ed | 1,723 | AndroidAnimationExercise | Apache License 2.0 |
app/src/main/java/com/livin/square/module/repo/MainRepository.kt | Livinlawrence | 380,013,816 | false | null | package com.livin.square.module.repo
import android.app.Application
import com.livin.square.module.model.Repo
import com.livin.square.module.repo.RepoNetworkDataAssembler.generateDataModel
import com.livin.square.network.ApiHelper
import com.livin.square.util.isNetworkAvailable
import kotlinx.coroutines.Dispatchers
im... | 0 | Kotlin | 0 | 0 | d93f1c315070d6643668783831e08bc9951d8255 | 1,522 | Square_Repo_Listing | Apache License 2.0 |
app/src/main/java/com/zerowater/environment/data/source/RemoteDataSource.kt | byzerowater | 264,695,996 | false | {"Gradle": 3, "Java Properties": 3, "Markdown": 2, "Shell": 2, "Text": 1, "Ignore List": 2, "Batchfile": 2, "YAML": 1, "Proguard": 1, "XML": 29, "Kotlin": 54, "Java": 1} | /*
* Copyright (C) 2019 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 | 3139da828c309cee13c0eaf3b8ce9a24ce151c5c | 994 | Environment3 | Apache License 2.0 |
core/droidkaigiui/src/iosMain/kotlin/io/github/droidkaigi/confsched/droidkaigiui/IosComposeAdapter.kt | DroidKaigi | 776,354,672 | false | {"Kotlin": 1119401, "Swift": 211686, "Shell": 2954, "Makefile": 1314, "Ruby": 386} | package io.github.droidkaigi.confsched.droidkaigiui
import androidx.compose.runtime.Composable
import androidx.compose.runtime.CompositionLocalProvider
import androidx.compose.runtime.LaunchedEffect
import androidx.compose.runtime.remember
import androidx.compose.ui.interop.LocalUIViewController
import androidx.compos... | 49 | Kotlin | 201 | 438 | 57c38a76beb5b75edc9220833162e1257f40ac06 | 3,190 | conference-app-2024 | Apache License 2.0 |
lib-test/src/main/java/io/sellmair/kompass/app/MainActivity.kt | nairobi222 | 181,482,076 | false | null | package io.sellmair.kompass.app
import android.os.Bundle
import android.support.v7.app.AppCompatActivity
import io.sellmair.kompass.extension.sail
class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.lay... | 1 | null | 1 | 1 | 855e3905f5367a41c00c7a45e5eaf35905c8f893 | 595 | kompass | Apache License 2.0 |
app/src/main/java/com/dolearnn/cg/ui/primitives/Point.kt | Jaseemakhtar | 487,589,439 | false | {"Kotlin": 74987} | package com.dolearnn.cg.ui.primitives
import androidx.compose.ui.geometry.Offset
data class Point(
val x: Float,
val y: Float,
val z: Float = 0f
) {
fun toOffset() = Offset(x, y)
fun toMatrix() = listOf(listOf(x), listOf(y), listOf(z))
fun scaleToOffset(factor: Float) = Offset(x * factor, y ... | 0 | Kotlin | 8 | 164 | d3dc8c47a714132851cd7d619991bbb7703f5176 | 490 | ComposeCG | MIT License |
app/src/main/java/com/mindorks/framework/mvvm/ui/about/AboutFragment.kt | halimbimantara | 510,920,973 | false | {"Kotlin": 361926, "Java": 109358} | /*
* Copyright (C) 2017 MINDORKS NEXTGEN PRIVATE LIMITED
*
* 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://mindorks.com/license/apache-v2
*
* Unless required by a... | 0 | Kotlin | 0 | 0 | 6e0d1073428e064a5abf4aaebedc44fea5abe847 | 1,877 | blitar-membina | MIT License |
app/src/main/java/com/mindorks/framework/mvvm/ui/about/AboutFragment.kt | halimbimantara | 510,920,973 | false | {"Kotlin": 361926, "Java": 109358} | /*
* Copyright (C) 2017 MINDORKS NEXTGEN PRIVATE LIMITED
*
* 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://mindorks.com/license/apache-v2
*
* Unless required by a... | 0 | Kotlin | 0 | 0 | 6e0d1073428e064a5abf4aaebedc44fea5abe847 | 1,877 | blitar-membina | MIT License |
app/src/main/java/com/example/localplayer/MainActivity.kt | yana9i | 343,807,929 | false | {"Kotlin": 36793} | package com.example.localplayer
import android.annotation.SuppressLint
import android.content.ComponentName
import android.content.Context
import android.content.Intent
import android.content.ServiceConnection
import android.graphics.ImageDecoder
import android.os.*
import android.provider.MediaStore
import android.ut... | 0 | Kotlin | 0 | 0 | d63877dfb5547c71f537ee5b90d56f67680c68e8 | 6,314 | LocalMusicPlayer | MIT License |
androidApp/src/test/java/com/mehmedmert/minesweeperkmmshowcase/android/game/GameViewStatusMapperTest.kt | mmert1988 | 718,163,465 | false | {"Kotlin": 34593, "Swift": 342} | package com.mehmedmert.minesweeperkmmshowcase.android.game
import com.mehmedmert.minesweeperkmmshowcase.domain.model.GameStatus
import kotlinx.datetime.Instant
import org.junit.Test
import kotlin.test.assertEquals
import kotlin.test.assertNull
class GameViewStatusMapperTest {
@Test
fun `test map running game`... | 0 | Kotlin | 0 | 0 | f5e8d20a869cccad966aba6d1e7c581125373626 | 3,111 | minesweeper-kmm-showcase | Apache License 2.0 |
shared/src/commonMain/kotlin/domain/usecases/debts/GetAllDebtsUseCase.kt | SergStas | 697,631,567 | false | {"Kotlin": 55889, "Swift": 592, "Shell": 228} | package domain.usecases.debts
import di.AppDiAware
import domain.models.Currency
import domain.models.User
import domain.repo.IDebtRepo
import org.kodein.di.instance
class GetAllDebtsUseCase: AppDiAware {
private val debtRepo by instance<IDebtRepo>()
suspend operator fun invoke(owner: User, args: FilterArgs?... | 0 | Kotlin | 0 | 0 | 955b263d2669fdfda8b57b8a584c99dc6a905c40 | 653 | DebtsTrackerCompose | Apache License 2.0 |
app/src/main/java/com/babylon/wallet/android/presentation/settings/linkedconnectors/relink/RelinkConnectorsScreen.kt | radixdlt | 513,047,280 | false | null | package com.babylon.wallet.android.presentation.settings.linkedconnectors.relink
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.WindowInsets
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.statusBars
import androidx.compose.material3.... | 6 | null | 6 | 9 | a973af97556c2c3c5c800dac937d0007a13a3a1c | 4,129 | babylon-wallet-android | Apache License 2.0 |
identity/data/src/main/java/com/timecat/identity/data/model.kt | LinXueyuanStdio | 324,718,951 | false | {"Java": 208407, "Kotlin": 165348} | package com.timecat.identity.data
import com.alibaba.fastjson.JSONArray
import com.alibaba.fastjson.JSONObject
import com.timecat.identity.data.block.Good
import com.timecat.identity.data.block.Reward
import com.timecat.identity.data.block.TaskRule
import com.timecat.identity.data.block.UpdateInfo
/**
* @author 林学渊
... | 1 | null | 1 | 1 | 3258d40c4b2cba45a5e380556bf460f7fd52f823 | 2,103 | TimeCatIdentity | Apache License 2.0 |
falling-evaders-chaos/core/src/gparap/games/falling/screens/Screen.kt | gparap | 388,079,965 | false | {"Text": 1, "Ignore List": 10, "Markdown": 6, "Gradle": 34, "INI": 12, "Shell": 7, "Batchfile": 7, "Java": 98, "Kotlin": 41, "Proguard": 7, "XML": 67, "Java Properties": 8, "CMake": 1, "JSON": 1, "C++": 27, "C": 1, "OpenStep Property List": 4, "Makefile": 1, "HTML": 1, "CSS": 1} | /*******************************
* Katocheánian Gaming Studios *
* Falling Evaders Chaos *
* created by gparap *
*******************************/
package gparap.games.falling.screens
import com.badlogic.gdx.Gdx
import com.badlogic.gdx.Preferences
import com.badlogic.gdx.Screen
import com.badlogic.g... | 0 | Java | 0 | 4 | 0d8fe879a7ed4440ab97f68711d278715f9830b0 | 2,775 | kgs | Apache License 2.0 |
sample/src/main/java/dev/gerlot/securewebview/sample/demos/FileAccessFragment.kt | balazsgerlei | 786,827,564 | false | {"Gradle": 4, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 4, "Batchfile": 1, "Markdown": 1, "Proguard": 2, "Kotlin": 19, "XML": 38, "HTML": 2, "INI": 1, "Java": 4} | package dev.gerlot.securewebview.sample.demos
import android.Manifest
import android.content.pm.PackageManager
import android.os.Build
import android.os.Bundle
import android.view.KeyEvent
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.webkit.WebResourceRequest... | 1 | Java | 2 | 3 | bf29f205b0e3c509bf7e402686d34220a02273a2 | 6,693 | SecureWebView | Creative Commons Zero v1.0 Universal |
urbanairship-debug/src/main/java/com/urbanairship/debug/event/persistence/EventDao.kt | tmckeown-rsc | 193,259,287 | false | {"INI": 1, "Markdown": 12, "Shell": 3, "Batchfile": 1, "Proguard": 6, "Java": 621, "Kotlin": 49, "Python": 1, "Java Properties": 3, "C#": 2, "CSS": 1} | /* Copyright Airship and Contributors */
package com.urbanairship.debug.event.persistence
import android.arch.lifecycle.LiveData
import android.arch.paging.DataSource
import android.arch.persistence.room.Dao
import android.arch.persistence.room.Insert
import android.arch.persistence.room.Query
import android.support.... | 1 | null | 1 | 1 | 5f672d6669f2191c73f5dde5071e1a7bab09579c | 1,053 | android-library | Apache License 2.0 |
app/src/main/java/caatsoft/studio/com/gamecatalog/viewmodel/GamesViewModel.kt | Lhmsouza | 375,726,918 | true | {"Kotlin": 44697} | package caatsoft.studio.com.gamecatalog.viewmodel
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import caatsoft.studio.com.gamecatalog.network.model.Game
import caatsoft.studio.com.gamecatalog.repository.Reposit... | 0 | null | 0 | 0 | d05f29dc53724e279b0f2b7ac911b26cd13cd0c1 | 1,032 | Projeto_final_Game_Catalog | MIT License |
tangem-sdk-core/src/main/java/com/tangem/crypto/IssuerDataVerifier.kt | tangem | 218,994,149 | false | null | package com.tangem.crypto
import com.squareup.moshi.JsonClass
import com.tangem.common.tlv.TlvEncoder
import com.tangem.common.tlv.TlvTag
import java.io.ByteArrayOutputStream
interface IssuerDataVerifier {
fun verify(issuerPublicKey: ByteArray, signature: ByteArray, issuerDataToVerify: IssuerDataToVerify): Boolea... | 4 | null | 38 | 64 | 2ea3795fd521f23ecc6414913ab5d207c256fe84 | 1,385 | tangem-sdk-android | MIT License |
src/main/kotlin/com/melowetty/hsepermhelper/repository/DataRepository.kt | HSE-Perm-Helper | 682,010,195 | false | {"Kotlin": 129695, "Dockerfile": 462} | package com.melowetty.hsepermhelper.repository
import com.melowetty.hsepermhelper.entity.DataEntity
import org.springframework.data.repository.CrudRepository
import org.springframework.stereotype.Repository
@Repository
interface DataRepository: CrudRepository<DataEntity, String> | 3 | Kotlin | 0 | 0 | a75bcea3cb08e96d902e1e60a4b2f78793554afb | 281 | main-backend | MIT License |
app/src/main/java/com/programmersbox/otakuworld/PlaygroundApp.kt | jakepurple13 | 353,155,453 | false | null | package com.programmersbox.otakuworld
import android.app.Application
import com.google.android.material.color.DynamicColors
class PlaygroundApp : Application() {
override fun onCreate() {
super.onCreate()
//TODO: This acts funky if user enabled force dark mode from developer options
Dynami... | 1 | Kotlin | 5 | 83 | 6c24eb3f85c9ebc1795a1eb04f916104031d672a | 370 | OtakuWorld | Apache License 2.0 |
app/src/androidTest/java/com/fer1592/k8s_android_console/view/SetClusterTest.kt | fer1592 | 474,361,761 | false | {"HTML": 583069, "Kotlin": 69474} | package com.fer1592.k8s_android_console.view
import android.content.Context
import androidx.test.core.app.ApplicationProvider
import androidx.test.espresso.Espresso.onData
import androidx.test.espresso.Espresso.onView
import androidx.test.espresso.action.ViewActions.click
import androidx.test.espresso.action.ViewActio... | 1 | HTML | 0 | 0 | 49c43ef65cd530d3978b2d2397b4024d3e269592 | 16,767 | k8s-android-console | MIT License |
ui-common/src/commonMain/kotlin/com/alexvanyo/composelife/ui/util/DraggableAnchors.kt | alexvanyo | 375,146,193 | false | {"Kotlin": 1943779} | /*
* Copyright 2024 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | 36 | Kotlin | 10 | 99 | 64595b8d36c559a70ca52d578069fe4df8d170c7 | 1,333 | composelife | Apache License 2.0 |
libraries/api/src/main/kotlin/io/plastique/api/comments/CommentList.kt | plastiqueapp | 150,879,887 | false | null | package io.plastique.api.comments
import com.squareup.moshi.Json
import com.squareup.moshi.JsonClass
@JsonClass(generateAdapter = true)
data class CommentList(
@Json(name = "has_more")
val hasMore: Boolean = false,
@Json(name = "next_offset")
val nextOffset: Int? = 0,
@Json(name = "thread")
... | 0 | Kotlin | 2 | 9 | 9271853f3741add18822858cbad9d4f8e8104f54 | 367 | plastique | Apache License 2.0 |
mobile-ui/src/androidTest/java/com/thomaskioko/paybillmanager/mobile/factory/BillsDataFactory.kt | c0de-wizard | 60,256,636 | false | null | package com.thomaskioko.paybillmanager.mobile.factory
import com.thomaskioko.paybillmanager.domain.model.Bill
import com.thomaskioko.paybillmanager.mobile.factory.TestDataFactory.randomInt
import com.thomaskioko.paybillmanager.mobile.factory.TestDataFactory.randomLong
import com.thomaskioko.paybillmanager.mobile.facto... | 7 | Kotlin | 15 | 48 | e79ca3f073764d78d9a34f640fdfaec78839fe45 | 1,377 | paybill-manager | Apache License 2.0 |
src/main/kotlin/org/komamitsu/konessem/cpu/Opcode.kt | komamitsu | 323,249,618 | false | null | package org.komamitsu.konessem.cpu
internal data class Opcode(
val instruction: Instruction,
val addressingMode: AddressingMode,
val cycle: Int
) {
companion object {
private val opcodeMap = mapOf(
0x69 to Opcode(Instruction.ADC, AddressingMode.IMMEDIATE, 2),
0x65 to Opc... | 0 | Kotlin | 0 | 1 | 96d02a897078f62aacafb13a09a8c3c0155d20e2 | 21,343 | konessem | Apache License 2.0 |
generated/src/main/kotlin/com/laidpack/sourcerer/generated/ViewFactory.kt | kaizhiyu | 271,434,423 | true | {"Kotlin": 3920018, "JavaScript": 1617829, "TypeScript": 115897, "CSS": 39708} | package com.laidpack.sourcerer.generated
import android.content.Context
import android.content.res.ColorStateList
import android.graphics.drawable.ColorDrawable
import android.graphics.drawable.Drawable
import android.os.Build
import android.view.View
import androidx.core.content.ContextCompat
import com.laidpack.gene... | 0 | null | 0 | 0 | 9513bbc54768e9248c450b0aba125b433c447e68 | 21,156 | sourcerer | Apache License 2.0 |
src/main/java/com/jwg/launcher/launcher.kt | JuneDeveloper | 510,437,513 | false | null | package com.jwg.launcher
import mainMenu
import javax.swing.UIManager
fun start() {
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName())
mainMenu()
} | 7 | Kotlin | 1 | 2 | 7ddc8ff8c0936dc390ecebe1bfc23bd063562537 | 175 | JWG-Minecraft-Launcher | Apache License 2.0 |
src/lang-core/main/uk/co/reecedunn/intellij/plugin/intellij/lang/Model.kt | rhdunn | 62,201,764 | false | {"Kotlin": 8262637, "XQuery": 996770, "HTML": 39377, "XSLT": 6853} | /*
* Copyright (C) 2017-2019 <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 ... | 49 | Kotlin | 9 | 25 | d8d460d31334e8b2376a22f3832a20b2845bacab | 7,360 | xquery-intellij-plugin | Apache License 2.0 |
core/ui/src/main/kotlin/com/nsa/ui/ext/TimestampExt.kt | AkashShahriar55 | 752,580,500 | false | {"Kotlin": 380282, "Shell": 1395} | package com.nsa.ui.ext
import android.icu.text.SimpleDateFormat
import android.icu.util.TimeZone
import android.util.Log
import java.sql.Timestamp
import java.util.Date
import java.util.Locale
fun Timestamp.getFormatedText(outputFormat:String): String {
val timestampFormat = "yyyy-mm-dd hh:mm:ss.fffffffff"
... | 0 | Kotlin | 0 | 1 | 0d8878200fe6aa45401287799da0740510350e3d | 959 | e2e-signal-compose-app | Apache License 2.0 |
src/main/kotlin/org/wint3794/ftc/pathfollower/debug/telemetries/UdpServer.kt | WinT-3794 | 267,687,048 | false | null | package org.wint3794.ftc.pathfollower.debug.telemetries
import org.wint3794.ftc.pathfollower.debug.Log
import org.wint3794.ftc.pathfollower.debug.Telemetry
import org.wint3794.ftc.pathfollower.util.Range
import java.io.IOException
import java.net.DatagramPacket
import java.net.DatagramSocket
import java.net.InetAddres... | 0 | Kotlin | 1 | 0 | 8b05c46ddc25317158c9cf92ce9c68fd3e1b9c6e | 2,675 | PathFollower | Apache License 2.0 |
app/src/main/java/com/therxmv/dirolreader/ui/profile/utils/ProfileUiState.kt | therxmv | 651,629,829 | false | null | package com.therxmv.dirolreader.ui.profile.utils
data class ProfileUiState(
val appBarState: AppBarState = AppBarState(),
)
data class AppBarState(
val avatarPath: String = "",
val userName: String = "",
) | 0 | Kotlin | 0 | 8 | c01fdd429a3a1105f9127312c3c94acec48a4f89 | 219 | Dirol-Reader | MIT License |
rounded/src/commonMain/kotlin/me/localx/icons/rounded/outline/ToDo.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.rounded.outline
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 5,864 | icons | MIT License |
livekit-android-sdk/src/main/java/io/livekit/android/util/LoggingLevel.kt | livekit | 339,892,560 | false | {"Kotlin": 1030460, "Java": 14523, "Shell": 3321} | /*
* Copyright 2023-2024 LiveKit, 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... | 64 | Kotlin | 70 | 176 | bee0a1e1e23725c77b97b2b94e3c1be3b9d12e8a | 1,057 | client-sdk-android | Apache License 2.0 |
elmslie-coroutines/src/main/java/vivid/money/elmslie/coroutines/MappingActorCompat.kt | vivid-money | 328,970,240 | false | null | package vivid.money.elmslie.coroutines
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.catch
import kotlinx.coroutines.flow.mapNotNull
import kotlinx.coroutines.flow.onEach
import vivid.money.elmslie.core.store.MappingActor
/**
* Contains internal event mapping helpers for coroutines
*/
@Suppress... | 7 | Kotlin | 12 | 94 | fb50f3714da87a912e50bfe95edd6b08eb020b26 | 2,382 | elmslie | Apache License 2.0 |
app/src/main/java/com/example/newsiuuu/util/Resource.kt | mihirdev7 | 774,907,209 | false | {"Kotlin": 33631} | package com.example.newsiuuu.util
sealed class Resource<T>(val data: T?=null, val message:String? =null)
{
class Success<T>(data: T):Resource<T>(data)
class Failure<T>(message: String, data: T?=null):Resource<T>(data,message)
class Loading<T>:Resource<T>()
} | 0 | Kotlin | 0 | 1 | b7d049477ee459e003505ceb3092615cdd634931 | 271 | Newsiuuu | MIT License |
src/main/kotlin/com/rbkmoney/porter/service/NotificationSenderService.kt | rbkmoney | 377,151,676 | false | null | package com.rbkmoney.porter.service
import com.rbkmoney.porter.repository.entity.NotificationTemplateStatus
import org.springframework.stereotype.Service
import org.springframework.transaction.annotation.Transactional
@Service
class NotificationSenderService(
private val notificationTemplateService: NotificationT... | 0 | Kotlin | 1 | 0 | af408a1d6cbe46a22ec56a14fb0485dcb72830f1 | 1,035 | porter | Apache License 2.0 |
components/ledger/ledger-utxo-flow/src/test/kotlin/net/corda/ledger/utxo/flow/impl/flows/backchain/TransactionBackchainResolutionFlowTest.kt | corda | 346,070,752 | false | null | package net.corda.ledger.utxo.flow.impl.flows.backchain
import net.corda.ledger.common.data.transaction.TransactionStatus
import net.corda.ledger.utxo.flow.impl.persistence.UtxoLedgerPersistenceService
import net.corda.v5.application.flows.FlowEngine
import net.corda.v5.application.messaging.FlowSession
import net.cor... | 82 | Kotlin | 7 | 24 | 17f5d2e5585a8ac56e559d1c099eaee414e6ec5a | 6,220 | corda-runtime-os | Apache License 2.0 |
src/main/kotlin/app/softwork/serviceloader/CreateServiceLoadersResourcesFileAction.kt | hfhbd | 589,746,751 | false | null | package app.softwork.serviceloader
import org.gradle.api.file.*
import org.gradle.api.provider.*
import org.gradle.workers.*
import java.io.*
import java.net.*
internal abstract class CreateServiceLoadersResourcesFileAction :
WorkAction<CreateServiceLoadersResourcesFileAction.Parameters> {
interface Parameter... | 4 | Kotlin | 0 | 0 | b6afc908d74448489954741a6abb30f6f8ed9194 | 1,492 | serviceloader-gradle-plugin | Apache License 2.0 |
workflix/backend/backend/src/main/kotlin/de/se/team3/webservice/handlers/ProcessesHandler.kt | elite-se | 221,695,449 | false | {"JavaScript": 227922, "Kotlin": 209131, "HTML": 6665, "CSS": 238} | package de.se.team3.webservice.handlers
import de.se.team3.logic.container.ProcessContainer
import de.se.team3.logic.container.ProcessGroupsContainer
import de.se.team3.logic.container.ProcessTemplatesContainer
import de.se.team3.logic.container.UserContainer
import de.se.team3.logic.domain.Process
import de.se.team3.... | 7 | JavaScript | 0 | 1 | c3d4bf7aea5b009f36deb7a4137df3107a8923c4 | 5,646 | workflix | MIT License |
app/src/main/java/com/hits/coded/presentation/activities/editorActivity/fragments/variableTypeChangerBottomSheet/viewModel/VariableTypeChangerViewModel.kt | delet-dis | 482,704,007 | false | null | package com.hits.coded.presentation.activities.editorActivity.fragments.variableTypeChangerBottomSheet.viewModel
import androidx.lifecycle.ViewModel
import com.hits.coded.data.models.sharedTypes.VariableType
import com.hits.coded.data.models.typeChangerBottomSheet.dataClasses.BottomSheetTypeChangerScreen
import com.hi... | 0 | Kotlin | 0 | 0 | 2a9d9db6d86bcd535e24e487d1720977e596bf22 | 949 | coded. | MIT License |
app/src/main/java/com/monday8am/locationstream/LocationApp.kt | monday8am | 180,102,402 | false | null | package com.monday8am.locationstream
import android.app.Application
import android.content.Context
import com.monday8am.locationstream.data.PhotoDataRepository
import com.monday8am.locationstream.data.local.PhotoDao
import com.monday8am.locationstream.data.local.PhotosDatabase
import com.monday8am.locationstream.data.... | 0 | Kotlin | 0 | 0 | e4ef28339995990a9f9dcd9b311f6aa179739d1a | 2,231 | locationstream | MIT License |
app/src/main/java/com/example/sunkai/heritage/database/entities/Collection.kt | sunkaiiii | 92,040,914 | false | {"Kotlin": 292444} | package com.example.sunkai.heritage.database.entities
import androidx.room.*
import com.example.sunkai.heritage.R
import com.example.sunkai.heritage.tools.getString
import java.util.*
@Entity
@TypeConverters(Collection.CollectionTypeConverters::class)
data class Collection(
@ColumnInfo val collectionType: Collec... | 0 | Kotlin | 0 | 6 | bda95ace70e3dc8fcc14a98431401374aec2d4ef | 1,272 | heritage-online-android | Apache License 2.0 |
app/src/main/java/com/mastercard/webintegration/request/InitRequest.kt | mrzeng12 | 459,325,037 | true | {"Kotlin": 67090, "JavaScript": 6811, "HTML": 1247} | /* Copyright © 2022 Mastercard. All rights reserved.
*
* 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 applicab... | 0 | null | 0 | 1 | 085de288395c81de10255fa6f7c37bd1baf3666c | 2,946 | web-native-integration | Apache License 2.0 |
app/src/main/java/com/jim/moviecritics/report/ReportDialog.kt | MIN-JING | 503,330,525 | false | {"Kotlin": 286084} | package com.jim.moviecritics.report
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.view.animation.AnimationUtils
import androidx.appcompat.app.AppCompatDialogFragment
import androidx.fragment.app.DialogFragment
import androidx.fragment.... | 1 | Kotlin | 0 | 0 | 69587c4d556200a5df47d75c81fd6810ad0815a2 | 2,963 | MovieCritics | Apache License 2.0 |
android/src/main/kotlin/software/handmade/flutter/flutter_siri_suggestions/FlutterSiriSuggestionsPlugin.kt | myriky | 205,199,285 | false | null | package software.handmade.flutter.flutter_siri_suggestions
import android.util.Log
import androidx.annotation.NonNull
import io.flutter.embedding.engine.plugins.FlutterPlugin
import io.flutter.plugin.common.MethodCall
import io.flutter.plugin.common.MethodChannel
import io.flutter.plugin.common.MethodChannel.MethodCa... | 10 | Dart | 14 | 15 | cd47a623ef53daf7d656ce402891c1c94536147a | 1,593 | flutter_siri_suggestions | MIT License |
src/test/kotlin/no/skatteetaten/aurora/gillis/service/AbstractOpenShiftServerTest.kt | Skatteetaten | 135,263,007 | false | {"Kotlin": 26109, "Shell": 428} | package no.skatteetaten.aurora.gillis.service
import org.junit.jupiter.api.AfterEach
import org.junit.jupiter.api.TestInstance
import no.skatteetaten.aurora.kubernetes.HttpClientTimeoutConfiguration
import no.skatteetaten.aurora.kubernetes.KubernetesConfiguration
import no.skatteetaten.aurora.kubernetes.RetryConfigura... | 0 | Kotlin | 0 | 0 | fe3747a8dbc45fc0796e8cabed176d88df8a3453 | 889 | gillis | Apache License 2.0 |
IPassPlusSdk/src/main/java/com/sdk/ipassplussdk/model/response/ceon/PostCeon/Foursquare.kt | yazanalqasem | 808,584,767 | false | {"Kotlin": 308101, "Java": 4759} | package com.sdk.ipassplussdk.model.response.ceon.GetCeon
data class Foursquare(
val bio: Any,
val photo: Any,
val profile_url: Any,
val registered: Any
) | 0 | Kotlin | 0 | 0 | 1fc3247607811f7f52e1d401c252b82e2c98c3a8 | 170 | iPass2.0NativeAndroidSDK | Apple MIT License |
feature/home/src/main/java/soup/movie/feature/home/HomeViewModel.kt | Moop-App | 113,048,795 | false | {"Kotlin": 561399} | /*
* Copyright 2021 SOUP
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wri... | 4 | Kotlin | 17 | 165 | e4654f8c761e3b113929d66d45c1846a1e24e1f2 | 1,782 | Moop-Android | Apache License 2.0 |
composeApp/src/commonMain/kotlin/ru/slartus/boostbuddy/ui/screens/post/PostScreen.kt | slartus | 767,913,639 | false | {"Kotlin": 299148, "Swift": 1264} | package ru.slartus.boostbuddy.ui.screens.post
import androidx.compose.foundation.Image
import androidx.compose.foundation.background
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
... | 0 | Kotlin | 2 | 11 | 5d5c65497c094bf2a213be34bd3c346a6afa53a0 | 10,961 | BoostBuddy | Apache License 2.0 |
build-logic/project/wasi-testsuite-codegen/src/main/kotlin/generator/ClassNames.kt | illarionov | 848,247,126 | false | {"Kotlin": 1306808, "ANTLR": 6038, "TypeScript": 3148, "CSS": 1042, "FreeMarker": 450, "JavaScript": 89} | /*
* Copyright 2024, the wasi-emscripten-host 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 at.released.weh.gradle.wasi.testsuite.code... | 0 | Kotlin | 0 | 4 | 8cb136a17cbece15d9e2b0cc9286f35613a149a4 | 1,451 | wasi-emscripten-host | Apache License 2.0 |
intellij-plugin/src/main/kotlin/com/boolerules/prl/plugin/language/PrlElements.kt | booleworks | 721,827,334 | false | {"Kotlin": 1495831, "JavaScript": 835976, "Vue": 132739, "TypeScript": 50565, "Java": 32652, "ANTLR": 15836, "Lex": 3646, "CSS": 2243, "Shell": 1735, "Dockerfile": 681, "Scheme": 505} | package com.boolerules.prl.plugin.language
import com.boolerules.prl.plugin.psi.FeatureDef
import com.intellij.psi.PsiElement
import com.intellij.psi.PsiNameIdentifierOwner
import com.intellij.psi.PsiReference
import com.intellij.psi.search.GlobalSearchScope
import com.intellij.psi.search.SearchScope
interface Featur... | 0 | Kotlin | 0 | 1 | 5c7d858a5358adfa0ce3c274bb74eb6b181f5949 | 494 | boolerules | MIT License |
src/main/kotlin/com/lvlifeng/jenkinshelper/helper/LogHelper.kt | itisokey | 489,407,876 | false | null | package com.lvlifeng.jenkinshelper.helper
import cn.hutool.core.date.DateUtil
import com.lvlifeng.jenkinshelper.Bundle
import com.lvlifeng.jenkinshelper.bean.FontAttrib
import javax.swing.JTextPane
/**
*
*
* @author <NAME>
* @date 2022-05-14 22:46
*/
class LogHelper {
companion object {
fun append(t... | 1 | Kotlin | 0 | 2 | 32a95d848cb972ecdcdf1ebfac559173d95babd2 | 675 | jenkinshelper | Apache License 2.0 |
AcornUiCore/src/com/acornui/component/ItemRenderer.kt | konsoletyper | 105,533,124 | false | null | package com.acornui.component
interface ItemRendererRo<out E> {
/**
* The data this item renderer represents.
*/
val data: E?
}
interface ItemRenderer<E> : ItemRendererRo<E> {
/**
* The data this item renderer represents.
*/
override var data: E?
} | 0 | Kotlin | 3 | 0 | a84b559fe1d1cad01eb9223ad9af73b4d5fb5bc8 | 264 | Acorn | Apache License 2.0 |
app/src/main/java/com/kirakishou/photoexchange/di/component/fregment/GalleryFragmentComponent.kt | K1rakishou | 109,590,033 | false | null | package com.kirakishou.photoexchange.di.component.fregment
import com.kirakishou.photoexchange.di.module.fragment.GalleryFragmentModule
import com.kirakishou.photoexchange.di.scope.PerFragment
import com.kirakishou.photoexchange.ui.fragment.GalleryFragment
import dagger.Subcomponent
@PerFragment
@Subcomponent(modules... | 0 | Kotlin | 1 | 4 | 15f67029376a98353a01b5523dfb42d183a26bf2 | 437 | photoexchange-android | Do What The F*ck You Want To Public License |
feature-location/src/main/java/de/niklasbednarczyk/nbweather/feature/location/cards/models/overview/LocationCardOverviewAlertModel.kt | NiklasBednarczyk | 529,683,941 | false | null | package de.niklasbednarczyk.nbweather.feature.location.cards.models.overview
import de.niklasbednarczyk.nbweather.core.common.string.NBString
import de.niklasbednarczyk.nbweather.core.ui.R
import de.niklasbednarczyk.nbweather.data.onecall.models.NationalWeatherAlertModelData
data class LocationCardOverviewAlertModel(... | 22 | Kotlin | 0 | 0 | b2d94e99336b908a48e784febda56a4750039cb2 | 1,283 | NBWeather | MIT License |
dsl/src/main/kotlin/io/cloudshiftdev/awscdkdsl/alexa/ask/CfnSkillOverridesPropertyDsl.kt | cloudshiftinc | 667,063,030 | false | {"Kotlin": 70198112} | @file:Suppress(
"RedundantVisibilityModifier",
"RedundantUnitReturnType",
"RemoveRedundantQualifierName",
"unused",
"UnusedImport",
"ClassName",
"REDUNDANT_PROJECTION",
"DEPRECATION"
)
package io.cloudshiftdev.awscdkdsl.alexa.ask
import io.cloudshiftdev.awscdkdsl.common.CdkDslMarker
im... | 4 | Kotlin | 0 | 3 | 256ad92aebe2bcf9a4160089a02c76809dbbedba | 2,221 | awscdk-dsl-kotlin | Apache License 2.0 |
data/src/main/java/com/pthw/data/feature/splashimage/datasource/SpPhotoNetworkDSource.kt | PhyoThihaWin | 551,899,842 | false | {"Kotlin": 328147, "Java": 3279} | package com.pthw.data.feature.splashimage.datasource
import androidx.paging.PagingData
import com.pthw.data.feature.splashimage.entity.SplashPhotoEntity
import kotlinx.coroutines.flow.Flow
interface SpPhotoNetworkDSource {
fun getSearchResults(query: String): Flow<PagingData<SplashPhotoEntity>>
} | 1 | Kotlin | 1 | 4 | f64626fb6e101659693ac76d8d9ca5489ac9e821 | 304 | MyPagingThree | Apache License 2.0 |
src/main/problem2/solution.kt | lorenzo-piersante | 515,177,846 | false | {"Kotlin": 15798, "Java": 4893} | package problem2
import java.util.Scanner
fun sumEvenFibonacciNumber(input : Long) : Long {
val sequence = arrayListOf<Long>()
sequence.add(0, 1)
sequence.add(1, 1)
for (j in 2 until 10000) {
val element = sequence[j-2] + sequence[j-1]
if (element > input - 1) break
sequence.... | 0 | Kotlin | 0 | 0 | 6159bb49cdfe94310a34edad138de2998352f1c2 | 836 | HackerRank-ProjectEuler | MIT License |
buildSrc/src/main/kotlin/Libs.kt | aig787 | 320,055,206 | true | {"Kotlin": 103776, "Dockerfile": 834} | object Libs {
const val kotlinLogging = "io.github.microutils:kotlin-logging:${Versions.kotlinLogging}"
const val kotlinCoroutinesCore = "org.jetbrains.kotlinx:kotlinx-coroutines-core:${Versions.kotlinCoroutines}"
const val kotlinSerializationJson =
"org.jetbrains.kotlinx:kotlinx-serialization-json:... | 3 | Kotlin | 0 | 0 | 9c8b4c18d7c83e839af863c75e59456079d1e1e2 | 2,197 | feeds | MIT License |
pinlog/src/main/java/com/adityaamolbavadekar/pinlog/database/ApplicationLogModel.kt | AdityaBavadekar | 493,995,960 | false | {"Kotlin": 165624} | package com.adityaamolbavadekar.pinlog.database
data class ApplicationLogModel(val id: Int, var LOG: String, var LOG_LEVEL: Int) | 0 | Kotlin | 0 | 1 | 6e3acd07fc0a192f77cac40b34ecedc00027d667 | 129 | WaveAssistant | Apache License 2.0 |
kodein-db/src/commonMain/kotlin/com/bselzer/ktx/kodein/db/transaction/TransactionManager.kt | Woody230 | 388,189,330 | false | null | package com.bselzer.ktx.kodein.db.transaction
interface TransactionManager {
/**
* Executes the [block] within a transaction and returns its result.
*
* @param R the type of result
* @return the result of the [block]
*/
suspend fun <R> transaction(block: suspend DBTransaction.() -> R):... | 1 | Kotlin | 0 | 0 | 707e2e20c0765ab40b5951acedbb28783c4af312 | 590 | KotlinExtensions | Apache License 2.0 |
app/src/main/java/com/erkindilekci/disneyanimations/domain/repository/DisneyRepository.kt | erkindilekci | 645,189,286 | false | null | package com.erkindilekci.disneyanimations.domain.repository
import com.erkindilekci.disneyanimations.domain.model.Animation
import com.erkindilekci.disneyanimations.util.Resource
import kotlinx.coroutines.flow.Flow
interface DisneyRepository {
fun getAllAnimations(): Flow<Resource<List<Animation>>>
fun getSe... | 0 | Kotlin | 0 | 0 | f2f5b9c06c93705f2a0c25a753709ee2e391d089 | 374 | DisneyAnimations | Apache License 2.0 |
app/src/main/java/com/g/pocketmal/domain/exception/EmptyResponseException.kt | glodanif | 847,288,195 | false | {"Kotlin": 517413, "Java": 112995} | package com.g.pocketmal.domain.exception
class EmptyResponseException(message: String) : Exception(message) | 0 | Kotlin | 1 | 8 | 1a7fe52c2dc59dd3bf4eaeb3d9bb64d469e10845 | 108 | Pocket_MAL | MIT License |
app/src/main/java/com/example/flixster_plus_/MovieResponse.kt | kcowley-21 | 728,014,424 | false | {"Kotlin": 5434} | package com.example.flixster_plus_
data class MovieResponse(val results: List<Movie>)
| 0 | Kotlin | 0 | 0 | c805bb2796892cf3073bcaa3bc6997730bd13100 | 87 | FLIXSTER_PLUS_ | Apache License 2.0 |
app/src/main/java/com/example/starwarsapp/api/RetrofitImp.kt | Malekel3alamy | 838,358,498 | false | {"Kotlin": 34588} | package com.example.starwarsapp.api
import com.example.starwarsapp.utils.Constants.Companion.BASE_URL
import okhttp3.OkHttpClient
import okhttp3.logging.HttpLoggingInterceptor
import retrofit2.Retrofit
import retrofit2.converter.gson.GsonConverterFactory
import java.util.concurrent.TimeUnit
class RetrofitImp() {
comp... | 0 | Kotlin | 0 | 0 | 6abc92dca85fa61040d5635ef71e99d30e7864e5 | 992 | StarWarsApp | MIT License |
feature/welcome/api/src/main/java/com/turtleteam/api/navigation/WelcomeNavigation.kt | Egor-Liadsky | 711,194,733 | false | {"Kotlin": 198296} | package com.turtleteam.api.navigation
import com.turtleteam.core_navigation.NavigationApi
interface WelcomeNavigation : NavigationApi {
val baseRoute: String
}
| 0 | Kotlin | 0 | 0 | b2dbf01030499d0e69653f7bcb4873e5407f8513 | 167 | TurtleAppAndroid | Apache License 2.0 |
app/src/main/java/com/test/newsapp/presentation/MainActivity.kt | zenwist21 | 677,946,151 | false | null | package com.test.newsapp.presentation
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.os.PersistableBundle
import androidx.navigation.findNavController
import androidx.navigation.ui.setupWithNavController
import com.google.android.material.bottomnavigation.BottomNavigationView
i... | 0 | Kotlin | 0 | 0 | 9a3f7c0bfce7ecf796ad3fdddf5520903904f2e8 | 770 | NewsApp | MIT License |
vuesaxicons/src/commonMain/kotlin/moe/tlaster/icons/vuesax/vuesaxicons/bold/Calendar2.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,988 | VuesaxIcons | MIT License |
inaj-back/src/main/kotlin/org/github/dumijdev/inaj/exception/ResourceNotFoundException.kt | DumiJDev | 675,451,151 | false | null | package org.github.dumijdev.inaj.exception
class ResourceNotFoundException(id: String) : RuntimeException("Resource not found with id=$id")
| 0 | Kotlin | 0 | 1 | b35a23e7caea1f3c2f73abb3eeb6355c08adf927 | 141 | inaj | MIT License |
contract/src/main/kotlin/io/wax911/emojify/contract/serializer/IEmojiDeserializer.kt | AniTrend | 98,423,653 | false | {"Kotlin": 122210} | package io.wax911.emojify.contract.serializer
import io.wax911.emojify.contract.model.AbstractEmoji
import java.io.InputStream
/**
* Interface to implement for custom deserializer.
*/
interface IEmojiDeserializer {
/**
* Decodes the given [InputStream] to an object of type List<[AbstractEmoji]>
*/
... | 10 | Kotlin | 12 | 26 | d91a63182b73b22c3a0163523c3073ee1108d57c | 391 | android-emojify | Apache License 2.0 |
shared/src/commonMain/kotlin/dev/johnoreilly/confetti/work/ConferenceSetting.kt | joreilly | 436,024,503 | false | {"Kotlin": 890305, "Swift": 38931, "HTML": 23893, "HCL": 9137, "CSS": 8489, "Ruby": 3629} | package dev.johnoreilly.confetti.work
import dev.johnoreilly.confetti.ConfettiRepository
import kotlinx.coroutines.flow.Flow
open class ConferenceSetting(
val repository: ConfettiRepository
) {
open fun selectedConference(): Flow<String> {
return repository.getConferenceFlow()
}
} | 49 | Kotlin | 91 | 784 | d43e98fa3cd6eee949c3a0e57cf35d76dc49f083 | 303 | Confetti | Apache License 2.0 |
tests/idling-resource/src/test/java/IdlingResourceTest.kt | Pitel | 382,259,274 | true | {"Kotlin": 1351692, "ANTLR": 8207, "Java": 3282, "Shell": 832} | import com.apollographql.apollo3.mockserver.MockResponse
import com.apollographql.apollo3.mockserver.MockServer
import com.apollographql.apollo3.ApolloClient
import com.apollographql.apollo3.android.ApolloIdlingResource
import com.apollographql.apollo3.android.withIdlingResource
import idling.resource.IdlingResourceQue... | 0 | Kotlin | 0 | 0 | d6e74e0ca4c9029552c9b08b8898684734b994a6 | 1,527 | apollo-android | MIT License |
tests/idling-resource/src/test/java/IdlingResourceTest.kt | Pitel | 382,259,274 | true | {"Kotlin": 1351692, "ANTLR": 8207, "Java": 3282, "Shell": 832} | import com.apollographql.apollo3.mockserver.MockResponse
import com.apollographql.apollo3.mockserver.MockServer
import com.apollographql.apollo3.ApolloClient
import com.apollographql.apollo3.android.ApolloIdlingResource
import com.apollographql.apollo3.android.withIdlingResource
import idling.resource.IdlingResourceQue... | 0 | Kotlin | 0 | 0 | d6e74e0ca4c9029552c9b08b8898684734b994a6 | 1,527 | apollo-android | MIT License |
app/src/main/java/com/iniongungroup/mobile/droid/autocheckmobile/di/modules/RemoteDataSourceModule.kt | IniongunIsaac | 386,097,502 | false | null | package com.iniongungroup.mobile.droid.autocheckmobile.di.modules
import com.iniongungroup.mobile.droid.autocheckmobile.di.scopes.AppScope
import com.iniongungroup.mobile.droid.autocheckmobile.remotedatasource.repoimpl.inventory.InventoryRemoteDataSourceImpl
import com.iniongungroup.mobile.droid.autocheckmobile.reposi... | 0 | Kotlin | 0 | 1 | 3995cb27309321ae4ea355da7dffc2c6dec30fc5 | 722 | Autocheck-Mobile-Android | The Unlicense |
infra/src/main/kotlin/fr/sacane/jmanager/infrastructure/server/repositories/CategoryRepository.kt | Sacane | 531,082,439 | false | null | package fr.sacane.jmanager.infrastructure.server.repositories
import fr.sacane.jmanager.infrastructure.server.entity.CategoryResource
import org.springframework.data.jpa.repository.JpaRepository
import org.springframework.stereotype.Repository
import org.springframework.transaction.annotation.Transactional
@Repositor... | 0 | Kotlin | 0 | 0 | 7735ce372757e91ed667fdb905e8380306860b71 | 448 | JManager | MIT License |
charcoal-android-compose/src/main/java/net/pixiv/charcoal/android/compose/theme/CharcoalColorToken.kt | pixiv | 580,258,047 | false | {"Kotlin": 120287, "JavaScript": 12005, "Java": 2332} | package net.pixiv.charcoal.android.compose.theme
import androidx.compose.ui.graphics.Color
data class CharcoalColorToken(
val brand: Color,
val brandDark: Color,
val assertive: Color,
val warning: Color,
val success: Color,
val like: Color,
val premium: Color,
val marker: Color,
va... | 10 | Kotlin | 5 | 28 | 24c4006305aed1414d6830fe7ac4546141a46804 | 702 | charcoal-android | Apache License 2.0 |
ui/src/main/java/com/pyamsoft/sleepforbreakfast/ui/icons/AutoAwesome.kt | pyamsoft | 614,569,547 | false | {"Kotlin": 679438, "Shell": 457} | package com.pyamsoft.sleepforbreakfast.ui.icons
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.materialIcon
import androidx.compose.material.icons.materialPath
import androidx.compose.ui.graphics.vector.ImageVector
@Suppress("unused")
val Icons.Filled.AutoAwesome: ImageVector
ge... | 0 | Kotlin | 0 | 2 | f11860f0ca6a3f0e5349ce1578300ddfb91cd2bb | 1,651 | sleepforbreakfast | Apache License 2.0 |
ui/src/main/java/com/pyamsoft/sleepforbreakfast/ui/icons/AutoAwesome.kt | pyamsoft | 614,569,547 | false | {"Kotlin": 679438, "Shell": 457} | package com.pyamsoft.sleepforbreakfast.ui.icons
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.materialIcon
import androidx.compose.material.icons.materialPath
import androidx.compose.ui.graphics.vector.ImageVector
@Suppress("unused")
val Icons.Filled.AutoAwesome: ImageVector
ge... | 0 | Kotlin | 0 | 2 | f11860f0ca6a3f0e5349ce1578300ddfb91cd2bb | 1,651 | sleepforbreakfast | Apache License 2.0 |
core/src/main/java/com/masscode/animesuta/core/di/CoreModule.kt | agustiyann | 299,888,684 | false | null | package com.masscode.animesuta.core.di
import androidx.room.Room
import com.masscode.animesuta.core.data.AnimeRepository
import com.masscode.animesuta.core.data.source.local.LocalDataSource
import com.masscode.animesuta.core.data.source.local.room.AnimeDatabase
import com.masscode.animesuta.core.data.source.remote.Rem... | 0 | Kotlin | 10 | 55 | 0a51677ddcd69eb9f8c2f9c8da62518c894d06ce | 2,622 | Android-Clean-Architecture | Apache License 2.0 |
app/src/main/java/com/andreadev/stargazerssample/data/repository/PreferencesRepository.kt | battagliandrea | 114,290,986 | false | null | package com.andreadev.stargazerssample.data.repository
import android.content.SharedPreferences
import javax.inject.Inject
import javax.inject.Singleton
/**
* Created by andrea on 23/04/17.
*/
@Singleton
class PreferencesRepository @Inject constructor(sp: SharedPreferences) {
private var mSharedPreferences :... | 0 | Kotlin | 0 | 0 | 5bb9d6e69f9163660c26de386c9b5cd64d4afbc2 | 2,672 | StargazersSample | Apache License 2.0 |
plugins/analysis/kotlin-plugin/src/test/kotlin/arrow/meta/plugins/Utils.kt | arrow-kt | 217,378,939 | false | null | package arrow.meta.plugins
import arrow.meta.plugin.testing.CompilerPlugin
import arrow.meta.plugin.testing.Config
import arrow.meta.plugin.testing.ConfigSyntax
import arrow.meta.plugin.testing.Dependency
fun ConfigSyntax.newMetaDependencies(): List<Config> {
val currentVersion = System.getProperty("CURRENT_VERSION... | 97 | Kotlin | 40 | 316 | 8d2a80cf3a1275a752c18baceed74cb61aa13b4d | 589 | arrow-meta | Apache License 2.0 |
iminling-core/src/main/kotlin/com/iminling/core/config/mybatis/SqlInterceptor.kt | konghanghang | 340,850,176 | false | null | package com.iminling.core.config.mybatis
import org.apache.ibatis.cache.CacheKey
import org.apache.ibatis.executor.Executor
import org.apache.ibatis.mapping.BoundSql
import org.apache.ibatis.mapping.MappedStatement
import org.apache.ibatis.plugin.Interceptor
import org.apache.ibatis.plugin.Intercepts
import org.apache... | 0 | Kotlin | 0 | 1 | 9f2cb7d85ad7364ff3aa92bfd5eb15db9b23809a | 6,420 | base-iminling-core | MIT License |
browser-kotlin/src/jsMain/kotlin/web/idb/IDBCursorDirection.kt | karakum-team | 393,199,102 | false | {"Kotlin": 6630901} | // Automatically generated - do not modify!
@file:Suppress(
"NESTED_CLASS_IN_EXTERNAL_INTERFACE",
)
package web.idb
import seskar.js.JsValue
import seskar.js.JsVirtual
@JsVirtual
sealed external interface IDBCursorDirection {
companion object {
@JsValue("next")
val next: IDBCursorDirection
... | 0 | Kotlin | 6 | 28 | 664781d7bdaf5f4aca206e11990b1d304fd45212 | 540 | types-kotlin | Apache License 2.0 |
app/src/main/java/com/ruthvikbr/starbucksindiacompose/ui/utils/LandingScreenBottomSheet.kt | Ruthvikbr | 519,740,797 | false | {"Kotlin": 261703} | package com.ruthvikbr.starbucksindiacompose.ui.utils
sealed class LandingScreenBottomSheet {
object LoginSheet : LandingScreenBottomSheet()
object GetHelpSheet : LandingScreenBottomSheet()
}
| 2 | Kotlin | 1 | 11 | 0147c79cfc70c3fe1b95443baedb49d2ebd6f05c | 200 | Starbucks-India-Compose | Apache License 2.0 |
zipline-loader/src/jvmTest/kotlin/app/cash/zipline/loader/ZiplineLoaderTest.kt | cashapp | 41,445,081 | false | null | /*
* Copyright (C) 2021 Square, 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 agre... | 30 | C | 101 | 1,153 | 74ea2906d3553e79ddd777989d2f3434e64c321d | 7,090 | duktape-android | Apache License 2.0 |
checkout-core/src/main/java/com/adyen/checkout/core/util/ParcelUtils.kt | leandromagnabosco | 533,836,687 | false | null | /*
* Copyright (c) 2020 <NAME>.
*
* This file is open source and available under the MIT license. See the LICENSE file for more info.
*
* Created by caiof on 17/12/2020.
*/
package com.adyen.checkout.core.util
import android.os.Parcel
object ParcelUtils {
private const val BOOLEAN_TRUE_VALUE = 1
private... | 2 | Kotlin | 0 | 0 | c154e989a08f1dc76cf90f6949878621cbbfa644 | 731 | testsonarcloud | MIT License |
app/src/main/java/com/example/viredapp/adapters/RequestBoundaryCallBack.kt | Dilip23 | 148,002,535 | false | null | package com.example.viredapp.adapters
import android.arch.paging.PagedList
import com.example.viredapp.database.RequestLocalCache
import com.example.viredapp.db.Request
import com.example.viredapp.model.RequestResult
import com.example.viredapp.utilities.ApiClient
import com.example.viredapp.utilities.UserClient
impor... | 0 | Kotlin | 3 | 6 | 6f6c15340fb3e0738e49f61071d3b233f8ffe371 | 1,487 | ViredApp | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.