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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
src/main/java/com/cuupa/dms/ui/inbox/InboxPropertiesLayout.kt | Cuupa | 237,699,088 | false | null | package com.cuupa.dms.ui.inbox
import com.cuupa.dms.UIConstants
import com.cuupa.dms.authentication.AccessControl
import com.cuupa.dms.service.CamundaService
import com.cuupa.dms.storage.document.Document
import com.cuupa.dms.storage.tag.Tag
import com.cuupa.dms.ui.layouts.PropertyLayout
import com.vaadin.flow.compone... | 27 | Kotlin | 0 | 0 | e09d126c6b114cca47e950c4e27843218dacdd55 | 2,132 | dms | MIT License |
src/main/kotlin/magicsquare/quartumbackend/persistance/document/ArticleVideo.kt | MagicSquareTeam | 458,905,234 | false | null | package magicsquare.quartumbackend.persistance.document
import org.springframework.data.mongodb.core.mapping.Document
import java.time.Instant
/**
* Article video - видео статьи
*
* @param name
* @param description
* @param creationDate
* @param file
*/
@Document(collection = "article_video")
class ArticleVid... | 0 | Kotlin | 0 | 0 | 35ed0f9594da403a9d39f7fe481a5669d6599df2 | 505 | quartum-backend | MIT License |
code/notificationbuilder/src/main/java/com/adobe/marketing/mobile/notificationbuilder/internal/builders/AEPPushNotificationBuilder.kt | adobe | 800,868,595 | false | {"Kotlin": 196064, "Shell": 4574, "Makefile": 1559, "Java": 983} | /*
Copyright 2024 Adobe. All rights reserved.
This file is licensed to you 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 la... | 3 | Kotlin | 5 | 0 | b753c0532cce596a3b883a9923da33f25291d83c | 8,733 | aepsdk-ui-android | Apache License 2.0 |
src/test/kotlin/org/move/lang/resolve/ResolveStructFieldsTest.kt | pontem-network | 279,299,159 | false | null | package org.move.lang.resolve
import org.move.utils.tests.resolve.ResolveTestCase
class ResolveStructFieldsTest : ResolveTestCase() {
fun `test resolve reference to field from constructor`() = checkByCode(
"""
module 0x1::M {
struct T {
my_field: u8
//X
... | 9 | Kotlin | 14 | 50 | af0e2bde6ee134efc96115b38ad6362c9207e29e | 4,383 | intellij-move | MIT License |
src/main/kotlin/no/fintlabs/testrunner/resource/Metadata.kt | FINTLabs | 871,181,627 | false | {"Kotlin": 16103, "Dockerfile": 282} | package no.fintlabs.testrunner.resource
import com.fasterxml.jackson.annotation.JsonInclude
@JsonInclude(JsonInclude.Include.NON_NULL)
data class Metadata(
val domainName: String,
val packageName: String?,
val resourceName: String,
)
| 0 | Kotlin | 0 | 0 | b865731fae5d8dfdf95604583bf2aa21767106f1 | 248 | fint-test-runner-kotlin | MIT License |
src/main/kotlin/io/github/dockyardmc/protocol/packets/play/clientbound/ClientboundTitlePacket.kt | DockyardMC | 650,731,309 | false | {"Kotlin": 1019371} | package io.github.dockyardmc.protocol.packets.play.clientbound
import io.github.dockyardmc.annotations.ClientboundPacketInfo
import io.github.dockyardmc.annotations.WikiVGEntry
import io.github.dockyardmc.extentions.writeNBT
import io.github.dockyardmc.protocol.packets.ClientboundPacket
import io.github.dockyardmc.pro... | 6 | Kotlin | 7 | 55 | 9a0eb8f3184123b79b835356ddde526d9eb6df65 | 614 | Dockyard | MIT License |
src/main/kotlin/com/equisoft/awsmocks/kms/application/KmsRequestHandler.kt | kronostechnologies | 192,785,938 | false | null | package com.equisoft.awsmocks.kms.application
import com.amazonaws.AmazonWebServiceRequest
import com.amazonaws.AmazonWebServiceResult
import com.amazonaws.ResponseMetadata
import com.amazonaws.services.kms.model.*
@SuppressWarnings("LongMethod")
class KmsRequestHandler(private val keyService: KeyService) {
fun h... | 0 | Kotlin | 0 | 0 | 819798902aab012b06587f1b073dfcee58fec3e3 | 2,513 | aws-mocks | Apache License 2.0 |
krypt-jwt/src/nativeMain/kotlin/com/chrynan/krypt/jwt/NativeKeys.kt | chRyNaN | 402,214,083 | false | {"Kotlin": 281475} | package com.chrynan.krypt.jwt
import com.chrynan.krypt.core.Key
import com.chrynan.krypt.core.KeyPair
actual fun Keys.generateHmacKeyFrom(bytes: ByteArray): Key = TODO()
actual fun Keys.generateSecretKeyFor(algorithm: SignatureAlgorithm): Key = TODO()
actual fun Keys.generateKeyPairFor(algorithm: SignatureAlgorithm... | 0 | Kotlin | 0 | 17 | e1db291cbe4a033bf6b70bf83697191a440e1582 | 350 | krypt | Apache License 2.0 |
libs/lib_remote/src/main/java/com/bael/dads/lib/remote/di/module/client/ApolloModule.kt | virendersran01 | 356,644,618 | true | {"Kotlin": 200059} | package com.bael.dads.lib.remote.di.module.client
import com.apollographql.apollo.ApolloClient
import com.bael.dads.lib.remote.di.qualifier.BaseUrlQualifier
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent
import okhttp3.OkHttpClient
import javax... | 0 | null | 0 | 1 | 0dab6bcc5d7a6f726140e80fc21f503ab8b07c07 | 895 | Dads | MIT License |
src/app/android/app/src/main/java/com/deepseat/ds/vo/MenuVO.kt | seongjiko | 456,172,826 | false | null | package com.deepseat.ds.vo
class MenuVO {
var id: String
var title: String
var desc: String?
var accessory: Boolean = true
var icon: Int
constructor(id: String, title: String, desc: String?, accessory: Boolean, icon: Int) {
this.id = id
this.title = title
this.desc = d... | 0 | Python | 2 | 10 | 28f2dadc1960288f28ae046d5a95c206ea1f6ce9 | 392 | DeepSeat_project | MIT License |
app/src/main/java/com/betulnecanli/pokemonmvvm/data/pagingsource/PokedexRemoteMediator.kt | betulnecanli | 522,661,679 | false | {"Kotlin": 22668} | package com.betulnecanli.pokemonmvvm.data.pagingsource
import androidx.paging.ExperimentalPagingApi
import androidx.paging.LoadType
import androidx.paging.PagingState
import androidx.paging.RemoteMediator
import com.betulnecanli.pokemonmvvm.data.local.PokedexDatabase
import com.betulnecanli.pokemonmvvm.data.local.enti... | 3 | Kotlin | 0 | 2 | 22a13ae45c9639b8a46134350f20fd4fe08919be | 808 | PokemonMVVM | Apache License 2.0 |
dsl/src/main/kotlin/cloudshift/awscdk/dsl/services/cognito/CfnUserPoolEmailConfigurationPropertyDsl.kt | cloudshiftinc | 667,063,030 | false | null | @file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION")
package cloudshift.awscdk.dsl.services.cognito
import cloudshift.awscdk.common.CdkDslMarker
import kotlin.String
import software.amazon.awscdk... | 1 | Kotlin | 0 | 0 | 17c41bdaffb2e10d31b32eb2282b73dd18be09fa | 6,690 | awscdk-dsl-kotlin | Apache License 2.0 |
app/src/main/java/com/example/arcorediscogs/database/entity/TracklistInfo.kt | re-JECT-127 | 337,657,452 | false | null |
package com.example.arcorediscogs.database.entity
import androidx.room.ForeignKey
import androidx.room.ForeignKey.CASCADE
import androidx.room.PrimaryKey
@androidx.room.Entity(foreignKeys = [(ForeignKey(
entity = Result::class,
onDelete = CASCADE,
parentColumns = ["id"],
childColumns = ["master_id"])... | 0 | Kotlin | 0 | 0 | b158783f630c61054ce1907dab5549afcb7078cc | 512 | ARCoreDiscogs | MIT License |
app/src/main/java/me/xhsun/gw2leo/storage/http/model/BagDTO.kt | xhsun | 497,594,768 | false | null | package me.xhsun.gw2leo.storage.http.model
/**
* Contains one object structure per bag in the character's inventory
*/
data class BagDTO(
val id: Int,
val size: Int,
/**
* Contains one object structure per item, object is null if no item is in the given bag slot.
*/
val inventory: List<Inve... | 0 | Kotlin | 0 | 0 | 96a8b6dc6f29572006626a3bd3e4186d41a5839c | 333 | gw2-leo | Apache License 2.0 |
app/src/main/code/view/ViewRecipeActivity.kt | swetha3378 | 610,574,074 | false | null | package com.example.cookingrecipes.view
import android.os.Bundle
import android.transition.Fade
import android.view.View
import androidx.activity.viewModels
import androidx.appcompat.app.AppCompatActivity
import androidx.lifecycle.ViewModelProvider
import coil.load
import com.example.cookingrecipes.MyApplication
impor... | 1 | Kotlin | 0 | 0 | 851492e5982d97ab04abbbf7eb80ce8df64e01a2 | 1,863 | CookingRecipesApp-Kotlin-Room-MVVM-COI | MIT License |
Notes/app/src/main/java/com/madbearing/notes/ui/NoteAdapter.kt | semenovi | 787,589,965 | false | {"Kotlin": 23356} | package com.madbearing.notes.ui
import android.net.Uri
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.ImageView
import android.widget.TextView
import androidx.core.content.ContextCompat
import androidx.navigation.findNavControlle... | 0 | Kotlin | 0 | 0 | 3280b071c093c644564ff2637386a857c2680ca8 | 3,114 | notes-android | MIT License |
kstorage/src/commonTest/kotlin/ru/astrainteractive/klibs/kstorage/test/StoreStateFlowMutableKrate.kt | makeevrserg | 669,073,378 | false | {"Kotlin": 21978} | package ru.astrainteractive.klibs.kstorage.test
import ru.astrainteractive.klibs.kstorage.api.StateFlowMutableKrate
import ru.astrainteractive.klibs.kstorage.api.impl.DefaultStateFlowMutableKrate
import ru.astrainteractive.klibs.kstorage.api.provider.DefaultValueFactory
internal class StoreStateFlowMutableKrate<T>(
... | 0 | Kotlin | 0 | 1 | 790447184992a8ee8ab213ca2551e5dad8b9aa12 | 578 | klibs.kstorage | Apache License 2.0 |
app/src/main/java/com/sarkar/tasty/MainActivity.kt | rajsarky | 736,262,488 | false | {"Kotlin": 49855} | package com.sarkar.tasty
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.os.Handler
import android.os.Looper
import com.google.firebase.Firebase
import com.google.firebase.auth.FirebaseAuth
import com.google.firebase.auth.auth
class MainActivity : ... | 0 | Kotlin | 0 | 1 | aec079ec1a3d81e9dbf41fac907751f9cb9bb6e0 | 816 | Restaurant_Review.Tasty-1 | Creative Commons Zero v1.0 Universal |
feature-tests/src/test/kotlin/fi/vauhtijuoksu/vauhtijuoksuapi/featuretest/FeatureTestUtils.kt | Vauhtijuoksu | 394,707,727 | false | null | package fi.vauhtijuoksu.vauhtijuoksuapi.featuretest
import io.vertx.core.Vertx
import io.vertx.ext.web.client.WebClient
import io.vertx.ext.web.client.WebClientOptions
import io.vertx.junit5.VertxExtension
import org.junit.jupiter.api.extension.ExtendWith
import org.junit.jupiter.api.extension.ExtensionContext
import ... | 7 | Kotlin | 0 | 2 | c90951dd845d388ef8149f44ce816c586c6c0606 | 1,755 | vauhtijuoksu-api | MIT License |
src/main/kotlin/IgnoreReason.kt | centralhardware | 873,220,713 | false | {"Kotlin": 19696, "Dockerfile": 475} | enum class IgnoreReason {
SWEAR,
PROFESSIONALISM,
ARCHAISM,
NONE,
BLOCKED_BY_ADMIN,
}
| 0 | Kotlin | 0 | 0 | 4b5e0afc25c4fa2cf08b46e618f239809085f97f | 106 | parts_of_speach_trainer | MIT License |
app/src/main/kotlin/no/nav/aap/statistikk/sak/SakTabell.kt | navikt | 821,299,691 | false | {"Kotlin": 287145, "Dockerfile": 191} | package no.nav.aap.statistikk.sak
import com.google.cloud.bigquery.*
import no.nav.aap.statistikk.bigquery.BQTable
import java.time.LocalDateTime
import java.time.format.DateTimeFormatter
import java.time.temporal.ChronoUnit
/*
* Mangler:
* - relatertBehandlingId
* - registrertTid
* - ferdigBehandletTid
* - vedta... | 0 | Kotlin | 0 | 0 | dcf062b929105ba03c4fcd5f6da19fde74dcc976 | 4,908 | aap-statistikk | MIT License |
androidApp/src/androidMain/kotlin/dev/sasikanth/rss/reader/MainActivity.kt | msasikanth | 632,826,313 | false | null | /*
* Copyright 2023 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... | 13 | Kotlin | 17 | 278 | 79525a24eb140dd10cd4dce5d9dc65db6d382d97 | 2,408 | reader | Apache License 2.0 |
app/src/main/java/ru/maxim/barybians/data/network/service/AuthService.kt | maximborodkin | 286,116,912 | false | null | package ru.maxim.barybians.data.network.service
import okhttp3.MultipartBody
import retrofit2.Response
import retrofit2.http.*
import ru.maxim.barybians.data.network.model.response.AuthResponse
import ru.maxim.barybians.data.network.model.response.RegistrationResponse
interface AuthService {
@FormUrlEncoded
... | 0 | Kotlin | 1 | 5 | 033704d0e141bce002800c6bc00fd19983acc99f | 891 | Barybians-Android-App | MIT License |
shared/src/commonMain/kotlin/dev/sasikanth/rss/reader/home/ui/HomeTopAppBar.kt | msasikanth | 632,826,313 | false | {"Kotlin": 892081, "Swift": 8517, "JavaScript": 2815, "CSS": 1089, "Shell": 227, "Ruby": 131} | /*
* Copyright 2023 Sasikanth Miriyampalli
*
* 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... | 22 | Kotlin | 67 | 1,586 | f6c0325c86319756a2475b6eda7c78347beadaa1 | 9,755 | twine | Apache License 2.0 |
client/retrofit/src/main/kotlin/com/jongmin/upbit/client/retrofit/exchange/api/protocol/UpbitExchangeApiErrorProtocol.kt | xyom | 399,831,830 | true | {"Kotlin": 48902} | package com.jongmin.upbit.client.retrofit.exchange.api.protocol
import com.jongmin.upbit.exchange.UpbitExchangeException
data class ApiErrorResponse(
val error: Error
) {
data class Error(
val name: String,
val message: String
)
}
fun ApiErrorResponse.toDomainException(cause: Throwable?):... | 0 | null | 0 | 0 | 5f33b517a0bdb5db99db5380dee5b96695e1abf4 | 407 | spring-boot-starter-upbit | MIT License |
modules/notebook/src/test/kotlin/org/kalasim/scratch/callcenter/CallCenter.kt | holgerbrandl | 299,282,108 | false | {"Kotlin": 3774156, "HTML": 818831, "Java": 56143, "R": 12761} | package org.kalasim.scratch.callcenter
import kravis.GGPlot
import kravis.SessionPrefs
import kravis.device.SwingPlottingDevice
import kravis.device.showFile
import org.kalasim.*
import org.kalasim.plot.kravis.display
import java.awt.Desktop
import java.awt.Dimension
import java.nio.file.Files
import java.time.Instant... | 7 | Kotlin | 10 | 71 | 550f7dde2db737ad6d4186a3f439894d1e0455f2 | 5,412 | kalasim | MIT License |
app/src/main/java/com/wuhao028/pokepedia/data/PokemonInfo.kt | wuhao028 | 230,264,774 | false | null | package com.explore.playground.repository.model
data class PokemonDetailResponse(
val abilities: List<Ability>,
val base_experience: Int?,
val forms: List<Form>,
val game_indices: List<GameIndice>,
val height: Int?,
val held_items: List<HeldItem>,
val id: Int?,
val is_default: Boolean,
... | 0 | Kotlin | 0 | 0 | d9e9991ff76d84aa7bc46fa92653bc687e21eb79 | 2,310 | playground | MIT License |
app/src/main/java/com/enecuum/wl/data/livedata/RewardsLiveData.kt | Enecuum | 331,261,546 | false | null | package com.enecuum.wl.data.livedata
import androidx.lifecycle.LifecycleOwner
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.Observer
import com.enecuum.lib.api.Transactions
interface RewardsLiveDataRepository {
fun observeTransactions(owner: LifecycleOwner, observer: Observer<Transactions>)
... | 1 | Kotlin | 8 | 3 | dae354e7a11e6897f1f7d978d59ee536f9f0fea7 | 995 | android-miner-app | MIT License |
worldwind/src/commonMain/kotlin/earth/worldwind/globe/projection/GeographicProjection.kt | WorldWindEarth | 488,505,165 | false | {"Kotlin": 2798182, "JavaScript": 459619, "HTML": 108987, "CSS": 8778} | package earth.worldwind.globe.projection
import earth.worldwind.geom.*
import earth.worldwind.globe.Globe
/**
* Represents transformations between geographic coordinates and Cartesian coordinates. GeographicProjection specifies
* the Cartesian coordinate system used by Globe and WorldWindow.
*/
interface Geographi... | 24 | Kotlin | 9 | 98 | b5ee69cdd30f6c6a90bf3bec638a3bc5bdb0fbc2 | 3,012 | WorldWindKotlin | Apache License 2.0 |
spring-boot/advanced/end-to-end/src/test/kotlin/example/spring/boot/advanced/e2e/gateways/mediacollection/MediaCollectionClientTests.kt | NovatecConsulting | 140,194,578 | false | {"Kotlin": 359621, "TypeScript": 46882, "HTML": 9446, "SCSS": 4665, "JavaScript": 1991, "Vim Snippet": 37} | package example.spring.boot.advanced.e2e.gateways.mediacollection
import com.github.tomakehurst.wiremock.WireMockServer
import com.github.tomakehurst.wiremock.client.MappingBuilder
import com.github.tomakehurst.wiremock.client.WireMock.aResponse
import com.github.tomakehurst.wiremock.client.WireMock.equalTo
import com... | 0 | Kotlin | 1 | 9 | 18bc2107f86560fd5a824b3933c8af45ae345d2f | 3,422 | ws-cloud-native-testing | Apache License 2.0 |
adaptive-ui/src/commonTest/kotlin/fun/adaptive/ui/support/tags.kt | spxbhuhb | 788,711,010 | false | {"Kotlin": 2318583, "Java": 24560, "HTML": 7875, "JavaScript": 3880, "Shell": 687} | /*
* Copyright © 2020-2024, Simplexion, Hungary and contributors. Use of this source code is governed by the Apache 2.0 license.
*/
package `fun`.adaptive.ui.support
import `fun`.adaptive.foundation.instruction.AdaptiveInstruction
object Grid1 : AdaptiveInstruction
object F1 : AdaptiveInstruction
object F2 : Adapt... | 34 | Kotlin | 0 | 3 | e7d8bb8682a6399675bc75d2976b862268d20fb5 | 368 | adaptive | Apache License 2.0 |
app/src/main/java/com/tomszom/smogapp/SmogApp.kt | tsm | 153,894,094 | false | null | package com.tomszom.smogapp
import android.app.Application
import com.tomszom.smogapp.select.SelectContract
import com.tomszom.smogapp.select.SelectPresenter
import com.tomszom.smogapp.select.SelectProvider
import org.kodein.di.Kodein
import org.kodein.di.KodeinAware
import org.kodein.di.generic.bind
import org.kodein... | 0 | Kotlin | 0 | 0 | c63357ec28b119730d3459db0a82863169eedc6f | 626 | smog-app | Apache License 2.0 |
AndroidApp/app/src/main/java/com/example/artmaster/adminTutorials/DetailTutorialViewModel.kt | maxtheprogrammer98 | 713,080,646 | false | {"Kotlin": 509369} | package com.example.artmaster.adminTutorials
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.setValue
import androidx.lifecycle.ViewModel
/**
* ViewModel for the details tutorial screen.
* Manages the state and actions related to adding, editi... | 0 | Kotlin | 0 | 2 | 6b6fd6e7fda8c94f09da5d7411e01af10aa5265a | 5,014 | ArtMaster | Apache License 2.0 |
core/local/src/main/java/com/anshtya/core/local/database/dao/TrendingContentRemoteKeyDao.kt | anshtya | 704,151,092 | false | {"Kotlin": 252581} | package com.anshtya.core.local.database.dao
import androidx.room.Dao
import androidx.room.Insert
import androidx.room.OnConflictStrategy
import androidx.room.Query
import com.anshtya.core.local.database.entity.TrendingContentRemoteKey
@Dao
interface TrendingContentRemoteKeyDao {
@Insert(onConflict = OnConflictStr... | 1 | Kotlin | 0 | 1 | 2f44b6e36602ad1d0c2896e1c950aed50a989814 | 631 | MovieInfo | MIT License |
dependencies/src/main/kotlin/com/project/picpicker/dependency/helper/Dependency.kt | dev-darck | 499,210,154 | false | null | package com.project.picpicker.dependency.helper
import com.project.picpicker.dependency.AppDependency
import com.project.picpicker.dependency.NameSpec
import com.project.picpicker.dependency.ProjectSpec
data class Dependency(
val dependency: Deps = emptySequence(),
) {
companion object {
val EMPTY = D... | 1 | Kotlin | 0 | 0 | d6b0e8f79a8b229f7cec3907547bd05b01af606d | 680 | PicPicker | Apache License 2.0 |
financial_control/android/app/src/main/kotlin/com/example/financial_control/MainActivity.kt | victorpereira01 | 300,107,021 | false | {"Dart": 85215, "Swift": 1212, "Kotlin": 395, "Objective-C": 114} | package com.example.financial_control
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| 0 | Dart | 0 | 0 | 1e4cee541e761b733054fb2d0b46112030ce7f17 | 134 | prog-mobile-si700 | MIT License |
app/src/main/java/com/falcon/stackoverflow/screens/common/ConnectivityChecker.kt | muhammed-ahmad | 571,477,751 | false | {"Kotlin": 41789} | package com.falcon.stackoverflow.screens.common
import android.app.Application
import io.reactivex.Single
import java.lang.Exception
import javax.inject.Inject
class ConnectivityChecker @Inject constructor (
val application: Application
) {
val TAG: String = "ConnectivityChecker"
// TODO("Not yet implem... | 0 | Kotlin | 0 | 2 | f04f6ceb7b4fe20d0023686898932cc854a21a6c | 415 | StackOverflow-Accepted-Answer | MIT License |
foodies-data/src/main/java/com/nonoxy/foodies/data/Mappers.kt | NonoxyS | 803,417,200 | false | {"Kotlin": 156657} | package com.nonoxy.foodies.data
import com.nonoxy.foodies.data.model.Category
import com.nonoxy.foodies.data.model.MeasureUnit
import com.nonoxy.foodies.data.model.Product
import com.nonoxy.foodies.data.model.Tag
import com.nonoxy.foodies.api.models.CategoryDTO
import com.nonoxy.foodies.api.models.MeasureUnit as Meas... | 0 | Kotlin | 0 | 0 | dece5c7b1b7d6167e0af34c7bef25a163dd2e46d | 1,353 | foodies-app | MIT License |
affogato-unit/src/main/java/com/parsuomash/affogato/unit/ssp.kt | ghasemdev | 510,960,043 | false | null | package com.parsuomash.affogato.unit
import androidx.compose.runtime.Composable
import androidx.compose.runtime.Stable
import androidx.compose.ui.platform.LocalDensity
import androidx.compose.ui.res.dimensionResource
import androidx.compose.ui.unit.TextUnit
import androidx.compose.ui.unit.sp
/**
* Creates a Scalable... | 0 | Kotlin | 1 | 9 | 29fadf4c5fc46536ced49baaf2c9fc8f690cffca | 889 | affogato | MIT License |
test/com/zypus/utilities/RangeFinderTest.kt | zypus | 213,665,750 | false | null | package com.zypus.utilities
import com.zypus.Maze.models.Maze
import com.zypus.Maze.models.RangeFinder
import com.zypus.Maze.models.Robot
import mikera.vectorz.Vector2
import org.junit.Test
/**
* TODO Add description
*
* @author fabian <<EMAIL>>
*
* @created 12/11/2016
*/
class RangeFinderTest {
@Test
fun ra... | 0 | Kotlin | 0 | 0 | 418ee8837752143194fd769e86fac85e15136929 | 771 | SLIP | MIT License |
app/src/main/java/com/junnanhao/next/common/BasePresenter.kt | suryasinghvijay | 102,169,683 | true | {"Kotlin": 39852, "Java": 2338} | package com.junnanhao.next.common
/**
* Created by Jonas on 2017/5/28.
* base presenter
*/
interface BasePresenter {
fun start()
} | 0 | Kotlin | 0 | 0 | 9b49d21feb0da16c0774b89a8aae9fe5cf425588 | 138 | next-kotlin | Apache License 2.0 |
src/commonMain/kotlin/model.longstate/Culture.kt | adQuid | 307,862,049 | false | null | package model.longstate
import serialize.Serializer
class Culture {
val id: String
val perspectives: MutableCollection<Perspective>
val politeGreetings: Set<String>
constructor(saveString: String){
val map = Serializer.mapFromJsonString(saveString)
id = map["id"] as String
p... | 0 | Kotlin | 0 | 0 | b4724df1674f5e0e795f2b028521389284152066 | 503 | teech | MIT License |
app/src/main/java/id/blossom/data/model/anime/recent/RecentAnimeResponse.kt | spookynova | 675,505,750 | false | {"Kotlin": 153182} | package id.blossom.data.model.anime.recent
import com.google.gson.annotations.SerializedName
data class RecentAnimeResponse(
@field:SerializedName("data")
val data: List<RecentAnimeData>? = null,
@field:SerializedName("status")
val status: String? = null,
@field:SerializedName("statusCode")
val statusCode: I... | 0 | Kotlin | 2 | 17 | f0b47497b956399a63422f6c505521a6615951f5 | 851 | Blossom | Apache License 2.0 |
app/src/main/java/uk/co/jakelee/testingtest/mindorks/SharedPreferenceEntry.kt | JakeSteam | 192,586,162 | false | null | package uk.co.jakelee.testingtest.mindorks
import java.util.*
/**
* Model class containing personal information that will be saved to SharedPreferences.
*/
class SharedPreferenceEntry(// Name of the user.
val name: String, // Date of Birth of the user.
val dateOfBirth: Calendar, // Email address of the user... | 0 | Kotlin | 0 | 0 | cb746aca033c6df1c7ffeb2d61d01fd0e45a688c | 345 | TestingTest | MIT License |
src/main/kotlin/com/aeolus/app/dataprovider/comparison/entity/ComparisonEntity.kt | team-aeolus | 668,382,094 | false | null | package com.aeolus.app.dataprovider.comparison.entity
import com.aeolus.core.domain.comparison.ComparisonOfferType
import com.aeolus.core.domain.server.Location
import com.aeolus.core.domain.server.OfferType
import com.aeolus.core.domain.server.OperatingSystem
import com.aeolus.core.domain.server.Provider
import org.s... | 0 | Kotlin | 0 | 0 | be9bca77f166baa339962c6f3264beb164f91dfb | 1,272 | aeolus-service | MIT License |
app/src/main/java/com/mihir/podcast/ui/MainActivity.kt | Miihir79 | 466,562,396 | false | null | package com.mihir.podcast.ui
import android.content.Intent
import android.os.Bundle
import android.widget.Toast
import androidx.appcompat.app.AppCompatActivity
import androidx.core.app.ActivityOptionsCompat
import androidx.core.content.ContextCompat
import androidx.core.splashscreen.SplashScreen.Companion.installSplas... | 0 | Kotlin | 1 | 1 | 6dfd1d00a2a3b982cd3d25c79497c22f3b12a3d3 | 2,485 | Podcast | MIT License |
app/src/main/java/com/lstudio/mvisample/ui/counter/mvi/CounterState.kt | LStudioO | 320,594,817 | false | null | package com.lstudio.mvisample.ui.counter.mvi
data class CounterState(
val value: Int,
) | 0 | Kotlin | 0 | 0 | ad738543d3fd30253e8c72b390af3d902fc75135 | 92 | BlocAndroidExample | Apache License 2.0 |
app/src/main/java/com/task/hub/MyApp.kt | GeekyYouthsInfo | 760,815,084 | false | {"Kotlin": 119619} | package com.task.hub
import android.app.Application
import dagger.hilt.android.HiltAndroidApp
@HiltAndroidApp
class MyApp: Application() {
} | 0 | Kotlin | 1 | 0 | 14cb9b8928ce405c94920ba995d865d91348593a | 142 | Task-Bag | MIT License |
app/src/main/java/com/h5190067/saatsaatcloneapp/util/ProggresDialogUtil.kt | MirzaKutlu | 372,009,741 | false | null | package com.h5190067.saatsaatcloneapp.util
import android.app.ProgressDialog
import android.content.Context
import com.h5190067.saatsaatcloneapp.R
object ProggresDialogUtil {
var prgrsDialog: ProgressDialog? = null
fun showDialog(context: Context, loadingTitle: String){
prgrsDialog = ProgressDialog(... | 0 | Kotlin | 0 | 0 | f799c9f9c8e078e511974a3a28f93144506a2b70 | 622 | SaatVeSaatClone | Apache License 2.0 |
app/src/main/java/kr/sjh/myschedule/data/repository/ScheduleRepository.kt | junghoonshin3 | 674,523,154 | false | null | package kr.sjh.myschedule.data.repository
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.flow
import kotlinx.coroutines.flow.flowOn
import kr.sjh.myschedule.data.local.dao.ScheduleDao
import kr.sjh.myschedule.data.local.entity.ScheduleEntity
import java.time.Lo... | 1 | Kotlin | 0 | 0 | dbafeba47d4c5f9f1f9e4736c4b71a1335a45646 | 2,238 | MySchedule | MIT License |
app/src/main/java/com/hcl/upskill/ui/auth/AuthActivity.kt | skarsad04 | 621,072,570 | false | null | package com.hcl.upskill.ui.auth
import android.content.Intent
import com.hcl.upskill.base.BaseActivity
import com.hcl.upskill.databinding.ActivityAuthBinding
import com.hcl.upskill.ui.profile.ProfileActivity
import com.hcl.upskill.util.PrefUtils.LOGIN
import com.hcl.upskill.util.PrefUtils.PREF_NAME
import dagger.hilt.... | 0 | Kotlin | 0 | 0 | 84eedf7a82e1998286f3f61546e1f59b082d9d6c | 859 | upskill-android | MIT License |
framework/src/main/kotlin/com/chrynan/klutter/rendering/StackFit.kt | chRyNaN | 164,444,924 | false | null | package com.chrynan.klutter.rendering
enum class StackFit {
EXPAND,
LOOSE,
PASS_THROUGH
} | 0 | Kotlin | 0 | 1 | 3a138f51a327924944fd86cbfb1804820b9c4691 | 103 | klutter | Apache License 2.0 |
app/src/main/java/com/senemyalin/retrofitbooksapp/ui/home/HomeFragment.kt | senemyalin | 680,730,081 | false | null | package com.senemyalin.retrofitbooksapp.ui.home
import android.os.Bundle
import android.util.Log
import android.view.View
import androidx.fragment.app.Fragment
import androidx.navigation.fragment.findNavController
import com.senemyalin.retrofitbooksapp.R
import com.senemyalin.retrofitbooksapp.common.viewBinding
import... | 0 | Kotlin | 0 | 0 | f887fb16f70633688dba89615de85fa726220fab | 1,890 | RetrofitBooksApp | MIT License |
src/main/kotlin/fun/fantasea/tracemoe/utilility/Constant.kt | Ant00000ny | 816,157,704 | false | {"Kotlin": 7129} | package `fun`.fantasea.tracemoe.utilility
import com.fasterxml.jackson.databind.ObjectMapper
import com.fasterxml.jackson.module.kotlin.registerKotlinModule
import okhttp3.HttpUrl.Companion.toHttpUrl
internal object Constant {
val BASE_SEARCH_URL = "https://api.trace.moe/search".toHttpUrl()
val BASE_ME_URL = ... | 0 | Kotlin | 0 | 0 | 8a4e02e66af43b438327f56ef7f054207d9c943f | 482 | trace.moe | Apache License 2.0 |
dsl/src/main/kotlin/io/cloudshiftdev/awscdkdsl/services/dynamodb/SchemaOptionsDsl.kt | cloudshiftinc | 667,063,030 | false | {"Kotlin": 70198112} | @file:Suppress(
"RedundantVisibilityModifier",
"RedundantUnitReturnType",
"RemoveRedundantQualifierName",
"unused",
"UnusedImport",
"ClassName",
"REDUNDANT_PROJECTION",
"DEPRECATION"
)
package io.cloudshiftdev.awscdkdsl.services.dynamodb
import io.cloudshiftdev.awscdkdsl.common.CdkDslM... | 0 | Kotlin | 0 | 3 | 256ad92aebe2bcf9a4160089a02c76809dbbedba | 2,039 | awscdk-dsl-kotlin | Apache License 2.0 |
browser-kotlin/src/main/kotlin/web/performance/NavigationTimingType.kt | karakum-team | 393,199,102 | false | null | // Automatically generated - do not modify!
@file:Suppress(
"NAME_CONTAINS_ILLEGAL_CHARS",
)
package web.performance
// language=JavaScript
@JsName("""(/*union*/{back_forward: 'back_forward', navigate: 'navigate', prerender: 'prerender', reload: 'reload'}/*union*/)""")
external enum class NavigationTimingType {
... | 0 | Kotlin | 5 | 18 | e71c43c0b93113ea0394025c3f40268cb7c66ca9 | 388 | types-kotlin | Apache License 2.0 |
app/src/main/java/com/example/comopsetest/MainActivity.kt | adibfara | 669,100,398 | false | null | package com.example.comopsetest
import BandageReveal
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.foundation.layout.Arrangement.Absolute.spacedBy
import androidx.compose.foundation.layout.Column
import androidx.compose.foundatio... | 0 | Kotlin | 3 | 127 | 394cc09e6c98360c05484a7eb209043825584253 | 2,093 | compose-bandage-reveal | Apache License 2.0 |
app/src/main/java/com/munki/android_kotlin_mvvm_fastscroll/di/builder/ActivityBuilder.kt | munki1992 | 301,305,303 | false | null | package com.munki.android_kotlin_mvvm_fastscroll.di.builder
import com.munki.android_kotlin_mvvm_fastscroll.ui.main.MainActivity
import com.munki.android_kotlin_mvvm_fastscroll.ui.main.MainModule
import dagger.Module
import dagger.android.ContributesAndroidInjector
/**
* (Dagger) Module - 생성 공급자
* @author 나비이쁜이
* ... | 0 | Kotlin | 0 | 1 | 52ee3b8ccb09875f3e46df5c2da0ce9f57d5aec0 | 586 | Android_Kotlin_MVVM_FastScroll | Apache License 2.0 |
app/src/main/java/com/qxy/tiktlin/widget/BaseActivity.kt | lukelmouse-github | 517,612,289 | false | null | package com.qxy.tiktlin.widget
import android.os.Bundle
import androidx.annotation.LayoutRes
import androidx.appcompat.app.AppCompatActivity
import androidx.databinding.ViewDataBinding
import com.drake.logcat.LogCat
abstract class BaseActivity<Binding : ViewDataBinding>(
@LayoutRes protected val layout: Int
) : ... | 0 | Kotlin | 0 | 1 | 5ba2bdc7eb41371b578d52e8289b8d08f77ce10d | 853 | Tiktlin | Apache License 2.0 |
src/main/kotlin/com/dannbrown/musicbox/datagen/MusicBoxDatagen.kt | danbrown | 815,310,270 | false | {"Kotlin": 72811, "Java": 4987} | package com.dannbrown.musicbox.datagen
import com.dannbrown.deltaboxlib.registry.datagen.DatagenRootInterface
import com.dannbrown.deltaboxlib.registry.datagen.recipe.DeltaboxRecipeProvider
import com.dannbrown.musicbox.MusicBoxModule
import com.dannbrown.musicbox.datagen.lang.MusicBoxLangGen
import com.dannbrown.musi... | 0 | Kotlin | 0 | 0 | 3e4cb03a74fc63354f74fc647b060e3125d806e2 | 1,795 | musicbox | MIT License |
src/main/kotlin/com/ufpb/aps/spotags/service/TokenChecker.kt | Lyulie | 426,069,990 | false | null | package com.ufpb.aps.spotags.service
import com.ufpb.aps.spotags.env.Variables
import org.jboss.logging.Logger
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.scheduling.annotation.Scheduled
import org.springframework.stereotype.Component
import org.springframework.web.reactive... | 0 | Kotlin | 0 | 0 | 8ad7a1ed5ea93a01e12baa8699cf71356c4f2b96 | 1,685 | spotags | MIT License |
app/src/test/java/com/sunnyweather/android/testUnit.kt | weilinliang | 439,505,152 | false | {"Kotlin": 37019} | package com.sunnyweather.android
import kotlinx.coroutines.*
import org.junit.Test
class testUnit {
@Test
fun hello() {
println("hello world ")
}
@Test
fun testAsync() {
//runBlocking会保证协程作用域内的所有代码和子协程都执行完前会阻塞当前线程
//如果直接在async后面加上await就必须要等待async中的内容全部执行完才会往下执行,负责就是一个普通的协程... | 0 | Kotlin | 0 | 0 | 7f6f5a7863213e46ab286d8106bee7c01e22d70f | 1,199 | SunnyWeather | Apache License 2.0 |
app/src/main/java/br/com/thedon/travellerapp/ui/components/PlaceRemovalDialog.kt | thebergamo | 668,639,027 | false | null | package br.com.thedon.travellerapp.ui.components
import androidx.compose.foundation.layout.height
import androidx.compose.foundation.layout.width
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.outlined.Delete
import androidx.compose.material3.Icon
import androidx.compose.material3.... | 0 | Kotlin | 0 | 0 | e34eface4b64fab53797425d80ddb9b3fad14fdc | 1,480 | pjatk-prm-traveller-app | MIT License |
presentation/src/main/java/appus/software/githubusers/presentation/app/di/NetModule.kt | appus-studio | 180,989,176 | false | null | package appus.software.githubusers.presentation.app.di
import appus.software.githubusers.data.net.RetrofitFactory
import org.koin.dsl.module.module
/**
* Created by bogdan.martynov on 2019-04-24 17:42. top-github-contributors-android
*/
/**
* Module for injection net components
*/
val netModule = module {
... | 0 | Kotlin | 0 | 1 | 72b630dbaffe7e2d6c08a81ac48d551f8578b627 | 364 | top-github-contributors-android | Apache License 2.0 |
src/backend/git/biz-git/src/main/kotlin/com/tencent/bkrepo/git/exception/LockFailedException.kt | TencentBlueKing | 548,243,758 | false | {"Kotlin": 13715127, "Vue": 1261493, "JavaScript": 683823, "Shell": 124343, "Lua": 101021, "SCSS": 34137, "Python": 25877, "CSS": 17382, "HTML": 13052, "Dockerfile": 4483, "Smarty": 3661, "Java": 423} | package com.tencent.bkrepo.git.exception
class LockFailedException(msg: String? = null) : RuntimeException(msg)
| 383 | Kotlin | 38 | 70 | 817363204d5cb57fcd6d0cb520210fa7b33cd5d6 | 113 | bk-repo | MIT License |
app/src/main/java/dev/tcode/thinmp/view/image/ImageView.kt | tcode-dev | 392,735,283 | false | null | package dev.tcode.thinmp.view.image
import android.net.Uri
import androidx.compose.runtime.*
import androidx.compose.ui.Modifier
import androidx.compose.ui.layout.ContentScale
import androidx.compose.ui.res.painterResource
import coil.compose.AsyncImage
import dev.tcode.thinmp.R
@Composable
fun ImageView(
uri: Ur... | 0 | Kotlin | 0 | 0 | 88b10290f674830d9fdf90a359e06d565ea86a26 | 674 | ThinMP_Android_Kotlin | MIT License |
app/src/main/java/com/example/sunnyweather/SunnyWeatherApplication.kt | IEC-Elfred | 297,844,013 | false | null | package com.example.sunnyweather
import android.app.Application
import android.content.Context
class SunnyWeatherApplication :Application(){
companion object{
lateinit var context: Context
const val TOKEN="<KEY>"
}
override fun onCreate() {
super.onCreate()
context=applic... | 0 | Kotlin | 0 | 0 | c5d1c382dda6f507cf32dc8da037ccb63942e554 | 340 | SunnyWeather | Apache License 2.0 |
app/src/main/java/com/example/sunnyweather/SunnyWeatherApplication.kt | IEC-Elfred | 297,844,013 | false | null | package com.example.sunnyweather
import android.app.Application
import android.content.Context
class SunnyWeatherApplication :Application(){
companion object{
lateinit var context: Context
const val TOKEN="<KEY>"
}
override fun onCreate() {
super.onCreate()
context=applic... | 0 | Kotlin | 0 | 0 | c5d1c382dda6f507cf32dc8da037ccb63942e554 | 340 | SunnyWeather | Apache License 2.0 |
app/src/main/java/org/p2p/wallet/moonpay/clientsideapi/response/MoonpayBuyCurrencyResponse.kt | p2p-org | 306,035,988 | false | {"Kotlin": 4545395, "HTML": 3064848, "Java": 296567, "Groovy": 1601, "Shell": 1252} | package org.p2p.wallet.moonpay.api
import com.google.gson.annotations.SerializedName
import java.math.BigDecimal
data class MoonpayBuyCurrencyResponse(
@SerializedName("quoteCurrencyPrice")
val quoteCurrencyPrice: BigDecimal,
@SerializedName("feeAmount")
val feeAmount: BigDecimal,
@SerializedName(... | 8 | Kotlin | 6 | 34 | d091e18b7d88c936b7c6c627f4fec96bcf4a0356 | 1,049 | key-app-android | MIT License |
modules/core/src/commonMain/kotlin/com/lhwdev/math/logic/propositional/Proposition.kt | lhwdev | 475,919,835 | false | null | package com.lhwdev.math.logic.propositional
import com.lhwdev.math.algebra.bool.BooleanValue
interface Proposition : BooleanValue {
}
| 0 | Kotlin | 0 | 0 | ab10597febe8096e450db066713583cca5e73eff | 139 | math | MIT License |
composeApp/src/desktopMain/kotlin/com/alekso/dltstudio/logs/insights/LogInsightRule.kt | alexey-odintsov | 750,521,193 | false | {"Kotlin": 422203} | package com.alekso.dltstudio.logs.insights
data class LogInsightRule(
val name: String,
val template: String,
val pattern: String,
)
| 5 | Kotlin | 0 | 2 | 04515d481616bd57143c7fc6797402fd3941194e | 146 | DLTStudio | MIT License |
app/src/main/java/com/example/noteappcompose/presentation/homeScreen/components/DefaultCard.kt | adelayman1 | 576,923,306 | false | null | package com.example.noteappcompose.presentation.homeScreen.components
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.height
import androidx.compose.foundation.layout.s... | 0 | Kotlin | 1 | 3 | 6c706b46fc6f3d9362070f582f731147e8fdf77a | 2,116 | ComposeNotesAppOffline | The Unlicense |
financial-connections/src/main/java/com/stripe/android/financialconnections/domain/GetAuthorizationSessionAccounts.kt | stripe | 6,926,049 | false | null | package com.stripe.android.financialconnections.domain
import com.stripe.android.financialconnections.FinancialConnectionsSheet
import com.stripe.android.financialconnections.model.PartnerAccountsList
import com.stripe.android.financialconnections.repository.FinancialConnectionsAccountsRepository
import javax.inject.I... | 86 | Kotlin | 584 | 1,078 | 74bf7263f56d53aff2d0035127d84dd40609403d | 933 | stripe-android | MIT License |
metastores/delightful-metastore/src/commonMain/kotlin/com/tap/delight/metastore/config/MetastoreConfig.kt | CharlieTap | 545,061,152 | false | {"Kotlin": 188370} | package com.tap.delight.metastore.config
data class MetastoreConfig(
val cacheSize: Int,
val warmCaches: Boolean,
)
| 1 | Kotlin | 1 | 39 | 0a73e357f7ec81df734e08045bdde6689c3498da | 125 | synk | Apache License 2.0 |
libs/server/persistence/src/main/kotlin/org/nxcloudce/server/persistence/repository/TaskPanacheRepository.kt | clementguillot | 681,176,728 | false | {"HTML": 244565, "Kotlin": 199098, "Mustache": 5600} | package org.nxcloudce.server.persistence.repository
import io.quarkus.mongodb.panache.kotlin.reactive.ReactivePanacheMongoRepository
import io.smallrye.mutiny.Uni
import jakarta.enterprise.context.ApplicationScoped
import org.bson.types.ObjectId
import org.nxcloudce.server.persistence.entity.TaskEntity
@ApplicationSc... | 17 | HTML | 1 | 10 | ef374cb74e8f147758872be3fd1eb0fcd17e055f | 600 | nx-cloud-ce | MIT License |
app/src/main/java/com/example/famreen/application/custom/loadingView/CirclePulseIndicator.kt | GinKukuruza | 305,210,621 | false | null | package com.example.famreen.application.custom.loadingView
import android.animation.ValueAnimator
import android.graphics.Canvas
import android.graphics.Paint
import android.graphics.RectF
import java.util.*
class CirclePulseIndicator : Indicator() {
private var mScaleFloat = 1f
private var mDegrees = 0f
... | 0 | Kotlin | 0 | 1 | ad6c16bf8c7ec522a64ec7d4a59a990c4ee2adf2 | 1,723 | famreen | Apache License 2.0 |
src/main/kotlin/net/integr/modules/management/settings/impl/CyclerSetting.kt | Integr-0 | 786,886,635 | false | {"Kotlin": 148772, "Java": 38907} | package net.integr.modules.management.settings.impl
import com.google.gson.GsonBuilder
import com.google.gson.JsonObject
import com.google.gson.annotations.Expose
import net.integr.modules.management.settings.Setting
import net.integr.rendering.uisystem.Cycler
import net.integr.rendering.uisystem.base.HelixUiElement
... | 0 | Kotlin | 0 | 1 | c76f9c47aaf6a3e4da5f3345014384a5e92a2010 | 1,271 | Helix | Creative Commons Zero v1.0 Universal |
app/src/main/java/com/vshkl/beerstore5/ui/composable/BeersList.kt | vshkl | 732,878,534 | false | {"Kotlin": 82524} | package com.vshkl.beerstore5.ui.composable
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.PaddingValues
import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.foundation.lazy.items
import androidx.compose.foundation.lazy.rememberLazyListState
import androidx... | 0 | Kotlin | 0 | 0 | c055b39961e950e8cc9f6b431032c96b10f4e101 | 3,808 | BeerStore5 | MIT License |
app/src/main/java/com/zachklipp/composeworksheet/grammar/Positioned.kt | zach-klippenstein | 376,894,900 | false | null | package com.zachklipp.composeworksheet.grammar
import kotlin.math.max
import kotlin.math.min
/**
* Represents an object that is associated with a position in a [parsed][parse] string.
*/
internal interface HasPosition {
val position: IntRange
}
/**
* Associates a value with the indices at which it was found in ... | 0 | Kotlin | 1 | 8 | cd29e7b19709a0055a13e1a85aab86bc424c942f | 623 | compose-worksheet-blog | Apache License 2.0 |
catalog/semantics/src/main/kotlin/kiwi/orbit/compose/catalog/semantics/PillButtonScreenSemantics.kt | kiwicom | 289,355,053 | false | {"Kotlin": 908772, "Shell": 1833, "CSS": 443} | package kiwi.orbit.compose.catalog.semantics
object PillButtonScreenSemantics {
const val ShowWithIconButtonTag = "pill_button_screen_show_with_icon_button_tag"
}
| 19 | Kotlin | 17 | 97 | 6d4026eef9fa059388c50cd9e9760d593c3ad6ac | 168 | orbit-compose | MIT License |
adapter/src/main/kotlin/org/javacs/ktda/core/scope/VariableTreeNode.kt | fwcd | 144,839,079 | false | {"Kotlin": 80289} | package org.javacs.ktda.core.scope
import org.javacs.ktda.util.Identifiable
/**
* A descriptor for a collection of child variables.
* (usually a scope or a variable's fields)
*/
interface VariableTreeNode : Identifiable {
val name: String
val value: String?
get() = null
val type: String?
get() = null
val c... | 32 | Kotlin | 19 | 96 | 7f05669b642d21afa46ac7b75307fa5d523a7263 | 400 | kotlin-debug-adapter | MIT License |
app/src/main/java/com/nikitosii/studyrealtorapp/core/source/db/converters/BaseTypeConverter.kt | meanswar | 702,052,508 | false | {"Kotlin": 730795, "HTML": 262565} | package com.nikitosii.studyrealtorapp.core.source.db.converters
import androidx.room.TypeConverter
abstract class BaseTypeConverter<T> {
@TypeConverter
abstract fun fromData(data: T?): String?
@TypeConverter
abstract fun toData(json: String?): T?
} | 2 | Kotlin | 0 | 0 | 20c281e8954fe900812e1923600ff0fd9b82d2b4 | 267 | StudyRealtorApp | MIT License |
feature-explore/src/main/java/com/beetlestance/aphid/feature/explore/Explore.kt | beetlestance | 290,930,920 | false | null | /*
* Copyright 2021 BeetleStance
*
* 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... | 16 | Kotlin | 0 | 3 | d4e1e19a577a7f82e61cba0a8719f1fe5238a797 | 23,978 | Aphid | Apache License 2.0 |
src/main/kotlin/com/mthwate/xboard/api/EngineHandler.kt | Mthwate | 70,649,049 | false | null | package com.mthwate.xboard.api
import java.io.PrintWriter
import java.util.*
import java.util.regex.Pattern
/**
* @author mthwate
*/
class EngineHandler(engine: ChessEngine, issuer: CmdIssuer) : Runnable {
private val handlers = HashMap<String, (String, String) -> Unit>()
private var protover = 1
var log = Pr... | 0 | Kotlin | 0 | 0 | 6b3cf599e0f6166f4f08f10482c8ef0cc431325b | 6,580 | xboard-api | MIT License |
src/commonMain/kotlin/services/api/model/CentreData.kt | tritus | 294,231,475 | false | null | package services.api.model
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
internal data class CentreData(
@SerialName("_id") val id: String? = null,
@SerialName("nom") val name: String? = null,
@SerialName("geoDepartement") val departmentNumber: String? = n... | 13 | Kotlin | 8 | 7 | b8c742a74cce050fcceb196ca2158cdc598542bc | 325 | candilibre | MIT License |
src/main/kotlin/dev/willebrands/intellij/sloppyfocus/veto/PopupMenuStateVetoableFocusListener.kt | jwillebrands | 526,333,491 | false | null | package dev.willebrands.intellij.sloppyfocus.veto
import com.intellij.openapi.actionSystem.ex.ActionManagerEx
import com.intellij.openapi.project.Project
import java.awt.Component
class PopupMenuStateVetoableFocusListener : VetoableFocusSwitchListener {
override fun allowFocusSwitch(target: Component, project: Pr... | 2 | Kotlin | 0 | 2 | c5dbddcc61cead827b6a3f4e44a401884295ea84 | 416 | ij-sloppy-focus | MIT License |
editor/src/main/com/mbrlabs/mundus/editor/ui/modules/dialogs/FogDialog.kt | JamesTKhan | 455,272,467 | false | null | /*
* Copyright (c) 2016. See AUTHORS file.
*
* 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 o... | 22 | Java | 18 | 94 | d196adb1853561aa80f68c57bcaf2a24948aa2b7 | 6,748 | Mundus | Apache License 2.0 |
app/src/main/java/com/tonyecoleelection/android/ui/adapters/filters/MultiSelectAdapter.kt | theelect | 158,070,909 | false | {"Gradle": 7, "Java Properties": 2, "Shell": 1, "Ignore List": 5, "Batchfile": 1, "Text": 2, "Markdown": 1, "Proguard": 4, "Java": 15, "XML": 92, "Kotlin": 210, "JSON": 2} | package com.tonyecoleelection.android.ui.adapters.filters
import android.databinding.DataBindingUtil
import android.databinding.ViewDataBinding
import android.support.v7.widget.RecyclerView
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.CheckBox
import a... | 1 | null | 1 | 1 | 65cd2e9657d3196f2a40724991c0d3a524414253 | 3,987 | android | Apache License 2.0 |
yaflk3/src/main/kotlin/com/supersoftcafe/yafl/parsetoast/Util.kt | supersoftcafe | 393,171,986 | false | {"Java": 196031, "Kotlin": 145525, "LLVM": 4992, "ANTLR": 4394} | package com.supersoftcafe.yafl.parsetoast
import com.supersoftcafe.yafl.ast.SourceRef
import org.antlr.v4.runtime.ParserRuleContext
fun ParserRuleContext.toSourceRef(file: String) = SourceRef(file, this)
| 9 | Java | 1 | 2 | 9c33e2a9171e15a12235d228ff5be6d54089191d | 207 | yafl | Apache License 2.0 |
src/main/kotlin/com/sk/topicWise/heap/295. Find Median from Data Stream.kt | sandeep549 | 262,513,267 | false | {"Gradle": 2, "INI": 2, "Shell": 1, "Text": 4, "Ignore List": 1, "Batchfile": 1, "Markdown": 1, "Kotlin": 511} | package com.sk.topicWise.heap
import java.util.*
class MedianFinder_295() {
private val leftHalf = PriorityQueue<Int>(reverseOrder())
private val rightHalf = PriorityQueue<Int>()
private var addToRight = true
fun findMedian(): Double {
return if (leftHalf.size == rightHalf.size) {
... | 1 | null | 1 | 1 | 67688ec01551e9981f4be07edc11e0ee7c0fab4c | 714 | leetcode-answers-kotlin | Apache License 2.0 |
java/kotlin/src/main/kotlin/terra/treasury/v1beta1/QueryTaxProceedsRequestKt.kt | dimitar-petrov | 413,042,055 | true | {"Git Config": 1, "Text": 1, "Ignore List": 3, "Makefile": 3, "Markdown": 3, "Gradle Kotlin DSL": 5, "INI": 2, "Shell": 3, "Batchfile": 1, "Java": 181, "Kotlin": 917, "JSON with Comments": 1, "JSON": 3, "Git Attributes": 1, "EditorConfig": 1} | //Generated by the protocol buffer compiler. DO NOT EDIT!
// source: terra/treasury/v1beta1/query.proto
package terra.treasury.v1beta1;
@kotlin.jvm.JvmSynthetic
inline fun queryTaxProceedsRequest(block: terra.treasury.v1beta1.QueryTaxProceedsRequestKt.Dsl.() -> Unit): terra.treasury.v1beta1.QueryOuterClass.QueryTaxPr... | 0 | null | 0 | 0 | 06fcb6a1e57962a46af0aebb90b5b110e0b42435 | 1,557 | terra.proto | Apache License 2.0 |
tmp/arrays/youTrackTests/6062.kt | DaniilStepanov | 228,623,440 | false | {"Git Config": 1, "Gradle": 6, "Text": 3, "INI": 5, "Shell": 2, "Ignore List": 3, "Batchfile": 2, "Markdown": 2, "Kotlin": 15942, "JavaScript": 4, "ANTLR": 2, "XML": 12, "Java": 4} | // Original bug: KT-9495
abstract class A<T> {
abstract fun broken(vararg values: T): String
}
class B : A<Int>() {
override fun broken(values: Array<out Int>): String {
return broken(*values.toIntArray())
}
fun broken(vararg values: Int): String {
return values.joinToString { it.toSt... | 1 | null | 12 | 1 | 602285ec60b01eee473dcb0b08ce497b1c254983 | 337 | bbfgradle | Apache License 2.0 |
tmp/arrays/youTrackTests/6062.kt | DaniilStepanov | 228,623,440 | false | {"Git Config": 1, "Gradle": 6, "Text": 3, "INI": 5, "Shell": 2, "Ignore List": 3, "Batchfile": 2, "Markdown": 2, "Kotlin": 15942, "JavaScript": 4, "ANTLR": 2, "XML": 12, "Java": 4} | // Original bug: KT-9495
abstract class A<T> {
abstract fun broken(vararg values: T): String
}
class B : A<Int>() {
override fun broken(values: Array<out Int>): String {
return broken(*values.toIntArray())
}
fun broken(vararg values: Int): String {
return values.joinToString { it.toSt... | 1 | null | 12 | 1 | 602285ec60b01eee473dcb0b08ce497b1c254983 | 337 | bbfgradle | Apache License 2.0 |
example/src/main/java/com/mercadopago/android/px/di/module/ViewModelModule.kt | mercadopago | 49,529,486 | false | null | package com.mercadopago.android.px.di.module
import androidx.lifecycle.ViewModel
import androidx.fragment.app.Fragment
import androidx.fragment.app.FragmentActivity
import androidx.lifecycle.ViewModelProvider
import com.mercadopago.android.px.di.ViewModelFactory
internal class ViewModelModule {
private val factor... | 44 | null | 77 | 98 | b715075dd4cf865f30f6448f3c00d6e9033a1c21 | 655 | px-android | MIT License |
src/main/kotlin/io/github/itsilya/photoncontrol/PhotonControl.kt | Velgaster | 286,811,305 | false | null | package io.github.itsilya.photoncontrol
import io.github.itsilya.photoncontrol.command.PhotonControlCommand
import net.fabricmc.api.ModInitializer
import net.fabricmc.fabric.api.command.v1.CommandRegistrationCallback
import net.minecraft.SharedConstants
class PhotonControl : ModInitializer {
override fun onIniti... | 1 | null | 1 | 1 | 276eb7678a016dfc2519f12e1aed22fabae394d1 | 540 | PhotonControl | MIT License |
src/test/java/com/example/workflow/utils/TestUtils.kt | sourabhparsekar | 396,739,738 | false | {"Batchfile": 1, "Shell": 4, "Maven POM": 1, "Dockerfile": 1, "Text": 1, "Ignore List": 1, "Markdown": 2, "INI": 1, "Java": 2, "Kotlin": 18, "Java Properties": 1, "YAML": 1, "XML": 2, "JSON": 1} | package com.example.workflow.utils
/**
* @implNote Class to add mock server implementations
*/
object TestUtils {
// public static void createExpectationForOcrApi(Integer port) {
// new MockServerClient("127.0.0.1", port)
// .when(request().withMethod("POST")
// ... | 0 | Kotlin | 0 | 2 | cb8a6feaf6c1372b62dfe0d3150b941d35daaa00 | 6,168 | camunda-ocr | Apache License 2.0 |
src/main/java/com/github/kornilova_l/flamegraph/plugin/server/converters/file_to_call_traces/cflamegraph/CompressedFlamegraphToCallTracesConverter.kt | Raynos | 131,701,440 | false | {"Gradle": 6, "Shell": 1, "Text": 50, "Ignore List": 1, "Batchfile": 1, "Markdown": 3, "JSON": 1, "HTML": 4, "Closure Templates": 1, "CSS": 6, "JavaScript": 21, "Java Properties": 1, "Kotlin": 50, "Java": 116, "XML": 7, "Protocol Buffer": 5} | package com.github.kornilova_l.flamegraph.plugin.server.converters.file_to_call_traces.cflamegraph
import com.github.kornilova_l.flamegraph.plugin.server.converters.file_to_call_traces.FileToCallTracesConverter
import com.github.kornilova_l.flamegraph.plugin.server.converters.file_to_file.ProfilerToFlamegraphConverter... | 1 | null | 1 | 1 | 41bc10bd85f600dc5061d4aaa051f2f813ad887d | 2,460 | flamegraph-visualizer | MIT License |
app/src/main/kotlin/io/shtanko/picasagallery/ui/launch/LaunchModule.kt | ashtanko | 99,620,302 | false | null | /*
* Copyright 2017 <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... | 1 | null | 1 | 4 | ad6961aa1d60668786797a443b64e6710f464f8c | 933 | Picasa-Gallery-Android | Apache License 2.0 |
plugins/svn4idea/src/org/jetbrains/idea/svn/statistics/SvnWorkingCopyFormatUsagesCollector.kt | sxslex | 177,212,454 | false | null | // Copyright 2000-2018 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.idea.svn.statistics
import com.intellij.internal.statistic.beans.UsageDescriptor
import com.intellij.internal.statistic.service.fus.collectors.ProjectUsages... | 1 | null | 1 | 1 | f968b1af39f626071f5b4aeb2f66080145f8f9ca | 1,136 | intellij-community | Apache License 2.0 |
samples/client/3_1_0_unit_test/kotlin/src/main/kotlin/org/openapijsonschematools/client/exceptions/ValidationException.kt | openapi-json-schema-tools | 544,314,254 | false | {"Git Config": 1, "Ignore List": 17, "Maven POM": 7, "Dockerfile": 1, "Text": 15, "Git Attributes": 1, "Markdown": 2937, "Java": 2292, "OASv3-json": 4, "OASv2-json": 1, "OASv3-yaml": 193, "JSON": 65, "YAML": 55, "XML": 5, "OASv2-yaml": 2, "Python": 7593, "Handlebars": 848, "Mustache": 18, "Kotlin": 710, "INI": 10, "She... | package org.openapijsonschematools.client.exceptions;
class ValidationException(s: String?) : BaseException(s) | 1 | Java | 11 | 128 | 9006de722f74b7ca917e4e5d38e4cd6ab5ea6e78 | 111 | openapi-json-schema-generator | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.