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/com/github/kerubistan/kerub/planner/steps/storage/fs/create/CreateImageBasedOnTemplateExecutor.kt | kerubistan | 19,528,622 | false | null | package com.github.kerubistan.kerub.planner.steps.storage.fs.create
import com.github.kerubistan.kerub.data.dynamic.VirtualStorageDeviceDynamicDao
import com.github.kerubistan.kerub.host.HostCommandExecutor
import com.github.kerubistan.kerub.model.dynamic.VirtualStorageFsAllocation
import com.github.kerubistan.kerub.u... | 109 | Kotlin | 4 | 14 | 99cb43c962da46df7a0beb75f2e0c839c6c50bda | 1,480 | kerub | Apache License 2.0 |
wear/src/main/java/de/michelinside/glucodatahandler/complications/ActiveComplicationHandler.kt | pachi81 | 587,280,747 | false | {"Kotlin": 813094, "Java": 1673} | package de.michelinside.glucodatahandler
import android.annotation.SuppressLint
import android.content.ComponentName
import android.content.Context
import android.content.pm.PackageInfo
import android.content.pm.PackageManager
import android.os.Build
import android.os.Bundle
import android.util.Log
import androidx.wea... | 5 | Kotlin | 3 | 56 | 8ca4fcef5277806e557161bf90c830d08513765a | 4,657 | GlucoDataHandler | MIT License |
src/main/kotlin/com/github/liff/dbexternalcommandauth/Acquire.kt | liff | 715,666,133 | false | {"Kotlin": 6421, "Nix": 378} | package com.github.liff.dbexternalcommandauth
import com.intellij.credentialStore.Credentials
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.withContext
suspend fun acquire(
command: String,
parse: (String) -> Credentials? = ::parse,
): Result<Credentials?> =
withContext(Dispatchers.IO) {... | 0 | Kotlin | 0 | 1 | 68484ed814763cae7801cc49b72079f1176c7a0b | 1,035 | db-external-command-auth | MIT License |
app/src/main/java/com/guard/ui/customview/MyGridView.kt | jackli688 | 132,226,850 | false | null | package com.guard.ui.customview
import android.content.Context
import android.graphics.Canvas
import android.util.AttributeSet
import android.view.ViewGroup
/**
* @author: jackli
* @version: V1.0
* @project: My360
* @package: com.guard.ui.customview
* 最终要实现的目标
* @description: https://www.jianshu.com/p/7be162740... | 1 | Kotlin | 1 | 1 | 8e87aebf1eee088428ca598d0bc238a9d3887786 | 4,593 | My360 | Apache License 2.0 |
src/commonMain/kotlin/org/guiVista/gui/widget/widget_base.kt | gui-vista | 331,127,836 | false | null | package org.guiVista.gui.widget
import org.guiVista.core.ObjectBase
/** Base interface for all widget's (controls). */
public expect interface WidgetBase : ObjectBase
| 0 | Kotlin | 0 | 0 | 484e1e8437a3d57faaf5667489d622402fe7be01 | 169 | guivista-gui | Apache License 2.0 |
geary-core/src/commonMain/kotlin/com/mineinabyss/geary/events/CheckHandler.kt | MineInAbyss | 306,093,350 | false | null | package com.mineinabyss.geary.events
import com.mineinabyss.geary.components.RequestCheck
import com.mineinabyss.geary.components.events.FailedCheck
import com.mineinabyss.geary.systems.GearyListener
import com.mineinabyss.geary.systems.accessors.EventScope
import com.mineinabyss.geary.systems.accessors.SourceScope
im... | 19 | Kotlin | 9 | 23 | b4e5b1b5365d600cdd5eda11ae4d4a0c8249165b | 1,014 | Geary | MIT License |
library/src/main/kotlin/dev/hossain/hangouts/model/location/PhoneI18n.kt | hossain-khan | 275,430,458 | false | {"Kotlin": 35068} | package dev.hossain.hangouts.model.location
import com.squareup.moshi.JsonClass
/**
* ```
* {
* "national_number": "(234) 567-8900",
* "international_number": "+1 234-567-8900",
* "country_code": 1,
* "region_code": "US",
* "is_valid": true,
* "validation_result": "IS_POSSIBLE"
* }
*... | 9 | Kotlin | 1 | 4 | 5f101dd18a09475e0aaa9909564d78c54644a469 | 623 | kotlin-google-hangouts-parser | MIT License |
src/main/kotlin/engine_helpers/ScreenHandler.kt | olracnai | 758,262,334 | false | {"Kotlin": 31476} | package engine_helpers
import androidx.compose.runtime.Composable
import views.mainScreenA
import views.mainScreenB
import java.io.File
object ScreenHandler {
private const val FILE_PATH = "RJP"
private const val FILE_NAME = "MSState"
init {
File(FILE_PATH).mkdirs()
val file = File("$FILE_... | 0 | Kotlin | 0 | 1 | 1b3573a7ea6449453723621d1194ff7dd0821447 | 882 | redshift-jetpack | MIT License |
sam-kotlin-core/src/test/kotlin/software/elborai/api/services/blocking/SimulationServiceTest.kt | DefinitelyATestOrg | 787,029,213 | false | {"Kotlin": 12996764, "Shell": 3638, "Dockerfile": 366} | // File generated from our OpenAPI spec by Stainless.
package software.elborai.api.services.blocking
import java.time.LocalDate
import java.time.OffsetDateTime
import java.time.format.DateTimeFormatter
import java.util.Base64
import java.util.Optional
import java.util.UUID
import org.assertj.core.api.Assertions.asser... | 1 | Kotlin | 0 | 0 | 3a5229b8bc5cf400f07efbd41e00b9cf40663f97 | 3,068 | sam-kotlin | Apache License 2.0 |
wasi-emscripten-host/src/jvmMain/kotlin/jvm/JvmLocalTimeFormatter.kt | illarionov | 769,429,996 | false | {"Kotlin": 1838071} | /*
* Copyright 2024, the wasm-sqlite-open-helper project authors and contributors. Please see the AUTHORS file
* for details. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
* SPDX-License-Identifier: Apache-2.0
*/
package ru.pixnews.wasm.sqlite.open.helper.host... | 0 | Kotlin | 1 | 3 | 5f513e2413987ce681f12ea8e14a2aff2c56a7fd | 1,734 | wasm-sqlite-open-helper | Apache License 2.0 |
app/src/main/java/com/abbas/gamesign/ui/fragment/base/BaseBindableFragment.kt | AbbasTorabi | 624,361,187 | false | null | package com.abbas.gamesign.ui.fragment.base
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.databinding.DataBindingUtil
import androidx.databinding.ViewDataBinding
abstract class BaseBindableFragment<B : ViewDataBinding>(private val la... | 0 | Kotlin | 0 | 2 | 0c77483445d835dde22a604125fe9aeafe43a9d5 | 925 | Game-Sign | MIT License |
src/test/kotlin/com/fwdekker/randomness/uuid/UuidSettingsTest.kt | champpp96 | 400,425,822 | true | {"Kotlin": 389625, "HTML": 3342} | package com.fwdekker.randomness.uuid
import com.fwdekker.randomness.CapitalizationMode
import org.assertj.core.api.Assertions.assertThat
import org.spekframework.spek2.Spek
import org.spekframework.spek2.style.specification.describe
/**
* Unit tests for [UuidSettings].
*/
object UuidSettingsTest : Spek({
latei... | 0 | null | 0 | 1 | f06f8a3a2ae7218bc83b5452a604ddfa21ef0e5a | 2,902 | intellij-randomness | MIT License |
profile/src/main/java/com/nowiwr01p/profile/navigation/ProfileNavigatorImpl.kt | nowiwr01w | 584,138,480 | false | null | package com.nowiwr01p.profile.navigation
import androidx.navigation.NavController
import androidx.navigation.NavGraphBuilder
import androidx.navigation.compose.navigation
import com.nowiwr01p.core_ui.navigators.ProfileNavigator
import com.nowiwr01p.core_ui.navigators.main.Navigator
import com.nowiwr01p.profile.Profile... | 0 | Kotlin | 1 | 3 | 0ebdf8f0cc072cf1f07810a6c36e710f373bfc7f | 826 | Protest | MIT License |
app/src/main/java/me/tumur/portfolio/utils/adapters/listItemAdapters/experience/task/TaskAdapter.kt | timtbdev | 198,095,052 | false | null | package me.tumur.portfolio.utils.adapters.listItemAdapters.experience.task
import android.view.ViewGroup
import androidx.paging.PagedListAdapter
import androidx.recyclerview.widget.RecyclerView
import me.tumur.portfolio.repository.database.model.task.TaskModel
/**
* An adapter that provides a list of [TaskModel] to ... | 1 | Kotlin | 16 | 40 | 91cc93fdfa6158da0f0aa7caa17fe7707d46ea06 | 1,254 | Portfolio-App-2 | Apache License 2.0 |
android/src/main/java/com/reactnativemultipleimagepicker/ImageLoaderUtils.kt | baronha | 340,853,950 | false | null | package com.reactnativemultipleimagepicker
import android.app.Activity
import android.content.Context
import android.content.ContextWrapper
object ImageLoaderUtils {
fun assertValidRequest(context: Context?): Boolean {
if (context is Activity) {
return !isDestroy(context)
} else if (co... | 33 | null | 104 | 378 | 469336a00ac420d5d335c5e68480f7851d64d152 | 737 | react-native-multiple-image-picker | MIT License |
covpass-sdk/src/main/java/de/rki/covpass/sdk/cert/EUValueSetUtils.kt | ljxx | 388,073,819 | false | null | /*
* (C) Copyright IBM Deutschland GmbH 2021
* (C) Copyright IBM Corp. 2021
*/
package de.rki.covpass.sdk.cert
import de.rki.covpass.sdk.storage.EUValueSetRepository
/**
* Retrieves the Manufacturers name as defined in EU value set
*
* @param rawName The raw consent of the EU JSON Schema (e.g. "ORG-100030215")... | 44 | Kotlin | 60 | 2 | 390a45d0c8231e8203439018d0e6702ecb0f0d05 | 2,772 | android-covpass-app | Apache License 2.0 |
platform/src/main/kotlin/researchstack/backend/enums/IrbDecisionType.kt | S-ResearchStack | 520,365,362 | false | {"Kotlin": 1297740, "Dockerfile": 202, "Shell": 59} | package researchstack.backend.enums
enum class IrbDecisionType(val value: String) {
UNSPECIFIED("Unspecified"),
EXEMPT("Exempt"),
APPROVED("Approved");
}
| 1 | Kotlin | 9 | 29 | edd76f219cdb10c8151b8ac14175b1e818a6036a | 167 | backend-system | Apache License 2.0 |
app/src/main/java/com/android/fleksy/movie/util/Utils.kt | kairos34 | 446,395,811 | false | {"Kotlin": 78741} | package com.android.fleksy.movie.util
import android.graphics.Bitmap
import android.os.SystemClock
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.toArgb
import androidx.core.graphics.alpha
import androidx.core.graphics.blue
import androidx.core.graphics.green
import androidx.core.graphic... | 0 | Kotlin | 2 | 6 | 5e154367198408e33c572bfec1addbd2e8acad34 | 1,496 | FleksyMovieApp | The Unlicense |
src/main/kotlin/org/unbrokendome/gradle/plugins/helm/command/HelmValueOptions.kt | researchgate | 297,154,134 | true | {"Kotlin": 484209} | package org.unbrokendome.gradle.plugins.helm.command
import groovy.lang.Closure
import org.gradle.api.Project
import org.gradle.api.file.ConfigurableFileCollection
import org.gradle.api.file.FileCollection
import org.gradle.api.model.ObjectFactory
import org.gradle.api.provider.MapProperty
import org.gradle.api.provid... | 0 | Kotlin | 1 | 0 | fcb71b67f3a94cca090b4c083217638c73678c22 | 4,718 | gradle-helm-plugin | MIT License |
kleanarchitekture/app/src/main/java/com/matthiasbruns/kleanarchitekture/app/feature/post/list/adapter/PostListViewHolder.kt | matthiasbruns | 121,611,656 | false | null | package com.matthiasbruns.kleanarchitekture.app.feature.post.list.adapter
import android.support.v7.widget.RecyclerView
import android.view.View
import com.matthiasbruns.kleanarchitekture.presentation.post.model.PresentationPost
import kotlinx.android.synthetic.main.item_post.view.*
class PostListViewHolder(itemView:... | 1 | null | 1 | 11 | e5762a16e591c132b05130393ada7e813513a484 | 501 | Klean-ArchiteKture | Apache License 2.0 |
z2-core/src/jsMain/kotlin/hu/simplexion/z2/adaptive/html/AdaptiveDOMNodeFragment.kt | spxbhuhb | 665,463,766 | false | {"Kotlin": 1812530, "CSS": 171914, "Java": 20900, "JavaScript": 1950, "HTML": 1854} | /*
* Copyright © 2020-2021, Simplexion, Hungary and contributors. Use of this source code is governed by the Apache 2.0 license.
*/
package hu.simplexion.z2.adaptive.html
import hu.simplexion.z2.adaptive.*
import hu.simplexion.z2.adaptive.css.AdaptiveCssStyle
import kotlinx.dom.hasClass
import org.w3c.dom.HTMLElemen... | 5 | Kotlin | 0 | 1 | 8b0b012d880918efc01d8dafd9a3dba701e90835 | 2,842 | z2-pre | Apache License 2.0 |
Template/app/src/test/java/ademar/study/template/presenter/BasePresenterTest.kt | ademar111190 | 76,153,266 | false | null | package ademar.study.reddit.presenter
import ademar.study.reddit.test.BaseTest
import org.junit.Test
class BasePresenterTest : BaseTest() {
@Test
fun testOnAttachView() {
val stubView = object : StubLoadDataView() {}
val presenter = BasePresenter<StubLoadDataView>()
presenter.onAttach... | 0 | Kotlin | 1 | 1 | 65466ea1c6e4f75ae9791826a428c7dd8e101f98 | 481 | Studies | MIT License |
src/main/kotlin/io/github/dko1905/passwordmanagerserver/service/AuthService.kt | Dko1905 | 272,766,102 | false | null | package io.github.dko1905.passwordmanagerserver.service
import io.github.dko1905.passwordmanagerserver.domain.Account
import io.github.dko1905.passwordmanagerserver.domain.AccountRole
import io.github.dko1905.passwordmanagerserver.domain.Token
import io.github.dko1905.passwordmanagerserver.domain.TokenFactory
import i... | 0 | Kotlin | 0 | 0 | c38475f3988c8ba64b5be82261cbb21ff8bf127e | 6,201 | passwordManagerServer | MIT License |
modules/project/src/main/java/com/bytebitx/project/net/api/HttpProjectApiService.kt | bytebitx | 371,705,786 | false | {"Kotlin": 368798, "Java": 130630} | package com.bytebitx.project.net.api
import com.bytebitx.base.bean.HttpResult
import com.bytebitx.project.bean.ArticleData
import com.bytebitx.project.bean.ProjectBean
import kotlinx.coroutines.flow.Flow
import retrofit2.http.GET
import retrofit2.http.Path
import retrofit2.http.Query
/**
* author: wangyb
* date: ... | 3 | Kotlin | 13 | 51 | bd66b15a5f990067be7148fabcd22e3fb560bac7 | 842 | WanAndroid | Apache License 2.0 |
app/src/main/java/com/anioncode/gamevideodagger/model/searchModel/Clip.kt | Lukieoo | 271,757,832 | false | null | package com.anioncode.gamevideodagger.model.searchModel
data class Clip(
val clip: String,
val clips: Clips,
val preview: String,
val video: String
) | 0 | Kotlin | 0 | 0 | 80647926a0a7259094867f814544f1c1fc9263c2 | 166 | GameVideoDagger | MIT License |
app/OutWait/app/src/main/java/edu/kit/outwait/waitingQueue/gravityQueue/GravitySlot.kt | OutWait | 398,042,615 | false | {"Kotlin": 725686} | package edu.kit.outwait.waitingQueue.gravityQueue
import org.joda.time.DateTime
import org.joda.time.Duration
import org.joda.time.Interval
/**
* This class is models a time slot with gravity characteristics.
* For basic information about the gravity concept, see chapter 10.1
* in the design document.
*
* @prope... | 0 | Kotlin | 0 | 1 | d3b878b82294899006b21a91f48877aa555eee6e | 1,072 | OutWait | MIT License |
src/main/kotlin/dev/shtanko/algorithms/leetcode/MaxCoinsYouCanGet.kt | ashtanko | 203,993,092 | 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 w... | 4 | null | 0 | 19 | 7e8ad8a85ef49929c6a2229413fa38a87a8ab722 | 1,621 | kotlab | Apache License 2.0 |
st_flow_demo/src/main/java/com/st/flow_demo/models/Flow.kt | STMicroelectronics | 81,465,478 | false | {"Kotlin": 2828028, "Java": 25368, "Shell": 13927, "HTML": 3291, "GLSL": 1461} | package com.st.flow_demo.models
import androidx.documentfile.provider.DocumentFile
import com.st.blue_sdk.board_catalog.models.Sensor
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
import java.util.Objects
import java.util.UUID
@Serializable
data class Flow(
@SerialName(value = ... | 12 | Kotlin | 58 | 114 | cd556743faffbf1e759543f639659ae3a40b789a | 3,515 | STBLESensor_Android | The Unlicense |
spring-boot-server/src/main/kotlin/com/witkups/carsharing/users/routes/LocationRepository.kt | Azbesciak | 108,768,876 | false | {"TypeScript": 151324, "Kotlin": 56658, "HTML": 24892, "CSS": 14058, "JavaScript": 1646, "SQLPL": 1532} | package com.witkups.carsharing.users.routes
import com.witkups.carsharing.users.application.Location
import org.springframework.data.jpa.repository.JpaRepository
interface LocationRepository: JpaRepository<Location, String>
| 0 | TypeScript | 2 | 2 | ee67b82d4cb2c5665a114c6f4cf11d02499cf55e | 226 | CarSharing | MIT License |
commutil/src/main/java/com/fz/common/utils/AnyUtils.kt | peihua8858 | 380,141,169 | false | {"Kotlin": 419940, "Java": 208918} | @file:JvmName("AnyUtils")
@file:JvmMultifileClass
package com.fz.common.utils
import android.os.Parcel
import android.os.Parcelable
import java.io.*
import java.lang.reflect.Field
import java.math.BigDecimal
import java.math.BigInteger
import java.util.*
/**
* 对象深度拷贝
* @author dingpeihua
* @date 2021/3/2 15:29
*... | 0 | Kotlin | 0 | 3 | 1c427090f78ba8d5c8738f758c0225273f606974 | 3,613 | kotlinCommonUtils | Apache License 2.0 |
kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/location/CfnMap.kt | cloudshiftinc | 667,063,030 | false | {"Kotlin": 142794926} | @file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION")
package io.cloudshiftdev.awscdk.services.location
import io.cloudshiftdev.awscdk.CfnResource
import io.cloudshiftdev.awscdk.CfnTag
import io.c... | 1 | Kotlin | 0 | 4 | a18731816a3ec710bc89fb8767d2ab71cec558a6 | 49,427 | kotlin-cdk-wrapper | Apache License 2.0 |
core/src/main/kotlin/com/vmadalin/core/network/responses/DataResponse.kt | vmadalin | 192,786,158 | false | null | /*
* Copyright 2019 <EMAIL>
*
* 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... | 3 | null | 9 | 2,347 | 9fe0723a3bd515337df0837e528968785772e994 | 1,259 | android-modular-architecture | Apache License 2.0 |
kotlin-mui/src/main/generated/mui/material/InputLabel.kt | JetBrains | 93,250,841 | false | null | // Automatically generated - do not modify!
@file:JsModule("@mui/material/InputLabel")
@file:JsNonModule
@file:Suppress(
"VIRTUAL_MEMBER_HIDDEN",
)
package mui.material
external interface InputLabelProps :
mui.system.StandardProps,
FormLabelProps,
react.PropsWithChildren {
/**
* The content... | 12 | Kotlin | 145 | 983 | a99345a0160a80a7a90bf1adfbfdc83a31a18dd6 | 1,850 | kotlin-wrappers | Apache License 2.0 |
client/src/commonTest/kotlin/com/github/mustafaozhan/ccc/client/viewmodel/MainViewModelTest.kt | CurrencyConverterCalculator | 102,633,334 | false | null | /*
* Copyright (c) 2021 <NAME>. All rights reserved.
*/
package com.github.mustafaozhan.ccc.client.viewmodel
import com.github.mustafaozhan.ccc.client.device
import com.github.mustafaozhan.ccc.client.model.Device
import com.github.mustafaozhan.ccc.client.util.after
import com.github.mustafaozhan.ccc.client.util.bef... | 15 | Kotlin | 20 | 151 | f77f7d5c29cfd9781ed6fa3c31e2ed607552aba4 | 5,496 | androidCCC | Apache License 2.0 |
compiler/testData/integration/ant/jvm/kt11995/test.kt | JakeWharton | 99,388,807 | true | null | package foo
fun foo(a: Any) = foo(1)
fun foo(i: Int) = "foo(Int)"
fun main() {
println(foo(""))
} | 181 | Kotlin | 5748 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 104 | kotlin | Apache License 2.0 |
browser-kotlin/src/jsMain/kotlin/web/sse/EventSourceInit.kt | karakum-team | 393,199,102 | false | {"Kotlin": 6272741} | // Automatically generated - do not modify!
package web.sse
import kotlinx.js.JsPlainObject
@JsPlainObject
external interface EventSourceInit {
val withCredentials: Boolean?
}
| 0 | Kotlin | 8 | 36 | 95b065622a9445caf058ad2581f4c91f9e2b0d91 | 183 | types-kotlin | Apache License 2.0 |
tracker/tracker_domain/src/main/java/com/jskako/tracker_domain/use_case/TrackFood.kt | jskako | 597,251,147 | false | null | package com.jskako.tracker_domain.use_case
import com.jskako.tracker_domain.model.MealType
import com.jskako.tracker_domain.model.TrackableFood
import com.jskako.tracker_domain.model.TrackedFood
import com.jskako.tracker_domain.repository.TrackerRepository
import java.time.LocalDate
import kotlin.math.roundToInt
clas... | 0 | Kotlin | 0 | 0 | 1336351b14ef97162c58398a4cd12d7369ae1904 | 1,106 | CalorieTracker | MIT License |
src/main/kotlin/id/walt/services/jwt/WaltIdJwtService.kt | walt-id | 392,607,264 | false | null | package id.walt.services.jwt
import com.nimbusds.jose.*
import com.nimbusds.jose.crypto.*
import com.nimbusds.jose.jwk.Curve
import com.nimbusds.jose.jwk.JWK
import com.nimbusds.jose.jwk.OctetKeyPair
import com.nimbusds.jose.jwk.gen.OctetKeyPairGenerator
import com.nimbusds.jwt.JWTClaimsSet
import com.nimbusds.jwt.Sig... | 7 | null | 28 | 83 | df8d5cf6bd8c1804a8eb5867f348b15e8e551eeb | 7,176 | waltid-ssikit | Apache License 2.0 |
uast/uast-java/src/org/jetbrains/uast/java/expressions/JavaUPostfixExpression.kt | hieuprogrammer | 284,920,751 | true | null | /*
* Copyright 2000-2017 JetBrains s.r.o.
*
* 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 agre... | 191 | null | 4372 | 2 | dc846ecb926c9d9589c1ed8a40fdb20e47874db9 | 1,408 | intellij-community | Apache License 2.0 |
{{cookiecutter.repo_name}}/app/src/main/java/di/component/ApplicationComponent.kt | elsameinar-i | 532,148,282 | false | {"Kotlin": 62197, "Python": 5451} | package {{ cookiecutter.package_name }}.di.component
import android.content.Context
import android.content.SharedPreferences
import dagger.Component
import {{ cookiecutter.package_name }}.App
import {{ cookiecutter.package_name }}.di.module.*
import {{ cookiecutter.package_name }}.ui.main.MainActivityViewModel
{% if c... | 0 | Kotlin | 0 | 0 | 1bd5f6e774e8dd749d53e6d3a960341dc97152b3 | 929 | mobile-android | MIT License |
app/src/main/java/com/aappeye/foreksty/data/db/CurrentWeatherDao.kt | ihjohny | 198,017,929 | false | null | package com.aappeye.foreksty.data.db
import androidx.lifecycle.LiveData
import androidx.room.Dao
import androidx.room.Insert
import androidx.room.OnConflictStrategy
import androidx.room.Query
import com.aappeye.foreksty.data.db.entity.CURRENT_WEATHER_ID
import com.aappeye.foreksty.data.db.entity.CurrentWeatherEntry
@... | 0 | Kotlin | 0 | 5 | 30f80e8f604b92bce1e7c13b8bc9e260d57980a1 | 587 | Foreksty | Apache License 2.0 |
presentation/src/main/java/com/sms/presentation/main/ui/detail/StudentInfoComponent.kt | GSM-MSG | 625,706,722 | false | null | package com.sms.presentation.main.ui.detail
import android.content.Intent
import android.net.Uri
import androidx.compose.foundation.layout.*
import androidx.compose.material.Text
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.platform.LocalContext
import andro... | 3 | Kotlin | 1 | 8 | 4bcc7f105b0d4358f378549eb359fc894b3a74c2 | 7,002 | SMS-Android | MIT License |
coroutines/src/main/kotlin/br/com/devsrsouza/kotlinbukkitapi/coroutines/architecture/impl/CoroutineLifecycle.kt | DevSrSouza | 123,673,532 | false | null | package br.com.devsrsouza.kotlinbukkitapi.architecture.lifecycle.extensions.impl
import br.com.devsrsouza.kotlinbukkitapi.architecture.KotlinPlugin
import br.com.devsrsouza.kotlinbukkitapi.architecture.lifecycle.LifecycleListener
import br.com.devsrsouza.kotlinbukkitapi.architecture.lifecycle.getOrInsertGenericLifecyc... | 11 | null | 22 | 144 | 14874b92734a0273b4e7a748391a6e449bbaae1d | 2,116 | KotlinBukkitAPI | MIT License |
sample-plugin/src/main/java/cn/jessie/sample/plugin/PluginLog.kt | androlua | 227,565,051 | true | {"Kotlin": 259239, "Java": 11121, "HTML": 996} | package cn.jessie.etc
import android.util.Log
import android.util.LruCache
import cn.jessie.main.MainAppContext
import java.io.PrintWriter
import java.io.StringWriter
import java.util.*
interface LogIgnored
@Suppress("SpellCheckingInspection", "unused")
interface Logdog : LogIgnored {
fun isLoggable(priority: In... | 0 | null | 0 | 0 | 97df8fc44063770b8b4019f07e285b2ba9cf28b5 | 9,475 | jessie | MIT License |
app/src/main/java/com/whatsappstatusdownloader/jayanthl/statusdownloaderwhatsapp/Tab4Fragment.kt | Jayanth-L | 197,514,750 | false | null | package com.whatsappstatusdownloader.jayanthl.statusdownloaderwhatsapp
import android.support.v4.app.Fragment
import android.os.Bundle
import android.os.Environment
import android.support.v7.widget.LinearLayoutManager
import android.support.v7.widget.RecyclerView
import android.support.v7.widget.StaggeredGridLayoutMan... | 0 | Kotlin | 1 | 2 | f0361d8c06649bcf52fb4a541a4c87ebfb55ebab | 1,789 | statusdownloaderforwhatsapp | Apache License 2.0 |
app/src/main/java/com/vpr/places_together/ui/NavGraphActivity.kt | v1p3rrr | 633,636,972 | false | null | package com.vpr.places_together.ui
import android.os.Bundle
import android.view.Menu
import androidx.appcompat.app.AppCompatActivity
import androidx.navigation.NavController
import androidx.navigation.fragment.NavHostFragment
import com.vpr.places_together.R
import com.vpr.places_together.databinding.ActivityNavGraphB... | 0 | Kotlin | 0 | 0 | fc71609d48dbefd64950061c079f99cb599b5b25 | 1,055 | places-together | MIT License |
demo-kotlin/src/main/java/me/yokeyword/sample/zhihu/ui/fragment/CycleFragment.kt | qdsfdhvh | 166,903,972 | true | {"Java": 215233, "Kotlin": 205707} | package me.yokeyword.sample.zhihu.ui.fragment
import android.os.Bundle
import android.view.View
import kotlinx.android.synthetic.main.fragment_cycle.*
import kotlinx.android.synthetic.main.toolbar.*
import me.yokeyword.fragmentation.start
import me.yokeyword.fragmentation.startWithPop
import me.yokeyword.sample.R
impo... | 0 | Java | 0 | 0 | 3ddb2fe6ee7f8519e78ef0a5806bd217329ed023 | 1,407 | Fragmentation | Apache License 2.0 |
services/csm.cloud.project.api.timeseries/src/test/kotlin/com/bosch/pt/csm/cloud/projectmanagement/application/config/GraphQlTestConfiguration.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.csm.cloud.projectmanagement.application.config
import org.springfram... | 0 | Kotlin | 3 | 9 | 9f3e7c4b53821bdfc876531727e21961d2a4513d | 1,097 | bosch-pt-refinemysite-backend | Apache License 2.0 |
arcade-minigames/src/main/kotlin/net/casual/arcade/minigame/task/impl/NameTagTask.kt | CasualChampionships | 621,955,934 | false | {"Kotlin": 981165, "Java": 176720, "GLSL": 4396} | package net.casual.arcade.minigame.task.impl
import net.casual.arcade.minigame.Minigame
import net.casual.arcade.scheduler.task.Task
import net.casual.arcade.visuals.nametag.PlayerNameTag
public open class NameTagTask(
private val minigame: Minigame<*>,
private val tag: PlayerNameTag
): Task {
init {
... | 1 | Kotlin | 1 | 2 | b78dd42472d500120dbb3e2670cb67652da4449b | 456 | arcade | MIT License |
packages/expo-modules-core/android/src/test/java/expo/modules/benchmarks/NewArchitectureBenchmark.kt | betomoedano | 462,599,485 | false | null | package expo.modules.benchmarks
import com.facebook.react.bridge.Dynamic
import com.facebook.react.bridge.DynamicFromObject
import com.facebook.react.bridge.JavaOnlyArray
import com.facebook.react.bridge.ReadableArray
import expo.modules.adapters.react.NativeModulesProxy
import expo.modules.kotlin.ModulesProvider
impo... | 1 | null | 1 | 4 | 52d6405570a39a87149648d045d91098374f4423 | 2,276 | expo | MIT License |
src/main/kotlin/com/networkedassets/gherkin/runner/metadata/TestMockEndpoint.kt | NetworkedAssets | 120,890,153 | false | null | package com.networkedassets.gherkin.runner.metadata
import com.networkedassets.gherkin.runner.metadata.TestEndpointType.MOCK
class TestMockEndpoint(name: String): TestEndpoint(name, MOCK) | 3 | Kotlin | 4 | 7 | b57d6f90acd5183511aa988040d4f33ddcba5bdb | 189 | gherkin-runner | Apache License 2.0 |
app/src/main/java/dev/jahidhasanco/montra/presentation/fragment/Onboarding/OnBoardingAdapter.kt | JahidHasanCO | 424,880,653 | false | null | package dev.jahidhasanco.montra.presentation.fragment.Onboarding
import android.content.Context
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.ImageView
import android.widget.TextView
import androidx.viewpager.widget.PagerAdapter
import dev.jahidhasanco.... | 0 | Kotlin | 0 | 1 | ae33ea5fe8588672c79cccdf010aa02024de8f33 | 1,442 | Montra | MIT License |
settle-payment/src/main/java/com/settle/sdk/payment/ui/SettlePaymentOptions.kt | settle-club | 845,507,935 | false | {"Kotlin": 34811} | package com.settle.sdk.payment.ui
data class SettlePaymentOptions @JvmOverloads constructor(
val paymentUrl: String,
val isFullScreen: Boolean = false
) | 0 | Kotlin | 0 | 0 | 1cf59ddf28a5f389347cd8a3f05805fe8820dd51 | 161 | settle-android-sdk | MIT License |
Stipop/src/main/java/io/stipop/PackUtils.kt | AYOMITIDE-OAJ | 608,090,223 | false | null | @file:Suppress("KotlinDeprecation")
package io.stipop
import android.app.Activity
import android.os.StrictMode
import android.os.StrictMode.ThreadPolicy
import io.stipop.model.SPPackage
import io.stipop.model.SPSticker
import org.json.JSONObject
import java.io.File
import java.io.FileOutputStream
import java.net.URL
... | 1 | null | 1 | 2 | 1f99a4f3f00629259feb834a67caefedc3b0884f | 4,368 | wavychat | MIT License |
pexty/floatingapp/window/VideoWindow.kt | aratakileo | 379,673,755 | false | {"Kotlin": 53026} | package pexty.floatingapp.window
import android.content.Context
import android.media.MediaMetadataRetriever
import android.media.MediaPlayer
import android.net.Uri
import android.view.Gravity
import android.view.ViewGroup
import android.widget.LinearLayout
import android.widget.VideoView
import pexty.utils.Utils
ope... | 0 | Kotlin | 0 | 6 | 53f20a5c1bce9ddbf16959461cfafc6384db3910 | 5,059 | FloatingWindows | MIT License |
plugins/kotlin/idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/mapSumWithULong.kt | ingokegel | 72,937,917 | false | null | // WITH_STDLIB
fun main() {
listOf(1uL, 2uL).<caret>map { it * it }.sum()
}
| 1 | null | 1 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 80 | intellij-community | Apache License 2.0 |
app/src/main/java/br/com/arthurjf/jogodaforca/view/GameplayActivity.kt | arthurjf | 625,067,320 | false | null | package br.com.arthurjf.jogodaforca.view
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import androidx.lifecycle.ViewModelProvider
import br.com.arthurjf.jogodaforca.R
import br.com.arthurjf.jogodaforca.data.Word
import br.com.arthurjf.jogodaforca.view.ui.main.fragment.GameplayActivityFragme... | 0 | Kotlin | 0 | 0 | 860d9f9bd044eabb904f402a10ee415787384e2d | 1,119 | Jogo-da-Forca | MIT License |
gaia/src/main/kotlin/fyi/pauli/ichor/gaia/entity/player/UserProfile.kt | ichor-dev | 676,285,724 | false | {"Kotlin": 95608} | package fyi.pauli.ichor.gaia.entity.player
import fyi.pauli.ichor.gaia.extensions.serializers.OldUUIDSerializer
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
import java.util.*
/**
* Userprofile of a connection.
* @property uuid uuid of a connection.
* @property username usernam... | 4 | Kotlin | 0 | 0 | 466f531b1a45887f71188453d8fbf7c11008f7cb | 1,126 | ichor | Apache License 2.0 |
ontrack-extension-notifications/src/main/java/net/nemerosa/ontrack/extension/notifications/processing/NotificationProcessingService.kt | nemerosa | 19,351,480 | false | null | package net.nemerosa.ontrack.extension.notifications.processing
import net.nemerosa.ontrack.extension.notifications.model.Notification
interface NotificationProcessingService {
fun process(item: Notification)
} | 57 | Kotlin | 27 | 97 | 7c71a3047401e088ba0c6d43aa3a96422024857f | 218 | ontrack | MIT License |
app/src/main/java/com/example/inventory/ui/item/ItemDetailsViewModel.kt | ysmaelnoche | 811,165,887 | false | {"Kotlin": 46664} | package com.example.inventory.ui.item
import androidx.lifecycle.SavedStateHandle
import androidx.lifecycle.ViewModel
import com.example.inventory.data.ItemsRepository
class ItemDetailsViewModel(
savedStateHandle: SavedStateHandle
) : ViewModel() {
private val itemId: Int = checkNotNull(savedStateHandle[ItemD... | 0 | Kotlin | 0 | 0 | bdf4638a179e5f57dc6f75be75fc1979ebc683ce | 551 | inventory2.0 | Apache License 2.0 |
app/src/main/java/com/example/inventory/ui/item/ItemDetailsViewModel.kt | ysmaelnoche | 811,165,887 | false | {"Kotlin": 46664} | package com.example.inventory.ui.item
import androidx.lifecycle.SavedStateHandle
import androidx.lifecycle.ViewModel
import com.example.inventory.data.ItemsRepository
class ItemDetailsViewModel(
savedStateHandle: SavedStateHandle
) : ViewModel() {
private val itemId: Int = checkNotNull(savedStateHandle[ItemD... | 0 | Kotlin | 0 | 0 | bdf4638a179e5f57dc6f75be75fc1979ebc683ce | 551 | inventory2.0 | Apache License 2.0 |
kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/SqlServerExInstanceEngineProps.kt | cloudshiftinc | 667,063,030 | false | null | @file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION")
package io.cloudshiftdev.awscdk.services.rds
import io.cloudshiftdev.awscdk.common.CdkDslMarker
import io.cloudshiftdev.awscdk.common.CdkObjec... | 4 | null | 0 | 4 | eb3eef728b34da593a3e55dc423d4f5fa3668e9c | 3,025 | kotlin-cdk-wrapper | Apache License 2.0 |
app/src/main/java/com/ryanhodgman/framework/CoroutineActivity.kt | AlgoRyan | 159,768,459 | false | null | package com.ryanhodgman.framework
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.Job
import kotlin.coroutines.CoroutineContext
/**
* Activity that provides a [CoroutineScope].
*
* @aut... | 0 | Kotlin | 0 | 2 | b33ad8a5ec757f95cda61b6ca573780b5b60cb14 | 748 | arcore-design-experiments | MIT License |
app/src/main/java/com/twobbble/view/customview/CommentDivider.kt | 550609334 | 82,531,843 | false | null | package com.twobbble.view.customview
import android.content.Context
import android.content.res.TypedArray
import android.graphics.Canvas
import android.graphics.drawable.Drawable
import android.support.v7.widget.RecyclerView
import android.view.View
import com.facebook.drawee.view.SimpleDraweeView
import com.twobbble.... | 1 | null | 62 | 398 | e91797a3d4a0fa7737f983a8914eaa109a452054 | 1,688 | Twobbble | Apache License 2.0 |
ext/acorn-android/acorn-android-statechecks/src/main/java/com/nhaarman/acorn/android/experimental/statechecks/StateSavingFailedException.kt | nhaarman | 137,459,947 | false | null | /*
* Copyright 2018 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 17 | null | 7 | 182 | bb4cd33a54103bb1a1cf4c0eecabfcc7b9c352d2 | 922 | acorn | Apache License 2.0 |
plot-base/src/commonMain/kotlin/jetbrains/datalore/plot/base/render/svg/GroupComponent.kt | b7w | 229,423,563 | true | {"Kotlin": 4342986, "Python": 257583, "CSS": 1842, "C": 1638, "Shell": 1590, "JavaScript": 1584} | /*
* Copyright (c) 2019. JetBrains s.r.o.
* Use of this source code is governed by the MIT license that can be found in the LICENSE file.
*/
package jetbrains.datalore.plot.base.render.svg
class GroupComponent : SvgComponent() {
override fun buildComponent() {
// empty
}
}
| 0 | null | 0 | 0 | 811327d17d6af2669d22355ee031eaa2cf5da7bc | 295 | lets-plot | MIT License |
testUtil/src/main/java/com/tfandkusu/template/viewmodel/MockStateObserver.kt | tfandkusu | 427,583,819 | false | null | package com.tfandkusu.androidview.viewmodel
import androidx.lifecycle.LiveData
import androidx.lifecycle.Observer
import io.mockk.mockk
fun <T> LiveData<T>.mockStateObserver(): Observer<T> {
val mockObserver = mockk<Observer<T>>(relaxed = true, name = "state")
observeForever(mockObserver)
return mockObser... | 23 | null | 0 | 1 | 5d8d0aea5a008c53c7444f402858fa0911ed253c | 326 | android_app_template | Apache License 2.0 |
app/src/main/kotlin/org/andstatus/app/net/http/HttpReadResult.kt | andstatus | 3,040,264 | false | null | /* Copyright (C) 2014 yvolk (Yuri Volkov), http://yurivolkov.com
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required b... | 86 | null | 69 | 306 | 6166aded1f115e6e6a7e66ca3756f39f0434663e | 15,022 | andstatus | Apache License 2.0 |
game-plugins/src/main/kotlin/org/alter/plugins/content/npcs/kbd/kbd_configs.plugin.kts | AlterRSPS | 421,831,790 | false | null | package gg.rsmod.plugins.content.npcs.npcInfo.kbd
set_multi_combat_region(region = 9033)
spawn_npc(Npcs.KING_BLACK_DRAGON, x = 2274, z = 4698, walkRadius = 5)
set_combat_def(Npcs.KING_BLACK_DRAGON) {
species {
+ NpcSpecies.DRAGON
+ NpcSpecies.BASIC_DRAGON
}
configs {
attackSpeed ... | 8 | null | 33 | 23 | bb3762897621705e99b1ba752a1858bc69900e54 | 800 | Alter | Apache License 2.0 |
compiler/ir/ir.tree/src/org/jetbrains/kotlin/ir/util/DeepCopyIrTree.kt | JakeWharton | 99,388,807 | false | null | /*
* Copyright 2010-2017 JetBrains s.r.o.
*
* 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 agre... | 12 | null | 28 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 25,733 | kotlin | Apache License 2.0 |
core/src/main/java/com/bed/core/domain/models/authentication/AuthenticationModel.kt | bed72 | 674,410,644 | false | {"Kotlin": 151713, "Shell": 492} | package com.bed.core.domain.models.authentication
data class AuthenticationModel(
val uid: String,
val name: String,
val email: String,
val photo: String,
val emailVerified: Boolean
)
| 0 | Kotlin | 0 | 1 | 16e9323baf729459e7eff97881ae130d11cf3973 | 206 | Hogwarts | MIT License |
composeApp/src/commonMain/kotlin/dev/lennartegb/vec2compose/app/ImageVectorTransformer.kt | LennartEgb | 520,006,256 | false | {"Kotlin": 194622, "Shell": 892, "HTML": 636} | package dev.lennartegb.vec2compose.app
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap
import androidx.compose.ui.graphics.StrokeJoin
import androidx.compose.ui.graphics.vector.PathBu... | 1 | Kotlin | 4 | 29 | cd3e0bf9b4733ef0cffb92e2a2050828fcc1e905 | 6,741 | vec2compose | MIT License |
kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/CompositeAlarmProps.kt | cloudshiftinc | 667,063,030 | false | {"Kotlin": 140726596} | @file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION")
package io.cloudshiftdev.awscdk.services.cloudwatch
import io.cloudshiftdev.awscdk.Duration
import io.cloudshiftdev.awscdk.common.CdkDslMarker... | 1 | Kotlin | 0 | 4 | db2b3a364f5e74d8f80490e7850da7f1e7f1e7d0 | 9,372 | kotlin-cdk-wrapper | Apache License 2.0 |
domain/src/main/java/com/kurly/android/domain/Food.kt | KurlyMeals | 516,862,056 | false | null | package com.kurly.android.domain
class Food
| 0 | Kotlin | 0 | 0 | 06362b07db7f233dea6b23fce7cd7161ae13d41b | 45 | kurlymeals-android | MIT License |
src/test/kotlin/com/kotlin/resiliency/ResiliencyApplicationTestsConfiguration.kt | vyvyd | 455,698,472 | false | null | package com.kotlin.resiliency
import com.github.tomakehurst.wiremock.WireMockServer
import org.springframework.boot.test.context.TestConfiguration
import org.springframework.boot.web.client.RestTemplateBuilder
import org.springframework.context.annotation.Bean
import org.springframework.context.annotation.Primary
impo... | 0 | Kotlin | 0 | 0 | 000dbcc3bbe13876908e0eeef709cc9eeb5d2c1a | 957 | resiliency-with-arrowkt | MIT License |
app/src/main/java/me/devsaki/hentoid/util/AchievementsManager.kt | avluis | 37,775,708 | false | {"C": 4044011, "Kotlin": 2794467, "Java": 616300, "C++": 465431, "CMake": 44472, "M4": 42737, "Shell": 41599, "Roff": 38560, "Makefile": 33752, "Python": 26865, "HTML": 6592, "JavaScript": 6327, "CSS": 1842, "Go": 1235} | package me.devsaki.hentoid.util
import android.content.Context
import me.devsaki.hentoid.R
import me.devsaki.hentoid.core.HentoidApp
import me.devsaki.hentoid.database.AchievementsDAO
import me.devsaki.hentoid.database.domains.Achievement
import me.devsaki.hentoid.enums.Site
import me.devsaki.hentoid.events.Achievemen... | 173 | C | 85 | 992 | f54df07b79da4147951bc9902ab0dbd70edb50f1 | 7,873 | Hentoid | Apache License 2.0 |
app/src/main/java/com/example/berberappointment/register/Register.kt | BerkayKaramehmetoglu | 733,084,694 | false | null | package com.example.berberappointment.register
import android.text.BoringLayout
import com.example.berberappointment.berber.CreateBerber
import com.google.firebase.database.IgnoreExtraProperties
@IgnoreExtraProperties
data class Register(
var userName: String? = null,
var lastName: String? = null,
var pho... | 0 | null | 0 | 1 | 1158d99bb5957d22e816c3a5bf04cbf0cdfc1326 | 944 | BerberAppointment | MIT License |
games-server/src/main/kotlin/net/zomis/games/server2/db/DBGame.kt | Tejpbit | 260,966,032 | true | {"Gradle": 5, "Markdown": 6, "Dockerfile": 1, "JSON": 3, "Shell": 1, "Ignore List": 4, "Batchfile": 1, "Groovy": 1, "HTML": 2, "JavaScript": 16, "Kotlin": 99, "INI": 2, "Dotenv": 2, "Browserslist": 1, "Vue": 32, "CSS": 3, "SVG": 1, "Java": 3, "Java Properties": 1} | package net.zomis.games.server2.db
import com.fasterxml.jackson.annotation.JsonIgnore
import com.fasterxml.jackson.annotation.JsonUnwrapped
import com.fasterxml.jackson.module.kotlin.jacksonObjectMapper
import net.zomis.games.dsl.GameSpec
import net.zomis.games.dsl.impl.GameImpl
import net.zomis.games.dsl.impl.GameSet... | 0 | null | 0 | 0 | cb1cafb4d5ae5c09a9edb336f04ef7cf48ee2714 | 2,938 | Server2 | MIT License |
producer/src/main/kotlin/com/codeforprofit/redis/producer/config/RedisConfiguration.kt | jimador | 175,811,188 | false | {"Batchfile": 3, "Shell": 3, "Maven POM": 3, "Text": 1, "Ignore List": 3, "Git Attributes": 3, "EditorConfig": 1, "Markdown": 1, "INI": 3, "Java": 6, "YAML": 3, "Kotlin": 5} | package com.codeforprofit.redis.producer.config
import org.springframework.boot.context.properties.EnableConfigurationProperties
import org.springframework.context.annotation.Bean
import org.springframework.context.annotation.Configuration
import org.springframework.data.redis.connection.ReactiveRedisConnectionFactory... | 0 | Kotlin | 0 | 0 | 5454c7fa2edf2cd6830ec6e60843ae56f73b80eb | 1,502 | spring-redis-playground | MIT License |
adaptive-ui/src/iosMain/kotlin/fun/adaptive/ui/fragment/layout/AuiRow.kt | spxbhuhb | 788,711,010 | false | {"Kotlin": 2431816, "Java": 25628, "HTML": 8024, "JavaScript": 3880, "Shell": 687} | /*
* Copyright © 2020-2024, <NAME> and contributors. Use of this source code is governed by the Apache 2.0 license.
*/
package `fun`.adaptive.ui.fragment.layout
import `fun`.adaptive.foundation.AdaptiveActual
import `fun`.adaptive.foundation.AdaptiveFragment
import `fun`.adaptive.ui.AuiAdapter
import `fun`.adaptive.... | 34 | Kotlin | 0 | 3 | d918ce69019eed365dd47b63ea953d1c04b0f89f | 643 | adaptive | Apache License 2.0 |
src/main/kotlin/kotlinmud/mob/provider/MobProvider.kt | brandonlamb | 275,313,206 | true | {"Kotlin": 435931, "Dockerfile": 133, "Shell": 126} | package kotlinmud.mob.provider
import java.io.EOFException
import kotlinmud.fs.factory.playerMobFile
import kotlinmud.fs.loader.Tokenizer
import kotlinmud.mob.loader.MobLoader
import kotlinmud.mob.model.Mob
fun loadMobs(loadSchemaToUse: Int): MutableList<Mob> {
val file = playerMobFile()
if (!file.exists()) {... | 0 | null | 0 | 0 | fc03c6230b9b3b66cd63994e74ddd7897732d527 | 667 | kotlinmud | MIT License |
shared/src/commonMain/kotlin/reels/ui/components/ReelFooter.kt | pallaw | 692,042,871 | false | {"Kotlin": 22487, "Swift": 592, "Shell": 228} | package reels.ui.components
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.aspectRatio
import androidx.compose.foundation.layout.... | 0 | Kotlin | 0 | 0 | 40eb6d04acc40dce59746750d5aa7e867299437f | 2,936 | compose-multiplatform-ios-android-instagram-reels-clone | Apache License 2.0 |
src/main/kotlin/ml/demidko/subweb/data/types/NormalizedUrl.kt | demidko | 403,930,960 | false | {"Kotlin": 11118, "Dockerfile": 271} | package ml.demidko.subweb.data.types
class NormalizedUrl(s: String) :
CharSequence by s
.trim(' ', '/')
.lowercase()
.replaceFirst("https://", "")
.replaceFirst("http://", "")
.replaceFirst("www.", "") | 0 | Kotlin | 0 | 1 | 80ee78c46e134699c3686c59c6781ec472d75b38 | 224 | SubWeb | MIT License |
dsl/src/main/kotlin/io/cloudshiftdev/awscdkdsl/services/appmesh/CfnVirtualGatewayVirtualGatewayFileAccessLogPropertyDsl.kt | cloudshiftinc | 667,063,030 | false | {"Kotlin": 63959868} | @file:Suppress(
"RedundantVisibilityModifier",
"RedundantUnitReturnType",
"RemoveRedundantQualifierName",
"unused",
"UnusedImport",
"ClassName",
"REDUNDANT_PROJECTION",
"DEPRECATION"
)
package cloudshift.awscdk.dsl.services.appmesh
import cloudshift.awscdk.common.CdkDslMarker
import ko... | 4 | Kotlin | 0 | 3 | c59c6292cf08f0fc3280d61e7f8cff813a608a62 | 2,581 | awscdk-dsl-kotlin | Apache License 2.0 |
kotlin-node/src/jsMain/generated/node/fs/StreamOptions.kt | JetBrains | 93,250,841 | false | {"Kotlin": 11989651, "JavaScript": 231504} | // Generated by Karakum - do not modify it manually!
package node.fs
sealed external interface StreamOptions {
var flags: String?
var encoding: node.buffer.BufferEncoding?
var fd: Any? /* number | promises.FileHandle | undefined */
var mode: Double?
var autoClose: Boolean?
/**
* @defau... | 33 | Kotlin | 176 | 1,266 | 167767803bf3245ff9277386e261c9f2eab60d6e | 421 | kotlin-wrappers | Apache License 2.0 |
calendar/src/main/kotlin/calendar/DBClasses.kt | Buldugmaster99 | 386,209,155 | false | null | package calendar
import calendar.Timing.toUTCEpochMinute
import javafx.scene.paint.*
import logic.LogType
import logic.log
import org.jetbrains.exposed.dao.IntEntity
import org.jetbrains.exposed.dao.IntEntityClass
import org.jetbrains.exposed.dao.LongEntity
import org.jetbrains.exposed.dao.LongEntityClass
import org.j... | 18 | Kotlin | 0 | 2 | beef0cbcfca23885f3960ea8e32e5a487e5ab353 | 11,955 | Calendar | MIT License |
crabzilla-pgclient/src/test/kotlin/io/github/crabzilla/pgclient/projection/GreedyProjectionIT.kt | crabzilla | 91,769,036 | false | null | package io.github.crabzilla.pgclient.projection
import io.github.crabzilla.core.EventTopics
import io.github.crabzilla.core.json.JsonSerDer
import io.github.crabzilla.example1.example1Json
import io.github.crabzilla.json.KotlinJsonSerDer
import io.github.crabzilla.pgclient.TestRepository
import io.github.crabzilla.pgc... | 1 | null | 8 | 62 | 09cb11ffb7cc9ecb328cf47f15d79587137b1895 | 2,157 | crabzilla | Apache License 2.0 |
MidiTools/src/main/kotlin/com/example/android/miditools/MidiConstants.kt | android | 525,124,832 | false | {"Kotlin": 206640} | /*
* Copyright (C) 2022 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 0 | Kotlin | 11 | 40 | f30bceee0b1257359088d8acec4a95248b5695be | 3,476 | midi-samples | Apache License 2.0 |
library/src/main/java/com/github/ininmm/library/annotation/TagModel.kt | ininmm | 129,585,786 | false | null | package com.github.ininmm.library.annotation
import android.support.annotation.StringDef
/**
* 註解的標籤
* Created by <NAME>
* on 2018/2/11.
*/
class TagModel {
companion object {
const val DEFAULT = "RxBusDefaultTag"
}
@Retention(AnnotationRetention.RUNTIME)
@Target(AnnotationTarget.FUNCTION... | 0 | Kotlin | 1 | 4 | a6ded2a27d6ef311a258c6c7021c4014b6ea7ba8 | 493 | RxBus2 | Apache License 2.0 |
app/src/main/java/com/harvard/art/museums/data/pojo/Venue.kt | pvulkov | 190,898,492 | false | null | package com.harvard.art.museums.data.pojo
data class Venue(
val address1: String,
val address2: String? = null,
val begindate: String,
val city: String,
val country: String,
val enddate: String,
val fullname: String,
val ishamvenue: Int,
val name:... | 0 | Kotlin | 0 | 0 | 74d4d681fe8f276438c1a4cfdd332476f91b218d | 460 | Harvard-Art-Museums | Apache License 2.0 |
detail/src/main/java/com/pyamsoft/fridge/detail/DetailEmptyState.kt | androidok | 426,877,914 | false | {"Kotlin": 703826} | /*
* Copyright 2021 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... | 0 | null | 0 | 0 | adef301263e0f2d778268bbb1421162a12353c74 | 2,567 | fridgefriend | Apache License 2.0 |
app/src/main/java/com/amazon/firetv/integrationsdk/sdk/FireTvPlaybackReporter.kt | amzn | 734,477,657 | false | {"Kotlin": 59908, "Shell": 529} | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
package com.amazon.firetv.integrationsdk.sdk
import android.content.Context
import android.util.Log
import com.amazon.tv.developer.sdk.content.personalization.AmazonPlaybackReceiver
import com.amazon.tv.develo... | 0 | Kotlin | 0 | 0 | 51cf5555052707308107cdab4a13858bd7d34215 | 4,365 | ftv-integration-sdk-sample-app | Apache License 2.0 |
bandyer-android-design/src/main/java/com/bandyer/sdk_design/chat/adapter_items/message/abstract_message/BandyerBaseChatMessageViewHolder.kt | Bandyer | 337,367,845 | false | null | /*
* Copyright 2021-2022 Bandyer @ https://www.bandyer.com
*
* 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 req... | 0 | Kotlin | 1 | 1 | d25c7b14302015cdad2df298391a2cb891df1a8e | 3,244 | Bandyer-Android-Design | Apache License 2.0 |
entity-service/src/main/kotlin/com/egm/stellio/entity/authorization/AuthorizationService.kt | stellio-hub | 257,818,724 | false | null | package com.egm.stellio.entity.authorization
import java.net.URI
interface AuthorizationService {
companion object {
const val USER_PREFIX: String = "urn:ngsi-ld:User:"
const val AUTHORIZATION_ONTOLOGY = "https://ontology.eglobalmark.com/authorization#"
const val EGM_ROLES = AUTHORIZATION... | 38 | null | 6 | 14 | 0d9c089ca10dcd92af274ae5411d48634a4a9b30 | 1,896 | stellio-context-broker | Apache License 2.0 |
src/main/kotlin/dev/voqal/assistant/tool/text/DeleteLineTool.kt | voqal | 716,228,492 | false | {"Kotlin": 1209055, "Java": 493485, "JavaScript": 13007, "Go": 10765, "Python": 9638, "TypeScript": 828, "Groovy": 568, "PHP": 315, "Rust": 308} | package dev.voqal.assistant.tool.text
import com.aallam.openai.api.chat.Tool
import com.aallam.openai.api.core.Parameters
import com.intellij.openapi.application.ReadAction
import com.intellij.openapi.command.WriteCommandAction
import com.intellij.openapi.components.service
import com.intellij.openapi.project.Project
... | 1 | Kotlin | 8 | 90 | 1a4eac0c4907c44a88288d6af6a686b97b003583 | 3,526 | coder | Apache License 2.0 |
plugins/radar-android-phone/src/main/java/org/radarbase/passive/phone/PhoneContactListProvider.kt | RADAR-base | 85,591,443 | false | {"C++": 2958963, "Kotlin": 809848, "Java": 517842, "C": 289748, "HTML": 42350, "PHP": 10200, "Makefile": 8527, "RenderScript": 997} | /*
* Copyright 2017 The Hyve
*
* 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 writ... | 40 | C++ | 7 | 5 | f62557c1721e9f4b74a84fbadfb3b052d6bab8e7 | 1,975 | radar-commons-android | Apache License 2.0 |
app/src/main/java/com/yandroid/movie/data/UpcomingPagingSource.kt | Mohammadfazel03 | 510,253,442 | false | null | package com.yandroid.movie.data
import androidx.paging.PagingSource
import androidx.paging.PagingState
import com.yandroid.movie.data.api.APIKEY
import com.yandroid.movie.data.api.ApiService
import com.yandroid.movie.data.model.Movie
import java.lang.Exception
class UpcomingPagingSource(private val api: ApiService) :... | 0 | Kotlin | 0 | 2 | 4fa6bf8b447808b897f92233e3f18de62a755bda | 1,272 | movie-mvvm-application | MIT License |
app/src/main/java/com/yandroid/movie/data/UpcomingPagingSource.kt | Mohammadfazel03 | 510,253,442 | false | null | package com.yandroid.movie.data
import androidx.paging.PagingSource
import androidx.paging.PagingState
import com.yandroid.movie.data.api.APIKEY
import com.yandroid.movie.data.api.ApiService
import com.yandroid.movie.data.model.Movie
import java.lang.Exception
class UpcomingPagingSource(private val api: ApiService) :... | 0 | Kotlin | 0 | 2 | 4fa6bf8b447808b897f92233e3f18de62a755bda | 1,272 | movie-mvvm-application | MIT License |
DeliBuddy/app/src/main/java/yapp/android1/delibuddy/base/BaseViewModel.kt | YAPP-19th | 399,058,402 | false | null | package yapp.android1.delibuddy.base
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import kotlinx.coroutines.Job
import kotlinx.coroutines.*
import kotlinx.coroutines.flow.MutableSharedFlow
import kotlinx.coroutines.flow.MutableStateFlow
import kotlinx.coroutines.flow.SharedFlow
import k... | 15 | Kotlin | 2 | 14 | 8967c395e2a8ad346ae24bc2a2fe4fbd3df29376 | 1,500 | Android-Team-1-Frontend | Apache License 2.0 |
DeliBuddy/app/src/main/java/yapp/android1/delibuddy/base/BaseViewModel.kt | YAPP-19th | 399,058,402 | false | null | package yapp.android1.delibuddy.base
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import kotlinx.coroutines.Job
import kotlinx.coroutines.*
import kotlinx.coroutines.flow.MutableSharedFlow
import kotlinx.coroutines.flow.MutableStateFlow
import kotlinx.coroutines.flow.SharedFlow
import k... | 15 | Kotlin | 2 | 14 | 8967c395e2a8ad346ae24bc2a2fe4fbd3df29376 | 1,500 | Android-Team-1-Frontend | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.