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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
web/src/main/kotlin/com/cs346/web/board/Board.kt | wendyxz | 652,021,298 | false | null | package com.cs346.web.board
import org.springframework.data.annotation.PersistenceConstructor
import org.springframework.data.annotation.PersistenceCreator
import java.io.Serializable
import java.util.UUID
data class Board @PersistenceCreator constructor(
val id: String?,
var name: String?,
var json: S... | 0 | Kotlin | 0 | 0 | 9702deb3565d938ce8ec3059509b6ce29b3c4591 | 343 | SketchMate | MIT License |
src/main/kotlin/example/examplemod/mineui/wrapper/PoseStack.kt | fuma-nama | 537,793,028 | false | {"Kotlin": 99524} | package example.examplemod.mineui.wrapper
import com.mojang.blaze3d.vertex.PoseStack
import example.examplemod.mineui.style.Point4
import net.minecraft.client.gui.Gui
fun PoseStack.drawBorder(x: Int, y: Int, width: Int, height: Int, color: Int, thickness: Point4) {
val right = (x + width).coerceAtLeast(x)
val... | 0 | Kotlin | 0 | 1 | 28c0b2fadbda25cf7d042b42ed6a4883e2392e35 | 772 | mine-ui | MIT License |
app/src/test/java/com/mkado/techtest/lotterytest/ui/view/LotteryListViewModelShould.kt | anuloo | 829,710,533 | false | {"Kotlin": 76225} | package com.mkado.techtest.lotterytest.ui.view
import com.mkado.techtest.lotterytest.domain.model.Lottery
import com.mkado.techtest.lotterytest.domain.uscase.LotteryUsecase
import com.mkado.techtest.lotterytest.common.DataResult
import com.mkado.techtest.lotterytest.ui.view.viewmodel.LotteryListViewModel
import io.moc... | 0 | Kotlin | 1 | 0 | 7c55dc01ca40326e335b1433d99ff13f841ba4ce | 4,381 | lotteryTest | MIT License |
src/main/kotlin/dev/d1s/website/block/root/WhatAmIDoingBlock.kt | d1snin | 691,812,284 | false | {"Kotlin": 31849, "Shell": 142, "Dockerfile": 103} | /*
* Copyright 2023 Mikhail Titov
*
* 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 t... | 0 | Kotlin | 0 | 0 | 966697183d022e342dce92475249cb9aa3f62dea | 1,784 | website | Apache License 2.0 |
app/src/main/java/com/example/assignment/utils/GoogleSignInClient.kt | 098suraj | 564,456,919 | false | {"Kotlin": 74526} | package com.example.assignment.utils
import android.content.Context
import com.google.android.gms.auth.api.signin.GoogleSignIn
import com.google.android.gms.auth.api.signin.GoogleSignInClient
import com.google.android.gms.auth.api.signin.GoogleSignInOptions
fun getGoogleSignInClient(context: Context): GoogleSignInCl... | 0 | Kotlin | 0 | 0 | d2cbe0d43a66efbfc7dbc22dc8e04465e22bcd53 | 706 | Assignment | Apache License 2.0 |
app/src/main/java/com/example/assignment/utils/GoogleSignInClient.kt | 098suraj | 564,456,919 | false | {"Kotlin": 74526} | package com.example.assignment.utils
import android.content.Context
import com.google.android.gms.auth.api.signin.GoogleSignIn
import com.google.android.gms.auth.api.signin.GoogleSignInClient
import com.google.android.gms.auth.api.signin.GoogleSignInOptions
fun getGoogleSignInClient(context: Context): GoogleSignInCl... | 0 | Kotlin | 0 | 0 | d2cbe0d43a66efbfc7dbc22dc8e04465e22bcd53 | 706 | Assignment | Apache License 2.0 |
app/src/main/java/com/example/daniel/cryptocurrencyconverter/common/dagger/ActivityScope.kt | danielmaman | 126,005,852 | false | null | package com.example.daniel.cryptocurrencyconverter.common.dagger
import javax.inject.Scope
@Scope
@Retention(AnnotationRetention.RUNTIME)
annotation class ActivityScope | 0 | Kotlin | 0 | 0 | 20226db273edfb35f15b42f94e017d48fa960dc3 | 170 | CryptoCurrencyConverter | MIT License |
app/src/main/java/ru/alexmaryin/spacextimes_rx/data/api/remote/SpaceXApiImpl.kt | alexmaryin | 324,776,487 | false | null | package ru.alexmaryin.spacextimes_rx.data.api.remote
import retrofit2.Response
import ru.alexmaryin.spacextimes_rx.data.model.*
import ru.alexmaryin.spacextimes_rx.data.model.api.*
import javax.inject.Inject
class SpaceXApiImpl @Inject constructor(private val apiRemote: ApiRemote) : SpaceXApi {
private val launc... | 1 | Kotlin | 2 | 1 | 556bcd18d9c60c8922055a11976056cad812856a | 4,707 | spacextimes | Apache License 2.0 |
app/src/main/kotlin/com/github/willjgriff/ethereumwallet/ethereum/transactions/TransactionsAdapter.kt | willjgriff | 79,726,997 | false | null | package com.github.willjgriff.ethereumwallet.ethereum.transactions
import com.github.willjgriff.ethereumwallet.ethereum.address.model.DomainAddress
import com.github.willjgriff.ethereumwallet.ethereum.transactions.model.DomainBlock
import com.github.willjgriff.ethereumwallet.ethereum.transactions.model.DomainTransacti... | 0 | Kotlin | 1 | 12 | 3e8b894606df7fd5595078971ca0883cbf78badf | 4,472 | android-ethereum-wallet | Apache License 2.0 |
app/src/main/java/com/example/budgetapplication/BudgetApplication.kt | afcarzero1 | 808,772,468 | false | {"Kotlin": 431692} | package com.example.budgetapplication
import android.app.Application
import com.example.budgetapplication.data.AppContainer
import com.example.budgetapplication.data.AppDataContainer
class BudgetApplication : Application() {
lateinit var container: AppContainer
override fun onCreate() {
super.onCrea... | 0 | Kotlin | 0 | 0 | 5f683104f1b0f76aa5ef3df3f1e1d2f6f7ce37da | 375 | Budget | MIT License |
feature-account-impl/src/main/java/jp/co/soramitsu/feature_account_impl/presentation/exporting/json/confirm/ExportJsonConfirmFragment.kt | soramitsu | 278,060,397 | false | null | package jp.co.soramitsu.feature_account_impl.presentation.exporting.json.confirm
import android.app.Activity
import android.content.Intent
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.core.os.bundleOf
import androidx.core.view.isVisi... | 1 | Kotlin | 14 | 54 | 9d3659e4f142cc4e0270c149ddfb8bd0d6a9eefc | 4,881 | fearless-Android | Apache License 2.0 |
codeSnippets/snippets/engine-main-modules/src/main/kotlin/com/example/Application.kt | ktorio | 278,572,893 | false | null | package com.example
import io.ktor.application.*
import io.ktor.response.*
import io.ktor.routing.*
fun main(args: Array<String>): Unit = io.ktor.server.netty.EngineMain.main(args)
fun Application.module1() {
routing {
get("/module1") {
call.respondText("Hello from 'module1'!")
}
... | 5 | Kotlin | 94 | 95 | 4ede19d93a98dd25c3e1665702f13a8468a364aa | 465 | ktor-documentation | Apache License 2.0 |
src/jmh/kotlin/benchmarks/LargeGraphServer.kt | alefedor | 213,178,026 | false | null | package benchmarks
import benchmarks.util.Graph
import java.io.Serializable
import java.rmi.Remote
import java.rmi.RemoteException
import java.rmi.registry.LocateRegistry
import java.rmi.server.UnicastRemoteObject
private lateinit var ROAD_GRAPH: Graph
private lateinit var LIVE_JOURNAL_GRAPH: Graph
private lateinit v... | 0 | null | 1 | 1 | ac6739141f866ed7d88f19b787958a8ac244c06f | 2,761 | concurrent-dynamic-connectivity | Apache License 2.0 |
app/src/main/java/com/doubean/ford/data/db/model/GroupTabEntity.kt | Bumblebee202111 | 453,416,432 | false | null | package com.doubean.ford.data.db.model
import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey
@Entity("group_tabs")
data class GroupTabEntity(
@PrimaryKey
val id: String,
val name: String?,
val seq: Int,
@ColumnInfo("group_id")
val groupId: String,
)
| 0 | Kotlin | 0 | 5 | 7f92e341028d187b351dadec6eccde2d7715b65e | 314 | doubean | Apache License 2.0 |
chat-gui/src/main/java/ru/usedesk/chat_gui/chat/offlineformselector/OfflineFormSelectorAdapter.kt | usedesk | 127,645,126 | false | null | package ru.usedesk.chat_gui.chat.offlineformselector
import android.view.ViewGroup
import androidx.lifecycle.LifecycleOwner
import androidx.recyclerview.widget.LinearLayoutManager
import androidx.recyclerview.widget.RecyclerView
import ru.usedesk.chat_gui.R
import ru.usedesk.common_gui.UsedeskCommonFieldCheckBoxAdapte... | 0 | Kotlin | 4 | 3 | 3ee34eaeeaa0668e94cf8dadf78afad6901b52c4 | 2,588 | Android_SDK | MIT License |
PedidosServer/app/src/main/java/com/opdeveloper/pedidosserver/productlist/viewholder/ProductListViewHolder.kt | Afrothundera | 608,736,651 | false | null | package com.opdeveloper.pedidosserver.productlist.viewholder
import android.view.ContextMenu
import android.view.View
import android.widget.ImageView
import android.widget.TextView
import androidx.recyclerview.widget.RecyclerView
import com.opdeveloper.pedidosserver.R
import com.opdeveloper.pedidosserver.interfaces.On... | 0 | Kotlin | 0 | 0 | b3377305ea9d7f7c7d764a686edc4a3b38f2d098 | 1,341 | App-Pedidos-Online-Restaurantes | The Unlicense |
app/src/main/java/com/olehka/currencyrates/ui/viewmodel/RatesViewModel.kt | olehka | 209,806,725 | false | null | package com.olehka.currencyrates.ui.viewmodel
import androidx.lifecycle.*
import com.olehka.currencyrates.R
import com.olehka.currencyrates.data.CurrencyRate
import com.olehka.currencyrates.data.Repository
import com.olehka.currencyrates.data.Result
import com.olehka.currencyrates.util.Event
import com.olehka.currency... | 0 | Kotlin | 0 | 0 | cb9a5dca4554e9960bde3de6b86680f65b8ea325 | 3,193 | currency-rates-task | Apache License 2.0 |
trixnity-client/trixnity-client-repository-indexeddb/src/jsTest/kotlin/net/folivo/trixnity/client/store/repository/indexeddb/IndexedDBRoomStateRepositoryTest.kt | benkuly | 330,904,570 | false | null | package net.folivo.trixnity.client.store.repository.indexeddb
import com.benasher44.uuid.uuid4
import com.juul.indexeddb.openDatabase
import io.kotest.core.spec.style.ShouldSpec
import io.kotest.matchers.maps.shouldHaveSize
import io.kotest.matchers.shouldBe
import net.folivo.trixnity.client.store.repository.RoomState... | 0 | Kotlin | 3 | 25 | 607e61dad063037518bcba654a625f218bfb7df9 | 3,513 | trixnity | Apache License 2.0 |
app/src/main/java/com/example/mycredman/CredentialDetailsActivity.kt | ko-koiwai | 699,702,980 | false | {"Kotlin": 57313} | package com.example.mycredman
import android.content.Intent
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fi... | 1 | Kotlin | 4 | 4 | af2e122add1ce2e8cd540a538ebc72e1901385d9 | 5,157 | MyCredentialManager | MIT License |
app/src/main/java/com/example/prodman/LoginFragment.kt | PabloDino | 804,058,522 | false | {"Kotlin": 205892} | package com.example.prodman
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import androidx.fragment.app.activityViewModels
import androidx.navigation.fragment.findNavController
import com.example.prodman.model.ProdViewModelFactory
import ... | 0 | Kotlin | 0 | 0 | b1558da8b460f16f011f26d45a6b9e547e1b8361 | 4,887 | s7.prodtrac | Apache License 2.0 |
data/src/main/kotlin/ru/khiraevmalik/theguardiannews/api/Api.kt | Hiraev | 278,637,711 | false | null | package ru.khiraevmalik.theguardiannews.api
import ru.khiraevmalik.theguardiannews.data.BuildConfig
object Api {
object TheGuardian {
const val baseUrl = BuildConfig.THE_GUARDIAN_API_URL
const val api_key_value = BuildConfig.THE_GUARDIAN_API_KEY
const val api_key = "api-key"
obje... | 0 | Kotlin | 0 | 0 | 19ce6605f1d8c33def4d0a70340c8e75bd4c9a20 | 1,194 | TheGuardianNews | Apache License 2.0 |
data/src/main/kotlin/ru/khiraevmalik/theguardiannews/api/Api.kt | Hiraev | 278,637,711 | false | null | package ru.khiraevmalik.theguardiannews.api
import ru.khiraevmalik.theguardiannews.data.BuildConfig
object Api {
object TheGuardian {
const val baseUrl = BuildConfig.THE_GUARDIAN_API_URL
const val api_key_value = BuildConfig.THE_GUARDIAN_API_KEY
const val api_key = "api-key"
obje... | 0 | Kotlin | 0 | 0 | 19ce6605f1d8c33def4d0a70340c8e75bd4c9a20 | 1,194 | TheGuardianNews | Apache License 2.0 |
app/src/main/java/pl/mobilization/konfeo/checkin/adapters/AttendeesAdapter.kt | Mobilization | 109,166,961 | false | null | package pl.mobilization.konfeo.checkin.adapters
import android.arch.persistence.room.Room
import android.content.Context
import android.os.Bundle
import android.os.Handler
import android.os.Looper
import android.os.ResultReceiver
import android.support.v7.widget.RecyclerView
import android.view.LayoutInflater
import a... | 0 | Kotlin | 0 | 0 | 46d154cb756eac27e143fefa6b47b3f75b3aa1cf | 3,856 | konfeo-checkin | MIT License |
user-agent/user-agent-impl/src/main/java/com/duckduckgo/user/agent/impl/UserAgentPlugin.kt | duckduckgo | 78,869,127 | false | {"Kotlin": 14333964, "HTML": 63593, "Ruby": 20564, "C++": 10312, "JavaScript": 8463, "CMake": 1992, "C": 1076, "Shell": 784} | /*
* Copyright (c) 2024 DuckDuckGo
*
* 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 ... | 67 | Kotlin | 901 | 3,823 | 6415f0f087a11a51c0a0f15faad5cce9c790417c | 2,682 | Android | Apache License 2.0 |
Extensions/Music/src/main/kotlin/net/sourcebot/module/music/Music.kt | RoMeAh-zz | 299,405,471 | true | {"Kotlin": 207948} | package net.sourcebot.module.music
import com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager
import com.sedmelluq.discord.lavaplayer.source.AudioSourceManagers
import com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioSourceManager
import net.dv8tion.jda.api.entities.Guild
import net.sourcebot.... | 0 | null | 0 | 0 | 32c7bccb80e27745c339b5cc582b4416d06de58e | 1,363 | Source | MIT License |
linea/src/commonMain/kotlin/compose/icons/lineaicons/arrows/Glide.kt | DevSrSouza | 311,134,756 | false | {"Kotlin": 36719092} | package compose.icons.lineaicons.arrows
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.compose.ui.g... | 17 | Kotlin | 25 | 571 | a660e5f3033e3222e3553f5a6e888b7054aed8cd | 3,209 | compose-icons | MIT License |
linea/src/commonMain/kotlin/compose/icons/lineaicons/arrows/Glide.kt | DevSrSouza | 311,134,756 | false | {"Kotlin": 36719092} | package compose.icons.lineaicons.arrows
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.compose.ui.g... | 17 | Kotlin | 25 | 571 | a660e5f3033e3222e3553f5a6e888b7054aed8cd | 3,209 | compose-icons | MIT License |
client-misk/src/main/kotlin/app/cash/backfila/client/misk/BackfillMetadata.kt | cashapp | 209,384,085 | false | {"Kotlin": 952510, "TypeScript": 78934, "Java": 14790, "Shell": 4170, "JavaScript": 1107, "HTML": 990, "Dockerfile": 486} | package app.cash.backfila.client.misk
import app.cash.backfila.client.spi.BackfillBackend
import app.cash.backfila.client.spi.BackfillRegistration
import jakarta.inject.Inject
import misk.web.metadata.Metadata
import misk.web.metadata.MetadataProvider
import misk.web.metadata.toFormattedJson
import wisp.moshi.adapter
... | 50 | Kotlin | 49 | 31 | 5d9f39a12fd4dc95533889978d70b043a817b287 | 1,335 | backfila | Apache License 2.0 |
ui/lists-edit/src/main/java/com/gnoemes/shimori/lists_edit/ListsEditSheet.kt | gnoemes | 213,210,354 | false | null | import androidx.compose.animation.AnimatedVisibility
import androidx.compose.animation.ExperimentalAnimationApi
import androidx.compose.animation.animateContentSize
import androidx.compose.foundation.*
import androidx.compose.foundation.gestures.detectTapGestures
import androidx.compose.foundation.layout.*
import andro... | 0 | Kotlin | 0 | 9 | 7a8373881e2abc29be51a2030ddfd329d9928d80 | 28,537 | Shimori | Apache License 2.0 |
app/src/main/java/com/github/firenox89/shinobooru/service/ShinoboorusWallpaperService.kt | Firenox89 | 61,946,482 | false | null | package com.github.firenox89.shinobooru.service
import android.content.Context
import android.graphics.*
import android.graphics.Paint.ANTI_ALIAS_FLAG
import android.service.wallpaper.WallpaperService
import android.util.Size
import android.view.GestureDetector
import android.view.MotionEvent
import android.view.Surfa... | 1 | Kotlin | 2 | 6 | eccf4688b861f0df7feeb72084064c5cf84759f2 | 10,508 | Shinobooru | MIT License |
app/src/main/java/com/hulkrent/app/host/payout/addPayout/AddPayoutViewModel.kt | Hulk-Cars | 772,120,218 | false | {"Kotlin": 2511410, "Java": 358761} | package com.hulkrent.app.host.payout.addPayout
import androidx.databinding.ObservableField
import androidx.lifecycle.MutableLiveData
import com.hulkrent.app.*
import com.hulkrent.app.data.DataManager
import com.hulkrent.app.ui.base.BaseViewModel
import com.hulkrent.app.util.Utils
import com.hulkrent.app.util.performOn... | 0 | Kotlin | 0 | 0 | 9886a3455e3d404110a85cdaaf5bbff449390814 | 22,119 | Hulk-Rent-Android | Artistic License 1.0 w/clause 8 |
openfoodfacts-kotlin-dev-app/shared/src/previewMain/kotlin/openfoodfacts/github/scrachx/openfood/api/SharedMainPreview.kt | openfoodfacts | 541,555,488 | false | null | package openfoodfacts.github.scrachx.openfood.api
import androidx.compose.foundation.layout.fillMaxHeight
import androidx.compose.runtime.Composable
import androidx.compose.runtime.rememberCoroutineScope
import androidx.compose.ui.Modifier
import openfoodfacts.github.scrachx.openfood.api.v0.model.Product
import openfo... | 3 | null | 2 | 5 | 06c821bd142aa1c30a077e66006f9a79b8437baa | 1,049 | openfoodfacts-kotlin | Apache License 2.0 |
app/src/main/java/com/realsoc/shiby/componentization/ItemComponent.kt | realsoc | 208,658,394 | false | null | package com.realsoc.shiby.componentization
import android.annotation.SuppressLint
import android.os.Looper
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.annotation.CallSuper
import androidx.lifecycle.LifecycleObserver
import androidx.recyclerview.widget.Recyc... | 0 | Kotlin | 0 | 0 | 8d8c9e18c1b49d777ed86e01ae524346108e2b4d | 2,627 | Shiby | Apache License 2.0 |
contact_access/custom_adapter.kt | nitish098123 | 481,869,940 | false | null | package com.example.database_part_3.contact_access
/*
created in 2/3/2022: By <NAME>
this method will bring all the contacts from phone with velocity 200 contacts per second
*/
import android.content.Context
import android.provider.ContactsContract
import android.view.LayoutInflater
import android.view.View
i... | 1 | Kotlin | 0 | 1 | 61ef3ffb99db93ece011f701a55804cb8fedf211 | 2,451 | Sofessist-a-messaging-specialist | Apache License 2.0 |
core/src/com/lyeeedar/Map/Objective/ObjectiveExplore.kt | Lyeeedar | 62,673,759 | false | null | package com.lyeeedar.Map.Objective
import com.badlogic.gdx.scenes.scene2d.ui.Label
import com.badlogic.gdx.scenes.scene2d.ui.Skin
import com.badlogic.gdx.scenes.scene2d.ui.Table
import com.badlogic.gdx.utils.Array
import com.badlogic.gdx.utils.XmlReader
import com.lyeeedar.Board.Level
import com.lyeeedar.Global
import... | 0 | Kotlin | 0 | 0 | 1902dc00693baa1f9f295e0a3d767357bda7b03a | 1,655 | Match3 | Apache License 2.0 |
core/src/main/kotlin/io/itch/mattekudasai/metallance/screen/TurnOffEasyModeScreen.kt | matte-made | 783,774,435 | false | {"Kotlin": 202234} | package io.itch.mattekudasai.metallance.screen
import com.badlogic.gdx.Input.Keys
import com.badlogic.gdx.graphics.OrthographicCamera
import com.badlogic.gdx.graphics.Texture
import com.badlogic.gdx.graphics.g2d.SpriteBatch
import com.badlogic.gdx.utils.Align
import com.badlogic.gdx.utils.viewport.FitViewport
import i... | 0 | Kotlin | 0 | 0 | a75cb74d4a5dea40c8f395e4865cea431e005e80 | 4,635 | metal-lance | Creative Commons Attribution 4.0 International |
data/src/main/kotlin/com/zeongit/data/database/primary/dao/ComplaintDao.kt | fuzeongit | 265,537,118 | false | null | package com.zeongit.data.database.primary.dao
import com.zeongit.data.database.primary.entity.Complaint
import org.springframework.data.jpa.repository.JpaRepository
import org.springframework.data.jpa.repository.JpaSpecificationExecutor
import org.springframework.stereotype.Repository
@Repository
interface ComplaintD... | 2 | Kotlin | 1 | 1 | 695043ba1e5f4a7a7ad662817de77758c97f408e | 395 | zeongit-beauty | MIT License |
kode/src/main/kotlin/net/pelsmaeker/kode/types/JvmMemberRef.kt | Virtlink | 550,764,695 | false | null | package net.pelsmaeker.kode.types
/**
* A JVM member reference.
*/
interface JvmMemberRef : JvmRef {
/** A reference to the class that declares this member. */
val owner: JvmClassRef
/** Whether this is an instance member. */
val isInstance: Boolean
/** Whether this is a static member. */
va... | 0 | Kotlin | 0 | 0 | 7410ec5e82d4dd8071c69be1678d63af489cba9f | 581 | kode | Apache License 2.0 |
engine/src/main/kotlin/io/rsbox/engine/plugin/RSPluginManager.kt | old-kyle-escabar | 219,073,297 | false | null | package io.rsbox.engine.plugin
import io.rsbox.api.plugin.PluginInfo
import io.rsbox.api.plugin.PluginManager
import io.rsbox.api.plugin.RSPlugin
import io.rsbox.api.plugin.script.KotlinScriptPlugin
import io.rsbox.util.Injectable
import org.koin.core.inject
import org.tinylog.kotlin.Logger
import kotlin.reflect.KClas... | 0 | Kotlin | 0 | 3 | 5d04e508a316342a716a10a51dc9c841a4eabe5e | 5,399 | rsbox-rsps | MIT License |
app/src/main/java/com/mytests/MainActivity.kt | FredNekrasov | 766,574,196 | false | {"Kotlin": 46367} | package com.mytests
import android.os.Bundle
import android.widget.Toast
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.Surface
import androidx... | 0 | Kotlin | 0 | 1 | 2b1129429abfb21aa7d49aa9293798fd6e27d90f | 940 | my-tests | MIT License |
ui/src/main/java/io/hoopit/android/ui/NetworkState.kt | hoopit | 159,476,396 | false | null | package io.hoopit.android.ui
import android.content.Context
import androidx.annotation.StringRes
import io.hoopit.android.common.extensions.getStringOrDefault
@Suppress("DataClassPrivateConstructor")
data class NetworkState private constructor(
val status: Status,
val msg: String? = null,
@StringRes val s... | 16 | Kotlin | 0 | 0 | 1e54e987915ee81b70689d490afc8ebed9dd34c6 | 1,345 | android-components | MIT License |
newm-server/src/main/kotlin/io/newm/server/features/walletconnection/model/GenerateChallengeResponse.kt | projectNEWM | 447,979,150 | false | {"Kotlin": 2433442, "HTML": 185244, "Dockerfile": 2535, "Shell": 1986, "Procfile": 60} | package io.newm.server.features.walletconnection.model
import kotlinx.serialization.Contextual
import kotlinx.serialization.Serializable
import java.time.LocalDateTime
import java.util.UUID
@Serializable
data class GenerateChallengeResponse(
@Contextual
val challengeId: UUID,
@Contextual
val expiresAt... | 1 | Kotlin | 5 | 10 | 83abe43e0dd7c8dc7888b4ddbe7bbecaa709b986 | 481 | newm-server | Apache License 2.0 |
src/test/enhetstester/kotlin/no/nav/familie/ba/sak/integrasjoner/journalføring/InnkommendeJournalføringServiceEnhetTest.kt | navikt | 224,639,942 | false | {"Kotlin": 6514101, "Gherkin": 993119, "PLpgSQL": 4478, "Shell": 3178, "Dockerfile": 522} | package no.nav.familie.ba.sak.integrasjoner.journalføring
import io.mockk.every
import io.mockk.mockk
import no.nav.familie.ba.sak.integrasjoner.familieintegrasjoner.IntegrasjonClient
import no.nav.familie.ba.sak.integrasjoner.journalføring.domene.JournalføringRepository
import no.nav.familie.ba.sak.integrasjoner.lagT... | 13 | Kotlin | 1 | 9 | ce534f2feb45a66b0b01ddda7edbd6646bae306b | 3,322 | familie-ba-sak | MIT License |
database/src/commonMain/kotlin/uk/co/sentinelweb/cuer/db/adapter/InstantAdapter.kt | sentinelweb | 220,796,368 | false | {"Kotlin": 2383617, "CSS": 205156, "Java": 98919, "Swift": 85812, "HTML": 19322, "JavaScript": 12105, "Ruby": 2170} | package uk.co.sentinelweb.cuer.db.adapter
import com.squareup.sqldelight.ColumnAdapter
import kotlinx.datetime.Instant
class InstantAdapter: ColumnAdapter<Instant, String> {
override fun decode(databaseValue: String) = Instant.parse(databaseValue)
override fun encode(value: Instant) = value.toString()
} | 94 | Kotlin | 0 | 2 | 8fa2f9590eb37051442aa359262826dac83e5562 | 314 | cuer | Apache License 2.0 |
app/src/main/java/com/immortalweeds/pedometer/model/gps/Routes.kt | Weedlly | 523,343,757 | false | {"Kotlin": 65187} | package com.immortalweeds.pedometer.model.gps
data class Routes(
val code: String,
val routes: List<Route>,
val uuid: String,
val waypoints: List<Waypoint>
) | 0 | Kotlin | 0 | 7 | 411c6fcf45a7a9aa34214148264297b345211ed7 | 174 | Pedometer | Apache License 2.0 |
data/src/main/java/com/android/template/data/remote/adapters/mappers/ErrorMappers.kt | huuphuoc1396 | 831,253,387 | false | {"Kotlin": 72560} | package com.android.template.data.remote.adapters.mappers
import com.android.template.data.remote.models.responses.errors.ErrorResponse
import com.android.template.domain.models.errors.ApiException
import com.android.template.domain.models.errors.UnauthorizedException
import com.android.template.domain.utils.orEmpty
i... | 0 | Kotlin | 0 | 11 | bb4856fe8bc7d34d285bae9e6c534c9d3064ece5 | 1,052 | android-template | MIT License |
app/src/main/java/com/redridgeapps/remoteforqbittorrent/ui/log/model/LogListItem.kt | SaurabhSandav | 123,869,187 | false | null | package com.redridgeapps.remoteforqbittorrent.ui.log.model
import androidx.recyclerview.widget.DiffUtil
data class LogListItem(
val id: Int,
val message: String,
val timestamp: String,
val type: Int
) {
object DiffCallback : DiffUtil.ItemCallback<LogListItem>() {
override ... | 0 | Kotlin | 0 | 1 | 1d3d81dfd9add116333e5892de1c7dda96a58dcb | 549 | qBittorrentRemote | MIT License |
gankio/src/main/java/com/panyz/gankio/GankIoApplication.kt | panyz | 333,628,190 | false | null | package com.panyz.gankio
import com.panyz.core_frame.base.BaseApplication
class GankIoApplication : BaseApplication() {
} | 0 | Kotlin | 0 | 0 | 5f382b9e6b64d7533af88cce928b1eb4cac44a21 | 123 | GankIO | Apache License 2.0 |
app/src/main/java/com/github/cfogrady/vitalwear/character/data/BEMCharacter.kt | cfogrady | 619,941,986 | false | {"Kotlin": 516565} | package com.github.cfogrady.vitalwear.character.data
import android.util.Log
import com.github.cfogrady.vitalwear.character.VBCharacter
import com.github.cfogrady.vitalwear.character.transformation.ExpectedTransformation
import com.github.cfogrady.vitalwear.character.transformation.FusionTransformation
import com.gith... | 12 | Kotlin | 0 | 4 | e55a7a02a089d8097f8b167fc734c35b47b2d35b | 3,769 | VitalWear | MIT License |
finnhub-api/src/commonMain/kotlin/com/hibernix/finnhub/model/SymbolChangeInfo.kt | hibernix | 591,662,668 | false | null | package com.hibernix.finnhub.model
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
/**
* @property atDate Event's date.
* @property oldSymbol Old symbol.
* @property newSymbol New symbol.
*/
@Serializable
data class SymbolChangeInfo(
@SerialName("atDate") var atDate: String? ... | 0 | Kotlin | 0 | 1 | cb570830c8af1ee5fd80bd9604649606c692fe09 | 450 | finnhub-api | Apache License 2.0 |
src/commonMain/kotlin/fr/amoya/ktaglib/tag/riff/RiffTagParser.kt | moya-a | 363,263,644 | false | null | package fr.amoya.ktaglib.tag.riff
import fr.amoya.ktaglib.tag.Tag
import fr.amoya.ktaglib.tag.TagParser
/*
* fr.amoya.ktaglib.common.parsers.riff
* As a part of the Project k-taglib
* @Author Arnaud Moya : <contact@amoya.fr>
* Created on 06/05/2021
*/
class RiffTagParser : TagParser
{
override fun parse(rawData... | 0 | Kotlin | 0 | 1 | d3dd69285fa3d1d1efc35e22d5766f5a24a7f248 | 380 | k-taglib | MIT License |
app/src/main/java/io/henrikhorbovyi/moviesapp/ui/screen/movies/favorites/Favorites.kt | henrikhorbovyi | 447,833,912 | false | null | package io.henrikhorbovyi.moviesapp.ui.screen.movies.favorites
import androidx.compose.foundation.ExperimentalFoundationApi
import androidx.compose.foundation.Image
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import android... | 0 | Kotlin | 0 | 1 | e5a03e6f2140379f565fc725f39b082dab8802af | 2,932 | movies-app | MIT License |
app/src/main/java/pl/grajek/actions/model/dao/CategoryDao.kt | dawids222 | 169,272,010 | false | null | package pl.grajek.actions.model.dao
import android.arch.lifecycle.LiveData
import android.arch.persistence.room.*
import pl.grajek.actions.model.entity.Category
@Dao
interface CategoryDao {
@Insert
fun insert(category: Category)
@Update
fun update(category: Category)
@Delete
fun delete(cate... | 0 | Kotlin | 0 | 0 | dc8c674b0b171ee68698133bcd023b2e26279612 | 516 | Actions | MIT License |
app/src/main/java/com/example/demoassignment/data/repository/FetchDataRepository.kt | rahulhundekari | 400,115,940 | false | null | package com.example.demoassignment.data.repository
import android.util.Log
import com.example.demoassignment.di.NetworkModule
import com.example.demoassignment.network.NYTimesApi
import com.example.demoassignment.network.entities.MostViewedApiResponse
import dagger.hilt.android.scopes.ViewModelScoped
import okhttp3.Cr... | 0 | Kotlin | 0 | 0 | 9b3135fb7241a01cb545a4adb688a4e26f133fbf | 655 | KotlinMVVMDemo | Apache License 2.0 |
sample/src/main/java/club/cred/sample/view/SampleScreensFragment.kt | CRED-CLUB | 498,671,676 | false | {"Kotlin": 135999} | package club.cred.sample.view
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.core.os.bundleOf
import androidx.fragment.app.DialogFragment
import androidx.fragment.app.FragmentManager
import club.cred.sample.R
import club.cred.sample.da... | 5 | Kotlin | 33 | 275 | 67e62066f6152f83d3e429da1e0de9501e817a24 | 2,163 | neopop-android | Apache License 2.0 |
zowe-cli/src/jsMain/kotlin/zowe/cli/zosfiles/strings/Unmount.kt | lppedd | 761,812,661 | false | {"Kotlin": 1887051} | package zowe.cli.zosfiles.strings
external interface Unmount {
var SUMMARY: String
var DESCRIPTION: String
var ACTIONS: Temp162
}
| 0 | Kotlin | 0 | 3 | 0f493d3051afa3de2016e5425a708c7a9ed6699a | 137 | kotlin-externals | MIT License |
app/src/androidTest/java/bez/dev/featurenotes/NotesTest.kt | AmChuri | 697,345,656 | false | {"Kotlin": 87118} | package bez.dev.featurenotes
import android.app.Activity
import android.view.View
import androidx.recyclerview.widget.RecyclerView
import androidx.test.core.app.ApplicationProvider
import androidx.test.espresso.Espresso.*
import androidx.test.espresso.NoMatchingViewException
import androidx.test.espresso.ViewAssertion... | 0 | Kotlin | 0 | 0 | f95d1c42c3fa22f55f12f28042152afdacaf7768 | 4,570 | Notes-App | Apache License 2.0 |
foosball/foosball/app/src/tablet/java/com/instructure/androidfoosball/services/FoosballSyncService.kt | JJSWART | 180,793,227 | true | {"Markdown": 2, "Proguard": 12, "Gradle": 44, "Ignore List": 28, "Java": 1313, "XML": 1469, "Text": 11, "Shell": 6, "Batchfile": 2, "Java Properties": 3, "YAML": 4, "HTML": 12, "Python": 1, "Kotlin": 59, "Ruby": 2, "INI": 2, "CSS": 1, "Ant Build System": 1} | package com.instructure.androidfoosball.services
import android.app.Service
import android.content.Intent
import android.os.Binder
import android.support.v7.app.NotificationCompat
import com.google.firebase.auth.FirebaseAuth
import com.google.firebase.database.*
import com.instructure.androidfoosball.App
import com.in... | 0 | Java | 0 | 0 | ebcdd3d66b2b6c34b8dd51a23bbb849983c869d3 | 4,702 | instructure-android | Apache License 2.0 |
app/core/src/main/java/com/mail/ann/mailstore/MessageStoreFactory.kt | ZhangXinmin528 | 516,242,626 | true | {"INI": 1, "Shell": 6, "Gradle": 30, "EditorConfig": 1, "Markdown": 8, "Git Attributes": 1, "Batchfile": 1, "Text": 44, "Ignore List": 4, "Git Config": 1, "XML": 399, "YAML": 6, "Kotlin": 744, "AIDL": 2, "Java": 433, "Java Properties": 1, "SVG": 67, "PostScript": 1, "JSON": 23, "E-mail": 27, "Proguard": 1} | package com.mail.ann.mailstore
import com.mail.ann.Account
interface MessageStoreFactory {
fun create(account: Account): ListenableMessageStore
}
| 0 | Java | 0 | 0 | 3efc82014d57307996329fd057c505d2b88ed044 | 152 | Ann-mail | Apache License 2.0 |
compiler/testData/diagnostics/tests/secondaryConstructors/constructorInObject.kt | anothem | 32,282,897 | true | {"Markdown": 33, "XML": 646, "Ant Build System": 32, "Ignore List": 8, "Maven POM": 48, "Kotlin": 16461, "Java": 4172, "CSS": 10, "Shell": 7, "Batchfile": 7, "Java Properties": 9, "Gradle": 68, "HTML": 114, "INI": 7, "Groovy": 19, "JavaScript": 66, "Text": 3438, "JFlex": 3, "JAR Manifest": 2, "Roff": 30, "Roff Manpage"... | object A {
<!SECONDARY_CONSTRUCTOR_IN_OBJECT!>constructor() {}<!>
init {}
}
enum class B {
X : B() {
<!SECONDARY_CONSTRUCTOR_IN_OBJECT!>constructor() {}<!>
}
}
class C {
default object {
<!SECONDARY_CONSTRUCTOR_IN_OBJECT!>constructor() {}<!>
}
}
val anonObject = object {
<... | 0 | Java | 0 | 0 | b44dbe6ca2e1519a4ccf548758714ce9726b77c7 | 376 | kotlin | Apache License 2.0 |
app/src/main/kotlin/com/lovoo/android/pickpic/ExampleAdapter.kt | lovoo | 224,686,577 | false | null | /**
* Copyright 2018 LOVOO GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | 0 | Kotlin | 1 | 13 | 225b679bfc41d77d9b0573cbbc466d261c683c61 | 1,818 | android-pickpic | Apache License 2.0 |
app/src/main/java/com/jdavifranco/letswatch/repository/MovieRepository.kt | jdavifranco | 390,082,134 | false | null | package com.jdavifranco.letswatch.repository
import com.jdavifranco.letswatch.datasource.mappers.toDomain
import com.jdavifranco.letswatch.datasource.remote.RemoteDataSource
import com.jdavifranco.letswatch.domain.data.MovieDataRepository
import com.jdavifranco.letswatch.domain.model.Details
import com.jdavifranco.let... | 0 | Kotlin | 0 | 1 | cd5b1c544804832c6e2ae63ac76c3f665c6f2232 | 1,418 | LetsWatch | Apache License 2.0 |
parkingmanagement-api/src/main/kotlin/parkandrest/parkingmanagement/api/parking/ParkingNotExistsException.kt | pokemzok | 166,366,410 | false | null | package parkandrest.parkingmanagement.api.parking
import parkandrest.exception.api.exceptionparent.BusinessException
import parkandrest.parkingmanagement.api.businessexception.BusinessExceptionCode
class ParkingNotExistsException : BusinessException(CODE, arrayOf(), "") {
companion object {
private val C... | 0 | Kotlin | 0 | 1 | f079ade5c5407ac1d41dfb3432f8ba1b10c1b274 | 380 | parkandrest-kotlin | MIT License |
app/src/main/java/com/example/svbookmarket/activities/viewmodel/ItemDetailViewModelFactory.kt | khangbdd | 406,396,585 | true | {"Kotlin": 317416, "Java": 4114} | package com.example.svbookmarket.activities.viewmodel
import android.os.Bundle
import androidx.lifecycle.ViewModel
import androidx.lifecycle.ViewModelProvider
import com.example.svbookmarket.activities.model.Book
//class ItemDetailViewModelFactory(private val book: Book?):ViewModelProvider.Factory{
// override fun... | 0 | null | 0 | 0 | 880507764d14c4b4ba6285caf07ae3ac403064f2 | 579 | OnlineBookMarket | Apache License 2.0 |
samples/starter-mobile-app/src/main/kotlin/researchstack/presentation/screen/insight/SettingScreen.kt | S-ResearchStack | 520,365,275 | false | {"Kotlin": 178868, "AIDL": 4785} | package researchstack.presentation.screen.insight
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.Spacer
import androidx.compose.f... | 0 | Kotlin | 20 | 26 | 58b4b9b64623a7d2a0865307d490a59a7538d7cd | 5,145 | app-sdk | Apache License 2.0 |
src/test/kotlin/org/randomcat/util/PrimaryKeyedTests.kt | randomnetcat | 255,200,022 | false | null | package org.randomcat.util
import org.randomcat.util.test_util.assertSucceeds
import kotlin.test.Test
import kotlin.test.assertFails
import kotlin.test.assertFalse
import kotlin.test.assertTrue
class PrimaryKeyedTests {
private data class KeyValuePair(val key: Int, val value: String)
@Test
fun `isPrimary... | 0 | Kotlin | 0 | 0 | 4183c9113c0bbddc50932110d764af7150283176 | 1,950 | kotlin-utils | MIT License |
api/src/main/kotlin/com/seedcompany/cordtables/components/tables/common/people_to_org_relationships/List.kt | CordField | 409,237,733 | false | null | package com.seedcompany.cordtables.components.tables.common.people_to_org_relationships
import com.seedcompany.cordtables.common.ErrorType
import com.seedcompany.cordtables.common.Utility
import com.seedcompany.cordtables.components.admin.GetSecureListQuery
import com.seedcompany.cordtables.components.admin.GetSecureL... | 93 | Kotlin | 1 | 3 | 7e5588a8b3274917f9a5df2ffa12d27db23fb909 | 5,453 | cordtables | MIT License |
zowe-zos-console-for-zowe-sdk/src/jsMain/kotlin/zowe/sdk/console/doc/IConsoleResponse.kt | lppedd | 761,812,661 | false | {"Kotlin": 1887051} | package zowe.sdk.console.doc
import zowe.imperative.error.ImperativeError
import zowe.sdk.console.doc.zosmf.IZosmfIssueResponse
/**
* The Console API response.
*/
external interface IConsoleResponse {
/**
* True if the command was issued and the responses were collected.
*/
var success: Boolean
/**
... | 0 | Kotlin | 0 | 3 | 0f493d3051afa3de2016e5425a708c7a9ed6699a | 1,265 | kotlin-externals | MIT License |
app/src/main/java/com/projekt/sobokan/GameView.kt | Gladiu | 493,292,243 | false | null | package com.projekt.sobokan
import android.content.Context
import android.graphics.Canvas
import android.view.View
class GameView(context: Context) : View(context) {
lateinit var gameMap: GameMap
lateinit var player: Player
override fun onDraw(canvas: Canvas?) {
gameMap.Draw(canvas)
playe... | 0 | Kotlin | 0 | 1 | c2dd4da4f9eac9034103e76ce6ba2009c8053b42 | 342 | Sobokan | MIT License |
app/src/main/java/com/example/digitalwhiteboard/DrawActivity.kt | Wrafttex | 645,241,817 | false | null | package com.example.digitalwhiteboard
import android.content.Context
import android.content.Intent
import android.content.pm.ActivityInfo
import android.content.pm.PackageManager
import android.graphics.Bitmap
import android.graphics.Matrix
import android.os.Bundle
import android.util.Log
import android.util.Size
impo... | 0 | Kotlin | 0 | 0 | 432a7fa176da555dc21d91264a4524a5e73a4d70 | 7,923 | DigitalWhiteboard | MIT License |
image/src/main/java/com/smarttoolfactory/image/transform/MorphLayout.kt | T8RIN | 478,710,402 | false | null | package com.smarttoolfactory.image.transform
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.padding
import androidx.compose.runtime.*
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.c... | 14 | Kotlin | 47 | 568 | bf80cfe6bc19e7d2cd163b060b5231fafa1bdd74 | 5,953 | ImageToolbox | Apache License 2.0 |
core/usecases/src/main/kotlin/location/listAllLocations/LocationItem.kt | Soyle-Productions | 239,407,827 | false | null | package com.soyle.stories.usecase.location.listAllLocations
import com.soyle.stories.domain.location.Location
class LocationItem(
val id: Location.Id,
val locationName: String
) | 45 | Kotlin | 0 | 9 | 1a110536865250dcd8d29270d003315062f2b032 | 183 | soyle-stories | Apache License 2.0 |
src/main/kotlin/com/madrapps/dagger/actions/CollapseAllAction.kt | Madrapps | 245,758,107 | false | null | package com.madrapps.dagger.actions
import com.intellij.openapi.actionSystem.AnAction
import com.intellij.openapi.actionSystem.AnActionEvent
import com.intellij.util.ui.tree.TreeUtil
import com.madrapps.dagger.services.service
class CollapseAllAction : AnAction() {
companion object {
const val ID = "com.... | 13 | Kotlin | 7 | 27 | e75ebab16eb85139d55b4d31f04021938671a384 | 950 | dagger-plugin | Apache License 2.0 |
app/src/main/java/com/example/sunnyweather/android/logic/Repository/PlaceRepository.kt | zeroxzp111 | 785,563,668 | false | {"Kotlin": 27946} | package com.example.sunnyweather.android.logic.Repository
import androidx.lifecycle.LiveData
import androidx.lifecycle.liveData
import com.example.sunnyweather.android.SunnyWeatherApplication
import com.example.sunnyweather.android.logic.dao.PlaceDao
import com.example.sunnyweather.android.logic.database.AppDatabase
i... | 0 | Kotlin | 0 | 0 | 30593376bf7c740ac1f84c7e7ffefcae3dfe7705 | 1,118 | SunnyWeather | Apache License 2.0 |
src/main/kotlin/csense/idea/base/bll/psiWrapper/class/operations/filter/NonRelated.kt | csense-oss | 226,373,994 | false | {"Kotlin": 148126} | @file:Suppress("unused")
package csense.idea.base.bll.psiWrapper.`class`.operations.filter
import csense.idea.base.bll.psiWrapper.`class`.*
import csense.idea.base.bll.psiWrapper.`class`.operations.`is`.*
//TODO java and kotlin "common hierachies" not handled correctly in JVM case (where "Exception" != Exception & ... | 0 | Kotlin | 0 | 0 | 8a31fff3774261bedc4caec23ba817ed9a335bca | 576 | idea-kotlin-shared-base | MIT License |
app/src/debug/kotlin/io/plastique/inject/modules/DebugInitializerModule.kt | plastiqueapp | 150,879,887 | false | null | package io.plastique.inject.modules
import dagger.Binds
import dagger.Module
import dagger.Provides
import dagger.multibindings.IntoSet
import io.plastique.core.init.FlipperInitializer
import io.plastique.core.init.Initializer
import timber.log.Timber
@Module(includes = [InitializerModule::class])
abstract class Debu... | 0 | Kotlin | 2 | 9 | 9271853f3741add18822858cbad9d4f8e8104f54 | 576 | plastique | Apache License 2.0 |
src/main/kotlin/io/zeko/db/sql/Insert.kt | darkredz | 253,306,508 | false | null | package io.zeko.db.sql
import io.zeko.db.sql.utilities.toSnakeCase
import io.zeko.model.Entity
open class Insert : DataManipulation {
protected var duplicateUpdateFields: Map<String, Any?>? = null
protected var ignore = false
protected var select: Query? = null
protected var insertFields: List<String>... | 2 | Kotlin | 6 | 89 | a70f6d207d77048f690d0d728e22091fe152dda8 | 3,721 | Zeko-SQL-Builder | Apache License 2.0 |
SS-W-Core/src/main/kotlin/com/github/syari/ss/wplugins/core/scheduler/CreateScheduler.kt | SecondStoryServer | 314,996,172 | false | null | package com.github.syari.ss.wplugins.core.scheduler
import com.github.syari.ss.wplugins.core.Main.Companion.plugin
import net.md_5.bungee.api.plugin.Plugin
object CreateScheduler {
/**
* @param action 実行する処理
* @return [CustomRunnable]
*/
fun Plugin.schedule(
action: CustomTask.() -> Uni... | 25 | Kotlin | 1 | 2 | 9af898e4eef290b8a2e4c0f75e3f99afb0b19e57 | 2,338 | SS-Plugins | Apache License 2.0 |
src/main/kotlin/modules/m4storage/ItemStorage.kt | glehu | 384,708,417 | false | null | package modules.m4storage
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
data class ItemStorage(
@SerialName("n") val number: Long,
@SerialName("d") val description: String = "",
@SerialName("l") var locked: Boolean = false
) {
@SerialName("su")
var storageUn... | 6 | Kotlin | 1 | 0 | f05e2e92d316f552bde9d5a382b26fb52a2e6184 | 374 | CWO_ERP | MIT License |
app/src/main/java/com/pchasapis/cryptocurrency/network/client/Deserializer.kt | pandelisgreen13 | 197,902,982 | false | null | package com.pchasapis.cryptocurrency.network.client
import androidx.annotation.Nullable
import com.google.gson.*
import com.pchasapis.cryptocurrency.models.parsers.crypto.timeFrame.TimeFrameResponse
import java.lang.reflect.Type
import com.google.gson.JsonElement
import com.pchasapis.cryptocurrency.models.parsers.cryp... | 0 | Kotlin | 0 | 0 | 21ba7a6b31223e55f5bfe6c2e865437ef7921937 | 2,300 | CryptoCurrencies | MIT License |
protoc-gen-pbandk/lib/src/jvmMain/kotlin/pbandk/gen/BootstrapConverter.kt | streem | 202,946,849 | false | {"Kotlin": 3831371, "Shell": 1992, "Go": 698} | package pbandk.gen
import com.google.protobuf.DescriptorProtos
import com.google.protobuf.compiler.PluginProtos
import pbandk.ByteArr
import pbandk.gen.pb.CodeGeneratorRequest
import pbandk.gen.pb.CodeGeneratorResponse
import pbandk.gen.pb.Version
import pbandk.wkt.*
// Simple conversion between JVM protos and Kotlin... | 42 | Kotlin | 38 | 264 | 90938ee880f744ef120cb749e8ffe6aa20ec7f81 | 14,095 | pbandk | MIT License |
app/src/main/java/info/juanmendez/breedgallery/ui/breedlist/adapter/BreedListAdapter.kt | juanmendez | 121,443,075 | false | null | package info.juanmendez.breedgallery.ui.breedlist.adapter
import android.arch.lifecycle.Lifecycle
import android.arch.lifecycle.LifecycleObserver
import android.arch.lifecycle.OnLifecycleEvent
import android.databinding.Observable
import android.databinding.Observable.OnPropertyChangedCallback
import android.support.v... | 0 | Kotlin | 0 | 1 | bb108ca4648466c66eebc437884388f9875dc9f7 | 2,139 | PetGallery | The Unlicense |
Music Wiki/MusicWiki/app/src/main/java/com/adityamshidlyali/musicwiki/viewmodel/ArtistInfoViewModel.kt | AdityaShidlyali | 591,732,762 | false | null | package com.adityamshidlyali.musicwiki.viewmodel
import android.util.Log
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.adityamshidlyali.musicwiki.model.artistmodel.ArtistInfo
import com.adityamshidlyali.musicwiki.network.Resource
import com.adityamshidlyali.musicwiki.repositor... | 0 | Kotlin | 0 | 0 | 8170c323fec9c628249b3b85999666a15bc415fa | 2,345 | MusicWiki_Assessment | MIT License |
infra/src/fanpoll/infra/redis/ktorio/utils/Deferred.kt | csieflyman | 359,559,498 | false | {"Kotlin": 785294, "JavaScript": 17435, "HTML": 6167, "PLpgSQL": 5563, "Dockerfile": 126} | package fanpoll.infra.redis.ktorio.utils
import kotlinx.coroutines.CompletableDeferred
/**
* Use [block] to complete [deferred], also handles [block] exceptions
*/
inline fun <T> completeWith(deferred: CompletableDeferred<T>, block: () -> T) {
try {
deferred.complete(block())
} catch (cause: Throwab... | 1 | Kotlin | 9 | 74 | 1a7d54115dbc42c6a02230f527d9ad56862b4a0b | 380 | multi-projects-architecture-with-Ktor | MIT License |
app/src/main/java/com/example/islamiapp/Adapters/SingleHadithAdapter.kt | Ahmed-Ssalem | 408,444,696 | false | null | package com.example.islamiapp.Adapters
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import androidx.recyclerview.widget.RecyclerView
import com.example.islamiapp.R
class SingleHadithAdapter(var items: List<String>) : RecyclerView.Adapter<Sing... | 0 | Kotlin | 0 | 1 | 0fd7d080d25ca5802a2f12f1b05acc46e3b805d7 | 1,028 | IslamiApp | Apache License 2.0 |
components/notification/impl/src/main/java/com/flipperdevices/notification/viewmodel/NotificationDialogViewModel.kt | flipperdevices | 288,258,832 | false | {"Kotlin": 2884316, "FreeMarker": 10352, "CMake": 1780, "C++": 1152, "Fluent": 21} | package com.flipperdevices.notification.viewmodel
import androidx.datastore.core.DataStore
import androidx.lifecycle.viewModelScope
import com.flipperdevices.core.di.provideDelegate
import com.flipperdevices.core.preference.pb.Settings
import com.flipperdevices.core.ui.lifecycle.DecomposeViewModel
import com.flipperde... | 14 | Kotlin | 142 | 1,198 | 07b4174d50e3189d688f0e12ada04bda41322953 | 1,946 | Flipper-Android-App | MIT License |
app/src/main/java/com/pratiksha/tmdbclient/di/UseCaseModule.kt | pratiksha2404 | 448,978,588 | false | null | package com.pratiksha.tmdbclient.di
import com.pratiksha.tmdbclient.data.MovieRepository
import com.pratiksha.tmdbclient.domain.SearchMovieUseCase
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent
import javax.inject.Singleton
@Module
@InstallIn(... | 0 | Kotlin | 0 | 0 | adeef3f27e9b65e0258f746f6927057d16c3a910 | 537 | TMDb-Client | Apache License 2.0 |
ChartboostMediation/src/test/java/com/chartboost/chartboostmediationsdk/network/CBMNetworking_getAppConfig_Test.kt | ChartBoost | 647,839,758 | false | {"Kotlin": 711726, "Ruby": 2509} | /*
* Copyright 2023-2024 Chartboost, Inc.
*
* Use of this source code is governed by an MIT-style
* license that can be found in the LICENSE file.
*/
package com.chartboost.chartboostmediationsdk.network
import com.chartboost.chartboostmediationsdk.domain.AppConfig
import com.chartboost.chartboostmediationsdk.ne... | 0 | Kotlin | 0 | 0 | 18948613638191a0639eb264ec6e39f3d37bf722 | 9,672 | chartboost-mediation-android-sdk | MIT License |
app/src/main/java/io/android/todarch/ui/todo/TodoListAdapter.kt | todarch | 152,471,665 | false | null | /*
* Copyright 2018 Todarch
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... | 0 | Kotlin | 0 | 3 | 34e25e9cf457379e5cb0c8e6e7793d249767b2a1 | 2,220 | todarch-android | Apache License 2.0 |
app/src/main/java/com/example/androidarchitecturesample/ui/promoted/PromotedDataSource.kt | arononak | 236,748,515 | false | null | package com.example.androidarchitecturesample.ui.promoted
import android.util.Log
import androidx.paging.PageKeyedDataSource
import com.example.androidarchitecturesample.data.api.WykopApi
import com.example.androidarchitecturesample.data.model.Promoted
import kotlinx.coroutines.*
class PromotedDataSource(private val ... | 0 | Kotlin | 0 | 0 | 55612801bf8d37559b0c01aaa3a56348b7178779 | 1,919 | AndroidArchitectureSample | Apache License 2.0 |
app/src/main/java/com/shane/helloworld/CLog.kt | shanearcaro | 522,006,059 | false | null | package com.shane.helloworld
import android.util.Log
fun CLog(description: String, tag: String = "[DEBUG]") {
Log.d(tag, description)
} | 0 | Kotlin | 0 | 0 | 75ac90a20875038270e63fec339d7814215fbbf2 | 141 | BMICalculator | MIT License |
android/src/main/java/com/bitmovin/player/reactnative/extensions/ReactContextExtension.kt | bitmovin | 491,901,703 | false | {"TypeScript": 218192, "Swift": 175610, "Kotlin": 166930, "Objective-C": 19252, "Java": 16077, "Objective-C++": 9517, "C++": 6969, "Ruby": 4736, "JavaScript": 1959, "Makefile": 1527, "Shell": 279} | package com.bitmovin.player.reactnative.extensions
import com.facebook.react.bridge.ReactContext
import com.facebook.react.bridge.ReactContextBaseJavaModule
inline fun <reified T : ReactContextBaseJavaModule> ReactContext.getModule(): T? {
return getNativeModule(T::class.java)
}
| 15 | TypeScript | 10 | 31 | 75a40c43382b2b09003a7804fe95e97e4a3fe16f | 286 | bitmovin-player-react-native | MIT License |
app/src/main/java/com/kleinreveche/playground/features/tictactoe/engine/WinPosition.kt | KleinReveche | 537,970,451 | false | {"Kotlin": 293106} | package com.kleinreveche.playground.features.tictactoe.engine
sealed class WinPosition(val places: List<Int>) {
object H1 : WinPosition(listOf(0, 1, 2))
object H2 : WinPosition(listOf(3, 4, 5))
object H3 : WinPosition(listOf(6, 7, 8))
object V1 : WinPosition(listOf(0, 3, 6))
object V2 : WinPositio... | 0 | Kotlin | 0 | 0 | 062c3257ef1a434ed5b11ec947104908467e9f7f | 477 | Playground | Apache License 2.0 |
src/main/kotlin/com/ort/firewolf/domain/model/myself/participant/VillageCreatorSituation.kt | h-orito | 282,923,189 | false | null | package com.ort.firewolf.domain.model.myself.participant
data class VillageCreatorSituation(
val availableCreatorSetting: Boolean,
val availableCreatorSay: Boolean,
val availableCancelVillage: Boolean,
val availableKick: Boolean,
val availableModifySetting: Boolean,
val availableExtendEpilogue:... | 0 | Kotlin | 0 | 0 | c2a7f651bb89285eafdb4967d84b8354b12748c0 | 331 | firewolf-api | MIT License |
src/main/kotlin/com/deflatedpickle/bugmagic/api/common/util/extension/EntityAITaskEntry.kt | DeflatedPickle | 141,510,202 | false | null | /* Copyright (c) 2020 DeflatedPickle under the MIT license */
package com.deflatedpickle.bugmagic.api.common.util.extension
import com.deflatedpickle.bugmagic.api.common.util.AITaskString
import net.minecraft.entity.ai.EntityAITasks
fun EntityAITasks.EntityAITaskEntry.toTaskString(): AITaskString = AITaskString(this... | 18 | Kotlin | 1 | 3 | 1781740bb23631aee8daef0806441182c387044e | 376 | BugMagic | MIT License |
feature/main/src/main/java/com/example/main/MainNavigator.kt | jin5578 | 859,358,191 | false | {"Kotlin": 362176} | package com.example.main
import androidx.compose.runtime.Composable
import androidx.compose.runtime.remember
import androidx.navigation.NavDestination
import androidx.navigation.NavDestination.Companion.hasRoute
import androidx.navigation.NavHostController
import androidx.navigation.compose.currentBackStackEntryAsStat... | 0 | Kotlin | 0 | 0 | ee73d941ad2a7f7fe1ef6ce0b2c9e92f232eeed2 | 2,150 | Todo | Apache License 2.0 |
app/src/main/java/com/example/truflag/Constants.kt | rohitvermaaa | 743,136,444 | false | {"Kotlin": 31050} | package com.example.truflag
object Constants {
const val USER_NAME : String = "user_name"
const val TOTAL_QUESTION : String = "total_question"
const val CORRECT_ANSWER : String = "correct_answers"
fun getQuestion(): ArrayList<Question> {
val questionList = ArrayList<Question>()
val q... | 0 | Kotlin | 0 | 0 | d537ffe7d0eca7dd5d3a974a90f58602d6decbc9 | 21,790 | TruFlag | MIT License |
app/src/main/java/com/cscorner/universe/model/UGYearModel.kt | Rithvik086 | 844,103,649 | false | {"Kotlin": 24188} | package com.cscorner.universe.model
data class UGYearModel(
val img:Int ,
val name:String = ""
)
| 0 | Kotlin | 0 | 0 | 93b3aecf4be94aede01af175506e9a27b5d6ad7d | 106 | UniVerse | MIT License |
src/main/kotlin/poxah/blizzard/auth/model/AuthToken.kt | Krumbl | 448,423,505 | false | null | package poxah.blizzard.auth.model
data class AuthToken (
val access_token: String,
val token_type: String,
val expires_in: Number,
val sub: String,
)
| 0 | Kotlin | 0 | 0 | e8ae9b8bab6d10d6362fa200a0c91c8d50e56bbd | 168 | poxah | Apache License 2.0 |
features/search/src/test/java/com/fappslab/features/search/data/repository/SearchRepositoryImplIntegrationTest.kt | F4bioo | 708,171,476 | false | {"Kotlin": 210868} | package com.fappslab.features.search.data.repository
import androidx.paging.PagingConfig
import app.cash.turbine.test
import com.fappslab.features.search.data.source.remote.SearchRemoteDataSourceImpl
import com.fappslab.features.search.domain.repository.SearchRepository
import com.fappslab.libraries.arch.testing.rules... | 0 | Kotlin | 0 | 1 | 3506b09c7b6b522899486fa45ba9686b404780f2 | 1,442 | TMDBCompose | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.