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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
app/src/main/java/com/zobaer53/starwars/app/character/domain/repository/CharacterRepository.kt | zobaer53 | 718,458,210 | false | {"Kotlin": 95081} | package com.zobaer53.starwars.app.character.domain.repository
import androidx.paging.PagingData
import com.zobaer53.starwars.app.character.domain.entity.Character
import kotlinx.coroutines.flow.Flow
interface CharacterRepository {
suspend fun getCharacters(): Flow<PagingData<Character>>
} | 0 | Kotlin | 0 | 0 | 4757681c56a3cde84da46deb81b28a4263fe8423 | 295 | StarWars | Apache License 2.0 |
app/src/main/java/com/gcect/gcectapp/ui/fragments/ExamScheduleFragment.kt | anistdnt | 458,702,833 | true | {"Kotlin": 144960} | package com.gcect.gcectapp.ui.fragments
import android.content.Context
import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.databinding.DataBindingUtil
import androidx.fragment.app.FragmentManager
import... | 0 | Kotlin | 0 | 1 | 2a71986d8388ac5b6c079e200bacf23078cd9845 | 1,703 | GCECT-APP | MIT License |
flexvalidation/src/main/java/com/tcorner/flexvalidation/EmailValidation.kt | tentenponce | 197,154,252 | false | null | package com.tcorner.flexvalidation
import java.util.regex.Pattern
/**
* returns true if email is valid, false otherwise.
*/
class EmailValidation : Validation() {
companion object {
private val EMAIL_PATTERN =
Pattern.compile("^[A-Z0-9._%+-]+@[A-Z0-9.-]+\\.[A-Z]{2,6}$", Pattern.CASE_INSENSI... | 3 | Kotlin | 0 | 1 | 067607154bfd6463bb8d41291a03e61e5e9c2128 | 504 | FlexValidation | MIT License |
common/src/main/java/me/wcy/common/utils/VibrateUtils.kt | wangchenyan | 625,252,978 | false | null | package me.wcy.common.utils
import android.content.Context
import android.os.Vibrator
import me.wcy.common.CommonApp
/**
* Created by wangchenyan.top on 2021/9/28.
*/
object VibrateUtils {
fun vibrate(time: Long = 300L) {
val vibratorService =
CommonApp.app.getSystemService(Context.VIBRATOR... | 0 | Kotlin | 0 | 3 | 0dd8b70fd83117c83ae2d89c97f82087fe44c7fd | 387 | android-common | Apache License 2.0 |
VCL/src/main/java/io/velocitycareerlabs/impl/domain/infrastructure/keys/KeyService.kt | velocitycareerlabs | 525,006,413 | false | null | /**
* Created by <NAME> on 15/05/2023.
*
* Copyright 2022 Velocity Career Labs inc.
* SPDX-License-Identifier: Apache-2.0
*/
package io.velocitycareerlabs.impl.domain.infrastructure.keys
import com.nimbusds.jose.jwk.ECKey
import io.velocitycareerlabs.api.entities.VCLDidJwk
import io.velocitycareerlabs.api.entiti... | 0 | Kotlin | 0 | 0 | bd05a31fd958feb16c065e247c8ce53ca5653bce | 757 | WalletAndroid | Apache License 2.0 |
feature-StoryDetail/src/main/java/droidkaigi/github/io/challenge2019/story/detail/StoryDetailActivity.kt | wada811 | 169,668,844 | true | {"Kotlin": 30640} | package droidkaigi.github.io.challenge2019.story.detail
import android.os.Bundle
import android.view.Menu
import android.view.MenuItem
import android.webkit.WebResourceError
import android.webkit.WebResourceRequest
import android.webkit.WebView
import android.webkit.WebViewClient
import androidx.appcompat.app.AppCompa... | 1 | Kotlin | 0 | 0 | 3d6bca9f6cd079bc771163f8f8aa7dee30757228 | 4,266 | codelabs-challenge-app-2019 | Apache License 2.0 |
app/src/main/java/com/rafay/notes/NotesApplication.kt | rafayali | 200,348,454 | false | {"Kotlin": 55556} | package com.rafay.notes
import android.app.Application
import org.koin.android.ext.koin.androidContext
import org.koin.core.context.startKoin
import timber.log.Timber
class NotesApplication : Application() {
override fun onCreate() {
super.onCreate()
if (BuildConfig.DEBUG) {
Timber.p... | 10 | Kotlin | 0 | 8 | 4a4e1eeb144cc27aa518f6fd0a64c02461067e8e | 470 | notes | Apache License 2.0 |
src/main/kotlin/de/claudioaltamura/kotlin_spring_boot_todo/controller/Todo.kt | claudioaltamura | 858,078,726 | false | {"Kotlin": 1901} | package de.claudioaltamura.kotlin_spring_boot_todo.controller
data class Todo(val id: Long, val title: String, val description: String)
| 0 | Kotlin | 0 | 0 | 2d6a2005631a3282b60c5d354d4a8317282e59e4 | 137 | kotlin-spring-boot-todo-example | MIT License |
app/src/main/java/org/teslasoft/assistant/ui/activities/LogitBiasConfigListActivity.kt | AndraxDev | 608,789,494 | false | {"Kotlin": 997413, "HTML": 4464, "Shell": 814} | /**************************************************************************
* Copyright (c) 2023-2024 <NAME>. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* ... | 7 | Kotlin | 59 | 277 | 13b3da677999128d15e67997d6a1d2ec8ebc21b2 | 9,310 | speak-gpt | Apache License 2.0 |
straight/src/commonMain/kotlin/me/localx/icons/straight/bold/TrashCheck.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.straight.bold
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter
i... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 3,071 | icons | MIT License |
app/src/main/java/com/apdallahyousry/customgalleryapplication/data/repo/MediaRepository.kt | apdallah | 751,674,668 | false | {"Kotlin": 35155} | package com.apdallahyousry.customgalleryapplication.data.repo
import com.apdallahyousry.customgalleryapplication.data.models.AlbumModel
import com.apdallahyousry.customgalleryapplication.data.models.MediaItemModel
import kotlinx.coroutines.flow.Flow
interface MediaRepository {
suspend fun readMedia(): Flow<List<Al... | 0 | Kotlin | 0 | 0 | 4cfdf99aec4d0f439db430436d8014f5b10bfb4b | 333 | CustomGalleryApplicationTask | MIT License |
services/csm.cloud.project.project/src/main/kotlin/com/bosch/pt/iot/smartsite/craft/model/Craft.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: <NAME> Power Tools GmbH, 2018 - 2021
*
* ************************************************************************
*/
package com.bosch.pt.iot.smartsite.craft.model
import com.bosch.pt.csm.cloud.common.extensions.t... | 0 | Kotlin | 3 | 9 | 9f3e7c4b53821bdfc876531727e21961d2a4513d | 3,849 | bosch-pt-refinemysite-backend | Apache License 2.0 |
modules/webpush/src/commonMain/kotlin/org/kompars/webpush/Settings.kt | kompars | 861,594,430 | false | {"Kotlin": 15227, "JavaScript": 759} | package org.kompars.webpush
import kotlin.time.*
public data class Settings(
public val ttl: Duration? = null,
public val topic: String? = null,
public val urgency: Urgency? = null,
)
public enum class Urgency(internal val headerValue: String) {
VeryLow("very-low"),
Low("low"),
Normal("normal... | 0 | Kotlin | 0 | 1 | be443d9ca9d5f2aa3345aee29bf38f360b0f1bbf | 344 | webpush | Apache License 2.0 |
compiler/testData/diagnostics/tests/exposed/object.kt | JakeWharton | 99,388,807 | false | null | // From KT-10753
object My : <!EXPOSED_SUPER_CLASS!>Inter()<!> {
fun <!EXPOSED_FUNCTION_RETURN_TYPE!>foo<!>(<!EXPOSED_PARAMETER_TYPE!>arg: Inter<!>): Inter = arg
val <!EXPOSED_PROPERTY_TYPE!>x<!>: Inter? = null
}
internal open class Inter
// From KT-10799
open class Test {
protected class Protected
f... | 181 | null | 5748 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 909 | kotlin | Apache License 2.0 |
src/main/kotlin/com/bushka/bittrex/model/addresses/AddressStatus.kt | ColeKainz | 288,023,403 | false | null | package com.bushka.bittrex.model.addresses
import com.google.gson.annotations.SerializedName
enum class AddressStatus {
@SerializedName("REQUESTED")
REQUESTED,
@SerializedName("PROVISIONED")
PROVISIONED
} | 0 | Kotlin | 4 | 2 | ec77e3077253acf23f7f8d4c6d7587f601882474 | 223 | bittrex-kotlin-client | MIT License |
rounded/src/commonMain/kotlin/me/localx/icons/rounded/outline/Circle6.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.rounded.outline
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 2,930 | icons | MIT License |
rsocket-transport-netty/src/main/kotlin/io/rsocket/kotlin/transport/netty/WebsocketDuplexConnection.kt | densebrain | 190,571,918 | true | {"Kotlin": 445206, "Shell": 894} | /*
* Copyright 2015-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 0 | Kotlin | 0 | 0 | b0759755c09fb45de64b0227bc2f47f56ec4b40e | 3,290 | rsocket-kotlin | Apache License 2.0 |
tabler/src/commonMain/kotlin/com/woowla/compose/icon/collections/tabler/tabler/outline/BrandGoogleOne.kt | walter-juan | 868,046,028 | false | {"Kotlin": 20416825} | package com.woowla.compose.icon.collections.tabler.tabler.outline
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.vector.ImageVector
import androidx.compose.ui.graphics.vector... | 0 | Kotlin | 0 | 1 | b037895588c2f62d069c724abe624b67c0889bf9 | 2,470 | compose-icon-collections | MIT License |
app/src/main/java/com/gobinda/accountwise/feature/accountlist/AccountListActivity.kt | gobinda1547 | 699,026,633 | false | {"Kotlin": 10586} | package com.gobinda.accountwise.feature.accountlist
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.Surface
import andr... | 0 | Kotlin | 0 | 1 | be5a413f62a8487472439712ef069dfbc959a473 | 1,430 | AccountWise-Android-App | MIT License |
plugin/src/test/kotlin/com/charlesmuchene/semver/SemVerPluginTest.kt | charlesmuchene | 841,263,043 | false | {"Kotlin": 12017} | package com.charlesmuchene.semver
class SemVerPluginTest {
} | 0 | Kotlin | 0 | 0 | 530b95dcc87b6cb0a83cf181227480c5e1084a90 | 62 | temp-semver-bump | Apache License 2.0 |
vgscheckout/src/test/java/com/verygoodsecurity/vgscheckout/card/filter/brand/DankortTest.kt | verygoodsecurity | 371,054,567 | false | null | package com.verygoodsecurity.vgscheckout.card.filter.brand
import com.verygoodsecurity.vgscheckout.collect.view.card.CardType
import com.verygoodsecurity.vgscheckout.collect.view.card.filter.CardBrandFilter
import com.verygoodsecurity.vgscheckout.collect.view.card.filter.VGSCardFilter
import org.junit.Assert
import or... | 5 | Kotlin | 2 | 2 | 49fdede7a225435b37837f5396dcfea06217e275 | 646 | vgs-checkout-android | MIT License |
app/src/main/java/org/nekomanga/presentation/components/Chip.kt | nekomangaorg | 182,704,531 | false | {"Kotlin": 3261245} | package org.nekomanga.presentation
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.Surface
import androidx.compose.material3.Text... | 82 | Kotlin | 108 | 1,909 | 69fb59e72ddcccb9c5f91a5da74ce3ac8d1b82fc | 1,333 | Neko | Apache License 2.0 |
feature-onboarding-api/src/main/java/com/dfinn/wallet/feature_onboarding_api/domain/OnboardingInteractor.kt | finn-exchange | 500,972,990 | false | null | package com.dfinn.wallet.feature_onboarding_api.domain
interface OnboardingInteractor
| 0 | Kotlin | 0 | 0 | 6cc7a0a4abb773daf3da781b7bd1dda5dbf9b01d | 87 | dfinn-android-wallet | Apache License 2.0 |
app/src/main/java/com/tr4n/moviedb/data/entity/MovieEntity.kt | tr4n | 582,178,402 | false | null | package com.tr4n.moviedb.data.entity
import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey
import com.tr4n.moviedb.domain.mapper.MapAbleToModel
import com.tr4n.moviedb.domain.model.Movie
@Entity(tableName = "movies")
data class MovieEntity(
@PrimaryKey(autoGenerate = false)
... | 3 | Kotlin | 2 | 0 | 5a952bbbebbb25e47d387ae77b7396579a173ef7 | 3,231 | android-sample | MIT License |
app/src/main/java/com/hms/referenceapp/hmsmotioncapturedemo/skeleton/HmsMotionProcessorBase.kt | Explore-In-HMS | 499,500,434 | false | null | /*
* Copyright 2022. Huawei Technologies Co., Ltd. All rights reserved.
* <p>
* 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
* <p>
* https://www.apache.org/licenses/LICENSE-2.0
* <p>
... | 0 | Kotlin | 0 | 0 | 8e247aa071db33b3edcfda41d4751b5f200a6c7d | 3,978 | Live-Motion-Capture | Apache License 2.0 |
example-style-transfer/src/main/java/com/dailystudio/tflite/example/image/styletransfer/StyleTransferPrefs.kt | dailystudio | 267,263,865 | false | null | package com.dailystudio.tflite.example.image.styletransfer
import android.content.Context
import com.dailystudio.devbricksx.preference.AbsPrefs
object StyleTransferPrefs : AbsPrefs() {
const val KEY_SELECTED_STYLE = "selected-style"
const val DEFAULT_SELECTION = "style0.jpg"
override val prefName: Strin... | 1 | Kotlin | 12 | 47 | 1ce173bdc6dd2ac2a0c83197ff27ded3ed381df2 | 660 | tensorflow-lite-examples-android | Apache License 2.0 |
dsl/src/main/kotlin/cloudshift/awscdk/dsl/services/quicksight/CfnTemplateArcConfigurationPropertyDsl.kt | cloudshiftinc | 667,063,030 | false | null | @file:Suppress("RedundantVisibilityModifier", "RedundantUnitReturnType", "RemoveRedundantQualifierName", "unused", "UnusedImport", "ClassName", "REDUNDANT_PROJECTION", "DEPRECATION")
package cloudshift.awscdk.dsl.services.quicksight
import cloudshift.awscdk.common.CdkDslMarker
import software.amazon.awscdk.services.q... | 1 | Kotlin | 0 | 0 | 17c41bdaffb2e10d31b32eb2282b73dd18be09fa | 1,649 | awscdk-dsl-kotlin | Apache License 2.0 |
app/src/main/java/com/example/to_do_compose/ui/screens/ListScreen.kt | mamad2050 | 776,419,316 | false | {"Kotlin": 15696} | package com.example.to_do_compose.ui.screens
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.padding
import androidx.compose.material3.FloatingActionButton
import androidx.compose.material3.Icon
import androidx.compose.mat... | 0 | Kotlin | 0 | 0 | 027dcfbe07e77502e955eb6b2f9026536d636bfd | 1,376 | To-Do-Compose | MIT License |
2021/src/test/kotlin/org/suggs/adventofcode/Day03BinaryDiagnosticTest.kt | suggitpe | 321,028,552 | false | null | package org.suggs.adventofcode
import io.kotest.matchers.ints.shouldBeInRange
import io.kotest.matchers.shouldBe
import org.junit.jupiter.api.DisplayName
import org.junit.jupiter.api.Test
import org.suggs.adventofcode.Day03BinaryDiagnostic.calculateCO2ScrubberRatingFrom
import org.suggs.adventofcode.Day03BinaryDiagnos... | 0 | Kotlin | 0 | 0 | dbfb7851775e12f7a5758659020b8b4aa31c6c06 | 2,188 | advent-of-code | Apache License 2.0 |
library/src/androidNativeMain/kotlin/com/otaliastudios/opengl/geometry/RectF.kt | natario1 | 175,463,832 | false | null | package com.otaliastudios.opengl.geometry
public actual open class RectF actual constructor(
public actual var left: Float,
public actual var top: Float,
public actual var right: Float,
public actual var bottom: Float) {
public actual constructor() : this(0F, 0F, 0F, 0F)
public ... | 7 | Kotlin | 16 | 98 | 2c13ab28cad9ad143f23d488595d74b020ef78ef | 502 | Egloo | MIT License |
src/main/kotlin/topicWise/linkedlist/19. Remove Nth Node From End of List.kt | sandeep549 | 262,513,267 | false | null | package topicWise.linkedlist
private fun removeNthFromEnd(head: ListNode?, n: Int): ListNode? {
val dummy = ListNode(0)
dummy.next = head
var first: ListNode? = dummy
var second: ListNode? = dummy
for (i in 1..n + 1) first = first!!.next
while (first != null) {
first = first.next
... | 1 | Kotlin | 0 | 0 | bb4292bfe4ffce69602e340b369bb55b9d38dea0 | 415 | leetcode-kotlin | Apache License 2.0 |
finder/data/src/main/java/finder/data/network/dto/AnimalDto.kt | athimue | 807,822,266 | false | {"Kotlin": 20869} | package finder.data.network.dto
import com.mathieu.finder.domain.model.Animal
data class AnimalDto(
val id: Int,
val organizationId: String,
val url: String,
val type: String,
val species: String,
val breeds: BreedsDto,
val colors: ColorsDto,
val age: String,
val gender: String,
val size: String,
... | 0 | Kotlin | 0 | 0 | cc9bdd5197478e716906a80979ac9913bea43276 | 1,319 | PetFinder-Compose | Apache License 2.0 |
src/test/kotlin/dev/shtanko/algorithms/leetcode/PerfectRectangleTest.kt | ashtanko | 203,993,092 | false | {"Kotlin": 5637556, "Shell": 1168, "Makefile": 917} | /*
* Copyright 2022 <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... | 4 | Kotlin | 0 | 19 | 325f2bb712514d1f7993ff7fa6d81ee45d2e6322 | 3,367 | kotlab | Apache License 2.0 |
app/src/main/java/sample/caique/seminfo/domain/Issue.kt | jcaiqueoliveira | 160,434,695 | false | null | package sample.caique.seminfo.domain
data class Issue(
val title: String,
val comments: Int,
val body: String
) | 0 | Kotlin | 0 | 0 | 05d0def543a78f85b155cf814ee9ea856493e724 | 124 | Seminfo | MIT License |
kgl-vulkan/src/jvmMain/kotlin/com/kgl/vulkan/handles/AccelerationStructureNV.kt | BrunoSilvaFreire | 223,607,080 | true | {"Kotlin": 1880529, "C": 10037} | /**
* Copyright [2019] [Dominic Fischer]
*
* 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 agree... | 0 | null | 0 | 0 | 74de23862c29404e7751490331cbafbef310bd63 | 2,790 | kgl | Apache License 2.0 |
app/src/main/java/com/zxhhyj/music/ui/common/MediaController.kt | ZXHHYJ | 675,785,532 | false | null | package com.zxhhyj.music.ui.common
import androidx.compose.foundation.background
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.fillMaxSiz... | 0 | Kotlin | 0 | 3 | 7276744c53d4a88d2ac7f818a4cf604f2f144ae3 | 5,671 | StarMusic | Apache License 2.0 |
app/src/main/java/ru/hse/dictcards/ui/fragments/CardsFragment.kt | MhlvDenis | 667,755,386 | false | {"Kotlin": 1840} | package ru.hse.dictcards.ui.fragments
import androidx.fragment.app.Fragment
import ru.hse.dictcards.R
class CardsFragment : Fragment(R.layout.fragment_cards) {
} | 0 | Kotlin | 0 | 0 | d4d4e38612d02e96b24ca8180acbe2ce519a9de2 | 164 | dict-cards | MIT License |
netty/src/main/kotlin/io/qalipsis/plugins/netty/http/client/monitoring/HttpStepContextBasedSocketMonitoringCollector.kt | qalipsis | 428,401,344 | false | null | /*
* Copyright 2022 AERIS IT Solutions GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... | 0 | Kotlin | 0 | 0 | 61aa6b496052d132dc21dea128a6a2261cb89088 | 1,752 | qalipsis-plugin-netty | Apache License 2.0 |
kotlin-mui-icons/src/main/generated/mui/icons/material/KeyboardArrowDownOutlined.kt | JetBrains | 93,250,841 | false | null | // Automatically generated - do not modify!
@file:JsModule("@mui/icons-material/KeyboardArrowDownOutlined")
@file:JsNonModule
package mui.icons.material
@JsName("default")
external val KeyboardArrowDownOutlined: SvgIconComponent
| 12 | Kotlin | 5 | 983 | a99345a0160a80a7a90bf1adfbfdc83a31a18dd6 | 232 | kotlin-wrappers | Apache License 2.0 |
app/src/main/java/com/wreckingball/imbored/ui/choose/ChooseActivity.kt | leewaggoner | 688,299,375 | false | {"Kotlin": 44311} | package com.wreckingball.imbored.ui.choose
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose... | 0 | Kotlin | 0 | 0 | 960e71d908a61e04ddc6780e35abf8acc0579744 | 6,895 | imbored | Apache License 2.0 |
app/src/main/java/com/nightmareproject/onlyfoodz/network/PostNetwork.kt | NightmareBotDC | 615,381,177 | false | null | package com.nightmareproject.onlyfoodz.network
import retrofit2.Retrofit
import retrofit2.converter.gson.GsonConverterFactory
object PostNetwork {
val retrofit by lazy {
Retrofit.Builder()
.baseUrl("https://api.azidoazide.xyz")
.addConverterFactory(GsonConverterFactory.create())
... | 0 | Kotlin | 0 | 0 | 59b82dabf46811a7741bfd1c7eb226f32f73349c | 387 | onlyfoodz-app | MIT License |
walletlibrary/src/main/java/com/microsoft/walletlibrary/networking/entities/openid4vci/credentialoffer/CredentialOffer.kt | microsoft | 567,422,889 | false | {"Kotlin": 1390688} | package com.microsoft.walletlibrary.networking.entities.openid4vci.credentialoffer
import kotlinx.serialization.Serializable
@Serializable
internal data class CredentialOffer(
// The end point of the credential issuer metadata.
val credential_issuer: String,
// The state of the request. Opaque to the wal... | 12 | Kotlin | 8 | 20 | 35cf5f995ff46cbb909cf582583e2c05600bf148 | 667 | entra-verifiedid-wallet-library-android | MIT License |
datatypes/src/jvmTest/kotlin/at/asitplus/crypto/datatypes/DistinguishedNameTest.kt | a-sit-plus | 700,518,667 | false | null | package at.asitplus.crypto.datatypes
import at.asitplus.crypto.datatypes.asn1.KnownOIDs
import at.asitplus.crypto.datatypes.pki.DistinguishedName.CommonName
import at.asitplus.crypto.datatypes.pki.DistinguishedName.Country
import at.asitplus.crypto.datatypes.pki.DistinguishedName.Organization
import at.asitplus.crypto... | 9 | null | 2 | 9 | d4b9500d60135cfb2417183848728879131061b8 | 3,707 | kmp-crypto | Apache License 2.0 |
attribution/src/main/java/com/affise/attribution/events/OnSendSuccessCallback.kt | affise | 496,592,599 | false | {"Kotlin": 830471, "JavaScript": 39328, "HTML": 33916} | package com.affise.attribution.events
fun interface OnSendSuccessCallback {
fun handle()
} | 0 | Kotlin | 0 | 3 | 2a2790fe789c67044e701cc8b1e1449974eb3601 | 95 | sdk-android | MIT License |
geometry/src/commonMain/kotlin/com/alexvanyo/composelife/geometry/IntSizeLerp.kt | alexvanyo | 375,146,193 | false | {"Kotlin": 1943779} | /*
* Copyright 2023 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | 36 | Kotlin | 10 | 99 | 64595b8d36c559a70ca52d578069fe4df8d170c7 | 1,046 | composelife | Apache License 2.0 |
component/src/main/java/com/trian/component/screen/pemantauan/ItemRadioTrip.kt | triandamai | 510,087,041 | false | {"Kotlin": 499465} | package com.trian.component.screen.pemantauan
import androidx.compose.foundation.background
import androidx.compose.foundation.border
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.*
import androidx.compose.material.Checkbox
import androidx.compose.material.CheckboxDefaults
impo... | 0 | Kotlin | 0 | 0 | 608d28a7800a39ee9ded14c6d85b7e7db770d01a | 2,768 | pantau-odp-v2 | Apache License 2.0 |
app/src/main/java/com/github/k1rakishou/fsaf_test_app/tests/SnapshotTest.kt | folderv | 526,426,503 | false | null | package com.github.k1rakishou.fsaf_test_app.tests
import android.content.Context
import com.github.k1rakishou.fsaf.FileManager
import com.github.k1rakishou.fsaf.file.AbstractFile
import com.github.k1rakishou.fsaf.file.DirectorySegment
import com.github.k1rakishou.fsaf.file.FileSegment
import java.io.DataInputStream
im... | 3 | null | 17 | 99 | 0766d1eaed635d897937d19ed0a1d4202326ed7d | 5,946 | androidDataWithoutRootAPI33 | Apache License 2.0 |
app/src/main/java/cryptography/biometric/viewmodels/ViewModelProviderFactory.kt | dinkar1708 | 228,645,103 | false | {"Kotlin": 67760} | package cryptography.biometric.viewmodels
import androidx.lifecycle.ViewModel
import androidx.lifecycle.ViewModelProvider
import javax.inject.Inject
import javax.inject.Provider
/**
* ViewModelFactory which uses Dagger to create the instances of view models
* Inside view model constructor injection can be done ie. ... | 1 | Kotlin | 0 | 0 | 35a6518bda9fb7b99139468f624d49db5cf72cf0 | 1,238 | biometric-cryptography-android | Apache License 2.0 |
presentation/src/main/java/com/glowka/rafal/managingusers/presentation/flow/dashboard/DashboardFlow.kt | RafalGlowka | 522,558,607 | false | {"Kotlin": 137106} | package com.glowka.rafal.managingusers.presentation.flow.dashboard
import com.glowka.rafal.managingusers.domain.utils.EmptyParam
import com.glowka.rafal.managingusers.presentation.architecture.*
import com.glowka.rafal.managingusers.presentation.flow.dashboard.add.AddUserScreenStructure
import com.glowka.rafal.managin... | 0 | Kotlin | 0 | 0 | 6b8f077ec3bfebe357e753f932c32cf31f3db86a | 2,066 | managingusers | Apache License 2.0 |
app/src/main/java/com/example/agendamedicaon/view/HomeActivity.kt | RodrigoJrDev | 812,746,904 | false | {"Kotlin": 37007} | package com.example.agendamedicaon.view
import android.content.Intent
import android.os.Bundle
import android.util.Log
import android.view.View
import android.widget.AdapterView
import android.widget.Button
import android.widget.Spinner
import android.widget.Toast
import androidx.appcompat.app.AppCompatActivity
import... | 0 | Kotlin | 0 | 0 | d615af2c4ecbd3be404419526204e46af7ed1fb7 | 9,915 | agendamedicaonapp | MIT License |
src/test/kotlin/io/github/fstaudt/hugo/tasks/HugoBuildTest.kt | fstaudt | 425,263,215 | false | {"Kotlin": 49519, "HTML": 30} | package io.github.fstaudt.hugo.tasks
import io.github.fstaudt.hugo.HugoPluginExtension.Companion.SOURCE_DIRECTORY
import io.github.fstaudt.hugo.TestProject
import io.github.fstaudt.hugo.WITH_BUILD_CACHE
import io.github.fstaudt.hugo.buildDir
import io.github.fstaudt.hugo.initBuildFile
import io.github.fstaudt.hugo.ini... | 4 | Kotlin | 2 | 14 | 37e6a8e755a0d015649c18080380b531a2769ad4 | 5,873 | gradle-hugo-plugin | Apache License 2.0 |
app/src/main/kotlin/de/ljz/questify/core/main/ActivityMain.kt | LJZApps | 806,522,161 | false | {"Kotlin": 229922} | package de.ljz.questify.core.main
import android.os.Bundle
import androidx.activity.compose.setContent
import androidx.activity.viewModels
import androidx.appcompat.app.AppCompatActivity
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.material3.Surface
import androidx.compose.runtime.coll... | 0 | Kotlin | 0 | 0 | dc04f195c507b4385b8df3cb034a410c253d6603 | 5,760 | Questify-Android | MIT License |
library/src/main/java/com/thirdegg/mediapicker/media/MediaFragment.kt | thirdegg | 190,758,666 | false | null | package com.thirdegg.mediapicker.media
import android.app.Activity
import android.content.ComponentName
import android.content.Intent
import android.content.pm.PackageManager
import android.os.Bundle
import android.provider.MediaStore
import android.view.LayoutInflater
import android.view.View
import android.view.View... | 0 | Kotlin | 0 | 0 | 0ec77c2647b563b7466db7a1edabc15c1e986974 | 7,374 | media-picker | Apache License 2.0 |
app/src/main/java/io/github/ohem/punkbrew/data/db/PunkDatabase.kt | alxiw | 386,373,878 | false | null | package io.github.alxiw.punkbrew.data.db
import androidx.room.Database
import androidx.room.RoomDatabase
@Database(
entities = [BeerEntity::class],
version = 3,
exportSchema = false
)
abstract class PunkDatabase : RoomDatabase() {
abstract fun beersDao(): BeersDao
}
| 0 | Kotlin | 0 | 0 | dbefcb1441b49e2c47376ef18c977b40147ee163 | 287 | punk-brew | MIT License |
app/src/main/java/gr/pchasapis/moviedb/di/HomeModule.kt | pandelisgreen13 | 210,415,019 | false | null | package gr.pchasapis.moviedb.di
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent
import gr.pchasapis.moviedb.database.MovieDbDatabase
import gr.pchasapis.moviedb.mvvm.interactor.home.HomeInteractorImpl
import gr.pchasapis.moviedb.network.client.M... | 0 | Kotlin | 0 | 4 | e4d1ff7cf4417db4ecfa9a4bad083fe7955613eb | 627 | movieDB | MIT License |
app/src/main/java/com/yangbw/libtest/ui/adapter/GoodsAdapter.kt | yangbangwei | 287,162,841 | false | null | package com.yangbw.libtest.ui.adapter
import androidx.databinding.DataBindingUtil
import com.library.common.base.BaseAdapter
import com.library.common.view.baseviewholder.CommonViewHolder
import com.yangbw.libtest.R
import com.yangbw.libtest.databinding.ItemFragmentGoodsBinding
import com.yangbw.libtest.entity.GoodsLi... | 0 | Kotlin | 3 | 10 | 5625a45c95b9945446df388dcd229f271d3e619c | 731 | MvvmLib | Apache License 2.0 |
domain/src/main/java/de/appsfactory/cocktail/entity/Login.kt | af-sme | 226,493,916 | false | null | package de.appsfactory.cocktail.entity
class Login(val token: String) | 0 | Kotlin | 0 | 0 | 282e9ea02fd46e844d0f099a3b282f87b7d9ff6b | 70 | cocktail | Apache License 2.0 |
ziti/src/main/kotlin/org/openziti/net/nio/AsychChannelSocket.kt | openziti | 214,175,575 | false | null | /*
* Copyright (c) 2018-2020 NetFoundry, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable la... | 9 | Kotlin | 4 | 9 | 4f561799f9d47e209e802ad46e23b308131b949c | 1,989 | ziti-sdk-jvm | Apache License 2.0 |
utbot-js/src/main/kotlin/providers/imports/ModuleImportsProvider.kt | UnitTestBot | 480,810,501 | false | null | package providers.imports
import service.ContextOwner
import service.ServiceContext
import settings.JsTestGenerationSettings.fileUnderTestAliases
class ModuleImportsProvider(context: ServiceContext) : IImportsProvider, ContextOwner by context {
override val ternScriptImports: String = buildString {
appen... | 397 | Kotlin | 32 | 91 | f9c95348acb59c1b4fc212ecb36e6b2968e9ac5a | 918 | UTBotJava | Apache License 2.0 |
app/src/main/java/com/hardik/easysplitbills/database/friends/DBAsyncTaskFriend.kt | hardik0899 | 318,195,413 | false | null | package com.himanshu.billsplit.database.friends
import android.content.Context
import android.os.AsyncTask
import androidx.room.Room
class DBAsyncTaskFriend(private val context: Context, private val friendEntity: FriendEntity, private val mode: Int) : AsyncTask<Void, Void, Boolean>() {
// Mode 1 -> Checker by Na... | 1 | Kotlin | 0 | 1 | c26edb1284ddec4bdf8e2885de500267e299fcbd | 1,298 | EasySplit-Bills | MIT License |
idea/testData/intentions/removeBraces/whenSimpleOutsideBlock.kt | JakeWharton | 99,388,807 | true | null | fun foo() {
when (1) {
else<caret> -> {
foo()
}
}
} | 0 | Kotlin | 28 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 87 | kotlin | Apache License 2.0 |
2022 - Kotlin/src/main/kotlin/utils/FileUtil.kt | nlxdodge | 228,849,405 | false | {"Text": 75, "Ignore List": 4, "Markdown": 7, "Python": 12, "Java": 30, "Maven POM": 1, "Rust": 18, "Ruby": 9, "Gradle Kotlin DSL": 2, "INI": 2, "Shell": 1, "Batchfile": 1, "Kotlin": 21, "TOML": 2, "JSON with Comments": 1} | package utils
import java.io.File
class FileUtil {
companion object {
fun getDay(): String {
val fileName = Throwable().stackTrace[1].fileName
if (fileName != null) {
return fileName.substring(3, 5)
}
return "01"
}
fun getFil... | 0 | Java | 2 | 2 | d842cfec6f801f65ef5f328455de4194a10cf3e5 | 956 | advent-of-code | MIT License |
lib/src/main/java/com/kotlin/inaction/chapter_4/4_1_5_1_SealedClasses1.kt | jhwsx | 167,022,805 | false | {"Gradle": 4, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 3, "Proguard": 1, "Kotlin": 426, "XML": 14, "Java": 86, "desktop": 1} | package com.kotlin.inaction.chapter_4
/**
*
* @author wzc
* @date 2019/1/19
*/
interface Expr
class Num(val value: Int) : Expr
class Sum(val left: Expr, val right: Expr) : Expr
fun eval(e: Expr): Int =
when (e) {
is Num -> e.value
is Sum -> eval(e.right) + eval(e.left)
else ->
... | 1 | null | 1 | 1 | 5d8c5f88e35edf2e4693becd47a31fb127afe618 | 473 | KotlinInAction | MIT License |
BrastlewarKotlin/app/src/main/java/com/brastlewar/kotlin/ui/detail/DetailFragment.kt | nicolasjafelle | 110,277,397 | false | null | package com.brastlewar.kotlin.ui.detail
import android.os.Build
import android.os.Bundle
import android.support.annotation.StringRes
import android.support.v4.app.Fragment
import android.support.v7.widget.LinearLayoutManager
import android.support.v7.widget.RecyclerView
import android.view.LayoutInflater
import androi... | 1 | null | 1 | 1 | 766eadf769188258c538fa02243107b171eab50c | 3,909 | brastlewarkotlin | Apache License 2.0 |
app/src/main/java/com/suihan74/satena/scenes/browser/history/HistoryAdapter.kt | suihan74 | 207,459,108 | false | null | package com.suihan74.satena.scenes.browser.history
import android.view.LayoutInflater
import android.view.ViewGroup
import android.widget.ImageView
import androidx.databinding.BindingAdapter
import androidx.lifecycle.LifecycleOwner
import androidx.recyclerview.widget.RecyclerView
import com.suihan74.satena.GlideApp
im... | 14 | null | 1 | 7 | ee29a0ed1d60c9ee35bb03f128d0e39c58e3a4c4 | 5,026 | Satena | MIT License |
sharedelementscompat/src/main/java/com/example/activitysharedviews/ActivityTransition.kt | caiquebrito | 70,936,686 | false | {"Gradle": 4, "Text": 2, "Java Properties": 2, "Shell": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "Proguard": 2, "Java": 4, "XML": 65, "Kotlin": 6} | package com.example.activitysharedviews
import android.animation.TimeInterpolator
import android.app.Activity
import android.content.Intent
import android.os.Handler
import android.support.v4.view.animation.FastOutLinearInInterpolator
import android.support.v4.view.animation.FastOutSlowInInterpolator
import android.su... | 1 | null | 1 | 1 | 3b3f432b3441a17e8d15fb6a58d118f6c87b93e2 | 12,067 | SharedElementsCompat | Apache License 2.0 |
plugins/kotlin/properties/src/org/jetbrains/kotlin/idea/properties/PropertyKeyCompletion.kt | JetBrains | 2,489,216 | false | null | // Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package org.jetbrains.kotlin.idea.properties
import com.intellij.codeInsight.completion.CompletionParameters
import com.intellij.codeInsight.completion.Complet... | 229 | null | 4931 | 15,571 | 92c8aad1c748d6741e2c8e326e76e68f3832f649 | 1,913 | intellij-community | Apache License 2.0 |
src/test/kotlin/org/rust/ide/refactoring/extractTrait/RsExtractSuperTraitTest.kt | intellij-rust | 42,619,487 | false | null | /*
* Use of this source code is governed by the MIT license that can be
* found in the LICENSE file.
*/
package org.rust.ide.refactoring.extractTrait
class RsExtractSuperTraitTest : RsExtractTraitBaseTest() {
fun `test one method 1`() = doTest("""
trait Derived {
/*caret*/fn a(&self);
... | 1,841 | null | 380 | 4,528 | c6657c02bb62075bf7b7ceb84d000f93dda34dc1 | 4,217 | intellij-rust | MIT License |
scabbard-idea-plugin/src/main/kotlin/dev/arunkumar/scabbard/intellij/KotlinComponentToDaggerGraphLineMarker.kt | ZacSweers | 244,364,064 | true | {"Kotlin": 113500} | package dev.arunkumar.scabbard.intellij
import com.intellij.codeInsight.daemon.LineMarkerInfo
import com.intellij.codeInsight.daemon.LineMarkerProvider
import com.intellij.psi.PsiElement
import com.intellij.psi.impl.source.tree.LeafPsiElement
import dev.arunkumar.scabbard.intellij.utill.DAGGER_COMPONENT
import dev.aru... | 0 | null | 0 | 0 | 59f3cc22094811625aadc9bf25f55bfa5e3d97ee | 2,203 | scabbard | Apache License 2.0 |
idea/testData/copyPaste/literal/CollectionLiteralReference.to.kt | damenez | 176,209,431 | true | {"Markdown": 56, "Gradle": 497, "Gradle Kotlin DSL": 215, "Java Properties": 12, "Shell": 11, "Ignore List": 10, "Batchfile": 9, "Git Attributes": 1, "Protocol Buffer": 12, "Java": 5238, "Kotlin": 43905, "Proguard": 7, "XML": 1594, "Text": 9172, "JavaScript": 239, "JAR Manifest": 2, "Roff": 209, "Roff Manpage": 34, "IN... | val test = <caret> | 0 | Kotlin | 0 | 2 | 9a2178d96bd736c67ba914b0f595e42d1bba374d | 18 | kotlin | Apache License 2.0 |
compiler/testData/codegen/box/delegatedProperty/delegateToSingleton/withSideEffects.kt | JetBrains | 3,432,266 | false | null | // WITH_STDLIB
// CHECK_BYTECODE_LISTING
var initialized = false
object O {
init {
initialized = true
}
operator fun getValue(x: Any?, y: Any?): String {
throw RuntimeException()
}
}
class C {
val s: String by O
}
fun box(): String {
val c = C()
return if (initialized) "... | 181 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 341 | kotlin | Apache License 2.0 |
collect_app/src/androidTest/java/org/odk/collect/android/support/rules/CallbackCountingTaskExecutorRule.kt | smap-consulting | 76,400,729 | false | null | package org.odk.collect.android.support.rules
import androidx.arch.core.executor.testing.CountingTaskExecutorRule
class CallbackCountingTaskExecutorRule : CountingTaskExecutorRule() {
private var finishedCallback: Runnable? = null
fun setFinishedCallback(callback: Runnable?) {
finishedCallback = cal... | 8 | null | 15 | 3 | e5658bb225105773a8f1190b487ef23ba095f1a3 | 401 | fieldTask4 | Apache License 2.0 |
app/src/main/java/com/thecoolguy/rumaan/fileio/ui/FileioApplication.kt | rumaan | 113,689,250 | false | null | package com.thecoolguy.rumaan.fileio.ui
import android.app.Application
import cat.ereza.customactivityoncrash.config.CaocConfig
import com.thecoolguy.rumaan.fileio.ui.activities.ErrorActivity
import timber.log.Timber
/**
* Base Application class
*/
class FileioApplication : Application() {
override fun onCrea... | 3 | Kotlin | 13 | 19 | 9172c1fd1f208976b79b66265ae107e7385f0eec | 671 | file.io-Android-Client | Apache License 2.0 |
android/apolloui/src/androidTest/java/io/muun/apollo/utils/screens/EmergencyKitSetupScreen.kt | muun | 150,655,434 | false | null | package io.muun.apollo.utils.screens
import android.content.Context
import androidx.test.uiautomator.UiDevice
import io.muun.apollo.R
import io.muun.apollo.utils.WithMuunInstrumentationHelpers
class EmergencyKitSetupScreen(
override val device: UiDevice,
override val context: Context,
) : WithMuunInstrumentat... | 39 | null | 46 | 256 | 86048fe9f8059c9617f2e6d32e7d41c460dfb785 | 1,888 | apollo | MIT License |
app/src/main/java/com/vctapps/bustracker/domain/entity/Settings.kt | victor-vct | 98,001,028 | false | null | package com.vctapps.bustracker.domain.entity
import com.google.gson.annotations.SerializedName
data class Settings(@SerializedName("id_bus") var idBus: Int,
@SerializedName("id_module") var idModule: Int) | 0 | Kotlin | 2 | 10 | 2173e3ee29fa3937e1798e0328fe646447aa1fd8 | 226 | bus-tracker | MIT License |
app/src/main/java/com/vctapps/bustracker/domain/entity/Settings.kt | victor-vct | 98,001,028 | false | null | package com.vctapps.bustracker.domain.entity
import com.google.gson.annotations.SerializedName
data class Settings(@SerializedName("id_bus") var idBus: Int,
@SerializedName("id_module") var idModule: Int) | 0 | Kotlin | 2 | 10 | 2173e3ee29fa3937e1798e0328fe646447aa1fd8 | 226 | bus-tracker | MIT License |
compiler/tests/org/jetbrains/kotlin/codegen/CustomBytecodeTextTest.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... | /*
* Copyright 2010-2024 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.codegen
import org.jetbrains.kotlin.ObsoleteTestInfrastructure
import org.jetbra... | 181 | Kotlin | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 1,971 | kotlin | Apache License 2.0 |
src/main/kotlin/de/bringmeister/dozer/NoArgConstructor.kt | bringmeister | 161,471,939 | false | null | package de.bringmeister.dozer
import kotlin.annotation.AnnotationRetention.RUNTIME
import kotlin.annotation.AnnotationTarget.CLASS
@Target(CLASS)
@Retention(RUNTIME)
annotation class NoArgConstructor
| 0 | Kotlin | 1 | 4 | 48b12d9eecb2be1f6d5ca63c42cd65c2670bf6eb | 202 | dozer-with-kotlin | MIT License |
src/main/kotlin/uk/gov/justice/digital/hmpps/approvedpremisesapi/reporting/generator/DailyMetricsReportGenerator.kt | ministryofjustice | 515,276,548 | false | null | package uk.gov.justice.digital.hmpps.approvedpremisesapi.reporting.generator
import com.fasterxml.jackson.databind.ObjectMapper
import uk.gov.justice.digital.hmpps.approvedpremisesapi.api.events.model.ApplicationAssessedEnvelope
import uk.gov.justice.digital.hmpps.approvedpremisesapi.api.events.model.ApplicationSubmit... | 6 | null | 1 | 4 | cc2df9aa41a7849eb77baccaf07a593920d4fcc9 | 3,400 | hmpps-approved-premises-api | MIT License |
learning-android/src/main/java/app/allever/android/sample/learning/android/LearningAndroidMainActivity.kt | devallever | 522,186,250 | false | {"Kotlin": 519675, "Java": 281241, "C++": 13880, "CMake": 1635, "C": 664} | package app.allever.android.sample.learning.android
import app.allever.android.lib.common.BaseActivity
import app.allever.android.lib.core.helper.FragmentHelper
import app.allever.android.lib.mvvm.base.BaseViewModel
import app.allever.android.sample.learning.android.databinding.ActivityLearningAndroidMainBinding
clas... | 1 | Kotlin | 0 | 3 | 9c4250e2a070b1a51e5e67d3735edbe7b38a90fa | 765 | AndroidSampleLibs | Apache License 2.0 |
app/src/main/java/com/ifanr/tangzhi/ui/productlist/ProductListActivity.kt | cyrushine | 224,551,311 | false | {"Kotlin": 673925, "Java": 59856, "Python": 795} | package com.ifanr.tangzhi.ui.productlist
import android.os.Bundle
import androidx.lifecycle.Observer
import com.alibaba.android.arouter.facade.annotation.Autowired
import com.alibaba.android.arouter.facade.annotation.Route
import com.ifanr.tangzhi.R
import com.ifanr.tangzhi.route.Routes
import com.ifanr.tangzhi.ui.bas... | 0 | Kotlin | 0 | 0 | ab9a7a2eba7f53eca918e084da9d9907f7997cee | 1,105 | tangzhi_android | Apache License 2.0 |
kotlin-semver/src/jsMain/generated/semver/minVersion.kt | JetBrains | 93,250,841 | false | {"Kotlin": 12635434, "JavaScript": 423801} | // Generated by Karakum - do not modify it manually!
@file:JsModule("semver")
package semver
// import Range = require("../classes/range");
// import SemVer = require("../classes/semver");
// import semver = require("../index");
/**
* Return the lowest version that can possibly match the given range.
*/
externa... | 38 | Kotlin | 162 | 1,347 | 997ed3902482883db4a9657585426f6ca167d556 | 1,242 | kotlin-wrappers | Apache License 2.0 |
src/test/unit/kotlin/com/kilchichakov/fiveletters/filter/JwtRequestFilterTest.kt | augur | 194,393,890 | false | {"Kotlin": 306716, "JavaScript": 3426, "Dockerfile": 135, "HTML": 9} | package com.kilchichakov.fiveletters.filter
import com.kilchichakov.fiveletters.invokePrivate
import com.kilchichakov.fiveletters.service.JwtService
import io.mockk.Runs
import io.mockk.confirmVerified
import io.mockk.every
import io.mockk.impl.annotations.InjectMockKs
import io.mockk.impl.annotations.RelaxedMockK
imp... | 0 | Kotlin | 0 | 0 | 64734f93bef1c36309caaece5b04fe8852872498 | 4,629 | five-letters | MIT License |
src/main/kotlin/coursework/sorting/Bubble.kt | Whitedrawn | 674,729,151 | false | null | package coursework.sorting
import coursework.database.BOOK
// TODO : Implement for any type (not just LECTURER) and provide order functional.
object Bubble {
fun sort(my_array : ArrayList<BOOK>): Int {
var n:Int=my_array.size ;
var ticks = 0 ;
// Q: n=min p : 0 <= p <= N and p<N-2 -> A[p... | 0 | Kotlin | 0 | 0 | 502e68f30238331152fa4950f2003bcf93080bac | 1,014 | JavaLibrary | MIT License |
src/main/kotlin/hanoi/towers/data/pages/main/main.kt | doctor-smith | 479,639,184 | false | {"Kotlin": 149579, "CSS": 1478, "HTML": 569, "Dockerfile": 408, "JavaScript": 331} | package hanoi.towers.data.pages.main
import lib.language.Lang
import lib.optics.Lensify
import lib.optics.ReadOnly
import lib.optics.lens.Lens
@Lensify data class Main(
@ReadOnly val texts: Lang,
)
/**
* Autogenerated ReadOnly Lens.
* Read [Main.texts]
*/
@ReadOnly val texts: Lens<Main, Lang> by lazy{ Lens(... | 1 | Kotlin | 0 | 2 | 8381eac437cb855d322388dda0aa97270f0862f5 | 376 | hanoi-towers | Apache License 2.0 |
src/main/kotlin/hanoi/towers/data/pages/main/main.kt | doctor-smith | 479,639,184 | false | {"Kotlin": 149579, "CSS": 1478, "HTML": 569, "Dockerfile": 408, "JavaScript": 331} | package hanoi.towers.data.pages.main
import lib.language.Lang
import lib.optics.Lensify
import lib.optics.ReadOnly
import lib.optics.lens.Lens
@Lensify data class Main(
@ReadOnly val texts: Lang,
)
/**
* Autogenerated ReadOnly Lens.
* Read [Main.texts]
*/
@ReadOnly val texts: Lens<Main, Lang> by lazy{ Lens(... | 1 | Kotlin | 0 | 2 | 8381eac437cb855d322388dda0aa97270f0862f5 | 376 | hanoi-towers | Apache License 2.0 |
oldAndroidProjects/DiceRoll/app/src/main/java/com/example/diceroll/MainActivity.kt | shivathapaa | 800,628,391 | false | null | package com.example.diceroller
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.material3.MaterialTheme
import androidx.compose.m... | 0 | Kotlin | 0 | 0 | 9ffa739f09c0f9e04ec62e0704d9e368a3e0472e | 2,381 | ComposeBasic_Pratice | The Unlicense |
src/com/reco1l/osu/ui/SettingsFragment.kt | osudroid | 248,937,035 | false | null | package com.reco1l.osu.ui
import android.annotation.SuppressLint
import android.content.ClipData
import android.content.ClipboardManager
import android.content.Intent
import android.graphics.Color
import android.net.Uri
import android.os.Bundle
import android.text.InputType.TYPE_CLASS_TEXT
import android.text.InputTyp... | 28 | null | 77 | 521 | 9f1da90c2c26b179bf425fb55fbb626515c2fc97 | 13,453 | osu-droid | Apache License 2.0 |
libanimatorkit/src/main/java/com/ironbear/android/libanimatorkit/animator/RangeIntAnimator.kt | ironbear775 | 360,019,780 | false | null | package com.ironbear.android.libanimatorkit.animator
import android.animation.ValueAnimator
/**
* Int范围自定义动画
*
* @Author: Xym
* @Date: 2020-02-11 15:50
*
* @constructor
* @param values
* @param doOnUpdate
*/
class RangeIntAnimator(vararg values: Int, doOnUpdate: ((value: Int) -> Unit)) : BaseValueAnimator(
... | 0 | Kotlin | 0 | 1 | 96b53dd5d830696fab69aa337baec9ced68c751f | 491 | AnimatorKit | Apache License 2.0 |
app/src/main/java/com/mozhimen/app/basick/basek/BaseKDemoFragment.kt | mozhimen | 353,952,154 | false | null | package com.mozhimen.app.basick.basek
import android.os.Bundle
import com.mozhimen.app.R
import com.mozhimen.app.databinding.FragmentBasekFragmentBinding
import com.mozhimen.basick.basek.BaseKFragment
class BaseKDemoFragment :
BaseKFragment<FragmentBasekFragmentBinding, BaseKDemoViewModel>(R.layout.fragment_basek... | 0 | Kotlin | 0 | 1 | 3dd109aff154bff96379cde86e6e4632967cca40 | 455 | SwiftMK | Apache License 2.0 |
examples/gold-trading/cordapp/src/main/kotlin/net/corda/gold/trading/workflows/schemas/AccountBroadcastInfo.kt | corda | 170,131,330 | false | null | package net.corda.gold.trading.workflows.schemas
import net.corda.core.schemas.MappedSchema
import net.corda.core.serialization.CordaSerializable
import org.hibernate.annotations.Type
import java.util.*
import javax.persistence.*
@Entity
@Table(name = "account_broadcast", indexes = [Index(name = "account_pk_idx", col... | 28 | null | 38 | 35 | c2428c28c341d6f9649390e202ff3b02c25cb2f3 | 882 | accounts | Apache License 2.0 |
css-gg/src/commonMain/kotlin/compose/icons/cssggicons/CompressLeft.kt | DevSrSouza | 311,134,756 | false | {"Kotlin": 36756847} | package compose.icons.cssggicons
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap
import androidx.compose.ui.graphics... | 15 | Kotlin | 20 | 460 | 651badc4ace0137c5541f859f61ffa91e5242b83 | 2,494 | compose-icons | MIT License |
rounded/src/commonMain/kotlin/me/localx/icons/rounded/bold/ImproveUser.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.rounded.bold
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter
im... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 4,677 | icons | MIT License |
packages/cactus-plugin-ledger-connector-corda/src/main-server/kotlin/gen/kotlin-spring/src/main/kotlin/org/hyperledger/cactus/plugin/ledger/connector/corda/server/model/JvmObject.kt | hyperledger-cacti | 216,610,150 | false | {"TypeScript": 6934396, "Kotlin": 1968990, "Go": 1095701, "Rust": 818809, "JavaScript": 247017, "Shell": 208308, "Solidity": 98585, "Makefile": 55723, "Dockerfile": 39854, "PLpgSQL": 20654, "Logos": 17763, "Mustache": 14807, "Java": 11477, "ANTLR": 1108, "Roff": 776, "HTML": 361, "EJS": 98} | package org.hyperledger.cactus.plugin.ledger.connector.corda.server.model
import java.util.Objects
import com.fasterxml.jackson.annotation.JsonProperty
import com.fasterxml.jackson.annotation.JsonValue
import org.hyperledger.cactus.plugin.ledger.connector.corda.server.model.JvmType
import org.hyperledger.cactus.plugin... | 324 | TypeScript | 284 | 341 | ff842d2a59ef898e734e1424ee6f26b52ba0af9b | 1,718 | cacti | Apache License 2.0 |
src/main/kotlin/github/buriedincode/dashboard/routers/html/PlayerHtmlRouter.kt | Buried-In-Code | 129,849,472 | false | {"Kotlin": 42574, "JavaScript": 8187, "Dockerfile": 366, "CSS": 117} | package github.buriedincode.dashboard.routers.html
import github.buriedincode.dashboard.Utils
import github.buriedincode.dashboard.models.Game
import github.buriedincode.dashboard.models.Player
import io.javalin.http.BadRequestResponse
import io.javalin.http.Context
import io.javalin.http.NotFoundResponse
import org.a... | 2 | Kotlin | 2 | 3 | d7f0e6d24bc90376edf7c1d7707de4e11dfe434a | 2,607 | Neptunes-Dashboard | MIT License |
composeApp/src/androidMain/kotlin/com/takaotech/dashboard/ui/github/GHRepositoryCardPreview.kt | TakaoTech | 761,297,714 | false | {"Kotlin": 301488, "Swift": 594, "HTML": 369, "Dockerfile": 348} | package com.takaotech.dashboard.ui.github
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.tooling.preview.Preview
import androidx.compose.ui.tooling.preview.PreviewParameter
import com.takaotech.dashboard.m... | 6 | Kotlin | 0 | 2 | 10b1c4559d059234e968543dd5d975ee9b795107 | 790 | TTD | Apache License 2.0 |
ok-marketplace-be-business-logic/src/main/kotlin/ru/otus/otuskotlin/marketplace/business/logic/backend/pipelines/DemandOffers.kt | otuskotlin | 323,966,359 | false | null | package ru.otus.otuskotlin.marketplace.business.logic.backend.pipelines
import ru.otus.otuskotlin.marketplace.business.logic.backend.helpers.validation
import ru.otus.otuskotlin.marketplace.business.logic.backend.operations.CompletePipeline
import ru.otus.otuskotlin.marketplace.business.logic.backend.operations.Initia... | 0 | Kotlin | 0 | 1 | 5f52fc91b3d71397cfabd02b5abb86a69d8567a1 | 2,314 | 202012-otuskotlin-marketplace | MIT License |
app/src/main/java/com/zemoga/apptvdemo/ui/MainActivity.kt | MitchDroid | 520,197,126 | false | {"Kotlin": 41756} | package com.zemoga.apptvdemo.ui
import android.content.Context
import android.os.Bundle
import androidx.fragment.app.FragmentActivity
import com.zemoga.apptvdemo.R
import dagger.hilt.android.AndroidEntryPoint
import io.github.inflationx.viewpump.ViewPumpContextWrapper
@AndroidEntryPoint
class MainActivity : Fragment... | 0 | Kotlin | 0 | 3 | f8cd378cef23bfa6a242e0e4b89b772bb8eaab50 | 620 | AndroidTV-MVVM-POC | Apache License 2.0 |
giftcard/src/main/kotlin/org/axonframework/extension/springcloud/example/giftcard/coreapi/commands.kt | AxonFramework | 261,152,142 | false | {"Kotlin": 14316} | package org.axonframework.extension.springcloud.example.giftcard.coreapi
import org.axonframework.commandhandling.RoutingKey
import org.axonframework.modelling.command.TargetAggregateIdentifier
data class BulkIssueCardCommand(@RoutingKey val serviceId: String, val numberOfCards: Int, val amount: Int)
data class Issue... | 2 | Kotlin | 4 | 9 | db0e062709833a301f156dd61202d9669ad403ce | 501 | extension-springcloud-sample | Apache License 2.0 |
soil-query-compose/src/commonMain/kotlin/soil/query/compose/InfiniteQueryObject.kt | soil-kt | 789,648,330 | false | {"Kotlin": 296410, "Makefile": 915} | // Copyright 2024 Soil Contributors
// SPDX-License-Identifier: Apache-2.0
package soil.query.compose
import androidx.compose.runtime.Immutable
import androidx.compose.runtime.Stable
import soil.query.QueryFetchStatus
import soil.query.QueryModel
import soil.query.QueryStatus
@Stable
sealed interface InfiniteQueryOb... | 0 | Kotlin | 0 | 33 | 186eba7bb310ce9b28ff4805267d53a1966919e2 | 2,852 | soil | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.