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
worldwind/src/commonMain/kotlin/earth/worldwind/render/FontWeight.kt
WorldWindEarth
488,505,165
false
{"Kotlin": 2798182, "JavaScript": 459619, "HTML": 108987, "CSS": 8778}
package earth.worldwind.render enum class FontWeight { NORMAL, BOLD, ITALIC }
22
Kotlin
12
98
b5ee69cdd30f6c6a90bf3bec638a3bc5bdb0fbc2
78
WorldWindKotlin
Apache License 2.0
src/main/kotlin/de/fabmax/webidl/generator/jni/java/JavaType.kt
fabmax
333,527,126
false
null
package de.fabmax.webidl.generator.jni.java import de.fabmax.webidl.model.IdlDecoratedElement import de.fabmax.webidl.model.IdlDecorator import de.fabmax.webidl.model.IdlInterface import de.fabmax.webidl.parser.CppComments import java.io.File import java.io.Writer internal abstract class JavaType(val idlElement: IdlD...
0
Kotlin
2
5
dbb64fc88c16a8a3237ec11d85e5de56a88b165c
1,907
webidl-util
Apache License 2.0
src/commonMain/kotlin/csense/kotlin/tests/assertions/testExtensions.kt
csense-oss
222,115,361
false
null
package csense.kotlin.tests.assertions //contains extensions for this test module not for user code /** * If this is empty, empty is returned, otherwise the given string is * @receiver String * @param ifNotEmptyString String * @return String */ internal fun String.useIfNotEmptyOrThis(ifNotEmptyString: String): St...
0
Kotlin
0
0
ad9690662e929cde485e713c8cd7a105163423e9
408
csense-kotlin-test
MIT License
app/src/main/java/com/example/real_age_calculator_b422041_punit/MainActivity.kt
punitkr03
660,599,197
false
null
package com.example.real_age_calculator_b422041_punit import android.app.DatePickerDialog import android.os.Bundle import android.widget.Button import android.widget.RadioButton import android.widget.RadioGroup import android.widget.TextView import android.widget.Toast import androidx.appcompat.app.AlertDialog import ...
0
Kotlin
0
0
e48008398f13f0365d57dc7e5360317880f84269
5,119
Age-Calculator-App
MIT License
src/main/kotlin/gg/octave/bot/music/sources/spotify/SpotifyAccessTokenTracker.kt
music-at-discord
296,755,172
true
{"Gradle": 2, "Shell": 1, "Text": 17, "Ignore List": 1, "Batchfile": 1, "Markdown": 6, "Java Properties": 1, "Java": 16, "XML": 1, "Kotlin": 143}
package gg.octave.bot.music.sources.spotify import org.apache.http.HttpStatus import org.apache.http.client.methods.HttpPost import org.apache.http.client.protocol.HttpClientContext import org.apache.http.entity.StringEntity import org.apache.http.util.EntityUtils import org.json.JSONObject import org.slf4j.LoggerFact...
0
Kotlin
0
0
cac5d17bd1913d9286ae942baa01c6fefe03dcdd
3,975
Octave
MIT License
core/domain/src/main/kotlin/flow/domain/usecase/AddCommentUseCase.kt
andrikeev
503,060,387
false
null
package flow.domain.usecase import flow.data.api.service.TopicService import flow.dispatchers.api.Dispatchers import kotlinx.coroutines.withContext import javax.inject.Inject class AddCommentUseCase @Inject constructor( private val topicService: TopicService, private val dispatchers: Dispatchers, ) { susp...
0
Kotlin
2
8
a850db05575d58cd7676823f6185311c595c4dd0
565
Flow
MIT License
trixnity-client/src/commonMain/kotlin/net/folivo/trixnity/client/room/RoomDisplayNameEventHandler.kt
benkuly
330,904,570
false
null
package net.folivo.trixnity.client.room import kotlinx.coroutines.CoroutineScope import kotlinx.coroutines.flow.MutableStateFlow import kotlinx.coroutines.flow.first import kotlinx.coroutines.flow.update import kotlinx.coroutines.job import mu.KotlinLogging import net.folivo.trixnity.client.getRoomId import net.folivo...
0
null
3
28
f92f0f0f97b67a923711f27b62f04b259078b625
7,603
trixnity
Apache License 2.0
app/src/main/java/dev/mslalith/focuslauncher/ui/views/bottomsheets/settings/ClockSettingsSheet.kt
mslalith
453,114,601
false
null
package dev.mslalith.focuslauncher.ui.views.bottomsheets.settings import androidx.compose.foundation.background import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.foundation.layout.height import a...
8
Kotlin
5
40
3298e2505e9f3eb6f8760b603586bd8c60d065e4
4,423
focus_launcher
Apache License 2.0
app/src/main/java/com/smarttoolfactory/composedrawingapp/gesture/MotionEvent.kt
SmartToolFactory
463,518,598
false
{"Kotlin": 42730}
package com.smarttoolfactory.composedrawingapp.gesture enum class MotionEvent { Idle, Down, Move, Up }
1
Kotlin
13
61
abb13004ab81042166c6d47a2deffe7fe690602b
107
Compose-Drawing-App
MIT License
src/main/kotlin/no/nav/rekrutteringsbistand/api/support/featuretoggle/ByClusterStrategy.kt
navikt
214,435,826
false
null
package no.nav.rekrutteringsbistand.api.support.featuretoggle import no.finn.unleash.strategy.Strategy import org.springframework.beans.factory.annotation.Value import org.springframework.stereotype.Component @Component class ByClusterStrategy: Strategy { @Value("\${nais.cluster-name}") lateinit var clusterN...
49
Kotlin
0
0
4c61eb16ed9aa0e5f08fe968077dfebd4c8b938d
592
rekrutteringsbistand-stilling-api
MIT License
src/main/kotlin/vlkv/configuration/yaml/Configuration.kt
veelkoov
413,134,828
false
{"Kotlin": 55074, "HTML": 12467, "JavaScript": 5867, "CSS": 387}
package vlkv.configuration.yaml import com.fasterxml.jackson.annotation.JsonProperty data class Configuration( @JsonProperty("ignored_names_ci") val ignoredNamesCi: List<String>, @JsonProperty("ignored_where_ci") val ignoredWhereCi: List<String>, @JsonProperty("ignored_where_lines_ci") val i...
0
Kotlin
0
0
f754242a99e9b8918fc78d2c61bcb90a8f00011e
582
HoldMyAB
MIT License
plot-api/src/test/kotlin/jetbrains/letsPlot/PositionAdjustmentTest.kt
poloynikov
330,182,156
true
{"Kotlin": 450173, "Shell": 73}
/* * Copyright (c) 2019. JetBrains s.r.o. * Use of this source code is governed by the MIT license that can be found in the LICENSE file. */ package jetbrains.letsPlot import jetbrains.datalore.plot.config.Option import jetbrains.letsPlot.Pos.dodge import jetbrains.letsPlot.geom.geom_point import jetbrains.letsPlo...
0
null
0
0
c7deef6bcdf1b6ed094fed36dfe676e26713ca62
1,458
lets-plot-kotlin
MIT License
appcompat/src/main/java/nl/adaptivity/android/coroutinesCompat/AppcompatFragmentCoroutineScopeWrapper.kt
pdvrieze
112,604,596
false
null
package nl.adaptivity.android.coroutinesCompat import android.app.Activity import android.content.Intent import android.os.Build import android.os.Bundle import android.support.annotation.IdRes import android.support.annotation.RequiresApi import android.support.v4.app.Fragment import android.support.v4.app.FragmentAc...
0
Kotlin
10
114
3e380a07e4dd3412db391cb90fe06a8adb01f1a9
3,103
android-coroutines
Apache License 2.0
core/src/commonMain/kotlin/work/socialhub/kslack/api/methods/request/users/profile/UsersProfileSetRequest.kt
uakihir0
794,979,552
false
{"Kotlin": 945304, "Ruby": 2164, "Shell": 2095, "Makefile": 316}
package work.socialhub.kslack.api.methods.request.users.profile import work.socialhub.kslack.api.methods.SlackApiRequest import work.socialhub.kslack.entity.user.Profile class UsersProfileSetRequest( /** Authentication token. Requires scope: `users.profile:write` */ override var token: String?, /** ID of ...
5
Kotlin
0
0
4d7fe4d7658ebe5e7daac29f727db96a09deaead
757
kslack
MIT License
app/src/main/java/com/interview/planets/presentation/MainActivity.kt
AkhilTMohan
784,582,679
false
{"Kotlin": 66750, "Rich Text Format": 1253}
package com.interview.planets.presentation import android.os.Bundle import androidx.activity.ComponentActivity import androidx.activity.compose.setContent import androidx.activity.viewModels import androidx.compose.runtime.collectAsState import androidx.compose.runtime.getValue import com.interview.planets.presentatio...
0
Kotlin
0
0
acf47260868d79d76fcc0699903346d1b63e9b2c
1,569
kotlin-compose-clean-mvvm
The Unlicense
rsocket-engine/src/main/kotlin/org/timemates/api/rsocket/timers/members/invites/commands/TimerMembersCommandsRegistry.kt
timemates
575,534,072
false
{"Kotlin": 150448}
package org.timemates.api.rsocket.timers.members.invites.commands import org.timemates.api.rsocket.common.commands.RSocketCommandsBuilderScope import org.timemates.sdk.timers.members.invites.requests.CreateInviteRequest import org.timemates.sdk.timers.members.invites.requests.GetInvitesRequest import org.timemates.sdk...
2
Kotlin
0
9
601cb3c14c618e9fbdc0e0832a8bfc19f7371d96
811
sdk
MIT License
ok-marketplace-fe-app-kreact/src/main/kotlin/items/proposals/view/MarketplaceProposalView.kt
otuskotlin
323,966,359
false
null
package items.proposals.view import items.base.view.marketplaceView import models.ProposalIdModel import models.ProposalModel import react.RBuilder import react.RComponent import react.RState import react.rClass class MarketplaceProposalView(props: MarketplaceProposalViewProps) : RComponent<MarketplaceProposalViewPro...
0
Kotlin
0
1
5f05fe658504dfa5d7300e3f0f523d250ff6ce31
1,016
202012-otuskotlin-marketplace
MIT License
examples/src/main/kotlin/examples/animation/AnimationEvents.kt
hiperbou
77,711,558
false
{"Kotlin": 456816, "HTML": 335}
package examples.animation import Phaser.* class AnimationEvents: State() { //var game = Phaser.Game(800, 600, Phaser.AUTO, "phaser-example", { preload: preload, create: create, update: update }) override fun preload() { game.load.image("lazur", "assets/pics/thorn_lazur.png") game.load.spritesheet...
2
Kotlin
11
55
18d247ecf44c32f5aca0560dce7727c10dfe196a
1,367
kotlin-phaser
MIT License
android/quest/src/main/java/org/smartregister/fhircore/quest/ui/patient/profile/components/PersonalData.kt
d-tree-org
425,769,415
true
{"Kotlin": 2134741}
/* * Copyright 2021 Ona Systems, 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 agr...
0
Kotlin
1
0
a22005a443284f468fbceb459724eec3da975b43
4,996
fhircore
Apache License 2.0
domain/src/main/java/com/danielriverolosa/domain/interactor/character/GetCharacterListUseCase.kt
danielriverolosa
469,149,830
false
{"Kotlin": 83836}
package com.danielriverolosa.domain.interactor.character import com.danielriverolosa.domain.entity.Character import com.danielriverolosa.domain.interactor.UseCase import com.danielriverolosa.domain.repository.CharacterRepository class GetCharacterListUseCase( private val repository: CharacterRepository ): UseCase...
0
Kotlin
0
1
2f2ace107370e3835e79a839a60e9c39d1a52c81
574
RickAndMortyBeerBuddy
Apache License 2.0
Server/Context/src/main/kotlin/org/elkoserver/server/context/InternalActorFactoryFactory.kt
jstuyts
213,739,601
false
null
package org.elkoserver.server.context import org.elkoserver.foundation.server.metadata.AuthDesc import org.elkoserver.util.trace.slf4j.Gorgel internal class InternalActorFactoryFactory( private val myContextor: Contextor, private val internalActorGorgel: Gorgel, private val internalActorCommGo...
5
null
1
1
d18864aaa29914c50edcb9ccfbd074a45d3d0498
542
Elko
MIT License
src/main/kotlin/de/rehatech/homeekt/const/ActionHomeegramEvent3.kt
Rehatech22-23
575,597,791
false
{"Kotlin": 39074}
package de.rehatech.homeekt.const enum class ActionHomeegramEvent3(val id: Float) { NONE(0F), ENABLE(1F), DISABLE(2F), PLAY(3F), STOP(4F) }
0
Kotlin
0
0
8957d188a5bc0c7fd5ce7e8cc4057bea4eefec0b
160
homeekt
MIT License
native-authentication/src/main/java/com/okta/nativeauthentication/form/LabelFormBuilder.kt
okta
331,106,204
false
{"Kotlin": 426673, "Gherkin": 17266, "Ruby": 1873, "Shell": 541}
/* * Copyright 2022-Present Okta, 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 agr...
4
Kotlin
13
9
ebdaf4ffb488b60854779afe770cd88cf0bad826
958
okta-idx-android
Apache License 2.0
keel-core/src/test/kotlin/com/netflix/spinnaker/keel/services/ApplicationServiceTests.kt
gavinbunney
310,210,676
true
{"Kotlin": 2201133, "Java": 15852, "Shell": 1691, "Slim": 359}
package com.netflix.spinnaker.keel.services import com.netflix.spinnaker.keel.api.DeliveryConfig import com.netflix.spinnaker.keel.api.Environment import com.netflix.spinnaker.keel.api.artifacts.ArtifactStatus.RELEASE import com.netflix.spinnaker.keel.api.artifacts.ArtifactStatus.SNAPSHOT import com.netflix.spinnaker....
0
null
0
0
387a73615079fd2767eb1bc101fa9bcf4263f2f8
35,966
keel
Apache License 2.0
client/src/test/kotlin/com/rarible/looksrare/client/LooksrareClientTest.kt
rarible
517,956,645
false
null
package com.rarible.looksrare.client import com.rarible.looksrare.client.agent.UserAgentProvider import com.rarible.looksrare.client.model.v1.LooksrareOrder import com.rarible.looksrare.client.model.v1.OrdersRequest import com.rarible.looksrare.client.model.v1.Pagination import com.rarible.looksrare.client.model.v1.So...
1
Kotlin
0
0
387c3b5c856a3bb406f264cc9050f65bb00b1dae
3,569
looksrare-client
MIT License
app/src/main/java/com/balsdon/accessibilityBroadcastService/RefreshServiceState.kt
qbalsdon
353,027,710
false
{"Kotlin": 34593}
package com.balsdon.accessibilityBroadcastService import android.provider.Settings import androidx.appcompat.app.AppCompatActivity import kotlinx.coroutines.delay import kotlinx.coroutines.flow.Flow import kotlinx.coroutines.flow.flow class RefreshServiceState( private val activity: AppCompatActivity, private...
0
Kotlin
2
6
fe383fc16c622bb59d6b4509206416ac0e37895e
996
accessibility_broadcast_dev
Apache License 2.0
app/src/main/java/in/dimigo/dimigoin/ui/main/fragment/ingang/IngangViewModel.kt
dimigo-din
276,088,881
false
{"Kotlin": 156078, "Ruby": 939}
package `in`.dimigo.dimigoin.ui.main.fragment.ingang import `in`.dimigo.dimigoin.data.model.IngangTime import `in`.dimigo.dimigoin.data.usecase.ingang.IngangUseCase import `in`.dimigo.dimigoin.ui.item.IngangStatusItem import `in`.dimigo.dimigoin.ui.util.EventWrapper import androidx.lifecycle.LiveData import androidx.l...
10
Kotlin
1
21
b89dbdb7f5a540d59a0b70bc91fb29eb7d6a9846
3,023
dimigoin-android
Apache License 2.0
app/src/main/java/com/example/android/architecture/blueprints/todoapp/statistics/StatisticsUtils.kt
AbdulHameedMohamed
847,438,524
false
{"Kotlin": 108523}
package com.example.android.architecture.blueprints.todoapp.statistics import com.example.android.architecture.blueprints.todoapp.data.Task internal fun getActiveAndCompletedStats(tasks: List<Task>?): StatsResult { if(tasks.isNullOrEmpty()) return StatsResult(0f, 0f) val totalTasks = tasks.size ...
0
Kotlin
0
0
56fd0449e71ae35140b6c7aeb84a244d47d6c9cb
652
TestingToDoApp
Apache License 2.0
app/src/main/java/com/mainstreetcode/teammate/repository/UserRepo.kt
tunjid
186,313,358
false
null
/* * MIT License * * Copyright (c) 2019 <NAME> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, m...
1
Kotlin
24
133
c44751a359eba6c10d69797872c1220c956ee2e5
7,451
teammate-android
MIT License
components/membership/membership-group-read-impl/src/main/kotlin/net/corda/membership/impl/read/cache/MemberListCache.kt
corda
346,070,752
false
{"Kotlin": 20585419, "Java": 308202, "Smarty": 115357, "Shell": 54409, "Groovy": 30246, "PowerShell": 6470, "TypeScript": 5826, "Solidity": 2024, "Batchfile": 244}
package net.corda.membership.impl.read.cache import net.corda.membership.lib.MemberInfoExtension.Companion.MEMBER_STATUS_PENDING import net.corda.membership.lib.MemberInfoExtension.Companion.status import net.corda.v5.membership.MemberInfo import net.corda.virtualnode.HoldingIdentity import org.slf4j.LoggerFactory imp...
82
Kotlin
7
69
d478e119ab288af663910f9a2df42a7a7b9f5bce
4,584
corda-runtime-os
Apache License 2.0
android-core/src/main/kotlin/org/mint/android/probe/CrashProbe.kt
ing-bank
620,378,707
false
{"Kotlin": 375172, "XSLT": 61849}
package com.ing.mint.android.probe import android.util.Log import com.ing.mint.android.AndroidState import com.ing.mint.android.ApplicationMonitor import com.ing.mint.android.Observer import com.ing.mint.android.xml.ThrowableAttributes import com.ing.mint.lib.ProbeCategory import com.ing.mint.lib.ProbeTimingCategory ...
0
Kotlin
2
4
abf96d311b3ebb1bba2a331a353126c653225be9
2,280
mint
MIT License
plugins/kotlin/idea/src/org/jetbrains/kotlin/idea/facet/KotlinFacetValidatorCreator.kt
JetBrains
2,489,216
false
null
// Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package org.jetbrains.kotlin.idea.facet import com.intellij.facet.ui.FacetEditorContext import com.intellij.facet.ui.FacetEditorValidator import com.intellij.f...
191
null
4372
13,319
4d19d247824d8005662f7bd0c03f88ae81d5364b
932
intellij-community
Apache License 2.0
bbfgradle/tmp/results/diffABI/utanwip_FILE.kt
DaniilStepanov
346,008,310
false
{"Markdown": 122, "Gradle": 762, "Gradle Kotlin DSL": 649, "Java Properties": 23, "Shell": 49, "Ignore List": 20, "Batchfile": 26, "Git Attributes": 8, "Kotlin": 82508, "Protocol Buffer": 12, "Java": 6674, "Proguard": 12, "XML": 1698, "Text": 13298, "INI": 221, "JavaScript": 294, "JAR Manifest": 2, "Roff": 217, "Roff M...
// Bug happens on JVM , JVM -Xuse-ir // TARGET_BACKEND: JVM // FILE: tmp0.kt package utanwip import kotlin.test.assertEquals import kotlin.reflect.* import kotlin.collections.* import kotlin.text.* fun checkLongAB5E(x: Long):Unit = TODO() fun checkDouble1(y: Double):Unit = TODO() fun checkByte10(z: Byte):Unit = TOD...
1
null
1
1
e772ef1f8f951873ebe7d8f6d73cf19aead480fa
1,142
kotlinWithFuzzer
Apache License 2.0
jvm-debugger/test/testData/lib/coroutines/coroutines.kt
JetBrains
278,369,660
false
null
package forTests import kotlin.coroutines.Continuation import kotlin.coroutines.CoroutineContext import kotlin.coroutines.EmptyCoroutineContext import kotlin.coroutines.startCoroutine import java.util.concurrent.CountDownLatch import java.util.concurrent.TimeUnit open class EmptyContinuation(override val context: Cor...
12
Kotlin
30
82
cc81d7505bc3e9ad503d706998ae8026c067e838
988
intellij-kotlin
Apache License 2.0
docs/source/example-code/src/test/kotlin/net/corda/docs/WorkflowTransactionBuildTutorialTest.kt
unphon
105,518,202
false
null
package net.corda.docs import net.corda.core.contracts.LinearState import net.corda.core.contracts.StateAndRef import net.corda.core.contracts.UniqueIdentifier import net.corda.core.node.ServiceHub import net.corda.core.node.services.queryBy import net.corda.core.node.services.vault.QueryCriteria import net.corda.core...
4
null
1
1
f9614123968035cb325c6de0b84cf2718643f399
4,993
corda
Apache License 2.0
code generators/de.fhdo.lemma.model_processing.code_generation.java_base/src/main/kotlin/de/fhdo/lemma/model_processing/code_generation/java_base/serialization/code_generation/PlainCodeGenerationSerializer.kt
SeelabFhdo
204,692,764
false
null
package de.fhdo.lemma.model_processing.code_generation.java_base.serialization.code_generation import com.github.javaparser.ast.CompilationUnit import com.github.javaparser.ast.Node import com.github.javaparser.ast.body.ClassOrInterfaceDeclaration import com.github.javaparser.ast.body.EnumDeclaration import com.github...
20
Java
2
16
046a5cfb81b084bfa05a0c2bc106ae04143de48a
5,288
lemma
MIT License
src/es/mangamx/src/eu/kanade/tachiyomi/extension/es/mangamx/MangaMx.kt
Jays2Kings
244,085,479
true
{"Kotlin": 1981626, "Java": 10419, "Shell": 1729}
package eu.kanade.tachiyomi.extension.es.mangamx import android.net.Uri import com.github.salomonbrys.kotson.get import com.github.salomonbrys.kotson.string import com.google.gson.JsonElement import com.google.gson.JsonParser import eu.kanade.tachiyomi.network.GET import eu.kanade.tachiyomi.network.POST import eu.kan...
1
null
8
5
b1a291fae9841d0531c40774fd6c3cd29077b290
11,316
tachiyomi-extensions
Apache License 2.0
core/descriptors.runtime/src/kotlin/reflect/jvm/internal/structure/ReflectJavaTypeParameter.kt
JakeWharton
99,388,807
false
null
/* * Copyright 2010-2017 JetBrains s.r.o. * * 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...
181
null
5748
83
4383335168338df9bbbe2a63cb213a68d0858104
1,740
kotlin
Apache License 2.0
src/main/kotlin/fr/simpleteam/simplebot/api/Server.kt
TheSimpleTeam
370,083,508
false
{"Java": 251712, "Kotlin": 4216, "Dockerfile": 347, "Shell": 138}
/* * MIT License * * Copyright (c) 2021 minemobs * * 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,...
15
Java
1
1
2826ece39a0291b3a2f9094729876b938f8ff908
2,857
SimpleBot
MIT License
obevo-core/src/main/java/com/gs/obevo/api/appdata/PhysicalSchema.kt
goldmansachs
87,556,817
false
null
/** * Copyright 2017 <NAME>. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing...
94
Java
53
214
133ce757ae80de9e7b7efa64328906c8471e4901
1,965
obevo
Apache License 2.0
plugins/kotlin/idea/tests/testData/editor/enterHandler/emptyParameters/EmptyParameterInGetter2.kt
ingokegel
72,937,917
false
null
class Test { val a: Boolean get(<caret>) } // SET_TRUE: ALIGN_MULTILINE_METHOD_BRACKETS // IGNORE_FORMATTER
1
null
1
2
b07eabd319ad5b591373d63c8f502761c2b2dfe8
112
intellij-community
Apache License 2.0
database/database-symbol-processor/src/main/kotlin/ru/tinkoff/kora/database/symbol/processor/r2dbc/extension/R2dbcTypesExtensionFactory.kt
kora-projects
743,624,836
false
{"Java": 4674615, "HTML": 2291174, "Kotlin": 1736247, "Mustache": 125677}
package ru.tinkoff.kora.database.symbol.processor.r2dbc.extension import com.google.devtools.ksp.processing.CodeGenerator import com.google.devtools.ksp.processing.KSPLogger import com.google.devtools.ksp.processing.Resolver import ru.tinkoff.kora.kora.app.ksp.extension.ExtensionFactory class R2dbcTypesExtensionFacto...
8
Java
9
63
bb7d906d3af0ae6f8c68f87327f010b66110f34f
499
kora
Apache License 2.0
eco-core/core-backend/src/main/kotlin/com/willfp/eco/internal/factory/EcoRunnableFactory.kt
Auxilor
325,856,799
false
{"Kotlin": 784230, "Java": 740080}
package com.willfp.eco.internal.factory import com.willfp.eco.core.EcoPlugin import com.willfp.eco.core.factory.RunnableFactory import com.willfp.eco.core.scheduling.RunnableTask import com.willfp.eco.internal.scheduling.EcoRunnableTask import java.util.function.Consumer class EcoRunnableFactory(private val plugin: E...
82
Kotlin
53
156
81de46a1c122a3cd6be06696b5b02d55fd9a73e5
576
eco
MIT License
Architecture/UnidirectionalKotlinCats/mobile/src/main/kotlin/com/odai/architecturedemo/cats/view/CatEntryView.kt
MeriamLabidi
141,568,320
true
{"Markdown": 72, "Java Properties": 91, "Shell": 62, "Batchfile": 59, "Proguard": 32, "Java": 577, "INI": 15, "JavaScript": 95, "CSS": 21, "HTML": 32, "TypeScript": 7, "Kotlin": 178, "Swift": 19, "GLSL": 10, "Objective-C": 10, "Ruby": 15, "Java Server Pages": 8, "Scala": 8}
package com.odai.architecturedemo.cats.view import android.content.Context import android.graphics.PorterDuff import android.util.AttributeSet import android.widget.LinearLayout import com.odai.architecturedemo.R import com.odai.architecturedemo.cat.model.Cat import com.odai.architecturedemo.cats.CatsPresenter import ...
0
Java
0
1
324370b01d55604d9609336e9a2285e33e47064d
2,107
spikes
Apache License 2.0
TeamCode/src/main/java/org/firstinspires/ftc/teamcode/geometry/Vector2d.kt
WHHSFTC
298,673,129
false
null
package org.firstinspires.ftc.teamcode.geometry import kotlin.math.* data class Vector2d( val x: Double = 0.0, val y: Double = 0.0 ) { constructor(other: Vector2d): this(other.x, other.y) val angle: Double = atan2(y, x) val norm: Double = hypot(x, y) fun rotateBy(angle: Double): Vect...
1
Kotlin
1
5
e2297d983c7267ce6e5c30f330393ba2d47288bf
2,033
20-21_season
MIT License
security/src/androidTest/java/com/ul/ims/gmdl/security/security/mdlAuthentication/MdlAuthenticatorTests.kt
prashantkspatil
303,771,349
true
{"Kotlin": 1437450, "Java": 3058}
/* * Copyright (C) 2019 Google LLC * * 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...
0
null
0
0
a6c3a6077ef5e7774ff70929ae4f33968ce6f598
13,474
mdl-ref-apps
Apache License 2.0
app/src/main/java/org/stepic/droid/core/presenters/AnonymousPresenter.kt
Ujjawal-Anand
142,415,269
false
{"Java Properties": 2, "Gradle": 4, "Shell": 2, "Text": 20, "Markdown": 1, "Git Attributes": 1, "Batchfile": 1, "Ignore List": 3, "Proguard": 2, "XML": 213, "Java": 319, "Kotlin": 284, "CSS": 1, "JavaScript": 142}
package org.stepic.droid.core.presenters import org.stepic.droid.concurrency.MainHandler import org.stepic.droid.core.presenters.contracts.AnonymousView import org.stepic.droid.preferences.SharedPreferenceHelper import java.util.concurrent.ThreadPoolExecutor import javax.inject.Inject class AnonymousPresenter @Inject...
1
null
1
1
8a1d314f3e84906cbf70ff061bd23d359e7cd430
808
stepik-android
Apache License 2.0
app/src/main/java/com/tomclaw/drawa/util/RecordNotFoundException.kt
solkin
62,579,229
false
null
package com.tomclaw.drawa.util class RecordNotFoundException : Exception()
1
null
6
22
131f0ef2a9ea88854f18ecef2250d5396da225e2
75
drawa-android
Apache License 2.0
app/src/main/java/com/kryptkode/farmz/screens/farmers/model/FarmerViewMapper.kt
KryptKode
304,291,186
false
null
package com.kryptkode.farmz.screens.farmers.model import com.kryptkode.farmz.app.domain.Farmer interface FarmerViewMapper { fun mapViewToDomain(farmerView: FarmerView): Farmer fun mapDomainToView(farmer: Farmer): FarmerView }
1
null
1
2
5a4e9ed3b762f5a3cf6562b6cfd38210e78af69b
235
Farmz
MIT License
buildSrc/src/main/kotlin/androidx/build/resources/CheckResourceApiReleaseTask.kt
RikkaW
389,105,112
false
null
/* * Copyright 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 applica...
29
null
790
7
6d53f95e5d979366cf7935ad7f4f14f76a951ea5
2,937
androidx
Apache License 2.0
app/src/main/java/org/synknote/SettingsFragment.kt
PaddiM8
179,250,871
false
null
package org.synknote import android.os.Bundle import android.support.v4.app.Fragment import android.support.v7.preference.PreferenceFragmentCompat import android.content.Intent import org.synknote.R /** * A simple [Fragment] subclass. */ class SettingsFragment : PreferenceFragmentCompat() { override fun onCre...
1
null
1
2
1f825237ae4e165dd69ac4ecad64b4ec661c7e30
874
SynkNote
MIT License
idea/tests/testData/inspectionsLocal/convertSealedSubClassToObject/convertSubClassWithModifiers.kt
JetBrains
278,369,660
false
null
// FIX: Convert sealed sub-class to object sealed class Sealed private <caret>class SubSealed : Sealed()
0
Kotlin
30
82
cc81d7505bc3e9ad503d706998ae8026c067e838
106
intellij-kotlin
Apache License 2.0
app/src/main/java/org/coepi/android/ui/debug/logs/LogsFragment.kt
hobbit-frodo
249,796,040
false
{"Gradle": 3, "Java Properties": 2, "Shell": 3, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "Kotlin": 75, "XML": 31, "Java": 1}
package org.coepi.android.ui.debug.logs import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.Toast import androidx.fragment.app.Fragment import androidx.recyclerview.widget.LinearLayoutManager import androidx.recyclerview.widget.Recycl...
1
null
1
1
9db21b7939b7de0dd5487562bbcb24a6d6f274a7
3,871
app-android
MIT License
src/test/kotlin/Solution05SepTest.kt
aladine
276,334,792
false
{"C++": 70308, "Kotlin": 53152, "Java": 10020, "Makefile": 511}
import org.hamcrest.CoreMatchers import org.hamcrest.MatcherAssert.assertThat import org.junit.jupiter.api.Test internal class Solution05SepTest { @Test fun partitionLabels() { val s = Solution05Sep() assertThat(s.partitionLabels("ababcbacadefegdehijhklij"), CoreMatchers.hasItems(9,7,8)) }...
1
C++
1
1
54b7f625f6c4828a72629068d78204514937b2a9
322
awesome-leetcode
Apache License 2.0
compose/ui/ui-test/src/androidAndroidTest/kotlin/androidx/compose/ui/test/assertions/AssertAllTest.kt
RikkaW
389,105,112
false
null
/* * Copyright 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 applica...
29
null
937
7
6d53f95e5d979366cf7935ad7f4f14f76a951ea5
3,152
androidx
Apache License 2.0
logbook-ktor-server/src/main/kotlin/org/zalando/logbook/server/LogbookServer.kt
zalando
42,457,394
false
null
@file:Suppress( "BlockingMethodInNonBlockingContext", ) package org.zalando.logbook.server import io.ktor.http.content.ByteArrayContent import io.ktor.http.content.OutgoingContent import io.ktor.server.application.Application import io.ktor.server.application.BaseApplicationPlugin import io.ktor.server.applicatio...
63
null
257
1,722
f29dad2ca372dffa389d296bd0acf8ed352a3da9
3,073
logbook
MIT License
Android/java/app/src/debug/java/com/didichuxing/doraemondemo/App.kt
yoyiyi
387,735,558
true
{"Ruby": 4, "Markdown": 26, "Text": 4, "Ignore List": 26, "OpenStep Property List": 16, "XML": 435, "Objective-C": 706, "JSON": 146, "Objective-C++": 1, "C": 7, "HTML": 7, "Swift": 23, "JavaScript": 94, "Vue": 34, "Less": 3, "Gradle": 38, "Java Properties": 14, "Shell": 17, "Batchfile": 3, "INI": 17, "Proguard": 15, "K...
package com.didichuxing.doraemondemo import android.app.Activity import android.app.Application import android.content.Context import android.view.View import android.view.accessibility.AccessibilityEvent import androidx.multidex.MultiDex import com.baidu.mapapi.CoordType import com.baidu.mapapi.SDKInitializer import ...
1
Java
1
1
c461eaff8b9ed0d2e867d62d051acd9ce590bb8b
4,890
DoraemonKit
Apache License 2.0
ookotlin/src/main/kotlin/MapDirection.kt
ReptilianEye
699,696,423
false
{"Markdown": 2, "Ignore List": 3, "Gradle": 4, "INI": 5, "Shell": 2, "Batchfile": 2, "Kotlin": 10, "SQL": 2, "HTML": 3, "CSS": 2, "JavaScript": 1, "XML": 2, "Java Properties": 2, "Java": 35}
enum class MapDirection { NORTH, EAST, SOUTH, WEST; companion object { private val VALUES = entries; } override fun toString() = when (this) { NORTH -> "North" EAST -> "East" SOUTH -> "South" WEST -> "West" }; fun toStringShort() = when (this) { ...
0
Java
0
0
de51be10d254e4693063f8b063c3658b51b1645a
695
Object-Oriented-Programming-Course
MIT License
src/main/kotlin/com/staricka/adventofcode2023/days/Day13.kt
mathstar
719,656,133
false
{"Kotlin": 86822}
package com.staricka.adventofcode2023.days import com.staricka.adventofcode2023.framework.Day import com.staricka.adventofcode2023.util.* enum class ReflectionDirection { COLUMN, ROW } data class ReflectionPoint(val num: Int, val direction: ReflectionDirection) fun <T: GridCell> StandardGrid<T>.findReflection()...
0
Kotlin
0
0
73512e7c0cff9fd0deb5d6d72d30f3ae11523c92
3,639
adventOfCode2023
MIT License
src/main/kotlin/com/sukitsuki/telegram/handler/ExecutorUpdateHandler.kt
Tsuki
86,982,297
false
null
package com.sukitsuki.telegram.handler import com.sukitsuki.telegram.Response import com.sukitsuki.telegram.entities.Update import java.util.concurrent.Executor import java.util.concurrent.Executors class ExecutorUpdateHandler( private val delegate: UpdateHandler, private val executor: Executor = Exec...
0
Kotlin
0
1
15c1b0f266e874be5487c73f264df319241bb4e9
545
yat-kotlin-telegram-bot-api
MIT License
app/src/main/java/com/zsoltbertalan/flickslate/data/repository/TvAccessor.kt
herrbert74
779,374,786
false
null
package com.zsoltbertalan.flickslate.data.repository import com.github.michaelbull.result.map import com.zsoltbertalan.flickslate.data.network.FlickSlateService import com.zsoltbertalan.flickslate.data.network.dto.toTvDetail import com.zsoltbertalan.flickslate.data.network.dto.toTvList import com.zsoltbertalan.flicksl...
1
null
2
3
26e2bf7a1212c756054bff20b87f097ae6f61963
1,097
FlickSlate
Apache License 2.0
Basic/FragFormExample_kt/app/src/main/java/edu/cs4730/fragformexample_kt/MainActivity.kt
JimSeker
17,833,557
false
{"Java": 1011629, "Kotlin": 432508}
package edu.cs4730.fragformexample_kt import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import edu.cs4730.fragformexample_kt.databinding.ActivityMainBinding class MainActivity : AppCompatActivity() { lateinit var myFormFragment: FormFragment private lateinit var binding: ActivityMainBi...
0
Java
29
29
b84afada38e0ee5f0637fd05cec73890403d1382
808
ui
Apache License 2.0
dsl/src/main/kotlin/io/cloudshiftdev/awscdkdsl/services/redshiftserverless/CfnWorkgroupConfigParameterPropertyDsl.kt
cloudshiftinc
667,063,030
false
{"Kotlin": 63959868}
@file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION") package cloudshift.awscdk.dsl.services.redshiftserverless import cloudshift.awscdk.common.CdkDslMarker import kotlin.String import software.am...
4
Kotlin
0
3
c59c6292cf08f0fc3280d61e7f8cff813a608a62
1,753
awscdk-dsl-kotlin
Apache License 2.0
kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/deadline/CfnQueueProps.kt
cloudshiftinc
667,063,030
false
{"Kotlin": 142794926}
@file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION") package io.cloudshiftdev.awscdk.services.deadline import io.cloudshiftdev.awscdk.IResolvable import io.cloudshiftdev.awscdk.common.CdkDslMarke...
1
Kotlin
0
4
ddf2bfd2275b50bb86a667c4298dd92f59d7e342
16,695
kotlin-cdk-wrapper
Apache License 2.0
intellij.tools.ide.starter/src/com/intellij/ide/starter/ide/IDEStartConfig.kt
JetBrains
499,194,001
false
null
package com.intellij.ide.starter.ide import com.intellij.ide.starter.models.VMOptionsDiff import java.nio.file.Path interface IDEStartConfig { val workDir: Path val environmentVariables: Map<String, String> get() = System.getenv().filterKeys { // don't inherit these environment variables from parent pr...
1
null
2
9
5cfbf68e2c30bf4ba7b3a53418bb273438ca5cfc
581
intellij-ide-starter
Apache License 2.0
app/src/main/java/com/vivekupasani/single/ui/Activity/OnBoard.kt
vivekupasani
856,708,527
false
{"Kotlin": 121977}
package com.vivekupasani.single.ui.Activity import android.content.Intent import android.os.Bundle import androidx.activity.enableEdgeToEdge import androidx.appcompat.app.AppCompatActivity import com.vivekupasani.single.databinding.ActivityOnboardBinding import com.vivekupasani.single.ui.Activity.signup.getEmail clas...
0
Kotlin
0
1
365318ef98012681487fecc74c9201b84a852e49
758
Single
MIT License
src/main/kotlin/com/github/thinkami/railroads/models/RoutesTableFilter.kt
thinkAmi
773,281,486
false
{"Kotlin": 59121, "Ruby": 544}
package com.github.thinkami.railroads.models import com.github.thinkami.railroads.models.routes.BaseRoute import java.util.* import java.util.regex.Pattern class RoutesTableFilter(val model: RoutesTableModel) { var filterText: String = "" set(value) { val newFilterText = value.lowercase(Locale...
8
Kotlin
0
5
2e72efa0a78d8f19150abeb85afc0d0fe7f375fd
1,140
railroads
MIT License
template/f-debug/src/main/java/ru/surfstudio/standard/f_debug/injector/DebugAppModule.kt
surfstudio
139,034,657
false
{"Kotlin": 2966626, "Java": 1025166, "FreeMarker": 104337, "Groovy": 43020, "C++": 1542, "Ruby": 884, "CMake": 285, "Shell": 33, "Makefile": 25}
package ru.surfstudio.standard.f_debug.injector import android.app.Application import android.content.Context import dagger.Module import dagger.Provides import ru.surfstudio.android.activity.holder.ActiveActivityHolder import ru.surfstudio.android.connection.ConnectionProvider import ru.surfstudio.android.core.ui.nav...
5
Kotlin
30
249
6d73ebcaac4b4bd7186e84964cac2396a55ce2cc
1,955
SurfAndroidStandard
Apache License 2.0
domene/src/main/kotlin/no/nav/tiltakspenger/vilkårsvurdering/Vurdering.kt
navikt
487,246,438
false
{"Kotlin": 944586, "Dockerfile": 495, "Shell": 150, "HTML": 45}
package no.nav.tiltakspenger.vilkårsvurdering import no.nav.tiltakspenger.domene.saksopplysning.Kilde import java.time.LocalDate sealed class Vurdering { abstract val vilkår: Vilkår abstract val kilde: Kilde abstract val fom: LocalDate? abstract val tom: LocalDate? abstract val utfall: Utfall ...
6
Kotlin
0
2
c14aa9e12b2bf60473953613253cdf9a91e14e3e
1,268
tiltakspenger-vedtak
MIT License
app/src/main/java/com/engineerfred/kotlin/ktor/common/CustomTextEntry.kt
EngFred
763,078,300
false
{"Kotlin": 375304}
package com.engineerfred.kotlin.ktor.common import androidx.compose.foundation.border import androidx.compose.foundation.clickable import androidx.compose.foundation.isSystemInDarkTheme import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Column import androidx.compose.founda...
0
Kotlin
0
0
bf9031db3581709d5de44181361e1246850b6092
9,144
quiz-quest
MIT License
sketch/src/androidTest/java/com/github/panpf/sketch/test/request/ListenersTest.kt
fltwlulu
188,455,050
false
{"Gradle Kotlin DSL": 14, "Markdown": 35, "Java Properties": 2, "Shell": 1, "TOML": 1, "Ignore List": 1, "Batchfile": 1, "Text": 1, "Proguard": 12, "XML": 124, "Kotlin": 587, "Java": 10, "SVG": 2, "INI": 11}
package com.github.panpf.sketch.test.request import androidx.test.ext.junit.runners.AndroidJUnit4 import com.github.panpf.sketch.datasource.DataFrom.MEMORY import com.github.panpf.sketch.request.DownloadData import com.github.panpf.sketch.request.DownloadRequest import com.github.panpf.sketch.request.DownloadResult im...
1
null
1
1
c9ff98d80c36d7c4ba5c28bbf358dc8ee53278b1
3,088
sketch
MIT License
app/src/main/java/com/engineerfred/kotlin/ktor/common/DisplayImage.kt
EngFred
763,078,300
false
{"Kotlin": 375304}
package com.engineerfred.kotlin.ktor.common import android.util.Log import androidx.compose.foundation.background import androidx.compose.foundation.border import androidx.compose.foundation.layout.size import androidx.compose.foundation.shape.CircleShape import androidx.compose.runtime.Composable import androidx.comp...
0
Kotlin
0
0
bf9031db3581709d5de44181361e1246850b6092
2,294
quiz-quest
MIT License
src/main/kotlin/de/qaware/cloud/nativ/kpad/logging/LoggingTransmitter.kt
qaware
57,438,516
false
null
/* * The MIT License (MIT) * * Copyright (c) 2016 QAware GmbH, Munich, Germany * * 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 r...
5
null
8
24
12c879b630f2125773611684fe78ec1e577d9ef9
2,087
kubepad
MIT License
integration/camunda-bpm/taskpool-collector/src/test/kotlin/io/holunda/polyflow/taskpool/itest/CollectorTestApplication.kt
holunda-io
135,994,693
false
null
package io.holunda.polyflow.taskpool.itest import com.fasterxml.jackson.databind.ObjectMapper import com.fasterxml.jackson.module.kotlin.KotlinModule import com.fasterxml.jackson.module.kotlin.jacksonObjectMapper import io.holunda.polyflow.taskpool.EnableCamundaTaskpoolCollector import org.axonframework.commandhandlin...
22
Kotlin
20
46
320986f65e97435e0d5e8b7680131427050d967d
1,398
camunda-bpm-taskpool
Apache License 2.0
core/database/src/main/kotlin/com/craft/apps/countdowns/core/database/entity/LocalCountdownModel.kt
WillieCubed
115,229,226
false
{"Kotlin": 187042}
package com.craft.apps.countdowns.core.database.entity import androidx.room.Entity import androidx.room.PrimaryKey import com.craft.apps.countdowns.core.model.Countdown import kotlinx.datetime.Instant /** * A database-layer data model for a Countdown. */ @Entity(tableName = "countdowns") data class LocalCountdownMo...
23
Kotlin
0
2
b58a1eacce5118ca3b465597c2ddb2e6672d124f
1,370
chronos-android
MIT License
feature/theme/src/main/java/com/anggit97/theme/ThemeSettingsFragment.kt
anggit97
383,660,756
false
{"Gradle": 18, "Java Properties": 2, "Shell": 1, "Ignore List": 17, "Batchfile": 1, "Markdown": 1, "INI": 14, "Proguard": 16, "Kotlin": 260, "XML": 262, "JSON": 1, "Gradle Kotlin DSL": 1, "Java": 4}
package com.anggit97.theme import android.os.Bundle import android.view.View import androidx.core.view.WindowInsetsCompat.Type.systemBars import androidx.core.view.updatePadding import androidx.fragment.app.Fragment import androidx.fragment.app.viewModels import com.anggit97.theme.databinding.ThemeOptionFragmentBindin...
1
null
1
1
9623072e1f79e34d603468defc47f5066d0c8376
1,956
Moveee
Apache License 2.0
app/src/main/java/shvyn22/flexingmarvel/util/Constants.kt
shvyn22
348,811,041
false
null
package shvyn22.flexingmarvel.util import shvyn22.flexingmarvel.BuildConfig const val DATASTORE_FILENAME = "preferences" const val DATABASE_NAME = "appDatabase" const val BASE_URL = "https://gateway.marvel.com/v1/public/" const val API_LIMIT = 33 const val API_KEY = BuildConfig.API_KEY const val API_TS = BuildConfig...
0
Kotlin
1
0
7483fb47b48fd3336e1c4253146237b3a64a8784
556
FlexingMarvel
MIT License
DSLs/kafka/dsl/src/main/kotlin-gen/com/fkorotkov/kubernetes/kafka/metricReporter.kt
woxiehaode
275,597,681
true
{"Kotlin": 511354, "Java": 231356}
// GENERATED package com.fkorotkov.kubernetes.kafka import com.fkorotkov.kubernetes.kafka.MetricReporter as kafka_MetricReporter import com.fkorotkov.kubernetes.kafka.Spec as kafka_Spec fun kafka_Spec.`metricReporter`(block: kafka_MetricReporter.() -> Unit = {}) { if(this.`metricReporter` == null) { this.`met...
0
null
0
0
5caafecc9948817feadb977069091e111012b45a
398
k8s-kotlin-dsl
MIT License
domain/src/main/java/com/kotlin/project/domain/di/UseCaseModule.kt
hiroshi-homma-origin
287,533,709
false
null
package com.kotlin.project.domain.di import com.kotlin.project.domain.di.qualifier.PokemonListUseCase import com.kotlin.project.domain.repository.GetPokemonListRepository import com.kotlin.project.domain.usecase.GetPokemonListUseCase import com.kotlin.project.domain.usecase.GetPokemonListUseCaseImpl import dagger.Modu...
0
null
1
1
9f155d0b8cc2e0eb86bcdd6eb226fca887c74a1e
794
hiroCleanArchitecture
Apache License 2.0
src/main/kotlin/com/terraformation/backend/accelerator/db/ProjectScoreStore.kt
terraware
323,722,525
false
{"Kotlin": 5955194, "HTML": 133643, "Python": 46250, "FreeMarker": 21464, "PLpgSQL": 20103, "Makefile": 746, "Dockerfile": 667, "JavaScript": 380}
package com.terraformation.backend.accelerator.db import com.terraformation.backend.accelerator.model.ExistingProjectScoreModel import com.terraformation.backend.accelerator.model.NewProjectScoreModel import com.terraformation.backend.accelerator.model.ProjectScoreModel import com.terraformation.backend.auth.currentUs...
7
Kotlin
1
10
e3bff04d4b8596025aeaa55c631674ad81a4fe4e
2,844
terraware-server
Apache License 2.0
src/main/kotlin/no/nav/amt/distribusjon/application/plugins/Routing.kt
navikt
775,942,443
false
{"Kotlin": 203635, "PLpgSQL": 635, "Dockerfile": 173}
package no.nav.amt.distribusjon.application.plugins import io.ktor.http.HttpStatusCode import io.ktor.server.application.Application import io.ktor.server.application.ApplicationCall import io.ktor.server.application.call import io.ktor.server.application.install import io.ktor.server.plugins.statuspages.StatusPages i...
0
Kotlin
0
0
cf73613fe9e62f553ecf31e96109b7da1348514f
3,261
amt-distribusjon
MIT License
straight/src/commonMain/kotlin/me/localx/icons/straight/bold/MessagesQuestion.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,482
icons
MIT License
src/main/kotlin/com/xrpn/imapi/IMGrouping.kt
xrpn
364,037,871
false
null
package com.xrpn.imapi import com.xrpn.immutable.FList import com.xrpn.immutable.TKVEntry interface IMListGrouping<out A: Any>: IMCollection<A> { fun ffindFirst(isMatch: (A) -> Boolean): Triple< /* before */ IMList<A>, A?, /* after */ IMList<A>> // Split the list at first match fun <B> fgroupBy(f: (A) -> B):...
0
Kotlin
1
3
09da19a3b49d41ae0679b853b4efe4605ba319f6
4,886
immutable-kotlin
Apache License 2.0
nebulosa-astrobin-api/src/main/kotlin/nebulosa/astrobin/api/Telescope.kt
tiagohm
568,578,345
false
{"Kotlin": 2712371, "TypeScript": 513759, "HTML": 249483, "JavaScript": 120539, "SCSS": 11332, "Python": 2817, "Makefile": 445}
package nebulosa.astrobin.api data class Telescope( override val id: Long = 0L, override val brandName: String = "", override val name: String = "", val type: String = "", val aperture: Double = 0.0, val minFocalLength: Double = 0.0, val maxFocalLength: Double = 0.0, ) : Equipment { ov...
26
Kotlin
2
4
4d398242b1ddf95b48fe95de47a2bcb01f6ff0a6
422
nebulosa
MIT License
src/year2023/day03/Day03.kt
lukaslebo
573,423,392
false
{"Kotlin": 222221}
package year2023.day03 import check import readInput fun main() { val testInput = readInput("2023", "Day03_test") check(part1(testInput), 4361) check(part2(testInput), 467835) val input = readInput("2023", "Day03") println(part1(input)) println(part2(input)) } private fun part1(input: List<S...
0
Kotlin
0
1
f3cc3e935bfb49b6e121713dd558e11824b9465b
2,709
AdventOfCode
Apache License 2.0
keel-cli/src/main/kotlin/com/netflix/spinnaker/keel/cli/commands/DataGenCommand.kt
spinnaker
107,462,081
false
null
package com.netflix.spinnaker.keel.cli.commands import com.netflix.spinnaker.keel.api.DeliveryConfig import com.netflix.spinnaker.keel.api.Environment import com.netflix.spinnaker.keel.api.Moniker import com.netflix.spinnaker.keel.api.Resource import com.netflix.spinnaker.keel.api.SubnetAwareLocations import com.netfl...
13
null
132
99
6115964c42e863cfd269616a836145b883f165f3
4,698
keel
Apache License 2.0
app/src/main/java/com/example/nasaadventureapp/MarsRoverApiService.kt
jacobjake1
873,886,252
false
{"Kotlin": 9204}
package com.example.nasaadventureapp import retrofit2.Call import retrofit2.http.GET import retrofit2.http.Query interface MarsRoverApiService { @GET("mars-photos/api/v1/rovers/curiosity/photos") fun getPhotos( @Query("earth_date") earthDate: String, @Query("api_key") apiKey: String ): Cal...
0
Kotlin
0
0
b475ae64db0ded5aef6988320f3e45d7a91800a6
342
NASAMarsRoverImagesAPIApp
Apache License 2.0
telegrambots-reactive-core/src/main/kotlin/io/lonmstalker/telegrambots/constants/ErrorConstants.kt
lonmstalker
645,014,780
false
null
package io.lonmstalker.telegrambots.constants object ErrorConstants { // messages: const val BOT_API_ALREADY_STOPPED = "bot api already stopped" const val BOT_API_ALREADY_STARTED = "bot api already started" const val BOT_TOKEN_OR_USERNAME_IS_INVALID = "Bot token and username can't be empty" // lo...
0
Kotlin
0
0
904dd8cd10ca1b5e799bb31bc558c7e4f12e7eaf
470
telegrambots-reactive
Apache License 2.0
app/src/main/java/com/example/composefortv/MainActivity.kt
swapnil-musale
651,222,066
false
{"Kotlin": 4515}
package com.example.composefortv import android.os.Bundle import androidx.activity.ComponentActivity import androidx.activity.compose.setContent import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.ui.Alignment import androidx.compose.ui.Modifier i...
1
Kotlin
1
17
982a05414025890fbc4f4fcc2c55aa63c299b40c
1,311
ComposeForTv
Apache License 2.0
src/main/kotlin/rocks/leight/core/api/upgrade/IUpgradeManager.kt
marek-hanzal
242,307,099
false
null
package rocks.leight.core.api.upgrade import rocks.leight.core.api.config.IConfigurable import kotlin.reflect.KClass interface IUpgradeManager : IConfigurable<IUpgradeManager> { /** * register an upgrade (order of upgrades is important) */ fun <T : IUpgrade> register(upgrade: KClass<T>): IUpgradeManager /** ...
2
Kotlin
0
1
38ebc399d6e43ec3a433ae78d1545aae516cce27
374
leight-core
MIT License
app/src/main/java/com/black_dragon74/mujbuddy/adapters/GPAAdapter.kt
black-dragon74
170,815,529
false
{"Kotlin": 117240}
package com.black_dragon74.mujbuddy.adapters import androidx.recyclerview.widget.RecyclerView import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import com.black_dragon74.mujbuddy.R import com.black_dragon74.mujbuddy.models.GPAModel import kotlinx.android.synthetic.main.gpa_row.v...
0
Kotlin
0
0
b530df85ed0e8bf78c6e918b209d87c7763ac53f
2,321
MUJ-Buddy-Android
MIT License
meistercharts-api/meistercharts-easy-api/src/jsMain/kotlin/com/meistercharts/api/circular/CircularChartConverter.kt
Neckar-IT
599,079,962
false
{"Kotlin": 5819931, "HTML": 87784, "JavaScript": 1378, "CSS": 1114}
/** * Copyright 2023 Neckar IT GmbH, Mössingen, Germany * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...
3
Kotlin
3
5
ed849503e845b9d603598e8d379f6525a7a92ee2
2,346
meistercharts
Apache License 2.0
src/main/kotlin/org/jetbrains/kotlinx/dataframe/jupyter/Integration.kt
Kotlin
259,256,617
false
null
package org.jetbrains.kotlinx.dataframe.jupyter import org.jetbrains.dataframe.impl.codeGen.ReplCodeGenerator import org.jetbrains.kotlinx.dataframe.AnyCol import org.jetbrains.kotlinx.dataframe.AnyFrame import org.jetbrains.kotlinx.dataframe.AnyRow import org.jetbrains.kotlinx.dataframe.annotations.DataSchema import ...
24
null
8
94
41a099b4d9b563d0518e1550e764211f43e34702
8,354
dataframe
Apache License 2.0
lib/src/main/java/me/frontback/gpueffect/common/Input.kt
Frntbac
99,918,197
false
null
package me.frontback.gpueffect.common interface Input { /** * Texture that can be used as an input */ val texture: Texture? /** * Destroy the input */ fun destroy() }
1
null
2
13
66464a2d5362bfcd5d923cc504325d598a8b7b4c
204
GPUEffect
Apache License 2.0
swipedraggablerecyclerview/src/main/kotlin/com/ripzery/swipedraggablerecyclerview/util/ItemTouchHelperAdapter.kt
ripzery
70,221,579
false
null
package com.ripzery.swipedraggablerecyclerview.util import android.support.v7.widget.RecyclerView /** * Created by ripzery on 10/6/16. */ interface ItemTouchHelperAdapter{ fun onItemMoved(fromPosition: Int, toPosition: Int): Boolean fun onItemDismissed(position: Int) }
0
Kotlin
0
1
98264aacee6fa480f22800602a4a4e49ad8462aa
283
SwipeDragRecycler
Apache License 2.0
common-jvm/src/main/kotlin/com/sandbox/model/extensions/Entensions.kt
ideaBlender
164,503,208
false
{"CSS": 189386, "Kotlin": 17711, "HTML": 1741}
package com.sandbox.model.extensions import com.sandbox.model.DateTime import java.util.* fun Date.toDateTime(): DateTime { val calendar = GregorianCalendar() calendar.time = this return DateTime(year = calendar.get(Calendar.YEAR), month =calendar.get(Calendar.MONTH), day=calendar.get(Calendar.DAY_OF_MONT...
0
CSS
0
0
f89468574f496f4f8aebeaaa891ec2a5652ff353
407
multiplatformsandbox
Apache License 2.0
sample/src/main/java/com/sebaslogen/resacaapp/sample/ui/main/compose/DemoComposablePreviews.kt
sebaslogen
431,489,181
false
{"Kotlin": 100252, "Swift": 621, "HTML": 339, "CSS": 102}
package com.sebaslogen.resacaapp.sample.ui.main.compose import androidx.compose.runtime.Composable import androidx.compose.ui.tooling.preview.Preview import com.sebaslogen.resacaapp.sample.ui.main.compose.examples.DemoScopedHiltInjectedViewModelComposable import com.sebaslogen.resacaapp.sample.ui.main.compose.examples...
1
Kotlin
9
406
9d923bd86cc7c0db028a29c617c946091f627cff
1,343
resaca
MIT License
compose/src/jsMain/kotlin/androidx/constraintlayout/core/platform/WeakReference.js.kt
Lavmee
711,725,142
false
null
package com.seiko.imageloader.util import io.ktor.client.engine.HttpClientEngine import io.ktor.client.engine.js.Js import kotlinx.coroutines.CoroutineDispatcher import kotlinx.coroutines.Dispatchers import okio.FileSystem actual class WeakReference<T : Any> actual constructor(referred: T) { private var weakRef:...
6
null
15
82
6f1563153d06c2e46ff694288bb2c17999a12818
1,292
constraintlayout-compose-multiplatform
Apache License 2.0
archLintRulesTestDemo/src/main/java/me/ycdev/android/arch/demo/activity/LintViolationActivity.kt
yongce
12,662,755
false
null
package me.ycdev.android.arch.demo.activity import android.content.BroadcastReceiver import android.content.Context import android.content.Intent import android.content.IntentFilter import android.os.Bundle import androidx.appcompat.app.AppCompatActivity import android.view.MenuItem /** * Class doc for test */ clas...
0
null
6
19
5ffb4444b1e285a5f31138bbb98a39f869342c15
1,400
AndroidLib
Apache License 2.0
archLintRulesTestDemo/src/main/java/me/ycdev/android/arch/demo/activity/LintViolationActivity.kt
yongce
12,662,755
false
null
package me.ycdev.android.arch.demo.activity import android.content.BroadcastReceiver import android.content.Context import android.content.Intent import android.content.IntentFilter import android.os.Bundle import androidx.appcompat.app.AppCompatActivity import android.view.MenuItem /** * Class doc for test */ clas...
0
null
6
19
5ffb4444b1e285a5f31138bbb98a39f869342c15
1,400
AndroidLib
Apache License 2.0