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/kotlin/kotlinmud/event/observer/impl/SendMessageToRoomObserver.kt | brandonlamb | 275,313,206 | true | {"Kotlin": 435931, "Dockerfile": 133, "Shell": 126} | package kotlinmud.event.observer.impl
import kotlinmud.event.impl.Event
import kotlinmud.event.impl.SendMessageToRoomEvent
import kotlinmud.event.observer.type.Observer
import kotlinmud.event.type.EventType
import kotlinmud.io.service.ServerService
import kotlinmud.mob.service.MobService
class SendMessageToRoomObserv... | 0 | null | 0 | 0 | fc03c6230b9b3b66cd63994e74ddd7897732d527 | 1,239 | kotlinmud | MIT License |
app/src/main/java/com/semisonfire/cloudgallery/core/ui/state/State.kt | Semyon100116907 | 132,183,724 | false | null | package com.semisonfire.cloudgallery.core.ui.state
import android.content.Context
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.annotation.LayoutRes
import com.semisonfire.cloudgallery.core.ui.state.strategy.ShowHideStrategy
import com.semisonfire.cloudgaller... | 0 | Kotlin | 0 | 1 | 59f8b94fdeaf8db0557deef84f1b25224ab768e4 | 1,113 | CloudGallery | MIT License |
kotlin-antd/antd-samples/src/main/kotlin/samples/select/App.kt | ricsonhoo | 251,039,996 | true | {"Kotlin": 1197966, "CSS": 29526, "HTML": 6470, "JavaScript": 980} | package samples.select
import react.*
import react.dom.*
class SelectApp : RComponent<RProps, RState>() {
override fun RBuilder.render() {
h2 { +"Select" }
div {
basic()
multiple()
optionLabelProp()
optGroup()
automaticTokenization()
... | 0 | null | 0 | 0 | 7d92fb58ae96ed7a16d70cb2832284acff023bcf | 607 | kotlin-js-wrappers | Apache License 2.0 |
plugins/kotlin-dataframe/src/org/jetbrains/kotlinx/dataframe/plugin/impl/data/InsertClauseApproximation.kt | Kotlin | 259,256,617 | false | {"Kotlin": 8227503, "Java": 17608, "JavaScript": 11483, "CSS": 3083, "HTML": 137, "Shell": 73} | package org.jetbrains.kotlinx.dataframe.plugin.impl.data
import org.jetbrains.kotlinx.dataframe.plugin.impl.PluginDataFrameSchema
import org.jetbrains.kotlinx.dataframe.plugin.impl.SimpleCol
import org.jetbrains.kotlinx.dataframe.api.InsertClause
/**
* @see InsertClause
*/
data class InsertClauseApproximation(val df... | 235 | Kotlin | 60 | 833 | 54d00e69ae7c06ff254c6591242413eaf7894f01 | 368 | dataframe | Apache License 2.0 |
libraries/tools/kotlin-gradle-plugin/src/main/kotlin/org/jetbrains/kotlin/gradle/targets/native/KotlinNativeTargetPreset.kt | walltz556 | 207,476,848 | false | null | /*
* Copyright 2010-2018 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.
*/
@file:Suppress("PackageDirectoryMismatch") // Old package for compatibility
package org.jetbrains.kotlin.gradl... | 1 | null | 0 | 1 | 910177ab17c9a71ba07b860d76d2a3f232df06da | 4,368 | kotlin | Apache License 2.0 |
app/src/main/java/com/azhar/tpk/data/model/ModelGeometry.kt | AzharRivaldi | 229,558,839 | false | null | package com.hamzah.tpk.data.model
import com.google.gson.annotations.SerializedName
/**
* Created by <NAME> on 06-06-2021
* Youtube Channel : https://bit.ly/2PJMowZ
* Github : https://github.com/AzharRivaldi
* Twitter : https://twitter.com/azharrvldi_
* Instagram : https://www.instagram.com/azhardvls_
* Linkedi... | 1 | null | 11 | 9 | 374ace1c2cb7a686ad8abe745b10f8ed22442789 | 473 | Tempat-Pelayanan-Kesehatan | Apache License 2.0 |
app/src/main/java/com/kardia/membership/domain/usecases/quest/PostUpdateProgressMission.kt | trungthaihieu93-dev | 359,315,080 | false | null | package com.kardia.membership.domain.usecases.quest
import com.kardia.membership.core.exception.Failure
import com.kardia.membership.core.functional.Either
import com.kardia.membership.core.interactor.UseCase
import com.kardia.membership.domain.entities.quest.UpdateProgressMissionEntity
import com.kardia.membership.do... | 0 | null | 0 | 0 | 00e51171479e259edbccf36ee155dc8e4489e40f | 805 | kai-membership-kotlin | MIT License |
src/main/kotlin/no/nav/syfo/api/auth/OIDCClaim.kt | navikt | 139,004,454 | false | null | package no.nav.syfo.api.auth
object OIDCClaim {
const val NAVIDENT = "NAVident"
}
| 0 | Kotlin | 2 | 2 | 9e90a28096260e94fe975e7eb3c2e2f42d25a1c9 | 87 | syfomotebehov | MIT License |
common-ui-compose/src/main/java/com/kiwi/common_ui_compose/theme/Color.kt | hvsimon | 467,797,530 | false | {"Kotlin": 233735} | package com.kiwi.common_ui_compose.theme
import androidx.compose.ui.graphics.Color
val md_theme_light_primary = Color(0xFF006c44)
val md_theme_light_onPrimary = Color(0xFFffffff)
val md_theme_light_primaryContainer = Color(0xFF8cf8bf)
val md_theme_light_onPrimaryContainer = Color(0xFF002111)
val md_theme_light_second... | 0 | Kotlin | 5 | 77 | d58005516f1f210a122e3d986399522f97f998fc | 2,937 | Mojito | Apache License 2.0 |
app/src/test/java/bill/toybox/catbox/game/GameTests.kt | emanuelmch | 127,214,347 | false | null | /*
* Copyright (c) 2018 <NAME> <<EMAIL>>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, pu... | 1 | Kotlin | 0 | 1 | aa0a9df9973968b80646b87394510f4294936d6a | 2,859 | toybox | MIT License |
app/src/main/java/com/jiangkang/ktools/SystemActivity.kt | leetesla | 287,042,452 | true | {"Kotlin": 1417688, "JavaScript": 136056, "Java": 30761, "HTML": 5095, "CMake": 3638, "CSS": 2570, "C++": 827, "Shell": 429} | package com.jiangkang.ktools
import android.Manifest
import android.app.Activity
import android.app.AlertDialog
import android.content.ComponentName
import android.content.Intent
import android.content.pm.PackageManager
import android.database.Cursor
import android.os.Bundle
import android.os.Environment
import androi... | 0 | null | 0 | 0 | cd27d6fa9a6cf82d1d6af4e7614641b90c015b86 | 13,331 | KTools | MIT License |
app/src/androidTest/java/io/github/reactivecircus/streamlined/NavigationTest.kt | DigitalKoi | 255,433,794 | true | {"Kotlin": 339346} | package io.github.reactivecircus.streamlined
import androidx.test.filters.LargeTest
import io.github.reactivecircus.streamlined.robot.appScreen
import io.github.reactivecircus.streamlined.testing.BaseScreenTest
import org.junit.Test
@LargeTest
class NavigationTest : BaseScreenTest() {
@Test
fun selectNewBott... | 0 | null | 0 | 1 | 58366bc4bd86a35b4825975120b6366d8273ae12 | 1,192 | streamlined | Apache License 2.0 |
src/main/kotlin/com/github/ninz9/aicommentator/actions/CreateCommentForFunction.kt | Ninz9 | 857,720,577 | false | {"Kotlin": 135585} | package com.github.ninz9.aicommentator.actions
import com.github.ninz9.aicommentator.AiCommentatorBundle
import com.github.ninz9.aicommentator.generators.GeneratorImpl
import com.github.ninz9.aicommentator.psi.LangManipulatorFactory
import com.github.ninz9.aicommentator.utils.getEditor
import com.github.ninz9.aicommen... | 7 | Kotlin | 0 | 0 | 08e242ed26d8c6962e5e405725c64140f672afa9 | 2,891 | AiCommentator | MIT License |
common_component/src/main/java/com/xyoye/common_component/extension/FragmentManagerExt.kt | kaedei | 395,177,024 | true | {"Kotlin": 1300087, "Java": 542941} | package com.xyoye.common_component.extension
import androidx.annotation.IdRes
import androidx.fragment.app.Fragment
import androidx.fragment.app.FragmentManager
import androidx.fragment.app.FragmentTransaction
import com.xyoye.common_component.R
/**
* Created by xyoye on 2020/7/29.
*/
fun FragmentManager.hideFragm... | 57 | Kotlin | 67 | 8 | 1e2bbe520287c3ebf056ffdb3d00c07edf7946fb | 2,223 | DanDanPlayForAndroid | Apache License 2.0 |
straight/src/commonMain/kotlin/me/localx/icons/straight/bold/FaceHandYawn.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.straight.bold
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter
i... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 4,912 | icons | MIT License |
inference/inference-core/src/commonMain/kotlin/io/kinference.core/operators/tensor/Dropout.kt | JetBrains-Research | 244,400,016 | false | null | package io.kinference.core.operators.tensor
import io.kinference.attribute.Attribute
import io.kinference.core.data.tensor.KITensor
import io.kinference.core.data.tensor.asTensor
import io.kinference.data.ONNXData
import io.kinference.graph.Contexts
import io.kinference.ndarray.arrays.BooleanNDArray
import io.kinferen... | 8 | Kotlin | 7 | 95 | e47129b6f1e2a60bf12404d8126701ce7ef4db3a | 3,201 | kinference | Apache License 2.0 |
browser-kotlin/src/jsMain/kotlin/js/intl/ResolvedPluralRulesOptions.kt | karakum-team | 393,199,102 | false | {"Kotlin": 6328455} | // Automatically generated - do not modify!
package js.intl
import js.array.ReadonlyArray
import kotlinx.js.JsPlainObject
@JsPlainObject
sealed external interface ResolvedPluralRulesOptions {
var locale: String
var pluralCategories: ReadonlyArray<LDMLPluralRule>
var type: PluralRuleType
var minimumIn... | 1 | Kotlin | 8 | 35 | 6c553c67c6cbf77a802c137d010b143895c7da60 | 487 | types-kotlin | Apache License 2.0 |
wire-kotlin-generator/src/main/java/com/squareup/wire/kotlin/RpcCallStyle.kt | square | 12,274,147 | false | {"Kotlin": 4907929, "Java": 2177131, "Swift": 634656, "Ruby": 3972, "Shell": 1059, "JavaScript": 210} | /*
* Copyright (C) 2019 Square, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | 163 | Kotlin | 570 | 4,244 | 74715088d7d2ee1fdd6d3e070c8b413eefc7e5bd | 827 | wire | Apache License 2.0 |
kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnByteMatchSetProps.kt | cloudshiftinc | 667,063,030 | false | null | @file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION")
package io.cloudshiftdev.awscdk.services.waf
import io.cloudshiftdev.awscdk.IResolvable
import io.cloudshiftdev.awscdk.common.CdkDslMarker
imp... | 4 | null | 0 | 4 | eb3eef728b34da593a3e55dc423d4f5fa3668e9c | 6,969 | kotlin-cdk-wrapper | Apache License 2.0 |
MyApplication/dscustom/src/main/java/com/jeancss01/dscustom/CircularAnimatedDrawable.kt | jeancss01 | 460,631,339 | false | {"Kotlin": 56659} | package com.jeancss01.dscustom
import android.animation.Animator
import android.graphics.RectF
import android.animation.ObjectAnimator
import android.graphics.ColorFilter
import android.animation.ValueAnimator
import android.graphics.Canvas
import android.graphics.Paint
import android.graphics.PixelFormat
import andro... | 0 | Kotlin | 0 | 0 | a59ca3a3e32341707c6dd52b51c983a47873bf84 | 5,962 | designSystemCustom | Apache License 2.0 |
src/main/kotlin/mock/space/presentation/model/MockItemUiModel.kt | bernatdelgado87 | 751,498,454 | false | {"Kotlin": 32486, "Handlebars": 5396} | package mock.space.presentation.model
import mock.space.domain.model.ListenModeModel
import java.io.File
data class IndexUiModel(
val items: List<MockItemUiModel>,
val listenMode: ListenModeModel,
val rules: Rules
)
data class MockItemUiModel(
val folder: File,
val notes: String
)
data c... | 0 | Kotlin | 0 | 7 | d1c1b79794a355d7b13e9e5b3a8c60608689c3e9 | 375 | KtorMocker | Creative Commons Zero v1.0 Universal |
api/src/main/java/com/ftinc/giphy/api/model/GifResponse.kt | 52inc | 138,968,440 | false | {"Kotlin": 29937, "Java": 1116} | package com.ftinc.giphy.api.model
data class GifResponse(
val data: List<Gif>,
val meta: Meta,
val pagination: Pagination?
) | 1 | Kotlin | 1 | 1 | a07b804bb133c9706cad35fcc79811c9020a3b05 | 151 | android-giphy | Apache License 2.0 |
app/src/main/java/com/example/andrea/conductorautos/Detalle/DetallesAutoActivity.kt | Avill2 | 141,908,839 | false | null | package com.example.andreavillacis.av_exammoviles_iib.Detalle
import android.graphics.Bitmap
import android.graphics.BitmapFactory
import android.support.v7.app.AppCompatActivity
import android.os.Bundle
import android.util.Base64
import android.view.View
import android.widget.Toast
import com.example.andreavillacis.a... | 0 | Kotlin | 0 | 0 | d5d9ce0c66826b301db4b2c3754d3953acf4edc7 | 1,413 | ExamenFinalMov_AV | MIT License |
sample-app/src/main/java/com/squareup/contour/sample/widget/PaddingAdjusterWidget.kt | saket | 284,194,548 | false | null | package com.thepyprogrammer.androidlib.widget
import android.annotation.SuppressLint
import android.content.Context
import android.graphics.Rect
import android.widget.SeekBar
import androidx.appcompat.widget.AppCompatSeekBar
import androidx.appcompat.widget.AppCompatTextView
import com.squareup.contour.ContourLayout
... | 1 | null | 4 | 2 | ba21f32cbc37165aa5f6efe4bf9de5d79aba554b | 3,522 | contour | Apache License 2.0 |
src/main/java/opengis/model/app/response/wmts/FeatureInfo.kt | chris-hatton | 101,875,736 | false | null | package opengis.model.app.response.wmts
/**
*
*/
class FeatureInfo {
init {
TODO("Implement this stub")
}
} | 0 | Kotlin | 0 | 4 | 9b98feec99baf651b2e0c731052a321cd0cdb64b | 126 | opengis-client-kotlin | MIT License |
test1obw-sdk-kotlin-core/src/main/kotlin/com/test1obw/api/errors/PermissionDeniedException.kt | quivalen | 860,531,007 | false | {"Kotlin": 1795677, "Shell": 2562, "Dockerfile": 399} | package com.test1obw.api.errors
import com.google.common.collect.ListMultimap
class PermissionDeniedException(
headers: ListMultimap<String, String>,
body: String,
error: Test1obwSdkError,
) : Test1obwSdkServiceException(403, headers, body, error)
| 1 | Kotlin | 0 | 0 | f41096673683ec17b1d1a96fd1affa0befd7aea5 | 262 | onebusaway-kotlin-client | Apache License 2.0 |
zircon.core/src/commonMain/kotlin/org/hexworks/zircon/internal/graphics/ComponentLayer.kt | klaushauschild1984 | 251,023,634 | false | null | package org.hexworks.zircon.internal.graphics
import org.hexworks.zircon.api.behavior.Movable
import org.hexworks.zircon.api.data.Position
import org.hexworks.zircon.api.graphics.TileGraphics
import org.hexworks.zircon.internal.behavior.impl.DefaultMovable
import kotlin.jvm.Synchronized
class ComponentLayer(initialPo... | 1 | null | 1 | 1 | 8b6adaadeef6931accd467dc5628027e7470075a | 893 | zircon | Apache License 2.0 |
app/src/main/java/com/example/lolresults/di/LiveRepositoryModule.kt | jmartinez360 | 269,050,493 | false | {"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "Kotlin": 57, "XML": 35, "Java": 2} | package com.example.lolresults.di
import com.example.lolresults.datasource.livedata.FixtureLiveMessagesDataSource
import com.example.lolresults.repository.livedata.FixtureLiveMessagesRepository
import com.example.lolresults.repository.livedata.RemoteFixtureLiveMessagesRepository
import com.example.lolresults.repositor... | 0 | Kotlin | 0 | 7 | 26175b1f4d7553f75d10257ba3fef9df592bfc6f | 721 | e-sports_kotlin_demo | Apache License 2.0 |
app/src/main/java/com/sanjeevyadavit/magecart/data/remote/dto/SignupBodyRequest.kt | sanjeevyadavIT | 550,000,134 | false | null | package com.sanjeevyadavit.magecart.data.remote.dto
import com.google.gson.annotations.SerializedName
data class Customer(
@SerializedName("email") val email: String,
@SerializedName("firstname") val firstname: String,
@SerializedName("lastname") val lastname: String
)
data class SignupBodyRequest(
... | 2 | Kotlin | 1 | 0 | 510c2ea3b556bf4aa870ed70c997ba9efa0aba54 | 429 | magento-android | MIT License |
native/native.tests/testData/gc/worker_bound_reference0.kt | JetBrains | 3,432,266 | false | null | // DISABLE_NATIVE: gcType=NOOP
// FREE_COMPILER_ARGS: -opt-in=kotlin.experimental.ExperimentalNativeApi,kotlin.native.runtime.NativeRuntimeApi,kotlin.native.FreezingIsDeprecated
import kotlin.test.*
import kotlin.concurrent.AtomicInt
import kotlin.concurrent.AtomicReference
import kotlin.native.concurrent.*
import ko... | 182 | null | 5706 | 48,889 | c46c3c26038158cf80a739431ac8807ac4bbbc0c | 10,592 | kotlin | Apache License 2.0 |
app/src/main/java/com/foobarust/android/seller/SellerListFragment.kt | foobar-UST | 285,792,732 | false | null | package com.foobarust.android.seller
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.core.view.isVisible
import androidx.fragment.app.viewModels
import androidx.lifecycle.lifecycleScope
import androidx.navigation.fragment.navArgs
import... | 0 | Kotlin | 2 | 2 | b4358ef0323a0b7a95483223496164e616a01da5 | 4,584 | foobar-android | MIT License |
src/main/kotlin/com/jetbrains/snakecharm/lang/psi/types/AbstractSmkRuleOrCheckpointType.kt | JetBrains-Research | 165,259,818 | false | null | package com.jetbrains.snakecharm.lang.psi.types
import com.intellij.codeInsight.completion.PrioritizedLookupElement
import com.intellij.codeInsight.lookup.LookupElement
import com.intellij.codeInsight.lookup.LookupElementBuilder
import com.intellij.openapi.module.Module
import com.intellij.openapi.module.ModuleUtilCor... | 90 | Python | 7 | 45 | 7344c941f9a63934280ca017656587d0addb6159 | 8,808 | snakecharm | MIT License |
app/src/main/java/com/chimichanga/trendhub/repository/detail/RepositoryDetailViewModel.kt | emalamela | 163,540,309 | false | null | package com.chimichanga.trendhub.repository.detail
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import com.chimichanga.trendhub.common.model.Repository
import javax.inject.Inject
class RepositoryDetailViewModel @Inject constructor() : ViewModel() {
... | 0 | Kotlin | 0 | 0 | ab80ca9f3821dfe7409b6eca0a322a6bb3a8fd8c | 592 | trendhub | MIT License |
jetbrains-core/src/software/aws/toolkits/jetbrains/services/clouddebug/execution/CloudDebugCliStep.kt | JetBrains | 223,485,227 | false | null | // Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
package software.aws.toolkits.jetbrains.services.clouddebug.execution
import com.intellij.execution.configurations.GeneralCommandLine
import com.intellij.execution.process.ProcessAdapter
import com.intell... | 6 | null | 4 | 9 | ccee3307fe58ad48f93cd780d4378c336ee20548 | 2,837 | aws-toolkit-jetbrains | Apache License 2.0 |
app/src/main/java/com/fireblocks/sdkdemo/bl/core/extensions/LoggerExtensions.kt | fireblocks | 690,587,303 | false | {"Kotlin": 677522, "HTML": 788} | package com.fireblocks.sdkdemo.bl.core.extensions
import android.util.Log
import com.fireblocks.sdk.logger.Level
/**
* Created by Fireblocks Ltd. on 25/01/2024.
*/
//fun Timber.Forest.d(message: () -> String, vararg args: Any?) {
// if (isDebugLog()) {
// d(message(), args)
// }
//}
fun getLogLevel()... | 1 | Kotlin | 3 | 1 | 866518ac6a2eea158da6f8457c6ba4bdd65df6bc | 473 | android-ncw-demo | MIT License |
ggp/src/main/kotlin/cli/GGP.kt | FatioSE | 638,990,796 | false | null | package cli
import com.github.ajalt.clikt.core.CliktCommand
import com.github.ajalt.clikt.parameters.options.default
import com.github.ajalt.clikt.parameters.options.option
import core.PopulationFactory
import kafka.KafkaController
import models.StreamIndividual
import repository.ConfigurationRepository
import reposit... | 0 | Kotlin | 0 | 0 | 1f3bda44239f369ce1086611cb2555db8b515897 | 2,231 | Kernel-PCA-DR | MIT License |
src/main/kotlin/gli_/dx.kt | kotlin-graphics | 86,992,411 | false | null | package gli_
import gli_.dx.D3dfmt.*
import gli_.dx.Ddpf.*
import gli_.dx.Dxgi_format_dds.*
import gli_.dx.Dxgi_format_gli.*
import glm_.i
import glm_.vec4.Vec4i
import gli_.detail.has
import gli_.detail.hasnt
import gli_.get
/**
* Created by elect on 02/04/17.
*/
/** Translation class to convert GLI enums into Di... | 0 | null | 6 | 31 | 98574369f6a752ef474f7c9533db8bd363c3cb8f | 35,974 | gli | MIT License |
app/src/main/java/com/bayraktar/shop/adapter/CategoryAdapter.kt | ebayraktar | 382,096,078 | false | null | package com.bayraktar.shop.adapter
import android.content.res.Configuration
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.view.animation.Animation
import android.widget.ImageView
import android.widget.TextView
import androidx.recyclerview.widget.RecyclerView
i... | 0 | Kotlin | 0 | 0 | e25800a7f574091f5b95c921df0bd373adae56cb | 2,751 | Shop | MIT License |
src/main/kotlin/com/simon/kotlin/coroutines/flow/FlowUseCase.kt | SimonRHW | 159,170,398 | false | {"Gradle": 2, "INI": 1, "Shell": 1, "Text": 3, "Ignore List": 1, "Batchfile": 1, "Markdown": 2, "Java Properties": 1, "Go": 2, "Go Checksums": 1, "Go Module": 1, "Java": 87, "Kotlin": 75, "CMake": 1, "C": 1, "JSON": 2} | package com.simon.kotlin.coroutines.flow
import kotlinx.coroutines.delay
import kotlinx.coroutines.flow.flow
import kotlinx.coroutines.runBlocking
/**
* @author Simon
* @desc
*/
fun main() = runBlocking {
val flow = flow<Int> {
(1..5).forEach {
delay(1000)
emit(it)
}
... | 0 | Java | 1 | 0 | 2c71a0842207d4446b4cdb59d73229b150190bc5 | 477 | BasicKnowledge | Apache License 2.0 |
app/src/main/java/com/team/testscanner/ui/activities/PreviewActivity.kt | mukulasija | 600,352,382 | false | {"Kotlin": 114741} | package com.team.testscanner.ui.activities
import android.content.Intent
import android.os.Bundle
import android.util.Log
import android.view.View
import android.widget.Button
import android.widget.TextView
import android.widget.Toast
import androidx.appcompat.app.AppCompatActivity
import androidx.recyclerview.widget.... | 0 | Kotlin | 0 | 2 | 6078f2221b3a8596c3c242f48d29551005d5f768 | 8,059 | TestScanner | MIT License |
projects/manage-supervision-and-delius/src/main/kotlin/uk/gov/justice/digital/hmpps/api/controller/UserController.kt | ministryofjustice | 500,855,647 | false | {"Kotlin": 3705021, "HTML": 57595, "D2": 27334, "Ruby": 25392, "Shell": 12351, "SCSS": 6240, "HCL": 2712, "Dockerfile": 2414, "JavaScript": 1344, "Python": 268} | package uk.gov.justice.digital.hmpps.api.controller
import io.swagger.v3.oas.annotations.Operation
import io.swagger.v3.oas.annotations.tags.Tag
import org.springframework.security.access.prepost.PreAuthorize
import org.springframework.web.bind.annotation.GetMapping
import org.springframework.web.bind.annotation.PathV... | 2 | Kotlin | 0 | 2 | 3c94d59ce92b797a83c66f928c748f56644d5c2d | 1,680 | hmpps-probation-integration-services | MIT License |
kotlin-typescript/src/main/generated/typescript/JSDocProtectedTag.kt | JetBrains | 93,250,841 | false | null | // Automatically generated - do not modify!
package typescript
sealed external interface JSDocProtectedTag : JSDocTag {
override val kind: SyntaxKind.JSDocProtectedTag
}
| 10 | Kotlin | 145 | 983 | 7ef1028ba3e0982dc93edcdfa6ee1edb334ddf35 | 176 | kotlin-wrappers | Apache License 2.0 |
library/src/main/java/com/sungbin/recyclerviewadaptermaker/library/swipe/SwipeController.kt | jisungbin | 267,645,985 | false | null | package com.sungbin.recyclerviewadaptermaker.library.swipe
import android.annotation.SuppressLint
import android.graphics.Canvas
import android.graphics.Color
import android.graphics.Paint
import android.graphics.RectF
import android.view.MotionEvent
import androidx.recyclerview.widget.ItemTouchHelper
import androidx.... | 0 | Kotlin | 0 | 7 | aef15da4122050f8ec9bf6c9765172eaf5e6bc74 | 8,583 | AdapterHelper | Apache License 2.0 |
app/src/main/java/com/example/gamingex/snake/HighscoreScreen.kt | gazinaft | 264,455,500 | false | null | package com.example.gamingex.snake
import com.example.gamingex.framework.Game
import com.example.gamingex.framework.Graphics
import com.example.gamingex.framework.Input
import com.example.gamingex.framework.Screen
class HighscoreScreen(game: Game): Screen(game) {
val scores = List<String>(5) { "${(it+1)}. ${Sett... | 0 | Kotlin | 1 | 4 | f47dc6f078f1afd5f5bbc4c481e4c14a95ebd1bf | 2,000 | Kursach | MIT License |
library/src/main/java/renetik/android/event/registration/CSHasRegistrations+MainHandler.kt | renetik | 506,084,889 | false | {"Kotlin": 89533} | package renetik.android.event.registration
import androidx.annotation.AnyThread
import renetik.android.core.lang.CSHandler.mainHandler
import renetik.android.event.registration.CSRegistration.Companion.CSRegistration
@AnyThread
fun CSHasRegistrations.registerLaterEach(
after: Int, period: Int = after, function: (... | 0 | Kotlin | 0 | 2 | 5fe5d35b9a953f55ec5fb66c3096607c7d32bca6 | 481 | renetik-android-event | MIT License |
CRM/src/main/kotlin/org/example/crm/dtos/request/create/CTelephoneDTO.kt | M4tT3d | 874,249,564 | false | {"Kotlin": 354206, "TypeScript": 180680, "JavaScript": 3610, "Dockerfile": 2844, "CSS": 2078, "HTML": 302} | package org.example.crm.dtos.request.create
import jakarta.validation.constraints.NotBlank
import jakarta.validation.constraints.Pattern
import org.example.crm.utils.MOBILEPHONE_REGEX
import org.example.crm.validators.NullAndNotEmpty
data class CTelephoneDTO(
@field:NotBlank(message = "Telephone is required")
... | 0 | Kotlin | 0 | 0 | 26ff03cc3863e278d0ec6b87ced384122cf66c98 | 520 | wa2-project-job-placement | MIT License |
src/main/kotlin/org/piecesapp/client/models/AllocationCloudUrls.kt | pieces-app | 726,212,140 | false | {"Kotlin": 1451671} | /**
* Pieces Isomorphic OpenAPI
* Endpoints for Assets, Formats, Users, Asset, Format, User.
*
* The version of the OpenAPI document: 1.0
* Contact: <EMAIL>
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/... | 4 | Kotlin | 2 | 6 | 26fbd58376e3cfca5ddcfe3d22a9e412425e12b4 | 1,062 | pieces-os-client-sdk-for-kotlin | MIT License |
Android/app/src/main/java/ru/alexskvortsov/policlinic/data/storage/database/entities/UserEntity.kt | AlexSkvor | 244,438,301 | false | null | package ru.alexskvortsov.policlinic.data.storage.database.entities
import androidx.room.Entity
import androidx.room.Index
import androidx.room.PrimaryKey
@Entity(
tableName = "users",
indices = [
Index(value = arrayOf("login"), unique = true)
]
)
data class UserEntity(
@PrimaryKey val id: Stri... | 0 | Kotlin | 0 | 0 | 5cc6a10a1399ee08643e69308afd4626938882b0 | 373 | polyclinic | Apache License 2.0 |
waypoint-core/src/main/java/com/squaredcandy/waypoint/core/feature/transition/DefaultScreenTransition.kt | squaredcandy | 638,860,321 | false | null | package com.squaredcandy.waypoint.core.feature.transition
import androidx.compose.animation.AnimatedContentTransitionScope
import androidx.compose.animation.ContentTransform
import androidx.compose.animation.core.tween
import androidx.compose.animation.fadeIn
import androidx.compose.animation.fadeOut
import androidx.c... | 0 | Kotlin | 0 | 0 | 44a82e42ae841fae201ce7ffbcb10eb20ff786c1 | 780 | waypoint | Apache License 2.0 |
Mobile/SimplexLudum/composeApp/src/commonMain/kotlin/palbp/laboratory/simplexludum/ui/theme/Color.kt | palbp | 463,200,783 | false | {"Kotlin": 722657, "C": 16710, "Assembly": 891, "Dockerfile": 610, "Swift": 594, "Makefile": 383} | package palbp.laboratory.simplexludum.ui.common.theme
import androidx.compose.ui.graphics.Color
val Purple80 = Color(0xFFD0BCFF)
val PurpleGrey80 = Color(0xFFCCC2DC)
val Pink80 = Color(0xFFEFB8C8)
val Purple40 = Color(0xFF6650a4)
val PurpleGrey40 = Color(0xFF625b71)
val Pink40 = Color(0xFF7D5260)
val LightRed = Col... | 1 | Kotlin | 0 | 4 | e99337ec402378940f1ca93537cb8863fa378c6f | 366 | laboratory | MIT License |
kgraphql/src/test/kotlin/com/apurebase/kgraphql/integration/FakeComplicatedDataLoad.kt | stuebingerb | 872,399,797 | false | {"Kotlin": 708601, "HTML": 20340, "Shell": 240, "Java": 221} | package com.apurebase.kgraphql.integration
import kotlinx.coroutines.CoroutineName
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.SupervisorJob
import kotlinx.coroutines.async
import kotlinx.coroutines.coroutineScope
import kotlinx.coroutines.delay
import kotlin.random.Random
import kotlin.random.n... | 17 | Kotlin | 1 | 3 | f15b4e5327aff0bf3e011211405aa4b6dc8f36f1 | 1,028 | KGraphQL | MIT License |
feature/discover/src/main/java/org/hxl/discover/menu/starship/StarShipListFragment.kt | hexley21 | 657,343,982 | false | null | package org.hxl.discover.menu.starship
import android.os.Bundle
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.fragment.app.viewModels
import dagger.hilt.android.AndroidEntryPoint
import org.hxl.discover.databinding.StarwarsListBinding
import org.hxl.discover.menu.base.BaseListFragmen... | 1 | Kotlin | 0 | 0 | 44941d167e70d5bc28a5fcd15be4bd99f250df5e | 1,006 | ForceFacts | Apache License 2.0 |
app/src/main/java/nl/rijksmuseum/core/base/BaseApplication.kt | zakuby | 206,800,433 | false | null | package nl.rijksmuseum.core.base
import dagger.android.AndroidInjector
import dagger.android.DaggerApplication
import nl.rijksmuseum.core.dagger.component.DaggerAppComponent
class BaseApplication : DaggerApplication() {
private val appComponent by lazy {
DaggerAppComponent.builder()
.applicati... | 0 | Kotlin | 0 | 2 | c7f673090ec370da285190f761a5627fe3b0f40e | 507 | rijks-museum-android | Apache License 2.0 |
app/src/main/java/com/bluethunder/tar2/cloud_db/StorageReferences.kt | eslamfaisal | 512,166,864 | false | null | package com.bluethunder.tar2.cloud_db
enum class StorageReferences(val value: String) {
ChatImagesFolder("ChatImages");
fun value(): String {
return value
}
}
| 0 | Kotlin | 0 | 18 | 1ca46a9b534bd23c61ebf6f143bf9b5379223e53 | 182 | emergency-services | Apache License 2.0 |
mainModule/src/main/kotlin/com/MatteV02/EHRforEquipes/mainModule/App.kt | MatteV02 | 837,950,916 | false | {"Kotlin": 136551} | package com.MatteV02.EHRforEquipes.mainModule
import androidx.compose.foundation.layout.Column
import androidx.compose.material.MaterialTheme
import androidx.compose.material3.NavigationBar
import androidx.compose.runtime.*
import androidx.compose.ui.Modifier
import androidx.compose.ui.window.Window
import androidx.co... | 0 | Kotlin | 0 | 0 | 1a91da609771c19b4b77aed7af0059be7211865a | 1,508 | EHRforEquips | MIT License |
app/src/main/java/com/project/expandablenavigationdrawer/HomeFragment.kt | pramodkumarp6 | 710,015,390 | false | {"Kotlin": 17673, "Java": 1180} | package com.project.expandablenavigationdrawer
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import androidx.fragment.app.Fragment
/**
* A simple [Fragment] subclass.
*/
class Category1Fragment : Fragment() {
var... | 0 | Kotlin | 0 | 0 | 9c9837dbd50602ebe3bf126bfe08e20c35bdc690 | 1,008 | ExpandableNavigationDrawer | MIT License |
compiler/fir/resolve/testData/resolve/fakeRecursiveSupertype.kt | damenez | 189,964,139 | true | {"Markdown": 56, "Gradle": 497, "Gradle Kotlin DSL": 215, "Java Properties": 12, "Shell": 11, "Ignore List": 10, "Batchfile": 9, "Git Attributes": 1, "Protocol Buffer": 12, "Java": 5238, "Kotlin": 43905, "Proguard": 7, "XML": 1594, "Text": 9172, "JavaScript": 239, "JAR Manifest": 2, "Roff": 209, "Roff Manpage": 34, "IN... | import incorrect.directory.My
class My : My()
class Your : His()
class His : Your() | 0 | Kotlin | 1 | 2 | dca23f871cc22acee9258c3d58b40d71e3693858 | 86 | kotlin | Apache License 2.0 |
org.librarysimplified.audiobook.tests/src/test/java/org/librarysimplified/audiobook/tests/JOSEHeaderContract.kt | ThePalaceProject | 379,956,255 | false | {"Kotlin": 710862, "Java": 2392} | package org.librarysimplified.audiobook.tests
import org.junit.jupiter.api.Assertions
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.Timeout
import org.librarysimplified.audiobook.json_web_token.JOSEHeader
import org.librarysimplified.audiobook.parser.api.ParseResult
import org.quicktheories.QuickTheor... | 1 | Kotlin | 1 | 1 | 1ed86aae92d0e51070b63da5da20670a7e4a084d | 2,083 | android-audiobook | Apache License 2.0 |
main/src/main/kotlin/net/fwitz/math/main/binary/escape/mandel/MandelPiPlot.kt | txshtkckr | 410,419,365 | false | null | package net.fwitz.math.main.binary.escape.mandel
object MandelPiPlot : MandelbrotPlot(
name = "MandelPi (Escape Time)",
power = Math.PI
) {
@JvmStatic
fun main(args: Array<String>) = MandelPiPlot.render()
} | 0 | Kotlin | 1 | 0 | c6ee97ab98115e044a46490ef3a26c51752ae6d6 | 223 | fractal | Apache License 2.0 |
app/src/main/java/ude/student/fadu/view/fragment/SaveUserFragment.kt | AwDude | 307,395,507 | false | null | package ude.student.fadu.view.fragment
import ude.student.fadu.BR
import ude.student.fadu.R
import ude.student.fadu.databinding.FragmentSaveUserBinding
import ude.student.fadu.viewmodel.SaveUserViewModel
class SaveUserFragment : AFragment<SaveUserViewModel, FragmentSaveUserBinding>() {
override fun getViewModelClas... | 0 | Kotlin | 0 | 0 | 748493a73cc6b2da380db602cc2e3f459d95d27e | 458 | Will-I-Regret | Apache License 2.0 |
compose-designer/src/com/android/tools/idea/compose/preview/navigation/ViewInfoParser.kt | JetBrains | 60,701,247 | false | null | /*
* Copyright (C) 2020 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 0 | Kotlin | 220 | 857 | 8d22f48a9233679e85e42e8a7ed78bbff2c82ddb | 5,506 | android | Apache License 2.0 |
src/test/kotlin/io/github/abansod/kotora/EitherTest.kt | abansod | 275,346,404 | false | null | package io.github.abansod.kotora
import io.kotlintest.matchers.types.shouldBeTypeOf
import io.kotlintest.shouldBe
import kotlinx.coroutines.ExperimentalCoroutinesApi
import kotlinx.coroutines.test.runBlockingTest
import org.junit.jupiter.api.Test
@ExperimentalCoroutinesApi
internal class EitherTest {
val increm... | 0 | Kotlin | 0 | 0 | e403101c779baa8f6afb42c30790b12f08cb039e | 3,461 | kotora | Apache License 2.0 |
shared/src/mobileMain/kotlin/org/jetbrains/kotlinconf/ui/Welcome.kt | JetBrains | 108,403,211 | false | null | package org.jetbrains.kotlinconf.ui
import androidx.compose.foundation.*
import androidx.compose.foundation.layout.*
import androidx.compose.material.*
import androidx.compose.runtime.*
import androidx.compose.ui.*
import androidx.compose.ui.draw.*
import androidx.compose.ui.graphics.*
import androidx.compose.ui.text.... | 21 | null | 309 | 2,811 | 3e919c060ebd0b65ee63b1a135f9d69431b39cdb | 8,518 | kotlinconf-app | Apache License 2.0 |
csp-framework/src/test/kotlin/pruning/ForwardChecking prunes domain.kt | RedShuhart | 152,120,429 | false | null | package pruning
import com.tsovedenski.csp.BinaryConstraint
import com.tsovedenski.csp.Domain
import com.tsovedenski.csp.Job
import com.tsovedenski.csp.Selected
import com.tsovedenski.csp.heuristics.pruning.Slice
import com.tsovedenski.csp.heuristics.pruning.schemas.ForwardChecking
import org.junit.Assert
import org.j... | 0 | Kotlin | 1 | 4 | 29d59ec7ff4f0893c0d1ec895118f961dd221c7f | 1,301 | csp-framework | MIT License |
src/main/kotlin/dev/epicsquid/squidink/SquidInk.kt | EpicSquid | 668,182,827 | false | null | package dev.epicsquid.squidink
import net.minecraftforge.fml.common.Mod
@Mod(SquidInk.MODID)
class SquidInk {
companion object {
const val MODID = "squidink"
}
} | 0 | Kotlin | 0 | 0 | 8c37580ebd8c6a592aae6ccd6ace6ff7ca1a47c3 | 168 | SquidInk | MIT License |
j2k/old/tests/testData/fileOrElement/literalExpression/exponentDouble.kt | JetBrains | 278,369,660 | false | null | class Exponent {
private val doubles = doubleArrayOf(
5e5,
+5e5,
-5e5,
5e+5,
5e-5,
5E5,
+5E5,
-5E5,
5E+5,
5E-5,
2.5e5,
+2.5e5,
-2.5e5,
2.5e+5,
2.5e-5,
2.5E5,
+2.5E5,
-2.5E5... | 0 | null | 30 | 82 | cc81d7505bc3e9ad503d706998ae8026c067e838 | 494 | intellij-kotlin | Apache License 2.0 |
src/main/kotlin/eft/weapons/builds/tree/ResultWriter.kt | neonailol | 207,225,209 | false | {"Kotlin": 55401} | package eft.weapons.builds.tree
import eft.weapons.builds.items.templates.TestItemTemplatesData
import eft.weapons.builds.utils.Locale.itemShortName
import org.apache.commons.csv.CSVFormat
import org.apache.commons.csv.CSVPrinter
import java.io.FileWriter
import java.nio.file.Files
import java.nio.file.Paths
import ja... | 0 | Kotlin | 1 | 0 | 1254d1157a7478360480d2a4a84aad590a95e201 | 2,706 | eft-codex | MIT License |
voyager-navigator/src/jsMain/kotlin/cafe.adriel.voyager.navigator/state/Actual.kt | Dussim | 435,035,607 | true | {"Kotlin": 58190} | package cafe.adriel.voyager.navigator.state
import androidx.compose.runtime.Composable
public actual interface SaveableStateHolder {
@Composable
actual fun SaveableStateProvider(key: Any, content: @Composable () -> Unit)
actual fun removeState(key: Any)
}
| 0 | Kotlin | 0 | 0 | 6ac9450096a7581cc83a1ee3b5bd173875ca2267 | 270 | voyager | MIT License |
src/main/kotlin/com/sk/set10/1002. Find Common Characters.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.set10
class Solution1002 {
fun commonChars(A: Array<String>): List<String> {
var freq = count(A[0])
for (i in 1 until A.size) {
freq = intersection(freq, count(A[i]))
}
val list = mutableListOf<String>()
for (i in 0..25) {
repeat(freq[... | 1 | null | 1 | 1 | 67688ec01551e9981f4be07edc11e0ee7c0fab4c | 726 | leetcode-answers-kotlin | Apache License 2.0 |
idea/testData/slicer/inflow/memberVarWithSplitInitializer.kt | JakeWharton | 99,388,807 | false | null | // FLOW: IN
class A {
var <caret>x: Int
init {
x = 1
}
val y = x
fun test() {
val y = x
x = 2
}
} | 0 | null | 28 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 149 | kotlin | Apache License 2.0 |
fluentui_icons/src/main/java/com/microsoft/fluentui/icons/avataricons/icon/anonymous/Medium.kt | anthonysidesap | 454,785,267 | true | {"Kotlin": 2243120, "Shell": 8996} | package com.microsoft.fluentui.icons.avataricons.icon.anonymous
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.St... | 1 | Kotlin | 2 | 7 | 2b0d10f7b754c189fea210d279487617e5661eaa | 3,004 | fluentui-android | MIT License |
cinescout/screenplay/domain/src/commonMain/kotlin/cinescout/screenplay/domain/store/ScreenplayKeywordsStore.kt | fardavide | 280,630,732 | false | null | package cinescout.screenplay.domain.store
import cinescout.screenplay.domain.model.ScreenplayKeywords
import cinescout.screenplay.domain.model.id.TmdbScreenplayId
import cinescout.store5.Store5
interface ScreenplayKeywordsStore : Store5<TmdbScreenplayId, ScreenplayKeywords>
| 8 | Kotlin | 2 | 6 | dcbd0a0b70d6203a2ba1959b797038564d0f04c4 | 277 | CineScout | Apache License 2.0 |
app/src/main/java/com/github/grishberg/profiler/ui/StandaloneAppFramesManager.kt | Grigory-Rylov | 256,819,360 | false | null | package com.github.grishberg.profiler.ui
import com.github.grishberg.profiler.chart.highlighting.ColorInfoAdapter
import com.github.grishberg.profiler.chart.highlighting.StandaloneAppMethodsColorRepository
import com.github.grishberg.profiler.common.AppLogger
import com.github.grishberg.profiler.common.CoroutinesDispa... | 38 | null | 6 | 97 | e0ba609640cea72c301ff1537dc9cdd9b67bfe4c | 2,062 | android-methods-profiler | Apache License 2.0 |
android-aop-plugin/src/main/kotlin/com/flyjingfish/android_aop_plugin/beans/MatchMethodInfo.kt | FlyJingFish | 722,020,803 | false | {"Kotlin": 166067, "Java": 40881} | package com.flyjingfish.android_aop_plugin.beans
class MatchMethodInfo {
lateinit var name: String
var returnType: String? = null
var paramTypes: String? = null
override fun toString(): String {
return "MatchMethodInfo(name='$name', returnType=$returnType, paramTypes=$paramTypes)"
}
} | 0 | Kotlin | 3 | 84 | dbda228d57afd1d0dc122d1bce6377e83616ca20 | 315 | AndroidAOP | Apache License 2.0 |
src/main/kotlin/org/intellij/plugin/tracker/view/checkbox/CheckBoxNodeRenderer.kt | JetBrains-Research | 277,519,535 | false | null | package org.intellij.plugin.tracker.view.checkbox
import java.awt.Color
import java.awt.Component
import javax.swing.JTree
import javax.swing.UIManager
import javax.swing.tree.DefaultMutableTreeNode
import javax.swing.tree.DefaultTreeCellRenderer
import javax.swing.tree.TreeCellRenderer
import javax.swing.tree.TreePat... | 5 | null | 1 | 2 | 831e3eaa7ead78ffe277cb415b6f993139fb4de3 | 2,588 | linktracker | Apache License 2.0 |
app/src/main/java/com/seam/demo/seam/SeamApiService.kt | mala2017 | 858,864,932 | false | {"Kotlin": 15204} | package com.seam.demo.seam
import retrofit2.http.GET
import retrofit2.http.Header
interface SeamApiService {
@GET("workspaces/get")
suspend fun getWorkspaces(@Header("Authorization") authKey: String ): WorkspaceResponse
} | 0 | Kotlin | 0 | 0 | e5b483bf2e04a77a218fedb3fa89374a83f190a9 | 233 | Applink | Apache License 2.0 |
src/test/kotlin/com/ginsberg/advent2021/Day05Test.kt | tginsberg | 432,766,033 | false | {"Kotlin": 92813} | /*
* Copyright (c) 2021 by <NAME>
*/
package com.ginsberg.advent2021
import com.ginsberg.advent2021.Resources.resourceAsListOfString
import org.assertj.core.api.Assertions.assertThat
import org.junit.jupiter.api.DisplayName
import org.junit.jupiter.api.Nested
import org.junit.jupiter.api.Test
@DisplayName("Day 5")... | 0 | Kotlin | 2 | 34 | 8e57e75c4d64005c18ecab96cc54a3b397c89723 | 1,595 | advent-2021-kotlin | Apache License 2.0 |
app/src/main/java/xyz/teamgravity/notepad/injection/app/App.kt | raheemadamboev | 312,077,625 | false | null | package xyz.teamgravity.notepad.injection.app
import android.app.Application
import dagger.hilt.android.HiltAndroidApp
import timber.log.Timber
import xyz.teamgravity.notepad.BuildConfig
import xyz.teamgravity.pin_lock_compose.PinManager
import javax.inject.Inject
@HiltAndroidApp
class App : Application() {
@Inj... | 0 | Kotlin | 0 | 9 | 7c41319648208a5207ee5cc281231ad5445dcee6 | 514 | notepad-app | Apache License 2.0 |
serialization/src/main/kotlin/Serialization.kt | hexagonkt | 56,139,239 | false | null | package com.hexagonkt.serialization
import com.hexagonkt.core.helpers.toStream
import com.hexagonkt.serialization.SerializationManager.formatOf
import com.hexagonkt.serialization.SerializationManager.requireDefaultFormat
import com.hexagonkt.serialization.SerializationManager.requireMapper
import java.io.File
import j... | 21 | Kotlin | 80 | 371 | fdeda404a295a08335d6033a1d5c341d97873311 | 3,315 | hexagon | MIT License |
kotlin-mui-icons/src/main/generated/mui/icons/material/LocalPrintshopTwoTone.kt | JetBrains | 93,250,841 | false | null | // Automatically generated - do not modify!
@file:JsModule("@mui/icons-material/LocalPrintshopTwoTone")
@file:JsNonModule
package mui.icons.material
@JsName("default")
external val LocalPrintshopTwoTone: SvgIconComponent
| 10 | Kotlin | 5 | 983 | 7ef1028ba3e0982dc93edcdfa6ee1edb334ddf35 | 224 | kotlin-wrappers | Apache License 2.0 |
app/src/main/kotlin/io/github/dmitrytsyvtsyn/algosortinganimations/core/theming/typeface/TextExtensions.kt | DmitryTsyvtsyn | 763,537,360 | false | {"Kotlin": 188253} | package io.github.dmitrytsyvtsyn.algosortinganimations.core.theming.typeface
import android.util.TypedValue
import android.widget.TextView
fun TextView.fontSize(sp: Float) {
setTextSize(TypedValue.COMPLEX_UNIT_SP, sp)
} | 0 | Kotlin | 0 | 11 | e7f6d0e516b988c6a42813e13b0be515a7a51591 | 225 | AlgoSortingAnimations | MIT License |
shared-ui/src/commonMain/kotlin/co.touchlab.droidcon/viewmodel/session/SessionDetailScrollStateStorage.kt | touchlab | 140,843,272 | false | {"Kotlin": 283700, "Swift": 72125, "HTML": 7463, "Python": 3635, "Ruby": 211} | package co.touchlab.droidcon.viewmodel.session
import kotlinx.datetime.LocalDate
class SessionDetailScrollStateStorage {
val scrollStates: MutableMap<LocalDate, SessionDayViewModel.ScrollState> = mutableMapOf()
val agendaScrollStates: MutableMap<LocalDate, SessionDayViewModel.ScrollState> = mutableMapOf()
... | 14 | Kotlin | 79 | 994 | 7d75c3215f2ba4111dcdbb0597e5a27818be91fe | 916 | DroidconKotlin | Apache License 2.0 |
src/main/kotlin/net/minecraftarm/nbt/NbtIntArray.kt | ArmBlockMC | 832,706,544 | false | {"Kotlin": 72926} | package net.minecraftarm.api.nbt
import io.netty.buffer.ByteBuf
class NbtIntArray(val value: IntArray) : NbtTag {
override val typeID: Byte
get() = 11
override fun encode(buf: ByteBuf) {
buf.writeInt(value.size)
for (i in value) {
buf.writeInt(i)
}
}
} | 0 | Kotlin | 0 | 1 | fafb0aaa9b6377d16ecf401a9275e7d2546a9bc5 | 311 | ArmServer | Apache License 2.0 |
app/src/main/java/com/jonesandjay123/travelphrasebook/TranslationService.kt | jonesandjay123 | 861,294,852 | false | {"Kotlin": 48092} | package com.jonesandjay123.travelphrasebook
import retrofit2.Call
import retrofit2.http.Body
import retrofit2.http.Headers
import retrofit2.http.POST
import retrofit2.http.Query
interface TranslationService {
@Headers("Content-Type: application/json")
@POST("language/translate/v2")
fun translateText(
... | 0 | Kotlin | 0 | 1 | 06ef779488b123ca205b867f2ca814f035d27ce8 | 430 | TravelPhraseBook | MIT License |
domain/monster/data/src/commonMain/kotlin/br/alexandregpereira/hunter/data/monster/remote/model/SpeedValueDto.kt | alexandregpereira | 347,857,709 | false | {"Kotlin": 1443810, "Swift": 754, "Shell": 139} | /*
* 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 writi... | 3 | Kotlin | 5 | 85 | 46a636ec6fe5a60101e761847c85776180c6f5b2 | 1,570 | Monster-Compendium | Apache License 2.0 |
Section7/Video7.4/TODo/app/src/main/java/vafa/mona/com/todolistapp/AddNewTaskDialog.kt | sby5388 | 256,136,381 | true | {"Java": 36215068, "Kotlin": 132222, "Assembly": 138} | package vafa.mona.com.todolistapp
import android.app.Activity
import android.app.AlertDialog
import android.app.Dialog
import android.os.Bundle
import android.support.v4.app.DialogFragment
import android.view.View
import android.widget.EditText
import kotlinx.android.synthetic.main.dialog_fragment.*
/**
* Created b... | 0 | Java | 0 | 0 | 9eeea6097983b13e411afa21dcec6460c7d7ee70 | 1,733 | Hands-on-Android-Application-Components-Services-and-Fragments | MIT License |
app/src/main/java/dev/apes/pawmance/ui/birth/PetBirthdayFragment.kt | forceporquillo | 424,718,550 | false | null | package dev.apes.pawmance.ui.birth
import android.icu.util.Calendar
import android.os.Bundle
import android.view.View
import androidx.core.widget.addTextChangedListener
import androidx.fragment.app.Fragment
import androidx.fragment.app.activityViewModels
import com.devforcecodes.pawmance.R
import com.devforcecodes.paw... | 0 | Kotlin | 0 | 1 | 5a8dd89637968a1cd56ede5ea073fb61feb38637 | 3,302 | pawmance-android | Apache License 2.0 |
idea/testData/quickfix/typeProjection/beforeRemoveVariance.kt | udalov | 10,645,710 | false | {"Java": 9931656, "Kotlin": 2142480, "JavaScript": 942412, "C++": 613791, "C": 193807, "Objective-C": 22634, "Shell": 12589, "Groovy": 1267} | // "Remove 'out' modifier" "true"
fun foo<out<caret> String>() { } | 0 | Java | 1 | 6 | 3958b4a71d8f9a366d8b516c4c698aae80ecfe57 | 66 | kotlin-objc-diploma | Apache License 2.0 |
app/src/main/java/com/criticalay/neer/ui/composables/notification/NotificationSetting.kt | criticalAY | 757,950,703 | false | {"Kotlin": 208135} | /*
* Copyright (c) 2024 <NAME> <<EMAIL>>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | 7 | Kotlin | 3 | 3 | a4fe8e742164a307c4948a460c69ff1f5c50f0fe | 3,075 | Neer | Apache License 2.0 |
viewcontract/src/commonMain/kotlin/tech/skot/core/components/inputs/SKComboVC.kt | skot-framework | 235,318,194 | false | {"Kotlin": 773248, "Shell": 117} | package tech.skot.core.components.inputs
import tech.skot.core.components.SKComponentVC
import tech.skot.core.view.Color
interface SKComboVC : SKComponentVC {
val hint: String?
val onSelected: ((choice: Any?) -> Unit)?
var choices: List<Choice>
var selected: Choice?
var enabled: Boolean?
var h... | 1 | Kotlin | 4 | 6 | 8fcff82c719c9775e63da9c3808817704068cbba | 644 | skot | Apache License 2.0 |
app/src/main/java/com/corewillsoft/posts/app/di/ContextModule.kt | ikravchenko | 179,062,765 | false | null | package com.corewillsoft.posts.app.di
import android.content.Context
import dagger.Module
import dagger.Provides
@Module
class ContextModule(private val context: Context) {
@Provides
fun context(): Context = context
} | 0 | Kotlin | 0 | 0 | a76d535ad735aecfbe193fed238cfa257883bb3a | 228 | posts-clean-arch | Apache License 2.0 |
library/echo/src/commonTest/kotlin/io/github/alexandrepiveteau/echo/memory/MemoryExchangeIncomingTest.kt | markdown-party | 341,117,604 | false | null | @file:OptIn(ExperimentalCoroutinesApi::class)
package io.github.alexandrepiveteau.echo.memory
import io.github.alexandrepiveteau.echo.*
import io.github.alexandrepiveteau.echo.core.causality.*
import io.github.alexandrepiveteau.echo.core.log.Event
import io.github.alexandrepiveteau.echo.protocol.Message.Incoming as I... | 1 | null | 3 | 54 | 760a0066fa683d1ca0a99d44370e10db5932dc20 | 4,054 | mono | MIT License |
cx-test-sync/src/main/kotlin/io/nuvalence/cx/tools/cxtestsync/Main.kt | Nuvalence | 641,553,939 | false | {"Kotlin": 190043, "FreeMarker": 11464} | package io.nuvalence.cx.tools.cxtestsync
import io.nuvalence.cx.tools.cxtestsync.processor.SpreadsheetProcessor
import io.nuvalence.cx.tools.cxtestsync.util.Properties
import javax.naming.ConfigurationException
class Main {
companion object {
@JvmStatic
fun main(args: Array<String>) {
... | 3 | Kotlin | 0 | 0 | ee5091bdc77dd627651dcb083f4b5c03837a22fa | 537 | dialogflow-cx-tools | MIT License |
src/main/kotlin/org/neo4j/graphql/handler/QueryHandler.kt | michael-forman | 322,580,185 | true | {"Kotlin": 141229, "Python": 1290} | package org.neo4j.graphql.handler
import graphql.Scalars
import graphql.language.Field
import graphql.schema.*
import org.neo4j.cypherdsl.core.PassThrough
import org.neo4j.cypherdsl.core.renderer.Renderer
import org.neo4j.graphql.*
import org.neo4j.graphql.handler.filter.OptimizedFilterHandler
class QueryHandler priv... | 0 | null | 0 | 0 | ee8c897397c370dd7b2af5472162d50bfed66723 | 4,592 | neo4j-graphql-java | Apache License 2.0 |
app/src/main/java/net/itsjustsomedude/tokens/ui/EventList.kt | ItsJustSomeDude | 789,928,210 | false | {"Kotlin": 154474} | package net.itsjustsomedude.tokens.ui
import android.text.format.DateFormat
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.fillMax... | 0 | Kotlin | 0 | 0 | 834222454424228b7aeb473c224722699abe757e | 4,965 | tokification-android | MIT License |
src/test/kotlin/com/tjtjrb/sproing/associations/QueryWithPrefixTests.kt | dugancathal | 153,700,889 | false | null | package com.tjtjrb.sproing.associations
import com.tjtjrb.sproing.associations.testbooks.Author
import com.tjtjrb.sproing.associations.testbooks.AuthorRepo
import com.tjtjrb.sproing.associations.testbooks.Book
import com.tjtjrb.sproing.associations.testbooks.BookApp
import org.assertj.core.api.Assertions.assertThat
im... | 0 | Kotlin | 0 | 0 | 584db5fe47db6574abdafd988e99636846c77645 | 2,655 | sproing-associations | MIT License |
app/src/main/java/kr/co/cools/coolsui/progress/ProgressActivity.kt | kwcho7 | 163,633,351 | false | {"Gradle": 4, "Java Properties": 1, "Shell": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "Proguard": 2, "Java": 2, "XML": 22, "Kotlin": 7, "INI": 1} | package kr.co.cools.coolsui.progress
import android.graphics.Color
import android.os.Bundle
import android.support.v7.app.AppCompatActivity
import android.widget.SeekBar
import kotlinx.android.synthetic.main.activity_progress.*
import kr.co.cools.coolsui.R
class ProgressActivity: AppCompatActivity() {
override fu... | 0 | Kotlin | 0 | 0 | fa6b4eed90b2c1ff83ea30c8d9db19c4bfe331e3 | 1,079 | design | Apache License 2.0 |
src/jvmTest/kotlin/leds/animationmanagement/AnimationToRunParamsTest.kt | AnimatedLEDStrip | 168,790,414 | false | null | /*
* Copyright (c) 2018-2022 AnimatedLEDStrip
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merg... | 8 | null | 3 | 9 | 77a61846dbf723686633827a5690d57c4a451723 | 14,225 | AnimatedLEDStrip | MIT License |
src/main/kotlin/com/sbl/sulmun2yong/survey/service/SurveyResultService.kt | SUIN-BUNDANG-LINE | 819,257,518 | false | {"Kotlin": 317236} | package com.sbl.sulmun2yong.survey.service
import com.sbl.sulmun2yong.survey.adapter.ParticipantAdapter
import com.sbl.sulmun2yong.survey.adapter.ResponseAdapter
import com.sbl.sulmun2yong.survey.adapter.SurveyAdapter
import com.sbl.sulmun2yong.survey.dto.request.SurveyResultRequest
import com.sbl.sulmun2yong.survey.d... | 2 | Kotlin | 1 | 3 | e2203ff721fcde4bcdcc7e21b8aeb0c849dae17d | 1,596 | Backend | MIT License |
libs/pandautils/src/androidTest/java/com/instructure/pandautils/room/offline/daos/FileSyncSettingsDaoTest.kt | instructure | 179,290,947 | false | {"Kotlin": 16415961, "Dart": 4454406, "HTML": 185120, "Ruby": 35686, "Java": 24752, "Shell": 19157, "Groovy": 11717, "JavaScript": 9505, "Objective-C": 7431, "Python": 2438, "CSS": 1356, "Swift": 807, "Dockerfile": 112} | /*
* 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 | ca6e2aeaeedb851003af5497e64c22e02dbf0db8 | 4,983 | canvas-android | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.