path stringlengths 4 280 | owner stringlengths 2 39 | repo_id int64 21.1k 879M | is_fork bool 2
classes | languages_distribution stringlengths 13 1.95k ⌀ | content stringlengths 7 482k | issues int64 0 13.9k | main_language stringclasses 121
values | forks stringlengths 1 5 | stars int64 0 111k | commit_sha stringlengths 40 40 | size int64 7 482k | name stringlengths 1 100 | license stringclasses 93
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
app/src/main/java/volovyk/guerrillamail/data/emails/remote/mailtm/entity/Message.kt | oleksandrvolovyk | 611,731,548 | false | {"Kotlin": 158288, "Java": 767} | package volovyk.guerrillamail.data.emails.remote.mailtm.entity
import volovyk.guerrillamail.data.emails.model.Email
import volovyk.guerrillamail.util.Base64Encoder
import java.util.Date
data class Message(
val id: String,
val from: From,
val text: String?,
val html: List<String>?,
val subject: Str... | 0 | Kotlin | 0 | 1 | 0e204bb437a6cfd837cd0bb911a29f0fc43164ce | 741 | guerrilla-mail-android-client | MIT License |
src/main/kotlin/ee/ut/lahendus/intellij/LahendusProjectActionNotifier.kt | alexisalliksaar | 777,245,963 | false | {"Kotlin": 88105, "HTML": 2311} | package ee.ut.lahendus.intellij
import com.intellij.util.messages.Topic
import ee.ut.lahendus.intellij.data.CourseExercise
import ee.ut.lahendus.intellij.data.DetailedExercise
import ee.ut.lahendus.intellij.data.Submission
interface LahendusProjectActionNotifier {
fun courseExercises(courseExercises: List<Course... | 0 | Kotlin | 0 | 0 | 6e3a722d26e4207ada806dd2283a3a628998e455 | 957 | lahendus-intellij-plugin | MIT License |
app/src/main/java/com/se7en/jetmessenger/viewmodels/StoryViewModel.kt | ashar-7 | 297,098,336 | false | null | package com.se7en.jetmessenger.viewmodels
import androidx.compose.runtime.mutableStateMapOf
import androidx.lifecycle.ViewModel
import com.se7en.jetmessenger.data.models.Story
import com.se7en.jetmessenger.data.models.StoryStatus
import com.se7en.jetmessenger.data.models.User
import kotlin.random.Random
class StoryVi... | 1 | Kotlin | 14 | 93 | e5a973f67034be4b9610dc88abc70992d833f750 | 1,415 | JetMessenger | Apache License 2.0 |
src/main/kotlin/com/github/goldsubmarine/restfulhelper/contributor/KotlinRequestMappingContributor.kt | GoldSubmarine | 394,201,620 | false | null | package com.viartemev.requestmapper.contributor
import com.intellij.openapi.project.Project
import com.intellij.psi.PsiAnnotation
import com.intellij.psi.search.GlobalSearchScope.projectScope
import org.jetbrains.kotlin.asJava.toLightAnnotation
import org.jetbrains.kotlin.idea.stubindex.KotlinAnnotationsIndex
class K... | 9 | null | 6 | 9 | 9d187542a38548a353625ea06201075d001ef8b9 | 714 | RestfulHelper | MIT License |
app/src/main/java/com/kcteam/features/login/api/global_config/ConfigFetchApi.kt | DebashisINT | 558,234,039 | false | null | package com.breezefieldsaleszazuteam.features.login.api.global_config
import com.breezefieldsaleszazuteam.app.NetworkConstant
import com.breezefieldsaleszazuteam.features.login.model.globalconfig.ConfigFetchResponseModel
import io.reactivex.Observable
import retrofit2.Retrofit
import retrofit2.adapter.rxjava2.RxJava2C... | 0 | null | 1 | 1 | e6114824d91cba2e70623631db7cbd9b4d9690ed | 1,152 | NationalPlastic | Apache License 2.0 |
app/src/main/java/io/horizontalsystems/bankwallet/core/adapters/BitcoinBaseAdapter.kt | horizontalsystems | 142,825,178 | false | null | package io.deus.wallet.core.adapters
import io.deus.wallet.core.AdapterState
import io.deus.wallet.core.AppLogger
import io.deus.wallet.core.BalanceData
import io.deus.wallet.core.IAdapter
import io.deus.wallet.core.IBalanceAdapter
import io.deus.wallet.core.IReceiveAdapter
import io.deus.wallet.core.ITransactionsAdap... | 191 | null | 363 | 879 | 27b9d133fb4afdf266f961585fe2ac27e51ec915 | 19,007 | unstoppable-wallet-android | MIT License |
library/src/main/java/just4fun/modularity/android/AndroidContainer.kt | just-4-fun | 105,467,191 | false | null | package just4fun.modularity.android
import android.app.Activity
import android.app.Application
import android.app.Notification
import android.app.Service
import android.content.Intent
import android.util.Log
import just4fun.kotlinkit.*
import just4fun.modularity.android.ActivityState.DESTROYED
import just4fun.modulari... | 0 | Kotlin | 0 | 1 | 97db4f732238098065ad71b7141f6bfa7a680bd0 | 5,786 | modularity | Apache License 2.0 |
app/src/main/java/things/dev/MainActivityViewModel.kt | MasonFlint44 | 366,555,725 | false | null | package things.dev
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import things.dev.wifi.WifiScanResult
enum class FabAlignmentMode { CENTER, END, }
class MainActivityViewModel : ViewModel() {
val pageIndex: MutableLiveData<Int> by lazy {
MutableLiveData<Int>(0)
}
v... | 0 | Kotlin | 0 | 0 | ec79726ae0491aaba24b65f96f71665a4cbac36f | 774 | makethings-io-companion-app | Apache License 2.0 |
test_runner/src/main/kotlin/ftl/client/junit/CreateJUnitTestCase.kt | Flank | 84,221,974 | false | null | package ftl.reports.api
import com.google.api.services.testing.model.ToolResultsStep
import com.google.api.services.toolresults.model.StackTrace
import com.google.api.services.toolresults.model.TestCase
import ftl.reports.xml.model.JUnitTestCase
internal fun createJUnitTestCases(
testCases: List<TestCase>,
to... | 64 | null | 119 | 676 | b40904b4e74a670cf72ee53dc666fc3a801e7a95 | 1,867 | flank | Apache License 2.0 |
library/src/main/java/ru/yoomoney/sdk/kassa/payments/tokenize/TokenizeUseCaseImpl.kt | yoomoney | 140,608,545 | false | null | /*
* The MIT License (MIT)
* Copyright © 2021 NBCO YooMoney LLC
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the “Software”), to deal in the Software without restriction, including
* without limitation the rights to use, co... | 9 | null | 21 | 35 | 421619230cce92280641ea943c5ecb00f3dd8827 | 5,323 | yookassa-android-sdk | MIT License |
core/src/main/java/com/jonnyhsia/appcore/ui/CommonDiffCallback.kt | jonnyhsia | 180,696,112 | false | null | package com.jonnyhsia.appcore.ui
import androidx.recyclerview.widget.DiffUtil
open class CommonDiffCallback(
protected var old: List<*>? = null,
protected var new: List<*>? = null
) : DiffUtil.Callback() {
override fun getOldListSize() = old?.size ?: 0
override fun getNewListSize() = new?.si... | 1 | Kotlin | 1 | 2 | c161f153bb9065274aaf03bff7c688fbdd4d7f96 | 1,010 | Memories | MIT License |
plugins/analyzers/chronolens-decapsulations/src/main/kotlin/org/chronolens/decapsulations/AbstractDecapsulationAnalyzer.kt | andreihh | 83,168,079 | false | {"Kotlin": 478074, "Java": 3908} | /*
* Copyright 2018-2023 Andrei Heidelbacher <andrei.heidelbacher@gmail.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
*
* Un... | 0 | Kotlin | 1 | 6 | 8855da7749ef52596ccef39344f59d66b9512399 | 2,299 | chronolens | Apache License 2.0 |
src/main/kotlin/com/stilllynnthecloset/kotlr/json/response/user/UserFollowingWrapperJsonAdapter.kt | StillLynnTheCloset | 257,834,160 | true | {"Kotlin": 510488} | package com.stilllynnthecloset.kotlr.json.response.blog
import com.squareup.moshi.FromJson
import com.squareup.moshi.JsonAdapter
import com.squareup.moshi.JsonDataException
import com.squareup.moshi.JsonReader
import com.squareup.moshi.JsonReader.Token.BEGIN_ARRAY
import com.squareup.moshi.JsonReader.Token.BEGIN_OBJEC... | 4 | Kotlin | 3 | 0 | bd6c60c6da4bbe270aa1a0f4ce8bdbc2a993ba05 | 2,230 | kotlr | MIT License |
src/main/kotlin/io/battlesnake/core/SnakeContext.kt | pambrose | 174,429,917 | false | {"Gradle": 2, "INI": 2, "Markdown": 2, "YAML": 2, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "Git Attributes": 1, "Makefile": 1, "JSON": 1, "Java": 2, "XML": 1, "Kotlin": 13, "HTTP": 1} | /*
* Copyright © 2021 <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 a... | 0 | Kotlin | 2 | 3 | bdeecd4e0c733a5498ec8a60a70d71beacdf402d | 1,514 | battlesnake-quickstart | Apache License 2.0 |
src/main/kotlin/uk/gov/justice/digital/hmpps/hmppsppudautomationapi/controller/OffenderController.kt | ministryofjustice | 709,230,604 | false | null | package uk.gov.justice.digital.hmpps.hmppsppudautomationapi.controller
import io.swagger.v3.oas.annotations.Hidden
import io.swagger.v3.oas.annotations.Operation
import io.swagger.v3.oas.annotations.Parameter
import jakarta.validation.Valid
import jakarta.validation.ValidationException
import org.slf4j.LoggerFactory
i... | 0 | null | 1 | 3 | f617b7f5b0ebf596029a794475696e0466747c5a | 9,075 | hmpps-ppud-automation-api | MIT License |
zzsong-sms-server/src/test/kotlin/com/zzsong/study/coroutine/sms/server/provider/ihuyi/IhuyiSmsProviderTest.kt | cckmit | 521,080,028 | false | {"Kotlin": 46208, "Java": 44413} | package com.zzsong.study.coroutine.sms.server.provider.ihuyi
import cn.idealframework.kotlin.toJsonString
import com.zzsong.study.coroutine.sms.server.domain.model.template.ProviderTemplateDo
import com.zzsong.study.coroutine.sms.server.provider.SendRequest
import kotlinx.coroutines.runBlocking
import org.junit.Ignore... | 0 | null | 0 | 0 | e95f98f6bac1b044d53314db00f9a64246ff7439 | 1,118 | zzsong-sms | MIT License |
relive-simulator-core/src/commonMain/kotlin/xyz/qwewqa/relive/simulator/core/presets/dress/generated/dress3030006.kt | pointillion | 428,683,199 | true | {"Kotlin": 538588, "HTML": 47353, "CSS": 17418, "JavaScript": 79} | package xyz.qwewqa.relive.simulator.core.presets.dress.generated
import xyz.qwewqa.relive.simulator.core.stage.actor.ActType
import xyz.qwewqa.relive.simulator.core.stage.actor.Attribute
import xyz.qwewqa.relive.simulator.core.stage.actor.StatData
import xyz.qwewqa.relive.simulator.core.stage.dress.ActParameters
impor... | 0 | null | 0 | 0 | 53479fe3d1f4a067682509376afd87bdd205d19d | 10,776 | relive-simulator | MIT License |
app/src/main/kotlin/com/fashare/mvvm_juejin/viewmodel/ArticleVM.kt | fashare2015 | 102,467,998 | false | null | package com.fashare.mvvm_juejin.viewmodel
import android.databinding.ObservableField
import android.support.v7.widget.RecyclerView
import android.view.View
import com.fashare.databinding.TwoWayListVM
import com.fashare.databinding.adapters.annotation.HeaderResHolder
import com.fashare.databinding.adapters.annotation.R... | 8 | null | 60 | 402 | 182ec504145e326eb5f448879f558933b1a94799 | 2,145 | MVVM-JueJin | MIT License |
app/src/main/java/com/devcommop/myapplication/ui/components/shorts/ShortsViewModel.kt | pareekdevansh | 648,905,400 | false | null | package com.devcommop.myapplication.ui.components.shorts
import android.net.Uri
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.devcommop.myapplication.data.local.RuntimeQueries
import com.devcommop.myapplication.data.model.ShortItem
import com.devcommop.myapplication.data.repos... | 0 | Kotlin | 0 | 0 | d0fda60a15fe2c7bd93596cf6582fccdbccb788a | 6,171 | Social-Jaw | MIT License |
app/src/main/java/com/example/androiddevchallenge/MainActivity.kt | CJChen98 | 344,656,994 | false | null | /*
* Copyright 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 0 | Kotlin | 0 | 0 | 98dd847fdc7f5efca8e4a3c010e51e4e971890d1 | 3,795 | android-dev-challenge-compose-week2 | Apache License 2.0 |
store/src/test/kotlin/com/example/leslie/reducer/UpdateReducerTest.kt | leslieharland | 135,650,274 | false | {"Gradle": 6, "Java Properties": 3, "Shell": 1, "Text": 1, "Ignore List": 4, "Batchfile": 1, "Markdown": 1, "Proguard": 2, "Kotlin": 98, "XML": 55, "Java": 1} | /**
* Copyright (C) 2017 Cesar Valiente & Corey Shaw
*
* https://github.com/CesarValiente
* https://github.com/coshaw
*
* 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:/... | 0 | Kotlin | 0 | 0 | 8688f1031b5f66b88ce2974ca99e95ec8e25d9a4 | 1,891 | Carousell-Kotlin | Apache License 2.0 |
androidutilskt/src/main/java/com/lindroid/androidutilskt/extension/RegexUtil.kt | Lindroy | 172,827,942 | false | null | @file:JvmName("RegexUtil")
package com.lindroid.androidutilskt.extension
import android.util.Patterns
/**
* @author Lin
* @date 2019/3/14
* @function 正则表达式工具类
* @Description
*/
private fun String.checkWithRegex(pattern: String): Boolean {
return Regex(pattern).matches(this)
}
/**校验内地手机号码**/
val String.isMo... | 0 | null | 19 | 48 | 5d6832813a4a0dba7290ad5ef92959f638ea51ab | 1,524 | AndroidUtilsKt | Apache License 2.0 |
app/src/androidTest/java/com/hydrofish/app/AchievementScreenIntegrationTest.kt | HydroFish-Waterloo | 748,731,716 | false | {"Kotlin": 273974} | package com.hydrofish.app
import androidx.compose.ui.test.assertIsDisplayed
import androidx.compose.ui.test.junit4.createComposeRule
import androidx.compose.ui.test.onNodeWithText
import androidx.lifecycle.MutableLiveData
import androidx.navigation.NavHostController
import com.hydrofish.app.ui.composables.tabs.Achieve... | 3 | Kotlin | 0 | 0 | eadfc258a70804250726e316fcbde37f50265d5a | 1,964 | HydroFish | MIT License |
app/src/main/java/org/rfcx/incidents/view/guardian/checklist/classifierupload/ClassifierUploadFragment.kt | rfcx | 104,899,135 | false | {"Kotlin": 1176262, "Java": 1049} | package org.rfcx.incidents.view.guardian.checklist.classifierupload
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.appcompat.app.AlertDialog
import androidx.databinding.DataBindingUtil
import androidx.fragment.app.Fragment
import andro... | 29 | Kotlin | 0 | 0 | 804d56b8c7475e51299db5fde9207ae783820bf9 | 6,081 | guardian-app-android | Apache License 2.0 |
app/src/main/java/com/skyyo/samples/features/textSpans/TextSpansScreen.kt | Skyyo | 385,529,955 | false | {"Kotlin": 557302} | package com.skyyo.samples.features.textSpans
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.*
import androidx.compose.material.Button
import androidx.compose.material.Text
import androidx.compose.runtime.*
import androidx.compose.ui.Modifier
import androidx.compose.ui.geometry.... | 10 | Kotlin | 5 | 77 | 1319c3d29da4865d6f1931ee18137cdfc1715891 | 2,513 | samples | MIT License |
native/objcexport-header-generator/impl/analysis-api/src/org/jetbrains/kotlin/objcexport/getObjCFileClassOrProtocolName.kt | JetBrains | 3,432,266 | false | {"Kotlin": 79571273, "Java": 6776465, "Swift": 4063829, "C": 2609744, "C++": 1957654, "Objective-C++": 175279, "JavaScript": 130754, "Python": 59855, "Shell": 34920, "Objective-C": 21463, "Lex": 21452, "Batchfile": 11382, "CSS": 11368, "Ruby": 10470, "Dockerfile": 9907, "Groovy": 7092, "EJS": 5241, "CMake": 4473, "HTML... | package org.jetbrains.kotlin.objcexport
import org.jetbrains.kotlin.backend.konan.objcexport.ObjCExportFileName
import org.jetbrains.kotlin.backend.konan.objcexport.toIdentifier
import org.jetbrains.kotlin.name.NameUtils
private const val PART_CLASS_NAME_SUFFIX = "Kt"
fun ObjCExportContext.getObjCFileClassOrProtocol... | 181 | Kotlin | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 540 | kotlin | Apache License 2.0 |
common/src/main/java/com/mobdao/common/di/CommonModule.kt | diegohkd | 764,734,288 | false | {"Kotlin": 231913} | package com.mobdao.common.di
import com.mobdao.common.utils.factories.MoshiFactory
import com.squareup.moshi.Moshi
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent
import javax.inject.Singleton
@InstallIn(SingletonComponent::class)
@Module
abstr... | 0 | Kotlin | 0 | 0 | d77fb786275828ce06805903d8a3aea991f1148b | 499 | AdoptAPet | Apache License 2.0 |
src/main/kotlin/me/aberrantfox/hotbot/commands/utility/XKCDCommands.kt | the-programmers-hangout | 251,075,497 | false | null | package me.aberrantfox.hotbot.commands.utility
import khttp.get
import me.aberrantfox.hotbot.utility.randomInt
import me.aberrantfox.kjdautils.api.dsl.CommandSet
import me.aberrantfox.kjdautils.api.dsl.arg
import me.aberrantfox.kjdautils.api.dsl.commands
import me.aberrantfox.kjdautils.internal.command.arguments.Integ... | 2 | Kotlin | 0 | 1 | 2edd95266192b03b60454573dcfd2d5d785c6af5 | 2,044 | HotBot | MIT License |
app/src/androidTest/java/com/waffiq/countryPicker/CountryPickerButtonInstrumentedTest.kt | waffiqaziz | 871,890,420 | false | {"Kotlin": 58456} | package com.waffiq.countryPicker
import android.content.Context
import android.content.Intent
import androidx.test.core.app.ActivityScenario
import androidx.test.core.app.ApplicationProvider
import androidx.test.core.app.launchActivity
import androidx.test.espresso.Espresso.onView
import androidx.test.espresso.IdlingR... | 0 | Kotlin | 0 | 0 | 9680f16e975419c8f4c254ae2cccc8160e5f43e6 | 2,304 | country-picker-android | Apache License 2.0 |
library/dialog/src/main/java/com/github/lany192/dialog/InputDialog.kt | lany192 | 131,839,448 | false | {"Java": 1058768, "Kotlin": 166891, "C": 31335, "JavaScript": 10242, "C++": 4391, "CMake": 3813, "CSS": 999, "HTML": 422} | package com.github.lany192.dialog
import android.text.TextUtils
import android.text.method.MovementMethod
import android.view.View
import android.view.WindowManager
import androidx.annotation.ColorRes
import com.github.lany192.dialog.databinding.DialogInputBinding
import com.github.lany192.extension.toast
import com.g... | 0 | Java | 3 | 34 | 1f7cc9fd1b799607ff8b89b3811aaf61fa1c0b73 | 2,217 | box | Apache License 2.0 |
app/src/main/java/ch/abwesend/privatecontacts/view/screens/contactdetail/ContactDetailScreen.kt | fgubler | 462,182,037 | false | {"Kotlin": 1159351, "Java": 369326} | /*
* Private Contacts
* Copyright (c) 2022.
* <NAME>
*/
package ch.abwesend.privatecontacts.view.screens.contactdetail
import androidx.annotation.StringRes
import androidx.compose.foundation.ExperimentalFoundationApi
import androidx.compose.foundation.layout.padding
import androidx.compose.material.Divider
import... | 1 | Kotlin | 3 | 9 | e2bee11f232db2728c98e434dad5148ef0497dbf | 12,826 | PrivateContacts | Apache License 2.0 |
library/src/main/java/com/pedro/library/base/StreamBase.kt | pedroSG94 | 79,667,969 | false | null | package com.pedro.library.base
import android.content.Context
import android.graphics.SurfaceTexture
import android.media.MediaCodec
import android.media.MediaFormat
import android.media.projection.MediaProjection
import android.os.Build
import android.util.Range
import android.util.Size
import android.view.MotionEven... | 235 | null | 749 | 2,244 | 0ed4e5cb08235f5189b84cbef1690ca98beb16f0 | 17,775 | RootEncoder | Apache License 2.0 |
wrapper/Android/AutoE2E/app/src/main/java/com/example/autoe2e/lib/mock/DocumentNode.kt | CreeJee | 230,300,137 | false | {"JSON": 9, "YAML": 3, "Prisma": 1, "Text": 2, "Ignore List": 4, "Markdown": 2, "JSON with Comments": 2, "Gradle": 3, "Java Properties": 2, "Shell": 1, "Batchfile": 1, "Proguard": 1, "Kotlin": 19, "XML": 17, "Java": 3, "JavaScript": 2, "GraphQL": 1, "HTML": 1, "robots.txt": 1, "TSX": 7, "CSS": 2} | package com.example.autoe2e.lib.mock
import com.example.autoe2e.lib.types.DocumentNode
fun findNode(node: DocumentNode?, nodeUid: Int): DocumentNode? {
//tree search
//window.children
if (node is DocumentNode) {
if (node.uid == nodeUid) {
return node
}
for (child in no... | 9 | TypeScript | 0 | 1 | 1a8706d3c2c8b30f514e719e41cfb8bcd878ad2d | 494 | AutoE2E | MIT License |
api/src/main/kotlin/hr/from/josipantolis/seriouscallersonly/api/dsl/Extensions.kt | Antolius | 257,456,041 | false | null | package hr.from.josipantolis.seriouscallersonly.api.dsl
import hr.from.josipantolis.seriouscallersonly.api.*
import java.net.URL
@DslMarker
annotation class BotMarker
@BotMarker
interface CallScriptExtensions {
val String.channel: Channel
get() = Channel(id = this)
val String.user: User
get(... | 0 | Kotlin | 0 | 2 | 49bca9f3edb7d386fae77a6404babc6ace18a87f | 12,843 | serious-callers-only | MIT License |
app/src/main/java/com/hakmar/employeelivetracking/features/store_detail_tasks/ui/screen/StoreOutsideScreen.kt | enginemre | 584,733,724 | false | null | package com.hakmar.employeelivetracking.features.store_detail_tasks.ui.screen
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.foundation.lazy.items
import androidx.compose.material3.Mater... | 0 | Kotlin | 0 | 0 | 5e348e0a5aac89b4e60607a14a4ef9bbd68545a5 | 8,781 | employee_live_tracking | The Unlicense |
app/src/main/java/com/mathroda/messengerclone/ui/messages/components/MessengerCloneMessagesComposer.kt | MathRoda | 516,097,712 | false | null | package com.erdi.messengerclone.ui.messages.components
import android.widget.Toast
import androidx.compose.animation.AnimatedVisibility
import androidx.compose.foundation.layout.*
import androidx.compose.material.*
import androidx.compose.runtime.*
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifi... | 1 | null | 12 | 96 | f6bb09079f35e14e7fceb1bfbad1fa49e9c58daa | 17,766 | Messenger-clone | Apache License 2.0 |
platform/vcs-impl/src/com/intellij/openapi/vcs/actions/VcsQuickActionsToolbarPopup.kt | ingokegel | 72,937,917 | false | null | // Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.openapi.vcs.actions
import com.intellij.icons.AllIcons
import com.intellij.ide.DataManager
import com.intellij.ide.HelpTooltip
import com.intellij.ide.action... | 191 | null | 4372 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 5,221 | intellij-community | Apache License 2.0 |
jdk_17_maven/cs/rest/familie-tilbake/src/main/kotlin/no/nav/familie/tilbake/behandling/steg/Varselssteg.kt | WebFuzzing | 94,008,854 | false | null | package no.nav.familie.tilbake.behandling.steg
import no.nav.familie.tilbake.behandlingskontroll.BehandlingskontrollService
import no.nav.familie.tilbake.behandlingskontroll.Behandlingsstegsinfo
import no.nav.familie.tilbake.behandlingskontroll.domain.Behandlingssteg
import no.nav.familie.tilbake.behandlingskontroll.d... | 21 | null | 16 | 26 | 1777aafb22c6fc7c1bc7db96c86b6ea70e38a36e | 1,720 | EMB | Apache License 2.0 |
project-system-gradle/testSrc/com/android/tools/idea/gradle/declarative/runsGradleVersionCatalogAndDeclarative/DeclarativeUnresolvedReferenceTest.kt | JetBrains | 60,701,247 | false | {"Kotlin": 53054415, "Java": 43443054, "Starlark": 1332164, "HTML": 1218044, "C++": 507658, "Python": 191041, "C": 71660, "Lex": 70302, "NSIS": 58238, "AIDL": 35382, "Shell": 29838, "CMake": 27103, "JavaScript": 18437, "Smali": 7580, "Batchfile": 7357, "RenderScript": 4411, "Clean": 3522, "Makefile": 2495, "IDL": 19} | /*
* 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 | Kotlin | 227 | 948 | 10110983c7e784122d94c7467e9d243aba943bf4 | 2,164 | android | Apache License 2.0 |
fixture/src/test/kotlin/com/appmattus/kotlinfixture/resolver/CompositeResolverTest.kt | appmattus | 208,850,028 | false | {"Gradle Kotlin DSL": 12, "Markdown": 5, "Java Properties": 5, "YAML": 3, "Shell": 1, "Ignore List": 1, "Batchfile": 1, "EditorConfig": 1, "AsciiDoc": 9, "XML": 14, "Kotlin": 203, "INI": 1, "Java": 3} | /*
* Copyright 2019 Appmattus Limited
*
* 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 t... | 11 | Kotlin | 13 | 252 | 6d715e3c3a141cb32a5f3fbcd4fb0027ec6ba44c | 2,817 | kotlinfixture | Apache License 2.0 |
app/src/main/java/com/morpho/app/lexicons/app/bsky/graph/listitem.kt | morpho-app | 752,463,268 | false | {"Kotlin": 818890} | package app.bsky.graph
import kotlinx.serialization.Serializable
import morpho.app.api.AtUri
import morpho.app.api.Did
import morpho.app.api.model.Timestamp
@Serializable
public data class Listitem(
public val subject: Did,
public val list: AtUri,
public val createdAt: Timestamp,
)
| 21 | Kotlin | 0 | 4 | b0a5a163fec50f3fc16e0caabb0036707ab09cb8 | 291 | Morpho | Apache License 2.0 |
library/src/main/java/software/rsquared/materialcolors/MaterialColor.kt | rSquared-software | 191,815,927 | false | null | package software.rsquared.materialcolors
import android.graphics.Color
import android.support.annotation.FloatRange
import kotlin.math.roundToInt
class MaterialColor {
companion object {
@JvmField
val red: Map<Int, Int> = mapOf(
50 to Color.parseColor("#FFEBEE"),
100 to Col... | 0 | Kotlin | 0 | 0 | 52edea737ee731fbaa91a3b19724c11296caabc0 | 16,344 | material-colors | Apache License 2.0 |
library/src/androidMain/kotlin/com/meowool/sweekt/dimension/FloatDps.kt | RinOrz | 295,796,281 | false | null | package com.meowool.sweekt.dimension
import android.content.Context
import android.content.res.Resources
import android.util.DisplayMetrics
import kotlin.math.roundToInt
import kotlin.math.roundToLong
/**
* Converts this density-independent pixels to the int value stands device pixels.
*
* @see Resources.getDispla... | 7 | Kotlin | 2 | 35 | 27d06268f21bebba295d04c0ec1b13019036bac3 | 2,669 | sweekt | Apache License 2.0 |
tabler/src/commonMain/kotlin/com/woowla/compose/icon/collections/tabler/tabler/outline/Skull.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,757 | compose-icon-collections | MIT License |
kotlinpoet-ktx/src/com/hendraanggrian/kotlinpoet/dsl/TypeAliasSpecHandler.kt | hendraanggrian | 209,613,746 | false | null | package com.hendraanggrian.kotlinpoet.collections
import com.hendraanggrian.kotlinpoet.SpecMarker
import com.hendraanggrian.kotlinpoet.TypeAliasSpecBuilder
import com.hendraanggrian.kotlinpoet.buildTypeAliasSpec
import com.hendraanggrian.kotlinpoet.typeAliasSpecOf
import com.squareup.kotlinpoet.TypeAliasSpec
import co... | 1 | Kotlin | 0 | 3 | 9c7ec6bf017caf34bd20ff4853eb851c791e87af | 3,693 | kotlinpoet-ktx | Apache License 2.0 |
experimental/src/test/kotlin/net/corda/finance/contracts/universal/RollOutTests.kt | corda | 70,137,417 | false | null | package net.corda.finance.contracts.universal
import net.corda.finance.contracts.Frequency
import net.corda.testing.DUMMY_NOTARY
import net.corda.testing.transaction
import org.junit.Test
import java.time.Instant
import kotlin.test.assertEquals
class RollOutTests {
val TEST_TX_TIME_1: Instant get() = Instant.pars... | 62 | null | 1077 | 3,989 | d27aa0e6850d3804d0982024054376d452e7073a | 4,839 | corda | Apache License 2.0 |
intellij-plugin/educational-core/src/com/jetbrains/edu/learning/command/EduAppStarterBase.kt | JetBrains | 43,696,115 | false | null | package com.jetbrains.edu.learning.command
import com.intellij.openapi.application.ModernApplicationStarter
import com.intellij.openapi.diagnostic.logger
import com.jetbrains.edu.learning.EduUtilsKt
import com.jetbrains.edu.learning.courseFormat.Course
import com.jetbrains.edu.learning.marketplace.api.MarketplaceConne... | 5 | null | 48 | 131 | 19a2a4b48993f093dac88bdf4fb9fda3c054b24a | 4,485 | educational-plugin | Apache License 2.0 |
Aretech App/app/src/main/java/com/example/aretech/ui/compose/buttons/CloseButton.kt | s3bu7i | 871,643,869 | false | {"Kotlin": 317569, "TypeScript": 228210, "JavaScript": 16695, "Java": 6185, "CSS": 1738, "Python": 1259} | package com.example.aretech.ui.compose.buttons
import androidx.compose.runtime.Composable
import com.example.aretech.R
import com.example.aretech.ui.activities.menu.task.views.common.ImageInRoundShapeCard
@Composable
fun CloseButton(onClick: () -> Unit) {
ImageInRoundShapeCard(
image = R.drawable.ic_close... | 0 | Kotlin | 0 | 1 | a5c86328a4fced42e04380e448e53f9452be9b5b | 374 | Aretech | MIT License |
vector/src/main/java/varta/cdac/app/features/settings/locale/LocalePickerViewModel.kt | crtn32002 | 395,765,587 | false | null | /*
* Copyright (c) 2020 New Vector 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 applicable law or agr... | 55 | Kotlin | 1 | 1 | ef17804af2f134cfbeca5645579f2fbb4b685944 | 2,783 | element-android | Apache License 2.0 |
split/src/main/java/com/android/split/MainActivity.kt | Charles-ljc | 266,736,494 | false | {"Kotlin": 16078, "Java": 879} | package com.android.split
import android.app.Activity
class MainActivity : Activity()
| 0 | Kotlin | 0 | 0 | a96499a8757297d3b65805a20058415377cdbafe | 88 | AndroidStudio | Apache License 2.0 |
android/src/main/java/co/nimblehq/ic/kmm/suv/android/MainApplication.kt | suho | 523,936,897 | false | {"Kotlin": 232630, "Swift": 119332, "Ruby": 21329, "Shell": 81} | package co.nimblehq.ic.kmm.suv.android
import android.app.Application
import co.nimblehq.ic.kmm.suv.android.di.loginModule
import co.nimblehq.ic.kmm.suv.android.di.mainModule
import co.nimblehq.ic.kmm.suv.di.initKoin
import org.koin.android.ext.koin.androidContext
import timber.log.Timber
class MainApplication : Appl... | 0 | Kotlin | 0 | 3 | d34b39d4755770898c8236db0318535a5aa15dcf | 669 | kmm-ic | MIT License |
SpeedyDemo/app/src/main/java/com/fullsail/smith/speedydemo/SealedState.kt | Smith508 | 98,380,663 | false | null | package com.fullsail.smith.speedydemo
sealed class SealedState() {
object testing1 : SealedState()
object testing2 : SealedState()
object testing3 : SealedState()
object testing4 : SealedState()
object testing5 : SealedState()
object testing6 : SealedState()
object testing7 : SealedState()
... | 1 | Kotlin | 1 | 1 | af52c98f6959eeceda8d9d282c74db1b0db14515 | 5,075 | Speedy | MIT License |
vessel-runtime/src/main/java/com/textnow/android/vessel/VesselMigration.kt | textnow | 294,513,050 | false | null | /**
* MIT License
*
* Copyright (c) 2020 TextNow, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, m... | 2 | Kotlin | 5 | 6 | fce15b991329631eaf9996654decf11bdc5b7c9b | 2,041 | vessel | MIT License |
app/src/main/java/com/fwhyn/pocomon/domain/usecases/GetAllPokemonNamesUseCase.kt | fwhyn | 532,494,747 | false | {"Kotlin": 87628} | package com.fwhyn.pocomon.domain.usecases
import com.fwhyn.pocomon.domain.model.PokemonResults
import com.fwhyn.pocomon.domain.api.RepositoryDataInterface
class GetAllPokemonNamesUseCase(private val repository: RepositoryDataInterface) {
suspend fun getAllPokemonNames(limit: Int): PokemonResults = repository.getP... | 5 | Kotlin | 0 | 0 | 7c1d57e31d46c443b78762fd96c2414364de2503 | 339 | Pocomon_Android | Apache License 2.0 |
src/main/kotlin/com/cognifide/gradle/sling/common/CommonOptions.kt | Cognifide | 138,027,523 | false | null | package com.cognifide.gradle.sling.common
import com.cognifide.gradle.sling.SlingExtension
import com.cognifide.gradle.sling.common.utils.LineSeparator
import org.gradle.internal.os.OperatingSystem
open class CommonOptions(private val sling: SlingExtension) {
private val project = sling.project
/**
* B... | 0 | Kotlin | 2 | 15 | b3e7244f887b24dece21571a5a63ae79ef0c7597 | 2,085 | gradle-sling-plugin | Apache License 2.0 |
app/src/main/java/com/mooveit/kotlin/kotlintemplateproject/data/repository/PetDataRepository.kt | Transmigrado | 127,310,342 | true | {"Kotlin": 48790} | package com.mooveit.kotlin.kotlintemplateproject.data.repository
import com.mooveit.kotlin.kotlintemplateproject.data.entity.Pet
import com.mooveit.kotlin.kotlintemplateproject.data.repository.datasource.PetDataStoreFactory
import com.mooveit.kotlin.kotlintemplateproject.domain.repository.PetRepository
import io.react... | 0 | Kotlin | 0 | 0 | cab69aa1be73e0bf2d0a9e0a35624dc5f41f41c5 | 847 | android-kotlin-architecture | MIT License |
app/src/main/java/com/skydoves/themovies/models/Status.kt | skydoves | 143,843,903 | false | null | /*
* The MIT License (MIT)
*
* Designed and developed by 2020 <NAME>
*
* 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
* t... | 5 | null | 47 | 470 | a286f35e5295fa2da0ef2d64d4bda88d65c182cf | 1,473 | TheMovies | MIT License |
cli/src/main/kotlin/com/malinskiy/marathon/cli/args/FileConfiguration.kt | cdsap | 134,924,816 | true | {"Kotlin": 300576, "JavaScript": 33573, "CSS": 29044, "HTML": 2224, "Shell": 964} | package com.malinskiy.marathon.cli.args
import com.malinskiy.marathon.execution.AnalyticsConfiguration
import com.malinskiy.marathon.execution.FilteringConfiguration
import com.malinskiy.marathon.execution.strategy.BatchingStrategy
import com.malinskiy.marathon.execution.strategy.FlakinessStrategy
import com.malinskiy... | 1 | Kotlin | 0 | 1 | ce6648774cd47c87f074ebdfdacbbcf781bdfdd4 | 1,558 | marathon | Apache License 2.0 |
lego/lego_plugins/src/main/java/com/lego/plugins/context/task/component/ContextComponentTasks.kt | ruichard | 775,792,965 | false | {"Kotlin": 369040, "Java": 13237} | package com.lego.plugins.context.task.component
import com.android.build.gradle.api.BaseVariant
import com.ktnail.x.toCamel
import com.ktnail.x.uriToPascal
import com.lego.plugins.context.ContextPlugin
import com.lego.plugins.extension.context.ContextExtension
import com.lego.plugins.basic.publish.maven.PublicationTyp... | 0 | Kotlin | 0 | 1 | 0a581d294e3e76050b9bc7478fbc200a43b4b919 | 1,825 | Lego | Apache License 2.0 |
bitkointlin/src/test/kotlin/se/simbio/bitkointlin/Fixture.kt | ademar111190 | 51,411,720 | false | null | package se.simbio.bitkointlin
import com.google.gson.JsonElement
import se.simbio.bitkointlin.http.HttpClient
// Bitkointlin
val USER = "User"
val PASSWORD = "<PASSWORD>"
val HTTP_ADDRESS = "http://127.0.0.1:8332/"
val HTTP_CLIENT = object : HttpClient {
override fun post(bitkointlin: Bitkointlin, method: String,... | 1 | null | 1 | 2 | cd73e8aab7f62cf00b1043c7f5ed62cb1094fae2 | 2,611 | bitkointlin | MIT License |
app/src/main/java/com/skyinu/jvmti/wrapper/SecondActivity.kt | skyinu | 225,858,817 | false | null | package com.skyinu.jvmti.wrapper
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
class SecondActivity: AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_second)
}
} | 0 | null | 0 | 1 | 2eea82b087f9193e71ad50d89aacb088241d69ff | 308 | MixVegetable | MIT License |
features/tournaments/domain/src/main/java/com/mctech/pokergrinder/tournament/domain/usecase/LoadTournamentUseCase.kt | MayconCardoso | 539,349,342 | false | {"Kotlin": 630714} | package com.mctech.pokergrinder.tournament.domain.usecase
import com.mctech.pokergrinder.tournament.domain.TournamentRepository
import com.mctech.pokergrinder.tournament.domain.entities.Tournament
import javax.inject.Inject
/**
* Load a tournament by its title [Tournament].
*
* @property repository tournament data... | 7 | Kotlin | 1 | 7 | ecb4278d82b5e055b3dd1d08080ebbf8a17d2915 | 543 | poker-grinder | Apache License 2.0 |
feature/settings/import/src/main/kotlin/app/k9mail/feature/settings/import/ui/SettingsImportScreen.kt | thunderbird | 1,326,671 | false | null | package app.k9mail.feature.settings.import.ui
import android.os.Bundle
import androidx.compose.foundation.layout.PaddingValues
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.padding
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import an... | 886 | null | 2492 | 9,969 | 8b3932098cfa53372d8a8ae364bd8623822bd74c | 2,254 | thunderbird-android | Apache License 2.0 |
core/src/io/github/advancerman/todd/json/ManualJsonConstructor.kt | AdvancerMan | 278,029,588 | false | null | package io.github.advancerman.todd.json
@Target(AnnotationTarget.FUNCTION)
annotation class ManualJsonConstructor(val constructorName: String = "")
object JsonDefaults {
fun setDefault(key: String, value: Any?, map: MutableMap<String, Pair<Any?, Boolean>>): Any? {
map.getOrPut(key) { value to true }.let {... | 1 | Kotlin | 0 | 2 | efeb10c60c607d393a26963dc9aa9109dd00bd1c | 558 | todd-kt | MIT License |
library/src/main/java/com/lisb/android/mediashrink/AudioShrink.kt | lisb | 41,290,110 | false | null | package com.lisb.android.mediashrink
import android.annotation.SuppressLint
import android.media.*
import timber.log.Timber
import java.io.IOException
import java.nio.ByteBuffer
import java.util.concurrent.atomic.AtomicReference
class AudioShrink(private val extractor: MediaExtractor,
private val mu... | 0 | Kotlin | 0 | 0 | 03c434cd17009228b1b99604b6bf0763d1a8a7e4 | 19,408 | android-mediashrink | Apache License 2.0 |
src/main/kotlin/com/flowkode/mailvalidator/InvalidArgumentException.kt | nelsongraca | 160,852,560 | false | null | package com.flowkode.mailvalidator
class InvalidArgumentException(message: Messages) : Exception() {
val errorMessage = message.errorMessage
enum class Messages(val errorMessage: String) {
NO_MX("do me")
}
}
| 0 | Kotlin | 0 | 1 | 5bd410c0699051c00724be195436c4d864a6ee8a | 230 | mailvalidator | Apache License 2.0 |
message_holder/MessageSwipeController.kt | nitish098123 | 481,869,940 | false | null | package com.example.database_part_3.message_holder
import android.annotation.SuppressLint
import android.content.Context
import android.graphics.Canvas
import android.graphics.PorterDuff
import android.graphics.PorterDuffColorFilter
import android.graphics.drawable.Drawable
import android.view.HapticFeedbackConstants
... | 1 | Kotlin | 0 | 1 | 61ef3ffb99db93ece011f701a55804cb8fedf211 | 6,643 | Sofessist-a-messaging-specialist | Apache License 2.0 |
library/src/androidTest/java/com/github/pelmenstar1/rangecalendar/LocaleUtilsTests.kt | pelmenstar1 | 454,918,220 | false | {"Kotlin": 666647} | package com.github.pelmenstar1.rangecalendar
import androidx.test.ext.junit.runners.AndroidJUnit4
import com.github.pelmenstar1.rangecalendar.utils.getFirstDayOfWeek
import org.junit.Test
import org.junit.runner.RunWith
import java.util.Locale
import kotlin.test.assertEquals
@RunWith(AndroidJUnit4::class)
class Local... | 2 | Kotlin | 0 | 13 | c5eb42e2e269aeac9b108990bb9c928043ad8ca2 | 873 | RangeCalendar | MIT License |
zowe-imperative/src/jsMain/kotlin/zowe/imperative/imperative/profiles/handlers/CreateProfilesHandler.kt | lppedd | 761,812,661 | false | {"Kotlin": 1887051} | @file:JsModule("@zowe/imperative")
package zowe.imperative.imperative.profiles.handlers
import js.promise.Promise
import zowe.imperative.cmd.doc.handler.ICommandHandler
import zowe.imperative.cmd.doc.handler.IHandlerParameters
/**
* Handler that allows creation of a profile from command line arguments. Intended for... | 0 | Kotlin | 0 | 3 | 0f493d3051afa3de2016e5425a708c7a9ed6699a | 737 | kotlin-externals | MIT License |
app/nico2vocadb-songlist-exporter/src/main/kotlin/mikufan/cx/vtool/app/n2vex/config/CoreComponentSetup.kt | CXwudi | 748,516,931 | false | {"Kotlin": 57945} | package mikufan.cx.vtool.app.n2vex.config
import kotlinx.coroutines.CoroutineDispatcher
import kotlinx.coroutines.asCoroutineDispatcher
import mikufan.cx.vtool.component.httpser.api.NicoListFetcher
import mikufan.cx.vtool.component.httpser.api.PvMapper
import mikufan.cx.vtool.component.httpser.impl.NicoListFetcherImpl... | 2 | Kotlin | 0 | 0 | 7b260c3e08e654b588552182447f37965f5c0534 | 3,086 | vsonglist-toolkit | MIT License |
core/usecases/src/main/kotlin/net/onefivefour/sessiontimer/core/usecases/taskgroup/UpdateTaskGroupUseCase.kt | OneFiveFour | 715,295,614 | false | {"Kotlin": 141988} | package net.onefivefour.sessiontimer.core.usecases.taskgroup
import dagger.hilt.android.scopes.ViewModelScoped
import net.onefivefour.sessiontimer.core.common.domain.model.PlayMode
import net.onefivefour.sessiontimer.core.database.domain.TaskGroupRepository
import javax.inject.Inject
@ViewModelScoped
class UpdateTask... | 0 | Kotlin | 0 | 0 | c40907f9c2a4cd38a0d81ea385b23f6084e54250 | 732 | session-timer | Apache License 2.0 |
app/src/main/java/io/horizontalsystems/dynamitewallet/modules/receive/ReceivePresenter.kt | allmaechtig | 283,654,113 | true | {"Kotlin": 817536, "Ruby": 4839} | package io.horizontalsystems.bankwallet.modules.receive
import io.horizontalsystems.bankwallet.R
import io.horizontalsystems.bankwallet.modules.receive.viewitems.AddressItem
class ReceivePresenter(
private val interactor: ReceiveModule.IInteractor,
private val router: ReceiveModule.IRouter) : ReceiveM... | 0 | Kotlin | 0 | 0 | 7ace078fc242c65950d30f803c1903c09687ba3b | 1,100 | unstoppable-wallet-android | MIT License |
src/main/kotlin/model/applicationfunctions/PngFileFilter.kt | MaxBuster380 | 622,688,076 | false | null | package model.applicationfunctions
import java.io.File
import java.io.FilenameFilter
internal class PngFileFilter : FilenameFilter {
override fun accept(dir: File, name:String): Boolean {
return false//name.matches(Regex("^.*\\.png$"))
}
}
| 0 | Kotlin | 0 | 3 | c77168a15f7da11c44a7ebaec8fb9a1cd826b1b7 | 246 | OneShot-Color-Filter | MIT License |
napster/src/main/kotlin/io/anaxo/alexa/napster/handlers/audioplayer/PlaybackStarted.kt | hmedkouri | 161,028,677 | false | null | package io.anaxo.alexa.napster.handlers.audioplayer
import com.amazon.ask.dispatcher.request.handler.HandlerInput
import com.amazon.ask.dispatcher.request.handler.RequestHandler
import com.amazon.ask.model.Response
import com.amazon.ask.model.interfaces.audioplayer.PlaybackStartedRequest
import com.amazon.ask.request.... | 0 | Kotlin | 0 | 0 | 1d153d337de7e173f3d741836e57fffaf001361f | 696 | alexa-skills | MIT License |
src/kotlin/ru/ifmo/antll1/generator/math/Token.kt | niki999922 | 283,890,943 | false | null | package ru.ifmo.antll1.generator.math
enum class Token(val title: String) {
WS("[ \t\n\r]+"),
NUMBER("[0-9]+"),
PLUS("[+]"),
MINUS("[-]"),
POW("[*]{2}"),
MUL("[*]"),
L_SHIFT("<<"),
R_SHIFT(">>"),
OP_B("[(]"),
CL_B("[)]"),
END("end")
}
| 0 | Kotlin | 0 | 0 | 3b980c6c7348dbdcbc7eaf69b28db0083540efc0 | 280 | parser-generator | MIT License |
EvoMaster/resource-rest-experiments/api-generator/src/main/kotlin/org/evomaster/resource/rest/generator/implementation/java/SwaggerAnnotation.kt | mitchellolsthoorn | 364,836,402 | false | {"Java": 3999651, "JavaScript": 2621912, "Kotlin": 2157071, "TypeScript": 137702, "CSS": 94780, "HTML": 35418, "Less": 29035, "Python": 25019, "R": 20339, "ANTLR": 12520, "XSLT": 6892, "Shell": 5833, "TeX": 4838, "Dockerfile": 493} | package org.evomaster.resource.rest.generator.implementation.java
import org.evomaster.resource.rest.generator.template.Tag
/**
* created by manzh on 2019-08-15
*/
object SwaggerAnnotation {
/**
* Provides additional information about Swagger models.
*/
val API_MODEL = Tag("ApiModel")
/**
... | 1 | null | 1 | 1 | 50e9fb327fe918cc64c6b5e30d0daa2d9d5d923f | 1,501 | ASE-Technical-2021-api-linkage-replication | MIT License |
src/test/kotlin/io/wusa/SemverGitPluginGroovyFunctionalTest.kt | jgindin | 261,288,196 | true | {"Kotlin": 93004} | package io.wusa
import org.gradle.internal.impldep.org.eclipse.jgit.api.Git
import org.gradle.testkit.runner.GradleRunner
import org.gradle.testkit.runner.UnexpectedBuildFailure
import org.junit.jupiter.api.*
import org.junit.jupiter.api.Assertions.assertTrue
import java.io.File
@TestInstance(TestInstance.Lifecycle.P... | 0 | null | 0 | 0 | 56154065cf4490f2792eb7cea33089ccaa25f894 | 25,408 | semver-git-plugin | MIT License |
UserCenter/src/main/java/com/kotlin/user/presenter/view/RegisterView.kt | heisexyyoumo | 145,665,152 | false | {"Gradle": 10, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 9, "Batchfile": 1, "Markdown": 1, "Proguard": 8, "Kotlin": 218, "XML": 116, "Java": 14} | package com.kotlin.user.presenter.view
import com.kotlin.base.presenter.view.BaseView
open interface RegisterView : BaseView {
fun onRegisterResult(result : String)
} | 0 | Kotlin | 1 | 2 | 27fea0090cea5fb636f8db5025379d274693b1b4 | 173 | KotlinMall | Apache License 2.0 |
compiler/testData/compileKotlinAgainstKotlin/typeAliasesKt13181.kt | JakeWharton | 99,388,807 | true | null | // MODULE: lib
// FILE: A.kt
typealias Bar<T> = (T) -> String
class Foo<out T>(val t: T) {
fun baz(b: Bar<T>) = b(t)
}
// MODULE: main(lib)
// FILE: B.kt
class FooTest {
fun baz(): String {
val b: Bar<String> = { "OK" }
return Foo("").baz(b)
}
}
fun box(): String =
FooTest().baz(... | 181 | Kotlin | 5748 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 321 | kotlin | Apache License 2.0 |
fxgl/src/test/kotlin/com/almasb/fxgl/io/serialization/BundleTest.kt | nagyist | 170,678,757 | true | {"Java": 2201675, "Kotlin": 870282, "CSS": 24668, "Ragel": 10660, "JavaScript": 4913, "Shell": 405} | /*
* FXGL - JavaFX Game Library. The MIT License (MIT).
* Copyright (c) AlmasB (<EMAIL>).
* See LICENSE for details.
*/
package com.almasb.fxgl.core.serialization
import org.junit.jupiter.api.Assertions.assertFalse
import org.junit.jupiter.api.Assertions.assertTrue
import org.junit.jupiter.api.Test
/**
*
*
* ... | 0 | Java | 0 | 0 | aaafc756e070585cc003704392978230174797c2 | 731 | FXGL | MIT License |
src/main/kotlin/net/sportsday/routes/v1/TagRouter.kt | Sports-day | 589,245,462 | false | {"Kotlin": 218532, "Dockerfile": 330} | package net.sportsday.routes.v1
import io.ktor.http.*
import io.ktor.server.application.*
import io.ktor.server.plugins.*
import io.ktor.server.request.*
import io.ktor.server.response.*
import io.ktor.server.routing.*
import net.sportsday.models.OmittedTag
import net.sportsday.plugins.Role
import net.sportsday.plugin... | 8 | Kotlin | 1 | 1 | c28a83cdbb8a893372b26f0a7ec3bef617a4acad | 3,871 | SportsDayAPI | Apache License 2.0 |
app/src/main/java/com/steve_md/socialsapp/di/AppModule.kt | MuindiStephen | 622,247,213 | false | null | package com.steve_md.socialsapp.di
import com.google.gson.Gson
import com.google.gson.GsonBuilder
import com.steve_md.socialsapp.data.api.SocialsApiService
import com.steve_md.socialsapp.screens.commons.Constants.BASE_URL
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.compo... | 0 | Kotlin | 0 | 0 | 9521c69a104653fe1376ded00008d2ba897969bd | 1,518 | Jenkins | MIT License |
minchat-common/src/main/kotlin/io/minchat/common/event/MessageEvents.kt | MinChat-official | 604,238,971 | false | {"Kotlin": 394469} | package io.minchat.common.event
import io.minchat.common.entity.Message
import kotlinx.serialization.*
@Serializable
@SerialName("MessageCreate")
data class MessageCreateEvent(
val message: Message
) : Event() {
override fun toString() =
"MessageCreateEvent(author=${message.author.loggable()}, message=${message.l... | 0 | Kotlin | 0 | 3 | 8f70585146311efe9fc49e4e3b93eb8becb92cba | 741 | MinChat | Apache License 2.0 |
tinyK-ast/src/main/kotlin/tinyK/ast/visitor/Visitor.kt | pocmo | 289,081,739 | false | null | /*
* Copyright 2020 <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... | 9 | Kotlin | 0 | 0 | 1e57fb51c659e6e4dc713087d09a76be935bf2c5 | 1,408 | tinyK | Apache License 2.0 |
core/src/commonMain/kotlin/pro/respawn/flowmvi/plugins/UndoRedoPlugin.kt | respawn-app | 477,143,989 | false | null | package pro.respawn.flowmvi.plugins
import kotlinx.atomicfu.atomic
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.MutableStateFlow
import kotlinx.coroutines.flow.StateFlow
import kotlinx.coroutines.flow.asStateFlow
import kotlinx.coroutines.flow.map
import kotlinx.coroutines.flow.update
import kotl... | 8 | null | 7 | 305 | 80ea0a5eedc948fe50d3f23ddce041d8144f0f23 | 7,003 | FlowMVI | Apache License 2.0 |
app/src/main/java/com/sunnyseather/android/TestAmap.kt | catcatpro | 615,196,841 | false | null | package com.sunnyseather.android
import android.content.Context
import android.os.Bundle
import android.util.Log
import androidx.appcompat.app.AppCompatActivity
import com.amap.api.services.core.AMapException
import com.amap.api.services.core.PoiItemV2
import com.amap.api.services.core.ServiceSettings
import com.amap... | 0 | Kotlin | 0 | 0 | e5a2522c136a59dabc9be44dac501a8a39658847 | 3,165 | SunnyWeather | Apache License 2.0 |
sdk-lib/src/main/java/cash/z/ecc/android/sdk/internal/db/PendingTransactionDb.kt | zcash | 151,763,639 | false | null | package cash.z.ecc.android.sdk.db
import androidx.room.*
import cash.z.ecc.android.sdk.db.entity.PendingTransactionEntity
import kotlinx.coroutines.flow.Flow
//
// Database
//
/**
* Database for pending transaction information. Unlike with the "Data DB," the wallet is free to
* write to this database. In a way, t... | 70 | null | 38 | 45 | 3a0ded71138d0b35d238cfeae523abde6e7e2a01 | 2,779 | zcash-android-wallet-sdk | MIT License |
tools/string_converter/src/main/java/com/wa2c/android/cifsdocumentsprovider/tools/string_converter/model/CsvRow.kt | wa2c | 309,159,444 | false | null | package com.wa2c.android.medolylibrary.tools.string_converter.model
/**
* CSV Row
*/
data class CsvRow(
/** Title */
val title: String,
/** String resource ID */
val resourceId: String,
/** Language text map (key: lang code, value: text) */
val langText: Map<String, String>,
)
| 36 | null | 24 | 247 | 1145bebed366f707c1c07bc9e2102322e59f9b61 | 305 | cifs-documents-provider | MIT License |
testing/cpbs/packaging-verification-contract-v1/src/main/kotlin/com/r3/corda/testing/packagingverification/contract/SimpleTokenStateObserver.kt | corda | 346,070,752 | false | null | package net.cordapp.testing.packagingverification.contract
import net.corda.v5.application.crypto.DigestService
import net.corda.v5.ledger.utxo.observer.UtxoLedgerTokenStateObserver
import net.corda.v5.ledger.utxo.observer.UtxoToken
import net.corda.v5.ledger.utxo.observer.UtxoTokenFilterFields
import net.corda.v5.led... | 71 | Kotlin | 9 | 39 | 9790d4f101f2fd8aecc9d083f8a61c21efe089e7 | 751 | corda-runtime-os | Apache License 2.0 |
web/core/src/jsTest/kotlin/MediaQueryTests.kt | JetBrains | 293,498,508 | false | null | /*
* Copyright 2020-2021 JetBrains s.r.o. and respective authors and developers.
* Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE.txt file.
*/
package org.jetbrains.compose.web.core.tests
import org.jetbrains.compose.web.css.CSSMediaRuleDeclaration
import org.jetbrai... | 668 | null | 645 | 9,090 | 97266a0ac8c0d7a8ad8d19ead1c925751a00ff1c | 2,348 | compose-jb | Apache License 2.0 |
src/main/kotlin/uk/gov/justice/digital/hmpps/hmppslaunchpadauth/service/SsoRequestService.kt | ministryofjustice | 650,525,398 | false | {"Kotlin": 226753, "HTML": 2361, "Dockerfile": 1146} | package uk.gov.justice.digital.hmpps.hmppslaunchpadauth.service
import org.slf4j.LoggerFactory
import org.springframework.http.HttpStatus
import org.springframework.stereotype.Service
import uk.gov.justice.digital.hmpps.hmppslaunchpadauth.constant.AuthServiceConstant.Companion.INTERNAL_SERVER_ERROR_MSG
import uk.gov.j... | 3 | Kotlin | 0 | 0 | e87ab79e7804e189e7875b05a8f657bc82c4d016 | 3,272 | hmpps-launchpad-auth | MIT License |
plugins/groovy/groovy-psi/src/org/jetbrains/plugins/groovy/lang/resolve/api/ArgumentMapping.kt | ingokegel | 72,937,917 | false | null | // Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package org.jetbrains.plugins.groovy.lang.resolve.api
import com.intellij.psi.PsiSubstitutor
import com.intellij.psi.PsiType
interface ArgumentMapping<out P : CallParameter> {
... | 1 | null | 1 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 665 | intellij-community | Apache License 2.0 |
compiler/frontend/src/org/jetbrains/kotlin/analyzer/AbstractResolverForProject.kt | JetBrains | 3,432,266 | false | null | /*
* Copyright 2010-2019 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.analyzer
import com.intellij.openapi.util.ModificationTracker
import org.jetbrai... | 5 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 14,443 | kotlin | Apache License 2.0 |
liveview-android/src/main/java/org/phoenixframework/liveview/data/dto/NavigationBarItemDTO.kt | liveview-native | 459,214,950 | false | {"Kotlin": 1516711, "Elixir": 68940} | package org.phoenixframework.liveview.data.dto
import androidx.compose.foundation.layout.PaddingValues
import androidx.compose.foundation.layout.RowScope
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.NavigationBarItem
import androidx.compose.material3.NavigationBarItemColors
import ... | 64 | Kotlin | 3 | 71 | 7f84ecbc9bbacee570c9ce5e759e0285a5f7b8e1 | 9,165 | liveview-client-jetpack | MIT License |
composeApp/src/desktopMain/kotlin/meetnote/RecorderController.kt | tokuhirom | 721,923,549 | false | {"Kotlin": 53506} | package meetnote
interface RecorderController {
fun start()
}
| 1 | Kotlin | 0 | 0 | ec8e85db42107ad61dc826327a6387541dcbc4a8 | 67 | MeetNote | The Unlicense |
compass-conformance-server/src/main/kotlin/science/numcompass/conformance/compass/rest/GeccoConformanceRestResource.kt | NUMde | 391,039,823 | false | null | package science.numcompass.conformance.compass.rest
import ca.uhn.fhir.context.FhirContext
import org.hl7.fhir.r4.model.Bundle
import org.hl7.fhir.r4.model.CapabilityStatement
import org.hl7.fhir.r4.model.OperationOutcome
import org.springframework.http.MediaType.APPLICATION_JSON_VALUE
import org.springframework.http.... | 1 | Kotlin | 2 | 0 | 037367c0bace7dc498284cd9b974462227494bb4 | 4,969 | compass-num-conformance-checker | MIT License |
furniture-k-shop/src/main/kotlin/org/jesperancinha/smtd/furniture/client/ExternalClient.kt | jesperancinha | 369,597,921 | false | {"Java": 98494, "Kotlin": 86678, "Makefile": 668, "Shell": 192, "Dockerfile": 184} | package org.jesperancinha.smtd.furniture.client
import org.jesperancinha.smtd.furniture.model.Chair
import org.springframework.stereotype.Service
import org.springframework.web.client.RestTemplate
@Service
class ExternalClient(
private val restTemplate: RestTemplate
) {
fun externalChairs(): List<Chair> =
... | 1 | Kotlin | 0 | 3 | e4043f03dfcc2b5801c1b6a4f9050523f9ed0665 | 443 | jeorg-spring-master-test-drives | Apache License 2.0 |
src/commonMain/kotlin/com/ashampoo/kim/format/tiff/taginfos/TagInfoAsciiOrRational.kt | Ashampoo | 647,186,626 | false | null | /*
* Copyright 2024 Ashampoo GmbH & Co. KG
* Copyright 2007-2023 The Apache Software Foundation
*
* 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/... | 8 | null | 8 | 98 | b3dac7e88bb03636b68099ed065a81bd0e5e3d08 | 1,018 | kim | Apache License 2.0 |
shared/src/commonMain/kotlin/com/ramitsuri/podcasts/network/model/EpisodeDto.kt | ramitsuri | 760,212,962 | false | {"Kotlin": 558852, "Shell": 9622, "Swift": 296} | package com.ramitsuri.podcasts.network.model
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
internal data class EpisodeDto(
@SerialName("guid")
val id: String,
@SerialName("feedId")
val podcastId: Long,
@SerialName("title")
val title: String,
... | 2 | Kotlin | 0 | 1 | b43522bae0113efa5eceb5505c19c8b57cfb27d9 | 751 | podcasts | MIT License |
app/src/main/java/com/cornellappdev/uplift/ui/components/home/SportButton.kt | cuappdev | 596,747,757 | false | null | package com.cornellappdev.uplift.ui.components.home
import androidx.compose.foundation.clickable
import androidx.compose.foundation.interaction.MutableInteractionSource
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxSize
i... | 2 | Kotlin | 0 | 1 | c3f70c126efe38f1bb6376f6cc810e5e0c0cbb70 | 2,655 | uplift-android | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.