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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ant-viewver/src/main/java/com/antourage/weaverlib/networking/push/PushService.kt | antourage | 381,353,643 | false | null | package com.antourage.weaverlib.networking.push
import androidx.lifecycle.LiveData
import com.antourage.weaverlib.other.models.NotificationSubscriptionResponse
import com.antourage.weaverlib.other.models.SubscribeToPushesRequest
import com.antourage.weaverlib.networking.ApiResponse
import retrofit2.http.*
internal in... | 0 | Kotlin | 0 | 0 | 138ad31af4d14e87f2cf9d17f3a8eccbda7f5361 | 710 | viewer-sdk-android | MIT License |
app/src/androidTest/java/com/ricdip/tictactoegame/viewmodel/GameViewModelTest.kt | ricdip | 616,663,823 | false | null | package com.ricdip.tictactoegame.viewmodel
import androidx.test.ext.junit.runners.AndroidJUnit4
import com.google.common.truth.Truth
import com.ricdip.tictactoegame.utils.Game
import org.junit.Assert.*
import org.junit.Test
import org.junit.runner.RunWith
@RunWith(AndroidJUnit4::class)
class GameViewModelTest {
... | 0 | Kotlin | 0 | 0 | b30df60668209eed25c951b4c43f798406711e21 | 1,379 | android-tic-tac-toe | MIT License |
mobile/app/src/main/java/at/sunilson/tahomaraffstorecontroller/mobile/features/tahomaapi/domain/UpdateShortcuts.kt | sunilson | 524,687,319 | false | null | package at.sunilson.tahomaraffstorecontroller.mobile.features.localapi.domain
import android.content.Context
import android.content.Intent
import android.net.Uri
import androidx.core.content.pm.ShortcutInfoCompat
import androidx.core.content.pm.ShortcutManagerCompat
import androidx.core.graphics.drawable.IconCompat
im... | 0 | Kotlin | 0 | 0 | b423645487d8429aade1d868ea68a5c6570cfdc2 | 2,196 | somfy-tahoma-raffstore-app | MIT License |
meistercharts-history/meistercharts-history-core/src/jvmTest/kotlin/com/meistercharts/history/impl/HistoryChunkOnlyReferenceEntriesTest.kt | Neckar-IT | 599,079,962 | false | null | /**
* Copyright 2023 Neckar IT GmbH, Mössingen, Germany
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... | 0 | Kotlin | 0 | 3 | 4ac63c1e93e361b6f3f36042f90e51d89ed8e469 | 27,332 | meistercharts | Apache License 2.0 |
minih-microservice-client/src/main/kotlin/cn/minih/ms/client/proxy/ServiceProxyFactory.kt | minih-git | 663,073,996 | false | {"Kotlin": 202781} | package cn.minih.ms.client.proxy
import cn.minih.web.service.Service
import java.lang.reflect.Proxy
import kotlin.reflect.KClass
/**
* 代理工厂
* @author hubin
* @since 2023-08-06 11:03:52
* @desc
*/
@Suppress("UNCHECKED_CAST")
object ServiceProxyFactory {
fun <T : Service> getProxy(service: KClass<*>): T {
... | 0 | Kotlin | 0 | 2 | fff3b3aee4c812406a1ae34b0791992c0b7ed3a2 | 487 | minih-vertx | Apache License 2.0 |
app/src/main/java/com/tzt/customizekt/fragment/ActionFragment.kt | tzt1994 | 263,828,419 | false | null | package com.tzt.customizekt.fragment
import android.content.Intent
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import androidx.recyclerview.widget.LinearLayoutManager
import androidx.recyclerview.widget.RecyclerView
import com.tzt.common.base... | 0 | Kotlin | 1 | 5 | b3ede59ae12d614fc827dddb5c506cb103cc3211 | 2,685 | customizeKt | Apache License 2.0 |
app/src/main/java/jp/seo/station/ekisagasu/ui/overlay/NavigationView.kt | Seo-4d696b75 | 247,417,963 | false | null | package jp.seo.station.ekisagasu.ui.overlay
import android.animation.Animator
import android.animation.AnimatorSet
import android.animation.ObjectAnimator
import android.animation.PropertyValuesHolder
import android.content.Context
import android.graphics.PixelFormat
import android.view.Gravity
import android.view.Lay... | 1 | Kotlin | 0 | 0 | 9bca1482af9b6d0e634e7964f0be5040ab20cad1 | 14,885 | checkhelper | MIT License |
app/src/main/java/com/workbook/liuwb/workbook/actions/jetpack/JetpackActivity.kt | bobo-lwenb | 224,773,966 | false | null | package com.workbook.liuwb.workbook.actions.jetpack
import android.content.Intent
import android.os.Bundle
import android.view.View
import androidx.appcompat.app.AppCompatActivity
import com.workbook.liuwb.workbook.R
import com.workbook.liuwb.workbook.actions.jetpack.databind.DataBindDemoActivity
import com.workbook.l... | 0 | Kotlin | 0 | 0 | 9057c0ed87d0241a7704c7dfb9e285a378c2224e | 1,937 | WorkBook | Apache License 2.0 |
sample/src/main/java/com/sanogueralorenzo/sample/App.kt | warrior2015 | 163,656,741 | true | {"Kotlin": 80676} | package com.sanogueralorenzo.sample
import android.app.Application
import com.airbnb.mvrx.MvRx
import com.airbnb.mvrx.MvRxViewModelConfigFactory
import dagger.hilt.android.HiltAndroidApp
import timber.log.Timber
@HiltAndroidApp
class App : Application() {
override fun onCreate() {
super.onCreate()
... | 0 | Kotlin | 0 | 0 | 929c3ca324a64068009a1252f74c4207d8417774 | 471 | Android-Kotlin-Clean-Architecture | Apache License 2.0 |
core/src/main/java/com/jparrish/graphene/core/CallbackAdapter.kt | jpdev832 | 168,905,566 | false | null | package com.jparrish.graphene.core
import androidx.recyclerview.widget.DiffUtil
interface CallbackAdapter {
fun calculate(diffCallback: DiffUtil.Callback, resultCallback: (DiffUtil.DiffResult) -> Unit)
fun cancel()
} | 0 | Kotlin | 0 | 0 | c3220b1920ca628fc8b3971764808ddd46f04ae9 | 227 | graphene | MIT License |
inef-app/app/src/main/java/com/example/catedrakotlin/Administrador/EstudianteResponse.kt | ZANK123-F | 850,174,061 | false | {"Kotlin": 76077, "JavaScript": 67398, "HTML": 446} | package com.example.catedrakotlin.Administrador
data class EstudianteResponse(
val count: Int,
val usuarios: List<EstudianteData>
)
data class EstudianteData(
val id: Int,
val nombre: String,
val apellido: String,
val email: String,
val carnet: String?,
val sexo: String?,
val grado... | 0 | Kotlin | 0 | 0 | 95bff6e28ac01a1f3ba3cdf44df3724ce298fe6a | 690 | Catedra-DSM-Kotlin | Creative Commons Attribution 4.0 International |
samples/demo-application/src/main/kotlin/ch/keepcalm/demo/document/Document.kt | marzelwidmer | 324,008,541 | false | null | package ch.keepcalm.demo.document
import org.springframework.data.repository.CrudRepository
import org.springframework.stereotype.Repository
import org.springframework.stereotype.Service
import org.springframework.web.bind.annotation.GetMapping
import org.springframework.web.bind.annotation.PathVariable
import org.spr... | 5 | Kotlin | 0 | 0 | 0a0d8f0dfc688347303ff4e517f5e8ae3059c176 | 1,249 | kboot-jwt-spring-boot-starter | Apache License 2.0 |
src/jsMain/kotlin/sh/christian/website/sheet/App.kt | christiandeange | 15,754,740 | false | null | package sh.christian.website.sheet
import org.jetbrains.compose.web.css.Color
import org.jetbrains.compose.web.css.StyleSheet
import org.jetbrains.compose.web.css.color
import org.jetbrains.compose.web.css.fontFamily
import org.jetbrains.compose.web.css.height
import org.jetbrains.compose.web.css.margin
import org.jet... | 0 | Kotlin | 0 | 0 | 4820bfaa6355fdd64ed7da35a2eb835527184f55 | 1,061 | Website | The Unlicense |
NFTs SalesViewer App/NFTsalesviewer/app/src/main/java/com/example/NFTSalesViewer/MainActivity.kt | aadityamp01 | 275,898,636 | false | null | package com.example.NFTSalesViewer
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.view.Menu
import androidx.activity.viewModels
import androidx.appcompat.widget.SearchView
import androidx.recyclerview.widget.LinearLayoutManager
import com.example.NFTSalesViewer.adapter.MyAdapte... | 1 | null | 57 | 76 | d047d5b4c3321df85c6523c0725028986c898b14 | 2,058 | Androapps | MIT License |
cell/src/commonMain/kotlin/world/phantasmal/cell/list/AbstractListCell.kt | DaanVandenBosch | 189,066,992 | false | null | package world.phantasmal.cell.list
import world.phantasmal.core.disposable.Disposable
import world.phantasmal.core.unsafe.unsafeAssertNotNull
import world.phantasmal.cell.CallbackChangeObserver
import world.phantasmal.cell.ChangeObserver
import world.phantasmal.cell.AbstractCell
import world.phantasmal.cell.Cell
impor... | 2 | Kotlin | 5 | 20 | 62a49b067c50a4862198e18f96159826c2ed66af | 1,595 | phantasmal-world | MIT License |
node-kotlin/src/jsMain/kotlin/node/ReadWriteStream.kt | karakum-team | 393,199,102 | false | {"Kotlin": 7083457} | // Automatically generated - do not modify!
package node
external interface ReadWriteStream : ReadableStream, WritableStream
| 0 | Kotlin | 6 | 26 | 3ca49a8f44fc8b46e393ffe66fbd81f8b4943c18 | 127 | types-kotlin | Apache License 2.0 |
app/src/main/java/org/p2p/wallet/sdk/facade/mapper/KeyAppSdkResult.kt | p2p-org | 306,035,988 | false | {"Kotlin": 4545395, "HTML": 3064848, "Java": 296567, "Groovy": 1601, "Shell": 1252} | package org.p2p.wallet.sdk.facade.mapper
import com.google.gson.annotations.SerializedName
class SolendResult<SuccessType>(
@SerializedName("success")
val success: SuccessType? = null,
@SerializedName("error")
val error: String? = null
)
| 9 | Kotlin | 18 | 34 | d091e18b7d88c936b7c6c627f4fec96bcf4a0356 | 256 | key-app-android | MIT License |
src/main/kotlin/io/github/abdulroufsidhu/orgolink/core/config/security/SecurityUserService.kt | abdulroufsidhu | 812,751,533 | false | {"Kotlin": 94837} | package io.github.abdulroufsidhu.orgolink.core.config.security
import io.github.abdulroufsidhu.orgolink.core.config.caching.HibernateInitializer
import io.github.abdulroufsidhu.orgolink.core.user.User
import io.github.abdulroufsidhu.orgolink.core.user.UserDao
import org.slf4j.LoggerFactory
import org.springframework.c... | 2 | Kotlin | 1 | 3 | 7364301ff11e8ba1b13dc250058441d1cb363626 | 1,131 | orgolink_core | MIT License |
app/src/main/java/com/example/risqiikhsanicatndog/ui/screens/DogViewModel.kt | risqiikhsani | 734,988,929 | false | {"Kotlin": 45265} | /*
* Copyright (C) 2023 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 0 | Kotlin | 0 | 0 | 5639dbdbec96d8add5d65e32a39a2f7eec1f1f15 | 2,577 | CatNDog | Apache License 2.0 |
MoviesApp/src/commonMain/kotlin/com/kashif/common/presentation/components/CastCard.kt | Kashif-E | 605,930,590 | false | {"Kotlin": 182384, "Ruby": 4708, "Swift": 2734} | package com.kashif.common.presentation.components
import androidx.compose.animation.animateContentSize
import androidx.compose.foundation.border
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.fo... | 0 | Kotlin | 20 | 203 | e75e9ba9192ce087773a9fe01355d9ff575ddd11 | 2,075 | KMPMovies | MIT License |
foryouandme/src/main/java/com/foryouandme/core/arch/deps/ImageConfiguration.kt | 4youandme | 308,387,557 | false | null | package com.foryouandme.core.arch.deps
import androidx.annotation.DrawableRes
import com.foryouandme.R
interface ImageConfiguration {
/* --- common ---*/
@DrawableRes
fun splashLogo(): Int
@DrawableRes
fun pushSmallIcon(): Int
@DrawableRes
fun back(): Int
@DrawableRes
fun back... | 0 | Kotlin | 0 | 0 | 5a57ba15c408638a3cfea8084f609293a1defdc6 | 7,459 | 4YouandmeAndroid | MIT License |
src/main/kotlin/icu/windea/pls/script/inspections/advanced/MissingLocalisationInspection.kt | DragonKnightOfBreeze | 328,104,626 | false | null | package icu.windea.pls.script.inspections.advanced
import com.intellij.codeInspection.*
import com.intellij.psi.*
import com.intellij.ui.*
import com.intellij.ui.dsl.builder.*
import com.intellij.ui.dsl.gridLayout.*
import com.intellij.util.*
import com.intellij.util.xmlb.annotations.*
import icu.windea.pls.*
import i... | 1 | Kotlin | 1 | 7 | 037b9b4ba467ed49ea221b99efb0a26cd630bb67 | 7,805 | Paradox-Language-Support | MIT License |
amadeus-android/src/main/java/com/amadeus/android/shopping/activities/BySquare.kt | anthonyroux | 337,672,755 | true | {"Kotlin": 378950} | package com.amadeus.android.shopping.activities
import com.amadeus.android.BaseApi
import com.amadeus.android.domain.destination.apis.ActivitiesApi
import com.amadeus.android.tools.GeneratedCodeConverters
import com.squareup.moshi.Moshi
import kotlinx.coroutines.CoroutineDispatcher
import okhttp3.OkHttpClient
import r... | 0 | Kotlin | 0 | 0 | c689d4c852d4a29b9d963777ff2c4c43e08891ff | 1,067 | amadeus-android | MIT License |
shared/src/commonMain/kotlin/com/popalay/barnee/data/repository/DrinkPager.kt | Popalay | 349,051,151 | false | null | /*
* Copyright (c) 2023 Denys Nykyforov
*
* 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, pub... | 21 | Kotlin | 3 | 15 | 0d25ca9033065ff4c9b6f044550f7c02f96f97bd | 3,871 | Barnee | MIT License |
app/src/main/java/uk/co/victoriajanedavis/chatapp/data/services/ChatAppService.kt | sbearben | 158,967,910 | false | null | package uk.co.victoriajanedavis.chatapp.data.services
import java.util.Date
import io.reactivex.Completable
import io.reactivex.Single
import retrofit2.http.DELETE
import retrofit2.http.Field
import retrofit2.http.FormUrlEncoded
import retrofit2.http.GET
import retrofit2.http.POST
import retrofit2.http.Path
import re... | 0 | Kotlin | 10 | 16 | e6d7890effc84b1b5c47870c33a0b3d11edffe4b | 3,207 | ChatApp | Apache License 2.0 |
src/main/kotlin/coroutines/CorountinesMany.kt | raghunandankavi2010 | 352,541,625 | false | null | package coroutines
import kotlinx.coroutines.delay
import kotlinx.coroutines.launch
import kotlinx.coroutines.runBlocking
/**
* launch many coroutines
*/
fun main() = runBlocking {
val start = System.currentTimeMillis()
val jobs = List(10_000){
launch {
delay(1000) // delays for 1000 mil... | 0 | Kotlin | 0 | 0 | 5ed879441ae6b04828f55bea5379b42b2b84ed58 | 473 | KotlinLearning | Apache License 2.0 |
kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/FairshareSchedulingPolicy.kt | cloudshiftinc | 667,063,030 | false | null | @file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION")
package io.cloudshiftdev.awscdk.services.batch
import io.cloudshiftdev.awscdk.Duration
import io.cloudshiftdev.awscdk.Resource
import io.cloud... | 4 | null | 0 | 4 | ddf2bfd2275b50bb86a667c4298dd92f59d7e342 | 12,249 | kotlin-cdk-wrapper | Apache License 2.0 |
idea/testData/intentions/simplifyBooleanWithConstants/simpleWithMoreBinariesAndParentheses.kt | JakeWharton | 99,388,807 | false | null | fun foo(y: Boolean) {
false || false || y || y || <caret>false && (y && y || true)
} | 0 | null | 28 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 88 | kotlin | Apache License 2.0 |
src/test/kotlin/api/shutter.test.kt | rendenyoder | 188,921,891 | false | null | package api
import api.Group.HalfPressShutter
import org.junit.Test
/**
* Tests for shutter [Api] classes.
*/
class ShutterApiTest : ApiTest() {
/**
* [ActHalfPressShutter]
*/
@Test
fun actHalfPressShutter() = basicTest("actHalfPressShutter", HalfPressShutter)
/**
* [CancelHalfPressShutter]
*/
... | 0 | Kotlin | 0 | 0 | e27e380b736bd94f849315c6ffd5180afad84340 | 416 | Sony-Vue | MIT License |
stocks-remote/src/main/java/com/pyamsoft/tickertape/stocks/remote/yahoo/YahooCrumbProvider.kt | pyamsoft | 371,196,339 | false | null | /*
* Copyright 2023 pyamsoft
*
* 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 ... | 2 | Kotlin | 0 | 6 | b17602839d1a76068cdd5a4c9addb331e0bd8c34 | 812 | tickertape | Apache License 2.0 |
feature/onboarding/ui/core/src/main/kotlin/ru/maksonic/beresta/feature/onboarding/ui/core/OnboardingProgram.kt | maksonic | 580,058,579 | false | {"Kotlin": 1587340, "Assembly": 374} | package ru.maksonic.beresta.feature.onboarding.ui.core
import ru.maksonic.beresta.feature.onboarding.domain.OnboardingRepository
import ru.maksonic.beresta.feature.onboarding.domain.OnboardingVisibilityFeatureCase
import ru.maksonic.beresta.platform.elm.core.ElmProgram
/**
* @Author maksonic on 19.06.2023
*/
class ... | 0 | Kotlin | 0 | 0 | 863585ab17882e444060e5535401c728f9fc335d | 1,143 | Beresta | MIT License |
KartuPersediaan/app/src/main/java/com/example/renosyahputra/kartupersediaan/ui/lang/obj/logoutDialogLang/LogoutDialogLang.kt | renosyah | 132,226,859 | false | null | package com.example.renosyahputra.kartupersediaan.ui.lang.obj.logoutDialogLang
import java.io.Serializable
class LogoutDialogLang : Serializable {
lateinit var title : String
lateinit var message : String
lateinit var logout :String
lateinit var cancel : String
} | 0 | Kotlin | 0 | 0 | 76d6c57966c29bce2b423a888fb681be752e4b81 | 283 | KartuPersediaanApp | Apache License 2.0 |
solve-streams/src/commonMain/kotlin/it/unibo/tuprolog/solve/streams/SolverExtensions.kt | tuProlog | 230,784,338 | false | null | @file:JvmName("SolverExtensions")
package it.unibo.tuprolog.solve
import it.unibo.tuprolog.solve.channel.InputChannel
import it.unibo.tuprolog.solve.channel.OutputChannel
import it.unibo.tuprolog.solve.exception.PrologWarning
import it.unibo.tuprolog.solve.library.Libraries
import it.unibo.tuprolog.theory.Theory
impor... | 65 | null | 8 | 52 | ac01a7814c5fc9ce33fcd66f6f936a6c94fc9f17 | 3,334 | 2p-kt | Apache License 2.0 |
app/src/main/java/com/cs6018/canvasexample/utils.kt | YuanRuQian | 744,854,443 | false | {"Kotlin": 70967} | package com.example.androidproject
import android.content.Context
import android.graphics.Bitmap
import android.net.Uri
import android.os.Environment
import android.util.Log
import android.widget.Toast
import androidx.core.net.toUri
import java.io.ByteArrayOutputStream
import java.io.File
import java.io.FileOutputStre... | 0 | Kotlin | 0 | 0 | b895dfb4e016232450b8e8ca1145839fc3f854e3 | 3,046 | CS6018-Group-Project | MIT License |
transport/src/androidUnitTest/kotlin/transport/core/messagingclient/MCAuthTests.kt | MyPureCloud | 425,920,457 | false | {"Kotlin": 734621, "Swift": 130511, "Shell": 5872, "Ruby": 4636} | package com.genesys.cloud.messenger.transport.core.messagingclient
import assertk.assertThat
import assertk.assertions.isEqualTo
import com.genesys.cloud.messenger.transport.auth.NO_JWT
import com.genesys.cloud.messenger.transport.core.Empty
import com.genesys.cloud.messenger.transport.core.ErrorCode
import com.genesy... | 2 | Kotlin | 6 | 11 | 11ff6ff4e5cf2df2b5f80112fc6354d78f039876 | 17,106 | genesys-messenger-transport-mobile-sdk | MIT License |
wearApp/src/main/java/dev/johnoreilly/confetti/wear/preview/ConfettiPreviewThemes.kt | joreilly | 436,024,503 | false | {"Kotlin": 883238, "Swift": 31017, "HTML": 18948, "HCL": 8797, "CSS": 8489, "Ruby": 3629} | package dev.johnoreilly.confetti.wear.preview
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.tooling.preview.PreviewParameterProvider
import com.google.android.horologist.compose.tools.ThemeColors
import com.google.android.horologist.compose.tools.ThemeValues
import dev.johnoreilly.confetti.wear.... | 43 | Kotlin | 73 | 620 | e4cfbc1a8678c11bfa28b9e8ac9f059ec5600e0f | 1,285 | Confetti | Apache License 2.0 |
wearApp/src/main/java/dev/johnoreilly/confetti/wear/preview/ConfettiPreviewThemes.kt | joreilly | 436,024,503 | false | {"Kotlin": 883238, "Swift": 31017, "HTML": 18948, "HCL": 8797, "CSS": 8489, "Ruby": 3629} | package dev.johnoreilly.confetti.wear.preview
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.tooling.preview.PreviewParameterProvider
import com.google.android.horologist.compose.tools.ThemeColors
import com.google.android.horologist.compose.tools.ThemeValues
import dev.johnoreilly.confetti.wear.... | 43 | Kotlin | 73 | 620 | e4cfbc1a8678c11bfa28b9e8ac9f059ec5600e0f | 1,285 | Confetti | Apache License 2.0 |
sample/app/src/main/kotlin/be/vergauwen/simon/androidretaindata/core/data/RxDataRepository.kt | appfoundry | 63,696,926 | false | null | package be.vergauwen.simon.androidretaindata.core.data
import be.vergauwen.simon.androidretaindata.core.model.GithubRepo
import be.vergauwen.simon.androidretaindata.core.service.GithubAPI
import rx.Observable
import rx.observables.ConnectableObservable
import rx.schedulers.Schedulers
/**
* Created by <NAME>. github.... | 0 | Ruby | 35 | 74 | ba58c21f85699758150a819723b9ecb4c76f1da0 | 873 | fastlane-android-example | MIT License |
Baselibrary/src/main/java/com/kotlin/base/ui/activity/BaseMvpActivity.kt | heisexyyoumo | 145,665,152 | false | {"Gradle": 10, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 9, "Batchfile": 1, "Markdown": 1, "Proguard": 8, "Kotlin": 218, "XML": 116, "Java": 14} | package com.kotlin.base.ui.activity
import android.os.Bundle
import com.alibaba.android.arouter.launcher.ARouter
import com.kotlin.base.common.BaseApplication
import com.kotlin.base.injection.component.ActivityComponent
import com.kotlin.base.injection.component.DaggerActivityComponent
import com.kotlin.base.injection... | 0 | Kotlin | 1 | 2 | 27fea0090cea5fb636f8db5025379d274693b1b4 | 1,722 | KotlinMall | Apache License 2.0 |
app/src/main/java/org/mp/recipes/data/di/module/ActivityBindingModule.kt | mprasad2510 | 193,449,283 | false | null | package org.mp.recipes.data.di.module
import dagger.Module
import dagger.android.ContributesAndroidInjector
import org.mp.recipes.data.di.feature.home.HomeActivity
import org.mp.recipes.data.di.feature.home.detail.UserActivity
@Module
abstract class ActivityBindingModule {
@ContributesAndroidInjector(modules =... | 0 | Kotlin | 0 | 0 | 7e2ddb3ad50ae4308c50e187bcea96d2757c964a | 500 | Recipes | MIT License |
src/main/kotlin/dev/cbyrne/kdiscordipc/core/packet/pipeline/MessageToByteEncoder.kt | cbyrneee | 379,862,700 | false | null | @file:Suppress("UNCHECKED_CAST")
package dev.cbyrne.kdiscordipc.core.packet.pipeline
import dev.cbyrne.kdiscordipc.KDiscordIPC
import dev.cbyrne.kdiscordipc.core.packet.outbound.OutboundPacket
import dev.cbyrne.kdiscordipc.core.util.headerLength
import dev.cbyrne.kdiscordipc.core.util.json
import dev.cbyrne.kdiscordi... | 1 | Kotlin | 3 | 15 | 7a0df6966f1f65ea038f01c3ad3aff101c978f6f | 963 | KDiscordIPC | MIT License |
app/src/main/java/eu/kanade/tachiyomi/data/track/TrackerManager.kt | sushil-great | 409,817,876 | true | {"Kotlin": 4989853} | package eu.kanade.tachiyomi.data.track
import eu.kanade.tachiyomi.data.track.anilist.Anilist
import eu.kanade.tachiyomi.data.track.bangumi.Bangumi
import eu.kanade.tachiyomi.data.track.kavita.Kavita
import eu.kanade.tachiyomi.data.track.kitsu.Kitsu
import eu.kanade.tachiyomi.data.track.komga.Komga
import eu.kanade.tac... | 1 | Kotlin | 0 | 0 | 1202409b2580ed4b04b21260a1791ddc5c84585f | 1,389 | TachiyomiSY | Apache License 2.0 |
src/main/kotlin/me/mrkirby153/KirBot/command/executors/music/CommandMove.kt | nbanmp | 109,642,199 | true | {"Kotlin": 207082} | package me.mrkirby153.KirBot.command.executors.music
import me.mrkirby153.KirBot.command.CommandException
import me.mrkirby153.KirBot.command.args.CommandContext
import me.mrkirby153.KirBot.command.executors.CmdExecutor
import me.mrkirby153.KirBot.utils.Context
import me.mrkirby153.KirBot.utils.embed.link
class Comma... | 0 | Kotlin | 0 | 0 | d95e405564f8068a2396c90b6945944d5d1d221d | 1,468 | KirBot | MIT License |
plugins/kotlin/idea/src/org/jetbrains/kotlin/idea/refactoring/introduce/extractionEngine/ExtractionData.kt | JetBrains | 2,489,216 | false | null | // Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package org.jetbrains.kotlin.idea.refactoring.introduce.extractionEngine
import com.intellij.openapi.project.Project
import com.intellij.psi.PsiElement
import ... | 284 | null | 5162 | 16,707 | def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0 | 11,602 | intellij-community | Apache License 2.0 |
app/src/main/java/com/kickstarter/models/StoredCard.kt | kickstarter | 76,278,501 | false | null | package com.kickstarter.models
import android.os.Parcelable
import com.stripe.android.model.CardBrand
import kotlinx.parcelize.Parcelize
import type.CreditCardTypes
import java.util.Date
@Parcelize
class StoredCard private constructor(
private val id: String?,
private val expiration: Date?,
private val la... | 9 | null | 996 | 5,752 | a9187fb484c4d12137c7919a2a53339d67cab0cb | 3,269 | android-oss | Apache License 2.0 |
tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/edit/abstracts/EditLocationMessage.kt | leobia | 302,446,830 | true | {"Kotlin": 661169, "Shell": 373} | package dev.inmo.tgbotapi.requests.edit.abstracts
interface EditLocationMessage {
val latitude: Double
val longitude: Double
}
| 0 | Kotlin | 0 | 0 | 3b41dc1fbf9f3058d2d7986e561f96e411193db3 | 136 | TelegramBotAPI | Apache License 2.0 |
CodeLocatorPlugin/src/main/java/com/bytedance/tools/codelocator/panels/ViewTreePanel.kt | bytedance | 397,768,132 | false | null | package com.bytedance.tools.codelocator.panels
import com.bytedance.tools.codelocator.listener.OnGetViewListListener
import com.bytedance.tools.codelocator.listener.OnSelectViewListener
import com.bytedance.tools.codelocator.listener.OnShiftClickListener
import com.bytedance.tools.codelocator.listener.OnViewRightClick... | 9 | Java | 39 | 608 | 8676adfdfca48e2508c891554f573a1049e4db3a | 15,472 | CodeLocator | Apache License 2.0 |
app/src/main/java/com/flappy/wandroid/data/bean/Comment.kt | flappy8023 | 691,931,169 | false | {"Kotlin": 165254} | package com.flappy.wandroid.data.bean
/**
* @Author: luweiming
* @Description:
* @Date: Created in 13:31 2022/8/24
*/
data class Comment(
var anonymous: Int,
var appendForContent: Int,
var articleId: Long,
var canEdit: Boolean,
var content: String,
var contentMd: String,
var id:Long,
... | 0 | Kotlin | 0 | 1 | 394fa1361159ff9efa8505bcbe89e10726a5ec6f | 595 | compose-wanandroid | Apache License 2.0 |
app/src/main/java/com/chilangolabs/mdb/TransferActivity.kt | chilangolabs | 108,697,373 | false | {"Kotlin": 31119} | package com.chilangolabs.mdb
import android.os.Bundle
import android.support.v7.app.AppCompatActivity
import android.view.MenuItem
import kotlinx.android.synthetic.main.activity_transfer.*
import org.jetbrains.anko.startActivity
class TransferActivity : AppCompatActivity() {
override fun onCreate(savedInstanceSt... | 0 | Kotlin | 0 | 0 | 29f70a173e0ea1e34dbebd6dedf3b1cf8db46fc5 | 889 | BBVA-Hackathon2017 | MIT License |
app/src/main/java/org/wildaid/ofish/ui/profile/ProfileFragment.kt | WildAid | 268,621,410 | false | null | package org.wildaid.ofish.ui.profile
import android.app.Activity
import android.content.Intent
import android.net.Uri
import android.os.Bundle
import android.view.View
import androidx.fragment.app.Fragment
import androidx.fragment.app.activityViewModels
import androidx.fragment.app.viewModels
import androidx.lifecycle... | 9 | Kotlin | 26 | 21 | 06e067641a38c38f42882d4e4a4f50cb007de41d | 5,550 | o-fish-android | Apache License 2.0 |
app/src/main/java/avill/ladv/shellcompose/core/Extensions.kt | avill2022 | 624,930,679 | false | null | package avill.ladv.shellcompose.core
import android.app.Activity
import android.app.Application
import android.text.Editable
import android.text.TextWatcher
import android.widget.EditText
import android.widget.ImageView
import android.widget.Toast
import androidx.annotation.ColorRes
import androidx.core.content.Contex... | 0 | Kotlin | 0 | 0 | a9c6616d94df9bcee276452daf455d5d9ea1e916 | 1,609 | JetpackProjectShell | MIT License |
server-core/src/main/kotlin/com/lightningkite/lightningserver/db/ModelSerializationInfo.kt | lightningkite | 512,032,499 | false | {"Kotlin": 2189721, "TypeScript": 38628, "Ruby": 873, "JavaScript": 118} | package com.lightningkite.lightningserver.db
import com.lightningkite.lightningdb.HasId
import com.lightningkite.lightningserver.serialization.Serialization
import kotlinx.serialization.KSerializer
import kotlinx.serialization.serializer
inline fun <reified T : HasId<ID>, reified ID : Comparable<ID>> ModelSerializati... | 2 | Kotlin | 1 | 5 | 9b79393260565d327cff0be20f81338c239521b5 | 634 | lightning-server | MIT License |
src/main/kotlin/br/com/zup/edu/pix/exceptions/ClienteNaoEncontradoException.kt | victorsimiao | 397,702,881 | true | {"Kotlin": 80556} | package br.com.zup.edu.pix.exceptions
import java.lang.RuntimeException
class ClienteNaoEncontradoException(message:String?): RuntimeException(message) {
} | 0 | Kotlin | 0 | 0 | e9048ebf0ca5c3a360a7efe199452c9a6ee29c95 | 157 | orange-talents-06-template-pix-keymanager-grpc | Apache License 2.0 |
src/jvmTest/kotlin/kson/ProficienciesTest.kt | DrZoddiak | 462,390,338 | false | null | package kson
import kotlinx.coroutines.ExperimentalCoroutinesApi
import kotlinx.coroutines.test.runTest
import kson.models.Proficiencies
import kotlin.test.Test
@OptIn(ExperimentalCoroutinesApi::class)
class ProficienciesTest {
@Test
fun proficenciesGenerate() = runTest {
val query = api.query<Profici... | 0 | Kotlin | 0 | 0 | c7632fd8ed75238cdc5eecb399678ec10273231d | 3,402 | KsonMulti | MIT License |
common/src/commonMain/kotlin/me/aliyuolalekan/common/domain/model/Card.kt | timi10x | 573,901,058 | false | {"Kotlin": 135585, "JavaScript": 5495} | package me.aliyuolalekan.common.domain.model
import androidx.compose.ui.text.intl.Locale
import androidx.compose.ui.text.toUpperCase
import me.aliyuolalekan.common.Strings
import me.aliyuolalekan.common.ingame.data.CardImages
private const val PICK_TWO = 2
private const val PICK_THREE = 5
private const val GENERAL_MA... | 0 | Kotlin | 0 | 0 | 9054db1bc8c17909e15b94098652ed99805d1db8 | 3,371 | KotlinMultiplatformCardGame | MIT License |
app/src/main/java/quick/sms/quicksms/ui/AboutDevelopersActivity.kt | mahbubiftekhar | 130,412,702 | false | null | package quick.sms.quicksms.ui
import android.annotation.SuppressLint
import android.graphics.Color
import android.os.Bundle
import android.view.View
import com.google.android.gms.ads.AdRequest
import quick.sms.quicksms.R
import com.google.android.gms.ads.AdView
import com.google.android.gms.ads.MobileAds
import org.je... | 0 | null | 3 | 2 | 4b2f7ca0c15d340952260072a54306f133e2ba6f | 5,821 | quickSMS | MIT License |
app/src/main/java/com/hewking/advanced/app/ToastMsg.kt | hewking | 241,781,502 | false | null | package com.example.patchapp
class ToastMsg {
fun toastMsg():String {
return "快来修复我啊 受不了了"
}
} | 1 | Kotlin | 1 | 1 | 601f1d4bff531752a004eaca33631f1e8b9ec4c3 | 111 | PerformanceAdvaned | MIT License |
app/src/main/java/org/queiroz/themoviedb/movies/datasource/factory/PopularMoviesDataFactory.kt | queiroz | 237,280,338 | false | {"Kotlin": 67194} | package org.queiroz.themoviedb.movies.datasource.factory
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.paging.DataSource
import kotlinx.coroutines.CoroutineScope
import org.queiroz.themoviedb.model.TmdbMovies
import org.queiroz.themoviedb.movies.datasource.PopularMoviesDa... | 0 | Kotlin | 0 | 0 | 9e00020ee260523afe52f5721655caead2ec5b66 | 975 | themoviedb | Apache License 2.0 |
app/src/main/kotlin/io/github/bsfranca2/athena/controller/WorkspaceController.kt | bsfranca2 | 275,465,877 | false | null | package io.github.bsfranca2.athena.controller
import io.github.bsfranca2.athena.dto.workspace.RequestWorkspaceDto
import io.github.bsfranca2.athena.service.WorkspaceService
import org.springframework.http.HttpStatus
import org.springframework.web.bind.annotation.*
import javax.validation.Valid
@RestController
@Reques... | 11 | Kotlin | 0 | 0 | 8a048990c1a6ebf23a567490476fc7e41fdadc71 | 953 | Athena | MIT License |
feature_auth/src/main/kotlin/ru/razrabs/feature_auth/domain/AdditionalInfoSaver.kt | razrabs-media | 526,204,757 | false | null | package ru.razrabs.feature_auth.domain
interface AdditionalInfoSaver {
var additionalInfo: String?
} | 16 | Kotlin | 1 | 9 | b01de1209d348214b7f3fd50e8e453247c38ff92 | 105 | journal-android | MIT License |
plugins/ksp/src/org/jetbrains/kotlin/ksp/symbol/impl/binary/KSVariableParameterDescriptorImpl.kt | android | 263,405,600 | false | null | /*
* Copyright 2010-2020 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 org.jetbrains.kotlin.ksp.symbol.impl.binary
import org.jetbrains.kotlin.descriptors.ValueParameterDes... | 1 | null | 37 | 316 | 74126637a097f5e6b099a7b7a4263468ecfda144 | 2,022 | kotlin | Apache License 2.0 |
trixnity-client/src/commonMain/kotlin/net/folivo/trixnity/client/room/TimelineEventDecryptionFailed.kt | benkuly | 330,904,570 | false | {"Kotlin": 3995644, "JavaScript": 5163, "TypeScript": 2906, "CSS": 1454, "Dockerfile": 1243} | package net.folivo.trixnity.client.room
sealed interface TimelineEventDecryptionFailed {
object Timeout : TimelineEventDecryptionFailed, RuntimeException("timeout while decrypting TimelineEvent")
object AlgorithmNotSupported : TimelineEventDecryptionFailed,
RuntimeException("algorithm for decrypting Ti... | 0 | Kotlin | 3 | 27 | 7cf7cddfb19b9949e51102ef40ed259a64a3f0e6 | 349 | trixnity | Apache License 2.0 |
src/main/kotlin/dev/frozenmilk/sinister/targeting/FocusedSearch.kt | Dairy-Foundation | 750,060,089 | false | {"Kotlin": 21237} | package dev.frozenmilk.sinister.targeting
/**
* a [NarrowSearch] that also excludes Dairy libraries
*/
open class FocusedSearch : NarrowSearch() {
init {
exclude("dev.frozenmilk")
}
} | 0 | Kotlin | 0 | 0 | d72cc1a4a23332a91e23e2eab866147aa32de0df | 190 | Sinister | BSD 3-Clause Clear License |
app/src/main/java/com/example/newscast/utils/state/Resource.kt | gerin98 | 270,440,269 | false | null | package com.example.newscast.utils.state
/**
* Wrapper class for Network requests. Provides:
* @property status: The [Status] of the network request
* @property data: data received from network request
* @property message: error message if applicable
*/
data class Resource<out T>(val status: Status, val data: T?,... | 0 | Kotlin | 2 | 2 | 4b223f5670d66fda404e2f09727814315cfcef8b | 729 | NewsCast | MIT License |
src/test/kotlin/com/roscopeco/jasm/model/FloatMathTests.kt | roscopeco | 487,298,845 | false | null | package com.roscopeco.jasm.model
interface FloatMathTests {
fun testF2d(input: Float): Double
fun testF2i(input: Float): Int
fun testF2l(input: Float): Long
fun testFadd(d1: Float, d2: Float): Float
fun testFconst0(): Float
fun testFconst1(): Float
fun testFconst2(): Float
fun testFcmpg... | 3 | null | 13 | 426 | 1196bfc641a33eb8b701d4bd0c87dcd0ce1d0d47 | 600 | jasm | MIT License |
remix/src/commonMain/kotlin/com/woowla/compose/icon/collections/remix/remix/weather/FahrenheitLine.kt | walter-juan | 868,046,028 | false | {"Kotlin": 34345428} | package com.woowla.compose.icon.collections.remix.remix.weather
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.St... | 0 | Kotlin | 0 | 3 | eca6c73337093fbbfbb88546a88d4546482cfffc | 2,521 | compose-icon-collections | MIT License |
src/test/kotlin/glm_/ext/ext_matrixRelational.kt | kotlin-graphics | 71,653,021 | false | null | package glm_.ext
import glm_.mat4x4.Mat4
import glm_.shouldEqual
import glm_.vec4.Vec4
import io.kotest.matchers.shouldBe
import io.kotest.core.spec.style.StringSpec
class ext_matrixRelational : StringSpec() {
init {
// int test_equal()
// {
// int Error = 0;
//
// Error += gl... | 5 | Kotlin | 19 | 99 | dcbdd6237fbc5af02722b8ea1b404a93ce38a043 | 1,143 | glm | MIT License |
mvi-sample/src/main/java/com/gartesk/mosbyx/mvi/sample/view/shoppingcartlabel/ShoppingCartLabelPresenter.kt | gartesk | 233,407,512 | true | {"Kotlin": 362142} | /*
* Copyright 2020 MosbyX contributors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | 0 | Kotlin | 0 | 0 | 394a725bd2adec9949eac212345a46dd4bc17b8a | 1,556 | mosbyx | Apache License 2.0 |
app/src/main/java/com/tuann/mvvm/data/model/Image.kt | nirmal912 | 150,535,367 | true | {"Kotlin": 49413} | package com.tuann.mvvm.data.model
data class Image(val id: String = "", val smallImageUrl: String = "",
val downloadUrl: String = "", val authorName: String = "") | 0 | Kotlin | 0 | 0 | 27b1f4fd25735dcf9299a53ef112704d8dec9bec | 180 | android-mvvm-architecture | MIT License |
ktor-server/ktor-server-core/jvm/src/io/ktor/routing/RoutingApplicationCall.kt | LloydFinch | 166,520,021 | false | null | package io.ktor.routing
import io.ktor.application.*
import io.ktor.http.*
import io.ktor.request.*
import io.ktor.response.*
import io.ktor.util.*
/**
* Represents an application call being handled by [Routing]
* @property route is the selected route
*/
class RoutingApplicationCall(private val call: ApplicationCa... | 0 | null | 0 | 2 | 9b9fc6c3b853c929a806c65cf6bf7c104b4c07fc | 1,830 | ktor | Apache License 2.0 |
app/src/main/java/ru/sandello/binaryconverter/ui/explanation/components/NumberSystem.kt | jedi1150 | 153,152,563 | false | null | package ru.sandello.binaryconverter.ui.explanation.components
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.Surface
import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
import androidx.compose.ui.text.AnnotatedString
import androidx.compose.ui.text.build... | 1 | Kotlin | 3 | 8 | fa7a79a55be26af2f7360f6d1bc7682afa0294d4 | 1,415 | number-systems | MIT License |
walletconnectv2/src/test/kotlin/com/walletconnect/walletconnectv2/common/network/adapters/ExpiryAdapterTest.kt | WalletConnect | 435,951,419 | false | null | package com.walletconnect.walletconnectv2.common.network.adapters
import com.squareup.moshi.Moshi
import com.squareup.moshi.kotlin.reflect.KotlinJsonAdapterFactory
import com.walletconnect.walletconnectv2.core.adapters.ExpiryAdapter
import com.walletconnect.walletconnectv2.core.model.vo.ExpiryVO
import org.junit.jupit... | 28 | Kotlin | 4 | 22 | 7a85b5e726c6793df8b92ee4cb4a6f612f8749ae | 833 | WalletConnectKotlinV2 | Apache License 2.0 |
src/commonMain/kotlin/com/codellyrandom/hassle/values/MediaSource.kt | efirestone | 379,712,425 | false | {"Kotlin": 271909} | package com.codellyrandom.hassle.values
import kotlinx.serialization.KSerializer
import kotlinx.serialization.Serializable
import kotlinx.serialization.descriptors.PrimitiveKind
import kotlinx.serialization.descriptors.PrimitiveSerialDescriptor
import kotlinx.serialization.descriptors.SerialDescriptor
import kotlinx.s... | 0 | Kotlin | 0 | 2 | 7423f41c01fff8c16651e0d4ebceb9a805744166 | 1,023 | hassle | MIT License |
botalka/src/main/kotlin/ru/vityaman/lms/botalka/core/external/telegram/TelegramException.kt | vityaman-edu | 762,733,310 | false | {"Kotlin": 197396, "Shell": 3832, "Python": 1261, "Dockerfile": 66} | package ru.vityaman.lms.botalka.core.external.telegram
class TelegramException(message: String?, cause: Throwable?) :
Exception(message, cause)
| 35 | Kotlin | 0 | 3 | c977fd14789d1adc2b9f7375270807eb8b86bc8f | 149 | lms | Apache License 2.0 |
src/test/kotlin/tech/pronghorn/plugins/internalQueue/InternalQueuePluginTests.kt | toddbernhard | 103,768,298 | true | {"Kotlin": 50407} | /*
* Copyright 2017 Pronghorn Technology 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 ... | 0 | Kotlin | 0 | 0 | 966feea555b6087999501ad3e5a5b8d3d05deac2 | 1,466 | common | Apache License 2.0 |
kontroller/src/test/kotlin/no/ssb/kostra/validation/rule/barnevern/individrule/Undersokelse02cTest.kt | statisticsnorway | 414,216,275 | false | {"Kotlin": 1592942, "TypeScript": 57803, "Batchfile": 6608, "HTML": 694, "SCSS": 110} | package no.ssb.kostra.validation.rule.barnevern.individrule
import io.kotest.core.spec.style.BehaviorSpec
import no.ssb.kostra.validation.report.Severity
import no.ssb.kostra.validation.rule.ForAllRowItem
import no.ssb.kostra.validation.rule.KostraTestFactory.validationRuleWithArgsTest
import no.ssb.kostra.validation.... | 2 | Kotlin | 0 | 1 | 2a6fe24157e38a02cee0cb7189aaa732f532194a | 3,159 | kostra-kontrollprogram | MIT License |
TeamCode/src/main/java/org/firstinspires/ftc/teamcode/subassemblies/Winch.kt | ManchesterMachineMakers | 417,294,104 | false | {"Kotlin": 102070, "Java": 46534, "Shell": 5590, "Makefile": 1243} | package org.firstinspires.ftc.teamcode.subassemblies
import com.qualcomm.robotcore.eventloop.opmode.OpMode
import com.qualcomm.robotcore.hardware.DcMotor
import com.qualcomm.robotcore.hardware.DcMotorSimple
import org.firstinspires.ftc.teamcode.util.Subassembly
import org.firstinspires.ftc.teamcode.util.log
import org... | 10 | Kotlin | 1 | 1 | b54f1ef2cb933e3f98fc4e718b3c83bf29f4ae5a | 883 | RobotController | BSD 3-Clause Clear License |
src/commonTest/kotlin/com.adamratzman/spotify/utilities/UtilityTests.kt | adamint | 104,819,774 | false | {"Kotlin": 790142, "Shell": 443, "JavaScript": 154} | /* Spotify Web API, Kotlin Wrapper; MIT License, 2017-2022; Original author: Adam Ratzman */
@file:OptIn(ExperimentalCoroutinesApi::class)
package com.adamratzman.spotify.utilities
import com.adamratzman.spotify.GenericSpotifyApi
import com.adamratzman.spotify.SpotifyClientApi
import com.adamratzman.spotify.SpotifySc... | 6 | Kotlin | 21 | 178 | e047800a69dc80ac00380166076b7b80a3125440 | 4,984 | spotify-web-api-kotlin | MIT License |
listadapter/src/main/java/com/jintin/recyclerviewsample/MainActivity.kt | Jintin | 327,854,127 | false | null | package com.jintin.recyclerviewsample
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import androidx.lifecycle.lifecycleScope
import androidx.recyclerview.widget.LinearLayoutManager
import com.jintin.recyclerviewsample.databinding.ActivityMainBinding
import kotlinx.coroutines.delay
import kot... | 0 | Kotlin | 0 | 1 | 119b4d53e9e22acce6fc2f0444b7f3d9952700b8 | 1,414 | RecyclerViewSample | MIT License |
app/src/main/java/com/mac/swaps/presentation/components/CircularIndeterminateProgressBar.kt | mhmdabouchaker | 509,566,605 | false | null | package com.mac.swaps.presentation.components
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.material.CircularProgressIndicator
import androidx.compose.material.MaterialTheme
import androidx.compose.runtime.Composable
import androidx.compose.ui.ExperimentalComposeUiApi
import androidx.co... | 0 | Kotlin | 0 | 1 | a48fbb658601f3b3137efb2b147ee4f66a780488 | 1,040 | swaps | Apache License 2.0 |
app/src/main/java/rynkbit/tk/coffeelist/db/entity/DatabaseItem.kt | meik99 | 73,587,563 | false | null | package rynkbit.tk.coffeelist.db.entity
import androidx.room.Entity
import androidx.room.PrimaryKey
import rynkbit.tk.coffeelist.contract.entity.Item
@Entity(tableName = "item")
class DatabaseItem(
@PrimaryKey(autoGenerate = true)
override val id: Int,
override val name: String,
overri... | 0 | Kotlin | 1 | 1 | 1986140e6515581b4f9654de9a057685bbed002b | 401 | CoffeeList | MIT License |
lib/src/test/java/fi/epicbot/toster/parser/MemoryCellExt.kt | alexander-kulikovskii | 445,319,766 | false | null | package fi.epicbot.toster.parser
import fi.epicbot.toster.report.model.MemoryCell
import io.kotest.assertions.collectOrThrow
import io.kotest.assertions.eq.eq
import io.kotest.assertions.errorCollector
infix fun MemoryCell?.cellShouldBe(expected: MemoryCell?) {
eq(this!!.memory, expected!!.memory)?.let(errorColle... | 5 | Kotlin | 0 | 31 | 39ffdfcb17bcabe25493e14625831e02f5caa004 | 580 | toster | Apache License 2.0 |
src/main/kotlin/blue/starry/glados/plugins/MiriaTweetLimitManager.kt | SlashNephy | 364,312,300 | false | null | /*
* The MIT License (MIT)
*
* Copyright (c) 2017-2019 Nep
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use,... | 0 | Kotlin | 0 | 1 | 28eff678a1b410bfc299833aded67a95fcc89675 | 2,730 | MiriaYannaiyo-bot | MIT License |
mobile/src/main/java/com/sonnyrodriguez/fittrainer/fittrainerbasic/adapters/WorkoutViewHolder.kt | sonnytron | 98,830,747 | false | null | package com.sonnyrodriguez.fittrainer.fittrainerbasic.adapters
import android.support.v7.widget.RecyclerView
import android.view.ViewGroup
import android.widget.TextView
import com.sonnyrodriguez.fittrainer.fittrainerbasic.FitTrainerApplication
import com.sonnyrodriguez.fittrainer.fittrainerbasic.R
import com.sonnyrod... | 0 | Kotlin | 0 | 1 | def9c5e05a1c03efd3f815c4145b446f6a170692 | 985 | FitTrainerBasic | Apache License 2.0 |
app/src/main/java/ca/on/hojat/gamenews/core/extensions/Intent.kt | hojat72elect | 574,228,468 | false | null | @file:JvmName("IntentUtils")
@file:Suppress("UNCHECKED_CAST")
package ca.on.hojat.gamenews.core.extensions
import android.content.Context
import android.content.Intent
import androidx.activity.ComponentActivity
fun Intent.attachNewTaskFlagIfNeeded(context: Context) {
if (context !is ComponentActivity) {
... | 0 | Kotlin | 0 | 2 | 80ff667af63e00b09aac129bb1206f520452700a | 368 | GameHub | Apache License 2.0 |
src/vi/yurineko/src/eu/kanade/tachiyomi/extension/vi/yurineko/dto/MangaDto.kt | komikku-app | 720,497,299 | false | null | package eu.kanade.tachiyomi.extension.vi.yurineko.dto
import eu.kanade.tachiyomi.source.model.MangasPage
import eu.kanade.tachiyomi.source.model.SManga
import kotlinx.serialization.Serializable
import org.jsoup.Jsoup
import org.jsoup.select.Evaluator
import kotlin.math.ceil
@Serializable
data class MangaDto(
val ... | 9 | null | 99 | 97 | 7fc1d11ee314376fe0daa87755a7590a03bc11c0 | 2,615 | komikku-extensions | Apache License 2.0 |
fuzzer/fuzzing_output/crashing_tests/verified/primaryConstructor.kt1679288410.kt | ItsLastDay | 102,885,402 | false | null | class C@kotlin.jvm.JvmOverloads constructor(s1: String, s2: String = "K") {
public val status: String = s1 + s2
}
fun box(): (String)? {
val c = (C)?::class.C.getConstructor(String::class.java).newInstance("O")
return c.status
} | 2 | null | 1 | 6 | 56f50fc307709443bb0c53972d0c239e709ce8f2 | 231 | KotlinFuzzer | MIT License |
app/src/main/java/com/example/genreclassifier/soundrecorder/player/Recognition.kt | VVasanth | 288,093,768 | false | null | package com.example.healthymind.analysis
class Recognition {
private var id : String? = null
private var title : String? = null
private var confidence : Float
constructor(id: String, title: String, confidence: Float){
this.id = id
this.title = title
this.confidence = confid... | 0 | null | 1 | 7 | 6397350448690e1edace3fda868f76fc05f434e3 | 510 | Android---Music-Genre-Classifier | MIT License |
src/app.kt | anchoriteFili | 122,920,581 | false | null | import javafx.beans.property.ReadOnlyProperty
import jdk.management.resource.ResourceId
import kotlin.reflect.KProperty
class ResourceID() {
val image_id: String = "101"
val text_id: String = "102"
}
class ResourceLoader(id: ResourceID) {
val d: ResourceID = id
operator fun provideDelegate(thisRef: M... | 0 | Kotlin | 0 | 0 | 5ea7a4f18eb30434a6dc635ab03b0c047cc6cc5c | 1,451 | KotlinTest | MIT License |
logLib/src/main/java/com/worson/lib/log/printer/file/handler/DefaultLogHandler.kt | worson | 299,943,706 | false | null | package com.langogo.lib.log.printer.file.handler
import java.io.File
/**
* 说明:
* @author worson 07.17 2020
*/
class DefaultLogHandler(val fileDir:String):
LogFileHandler(fileDir) {
/**
* 处理日志数据
*/
override fun onLogHandle( logfile:File, isFlush:Boolean,flushType:Int){
if (!logfile.... | 1 | Kotlin | 0 | 0 | b7ec98bfa166c027aba12ad8076f8feb6083d858 | 582 | AwesomeLog | Apache License 2.0 |
projects/custody-key-dates-and-delius/src/dev/kotlin/uk/gov/justice/digital/hmpps/data/generator/SentenceGenerator.kt | ministryofjustice | 500,855,647 | false | {"Kotlin": 4381242, "HTML": 72513, "D2": 44286, "Ruby": 26979, "Shell": 23475, "SCSS": 6630, "HCL": 2712, "Dockerfile": 2431, "JavaScript": 1428, "Python": 268} | package uk.gov.justice.digital.hmpps.data.generator
import uk.gov.justice.digital.hmpps.integrations.delius.custody.date.*
import uk.gov.justice.digital.hmpps.integrations.delius.custody.date.reference.ReferenceData
import uk.gov.justice.digital.hmpps.integrations.delius.person.Person
import java.time.LocalDate
objec... | 2 | Kotlin | 0 | 2 | 5f99d532965fa886def1907b5e20fce6ac83ce43 | 1,516 | hmpps-probation-integration-services | MIT License |
compiler/fir/tree/src/org/jetbrains/kotlin/fir/expressions/impl/FirThisReceiverExpressionImpl.kt | walltz556 | 212,946,144 | true | {"Kotlin": 39975052, "Java": 7599429, "JavaScript": 160572, "HTML": 75060, "Lex": 23159, "TypeScript": 21255, "IDL": 11582, "ANTLR": 9803, "CSS": 8084, "Shell": 7727, "Groovy": 6940, "Batchfile": 5362, "Swift": 2253, "Ruby": 668, "Objective-C": 293, "Scala": 80} | /*
* Copyright 2010-2019 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 org.jetbrains.kotlin.fir.expressions.impl
import com.intellij.psi.PsiElement
import org.jetbrains.kot... | 0 | null | 0 | 1 | f17e9ba9febdabcf7a5e0f17e4be02e0f9e87f13 | 1,300 | kotlin | Apache License 2.0 |
helper/src/main/java/digital/klik/helper/firebase/FirebaseAnalyticsHelper.kt | dikawardani24 | 301,948,418 | false | null | package digital.klik.helper.firebase
import android.content.Context
import android.os.Bundle
import com.google.firebase.analytics.FirebaseAnalytics
@Suppress("unused")
object FirebaseAnalyticsHelper {
private fun getInstance(context: Context, additionalOption: FirebaseAnalytics.() -> Unit = {}): FirebaseAnalytic... | 0 | Kotlin | 0 | 0 | 0c2f848d649afd18faba125c669d89a50ccb1fe9 | 754 | android-helper | MIT License |
stdlib/src/main/kotlin/paperkuts/time/time.kt | andriesfc | 410,480,609 | false | {"Kotlin": 53480} | package paperkuts.time
import java.time.ZoneId
import java.time.ZoneOffset
| 0 | Kotlin | 0 | 0 | a98ef0b88f51c5013e07872c076abb70361c12ea | 77 | paperkuts | Apache License 2.0 |
lib/src/main/java/com/orange/ods/utilities/extension/ColorExt.kt | Orange-OpenSource | 440,548,737 | false | null | /*
*
* Copyright 2021 Orange
*
* Use of this source code is governed by an MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT.
* /
*/
package com.orange.ods.utilities.extension
import androidx.compose.material.ContentAlpha
import androidx.compose.runtime.... | 86 | Kotlin | 5 | 8 | aa833d08ab765c705d3f2915c0ad2655465b3b66 | 482 | ods-android | MIT License |
navigation/navigation-common-ktx/src/test/java/androidx/navigation/FoldableNavigatorProviderTest.kt | microsoft | 262,129,243 | false | null | /*
* Copyright 2018 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... | 4 | null | 16 | 63 | 059a23684baff99de1293d1f54119b611a5765a3 | 1,567 | surface-duo-sdk | MIT License |
app/src/main/java/com/borabor/movieapp/presentation/ui/tvlists/TvListsFragment.kt | bbor98 | 510,432,451 | false | null | package com.borabor.movieapp.presentation.ui.tvlists
import android.os.Bundle
import android.view.MotionEvent
import android.view.View
import android.widget.AdapterView
import androidx.fragment.app.activityViewModels
import com.borabor.movieapp.R
import com.borabor.movieapp.databinding.FragmentTvListsBinding
import co... | 0 | Kotlin | 4 | 13 | de441499804ec9b4f300f1c12216e1be748c31f1 | 4,215 | movieapp-mvvm-clean-architecture | MIT License |
features/finances/impl/src/main/kotlin/br/com/mob1st/features/finances/impl/data/repositories/RecurrenceBuilderRepositoryImpl.kt | mob1st | 526,655,668 | false | {"Kotlin": 659501, "Shell": 1558} | package br.com.mob1st.features.finances.impl.data.repositories
import br.com.mob1st.core.data.UnitaryDataSource
import br.com.mob1st.core.kotlinx.coroutines.IoCoroutineDispatcher
import br.com.mob1st.features.finances.impl.data.morphisms.RecurrenceBuilderCache
import br.com.mob1st.features.finances.impl.data.morphisms... | 11 | Kotlin | 0 | 3 | 89e55a76a6d368c9f3e8f6a0b7ed4d158665f424 | 1,641 | bet-app-android | Apache License 2.0 |
src/main/kotlin/io/babydevelopers/babybot/application/gateway/GithubGateway.kt | babiesdev | 544,065,515 | false | null | package io.babydevelopers.babybot.application.gateway
import io.babydevelopers.babybot.domain.Commit
import io.babydevelopers.babybot.domain.GithubRepository
import io.babydevelopers.babybot.domain.GithubUser
import io.babydevelopers.babybot.domain.GithubUserRepository
import org.springframework.beans.factory.annotati... | 5 | Kotlin | 1 | 3 | dfd8e3831b0763664328fb1dd89435bb22e39d85 | 2,042 | baby-bot | MIT License |
src/jvmMain/kotlin/prime/combinator/pasers/implementations/Spaces.kt | fantaevroman | 424,217,396 | false | {"Kotlin": 45875} | package prime.combinator.pasers.implementations
import prime.combinator.pasers.Parsed
import prime.combinator.pasers.ParsedResult
import kotlin.Long
/**
* Spaces allows parsing several space at one time
* Example:
* aim: we want to parse string spaces in the beginning of sting " Name is ..."
* how to reach: ... | 0 | Kotlin | 0 | 2 | ec779fdc7621499c1485a3a6efa35a6603c5b8d4 | 993 | primeCombinator | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.