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/wazing/gank/listener/OnItemClickListener.kt | cuixbo | 152,170,205 | false | {"Kotlin": 78852} | package com.wazing.gank.listener
import android.view.View
interface OnItemClickListener<T> {
fun onItemClick(view: View, item: T, position: Int)
fun onItemLongClick(view: View, item: T, position: Int)
open class SimpleOnItemClickListener<T> : OnItemClickListener<T> {
override fun onItemClick(v... | 0 | Kotlin | 6 | 0 | 31e6aaaeb6c5972d419ca2dde35ec30543a6df63 | 462 | Gank | Apache License 2.0 |
app/src/main/java/at/team30/setroute/ui/routes/RouteListViewModel.kt | FlorianHaid | 357,792,817 | true | {"Kotlin": 107941} | package at.team30.setroute.ui.routes
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import at.team30.setroute.infrastructure.IFilterRepository
import at.team30.setroute.infrastructure.IRoutesRepository
import at.team30.setroute.infrastructure.ISettingRe... | 0 | Kotlin | 0 | 0 | d4e3534e3c48ab3ad9a15921928fd7e9507f41f6 | 3,021 | Team_30 | MIT License |
app/src/test/java/com/zsoltbertalan/flickslate/data/repository/MoviesRepositoryTest.kt | herrbert74 | 779,374,786 | false | {"Kotlin": 227177} | package com.zsoltbertalan.flickslate.data.repository
import com.zsoltbertalan.flickslate.common.testhelper.MovieDtoMother
import com.zsoltbertalan.flickslate.common.testhelper.MovieMother
import com.zsoltbertalan.flickslate.data.db.NowPlayingMoviesDataSource
import com.zsoltbertalan.flickslate.data.db.PopularMoviesDat... | 1 | Kotlin | 2 | 6 | 26ed9b8411ad4ff512ee53ac666ac894caba9293 | 3,483 | FlickSlate | Apache License 2.0 |
app/src/main/java/com/papermoon/spaceapp/domain/model/launch/Pad.kt | papermoon-ai | 583,742,280 | false | {"Kotlin": 197546} | package com.papermoon.spaceapp.domain.model.launch
import com.papermoon.spaceapp.data.datasource.local.launch.model.LocalPad
import java.io.Serializable
data class Pad(
val name: String,
val location: String,
val mapUrl: String?,
val wikiUrl: String?
) : Serializable
fun Pad.toLocalObject(): LocalPad... | 0 | Kotlin | 0 | 0 | a0a4eb6bef933f910ef049b549a7200258b1c4d7 | 378 | SpaceExplorer | MIT License |
app/src/main/java/com/emboava/rickmortyapp/network/response/GetCharactersPageResponse.kt | Lucasemboava | 751,610,452 | false | {"Kotlin": 61293} | package com.emboava.rickmortyapp.network.response
data class GetCharactersPageResponse(
val info: PageInfo = PageInfo(),
val results: List<GetCharacterByIdResponse> = emptyList()
)
| 0 | Kotlin | 0 | 0 | 226b2bb9436661e99312d4d86be4966c00165032 | 190 | RickMortyApp | Apache License 2.0 |
CallBlocker/src/androidTest/kotlin/ilchev/stefan/callblocker/test/TestUtilities.kt | StefanIlchev | 184,550,440 | false | null | package ilchev.stefan.callblocker.test
import android.app.Instrumentation
import android.content.pm.PackageManager
import androidx.test.platform.app.InstrumentationRegistry
import androidx.test.uiautomator.By
import ilchev.stefan.callblocker.getPackageInfo
const val TIMEOUT = 5_000L
private fun Instrumentation.execu... | 0 | null | 6 | 9 | eaff893b57062b27ce856e1fe31eec682a79485d | 880 | CallBlocker | Apache License 2.0 |
app/src/main/java/xyz/teamgravity/stateflowflowsharedflowlivedata/MainViewModel.kt | raheemadamboev | 425,570,776 | false | null | package xyz.teamgravity.stateflowflowsharedflowlivedata
import android.app.Application
import androidx.lifecycle.AndroidViewModel
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.viewModelScope
import dagger.hilt.android.lifecycle.HiltViewModel
import kotlinx.corou... | 0 | Kotlin | 1 | 5 | 8ddedd8d40dcfcfcad2e3849b92725664d133981 | 1,641 | stateflow-flow-sharedflow-livedata | Apache License 2.0 |
app/src/main/java/com/huotu/android/mifang/util/ImageCodeUtils.kt | hottech-jxd | 163,493,643 | false | {"Gradle": 5, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 4, "Batchfile": 1, "Proguard": 3, "Java": 25, "XML": 188, "Kotlin": 269, "JSON": 1} | package com.huotu.android.mifang.util
import android.graphics.Bitmap
import android.graphics.Canvas
import android.graphics.Color
import android.graphics.Paint
import java.util.Random
/**
* Created by GT on 2016/2/26.
* 博客地址:http://blog.csdn.net/qq_33078541?viewmode=list
*/
class ImageCodeUtils {
private var... | 1 | null | 1 | 1 | d409993f3900a1ebef52bfd8ea2bbbd7799bce79 | 4,525 | mifang-shopman-android | Apache License 2.0 |
modules/onboarding/src/main/kotlin/edu/stanford/spezi/module/onboarding/onboarding/OnboardingUiState.kt | StanfordSpezi | 787,513,636 | false | {"Kotlin": 1216825, "Ruby": 1769, "Shell": 212} | package edu.stanford.spezi.module.onboarding.onboarding
/**
* A sealed class representing the actions that can be performed on the onboarding screen.
*/
sealed interface OnboardingAction {
data object Continue : OnboardingAction
}
/**
* The UI state for the onboarding screen.
*/
data class OnboardingUiState(
... | 17 | Kotlin | 2 | 8 | 0148cf33a830b868fe8f47bc9c0778d401e33c3a | 556 | SpeziKt | MIT License |
kotlin-asyncapi-examples/kotlin-asyncapi-ktor-example/src/main/kotlin/org/openfolder/kotlinasyncapi/example/ktor/ExampleApplication.kt | asyncapi | 509,940,588 | false | {"Kotlin": 233237} | package org.openfolder.kotlinasyncapi.example.ktor
import io.ktor.server.application.install
import io.ktor.server.engine.embeddedServer
import io.ktor.server.netty.Netty
import org.openfolder.kotlinasyncapi.ktor.AsyncApiPlugin
fun main() {
embeddedServer(Netty, port = 8000) {
install(AsyncApiPlugin) {
... | 1 | Kotlin | 1 | 22 | a8658f2546fdd2fdc9ad7209dd26cabbeb6d84ba | 397 | kotlin-asyncapi | Apache License 2.0 |
src/main/kotlin/br/com/acmattos/octo/event/EventDeserializer.kt | acmattos | 153,927,626 | false | null | package br.com.acmattos.octo.event
import com.fasterxml.jackson.core.JsonParser
import com.fasterxml.jackson.core.JsonProcessingException
import com.fasterxml.jackson.databind.DeserializationContext
import com.fasterxml.jackson.databind.JsonNode
import com.fasterxml.jackson.databind.deser.std.StdDeserializer
import ja... | 2 | Kotlin | 0 | 0 | 4d1e4ab15fe18a1c20bf3e5fb02a4c50b6f82d8e | 1,688 | octoevents | MIT License |
app/src/main/java/nl/tcilegnar/weer9292/repo/ForecastRepo.kt | zmarkan | 316,568,286 | false | null | package nl.tcilegnar.weer9292.repo
import nl.tcilegnar.weer9292.model.DailyForecast
import nl.tcilegnar.weer9292.network.WeatherServices
import nl.tcilegnar.weer9292.network.model.response.Coordinates
import nl.tcilegnar.weer9292.network.model.response.DailyForecastResponse
import javax.inject.Inject
import javax.inje... | 0 | Kotlin | 0 | 0 | af851f2acfeb046d7b68d047e721819441392750 | 842 | Weer9292-bazel-fork | MIT License |
app/src/main/java/dog/snow/androidrecruittest/data/model/RawAlbum.kt | DanielLachacz | 291,033,396 | true | {"Kotlin": 47578} | package dog.snow.androidrecruittest.data.model
import android.os.Parcelable
import androidx.room.Entity
import androidx.room.PrimaryKey
import kotlinx.android.parcel.Parcelize
@Parcelize
@Entity(tableName = "albums")
data class RawAlbum(
@PrimaryKey
val id: Int,
val userId: Int,
val title: String
) : ... | 0 | Kotlin | 0 | 0 | 466ce68977c37994c8640ab6391b6196bb5258d1 | 331 | android-recruitment-test | Apache License 2.0 |
app/src/main/java/com/example/buncisapp/views/auth/LoginActivity.kt | pertamina-kontinental | 680,141,012 | false | null | package com.example.buncisapp.views.auth
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import com.example.buncisapp.R
import com.example.buncisapp.databinding.ActivityLoginBinding
import com.example.buncisapp.databinding.ActivitySplashScreenBinding
import com.ex... | 0 | Kotlin | 0 | 0 | a17ba97a87e3f6d77a15b03699267e007dde44ba | 946 | BuncisMobileApp | MIT License |
src/main/kotlin/de/eternalwings/vima/query/Filter.kt | kumpelblase2 | 269,905,877 | false | {"Kotlin": 181559, "Vue": 134841, "JavaScript": 57737, "Java": 3154, "HTML": 541, "SCSS": 35, "CSS": 34} | package de.eternalwings.vima.query
import de.eternalwings.vima.query.Filter.AndFilter
import de.eternalwings.vima.query.Filter.OrFilter
sealed class Filter {
data class AndFilter(val parts: List<Filter>) : Filter() {
override fun toString(): String {
return parts.joinToString(" AND ", "(", ")"... | 0 | Kotlin | 0 | 0 | 168a342f93648054624415b5114ffb28edd93672 | 2,066 | vimax | MIT License |
app/src/main/kotlin/com/coroutines/sample/adapter/ViewType.kt | KunalChaubal | 263,832,296 | false | null | package com.coroutines.sample.adapter
import androidx.annotation.LayoutRes
/**
* Different view types for [RecyclerView]
*/
interface ViewType<out T> {
@LayoutRes
fun layoutId(): Int
fun data(): T
fun isUserInteractionEnabled() = true
} | 0 | Kotlin | 2 | 6 | a07c8b9d0cbd41dfc8a7ca786bc4d343b254da85 | 260 | CoroutinesSample | MIT License |
feature-navigation/src/main/java/ru/endroad/seasonappraiser/feature/navigation/AppBarFragment.kt | RasM24 | 264,874,942 | false | null | package ru.endroad.seasonappraiser.feature.navigation
import android.content.Context.INPUT_METHOD_SERVICE
import android.view.Menu
import android.view.MenuInflater
import android.view.inputmethod.InputMethodManager
import androidx.appcompat.app.ActionBar
import androidx.appcompat.app.AppCompatActivity
import kotlinx.a... | 0 | Kotlin | 0 | 0 | b71e3bb9d20033ba13d78b2e2d0c1792434f906a | 1,255 | App-SeasonAppraiser | Apache License 2.0 |
src/main/kotlin/com/expansemc/township/plugin/storage/dao/TownDao.kt | ExpanseMC | 292,790,967 | false | null | package com.expansemc.township.plugin.storage.dao
import com.expansemc.township.plugin.storage.table.*
import org.jetbrains.exposed.dao.IntEntity
import org.jetbrains.exposed.dao.IntEntityClass
import org.jetbrains.exposed.dao.id.EntityID
import org.jetbrains.exposed.sql.SizedIterable
import java.time.Instant
class T... | 1 | null | 1 | 1 | 3c02ce5e155519124c5bb4b915d5704253454ce7 | 1,243 | township | MIT License |
presentation/src/main/java/com/thetestcompany/presentation/shopping/ShoppingFragmentPagerAdapter.kt | LjungErik | 166,547,194 | false | null | package com.thetestcompany.presentation.shopping
import android.content.Context
import android.support.v4.app.Fragment
import android.support.v4.app.FragmentManager
import android.support.v4.app.FragmentPagerAdapter
import com.thetestcompany.presentation.R
import com.thetestcompany.presentation.shopping.shoppingcart.S... | 0 | Kotlin | 0 | 0 | a1e5a595183e7199130e0dbc1c8e32a07c011661 | 1,326 | AndroidShoppingApp | MIT License |
jps-plugin/testData/incremental/withJava/other/packageFacadeToClass/useG.kt | JakeWharton | 99,388,807 | true | null | fun useG() {
g()
} | 179 | Kotlin | 5640 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 22 | kotlin | Apache License 2.0 |
hubspot/src/main/kotlin/org/boomevents/hubspot/domain/associations/AssociationObjectType.kt | boomeventsorg | 483,280,591 | false | {"Kotlin": 34077} | package org.boomevents.hubspot.domain.associations
data class AssociationObjectType(
val associationCategory: AssociationCategory,
val associationTypeId: Int
)
| 3 | Kotlin | 2 | 3 | 29b348022bfc5ae20a258248bac0f1c4459876fa | 169 | hubspot | Apache License 2.0 |
android/apollo/src/main/java/io/muun/apollo/domain/errors/PasswordsDontMatchError.kt | muun | 150,655,434 | false | null | package io.muun.apollo.domain.errors
import io.muun.apollo.data.external.UserFacingErrorMessages
class PasswordsDontMatchError:
UserFacingError(UserFacingErrorMessages.INSTANCE.passwordsDontMatch())
| 21 | Java | 21 | 148 | 2c5c2400b8092080dd4edb48bedfb1e4cf13396e | 206 | apollo | MIT License |
void-lib/void-runtime-support/void-spring-support/void-spring-core/src/main/kotlin/cn/toutatis/xvoid/spring/support/enhance/orm/mybatisplus/MybatisPlusMetaObjectHandler.kt | ToutatisGc | 450,618,569 | false | {"Text": 2, "Ignore List": 5, "Markdown": 31, "JSON with Comments": 3, "JSON": 17, "Dotenv": 5, "JavaScript": 23, "HTML": 2, "robots.txt": 2, "SVG": 23, "TSX": 16, "SCSS": 5, "CSS": 14, "YAML": 16, "EditorConfig": 1, "Vue": 172, "Less": 27, "Maven POM": 65, "Java": 313, "Kotlin": 179, "INI": 5, "Java Properties": 2, "X... | package cn.toutatis.xvoid.spring.support.enhance.orm.mybatisplus
import cn.toutatis.xvoid.common.result.DataStatus
import com.baomidou.mybatisplus.core.handlers.MetaObjectHandler
import org.apache.ibatis.reflection.MetaObject
import org.springframework.stereotype.Component
import java.time.LocalDateTime
/**
* @autho... | 0 | Java | 1 | 5 | a2bc2a7393a7b177afa0903ddd4838098d9b1e6c | 1,128 | VOID | Apache License 2.0 |
src/jsMain/kotlin/com/iamincendium/spacetraders/api/client/internal/defaultHttpEngine.kt | incendium | 640,134,679 | false | null | package com.iamincendium.spacetraders.api.client.internal
import io.ktor.client.engine.*
import io.ktor.client.engine.js.*
internal actual fun defaultHttpEngine(): HttpClientEngine = Js.create()
| 0 | Kotlin | 0 | 1 | 90cccee8c0b7bbda34b5b0a8fd962faaf98ebc1a | 197 | space-traders-api | ISC License |
src/test/kotlin/g2201_2300/s2290_minimum_obstacle_removal_to_reach_corner/SolutionTest.kt | javadev | 190,711,550 | false | {"Kotlin": 4901773, "TypeScript": 50437, "Python": 3646, "Shell": 994} | package g2201_2300.s2290_minimum_obstacle_removal_to_reach_corner
import org.hamcrest.CoreMatchers.equalTo
import org.hamcrest.MatcherAssert.assertThat
import org.junit.jupiter.api.Test
internal class SolutionTest {
@Test
fun minimumObstacles() {
assertThat(
Solution().minimumObstacles(arr... | 0 | Kotlin | 20 | 43 | 471d45c60f669ea1a2e103e6b4d8d54da55711df | 942 | LeetCode-in-Kotlin | MIT License |
app/src/androidTest/kotlin/BusScheduleDaoTest.kt | TaniaPodut | 781,599,577 | false | {"Kotlin": 37469} | import android.content.Context
import androidx.room.Room
import androidx.test.core.app.ApplicationProvider
import androidx.test.ext.junit.runners.AndroidJUnit4
import com.example.busschedule.data.AppDatabase
import com.example.busschedule.data.BusSchedule
import com.example.busschedule.data.BusScheduleDao
import kotlin... | 0 | Kotlin | 0 | 0 | 08cb7f22c5d5e9dcfba010e3286f83eac03434dd | 4,231 | BusSchedule | Apache License 2.0 |
fabric/src/main/kotlin/game/LuckyBlockItem.kt | alexsocha | 181,845,813 | false | null | package mod.lucky.fabric.game
import mod.lucky.fabric.FabricLuckyRegistry
import mod.lucky.fabric.MCItemStack
import mod.lucky.fabric.OnlyInClient
import mod.lucky.java.game.LuckyItemValues
import net.fabricmc.fabric.api.item.v1.FabricItemSettings
import net.minecraft.block.Block
import net.minecraft.client.item.Toolt... | 17 | Kotlin | 18 | 29 | c9a3e277a7d5c21ec4f30d5de06ec66961c0054e | 1,210 | luckyblock | FSF All Permissive License |
ktor-http/src/io/ktor/http/URLBuilder.kt | Ekito | 112,228,070 | true | {"Kotlin": 1507570, "Java": 62081, "HTML": 30993, "FreeMarker": 6484, "CSS": 5444, "JavaScript": 3408} | package io.ktor.http
import io.ktor.util.*
class URLBuilder(
var protocol: URLProtocol = URLProtocol.HTTP,
var host: String = "localhost",
var port: Int = protocol.defaultPort,
var user: String? = null,
var password: String? = null,
var encodedPath: String = "/",
... | 0 | Kotlin | 0 | 1 | 6b0fadcc30d3942a9d0ae8f2758c267ab557f8d5 | 1,837 | ktor | Apache License 2.0 |
pleo-antaeus-core/src/main/kotlin/io/pleo/antaeus/core/services/BillingService.kt | kwahome | 221,972,777 | true | {"Kotlin": 57534, "Shell": 861, "Dockerfile": 249} | package io.pleo.antaeus.core.services
import io.pleo.antaeus.core.infrastructure.dto.InvoiceBillingWorkerTaskDTO
import io.pleo.antaeus.core.scheduler.TaskScheduler
import io.pleo.antaeus.models.InvoiceStatus
import io.pleo.antaeus.models.Schedule
import java.time.OffsetDateTime
import mu.KotlinLogging
import org.quar... | 0 | Kotlin | 0 | 0 | 8c2d40bdb394dc8d0507d6e61c34fac3bef1d761 | 5,565 | antaeus | Creative Commons Zero v1.0 Universal |
core/src/main/java/com/nabla/sdk/core/data/patient/SessionLocalDataCleanerImpl.kt | nabla | 478,468,099 | false | null | package com.nabla.sdk.core.data.patient
import com.apollographql.apollo3.ApolloClient
import com.apollographql.apollo3.cache.normalized.apolloStore
import com.nabla.sdk.core.data.auth.TokenLocalDataSource
import com.nabla.sdk.core.domain.boundary.SessionLocalDataCleaner
import kotlinx.coroutines.Dispatchers
import kot... | 0 | Kotlin | 1 | 17 | 4685adde9ccc301183c7b3c10e8dd9127c158a2c | 831 | nabla-android | MIT License |
app/src/main/java/com/hakmar/employeelivetracking/features/pm_store/data/remote/PmStoreApi.kt | enginemre | 584,733,724 | false | null | package com.hakmar.employeelivetracking.features.pm_store.data.remote
import com.hakmar.employeelivetracking.common.data.remote.dto.BaseResponseDto
import com.hakmar.employeelivetracking.common.data.remote.dto.StoreDto
import retrofit2.http.GET
import retrofit2.http.Path
interface PmStoreApi {
@GET("/api/pm-stor... | 0 | Kotlin | 0 | 0 | 5e348e0a5aac89b4e60607a14a4ef9bbd68545a5 | 428 | employee_live_tracking | The Unlicense |
app/src/main/java/net/shadowxcraft/smartlights/ColorView.kt | jaredoconnell | 230,815,009 | false | null | import android.content.Context
import android.graphics.Canvas
import android.graphics.Paint
import android.graphics.Rect
import android.view.View;
import net.shadowxcraft.smartlights.Color
class ColorView(context: Context) : View(context) {
private var currentColor = Color()
private var rectangle: Rect = Rec... | 0 | Kotlin | 0 | 1 | e7beb26a306ba231d3afc628242ce7420881712e | 656 | SmartLights | Apache License 2.0 |
tabby-core/src/jvmTest/kotlin/com/sksamuel/tabby/io/TapTest.kt | xeruf | 339,163,399 | true | {"Kotlin": 122680} | //package com.sksamuel.tabby.io
//
//import io.kotest.core.spec.style.FunSpec
//import io.kotest.matchers.booleans.shouldBeFalse
//import io.kotest.matchers.booleans.shouldBeTrue
//import java.util.concurrent.atomic.AtomicBoolean
//
//class TapTest : FunSpec() {
// init {
//
// test("tap should run the side effe... | 0 | null | 0 | 0 | 38a33811953aeb31dcc215bde370465010f24f31 | 1,256 | tabby | Apache License 2.0 |
src/main/kotlin/me/chill/views/Omnius.kt | omnius-project | 162,356,119 | false | null | package me.chill.views
import javafx.stage.Stage
import me.chill.configuration.ConfigurationManager
import me.chill.controllers.EditorController
import me.chill.styles.*
import tornadofx.App
import tornadofx.find
// TODO: Introduce a custom title bar
class Omnius : App(
Editor::class,
MenuBarStyles::class,
Tool... | 0 | Kotlin | 1 | 13 | db345882bcac605e6fedf23a76f030689f303601 | 669 | Omnius | MIT License |
app/src/main/java/com/arm/peliondevicemanagement/constants/state/workflow/device/DeviceState.kt | ameerirsh | 310,142,487 | true | {"Kotlin": 524618, "Java": 7898} | /*
* Copyright 2020 ARM Ltd.
* SPDX-License-Identifier: Apache-2.0
*
* 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... | 0 | null | 0 | 1 | c32f4e24bdcd9a99df7d98f50427932c4cf2ecd0 | 857 | peliondevicemanagement-for-android | Apache License 2.0 |
src/main/kotlin/uk/gov/justice/digital/hmpps/deliusapi/config/ElasticsearchConfiguration.kt | ministryofjustice | 334,932,480 | false | null | package uk.gov.justice.digital.hmpps.deliusapi.config
import org.elasticsearch.client.RestClient
import org.elasticsearch.client.RestClientBuilder
import org.elasticsearch.client.RestHighLevelClient
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass
import org.springframework.boot.autoconfigure... | 3 | Kotlin | 1 | 4 | 7a09814038a6ba226fb1d82a99ed1f7e904aa014 | 1,454 | hmpps-delius-api | MIT License |
app/src/main/java/lydia/yuan/dajavu/network/TestTokenApiServices.kt | YuanRuQian | 755,563,315 | false | {"Kotlin": 40090} | package lydia.yuan.dajavu.network
import okhttp3.ResponseBody
import retrofit2.http.GET
import retrofit2.http.Header
interface TestTokenApiServices {
@GET("/api/test/user")
suspend fun getUserContent(@Header("accept") type: String = "*/*"): ResponseBody
} | 0 | Kotlin | 2 | 0 | 9d849fd93b3a91e2a9a80079cadac99678d8e782 | 266 | dejavu-shopping-demo | MIT License |
src/main/kotlin/com/github/jozott00/wokwiintellij/services/WokwiSimulatorService.kt | Jozott00 | 737,328,628 | false | {"Kotlin": 117778, "HTML": 2593} | package com.github.jozott00.wokwiintellij.services
import com.github.jozott00.wokwiintellij.execution.processHandler.WokwiProcessHandler
import com.github.jozott00.wokwiintellij.execution.processHandler.WokwiRunProcessHandler
import com.github.jozott00.wokwiintellij.extensions.disposeByDisposer
import com.github.jozot... | 13 | Kotlin | 0 | 6 | 259bda511f0214e15a42d6ea95b0851ac06fb8f5 | 9,222 | wokwi-intellij | MIT License |
feature/authorization/dependencies/src/commonMain/kotlin/io/timemates/app/authorization/dependencies/screens/InitialAuthorizationModule.kt | timemates | 575,537,317 | false | {"Kotlin": 297187} | package io.timemates.app.authorization.dependencies.screens
import io.timemates.app.authorization.dependencies.AuthorizationDataModule
import io.timemates.app.authorization.ui.initial_authorization.mvi.InitialAuthorizationReducer
import io.timemates.app.authorization.ui.initial_authorization.mvi.InitialAuthorizationSt... | 20 | Kotlin | 0 | 20 | d0f772af46f99ff346c2c19ae3305b810d4b007a | 689 | app | MIT License |
app/src/main/java/com/espoch/comedor/data/DisplayNameResponse.kt | ETSA-Labs | 804,126,613 | false | {"Kotlin": 127098, "Java": 7873} | package com.espoch.comedor.data
import com.google.gson.annotations.SerializedName
data class DisplayNameResponse(
@SerializedName("displayName")
val value: String
) | 0 | Kotlin | 0 | 2 | f313565630e65c580c1c62c27f1000cb95d01920 | 174 | _Comedor-Politecnico | Apache License 2.0 |
src/main/kotlin/no/nav/syfo/controller/internad/MoteActionsControllerV2.kt | navikt | 162,450,971 | false | null | package no.nav.syfo.controller.internad
import no.nav.security.oidc.api.ProtectedWithClaims
import no.nav.security.oidc.context.OIDCRequestContextHolder
import no.nav.syfo.api.auth.OIDCIssuer.VEILEDER_AZURE_V2
import no.nav.syfo.api.auth.OIDCUtil.getSubjectInternAzureV2
import no.nav.syfo.api.domain.nyttmoterequest.RS... | 0 | Kotlin | 0 | 0 | 3254124021b01817f8a662e24589da3f2ac1af62 | 2,509 | syfomoteadmin | MIT License |
app/src/main/java/cryptography/biometric/data/api/RetrofitAPIService.kt | dinkar1708 | 228,645,103 | false | {"Kotlin": 67760} | package cryptography.biometric.data.api
import com.google.gson.GsonBuilder
import cryptography.biometric.BuildConfig
import cryptography.biometric.data.DataResult
import cryptography.biometric.ui.main.biometric.data.VerifySignatureRequest
import cryptography.biometric.ui.main.biometric.data.VerifySignatureResponse
imp... | 1 | Kotlin | 0 | 0 | 35a6518bda9fb7b99139468f624d49db5cf72cf0 | 3,300 | biometric-cryptography-android | Apache License 2.0 |
app/src/main/java/cryptography/biometric/data/api/RetrofitAPIService.kt | dinkar1708 | 228,645,103 | false | {"Kotlin": 67760} | package cryptography.biometric.data.api
import com.google.gson.GsonBuilder
import cryptography.biometric.BuildConfig
import cryptography.biometric.data.DataResult
import cryptography.biometric.ui.main.biometric.data.VerifySignatureRequest
import cryptography.biometric.ui.main.biometric.data.VerifySignatureResponse
imp... | 1 | Kotlin | 0 | 0 | 35a6518bda9fb7b99139468f624d49db5cf72cf0 | 3,300 | biometric-cryptography-android | Apache License 2.0 |
app/src/main/java/com/xmartlabs/gong/ui/MainActivityActionEventState.kt | xmartlabs | 258,843,640 | false | {"Kotlin": 90641, "Shell": 5196} | package com.xmartlabs.gong.ui
import androidx.compose.runtime.Immutable
import com.xmartlabs.gong.domain.usecase.SessionType
/**
* Created by mirland on 10/8/21.
*/
sealed class MainActivityEvent
sealed class MainActivityUiAction
@Immutable
data class SplashViewState(val sessionType: SessionType?)
| 8 | Kotlin | 5 | 89 | 5ac14c809c4ebd12e378b3ed66df34adc839e3dc | 305 | gong | MIT License |
app/src/main/java/com/kire/audio/data/repository/TrackRepository.kt | KiREHwYE | 674,992,893 | false | {"Kotlin": 426161} | package com.kire.audio.data.repository
import android.annotation.SuppressLint
import com.kire.audio.data.mapper.toDomain
import com.kire.audio.data.mapper.toEntity
import com.kire.audio.data.model.TrackEntity
import com.kire.audio.data.repository.util.TracksLoading
import com.kire.audio.data.trackDatabase.TrackDao
i... | 0 | Kotlin | 0 | 0 | 5acd059b0ae68d073746c7bf616986bbf14a898b | 6,150 | RE13 | Apache License 2.0 |
web/src/test/java/no/nav/modiapersonoversikt/testutils/WebMvcTestUtils.kt | navikt | 218,512,058 | false | {"Kotlin": 981436, "Java": 515262, "Mustache": 29354, "Shell": 576, "Dockerfile": 414} | package no.nav.modiapersonoversikt.testutils
import org.springframework.http.MediaType
import org.springframework.test.web.servlet.MockMvc
import org.springframework.test.web.servlet.ResultActions
import org.springframework.test.web.servlet.request.MockMvcRequestBuilders
object WebMvcTestUtils {
fun MockMvc.getJs... | 0 | Kotlin | 1 | 3 | 2366d3ec2db58462486f4b0b218dda4efc7683c4 | 558 | modiapersonoversikt-api | MIT License |
domain/src/test/kotlin/no/nav/su/se/bakover/domain/SakTest.kt | navikt | 227,366,088 | false | null | package no.nav.su.se.bakover.domain
import arrow.core.left
import io.kotest.matchers.collections.shouldContainAll
import io.kotest.matchers.shouldBe
import io.kotest.matchers.shouldNotBe
import io.kotest.matchers.types.beOfType
import no.nav.su.se.bakover.common.april
import no.nav.su.se.bakover.common.august
import n... | 4 | Kotlin | 0 | 0 | d23e2f58306b48f4fe21a1c74c38085f4f4ab115 | 31,009 | su-se-bakover | MIT License |
domain/src/test/kotlin/no/nav/su/se/bakover/domain/SakTest.kt | navikt | 227,366,088 | false | null | package no.nav.su.se.bakover.domain
import arrow.core.left
import io.kotest.matchers.collections.shouldContainAll
import io.kotest.matchers.shouldBe
import io.kotest.matchers.shouldNotBe
import io.kotest.matchers.types.beOfType
import no.nav.su.se.bakover.common.april
import no.nav.su.se.bakover.common.august
import n... | 4 | Kotlin | 0 | 0 | d23e2f58306b48f4fe21a1c74c38085f4f4ab115 | 31,009 | su-se-bakover | MIT License |
apps/student/src/androidTest/java/com/instructure/student/ui/pages/UrlSubmissionUploadPage.kt | instructure | 179,290,947 | false | null | /*
* Copyright (C) 2019 - present Instructure, 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 requ... | 2 | Kotlin | 85 | 99 | 1bac9958504306c03960bdce7fbb87cc63bc6845 | 2,286 | canvas-android | Apache License 2.0 |
prefixes-shared/src/main/kotlin/app/simplecloud/plugin/prefixes/shared/LuckPermsGroup.kt | theSimpleCloud | 728,784,970 | false | {"Kotlin": 33787} | package app.simplecloud.plugin.prefixes.shared
import app.simplecloud.plugin.prefixes.api.PrefixesGroup
import net.kyori.adventure.text.Component
import net.luckperms.api.LuckPerms
import net.luckperms.api.model.group.Group
import java.util.*
import java.util.concurrent.CompletableFuture
class LuckPermsGroup(private ... | 0 | Kotlin | 0 | 0 | 365bff6e4fcfc776b3df2b03226d8d51cd5bc145 | 1,286 | prefixes-plugin | Apache License 2.0 |
eudi-wallet-oidc-android/src/main/java/com/ewc/eudi_wallet_oidc_android/models/JwkKey.kt | EWC-consortium | 749,764,479 | false | {"Kotlin": 155109} | package com.ewc.eudi_wallet_oidc_android.models
// Data class representing a JSON Web Key (JWK).
data class JwkKey(
val kty: String,
val kid: String,
val crv: String,
val x: String,
val y: String,
val use: String
) | 0 | Kotlin | 1 | 0 | 6090a2f177590f354fc80b4b5d11a49af4d48e4a | 239 | eudi-wallet-oid4vc-android | Apache License 2.0 |
app/src/main/java/com/github/rezita/homelearning/utils/FillInSentenceExtensionFunctions.kt | rezita | 722,617,292 | false | {"Kotlin": 216702, "JavaScript": 48136} | package com.github.rezita.homelearning.utils
import android.graphics.Color
import android.text.Spannable
import android.text.SpannableStringBuilder
import android.text.style.ForegroundColorSpan
import android.text.style.StrikethroughSpan
import com.github.rezita.homelearning.model.FillInSentence
import com.github.rezi... | 0 | Kotlin | 0 | 0 | e8539948299064137d80ed6ec3ba71523e44fddc | 2,907 | HomeLearning | Apache License 2.0 |
base/src/commonTest/kotlin/com/github/fsbarata/functional/data/identity/IdentityTest.kt | fsbarata | 277,280,202 | false | {"Kotlin": 309214} | package com.github.fsbarata.functional.data.identity
import com.github.fsbarata.functional.control.ComonadLaws
import com.github.fsbarata.functional.control.MonadZipLaws
import com.github.fsbarata.functional.data.FoldableLaws
class IdentityTest:
MonadZipLaws<IdentityContext>,
ComonadLaws<IdentityContext>,
Foldable... | 0 | Kotlin | 2 | 0 | 9f3601b8c0fc26caf1b9303030313983a52cf2d9 | 546 | kotlin-functional | Apache License 2.0 |
app/src/main/java/com/example/alarmko/feature_alarmClock/data/local/AlarmDao.kt | MahdiJamali2004 | 848,197,045 | false | {"Kotlin": 168883} | package com.example.alarmko.feature_alarmClock.data.local
import androidx.room.Dao
import androidx.room.Delete
import androidx.room.Query
import androidx.room.Upsert
import com.example.alarmko.feature_alarmClock.domain.model.AlarmItem
import kotlinx.coroutines.flow.Flow
@Dao
interface AlarmDao {
@Query("SELECT *... | 0 | Kotlin | 0 | 0 | 89353dfe0564ea85d89702afd2f15978ccb7cf65 | 622 | CleanArchitectureAlarmApp | MIT License |
app/src/main/java/com/example/imagesearch/presentation/navigation/Routes.kt | matthiasSchenkDev | 640,989,112 | false | {"Kotlin": 66563} | package com.example.imagesearch.presentation.navigation
object Routes {
const val LIST = "LIST"
const val DETAIL = "DETAIL"
} | 0 | Kotlin | 0 | 0 | e4ec4f1023707d22f563ac4a9cd8e8c509c7d798 | 134 | imagesearch | Apache License 2.0 |
kubernetes/dsl/src/main/kotlin-gen/com/fkorotkov/kubernetes/servicePort.kt | MaTriXy | 129,299,660 | true | {"Kotlin": 237663} | // GENERATED
package com.fkorotkov.kubernetes
import io.fabric8.kubernetes.api.model.IntOrString
import io.fabric8.kubernetes.api.model.extensions.IngressBackend
fun IngressBackend.`servicePort`(block: IntOrString.() -> Unit = {}) {
if(this.`servicePort` == null) {
this.`servicePort` = IntOrString()
}
th... | 0 | Kotlin | 0 | 0 | 6446f7995b9fdf012ba72b380fe7b5ebe11649e2 | 348 | k8s-kotlin-dsl | MIT License |
options.kt | zeitlinger | 615,489,554 | false | {"Kotlin": 45775, "C": 2766} | fun qmkTranslator(args: GeneratorArgs): QmkTranslator {
val tables = readTables(args.configFile.file)
val symbols = readSymbols(tables)
val nonThumbs = getKeyTable(tables.getMulti("Layer").content)
val thumbs = getKeyTable(tables.getMulti("Thumb").content)
val columns = nonThumbs.values.first()[0][0... | 0 | Kotlin | 0 | 1 | d4daad92b6b03ef3631dd69f604550c4255ad01e | 3,807 | keyboard | MIT License |
src/Model/Cart.kt | montanoo | 862,051,695 | false | {"Kotlin": 12369} | package Model
class Cart (val items: MutableList<CartItem> = mutableListOf())
| 0 | Kotlin | 0 | 0 | 2583c0fbd2ee7beac3a3db0751eb810a568542cd | 79 | shopping-cart | Creative Commons Attribution 4.0 International |
solar/src/main/java/com/chiksmedina/solar/broken/videoaudiosound/Microphone3.kt | CMFerrer | 689,442,321 | false | {"Kotlin": 36591890} | package com.chiksmedina.solar.broken.videoaudiosound
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.StrokeCap.Com... | 0 | Kotlin | 0 | 0 | 3414a20650d644afac2581ad87a8525971222678 | 4,964 | SolarIconSetAndroid | MIT License |
app/src/main/java/do_f/com/spotishare/databases/converters/RowTypeConverter.kt | florian-do | 170,795,756 | false | null | package do_f.com.spotishare.databases.converters
import android.arch.persistence.room.TypeConverter
import com.google.gson.Gson
import com.google.gson.reflect.TypeToken
import do_f.com.spotishare.databases.entities.Row
class RowTypeConverter {
@TypeConverter
fun stringToRow(data: String?): List<Row> {
... | 0 | Kotlin | 0 | 0 | f7b72852b46aaba34c53df3979fb13662a5fd73e | 668 | Spotishare | MIT License |
app/src/main/java/com/tunjid/androidx/fragments/RouteFragment.kt | rayworks | 249,845,963 | true | {"Kotlin": 357100, "Java": 77690} | package com.tunjid.androidx.fragments
import android.annotation.SuppressLint
import android.graphics.PorterDuff
import android.os.Bundle
import android.view.MenuItem
import android.view.View
import android.view.ViewGroup
import androidx.appcompat.app.AppCompatDelegate
import androidx.appcompat.app.AppCompatDelegate.MO... | 0 | null | 0 | 0 | 7bcc6bde710cf61db93092075e6abbf47ab83a2b | 7,318 | Android-Extensions | Creative Commons Attribution 3.0 Unported |
src/main/kotlin/ar/edu/itba/ss/rules/Rule.kt | jporsay | 157,558,516 | false | null | package ar.edu.itba.ss.rules
import ar.edu.itba.ss.model.Entity
import ar.edu.itba.ss.model.Type
import ar.edu.itba.ss.model.Universe
import org.apache.commons.math3.geometry.euclidean.threed.Vector3D
abstract class Rule(private val factor: Double) {
fun apply(entity: Entity, neighbors: List<Entity>, universe: Un... | 0 | Kotlin | 1 | 0 | af20cc0125b1b964c2a4b8552bb4546b2dd89832 | 649 | boids | MIT License |
src/main/kotlin/com/github/jomof/kane/impl/visitor/WalkExpr.kt | jomof | 320,425,199 | false | null | package com.github.jomof.kane.impl.visitor
import com.github.jomof.kane.*
import com.github.jomof.kane.impl.*
import com.github.jomof.kane.impl.functions.*
import com.github.jomof.kane.impl.sheet.*
internal fun Expr.visit(f: (expr: Expr) -> Unit) {
f(this)
when (this) {
is Slot,
is MatrixVaria... | 0 | Kotlin | 0 | 0 | f841b79c6f826713a3e1110498cfe38dc4968e64 | 2,438 | kane | Apache License 2.0 |
scripts/src/main/java/io/github/fate_grand_automata/scripts/prefs/IServantEnhancementPreferences.kt | estella2012 | 720,234,144 | false | {"Kotlin": 905461, "Ruby": 714} | package io.github.fate_grand_automata.scripts.prefs
interface IServantEnhancementPreferences {
var shouldLimit: Boolean
var limitCount: Int
} | 0 | Kotlin | 0 | 0 | 660d7db1660332ebb3b14cc1e53b8e6c702b9792 | 151 | FGA | MIT License |
shared/src/commonMain/kotlin/com/compose/multiplatform/pomodoro/domain/usecase/FormatSecondsForTimerUseCase.kt | maximilianproell | 701,691,423 | false | {"Kotlin": 58334, "Swift": 1292, "Shell": 228} | package com.compose.multiplatform.pomodoro.domain.usecase
object FormatSecondsForTimerUseCase {
operator fun invoke(seconds: Int): String {
val minutesText = (seconds / 60).toString().padStart(length = 2, padChar = '0')
val secondsText = (seconds % 60).toString().padStart(length = 2, padChar = '0')... | 0 | Kotlin | 0 | 0 | 7c3d48024f3bf606dcf35e731034799b8c9640b0 | 372 | compose-multiplatform-pomodoro | Apache License 2.0 |
src/main/kotlin/icu/windea/pls/script/codeInsight/completion/ParadoxScriptedVariableNameCompletionProvider.kt | DragonKnightOfBreeze | 328,104,626 | false | {"Kotlin": 3275793, "Java": 165993, "Lex": 43352, "HTML": 24459, "Shell": 2741} | package icu.windea.pls.script.codeInsight.completion
import com.intellij.codeInsight.completion.*
import com.intellij.codeInsight.lookup.*
import com.intellij.openapi.progress.*
import com.intellij.util.*
import icu.windea.pls.core.*
import icu.windea.pls.core.search.*
import icu.windea.pls.core.search.selector.*
impo... | 20 | Kotlin | 4 | 31 | e93a170fbfd486d39333fe9aecda45b52870baa7 | 1,794 | Paradox-Language-Support | MIT License |
app/src/main/java/com/getcode/view/login/SeedDeepLink.kt | code-payments | 723,049,264 | false | {"Kotlin": 1470727, "C": 198685, "C++": 83029, "Java": 51811, "CMake": 2594, "Ruby": 1714, "Shell": 1577} | package com.getcode.view.login
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.size
import androidx.compose.runtime.Composable
import androidx.compose.runtime.LaunchedEffect
import androidx.compose.runtime.collectAsState
impo... | 2 | Kotlin | 10 | 12 | 46d21ee4cda087fe6914cf51e871be16812db041 | 5,253 | code-android-app | MIT License |
app/src/main/java/galaxysoftware/musicplayer/model/LibraryWithSelection.kt | GalaxyDGamer | 143,671,146 | false | null | package galaxysoftware.musicplayer.model
import galaxysoftware.musicplayer.realm.Songs
/**
* Song Model with selection for addToPlaylist
*/
class LibraryWithSelection {
var song: Songs? = null
var isSelected = false
} | 0 | Kotlin | 0 | 0 | ed139670a7e4a5a18ec77b5d4f29f91e08e33955 | 229 | MusicPlayer | Apache License 2.0 |
lilo/src/main/java/com/amrdeveloper/lilo/ast/Statements.kt | AmrDeveloper | 511,256,828 | false | null | /*
* MIT License
*
* Copyright (c) 2022 AmrDeveloper (<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, ... | 0 | Kotlin | 1 | 21 | 6061886162db7108eccb37a3038bda06c3b1c6ee | 6,357 | Turtle | MIT License |
app/src/main/java/email/rumen/simpleandroidchat/api/ApiService.kt | drumen | 507,440,131 | false | {"Kotlin": 20470} | package email.rumen.simpleandroidchat.api
import email.rumen.simpleandroidchat.model.Post
import retrofit2.Response
import retrofit2.http.GET
import retrofit2.http.Path
interface ApiService {
@GET("posts/{id}")
suspend fun getPost(@Path("id") id: Int): Response<Post>
} | 0 | Kotlin | 0 | 0 | 1a1b4619a477042e0737fa38795a33f25e9e57f2 | 279 | Simple-Android-Chat | MIT License |
src/commonMain/kotlin/pcdfEvent/events/obdEvents/obdIntermediateEvents/multiComponentEvents/ParticularMatterEvent.kt | udsdepend | 402,021,310 | false | null | package pcdfEvent.events.obdEvents.obdIntermediateEvents.multiComponentEvents
import pcdfEvent.events.obdEvents.obdIntermediateEvents.OBDIntermediateEvent
import pcdfPattern.PCDFDataPattern
import pcdfPattern.PCDFPattern
class ParticularMatterEvent(
source: String,
timestamp: Long,
bytes: String,
pid:... | 0 | Kotlin | 0 | 0 | 093e4dece50813dcdb4ab93287557a20de0c06ec | 1,687 | pcdf-core | MIT License |
app/src/main/java/com/karyadi/skripsi/ui/pelanggan/detail/MapsRoutePelangganActivity.kt | baccend12dev | 800,437,800 | false | {"Kotlin": 434193} | package com.karyadi.skripsi.ui.pelanggan.detail
import android.Manifest
import android.content.pm.PackageManager
import android.graphics.Color
import android.location.Geocoder
import android.location.Location
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.util.Log
import androi... | 0 | Kotlin | 0 | 0 | eca43b12fce04ade196ff1a9bd99b8d6379d1cd0 | 7,381 | GoTukang-Client | Apache License 2.0 |
camx/src/main/java/com/ktvipin/camx/utils/Extensions.kt | ktvipin27 | 275,391,997 | false | null | /*
* Copyright 2020 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writin... | 0 | Kotlin | 0 | 1 | c555bf73c90db277e16dc1d218ba569bd02e21c8 | 3,286 | CamX | Apache License 2.0 |
app/src/main/java/dev/mcd/untitledcaloriesapp/data/calories/interactor/GetCalorieEntryImpl.kt | jlmcdonnell | 339,825,242 | false | null | package dev.mcd.untitledcaloriesapp.data.calories.interactor
import dev.mcd.untitledcaloriesapp.data.calories.api.CaloriesApi
import dev.mcd.untitledcaloriesapp.domain.calories.interactor.GetCalorieEntry
import dev.mcd.untitledcaloriesapp.domain.calories.interactor.GetCalorieEntry.Result.CalorieEntry
import dev.mcd.un... | 0 | Kotlin | 0 | 1 | e28015812e23c7d1d7ca38207fdeae7179231bdc | 841 | calories-app | The Unlicense |
src/jvmMain/kotlin/MainLayout.kt | gavr123456789 | 561,098,816 | false | null | import androidx.compose.animation.AnimatedVisibility
import androidx.compose.animation.slideInVertically
import androidx.compose.animation.slideOutVertically
import androidx.compose.foundation.*
import androidx.compose.foundation.layout.*
import androidx.compose.material.*
import androidx.compose.material.icons.Icons
i... | 2 | Kotlin | 0 | 0 | abd0738977c9595f9552996411cfc29413342c9f | 5,837 | katana3 | MIT License |
kgl-vulkan/src/jvmMain/kotlin/com/kgl/vulkan/dsls/IndirectCommandsLayoutNVX.kt | BrunoSilvaFreire | 223,607,080 | true | {"Kotlin": 1880529, "C": 10037} | /**
* Copyright [2019] [Dominic Fischer]
*
* 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 agree... | 0 | null | 0 | 0 | 74de23862c29404e7751490331cbafbef310bd63 | 2,994 | kgl | Apache License 2.0 |
src/test/kotlin/org/jetbrains/bio/genome/format/FastaTest.kt | JetBrains-Research | 173,494,429 | false | {"Kotlin": 1223642} | package org.jetbrains.bio.genome.format
import org.jetbrains.bio.genome.Genome
import org.jetbrains.bio.util.bufferedReader
import org.jetbrains.bio.util.withTempFile
import org.junit.Test
import java.util.*
import java.util.stream.Collectors
import kotlin.test.assertEquals
import kotlin.test.assertTrue
import kotlin.... | 1 | Kotlin | 3 | 31 | 1d17507b66b86db047b5aa795c5b2951d027270e | 4,937 | bioinf-commons | MIT License |
app/src/main/java/com/wwt/sharedprefs/second/SecondModule.kt | wwt | 370,795,789 | false | null | package com.wwt.sharedprefs.second
import org.koin.androidx.viewmodel.dsl.viewModel
import org.koin.core.qualifier.named
import org.koin.dsl.module
val secondModule = module {
viewModel {
SecondViewModel(
dataStore = get(),
returningUserKey = get(named("returning-user"))
)
... | 0 | Kotlin | 0 | 6 | 9fcaff4f0c924682bafbde00fd0dd1df0e5ed25a | 327 | testing-android-datastore | Apache License 2.0 |
lib-androidx-wearable/src/main/java/com/google/androidx/wearable/intent/RemoteIntent.kt | outadoc | 304,091,031 | false | null | /*
* Copyright 2020 Baptiste Candellier
*
* 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 appli... | 37 | Kotlin | 7 | 51 | 72019dd36b976d9ec001c3e2829736b2744b982b | 2,662 | home-slide-android | Apache License 2.0 |
app/src/main/java/com/jeeps/gamecollector/remaster/di/ImageCompressorModule.kt | JamesJose7 | 115,309,790 | false | {"Kotlin": 214919, "Java": 105756} | package com.jeeps.gamecollector.remaster.di
import android.content.Context
import com.jeeps.gamecollector.remaster.utils.ImageCompressor
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.android.qualifiers.ApplicationContext
import dagger.hilt.components.SingletonComponent
@M... | 0 | Kotlin | 0 | 0 | bbf548ac6c9d81c1e56a2f5e55746549d43eb82b | 545 | GameCollector | Apache License 2.0 |
app/src/main/java/io/sinzak/android/ui/main/profile/certification/CertificationFragment.kt | SINZAK | 567,559,091 | false | {"Kotlin": 482864} | package io.sinzak.android.ui.main.profile.certification
import android.view.View
import androidx.fragment.app.activityViewModels
import dagger.hilt.android.AndroidEntryPoint
import io.sinzak.android.databinding.FragmentCertificationBinding
import io.sinzak.android.ui.base.BaseFragment
@AndroidEntryPoint
open class Ce... | 0 | Kotlin | 0 | 3 | 3467e8ee8afeb6b91b51f3a454f7010bc717c436 | 949 | sinzak-android | MIT License |
player/events/src/main/java/com/tidal/sdk/player/events/model/NotStartedPlaybackStatistics.kt | tidal-music | 806,866,286 | false | {"Kotlin": 1622960, "Shell": 9249} | package com.tidal.sdk.player.events.model
import androidx.annotation.Keep
import com.tidal.sdk.player.common.model.ProductType
import dagger.assisted.Assisted
import dagger.assisted.AssistedFactory
import dagger.assisted.AssistedInject
import java.util.UUID
@Keep
data class NotStartedPlaybackStatistics @AssistedInjec... | 33 | Kotlin | 0 | 21 | 53d60b85cc8bc9d837c866f26324a6e4d754a276 | 1,694 | tidal-sdk-android | Apache License 2.0 |
Chapter12/src/main/kotlin/chapter12/section2/Buffer.kt | fengzhizi715 | 260,916,306 | false | null | package chapter12.section2
import kotlinx.coroutines.delay
import kotlinx.coroutines.flow.asFlow
import kotlinx.coroutines.flow.buffer
import kotlinx.coroutines.flow.collect
import kotlinx.coroutines.flow.onEach
import kotlinx.coroutines.flow.onStart
import kotlinx.coroutines.runBlocking
import kotlin.system.measureTi... | 2 | Kotlin | 1 | 4 | 6ea5c854aad5fd13e02eb20688b8f4696cad0613 | 1,071 | Advance-Kotlin-Tutorials | Apache License 2.0 |
cupertino-icons-extended/src/commonMain/kotlin/io/github/alexzhirkevich/cupertino/icons/outlined/ShareplaySlash.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 | 5,345 | compose-cupertino | Apache License 2.0 |
app/src/main/java/com/dan/school/authentication/SignInFragment.kt | brookmg | 337,460,093 | true | {"Kotlin": 295512, "Java": 519} | package com.dan.school.authentication
import android.content.Context
import android.os.Bundle
import android.text.Editable
import android.text.TextWatcher
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import com.dan.school.R
import com.d... | 0 | null | 0 | 1 | e5ed89e60f8534ae90d6ee7684efe77bcb765a62 | 4,238 | School | MIT License |
plugin/shape-functions/src/test/kotlin/shapeTyping/shapefunctions/MatmulTest.kt | facebookresearch | 498,810,868 | false | null | /*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
package shapeTyping.shapefunctions
import shapeTyping.analysis.*
import org.junit.Test
import shapeTyping.analysis.exceptions.ST... | 15 | Kotlin | 2 | 8 | b80b7484b8f1033fbef3e76a401b7a0237a35e05 | 3,161 | shapekt | MIT License |
androidApp/src/main/java/com/example/depressionapp/android/log_list/LogListViewModel.kt | itzalpha | 584,945,231 | false | null | package com.example.depressionapp.android.log_list
import dagger.hilt.android.lifecycle.HiltViewModel
import kotlinx.coroutines.flow.SharingStarted
import kotlinx.coroutines.flow.combine
import kotlinx.coroutines.flow.stateIn
import kotlinx.coroutines.launch
import javax.inject.Inject
import androidx.lifecycle.SavedSt... | 0 | Kotlin | 0 | 0 | c8d60eed64180450af4cb27530f379355565c209 | 1,961 | LendingLogKMM | Apache License 2.0 |
client/PathFinder/app/src/main/java/com/dijkstra/pathfinder/navigation/NavGraph.kt | PathFinder-SSAFY | 643,691,193 | false | null | package com.dijkstra.pathfinder.navigation
import androidx.compose.runtime.Composable
import androidx.navigation.NavHostController
import androidx.navigation.compose.NavHost
import androidx.navigation.compose.composable
import com.dijkstra.pathfinder.screen.main.MainScreen
import com.dijkstra.pathfinder.screen.nfc_sta... | 1 | Kotlin | 3 | 1 | 481f5c8f967f96293c25274ec1ef851ecc49d6bd | 1,103 | PathFinder | Apache License 2.0 |
AndroidScaffold/security-java/src/main/java/com/hipoom/scaffold/security/java/SHA256Utils.kt | hipoom | 403,984,711 | false | {"Kotlin": 102121} | package com.hipoom.scaffold.security.java
import java.io.File
import java.io.InputStream
import java.security.MessageDigest
/**
* SHA-256 相关的工具类。
*
* @author ZhengHaiPeng
* @since 2021年12月10日23:53:10
*/
class SHA256Utils {
/**
* 对字节数组计算其 SHA-256 摘要。
*/
fun digest(bytes: ByteArray): ByteArray {... | 0 | Kotlin | 0 | 1 | 0cea380823aa49a65be3d81f18c1b52f16de6d6f | 2,342 | AndroidScaffold | Apache License 2.0 |
src/main/kotlin/me/luna/trollhack/util/combat/CrystalUtils.kt | NotMonika | 509,752,527 | false | {"Kotlin": 2035807, "Java": 168054, "GLSL": 91098} | package me.luna.trollhack.util.combat
import me.luna.trollhack.event.SafeClientEvent
import me.luna.trollhack.manager.managers.EntityManager
import me.luna.trollhack.util.extension.fastFloor
import me.luna.trollhack.util.math.VectorUtils.setAndAdd
import me.luna.trollhack.util.world.isLiquid
import me.luna.trollhack.u... | 0 | Kotlin | 0 | 0 | 543ac418b69e0c7359cde487e828b4c3d2260241 | 7,593 | MorisaHack | Do What The F*ck You Want To Public License |
Sprint_11/mobile_application/app/src/main/java/com/example/aerosense_app/ui/History.kt | PatrickOrjieh | 708,475,518 | false | {"Kotlin": 558867, "Python": 267965, "HTML": 58745, "JavaScript": 25878, "CSS": 15181} | package com.example.aerosense_app.ui
import android.util.Log
import androidx.compose.foundation.Canvas
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.offset
import androidx.compose.foundation.layout.padding
import androidx.c... | 1 | Kotlin | 0 | 1 | b7008773738e6cc52b3849d62ad49187047d0661 | 14,001 | life-sync | MIT License |
modules/ktorium-stdlib/src/commonTest/kotlinX/CharSequenceTest.kt | ktorium | 316,943,260 | false | {"Kotlin": 80070, "JavaScript": 203} | package org.ktorium.kotlin.stdlib
import org.ktorium.kotlin.ExperimentalKtoriumAPI
import kotlin.test.Test
import kotlin.test.assertFalse
import kotlin.test.assertTrue
@ExperimentalKtoriumAPI
internal class CharSequenceTest {
@Test
fun isNumeric_validNumber_returnsTrue() {
assertTrue("123".isNumeric(... | 0 | Kotlin | 0 | 0 | c311f687175ae4d0732645f59e9c3a39499a521e | 436 | ktorium-kotlin | Apache License 2.0 |
app/src/main/java/ir/hpanahi/androidskills/data/models/PexelsVideoUser.kt | hpanahiird | 385,550,274 | false | null | package ir.hpanahi.androidskills.data.models
data class PexelsVideoUser(
val id: Int,
val name: String,
val url: String
) | 0 | Kotlin | 0 | 0 | fe5f9b46af4684fc3517a5835076b0fc76c9cb01 | 134 | Android-Skills | Apache License 2.0 |
coil-sample/src/main/java/coil/sample/MainViewModel.kt | mikepenz | 204,665,417 | true | {"Kotlin": 289802, "IDL": 2767, "Shell": 2591} | package coil.sample
import android.app.Application
import android.graphics.Color
import androidx.lifecycle.AndroidViewModel
import androidx.lifecycle.MutableLiveData
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.SupervisorJob
import kotlinx.coroutines.cancel
i... | 0 | Kotlin | 0 | 2 | ea70882e982a9c5fdd2169e293024861c18fa3b4 | 1,669 | coil | Apache License 2.0 |
app/src/main/java/dog/snow/androidrecruittest/data/db/ItemDao.kt | MMarkiz | 186,463,598 | true | {"Kotlin": 21445} | package dog.snow.androidrecruittest.data.db
import androidx.lifecycle.LiveData
import androidx.room.Dao
import androidx.room.Insert
import androidx.room.OnConflictStrategy
import androidx.room.Query
/**
* author marcinm on 2019-05-14.
*/
@Dao
interface ItemDao {
@Insert(onConflict = OnConflictStrategy.REPLACE)
f... | 0 | Kotlin | 0 | 0 | d382ee1f0ee626ce36a66ef1ad40100df93e053c | 484 | android-recruitment-test | Apache License 2.0 |
code/prototype/app/src/main/kotlin/cs4k/prototype/broker/option3/InboundConnection.kt | CrossStream-for-Kotlin | 772,012,792 | false | {"Kotlin": 463570, "TypeScript": 4358, "Shell": 822, "HTML": 185} | package cs4k.prototype.broker.option3
import java.nio.channels.AsynchronousSocketChannel
/**
* Represents all information about inbound connection with a [Neighbor], i.e., the connection to receive messages.
*
* @property socketChannel The socket channel to receive messages.
*/
data class InboundConnection(
v... | 0 | Kotlin | 0 | 0 | abfed0377c2c5afa5964e8c9a48cb6cba94c25a6 | 366 | cs4k-experiences | MIT License |
common/src/commonMain/kotlin/nl/vanparerensoftwaredevelopment/saltthepassmanager/common/ext/EnumExt.kt | EwoudVanPareren | 682,550,040 | false | {"Kotlin": 145914} | package nl.vanparerensoftwaredevelopment.saltthepassmanager.common.ext
/**
* Get the next enum value. If this is the last enum value,
* wrap around and get the first value again.
*/
inline fun <reified T: Enum<T>> T.nextEnumValue(): T {
val values = enumValues<T>()
return values[(ordinal + 1) % values.size]... | 9 | Kotlin | 0 | 0 | 3c64a1dddb62b6498ad06a19f59b27c33c6521b6 | 322 | SaltThePassManager | MIT License |
bugzilla-common/src/commonMain/kotlin/io/github/vlsi/bugzilla/dto/BugStatus.kt | vlsi | 512,808,236 | false | {"Kotlin": 128698, "HTML": 416} | package io.github.vlsi.bugzilla.dto
import kotlinx.serialization.Serializable
@Serializable
data class BugStatus(
val value: String,
val isOpen: Boolean,
)
| 0 | Kotlin | 0 | 1 | d085f946868c1c1e5b6fe5ee5762c0922eaacdac | 166 | bugzilla2github | Apache License 2.0 |
graphglue-core/src/main/kotlin/io/github/graphglue/connection/GraphglueConnectionConfiguration.kt | graphglue | 436,856,727 | false | {"Kotlin": 344000, "MDX": 27617, "CSS": 3406, "JavaScript": 3225, "HTML": 3030} | package io.github.graphglue.connection
import com.expediagroup.graphql.generator.scalars.ID
import io.github.graphglue.connection.filter.TypeFilterDefinitionEntry
import io.github.graphglue.connection.filter.definition.NodePropertyFilterDefinition
import io.github.graphglue.connection.filter.definition.NodeSetProperty... | 0 | Kotlin | 2 | 2 | a6bd87cda00156f489e61cbb4d1a514b8a85c3de | 5,562 | graph-glue | Apache License 2.0 |
app/src/main/java/com/alvefard/yify/presentation/common/ux/screennavigator/ScreenNavigator.kt | lucas-dev | 212,798,042 | false | {"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "Kotlin": 125, "XML": 79, "Java": 1} | package com.alvefard.yify.presentation.common.ux.screennavigator
import com.alvefard.yify.domain.model.Movie
interface ScreenNavigator {
fun presentMainScreen()
fun toLatestMoviesPage()
fun toPopularMoviesPage()
fun toTopRatedMoviesPage()
fun toDetailsPage(movie: Movie)
fun toSearchPage()
... | 0 | Kotlin | 1 | 2 | 4cd051e2da931cc650b718d263c6a3e8eb52b7f4 | 468 | yts.android | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.