path stringlengths 4 280 | owner stringlengths 2 39 | repo_id int64 21.1k 879M | is_fork bool 2
classes | languages_distribution stringlengths 13 1.95k ⌀ | content stringlengths 7 482k | issues int64 0 13.9k | main_language stringclasses 121
values | forks stringlengths 1 5 | stars int64 0 111k | commit_sha stringlengths 40 40 | size int64 7 482k | name stringlengths 1 100 | license stringclasses 93
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
app/src/main/java/com/masrofy/filterDate/MonthlyDateFilter.kt | salmanA169 | 589,714,976 | false | null | package com.masrofy.filterDate
import com.masrofy.component.TransactionEntry
import com.masrofy.data.entity.TransactionEntity
import com.masrofy.screens.mainScreen.DateEvent
import com.masrofy.utils.isEqualCurrentMonth
import java.time.LocalDateTime
class MonthlyDateFilter(private var transactionList: List<Transactio... | 2 | Kotlin | 0 | 9 | fb671fc1e2c628fb467bca9d3109799b3e1d43f2 | 1,000 | masrofy | Apache License 2.0 |
invirt-http4k/src/main/kotlin/invirt/http4k/views/validation.kt | resoluteworks | 762,239,437 | false | {"Kotlin": 254183, "Makefile": 686, "CSS": 8} | package invirt.http4k.views
import invirt.http4k.AppRequestContexts
import io.validk.ValidationErrors
import org.http4k.core.Request
import org.http4k.core.Response
import org.http4k.core.Status
import org.http4k.lens.RequestContextKey
/**
* Used strictly to provide these errors within the context of a macro
*/
int... | 0 | Kotlin | 0 | 0 | bc6ae015214d8c1ed613dcb4ff68df1dd7c40137 | 881 | invirt | Apache License 2.0 |
android-client/app/src/main/java/com/abnormallydriven/paginglibrarytestdrive/common/StringDiffCallback.kt | abnormallydriven | 104,147,040 | false | null | package com.abnormallydriven.paginglibrarytestdrive.common
import android.support.v7.util.DiffUtil
import javax.inject.Inject
import javax.inject.Singleton
@Singleton
class StringDiffCallback @Inject constructor() : DiffUtil.ItemCallback<String>() {
override fun areItemsTheSame(oldItem: String, newItem: String): ... | 1 | Kotlin | 0 | 3 | 4f9685d188bca48acff525a33b0123e6d8fb1b69 | 673 | paging-library-testdrive | MIT License |
.teamcity/apm/agents/python/ApmAgentPythonVersionProject.kt | kuisathaverat | 301,424,179 | false | null | // Licensed to Elasticsearch B.V. under one or more contributor
// license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright
// ownership. Elasticsearch B.V. licenses this file to you under
// the Apache License, Version 2.0 (the "License"); you may
// not use ... | 0 | Kotlin | 0 | 0 | 138bcc0dc99966c35dd722dae6341ee454bee2b9 | 1,411 | teamCity-oblty | Apache License 2.0 |
Projects/Test/app/src/main/java/ademar/study/test/view/detail/DetailItemFragment.kt | ademar111190 | 76,153,266 | false | null | package ademar.study.test.view.detail
import ademar.study.test.R
import ademar.study.test.injection.GlideApp
import ademar.study.test.navigation.ARG_IMAGE
import ademar.study.test.navigation.ARG_TITLE
import android.os.Bundle
import android.support.v4.app.Fragment
import android.view.LayoutInflater
import android.view... | 0 | Kotlin | 1 | 1 | 65466ea1c6e4f75ae9791826a428c7dd8e101f98 | 1,265 | Studies | MIT License |
codeApp/app/src/main/java/com/farma/poc/core/utils/components/CustomBottomNavigationV2.kt | lsbloo | 461,255,704 | false | null | package com.farma.poc.core.utils.components
import androidx.compose.material.BottomNavigation
import androidx.compose.material.BottomNavigationItem
import androidx.compose.material.Icon
import androidx.compose.material.Text
import androidx.compose.runtime.Composable
import androidx.compose.runtime.getValue
import andr... | 0 | Kotlin | 0 | 0 | cb171cde213cf16d2134d31567550b860e2fe646 | 3,152 | FarmaApp | MIT License |
speecher/src/main/kotlin/speecher/generator/bank/MovieBankPresenter.kt | sentinelweb | 228,927,082 | false | null | package speecher.generator.bank
import io.reactivex.Completable
import io.reactivex.Scheduler
import io.reactivex.Single
import io.reactivex.disposables.CompositeDisposable
import io.reactivex.schedulers.Schedulers
import org.koin.core.context.KoinContextHandler.get
import org.koin.core.qualifier.named
import speecher... | 14 | Kotlin | 0 | 0 | 623fd9f4d860b61dfc5b5dfbc5a8f536d978d9f6 | 7,879 | processink | Apache License 2.0 |
app/src/main/java/br/com/victorchabelman/movierankings/repository/MovieDataRepository.kt | vgchabelman | 210,710,962 | false | null | package br.com.victorchabelman.movierankings.repository
import br.com.victorchabelman.movierankings.model.GenreListContainer
import br.com.victorchabelman.movierankings.model.MovieDetail
import br.com.victorchabelman.movierankings.model.MovieListContainer
import br.com.victorchabelman.movierankings.remote.TmdbService
... | 0 | Kotlin | 0 | 0 | 1c1e48cfd303e646431a487d8e4d8f101c192618 | 1,319 | movie-rankings-android | MIT License |
app/src/main/java/com/bigcake/jetpackweather/data/mapper/WeatherMapper.kt | qqcake | 518,841,170 | false | {"Kotlin": 28128} | package com.bigcake.jetpackweather.data.mapper
import com.bigcake.jetpackweather.data.model.WeatherDto
import com.bigcake.jetpackweather.domain.model.Weather
fun WeatherDto.toDomain(): Weather {
val primaryWeather = weather[0]
return Weather(
temperature = main.temp.toInt(),
minTemperature = m... | 0 | Kotlin | 0 | 0 | 8c73a46d3b66982e20ef8f9f794dd7d49a0a0d9d | 596 | JetpackWeather | Apache License 2.0 |
backend/src/com/nosmurf/backend/Constants.kt | Dallanosm | 186,379,238 | false | null | package com.nosmurf.backend
const val DEFAULT_LONG = 0L
const val MULTICINES_CACERES_MOVIES = "http://www.multicinescaceres.com/cines/5/cartelera"
const val MULTICINES_CACERES_MOVIE_DETAIL = "http://www.multicinescaceres.com/peliculas/detail/{id}?cines=[5]"
| 0 | Kotlin | 0 | 2 | 185d8482c8440f7b421c9d48b06f2140bedde6be | 260 | TFM-MulticinesCc-MPP | Apache License 2.0 |
core/src/commonMain/kotlin/com/lhwdev/model/ModelValue.kt | lhwdev | 344,445,376 | false | null | package com.lhwdev.model
interface ModelValue {
val modelInfo: StructuredModelInfo<*>
fun readModel(index: Int, to: ModelWriter)
fun writeModel(index: Int, from: ModelReader)
}
| 0 | Kotlin | 0 | 1 | 29a8ed2ff773b02d95b274dcc41d5eebb7932051 | 186 | Model | MIT License |
data/seasondetails/implementation/src/commonMain/kotlin/com/thomaskioko/tvmaniac/seasondetails/implementation/DefaultSeasonDetailsRepository.kt | thomaskioko | 361,393,353 | false | {"Kotlin": 606309, "Swift": 124778} | package com.thomaskioko.tvmaniac.seasondetails.implementation
import com.thomaskioko.tvmaniac.core.base.model.AppCoroutineDispatchers
import com.thomaskioko.tvmaniac.core.db.Season_images
import com.thomaskioko.tvmaniac.core.networkutil.mapResult
import com.thomaskioko.tvmaniac.core.networkutil.model.Either
import com... | 10 | Kotlin | 24 | 217 | 90d74c48f6d6016c0081363eca2271fe5591b692 | 2,264 | tv-maniac | Apache License 2.0 |
src/main/kotlin/net/backupcup/stainedlenses/items/PouchItem.kt | BackupCup | 854,876,791 | false | {"Kotlin": 88116, "Java": 72325, "GLSL": 611} | package net.backupcup.stainedlenses.items
import net.backupcup.stainedlenses.mixin.client.KeybindingAccessor
import net.backupcup.stainedlenses.screens.pouchScreen.PouchScreenHandler
import net.backupcup.stainedlenses.utils.TextWrapUtils
import net.minecraft.client.MinecraftClient
import net.minecraft.client.item.Tool... | 1 | Kotlin | 0 | 0 | 035503eb655d71b7abd54dd9b2e484740c4df767 | 2,903 | stained-lenses | Creative Commons Zero v1.0 Universal |
android/app/src/main/java/com/algorand/android/ui/register/watch/RegisterWatchAccountFragment.kt | AllanMangeni | 412,352,101 | false | null | /*
* Copyright 2019 Algorand, Inc.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writing, s... | 1 | null | 0 | 1 | d47f08026fa797ea6474622ce5d1990666a241e9 | 5,032 | algorand-wallet | Apache License 2.0 |
app/shared/cloud-store/impl/src/jvmMain/kotlin/build/wallet/cloud/store/CloudKeyValueStoreImpl.kt | proto-at-block | 761,306,853 | false | {"C": 10552166, "Kotlin": 7152523, "Rust": 2007040, "Swift": 689522, "Python": 330440, "HCL": 261238, "Shell": 108449, "TypeScript": 90654, "C++": 64770, "Meson": 64252, "JavaScript": 36227, "Just": 28064, "Ruby": 9428, "Dockerfile": 5731, "Makefile": 3839, "Open Policy Agent": 1456, "Procfile": 80} | @file:OptIn(ExperimentalSettingsApi::class)
package build.wallet.cloud.store
import build.wallet.store.KeyValueStoreFactory
import build.wallet.store.putStringWithResult
import com.github.michaelbull.result.Ok
import com.github.michaelbull.result.Result
import com.russhwolf.settings.ExperimentalSettingsApi
actual cl... | 0 | C | 9 | 91 | 4c1a339513bbe790ff846d7c8417ea09fe1babb3 | 1,312 | bitkey | MIT License |
sessionize/lib/src/commonMain/kotlin/co/touchlab/sessionize/platform/Coroutines.kt | csdodd | 153,432,006 | true | {"Kotlin": 117809, "Swift": 51856, "Objective-C": 537, "Ruby": 274} | package co.touchlab.sessionize.platform
//import kotlinx.coroutines.experimental.CoroutineDispatcher
//
//internal expect val ApplicationDispatcher: CoroutineDispatcher
//internal expect val MainDispatcher: CoroutineDispatcher | 0 | Kotlin | 0 | 0 | b9a82ebdc911b5d562aa9f0a6b625bc1581bcb0f | 227 | DroidconKotlin | Apache License 2.0 |
intellijPlugin/src/main/kotlin/pw/binom/sceneEditor/struct/Utils.kt | caffeine-mgn | 223,796,620 | false | null | package pw.binom.sceneEditor.struct
import mogot.Node
import mogot.asUpSequence
import javax.swing.tree.TreePath
fun Node.makeTreePath(): TreePath {
val bb = this.asUpSequence().filter { it.parent != null }.toList().reversed() + this
return TreePath(bb.toTypedArray())
}
fun TreePath.next(obj: Any): TreePath ... | 6 | Kotlin | 0 | 4 | e673acfcb20e2d62d8e68c43d395731bd9d9d882 | 427 | mogot | Apache License 2.0 |
RefactoringToDesignPatterns/Introduction/RefactoringToDesignPatternsIntroduction/src/main/kotlin/jetbrains/refactoring/course/patterns/Main.kt | TPdkr | 775,511,974 | false | {"Kotlin": 31421, "JavaScript": 6046, "HTML": 4930} | package RefactoringToDesignPatterns.Introduction.RefactoringToDesignPatternsIntroduction.src.main.kotlin.jetbrains.refactoring.course.patterns
fun main() {
// Write your code here
} | 0 | Kotlin | 0 | 0 | 38b23c3d230ba33770055f44e74d90c946a48fb0 | 190 | CSC_Kotlin_Course_Part3 | MIT License |
app/src/main/java/im/dacer/kata/ui/base/BaseTransparentActivity.kt | dacer | 116,826,861 | false | null | package im.dacer.kata.ui.base
import android.os.Bundle
import me.imid.swipebacklayout.lib.app.SwipeBackActivityHelper
abstract class BaseTransparentActivity : BaseActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
transparentNav()
}
} | 0 | Kotlin | 1 | 12 | c4baa74e5baf4715e369253550ddc2f49dcd51b9 | 312 | Kata | MIT License |
app/src/main/java/com/multithread/cocoon/di/module/UseCaseModule.kt | amircoder | 313,373,806 | false | null | package com.multithread.cocoon.di.module
import androidx.annotation.NonNull
import com.multithread.cocoon.base.TopStoriesParam
import com.multithread.cocoon.base.domain.GeneralUseCase
import com.multithread.cocoon.base.repository.StrategyFlowRepository
import com.multithread.cocoon.di.scope.PerApplication
import com.m... | 0 | Kotlin | 0 | 2 | 6da12d05dc1fd776978fc6434b7683ae2b1c2f81 | 885 | FlowCleanMVVM | MIT License |
lib/src/main/java/com/mobilabsolutions/stash/core/exceptions/base/BasePaymentException.kt | mobilabsolutions | 152,575,999 | false | null | /*
* Copyright © MobiLab Solutions GmbH
*/
package com.mobilabsolutions.stash.core.exceptions.base
/**
* @author <a href="<EMAIL>">Ugi</a>
*/
abstract class BasePaymentException(
override val message: String = NO_PROVIDER_MESSAGE,
open val errorTitle: String?,
open val code: Int? = null,
open val ... | 1 | Kotlin | 1 | 2 | 9a1a5b978e7edc0a29b3360e4018eb9aabb9b27a | 522 | stash-sdk-android | Apache License 2.0 |
app/src/main/java/com/muvi/view/favourite/FavouriteFragment.kt | ezralazuardy | 210,104,940 | false | null | /*
* Created by Ezra Lazuardy on 10/14/19 9:55 AM
* Copyright (c) 2019 . All rights reserved.
* Last modified 10/14/19 9:54 AM
*/
package com.muvi.view.favourite
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment... | 0 | Kotlin | 0 | 2 | 59a4b017246faddf8912fb0d93eb429c78f57115 | 4,638 | muvi | MIT License |
src/main/kotlin/com/dwolla/resource/documents/Documents.kt | ehaughee | 211,646,404 | true | {"Kotlin": 48035} | package com.dwolla.resource.documents
import com.dwolla.resource.HalResource
import com.dwolla.resource.Links
data class Documents(
@JvmField val _links: Links,
@JvmField val _embedded: EmbeddedDocuments,
@JvmField val total: Int
) : HalResource(_links)
| 0 | null | 0 | 0 | 3dedb15ba4004a1c71ccd514ab6f244e3a3266ac | 268 | dwolla-v2-kotlin | MIT License |
lib_animator/src/main/kotlin/com/abiao/animator/MyAnimateState.kt | yudengwei | 818,541,459 | false | {"Kotlin": 310654} | package com.abiao.animator
import androidx.compose.animation.animateColorAsState
import androidx.compose.animation.core.AnimationVector2D
import androidx.compose.animation.core.AnimationVector3D
import androidx.compose.animation.core.AnimationVector4D
import androidx.compose.animation.core.TwoWayConverter
import andro... | 0 | Kotlin | 0 | 0 | 283dedc4b1005c72730c63efb8218730a6348535 | 5,912 | composedemo | Apache License 2.0 |
feature/search/src/main/java/little/goose/search/schedule/SearchScheduleScreen.kt | MReP1 | 525,822,587 | false | null | package little.goose.search.schedule
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.padding
import androidx.compose.material3.Scaffold
import androidx.compose.material3.Snackbar
import androidx.compose.material3.SnackbarHost
import androidx.compose.material3.SnackbarHos... | 0 | null | 24 | 70 | 403b2ca631e30b3884a28cdb85bba5b7a758ca3d | 5,083 | LittleGooseOffice | MIT License |
src/main/kotlin/domain/models/InstalledGame.kt | boolean-false | 809,920,499 | false | {"Kotlin": 84532} | package domain.models
import utils.SystemInfo
data class InstalledGame(
val name: String,
val version: String,
val systemInfo: SystemInfo,
val executable: String,
) | 0 | Kotlin | 0 | 1 | 8bf1ca636f3e641d6ebc0ab2367c067af1ea558b | 182 | VLauncher | MIT License |
src/main/kotlin/domain/models/InstalledGame.kt | boolean-false | 809,920,499 | false | {"Kotlin": 84532} | package domain.models
import utils.SystemInfo
data class InstalledGame(
val name: String,
val version: String,
val systemInfo: SystemInfo,
val executable: String,
) | 0 | Kotlin | 0 | 1 | 8bf1ca636f3e641d6ebc0ab2367c067af1ea558b | 182 | VLauncher | MIT License |
day14/src/test/kotlin/com/lillicoder/adventofcode2023/day14/Day14Test.kt | lillicoder | 731,776,788 | false | {"Kotlin": 101541} | package com.lillicoder.adventofcode2023.day14
import com.lillicoder.adventofcode2023.grids.GridParser
import kotlin.test.Test
import kotlin.test.assertEquals
internal class Day14Test {
private val input =
"""O....#....
|O.OO#....#
|.....##...
|OO.#O....O
|.O....... | 0 | Kotlin | 0 | 0 | 3882465a9c643ddf78de35599b1f1dafabf97a31 | 839 | advent-of-code-2023 | Apache License 2.0 |
solar/src/main/java/com/chiksmedina/solar/outline/electronicdevices/Devices.kt | CMFerrer | 689,442,321 | false | {"Kotlin": 36591890} | package com.chiksmedina.solar.outline.electronicdevices
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin... | 0 | Kotlin | 0 | 0 | 3414a20650d644afac2581ad87a8525971222678 | 7,559 | SolarIconSetAndroid | MIT License |
app/src/main/java/com/example/pokeglass/adapters/TeamAdapter.kt | gerardocipriano | 632,883,516 | false | null | package com.example.pokeglass.adapters
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.Button
import android.widget.ImageView
import android.widget.TextView
import androidx.recyclerview.widget.RecyclerView
import com.example.pokeglass.R
import com.example... | 0 | Kotlin | 0 | 0 | db041a000a22971ead6e82484cc150803c40c0e8 | 2,098 | pokeglass-android-app | MIT License |
app/src/main/java/com/example/android/marvelicious/data/source/database/MarveliciousCharacterBoundaryCallback.kt | 4ools | 265,084,703 | false | null | package com.example.android.marvelicious.data.source.database
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.paging.PagedList
import com.example.android.marvelicious.data.NetworkState
import com.example.android.marvelicious.data.source.MarvelDataSource
import com.example.a... | 4 | Kotlin | 0 | 0 | a199a919f5e16c40656eea0977d1e1192aa8ca2a | 2,035 | Marvelicious | Apache License 2.0 |
src/main/kotlin/dev/kotx/kdaw/entity/Updatable.kt | Kotlin-chan | 372,284,234 | false | null | package dev.kotx.kdaw.entity
import kotlinx.serialization.json.*
interface Updatable : Entity {
fun update(data: JsonObject)
} | 0 | Kotlin | 1 | 0 | b5ef1f3a747795e990d53afef1cffeab7e330d49 | 132 | kdaw | Apache License 2.0 |
magellan-sample-migration/src/androidTest/java/com/wealthfront/magellan/uitest/NavigationTest.kt | wealthfront | 82,854,849 | false | {"Kotlin": 298547, "Java": 36056} | package com.wealthfront.magellan.uitest
import androidx.test.core.app.ActivityScenario
import androidx.test.core.app.launchActivity
import androidx.test.espresso.Espresso.onView
import androidx.test.espresso.action.ViewActions.click
import androidx.test.espresso.assertion.ViewAssertions.matches
import androidx.test.es... | 38 | Kotlin | 65 | 681 | 9d57a039c06a64940741500751c0e992e3061595 | 954 | magellan | Apache License 2.0 |
app/src/main/java/com/innovara/autoseers/api/home/AlertsApi.kt | Autoseer-Org | 821,653,056 | false | {"Kotlin": 182782} | package com.innovara.autoseers.api.home
import retrofit2.Call
import retrofit2.http.Body
import retrofit2.http.POST
interface AlertsApi {
@POST("/alerts")
fun fetchAlerts(@Body alertsRequest: AlertsRequest): Call<AlertsResponse>
@POST("/bookAppointment")
fun bookAppointment(@Body appointmentBookingRe... | 0 | Kotlin | 0 | 2 | c30f7bc6cbb00c42da853aad28ea9fbaacaf1ad1 | 674 | autoseers | Apache License 2.0 |
engine/src/test/kotlin/rs/dusk/engine/entity/definition/ContainerDefinitionsTest.kt | Palmfeldt | 673,267,966 | true | {"Kotlin": 1529507} | package rs.dusk.engine.entity.definition
import io.mockk.mockk
import org.junit.jupiter.api.BeforeEach
import rs.dusk.cache.config.data.ContainerDefinition
import rs.dusk.cache.config.decoder.ContainerDecoder
import rs.dusk.engine.TimedLoader
import rs.dusk.engine.data.file.FileLoader
import rs.dusk.engine.entity.char... | 0 | Kotlin | 0 | 0 | 0b3a4fe8eb9f2e2e29f8834d028fd3edf038cd2f | 1,526 | NostalgiaScape | Creative Commons Attribution 3.0 Unported |
buildSrc/src/main/java/com.chrynan.imagery.buildSrc/LibraryConstants.kt | chRyNaN | 360,355,779 | false | null | package com.chrynan.imagery.buildSrc
object LibraryConstants {
const val bintrayRepo = "chrynan"
const val group = "com.chrynan.imagery"
const val owner = "chrynan"
const val repoName = "imagery"
const val versionName = "0.1.2"
const val versionCode = 3
const val versionDescription = "Rele... | 0 | Kotlin | 0 | 0 | 725399a0f3eba57c653912728dc6554fcb45f326 | 581 | imagery | Apache License 2.0 |
shared/src/commonMain/kotlin/dev/sasikanth/rss/reader/favicons/FavIconFetcher.kt | msasikanth | 632,826,313 | false | {"Kotlin": 858776, "Swift": 8517, "JavaScript": 3432, "CSS": 947, "Shell": 227} | /*
* Copyright 2024 Sasikanth Miriyampalli
*
* 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... | 35 | Kotlin | 72 | 1,713 | e7b3f1057d8295e1d83a041df68aec7bfefcd6e8 | 9,473 | twine | Apache License 2.0 |
app/src/main/java/com/testwther/source/remote/data/result/Result.kt | Pawlo210286 | 274,120,293 | false | null | package com.testwther.source.remote.data.result
sealed class Result<T> {
class Success<T>(
val data: T
) : Result<T>()
class Error<T>(
val error: Exception
) : Result<T>()
} | 0 | Kotlin | 0 | 0 | a8e2c2a7eb2ce6fc8e9f4d2d6218229de7d2dc24 | 207 | testWther | MIT License |
forge/src/main/kotlin/mcpc/tedo0627/kzeaddon/forge/screen/setting/InvisibleSettingScreen.kt | tedo0627 | 253,405,043 | false | null | package mcpc.tedo0627.kzeaddon.forge.screen.setting
import com.mojang.blaze3d.vertex.PoseStack
import mcpc.tedo0627.kzeaddon.forge.option.AddonOptions
import net.minecraft.client.Minecraft
import net.minecraft.client.gui.components.Button
import net.minecraft.client.gui.screens.Screen
import net.minecraft.network.chat... | 0 | Kotlin | 0 | 8 | b75a8c5347931cfe65bce8200784646beef74f4d | 1,456 | KZEAddon | MIT License |
forge/src/main/kotlin/mcpc/tedo0627/kzeaddon/forge/screen/setting/InvisibleSettingScreen.kt | tedo0627 | 253,405,043 | false | null | package mcpc.tedo0627.kzeaddon.forge.screen.setting
import com.mojang.blaze3d.vertex.PoseStack
import mcpc.tedo0627.kzeaddon.forge.option.AddonOptions
import net.minecraft.client.Minecraft
import net.minecraft.client.gui.components.Button
import net.minecraft.client.gui.screens.Screen
import net.minecraft.network.chat... | 0 | Kotlin | 0 | 8 | b75a8c5347931cfe65bce8200784646beef74f4d | 1,456 | KZEAddon | MIT License |
app/src/main/java/com/github/eprendre/adapterwrapper/demo/DiffCallback.kt | eprendre | 90,548,366 | false | null | package com.github.eprendre.adapterwrapper.demo
import android.support.v7.util.DiffUtil
class DiffCallback<out T> constructor(val oldList: List<T>, val newList: List<T>) : DiffUtil.Callback() {
override fun getNewListSize() = newList.size
override fun getOldListSize() = oldList.size
override fun areContentsT... | 0 | Kotlin | 0 | 0 | 381111322331fa228063fe424a52e37a916cec0b | 607 | AdapterWrapper | Apache License 2.0 |
ui/src/main/java/com/gallery/ui/internal/ImageLoader.kt | sieunju | 536,096,662 | false | {"Kotlin": 419953} | package com.gallery.ui.internal
import android.annotation.SuppressLint
import android.graphics.Bitmap
import androidx.collection.LruCache
import com.gallery.ui.internal.core.GalleryProvider
import com.gallery.ui.model.PhotoPicker
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.withContext
/**
* Descr... | 0 | Kotlin | 2 | 5 | d928947ccc57b13abb4a19aa4d2f1e979886a910 | 1,614 | gallery | MIT License |
app/src/main/java/com/sebastijanzindl/galore/navigation/graph/NavGraph.kt | m1thrandir225 | 743,270,603 | false | {"Kotlin": 162916} | package com.sebastijanzindl.galore.navigation.graph
sealed class NavGraph(val route: String) {
data object Auth: NavGraph("auth");
data object Onboarding: NavGraph("onboarding");
data object Main: NavGraph("main");
data object Splash: NavGraph("loading")
data object Settings: NavGraph("settings")
} | 1 | Kotlin | 0 | 0 | c99edcdf9f7dd64a4e185a9b821565e4d42660ba | 320 | galore-android | MIT License |
dsl/src/main/kotlin/com/faendir/awscdkkt/generated/services/greengrass/CfnCoreDefinitionPropsDsl.kt | F43nd1r | 643,016,506 | false | null | package com.faendir.awscdkkt.generated.services.greengrass
import com.faendir.awscdkkt.AwsCdkDsl
import javax.`annotation`.Generated
import kotlin.Unit
import software.amazon.awscdk.services.greengrass.CfnCoreDefinitionProps
@Generated
public fun buildCfnCoreDefinitionProps(initializer: @AwsCdkDsl
CfnCoreDefiniti... | 1 | Kotlin | 0 | 0 | e08d201715c6bd4914fdc443682badc2ccc74bea | 438 | aws-cdk-kt | Apache License 2.0 |
app/src/main/java/co/garmax/materialflashlight/utils/PostExecutionThread.kt | garmax1 | 58,829,238 | false | {"Kotlin": 65102} | package co.garmax.materialflashlight.utils
import io.reactivex.Scheduler
interface PostExecutionThread {
val scheduler: Scheduler
} | 1 | Kotlin | 5 | 23 | 4f18a74351043d47f742f869c03322ab189cdbc3 | 137 | material-flashlight | Apache License 2.0 |
app/src/main/java/com/binarybricks/coiny/adapterdelegates/LabelCoinAdapterDelegate.kt | gbsendhil | 167,099,572 | true | {"Kotlin": 330638} | package com.binarybricks.coiny.adapterdelegates
import android.support.v7.widget.RecyclerView
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import com.binarybricks.coiny.components.LabelModule
import com.binarybricks.coiny.components.ModuleItem
import com.hannesdorfmann.adap... | 0 | Kotlin | 0 | 1 | 376cf3d16ac217569c61ab372e03f353a6a0d911 | 1,573 | Coiny | Apache License 2.0 |
app/src/main/java/com/tomclaw/drawa/play/PlayActivity.kt | solkin | 62,579,229 | false | {"Kotlin": 201724, "Java": 39209} | package com.tomclaw.drawa.play
import android.content.Context
import android.content.Intent
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.tomclaw.drawa.R
import com.tomclaw.drawa.main.getComponent
import com.tomclaw.drawa.play.di.PlayModule
import com.tomclaw.drawa.share.createSha... | 1 | Kotlin | 6 | 22 | 131f0ef2a9ea88854f18ecef2250d5396da225e2 | 1,955 | drawa-android | Apache License 2.0 |
cupertino-icons-extended/src/commonMain/kotlin/io/github/alexzhirkevich/cupertino/icons/filled/Megaphone.kt | alexzhirkevich | 636,411,288 | false | {"Kotlin": 5215549, "Ruby": 2329, "Swift": 2101, "HTML": 2071, "Shell": 868} | /*
* Copyright (c) 2023-2024. Compose Cupertino project and open source contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE... | 18 | Kotlin | 31 | 848 | 54bfbb58f6b36248c5947de343567903298ee308 | 3,698 | compose-cupertino | Apache License 2.0 |
composeApp/src/commonMain/kotlin/core/presentation/theme/OMTheme.kt | IkuzItsuki | 808,480,037 | false | {"Kotlin": 126454, "Swift": 673} | package io.ikutsu.osumusic.core.presentation.theme
import androidx.compose.material3.LocalContentColor
import androidx.compose.runtime.Composable
import androidx.compose.runtime.CompositionLocalProvider
import androidx.compose.ui.graphics.Color
@Composable
fun OMTheme(
content: @Composable () -> Unit
) {
Comp... | 0 | Kotlin | 0 | 4 | 5dcc87d460e6697e994859b94025574f12698729 | 422 | OsuMusic | MIT License |
FredBoat/src/main/java/fredboat/event/GuildEventHandler.kt | freyacodes | 53,135,203 | false | null | package fredboat.event
import fredboat.audio.player.PlayerRegistry
import fredboat.command.info.HelloCommand
import fredboat.db.api.GuildDataService
import fredboat.feature.metrics.Metrics
import fredboat.sentinel.Guild
import fredboat.sentinel.TextChannel
import org.springframework.stereotype.Component
import reactor... | 93 | null | 238 | 499 | 580238acdbb1def34014141bd3e69ec07f961ae8 | 2,133 | archived-bot | MIT License |
ktfx-commons/src/test/kotlin/ktfx/ObservableValueTest.kt | hanggrian | 102,934,147 | false | {"Kotlin": 1146536, "CSS": 1653} | package ktfx
import ktfx.time.m
import kotlin.test.Test
import kotlin.test.assertEquals
import kotlin.test.assertFalse
import kotlin.test.assertNull
import kotlin.test.assertTrue
class ObservableValueTest {
private val objectProperty = propertyOf<javafx.util.Duration>()
private var object2 by objectProperty
... | 1 | Kotlin | 2 | 19 | 6e5ec9fedf8359423c31a2ba64cd175bc9864cd2 | 2,084 | ktfx | Apache License 2.0 |
business/src/main/kotlin/com/isystk/sample/domain/dto/UserCriteria.kt | isystk | 328,037,305 | false | {"Kotlin": 462354, "TypeScript": 88591, "HTML": 77276, "SCSS": 24557, "FreeMarker": 21801, "JavaScript": 5293, "Shell": 3607, "Dockerfile": 1581, "CSS": 942} | package com.isystk.sample.domain.dto;
import java.time.LocalDateTime;
/**
* ユーザ
*
* 自動生成のため原則修正禁止!!
*
*/
class UserCriteria {
var idEq: Long? = null
var idNe: Long? = null
var idLt: Long? = null
var idLe: Long? = null
var idGt: Long? = null
var idGe: Long? = null
var idIsNull: Boole... | 0 | Kotlin | 0 | 2 | 2e4e0c62af22c05403e5d3452ba08eb09c05a7f1 | 5,755 | kotlin-springboot-boilerplate | MIT License |
capabilities/src/main/kotlin/com/apoorvgupta/capabilities/network/rest/data/newsshots/NewsShots.kt | apoorvgupta25 | 797,378,079 | false | {"Kotlin": 192498} | package com.apoorvgupta.capabilities.network.rest.data.newsshots
import com.apoorvgupta.capabilities.network.rest.data.categories.Category
import com.apoorvgupta.capabilities.util.DateUtils.getDateFormatted
import com.apoorvgupta.core.utils.getValueOrEmpty
import com.google.gson.annotations.SerializedName
data class ... | 0 | Kotlin | 0 | 0 | 9855046d046c2251763b4b311366c104d7746208 | 948 | news-shots-android-app | The Unlicense |
compose/ui-layout-custom/src/commonMain/kotlin/com/bselzer/ktx/compose/ui/layout/drawer/modal/ModalDrawerInteractor.kt | Woody230 | 388,189,330 | false | {"Kotlin": 3122765} | package com.bselzer.ktx.compose.ui.layout.drawer.modal
import androidx.compose.material.DrawerState
import androidx.compose.material.DrawerValue
import androidx.compose.runtime.Composable
import androidx.compose.runtime.CompositionLocalProvider
import androidx.compose.runtime.Stable
import androidx.compose.runtime.sav... | 2 | Kotlin | 0 | 7 | 5ad55d66bbb58a12bf3a8b436ea1ea4d8e9737bc | 1,989 | KotlinExtensions | Apache License 2.0 |
visionforge-threejs/src/jsMain/kotlin/space/kscience/visionforge/solid/three/ThreeLabelFactory.kt | SciProgCentre | 174,502,624 | false | {"Kotlin": 968491, "CSS": 913} | package space.kscience.visionforge.solid.three
import js.core.jso
import space.kscience.dataforge.context.logger
import space.kscience.dataforge.context.warn
import space.kscience.visionforge.onPropertyChange
import space.kscience.visionforge.solid.SolidLabel
import three.core.Object3D
import three.geometries.TextBuf... | 15 | Kotlin | 6 | 34 | 8e5503f0d8480b9f879a32885f66c3ae0f163b10 | 1,186 | visionforge | Apache License 2.0 |
src/main/kotlin/com/github/jackfffffff/pgyerhelper/services/MyProjectService.kt | JackFFFFFFF | 542,426,662 | false | {"Kotlin": 7235} | package com.github.jackfffffff.pgyerhelper.services
import com.intellij.openapi.project.Project
import com.github.jackfffffff.pgyerhelper.MyBundle
class MyProjectService(project: Project) {
init {
println(MyBundle.message("projectService", project.name))
System.getenv("CI")
?: TODO("... | 0 | Kotlin | 0 | 0 | 0caedd3f9ba63c7cd56122d5a6b312c00130eb0e | 449 | PgyerHelper | Apache License 2.0 |
app/src/main/java/com/example/composelayouts/Layouts.kt | 1to0harshil | 767,496,800 | false | {"Kotlin": 43448} | package com.example.composelayouts
import androidx.compose.foundation.Image
import androidx.compose.foundation.background
import androidx.compose.foundation.border
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.shape.RoundedCornerShape
import... | 0 | Kotlin | 0 | 1 | ea96120bcd27949e515b4239cc37c1fb70d8bb28 | 4,415 | Jetpack-Compose-Playground-Chatbot-Staggered-List-Navigator-Basic- | MIT License |
src/test/kotlin/entity/zone/ZoneTest.kt | SmartOperatingBlock | 602,467,135 | false | null | /*
* Copyright (c) 2023. Smart Operating Block
*
* Use of this source code is governed by an MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT.
*/
package entity.zone
import io.kotest.assertions.throwables.shouldThrow
import io.kotest.core.spec.style.StringSpe... | 1 | Kotlin | 0 | 1 | 610ebd9dd89b48ba68a310c3bcddd58bb407fab5 | 1,545 | building-management-microservice | MIT License |
solar/src/main/java/com/chiksmedina/solar/outline/money/MoneyBag.kt | CMFerrer | 689,442,321 | false | {"Kotlin": 36591890} | package com.chiksmedina.solar.outline.money
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.M... | 0 | Kotlin | 0 | 0 | 3414a20650d644afac2581ad87a8525971222678 | 7,411 | SolarIconSetAndroid | MIT License |
app/src/main/java/com/sharkaboi/mediahub/common/constants/AppConstants.kt | 1999FordFocus | 379,613,392 | true | {"Kotlin": 432335} | package com.sharkaboi.mediahub.common.constants
class AppConstants {
companion object {
const val githubLink = "https://github.com/Sharkaboi/MediaHub"
const val githubUsername = "Sharkaboi"
const val githubRepoName = "MediaHub"
const val description = "Simple unofficial MyAnimeList ... | 0 | null | 0 | 0 | 5200b21912d2816ac6d992f95ce4e206971590e4 | 395 | MediaHub | MIT License |
src/Day25.kt | Flame239 | 570,094,570 | false | {"Kotlin": 60685} | private fun nums(): List<String> {
return readInput("Day25")
}
val snafuDigit = mapOf(
'2' to 2,
'1' to 1,
'0' to 0,
'-' to -1,
'=' to -2
)
private fun snafu2Dec(n: String): Long {
var base = 1L
var res = 0L
n.reversed().forEach { c ->
res += base * snafuDigit[c]!!
... | 0 | Kotlin | 0 | 0 | 27f3133e4cd24b33767e18777187f09e1ed3c214 | 810 | advent-of-code-2022 | Apache License 2.0 |
src/main/kotlin/net/inherency/finances/domain/budget/category/BudgetCategoryData.kt | scottygaydos | 278,980,273 | false | {"Kotlin": 199344, "HTML": 2360, "JavaScript": 1723} | package net.inherency.finances.domain.budget.category
data class BudgetCategoryData (
val id: Int,
val name: String,
val description: String,
val moveBudgetForwardDestinationCategoryId: Int
) | 2 | Kotlin | 0 | 0 | 825dd8a5e36ce88b45aa3585871faee8734ae750 | 224 | finance_budget_and_reconciler | Apache License 2.0 |
spesialist-modell/src/test/kotlin/no/nav/helse/modell/vilkårsprøving/AvviksvurderingTest.kt | navikt | 244,907,980 | false | {"Kotlin": 2923910, "PLpgSQL": 29687, "HTML": 1741, "Dockerfile": 258} | package no.nav.helse.modell.vilkårsprøving
import no.nav.helse.modell.januar
import org.junit.jupiter.api.Assertions.assertEquals
import org.junit.jupiter.api.Test
import java.time.LocalDateTime
import java.time.YearMonth
import java.util.UUID
internal class AvviksvurderingTest {
@Test
fun `avviksvurdering to... | 1 | Kotlin | 2 | 0 | 1d4fe45f0c8fa9d0605d6628e5e85af520d7d933 | 4,812 | helse-spesialist | MIT License |
geary-papermc-bridge/src/main/kotlin/com/mineinabyss/geary/papermc/bridge/targetselectors/NearbyEntities.kt | MineInAbyss | 592,086,123 | false | {"Kotlin": 183055} | package com.mineinabyss.geary.papermc.bridge.targetselectors
import com.mineinabyss.geary.annotations.optin.UnsafeAccessors
import com.mineinabyss.geary.papermc.tracking.entities.toGearyOrNull
import com.mineinabyss.geary.systems.GearyListener
import com.mineinabyss.geary.systems.accessors.Pointers
import com.mineinab... | 2 | Kotlin | 0 | 1 | 66fc37d02e23164618a2f731fa66e6d70ddbbbcf | 1,239 | geary-papermc | MIT License |
app/src/main/java/com/mi/googleassitantsample/TripsType.kt | Mindinventory | 364,884,556 | false | null | package com.mi.googleassitantsample
enum class TripsType(val value: String) {
ONGOING_TRIPS(DeepLink.ONGOING_TRIPS_PATH),
COMPLETED_TRIPS(DeepLink.COMPLETED_TRIPS_PATH),
UPCOMING_TRIPS(DeepLink.UPCOMING_TRIPS_PATH);
companion object {
fun find(type: String?): TripsType {
return va... | 0 | Kotlin | 2 | 6 | 169385fe06e3d680b7e93c951d0e51e03ac0dd4c | 437 | GoogleAssistantAppActionSample | MIT License |
airback-web/src/main/java/com/airback/module/project/ui/format/ProjectFieldFormatter.kt | mng222n | 246,276,311 | false | null | package com.airback.module.project.ui.format
import com.airback.common.i18n.GenericI18Enum
import com.airback.module.project.i18n.ProjectI18nEnum
import com.airback.vaadin.ui.formatter.FieldGroupFormatter
/**
* @author airback Ltd
* @since 7.0.0
*/
class ProjectFieldFormatter private constructor() : FieldGroupForm... | 9 | null | 1 | 1 | 782b1ac49b343d8c497d3dae5be3eb812d151772 | 1,476 | airback | MIT License |
impl/mastodon/src/main/kotlin/dev/usbharu/multim/mastodon/model/components/FilterResult.kt | multim-dev | 591,652,793 | false | null | package dev.usbharu.multim.mastodon.model.components
import kotlinx.serialization.Serializable
@Serializable
class FilterResult(
val filter: Filter,
val keywordMatches: List<String>?,
val statusMatches: String?
)
| 8 | Kotlin | 0 | 7 | daad2d142ae6fa7414acdb6704832a4d477dc41f | 227 | multim | Apache License 2.0 |
app/src/main/java/com/stone/templateapp/module/StoneNodeSelectActivity.kt | xiaqu-stone | 141,563,896 | false | {"Gradle": 6, "Java Properties": 2, "Text": 1, "Ignore List": 2, "Markdown": 1, "Proguard": 1, "Kotlin": 59, "XML": 39, "Java": 7, "AIDL": 3} | package com.stone.templateapp.module
import android.os.Bundle
import android.support.v7.app.AppCompatActivity
import com.stone.log.Logs
import com.stone.templateapp.R
import kotlinx.android.synthetic.main.activity_stone_node_select.*
import org.jetbrains.anko.toast
class StoneNodeSelectActivity : AppCompatActivity() ... | 0 | Kotlin | 0 | 0 | c3bb65611d93aecea776adb8a2a95606b154d7f7 | 729 | StoneDemo | Apache License 2.0 |
common/sdk/settings/impl/src/androidMain/kotlin/io/chefbook/sdk/settings/impl/data/sources/local/LocalSettingsDataSourceImpl.kt | mephistolie | 379,951,682 | false | {"Kotlin": 1334117, "Ruby": 16819, "Swift": 352} | package io.chefbook.sdk.settings.impl.data.sources.local
import android.content.Context
import androidx.datastore.core.DataStoreFactory
import androidx.datastore.dataStoreFile
import io.chefbook.libs.models.language.Language
import io.chefbook.libs.models.language.LanguageMapper
import io.chefbook.sdk.settings.api.ext... | 0 | Kotlin | 0 | 12 | ddaf82ee3142f30aee8920d226a8f07873cdcffe | 3,165 | chefbook-mobile | Apache License 2.0 |
movie/src/commonTest/kotlin/com/watched/movie/data/factory/MovieDetailsUiModelFactory.kt | heitorcolangelo | 261,010,590 | false | null | package com.watched.movie.data.factory
import com.watched.common.test.MockFactory
import com.watched.movie.ui.model.MovieDetailsUiModel
import com.watched.presentation.common.model.FormattedDateUiModel
import com.watched.presentation.media.ui.model.MediaImageUiModel
object MovieDetailsUiModelFactory : MockFactory<Mov... | 0 | Kotlin | 0 | 0 | 884c639a7ef3bbe614391e006fa3b419b32a5d5f | 723 | Watched | Apache License 2.0 |
app/src/main/java/com/jeeny/task/ui/map/adapter/CustomInfoWindowAdapter.kt | mehrozafzal | 295,525,419 | false | {"Gradle": 3, "Java Properties": 4, "Shell": 1, "Text": 2, "Ignore List": 2, "Batchfile": 1, "Proguard": 1, "Kotlin": 51, "XML": 29, "JSON": 1, "Java": 1} | package com.jeeny.task.ui.map.adapter
import android.content.Context
import android.view.LayoutInflater
import android.view.View
import android.widget.TextView
import com.google.android.gms.maps.GoogleMap.InfoWindowAdapter
import com.google.android.gms.maps.model.Marker
import com.jeeny.task.R
class CustomInfoWindow... | 1 | null | 1 | 1 | b4887ffb452ae5dca11a7f631a3d3b4dcc34f90f | 1,224 | JeenyTask | MIT License |
lib/src/test/kotlin/com/lemonappdev/konsist/api/ext/sequence/kodeclaration/KoDeclarationForModifierSequenceExtTest.kt | LemonAppDev | 621,181,534 | false | null | package com.lemonappdev.konsist.api.ext.sequence.kodeclaration
import com.lemonappdev.konsist.api.KoModifier.OPEN
import com.lemonappdev.konsist.api.KoModifier.PROTECTED
import com.lemonappdev.konsist.api.ext.sequence.withModifiers
import com.lemonappdev.konsist.api.ext.sequence.withSomeModifiers
import com.lemonappde... | 9 | Kotlin | 0 | 5 | 2c029ca448d24acad1cc0473e69b78130be86193 | 4,033 | konsist | Apache License 2.0 |
myblog-kt/src/main/kotlin/com/site/blog/model/entity/AdminUser.kt | yzqdev | 394,679,800 | false | {"Kotlin": 453510, "Java": 239310, "Vue": 114812, "HTML": 47519, "TypeScript": 29771, "Go": 22465, "Less": 8160, "JavaScript": 7120, "CSS": 4588, "SCSS": 979} | package com.site.blog.model.entity
import com.baomidou.mybatisplus.annotation.IdType
import com.baomidou.mybatisplus.annotation.TableField
import com.baomidou.mybatisplus.annotation.TableId
import com.baomidou.mybatisplus.extension.activerecord.Model
import java.io.Serial
import java.io.Serializable
/**
*
*
* 后台管理... | 0 | Kotlin | 2 | 4 | 7f367dbe7883722bf1d650504265254d5224f69b | 1,018 | mild-blog | MIT License |
app/src/main/java/com/example/weather/room/LocationDao.kt | Shanki070 | 474,218,776 | false | null | package com.example.weather.room
import androidx.lifecycle.LiveData
import androidx.room.Dao
import androidx.room.Insert
import androidx.room.OnConflictStrategy
import androidx.room.Query
@Dao
interface LocationDao {
@Insert(onConflict = OnConflictStrategy.REPLACE)
suspend fun insertLocation(location: Locati... | 0 | Kotlin | 0 | 0 | e9bdd02d2cc2fe1b1e46a36d966ff6dfd82c7ee2 | 507 | WeatherApp | Apache License 2.0 |
app/src/main/java/cz/palda97/lpclient/viewmodel/settings/NightModeInstance.kt | Palda97 | 280,530,029 | false | null | package cz.palda97.lpclient.viewmodel.settings
import androidx.appcompat.app.AppCompatDelegate
/**
* Enum representing a night mode settings.
*/
enum class NightModeEnum(val nightMode: Int) {
NIGHT(AppCompatDelegate.MODE_NIGHT_YES),
DAY(AppCompatDelegate.MODE_NIGHT_NO),
SYSTEM(AppCompatDelegate.MODE_NIG... | 0 | Kotlin | 0 | 0 | e2e1c188a21dac4cd78d9242633dc094ba50ef64 | 1,872 | LinkedPipesAndroidClient | MIT License |
src/main/kotlin/cn/gionrose/facered/genshinDrawcard2/internal/manager/ScreenManagerImpl.kt | 13022631363 | 701,322,305 | false | {"Kotlin": 87456} | package cn.gionrose.facered.genshinDrawcard2.internal.manager
import cn.gionrose.facered.genshinDrawcard2.GenshinDrawcard2
import cn.gionrose.facered.genshinDrawcard2.api.card.Card
import cn.gionrose.facered.genshinDrawcard2.api.card.CardPool
import cn.gionrose.facered.genshinDrawcard2.api.card.Screen
import cn.gionro... | 0 | Kotlin | 0 | 0 | cff9698e9b38e1b93ce304d94d1cb3a4c947aa42 | 7,618 | GenshinDrawcard2 | Apache License 2.0 |
xpicker/src/main/java/cn/cheney/xpicker/view/FolderListPop.kt | wangshuwen1107 | 264,126,091 | false | {"Kotlin": 148767, "Java": 68715} | package cn.cheney.xpicker.view
import android.content.Context
import android.content.res.Resources
import android.graphics.Rect
import android.os.Build
import android.view.LayoutInflater
import android.view.View
import android.view.animation.Animation
import android.view.animation.Animation.AnimationListener
import an... | 0 | Kotlin | 0 | 9 | b89f6124d500a859183feb0c02426fcf87ea55d1 | 3,064 | XPicker | Apache License 2.0 |
plugins/kotlin/base/fe10/code-insight/src/org/jetbrains/kotlin/idea/base/fe10/codeInsight/tooling/Fe10GenericTestIconProvider.kt | ingokegel | 72,937,917 | false | null | // Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package org.jetbrains.kotlin.idea.base.fe10.codeInsight.tooling
import org.jetbrains.kotlin.base.fe10.analysis.classId
import org.jetbrains.kotlin.descriptors.*
import org.jetbrains.kotlin.idea.base... | 1 | null | 1 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 2,217 | intellij-community | Apache License 2.0 |
base-feature/src/test/java/eu/krzdabrowski/currencyadder/basefeature/domain/RefreshExchangeRatesUseCaseTest.kt | krzdabrowski | 591,082,023 | false | null | package eu.krzdabrowski.currencyadder.basefeature.domain
import eu.krzdabrowski.currencyadder.basefeature.domain.repository.ExchangeRatesRepository
import eu.krzdabrowski.currencyadder.basefeature.domain.usecase.RefreshExchangeRatesUseCase
import eu.krzdabrowski.currencyadder.basefeature.domain.usecase.refreshExchange... | 0 | Kotlin | 0 | 1 | e98030ac66ba0ebb544b22b55c4d6e69feef7ef3 | 2,442 | android-currency-adder | MIT License |
android/buildSrc.bak/src/main/kotlin/org/elastos/tools/crosspl/gradleplugin/CrossPLPlugin.kt | klx99 | 173,244,099 | false | {"C++": 74375, "Swift": 53622, "Kotlin": 52756, "Objective-C++": 12858, "Java": 4452, "Objective-C": 1071, "CMake": 742, "Shell": 567} | package org.elastos.tools.crosspl.gradleplugin
import com.android.build.gradle.BaseExtension
import org.gradle.api.Plugin
import org.gradle.api.Project
import org.gradle.kotlin.dsl.extra
import java.io.File
class CrossPLPlugin : Plugin<Project> {
override fun apply(project: Project): Unit = project.run {
... | 0 | C++ | 0 | 0 | a5f7241ce03aef2403ef0fc409297bcab6b1e069 | 3,075 | CrossPL | MIT License |
src/main/kotlin/io/rsocket/cli/client.kt | rsocket | 58,966,770 | false | {"Kotlin": 23567, "Shell": 1496, "Java": 295} | package io.rsocket.cli
import com.baulsupp.schoutput.UsageException
import io.ktor.client.engine.*
import io.ktor.client.engine.okhttp.*
import io.rsocket.kotlin.RSocket
import io.rsocket.kotlin.core.RSocketConnector
import io.rsocket.kotlin.core.RSocketConnectorBuilder
import io.rsocket.kotlin.transport.ktor.tcp.TcpC... | 4 | Kotlin | 23 | 70 | 9cd4656a8c4204b0ea871ac967353c06df53e1fc | 1,311 | rsocket-cli | Apache License 2.0 |
src/test/kotlin/com/github/mikesafonov/jira/telegram/generators/EventGen.kt | MikeSafonov | 169,953,901 | false | null | package com.github.mikesafonov.jira.telegram.generators
import com.github.mikesafonov.jira.telegram.dto.*
import io.kotest.property.Arb
import io.kotest.property.arbitrary.enum
import io.kotest.property.arbitrary.long
import io.kotest.property.arbitrary.next
class EventGen {
companion object {
fun gener... | 14 | Kotlin | 5 | 13 | 864c9a4cd25e1ece99c7940befad6bc478cf3e49 | 1,204 | jira-telegram-bot | MIT License |
app/src/main/java/ar/com/wolox/android/cookbook/coroutines/football/networking/responses/MatchesResponse.kt | Wolox | 151,121,373 | false | {"Kotlin": 366039, "Python": 14314, "Shell": 1335, "Ruby": 171} | package ar.com.wolox.android.cookbook.coroutines.football.networking.responses
import ar.com.wolox.android.cookbook.coroutines.football.model.Match
class MatchesResponse(val matches: List<Match>)
| 3 | Kotlin | 11 | 9 | 2954e7cf59a22a2e987a61c9722273ee13cf821d | 198 | wolmo-cookbook-android | MIT License |
src/main/kotlin/se/kodverket/collage/layoutsolver/ImageNode.kt | masse | 822,080,629 | false | {"Kotlin": 71245} | package se.kodverket.collage.layoutsolver
import kotlin.math.hypot
import kotlin.math.max
import kotlin.math.min
import kotlin.math.roundToInt
/**
* Represents an image node in a layout tree. The image nodes are always leaf nodes in the layout tree.
*
* An `ImageNode` contains information about an image, including... | 1 | Kotlin | 0 | 1 | 98bac3c82444f2230c5e2f39c1211546e6e10b63 | 4,481 | collage-solver | MIT License |
feed/src/main/java/com/beraldo/devfestnineteen/feed/ui/FeedResourceStatusDelegate.kt | beraldofilippo | 222,756,435 | false | null | package com.beraldo.devfestnineteen.feed.ui
import com.beraldo.devfestnineteen.feed.presentation.model.FeedArticle
import com.beraldo.devfestnineteen.feed.presentation.model.resource.Resource
import com.beraldo.devfestnineteen.feed.presentation.model.resource.ResourceStatusDelegate
internal class FeedResourceStatusDe... | 0 | Kotlin | 0 | 2 | d395404213d5f203011c2fe9600f32d90d780519 | 950 | devfestnineteen | MIT License |
cli/quickfaas-deployment/src/main/kotlin/controller/Main.kt | Pexers | 759,418,357 | false | {"Kotlin": 233178, "Java": 69783, "Shell": 17846, "Batchfile": 16122, "JavaScript": 144} | /*
* Copyright © 9/15/2022, Pexers (https://github.com/Pexers)
*/
package controller
import controller.General.logMessage
import kotlinx.coroutines.runBlocking
import kotlinx.serialization.SerializationException
import kotlinx.serialization.decodeFromString
import kotlinx.serialization.json.Json
import model.Deploy... | 0 | Kotlin | 0 | 0 | fddc0aad940659db5e732d043c752f2b58b7be3a | 3,932 | quickfaas | Apache License 2.0 |
packages/SystemUI/tests/src/com/android/systemui/keyguard/domain/interactor/KeyguardTransitionScenariosTest.kt | liu-wanshun | 595,904,109 | true | null | /*
* Copyright (C) 2022 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 | Java | 1 | 2 | e99201cd9b6a123b16c30cce427a2dc31bb2f501 | 8,150 | platform_frameworks_base | Apache License 2.0 |
app/src/main/java/com/starry/greenstash/MainViewModel.kt | Pool-Of-Tears | 500,278,038 | false | null | /**
* MIT License
*
* Copyright (c) [2022 - Present] <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, co... | 5 | Kotlin | 24 | 234 | ecddfbd405dd444db081ea7be092ca3fb410084c | 2,764 | GreenStash | MIT License |
compiler/src/main/kotlin/io/github/thelimepixel/bento/typing/THIR.kt | TheLimePixel | 717,454,767 | false | {"Kotlin": 43672} | package io.github.thelimepixel.bento.typing
import io.github.thelimepixel.bento.binding.BuiltinRefs
import io.github.thelimepixel.bento.binding.ItemPath
import io.github.thelimepixel.bento.binding.ItemRef
import io.github.thelimepixel.bento.parsing.ASTRef
import io.github.thelimepixel.bento.utils.CodeTree
import io.gi... | 0 | Kotlin | 0 | 0 | 9f506f2c0114c6213accc1468b32279db5f66afa | 1,732 | bento | MIT License |
app/src/main/java/com/singularity/ipcaplus/chat/CreateDirectChatActivity.kt | DiogoAntunesOliveira | 420,277,496 | false | {"Kotlin": 288875, "JavaScript": 42028, "HTML": 29226, "CSS": 6623, "Processing": 1981} | package com.singularity.ipcaplus.chat
import android.content.ContentValues
import android.content.Intent
import android.net.Uri
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.provider.Settings
import android.util.Log
import android.view.Menu
import android.view.MenuInflater
imp... | 0 | Kotlin | 1 | 5 | 0f2d68b73654d7b2a820ce6da04812e8477672b5 | 5,284 | ipca_plus | MIT License |
app/src/main/java/com/androidapp/navweiandroidv2/presentation/locationdetails/offerstab/offerdetail/OfferDetailPageState.kt | serifenuruysal | 239,270,875 | false | {"Kotlin": 410694, "Java": 337878, "Shell": 731, "Batchfile": 633} | package com.androidapp.navweiandroidv2.presentation.locationdetails.offerstab.offerdetail
import com.androidapp.entity.models.Locations
import com.androidapp.entity.models.Voucher
/**
* Created by <NAME> on 2019-10-23.
*/
sealed class OfferDetailPageState {
abstract val loadedAllItems: Boolean
abstract val... | 0 | Kotlin | 0 | 1 | 2547885c8349302617e219077a3ea0a8c4041601 | 1,182 | Navwei-Android-App | MIT License |
app/src/main/java/io/golos/golos/repository/services/GolosServicesSocketHandler.kt | GolosChain | 113,424,334 | false | null | package io.golos.golos.repository.services
import android.support.annotation.WorkerThread
import com.fasterxml.jackson.annotation.JsonIgnore
import com.fasterxml.jackson.annotation.JsonProperty
import com.fasterxml.jackson.databind.ObjectMapper
import com.fasterxml.jackson.module.kotlin.readValue
import eu.bittrade.li... | 53 | Kotlin | 0 | 0 | 8203f422dc7e5d5b0b2c41dafd539c225f1a4de1 | 6,846 | golos-android | MIT License |
core/src/main/kotlin/com/github/prologdb/runtime/builtin/ISOOpsOperatorRegistry.kt | prologdb | 107,794,018 | false | null | @file:JvmMultifileClass
@file:JvmName("ISOOpsOperatorRegistry")
package com.github.prologdb.runtime.builtin
import com.github.prologdb.runtime.util.DefaultOperatorRegistry
import com.github.prologdb.runtime.util.OperatorDefinition
import com.github.prologdb.runtime.util.OperatorRegistrationTarget
import com.github.pro... | 15 | Kotlin | 0 | 2 | e675375437ed22144ed14b06639dd0a9835c4e67 | 3,787 | runtime | MIT License |
src/main/kotlin/dev/nikomaru/minestamp/listener/LoginEvent.kt | Nlkomaru | 648,538,114 | false | {"Kotlin": 56451} | package dev.nikomaru.minestamp.listener
import dev.nikomaru.minestamp.player.AbstractPlayerStampManager
import org.bukkit.event.EventHandler
import org.bukkit.event.Listener
import org.bukkit.event.player.PlayerLoginEvent
import org.koin.core.component.KoinComponent
import org.koin.core.component.get
class LoginEvent... | 5 | Kotlin | 0 | 1 | e1bfa8a1e01d661758b20ab381777fb167610ce4 | 589 | MineStamp | Creative Commons Zero v1.0 Universal |
main/src/main/java/com/proxer/easydo/main/ui/component/DrawerMenu.kt | binkos | 405,064,940 | false | {"Kotlin": 41409} | package com.proxer.easydo.main.ui.component
import androidx.annotation.DrawableRes
import androidx.annotation.StringRes
import androidx.compose.foundation.BorderStroke
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.shape.CircleShape
import a... | 0 | Kotlin | 0 | 0 | 2508089e15254123f470cd23a98c91b3509a10bc | 3,013 | easy-do | Apache License 2.0 |
src/integrationTest/kotlin/org/jetbrains/intellij/platform/gradle/ThrowingExceptionsIntegrationTest.kt | JetBrains | 33,932,778 | false | {"Kotlin": 687376, "Java": 4898} | // Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package org.jetbrains.intellij.platform.gradle
import kotlin.test.Test
class ThrowingExceptionsIntegrationTest : IntelliJPlatformIntegrationTestBase(
resourceName = "throwing-exceptions",
) {
... | 87 | Kotlin | 268 | 1,374 | 61e59254b0b301f90ef22403179bf6e83e2c71ec | 692 | intellij-platform-gradle-plugin | Apache License 2.0 |
app/src/main/java/com/composetemplate/core/pagination/dao/ResourceDao.kt | rafi4204 | 567,796,241 | false | null | package com.composetemplate.core.pagination.dao
import androidx.paging.PagingSource
import androidx.room.Dao
import androidx.room.Insert
import androidx.room.OnConflictStrategy
import androidx.room.Query
import com.composetemplate.core.pagination.model.Resource
@Dao
interface ResourceDao {
@Insert(onConflict = On... | 0 | Kotlin | 3 | 7 | e1d3bc966ac0d590a3dac0210f1442d3dc90610c | 566 | android-compose-template | MIT License |
shared/src/commonMain/kotlin/ui/participant/RenderVotingOption.kt | piappstudio | 696,508,694 | false | {"Kotlin": 145998, "Swift": 941, "Shell": 228} | package ui.participant
import androidx.compose.foundation.clickable
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.foundation.layout.fillMaxWidt... | 0 | Kotlin | 3 | 9 | 22af22bd245fd0765ea95569b6a2101e40825112 | 4,919 | BiggBoss | Apache License 2.0 |
androidApp/src/main/java/com/nkuppan/todo/ui/fragment/TaskListFragment.kt | nkuppan | 315,671,446 | false | {"Kotlin": 107146, "Swift": 6166, "Ruby": 2126} | package com.nkuppan.todo.ui.fragment
import android.app.Activity
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.activity.result.contract.ActivityResultContracts
import androidx.lifecycle.ViewModelProvider
import com.nkuppan.todo.R
impo... | 0 | Kotlin | 0 | 1 | 0fd3f81774cf1216bdfa580a601d304adb0f0dee | 3,165 | todo-kmm | Apache License 2.0 |
logic-common/src/main/kotlin/io/lonmstalker/springkube/config/ContextConfig.kt | lonmstalker | 634,331,522 | false | null | package io.lonmstalker.springkube.config
import io.lonmstalker.springkube.filter.ReactiveRequestContextWebFilter
import io.lonmstalker.springkube.filter.ServletRequestContextFilter
import org.springframework.boot.autoconfigure.condition.ConditionalOnWebApplication
import org.springframework.context.annotation.Bean
imp... | 0 | Kotlin | 0 | 0 | 1955769c3ed52bbbabe941f514c01f3d39514697 | 1,223 | spring-kube | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.