path stringlengths 4 280 | owner stringlengths 2 39 | repo_id int64 21.1k 879M | is_fork bool 2
classes | languages_distribution stringlengths 13 1.95k ⌀ | content stringlengths 7 482k | issues int64 0 13.9k | main_language stringclasses 121
values | forks stringlengths 1 5 | stars int64 0 111k | commit_sha stringlengths 40 40 | size int64 7 482k | name stringlengths 1 100 | license stringclasses 93
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
app/src/main/java/com/hfut/schedule/ui/ComposeUI/Search/Exam.kt | Chiu-xaH | 705,508,343 | false | {"Kotlin": 428092} | package com.hfut.schedule.ui.ComposeUI.Search
import android.util.Log
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.fillMaxSize
i... | 0 | Kotlin | 0 | 1 | 7f3b96bc13ecd8c44806422b4ed732ce52082fcb | 6,445 | HFUT-Schedule | Apache License 2.0 |
app/src/main/java/com/example/healthcareapp/Constants.kt | Littoo | 510,756,165 | false | null | package com.example.healthcareapp
import android.Manifest
object Constants {
const val TAG = "cameraX"
const val FILE_NAME_FORMAT = "yy-MM-dd-HH-mm-ss-SSS"
const val REQUEST_CODE_PERMISSIONS = 123
val REQUIRED_PERMISSIONS = arrayOf(Manifest.permission.CAMERA)
var startTime: Long = 0
var iscR... | 0 | Kotlin | 0 | 0 | 77bfdff8c01fe5484249e259d9ec43bb1bc9134a | 960 | AR-Drug-Assistance-App | Apache License 2.0 |
app/src/main/java/io/outblock/lilico/page/transaction/record/adapter/TransactionRecordPageAdapter.kt | Outblock | 435,317,689 | false | {"Kotlin": 1563313, "Java": 104099} | package io.outblock.lilico.page.transaction.record.adapter
import androidx.fragment.app.Fragment
import androidx.fragment.app.FragmentManager
import androidx.fragment.app.FragmentStatePagerAdapter
import io.outblock.lilico.page.transaction.record.fragments.TransactionRecordListFragment
class TransactionRecordPageAdap... | 63 | Kotlin | 0 | 4 | a238e4f9db0d93a9c87fc9682860f2ea265c798b | 576 | Lilico-Android | Apache License 2.0 |
app/src/main/java/com/github/andiim/plantscan/app/PlantScanActivity.kt | Andi-IM | 675,329,578 | false | {"Kotlin": 136413} | package com.github.andiim.plantscan.app
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import dagger.hilt.android.AndroidEntryPoint
@AndroidEntryPoint
class PlantScanActivity : ComponentActivity() {
override fun onCreate(savedInstanceState: Bundle?)... | 10 | Kotlin | 0 | 0 | 9fa7ba99cd3d1dda70f57d21e815216aab2b725d | 412 | PlantScan | MIT License |
devfun-internal/src/main/java/com/nextfaze/devfun/internal/prop/Weak.kt | NextFaze | 90,596,780 | false | null | package com.nextfaze.devfun.internal.prop
import java.lang.ref.WeakReference
import kotlin.reflect.KProperty
class WeakProperty<T : Any>(initialValue: T?) {
private var value = WeakReference(initialValue)
operator fun getValue(thisRef: Any?, property: KProperty<*>): T? = value.get()
operator fun setValue... | 5 | null | 4 | 51 | cbf83014e478426750a2785b1e4e6a22d6964698 | 529 | dev-fun | Apache License 2.0 |
app/src/main/java/com/jadebyte/jadeplayer/main/genres/GenresViewModel.kt | wilburt | 177,040,268 | false | null | // Copyright (c) 2019 . <NAME>. All Rights Reserved.
package com.jadebyte.jadeplayer.main.genres
import android.app.Application
import android.net.Uri
import android.provider.MediaStore
import com.jadebyte.jadeplayer.main.common.data.MediaStoreRepository
import com.jadebyte.jadeplayer.main.common.view.BaseMediaStoreV... | 5 | Kotlin | 28 | 75 | e8b887c5074c6dde830252e322869d0ff8d362c5 | 1,131 | Jade-Player | Apache License 2.0 |
idea/testData/quickfix/deprecatedSymbolUsage/typeAliases/typeAliasWithAllGenericParams.kt | JakeWharton | 99,388,807 | true | null | // "Replace with 'X<Int>'" "true"
package ppp
class X<T>
@Deprecated("Will be dropped", replaceWith = ReplaceWith("X<Int>", "ppp.X"))
typealias IntX = X<Int>
fun foo(ix: <caret>IntX) {} | 1 | Kotlin | 28 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 189 | kotlin | Apache License 2.0 |
core/src/main/kotlin/io/holunda/connector/planner/PlannerRequest.kt | holunda-io | 630,812,028 | false | null | package io.holunda.connector.planner
import com.fasterxml.jackson.databind.*
import io.camunda.connector.api.annotation.*
import io.holunda.connector.common.*
data class PlannerRequest(
val inputJson: JsonNode,
val taskDescription: String,
val tools: JsonNode,
val model: Model,
@Secret
var apiKey: String... | 17 | Python | 0 | 10 | 69414dccb82dd5c89d46ad5639d57f9880ab847b | 323 | camunda-8-connector-gpt | Apache License 2.0 |
features/ps/src/main/kotlin/com/keygenqt/ps/db/migration/V7__create_likes.kt | keygenqt | 512,189,257 | false | {"Kotlin": 218158, "Dockerfile": 140} | package com.keygenqt.ps.db.migration
import com.keygenqt.ps.db.models.LikesArticle
import com.keygenqt.ps.db.models.LikesProject
import org.flywaydb.core.api.migration.BaseJavaMigration
import org.flywaydb.core.api.migration.Context
import org.jetbrains.exposed.sql.SchemaUtils
import org.jetbrains.exposed.sql.transact... | 0 | Kotlin | 0 | 0 | 1809521cb7dfd922435aefa442a862f436063a55 | 604 | vz-api-ktor | Apache License 2.0 |
src/test/kotlin/g2601_2700/s2601_prime_subtraction_operation/SolutionTest.kt | javadev | 190,711,550 | false | {"Kotlin": 4901773, "TypeScript": 50437, "Python": 3646, "Shell": 994} | package g2601_2700.s2601_prime_subtraction_operation
import org.hamcrest.CoreMatchers.equalTo
import org.hamcrest.MatcherAssert.assertThat
import org.junit.jupiter.api.Test
internal class SolutionTest {
@Test
fun primeSubOperation() {
assertThat(Solution().primeSubOperation(intArrayOf(4, 9, 6, 10)), e... | 0 | Kotlin | 20 | 43 | 471d45c60f669ea1a2e103e6b4d8d54da55711df | 614 | LeetCode-in-Kotlin | MIT License |
core/domain/src/main/java/com/hanbikan/nook/core/domain/model/common/LocationBased.kt | hanbikan | 737,877,468 | false | {"Kotlin": 352009} | package com.hanbikan.nook.core.domain.model.common
/**
* An interface representing location-based collectible items.
*/
interface LocationBased {
val location: String
} | 0 | Kotlin | 0 | 0 | a11874424d5923fb4f1ce32ccf0e83ae6d6dc9f9 | 175 | Nook | Apache License 2.0 |
kotlin-xls/src/main/kotlin/de/peterbecker/xls/Cell.kt | peterbecker | 176,066,809 | false | {"Kotlin": 44095} | package de.peterbecker.xls
import org.apache.poi.ss.usermodel.Cell
import org.apache.poi.ss.usermodel.CellType
import org.apache.poi.ss.usermodel.RichTextString
import java.time.LocalDate
import java.time.LocalDateTime
import java.util.*
fun Cell.getValue(): Any? =
when (this.cellType) {
CellType.BLANK ->... | 2 | Kotlin | 0 | 2 | 879860f386f0c9e0137538867589d3ef15a65948 | 1,193 | xls-utils | Apache License 2.0 |
src/main/kotlin/no/nav/familie/ef/sak/iverksett/IverksettingDtoMapper.kt | navikt | 206,805,010 | false | null | package no.nav.familie.ef.sak.iverksett
import no.nav.familie.ef.sak.arbeidsfordeling.ArbeidsfordelingService
import no.nav.familie.ef.sak.behandling.domain.Behandling
import no.nav.familie.ef.sak.behandlingsflyt.steg.StegType
import no.nav.familie.ef.sak.behandlingshistorikk.BehandlingshistorikkService
import no.nav.... | 6 | Kotlin | 2 | 0 | cc43ffc5d00f8a2ff011cf20d7c2e76844164477 | 15,358 | familie-ef-sak | MIT License |
modulecheck-core/src/main/kotlin/modulecheck/core/rule/RedundantRule.kt | RBusarow | 316,627,145 | false | null | /*
* Copyright (C) 2021-2022 Rick Busarow
* 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 ag... | 8 | null | 2 | 8 | d408e8fb5a2244b752821a93324abe773a2b7ed0 | 1,471 | ModuleCheck | Apache License 2.0 |
server/src/main/kotlin/io/typestream/compiler/vm/Env.kt | typestreamio | 685,423,176 | false | {"Kotlin": 331423, "Go": 35153, "Shell": 2255, "Nix": 1873, "Makefile": 667} | package io.typestream.compiler.vm
import io.typestream.compiler.types.Value
import io.typestream.config.Config
import kotlinx.serialization.Serializable
import java.util.UUID
class Env(private val config: Config) : Cloneable {
private val store = mutableMapOf<String, String>()
private val variables = mutableM... | 6 | Kotlin | 5 | 61 | 8aafa8f8be31db8e11ed8af3fec8cba350c7e7ca | 1,545 | typestream | Apache License 2.0 |
app/src/main/java/com/example/edvora/model/RidesCollectionModel.kt | chibuzoio | 468,699,513 | false | null | package com.example.edvora.model
import kotlinx.serialization.Serializable
@Serializable
data class RidesCollectionModel(var id: Int,
var origin_station_code: Int,
var station_path: ArrayList<Int>,
var destination_station_... | 0 | Kotlin | 0 | 0 | 0e577297263ed5575d9f1d6167fd3887fee1e5e2 | 777 | Edvora | MIT License |
shared/src/iosMain/kotlin/com/intive/picover/shared/koin/ToastModule.ios.kt | Android-Guild | 719,500,100 | false | {"Kotlin": 116975, "Swift": 760} | package com.intive.picover.shared.koin
import com.intive.picover.shared.common.toast.ToastPublisher
import org.koin.dsl.module
internal actual val toastModule = module {
single { ToastPublisher() }
}
| 8 | Kotlin | 0 | 0 | 6cd04cba9fab5a2161a60d01d8c962a8053bacca | 203 | Picover-KMP | Apache License 2.0 |
app/src/main/java/com/hisham/bushar/di/AppModule.kt | ghatasheh | 425,988,635 | false | {"Kotlin": 63651} | package com.hisham.bushar.di
import com.hisham.bushar.navigation.NavigationManager
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent
import javax.inject.Singleton
@Module
@InstallIn(SingletonComponent::class)
object AppModule {
@Singleton
... | 0 | Kotlin | 0 | 0 | 3d22bff2bd4744ee97009b8bc1e8e47196e42165 | 411 | bushar | Apache License 2.0 |
calendar/day05/Day5.kt | starkwan | 573,066,100 | false | {"Kotlin": 43097} | package day05
import Day
import Lines
class Day5 : Day() {
override fun part1(input: Lines): Any {
val crates = mutableMapOf<Int, ArrayDeque<Char>>()
lateinit var columns: List<Int>
input.forEach { line ->
if (line.contains("[")) {
line.chunked(4).forEachIndexed... | 0 | Kotlin | 0 | 0 | 13fb66c6b98d452e0ebfc5440b0cd283f8b7c352 | 2,461 | advent-of-kotlin-2022 | Apache License 2.0 |
library/src/main/kotlin/com/daniloaraujosilva/mathemagika/library/common/mathematica/functions/NotGreaterGreater.kt | Danilo-Araujo-Silva | 271,904,885 | false | null | package com.daniloaraujosilva.mathemagika.library.common.mathematica.functions
import com.daniloaraujosilva.mathemagika.library.common.mathematica.MathematicaFunction
/**
*````
*
* Name: NotGreaterGreater
*
* Full name: System`NotGreaterGreater
*
* Usage: NotGreaterGreater[x, y, …... | 2 | Kotlin | 0 | 3 | 4fcf68af14f55b8634132d34f61dae8bb2ee2942 | 958 | mathemagika | Apache License 2.0 |
src/main/kotlin/com/skillw/pouvoir/api/plugin/annotation/PouManager.kt | Skillw | 396,683,163 | false | {"Kotlin": 1372900, "JavaScript": 37772, "Java": 13702, "Groovy": 408} | package com.skillw.pouvoir.api.plugin.annotation
/**
* Pou manager
*
* @constructor
*/
@Target(AnnotationTarget.FIELD)
@Retention(AnnotationRetention.RUNTIME)
annotation class PouManager(val path: String = "")
| 3 | Kotlin | 8 | 26 | 6818b4ea58e5131a97a3dda6a86e86dde2bbf825 | 215 | Pouvoir | MIT License |
serial-core/src/main/java/com/seiko/serial/core/SerialSetting.kt | qdsfdhvh | 202,088,443 | false | null | package com.seiko.serial.core
import androidx.annotation.IntDef
data class SerialSetting(
val baudRate: Int,
@Data val data: Int = Data.Bits8,
@Stop val stop: Int = Stop.Bits1,
@Parity val parity: Int = Parity.NONE,
@FlowControl val flowControl: Int = FlowControl.OFF
) {
@IntDef(Data.Bits8, ... | 0 | Kotlin | 2 | 5 | 1814e89528e33132561f54cd270da24119272342 | 1,558 | SingleSerialPort | Apache License 2.0 |
process/src/main/kotlin/org/example/bpmn/project/TransportConfig.kt | burningrain | 681,343,724 | false | null | package org.example.bpmn.project
import io.grpc.ManagedChannelBuilder
import org.example.bpmn.analyst.api.SendToAnalystRequestV10
import org.example.bpmn.analyst.api.SendToAnalystResponseV10
import org.example.bpmn.developer.developer1.api.Developer1V10
import org.example.bpmn.developer.review.api.ReviewV10
import org... | 0 | Kotlin | 0 | 0 | 68c4c91d546aded8af495bf7022204fe53518202 | 2,473 | camunda-kotlin-template | MIT License |
core/src/main/kotlin/com/github/prologdb/runtime/proofsearch/Athorization.kt | prologdb | 107,794,018 | false | null | package com.github.prologdb.runtime.proofsearch
import com.github.prologdb.runtime.FullyQualifiedClauseIndicator
/**
* An authorization determines which actions a query can do within
* a knowledge base.
*/
interface Authorization {
/**
* @param clause the clause that is to be accessed
* @return wheth... | 18 | Kotlin | 0 | 3 | a3d95b473ae83d3cf4eaebfb69cd9d13537135f6 | 2,040 | runtime | MIT License |
app/src/main/kotlin/io/github/nuhkoca/libbra/domain/usecase/UseCase.kt | nuhkoca | 252,193,036 | false | {"Kotlin": 258451, "Shell": 1250, "Java": 620} | /*
* Copyright (C) 2020. <NAME>. All Rights Reserved.
*
* 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 applic... | 1 | Kotlin | 11 | 54 | 68c1b99d3c2966a8eec9395199379b98c21a340f | 1,480 | libbra | Apache License 2.0 |
app/src/main/java/com/example/clicknews/MainActivity.kt | swagatgithub | 738,878,732 | false | {"Kotlin": 20373} | package com.example.clicknews
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import androidx.fragment.app.Fragment
import androidx.fragment.app.commit
import com.example.clicknews.databinding.ActivityMainBinding
import com.example.clicknews.features.bookmarks.BookmarksFragment
import com.exam... | 0 | Kotlin | 0 | 0 | caf8a86f514145155397e1de5195d3ea97ddf0fb | 6,726 | ClickNews | MIT License |
plots/src/test/kotlin/org/cryptobiotic/rlauxe/sim/Dvalues.kt | JohnLCaron | 847,947,313 | false | {"Kotlin": 611424} | package org.cryptobiotic.rlauxe.sim
import org.cryptobiotic.rlauxe.util.makeCvrsByExactMean
import org.cryptobiotic.rlauxe.rlaplots.SRTcsvWriter
import org.junit.jupiter.api.Test
// explore values of d for both polling and comparison
// TODO not sure its ok that eta0 < .5
class Dvalues {
@Test
fun pollingAlp... | 0 | Kotlin | 0 | 0 | b977070786f3afbf5dd28e148f4ba9de8fe1201e | 4,120 | rlauxe | Open LDAP Public License v2.1 |
app/src/main/kotlin/by/kirich1409/grsuschedule/app/SpiceFragment.kt | mydos | 48,542,594 | false | null | package by.kirich1409.grsuschedule.app
import android.os.Bundle
import android.support.v4.app.Fragment
import by.kirich1409.grsuschedule.network.ScheduleSpiceService
import com.octo.android.robospice.SpiceManager
/**
* Created by kirillrozov on 9/13/15.
*/
public abstract class SpiceFragment : Fragment() {
val... | 0 | Kotlin | 0 | 0 | 2fb2c70622f2a058fb6a983ad40e2d05201e4aab | 712 | GrSU-Schedule | Apache License 2.0 |
buildSrc/src/main/java/com/kanzankazu/AndroidConfig.kt | kanzankazu | 552,512,175 | false | {"Kotlin": 547261, "Java": 59675} | package com.kanzankazu
object AndroidConfig {
const val compileSdkVersion = 33
const val buildToolsVersion = "30.0.3"
const val applicationId = "com.kanzankazu.itungitungan"
const val applicationName = "ItungItungan"
const val minSdkVersion = 23
const val targetSdkVersion = 33
const val ver... | 0 | Kotlin | 0 | 0 | bfe04603d529e386780a9fd6b4ca389435e87fcb | 824 | Kanzan_Android_Libs | Apache License 2.0 |
app/src/main/java/com/qing/rainfall_tool/ui/functions/WrappedH5.kt | qs2042 | 714,541,475 | false | {"Kotlin": 151363, "Java": 13946} | package com.qing.rainfall_tool.ui.functions
import android.annotation.SuppressLint
import android.app.Activity
import android.graphics.Bitmap
import android.os.Bundle
import android.view.View
import android.webkit.*
import android.widget.Toast
import androidx.appcompat.app.AppCompatActivity
import com.qing.rainfall_to... | 0 | Kotlin | 0 | 0 | d0e5ae1931b12531ec1f55a29a7b9b52ae9f8419 | 4,204 | Rainfall-android-tool | Apache License 2.0 |
samples/legacy-architecture-samples/simple-stack-example-mvp-view/src/main/java/com/zhuinden/simplestackdemoexamplemvp/application/MainActivity.kt | lingyun666 | 285,527,422 | false | null | package com.zhuinden.simplestackdemoexamplemvp.application
import android.annotation.SuppressLint
import android.content.Context
import android.content.res.Configuration
import android.os.Bundle
import android.support.v7.app.AppCompatActivity
import android.view.Menu
import android.view.MenuItem
import com.zhuinden.si... | 1 | null | 1 | 1 | 324f1edb17ab2c63b05d554e16a1c3e6adf864df | 3,801 | simple-stack | Apache License 2.0 |
Katydid-Events-JS/src/main/kotlin/o/katydid/events/types/KatydidFocusEvent.kt | martin-nordberg | 131,987,610 | false | null |
//
// (C) Copyright 2018-2019 <NAME>
// Apache 2.0 License
//
package o.katydid.events.types
//---------------------------------------------------------------------------------------------------------------------
interface KatydidFocusEvent : KatydidUiEvent {
// TODO: cf. React SyntheticEvent
// DOMEventTa... | 1 | Kotlin | 1 | 6 | 8fcb99b2d96a003ff3168aef101eaa610e268bff | 464 | Katydid | Apache License 2.0 |
domain/bekreftelse-interne-hendelser/src/main/kotlin/no/nav/paw/bekreftelse/internehendelser/BekreftelseMeldingMottatt.kt | navikt | 794,874,233 | false | {"Kotlin": 930882, "Dockerfile": 143} | package no.nav.paw.bekreftelse.internehendelser
import java.time.Instant
import java.util.*
const val meldingMottattHendelseType = "bekreftelse.melding_mottatt"
data class BekreftelseMeldingMottatt(
override val hendelseId: UUID,
override val periodeId: UUID,
override val arbeidssoekerId: Long,
overr... | 3 | Kotlin | 0 | 1 | 986751058741c92b74ec73c7faead2ab1ee0510f | 478 | paw-arbeidssoekerregisteret-monorepo-intern | MIT License |
arch/src/main/java/com/qmuiteam/qmui/arch/scheme/QMUISchemeHandlerInterceptor.kt | Tencent | 88,970,564 | false | null | /*
* Tencent is pleased to support the open source community by making QMUI_Android available.
*
* Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved.
*
* Licensed under the MIT License (the "License"); you may not use this file except in
* compliance with the License. You may obtain ... | 424 | null | 2672 | 14,373 | 026e7d486677d6593a96689cd590ec3561176717 | 1,461 | QMUI_Android | Apache License 2.0 |
coroutine/src/test/kotlin/com/oneliang/ktx/frame/test/TestExecutor.kt | oneliang | 262,052,605 | false | {"Kotlin": 1450964, "Java": 255657, "C": 27979, "HTML": 3956} | package com.oneliang.ktx.frame.test
import com.oneliang.ktx.frame.coroutine.Coroutine
fun main() {
val coroutine = Coroutine()
coroutine.runBlocking {
coroutine.async {
println(1)
sync {
println(2)
sync {
println(3)
... | 0 | Kotlin | 1 | 0 | aa3739a88ef88c635f4857b21585534397c639fa | 406 | frame-kotlin | Apache License 2.0 |
app/src/main/java/com/iutcalendar/event/changement/EventChangementViewHolder.kt | wwwazz333 | 486,323,544 | false | {"Kotlin": 204168} | package com.iutcalendar.event.changement
import android.view.View
import android.widget.LinearLayout
import android.widget.TextView
import androidx.recyclerview.widget.RecyclerView
import com.univlyon1.tools.agenda.R
class EventChangementViewHolder(itemView: View) : RecyclerView.ViewHolder(itemView) {
var name: T... | 2 | Kotlin | 0 | 0 | 95d2a6a5bb3a2d843d647563a4124847ed4b1d62 | 1,192 | AgendaLyon1 | MIT License |
app/src/main/java/com/educatorapp/ui/adapter/SubjectListAdapter.kt | manishpatelgt | 265,855,771 | false | null | package com.educatorapp.ui.adapter
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.recyclerview.widget.DiffUtil
import androidx.recyclerview.widget.ListAdapter
import com.educatorapp.databinding.CardViewSubjectItemBinding
import com.educatorapp.model.Subject
class SubjectListAdapter(v... | 0 | Kotlin | 1 | 5 | daab7558a301c82dbd363c857f0cb36d9f3ebf40 | 1,712 | EducatorApp | The Unlicense |
app/src/main/java/soup/mlkit/sample/picker/PickerActivity.kt | fornewid | 286,217,452 | false | null | package soup.mlkit.sample.picker
import android.Manifest
import android.content.Context
import android.content.Intent
import android.content.pm.PackageManager
import android.net.Uri
import android.os.Bundle
import android.widget.Toast
import androidx.activity.viewModels
import androidx.appcompat.app.AppCompatActivity
... | 0 | Kotlin | 0 | 1 | 9495e08bc1955ad948feb67a14aecec59c0cbb7d | 2,496 | MLKit-Sample | Apache License 2.0 |
core/core-performance/src/test/java/androidx/core/performance/StaticDevicePerformanceTest.kt | androidx | 256,589,781 | 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... | 23 | Kotlin | 782 | 4,525 | 006680832f0d7fc8d31a05ab20ab217cc29101d1 | 4,729 | androidx | Apache License 2.0 |
tmp/arrays/youTrackTests/4862.kt | DaniilStepanov | 228,623,440 | false | null | // Original bug: KT-30867
fun case_1(x: Boolean?) {
while (true) {
for (i in listOf(break, x!!, x!!)) {
}
}
println(x.not()) // unsound smartcast to Boolean, NPE
}
| 1 | null | 1 | 1 | 602285ec60b01eee473dcb0b08ce497b1c254983 | 194 | bbfgradle | Apache License 2.0 |
feature/topic/src/main/kotlin/org/bmsk/feature/topic/TopicUiState.kt | AndroidStudy-bmsk | 632,254,827 | false | {"Kotlin": 63336} | package org.bmsk.feature.topic
import org.bmsk.core.model.NewsModel
import org.bmsk.core.model.section.SbsSection
internal data class TopicUiState(
val currentSection: SbsSection = SbsSection.ECONOMICS,
val newsList: List<NewsModel> = emptyList(),
)
| 1 | Kotlin | 0 | 0 | b48e24d85a0596a5a5131c601450f31abd2682dd | 260 | LifeMash-NewsApp | MIT License |
provider-manager/src/commonMain/kotlin/com.g985892345.provider.manager/KtProviderManager.kt | 985892345 | 657,472,390 | false | {"Kotlin": 29332} | package com.g985892345.provider.manager
import com.g985892345.provider.api.init.IKtProviderDelegate
import com.g985892345.provider.api.init.wrapper.ImplProviderWrapper
import com.g985892345.provider.api.init.wrapper.KClassProviderWrapper
import kotlin.reflect.KClass
/**
* Service provider manager
*
* @author 98589... | 0 | Kotlin | 0 | 6 | ede4fa999481ae45b8b652f5669411cbc02a7683 | 5,153 | KtProvider | Apache License 2.0 |
experiments/src/main/kotlin/com/kjipo/experiments/MatrixExperiment.kt | torebre | 101,560,963 | false | {"Java": 6239805, "Kotlin": 122487, "HTML": 4113, "JavaScript": 1052, "Shell": 394, "CSS": 69} | package com.kjipo.experiments
import com.kjipo.mathml3.*
import java.io.StringWriter
import javax.xml.bind.JAXB
private object MatrixExperiment {
fun createMatrix() {
val mrow = Mrow()
mrow.id = "row1"
val moStart = Mo()
moStart.setvalue("(")
mrow.elements.add(moStart)
... | 1 | null | 1 | 1 | dd69703084f5e13a4b33b0046a1bc1c91dee4e10 | 1,665 | semanticanimation | Apache License 2.0 |
bindings-chasm/src/commonMain/kotlin/exports/ChasmEmscriptenMainExports.kt | illarionov | 848,247,126 | false | {"Kotlin": 991649} | /*
* Copyright 2024, the wasi-emscripten-host project authors and contributors. Please see the AUTHORS file
* for details. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
* SPDX-License-Identifier: Apache-2.0
*/
@file:Suppress("NULLABLE_PROPERTY_TYPE")
package ... | 0 | Kotlin | 0 | 2 | eac1f7473d21ca17c16e4b1b01185c9e4c7c81a5 | 1,247 | wasi-emscripten-host | Apache License 2.0 |
app/src/main/java/com/digitalmid/seograph_webmasters_tool/CompareAdapter.kt | parth-samcom2018 | 155,720,919 | false | null | package com.digitalmid.seograph_webmasters_tool.com.digitalmid.seograph_webmasters_tool
import android.support.v4.app.FragmentActivity
import android.support.v7.widget.RecyclerView
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import com.digita... | 0 | Kotlin | 0 | 0 | 859c3d04e91aff7a1f3843888d185ad761de292c | 3,598 | Webmaster | Creative Commons Attribution 3.0 Unported |
Biometric Authentication/BiometricAuth/app/src/main/java/com/example/biometricauth/Verified.kt | aadityamp01 | 275,898,636 | false | null | package com.example.biometricauth
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
class Verified : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_verified)
}
} | 1 | null | 57 | 76 | d047d5b4c3321df85c6523c0725028986c898b14 | 306 | Androapps | MIT License |
app/src/main/java/com/movisens/rxblemovisenssample/application/Application.kt | movisens | 191,781,095 | false | {"Gradle Kotlin DSL": 5, "Markdown": 2, "Java Properties": 2, "Shell": 1, "Ignore List": 2, "Batchfile": 1, "Proguard": 1, "Kotlin": 18, "Java": 1, "XML": 11} | package com.movisens.rxblemovisenssample.application
import android.app.Application
import android.app.NotificationChannel
import android.app.NotificationManager
import android.app.NotificationManager.IMPORTANCE_HIGH
import android.content.Context
import android.content.Intent
import android.os.Build.VERSION.SDK_INT
i... | 0 | Kotlin | 1 | 3 | bb585e65524c5786e2719f57d68f70c5f78ba665 | 3,825 | MovisensBluetoothSample | Apache License 2.0 |
Behavioral/Delegation/Example/Headlights.kt | hoangtien2k3 | 602,360,530 | false | {"Markdown": 8, "XML": 1, "Text": 1, "Ignore List": 1, "CODEOWNERS": 1, "YAML": 1, "Java": 76, "Kotlin": 14} | package Behavioral.Delegation.Example
// Interface định nghĩa hành vi của đèn
interface Headlights {
fun turnOn()
fun turnOff()
} | 2 | Java | 3 | 9 | 24f5f439aac0c502f0004d83cb04045ec0b0b8b5 | 138 | design-pattern | MIT License |
app/src/main/java/com/hopovo/mobile/android/prepexam/app/PrepexamApplication.kt | MilanZk | 276,394,492 | false | {"Kotlin": 192502, "Shell": 1098} | package com.hopovo.mobile.android.prepexam.app
import android.app.Application
import com.hopovo.mobile.android.prepexam.app.di.*
import org.koin.android.ext.koin.androidContext
import org.koin.core.context.startKoin
import timber.log.Timber
class PrepexamApplication : Application() {
override fun onCreate() {
... | 0 | Kotlin | 0 | 1 | 24c7634eb76e720e45025e7142886b6834cbfb1d | 806 | chillupbox | MIT License |
modules/presentation/src/main/java/kr/co/knowledgerally/ui/ball/BallScreen.kt | YAPP-Github | 475,728,173 | false | {"Kotlin": 454888} | package kr.co.knowledgerally.ui.ball
import androidx.compose.foundation.Image
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.fillM... | 2 | Kotlin | 1 | 4 | 01db68b42594360a9285af458eb812ad83acef70 | 7,450 | 20th-ALL-Rounder-Team-2-Android | Apache License 2.0 |
roboquant-core/test/policies/TestPolicyTest.kt | neurallayer | 406,929,056 | false | null | /*
* Copyright 2021 Neural Layer
*
* 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... | 4 | Kotlin | 9 | 27 | 601f0b39950a53b32889d6c3688b2bcfecae9323 | 1,219 | roboquant | Apache License 2.0 |
app/src/main/java/com/example/elson/popmovies/dagger/app/AppComponent.kt | elson-dsouza | 59,221,427 | false | null | package com.example.elson.popmovies.dagger.app
import com.example.elson.popmovies.MoviesApplication
import com.example.elson.popmovies.dagger.authentication.AuthenticationComponent
import com.example.elson.popmovies.dagger.movies.MoviesComponent
import dagger.BindsInstance
import dagger.Component
import dagger.android... | 0 | Kotlin | 0 | 0 | 8361f05546cff719439b06fa716aa8d998732328 | 990 | PopMovies | MIT License |
features/mpperson/src/main/java/com/jpp/mpperson/PersonFragment.kt | perettijuan | 156,444,935 | false | null | package com.jpp.mpperson
import android.content.Context
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.databinding.DataBindingUtil
import androidx.fragment.app.Fragment
import androidx.fragment.app.viewModels
import com.jpp.mp.common.e... | 9 | Kotlin | 7 | 46 | 7921806027d5a9b805782ed8c1cad447444f476b | 2,362 | moviespreview | Apache License 2.0 |
app/src/main/java/com/blocksdecoded/dex/presentation/send/SendDialog.kt | wepobid | 208,574,428 | true | {"Kotlin": 408529} | package com.blocksdecoded.dex.presentation.send
import android.os.Bundle
import android.text.Editable
import android.view.View
import android.view.inputmethod.EditorInfo
import android.view.inputmethod.InputConnection
import androidx.core.content.ContextCompat
import androidx.fragment.app.FragmentManager
import androi... | 0 | null | 0 | 0 | 4ecd7072467ac5247d4d0fe3c1b4ffccf64ac1b0 | 7,221 | dex-app-android | MIT License |
app/src/main/java/com/dicoding/crimelessapps/ui/Data/PrivatePhone.kt | mas-diq | 368,489,742 | false | {"Jupyter Notebook": 830921, "Kotlin": 23569} | package com.dicoding.crimelessapps.ui.Data
data class PrivatePhone(
val PrimPhoneOne : String,
val PrimPhoneTwo : String
)
| 0 | Jupyter Notebook | 0 | 1 | 40af473527fe65c72f799341e3e6864ae18592c5 | 132 | CrimeLessApps | MIT License |
firebase-dataconnect/src/main/kotlin/com/google/firebase/dataconnect/ConnectorConfig.kt | firebase | 146,941,185 | false | {"Java": 13568535, "PureBasic": 10781995, "Kotlin": 2658699, "Python": 104323, "C++": 86300, "Makefile": 21902, "Shell": 13966, "HCL": 11091, "C": 6939, "JavaScript": 5482, "Mustache": 4729, "Ruby": 2545, "AIDL": 1486, "HTML": 215} | /*
* Copyright 2024 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | 440 | Java | 575 | 2,270 | 0697dd3aadd6c13d9e2d321c75173992bfbaac3b | 3,402 | firebase-android-sdk | Apache License 2.0 |
src/main/kotlin/dulkirmod/utils/ConfigData.kt | inglettronald | 540,311,136 | false | null | package dulkirmod.utils
import dulkirmod.config.Config
data class ConfigData(
val size: Float = Config.customSize,
val scaleSwing: Boolean = Config.doesScaleSwing,
val x: Float = Config.customX,
val y: Float = Config.customY,
val z: Float = Config.customZ,
val yaw: Float = Config.customYaw,
... | 2 | Kotlin | 6 | 16 | 1c27ca0e7586c27de7ddd51723b5bf7b0ab50230 | 550 | DulkirMod | The Unlicense |
testkit/gradle-testkit-support/src/main/kotlin/com/autonomousapps/kit/gradle/android/KotlinOptions.kt | autonomousapps | 217,134,508 | false | {"Kotlin": 1100680, "Groovy": 596075, "ANTLR": 44382, "Java": 17082} | // Copyright (c) 2024. <NAME>.
// SPDX-License-Identifier: Apache-2.0
package com.autonomousapps.kit.gradle.android
import com.autonomousapps.kit.render.Element
import com.autonomousapps.kit.render.Scribe
public class KotlinOptions @JvmOverloads constructor(
private val jvmTarget: String = "1.8",
) : Element.Block ... | 117 | Kotlin | 117 | 1,800 | d2f777e002341ac4509166ad0726a493e7823f63 | 655 | dependency-analysis-gradle-plugin | Apache License 2.0 |
StepperView/src/main/java/com/mak/recycler/stepperview/adapter/StepperAdapter.kt | AtifAbbAsi19 | 649,291,303 | false | null | package com.mak.recycler.stepperview.adapter
import android.annotation.SuppressLint
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.appcompat.widget.AppCompatImageView
import androidx.recyclerview.widget.RecyclerView
import com.google.android.material.imageview... | 0 | Kotlin | 0 | 0 | 93022a61a4ed5fd3bfeff3a26a9ce81507c302cc | 5,383 | StepperView | Apache License 2.0 |
Kotlin/Push/app/src/main/java/com/ale/push/MainActivity.kt | Rainbow-CPaaS | 127,151,925 | false | {"Java": 209206, "Kotlin": 76413} | package com.ale.push
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.widget.TextView
import androidx.core.view.isVisible
import com.ale.listener.SigninResponseListener
import com.ale.listener.SignoutResponseListener
import com.ale.rainbowsdk.RainbowSdk
import com.google.android.... | 2 | Java | 8 | 2 | ddf294912d8c72088e8110033a0a4363342e20cf | 1,892 | Rainbow-Android-SDK-Samples | MIT License |
src/main/kotlin/org/strykeforce/thirdcoast/canifier/CanifierParameter.kt | strykeforce | 121,652,525 | false | null | package org.strykeforce.thirdcoast.canifier
import net.consensys.cava.toml.TomlTable
import org.strykeforce.thirdcoast.command.AbstractParameter
import org.strykeforce.thirdcoast.command.Command
import org.strykeforce.thirdcoast.parseResource
class CanifierParameter(command: Command, toml: TomlTable, val enum: Enum) ... | 0 | Kotlin | 1 | 3 | d9c64243e8b837f039a436013a960d895ffbd51b | 968 | thirdcoast-tct | MIT License |
src/test/kotlin/net/phexpedition/user/UserKtTest.kt | bjblazko | 622,507,748 | false | null | package net.phexpedition.user
import io.quarkus.test.junit.QuarkusTest
import org.junit.jupiter.api.Test
import java.util.*
class UserKtTest {
//@Test
fun `test POJO firestore`() {
val user = User(id = UUID.randomUUID().toString(), email = "foo@example.com", displayName = "John Doe")
store(u... | 0 | Kotlin | 0 | 0 | 0eb51558bdd8d252592617991ba432faa022053d | 440 | phexpedition | Apache License 2.0 |
core/src/main/kotlin/com/heroslender/hmf/core/font/FontStyle.kt | heroslender | 341,310,824 | false | null | @file:Suppress("unused")
package com.heroslender.hmf.core.font
import com.heroslender.hmf.core.IColor
open class FontStyle(
val font: Font,
val color: IColor,
val shadowColor: IColor = IColor.TRANSPARENT,
val borderColor: IColor = IColor.TRANSPARENT,
) {
fun copy(
font: Font = this.font,... | 1 | null | 4 | 58 | 23c601aa0680ae1366f63b761cfa9b74b80833ab | 898 | menu-framework | MIT License |
src/main/kotlin/org/semonte/intellij/swagger/traversal/path/swagger/ParameterPathResolver.kt | semonte | 692,733,249 | false | {"Kotlin": 511953, "Java": 219922, "HTML": 5081} | package org.semonte.intellij.swagger.traversal.path.swagger
import com.intellij.psi.PsiElement
class ParameterPathResolver : PathResolver {
override fun childOfParameterItems(psiElement: PsiElement): Boolean {
return hasPath(psiElement, "$.**.items")
}
override fun childOfParameterDefinition(psi... | 0 | Kotlin | 0 | 0 | 52f4741b177b1fbc71c4fe8e5d00ef2d572d2154 | 400 | openapi-plugin | MIT License |
app/src/main/java/es/kix2902/cd2spotify/ui/spotify/SpotifyViewModel.kt | kix2902 | 325,857,149 | false | null | package es.kix2902.cd2spotify.ui.spotify
import android.app.Application
import androidx.lifecycle.AndroidViewModel
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.viewModelScope
import es.kix2902.cd2spotify.data.DatabaseRepository
import es.kix2902.cd2spotify.data... | 0 | Kotlin | 0 | 0 | 427dc2d7d7664af87b1424d9a66870e14e5d8202 | 2,261 | CD2Spotify | Apache License 2.0 |
common/src/commonMain/kotlin/com/niji/claudio/common/data/feature/user/usecase/SetUserSleepingMode.kt | GuillaumeMuret | 718,024,230 | false | {"Kotlin": 265059, "Shell": 4408, "Swift": 580, "HTML": 357, "CSS": 108, "Ruby": 101} | package com.niji.claudio.common.data.feature.user.usecase
import com.niji.claudio.common.internal.RepositoryLocator
class SetUserSleepingMode(private val isSleepingMode: Boolean) {
suspend fun execute() {
return RepositoryLocator.userRepository.setSleepingMode(isSleepingMode)
}
} | 0 | Kotlin | 0 | 0 | 20207a8f2b608ee7038b24dc0fd2701b2376437c | 299 | claudio-app | Apache License 2.0 |
src/test/kotlin/org/installmation/model/binary/ListDirExecutable.kt | SergeMerzliakov | 215,456,643 | false | null | /*
* Copyright 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... | 1 | Kotlin | 5 | 45 | eb1c151e70e7fe7c3b096154f1f63d47a50bea19 | 1,188 | installmation | Apache License 2.0 |
presentation/src/main/java/com/yapp/timitimi/presentation/ui/splash/redux/SplashMiddleware.kt | YAPP-Github | 561,172,097 | false | null | package com.yapp.timitimi.presentation.ui.splash.redux
import com.yapp.timitimi.domain.preference.UserPreference
import com.yapp.timitimi.domain.respository.ParticipantsRepository
import com.yapp.timitimi.domain.respository.ProjectsRepository
import com.yapp.timitimi.redux.BaseMiddleware
import kotlinx.coroutines.Coro... | 0 | Kotlin | 0 | 6 | 5450999344a5ed0d0072133299bb069892a5b597 | 2,964 | 21st-ALL-Rounder-Team-3-Android | Apache License 2.0 |
android/src/main/java/com/usagestatsmanager/UsageStatsManagerPackage.kt | Bright-Hustle | 665,017,904 | false | null | package com.usagestatsmanager
import com.facebook.react.ReactPackage
import com.facebook.react.bridge.NativeModule
import com.facebook.react.bridge.ReactApplicationContext
import com.facebook.react.uimanager.ViewManager
class UsageStatsManagerPackage : ReactPackage {
override fun createNativeModules(reactContext: ... | 0 | Kotlin | 0 | 0 | 2ccfff7164b6cac35129f536bde8dc791887a949 | 558 | react-native-usage-stats-manager | MIT License |
compose/ui/ui/src/commonMain/kotlin/androidx/compose/ui/platform/LocalSoftwareKeyboardController.kt | virendersran01 | 343,676,031 | true | {"Java": 47531382, "Kotlin": 29631498, "Python": 304753, "Shell": 120357, "C++": 37213, "ANTLR": 19860, "HTML": 10802, "TypeScript": 6933, "CMake": 3330, "JavaScript": 1343} | /*
* 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... | 0 | null | 0 | 1 | fa4711838092061ca02409b998a59f12ef0b7143 | 1,844 | androidx | Apache License 2.0 |
app/src/main/java/com/example/android/politicalpreparedness/election/VoterInfoFragment.kt | PaoloCaldera | 686,292,926 | false | {"Kotlin": 82315} | package com.example.android.politicalpreparedness.election
import android.content.Intent
import android.net.Uri
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.Toast
import androidx.fragment.app.Fragment
import androidx.fragment.a... | 0 | Kotlin | 0 | 1 | c038c212d032b3ec5133365035d77bc7224e56b5 | 6,613 | politicalPreparedness | MIT License |
lib-gaussianBlur/src/main/java/com/ant/blur/BlurController.kt | Hello-Ant | 227,559,703 | false | {"Java": 298098, "Kotlin": 240991} | /*
* Copyright (C) 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required b... | 1 | null | 1 | 1 | 3057af5717a126511affc2cf528e7c7fba3ba050 | 1,169 | Ant | Apache License 2.0 |
src/main/kotlin/frc/robot/subsystems/Cameras.kt | FusionCorps | 240,782,804 | false | null | package frc.robot.subsystems
import edu.wpi.cscore.HttpCamera
import edu.wpi.cscore.MjpegServer
import edu.wpi.cscore.VideoSource
import edu.wpi.first.cameraserver.CameraServer
import edu.wpi.first.networktables.NetworkTableInstance
import edu.wpi.first.wpilibj.Sendable
import edu.wpi.first.wpilibj.smartdashboard.Send... | 1 | Kotlin | 1 | 3 | 6e61e7c5c5429983f71256e1374a534464515dea | 2,409 | 2020-Parsec | MIT License |
src/com/puzzletimer/gui/ColorSchemeFrame.kt | unquenchedservant | 370,853,858 | true | {"Kotlin": 1024655} | package com.puzzletimer.gui
import com.puzzletimer.puzzles.Puzzle.getScrambledPuzzleMesh
import com.puzzletimer.models.Category.getDescription
import com.puzzletimer.puzzles.Puzzle.puzzleInfo
import com.puzzletimer.scramblers.Scrambler.scramblerInfo
import com.puzzletimer.models.ScramblerInfo.puzzleId
import com.puzzl... | 0 | Kotlin | 0 | 0 | 7e9c509c24ece82b1c02e349e61deb9316736f86 | 18,946 | prisma | MIT License |
jetifier/jetifier/processor/src/test/kotlin/com/android/tools/build/jetifier/processor/transform/bytecode/SignatureMappingTest.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... | 0 | null | 0 | 7 | 6d53f95e5d979366cf7935ad7f4f14f76a951ea5 | 2,039 | androidx | Apache License 2.0 |
example/src/main/java/moe/pine/rx/bindroid/example/business/viewmodel/count/CountUpButtonViewModel.kt | pine | 53,225,573 | false | null | package moe.pine.rx.bindroid.example.business.viewmodel.count
import android.widget.Button
import com.jakewharton.rxbinding.view.clicks
import moe.pine.rx.bindroid.example.business.model.CountModel
import rx.Subscription
import java.util.concurrent.TimeUnit
/**
* CountUpButtonViewModel
* Created by pine on 2016/03/... | 1 | null | 1 | 1 | c2beedb18b1e9c033ee1587a5bcce08dd2b7d1ea | 614 | RxBindroid | Apache License 2.0 |
shared/data/src/commonMain/kotlin/com/tweener/changehere/data/source/firebase/firestore/datasource/FirestoreUsersDataSource.kt | Tweener | 649,372,991 | false | null | package com.tweener.changehere.data.source.firebase.firestore.datasource
import com.tweener.changehere.data.source.firebase.firestore.model.FirestoreUserModel
import com.tweener.firebase.firestore.FirestoreService
/**
* @author <NAME>
* @since 15/01/2024
*/
class FirestoreUsersDataSource(
private val firestore... | 0 | null | 4 | 77 | a09e01ef8d51c4ef96f7f002c4bbdb8d997286ab | 1,391 | kmplate | Apache License 2.0 |
src/main/kotlin/emufog/Arguments.kt | hobama | 231,486,951 | true | {"Kotlin": 221016} | /*
* MIT License
*
* Copyright (c) 2018 emufog contributors
*
* 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, co... | 0 | null | 0 | 0 | f065257b29ec31fae9282f4030078b7c9a66281b | 1,762 | emufog | MIT License |
src/main/kotlin/ps/api/module/discovery/endpoint/IndexEndpoint.kt | marek-hanzal | 394,701,910 | false | null | package ps.api.module.discovery.endpoint
import io.ktor.application.*
import leight.client.sdk.annotation.Sdk
import leight.client.sdk.annotation.TypeClass
import leight.container.IContainer
import leight.discovery.lazyDiscoveryIndex
import leight.rest.*
import ps.api.module.discovery.dto.index.IndexResponse
@Sdk(
r... | 10 | Kotlin | 0 | 0 | 1eb59387ac54d0799b5805b905b2488a2bca48ca | 673 | puff-smith | Apache License 2.0 |
app/src/main/java/com/kusamaru/standroid/nicoapi/cache/CacheFilterDataClass.kt | kusamaru | 442,642,043 | false | {"Kotlin": 1954774} | package io.github.takusan23.tatimidroid.nicoapi.cache
/**
* キャッシュのフィルターの条件を保存しているデータクラス
* @param titleContains タイトルの部分一致検索の値
* @param uploaderName 投稿者ソートの値
* @param tagItems タグの配列(文字列)
* @param sort ソートの値
* @param isTatimiDroidGetCache たちみどろいどで取得したキャッシュのみ利用する設定有効時
* */
data class CacheFilterDataClass(
val t... | 0 | Kotlin | 0 | 3 | 5c58707eecc7a994fbd4bc900b22106697bf3806 | 466 | StanDroid | Apache License 2.0 |
app/src/main/java/com/kusamaru/standroid/nicoapi/cache/CacheFilterDataClass.kt | kusamaru | 442,642,043 | false | {"Kotlin": 1954774} | package io.github.takusan23.tatimidroid.nicoapi.cache
/**
* キャッシュのフィルターの条件を保存しているデータクラス
* @param titleContains タイトルの部分一致検索の値
* @param uploaderName 投稿者ソートの値
* @param tagItems タグの配列(文字列)
* @param sort ソートの値
* @param isTatimiDroidGetCache たちみどろいどで取得したキャッシュのみ利用する設定有効時
* */
data class CacheFilterDataClass(
val t... | 0 | Kotlin | 0 | 3 | 5c58707eecc7a994fbd4bc900b22106697bf3806 | 466 | StanDroid | Apache License 2.0 |
src/main/kotlin/io/github/runedata/cache/filesystem/FileStore.kt | Rune-Status | 151,259,997 | false | null | /*
Copyright 2018 <NAME>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,... | 0 | Kotlin | 0 | 0 | e624a764096bfe6390e6d8e6d6824dc05ca3b364 | 6,721 | Bartvhelvert-Cache-Filesystem | Apache License 2.0 |
app/src/main/java/com/ghstudios/android/AppSettings.kt | vonhuhuy | 154,583,207 | true | {"Kotlin": 540237, "Java": 452343} | package com.ghstudios.android
import android.app.Application
import android.content.Context.MODE_PRIVATE
import android.content.SharedPreferences
import com.ghstudios.android.data.DataManager
import java.util.*
/**
* A list of languages that are automatically supported by mode default.
* Only languages where the ap... | 0 | Kotlin | 0 | 0 | 825668c701cd25bb72307f3fdb2ff10e22f5258a | 2,516 | MHGenDatabase | MIT License |
src/main/kotlin/ru/byprogminer/modbot/vk/VkApiException.kt | ProgMiner | 205,051,669 | false | null | package ru.byprogminer.modbot.vk
import ru.byprogminer.modbot.ApiException
import ru.byprogminer.modbot.utility.LargeObject
class VkApiException: ApiException {
companion object {
private const val ERROR_MSG = "VK API error #%1\$s: %2\$s"
private fun formatErrorMessage(error: LargeObject) = ERR... | 0 | Kotlin | 0 | 0 | 9f533f7626f4dfd2504b94fa605c7c1e0fb20dd9 | 669 | modbot-vk | MIT License |
app/src/main/java/com/example/a7minuteworkout/DietActivity.kt | Tanushree-coder | 405,549,846 | false | {"Kotlin": 36585, "Java": 732} | package com.example.a7minuteworkout
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import kotlinx.android.synthetic.main.activity_diet.*
class DietActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(sa... | 0 | Kotlin | 0 | 0 | 716da45af0931f888c748ce130c74c4f8e9cd25d | 835 | Fit_Plus | MIT License |
sketch-on-map/src/main/java/com/esri/arcgismaps/sample/sketchonmap/MainActivity.kt | Esri | 530,805,756 | false | null | /* Copyright 2023 Esri
*
* 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,... | 4 | null | 7 | 43 | 3ad9236362a048d5772e1bed49fbfe2f10038e9e | 10,120 | arcgis-maps-sdk-kotlin-samples | Apache License 2.0 |
indexer/src/test/kotlin/tech/edgx/prise/indexer/config/ConfigTest.kt | Edgxtech | 772,437,133 | false | {"Kotlin": 454378, "Java": 7742, "Dockerfile": 361, "Shell": 220} | package tech.edgx.prise.indexer.config
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.assertDoesNotThrow
import org.junit.jupiter.api.assertThrows
import tech.edgx.prise.indexer.service.dataprovider.common.ChainDatabaseServiceEnum
import java.io.File
import java.io.InputStream
import java.util.*
import... | 0 | Kotlin | 1 | 4 | beebf12b49d2cb29e4cf56e58d419037847d64b7 | 1,962 | prise | MIT License |
src/main/java/com/sinnerschrader/s2b/accounttool/config/authentication/LdapAuthenticationDetails.kt | toread | 119,572,465 | true | {"Kotlin": 99373, "Java": 90904, "HTML": 63026, "JavaScript": 6494, "CSS": 6445, "Shell": 104} | package com.sinnerschrader.s2b.accounttool.config.authentication
import com.sinnerschrader.s2b.accounttool.config.ldap.LdapConfiguration
import org.springframework.security.web.authentication.WebAuthenticationDetails
import javax.servlet.http.HttpServletRequest
class LdapAuthenticationDetails
internal constructor(l... | 0 | Kotlin | 0 | 0 | 1edd6bda3233d46623b46fa2cdc9faa7f4193106 | 696 | account-tool | MIT License |
app/src/main/java/com/jonnyhsia/composer/biz/profile/ProfileDataSource.kt | jonnyhsia | 115,843,817 | false | null | package com.jonnyhsia.composer.biz.profile
import com.jonnyhsia.composer.biz.base.OnFailed
import com.jonnyhsia.composer.biz.base.OnFinally
import com.jonnyhsia.composer.biz.base.OnSubscribe
typealias OnPasswordNotMatch = () -> Unit
typealias OnLoginSuccess = (User) -> Unit
typealias OnRegisterSuccess = (User) -> Uni... | 0 | Kotlin | 0 | 0 | 63c9c7c892625c71f51fbb122b9fc30ed06b1bb1 | 927 | composer-deprecated | Apache License 2.0 |
flagfit/src/main/java/tv/abema/flagfit/VariationAdapter.kt | abema | 312,185,075 | false | null | package tv.abema.flagfit
import kotlin.reflect.KClass
interface VariationAdapterInterface<T : Any> {
fun variationOf(value: String): T
fun variationType(): KClass<T>
}
abstract class VariationAdapter<T : Any>(
private val clazz: KClass<T>
) : VariationAdapterInterface<T> {
override fun variationType(): KClas... | 2 | Kotlin | 2 | 93 | a956d4e2be81bbae9e45121c3ee5bab31d5bab55 | 335 | flagfit | Apache License 2.0 |
app/src/main/kotlin/me/leon/misc/net/MiitDetail.kt | Leon406 | 381,644,086 | false | null | package me.leon.misc.net
import me.leon.ext.stacktrace
/**
* @author Leon
* @since 2023-02-23 10:10
* @email <EMAIL>
*/
data class MiitDetail(val code: Int, val msg: String, val params: Params, val success: Boolean) {
data class Params(
val endRow: Int,
val firstPage: Int,
val hasNextP... | 4 | Kotlin | 209 | 941 | bfbdc980e6c0eade4612be955845ba4d8bcefde4 | 1,807 | ToolsFx | ISC License |
kotlin-node/src/jsMain/generated/node/fs/StatSyncFnSimpleThrowIfNoEntryOptions.kt | JetBrains | 93,250,841 | false | {"Kotlin": 12635434, "JavaScript": 423801} | // Generated by Karakum - do not modify it manually!
package node.fs
sealed external interface StatSyncFnSimpleThrowIfNoEntryOptions : StatSyncOptions {
override var bigint: Boolean /* false */?
}
| 40 | Kotlin | 165 | 1,347 | 997ed3902482883db4a9657585426f6ca167d556 | 204 | kotlin-wrappers | Apache License 2.0 |
app/src/main/java/com/acxdev/poolguardapps/ui/main/NewsViewModel.kt | dodyac | 606,656,789 | false | null | package com.acxdev.poolguardapps.ui.main
import android.app.Application
import androidx.lifecycle.AndroidViewModel
import com.acxdev.poolguardapps.common.base.BaseUrl
import com.acxdev.poolguardapps.model.News
import com.acxdev.poolguardapps.rest.fetchApi
import com.acxdev.poolguardapps.rest.onLoaded
import kotlinx.co... | 0 | Kotlin | 0 | 1 | effd2aa0ac41e81f8b4684c97d5e9c1f2b30542a | 1,088 | Poolguard | MIT License |
koans/rxjava/src/test/kotlin/com/artemzin/rxkoans/rxjava/tier1/solutions/Koan2Solutions.kt | artem-zinnatullin | 152,700,278 | false | null | package com.artemzin.rxkoans.rxjava.tier1.solutions
import com.artemzin.rxkoans.rxjava.tier1.Koan2Test
import io.reactivex.Observable
class Koan2Solutions {
class Solution1 : Koan2Test.Koan2 {
override fun emptyObservable(): Observable<Any> = Observable.empty()
}
class Solution2 : Koan2Test.Koan2... | 0 | Kotlin | 3 | 35 | c7be764d5b08594d662dd30b89e3ca66fdd133d5 | 733 | RxKoans | Apache License 2.0 |
shared/src/commonMain/kotlin/com/example/sduiappkmm/custom.plugins/UnknownPluginDefinition.kt | enirsilvaferraz | 642,968,440 | false | null | package com.example.sduiappkmm.custom.plugins
import com.example.sduiappkmm.core.models.EventDefinition
import com.example.sduiappkmm.core.models.PayloadDefinition
import com.example.sduiappkmm.core.models.PluginDefinition
import com.example.sduiappkmm.coreimpl.models.EmptyPayload
import kotlinx.serialization.SerialNa... | 0 | Kotlin | 0 | 0 | 9bd604cf1083bc58450ac0a05b431014b8da2deb | 744 | SDUIAppKMM | Apache License 2.0 |
shared/src/commonMain/kotlin/com/example/sduiappkmm/custom.plugins/UnknownPluginDefinition.kt | enirsilvaferraz | 642,968,440 | false | null | package com.example.sduiappkmm.custom.plugins
import com.example.sduiappkmm.core.models.EventDefinition
import com.example.sduiappkmm.core.models.PayloadDefinition
import com.example.sduiappkmm.core.models.PluginDefinition
import com.example.sduiappkmm.coreimpl.models.EmptyPayload
import kotlinx.serialization.SerialNa... | 0 | Kotlin | 0 | 0 | 9bd604cf1083bc58450ac0a05b431014b8da2deb | 744 | SDUIAppKMM | Apache License 2.0 |
foundation/ui/assets-icons/src/main/kotlin/ru/pixnews/foundation/ui/assets/icons/externallink/DtfLink.kt | illarionov | 305,333,284 | false | null | /*
* Copyright 2023 <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 | 0 | 2 | 8912bf1116dd9fe94d110162ff9a302e93af1509 | 2,924 | Pixnews | Apache License 2.0 |
src/main/kotlin/org/kodein/internal/gradle/KodeinLibraryMppWithAndroidPlugin.kt | tun-0-9-tap-0-9 | 401,402,157 | true | {"Kotlin": 61211} | package org.kodein.internal.gradle
import com.android.build.gradle.LibraryExtension
import org.gradle.api.Project
import org.gradle.kotlin.dsl.get
import org.gradle.kotlin.dsl.getByName
import org.gradle.kotlin.dsl.plugin
@Suppress("UnstableApiUsage")
class KodeinLibraryMppWithAndroidPlugin : KtPlugin<Project> {
... | 0 | null | 0 | 0 | b146998459d3e3653608a578bfd4b64dc477d21d | 1,241 | kodein-internal-gradle-plugin | MIT License |
src/main/kotlin/dev/kunet/soloarena/packets/WrappedEntityRelativeMoveLook.kt | imkunet | 817,113,644 | false | {"Kotlin": 43161} | package dev.kunet.soloarena.packets
import com.github.retrooper.packetevents.protocol.packettype.PacketType
import com.github.retrooper.packetevents.wrapper.PacketWrapper
import dev.kunet.soloarena.util.IntLocation
class WrappedEntityRelativeMoveLook(
private val entityId: Int,
private val previousIntLocation... | 0 | Kotlin | 0 | 0 | 95aec633ab45946489d1e91be2f2cb71c98482af | 878 | soloarena | MIT License |
app/src/main/java/uk/co/alt236/bluetoothconnectionlog/ui/detail/DeviceDetailFragment.kt | alt236 | 196,390,058 | false | null | package uk.co.alt236.bluetoothconnectionlog.ui.detail
import android.os.Bundle
import android.view.*
import androidx.fragment.app.Fragment
import androidx.lifecycle.Observer
import androidx.lifecycle.ViewModelProviders
import uk.co.alt236.bluetoothconnectionlog.R
import uk.co.alt236.bluetoothconnectionlog.db.entities.... | 0 | Kotlin | 2 | 1 | 51c7f8cbd70165ba089d469a0901fe472d71f3d4 | 3,945 | bluetooth-connection-log | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.