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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
idea/tests/testData/codeInsight/outOfBlock/InExtensionFunctionWithoutInference.kt | JetBrains | 278,369,660 | false | null | // OUT_OF_CODE_BLOCK: TRUE
class A {
fun foo(): Int = 12
}
fun A.bar(): Int = foo() + <caret>
// TYPE: 1
// TODO
// SKIP_ANALYZE_CHECK | 0 | Kotlin | 30 | 82 | cc81d7505bc3e9ad503d706998ae8026c067e838 | 141 | intellij-kotlin | Apache License 2.0 |
app/src/main/java/com/mohcoder/demoapp/ui/base/BaseFragment.kt | MohLovesCode | 746,496,969 | false | {"Kotlin": 86878} | package com.mohcoder.demoapp.ui.base
/**
* Copyright (c) 2024 MohLovesCode
* 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... | 0 | Kotlin | 0 | 0 | 7bda8b3537463bcdfae354c10b4e4f191a897a24 | 1,463 | Firebase-Integrated-Data-Fetcher | MIT License |
tabler/src/commonMain/kotlin/com/woowla/compose/icon/collections/tabler/tabler/outline/MathXDivide2.kt | walter-juan | 868,046,028 | false | {"Kotlin": 34345428} | 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 | 3 | eca6c73337093fbbfbb88546a88d4546482cfffc | 3,050 | compose-icon-collections | MIT License |
reservation/reservation-domain/src/main/kotlin/com/mz/reservationsystem/domain/internal/reservation/ReservationCommandHandler.kt | michalzeman | 519,548,115 | false | {"Kotlin": 323513, "Shell": 799, "Dockerfile": 531} | package com.mz.reservationsystem.domain.internal.reservation
import com.mz.ddd.common.api.domain.command.AggregateCommandHandler
import com.mz.reservationsystem.domain.api.reservation.ReservationCommand
import com.mz.reservationsystem.domain.api.reservation.ReservationEvent
class ReservationCommandHandler : Aggregate... | 0 | Kotlin | 0 | 2 | a726878fe9393c29c864b612e85eff5d3c21f268 | 596 | cqrs-reservation-reactive-system | Creative Commons Attribution 4.0 International |
app/src/main/java/com/wavesplatform/wallet/v2/ui/home/quick_action/receive/ReceivePageAdapter.kt | wavesplatform | 98,419,999 | false | null | /*
* Created by Eduard Zaydel on 1/4/2019
* Copyright © 2019 Waves Platform. All rights reserved.
*/
package com.wavesplatform.wallet.v2.ui.home.quick_action.receive
import androidx.fragment.app.Fragment
import androidx.fragment.app.FragmentManager
import androidx.fragment.app.FragmentStatePagerAdapter
import com.... | 2 | null | 52 | 55 | 5f4106576dc4fe377a355d045f638e7469cd6abe | 3,210 | WavesWallet-android | MIT License |
straight/src/commonMain/kotlin/me/localx/icons/straight/filled/DiagramNext.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.straight.filled
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 | 3,994 | icons | MIT License |
app/src/main/kotlin/kr/ac/snu/hcil/omnitrack/core/visualization/models/TimelineComparisonLineChartModel.kt | yghokim | 62,933,149 | false | null | package kr.ac.snu.hcil.omnitrack.core.visualization.models
import android.content.Context
import io.reactivex.Single
import io.realm.Realm
import io.realm.Sort
import kr.ac.snu.hcil.android.common.isNumericPrimitive
import kr.ac.snu.hcil.android.common.toBigDecimal
import kr.ac.snu.hcil.omnitrack.OTAndroidApp
import k... | 9 | null | 4 | 8 | f13e5c157d5646c3f9493c4fdc25ed3b1fc2e296 | 4,762 | omnitrack_android | MIT License |
server-core/src/main/kotlin/com/lightningkite/lightningserver/files/FileSystem.kt | lightningkite | 512,032,499 | false | null | package com.lightningkite.lightningserver.files
import com.lightningkite.lightningserver.serverhealth.HealthCheckable
import com.lightningkite.lightningserver.serverhealth.HealthStatus
/**
* An abstracted model for reading and writing files in a storage solution.
* Every implementation will handle how to resolve Fi... | 1 | Kotlin | 1 | 3 | c28fefcbbe6542d5e06d91fe3f92508c57710088 | 1,283 | lightning-server | MIT License |
tabler/src/commonMain/kotlin/com/woowla/compose/icon/collections/tabler/tabler/outline/Armchair.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 | 3,407 | compose-icon-collections | MIT License |
widgets/src/androidMain/kotlin/dev/icerock/moko/widgets/buttonWidgetViewFactory.kt | ATchernov | 223,135,697 | true | {"Kotlin": 225543, "Swift": 103744, "Ruby": 1136} | /*
* Copyright 2019 IceRock MAG Inc. Use of this source code is governed by the Apache 2.0 license.
*/
package dev.icerock.moko.widgets
import android.widget.Button
import androidx.lifecycle.Observer
import dev.icerock.moko.widgets.core.VFC
import dev.icerock.moko.widgets.core.ViewFactoryContext
import dev.icerock.... | 0 | null | 0 | 0 | 560af260a9813724fd8e53b5c7ea0691e3b5fb46 | 1,291 | moko-widgets | Apache License 2.0 |
widgets/src/androidMain/kotlin/dev/icerock/moko/widgets/buttonWidgetViewFactory.kt | ATchernov | 223,135,697 | true | {"Kotlin": 225543, "Swift": 103744, "Ruby": 1136} | /*
* Copyright 2019 IceRock MAG Inc. Use of this source code is governed by the Apache 2.0 license.
*/
package dev.icerock.moko.widgets
import android.widget.Button
import androidx.lifecycle.Observer
import dev.icerock.moko.widgets.core.VFC
import dev.icerock.moko.widgets.core.ViewFactoryContext
import dev.icerock.... | 0 | null | 0 | 0 | 560af260a9813724fd8e53b5c7ea0691e3b5fb46 | 1,291 | moko-widgets | Apache License 2.0 |
tabler/src/commonMain/kotlin/com/woowla/compose/icon/collections/tabler/tabler/filled/ArrowDownSquare.kt | walter-juan | 868,046,028 | false | {"Kotlin": 34345428} | package com.woowla.compose.icon.collections.tabler.tabler.filled
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.S... | 0 | Kotlin | 0 | 3 | eca6c73337093fbbfbb88546a88d4546482cfffc | 3,069 | compose-icon-collections | MIT License |
SingleModuleApp/app/src/main/java/com/github/yamamotoj/singlemoduleapp/package33/Foo03378.kt | yamamotoj | 163,851,411 | false | {"Text": 1, "Ignore List": 30, "Markdown": 1, "Gradle": 34, "Java Properties": 11, "Shell": 6, "Batchfile": 6, "Proguard": 22, "Kotlin": 36021, "XML": 93, "INI": 1, "Java": 32, "Python": 2} | package com.github.yamamotoj.module2.package33
class Foo03378 {
fun method0() {
Foo03377().method5()
}
fun method1() {
method0()
}
fun method2() {
method1()
}
fun method3() {
method2()
}
fun method4() {
method3()
}
fun method5() {... | 0 | Kotlin | 0 | 9 | 2a771697dfebca9201f6df5ef8441578b5102641 | 347 | android_multi_module_experiment | Apache License 2.0 |
app/src/main/java/com/shevelev/wizard_camera/main_activity/view_model/FilterEventsProcessor.kt | AndroidSourceTools | 339,484,028 | true | {"Kotlin": 259308, "GLSL": 32096, "Java": 3377} | package com.shevelev.wizard_camera.main_activity.view_model
import com.shevelev.wizard_camera.common_entities.enums.FilterCode
interface FilterEventsProcessor {
fun onFavoriteFilterClick(code: FilterCode, isSelected: Boolean)
fun onSettingsClick(code: FilterCode)
} | 0 | null | 0 | 0 | 496cbc68749258d085734c6d0a724efa7a3b3d24 | 276 | WizardCamera | Apache License 2.0 |
app/src/main/java/com/patrolin/qplayer/components/Dialog.kt | Patrolin | 643,611,235 | false | null | package com.patrolin.qplayer.components
import androidx.compose.runtime.Composable
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.neverEqualPolicy
import androidx.compose.runtime.saveable.Saver
import androidx.compose.runtime.saveable.listSaver
i... | 0 | Kotlin | 0 | 0 | 0469575db918f6edb96478ede4ba505ec5e284a4 | 1,554 | qplayer | The Unlicense |
SimpleFlashCard/app/src/main/java/com/greimul/simpleflashcard/viewmodel/CardViewModel.kt | GreimuL | 241,758,695 | false | null | package com.greimul.simpleflashcard.viewmodel
import android.app.Application
import androidx.lifecycle.AndroidViewModel
import androidx.lifecycle.LiveData
import androidx.lifecycle.viewModelScope
import com.greimul.simpleflashcard.db.Card
import com.greimul.simpleflashcard.db.CardRepo
import com.greimul.simpleflashcar... | 0 | Kotlin | 0 | 0 | 31a78786053a86c568da9daddd99b7e0ff94a70b | 1,176 | SimpleFlashCard | MIT License |
quote/src/main/java/com/pyamsoft/tickertape/quote/dig/chart/DigChart.kt | pyamsoft | 371,196,339 | false | null | /*
* Copyright 2023 pyamsoft
*
* 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 ... | 5 | null | 0 | 7 | 9937fb83d1f4591864cd293a503760adab0c1860 | 11,150 | tickertape | Apache License 2.0 |
dailytags/src/main/java/com/dmytroshuba/dailytags/core/simple/Node.kt | DmytroShuba | 461,545,796 | false | {"Kotlin": 47857} | package com.dmytroshuba.dailytags.core.simple
import androidx.compose.ui.text.AnnotatedString
import com.dmytroshuba.dailytags.core.base.BaseNode
/**
* Node contains information about matching content that was found during parsing.
* @param source the string that matched a particular pattern.
* @param children co... | 3 | Kotlin | 3 | 157 | a4073d92cd1cfdbe2b075f57067797e1bce5d637 | 1,498 | DailyTags | MIT License |
src/main/kotlin/server/models/generator/ScheduleGenerator.kt | Hermanest | 694,798,667 | false | {"Kotlin": 49701} | package com.hermanest.schedularserver.server.models.generator
interface ScheduleGenerator {
fun generate(params: ScheduleGenerationParams): ScheduleGenerationResult
}
| 0 | Kotlin | 0 | 0 | a2a90e029e8675b711a31dcafd579ee3b9040969 | 172 | schedular-server | Apache License 2.0 |
idea/testData/quickfix/deprecatedSymbolUsage/classUsages/constructorUsage3.kt | JakeWharton | 99,388,807 | true | null | // "Replace with 'NewClass'" "true"
package ppp
@Deprecated("", ReplaceWith("NewClass"))
class OldClass(p: Int)
class NewClass(p: Int)
fun foo() {
ppp.<caret>OldClass(1)
}
| 1 | Kotlin | 28 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 179 | kotlin | Apache License 2.0 |
src/test/kotlin/leetcode/problem0010/RegularExpressionMatchingTest.kt | ayukatawago | 456,312,186 | false | null | package leetcode.problem0010
import kotlin.test.Test
import kotlin.test.assertFalse
import kotlin.test.assertTrue
class RegularExpressionMatchingTest {
private val target = RegularExpressionMatching()
@Test
fun test_1() {
assertFalse(target.isMatch("aa", "a"))
}
@Test
fun test_2() {
... | 0 | Kotlin | 0 | 0 | 31d400bd874dca731dc40dbb6d35fb81aa4b43b9 | 1,682 | leetcode-kotlin | MIT License |
dsl/src/main/kotlin/io/cloudshiftdev/awscdkdsl/services/sso/CfnPermissionSetDsl.kt | cloudshiftinc | 667,063,030 | false | {"Kotlin": 63959868} | @file:Suppress(
"RedundantVisibilityModifier",
"RedundantUnitReturnType",
"RemoveRedundantQualifierName",
"unused",
"UnusedImport",
"ClassName",
"REDUNDANT_PROJECTION",
"DEPRECATION"
)
package io.cloudshiftdev.awscdkdsl.services.sso
import io.cloudshiftdev.awscdkdsl.CfnTagDsl
import io... | 3 | Kotlin | 0 | 3 | c59c6292cf08f0fc3280d61e7f8cff813a608a62 | 13,548 | awscdk-dsl-kotlin | Apache License 2.0 |
chat-persistence-cassandra/src/main/kotlin/com/demo/chat/persistence/cassandra/domain/keygen/AtomicLongKeyGenerator.kt | marios-code-path | 181,180,043 | false | {"Kotlin": 924762, "Shell": 36602, "C": 3160, "HTML": 2714, "Starlark": 278} | package com.demo.chat.persistence.cassandra.domain.keygen
import com.demo.chat.service.core.IKeyGenerator
import java.util.concurrent.atomic.AtomicLong
class AtomicLongKeyGenerator(startSeed: Long) : IKeyGenerator<Long> {
override fun nextId(): Long = atom.incrementAndGet()
private val atom = AtomicLong(star... | 2 | Kotlin | 1 | 9 | 2ae59375cd44e8fb58093b0f24596fc3111fd447 | 328 | demo-chat | MIT License |
hyperion-core/src/main/java/com/cintory/hyperion/core/internal/ActivityResultsSupportFragment.kt | cintory | 148,295,932 | false | {"Gradle": 8, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 7, "Batchfile": 1, "Markdown": 1, "Proguard": 6, "Java": 10, "XML": 51, "Kotlin": 93} | package com.cintory.hyperion.core.internal
import android.support.v4.app.Fragment
import android.content.Intent
import android.os.Bundle
import com.cintory.hyperion.plugin.v1.ActivityResults
import java.util.ArrayList
/**
* Created by Cintory on 2018/9/4 10:41
* Email:<EMAIL>
*/
class ActivityResultsSupportFragmen... | 0 | Kotlin | 0 | 0 | 26e35aa705ab164ab36498873855929f792c8cf6 | 905 | Hyperion-Kotlin | Apache License 2.0 |
android/app/src/main/java/com/algorand/android/modules/assets/action/unsupportedasset/UnsupportedAssetInfoActionViewModel.kt | perawallet | 364,359,642 | false | {"Swift": 8753304, "Kotlin": 7709389, "Objective-C": 88978, "Shell": 7715, "Ruby": 4727, "C": 596} | /*
* Copyright 2022 Pera Wallet, LDA
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writing,... | 22 | Swift | 62 | 181 | 92fc77f73fa4105de82d5e87b03c1e67600a57c0 | 1,958 | pera-wallet | Apache License 2.0 |
measurer/src/commonTest/kotlin/com/github/soushin/measurer/MeasuringRefundsTest.kt | soushin | 171,784,688 | false | null | package com.github.soushin.measurer
import com.github.soushin.measurer.httpclient.Client
import com.github.soushin.measurer.httpclient.HttpClient
import com.github.soushin.measurer.httpclient.KtorClient
import com.github.soushin.measurer.transport.Product
import io.ktor.client.request.HttpRequest
import io.ktor.http.H... | 0 | Kotlin | 0 | 8 | 203da2e72e8ee11d32673b59801e4c3db6e5f3c3 | 2,781 | measurer | Apache License 2.0 |
app/src/main/java/com/neuralbit/letsnote/ui/signIn/PrivacyPolicy.kt | NormanGadenya | 421,601,972 | false | {"Kotlin": 373046, "Java": 20226} | package com.neuralbit.letsnote.ui.signIn
import android.os.Bundle
import android.webkit.WebView
import android.webkit.WebViewClient
import androidx.appcompat.app.AppCompatActivity
import com.neuralbit.letsnote.R
class PrivacyPolicy : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
... | 0 | Kotlin | 0 | 4 | 7e7295e5a35d5413ee660c2af8022ee991706af1 | 666 | Lets-Note-App | Apache License 2.0 |
src/main/kotlin/com/github/kerubistan/kerub/planner/steps/vm/stop/StopVirtualMachine.kt | kerubistan | 19,528,622 | false | null | package com.github.kerubistan.kerub.planner.steps.vm.stop
import com.fasterxml.jackson.annotation.JsonTypeName
import com.github.kerubistan.kerub.model.ExpectationLevel
import com.github.kerubistan.kerub.model.Host
import com.github.kerubistan.kerub.model.VirtualMachine
import com.github.kerubistan.kerub.model.expecta... | 109 | null | 4 | 14 | 99cb43c962da46df7a0beb75f2e0c839c6c50bda | 2,267 | kerub | Apache License 2.0 |
config-feature/src/main/java/ru/endroad/config/feature/data/FeatureConfigDataSource.kt | RasM24 | 264,874,942 | false | null | package ru.endroad.config.feature.data
import ru.endroad.config.feature.entity.FeatureConfig
interface FeatureConfigDataSource {
fun get(): FeatureConfig
} | 0 | Kotlin | 0 | 0 | b71e3bb9d20033ba13d78b2e2d0c1792434f906a | 158 | App-SeasonAppraiser | Apache License 2.0 |
app/src/main/java/cz/prague/cvut/fit/steuejan/amtelapp/data/dao/GroupDAO.kt | hawklike | 234,594,207 | false | null | package cz.prague.cvut.fit.steuejan.amtelapp.data.dao
import com.google.firebase.firestore.DocumentSnapshot
import com.google.firebase.firestore.Query
import com.google.firebase.firestore.QuerySnapshot
import com.google.firebase.firestore.ktx.firestore
import com.google.firebase.ktx.Firebase
import cz.prague.cvut.fit.... | 1 | null | 1 | 1 | 1f88ddbcbd8e547158a4677c934b4dbf18ec82e1 | 3,051 | Amtel-App | MIT License |
app/src/main/java/com/testapps/akey/diary/model/DayBlock.kt | TeraokaAkihiro | 190,983,329 | false | null | package com.testapps.akey.diary.model
import com.testapps.akey.diary.ui.INTENT_DATE_FORMAT
class DayBlock {
var name: String = ""
var date: DateTime? = null
constructor()
constructor(year: Int, month: Int, day: Int) {
this.date = DateTime()
this.date!!.setDateTime(year, month, day)
... | 0 | Kotlin | 0 | 0 | c6c59456373e4ad1d378628a93d764858faee1da | 472 | Diary | MIT License |
cookies/cookies-store/src/main/java/com/duckduckgo/cookies/store/CookiesDatabaseModels.kt | duckduckgo | 78,869,127 | false | {"Kotlin": 14333964, "HTML": 63593, "Ruby": 20564, "C++": 10312, "JavaScript": 8463, "CMake": 1992, "C": 1076, "Shell": 784} | // ktlint-disable filename
/*
* Copyright (c) 2022 DuckDuckGo
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required b... | 68 | Kotlin | 901 | 3,823 | 6415f0f087a11a51c0a0f15faad5cce9c790417c | 1,364 | Android | Apache License 2.0 |
src/main/kotlin/com/hyphenated/scotus/opinion/OpinionCaseResponse.kt | jacobhyphenated | 252,812,586 | false | null | package com.hyphenated.scotus.opinion
data class OpinionResponse (
val id: Long,
val caseId: Long,
val opinionType: OpinionType,
val summary: String,
val justices: List<OpinionJusticeResponse>
)
data class OpinionJusticeResponse(
val justiceId: Long,
val isAuthor: Boolean,
val justiceN... | 0 | Kotlin | 0 | 0 | b2c4fc9402da229b5d37d3c4ba3f29d92fec1516 | 657 | scotus-server | The Unlicense |
app/src/main/java/com/vn/moviedb/presentation/models/GetRemoteMovieState.kt | ngocbinh123 | 766,355,801 | false | {"Kotlin": 55988} | /*
* Copyright 2023 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writin... | 0 | Kotlin | 0 | 0 | 924e14d4f65d9f03f40ef87f47ab30e6ec675a25 | 897 | MovieDBApp | MIT License |
gmaven/src/main/kotlin/ru/rzn/gmyasoedov/gmaven/project/externalSystem/service/GMavenNotificationExtension.kt | grisha9 | 586,299,688 | false | {"Kotlin": 256128, "Java": 254459, "HTML": 339} | package ru.rzn.gmyasoedov.gmaven.project.externalSystem.service
import com.intellij.openapi.externalSystem.model.ExternalSystemException
import com.intellij.openapi.externalSystem.model.LocationAwareExternalSystemException
import com.intellij.openapi.externalSystem.service.notification.ExternalSystemNotificationExtens... | 3 | Kotlin | 0 | 11 | 5b7ee183713ebab10a71d0b28c2d051518d65f90 | 1,607 | gmaven-plugin | Apache License 2.0 |
app/src/main/java/com/vultisig/wallet/ui/models/reshare/ReshareStartViewModel.kt | vultisig | 789,965,982 | false | {"Kotlin": 1611851, "Ruby": 1713} | package com.vultisig.wallet.ui.models.reshare
import androidx.lifecycle.SavedStateHandle
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.vultisig.wallet.ui.models.keygen.VaultSetupType
import com.vultisig.wallet.ui.navigation.Destination
import com.vultisig.wallet.ui.navigation.... | 58 | Kotlin | 2 | 6 | bc136dca92abbc2507d64764737fdccddd9bdf42 | 1,538 | vultisig-android | Apache License 2.0 |
kotlinx-coroutines-core/concurrent/test/flow/StateFlowUpdateCommonTest.kt | hltj | 151,721,407 | true | null | /*
* Copyright 2016-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
*/
package kotlinx.coroutines.flow
import kotlinx.coroutines.*
import kotlinx.coroutines.flow.*
import kotlin.test.*
// A simplified version of StateFlowUpdateStressTest
class StateFlowUpdateCommonTest : TestBa... | 295 | Kotlin | 1827 | 255 | 9565dc2d1bc33056dd4321f9f74da085e6c0f39e | 1,008 | kotlinx.coroutines-cn | Apache License 2.0 |
ui-core/src/main/java/com/adyen/checkout/ui/core/internal/data/api/DefaultAddressRepository.kt | Adyen | 91,104,663 | false | null | /*
* Copyright (c) 2023 Adyen N.V.
*
* This file is open source and available under the MIT license. See the LICENSE file for more info.
*
* Created by atef on 21/2/2023.
*/
package com.adyen.checkout.ui.core.internal.data.api
import androidx.annotation.RestrictTo
import com.adyen.checkout.components.core.inter... | 28 | null | 66 | 96 | 1f000e27e07467f3a30bb3a786a43de62be003b2 | 4,821 | adyen-android | MIT License |
transport/definition/src/main/kotlin/io/web3j/libp2p/transport/TransportConnection.kt | web3j | 168,131,199 | false | {"Kotlin": 299165} | /*
* Copyright 2019 BLK Technologies Limited (web3labs.com).
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | 5 | Kotlin | 9 | 78 | 3b7d5a15703a572e99d4afd81b06a8eedc1bbecb | 1,353 | libp2p | Apache License 2.0 |
app/src/main/java/kz/abt/admin/mvp/view/fragment/GameView.kt | FromSi | 145,440,301 | false | null | /*
* Copyright 2018 Vlad Weber-Pflaumer
*
* 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 | 7f8ab20ee2c1dd87672d9a56dc6d83b6baea1654 | 878 | ABTAdmin | Apache License 2.0 |
src/main/kotlin/com/frynet/theatre/data/sale_tickets/TicketRepository.kt | frynet | 413,667,973 | false | {"Kotlin": 119539} | package com.frynet.theatre.data.sale_tickets
import com.frynet.theatre.data.repertoires.RepertoireDateInterval
import org.springframework.data.jpa.repository.Query
import org.springframework.data.repository.CrudRepository
import org.springframework.stereotype.Repository
import java.time.LocalDate
@Repository
interfa... | 0 | Kotlin | 0 | 0 | bb0bdfa37ed2b76e0c6a9badca128e4fcabd6bde | 1,130 | TheatreManager | MIT License |
app/src/main/java/com/ccorrads/kotlinfun/network/MealPrepBackendService.kt | CCorrado | 103,590,440 | false | {"Gradle": 4, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "Proguard": 2, "Kotlin": 43, "XML": 26, "Java": 2} | package com.ccorrads.kotlinfun.network
import android.util.Log
import com.ccorrads.kotlinfun.MainApp
import com.ccorrads.kotlinfun.events.AbstractServerEvent
import com.ccorrads.kotlinfun.events.MealsAvailableEvent
import com.ccorrads.kotlinfun.models.MealPrep
import com.ccorrads.kotlinfun.models.ParentModel
import io... | 1 | null | 1 | 1 | 9e864b63c896bb639625e341cf59847635d999da | 2,581 | kotlinfun | Apache License 2.0 |
app/src/main/kotlin/com/foreverht/workplus/module/contact/utlis/DepartmentUtils.kt | AoEiuV020 | 421,650,297 | false | {"Java": 8618305, "Kotlin": 1733509, "JavaScript": 719597, "CSS": 277438, "HTML": 111559} | package com.foreverht.workplus.module.contact.utlis
import android.text.TextUtils
import com.foreveross.atwork.infrastructure.model.orgization.DepartmentPath
import com.foreveross.atwork.infrastructure.utils.ListUtil
fun splitPathToList(fullPath: String, prefix: String): List<String> {
var fullNamePath = fullPath... | 1 | null | 1 | 1 | 1c4ca5bdaea6d5230d851fb008cf2578a23b2ce5 | 1,491 | w6s_lite_android | MIT License |
ndkcrashes/src/main/kotlin/io/appmetrica/analytics/ndkcrashes/impl/utils/AbiResolver.kt | appmetrica | 650,662,094 | false | {"Java": 5767508, "C++": 5729793, "Kotlin": 2677873, "Python": 229161, "Objective-C++": 152166, "C": 127185, "Assembly": 59003, "Emacs Lisp": 14657, "Objective-C": 10302, "Starlark": 7767, "Shell": 5746, "Go": 4930, "CMake": 3562, "CSS": 1454, "AppleScript": 1429, "AIDL": 504} | package io.appmetrica.analytics.ndkcrashes.impl.utils
import android.os.Build
open class AbiResolver(private val supportedAbi: Set<String>) {
fun getAbi(): String? {
return lookupAbi(Build.SUPPORTED_64_BIT_ABIS) ?: lookupAbi(Build.SUPPORTED_32_BIT_ABIS)
}
private fun lookupAbi(from: Array<String>... | 2 | Java | 7 | 54 | ae0626e12338a01ce0effad1e9e3706a85b9e752 | 471 | appmetrica-sdk-android | MIT License |
CustomListViewStudy/app/src/main/java/com/example/hahaj/customlistviewstudy/MainActivity.kt | SungYoonJOE | 197,382,150 | false | {"Text": 1, "Markdown": 1, "Gradle": 78, "Java Properties": 26, "Shell": 26, "Ignore List": 52, "Batchfile": 26, "INI": 26, "Proguard": 26, "Kotlin": 87, "XML": 385, "Java": 3} | package com.example.hahaj.customlistviewstudy
import android.support.v7.app.AppCompatActivity
import android.os.Bundle
import android.util.Log
import android.view.View
import android.view.ViewGroup
import android.widget.*
import kotlinx.android.synthetic.main.activity_main.*
class MainActivity : AppCompatActivity() {... | 1 | null | 1 | 1 | a292ce235d6e62f5451c84819f596f7c0de089ce | 2,852 | Study-Kotlin | MIT License |
profilers-android/src/com/android/tools/idea/profilers/actions/StopProfilerTaskAction.kt | JetBrains | 60,701,247 | false | null | /*
* Copyright (C) 2024 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 5 | null | 227 | 948 | 10110983c7e784122d94c7467e9d243aba943bf4 | 1,673 | android | Apache License 2.0 |
app/src/main/java/me/cyber/nukleos/ui/find/FindSensorInterface.kt | cyber-punk-me | 141,065,829 | false | null | package me.cyber.nukleos.ui.find
import me.cyber.nukleos.BasePresenter
import me.cyber.nukleos.BaseView
import me.cyber.nukleos.sensors.Sensor
import me.cyber.nukleos.ui.control.SensorModel
interface FindSensorInterface {
interface View : BaseView {
fun showPreparingText()
fun showEmptyListText(... | 1 | null | 9 | 17 | 03fad246834e6c569e301b005037849bdfccb664 | 910 | nukleos | Apache License 2.0 |
Common/src/main/java/cn/githink/common/rx/BaseSubscriber.kt | githinkcn | 158,341,321 | false | {"Gradle": 6, "XML": 141, "Java Properties": 3, "Shell": 1, "Text": 1, "Ignore List": 5, "Batchfile": 1, "INI": 2, "Proguard": 4, "Java": 6, "Kotlin": 70} | package cn.githink.common.rx
import cn.githink.common.presenter.view.AppView
import rx.Subscriber
/**
* 订阅者通用实现
*/
open class BaseSubscriber<T>(val v:AppView):Subscriber<T>() {
override fun onError(e: Throwable?) {
v.hideLoading()
if (e is BaseExecption){
v.onError(e.msg)
}
... | 0 | Kotlin | 0 | 4 | 44f90eea53e758720f474da6ce6cf0e0b7dbca6a | 429 | KotlinApp | Apache License 2.0 |
app/src/main/java/com/michaelpohl/loopyplayer2/ui/licenses/Libraries.kt | michpohl | 155,254,554 | false | null | package com.michaelpohl.loopyplayer2.ui.licenses
import android.os.Parcelable
import com.squareup.moshi.JsonClass
import kotlinx.android.parcel.Parcelize
@Parcelize
@JsonClass(generateAdapter = true)
data class Libraries(val libraries: List<Library>) : Parcelable {
@Parcelize
@JsonClass(generateAdapter = tru... | 2 | null | 2 | 8 | 7d8d1cae52b3c5f2b64ad99bc373a751e8b7558b | 892 | Loopy | Apache License 2.0 |
app/src/main/java/app/labs14/roamly/models/Orientation.kt | labs14-travel-website | 196,242,217 | false | null | package app.labs14.roamly.models
/**
* Created by <NAME> on 07-06-2016.
*/
enum class Orientation {
VERTICAL,
HORIZONTAL
}
| 2 | Kotlin | 0 | 0 | 9c14b0a6b825fe8549570b6473f24a11b55509e7 | 135 | android | MIT License |
src/main/kotlin/io/github/reflxction/snowy/ticket/Ticket.kt | Revxrsal | 257,526,525 | false | {"Maven POM": 1, "Text": 1, "Ignore List": 1, "Markdown": 1, "YAML": 1, "XML": 1, "Kotlin": 33, "Java": 1} | /*
* * Copyright 2019-2020 github.com/ReflxctionDev
*
* 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 applicab... | 2 | null | 1 | 1 | 9f062ccf3e902b7e558f63257fd31f70fa80ce6e | 1,334 | SnowyAssistant | Creative Commons Zero v1.0 Universal |
src/main/kotlin/org/fountainmc/api/enchantments/EnchantmentType.kt | FountainMC | 60,523,700 | false | null | package org.fountainmc.api.enchantments
interface EnchantmentType {
val name: String
val id: Int
val minLevel: Int
get() = 1
val maxLevel: Int
}
| 9 | Kotlin | 5 | 6 | edb137ab4a348ed5915b144554a7959f28415d72 | 173 | FountainAPI | MIT License |
library/src/com/frientrip/calendarview/CustomCalendarView.kt | frientrip | 64,998,521 | true | {"Gradle": 4, "Java Properties": 3, "Shell": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "XML": 39, "Java": 1, "Kotlin": 3} | package com.frientrip.calendarview
import android.annotation.SuppressLint
import android.content.Context
import android.graphics.Typeface
import android.util.AttributeSet
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.ImageView
import android.widget.Line... | 0 | Kotlin | 0 | 6 | 6c3475a7c4ef067ee7562339f23d076395331b18 | 16,060 | Custom-Calendar-View | Apache License 2.0 |
src/main/java/com/bot/voice/PlaylistLLLoadHandler.kt | kikkia | 114,629,814 | false | null | package com.bot.voice
import com.bot.metrics.MetricsManager
import com.jagrosh.jdautilities.command.CommandEvent
import dev.arbjerg.lavalink.client.AbstractAudioLoadResultHandler
import dev.arbjerg.lavalink.client.player.LoadFailed
import dev.arbjerg.lavalink.client.player.PlaylistLoaded
import dev.arbjerg.lavalink.cl... | 4 | null | 15 | 36 | 504b331b9572a7b51a9d724ff1210276be0b15a7 | 2,251 | Vinny | MIT License |
android/apolloui/src/main/java/io/muun/apollo/presentation/ui/signup/unverified_rc/UnverifiedRcWarningFragment.kt | muun | 150,655,434 | false | null | package io.muun.apollo.presentation.ui.signup.unverified_rc
import android.view.View
import butterknife.BindView
import io.muun.apollo.R
import io.muun.apollo.presentation.ui.base.SingleFragment
import io.muun.apollo.presentation.ui.view.MuunButton
class UnverifiedRcWarningFragment : SingleFragment<UnverifiedRcWarnin... | 39 | null | 46 | 256 | 86048fe9f8059c9617f2e6d32e7d41c460dfb785 | 826 | apollo | MIT License |
src/main/kotlin/ch/uzh/ifi/seal/bencher/analysis/change/AsmChangeMethodVisitor.kt | chrstphlbr | 227,602,878 | false | {"Kotlin": 922014, "Java": 29153} | package ch.uzh.ifi.seal.bencher.analysis.change
import org.objectweb.asm.*
class AsmChangeMethodVisitor(api: Int, mv: MethodVisitor?) : MethodVisitor(api, mv) {
val sb = StringBuilder()
// sub visitors
val avs: MutableList<AsmChangeAnnotationVisitor> = mutableListOf()
fun string(): String = sb.toS... | 1 | Kotlin | 3 | 4 | 22163c047b107b743bc6b25cc43a4ae822c2af3b | 8,518 | bencher | Apache License 2.0 |
app/src/main/java/com/forcetower/uefs/core/util/ColorUtils.kt | Matoro17 | 171,460,349 | false | null | /*
* Copyright (c) 2018.
* <NAME> <<EMAIL>>
*
* This file is part of the UNES Open Source Project.
*
* UNES is licensed under the MIT License
*
* 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 th... | 1 | null | 1 | 1 | 000e7aa8b9123959d2704ee5dc9b45b03b46dbb1 | 1,597 | Melon | MIT License |
app/src/androidTest/kotlin/com/moonpi/swiftnotes/test/MainMenu.kt | AlexHurray | 130,821,769 | false | null | package com.moonpi.swiftnotes.test
import android.support.test.uiautomator.By
import android.support.test.uiautomator.UiDevice
import org.hamcrest.CoreMatchers
import org.junit.Assert
open class MainMenu constructor(device : UiDevice) : BaseScreen(device) {
private val backUp = By.text("Backup notes")
private... | 1 | null | 1 | 1 | 04d1c8ab43baeffe9b02bad841849dfac8a1afde | 734 | Swiftnotes | Apache License 2.0 |
appreader/src/main/java/com/ul/ims/gmdl/reader/fragment/NfcScanFragment.kt | prashantkspatil | 284,531,234 | true | {"Gradle": 11, "Java Properties": 1, "Shell": 1, "Text": 1, "Ignore List": 10, "Batchfile": 1, "Markdown": 5, "Proguard": 9, "XML": 45, "Java": 36, "INI": 2, "Kotlin": 233} | /*
* Copyright (C) 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | 0 | Kotlin | 0 | 0 | a6c3a6077ef5e7774ff70929ae4f33968ce6f598 | 9,072 | mdl-ref-apps | Apache License 2.0 |
integration-testing/src/functionalTest/kotlin/kotlinx.atomicfu.gradle.plugin.test/framework/runner/Commands.kt | Kotlin | 99,576,820 | false | {"Kotlin": 310810, "Shell": 762, "Java": 487} | /*
* Copyright 2016-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
*/
package kotlinx.atomicfu.gradle.plugin.test.framework.runner
import kotlinx.atomicfu.gradle.plugin.test.framework.checker.getProjectClasspath
internal fun GradleBuild.cleanAndBuild(): BuildResult = runGradle... | 59 | Kotlin | 58 | 917 | b94c6bd887ec48a5b172cacc0a1dac3f76c4fdbb | 1,415 | kotlinx-atomicfu | Apache License 2.0 |
integration-testing/src/functionalTest/kotlin/kotlinx.atomicfu.gradle.plugin.test/framework/runner/Commands.kt | Kotlin | 99,576,820 | false | {"Kotlin": 310810, "Shell": 762, "Java": 487} | /*
* Copyright 2016-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
*/
package kotlinx.atomicfu.gradle.plugin.test.framework.runner
import kotlinx.atomicfu.gradle.plugin.test.framework.checker.getProjectClasspath
internal fun GradleBuild.cleanAndBuild(): BuildResult = runGradle... | 59 | Kotlin | 58 | 917 | b94c6bd887ec48a5b172cacc0a1dac3f76c4fdbb | 1,415 | kotlinx-atomicfu | Apache License 2.0 |
mineinabyss-features/src/main/kotlin/com/mineinabyss/features/relics/RelicsFeature.kt | MineInAbyss | 115,279,675 | false | null | package com.mineinabyss.features.relics
import com.mineinabyss.geary.modules.geary
import com.mineinabyss.idofront.features.Feature
import com.mineinabyss.idofront.features.FeatureDSL
class RelicsFeature : Feature {
override fun FeatureDSL.enable() {
geary.pipeline.addSystems(
ToggleStarCompas... | 13 | null | 26 | 90 | 3a7dda504d01237b71ae21fe123f386ea453fdaf | 388 | MineInAbyss | MIT License |
app/src/main/java/com/example/auth/Authenticator.kt | olegnet | 179,689,616 | false | null | package com.example.auth
import android.accounts.AbstractAccountAuthenticator
import android.accounts.Account
import android.accounts.AccountAuthenticatorResponse
import android.accounts.AccountManager
import android.content.Context
import android.content.Intent
import android.os.Bundle
class Authenticator(private va... | 0 | Kotlin | 0 | 0 | 9b681745cc36bb6fa50c77306304d287c550d463 | 1,854 | android-q-auth-bug | Apache License 2.0 |
src/main/java/jukebot/audio/sourcemanagers/spotify/loaders/SpotifyTrackLoader.kt | Devoxin | 104,263,117 | false | null | package jukebot.audio.sourcemanagers.spotify.loaders
import com.grack.nanojson.JsonObject
import com.grack.nanojson.JsonParser
import com.sedmelluq.discord.lavaplayer.track.AudioItem
import jukebot.audio.sourcemanagers.spotify.SpotifyAudioSourceManager
import org.apache.http.HttpStatus
import java.util.regex.Matcher
... | 0 | Kotlin | 10 | 37 | d65356361b93552ec7ec50376c301fb16eae8a36 | 1,602 | JukeBot | Apache License 2.0 |
CodeLocatorPlugin/src/main/java/com/bytedance/tools/codelocator/parser/CodeLocatorViewNodeDecoder.kt | bytedance | 397,768,132 | false | null | package com.bytedance.tools.codelocator.parser
import java.nio.ByteBuffer
import java.nio.charset.Charset
import java.util.HashMap
class CodeLocatorViewNodeDecoder(private val mBuf: ByteBuffer) {
fun hasRemaining(): Boolean {
return mBuf.hasRemaining()
}
fun readObject(): Any {
val sig = ... | 23 | null | 69 | 974 | 2c01b619c9b33801ffdcd8d1ffa63f673504d923 | 2,413 | CodeLocator | Apache License 2.0 |
src/main/kotlin/automaton/constructor/utils/UndoRedoManager.kt | spbu-se | 460,362,528 | false | null | package automaton.constructor.utils
import javafx.beans.property.Property
import javafx.beans.value.ChangeListener
import javafx.beans.value.ObservableValue
import javafx.beans.value.WritableValue
import tornadofx.*
class UndoRedoManager(val maxUndo: Int = 20) {
private val undoStack = ArrayDeque<UndoableAction>(... | 4 | null | 0 | 8 | 008858326d8b70316a95bded8c927d5a635b1f3b | 4,229 | KotlinAutomataConstructor | Apache License 2.0 |
Front-End/app/src/main/java/com/example/syncsapp/MainActivity.kt | AndyLiu11037 | 290,999,909 | false | {"Python": 16097, "Kotlin": 8302} | package com.example.syncsapp
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.util.Log
import android.widget.Button
class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInsta... | 0 | Python | 0 | 0 | 913e8bf99ee1ae6928dadceba67f3d4e82795082 | 1,061 | SYNCS-hackathon | MIT License |
src/main/kotlin/com/veosps/game/Application.kt | veos-rs | 454,076,880 | false | {"Kotlin": 332503} | package com.veosps.game
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.builder.SpringApplicationBuilder
@SpringBootApplication
open class Application
fun main(args: Array<String>) {
SpringApplicationBuilder(Application::class.java)
.run(*args)
}
| 0 | Kotlin | 0 | 0 | 5eb4bae27294af3a88b626e037bcb92e9e097f34 | 314 | main-game | MIT License |
src/main/kotlin/dev/akif/cats/toy/ToyRepository.kt | makiftutuncu | 605,721,123 | false | null | package dev.akif.cats.toy
import dev.akif.crud.CRUDRepository
import org.springframework.data.domain.Page
import org.springframework.data.domain.Pageable
import org.springframework.stereotype.Repository
import java.lang.UnsupportedOperationException
import java.util.UUID
@Repository
interface ToyRepository : CRUDRepo... | 5 | Kotlin | 0 | 2 | 8e85115468bb28bf6e4a3b04a220f4c22f968f9e | 1,213 | kotlin-spring-boot-template | MIT License |
app/src/main/java/com/giuseppebuzzanca/beerbox/di/qualifier/FragmentScope.kt | PiDyGB | 176,044,418 | false | null | package com.giuseppebuzzanca.beerbox.di.qualifier
import javax.inject.Scope
@Scope
@kotlin.annotation.Retention(AnnotationRetention.RUNTIME)
annotation class ActivityScoped
| 0 | Kotlin | 0 | 0 | 9dd87c1a7fff538f616bf72a0b0c191735eeaffc | 175 | BeerBox | Apache License 2.0 |
hmpps-prisoner-search/src/test/kotlin/uk/gov/justice/digital/hmpps/prisonersearch/search/services/attributesearch/requestdsl/DateTimeMatcher.kt | ministryofjustice | 636,804,116 | false | {"Kotlin": 1318291, "HTML": 6255, "Shell": 6211, "Dockerfile": 2780, "Mustache": 1803} | package uk.gov.justice.digital.hmpps.prisonersearch.search.services.attributesearch.requestdsl
import uk.gov.justice.digital.hmpps.prisonersearch.search.services.attributesearch.api.DateTimeMatcher
import java.time.LocalDateTime
@DslMarker
annotation class DateTimeMatcherDslMarker
/**
* Part of the [QueryDsl] DSL.
... | 2 | Kotlin | 1 | 1 | cd182ce58558630d8925db5cbc9964208cf59e53 | 1,452 | hmpps-prisoner-search | MIT License |
app/src/main/java/com/vivekupasani/single/MainActivity.kt | vivekupasani | 856,708,527 | false | null | package com.vivekupasani.single
import android.os.Bundle
import android.util.Log
import androidx.activity.enableEdgeToEdge
import androidx.appcompat.app.AppCompatActivity
import androidx.core.view.ViewCompat
import androidx.core.view.WindowInsetsCompat
import androidx.navigation.Navigation
import androidx.navigation.u... | 0 | null | 0 | 1 | 365318ef98012681487fecc74c9201b84a852e49 | 1,866 | Single | MIT License |
xposed/src/main/java/moe/fuqiuluo/xposed/hooks/LocationManagerHook.kt | fuqiuluo | 870,496,630 | false | {"Kotlin": 280032, "AIDL": 21153, "Java": 3777} | package moe.fuqiuluo.xposed.hooks
import android.location.Location
import de.robv.android.xposed.XC_MethodHook
import de.robv.android.xposed.XposedBridge
import de.robv.android.xposed.XposedHelpers
import moe.fuqiuluo.xposed.BaseLocationHook
import moe.fuqiuluo.xposed.utils.FakeLoc
import moe.fuqiuluo.xposed.utils.Log... | 0 | Kotlin | 1 | 8 | ded8017653fb6535cc71e421175d22867d2f12a2 | 4,792 | Portal | Apache License 2.0 |
app/src/main/java/ru/nesterov/test/wiring/tourists/TouristsRepositoryAdapter.kt | anaesthez | 689,421,041 | false | {"Kotlin": 93079} | package ru.nesterov.test.wiring.tourists
import ru.nesterov.booking.domain.entities.Tourist
import ru.nesterov.booking.domain.repositories.TouristsRepository
import ru.nesterov.data.TouristsDataRepository
import ru.nesterov.test.mappers.toData
import ru.nesterov.test.mappers.toDomain
import javax.inject.Inject
class ... | 0 | Kotlin | 0 | 0 | c5fc99aa24b2c672edeb059e8135f96c38e13fea | 1,052 | test | MIT License |
kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalytics/CfnApplicationReferenceDataSource.kt | cloudshiftinc | 667,063,030 | false | {"Kotlin": 149148378} | @file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION")
package io.cloudshiftdev.awscdk.services.kinesisanalytics
import io.cloudshiftdev.awscdk.CfnResource
import io.cloudshiftdev.awscdk.IInspectab... | 3 | Kotlin | 0 | 4 | db2b3a364f5e74d8f80490e7850da7f1e7f1e7d0 | 78,645 | kotlin-cdk-wrapper | Apache License 2.0 |
src/main/java/net/kigawa/kutil/kutil/concurrent/AsyncExecutor.kt | kigawa01 | 421,088,101 | false | {"Kotlin": 25155, "Java": 15966} | @file:Suppress("unused")
package net.kigawa.kutil.kutil.api.concurrent
import net.kigawa.kutil.kutil.api.err.ErrorHandler
import net.kigawa.kutil.kutil.api.err.StreamErrorHandler
import net.kigawa.kutil.kutil.api.list.KList
import net.kigawa.kutil.kutil.api.manager.RemoveAble
import java.util.*
import java.util.concu... | 0 | Kotlin | 0 | 0 | 6ed8c33dddd6d0fdd5fa5583d568f481da5c79b3 | 2,826 | kutil-java | MIT License |
arrow-libs/core/arrow-core/src/jvmTest/kotlin/examples/example-ior-01.kt | arrow-kt | 86,057,409 | false | {"Kotlin": 2793646, "Java": 7691} | // This file was automatically generated from Ior.kt by Knit tool. Do not edit.
package arrow.core.examples.exampleIor01
import arrow.core.Ior
fun main() {
Ior.Left("tulip").isRight // Result: false
Ior.Right("venus fly-trap").isRight // Result: true
Ior.Both("venus", "fly-trap").isRight // Result: fa... | 38 | Kotlin | 436 | 5,958 | 5f0da6334b834bad481c7e3c906bee5a34c1237b | 326 | arrow | Apache License 2.0 |
src/main/kotlin/uk/gov/justice/digital/hmpps/hmppsbookavideolinkapi/service/mapping/LocationMappers.kt | ministryofjustice | 789,053,149 | false | {"Kotlin": 330104, "Dockerfile": 1486, "Shell": 1007} | package uk.gov.justice.digital.hmpps.hmppsbookavideolinkapi.service.mapping
import uk.gov.justice.digital.hmpps.hmppsbookavideolinkapi.client.locationsinsideprison.model.Location
import uk.gov.justice.digital.hmpps.hmppsbookavideolinkapi.model.Location as ModelLocation
fun Location.toModel() = ModelLocation(
key = ... | 0 | Kotlin | 0 | 0 | f0c0b1b6aae5696b6cf81d5071f6bb848e2acd23 | 374 | hmpps-book-a-video-link-api | MIT License |
src/main/kotlin/uk/gov/justice/digital/hmpps/hmppsactivitiesmanagementapi/service/RolloutPrisonService.kt | ministryofjustice | 533,838,017 | false | null | package uk.gov.justice.digital.hmpps.hmppsactivitiesmanagementapi.service
import jakarta.persistence.EntityNotFoundException
import org.springframework.stereotype.Service
import uk.gov.justice.digital.hmpps.hmppsactivitiesmanagementapi.repository.RolloutPrisonRepository
import uk.gov.justice.digital.hmpps.hmppsactivit... | 2 | Kotlin | 0 | 1 | b69e4aee7a632f614ec8edb5a591503dc90a1909 | 567 | hmpps-activities-management-api | MIT License |
application/account/src/main/kotlin/financial/accounting/account/driver/policies/events/TransactionRegistered.kt | gustavofreze | 414,017,610 | false | {"Kotlin": 104127, "Makefile": 1058, "Shell": 638, "Dockerfile": 512} | package financial.accounting.account.driver.policies.events
import financial.shared.valueobject.Amount
data class TransactionRegistered(
val id: String,
val amount: Amount,
val debitAccount: String,
val creditAccount: String
) : Event | 0 | Kotlin | 3 | 70 | c21ec989470a9b4c4b367a85923d4285d53320e7 | 252 | financial | MIT License |
crabzilla-kotlin-example1/crabzilla-kotlin-example1-core/src/test/java/eventshell/example1/aggregates/customer/CustomerSpec.kt | armdev | 110,296,535 | true | {"YAML": 1, "Maven POM": 7, "Text": 1, "Ignore List": 1, "Markdown": 1, "Java": 87, "SQL": 3, "XML": 2, "Kotlin": 1} | //package crabzilla.example1.core.aggregates.customer
//
//import com.nhaarman.mockito_kotlin.*
//import io.kotlintest.specs.BehaviorSpec
//import crabzilla.core.data.Version
//import crabzilla.core.functions.DependencyInjectionFn
//import org.assertj.core.api.Assertions.assertThat
//import java.lang.IllegalArgumentExc... | 0 | Java | 0 | 0 | 81cc5fd954f18f0cdcb1837523b4c2a0a23a7c86 | 5,890 | crabzilla | MIT License |
app/src/main/java/com/sofia/weightcalendar/charts/ChartDataProcessing.kt | MetalPizzaCat | 748,582,363 | false | {"Kotlin": 53995} | package com.sofia.weightcalendar.charts
import com.github.tehras.charts.line.LineChartData
import com.sofia.weightcalendar.data.Entry
import java.time.YearMonth
/**
* Converts entry list into chart entry list
* Conversion happens by taking an average for each week, empty weeks being skipped
* @param year Which ye... | 0 | Kotlin | 0 | 0 | 18f0c7d96ff7b4e204cf1ce6ca3c4ab0222923f6 | 3,820 | WeightCalendar | MIT License |
src/yieldprobe/src/main/java/com/yieldlab/yieldprobe/data/DeviceMetaData.kt | yieldlab | 260,030,269 | false | {"Text": 1, "Markdown": 1, "Gradle": 4, "Java Properties": 2, "Shell": 1, "Ignore List": 3, "Batchfile": 1, "Proguard": 2, "Kotlin": 44, "XML": 17, "Java": 1, "INI": 1, "HTML": 180, "CSS": 1} | package com.yieldlab.yieldprobe.data
import android.location.Location
/**
* Data class to hold device meta data.
* Non valid entries are encoded as null values.
*/
data class DeviceMetaData(
var mGooglePlayServiceAvailable: Boolean? = null,
var mIDFA: String? = null,
var mDeviceType: String? = null,
... | 1 | null | 1 | 1 | 2de0f2342b78b4d0a9c21223fe59b294e06bab94 | 521 | yieldprobe-sdk-android | Apache License 2.0 |
app/src/main/java/com/bayraktar/healthybackandneck/data/Models/OnBoardingItems.kt | OzerBAYRAKTAR | 681,364,096 | false | {"Kotlin": 387201} | package com.bayraktar.healthybackandneck.data.Models
data class OnBoardingItems(
val onBoardingImage: Int,
val description: String
)
| 0 | Kotlin | 0 | 0 | e7efd4a712f71859fc6066e5c18774e41d80c5a1 | 142 | Fitbess-FitnessApplication | MIT License |
app/src/main/kotlin/io/dolphin/move/android/features/messages/presentation/messagedetails/MessageDetailsView.kt | dolphin-technologies | 603,088,245 | false | {"Kotlin": 624279} | package io.dolphin.move.android.features.messages.presentation.messagedetails
interface MessageDetailsView {
fun showMessage(index: Int?)
fun removeMessage(id: Long)
} | 1 | Kotlin | 0 | 0 | 519ff6e880104ad50770d2b9bf0ac6320eeaaa67 | 176 | MOVE-App-Android | Apache License 2.0 |
app/src/main/java/com/koma/movie/data/source/local/MovieDatabase.kt | komamj | 228,352,634 | false | null | /*
* Copyright 2019 komamj
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... | 0 | Kotlin | 0 | 1 | 5eccfa23a31e6b0d5a2be44221832814d7ec83fc | 914 | Android-Automated-Testing | Apache License 2.0 |
integrasjonstest/src/test/kotlin/no/nav/helsearbeidsgiver/inntektsmelding/integrasjonstest/KvitteringIT.kt | navikt | 495,713,363 | false | null | package no.nav.helsearbeidsgiver.inntektsmelding.integrasjonstest
import io.kotest.matchers.nulls.shouldNotBeNull
import io.kotest.matchers.shouldBe
import io.kotest.matchers.shouldNotBe
import kotlinx.serialization.json.JsonPrimitive
import no.nav.helsearbeidsgiver.felles.DataFelt
import no.nav.helsearbeidsgiver.fell... | 14 | Kotlin | 0 | 2 | f48247186ae9623d1b353d461a2a3ef4529d7fe5 | 3,063 | helsearbeidsgiver-inntektsmelding | MIT License |
integrasjonstest/src/test/kotlin/no/nav/helsearbeidsgiver/inntektsmelding/integrasjonstest/KvitteringIT.kt | navikt | 495,713,363 | false | null | package no.nav.helsearbeidsgiver.inntektsmelding.integrasjonstest
import io.kotest.matchers.nulls.shouldNotBeNull
import io.kotest.matchers.shouldBe
import io.kotest.matchers.shouldNotBe
import kotlinx.serialization.json.JsonPrimitive
import no.nav.helsearbeidsgiver.felles.DataFelt
import no.nav.helsearbeidsgiver.fell... | 14 | Kotlin | 0 | 2 | f48247186ae9623d1b353d461a2a3ef4529d7fe5 | 3,063 | helsearbeidsgiver-inntektsmelding | MIT License |
src/main/java/wiles/parser/statements/TypeDefinitionStatement.kt | Alex-Costea | 527,241,623 | false | null | package wiles.parser.statements
import wiles.parser.builders.Context
import wiles.parser.builders.ExpectParamsBuilder.Companion.tokenOf
import wiles.shared.CompilationExceptionsCollection
import wiles.shared.SyntaxType
import wiles.shared.constants.ErrorMessages.IDENTIFIER_EXPECTED_ERROR
import wiles.shared.constants.... | 12 | Kotlin | 0 | 0 | 41055bf53edc7b5abb76c34fa7b08c1e323b5586 | 1,268 | Wiles | MIT License |
domain/src/test/java/com/baset/crypto/domain/usecase/GetRemoteCryptocurrencyDetailUseCaseTest.kt | BasetEsmaeili | 377,701,070 | false | null | package com.baset.crypto.domain.usecase
import com.baset.crypto.domain.createCryptocurrencyDetailEntity
import com.baset.crypto.domain.entity.CryptocurrencyDetailEntity
import com.baset.crypto.domain.entity.ErrorEntity
import com.baset.crypto.domain.entity.Result
import com.baset.crypto.domain.entity.Status
import com... | 0 | Kotlin | 0 | 2 | 5de4bc7192b68513f8125437b40ea5c009b396b9 | 3,964 | CryptoApplication | Apache License 2.0 |
kaff4-core/kaff4-core-model/src/main/kotlin/net/navatwo/kaff4/model/rdf/Aff4RdfModelFeatureModule.kt | kaff4 | 555,850,412 | false | {"Kotlin": 419315, "Shell": 649} | package net.navatwo.kaff4.model.rdf
import net.navatwo.kaff4.api.KAff4FeatureModule
object Aff4RdfModelFeatureModule : KAff4FeatureModule() {
override fun configurePlugin() {
bindAff4Models {
for (subclass in Aff4RdfBaseModels::class.sealedSubclasses) {
toInstance(subclass)
}
}
bind... | 12 | Kotlin | 0 | 1 | 8cad41439e93d31548c12c6252cf12f293db147f | 482 | kaff4 | MIT License |
src/test/kotlin/application/documentation/model.kt | automatic-architecture-documentation | 762,662,998 | false | {"Kotlin": 2626} | package application.documentation
data class ApplicationDescription(
val id: String,
val groupId: String? = null,
val systemId: String? = null,
val type: ComponentType,
val distanceFromUs: Distance,
)
data class DependentDescription(
val id: String,
val groupId: String? = null,
val sys... | 0 | Kotlin | 0 | 0 | 5e989a96745636ed426776bccb24fbc680f3f348 | 860 | backend-service-1 | Apache License 2.0 |
app/src/main/java/material/icons/App.kt | jasmin-k001 | 450,264,076 | false | {"Kotlin": 13455} | package material.icons
import android.app.Application
class App : Application() | 1 | Kotlin | 2 | 2 | e29833d2c829dccf0a4046353f00895c61c567fd | 81 | material-icons-extended-search | The Unlicense |
app/src/main/java/com/skydoves/waterdays/utils/FillableLoaderPaths.kt | skydoves | 100,711,724 | false | null | /*
* Copyright (C) 2016 skydoves
*
* 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 ... | 1 | Kotlin | 23 | 75 | 0196d34d71e11d0466e8e08e5ceab788e9d7fbbb | 2,131 | WaterDrink | Apache License 2.0 |
simplecloud-api/src/main/kotlin/eu/thesimplecloud/api/parser/jsondata/JsonDataParser.kt | theSimpleCloud | 270,085,977 | false | null | /*
* MIT License
*
* Copyright (C) 2020-2022 The SimpleCloud authors
*
* 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 u... | 8 | null | 43 | 98 | 8f10768e2be523e9b2e7c170965ca4f52a99bf09 | 1,503 | SimpleCloud | MIT License |
src/y2015/Day21.kt | gaetjen | 572,857,330 | false | {"Kotlin": 394093, "Mermaid": 571} | package y2015
fun main() {
println("------Real------")
println(111)
println(188)
}
| 0 | Kotlin | 0 | 0 | b6c11dd1d1d3a7dcbb77d989870e5fad3527c9c4 | 96 | advent-of-code | Apache License 2.0 |
modules/core/src/main/java/de/deutschebahn/bahnhoflive/util/GeneralPurposeMillisecondsTimer.kt | dbbahnhoflive | 267,806,942 | false | null | package de.deutschebahn.bahnhoflive.util
import kotlinx.coroutines.*
class GeneralPurposeMillisecondsTimer {
private val job = SupervisorJob()
private val scope = CoroutineScope(Dispatchers.Default + job)
private var timerJob: Job? = null
private var intervalMilliSeconds: Long = 20000L
private ... | 0 | Kotlin | 4 | 33 | 110c6c0ade89306eeb3b9444cbecde15af69e491 | 2,004 | dbbahnhoflive-android | Apache License 2.0 |
gb android project/app/src/main/java/org/firezenk/goldenbleetle/features/btspp/BTSPPAction.kt | FireZenk | 302,876,286 | false | {"C++": 28181, "Kotlin": 27186, "Processing": 2935} | package org.firezenk.goldenbleetle.features.btspp
import android.content.Intent
import org.firezenk.goldenbleetle.features.common.Action
sealed class BTSPPAction : Action()
class Connect(val data: Intent) : BTSPPAction()
object StartService : BTSPPAction()
object StopService : BTSPPAction()
class AccelerationChanged(... | 0 | C++ | 0 | 0 | b9bf8dc40903c261dc0ff2590b5074648b65fd73 | 405 | GoldenBeetle | MIT License |
server/src/test/kotlin/com/yawa/server/security/encryption/PasswordEncodeServiceTest.kt | gmarciani | 345,413,960 | false | {"JavaScript": 4051388, "CSS": 2529242, "TypeScript": 1506761, "HTML": 1414689, "SCSS": 398715, "Kotlin": 118522, "Python": 17133, "Shell": 3528, "Dockerfile": 3009} | package com.yawa.server.security.encryption
import io.kotest.core.spec.style.BehaviorSpec
import io.kotest.matchers.shouldBe
class PasswordEncodeServiceTest : BehaviorSpec({
given(PasswordEncodeService::class.simpleName!!) {
val encoder = PasswordEncodeService()
val clearText = "password"
... | 6 | JavaScript | 2 | 2 | 218ab8900587314499dc89e07abf8697ec0025bb | 614 | yawa | MIT License |
RecyclerCard/app/src/main/java/com/example/recyclercard/adapters/ClientAdapter.kt | Danielle-Kensy | 292,074,849 | false | null | package com.example.recyclercard.adapters
import android.content.Context
import android.util.Log
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.core.content.ContextCompat.getColor
import androidx.recyclerview.widget.RecyclerView
import com.example.recyclercard... | 0 | Kotlin | 0 | 0 | d5a165fa1056bc859d4747cedd02fa6e79bb59e0 | 2,402 | mobile-android-lessons | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.