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
analysis/low-level-api-fir/testData/lazyAnnotations/annotations/deprecation_class.kt
JetBrains
3,432,266
false
{"Kotlin": 79571273, "Java": 6776465, "Swift": 4063829, "C": 2609744, "C++": 1957654, "Objective-C++": 175279, "JavaScript": 130754, "Python": 59855, "Shell": 34920, "Objective-C": 21463, "Lex": 21452, "Batchfile": 11382, "CSS": 11368, "Ruby": 10470, "Dockerfile": 9907, "Groovy": 7092, "EJS": 5241, "CMake": 4473, "HTML...
// QUERY: annotations package one @Deprecated("deprecated class", ReplaceWith("1" + "2")) class F<caret>oo
181
Kotlin
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
107
kotlin
Apache License 2.0
composeUi/src/commonMain/kotlin/com/darkrockstudios/apps/hammer/common/projecteditor/scenelist/scenetree/ItemUi.kt
Wavesonics
499,367,913
false
null
package com.darkrockstudios.apps.hammer.common.projecteditor.scenelist.scenetree import androidx.compose.runtime.Composable import androidx.compose.ui.Modifier import com.darkrockstudios.apps.hammer.common.data.SceneItem import com.darkrockstudios.apps.hammer.common.tree.TreeValue typealias ItemUi = @Composable ( ...
0
Kotlin
1
8
37fa39e536151ba2b15eb81feddfd8435bf8a1d7
450
hammer-editor
MIT License
compiler/testData/diagnostics/tests/controlFlowAnalysis/deadCode/deadCallInInvokeCall.kt
JakeWharton
99,388,807
false
null
fun testInvoke() { operator fun Nothing.invoke() = this todo()<!UNREACHABLE_CODE!>()<!> } fun testInvokeWithLambda() { operator fun Nothing.invoke(<!UNUSED_PARAMETER!>i<!>: Int, f: () -> Int) = f todo()<!UNREACHABLE_CODE!>(1){ 42 }<!> } fun todo() = throw Exception()
179
null
5640
83
4383335168338df9bbbe2a63cb213a68d0858104
285
kotlin
Apache License 2.0
codegen/smithy-aws-kotlin-codegen/src/main/kotlin/aws/sdk/kotlin/codegen/protocols/eventstream/EventStreamParserGenerator.kt
awslabs
121,333,316
false
null
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ package aws.sdk.kotlin.codegen.protocols.eventstream import aws.sdk.kotlin.codegen.AwsRuntimeTypes import software.amazon.smithy.codegen.core.CodegenException import software.amazon.smithy.codegen.core....
92
null
34
293
7e01857598b2b91ea964e9fd4a45b2ffd17cd13e
10,853
aws-sdk-kotlin
Apache License 2.0
3D Clock With Dark and Light Theme/android/app/src/main/kotlin/com/example/image_view_3d/MainActivity.kt
SatYu26
331,404,021
false
{"Dart": 64987, "Swift": 6464, "Kotlin": 2067, "Objective-C": 608}
package com.example.image_view_3d import io.flutter.embedding.android.FlutterActivity class MainActivity: FlutterActivity() { }
0
Dart
0
0
a4dc0e3ae58e04288d5927e1d92371178b5a2249
130
Flutter-Practice-Projects
MIT License
src/main/kotlin/no/skatteetaten/aurora/mokey/extensions/JsonNode.kt
Skatteetaten
104,215,122
false
null
package no.skatteetaten.aurora.mokey.extensions import com.fasterxml.jackson.databind.JsonNode import com.fasterxml.jackson.databind.node.MissingNode import com.fasterxml.jackson.databind.node.MissingNode.getInstance fun JsonNode.extract(vararg pathAlternatives: String): JsonNode? { var valueNode: JsonNode = getI...
1
Kotlin
0
2
56fbffee28560a722ab5ae19d92f4baed0aaf059
974
mokey
Apache License 2.0
app/src/main/java/com/junjun/sunnyweather/android/logic/model/DailyResponse.kt
wangchuan-long
282,352,282
false
null
package com.junjun.sunnyweather.android.logic.model import com.google.gson.annotations.SerializedName import java.util.* /** * 定义未来天气查询返回的数据类型 */ // status:请求状态 result:关于结果的数组 data class DailyResponse(val status: String, val result: Result) { // daily:未来天气信息 data class Result(val daily: Daily) // temper...
0
Kotlin
0
0
408f44fac5aeb252327191482ad550d5f675084c
968
SunnyWeather
Apache License 2.0
app/src/main/java/github/sukieva/hhu/data/local/dao/FavDao.kt
SukiEva
338,038,935
false
null
package github.sukieva.hhu.data.local.dao import androidx.room.Dao import androidx.room.Insert import androidx.room.Query import androidx.room.Update import github.sukieva.hhu.data.entity.Website @Dao interface FavDao { @Insert suspend fun insertWeb(website: Website): Long @Query("select * from Website...
0
Kotlin
1
9
fb62706e96602a18b90f2ebf05808918dc1b0358
558
Myhhu
Apache License 2.0
app/src/main/java/net/mm2d/orientation/view/widget/CustomWidgetProvider.kt
ohmae
30,814,736
false
{"Kotlin": 285967}
/* * Copyright (c) 2023 大前良介 (<NAME>) * * This software is released under the MIT License. * http://opensource.org/licenses/MIT */ package net.mm2d.orientation.view.widget import android.appwidget.AppWidgetManager import android.appwidget.AppWidgetProvider import android.content.ComponentName import android.cont...
6
Kotlin
21
70
b8384573e09be1c07abf31beb6ad19a62e974536
7,991
orientation-faker
MIT License
core/mobile/src/main/kotlin/com/boswelja/smartwatchextensions/core/CommonDI.kt
boswelja
103,805,743
false
null
package com.boswelja.smartwatchextensions.core import com.boswelja.smartwatchextensions.core.devicemanagement.WatchDbRepository import com.boswelja.smartwatchextensions.core.devicemanagement.WatchRepository import com.boswelja.smartwatchextensions.core.devicemanagement.database.RegisteredWatchDatabase import com.boswe...
15
Kotlin
0
12
8bcbb19bd153a60a71aec6abade94ae3ac6f71d4
1,361
SmartwatchExtensions
Apache License 2.0
app/src/test/java/com/waryozh/simplestepcounter/WalkViewModelTest.kt
Waryozh
202,525,623
false
null
package com.waryozh.simplestepcounter import android.view.View import androidx.arch.core.executor.testing.InstantTaskExecutorRule import androidx.lifecycle.MutableLiveData import com.waryozh.simplestepcounter.database.WalkDay import com.waryozh.simplestepcounter.repositories.Repository import com.waryozh.simplestepcou...
0
Kotlin
0
0
9c1d619d51c2fcdc5f041ea3a84a6ed36771a4d1
3,826
simple-step-counter
MIT License
frontend/app/src/main/java/com/kasiry/app/screen/LoginScreen.kt
alfianandinugraha
585,695,566
false
null
package com.kasiry.app.screen import android.app.Application import android.util.Log import android.widget.Toast import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.* import androidx.compose.foundation.text.KeyboardOptions import androidx.compose.material.Text import androidx.compose...
0
Kotlin
0
1
6dc3a367acc255e7c2b1fe75543311b4bbb38b17
7,570
kasiry
MIT License
src/commonMain/kotlin/data/items/GauntletsOfTheRighteous.kt
marisa-ashkandi
332,658,265
false
null
package `data`.items import `data`.Constants import `data`.buffs.Buffs import `data`.itemsets.ItemSets import `data`.model.Item import `data`.model.ItemSet import `data`.model.Socket import `data`.model.SocketBonus import character.Buff import character.Stats import kotlin.Array import kotlin.Boolean import kotlin.Dou...
21
Kotlin
11
25
9cb6a0e51a650b5d04c63883cb9bf3f64057ce73
1,787
tbcsim
MIT License
node/src/test/kotlin/net/corda/node/utilities/certsigning/CertificateSignerTest.kt
evisoft
75,185,334
true
{"Kotlin": 1706445, "Java": 130061, "Groovy": 16432, "Shell": 1653, "CSS": 636, "Batchfile": 84}
package net.corda.node.utilities.certsigning import com.nhaarman.mockito_kotlin.any import com.nhaarman.mockito_kotlin.eq import com.nhaarman.mockito_kotlin.mock import net.corda.core.crypto.SecureHash import net.corda.core.crypto.X509Utilities import net.corda.core.div import net.corda.core.exists import net.corda.co...
1
Kotlin
1
1
4a9f5cafc1f2f09e8f612a09f30f9dfffd985a6c
3,291
corda
Apache License 2.0
app/src/main/kotlin/net/euse/calendar/services/SnoozeService.kt
saleo
123,436,418
true
{"Kotlin": 816075, "Java": 66798}
package net.euse.calendar.services import android.app.IntentService import android.content.Intent import net.euse.calendar.extensions.config import net.euse.calendar.extensions.dbHelper import net.euse.calendar.extensions.rescheduleReminder import net.euse.calendar.helpers.EVENT_ID class SnoozeService : IntentService...
26
Kotlin
0
0
9622eaa8afac50645b7de71689b82bb183917081
552
skcal
Apache License 2.0
zircon.core/src/jvmTest/kotlin/org/hexworks/zircon/integration/ButtonIntegrationTest.kt
mstaack
217,368,179
true
{"Kotlin": 1445120, "Java": 79475}
package org.hexworks.zircon.integration import org.hexworks.zircon.api.Components import org.hexworks.zircon.api.Positions import org.hexworks.zircon.api.Sizes import org.hexworks.zircon.api.extensions.box import org.hexworks.zircon.api.extensions.halfBlock import org.hexworks.zircon.api.extensions.positionalAlignment...
0
null
0
0
81e071352eb5f1f601a692d8dc9e013c98a17a02
2,639
zircon
MIT License
src/main/kotlin/com/bloock/sdk/record/entity/RecordReceipt.kt
bloock
305,086,190
false
null
package com.bloock.sdk.record.entity class RecordReceipt( val anchor: Int, val client: String, val record: String, val status: String )
0
Kotlin
0
0
80e7f0b2872cde532715ee4824815d0db76e32d5
153
bloock-sdk-kotlin
MIT License
idea-plugin/src/main/java/org/jetbrains/bunches/idea/vcs/SimpleCheckToolWindow.kt
JetBrains
126,407,654
false
null
package org.jetbrains.bunches.idea.vcs import com.intellij.icons.AllIcons import com.intellij.openapi.actionSystem.* import com.intellij.openapi.project.Project import com.intellij.openapi.ui.SimpleToolWindowPanel import com.intellij.openapi.vcs.CheckinProjectPanel import com.intellij.openapi.vcs.changes.Change import...
12
Kotlin
19
20
c19456770115994092b796fa177113abb096bb14
7,871
bunches
Apache License 2.0
src/ar/mangarose/src/eu/kanade/tachiyomi/extension/ar/mangarose/MangaRose.kt
komikku-app
720,497,299
false
{"Kotlin": 6775539, "JavaScript": 2160}
package eu.kanade.tachiyomi.extension.ar.mangarose import eu.kanade.tachiyomi.multisrc.madara.Madara import java.text.SimpleDateFormat import java.util.Locale class MangaRose : Madara( "Manga Rose", "https://mangarose.net", "ar", dateFormat = SimpleDateFormat("MMMM dd, yyyy", Locale("ar")), )
22
Kotlin
8
97
7fc1d11ee314376fe0daa87755a7590a03bc11c0
312
komikku-extensions
Apache License 2.0
api/src/main/java/com/vk/sdk/api/media/dto/MediaPopupDto.kt
VKCOM
16,025,583
false
null
/** * The MIT License (MIT) * * Copyright (c) 2019 vk.com * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy...
69
Kotlin
233
440
3dd6d9e3bc10ce9e77c3ea9331cc753f704f8f79
2,889
vk-android-sdk
MIT License
intellij-plugin/educational-core/src/com/jetbrains/edu/learning/ui/utils.kt
JetBrains
43,696,115
false
{"Kotlin": 5014435, "Java": 42267, "Python": 19649, "HTML": 14893, "CSS": 10327, "JavaScript": 302, "Shell": 71}
package com.jetbrains.edu.learning.ui import com.intellij.ide.ui.laf.darcula.ui.DarculaButtonUI import com.intellij.ui.ClientProperty import javax.swing.JButton /** * Makes the button blue like a default button in dialogs */ var JButton.isDefault: Boolean get() = ClientProperty.isTrue(this, DarculaButtonUI.DEFAUL...
7
Kotlin
49
150
9cec6c97d896f4485e76cf9a2a95f8a8dd21c982
533
educational-plugin
Apache License 2.0
common/src/main/kotlin/net/spaceeye/vsource/items/BaseTool.kt
SuperSpaceEye
751,999,893
false
{"Kotlin": 78653, "Java": 7131}
package net.spaceeye.vsource.items import net.minecraft.server.level.ServerLevel import net.minecraft.world.InteractionHand import net.minecraft.world.InteractionResultHolder import net.minecraft.world.entity.player.Player import net.minecraft.world.item.Item import net.minecraft.world.item.ItemStack import net.minecr...
0
Kotlin
0
0
f873ddc802e7360c96a4e7b5ea584cca0db7a94a
1,474
VSource
MIT License
services/csm.cloud.project.statistics/src/main/kotlin/com/bosch/pt/csm/cloud/projectmanagement/statistics/facade/listener/ProjectEventListenerImpl.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 - 2021 * * ************************************************************************ */ package com.bosch.pt.csm.cloud.projectmanagement.statistics.facade.listener import com.bos...
0
Kotlin
3
9
9f3e7c4b53821bdfc876531727e21961d2a4513d
1,902
bosch-pt-refinemysite-backend
Apache License 2.0
app/src/main/java/droiddevelopers254/droidconke/repository/SpeakersRepo.kt
droidconKE
132,411,780
false
null
package droiddevelopers254.droidconke.repository import com.google.firebase.firestore.FirebaseFirestore import com.google.firebase.firestore.FirebaseFirestoreException import com.google.firebase.firestore.ktx.toObjects import droiddevelopers254.droidconke.datastates.Result import droiddevelopers254.droidconke.models.S...
3
null
25
21
1c82965bf1fb0737ad1420ef4e4f0c96681f18a0
818
droidconKE
MIT License
android/src/main/kotlin/vn/com/extremevn/flutter_amplify_sdk/AmplifyMethodChannelHandler.kt
extremevn
348,202,216
false
{"Dart": 56458, "Kotlin": 39814, "Swift": 37106, "Ruby": 4327, "Objective-C": 2930}
/* MIT License Copyright (c) [2020] Extreme Viet Nam Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publi...
0
Dart
2
7
4beb8bddca117610e02c73733a9805457bf9cf5c
6,332
famplify
MIT License
common/components/screen-editor/src/commonMain/kotlin/io/stardewvalleydesigner/component/editor/modules/toolkit/tools/Drag.kt
AzimMuradov
377,785,069
false
{"Kotlin": 1064148, "HTML": 1659, "JavaScript": 461}
/* * Copyright 2021-2024 Azim Muradov * * 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...
23
Kotlin
1
5
21e1fe7d4d5aa472e7aeb321b943b991d4fb58b9
3,403
stardew-valley-designer
Apache License 2.0
src/org/jetbrains/r/console/jobs/RRunJobDialog.kt
JetBrains
214,212,060
false
null
/* * Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. */ package org.jetbrains.r.console.jobs import com.intellij.openapi.application.invokeLater import com.intellij.openapi.ui.DialogPanel import com.intellij.openapi.ui.DialogW...
1
Kotlin
9
49
ab1d4fae83d1621533d14c6870f590d90039967a
5,833
Rplugin
Apache License 2.0
scribe/src/main/java/dev/aspirasoft/scribe/Pen.kt
aspirasoft
330,161,229
false
null
package dev.aspirasoft.scribe import android.graphics.Canvas import android.graphics.Color import android.graphics.PointF import android.text.TextPaint import dev.aspirasoft.scribe.text.FontStyle import dev.aspirasoft.scribe.text.ParagraphStyle /** * @author saifkhichi96 * @since 1.0.0 */ internal class Pen(privat...
0
Kotlin
0
0
53f62ebc40515228090a04d6123fd599132360dc
1,784
scribe
MIT License
src/commonMain/kotlin/data/items/TouchOfInspiration.kt
marisa-ashkandi
332,658,265
false
null
package `data`.items import `data`.Constants import `data`.buffs.Buffs import `data`.model.Item import `data`.model.ItemSet import `data`.model.Socket import `data`.model.SocketBonus import character.Buff import character.Stats import kotlin.Array import kotlin.Boolean import kotlin.Double import kotlin.Int import kot...
21
null
11
25
9cb6a0e51a650b5d04c63883cb9bf3f64057ce73
1,654
tbcsim
MIT License
jetbrains-core/src/software/aws/toolkits/jetbrains/services/telemetry/ClientMetadata.kt
JetBrains
223,485,227
false
null
// Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.aws.toolkits.jetbrains.services.telemetry import com.intellij.openapi.application.ApplicationInfo import com.intellij.openapi.application.ApplicationNamesInfo import com.intellij.openapi....
6
null
4
9
ccee3307fe58ad48f93cd780d4378c336ee20548
1,126
aws-toolkit-jetbrains
Apache License 2.0
src/main/kotlin/schemact/domain/StaticWebsite.kt
typedpath
839,785,725
false
{"Kotlin": 95991, "Shell": 131}
package schemact.domain class StaticWebsite(val name: String, val description: String, val functionClients: List<FunctionClient> = mutableListOf(), init: StaticWebsite.() -> Unit = {}) { class BucketName : StringType(maxLength = 100) { init { isFromInfrastructure = true ...
0
Kotlin
0
0
3a11a52204b6d4cecd83029a216a2d01837c5359
518
schemact4
Apache License 2.0
apzkr-pzpi-21-11-kokhanevych-pavlo/Task4-MobileClient/src/main/java/com/animal/hotel/presentation/ui/fragments/user/current_list/feeding_list/ListFeedingFragment.kt
NureKokhanevychPavlo
810,819,177
false
{"Kotlin": 196074, "Java": 178994, "C++": 2061}
package com.animal.hotel.presentation.ui.fragments.user.current_list.feeding_list import android.os.Bundle import android.view.View import androidx.fragment.app.viewModels import androidx.lifecycle.flowWithLifecycle import androidx.lifecycle.lifecycleScope import androidx.navigation.fragment.findNavController import a...
0
Kotlin
0
0
7ccf454ca73913ea72011b5322558e130f6b525f
2,604
apzkr-pzpi-21-11-kokhanevych-pavlo
Apache License 2.0
kotlinx-coroutines-core/common/src/flow/Migration.kt
hitherejoe
258,154,989
true
{"Kotlin": 2640560, "Java": 30547, "CSS": 8215, "Shell": 3332, "JavaScript": 2529, "Ruby": 1932, "HTML": 1675, "Prolog": 422}
/* * Copyright 2016-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. */ @file:JvmMultifileClass @file:JvmName("FlowKt") @file:Suppress("unused", "DeprecatedCallableAddReplaceWith", "UNUSED_PARAMETER") package kotlinx.coroutines.flow import kotlinx.coroutines.* import kotlinx.cor...
0
Kotlin
0
1
d13087241e75a357d89f67f8f34476fd122eb56b
14,449
kotlinx.coroutines
Apache License 2.0
tmp/results/JS/BACKEND_tatno.kt
mandelshtamd
249,374,670
false
{"Git Config": 1, "Gradle": 6, "Text": 3, "INI": 5, "Shell": 2, "Ignore List": 3, "Batchfile": 2, "Markdown": 2, "Kotlin": 15942, "JavaScript": 4, "ANTLR": 2, "XML": 12, "Java": 4}
fun foo(x: Int ) { when (x) { 1, when (x) { else -> 1 } -> 1 } }
1
null
1
1
da010bdc91c159492ae74456ad14d93bdb5fdd0a
78
bbfgradle
Apache License 2.0
library/src/main/java/com/chuckerteam/chucker/internal/support/AndroidCacheFileFactory.kt
CuriousNikhil
245,493,073
true
{"Kotlin": 182841, "Shell": 799}
package com.chuckerteam.chucker.internal.support import android.content.Context import java.io.File import java.util.concurrent.atomic.AtomicLong internal class AndroidCacheFileFactory( context: Context ) : FileFactory { private val fileDir = context.cacheDir private val uniqueIdGenerator = AtomicLong() ...
0
Kotlin
0
1
d34919abd63fd28700141f3ad809d2e5c941a78c
441
chucker
Apache License 2.0
imagepicker/src/main/java/com/nguyenhoanglam/imagepicker/helper/LayoutManagerHelper.kt
nguyenhoanglam
64,893,333
false
null
/* * Copyright (C) 2023 Image Picker * Author: <NAME> <<EMAIL>> */ package com.nguyenhoanglam.imagepicker.helper import android.content.Context import android.content.res.Configuration import androidx.recyclerview.widget.GridLayoutManager import com.nguyenhoanglam.imagepicker.model.GridCount object LayoutManagerH...
21
Kotlin
154
550
7f1b1cc7254bb4d4c11af00f4a17aee782a8a3ef
842
ImagePicker
Apache License 2.0
spring-boot-oauth2-extended-authorization-server/authorization-server/src/main/kotlin/com/onlyteo/sandbox/service/JwkService.kt
onlyteo
692,402,826
false
{"Kotlin": 148668, "TypeScript": 58482, "HTML": 40643, "CSS": 9955, "Shell": 627}
package com.onlyteo.sandbox.service import com.nimbusds.jose.jwk.JWK import com.nimbusds.jose.jwk.JWKSelector import com.nimbusds.jose.jwk.source.JWKSource import com.nimbusds.jose.proc.SecurityContext import com.onlyteo.sandbox.properties.ApplicationProperties class JwkService( private val properties: Applicatio...
0
Kotlin
0
0
433851708c6baa51ae39e947df704824820db3e6
966
spring-boot-sandbox
Apache License 2.0
sundowner-service/logic/src/main/kotlin/de/tkoeppel/sundowner/module/spotreviews/SpotReviewEndpoint.kt
tkoeppel
849,831,922
false
{"Kotlin": 10633, "TypeScript": 3993, "Nix": 1580, "HTML": 753, "SCSS": 153}
package de.tkoeppel.sundowner.module.spotreviews import de.tkoeppel.sundowner.api.SpotReviewsApi class SpotReviewEndpoint : SpotReviewsApi { // TODO }
5
Kotlin
0
0
f28be88e170b01b0b4e16f73dafdbe25b07560e2
153
sundowner
Boost Software License 1.0
app/src/main/java/com/heyanle/easybangumi4/preferences/Preference.kt
easybangumiorg
413,723,669
false
null
package com.heyanle.easybangumi4.preferences import com.heyanle.okkv2.core.okkv import kotlinx.coroutines.flow.MutableStateFlow import kotlinx.coroutines.flow.asStateFlow /** * Created by HeYanLe on 2023/3/22 15:58. * https://github.com/heyanLE */ // 无痕模式 object InPrivatePreferences: Preference<Boolean>("inPrivat...
7
Kotlin
21
924
3f0079d90e24d6a2a4d3fb358b1bc421ee4a9904
818
EasyBangumi
Apache License 2.0
reposilite-backend/src/main/kotlin/com/reposilite/statistics/DateIntervalProvider.kt
dzikoysk
96,474,388
false
null
/* * Copyright (c) 2022 dzikoysk * * 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...
13
Kotlin
85
541
2d116b595c64c6b5a71b694ba6d044c40ef16b6a
1,993
reposilite
Apache License 2.0
colorpicker/src/main/java/com/jrummyapps/android/colorpicker/Compat.kt
tateisu
89,120,200
false
{"Kotlin": 4306902, "Java": 324536, "Perl": 34567}
package com.jrummyapps.android.colorpicker import android.os.Build import android.os.Bundle import android.os.Parcelable inline fun <reified T : Parcelable> Bundle.getParcelableCompat(key: String) = if (Build.VERSION.SDK_INT >= 33) { getParcelable(key, T::class.java) } else { @Suppress("DEPREC...
29
Kotlin
24
226
e57568a5b4e1657292831474b1a18b45784111ce
361
SubwayTooter
Apache License 2.0
core/src/commonMain/kotlin/work/socialhub/kslack/entity/event/StarRemovedEvent.kt
uakihir0
794,979,552
false
{"Kotlin": 945304, "Ruby": 2164, "Shell": 2095, "Makefile": 316}
package work.socialhub.kslack.entity.event import com.github.seratch.jslack.api.model.Attachment /** * When an item is starred, the star_added event is sent to all connected clients for the authenticated user who starred the item. * * * See the stars.list method for details of the structure of the item property. ...
5
Kotlin
0
0
4d7fe4d7658ebe5e7daac29f727db96a09deaead
1,334
kslack
MIT License
infra/micrometer/src/test/kotlin/io/bluetape4k/micrometer/instrument/AbstractMicrometerTest.kt
debop
625,161,599
false
{"Kotlin": 7504333, "HTML": 502995, "Java": 2273, "JavaScript": 1351, "Shell": 1301, "CSS": 444, "Dockerfile": 121, "Mustache": 82}
package io.bluetape4k.micrometer.instrument import io.bluetape4k.junit5.faker.Fakers import io.bluetape4k.logging.KLogging abstract class AbstractMicrometerTest { companion object: KLogging() { @JvmStatic protected val faker = Fakers.faker } }
0
Kotlin
0
1
ce3da5b6bddadd29271303840d334b71db7766d2
271
bluetape4k
MIT License
src/jvmTest/kotlin/doc/HelloWorld.kt
natanfudge
193,679,632
false
{"Kotlin": 45035, "HTML": 1548, "Python": 587}
package doc import kotplot.builders.KotPlot import kotplot.constructables.Point //import kotplot.jvmExtensions.show //TODO: change README to html so I can have tabs for jvm/js/native, and kotlin-dsl/groovy-dsl fun main() { val points = listOf( Point(0, 0), Point(1, 1), Point(2, 2) ) ...
0
Kotlin
0
0
f243a55ec47def424e18a0f30c71f877a038c3b4
405
kotplot
Apache License 2.0
src/main/kotlin/com/deflatedpickle/popenchanttags/PopEnchantTagsResuscitated.kt
DeflatedPickle
440,869,318
true
{"Kotlin": 4988, "Java": 1949}
/* Copyright (c) 2021-2022 DeflatedPickle under the MIT license */ package com.deflatedpickle.popenchanttags import net.minecraft.client.MinecraftClient import net.minecraft.client.util.math.MatrixStack import net.minecraft.entity.effect.StatusEffectUtil import net.minecraft.inventory.Inventories import net.minecraft...
0
Kotlin
0
1
16c6efc4f5f674e4e79ba057704fbdbb6b2e1375
5,016
PopEnchantTagsResuscitated
MIT License
daemon/src/main/kotlin/net/bytemc/bytecloud/daemon/commands/impl/ServiceCommand.kt
bytemcnetzwerk
684,494,766
false
{"Kotlin": 147393}
package net.bytemc.bytecloud.daemon.commands.impl import net.bytemc.bytecloud.api.CloudAPI import net.bytemc.bytecloud.api.commands.SenderType import net.bytemc.bytecloud.api.commands.annotations.Command import net.bytemc.bytecloud.api.commands.annotations.DefaultExecution import net.bytemc.bytecloud.api.commands.anno...
1
Kotlin
3
5
71a52f1a41d3dcd3c656090549e25e13b846539b
3,183
bytecloud
Apache License 2.0
app/src/main/kotlin/net/primal/android/nostr/utils/Nip19TLV.kt
PrimalHQ
639,579,258
false
null
package com.vitorpamplona.amethyst.service.nip19 import java.nio.ByteBuffer import java.nio.ByteOrder object Tlv { enum class Type(val id: Byte) { SPECIAL(0), RELAY(1), AUTHOR(2), KIND(3); } fun toInt32(bytes: ByteArray): Int { require(bytes.size == 4) { "length mu...
56
null
4
98
438072af7f67762c71c5dceffa0c83dedd8e2e85
1,014
primal-android-app
MIT License
app/src/main/java/com/example/nasa_mars_api_service/ui/fragment/image_of_day_description/ImageOfDayFragment.kt
Ferum-bot
321,743,211
false
null
package com.example.nasa_mars_api_service.ui.fragment.image_of_day_description import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.Toast import androidx.databinding.DataBindingUtil import androidx.fragment.app.Fragment import androidx...
0
Kotlin
0
1
65b8c42e08ff3fffdacf09b0796a327f27f52418
5,367
NASA-Mars-Api-Service
MIT License
app/src/main/java/top/z7workbench/butterfly/playback/ButterflyMediaService.kt
z7workbench
431,685,741
false
{"Kotlin": 28502}
package top.z7workbench.butterfly.playback import androidx.media3.common.AudioAttributes import androidx.media3.common.MediaItem import androidx.media3.common.Player import androidx.media3.common.util.UnstableApi import androidx.media3.exoplayer.DefaultRenderersFactory import androidx.media3.exoplayer.ExoPlayer import...
5
Kotlin
0
1
d3755061ecd8c17acdf6d645fe22cbe9eb001c34
2,388
Butterfly
MIT License
Corona-Warn-App/src/main/java/de/rki/coronawarnapp/bugreporting/debuglog/ui/upload/history/HistoryItemAdapter.kt
corona-warn-app
268,027,139
false
null
package de.rki.coronawarnapp.bugreporting.debuglog.ui.upload.history import android.content.ClipData import android.content.ClipboardManager import android.content.Context import android.view.ViewGroup import de.rki.coronawarnapp.R import de.rki.coronawarnapp.bugreporting.debuglog.upload.history.model.LogUpload import...
6
null
516
2,495
d3833a212bd4c84e38a1fad23b282836d70ab8d5
2,626
cwa-app-android
Apache License 2.0
KotlinMultiplatform/XFullStack/shared/src/commonMain/kotlin/core/models/request/Content.kt
pradyotprksh
385,586,594
false
{"Kotlin": 2932498, "Dart": 1066884, "Python": 319755, "Rust": 180589, "Swift": 149003, "C++": 113494, "JavaScript": 103891, "CMake": 94132, "HTML": 57188, "Go": 45704, "CSS": 18615, "SCSS": 17864, "Less": 17245, "Ruby": 13609, "Dockerfile": 9772, "C": 8043, "Shell": 7657, "PowerShell": 3045, "Nix": 2616, "Makefile": 1...
package core.models.request import kotlinx.serialization.Serializable @Serializable data class Content( val parts: List<Part>, )
0
Kotlin
11
24
a31e612a63e1dc42ed4cf2f50db90b8613fb5177
134
development_learning
MIT License
data/src/main/java/com/foobarust/data/models/seller/SellerItemDetailDto.kt
foobar-UST
285,792,732
false
null
package com.foobarust.data.models.seller import com.foobarust.data.constants.Constants.SELLER_ITEM_AVAILABLE_FIELD import com.foobarust.data.constants.Constants.SELLER_ITEM_CATALOG_ID_FIELD import com.foobarust.data.constants.Constants.SELLER_ITEM_COUNT_FIELD import com.foobarust.data.constants.Constants.SELLER_ITEM_D...
0
Kotlin
2
2
b4358ef0323a0b7a95483223496164e616a01da5
2,289
foobar-android
MIT License
recyclerview/src/main/java/com/tunjid/androidx/recyclerview/SwipeDragOptions.kt
tunjid
89,848,117
false
{"Kotlin": 436389, "Java": 77823}
package com.tunjid.androidx.recyclerview import android.view.View import androidx.recyclerview.widget.ItemTouchHelper import androidx.recyclerview.widget.RecyclerView internal class SwipeDragOptions<VH : RecyclerView.ViewHolder>( internal val itemViewSwipeSupplier: () -> Boolean, internal val longPressDragSup...
5
Kotlin
60
595
efdc0dcf5559984a36a8bed4cff6257f20e6e07d
839
Android-Extensions
MIT License
app/src/main/java/com/example/mymvvmsample/di/RepositoryModule.kt
EdyWDev
532,205,085
false
null
package com.example.mymvvmsample.di import com.example.mymvvmsample.service.CatFactRepository import com.example.mymvvmsample.service.CatFactService import dagger.Module import dagger.Provides import dagger.hilt.InstallIn import dagger.hilt.components.SingletonComponent import javax.inject.Singleton @Module @InstallI...
0
Kotlin
0
0
c10791fe6d9946e90e2e8587ee87fc0fde047d00
548
SampleMVVM
Apache License 2.0
lavaplayer/src/main/java/com/sedmelluq/discord/lavaplayer/source/soundcloud/SoundCloudSegmentDecoder.kt
mixtape-bot
397,835,411
true
{"Kotlin": 781109, "Java": 315803}
package com.sedmelluq.discord.lavaplayer.source.soundcloud import com.sedmelluq.discord.lavaplayer.tools.io.SeekableInputStream import com.sedmelluq.discord.lavaplayer.track.playback.AudioProcessingContext import java.io.IOException interface SoundCloudSegmentDecoder : AutoCloseable { @Throws(IOException::class) ...
0
Kotlin
0
6
06b02d8e711930c52d8ca67ad6347a17ca352ba2
704
lavaplayer
Apache License 2.0
src/main/kotlin/com/skillw/pouvoir/api/feature/trigger/BukkitTrigger.kt
Glom-c
396,683,163
false
null
package com.skillw.pouvoir.api.feature.trigger /** * Pou trigger * * 主要是将Bukkit事件名字格式化 * * 如果Bukkit事件类上没有此注解或没有指定name * * 则其事件名称将会像这样格式化为触发器id: * * "PlayerMoveEvent" -> "player move" * * @constructor Create empty Pou trigger * @property name */ annotation class BukkitTrigger(val name: String = "")
1
Kotlin
0
9
35b93485f5f4c2d5c534a2765ff7cfb8f34dd737
313
Pouvoir
MIT License
app/src/main/java/br/com/compasso/markup/ui/fragments/LocationFragment.kt
jotavier
330,055,469
false
null
package br.com.compasso.markup.ui.fragments import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import br.com.compasso.markup.R import br.com.compasso.markup.databinding.FragmentEventLocationBinding import br.com.compasso.markup.ui.viewmodels.EventViewMode...
0
Kotlin
0
1
fc9a47ca44cdb4e50916dbc450f99bb51e58c9c9
1,983
markup
MIT License
mediapicker/src/main/kotlin/ca/allanwang/kau/mediapicker/MediaModel.kt
pranavlathigara
109,946,503
true
{"Kotlin": 371986, "Java": 118232, "HTML": 3366, "Shell": 1054, "Ruby": 25}
package ca.allanwang.kau.mediapicker import android.database.Cursor import android.database.SQLException import android.net.Uri import android.os.Parcel import android.os.Parcelable import android.provider.MediaStore import android.support.annotation.NonNull import java.io.File /** * Created by <NAME> on 2017-07-14...
1
Kotlin
1
1
a0587e8877f35ac2dc149a64e06665dff424b469
2,341
KAU
Apache License 2.0
src/main/java/unofficial/html_generator.kt
MHordecki
64,960,736
false
{"HTML": 1918577, "Kotlin": 39700, "JavaScript": 994, "CSS": 475}
/** * This file contains HTML generating routines. * * It uses Freemarker as its templating engine. Boy, does it suck. Sadly, all other engines for the JVM suck even more. */ package unofficial import freemarker.ext.beans.StringModel import freemarker.template.Configuration import freemarker.template.SimpleScalar ...
0
HTML
0
0
215953bf22e05fe40a5c0de57db2a4f09d6f74f2
4,098
unofficial
MIT License
src/serverMain/kotlin/mce/pass/backend/Stage.kt
mcenv
435,848,712
false
null
package mce.pass.backend import mce.Id import mce.ast.core.Item import mce.ast.core.Term import mce.ast.core.VTerm import mce.pass.* import mce.pass.frontend.Zonk import mce.util.Store /** * Performs staging. */ @Suppress("NAME_SHADOWING") class Stage private constructor( private val normalizer: Normalizer, ) :...
79
Kotlin
0
15
f63905729320733d3cae95c3b51b492e94339fca
1,256
mce
MIT License
app/src/main/java/com/rogertalk/roger/ui/adapters/listener/ContactPicker.kt
rogertalk
207,123,525
false
{"Gradle": 4, "Java Properties": 3, "Markdown": 7, "Text": 6, "Shell": 1, "Ignore List": 3, "Batchfile": 1, "XML": 157, "Proguard": 2, "Kotlin": 408, "Java": 2, "JSON": 1, "Makefile": 2, "C": 105, "C++": 11}
package com.rogertalk.roger.ui.adapters.listener import com.rogertalk.roger.models.data.DeviceContactInfo interface ContactPicker { fun selectionBegun() fun selectionCleared() fun pressedRequestPermission() fun selectedContact(contact: DeviceContactInfo) fun unSelectedContact(contact: DeviceCon...
0
C
0
1
55c9922947311d9d8a1e930463b9ac2a1332e006
331
roger-android
MIT License
cli/src/main/java/io/boxtape/cli/commands/ShellCommand.kt
martypitt
40,046,986
false
{"Maven POM": 4, "Text": 2, "Ignore List": 1, "EditorConfig": 1, "YAML": 3, "Markdown": 1, "Java": 13, "Kotlin": 25, "XML": 1}
package io.boxtape.cli.commands import io.boxtape.core.Project public interface ShellCommand { fun name():String fun run(project: Project) }
1
null
1
1
4fd8ea2995dd467bc93f5f512da891f88a3dc8d7
151
boxtape
Apache License 2.0
app/src/main/java/com/softwarehut/mvpplayground/domain/home/HomePresenter.kt
softwarehutpl
139,710,457
false
{"Kotlin": 49242}
package com.softwarehut.mvpplayground.domain.home import com.softwarehut.mvp.domain.paramless.Presenter interface HomePresenter : Presenter
0
Kotlin
0
0
fe91f41fad6413a8dabd3b3e9e1e0826e8cd7553
141
MvpPlayground
Apache License 2.0
src/main/kotlin/com/github/gamefixxer/phpstormconstantmanagerplugin/utils/ContextUtils.kt
GameFixxer
819,920,091
false
{"Kotlin": 36578, "HTML": 2865}
package com.github.gamefixxer.phpstormconstantmanagerplugin.utils import com.intellij.psi.PsiElement import com.jetbrains.php.lang.psi.elements.* object ContextUtils { fun getContextName(element: PsiElement): String? { var contextElement = element.parent while (contextElement != null && contextEl...
1
Kotlin
0
1
2ad81d5ab5091ee8f0b538196ae2bbb97129e4b7
1,908
php-constant-manager
MIT License
modules/LoadingView/src/main/java/com/loading/view/space/SpaceWorld.kt
siarheisinelnikau
337,195,832
false
null
package com.loading.view.space import com.badlogic.ashley.core.Engine import com.loading.view.ecs.util.FPS import com.loading.view.ecs.util.VectorFloat import com.loading.view.space.component.* import com.loading.view.space.component.renderer.DotRenderer import com.loading.view.space.component.renderer.GradientRendere...
0
Kotlin
0
0
ed59d1e4c1f67c1e70cadd8e37a52882fe879912
5,947
LoadingView
Apache License 2.0
models/src/main/java/com/serma/models/model/WebAppUpdateUserRequestDto.kt
asuka1211
350,113,092
false
null
/** * Party maker API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit t...
0
Kotlin
0
0
92c1a65d5b52e4d14907f32a3d7d10028aca783e
1,032
DionysusProject
Apache License 2.0
app/src/main/java/com/nick_sib/popularlibraries/di/repository/RepositorySubComponent.kt
Nick-sib
309,776,675
false
null
package com.nick_sib.popularlibraries.di.repository import com.nick_sib.popularlibraries.di.repository.module.RepositoryModule import com.nick_sib.popularlibraries.mvp.presenters.ReposPresenter import dagger.Subcomponent @RepositoryScope @Subcomponent( modules = [ RepositoryModule::class ] ) interfa...
0
Kotlin
0
0
2be9c427a3881bf9774c72471505c69f1e08f74f
396
Popular-libraries
The Unlicense
src/commonMain/kotlin/wizard/files/composeApp/IosProject.kt
terrakok
618,540,934
false
null
package wizard.files.app import wizard.ProjectFile import wizard.ProjectInfo class IosAppIcon : ProjectFile { override val path = "iosApp/iosApp/Assets.xcassets/AppIcon.appiconset/Contents.json" override val content = """ { "images" : [ { "idiom" : "universal", ...
9
null
30
439
d61bd739f0443940441eec1986c5b58fa40f5f89
21,880
Compose-Multiplatform-Wizard
MIT License
recycler/src/main/java/com/elpassion/android/commons/recycler/adapters/Adapters.kt
mg6maciej
90,137,933
true
{"Kotlin": 155349, "Shell": 3364}
@file:JvmName("Adapters") package com.elpassion.android.commons.recycler.adapters import android.support.v7.widget.RecyclerView import android.view.View import android.view.ViewGroup import com.elpassion.android.commons.recycler.RecyclerViewCompositeAdapter import com.elpassion.android.commons.recycler.basic.BasicAda...
0
Kotlin
1
0
e6c09cf0da2ae9e847fd733018b2b7d1864626de
3,699
el-android-commons
Apache License 2.0
spring/src/test/kotlin/de/codecentric/hikaku/converters/spring/httpmethod/SpringConverterHttpMethodTest.kt
codecentric
167,929,609
false
{"Kotlin": 731151, "RAML": 5024, "Shell": 1492}
package de.codecentric.hikaku.converters.spring.httpmethod import de.codecentric.hikaku.converters.spring.SpringConverter import de.codecentric.hikaku.endpoints.Endpoint import de.codecentric.hikaku.endpoints.HttpMethod.* import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Nested import org....
2
Kotlin
19
193
b8a754f91b524b53a464167bf0abd6044caa25a4
54,687
hikaku
Apache License 2.0
demos/paint/src/main/java/com/guru/composecookbook/paint/DrawingCanvas.kt
Gurupreet
293,227,683
false
null
package com.example.fa_android.feature.main import android.view.MotionEvent import androidx.compose.foundation.Canvas import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.foundation.layout.padding import androidx.compose.runtime.Composable import androidx.compose.runtime.MutableState import an...
2
null
774
6,057
1b82b0b990648b2ece5c890fef622d9bdb00e4d8
2,139
ComposeCookBook
MIT License
pacote-download/listadecompras/app/src/main/java/br/com/alexandre/listadecompras/Produto.kt
alexandreluizdasilva
267,085,819
false
null
package br.com.alexandre.listadecompras import android.graphics.Bitmap data class Produto(val nome:String, val quantidade:Int, val valor:Double, val foto:Bitmap? = null)
0
Kotlin
0
0
c76f3ec8416e7ea9ff533fb592f9b0c7df322aa2
171
Android
MIT License
src/main/kotlin/com/fortify/fod/parser/BsiToken.kt
4est
108,306,501
true
{"Kotlin": 14498}
package com.fortify.fod.parser /** * A Build Server (Continuous) Integration Token for integrating with Fortify on Demand */ class BsiToken { var tenantId: Int = 0 var tenantCode: String = "" var projectVersionId: Int = 0 var assessmentTypeId: Int = 0 var payloadType: String = "ANALYSIS_PAYLOAD...
0
Kotlin
0
0
d93ae4050e1eb38318ddbbc9aefb23232f94f795
1,295
bsi-token-parser
MIT License
src/main/kotlin/com/sourcegraph/cody/agent/protocol_generated/CurrentUserCodySubscription.kt
sourcegraph
702,947,607
false
{"Kotlin": 914689, "Java": 201176, "Shell": 4636, "TypeScript": 2153, "Nix": 1122, "JavaScript": 436, "HTML": 294}
@file:Suppress("FunctionName", "ClassName", "unused", "EnumEntryName", "UnusedImport") package com.sourcegraph.cody.agent.protocol_generated; data class CurrentUserCodySubscription( val status: String, val plan: String, val applyProRateLimits: Boolean, val currentPeriodStartAt: Date, val currentPeriodEndAt: ...
230
Kotlin
16
55
1eb25809c3e51b64f08e851c8da09778000540c6
329
jetbrains
Apache License 2.0
src/jvmMain/kotlin/blue/starry/stella/server/endpoints/GetMedia.kt
SlashNephy
279,921,971
false
{"Kotlin": 112668, "Go": 7724, "Dockerfile": 878, "Makefile": 360}
package blue.starry.stella.server.endpoints import blue.starry.stella.Env import blue.starry.stella.Stella import io.ktor.application.call import io.ktor.http.HttpHeaders import io.ktor.http.HttpStatusCode import io.ktor.http.Url import io.ktor.locations.Location import io.ktor.locations.get import io.ktor.request.hea...
27
Kotlin
0
8
a120352416eb7630fe5cb52743815435164840c9
990
stella
MIT License
YouKonCMP/composeApp/src/commonMain/kotlin/view/BackgroundBox.kt
radcli14
652,278,622
false
{"Kotlin": 132950, "Swift": 37362}
package view import androidx.compose.foundation.Image import androidx.compose.foundation.isSystemInDarkTheme import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.foundation.layout.padding import androidx.compose.runtime.Composable import androidx.c...
6
Kotlin
0
1
88bf47faa923c43d04a03fccb7a64609f968ba0d
2,026
youkon
MIT License
SharedCode/src/androidMain/kotlin/com/surrus/galwaybus/common/di/KoinAndroid.kt
joreilly
96,469,751
false
null
package com.surrus.galwaybus.common.di import android.content.Context import com.russhwolf.settings.AndroidSettings import com.russhwolf.settings.ExperimentalSettingsApi import com.russhwolf.settings.ObservableSettings import com.squareup.sqldelight.android.AndroidSqliteDriver import com.surrus.galwaybus.db.MyDatabase...
5
Kotlin
37
424
d94da5ae243cf9cf1037e08ec53f55993288f920
879
GalwayBus
MIT License
va_code/app/src/main/java/com/mvrc/viewapp/domain/event/ValidationEvent.kt
MarcoBendinelli
789,851,376
false
{"Kotlin": 547994}
package com.mvrc.viewapp.domain.event /** * Sealed class representing events that can occur during a validation process. */ sealed class ValidationEvent { /** * Object representing a successful validation event. */ object Success : ValidationEvent() /** * Object representing an error in t...
0
Kotlin
0
0
1c570950bd1d8e122e83414c1b0ff6d731a2d3fb
392
View-Android-Mobile-App
MIT License
beagle/src/test/kotlin/br/com/zup/beagle/android/cache/LruCacheStoreTest.kt
mabcl
400,229,216
true
{"Kotlin": 1942093, "Java": 29122, "Shell": 7802, "Ruby": 5586, "HTML": 927}
/* * Copyright 2020 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA * * 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...
0
null
0
0
5ae9258bd6316e97633bc73a84ad03dd4d9de0dc
2,110
beagle-android
Apache License 2.0
desktop/src/jvmMain/kotlin/main.kt
alexmaryin
419,989,861
false
null
import androidx.compose.foundation.isSystemInDarkTheme import androidx.compose.material.MaterialTheme import androidx.compose.ui.window.Window import androidx.compose.ui.window.application import com.arkivanov.decompose.DefaultComponentContext import com.arkivanov.essenty.lifecycle.LifecycleRegistry import decompose.Ro...
3
Kotlin
1
4
c186ee8a179bed5cb903bfc5179e9e7198aad369
810
sims_checklist
Apache License 2.0
app/src/main/java/com/test/tribal/App.kt
israis007
399,584,600
false
null
package com.test.tribal import androidx.multidex.MultiDex import androidx.multidex.MultiDexApplication class App: MultiDexApplication() { private var isConnected = false companion object { lateinit var instance: App private set } init { instance = this } overrid...
0
Kotlin
0
0
07b5e3b685164446b9f38f51eec114d15a324324
546
pruebaTribal
Apache License 2.0
core/src/main/java/com/loitp/views/layout/heart/PathAnimator.kt
tplloi
126,578,283
false
null
package com.views.layout.heartlayout import android.graphics.Path import android.graphics.PathMeasure import android.os.Handler import android.os.Looper import android.view.View import android.view.ViewGroup import android.view.animation.Animation import android.view.animation.LinearInterpolator import android.view.an...
1
null
1
9
1bf1d6c0099ae80c5f223065a2bf606a7542c2b9
3,204
base
Apache License 2.0
feature/employee_payment/src/main/java/com/niyaj/feature/employee_payment/components/EmployeePayments.kt
skniyajali
579,613,644
false
{"Kotlin": 2202790}
package com.niyaj.feature.employee_payment.components import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.foundation.layout.padding import androidx.compose.foundation.shape.RoundedCornerShape import androidx.compose.material.Card import androidx.compose.material.ExperimentalMaterialApi impor...
25
Kotlin
0
1
8067efcc5dc377f7161fee2f372c5be35e98e678
3,460
POS-Application
MIT License
app/app/src/main/java/com/example/posture/Sensors.kt
metaflow
199,304,130
false
{"Jupyter Notebook": 11469268, "Kotlin": 34379, "C++": 29182, "Python": 3764}
package com.example.posture import android.bluetooth.BluetoothAdapter import android.bluetooth.BluetoothDevice import android.bluetooth.BluetoothManager import android.bluetooth.le.ScanCallback import android.bluetooth.le.ScanFilter import android.bluetooth.le.ScanResult import android.bluetooth.le.ScanSettings import...
0
Jupyter Notebook
0
0
ee01b134d31bf2c24fd41c97d5b810c6c18ed07c
5,992
posture
MIT License
framework/src/main/kotlin/dev/alpas/auth/HandlesUserLogin.kt
alpas
222,342,832
false
null
package dev.alpas.auth import dev.alpas.exceptions.ValidationException import dev.alpas.http.HttpCall import dev.alpas.http.RequestError import dev.alpas.orAbort import dev.alpas.validation.ErrorBag import dev.alpas.validation.Required import dev.alpas.validation.Rule interface HandlesUserLogin { fun afterLoginRe...
8
null
7
180
1006b1e6aa2a97f2e122162b7d90444515b43cc5
1,743
alpas
MIT License
app/src/main/java/com/project/messagingapp/ui/main/viewmodel/NearbyUsersViewModel.kt
RavanSA
451,967,284
false
{"Kotlin": 218193, "Jupyter Notebook": 75834, "Java": 2313, "JavaScript": 1816, "HTML": 372, "CSS": 272}
package com.project.messagingapp.ui.main.viewmodel import android.app.Application import androidx.lifecycle.AndroidViewModel import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import androidx.lifecycle.ViewModel import com.project.messagingapp.data.ChatDatabase import com.project.messagingapp...
0
Kotlin
0
1
015ec8ad25fc9e3152e4b47011ba37079fdb38c5
953
MessagingApp
MIT License
openmrs-client/src/main/java/edu/upc/openmrs/activities/logs/LogsViewModel.kt
BLOPUP-UPC
536,613,762
false
null
package edu.upc.openmrs.activities.logs import edu.upc.sdk.library.OpenMRSLogger import edu.upc.sdk.library.OpenmrsAndroid import dagger.hilt.android.lifecycle.HiltViewModel import java.io.BufferedReader import java.io.File import java.io.FileInputStream import java.io.InputStreamReader import javax.inject.Inject @Hi...
0
Kotlin
1
3
a043c8647db54a8c3fef1018829af227b320b9df
1,073
blopup-android-app
Naumen Public License
app/src/main/java/net/tnose/app/trisquel/FilmRollViewModel.kt
plus7
117,273,066
false
{"Kotlin": 564939, "Java": 1153}
package net.tnose.app.trisquel import android.app.Application import androidx.lifecycle.AndroidViewModel import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import androidx.lifecycle.switchMap import androidx.lifecycle.viewModelScope import kotlinx.coroutines.launch class FilmRollViewModel(ap...
14
Kotlin
0
2
7655d354f8bcee9d0de19a4038871e6400fcc6d9
1,389
Trisquel
Apache License 2.0
collector/src/androidTest/java/com/bitmovin/analytics/data/LongtermRetryOnFailureTest.kt
bitmovin
120,633,749
false
null
package com.bitmovin.analytics.data import android.os.Handler import android.os.Looper import androidx.test.ext.junit.runners.AndroidJUnit4 import androidx.test.platform.app.InstrumentationRegistry import com.bitmovin.analytics.BitmovinAnalytics import com.bitmovin.analytics.adapters.PlayerAdapter import com.bitmovin....
1
null
6
9
ffde2585194bf468b00c409f32b68c76d1e7f0bb
22,202
bitmovin-analytics-collector-android
Amazon Digital Services License
sphinx/screens/onboard/onboard-message/src/main/java/chat/sphinx/onboard/ui/OnBoardMessageSideEffect.kt
stakwork
340,103,148
false
null
package chat.sphinx.onboard.ui import android.app.AlertDialog import android.content.Context import chat.sphinx.onboard.R import chat.sphinx.wrapper_relay.RelayUrl import io.matthewnelson.concept_views.sideeffect.SideEffect internal sealed class OnBoardSideEffect: SideEffect<Context>() { class RelayUrlHttpConfir...
96
null
8
18
4fd9556a4a34f14126681535558fe1e39747b323
1,177
sphinx-kotlin
MIT License
lib/src/integrationTest/kotlin/com/lemonappdev/konsist/core/declaration/kosetter/KoSetterDeclarationForKoContainingFileProviderTest.kt
LemonAppDev
621,181,534
false
null
package com.lemonappdev.konsist.core.declaration.kosetter import com.lemonappdev.konsist.TestSnippetProvider.getSnippetKoScope import org.amshove.kluent.shouldBeEqualTo import org.junit.jupiter.api.Test class KoSetterDeclarationForKoContainingFileProviderTest { @Test fun `setter-containing-file`() { /...
5
null
26
995
603d19e179f59445c5f4707c1528a438e4595136
800
konsist
Apache License 2.0
library/src/main/kotlin/com/daniloaraujosilva/mathemagika/library/common/mathematica/functions/FillingTransform.kt
Danilo-Araujo-Silva
271,904,885
false
null
package com.daniloaraujosilva.mathemagika.library.common.mathematica.functions import com.daniloaraujosilva.mathemagika.library.common.mathematica.MathematicaFunction /** *```` * * Name: FillingTransform * * Full name: System`FillingTransform * * FillingTransform[image] giv...
2
Kotlin
0
3
4fcf68af14f55b8634132d34f61dae8bb2ee2942
1,332
mathemagika
Apache License 2.0
kimhyebeen/Mission05/CustomBurger/app/src/main/java/com/khb/customburger/viewmodel/DecoRepository.kt
Yapp-17th
285,854,858
false
{"Swift": 256086, "Kotlin": 116710, "JavaScript": 26300, "Ruby": 3960, "Objective-C": 1731, "HTML": 1196}
package com.khb.customburger.viewmodel import com.khb.customburger.BasicBurger import com.khb.customburger.Burger import com.khb.customburger.concretedecorator.* import java.lang.Exception class DecoRepository { fun makeBurger(materials: List<String>): Burger { var burger: Burger = BasicBurger() ...
20
Swift
1
5
572983a00913bbc110ce062f26fd2cb35475186b
867
Study_DesignPattern
MIT License
app/src/main/java/lt/vilnius/tvarkau/data/GsonSerializer.kt
vilnius
45,076,585
false
null
package lt.vilnius.tvarkau.data import java.lang.reflect.Type interface GsonSerializer { fun <T> toJson(value: T): String fun <T> fromJson(json: String?, clazz: Class<T>): T fun <T> fromJsonType(json: String, type: Type): T }
7
null
15
24
3d546e1e70b5b05514f47e7cb6c1c2e03a7da093
241
tvarkau-vilniu
MIT License
kommons-core/src/commonTest/kotlin/com/bkahlert/kommons/RangesKtTest.kt
bkahlert
323,048,013
false
null
package com.bkahlert.kommons import com.bkahlert.kommons.test.testAll import io.kotest.assertions.throwables.shouldThrow import io.kotest.matchers.collections.shouldBeEmpty import io.kotest.matchers.collections.shouldContainExactly import io.kotest.matchers.doubles.shouldBeBetween import io.kotest.matchers.nulls.shoul...
5
null
0
18
747cb51cf6e6b729d574396a4938eabafbdac1fe
4,323
kommons
MIT License
html-parser/src/main/kotlin/it/skrape/selects/html5/FormSelectors.kt
skrapeit
165,720,614
false
null
package it.skrape.selects.html5 import it.skrape.selects.CssSelectable import it.skrape.selects.CssSelector /** * Will define a <button>-tags css query selector. * By default it will just be the specific tag-name. * It is possible to define a more concrete selector by using the provided fields of the CssSelector o...
30
null
58
793
0cf3e5c2f5322deabf28c5872624d2f876d321c7
8,096
skrape.it
MIT License
core/src/main/java/com/github/windsekirun/naraeaudiorecorder/extensions/RxExtensions.kt
WindSekirun
164,206,852
false
null
package com.github.windsekirun.naraeaudiorecorder.extensions import com.github.windsekirun.naraeaudiorecorder.model.DebugState import io.reactivex.Observable import io.reactivex.annotations.CheckReturnValue import io.reactivex.disposables.Disposable /** * internal extensions to handle onNext, onError, onComplete eve...
9
Kotlin
19
85
dd59377b2a41db32b4244e4d0135d0c7e82bdad6
804
NaraeAudioRecorder
Apache License 2.0
app/src/main/java/com/example/noteapp/Model/Note.kt
ahmedsamir9
256,301,731
false
null
package com.example.noteapp.Model import android.os.Parcelable import androidx.room.ColumnInfo import androidx.room.Entity import androidx.room.Ignore import androidx.room.PrimaryKey import kotlinx.android.parcel.Parcelize @Parcelize @Entity data class Note( @PrimaryKey(autoGenerate = true) var id:Int, @C...
0
Kotlin
0
1
ad3ebc4079377ba48f5a84521d3935b1df2524b1
451
Note-app-kotlin
MIT License
src/opennlp-conll/main/opennlp/ext/conll/treebank/features/lexical/PronType.kt
rhdunn
418,266,921
false
null
// Copyright (C) 2021 <NAME>. SPDX-License-Identifier: Apache-2.0 package opennlp.ext.conll.treebank.features.lexical import opennlp.ext.conll.treebank.Feature import opennlp.ext.conll.treebank.FeatureSet import opennlp.ext.conll.treebank.features.UnknownFeatureValue // Reference: [PronType](https://universaldependen...
0
Kotlin
0
3
3b0f35236af1773bf28a5ccec8c2e8bf7a3de9b2
826
opennlp-extensions
Apache License 2.0
src-test-split/nyab/util/QStringAlign.kt
nyabkun
643,495,669
false
null
/* * Copyright 2023. nyabkun * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, su...
0
Kotlin
0
1
c9da5932027900b6b2ac9881f387590b112d7ff0
16,687
qq-tree
MIT License