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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
debugBanner/src/main/java/io/armcha/debugBanner/BannerGravity.kt | armcha | 145,413,807 | false | null | package io.armcha.debugBanner
enum class BannerGravity {
START,
END
} | 1 | Kotlin | 11 | 59 | 18e1894e27b24a500484144aac992933eb686a37 | 79 | DebugBanner | Apache License 2.0 |
examples/basic-integration-jetpack-compose/app/src/main/java/com/deuna/compose_demo/MainActivity.kt | deuna-developers | 718,859,364 | false | {"Kotlin": 75371} | package com.deuna.compose_demo
import android.os.*
import androidx.activity.*
import androidx.activity.compose.*
import androidx.compose.runtime.Composable
import androidx.navigation.compose.*
import com.deuna.compose_demo.screens.*
import com.deuna.compose_demo.view_models.home.HomeViewModel
import com.deuna.maven.*
... | 0 | Kotlin | 0 | 0 | a6bbfe559f65037e5f29f4956cc1def3a6f0201e | 2,648 | deuna-sdk-android | MIT License |
app/src/main/java/io/github/drumber/kitsune/data/source/local/library/dao/LibraryEntryDao.kt | Drumber | 406,471,554 | false | {"Kotlin": 993796, "Ruby": 2109} | package io.github.drumber.kitsune.data.source.local.library.dao
import androidx.lifecycle.LiveData
import androidx.paging.PagingSource
import androidx.room.Dao
import androidx.room.Delete
import androidx.room.Insert
import androidx.room.OnConflictStrategy
import androidx.room.Query
import androidx.room.Update
import i... | 6 | Kotlin | 4 | 92 | ba6f2a69cb71a9fd71d4825921ff6d9b6300471e | 4,064 | Kitsune | Apache License 2.0 |
ui/src/main/java/es/marcrdz/ui/feature/main/MainViewModel.kt | marcRDZ | 858,190,692 | false | {"Kotlin": 76785} | package es.marcrdz.ui.feature.main
import androidx.lifecycle.viewModelScope
import dagger.hilt.android.lifecycle.HiltViewModel
import es.marcrdz.presentation.handlers.MainData
import es.marcrdz.presentation.handlers.MainEvent
import es.marcrdz.presentation.handlers.MainEventHandler
import es.marcrdz.ui.base.BaseViewMo... | 0 | Kotlin | 0 | 0 | 1e9bd230cf866bfc91a32fddddf70d76ae6d3a67 | 1,157 | RandomUserApp | Apache License 2.0 |
app/src/main/java/com/example/weatherapp/feature_weather/domain/repository/WeatherRepository.kt | VladShurakov | 712,506,582 | false | {"Kotlin": 79527} | package com.example.weatherapp.feature_weather.domain.repository
import com.example.weatherapp.feature_weather.domain.model.CurrentWeather
import com.example.weatherapp.feature_weather.domain.model.DailyWeather
import com.example.weatherapp.feature_weather.domain.model.HourlyWeather
import com.example.weatherapp.util.... | 2 | Kotlin | 0 | 3 | 1cc923f3296f28dfe0d6750995f7d04131f2dae7 | 1,010 | WeatherApp | MIT License |
values4k/src/main/kotlin/dev/forkhandles/values/validation.kt | fork-handles | 275,203,729 | false | null | package dev.forkhandles.values
/**
* Allows validation on values coming in to ensure only legal values construction.
*/
typealias Validation<T> = (T) -> Boolean
val Int.maxLength: Validation<String> get() = { it.length <= this@maxLength }
val Int.minLength: Validation<String> get() = { it.length >= this@minLength }... | 11 | null | 27 | 221 | fb43cb68201fea003260d57d2fb03bdb92df8085 | 1,523 | forkhandles | Apache License 2.0 |
bannerx/src/main/kotlin/com/blueiobase/api/android/bannerx/enums/OverScrollMode.kt | IODevBlue | 601,108,830 | false | null | package com.blueiobase.api.android.bannerx.enums
import com.blueiobase.api.android.bannerx.BannerX
/**
* Constants representing the over-scrolling behaviour of [BannerX] when it over-scrolls.
* @author IODevBlue
* @since 1.0.0
*/
enum class OverScrollMode {
/** Always allow over-scrolling. */
ALWAYS,
... | 0 | Kotlin | 0 | 1 | e61487dfee93ec3101a4dcfa5296f42aed3f5002 | 487 | BannerX | Apache License 2.0 |
src/test/kotlin/de/clark/steps/ManagerPageSteps.kt | petrschitow | 268,904,483 | false | null | package de.clark.steps
import de.clark.TestContext
import de.clark.pages.ManagerPage
import io.cucumber.java8.En
class ManagerPageSteps(private var testContext: TestContext) : En {
val managerPage: ManagerPage by lazy {
ManagerPage(testContext.driver)
}
init {
Then("I close popup") {
... | 0 | Kotlin | 0 | 0 | db8b91a8a7430f7f1a988ac86f9811f720a10c65 | 480 | clark-tests-ui | Apache License 2.0 |
src/main/kotlin/org/halflife/clientmanager/util/GenderDetection.kt | xEnakil | 793,054,418 | false | {"Kotlin": 72479} | package org.halflife.clientmanager.util
import org.halflife.clientmanager.dto.response.GenderResponse
import org.springframework.stereotype.Component
import org.springframework.web.client.RestTemplate
@Component
class GenderDetection(private val restTemplate: RestTemplate) {
fun getGender(name: String): GenderRe... | 0 | Kotlin | 0 | 0 | 763b04aa6046eaef1eb72ec6114233e8b621763a | 468 | ClientManager | MIT License |
buildSrc/src/main/kotlin/Prop.kt | sadashi-ota | 193,362,372 | false | null | import java.io.FileInputStream
import java.util.Properties
object Prop {
val map = mutableMapOf<String, String>()
fun loadProperties(filepath: String) {
val properties = Properties()
val inputStream = FileInputStream(filepath)
properties.load(inputStream)
properties.forEach {
... | 0 | Kotlin | 0 | 0 | e4c76fd0c9333110f4548140ebb455275631de3c | 387 | narou-reader | Apache License 2.0 |
app/src/main/java/com/jonay/customcalendar/adapter/LogAdapter.kt | jonaysantana93 | 729,904,102 | false | {"Kotlin": 21518} | package com.jonay.customcalendar.adapter
import android.annotation.SuppressLint
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.recyclerview.widget.RecyclerView
import com.jonay.customcalendar.databinding.LogItemBinding
class LogAdapter(private var list: List<String>): RecyclerView.Ad... | 0 | Kotlin | 0 | 0 | 5954f3133d570a351d30a91fc82be4a69fad2d59 | 1,244 | CustomCalendar | MIT License |
magicindicator/src/main/java/net/lucode/hackware/magicindicator/buildins/commonnavigator/titles/badge/BadgePagerTitleView.kt | Yinzeyu | 290,686,345 | true | {"Kotlin": 159908} | package net.lucode.hackware.magicindicator.buildins.commonnavigator.titles.badge
import android.content.Context
import android.view.View
import android.widget.FrameLayout
import net.lucode.hackware.magicindicator.buildins.commonnavigator.abs.IMeasurablePagerTitleView
import net.lucode.hackware.magicindicator.buildins.... | 0 | Kotlin | 0 | 0 | 7ea750167fee6debd132e1f1928aa7e70a1eba3b | 6,390 | MagicIndicator | The Unlicense |
app/src/main/java/psycho/mountain/tastinggenie/SakeReviewFragment.kt | pyth0n14n | 229,515,435 | false | {"Kotlin": 103915} | package psycho.mountain.tastinggenie
import android.app.AlertDialog
import android.app.DatePickerDialog
import android.content.Context
import android.os.Bundle
import android.support.v4.app.Fragment
import android.util.Log
import android.view.LayoutInflater
import android.view.MotionEvent
import android.view.View
impo... | 0 | Kotlin | 0 | 4 | a8f537e723de7008ae8d12f1274781fcef79bbf0 | 14,271 | TastingGenie | MIT License |
samples/starter-projects/konsist-starter-multiplatform-gradle-kotlin-junit5/src/jvmTest/kotlin/com/sample/SampleKonsistTest.kt | LemonAppDev | 621,181,534 | false | {"Kotlin": 2114775, "Python": 13962} | package com.sample
import com.lemonappdev.konsist.api.Konsist
import com.lemonappdev.konsist.api.ext.list.withNameEndingWith
import com.lemonappdev.konsist.api.verify.assert
import org.junit.jupiter.api.Test
class SampleKonsistTest {
@Test
fun `classes with 'UseCase' suffix should reside in 'domain' and 'usec... | 8 | Kotlin | 11 | 595 | 2e33b6f26741d709ad63fa8c637c57208330aea9 | 517 | konsist | Apache License 2.0 |
app/src/main/java/com/breezebiolumeskincare/features/dashboard/presentation/api/dayStartEnd/DayStartEndRepoProvider.kt | DebashisINT | 740,453,031 | false | {"Kotlin": 15911330, "Java": 1030912} | package com.breezebiolumeskincare.features.dashboard.presentation.api.dayStartEnd
import com.breezebiolumeskincare.features.stockCompetetorStock.api.AddCompStockApi
import com.breezebiolumeskincare.features.stockCompetetorStock.api.AddCompStockRepository
object DayStartEndRepoProvider {
fun dayStartRepositiry(): ... | 0 | Kotlin | 0 | 0 | e25768e0e9490f0130635d614b8743b923f35a00 | 414 | BIOLUMESKINSCIENCE | Apache License 2.0 |
examples/core/core_input_mouse.kt | Its-Kenta | 690,260,636 | false | {"Kotlin": 257105, "Makefile": 2337} | import kaylibkit.kCore.*
import kaylibkit.kEnums.ConfigFlag
import kaylibkit.kEnums.MouseButton
import kaylibkit.kShapes.drawCircle
import kaylibkit.kText.drawText
import kaylibc.*
import kotlinx.cinterop.memScoped
const val SCREEN_WIDTH = 800
const val SCREEN_HEIGHT = 450
//------------------------------------------... | 0 | Kotlin | 0 | 0 | ac1b1a0ec2f6f6f2f85cada81b27b50586069a6b | 2,542 | KaylibKit | zlib License |
YAXH/src/main/java/io/github/duzhaokun123/yaxh/utils/Utils.kt | duzhaokun123 | 734,996,306 | false | {"Kotlin": 16577} | package io.github.duzhaokun123.yaxh.utils
| 0 | Kotlin | 0 | 0 | b83140b0ee24fac5fc4ce368fe03e0072e463e83 | 43 | YAXH | Apache License 2.0 |
app/src/main/java/chun/project/movieapp/screen/home/viewholder/TrendingViewHolder.kt | ChunJR | 349,675,573 | false | null | package chun.project.movieapp.screen.home.viewholder
import android.content.Context
import android.view.View
import androidx.lifecycle.Lifecycle
import androidx.paging.LoadState
import androidx.paging.PagingData
import androidx.recyclerview.widget.LinearLayoutManager
import chun.project.movieapp.R
import chun.project.... | 0 | Kotlin | 0 | 0 | 50b58358d05feb255c256bc5dee04b14221e7f85 | 2,189 | MovieApp | Academic Free License v1.1 |
src/main/kotlin/de/langerhans/discord/gitbot/handlers/CommitHandler.kt | ICannt | 74,634,494 | true | {"Kotlin": 23602} | package de.langerhans.discord.gitbot.handlers
import de.langerhans.discord.gitbot.models.PullRequestEvent
import de.langerhans.discord.gitbot.models.PushEvent
import org.springframework.stereotype.Component
/**
* Created by maxke on 07.08.2016.
* handles new/closed PRs
*/
@Component
open class CommitHandler: Abst... | 0 | Kotlin | 0 | 0 | 76175fdc5b0f183364a42266c49344b669a7e1e3 | 780 | discord-github-webhooks | MIT License |
src/test/kotlin/dev/iuhh/tictactoe/GameBoardTest.kt | jimmyiu | 807,562,276 | false | {"Kotlin": 17035} | package dev.iuhh.tictactoe
import ArgProvider
import dev.iuhh.tictactoe.builder.GameBoardBuilder
import dev.iuhh.tictactoe.builder.GameBoardStringBuilder
import org.assertj.core.api.Assertions.assertThat
import org.assertj.core.api.Assertions.catchException
import org.junit.jupiter.params.ParameterizedTest
import org.... | 2 | Kotlin | 0 | 0 | 1c4b20a69c2d549e79fdba6fbecd26c39c166ce4 | 2,694 | tic-tac-toe-problem | Apache License 2.0 |
src/test/kotlin/dev/iuhh/tictactoe/GameBoardTest.kt | jimmyiu | 807,562,276 | false | {"Kotlin": 17035} | package dev.iuhh.tictactoe
import ArgProvider
import dev.iuhh.tictactoe.builder.GameBoardBuilder
import dev.iuhh.tictactoe.builder.GameBoardStringBuilder
import org.assertj.core.api.Assertions.assertThat
import org.assertj.core.api.Assertions.catchException
import org.junit.jupiter.params.ParameterizedTest
import org.... | 2 | Kotlin | 0 | 0 | 1c4b20a69c2d549e79fdba6fbecd26c39c166ce4 | 2,694 | tic-tac-toe-problem | Apache License 2.0 |
Kotlin/four/src/test/kotlin/com/nlw/four/NextLevelWeekApplicationTests.kt | brunoredes | 341,719,792 | false | {"TypeScript": 14215, "Kotlin": 10441} | package com.nlw.four
import org.junit.jupiter.api.Test
import org.springframework.boot.test.context.SpringBootTest
@SpringBootTest
class NextLevelWeekApplicationTests {
@Test
fun contextLoads() {
}
}
| 0 | TypeScript | 0 | 1 | 15127f00e24271ba9a81038c60b1f4e7528d1cd0 | 207 | next-level-week-4 | MIT License |
app/src/main/java/com/example/fooddelivery/data/data_source/remote/dto/order/FoodDto.kt | spencer2k19 | 720,201,452 | false | {"Kotlin": 305089} | package com.example.fooddelivery.data.data_source.remote.dto.order
import com.google.gson.annotations.SerializedName
data class FoodDto(
@SerializedName("id")
val id: Int?,
@SerializedName("quantity")
val quantity: Int?
) | 0 | Kotlin | 0 | 2 | 7be246eba97aa90740952a8bd85dbeb3229c826b | 240 | Food-Delivery-Android | MIT License |
app/src/main/java/com/izhal/dicodingsubmission2/User.kt | izhal27 | 304,802,570 | false | null | package com.izhal.dicodingsubmission2
interface IUser {
val id: Int
val login: String
val avatar_url: String
val url: String
val html_url: String
}
class User(
override val id: Int,
override val login: String,
override val avatar_url: String,
override val url: String,
override val html_url: String... | 0 | Kotlin | 1 | 0 | 01f2ad6ab529e8ed95b2af43a4b1d465422d14b9 | 330 | dicoding-submission-2 | MIT License |
app/src/main/java/com/izhal/dicodingsubmission2/User.kt | izhal27 | 304,802,570 | false | null | package com.izhal.dicodingsubmission2
interface IUser {
val id: Int
val login: String
val avatar_url: String
val url: String
val html_url: String
}
class User(
override val id: Int,
override val login: String,
override val avatar_url: String,
override val url: String,
override val html_url: String... | 0 | Kotlin | 1 | 0 | 01f2ad6ab529e8ed95b2af43a4b1d465422d14b9 | 330 | dicoding-submission-2 | MIT License |
mmupnp/src/test/java/net/mm2d/upnp/internal/parser/ServiceParserTest.kt | ohmae | 55,842,405 | false | {"Kotlin": 752707} | /*
* Copyright (c) 2019 大前良介 (OH<NAME>)
*
* This software is released under the MIT License.
* http://opensource.org/licenses/MIT
*/
package net.mm2d.upnp.internal.parser
import io.mockk.mockk
import org.junit.Test
import org.junit.runner.RunWith
import org.junit.runners.JUnit4
import java.io.IOException
@Suppr... | 2 | Kotlin | 11 | 50 | 19ed97060e1cbda1990e747a216b94c4d3c1641b | 621 | mmupnp | MIT License |
presentation/src/main/java/com/jinglebroda/presentation/singleActivity/mvvm/utils/letterLanguage/LetterRusAndEngLanguage.kt | jingleBroda | 629,142,633 | false | null | package com.jinglebroda.presentation.singleActivity.mvvm.utils.letterLanguage
object LetterRusAndEngLanguage {
private val capsEngLetter = 'А'..'Z'
private val capsRuLetter = 'А'..'Я'
private val littleEngLetter = 'a'..'z'
private val littleRuLetter = 'а'..'я'
fun isEnglishLetter(ch: Char): Boolea... | 0 | Kotlin | 0 | 0 | acfa4d2443684c002b197ddf524a7afed1afe37c | 466 | Look_to_cook | MIT License |
app/src/main/java/com/jeeps/gamecollector/remaster/data/repository/IgdbRepository.kt | JamesJose7 | 115,309,790 | false | null | package com.jeeps.gamecollector.remaster.data.repository
import com.jeeps.gamecollector.remaster.data.model.IgdbDao
import javax.inject.Inject
class IgdbRepository @Inject constructor(
private val igdbDao: IgdbDao
) {
suspend fun searchGames(query: String) =
igdbDao.searchGames(query)
suspend fu... | 0 | Kotlin | 0 | 0 | 67bfd2e487bc2e995c5f9f21718a0e729d17b8b8 | 399 | GameCollector | Apache License 2.0 |
domain/src/main/kotlin/team/applemango/runnerbe/domain/register/runnerbe/repository/AccessTokenRepository.kt | ricky-buzzni | 485,390,072 | false | {"Kotlin": 615137} | /*
* RunnerBe © 2022 Team AppleMango. all rights reserved.
* RunnerBe license is under the MIT.
*
* [NaverLoginRepository.kt] created by Ji Sungbin on 22. 2. 6. 오전 2:08
*
* Please see: https://github.com/applemango-runnerbe/RunnerBe-Android/blob/main/LICENSE.
*/
package team.applemango.runnerbe.domain.register.... | 0 | null | 0 | 0 | f48fb298c07732a9c32afcff0bddb16f9fe2e37a | 500 | RunnerBe-Android | MIT License |
app/src/main/java/com/suret/moviesapp/domain/usecase/GetFavoriteMovieByIdUseCase.kt | Suret1 | 370,776,824 | false | null | package com.suret.moviesapp.domain.usecase
import com.suret.moviesapp.data.model.FavoriteMovieModel
import com.suret.moviesapp.domain.repository.MovieRepository
class GetFavoriteMovieByIdUseCase(private val movieRepository: MovieRepository) {
suspend fun execute(id: Int): FavoriteMovieModel = movieRepository.getF... | 0 | Kotlin | 0 | 3 | 82e3d352775fc89d8d6e0506aa1bce977a7c5d12 | 342 | MoviesApp | Apache License 2.0 |
y2018/src/main/kotlin/adventofcode/y2018/Day18.kt | Ruud-Wiegers | 434,225,587 | false | {"Kotlin": 432181} | package adventofcode.y2018
import adventofcode.io.AdventSolution
import adventofcode.util.collections.takeWhileDistinct
object Day18 : AdventSolution(2018, 18, "Settlers of The North Pole") {
override fun solvePartOne(input: String) =
generateSequence(ConwayGrid(input), ConwayGrid::next)
... | 0 | Kotlin | 0 | 3 | ecff6ae4fbd89409d7fb7ffd229e7fc1ac96bfb6 | 2,059 | advent-of-code | MIT License |
asm-debuglog-plugin/src/main/java/it/sephiroth/android/library/asm/plugin/debuglog/DebugLogPluginInit.kt | sephiroth74 | 429,513,067 | false | {"Kotlin": 228380, "Java": 510} | package it.sephiroth.android.library.asm.plugin.debuglog
import it.sephiroth.android.library.asm.commons.Constants
import it.sephiroth.android.library.asm.commons.plugin.AsmBaseExtension
import it.sephiroth.android.library.asm.plugin.debuglog.asm.vo.MethodAnnotationData
import it.sephiroth.android.library.asm.plugin.d... | 0 | Kotlin | 0 | 0 | e99102cf0cc8f6328ea97161deb5ca2a787b6b0a | 1,763 | AndroidDebugLog | MIT License |
ktfx-layouts/src/ktfx/layouts/scene/shape/MoveTo.kt | alilosoft | 182,138,993 | true | {"Kotlin": 364065, "HTML": 1385, "Java": 682} | @file:Suppress("PackageDirectoryMismatch", "NOTHING_TO_INLINE")
package ktfx.layouts
import javafx.scene.shape.MoveTo
/** Creates a [MoveTo]. */
fun moveTo(
x: Double = 0.0,
y: Double = 0.0,
init: ((@LayoutDslMarker MoveTo).() -> Unit)? = null
): MoveTo = MoveTo(x, y).also { init?.invoke(it) }
/** Creat... | 0 | Kotlin | 0 | 0 | f499c9d7abddb270f1946c0e9ffb9072e45cd625 | 560 | ktfx | Apache License 2.0 |
data_source/message_data_source/src/main/java/com/can_apps/message_data_source/MessageDatabase.kt | loukwn | 327,419,202 | true | {"Kotlin": 135661, "Shell": 322} | package com.can_apps.message_data_source
import androidx.room.Database
import androidx.room.RoomDatabase
@Database(entities = [MessageEntity::class], version = 1)
internal abstract class MessageDatabase : RoomDatabase() {
abstract fun messageDao(): MessageDao
}
| 0 | null | 0 | 0 | 310249c542b746de6e6a868956a45e5b9fffb2dc | 269 | showcase | Freetype Project License |
games-impl/src/commonMain/kotlin/net/zomis/games/impl/alchemists/TheoryBoard.kt | Zomis | 125,767,793 | false | {"Kotlin": 1346310, "Vue": 212095, "JavaScript": 43020, "CSS": 4513, "HTML": 1459, "Shell": 801, "Dockerfile": 348} | package net.zomis.games.impl.alchemists
| 89 | Kotlin | 5 | 17 | dd9f0e6c87f6e1b59b31c1bc609323dbca7b5df0 | 41 | Games | MIT License |
src/pl/shockah/aoc/y2015/Day24.kt | Shockah | 159,919,224 | false | null | package pl.shockah.aoc.y2015
import org.junit.jupiter.api.Assertions
import org.junit.jupiter.api.Test
import pl.shockah.aoc.AdventTask
import pl.shockah.unikorn.Ref
class Day24: AdventTask<List<Int>, Long, Long>(2015, 24) {
private data class Group(
val list: List<Int>
): List<Int> by list, Comparable<Group> {
... | 0 | Kotlin | 0 | 0 | 9abb1e3db1cad329cfe1e3d6deae2d6b7456c785 | 2,927 | Advent-of-Code | Apache License 2.0 |
sdkpushexpress/src/main/java/com/pushexpress/sdk/models/DeviceConfigRequest.kt | pushexpress | 600,907,986 | false | null | package com.pushexpress.sdk.models
data class DeviceConfigRequest(
val app_id: String,
val ic_token: String,
val ext_id: String,
val fcm_token: String,
val lang: String,
val ad_id: String,
val country_net: String,
val country_sim: String,
val timezone: Int,
val install_ts: Long,... | 0 | Kotlin | 0 | 3 | 69ec0acc519cf805447e76745a7e3f868aedd173 | 431 | pushexpress-android-sdk | Apache License 2.0 |
src/main/java/com/digital/signage/exceptions/InvalidRequestDataException.kt | Rocky-Saini | 741,118,438 | false | {"Batchfile": 1, "Markdown": 2, "Shell": 1, "Maven POM": 1, "Dockerfile": 1, "XML": 9, "Java Properties": 4, "YAML": 2, "JSON": 8, "SQL": 2, "Java": 564, "Kotlin": 193, "Ignore List": 1} | package com.digital.signage.exceptions
/**
* @author -<NAME> created on 1/23/2023 4:05 PM
* @project - Digital Sign-edge
*/
class InvalidRequestDataException(val invalidDataLocalizedMessage: String) : Exception() | 0 | Java | 0 | 0 | 7879fdf301f0d0545954bfed823de6b6cbd41b46 | 216 | local-server | DOC License |
components/proxy/src/test/kotlin/com/hotels/styx/routing/config/RouteHandlerFactoryTest.kt | pologood | 182,489,218 | true | {"YAML": 44, "Markdown": 31, "Text": 17, "Maven POM": 22, "Ignore List": 1, "Makefile": 1, "Java": 727, "JSON": 4, "Kotlin": 13, "Scala": 103, "XML": 15, "Python": 8, "Lua": 1, "Shell": 9, "Dockerfile": 1, "SVG": 1, "Groovy": 1, "HTML": 6, "CSS": 1, "JavaScript": 5, "ANTLR": 1} | /*
Copyright (C) 2013-2019 Expedia 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 wri... | 0 | Java | 0 | 0 | a016e9d9ce5cd698e73110789cc8fb3acc43d360 | 2,885 | styx | Apache License 2.0 |
airbyte-commons-worker/src/main/kotlin/io/airbyte/workers/workload/JobOutputDocStore.kt | jxqlovejava | 790,575,401 | true | {"Java Properties": 3, "Gradle Kotlin DSL": 50, "Shell": 55, "Markdown": 71, "Batchfile": 1, "Kotlin": 509, "Dockerfile": 26, "Java": 1550, "INI": 10, "JavaScript": 21, "TypeScript": 421, "HTML": 5, "CSS": 7, "Python": 7, "Makefile": 2, "Go": 9, "SQL": 14} | package io.airbyte.workers.workload
import io.airbyte.commons.json.Jsons
import io.airbyte.config.ConnectorJobOutput
import io.airbyte.config.ReplicationOutput
import io.airbyte.metrics.lib.MetricAttribute
import io.airbyte.metrics.lib.MetricClient
import io.airbyte.metrics.lib.MetricTags
import io.airbyte.metrics.lib... | 0 | null | 0 | 0 | d4e64e0a64c6f7ff72e19d6890be5c747f902f70 | 2,880 | airbyte-platform | MIT License |
pop-miners/altchain-pop-miner/src/main/kotlin/org/veriblock/miners/pop/shell/commands/DebugCommands.kt | paucasafont | 270,580,517 | false | {"INI": 2, "Gradle Kotlin DSL": 20, "Shell": 1, "Markdown": 7, "Batchfile": 1, "Kotlin": 316, "Java": 431, "Dockerfile": 4, "Java Properties": 1} | // VeriBlock Blockchain Project
// Copyright 2017-2018 VeriBlock, Inc
// Copyright 2018-2020 <NAME>
// All rights reserved.
// https://www.veriblock.org
// Distributed under the MIT software license, see the accompanying
// file LICENSE or http://www.opensource.org/licenses/mit-license.php.
package org.veriblock.miner... | 1 | null | 1 | 1 | 904f69339e8e152ac54f8f5a63aea6eddfaba27b | 4,630 | nodecore | MIT License |
src/kotlin/de/monticore/lang/montisecarc/visualization/GraphDatabase.kt | MontiSecArc | 82,662,403 | false | null | package de.monticore.lang.montisecarc.visualization
import com.intellij.openapi.Disposable
import com.intellij.openapi.application.ApplicationManager
import com.intellij.openapi.components.ProjectComponent
import com.intellij.openapi.diagnostic.Logger
import com.intellij.openapi.project.Project
import de.tbuning.neo4j... | 0 | Kotlin | 2 | 1 | 82d80a3d587a3f47e961034cf7e496f7149fd912 | 2,592 | intellij_msa_language_plugin | Apache License 2.0 |
App News - Android + Kotlin + Retrofit + Coroutines + Room/app_news_mvvm/app/src/main/java/com/lvb/projects/app_news_mvvm/util/InternetChecker.kt | Velosofurioso | 454,964,649 | false | null | package com.lvb.projects.app_news_mvvm.util
import android.content.Context
import android.net.ConnectivityManager
import android.net.NetworkCapabilities
class InternetChecker {
companion object {
fun checkForInternetConnection(context: Context): Boolean {
val connectivityManager = context.get... | 0 | Kotlin | 0 | 0 | d7d97f11c24d6a736b9603184b003a53a5eca099 | 1,128 | Mobile-Development-Courses | MIT License |
app/src/main/java/com/example/test/di/NetworkModule.kt | rahman248 | 504,381,047 | false | null | package com.example.test.di
import com.example.test.BuildConfig
import com.example.test.data.remote.ApiService
import com.google.gson.GsonBuilder
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent
import okhttp3.OkHttpClient
import okhttp3.logging.... | 0 | Kotlin | 0 | 0 | f1cc20afffeed786d514bdffa5ad56b4a6eddd37 | 1,581 | pjs | The Unlicense |
emojipicker/src/main/java/com/kazumaproject/emojipicker/other/EmojiTypes.kt | KazumaProject | 599,677,394 | false | {"Kotlin": 257606, "Java": 153764} | package com.kazumaproject.emojipicker.other
sealed class EmojiTypes{
object SmileysAndPeople : EmojiTypes()
object AnimalsAndNature : EmojiTypes()
object FoodAndDrink : EmojiTypes()
object Activity : EmojiTypes()
object TravelAndPlaces : EmojiTypes()
object Objects : EmojiTypes()
object Sym... | 0 | Kotlin | 0 | 0 | 17ac7b5bfa58223eb87c9c360a1e6ec335683fcf | 342 | MarkdownNote | MIT License |
app/src/main/java/me/zhaoweihao/hnuplus/WeatherActivity.kt | zhaoweih | 128,950,368 | false | null | package me.zhaoweihao.hnuplus
import android.Manifest
import android.content.pm.PackageManager
import android.graphics.Color
import android.os.Build
import android.support.v7.app.AppCompatActivity
import android.os.Bundle
import android.util.Log
import android.view.LayoutInflater
import android.view.View
import androi... | 0 | Kotlin | 0 | 13 | 73f2e2b5467c0010f2cb8852c306b0fe0ef95617 | 9,665 | Nice-Trader | MIT License |
app/src/test/java/com/realtimemap/presentation/process/MapViewIntentProcessorTest.kt | rahmatya685 | 312,604,137 | false | null | package com.realtimemap.presentation.process
import com.google.common.truth.Truth
import com.realtimemap.presentation.map.MapViewAction
import com.realtimemap.presentation.map.MapViewIntent
import com.realtimemap.repo.model.MapModelMapper
import com.realtimemap.repo.remote.DummyData
import org.junit.Test
class MapVie... | 0 | Kotlin | 0 | 3 | 199b6c16d989d640ad88e98803745ab160e6ae91 | 1,802 | RealtimeLocation | Apache License 2.0 |
app/src/main/java/com/example/careerboast/view/screens/login/LoginScreen.kt | Ev4esem | 771,869,351 | false | {"Kotlin": 90779} | package com.example.careerboast.view.screens.login
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.fillMaxHeight
import android... | 0 | Kotlin | 0 | 0 | 1239403f5ae15e7ab81e3e48a01b083b73284582 | 3,355 | CareerBoast | Apache License 2.0 |
typescript-kotlin/src/main/kotlin/typescript/LiteralExpression.kt | turansky | 393,199,102 | false | null | // Automatically generated - do not modify!
package typescript
external interface LiteralExpression : LiteralLikeNode, PrimaryExpression {
/*
_literalExpressionBrand: any;
*/
}
| 0 | Kotlin | 1 | 10 | bcf03704c0e7670fd14ec4ab01dff8d7cca46bf0 | 191 | react-types-kotlin | Apache License 2.0 |
solar/src/main/java/com/chiksmedina/solar/bold/businessstatistic/Chart.kt | CMFerrer | 689,442,321 | false | {"Kotlin": 36591890} | package com.chiksmedina.solar.bold.businessstatistic
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Co... | 0 | Kotlin | 0 | 0 | 3414a20650d644afac2581ad87a8525971222678 | 3,092 | SolarIconSetAndroid | MIT License |
Unpack/src/me/anno/io/zip/internal/TarArchiveIterator.kt | AntonioNoack | 456,513,348 | false | {"Kotlin": 10912545, "C": 236426, "Java": 6754, "Lua": 4496, "C++": 3070, "GLSL": 2698} | package me.anno.io.zip.internal
import me.anno.utils.structures.NextEntryIterator
import org.apache.commons.compress.archivers.ArchiveEntry
import org.apache.commons.compress.archivers.ArchiveInputStream
class TarArchiveIterator(val file: ArchiveInputStream) : NextEntryIterator<ArchiveEntry>() {
override fun next... | 0 | Kotlin | 3 | 24 | 013af4d92e0f89a83958008fbe1d1fdd9a10e992 | 361 | RemsEngine | Apache License 2.0 |
src/main/kotlin/com/vepanimas/intellij/prisma/ide/schema/definitions/PrismaSchemaKeywords.kt | vepanimas | 527,378,342 | false | {"Kotlin": 303241, "HTML": 7321, "Lex": 2375, "JavaScript": 1076} | package com.vepanimas.intellij.prisma.ide.schema.definitions
import com.vepanimas.intellij.prisma.ide.schema.types.PrismaDatasourceType
import com.vepanimas.intellij.prisma.ide.schema.PrismaSchemaKind
import com.vepanimas.intellij.prisma.ide.schema.schema
val PRISMA_SCHEMA_KEYWORDS = schema {
group(PrismaSchemaKi... | 0 | Kotlin | 0 | 0 | f98b18d5f9f451d70994ebe672ab9a584f184b73 | 1,436 | intellij-prisma | Apache License 2.0 |
app/src/main/java/com/wnc21/logger/analytics/AnalyticsEvent.kt | sarathkumar-optisol | 362,393,072 | true | {"Kotlin": 17942} | package com.wnc21.logger.analytics
class AnalyticsEvent(msg: String) | 0 | null | 0 | 0 | c6d866ba1e513d20f26160926908a3a95af14afb | 69 | Logger | Apache License 2.0 |
src/obdKotlin/encoders/SpecialEncoder.kt | PavelB24 | 508,802,157 | false | null | package obdKotlin.encoders
import kotlinx.coroutines.flow.MutableSharedFlow
import obdKotlin.decoders.EncodingState
import obdKotlin.hexToInt
import obdKotlin.messages.Message
import obdKotlin.profiles.Profile
import obdKotlin.toHex
import java.lang.IllegalStateException
import java.nio.ByteBuffer
abstract class Spec... | 2 | Kotlin | 0 | 0 | aeb6027cdc48a1f1d76e25d258abc36562f04176 | 3,073 | OBDKotlin | Creative Commons Zero v1.0 Universal |
src/main/kotlin/com/belveth/bullettime/BulletTimeApplication.kt | belveth | 482,193,761 | false | null | package com.belveth.bullettime
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration
import org.springframework.boot.runApplication
@SpringBootApplication(exclude = [SecurityAutoConfiguration::class])
class BulletTi... | 0 | Kotlin | 0 | 1 | 83fecf1962934d35eceeb5542c005c56f7135f54 | 415 | bullet-time | MIT License |
Retos/Reto #13 - ADIVINA LA PALABRA [Media]/kotlin/Mariopolonia0.kt | mouredev | 581,049,695 | false | {"Python": 4194087, "JavaScript": 1590517, "Java": 1408944, "C#": 782329, "Kotlin": 533858, "TypeScript": 479964, "Rust": 357628, "Go": 322940, "PHP": 288620, "Swift": 278290, "C": 223896, "Jupyter Notebook": 221090, "C++": 175187, "Dart": 159755, "Ruby": 71132, "Perl": 52923, "VBScript": 49663, "HTML": 45912, "Raku": ... | package EjercicioKotlin.Mouredev
/*
* Crea un pequeño juego que consista en adivinar palabras en un número máximo de intentos:
* - El juego comienza proponiendo una palabra aleatoria incompleta
* - Por ejemplo "m_ur_d_v", y el número de intentos que le quedan
* - El usuario puede introducir únicamente una letra o... | 1 | Python | 2974 | 5,192 | f8c44ac12756b14a32abf57cbf4e0cd06ad58088 | 3,191 | retos-programacion-2023 | Apache License 2.0 |
app/src/main/java/com/example/deportesdalda/Users.kt | FerCobo | 519,836,349 | false | {"Kotlin": 80944} | package com.example.deportesdalda
import com.google.firebase.database.Exclude
class Users {
private var email: String? = null
private var name: String? = null
private var lastname: String? = null
private var points: String? = null
private var phone: String? = null
private var date: String? = n... | 0 | Kotlin | 0 | 0 | e849ce50dfd5026607105dbcc665ef238004f072 | 1,112 | AppDalda | MIT License |
src/main/kotlin/no/njoh/pulseengine/core/window/Window.kt | NiklasJohansen | 239,208,354 | false | null | package no.njoh.pulseengine.core.window
interface Window
{
var title: String
val width: Int
val height: Int
val screenMode: ScreenMode
val wasResized: Boolean
fun updateScreenMode(mode: ScreenMode)
fun close()
}
interface WindowInternal : Window
{
override var wasResized: Boolean
... | 0 | Kotlin | 0 | 1 | 0233386dfca8a4ae6a990cd3dffe47db05e82319 | 595 | PulseEngine | MIT License |
app/src/main/java/dev/pinaki/desipe/di/InjectionConstants.kt | Pinaki93 | 276,979,416 | false | null | /*
* MIT License
*
* Copyright (c) 2020 <NAME>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, m... | 0 | Kotlin | 4 | 25 | c62e337d8bfacdc9a7e2a26b7fbdbbe320c43f60 | 1,435 | Desipe | MIT License |
View-common/src/main/kotlin/view/utils/mapBased/keys/delegates/AbstractRWKey.kt | mzaart | 160,253,085 | false | null | package view.utils.mapBased.keys.delegates
import view.utils.mapBased.keys.HasKeys
import view.utils.mapBased.keys.MapInterface
import kotlin.properties.ReadWriteProperty
import kotlin.reflect.KProperty
/**
* A delegate for mutable properties that are based on maps.
*/
abstract class AbstractRWKey<T>: ReadWriteProp... | 0 | Kotlin | 1 | 2 | b374346a2a17dca51ecbabc00e058eaeb286ae6f | 961 | View | Apache License 2.0 |
apzkr-pzpi-21-11-kokhanevych-pavlo/Task4-MobileClient/src/main/java/com/animal/hotel/presentation/ui/models/HotelUI.kt | NureKokhanevychPavlo | 810,819,177 | false | {"Kotlin": 196074, "Java": 178994, "C++": 2061} | package com.animal.hotel.presentation.ui.models
import android.os.Parcelable
import com.animal.hotel.domain.models.user.Hotel
import kotlinx.parcelize.Parcelize
@Parcelize
data class HotelUI(
val hotelId: Int,
var name: String,
val region: String,
val district: String,
val city: String,
val st... | 0 | Kotlin | 0 | 0 | 19d108f579c254e76375a995e3ae366bccfe143a | 767 | apzkr-pzpi-21-11-kokhanevych-pavlo | Apache License 2.0 |
KotlinMultiplatform/XFullStack/server/src/main/kotlin/com/pradyotprakash/xfullstack/features/tags/resource/TagsResource.kt | pradyotprksh | 385,586,594 | false | {"Kotlin": 2877106, "Dart": 1066884, "Python": 319400, "Rust": 180589, "Swift": 147761, "C++": 113494, "CMake": 94132, "Go": 45704, "HTML": 21089, "Ruby": 12424, "C": 8043, "Shell": 5675, "PowerShell": 3045, "Nix": 2616, "Makefile": 1480, "JavaScript": 781, "CSS": 588, "Objective-C": 380, "Dockerfile": 32} | package com.pradyotprakash.xfullstack.features.tags.resource
import io.ktor.resources.Resource
import utils.Constants.Paths.Tags.TAGS
import utils.Constants.Paths.Tags.TRENDING
@Resource(TAGS)
class TagsResource {
@Resource(TRENDING)
data class Trending(
private val parent: TagsResource = TagsResourc... | 0 | Kotlin | 11 | 23 | c11b01fb3bdec4af906f390aede1f38eca74b31a | 332 | development_learning | MIT License |
LeetCode/ThreeSum.kt | MartinWie | 702,541,017 | false | {"Kotlin": 65168} | class ThreeSum {
fun threeSum(nums: IntArray): List<List<Int>> {
val targetSum = 0
val resultsList = mutableListOf<List<Int>>()
val numsList = nums.toMutableList()
for (outerNum in numsList) {
for (midNum in numsList.minus(outerNum)) {
for (innerNum in nu... | 0 | Kotlin | 0 | 0 | a2c6172fd8dbd18de7d87a1ee73d730314effed2 | 2,846 | KotlinCodeJourney | MIT License |
app/src/main/java/com/teamaad34/polls/di/AppModule.kt | muhundet | 274,891,779 | true | {"Kotlin": 32629} | package com.teamaad34.polls.di
import com.teamaad34.polls.data.source.IChoiceDataSource
import com.teamaad34.polls.data.source.IQuestionDataSource
import com.teamaad34.polls.data.source.IVoterDataSource
import com.teamaad34.polls.data.source.local.ChoiceLocalDataSource
import com.teamaad34.polls.data.source.local.Ques... | 0 | null | 0 | 0 | 2bc0e087b64664f02a4f25d210f60a1d23441f59 | 2,668 | PollsApp | MIT License |
app/src/main/kotlin/com/konifar/materialcat/_di/ActivityModule.kt | konifar | 40,127,425 | false | null | package com.konifar.materialcat._di
import android.support.v7.app.AppCompatActivity
import dagger.Module
import dagger.Provides
import io.reactivex.disposables.CompositeDisposable
@Module
class ActivityModule(private val activity: AppCompatActivity) {
@ActivityScope
@Provides
fun provideCompositeDisposab... | 12 | Kotlin | 82 | 397 | 6b47aef9fae8ad3de32a897b9dede729b28c1580 | 422 | material-cat | Apache License 2.0 |
app/src/main/java/com/ztgeng/smssenderkotlin/MyFirebaseMessagingService.kt | ZTGeng | 166,071,264 | false | null | package com.ztgeng.smssenderkotlin
import android.net.Uri
import android.util.Log
import com.google.firebase.messaging.FirebaseMessagingService
import com.google.firebase.messaging.RemoteMessage
import org.json.JSONArray
import org.json.JSONObject
import java.util.*
private const val FETCH_SMS_KEY = "fetch_sms"
priva... | 0 | Kotlin | 0 | 1 | 3bdfa3cefa56ca6fee5852e3770d3d675b0473d0 | 2,879 | sms-sender-android | MIT License |
feature-authentication/src/main/java/com/standup/app/authentication/intro/IntroFragment.kt | kevalpatel2106 | 109,775,416 | false | null | /*
* Copyright 2018 <NAME>.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | 18 | Kotlin | 1 | 3 | d4d0313062118521621da5dac90e836f512ddd54 | 2,708 | Stand-Up | Apache License 2.0 |
src/test/kotlin/adventofcode/year2020/Day22CrabCombatSpec.kt | pfolta | 573,956,675 | false | {"Kotlin": 189633, "Dockerfile": 227} | package adventofcode.year2020
import adventofcode.PuzzleBaseSpec
class Day22CrabCombatSpec : PuzzleBaseSpec(306, 291)
| 0 | Kotlin | 0 | 0 | 20b8e19ed81a018b866290c6be6df7ec22afb454 | 120 | AdventOfCode | MIT License |
app/src/main/java/org/p2p/wallet/common/ui/recycler/EndlessScrollListener.kt | p2p-org | 306,035,988 | false | null | package org.p2p.wallet.common.ui.recycler
import androidx.recyclerview.widget.LinearLayoutManager
import androidx.recyclerview.widget.RecyclerView
private const val VISIBLE_THRESHOLD = 11
class EndlessScrollListener(
private val layoutManager: LinearLayoutManager,
private val onYScroll: ((Int) -> Unit)? = nu... | 9 | Kotlin | 14 | 23 | 2badf683d824c57654b12ea0c023f96e1a5d0c19 | 1,325 | key-app-android | MIT License |
src/main/kotlin/io/github/pandier/intellijdiscordrp/listener/RichPresenceFileListener.kt | pandier | 768,334,300 | false | {"Kotlin": 52560} | package io.github.pandier.intellijdiscordrp.listener
import com.intellij.openapi.fileEditor.FileEditorManagerEvent
import com.intellij.openapi.fileEditor.FileEditorManagerListener
import io.github.pandier.intellijdiscordrp.service.DiscordService
class RichPresenceFileListener : FileEditorManagerListener {
overri... | 11 | Kotlin | 0 | 8 | 384d8354c59e1ffdb4053852630d6862e71b7802 | 558 | intellij-discord-rp | MIT License |
framework/src/main/kotlin/pt/isel/SHORT/html/element/Wbr.kt | 48276AntonioMarques | 762,862,793 | false | {"Kotlin": 290899, "CSS": 6361, "JavaScript": 2091, "HTML": 587} | package pt.isel.SHORT.html.element
import pt.isel.SHORT.html.base.attribute.Attribute
import pt.isel.SHORT.html.base.element.HtmlReceiver
import pt.isel.SHORT.html.base.element.Tag
import pt.isel.SHORT.html.base.element.VoidTag
/**
* Represents the HTML <wbr> tag.
* Description: Represents a word break opportunity—... | 0 | Kotlin | 0 | 1 | 0457515ab97855e4f42f7eeacec53f2919908918 | 632 | short | Apache License 2.0 |
workshop/spring-data/redis-examples-demo/src/test/kotlin/io/bluetape4k/workshop/redis/examples/reactive/ReactiveRedisConfiguration.kt | debop | 625,161,599 | false | {"Kotlin": 7504333, "HTML": 502995, "Java": 2273, "JavaScript": 1351, "Shell": 1301, "CSS": 444, "Dockerfile": 121, "Mustache": 82} | package io.bluetape4k.workshop.redis.examples.reactive
import io.bluetape4k.junit5.faker.Fakers
import io.bluetape4k.logging.KLogging
import io.bluetape4k.support.uninitialized
import io.bluetape4k.testcontainers.storage.RedisServer
import io.bluetape4k.workshop.redis.examples.reactive.model.Person
import jakarta.anno... | 0 | Kotlin | 0 | 1 | ce3da5b6bddadd29271303840d334b71db7766d2 | 3,097 | bluetape4k | MIT License |
workshop/spring-data/redis-examples-demo/src/test/kotlin/io/bluetape4k/workshop/redis/examples/reactive/ReactiveRedisConfiguration.kt | debop | 625,161,599 | false | {"Kotlin": 7504333, "HTML": 502995, "Java": 2273, "JavaScript": 1351, "Shell": 1301, "CSS": 444, "Dockerfile": 121, "Mustache": 82} | package io.bluetape4k.workshop.redis.examples.reactive
import io.bluetape4k.junit5.faker.Fakers
import io.bluetape4k.logging.KLogging
import io.bluetape4k.support.uninitialized
import io.bluetape4k.testcontainers.storage.RedisServer
import io.bluetape4k.workshop.redis.examples.reactive.model.Person
import jakarta.anno... | 0 | Kotlin | 0 | 1 | ce3da5b6bddadd29271303840d334b71db7766d2 | 3,097 | bluetape4k | MIT License |
cacheable-compiler/src/main/kotlin/com/moriatsushi/cacheable/compiler/CacheableIrElementTransformer.kt | mori-atsushi | 713,685,225 | false | {"Kotlin": 49048} | package com.moriatsushi.cacheable.compiler
import com.moriatsushi.cacheable.compiler.declaration.CacheableDeclarations
import com.moriatsushi.cacheable.compiler.factory.IrActualFunctionFactory
import com.moriatsushi.cacheable.compiler.factory.IrCacheStoreFieldFactory
import com.moriatsushi.cacheable.compiler.factory.I... | 11 | Kotlin | 2 | 98 | fe25a47fd6194fe33d928fbafef38a44feac6353 | 1,780 | kotlin-cacheable | Apache License 2.0 |
app/api/src/main/java/com/thechance/api/utils/ConvertDate.kt | TheChance101 | 642,833,370 | false | {"Kotlin": 344872, "Dockerfile": 185} | package com.thechance.api.utils
import java.time.LocalDateTime
fun LocalDateTime.convertDateToMillis(): Long {
return this.atZone(java.time.ZoneId.systemDefault()).toInstant().toEpochMilli()
} | 1 | Kotlin | 6 | 22 | aad54550989c7eb8b75c256c36d2d9f795cbb189 | 198 | Honey-Mart-Server | Apache License 2.0 |
feature3-no-ui/src/main/java/com/example/feature3_no_ui/internal/di/NotifierComponent.kt | zagayevskiy | 356,612,646 | false | null | package com.example.feature3_no_ui.internal.di
import com.example.feature3_no_ui.api.NotifierDependencies
import com.example.feature3_no_ui.internal.NotifierImpl
import dagger.Component
@Component(dependencies = [NotifierDependencies::class])
internal interface NotifierComponent {
@Component.Factory
interface... | 0 | Kotlin | 7 | 38 | 68f5a3aa82ac0b219264ee661d4a2f47971dd72b | 432 | android-multimodule-di-example | MIT License |
GuessTheWord-Starter/app/src/main/java/com/example/android/guesstheword/screens/game/GameViewModel.kt | edwardotis | 228,745,768 | true | {"Kotlin": 445557} | package com.example.android.guesstheword.screens.game
import android.os.CountDownTimer
import android.text.format.DateUtils
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.Transformations
import androidx.lifecycle.ViewModel
import timber.log.Timber
class GameView... | 0 | Kotlin | 0 | 0 | b6e3263b6fb2d4e4bdadeb9a2812c7e0c8300f1c | 4,300 | android-kotlin-fundamentals-starter-apps | Apache License 2.0 |
app/src/main/java/com/breezefieldsalesbaishalii/features/dashboard/presentation/api/dashboardApi/DashboardRepoProvider.kt | DebashisINT | 764,495,414 | false | {"Kotlin": 16305966, "Java": 1023113} | package com.breezefieldsalesbaishalii.features.dashboard.presentation.api.dashboardApi
import com.breezefieldsalesbaishalii.features.login.api.LoginApi
import com.breezefieldsalesbaishalii.features.login.api.LoginRepository
/**
* Created by Saikat on 26-Jun-20.
*/
object DashboardRepoProvider {
fun provideDashb... | 0 | Kotlin | 0 | 0 | 1706fa9ae7d427280d4c6c04955a081f9fd99ec7 | 526 | BaishaliiTanksFSM | Apache License 2.0 |
mobile/FeedbackApp/app/src/main/java/br/com/rocketseat/nlw/impulse/feedbackapp/models/Feedback.kt | Henrique-Santos-da-Silva | 533,898,807 | false | null | package br.com.rocketseat.nlw.impulse.feedbackapp.models
import com.google.gson.annotations.SerializedName
import java.io.Serializable
data class Feedback(
val type: String,
val comment: String,
@SerializedName("screenshot") val screenShot: String? = null,
@SerializedName("screenshotbase64") val scree... | 0 | Kotlin | 0 | 1 | ceef8fd5803e8a88f75c7898cd435a6822562cc7 | 366 | nlw-return-impulse-kotlin | MIT License |
app/src/main/java/net/pfiers/osmfocus/osmdroid/overlays/GeometryOverlay.kt | EasyVector | 401,386,836 | true | {"Kotlin": 195964, "Ruby": 583} | package net.pfiers.osmfocus.osmdroid.overlays
import android.graphics.Canvas
import androidx.annotation.ColorInt
import net.pfiers.osmfocus.osmdroid.toOverlay
import org.locationtech.jts.geom.Geometry
import org.locationtech.jts.geom.GeometryFactory
import org.osmdroid.views.Projection
import org.osmdroid.views.overla... | 0 | Kotlin | 0 | 0 | 5e1050578690d1267493720506b44528204b9154 | 838 | osmfocus | Apache License 2.0 |
platform/android/goldengate/RxFitbitGatt/src/main/java/com/fitbit/bluetooth/fbgatt/rx/scanner/DeviceAddressPeripheralScannerFilter.kt | Fitbit | 252,750,226 | false | {"C": 2519513, "Kotlin": 897890, "Swift": 806092, "C++": 805305, "CMake": 121256, "Python": 115131, "Objective-C": 88567, "JavaScript": 20929, "HTML": 13841, "Shell": 2041, "Dockerfile": 1379, "Ruby": 252} | // Copyright 2017-2020 Fitbit, Inc
// SPDX-License-Identifier: Apache-2.0
package com.fitbit.bluetooth.fbgatt.rx.scanner
import com.fitbit.bluetooth.fbgatt.FitbitGatt
/**
* Add a single filter for scanning peripheral by device adddress
*
* @param deviceAddress device address to add for scanning filter
*/
class D... | 14 | C | 32 | 290 | 417aad0080bdc8b20c27cf8fff2455c20e6f3adb | 542 | golden-gate | Apache License 2.0 |
app/src/main/java/dev/lucianosantos/exerciseplanner/data/ExercisesRepository.kt | lucianosantosdev | 579,394,983 | false | null | package dev.lucianosantos.exerciseplanner.repositories
import androidx.lifecycle.LiveData
import dev.lucianosantos.exerciseplanner.data.Exercise
import dev.lucianosantos.exerciseplanner.data.ExerciseDao
class ExercisesRepository(private val exercisesDao: ExerciseDao) : IExercisesRepository {
override suspend fun... | 4 | Kotlin | 0 | 0 | b0f7a10b64fb55a2f2c52267b65935ab580cb37f | 699 | ExercisePlanner | Apache License 2.0 |
aws/sdk-codegen/src/main/kotlin/software/amazon/smithy/rustsdk/customize/ec2/EC2MakePrimitivesOptional.kt | smithy-lang | 308,027,791 | false | {"Rust": 4428309, "Kotlin": 3842117, "Smithy": 151231, "Python": 62946, "Shell": 49728, "TypeScript": 30713, "Dockerfile": 9790, "JavaScript": 5975, "Harbour": 5848, "Makefile": 5633, "CSS": 982, "RenderScript": 116} | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
package software.amazon.smithy.rustsdk.customize.ec2
import software.amazon.smithy.model.Model
import software.amazon.smithy.model.shapes.Shape
import software.amazon.smithy.model.traits.ClientOptionalT... | 300 | Rust | 188 | 504 | 8d8e7ab7aa6c3b388ffb2365a29ab03f87c24507 | 805 | smithy-rs | Apache License 2.0 |
unrealengine/src/main/kotlin/dev/dexsr/gmod/palworld/trainer/ue/gvas/rawdata/WorkerDirector.kt | flammky | 758,310,188 | false | {"Kotlin": 483889} | package dev.dexsr.gmod.palworld.trainer.ue.gvas.rawdata
import dev.dexsr.gmod.palworld.trainer.ue.gvas.*
import dev.dexsr.gmod.palworld.trainer.ue.util.cast
import java.nio.ByteBuffer
import java.nio.ByteOrder
object WorkerDirector
sealed class WorkerDirectorDict() : OpenGvasDict()
class WorkerDirectorData(
val... | 0 | Kotlin | 0 | 4 | 38cb678968e49372a2e304b46a60a2f6310767ed | 2,035 | PalToolbox | Apache License 2.0 |
app/src/main/java/it/andrearosa/kickstarter/dto/Geo.kt | andrea-rosa | 149,014,587 | false | null | package it.andrearosa.kickstarter.dto
data class Geo(
val lat: String,
val lon: String
) | 0 | Kotlin | 0 | 0 | d80652bc50999e78e8a13a7e67a6a219fc6ba640 | 105 | kickstarter-android-kt | MIT License |
src/main/kotlin/com/rhseung/blueprint/tooltip/data/BundleTooltipData.kt | minecraft-stuffs | 675,141,654 | false | {"Kotlin": 163498, "Java": 2919} | package com.rhseung.blueprint.tooltip.data
import net.minecraft.item.BlockItem
import net.minecraft.item.ItemStack
import net.minecraft.item.Items
import net.minecraft.nbt.NbtCompound
import net.minecraft.util.collection.DefaultedList
import java.util.*
import java.util.stream.Stream
/**
* [net.minecraft.item.Bundle... | 0 | Kotlin | 0 | 0 | 56eee22a4ce6b14bd833fab986f19b11c45c3223 | 1,992 | blueprint | MIT License |
android/design/src/main/kotlin/io/chefbook/design/components/switches/Switch.kt | mephistolie | 379,951,682 | false | {"Kotlin": 1334117, "Ruby": 16819, "Swift": 352} | import androidx.compose.animation.core.animateFloatAsState
import androidx.compose.foundation.Canvas
import androidx.compose.foundation.layout.size
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.geometry.CornerRadius
import androidx.compose.ui.geometry.Offset
i... | 0 | Kotlin | 0 | 12 | ddaf82ee3142f30aee8920d226a8f07873cdcffe | 1,365 | chefbook-mobile | Apache License 2.0 |
airwallex/src/main/java/com/airwallex/android/AirwallexSecurityConnector.kt | sihuicai | 343,422,189 | true | {"Kotlin": 383342} | package com.airwallex.android
import android.content.Context
import com.airwallex.android.model.PaymentIntent
import com.threatmetrix.TrustDefender.Config
import com.threatmetrix.TrustDefender.Profile
import com.threatmetrix.TrustDefender.ProfilingOptions
import com.threatmetrix.TrustDefender.TrustDefender
/**
* The... | 0 | null | 0 | 0 | 9a8ea62d5c5d45d09b81ae3cba4141cb76537bf2 | 2,612 | airwallex-payment-android | MIT License |
med-app-android/app/src/main/java/dts/app/med_app_android/Fragment/EditProfileClientFragment.kt | Timo4ka016 | 623,606,328 | false | null | package dts.app.med_app_android.Fragment
import android.os.Bundle
import android.util.Log
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import androidx.navigation.fragment.findNavController
import dts.app.med_app_android.Model.UpdateClie... | 0 | Kotlin | 0 | 2 | e5e399a293063dd144ad3f12ea0d5e164eb373e1 | 3,062 | medical-service-app | Apache License 2.0 |
applications/data-collector-server/src/main/kotlin/io/collective/start/collector/App.kt | obaro | 729,811,598 | false | {"Kotlin": 54775, "CSS": 8759, "FreeMarker": 7381, "JavaScript": 848, "Shell": 556, "Dockerfile": 214, "Procfile": 90} | package io.collective.start.collector
import io.collective.database.getDbCollector
import io.collective.rabbitsupport.*
import io.collective.workflow.WorkScheduler
import io.ktor.application.*
import io.ktor.features.*
import io.ktor.http.*
import io.ktor.response.*
import io.ktor.routing.*
import io.ktor.server.engin... | 0 | Kotlin | 0 | 0 | 7e41573c0eaccf2d069c6cbe2badee7dae0eae68 | 2,644 | Weather5028 | Apache License 2.0 |
app/src/main/java/br/com/programadorthi/anarchtecturetry/feature/blockchain/data/local/BlockchainLocalMapper.kt | programadorthi | 165,963,379 | false | null | package br.com.programadorthi.anarchtecturetry.feature.blockchain.data.local
import br.com.programadorthi.anarchtecturetry.feature.blockchain.domain.Blockchain
import io.reactivex.functions.Function
import java.util.*
class BlockchainLocalMapper : Function<List<BlockchainEntity>, List<Blockchain>> {
override fun... | 0 | Kotlin | 0 | 12 | 3547af32de09f6dbdaf22c921c0e9c63421d327e | 627 | Anarchitecturetry | MIT License |
app/src/main/java/io/github/takusan23/komadroid/ui/theme/Type.kt | takusan23 | 817,421,552 | false | {"Kotlin": 186890} | package io.github.takusan23.komadroid.ui.theme
import androidx.compose.material3.Typography
val AppTypography = Typography()
| 0 | Kotlin | 0 | 0 | f567a3002adc15643b51546e0808dc004c46b8e2 | 127 | KomaDroid | Apache License 2.0 |
commons/src/main/java/com/cyberkey/commons/compose/theme/DynamicTheme.kt | Damayantha | 785,721,725 | false | {"Kotlin": 1621089, "Java": 379060} | package com.cyberkey.commons.compose.theme
import android.content.Context
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.toArgb
import com.cyberkey.commons.compose.extensions.config
import com.cyberkey.commons.compose.theme.model.Theme
import com.cyberkey.commons.extensions.getProperText... | 0 | Kotlin | 0 | 0 | 757f3ab319b9f15b96444143c1dfcd619c703294 | 9,399 | VideoPlayer | The Unlicense |
article_module/src/main/java/com/aj/article_module/adapter/SystemTreeFMAdapter.kt | HoyeZhang | 264,694,354 | false | {"Kotlin": 149612} | package com.aj.article_module.adapter
import android.graphics.drawable.GradientDrawable
import android.os.Bundle
import android.util.TypedValue
import android.view.ViewGroup
import android.widget.TextView
import androidx.databinding.DataBindingUtil
import androidx.databinding.ViewDataBinding
import com.aj.article_modu... | 0 | Kotlin | 0 | 0 | 4a891208699ad4bda6697e10cd960bbf685f840d | 4,205 | wanandroid | Apache License 2.0 |
src/main/kotlin/com/velocitypowered/api/kt/event/connection/ProxyPingEvent.kt | VelocityPowered | 367,863,490 | false | null | package com.velocitypowered.api.kt.event.connection
import com.velocitypowered.api.event.connection.ProxyPingEvent
import com.velocitypowered.api.proxy.connection.InboundConnection
import com.velocitypowered.api.proxy.server.ServerPing
inline val ProxyPingEvent.connection: InboundConnection
get() = connection()
in... | 2 | Kotlin | 6 | 6 | 3f457b9f0a73d086fae7f7d12ec770d8c3cde1c2 | 416 | velocity-language-kotlin | MIT License |
core/src/main/java/com/viniciusjanner/desafio/core/domain/model/EventCheckinResponse.kt | viniciusjanner | 693,962,041 | false | {"Kotlin": 93899, "Java": 115} | package com.viniciusjanner.desafio.core.domain.model
data class EventCheckinResponse(
val code: Int
)
| 0 | Kotlin | 0 | 0 | 6a66a9a4d5a125b9212dfc62bf0325698f4fc502 | 107 | android_desafio_tecnico_empresa_sicredi | Apache License 2.0 |
src/main/kotlin/com/mt/notion/common/request/parent/WithParentRequest.kt | motui | 479,945,371 | false | null | package com.mt.notion.common.request.parent
/**
* Database
*
* @author it.motui
*/
interface WithParentRequest {
val type: ParentType
}
| 0 | Kotlin | 0 | 1 | 80b7b256d8d7c34b15cf79d1e5f539c8ef4736b4 | 145 | notion-sdk-kotlin | MIT License |
app/src/main/java/com/example/matchmentor/view/ProfileAdapter.kt | RodrigoJrDev | 795,927,508 | false | {"Kotlin": 80720} | package com.example.matchmentor.view
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.ImageView
import android.widget.TextView
import androidx.recyclerview.widget.RecyclerView
import com.bumptech.glide.Glide
import com.example.matchmentor.R
import com.exam... | 0 | Kotlin | 0 | 0 | 424b3963b6e230f40d29a6e42bb7f0cf501c842c | 2,614 | MatchTech | MIT License |
app/src/main/java/com/example/chatgpttest/ChatGPTApplication.kt | DaedricKnight | 629,326,747 | false | null | package com.example.chatgpttest
import android.app.Application
import com.example.chatgpttest.di.AppModule
import com.example.chatgpttest.di.ApplicationComponent
import com.example.chatgpttest.di.DaggerApplicationComponent
class ChatGPTApplication : Application() {
lateinit var appComponent: ApplicationComponent
... | 0 | Kotlin | 0 | 0 | 4b4857dfdb355ac0702fc329070850770a531866 | 565 | ChatGPTTest | MIT License |
src/jsMain/kotlin/dev/valvavassori/compose/sweeper/ui/containers/GameMenu.kt | faogustavo | 720,502,762 | false | {"Kotlin": 31505, "CSS": 544, "HTML": 437} | package dev.valvavassori.compose.sweeper.ui.containers
import androidx.compose.runtime.Composable
import dev.valvavassori.compose.sweeper.ui.components.nineeightcss.CloseButton
import dev.valvavassori.compose.sweeper.ui.components.nineeightcss.TitleBar
import dev.valvavassori.compose.sweeper.ui.components.nineeightcss... | 0 | Kotlin | 0 | 0 | 08f610238a60e213407b25c189a4781b5b59db8f | 724 | compose-sweeper | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.