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/dokaLocal/ui/screens/settings/SettingsScreen.kt | Jocey3 | 802,480,899 | false | {"Kotlin": 175351} | package com.dokaLocal.ui.screens.settings
import androidx.compose.foundation.Image
import androidx.compose.foundation.background
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
impo... | 0 | Kotlin | 0 | 0 | e0d4adee56e221865a2d07231b4509ef8a2bc186 | 8,467 | DOKA | FSF All Permissive License |
src/main/kotlin/io/github/mellda1024/rta/core/rofl/Rofl.kt | MellDa1024 | 612,876,967 | false | null | package io.github.mellda1024.rta.core.rofl
import java.io.File
import java.io.FileInputStream
import java.io.FileWriter
import java.io.IOException
import java.nio.charset.StandardCharsets
import java.nio.file.Files
import java.nio.file.Paths
import java.nio.file.attribute.BasicFileAttributes
import java.text.SimpleDat... | 0 | Kotlin | 0 | 0 | fe73dd9659c37881ca516e5e6ee3afe2057c6c63 | 3,412 | ReplayToolAdvanced | Apache License 2.0 |
Barlom-Domain-JVM/src/main/kotlin/o/barlom/domain/metamodel/api/edges/UndirectedEdgeTypeInheritance.kt | martin-nordberg | 82,682,055 | false | null | //
// (C) Copyright 2017-2018 <NAME>
// Apache 2.0 License
//
package o.barlom.domain.metamodel.api.edges
import o.barlom.domain.metamodel.api.vertices.AbstractElement
import o.barlom.domain.metamodel.api.vertices.UndirectedEdgeType
import x.barlom.infrastructure.uuids.Uuid
/**
* Interface for Barlom undirected edg... | 0 | Kotlin | 0 | 0 | 337b46f01f6eec6dfb3b86824c26f1c103e9d9a2 | 1,008 | ZZ-Barlom | Apache License 2.0 |
sample/src/main/kotlin/com/github/elment/sample/ui/case1/Case1Screen.kt | ZharovVV | 781,962,006 | false | {"Kotlin": 40970} | package com.github.elment.sample.ui.case1
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.fillMaxSize
import androidx.compose.f... | 0 | Kotlin | 0 | 1 | 383201372841195e6d8dcd915bc86f8d9afc5de2 | 4,419 | Elment | Apache License 2.0 |
src/main/kotlin/no/nav/syfo/infrastructure/kafka/ExpiredVarselSerializer.kt | navikt | 554,767,872 | false | {"Kotlin": 507929, "Dockerfile": 226} | package no.nav.syfo.infrastructure.kafka
import no.nav.syfo.infrastructure.kafka.domain.ExpiredVarsel
import no.nav.syfo.util.configuredJacksonMapper
import org.apache.kafka.common.serialization.Serializer
class ExpiredVarselSerializer : Serializer<ExpiredVarsel> {
private val mapper = configuredJacksonMapper()
... | 3 | Kotlin | 1 | 0 | 762ed5b7d0f5ac463887c13cbe375279d79e25fb | 438 | isaktivitetskrav | MIT License |
CustomTagView/src/main/java/amin/rz3/customtagview/Click.kt | aminrz3 | 454,990,610 | false | null | package amin.rz3.customtagview
import android.text.Spanned
import android.text.style.ClickableSpan
import android.view.View
import android.widget.TextView
class Click(val clickCallback: ClickCallback):ClickableSpan() {
override fun onClick(v: View) {
val text = (v as TextView).text
val s = text as... | 0 | Kotlin | 0 | 0 | 5eb38c9bb7af9afa0295b46b590e56dbb82b258e | 479 | CustomTagView | MIT License |
app/src/main/java/com/ybh/alarm/lostark/utils/DatabaseManager.kt | Hot6ix | 160,517,270 | false | null | package com.ybh.alarm.lostark.utils
import android.content.Context
import android.database.sqlite.SQLiteDatabase
import android.database.sqlite.SQLiteOpenHelper
class DatabaseManager(context: Context): SQLiteOpenHelper(context, DB_NAME, null, DB_VERSION) {
override fun onCreate(db: SQLiteDatabase) {
db.e... | 0 | Kotlin | 0 | 0 | a30d59974be9083e1a4436be1cd2d47a991babfe | 1,075 | IslandTimer | Apache License 2.0 |
src/boj_10870/Kotlin.kt | devetude | 70,114,524 | false | {"Java": 563470, "Kotlin": 54466} | package boj_10870
fun main() {
val n = readln().toInt()
println(fibonacci(n))
}
fun fibonacci(n: Int): Int {
if (n <= 1) return n
return fibonacci(n = n - 2) + fibonacci(n = n - 1)
}
| 0 | Java | 7 | 20 | 1a42ce0351c5fbf71b14ba053978b5bb3b98e855 | 203 | BOJ-PSJ | Apache License 2.0 |
ktor-http/src/io/ktor/content/IncomingContent.kt | tetrafolium | 125,982,972 | false | null | package io.ktor.content
import io.ktor.http.*
import kotlinx.coroutines.experimental.io.*
import kotlinx.coroutines.experimental.io.jvm.javaio.*
import kotlinx.io.pool.*
import kotlinx.io.streams.*
import java.io.*
import java.nio.charset.*
@Deprecated("Use receive<ByteReadChannel>(), receive<MultiPartData>() or rece... | 0 | Kotlin | 0 | 0 | 4d125665824f5aa41c95dee13e76e06bc87a4fb6 | 1,248 | ktor | Apache License 2.0 |
core-ui/src/main/java/de/niklasbednarczyk/nbweather/core/ui/icons/NBIconButtonView.kt | NiklasBednarczyk | 529,683,941 | false | {"Kotlin": 1265250} | package de.niklasbednarczyk.nbweather.core.ui.icons
import androidx.compose.material3.IconButton
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
@Composable
fun NBIconButtonView(
modifier: Modifier = Modifier,
icon: NBIconItem,
enabled: Boolean = true,
onClick: () -> Uni... | 12 | Kotlin | 0 | 1 | 61c8521c434881d615d76e4f277f48d37667d50c | 530 | NBWeather | MIT License |
app/src/main/java/com/tarapogancev/pushapp/ui/StartExerciseFragment.kt | tara-pogancev | 560,429,028 | false | null | package com.tarapogancev.pushapp.ui
import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import com.tarapogancev.pushapp.MainActivity
import com.tarapogancev.pushapp.databinding.FragmentStartExerciseBinding
import com.t... | 0 | Kotlin | 0 | 0 | 935272275b6722f5c75b74a7d0cf4fbd6639751b | 1,275 | android-push-app | MIT License |
app/src/main/java/com/chocolate/triviatitans/presentation/screens/quiz_screen/word_wise/view_model/BackPress.kt | team-chocolate-cake | 661,943,976 | false | null | package com.chocolate.triviatitans.presentation.screens.quiz_screen.word_wise.view_model
sealed class BackPress {
object Idle : BackPress()
object InitialTouch : BackPress()
}
| 0 | Kotlin | 3 | 1 | 94e74e9943f25d94a64311d898baf4b07fabfc63 | 185 | TriviaTitans | MIT License |
shared/src/iosMain/kotlin/util/Graphic.ios.kt | vinceglb | 628,619,356 | false | {"Kotlin": 206592, "Swift": 954, "Shell": 228} | package util
import androidx.compose.ui.graphics.Path
import androidx.compose.ui.graphics.asSkiaPath
actual fun Path.asPlatformPathRewind() {
this.asSkiaPath().rewind()
}
| 2 | Kotlin | 2 | 93 | 7240671bdd5e6b74ff247f7443f3e996e995f634 | 177 | ComposeAI | Apache License 2.0 |
androidtweaks_androidx/src/main/java/com/charlie/androidtweaks/shake/TweakShakeService.kt | charlie-captain | 157,821,589 | false | null | package com.charlie.androidtweaks.shake
import android.app.Service
import android.content.Context
import android.content.Intent
import android.hardware.Sensor
import android.hardware.SensorEvent
import android.hardware.SensorEventListener
import android.hardware.SensorManager
import android.os.Handler
import android.o... | 0 | Kotlin | 0 | 2 | 11706be9eb6af28e4ba3d44cd13dfad6e8a350e0 | 3,786 | AndroidTweaks | MIT License |
app/src/main/java/com/silverpants/instantaneous/di/FirebaseModule.kt | jeevansurendran | 329,681,176 | false | null | package com.silverpants.instantaneous.di
import com.google.firebase.auth.FirebaseAuth
import com.google.firebase.auth.ktx.auth
import com.google.firebase.crashlytics.FirebaseCrashlytics
import com.google.firebase.crashlytics.ktx.crashlytics
import com.google.firebase.dynamiclinks.FirebaseDynamicLinks
import com.google... | 0 | Kotlin | 1 | 1 | 5c7665cb87e19a3c3c84ab046e58bbd33d21cf51 | 1,832 | instantaneous | MIT License |
src/main/kotlin/ink/ptms/ovile/api/ActiveRegionBlock.kt | TabooLib | 487,524,125 | false | {"Kotlin": 62778} | package ink.ptms.ovile.api
import java.util.function.Supplier
/**
* Ovile
* ink.ptms.ovile.api.ActiveRegionBlock
*
* @author 坏黑
* @since 2022/5/2 15:42
*/
class ActiveRegionBlock(val block: RegionBlock, val originBlock: Supplier<RegionBlock>) | 0 | Kotlin | 0 | 4 | 81a9b960af55c26cbf89dc3bdc6150772ec8a34a | 250 | ovile | Creative Commons Zero v1.0 Universal |
kotlin/src/main/kotlin/net/timafe/angkor/repo/PostRepository.kt | tillkuhn | 219,713,329 | false | {"Kotlin": 345721, "TypeScript": 332316, "Go": 129811, "HTML": 82105, "HCL": 70313, "Makefile": 50746, "Shell": 31786, "SCSS": 31379, "Dockerfile": 4350, "JavaScript": 2537, "PLpgSQL": 2280, "CSS": 1037} | package net.timafe.angkor.repo
import net.timafe.angkor.domain.Post
import org.springframework.data.repository.CrudRepository
import java.util.*
/**
* Crud Operations for Videos
* For complex Searches, use LocationSearch
*/
interface PostRepository : CrudRepository<Post, UUID>{
fun findOneByExternalId(externa... | 26 | Kotlin | 4 | 9 | f587e7db07f54483ce929f04391ed22f99cf97c9 | 352 | angkor | Apache License 2.0 |
composeApp/src/commonMain/kotlin/MainScreen.kt | Buffersolve | 798,939,755 | false | {"Kotlin": 95049, "Swift": 668} | import androidx.compose.foundation.ExperimentalFoundationApi
import utils.Gray
import utils.GrayNavNar
import utils.Main
import androidx.compose.foundation.background
import androidx.compose.foundation.clickable
import androidx.compose.foundation.combinedClickable
import androidx.compose.foundation.interaction.MutableI... | 0 | Kotlin | 0 | 0 | c4eb08daf6be65a08c11db1450d6fc6675144cb0 | 7,937 | PriceNinja | MIT License |
common/src/main/kotlin/tech/figure/aggregate/common/models/AmountDenom.kt | FigureTechnologies | 395,683,487 | false | null | package tech.figure.aggregate.common.models
data class AmountDenom (
val amount: String,
val denom: String
)
| 1 | Kotlin | 0 | 5 | b6a2d477567507e048953728b315276b45dfd4da | 118 | aggregate-service | Apache License 2.0 |
modules/nbt/src/main/kotlin/io/heartpattern/spikot/nbt/NBTWrappers.kt | Spikot | 262,074,229 | false | null | /*
* Copyright (c) 2020 HeartPattern and Spikot authors
*
* 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, mo... | 0 | Kotlin | 0 | 14 | ea00c92973dea15175c42336ec059389655499d7 | 6,338 | Spikot | MIT License |
app/src/main/java/com/kire/audio/presentation/ui/player_screen_ui/dialog/dialog_info/DialogInfo.kt | KiREHwYE | 674,992,893 | false | {"Kotlin": 297464} | package com.kire.audio.presentation.ui.player_screen_ui.dialog.dialog_info
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Padding... | 0 | Kotlin | 0 | 0 | 2c9a85d3a10d06b7c5ffd058d60faca91211498f | 11,725 | Meowdio | Apache License 2.0 |
core-api/src/main/java/com/gifft/core/api/di/FragmentKey.kt | SIDOVSKY | 265,333,377 | false | null | package com.gifft.core.api.di
import androidx.fragment.app.Fragment
import dagger.MapKey
import kotlin.reflect.KClass
@Target(AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER)
@Retention(value = AnnotationRetention.RUNTIME)
@MapKey
annotation class FragmentKey(val value: K... | 0 | Kotlin | 0 | 1 | 890f89317d59dff6dac6435fe1aaf26637ad2f29 | 341 | Gifft | Apache License 2.0 |
app/src/main/java/pointlessgroup/pointless/wifi/WifiScanReceiver.kt | brunodles | 110,770,735 | false | null | package pointlessgroup.pointless.wifi
import android.content.BroadcastReceiver
import android.content.Context
import android.content.Intent
import android.content.IntentFilter
import android.net.wifi.WifiManager
import android.util.Log
class WifiScanReceiver : BroadcastReceiver() {
override fun onReceive(contex... | 0 | Kotlin | 0 | 0 | 501c26dee22f527c5113d36daf483a1582ad3209 | 1,216 | pointless | MIT License |
Todo app/app/src/main/java/com/android/todoapp/ui/add/AddFragment.kt | NishadiSS | 729,465,945 | false | {"Kotlin": 22414} | package com.android.todoapp.ui.add
import android.os.Bundle
import android.text.TextUtils
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.ArrayAdapter
import android.widget.Toast
import androidx.fragment.app.viewModel... | 0 | Kotlin | 0 | 0 | c432cb06dea89d89913791ef56d87cb7ef248777 | 2,239 | TODO-Application-Android-studio-Kotlin | MIT License |
kotlin-mui-icons/src/main/generated/mui/icons/material/CorporateFareSharp.kt | JetBrains | 93,250,841 | false | null | // Automatically generated - do not modify!
@file:JsModule("@mui/icons-material/CorporateFareSharp")
@file:JsNonModule
package mui.icons.material
@JsName("default")
external val CorporateFareSharp: SvgIconComponent
| 10 | Kotlin | 145 | 983 | 7ef1028ba3e0982dc93edcdfa6ee1edb334ddf35 | 218 | kotlin-wrappers | Apache License 2.0 |
src/main/kotlin/me/jraynor/Bpm.kt | MrManiacc | 349,858,377 | false | null | package me.jraynor
import me.jraynor.internal.Listeners
import me.jraynor.internal.Registry
import net.minecraftforge.fml.common.Mod
import org.apache.logging.log4j.LogManager
import thedarkcolour.kotlinforforge.forge.FORGE_BUS
import thedarkcolour.kotlinforforge.forge.MOD_BUS
/**
* Main mod class. Should be an `obj... | 8 | Kotlin | 3 | 15 | 4334badd181215dccecb4f62be1f565ad8af5b09 | 877 | Blueprints | MIT License |
tracy/src/main/kotlin/io/polyakov/tracy/action/TraceAction.kt | p01yak0v | 596,203,365 | false | null | package io.polyakov.tracy.action
internal enum class TraceAction {
START, STOP, CANCEL, ENRICH
}
| 0 | Kotlin | 0 | 0 | cfc9818b55b154cff29c716dcd4184d306bbd817 | 102 | tracy | Apache License 2.0 |
app/src/main/java/com/breezebengaldetergentproducts/features/leaveapplynew/ClickonStatus.kt | DebashisINT | 863,405,964 | false | {"Kotlin": 15991783, "Java": 1032672} | package com.breezebengaldetergentproducts.features.leaveapplynew
import com.breezebengaldetergentproducts.features.addAttendence.model.Leave_list_Response
interface ClickonStatus {
fun OnApprovedclick(obj: Leave_list_Response)
fun OnRejectclick(obj: Leave_list_Response)
} | 0 | Kotlin | 0 | 0 | 0cd8b29158b494893e3d7be77b87a725e3d49abf | 283 | BengalDetergentProducts | Apache License 2.0 |
src/main/kotlin/no/nav/sosialhjelp/avtaler/kommune/KommuneApi.kt | navikt | 538,959,615 | false | {"Kotlin": 82993, "Dockerfile": 184} | package no.nav.sosialhjelp.avtaler.kommune
import io.ktor.http.HttpStatusCode
import io.ktor.http.auth.HttpAuthHeader
import io.ktor.server.application.ApplicationCall
import io.ktor.server.application.call
import io.ktor.server.auth.parseAuthorizationHeader
import io.ktor.server.response.respond
import io.ktor.server... | 6 | Kotlin | 1 | 1 | 8203455fb387af8c570786e2037c2d0808ef07a1 | 1,370 | sosialhjelp-avtaler-api | MIT License |
app/src/main/java/com/jocoos/flipflop/media/sample/ReceiverActivity.kt | jocoos-dev | 274,056,833 | false | null | package com.jocoos.flipflop.media.sample
import android.os.Bundle
import android.widget.Toast
import androidx.appcompat.app.AppCompatActivity
import com.jocoos.flipflop.media.FlipFlopMedia
import com.jocoos.flipflop.media.api.FFRTC
import com.jocoos.flipflop.media.api.FFRTCListener
import kotlinx.android.synthetic.mai... | 0 | Kotlin | 0 | 0 | 827c48a35b3d0e6f2b3000c40ab07f8de8c154ff | 1,538 | FlipFlopMediaSDKSample-Android | MIT License |
libdatabase/src/main/java/ru/example/libdatabase/sqlite/WorkDao.kt | elronsmith | 317,674,896 | false | null | package ru.example.libdatabase.sqlite
import android.content.ContentValues
import android.database.Cursor
import android.database.DatabaseUtils
import android.database.sqlite.SQLiteOpenHelper
class WorkDao(private val database: SQLiteOpenHelper): IWorkDao {
private val projection = arrayOf(
WorkEntity.COL... | 0 | Kotlin | 0 | 0 | 1d5eff3afb6123727db0ff28547f7365c79caf9b | 3,578 | ExampleRoom | Apache License 2.0 |
app/src/main/java/com/example/fragment/project/data/Login.kt | miaowmiaow | 364,865,870 | false | {"Kotlin": 896094, "Java": 31064, "JavaScript": 10814, "HTML": 5449, "CSS": 60} | package com.example.fragment.project.data
import com.example.fragment.project.database.user.User
import com.example.miaow.base.http.HttpResponse
data class Login(
val data: User? = null
) : HttpResponse()
data class Register(
val data: User? = null
) : HttpResponse() | 0 | Kotlin | 233 | 1,313 | 7e75e6c6738b6bbcf1cead9dfe6e7e2bf86ab6b1 | 278 | fragmject | Apache License 2.0 |
straight/src/commonMain/kotlin/me/localx/icons/straight/bold/BaseballAlt.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.straight.bold
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter
i... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 2,985 | icons | MIT License |
compiler-plugin-ksp/src/main/kotlin/com/ing/zkflow/ksp/Util.kt | ing-bank | 550,239,957 | false | {"Kotlin": 1610321, "Shell": 1609} | @file:Suppress("TooManyFunctions")
package com.ing.zkflow.ksp
import com.google.devtools.ksp.getAllSuperTypes
import com.google.devtools.ksp.isAbstract
import com.google.devtools.ksp.processing.Resolver
import com.google.devtools.ksp.symbol.ClassKind
import com.google.devtools.ksp.symbol.KSAnnotated
import com.google... | 0 | Kotlin | 4 | 9 | f6e2524af124c1bdb2480f03bf907f6a44fa3c6c | 8,913 | zkflow | MIT License |
app/src/main/java/com/bengisusahin/cryptocrazy/model/CryptoItem.kt | bengisusaahin | 832,308,437 | false | {"Kotlin": 25486} | package com.bengisusahin.cryptocrazy.model
data class CryptoItem(
val id: String,
val logo_url: String,
val name: String
) | 0 | Kotlin | 0 | 0 | 9e29c2307ae1e04835676793862f5d085bb3036b | 135 | CryptoCrazy | Apache License 2.0 |
src/main/kotlin/trik/testsys/gradingsystem/enums/TRIKCommands.kt | Pupsen-Vupsen | 441,453,585 | false | {"Kotlin": 64463, "Qt Script": 2966, "Dockerfile": 2450, "HTML": 399} | package trik.testsys.gradingsystem.enums
enum class TRIKCommands(val command: String) {
TWO_D_MODEL("./TRIKStudio/bin/2D-model -platform offscreen --close -r"),
PATCHER("./TRIKStudio/bin/patcher -f")
} | 1 | Kotlin | 1 | 1 | e8c7a6c2a309c2c006470ab562dc4bd883224a71 | 212 | trik-testsys-grading-system | Apache License 2.0 |
app/src/main/java/com/tzapps/calculator/HistoryAdapter.kt | JohnX4321 | 448,324,079 | false | {"Kotlin": 57087} | package com.tzapps.calculator
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.LinearLayout
import android.widget.TextView
import androidx.recyclerview.widget.RecyclerView
import com.tzapps.calculator.db.Record
class HistoryAdapter(var recordsList: List<R... | 0 | Kotlin | 0 | 0 | a7e798dec410ec7dfce2fded64d6f713baf03100 | 1,304 | Calculator | Apache License 2.0 |
Week3/src/main/kotlin/main.kt | EdmundoSanchezM | 354,481,310 | false | null | /*fun isFoo1(n: Name) = n.value == "foo"
fun isFoo2(n: Name?) = n.value == "foo"
fun isFoo3(n: Name?) = n != null && n.value == "foo"
fun isFoo4(n: Name?) = n?.value == "foo"*/
fun NullableTypes() {
val s1: String = "always not null"
val s2: String? = "can be null or non-null"
val s: String? = null
if... | 0 | Kotlin | 0 | 0 | a671a9b35eeae1f56ee1ad448347d9df5e583c9d | 1,672 | Kotlin-for-Java-Developers | MIT License |
features/home/src/main/kotlin/app/dapk/st/home/HomeScreen.kt | ShadowJonathan | 471,471,233 | true | {"Kotlin": 586327, "Java": 13756, "Shell": 763, "Prolog": 113} | package app.dapk.st.home
import androidx.compose.foundation.layout.*
import androidx.compose.material.*
import androidx.compose.runtime.Composable
import androidx.compose.runtime.LaunchedEffect
import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.unit.dp
import app.d... | 0 | null | 0 | 0 | 2ab2253e7a1335f8c25b5e69be0dc1ec9c254958 | 3,376 | small-talk | Apache License 2.0 |
cinema-server/src/main/kotlin/io/github/ermadmi78/kobby/cinema/server/resolvers/ActorResolver.kt | ermadmi78 | 323,070,076 | false | null | package io.github.ermadmi78.kobby.cinema.server.resolvers
import io.github.ermadmi78.kobby.cinema.api.kobby.kotlin.dto.ActorDto
import io.github.ermadmi78.kobby.cinema.api.kobby.kotlin.dto.CountryDto
import io.github.ermadmi78.kobby.cinema.api.kobby.kotlin.dto.FilmDto
import io.github.ermadmi78.kobby.cinema.api.kobby.... | 0 | Kotlin | 1 | 5 | 5fd5808e9d2b5c0912d0196116ab622ff580d35c | 2,297 | kobby-gradle-example | Apache License 2.0 |
sources/js/values/AnimationPlayState.kt | cybernetics | 323,978,300 | true | {"Kotlin": 245088} | @file:Suppress("NOTHING_TO_INLINE")
package io.fluidsonic.css
// FIXME support multiple values
public external interface AnimationPlayState : CssValue {
@Suppress("INLINE_EXTERNAL_DECLARATION", "NESTED_CLASS_IN_EXTERNAL_INTERFACE", "WRONG_BODY_OF_EXTERNAL_DECLARATION")
public companion object {
@CssDsl
publ... | 0 | null | 0 | 0 | 65b9463c57be79f8fcb5e5083df6907340388826 | 1,042 | fluid-css | Apache License 2.0 |
app/src/main/java/com/b_lam/resplash/provider/ResplashMuzeiArtProvider.kt | b-lam | 69,628,893 | false | null | package com.b_lam.resplash.provider
import com.b_lam.resplash.data.download.DownloadService
import com.b_lam.resplash.util.safeApiCall
import com.b_lam.resplash.util.warn
import com.b_lam.resplash.worker.MuzeiWorker
import com.google.android.apps.muzei.api.provider.Artwork
import com.google.android.apps.muzei.api.prov... | 33 | Kotlin | 105 | 569 | 4b13d31134d1c31bd331e92ffe8d410984529212 | 1,371 | Resplash | The Unlicense |
Code/CurrencyConversionApp/app-core/models/src/main/kotlin/com/istudio/models/custom/CurrencyValidationInput.kt | devrath | 708,793,882 | false | {"Kotlin": 421506} | package com.istudio.models.custom
import com.istudio.models.local.CurrencyAndRates
import com.istudio.models.local.RatesEntity
data class CurrencyValidationInput(
val userEnteredCurrencyValueInput : String,
val userEnteredCurrencyTypeInput : String,
val userSelectedCurrencyConversionTypeInput : List<Curre... | 0 | Kotlin | 0 | 0 | 43e1b2d0f4b275f1aa3f74f2be536d9bc2575b3e | 335 | DroidCurrencyConverter | Apache License 2.0 |
core/core/src/commonMain/kotlin/zakadabar/core/comm/CommConfig.kt | spxbhuhb | 290,390,793 | false | {"Kotlin": 2390839, "HTML": 2835, "JavaScript": 1021, "Dockerfile": 269, "Shell": 253} | /*
* Copyright © 2020-2021, Simplexion, Hungary and contributors. Use of this source code is governed by the Apache 2.0 license.
*/
package zakadabar.core.comm
import kotlinx.serialization.Serializable
import zakadabar.core.business.BusinessLogicCommon
import zakadabar.core.business.EntityBusinessLogicCommon
import ... | 12 | Kotlin | 3 | 24 | 00859b62570bf455addc9723015ba2c48b77028b | 3,809 | zakadabar-stack | Apache License 2.0 |
app/src/main/java/com/jrektor/skripsi/product/items/checkout/PayOptionActivity.kt | ichwansh03 | 600,659,408 | false | null | package com.jrektor.skripsi.product.items.checkout
import android.annotation.SuppressLint
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.util.Log
import android.widget.Toast
import androidx.activity.result.contract.ActivityResultContracts
import co... | 0 | Kotlin | 0 | 3 | 47d3654008b154de124fc80d0801f4c962b928c9 | 8,708 | android-pos | Apache License 2.0 |
src/main/kotlin/com/beepsoft/hasuraconf/HasuraConfiguratorException.kt | dsd-sztaki-hu | 228,703,596 | false | {"Kotlin": 453969, "Java": 10449, "PLpgSQL": 1024} | package com.beepsoft.hasuraconf
import kotlin.Exception
class HasuraConfiguratorException(message: String, cause: Throwable? = null) : Exception(message, cause) {
} | 6 | Kotlin | 1 | 17 | ce2ef250beeec46bcfa615b243e9c356cc13429f | 166 | hasuraconf | MIT License |
vk-api-generated/src/main/kotlin/name/anton3/vkapi/generated/photos/methods/PhotosSaveWallPhoto.kt | Anton3 | 159,801,334 | true | {"Kotlin": 1382186} | @file:Suppress("unused", "MemberVisibilityCanBePrivate", "SpellCheckingInspection")
package name.anton3.vkapi.generated.photos.methods
import com.fasterxml.jackson.module.kotlin.jacksonTypeRef
import name.anton3.vkapi.generated.photos.objects.Photo
import name.anton3.vkapi.method.UserMethod
import name.anton3.vkapi.m... | 2 | Kotlin | 0 | 8 | 773c89751c4382a42f556b6d3c247f83aabec625 | 1,376 | kotlin-vk-api | MIT License |
android/app/src/main/java/cloud/multipos/pos/views/PosControlSwipeLayout.kt | multipos-app | 773,180,579 | false | {"Kotlin": 548453, "Java": 306036} | /**
* Copyright (C) 2023 multiPOS, LLC
*
* Licensed under the Apache License, Version 2.0 (the "License")
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | 0 | Kotlin | 1 | 7 | 119bb0c86a5f9589e0219249b02f0f56d43120f7 | 2,360 | pos | Apache License 2.0 |
src/main/kotlin/ninja/sakib/pultusorm/core/PultusORMCondition.kt | JensAstrup | 76,914,436 | true | {"Kotlin": 46086} | package ninja.sakib.pultusorm.core
/**
* := Coded with love by <NAME> on 10/3/16.
* := <EMAIL>
* := www.sakib.ninja
* := Coffee : Dream : Code
*/
/**
* PultusORMCondition
* Class used to provide condition on queries
*/
class PultusORMCondition private constructor(builder: Builder) {
private var rawQuery: ... | 0 | Kotlin | 1 | 2 | bb31e00a02b8ec5a77d30f9db36d080a8afea333 | 8,922 | PultusORM | MIT License |
src/test/kotlin/com/github/furubarug/intellij/external/binary/viewer/utils/ExtensionsSplitterTest.kt | furubarug | 463,926,581 | false | null | package com.github.furubarug.intellij.external.binary.viewer.utils
import io.kotest.assertions.throwables.shouldThrow
import io.kotest.core.spec.style.StringSpec
import io.kotest.matchers.collections.shouldContainExactlyInAnyOrder
/**
* test class for [ExtensionsSplitter]
*/
class ExtensionsSplitterTest : StringSpe... | 0 | Kotlin | 0 | 0 | ba3c26087326618c329ab6905064afd503037d37 | 766 | intellij-external-binary-viewer | MIT License |
library/src/commonMain/kotlin/datingcomponents/stack/StackBackgroundCard.kt | numq | 619,221,709 | false | {"Kotlin": 12830} | package datingcomponents.stack
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.material.Card
import androidx.compose.runtime.Composable
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.graphic... | 0 | Kotlin | 1 | 2 | 3455a718d90e9a740ef7512f6543d3e3a0df7994 | 771 | dating-components | MIT License |
core/ui-kmp/src/commonMain/kotlin/org/michaelbel/movies/ui/compose/page/PageLoading.kt | michaelbel | 115,437,864 | false | {"Kotlin": 680733, "Java": 10013, "Swift": 342, "Shell": 235} | @file:Suppress("EXPECT_AND_ACTUAL_IN_THE_SAME_MODULE")
package org.michaelbel.movies.ui.compose.page
import androidx.compose.foundation.layout.PaddingValues
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import org.michaelbel.movies.common.appearance.FeedView
@Composable
expect fun Pa... | 5 | Kotlin | 31 | 186 | e7b74544e4951a2fd49cc02d7858fb8df89c0eae | 442 | movies | Apache License 2.0 |
todomvrx/src/main/java/com/airbnb/mvrx/todomvrx/di/ViewModelKey.kt | luozejiaqun | 157,853,404 | true | {"Kotlin": 141016, "Java": 140} | package com.airbnb.mvrx.todomvrx.di
import android.arch.lifecycle.ViewModel
import dagger.MapKey
import kotlin.reflect.KClass
@Target(AnnotationTarget.FUNCTION)
@MapKey
annotation class ViewModelKey(val value: KClass<out ViewModel>)
| 0 | Kotlin | 0 | 2 | 68957133773ca8d32bfa5ff6438b7862cacf28f1 | 235 | DiMvRx | Apache License 2.0 |
app/src/main/java/com/habitsapp/home/data/repository/HomeRepositoryImpl.kt | ByteSurferX | 839,968,824 | false | {"Kotlin": 116886} | package com.habitsapp.home.data.repository
import androidx.work.BackoffPolicy
import androidx.work.Constraints
import androidx.work.ExistingWorkPolicy
import androidx.work.NetworkType
import androidx.work.OneTimeWorkRequestBuilder
import androidx.work.WorkManager
import com.habitsapp.home.data.extension.toStartOfDateT... | 0 | Kotlin | 0 | 0 | 54b317dd0000ea9fe7eb8cd09c4ec19d1c4f7b7f | 3,254 | habits-app | MIT License |
app/src/main/java/com/gitzblitz/locationviewerkotlin/di/AppComponent.kt | gitzblitz | 191,737,820 | false | null | package com.gitzblitz.locationviewerkotlin.di
import com.gitzblitz.locationviewerkotlin.LocationApplication
import dagger.BindsInstance
import dagger.Component
import dagger.android.AndroidInjectionModule
import javax.inject.Singleton
@Singleton
@Component(modules = [(AndroidInjectionModule::class), (AppModule::class... | 0 | Kotlin | 0 | 4 | 5652cd5e05888ef9c18f01c6387c97964b4c34ad | 770 | LocationViewerKotlin | Apache License 2.0 |
app/src/main/java/com/akinci/moneybox/feature/login/data/input/LoginServiceRequest.kt | AttilaAKINCI | 333,097,438 | false | null | package com.akinci.moneybox.feature.login.data.input
import com.squareup.moshi.JsonClass
@JsonClass(generateAdapter = true)
data class LoginServiceRequest(
val Email: String,
val Password: String,
val Idfa: String
) | 0 | Kotlin | 1 | 2 | b1f306bc45059134157326d90f872bb95f624e87 | 229 | MoneyBox | Apache License 2.0 |
domain/src/test/java/studio/lunabee/onesafe/domain/usecase/SearchIndexManagerTest.kt | LunabeeStudio | 624,544,471 | false | null | /*
* Copyright (c) 2023 Lunabee Studio
*
* 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 | Kotlin | 0 | 0 | 37ba3d1618945078d40d1ce1d32b184ae647643d | 4,624 | oneSafe6_SDK_Android | Apache License 2.0 |
app/src/main/java/com/thk/sevendays/data/StampViewModel.kt | taehee28 | 453,343,657 | false | null | package com.thk.sevendays.data
import androidx.compose.runtime.MutableState
import androidx.compose.runtime.mutableStateListOf
import androidx.compose.runtime.mutableStateOf
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.thk.data.logd
import com.thk.data.model.Stamp
import com.... | 0 | Kotlin | 0 | 0 | 2dcc6f3ecb83b7fdefed6a110ea20e96c65eb623 | 1,109 | SevenDays | MIT License |
src/main/kotlin/no/nav/toi/kandidatsøk/filter/InnsatsgruppeFilter.kt | navikt | 732,052,226 | false | {"Kotlin": 250789, "Dockerfile": 234} | package no.nav.toi.kandidatsøk.filter
import no.nav.toi.kandidatsøk.FilterParametre
import no.nav.toi.must_
import no.nav.toi.terms
fun List<Filter>.medInnsatsgruppeFilter() = this + InnsatsgruppeFilter()
private val lovligeVerdier = listOf("ANDRE","IKVAL","VARIG","BFORM","BATT","IVURD","BKART","OPPFI","VURDI","VURD... | 1 | Kotlin | 0 | 0 | 8fc25415ccb30c8802d51766abc36fff645a24b4 | 1,082 | rekrutteringsbistand-kandidatsok-api | MIT License |
server-base-local/src/main/kotlin/ai/dstack/server/local/JerseyApplicationProvider.kt | latticetower | 315,119,574 | true | {"JavaScript": 397840, "Kotlin": 336820, "CSS": 147028, "Python": 5184, "HTML": 4199, "Shell": 34} | package ai.dstack.server.local
import ai.dstack.server.local.jersey.FilesResources
import ai.dstack.server.jersey.JerseyApplication
import ai.dstack.server.jersey.guice.SpringAwareHK2ServiceLocatorFeature
import org.glassfish.jersey.server.ResourceConfig
import org.glassfish.jersey.servlet.ServletProperties
import org... | 0 | null | 0 | 0 | 81fa7873bbd851b474e7d49cd69087f204bd2171 | 951 | dstack | Apache License 2.0 |
src/main/kotlin/model/paging/PagedResponse.kt | Ather | 161,568,528 | false | null | /*
* Copyright 2018 Michael Haas
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | 0 | Kotlin | 0 | 0 | 7313476abe3a0a2db135ffce1c91b3a5f206b74e | 898 | radarr-kotlin | Apache License 2.0 |
android/shared/src/androidMain/kotlin/io/rebble/cobble/shared/domain/notifications/calls/WhatsAppCallNotificationInterpreter.kt | pebble-dev | 295,813,856 | false | {"Kotlin": 770908, "Dart": 604224, "Java": 261839, "Objective-C": 165254, "Swift": 110627, "JavaScript": 23686, "Ruby": 1469, "HTML": 305, "C": 211, "Shell": 29} | package io.rebble.cobble.shared.domain.notifications.calls
import android.service.notification.StatusBarNotification
class WhatsAppCallNotificationInterpreter: CallNotificationInterpreter {
override fun processCallNotification(sbn: StatusBarNotification): CallNotification? {
val acceptAction = sbn.notific... | 57 | Kotlin | 24 | 147 | 111c30b0a6e2e6682b35b6e86dd2982ea27ab89f | 1,756 | mobile-app | Apache License 2.0 |
src/commonMain/kotlin/websocket/Message.kt | tradeJmark | 432,544,195 | false | null | package ca.tradejmark.jbind.websocket
import kotlinx.serialization.decodeFromString
import kotlinx.serialization.encodeToString
import kotlinx.serialization.json.Json
import kotlinx.serialization.modules.PolymorphicModuleBuilder
import kotlinx.serialization.modules.SerializersModule
import kotlinx.serialization.module... | 3 | Kotlin | 0 | 0 | 18cdecd8353345905012eb128ca1f7910623a43f | 1,622 | jBind | MIT License |
src/player/main/sp/it/pl/layout/Layout.kt | sghpjuikit | 18,862,317 | false | null | package sp.it.pl.layout
import javafx.scene.Node
import javafx.scene.layout.AnchorPane
import sp.it.util.conf.cv
import sp.it.util.conf.def
import sp.it.util.conf.readOnly
class Layout: ContainerUni {
/** Name of this container. */
override val name = "Layout"
/** Whether this container is designed as a roo... | 12 | Kotlin | 2 | 17 | d8fab86c7e7e3a2fee02eb0099a1e3e25e74794d | 1,234 | player | X.Net License |
permissions/src/main/java/com/piroworkz/composeandroidpermissions/Permissions.kt | piroworkz | 802,955,723 | false | {"Kotlin": 2705} | package com.piroworkz.composeandroidpermissions
import androidx.activity.compose.ManagedActivityResultLauncher
import androidx.compose.runtime.MutableState
class Permissions(
private val _state: MutableState<PermissionsState>,
private val launcher: ManagedActivityResultLauncher<Array<String>, Map<String, Bool... | 0 | Kotlin | 0 | 1 | 3d8b4f47c24cfecf8c850b16a2be13b99f3ec5bc | 726 | ComposeAndroidPermissions | MIT License |
app/src/main/java/zengqiang/composestudy/module/custom_view/CustomIntrinsicPage.kt | qiangzengli | 629,271,848 | false | {"Kotlin": 170040, "Java": 689} | package zengqiang.composestudy.module.custom_view
import androidx.compose.foundation.layout.*
import androidx.compose.material.Divider
import androidx.compose.material.Text
import androidx.compose.runtime.Composable
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.lay... | 0 | Kotlin | 0 | 0 | e7117e0ec1fe19f1ae285f7945e36985e1369b22 | 3,179 | ComposeStudy | MIT License |
app/src/main/java/pini/mattia/coachtimer/Destinations.kt | martirius | 559,459,763 | false | null | package pini.mattia.coachtimer
object Destinations {
const val MAIN_SCREEN = "main"
const val SESSION_SCREEN = "session/{playerId}/{lapDistance}"
const val LEADERBOARD_SCREEN = "leaderboard"
fun prepareSessionScreenNavigation(playerId: String, lapDistance: Int): String {
return SESSION_SCREEN
... | 0 | Kotlin | 0 | 0 | 7853e31b3a436087e79690a9abbd652f20d47856 | 435 | coach-timer | MIT License |
app/src/main/java/com/example/arvoice/VoiceApplication.kt | catalinghita8 | 277,572,435 | false | null | package com.example.arvoice
import android.app.Application
import android.content.Context
class VoiceApplication : Application() {
init { instance = this }
companion object {
var instance: VoiceApplication? = null
fun applicationContext(): Context {
return instance!!.applicatio... | 0 | Kotlin | 1 | 2 | d3de1ec7cdc774618eca08119f87d495c4466d05 | 347 | voice-text-nlp-stanford | MIT License |
appsub/app_ktv/src/main/java/com/niucube/app/ktv/StartActivity.kt | pili-engineering | 468,291,874 | false | {"Kotlin": 1046570, "Java": 735296, "GLSL": 430} | package com.niucube.app.ktv
import com.alibaba.android.arouter.facade.Postcard
import com.alibaba.android.arouter.launcher.ARouter
import com.qiniu.router.RouterConstant
import com.qiniudemo.baseapp.BaseStartActivity
class StartActivity : BaseStartActivity() {
override fun getDefaultImg(): Int {
return ... | 0 | Kotlin | 2 | 8 | b6c29394e2f28e05236c9a36d16dc7e94ff06f54 | 468 | QNCube_Android | Apache License 2.0 |
mineinabyss-systems/src/main/kotlin/com/mineinabyss/enchants/FrostAspectListener.kt | MineInAbyss | 115,279,675 | false | null | package com.mineinabyss.enchants
import com.mineinabyss.idofront.time.TimeSpan
import com.mineinabyss.mineinabyss.core.mineInAbyss
import com.okkero.skedule.schedule
import org.bukkit.entity.LivingEntity
import org.bukkit.entity.Player
import org.bukkit.event.EventHandler
import org.bukkit.event.Listener
import org.bu... | 12 | Kotlin | 23 | 45 | 3bcae467fd80dba68f5083ddd0d1711f7052fc50 | 1,986 | MineInAbyss | MIT License |
app/src/main/kotlin/net/primal/android/core/compose/icons/primaliconpack/FeedReplies.kt | PrimalHQ | 639,579,258 | false | null | package net.primal.android.core.compose.icons.primaliconpack
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.Strok... | 0 | Kotlin | 0 | 7 | fd815cd9a771c1b110e0e12ceca1012201d8e9dc | 2,659 | primal-android-app | MIT License |
app/src/main/java/com/digging/coroutine/ui/request/NewsViewHolder.kt | thiagodmont | 358,086,711 | false | {"Kotlin": 41064} | package com.digging.coroutine.ui.request
import com.digging.coroutine.base.BaseViewHolder
import com.digging.coroutine.databinding.ItemNewsBinding
import com.digging.coroutine.domain.model.NewsModel
internal class NewsViewHolder(private val viewBinding: ItemNewsBinding):
BaseViewHolder(viewBinding) {
fun bin... | 0 | Kotlin | 0 | 0 | cfd2c8b22b786c34ccb191729a3ca4c5f0d20198 | 457 | digging-coroutine | MIT License |
app/src/main/java/com/breezefieldsalesprashant/features/nearbyuserlist/api/NearbyUserRepo.kt | DebashisINT | 855,017,070 | false | {"Kotlin": 15873987, "Java": 1028328} | package com.breezefieldsalesprashant.features.nearbyuserlist.api
import com.breezefieldsalesprashant.app.Pref
import com.breezefieldsalesprashant.features.nearbyuserlist.model.NearbyUserResponseModel
import com.breezefieldsalesprashant.features.newcollection.model.NewCollectionListResponseModel
import com.breezefields... | 0 | Kotlin | 0 | 0 | a281633009426017c9d16dd760f69f6f6496c34e | 637 | PRASHANT | Apache License 2.0 |
src/main/kotlin/dreifa/app/opentelemetry/AttributesHelper.kt | dreifadotapp | 478,598,303 | false | null | package dreifa.app.opentelemetry
import dreifa.app.types.CorrelationContext
import dreifa.app.types.CorrelationContexts
import io.opentelemetry.api.common.AttributeKey
import io.opentelemetry.api.common.Attributes
object AttributesHelper {
fun fromCorrelation(correlation: CorrelationContext): Attributes {
... | 0 | Kotlin | 0 | 0 | a31809cc91858259d1e48d109c3743762dca28a5 | 943 | open-telemetry | MIT License |
straight/src/commonMain/kotlin/me/localx/icons/straight/filled/Keyboard.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.straight.filled
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 2,759 | icons | MIT License |
src/jsMain/kotlin/domain/use_case/user/UserGetByIdUseCase.kt | Tanexc | 667,134,735 | false | null | package domain.use_case.user
import domain.model.User
import domain.repository.UserRepository
import kotlinx.coroutines.flow.Flow
import org.koin.core.component.KoinComponent
import org.koin.core.component.inject
import util.State
class UserGetByIdUseCase: KoinComponent {
private val repository: UserRepository by... | 0 | Kotlin | 0 | 3 | 27bc23f5ab9dbc8ec7da5fc7812555bbbcaeb0a7 | 418 | ComposeWebCakes | Apache License 2.0 |
spring-boot-demo/src/main/java/moe/bit/ignotusdemo/model/table/UserTable.kt | ParaParty | 430,148,230 | false | {"Kotlin": 173423, "Java": 30623} | package moe.bit.ignotusdemo.model.table
import com.tairitsu.ignotus.database.exposed.model.table.BaseLongIdWithUUIDTable
import org.jetbrains.exposed.sql.Column
import org.jetbrains.exposed.sql.javatime.datetime
import java.time.LocalDateTime
object UserTable : BaseLongIdWithUUIDTable("users") {
val username: Col... | 1 | Kotlin | 0 | 22 | 0937ec102c9da4df6c39ee8bd1832402ec9cd1e8 | 504 | Ignotus | MIT License |
app/src/main/java/com/example/wordapp/DictionaryFragment.kt | erenozdemr | 651,890,308 | false | null |
package com.example.wordapp
import android.media.AudioManager
import android.media.MediaPlayer
import android.os.Bundle
import android.speech.tts.TextToSpeech
import android.util.Log
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import ... | 0 | Kotlin | 0 | 0 | 3c4f4ae964521f3508e94883f630acf1721cf50d | 6,136 | WordApp | MIT License |
src/main/kotlin/ru/biluta/memes/service/persistence/model/ChatSettings.kt | antonbiluta | 755,326,602 | false | {"Kotlin": 48349, "Dockerfile": 1079} | package ru.biluta.memes.service.persistence.model
import jakarta.persistence.*
@Entity
@Table(name="chat_settings")
class ChatSettings(
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
val id: Long = 0,
@Column(name = "chat_id", nullable = false, unique = true)
val chatId: Long,
@Col... | 0 | Kotlin | 0 | 0 | c0d60762beb2af2ef9d66fbc32fe1d7f039ebde4 | 496 | memes-backend | MIT License |
app/src/main/java/com/gdsc/bbsbec/gbooks/activity/BookDao.kt | gdsc-bbsbec | 441,695,228 | false | {"Kotlin": 52052} | /*
* Copyright (C) 2022 Google Developer Student Clubs BBSBEC
*
* 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 | Kotlin | 7 | 13 | ac1f49ce0a3df5a57c325509cc4c179be2ced4fd | 1,099 | GBooks | Apache License 2.0 |
koral-algorithms/src/test/kotlin/tools/aqua/koral/util/MutableCanonicalSetTest.kt | tudo-aqua | 472,398,902 | false | null | /*
* Copyright 2022 The Koral Authors
* 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
*
* Un... | 0 | Kotlin | 0 | 0 | c5e8c3374ace1a84f60f50c74b17505b9c0952e5 | 3,641 | koral | Apache License 2.0 |
domain/src/main/kotlin/com/yossisegev/domain/usecases/SearchMovie.kt | hbrtose | 156,258,366 | true | {"Kotlin": 137058} | package com.yossisegev.domain.usecases
import com.yossisegev.domain.MoviesRepository
import com.yossisegev.domain.common.Transformer
import com.yossisegev.domain.entities.MovieEntity
import io.reactivex.Single
/**
* Created by <NAME> on 11/02/2018.
*/
class SearchMovie(transformer: Transformer<List<MovieEntity>>,
... | 0 | Kotlin | 0 | 0 | 7c6d2e444862f6bc21205b80dd68b5a44b70c73d | 735 | MovieNight | Apache License 2.0 |
library/src/main/java/com/d10ng/compose/ui/form/DatePicker.kt | D10NGYANG | 445,078,597 | false | {"Kotlin": 380265} | package com.d10ng.compose.ui.form
import androidx.compose.runtime.Composable
import androidx.compose.runtime.remember
import androidx.compose.ui.text.TextStyle
import com.d10ng.compose.ui.AppText
import com.d10ng.datelib.curTime
import com.d10ng.datelib.getDateDay
import com.d10ng.datelib.getDateMonth
import com.d10ng... | 0 | Kotlin | 1 | 9 | 490be74ad152b83648d1fb6fe6a665f75596b0d6 | 3,953 | DLJetpackComposeUtil | MIT License |
lib/src/main/java/com/thenewboston/data/dto/common/response/ValidatorDetails.kt | thenewboston-developers | 300,752,823 | false | null | package com.thenewboston.data.dto.common.response
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
data class ValidatorDetails(
@SerialName("primary_validator")
val primaryValidator: Validator,
@SerialName("account_number")
val accountNumber: String,
... | 1 | Kotlin | 19 | 42 | 97f5b462d2179aa65dc8e35828eef39ba791c0ac | 1,039 | Kotlin-SDK | MIT License |
netk_okhttp3_interceptor/src/main/java/com/mozhimen/netk/okhttp3/interceptor/impls/InterceptorCacheOnline.kt | mozhimen | 556,827,365 | false | {"Kotlin": 231548, "Java": 28281} | package com.mozhimen.netk.okhttp3.interceptor.impls
import com.mozhimen.netk.okhttp3.interceptor.annors.AInterceptor
import com.mozhimen.netk.okhttp3.interceptor.annors.ANetworkInterceptor
import com.mozhimen.netk.okhttp3.interceptor.commons.IInterceptor
import okhttp3.Interceptor
import okhttp3.Response
/**
* @Cla... | 0 | Kotlin | 0 | 0 | 32416e82013d40dee62c2c79d2f886fe348f828c | 878 | ANetKit | Apache License 2.0 |
app/src/main/java/com/fernandofgallego/demo/data/DataItem.kt | ferdy182 | 340,445,317 | false | null | package com.fernandofgallego.demo.data
sealed class DataItem {
data class Section(val title: String): DataItem()
data class Item(val title: String, val checked: Boolean): DataItem()
} | 0 | Kotlin | 0 | 0 | bb3aede2a2bf342141d703344cfe81a4ff94f730 | 192 | DemoApp | Apache License 2.0 |
core/src/main/java/de/markusressel/kutepreferences/core/preference/color/KuteColorPreference.kt | markusressel | 129,962,741 | false | null | package de.markusressel.kutepreferences.core.preference.color
import android.graphics.drawable.Drawable
import androidx.annotation.ColorInt
import androidx.compose.ui.graphics.Color
import de.markusressel.kutepreferences.core.persistence.KutePreferenceDataProvider
import de.markusressel.kutepreferences.core.preference... | 5 | Kotlin | 0 | 9 | 6d8d2e86f46808a376355f54f82c2f4878834e24 | 1,789 | KutePreferences | The Unlicense |
common/common.consul/common.consul.client/src/main/java/org/eclipse/slm/common/consul/client/requests/ConsulRequest.kt | sriluxman | 655,789,230 | true | {"Maven POM": 61, "Markdown": 25, "Git Attributes": 1, "Text": 2, "Ignore List": 4, "XML": 7, "Java": 299, "Kotlin": 201, "YAML": 91, "HTTP": 9, "JSON": 21, "JavaScript": 59, "Dotenv": 6, "JSON with Comments": 2, "Dockerfile": 21, "Browserslist": 1, "HTML": 1, "Vue": 117, "SCSS": 2, "Sass": 15, "SVG": 2, "Shell": 12, "... | package org.eclipse.slm.common.consul.client.requests
import org.eclipse.slm.common.consul.client.requests.parameters.UrlParameters
interface ConsulRequest {
fun asUrlParameters(): List<UrlParameters?>?
}
| 0 | Java | 0 | 0 | 7f78aba76cbfe051af60dbee118bcc9a5fda139c | 211 | slm | Apache License 2.0 |
idea/testData/completion/class/InExtendTypeAnnotation.kt | interestingforked | 6,451,772 | true | {"Markdown": 17, "XML": 122, "Ant Build System": 7, "Ignore List": 3, "Maven POM": 23, "Kotlin": 3122, "Java": 2286, "CSS": 10, "JavaScript": 47, "HTML": 16, "Text": 885, "Shell": 5, "Java Properties": 4, "INI": 1, "JFlex": 2, "Makefile": 1, "JAR Manifest": 1, "Batchfile": 2} | class Test : <caret> {
fun test() {
}
}
// RUNTIME: 1
// EXIST: Any, Nothing, Tuple0, Int, Number
// EXIST: Array, Math, Hashable, OutputStream | 0 | Java | 0 | 0 | 130cbff966c7bb6ba8f6206aa87530b58c01f41b | 152 | kotlin | Apache License 2.0 |
app/src/main/java/at/specure/androidX/Application.kt | specure | 114,878,528 | false | {"Java": 3220084, "Kotlin": 233019, "HTML": 32323} | package at.specure.androidX
import android.content.BroadcastReceiver
import android.content.Context
import android.content.Intent
import android.content.IntentFilter
import android.net.ConnectivityManager
import android.util.Log
import androidx.multidex.MultiDexApplication
import at.specure.android.util.location.GeoLo... | 1 | null | 1 | 1 | a2cf04e1a92a0accd53a3d62ab65542ee249314a | 3,145 | ont-android-client | Apache License 2.0 |
remote-server/src/test/kotlin/RemoteFormTest.kt | CLOVIS-AI | 464,628,603 | false | null | package opensavvy.formulaide.remote.server
import kotlinx.coroutines.ExperimentalCoroutinesApi
import opensavvy.formulaide.fake.FakeDepartments
import opensavvy.formulaide.fake.FakeForms
import opensavvy.formulaide.fake.FakeTemplates
import opensavvy.formulaide.fake.spies.SpyDepartments.Companion.spied
import opensavv... | 0 | Kotlin | 0 | 0 | aa086b58e67a1cc0ae0fb5a936fe661b46646419 | 1,460 | Formulaide | Apache License 2.0 |
app/src/main/java/com/softcross/moviedetective/core/domain/repository/FirebaseRepository.kt | ErenMlg | 796,625,412 | false | {"Kotlin": 131785} | package com.softcross.moviedetective.core.domain.repository
import com.softcross.moviedetective.core.common.Resource
import com.softcross.moviedetective.core.domain.model.UserModel
import kotlinx.coroutines.flow.Flow
interface FirebaseRepository {
fun loginUser(email: String, password: String): Flow<Resource<Use... | 0 | Kotlin | 0 | 0 | b29cf54e7a8e8b3f218da85045ffc5b08acde98a | 585 | MovieDetective | Apache License 2.0 |
app/src/main/java/com/test/zh/videoandaudio/codec/Frame.kt | XWS | 252,695,628 | false | null | package com.test.zh.videoandaudio.codec
import android.media.MediaCodec
import java.nio.ByteBuffer
/**
* 单帧数据类型(封装类,用以数据处理方便)
*/
class Frame {
var buffer: ByteBuffer? = null
var bufferInfo = MediaCodec.BufferInfo()
private set
fun setBufferInfo(info: MediaCodec.BufferInfo) {
bufferInfo... | 0 | Kotlin | 0 | 0 | 979ab6cc0b568eda086def41d95f5ab43a7381b7 | 393 | VideoAndAudio | Apache License 2.0 |
src/test/java/playground/BackpressureExercisesTest.kt | ExpensiveBelly | 104,675,798 | false | null | package playground
import io.reactivex.schedulers.Schedulers
import org.junit.Ignore
class BackpressureExercisesTest {
private val backpressureExercises: BackpressureExercises = BackpressureExercises()
@Ignore
fun range_on_same_thread_should_not_throw_backpressure_error() {
backpressureExercises... | 0 | Kotlin | 11 | 19 | e07a3aea09f9235077d6d0dd553af2cfe782b393 | 1,217 | RxKata | MIT License |
libraries/audio/src/common/AudioDelegate.kt | featurea | 407,517,337 | false | null | package featurea.audio
import featurea.runtime.Component
import featurea.runtime.Module
expect class AudioDelegate(module: Module) : Component {
fun newAudioTrack(filePath: String): AudioTrack
fun newAudioEffect(filePath: String): AudioEffect
}
| 24 | Kotlin | 1 | 6 | 07074dc37a838f16ece90c19a4e8d45e743013d3 | 255 | engine | MIT License |
app/src/main/kotlin/com/mgorski/articles/view/ArticleCategoriesActivity.kt | mgorski-mg | 71,564,062 | false | {"Kotlin": 8262, "Java": 447, "IDL": 339} | package com.mgorski.articles.view
import android.databinding.DataBindingUtil
import android.os.Bundle
import android.support.v7.app.AppCompatActivity
import com.mgorski.articles.R
import com.mgorski.articles.databinding.ActivityArticleCategoriesBinding
import com.mgorski.articles.viewmodel.ArticleCategoriesViewModel
... | 0 | Kotlin | 0 | 0 | 86d9415210d2b0e58c3f5debaf11c1c29282f152 | 681 | articles | Apache License 2.0 |
src/main/kotlin/day07/solution.kt | bukajsytlos | 433,979,778 | false | {"Kotlin": 63913} | package day07
import java.io.File
import kotlin.math.abs
import kotlin.math.roundToInt
fun main() {
val crabSubmarinePositions =
File("src/main/kotlin/day07/input.txt").readLines().first().split(",").map { it.toInt() }
val medianDistance = crabSubmarinePositions.sorted()[crabSubmarinePositions.size /... | 0 | Kotlin | 0 | 0 | f47d092399c3e395381406b7a0048c0795d332b9 | 914 | aoc-2021 | MIT License |
sdk/src/test/java/com/exponea/sdk/FlushManagerTest.kt | yegorsch | 138,986,195 | true | {"Kotlin": 211964, "Java": 719} | package com.exponea.sdk
import com.exponea.sdk.manager.ExponeaMockServer
import com.exponea.sdk.manager.FlushManager
import com.exponea.sdk.models.ExponeaConfiguration
import com.exponea.sdk.models.FlushMode
import com.exponea.sdk.repository.EventRepository
import okhttp3.mockwebserver.MockWebServer
import org.junit.A... | 0 | Kotlin | 0 | 0 | 6a5420bb73cf4abe3a2bd76c2ccfae123dbe3902 | 1,963 | exponea-android-sdk | Apache License 2.0 |
src/main/kotlin/com/github/secretx33/whisperjsontosrt/Util.kt | SecretX33 | 640,121,315 | false | null | package com.github.secretx33.whisperjsontosrt
import com.fasterxml.jackson.annotation.JsonInclude
import com.fasterxml.jackson.databind.DeserializationFeature
import com.fasterxml.jackson.databind.ObjectMapper
import com.github.secretx33.whisperjsontosrt.exception.QuitApplicationException
import java.io.InputStream
im... | 0 | Kotlin | 0 | 1 | 99f0fafe0419c6be8c39e5d1fed9c024200299f9 | 2,417 | WhisperJsonToSrt | MIT License |
src/main/kotlin/com/github/gbrowser/services/providers/CachingFavIconLoader.kt | edgafner | 294,787,892 | false | {"Kotlin": 185262} | package com.github.gbrowser.services.providers
import com.github.benmanes.caffeine.cache.Caffeine
import com.intellij.openapi.Disposable
import com.intellij.openapi.components.Service
import com.intellij.util.ImageLoader
import java.net.URI
import java.net.URL
import java.util.concurrent.CompletableFuture
import java.... | 2 | Kotlin | 16 | 59 | 79243ea42866da447d790af2653763fed3fc9eaf | 1,777 | GBrowser | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.