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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
kgraphql/src/test/kotlin/com/apurebase/kgraphql/demo/StarWarsSchema.kt | stuebingerb | 872,399,797 | false | {"Kotlin": 708601, "HTML": 20340, "Shell": 240, "Java": 221} | package com.github.pgutkowski.kgraphql.demo
import com.fasterxml.jackson.module.kotlin.jacksonObjectMapper
import com.fasterxml.jackson.module.kotlin.registerKotlinModule
import com.github.pgutkowski.kgraphql.KGraphQL
enum class Episode {
NEWHOPE, EMPIRE, JEDI
}
interface Character {
val id : String
val ... | 49 | Kotlin | 55 | 3 | f15b4e5327aff0bf3e011211405aa4b6dc8f36f1 | 1,884 | KGraphQL | MIT License |
tools/function/src/main/kotlin/rain/function/error.kt | IceCream-QAQ | 208,843,258 | false | null | package com.IceCreamQAQ.Yu.util
import java.lang.RuntimeException
class YuParaValueException(message: String) : RuntimeException(message)
class RainEventException(message: String = "", cause: Exception) : RuntimeException(cause)
inline fun error(message: Any, cause: Throwable): Nothing =
throw IllegalStateExcep... | 9 | null | 12 | 60 | c2f92f2d0b942f59773f27208663e24991ca4562 | 352 | Rain | Apache License 2.0 |
f2-spring/function/f2-spring-boot-starter-function-http/src/test/kotlin/f2/spring/http/cucumber/exception/ExceptionsHttpF2ExceptionSteps.kt | smartbcity | 746,765,045 | false | {"Kotlin": 220116, "Java": 155444, "Gherkin": 24181, "Makefile": 1677, "JavaScript": 1459, "Dockerfile": 963, "CSS": 102} | package f2.spring.http.cucumber.exception
import f2.bdd.spring.lambda.HttpF2GenericsSteps
import f2.bdd.spring.lambda.single.StringConsumerReceiver
import f2.client.consumer
import f2.client.function
import f2.client.ktor.F2ClientBuilder
import f2.client.ktor.get
import f2.client.supplier
import f2.spring.http.F2Sprin... | 1 | Kotlin | 1 | 0 | c3fb65badd711c180f5ddebb68da49fb09968937 | 1,644 | fixers-f2 | Apache License 2.0 |
ktor-core/src/org/jetbrains/ktor/auth/Ldap.kt | yiweig | 54,407,957 | true | {"Kotlin": 635568} | package org.jetbrains.ktor.auth.ldap
import com.sun.jndi.ldap.*
import org.jetbrains.ktor.application.*
import org.jetbrains.ktor.auth.*
import java.util.*
import javax.naming.*
import javax.naming.directory.*
fun <P : Any> ldapVerifyBase(ldapURL: String,
ldapLoginConfigurator: (MutableMa... | 0 | Kotlin | 0 | 0 | b4b7c0620be80e433c40de152dc798a7b28d01e3 | 3,276 | ktor | Apache License 2.0 |
simulator/runtime/src/test/kotlin/net/corda/simulator/runtime/signing/SimWithJsonSignAndVerifyTest.kt | corda | 346,070,752 | false | {"Kotlin": 18686067, "Java": 321931, "Smarty": 79539, "Shell": 56594, "Groovy": 28415, "TypeScript": 5826, "PowerShell": 4985, "Solidity": 2024} | package net.corda.simulator.runtime.signing
import net.corda.simulator.crypto.HsmCategory
import net.corda.v5.crypto.SignatureSpec
import net.corda.v5.crypto.exceptions.CryptoSignatureException
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.assertDoesNotThrow
import org.junit.jupiter.api.assertThrows
... | 82 | Kotlin | 9 | 42 | 6ef36ce2d679a07abf7a5d95a832e98bd4d4d763 | 2,527 | corda-runtime-os | Apache License 2.0 |
app/src/main/java/com/example/libbit/MakeReservationFragment.kt | EcasLai | 751,912,905 | false | {"Kotlin": 130129} | package com.example.libbit
import android.R
import android.app.AlertDialog
import android.app.DatePickerDialog
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.ArrayAdapter
import android.widget.Spinner
import android.widget.Toast
... | 0 | Kotlin | 0 | 1 | caab273c63790a3e5ae569eb360c5a573d6e054b | 6,716 | Libbit | MIT License |
feature/core/src/main/kotlin/com/masselis/tpmsadvanced/core/feature/ioc/VehicleModule.kt | VincentMasselis | 501,773,706 | false | {"Kotlin": 573255} | package com.masselis.tpmsadvanced.core.feature.ioc
import com.masselis.tpmsadvanced.core.feature.usecase.VehicleStateFlowUseCase
import com.masselis.tpmsadvanced.data.car.model.Vehicle
import dagger.Module
import dagger.Provides
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.SupervisorJob
import ko... | 5 | Kotlin | 2 | 3 | c025ba87fa03b8dd33c055ca28d6f9dd874248fc | 622 | TPMS-advanced | Apache License 2.0 |
android-core/designsystem/src/main/kotlin/com/thomaskioko/tvmaniac/compose/theme/Colors.kt | c0de-wizard | 361,393,353 | false | null | package com.thomaskioko.tvmaniac.compose.theme
import androidx.compose.material3.MaterialTheme
import androidx.compose.runtime.Composable
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.compositeOver
import androidx.compose.ui.graphics.luminance
import kotlin.math.max
import kotlin.math.m... | 9 | null | 28 | 98 | 8bc3853d84c58520dffe26ddb260a2e7b6482ae9 | 1,961 | tv-maniac | Apache License 2.0 |
sample/src/commonMain/kotlin/com/dokar/sonner/sample/ViewModelSample.kt | dokar3 | 741,798,053 | false | null | @file:Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE")
package com.dokar.sonner.sample
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.ExperimentalLayoutApi
import androidx... | 4 | null | 4 | 97 | fc364ba0344ad5743a1a59d9edad92de45fa7be8 | 5,945 | compose-sonner | Apache License 2.0 |
pager/src/androidTest/java/com/google/accompanist/pager/VerticalPagerTest.kt | dakdos | 356,314,244 | true | {"Kotlin": 479710, "Shell": 4836} | /*
* 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 applic... | 0 | null | 0 | 1 | ae38f6132926b57b341728e44c7ccff31edaec9f | 6,043 | accompanist | Apache License 2.0 |
src/main/kotlin/dev/shtanko/algorithms/leetcode/IsNStraightHand.kt | ashtanko | 203,993,092 | false | null | /*
* Copyright 2020 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... | 4 | null | 0 | 19 | 8d50ceebb344f30bca610fd73ae974ac12f7d9b2 | 1,229 | kotlab | Apache License 2.0 |
app/src/androidTestScenarios/java/uk/nhs/nhsx/covid19/android/app/flow/analytics/QrCodeAnalyticsTest.kt | nhsx-mirror | 289,296,773 | true | {"Kotlin": 2761696, "Shell": 1098, "Ruby": 847, "Batchfile": 197} | package uk.nhs.nhsx.covid19.android.app.flow.analytics
import kotlin.test.assertNull
import org.junit.Test
import uk.nhs.nhsx.covid19.android.app.qrcode.QrCodeScanResult.Success
import uk.nhs.nhsx.covid19.android.app.qrcode.QrCodeScanResultActivity
import uk.nhs.nhsx.covid19.android.app.qrcode.QrScannerActivity
import... | 0 | Kotlin | 0 | 0 | 296c9decde1b5ed904b760ff77b05afc51f24281 | 1,561 | covid-19-app-android-ag-public | MIT License |
2023/src/main/kotlin/de/skyrising/aoc2023/day11/solution.kt | skyrising | 317,830,992 | false | {"Kotlin": 411565} | package de.skyrising.aoc2023.day11
import de.skyrising.aoc.*
@Suppress("unused")
class BenchmarkDay : BenchmarkBaseV1(2023, 11)
@Suppress("unused")
fun register() {
val test = TestInput("""
...#......
.......#..
#.........
..........
......#...
.#........
.... | 0 | Kotlin | 0 | 0 | ca9cbf4212c50424f595c7ecbe3e13b53d4cefb6 | 1,265 | aoc | MIT License |
server/src/main/kotlin/io/liquidsoftware/base/server/config/MongoConfig.kt | edreyer | 445,325,795 | false | {"Kotlin": 202374, "Procfile": 119} | package io.liquidsoftware.base.server.config
import io.liquidsoftware.common.persistence.AuditorAwareImpl
import org.springframework.context.annotation.Bean
import org.springframework.context.annotation.Configuration
import org.springframework.data.domain.ReactiveAuditorAware
import org.springframework.data.mongodb.co... | 7 | Kotlin | 10 | 33 | 9aecae6b5ea448c4496410ff961fad832c1aed2a | 504 | modulith | MIT License |
src/main/kotlin/edu/stanford/cfuller/imageanalysistools/filter/Filter.kt | cjfuller | 4,823,440 | false | null | package edu.stanford.cfuller.imageanalysistools.filter
import edu.stanford.cfuller.imageanalysistools.meta.parameters.ParameterDictionary
import edu.stanford.cfuller.imageanalysistools.image.WritableImage
import edu.stanford.cfuller.imageanalysistools.image.Image
/**
* This class represents an Image operation.
*
*... | 14 | Kotlin | 0 | 3 | f05bcc696d2be038fa2af8cf886160b75e147112 | 1,553 | imageanalysistools | Apache License 2.0 |
grammar/testData/grammar/annotations/namePrefixAsUseSiteTargetPrefix/setparam.kt | Kotlin | 39,459,058 | false | null | class Foo(@setparamann private val field: Int) {}
class Foo(@`setparamann` private val field: Int) {}
class Foo(@`setparam ` val field: Int) {}
class Foo {
@ann @setparamann var field: Int = 10
}
class Foo(@setparamann @ann protected val field: Int) {}
class Foo {
@ann @setparamann var field: Int = 10
}
c... | 15 | Kotlin | 71 | 312 | 4411e49bb2b03f7d0d01d1c967723b901edd2105 | 497 | kotlin-spec | Apache License 2.0 |
example/shared/src/androidMain/kotlin/com/splendo/kaluga/example/shared/viewmodel/permissions/NotificationPermissionViewModel.kt | splendo | 191,371,940 | false | null | /*
Copyright 2023 Splendo Consulting B.V. The Netherlands
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... | 87 | null | 7 | 315 | 4094d5625a4cacb851b313d4e96bce6faac1c81f | 2,694 | kaluga | Apache License 2.0 |
app/src/main/java/id/rizmaulana/covid19/util/Constant.kt | rizmaulana | 245,557,715 | false | null | package id.rizmaulana.covid19.util
/**
* rizmaulana@live.com 2019-06-14.
*/
object Constant {
const val API_VERSION = "1.0.0"
const val DB_VERSION = 1
const val NETWORK_TIMEOUT = 60L
const val ERROR_MESSAGE = "Cannot proceed your request, please try again later"
}
object CacheKey {
const val OVE... | 10 | null | 115 | 433 | 3e1e8027f2a5135ed72cb6aed3bc717e68bed80a | 711 | kotlin-mvvm-covid19 | Apache License 2.0 |
app/src/main/java/com/axondragonscale/wallmatic/ui/common/TabHeader.kt | AxonDragonScale | 810,964,976 | false | {"Kotlin": 207821} | package com.axondragonscale.wallmatic.ui.common
import android.content.res.Configuration
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.mater... | 6 | Kotlin | 0 | 0 | 320579e0320fed3e01d3b5a2bd9d8f144f76955d | 1,386 | Wallmatic | MIT License |
mongodb-search-core/src/main/kotlin/io/github/yearnlune/search/core/operator/SortOperator.kt | yearnlune | 512,971,890 | false | {"Kotlin": 140382, "JavaScript": 1896, "TypeScript": 91} | package io.github.yearnlune.search.core.operator
import io.github.yearnlune.search.graphql.SortInput
import org.springframework.data.domain.Sort
import org.springframework.data.mongodb.core.aggregation.Aggregation
import org.springframework.data.mongodb.core.aggregation.AggregationOperation
import org.springframework.... | 0 | Kotlin | 0 | 2 | f68dc088551c0174c5104007703aa50ad4b361bc | 1,184 | mongodb-search | Apache License 2.0 |
src/i_introduction/_6_Data_Classes/JavaCode6.kt | whtsky | 99,357,479 | false | {"XML": 1, "Gradle": 1, "Shell": 1, "Ignore List": 1, "Batchfile": 1, "Text": 1, "Markdown": 1, "Kotlin": 114, "Java Properties": 1, "Java": 8} | package i_introduction._6_Data_Classes
import util.JavaCode
class JavaCode6 : JavaCode() {
class Person(val name: String, val age: Int)
}
| 1 | Kotlin | 0 | 0 | 75b90d8c02565bf2581687818f748eadc3cdbdbb | 145 | kotlin_koans | MIT License |
client/src/commonTest/kotlin/documentation/methods/insights/DocClickedObjectIDs.kt | algolia | 153,273,215 | false | null | package documentation.methods.insights
import clientInsights
import com.algolia.search.model.IndexName
import com.algolia.search.model.ObjectID
import com.algolia.search.model.insights.EventName
import com.algolia.search.model.insights.UserToken
import runBlocking
import kotlin.test.Ignore
import kotlin.test.Test
@Ig... | 6 | null | 23 | 59 | 21f0c6bd3c6c69387d1dd4ea09f69a220c5eaff4 | 983 | algoliasearch-client-kotlin | MIT License |
fluent-icons-extended/src/commonMain/kotlin/com/konyaco/fluent/icons/regular/StarEdit.kt | Konyaco | 574,321,009 | false | null |
package com.konyaco.fluent.icons.regular
import androidx.compose.ui.graphics.vector.ImageVector
import com.konyaco.fluent.icons.Icons
import com.konyaco.fluent.icons.fluentIcon
import com.konyaco.fluent.icons.fluentPath
public val Icons.Regular.StarEdit: ImageVector
get() {
if (_starEdit != null) {
... | 1 | null | 3 | 83 | 9e86d93bf1f9ca63a93a913c990e95f13d8ede5a | 2,475 | compose-fluent-ui | Apache License 2.0 |
app/src/main/java/com/tekfoods/features/activities/presentation/ActivityShopListFragment.kt | DebashisINT | 600,987,989 | false | null | package com.bengaldetergentfsm.features.activities.presentation
import android.content.Context
import android.os.Bundle
import androidx.recyclerview.widget.LinearLayoutManager
import androidx.recyclerview.widget.RecyclerView
import android.text.TextUtils
import android.view.LayoutInflater
import android.view.View
impo... | 0 | Kotlin | 0 | 0 | ffe7571954fbae59972cfa485658cb4f2abb5b3b | 5,826 | TEKFOODS | Apache License 2.0 |
compiler/testData/ir/irText/expressions/references.kt | JakeWharton | 99,388,807 | false | null | // FIR_IDENTICAL
val ok = "OK"
val ok2 = ok
val ok3: String get() = "OK"
fun test1() = ok
fun test2(x: String) = x
fun test3(): String {
val x = "OK"
return x
}
fun test4() = ok3
val String.okext: String get() = "OK"
fun String.test5() = okext
| 181 | null | 5748 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 258 | kotlin | Apache License 2.0 |
descopesdk/src/main/java/com/descope/session/Session.kt | descope | 644,859,004 | false | null | package com.descope.session
import com.descope.types.AuthenticationResponse
import com.descope.types.DescopeUser
import com.descope.types.RefreshResponse
/**
* The `DescopeSession` class represents a successful sign in operation.
*
* After a user finishes a sign in flow successfully you should create
* a `Descope... | 2 | null | 1 | 26 | ccef68072391792b61b01de2159031fac4078d19 | 6,345 | descope-kotlin | MIT License |
descopesdk/src/main/java/com/descope/session/Session.kt | descope | 644,859,004 | false | null | package com.descope.session
import com.descope.types.AuthenticationResponse
import com.descope.types.DescopeUser
import com.descope.types.RefreshResponse
/**
* The `DescopeSession` class represents a successful sign in operation.
*
* After a user finishes a sign in flow successfully you should create
* a `Descope... | 2 | null | 1 | 26 | ccef68072391792b61b01de2159031fac4078d19 | 6,345 | descope-kotlin | MIT License |
jOOQ-mcve-kotlin-sqlserver/src/main/kotlin/org/jooq/mcve/kotlin/sqlserver/Mcve.kt | jOOQ | 158,723,288 | false | {"Kotlin": 78987, "Scala": 74781, "Java": 17611} | /*
* This file is generated by jOOQ.
*/
package org.jooq.mcve.kotlin.sqlserver
import kotlin.collections.List
import org.jooq.Catalog
import org.jooq.Table
import org.jooq.impl.SchemaImpl
import org.jooq.mcve.kotlin.sqlserver.tables.Test
/**
* This class is generated by jOOQ.
*/
@Suppress("UNCHECKED_CAST")
ope... | 3 | Kotlin | 134 | 24 | b73e84805dde5045806a206f3897ed936ce13d12 | 766 | jOOQ-mcve | Apache License 2.0 |
shared/src/commonMain/kotlin/io.newm.shared/internal/services/db/NewmDatabaseWrapperExt.kt | projectNEWM | 435,674,758 | false | {"Kotlin": 504974, "Swift": 289827} | package io.newm.shared.internal.services.db
import com.squareup.sqldelight.runtime.coroutines.asFlow
import com.squareup.sqldelight.runtime.coroutines.mapToList
import io.newm.shared.public.models.NFTTrack
import io.newm.shared.public.models.WalletConnection
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutine... | 2 | Kotlin | 8 | 14 | a186ab2e13c2548b84d96adb5057ef13bf0a629f | 3,643 | newm-mobile | Apache License 2.0 |
vector/src/main/java/im/vector/app/features/settings/homeserver/HomeserverSettingsController.kt | tchapgouv | 340,329,238 | false | null | /*
* Copyright (c) 2021 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 agreed ... | 4 | null | 418 | 9 | 9bd50a49e0a5a2a17195507ef3fe96594ddd739e | 6,198 | tchap-android | Apache License 2.0 |
app/src/main/java/com/funs/eye/ui/community/commend/detail/UgcDetailAdapter.kt | hhhcan | 507,734,165 | false | null | package com.funs.eye.ui.community.commend.detail
import android.view.View
import android.view.ViewGroup
import android.widget.FrameLayout
import android.widget.ImageView
import android.widget.LinearLayout
import android.widget.TextView
import androidx.recyclerview.widget.RecyclerView
import androidx.viewpager2.widget.... | 0 | Kotlin | 0 | 0 | a127a42d98aa6e8d0d793d74d057f1ac3d5c2799 | 11,168 | FunsEye | Apache License 2.0 |
GoTrue/src/commonMain/kotlin/io/github/jan/supabase/gotrue/settings/ExternalLabels.kt | supabase-community | 495,084,592 | false | null | package io.github.jan.supabase.gotrue.settings
@kotlinx.serialization.Serializable
class ExternalLabels | 2 | Kotlin | 8 | 80 | 1a4d3803201ad4e10a65862b3ef40be66d03e47f | 104 | supabase-kt | MIT License |
app/src/main/java/com/example/android_study/android/webview/interaction/js_call_android/JsInteractionActivity.kt | RhythmCoderZZF | 281,057,053 | false | null | package com.example.android_study.android.webview.interaction.js_call_android
import android.os.Bundle
import com.example.android_study.R
import com.example.android_study._base.BaseActivity
import kotlinx.android.synthetic.main.activity_android_webview_interaction_js_call.*
class JsInteractionActivity : BaseActivity(... | 0 | Kotlin | 0 | 0 | 8de07e3a5613128ce05a9a0de2305bd02122da3a | 560 | AndroidStudy | Apache License 2.0 |
src/main/kotlin/com/tgirard12/graphqlkotlindsl/graphqljava/GqlJavaScalars.kt | tgirard12 | 118,278,933 | false | null | package com.tgirard12.graphqlkotlindsl.graphqljava
import graphql.Scalars
import graphql.language.StringValue
import graphql.schema.CoercingSerializeException
import java.util.*
class GqlJavaScalars {
companion object {
val uuid by lazy {
GqlJavaExtentions.scalarTypeDsl<UUID> {
... | 1 | null | 2 | 7 | eb458d5d78ad9f0a29a59d398d57df0fe14f3174 | 1,344 | graphql-kotlin-dsl | Apache License 2.0 |
app/src/main/java/com/kcteam/features/shopdetail/presentation/api/addcollection/AddCollectionRepo.kt | DebashisINT | 558,234,039 | false | null | package com.breezefsmparas.features.shopdetail.presentation.api.addcollection
import android.content.Context
import android.net.Uri
import android.text.TextUtils
import com.breezefsmparas.app.FileUtils
import com.breezefsmparas.base.BaseResponse
import com.breezefsmparas.features.dashboard.presentation.DashboardActivi... | 0 | null | 1 | 1 | a9aabcf48662c76db18bcece75cae9ac961da1ed | 2,644 | NationalPlastic | Apache License 2.0 |
app/src/main/java/com/hfut/schedule/ui/Activity/success/cube/Settings/Monet/MonetColorItem.kt | Chiu-xaH | 705,508,343 | false | null | package com.hfut.schedule.ui.ComposeUI.Settings.Monet
import android.annotation.SuppressLint
import androidx.compose.animation.AnimatedVisibility
import androidx.compose.animation.expandVertically
import androidx.compose.animation.fadeIn
import androidx.compose.animation.fadeOut
import androidx.compose.animation.scale... | 0 | null | 1 | 3 | aead3d3e437531c52a0ba99d71fae27d4ea0fe4f | 6,131 | HFUT-Schedule | Apache License 2.0 |
app/src/main/java/id/dtprsty/chatttoy/main/adapter/HolderMessageTo.kt | dtprsty | 246,944,982 | false | null | package id.dtprsty.chatttoy.main.adapter
import android.view.View
import androidx.recyclerview.widget.RecyclerView
import com.bumptech.glide.Glide
import com.bumptech.glide.request.RequestOptions
import id.dtprsty.chatttoy.R
import id.dtprsty.chatttoy.data.Message
import id.dtprsty.chatttoy.data.UserInfo
import kotlin... | 0 | Kotlin | 0 | 0 | bdef0b2d08abea03909b553f6bd44f9331f9653b | 920 | kiwari-android-test | MIT License |
analysis/low-level-api-fir/testData/getOrBuildFir/types/typeParameterBound.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... | fun <T : <expr>Number</expr>> check(t: T) {
} | 181 | Kotlin | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 46 | kotlin | Apache License 2.0 |
permission-library/src/main/kotlin/com/michibaum/permission_library/Permissions.kt | MichiBaum | 246,055,538 | false | {"Kotlin": 152355, "TypeScript": 36802, "HTML": 11408, "CSS": 3150, "Java": 1289, "JavaScript": 969, "SCSS": 393} | package com.michibaum.permission_library
enum class Permissions {
ADMIN_SERVICE,
REGISTRY_SERVICE,
AUTHENTICATION_SERVICE,
USERMANAGEMENT_SERVICE,
USERMANAGEMENT_SERVICE_EDIT_OWN_USER,
SERMANAGEMENT_SERVICE_EDIT_ALL_USER,
CHESS_SERVICE;
} | 0 | Kotlin | 0 | 1 | 77911b5f9d53f6630e34e3cd89b69ba277ad2b87 | 272 | Microservices | Apache License 2.0 |
src/main/java/com/vladsch/md/nav/flex/settings/FlexmarkHtmlSettings.kt | vsch | 32,095,357 | false | {"Kotlin": 2420465, "Java": 2294749, "HTML": 131988, "JavaScript": 68307, "CSS": 64158, "Python": 486} | // Copyright (c) 2017-2020 <NAME> <<EMAIL>> Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.vladsch.md.nav.flex.settings
import com.vladsch.flexmark.util.data.DataKey
import com.vladsch.md.nav.editor.util.HtmlPanelProvider
import com.vladsch.md.nav.setti... | 134 | Kotlin | 131 | 809 | ec413c0e1b784ff7309ef073ddb4907d04345073 | 7,304 | idea-multimarkdown | Apache License 2.0 |
gradle-plugin/src/main/java/com/squareup/anvil/plugin/AnvilPlugin.kt | square | 271,357,426 | false | null | package com.squareup.anvil.plugin
import com.android.build.gradle.AppExtension
import com.android.build.gradle.LibraryExtension
import com.android.build.gradle.TestExtension
import com.android.build.gradle.TestedExtension
import com.android.build.gradle.api.BaseVariant
import com.android.build.gradle.api.TestVariant
i... | 54 | null | 82 | 941 | a5811bbadb63017fb5436d2ed0d4521c471428e6 | 16,869 | anvil | Apache License 2.0 |
src/main/kotlin/basicallyiamfox/ani/decorator/rule/MagmaticJumpRuleDecorator.kt | BasicallyIAmFox | 642,556,530 | false | null | package basicallyiamfox.ani.decorator.rule
import basicallyiamfox.ani.AnimorphsKeybindings
import basicallyiamfox.ani.core.rule.RuleDecorator
import basicallyiamfox.ani.core.serializer.ISerializer
import basicallyiamfox.ani.extensions.*
import basicallyiamfox.ani.mixin.IEntityMixin
import basicallyiamfox.ani.mixin.ILi... | 0 | Kotlin | 0 | 0 | 448d9eb2de0250eccf6a1d48bcec7bad260b6bf2 | 8,622 | animorphs-kt | MIT License |
bugsnag-android-core/src/main/java/com/bugsnag/android/Device.kt | bugsnag | 2,406,783 | false | null | package com.bugsnag.android
/**
* Stateless information set by the notifier about the device on which the event occurred can be
* found on this class. These values can be accessed and amended if necessary.
*/
open class Device internal constructor(
buildInfo: DeviceBuildInfo,
/**
* The Application Bin... | 17 | null | 205 | 1,188 | f5fd26b3cdeda9c4d4e221f55feb982a3fd97197 | 2,189 | bugsnag-android | MIT License |
mulighetsrommet-api/src/test/kotlin/no/nav/mulighetsrommet/api/repositories/TiltaksgjennomforingRepositoryTest.kt | navikt | 435,813,834 | false | null | package no.nav.mulighetsrommet.api.repositories
import io.kotest.assertions.arrow.core.shouldBeRight
import io.kotest.core.spec.style.FunSpec
import io.kotest.matchers.collections.shouldContainAll
import io.kotest.matchers.collections.shouldContainExactly
import io.kotest.matchers.collections.shouldContainExactlyInAny... | 7 | null | 1 | 6 | fe8bff93ee98f28ac3f5027aa818cdd1d8093949 | 51,151 | mulighetsrommet | MIT License |
kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/CfnListener.kt | cloudshiftinc | 667,063,030 | false | null | @file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION")
package io.cloudshiftdev.awscdk.services.globalaccelerator
import io.cloudshiftdev.awscdk.CfnResource
import io.cloudshiftdev.awscdk.IInspecta... | 4 | null | 0 | 4 | ddf2bfd2275b50bb86a667c4298dd92f59d7e342 | 18,714 | kotlin-cdk-wrapper | Apache License 2.0 |
src/main/kotlin/com/octawizard/domain/usecase/club/AddFieldToClub.kt | octawizard | 299,882,247 | false | null | package com.octawizard.domain.usecase.club
import com.octawizard.domain.model.Club
import com.octawizard.domain.model.Field
import com.octawizard.domain.model.WallsMaterial
import com.octawizard.repository.club.ClubRepository
class AddFieldToClub(private val clubRepository: ClubRepository) {
operator fun invoke(... | 6 | Kotlin | 0 | 0 | a1d58d6fe35dda02a8cff27b52d2693ef4881fa4 | 633 | padles-api | Apache License 2.0 |
app/src/main/java/com/readbeard/openbrewery/app/App.kt | readbeard | 395,628,565 | false | null | package com.readbeard.openbrewery.app
import android.app.Application
import dagger.hilt.android.HiltAndroidApp
import timber.log.Timber
@HiltAndroidApp
class App : Application() {
override fun onCreate() {
super.onCreate()
if (BuildConfig.DEBUG) {
Timber.plant(Timber.DebugTree())
... | 5 | Kotlin | 0 | 0 | 43e62f001f24a39df0137a2e88006240c7daf349 | 408 | OpenBrewery | MIT License |
android/src/com/android/tools/idea/gradle/project/build/events/AndroidSyncIssueQuickFix.kt | JetBrains | 60,701,247 | false | null | /*
* Copyright (C) 2020 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 0 | null | 220 | 857 | 8d22f48a9233679e85e42e8a7ed78bbff2c82ddb | 1,767 | android | Apache License 2.0 |
network/src/main/java/androidx/essentials/network/DataStore.kt | kunal26das | 282,238,393 | false | null | package androidx.essentials.network
import androidx.datastore.core.DataStore
import androidx.datastore.preferences.core.*
import androidx.lifecycle.MediatorLiveData
import androidx.lifecycle.asLiveData
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.flow.map
import kotlinx.coroutines.launch
import k... | 5 | Kotlin | 0 | 3 | 4968a43c341f728c905d3db7a124fd8b6e05041a | 3,534 | androidx-essentials | Apache License 2.0 |
core/src/main/kotlin/Cache.kt | cs124-illinois | 584,151,809 | false | null | @file:Suppress("MatchingDeclarationName")
package edu.illinois.cs.cs125.jeed.core
import com.github.benmanes.caffeine.cache.Cache
import com.github.benmanes.caffeine.cache.Caffeine
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.launch
import kotlinx.coroutines... | 4 | null | 9 | 2 | f18fe112a1d2342317bc52c1010010b92c329a32 | 5,235 | jeed | MIT License |
src/main/kotlin/com/bridgecrew/services/checkovScanCommandsService/CheckovScanCommandsService.kt | bridgecrewio | 644,310,885 | false | {"Kotlin": 295615} | package com.bridgecrew.services.checkovScanCommandsService
import com.bridgecrew.listeners.CheckovSettingsListener
import com.bridgecrew.settings.PrismaSettingsState
import com.bridgecrew.utils.FULL_SCAN_EXCLUDED_PATHS
import com.bridgecrew.utils.getGitIgnoreValues
import com.bridgecrew.utils.getRepoName
import com.br... | 13 | Kotlin | 0 | 1 | ebdfce512f385af03aa35e56f3d8ec89335bc18e | 4,273 | prisma-cloud-jetbrains-ide | Apache License 2.0 |
app/src/main/java/com/kyberswap/android/data/api/home/SwapApi.kt | zachwylde00 | 211,432,543 | true | {"Kotlin": 1457144, "Java": 42326, "Ruby": 5070} | package com.kyberswap.android.data.api.home
import com.kyberswap.android.data.api.cap.CapEntity
import com.kyberswap.android.data.api.gas.GasPriceEntity
import com.kyberswap.android.data.api.rate.MarketRateEntity
import com.kyberswap.android.domain.model.EstimateAmount
import io.reactivex.Single
import retrofit2.http.... | 1 | Kotlin | 0 | 0 | ddf69ff4a6aa26c54e938fd84d496b5792e352e5 | 810 | site.live.remixed-solidity-network-android-app | MIT License |
diktat-rules/src/test/kotlin/com/saveourtool/diktat/util/TestUtils.kt | saveourtool | 275,879,956 | false | null | /**
* Utility classes and methods for tests
*/
package com.saveourtool.diktat.util
import com.saveourtool.diktat.api.DiktatErrorEmitter
import com.saveourtool.diktat.api.DiktatRule
import com.saveourtool.diktat.api.DiktatRuleSet
import com.saveourtool.diktat.ktlint.check
import org.assertj.core.api.Assertions.asse... | 149 | null | 39 | 535 | 9e73d811d9fd9900af5917ba82ddeed0177ac52e | 4,278 | diktat | MIT License |
compiler/frontend.java/src/org/jetbrains/kotlin/synthetic/JavaSyntheticPropertiesScope.kt | JakeWharton | 99,388,807 | false | null | /*
* Copyright 2010-2015 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... | 5 | null | 5748 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 17,328 | kotlin | Apache License 2.0 |
wire-tests/src/test/proto-kotlin/com/squareup/wire/protos/kotlin/MessageWithStatus.kt | yadavved | 195,357,857 | true | {"INI": 18, "YAML": 1, "Markdown": 6, "Text": 4, "Gradle": 50, "Shell": 2, "Batchfile": 1, "Ignore List": 1, "Kotlin": 153, "Java": 137, "Protocol Buffer": 86, "Maven POM": 1, "XML": 2} | // Code generated by Wire protocol buffer compiler, do not edit.
// Source file: same_name_enum.proto
package com.squareup.wire.protos.kotlin
import com.squareup.wire.EnumAdapter
import com.squareup.wire.FieldEncoding
import com.squareup.wire.Message
import com.squareup.wire.ProtoAdapter
import com.squareup.wire.Proto... | 0 | Java | 0 | 0 | e2944d3db3a6d49b0ddb83e1974ae7c94e54d701 | 2,305 | wire | Apache License 2.0 |
app/src/test/kotlin/de/markusfisch/android/binaryeye/actions/wifi/WifiConfigurationFactoryTest.kt | yzqzss | 248,396,812 | true | {"Kotlin": 122044, "Shell": 1967, "RenderScript": 625, "Makefile": 566} | package de.markusfisch.android.binaryeye.actions.wifi
import de.markusfisch.android.binaryeye.simpleFail
import junit.framework.TestCase.*
import org.junit.Test
class WifiConfigurationFactoryTest {
@Test
fun notWifi() {
assertNull(WifiConfigurationFactory.parseMap("asdfz"))
}
@Test
fun wep() {
val info = si... | 0 | null | 0 | 0 | 8e24673d08627545035c14d1b78c0433282753ad | 2,349 | BinaryEye | MIT License |
gosys/src/test/kotlin/no/nav/helse/spre/gosys/vedtakFattet/VedtakFattetRiverTest.kt | navikt | 342,325,871 | false | null | package no.nav.helse.spre.gosys.vedtakFattet
import no.nav.helse.spre.gosys.e2e.AbstractE2ETest
import no.nav.helse.spre.gosys.utbetaling.UtbetalingDao
import org.intellij.lang.annotations.Language
import org.junit.jupiter.api.Assertions.assertEquals
import org.junit.jupiter.api.Assertions.assertNotNull
import org.jun... | 0 | Kotlin | 2 | 1 | 2adea5abb9092ca8c08271ef43d18a17b4f303e4 | 2,402 | helse-spre | MIT License |
core/src/commonMain/kotlin/work/socialhub/kbsky/api/entity/chat/bsky/convo/ConvoGetListConvosRequest.kt | uakihir0 | 735,265,237 | false | {"Kotlin": 396349, "Shell": 1421, "Makefile": 315} | package work.socialhub.kbsky.api.entity.chat.bsky.convo
import work.socialhub.kbsky.api.entity.share.AuthRequest
import work.socialhub.kbsky.api.entity.share.MapRequest
import work.socialhub.kbsky.auth.AuthProvider
class ConvoGetListConvosRequest(
auth: AuthProvider
) : AuthRequest(auth), MapRequest {
var li... | 2 | Kotlin | 1 | 17 | 648870de4e311a209096822b9b73767e0e050c37 | 564 | kbsky | MIT License |
leetcode/src/linkedlist/Q142.kt | zhangweizhe | 387,808,774 | false | null | package linkedlist
fun main() {
// 142. 环形链表 II
// https://leetcode-cn.com/problems/linked-list-cycle-ii/
val createList = LinkedListUtil.createList(intArrayOf(3, 2, 0, 4))
val n2 = createList?.next
n2?.next?.next?.next = n2
println(detectCycle(createList)?.`val`)
}
fun detectCycle(head: ListN... | 0 | Kotlin | 0 | 0 | dfb5f518300e69689a2c5eb7fb1f9d674c550b4a | 733 | kotlin-study | MIT License |
newcall_library/src/main/java/com/cmcc/newcalllib/adapter/ar/local/LocalARAdapter.kt | NewCallTeam | 602,468,716 | false | null | /*
* Copyright (c) 2022 China Mobile Communications Group Co.,Ltd. All rights reserved.
*
* Licensed under the XXXX License, Version X.X (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://xxxxxxx/licenses/LICENSE-X.X
*
* Unl... | 0 | Kotlin | 4 | 8 | 8f2d00ca24335bebb34a7be078c90be07a25add2 | 986 | NewCalling | Apache License 2.0 |
mui-kotlin/src/jsMain/kotlin/mui/base/useSlider.types.kt | karakum-team | 387,062,541 | false | null | // Automatically generated - do not modify!
package mui.base
import web.events.Event
external interface UseSliderParameters {
// var `aria-labelledby`: String?
var defaultValue: dynamic
var disabled: Boolean?
var disableSwap: Boolean?
var isRtl: Boolean?
var marks: dynamic
var max: ... | 0 | Kotlin | 3 | 31 | d1ea32754f43e696f6b3e946692c2e81f25ad6ae | 807 | mui-kotlin | Apache License 2.0 |
src/main/java/com/will/utils/FileUtils.kt | z2z2qp | 86,769,932 | false | null | package com.will.utils
import java.io.BufferedInputStream
import java.io.File
import java.io.FileInputStream
import java.io.InputStream
import java.math.BigInteger
import java.security.MessageDigest
import java.text.DecimalFormat
import java.util.*
/**
* Created by zoumy on 2017/5/15 14:26.
*/
object FileUtils : or... | 6 | Kotlin | 1 | 2 | 97fbf03a0ce011629135dd541c4e4d59e13454db | 4,280 | msm | The Unlicense |
src/main/kotlin/no/nav/pensjon/simulator/core/domain/regler/beregning2011/Uforetrygdberegning.kt | navikt | 753,551,695 | false | {"Kotlin": 1452773, "Java": 2774, "Dockerfile": 144} | package no.nav.pensjon.simulator.core.domain.regler.beregning2011
import no.nav.pensjon.simulator.core.domain.regler.enum.FormelKodeEnum
import no.nav.pensjon.simulator.core.domain.regler.enum.JustertPeriodeEnum
import no.nav.pensjon.simulator.core.domain.regler.enum.YtelseVedDodEnum
import no.nav.pensjon.simulator.co... | 1 | Kotlin | 0 | 0 | 77b8c4e0a80e5bf44cb44468466362956fe82da8 | 1,589 | pensjonssimulator | MIT License |
app/src/unitTest/kotlin/batect/execution/ContainerDependencyGraphSpec.kt | wyvern8 | 229,031,490 | false | null | /*
Copyright 2017-2020 <NAME>.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in wr... | 4 | null | 1 | 1 | e933116cad5b1c5c877233317534ba3e91e9475e | 53,447 | batect | Apache License 2.0 |
src/main/kotlin/ch/compile/blitzremote/actions/CloseAction.kt | KeeTraxx | 146,708,971 | false | null | package ch.compile.blitzremote.actions
import ch.compile.blitzremote.components.BlitzTerminal
import org.slf4j.LoggerFactory
import java.awt.event.ActionEvent
import javax.swing.AbstractAction
open class CloseAction(private val terminal: BlitzTerminal) : AbstractAction("Close...") {
companion object {
val... | 0 | Kotlin | 0 | 2 | 36f6a1ea49fab225b392aab35f7c7d7d2353ac58 | 586 | blitz-remote | MIT License |
app/src/main/java/com/meuus90/imagesearch/model/data/source/local/BaseDao.kt | meuus90 | 313,014,138 | false | null | package com.meuus90.daumbooksearch.model.data.source.local
import androidx.room.Delete
import androidx.room.Insert
import androidx.room.OnConflictStrategy
import androidx.room.Update
interface BaseDao<T> {
@Insert(onConflict = OnConflictStrategy.REPLACE)
suspend fun insert(vararg obj: T)
@Insert(onConfli... | 0 | Kotlin | 1 | 1 | 148a9122c3eb0ffc533d1e1d1073e3f6b1a4dc50 | 950 | ImageSearchAndroid | MIT License |
app/src/main/java/com/example/monni/ui/NotificationsDialogUiState.kt | TheKiesling | 521,474,974 | false | null | package com.example.monni.ui
sealed interface NotificationsDialogUiState {
data class Error(val msg: String, val type: Int): NotificationsDialogUiState
object Success: NotificationsDialogUiState
object Default: NotificationsDialogUiState
} | 1 | Kotlin | 0 | 4 | 11e6f32970b087c40e93bf7550916199a22bfbf5 | 254 | Monni | MIT License |
app/src/main/java/com/example/android/politicalpreparedness/election/ElectionsFragment.kt | hoangvu2511 | 806,047,081 | false | {"Kotlin": 40806} | package com.example.android.politicalpreparedness.election
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import androidx.navigation.fragment.findNavController
import com.example.android.politicalpreparedness.data... | 0 | Kotlin | 0 | 0 | 882fc352fe4bdfa2a3dd18bf5c0a3ede3f315884 | 1,890 | Udacity-Android-kotlin-p5 | Apache License 2.0 |
waltid-wallet-api/src/main/kotlin/id/walt/webwallet/service/account/EmailAccountStrategy.kt | walt-id | 701,058,624 | false | null | package id.walt.webwallet.service.account
import de.mkammerer.argon2.Argon2Factory
import id.walt.commons.web.ConflictException
import id.walt.commons.web.UnauthorizedException
import id.walt.webwallet.db.models.Accounts
import id.walt.webwallet.web.controllers.auth.ByteLoginRequest
import id.walt.webwallet.web.model.... | 46 | null | 5 | 98 | a86bd0c843d594f6afe6e747d3c4de7d8a4789a8 | 3,334 | waltid-identity | Apache License 2.0 |
src/main/kotlin/com/github/lazoyoung/craftgames/api/shopkeepers/GameShopkeeper.kt | LazoYoung | 120,482,014 | false | null | package com.github.lazoyoung.craftgames.api.shopkeepers
import com.github.lazoyoung.craftgames.impl.game.GameLayout
import com.nisovin.shopkeepers.api.shopkeeper.admin.regular.RegularAdminShopkeeper
import com.nisovin.shopkeepers.api.shopkeeper.offers.TradingOffer
import com.nisovin.shopkeepers.shopkeeper.offers.SKTra... | 8 | null | 1 | 3 | 280dc702f2225071d67acf0ea675db575cdd0d65 | 3,808 | CraftGames | MIT License |
composeApp/src/commonMain/kotlin/nl/mdsystems/domain/utils/file/FileSize.kt | MikeDirven | 866,569,963 | false | {"Kotlin": 100228} | package nl.mdsystems.domain.utils.file
import nl.mdsystems.domain.enums.FileSizeType
import java.io.File
fun File.size(type: FileSizeType = FileSizeType.BYTES): String {
return if(this.isFile){
this.length()
} else {
this.walkTopDown().filter {
it.isFile
}.sumOf { it.length... | 17 | Kotlin | 0 | 1 | 95fdf5b088c5790efcc9be1d3db64fa34f7f3078 | 626 | jpackager | Apache License 2.0 |
src/main/kotlin/no/nav/tilleggsstonader/sak/opplysninger/aktivitet/AktivitetService.kt | navikt | 685,490,225 | false | {"Kotlin": 1923144, "Gherkin": 41142, "HTML": 39787, "Shell": 924, "Dockerfile": 164} | package no.nav.tilleggsstonader.sak.opplysninger.aktivitet
import no.nav.tilleggsstonader.kontrakter.aktivitet.AktivitetArenaDto
import no.nav.tilleggsstonader.kontrakter.aktivitet.GruppeAktivitet
import no.nav.tilleggsstonader.kontrakter.aktivitet.TypeAktivitet
import no.nav.tilleggsstonader.libs.log.SecureLogger.sec... | 5 | Kotlin | 1 | 0 | df7bf11b9645dce589179f9cd856f6e4a31eba87 | 2,991 | tilleggsstonader-sak | MIT License |
deprecated/stately-collections/src/commonTest/kotlin/co/touchlab/stately/collections/SharedSetTest.kt | touchlab | 153,214,696 | false | null | /*
* Copyright (C) 2018 Touchlab, 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 ag... | 8 | null | 28 | 591 | 6ae0eb15df77dc4e44a2e1b6707afd5702cf0298 | 1,518 | Stately | Apache License 2.0 |
ideplugin/src/main/kotlin/com/birbit/artifactfinder/ideplugin/VersionSelectionPopupController.kt | yigit | 209,722,505 | false | null | /*
* Copyright 2019 Google, 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 agreed to... | 27 | null | 5 | 190 | ee9f2870d32b8e438f36f0c405473edff28b6b3e | 7,632 | ArtifactFinder | Apache License 2.0 |
plugin-build/plugin/src/main/java/ir/amv/enterprise/locorepo/client/gradle/plugin/LoCoRepoPlugin.kt | amirmv2006 | 366,102,799 | false | null | package ir.amv.enterprise.locorepo.client.gradle.plugin
import org.gradle.api.Plugin
import org.gradle.api.Project
import org.gradle.api.tasks.Copy
import org.gradle.api.tasks.bundling.Zip
const val EXTENSION_NAME = "locoRepoConfig"
const val TASK_NAME = "locoRepoGenerate"
@Suppress("UnnecessaryAbstractClass")
abstr... | 1 | null | 1 | 1 | ee01e80bcc25e7f6ffd91616bcd913a2e86cf159 | 1,665 | kotlin-gradle-plugin-sandbox | MIT License |
app-inspection/inspectors/network/model/src/com/android/tools/idea/appinspection/inspectors/network/model/connections/HttpData.kt | JetBrains | 60,701,247 | false | null | /*
* Copyright (C) 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 5 | null | 227 | 948 | 10110983c7e784122d94c7467e9d243aba943bf4 | 10,520 | android | Apache License 2.0 |
incubator/clients/kroviz/src/test/kotlin/org/apache/causeway/client/kroviz/snapshots/demo2_0_0/MENUBARS.kt | apache | 6,935,442 | false | null | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License")... | 4 | null | 294 | 751 | cfb994d281118effa2363528c6d5cf74c8c64cae | 108,120 | causeway | Apache License 2.0 |
media/src/test/kotlin/fr/nihilus/music/media/playlists/PlaylistFixtures.kt | thibseisel | 80,150,620 | false | null | /*
* Copyright 2022 Thibault Seisel
*
* 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... | 23 | null | 8 | 67 | f097bcda052665dc791bd3c26880adb0545514dc | 1,168 | android-odeon | Apache License 2.0 |
media/src/test/kotlin/fr/nihilus/music/media/playlists/PlaylistFixtures.kt | thibseisel | 80,150,620 | false | null | /*
* Copyright 2022 Thibault Seisel
*
* 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... | 23 | null | 8 | 67 | f097bcda052665dc791bd3c26880adb0545514dc | 1,168 | android-odeon | Apache License 2.0 |
src/main/kotlin/icu/windea/pls/ep/configGroup/CwtConfigGroupDataProvider.kt | DragonKnightOfBreeze | 328,104,626 | false | null | package icu.windea.pls.lang.configGroup
import com.intellij.openapi.extensions.*
import icu.windea.pls.config.configGroup.*
/**
* 用于获取CWT规则分组中的数据。
*/
interface CwtConfigGroupDataProvider {
fun process(configGroup: CwtConfigGroup) : Boolean
companion object INSTANCE {
val EP_NAME = ExtensionPoin... | 17 | null | 5 | 41 | 99e8660a23f19642c7164c6d6fcafd25b5af40ee | 412 | Paradox-Language-Support | MIT License |
sdk/src/main/kotlin/io/github/wulkanowy/sdk/pojo/GovernmentMember.kt | wulkanowy | 138,756,468 | false | {"Kotlin": 705036, "HTML": 70768} | package io.github.wulkanowy.sdk.pojo
data class GovernmentMember(
val name: String,
val position: String,
val division: String,
val id: Int,
)
| 9 | Kotlin | 5 | 8 | 340245d8ccc2790dcb75219c2839e8bdd8b448a4 | 160 | sdk | Apache License 2.0 |
src/main/kotlin/org/teamvoided/dusk_autumn/data/gen/providers/AdvancementsProvider.kt | TeamVoided | 737,359,498 | false | {"Kotlin": 562762, "Java": 6328} | package org.teamvoided.dusk_autumn.data.gen.providers
import net.fabricmc.fabric.api.datagen.v1.FabricDataOutput
import net.fabricmc.fabric.api.datagen.v1.provider.FabricAdvancementProvider
import net.minecraft.advancement.Advancement
import net.minecraft.advancement.AdvancementHolder
import net.minecraft.advancement.... | 0 | Kotlin | 0 | 0 | 8b5b16f6f4bdc2038f63a10808dd58897912c329 | 4,878 | DusksAndDungeons | MIT License |
src/main/kotlin/Day11.kt | i-redbyte | 433,743,675 | false | null | import java.util.*
class Cavern(private val octopi: Array<IntArray>) {
constructor(lines: List<String>) :
this(lines.map { it.map { c -> c.digitToInt() }.toIntArray() }.toTypedArray())
fun step(): Pair<Cavern, Int> {
val incremented = Array(10) { IntArray(10) }
val flashSpots = Li... | 0 | Kotlin | 0 | 0 | 6d4f19df3b7cb1906052b80a4058fa394a12740f | 2,265 | AOC2021 | Apache License 2.0 |
src/main/kotlin/no/nav/amt/deltaker/deltaker/model/DeltakerStatus.kt | navikt | 756,768,265 | false | {"Kotlin": 113511, "PLpgSQL": 635, "Dockerfile": 140} | package no.nav.amt.deltaker.bff.deltaker.model
import java.time.LocalDateTime
import java.util.UUID
data class DeltakerStatus(
val id: UUID,
val type: Type,
val aarsak: Aarsak?,
val gyldigFra: LocalDateTime,
val gyldigTil: LocalDateTime?,
val opprettet: LocalDateTime,
) {
enum class Aarsak... | 4 | Kotlin | 0 | 0 | fa35df212e49bf7da951fcce27ac57da68023025 | 1,263 | amt-deltaker-bff | MIT License |
katz/src/main/kotlin/katz/instances/IdComonad.kt | klappvisor | 96,400,685 | true | {"Kotlin": 168912} | package kategory
interface IdComonad : Comonad<Id.F> {
override fun <A, B> coflatMap(fa: IdKind<A>, f: (IdKind<A>) -> B): IdKind<B> =
fa.ev().map({ f(fa) })
override fun <A> extract(fa: IdKind<A>): A =
fa.ev().value
}
| 0 | Kotlin | 0 | 0 | d1c8aa29cdfe751e30a79129bee3b7ed02cafb33 | 252 | kategory | Apache License 2.0 |
app/src/main/java/com/scnr/MainActivity.kt | tenpercent | 255,009,895 | false | null | package com.scnr
import android.os.Bundle
import androidx.fragment.app.Fragment
import androidx.fragment.app.FragmentActivity
import androidx.lifecycle.ViewModelProvider
import androidx.viewpager2.adapter.FragmentStateAdapter
import androidx.viewpager2.widget.ViewPager2
import com.scnr.ui.CameraXFragment
import com.sc... | 0 | Kotlin | 0 | 1 | 573d5a7e37d64760b17107c8ea617cae67a96923 | 1,100 | SCNR | Creative Commons Zero v1.0 Universal |
KotlinBoilerplate/app/src/main/java/com/tiknil/app/views/fragments/MainFragment.kt | tiknil | 231,347,612 | false | null | package com.tiknil.app.views.fragments
import com.tiknil.app.BR
import com.tiknil.app.R
import com.tiknil.app.core.views.BaseFragment
import com.tiknil.app.databinding.FragmentMainBinding
import com.tiknil.app.viewmodels.fragment.MainFragmentVM
import javax.inject.Inject
class MainFragment : BaseFragment<FragmentMain... | 0 | Kotlin | 0 | 0 | 3f23aff48af14ab54756aad4f5aad3ac2f6bd28b | 1,184 | kotlin-boilerplate-mvvm | Apache License 2.0 |
src/main/kotlin/jp/pois/liter/LiterList.kt | pois0 | 277,718,279 | false | null | /*
* Copyright 2020 poispois
*
* 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 writ... | 1 | Kotlin | 0 | 0 | 9b0c7c8ae29069b4fde6d2e54787e54b18515267 | 5,635 | Liter | Apache License 2.0 |
sample/androidApp/src/main/java/com/attafitamim/kabin/sample/android/MainActivity.kt | tamimattafi | 702,197,843 | false | null | package com.attafitamim.kabin.sample.android
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.attafitamim.kabin.core.database.KabinDatabaseConfiguration
import com.attafitamim.kabin.local.Playground
class MainActivity : AppCompatActivity() {
private val playground: Playground b... | 0 | null | 3 | 50 | 58a0bbe438f027eb0e3dc99d1cdb64149d487b6b | 685 | kabin | Apache License 2.0 |
scopes/src/main/java/com/hallett/scopes/di/ScopeGeneratorModule.kt | c8hallett | 374,226,825 | false | null | package com.hallett.scopes.di
import com.hallett.scopes.IScopeGenerator
import com.hallett.scopes.ScopeGenerator
import org.kodein.di.Kodein
import org.kodein.di.generic.bind
import org.kodein.di.generic.singleton
val scopeGeneratorModule = Kodein.Module("scope_generator_module"){
bind<IScopeGenerator>() with si... | 0 | Kotlin | 0 | 0 | 1b537ff84e6db51f7530463efe9c31691706dc8d | 350 | BujoAssistant | MIT License |
constraintlayout/compose/src/main/java/androidx/constraintlayout/compose/ConstraintSetParser.kt | androidx | 212,409,034 | 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 67 | null | 126 | 871 | afe1adbcc0520ee3dff2816e7151388fd559d681 | 43,938 | constraintlayout | Apache License 2.0 |
src/lib/collections/MutableIterableExtensions.kt | jonward1982 | 350,285,956 | true | {"Kotlin": 213021, "Java": 286} | package lib.collections
inline fun<T> MutableIterable<T>.mutableWithIndex(): MutableIterable<IndexedValue<T>> = MutableIterable {
IndexingMutableIterator(this)
}
inline fun<T> Iterable<MutableIterable<T>>.mutableFlatten(): MutableIterable<T> = MutableIterable {
FlattenedMutableIterator(this)
}
fun<T,R> Iter... | 0 | Kotlin | 0 | 0 | 621d32d5e2d9d363c753d42cd1ede6b31195e716 | 4,629 | AgentBasedMCMC | MIT License |
src/main/java/graphene/rpc/Clients.kt | abitmore | 479,743,257 | false | {"Kotlin": 447335, "Java": 97085} | package graphene.rpc
import graphene.app.API
import graphene.app.APIType
import graphene.extension.info
import graphene.serializers.GRAPHENE_JSON_PLATFORM_SERIALIZER
import io.ktor.client.*
import io.ktor.client.engine.cio.*
import io.ktor.client.plugins.contentnegotiation.*
import io.ktor.client.plugins.websocket.*
i... | 0 | Kotlin | 0 | 0 | ddd17eb771eea649e681667b6d85e4f292e9e839 | 8,169 | bitshares-kit | MIT License |
libraries/splitfeature/src/main/java/com/lgdevs/splitfeature/DownloadFeature.kt | luangs7 | 493,071,853 | false | null | package com.lgdevs.splitfeature
import android.util.Log
import androidx.compose.foundation.layout.*
import androidx.compose.material.AlertDialog
import androidx.compose.material.CircularProgressIndicator
import androidx.compose.material.Text
import androidx.compose.runtime.*
import androidx.compose.runtime.saveable.re... | 0 | Kotlin | 0 | 3 | 5a4019d97a74658d9bed4b194c574ab53da28bd9 | 3,463 | MyNextBook | MIT License |
app/src/main/java/ru/iddqdpwn/vkonkurse/local/db/dao/GiveawayDao.kt | vlad-dz | 377,438,926 | false | null | package ru.iddqdpwn.vkonkurse.local.db.dao
import androidx.lifecycle.LiveData
import androidx.room.*
import ru.iddqdpwn.vkonkurse.local.db.model.Giveaway
@Dao
interface GiveawayDao {
@Insert(onConflict = OnConflictStrategy.REPLACE)
fun insert(giveaway: Giveaway)
@Delete
fun delete(giveaway: Giveaway)... | 0 | Kotlin | 0 | 0 | 4b5a4727b1992903de7e3a55cf587f1633bffe71 | 403 | VKonkurse | Apache License 2.0 |
app/src/main/kotlin/com/dot/gallery/feature_node/presentation/edit/components/filters/FilterSelector.kt | IacobIonut01 | 614,314,251 | false | {"Kotlin": 1381485, "Shell": 455} | package com.dot.gallery.feature_node.presentation.edit.components.filters
import androidx.compose.animation.animateColorAsState
import androidx.compose.animation.core.animateDpAsState
import androidx.compose.foundation.Image
import androidx.compose.foundation.border
import androidx.compose.foundation.clickable
import ... | 87 | Kotlin | 66 | 1,292 | 261ceb8c5ade6ede7b295536b9384ac12d77f572 | 3,764 | Gallery | Apache License 2.0 |
dTrip-main/app/src/main/java/com/zzp/dtrip/data/Result.kt | Dcelysia | 865,949,432 | false | {"Kotlin": 188427, "Java": 96523} | package com.zzp.dtrip.data
data class Result(
val ad_info: AdInfoX,
val address: String,
val address_component: AddressComponent,
val address_reference: AddressReference,
val formatted_addresses: FormattedAddresses,
val location: Location,
val poi_count: Int,
val pois: List<Poi>
) | 0 | Kotlin | 0 | 0 | 3e3774c4b36d6f07f1714f7876103c9d08910475 | 314 | 2024-shumei-app | Apache License 2.0 |
src/main/kotlin/com/github/fnunezkanut/HelloVerticle.kt | fnunezkanut | 128,556,031 | false | null | package com.github.fnunezkanut
import io.vertx.core.AbstractVerticle
import io.vertx.core.logging.LoggerFactory
import io.vertx.kotlin.core.http.HttpServerOptions
class HelloVerticle : AbstractVerticle() {
companion object {
private val logger = LoggerFactory.getLogger(HelloVerticle::class.java)
}
... | 0 | Kotlin | 0 | 0 | 9587f028e31b709f042b3b6061e0aa8ebaaa1361 | 812 | vertx-kotlin-helloworld | MIT License |
app/src/main/java/com/gms/app/repo/videos/VideosRepo.kt | YasserAdel564 | 406,843,475 | false | {"Kotlin": 193933} | package com.gms.app.repo.videos
import android.util.Log
import com.gms.app.data.storage.local.PreferencesHelper
import com.gms.app.data.storage.local.db.AppDao
import com.gms.app.data.storage.remote.model.auth.CountryModel
import com.gms.app.data.storage.remote.model.auth.GenderModel
import com.gms.app.data.storage.re... | 0 | Kotlin | 0 | 0 | 96d69372c3d70597395641c6529d48e0830f4770 | 3,556 | GMS | MIT License |
android/app/src/main/java/com/algorand/android/modules/sorting/utils/SortingTypeCreator.kt | perawallet | 364,359,642 | false | {"Swift": 8753304, "Kotlin": 7709389, "Objective-C": 88978, "Shell": 7715, "Ruby": 4727, "C": 596} | /*
* Copyright 2022 Pera Wallet, LDA
* 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,... | 22 | Swift | 62 | 181 | 92fc77f73fa4105de82d5e87b03c1e67600a57c0 | 1,233 | pera-wallet | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.