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/cn/haohao/dbbook/di/subcomponent/comment/BookCommentActivityComponent.kt | githubhaohao | 95,271,877 | false | null | package cn.haohao.dbbook.di.subcomponent.comment
import cn.haohao.dbbook.di.scope.ActivityScope
import cn.haohao.dbbook.presentation.activity.BookCommentActivity
import dagger.Subcomponent
/**
* Created by HaohaoChang on 2017/6/22.
*/
@ActivityScope
@Subcomponent(modules = arrayOf(BookCommentActivityModule::class))... | 1 | null | 32 | 163 | bc08d6dd89fc86304b2b95cc1c2b3f67b55ee451 | 411 | DoubanBook | Apache License 2.0 |
app/src/main/java/org/plavelo/puppy/presentation/ui/home/Home.kt | plavelo | 342,108,138 | 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 | 2e5c123278c7c8bd26882b7cf1450c23c306ea96 | 3,842 | compose-puppy | Apache License 2.0 |
app/src/main/java/ru/nbsp/pushka/network/model/subscription/NetworkListItem.kt | dimorinny | 51,604,851 | false | null | package ru.nbsp.pushka.network.model.subscription
import com.google.gson.annotations.SerializedName
/**
* Created by Dimorinny on 12.04.16.
*/
data class NetworkListItem(
@SerializedName("name") val name: String,
@SerializedName("value") val value: String,
@SerializedName("description") val ... | 0 | Kotlin | 0 | 0 | 71ac416b33f628bbcec12fad4776f7abc242c882 | 395 | pushka-android | MIT License |
app/src/main/java/io/github/lee0701/gukhanwiki/android/MainViewModel.kt | Lee0701 | 614,771,876 | false | null | package io.github.lee0701.gukhanwiki.android
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import io.github.lee0701.gukhanwiki.android.api.GukhanWikiApi
import io.github.lee0701.gukhanwiki.android.auth.AccountHe... | 3 | Kotlin | 0 | 0 | 96540c6c74b0e91cbe1c8d36f7690c7bfc1766e3 | 3,280 | GukhanWiki-App-Android | Apache License 2.0 |
src/main/kotlin/dev/toastmc/toastclient/api/util/TwoDRenderUtil.kt | moaihax | 373,132,752 | true | {"Kotlin": 179655, "Java": 60307, "GLSL": 3084} | package dev.toastmc.toastclient.api.util
import com.mojang.blaze3d.systems.RenderSystem
import net.minecraft.client.render.BufferBuilder
import net.minecraft.client.render.BufferRenderer
import net.minecraft.client.render.Tessellator
import net.minecraft.client.render.VertexFormats
import net.minecraft.client.util.mat... | 0 | null | 0 | 0 | 7620e7e85641c4b6bdc65e970c440c602d138740 | 7,829 | ToastClient | Creative Commons Zero v1.0 Universal |
app/src/main/java/com/rmtz/calendar/libs/Greetings.kt | remithzu | 829,031,874 | false | {"Kotlin": 91291} | package com.rmtz.calendar.libs
class Greetings {
companion object {
fun Generate(): String {
val greetings = listOf(
"guten Tag",
"good evening",
"what's the rumpus?",
"how's it going?",
"what's the dilly?",
... | 0 | Kotlin | 0 | 0 | 404814aa60831ed36bbcbd88b93efa0ee386fe33 | 4,710 | Calendar | Creative Commons Zero v1.0 Universal |
src/main/kotlin/com/github/mikhailstepanov88/protobuf_kotlin/internal/plugin/configurer/ProtobufPluginConfigurer.kt | mikhailstepanov88 | 151,469,736 | false | null | package com.github.mikhailstepanov88.protobuf_kotlin.internal.plugin.configurer
import com.google.protobuf.gradle.ExecutableLocator
import com.google.protobuf.gradle.ProtobufConvention
import com.google.protobuf.gradle.ProtobufPlugin
import groovy.lang.Closure
import org.gradle.api.Project
import org.gradle.internal.C... | 0 | Kotlin | 0 | 0 | f06bf26d1353cb89f2353c05684a214128368ca9 | 2,031 | protobuf_kotlin | Apache License 2.0 |
sample-kotlin/src/main/kotlin/io/pixeloutlaw/gradle/SampleKotlin.kt | PixelOutlaw | 158,041,863 | false | null | package io.pixeloutlaw.gradle
import io.pixeloutlaw.gradle.sample_kotlin.BuildConfig
fun main(args: Array<String>) {
println("BuildConfig.NAME: ${BuildConfig.NAME}")
println("BuildConfig.VERSION: ${BuildConfig.VERSION}")
}
| 12 | Kotlin | 0 | 7 | 8a5ef252a9a4b81ad68d388ba0cce9ed6bca4ce8 | 233 | buildconfig-gradle-plugin | MIT License |
app/src/main/java/com/skydoves/disneycompose/ui/main/Main.kt | xenion0 | 303,983,070 | true | {"Kotlin": 97798} | /*
* Designed and developed by 2020 skydoves (Jaewoong Eum)
*
* 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 appl... | 0 | null | 0 | 1 | a981c75021354451e29717ac9e3f128ef3e4b69b | 2,553 | DisneyCompose | Apache License 2.0 |
HamsterListCore/src/commonMain/kotlin/org/stratum0/hamsterlist/viewmodel/shoppinglist/ShoppingListState.kt | Evylon | 597,770,657 | false | {"Kotlin": 52270, "Swift": 12964} | package org.stratum0.hamsterlist.viewmodel.shoppinglist
import org.stratum0.hamsterlist.models.Amount
import org.stratum0.hamsterlist.models.CategoryDefinition
import org.stratum0.hamsterlist.models.Item
import org.stratum0.hamsterlist.models.Order
import org.stratum0.hamsterlist.models.SyncedShoppingList
import org.s... | 17 | Kotlin | 0 | 2 | 282746a0500f0024283bb84dedc1779ead9b19ed | 2,351 | HamsterList-Native | MIT License |
app/src/main/java/com/funs/eye/ui/community/follow/FollowAdapter.kt | hhhcan | 507,734,165 | false | null | package com.funs.eye.ui.community.follow
import android.app.Activity
import android.view.View
import android.view.ViewGroup
import android.widget.ImageView
import android.widget.TextView
import androidx.paging.PagingDataAdapter
import androidx.recyclerview.widget.DiffUtil
import androidx.recyclerview.widget.RecyclerVi... | 0 | Kotlin | 0 | 0 | a127a42d98aa6e8d0d793d74d057f1ac3d5c2799 | 9,787 | FunsEye | Apache License 2.0 |
bin/main/com/jahnelgroup/controller/admin/groups/AdminGroupSearchController.kt | JahnelGroup | 168,455,772 | false | {"HTML": 130381, "Kotlin": 99201, "JavaScript": 23425, "TSQL": 17712, "CSS": 5254, "Dockerfile": 544} | package com.jahnelgroup.controller.admin.groups
import com.jahnelgroup.domain.user.group.GroupRepo
import org.springframework.stereotype.Controller
import org.springframework.ui.Model
import org.springframework.web.bind.annotation.GetMapping
import org.springframework.web.bind.annotation.RequestParam
@Controller
clas... | 0 | HTML | 2 | 1 | d97822fd4a348d83a984c031a55b2b0b523f2f04 | 834 | thymeleaf-starter | MIT License |
app/src/main/java/za/co/topcode/locationtracker/activity/MainActivity.kt | Ndivhuwo | 190,259,098 | false | null | package za.co.topcode.locationtracker.activity
import android.Manifest
import android.content.BroadcastReceiver
import android.content.Context
import android.content.Intent
import android.content.IntentFilter
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.os.PersistableBundle
i... | 0 | Kotlin | 0 | 0 | ef027b13c1b275fbda433319f0a57a414392f1b0 | 8,893 | LocationTracker | Apache License 2.0 |
app/src/main/java/com/michaelpohl/loopyplayer2/ui/player/adapter/PlayerItemDiffCallback.kt | sengeiou | 399,080,822 | true | {"Kotlin": 174639, "C++": 116370, "CMake": 1199, "Java": 156} | package com.michaelpohl.loopyplayer2.ui.player.adapter
import androidx.recyclerview.widget.DiffUtil
import com.michaelpohl.loopyplayer2.common.AudioModel
class PlayerItemDiffCallback : DiffUtil.ItemCallback<AudioModel>() {
override fun areItemsTheSame(oldItem: AudioModel, newItem: AudioModel): Boolean {
... | 0 | null | 0 | 0 | d051fce9ed908aa60218c3a6e752293439e41355 | 503 | Loopy | Apache License 2.0 |
app/src/main/java/com/tawk/framework/mvvm/paging/BaseListRepository.kt | evankhan1234 | 423,089,159 | false | {"Gradle": 3, "Java Properties": 4, "Shell": 1, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "Ignore List": 2, "JSON": 1, "Kotlin": 59, "XML": 194, "Java": 5, "INI": 3} | package com.tawk.framework.mvvm.paging
import androidx.paging.PagingData
import kotlinx.coroutines.flow.Flow
interface BaseListRepository<T: Any> {
fun getList(): Flow<PagingData<T>>
} | 0 | Kotlin | 0 | 0 | 26608cfb6d1cbce0f90540de6595082ba824ae43 | 191 | Tawk | Apache License 2.0 |
app/src/androidTest/java/com/akshay/roomaccounting/di/TestDatabaseModule.kt | anandwana001 | 470,781,738 | false | {"Kotlin": 185228} | /**
* Created by anandwana001 on
* 02, March, 2022
**/
package com.akshay.roomaccounting.di
import androidx.room.Room
import androidx.test.core.app.ApplicationProvider
import com.akshay.roomaccounting.data.FakeDatabaseHelperImpl
import com.akshay.roomaccounting.data.dao.InvoiceDao
import com.akshay.roomaccounting.... | 0 | Kotlin | 2 | 29 | 9901444c7e94063f80c244b7b3b54a09a2141727 | 1,443 | RoomAccounting | MIT License |
data/car/src/main/java/com/masselis/tpmsadvanced/data/car/interfaces/VehicleDatabase.kt | VincentMasselis | 501,773,706 | false | null | package com.masselis.tpmsadvanced.data.car.interfaces
import app.cash.sqldelight.coroutines.asFlow
import app.cash.sqldelight.coroutines.mapToList
import app.cash.sqldelight.coroutines.mapToOne
import app.cash.sqldelight.coroutines.mapToOneOrNull
import com.masselis.tpmsadvanced.data.car.Database
import com.masselis.t... | 1 | Kotlin | 0 | 0 | 5bafb38a3ffd99ec059d9d5c497631f2e2e54e5c | 4,533 | TPMS-advanced | Apache License 2.0 |
core/src/main/java/nl/adaptivity/android/coroutines/FragmentCoroutineScopeWrapper.kt | pdvrieze | 112,604,596 | false | null | package nl.adaptivity.android.coroutines
import android.app.Activity
import android.app.Fragment
import android.app.FragmentManager
import android.content.Intent
import android.os.Build
import android.os.Bundle
import android.support.annotation.IdRes
import android.support.annotation.RequiresApi
import android.view.Vi... | 0 | Kotlin | 10 | 114 | 3e380a07e4dd3412db391cb90fe06a8adb01f1a9 | 2,798 | android-coroutines | Apache License 2.0 |
app/shared/nfc/fake/src/commonMain/kotlin/build/wallet/nfc/NfcTransactorMock.kt | proto-at-block | 761,306,853 | false | {"C": 10424094, "Kotlin": 7156393, "Rust": 2046237, "Swift": 700307, "Python": 331492, "HCL": 271992, "Shell": 111209, "TypeScript": 102700, "C++": 64770, "Meson": 64234, "JavaScript": 36227, "Just": 28071, "Ruby": 9428, "Dockerfile": 5731, "Makefile": 3839, "Open Policy Agent": 1552, "Procfile": 80} | package build.wallet.nfc
import app.cash.turbine.Turbine
import com.github.michaelbull.result.Err
import com.github.michaelbull.result.Result
import com.github.michaelbull.result.map
import com.github.michaelbull.result.toErrorIfNull
class NfcTransactorMock(
turbine: (String) -> Turbine<Any>,
) : NfcTransactor {
... | 0 | C | 10 | 98 | 1f9f2298919dac77e6791aa3f1dbfd67efe7f83c | 803 | bitkey | MIT License |
app/src/main/java/com/mikepenz/materialdrawer/app/FullscreenDrawerActivity.kt | sowmithasrimathi | 255,108,281 | false | null | package com.mikepenz.materialdrawer.app
import android.graphics.Color
import android.os.Build
import android.os.Bundle
import android.view.MenuItem
import androidx.appcompat.app.AppCompatActivity
import androidx.core.view.ViewCompat
import androidx.core.view.updatePadding
import com.mikepenz.iconics.typeface.library.f... | 2 | Kotlin | 0 | 0 | fdbe67378e5efb931776fddf22072b9fc45baf4a | 4,986 | design | Apache License 2.0 |
app/src/main/java/com/vladislawfox/scout/data/network/services/UserService.kt | vladislawfox | 336,657,588 | false | null | package com.vladislawfox.scout.data.network.services
import com.vladislawfox.scout.data.network.model.auth.SessionApiModel
import com.vladislawfox.scout.data.network.model.auth.TokenApiModel
import com.vladislawfox.scout.data.network.request.DeleteSessionRequest
import com.vladislawfox.scout.data.network.request.Sessi... | 0 | Kotlin | 0 | 0 | 71357bb78e34164eca518230457a77c64a38b9c3 | 1,264 | Scout | MIT License |
models/src/main/java/com/vimeo/networking2/params/GrantFolderPermissionForUser.kt | vimeo | 41,306,732 | false | null | package com.vimeo.networking2.params
import com.squareup.moshi.Json
import com.squareup.moshi.JsonClass
/**
* Represents a User URI being used to grant permission for a particular folder.
*
* @param uri The user URI that will be added to the given folder.
*/
@JsonClass(generateAdapter = true)
data class GrantFo... | 21 | Kotlin | 52 | 123 | e4f31d4fa144756d576101b3a82120657e9e8a51 | 389 | vimeo-networking-java | MIT License |
core/src/commonMain/kotlin/maryk/core/query/changes/DataObjectChange.kt | marykdb | 290,454,412 | false | null | package maryk.core.query.changes
import maryk.core.exceptions.ContextNotFoundException
import maryk.core.models.IsRootDataModel
import maryk.core.models.QueryModel
import maryk.core.properties.definitions.InternalMultiTypeDefinition
import maryk.core.properties.definitions.contextual.ContextCaptureDefinition
import ma... | 1 | null | 1 | 8 | 287377518680ab59adeb3bb93d1e37f8329e5eb7 | 3,116 | maryk | Apache License 2.0 |
app/src/main/java/com/lipata/forkauthority/businesslist/SettingsFragment.kt | jplipata | 48,149,563 | false | {"Java": 114584, "Kotlin": 51485} | package com.lipata.forkauthority.businesslist
import android.os.Bundle
import android.text.InputType
import androidx.preference.EditTextPreference
import androidx.preference.Preference
import androidx.preference.PreferenceFragmentCompat
import com.lipata.forkauthority.R
import timber.log.Timber
class SettingsFragment... | 6 | Java | 1 | 1 | fe8711758fce8ef6136b7778f105c495592ccf2a | 1,498 | fork-authority | Apache License 2.0 |
core/src/main/kotlin/com/weedow/spring/data/search/validation/validator/AbstractFieldPathValidator.kt | gitter-badger | 310,432,814 | true | {"Kotlin": 400259, "Java": 16661, "ANTLR": 2692} | package com.weedow.spring.data.search.validation.validator
import com.weedow.spring.data.search.expression.FieldExpression
import com.weedow.spring.data.search.validation.DataSearchValidator
/**
* Base Class of [DataSearchValidator] to validate [FieldExpressions][FieldExpression] according to their [field path][Fiel... | 0 | null | 0 | 0 | d6a214fa822bd2b694625358c157d2bf715de27e | 1,598 | spring-data-search | MIT License |
dpadrecyclerview/src/androidTest/kotlin/com/rubensousa/dpadrecyclerview/test/tests/PivotLayoutManagerTest.kt | rubensousa | 530,412,665 | false | {"Kotlin": 1070776, "Shell": 2961} | /*
* 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... | 3 | Kotlin | 16 | 120 | fdf11e50a87209e4ec2a4f6315cca17249728a80 | 1,586 | DpadRecyclerView | Apache License 2.0 |
dpadrecyclerview/src/androidTest/kotlin/com/rubensousa/dpadrecyclerview/test/tests/PivotLayoutManagerTest.kt | rubensousa | 530,412,665 | false | {"Kotlin": 1070776, "Shell": 2961} | /*
* 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... | 3 | Kotlin | 16 | 120 | fdf11e50a87209e4ec2a4f6315cca17249728a80 | 1,586 | DpadRecyclerView | Apache License 2.0 |
dsl/src/main/kotlin/io/cloudshiftdev/awscdkdsl/services/quicksight/CfnTemplateAxisLinearScalePropertyDsl.kt | cloudshiftinc | 667,063,030 | false | null | @file:Suppress(
"RedundantVisibilityModifier",
"RedundantUnitReturnType",
"RemoveRedundantQualifierName",
"unused",
"UnusedImport",
"ClassName",
"REDUNDANT_PROJECTION",
"DEPRECATION"
)
package cloudshift.awscdk.dsl.services.quicksight
import cloudshift.awscdk.common.CdkDslMarker
import... | 3 | null | 0 | 3 | c59c6292cf08f0fc3280d61e7f8cff813a608a62 | 1,639 | awscdk-dsl-kotlin | Apache License 2.0 |
app/src/main/java/com/mathewsachin/fategrandautomata/ui/skill_maker/SkillMakerSpaceIshtar.kt | Fate-Grand-Automata | 245,391,245 | false | null | package com.mathewsachin.fategrandautomata.ui.skill_maker
import android.content.res.Configuration
import androidx.compose.foundation.layout.*
import androidx.compose.runtime.Composable
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.res.colorResource
import androidx... | 162 | Kotlin | 171 | 950 | 68a6aa1d375fe982fd8485d630d97a4d86ca90a9 | 2,167 | FGA | MIT License |
presentation/src/main/kotlin/io/petros/reviews/presentation/di/dagger/viewmodel/ViewModelKey.kt | ParaskP7 | 149,102,508 | false | null | package io.petros.reviews.presentation.di.dagger.viewmodel
import android.arch.lifecycle.ViewModel
import dagger.MapKey
import kotlin.reflect.KClass
@MustBeDocumented
@Target(AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER)
@Retention(AnnotationRetention.RUNTIME)
@MapKey
... | 0 | Kotlin | 2 | 4 | 1404da0b72dcbe0b3fdbc153956bc68c6a45ad33 | 384 | sample-code-reviews | Apache License 2.0 |
app/src/main/java/io/mangel/issuemanager/activities/IssueManagerApplication.kt | baupen | 198,594,527 | false | {"Kotlin": 125520} | package io.mangel.issuemanager.activities
import android.app.Application
import com.jakewharton.threetenabp.AndroidThreeTen
@Suppress("unused")
class IssueManagerApplication : Application() {
override fun onCreate() {
super.onCreate()
AndroidThreeTen.init(this)
}
} | 0 | Kotlin | 0 | 1 | cb04e3b82925c230fc112f4a1f6397bdb2863b91 | 292 | Android | MIT License |
shuttle/payments/domain/src/main/kotlin/shuttle/payments/domain/paymentsDomainModule.kt | 4face-studi0 | 462,194,990 | false | null | package shuttle.payments.domain
import org.koin.dsl.module
import shuttle.payments.domain.usecase.GetProductDetails
import shuttle.payments.domain.usecase.GetProductPrice
val paymentsDomainModule = module {
factory { GetProductDetails(repository = get()) }
factory { GetProductPrice(repository = get()) }
}
| 11 | Kotlin | 0 | 14 | 55ab90f13bb96e10add14d45cd3117ada38262ed | 318 | Shuttle | Apache License 2.0 |
fragment/src/main/java/com/angcyo/fragment/IFragment.kt | angcyo | 229,037,615 | false | {"Kotlin": 6679778, "JavaScript": 5194} | package com.angcyo.fragment
import android.view.View
/**
* Created by angcyo on 2018/12/04 23:32
*
* @author angcyo
*/
interface IFragment : IBackPressed {
/**
* 是否可以滑动返回
*
* @return true 允许
*/
fun canSwipeBack(): Boolean
/**是否可以Fling返回*/
fun canFlingBack(): Boolean
/**
... | 0 | Kotlin | 6 | 4 | eefa12da4c2234580d9da65de4b573704c356de3 | 599 | UICore | MIT License |
app/src/main/java/com/battlelancer/seriesguide/jobs/HexagonMovieJob.kt | UweTrottmann | 1,990,682 | false | null | // Copyright 2023 Uwe Trottmann
// SPDX-License-Identifier: Apache-2.0
package com.battlelancer.seriesguide.jobs
import android.content.Context
import com.battlelancer.seriesguide.backend.HexagonTools
import com.battlelancer.seriesguide.jobs.episodes.JobAction
import com.battlelancer.seriesguide.jobs.episodes.JobActi... | 56 | null | 403 | 1,966 | c7bc6445ecc58b841c1887a56146dc2d2f817007 | 2,955 | SeriesGuide | Apache License 2.0 |
android/app/src/main/java/com/bwqr/mavinote/ui/note/Notes.kt | bwqr | 487,237,092 | false | null | package com.bwqr.mavinote.ui.note
import android.util.Log
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.... | 3 | Rust | 0 | 13 | a804eb65617ff7474093815649376d02b290fb87 | 5,715 | mavinote | Apache License 2.0 |
components-core/src/test/java/com/airwallex/android/core/model/PaymentConsentCreateRequestTest.kt | airwallex | 231,053,387 | false | {"Kotlin": 883241} | package com.airwallex.android.core.model
import org.junit.Test
import kotlin.test.assertEquals
import kotlin.test.assertNull
class PaymentConsentCreateRequestTest {
private val requestBuilder = PaymentConsentCreateRequest.Builder()
.setRequestId("3d702b7b-ac7a-46b5-bf62-9fee0dd713bf")
.setCustome... | 2 | Kotlin | 12 | 7 | 993f4e8a5f60bf47fe8b3bb1fe140c09b1610d0a | 3,714 | airwallex-payment-android | MIT License |
lib/src/androidMain/kotlin/kottieAnimation/kottieAnimation.android.kt | ismai117 | 738,651,050 | false | {"Kotlin": 60735, "Swift": 585, "Shell": 579, "HTML": 573, "JavaScript": 475} | package kottieAnimation
import androidx.compose.foundation.background
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.Color
import com.airbnb.lottie.LottieComposition
import com.airbnb.lottie.compose.LottieAnimation
import contentScale.ContentScale
@C... | 0 | Kotlin | 8 | 209 | 50a3a9764f1afbee0ea4406fc14dc1717b5ec8ea | 1,083 | kottie | Apache License 2.0 |
libs/pandautils/src/main/java/com/instructure/pandautils/features/about/AboutFragment.kt | instructure | 179,290,947 | false | {"Kotlin": 16085132, "Dart": 4413539, "HTML": 185120, "Ruby": 32390, "Shell": 19157, "Java": 13488, "Groovy": 11717, "JavaScript": 9505, "CSS": 1356, "Swift": 404, "Dockerfile": 112, "Objective-C": 37} | /*
* Copyright (C) 2023 - present Instructure, 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 requ... | 7 | Kotlin | 102 | 127 | f82ec380673be5812c88bbc6b15c3d960515c6d8 | 2,150 | canvas-android | Apache License 2.0 |
web3walletcore/src/commonMain/kotlin/com/sonsofcrypto/web3walletcore/common/viewModels/BarButtonViewModel.kt | sonsofcrypto | 454,978,132 | false | {"Kotlin": 1509884, "Swift": 1162610, "Jupyter Notebook": 183824, "Objective-C": 77663, "Python": 39465, "Go": 20697, "C": 15793, "Java": 12789, "Shell": 4516} | package com.sonsofcrypto.web3walletcore.common.viewModels
data class BarButtonViewModel(
val title: String? = null,
val image: ImageMedia? = null,
val hidden: Boolean = false
) | 1 | Kotlin | 2 | 6 | 4bc8b9aadd9829dbdcec5c9095b803227f063ee7 | 189 | web3wallet | MIT License |
libs/serialization/serialization-amqp/src/main/kotlin/net/corda/internal/serialization/amqp/standard/AMQPPrimitiveSerializer.kt | corda | 346,070,752 | false | {"Kotlin": 20585393, "Java": 308202, "Smarty": 115357, "Shell": 54409, "Groovy": 30246, "PowerShell": 6470, "TypeScript": 5826, "Solidity": 2024, "Batchfile": 244} | package net.corda.serialization.internal.amqp
import net.corda.core.serialization.SerializationContext
import org.apache.qpid.proton.amqp.Binary
import org.apache.qpid.proton.amqp.Symbol
import org.apache.qpid.proton.codec.Data
import java.lang.reflect.Type
/**
* Serializer / deserializer for native AMQP types (Int,... | 62 | Kotlin | 27 | 69 | 0766222eb6284c01ba321633e12b70f1a93ca04e | 1,326 | corda-runtime-os | Apache License 2.0 |
app/src/main/kotlin/dev/fobo66/factcheckerassistant/ui/theme/Color.kt | fobo66 | 257,629,867 | false | {"Kotlin": 68447} | package dev.fobo66.factcheckerassistant.ui.theme
import androidx.compose.ui.graphics.Color
val primaryLight = Color(0xFF8D4E2A)
val onPrimaryLight = Color(0xFFFFFFFF)
val primaryContainerLight = Color(0xFFFFDBCA)
val onPrimaryContainerLight = Color(0xFF331100)
val secondaryLight = Color(0xFF8C4E29)
val onSecondaryLig... | 7 | Kotlin | 1 | 6 | 9d8ff8a5ae2e1bcc8a531e595cc2825c704391cd | 3,089 | FactCheckerAssistant | The Unlicense |
pluto-plugins/plugins/network/lib/src/main/java/com/pluto/plugins/network/internal/interceptor/ui/components/CommonDetailsComponents.kt | androidPluto | 390,471,457 | false | null | package com.pluto.plugins.network.internal.interceptor.ui.components
import android.content.Context
import com.pluto.plugins.network.R
import com.pluto.plugins.network.internal.interceptor.logic.ProcessedBody
import com.pluto.plugins.network.internal.interceptor.logic.formatSizeAsBytes
import com.pluto.utilities.exten... | 16 | Kotlin | 58 | 609 | c98b82be0c004617f9f0447444a7b87370119ebf | 4,128 | pluto | Apache License 2.0 |
dynamic/src/main/java/com/github/rviannaoliveira/dynamic/presentation/renderes/ViewRenderer.kt | rviannaoliveira | 418,187,280 | false | {"Kotlin": 23494} | package com.github.rviannaoliveira.dynamic.presentation.renderes
import android.view.ViewGroup
import androidx.recyclerview.widget.RecyclerView
import com.github.rviannaoliveira.dynamic.domain.model.DynamicActionProperties
import com.github.rviannaoliveira.dynamic.domain.model.SimpleProperties
abstract class ViewRend... | 0 | Kotlin | 2 | 3 | be2f2c435974e76eb71fc8b875ff0cb407bef400 | 654 | DynamicView | Apache License 2.0 |
solar/src/main/java/com/chiksmedina/solar/outline/folders/AddFolder.kt | CMFerrer | 689,442,321 | false | {"Kotlin": 36591890} | package com.chiksmedina.solar.outline.folders
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion... | 0 | Kotlin | 0 | 0 | 3414a20650d644afac2581ad87a8525971222678 | 6,576 | SolarIconSetAndroid | MIT License |
Extractor/Gradle/plugin/core/src/main/kotlin/net/meilcli/bibliothekar/extractor/plugin/core/pom/InMemoryPomCache.kt | MeilCli | 577,465,825 | false | {"Kotlin": 276465, "TypeScript": 28176, "JavaScript": 194} | package net.meilcli.bibliothekar.extractor.plugin.core.pom
import net.meilcli.bibliothekar.extractor.plugin.core.entities.Dependency
import net.meilcli.bibliothekar.extractor.plugin.core.entities.Pom
import java.util.concurrent.ConcurrentHashMap
class InMemoryPomCache : IPomCache {
private val cache = Concurrent... | 8 | Kotlin | 0 | 2 | a5e51788df8d366bbe780a30dba7404354c3c157 | 525 | Bibliothekar | MIT License |
backend/src/main/kotlin/dev/dres/api/rest/handler/evaluation/viewer/GetEvaluationStateHandler.kt | dres-dev | 248,713,193 | false | {"Kotlin": 942970, "TypeScript": 466681, "HTML": 192895, "SCSS": 12579, "JavaScript": 1835, "Shell": 925, "Dockerfile": 412} | package dev.dres.api.rest.handler.evaluation.viewer
import dev.dres.api.rest.handler.GetRestHandler
import dev.dres.utilities.extensions.eligibleManagerForId
import dev.dres.utilities.extensions.evaluationId
import dev.dres.utilities.extensions.isParticipant
import dev.dres.api.rest.types.evaluation.ApiEvaluationState... | 37 | Kotlin | 3 | 14 | 7fbe29f3d77f105fc6e1ae31c76bac7fd39a6bae | 2,158 | DRES | MIT License |
app/src/main/java/com/szlachta/medialibrary/ui/home/TabsPagerAdapter.kt | bartlomiej-szlachta | 252,731,965 | false | null | package com.szlachta.medialibrary.ui.home
import android.os.Bundle
import androidx.fragment.app.Fragment
import androidx.viewpager2.adapter.FragmentStateAdapter
import com.szlachta.medialibrary.model.ItemStatusEnum
import com.szlachta.medialibrary.model.ItemTypeEnum
class TabsPagerAdapter(
container: Fragment,
... | 0 | Kotlin | 0 | 0 | eacb7f3d4ec8ede458813bed2389f471e8aecaba | 796 | media-library | MIT License |
verik-compiler/src/main/kotlin/io/verik/compiler/serialize/source/SourceSerializerVisitor.kt | frwang96 | 269,980,078 | false | null | /*
* Copyright (c) 2021 <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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | 0 | null | 1 | 7 | a40d6195f3b57bebac813b3e5be59d17183433c7 | 16,795 | verik | Apache License 2.0 |
ontrack-extension-git/src/test/java/net/nemerosa/ontrack/extension/git/support/GitCommitPropertyCommitLinkIT.kt | nemerosa | 19,351,480 | false | null | package net.nemerosa.ontrack.extension.git.support
import net.nemerosa.ontrack.extension.git.AbstractGitTestJUnit4Support
import org.junit.Test
import kotlin.test.assertEquals
import kotlin.test.assertNotNull
class GitCommitPropertyCommitLinkIT : AbstractGitTestJUnit4Support() {
@Test(expected = NoGitCommitProp... | 57 | null | 27 | 97 | 7c71a3047401e088ba0c6d43aa3a96422024857f | 2,773 | ontrack | MIT License |
src/main/kotlin/at/rechnerherz/example/domain/account/auth/AuthenticationRepository.kt | rechnerherz | 292,055,822 | false | null | package at.rechnerherz.example.domain.account.auth
import at.rechnerherz.example.domain.account.Account
import org.springframework.security.core.Authentication
/**
* A custom repository for fetching accounts by [Authentication], implemented by [AuthenticationRepositoryImpl].
*
* [Custom implementations for Spring ... | 0 | Kotlin | 0 | 3 | 475b6ec7f1b0d4df9c9894f8731d73d06bfef990 | 1,034 | spring-boot-kotlin-rest-api-template | Apache License 2.0 |
fragments/src/main/java/com/kylecorry/andromeda/fragments/FragmentExtensions.kt | kylecorry31 | 394,273,851 | false | null | package com.kylecorry.andromeda.fragments
import androidx.annotation.IdRes
import androidx.fragment.app.Fragment
import androidx.fragment.app.FragmentActivity
import androidx.fragment.app.commit
import com.google.android.material.bottomsheet.BottomSheetDialogFragment
fun Fragment.switchToFragment(
fragment: Fragm... | 22 | Kotlin | 0 | 6 | ab71d7e725539a6146a2b4a816ac65939e759259 | 869 | andromeda | MIT License |
csv-core/src/commonMain/kotlin/io/github/gciatto/csv/impl/AbstractParser.kt | gciatto | 679,157,456 | false | null | package io.github.gciatto.csv.impl
import io.github.gciatto.csv.Configuration
import io.github.gciatto.csv.Header
import io.github.gciatto.csv.Parser
import io.github.gciatto.csv.Row
import io.github.gciatto.csv.anonymousHeader
import io.github.gciatto.csv.headerOf
import io.github.gciatto.csv.recordOf
abstract class... | 9 | null | 0 | 1 | 547f773bf335c5148d012293df3eea6d6eda0473 | 1,827 | mpp4rs-code | Apache License 2.0 |
app/src/main/java/com/first/kotlin/bean/GridInfo.kt | huoqiling | 149,223,868 | false | null | package com.first.kotlin.bean
/**
* kotlin Gird 实体
*/
class GridInfo {
var url: String = ""
var explain: String = ""
constructor(url: String, explain: String) {
this.url = url
this.explain = explain
}
}
| 1 | null | 1 | 1 | 422b0549b612af3f83870d584e0867d1c18342d1 | 240 | KotinStudy | Apache License 2.0 |
app/src/main/kotlin/br/com/atlas/extension/Calendar.kt | rodrigosimoesrosa | 197,280,546 | false | null | package br.com.atlas.extension
import java.text.DateFormat
import java.text.SimpleDateFormat
import java.util.Calendar
import java.util.Locale
/**
* Created by rodrigosimoesrosa on 15/01/18.
* Copyright © 2019. All rights reserved.
*/
const val DEFAULT = "yyyy-MM-dd"
const val ISO8601 = "yyyy-MM-dd'T'HH:mm:ss'Z'"
... | 0 | Kotlin | 0 | 0 | b10044ec3fc7de8d1e4b0399670d0bac1249147e | 954 | atlas-challenge | MIT License |
build-logic/src/main/kotlin/app/rickandmorty/gradle/plugins/FirebasePerfPlugin.kt | simonlebras | 628,022,976 | false | null | package app.rickandmorty.gradle.plugins
import app.rickandmorty.gradle.utils.implementation
import org.gradle.accessors.dm.LibrariesForLibs
import org.gradle.api.Plugin
import org.gradle.api.Project
import org.gradle.kotlin.dsl.dependencies
import org.gradle.kotlin.dsl.the
public class FirebasePerfPlugin : Plugin<Pro... | 6 | Kotlin | 0 | 0 | e99d940482cf1a2678d8748938f3810d917ce0b0 | 743 | rickandmorty | MIT License |
vgscollect/src/main/java/com/verygoodsecurity/vgscollect/view/card/filter/MutableCardFilter.kt | verygoodsecurity | 273,198,410 | false | {"Kotlin": 1128775, "Python": 210} | package com.verygoodsecurity.vgscollect.view.card.filter
import com.verygoodsecurity.vgscollect.view.card.CardBrand
/** @suppress */
interface MutableCardFilter : VGSCardFilter {
fun addCustomCardBrand(brand: CardBrand)
fun setValidCardBrands(cardBrands: List<CardBrand>)
} | 6 | Kotlin | 9 | 8 | 119d3479daccc789039e3f5d9bc08d6e7e9556e5 | 285 | vgs-collect-android | MIT License |
compose-core/src/main/java/com/qmuiteam/compose/core/ui/DefaultConfig.kt | Tencent | 88,970,564 | false | null | package com.qmuiteam.compose.core.ui
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.unit.dp
val qmuiPrimaryColor = Color(0xFF00A8E1)
val qmuiSeparatorColor = Color(0xFFCCCCCC)
val qmuiIndicationColor = Color(0xFF777777)
val qmuiTextMainColor = Color.Black
val qmuiTextDescColor = Color(0xFF666666... | 424 | null | 2672 | 14,373 | 026e7d486677d6593a96689cd590ec3561176717 | 551 | QMUI_Android | Apache License 2.0 |
navigation-compose/src/main/kotlin/com/freeletics/khonshu/navigation/androidx/internal/Bundle.kt | freeletics | 375,363,637 | false | null | package com.freeletics.khonshu.navigation.internal
import android.os.Bundle
import com.freeletics.khonshu.navigation.ActivityRoute
import com.freeletics.khonshu.navigation.BaseRoute
import com.freeletics.khonshu.navigation.EXTRA_ROUTE
@InternalNavigationApi
public fun <T : BaseRoute> Bundle?.requireRoute(): T {
r... | 6 | null | 9 | 93 | 09d50bd2fb69390ba9e9428399340b265075d683 | 938 | khonshu | Apache License 2.0 |
app/src/main/java/com/mathewsachin/fategrandautomata/ui/skill_maker/SkillMakerHistoryAdapter.kt | MaxAkito | 297,404,165 | true | {"Kotlin": 401888} | package com.mathewsachin.fategrandautomata.ui.skill_maker
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import androidx.recyclerview.widget.RecyclerView
import com.google.android.material.card.MaterialCardView
import com.mathewsachin.fategranda... | 0 | Kotlin | 1 | 1 | 5ea4e1478d4ac76c14ac9207d626103a6316e047 | 3,149 | FGA | MIT License |
hooks/src/main/kotlin/com/intuit/hooks/dsl/Hooks.kt | intuit | 342,405,057 | false | null | package com.intuit.hooks.dsl
import com.intuit.hooks.*
import kotlinx.coroutines.ExperimentalCoroutinesApi
private const val DEPRECATION_MESSAGE = "The migration to KSP requires DSL markers to be done outside of expression code."
private inline fun stub(): Nothing = throw NotImplementedError("Compiler stub called!")
... | 6 | Kotlin | 6 | 30 | 4e3e909bb2106d34bc82c51ddd76631a0aeffc6c | 3,324 | hooks | MIT License |
test-common/src/test/kotlin/com/benyhuo/kotlin/deepcopy/compiler/KspTest.kt | bennyhuo | 156,778,105 | false | null | package com.benyhuo.kotlin.deepcopy.compiler
import com.bennyhuo.kotlin.compiletesting.extensions.module.KotlinModule
import com.bennyhuo.kotlin.compiletesting.extensions.source.SourceModuleInfo
import com.bennyhuo.kotlin.deepcopy.compiler.ksp.DeepCopySymbolProcessorProvider
import java.io.File
import org.junit.Test
... | 1 | Kotlin | 22 | 243 | 844230602c499c459e1590fad5e26a81c1456ee9 | 1,092 | KotlinDeepCopy | MIT License |
wear/tiles/tiles-tooling/src/androidTest/java/androidx/wear/tiles/tooling/TileServiceViewAdapterTest.kt | androidx | 256,589,781 | false | null | /*
* Copyright 2023 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 23 | null | 819 | 4,682 | 9ddc33236c8976556d20e1a9432b66280e307547 | 2,278 | androidx | Apache License 2.0 |
data/src/main/java/com/mcdenny/data/remote/mappers/BaseRemoteMapper.kt | OlukaDenis | 655,817,208 | false | null | package com.mcdenny.data.remote.mappers
interface BaseRemoteMapper<FROM, TO> {
fun toDomain(entity: FROM): TO
} | 0 | Kotlin | 0 | 0 | cd5bdcd77a7f38be132a2fa785eaa70f0c57fdf2 | 116 | weatheapp-MADS04 | The Unlicense |
examples/lce/src/test/java/com/motorro/statemachine/lce/model/state/ItemLoadingStateTest.kt | motorro | 512,762,123 | false | {"Kotlin": 102349} | /*
* Copyright 2022 <NAME>.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writing, so... | 1 | Kotlin | 5 | 42 | 5f6cbf2d867f027ce852fe90d38cc077d22308f7 | 2,589 | CommonStateMachine | Apache License 2.0 |
app/src/main/java/com/mirrorfiction/note/ui/notes/NotesEvent.kt | Neil2847 | 439,292,618 | false | {"Kotlin": 49596} | package com.mirrorfiction.note.ui.notes
import com.mirrorfiction.note.config.util.NoteOrder
import com.mirrorfiction.note.data.model.Note
/**
* Create by Neil
* on 2021/12/15.
*/
sealed class NotesEvent {
data class Order(val noteOrder: NoteOrder) : NotesEvent()
data class DeleteNote(val note: Note) : Note... | 0 | Kotlin | 0 | 0 | ea96784ba674fe96ba080844ac99c7b73efbd3b7 | 415 | ComposeDemo | Apache License 2.0 |
src/main/kotlin/org/simplemc/simplehealthbars2/healthbar/NameHealthbar.kt | SimpleMC | 165,424,178 | false | null | package org.simplemc.simplehealthbars2.healthbar
import org.bukkit.entity.LivingEntity
import org.simplemc.simplehealthbars2.getCustomDisplayName
import org.simplemc.simplehealthbars2.setCustomDisplayName
class NameHealthbar(config: Config) : StringHealthbar(config), MobHealthbar {
override fun updateHealth(sourc... | 3 | Kotlin | 0 | 1 | 73a34f18a17e4afe1d7e8c244fd94a87a8102df5 | 827 | SimpleHealthbars2 | MIT License |
src/main/kotlin/org/simplemc/simplehealthbars2/healthbar/NameHealthbar.kt | SimpleMC | 165,424,178 | false | null | package org.simplemc.simplehealthbars2.healthbar
import org.bukkit.entity.LivingEntity
import org.simplemc.simplehealthbars2.getCustomDisplayName
import org.simplemc.simplehealthbars2.setCustomDisplayName
class NameHealthbar(config: Config) : StringHealthbar(config), MobHealthbar {
override fun updateHealth(sourc... | 3 | Kotlin | 0 | 1 | 73a34f18a17e4afe1d7e8c244fd94a87a8102df5 | 827 | SimpleHealthbars2 | MIT License |
app/src/main/java/com/mksoftware101/notes/legacy/features/noteList/ui/SwipeToDeleteCallback.kt | mksoftware101 | 357,660,329 | false | null | package com.mksoftware101.notes.features.noteList.ui
import android.content.Context
import android.graphics.Canvas
import android.graphics.drawable.ColorDrawable
import androidx.core.content.ContextCompat
import androidx.recyclerview.widget.ItemTouchHelper
import androidx.recyclerview.widget.RecyclerView
import com.mk... | 0 | Kotlin | 0 | 0 | 7903f75ff06d5be43d78f9940b975b7933318b0d | 2,453 | yetanothernotes | Apache License 2.0 |
app/src/main/java/com/mksoftware101/notes/legacy/features/noteList/ui/SwipeToDeleteCallback.kt | mksoftware101 | 357,660,329 | false | null | package com.mksoftware101.notes.features.noteList.ui
import android.content.Context
import android.graphics.Canvas
import android.graphics.drawable.ColorDrawable
import androidx.core.content.ContextCompat
import androidx.recyclerview.widget.ItemTouchHelper
import androidx.recyclerview.widget.RecyclerView
import com.mk... | 0 | Kotlin | 0 | 0 | 7903f75ff06d5be43d78f9940b975b7933318b0d | 2,453 | yetanothernotes | Apache License 2.0 |
matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/auth/login/ResetPasswordData.kt | matrix-org | 287,466,066 | false | null | /*
* Copyright 2020 The Matrix.org Foundation C.I.C.
*
* 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 applica... | 75 | null | 4 | 97 | 55cc7362de34a840c67b4bbb3a14267bc8fd3b9c | 1,075 | matrix-android-sdk2 | Apache License 2.0 |
epoque-core/src/main/kotlin/io/github/uharaqo/epoque/impl/CommandExecutor.kt | uharaqo | 772,784,876 | false | {"Kotlin": 105435} | package io.github.uharaqo.epoque.impl
import io.github.uharaqo.epoque.api.CallbackHandler
import io.github.uharaqo.epoque.api.CanExecuteCommandHandler
import io.github.uharaqo.epoque.api.CanProcessCommand
import io.github.uharaqo.epoque.api.CommandDecoder
import io.github.uharaqo.epoque.api.CommandExecutorOptions
impo... | 0 | Kotlin | 0 | 0 | 62634dcc77ecc96b8ae2ddc93ce12491ffcdcc04 | 2,451 | epoque-kt | Apache License 2.0 |
safeToRun/src/main/java/io/github/dllewellyn/safetorun/features/oscheck/OSConfigurationChecks.kt | Safetorun | 274,838,056 | false | null | package io.github.dllewellyn.safetorun.features.oscheck
import android.os.Build
/**
* Configure a min os version to fail if we fall below that version
*
* @param minOSVersion minimum os version
*/
inline fun minOsVersionCheck(minOSVersion: Int) =
minOSVersion > Build.VERSION.SDK_INT
/**
* Configure to disal... | 9 | null | 0 | 8 | 501a06497485cb40c2b54f4d2a885fc34bcc1898 | 1,831 | safe_to_run | Apache License 2.0 |
token-client-spring/src/test/kotlin/no/nav/security/token/support/client/spring/oauth2/DefaultOAuth2HttpClientTest.kt | navikt | 124,397,000 | false | null | package no.nav.security.token.support.client.spring.oauth2
import java.io.IOException
import java.net.URI
import no.nav.security.token.support.client.core.http.OAuth2HttpHeaders
import no.nav.security.token.support.client.core.http.OAuth2HttpRequest
import okhttp3.mockwebserver.MockWebServer
import org.assertj.core.api... | 8 | null | 7 | 15 | 653f53b9ab96eb8979b481051c89a889afc78bf9 | 2,480 | token-support | MIT License |
plugins/java/checkstyle/src/main/kotlin/com/freeletics/pullrequestcommentor/collector/checkstyle/model/CheckstyleFile.kt | freeletics | 119,674,496 | false | null | package com.freeletics.pullrequestcommentor.collector.checkstyle.model
import com.tickaroo.tikxml.annotation.Attribute
import com.tickaroo.tikxml.annotation.Element
import com.tickaroo.tikxml.annotation.Xml
@Xml(name = "file")
data class CheckstyleFile(
@Attribute(name = "name") val filePath : String,
... | 1 | Kotlin | 0 | 1 | 2d3d992e4d058c2713d3aae8b6d0a85359ff154c | 384 | PullRequestCommentor-Collector | Apache License 2.0 |
app/src/main/java/com/mcmkhianjuan/chequewriterapp/MainActivity.kt | BoJoNVi | 322,817,972 | false | {"Kotlin": 34442} | package com.mcmkhianjuan.chequewriterapp
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.Manifest
import android.content.Context
import android.content.Intent
import android.content.pm.PackageManager
import android.os.Build
import android.view.animation.Animation
import android.... | 0 | null | 0 | 0 | 3e0eab03dc401214c759327df395e93b1e5c6a17 | 5,284 | ChequeWriterApp | The Unlicense |
buildSrc/src/main/kotlin/OsType.kt | Kotlin | 604,272,624 | false | {"Kotlin": 4262559} | import org.gradle.api.Project
import org.gradle.internal.os.OperatingSystem
enum class OsName { WINDOWS, MAC, LINUX, UNKNOWN }
enum class OsArch { X86_32, X86_64, ARM64, UNKNOWN }
data class OsType(val name: OsName, val arch: OsArch)
val Project.currentOsType: OsType get() {
val gradleOs = OperatingSystem.current... | 0 | Kotlin | 2 | 12 | 9bf0fca5ff38709a8ecbfa33ed74cb112e9bda0f | 912 | kotlin-wasm-benchmarks | Apache License 2.0 |
feature/weather/src/main/java/com/trifork/feature/weather/presentation/mvi/WeatherState.kt | codeskraps | 736,729,776 | false | {"Kotlin": 184811} | package com.trifork.feature.weather.presentation.mvi
import com.trifork.feature.weather.domain.model.WeatherInfo
data class WeatherState(
val isLoading: Boolean,
val error: String?,
val weatherInfo: WeatherInfo?
) {
companion object {
val initial = WeatherState(
isLoading = true,
... | 0 | Kotlin | 0 | 0 | daae78be354604281f6bb32bef75e129dbb7ea30 | 395 | Weekly-Weather | Apache License 2.0 |
SingleModuleApp/app/src/main/java/com/github/yamamotoj/singlemoduleapp/package23/Foo02368.kt | yamamotoj | 163,851,411 | false | null | package com.github.yamamotoj.module1.package23
class Foo02368 {
fun method0() {
Foo02367().method5()
}
fun method1() {
method0()
}
fun method2() {
method1()
}
fun method3() {
method2()
}
fun method4() {
method3()
}
fun method5() {... | 0 | Kotlin | 0 | 9 | 2a771697dfebca9201f6df5ef8441578b5102641 | 347 | android_multi_module_experiment | Apache License 2.0 |
compiler/testData/diagnostics/tests/resolve/priority/synthesizedMembersVsExtension.fir.kt | JetBrains | 3,432,266 | false | null | // !CHECK_TYPE
data class A(val foo: Int)
operator fun A.component1(): String = ""
fun test(a: A) {
val (b) = a
b checkType { _<Int>() }
} | 184 | null | 5691 | 48,625 | bb25d2f8aa74406ff0af254b2388fd601525386a | 149 | kotlin | Apache License 2.0 |
platform/platform-impl/src/com/intellij/diagnostic/JetBrainsAccountDialog.kt | hieuprogrammer | 284,920,751 | 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.diagnostic
import com.intellij.credentialStore.CredentialAttributes
import com.intellij.credentialStore.Credentials
import com.intellij.credentialStore.Remem... | 1 | null | 1 | 2 | dc846ecb926c9d9589c1ed8a40fdb20e47874db9 | 2,964 | intellij-community | Apache License 2.0 |
app/src/main/java/com/danhdueexoictif/androidgenericadapter/utils/networkdetection/ConnectionDef.kt | DanhDue | 251,030,651 | false | {"Gemfile.lock": 1, "Gradle Kotlin DSL": 6, "Shell": 3, "Ignore List": 5, "Dockerfile": 1, "Java Properties": 2, "Batchfile": 1, "Markdown": 1, "YAML": 1, "Ruby": 2, "XML": 121, "Proguard": 2, "Kotlin": 186, "HTML": 1, "SVG": 1, "JSON": 3, "Java": 1, "Gradle": 2, "Text": 1} | package com.danhdueexoictif.androidgenericadapter.utils.networkdetection
import androidx.annotation.IntDef
import com.danhdueexoictif.androidgenericadapter.utils.networkdetection.ConnectionDef.Companion.MOBILE_DATA
import com.danhdueexoictif.androidgenericadapter.utils.networkdetection.ConnectionDef.Companion.NO_CONNE... | 0 | Kotlin | 5 | 7 | 02e0d14f09140531c8911ff6af46ee5d8eda4941 | 686 | AndroidGenericAdapter | Apache License 2.0 |
compiler/testData/codegen/box/delegatedProperty/delegateToFinalProperty/memberExtensionPropertyAndImportFromObject.kt | JetBrains | 3,432,266 | false | null | // CHECK_BYTECODE_LISTING
// FIR_IDENTICAL
import O.d
enum class E { X }
object O {
val E.d: Delegate get() = Delegate()
}
class Delegate {
operator fun getValue(thisRef: Any?, property: Any?) =
if (thisRef == null) "OK" else "Failed"
}
val result by E.X.d
fun box(): String = result
| 181 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 306 | kotlin | Apache License 2.0 |
library-ktx/src/test/java/me/drakeet/multitype/MultiTypeTest.kt | huangqiubin | 156,677,754 | false | null | /*
* Copyright 2016 drakeet. https://github.com/drakeet
*
* 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 appli... | 0 | null | 0 | 1 | d1a54a93300672767b5807f2d13355bd155d5af7 | 2,180 | MultiType | Apache License 2.0 |
src/main/kotlin/com/github/shatteredsuite/scrolls/data/ScrollCancelMode.kt | ShatteredSoftware | 263,253,802 | false | {"Gradle": 2, "INI": 2, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "Markdown": 2, "Java": 13, "JSON": 1, "Kotlin": 73, "YAML": 4} | package com.github.shatteredsuite.scrolls.data
enum class ScrollCancelMode {
UNBIND,
CANCEL;
} | 1 | null | 1 | 1 | b4d65a8d18a3842032f302a871e7a64f7dfe1d88 | 103 | ShatteredScrolls2 | MIT License |
mf/library/src/main/kotlin/ch/maxant/kdc/mf/library/Security.kt | maxant | 174,798,779 | false | {"YAML": 21, "Text": 1, "Ignore List": 24, "Markdown": 25, "Shell": 4, "PlantUML": 4, "Maven POM": 25, "JSON": 21, "HTML": 28, "Java": 88, "Java Properties": 12, "XML": 4, "JavaScript": 68, "SQL": 49, "Dockerfile": 1, "CSS": 5, "INI": 4, "JSON with Comments": 3, "Browserslist": 1, "EditorConfig": 1, "Kotlin": 143} | package ch.maxant.kdc.mf.library
import com.fasterxml.jackson.databind.ObjectMapper
import com.fasterxml.jackson.module.kotlin.readValue
import io.smallrye.jwt.auth.principal.JWTParser
import org.apache.commons.lang3.StringUtils
import org.eclipse.microprofile.config.ConfigProvider
import org.eclipse.microprofile.conf... | 3 | Kotlin | 2 | 4 | 88f4ddfbb7d062c3823b33d9e74cfc844cc9a23a | 9,543 | kafka-data-consistency | MIT License |
sample/src/main/kotlin/com/github/panpf/sketch/sample/ui/video/LocalVideoItemFactory.kt | panpf | 14,798,941 | false | {"Kotlin": 3057724} | /*
* Copyright (C) 2022 panpf <panpfpanpf@outlook.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 1 | Kotlin | 308 | 1,942 | a0433194615cc786a2e0e20fe82d5c5087893f6f | 2,637 | sketch | Apache License 2.0 |
core/src/main/kotlin/com/krake/core/util/DateUtil.kt | LaserSrl | 165,023,586 | false | {"Gradle": 23, "Text": 3, "INI": 20, "Java Properties": 2, "Shell": 1, "Ignore List": 1, "Batchfile": 1, "Git Attributes": 1, "XML": 512, "JSON": 4, "Java": 163, "Kotlin": 393, "Proguard": 2, "Groovy": 2} | package com.krake.core.util
import java.util.*
fun Long.toDate(): Date
{
return Date(this)
} | 1 | null | 1 | 1 | 51b97524ff72273227d029faf06acbef0f2699f8 | 98 | KrakeAndroid | Apache License 2.0 |
data/domain/src/test/java/com/escodro/domain/usecase/task/UpdateTaskTest.kt | Arab1997 | 307,581,565 | false | {"Gradle": 23, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 15, "Batchfile": 1, "YAML": 3, "Markdown": 14, "XML": 103, "Proguard": 13, "Kotlin": 211, "Java": 1, "INI": 4, "Gradle Kotlin DSL": 1, "JSON": 3} | package com.escodro.domain.usecase.task
import com.escodro.domain.model.Task
import com.escodro.domain.usecase.fake.TaskRepositoryFake
import kotlinx.coroutines.ExperimentalCoroutinesApi
import kotlinx.coroutines.flow.first
import kotlinx.coroutines.test.runBlockingTest
import org.junit.Assert
import org.junit.Test
@... | 1 | null | 1 | 1 | cb8056afe8bc03bfb3f89938a168961aa211f860 | 1,025 | alkaa | Apache License 2.0 |
wallet/src/main/java/com/cyberland/messenger/wallet/model/TransactionDisplay.kt | Era-CyberLabs | 576,196,269 | false | {"Java": 6276144, "Kotlin": 5427066, "HTML": 92928, "C": 30870, "Groovy": 12495, "C++": 6551, "CMake": 2728, "Python": 1600, "AIDL": 1267, "Makefile": 472} | package com.bcm.messenger.wallet.model
import com.bcm.messenger.wallet.utils.BtcExchangeCalculator
import com.bcm.messenger.wallet.utils.EthExchangeCalculator
import com.bcm.messenger.wallet.utils.WalletSettings
import com.bcm.messenger.utility.logger.ALog
import org.bitcoinj.core.Coin
import java.io.Serializable
impo... | 1 | null | 1 | 1 | 65a11e5f009394897ddc08f4252969458454d052 | 5,407 | cyberland-android | Apache License 2.0 |
compiler/testData/diagnostics/tests/multiplatform/platformClass/superClass.kt | AlexeyTsvetkov | 17,321,988 | true | {"Java": 22837096, "Kotlin": 18913890, "JavaScript": 180163, "HTML": 47571, "Protocol Buffer": 46162, "Lex": 18051, "Groovy": 13300, "ANTLR": 9729, "CSS": 9358, "IDL": 6426, "Shell": 4704, "Batchfile": 3703} | // !LANGUAGE: +MultiPlatformProjects
// MODULE: m1-common
// FILE: common.kt
interface I
open class C
interface J
header class Foo : I, C, J
// MODULE: m2-jvm(m1-common)
// FILE: jvm.kt
class Foo : I, C(), J
// MODULE: m3-js(m1-common)
// FILE: js.kt
class Foo : I, J, C()
| 1 | Java | 1 | 2 | 72a84083fbe50d3d12226925b94ed0fe86c9d794 | 277 | kotlin | Apache License 2.0 |
app-kit/src/main/java/media/pixi/appkit/data/storage/CloudStorageRepo.kt | NateWickstrom | 166,901,841 | false | {"Gradle": 5, "Java Properties": 2, "Shell": 1, "Ignore List": 3, "Batchfile": 1, "Text": 1, "Markdown": 2, "Proguard": 2, "Java": 20, "XML": 108, "Kotlin": 250, "YAML": 1} | package media.pixi.appkit.data.storage
import android.net.Uri
import com.google.firebase.storage.UploadTask
import io.reactivex.Maybe
import io.reactivex.Single
import java.io.File
interface CloudStorageRepo {
fun setUserProfileImage(file: File): Single<UploadTask.TaskSnapshot>
fun getUserProfileImageRefere... | 0 | Kotlin | 0 | 0 | 67e3f5cb6e1d0d7ed12002408325823ce1772492 | 500 | android-rx-firebase-app-kit | Apache License 2.0 |
f2-bdd/f2-bdd-spring-lambda/src/main/kotlin/f2/bdd/spring/lambda/methodcall/MethodCallSteps.kt | smartbcity | 746,765,045 | false | {"Java": 132969, "Kotlin": 130142, "Gherkin": 24157, "JavaScript": 1654, "Dockerfile": 745, "Makefile": 481, "CSS": 102} | package f2.bdd.spring.lambda.methodcall
import f2.bdd.spring.autoconfigure.steps.LambdaListStepsBase
import f2.bdd.spring.autoconfigure.utils.ConsumerReceiver
import f2.bdd.spring.lambda.single.LambdaSimple
import io.cucumber.datatable.DataTable
import io.cucumber.java8.En
abstract class MethodCallSteps : LambdaListS... | 1 | Kotlin | 1 | 0 | c3fb65badd711c180f5ddebb68da49fb09968937 | 838 | fixers-f2 | Apache License 2.0 |
js/js.libraries/src/core/json.kt | abreslav | 3,706,142 | true | null | package js
import java.util.*;
import js.library
native
class Json() {
}
library("jsonSet")
fun Json.set(paramName : String, value : Any?) : Unit = js.noImpl
library("jsonGet")
fun Json.get(paramName : String) : Any? = js.noImpl
library("jsonFromTuples")
fun json(vararg pairs : Tuple2<String, Any?>) : Json = js.n... | 0 | Java | 1 | 14 | de95e15595ab82be4f17ca9c149aa8bc22a2174e | 494 | kotlin | Apache License 2.0 |
app/src/main/java/com/celzero/bravedns/download/DownloadConstants.kt | celzero | 270,683,546 | false | null | /*
* Copyright 2021 RethinkDNS and its 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law o... | 361 | null | 47 | 557 | 161674b1cdbdd72fefee5edd953179a637e00f6f | 841 | rethink-app | Apache License 2.0 |
Generics/Solution.kt | R3DHULK | 678,100,903 | false | {"Java": 24594, "C#": 24069, "C": 22569, "C++": 20102, "Swift": 17050, "JavaScript": 16303, "Python": 15117, "Kotlin": 11960, "Ruby": 8233, "TypeScript": 7390, "Go": 7315, "F#": 6576, "Scala": 2959, "COBOL": 620, "Hack": 489, "Perl": 339, "Dart": 198, "Haskell": 154, "Clojure": 150, "Shell": 97, "Pascal": 91, "LOLCODE"... | internal class PrinterKotlin<T> {
fun printArray(array: Array<T>) {
for (t in array) {
println(t)
}
}
}
fun main(args: Array<String>) {
val scanner = Scanner(System.`in`)
var n = scanner.nextInt()
val intArray = Array(n) { 0 }
for (i in 0 until n) {
intArray[... | 1 | null | 1 | 1 | f7fe364965bcb66a3b7e86b0b0ec581296ed13ec | 805 | 30-Days-Of-Code | MIT License |
context/src/main/kotlin/org/hachiman/beans/factory/config/ConfigurableListableBeanFactory.kt | hachiman2018 | 694,221,593 | false | {"Kotlin": 25887, "Java": 935} | package org.hachiman.beans.factory.config
import org.hachiman.beans.factory.BeanFactory
import org.hachiman.beans.factory.ListableBeanFactory
import org.hachiman.beans.factory.config.BeanPostProcessor
import org.hachiman.beans.factory.config.ConfigurableBeanFactory
/**
* TODO 提供忽略依赖,自动装配判断,冻结bean的定义,枚举所有bean名称的功能
*... | 0 | Kotlin | 0 | 0 | 1b4060011fec53adf2dbb68c7f65a81c6e65cc72 | 417 | hachiman | Apache License 2.0 |
app/src/main/java/ru/kuchanov/huaweiandgoogleservices/ui/MapFragment.kt | MobileUpLLC | 294,679,365 | false | null | package ru.kuchanov.huaweiandgoogleservices.ui
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import com.google.android.material.snackbar.Snackbar
import io.reactivex.disposables.CompositeDisposable
import io.reac... | 0 | null | 4 | 14 | 6f9f237e360e4f4d04d5248bc1c3a7f10c98d65f | 7,061 | huawei_and_google_services | MIT License |
analysis/low-level-api-fir/src/org/jetbrains/kotlin/analysis/low/level/api/fir/lazy/resolve/FirLazyDeclarationResolver.kt | JetBrains | 3,432,266 | false | null | /*
* Copyright 2010-2020 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.analysis.low.level.api.fir.lazy.resolve
import org.jetbrains.kotlin.analysis.low... | 9 | null | 5209 | 42,102 | 65f712ab2d54e34c5b02ffa3ca8c659740277133 | 17,604 | kotlin | Apache License 2.0 |
app/src/main/java/com/geekster/notewell/NoteApplication.kt | GeekLord04 | 672,313,366 | false | {"Kotlin": 27870} | package com.geekster.notewell
import android.app.Application
import dagger.hilt.android.HiltAndroidApp
@HiltAndroidApp
class NoteApplication : Application() {
} | 0 | Kotlin | 0 | 2 | 70ce180c5be06449224c8ca218d3b4e9c48ece64 | 162 | NoteWell | MIT License |
microapp/profile/src/main/java/bruhcollective/itaysonlab/microapp/profile/ProfileMicroapp.kt | iTaysonLab | 529,265,880 | false | {"Kotlin": 665372} | package bruhcollective.itaysonlab.microapp.profile
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.filled.Person
import androidx.compose.material.icons.twotone.Person
import bruhcollective.itaysonlab.microapp.core.BottomNavigationCapable
import bruhcollective.itaysonlab.microapp.cor... | 2 | Kotlin | 4 | 87 | 04fb50f721342bbec5efea17cf681fba37114993 | 2,363 | jetisteam | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.