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
gallery/src/main/java/io/pixel/gallery/adapter/SpaceItemDecoration.kt
mmobin789
249,466,100
false
null
package rx.kt.gallery.adapter import android.graphics.Rect import android.view.View import androidx.recyclerview.widget.RecyclerView class SpaceItemDecoration(private val space: Int) : RecyclerView.ItemDecoration() { override fun getItemOffsets(outRect: Rect, view: View, parent: ...
3
null
8
81
ac479625f153e022718cbf117635114253d9193b
777
pixel
Apache License 2.0
kt/godot-library/src/main/kotlin/godot/gen/godot/VisualScriptVariableSet.kt
utopia-rise
289,462,532
false
null
// THIS FILE IS GENERATED! DO NOT EDIT IT MANUALLY! @file:Suppress("PackageDirectoryMismatch", "unused", "FunctionName", "RedundantModalityModifier", "UNCHECKED_CAST", "JoinDeclarationAndAssignment", "USELESS_CAST", "RemoveRedundantQualifierName", "NOTHING_TO_INLINE") package godot import godot.`annotation`.G...
47
Kotlin
25
301
0d33ac361b354b26c31bb36c7f434e6455583738
1,165
godot-kotlin-jvm
MIT License
ktor-client/ktor-client-features/ktor-client-auth/common/src/io/ktor/client/features/auth/providers/BasicAuthProvider.kt
jakobkmar
323,173,348
false
null
package io.ktor.client.features.auth.providers import io.ktor.client.features.auth.* import io.ktor.client.request.* import io.ktor.http.* import io.ktor.http.auth.* import io.ktor.util.* /** * Add [BasicAuthProvider] to client [Auth] providers. */ fun Auth.basic(block: BasicAuthConfig.() -> Unit) { with(BasicA...
0
null
0
7
ea35658a05cc085b97297a303a7c0de37efe0024
1,722
ktor
Apache License 2.0
http4k-realtime-core/src/main/kotlin/org/http4k/lens/wsMessageLens.kt
http4k
86,003,479
false
null
package org.http4k.lens import org.http4k.asString import org.http4k.core.Body import org.http4k.websocket.WsMessage internal val meta = Meta(true, "websocket", ParamMeta.ObjectParam, "message") /** * Represents a extraction of an entity from a target WsMessage. */ open class WsMessageLensSpec<out OUT>(internal va...
34
null
249
2,615
7ad276aa9c48552a115a59178839477f34d486b1
3,263
http4k
Apache License 2.0
type-system/src/commonMain/kotlin/io/github/charlietap/chasm/type/matching/PackedTypeMatcher.kt
CharlieTap
743,980,037
false
{"Kotlin": 2038087, "WebAssembly": 45714}
package io.github.charlietap.chasm.type.matching import io.github.charlietap.chasm.ast.type.PackedType @Suppress("UNUSED_PARAMETER") internal fun PackedTypeMatcher( type1: PackedType, type2: PackedType, context: TypeMatcherContext, ): Boolean = type1 == type2
5
Kotlin
3
67
dd6fa51262510ecc5ee5b03866b3fa5d1384433b
274
chasm
Apache License 2.0
app/src/main/java/io/github/wulkanowy/data/db/migrations/Migration38.kt
wulkanowy
87,721,285
false
{"Kotlin": 1617521, "HTML": 1949, "Shell": 220}
package io.github.wulkanowy.data.db.migrations import androidx.room.migration.Migration import androidx.sqlite.db.SupportSQLiteDatabase class Migration38 : Migration(37, 38) { override fun migrate(database: SupportSQLiteDatabase) { database.execSQL(""" CREATE TABLE IF NOT EXISTS `SchoolAnnoun...
89
Kotlin
27
228
b708c70ea25cdebc50cfa48163e8cd41c090146a
600
wulkanowy
Apache License 2.0
src/day19/Day19.kt
martin3398
572,166,179
false
null
package day19 import readInput import java.lang.Integer.max import java.lang.Integer.min import kotlin.math.ceil data class Price(val ore: Int, val clay: Int, val obsidian: Int) data class Blueprint(val orePrice: Price, val clayPrice: Price, val obsidianPrice: Price, val geodePrice: Price) { fun canBuyOreRobot(a...
0
Kotlin
0
0
4277dfc11212a997877329ac6df387c64be9529e
6,824
advent-of-code-2022
Apache License 2.0
compose/constraint-layout/src/commonMain/kotlin/androidx/constraintlayout/core/widgets/ChainHead.kt
Woody230
388,189,330
false
{"Kotlin": 3122765}
/* * Copyright (C) 2018 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
2
Kotlin
0
7
5ad55d66bbb58a12bf3a8b436ea1ea4d8e9737bc
8,657
KotlinExtensions
Apache License 2.0
straight/src/commonMain/kotlin/me/localx/icons/straight/bold/Narwhal.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
3,501
icons
MIT License
app/src/main/java/com/example/easymakeup/domain/model/Product.kt
milosursulovic
578,556,942
false
{"Kotlin": 41812}
package com.example.easymakeup.domain.model data class Product( val title: String, val price: Float, val discount: Int )
0
Kotlin
0
0
cca28d6bedd0b672a69c558293f7ea7b12f92da2
134
easy-makeup
MIT License
keel-ec2-plugin/src/main/kotlin/com/netflix/spinnaker/keel/ec2/jackson/mixins/SecurityGroupRuleMixin.kt
dmart
278,398,832
true
{"Kotlin": 1856517, "Java": 15301, "Shell": 1691}
package com.netflix.spinnaker.keel.ec2.jackson.mixins import com.fasterxml.jackson.annotation.JsonIgnore interface SecurityGroupRuleMixin { @get:JsonIgnore val isSelfReference: Boolean }
0
null
0
0
83e75f3fe9ab8f9dcd1c53d09f38b7a1b67360bf
193
keel
Apache License 2.0
bitcoincore/src/main/kotlin/io/horizontalsystems/bitcoincore/storage/CoreDatabase.kt
horizontalsystems
147,199,533
false
null
package io.horizontalsystems.bitcoincore.storage import androidx.sqlite.db.SupportSQLiteDatabase import androidx.room.Database import androidx.room.Room import androidx.room.RoomDatabase import androidx.room.TypeConverters import androidx.room.migration.Migration import android.content.Context import io.horizontalsyst...
39
null
76
96
110018d54d82bb4e3c2a1d6b0ddd1bb9eeff9167
4,978
bitcoin-kit-android
MIT License
falkon-sql-builder-sqlite/src/test/kotlin/com/jayrave/falkon/sqlBuilders/sqlite/SqliteInsertSqlBuilderIntegrationTests.kt
jayrave
65,279,209
false
null
package com.jayrave.falkon.sqlBuilders.sqlite import com.jayrave.falkon.sqlBuilders.test.insert.TestInsert import org.junit.Test class SqliteInsertSqlBuilderIntegrationTests : BaseClassForIntegrationTests() { @Test fun `can insert both null & non null values`() { TestInsert(SqliteInsertSqlBuilder(), ...
6
Kotlin
2
12
ce42d553c578cd8e509bbfd7effc5d56bf3cdedd
374
falkon
Apache License 2.0
net/src/main/java/com/tans/tfiletransporter/ByteSizeUtils.kt
Tans5
329,625,887
false
null
package com.tans.tfiletransporter const val KB = 1024 const val MB = 1024 * 1024 const val GB = 1024 * 1024 * 1024 fun Long.toSizeString(): String { return when (this) { in 0 until KB -> String.format("%d B", this) in KB until MB -> String.format("%.2f KB", this.toDouble() / KB) in MB unt...
1
null
20
96
061bf75ba02b48693e61fbc15af670dc24a4c2cf
487
tFileTransporter
Apache License 2.0
core/src/commonTest/kotlin/ProgressTests.kt
aSoft-Ltd
801,498,293
false
{"Kotlin": 8608}
import kommander.expect import status.PercentProgress import status.Progress import status.StagedProgressTracker import kotlin.test.Test class ProgressTests { @Test fun should_show_accurate_progress() { val progress: Progress<Double> = PercentProgress(35) // Then expect(progress.percent...
0
Kotlin
0
1
8275b7ccd63eaff43d6a2d4f3bb2afe02afcbd56
1,042
status
MIT License
src/main/kotlin/structures/DataStructuresForTesting.kt
borismilner
205,596,925
false
null
package structures import java.util.* data class EdgeDetails(var properties: String? = null, var connectionMethod: String? = null, var relationshipType: String? = null, var nodes: ArrayList<ArrayList<String>>? = null, var sour...
1
Kotlin
0
4
2486c37c7c9d236cb252055c1b408a62bfe998aa
997
neogoodies
The Unlicense
backend/server/src/main/kotlin/com/varabyte/kobweb/server/io/ApiJarFile.kt
varabyte
389,223,226
false
null
package com.varabyte.kobweb.server.io import com.varabyte.kobweb.api.Apis import com.varabyte.kobweb.api.ApisFactory import com.varabyte.kobweb.api.log.Logger import com.varabyte.kobweb.project.io.LiveFile import java.io.ByteArrayInputStream import java.io.File import java.io.IOException import java.io.InputStream imp...
85
Kotlin
21
570
54bb2756f40fc119179aaa0f0ad2b358d78affff
4,497
kobweb
Apache License 2.0
android/src/main/java/com/example/flutterpluginwangfei/view/filepicker/views/SquareRelativeLayout.kt
luhenchang
247,438,779
false
null
package droidninja.filepicker.views import android.annotation.TargetApi import android.content.Context import android.os.Build import android.util.AttributeSet import android.widget.RelativeLayout /** A RelativeLayout that will always be square -- same width and height, * where the height is based off the width. */...
6
null
4
8
ec7fda17d3422e2cb7132b45a8b4c2c2fbfc6448
1,003
flutter_picker_plugin
MIT License
src/main/kotlin/g0401_0500/s0436_find_right_interval/Solution.kt
javadev
190,711,550
false
{"Kotlin": 4909193, "TypeScript": 50446, "Python": 3646, "Shell": 994}
package g0401_0500.s0436_find_right_interval // #Medium #Array #Sorting #Binary_Search #Binary_Search_II_Day_11 // #2022_12_22_Time_333_ms_(100.00%)_Space_49.7_MB_(90.00%) import java.util.function.Function class Solution { private fun findminmax(num: Array<IntArray>): IntArray { var min = num[0][0] ...
0
Kotlin
20
43
62708bc4d70ca2bfb6942e4bbfb4c64641e598e8
1,173
LeetCode-in-Kotlin
MIT License
kotlin-mui/src/main/generated/mui/material/ListItemButton.kt
Pandinosaurus
126,706,152
true
{"Kotlin": 1387147, "JavaScript": 528}
// Automatically generated - do not modify! @file:JsModule("@mui/material/ListItemButton") @file:JsNonModule package mui.material external interface ListItemButtonProps : react.Props /** * * Demos: * * - [Lists](https://mui.com/components/lists/) * * API: * * - [ListItemButton API](https://mui.com/api/list-...
1
Kotlin
0
0
9baf2b5b00ccf944e847cbea3ab452faf746013c
481
kotlin-wrappers
Apache License 2.0
app/src/main/java/com/alvayonara/outsched/core/ui/SelectScheduleAdapter.kt
alvayonara
274,112,368
false
null
package com.alvayonara.outsched.core.ui import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.appcompat.app.AppCompatActivity import androidx.recyclerview.widget.RecyclerView import com.alvayonara.outsched.R import com.alvayonara.outsched.cor...
0
Kotlin
0
0
5f662b26cf7d48dc1bc3ce7f4a89b3e53e25080d
5,128
OutSched
Apache License 2.0
project/common/src/main/kotlin/ink/ptms/artifex/script/ScriptFileCompiled.kt
TabooLib
492,563,163
false
null
package ink.ptms.artifex.script import java.io.File /** * Artifex * ink.ptms.artifex.script.ScriptFileCompiled * * 编译成功的脚本文件 * * @author 坏黑 * @since 2022/5/16 14:25 */ interface ScriptFileCompiled : ScriptCompiled { /** * 脚本源文件 */ fun sourceFile(): File /** * 脚本签名 */ fun ...
1
null
7
24
eeb2e09552ad1d7bc67f82d56191be8693b329af
531
artifex
Creative Commons Zero v1.0 Universal
core/src/commonMain/kotlin/work/socialhub/kslack/entity/block/composition/PlainTextObject.kt
uakihir0
794,979,552
false
{"Kotlin": 945304, "Ruby": 2164, "Shell": 2095, "Makefile": 316}
package work.socialhub.kslack.entity.block.composition /** * https://api.slack.com/reference/messaging/composition-objects#text */ class PlainTextObject : TextObject() { companion object { const val TYPE: String = "plain_text" } val type: String = TYPE var text: String? = null /** ...
5
Kotlin
0
0
4d7fe4d7658ebe5e7daac29f727db96a09deaead
762
kslack
MIT License
Splitify/Splitify/src/main/kotlin/project/Splitify/http/userController/userDTOS/UserCreation.kt
RodrigoNevesWork
604,869,686
false
null
package project.splitify.domain import javax.validation.constraints.Email data class UserCreation( val name : String, @field:Email(message = "Email must be a valid email address.") val email : String, val phone : String, val password : String )
2
Kotlin
0
1
217e80d682c56b8a0212d996505fd8b1bcda337c
269
Splitify
MIT License
app/src/main/java/com/example/androiddevchallenge/data/TeaProvider.kt
himattm
344,254,889
false
null
/* * Copyright 2021 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
0
Kotlin
0
0
990872b7dda6eefeeafdae3281d125b5312fedf4
1,866
compose-tea-time
Apache License 2.0
cli/src/main/kotlin/uk/gov/justice/digital/cli/client/BlockingDomainClient.kt
ministryofjustice
620,391,775
false
null
package uk.gov.justice.digital.cli.client import io.micronaut.context.annotation.Factory import io.micronaut.context.annotation.Value import io.micronaut.http.HttpHeaders.* import io.micronaut.http.HttpStatus import io.micronaut.http.HttpStatus.* import io.micronaut.http.MediaType.APPLICATION_JSON import io.micronaut....
1
null
1
2
11f4737c5b5f16fc80b52c9690874679dd6567ef
5,689
digital-prison-reporting-domain-builder
MIT License
mailserver/pop3-agent/src/commonMain/kotlin/Pop3CommandPipeline.kt
lost-illusi0n
563,231,184
false
{"Kotlin": 245200, "Astro": 3842, "Dockerfile": 404, "JavaScript": 109}
package dev.sitar.kmail.agents.pop3 import dev.sitar.keystone.Pipeline import dev.sitar.keystone.Stage import dev.sitar.kmail.pop3.commands.Pop3Command data class Pop3CommandContext(val command: Pop3Command, var wasProcessed: Boolean) class Pop3CommandPipeline: Pipeline<Pop3CommandContext>(setOf(Logging, Before, Pro...
0
Kotlin
1
6
0e823e71d5bb55334602d669f4a6c8f8718e5347
617
kmail
MIT License
mailserver/pop3-agent/src/commonMain/kotlin/Pop3CommandPipeline.kt
lost-illusi0n
563,231,184
false
{"Kotlin": 245200, "Astro": 3842, "Dockerfile": 404, "JavaScript": 109}
package dev.sitar.kmail.agents.pop3 import dev.sitar.keystone.Pipeline import dev.sitar.keystone.Stage import dev.sitar.kmail.pop3.commands.Pop3Command data class Pop3CommandContext(val command: Pop3Command, var wasProcessed: Boolean) class Pop3CommandPipeline: Pipeline<Pop3CommandContext>(setOf(Logging, Before, Pro...
0
Kotlin
1
6
0e823e71d5bb55334602d669f4a6c8f8718e5347
617
kmail
MIT License
VVFBLA-MATCHMAKER-KOTLIN/src/program.kts
FBLA-MATCHMAKER
146,522,523
false
null
import java.io.BufferedReader import java.io.File import java.io.FileReader import java.util.Scanner object Program { @JvmStatic fun main(args:Array<String>) { // CALL INGESTDATA CLASS ingestData.main() } } internal object ingestData { private val sc:Scanner fun main() { val f = File("FBLA.txt") ...
0
Kotlin
0
0
289631801f9bb621f06da5dbe75df546de76fd71
137,389
matchmaker-Kotlin
MIT License
ontrack-extension-indicators/src/main/java/net/nemerosa/ontrack/extension/indicators/ui/graphql/GQLTypeIndicatorPortfolioOfPortfolios.kt
nemerosa
19,351,480
false
null
package net.nemerosa.ontrack.extension.indicators.ui.graphql import graphql.schema.GraphQLObjectType import net.nemerosa.ontrack.extension.indicators.model.IndicatorCategoryService import net.nemerosa.ontrack.extension.indicators.portfolio.IndicatorPortfolioOfPortfolios import net.nemerosa.ontrack.extension.indicators...
57
null
27
97
7c71a3047401e088ba0c6d43aa3a96422024857f
2,748
ontrack
MIT License
domain/src/main/java/org/oppia/android/domain/topic/PrimeTopicAssetsControllerImpl.kt
oppia
148,093,817
false
null
package org.oppia.android.domain.topic import android.annotation.SuppressLint import android.app.Activity import android.app.Application import android.graphics.Typeface import android.os.Bundle import android.os.SystemClock import android.text.Spannable import android.text.style.ImageSpan import android.util.TypedVal...
595
null
497
296
98257dbad55c2a9a03f898a38fa7ec57b27713a5
21,170
oppia-android
Apache License 2.0
.teamcity/Buildship/Jdk.kt
eclipse
32,398,083
false
{"Java": 1942456, "Groovy": 793125, "HTML": 121400, "Shell": 1191, "CSS": 131}
package Buildship import java.util.EnumSet enum class Jdk(val majorVersion: String, val vendor: String, val availableOn: EnumSet<OS> = EnumSet.allOf(OS::class.java)) { ORACLE_JDK_8("8", "oracle"), ORACLE_JDK_9("9", "oracle", EnumSet.of(OS.LINUX)), OPEN_JDK_10("10", "oracle", EnumSet.of(OS.LINUX)), OPE...
294
Java
175
511
942a601b12e2da706ad3bbcbf3950cc29b5c86ab
1,102
buildship
Naumen Public License
src/commonTest/kotlin/io/github/optimumcode/json/schema/assertions/number/JsonSchemaMultipleOfValidationTest.kt
OptimumCode
665,024,908
false
null
package io.github.optimumcode.json.schema.assertions.number import io.github.optimumcode.json.pointer.JsonPointer import io.github.optimumcode.json.schema.JsonSchema import io.github.optimumcode.json.schema.ValidationError import io.github.optimumcode.json.schema.base.KEY import io.kotest.assertions.assertSoftly impor...
9
null
3
9
61e36f29adaf6538fd38307296cc5dd1339e1ffa
6,029
json-schema-validator
MIT License
sms/src/main/kotlin/dev/atick/sms/di/SmsHelperModule.kt
atick-faisal
609,303,624
false
{"Kotlin": 207223}
package dev.atick.sms.di import dagger.Binds import dagger.Module import dagger.hilt.InstallIn import dagger.hilt.components.SingletonComponent import dev.atick.sms.utils.SmsHelper import dev.atick.sms.utils.SmsHelperImpl import javax.inject.Singleton @Module @InstallIn(SingletonComponent::class) abstract class SmsHe...
1
Kotlin
0
1
6cdf5bad531cf85a9e4823079cf9921851c5dd9c
447
Safety-Android
Apache License 2.0
src/main/kotlin/dev/andante/audience/resource/server/ResourcePackRequestHandler.kt
mcbrawls
668,356,321
false
{"Kotlin": 20786, "Java": 19332}
package dev.andante.audience.resource import com.sun.net.httpserver.HttpExchange import com.sun.net.httpserver.HttpHandler import org.apache.http.HttpHeaders import org.apache.http.client.methods.HttpGet import org.slf4j.Logger import org.slf4j.LoggerFactory import java.io.IOException /** * Handles requests for a [R...
0
Kotlin
0
0
3ebc8b4a16b09b9a6c2bd4ced58bbbb9cd90d1aa
1,852
audience
Creative Commons Zero v1.0 Universal
app/src/main/java/com/applab/ktmvvm/util/AppConstants.kt
arunantoney
144,386,586
false
null
package com.applab.ktmvvm.util object AppConstants { val PREF_NAME="crackInterviewPref" }
0
Kotlin
0
1
e45f67d6aadbf68753bf265c12c48b32862a78c2
92
Android-Kotlin-MVVM
MIT License
lib/src/main/kotlin/it/scoppelletti/spaceship/gms/FirebaseExceptionLoggerHandler.kt
dscoppelletti
263,641,066
false
null
/* * Copyright (C) 2019 <NAME>, <http://www.scoppelletti.it/>. * * 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 ...
0
Kotlin
0
0
a5fbc87289d0bcd08e7f798943de199ca2fad995
1,254
spaceship-gms
Apache License 2.0
includeBuild/src/main/kotlin/com/idex/build/versions.kt
lhwdev
331,217,993
false
null
package com.idex.build const val idexVersion = "1.0.0-dev" const val idexPackageVersion = "1.0.10001"
0
Kotlin
0
0
44a69d9276bd2ea9fe8ac37115728456d1e0d64f
104
IDEx
Apache License 2.0
ontrack-extension-git/src/main/java/net/nemerosa/ontrack/extension/git/GitChangeLogCache.kt
nemerosa
19,351,480
false
null
package net.nemerosa.ontrack.extension.git import net.nemerosa.ontrack.extension.git.model.GitChangeLog /** * Service used to access the cache for the change logs, used by the Rest controller * _and_ the GraphQL root queries. */ interface GitChangeLogCache { /** * Puts the given change log into the cache...
57
null
27
97
7c71a3047401e088ba0c6d43aa3a96422024857f
582
ontrack
MIT License
plugin-dotnet-agent/src/main/kotlin/jetbrains/buildServer/dotnet/logging/Logger.kt
JetBrains
49,584,664
false
null
package jetbrains.buildServer.dotnet.logging import jetbrains.buildServer.dotnet.* import java.io.File private const val MSBuildLoggerAssemblyName = "TeamCity.MSBuild.Logger.dll" private const val MSBuildLoggerSubDir = "msbuild" private const val VSTestLoggerAssemblyName = "TeamCity.VSTest.TestAdapter.dll" private...
3
null
25
94
5f444c22b3354955d1060e08478d543d2b0b99b0
4,070
teamcity-dotnet-plugin
Apache License 2.0
feature-timesheet/src/main/java/fr/o80/sample/timesheet/usecase/ListEntries.kt
olivierperez
98,867,027
false
null
package fr.o80.sample.timesheet.usecase import fr.o80.crapp.data.ProjectRepository import fr.o80.crapp.data.TimesheetRepository import fr.o80.sample.lib.dagger.FeatureScope import fr.o80.sample.timesheet.usecase.model.EntryViewModel import fr.o80.sample.lib.utils.today import io.reactivex.Single import io.reactivex.fu...
0
Kotlin
1
1
01b780b604eb433f1829c63ce04f06da83f1f6fa
1,491
crapp
Apache License 2.0
rulebook-checkstyle/src/test/kotlin/com/hanggrian/rulebook/checkstyle/MemberLineSpacingCheckTest.kt
hanggrian
556,969,715
false
{"Kotlin": 276685, "Python": 71886, "Java": 18646, "CSS": 1653, "Groovy": 329}
package com.hanggrian.rulebook.checkstyle import kotlin.test.Test import kotlin.test.assertEquals class MemberLineSpacingCheckTest { private val checker = checkerOf<MemberLineSpacingCheck>() @Test fun `Rule properties`() = MemberLineSpacingCheck().assertProperties() @Test fun `Declarations with ...
0
Kotlin
0
1
bd830a60e69645136c391e7f0853662a45b0b56c
713
rulebook
Apache License 2.0
hexagonal/src/main/kotlin/com/devdeolho/hexagonal/application/core/domain/Address.kt
carloshenriquefs
842,119,747
false
{"Kotlin": 30680}
package com.devdeolho.hexagonal.application.core.domain data class Address( val street: String, val city: String, val state: String )
0
Kotlin
0
0
52b701675272bf5691e0a30577e21a657b258c14
159
hexagonal
MIT License
src/test/kotlin/no/nav/eessi/pensjon/kravinitialisering/integrationtest/ListenerIntegrasjonsTest.kt
navikt
346,987,628
false
null
package no.nav.eessi.pensjon.kravinitialisering.integrationtest import IntegrasjonsTestConfig import com.amazonaws.auth.AWSStaticCredentialsProvider import com.amazonaws.auth.AnonymousAWSCredentials import com.amazonaws.client.builder.AwsClientBuilder import com.amazonaws.services.s3.AmazonS3ClientBuilder import com.n...
1
Kotlin
0
1
ae7a031fb37ae0436de77f2816054a5658137bf5
9,952
eessi-pensjon-krav-initialisering
MIT License
src/main/kotlin/turtlestoffel/Scene.kt
TurtleStoffel
708,417,395
false
{"Kotlin": 34198, "GLSL": 697}
package turtlestoffel import org.joml.Vector3f import org.lwjgl.BufferUtils import org.lwjgl.opengl.GL20.glGetUniformLocation import org.lwjgl.opengl.GL20.glUniformMatrix4fv import turtlestoffel.mesh.Line import turtlestoffel.mesh.PlaneBuilder import kotlin.properties.Delegates class Scene { private val camera = ...
0
Kotlin
0
0
8ffab3a4a7ec00cb1ddc1cf1006deb1d24c2b954
2,739
lwjgl-kotlin
MIT License
src/main/kotlin/br/com/zup/orangetalents/rest/Application.kt
rsousaj
389,658,780
true
{"Kotlin": 7709}
package br.com.zup.orangetalents.rest import io.micronaut.runtime.Micronaut.* fun main(args: Array<String>) { build() .args(*args) .packages("br.com.zup.orangetalents.rest") .start() }
0
Kotlin
0
0
4fa4d22849111d1ec5e5472e4c6faa4535f51711
197
orange-talents-05-template-pix-keymanager-rest
Apache License 2.0
src/main/prac/TestCoRoutine.kt
mangaldev
97,454,279
false
{"Maven POM": 1, "Text": 2, "Markdown": 1, "Java": 1, "Kotlin": 20}
import kotlinx.coroutines.experimental.delay import kotlinx.coroutines.experimental.runBlocking import java.util.concurrent.TimeUnit fun main(args: Array<String>) { // runBlocking { //(1) // println("Starting blocking...") // delay(1000, TimeUnit.MILLISECONDS) // println("starting job aft...
0
Kotlin
0
0
a2dd477768195d9df678713a358aba3898fac223
650
MyKotlin
MIT License
src/main/kotlin/org/move/lang/core/psi/ext/MvStructField.kt
pontem-network
279,299,159
false
null
package org.move.lang.core.psi.ext import org.move.lang.core.psi.MvStruct import org.move.lang.core.psi.MvStructBlock import org.move.lang.core.psi.MvStructField val MvStructField.fieldsDefBlock: MvStructBlock? get() = parent as? MvStructBlock val MvStructField.structItem: MvStruct get() = fi...
9
null
16
52
84d857f75fb471539ef092cc44024d7d4d424860
353
intellij-move
MIT License
app/src/main/kotlin/com/example/myapplication/DetailFragment.kt
Jinhoon-Cho
694,527,358
false
{"Kotlin": 13502}
package com.example.myapplication import android.os.Bundle import android.view.View import androidx.fragment.app.Fragment import androidx.fragment.app.viewModels import androidx.navigation.fragment.navArgs import com.example.myapplication.databinding.FragmentDetailBinding import viewBinding class DetailFragment: Frag...
0
Kotlin
0
0
d14e8239a7c2c3ecb95b38a444db49b3a9bb0814
985
android_mvvm_example
The Unlicense
core/src/test/kotlin/de/mirkosertic/bytecoder/core/SimpleKotlinTest.kt
mirkosertic
88,152,958
false
{"Maven POM": 17, "Text": 16, "Ignore List": 1, "Markdown": 45, "XML": 5, "Java": 7809, "INI": 132, "Kotlin": 5, "JavaScript": 3, "JSON": 1, "YAML": 4, "HTML": 53, "SVG": 9, "Java Properties": 118, "CSS": 1, "TOML": 1, "Clojure": 1}
/* * Copyright 2018 <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 ...
38
Java
61
873
9f44bd5488254a381e249e4296232d66565f3a25
954
Bytecoder
Apache License 2.0
platform/workspace/storage/src/com/intellij/platform/workspace/storage/impl/WorkspaceModelDumper.kt
ingokegel
72,937,917
true
null
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.platform.workspace.storage.impl import com.intellij.platform.workspace.storage.EntityStorage @Suppress("unused") object WorkspaceModelDumper { fun simpleE...
236
null
4946
2
b07eabd319ad5b591373d63c8f502761c2b2dfe8
1,045
intellij-community
Apache License 2.0
kotlin-springwebmvc/src/test/kotlin/com/gyejoon/springwebmvc/IntegrationTests.kt
Gyejoon
141,891,522
false
null
package com.gyejoon.springwebmvc import org.assertj.core.api.Assertions.assertThat import org.assertj.core.api.Assertions.assertThatExceptionOfType import org.junit.jupiter.api.AfterAll import org.junit.jupiter.api.BeforeAll import org.junit.jupiter.api.Test import org.junit.jupiter.api.extension.ExtendWith import org...
0
Kotlin
0
2
2118ea4ccfb857434cc5b22009e58a6126d2c6d9
1,665
kotlin-examples
MIT License
src/test/kotlin/not/a/portal/PinappTest.kt
dumptruckman
2,425,205
true
{"Kotlin": 40109, "Java": 23825}
/* * This file is part of Pinapp. * * Copyright (c) 2017 Jeremy Wood * * 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 * t...
2
Kotlin
1
1
aded280ae61b23ebfdab48b48ec2a45011927a00
1,688
Pinapp
MIT License
compiler/testData/codegen/box/multiplatform/k2/basic/localIntersectionOverrideWithDefaultParameterInCommonModule.kt
JetBrains
3,432,266
false
null
// LANGUAGE: +MultiPlatformProjects // ISSUE: KT-60850 // WITH_STDLIB // MODULE: common // FILE: common.kt expect class Expect { fun foo(): String } interface Base { fun cancel(s: Expect? = null): String } open class Derived : Base { override fun cancel(s: Expect?): String { return s?.foo() ?: "...
181
null
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
975
kotlin
Apache License 2.0
compiler/fir/analysis-tests/testData/resolveWithStdlib/problems/qualifierPriority.kt
JetBrains
3,432,266
false
{"Kotlin": 79571273, "Java": 6776465, "Swift": 4063829, "C": 2609744, "C++": 1957654, "Objective-C++": 175279, "JavaScript": 130754, "Python": 59855, "Shell": 34920, "Objective-C": 21463, "Lex": 21452, "Batchfile": 11382, "CSS": 11368, "Ruby": 10470, "Dockerfile": 9907, "Groovy": 7092, "EJS": 5241, "CMake": 4473, "HTML...
class AHolder(val a: Int) class F { object foo { // (1) val a: Int = 42 } companion object { // (2) val foo: AHolder = AHolder(52) } } class FF { object foo {} // (1) companion object { // (2) val foo: AHolder = AHolder(52) } } fun main() { F.foo.a // (1) everyw...
181
Kotlin
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
533
kotlin
Apache License 2.0
app/src/main/java/nerd/tuxmobil/fahrplan/congress/wiki/WikiSessionUtils.kt
johnjohndoe
12,616,092
true
{"Gradle": 10, "Markdown": 8, "Java Properties": 1, "Shell": 1, "Ignore List": 1, "Batchfile": 1, "Text": 2, "YAML": 4, "Kotlin": 314, "Java": 6, "INI": 1, "Proguard": 2, "XML": 208, "Gradle Kotlin DSL": 1, "SVG": 29}
@file:JvmName("WikiSessionUtils") package nerd.tuxmobil.fahrplan.congress.wiki private val WIKI_LINK_REGEX by lazy { // language=regex Regex("(.*)(https://events.ccc.de/congress/)(\\d{4})(/wiki/index.php/Session:)(.*)") } /** * Returns true if the [receiver][this] contains a link to the * corresponding wik...
63
Kotlin
99
27
4b91d7dcdfbc8de965a928b3ebfbfe595ec06b3f
780
CampFahrplan
Apache License 2.0
src/main/kotlin/no/nav/arbeidsgiver/altinnrettigheter/proxy/klient/AltinnrettigheterProxyKlientConfig.kt
navikt
252,563,839
false
null
package no.nav.arbeidsgiver.altinnrettigheter.proxy.klient data class AltinnrettigheterProxyKlientConfig @JvmOverloads constructor ( val proxy: ProxyConfig, val altinn: AltinnConfig? = null, ) data class AltinnConfig( val url: String, val altinnApiKey: String, val altinnApiGwAp...
2
Kotlin
0
1
c28f5aba9078605332fb231d08241b41d8d30057
418
altinn-rettigheter-proxy-klient
MIT License
app/src/main/java/com/tory/dmzj/ui/LoginActivity.kt
ToryCrox
126,707,444
false
{"Markdown": 1, "Gradle": 4, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Kotlin": 44, "XML": 36, "Java": 9}
package com.tory.dmzj.ui import android.Manifest.permission.READ_CONTACTS import android.animation.Animator import android.animation.AnimatorListenerAdapter import android.annotation.TargetApi import android.app.LoaderManager.LoaderCallbacks import android.content.CursorLoader import android.content.Loader import andr...
0
Kotlin
0
0
757716bd6e93e0576a69cc6c12f304795e8ff272
10,140
Dmzj
Apache License 2.0
featureHome/src/main/java/com/tapptitude/featurehome/di/Modules.kt
tapptitude
462,275,098
false
null
package com.tapptitude.featurehome.di import com.tapptitude.featurehome.presentation.HomeViewModel import org.koin.androidx.viewmodel.dsl.viewModel import org.koin.dsl.module val homeModules = module { viewModel { HomeViewModel(loadImageUseCase = get(), sessionManager = get()) } }
8
Kotlin
0
4
ca3dafc110fe2370eb088a73421d8045bdb89c91
287
AndroidKotlinMVVMTemplate
MIT License
Corona-Warn-App/src/deviceForTesters/java/de/rki/coronawarnapp/test/ccl/CclTestModule.kt
corona-warn-app
268,027,139
false
null
package de.rki.coronawarnapp.test.ccl import dagger.Binds import dagger.Module import dagger.multibindings.IntoMap import de.rki.coronawarnapp.util.viewmodel.CWAViewModel import de.rki.coronawarnapp.util.viewmodel.CWAViewModelFactory import de.rki.coronawarnapp.util.viewmodel.CWAViewModelKey @Module abstract class Cc...
6
null
514
2,495
d3833a212bd4c84e38a1fad23b282836d70ab8d5
505
cwa-app-android
Apache License 2.0
app/src/main/java/org/p2p/wallet/swap/interactor/orca/OrcaRouteInteractor.kt
p2p-org
306,035,988
false
{"Kotlin": 4545395, "HTML": 3064848, "Java": 296567, "Groovy": 1601, "Shell": 1252}
package org.p2p.wallet.swap.interactor.orca import org.p2p.solanaj.core.Account import org.p2p.solanaj.core.PublicKey import org.p2p.solanaj.core.TransactionInstruction import org.p2p.solanaj.kits.AccountInstructions import org.p2p.solanaj.programs.TokenProgram import org.p2p.solanaj.programs.TokenSwapProgram import o...
8
Kotlin
6
34
d091e18b7d88c936b7c6c627f4fec96bcf4a0356
11,821
key-app-android
MIT License
ScaffoldApp/app/src/main/java/com/zymat/scaffoldapp/MainActivity.kt
Zymat-dk
581,147,430
false
null
package com.zymat.scaffoldapp import android.content.Intent import android.graphics.Bitmap import android.graphics.Canvas import android.graphics.Paint import android.graphics.RectF import android.os.Bundle import android.provider.MediaStore import android.widget.ImageButton import android.widget.ImageView import andr...
0
Kotlin
0
1
fb79616c4c1e5cfc19bba53e7ed05c7824c79ec9
5,476
Scaffold-ML
MIT License
app/src/main/java/com/bpdevop/mediccontrol/ui/screens/vaccination/VaccinationScreen.kt
bpdevop
839,980,935
false
{"Kotlin": 693059}
package com.bpdevop.mediccontrol.ui.screens.vaccination import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.material3.Tab import androidx.compose.material3.TabRow import androidx.compose.ma...
0
Kotlin
0
0
68aa078786199aca908f03965c617f096d91a384
1,785
MedicControl
MIT License
modules/library-remote-config/src/main/kotlin/com/leinardi/forlago/library/remoteconfig/interactor/GetKillSwitchStreamInteractorImpl.kt
leinardi
405,185,933
false
null
/* * Copyright 2024 <NAME>. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
3
null
3
9
abe5eb3017f3365bbb1b61e74f2ef8f34097d411
3,778
Forlago
Apache License 2.0
src/main/kotlin/io/foxcapades/lib/json4k/jackson/wrap/JacksonJsonString.kt
Foxcapades
447,448,916
false
{"Kotlin": 55139}
package io.foxcapades.lib.json4k.jackson.wrap import com.fasterxml.jackson.databind.node.TextNode import io.foxcapades.lib.json4k.JsonElementType import io.foxcapades.lib.json4k.JsonString internal class JacksonJsonString(raw: TextNode) : JsonBase<TextNode>(raw), JsonString { override val type = JsonElementType.S...
0
Kotlin
0
0
c7ba690cbe0f2be795376e0931bb34773d7a4678
903
Json4k-Jackson
MIT License
biz/src/commonMain/kotlin/validation/ValidateIdProperFormat.kt
crowdproj
518,714,370
false
null
package com.crowdproj.rating.biz.validation import com.crowdproj.kotlin.cor.ICorAddExecDsl import com.crowdproj.kotlin.cor.handlers.worker import com.crowdproj.rating.common.CwpRatingContext import com.crowdproj.rating.common.helper.errorValidation import com.crowdproj.rating.common.helper.fail import com.crowdproj.ra...
0
Kotlin
2
0
680c52b3be9161b699c635fc032a0289ce71a239
824
crowdproj-ratings
Apache License 2.0
src/main/kotlin/org/jetbrains/bio/genome/query/Query.kt
JetBrains-Research
173,494,429
false
{"Kotlin": 1231142}
package org.jetbrains.bio.genome.query import com.google.common.cache.Cache import com.google.common.cache.CacheBuilder import java.util.function.Function /** * Named [Function] implementation capable of caching the results. */ interface Query<I, O> : Function<I, O> { /** * Returns unique identifier suitab...
1
Kotlin
3
31
7ac98c8a413bc163da91fa9263af0a32dc7ffac5
783
bioinf-commons
MIT License
core/src/main/kotlin/org/jetbrains/kotlinx/dataframe/api/ColumnsSelectionDsl.kt
Kotlin
259,256,617
false
null
package org.jetbrains.kotlinx.dataframe.api import org.jetbrains.kotlinx.dataframe.ColumnsSelector import org.jetbrains.kotlinx.dataframe.DataColumn import org.jetbrains.kotlinx.dataframe.DataFrame import org.jetbrains.kotlinx.dataframe.DataRow import org.jetbrains.kotlinx.dataframe.columns.ColumnPath import org.jetbr...
235
null
60
833
54d00e69ae7c06ff254c6591242413eaf7894f01
29,612
dataframe
Apache License 2.0
app/src/main/java/com/system/moneycontrol/model/business/TypeBusiness.kt
enirsilvaferraz
138,302,967
false
{"Kotlin": 71910}
package com.system.moneycontrol.model.business import com.system.moneycontrol.data.repositories.TypeRepository import com.system.moneycontrol.model.entities.PaymentType class TypeBusiness(private val repository: TypeRepository) { fun getAll() = repository.getList() fun delete(model: PaymentType) = repositor...
0
Kotlin
0
0
7087fde3fbd7433d294cb43e874939df4f10b7e1
489
Money-Control
Apache License 2.0
credentials/credentials/src/main/java/androidx/credentials/CreateCustomCredentialRequest.kt
androidx
256,589,781
false
null
/* * Copyright 2022 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
1011
5,321
98b929d303f34d569e9fd8a529f022d398d1024b
3,978
androidx
Apache License 2.0
app/src/main/kotlin/com/asadmshah/livecolorpicker/colors/ColorizerModule.kt
asadmshah
90,253,982
false
null
package com.asadmshah.livecolorpicker.colors import com.asadmshah.livecolorpicker.storage.Storage import dagger.Module import dagger.Provides import javax.inject.Singleton @Module class ColorizerModule { @Provides @Singleton fun colorizer(storage: Storage): Colorizer { return ColorizerImpl(storag...
0
Kotlin
0
1
199b2f94e7a9dec6492cbef6dae33236c1d9eb53
331
LiveColorPicker
Apache License 2.0
hilt/hilt-app/src/main/java/org/fnives/test/showcase/hilt/ui/home/MainViewModel.kt
fknives
356,982,481
false
null
package org.fnives.test.showcase.ui.home import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import androidx.lifecycle.ViewModel import androidx.lifecycle.liveData import androidx.lifecycle.viewModelScope import dagger.hilt.android.lifecycle.HiltViewModel import kotlinx.coroutines.flow.collect...
9
null
2
5
5bf503d90e8a13daf5626afc0cdf8bff523d2b94
3,218
AndroidTest-ShowCase
Apache License 2.0
src/main/kotlin/xyz/galaxyy/lualink/lua/misc/LuaLogger.kt
LuaLink
689,718,962
false
{"Kotlin": 42182, "Java": 6980, "Lua": 6363, "Nix": 118}
package xyz.galaxyy.lualink.lua.misc import net.kyori.adventure.text.minimessage.MiniMessage import org.luaj.vm2.LuaTable import org.luaj.vm2.LuaValue import org.luaj.vm2.lib.OneArgFunction import xyz.galaxyy.lualink.LuaLink class LuaLogger(private val plugin: LuaLink) : LuaTable() { init { this.set("info...
3
Kotlin
2
8
dfd54f4de792698b40e1e65afc05e2a8f915e74a
1,404
LuaLink
MIT License
conductor-kotlin-client/src/test/kotlin/org/conductoross/client/kotlin/sample/SampleWorker.kt
korolkevich7
791,502,936
false
{"Kotlin": 134256, "Java": 2091}
/* * <p> * 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 * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * Unless required by applicable law or agreed to in writing, software dist...
0
Kotlin
0
0
ca442aaeb96f9005afd6f29cb3ad4fedea79236b
1,198
conductor-kotlin
Apache License 2.0
app-1/app/src/main/java/com/example/app1/MainActivity.kt
VictorMany
290,905,329
false
null
package com.example.app1 import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.widget.Button //Este import import kotlinx.android.synthetic.main.activity_main.* class MainActivity : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(...
0
Kotlin
0
0
ab213d4e322ceb1b3e651df0882664a11231213e
825
Curso-Kotlin
MIT License
app/src/main/java/dev/borisochieng/gitrack/ui/adapters/RepositoryAdapter.kt
slowburn-404
777,819,284
false
{"Kotlin": 74987}
package dev.borisochieng.gitrack.ui.adapters import android.util.Log import android.view.LayoutInflater import android.view.ViewGroup import androidx.recyclerview.widget.AsyncListDiffer import androidx.recyclerview.widget.RecyclerView import dev.borisochieng.gitrack.databinding.ItemRepositoryBinding import dev.borisoc...
0
Kotlin
0
1
ab9fc17ce4779c98368658339546c4a55fdad697
2,224
GiTrack
MIT License
app/src/main/java/com/hashconcepts/buycart/presentation/components/IncrementDecrementContainer.kt
HenryUdorji
506,773,556
false
{"Kotlin": 207630}
package com.yasirabanuka.shopcart.presentation.components import androidx.compose.foundation.background import androidx.compose.foundation.layout.Row import androidx.compose.foundation.layout.size import androidx.compose.foundation.shape.RoundedCornerShape import androidx.compose.material.Icon import androidx.compose....
1
Kotlin
0
9
560dee481dd5212a9f3237352c89e8898c9b2801
1,610
BuyCart
Apache License 2.0
src/main/kotlin/de/sambalmueslie/padlet/client/wishes/Attributes.kt
sambalmueslie
370,110,224
false
null
package de.sambalmueslie.padlet.client.wishes import com.fasterxml.jackson.annotation.JsonIgnoreProperties import com.fasterxml.jackson.annotation.JsonProperty @JsonIgnoreProperties(ignoreUnknown = true) data class Attributes( @JsonProperty("id") val id: Long, @JsonProperty("wall_id") val wallId: Lon...
0
Kotlin
0
0
9db6d0c8049792027422160c65cbc2ba0b64fc6a
1,887
padlet-notifier
Apache License 2.0
src/test/kotlin/io/ashdavies/rx/extensions/QueryTest.kt
ashdavies
56,701,828
false
null
package io.ashdavies.rx.extensions import com.google.firebase.database.ChildEventListener import com.google.firebase.database.DataSnapshot import com.google.firebase.database.Query import com.google.firebase.database.ValueEventListener import com.nhaarman.mockito_kotlin.KArgumentCaptor import com.nhaarman.mockito_kotl...
3
Kotlin
6
35
0935448ea99f626acbfc8b9fb0021a48576c849f
2,929
rx-firebase
Apache License 2.0
app/src/main/java/com/serapercel/trickle/data/entity/Currency.kt
SerapErcel
577,003,272
false
{"Kotlin": 147496}
package com.serapercel.trickle.data.entity import android.os.Parcelable import com.google.firebase.database.IgnoreExtraProperties import kotlinx.parcelize.Parcelize @Parcelize @IgnoreExtraProperties data class Currency( val Isim: String, val CurrencyName: String, val ForexBuying: String, val ForexSell...
0
Kotlin
0
2
2ecc1ece2b4aeb2ce22903d2a7232639583d1d75
416
Trickle
MIT License
src/main/kotlin/site/liangbai/lbapi/util/TagUtil.kt
Liangbai2333
846,688,168
false
{"Kotlin": 75909}
package site.liangbai.lbapi.util import com.google.gson.JsonElement import taboolib.module.nms.ItemTag import taboolib.module.nms.ItemTagSerializer fun ItemTag.toJsonElement(): JsonElement { return ItemTagSerializer.serializeData(this) } fun JsonElement.toItemTag(): ItemTag { return ItemTagSerializer.deseria...
0
Kotlin
0
0
39a7a8c2607e0763b7dc9957ba4456bd68ff00f2
349
LBAPI
Creative Commons Zero v1.0 Universal
src/main/kotlin/no/nav/helse/RedteamMediator.kt
navikt
537,054,818
false
{"Kotlin": 38561, "Dockerfile": 196}
package no.nav.helse import no.nav.helse.model.RedTeam import no.nav.helse.slack.SlackUpdater import org.slf4j.Logger import org.slf4j.LoggerFactory import java.time.LocalDate class RedteamMediator( private val slackUpdater: SlackUpdater, private val redTeam: RedTeam, private val bøtte: Bøtte = object : B...
0
Kotlin
0
0
7df82bc61078ab3236e37eb1c7edc23ca838fd3b
989
helse-redteam
MIT License
ktx/src/main/java/permissions/dispatcher/ktx/PermissionsRequesterImpl.kt
ibisalan
325,533,075
false
null
package permissions.dispatcher.ktx import androidx.fragment.app.FragmentActivity import androidx.lifecycle.ViewModelProvider import permissions.dispatcher.PermissionUtils internal class PermissionsRequesterImpl( private val permissions: Array<out String>, private val activity: FragmentActivity, private va...
29
null
1454
2
3a238dad5a27d90b0bf27f22be920a2d6ac968a8
1,541
PermissionsDispatcher
Apache License 2.0
app/src/main/java/com/duckduckgo/app/browser/model/Authentication.kt
hojat72elect
822,396,044
false
{"Kotlin": 11627106, "HTML": 65873, "Ruby": 16984, "C++": 10312, "JavaScript": 5520, "CMake": 1992, "C": 1076, "Shell": 784}
package com.duckduckgo.app.browser.model import android.webkit.HttpAuthHandler data class BasicAuthenticationRequest( val handler: HttpAuthHandler, val host: String, val realm: String, val site: String, ) data class BasicAuthenticationCredentials( val username: String, val password: String,...
0
Kotlin
0
0
54351d039b85138a85cbfc7fc3bd5bc53637559f
323
DuckDuckGo
Apache License 2.0
src/main/kotlin/com/auth0/jwtValidation/configuration/SecurityConfiguration.kt
sirech
368,286,853
false
null
package com.auth0.jwtValidation.configuration import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity import org.springframework.security.config.annotation.web.builders.HttpSecurity import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity i...
1
Kotlin
1
0
a819b6784f78001fe8c28a14a6d347e28773189e
1,039
example-jwt-validation
MIT License
arrangement/src/main/java/com/fang/arrangement/definition/Employee.kt
7ANG2C
794,384,998
false
{"Kotlin": 425333}
package com.fang.arrangement.definition import com.fang.arrangement.definition.foundation.KeyValue import com.fang.arrangement.foundation.Bool import com.google.gson.annotations.SerializedName internal data class Employee( @SerializedName(EmployeeKey.ID) val id: Long, @SerializedName(EmployeeKey.NAME) ...
0
Kotlin
0
0
d820ad78b7eea6142da8f94c68af7b16cc0e583c
1,549
FANG
Apache License 2.0
app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibraryList.kt
aniyomiorg
358,887,741
false
null
package eu.kanade.presentation.library.anime import androidx.compose.foundation.layout.PaddingValues import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.foundation.lazy.items import androidx.compose.runtime.Composable import androidx.comp...
24
null
8
4,992
823099f775ef608b7c11f096da1f50762dab82df
3,169
aniyomi
Apache License 2.0
src/main/kotlin/io/github/abdulroufsidhu/orgolink/core/ims/product/ProductLogic.kt
abdulroufsidhu
812,751,533
false
null
package io.github.abdulroufsidhu.ambaar.apis.product import org.springframework.stereotype.Service @Service class ProductLogic( private val productDao: ProductDao ) { @Throws(NoSuchElementException::class, IllegalArgumentException::class) fun getProductInclusiveId(product: Product): List<Product> = when ...
2
null
1
3
23c9ccdc1462ce2f064f49569ba46e537288a33f
1,434
orgolink_core
MIT License
data/traktauth/src/commonMain/kotlin/app/tivi/data/traktauth/TraktAuthRepository.kt
chrisbanes
100,624,553
false
null
// Copyright 2017, Google LLC, Christopher Banes and the Tivi project contributors // SPDX-License-Identifier: Apache-2.0 package app.tivi.data.traktauth import app.tivi.data.traktauth.store.AuthStore import app.tivi.inject.ApplicationCoroutineScope import app.tivi.inject.ApplicationScope import app.tivi.util.AppCoro...
23
null
876
6,626
e261ffbded01c1439b93c550cd6e714c13bb9192
3,797
tivi
Apache License 2.0
diktat-rules/src/main/kotlin/org/cqfn/diktat/ruleset/utils/AstNodeUtils.kt
fossabot
277,387,332
true
{"Kotlin": 210675, "Java": 2002, "Shell": 601}
package org.cqfn.diktat.ruleset.utils import com.pinterest.ktlint.core.ast.ElementType import com.pinterest.ktlint.core.ast.ElementType.CONST_KEYWORD import com.pinterest.ktlint.core.ast.ElementType.FILE import com.pinterest.ktlint.core.ast.ElementType.INTERNAL_KEYWORD import com.pinterest.ktlint.core.ast.ElementType....
0
Kotlin
0
0
23c3fc6f002fa3bdb86c93c2c1c3cac390ca3383
8,334
diKTat
MIT License
diktat-rules/src/main/kotlin/org/cqfn/diktat/ruleset/utils/AstNodeUtils.kt
fossabot
277,387,332
true
{"Kotlin": 210675, "Java": 2002, "Shell": 601}
package org.cqfn.diktat.ruleset.utils import com.pinterest.ktlint.core.ast.ElementType import com.pinterest.ktlint.core.ast.ElementType.CONST_KEYWORD import com.pinterest.ktlint.core.ast.ElementType.FILE import com.pinterest.ktlint.core.ast.ElementType.INTERNAL_KEYWORD import com.pinterest.ktlint.core.ast.ElementType....
0
Kotlin
0
0
23c3fc6f002fa3bdb86c93c2c1c3cac390ca3383
8,334
diKTat
MIT License
intellij-plugin-structure/structure-toolbox/src/main/kotlin/com/jetbrains/plugin/structure/toolbox/ToolboxPluginDescriptor.kt
JetBrains
3,686,654
false
null
package com.jetbrains.plugin.structure.fleet import com.fasterxml.jackson.annotation.JsonIgnoreProperties import com.fasterxml.jackson.annotation.JsonProperty import com.fasterxml.jackson.module.kotlin.jacksonObjectMapper import com.jetbrains.plugin.structure.base.problems.PluginProblem import com.jetbrains.plugin.str...
5
null
47
170
87f7a15fe0485314deac32184fd33cfe5133b0ee
6,447
intellij-plugin-verifier
Apache License 2.0
app/src/main/kotlin/br/com/khomdrake/zenet/date/DateActivity.kt
KhomDrake
776,191,044
false
{"Kotlin": 92853}
package br.com.khomdrake.zenet.date import android.os.Bundle import androidx.activity.ComponentActivity import androidx.activity.compose.setContent import androidx.compose.material3.Scaffold import br.com.khomdrake.imperiya.ui.components.DefaultTopBar import br.com.khomdrake.imperiya.ui.theme.ImperiyaTheme class Date...
0
Kotlin
0
0
cee648d765ca6c18a3be00160da00c1a73cb7545
830
Zenet
Apache License 2.0
app/src/main/java/com/rahuls/scribbleio/ui/components/Texts.kt
rahulsain
784,647,686
false
null
package com.rahuls.scribbleio.ui.components import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.padding import androidx.compose.foundation.layout.wrapContentHeight import androidx.compose.foundation.layout.wrapContentWidth import androidx.compose.material.Text import androidx.compose...
0
Kotlin
0
0
cd84bdaa4621be9ed52277437c28834228ed1440
2,609
Scribble.io-Kotlin
MIT License
app/src/main/java/com/joymower/bottomnav/BottomBarScreen.kt
Seif19022
759,335,457
false
{"Kotlin": 103800, "Java": 8822}
package com.joymower.bottomnav import com.joymower.R sealed class BottomBarScreen( val route: String, val title: String, val icon: Int, val icon_focused: Int ) { // for home object Home: BottomBarScreen( route = "home", title = "Home", icon = R.drawable.ic_bottom_home,...
0
Kotlin
0
1
8b70d3df6ed5b6ca025ef123ac676cb87c0cabfd
1,313
JoyMower
Apache License 2.0
diktat-rules/src/test/resources/test/paragraph1/naming/identifiers/VariableNamingTest.kt
petertrr
284,037,259
false
null
package test.paragraph1.naming.identifiers private var PascalCase = "" private var UPPER = "" private var UPPER_SNAKE = "" private var lower_snake = "" private val I_AM_CONSTANT1 = "" private val STRANGE_name = "" private val loWer_VAlue = "" private val lower = "" private val ValN_x256 = "" private val VoiceIP_port =...
2
Kotlin
0
1
45231eddab4e968db6f19a6ad82ae96f14223385
324
diktat-backup
MIT License
spring-bank-project/spring-bank-api/src/commonMain/kotlin/io/joel/springbank/api/Format.kt
jnfeinstein
347,686,329
false
null
package io.joel.springbank.api import io.joel.springbank.api.request.* import io.joel.springbank.api.response.AccountCreatedResponse import io.joel.springbank.api.response.AccountDeletedResponse import io.joel.springbank.api.response.AccountUpdatedResponse import kotlinx.serialization.* import kotlinx.serialization.mo...
0
Kotlin
0
1
5e9d9bcf47fcefb77c466990d2e7c4fce070711c
1,329
spring-bank
MIT License
api/src/main/kotlin/net/devslash/SessionManager.kt
devslash-paul
152,959,898
false
null
package net.devslash interface SessionManager { fun <T> call(call: Call<T>, session: Session, jar: CookieJar): Exception? fun <T> call(call: Call<T>, session: Session): Exception? }
7
Kotlin
2
9
9346d497282869958f913bb84459921f53e3288e
187
fetchDSL
MIT License
kalexa-model/src/main/kotlin/com/hp/kalexa/model/request/list/ListBody.kt
HPInc
164,478,295
false
null
/* * Copyright 2018 HP Development Company, L.P. * SPDX-License-Identifier: MIT */ package com.hp.kalexa.model.request.list class ListBody(val listId: String)
0
Kotlin
1
17
e6674eeb24c255aef1859a62a65b805effdc9676
164
kalexa-sdk
MIT License
libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/roomlist/RustRoomListService.kt
SchildiChat
698,978,200
false
{"Kotlin": 4687234, "Shell": 41988, "Java": 9607, "Python": 8683, "JavaScript": 8215, "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...
105
Kotlin
32
8
33a3656df402925d704a5826a2a195588d85f7f4
7,172
schildichat-android-next
Apache License 2.0