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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
data-layer/src/main/kotlin/es/plexus/android/marvelpedia/datalayer/service/MarvelApiService.kt | pablodeafsapps | 355,627,418 | false | null | package es.plexus.android.marvelpedia.datalayer.service
import es.plexus.android.marvelpedia.datalayer.domain.CharacterDataDtoWrapper
import retrofit2.Response
import retrofit2.http.GET
import retrofit2.http.QueryMap
import retrofit2.http.Url
/**
* This interface is used by Retrofit to conform the API service querie... | 0 | Kotlin | 0 | 0 | 3e5000dc06ccf7f403c6dc340ba25c60008b558d | 1,023 | marvel-pedia | Plexus Classworlds License |
packages/plugin-compiler/src/main/kotlin/io/realm/compiler/Registrar.kt | john-reynan | 354,320,897 | true | {"Kotlin": 378513, "SWIG": 10202, "CMake": 2866, "Java": 974} | /*
* Copyright 2020 Realm 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 agreed to in wr... | 0 | null | 0 | 0 | d83c2cf91eb0f9a0a4136042913f06c7caae7218 | 1,741 | realm-kotlin | DOC License |
app/src/main/java/com/rohitthebest/manageyourrenters/data/RenterElectricityBillInfo.kt | rkumar0206 | 308,063,719 | false | null | package com.rohitthebest.manageyourrenters.data
import java.io.Serializable
data class RenterElectricityBillInfo(
var previousReading: Double,
var currentReading: Double,
var rate: Double,
var differenceInReading: Double,
var totalElectricBill: Double
) : Serializable {
constructor() : this(
... | 16 | Kotlin | 0 | 1 | 2487d56b4faae1cac5126fbd1e433acf625c3ad1 | 391 | ManageYourRenters | Creative Commons Zero v1.0 Universal |
app/src/main/java/com/cauchymop/datasetbob/MainActivity.kt | cauchymop | 235,671,461 | false | null | /*
* Copyright 2019 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | 0 | Kotlin | 0 | 0 | 2bfa1e19ccf8cfeb181c0b7e199498034ff7f9d0 | 2,876 | DatasetBob | Apache License 2.0 |
src/main/java/com/aillen/shopmall/module/order/OrderAllFragment.kt | anlonglong | 138,116,731 | false | {"Kotlin": 234110, "HTML": 390} | package com.aillen.shopmall.module.order
/**
* Created by anlonglong on 2018/5/17.
* Email: <EMAIL>
*/
class OrderAllFragment : BaseOrderFragment() {
override fun getState() = State.STATE_ALL
companion object {
fun getInstance() = OrderAllFragment()
}
} | 0 | Kotlin | 2 | 2 | 6ceafeca69702605c08a04957c57ab66bff01d08 | 278 | ShopMall | Apache License 2.0 |
app/src/main/java/com/istu/schedule/ui/page/schedule/found/FoundScheduleViewModel.kt | imysko | 498,018,609 | false | {"Kotlin": 846714} | package com.istu.schedule.ui.page.schedule.found
import android.util.Log
import androidx.lifecycle.SavedStateHandle
import com.istu.schedule.data.api.entities.RequestException
import com.istu.schedule.domain.entities.schedule.ScheduleType
import com.istu.schedule.domain.usecase.schedule.GetScheduleOnDayUseCase
import ... | 1 | Kotlin | 1 | 2 | 52791643ed0112a97cb0e6cdd7d996075e3b881c | 2,887 | Schedule-ISTU | MIT License |
openpss/src/main/kotlin/com/hanggrian/openpss/db/schemas/Wages.kt | hanggrian | 104,778,225 | false | {"Kotlin": 324374, "HTML": 18736, "SCSS": 7162, "CSS": 5335, "Ruby": 147} | package com.hanggrian.openpss.db.schemas
import com.hanggrian.openpss.db.Document
import kotlinx.nosql.Id
import kotlinx.nosql.integer
import kotlinx.nosql.mongodb.DocumentSchema
object Wages : DocumentSchema<Wage>("wages", Wage::class) {
val wageId = integer("wage_id")
val daily = integer("daily")
val ho... | 1 | Kotlin | 0 | 7 | 02013488fc115de903e7775d7c6d18d83537dcac | 509 | openpss | Apache License 2.0 |
app/src/main/java/com/omerguzel/pokedex/data/remote/network/response/Sprites.kt | omerrguzel | 720,436,407 | false | {"Kotlin": 84274} | package com.omerguzel.pokedex.data.remote.network.response
import com.google.gson.annotations.SerializedName
data class Sprites(
@SerializedName("other")
val other: Other? = Other(),
)
| 0 | Kotlin | 0 | 0 | e0a0c9061531a18a6159e1394a7638b6ccbbab95 | 195 | Pokedex | The Unlicense |
app/src/main/java/com/example/android/horoka/api/ResponseAdapter.kt | dkozhuhar | 220,036,011 | false | null | package com.example.android.horoka.api
import com.example.android.horoka.db.HorokaPhoto
import com.squareup.moshi.FromJson
import com.squareup.moshi.ToJson
class ResponseAdapter {
@FromJson
fun fromJson(unsplashPhoto: UnsplashPhoto): HorokaPhoto {
return HorokaPhoto(
unsplashPhoto.id,
... | 0 | Kotlin | 0 | 0 | 1f182fd803a55ee875b2bd7827d463f2fbef57c0 | 1,548 | horoka | The Unlicense |
app/src/main/java/com/eebros/daggertutorial/MainActivityViewModel.kt | hajiyevelnur04 | 251,213,055 | false | null | package com.eebros.daggertutorial
import android.content.Context
import com.eebros.daggertutorial.base.BaseViewModel
import javax.inject.Inject
class MainActivityViewModel @Inject constructor(context: Context) : BaseViewModel() {
} | 0 | Kotlin | 0 | 0 | daf9067110e04000d639be9e09875f0d5fcbd9a0 | 234 | dagger-tutorial | MIT License |
filesystem/src/main/java/com/dropbox/android/external/fs3/filesystem/BreadthFirstFileTreeIterator.kt | yigit | 194,454,615 | true | {"Kotlin": 89196, "Shell": 1015} | package com.dropbox.android.external.fs3.filesystem
/*
* Copyright 2004-2007 the original author or authors.
*
* 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... | 2 | Kotlin | 2 | 6 | 929b4c40a48251ee07372b4ae75cfc3e17c00540 | 3,462 | Core | Apache License 2.0 |
cupertino-icons-extended/src/commonMain/kotlin/io/github/alexzhirkevich/cupertino/icons/filled/Forward.kt | alexzhirkevich | 636,411,288 | false | {"Kotlin": 5215549, "Ruby": 2329, "Swift": 2101, "HTML": 2071, "Shell": 868} | /*
* Copyright (c) 2023-2024. Compose Cupertino project and open source contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE... | 18 | Kotlin | 31 | 848 | 54bfbb58f6b36248c5947de343567903298ee308 | 3,260 | compose-cupertino | Apache License 2.0 |
adapty/src/main/java/com/adapty/api/entity/purchaserInfo/model/PurchaserInfoModel.kt | ditansu | 349,182,613 | true | {"Kotlin": 175974} | package com.adapty.api.entity.purchaserInfo.model
data class PurchaserInfoModel(
var customerUserId: String?,
var accessLevels: Map<String, AccessLevelInfoModel>?,
var subscriptions: Map<String, SubscriptionInfoModel>?,
var nonSubscriptions: Map<String, List<NonSubscriptionInfoModel>>?,
var customA... | 0 | null | 0 | 0 | c16d3c1f32369967b40e7fac31e4be676b08e692 | 1,352 | AdaptySDK-Android | MIT License |
ktfx-layouts/src/main/kotlin/ktfx/layouts/_MenuItem.kt | hendraanggrian | 102,934,147 | false | null | @file:JvmMultifileClass
@file:JvmName("KtfxLayoutsKt")
@file:OptIn(ExperimentalContracts::class)
@file:Suppress("ktlint")
package ktfx.layouts
import javafx.scene.Node
import javafx.scene.control.MenuItem
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.contracts.ExperimentalContracts
impo... | 1 | null | 2 | 16 | 00490172fbdc509203cecdd9f8271bf84cf62113 | 3,762 | ktfx | Apache License 2.0 |
app/src/main/java/com/skyyo/samples/features/gradientScroll/ChatMessage.kt | Skyyo | 385,529,955 | false | {"Kotlin": 557302} | package com.skyyo.samples.features.gradientScroll
data class ChatMessage(val message: String)
| 10 | Kotlin | 5 | 77 | 1319c3d29da4865d6f1931ee18137cdfc1715891 | 95 | samples | MIT License |
chat-core/src/main/java/com/fzm/chat/core/service/MessageService.kt | txchat | 507,831,442 | false | {"Kotlin": 2234450, "Java": 384844} | package com.fzm.chat.core.service
import android.app.PendingIntent
import android.app.Service
import android.content.*
import android.os.IBinder
import androidx.core.app.NotificationCompat
import androidx.lifecycle.Observer
import com.fzm.chat.core.R
import com.fzm.arch.connection.logic.MessageDispatcher
import com.fz... | 0 | Kotlin | 1 | 1 | 6a3c6edf6ae341199764d4d08dffd8146877678b | 3,845 | ChatPro-Android | MIT License |
chat-core/src/main/java/com/fzm/chat/core/service/MessageService.kt | txchat | 507,831,442 | false | {"Kotlin": 2234450, "Java": 384844} | package com.fzm.chat.core.service
import android.app.PendingIntent
import android.app.Service
import android.content.*
import android.os.IBinder
import androidx.core.app.NotificationCompat
import androidx.lifecycle.Observer
import com.fzm.chat.core.R
import com.fzm.arch.connection.logic.MessageDispatcher
import com.fz... | 0 | Kotlin | 1 | 1 | 6a3c6edf6ae341199764d4d08dffd8146877678b | 3,845 | ChatPro-Android | MIT License |
app/src/main/java/de/rauschdo/animals/fragments/category/AnimalAdapter.kt | rauschdo | 752,729,154 | false | {"Kotlin": 246779, "Java": 32524} | package de.rauschdo.animals.fragments.category
import android.view.MotionEvent
import android.view.ViewGroup
import android.widget.LinearLayout
import androidx.recyclerview.selection.ItemDetailsLookup
import androidx.recyclerview.selection.ItemKeyProvider
import androidx.recyclerview.selection.SelectionTracker
import ... | 0 | Kotlin | 0 | 0 | d193a3850a84cdcc591d2c1940711a84539ca98d | 6,498 | animals | MIT License |
cli_kt/app/src/main/kotlin/net/nanai10a/twomeat/cli/presenters/id/get/DiscordIdGetEventTransceiver.kt | Nanai10a | 330,746,827 | false | null | package net.nanai10a.twomeat.cli.presenters.id.get
import net.nanai10a.twomeat.cli.presenters.EventReceiver
import net.nanai10a.twomeat.cli.presenters.EventTransmissioner
class DiscordIdGetEventTransmissioner : EventTransmissioner<DiscordIdGetEvent> {
override val receivers: MutableList<EventReceiver<DiscordIdGet... | 1 | Kotlin | 0 | 1 | d28a4e3997958e703af79a8896655d96f06b043e | 560 | 2Meat-4.5th | MIT License |
reposilite-plugins/swagger-plugin/src/main/kotlin/com/reposilite/plugin/swagger/SwaggerPlugin.kt | dzikoysk | 96,474,388 | false | null | package com.reposilite.plugin.swagger
import com.reposilite.plugin.api.Facade
import com.reposilite.plugin.api.Plugin
import com.reposilite.plugin.api.ReposilitePlugin
import com.reposilite.plugin.event
import com.reposilite.plugin.facade
import com.reposilite.settings.SettingsFacade
import com.reposilite.web.api.Http... | 13 | Kotlin | 85 | 541 | 2d116b595c64c6b5a71b694ba6d044c40ef16b6a | 978 | reposilite | Apache License 2.0 |
src/main/kotlin/Lists.kt | JohannesOehm | 565,114,459 | false | {"Kotlin": 20530} | import org.hl7.fhir.r4.model.IntegerType
import org.hl7.fhir.r4.model.StringType
fun MutableList<StringType>.add(value: String) {
this.add(StringType(value))
}
fun MutableList<IntegerType>.add(value: Int) {
this.add(IntegerType(value))
}
| 0 | Kotlin | 0 | 0 | 2e34813e62aefcd5b32de7e92ba7854800d4fcf8 | 249 | hapi-utils | Apache License 2.0 |
src/main/kotlin/io/realworld/app/config/AuthConfig.kt | Rudge | 149,893,811 | false | null | package io.realworld.app.config
import com.auth0.jwt.interfaces.DecodedJWT
import io.javalin.Javalin
import io.javalin.core.JavalinConfig
import io.javalin.core.security.RouteRole
import io.javalin.http.Context
import io.javalin.http.ForbiddenResponse
import io.realworld.app.utils.JwtProvider
internal enum class Role... | 4 | null | 42 | 128 | f35739e4a13df84eaa57270a63e4739acd9882f8 | 1,421 | kotlin-javalin-realworld-example-app | MIT License |
publish-component/src/main/java/com/kotlin/android/publish/component/widget/article/view/item/IItemView.kt | R-Gang-H | 538,443,254 | false | null | package com.kotlin.android.publish.component.widget.article.view.item
import android.graphics.Rect
import android.view.View
import com.kotlin.android.ktx.ext.dimension.dp
import com.kotlin.android.ktx.ext.dimension.dpF
import com.kotlin.android.publish.component.widget.article.view.entity.IElementData
import com.kotli... | 0 | Kotlin | 0 | 1 | e63b1f9a28c476c1ce4db8d2570d43a99c0cdb28 | 2,447 | Mtime | Apache License 2.0 |
app/src/main/java/com/xeniac/fifaultimateteamcoin_dsfut_sell_fut/core/data/utils/Constants.kt | WilliamGates99 | 543,831,202 | false | {"Kotlin": 898249} | package com.xeniac.fifaultimateteamcoin_dsfut_sell_fut.core.data.utils
object Constants {
// Player Constants
const val PLAYER_EXPIRY_TIME_IN_MS = 180000 // 3 Minutes
} | 0 | Kotlin | 0 | 1 | a0b03bf204e6e681bbe587fdc928bff81e7e67e6 | 178 | FUTSale | Apache License 2.0 |
app/src/main/java/com/example/studysync/GroupAdapter.kt | mrnvcode | 747,928,649 | false | {"Kotlin": 27755} | package com.example.studysync
import Group
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.Button
import android.widget.TextView
import androidx.recyclerview.widget.RecyclerView
class GroupAdapter(private val groups: List<Group>) : RecyclerView.Adapter<G... | 0 | Kotlin | 0 | 0 | fcf47ef5a9357d45908bf5b192a77b48d31b1a48 | 1,921 | StudySync | MIT License |
decoder/wasm/src/commonMain/kotlin/io/github/charlietap/chasm/decoder/section/BinarySectionTypeDecoder.kt | CharlieTap | 743,980,037 | false | {"Kotlin": 898736, "WebAssembly": 7119} | package io.github.charlietap.chasm.decoder.section
import com.github.michaelbull.result.Result
import com.github.michaelbull.result.flatMap
import io.github.charlietap.chasm.error.WasmDecodeError
import io.github.charlietap.chasm.ext.sectionType
import io.github.charlietap.chasm.reader.WasmBinaryReader
import io.githu... | 2 | Kotlin | 1 | 16 | 1566c1b504b4e0a31ae5008f5ada463c47de71c5 | 505 | chasm | Apache License 2.0 |
ServicesExample/app/src/main/java/com/coderefer/servicesexample/MyService.kt | vamsitallapudi | 321,082,516 | false | null | package com.coderefer.servicesexample
import android.app.*
import android.content.Context
import android.content.Intent
import android.graphics.Color
import android.os.Build
import android.os.IBinder
import androidx.annotation.RequiresApi
private val notificationId = 204858
private val CHANNEL_ID = "204858"
private ... | 0 | Kotlin | 0 | 3 | fd846bba1541649577d7a8bcadcc73f4af709e26 | 2,752 | Coderefer-Android-Projects | Apache License 2.0 |
tasker-engine/src/main/java/top/xjunz/tasker/engine/applet/criterion/DslCriterion.kt | xjunz | 651,527,105 | false | {"Kotlin": 1063774, "Java": 386865, "HTML": 67262, "C": 29461, "JavaScript": 16670, "C++": 12159, "AIDL": 4190, "CMake": 1764} | /*
* Copyright (c) 2022 xjunz. All rights reserved.
*/
package top.xjunz.tasker.engine.applet.criterion
import top.xjunz.tasker.engine.applet.base.AppletResult
/**
* @author xjunz 2022/08/14
*/
internal class DslCriterion<T : Any, V : Any> : Criterion<T, V>() {
lateinit var matcher: ((T, V) -> Boolean)
... | 0 | Kotlin | 6 | 23 | 82893d0db2b13e12d8bee86b4cae0f16abd0e2f4 | 478 | AutoTask | Apache License 2.0 |
exercises/exercise_17/WeatherApp/app/src/main/java/fi/tuni/sinipelto/weatherapp/models/wml2/Wml2MeasurementTimeseries.kt | sinipelto | 405,707,763 | false | {"Kotlin": 337051, "HTML": 6061, "Java": 1248} | package fi.tuni.sinipelto.weatherapp.models.wml2
import org.simpleframework.xml.Attribute
import org.simpleframework.xml.ElementList
import org.simpleframework.xml.Namespace
import org.simpleframework.xml.Root
@Namespace(reference = "http://www.opengis.net/waterml/2.0", prefix = "wml2")
@Root(name = "MeasurementTimes... | 0 | Kotlin | 0 | 0 | c91c376880f0d1be540266b84d1f57a3a86a8fd9 | 752 | android-dev | MIT License |
app/src/commonMain/kotlin/com/materialkolor/builder/ui/home/preview/device/DeviceSection.kt | jordond | 860,167,006 | false | {"Kotlin": 441363, "Shell": 6336, "HTML": 4360, "Swift": 614, "CSS": 102} | package com.materialkolor.builder.ui.home.preview.device
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.FlowRow
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.... | 5 | Kotlin | 2 | 26 | acd61c7309d24df1e014d5a0e1b9674ad8cb692b | 1,207 | MaterialKolorBuilder | MIT License |
app/src/main/java/com/wa2c/android/medoly/plugin/action/lyricsscraper/search/ResultItem.kt | wa2c | 134,159,679 | false | {"Kotlin": 129480} | package com.wa2c.android.medoly.plugin.action.lyricsscraper.search
/**
* Search result info item.
*/
class ResultItem {
/** Media title. */
var musicTitle: String? = null
/** Media artist. */
var musicArtist: String? = null
// /** Media album. */
// var musicAlbum: String? = null
/** Ly... | 0 | Kotlin | 0 | 0 | 0383735bdc9e8df99af65c7a10344ccf5c8ee026 | 478 | medoly-lyrics-scraper-plugin | MIT License |
services/csm.cloud.project.project/src/main/kotlin/com/bosch/pt/iot/smartsite/project/importer/control/dto/UserDefinedFieldColumn.kt | boschglobal | 805,348,245 | false | {"Kotlin": 13156190, "HTML": 274761, "Go": 184388, "HCL": 158560, "Shell": 117666, "Java": 52634, "Python": 51306, "Dockerfile": 10348, "Vim Snippet": 3969, "CSS": 344} | /*
* ************************************************************************
*
* Copyright: Robert Bosch Power Tools GmbH, 2018 - 2023
*
* ************************************************************************
*/
package com.bosch.pt.iot.smartsite.project.importer.control.dto
import com.bosch.pt.iot.s... | 0 | Kotlin | 3 | 9 | 9f3e7c4b53821bdfc876531727e21961d2a4513d | 545 | bosch-pt-refinemysite-backend | Apache License 2.0 |
app/src/main/java/ro/valentin/cinemania/data/repository/FirebaseDatabaseRepositoryImpl.kt | DionisiuV | 494,924,349 | false | null | package ro.valentin.cinemania.data.repository
import android.util.Log
import com.google.firebase.database.FirebaseDatabase
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.flow
import kotlinx.coroutines.tasks.await
import ro.valentin.cinemania.core.Constants
import ro.valentin.cinemania.domain.model.... | 0 | Kotlin | 0 | 0 | 58f8dc8cb46c7b880a1fd7d774e6b74edecfafe1 | 2,558 | cinemania | Apache License 2.0 |
core/src/main/java/audio/omgsoundboard/core/data/local/SoundsDatabase.kt | OMGSoundboard | 72,438,238 | false | {"Kotlin": 133011, "HTML": 30981, "Dockerfile": 709} | package audio.omgsoundboard.data.local
import androidx.room.Database
import androidx.room.RoomDatabase
import androidx.room.TypeConverters
@Database(entities = [FavoritesEntity::class, CustomSoundsEntity::class], version = 1, exportSchema = false)
@TypeConverters(UriTypeConverter::class)
abstract class SoundsDatabas... | 7 | Kotlin | 4 | 20 | 8973aea1468173402ec6efd2cddaef5b96990454 | 448 | android-app | Apache License 2.0 |
app/src/main/java/br/com/ernanilima/jinventario/service/component/SwipeHelper.kt | ernanilima | 370,795,646 | false | null | package br.com.ernanilima.jinventario.service.component
import android.graphics.Canvas
import android.graphics.Color
import androidx.recyclerview.widget.ItemTouchHelper
import android.graphics.drawable.ColorDrawable
import android.graphics.drawable.Drawable
import br.com.ernanilima.jinventario.adapter.IRecyclerAdapter... | 0 | Kotlin | 0 | 2 | 8b98c69920f6bbc963f2f9ab926bda374f274dd1 | 2,879 | jinventario | MIT License |
app/src/main/kotlin/io/github/feelfreelinux/wykopmobilny/ui/widgets/entry/comment/CommentPresenter.kt | jakubparysz | 108,895,760 | true | {"Kotlin": 272948} | package io.github.feelfreelinux.wykopmobilny.ui.widgets.entry.comment
import io.github.feelfreelinux.wykopmobilny.api.entries.EntriesApi
import io.github.feelfreelinux.wykopmobilny.api.entries.TypedInputStream
import io.github.feelfreelinux.wykopmobilny.base.BasePresenter
import io.github.feelfreelinux.wykopmobilny.ui... | 0 | Kotlin | 0 | 0 | 71771c3f1973d72c46020177a3c8dde7ab815b4d | 983 | WykopMobilny | MIT License |
game/core/src/com/lyeeedar/Screens/GameLoopTest.kt | Lyeeedar | 257,053,243 | false | null | package com.lyeeedar.Screens
import com.lyeeedar.Util.AbstractGameLoopTest
import kotlinx.coroutines.delay
actual class GameLoopTest(completionCallback: ()->Unit) : AbstractGameLoopTest(completionCallback) {
override suspend fun doRun()
{
delay(5000)
}
} | 0 | Kotlin | 0 | 0 | f6a908743808189b47c299d247b7899e7417f771 | 261 | TemplateTileGame | Apache License 2.0 |
data/src/main/java/com/csosa/healiostest/data/repository/ForecastDaysRepository.kt | cdavidsp | 466,561,851 | false | {"Kotlin": 68581} | package com.csosa.healiostest.data.repository
import com.csosa.healiostest.data.local.dao.ForecastDaysDao
import com.csosa.healiostest.data.local.mappers.toDomain
import com.csosa.healiostest.data.local.mappers.toEntity
import com.csosa.healiostest.data.remote.api.HealiosApiService
import com.csosa.healiostest.data.re... | 0 | Kotlin | 0 | 0 | 8b4cafa4bf270d46e318f2beeb2dcd3606814b1c | 1,828 | canarytest | Apache License 2.0 |
app/src/main/java/com/example/play/ui/details/installbutton/animated/InstallButtonLayout.kt | pushpalroy | 301,166,308 | false | null | package com.example.play.ui.details.installbutton.animated
import androidx.compose.foundation.layout.padding
import androidx.compose.runtime.Composable
import androidx.compose.runtime.MutableState
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.remember
import androidx.compose.ui.Modifie... | 0 | Kotlin | 16 | 78 | 5d9487920c60a3a582f99bdcfa3a8a71dd174d46 | 1,132 | jetstore | Apache License 2.0 |
src/test/kotlin/org/rooftop/netx/engine/TransactionTypedReceiveStorage.kt | rooftop-MSA | 751,298,974 | false | {"Kotlin": 169884, "Java": 8573} | package org.rooftop.netx.engine
import io.kotest.matchers.equals.shouldBeEqual
import org.rooftop.netx.api.TransactionEvent
import org.rooftop.netx.api.TransactionStartEvent
import org.rooftop.netx.api.TransactionStartListener
import org.rooftop.netx.meta.TransactionHandler
import reactor.core.publisher.Mono
import ja... | 10 | Kotlin | 0 | 5 | 80e8758fa6d22744ea95afec2743351de41fcce3 | 1,995 | Netx | Apache License 2.0 |
app/src/main/java/org/bxkr/octodiary/models/rankingforsubject/PreviousRank.kt | OctoDiary | 474,135,407 | false | {"Kotlin": 426998} | package org.bxkr.octodiary.models.rankingforsubject
import com.google.gson.annotations.SerializedName
data class PreviousRank(
@SerializedName("averageMarkFive")
val averageMarkFive: Double,
@SerializedName("rankPlace")
val rankPlace: Int
) | 14 | Kotlin | 1 | 9 | a6dc1478c43a0bbae03ea803c7f7b5832203fce8 | 259 | OctoDiary-kt | MIT License |
app/src/main/java/apoi/mviapp/freesound/arch/Mvi.kt | apoi | 151,979,399 | false | null | /*
* Copyright 2017 Futurice GmbH
*
* 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 t... | 0 | Kotlin | 0 | 1 | fa0b89cd3bf18be31859b5420df2e2e3a955479b | 1,086 | mviapp | Apache License 2.0 |
bbfgradle/tmp/results/JVM-Xnew-inference-Xuse-ir/BACKEND_qhccefd_FILE.kt | DaniilStepanov | 346,008,310 | false | null | // Bug happens on JVM -Xnew-inference -Xuse-ir
//File: tmp/tmp0.kt
class A
val A
.aExtensionProperty: Int
get() = 1.also {}
val b:Any =
with(TODO(),{
(::aExtensionProperty)!!
})
| 1 | null | 1 | 1 | e772ef1f8f951873ebe7d8f6d73cf19aead480fa | 184 | kotlinWithFuzzer | Apache License 2.0 |
kotlin/services/xray/src/main/kotlin/com/kotlin/xray/DeleteSamplingRule.kt | awsdocs | 66,023,605 | false | null | //snippet-sourcedescription:[DeleteSamplingRule.kt demonstrates how to create a rule to control sampling behavior for instrumented applications.]
//snippet-keyword:[SDK for Kotlin]
//snippet-keyword:[Code Sample]
//snippet-service:[AWS X-Ray Service]
//snippet-sourcetype:[full-example]
//snippet-sourcedate:[11/05/2021]... | 176 | null | 3443 | 4,877 | 4022c702782e85f6258770b36d8b4b62b49db873 | 1,515 | aws-doc-sdk-examples | Apache License 2.0 |
src/main/kotlin/com/mcstarrysky/treasure/feature/location/Position.kt | Micalhl | 718,115,342 | false | {"Gradle Kotlin DSL": 2, "INI": 2, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "Markdown": 1, "Java": 1, "YAML": 5, "Kotlin": 21} | package com.mcstarrysky.treasure.feature.location
import org.bukkit.Bukkit
import org.bukkit.Location
import org.bukkit.block.BlockFace
import taboolib.common.util.unsafeLazy
import taboolib.common5.cdouble
/**
* Treasure
* com.mcstarrysky.treasure.feature.location.Position
*
* @author 米擦亮
* @date 2023/11/11 16:... | 0 | Java | 0 | 0 | 5ac24d42b782088632376c7b31fa75f47ca473d5 | 608 | Treasure | Creative Commons Zero v1.0 Universal |
app/src/main/java/com/mebk/pan/utils/RetrofitClient.kt | mebk-org | 346,362,454 | false | null | package com.mebk.pan.utils
import android.content.Context
import okhttp3.OkHttpClient
import okhttp3.logging.HttpLoggingInterceptor
import retrofit2.Retrofit
import retrofit2.converter.gson.GsonConverterFactory
import java.security.SecureRandom
import java.security.cert.X509Certificate
import java.util.concurrent.Time... | 1 | null | 1 | 3 | 84f0879e19708a4863699e0d751c685ae6739336 | 2,179 | MebkPan | Apache License 2.0 |
compiler/testData/diagnostics/tests/regressions/itselfAsUpperBoundLocal.kt | BradOselo | 367,097,840 | false | null | // !WITH_NEW_INFERENCE
fun bar() {
fun <<!CYCLIC_GENERIC_UPPER_BOUND!>T: T?<!>> foo() {}
<!TYPE_INFERENCE_NO_INFORMATION_FOR_PARAMETER{OI}!>foo<!>()
}
| 1 | null | 1 | 3 | 58c7aa9937334b7f3a70acca84a9ce59c35ab9d1 | 159 | kotlin | Apache License 2.0 |
compiler/testData/diagnostics/tests/regressions/itselfAsUpperBoundLocal.kt | BradOselo | 367,097,840 | false | null | // !WITH_NEW_INFERENCE
fun bar() {
fun <<!CYCLIC_GENERIC_UPPER_BOUND!>T: T?<!>> foo() {}
<!TYPE_INFERENCE_NO_INFORMATION_FOR_PARAMETER{OI}!>foo<!>()
}
| 1 | null | 1 | 3 | 58c7aa9937334b7f3a70acca84a9ce59c35ab9d1 | 159 | kotlin | Apache License 2.0 |
IotSmartCarServer/src/main/kotlin/shreckye/iotsmartcar/net/content/PhotoAlbumServiceUtils.kt | ShreckYe | 184,528,490 | false | null | package shreckye.iotsmartcar.net.content
import java.net.URL
fun getPhotoUrl(host: String, port: Int = PHOTO_ALBUM_SERVICE_DEFAULT_PORT, filename: String): String {
return URL("http", host, port, filename).toExternalForm()
}
| 1 | null | 1 | 1 | 36c358c06fb305f0347884dfaebf80d58dc32b25 | 231 | iot-smart-little-car-raspberrypi | Apache License 2.0 |
analytics/src/main/java/io/appmetrica/analytics/impl/CounterConfigurationKeys.kt | appmetrica | 650,662,094 | false | {"Java": 5810866, "C++": 5729793, "Kotlin": 2626120, "Python": 229161, "Objective-C++": 152166, "C": 127185, "Assembly": 59003, "Emacs Lisp": 14657, "Objective-C": 10302, "Starlark": 7767, "Shell": 5746, "Go": 4930, "CMake": 3562, "CSS": 1454, "AppleScript": 1429, "AIDL": 504} | package io.appmetrica.analytics.impl
object CounterConfigurationKeys {
private const val CFG_PREFIX = "CFG_"
const val DISPATCH_PERIOD = CFG_PREFIX + "DISPATCH_PERIOD"
const val SESSION_TIMEOUT = CFG_PREFIX + "SESSION_TIMEOUT"
const val MAX_REPORTS_COUNT = CFG_PREFIX + "MAX_REPORTS_COUNT"
const va... | 1 | Java | 5 | 54 | 472d3dfb1e09f4e7f35497e5049f53287ccce7d1 | 1,412 | appmetrica-sdk-android | MIT License |
library/src/main/java/com/lkoskela/headlessbarcodescanner/HeadlessBarcodeScanner.kt | luryus | 100,004,195 | false | null | package com.lkoskela.headlessbarcodescanner
import android.content.Context
import android.media.Image
import com.google.zxing.BarcodeFormat
import com.google.zxing.DecodeHintType
import kotlinx.coroutines.experimental.CommonPool
import kotlinx.coroutines.experimental.launch
import com.lkoskela.headlessbarcodescanner.b... | 0 | Kotlin | 0 | 0 | d391166f5382fcb73aca56c44ce51e8aa73c04e8 | 5,591 | HeadlessBarcodeScanner | Apache License 2.0 |
app/src/main/java/com/kstechsolutions/mvvm/modules/comments/CommentListAdapter.kt | muhammad-umair-khan | 129,701,503 | false | null | package com.kstechsolutions.mvvm.modules.comments
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.recyclerview.widget.DiffUtil
import androidx.recyclerview.widget.ListAdapter
import androidx.recyclerview.widget.RecyclerView
import com.kstechsolutions.mvvm.data.databinding.BindableAdapt... | 1 | null | 1 | 11 | e9fb38e085dc463cb60cf6c2025cdcc7ca95ab89 | 1,744 | android-architecture-components | MIT License |
quanmodule/src/main/java/com/jxd/android/gohomeapp/quanmodule/adapter/OrderAdapter.kt | hottech-jxd | 163,560,437 | false | null | package com.jxd.android.gohomeapp.quanmodule.adapter
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.BaseViewHolder
import com.facebook.drawee.view.SimpleDraweeView
import com.jxd.android.gohomeapp.quanmodule.R
import com.jxd.android.gohomeapp.quanmodule.bean.OrderBean
impor... | 0 | Kotlin | 0 | 0 | 26354c728502f82eaa4b39f7be0f810e44946fd3 | 1,347 | gohome-android | Apache License 2.0 |
example-kts/src/test/kotlin/com/github/gmazzo/example_kts/BuildConfigTest.kt | Doomsdayrs | 249,324,350 | false | null | package com.github.gmazzo.example_kts
import com.github.gmazzo.example_kts.myDependencyVersion
import org.junit.Assert.*
import org.junit.Test
import java.util.*
class BuildConfigTest {
@Test
fun testBuildConfigProperties() {
assertEquals("example-kts", BuildConfig.APP_NAME)
assertEquals("Z3J... | 1 | null | 1 | 1 | 54f90af5aca16330ed00aeec50a99f6f031741e9 | 1,631 | gradle-buildconfig-plugin | MIT License |
app/src/main/java/com/bapplications/maplemobile/input/events/events.kt | yakir4123 | 288,273,967 | false | {"Java": 234278, "Kotlin": 215193, "GLSL": 367} | package com.bapplications.maplemobile.input.events
import com.bapplications.maplemobile.gameplay.player.Stance
import com.bapplications.maplemobile.gameplay.player.look.Char
import com.bapplications.maplemobile.gameplay.player.look.Expression
import com.bapplications.maplemobile.input.InputAction
import com.bapplicati... | 1 | Java | 1 | 5 | e2498011430f658a0c8df0babecb46078934a33e | 2,333 | MapleMobile | Apache License 2.0 |
app/src/androidTest/java/com/andreapivetta/blu/data/jobs/NotificationsDataProviderTest.kt | mnemocode | 77,386,534 | true | {"Kotlin": 280728, "HTML": 9035, "Java": 7213} | package com.andreapivetta.blu.data.jobs
import android.support.test.runner.AndroidJUnit4
import org.junit.Assert.assertEquals
import org.junit.Assert.assertTrue
import org.junit.Test
import org.junit.runner.RunWith
/**
* Created by andrea on 29/11/16.
*/
@RunWith(AndroidJUnit4::class)
class NotificationsDataProvide... | 1 | Kotlin | 1 | 1 | ead56d324fe96d9f65f214275fca4fece95bf09c | 743 | Blum-kotlin | Apache License 2.0 |
debop4k-data-kundera/src/test/kotlin/debop4k/data/kundera/examples/model/collection/BlogPostTest.kt | debop | 60,844,667 | false | null | package debop4k.data.kundera.examples.model.collection
import debop4k.core.uninitialized
import debop4k.data.kundera.examples.AbstractKunderaTest
import org.assertj.core.api.Assertions.assertThat
import org.junit.*
import javax.persistence.*
/**
* BlogPostTest
* @author debop
* @since 2017. 2. 12.
*/
class BlogPo... | 1 | null | 10 | 40 | 5a621998b88b4d416f510971536abf3bf82fb2f0 | 1,949 | debop4k | Apache License 2.0 |
app/src/main/java/soup/animation/sample/drawable/ripple/RippleFragment.kt | fornewid | 205,703,351 | false | null | package soup.animation.sample.drawable.ripple
import android.animation.ValueAnimator
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.core.animation.doOnRepeat
import androidx.core.view.postOnAnimationDelayed
import androidx.fragment.app... | 0 | Kotlin | 0 | 13 | 4dcc8d4a20b973567987afb0ca31935c10f806b3 | 1,776 | android-animation-10p-more | Apache License 2.0 |
idea/idea-frontend-fir/src/org/jetbrains/kotlin/idea/frontend/api/fir/utils/ReadOnlyWeakRef.kt | krzema12 | 312,049,057 | false | null | /*
* Copyright 2010-2020 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.idea.frontend.api.fir.utils
import org.jetbrains.kotlin.idea.frontend.api.tokens... | 34 | null | 2 | 24 | af0c7cfbacc9fa1cc9bec5c8e68847b3946dc33a | 1,283 | kotlin-python | Apache License 2.0 |
app_kotlin/src/main/java/edu/ptu/java/app_kotlin/MainActivity.kt | rickgit | 50,967,587 | false | {"C": 12241963, "C++": 2655688, "Java": 1011960, "Objective-C": 573643, "CMake": 145060, "Kotlin": 49459, "Assembly": 32239, "M4": 24713, "Perl": 22722, "Makefile": 8022, "Shell": 4853, "Metal": 3796, "Python": 2615, "Groovy": 1885, "Batchfile": 615} | package edu.ptu.java.app_kotlin
import android.os.Bundle
import android.view.View
import android.view.ViewGroup
import androidx.appcompat.app.AppCompatActivity
import androidx.core.view.setPadding
import androidx.databinding.DataBindingUtil
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
i... | 0 | C | 0 | 1 | c25b60d39b37cfcba835e7fd72240d70866f52f2 | 1,472 | Test | Apache License 2.0 |
shelter-backend/src/test/kotlin/ai/shelter/shelterbackend/controller/CatControllerTest.kt | zipper2110 | 584,783,144 | false | null | package ai.shelter.shelterbackend.controller
import ai.shelter.shelterbackend.entity.Cat
import ai.shelter.shelterbackend.entity.Location
import org.junit.jupiter.api.Assertions.*
import com.fasterxml.jackson.databind.ObjectMapper
import org.assertj.core.api.Assertions.assertThat
import org.junit.jupiter.api.Assertio... | 0 | Kotlin | 0 | 0 | 1cd3d92f60a406532df71f43c0f50b9f421629db | 2,713 | ai-animal-shelter | MIT License |
kotlin-mbedtls/src/main/kotlin/org/opencoap/ssl/CidSupplier.kt | open-coap | 475,045,844 | false | null | /*
* Copyright (c) 2022 kotlin-mbedtls contributors (https://github.com/open-coap/kotlin-mbedtls)
* SPDX-License-Identifier: Apache-2.0
* 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
*
... | 1 | null | 2 | 9 | 0396648bbea48b9f2d29ab641d6fadcad3a837bb | 1,077 | kotlin-mbedtls | Apache License 2.0 |
app/src/main/java/com/hansung/sherpa/transit/pedestrian/PedestrianRouteRequest.kt | KJH0506 | 792,786,312 | false | {"Kotlin": 827793} | package com.hansung.sherpa.transit.pedestrian
import com.google.gson.annotations.SerializedName
data class PedestrianRouteRequest(
@SerializedName("startX") val startX: Float,
@SerializedName("startY") val startY: Float,
@SerializedName("endX") val endX: Float,
@SerializedName("endY") val endY: Float,... | 0 | Kotlin | 3 | 0 | f29a26ff0a1622f371fa43f480e5cf9a9d741439 | 999 | Naver_Navi_TeamProject | Apache License 2.0 |
bussewasdk/src/main/java/com/diyalotech/bussewasdk/network/retrofit/ApiService.kt | Diyalo-Technologies | 528,717,979 | false | {"Kotlin": 180924} | package com.diyalotech.bussewasdk.network.retrofit
import com.diyalotech.bussewasdk.network.dto.*
import retrofit2.http.*
internal interface ApiService {
@GET("v2/booking/routes")
suspend fun getRoutes(): RouteListDTO
@POST("v2/booking/trips")
suspend fun findTrips(@Body requestDTO: TripListRequestD... | 0 | Kotlin | 0 | 0 | 653ff6141d11ca2b8df9265db92c55cf1d554ea4 | 936 | BusSewa-Android-SDK | Apache License 2.0 |
src/nativeCore/kotlin/godot/core/Vector3.kt | piiertho | 237,614,467 | true | {"Kotlin": 5300589} | package godot.core
import gdnative.godot_vector3
import gdnative.godot_vector3_axis
import kotlinx.cinterop.*
class Vector3(
value: CValue<godot_vector3>
): CoreType<godot_vector3>(value) {
enum class Axis(val value: Int, internal val axis: godot_vector3_axis) {
X(0, godot_vector3_axis.GODOT_VECTOR3_AXIS_X),
... | 0 | null | 0 | 1 | 3a8c598040f9b47b2b8cf8f5432543f61d6f83e8 | 8,475 | godot-kotlin | MIT License |
starter/app/src/main/java/com/udacity/shoestore/feature/InstructionsFragment.kt | AndrewHossam | 542,545,537 | false | {"Kotlin": 10983} | package com.udacity.shoestore.feature
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import androidx.navigation.fragment.findNavController
import com.udacity.shoestore.databinding.FragmentInstructionsBinding
clas... | 0 | Kotlin | 0 | 0 | f8df1ac703e95cc862b9c09ac7714909c03e85e4 | 972 | ShoeStore | MIT License |
dependencies/src/main/kotlin/de/fayard/dependencies/internal/ConfigurationDependenciesMigration.kt | radityagumay | 252,471,946 | true | {"Kotlin": 109240} | package de.fayard.dependencies.internal
import de.fayard.versions.internal.cli.AnsiColor
import de.fayard.versions.internal.cli.CliGenericUi
import de.fayard.versions.internal.getVersionPropertyName
import de.fayard.versions.internal.hasHardcodedVersion
import de.fayard.versions.internal.retrieveVersionKeyReader
impor... | 0 | null | 0 | 1 | e5d230d4102cccf942a44bcb405ca79dcbf4fba5 | 4,472 | refreshVersions | MIT License |
app/src/main/java/com/example/jetpack_compose_all_in_one/features/domain_search/DomainSearchViewModel.kt | myofficework000 | 626,474,700 | false | {"Kotlin": 1392414} | package com.example.jetpack_compose_all_in_one.features.domain_search
import androidx.compose.runtime.mutableStateOf
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.example.jetpack_compose_all_in_one.utils.ResultState
import dagger.hilt.android.lifecycle.HiltViewModel
import kot... | 21 | Kotlin | 22 | 222 | 4de5418608d6917b5c97fac7d868454c424daa26 | 967 | Jetpack-Compose-All-in-one-Guide | MIT License |
sdk-lib/src/androidTest/java/cash/z/ecc/android/sdk/internal/SdkSynchronizerTest.kt | Electric-Coin-Company | 151,763,639 | false | {"Kotlin": 1163220, "Rust": 120638} | package cash.z.ecc.android.sdk.internal
import androidx.test.filters.SmallTest
import androidx.test.platform.app.InstrumentationRegistry
import cash.z.ecc.android.bip39.Mnemonics
import cash.z.ecc.android.sdk.Synchronizer
import cash.z.ecc.android.sdk.WalletInitMode
import cash.z.ecc.android.sdk.exception.InitializeEx... | 189 | Kotlin | 9 | 5 | a4550c24a598dd0088aef77ff17f6b0892e44418 | 6,127 | zcash-android-wallet-sdk | MIT License |
pix/src/main/java/io/ak1/pix/models/Models.kt | akshay2211 | 132,399,277 | false | null | package io.ak1.pix.models
import android.annotation.SuppressLint
import android.net.Uri
import android.os.Parcelable
import kotlinx.parcelize.IgnoredOnParcel
import kotlinx.parcelize.Parcelize
import java.util.*
/**
* Created By Akshay Sharma on 17,June,2021
* https://ak1.io
*/
@SuppressLint("ParcelCreator")
@Par... | 4 | null | 217 | 858 | c832dae96d7b4d3698a7b4b62980bd7b0372c54b | 1,508 | PixImagePicker | Apache License 2.0 |
android/anc/src/test/java/org/smartregister/fhircore/anc/ui/family/details/FamilyDetailViewModelTest.kt | opensrp | 339,242,809 | false | null | /*
* Copyright 2021 Ona Systems, 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... | 158 | Kotlin | 10 | 18 | 9d7044a12ef2726705a3019cb26ab03bc48bc28c | 5,528 | fhircore | Apache License 2.0 |
src/backend/ci/core/process/biz-process/src/test/kotlin/com/tencent/devops/process/engine/utils/ContainerUtilsTest.kt | necrohuang | 227,612,065 | true | {"Kotlin": 12321904, "Vue": 3575964, "Java": 1424480, "JavaScript": 914356, "CSS": 428463, "TSQL": 287717, "Lua": 204919, "Go": 136780, "HTML": 46195, "TypeScript": 33124, "Shell": 29974, "Python": 3714, "PLSQL": 2378, "Batchfile": 2174, "Makefile": 669} | package com.tencent.devops.process.engine.utils
import org.junit.Assert.assertEquals
import org.junit.Test
class ContainerUtilsTest {
@Test
fun getContainerStartupKey() {
val pipelineId = "p-12345678901234567890123456789012"
val buildId = "b-12345678901234567890123456789012"
val cont... | 0 | Kotlin | 0 | 0 | 237eeb686b2f443a16e1147ab26d88fe4897d2d7 | 561 | bk-ci | MIT License |
breeze-core/src/main/kotlin/core/extension/InternalExtensions.kt | DragonKnightOfBreeze | 205,561,109 | false | null | // Copyright (c) 2020-2021 DragonKnightOfBreeze Windea
// Breeze is blowing...
@file:JvmName("InternalExtensions")
@file:Suppress("UNCHECKED_CAST", "ReplaceSizeZeroCheckWithIsEmpty")
package icu.windea.breezeframework.core.extension
import java.lang.reflect.*
import java.math.BigDecimal
import java.math.BigInteger
i... | 1 | Kotlin | 1 | 8 | c418324b41aa517a7eb921589099c54ce7e160a6 | 7,728 | Breeze-Framework | MIT License |
kvision-modules/kvision-material/src/jsMain/kotlin/io/kvision/material/widget/MdWidget.kt | rjaros | 120,835,750 | false | {"Kotlin": 3524783, "CSS": 25183, "JavaScript": 16390, "HTML": 2425} | /*
* Copyright (c) 2017-present <NAME>
* Copyright (c) 2024 <NAME> <<EMAIL>>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the righ... | 17 | Kotlin | 65 | 1,235 | 7daa34594be70c037bfbaeefbfd1e3d7629e1e0b | 6,934 | kvision | MIT License |
generated/src/main/kotlin/com/laidpack/sourcerer/generated/EditTextFactory.kt | dpnolte | 151,090,095 | false | null | package com.laidpack.sourcerer.generated
import android.content.Context
import android.view.View
import android.widget.EditText
import com.laidpack.generator.api.ViewElement
import java.lang.Class
import kotlin.String
@ViewElement(
elementType = EditTextFactory.elementType,
attributesClazz = EditTextA... | 8 | Kotlin | 1 | 0 | 9513bbc54768e9248c450b0aba125b433c447e68 | 942 | sourcerer | Apache License 2.0 |
sms-persistence/src/main/kotlin/team/msg/sms/persistence/authentication/AuthenticationHistoryPersistenceAdapter.kt | GSM-MSG | 625,717,097 | false | {"Kotlin": 388304, "Shell": 1480, "Dockerfile": 288} | package team.msg.sms.persistence.authentication
import org.springframework.stereotype.Component
import team.msg.sms.domain.authentication.model.Authentication
import team.msg.sms.domain.authentication.model.AuthenticationHistory
import team.msg.sms.domain.authentication.spi.AuthenticationHistoryPort
import team.msg.sm... | 6 | Kotlin | 0 | 9 | 4005f8463b9248f8a21ab48255e12027381f1118 | 1,835 | SMS-BackEnd | MIT License |
src/main/kotlin/no/nav/tilleggsstonader/soknad/infrastruktur/IntegrasjonerClient.kt | navikt | 681,542,878 | false | {"Kotlin": 151699, "HTML": 30107, "Shell": 913, "Dockerfile": 171} | package no.nav.tilleggsstonader.soknad.infrastruktur
import com.fasterxml.jackson.module.kotlin.readValue
import no.nav.tilleggsstonader.kontrakter.dokarkiv.ArkiverDokumentRequest
import no.nav.tilleggsstonader.kontrakter.dokarkiv.ArkiverDokumentResponse
import no.nav.tilleggsstonader.kontrakter.felles.ObjectMapperPro... | 3 | Kotlin | 0 | 0 | f6273292ec5b4f5a734a92e7989867718eb6f30f | 2,015 | tilleggsstonader-soknad-api | MIT License |
mime/src/main/java/com/jetictors/futures/mime/mime/ui/MimeInfoFragment.kt | Jetictors | 118,728,987 | false | {"Java": 170792, "Kotlin": 110014} | package com.jetictors.futures.mime.mime.ui
import android.os.Bundle
import android.view.View
import com.jetictors.futures.common.base.BaseActivity
import com.jetictors.futures.common.base.BaseFragment
import com.jetictors.futures.mime.R
import kotlinx.android.synthetic.main.frag_mime_info.*
/**
* 描述 : 个人信息页面
* a... | 0 | Java | 1 | 3 | 52d6987e6db03e458d220d73491663c1d5c1ebd9 | 2,443 | Juejin-Kotlin | Apache License 2.0 |
jetbrains-core/src/software/aws/toolkits/jetbrains/services/sqs/toolwindow/SqsWindow.kt | sumanth712bs | 298,881,314 | true | {"Gradle Kotlin DSL": 11, "Markdown": 15, "Java Properties": 2, "Shell": 1, "Text": 7, "Ignore List": 3, "Batchfile": 1, "EditorConfig": 3, "YAML": 10, "Kotlin": 754, "XML": 62, "Java": 16, "SVG": 58, "INI": 1, "JSON": 23, "CODEOWNERS": 1, "Microsoft Visual Studio Solution": 5, "C#": 78} | // Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
package software.aws.toolkits.jetbrains.services.sqs.toolwindow
import com.intellij.openapi.components.service
import com.intellij.openapi.project.Project
import icons.AwsIcons
import kotlinx.coroutines.C... | 0 | null | 0 | 1 | 0529799f4cae1aa2ead56d2b55ed495f3948be00 | 3,203 | aws-toolkit-jetbrains | Apache License 2.0 |
src/main/java/systems/rishon/cloud/tasks/ServerManagerTask.kt | Rishon | 814,896,859 | false | {"Kotlin": 17134} | package systems.rishon.cloud.tasks
import systems.rishon.cloud.handler.MainHandler
class ServerManagerTask(private val handler: MainHandler) : Runnable {
override fun run() {
this.handler.getServerManager().monitorAndScale()
this.handler.getServerManager().autoHeal()
}
} | 0 | Kotlin | 0 | 0 | 417c6d9e9799c3bd06f6612b8b7e2d44f694f962 | 299 | cloud | MIT License |
app/src/main/java/com/demo/openweather/forecast/data/model/Coord.kt | madhu2b4u | 229,975,551 | false | null | package com.demo.openweather.forecast.data.model
data class Coord(
val lat: Double,
val lon: Double
) | 0 | Kotlin | 0 | 0 | 3ee9d026114791e2792f6d319f50b9dda53a3aa5 | 110 | OpenWeather | The Unlicense |
app/src/main/java/com/vultisig/wallet/ui/screens/keygen/SecureSetupScreen.kt | vultisig | 789,965,982 | false | {"Kotlin": 1481084, "Ruby": 1713} | package com.vultisig.wallet.ui.screens.keygen
import androidx.compose.foundation.Image
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foun... | 39 | Kotlin | 2 | 6 | 98e6a0754d4872ce4d44fa4a631488d4f805397f | 5,534 | vultisig-android | Apache License 2.0 |
library/src/test/java/cloud/pace/sdk/appkit/AppRepositoryTest.kt | pace | 303,641,261 | false | null | package cloud.pace.sdk.appkit
import android.content.Context
import android.location.Location
import cloud.pace.sdk.PACECloudSDK
import cloud.pace.sdk.api.poi.generated.model.LocationBasedAppWithRefs
import cloud.pace.sdk.api.poi.generated.model.LocationBasedAppsWithRefs
import cloud.pace.sdk.appkit.app.api.AppReposit... | 0 | Kotlin | 0 | 3 | ed4d7b1e2e0d72f9d5f7ffc8c9ccf3df6940eefe | 7,800 | cloud-sdk-android | MIT License |
crystal-map-connector/src/main/kotlin/ch/ergon/dope/extension/type/relational/IsValued.kt | ergon | 745,483,606 | false | {"Kotlin": 1890779} | package ch.ergon.dope.extension.type.relational
import ch.ergon.dope.resolvable.expression.unaliased.type.relational.isNotValued
import ch.ergon.dope.resolvable.expression.unaliased.type.relational.isValued
import ch.ergon.dope.toDopeType
import com.schwarz.crystalapi.schema.CMJsonField
@JvmName("isValuedNumber")
fun... | 2 | Kotlin | 0 | 6 | af51e2f07c7cee2fcd8ce8ce64fd4b31b8a7719a | 862 | dope-query-builder | MIT License |
2689.Extract Kth Character From The Rope Tree.kt | sarvex | 842,260,390 | false | {"Kotlin": 1775678, "PowerShell": 418} | /**
* Definition for a rope tree node.
* class RopeTreeNode {
* int len;
* String val;
* RopeTreeNode left;
* RopeTreeNode right;
* RopeTreeNode() {}
* RopeTreeNode(String val) {
* this.len = 0;
* this.val = val;
* }
* RopeTreeNode(int len) {
* this.len = len;
* this.val = "";
* }
* RopeTreeNode(int len... | 0 | Kotlin | 0 | 0 | 71f5d03abd6ae1cd397ec4f1d5ba04f792dd1b48 | 820 | kotlin-leetcode | MIT License |
lib/src/commonMain/kotlin/br/com/androidvip/snappier/ui/component/SnappierCardComponent.kt | Lennoard | 782,262,217 | false | {"Kotlin": 99664, "TypeScript": 5066, "Ruby": 2165, "Swift": 594, "HTML": 593} | package br.com.androidvip.snappier.ui.component
import androidx.compose.foundation.BorderStroke
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.com... | 0 | Kotlin | 0 | 0 | 6f4e9bfe9a88abe961816c55cc8992642265e1ba | 4,370 | Snappier | MIT License |
shared/src/androidMain/kotlin/com/kgurgul/cpuinfo/ui/screen/ScreenInfoScreenPreview.kt | kamgurgul | 105,620,694 | false | {"Kotlin": 432547, "C": 167973, "Swift": 5197, "C++": 4834, "CMake": 622, "Objective-C": 82} | package com.kgurgul.cpuinfo.ui.screen
import androidx.compose.runtime.Composable
import androidx.compose.ui.tooling.preview.Preview
import com.kgurgul.cpuinfo.features.information.screen.ScreenInfoScreen
import com.kgurgul.cpuinfo.features.information.screen.ScreenInfoViewModel
import com.kgurgul.cpuinfo.ui.theme.CpuI... | 30 | Kotlin | 98 | 612 | 508ccb8079c8f66c2b3265b8f182d3793d8daefe | 625 | cpu-info | Apache License 2.0 |
core/src/main/java/com/luszczuk/makebillingeasy/exception/BillingException.kt | michal-luszczuk | 448,391,029 | false | {"Kotlin": 46906} | package com.luszczuk.makebillingeasy.exception
import com.android.billingclient.api.BillingClient.BillingResponseCode
import com.android.billingclient.api.BillingResult
sealed class BillingException(
val result: BillingResult
) : Exception("Billing exception, code: ${result.responseCode}, message: ${result.debugM... | 2 | Kotlin | 1 | 14 | d8906414b6c0aeb3b9b8b1bdc0cb887614882c17 | 3,436 | MakeBillingEasy | Apache License 2.0 |
aap-mda-lv2/src/androidTest/java/org/androidaudioplugin/aap_mda_lv2/AudioPluginInterfaceTest.kt | atsushieno | 336,765,976 | false | null | package org.androidaudioplugin.aap_mda_lv2
import android.content.ComponentName
import android.content.Context
import android.content.Intent
import androidx.test.core.app.ApplicationProvider
import androidx.test.rule.ServiceTestRule
import org.androidaudioplugin.AudioPluginHostHelper
import org.androidaudioplugin.Audi... | 0 | Kotlin | 0 | 0 | da4898cfa94b9c9290ec1411d4a9a2722a775045 | 1,776 | aap-lv2-mda | MIT License |
sq-core/src/main/kotlin/me/ore/sq/generic/SqGenericInListTest.kt | o-r-e | 614,027,727 | false | null | package me.ore.sq.generic
import me.ore.sq.*
open class SqGenericInListTest<JAVA: Boolean?>(
override val context: SqContext,
override val type: SqType<JAVA, Boolean>,
override val negative: Boolean,
override val testedValue: SqExpression<*, *>,
override val listValues: List<SqExpression<*, *>>,
... | 0 | Kotlin | 0 | 0 | bb6fe063fc16ddda63067e821737b6e8b0f96812 | 956 | sq | MIT License |
compose-designer/src/com/android/tools/idea/compose/preview/actions/ViewOptionsAction.kt | zakharchanka | 314,699,321 | true | {"Text": 342, "EditorConfig": 1, "Markdown": 54, "Ignore List": 133, "Starlark": 86, "XML": 11605, "Java": 8168, "Kotlin": 4229, "Gradle": 802, "Proguard": 121, "INI": 42, "JSON": 77, "Graphviz (DOT)": 1, "Ant Build System": 1, "Protocol Buffer": 1, "HTML": 60, "Shell": 19, "Batchfile": 12, "Java Properties": 130, "Gra... | /*
* Copyright (C) 2019 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... | 0 | null | 0 | 0 | cd393da1a11d2dfe572f4baa6eef882256e95d6a | 2,715 | android-1 | Apache License 2.0 |
MonospacedTextField/src/main/kotlin/example/App.kt | aterai | 158,348,575 | false | {"Kotlin": 4358653, "JavaScript": 241284, "Java": 14467, "HTML": 378} | package example
import java.awt.*
import java.awt.font.TextAttribute
import java.util.concurrent.ConcurrentHashMap
import javax.swing.*
fun makeUI(): Component {
val code = "BC89FE5A"
val field0 = JFormattedTextField(code)
field0.setHorizontalAlignment(SwingConstants.RIGHT)
field0.setColumns(8)
val field1 =... | 0 | Kotlin | 6 | 28 | 433dfe2513f1016eeb1fdc0c42551623a8cfaadf | 3,785 | kotlin-swing-tips | MIT License |
app/src/main/java/com/hashir/android/modules/splash/view/SplashActivity.kt | hashir1296 | 397,981,718 | false | null | package com.hashir.android.modules.splash.view
import android.content.Intent
import android.os.Bundle
import android.os.Handler
import android.os.Looper
import androidx.appcompat.app.AppCompatActivity
import androidx.databinding.DataBindingUtil
import com.hashir.android.R
import com.hashir.android.databinding.Fragment... | 0 | Kotlin | 0 | 0 | ee3289cd2a671d892af1af1a38b9a59c445b9bb2 | 892 | Airlift_Gallery | Apache License 2.0 |
src/main/kotlin/io/github/faecraft/heartshapedbox/body/BodyPartSide.kt | FaeCraft | 323,479,413 | false | null | package io.github.faecraft.heartshapedbox.body
import java.util.*
internal interface LowerCaseEnumName {
fun lowerName(): String
}
public enum class BodyPartSide : LowerCaseEnumName {
CENTER, LEFT, RIGHT;
override fun lowerName(): String = name.toLowerCase(Locale.ROOT)
}
| 0 | Kotlin | 0 | 0 | b54f434c20eb4b35b2dde9b07b524936bf82882e | 288 | Heart-Shaped-Box | Apache License 2.0 |
app/src/main/java/com/kartikasw/kelilink/core/data/mapper/StoreMapper.kt | kartikasw | 578,517,405 | false | null | package com.kartikasw.kelilink.core.data.mapper
import com.kartikasw.kelilink.core.data.source.remote.response.StoreResponse
import com.kartikasw.kelilink.core.domain.model.Store
fun StoreResponse.toModel(): Store =
Store(
address, categories,
distance = 0.0,
fcm_token = fcm_token,
... | 0 | Kotlin | 0 | 0 | 4a093849b9f66f1c6f00a02424d34ecb202f737e | 470 | kelilink | MIT License |
conversionTestData/testLoops.kt | lightningkite | 161,243,441 | false | null | @file:SharedCode
package com.test.loops
import com.lightningkite.khrysalis.*
fun main(){
for(item in listOf(1, 2, 3, 4)) {
println(item)
}
val map = mapOf(1 to 2, 3 to 4)
for((key, value) in map.entries.sortedBy { it.key }){
println("$key: $value")
}
var i = 0
while(i < 4){... | 13 | Kotlin | 0 | 9 | b620e939c7461799ae1dae91e9b4b426fa3acfc1 | 499 | khrysalis | MIT License |
src/main/kotlin/uk/gov/justice/digital/hmpps/hmppschallengesupportinterventionplanapi/entity/AuditEvent.kt | ministryofjustice | 797,799,207 | false | {"Kotlin": 459135, "Mermaid": 28674, "Shell": 1890, "Dockerfile": 1372} | package uk.gov.justice.digital.hmpps.hmppschallengesupportinterventionplanapi.entity
import jakarta.persistence.Column
import jakarta.persistence.Entity
import jakarta.persistence.EnumType
import jakarta.persistence.Enumerated
import jakarta.persistence.GeneratedValue
import jakarta.persistence.GenerationType
import j... | 4 | Kotlin | 0 | 0 | 39c3de8dc6c20e3a03140a8bfcb03380ebe85143 | 2,033 | hmpps-challenge-support-intervention-plan-api | MIT License |
SpinnerTest/app/src/main/java/com/example/spinnertest/MainActivity.kt | Danielle-Kensy | 292,074,849 | false | null | package com.example.spinnertest
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.view.View
import android.widget.*
import androidx.constraintlayout.widget.ConstraintLayout
import com.example.spinnertest.model.User
class MainActivity : AppCompatActivity() {
private lateinit ... | 0 | Kotlin | 0 | 0 | d5a165fa1056bc859d4747cedd02fa6e79bb59e0 | 2,321 | mobile-android-lessons | MIT License |
app/src/main/java/com/example/compose/ui/viewmodel/HomeViewModel.kt | zhqnrf | 862,237,493 | false | {"Kotlin": 65537} | package com.example.compose.ui.viewmodel
import androidx.compose.runtime.State
import androidx.compose.runtime.mutableStateOf
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.example.compose.data.CharacterRepository
import com.example.compose.model.Character
import com.example.co... | 0 | Kotlin | 0 | 0 | e515b2d74c29a6e9929abb19c2e7fa897c66fec2 | 1,450 | konosuba-jetpackapp | MIT License |
kotlin/spring-kotlin-restful-demo/src/test/kotlin/top/spencercjh/demo/service/StudentServiceTest.kt | spencercjh | 175,650,453 | false | null | package top.spencercjh.demo.service
import org.junit.jupiter.api.Assertions.*
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.extension.ExtendWith
import org.slf4j.LoggerFactory
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.boot.test.context.SpringBootTest
impo... | 9 | null | 1 | 7 | be27d99380c0a1bdf4bea9a86b0d436deb7e2d2d | 4,453 | codeLife | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.