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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
kt-speedy-data-mongo/src/main/kotlin/kt/speedy/toolbox/data/mongo/MongoPrototype.kt | lifedever | 848,064,253 | false | {"Kotlin": 68261, "Shell": 461} | package kt.speedy.toolbox.data.mongo
import com.mongodb.BasicDBList
import com.mongodb.client.result.UpdateResult
import org.bson.types.ObjectId
import org.springframework.data.domain.Page
import org.springframework.data.domain.PageImpl
import org.springframework.data.domain.Pageable
import org.springframework.data.mo... | 0 | Kotlin | 0 | 0 | c44bafc29ccd4c488911fd019eefa533c2cb4369 | 10,642 | kt-speedy-toolbox | MIT License |
kotest-framework/kotest-framework-api/src/commonMain/kotlin/io/kotest/core/spec/annnotations.kt | ajalt | 134,604,357 | true | {"Kotlin": 2954857, "HTML": 423, "Java": 145} | package io.kotest.core.spec
/**
* Add this annotation to [Listener]s or [Extensions] and they will be registered automatically
* for all specs.
*/
annotation class AutoScan
/**
* Note: This name must be globally unique. Two specs, even in different packages,
* cannot share the same name, so if @DisplayName is us... | 6 | Kotlin | 0 | 1 | ff1b42546abba34ec13eeb7c8f876e546ffc1e02 | 1,032 | kotlintest | Apache License 2.0 |
download/src/main/java/com/catchpig/download/entity/DownloadProgress.kt | catchpig | 421,823,225 | false | {"Kotlin": 238293} | package com.catchpig.download.entity
data class DownloadProgress(
/**
* 当前文件读取长度
*/
var readLength: Long,
/**
* 当前文件总长度
*/
var countLength: Long,
/**
* 完成文件数
*/
var completeCount: Int,
/**
* 总文件数
*/
var totalCount: Int
)
| 0 | Kotlin | 4 | 99 | 028a57af13c35df6d203a05abc43a15860ece6dd | 294 | kmvvm | Apache License 2.0 |
niddler-plugin/src/main/kotlin/com/chimerapps/niddler/ui/provider/ProjectStartupActivity.kt | Chimerapps | 189,958,781 | false | null | package com.chimerapps.niddler.ui.provider
import com.chimerapps.niddler.ui.util.execution.ProcessExecutionListener
import com.intellij.openapi.project.DumbAware
import com.intellij.openapi.project.Project
import com.intellij.openapi.startup.StartupActivity
class ProjectStartupActivity : StartupActivity, DumbAware {
... | 6 | null | 1 | 25 | f1be6466cfa1c64877c3302425871ba83de93fcf | 410 | niddler-ui | Apache License 2.0 |
src/main/java/wiresegal/zenmodelloader/common/core/Interfaces.kt | yrsegal | 63,903,596 | false | null | package wiresegal.zenmodelloader.common.core
import net.minecraft.block.Block
import net.minecraft.block.properties.IProperty
import net.minecraft.client.renderer.ItemMeshDefinition
import net.minecraft.client.renderer.block.statemap.IStateMapper
import net.minecraft.client.renderer.block.statemap.StateMap
import net.... | 0 | Kotlin | 0 | 4 | 1b14d36194378891fc52706880fa3c788d013e8b | 4,861 | ZenModelLoader | Do What The F*ck You Want To Public License |
app/src/sharedTest/kotlin/io/mochadwi/util/TestUiContext.kt | mochadwi | 189,831,173 | false | null | package io.mochadwi.util
import kotlinx.coroutines.CancellableContinuation
import kotlinx.coroutines.CoroutineDispatcher
import kotlinx.coroutines.Delay
import kotlinx.coroutines.InternalCoroutinesApi
import kotlin.coroutines.CoroutineContext
import kotlin.coroutines.resume
@InternalCoroutinesApi
class TestUiContext ... | 0 | Kotlin | 1 | 29 | 65afc6ec314c39d09211cdac52d6be34a52c1c0e | 868 | android-social-app | Apache License 2.0 |
app/src/main/java/com/zaurh/bober/domain/repository/AuthRepo.kt | zaurh | 853,441,625 | false | {"Kotlin": 432221} | package com.zaurh.bober.domain.repository
import com.zaurh.bober.data.responses.AuthenticateResponse
import com.zaurh.bober.data.responses.MessageResponse
import com.zaurh.bober.data.responses.SignInResponse
import com.zaurh.bober.data.responses.SignUpResponse
import com.zaurh.bober.data.user.Gender
import com.zaurh.b... | 0 | Kotlin | 0 | 1 | 5010e8ba7b194da9c67592f5aa1e395fb002b64e | 997 | Bober | MIT License |
src/commonMain/kotlin/com/drjcoding/plow/ir/function/code_block/IRLocalVariable.kt | PlowLang | 377,725,033 | false | null | package com.drjcoding.plow.ir.function.code_block
import com.drjcoding.plow.ir.type.IRType
class IRLocalVariable(
val type: IRType
) | 0 | Kotlin | 0 | 2 | d308cf06d1fa6a9c78022e96a1937fded78ec58f | 138 | Plow | MIT License |
src/main/kotlin/dev/kaxiom/serializer/CSVEncodable.kt | Deltric | 753,896,598 | false | {"Kotlin": 8997} | package dev.kaxiom.serializer
/**
* Interface for objects that can be encoded to CSV.
*/
interface CSVEncodable {
/**
* Encodes the object to a list of strings, where each string is a field in the row.
* @return The list of fields in the row.
*/
fun toCSV(): List<String>
} | 0 | Kotlin | 0 | 1 | 44dc18a5e80bcf88fdcd09a283f5a6efefcc233a | 301 | kaxiom | MIT License |
lib_camera2/src/main/java/com/cheney/camera2/core/XVideoRecorder.kt | wangshuwen1107 | 264,126,091 | false | null | package com.cheney.camera2.core
import android.content.Context
import android.media.MediaRecorder
import android.util.Size
import android.view.Surface
import com.cheney.camera2.callback.VideoRecordCallback
import com.cheney.camera2.util.FileUtil
import java.io.File
import java.lang.Exception
import java.util.concurren... | 0 | null | 0 | 9 | b89f6124d500a859183feb0c02426fcf87ea55d1 | 3,172 | XPicker | Apache License 2.0 |
rounded/src/commonMain/kotlin/me/localx/icons/rounded/filled/ParkingCircleSlash.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.rounded.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,907 | icons | MIT License |
kviewmodel/src/commonMain/kotlin/io/github/alexgladkov/kviewmodel/Closeable.kt | AlexGladkov | 762,745,800 | false | {"Kotlin": 18637, "Swift": 9098, "Ruby": 307} | package io.github.alexgladkov.kviewmodel
public interface Closeable {
public fun close()
} | 0 | Kotlin | 0 | 6 | d46392438747a8be0c836467a4d1b9e202eed70c | 95 | KViewModel | Apache License 2.0 |
app/src/main/java/io/sinzak/android/remote/dataclass/response/profile/ReportListResponse.kt | SINZAK | 567,559,091 | false | {"Kotlin": 482864} | package io.sinzak.android.remote.dataclass.response.profile
import com.google.gson.annotations.SerializedName
import io.sinzak.android.remote.dataclass.CResponse
import io.sinzak.android.remote.dataclass.profile.UserProfile
data class ReportListResponse(
@SerializedName("data") val data : List<UserProfile>? = nul... | 0 | Kotlin | 0 | 3 | 3467e8ee8afeb6b91b51f3a454f7010bc717c436 | 338 | sinzak-android | MIT License |
app/src/main/java/com/concordium/wallet/ui/common/TransactionViewHelper.kt | Concordium | 750,205,274 | false | {"Kotlin": 1647853, "Java": 247867, "HTML": 31416, "CSS": 256} | package com.concordium.wallet.ui.common
import android.view.View
import android.widget.ImageView
import android.widget.TextView
import androidx.core.content.ContextCompat
import com.concordium.wallet.R
import com.concordium.wallet.data.model.Transaction
import com.concordium.wallet.data.model.TransactionOutcome
import... | 6 | Kotlin | 0 | 1 | 3500177bcbe4ac0a0fed85e7f9f86711d0c323ad | 10,923 | cryptox-android | Apache License 2.0 |
samples/client/3_1_0_unit_test/kotlin/src/main/kotlin/org/openapijsonschematools/client/schemas/validation/NotValidator.kt | openapi-json-schema-tools | 544,314,254 | false | null | package org.openapijsonschematools.client.schemas.validation
import org.openapijsonschematools.client.exceptions.ValidationException
class NotValidator : KeywordValidator {
@Throws(ValidationException::class)
override fun validate(
data: ValidationData
): PathToSchemasMap? {
val not: Class... | 1 | null | 11 | 128 | 9006de722f74b7ca917e4e5d38e4cd6ab5ea6e78 | 947 | openapi-json-schema-generator | Apache License 2.0 |
css-gg/src/commonMain/kotlin/compose/icons/cssggicons/VoicemailR.kt | DevSrSouza | 311,134,756 | false | {"Kotlin": 36719092} | package compose.icons.cssggicons
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType
import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap
import androidx.compose.ui.graphics... | 17 | Kotlin | 25 | 571 | a660e5f3033e3222e3553f5a6e888b7054aed8cd | 3,918 | compose-icons | MIT License |
android/src/main/kotlin/com/easazade/android_long_task/AndroidLongTask.kt | easazade | 340,281,956 | false | null | package com.easazade.android_long_task
import android.app.ActivityManager
import android.app.NotificationChannel
import android.app.NotificationManager
import android.content.ComponentName
import android.content.Context
import android.content.Intent
import android.content.ServiceConnection
import android.os.Build
impo... | 2 | Kotlin | 3 | 8 | a6296b675f695203bd9115b5e2d990e7ed380190 | 5,682 | android-long-task | Apache License 2.0 |
app/src/main/java/tech/hostlematedevelopers/hostelmate/activity/HostelActivity.kt | arwazkhan189 | 444,165,990 | false | null | package tech.hostlematedevelopers.hostelmate.activity
import android.annotation.SuppressLint
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.provider.Settings
import android.text.Editable
import android.text.TextWatcher
import android.view.*
import ... | 0 | Kotlin | 2 | 1 | 2681c1bc2a847856d845ff3d203253878a06ec3c | 10,732 | HostelMate | MIT License |
src/main/kotlin/me/fzzyhmstrs/imbued_gear/item/armor/VoidMailArmorItem.kt | fzzyhmstrs | 678,587,058 | false | {"Kotlin": 235565, "Java": 8800} | package me.fzzyhmstrs.imbued_gear.item.armor
import com.google.common.collect.ArrayListMultimap
import com.google.common.collect.Multimap
import me.fzzyhmstrs.amethyst_core.compat.spell_power.SpChecker
import me.fzzyhmstrs.imbued_gear.material.FzzyArmorMaterial
import net.minecraft.entity.EquipmentSlot
import net.mine... | 2 | Kotlin | 0 | 0 | b754803b2972c476b8e9d997909c4a71e81f123b | 1,873 | ig | MIT License |
shark/shark/src/test/java/shark/OpenJdkInstanceRefReadersTest.kt | square | 34,824,499 | false | null | package shark
import org.assertj.core.api.Assertions.assertThat
import org.junit.After
import org.junit.Rule
import org.junit.Test
import org.junit.rules.TemporaryFolder
import shark.FilteringLeakingObjectFinder.LeakingObjectFilter
import shark.internal.OpenJdkInstanceRefReaders.LINKED_LIST
import java.io.File
import ... | 66 | Kotlin | 3938 | 28,470 | 85a4420b0df6f8aee929e2ae42c22d7a273c8b28 | 12,703 | leakcanary | Apache License 2.0 |
packages/java-shell/src/main/kotlin/com/mongodb/mongosh/MongoShellContext.kt | judy2k | 289,883,507 | true | {"TypeScript": 1027669, "JavaScript": 195073, "Kotlin": 91148, "CSS": 47321, "PowerShell": 2811, "Shell": 400} | package com.mongodb.mongosh
import com.mongodb.DBRef
import com.mongodb.client.MongoClient
import com.mongodb.client.result.UpdateResult
import com.mongodb.mongosh.result.*
import com.mongodb.mongosh.service.Either
import com.mongodb.mongosh.service.JavaServiceProvider
import com.mongodb.mongosh.service.Left
import co... | 0 | null | 0 | 0 | cd65489440fb736f160027272ad5bdfb75f1e28b | 16,060 | mongosh | Apache License 2.0 |
twitlin/src/common/test/kotlin/com/sorrowblue/twitlin/media/MediaApiTest.kt | SorrowBlue | 278,215,181 | false | null | package com.sorrowblue.twitlin.api.media
import com.sorrowblue.twitlin.api.TwitlinApi
import com.sorrowblue.twitlin.api.directmessages.oauth1aClient
import com.sorrowblue.twitlin.api.test.shouldSuccess
import io.kotest.core.spec.style.FunSpec
class MediaApiTest : FunSpec({
val mediaApi = TwitlinApi.getApi<MediaA... | 1 | Kotlin | 0 | 1 | 56357ff69869fa8320a888423199a5367cf332b7 | 31,609 | Twitlin | MIT License |
app/src/main/java/com/example/runworkshop/ui/view/recyclerviews/UniversidadViewHolder.kt | MrPartner | 624,642,559 | false | null | package com.example.runworkshop.ui.view.recyclerviews
import android.view.View
import androidx.recyclerview.widget.RecyclerView
import com.example.runworkshop.data.model.InstitutoModel
import com.example.runworkshop.data.model.UniversidadModel
import com.example.runworkshop.databinding.ItemRvuniversidadBinding
class ... | 0 | Kotlin | 0 | 0 | 01a00751b85448d0d00a9e640108dc9777b02516 | 983 | RunWorkshop | Apache License 2.0 |
rulebook-checkstyle/src/test/kotlin/com/hanggrian/rulebook/checkstyle/ClassMemberOrderingCheckTest.kt | hanggrian | 556,969,715 | false | {"Kotlin": 270414, "Python": 71768, "Java": 18644, "CSS": 1653, "Groovy": 323} | package com.hanggrian.rulebook.checkstyle
import kotlin.test.Test
import kotlin.test.assertEquals
class ClassMemberOrderingCheckTest {
private val checker = checkerOf<ClassMemberOrderingCheck>()
@Test
fun `Rule properties`() = ClassMemberOrderingCheck().assertProperties()
@Test
fun `Correct memb... | 0 | Kotlin | 0 | 1 | a1283fc14004ac7c973c5312dede43035f10daa2 | 739 | rulebook | Apache License 2.0 |
korge/src/jvmMain/kotlin/com/soywiz/korge/KorgeExtJvm.kt | korlibs | 80,095,683 | false | null | package com.soywiz.korge
import com.soywiz.klock.milliseconds
import com.soywiz.korge.awt.*
import com.soywiz.korge.time.*
import com.soywiz.korge.view.*
import com.soywiz.korui.*
import com.soywiz.korui.native.*
import kotlinx.coroutines.*
import java.awt.Container
internal actual fun completeViews(views: Views) {
... | 102 | Kotlin | 64 | 1,192 | 7fa8c9981d09c2ac3727799f3925363f1af82f45 | 1,132 | korge | Apache License 2.0 |
sample/src/main/java/com/ceribe/compose/sample/MainActivity.kt | ceribe | 433,992,666 | false | {"Kotlin": 6686} | package com.ceribe.compose.sample
import android.content.Context
import android.os.Bundle
import android.widget.Toast
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.animation.*
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.... | 0 | Kotlin | 0 | 3 | 38fdd1775d6da1b916be1984c5a7058e36b57415 | 3,748 | compose-overflow-menu | The Unlicense |
app/src/main/java/com/arthurivanets/sample/ui/widget/NavigationViewPager.kt | arthur3486 | 178,744,323 | false | null | /*
* Copyright 2018 <NAME>, <EMAIL>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | 0 | null | 23 | 110 | 495600968cd055bcf98d93d7fe6ab46038e125e7 | 2,903 | android-mvvm | Apache License 2.0 |
app/src/main/java/com/duckduckgo/app/browser/urlextraction/UrlExtractingWebView.kt | duckduckgo | 78,869,127 | false | null | /*
* Copyright (c) 2021 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 by applicable law or agreed ... | 67 | null | 901 | 3,823 | 6415f0f087a11a51c0a0f15faad5cce9c790417c | 2,351 | Android | Apache License 2.0 |
app/src/main/java/br/com/terras/hero/MainActivity.kt | gustavoterras | 163,335,309 | false | {"Java": 43287, "Kotlin": 19926} | package br.com.terras.hero
import android.app.Activity
import android.content.Context
import android.databinding.DataBindingUtil
import android.databinding.ViewDataBinding
import android.media.AudioDeviceInfo
import android.media.AudioManager
import android.os.Build
import android.os.Bundle
import android.util.Log
imp... | 1 | Java | 1 | 2 | 7ee94f2c52166db4f0caf6d6d7b549e748945be2 | 9,380 | hero-smart-mirror | MIT License |
winter-androidx-fragment/src/main/java/io/jentz/winter/androidx/fragment/SimpleAndroidFragmentInjectionAdapter.kt | beyama | 107,642,059 | false | {"Gradle": 17, "Ruby": 1, "Markdown": 3, "INI": 14, "YAML": 2, "Shell": 1, "Text": 1, "Ignore List": 15, "Batchfile": 1, "Kotlin": 158, "Proguard": 5, "XML": 15, "AsciiDoc": 1, "Java Properties": 1, "Java": 21} | package io.jentz.winter.androidx.fragment
import androidx.activity.ComponentActivity
import androidx.activity.OnBackPressedDispatcherOwner
import androidx.fragment.app.Fragment
import androidx.fragment.app.FragmentActivity
import androidx.savedstate.SavedStateRegistryOwner
import io.jentz.winter.Component
import io.je... | 2 | Kotlin | 2 | 12 | 51b49c6da3bad69b549b343093322a86f0615703 | 2,516 | winter | Apache License 2.0 |
src/main/kotlin/com/demonwav/mcdev/util/compat.kt | Earthcomputer | 240,984,777 | true | {"Kotlin": 1282177, "Lex": 12961, "HTML": 10151, "Groovy": 4500, "Java": 948, "Shell": 798} | /*
* Minecraft Dev for IntelliJ
*
* https://minecraftdev.org
*
* Copyright (c) 2020 minecraft-dev
*
* MIT License
*/
package com.demonwav.mcdev.util
import com.intellij.codeInsight.intention.IntentionAction
import com.intellij.diagnostic.ReportMessages
import com.intellij.ide.plugins.IdeaPluginDescriptor
impo... | 1 | Kotlin | 2 | 23 | ab8aaeb8804c7a8b2e439e063a73cb12d0a9d4b5 | 8,432 | MinecraftDev | MIT License |
winterhold/src/main/java/winterhold/spelldamage/SpellDamageTags.kt | TijmenvanderKemp | 325,634,389 | false | null | package winterhold.spelldamage
import com.evacipated.cardcrawl.modthespire.lib.SpireEnum
import com.megacrit.cardcrawl.cards.AbstractCard
object SpellDamageTags {
@SpireEnum
lateinit var DEALS_FIRE_DAMAGE: AbstractCard.CardTags
@SpireEnum
lateinit var DEALS_FROST_DAMAGE: AbstractCard.CardTags
@S... | 1 | null | 1 | 1 | b17bded16770cd170d092f66c26efb6b44fcf76e | 389 | StS-Winterhold | MIT License |
spring-beans/src/test/kotlin/org/springframework/beans/BeanUtilsKotlinTests.kt | yangfancoming | 194,103,586 | false | null | package org.springframework.beans
import org.junit.Assert.*
import org.junit.Test
/**
* Kotlin tests for {@link BeanUtils}.
*
* @author <NAME>
*/
@Suppress("unused", "UNUSED_PARAMETER")
class KotlinBeanUtilsTests {
@Test
fun `Instantiate immutable class`() {
val constructor = BeanUtils.findPrimaryConstructo... | 1 | null | 1 | 1 | db4c2cbcaf8ba58f43463eff865d46bdbd742064 | 2,494 | spring-5.1.x | Apache License 2.0 |
src/main/kotlin/net/joeaustin/taktools/controllers/MainController.kt | Joe-Austin | 262,663,769 | false | null | package net.joeaustin.taktools.controllers
import javafx.fxml.Initializable
import java.net.URL
import java.util.*
class MainController : Initializable {
override fun initialize(location: URL?, resources: ResourceBundle?) {
}
} | 1 | Kotlin | 1 | 1 | 86bd8b4b8a63cb692f7e93fad2629fd75d0361af | 238 | TAKTools | MIT License |
library/src/main/kotlin/com/twitter/meil_mitu/twitter4hk/data/SuggestionUser.kt | MeilCli | 51,423,644 | false | null | package com.twitter.meil_mitu.twitter4hk.data
import com.twitter.meil_mitu.twitter4hk.exception.Twitter4HKException
import com.twitter.meil_mitu.twitter4hk.util.JsonUtils.getJSONArray
import com.twitter.meil_mitu.twitter4hk.util.JsonUtils.getJSONObject
import org.json.JSONObject
import java.util.*
class SuggestionUs... | 0 | Kotlin | 0 | 0 | 818e42ea417c326e3d50024decce4c7e70641a73 | 1,264 | Twitter4HK | MIT License |
app/src/main/java/com/elbehiry/bellademo/factory/HomeAlertFactory.kt | Elbehiry | 299,305,484 | false | null | /*
* Copyright (C) 2020 elbehiry
*
* 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 | 1 | 5 | 3c244e7bd135fe93e47de49ca2c84615e3329f12 | 1,324 | bella | Apache License 2.0 |
lib-encrypt/src/main/java/com/codearms/maoqiqi/encrypt/MD5Utils.kt | maoqiqi | 332,238,518 | false | {"Gradle": 12, "Java Properties": 9, "Shell": 1, "Markdown": 1, "Text": 1, "Ignore List": 9, "Batchfile": 1, "INI": 7, "Proguard": 8, "Kotlin": 85, "XML": 20, "Java": 4} | package com.codearms.maoqiqi.encrypt
import com.codearms.maoqiqi.encrypt.ByteArrayUtils.joins
import com.codearms.maoqiqi.encrypt.EncryptUtils.hashTemplate
import com.codearms.maoqiqi.utils.ConvertUtils.toHexString
import java.io.*
import java.nio.charset.Charset
import java.security.DigestInputStream
import java.secu... | 1 | null | 1 | 1 | c16b01503bf9a4bc854718a3ee9f31d2024886e6 | 2,708 | AndroidLibraries | Apache License 2.0 |
testutils/src/main/kotlin/com.mparticle/Utils.kt | mParticle | 42,615,957 | false | null | package com.mparticle
import com.mparticle.commerce.Product
import com.mparticle.commerce.Promotion
import java.lang.reflect.Modifier
import kotlin.random.Random
object Utils {
fun randomPromotionAction(): String {
return randomConstString(Promotion::class.java)
}
fun randomConstString(clazz: Cl... | 26 | null | 62 | 58 | a47804c1c326c0a2115fa6bfbde6a362ac72e1ed | 1,766 | mparticle-android-sdk | Apache License 2.0 |
base/src/main/java/com/pichs/xbase/utils/VibrateUtils.kt | pichsy | 327,311,001 | false | {"Gradle": 6, "Java Properties": 3, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "INI": 2, "Proguard": 2, "XML": 14, "Kotlin": 77} | package com.pichs.xbase.utils
import android.app.Service
import android.content.Context
import android.os.Build
import android.os.Vibrator
import androidx.annotation.RequiresPermission
import android.os.VibrationEffect
/**
* 震动工具类
*/
object VibrateUtils {
private var vibrator: Vibrator? = null
@RequiresPe... | 1 | null | 1 | 1 | bb3af104685bbdfd03ce60e6b8bfecfadb859afd | 1,666 | xbase | Apache License 2.0 |
src/main/kotlin/org/mybatis/spring/MyBatisSystemException.kt | pboonphong | 83,983,131 | false | {"Java": 159287, "Kotlin": 106277, "Shell": 2722, "CSS": 1380} | /**
* Copyright 2010-2017 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
*
* Unle... | 1 | null | 1 | 1 | 6970bbdecd40761c77e6371854184527e109bddd | 1,368 | mybatis-spring-kotlin | Apache License 2.0 |
bbfgradle/tmp/results/diffABI/pcwctri_FILE.kt | DaniilStepanov | 346,008,310 | false | null | // Bug happens on JVM , JVM -Xuse-ir
// FILE: tmp0.kt
@file:JvmName("hrujl")
@file:JvmMultifileClass()
import kotlin.collections.*
import kotlin.sequences.*
import kotlin.test.*
import kotlin.annotation.*
import kotlin.jvm.*
import kotlin.experimental.*
@Deprecated("ylgdt", ReplaceWith("erkkp", "bppez"), kotlin.Depr... | 1 | null | 1 | 1 | e772ef1f8f951873ebe7d8f6d73cf19aead480fa | 2,811 | kotlinWithFuzzer | Apache License 2.0 |
app/src/main/java/me/zhaoweihao/hnuplus/ContactsFragment.kt | chensenjian | 113,181,300 | false | null | package me.zhaoweihao.hnuplus
import android.os.Bundle
import android.support.v4.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
/**
* Created by Administrator on 2017/11/9.
*/
/**
* There will be something here
* so I call it contacts first,not real con... | 0 | Kotlin | 1 | 1 | bbdb0322a92901a6f91bfc5de715896e0313fb28 | 824 | hnuplus | MIT License |
musicapi/src/main/java/com/cyl/musicapi/bean/ArtistsData.kt | nosalt99 | 193,013,931 | false | null | package com.cyl.musicapi.bean
import com.google.gson.annotations.SerializedName
data class ArtistsData(@SerializedName("data")
val data: Artists,
@SerializedName("status")
val status: Boolean = false,
@SerializedName("msg")
... | 0 | null | 1 | 2 | 85cfb48ac0071187affe5632f510aef21595b7fc | 2,005 | jinmi | Apache License 2.0 |
python/python-ast/src/com/jetbrains/python/ast/PyAstIfPartIf.kt | JetBrains | 2,489,216 | false | null | package com.jetbrains.python.ast
import org.jetbrains.annotations.ApiStatus
@ApiStatus.Experimental
interface PyAstIfPartIf : PyAstIfPart {
override fun isElif(): Boolean = false
} | 284 | null | 5162 | 16,707 | def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0 | 184 | intellij-community | Apache License 2.0 |
app/src/main/java/com/priyansh/brainrelief/activity/DiaryEntryActivity.kt | ashutosh-123-coder | 327,216,549 | false | null | package com.priyansh.brainrelief.activity
import android.annotation.SuppressLint
import android.content.Intent
import android.os.Build
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.view.View
import android.widget.*
import androidx.annotation.RequiresApi
import com.google.fireb... | 0 | null | 0 | 1 | af24676b4906c47b9b111f18829509effb10e039 | 2,303 | BrainRelief | MIT License |
core-kotlin/src/main/java/com/amplifyframework/kotlin/auth/KotlinAuthFacade.kt | aws-amplify | 177,009,933 | false | null | /*
* Copyright 2022 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" ... | 93 | null | 97 | 231 | 04178b18b2e130cb5baf54f8b3a8c098dfca3bbd | 11,387 | amplify-android | Apache License 2.0 |
modules/gcp-storage/src/test/kotlin/inttest/GcpBlobStorageIntegrationTests.kt | svvsaga | 411,986,217 | false | null | package inttest
import com.google.cloud.storage.StorageOptions
import io.kotest.assertions.arrow.core.shouldBeLeft
import io.kotest.assertions.arrow.core.shouldBeRight
import io.kotest.core.annotation.Tags
import io.kotest.core.spec.style.FunSpec
import io.kotest.matchers.shouldBe
import io.kotest.matchers.string.shou... | 1 | null | 1 | 2 | 9ccca6d506be8826794907172e6d9f572176e90e | 7,559 | gradle-modules-public | MIT License |
corbind-drawerlayout/src/main/kotlin/ru/ldralighieri/corbind/drawerlayout/DrawerLayoutDrawerOpen.kt | LDRAlighieri | 201,738,972 | false | null | /*
* Copyright 2019 <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... | 8 | null | 24 | 501 | 603a988f18f981c56a42d0712ab04bbfc7b50535 | 4,927 | Corbind | Apache License 2.0 |
uikit/src/main/java/com/sendbird/uikit/model/ChannelListUIParams.kt | sendbird | 350,188,329 | false | {"Java": 2425698, "Kotlin": 1378512} | package com.sendbird.uikit.model
import com.sendbird.uikit.model.configurations.UIKitConfig
/**
* This class is used to determine whether to display features in the channel list.
* @since 3.6.0
*/
data class ChannelListUIParams(
/**
* Sets whether to display typing indicator in the channel list.
* If... | 1 | Java | 43 | 39 | c2f6aa7f37fb1428a96f3d93cf05e736e3659351 | 835 | sendbird-uikit-android | MIT License |
app/src/main/java/org/jmrtd/FeatureStatus.kt | jllarraz | 151,435,529 | false | null | package org.jmrtd
import android.os.Parcel
import android.os.Parcelable
/**
* Security features of this identity document.
*
* @author The JMRTD team (<EMAIL>)
*
* @version $Revision: 1559 $
*/
class FeatureStatus : Parcelable {
private var hasSAC: Verdict? = null
private var hasBAC: Verdict? = null
... | 10 | Kotlin | 37 | 91 | 787d3d3206b4855163784ff4fc6d643bb3743830 | 3,360 | AndroidPassportReader | Apache License 2.0 |
madman-okhttp-extension/src/main/java/com/flipkart/madman/okhttp/extension/DefaultNetworkLayer.kt | flipkart-incubator | 235,603,923 | false | null | /*
* Copyright (C) 2020 Flipkart Internet Pvt Ltd
*
* 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 applicabl... | 8 | Kotlin | 8 | 66 | ded0a7a5d50bdf2b60e5a31a41943266bb677041 | 6,849 | madman-android | Apache License 2.0 |
compiler/tests-spec/testData/diagnostics/notLinked/annotations/type-annotations/neg/3.fir.kt | seanwallawalla-forks | 356,060,041 | false | {"Markdown": 108, "Gradle": 763, "Gradle Kotlin DSL": 668, "Java Properties": 23, "Shell": 50, "Ignore List": 20, "Batchfile": 26, "Git Attributes": 8, "Kotlin": 64485, "Protocol Buffer": 12, "Java": 6688, "Proguard": 12, "XML": 1688, "Text": 13351, "INI": 229, "JavaScript": 292, "JAR Manifest": 2, "Roff": 217, "Roff M... | // !DIAGNOSTICS: -UNUSED_PARAMETER
// TESTCASE NUMBER: 1, 2, 3
@Target(AnnotationTarget.TYPE)
annotation class Ann(val x: Int)
// TESTCASE NUMBER: 1
fun foo(i: Inv<@Ann(unresolved_reference) String>) {}
// TESTCASE NUMBER: 2
fun test(vararg a: @Ann(unresolved_reference) Any) {}
// TESTCASE NUMBER: 3
class A<T>(a: @... | 1 | null | 1 | 1 | ed88aa43a4c2990ca10ebcb608dcbe797919b856 | 349 | kotlin | Apache License 2.0 |
src/main/kotlin/kitowashere/boiled_witchcraft/client/render/atlas/GlyphAtlas.kt | AugustoMegener | 750,093,937 | false | {"Kotlin": 47328, "Java": 2932} | package kitowashere.boiled_witchcraft.client.render.atlas
import kitowashere.boiled_witchcraft.BoiledWitchcraft.ID
import kitowashere.boiled_witchcraft.client.render.sheet.ModSheets.glyphSheet
import kitowashere.boiled_witchcraft.common.registry.GlyphRegistry.Util.getGlyphLocation
import kitowashere.boiled_witchcraft.... | 0 | Kotlin | 0 | 2 | ec7f4c8b83b53f983d2a6c83fb2e290d8dddbdc8 | 1,215 | boiled_witchcraft | MIT License |
app/src/main/java/io/github/coffeegerm/brew_it/utilities/Constants.kt | huntj88 | 111,273,548 | true | {"Kotlin": 26895} | package io.github.coffeegerm.brew_it.utilities
/**
* Created by david_yarz on 11/2/17.
*
* Object file used to store any and all constants used throughout application
*/
object Constants {
val SHARED_PREFERENCES: String = "SHARED_PREFERENCES"
val DATABASE_CREATED: String = "DATABASE_CREATED"
val DRINK... | 0 | Kotlin | 0 | 0 | 4d92e4c24a938891823b7395195eca95e28b1750 | 403 | Brew-It | Apache License 2.0 |
app/src/main/java/com/acg/mangalive/di/MainActivityModule.kt | mangalive | 507,894,145 | false | {"Kotlin": 108313} | package com.acg.mangalive.di
import com.acg.mangalive.MainActivity
import com.acg.mangalive.catalog.di.CatalogModule
import com.acg.mangalive.catalog.ui.CatalogFragment
import com.acg.mangalive.myManga.di.MyMangaModule
import com.acg.mangalive.myManga.ui.MyMangaFragment
import com.acg.mangalive.news.ui.NewsFragment
im... | 0 | Kotlin | 0 | 2 | b7649723de9b735d9bbf4e02237fd5bd204ba674 | 1,164 | mangalive-android-old | Apache License 2.0 |
simple-icons/src/commonMain/kotlin/compose/icons/simpleicons/Hbo.kt | DevSrSouza | 311,134,756 | false | null | package compose.icons.simpleicons
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
impor... | 17 | null | 25 | 571 | a660e5f3033e3222e3553f5a6e888b7054aed8cd | 3,777 | compose-icons | MIT License |
build-logic/src/main/kotlin/cloudshift/awscdkdsl/build/dsl/model/CdkClass.kt | cloudshiftinc | 667,063,030 | false | {"Kotlin": 142794926} | package cloudshift.awscdkdsl.build.dsl.model
import com.squareup.kotlinpoet.ClassName
import com.squareup.kotlinpoet.TypeName
internal interface CdkClass {
val interfaces: List<ClassName>
val superClass: ClassName
val className: ClassName
val publicMemberFunctions: List<Method>
val publicStaticFun... | 1 | Kotlin | 0 | 4 | 02f9bf5c751dfc56ca19167782ef4ea418587326 | 1,730 | kotlin-cdk-wrapper | Apache License 2.0 |
kotlin/src/test/kotlin/com/github/ljtfreitas/julian/k/ExtensionsTest.kt | ljtfreitas | 388,238,992 | false | null | package com.github.ljtfreitas.julian.k
import com.github.ljtfreitas.julian.Attempt
import com.github.ljtfreitas.julian.JavaType
import com.github.ljtfreitas.julian.Promise
import io.kotest.assertions.throwables.shouldThrow
import io.kotest.core.spec.style.DescribeSpec
import io.kotest.matchers.result.shouldBeFailure
i... | 0 | null | 2 | 11 | c5d48d045c023fa98ce1cb4cf521c432bedc8d5d | 4,295 | julian-http-client | MIT License |
transpiler/java/com/google/j2cl/transpiler/frontend/kotlin/lower/MangleWellKnownShadowingFunctionsLowering.kt | google | 94,876,336 | false | {"Java": 10233528, "Kotlin": 941524, "Starlark": 486321, "JavaScript": 146726, "Python": 41242, "Shell": 9202, "Objective-C": 3905, "Swift": 2917} | /*
* Copyright 2022 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... | 31 | Java | 146 | 1,236 | e854eed9b6c1e424b3ef4a8a960fb492ea31d6c1 | 3,301 | j2cl | Apache License 2.0 |
app/src/main/java/com/vanzoconsulting/tictactoe/dispatcher/DefaultDispatcherProvider.kt | 2020-DEV-065 | 263,468,049 | false | null | package com.vanzoconsulting.tictactoe.dispatcher
import kotlinx.coroutines.Dispatchers.IO
import kotlinx.coroutines.Dispatchers.Main
import javax.inject.Singleton
@Singleton
class DefaultDispatcherProvider: DispatcherProvider {
override fun main() = Main
override fun io() = IO
} | 0 | Kotlin | 0 | 0 | 7e534eec75fc7e420f8992d62e022b3554afdbfd | 290 | TicTacToe | Apache License 2.0 |
aoc2018/aoc2018-kotlin/src/main/kotlin/de/havox_design/aoc2018/day18/Content.kt | Gentleman1983 | 737,309,232 | false | {"Kotlin": 1066977, "Java": 686584, "Scala": 57186, "Groovy": 40981, "Python": 25970} | package de.havox_design.aoc2018.day18
enum class Content(val output: Char) {
OPEN('.'),
TREES('|'),
LUMBERYARD('#');
companion object {
fun parse(value: Char) =
entries
.find { it.output == value }
?: throw IllegalArgumentException("Unknown content.")
... | 4 | Kotlin | 0 | 1 | 73ec80b91d4ea84f6337064f0dfc8610e8df3e6a | 326 | advent-of-code | Apache License 2.0 |
features/text-post/src/main/java/com/harera/text_post/PostingState.kt | hassan0shaban | 289,748,566 | false | null | package com.harera.text_post
import com.harera.base.state.BaseState
sealed class PostingState : BaseState() {
object Idle : PostingState()
object Loading : PostingState()
data class Error(val message: String?) : PostingState()
data class PostingCompleted(val postId: Int) : PostingState()
} | 0 | Kotlin | 0 | 0 | 94b13cdec71a77bb0e2167e2027e66bdf99ba09d | 308 | Insta | Apache License 2.0 |
features/musicdetails/src/main/java/com/robsonteixeira/musicsearch/features/musicdetails/data/repository/DetailsRepositoryImpl.kt | robsonpteixeira | 798,499,528 | false | {"Kotlin": 64099} | package com.robsonteixeira.musicsearch.features.musicdetails.data.repository
import com.robsonteixeira.musicsearch.core.network.extensions.handleResponseAsResult
import com.robsonteixeira.musicsearch.features.musicdetails.data.api.DetailsApi
import com.robsonteixeira.musicsearch.features.musicdetails.data.repository.m... | 0 | Kotlin | 0 | 0 | a77514185260c6770b436b49a6c3dea089f467b6 | 935 | rt-music-search | MIT License |
app/src/main/java/com/siliconstack/framework/cleanarch/domain/UseCase.kt | sushantinfo4u | 304,494,423 | false | null | package com.siliconstack.framework.cleanarch.domain
import com.siliconstack.framework.cleanarch.data.model.User
import com.siliconstack.framework.cleanarch.data.repository.RemoteRepository
import io.reactivex.Single
class UseCase(private val mainRepository: RemoteRepository) {
fun getDataFromServer() : Single<Li... | 0 | Kotlin | 0 | 0 | eec510f3de4ec29303efdf8c167672418610c099 | 380 | FinalRxAssignment | Apache License 2.0 |
sample/src/desktopMain/kotlin/com/github/panpf/zoomimage/sample/ui/gallery/LocalPhotoListPage.desktop.kt | panpf | 647,222,866 | false | {"Kotlin": 4055517, "Shell": 3739} | package com.github.panpf.zoomimage.sample.ui.gallery
actual fun localPhotoListPermission(): Any? = null | 8 | Kotlin | 16 | 303 | 8627b3429ce148cccbaee751cc6793a63cb48b69 | 104 | zoomimage | Apache License 2.0 |
app/src/main/java/com/zikrcode/zikrhelp/ui/theme/Color.kt | zikrcode | 752,653,263 | false | {"Kotlin": 81563} | /*
* Copyright 2024 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... | 0 | Kotlin | 0 | 0 | e3fff35f52fc510639b0be608f6bb59a43806d79 | 3,793 | ZikrHelp | Apache License 2.0 |
kotlinx-coroutines-core/common/test/flow/operators/OnStartTest.kt | Kotlin | 61,722,736 | false | null | package kotlinx.coroutines.flow
import kotlinx.coroutines.testing.*
import kotlinx.coroutines.*
import kotlin.test.*
class OnStartTest : TestBase() {
@Test
fun testEmitExample() = runTest {
val flow = flowOf("a", "b", "c")
.onStart { emit("Begin") }
assertEquals(listOf("Begin", "a"... | 295 | null | 1850 | 13,033 | 6c6df2b850382887462eeaf51f21f58bd982491d | 832 | kotlinx.coroutines | Apache License 2.0 |
src/test/kotlin/org/knowledge4retail/portalbackend/interfaces/K4RComponentControllerTest.kt | knowledge4retail | 577,469,739 | false | {"Kotlin": 29619, "Dockerfile": 537} | package org.knowledge4retail.portalbackend.interfaces
import com.fasterxml.jackson.core.JsonProcessingException
import com.fasterxml.jackson.module.kotlin.jacksonObjectMapper
import okhttp3.internal.toImmutableList
import org.junit.jupiter.api.Test
import org.knowledge4retail.portalbackend.domain.K4RComponent
import o... | 0 | Kotlin | 0 | 0 | 6196906066dc01873d9d502ecc5a831cae094d97 | 2,928 | k4r-portal-backend | MIT License |
kt/godot-library/src/main/kotlin/godot/gen/godot/VisualShaderNodeTexture2DArrayParameter.kt | utopia-rise | 289,462,532 | false | {"Kotlin": 1482791, "GDScript": 533983, "C++": 491643, "C": 12468, "C#": 10278, "Shell": 7406, "Java": 2153, "CMake": 939, "Python": 75} | // THIS FILE IS GENERATED! DO NOT EDIT IT MANUALLY!
@file:Suppress("PackageDirectoryMismatch", "unused", "FunctionName", "RedundantModalityModifier",
"UNCHECKED_CAST", "JoinDeclarationAndAssignment", "USELESS_CAST",
"RemoveRedundantQualifierName", "NOTHING_TO_INLINE", "NON_FINAL_MEMBER_IN_OBJECT",
"Redundan... | 63 | Kotlin | 39 | 571 | 39dc30230a30d2a6ab4ec3277eb3bc270995ab23 | 1,119 | godot-kotlin-jvm | MIT License |
movie-recommendation/flutter/android/app/src/main/kotlin/com/supabase/filmsearch/MainActivity.kt | dshukertjr | 740,394,618 | false | {"Dart": 61754, "HTML": 5525, "TypeScript": 3156, "Ruby": 2828, "PLpgSQL": 1786, "Swift": 1378, "Kotlin": 247, "Objective-C": 76} | package com.supabase.filmsearch
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| 0 | Dart | 3 | 16 | c0ffe3e1f0849a45e0dcfedd05194059d37a683b | 128 | examples | MIT License |
krichtexteditor/src/main/java/com/ebolo/krichtexteditor/fragments/KRichEditorFragment.kt | akhil-m-g | 251,311,690 | false | {"Gradle": 6, "YAML": 2, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Git Attributes": 1, "Markdown": 1, "Proguard": 2, "Kotlin": 17, "XML": 34, "Java": 3, "JavaScript": 5, "HTML": 1, "CSS": 3} | package com.ebolo.krichtexteditor.fragments
import android.os.Bundle
import android.support.v4.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import com.ebolo.krichtexteditor.R
import com.ebolo.krichtexteditor.RichEditor
import com.ebolo.krichtexteditor.ui.layout... | 1 | null | 1 | 1 | 4e0a75c2cd83e92cc280aad412e4607ade5daaf7 | 3,834 | KRichEditor | MIT License |
testing/core-test-utils/src/test/kotlin/net/corda/coretesting/internal/RigorousMockTest.kt | corda | 70,137,417 | false | {"Kotlin": 10675960, "Java": 275115, "C++": 239894, "Python": 37811, "Shell": 28324, "CSS": 23544, "Groovy": 14725, "CMake": 5393, "Dockerfile": 2574, "Batchfile": 1777, "PowerShell": 660, "C": 454} | package net.corda.coretesting.internal
import org.assertj.core.api.Assertions.catchThrowable
import org.hamcrest.Matchers.isA
import org.junit.Assert.assertThat
import org.junit.Test
import java.io.Closeable
import java.io.InputStream
import java.io.Serializable
import java.util.stream.Stream
import kotlin.test.*
pri... | 62 | Kotlin | 1088 | 3,989 | d27aa0e6850d3804d0982024054376d452e7073a | 5,119 | corda | Apache License 2.0 |
iterate/src/main/java/com/iteratehq/iterate/model/TrackingContext.kt | iteratehq | 377,306,613 | false | {"Kotlin": 91397, "Shell": 303} | package com.iteratehq.iterate.model
import androidx.annotation.Keep
import com.google.gson.annotations.SerializedName
@Keep
data class TrackingContext(
@SerializedName("last_updated")
val lastUpdated: Long?
)
| 7 | Kotlin | 1 | 3 | 040cbc2facc440a7b2b664b7f8ee4ba2a02e3093 | 219 | iterate-android | MIT License |
app/src/main/java/donank/amoveowallet/Fragments/DashboardBottomSheet.kt | donank | 132,558,435 | false | null | package donank.amoveowallet.Fragments
import android.os.Bundle
import android.view.ViewGroup
import android.view.LayoutInflater
import android.support.design.widget.BottomSheetDialogFragment
import android.support.v4.app.Fragment
import android.view.View
import donank.amoveowallet.Utility.showFragment
import donank.am... | 1 | Kotlin | 3 | 5 | 462cae593c48e08287dce34819dd6de0aa060e1c | 2,096 | amoveo-android-wallet | MIT License |
instrumented/nightly-tests/src/main/kotlin/com/datadog/android/nightly/activities/ResourceTrackingCustomSpanAttributesActivity.kt | DataDog | 219,536,756 | false | {"Kotlin": 8002794, "Java": 236752, "C": 79303, "Shell": 63055, "C++": 32759, "Python": 18744, "CMake": 2676} | /*
* Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0.
* This product includes software developed at Datadog (https://www.datadoghq.com/).
* Copyright 2016-Present Datadog, Inc.
*/
package com.datadog.android.nightly.activities
import com.datadog.an... | 46 | Kotlin | 54 | 137 | ebf75428fbeae6b15b76f8dec5ef1438b0ec2ba9 | 1,922 | dd-sdk-android | Apache License 2.0 |
features/home/src/main/java/com/github/dhaval2404/callrecorder/home/screen/inbox/InboxItemViewHolder.kt | Dhaval2404 | 236,434,194 | false | null | package com.github.dhaval2404.callrecorder.home.screen.inbox
import androidx.recyclerview.widget.RecyclerView
import com.github.dhaval2404.callrecorder.callrecord.data.model.Recording
import com.github.dhaval2404.callrecorder.home.R
import com.github.dhaval2404.callrecorder.home.databinding.AdapterInboxBinding
class ... | 0 | Kotlin | 1 | 3 | 825684009e4f257a745967410a4860c4a427c04a | 1,235 | CallRecorder | Apache License 2.0 |
android/app/src/main/kotlin/io/rebble/cobble/providers/PebbleKitProvider.kt | matejdro | 296,793,154 | true | {"Dart": 403135, "Kotlin": 240993, "Java": 136337, "Swift": 404, "Objective-C": 38, "Shell": 29} | package io.rebble.cobble.providers
import android.content.ContentProvider
import android.content.ContentValues
import android.database.Cursor
import android.database.MatrixCursor
import android.net.Uri
import com.getpebble.android.kit.Constants
import io.rebble.cobble.CobbleApplication
import io.rebble.cobble.bluetoot... | 0 | Dart | 0 | 1 | b786643af07763db563bc1e8df7a1f63dbd72e3f | 4,090 | rebble-mobile-app | Apache License 2.0 |
core/src/main/kotlin/net/asch/bulkit/common/data/delegate/DefaultedAttachmentDelegate.kt | FlorentTomi | 819,781,489 | false | {"Kotlin": 119025, "Java": 18862} | package net.asch.bulkit.common.data.delegate
import net.neoforged.neoforge.attachment.AttachmentHolder
import net.neoforged.neoforge.attachment.AttachmentType
import net.neoforged.neoforge.registries.DeferredHolder
import kotlin.properties.ReadWriteProperty
import kotlin.reflect.KProperty
class DefaultedAttachmentDel... | 0 | Kotlin | 1 | 0 | cb0315b551a22cfdddbc78dc1e634e7dda60a755 | 1,018 | bulkit | Creative Commons Zero v1.0 Universal |
defitrack-rest/defitrack-price/src/main/java/io/defitrack/price/decentrifi/DecentriUniswapV2UnderlyingPriceRepository.kt | decentri-fi | 426,174,152 | false | null | package io.defitrack.price.decentrifi
import io.defitrack.common.utils.BigDecimalExtensions.dividePrecisely
import io.defitrack.common.utils.FormatUtilsExtensions.asEth
import io.defitrack.market.pooling.vo.PoolingMarketTokenShareVO
import io.defitrack.market.pooling.vo.PoolingMarketVO
import io.defitrack.network.Netw... | 58 | null | 7 | 9 | e65843453e4c44f5c2626870ceb923eb7ab3c4d0 | 3,701 | defi-hub | MIT License |
app/src/main/java/app/devlife/connect2sql/viewmodel/SavedQueriesViewModel.kt | devlife-apps | 148,668,095 | false | null | package app.devlife.connect2sql.viewmodel
import android.app.Application
import android.arch.lifecycle.LiveData
import android.arch.lifecycle.MutableLiveData
import android.arch.lifecycle.ViewModel
import android.database.ContentObserver
import android.net.Uri
import android.os.Handler
import android.os.Looper
import ... | 0 | null | 1 | 3 | ab697a1f7899919fda66c1e3b08e1a8e6831c341 | 2,439 | connect2sql | Apache License 2.0 |
app/src/main/java/com/fsyy/listener/ui/settings/ProfileActivity.kt | happyfsyy | 292,861,842 | false | null | /*
* 项目名:Listener
* 作者:@happy_fsyy
* 联系我:https://github.com/happyfsyy
* Copyright (c) 2020. Lorem ipsum dolor sit amet, consectetur adipiscing elit.
* Morbi non lorem porttitor neque feugiat blandit. Ut vitae ipsum eget quam lacinia accumsan.
* Etiam sed turpis ac ipsum condimentum fringilla. Maecenas magna.
* P... | 0 | Kotlin | 0 | 0 | a954386b0202d17f2942bfb894f9ad37eba87d7f | 12,986 | Listener | MIT License |
data/src/main/java/com/klodian/kambo/UserRepositoryImpl.kt | KlodianKambo | 640,476,888 | false | null | package com.klodian.kambo
import com.klodian.kambo.domain.repositories.UserRepository
import com.klodian.kambo.enterprise.entities.PublicUser
import com.klodian.kambo.enterprise.entities.UserGender
import javax.inject.Inject
class UserRepositoryImpl @Inject constructor(): UserRepository {
override suspend fun get... | 0 | Kotlin | 0 | 0 | 5f1ba22994c8989e1866b6e686a0df6f70a544f3 | 447 | TrainingTelemetry | MIT License |
detekt-rules-style/src/main/kotlin/io/gitlab/arturbosch/detekt/rules/style/ExplicitCollectionElementAccessMethod.kt | anthonycr | 383,509,485 | true | {"Kotlin": 2589218, "HTML": 4173, "Groovy": 2423, "Shell": 358, "CSS": 27} | package io.gitlab.arturbosch.detekt.rules.style
import io.gitlab.arturbosch.detekt.api.CodeSmell
import io.gitlab.arturbosch.detekt.api.Config
import io.gitlab.arturbosch.detekt.api.Debt
import io.gitlab.arturbosch.detekt.api.Entity
import io.gitlab.arturbosch.detekt.api.Issue
import io.gitlab.arturbosch.detekt.api.Ru... | 0 | null | 0 | 1 | 5048b8bf0bb6a64de80f3d0b5aa25f694d71167d | 3,135 | detekt | Apache License 2.0 |
vitrivr-engine-core/src/main/kotlin/org/vitrivr/engine/core/model/color/RGBByteColorContainer.kt | vitrivr | 679,355,326 | false | {"Kotlin": 608109} | package org.vitrivr.engine.core.model.color
data class RGBByteColorContainer(val red: UByte, val green: UByte, val blue: UByte) {
companion object {
fun fromRGB(rgb: Int): RGBByteColorContainer =
RGBByteColorContainer(
(rgb shr 16 and 0xFF).toUByte(),
(rgb shr 8... | 35 | Kotlin | 1 | 4 | 1af88808f815237018eec48ede0f9c36d22b6145 | 710 | vitrivr-engine | MIT License |
app/src/main/java/app/pokedex/common/data/remote/dto/Form.kt | tRexBruce | 454,233,245 | false | null | package app.pokedex.common.data.remote.dto
data class Form(
val name: String,
val url: String
) | 0 | Kotlin | 0 | 0 | 8be5f8681a89ab7b21852b86082944e1fddb31f3 | 104 | Pokedex-App | The Unlicense |
app/src/main/java/com/example/composeweatherapp/di/RepositoryModule.kt | contactkaran | 641,525,468 | false | null | package com.example.composeweatherapp.di
import com.example.composeweatherapp.data.location.DefaultLocationTracker
import com.example.composeweatherapp.data.repository.WeatherRepositoryImpl
import com.example.composeweatherapp.domain.location.LocationTracker
import com.example.composeweatherapp.domain.repository.Weath... | 0 | Kotlin | 0 | 1 | 1c0ec977239295ab5e55a9a5005a110995939170 | 709 | ComposeWeatherApp | MIT License |
src/main/kotlin/com/github/pgutkowski/kgraphql/schema/structure2/Field.kt | kimar | 109,593,736 | true | {"Kotlin": 317449} | package com.github.pgutkowski.kgraphql.schema.structure2
import com.github.pgutkowski.kgraphql.schema.introspection.NotIntrospected
import com.github.pgutkowski.kgraphql.schema.introspection.__Field
import com.github.pgutkowski.kgraphql.schema.introspection.__InputValue
import com.github.pgutkowski.kgraphql.schema.int... | 0 | Kotlin | 0 | 0 | db3177c3a2dcc850047979ae1524a47b5b574360 | 2,418 | KGraphQL | MIT License |
kotlin-mui-icons/src/main/generated/mui/icons/material/SettingsInputComponentSharp.kt | JetBrains | 93,250,841 | false | null | // Automatically generated - do not modify!
@file:JsModule("@mui/icons-material/SettingsInputComponentSharp")
package mui.icons.material
@JsName("default")
external val SettingsInputComponentSharp: SvgIconComponent
| 12 | Kotlin | 5 | 983 | a99345a0160a80a7a90bf1adfbfdc83a31a18dd6 | 218 | kotlin-wrappers | Apache License 2.0 |
aws-sdk-android-iot-ktx/src/test/kotlin/io/github/crow_misia/aws/iot/publisher/ChannelMqttMessageQueueTest.kt | crow-misia | 429,544,850 | false | {"Kotlin": 168068} | package io.github.crow_misia.aws.iot.publisher
import aws.smithy.kotlin.runtime.time.Clock
import aws.smithy.kotlin.runtime.time.Instant
import com.amazonaws.mobileconnectors.iot.AWSIotMqttManager
import io.github.crow_misia.aws.iot.AWSIoTMqttDeliveryException
import io.github.crow_misia.aws.iot.publish
import io.kote... | 0 | Kotlin | 0 | 0 | f75232f9a19ddd2523b51a3a57cdca644caf01cc | 10,461 | aws-sdk-android-ktx | Apache License 2.0 |
android/app/src/main/kotlin/com/octacoresoftwares/magic_express_delivery/MainActivity.kt | Octacore19 | 377,064,956 | false | {"Dart": 53022, "Swift": 404, "Kotlin": 149, "Objective-C": 38} | package com.octacoresoftwares.magic_express_delivery
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| 0 | Dart | 0 | 0 | 110728c0ca9a336f1cace66974f3e6b58154c115 | 149 | magic_express_delivery | MIT License |
oneloginoidc/src/main/java/com/onelogin/oidc/logout/SignOutManager.kt | onelogin | 241,972,325 | false | null | package com.onelogin.oidc.logout
import android.app.Activity
import com.onelogin.oidc.Callback
interface SignOutManager {
suspend fun signOut(
idToken: String,
activity: Activity,
signOutCallback: Callback<SignOutSuccess, SignOutError>
)
}
| 5 | Kotlin | 5 | 6 | 7e3850ea75b1ce3dccecf8ba0fbc5b003ac37401 | 274 | onelogin-oidc-android | MIT License |
shared/feature/geminio-sdk/src/main/kotlin/ru/hh/plugins/geminio/sdk/recipe/parsers/widgets/WidgetsBooleanParameterParser.kt | hhru | 159,637,875 | false | null | package ru.hh.plugins.geminio.sdk.recipe.parsers.widgets
import ru.hh.plugins.geminio.sdk.recipe.models.widgets.RecipeParameter
import ru.hh.plugins.geminio.sdk.recipe.parsers.ParsersErrorsFactory.sectionRequiredParameterErrorMessage
import ru.hh.plugins.geminio.sdk.recipe.parsers.expressions.toRecipeExpression
import... | 17 | null | 18 | 97 | 2d6c02fc814eff3934c17de77ef7ade91d3116f5 | 2,122 | android-multimodule-plugin | MIT License |
arrangement/src/main/java/com/fang/arrangement/ui/shared/ext/ModifierExt.kt | 7ANG2C | 794,384,998 | false | {"Kotlin": 425333} | package com.fang.arrangement.ui.shared.ext
import androidx.compose.foundation.Indication
import androidx.compose.foundation.interaction.MutableInteractionSource
import androidx.compose.material3.ripple
import androidx.compose.ui.Modifier
import androidx.compose.ui.composed
import androidx.compose.ui.semantics.Role
imp... | 0 | Kotlin | 0 | 0 | d820ad78b7eea6142da8f94c68af7b16cc0e583c | 1,105 | FANG | Apache License 2.0 |
app/src/test/java/com/botigocontigo/alfred/google/GoogleSearchResultTest.kt | UTN-FRBA-Mobile | 146,629,720 | false | null | package com.botigocontigo.alfred.google
import org.json.simple.JSONObject
import org.json.simple.parser.JSONParser
import org.junit.Assert
import org.junit.Test
import org.junit.runner.RunWith
import org.mockito.runners.MockitoJUnitRunner
@RunWith(MockitoJUnitRunner::class)
class GoogleSearchResultTest {
private... | 0 | Kotlin | 4 | 1 | 558eb3967b3026bf66ae12d25b98c8055b3a9949 | 1,551 | Alfred | MIT License |
백준/달팽이.kt | jisungbin | 382,889,087 | false | null | import java.io.BufferedReader
import java.io.BufferedWriter
import java.io.InputStreamReader
import java.io.OutputStreamWriter
private const val DefaultMapValue = -1
fun main() {
val br = BufferedReader(InputStreamReader(System.`in`))
val bw = BufferedWriter(OutputStreamWriter(System.out))
val N = br.rea... | 0 | Kotlin | 1 | 9 | ee43375828ca7e748e7c79fbed63a3b4d27a7a2c | 2,575 | algorithm-code | MIT License |
app/src/main/java/com/google/firebase/udacity/friendlychat/MainActivity.kt | suju7 | 344,544,966 | false | null | package com.google.firebase.udacity.friendlychat
import android.content.Intent
import android.database.DataSetObserver
import android.net.Uri
import android.os.Bundle
import android.text.Editable
import android.text.InputFilter
import android.text.InputFilter.LengthFilter
import android.text.TextWatcher
import android... | 0 | Kotlin | 0 | 0 | b9c067033ae5b15941370ebd721ddaa840557455 | 10,880 | chatbox-using-firebase | Apache License 2.0 |
src/main/kotlin/fr/chsfleury/cryptomoon/infrastructure/wallet/WalletInputMap.kt | chsfleury | 454,322,300 | false | null | package fr.chsfleury.cryptomoon.infrastructure.wallet
class WalletInputMap: HashMap<String, WalletInput>() | 0 | Kotlin | 1 | 0 | 40673008d2f9addda353f1225067ee9e433c0a34 | 107 | cryptomoon | Apache License 2.0 |
app/src/main/java/org/stepik/android/exams/data/model/RegistrationUser.kt | StepicOrg | 139,451,308 | false | {"Kotlin": 376562, "Java": 110132, "CSS": 3790, "Prolog": 98} | package org.stepik.android.exams.data.model
data class RegistrationUser(val first_name: String, val last_name: String, val email: String, val password: String) | 1 | Kotlin | 1 | 1 | f2ed2cff758f5531f84e39ab939a8f7ee4146a41 | 160 | stepik-android-exams | Apache License 2.0 |
imgui-core/src/main/kotlin/imgui/internal/classes/misc.kt | Wicpar | 232,814,537 | true | {"Kotlin": 1778437, "Java": 136969} | package imgui.internal.classes
import glm_.f
import glm_.glm
import glm_.i
import glm_.max
import glm_.vec2.Vec2
import glm_.vec4.Vec4
import imgui.*
import imgui.api.g
import imgui.classes.*
import imgui.font.Font
import imgui.internal.*
import imgui.internal.ColumnsFlags
import kotlin.math.cos
import kotlin.math.sin... | 0 | null | 0 | 0 | b06800f8db31a2da5aec3730e0d1e395583e5b35 | 12,310 | imgui | MIT License |
Android-Movie/app/src/main/java/com/app/movie/base/BaseActivity.kt | Alan-Ou | 345,287,879 | false | {"Text": 2, "Markdown": 1, "Python": 10, "HTML": 8, "SVG": 8, "CSS": 13, "SCSS": 1, "JavaScript": 17, "INI": 1, "Mako": 1, "XML": 50, "Ignore List": 4, "Gradle": 3, "Java Properties": 2, "Shell": 1, "Batchfile": 1, "Proguard": 1, "JSON": 1, "Kotlin": 37, "Java": 3} | package com.app.movie.base
import android.os.Bundle
import android.os.PersistableBundle
import android.widget.Toast
import androidx.appcompat.app.AppCompatActivity
import com.app.movie.bean.UserInfoBean
import com.app.movie.utils.SPUtils
/**
* author : yi.huangxing
* date : 2021/3/12/0012 18:25
* desc ... | 1 | null | 1 | 1 | 1a914f1c68b076e2304844a641f49fabd8f285f9 | 948 | Java-based-movie-ticket-booking-system | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.