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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
src/main/kotlin/cloud/luxor/lbwl/flash/FlashScoreboard.kt | luxor-cloud | 229,114,682 | false | null | package cloud.luxor.lbwl.flash
import org.bukkit.Bukkit
import org.bukkit.entity.Player
import org.bukkit.scheduler.BukkitTask
import org.bukkit.scoreboard.DisplaySlot
import org.bukkit.scoreboard.Objective
/**
* @author <NAME>
*/
class FlashScoreboard(val plugin: FlashPlugin) {
private val handle = Bukkit... | 1 | Kotlin | 2 | 1 | f7c3eb71784c659b5d900001ae3f113cd6cbcb27 | 1,470 | lbwl-flash | MIT License |
src/main/kotlin/com/kotlinspring/services/UserService.kt | mmarinn | 325,140,606 | false | null | package com.kotlinspring.services
import com.kotlinspring.drivers.database.UserRepository
import com.kotlinspring.entities.UserEntity
import java.util.*
import org.springframework.stereotype.Service
@Service
class UserService(private val userRepository: UserRepository) {
@Throws(RuntimeException::class)
fun... | 0 | Kotlin | 0 | 1 | 5356a1480769814b40ee32ca703e3cd12120153e | 758 | kotlin-spring-start-project | MIT License |
app/src/main/java/com/job/whatsappstories/utils/ViewExtensions.kt | JobGetabu | 163,980,410 | false | {"Kotlin": 106671, "Java": 27143} | package com.job.whatsappstories.utils
import android.content.Context
import androidx.databinding.DataBindingUtil
import androidx.databinding.ViewDataBinding
import android.graphics.Typeface
import android.graphics.drawable.Drawable
import androidx.annotation.LayoutRes
import androidx.fragment.app.Fragment
import andro... | 0 | Kotlin | 0 | 1 | 74fc000eeea3b8f2d2c9bb7249acdfe43711cfad | 4,406 | Stories-Whatsapp | Apache License 2.0 |
app/src/main/java/com/example/appstore/data/model/category/FilterCategoriesModel.kt | rezakardan | 779,591,568 | false | {"Kotlin": 353707, "Java": 16027} | package com.example.appstore.data.model.category
data class FilterCategoriesModel( val search: String? = null,
val sort: String? = null,val minPrice: String? = null,
val maxPrice: String? = null,val onlyAvailable: Boolean? = null)
| 0 | Kotlin | 0 | 0 | c64368f08faae5b50d158dadb79a8a1a3cd3e140 | 297 | AppStore__Git | MIT License |
AndroidLint-4.1.0/lint-checks/lintChecker/src/main/java/com/easelint/detector/LayoutXmlDetector.kt | Western-parotia | 642,632,046 | false | null | package com.easelint.detector
import com.android.SdkConstants.*
import com.android.resources.ResourceFolderType
import com.android.tools.lint.detector.api.*
import com.easelint.utils.createWithMj
import org.w3c.dom.Attr
import org.w3c.dom.Element
class LayoutXmlDetector : ResourceXmlDetector() {
companion object ... | 0 | Kotlin | 2 | 14 | a9e3988f1b0d3399a8343bb72fecc14fd71db4fe | 2,217 | EaseLint | MIT License |
rendering/src/com/android/tools/rendering/ModuleRenderContext.kt | JetBrains | 60,701,247 | false | {"Kotlin": 47327090, "Java": 36711107, "HTML": 1217549, "Starlark": 856686, "C++": 321587, "Python": 100400, "C": 71515, "Lex": 66732, "NSIS": 58538, "AIDL": 35209, "Shell": 28699, "CMake": 26717, "JavaScript": 18437, "Batchfile": 7828, "Smali": 7580, "RenderScript": 4411, "Makefile": 2298, "IDL": 269, "QMake": 18} | /*
* Copyright (C) 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 3 | Kotlin | 220 | 912 | d88742a5542b0852e7cb2dd6571e01576cb52841 | 1,805 | android | Apache License 2.0 |
presentation/src/main/java/digital/sogood/livestreamfails/presentation/SettingsService.kt | iffa | 147,840,322 | false | null | package digital.sogood.livestreamfails.presentation
import digital.sogood.livestreamfails.domain.model.Order
import digital.sogood.livestreamfails.domain.model.TimeFrame
import io.reactivex.Observable
/**
* @author <NAME> <<EMAIL>>
*/
interface SettingsService {
fun shouldShowNsfwContent(): Boolean
fun get... | 0 | Kotlin | 0 | 2 | 85d2c1967269951c4664833693b29dc760aa688b | 731 | livestreamfails-android | Apache License 2.0 |
app/src/main/java/me/mitul/aij/adapter/AdapterCollage.kt | mitulvaghamshi | 555,605,505 | false | {"Kotlin": 87199} | package me.mitul.aij.adapter
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.BaseAdapter
import android.widget.TextView
import me.mitul.aij.R
import me.mitul.aij.model.Collage
class AdapterCollage(
private val inflater: LayoutInflater,
private va... | 0 | Kotlin | 0 | 0 | c835b4bf94e9aa81304954d4529a40b71a5a4bb8 | 1,503 | AIJ | MIT License |
app/src/main/java/com/shentu/wallpaper/app/config/Environment.kt | ljwcsdn | 352,574,969 | true | {"Kotlin": 727021} | package com.shentu.wallpaper.app.config
internal enum class Environment {
DEBUG, PRE, RELEASE;
} | 0 | null | 0 | 0 | af968a42622a50e1d21454dda22a644ee3e4d77f | 101 | MicroWallPager | Apache License 2.0 |
reactive-albums-api/src/main/kotlin/nl/juraji/reactive/albums/domain/directories/events/DirectoryEvent.kt | Juraji | 290,577,996 | false | null | package nl.juraji.reactive.albums.domain.directories.events
import nl.juraji.reactive.albums.domain.directories.DirectoryId
interface DirectoryEvent {
val directoryId: DirectoryId
}
| 0 | Kotlin | 0 | 1 | 205927ceb1ce19e27e2b2aa83f61eeda968613d1 | 188 | reactive-albums | MIT License |
src/commonMain/kotlin/lexer/Lexer.kt | llesha | 452,776,841 | false | {"Kotlin": 301038, "JavaScript": 239} | package lexer
import Logger
import TokenNumber
import lexer.RegistryFactory.getRegistry
import token.MetaToken
import token.Token
/**
* Lexer creates tokens from text
*
* Important changes:
* 1. ";" is replaced by \n
* 2. ternary operator and functions follow kotlin style
*/
class Lexer(val source: String = "",... | 8 | Kotlin | 1 | 3 | 1a275cbde58339ee5f08e004d87dfcb5406b6e5d | 11,504 | Regina | MIT License |
src/main/kotlin/es/pnm/seatcode/core/domain/model/Grid.kt | pnm90 | 584,476,077 | false | null | package es.pnm.seatcode.core.domain.model
class Grid(var gridField: Array<Array<Mower?>>) | 0 | Kotlin | 1 | 1 | ff9b81200aced354797964220a2303e4e26b96dd | 90 | seat_code_challenge | Apache License 2.0 |
app/src/main/java/ru/shadowsparky/messenger/utils/App.kt | shadowsparky | 148,388,054 | false | null | /*
* Copyright <NAME>(c) 2018.
*/
package ru.shadowsparky.messenger.utils
import android.app.Application
import com.squareup.picasso.OkHttp3Downloader
import com.squareup.picasso.Picasso
import ru.shadowsparky.messenger.dagger.AdditionalModule
import ru.shadowsparky.messenger.dagger.Component
import ru.shadowsparky... | 0 | Kotlin | 0 | 0 | c9c14e5226c692dbdcea559806263a4cea78b1ac | 1,229 | vk-messenger-two | The Unlicense |
src/main/kotlin/fr/alexandreroman/genericservicebroker/App.kt | alexandreroman | 165,284,270 | false | null | /*
* Copyright (c) 2019 Pivotal Software, 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 l... | 0 | Kotlin | 1 | 0 | 6980945d1c4a9dd5bf2ab5e68927e0c55cbb098a | 1,686 | generic-service-broker | Apache License 2.0 |
pomodo-getter/app/src/main/java/work/wander/pomodogetter/ui/theme/Color.kt | awallace87 | 793,807,511 | false | {"Kotlin": 642774} | package work.wander.pomodogetter.ui.theme
import androidx.compose.ui.graphics.Color
val primaryLight = Color(0xFF904B3C)
val onPrimaryLight = Color(0xFFFFFFFF)
val primaryContainerLight = Color(0xFFFFDAD3)
val onPrimaryContainerLight = Color(0xFF3A0A03)
val secondaryLight = Color(0xFF775750)
val onSecondaryLight = Col... | 0 | Kotlin | 0 | 0 | 8e9dfa2a66f8a330c6c26a10bad78420f818beeb | 10,902 | android-sample-apps | Apache License 2.0 |
DriverDataTimelineUI/src/main/java/com/drivequant/drivekit/timeline/ui/component/graph/view/LineGraphView.kt | DriveQuantPublic | 216,339,559 | false | {"Gradle": 12, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 10, "Batchfile": 1, "Markdown": 1, "INI": 8, "Proguard": 9, "XML": 419, "Kotlin": 478, "Java": 1} | package com.drivequant.drivekit.timeline.ui.component.graph.view
import android.annotation.SuppressLint
import android.content.Context
import androidx.core.content.ContextCompat
import com.drivequant.drivekit.common.ui.DriveKitUI
import com.drivequant.drivekit.common.ui.utils.convertDpToPx
import com.drivequant.drivek... | 1 | Kotlin | 3 | 9 | e7956263157c49aae8d6f993a558ea77d9658ee6 | 6,695 | drivekit-ui-android | Apache License 2.0 |
src/main/kotlin/org/pio/rsn/utils/Types.kt | codeinvoid | 651,920,500 | false | {"Kotlin": 18725, "Java": 7533} | package org.pio.rsn.utils
import org.pio.rsn.Server
import org.pio.rsn.config.Config
import org.pio.rsn.config.ConfigOperator
import org.pio.rsn.model.Banned
import org.pio.rsn.model.Whitelist
class Types {
/**
* Config
*/
fun readConfig() = ConfigOperator(Server.configFile()).read(Config::class.jav... | 0 | Kotlin | 0 | 0 | 91ecfa8e85e98fce0459a97e4efd5e399e9ede69 | 1,048 | RSNUtils-Remake | Apache License 2.0 |
app/src/main/java/com/example/avjindersinghsekhon/minimaltodo/AlarmManager.kt | iambaji | 330,829,860 | true | {"Kotlin": 70130, "Java": 33397} | package com.example.avjindersinghsekhon.minimaltodo
import android.app.AlarmManager
import android.app.PendingIntent
import android.content.Context
import android.content.Intent
import android.util.Log
import com.example.avjindersinghsekhon.minimaltodo.database.ToDo
import com.example.avjindersinghsekhon.minimaltodo.u... | 0 | Kotlin | 0 | 0 | 8a87cba661d87c98682a51c25d19ce8e68e77d7e | 2,842 | Minimal-Todo | MIT License |
examples/reinforcement_learning/android/app/src/main/java/com/google/aiedge/examples/reinforcement_learning/ReinforcementLearningHelper.kt | google-ai-edge | 800,245,798 | false | null | /*
* Copyright 2024 The Google AI Edge Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless r... | 6 | null | 10 | 35 | 3822c37565b0d7ff4853b54a11e82e1782646866 | 2,741 | litert-samples | Apache License 2.0 |
modelql-untyped/src/commonMain/kotlin/org/modelix/modelql/untyped/OfConceptStep.kt | modelix | 533,211,353 | false | {"Kotlin": 2637564, "JetBrains MPS": 274458, "TypeScript": 54854, "Java": 9941, "JavaScript": 6337, "Mustache": 5974, "CSS": 2898, "Shell": 2811, "Dockerfile": 389, "Procfile": 76} | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed u... | 48 | Kotlin | 9 | 6 | 31d40c2ee45c2d3da09169b45b2c328748829bbe | 2,991 | modelix.core | Apache License 2.0 |
src/main/kotlin/mashup/sideproject/orderpay/model/entity/BuyerInfo.kt | mash-up-kr | 390,779,576 | false | null | package mashup.sideproject.orderpay.model.entity
import javax.persistence.Embeddable
import javax.persistence.Lob
@Embeddable
data class BuyerInfo(
var buyerName: String? = null,
var buyerEmail: String? = null,
var buyerTel: String? = null,
@Lob
var buyerAddr: String? = null,
var buyerPost... | 6 | Kotlin | 0 | 2 | 6dcfe2a5893fdfcd3210bdd74703efb04155a90b | 342 | Elegant_Spring_Family_Order_Pay | MIT License |
post-processing-tests/src/test/kotlin/com/casadetasha/kexp/petals/processor/post/tests/exposed/NestedPetalEntityTest.kt | Path-to-plunder | 505,638,891 | false | null | package com.casadetasha.kexp.petals.processor.post.tests.exposed
import assertk.assertThat
import assertk.assertions.isEqualTo
import com.casadetasha.kexp.petals.NestedPetalClassEntity
import com.casadetasha.kexp.petals.ParentPetalClassEntity
import com.casadetasha.kexp.petals.annotations.BasePetalMigration
import com... | 0 | Kotlin | 0 | 0 | 6e393bbd1ca09e4922260f0e383bf00f7926c166 | 3,779 | petals | Apache License 2.0 |
core/src/main/kotlin/de/uulm/se/couchedit/model/graphic/shapes/Label.kt | sp-uulm | 303,650,849 | false | null | package de.uulm.se.couchedit.model.graphic.shapes
/**
* A textual label.
* Implemented as a special [Rectangle] that is to be rendered within the given [x], [y], [w], [h] bounds and
* with the given [text] included in it as a text.
*/
class Label(
x: Double = 0.0,
y: Double = 0.0,
w: Double... | 0 | Kotlin | 0 | 0 | 595266c0bca8f2ee6ff633c4b45b91e5f3132cc4 | 781 | CouchEdit | Apache License 2.0 |
src/main/kotlin/org/overrun/ktgl/scene/Skybox.kt | Over-Run | 518,871,751 | false | null | package org.overrun.ktgl.scene
import org.overrun.ktgl.Project
import org.overrun.ktgl.asset.TextureCubeMap
import org.overrun.ktgl.gl.GLDrawMode
import org.overrun.ktgl.model.Model
import org.overrun.ktgl.model.POSITION
import org.overrun.ktgl.model.Vector3
import org.overrun.ktgl.model.Vertex
import org.overrun.ktgl... | 0 | Kotlin | 0 | 1 | f434cd5d0e9cf428621be88b93d55cef78c26b95 | 2,270 | ktgl | MIT License |
feature/snapshots/src/test/java/br/com/cattose/snapshots/feature/list/ListScreenSnapshotTest.kt | lucasmodesto | 785,868,781 | false | null | package br.com.cattose.snapshots.feature.list
import androidx.compose.ui.platform.ComposeView
import br.com.cattose.app.feature.list.ListScreenAppendLoadingPreview
import br.com.cattose.app.feature.list.ListScreenEmptyPreview
import br.com.cattose.app.feature.list.ListScreenErrorPreview
import br.com.cattose.app.featu... | 1 | null | 1 | 2 | b431c2a8c4a26e7bbcd13dc89bd60935c7a970e9 | 1,593 | Cattose | Apache License 2.0 |
app/src/main/java/com/jhoglas/mysalon/ui/compoment/ModalNavigationDrawerCompoment.kt | jhoglassx | 670,225,437 | false | {"Kotlin": 167188} | package com.jhoglas.mysalon.ui.compoment
import android.util.Log
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Arrangement.Center
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Ro... | 0 | Kotlin | 0 | 0 | 4bcd3966050cdccf06b5ac3003095d402ec3b482 | 8,804 | myservice | MIT License |
gradle-plugin/src/main/kotlin/schwarz/it/lightsaber/gradle/processors/Processor.kt | SchwarzIT | 670,612,131 | false | {"Kotlin": 232772, "Java": 914} | package schwarz.it.lightsaber.gradle.processors
import org.gradle.api.Project
import org.gradle.api.artifacts.Dependency
enum class Processor { AnnotationProcessor, Kapt, Ksp }
internal fun Project.withDaggerCompiler(block: Project.(Processor) -> Unit) {
withDaggerCompiler("annotationProcessor") { block(Processo... | 8 | Kotlin | 1 | 24 | 4873989c11b1a490e4a3fae8d30ef9b45ffe2956 | 1,503 | dagger-lightsaber | Apache License 2.0 |
dd-bridge-android/src/test/kotlin/com/datadog/android/bridge/internal/BridgeTraceTest.kt | DataDog | 321,631,492 | false | null | /*
* Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0.
* This product includes software developed at Datadog (https://www.datadoghq.com/).
* Copyright 2016-Present Datadog, Inc.
*/
package com.datadog.android.bridge.internal
import com.datadog.andro... | 0 | Kotlin | 3 | 1 | 98ace67df60fbd0e07f960889134ad281b37b9e6 | 7,958 | dd-bridge-android | Apache License 2.0 |
feature_search/src/main/java/com/myk/feature/search/presentation/PokemonFragment.kt | Myk-da-Beast | 292,779,682 | false | {"Kotlin": 96300} | package com.myk.feature.search.presentation
import android.os.Bundle
import android.view.View
import androidx.fragment.app.Fragment
import androidx.viewpager2.adapter.FragmentStateAdapter
import com.google.android.material.tabs.TabLayoutMediator
import com.myk.feature.search.R
import com.myk.feature.search.databinding... | 1 | Kotlin | 0 | 0 | c8d0de1a8f01060515d929bb3361efcc2fd7d6fd | 1,741 | playground | MIT License |
base/src/main/java/win/regin/base/ext/MvvmExt.kt | Reginer | 192,516,334 | false | null | package win.regin.base.ext
import androidx.annotation.MainThread
import androidx.lifecycle.*
import kotlinx.coroutines.launch
import win.regin.base.BaseViewModel
import win.regin.base.R
import win.regin.base.exception.AppException
import win.regin.common.BaseEntity
import win.regin.common.ContextHolder
import java.net... | 0 | Kotlin | 18 | 90 | 88f47457d522f344d885d776e90dfeb74560811b | 2,889 | MVVMHub | MIT License |
app/src/main/java/kozelko/me/oeisandroid/api/SequenceJson.kt | RSBat | 176,286,135 | false | null | package kozelko.me.oeisandroid.api
import com.squareup.moshi.JsonClass
import java.util.*
@JsonClass(generateAdapter = true)
data class SequenceJson (
val number : Int = 0,
val id : String? = null,
val data : String? = null,
val name : String? = null,
val comment : List<String>? = null,
val re... | 5 | null | 0 | 3 | aa56e4fcdc5563af15d45cb0b6d73470aad85e06 | 883 | oeis-android | MIT License |
app/src/main/java/com/tieuvy/android/base_mvvm_android_2/presentation/main/MainActivity.kt | vyvanhungbg | 683,700,007 | false | null | package com.tieuvy.android.base_mvvm_android_2.presentation.main
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import com.tieuvy.android.base_mvvm_android_2.R
class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInst... | 0 | Kotlin | 0 | 0 | b7e4dace17d3f324ae5fdb474ce0afba5f7213b7 | 385 | Base_Android_MVVM_2 | Apache License 2.0 |
src/main/kotlin/translator/Translator.kt | eqimd | 562,070,040 | false | {"Kotlin": 97700, "Java": 10542, "Shell": 5888, "Python": 4934} | package translator
import parsed_types.data.EncodingCircuit
import parsed_types.data.VariableSat
interface Translator {
fun translate(className: String, methodDescription: String?, vararg args: VariableSat): EncodingCircuit
}
| 0 | Kotlin | 0 | 2 | 33102f67e5e837c760e6f80c0ec9ecf664e6ebe0 | 232 | transbyte | MIT License |
shared/session-details/src/commonMain/kotlin/com/arkivanov/konf/shared/sessiondetails/integration/mappers/StateToModel.kt | arkivanov | 245,683,357 | false | null | package com.arkivanov.konf.shared.sessiondetails.integration.mappers
import com.arkivanov.konf.database.SessionLevel
import com.arkivanov.konf.shared.common.dateformat.DateFormat
import com.arkivanov.konf.shared.common.timeformat.TimeFormat
import com.arkivanov.konf.shared.sessiondetails.SessionDetailsViewModel
import... | 0 | Kotlin | 1 | 15 | 60bf192fc08ed12259a308f705dc7b30f177a500 | 2,883 | Konf | Apache License 2.0 |
projects/Kotlin/src/com/chronoxor/enums/fbe/FinalClientListener.kt | valmac | 204,899,513 | true | {"C++": 4107551, "Yacc": 20685, "Lex": 13771, "CMake": 8686, "C": 80} | // Automatically generated by the Fast Binary Encoding compiler, do not modify!
// https://github.com/chronoxor/FastBinaryEncoding
// Source: enums.fbe
// Version: 1.3.0.0
@file:Suppress("UnusedImport", "unused")
package com.chronoxor.enums.fbe
// Fast Binary Encoding com.chronoxor.enums final client listener
interf... | 0 | C++ | 0 | 0 | 5e9c2f49de658473b225b730f2683a799fd2ed22 | 427 | FastBinaryEncoding | MIT License |
core/src/test/kotlin/com/muedsa/snapshot/benchmark/LogoBenchmark.kt | muedsa | 736,941,747 | false | {"Kotlin": 600787} | package com.muedsa.snapshot.benchmark
import com.muedsa.snapshot.LogoCreator.Companion.logoContent
import com.muedsa.snapshot.SnapshotImage
import com.muedsa.snapshot.drawWidget
import com.muedsa.snapshot.rendering.box.BoxConstraints
import com.muedsa.snapshot.widget.ProxyWidget
class LogoBenchmark {
//@Test
... | 0 | Kotlin | 0 | 1 | 2a8d2a7ade678402af4e49db919fd32ddafa2a3b | 2,065 | snapshot | MIT License |
src/main/kotlin/jp/nephy/vrchakt/endpoints/Avatar.kt | StarryBlueSky | 141,704,292 | false | {"Kotlin": 66578} | package jp.nephy.vrchakt.endpoints
import jp.nephy.vrchakt.VRChaKtClient
import jp.nephy.vrchakt.models.Avatar
import jp.nephy.vrchakt.models.User
@Suppress("UNUSED")
class Avatar(override val client: VRChaKtClient): VRChaKtEndpoint {
fun show(id: String) = client.session.get("/avatars/$id").jsonObject<Avatar.Ent... | 0 | Kotlin | 0 | 2 | 1a4b512367e7000268b13a4636f69ca7d5ef233b | 1,649 | VRChaKt | MIT License |
reaktive/src/commonTest/kotlin/com/badoo/reaktive/maybe/MaybeToObservableTests.kt | kls1002 | 218,411,025 | true | {"Kotlin": 805740, "Swift": 3813, "HTML": 1108, "Ruby": 150} | package com.badoo.reaktive.maybe
import com.badoo.reaktive.observable.Observable
import com.badoo.reaktive.test.base.assertDisposed
import com.badoo.reaktive.test.base.assertError
import com.badoo.reaktive.test.base.assertSubscribed
import com.badoo.reaktive.test.base.hasSubscribers
import com.badoo.reaktive.test.mayb... | 0 | null | 0 | 0 | b17afce9fe267a91053a39bd57130e666abbd28c | 2,673 | Reaktive | Apache License 2.0 |
CleanArchExample/buildSrc/src/main/kotlin/Dependencies.kt | kiuchikeisuke | 94,159,715 | false | null | object Versions {
const val compileSdk = 28
const val minSdk = 21
const val targetSdk = 28
}
@Suppress("Reformat")
object Deps {
object Kotlin {
const val version = "1.3.31"
const val stdlibJdk = "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$version"
}
object AndroidX {
pri... | 0 | FreeMarker | 12 | 73 | 2657501fc57dc2ea33e38a3a2273ce62ae82abc6 | 2,993 | Android-Studio-CleanArchitecture-template-forKotlin | Apache License 2.0 |
kotlin-sdk/kotlin/src/test/kotlin/io/logto/sdk/core/type/IdTokenClaimsTest.kt | logto-io | 397,657,445 | false | null | package io.logto.sdk.core.type
import com.google.common.truth.Truth.assertThat
import org.junit.Test
class IdTokenClaimsTest {
private val iss = "iss"
private val sub = "sub"
private val aud = "aud"
private val exp = 60L
private val iat = 1234L
private val atHash = "atHash"
private val nam... | 0 | Kotlin | 0 | 3 | e491a645ad85c29baa53441881e6045210491652 | 2,007 | kotlin | MIT License |
src/testIntegration/kotlin/uk/gov/justice/digital/hmpps/sendlegalmailtoprisonsapi/config/ClientTrackingConfigurationTest.kt | ministryofjustice | 424,655,284 | false | null | package uk.gov.justice.digital.hmpps.sendlegalmailtoprisonsapi.config
import com.microsoft.applicationinsights.web.internal.RequestTelemetryContext
import com.microsoft.applicationinsights.web.internal.ThreadContext
import org.assertj.core.api.Assertions.assertThat
import org.junit.jupiter.api.AfterEach
import org.jun... | 0 | Kotlin | 0 | 3 | e30856a8c9733391e8eef3d33f6910e703060ab1 | 2,223 | send-legal-mail-to-prisons-api | MIT License |
app/src/test/java/com/sdody/postsapp/PostServiceTest.kt | mohamedma872 | 216,621,709 | false | null | package com.sdody.postsapp
import com.sdody.postsapp.commons.testing.DependencyProvider
import com.sdody.postsapp.commons.data.local.Post
import com.sdody.postsapp.commons.data.remote.PostService
import okhttp3.mockwebserver.MockWebServer
import org.junit.After
import org.junit.Assert
import org.junit.Before
import or... | 1 | Kotlin | 0 | 4 | e901b9f353272fc966b99b503a04ea28d00dfe5a | 2,228 | PostsApp | MIT License |
resource/utils/src/main/kotlin/org/sollecitom/chassis/resource/utils/ResourceLoader.kt | sollecitom | 669,483,842 | false | {"Kotlin": 843044, "Java": 30834} | package org.sollecitom.chassis.resource.utils
import com.google.common.io.Resources
import java.io.InputStream
import java.net.URI
import java.net.URL
import java.nio.file.Path
import kotlin.io.path.absolutePathString
import kotlin.io.path.toPath
object ResourceLoader {
fun resolveAbsolutePath(resourceName: Stri... | 0 | Kotlin | 0 | 2 | 120ccad2e3ab31027e6d703279aca64d64493869 | 843 | chassis | MIT License |
backend/common-web/src/main/kotlin/io/featurehub/health/ApplicationHealthSource.kt | featurehub-io | 258,601,325 | false | {"Dart": 1072584, "Kotlin": 971334, "Groovy": 526705, "Java": 280910, "Gherkin": 99701, "TypeScript": 75489, "Shell": 12850, "Dockerfile": 4566, "JavaScript": 2354, "HTML": 1279, "Ruby": 454} | package io.featurehub.health
import io.featurehub.lifecycle.ApplicationStarted
import io.featurehub.lifecycle.LifecycleStatus
import jakarta.inject.Inject
import jakarta.inject.Singleton
@Singleton
class ApplicationHealthSource @Inject constructor(private val app: ApplicationStarted) : HealthSource {
override val h... | 48 | Dart | 32 | 309 | b5a31b9de21fb56cd2c2dde9c4f3c6a16922c1a3 | 463 | featurehub | Apache License 2.0 |
noober/src/commonMain/kotlin/com/abhi165/noober/model/ResponseModel.kt | ABHI165 | 689,673,497 | false | {"Kotlin": 107872, "Swift": 765} | package com.abhi165.noober.model
internal data class ResponseModel(
val header: Map<String, String> = mapOf(),
val body: String = "_",
val date: String = "_",
val statusCode: Int = 0,
val timeInterval: String = "_",
)
| 0 | Kotlin | 0 | 3 | 0776120e3ffb28d857c09aeb8060b5c4ce8e5d22 | 239 | Noober-2.0 | Apache License 2.0 |
androidApp/src/main/java/com/ramo/sociality/android/ui/post/PostCreatorScreen.kt | OmAr-Kader | 841,632,337 | false | {"Kotlin": 254988, "Swift": 204510} | package com.ramo.sociality.android.ui.post
import androidx.compose.foundation.background
import androidx.compose.foundation.gestures.animateScrollBy
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.foundation.lazy.LazyListState
import androidx.compo... | 0 | Kotlin | 0 | 0 | cc126af01ed268ef56a2d2b8db3dd4df74e29dd6 | 9,239 | Sociality | Apache License 2.0 |
app/src/main/java/com/quartack/bdapter/sample/update/model/CompoundButtonItem.kt | quartack | 341,574,335 | false | null | package com.quartack.bdapter.sample.update.model
import androidx.annotation.Keep
import com.quartack.bdapter.annotation.BdapterViewHolder
import com.quartack.bdapter.sample.databinding.ViewholderCompoundButtonItemBinding
import com.quartack.bdapter.sample.update.UpdateViewModel
@Keep
@BdapterViewHolder(
dataBindi... | 0 | Kotlin | 1 | 1 | 78b06cfacfc56c77518d17c160851ce6bcf53a96 | 502 | bdapter_sample | Apache License 1.1 |
app/src/main/java/com/quartack/bdapter/sample/update/model/CompoundButtonItem.kt | quartack | 341,574,335 | false | null | package com.quartack.bdapter.sample.update.model
import androidx.annotation.Keep
import com.quartack.bdapter.annotation.BdapterViewHolder
import com.quartack.bdapter.sample.databinding.ViewholderCompoundButtonItemBinding
import com.quartack.bdapter.sample.update.UpdateViewModel
@Keep
@BdapterViewHolder(
dataBindi... | 0 | Kotlin | 1 | 1 | 78b06cfacfc56c77518d17c160851ce6bcf53a96 | 502 | bdapter_sample | Apache License 1.1 |
beam-ui/src/jsMain/kotlin/dev/d1s/beam/ui/state/CurrentSpaceContentChangeObservable.kt | d1snin | 632,895,652 | false | null | /*
* Copyright 2023 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... | 1 | Kotlin | 0 | 0 | 93616e49b92aa996dcbc2f8fc30d6ac53777e794 | 4,743 | beam | Apache License 2.0 |
typesystem/src/main/kotlin/org/ksharp/typesystem/unification/MethodUnification.kt | ksharp-lang | 573,931,056 | false | {"Kotlin": 1352208, "Java": 27644, "TypeScript": 3203} | package org.ksharp.typesystem.unification
import org.ksharp.common.Either
import org.ksharp.common.Location
import org.ksharp.typesystem.ErrorOrType
import org.ksharp.typesystem.types.TraitType
import org.ksharp.typesystem.types.Type
import org.ksharp.typesystem.types.toFunctionType
class MethodUnification : Unificat... | 4 | Kotlin | 0 | 0 | 150e9e47b0949f31c89ee66e2f7edfdc55d5c99b | 825 | ksharp-kt | Apache License 2.0 |
data/remote/src/main/java/com/tfandkusu/videobookmark/data/remote/YouTubeMetaDataRemoteDataStore.kt | tfandkusu | 372,272,219 | false | null | package com.tfandkusu.videobookmark.data.remote
import com.tfandkusu.videobookmark.data.remote.error.ErrorRemoteDataStoreHelper
import com.tfandkusu.videobookmark.model.Bookmark
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.withContext
import org.jsoup.Jsoup
interface YouTubeMetaDataRemoteDataStore ... | 8 | Kotlin | 0 | 1 | 399927f49034fbda0b839a4117797538676865d4 | 1,534 | videobookmark | Apache License 2.0 |
Controls/src/main/java/com/android/systemui/util/extensions/Extensions+PendingIntent.kt | KieronQuinn | 410,362,831 | false | {"Kotlin": 810491, "Java": 281044, "AIDL": 22512} | package com.android.systemui.util.extensions
import android.app.PendingIntent
import android.content.IIntentSender
import android.content.Intent
val PendingIntent.mTarget: IIntentSender
get() {
return this::class.java.getDeclaredField("mTarget").apply {
isAccessible = true
}.get(this) ... | 8 | Kotlin | 23 | 693 | e17f14a85f85d4eefabaf847abfadd1af32291c1 | 342 | ClassicPowerMenu | Apache License 2.0 |
src/main/kotlin/uk/gov/justice/digital/hmpps/personrecord/service/matcher/DefendantMatcher.kt | ministryofjustice | 608,040,205 | false | {"Kotlin": 278212, "PLpgSQL": 8836, "Shell": 2601, "Dockerfile": 1145} | package uk.gov.justice.digital.hmpps.personrecord.service.matcher
import uk.gov.justice.digital.hmpps.personrecord.jpa.entity.DefendantEntity
import uk.gov.justice.digital.hmpps.personrecord.model.Person
class DefendantMatcher(defendants: List<DefendantEntity>?, person: Person) :
Matcher<DefendantEntity>(defendants... | 2 | Kotlin | 1 | 1 | 612d55a354bef16b62a3004848cd18e54f805200 | 1,496 | hmpps-person-record | MIT License |
processor/src/main/java/ru/unit/orchestra_features/processor/utils/extension/CheckName.kt | why-iskra | 689,642,973 | false | {"Kotlin": 102496} | package ru.unit.orchestra_features.processor.utils.extension
import com.google.devtools.ksp.symbol.KSNode
import ru.unit.orchestra_features.processor.exception.ProcessorException
fun String.checkName(node: KSNode): String {
val message = when {
isBlank() -> "Feature scope name is empty"
any { !(it... | 0 | Kotlin | 0 | 1 | 7b9b9301f4b377cae180d0025d03dbff86af8bfd | 639 | orchestra-features | MIT License |
app/src/main/java/com/e444er/cleanmovie/feature_movie_tv_detail/domain/models/detail/CreatedBy.kt | e444er | 597,756,971 | false | null | package com.e444er.cleanmovie.feature_movie_tv_detail.domain.models.detail
data class CreatedBy(
val id: Int,
val name: String
)
| 0 | Kotlin | 0 | 0 | 1c939de424b4eb254fd4258f4e56e4399bdfb3cd | 138 | KinoGoClean | Apache License 2.0 |
app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/globalsearch/SearchScreenModel.kt | emyarod | 158,137,832 | true | {"Kotlin": 2528951} | package eu.kanade.tachiyomi.ui.browse.source.globalsearch
import androidx.compose.runtime.Composable
import androidx.compose.runtime.State
import androidx.compose.runtime.produceState
import cafe.adriel.voyager.core.model.StateScreenModel
import cafe.adriel.voyager.core.model.coroutineScope
import eu.kanade.domain.man... | 0 | Kotlin | 0 | 0 | b6d6de6b9f80798c5b363f7e361de073db4a6d55 | 6,280 | tachiyomi | Apache License 2.0 |
ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/url/UrlsSection.kt | lydavid | 458,021,427 | false | null | package ly.david.ui.common.url
import androidx.compose.foundation.layout.Column
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.platform.LocalUriHandler
import ly.david.musicsearch.core.models.listitem.RelationListItemModel
import ly.david.musicsearch.core.mode... | 119 | null | 0 | 45 | 3ab7303fca3a33f1a64e88ef3b411198fb25477c | 1,492 | MusicSearch | Apache License 2.0 |
kaadin-core/src/main/kotlin/ch/frankel/kaadin/Interaction.kt | nfrankel | 67,986,056 | false | null | /*
* Copyright 2016 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... | 3 | Kotlin | 12 | 45 | 0d45069d10605da60253059ced4ffedc740de133 | 5,323 | kaadin | Apache License 2.0 |
app/src/main/java/com/antonicastejon/cryptodata/presentation/main/di/MainActivitySubcomponent.kt | antonicg | 115,748,244 | false | null | package com.antonicastejon.cryptodata.presentation.main.di
import com.antonicastejon.cryptodata.presentation.main.MainActivity
import com.antonicastejon.cryptodata.presentation.main.crypto_list.CryptoListFragmentModule
import dagger.Subcomponent
import dagger.android.AndroidInjector
/**
* Created by <NAME> on 03/0... | 1 | Kotlin | 31 | 153 | 06fd99dc49da1a181fc789eeee737db59d43338b | 563 | cryptodata | Apache License 2.0 |
CustomComplication/everyonescomplication/src/main/java/com/artrointel/everyonescomplication/example/CounterComplicationService.kt | artrointel | 454,702,122 | false | {"Kotlin": 53048} | package com.artrointel.everyonescomplication.example
import android.app.PendingIntent
import android.content.ComponentName
import android.content.Intent
import android.os.Handler
import android.os.Looper
import android.util.Log
import androidx.wear.watchface.complications.data.ComplicationData
import androidx.wear.wat... | 1 | Kotlin | 0 | 4 | df16b1f688b58040048e8198bd2bcf6e9e31afd0 | 3,586 | EveryonesComplication | Apache License 2.0 |
vuejs-tests/src/org/jetbrains/vuejs/lang/VueCssClassTest.kt | wuxianqiang | 508,329,768 | false | null | // Copyright 2000-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.hxz.mpxjs.lang
import com.intellij.javascript.web.assertUnresolvedReference
import com.intellij.javascript.web.moveToOffsetBySignature
import com.intellij.javascript.... | 0 | Kotlin | 0 | 1 | 324941e55e9c55f4d2536a8b3e60e29e50aecb08 | 1,751 | intellij-plugin-mpx | Apache License 2.0 |
nugu-android-helper/src/main/java/com/skt/nugu/sdk/platform/android/focus/AndroidAudioFocusInteractor.kt | nugu-developers | 214,067,023 | false | {"Kotlin": 2748228, "Java": 1646, "Ruby": 1432} | /**
* Copyright (c) 2019 SK Telecom Co., Ltd. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:www.apache.org/licenses/LICENSE-2.0
*
* Unless requir... | 0 | Kotlin | 17 | 18 | e0570448bc5ec17b3af969b564f6a8aec85fd960 | 10,895 | nugu-android | Apache License 2.0 |
android-sample/src/main/java/com/boswelja/ephemeris/sample/custompagesource/CustomSourceComposeCalendarFragment.kt | boswelja | 455,066,630 | false | {"Kotlin": 74538} | package com.boswelja.ephemeris.sample.custompagesource
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.PaddingValues
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.padding
import androidx.compose.material3.MaterialTheme
import androidx... | 6 | Kotlin | 3 | 9 | 67b765ad84bd0842aa170924909945b7fdf73dd6 | 3,029 | Ephemeris | MIT License |
app/src/main/java/com/indisparte/moovaride/domain/model/Ticket.kt | iamantoniodinuzzo | 698,121,364 | false | {"Kotlin": 170845} | package com.indisparte.moovaride.domain.model
import android.os.Build
import androidx.annotation.ColorRes
import androidx.annotation.DrawableRes
import androidx.annotation.RequiresApi
import androidx.annotation.StringRes
import com.indisparte.moovaride.R
import com.indisparte.moovaride.util.DateHelper
import java.io.S... | 2 | Kotlin | 0 | 0 | ece192351030418549c8f01c11a684d555a66007 | 5,484 | MoovaRide | Apache License 2.0 |
buildSrc/src/main/kotlin/Dependencies.kt | toanpv | 620,264,148 | false | {"Kotlin": 229782} | object Dependencies {
object Versions {
object Androidx {
const val appCompat = "1.7.0-alpha02"
const val coreKtx = "1.10.0-rc01"
const val fragment = "1.6.0-alpha08"
const val constraintLayout = "2.1.4"
const val navigation = "2.6.0-alpha08"
... | 0 | Kotlin | 0 | 0 | 8e7af488fe4fd9f12c51ce960200a36c2a6c6dd8 | 5,023 | InspiusArena | Apache License 2.0 |
crystal-map-connector/src/main/kotlin/ch/ergon/dope/extension/type/relational/Exists.kt | ergon | 745,483,606 | false | {"Kotlin": 1067559} | package ch.ergon.dope.extension.type.relational
import ch.ergon.dope.resolvable.expression.unaliased.type.collection.ExistsExpression
import ch.ergon.dope.resolvable.expression.unaliased.type.collection.exists
import ch.ergon.dope.toDopeType
import ch.ergon.dope.validtype.BooleanType
import ch.ergon.dope.validtype.Num... | 5 | Kotlin | 0 | 4 | 4c494f18fa19ad2e7f5bbe74d32a571639dedf84 | 792 | dope-query-builder | MIT License |
app/src/main/java/ceui/loxia/Client.kt | yibulaxi | 607,589,023 | true | {"Java Properties": 2, "Gradle": 6, "Shell": 1, "Markdown": 4, "Git Attributes": 1, "Batchfile": 1, "Text": 2, "Ignore List": 5, "XML": 338, "YAML": 4, "INI": 1, "Proguard": 4, "Java": 430, "Kotlin": 97, "JSON": 1, "CSS": 1} | package ceui.loxia
import android.content.Context
import ceui.lisa.http.AccountTokenApi
import ceui.lisa.http.AppApi
import okhttp3.OkHttpClient
import okhttp3.Protocol
import retrofit2.Retrofit
import retrofit2.converter.gson.GsonConverterFactory
import java.util.concurrent.TimeUnit
object Client {
private val ... | 0 | null | 0 | 0 | 5f7b79c04d535813addc679a01fd1d0876f2b7ec | 2,773 | Pixiv-Shaft | MIT License |
hamming-error-correction/src/main/kotlin/com/pivovarit/hamming/domain/decode/HammingDecoder.kt | pivovarit | 101,035,547 | false | {"Maven POM": 30, "Text": 3, "Ignore List": 5, "Markdown": 32, "Batchfile": 1, "Shell": 1, "INI": 6, "Java": 110, "HTML": 5, "Kotlin": 22, "YAML": 5, "CODEOWNERS": 1, "AsciiDoc": 2, "SQL": 2, "JavaScript": 18, "JSON": 2, "CSS": 17, "SCSS": 15} | package com.pivovarit.hamming.domain.decode
import com.pivovarit.hamming.domain.BinaryString
import com.pivovarit.hamming.domain.EncodedString
import com.pivovarit.hamming.domain.decode.stateless.SequentialStatelessDecoder
interface HammingDecoder {
companion object {
fun sequentialStateless(): HammingDec... | 7 | JavaScript | 37 | 131 | 855a41e0962e686c8770ef8a415e6415b845a5e4 | 468 | articles | Apache License 2.0 |
amusepush/src/main/java/com/appndigital/amusepush/helper/VariantHelperImpl.kt | appndigital | 175,809,307 | false | {"Gradle": 5, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 4, "Batchfile": 1, "Markdown": 1, "Proguard": 3, "Kotlin": 19, "XML": 16, "Java": 4} | /*
* Copyright (c) 2018 by Appndigital, Inc.
* All Rights Reserved
*/
package com.appndigital.amusepush.helper
import android.content.Context
import com.appndigital.amusepush.BuildConfig
import com.appndigital.amusepush.R
enum class EnvironmentType {
DEV,
PROD
}
class VariantHelper {
companion objec... | 1 | null | 1 | 1 | 185b0c57157c7a878eb9c85b4f9b94a4546037a6 | 1,093 | amuse-push | Apache License 2.0 |
app/src/main/java/com/tmvlg/smsreceiver/domain/numberforrent/searchnumber/GetCountryUseCase.kt | aifsbei | 376,591,680 | false | null | package com.tmvlg.smsreceiver.domain.numberforrent.searchnumber
class GetCountryUseCase(private var countryRepository: SearchCountryRepository) {
fun getCountry(countryId: Int): Country {
return countryRepository.getCountry(countryId)
}
} | 0 | Kotlin | 1 | 2 | ce9a182c23ab33494201dd096966a6690fda8b40 | 256 | SMS-Receiver | MIT License |
feature/home/src/main/java/dev/maxsiomin/prodhse/feature/home/data/dto/current_weather_response/Main.kt | MaxSiominDev | 782,187,914 | false | {"Kotlin": 325821} | package dev.maxsiomin.prodhse.feature.home.data.dto.current_weather_response
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
import androidx.annotation.Keep
@Keep
@Serializable
internal data class Main(
@SerialName("temp")
val temp: Double? = null,
@SerialName("feels_like... | 0 | Kotlin | 0 | 1 | 6cb1694f8c96c67964dc5628dc3ac67464a4c676 | 721 | LifestyleHUB | MIT License |
app/src/main/java/xyz/mcmxciv/halauncher/apps/OnAppVisibilityToggledListener.kt | jcbmln | 211,974,402 | false | {"Kotlin": 179563, "JavaScript": 1028} | package xyz.mcmxciv.halauncher.apps
typealias OnAppVisibilityToggledListener = (activityName: String) -> Unit
| 0 | Kotlin | 0 | 4 | 8e32a17a5905f97ebc0c8c621b707e0ea5a36e27 | 111 | halauncher | Apache License 2.0 |
app/src/main/java/com/app/financeapp/network/FinanceAppApiService.kt | Potsane | 523,103,915 | false | {"Kotlin": 36626} | package com.app.financeapp.network
import com.app.financeapp.network.model.NewsArticlesResult
import com.app.financeapp.util.NEWS_FEED_URL
import retrofit2.Response
import retrofit2.http.GET
interface FinanceAppApiService {
@GET(NEWS_FEED_URL)
// @GET("http://saurav.tech/NewsAPI/everything/cnn.json")
susp... | 11 | Kotlin | 1 | 0 | dba00c218aa4257d674118d9ccc209cc850af8b8 | 377 | finance_app | Apache License 2.0 |
requestly-android-okhttp/src/test/kotlin/io/requestly/android/okhttp/internal/data/har/ContentTest.kt | requestly | 473,092,599 | false | null | package com.chuckerteam.chucker.internal.data.har
import com.chuckerteam.chucker.util.HarTestUtils
import com.google.common.truth.Truth.assertThat
import org.junit.Test
internal class ContentTest {
@Test
fun `content is created correctly with size`() {
val content = HarTestUtils.createContent("GET")
... | 7 | null | 3 | 70 | 319e8a96c2e49bc75bed0ce79a8ff51730ff0f96 | 788 | requestly-android-sdk | Apache License 2.0 |
SDBridgeKotlin/src/main/java/com/housenkui/sdbridgekotlin/CallMessage.kt | YuHayring | 551,835,319 | false | {"Kotlin": 20220, "JavaScript": 4284, "HTML": 3255} | package com.housenkui.sdbridgekotlin
/**
* @date 2022/10/15
* @author Hayring
* @description call message before serialize by gson
*/
data class CallMessage(
val handlerName: String,
val data: Any?,
val callbackId: String?
) | 0 | Kotlin | 2 | 1 | 34e28d1571fd134db465d48d75552c7a28ce24ad | 241 | SDBridgeKotlin | MIT License |
src/test/kotlin/uk/gov/justice/digital/hmpps/prisonerfromnomismigration/courtsentencing/CourtSentencingMappingApiMockServer.kt | ministryofjustice | 452,734,022 | false | {"Kotlin": 1630292, "Mustache": 1803, "Dockerfile": 1374} | package uk.gov.justice.digital.hmpps.prisonerfromnomismigration.courtsentencing
import com.fasterxml.jackson.databind.ObjectMapper
import com.github.tomakehurst.wiremock.client.CountMatchingStrategy
import com.github.tomakehurst.wiremock.client.WireMock
import com.github.tomakehurst.wiremock.client.WireMock.aResponse
... | 4 | Kotlin | 0 | 2 | 90390707558a0729b4b1338085826b2390874827 | 4,844 | hmpps-prisoner-from-nomis-migration | MIT License |
data/src/main/java/com/yapp/gallery/data/api/login/ArtieNaverService.kt | YAPP-Github | 561,171,842 | false | null | package com.yapp.gallery.data.api.login
import com.yapp.gallery.data.model.TokenLoginBody
import com.yapp.gallery.domain.entity.login.FirebaseToken
import retrofit2.http.Body
import retrofit2.http.POST
interface ArtieNaverService {
@POST("/verifyToken")
suspend fun tokenLogin(@Body tokenLoginBody: TokenLoginB... | 1 | Kotlin | 0 | 2 | 1e983c822bcb5ae09b054b77da0ffbad3bc112ac | 342 | 21st-ALL-Rounder-Team-2-Android | Apache License 2.0 |
app/src/main/java/com/vtnd/lus/base/binding/FragmentBindingAdapters.kt | VTNPlusD | 304,347,147 | false | null | package com.vtnd.lus.base.binding
import android.graphics.drawable.Drawable
import android.widget.ImageView
import androidx.databinding.BindingAdapter
import androidx.fragment.app.Fragment
import com.bumptech.glide.Glide
import com.bumptech.glide.request.RequestListener
import com.vtnd.lus.shared.constants.Constants
i... | 0 | Kotlin | 1 | 2 | dfe63b1a5d76ce13a1663752823ffbf24b8549e2 | 1,094 | lus-android | MIT License |
app/src/main/java/org/robojackets/apiary/ui/global/AppTopBar.kt | RoboJackets | 369,067,791 | false | {"Kotlin": 234535, "Ruby": 6715} | package org.robojackets.apiary.ui.global
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.compose.material... | 24 | Kotlin | 0 | 0 | 8478042da4fb7e27b723d26b976e7d6ef6dd82bd | 2,345 | apiary-mobile | Apache License 2.0 |
waltid-wallet-api/src/main/kotlin/id/walt/webwallet/usecase/notification/NotificationUseCase.kt | walt-id | 701,058,624 | false | {"Kotlin": 1791725, "Vue": 327781, "TypeScript": 92214, "JavaScript": 20560, "Dockerfile": 6475, "Shell": 1651, "CSS": 404} | package id.walt.webwallet.usecase.notification
import id.walt.webwallet.config.ConfigManager
import id.walt.webwallet.config.NotificationConfig
import id.walt.webwallet.db.models.Notification
import id.walt.webwallet.service.notifications.NotificationService
import io.github.oshai.kotlinlogging.KotlinLogging
import io... | 20 | Kotlin | 27 | 79 | 50bae539101d2f7b98a4aa7bbcbcf510c4a405f4 | 1,784 | waltid-identity | Apache License 2.0 |
app/src/androidTest/kotlin/com/mgaetan89/showsrage/extension/SharedPreferencesExtension_GetServerUsernameTest.kt | id-ks | 107,322,013 | true | {"Kotlin": 763835, "Shell": 374} | package com.mgaetan89.showsrage.extension
import android.content.SharedPreferences
import android.support.test.rule.ActivityTestRule
import android.support.test.runner.AndroidJUnit4
import com.mgaetan89.showsrage.TestActivity
import org.assertj.core.api.Assertions.assertThat
import org.junit.After
import org.junit.Bef... | 0 | Kotlin | 0 | 0 | 8b32e27b8e468f13b942313a80761569a61f4f05 | 1,881 | ShowsRage | Apache License 2.0 |
shared/src/commonMain/kotlin/dev.andrew.prosto/usecase/createTicketUseCase.kt | FUZIK | 636,271,510 | false | {"Kotlin": 162496, "Swift": 342} | package dev.andrew.prosto.usecase
import dev.andrew.prosto.database.TicketStore
import dev.andrew.prosto.repository.CoworkTicketResult
import dev.andrew.prosto.repository.Coworking
import dev.andrew.prosto.repository.ProstoTicketSource
import dev.andrew.prosto.repository.TicketInfo
interface CreateTicketUseCase {
... | 0 | Kotlin | 0 | 0 | 99107aefdb742989ccdea0b48ba8b3abe848121b | 945 | prosto | MIT License |
app/src/main/java/com/vue/mv/microvideo/ui/activity/WebViewActivity.kt | matrixccp | 160,831,958 | false | null | package com.vue.mv.microvideo.ui.activity
import android.app.Service
import android.content.Context
import android.content.Intent
import android.view.KeyEvent
import com.vue.mv.microvideo.R
import com.vue.mv.microvideo.base.BaseActivity
import com.weblib.webview.AccountWebFragment
import com.weblib.webview.BaseWebview... | 0 | Kotlin | 0 | 0 | e300fba8d8e5804d8ebd4f51ace5585e619acbfa | 2,516 | MicoVideo | MIT License |
keycloakapi/src/main/kotlin/de/klg71/keycloakmigration/keycloakapi/model/UserCredential.kt | mayope | 162,558,921 | false | null | package de.klg71.keycloakmigration.model
import java.util.*
data class UserCredential(val algorithm: String? = "pbkdf2-sha256",
val counter: Int? = 0,
val createdDate: Long? = Date().time,
val digits: Int? = 0,
va... | 1 | null | 21 | 95 | cc02c906bb4801678a1435f7d51f97d0ebece87d | 634 | keycloakmigration | MIT License |
Task 1/Task1.2.kt | CasChrist | 860,957,872 | false | {"Kotlin": 28160} | fun main() {
var count = 0
var sum = 0.0
while (true) {
println("Введите число (0 для завершения):")
val input = readln().toDouble()
if (input == 0.0) {
break
}
count++
sum += input
}
if (count > 0) {
val average = sum / count
... | 0 | Kotlin | 0 | 0 | 5ec7b59fb83313a09be26723134e55adc6851b61 | 532 | MobilesLab0 | MIT License |
libs/kuboo_remote/src/main/java/com/sethchhim/kuboo_remote/task/Task_RemoteTlsCipherSuite.kt | befora | 137,512,422 | false | null | package com.sethchhim.kuboo_remote.task
import com.sethchhim.kuboo_remote.client.OkHttpHelper
class Task_RemoteTlsCipherSuite(val okHttpHelper: OkHttpHelper) {
fun getTlsCipherSuite() = okHttpHelper.getTlsCipherSuite()
} | 1 | Kotlin | 39 | 81 | 33e456344172eab96b136e30130c4125096f253d | 228 | Kuboo | Apache License 2.0 |
Chapter11/hands_on_platform_views/android/src/main/kotlin/com/example/hands_on_platform_views/HandsOnTextViewFactory.kt | PacktPublishing | 206,722,966 | false | null | package com.example.hands_on_platform_views
import android.content.Context
import io.flutter.plugin.common.BinaryMessenger
import io.flutter.plugin.common.StandardMessageCodec
import io.flutter.plugin.platform.PlatformView
import io.flutter.plugin.platform.PlatformViewFactory
class HandsOnTextViewFactory : PlatformV... | 1 | null | 42 | 89 | 8bfe0af4ad5e569148e7b72c1e0f02130229a38f | 659 | Flutter-for-Beginners | MIT License |
app/src/main/java/com/example/runningroute/ui/fragments/TrackingFragment.kt | tej1562 | 379,552,782 | false | null | package com.example.runningroute.ui.fragments
import android.content.Intent
import android.os.Bundle
import android.view.Menu
import android.view.View
import androidx.fragment.app.Fragment
import androidx.fragment.app.viewModels
import androidx.navigation.fragment.findNavController
import com.example.runningroute.R
im... | 0 | Kotlin | 1 | 0 | f2fbde1ca889d58f74555e372c181278236a8027 | 8,516 | RunningRoute | Apache License 2.0 |
app/src/main/java/com/merttoptas/composebase/data/remote/utils/DataState.kt | merttoptas | 467,006,657 | false | {"Kotlin": 178792} | package com.merttoptas.composebase.data.remote.utils
import com.merttoptas.composebase.data.model.APIError
/**
* Created by merttoptas on 12.03.2022
*/
sealed class DataState<T> {
class Success<T>(val data: T) : DataState<T>()
class Loading<T> : DataState<T>()
class Error<T>(val apiError: APIError?) : ... | 2 | Kotlin | 25 | 227 | 84ce69aaab69ca351c09712bc7213da0dcbf7639 | 336 | BaseApp-Jetpack-Compose-Android-Kotlin | Apache License 2.0 |
yangxj96-serve/yangxj96-serve-system/src/main/java/com/yangxj96/saas/server/system/Application.kt | yangxj96 | 574,967,993 | false | {"Kotlin": 199100} | package com.yangxj96.saas.server.system
import org.mybatis.spring.annotation.MapperScan
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.runApplication
import org.springframework.cloud.client.discovery.EnableDiscoveryClient
/**
* 系统配置启动类
*/
@MapperScan("com.yangxj... | 0 | Kotlin | 0 | 0 | 8ffe43a2ae1373215ce92957735dcfbc109e4507 | 489 | yangxj96-saas-api | MIT License |
app/src/main/java/com/noto/app/domain/model/NoteLabel.kt | alialbaali | 245,781,254 | false | null | package com.noto.app.domain.model
import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.ForeignKey
import androidx.room.PrimaryKey
import kotlinx.serialization.Serializable
@Serializable
@Entity(
tableName = "note_labels",
foreignKeys = [
ForeignKey(
entity = Not... | 14 | Kotlin | 1 | 60 | c5905ae84bc0e5224d7c5ac39d10f670b37c17dc | 1,102 | Noto | Apache License 2.0 |
Fase-1/API/self-order-management/src/main/kotlin/com/fiap/selfordermanagement/core/domain/repositories/ClientRepository.kt | FIAP-3SOAT-G15 | 686,372,615 | false | {"Kotlin": 9352, "HCL": 2087, "Makefile": 622, "Java": 99} | package com.fiap.selfordermanagement.core.domain.repositories
import com.fiap.selfordermanagement.core.domain.entities.Client
interface ClientRepository {
fun findByName(name: String) : Client?
fun findAll() : List<Client>
} | 9 | Kotlin | 0 | 4 | 1aef3b7d3ed770ae90e66fefcb2106f8974bf2e9 | 234 | tech-challenge | MIT License |
SummaryRanges.kt | ncschroeder | 604,822,497 | false | {"Kotlin": 67556} | /*
https://leetcode.com/problems/summary-ranges/
You are given a sorted unique integer array `nums`.
A range [a,b] is the set of all integers from a to b (inclusive).
Return the smallest sorted list of ranges that cover all the numbers in the array exactly. That is, each element of `nums` is covered by exactly one o... | 0 | Kotlin | 0 | 0 | cd64f2d08db36084ebef5e4f2aea51da991e5d81 | 1,246 | Coding-Challenges | MIT License |
app/src/main/java/com/akvelon/bitbuckler/ui/screen/repository/details/source/list/adapter/SelectBranchAdapter.kt | akvelon | 635,643,587 | false | null | /**
* All rights reserved by Akvelon Inc.
*
* Created by <NAME> (<EMAIL>)
* on 30 April 2021
*/
package com.akvelon.bitbuckler.ui.screen.repository.details.source.list.adapter
import android.view.View
import android.view.ViewGroup
import androidx.recyclerview.widget.RecyclerView
import by.kirich1409.viewbindingd... | 0 | Kotlin | 0 | 1 | b95918f9b8902c03dcbaf55071a1f51270b115e3 | 2,000 | Bitbuckler-Android | MIT License |
droidcraft-sdk/src/main/java/me/sankalpchauhan/droidcraft/sdk/network/internal/interceptors/RetryInterceptor.kt | sankalpchauhan-me | 729,879,955 | false | {"Kotlin": 60331} | /*
* Copyright (c) 2023. <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... | 0 | Kotlin | 0 | 0 | 1680a652f18318dc2f7eb0a6de3ad26241f9767a | 2,172 | droidcraft-sdk | Apache License 2.0 |
cottontaildb-dbms/src/main/kotlin/org/vitrivr/cottontail/dbms/index/pq/quantizer/SerializableMultiStageProductQuantizer.kt | vitrivr | 160,775,368 | false | {"Kotlin": 2769182, "TypeScript": 98011, "Java": 97672, "HTML": 38965, "ANTLR": 23679, "CSS": 8582, "SCSS": 1690, "JavaScript": 1441, "Dockerfile": 548} | package org.vitrivr.cottontail.dbms.index.pq.quantizer
import jetbrains.exodus.bindings.ComparableBinding
import jetbrains.exodus.bindings.IntegerBinding
import jetbrains.exodus.util.LightOutputStream
import org.vitrivr.cottontail.core.queries.functions.math.distance.binary.VectorDistance
import org.vitrivr.cottontail... | 23 | Kotlin | 20 | 38 | baaf9a8799ed9a7c6b5113587fdca674d3f11497 | 6,161 | cottontaildb | MIT License |
collector/src/main/java/com/bitmovin/analytics/data/IEventDataDispatcher.kt | bitmovin | 120,633,749 | false | {"Kotlin": 1363235, "Java": 25098, "Shell": 13133} | package com.bitmovin.analytics.data
/**
* Has to be greater or equal than Ingress side limit (currently 1000).
*/
const val SEQUENCE_NUMBER_LIMIT = 1000
interface IEventDataDispatcher {
fun enable()
fun disable()
fun add(data: EventData)
fun addAd(data: AdEventData)
fun resetSourceRelatedSta... | 0 | Kotlin | 6 | 9 | eba960cdc95c2142f5f4bbeb0275690122dc65f9 | 327 | bitmovin-analytics-collector-android | Amazon Digital Services License |
app/src/main/java/com/github/jing332/tts_server_android/ui/systts/base/BaseScriptEditorActivity.kt | jing332 | 536,800,727 | false | null | package com.github.jing332.tts_server_android.ui.systts.base
import android.annotation.SuppressLint
import android.content.Intent
import android.content.pm.ActivityInfo
import android.net.Uri
import android.os.Bundle
import android.os.Parcelable
import android.text.Html
import android.view.Menu
import android.view.Men... | 6 | Kotlin | 127 | 1,393 | 8e07e8842cf4cec70154041fcd6a64ad2352d8c8 | 11,547 | tts-server-android | MIT License |
straight/src/commonMain/kotlin/me/localx/icons/straight/outline/TimeQuarterTo.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.straight.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.Mite... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 3,181 | icons | MIT License |
android/app/src/main/java/org/cryptimeleon/incentive/app/domain/model/TokenUpdateChoice.kt | cryptimeleon | 320,273,336 | false | {"Java": 716234, "Kotlin": 330128, "Vue": 27878, "JavaScript": 2540, "Shell": 2198, "Dockerfile": 703, "HTML": 589, "CSS": 148} | package org.cryptimeleon.incentive.app.domain.model
import org.cryptimeleon.incentive.promotion.ZkpTokenUpdateMetadata
import org.cryptimeleon.incentive.promotion.sideeffect.SideEffect
import org.cryptimeleon.math.structures.cartesian.Vector
import java.math.BigInteger
import java.util.*
/**
* Choices that the user ... | 31 | Java | 0 | 2 | a8e9c8830974b3705a2bca80a092ccfc102f6b90 | 1,452 | incentive-system | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.