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
sources/libraries/extensions/src/main/kotlin/com/egoriku/ladyhappy/extensions/View.kt
egorikftp
102,286,802
false
null
@file:Suppress("NOTHING_TO_INLINE") package com.egoriku.ladyhappy.extensions import android.content.res.ColorStateList import android.content.res.TypedArray import android.util.AttributeSet import android.view.View import android.widget.ImageView import androidx.annotation.AttrRes import androidx.annotation.ColorRes ...
12
null
22
261
da53bf026e104b84eebb7c2660c2feae26c6d965
2,700
Lady-happy-Android
Apache License 2.0
src/main/kotlin/com/imoonday/entity/TornadoEntity.kt
iMoonDay
759,188,611
false
{"Kotlin": 472450, "Java": 57363}
package com.imoonday.entity import com.imoonday.init.ModEntities import com.imoonday.util.blockPosSet import net.minecraft.entity.Entity import net.minecraft.entity.EntityType import net.minecraft.entity.LivingEntity import net.minecraft.entity.MovementType import net.minecraft.entity.projectile.ProjectileEntity impor...
0
Kotlin
0
0
3a2660afca6d625c6ce4c08553817eac7960bfec
2,333
AdvancedSkills
Creative Commons Zero v1.0 Universal
app/src/main/java/com/opensource/marvelcharacters/framework/persistance/Migrations.kt
Mohammad-Tabbara
219,486,106
false
null
package com.opensource.marvelcharacters.framework.persistance
0
Kotlin
0
0
71b2036b6ee85c305c6fb3a66fe8d55f32a91245
63
MarvelAndroidApp
Apache License 2.0
kotlin-js/src/jsMain/kotlin/js/collections/JsSet.kt
JetBrains
93,250,841
false
{"Kotlin": 12635434, "JavaScript": 423801}
package js.collections import js.array.JsTuple2 import js.array.ReadonlyArray import js.iterable.JsIterable import js.iterable.JsIterator @JsName("Set") open external class JsSet<T>( values: JsIterable<T> = definedExternally, ) : MutableSetLike<T> { constructor(values: ReadonlyArray<T>) override val size...
38
Kotlin
162
1,347
997ed3902482883db4a9657585426f6ca167d556
1,055
kotlin-wrappers
Apache License 2.0
app/location/src/main/java/net/c7j/wna/huawei/LocationMainActivity.kt
careful7j
604,723,393
false
{"Kotlin": 271725}
package net.c7j.wna.huawei import android.os.Bundle import com.google.android.material.button.MaterialButton import net.c7j.wna.huawei.location.R class LocationMainActivity : BaseActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContentView(R...
0
Kotlin
1
5
e563f3eb0e7c21088c7139177f9f4ca786f43232
855
HMSExamples
Apache License 2.0
app/src/main/java/com/onurcankoroglu/weatherforecastapp/network/MetaWeatherService.kt
korogluOnurcan
355,887,041
false
null
package com.onurcankoroglu.weatherforecastapp.network import com.onurcankoroglu.weatherforecastapp.data.model.Location import com.onurcankoroglu.weatherforecastapp.data.model.LocationInfo import com.onurcankoroglu.weatherforecastapp.data.model.Weather import com.onurcankoroglu.weatherforecastapp.BuildConfig import ret...
0
Kotlin
0
0
75c6b198c25ea63b733e79ea0f64eab480dfd3f1
908
WeatherForecastApp
Apache License 2.0
analysis/analysis-api/testData/annotations/annotationsOnTypes/annotaionWithLiteralArgumentOnType.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...
@Target(AnnotationTarget.TYPE) annotation class TypeAnnotation(val value: Int) fun x(): @TypeAnnotation(1 + 1) Li<caret>st<Int> { TODO() }
181
Kotlin
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
143
kotlin
Apache License 2.0
android-core/src/main/kotlin/org/mint/android/oracle/accessibility/TextSizeCheckOracle.kt
ing-bank
620,378,707
false
{"Kotlin": 375172, "XSLT": 61849}
package com.ing.mint.android.oracle.accessibility import com.ing.mint.lib.OracleCategory class TextSizeCheckOracle : AccessibilityOracle() { override val checkType = "TextSizeCheck" override val name = "text-size-check-oracle" override val version = "1.0.0" override val description = "Looks for text t...
0
Kotlin
2
4
abf96d311b3ebb1bba2a331a353126c653225be9
466
mint
MIT License
app/src/main/java/com/makalaster/ethereal_dialpad/dsp/Flange.kt
Makalaster
235,464,029
false
null
package com.makalaster.ethereal_dialpad.dsp class Flange(length: Int, freq: Float): UGen() { private var line: FloatArray = FloatArray(length) private var phase = 0f private var cyclesPerSample = freq / SAMPLE_RATE private var pointer = 0 override fun render(buffer: FloatArray): Boolean { ...
1
null
1
6
ce10e8be5710025a2e183a1136d29c8594157ad4
959
ethereal-dialpad
MIT License
app/src/main/java/org/stepik/android/domain/course_list/interactor/RemindAppNotificationInteractor.kt
StepicOrg
42,045,161
false
null
package org.stepik.android.domain.course_list.interactor import org.stepic.droid.preferences.SharedPreferenceHelper import org.stepik.android.domain.base.DataSourceType import org.stepik.android.domain.user_courses.repository.UserCoursesRepository import javax.inject.Inject class RemindAppNotificationInteractor @Inje...
13
null
54
189
dd12cb96811a6fc2a7addcd969381570e335aca7
1,365
stepik-android
Apache License 2.0
app/src/main/java/org/japancv/multiplescreens/SecondActivity.kt
japancv
519,971,034
false
null
package org.japancv.multiplescreens import android.content.Context import android.content.Intent import android.hardware.display.DisplayManager import android.os.Bundle import androidx.appcompat.app.AppCompatActivity import org.japancv.multiplescreens.databinding.ActivitySecondBinding class SecondActivity : AppCompat...
0
Kotlin
0
0
41600b564ad71427b413715ba7d744a4934a3fea
1,545
android-multiple-screens-sample
MIT License
src/main/kotlin/org/arend/actions/SearchArendFilesContributor.kt
JetBrains
96,068,447
false
null
package org.arend.actions import com.intellij.ide.actions.searcheverywhere.AbstractGotoSEContributor import com.intellij.ide.actions.searcheverywhere.FileSearchEverywhereContributor import com.intellij.ide.actions.searcheverywhere.SearchEverywhereContributor import com.intellij.ide.actions.searcheverywhere.SearchEvery...
68
null
13
90
bf797990c98da41f192e7e1d9a35694b796676ea
2,051
intellij-arend
Apache License 2.0
src/test/kotlin/com/contentful/java/cma/WebhookTests.kt
contentful
26,211,601
false
{"Batchfile": 1, "XML": 2, "Shell": 90, "Maven POM": 1, "Markdown": 2, "YAML": 4, "Ignore List": 1, "Text": 1, "INI": 1, "JSON": 155, "Kotlin": 48, "Java": 139, "CODEOWNERS": 1}
/* * Copyright (C) 2019 Contentful GmbH * * 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...
5
Java
24
26
84d4a9ff9dafa99eba345eaa7988375e98f625e8
14,819
contentful-management.java
Apache License 2.0
src/main/kotlin/team/yi/rsql/querydsl/util/DateUtil.kt
ymind
268,996,653
false
null
package team.yi.rsql.querydsl.util import java.text.SimpleDateFormat import java.time.* import java.time.format.DateTimeFormatter import java.util.* @Suppress("MemberVisibilityCanBePrivate", "SpellCheckingInspection") object DateUtil { private val regexOptions = setOf(RegexOption.IGNORE_CASE) val DATE_FORMAT...
0
Kotlin
0
6
7a5c81e64bb2f3b53e012c899a2d7f6d9def6a2d
6,425
rsql-querydsl
MIT License
Chapter09/MarvelGallery_Source-code/app/src/main/java/com/sample/marvelgallery/view/common/BaseActivityWithPresenter.kt
PacktPublishing
101,964,449
false
null
package com.sample.marvelgallery.view.common import android.support.v7.app.AppCompatActivity import com.sample.marvelgallery.presenter.Presenter abstract class BaseActivityWithPresenter : BaseActivity() { abstract val presenter: Presenter override fun onDestroy() { super.onDestroy() presente...
1
null
30
53
b079ae28083fc68555f05af0f83dca6414ceec3f
348
Android-Development-with-Kotlin
MIT License
app/src/main/java/com/szoldapps/bitcoin/ui/main/MainViewModel.kt
soldmachine
189,402,408
false
null
package com.szoldapps.bitcoin.ui.main import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import androidx.lifecycle.ViewModel import com.szoldapps.bitcoin.repository.BlockchainRepository import com.szoldapps.bitcoin.repository.model.MarketPriceData import io.reactivex.android.schedulers.Androi...
0
Kotlin
0
0
0eb2419406ea1e6c873062550becc9c83d764111
1,881
BitcoinCodingChallenge
MIT License
app/src/main/java/com/jio/jetpack/compose/dashboard/widgets/DashboardNavigationDrawer.kt
SanjuChauhan
801,980,601
false
{"Kotlin": 134752}
package com.jio.jetpack.compose.dashboard.widgets import android.util.Log import androidx.compose.foundation.Image import androidx.compose.foundation.background import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Box import androi...
0
Kotlin
0
0
6164813e7a3f3a2398ff48f1c679b388d267060a
5,284
JetpackComposeUI
Apache License 2.0
core-sdk/src/main/java/com/frogobox/coresdk/source/FrogoApiClient.kt
frogobox
463,917,159
false
null
package com.frogobox.coresdk.source import okhttp3.Interceptor import okhttp3.OkHttpClient import okhttp3.logging.HttpLoggingInterceptor import retrofit2.Retrofit import retrofit2.adapter.rxjava3.RxJava3CallAdapterFactory import retrofit2.converter.gson.GsonConverterFactory import java.util.concurrent.TimeUnit /** *...
0
null
5
18
51696259b36210af8d251432fb5339922efff795
3,698
frogo-sdk
Apache License 2.0
app/src/main/java/ru/ifmo/rain/listvin/dsl/DSL.kt
listvin
130,500,124
true
{"Kotlin": 70854, "JavaScript": 6295, "HTML": 1602, "CSS": 659}
package ru.ifmo.rain.listvin.dsl import android.content.Context import android.content.res.ColorStateList import android.graphics.Color import android.graphics.drawable.Drawable import android.support.v7.app.AlertDialog import android.support.v7.app.AppCompatActivity import android.text.InputType import android.util.T...
0
Kotlin
0
0
2e12c3016d33500557b0fe69fcc143b5403d3228
6,386
ctddev-kotlin-demo-2017
MIT License
product/web3modal/src/main/kotlin/com/walletconnect/web3/modal/ui/Web3ModalView.kt
WalletConnect
435,951,419
false
{"Kotlin": 2461647, "Java": 4366, "Shell": 1892}
package com.walletconnect.web3.modal.ui import android.content.Context import android.util.AttributeSet import android.view.LayoutInflater import android.widget.FrameLayout import androidx.compose.ui.platform.ComposeView import androidx.compose.ui.platform.ViewCompositionStrategy import com.walletconnect.web3.modal.R ...
78
Kotlin
70
197
743ff1e06def59a721a299a8e76c67e96b9441f6
1,918
WalletConnectKotlinV2
Apache License 2.0
boneslibrary/src/main/java/com/eudycontreras/boneslibrary/extensions/ViewExtensions.kt
EudyContreras
253,115,353
false
null
package com.eudycontreras.boneslibrary.extensions import android.graphics.drawable.ColorDrawable import android.graphics.drawable.GradientDrawable import android.os.Build import android.view.View import android.view.View.NO_ID import android.view.ViewGroup import androidx.core.view.* import com.eudycontreras.boneslibr...
3
Kotlin
15
88
9608f59e023256419777c552f64ffc699433e070
8,957
Skeleton-Bones
MIT License
atala-prism-sdk/src/commonMain/kotlin/io/iohk/atala/prism/walletsdk/domain/models/keyManagement/KeyPair.kt
input-output-hk
564,174,099
false
{"Kotlin": 610578, "Gherkin": 1987, "ANTLR": 1440, "JavaScript": 375}
package io.iohk.atala.prism.walletsdk.domain.models.keyManagement import kotlinx.serialization.Serializable /** * Data class representing a pair of private and public keys for a specific key curve. */ @Serializable abstract class KeyPair { abstract var privateKey: PrivateKey abstract var publicKey: PublicKe...
1
Kotlin
0
5
416c3ee1fb4a9b1e39344f911d4df9f815850cd7
424
atala-prism-wallet-sdk-kmm
Apache License 2.0
aws-crt-kotlin/common/src/aws/sdk/kotlin/crt/http/HttpMonitoringOptions.kt
awslabs
267,704,046
false
null
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ package aws.sdk.kotlin.crt.http /** * This class provides access to basic http connection monitoring controls in lieu of the more traditional * timeouts. * * The user can set a throughput threshold...
5
null
2
6
d0e62ccdb99eb016bf7c7cb52a8f9a6fc12929d3
1,302
aws-crt-kotlin
Apache License 2.0
src/main/kotlin/no/nav/klage/oppgave/domain/klage/KlagerHistorikk.kt
navikt
297,650,936
false
null
package no.nav.klage.oppgave.domain.klage import jakarta.persistence.* import java.time.LocalDateTime import java.util.* @Entity @Table(name = "fullmektighistorikk", schema = "klage") class FullmektigHistorikk( @Id val id: UUID = UUID.randomUUID(), @Embedded @AttributeOverrides( value = [ ...
3
null
4
1
b4036f342d57a21140813fbeb698c1d4f3f33764
1,168
kabal-api
MIT License
app/src/main/java/com/example/mydiagnosis/viewmodel/DiagnosisResultViewModel.kt
VishwaP98
190,676,831
false
null
package com.example.mydiagnosis.viewmodel import android.arch.lifecycle.MutableLiveData import android.arch.lifecycle.ViewModel import android.content.Context import com.example.mydiagnosis.model.Condition import com.example.mydiagnosis.usecase.DiagnoseUseCase import kotlinx.coroutines.CoroutineScope import kotlinx.co...
1
Kotlin
1
0
ccd4ae5cfa2ca7e081ab029943f4c12438def024
768
MyDiagnosis
MIT License
fuzzer/src/test/resources/compilerTestData/codegen/box/coroutines/statementLikeLastExpression.kt
gigliovale
102,885,402
false
null
// WITH_RUNTIME // WITH_COROUTINES import helpers.* import kotlin.coroutines.experimental.* import kotlin.coroutines.experimental.intrinsics.* var globalResult = "" suspend fun suspendWithValue(v: String): String = suspendCoroutineOrReturn { x -> x.resume(v) COROUTINE_SUSPENDED } fun builder(c: suspend () -> ...
2
null
5748
6
ce145c015d6461c840050934f2200dbc11cb3d92
634
kotlin
MIT License
pseudonym-server/src/main/kotlin/org/ostelco/pseudonym/PseudonymModule.kt
mdheyab
157,444,239
true
{"Kotlin": 613166, "Java": 82884, "Shell": 48278, "Dockerfile": 4589}
package org.ostelco.pseudonym import com.fasterxml.jackson.annotation.JsonProperty import com.fasterxml.jackson.annotation.JsonTypeName import io.dropwizard.Configuration import io.dropwizard.setup.Environment import org.ostelco.prime.module.PrimeModule import org.ostelco.pseudonym.resources.PseudonymResource import o...
0
Kotlin
0
0
dd306f17137828cc177836e1be4addccaef5982e
943
ostelco-core
Apache License 2.0
bidon/src/main/java/org/bidon/sdk/databinders/device/DeviceBinder.kt
bidon-io
654,165,570
false
null
package org.bidon.sdk.databinders.device import org.bidon.sdk.config.models.Device import org.bidon.sdk.databinders.DataBinder import org.bidon.sdk.utils.serializer.serialize import org.json.JSONObject /** * Created by <NAME> on 06/02/2023. */ internal class DeviceBinder( private val dataSource: DeviceDataSourc...
1
Kotlin
0
0
a624344c96c08ee05c026daed8ca7634f56daf0f
1,340
bidon_sdk_android
Apache License 2.0
projects/Kotlin/src/proto/protoex/fbe/Proxy.kt
stinnux
179,512,303
false
{"Markdown": 3, "CMake": 7, "YAML": 4, "Text": 1, "Ignore List": 12, "Git Attributes": 1, "C++": 55, "Maven POM": 1, "XML": 114, "Java": 443, "Ruby": 26, "Microsoft Visual Studio Solution": 2, "C#": 64, "Go": 419, "Kotlin": 458, "JSON": 2, "JavaScript": 35, "Python": 31, "C": 1, "Yacc": 1, "Lex": 1}
// Automatically generated by the Fast Binary Encoding compiler, do not modify! // https://github.com/chronoxor/FastBinaryEncoding // Source: protoex.fbe // Version: 1.2.0.0 @file:Suppress("UnusedImport", "unused") package protoex.fbe import java.io.* import java.lang.* import java.lang.reflect.* import java.math.* ...
1
null
1
1
8e11fece6509af3299c29edd1b14d246c0a4574e
3,630
FastBinaryEncoding
MIT License
y2016/src/main/kotlin/adventofcode/y2016/Day04.kt
Ruud-Wiegers
434,225,587
false
{"Kotlin": 453707}
package adventofcode.y2016 import adventofcode.io.AdventSolution object Day04 : AdventSolution(2016, 4, "Security Through Obscurity") { override fun solvePartOne(input: String) = parseRooms(input) .sumOf { it.id } .toString() override fun solvePartTwo(input: String) = parseRooms(input...
0
Kotlin
0
3
f988b7b77f7b03b7ef4b1269192c9a41abe789f4
1,600
advent-of-code
MIT License
app/src/main/kotlin/com/akagiyui/common/GeetestCaptchaV4Template.kt
AkagiYui
647,653,830
false
{"Kotlin": 306901, "Java": 87795, "HTML": 812, "Dockerfile": 658}
package com.akagiyui.common import com.akagiyui.common.crypto.DataSigner import com.akagiyui.common.crypto.HmacSHA256DataSigner import com.akagiyui.common.exception.GeetestCaptchaValidateException import com.akagiyui.common.model.CaptchaType import com.akagiyui.common.model.ClientType import com.akagiyui.common.model....
4
Kotlin
3
17
cad68a3376fd8ba44cbb1cf5fb319627932c347b
3,028
KenkoDrive
MIT License
sw-server/src/main/kotlin/org/luxons/sevenwonders/server/repositories/PlayerRepository.kt
starsep
345,459,240
true
{"Kotlin": 541243, "HTML": 785, "Dockerfile": 457}
package org.luxons.sevenwonders.server.repositories import io.micrometer.core.instrument.MeterRegistry import org.luxons.sevenwonders.model.api.actions.Icon import org.luxons.sevenwonders.server.ApiMisuseException import org.luxons.sevenwonders.server.lobby.Player import org.springframework.stereotype.Repository impor...
0
null
0
0
4647f3ad469b527c0716be30f8bb7ff382eba3bd
1,331
seven-wonders
MIT License
src/main/kotlin/feature/tasklist/TaskListSlice.kt
AKJAW
273,694,612
false
null
package feature.tasklist import feature.tasklist.thunk.FetchTaskThunk import redux.RAction import store.RThunk object TaskListSlice { data class State( val tasks: Array<Task> = emptyArray(), val isLoading: Boolean = true ) private val fetchTaskThunk = FetchTaskThunk() fun fetchTasks(...
0
Kotlin
1
3
5b45a3bc57669f920fdada004ca3861382638441
1,031
kotlin-react-example
MIT License
misk-jdbc/src/test/kotlin/misk/jdbc/DeclarativeSchemaMigratorTest.kt
cashapp
113,107,217
false
{"Kotlin": 3916547, "TypeScript": 285736, "Java": 83564, "JavaScript": 6613, "Shell": 5536, "HTML": 2323, "CSS": 58, "HCL": 20}
package misk.jdbc import jakarta.inject.Inject import misk.MiskTestingServiceModule import misk.config.MiskConfig import misk.database.StartDatabaseService import misk.environment.DeploymentModule import misk.resources.ResourceLoader import misk.testing.MiskTest import misk.testing.MiskTestModule import org.junit.jupi...
168
Kotlin
169
399
76aa8e38a05c913d86cffc581363f82fd132e5c4
3,965
misk
Apache License 2.0
agp-compatibility/agp-compatibility-api/src/main/java/com/likethesalad/tools/agpcompat/api/AgpCompatibilityEntrypoint.kt
LikeTheSalad
413,299,542
false
null
package com.likethesalad.tools.agpcompat.api import com.likethesalad.tools.agpcompat.api.utilities.AgpVersion import org.gradle.api.Project import org.gradle.api.logging.Logging import java.util.ServiceLoader abstract class AgpCompatibilityEntrypoint { abstract fun getDescription(): String abstract fun isCo...
0
null
0
1
1b5c210315a549e727511850320456cad559cfe3
2,653
android-gradle-tools
MIT License
vector/src/main/java/im/vector/riotx/features/crypto/recover/BackupToQuadSMigrationTask.kt
aalzehla
287,565,471
false
{"Gradle": 8, "Markdown": 12, "Java Properties": 2, "Shell": 18, "Text": 3, "Ignore List": 7, "Batchfile": 1, "EditorConfig": 1, "YAML": 1, "INI": 2, "Proguard": 5, "XML": 787, "Kotlin": 2101, "Java": 12, "JavaScript": 4, "JSON": 5, "HTML": 2, "FreeMarker": 2, "Fluent": 7, "Python": 1}
/* * Copyright (c) 2020 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...
1
null
1
1
ee1d5faf0d59f9cc1c058d45fae3e811d97740fd
8,481
element-android
Apache License 2.0
intellij/src/main/kotlin/com/mintlify/document/services/MyProjectService.kt
mintlify
441,005,943
false
{"TypeScript": 290835, "Kotlin": 11244, "Java": 4632, "JavaScript": 2061, "Procfile": 37}
package com.mintlify.document.services import com.intellij.openapi.project.Project import com.mintlify.document.MyBundle class MyProjectService(project: Project) { init { println(MyBundle.message("projectService", project.name)) } }
60
TypeScript
118
2,564
2be13bd17e26e698ef406eddc8491facb8ae1c04
252
writer
MIT License
app/src/main/java/com/srg/citibox/post_detail/ui/PostDetailViewModel.kt
sebrodgar
233,223,889
false
null
package com.srg.citibox.post_detail.ui import androidx.lifecycle.MutableLiveData import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.srg.citibox.common.data.model.* import com.srg.citibox.post_detail.domain.usecase.GetAuthorByPost import com.srg.citibox.post_detail.domain.usecase.Ge...
0
Kotlin
0
0
d5e4c74d9564a8dae7e3406775687f42acaecb81
2,010
candidate-test-citibox
Apache License 2.0
toolkit/compass/src/main/java/com/arcgismaps/toolkit/compass/Compass.kt
Esri
585,717,773
false
{"Kotlin": 1190928, "Shell": 13696}
/* * * Copyright 2023 Esri * * 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...
7
Kotlin
3
9
7ad544f720b25b5969848e786cb26f2a83b5aa7e
3,989
arcgis-maps-sdk-kotlin-toolkit
Apache License 2.0
08.Local-Storage/02.Local-Storage-HW/app/src/main/java/com/example/workwithapi/fragments/list/FirstFragment.kt
kostadinlambov
555,440,264
false
{"Kotlin": 114361}
package com.example.workwithapi.fragments.list import android.content.Context import android.net.ConnectivityManager import android.net.NetworkCapabilities import android.os.Bundle import android.text.TextUtils import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.fr...
0
Kotlin
0
0
459b44cefa3fee2b6bcf210a967c1a05aea21a90
6,945
Android-Development-with-Kotlin
MIT License
Kotlin Koans/Introduction/Data classes/Solution.kt
Kotlin
50,311,744
false
null
package introduction.data_classes /*<answer><taskWindow>*/data class Person(val name: String, val age: Int)/*</taskWindow></answer>*/ fun getPeople(): List<Person> { return listOf(Person("Alice", 29), Person("Bob", 31)) }
14
Kotlin
18
55
9028a7b3d5c7fc6f9b669deee4596f97f4272b8b
227
kotlin-koans-edu-obsolete
MIT License
src/main/java/com/tang/intellij/lua/codeInsight/inspection/DuplicateClassDeclaration.kt
caniouff
251,665,370
false
null
/* * Copyright (c) 2017. tangzx(love.tangzx@qq.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
0
null
0
1
b70bfb0ea20c1e00327eff25453ed0bf9349d0dc
2,081
typeLuaPlugin
Apache License 2.0
vector/src/main/java/im/vector/riotx/features/settings/devices/DevicesViewModel.kt
tchigher
235,243,831
true
{"Kotlin": 4474324, "Java": 113304, "HTML": 23530, "Shell": 21130}
/* * Copyright 2019 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 ...
0
null
0
0
d1699279febb15c9a943bdd71d1eb71656c521cf
9,487
riotX-android
Apache License 2.0
api/src/main/kotlin/com/example/in/api/sign/adapter/in/request/SignUpTrainerWithEmailRequest.kt
PARKPARKWOO
737,782,254
false
{"Kotlin": 332477, "Dockerfile": 124}
package com.example.api.sign.adapter.`in`.request import com.example.core.sign.port.`in`.command.SignUpUserWithEmailCommand import com.example.core.sign.port.`in`.command.SignUpTrainerWithEmailCommand import com.example.core.user.model.Gender import java.util.UUID data class SignUpTrainerWithEmailRequest( val ema...
9
Kotlin
0
0
fbf1272971e226519cd9919011fff785650994d3
1,088
barbellrobot-backend
Apache License 2.0
server/src/test/kotlin/dev/cuvar/tcserver/TcServerApplicationTests.kt
cuvar
526,288,202
false
null
package dev.cuvar.tcserver import org.junit.jupiter.api.Test import org.springframework.boot.test.context.SpringBootTest @SpringBootTest class TcServerApplicationTests { @Test fun contextLoads() { } }
1
Kotlin
0
0
8c29376d1fd0c9f668abdac2bcc464558dba6e5f
208
twitter-clone
MIT License
mysoothe/src/main/java/com/fjoglar/composechallenge/mysoothe/ui/screens/WelcomeScreen.kt
felipejoglar
412,404,654
false
null
package com.fjoglar.composechallenge.mysoothe.ui.screens import android.content.res.Configuration import androidx.compose.foundation.Image import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.foundat...
0
Kotlin
0
0
688692b44e59e9e25f966426ff08beaf1dd50d27
2,754
jetpack-compose-challenge
MIT License
intellijPlugin/src/main/kotlin/pw/binom/fbx/file/FbxVisiter.kt
caffeine-mgn
223,796,620
false
null
package pw.binom.fbx.file interface ElementContener { fun element(id: String): ElementVisiter? } interface ElementVisiter : ElementContener { fun property(value: Any) fun elementEnd() } interface FbxVisiter : ElementContener { fun start() fun version(version: UInt) fun end() }
6
Kotlin
0
4
e673acfcb20e2d62d8e68c43d395731bd9d9d882
304
mogot
Apache License 2.0
lib/src/main/kotlin/com/lemonappdev/konsist/core/verify/KoDeclarationAndProviderAssertCore.kt
LemonAppDev
621,181,534
false
null
package com.lemonappdev.konsist.core.verify import com.lemonappdev.konsist.api.declaration.KoAnnotationDeclaration import com.lemonappdev.konsist.api.declaration.KoFileDeclaration import com.lemonappdev.konsist.api.provider.KoAnnotationProvider import com.lemonappdev.konsist.api.provider.KoBaseProvider import com.lemo...
8
null
11
71
c3cf91622bab1938fecbc96c119cbbb70e372451
6,120
konsist
Apache License 2.0
src/test/java/com/tibagni/logviewer/rc/LogLevelConfigTests.kt
tibagni
108,044,981
false
null
package com.tibagni.logviewer.rc import org.junit.Test import org.junit.Assert.assertEquals class LogLevelConfigTests { @Test fun testVerboseConfig() { val config1 = Pair(LogLevelConfig("v"), "lower case single letter") val config2 = Pair(LogLevelConfig("V"), "upper case single letter") ...
2
null
5
8
0926a68d59fefff60c57a8637a35378695c8983e
4,371
LogViewer
MIT License
app/src/main/java/com/hxbreak/animalcrossingtools/adapter/LightAdapter.kt
HxBreak
268,269,758
false
null
package com.hxbreak.animalcrossingtools.adapter import android.annotation.SuppressLint import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.TextView import androidx.paging.PagingDataAdapter import androidx.recyclerview.widget.DiffUtil import androidx.recyclerv...
0
Kotlin
1
6
ced2cb55e8d6c33da4678b48957428c593c95dbe
6,148
AnimalCrossingTools-Android
MIT License
one.lfa.updater.inventory.api/src/main/java/one/lfa/updater/inventory/api/InventoryEvent.kt
AULFA
189,855,520
false
null
package one.lfa.updater.inventory.api import java.util.UUID sealed class InventoryEvent { object InventoryStateChanged : InventoryEvent() sealed class InventoryRepositoryEvent : InventoryEvent() { abstract val repositoryId: UUID sealed class InventoryRepositoryItemEvent : InventoryRepositoryEvent() { ...
2
null
1
1
5cde488e4e9f9e60f5737d9e1a8fc8817f6b22a8
940
updater
Apache License 2.0
app/src/main/java/inoxoft/simon/shop/model/cash/CashDatabase.kt
Sighmore
872,072,217
false
{"Kotlin": 22850}
package inoxoft.simon.shop.model.cash import androidx.room.Database import androidx.room.RoomDatabase @Database(entities = [Record::class], version = 1) abstract class CashDatabase : RoomDatabase(){ abstract val dao: CashDao }
0
Kotlin
0
0
2670e304a51282f79134e01ad53253c321b72e62
234
Rizz-Shop
MIT License
src/main/kotlin/no/nav/hjelpemidler/service/oebsdatabase/HjelpemiddeloversiktDao.kt
navikt
371,349,324
false
null
package no.nav.hjelpemidler.service.oebsdatabase import kotlinx.coroutines.runBlocking import kotliquery.queryOf import kotliquery.sessionOf import no.nav.hjelpemidler.client.hmdb.HjelpemiddeldatabaseClient import no.nav.hjelpemidler.client.hmdb.hentprodukter.Produkt import no.nav.hjelpemidler.configuration.Configurat...
1
Kotlin
0
0
f69d717d1cec837d3a815d8f4036880e5626cd65
5,185
hm-oebs-api-proxy
MIT License
library/kotlin/src/io/envoyproxy/envoymobile/RequestMapper.kt
alashow
215,869,809
false
null
package io.envoyproxy.envoymobile internal fun Request.outboundHeaders(): Map<String, List<String>> { val retryPolicyHeaders = retryPolicy?.outboundHeaders() ?: emptyMap() val result = mutableMapOf<String, List<String>>() result.putAll(headers.filter { entry -> !entry.key.startsWith(":") && !entry.key.startsWit...
1
null
2
1
9c7a1839f8196211af20f7f86cdb80872f719856
1,048
envoy-mobile
Apache License 2.0
shuttle/predictions/domain/src/main/kotlin/shuttle/predictions/domain/usecase/ObserveSuggestedApps.kt
fardavide
462,194,990
false
null
package shuttle.predictions.domain.usecase import arrow.core.Either import arrow.core.left import arrow.core.right import kotlinx.coroutines.flow.Flow import kotlinx.coroutines.flow.flatMapLatest import kotlinx.coroutines.flow.flowOf import kotlinx.coroutines.flow.map import shuttle.apps.domain.model.SuggestedAppModel...
14
Kotlin
1
14
ce2910eae0ec07880184628e2b2cc34e09da3ab2
1,096
Shuttle
Apache License 2.0
apps/etterlatte-brev-api/src/main/kotlin/no/nav/etterlatte/brev/behandling/SakOgBehandlingService.kt
navikt
417,041,535
false
null
package no.nav.etterlatte.brev.behandling import kotlinx.coroutines.Deferred import kotlinx.coroutines.async import kotlinx.coroutines.coroutineScope import no.nav.etterlatte.brev.behandlingklient.BehandlingKlient import no.nav.etterlatte.brev.beregning.BeregningKlient import no.nav.etterlatte.brev.grunnlag.GrunnlagKl...
8
Kotlin
0
3
5c79aa753584026a360f097f449e677e2f125759
6,630
pensjon-etterlatte-saksbehandling
MIT License
accsaber-api/src/main/kotlin/de/ixsen/accsaber/api/controllers/staff/CurveController.kt
accsaber
317,599,110
false
{"Kotlin": 122506, "Shell": 37}
package de.ixsen.accsaber.api.controllers.staff import de.ixsen.accsaber.api.dtos.staff.CurveDto import de.ixsen.accsaber.business.staff.CurveService import org.springframework.boot.autoconfigure.condition.ConditionalOnExpression import org.springframework.http.ResponseEntity import org.springframework.web.bind.annota...
3
Kotlin
0
3
380ee6537cf0d355b6a896544d4c65dc387214d0
970
accsaber-backend
MIT License
src/test/kotlin/no/nav/hm/grunndata/register/iso/IsoCategoryRegistrationRepositoryTest.kt
navikt
572,421,718
false
{"Kotlin": 358035, "Dockerfile": 113, "Shell": 111}
package no.nav.hm.grunndata.register.iso import io.kotest.common.runBlocking import io.kotest.matchers.nulls.shouldNotBeNull import io.kotest.matchers.shouldBe import io.micronaut.test.extensions.junit5.annotation.MicronautTest import no.nav.hm.grunndata.register.REGISTER import org.junit.jupiter.api.Test @MicronautT...
0
Kotlin
0
2
66033b2f39c3bda7b1768b516e75b7976fd7adb1
2,185
hm-grunndata-register
MIT License
src/main/kotlin/net/voldrich/aoc2021/Day1.kt
MavoCz
434,703,997
false
{"Kotlin": 116214}
package net.voldrich.aoc2021 import net.voldrich.BaseDay // https://adventofcode.com/2021/day/1 fun main() { Day1().run() } class Day1 : BaseDay() { private val elevations: IntArray = input.lines() .map { it.toInt() } .toIntArray() override fun task1() : Int { var incrementCount...
0
Kotlin
0
0
8a1472434f78b01a7ca6eaf8e312d3371f13b1c8
1,049
advent-of-code
Apache License 2.0
feature/profile/domain/src/main/java/com/montfel/pokfinder/feature/profile/domain/model/HatchCounter.kt
Montfel
489,497,209
false
{"Kotlin": 179677}
package com.montfel.pokfinder.feature.profile.domain.model data class HatchCounter( val cycles: Int?, val steps: Int? )
24
Kotlin
1
10
9eaa88c7c1c049e180e6097a9ad28a69fecd4c62
129
pokfinder
MIT License
legacy/src/main/java/jp/hazuki/yuzubrowser/legacy/reader/Decoder.kt
hazuki0x0
84,384,224
false
{"Gradle": 19, "Markdown": 5, "Java Properties": 3, "Shell": 1, "Text": 5, "Ignore List": 17, "Batchfile": 1, "EditorConfig": 1, "Proguard": 16, "Java": 172, "XML": 519, "Kotlin": 613, "YAML": 1, "HTML": 16, "CSS": 6, "JavaScript": 5, "Gradle Kotlin DSL": 1, "JSON": 91, "INI": 1}
/* * Copyright (C) 2017-2019 Hazuki * * 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...
115
Kotlin
95
301
6a867f406b7fc6b29f1899c7ca622e7ce75fafa0
2,696
YuzuBrowser
Apache License 2.0
chazm-api/src/main/kotlin/runtimemodels/chazm/api/relation/Needs.kt
RuntimeModels
32,474,965
false
{"Git Config": 1, "Gradle Kotlin DSL": 4, "Gradle": 5, "Markdown": 4, "INI": 3, "YAML": 4, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "Git Attributes": 1, "EditorConfig": 1, "XML": 23, "Kotlin": 156, "Java": 15}
package runtimemodels.chazm.api.relation import runtimemodels.chazm.api.entity.Attribute import runtimemodels.chazm.api.entity.Role import runtimemodels.chazm.api.organization.Organization /** * The [Needs] interface defines a needs relation, where a [Role] needs an [Attribute], of an [Organization]. * * @author <...
7
null
1
1
e64c35dbd0a11a0f3759305e1cae4b2b593005c8
522
chazm
Apache License 2.0
serialization/src/commonMain/kotlin/nl/adaptivity/xmlutil/serialization/XMLDecoder.kt
Xfel
216,806,374
true
{"Kotlin": 553019, "Java": 81}
/* * Copyright (c) 2018. * * This file is part of XmlUtil. * * This file is licenced to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You should have received a copy of the license with the source distribution. * Alternatively, y...
0
null
0
0
dcdb686c02096cc5417785295e8b273f7f6b26a2
42,033
xmlutil
Apache License 2.0
concrete-sample/src/main/java/com/jaynewstrom/concretesample/details/DetailsListItemView.kt
JayNewstrom
46,246,249
false
null
package com.jaynewstrom.concretesample.details import android.content.Context import android.view.LayoutInflater import android.widget.LinearLayout import android.widget.TextView import com.jaynewstrom.concrete.Concrete import com.jaynewstrom.concretesample.R import javax.inject.Inject import javax.inject.Named class...
1
Kotlin
1
4
b9735cbf5f1d4725240cbe06a9cb8ce1eb752686
942
Concrete
Apache License 2.0
decoder/wasm/src/commonMain/kotlin/io/github/charlietap/chasm/decoder/wasm/decoder/type/result/ResultTypeDecoder.kt
CharlieTap
743,980,037
false
{"Kotlin": 1667685, "WebAssembly": 75136}
package io.github.charlietap.chasm.decoder.wasm.decoder.type.result import com.github.michaelbull.result.Result import io.github.charlietap.chasm.ast.type.ResultType import io.github.charlietap.chasm.decoder.wasm.error.WasmDecodeError import io.github.charlietap.chasm.decoder.wasm.reader.WasmBinaryReader internal typ...
2
Kotlin
2
43
4cb170e73e120a15de6397ad24d2f23c1fae3f87
405
chasm
Apache License 2.0
app/src/main/java/com/geekymusketeers/uncrack/ui/fragments/GeneratePasswordFragment.kt
aritra-tech
569,328,395
false
null
package com.geekymusketeers.uncrack.fragments import android.content.ClipData import android.content.ClipboardManager import android.os.Bundle import androidx.fragment.app.Fragment import android.view.View import androidx.core.content.ContextCompat import com.geekymusketeers.uncrack.R import com.geekymusketeers.uncrac...
0
Kotlin
0
4
0a9d09d89adfa8326f65051467bdd6f32aeaef2e
5,788
UnCrack
MIT License
app/src/main/java/com/zsoltbertalan/flickslate/data/db/UpcomingMoviesDataSource.kt
herrbert74
779,374,786
false
{"Kotlin": 227177}
package com.zsoltbertalan.flickslate.data.db import com.zsoltbertalan.flickslate.domain.model.Movie import com.zsoltbertalan.flickslate.domain.model.PageData import com.zsoltbertalan.flickslate.domain.model.PagingReply import kotlinx.coroutines.flow.Flow interface UpcomingMoviesDataSource { suspend fun purgeDatabas...
1
Kotlin
2
6
26ed9b8411ad4ff512ee53ac666ac894caba9293
515
FlickSlate
Apache License 2.0
app/src/main/kotlin/com/demo/justapp/exchanger/di/application/NetModule.kt
putnik-busy
141,900,889
false
null
package com.demo.justapp.exchanger.di.application import com.demo.justapp.exchanger.data.interceptor.LoggingInterceptor import com.demo.justapp.exchanger.data.api.CurrencyRatesApi import com.google.gson.* import dagger.Module import dagger.Provides import io.reactivex.schedulers.Schedulers import okhttp3.OkHttpClient ...
0
Kotlin
0
0
756f835ee63164bbb9832ee614f8f4be18449748
2,447
Exchanger
Apache License 2.0
game/plugins/src/main/kotlin/gg/rsmod/plugins/content/areas/lumbridge/take_hatchet.plugin.kts
2011Scape
578,880,245
false
null
package gg.rsmod.plugins.content.areas.lumbridge val RESPAWN_DELAY = 100 on_obj_option(obj = Objs.LOGS_36974, option = "take-hatchet") { val obj = player.getInteractingGameObj() val replacementObject = DynamicObject(obj, Objs.LOGS_36975) val world = player.world if (obj.isSpawned(world)) { if ...
39
null
27
34
e5400cc71bfa087164153d468979c5a3abc24841
835
game
Apache License 2.0
src/main/kotlin/com/mazekine/nova/models/DepositMeta.kt
mazekine
321,032,816
false
null
package com.mazekine.nova.models import com.google.gson.annotations.Expose data class DepositMeta( @Expose val currency: String, @Expose val min: String? = null, @Expose val max: String? = null, @Expose val scale: Int? = null )
0
Kotlin
0
0
f89a7ff2669691923ea7b00312df213ada80ae09
246
nova-lib
Apache License 2.0
src/main/kotlin/br/com/zup/academy/alissonprado/handler/ErrorAroundHandler.kt
alissonkbprado
408,172,599
true
{"Kotlin": 147506}
package br.com.zup.academy.alissonprado.handler import io.micronaut.aop.Around import kotlin.annotation.AnnotationRetention.* import kotlin.annotation.AnnotationTarget.* @MustBeDocumented @Retention(RUNTIME) @Target(CLASS, FIELD, TYPE) @Around annotation class ErrorAroundHandler { }
0
Kotlin
0
0
b2d60c6f4ab309351adf20aac75048216e067872
285
orange-talents-07-template-pix-keymanager-grpc
Apache License 2.0
core/src/org/river/exertion/btree/v0_1/task_cond/IsExtAnxietyHigherCondition.kt
exertionriver
345,650,250
false
null
package org.river.exertion.btree.v0_1.task_cond; import com.badlogic.gdx.Gdx import org.river.exertion.btree.v0_1.ExecLeafCondition import org.river.exertion.btree.v0_1.IBTCharacter class IsExtAnxietyHigherCondition : ExecLeafCondition() { override fun checkCondition(): Status { statusUpdate("${isExtHigh...
0
Kotlin
0
2
e554d700d5fbc16953a61d782cbe63162072483a
556
koboldCave
MIT License
http4k-core/src/main/kotlin/org/http4k/websocket/websocket.kt
s4nchez
258,724,328
false
{"Shell": 17, "Gradle Kotlin DSL": 3, "Text": 12, "JSON": 5, "Markdown": 94, "Java Properties": 3, "INI": 2, "Gradle": 67, "Ignore List": 3, "Batchfile": 1, "EditorConfig": 1, "Kotlin": 932, "Java": 24, "XML": 5, "JavaScript": 9, "YAML": 11, "Handlebars": 13, "SVG": 37, "CSS": 4, "HTML": 25, "OASv3-json": 3, "HTTP": 1,...
package org.http4k.websocket import org.http4k.core.Body import org.http4k.core.Request import org.http4k.websocket.WsStatus.Companion.NORMAL import java.io.InputStream /** * Represents a connected Websocket instance, and can be passed around an application. This is configured * to react to events on the WS event s...
1
null
1
1
220590204fe37a9a22723dbdc9b6cfbbcaf5f975
986
http4k
Apache License 2.0
jvm/core/src/main/kotlin/com/intuit/playerui/core/bridge/serialization/serializers/NodeSerializableField.kt
player-ui
513,673,239
false
null
package com.intuit.playerui.core.bridge.serialization.serializers import com.intuit.playerui.core.bridge.Node import com.intuit.playerui.core.bridge.NodeWrapper import com.intuit.playerui.core.bridge.serialization.format.serializer import com.intuit.playerui.core.experimental.ExperimentalPlayerApi import com.intuit.pl...
82
null
46
71
a363556f629d0556568fe2696338ec7f57ff2ccc
4,814
player
MIT License
app/src/test/java/com/okanaydin/assignment/features/posts/PostListUseCaseTest.kt
okanaydin
358,368,399
false
null
package com.okanaydin.assignment.features.posts import com.google.common.truth.Truth.assertThat import com.okanaydin.assignment.data.remote.datasource.model.PhotoModelFactory.getPhoto import com.okanaydin.assignment.data.remote.datasource.model.PostAndPhotoModelFactory.getPostAndPhoto import com.okanaydin.assignment.d...
0
Kotlin
0
32
59e04e539678e3bce7516e4f3c501be921932ef4
3,336
Android-Assignment
Apache License 2.0
creator/src/main/kotlin/io/fabric8/launcher/creator/core/template/Transform.kt
fabric8-launcher
111,528,311
false
null
package io.fabric8.launcher.creator.core.template import io.fabric8.launcher.creator.core.writeLines import java.io.File import java.nio.file.* typealias Transformer = (Sequence<String>) -> Sequence<String> fun transform(inText: String, transform: Transformer): String { return transform(inText.lineSequence()).jo...
105
HTML
56
18
4dbc9e04bddaf31e045701a8d89e518f3425aaff
1,799
launcher-application
Apache License 2.0
src/main/kotlin/net/pdevita/creeperheal2/core/Explosion.kt
pmdevita
273,936,043
false
null
package net.pdevita.creeperheal2.core import kotlinx.coroutines.* import kotlinx.coroutines.sync.Mutex import kotlinx.coroutines.sync.withLock import net.pdevita.creeperheal2.CreeperHeal2 import net.pdevita.creeperheal2.data.MergeableLinkedList import net.pdevita.creeperheal2.utils.async import net.pdevita.creeperheal...
6
Kotlin
2
6
c0ba7471f3b16d368967541d1a62cfd3b31fabcd
22,737
CreeperHeal2
MIT License
app/src/main/java/alektas/telecomapp/ui/datasource/simulation/EtherSettingsFragment.kt
Alektas
214,780,544
false
null
package alektas.telecomapp.ui.datasource.simulation import androidx.lifecycle.ViewModelProviders import android.os.Bundle import androidx.fragment.app.Fragment import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import alektas.telecomapp.R import alektas.telecomapp.domain.entitie...
0
Kotlin
0
0
1e83fbe6daa496f4c4f47d41f404d3e66fb200ff
7,967
Telecom-System
Apache License 2.0
app/src/main/java/dev/esnault/bunpyro/android/display/widget/question/TextUnderlineRenderer.kt
esnaultdev
242,479,002
false
null
package dev.esnault.bunpyro.android.display.widget.question import android.graphics.Canvas import android.graphics.Paint import android.text.Layout /** * Base class for single and multi line text underline renderers. */ internal abstract class TextUnderlineRenderer(val underlinePaint: Paint) { /** * Draw...
2
Kotlin
1
9
89b3c7dad2c37c22648c26500016d6503d27019e
3,059
BunPyro
Intel Open Source License
logic/src/main/java/lt/markmerkk/durak/actions/system/ActionIllegalCannotTranslate.kt
marius-m
733,676,467
false
{"Kotlin": 167943}
package lt.markmerkk.durak.actions.system import lt.markmerkk.durak.actions.Action /** * When action cannot be executed */ data class ActionIllegalCannotTranslate( private val inputAsString: String = "", private val detailDescription: String = "" ) : Action
0
Kotlin
0
0
8f2346cfcbb3c0871fb0db2768fd33d9b2fe277a
277
stupid2
Apache License 2.0
argument/src/main/java/me/reezy/jetpack/argument/ArgumentFloat.kt
czy1121
348,366,676
false
null
package me.reezy.cosmo import android.os.Bundle class ArgumentFloat(default: Float = 0f, key: String? = null): ArgumentField<Float>(default, key) { override fun get(field: String, bundle: Bundle): Float { val o = bundle[field] ?: return default return when(o) { is Number -> o.toFloat(...
0
Kotlin
0
1
cd284d9ca6234b41eba608218b63b2ed6264876a
421
argument
Apache License 2.0
src/main/kotlin/net/casual/arcade/extensions/DataExtension.kt
CasualChampionships
621,955,934
false
{"Kotlin": 567308, "Java": 106965}
package net.casual.arcade.extensions import net.minecraft.nbt.Tag import org.jetbrains.annotations.ApiStatus.OverrideOnly /** * This interface is an extension of [Extension] that allows * you to further serialize any data in your [Extension]. * * Building off the previous example in [Extension] to now * make it ...
1
Kotlin
1
1
8e28b455995a74769470cf1fbb82283f7a05c0d7
2,321
arcade
MIT License
src/main/kotlin/com/github/mpe85/grampa/input/StringBuilderInputBuffer.kt
mpe85
138,511,038
false
{"Kotlin": 270203, "Java": 1073}
package com.github.mpe85.grampa.input /** * An [InputBuffer] implementation using a [StringBuilder]. * * @author mpe85 * @param[stringBuilder] A string builder backing the input buffer */ public class StringBuilderInputBuffer(private val stringBuilder: StringBuilder) : CharSequenceInputBuffer(stringBuilder) {...
7
Kotlin
1
13
fba606664241406e268a042550928e9ef8d77ed1
406
grampa
MIT License
app/src/main/java/com/customappsms/to_dolist/models/Task.kt
MaksymSolomkin
687,570,503
false
{"Kotlin": 27828}
package com.customappsms.to_dolist.models import com.google.firebase.Timestamp import com.google.firebase.firestore.DocumentId data class Task( @DocumentId val id: String = "", val title: String = "", val date: Timestamp = Timestamp.now(), val isCompleted: Boolean = false, var userId: String = "" ...
0
Kotlin
0
1
c674092ac925224846b9c0e19a74efa3018821ee
322
To-Do-List
MIT License
lambda/src/main/typings/textract.module_aws-sdk.kt
kartoffelsup
252,152,703
false
null
@file:Suppress("INTERFACE_WITH_SUPERCLASS", "OVERRIDING_FINAL_MEMBER", "RETURN_TYPE_MISMATCH_ON_OVERRIDE", "CONFLICTING_OVERLOADS", "EXTERNAL_DELEGATION") import kotlin.js.* import kotlin.js.Json import org.khronos.webgl.* import org.w3c.dom.* import org.w3c.dom.events.* import org.w3c.dom.parsing.* import org.w3c.dom...
0
Kotlin
0
0
6c20e6277ea66e531b4b46017faa10270b25b8bc
15,430
kt-js-lambda-cdk-test
Apache License 2.0
compiler/testData/psi/DynamicReceiver.kt
JakeWharton
99,388,807
true
null
fun dynamic.foo() fun dynamic?.foo() val dynamic.foo: Int val dynamic?.foo: Int val foo: dynamic.() -> Unit // testing look-ahead with comments and whitespace fun dynamic . foo() fun dynamic .foo() fun dynamic// line-comment .foo() fun dynamic/* */.foo()
179
Kotlin
5640
83
4383335168338df9bbbe2a63cb213a68d0858104
274
kotlin
Apache License 2.0
java/debugger/impl/src/com/intellij/debugger/memory/filtering/providers.kt
JetBrains
2,489,216
false
null
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. package com.intellij.debugger.memory.filtering import com.intellij.debugger.memory.ui.JavaReferenceInfo import com.intellij.xdebugger.memory.ui.ReferenceInfo import com.intellij.xdebugger.memory.uti...
284
null
5162
16,707
def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0
1,634
intellij-community
Apache License 2.0
src/main/java/me/oriharel/machinery/machine/Machine.kt
Heknon
263,055,461
false
null
package me.oriharel.machinery.machine import me.oriharel.machinery.Buildable import me.oriharel.machinery.OwnableStructure import me.oriharel.machinery.structure.schematic.Schematic import org.bukkit.Bukkit import org.bukkit.Location import org.bukkit.inventory.Inventory import org.bukkit.inventory.InventoryHolder imp...
0
Kotlin
0
0
a0dd03ef0773e0d6f4c1a2862486103c4887bb87
696
Machinery-2.0
MIT License
app/src/main/java/com/lyscraft/apparel/compose/components/CustomLoadingSpinner.kt
brahman10
843,088,920
false
{"Kotlin": 47388}
package com.lyscraft.apparel.compose.components import androidx.compose.animation.core.LinearEasing import androidx.compose.animation.core.RepeatMode import androidx.compose.animation.core.animateFloat import androidx.compose.animation.core.infiniteRepeatable import androidx.compose.animation.core.rememberInfiniteTran...
0
Kotlin
0
0
fdfbc5a48a48933d667f97aefba8348f11bf56d8
2,692
MovieAppCompose
MIT License
src/main/kotlin/com/query/utils/TrackData.kt
osrsquery
453,886,617
false
{"Kotlin": 183180, "Java": 45630}
package com.query.utils import java.io.File object TrackData { val musicNames = mapOf( 0 to "" ) } fun main() { File("C:\\Users\\Shadow\\Desktop\\track1_by_file\\").listFiles().forEach { val name = it.nameWithoutExtension.substring(4) println("0 to $name ,") } }
1
Kotlin
3
3
00d256ae992ebdf2c2301bfb8b9a684aaeee3412
307
OsrsQuery
MIT License
analysis/analysis-api/testData/components/compilerFacility/compilation/sourceLibModuleInlineFuncOfCompanion.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...
// DUMP_IR // MODULE: ui // MODULE_KIND: LibraryBinary // FILE: com/example/ui/Text.kt package com.example.ui fun Text(text: String) {} // MODULE: myModule // TARGET_PLATFORM: Common // FILE: com/example/myModule/OtherModule.kt @file:JvmName("SpecialName") package com.example.myModule class OtherModule { compan...
181
Kotlin
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
1,301
kotlin
Apache License 2.0
egklib/src/commonTest/kotlin/electionguard/protoconvert/ConvertTestUtils.kt
danwallach
425,905,229
false
null
package electionguard.protoconvert import electionguard.core.* import io.kotest.property.Arb import io.kotest.property.arbitrary.map import io.ktor.utils.io.core.* import kotlin.random.Random import kotlin.random.nextUInt fun generateRangeChaumPedersenProofKnownNonce( context: GroupContext ): ChaumPedersenRangePr...
31
Kotlin
1
4
ee2f5d1cb0d8866803ccdcd1e139ce9c253ade0a
1,659
electionguard-kotlin-multiplatform
MIT License
app/src/main/java/com/skyd/imomoe/view/adapter/SerializableRecycledViewPool.kt
sheepstar1
379,210,337
true
{"Kotlin": 476398, "Java": 86537}
package com.skyd.imomoe.view.adapter import androidx.recyclerview.widget.RecyclerView import java.io.Serializable class SerializableRecycledViewPool : RecyclerView.RecycledViewPool(), Serializable { }
0
null
0
0
5ea117710af7c74d489e2df131de02b8ce28de4b
202
Imomoe
Apache License 2.0
library/src/main/java/io/karn/notify/utils/Errors.kt
j0lzsnz3
133,006,795
true
{"Kotlin": 64803}
package io.karn.notify.utils internal object Errors { const val INVALID_STACK_KEY_ERROR = "Invalid stack key provided." }
0
Kotlin
0
0
f5d96c310304220062361fbb5462fe1402f2e50f
128
notify
MIT License
gi/src/commonMain/kotlin/org/anime_game_servers/multi_proto/gi/data/serenitea_pot/gallery/HomeSeekFurnitureOneRecord.kt
Anime-Game-Servers
642,871,918
false
{"Kotlin": 1651536}
package org.anime_game_servers.multi_proto.gi.data.serenitea_pot.gallery import org.anime_game_servers.core.base.Version.GI_2_7_0 import org.anime_game_servers.core.base.annotations.AddedIn import org.anime_game_servers.core.base.annotations.proto.ProtoModel @AddedIn(GI_2_7_0) @ProtoModel internal interface HomeSeekF...
0
Kotlin
2
6
7639afe4f546aa5bbd9b4afc9c06c17f9547c588
432
anime-game-multi-proto
MIT License
app/src/main/kotlin/dev/aaa1115910/bv/util/LogCatcherUtil.kt
aaa1115910
571,702,700
false
{"Kotlin": 1683327}
package dev.aaa1115910.bv.util import dev.aaa1115910.bv.BVApp import io.github.oshai.kotlinlogging.KotlinLogging import java.io.BufferedReader import java.io.File import java.io.InputStreamReader import java.io.OutputStreamWriter import java.text.SimpleDateFormat import java.util.Date import java.util.Locale object L...
22
Kotlin
161
1,429
ac8c6ca424a99840e4073d7aa8fe71ea8a898388
4,623
bv
MIT License
core/src/main/kotlin/br/com/devsrsouza/kotlinbukkitapi/config/parser/ComponentParser.kt
tomocrafter
247,660,549
true
{"Kotlin": 292496}
package br.com.devsrsouza.kotlinbukkitapi.config.parser import com.google.gson.Gson import net.md_5.bungee.api.chat.* import net.md_5.bungee.chat.* import java.lang.IllegalArgumentException import kotlin.reflect.KType import kotlin.reflect.KTypeProjection import kotlin.reflect.full.createType object ComponentParser :...
0
null
0
0
9bec673e6ae67f710387cb1d102fa6582be2f191
1,228
KotlinBukkitAPI
MIT License
livingdoc-engine/src/main/kotlin/org/livingdoc/engine/execution/FixtureChecks.kt
LivingDoc
85,412,044
false
null
package org.livingdoc.engine.execution import java.lang.reflect.Method import java.lang.reflect.Modifier /** * This function tests a list of functions for their number of parameters that should be zero * @param methods The list of methods that should be checked * @param annotationClass the class where the methods ...
34
null
16
14
f3d52b8bacbdf81905e4b4a753d75f584329b297
2,585
livingdoc
Apache License 2.0
feature/lecture/src/main/java/com/msg/lecture/component/LectureFilterDialog.kt
School-of-Company
700,744,250
false
{"Kotlin": 724178}
package com.msg.lecture.component import androidx.compose.foundation.background import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Row import androidx.compose.foundation.layout.Spacer impo...
7
Kotlin
1
22
358bf40188fa2fc2baf23aa6b308b039cb3fbc8c
5,695
Bitgoeul-Android
MIT License
lib/src/main/kotlin/com/ibm/cloud/appconfiguration/android/sdk/core/ServiceImpl.kt
srikanthkm
331,219,771
false
{"Kotlin": 127899}
/** * Copyright 2021 IBM Corp. All Rights Reserved. * * 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...
0
Kotlin
3
0
2fc84a9aae56bb5364f640052d5630f89fc20d06
4,745
appconfiguration-android-client-sdk
Apache License 2.0