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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ts-core/ts-buffer/src/main/kotlin/cn/tursom/core/buffer/ByteBufferExtensionKey.kt | tursom | 213,611,087 | false | {"YAML": 1, "Gradle Kotlin DSL": 45, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "Kotlin": 616, "Java": 6, "INI": 1, "Markdown": 3} | package cn.tursom.core.buffer
interface ByteBufferExtensionKey<T> {
val extensionClass: Class<T>
fun get(buffer: ByteBuffer): T? = if (extensionClass.isInstance(buffer)) {
@Suppress("UNCHECKED_CAST")
buffer as T
} else {
null
}
}
| 0 | Kotlin | 2 | 8 | 6052adebd9c41edf7a44e77abdeb5ed01a526e8c | 253 | TursomServer | MIT License |
app/src/main/java/com/aprian1337/sarap/ui/MainActivity.kt | aprian1337 | 365,908,126 | false | {"Kotlin": 7965} | package com.aprian1337.sarap.ui
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import androidx.fragment.app.Fragment
import com.aprian1337.sarap.R
import com.aprian1337.sarap.databinding.ActivityMainBinding
import com.aprian1337.sarap.ui.about.AboutFragment
import com.aprian1337.sarap.ui.hist... | 0 | Kotlin | 0 | 0 | 3e141e102d8c04f7d8f8bc4df2f08635cb78c3de | 1,715 | latlong | MIT License |
src/test/kotlin/io/kotest/plugin/intellij/styles/ExpectSpecStyleTest.kt | kotest | 170,580,094 | false | null | package io.kotest.plugin.intellij.styles
import com.intellij.codeInsight.daemon.LineMarkerInfo
import com.intellij.icons.AllIcons
import com.intellij.testFramework.fixtures.LightJavaCodeInsightFixtureTestCase
import io.kotest.matchers.shouldBe
import java.nio.file.Paths
class ExpectSpecStyleTest : LightJavaCodeInsigh... | 33 | null | 9 | 96 | f14fbece6d3637cb2b7d160a76810ef359ac54c0 | 2,529 | kotest-intellij-plugin | Apache License 2.0 |
ui-app/src/androidMain/kotlin/com/alexvanyo/composelife/ui/app/CellUniverseScreen.kt | alexvanyo | 375,146,193 | false | null | /*
* Copyright 2023 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | 28 | null | 10 | 95 | 49a14ff693ac569cb0a1c8dfea6fdf03ddece2e4 | 10,789 | composelife | Apache License 2.0 |
src/commonTest/kotlin/faraday/derived/kinematic/VolumetricFlowRateTest.kt | Amagi82 | 289,812,027 | false | null | package faraday.derived.kinematic
import faraday.BaseTest
internal class VolumetricFlowRateTest : BaseTest{}
| 0 | Kotlin | 0 | 0 | a69dbda28045dbac5221e7329f4b0e0a54c0e6c4 | 113 | Faraday | Apache License 2.0 |
src/main/kotlin/online/colaba/ComposeDocker.kt | steklopod | 222,130,496 | false | null | package online.colaba
import org.gradle.api.Project
import org.gradle.api.tasks.Input
import org.gradle.api.tasks.Optional
import org.gradle.api.tasks.TaskAction
import org.gradle.api.tasks.TaskProvider
import org.gradle.kotlin.dsl.named
import org.gradle.kotlin.dsl.register
open class ComposeDocker : Executor() {
... | 0 | null | 1 | 5 | 91bec525c2f26ac0c9748eb22764f93a99aecff3 | 1,398 | gradle-docker-plugin | MIT License |
app/src/main/java/com/softcross/insuranceapp/data/dto/payment/PaymentDto.kt | ErenMlg | 831,049,131 | false | {"Kotlin": 280324} | package com.softcross.insuranceapp.data.dto.payment
import com.google.gson.annotations.SerializedName
data class PaymentDto(
@SerializedName("creditCardNumber")
val creditCardNumber: String,
@SerializedName("creditCardDate")
val cardDate: String,
@SerializedName("creditCardName")
val cardName:... | 0 | Kotlin | 0 | 0 | ed7119e6c4ee96a8db1efddb0fd2da438cf61c7c | 576 | InsuranceApp | Apache License 2.0 |
app/src/main/java/gc/david/dfm/database/Position.kt | siempredelao | 13,180,148 | false | null | /*
* Copyright (c) 2019 <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 wr... | 4 | Kotlin | 2 | 3 | de6bc1610b9a5d30c0766f78aac479f04272dde4 | 1,174 | Distance-From-Me-Android | Apache License 2.0 |
src/main/kotlin/policy_language/PolicyLanguage.kt | leonbeckmann | 483,272,710 | false | null | package policy_language
import core.policies.LucePolicy
/**
* Interface for high-level policy language implementations
*
* @author <NAME> <<EMAIL>>
*/
interface PolicyLanguage<T> {
/**
* Deserialize serialized policy to inner policy object
*/
fun deserialize(serialized: String) : T
/**
... | 0 | Kotlin | 0 | 0 | 9d29ed86c20b2d220b42eb5a29e012aec43b0666 | 494 | luce | Apache License 2.0 |
src/infrastructure/persistence/StorageException.kt | DiSSCo | 517,633,705 | false | null | package org.synthesis.infrastructure.persistence
import io.vertx.pgclient.PgException
import io.vertx.sqlclient.SqlClient
sealed class StorageException(message: String?) : Exception(message) {
class UniqueConstraintViolationCheckFailed : StorageException(null)
class InteractingFailed(withMessage: String) : St... | 0 | Kotlin | 0 | 0 | 4b6387f85e9b8f006021e3de09e1246fbf13a8b2 | 862 | elvis-backend | Apache License 2.0 |
src/main/kotlin/no/nav/helse/flex/client/syketilfelle/PeriodeDTO.kt | navikt | 274,088,133 | false | null | package no.nav.helse.flex.client.syketilfelle
import java.time.LocalDate
data class PeriodeDTO(val fom: LocalDate, val tom: LocalDate)
| 4 | Kotlin | 0 | 0 | ec7531506d650b4b203137540bd5a6d89b344172 | 137 | flex-reisetilskudd-backend | MIT License |
app/src/main/java/aodev/blue/rxsandbox/model/operator/completable/utility/CompletableDelay.kt | esnaultdev | 146,037,889 | false | null | package aodev.blue.rxsandbox.model.operator.completable.utility
import aodev.blue.rxsandbox.model.CompletableT
import aodev.blue.rxsandbox.model.Config
import aodev.blue.rxsandbox.model.operator.Operator
class CompletableDelay(private val delay: Float) : Operator {
init {
require(delay >= 0)
}
... | 0 | Kotlin | 0 | 1 | 57579e059dca90ea2b10e818a478ce391c1fd07f | 1,327 | RxSandbox | MIT License |
app/src/main/java/uk/ac/tees/w9591610/bitesearch/model/response/Response.kt | siva7254 | 713,183,808 | false | {"Kotlin": 124263} | package uk.ac.tees.w9591610.bitesearch.model.response
data class MealsCategoriesResponse(
val categories: List<Category>,
)
data class Category(
val idCategory: String,
val strCategory: String,
val strCategoryThumb: String,
val strCategoryDescription: String,
) | 0 | Kotlin | 0 | 0 | 99246d85e5fa6a6fa1e1de29ea57a0f5aa4b5b47 | 284 | BiteSearch | Apache License 2.0 |
app/src/main/java/com/personal/tmdb/auth/presentation/auth/AuthScreen.kt | Avvami | 755,489,313 | false | {"Kotlin": 656155} | package com.personal.tmdb.auth.presentation.auth
import androidx.compose.foundation.BorderStroke
import androidx.compose.foundation.Image
import androidx.compose.foundation.background
import androidx.compose.foundation.isSystemInDarkTheme
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.fo... | 0 | Kotlin | 0 | 2 | d5b4d2ee9eb9616ab0e217f8d6fff45723bf5e58 | 10,799 | TMDB | MIT License |
simple-icons/src/commonMain/kotlin/compose/icons/simpleicons/Arkecosystem.kt | DevSrSouza | 311,134,756 | false | {"Kotlin": 36719092} | package compose.icons.simpleicons
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Butt
import androidx.compose.ui.graphics.StrokeJoin.Miter
import androidx.compose.ui.graphics... | 17 | Kotlin | 25 | 571 | a660e5f3033e3222e3553f5a6e888b7054aed8cd | 2,414 | compose-icons | MIT License |
new-tab-page/new-tab-page-api/src/main/java/com/duckduckgo/newtabpage/api/NewTabPageShortcutPlugin.kt | duckduckgo | 78,869,127 | false | {"Kotlin": 14333964, "HTML": 63593, "Ruby": 20564, "C++": 10312, "JavaScript": 8463, "CMake": 1992, "C": 1076, "Shell": 784} | /*
* Copyright (c) 2024 DuckDuckGo
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | 71 | Kotlin | 901 | 3,823 | 6415f0f087a11a51c0a0f15faad5cce9c790417c | 1,849 | Android | Apache License 2.0 |
src/main/kotlin/solutions/mckee/crux/commands/XPathOnly.kt | mckee-solutions | 165,284,886 | false | null | package solutions.mckee.crux.commands
import javax.xml.xpath.XPathExpression
import javax.xml.xpath.XPathFactory
abstract class XPathOnly(lineRemainder: String) : CruxCommand {
val xpath: String = this.parseLineParams(lineRemainder)
private fun parseLineParams(lineRemainder: String): String {
val xpathFactory... | 0 | Kotlin | 0 | 0 | 6f00af5a2602dbc2ba88ffc7274c846df94d2e53 | 497 | crux-kt | MIT License |
backend/Snorlax/src/infra/db/dao/ContentDao.kt | jphacks | 212,724,918 | false | {"Vue": 26994, "Kotlin": 25147, "JavaScript": 8626, "Dockerfile": 605, "HTML": 553, "CSS": 332} | package com.yt8492.infra.db.dao
import com.yt8492.infra.db.table.Contents
import org.jetbrains.exposed.dao.EntityID
import org.jetbrains.exposed.dao.LongEntity
import org.jetbrains.exposed.dao.LongEntityClass
class ContentDao(id: EntityID<Long>) : LongEntity(id) {
companion object : LongEntityClass<ContentDao>(Co... | 30 | Vue | 1 | 3 | 87a513f404449f418df35b908798e778bb5a5598 | 400 | SD_1901 | MIT License |
app/src/main/java/com/rokoblak/chatbackup/feature/createchat/ContactsListing.kt | oblakr24 | 598,672,859 | false | null | package com.rokoblak.chatbackup.createchat
import androidx.compose.foundation.ExperimentalFoundationApi
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.foundation.lazy.rememberLazyListState
import androi... | 0 | null | 0 | 2 | ebca08b724a7663ec0cf36b70278b876cc0e315a | 2,070 | chat-backup-app | Apache License 2.0 |
core/network/src/main/java/me/theek/spark/core/network/RemoteArtistService.kt | x86xFX | 752,689,974 | false | {"Kotlin": 396314} | package me.theek.spark.core.network
import io.ktor.client.HttpClient
import io.ktor.client.call.body
import io.ktor.client.request.basicAuth
import io.ktor.client.request.get
import io.ktor.http.URLProtocol
import io.ktor.http.path
import me.theek.spark.core.network.dto.ArtistInfoDto
import javax.inject.Inject
import ... | 0 | Kotlin | 0 | 1 | e8d754dd83aaad0a64c989c282d7bbdfb6eb1689 | 1,238 | SparkMusicPlayer | Apache License 2.0 |
src/main/kotlin/io/github/config4k/readers/MapReader.kt | config4k | 72,716,336 | false | null | package io.github.config4k.readers
import com.typesafe.config.ConfigUtil
import io.github.config4k.ClassContainer
import io.github.config4k.MapEntry
internal class MapReader(keyClass: ClassContainer, valueClass: ClassContainer) : Reader<Map<*, *>?>({ config, path ->
when (keyClass.mapperClass) {
String::c... | 15 | Kotlin | 30 | 205 | ccde51af8d55bc2f24e87dec65059e0fdba97ac6 | 890 | config4k | Apache License 2.0 |
app/src/main/java/org/listenbrainz/android/ui/screens/yim/YimDiscoverScreen.kt | metabrainz | 550,726,972 | false | null | package org.listenbrainz.android.ui.screens.yim
import androidx.compose.animation.AnimatedVisibility
import androidx.compose.animation.core.tween
import androidx.compose.animation.expandVertically
import androidx.compose.foundation.Image
import androidx.compose.foundation.background
import androidx.compose.foundation.... | 9 | null | 31 | 99 | 573ab0ec6c5b87ea963f013174159ddfcd123976 | 9,767 | listenbrainz-android | Apache License 2.0 |
algorithms/src/main/kotlin/io/kinference/algorithms/completion/suggest/filtering/ProbFilterModel.kt | cybernetics | 324,970,047 | true | {"Kotlin": 461291, "PureBasic": 24490} | package io.kinference.algorithms.completion.suggest.filtering
import io.kinference.algorithms.completion.CompletionConfig
import io.kinference.algorithms.completion.CompletionModel
import io.kinference.algorithms.completion.suggest.feature.Features
import kotlin.math.ln
/**
* Naive version of filtering that uses pro... | 0 | null | 0 | 0 | 8aa3295f112353949562750b83991b7ea8b83cf2 | 1,258 | kinference | Apache License 2.0 |
app/src/main/java/com/ojhdtapp/action/logic/model/Suggest.kt | ojhdt | 425,239,290 | false | {"Kotlin": 414237} | package com.ojhdtapp.action.logic.model
import android.os.Parcelable
import androidx.core.content.ContextCompat
import androidx.room.Entity
import androidx.room.Ignore
import androidx.room.PrimaryKey
import com.ojhdtapp.action.BaseApplication
import com.ojhdtapp.action.R
import kotlinx.android.parcel.Parcelize
import ... | 0 | Kotlin | 1 | 1 | 4fad043c6e30bf3392f5a7df75c02515db9f712d | 1,494 | Action | MIT License |
LoginWithFirebase/app/src/main/java/github/informramiz/loginwithfirebase/ui/main/FirebaseAuthLiveData.kt | informramiz | 277,247,370 | false | null | package github.informramiz.loginwithfirebase.ui.main
import androidx.lifecycle.LiveData
import com.google.firebase.auth.FirebaseAuth
import com.google.firebase.auth.FirebaseUser
/**
* Created by <NAME> on 05/07/2020.
*/
class FirebaseAuthLiveData : LiveData<FirebaseUser?>() {
private val authListener = Firebas... | 0 | Kotlin | 0 | 0 | 1410f91046866056c1a6cd204c623ea1607a7e40 | 655 | LoginWithFirebase | Apache License 2.0 |
app/src/main/kotlin/io/github/plastix/kotlinboilerplate/data/remote/GithubApiService.kt | Plastix | 65,548,118 | false | null | package io.github.plastix.kotlinboilerplate.data.remote
import io.github.plastix.kotlinboilerplate.data.remote.model.SearchResponse
import io.reactivex.Single
import retrofit2.http.GET
import retrofit2.http.Query
interface GithubApiService {
@GET("/search/repositories")
fun repoSearch(@Query("q") query: Stri... | 3 | Kotlin | 50 | 282 | 443762ca4f331cd2d37a042298e57416d3c63ab1 | 447 | Kotlin-Android-Boilerplate | MIT License |
ground/src/main/java/com/google/android/ground/ui/map/LocationController.kt | gino-m | 157,787,424 | true | {"Kotlin": 911599, "Java": 162864, "Python": 3111} | /*
* Copyright 2022 Google 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 agreed to ... | 1 | Kotlin | 1 | 2 | 8197bd086e02e5b9b5324e5e63ccc0844db9fd7f | 2,523 | ground-android | Apache License 2.0 |
app/src/main/java/com/example/sprint/ui/home/HomeActivity.kt | egeysn | 740,338,383 | false | {"Kotlin": 98827} | package com.example.rushi.ui.home
import android.content.Context
import android.content.Intent
import android.os.Bundle
import androidx.activity.viewModels
import androidx.viewpager2.widget.ViewPager2
import com.example.rushi.adapters.pagerAdapters.HomePagerAdapter
import com.example.rushi.common.BaseActivity
import c... | 0 | Kotlin | 0 | 0 | 648736797c82cd2a4315231e348e92b9bbaa5f51 | 1,939 | sports-betting-app | MIT License |
library/src/main/java/com/danikula/videocachekt/StorageUtils.kt | cr1944 | 79,197,596 | true | {"Java": 165862, "Kotlin": 88462} | package com.danikula.videocachekt
import android.content.Context
import android.os.Environment
import org.slf4j.LoggerFactory
import java.io.File
import java.lang.NullPointerException
/**
* Provides application storage paths
*
*
* See https://github.com/nostra13/Android-Universal-Image-Loader
*
* @author <NAME>... | 0 | Java | 0 | 0 | cbe51efb790dcbc64d02f9add262c1e00df58604 | 2,988 | AndroidVideoCache | Apache License 2.0 |
reader/server/core/backend/src/main/kotlin/com/richodemus/reader/backend/model/Feed.kt | RichoDemus | 139,631,107 | false | {"Kotlin": 269062, "Rust": 103127, "JavaScript": 57919, "TypeScript": 13229, "HTML": 11775, "Dockerfile": 1730, "Shell": 588, "CSS": 492} | package com.richodemus.reader.backend.model
import com.richodemus.reader.dto.FeedId
import com.richodemus.reader.dto.FeedName
import java.util.Objects
class Feed(val id: FeedId, val name: FeedName?, val items: List<Item>) {
override fun equals(o: Any?): Boolean {
if (this === o) {
return true
... | 6 | Kotlin | 1 | 0 | af35f014f09a8f7178edbb540f9001df9a76af2b | 766 | autoplaylist | Apache License 2.0 |
src/main/kotlin/_0074_SearchA2DMatrix.kt | ryandyoon | 664,493,186 | false | null | // https://leetcode.com/problems/search-a-2d-matrix
fun searchMatrix(matrix: Array<IntArray>, target: Int): Boolean {
var left = 0
var right = matrix.lastIndex
while (left < right) {
val mid = left + ((right - left) / 2)
if (matrix[mid][0] > target) {
right = mid - 1
} el... | 0 | Kotlin | 0 | 0 | 7f75078ddeb22983b2521d8ac80f5973f58fd123 | 804 | leetcode-kotlin | MIT License |
idea/tests/testData/codeInsight/overrideImplement/copyExperimental.kt | JetBrains | 278,369,660 | false | null | // FIR_IDENTICAL
// DISABLE-ERRORS
@RequiresOptIn
annotation class FirstExperience
open class ParentTarget {
@FirstExperience open fun targetFun() {}
}
class ChildTarget : ParentTarget() {
<caret>
} | 0 | null | 37 | 82 | cc81d7505bc3e9ad503d706998ae8026c067e838 | 209 | intellij-kotlin | Apache License 2.0 |
src/main/kotlin/no/nav/syfo/brev/narmesteleder/NarmesteLederVarselService.kt | navikt | 331,892,633 | false | null | package no.nav.syfo.brev.narmesteleder
import no.nav.melding.virksomhet.servicemeldingmedkontaktinformasjon.v1.servicemeldingmedkontaktinformasjon.*
import no.nav.syfo.application.mq.MQSenderInterface
import no.nav.syfo.client.narmesteleder.NarmesteLederDTO
import no.nav.syfo.dialogmote.domain.MotedeltakerVarselType
i... | 1 | Kotlin | 0 | 0 | e7a334eebbbc5ce316772ba2a94fe62acfa6e1e6 | 3,902 | isdialogmote | MIT License |
src/main/kotlin/no/nav/syfo/brev/narmesteleder/NarmesteLederVarselService.kt | navikt | 331,892,633 | false | null | package no.nav.syfo.brev.narmesteleder
import no.nav.melding.virksomhet.servicemeldingmedkontaktinformasjon.v1.servicemeldingmedkontaktinformasjon.*
import no.nav.syfo.application.mq.MQSenderInterface
import no.nav.syfo.client.narmesteleder.NarmesteLederDTO
import no.nav.syfo.dialogmote.domain.MotedeltakerVarselType
i... | 1 | Kotlin | 0 | 0 | e7a334eebbbc5ce316772ba2a94fe62acfa6e1e6 | 3,902 | isdialogmote | MIT License |
app/src/main/java/com/craftworks/music/ui/viewmodels/SongsScreenViewModel.kt | CraftWorksMC | 734,035,874 | false | null | package com.craftworks.music.ui.viewmodels
import androidx.compose.ui.util.fastFilter
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.craftworks.music.data.MediaData
import com.craftworks.music.data.songsList
import com.craftworks.music.providers.navidrome.NavidromeManager
impor... | 8 | null | 3 | 77 | dee671b672584d06224ae5d626e0e942bf30927b | 2,210 | Chora | Apache License 2.0 |
libraries/navigation/src/main/java/com/eunice/navigation/NavigationFlow.kt | eunix56 | 466,099,049 | false | {"Kotlin": 153904} | package com.eunice.navigation
/**
* Created by {<NAME> on {5/29/22}
* Email: {<EMAIL>}
*/
sealed class GlobalNavigationFlow {
object HomeFlow: GlobalNavigationFlow()
object RecipeFlow: GlobalNavigationFlow()
}
sealed class NavigationFlow {
object RecipeDetailsFlow: NavigationFlow()
object Ingredi... | 0 | Kotlin | 0 | 5 | a51a5e5e4717eff14189a13230715fdc31052feb | 354 | Meals | Apache License 2.0 |
app/src/main/java/com/project/doatahlil/model/ModelDoa.kt | AzharRivaldi | 341,410,891 | false | null | package com.project.doatahlil.model
/**
* Created by <NAME> on 05-02-2021
*/
class ModelDoa {
var strId: String? = null
var strTitle: String? = null
var strArabic: String? = null
var strTranslation: String? = null
} | 0 | Kotlin | 0 | 4 | 613b0e55eda97574fd18b06d15f2e8de64b201dc | 235 | Doa-doa-Tahlil | Apache License 2.0 |
app/src/main/java/com/compose/shoppinglist/ui/model/SharedViewModel.kt | humancatastophe | 552,439,732 | false | {"Kotlin": 111221} | package com.compose.shoppinglist.ui.model
import androidx.lifecycle.LiveData
import androidx.lifecycle.MediatorLiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.Transformations
import androidx.lifecycle.ViewModel
import androidx.lifecycle.switchMap
import androidx.lifecycle.viewModelScope
im... | 0 | Kotlin | 0 | 0 | 4de9f03409339d51354532d9106bc13d03176323 | 5,972 | Shopping-List | MIT License |
screens/moviedetail/src/main/java/dev/sijanrijal/popularmovies/screens/moviedetail/repository/Result.kt | sijanr | 263,267,988 | false | {"Kotlin": 87745} | package dev.sijanrijal.popularmovies.screens.moviedetail.repository
import dev.sijanrijal.popularmovies.core.network.services.moviedetail.MovieDetail
sealed class Result {
class Success(val result: MovieDetail): Result()
object Failure: Result()
} | 4 | Kotlin | 0 | 0 | 85da1e7726ecef24868626b65025d1c9628e47a3 | 257 | popular-movies | Apache License 2.0 |
app/src/main/java/com/robert/android/lostpets/domain/executor/Executor.kt | robertene1994 | 303,119,114 | false | null | package com.robert.android.lostpets.domain.executor
import com.robert.android.lostpets.domain.interactors.base.AbstractInteractor
/**
* Interfaz Executor responsable de la ejecución de los interactors en los hilos backgorund.
*
* @author <NAME>
*/
interface Executor {
/**
* Método que ejecuta la lógica ... | 0 | Kotlin | 0 | 0 | a7af7de031d3ab4e2d14851a117d3729330cd875 | 456 | lostpets-android | MIT License |
src/main/kotlin/jp/assasans/araumi/tx/server/ecs/IComponent.kt | AraumiTX | 604,259,602 | false | null | package jp.assasans.araumi.tx.server.ecs
interface IComponent
| 0 | Kotlin | 1 | 3 | 4828d26c8ff73b902015c0bf68996bbf4f4eb561 | 63 | game-server | MIT License |
src/main/kotlin/application/handler/ProcessEventHandlers.kt | SmartOperatingBlock | 614,385,819 | false | null | /*
* Copyright (c) 2023. Smart Operating Block
*
* Use of this source code is governed by an MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT.
*/
package application.handler
import application.controller.manager.EventProducer
import application.presenter.even... | 1 | Kotlin | 0 | 1 | a1db7e3a036354fe2c2c501c32f3f6b0dd218289 | 21,438 | surgical-process-monitoring-microservice | MIT License |
networking/src/main/java/io/iamjosephmj/networking/endpoints/GithubJobsEndpoints.kt | iamjosephmj | 347,596,083 | false | null | /*
* MIT License
*
* Copyright (c) 2021 <NAME>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, pu... | 0 | null | 0 | 2 | c98b95542857eab6ecc0deb47382c70ef82c756d | 1,393 | Rx-Clean | MIT License |
polyfill/src/functionalTest/kotlin/me/xx2bab/polyfill/PolyfillLibraryFunctionTest.kt | 2BAB | 150,435,649 | false | null | package me.xx2bab.polyfill
import com.alibaba.fastjson.JSON
import com.alibaba.fastjson.TypeReference
import net.lingala.zip4j.ZipFile
import org.gradle.testkit.runner.GradleRunner
import org.junit.Assert
import org.junit.BeforeClass
import org.junit.Test
import java.io.File
/**
* To test all basic functions from po... | 1 | Kotlin | 4 | 68 | ffd96c102aa5c5aa28f3d4e0078298d028d5f1d4 | 4,101 | Polyfill | Apache License 2.0 |
app/src/androidTest/java/com/anytypeio/anytype/features/relations/DisplayObjectRelationTextValueTest.kt | anyproto | 647,371,233 | false | {"Kotlin": 11623123, "Java": 69306, "Shell": 11350, "Makefile": 1334} | package com.anytypeio.anytype.features.relations
import android.os.Bundle
import android.text.InputType
import androidx.core.os.bundleOf
import androidx.fragment.app.testing.FragmentScenario
import androidx.fragment.app.testing.launchFragmentInContainer
import androidx.test.espresso.Espresso.onView
import androidx.tes... | 45 | Kotlin | 43 | 528 | c708958dcb96201ab7bb064c838ffa8272d5f326 | 15,545 | anytype-kotlin | RSA Message-Digest License |
glimpse/geom/src/commonMain/kotlin/freeform/SurfaceHelper.kt | glimpse-graphics | 319,730,354 | false | null | /*
* Copyright 2020-2023 Glimpse Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | 5 | Kotlin | 0 | 6 | e00a9f22db9e10493e7711d5dd8524eb7b06be77 | 1,072 | glimpse | Apache License 2.0 |
src/main/kotlin/net/inherency/finances/config/ConfigurationService.kt | scottygaydos | 278,980,273 | false | {"Kotlin": 199344, "HTML": 2360, "JavaScript": 1723} | package net.inherency.finances.config
import net.inherency.finances.EnvVars
import org.springframework.boot.context.properties.EnableConfigurationProperties
import org.springframework.context.annotation.Configuration
import java.io.File
import java.lang.IllegalStateException
import java.util.*
@Configuration
@EnableC... | 2 | Kotlin | 0 | 0 | 825dd8a5e36ce88b45aa3585871faee8734ae750 | 2,501 | finance_budget_and_reconciler | Apache License 2.0 |
src/main/kotlin/org/opensearch/commons/notifications/action/GetFeatureChannelListResponse.kt | opensearch-project | 354,136,133 | false | null | /*
* Copyright OpenSearch Contributors
* SPDX-License-Identifier: Apache-2.0
*/
package org.opensearch.commons.notifications.action
import org.opensearch.common.io.stream.StreamInput
import org.opensearch.common.io.stream.StreamOutput
import org.opensearch.common.io.stream.Writeable
import org.opensearch.common.xco... | 17 | Kotlin | 36 | 6 | bccb1bb329517c3c550df9b8fd9df81bbf05e4f1 | 2,006 | common-utils | Apache License 2.0 |
bunch-cli/src/test/kotlin/org/jetbrains/bunches/BunchSwitchTest.kt | JetBrains | 126,407,654 | false | null | package org.jetbrains.bunches
import org.eclipse.jgit.diff.DiffEntry
import org.jetbrains.bunches.git.FileAction
import org.jetbrains.bunches.switch.*
import org.junit.jupiter.api.Assertions.assertEquals
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.assertThrows
import org.junit.jupiter.api.io.TempDir... | 12 | Kotlin | 19 | 20 | c19456770115994092b796fa177113abb096bb14 | 11,887 | bunches | Apache License 2.0 |
bunch-cli/src/test/kotlin/org/jetbrains/bunches/BunchSwitchTest.kt | JetBrains | 126,407,654 | false | null | package org.jetbrains.bunches
import org.eclipse.jgit.diff.DiffEntry
import org.jetbrains.bunches.git.FileAction
import org.jetbrains.bunches.switch.*
import org.junit.jupiter.api.Assertions.assertEquals
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.assertThrows
import org.junit.jupiter.api.io.TempDir... | 12 | Kotlin | 19 | 20 | c19456770115994092b796fa177113abb096bb14 | 11,887 | bunches | Apache License 2.0 |
presentation/src/main/java/com/innosync/hook/feature/home/HomeCongressRvAdaptor.kt | 2023-DGSW-FLY | 685,568,000 | false | {"Kotlin": 362041} | package com.innosync.hook.feature.home
import android.content.Context
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.recyclerview.widget.RecyclerView
import com.bumptech.glide.Glide
import com.innosync.hook.R
import com.innosync.hook.databinding.ItemCongressInfoBinding
class HomeCong... | 3 | Kotlin | 0 | 0 | ef4e630893631f630242b00b8f7065c4efc3353c | 1,274 | Android_Hook | MIT License |
sdk/src/main/java/com/mapbox/maps/renderer/widget/BitmapWidgetRenderer.kt | mapbox | 330,365,289 | false | null | package com.mapbox.maps.renderer.widget
import android.graphics.Bitmap
import android.opengl.GLES20
import android.opengl.GLUtils
import android.opengl.Matrix
import androidx.annotation.AnyThread
import androidx.annotation.RestrictTo
import com.mapbox.maps.MapboxExperimental
import com.mapbox.maps.renderer.RenderThrea... | 216 | null | 131 | 472 | 2700dcaf18e70d23a19fc35b479bff6a2d490475 | 10,472 | mapbox-maps-android | Apache License 2.0 |
webrtc-kmp/src/iosMain/kotlin/com/shepeliev/webrtckmp/VideoCaptureController.kt | shepeliev | 329,550,581 | false | null | package com.shepeliev.webrtckmp
internal interface VideoCaptureController {
fun startCapture()
fun stopCapture()
}
| 11 | Kotlin | 21 | 78 | 95798db15fb9ef11d4595eac26e7bb63eb5032af | 124 | webrtc-kmp | Apache License 2.0 |
01 Search Nearby Business - Project 1/app/src/main/java/com/example/nearmekotlindemo/models/googlePlaceModel/directionPlaceModel/DirectionLegModel.kt | ersuheb | 537,943,000 | false | {"Kotlin": 128477} | package com.example.nearmekotlindemo.models.googlePlaceModel.directionPlaceModel
import com.example.nearmekotlindemo.models.googlePlaceModel.directionPlaceModel.DirectionStepModel
import com.squareup.moshi.Json
data class DirectionLegModel(
@field:Json(name = "distance")
val distance: DirectionDistanceModel?... | 0 | Kotlin | 0 | 0 | 27212864e42c485b7f311eb3e264050caba7f181 | 837 | SmartInternz_Virtual_Internship_Android_App_Dev_Kotlin | MIT License |
compose/ui/ui-inspection/src/androidTest/java/androidx/compose/ui/inspection/testdata/AndroidViewTestActivity.kt | RikkaW | 389,105,112 | false | null | /*
* Copyright 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 29 | null | 1011 | 7 | 6d53f95e5d979366cf7935ad7f4f14f76a951ea5 | 1,482 | androidx | Apache License 2.0 |
app/src/main/java/com/mapswithme/maps/bookmarks/data/PaymentData.kt | dnemov | 245,413,600 | false | {"Gradle": 3, "Java Properties": 3, "Shell": 1, "Text": 16, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "INI": 1, "Proguard": 1, "XML": 624, "Kotlin": 708, "Java": 9, "HTML": 3, "JSON": 95} | package com.mapswithme.maps.bookmarks.data
import android.os.Parcelable
import kotlinx.android.parcel.Parcelize
@Parcelize
class PaymentData(
val serverId: String, val productId: String, val name: String,
val imgUrl: String?, val authorName: String, val group: String
) : Parcelable | 0 | Kotlin | 0 | 1 | 8b75114193e141aee14fcbc207a208c4a39de1db | 292 | omim.kt | Apache License 2.0 |
app/src/main/java/io/horizontalsystems/bankwallet/modules/releasenotes/ReleaseNotesFragment.kt | horizontalsystems | 142,825,178 | false | null | package io.horizontalsystems.bankwallet.modules.releasenotes
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.commit
import androidx.fragment.app.viewModels
import io.horizontalsystems.bankwallet.R
import io.horizontalsystem... | 136 | Kotlin | 219 | 402 | 5ce20e6e4e0f75a76496051ba6f78312bc641a51 | 2,440 | unstoppable-wallet-android | MIT License |
app/shared/support/public/src/commonMain/kotlin/build/wallet/support/ConditionEvaluationResult.kt | proto-at-block | 761,306,853 | false | {"C": 10424094, "Kotlin": 7156393, "Rust": 2046237, "Swift": 700307, "Python": 331492, "HCL": 271992, "Shell": 111209, "TypeScript": 102700, "C++": 64770, "Meson": 64234, "JavaScript": 36227, "Just": 28071, "Ruby": 9428, "Dockerfile": 5731, "Makefile": 3839, "Open Policy Agent": 1552, "Procfile": 80} | package build.wallet.support
/**
* Result of evaluating [SupportTicketField] conditions.
* A field can either be [Hidden] or [Visible].
* When a field is [Hidden], the app doesn't consider it a part of the form.
* When a field is [Visible], it can either be [Visible.Required] or [Visible.Optional].
* For [Visible... | 0 | C | 10 | 98 | 1f9f2298919dac77e6791aa3f1dbfd67efe7f83c | 805 | bitkey | MIT License |
kool-core/src/commonMain/kotlin/de/fabmax/kool/modules/gltf/GltfAssetManagerExtensions.kt | fabmax | 81,503,047 | false | null | package de.fabmax.kool.modules.gltf
import de.fabmax.kool.Assets
import de.fabmax.kool.KoolException
import de.fabmax.kool.scene.Model
import de.fabmax.kool.util.DataStream
import de.fabmax.kool.util.inflate
import de.fabmax.kool.util.logW
suspend fun Assets.loadGltfFile(assetPath: String): GltfFile {
val file = ... | 9 | null | 14 | 242 | 1ba37a980cf3b949b94df70c75677211bda9fa5b | 3,389 | kool | Apache License 2.0 |
library/driver/src/jvmMain/kotlin/io/toxicity/sqlite/mc/driver/internal/JvmPlatform.kt | toxicity-io | 687,680,431 | false | {"Kotlin": 267154} | /*
* Copyright (c) 2023 Toxicity
*
* 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 agreed t... | 7 | Kotlin | 0 | 8 | d4dacce9a68019c42c72c44100f7157aa1f8b883 | 1,361 | sqlite-mc | Apache License 2.0 |
app/src/androidTest/java/com/example/superapp/utils/CustomComparator.kt | superwall | 642,585,064 | false | {"Kotlin": 1402672, "Shell": 580} | package com.example.superapp.utils
import com.dropbox.differ.Color
import com.dropbox.differ.Image
import com.dropbox.differ.ImageComparator
import com.dropbox.differ.Mask
import com.dropbox.differ.SimpleImageComparator
class ModifiedImage(
private val original: Image,
private val systemBarHeight: Int,
) : Im... | 10 | Kotlin | 3 | 11 | 5e07a3f3da1c0ee01f62df3b9ebc414f9e41cc69 | 1,727 | Superwall-Android | MIT License |
feature/home/src/main/java/com/tmdb/feature/home/view/TopRatedView.kt | ductam1987 | 670,563,569 | false | null | package com.tmdb.feature.home.view
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.lazy.LazyRow
import androidx.compose.foundation.lazy.rememberLazyListState
import androidx.compose.runtime.Composable
import androidx.compose.runtime.... | 0 | Kotlin | 0 | 7 | 6ad2b9e8def338059f35edf73ec1ae530e579936 | 2,411 | TMDB-Compose-Koin-UDF | Apache License 2.0 |
app/src/main/java/com/decimalab/simpletask/data/repository/AddTaskRepository.kt | ShakilAhmedShaj | 318,355,269 | false | null | package com.decimalab.simpletask.data.repository
import androidx.lifecycle.MutableLiveData
import com.decimalab.simpletask.base.BaseRepository
import com.decimalab.simpletask.data.remote.model.request.task.AddTaskRequest
import com.decimalab.simpletask.data.remote.model.response.task.AddTaskResponse
import com.decimal... | 0 | Kotlin | 0 | 1 | 371f22b2cc387b2235003c838fa97a9b80700cbe | 801 | Simple_Task_RU | The Unlicense |
Camera2Video/app/src/main/java/com/example/android/camera2/video/fragments/PreviewFragment.kt | ljchuang | 598,895,992 | false | null | /*
* Copyright 2020 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 0 | Kotlin | 0 | 0 | f5393da4b0dcd06edada3ae5d7653b58a1f4ee68 | 60,221 | camera-samples | Apache License 2.0 |
app/src/commonMain/kotlin/sample/Selectors.kt | monstar-lab-oss | 250,022,335 | false | null | package sample
import com.fuzz.kedux.FracturedState
import com.fuzz.kedux.Selector
import com.fuzz.kedux.fracturedSelector
/**
* Description:
*/
val moviesSelector: Selector<FracturedState, List<Movie>> = fracturedSelector(movieReducer)
.compose { it.movies }
val isMovieAddedSelector: Selector<FracturedSta... | 3 | Kotlin | 0 | 7 | 76d3919d84d03430ad78f673ccdafa4687cb919f | 404 | kedux | MIT License |
laboratory/inspector/src/main/kotlin/io/mehow/laboratory/inspector/Iterables.kt | MiSikora | 271,023,663 | false | {"Kotlin": 312630, "Shell": 2767, "HTML": 260} | package io.mehow.laboratory.inspector
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.combine
internal inline fun <reified T> Iterable<Flow<T>>.combineLatest() = combine(this) { it.toList() }
internal fun <T> Iterable<T>.containsAllInOrder(
other: Iterable<T>,
predicate: (left: T, right: T) ->... | 6 | Kotlin | 3 | 82 | ec8dcd269c0dc856aa368f06a1091aac00588ca9 | 905 | laboratory | Apache License 2.0 |
dsl/src/main/kotlin/cloudshift/awscdk/dsl/services/dynamodb/CfnGlobalTablePointInTimeRecoverySpecificationPropertyDsl.kt | cloudshiftinc | 667,063,030 | false | null | @file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION")
package cloudshift.awscdk.dsl.services.dynamodb
import cloudshift.awscdk.common.CdkDslMarker
import kotlin.Boolean
import software.amazon.awsc... | 1 | Kotlin | 0 | 0 | 17c41bdaffb2e10d31b32eb2282b73dd18be09fa | 1,997 | awscdk-dsl-kotlin | Apache License 2.0 |
dsl/src/main/kotlin/cloudshift/awscdk/dsl/services/dynamodb/CfnGlobalTablePointInTimeRecoverySpecificationPropertyDsl.kt | cloudshiftinc | 667,063,030 | false | null | @file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION")
package cloudshift.awscdk.dsl.services.dynamodb
import cloudshift.awscdk.common.CdkDslMarker
import kotlin.Boolean
import software.amazon.awsc... | 1 | Kotlin | 0 | 0 | 17c41bdaffb2e10d31b32eb2282b73dd18be09fa | 1,997 | awscdk-dsl-kotlin | Apache License 2.0 |
src/main/kotlin/no/nav/syfo/client/pdl/PdlClient.kt | navikt | 178,837,883 | false | {"Kotlin": 106830, "Dockerfile": 226} | package no.nav.syfo.client.pdl
import io.ktor.client.call.*
import io.ktor.client.request.*
import io.ktor.client.statement.*
import io.ktor.http.*
import no.nav.syfo.client.ClientEnvironment
import no.nav.syfo.client.azuread.*
import no.nav.syfo.client.httpClientDefault
import no.nav.syfo.util.*
import org.slf4j.Logg... | 0 | Kotlin | 0 | 0 | 4a68f9e27d32cbb5332fd13ff6a572952eabd728 | 2,347 | fastlegerest | MIT License |
app/src/main/java/com/example/gameshow/viewmodel/ProfileViewModel.kt | forceindia712 | 614,879,639 | false | null | package com.example.gameshow.viewmodel
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import com.example.gameshow.domain.dataclass.ProfileDataClass
import com.example.gameshow.usecases.profile.CheckInternetConnection
import com.example.gameshow.usecases.profile.DeleteProfile
import com.e... | 0 | Kotlin | 0 | 1 | eb483b5aac7807b2ed507e30fea68d808360f40e | 1,611 | ButtonGame | Apache License 2.0 |
src/main/kotlin/com/example/models/medicalInformation.kt | frownyface770 | 772,511,750 | false | {"Kotlin": 59535} | package com.example.models
import io.ktor.server.engine.*
import kotlinx.serialization.Serializable
import org.jetbrains.exposed.sql.ResultRow
import org.jetbrains.exposed.sql.SchemaUtils
import org.jetbrains.exposed.sql.*
import org.jetbrains.exposed.sql.SqlExpressionBuilder.eq
import org.jetbrains.exposed.sql.select
... | 0 | Kotlin | 0 | 0 | 9504e48b411ed6566264c7ee5cb816073734bab0 | 8,735 | hospitalApi | MIT License |
src/main/kotlin/Main.kt | thorny-thorny | 461,729,338 | false | null | import kotlin.math.ceil
interface ProductionItem {
val name: String
}
data class ProductionItemsBundle(val productionItem: ProductionItem, val amount: Float)
data class Resource(override val name: String): ProductionItem
data class Recipe(override val name: String, val itemsPerRecipe: Int, val recipesPerMinute: F... | 0 | Kotlin | 0 | 0 | d8b8191665461f258a1e5a9285a2a38f04905541 | 5,544 | dsp-calculator | MIT License |
app/src/main/kotlin/wiki/depasquale/spotify/track/TrackManagerIgnoreEmpty.kt | diareuse | 538,855,708 | false | {"Kotlin": 22732} | package wiki.depasquale.spotify.track
class TrackManagerIgnoreEmpty(
private val source: TrackManager
) : TrackManager {
override fun removeFromSaved(list: List<TrackId>) {
if (list.isEmpty()) {
return
}
source.removeFromSaved(list)
}
} | 0 | Kotlin | 0 | 1 | 831d809276a720602e0736797ba3dc00fdca6cba | 287 | archivist | MIT License |
shared/src/commonMain/kotlin/com/jmf/kmmsamples/shared/Validator.kt | JaviSFH | 344,402,616 | false | {"Swift": 8081, "Kotlin": 6995} | package com.jmf.kmmsamples.shared
class Validator {
fun validatePhoneNumber(phoneNumber: String) = phoneNumber.matches(Regex("^([0-9]){9}\$"))
fun validateEmailAddress(email: String) = email.matches(Regex("^\\S+@\\S+\$"))
} | 0 | Swift | 0 | 0 | aa24100cf3e922e4aec2387a1477d3cbbd056a6a | 234 | KMM-sample | Apache License 2.0 |
parallel-programming/synchronous-queue/src/SynchronousQueueMS.kt | Lascor22 | 331,294,681 | false | {"Java": 1706475, "HTML": 436528, "CSS": 371563, "C++": 342426, "Jupyter Notebook": 274491, "Kotlin": 248153, "Haskell": 189045, "Shell": 186916, "JavaScript": 159132, "Vue": 45665, "Python": 25957, "PLpgSQL": 23402, "Clojure": 11410, "Batchfile": 9677, "FreeMarker": 7201, "Yacc": 7148, "ANTLR": 6303, "Scala": 3020, "L... | import kotlin.coroutines.resume
import kotlin.coroutines.Continuation
import kotlin.coroutines.suspendCoroutine
import java.util.concurrent.atomic.AtomicReference
const val RETRY = "RETRY"
@Suppress("UNCHECKED_CAST")
class SynchronousQueueMS<E> : SynchronousQueue<E> {
private val head: AtomicReference<Node>
p... | 1 | null | 1 | 1 | c41dfeb404ce995abdeb18fc93502027e54239ee | 3,516 | ITMO-university | MIT License |
app/src/main/java/com/stock/sns/zuzuclub_android/ui/signup/ChooseStockActivity.kt | paksuua | 348,938,055 | false | null | package com.stock.sns.zuzuclub_android.ui.signup
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import androidx.activity.viewModels
import androidx.recyclerview.widget.GridLayoutManager
import com.stock.sns.zuzuclub_android.databinding.ActivityChooseStockBinding
... | 1 | null | 1 | 1 | 006d31075fe198548f36b817ca001a04d42a6846 | 1,287 | ZuzuClub_Android | Apache License 2.0 |
android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/medialibrary/MediaLibraryPackage.kt | betomoedano | 462,599,485 | true | {"TypeScript": 7804102, "Kotlin": 3383974, "Objective-C": 2722124, "Swift": 1723956, "Java": 1686584, "JavaScript": 847793, "C++": 310224, "C": 237463, "Objective-C++": 191888, "Ruby": 167983, "Shell": 59271, "HTML": 31107, "CMake": 25754, "Batchfile": 89, "CSS": 42} | package abi47_0_0.expo.modules.medialibrary
import android.content.Context
import abi47_0_0.expo.modules.core.BasePackage
class MediaLibraryPackage : BasePackage() {
override fun createExportedModules(context: Context) = listOf(MediaLibraryModule(context))
}
| 0 | TypeScript | 0 | 4 | 52d6405570a39a87149648d045d91098374f4423 | 263 | expo | MIT License |
android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/medialibrary/MediaLibraryPackage.kt | betomoedano | 462,599,485 | true | {"TypeScript": 7804102, "Kotlin": 3383974, "Objective-C": 2722124, "Swift": 1723956, "Java": 1686584, "JavaScript": 847793, "C++": 310224, "C": 237463, "Objective-C++": 191888, "Ruby": 167983, "Shell": 59271, "HTML": 31107, "CMake": 25754, "Batchfile": 89, "CSS": 42} | package abi47_0_0.expo.modules.medialibrary
import android.content.Context
import abi47_0_0.expo.modules.core.BasePackage
class MediaLibraryPackage : BasePackage() {
override fun createExportedModules(context: Context) = listOf(MediaLibraryModule(context))
}
| 0 | TypeScript | 0 | 4 | 52d6405570a39a87149648d045d91098374f4423 | 263 | expo | MIT License |
tiles/src/main/java/dev/aspirasoft/apis/tiled/TileMap.kt | aspirasoft | 200,599,719 | false | {"Kotlin": 16830, "Python": 4354} | package dev.aspirasoft.apis.tiled
/**
* A two-dimensional grid of tiled images.
*
* @author saifkhichi96
* @since 0.0.1
*/
class TileMap(
private val columnCount: Int,
private val rowCount: Int,
val tileWidth: Double,
val tileHeight: Double,
) {
private val grid = ArrayList<ArrayList<Tile>>()... | 0 | Kotlin | 0 | 2 | 3b86ad53c082436f3b63ea2a4390c02e086bd964 | 2,437 | tiled | MIT License |
app/src/main/java/com/yakasoftware/zerotech/views/ResetPasswordScreen.kt | YA-KA-SOFTWARE | 688,571,192 | false | {"Kotlin": 1717569} | package com.yakasoftware.zerotech.views
import android.widget.Toast
import androidx.compose.foundation.BorderStroke
import androidx.compose.foundation.background
import androidx.compose.foundation.border
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Box
import androidx... | 0 | Kotlin | 0 | 0 | ebb0567edf7cf79dc74c15c1c0183f011bf1dccd | 20,396 | zerotech | MIT License |
kotlin-electron/src/jsMain/generated/electron/ProcessMemoryInfo.kt | JetBrains | 93,250,841 | false | {"Kotlin": 12159121, "JavaScript": 330528} | // Generated by Karakum - do not modify it manually!
package electron
typealias ProcessMemoryInfo = electron.core.ProcessMemoryInfo
| 40 | Kotlin | 165 | 1,319 | a8a1947d73e3ed26426f1e27b641bff427dfd6a0 | 136 | kotlin-wrappers | Apache License 2.0 |
plugin/src/main/kotlin/ru/cian/huawei/publish/models/response/SubmitResponse.kt | cianru | 234,567,962 | false | null | package ru.cian.huawei.publish.models.response
import com.google.gson.annotations.SerializedName
internal data class SubmitResponse(
@SerializedName("ret")
var ret: Ret
)
| 0 | Kotlin | 21 | 91 | ef2f517b139e3522abde88b64f4c7cf06594cf64 | 181 | huawei-appgallery-publish-gradle-plugin | Apache License 2.0 |
app/src/main/java/au/com/sentia/test/model/Extras.kt | androidlife | 127,247,296 | false | null | package au.com.sentia.test.model
const val PROPERTY = "Property"
| 0 | Kotlin | 0 | 0 | c0f4444373461e2074310d9c079255ae5bfc4d02 | 66 | realstate | MIT License |
master-service/src/test/kotlin/acceptance/AcceptanceTest.kt | sirdesmond | 73,859,398 | false | {"Kotlin": 19483, "Shell": 424} | package acceptance
import com.fasterxml.jackson.databind.ObjectMapper
import com.github.tomakehurst.wiremock.client.WireMock
import com.github.tomakehurst.wiremock.junit.WireMockRule
import com.jayway.restassured.RestAssured
import com.jayway.restassured.internal.mapping.Jackson2Mapper
import org.hamcrest.Matchers
imp... | 0 | Kotlin | 0 | 0 | 7151f493c9374db131a59576128e14cecdccda1c | 3,077 | changecalculator | MIT License |
kotest-assertions/kotest-assertions-shared/src/jvmTest/kotlin/com/sksamuel/kotest/eq/IterableEqTest.kt | litpho | 291,912,064 | true | {"Kotlin": 2418415, "HTML": 423, "Java": 145} | package com.sksamuel.kotest.eq
import io.kotest.assertions.assertSoftly
import io.kotest.assertions.eq.IterableEq
import io.kotest.core.spec.style.FunSpec
import io.kotest.matchers.nulls.shouldBeNull
import io.kotest.matchers.nulls.shouldNotBeNull
import io.kotest.matchers.shouldBe
class IterableEqTest : FunSpec({
... | 0 | Kotlin | 0 | 0 | b0761613b9f8c76ba7f23033aeafc5f72db981a1 | 2,799 | kotest | Apache License 2.0 |
app/src/main/java/com/erensekkeli/roomieconnect/adapters/MediaListAdapter.kt | mErenSekkeli | 641,947,991 | false | null | package com.erensekkeli.roomieconnect.adapters
import android.content.Context
import android.content.Intent
import android.content.SharedPreferences
import android.net.Uri
import android.os.Bundle
import android.view.LayoutInflater
import android.view.ViewGroup
import android.widget.Toast
import androidx.appcompat.ap... | 1 | Kotlin | 0 | 0 | 8dbee82e12a41edef56d873d80eeebea1eedf4c0 | 4,355 | RoomieConnect | MIT License |
app/src/main/java/com/varunest/listpullrequests/data/network/model/PullRequest.kt | Artnoc1 | 282,994,443 | true | {"Kotlin": 29840} | package com.varunest.listpullrequests.data.network.model
import com.google.gson.annotations.SerializedName
data class PullRequest(
@SerializedName("title") val title: String,
@SerializedName("body") val body: String,
@SerializedName("html_url") val url: String,
@SerializedName("created_at") val create... | 0 | null | 0 | 0 | 2c5632ecff691b4b2a9ab1043773d060fd03bf1c | 425 | ListPullRequests | Apache License 2.0 |
app/src/androidTest/java/com/nisaefendioglu/themoviemanager/db/MovieDbTest.kt | nisaefendioglu | 636,250,319 | false | null | package com.nisaefendioglu.themoviemanager.db
import androidx.arch.core.executor.testing.InstantTaskExecutorRule
import androidx.room.Room
import androidx.test.core.app.ApplicationProvider.getApplicationContext
import org.junit.runner.RunWith
import androidx.test.ext.junit.runners.AndroidJUnit4
import androidx.test.fi... | 0 | Kotlin | 0 | 0 | 4643baf3b69b52eb8da84c87c06fba2584a97a77 | 3,477 | TheMovieManager | MIT License |
src/main/kotlin/archives/tater/netherarchives/Utils.kt | JosiahFu | 711,624,418 | false | {"Kotlin": 68510, "Java": 10019} | package archives.tater.netherarchives
import net.fabricmc.fabric.api.item.v1.FabricItemSettings
import net.fabricmc.fabric.api.`object`.builder.v1.block.FabricBlockSettings
import net.minecraft.util.math.BlockPos
import net.minecraft.util.math.random.Random
// iterateInSquare uses the same blockPos object and mutates... | 0 | Kotlin | 0 | 0 | 5366abcd00d958d62206e8df0f90e36e659a446d | 923 | NetherArchives | MIT License |
app/src/main/java/com/tariod/uphub/domain/contract/PagingUsersUseCase.kt | Tariod | 265,461,418 | false | null | package com.tariod.uphub.domain.contract
import com.tariod.uphub.data.database.model.User
import com.tariod.uphub.domain.base.PagingState
import com.tariod.uphub.utilities.coroutine.JobComposite
interface PagingUsersUseCase {
fun fetch(jobComposite: JobComposite, search: String): PagingState<User>
} | 1 | null | 1 | 1 | 059d5e0cab46037dee0efda7785b6e19bfdf9bff | 308 | UpHub | MIT License |
app/src/androidTest/java/cucerdariancatalin/sdui/components/bannerCarousel/BannerCarouselComponentViewTest.kt | darian-catalin-cucer | 595,828,687 | false | null | package cucerdariancatalin.sdui.components.bannerCarousel
class BannerCarouselComponentViewTest {
} | 0 | Kotlin | 0 | 1 | 9073cad80f41e3a3708b305de24be6ffaa78ceae | 100 | SDUI | Apache License 2.0 |
src/main/kotlin/com/msg/gcms/domain/auth/domain/entity/RefreshToken.kt | GSM-MSG | 592,816,374 | false | null | package com.msg.gcms.domain.auth.domain.entity
import org.springframework.data.annotation.Id
import org.springframework.data.redis.core.RedisHash
import org.springframework.data.redis.core.index.Indexed
import java.util.UUID
@RedisHash(value = "refreshToken", timeToLive = 60L * 60 * 24 * 7)
class RefreshToken(
@I... | 7 | Kotlin | 0 | 8 | d55e8ed3f343acca0c3937cf07b6fcfb8dd30598 | 402 | GCMS-BackEnd | MIT License |
shuttle/widget/src/main/kotlin/shuttle/widget/ui/SuggestedAppsWidget.kt | fardavide | 462,194,990 | false | null | package shuttle.widget.ui
import android.content.Context
import android.content.Intent
import android.graphics.Bitmap
import androidx.compose.runtime.Composable
import androidx.compose.runtime.collectAsState
import androidx.compose.runtime.getValue
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.u... | 14 | Kotlin | 0 | 13 | 7d228cb469bad7e5cc5ba2952fbc124972b2d78e | 7,633 | Shuttle | Apache License 2.0 |
modules/collections/src/test/kotlin/io/github/airflux/commons/collections/list/NonEmptyListTest.kt | airflux | 784,383,067 | false | {"Kotlin": 162621} | /*
* Copyright 2024 <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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... | 0 | Kotlin | 1 | 0 | a5a56df6c99d368653b8bb832427f67342a3ac36 | 5,266 | airflux-commons | Apache License 2.0 |
api_viewing/src/main/kotlin/com/madness/collision/unit/api_viewing/util/AppUsage.kt | cliuff | 231,891,447 | false | {"Kotlin": 1532215} | /*
* Copyright 2022 <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 wr... | 0 | Kotlin | 9 | 97 | bf61e5587039098c3161f8d1a8cd5c7398cb1b82 | 1,296 | boundo | Apache License 2.0 |
app/src/main/java/me/nickellis/caturday/service/ServiceModule.kt | nwellis | 181,355,212 | false | null | package me.nickellis.caturday.service
import android.content.Context
import com.google.gson.Gson
import com.google.gson.GsonBuilder
import dagger.Module
import dagger.Provides
import dagger.Reusable
import me.nickellis.caturday.BuildConfig
import me.nickellis.caturday.service.cat.CatApiError
import me.nickellis.caturd... | 0 | Kotlin | 0 | 0 | 50e5a8d21201b21c981840c178df1a58ca730795 | 1,897 | Caturday | Apache License 2.0 |
app/src/main/java/pe/geff/gohab/onboarding/presentation/OnboardingScreen.kt | gpillaca | 783,569,780 | false | {"Kotlin": 62959} | package pe.geff.gohab.onboarding.presentation
import androidx.compose.runtime.Composable
import androidx.compose.runtime.LaunchedEffect
import pe.geff.gohab.R
import pe.geff.gohab.onboarding.OnboardingPagerInformation
import pe.geff.gohab.onboarding.component.OnboardingPager
import androidx.hilt.navigation.compose.hil... | 0 | Kotlin | 0 | 0 | 84ac55607e0e1bff114c0eaec60518a9994f035a | 1,384 | GoHab | MIT License |
tbs/src/main/java/com/angcyo/tbs/core/TbsVideoActivity.kt | angcyo | 229,037,684 | false | null | package com.angcyo.tbs.core
import android.content.res.Configuration
import android.os.Bundle
import com.angcyo.activity.showDebugInfoView
import com.angcyo.base.dslAHelper
import com.angcyo.library.ex.isDebug
import com.tencent.smtt.sdk.VideoActivity
/**
*
* Email:<EMAIL>
* @author angcyo
* @date 2020/03/08
*/
... | 0 | Kotlin | 4 | 2 | 96a6ea873c8486a06525e752038ab2630b3c86ca | 1,251 | UICoreEx | MIT License |
wot-server/src/main/kotlin/dev/d1s/wot/server/repository/DeliveryRepository.kt | d1snin | 513,986,150 | false | {"Kotlin": 109906, "Shell": 846, "Dockerfile": 92} | /*
* Copyright 2022 <NAME> and other Webhooks over Telegram project 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-2.0
*
... | 5 | Kotlin | 0 | 2 | 1cb12aeffe5a7e395dc36742a58d9e3ea545e239 | 1,895 | webhooks-over-tgm | Apache License 2.0 |
6/src/mutual/kotlin/SAM.kt | ldk123456 | 155,069,463 | false | null | package mutual.kotlin
import mutual.java.SAMInJava
fun main(args: Array<String>) {
var samInJava = SAMInJava()
val lambda = {
println("Hello")
}
samInJava.addTask(lambda)
samInJava.removeTask(lambda)
} | 1 | null | 1 | 1 | 8dc6bff0ef47b824bb5861cd6f4a27bdcefa39f3 | 231 | Introduction | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.