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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
core/src/main/java/com/gigigo/orchextra/core/CrmManager.kt | Orchextra | 44,963,670 | false | null | /*
* Created by Orchextra
*
* Copyright (C) 2017 Gigigo Mobile Services SL
*
* 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... | 4 | Kotlin | 8 | 18 | e17c0d362800a903845454f2d01179fec22765ab | 5,206 | orchextra-android-sdk | Apache License 2.0 |
lib/src/main/kotlin/jp/programminglife/libpljp/android/experimental/TreeTraverser.kt | pljp | 10,095,390 | false | null | package jp.programminglife.libpljp.android.experimental
import jp.programminglife.libpljp.android.TreeTraverser
@Deprecated("パッケージ変更")
class TreeTraverser<T>(children: (T) -> Iterable<T>) {
private val treeTraverser = TreeTraverser(children)
fun preOrderTraversal(root: T) = treeTraverser.preOrderTraversal(ro... | 1 | null | 1 | 1 | 70036a683b789ab28b52d5abc83c9eb4943eda16 | 403 | libpljp-android | MIT License |
Corona-Warn-App/src/main/java/de/rki/coronawarnapp/submission/ui/homecards/PcrTestErrorCard.kt | corona-warn-app | 268,027,139 | false | null | package de.rki.coronawarnapp.submission.ui.homecards
import android.view.ViewGroup
import de.rki.coronawarnapp.R
import de.rki.coronawarnapp.coronatest.type.pcr.SubmissionStatePCR
import de.rki.coronawarnapp.databinding.HomeSubmissionPcrStatusCardErrorBinding
import de.rki.coronawarnapp.submission.ui.homecards.PcrTest... | 6 | null | 514 | 2,495 | d3833a212bd4c84e38a1fad23b282836d70ab8d5 | 1,369 | cwa-app-android | Apache License 2.0 |
compiler/fir/providers/src/org/jetbrains/kotlin/fir/resolve/TypeExpansionUtils.kt | JetBrains | 3,432,266 | false | null | /*
* Copyright 2010-2021 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.resolve
import org.jetbrains.kotlin.fir.FirSession
import org.jetbrains.kotl... | 182 | null | 5646 | 48,182 | bc1ddd8205f6107c7aec87a9fb3bd7713e68902d | 8,446 | kotlin | Apache License 2.0 |
room/room-compiler/src/main/kotlin/androidx/room/solver/binderprovider/RxLambdaQueryResultBinderProvider.kt | androidx | 256,589,781 | false | null | /*
* Copyright (C) 2017 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 app... | 30 | null | 950 | 5,321 | 98b929d303f34d569e9fd8a529f022d398d1024b | 2,995 | androidx | Apache License 2.0 |
app/src/main/java/com/guoyi/listeninglove/data/PlayQueueLoader.kt | GuoyiZhang | 242,757,044 | false | null | package com.guoyi.listeninglove.data
import com.guoyi.listeninglove.common.Constants
import com.guoyi.listeninglove.data.db.DaoLitepal
import com.guoyi.listeninglove.bean.Music
import org.jetbrains.anko.doAsync
/**
* 作者:yonglong on 2016/11/4 22:30
*/
object PlayQueueLoader {
private val TAG = "PlayQueueLoader... | 1 | null | 1 | 5 | 6d9442bad15910fe6d813bdf556fe1562d950947 | 933 | 077-Android-ListeningLove | Apache License 2.0 |
app/src/main/java/cn/closeli/rtc/utils/LoadingDialog.kt | huizhongyu | 240,832,731 | false | {"Java": 1388311, "Kotlin": 15233} | package cn.closeli.rtc.utils
import android.content.Context
import android.support.v7.app.AppCompatDialog
import android.view.Window
/**
* 加载框
*/
class LoadingDialog(context: Context) : AppCompatDialog(context) {
init {
supportRequestWindowFeature(Window.FEATURE_NO_TITLE)
}
} | 0 | Java | 1 | 1 | ccf3a8b6788ec6577c42740ba491785c526e373e | 298 | SudiVCAndroidClient | Apache License 2.0 |
cloudsdk/src/main/java/io/particle/android/sdk/cloud/models/ParticleSim.kt | particle-iot | 34,549,566 | false | null | package io.particle.android.sdk.cloud.models
import com.google.gson.Gson
import com.google.gson.TypeAdapter
import com.google.gson.annotations.JsonAdapter
import com.google.gson.annotations.SerializedName
import com.google.gson.stream.JsonReader
import com.google.gson.stream.JsonWriter
import io.particle.android.sdk.u... | 32 | null | 39 | 38 | 996d4dcbf085e6e13c438eaa4ebee546a5659ef0 | 3,179 | particle-android | Apache License 2.0 |
app/src/main/java/dev/zezula/books/data/source/network/AuthService.kt | zezulaon | 589,699,261 | false | {"Kotlin": 451799} | package dev.zezula.books.data.source.network
interface AuthService {
fun getUserId(): String?
fun isAccountAnonymous(): Boolean
fun isUserSignedIn(): Boolean
suspend fun googleSignIn(googleIdToken: String): Boolean
suspend fun signInAnonymously(): Boolean
suspend fun emailSignIn(email: St... | 5 | Kotlin | 0 | 6 | 4f597a94ea9036a0020befe3cd9c254b2f1d1dfa | 639 | my-library | Apache License 2.0 |
api/src/main/kotlin/org/jetbrains/kotlinx/dl/api/core/layer/pooling/AvgPool3D.kt | JetBrains | 249,948,572 | false | null | /*
* Copyright 2020 JetBrains s.r.o. and Kotlin Deep Learning project contributors. All Rights Reserved.
* Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE.txt file.
*/
package org.jetbrains.kotlinx.dl.api.core.layer.pooling
import org.jetbrains.kotlinx.dl.api.core.KGraph... | 70 | null | 79 | 806 | efaa1ebdf7bf9a131826d3ded42e1eb178e4fd19 | 3,515 | KotlinDL | Apache License 2.0 |
hora-de-codar-3/src/main/kotlin/questao_1.kt | MalcolnLMR | 842,737,402 | false | {"Kotlin": 80551} | /*
* * Escreva um algoritmo para ler 2 valores informados pelo usuário e se o segundo
* valor informado for igual ou menor que ZERO, deve ser lido um novo valor.
* Ou seja, para o segundo valor não pode ser aceito o valor zero, nem um valor negativo.
* O seu programa deve imprimir o resultado da divisão do primeiro va... | 0 | Kotlin | 0 | 1 | f8d065f28685038161e26e6635f80e834d11b03e | 830 | PROA-Kotlin | MIT License |
src/test/kotlin/dev/retrotv/crypto/twe/lea/LEAGCMTest.kt | retrotv-maven-repo | 602,880,791 | false | {"Kotlin": 178543, "Java": 99838} | package dev.retrotv.crypto.twe.lea
import org.junit.jupiter.api.Assertions
import org.junit.jupiter.api.DisplayName
import org.junit.jupiter.api.Test
internal class LEAGCMTest {
@Test
@DisplayName("LEAGCM-128 암복호화 테스트")
@Throws(Exception::class)
fun leagcm128_test() {
val message = "The lazy d... | 0 | Kotlin | 0 | 0 | a50ccb52a9aac202d7e736d3e72f515baac4d793 | 1,636 | cryptography | MIT License |
app/src/main/java/app/tivi/extensions/AnimatorSetExtensions.kt | smtcrms | 196,380,817 | false | {"Gradle": 13, "YAML": 6, "Shell": 5, "Java Properties": 1, "Markdown": 5, "Text": 3, "Ignore List": 2, "Batchfile": 1, "Kotlin": 368, "JSON": 31, "XML": 137, "INI": 1, "Proguard": 1, "Java": 6, "Gradle Kotlin DSL": 1, "Dockerfile": 2} | /*
* Copyright 2018 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 i... | 0 | Kotlin | 0 | 1 | 40dea42e7a819ccba3ab8e35bc0d0db2b8437305 | 1,123 | tivi | Apache License 2.0 |
app/src/main/java/cz/inventi/inventiskeleton/presentation/post/detail/PostDetailComponent.kt | InventiDevelopment | 89,702,956 | false | null | package cz.inventi.inventiskeleton.presentation.post.detail
import cz.inventi.inventiskeleton.di.ScreenModule
import cz.inventi.inventiskeleton.di.ScreenScope
import dagger.Subcomponent
import dagger.android.AndroidInjector
/**
* Created by ecnill on 6/7/2017.
*/
@ScreenScope @Subcomponent(modules = arrayOf(Screen... | 5 | Kotlin | 3 | 4 | faee881565eeffe5a25b0501909692acba83ed52 | 783 | AndroidSkeleton | Apache License 2.0 |
src/main/kotlin/validations/UppercaseValidation.kt | davidisla | 523,437,654 | false | null | package validations
class UppercaseValidation : Validation {
override fun invoke(pattern: String): Boolean =
pattern.count { it.isUpperCase() } == 0
} | 0 | Kotlin | 0 | 0 | 8b89d1e5b41784b089278e1f0d5133a9d74bd2d1 | 163 | kataPasswordValidation | Apache License 2.0 |
privacy-config/privacy-config-api/src/main/java/com/duckduckgo/privacy/config/api/PrivacyFeatureName.kt | jack2022-24 | 455,591,411 | true | {"Kotlin": 5596428, "HTML": 42259, "Java": 35261, "Ruby": 7654, "JavaScript": 7544, "C++": 1820, "CMake": 1298, "Shell": 784} | /*
* Copyright (c) 2021 DuckDuckGo
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | 0 | Kotlin | 0 | 0 | 818328029c72e0293a6b5bb3b3692e62cb758722 | 1,382 | Android | Apache License 2.0 |
mobile/src/main/java/com/aptopayments/mobile/repository/cardapplication/remote/entities/workflowaction/WorkflowActionEntity.kt | ShiftFinancial | 130,093,227 | false | {"Markdown": 2, "Gradle": 5, "Text": 1, "Ignore List": 1, "Kotlin": 492, "JSON": 41, "XML": 2, "YAML": 1} | package com.aptopayments.mobile.repository.cardapplication.remote.entities.workflowaction
import com.aptopayments.mobile.data.workflowaction.*
import com.aptopayments.mobile.repository.LiteralsRepository
import com.google.gson.annotations.SerializedName
import java.util.Locale
internal data class WorkflowActionEntity... | 0 | Kotlin | 0 | 5 | f79b3c532ae2dfec8e571b315401ef03d8e507f9 | 2,678 | shift-sdk-android | MIT License |
app/src/main/java/com/verse/app/verseapp/commons/InputMinMaxFilter.kt | RoberMiranda92 | 165,275,184 | false | null | package com.verse.app.verseapp.commons
import android.text.InputFilter
import android.text.Spanned
class InputMinMaxFilter(private var min: Double, private var max: Double) : InputFilter {
override fun filter(
source: CharSequence,
start: Int,
end: Int,
dest: Spanned,
dst... | 0 | Kotlin | 0 | 0 | 3f481eec4de5066a6f709570a8436742d99898a7 | 741 | MarvelAndContacts | Apache License 2.0 |
Section3/Video3.1/FragmentCallBackEvent/app/src/main/java/configurationchanges/packt/com/fragmentcallbackevent/BlankFragment.kt | Anugrahpackt | 178,142,463 | true | {"Text": 190, "Markdown": 1, "Gradle": 105, "Java Properties": 168, "Shell": 35, "Batchfile": 35, "XML": 4580, "Proguard": 35, "Kotlin": 149, "Java": 969, "JSON": 3544, "Motorola 68K Assembly": 12, "SQL": 28, "INI": 66, "AIDL": 1} | package configurationchanges.packt.com.fragmentcallbackevent
import android.content.Context
import android.net.Uri
import android.os.Bundle
import android.support.v4.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.Button
// TODO: Rename par... | 0 | Java | 0 | 0 | 9eeea6097983b13e411afa21dcec6460c7d7ee70 | 2,298 | Hands-on-Android-Application-Components-Services-and-Fragments | MIT License |
core/src/main/kotlin/io/github/shaksternano/borgar/core/graphics/drawable/TextDrawable.kt | shaksternano | 482,092,089 | false | {"Kotlin": 577124} | package io.github.shaksternano.borgar.core.graphics.drawable
import java.awt.Graphics2D
import kotlin.time.Duration
class TextDrawable(
private val text: String,
) : Drawable {
override suspend fun draw(graphics: Graphics2D, x: Int, y: Int, timestamp: Duration) =
graphics.drawString(text, x, y + grap... | 2 | Kotlin | 3 | 9 | 347c7c33a2940fd9c53858e8f7e2a65b00c281d1 | 696 | borgar | MIT License |
app/src/main/java/com/oguzdogdu/wallieshd/presentation/search/SearchEvent.kt | oguzsout | 616,912,430 | false | null | package com.oguzdogdu.wallieshd.presentation.search
sealed class SearchEvent {
data class EnteredSearchQuery(val query: String?, val language: String?) : SearchEvent()
data object GetAppLanguageValue : SearchEvent()
}
| 0 | null | 4 | 8 | e6f899f32c4e914fc9e585c28f7d54bfd05398fd | 227 | Wallies | MIT License |
kotlin/src/com/s13g/aoc/aoc2022/Day10.kt | shaeberling | 50,704,971 | false | null | package com.s13g.aoc.aoc2022
import com.s13g.aoc.Result
import com.s13g.aoc.Solver
import kotlin.math.abs
import kotlin.math.floor
/**
* --- Day 10: Cathode-Ray Tube ---
* https://adventofcode.com/2022/day/10
*/
class Day10 : Solver {
private var regX = 1
private var cycle = 0
private val cycleVals = mutable... | 1 | null | 1 | 3 | b1ab0973f2fb44c37b4a5125802f605e252f72ee | 1,089 | euler | Apache License 2.0 |
TreeProtectorMobile/shared/src/commonMain/kotlin/com/tzeench/treeprotectormobile/presenters/RegistryPresenter.kt | Tzeentch-Hack | 748,616,866 | false | {"Kotlin": 54122, "Python": 18622, "Swift": 342} | package com.tzeench.treeprotectormobile.presenters
import com.tzeench.treeprotectormobile.repository.RegistryRepository
import com.tzeench.treeprotectormobile.utils.RegistryUiState
import com.tzeench.treeprotectormobile.utils.isLoading
import com.tzeench.treeprotectormobile.utils.onFailure
import com.tzeench.treeprote... | 0 | Kotlin | 0 | 0 | cb8777943d37fb2ce46f9adbe78f62a2aa3096b0 | 1,698 | Tree-Protector | MIT License |
src/backend/nuget/biz-nuget/src/main/kotlin/com/tencent/bkrepo/nuget/common/UrlConvert.kt | TencentBlueKing | 548,243,758 | false | {"Kotlin": 13657594, "Vue": 1261332, "JavaScript": 683823, "Shell": 124343, "Lua": 100415, "SCSS": 34137, "Python": 25877, "CSS": 17382, "HTML": 13052, "Dockerfile": 4483, "Smarty": 3661, "Java": 423} | package com.tencent.bkrepo.nuget.common
@FunctionalInterface
interface UrlConvert {
fun convert(v2BaseUrl: String, v3BaseUrl: String): String
}
| 363 | Kotlin | 38 | 70 | 54b0c7ab20ddbd988387bac6c9143b594681e73c | 149 | bk-repo | MIT License |
processor/src/test/kotlin/com/ryanharter/kups/processor/ParcelablesKtSpec.kt | rharter | 92,309,635 | false | null | package com.ryanharter.kups.processor
import com.google.common.truth.Truth.assertThat
import com.squareup.kotlinpoet.ClassName
import com.squareup.kotlinpoet.ParameterSpec
import com.squareup.kotlinpoet.PropertySpec
import org.jetbrains.spek.api.Spek
import org.jetbrains.spek.api.dsl.describe
import org.jetbrains.spek... | 0 | Kotlin | 1 | 4 | 683ec87a0f7828fdf700d15154743603418d9188 | 4,560 | kups | Apache License 2.0 |
delegapter/src/main/kotlin/net/aquadc/delegapter/collections.kt | Miha-x64 | 486,312,447 | false | {"Kotlin": 75255, "Java": 26354} | package net.aquadc.delegapter
import java.util.Arrays
@Suppress("UNCHECKED_CAST")
internal class RepeatList<T> : AbstractList<T>() {
private var _size = 0 // getterless access
private var element: T? = null
override val size: Int = _size
override fun get(index: Int): T =
if (index in 0 unti... | 0 | Kotlin | 0 | 14 | ff54f567acacdc2d6293f6ec4790309d7fb2b595 | 1,310 | Delegapter | Apache License 2.0 |
src/main/kotlin/org/wagham/db/pipelines/sessions/PlayerMasteredSessions.kt | kaironbot | 540,862,397 | false | {"Kotlin": 193824} | package org.wagham.db.pipelines.sessions
import com.fasterxml.jackson.annotation.JsonProperty
import com.mongodb.client.model.UnwindOptions
import org.bson.codecs.pojo.annotations.BsonId
import org.bson.conversions.Bson
import org.bson.types.ObjectId
import org.litote.kmongo.*
import org.wagham.db.models.Character
imp... | 1 | Kotlin | 0 | 0 | dd9bb0ed4ab2059675a10e0149a2a17fb2c95d3d | 1,461 | kabot-db-connector | MIT License |
library/src/main/java/com/svga/glide/bitmap/SVGAGlideBitmapFileDecoderDelegate.kt | zzechao | 712,350,242 | false | {"Kotlin": 343054, "Java": 162652} | package com.svga.glide.bitmap
import android.graphics.Bitmap
import android.graphics.BitmapFactory
import com.bumptech.glide.load.ImageHeaderParser
import com.bumptech.glide.load.ImageHeaderParserUtils
import com.bumptech.glide.load.resource.bitmap.RecyclableBufferedInputStream
import com.svga.glide.SVGAGlideEx
import... | 0 | Kotlin | 0 | 4 | 6688dcf6abd8429bde325473c6fb8cc7c0873d36 | 1,006 | SVGA_Glide_RecyclerView | Apache License 2.0 |
app/src/main/java/com/tekfoodsbreezefield/features/photoReg/adapter/PhotoAttendanceListner.kt | DebashisINT | 470,052,833 | false | {"Kotlin": 15885078, "Java": 1027228} | package com.tekfoodsbreezefield.features.photoReg.adapter
import com.tekfoodsbreezefield.features.photoReg.model.UserListResponseModel
interface PhotoAttendanceListner {
fun getUserInfoOnLick(obj: UserListResponseModel)
fun getUserInfoAttendReportOnLick(obj: UserListResponseModel)
} | 0 | Kotlin | 0 | 0 | 32b7ec7a9e81b8452bc5e79b30e5febf7dc3a91b | 293 | TEKFOODS | Apache License 2.0 |
src/main/kotlin/com/freewill/domain/guestbook/repository/GuestbookRepository.kt | free-wiII | 685,840,987 | false | {"Kotlin": 52511} | package com.freewill.domain.guestbook.repository
import com.freewill.domain.guestbook.entity.Guestbook
import org.springframework.data.jpa.repository.JpaRepository
import org.springframework.stereotype.Repository
@Repository
interface GuestbookRepository : JpaRepository<Guestbook, Long>
| 1 | Kotlin | 0 | 2 | 369fdb084428c01ee5eced4f782e22845aff5fdf | 290 | synergy-be | MIT License |
src/main/kotlin/io/github/grassmc/mcdev/gradle/platform/pluginmeta/PermissionsConfigurable.kt | GrassMC | 603,643,726 | false | null | /*
* Copyright 2023 GrassMC
*
* 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 w... | 2 | Kotlin | 0 | 1 | 95e868f009f3dc40ffa499048f90534461478cb3 | 1,642 | mcdev-gradle-plugin | Apache License 2.0 |
app/src/main/java/com/skelterlabs/client/AwareService.kt | SkelterLabsInc | 365,889,870 | false | null | package com.skelterlabs.client
import retrofit2.Call
import retrofit2.http.Body
import retrofit2.http.Headers
import retrofit2.http.POST
import retrofit2.http.Query
interface AwareService {
@JvmSuppressWildcards
@Headers("accept: application/json", "content-type: application/json")
@POST("signals")
fun postEv... | 0 | Kotlin | 0 | 1 | cf4a80f69b2365f13b475232bd5434de7a2d8aaa | 422 | aware-android-sdk | Apache License 2.0 |
app/src/main/kotlin/pro/stuermer/dailyexpenses/data/persistence/ExpensesDatabase.kt | thebino | 590,016,472 | false | null | package pro.stuermer.dailyexpenses.data.persistence
import androidx.room.AutoMigration
import androidx.room.Database
import androidx.room.RoomDatabase
import androidx.room.TypeConverters
import pro.stuermer.dailyexpenses.data.persistence.model.Expense
@Database(
entities = [Expense::class],
version = 2,
e... | 0 | Kotlin | 0 | 0 | 7974b772596a7027b218040e7e05495aa53959c6 | 693 | DailyExpenses | Apache License 2.0 |
snapshot/src/test/java/com/schibsted/snapshot/WarpSpinnerTest.kt | warp-ds | 676,900,954 | false | {"Kotlin": 410161} | package com.schibsted.snapshot
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.compose.ui.Modifie... | 2 | Kotlin | 1 | 2 | fb676c4fd22d62f9823940c6fedafc9dabf502e5 | 2,539 | warp-android | Apache License 2.0 |
app/src/main/java/com/example/rssanimereader/domain/use_case/GetChannelsFromDBUseCase.kt | igamgam97 | 181,026,424 | false | null | package com.example.rssanimereader.domain.use_case
import com.example.rssanimereader.data.repository.ChannelsRepository
import com.example.rssanimereader.domain.entity.ChannelItem
import io.reactivex.Single
class GetChannelsFromDBUseCase(private val channelsRepository: ChannelsRepository) {
operator fun invoke():... | 3 | Kotlin | 0 | 1 | bbd774c1a6d6d40d8b0c3d6d7adadda42cccd4d6 | 396 | RSS-Reader | Apache License 2.0 |
app/src/main/kotlin/nl/eduid/flags/Feature.kt | Tiqr | 425,809,894 | false | {"Kotlin": 530000, "Shell": 2373} | package nl.eduid.flags
/**
* A Feature uniquely identifies a part of the app code that can either be enabled or disabled.
* Features only have two states by design to simplify the implementation
*
* @param[key] unique value that identifies a test setting
*/
interface Feature {
val key: String
val title: S... | 0 | Kotlin | 2 | 2 | 4161fc369e4105bb7adf56e7d24dc4792a4d784a | 3,801 | eduid-app-android | Apache License 2.0 |
app/src/main/java/com/qisan/wanandroid/global/WanUser.kt | Jeremyzwc | 493,134,082 | false | {"Kotlin": 298769} | package com.qisan.wanandroid.global
import com.google.gson.Gson
import com.qisan.baselib.utils.SharePreferenceUtils
import com.qisan.wanandroid.constant.Constant
import com.qisan.wanandroid.entity.LoginInfo
/**
* Created by QiSan 2022/6/15
* package com.qisan.wanandroid.global
*/
object WanUser {
var loginIn... | 0 | Kotlin | 11 | 74 | 785edb5d407fb845fbeab049e3f8542e6fc7cdce | 644 | WanAndroidAppKotlinMVVM | Apache License 2.0 |
src/main/kotlin/de/livepoll/api/util/CustomModelMapper.kt | livepoll | 299,668,765 | false | null | package de.livepoll.api.util
import de.livepoll.api.entity.db.*
import de.livepoll.api.entity.dto.*
import org.springframework.http.HttpStatus
import org.springframework.web.server.ResponseStatusException
// --------------------------------------------------- Poll mappers ---------------------------------------------... | 8 | Kotlin | 0 | 3 | 82a2413f19ecb26f78e39a1920c79450dc4a62da | 2,739 | live-poll-api | MIT License |
rounded/src/commonMain/kotlin/me/localx/icons/rounded/outline/TachometerAltAverage.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.rounded.outline
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 3,288 | icons | MIT License |
app/src/main/java/com/xm/question/ui/launcher/LauncherScreen.kt | jakal23 | 802,523,117 | false | {"Kotlin": 46423} | package com.xm.question.ui.launcher
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.compose.fo... | 1 | Kotlin | 0 | 0 | 57c5ad8ca1d788c5f2bbff8e3bdd0625922dbf7e | 2,461 | XmQuestion | MIT License |
initial/MyFirstCoroutine/src/main/kotlin/MyFirstCoroutine.kt | Filip-Konkowski | 673,875,065 | false | null | import kotlinx.coroutines.*
import kotlin.coroutines.ContinuationInterceptor
import kotlin.coroutines.CoroutineContext
fun main() {
val job1 = Job()
val scope = CoroutineScope(Dispatchers.Default + job1)
// the lunch will have scope in context of parents Dispatchers.Default + job1 see img/jobContext1.p... | 0 | Kotlin | 0 | 0 | 42d039f36497ce2222f180c071c277670ffa215c | 962 | KotlinCoroutinesTutorial | MIT License |
initial/MyFirstCoroutine/src/main/kotlin/MyFirstCoroutine.kt | Filip-Konkowski | 673,875,065 | false | null | import kotlinx.coroutines.*
import kotlin.coroutines.ContinuationInterceptor
import kotlin.coroutines.CoroutineContext
fun main() {
val job1 = Job()
val scope = CoroutineScope(Dispatchers.Default + job1)
// the lunch will have scope in context of parents Dispatchers.Default + job1 see img/jobContext1.p... | 0 | Kotlin | 0 | 0 | 42d039f36497ce2222f180c071c277670ffa215c | 962 | KotlinCoroutinesTutorial | MIT License |
app/src/main/java/de/eso/weather/domain/forecast/platform/WeatherForecastProvider.kt | e-solutions-GmbH | 506,562,385 | false | null | package de.eso.weather.domain.forecast.platform
import android.util.Log
import de.eso.weather.domain.forecast.api.WeatherTO
import de.eso.weather.domain.forecast.service.ForecastProvider
import de.eso.weather.domain.shared.api.Location
import io.reactivex.rxjava3.core.Single
class WeatherForecastProvider : ForecastPr... | 0 | Kotlin | 2 | 1 | 54b1bce903021fdee5832c5bf19c032113a02f0c | 1,196 | sample-weather-compose | MIT License |
typescript/ts-translator/src/org/jetbrains/dukat/ts/translator/translateTypescriptSources.kt | Kotlin | 159,510,660 | false | {"Kotlin": 2656818, "WebIDL": 323681, "TypeScript": 135641, "JavaScript": 19475, "ANTLR": 11333} | package org.jetbrains.dukat.ts.translator
import org.jetbrains.dukat.astCommon.NameEntity
import org.jetbrains.dukat.astModel.SourceSetModel
import org.jetbrains.dukat.moduleNameResolver.ModuleNameResolver
fun translateTypescriptSources(data: ByteArray, moduleResolver: ModuleNameResolver, basePackageName: NameEntity?... | 244 | Kotlin | 42 | 535 | d50b9be913ce8a2332b8e97fd518f1ec1ad7f69e | 469 | dukat | Apache License 2.0 |
app/src/main/java/com/rawa/notes/repository/NotesRepositoryModule.kt | Rawa | 277,158,912 | false | null | package com.rawa.notes.repository
import com.rawa.notes.db.NoteDao
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.android.components.ApplicationComponent
@Module
@InstallIn(ApplicationComponent::class)
object NotesRepositoryModule {
@Provides
fun provideNotesReposi... | 1 | Kotlin | 0 | 0 | 153ec72fce5fece0eab770a281b8b40f22afd8de | 414 | notes | MIT License |
src/cypress/Node.kt | Shom770 | 537,689,516 | false | null | package cypress
sealed class Node {
class BinOpNode(val leftNode: Node, val opToken: Token, val rightNode: Node): Node() {
override fun toString(): String {
return "BinOpNode(leftNode = $leftNode, opToken = $opToken, rightNode = $rightNode)"
}
}
class IntNode(val value: Cypress... | 0 | Kotlin | 0 | 0 | b8089e5a18cd4cd35ba9843996e606a5664cbb20 | 1,427 | cypress | MIT License |
example/write-endpoint/application/src/main/kotlin/org/sollecitom/chassis/example/write_endpoint/application/user/RegisterUser.kt | sollecitom | 669,483,842 | false | {"Kotlin": 836098, "Java": 30834} | package org.sollecitom.chassis.example.write_endpoint.application.user
import org.sollecitom.chassis.core.domain.email.EmailAddress
import org.sollecitom.chassis.core.domain.identity.Id
import org.sollecitom.chassis.core.domain.naming.Name
import org.sollecitom.chassis.core.domain.versioning.IntVersion
import org.soll... | 0 | Kotlin | 0 | 2 | a9ffd2d2fd649fc1c967098da9add4aac73a74b0 | 1,437 | chassis | MIT License |
mui-kotlin/src/jsMain/kotlin/mui/material/Grid.mui.kt | karakum-team | 387,062,541 | false | {"Kotlin": 3038356, "TypeScript": 2249, "HTML": 724, "CSS": 86} | // Automatically generated - do not modify!
package mui.material
import csstype.ClassName
@Suppress(
"NAME_CONTAINS_ILLEGAL_CHARS",
"NESTED_CLASS_IN_EXTERNAL_INTERFACE",
)
// language=JavaScript
@JsName("""(/*union*/{root: 'MuiGrid-root', container: 'MuiGrid-container', item: 'MuiGrid-item', zeroMinWidth: 'M... | 0 | Kotlin | 5 | 34 | a5270a395943b069d41891c29e904d4d2f776789 | 548 | mui-kotlin | Apache License 2.0 |
data/api/src/main/java/akio/apps/myrun/data/authentication/api/model/SignInSuccessResult.kt | khoi-nguyen-2359 | 297,064,437 | false | {"Kotlin": 818596, "Java": 37377} | package akio.apps.myrun.data.authentication.api.model
import android.os.Parcelable
import kotlinx.parcelize.Parcelize
@Parcelize
data class SignInSuccessResult(
val isNewUser: Boolean,
val signInMethod: SignInMethod,
) : Parcelable
| 0 | Kotlin | 3 | 7 | c864c2972b1db8146d3c2553130bfe9e78a27c42 | 242 | myrun | MIT License |
Sample/src/main/java/com/angcyo/dsladapter/dsl/DslMenuItem.kt | angcyo | 201,440,286 | false | {"Kotlin": 409151} | package com.angcyo.dsladapter.dsl
import com.angcyo.dsladapter.demo.R
import com.angcyo.item.DslButtonItem
/**
*
* Email:<EMAIL>
* @author angcyo
* @date 2020/05/11
* Copyright (c) 2020 ShenZhen Wayto Ltd. All rights reserved.
*/
class DslMenuItem : DslButtonItem() {
init {
itemLayoutId = R.layout.a... | 3 | Kotlin | 57 | 690 | d0c5110a1dfeb11a93a9b0e5b9ac353bcb3c08d2 | 340 | DslAdapter | MIT License |
sdk/src/main/java/com/exponea/sdk/models/CustomerEvent.kt | opengamer29 | 199,871,562 | true | {"Kotlin": 237020, "Java": 751} | package com.exponea.sdk.models
data class CustomerEvent(
val type: String,
val timestamp: Double,
val properties: HashMap<String, String>
) | 0 | Kotlin | 0 | 0 | 2eabf79984e29f3f21c1423c6b35176d443f6922 | 164 | exponea-android-sdk | Apache License 2.0 |
petcare/src/main/java/io/wso2/android/api_authenticator/sdk/petcare/features/login/presentation/screens/auth_screen/components/SMSOTPAuth.kt | Achintha444 | 731,559,375 | false | {"Kotlin": 624040, "Java": 1580} | package io.wso2.android.api_authenticator.sdk.petcare.features.login.presentation.screens.auth_screen.components
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.fillMaxWidth... | 0 | Kotlin | 0 | 0 | 333b02273a1a0d2b1c4318d6a716287e6e282421 | 4,973 | wso2-android-api-authenticator-sdk | Apache License 2.0 |
sample/src/main/java/me/lazy_assedninja/sample/ui/index/MainComponent.kt | henryhuang1219 | 357,838,778 | false | null | package me.lazy_assedninja.sample.ui.index
import dagger.Subcomponent
import me.lazy_assedninja.sample.content_provider.MyDocumentsProvider
import me.lazy_assedninja.sample.di.ActivityScope
import me.lazy_assedninja.sample.ui.demo_list.DemoFragment
import me.lazy_assedninja.sample.ui.documents_provider.DocumentsProvid... | 0 | Kotlin | 0 | 0 | 1764dc963f179b2710f189aebf5c45664d51daad | 1,611 | Android-Demo | Apache License 2.0 |
app/src/main/java/com/cureya/cure4mind/relaxation/viewHolder/VideoViewHolder.kt | Cureya-cloud | 471,797,089 | false | {"Kotlin": 271603, "Java": 23638} | package com.cureya.cure4mind.relaxation.viewHolder
import androidx.recyclerview.widget.RecyclerView
import coil.imageLoader
import coil.request.ImageRequest
import com.cureya.cure4mind.databinding.CardMusicAndVideoBinding
import com.cureya.cure4mind.model.Content
import com.cureya.cure4mind.relaxation.ui.MusicVideoFra... | 0 | null | 3 | 0 | 67c7090fd6bc2171c6eb7a04489e234427f40097 | 1,131 | Cure4Mind | MIT License |
compiler/testData/codegen/boxInline/smap/defaultLambda/inlinInDefault2.kt | zhangdinet | 128,026,457 | false | null | // FILE: 1.kt
// SKIP_INLINE_CHECK_IN: lParams$default
package test
//A lot of blank lines [Don't delete]
//A lot of blank lines [Don't delete]
//A lot of blank lines [Don't delete]
//A lot of blank lines [Don't delete]
//A lot of blank lines [Don't delete]
//A lot of blank lines [Don't delete]
//A lot of blank lines ... | 0 | null | 0 | 1 | 0439abba462a67e10c2fb73f2ae01d2a03892103 | 3,261 | kotlin | Apache License 2.0 |
app/src/main/java/com/breezeiksindustries/app/domain/PriorityDao.kt | DebashisINT | 863,536,151 | false | {"Kotlin": 15890094, "Java": 1030472} | package com.breezeiksindustries.app.domain
import androidx.room.Dao
import androidx.room.Insert
import androidx.room.Query
import com.breezeiksindustries.app.AppConstant
@Dao
interface PriorityDao {
@Query("SELECT * FROM " + AppConstant.PRIORITY_TABLE)
fun getAll(): List<PriorityListEntity>
@Insert
... | 0 | Kotlin | 0 | 0 | 77cc3b80d20adbe55363e1825240b8e2c6a44cf3 | 607 | IKSIndustries | Apache License 2.0 |
app/src/main/java/com/pt/pro/notepad/data/DBCounter.kt | OmAr-Kader | 674,357,483 | false | {"Kotlin": 2780433} | package com.pt.pro.notepad.data
import android.content.Context
import android.database.sqlite.SQLiteDatabase
import com.pt.common.BuildConfig.*
import com.pt.common.global.logProvCrash
import com.pt.common.global.toStr
import com.pt.common.moderator.over.MySQLiteOpenHelper
import com.pt.common.stable.*
import com.pt.p... | 0 | Kotlin | 0 | 0 | fe57fe5a4029119ac287ab8d3d4b5ccfc05af3a0 | 9,105 | PT-All-Pro | Apache License 2.0 |
app/src/main/java/com/eye/eye/util/InjectorUtil.kt | HelloWorldFeng | 282,585,640 | false | null | package com.eye.eye.util
import com.eye.eye.logic.MainPageRepository
import com.eye.eye.logic.VideoRepository
import com.eye.eye.logic.dao.EyeDatabase
import com.eye.eye.logic.network.EyeNetWork
import com.eye.eye.ui.community.follow.FollowViewModelFactory
import com.eye.eye.ui.home.commed.CommendViewModelFactory
impo... | 0 | Kotlin | 0 | 0 | 4ca1b3b66266366b3ad6a2b64d8341f3fd946324 | 1,656 | Eye | Apache License 2.0 |
completion/tests/testData/smartMultiFile/InheritorsAndMultipleExpectedTypes/InheritorsAndMultipleExpectedTypes.kt | JetBrains | 278,369,660 | false | null | fun bar() {
foo(<caret>)
}
// EXIST: { lookupString: "object", itemText: "object : T1{...}" }
// EXIST: { lookupString: "object", itemText: "object : T2<X>{...}" }
// EXIST: { lookupString: "object", itemText: "object : T3<Y>{...}" }
// EXIST: { lookupString: "C1", itemText: "C1" }
// EXIST: { lookupString: "C2", ... | 0 | null | 30 | 82 | cc81d7505bc3e9ad503d706998ae8026c067e838 | 402 | intellij-kotlin | Apache License 2.0 |
app/src/main/java/top/easelink/lcg/ui/main/article/view/ArticleFragment.kt | Leon406 | 284,404,981 | false | {"Gradle": 7, "XML": 221, "Java Properties": 3, "Shell": 1, "Batchfile": 2, "Text": 1, "Ignore List": 3, "Markdown": 1, "Proguard": 2, "Java": 57, "Kotlin": 163, "HTML": 1, "JSON": 21} | package top.easelink.lcg.ui.main.article.view
import android.content.Intent
import android.os.Bundle
import android.view.View
import androidx.lifecycle.ViewModelProvider
import androidx.recyclerview.widget.DefaultItemAnimator
import androidx.recyclerview.widget.LinearLayoutManager
import androidx.recyclerview.widget.R... | 1 | null | 1 | 1 | c3460fbac3a61cf5bc35c7d77d0b51467e63a65f | 6,332 | lcg | MIT License |
sync/sync-impl/src/test/java/com/duckduckgo/sync/impl/ui/setup/SetupAccountViewModelTest.kt | duckduckgo | 78,869,127 | false | {"Kotlin": 10617129, "HTML": 63669, "Ruby": 14445, "JavaScript": 8385, "C++": 1813, "CMake": 1286, "Shell": 784} | /*
* Copyright (c) 2023 DuckDuckGo
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | 62 | Kotlin | 878 | 3,326 | 42556d3950570c228ff7fce833c340eb1cc5d46a | 3,345 | Android | Apache License 2.0 |
processor/src/main/java/com/infinum/jsonapix/processor/specs/jsonxextensions/funspecbuilders/SerializeListFunSpecBuilder.kt | infinum | 291,043,190 | false | {"Kotlin": 183239} | package com.infinum.jsonapix.processor.specs.jsonxextensions.funspecbuilders
import com.infinum.jsonapix.core.JsonApiXList
import com.infinum.jsonapix.core.common.JsonApiConstants
import com.infinum.jsonapix.core.discriminators.JsonApiListDiscriminator
import com.infinum.jsonapix.processor.specs.jsonxextensions.provid... | 5 | Kotlin | 9 | 29 | eca8b56186a9d4c8f624cfbd44a03b9c4cc37522 | 3,160 | kotlin-jsonapix | Apache License 2.0 |
detekt-api/src/testFixtures/kotlin/io/gitlab/arturbosch/detekt/test/TestFactory.kt | detekt | 71,729,669 | false | null | package io.gitlab.arturbosch.detekt.test
import io.github.detekt.psi.FilePath
import io.gitlab.arturbosch.detekt.api.Entity
import io.gitlab.arturbosch.detekt.api.Finding2
import io.gitlab.arturbosch.detekt.api.Issue
import io.gitlab.arturbosch.detekt.api.Location
import io.gitlab.arturbosch.detekt.api.Rule
import io.... | 170 | null | 768 | 5,978 | 839c58bba25f1d688063433203929e5aa3953e4e | 2,561 | detekt | Apache License 2.0 |
app/src/main/java/com/github/zharovvv/open/source/weather/app/data/repositories/WeatherTodayRepository.kt | ZharovVV | 398,004,967 | false | {"Kotlin": 204380} | package com.github.zharovvv.open.source.weather.app.data.repositories
import com.github.zharovvv.open.source.weather.app.data.local.WeatherTodayDao
import com.github.zharovvv.open.source.weather.app.data.remote.WeatherApiGateway
import com.github.zharovvv.open.source.weather.app.domain.IWeatherTodayRepository
import c... | 0 | Kotlin | 0 | 4 | a61b17f0a2a1d19b5b243431df294ea1c47eb8a5 | 2,180 | OpenSourceWeatherApp | Apache License 2.0 |
src/main/kotlin/genetic/Mutations.kt | loehnertz | 194,407,716 | false | null | package codes.jakob.graphenotype.genetic
import kotlin.random.Random
object Mutations {
fun integerIncrementDecrement(gene: Int, illegalValues: List<Int>? = null): Int {
val mutatedGene: Int = if (Random.nextBoolean()) {
gene + 1
} else {
gene - 1
}
return... | 0 | Kotlin | 0 | 0 | 06e0cbfeb760ad6efe445d337b527662235fef24 | 549 | Graphenotype | Apache License 2.0 |
CoroutineSample/src/main/java/com/smp/coroutinesample/basic/BasicSample9_DaemonTesting.kt | myungpyo | 165,017,875 | false | null | package com.smp.coroutinesample.basic
import kotlinx.coroutines.GlobalScope
import kotlinx.coroutines.delay
import kotlinx.coroutines.launch
import kotlinx.coroutines.runBlocking
fun main() = runBlocking {
GlobalScope.launch {
repeat(1000) { i ->
println("I'm sleeping $i ...")
del... | 0 | Kotlin | 0 | 1 | b8bd68eadd1490178510910a5d73cb2efb8d1eff | 363 | study-coroutine | Apache License 2.0 |
src/main/kotlin/lol/skuper/teareports/command/ReportCommand.kt | 5kuper | 853,736,048 | false | {"Kotlin": 9825} | package lol.skuper.teareports.command
import com.github.shynixn.mccoroutine.bukkit.SuspendingCommandExecutor
import kotlinx.datetime.Clock
import lol.skuper.teareports.Report
import lol.skuper.teareports.repo.ReportRepo
import lol.skuper.teareports.util.playerOnly
import net.kyori.adventure.text.Component
import net.k... | 0 | Kotlin | 0 | 1 | 62094371e07d26b2ab61323359cbfd5fe696ad51 | 1,643 | TeaReports | MIT License |
desktop/views/src/main/kotlin/com/soyle/stories/scene/setting/SceneSettingToolModel.kt | Soyle-Productions | 239,407,827 | false | null | package com.soyle.stories.scene.setting
import com.soyle.stories.domain.scene.Scene
import com.soyle.stories.scene.setting.list.SceneSettingItemListModel
import javafx.beans.property.StringProperty
import javafx.beans.value.ObservableValue
sealed class SceneSettingToolModel {
object NoSceneSelected : SceneSetting... | 45 | Kotlin | 0 | 9 | 1a110536865250dcd8d29270d003315062f2b032 | 459 | soyle-stories | Apache License 2.0 |
health-services/ExerciseSampleCompose/app/src/main/java/com/example/exercisesamplecompose/app/MainActivity.kt | Baba-Seiya | 709,047,132 | false | {"Kotlin": 630752} | /*
* Copyright 2022 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | 0 | Kotlin | 0 | 0 | bcb871c47f0a0cad33c977bd0b6f0ca671ac1247 | 6,277 | Graduation-thesis.ver2 | Apache License 2.0 |
health-services/ExerciseSampleCompose/app/src/main/java/com/example/exercisesamplecompose/app/MainActivity.kt | Baba-Seiya | 709,047,132 | false | {"Kotlin": 630752} | /*
* Copyright 2022 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | 0 | Kotlin | 0 | 0 | bcb871c47f0a0cad33c977bd0b6f0ca671ac1247 | 6,277 | Graduation-thesis.ver2 | Apache License 2.0 |
app/src/main/java/id/ac/undip/ce/student/muhammadrizqi/footballapps/db/MyDatabaseOpenHelper.kt | muhrizky | 152,619,802 | false | null | package id.ac.undip.ce.student.muhammadrizqi.footballapps.db
import android.content.Context
import android.database.sqlite.SQLiteDatabase
import org.jetbrains.anko.db.*
class MyDatabaseOpenHelper(ctx: Context): ManagedSQLiteOpenHelper(ctx, "Favorite.db", null){
companion object {
private var instance: MyD... | 0 | Kotlin | 1 | 1 | 8ba0dafe2c94fde205f9a27def13eac453c6d4e0 | 1,930 | FootballApps | MIT License |
mbmobilesdk/src/main/java/com/daimler/mbmobilesdk/app/foreground/ForegroundListener.kt | rafalzawadzki | 208,997,288 | true | {"Kotlin": 1297852, "Groovy": 4489} | package com.daimler.mbmobilesdk.app.foreground
/**
* Listener that notifies about changes of the foreground/ background state of the application.
*/
internal interface ForegroundListener {
/**
* Called when the app went to the foreground.
* NOTE: This is NOT called when the application just launched.
... | 0 | null | 0 | 0 | 1a924f70fbde5d731cdfde275e724e6343ee6ebe | 457 | MBSDK-Mobile-Android | MIT License |
aws/src/main/kotlin/com/codingue/koops/aws/codebuild/AWSCodeBuild.kt | amelki | 128,991,967 | false | null |
@file:Suppress("unused", "MemberVisibilityCanBePrivate", "DEPRECATION", "RemoveEmptyPrimaryConstructor", "UnnecessaryVariable", "UsePropertyAccessSyntax", "USELESS_ELVIS")
package com.codingue.koops.aws.codebuild
import javax.annotation.Generated
import com.codingue.koops.common.*
import com.codingue.koops.core.*
im... | 0 | Kotlin | 0 | 1 | d880d4456fa9ec75c2a3549108a630a172ff56f7 | 27,397 | koops | Apache License 2.0 |
data/src/main/java/com/lighthouse/android/data/api/ProfileApiService.kt | soma-lighthouse | 658,620,687 | false | {"Kotlin": 442318} | package com.lighthouse.android.data.api
import com.lighthouse.android.data.model.request.UpdateProfileDTO
import com.lighthouse.android.data.model.request.UploadFilterDTO
import com.lighthouse.android.data.model.response.BaseResponse
import com.lighthouse.android.data.model.response.MyQuestionResponse
import com.light... | 0 | Kotlin | 0 | 0 | 2109f0e2f50e4502c2778bc2a831272785eaf7a7 | 1,243 | FE-lingo-talk | Apache License 2.0 |
compiler/src/commonMain/kotlin/io/LoggedResourceManager.kt | SrGaabriel | 837,425,380 | false | {"Kotlin": 239319, "LLVM": 21034, "Rust": 5321, "HTML": 171} | package me.gabriel.selene.compiler.io
import kotlinx.serialization.encodeToString
import me.gabriel.selene.analysis.signature.Signatures
import me.gabriel.selene.compiler.SeleneCompilerPlatform
import me.gabriel.selene.compiler.cli.CommandLine
import me.gabriel.selene.compiler.util.fileExtensionOrNull
import me.gabrie... | 0 | Kotlin | 0 | 11 | 8d59af2378097a7d73cd74ac14b59e0a4d3c2594 | 3,052 | selene | Apache License 2.0 |
2019-android-applications/github-repo/shared/src/main/java/io/codelabs/githubrepo/shared/data/Owner.kt | kevin2-cyber | 437,880,493 | false | {"Kotlin": 765037, "CSS": 301626, "SCSS": 287609, "HTML": 208821, "JavaScript": 16612, "Java": 2758, "TypeScript": 366} | /*
* Copyright (c) 2019. Designed & developed by <NAME>(c). For the love of Android development.
*/
package io.codelabs.githubrepo.shared.data
import android.os.Parcelable
import androidx.room.Entity
import androidx.room.PrimaryKey
import com.google.gson.annotations.SerializedName
import kotlinx.android.parcel.Parc... | 0 | Kotlin | 0 | 1 | 32e38fd6bfe6074f23f6cd630c20d8a53f91156d | 620 | ug-short-course | MIT License |
retrofitsample/src/test/java/test/Authenticator.kt | smartnsoft | 91,356,780 | false | {"Gradle": 7, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 6, "Batchfile": 1, "Markdown": 1, "Proguard": 5, "XML": 21, "Kotlin": 30, "Java": 10} | package test
import com.smartnsoft.retrofitsample.ws.InfoAPI
import com.smartnsoft.retrofitsample.ws.InfoContainer
import com.smartnsoft.ws.retrofit.api.AuthProvider
import com.smartnsoft.ws.retrofit.bo.AccessToken
import com.smartnsoft.ws.retrofit.bo.ErrorResponse
import com.smartnsoft.ws.retrofit.bo.ResponseWithErro... | 0 | Kotlin | 2 | 0 | e2dcbda1438a200f71c02127893804b0aee8838f | 15,667 | droid4me.ws | MIT License |
app/src/main/java/com/naver/maps/map/compose/demo/map/LiteModeScreen.kt | fornewid | 492,204,824 | false | {"Kotlin": 431651, "Shell": 2924} | /*
* Copyright 2022 SOUP
*
* 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 wri... | 8 | Kotlin | 6 | 99 | 2fcbd5f18a69d58717c84e8a7367f702531f4e24 | 5,374 | naver-map-compose | Apache License 2.0 |
idea/tests/testData/indentationOnNewline/emptyParameters/EmptyParameterInAnnonymousFunctionWithReceiver2.after.kt | JetBrains | 278,369,660 | false | null | class Test {
val a = fun String.Companion????.(<caret>)
}
// SET_TRUE: ALIGN_MULTILINE_METHOD_BRACKETS
// IGNORE_FORMATTER
// KT-39459 | 0 | Kotlin | 30 | 82 | cc81d7505bc3e9ad503d706998ae8026c067e838 | 140 | intellij-kotlin | Apache License 2.0 |
src/main/kotlin/de/wobkenh/pgen/PGenConstants.kt | wobkenh | 193,234,170 | false | null | package de.wobkenh.pgen
object PGenConstants {
val newLine = System.lineSeparator()
} | 0 | Kotlin | 0 | 2 | 68fece9bb06ee917f4a8d53a0d4ea6b862a2cbd5 | 90 | pgen | Apache License 2.0 |
app/src/playstore/java/openfoodfacts/github/scrachx/openfood/camera/CameraSizePair.kt | openfoodfacts | 35,174,991 | false | {"Kotlin": 1449425, "Java": 124506, "Ruby": 13166, "Shell": 543, "Makefile": 241} | @file:Suppress("DEPRECATION")
package openfoodfacts.github.scrachx.openfood.camera
import android.hardware.Camera
import com.google.android.gms.common.images.Size
/**
* Stores a preview size and a corresponding same-aspect-ratio picture size. To avoid distorted
* preview images on some devices, the picture size mu... | 390 | Kotlin | 447 | 772 | 836bab540ec9e2792b692a3b25ff61e444fae045 | 784 | openfoodfacts-androidapp | Apache License 2.0 |
SingleModuleApp/app/src/main/java/com/github/yamamotoj/singlemoduleapp/package11/Foo01129.kt | yamamotoj | 163,851,411 | false | {"Text": 1, "Ignore List": 30, "Markdown": 1, "Gradle": 34, "Java Properties": 11, "Shell": 6, "Batchfile": 6, "Proguard": 22, "Kotlin": 36021, "XML": 93, "INI": 1, "Java": 32, "Python": 2} | package com.github.yamamotoj.singlemoduleapp.package11
class Foo01129 {
fun method0() {
Foo01128().method5()
}
fun method1() {
method0()
}
fun method2() {
method1()
}
fun method3() {
method2()
}
fun method4() {
method3()
}
fun met... | 0 | Kotlin | 0 | 9 | 2a771697dfebca9201f6df5ef8441578b5102641 | 355 | android_multi_module_experiment | Apache License 2.0 |
plot-base-portable/src/commonMain/kotlin/jetbrains/datalore/plot/base/geom/WithWidth.kt | JetBrains | 176,771,727 | false | null | /*
* Copyright (c) 2022. JetBrains s.r.o.
* Use of this source code is governed by the MIT license that can be found in the LICENSE file.
*/
package jetbrains.datalore.plot.base.geom
import jetbrains.datalore.base.interval.DoubleSpan
import jetbrains.datalore.plot.base.Aes
import jetbrains.datalore.plot.base.DataP... | 97 | Kotlin | 47 | 889 | c5c66ceddc839bec79b041c06677a6ad5f54e416 | 477 | lets-plot | MIT License |
app/src/main/java/com/mapswithme/maps/settings/SettingsPrefsFragment.kt | dnemov | 245,413,600 | false | null | package com.mapswithme.maps.settings
import android.app.Activity
import android.content.Context
import android.content.Intent
import android.net.Uri
import android.os.Bundle
import android.speech.tts.TextToSpeech
import android.text.Spannable
import android.text.SpannableString
import android.text.style.ForegroundColo... | 0 | Kotlin | 0 | 1 | 8b75114193e141aee14fcbc207a208c4a39de1db | 32,677 | omim.kt | Apache License 2.0 |
app/src/main/java/com/example/android/hilt/data/LoggerInMemoryDataSource.kt | fillooow | 510,867,084 | false | {"Kotlin": 25693} | package com.example.android.hilt.data
import java.util.LinkedList
import javax.inject.Inject
/** Скоуп не нужен, так как он прописан в [LoggingModule] */
class LoggerInMemoryDataSource @Inject constructor() : LoggerDataSource {
private val logs = LinkedList<Log>()
override fun addLog(msg: String) {
... | 0 | Kotlin | 0 | 0 | bc51c34b4336c2d3d9d27e9c08c180ba97de648e | 530 | android-hilt | Apache License 2.0 |
shared/src/iosMain/kotlin/com/bunjne/bbit/Platform.ios.kt | Bunjne | 676,815,886 | false | {"Kotlin": 111845, "Swift": 954} | package com.bunjne.bbit
actual fun getPlatform(): Platform = Platform.ANDROID | 0 | Kotlin | 0 | 1 | 88c6e511d22756925a478bc1d77de3f892bfd765 | 78 | BBit | Apache License 2.0 |
library/src/main/java/com/artufimtcev/ankobinding/AnkoBaseObservable.kt | artufimtcev | 56,422,122 | false | {"Gradle": 4, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "Proguard": 2, "Java": 4, "XML": 7, "Kotlin": 11} | package com.artufimtcev.ankobinding
import java.util.*
import kotlin.reflect.KProperty
open class AnkoBaseObservable<ID : Enum<ID>> : AnkoObservable<ID> {
private val observers: MutableSet<AnkoObserver<ID>> = HashSet()
override fun notifyDataChanged() {
observers.forEach {
it.notifyChang... | 0 | Kotlin | 0 | 0 | a5244b0d240b5a923183d58b822f592dc151b306 | 1,230 | AnkoBinding | Apache License 2.0 |
NameStats/app/src/main/java/com/egenvall/namestats/common/di/module/ActivityModule.kt | egenvall | 83,654,398 | false | null | package com.egenvall.namestats.common.di.module
import android.app.Activity
import android.support.v7.app.AppCompatActivity
import com.egenvall.namestats.common.di.scope.PerScreen
import com.egenvall.namestats.common.threading.AndroidUiExecutor
import com.egenvall.namestats.common.threading.RxIoExecutor
import dagger.... | 1 | Kotlin | 1 | 1 | f08348c811034d9b0fc24463bfef5e025bc98965 | 794 | NameStats | MIT License |
multiplatform-boost-network/src/commonMain/kotlin/io/boost/network/model/AuthRequest.kt | LiveUI | 158,391,874 | false | null | package io.boost.network.model
import kotlinx.serialization.Serializable
/**
* {
* "username": "<EMAIL>"
* "password": "<PASSWORD>"
* }
*/
@Serializable
data class AuthRequest(val email: String, val password: String) | 0 | Kotlin | 0 | 0 | fefcec8417b6205c1356d82debafe1fd22e66aac | 223 | BoostSDK | MIT License |
code/jvm/src/main/kotlin/pt/isel/leic/ptgest/repository/jdbi/JdbiAuthRepo.kt | PTGest | 761,908,487 | false | {"Kotlin": 405169, "Vue": 247495, "TypeScript": 79316, "PLpgSQL": 18596, "CSS": 1471, "HTML": 368, "Shell": 274} | package pt.isel.leic.ptgest.repository.jdbi
import org.jdbi.v3.core.Handle
import org.jdbi.v3.core.kotlin.mapTo
import pt.isel.leic.ptgest.domain.auth.model.TokenDetails
import pt.isel.leic.ptgest.domain.user.Gender
import pt.isel.leic.ptgest.domain.user.Role
import pt.isel.leic.ptgest.repository.AuthRepo
import java.... | 0 | Kotlin | 0 | 6 | b94fedfe747862fbc7190e6aced5b3e84833590f | 6,033 | PTGest | MIT License |
src/main/java/io/sc3/plethora/gameplay/modules/glasses/canvas/CanvasClient.kt | SwitchCraftCC | 491,699,521 | false | null | package io.sc3.plethora.gameplay.modules.glasses.canvas
import it.unimi.dsi.fastutil.ints.*
import it.unimi.dsi.fastutil.ints.IntIterator
import net.fabricmc.api.EnvType
import net.fabricmc.api.Environment
import net.minecraft.client.render.VertexConsumerProvider
import net.minecraft.client.util.math.MatrixStack
impor... | 25 | null | 8 | 16 | 7e59a368d0710a2a401bdfb833a1e64d7923be8e | 2,019 | Plethora-Fabric | MIT License |
app/src/main/java/com/example/androiddevchallenge/MainActivity.kt | Simplation | 346,540,363 | false | null | /*
* Copyright 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 0 | Kotlin | 0 | 1 | bcf162c55d677e67d504e2e09072679b6966f9e1 | 3,470 | SpeedCompose | Apache License 2.0 |
pumps/src/main/kotlin/fund/cyber/pump/bitcoin/JsonRpcToDaoBitcoinBlockConverter.kt | rezon99 | 118,602,344 | true | {"Kotlin": 180690, "Shell": 190} | package fund.cyber.pump.bitcoin
import fund.cyber.node.common.sumByBigDecimalString
import fund.cyber.node.model.*
import java.math.BigDecimal
import java.time.Instant
class JsonRpcToDaoBitcoinBlockConverter {
/**
* @param jsonRpcBlock block to convert
* @param transactions already converted to dao mod... | 0 | Kotlin | 0 | 0 | d2248b89a2192432a3af47d68a51c60d0ab16b3c | 2,224 | cyber-search | MIT License |
dsl/src/commonMain/kotlin/com/freeletics/flowredux/dsl/FlowBuilder.kt | freeletics | 184,753,749 | false | null | package com.freeletics.flowredux.dsl
import kotlinx.coroutines.flow.Flow
fun interface FlowBuilder<InputState, T> {
fun build(state: Flow<InputState>): Flow<T>
}
| 19 | Kotlin | 12 | 301 | 5c23cc3d193a49312b1f5feddd55d19ca377e8be | 168 | FlowRedux | Apache License 2.0 |
app/src/main/java/com/gladysproject/gladys/MainActivity.kt | CaptainSeum | 145,600,596 | true | {"Kotlin": 51452} | package com.gladysproject.gladys
import android.content.Intent
import android.os.Bundle
import android.preference.PreferenceManager
import android.support.design.widget.BottomNavigationView
import android.support.v4.app.Fragment
import android.support.v7.app.AppCompatActivity
import android.view.Menu
import android.vi... | 0 | Kotlin | 0 | 0 | c99cdeb07d08f24658f4e981bce4bc907eb43303 | 2,987 | Gladys-Android | MIT License |
app/src/test/java/com/bth/reciperadar/modeltests/ProfileModelTest.kt | BryanAafjes | 718,555,578 | false | {"Kotlin": 284496} | package com.bth.reciperadar.modeltests
import com.bth.reciperadar.data.dtos.DietaryInfoDto
import com.bth.reciperadar.data.dtos.ProfileDto
import com.bth.reciperadar.domain.models.DietaryInfo
import com.bth.reciperadar.domain.models.Profile
import com.bth.reciperadar.domain.models.toDomain
import com.bth.reciperadar.d... | 0 | Kotlin | 0 | 0 | 11429360ecb43755e63a586653402eac40fe1c11 | 2,097 | RecipeRadar | MIT License |
graphql-dgs-codegen-core/src/test/kotlin/com/netflix/graphql/dgs/codegen/ClientApiGenTest.kt | sdoxsee | 351,211,555 | true | {"Kotlin": 388215, "Java": 4156, "Dockerfile": 244} | /*
*
* Copyright 2020 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | 0 | null | 0 | 0 | d41bba9a05f5cbdf8a3bec781d3444781acbc765 | 35,061 | dgs-codegen | Apache License 2.0 |
mapme/src/test/java/nz/co/trademe/mapme/util/TestItem.kt | TradeMe | 98,249,217 | false | null | package nz.co.trademe.mapme.util
import androidx.recyclerview.widget.DiffUtil
import java.util.*
data class TestItem(val id: String = UUID.randomUUID().toString(), val startPosition: Int, val zIndex: Float = 0f)
class TestItemDiffCallback(private val mOldList: List<nz.co.trademe.mapme.util.TestItem>, private val mNe... | 12 | null | 80 | 847 | df0e928452c9d9fa001fb51f6af103b509830047 | 887 | MapMe | MIT License |
app/src/main/java/com/spin/id/ui/home/feed/FeedContract.kt | RifqiFadhell | 501,564,017 | false | null | package com.spin.id.ui.home.feed
import com.spin.id.api.response.banner.BannerResponse
import com.spin.id.api.response.feed.comment.ChildCommentResponse
import com.spin.id.api.response.feed.comment.CommentResponse
import com.spin.id.api.response.feed.detail.DetailFeedResponse
import com.spin.id.api.response.feed.like.... | 0 | Kotlin | 0 | 0 | ac0082e9f8ce71f3e17c758e59d925bfed2ec753 | 3,231 | SPIN | Apache License 2.0 |
svcVendaConsultaProduto/src/main/kotlin/br/paulotrc/svcvendaconsultaproduto/SvcVendaConsultaProdutoApplication.kt | paulotrc | 732,774,509 | false | {"Kotlin": 559} | package br.paulotrc.svcvendaconsultaproduto
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.runApplication
@SpringBootApplication
class SvcVendaConsultaProdutoApplication
fun main(args: Array<String>) {
runApplication<SvcVendaConsultaProdutoApplication>(*args)
}
| 0 | Kotlin | 0 | 0 | 9beab09401ea376a618ba91709503caa2d53ed38 | 319 | mentoriaKotlin | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.