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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
feature/lesson/src/main/java/com/prography/lesson/compose/create/screen/DefaultInfoScreen.kt | prography-team8 | 799,143,036 | false | {"Kotlin": 459261} | package com.prography.lesson.compose.create.screen
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.rememberScrollState
import andr... | 0 | Kotlin | 0 | 0 | 964f14a6f1688b7c8e6f10a0f1ac45e831110d37 | 2,963 | gwasuwon-aos | Apache License 2.0 |
app/src/main/java/com/luuu/seven/bean/SearchDataBean.kt | bighanber | 117,523,975 | false | null | package com.luuu.seven.bean
import com.google.gson.annotations.SerializedName
data class SearchDataBean (
var id: Int,
var status: String,
var title: String,
@SerializedName("last_name")
var lastName: String,
var cover: String,
var authors: String,
var types: String,
@SerializedNam... | 0 | Kotlin | 2 | 2 | dcd634473bc4e5594ee05f499366aca49015f50b | 357 | Seven | MIT License |
app/src/main/java/com/xihu/mywanandroid/ui/fragments/HomeFragment.kt | shuqianlan | 224,167,171 | false | null | package com.xihu.mywanandroid.ui.fragments
import android.os.Bundle
import android.view.*
import androidx.constraintlayout.widget.ConstraintLayout
import androidx.databinding.DataBindingUtil
import androidx.databinding.ObservableBoolean
import androidx.lifecycle.Observer
import androidx.navigation.Navigation
import a... | 0 | Kotlin | 0 | 0 | 2bb78261593333c2992f7fd8cbb06d51fa5dd408 | 6,459 | MyWanAndroid | Apache License 2.0 |
app/src/main/java/com/example/simpletodo/TaskItemAdapter.kt | justin-han | 420,529,529 | false | {"Kotlin": 5417} | package com.example.simpletodo
import android.util.Log
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import androidx.appcompat.view.menu.ActionMenuItemView
import androidx.recyclerview.widget.RecyclerView
/*
A bridge that tells recyclervie... | 1 | Kotlin | 0 | 0 | b8e2c9df56450043af09e33dcc7e5b8e0f06d213 | 1,627 | SimpleToDo | Apache License 2.0 |
admin-auth/src/test/kotlin/com/epam/drill/admin/auth/ApiKeyModuleTest.kt | Drill4J | 229,633,944 | false | {"Kotlin": 361794, "PLpgSQL": 45182, "Dockerfile": 568} | /**
* Copyright 2020 - 2022 EPAM Systems
*
* 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... | 2 | Kotlin | 2 | 12 | 3a51b68a48c1ad7cfa3e3360f8c684fc2f5abdf5 | 8,547 | admin | Apache License 2.0 |
features/userprofile/shared/src/main/kotlin/io/element/android/features/userprofile/shared/UserProfileMainActionsSection.kt | element-hq | 546,522,002 | false | {"Kotlin": 8692554, "Python": 57175, "Shell": 39911, "JavaScript": 20399, "Java": 9607, "HTML": 9416, "CSS": 2519, "Ruby": 44} | /*
* Copyright (c) 2024 New Vector Ltd
*
* 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 agr... | 263 | Kotlin | 129 | 955 | 31d0621fa15fe153bfd36104e560c9703eabe917 | 2,262 | element-x-android | Apache License 2.0 |
compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/reversed/stepThenReversed.kt | JetBrains | 3,432,266 | false | {"Kotlin": 79571273, "Java": 6776465, "Swift": 4063829, "C": 2609744, "C++": 1957654, "Objective-C++": 175279, "JavaScript": 130754, "Python": 59855, "Shell": 34920, "Objective-C": 21463, "Lex": 21452, "Batchfile": 11382, "CSS": 11368, "Ruby": 10470, "Dockerfile": 9907, "Groovy": 7092, "EJS": 5241, "CMake": 4473, "HTML... | // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit!
// WITH_STDLIB
// DONT_TARGET_EXACT_BACKEND: JVM
// !LANGUAGE: +RangeUntilOperator
@file:OptIn(ExperimentalStdlibApi::class)
import kotlin.test.*
fun box(): String {
val uintList = mutableListOf<UInt>()
val uintProgression = 1u..<9u
fo... | 181 | Kotlin | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 685 | kotlin | Apache License 2.0 |
src/test/kotlin/dev/mcenv/mcx/build/pass/TokenizeTests.kt | mcenv | 721,052,595 | false | {"Kotlin": 276346, "TypeScript": 2048, "JavaScript": 863} | package dev.mcenv.mcx.build.pass
import dev.mcenv.mcx.build.repr.Token
import net.jqwik.api.ForAll
import net.jqwik.api.Property
import kotlin.test.Test
import kotlin.test.assertEquals
object TokenizeTests {
private fun tokenize(text: String): List<Token> {
val tokens = mutableListOf<Token>()
val ... | 81 | Kotlin | 0 | 5 | 2f6bdf83719edbc5bd45b60d82589cf88f68a982 | 5,721 | mcx | MIT License |
app/src/main/java/com/frogobox/board/model/Tutorial.kt | amirisback | 231,232,246 | false | {"Kotlin": 115408} | package com.frogobox.board.model
/*
* Created by faisalamir on 09/08/21
* 2048
* -----------------------------------------
* Name : <NAME>
* E-mail : <EMAIL>
* Github : github.com/amirisback
* -----------------------------------------
* Copyright (C) 2021 FrogoBox Inc.
* All rights reserved
*
... | 0 | Kotlin | 0 | 6 | 6ba735a826ec8a5d5a065b1710d2d419fced5c09 | 416 | 2048 | Apache License 2.0 |
cockpit/src/main/java/com/polidea/cockpit/paramsedition/viewholder/DoubleParamViewHolder.kt | Polidea | 128,928,904 | false | null | package com.polidea.cockpit.paramsedition.viewholder
import android.view.View
internal class DoubleParamViewHolder(view: View) : NumberParamViewHolder<Double>(view) {
override fun convertStringToNumber(stringValue: String?) = stringValue?.toDoubleOrNull() ?: .0
} | 2 | Kotlin | 8 | 119 | 16a8ddc3c01727e1c05db686426dc3e26da6a057 | 269 | Cockpit | Apache License 2.0 |
src/main/kotlin/dream/house/nervez/repos/PosterRepository.kt | leinadalrus | 722,349,985 | false | {"Kotlin": 10853} | package dream.house.nervez.repos
import dream.house.nervez.models.Poster
import org.springframework.data.repository.CrudRepository
interface PosterRepository : CrudRepository<Poster, Int> {
fun findBySlug(slug: String): Poster?
fun findAllByOrderByAddedAtDesc(): Iterable<Poster>
} | 0 | Kotlin | 0 | 0 | 4e2e0299a69c376813cfb136b188e420b3f6c4c3 | 287 | nervez | Apache License 2.0 |
fibonacci/src/main/kotlin/com/nickperov/stud/fibonacci/FibonacciGenerator.kt | nickperov | 327,780,009 | false | null | package com.nickperov.stud.fibonacci
import java.math.BigDecimal
import java.math.MathContext
import java.math.RoundingMode
fun main() {
println("Hello, Fibonacci numbers")
for (number in 0..10) {
println("====================>$number<==================")
println(FibonacciRecursiveGenerator()... | 0 | Kotlin | 0 | 0 | d69e5a19b1c27fb06f1782047231a5a07aa4795a | 8,026 | Algorithms | MIT License |
app/src/main/java/com/sleewell/sleewell/mvp/menu/profile/contract/LoginContract.kt | TitouanFi | 427,797,671 | true | {"Kotlin": 554160, "HTML": 385717, "Java": 102120, "CSS": 12842, "JavaScript": 7278} | package com.sleewell.sleewell.mvp.menu.profile.contract
import com.sleewell.sleewell.api.sleewell.model.ResultLoginSleewell
import com.sleewell.sleewell.mvp.global.BasePresenter
import com.sleewell.sleewell.mvp.global.BaseView
interface LoginContract {
interface Model {
interface OnFinishedListener {
... | 0 | Kotlin | 0 | 0 | e1980017127869159b0742b63273fa342ae0c9da | 1,374 | Sleewell-Android | MIT License |
app/src/main/java/com/test/todolist/ui/analytics/AnalyticsScreen.kt | AlirezaGoshayesh | 563,379,165 | false | {"Kotlin": 89760} | package com.test.todolist.ui.analytics
import androidx.compose.animation.core.FastOutLinearInEasing
import androidx.compose.animation.core.FastOutSlowInEasing
import androidx.compose.animation.core.animateIntAsState
import androidx.compose.animation.core.tween
import androidx.compose.foundation.background
import andro... | 0 | Kotlin | 0 | 5 | 2ea16fbd0feefbbf714b0ab92b15536440fdedc4 | 9,171 | ToDo-Compose | Apache License 2.0 |
src/main/kotlin/me/carltonwhitehead/tornadofx/junit5/App.kt | carltonwhitehead | 191,853,704 | false | null | package me.carltonwhitehead.tornadofx.junit5
annotation class App | 0 | Kotlin | 0 | 3 | 8407ebd6ac96b973df0cd0d89eb5bd1ed026ebae | 66 | tornadofx-junit5 | Apache License 2.0 |
model-aws/src/generated/kotlin/uy/kohesive/iac/model/aws/contexts/Route53.kt | kohesive | 81,814,921 | false | null | package uy.kohesive.iac.model.aws.contexts
import com.amazonaws.services.route53.AmazonRoute53
import com.amazonaws.services.route53.model.*
import uy.kohesive.iac.model.aws.IacContext
import uy.kohesive.iac.model.aws.KohesiveIdentifiable
import uy.kohesive.iac.model.aws.utils.DslScope
interface Route53Identifiable :... | 0 | Kotlin | 1 | 3 | c52427c99384396ea60f436750932ed12aad4e6d | 1,641 | kohesive-iac | MIT License |
app/src/main/java/com/digitaldealsolution/tweeklabstask/model/EventModel.kt | harshdigi | 525,768,464 | false | null | package com.digitaldealsolution.tweeklabstask.model
data class EventModel(
var organisation: String,
val athletes: ArrayList<AthleteModel>
) {
} | 0 | Kotlin | 0 | 0 | 453f585efa97e449b51b38276715dc8c24e62a5c | 155 | TweakLabTask | Apache License 2.0 |
sdds-core/uikit-compose/src/main/kotlin/com/sdds/compose/uikit/internal/textfield/BaseTextField.kt | salute-developers | 765,665,583 | false | {"Kotlin": 1612280} | @file:Suppress("LongParameterList", "LongMethod")
package com.sdds.compose.uikit.internal.textfield
import androidx.compose.animation.AnimatedVisibility
import androidx.compose.animation.core.EaseOut
import androidx.compose.animation.core.tween
import androidx.compose.animation.fadeIn
import androidx.compose.animatio... | 2 | Kotlin | 0 | 1 | a51793f7b3f89bd9e4b754775a912f1b46b921e6 | 16,279 | plasma-android | MIT License |
app/src/main/java/com/pillpals/pillpals/ui/QuizCard.kt | pill-pals | 196,889,464 | false | {"Gradle": 3, "JSON": 2, "Java Properties": 2, "Markdown": 3, "Shell": 1, "JavaScript": 1, "Ignore List": 2, "Batchfile": 1, "Proguard": 1, "Kotlin": 65, "XML": 127, "Java": 6, "HTML": 1} | package com.pillpals.pillpals.ui
import android.content.Context
import android.graphics.Color
import android.util.AttributeSet
import android.widget.ImageButton
import android.widget.ImageView
import android.widget.TextView
import android.widget.LinearLayout
import com.google.android.material.button.MaterialButton
imp... | 11 | Kotlin | 1 | 1 | 01a4b1c786272d949c2fff466afbf1bf967d93fa | 1,780 | pillbuddies-android | MIT No Attribution |
baselibrary/src/main/java/com/hh/baselibrary/util/sm4/EncryptAndDecryptUtil.kt | hHui056 | 673,264,161 | false | {"Java": 261954, "Kotlin": 113384, "C": 402, "Batchfile": 225} | package com.hh.baselibrary.util.sm4
import com.hh.baselibrary.http.toJsonString
import com.hh.baselibrary.http.toModel
/**
* Create By hHui on 2022/6/17 0017 下午 15:58
*/
object EncryptAndDecryptUtil {
private val sm4Util = SM4Utils.build(SM4Constants.SECRET_KEY, SM4Constants.IV)
/**
* 请求数据加密
*/
... | 1 | null | 1 | 1 | ef73087afb2269623d6a2eac534ed1cde7b86050 | 1,030 | android_mvp_generate | Mulan Permissive Software License, Version 2 |
app/src/main/java/com/example/temi_beta/api/update_quantity.kt | kaomao1234 | 700,679,188 | false | {"Kotlin": 98707, "Python": 6013} | package com.example.temi_beta.api
import android.util.Log
import com.beust.klaxon.JsonObject
import fuel.HttpResponse
import fuel.httpPut
suspend fun updateQuantity(itemId: String, quantity: Int): Boolean {
val body = mapOf<String, Any>(
"item_id" to itemId,
"quantity" to quantity
)
val re... | 0 | Kotlin | 0 | 0 | e8d9bfddcc3423ab3d71e7159d865bf5224bf608 | 654 | temibeta | MIT License |
app/src/main/java/com/example/androiddevchallenge/MainActivity.kt | Wiktorl4z | 343,169,527 | 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 0 | Kotlin | 0 | 0 | c22460b8865f44cb8c5adc2f43170104316c72e8 | 5,421 | dev-challenge | Apache License 2.0 |
app/src/main/java/info/tuver/todo/ui/common/TextViewBindingUtils.kt | berkcosar | 233,477,029 | false | {"Kotlin": 89679} | package info.tuver.todo.ui.common
import android.graphics.Paint
import android.widget.TextView
import androidx.databinding.BindingAdapter
@BindingAdapter("textStrikeThru")
fun setTextViewStrikeThruAttribute(textView: TextView, strikeThru: Boolean) {
textView.paintFlags = when {
strikeThru -> textView.pain... | 0 | null | 0 | 0 | bc024f3fb49bc3c450aa6c7050a0d3696845f6a3 | 440 | android-mvvm-todo | MIT License |
data/src/main/java/foodapp/com/data/store/local/FoodDao.kt | vipulshah2010 | 141,035,630 | false | null | package foodapp.com.data.store.local
import androidx.room.Dao
import androidx.room.Insert
import androidx.room.OnConflictStrategy
import androidx.room.Query
import foodapp.com.data.model.FoodItem
@Dao
interface FoodDao {
@get:Query("SELECT * FROM food_item")
val allFoodItems: List<FoodItem>
@Insert(onCo... | 0 | Kotlin | 8 | 30 | c8a45b033a0da192c26397f8af241ac1d257d9bf | 586 | FoodApp | Apache License 2.0 |
app/src/main/java/com/sekthdroid/compose/marvel/ui/screens/character/CharacterDetailViewModel.kt | SekthDroid | 423,296,060 | false | {"Kotlin": 54990} | package com.sekthdroid.compose.marvel.ui.screens.character
import androidx.lifecycle.SavedStateHandle
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.sekthdroid.marvel.domain.characters.CharactersRepository
import com.sekthdroid.marvel.domain.models.MarvelCharacter
import dagger... | 0 | Kotlin | 0 | 4 | e4baefc192c41b9dd48d8bbf53e378f775723c1c | 1,024 | MarvelComposeSample | Apache License 2.0 |
carrot-wars-tabulate.kts | kaushikgopal | 92,104,778 | false | null | #!/usr/bin/env kscript
//DEPS com.github.holgerbrandl:kscript:1.2
import java.io.File
import kscript.text.*
/**
* ---------- <NAME> 2018 ---------------
* This is a program that'll tabulate the results for Instacart's 2018 Summer Hackathon
*
* Run the program against the Google Forms CSV result like s... | 0 | Kotlin | 2 | 10 | 03253d158ee01a8277853e41866de4b60b122ed5 | 18,463 | kotlin-scripts | Apache License 2.0 |
src/test/kotlin/de/hoersendung/steffen/assignmentProblem/domain/service/solving/SolvingServiceImplTest.kt | stefnef | 524,163,459 | false | null | package de.hoersendung.steffen.assignmentProblem.domain.service.solving
import de.hoersendung.steffen.assignmentProblem.domain.model.entity.SolutionAssignment
import de.hoersendung.steffen.assignmentProblem.domain.model.valueObject.PriorityValue
import de.hoersendung.steffen.assignmentProblem.domain.model.valueObject.... | 0 | Kotlin | 0 | 0 | 82cf8b04cf29f14492e645634f1b0f92beb4ae46 | 2,288 | assignmentProblem | MIT License |
app/src/main/java/ch/admin/foitt/pilotwallet/feature/login/data/repository/LoginAttemptsRepository.kt | e-id-admin | 775,912,525 | false | {"Kotlin": 1521284} | package ch.admin.foitt.pilotwallet.feature.login.data.repository
import androidx.security.crypto.EncryptedSharedPreferences
import ch.admin.foitt.pilotwallet.feature.login.domain.repository.AttemptsRepository
import javax.inject.Inject
class LoginAttemptsRepository @Inject constructor(
private val sharedPreferenc... | 1 | Kotlin | 1 | 4 | 6572b418ec5abc5d94b18510ffa87a1e433a5c82 | 849 | eidch-pilot-android-wallet | MIT License |
core/src/main/kotlin/processes/CardProcessWorkers.kt | crowdproj | 543,982,440 | false | {"Kotlin": 600502, "JavaScript": 79178, "HTML": 29293, "FreeMarker": 10064, "Batchfile": 876, "Shell": 842, "Dockerfile": 361} | package com.gitlab.sszuev.flashcards.core.processes
import com.gitlab.sszuev.flashcards.CardContext
import com.gitlab.sszuev.flashcards.core.mappers.toCardEntity
import com.gitlab.sszuev.flashcards.core.mappers.toDbCard
import com.gitlab.sszuev.flashcards.core.mappers.toDictionaryEntity
import com.gitlab.sszuev.flashc... | 3 | Kotlin | 0 | 2 | cbb8ba22d0b7f145afffc85bfd7d080193277e89 | 14,347 | opentutor | Apache License 2.0 |
src/main/java/catmoe/fallencrystal/moefilter/network/limbo/check/impl/CommonJoinCheck.kt | CatMoe | 638,486,044 | false | null | /*
* Copyright 2023. CatMoe / FallenCrystal
*
* 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 o... | 3 | Kotlin | 0 | 8 | a5aee95dc53b74b929cbff73e3a2ed8c1a1f6b92 | 5,432 | MoeFilter | Apache License 2.0 |
app/src/main/java/com/personal/weathering/aq/presentation/AqUiEvent.kt | Avvami | 702,061,643 | false | {"Kotlin": 473583} | package com.personal.weathering.aq.presentation
sealed interface AqUiEvent {
data object SetAqDetailsExpanded: AqUiEvent
data object SetBottomSheetShown: AqUiEvent
data object SetPollutantsExpanded: AqUiEvent
data object SetUsAqScaleExpanded: AqUiEvent
data object SetEuAqScaleExpanded: AqUiEvent
} | 0 | Kotlin | 0 | 0 | fabd0313b1d8c20dec02b498a61886fa69bf9d5f | 319 | Weathering | MIT License |
src/main/kotlin/gll/pub/onepeas/model/VideoEntity.kt | a765032380 | 596,445,790 | false | null | package gll.pub.onepeas.model
import javax.persistence.*
@Entity
@Table(name = "video")
class VideoEntity(){
@Id
@GeneratedValue()
@Column(name = "id") val id: Long? = null
@Column(name = "title") var title: String = ""
@Column(name = "description") var description: String = ""
@Column(name... | 0 | Kotlin | 0 | 0 | f4cd6432a2b57fbb9a798377bd0f286f7f256099 | 453 | OnePaseDemo | MIT License |
app/src/main/java/net/dev/weather/components/LoadingScreen.kt | kpc25459 | 566,495,103 | false | {"Kotlin": 170434} | package net.dev.weather.components
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.material.CircularProgressIndicator
import androidx.compose.runtime.Composable
import androidx.compose.u... | 12 | Kotlin | 0 | 1 | 81071eeeb19cfbae8d4a34f87956ec06fccf3aaa | 626 | weather_app_compose | MIT License |
app/src/main/java/com/stefanzh/beetvplus/cast/CastExpandedController.kt | stefan-zh | 252,982,477 | false | null | package com.stefanzh.beetvplus.cast
import android.view.Menu
import com.google.android.gms.cast.framework.CastButtonFactory
import com.google.android.gms.cast.framework.media.widget.ExpandedControllerActivity
import com.stefanzh.beetvplus.R
class CastExpandedController : ExpandedControllerActivity() {
/**
*... | 0 | Kotlin | 0 | 0 | 5307f0bd850ee1ee88423f01de7ec22bf4af46b6 | 785 | btv-seriali | MIT License |
src/main/kotlin/no/nav/pensjon/opptjening/omsorgsopptjening/start/innlesning/barnetrygd/domain/BarnetrygdmottakerService.kt | navikt | 585,136,142 | false | {"Kotlin": 254799, "HTML": 6035, "Shell": 806, "Dockerfile": 605} | package no.nav.pensjon.opptjening.omsorgsopptjening.start.innlesning.barnetrygd.domain
import no.nav.pensjon.opptjening.omsorgsopptjening.felles.InnlesingId
import no.nav.pensjon.opptjening.omsorgsopptjening.felles.domene.kafka.Rådata
import no.nav.pensjon.opptjening.omsorgsopptjening.felles.domene.kafka.Topics
import... | 0 | Kotlin | 0 | 0 | 86bab024a1d95e8809f3c2d13f3e1251db783cbd | 11,371 | omsorgsopptjening-start-innlesning | MIT License |
src/main/kotlin/uk/gov/justice/digital/hmpps/oauth2server/auth/repository/UserRetriesRepository.kt | ministryofjustice | 118,512,431 | false | {"Kotlin": 2250899, "HTML": 212663, "Shell": 16327, "CSS": 11834, "Dockerfile": 1459, "JavaScript": 439, "Procfile": 74} | package uk.gov.justice.digital.hmpps.oauth2server.auth.repository
import org.springframework.data.repository.CrudRepository
import uk.gov.justice.digital.hmpps.oauth2server.auth.model.UserRetries
interface UserRetriesRepository : CrudRepository<UserRetries, String>
| 4 | Kotlin | 4 | 8 | 9293840fc4c4c83b1d163b5b364e3c7887f7f595 | 268 | hmpps-auth | MIT License |
composeApp/src/commonMain/kotlin/App.kt | Njko | 726,156,310 | false | {"Kotlin": 2490, "Swift": 591} | import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.material.MaterialTheme
import androidx.compose.material.Text
import androidx.compose.runtime.Composable
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import org.jetb... | 0 | Kotlin | 0 | 0 | 8e6dd345d0a33173865c8e50bcecabec2237f0fe | 759 | temporize | MIT License |
web/widgets/src/commonMain/kotlin/Alignment.kt | JetBrains | 293,498,508 | false | null | package org.jetbrains.compose.common.ui
import org.jetbrains.compose.annotations.webWidgetsDeprecationMessage
@ExperimentalComposeWebWidgetsApi
@Deprecated(message = webWidgetsDeprecationMessage)
interface Alignment {
@Deprecated(message = webWidgetsDeprecationMessage)
interface Vertical : Alignment
@Depr... | 668 | null | 645 | 9,090 | 97266a0ac8c0d7a8ad8d19ead1c925751a00ff1c | 1,185 | compose-jb | Apache License 2.0 |
springrestful/src/main/kotlin/com/junjunguo/user/system/errorHanlder/ApiErrorModel.kt | junjunguo | 125,559,304 | false | null | package com.junjunguo.user.system.errorHanlder
import java.time.LocalDateTime
data class ApiErrorModel(
var timestamp: LocalDateTime? = LocalDateTime.now(),
var status: Int?,
var error: String?,
var message: String?,
var errors: List<String>?
) {
constructor(status: Int, error: String, message... | 0 | Kotlin | 3 | 4 | 4a6f835edb89efe55d99c5e0cc95dc5e76795734 | 563 | Kotlin | MIT License |
app/src/main/java/com/breezefieldsalesnexara/features/nearbyuserlist/api/NearbyUserRepo.kt | DebashisINT | 853,206,720 | false | {"Kotlin": 15915533, "Java": 1027888} | package com.breezefieldsalesnexara.features.nearbyuserlist.api
import com.breezefieldsalesnexara.app.Pref
import com.breezefieldsalesnexara.features.nearbyuserlist.model.NearbyUserResponseModel
import com.breezefieldsalesnexara.features.newcollection.model.NewCollectionListResponseModel
import com.breezefieldsalesnexa... | 0 | Kotlin | 0 | 0 | 1f5486857f0f6669d5af4587f2f1c0548697d73d | 627 | Nexara | Apache License 2.0 |
feature/edit_subscription/src/main/java/com/ku_stacks/ku_ring/edit_subscription/uimodel/NormalSubscriptionUiModel.kt | ku-ring | 412,458,697 | false | {"Kotlin": 653070} | package com.ku_stacks.ku_ring.edit_subscription.uimodel
import androidx.annotation.DrawableRes
import com.ku_stacks.ku_ring.edit_subscription.R
data class NormalSubscriptionUiModel(
val categoryName: String,
@DrawableRes val categoryIconId: Int,
val isSelected: Boolean,
) {
fun toggle() = this.copy(is... | 3 | Kotlin | 1 | 23 | ca278e211684f4cbfcd8451232d66b642d1a8bc1 | 1,025 | KU-Ring-Android | Apache License 2.0 |
src/main/kotlin/com/raglic/ark2mail/model/Sms.kt | pdahlberg | 121,530,324 | false | {"Gradle": 2, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "Markdown": 1, "Java Properties": 4, "Kotlin": 36, "HTML": 1, "JavaScript": 1, "SQL": 2, "Java": 1} | package com.raglic.ark2mail.model
data class Sms(val number: String) | 0 | Kotlin | 0 | 0 | 40fda9946527f1de0f06ed22194ab19c5c70e784 | 69 | ark2mail | MIT License |
app/src/main/java/de/mpg/mpdl/mpgcity/mvvm/ui/fragment/MainFragment.kt | MPDL | 362,031,558 | false | {"JavaScript": 1148344, "Kotlin": 78765, "CSS": 55950, "HTML": 21686, "Java": 6384} | package de.mpg.mpdl.mpgcity.mvvm.ui.fragment
import android.content.res.Configuration
import android.os.Build
import android.os.Bundle
import android.view.*
import android.widget.ImageView
import android.widget.TextView
import androidx.annotation.RequiresApi
import androidx.constraintlayout.widget.ConstraintLayout
imp... | 6 | JavaScript | 0 | 0 | 6812c8db138d61d465494a5c101efe13c02bbe09 | 15,055 | MPG-City-Android | MIT License |
domain/business1/src/main/java/com/avatr/business1/business1Module.kt | beyondshi | 584,061,113 | false | null | package com.avatr.business1
import org.koin.androidx.viewmodel.dsl.viewModel
import org.koin.dsl.module
val business1Module = module {
viewModel {
BaiduViewModule(get())
}
} | 0 | Kotlin | 0 | 0 | 330047edd81c5e81590365ba481c5647286f4402 | 191 | clear-arch-sample | Apache License 2.0 |
buildSrc/src/main/java/com/likethesalad/placeholder/ResolvePlaceholdersPlugin.kt | cloudpix | 221,217,534 | true | {"Kotlin": 136051} | package com.likethesalad.placeholder
import com.likethesalad.placeholder.data.helpers.AndroidProjectHelper
import com.likethesalad.placeholder.data.helpers.AndroidVariantHelper
import com.likethesalad.placeholder.data.resources.AndroidResourcesHandler
import com.likethesalad.placeholder.data.storage.AndroidFilesProvid... | 0 | null | 0 | 0 | 0b71d9b538dd71be4a3d423bfb50d60af36e4e00 | 3,861 | android-string-reference | MIT License |
backend/src/main/kotlin/sk/bumaza/cvstories/entity/data/Story.kt | Bumaza | 466,850,796 | false | null | package sk.bumaza.cvstories.entity.data
import sk.bumaza.cvstories.constant.ContractType
import sk.bumaza.cvstories.constant.CurrencyType
import sk.bumaza.cvstories.constant.StoryType
import sk.bumaza.cvstories.entity.base.BaseEntity
import sk.bumaza.cvstories.entity.managment.Account
import java.util.*
import javax.p... | 0 | Kotlin | 0 | 0 | e4863cb12d292b3d3a837cadadd7769720969bfc | 1,701 | cv-stories | MIT License |
app/src/main/java/com/tatuas/ghsv/ui/detail/DetailActivity.kt | tatuas | 134,174,686 | false | null | package com.tatuas.ghsv.ui.detail
import android.content.Context
import android.content.Intent
import android.os.Bundle
import android.view.MenuItem
import androidx.appcompat.app.AppCompatActivity
import com.tatuas.ghsv.R
import com.tatuas.ghsv.ext.buildViewModel
import com.tatuas.ghsv.ext.observeNonNull
class Detail... | 1 | null | 1 | 1 | 772b07639b5ec25dbeda8fc83933c82f125c12f6 | 1,240 | ghsv | MIT License |
android/src/main/kotlin/com/onegini/mobile/sdk/flutter/constants/Constants.kt | onewelcome | 418,922,893 | false | {"Kotlin": 252280, "Swift": 197854, "Dart": 158774, "Objective-C": 9672, "Java": 2851, "Ruby": 2849} | package com.onegini.mobile.sdk.flutter.constants
interface Constants {
companion object {
// HTTP Response properties
const val RESPONSE_STATUS_CODE = "statusCode"
const val RESPONSE_HEADERS = "headers"
const val RESPONSE_BODY = "body"
const val RESPONSE_URL = "url"
}
}
| 1 | Kotlin | 1 | 0 | f61afafda215b7c20cfe261d18967caf0ee91b7a | 296 | sdk-flutter | Apache License 2.0 |
subprojects/software.hsharp.business.models/src/kotlin/software/hsharp/business/services/IBusinessPartnersResult.kt | idempiere-micro-archive | 140,256,677 | false | {"Java": 11358014, "Kotlin": 226863, "XSLT": 16624, "Shell": 10056, "JavaScript": 967, "HTML": 866, "Makefile": 780} | package software.hsharp.business.services
import software.hsharp.business.models.IBusinessPartner
import software.hsharp.core.models.IResult
interface IBusinessPartnersResult : IResult {
val businessPartners: Array<IBusinessPartner>
} | 1 | null | 1 | 1 | a5c09f37d68950b458cf23ce4a2c50e98c50ea2c | 240 | idempiere-micro | MIT License |
app/src/main/kotlin/pro/krit/fmpdaoexample/database/RawTokenModel.kt | Rasalexman | 469,790,371 | false | {"Kotlin": 323876} | package com.rasalexman.fmpdaoexample.database
import com.google.gson.annotations.SerializedName
data class RawTokenModel(
@SerializedName("raw")
val raw: TokenModel?
) | 1 | Kotlin | 0 | 0 | 31e67a28a257bb16f539b6f03acf89ff4b47f913 | 177 | FmpDao | Apache License 2.0 |
mui-icons-kotlin/src/jsMain/kotlin/mui/icons/material/LocationCityRounded.kt | karakum-team | 387,062,541 | false | {"Kotlin": 3060426, "TypeScript": 2249, "HTML": 724, "CSS": 86} | // Automatically generated - do not modify!
@file:JsModule("@mui/icons-material/LocationCityRounded")
package mui.icons.material
@JsName("default")
external val LocationCityRounded: SvgIconComponent
| 0 | Kotlin | 5 | 35 | 83952a79ffff62f5409461a2928102d0ff95d86b | 202 | mui-kotlin | Apache License 2.0 |
shoring/fxapp/src/main/java/com/panopset/fxapp/DeskApp4FX.kt | panopset | 711,756,179 | false | {"Kotlin": 399760, "Java": 261254, "CSS": 4623, "Shell": 4141, "JavaScript": 4084, "HTML": 1005, "Batchfile": 939} | package com.panopset.fxapp
import com.panopset.compat.HiddenFolder
import com.panopset.compat.Logop
import javafx.application.Application
import javafx.application.Platform
import javafx.stage.Stage
class DeskApp4FX: Application() {
override fun start(stage: Stage) {
JavaFXapp.INSTANCE = DeskApp4XFactory.... | 0 | Kotlin | 0 | 0 | b8e1468f0faf9f5138b37e9ceed56542307615a0 | 1,143 | src2 | MIT License |
app/src/main/java/com/stack/open_work_mobile/services/Filters.kt | 1OPENWORK | 708,477,953 | false | {"Kotlin": 132129} | package com.stack.open_work_mobile.services
import com.stack.open_work_mobile.models.Filters
import retrofit2.Call
import retrofit2.http.GET
interface Filters {
@GET("/api/ferramentas")
fun getTools(): Call<List<Filters>>
} | 1 | Kotlin | 0 | 0 | 37908168a19f799b5c3b1ce7c8b507bbf95ae287 | 234 | Kotlin | MIT License |
src/main/kotlin/name/denyago/commenttree/main.kt | denyago | 213,069,455 | false | null | package name.denyago.commenttree
import io.github.rybalkinsd.kohttp.client.defaultHttpClient
import name.denyago.commenttree.api.Client
import name.denyago.commenttree.api.Clientable
import name.denyago.commenttree.api.ToDoApi
import name.denyago.commenttree.api.ToDoApiable
import name.denyago.commenttree.data.Node
im... | 0 | Kotlin | 0 | 1 | a04efefb16d5b2fe8692ec958332341f90a66954 | 1,532 | comment-tree | MIT License |
android/src/main/kotlin/com/aiuta/flutter/fashionsdk/domain/listeners/actions/AiutaActionsListener.kt | aiuta-com | 869,372,273 | false | {"Kotlin": 87394, "Swift": 59257, "Dart": 55910, "Ruby": 2342, "Shell": 494, "Objective-C": 38} | package com.aiuta.flutter.fashionsdk.domain.listeners.actions
import com.aiuta.flutter.fashionsdk.domain.listeners.base.BaseListener
object AiutaActionsListener : BaseListener() {
// Channel key
override val keyChannel: String = "aiutaActionsHandler"
// All possible actions
const val ACTION_ADD_TO_... | 5 | Kotlin | 0 | 0 | b6467c611157a177df27a57b6740903da29c261d | 417 | flutter-sdk | Apache License 2.0 |
app/src/main/java/com/app/lontara/bignews/Repo/Repo.kt | Muhammad-Noman59 | 805,231,056 | false | {"Kotlin": 62341} | package com.app.lontara.bignews.Repo
import com.app.lontara.bignews.API_Service.API_Builder
import com.app.lontara.bignews.API_Service.NewsModel
import retrofit2.Response
import retrofit2.http.Query
class Repo {
suspend fun newsProvider(category: String?, query: String?) : Response<NewsModel>{
return if... | 0 | Kotlin | 0 | 5 | 7e6e83cfad1e2e8c2fdaea171cb5950db473fb1b | 516 | Big-News-App | MIT License |
app/src/main/java/vn/frghigh/template/ui/base/BaseViewModel.kt | cong91 | 127,710,451 | false | null | package vn.frghigh.template.ui.base
import android.arch.lifecycle.ViewModel
import vn.frghigh.template.data.DataManager
import io.reactivex.disposables.CompositeDisposable
import javax.inject.Inject
open class BaseViewModel @Inject constructor(
val dataManager: DataManager,
val compositeDisposable: Co... | 0 | Kotlin | 2 | 2 | 65cde1f9ea530fe785d60f348c2c35f9d2194e16 | 456 | KotlinTemplate | MIT License |
backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/irasdescriptors/IrTypeAsKotlinType.kt | qwwdfsad | 139,408,015 | true | {"Kotlin": 3888671, "C++": 813655, "Groovy": 137514, "C": 120803, "Objective-C++": 66761, "Swift": 29084, "JavaScript": 19264, "Python": 8631, "Shell": 8167, "Batchfile": 6974, "Objective-C": 3532, "Pascal": 1698, "Java": 782, "HTML": 185} | /*
* Copyright 2010-2018 JetBrains s.r.o.
*
* 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 agre... | 0 | Kotlin | 0 | 0 | 6d561bd45cac508cddcc89589fb53a89323f5416 | 4,495 | kotlin-native | Apache License 2.0 |
src/test/kotlin/ar/edu/unq/arqs1/MercadilloLibreBack/repositories/product/ProductsRepositoryTest.kt | ArqSoft-Unq | 406,999,376 | false | {"Kotlin": 136681, "Dockerfile": 132} | package ar.edu.unq.arqs1.MercadilloLibreBack.repositories.product
import ar.edu.unq.arqs1.MercadilloLibreBack.lib.ProductSpecification
import ar.edu.unq.arqs1.MercadilloLibreBack.lib.SearchCriteria
import ar.edu.unq.arqs1.MercadilloLibreBack.models.Business
import ar.edu.unq.arqs1.MercadilloLibreBack.models.Product
im... | 0 | Kotlin | 0 | 0 | e3ded142d9194166dc1d24050e972f05e16a3daf | 3,083 | MercadilloLibreBack | MIT License |
mockative/src/commonMain/kotlin/io/mockative/ExactVerifier.kt | mockative | 422,101,224 | false | null | package io.mockative
internal class ExactVerifier(
private val expectation: Expectation,
private val count: Int
) : Verifier {
override fun verify(instance: Any, invocations: List<Invocation>): List<Invocation> {
val matchingInvocations = invocations.filter { expectation.matches(it) }
val ... | 5 | Kotlin | 10 | 60 | 457010d72bfbc0adcadf83930771f058c3db8c94 | 535 | mockative | MIT License |
app/src/main/java/io/outblock/lilico/page/walletcreate/fragments/mnemoniccheck/WalletCreateMnemonicCheckFragment.kt | Outblock | 435,317,689 | false | {"Kotlin": 1563313, "Java": 104099} | package com.flowfoundation.wallet.page.walletcreate.fragments.mnemoniccheck
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import androidx.lifecycle.ViewModelProvider
import com.flowfoundation.wallet.databinding.F... | 63 | Kotlin | 4 | 4 | a238e4f9db0d93a9c87fc9682860f2ea265c798b | 1,300 | Lilico-Android | Apache License 2.0 |
src/main/kotlin/pubgradar/struct/Actor.kt | q129303 | 131,508,880 | false | null | package leonbentre.struct
import com.badlogic.gdx.math.Vector2
import com.badlogic.gdx.math.Vector3
import leonbentre.struct.Archetype.*
import leonbentre.struct.Archetype.Companion.fromArchetype
import leonbentre.struct.Archetype.PlayerState
import leonbentre.struct.Archetype.Team
import leonbentre.struct.Archetype.W... | 1 | Kotlin | 4 | 3 | 6450f742622be6df2e5a7c538522e23ee35c87c7 | 6,278 | RadarProject | The Unlicense |
discussions/discussions-app-ktor/src/main/kotlin/ru/music/discussions/RouteStrategy.kt | Piligrim678 | 600,730,971 | false | null | package ru.music.discussions.ru.music.discussions
import io.ktor.server.application.*
import io.ktor.util.pipeline.*
interface RouteStrategy {
val method: String
suspend fun handler(context: PipelineContext<Unit, ApplicationCall>)
} | 0 | Kotlin | 0 | 0 | 830345248c570cfbd74d5bc0455b2a451dd25dac | 242 | music | Apache License 2.0 |
vertx-stack-kotlin/src/main/kotlin/io/vertx/kotlin/ext/auth/KeyStoreOptions.kt | vietj | 138,613,796 | false | {"Kotlin": 60254} | package io.vertx.kotlin.ext.auth
import io.vertx.ext.auth.KeyStoreOptions
/**
* A function providing a DSL for building [io.vertx.ext.auth.KeyStoreOptions] objects.
*
* Options describing how an JWT KeyStore should behave.
*
* @param password
* @param path
* @param type
*
* <p/>
* NOTE: This function has... | 0 | Kotlin | 0 | 0 | 17cfb7dd40306fada3eebf0d3e99597050ccf51c | 753 | vertx-stacks | Apache License 2.0 |
gtfs/src/main/kotlin/ca/llamabagel/transpo/dao/gtfs/GtfsSource.kt | Llamabagel | 153,781,494 | false | null | /*
* Copyright (c) 2019 <NAME>. Subject to the MIT license.
*/
package ca.llamabagel.transpo.dao.gtfs
abstract class GtfsSource {
abstract val agencies: AgencyDao
abstract val calendars: CalendarDao
abstract val calendarDates: CalendarDateDao
abstract val stops: StopDao
abstract val routes: Rou... | 2 | Kotlin | 0 | 0 | 44d44458fdb989cbcc0263c457cd70d36d9167a2 | 435 | transpo-shared | MIT License |
src/main/kotlin/no/nav/helse/flex/controller/SoknadVeilederAzureController.kt | navikt | 475,306,289 | false | {"Kotlin": 1845184, "Dockerfile": 267} | package no.nav.helse.flex.controller
import io.swagger.v3.oas.annotations.Hidden
import no.nav.helse.flex.client.istilgangskontroll.IstilgangskontrollClient
import no.nav.helse.flex.clientidvalidation.ClientIdValidation
import no.nav.helse.flex.clientidvalidation.ClientIdValidation.NamespaceAndApp
import no.nav.helse.... | 4 | Kotlin | 0 | 4 | 9f34907e0a9fd29752bc9638aa4bf62075384954 | 2,104 | sykepengesoknad-backend | MIT License |
libraries/stdlib/test/testUtils.kt | JetBrains | 3,432,266 | false | null | /*
* Copyright 2010-2018 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package test
import kotlin.test.assertTrue
import kotlin.test.fail
// just a static type check
@Suppress("IN... | 151 | null | 5478 | 44,267 | 7545472dd3b67d2ac5eb8024054e3e6ff7795bf6 | 1,640 | kotlin | Apache License 2.0 |
modelql-untyped/src/commonMain/kotlin/org/modelix/modelql/untyped/RoleInParentTraversalStep.kt | modelix | 533,211,353 | false | {"Kotlin": 2584275, "JetBrains MPS": 274458, "TypeScript": 55190, "Java": 9941, "JavaScript": 6191, "Mustache": 5974, "CSS": 2812, "Shell": 2811, "Dockerfile": 389, "Procfile": 76} | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed u... | 44 | Kotlin | 9 | 6 | 9b29cebeae3c84550a6024f67221c1b2e0aaf257 | 2,460 | modelix.core | Apache License 2.0 |
Tutorial - Ejercicio y API/LibrosApp/app/src/main/java/com/example/librosapp/LibrosAdapter.kt | Leonardo-Rodenas | 387,786,113 | false | null | package com.example.librosapp
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.recyclerview.widget.RecyclerView
import com.bumptech.glide.Glide
import com.example.librosapp.databinding.ItemLibrosBinding
import com.example.librosapp.datosdeAPI.googleBooks
/*(12.2) A la clase LibrosAdapt... | 0 | Kotlin | 0 | 0 | fb3eae06b2598d537a791b088fa5d347b458ed56 | 4,426 | MODULO_4_DESARROLLO_DE_APLICACIONES_MOVILES_ANDROID_KOTLIN | MIT License |
bitgouel-api/src/main/kotlin/team/msg/domain/university/mapper/UniversityRequestRequestMapperImpl.kt | School-of-Company | 700,741,727 | false | {"Kotlin": 656278, "Shell": 2040, "Dockerfile": 206} | package team.msg.domain.university.mapper
import org.springframework.stereotype.Component
import team.msg.domain.university.presentation.data.request.CreateDepartmentRequest
import team.msg.domain.university.presentation.data.request.CreateUniversityRequest
import team.msg.domain.university.presentation.data.request.U... | 1 | Kotlin | 0 | 17 | 92225918f0f9fb7b3a248ce76b5fd7fe20728a74 | 1,312 | Bitgouel-Server | MIT License |
feature.main/src/main/java/lac/feature/main/app/mobile/detail/DetailSubModule.kt | bandysik | 143,031,693 | false | null | package lac.feature.main.app.mobile.detail
import lac.feature.main.app.mobile.detail.Params.FEED_CONTENT
import lac.feature.main.app.mobile.detail.Params.FEED_ID
import lac.feature.main.app.mobile.detail.Params.VIEW
import org.koin.dsl.module.applicationContext
val detailSubModule = applicationContext {
factory {... | 0 | Kotlin | 0 | 1 | c2e0478c93eb5eaf7ec1632d2257427a9174443e | 669 | LAC | Apache License 2.0 |
src/commonMain/kotlin/com/github/dwursteisen/minigdx/GameScreenConfiguration.kt | minigdx | 241,479,001 | false | null | package com.github.dwursteisen.minigdx
sealed class GameScreenConfiguration {
/**
* Will keep the ratio and compute the associated resolution.
*/
data class WithRatio(private val ratio: Ratio) : GameScreenConfiguration() {
override fun screen(width: Pixel, height: Pixel): Resolution {
... | 2 | Kotlin | 5 | 98 | ca4065239c1d9e1f7f9a4d21f535e7a2f082c65a | 1,166 | minigdx | MIT License |
v2-chatlink/src/commonTest/kotlin/com/bselzer/gw2/v2/chatlink/CoinLinkTests.kt | Woody230 | 388,820,096 | false | {"Kotlin": 750899} | package com.bselzer.gw2.v2.chatlink
import kotlin.test.Test
import kotlin.test.assertEquals
class CoinLinkTests {
private companion object {
val mapping: Map<String, Int> = mapOf(
"[&AQAAAAA=]" to 0,
"[&AQEAAAA=]" to 1,
"[&AdsnAAA=]" to 10203
)
}
@Test
... | 2 | Kotlin | 0 | 2 | 7bd43646f94d1e8de9c20dffcc2753707f6e455b | 960 | GW2Wrapper | Apache License 2.0 |
data/movies-data/src/test/kotlin/com.sotti.watch.movies.data/MoviesApiDSTests.kt | Sottti | 196,598,437 | false | null | package com.sotti.watch.movies.data
import com.sotti.watch.movies.data.MoviesDataFakes.apiDSResult
import com.sotti.watch.movies.data.MoviesDataFakes.popularMoviesResponse_error
import com.sotti.watch.movies.data.MoviesDataFakes.popularMoviesResponse_notFound
import com.sotti.watch.movies.data.MoviesDataFakes.popularM... | 13 | Kotlin | 2 | 5 | a26b41ff69d6ee1b13300d2fc454d6fbfbe5a360 | 3,500 | Watch | MIT License |
picker/src/main/java/com/kez/picker/util/TimeUtil.kt | kez-lab | 842,535,562 | false | {"Kotlin": 29251} | package com.kez.picker.util
import kotlinx.datetime.Clock
import kotlinx.datetime.TimeZone
import kotlinx.datetime.toLocalDateTime
internal val YEAR_RANGE = (1000..9999).map { it.toString() }
internal val MONTH_RANGE = (1..12).map { it.toString() }
internal val HOUR24_RANGE = (0..23).map { it.toString() }
internal v... | 0 | Kotlin | 0 | 13 | abff0d00ef4bf0d57e1b5b36e5a7b527a2a9671e | 826 | Compose-DateTimePicker | Apache License 2.0 |
sdk/src/main/java/com/kin/ecosystem/poll/view/IPollWebView.kt | kinecosystem | 120,272,671 | false | null | package com.kin.ecosystem.poll.view
import com.kin.ecosystem.base.IBaseView
interface IPollWebView : IBaseView {
enum class Message {
ORDER_SUBMISSION_FAILED,
SOMETHING_WENT_WRONG
}
fun showToast(msg: Message)
fun initWebView()
fun renderJson(pollJsonString: String, kinTheme: S... | 2 | null | 12 | 30 | 8cbcffcf8192662ba760be043c0599e6ee3b5c77 | 346 | kin-ecosystem-android-sdk | MIT License |
shared/src/commonMain/kotlin/data/feedback/FeelbackDetail/Feedback.kt | west2-online | 840,273,230 | false | {"Kotlin": 742964, "Swift": 592, "Shell": 228} | package data.feedback.FeedbackList
import data.share.User
import kotlinx.serialization.Serializable
@Serializable
data class Data(
val Id: Int,
val Status: Int,
val Tab: String,
val Time: String,
val Type: Int,
val User: User,
val User_Id: Int,
)
| 6 | Kotlin | 2 | 0 | 484b699b372e6ff5c43ae725372b28c6de4eaa73 | 263 | fzuhelper-KMP | Apache License 2.0 |
autofill/autofill-impl/src/main/java/com/duckduckgo/autofill/impl/jsbridge/response/AutofillDataResponses.kt | hojat72elect | 822,396,044 | false | {"Kotlin": 11626231, "HTML": 65873, "Ruby": 16984, "C++": 10312, "JavaScript": 5520, "CMake": 1992, "C": 1076, "Shell": 784} |
package com.duckduckgo.autofill.impl.jsbridge.response
import com.duckduckgo.autofill.impl.domain.javascript.JavascriptCredentials
data class ContainingCredentials(
val type: String = "getAutofillDataResponse",
val success: CredentialSuccessResponse,
) {
data class CredentialSuccessResponse(
va... | 0 | Kotlin | 0 | 0 | b89591136b60933d6a03fac43a38ee183116b7f8 | 1,854 | DuckDuckGo | Apache License 2.0 |
src/main/kotlin/io/fixture/repository/UserProfileRepository.kt | martinlau | 11,140,245 | false | null | /*
* #%L
* fixture
* %%
* Copyright (C) 2013 <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... | 6 | Kotlin | 0 | 0 | a751ea312708bac231f01dbf66ed1859a79f684a | 846 | fixture | Apache License 2.0 |
superior-appjar-parser/src/main/kotlin/io/github/melin/superior/parser/appjar/AppJarAntlr4Visitor.kt | melin | 140,644,913 | false | {"ANTLR": 1363615, "Kotlin": 660274, "Java": 43055} | package io.github.melin.superior.parser.appjar
import com.github.melin.superior.sql.parser.util.CommonUtils
import io.github.melin.superior.common.relational.Statement
import io.github.melin.superior.common.relational.common.SetStatement
import io.github.melin.superior.common.relational.common.ReSetStatement
import io... | 7 | ANTLR | 79 | 219 | ce4a900d9bad004f01becd00ebd72ecda702e6f6 | 3,029 | superior-sql-parser | Apache License 2.0 |
Guardian/src/main/kotlin/city/newnan/guardian/model/DBManager.kt | NewNanCity | 467,094,551 | false | null | package city.newnan.guardian.model
import org.bukkit.Bukkit
import javax.sql.DataSource
import org.ktorm.database.Database
import org.ktorm.dsl.*
import org.ktorm.entity.find
import org.ktorm.entity.sequenceOf
val Database.players get() = sequenceOf(Players)
val Database.towns get() = sequenceOf(Towns)
val Database.s... | 0 | Kotlin | 0 | 5 | 64a016d822c281ab74d060606f957f93947d958a | 2,224 | Plugins | MIT License |
app/src/main/java/com/alvaromr/marvel/interactor/GetMarvelCharacterListImpl.kt | alvaromr | 380,383,960 | false | null | package com.alvaromr.marvel.interactor
import com.alvaromr.marvel.model.MarvelCharacter
import com.alvaromr.marvel.repository.MarvelCharacterRepository
import com.alvaromr.marvel.utils.Logger
import kotlinx.coroutines.flow.catch
import kotlinx.coroutines.flow.collect
import kotlinx.coroutines.flow.flow
import javax.in... | 0 | Kotlin | 0 | 1 | f6bcb27cc51aa5839f13537ed55fc3ec6703acc6 | 1,082 | marvel_android | Attribution Assurance License |
app/src/main/java/db/DB.kt | mattvchandler | 93,871,390 | false | null | /*
Copyright (C) 2019 Matthew Chandler
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, publish, distribute... | 13 | Kotlin | 7 | 36 | f2c430c9672b8f932e6abba9fbce51e496697dc9 | 2,963 | ProgressBars | MIT License |
app/src/main/java/com/codewithshadow/filmrave/presentation/watchlist/WatchListViewModel.kt | SakshamSharma2026 | 645,629,276 | false | {"Kotlin": 107759} | package com.codewithshadow.filmrave.presentation.watchlist
import android.util.Log
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.asLiveData
import androidx.lifecycle.viewModelScope
import com.codewithshadow.filmrave.core.utils... | 0 | Kotlin | 2 | 6 | 48b4f92e82117a43ae8aa727b017c83da37d584b | 2,396 | FilmRave | MIT License |
legacy/core/src/main/java/com/fsck/k9/preferences/FolderSettingsValidator.kt | thunderbird | 1,326,671 | false | {"Kotlin": 4766001, "Java": 2159946, "Shell": 2768, "AIDL": 1946} | package com.fsck.k9.preferences
internal class FolderSettingsValidator {
fun validate(contentVersion: Int, folder: SettingsFile.Folder): ValidatedSettings.Folder {
val settings = folder.settings!!
val folderName = folder.name!!
val validatedSettings = FolderSettingsDescriptions.validate(co... | 846 | Kotlin | 2467 | 9,969 | 8b3932098cfa53372d8a8ae364bd8623822bd74c | 483 | thunderbird-android | Apache License 2.0 |
examples/components/tasklist-backend/src/main/kotlin/rest/impl/StartableProcessDefinitionResource.kt | margue | 434,156,725 | true | {"Kotlin": 834300} | package io.holunda.polyflow.example.tasklist.rest.impl
import io.holunda.polyflow.example.tasklist.auth.CurrentUserService
import io.holunda.polyflow.example.tasklist.rest.api.ProcessesApi
import io.holunda.polyflow.example.tasklist.rest.model.ProcessDefinitionDto
import io.holunda.polyflow.example.tasklist.rest.Rest
... | 0 | null | 0 | 0 | d5797861e5d7126dcdfd5e5b9cca8478f887cf68 | 2,002 | camunda-bpm-taskpool | Apache License 2.0 |
src/main/kotlin/com/banking/poc/application/usecase/user/UserRegistryUseCase.kt | afuentecruz | 783,323,978 | false | {"Kotlin": 118208} | package com.banking.poc.application.usecase.user
import com.banking.poc.application.service.UserService
import com.banking.poc.infrastructure.rest.user.dto.RegisterUserRequest
import com.banking.poc.infrastructure.rest.user.dto.UserResponse
import com.banking.poc.infrastructure.rest.user.dto.fromDomain
import com.bank... | 0 | Kotlin | 0 | 0 | 14a55d20e82f598eff9b7c27c5f28d5ada083107 | 955 | banking-poc | Apache License 2.0 |
android/common-ui/src/main/java/any/ui/common/widget/SearchBar.kt | dokar3 | 572,488,513 | false | null | package any.ui.common.widget
import androidx.compose.foundation.background
import androidx.compose.foundation.clickable
import androidx.compose.foundation.interaction.MutableInteractionSource
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.... | 2 | Kotlin | 0 | 9 | ca38d70740515c699ed5f79daced8b0d7687ae12 | 6,565 | any | Apache License 2.0 |
solutions/src/WordSearchTwo.kt | JustAnotherSoftwareDeveloper | 139,743,481 | false | null |
//https://leetcode.com/problems/word-search-ii/
class WordSearchTwo {
private val grid: MutableMap<Pair<Int, Int>, Char> = mutableMapOf()
private val foundWords = mutableSetOf<String>()
private class CharTree(val value: Char, val children: MutableMap<Char,CharTree?> = mutableMapOf() )
fun findWords(bo... | 1 | null | 1 | 1 | fa4a9089be4af420a4ad51938a276657b2e4301f | 2,217 | leetcode-solutions | MIT License |
app/src/main/java/fr/theskyblockman/life_chest/MainActivity.kt | theskyblockman | 839,532,793 | false | {"Kotlin": 279404} | package fr.theskyblockman.life_chest
import android.content.Context
import android.content.Intent
import android.os.Bundle
import androidx.activity.compose.setContent
import androidx.activity.viewModels
import androidx.compose.animation.core.LinearEasing
import androidx.compose.animation.core.tween
import androidx.com... | 0 | Kotlin | 0 | 1 | 298bbeec63486055f6aec895fc2317f7d37a7315 | 3,785 | life-chest-compose | MIT License |
ionav/src/main/java/de/ironjan/arionav_fw/ionav/positioning/IPositionObservable.kt | ironjan | 233,279,124 | false | null | package de.ironjan.arionav_fw.ionav.positioning
/**
* Shows that a class provides positioning data that can be observed.
*/
interface IPositionObservable {
/** The last known position */
val lastKnownPosition: IonavLocation?
/** Unix timestamp of the last update. */
val lastUpdate: Long
/**
... | 0 | Kotlin | 0 | 0 | bc5cb699f450587047fbdbe3132aab18803068ab | 774 | arionav-framework | MIT License |
src/jvmMain/kotlin/maryk/rocksdb/CompactionStyle.kt | marykdb | 192,168,972 | false | null | package maryk.rocksdb
actual typealias CompactionStyle = org.rocksdb.CompactionStyle
| 0 | Kotlin | 2 | 7 | 7e2c471854195b7635db7b75ca23d26305700ba7 | 86 | rocksdb-multiplatform | Apache License 2.0 |
launcher/layout/sprite/src/main/kotlin/com/deflatedpickle/rawky/launcher/layout/sprite/SpriteLayoutPlugin.kt | DeflatedPickle | 197,672,095 | false | null | /* Copyright (c) 2023 DeflatedPickle under the MIT license */
@file:Suppress("unused")
package com.deflatedpickle.rawky.launcher.layout.sprite
import ModernDocking.DockingRegion
import ModernDocking.DockingState
import ModernDocking.layouts.ApplicationLayout
import ModernDocking.layouts.DockingLayouts
import ModernD... | 7 | Kotlin | 6 | 27 | 6e875e0dc1231df5c990bd7a8030d65e3aa22249 | 3,209 | Rawky | MIT License |
domain/src/main/kotlin/com/mccorby/photolabeller/config/SharedConfig.kt | mccorby | 124,423,467 | false | null | package com.mccorby.photolabeller.config
data class SharedConfig(val imageSize: Int,
val channels: Int,
val modelFilename: String,
val batchSize: Int,
val featureLayerIndex: Int = 3,
val labels: List... | 2 | Kotlin | 25 | 138 | c707a6dc2f5bb4bd8931a74d273a1d8a5810c3b2 | 526 | PhotoLabeller | MIT License |
app/src/main/java/com/whl/testflow/testKT/testClass/testClass.kt | wanghailong0526 | 614,267,321 | false | null | package com.whl.testflow.testKT.testClass
/**
*
* @date :
* @author : wanghailong
*
* @description: TODO
* KT 中的类
* 1.field 关键字 代表这个成员的字段
* 2.类中的成员变量不加权限修饰符,默认为 private
* var 默认生成 set get 方法,
* val 只生成 get 方法, 没有 set 方法
* 3.类中的方法不加权限修饰符,默认为 public
* 4.计算属性
* Test类中的 n2 成员 field 被 get 方法覆盖了,在... | 0 | Kotlin | 0 | 0 | de4a6f64521915834d848620ac6de7fe241a0dd1 | 1,547 | testKotlin | Apache License 2.0 |
ontrack-ui-graphql/src/main/java/net/nemerosa/ontrack/graphql/exceptions/InputDataFetcherExceptionResolver.kt | nemerosa | 19,351,480 | false | {"Git Config": 1, "Gradle Kotlin DSL": 67, "Markdown": 46, "Ignore List": 22, "Java Properties": 3, "Shell": 9, "Text": 3, "Batchfile": 2, "Groovy": 145, "JSON": 31, "JavaScript": 792, "JSON with Comments": 4, "GraphQL": 79, "Kotlin": 3960, "Java": 649, "HTML": 269, "PlantUML": 25, "AsciiDoc": 288, "XML": 9, "YAML": 33... | package net.nemerosa.ontrack.graphql.exceptions
import graphql.GraphQLError
import graphql.GraphqlErrorBuilder
import graphql.schema.DataFetchingEnvironment
import net.nemerosa.ontrack.model.exceptions.InputException
import org.springframework.graphql.execution.DataFetcherExceptionResolverAdapter
import org.springfram... | 44 | Kotlin | 25 | 96 | fde26a48ea7b18689851fe579635f4ed72ad2c5a | 878 | ontrack | MIT License |
sample/src/main/java/com/daimler/mbdeeplinkkit/sample/overview/deeplinks/DeepLinkOverviewViewModel.kt | ots-dev | 243,309,499 | false | {"Kotlin": 49476, "Groovy": 2699} | package com.daimler.mbdeeplinkkit.sample.overview.deeplinks
import androidx.lifecycle.ViewModel
import androidx.lifecycle.ViewModelProvider
import com.daimler.mbdeeplinkkit.MBDeepLinkKit
import com.daimler.mbdeeplinkkit.common.DeepLink
import com.daimler.mbuikit.components.recyclerview.MutableLiveArrayList
import com.... | 0 | null | 0 | 0 | d2dbc1a47643a23d7cd264a519668a291c0d0f0e | 1,846 | MBSDK-DeeplinkKit-Android | MIT License |
graph/graph-core-model/src/main/kotlin/org/orkg/graph/domain/VisibilityFilter.kt | TIBHannover | 197,416,205 | false | {"Kotlin": 2994730, "Cypher": 216833, "Python": 4881, "Groovy": 1936, "Shell": 1803, "HTML": 240} | package org.orkg.graph.domain
enum class VisibilityFilter(val targets: Set<Visibility>) {
ALL_LISTED(setOf(Visibility.DEFAULT, Visibility.FEATURED)),
UNLISTED(setOf(Visibility.UNLISTED)),
FEATURED(setOf(Visibility.FEATURED)),
NON_FEATURED(setOf(Visibility.DEFAULT)),
DELETED(setOf(Visibility.DELETED... | 0 | Kotlin | 1 | 5 | 0186bb4cfe4ef7116ba121327f13d9e4c2e9938a | 326 | orkg-backend | MIT License |
buy-oyc-catering-service/src/main/kotlin/org/jesperancinha/concert/buy/oyc/catering/rest/WelcomeController.kt | jesperancinha | 65,844,678 | false | {"Kotlin": 119591, "Batchfile": 39648, "Shell": 9865, "TypeScript": 7921, "Makefile": 7104, "Python": 1737, "HTML": 1721, "Dockerfile": 1623, "CSS": 930, "JavaScript": 99} | package org.jesperancinha.concert.buy.oyc.catering.rest
import io.micronaut.http.MediaType
import io.micronaut.http.annotation.Controller
import io.micronaut.http.annotation.Get
import org.jesperancinha.concert.buy.oyc.commons.domain.MealReservationRepository
@Controller("/")
class WelcomeController(
private val ... | 0 | Kotlin | 1 | 4 | 85e9614478ae7328b3989b2f4f0b397bb7e49fdf | 519 | buy-odd-yucca-concert | Apache License 2.0 |
fuzzer/fuzzing_output/crashing_tests/verified/classReference.kt-460006194.kt | ItsLastDay | 102,885,402 | false | null | import kotlin.reflect.KClass
import kotlin.test.*
class M
fun check(x: KClass<*>): Unit {
assertEquals(x, x.java.kotlin)
assertEquals(x.hashCode(), x.java.kotlin.hashCode())
assertEquals(x.java.toString() + " (Kotlin reflection is not available)", x.toString())
}
fun box(): String {
check((M)?::class)
check(String::cla... | 2 | null | 1 | 6 | 56f50fc307709443bb0c53972d0c239e709ce8f2 | 461 | KotlinFuzzer | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.