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
canvas/src/main/java/com/angcyo/canvas/core/ICanvasView.kt
angcyo
229,037,615
false
null
package com.angcyo.canvas.core import android.graphics.Matrix import android.graphics.PointF import android.graphics.RectF import com.angcyo.canvas.Reason import com.angcyo.canvas.items.renderer.BaseItemRenderer /** * @author <a href="mailto:<EMAIL>">angcyo</a> * @since 2022/04/01 */ interface ICanvasView : ICompo...
0
Kotlin
4
1
d36e194a268a40c63c23c6a3088661a4fd0e02aa
2,336
UICore
MIT License
backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/Linker.kt
mrakakuy
183,616,525
false
null
package org.jetbrains.kotlin.backend.konan import org.jetbrains.kotlin.konan.KonanExternalToolFailure import org.jetbrains.kotlin.konan.file.File import org.jetbrains.kotlin.konan.target.CompilerOutputKind import org.jetbrains.kotlin.konan.target.Family import org.jetbrains.kotlin.konan.target.LinkerOutputKind intern...
0
null
0
2
1c6a2a711bc866b37a48076ff732413711bf966d
4,973
kotlin-native
Apache License 2.0
compiler/testData/codegen/bytecodeListing/privateSuspendFun.kt
JakeWharton
99,388,807
false
null
private suspend fun foo() {} class A { private suspend fun foo() {} }
179
null
5640
83
4383335168338df9bbbe2a63cb213a68d0858104
75
kotlin
Apache License 2.0
randomizer/src/main/java/com/chrisjanusa/randomizer/filter_distance/actions/ApplyDistanceAction.kt
chrisjanusa
209,855,968
false
null
package com.chrisjanusa.randomizer.filter_distance.actions import androidx.lifecycle.LiveData import com.chrisjanusa.base.interfaces.BaseAction import com.chrisjanusa.base.interfaces.BaseEvent import com.chrisjanusa.base.interfaces.BaseUpdater import com.chrisjanusa.base.models.MapEvent import com.chrisjanusa.base.mod...
1
Kotlin
0
0
4c675b740ccf2cf29630bf82c50c04ed5113249c
1,146
RandomRestaurantKotlin
MIT License
app/src/test/kotlin/io/orangebuffalo/simpleaccounting/web/api/integration/filtering/FilteringApiExecutorIT.kt
orange-buffalo
154,902,725
false
{"Kotlin": 1125040, "TypeScript": 575303, "Vue": 277186, "SCSS": 30742, "JavaScript": 6817, "HTML": 633, "CSS": 10}
package io.orangebuffalo.simpleaccounting.infra.rest.filtering import io.orangebuffalo.simpleaccounting.tests.infra.SimpleAccountingIntegrationTest import kotlinx.coroutines.runBlocking import org.assertj.core.api.Assertions.assertThat import org.jooq.Field import org.jooq.Record2 import org.jooq.Row2 import org.jooq....
69
Kotlin
0
1
bec32d609ecb678203f5ab1afecb9b7e627858ef
8,356
simple-accounting
Creative Commons Attribution 3.0 Unported
ethereumkit/src/main/java/io/horizontalsystems/ethereumkit/spv/models/AccountStateSpv.kt
horizontalsystems
152,531,605
false
null
package io.horizontalsystems.ethereumkit.spv.models import androidx.room.Entity import androidx.room.PrimaryKey import io.horizontalsystems.ethereumkit.core.toHexString import io.horizontalsystems.ethereumkit.models.Address import java.math.BigInteger @Entity class AccountStateSpv( @PrimaryKey val add...
10
null
54
98
3d83900bc513f4df6575277519277f1a7cc77ab6
760
ethereum-kit-android
MIT License
common/src/commonMain/kotlin/com/artemchep/keyguard/feature/navigation/NavigationEntryProvider.kt
AChep
669,697,660
false
{"Kotlin": 5516822, "HTML": 45876}
package com.artemchep.keyguard.feature.navigation import androidx.compose.runtime.Composable import androidx.compose.runtime.DisposableEffect import androidx.compose.runtime.remember /** * A definition of the distinct application component that * makes sense when rendered in a separate window. */ @Composable fun N...
66
Kotlin
31
995
557bf42372ebb19007e3a8871e3f7cb8a7e50739
784
keyguard-app
Linux Kernel Variant of OpenIB.org license
src/main/kotlin/com/github/djaler/telespyfall/service/GameService.kt
Djaler
287,959,202
false
null
package com.github.djaler.telespyfall.service import com.github.djaler.telespyfall.entity.GameEntity import com.github.djaler.telespyfall.entity.GamePlayerEntity import com.github.djaler.telespyfall.entity.GameState import com.github.djaler.telespyfall.repository.GamePlayerRepository import com.github.djaler.telespyfa...
5
Kotlin
0
1
3915f321091b2a2e94fecaa6e18ac1b013688700
5,341
telespyfall
MIT License
app/src/main/java/com/weatherxm/ui/components/DailyRewardsCardView.kt
WeatherXM
728,657,649
false
null
package com.weatherxm.ui.components import android.content.Context import android.util.AttributeSet import android.view.Gravity import android.view.LayoutInflater import android.widget.LinearLayout import com.weatherxm.R import com.weatherxm.data.Reward import com.weatherxm.data.RewardsAnnotationGroup import com.weath...
2
null
2
9
eeb403f6da5f4e54e126e71edacf90c102bb0748
6,754
wxm-android
Apache License 2.0
app/src/androidTest/java/ir/easazade/dailynotes/helpers/FakeDataIntegrated.kt
easazade
167,930,367
false
null
package ir.easazade.dailynotes.helpers import ir.easazade.dailynotes.businesslogic.entities.Note import ir.easazade.dailynotes.businesslogic.entities.User import ir.easazade.dailynotes.utils.DateUtils import java.util.* class FakeDataIntegrated { companion object { fun fakeUsers(count: Int): MutableList<...
1
null
1
1
a742f57eff42f972c685345ff553615f6c9a19b2
1,315
daily-notes
Apache License 2.0
app/src/main/java/com/yeonkyu/blindcommunity2/ui/login/SplashActivity.kt
yeon-kyu
354,260,786
false
null
package com.yeonkyu.blindcommunity2.ui.login import android.content.Intent import android.os.Bundle import androidx.appcompat.app.AppCompatActivity import androidx.databinding.DataBindingUtil import com.yeonkyu.blindcommunity2.R import com.yeonkyu.blindcommunity2.databinding.ActivitySplashBinding import com.yeonkyu.bl...
0
Kotlin
0
1
d66108b0f48427995767d60456c4eb56bb1836c4
1,755
Android_BlindCommunity_refactor
MIT License
library/src/main/java/com/github/hkokocin/atheris/Presenter.kt
hkokocin
85,111,808
false
null
package com.github.hkokocin.atheris import android.content.Context import android.view.View import com.github.hkokocin.androidkit.content.getColorInt import kotlin.reflect.KClass abstract class Presenter { protected lateinit var context: Context private set protected lateinit var rootView: View ...
0
Kotlin
0
0
ae8df18b4a93646b76c2635c4a45dd3ec3b0b290
1,585
Atheris
MIT License
model/tmdb/src/main/kotlin/com/flixclusive/model/tmdb/DBFilm.kt
flixclusiveorg
659,237,375
false
{"Kotlin": 1974106, "Java": 18011}
package com.flixclusive.model.film import com.flixclusive.model.film.util.FilmType import java.io.Serializable /** * * Used by database module * */ data class DBFilm( override val id: String? = null, override val providerName: String? = null, override val imdbId: String? = null, override val tmdbId...
27
Kotlin
29
358
5fe0a7790fadf4534b0cf09304caed1da4ec1979
1,736
Flixclusive
MIT License
src/main/kotlin/me/jw910731/loginmsg/MessageHandler.kt
jw910731
382,260,671
false
null
package me.jw910731.loginmsg import org.bukkit.entity.Player import org.bukkit.event.EventHandler import org.bukkit.event.Listener import org.bukkit.event.player.PlayerJoinEvent class MessageHandler internal constructor(private val pluginInst : LoginMessage) : Listener { @EventHandler fun onPlayerJoin(event:Playe...
0
Kotlin
0
0
20195ec86204977ea75896e44bbabe03b6928aef
497
LoginMessage
MIT License
src/main/kotlin/me/jw910731/loginmsg/MessageHandler.kt
jw910731
382,260,671
false
null
package me.jw910731.loginmsg import org.bukkit.entity.Player import org.bukkit.event.EventHandler import org.bukkit.event.Listener import org.bukkit.event.player.PlayerJoinEvent class MessageHandler internal constructor(private val pluginInst : LoginMessage) : Listener { @EventHandler fun onPlayerJoin(event:Playe...
0
Kotlin
0
0
20195ec86204977ea75896e44bbabe03b6928aef
497
LoginMessage
MIT License
domain/src/main/java/com/demont/ldap/domain/business/base/FlowUseCase.kt
MaxMichel2
517,036,014
false
null
package com.demont.ldap.domain.business.base import com.demont.ldap.domain.error.mapToAppError import com.demont.ldap.domain.model.Result import com.demont.ldap.domain.model.Result.Error import kotlinx.coroutines.CoroutineDispatcher import kotlinx.coroutines.flow.Flow import kotlinx.coroutines.flow.catch import kotlin...
0
Kotlin
0
0
196237feffbf3b7f44210e0538693fab58ec0def
920
LDAP
Apache License 2.0
src/main/kotlin/cn/labzen/logger/Loggers.kt
labzen
467,795,477
false
{"Kotlin": 92983, "Java": 10582}
package cn.labzen.logger import cn.labzen.logger.kernel.LabzenLogger import cn.labzen.logger.spring.SpringLoggingSystemRegistry import org.slf4j.Logger import org.slf4j.LoggerFactory import sun.misc.Unsafe import java.lang.reflect.Field import java.lang.reflect.Method import kotlin.properties.Delegates /** * 获取 Logg...
0
Kotlin
0
0
d500b4b553f6f6aee000e4df87e6c14d0d565913
4,449
logger
Apache License 2.0
dsl/src/main/kotlin/io/cloudshiftdev/awscdkdsl/services/sagemaker/CfnEndpointConfigClarifyShapConfigPropertyDsl.kt
cloudshiftinc
667,063,030
false
{"Kotlin": 63959868}
@file:Suppress( "RedundantVisibilityModifier", "RedundantUnitReturnType", "RemoveRedundantQualifierName", "unused", "UnusedImport", "ClassName", "REDUNDANT_PROJECTION", "DEPRECATION" ) package io.cloudshiftdev.awscdkdsl.services.sagemaker import io.cloudshiftdev.awscdkdsl.common.CdkDsl...
4
Kotlin
0
3
c59c6292cf08f0fc3280d61e7f8cff813a608a62
2,997
awscdk-dsl-kotlin
Apache License 2.0
src/test/enhetstester/kotlin/no/nav/familie/ba/sak/common/UtilsTest.kt
navikt
224,639,942
false
null
package no.nav.familie.ba.sak.common import no.nav.familie.ba.sak.common.Utils.avrundetHeltallAvProsent import no.nav.familie.ba.sak.common.Utils.hentPropertyFraMaven import no.nav.familie.ba.sak.common.Utils.storForbokstavIAlleNavn import no.nav.familie.ba.sak.common.Utils.storForbokstavIHvertOrd import no.nav.famili...
8
null
1
9
ed4d4d5945d965e411c81027c842347f3666e006
4,170
familie-ba-sak
MIT License
flutter_gaming_controller/android/app/src/main/kotlin/com/example/flutter_gaming_controller/MainActivity.kt
realrootboy
460,510,456
false
{"Dart": 18201, "HTML": 3885, "Python": 1130, "Swift": 404, "Kotlin": 142, "Objective-C": 38}
package com.example.flutter_gaming_controller import io.flutter.embedding.android.FlutterActivity class MainActivity: FlutterActivity() { }
0
Dart
0
0
d4487096efad313c04586148b642d9d9c1677b57
142
mobile-websocket-gamepad
MIT License
src/jvmTest/kotlin/com/tdunning/tdigest/quality/SinglePassTest.kt
beyondeye
180,974,509
false
null
/* * Licensed to <NAME> under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in co...
0
Kotlin
0
3
c7b9b922b0fc38cd22b4e35490edc24198465102
5,855
tdigest_kotlin_multiplatform
Apache License 2.0
app/src/main/java/com/example/unitconvert/MainActivity.kt
extslayer
818,328,248
false
{"Kotlin": 23033}
package com.example.unitconvert import android.content.Intent import android.os.Bundle import android.widget.Button import android.widget.ImageButton import android.widget.ImageView import android.widget.Toast import androidx.activity.enableEdgeToEdge import androidx.appcompat.app.AppCompatActivity import androidx.cor...
0
Kotlin
0
0
38c5fb136d840bc8543acc73a3437fe43cd92c3b
2,186
Uconvert
MIT License
app/src/main/java/amrabed/android/release/evaluation/tools/graphs/Plot.kt
amrabed
8,094,320
false
null
package amrabed.android.release.evaluation.tools.graphs import com.github.mikephil.charting.charts.Chart interface Plot { fun show(chart: Chart<*>) }
7
Kotlin
0
3
8c89970f92fc955a423994d23f669afceacca8f6
155
MuslimDay
MIT License
simplified-tests/src/test/java/org/nypl/simplified/tests/mocking/MockBookDatabaseEntryFormatHandleAudioBook.kt
NYPL-Simplified
30,199,881
false
{"Kotlin": 2986168, "Java": 384210, "HTML": 109577, "Shell": 3481, "Ruby": 356}
package org.nypl.simplified.tests.mocking import org.librarysimplified.audiobook.api.PlayerPosition import org.nypl.simplified.books.api.BookDRMInformation import org.nypl.simplified.books.api.BookDRMKind import org.nypl.simplified.books.api.BookFormat import org.nypl.simplified.books.api.BookID import org.nypl.simpli...
109
Kotlin
21
32
781e4e2122f1528253a6cf17931083944f91ceba
2,134
Simplified-Android-Core
Apache License 2.0
src/main/java/ru/hollowhorizon/resourcestages/util/ReloadOverlay.kt
HollowHorizon
791,389,039
false
{"Kotlin": 8113, "Java": 2734}
package ru.hollowhorizon.resourcestages.util import com.mojang.blaze3d.vertex.PoseStack import net.minecraft.client.Minecraft import net.minecraft.client.gui.screens.Screen import net.minecraft.network.chat.Component import net.minecraft.server.packs.resources.ReloadInstance object ReloadOverlay { var reload: Rel...
0
Kotlin
0
0
2c9001e379db50484e8aa6e60519a360a1b49771
1,386
ResourceStages
MIT License
GradleToolKit/src/main/kotlin/com/ss/android/ugc/bytex/gradletoolkit/MergeResources.kt
willpyshan13
233,095,205
false
null
package com.ss.android.ugc.bytex.gradletoolkit import com.android.build.gradle.internal.DependencyResourcesComputer import com.android.build.gradle.tasks.MergeResources import com.android.build.gradle.tasks.ResourceAwareTask import com.android.ide.common.resources.ResourceSet import org.gradle.api.provider.Property im...
0
null
0
1
2f09ca1e11a4d07cf93fdb016a2bc8d8a8cfa780
4,050
ByteX
Apache License 2.0
kotlin-electron/src/jsMain/generated/electron/common/SelectUsbDeviceDetails.kt
JetBrains
93,250,841
false
{"Kotlin": 12159121, "JavaScript": 330528}
// Generated by Karakum - do not modify it manually! package electron.common typealias SelectUsbDeviceDetails = electron.core.SelectUsbDeviceDetails
40
Kotlin
165
1,319
a8a1947d73e3ed26426f1e27b641bff427dfd6a0
153
kotlin-wrappers
Apache License 2.0
Proyecto/KotlinAPI/src/main/kotlin/com/puj/admincenter/dto/IdResponseDto.kt
Jucer74
304,840,031
false
null
package com.puj.admincenter.dto data class IdResponseDto( val id: Long )
11
null
3
2
4734e5cd9852ab56216d2655e85e980561087fcc
78
WebDev
MIT License
line-awesome/src/commonMain/kotlin/compose/icons/lineawesomeicons/VideoSlashSolid.kt
DevSrSouza
311,134,756
false
{"Kotlin": 36719092}
package compose.icons.lineawesomeicons 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 ...
17
Kotlin
25
571
a660e5f3033e3222e3553f5a6e888b7054aed8cd
2,342
compose-icons
MIT License
straight/src/commonMain/kotlin/me/localx/icons/straight/filled/Game.kt
localhostov
808,861,591
false
{"Kotlin": 79430321, "HTML": 331, "CSS": 102}
package me.localx.icons.straight.filled import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap.Companion.Butt import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter...
1
Kotlin
0
5
cbd8b510fca0e5e40e95498834f23ec73cc8f245
2,462
icons
MIT License
src/test/kotlin/com/charlesmuchene/prefeditor/screens/apps/AppListUseCaseTest.kt
charlesmuchene
744,829,675
false
{"Kotlin": 334791, "Shell": 5448}
package com.charlesmuchene.prefeditor.screens.apps import app.cash.turbine.test import com.charlesmuchene.prefeditor.TestFixtures.APP_LIST_OUTPUT import com.charlesmuchene.prefeditor.TestFixtures.appList import com.charlesmuchene.prefeditor.TestFixtures.appListCommand import com.charlesmuchene.prefeditor.processor.Pro...
0
Kotlin
0
1
bf59ff48c1106a4f90254c0932e8dc5823f2183f
1,543
pref-editor-desktop
Apache License 2.0
common-client/src/main/kotlin/org/kotlinacademy/presentation/BasePresenter.kt
MaurizioX
113,477,274
false
null
package org.kotlinacademy.presentation import org.kotlinacademy.common.Cancellable abstract class BasePresenter : Presenter { protected var jobs: List<Cancellable> = emptyList() override fun onDestroy() { jobs.forEach { it.cancel() } } }
0
null
0
2
ff2ef2c3ec8aff0673077c350734435cf7ea6a39
261
KotlinAcademyApp
Apache License 2.0
precompose/src/commonTest/kotlin/moe/tlaster/precompose/navigation/RouteParserTest.kt
cybernetics
352,203,488
true
{"Kotlin": 93077}
package moe.tlaster.precompose.navigation import moe.tlaster.precompose.navigation.route.Route import kotlin.test.Test import kotlin.test.assertEquals import kotlin.test.assertNotNull import kotlin.test.assertNull import kotlin.test.assertTrue class RouteParserTest { @Test fun pathKeys() { pathKeys("/...
0
null
0
0
32b78d22d7d5e7d4ac2dfe81cd7c55aaa1a837f9
6,051
PreCompose
MIT License
debop4k-timeperiod/src/main/kotlin/debop4k/timeperiod/timeranges/MonthRangeInYear.kt
debop
60,844,667
false
null
/* * Copyright (c) 2016. Sunghyouk Bae <sunghyouk.bae@gmail.com> * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required...
1
null
10
40
5a621998b88b4d416f510971536abf3bf82fb2f0
1,750
debop4k
Apache License 2.0
tflite/styletransfer/src/main/java/com/bendenen/visionai/tflite/styletransfer/step/StyleTransferConfig.kt
BenDenen
174,499,157
false
{"Kotlin": 201285, "C++": 47284, "Java": 13730, "CMake": 1237, "RenderScript": 879}
package com.bendenen.visionai.tflite.styletransfer.step import android.content.Context import android.graphics.BlendMode import com.bendenen.visionai.videoprocessor.StepConfig data class StyleTransferConfig( var context: Context, var style: Style, var blendMode: StyleTransferBlendMode = StyleTransferBlend...
15
Kotlin
1
3
750856e60523b93516f16e2181dd4001c024b0f4
1,092
VisionAi
Apache License 2.0
integration-tests/src/test/resources/on-error/on-error-processor/src/main/kotlin/NormalProcessor.kt
Virelion
369,869,684
false
{"Gradle Kotlin DSL": 42, "Java Properties": 1, "Markdown": 12, "Shell": 1, "Text": 35, "Ignore List": 1, "Batchfile": 1, "EditorConfig": 1, "INI": 3, "YAML": 2, "Java": 14, "Kotlin": 298, "XML": 1, "SVG": 1}
import com.google.devtools.ksp.processing.* import com.google.devtools.ksp.symbol.* class NormalProcessor : SymbolProcessor { lateinit var codeGenerator: CodeGenerator lateinit var logger: KSPLogger var rounds = 0 override fun onError() { logger.error("NormalProcessor called error on $rounds...
1
null
1
1
9ded135bc55c90d23e0e606796c248ccb90350ef
788
ksp
Apache License 2.0
sample/src/main/java/org/imaginativeworld/whynotimagecarousel/sample/KotlinActivity.kt
Yog8482
362,043,199
true
{"Kotlin": 35536}
package org.imaginativeworld.whynotimagecarousel.sample import android.content.Context import android.content.Intent import android.graphics.Color import android.graphics.drawable.ColorDrawable import android.os.Bundle import android.widget.ImageView import android.widget.Toast import androidx.appcompat.app.AppCompatA...
1
null
1
1
72991d0347c54e7f72e522bc464afd25e7dffd75
8,793
Why-Not-Image-Carousel
Apache License 2.0
cinescout/movies/domain/src/commonMain/kotlin/cinescout/movies/domain/model/MovieIdWithPersonalRating.kt
4face-studi0
280,630,732
false
null
package cinescout.movies.domain.model import cinescout.common.model.Rating data class MovieIdWithPersonalRating( val movieId: TmdbMovieId, val personalRating: Rating )
19
Kotlin
2
3
d64398507d60a20a445db1451bdd8be23d65c9aa
178
CineScout
Apache License 2.0
app/src/androidTest/java/com/alcntml/codecase/db/UserRepoDaoTest.kt
alcntml
241,376,445
false
null
package com.alcntml.codecase.db import androidx.arch.core.executor.testing.InstantTaskExecutorRule import androidx.test.runner.AndroidJUnit4 import com.alcntml.codecase.util.LiveDataTestUtil.getValue import com.alcntml.codecase.util.TestUtil import org.hamcrest.CoreMatchers.`is` import org.hamcrest.CoreMatchers.notNul...
0
Kotlin
0
0
daa5cf5297b5595c175eaa3ce791753e7c2d157b
1,468
GithubCase
Apache License 2.0
app/src/main/java/xyz/teamgravity/swipetodeleteedit/SwipeTouchAdapter.kt
raheemadamboev
767,473,509
false
{"Kotlin": 10678}
package xyz.teamgravity.swipetodeleteedit import android.content.Context import android.graphics.Canvas import android.graphics.drawable.ColorDrawable import android.graphics.drawable.Drawable import androidx.annotation.ColorRes import androidx.annotation.DrawableRes import androidx.core.content.ContextCompat import a...
0
Kotlin
0
0
f2bbfa293e44d01a0732dbb0e020027042d892e9
4,913
swipe-to-delete-edit
Apache License 2.0
app/src/main/java/com/hfut/schedule/ui/Activity/Fix/About.kt
Chiu-xaH
705,508,343
false
{"Kotlin": 1161548, "HTML": 77257, "Java": 686}
package com.hfut.schedule.ui.Activity.Fix import android.content.Intent import android.graphics.Bitmap import android.graphics.Color import android.net.Uri import android.widget.Toast import androidx.annotation.ColorInt import androidx.compose.foundation.ExperimentalFoundationApi import androidx.compose.foundation.Ima...
0
Kotlin
1
2
a2006813a2dc4a464afb2ad3e299f37ee7e0f94c
9,397
HFUT-Schedule
Apache License 2.0
src/main/kotlin/ru/pxanych/ledsite/model/LedColor.kt
pxanych
734,710,807
false
{"Kotlin": 5184, "HTML": 1897}
package ru.pxanych.ledsite.model data class LedColor( val red: Int, val green: Int, val blue: Int )
0
Kotlin
0
0
44f2f5911c24a58e5321137a6090d15df61fd0c6
112
led-site
The Unlicense
src/main/kotlin/org/wfanet/measurement/gcloud/spanner/testing/SpannerEmulatorRule.kt
world-federation-of-advertisers
375,798,604
false
{"Kotlin": 587287, "Starlark": 112332, "Shell": 7028}
/* * Copyright 2024 The Cross-Media Measurement Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
15
Kotlin
3
3
a19a40015204040c5224ec936eace8e2b0703035
3,500
common-jvm
Apache License 2.0
app/src/main/java/com/github/frapontillo/babylon/list/PostViewHolder.kt
frapontillo
167,974,091
false
null
package com.github.frapontillo.babylon.list import android.view.View import androidx.recyclerview.widget.RecyclerView import kotlinx.android.extensions.LayoutContainer import kotlinx.android.synthetic.main.post_list_item.* class PostViewHolder(override val containerView: View, private val onPostSelected: OnPostSelect...
0
Kotlin
0
0
477b8a7735037203dd510d060d440432be49ffc0
571
babylon-test
Apache License 2.0
buildSrc/src/main/kotlin/Dependencies.kt
carrot-style
450,824,734
false
{"Kotlin": 87157}
import org.gradle.api.JavaVersion object Application { const val minSdk = 24 const val targetSdk = 31 const val compileSdk = 31 const val jvmTarget = "11" const val versionCode = 2 const val versionName = "1.0.1" val targetCompat = JavaVersion.VERSION_11 val sourceCompat = JavaVersion....
0
Kotlin
0
4
53dfb4008a074ea6728819165eed9447307e2470
4,189
carrot-android
MIT License
src/main/kotlin/ru/krindra/vknorthtypes/podcast/PodcastExternalData.kt
kravandir
745,597,090
false
{"Kotlin": 633233}
package ru.krindra.vknorthtypes.podcast import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable @Serializable data class PodcastExternalData ( @SerialName("cover") val cover: PodcastCover? = null, @SerialName("url") val url: String? = null, @SerialName("title") val title: String?...
0
Kotlin
0
0
508d2d1d59c4606a99af60b924c6509cfec6ef6c
451
VkNorthTypes
MIT License
src/main/kotlin/org/cdb/labwitch/models/embed/Metric.kt
CodeDrillBrigade
714,769,385
false
{"Kotlin": 56989}
package org.cdb.labwitch.models.embed enum class Metric { L, }
2
Kotlin
0
0
d011f34cc60eb8b6fb73070c892c56a8182e85dd
68
LabWitchery-backend
MIT License
app/src/main/java/com/tailoredapps/codagram/ui/groupscreen/GroupCreateFragment.kt
volkanfilazi
348,831,147
false
null
package com.tailoredapps.codagram.ui.groupscreen import android.app.Activity import android.content.Intent import android.net.Uri import android.os.Build import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.Toast import androidx.annota...
0
Kotlin
0
1
65012e6185762a798a363001d50039fdf9c83724
6,047
Android-Kotlin-Codagram
MIT License
feature-authentication/src/main/java/ru/endroad/feature/authentication/di/ModuleAuthentication.kt
RasM24
288,489,879
false
null
package ru.endroad.feature.authentication.di import org.koin.androidx.viewmodel.dsl.viewModel import org.koin.dsl.module import org.koin.experimental.builder.single import ru.endroad.feature.authentication.data.OtpDataSource import ru.endroad.feature.authentication.view.AuthPresenter val moduleAuthentication = module...
0
Kotlin
0
0
a071e24f23939ba3f3049d49daee8744c4a12c7b
387
Samples-HouseAdvice
Apache License 2.0
app/src/main/java/com/capstone/Capstone2Project/ui/screen/mypage/MyPageScreen.kt
JMS1208
594,071,509
false
null
package com.capstone.Capstone2Project.ui.screen.mypage import androidx.compose.animation.AnimatedContent import androidx.compose.animation.ExperimentalAnimationApi import androidx.compose.foundation.* import androidx.compose.foundation.layout.* import androidx.compose.foundation.lazy.LazyListState import androidx.comp...
0
Kotlin
0
0
05b10ab2563d51900fe8276568019103271f5f0e
83,491
IntervuStella
MIT License
app/src/main/java/com/dartharrmi/resipi/ui/views/RecipePillInfoView.kt.kt
jArrMi
283,382,558
false
{"Kotlin": 135482}
package com.dartharrmi.resipi.ui.views import android.content.Context import android.graphics.drawable.Drawable import android.util.AttributeSet import android.view.LayoutInflater import android.widget.ImageView import android.widget.RelativeLayout import android.widget.TextView import com.dartharrmi.resipi.R class R...
0
Kotlin
0
2
31898d545f6ae6dc23869502b41450ab734d877b
1,556
resipi
MIT License
Chapter_07/chapter_7_restaurants_app/app/src/main/java/com/codingtroops/restaurantsapp/RestaurantDetailsViewModel.kt
PacktPublishing
401,757,575
false
{"Kotlin": 205415}
package com.codingtroops.restaurantsapp import androidx.compose.runtime.mutableStateOf import androidx.lifecycle.SavedStateHandle import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.launch import kotlinx.coroutines.withContext imp...
1
Kotlin
46
98
026185219ddeba05b205f1b5c01c1e44b1d74027
1,335
Kickstart-Modern-Android-Development-with-Jetpack-and-Kotlin
MIT License
app/src/main/java/com/example/diapplication/data/entity/Alerts.kt
rendivy
661,304,960
false
{"Kotlin": 104188}
package com.example.diapplication.data.entity import com.google.gson.annotations.SerializedName import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable @Serializable data class Alerts( @SerializedName("alert") val alertList: List<Alert> )
1
Kotlin
0
0
7c7964c70284d7c2537d6f3fd81fdd1dd9906f8b
271
MonoWeather
MIT License
sdk/core/src/main/java/com/rocbillow/core/binding/AutoClearedValue.kt
wptdxii
278,525,387
false
null
package com.rocbillow.core.binding import android.view.View import androidx.databinding.ViewDataBinding import androidx.fragment.app.Fragment import androidx.lifecycle.DefaultLifecycleObserver import androidx.lifecycle.Lifecycle import androidx.lifecycle.LifecycleOwner import androidx.lifecycle.Observer import android...
0
Kotlin
0
0
33fe10f5686664f99b1b0e37c9391562e81e56bf
3,053
kit-android
Apache License 2.0
next/kmp/helperPlatform/src/iosMain/kotlin/org/dweb_browser/helper/platform/NSDataHelper.ios.kt
BioforestChain
594,577,896
false
null
package org.dweb_browser.helper.platform.NSDataHelper import kotlinx.cinterop.BetaInteropApi import kotlinx.cinterop.ExperimentalForeignApi import kotlinx.cinterop.addressOf import kotlinx.cinterop.allocArrayOf import kotlinx.cinterop.memScoped import kotlinx.cinterop.usePinned import platform.Foundation.NSData import...
66
null
5
20
6db1137257e38400c87279f4ccf46511752cd45a
853
dweb_browser
MIT License
app/src/main/kotlin/me/wolszon/crowdie/android/ui/landing/LandingPresenter.kt
Albert221
138,158,098
false
{"Kotlin": 80250}
package me.wolszon.crowdie.android.ui.landing import io.reactivex.Single import io.reactivex.disposables.Disposable import me.wolszon.crowdie.base.BasePresenter import me.wolszon.crowdie.android.ui.Navigator import me.wolszon.crowdie.api.domain.GroupManager import me.wolszon.crowdie.base.Preferences import me.wolszon....
12
Kotlin
0
8
5f3003f5f41221d2857ac7a007276457e9250450
1,831
crowdie-android
MIT License
game/plugins/src/main/kotlin/gg/rsmod/plugins/content/inter/worldswitcher/WorldSwitcherTab.kt
communityus-branch
196,093,910
false
null
package gg.rsmod.plugins.content.inter.worldswitcher object WorldSwitcherTab { const val BUTTON_PARENT_ID = 182 const val BUTTON_COMPONENT_ID = 3 const val INTERFACE_ID = 69 }
0
Kotlin
0
0
160bcc52f3a372d50c123c62a3b6f72dcc6c5bdf
188
Server
Apache License 2.0
keel-core/src/main/kotlin/com/netflix/spinnaker/keel/environments/DependentEnvironmentFinder.kt
spinnaker
107,462,081
false
{"Kotlin": 3696317, "Java": 20143, "Slim": 359, "Shell": 338}
package com.netflix.spinnaker.keel.environments import com.netflix.spinnaker.keel.api.Resource import com.netflix.spinnaker.keel.api.ResourceSpec import com.netflix.spinnaker.keel.core.api.DependsOnConstraint import com.netflix.spinnaker.keel.events.ResourceState import com.netflix.spinnaker.keel.persistence.DeliveryC...
3
Kotlin
144
110
69db958ee3bc7bba23a752799ea77a922bb4b315
2,313
keel
Apache License 2.0
apps/student/src/androidTest/java/com/instructure/student/ui/e2e/PagesE2ETest.kt
instructure
179,290,947
false
null
/* * Copyright (C) 2019 - 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...
2
Kotlin
85
99
1bac9958504306c03960bdce7fbb87cc63bc6845
4,681
canvas-android
Apache License 2.0
app/src/main/java/kr/co/noob/copyclient/uilts/ObserableSwitchPreference.kt
Hot6ix
154,345,959
false
null
package kr.co.noob.copyclient.uilts import android.content.Context import android.content.SharedPreferences import android.database.ContentObserver import android.preference.PreferenceManager import android.preference.SwitchPreference import android.provider.Settings import android.util.AttributeSet import android.vie...
0
Kotlin
0
0
f153248062c338af77dfd710dde04fb86696dc4c
1,451
CopyClient
MIT License
src/main/kotlin/com/jetbrains/licensedetector/intellij/plugin/ui/toolwindow/model/InstallationInformation.kt
areyde
313,290,466
false
{"Kotlin": 98770, "Java": 4072}
package com.jetbrains.licensedetector.intellij.plugin.ui.toolwindow.model import com.jetbrains.licensedetector.intellij.plugin.module.ProjectModule data class InstallationInformation( val projectModule: ProjectModule, val installedVersion: String?)
0
null
0
0
b4adbb56442971759ff6231bb91f31d73ec36268
267
license-detector-plugin
Apache License 2.0
PrinterKotlinExample/src/example2/Printer.kt
Bastien7
75,871,025
false
null
package example2 interface Printer { fun print(sentence: String) }
1
null
1
1
3dd206b323bdb804163d761fbf147a159412b8fb
69
Kotlin-presentation
MIT License
src/main/kotlin/no/nav/yrkesskade/saksbehandling/config/CommonKafkaConfig.kt
navikt
474,988,417
false
null
package no.nav.yrkesskade.saksbehandling.config import org.springframework.context.annotation.Configuration import org.springframework.kafka.annotation.EnableKafka @EnableKafka @Configuration class CommonKafkaConfig : AbstractKafkaConfig() { }
1
Kotlin
0
0
d6a5a69c37b52aa7e8958b4efdd4413fe8704f26
245
yrkesskade-saksbehandling-backend
MIT License
basis_jitpack/src/main/java/frame/basis/jitpack/extension/widget/ViewPager2X.kt
7449
370,883,019
false
null
package frame.basis.jitpack.extension.widget import androidx.viewpager2.widget.ViewPager2 fun ViewPager2.doOnPageScrolledExpand(action: (position: Int, positionOffset: Float, positionOffsetPixels: Int) -> Unit): ViewPager2 = addOnPageChangeListenerExpand(onPageScrolled = action) fun ViewPager2.doOnPageSelectedEx...
0
Kotlin
0
0
d4ec329404db069680e5e763d48e979a8fd97a26
1,446
framework
Apache License 2.0
app/src/main/java/com/todo/ui/base/BaseDialog.kt
waleedsarwar86
134,292,766
false
null
package com.todo.ui.base import android.graphics.Color import android.graphics.drawable.ColorDrawable import android.os.Bundle import android.support.v4.app.DialogFragment import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.view.Window open class BaseDialog : Dialo...
0
Kotlin
0
1
7b7fc8579b426383e50a3254d0c748bc068d6644
699
todo-mvp-kt
Apache License 2.0
app/src/main/java/ru/alexmaryin/spacextimes_rx/ui/adapters/AdapterClickListener.kt
alexmaryin
324,776,487
false
null
package ru.alexmaryin.spacextimes_rx.ui.adapters class AdapterClickListenerById(val clickListener: (id: String, listenerType: Int) -> Unit) { fun onClick(id: String, listenerType: Int) = clickListener(id, listenerType) } val emptyClickListener = AdapterClickListenerById { _, _ -> }
1
Kotlin
1
1
79cdb2ffab470ef4e951af811585d3dd3000fbb6
290
spacextimes
Apache License 2.0
microstartercli/src/main/resources/micronaut/security/jwt/kotlin/mongoReactive/repository/RefreshTokenRepository.kt
hashimati
282,161,250
false
{"Java": 3383659, "Groovy": 339829, "Kotlin": 308010, "HTML": 28161, "JavaScript": 9258, "CSS": 6406, "Batchfile": 6035, "Dockerfile": 4097, "Gherkin": 3972, "Shell": 627, "Dart": 621, "Scala": 322}
package ${securityPackage}.repository import com.mongodb.client.result.DeleteResult import com.mongodb.client.result.InsertOneResult import com.mongodb.reactivestreams.client.MongoClient import com.mongodb.reactivestreams.client.MongoCollection import ${securityPackage}.domains.RefreshToken import jakarta.inject.Singl...
2
Java
0
16
ef26009b78bffcb09ce46a926af6d2fbe972edf1
3,138
MicrostarterCli
Apache License 2.0
app/src/main/java/com/eslamwaheed/moviesapp/ui/main/MainActivity.kt
EslamWaheed
765,806,963
false
{"Kotlin": 42253}
package com.eslamwaheed.moviesapp.ui.main import android.os.Bundle import androidx.activity.ComponentActivity import androidx.activity.compose.setContent import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.material3.MaterialTheme import androidx.compose.material3.Surface import androidx.compo...
0
Kotlin
0
0
b65d997134b07a74e7717815c4bc65aab89569ab
897
MoviesApp
The Unlicense
skotify-auth/src/main/com/egorzh/skotify/auth/AccessToken.kt
egorzhdan
115,362,576
false
null
package com.egorzh.skotify.auth import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable /** * @author <NAME> */ @Serializable internal data class AccessToken( @SerialName("access_token") val token: String, @SerialName("token_type") val type: String, @SerialName("exp...
0
Kotlin
0
0
9dc09da4a4dcbae22b767166cd3d808c8d98728d
350
skotify
MIT License
Kotlin/src/main/kotlin/reference/coroutines/basics/Basic03.kt
totemtec
370,664,275
false
null
package reference.coroutines.basics import kotlinx.coroutines.GlobalScope import kotlinx.coroutines.delay import kotlinx.coroutines.launch import kotlinx.coroutines.runBlocking fun main() = runBlocking<Unit> { // 开始执行主协程 GlobalScope.launch { // 在后台启动一个新的协程并继续 delay(1000) println("World!") } ...
0
Kotlin
0
0
29d78dce698aea85712d4cc2775939bbb5021563
396
kotlin
Apache License 2.0
feature-crowdloan-impl/src/main/java/jp/co/soramitsu/feature_crowdloan_impl/presentation/contribute/custom/moonbeam/MoonbeamBonusPayload.kt
soramitsu
278,060,397
false
null
package jp.co.soramitsu.feature_crowdloan_impl.presentation.contribute.custom.moonbeam import java.math.BigDecimal import jp.co.soramitsu.feature_crowdloan_api.data.network.blockhain.binding.ParaId import jp.co.soramitsu.feature_crowdloan_impl.presentation.contribute.custom.referral.ReferralCodePayload import kotlinx....
4
Kotlin
14
55
d555e9cf4bd5f0abf8091781c237b6af9e1da850
746
fearless-Android
Apache License 2.0
app/src/main/java/com/eebros/daggertutorial/remote/Constants.kt
hajiyevelnur04
251,213,055
false
null
package com.eebros.daggertutorial.remote import com.eebros.daggertutorial.BuildConfig class Constants{ companion object{ const val CHARSET = "Charset: UTF-8" const val CONTENT_TYPE_JSON = "content-type: application/json" const val ACCEPT = "Accept: application/json" const val BASIC...
0
Kotlin
0
0
daf9067110e04000d639be9e09875f0d5fcbd9a0
463
dagger-tutorial
MIT License
core/src/main/kotlin/net/dontdrinkandroot/wicket/converter/InstantConverter.kt
dontdrinkandroot
7,002,436
false
null
package net.dontdrinkandroot.wicket.converter import org.apache.wicket.util.convert.converter.AbstractJavaTimeConverter import java.time.Instant import java.time.ZoneId import java.time.format.DateTimeFormatter import java.time.temporal.TemporalAccessor class InstantConverter(private val zoneId: ZoneId) : AbstractJav...
34
null
1
3
eaf007cfe70a136a334bd9cb22b5cc0e2fa50ff3
709
wicket.java
Apache License 2.0
parser/src/test/kotlin/org/ksharp/parser/ksharp/ImportParserTest.kt
ksharp-lang
573,931,056
false
null
package org.ksharp.parser.ksharp import io.kotest.core.spec.style.StringSpec import org.ksharp.common.Location import org.ksharp.nodes.ImportNode import org.ksharp.parser.LexerToken import org.ksharp.parser.TextToken import org.ksharp.test.shouldBeRight class ImportParserTest : StringSpec({ "Parse moduleName" { ...
5
Kotlin
0
0
692541f4b9c2a62242c3dff51d3ca7a0376605b1
878
ksharp-kt
Apache License 2.0
src/main/kotlin/me/imtoggle/armorcrafter/Crafter.kt
ImToggle
791,890,737
false
{"Kotlin": 6474, "Java": 2079}
package me.imtoggle.armorcrafter import cc.polyfrost.oneconfig.utils.dsl.mc import me.imtoggle.armorcrafter.mixin.GuiContainerAccessor import net.minecraft.client.gui.inventory.GuiContainer import net.minecraft.client.gui.inventory.GuiCrafting import net.minecraft.init.Items import net.minecraft.item.Item object Craf...
0
Kotlin
0
0
9cbd0f50b1a4b34833ac13bdf4cf383c8afbbab6
1,999
ArmorCrafter
The Unlicense
karballo-common/src/main/kotlin/karballo/movegen/MagicMoveGenerator.kt
albertoruibal
87,008,703
false
null
package karballo.movegen import karballo.Board import karballo.Color import karballo.Move import karballo.Piece import karballo.bitboard.AttacksInfo import karballo.bitboard.BitboardUtils /** * Magic move generator * Generate pseudo-legal moves because can leave the king in check. * It does not set the check flag....
0
Kotlin
2
12
a709a7eefa3ad966a775821e80b1e566b77b9491
5,781
karballo
MIT License
kotlin/services/iot/src/test/kotlin/IoTTest.kt
awsdocs
66,023,605
false
{"Java": 6203673, "Python": 3418340, "C#": 2622899, "C++": 2219841, "JavaScript": 2089519, "Go": 1637068, "Kotlin": 1428578, "Rust": 1079600, "PHP": 962022, "Ruby": 565537, "Swift": 541762, "ABAP": 529305, "Shell": 319760, "TypeScript": 255687, "CMake": 225257, "HTML": 141442, "CSS": 26181, "Dockerfile": 11827, "Jinja"...
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 import aws.sdk.kotlin.runtime.auth.credentials.EnvironmentCredentialsProvider import aws.sdk.kotlin.services.secretsmanager.SecretsManagerClient import aws.sdk.kotlin.services.secretsmanager.model.GetSecretValu...
248
Java
5614
9,502
3d8f94799b9c661cd7092e03d6673efc10720e52
4,014
aws-doc-sdk-examples
Apache License 2.0
AndroidGotadiSDK/src/main/java/com/gotadi/AndroidGotadiSDK/GotadiActionHandler.kt
thanhduy1812
616,902,358
false
null
package com.gotadi.AndroidGotadiSDK import android.content.Context interface GotadiCallback { fun onCallback(data: String) {/* optional implementation */} fun onCallPayment(gotadiActivity: Context, bookingNumber: String) {/* optional implementation */} } class GotadiActionHandler private constructor(){ v...
0
Kotlin
0
0
ab42fc8ddfc83903bda3fc3f64f3f0cea41dac4e
767
gtd-android-sdk
MIT License
app/src/test/kotlin/es/unizar/urlshortener/IntegrationTests.kt
sinnuva
861,713,548
false
{"Kotlin": 60908, "JavaScript": 3349, "HTML": 1685}
@file:Suppress("MatchingDeclarationName", "WildcardImport") package es.unizar.urlshortener import es.unizar.urlshortener.infrastructure.delivery.ShortUrlDataOut import org.apache.hc.client5.http.impl.classic.HttpClientBuilder import org.assertj.core.api.Assertions.assertThat import org.springframework.beans.factory.a...
0
Kotlin
0
1
3cdcbd00a8c0729ba85bb6c20ff9425ebdda51c7
10,509
urlshortenerIWEB
MIT License
legacy/common/src/main/java/com/fsck/k9/backends/RealOAuth2TokenProvider.kt
NamTran99
838,133,558
false
{"Kotlin": 4791229, "Java": 2190779, "Shell": 6658, "AIDL": 1946}
package com.fsck.k9.backends import android.content.Context import android.net.ConnectivityManager import android.net.NetworkCapabilities import android.util.Log import app.k9mail.feature.account.oauth.data.microsoft.IMicrosoftSignIn import app.k9mail.feature.account.oauth.data.microsoft.MicrosoftAuthResult import app...
1
Kotlin
0
0
4e5a65d2ed6410b9d11f0055bb7ac292ae4207cc
5,581
NewEasyMail
Apache License 2.0
app/src/main/java/com/chintansoni/android/tiaistiana/view/fragment/ListFragment.kt
tiaistiana99
575,658,522
false
null
package com.chintansoni.android.tiaistiana.view.fragment import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.databinding.DataBindingUtil import androidx.fragment.app.Fragment import androidx.lifecycle.Observer import com.chintansoni.android...
0
Kotlin
0
0
18555f381140a3fde6f023ffb9df713b95f695c7
2,961
RepositoryPatternTia
Apache License 2.0
feature/identity/src/main/java/com/jraska/github/client/identity/IdentityModule.kt
jraska
52,918,490
false
{"Kotlin": 377058}
package com.jraska.github.client.identity import com.jraska.github.client.identity.integrity.IntegrityCheck import com.jraska.github.client.identity.integrity.IntegrityCheckPushCommand import com.jraska.github.client.identity.internal.AddSessionIdInterceptor import com.jraska.github.client.identity.internal.AnonymousI...
6
Kotlin
27
228
f68f30a22be01b18647025da513276a995aed9a2
1,755
github-client
Apache License 2.0
idea/testData/intentions/branched/folding/whenToReturn/simpleWhenWithBlocks.kt
develar
4,304,550
true
{"Java": 10888937, "Kotlin": 2416878, "JavaScript": 1540292, "CSS": 109687, "Shell": 15888, "Groovy": 2174}
fun test(n: Int): String { <caret>when(n) { 1 -> { println("***") return "one" } else -> { println("***") return "two" } } }
0
Java
0
1
bf5b387580265cba01efc8fd30d1d0c0b41ac5a9
212
kotlin
Apache License 2.0
app/src/main/java/com/example/composenoteapp/di/AppModule.kt
Srihitha18798
506,590,470
false
null
package com.example.composenoteapp.di import android.app.Application import androidx.room.Room import com.example.composenoteapp.feature_note.data.data_source.NoteDatabase import com.example.composenoteapp.feature_note.data.repository.NoteRepositoryImpl import com.example.composenoteapp.feature_note.domain.repository....
0
null
0
3
8495e74eddf2a930117878bf1b81de55d4482f0f
1,343
ComposeNoteApp
Apache License 2.0
app/src/main/kotlin/ca/warp7/rt/core/model/Metadata.kt
Team865
159,395,287
false
null
package ca.warp7.rt.core.model object Metadata { const val lastSaved = "lastSaved" const val pluginPath = "pluginPath" const val contextPath = "contextPath" const val tbaKey = "tbaKey" const val appUser = "appUser" const val dataSource = "dataSource" }
0
Kotlin
0
2
4c97affce1eb48e14511a4b0824bb45fbb4cbcb9
277
Restructured-Tables
MIT License
model/src/main/java/com/jonnyhsia/model/home/entity/HomeStories.kt
jonnyhsia
130,314,804
false
{"Gradle": 8, "Java Properties": 3, "Shell": 2, "Text": 1, "Ignore List": 7, "Batchfile": 2, "Markdown": 1, "XML": 144, "Proguard": 6, "Java": 9, "Kotlin": 182}
package com.jonnyhsia.model.home.entity import com.jonnyhsia.model.user.entity.FollowingStories import com.jonnyhsia.model.user.entity.GuessLikeStories import com.jonnyhsia.model.user.entity.TimelineStories data class HomeStories( var topStories: TopStories? = null, var timelineStories: TimelineStorie...
0
Kotlin
0
4
07fcc842a6b4695352231bf6b5b74b446b59b500
443
composer
Apache License 2.0
app/app/src/main/java/com/example/party_lojo_game/data/local/dao/YoNuncaDAO.kt
ajloinformatico
381,492,665
false
null
package com.example.party_lojo_game.data.local.dao import androidx.room.* import com.example.party_lojo_game.data.local.dbo.VerdadOretoDBO import com.example.party_lojo_game.data.local.dbo.YoNuncaDBO import kotlinx.coroutines.flow.Flow @Dao interface YoNuncaDAO { @Transaction @Query("SELECT * FROM yonunca") ...
0
Kotlin
0
0
ab8640339dadb29de49c17935ad385120e6eab9f
584
party-lojo-game
MIT License
features/encrypt/src/main/java/com/fappslab/features/encrypt/seed/presentation/viewmodel/algorithm/AlgorithmViewModel.kt
F4bioo
693,834,465
false
{"Kotlin": 401014, "Python": 2583, "Shell": 900}
package com.fappslab.features.encrypt.seed.presentation.viewmodel.algorithm import com.fappslab.features.encrypt.seed.presentation.model.AlgorithmItem.OnItem import com.fappslab.seedcake.libraries.arch.viewmodel.ViewModel internal class AlgorithmViewModel : ViewModel<AlgorithmViewState, AlgorithmViewAction>(Algor...
0
Kotlin
0
1
b126728e15261c877943736d592d7d269618a114
672
Seedcake
MIT License
common-heimdall/src/main/kotlin/gay/pizza/foundation/heimdall/table/EntityKillTable.kt
GayPizzaSpecifications
447,482,867
false
null
package gay.pizza.foundation.heimdall.table object EntityKillTable : PlayerTimedLocalEventTable("entity_kills") { val entity = uuid("entity") val entityType = text("entity_type") }
1
Kotlin
0
0
4b1af52ef0190ee753c965bdf7af0031bb4ec744
186
foundation
MIT License
src/test/enhetstester/kotlin/no/nav/familie/ba/sak/kjerne/verge/VergeServiceTest.kt
navikt
224,639,942
false
{"Kotlin": 6310866, "Gherkin": 719850, "PLpgSQL": 4478, "Shell": 1628, "Dockerfile": 196}
package no.nav.familie.ba.sak.kjerne.verge import io.mockk.every import io.mockk.mockk import io.mockk.slot import no.nav.familie.ba.sak.common.lagBehandling import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Test import org.junit.jupiter.api.TestInstance @TestInstance(TestInstance.Lifecyc...
7
Kotlin
1
9
b3828a6ad7ba5effb41c6df2dc0a369cbe968dc4
1,185
familie-ba-sak
MIT License
src/main/kotlin/br/ufpe/liber/tasks/DatabaseBooks.kt
Liber-UFPE
733,309,986
false
{"Kotlin": 121727, "JavaScript": 7373, "SCSS": 3904, "Shell": 805}
package br.ufpe.liber.tasks import br.ufpe.liber.model.Book import br.ufpe.liber.model.Page import kotlinx.serialization.encodeToString import kotlinx.serialization.json.Json import org.jetbrains.exposed.dao.LongEntity import org.jetbrains.exposed.dao.LongEntityClass import org.jetbrains.exposed.dao.id.EntityID import...
2
Kotlin
0
0
53fc24dcdc1abfd1bc0e7dd42d7410129f70d358
9,309
visaoholandesa
Apache License 2.0
app/src/main/java/com/tfighiera/revealactivity/RevealActivity.kt
ThibaultFighieraPJ
101,070,372
false
null
/* * * Copyright (C) 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 a...
3
Kotlin
3
9
081c2e554ec6e526bea2779f519566f80ddeb23b
2,514
KRevealCircle
Apache License 2.0
composeApp/src/commonMain/kotlin/es/rlujancreations/minesweeper/ui/core/ScreenDimensions.kt
kmorfo
738,609,332
false
{"Kotlin": 62421, "Swift": 621}
package es.rlujancreations.minesweeper.ui.core interface ScreenDimensions { val screenWidthDp: Int val screenHeightDp: Int } expect fun getScreenDimensions(): ScreenDimensions
0
Kotlin
3
16
535f20dd63438a1fb2b74de1cf449a0899423547
186
MinesWeeper
Apache License 2.0
src/arrays/StringPermutationsTest.kt
agapeteo
157,038,583
false
{"XML": 2, "Text": 1, "Ignore List": 1, "Markdown": 1, "Kotlin": 143, "Java": 7}
package arrays import org.junit.jupiter.api.Test internal class StringPermutationsTest { @Test fun printPermutations() { StringPermutations.printPermutations(str = "abc") } }
1
null
1
1
b5662c8fe416e277c593931caa1b29b7f017ef60
198
kotlin-data-algo
MIT License
domain/src/main/kotlin/com/yossisegev/domain/entities/MovieDetailsEntity.kt
mrsegev
122,669,273
false
null
package com.yossisegev.domain.entities /** * Created by <NAME> on 07/01/2018. */ data class MovieDetailsEntity( var belongsToCollection: Any? = null, var budget: Int? = null, var homepage: String? = null, var imdbId: String? = null, var overview: String? = null, var re...
7
null
36
772
7df52e6c93d6932b4b58de9f4f906f86df93dce1
590
MovieNight
Apache License 2.0
src/main/kotlin/uk/gov/justice/digital/hmpps/assessrisksandneeds/config/OpenApiConfiguration.kt
ministryofjustice
373,137,019
false
null
package uk.gov.justice.digital.hmpps.assessrisksandneeds.config import io.swagger.v3.oas.models.OpenAPI import io.swagger.v3.oas.models.info.Contact import io.swagger.v3.oas.models.info.Info import io.swagger.v3.oas.models.media.Schema import org.springdoc.core.SpringDocUtils import org.springframework.boot.info.Build...
6
Kotlin
0
0
f96cbd90b00273bfe197e32e777fe9507fb2c7d8
1,220
hmpps-assess-risks-and-needs
MIT License
core/src/main/kotlin/by/matveev/christmascandyfall/entities/CandyType.kt
xgrommx
28,189,130
false
null
/* * Copyright (C) 2014 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
0
Kotlin
1
0
160b7501ca7814d4b17fde367b4c2d0cc5d19a33
778
christmascandyfall
Apache License 2.0
platform/statistics/test/com/intellij/internal/statistic/FUCollectorTestCase.kt
ingokegel
72,937,917
true
null
// Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. package com.intellij.internal.statistic import com.intellij.internal.statistic.beans.MetricEvent import com.intellij.internal.statistic.eventLog.StatisticsEventLoggerProvider import com.intellij.int...
1
null
1
2
b07eabd319ad5b591373d63c8f502761c2b2dfe8
2,537
intellij-community
Apache License 2.0
libraries/voicerecorder/impl/src/main/kotlin/io/element/android/libraries/voicerecorder/impl/audio/Audio.kt
vector-im
546,522,002
false
{"Kotlin": 5456748, "Shell": 30358, "Java": 9607, "Python": 8683, "JavaScript": 8215, "Gherkin": 234, "Ruby": 44}
/* * Copyright (c) 2023 New Vector Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
159
Kotlin
54
493
563aaa6102655a5358b617fffa392a4a3af78369
857
element-x-android
Apache License 2.0
compiler/testData/diagnostics/tests/platformTypes/inference.kt
staltz
38,581,975
false
null
// !CHECK_TYPE // FILE: foo/Base.java package foo; public interface Base<T> {} // FILE: foo/HS.java package foo; public class HS<T> extends Base<T> {} // FILE: k.kt import foo.*; import java.util.HashSet fun <T, C: Base<T>> convert(src: HS<T>, dest: C): C = throw Exception("$src $dest") fun test(l: HS<Int>) {...
0
null
0
1
80074c71fa925a1c7173e3fffeea4cdc5872460f
539
kotlin
Apache License 2.0