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
bpdm-gate/src/main/kotlin/org/eclipse/tractusx/bpdm/gate/util/BusinessPartnerCopyUtil.kt
eclipse-tractusx
526,621,398
false
null
/******************************************************************************* * Copyright (c) 2021,2024 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. * * This program and the accompanying materials are ma...
42
null
15
6
2a4622c2405b6af23c560160f95233a080df75b8
3,490
bpdm
Apache License 2.0
library/src/main/kotlin/com/ktopencage/model/OpenCageMercator.kt
sgimp
160,092,005
false
null
package com.ktopencage.model class OpenCageMercator { var x: Double = 0.toDouble() var y: Double = 0.toDouble() }
0
Kotlin
1
2
f3186cadd3e90bd20e0788af3782aa85e7affeeb
119
ktopencage
Apache License 2.0
src/main/kotlin/net/fabricmc/bot/conf/FabricBotConfig.kt
FabricMC
272,279,496
false
null
package net.fabricmc.bot.conf import com.gitlab.kordlib.common.entity.Snowflake import com.gitlab.kordlib.core.entity.Guild import com.gitlab.kordlib.core.entity.Role import com.gitlab.kordlib.core.entity.channel.Channel import com.gitlab.kordlib.core.entity.channel.GuildMessageChannel import com.squareup.sqldelight.s...
20
null
10
7
16622cffbc0622c6ca461bfb887f39849fa2b935
8,217
kotlin-fabric-discord-bot
MIT License
dmc_sample/src/main/java/com/shenghuai/bclient/stores/enhance/AutoDisposable.kt
liulei9385
325,307,423
false
{"Java": 38528, "Kotlin": 33762}
package com.shenghuai.bclient.stores.enhance import androidx.collection.ArrayMap import androidx.collection.arrayMapOf import androidx.lifecycle.DefaultLifecycleObserver import androidx.lifecycle.LifecycleOwner import io.reactivex.disposables.CompositeDisposable import io.reactivex.disposables.Disposable /** * Creat...
0
Java
2
9
89a29f81f4ee3ac6d07a52227b9009557fa8ec46
1,592
CyberLink4Android
Apache License 2.0
bitcoin-scan/src/main/kotlin/co/nilin/opex/chainscan/bitcoin/data/BlockResponse.kt
hamid4356
442,666,292
false
{"Kotlin": 18853, "Groovy": 1665, "Dockerfile": 441}
package co.nilin.opex.chainscan.bitcoin.data data class BlockResponse( val hash: String, val height: Int, val tx: List<TransactionResponse> )
0
null
3
0
240c229ede15a599c15d1e428b65b71cb914776e
154
Chain-Scan
MIT License
Corona-Warn-App/src/main/java/de/rki/coronawarnapp/ui/submission/viewmodel/SubmissionDispatcherViewModel.kt
si-covid-19
286,833,811
false
null
package de.rki.coronawarnapp.ui.submission.viewmodel import dagger.assisted.AssistedFactory import dagger.assisted.AssistedInject import de.rki.coronawarnapp.util.ui.SingleLiveEvent import de.rki.coronawarnapp.util.viewmodel.CWAViewModel import de.rki.coronawarnapp.util.viewmodel.SimpleCWAViewModelFactory class Submi...
6
Kotlin
8
15
5a3b4be63b5b030da49216a0132a3979cad89af1
1,036
ostanizdrav-android
Apache License 2.0
passage/generated/src/main/kotlin/id/passage/android/api/CurrentuserAPI.kt
passageidentity
629,111,431
false
{"Kotlin": 380601}
/** * * Please note: * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * Do not edit this file manually. * */ @file:Suppress( "ArrayInDataClass", "EnumEntryName", "RemoveRedundantQualifierName", "UnusedImport" ) package id.passage.android.api import java.io.I...
0
Kotlin
0
2
b592703cb09b90dde874836f3cb9fdc6441c5c8b
42,419
passage-android
MIT License
test/dev/botta/json/parser/JsonParserTest.kt
nbottarini
447,303,575
false
{"Kotlin": 148882}
package com.nbottarini.asimov.json.parser import com.nbottarini.asimov.json.Json import com.nbottarini.asimov.json.values.JsonArray import com.nbottarini.asimov.json.values.JsonNumber import com.nbottarini.asimov.json.values.JsonObject import com.nbottarini.asimov.json.values.JsonValue import org.assertj.core.api.Asse...
0
Kotlin
0
1
c99c26463103fa1f10de0851acdb29770bc544cd
23,164
json-kt
MIT License
platform/platform-impl/src/com/intellij/ide/NewProjectStep.kt
stroyerr
401,048,382
true
null
// Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.ide import com.intellij.ide.NewProjectStep.Settings import com.intellij.ide.util.projectWizard.WizardContext import com.intellij.ide.wizard...
0
null
0
0
04f1339375633c0129929d05d7744bfdd1a93a9a
996
intellij-community
Apache License 2.0
src/main/kotlin/com/sbl/sulmun2yong/survey/domain/InvalidSurveyEditException.kt
SUIN-BUNDANG-LINE
819,257,518
false
{"Kotlin": 405689}
package com.sbl.sulmun2yong.survey.domain import com.sbl.sulmun2yong.global.error.BusinessException import com.sbl.sulmun2yong.global.error.ErrorCode class InvalidSurveyEditException : BusinessException(ErrorCode.INVALID_SURVEY_EDIT)
0
Kotlin
1
3
3084b3ea3ad428ec9d665ba92393631e23004373
236
Backend
MIT License
app/src/main/java/com/example/ar/core/filament/hello/HelloArApplication.kt
GokulDas027
437,953,841
false
{"Kotlin": 116696, "Groovy": 5338, "Shell": 363}
package com.example.ar.core.filament.hello import android.app.Application import com.google.android.filament.utils.Utils class HelloArApplication : Application() { companion object { lateinit var instance: HelloArApplication private set } override fun onCreate() { super.onCreate() ...
1
Kotlin
1
9
234a00fca5dfd43a60596d1ddfa86d1e0b443eed
397
hello_ar_filament
MIT License
app/src/main/java/com/keshavindustryfsmfsm/features/photoReg/present/DsStatusListner.kt
DebashisINT
683,953,107
false
{"Kotlin": 14053215, "Java": 1002345}
package com.keshavindustryfsmfsm.features.photoReg.present import com.keshavindustryfsmfsm.app.domain.ProspectEntity import com.keshavindustryfsmfsm.features.photoReg.model.UserListResponseModel interface DsStatusListner { fun getDSInfoOnLick(obj: ProspectEntity) }
0
Kotlin
0
0
8c286f0ac88c5a0f00b205041edfdf54bda899e3
271
KeshavIndustry
Apache License 2.0
v8n/src/main/java/pl/dzielins42/v8n/SyncValidator.kt
dzielins42
283,757,514
false
null
package pl.dzielins42.v8n import java.util.concurrent.CompletableFuture /** * [Validator] implementation that synchronously executes `validationFunction` to validate provided * value. */ open class SyncValidator<T>( private val validationFunction: (T) -> Boolean ) : Validator<T> { override fun validate(va...
0
Kotlin
0
0
35a93d3094e8423d2a9a1c32f8d97b6eb3ac6d50
470
v8n
Apache License 2.0
cache-core/src/main/kotlin/im/toss/util/reflection/TypeDigest.kt
toss
228,551,924
false
null
package im.toss.util.reflection import im.toss.util.data.encoding.i62.toI62 import im.toss.util.data.hash.sha1 import java.lang.Appendable import java.lang.StringBuilder import java.lang.reflect.* import java.nio.ByteBuffer import java.security.MessageDigest import java.util.concurrent.ConcurrentHashMap class TypeDig...
1
Kotlin
3
7
006062a4cc9548d57c09c11cbccdf1811de73589
10,718
cache
Apache License 2.0
notificare-authentication/src/main/java/re/notifica/authentication/internal/NotificareAuthenticationImpl.kt
Notificare
279,260,636
false
null
package re.notifica.authentication.internal import android.content.Intent import android.content.SharedPreferences import com.google.api.client.auth.oauth2.GoogleStorageUtils import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.withContext import okhttp3.FormBody import re.notifica.* import re.notifica.auth...
2
Kotlin
0
0
9beff0b27290c94b33b1bcabf65d1c94d603fb45
19,426
notificare-sdk-android
MIT License
protocol/src/main/java/me/func/protocol/Unique.kt
funcid
435,308,905
false
{"Kotlin": 505435, "Java": 167}
package me.func.protocol import java.util.UUID interface Unique { val uuid: UUID }
4
Kotlin
0
6
60e6d7d3ffb31e7660c3cab42a1639c24e725ca2
89
visual-driver
Apache License 2.0
sphinx/screens/dashboard/dashboard/src/main/java/chat/sphinx/dashboard/ui/feed/all/FeedAllViewModel.kt
stakwork
340,103,148
false
null
package chat.sphinx.dashboard.ui.feed.all import android.content.Context import androidx.lifecycle.viewModelScope import chat.sphinx.concept_repository_dashboard_android.RepositoryDashboardAndroid import chat.sphinx.dashboard.navigation.DashboardNavigator import chat.sphinx.dashboard.ui.feed.FeedFollowingViewModel imp...
55
Kotlin
5
17
3c8d86fe0417a82fde5ecf4e37be5e894d3265cb
2,867
sphinx-kotlin
MIT License
app/src/main/java/io/agora/flat/ui/activity/home/CloudStorageViewModel.kt
zhujiaqing
432,065,747
true
{"Kotlin": 499605, "Shell": 495}
package io.agora.flat.ui.activity.home import android.net.Uri import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.herewhite.sdk.ConverterCallbacks import com.herewhite.sdk.converter.ConvertType import com.herewhite.sdk.converter.ConverterV5 import com.herewhite.sdk.domain.Conversion...
0
null
0
0
7c52c310b0fadd34e14489971012a0b328b25d71
11,805
flat-android
MIT License
app/src/main/java/com/kayu/business_car_owner/activity/ActivationActivity.kt
MySelfKiller
587,607,611
false
null
package com.kayu.business_car_owner.activity import android.annotation.SuppressLint import android.os.Bundle import android.os.Handler import android.os.Message import android.text.Editable import android.text.InputType import android.text.TextWatcher import android.view.View import android.widget.EditText import andr...
0
Kotlin
0
0
74a8eb4b8272d331c50bd43b50e0cd53d5eb496c
11,882
CarOwnerPayBusiness
Apache License 2.0
buildSrc/src/main/kotlin/extensions.kt
duckie-team
523,387,054
false
null
/* * Designed and developed by Duckie Team, 2022 * * Licensed under the MIT. * Please see full license: https://github.com/duckie-team/quack-quack-android/blob/master/LICENSE */ import org.gradle.api.artifacts.dsl.DependencyHandler as DependencyScope import java.io.File import org.gradle.api.Project private cons...
8
Kotlin
4
33
1b024100a4a51f588ade982ce564ba8e53cfbb17
1,993
quack-quack-android
MIT License
kotest-mpp/src/jvmMain/kotlin/io/kotest/mpp/stacktraces.kt
niraj8
268,596,932
true
{"Kotlin": 2246160, "HTML": 423, "Java": 145}
@file:JvmName("stacktracesjvm") package io.kotest.mpp actual object StackTraces { actual fun Throwable.throwableLocation(): String? { return (cause ?: this).stackTrace?.firstOrNull { !it.className.startsWith("io.kotest") }?.toString() } actual fun <T : Throwable> cleanStackTrace(throwab...
0
null
0
1
53daa30e3fb889935e8de419d233454dda2e385f
520
kotest
Apache License 2.0
spenn-selve/src/main/kotlin/no/nav/helse/spenn/avstemming/AvstemmingDao.kt
navikt
176,742,371
false
null
package no.nav.helse.spenn.avstemming import kotliquery.queryOf import kotliquery.sessionOf import kotliquery.using import java.util.* import javax.sql.DataSource internal class AvstemmingDao(private val dataSource: DataSource) { fun nyAvstemming( id: UUID, fagområde: String, avstemmingsn...
0
Kotlin
1
1
01cceaa15301f3463f26802640e75e4435e141c1
763
helse-spenn
MIT License
wpi/src/main/kotlin/frc/team4069/saturn/lib/commands/SubsystemHandler.kt
FRCTeam4069
152,143,141
false
null
/* * Copyright 2019 Lo-Ellen Robotics * * 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...
0
Kotlin
0
5
cafa7ae6dbd39177f807d5aaa5ef17c98f057826
1,167
SaturnLibrary
Apache License 2.0
13-start-async-slider-button-application/src/main/kotlin/components/textArea/TextArea.kt
kotlin-es
75,533,048
false
null
package components.progressBar import components.Renderable /** * Created by vicboma on 05/12/16. */ interface TextArea : Renderable { companion object { val MOD = 380 val KAFKA = "Una mañana, tras un sueño intranquilo, <NAME> se despertó convertido en un monstruoso insecto. Estaba echado de esp...
0
Kotlin
0
2
28797619791209a43fbf05586e3e274e86da0133
1,083
kotlin-JFrame-standalone
MIT License
ERMSEmployee/src/main/java/com/kust/ermsemployee/ui/dashboard/FeaturesFragment.kt
sabghat90
591,653,827
false
{"Kotlin": 583902, "HTML": 87217}
package com.kust.ermsemployee.ui.dashboard import android.app.Dialog import android.content.Intent import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.view.Window import androidx.fragment.app.Fragment import androidx.fragment.app.viewModels ...
1
Kotlin
0
2
56497f553ddcbbe2bdbafb987caa40cb44d552e8
5,640
ERMS
MIT License
app/src/main/java/br/com/progdeelite/compose/ui/components/Profile.kt
treslines
484,477,674
false
{"Kotlin": 160358}
package br.com.otavio.victor.composetoolkit.ui.components import androidx.annotation.DrawableRes import androidx.annotation.StringRes import androidx.compose.foundation.Image import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.padding ...
0
Kotlin
4
56
5d6b5d887fd549a2eda0d21c7af0adc5e14774d9
2,270
android_compose_arsenal
Apache License 2.0
core/src/main/kotlin/ru/trueengineering/featureflag/manager/core/domen/event/DomainEventHandler.kt
True-Engineering
673,692,109
false
null
package ru.trueengineering.featureflag.manager.core.domen.event interface DomainEventHandler<T: DomainEvent> { fun handle(event: T) }
0
Kotlin
0
0
211f54ce8d54431d80c9db60a8c4670b1336165e
138
FeatureTogglesInstanceManager
Apache License 2.0
app/src/main/java/com/devjay/writtersdiary/utils/HelperFunctions.kt
samueljuma
376,926,309
false
null
package com.devjay.writtersdiary.utils fun setIsPaidText(value: Boolean): String{ return if(value){ "Paid" }else { "Not Paid" } } fun setIsCompleteText(value: Boolean): String{ return if(value){ "Complete" }else { "Pending" } }
0
Kotlin
0
4
816592da849e5a47938102a6fb843750b4ea160d
286
Writters-Diary
Apache License 2.0
src/main/kotlin/com/example/cavesofzircon/view/PlayView.kt
nanodeath
345,496,742
false
null
package com.example.cavesofzircon.view import com.example.cavesofzircon.GameConfig import com.example.cavesofzircon.builders.GameBuilder import com.example.cavesofzircon.builders.GameTileRepository import com.example.cavesofzircon.events.GameLogEvent import com.example.cavesofzircon.events.PlayerDied import com.exampl...
1
Kotlin
0
0
5555160f541c49ffe3556c6cfc7037dc860b1eac
4,035
caves-of-zircon-tutorial
Apache License 2.0
formula/src/main/java/com/instacart/formula/Formula.kt
BeemobileAB
213,854,532
true
{"Kotlin": 249040, "Shell": 275, "Ruby": 220}
package com.instacart.formula /** * Formula interface defines render model management. * * @param Input Defines data that the parent/host can pass to this formula. * @param State Internal state that is used within this formula. * @param RenderModel A type that is used to render UI. */ interface Formula<Input, St...
0
null
0
0
55979634721a90ec284b07a89523e4d690b77d98
1,579
formula
BSD 3-Clause Clear License
shared/src/commonMain/kotlin/ui/view/SegmentedControl.kt
mrjoechen
669,421,109
false
{"Kotlin": 436999, "Java": 23934, "Swift": 580, "Shell": 228, "Ruby": 101}
package com.alpha.showcase.common.ui.view import androidx.compose.foundation.BorderStroke import androidx.compose.foundation.focusable import androidx.compose.foundation.layout.* import androidx.compose.foundation.shape.RoundedCornerShape import androidx.compose.material3.ButtonDefaults import androidx.compose.materia...
0
Kotlin
0
0
b0fdb6bdb01043d98155a0b6ecc7a00ee029e5a1
4,733
Showcase-multiplatform
Apache License 2.0
plan/src/main/kotlin/com/r3/demos/ubin2a/plan/generator/ObligationEdge.kt
project-ubin
110,582,332
false
null
package com.r3.demos.ubin2a.plan.generator import com.r3.demos.ubin2a.obligation.Obligation import net.corda.core.contracts.UniqueIdentifier open class ObligationEdge(val linearIds: List<UniqueIdentifier>) class ObligationGroup(linearIds: List<UniqueIdentifier>) : ObligationEdge(linearIds) class ObligationId(val li...
3
Kotlin
51
81
8eb2ab9a3decb92b2c258f2c6dd7a2b4e7ca95f8
888
ubin-corda
Apache License 2.0
kroto-plus-coroutines/src/main/kotlin/com/github/marcoferrer/krotoplus/coroutines/client/ClientStreamingCallChannel.kt
marcoferrer
124,468,545
false
null
/* * Copyright 2019 Kroto+ Contributors * * 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...
32
Kotlin
27
486
2b0b447d47f14da93b536ef238b379eb4cc6075c
2,741
kroto-plus
Apache License 2.0
app/src/main/java/id/teman/app/data/dto/rating/RatingRequestDto.kt
RifqiFadhell
681,462,989
false
null
package id.teman.app.data.dto.rating import androidx.annotation.Keep import kotlinx.serialization.Serializable @Keep @Serializable data class RatingRequestDto( val rate: Int, val note: String )
0
Kotlin
0
0
4414ca5c417e7ca0cebd341becec901335e77c6a
203
Teman-App-Mobile
Apache License 2.0
src/util/Iterables.kt
gaetjen
572,857,330
false
{"Kotlin": 424331, "Mermaid": 571}
package util /** * Splits a list into sublists where the predicate is true, similar to String.split. */ fun <T> List<T>.split(matchInPost: Boolean = false, matchInPre: Boolean = false, predicate: (T) -> Boolean): List<List<T>> { val idx = this.indexOfFirst(predicate) return if (idx == -1) { listOf(th...
0
Kotlin
0
0
5792f9e6ce2ff47c70eab42f0544bab508874ad0
1,861
advent-of-code
Apache License 2.0
Sample/src/main/java/com/angcyo/dsltablayout/demo/dslitem/DslVerticalHintItem.kt
angcyo
223,463,340
false
null
package com.angcyo.dsltablayout.demo.dslitem import com.angcyo.dsladapter.DslAdapterItem import com.angcyo.dsladapter.DslViewHolder import com.angcyo.dsltablayout.demo.R /** * * Email:<EMAIL> * @author angcyo * @date 2022/02/28 * Copyright (c) 2020 ShenZhen Wayto Ltd. All rights reserved. */ class DslVerticalHi...
9
Kotlin
94
949
583943afd05c8dee28102518fcb5221291bb4e2d
752
DslTabLayout
MIT License
app/src/main/java/ir/heydarii/musicmanager/presentation/utils/extensions/AsyncImageLoadExtension.kt
SirLordPouya
197,946,685
false
null
package ir.heydarii.musicmanager.presentation.utils.extensions import android.widget.ImageView import com.bumptech.glide.Glide private const val NO_PLACEHOLDER = -1 fun ImageView.load(url: String, placeholder: Int = NO_PLACEHOLDER) { val glide = Glide.with(this).load(url).also { if (placeholder != NO_PLA...
0
Kotlin
5
23
ecb4e7627492ba0eedb5a811e9b753a52a8d110c
398
MusicManager
Apache License 2.0
smartweather/src/main/java/ke/co/appslab/smartweather/WeatherActivity.kt
wangerekaharun
170,553,096
false
null
package ke.co.appslab.smartweather import android.graphics.Color import android.hardware.Sensor import android.hardware.SensorEvent import android.hardware.SensorEventListener import android.hardware.SensorManager import android.os.Bundle import android.util.Log import androidx.appcompat.app.AppCompatActivity import a...
1
Kotlin
0
4
910329ce6b682ca3cfecd23870090489281a5e9b
8,009
SmartHome
MIT License
src/test/kotlin/org/cecil/commonawsjvm/CommonAwsJvmApplicationTests.kt
curena
686,773,789
false
{"Kotlin": 6348}
package org.cecil.commonawsjvm import org.junit.jupiter.api.Test import org.springframework.boot.test.context.SpringBootTest @SpringBootTest class CommonAwsJvmApplicationTests { @Test fun contextLoads() { } }
5
Kotlin
0
0
b84bd59f476cb966b9dfe1880c9c5e96f6ee1ebd
216
common-aws-jvm
MIT License
build-plugin/src/main/kotlin/io/github/vichid/GraphRulesConfiguration.kt
vichid
511,815,220
false
{"Kotlin": 39704}
package io.github.vichid import org.gradle.api.Project import org.gradle.api.plugins.AppliedPlugin import org.gradle.api.plugins.JavaBasePlugin import org.gradle.kotlin.dsl.configure object GraphRulesConfiguration { fun Project.configureGraphRules(): (AppliedPlugin).() -> Unit = { extensions.c...
17
Kotlin
0
0
9c300d9f58b732fce2d6ce4b273315d413af8a70
1,000
android-build-plugin
Apache License 2.0
app/src/main/java/com/tieuvy/android/base_mvvm_android_1/utils/extension/ViewExtension.kt
vyvanhungbg
643,543,135
false
{"Kotlin": 39511}
package com.tieuvy.android.base_mvvm_android_1.utils.extension import android.view.View import androidx.core.content.ContextCompat import androidx.core.view.isVisible import com.google.android.material.snackbar.Snackbar fun View.hide() { this.isVisible = false } fun View.show() { this.isVisible = true } f...
0
Kotlin
0
2
85c13e09216465a019df9f1e96260240d68ae154
884
Base-MVVM-Android-1
Apache License 2.0
SharedCode/src/commonMain/kotlin/api/Fares.kt
PriyankaSP4
279,262,041
true
{"Kotlin": 19765, "Swift": 10549}
package com.jetbrains.handson.mpp.mobile.api import com.soywiz.klock.DateFormat import com.soywiz.klock.parse import io.ktor.client.HttpClient import io.ktor.client.features.json.JsonFeature import io.ktor.client.features.json.serializer.KotlinxSerializer import io.ktor.client.request.get import io.ktor.client.stateme...
1
Kotlin
0
0
ca42933a8f8ce42738ef242a28e675d14bafff8e
2,160
mpp-ios-android
Apache License 2.0
src/main/kotlin/ConvertToTiledMap.kt
Foso
546,229,692
false
{"Kotlin": 3309}
import java.io.File fun main() { convertToTiledMapFiles() } /** * Remember to configure the [levelJsPath] and [outputFolder] */ fun convertToTiledMapFiles(){ val levelWidth = 21 val levelHeight = 13 val levelJsPath = "/home/jens/Code/2023/jk/Banania/game/level/level.js" val outputFolder = "/hom...
0
Kotlin
0
1
f29fb147150673a345a1f310a83cb33c7d9818d9
1,454
BananiaMapConverter
Apache License 2.0
app/src/androidTest/java/com/theapache64/nemo/NemoTestRunner.kt
theapache64
280,432,817
false
null
package com.theapache64.nemo import android.app.Application import android.content.Context import androidx.test.runner.AndroidJUnitRunner import dagger.hilt.android.testing.HiltTestApplication /** * Created by theapache64 : Nov 22 Sun,2020 @ 14:34 */ class NemoTestRunner : AndroidJUnitRunner() { override fun ne...
7
Kotlin
6
25
0fd14ec3ba3e240f66fe2462ea0541608b69d9d2
529
nemo
Apache License 2.0
kt/godot-library/src/main/kotlin/godot/gen/godot/PlaceholderTexture3D.kt
utopia-rise
289,462,532
false
null
// THIS FILE IS GENERATED! DO NOT EDIT IT MANUALLY! @file:Suppress("PackageDirectoryMismatch", "unused", "FunctionName", "RedundantModalityModifier", "UNCHECKED_CAST", "JoinDeclarationAndAssignment", "USELESS_CAST", "RemoveRedundantQualifierName", "NOTHING_TO_INLINE", "NON_FINAL_MEMBER_IN_OBJECT", "Redundan...
64
null
45
634
ac2a1bd5ea931725e2ed19eb5093dea171962e3f
3,114
godot-kotlin-jvm
MIT License
kt/godot-library/src/main/kotlin/godot/gen/godot/PlaceholderTexture3D.kt
utopia-rise
289,462,532
false
null
// THIS FILE IS GENERATED! DO NOT EDIT IT MANUALLY! @file:Suppress("PackageDirectoryMismatch", "unused", "FunctionName", "RedundantModalityModifier", "UNCHECKED_CAST", "JoinDeclarationAndAssignment", "USELESS_CAST", "RemoveRedundantQualifierName", "NOTHING_TO_INLINE", "NON_FINAL_MEMBER_IN_OBJECT", "Redundan...
64
null
45
634
ac2a1bd5ea931725e2ed19eb5093dea171962e3f
3,114
godot-kotlin-jvm
MIT License
composeApp/src/commonMain/kotlin/screen/ScreenB.kt
raheemadamboev
727,707,781
false
{"Kotlin": 9130, "Swift": 594}
package screen import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Spacer import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.foundation.layout.height import androidx.compose.material3.Button import a...
0
Kotlin
0
0
1efe12ef0468a94e2be06fd5cd232ce6b1cc43c3
1,265
decompose-demo
Apache License 2.0
src/main/kotlin/uk/trantr/kata/marsroverk/navigation/WrappingEastingAndNorthingChart.kt
gavintranter
264,495,912
false
null
package uk.trantr.kata.marsroverk.navigation class WrappingEastingAndNorthingChart(private val eastingExtant: Int, private val northingExtent: Int): Chart { override fun isSafeLocation(coordinate: Coordinate): Coordinate? { return coordinate.adjust(adjustment(eastingExtant), adjustment(northingExtent)) ...
0
Kotlin
0
0
19fdbe5574e2fa58757010ac3cd980627783dec1
504
mars-rover-k
The Unlicense
src/commonMain/kotlin/com/github/shaart/pstorage/multiplatform/service/encryption/EncryptionService.kt
shaart
643,580,361
false
null
package com.github.shaart.pstorage.multiplatform.service.encryption import com.github.shaart.pstorage.multiplatform.dto.UserViewDto import com.github.shaart.pstorage.multiplatform.enums.EncryptionType import com.github.shaart.pstorage.multiplatform.model.encryption.CryptoDto import com.github.shaart.pstorage.multiplat...
4
Kotlin
0
0
a406663164f86cdf81d0e59e4a52257eb63257fd
2,479
pstorage-multiplatform
Apache License 2.0
common/tasks/src/main/java/com/costular/atomtasks/tasks/interactor/UpdateTaskReminderInteractor.kt
costular
379,913,052
false
{"Kotlin": 379823, "HTML": 7918}
package com.costular.atomtasks.tasks.interactor import com.costular.atomtasks.data.Interactor import com.costular.atomtasks.tasks.TasksRepository import java.time.LocalDate import java.time.LocalTime import javax.inject.Inject class UpdateTaskReminderInteractor @Inject constructor( private val tasksRepository: Ta...
0
Kotlin
0
4
0ee895967a7bf553d42d5ca91da7ba6ed1885b36
648
atom-tasks
Apache License 2.0
app/src/main/java/de/felixnuesse/disky/extensions/storageVolume.kt
newhinton
783,244,915
false
{"Kotlin": 71014}
package de.felixnuesse.disky.extensions import android.os.Build import android.os.storage.StorageManager import android.os.storage.StorageVolume import android.util.Log import java.util.UUID fun Any.getStorageUUID(selectedStorage: StorageVolume): UUID? { var uuid: UUID? = null if (Build.VERSION.SDK_INT >= Bu...
5
Kotlin
17
368
544e375c6bf423910e9ec3b7d026facb2e0fa202
1,065
disky
MIT License
Gachi/app/src/main/kotlin/com/pickth/gachi/view/main/fragments/search/adapter/SearchAdapterContract.kt
yh-kim
96,616,577
false
null
/* * Copyright 2017 Yonghoon Kim * * 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 t...
0
Kotlin
0
0
98db967d30780656041527c982ead5ecaa80971c
1,086
gachi-android
Apache License 2.0
modules/wasm-binary/src/commonMain/kotlin/visitor/TypeSectionVisitor.kt
wasmium
761,480,110
false
{"Kotlin": 597834, "JavaScript": 203}
package org.wasmium.wasm.binary.visitors import org.wasmium.wasm.binary.tree.FunctionType public interface TypeSectionVisitor { public fun visitType(functionType: FunctionType) public fun visitEnd() }
0
Kotlin
0
3
9664a7c5c9bf1652ee4e8dab1bbceffebd0869ca
213
wasmium-wasm-binary
Apache License 2.0
llama-stack-client-kotlin-core/src/main/kotlin/com/llama_stack_client/api/models/EvaluationTextGenerationParams.kt
meta-llama
854,913,926
false
{"Kotlin": 2020773, "Shell": 2562}
// File generated from our OpenAPI spec by Stainless. package com.llama_stack_client.api.models import com.fasterxml.jackson.annotation.JsonAnyGetter import com.fasterxml.jackson.annotation.JsonAnySetter import com.fasterxml.jackson.annotation.JsonCreator import com.fasterxml.jackson.annotation.JsonProperty import co...
0
Kotlin
2
0
ee76c5aec1d582dbbd2759d084ba16b8b74f04ea
10,785
llama-stack-client-kotlin
Apache License 2.0
llama-stack-client-kotlin-core/src/main/kotlin/com/llama_stack_client/api/models/EvaluationTextGenerationParams.kt
meta-llama
854,913,926
false
{"Kotlin": 2020773, "Shell": 2562}
// File generated from our OpenAPI spec by Stainless. package com.llama_stack_client.api.models import com.fasterxml.jackson.annotation.JsonAnyGetter import com.fasterxml.jackson.annotation.JsonAnySetter import com.fasterxml.jackson.annotation.JsonCreator import com.fasterxml.jackson.annotation.JsonProperty import co...
0
Kotlin
2
0
ee76c5aec1d582dbbd2759d084ba16b8b74f04ea
10,785
llama-stack-client-kotlin
Apache License 2.0
app/src/main/java/com/shid/mosquefinder/Ui/Main/View/SplashActivity.kt
theshid
275,887,919
false
null
package com.shid.mosquefinder.Ui.Main.View import android.Manifest import android.content.Intent import android.content.pm.PackageManager import android.location.Location import android.os.Bundle import android.os.Handler import android.util.Log import android.widget.Toast import androidx.appcompat.app.AppCompatActivi...
0
Kotlin
0
1
d9522520e584f6c97c40cd27a48a04ffbeaf0a8e
3,320
Mosque-Finder
The Unlicense
src/main/kotlin/care/better/platform/web/template/converter/raw/factory/leaf/ParticipationFactory.kt
better-care
343,549,109
false
null
/* Copyright 2021 Better Ltd (www.better.care) * * 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 ...
0
Kotlin
1
1
4aa47c5c598be6687dc2c095b1f7fcee49702a28
9,052
web-template
Apache License 2.0
solar/src/main/java/com/chiksmedina/solar/outline/medicine/Health.kt
CMFerrer
689,442,321
false
{"Kotlin": 36591890}
package com.chiksmedina.solar.outline.medicine import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap.Com...
0
Kotlin
0
0
3414a20650d644afac2581ad87a8525971222678
4,504
SolarIconSetAndroid
MIT License
next/kmp/helper/src/iosMain/kotlin/org/dweb_browser/helper/Rect.ios.kt
BioforestChain
594,577,896
false
{"Kotlin": 2620314, "TypeScript": 690065, "Swift": 350138, "Vue": 143774, "SCSS": 39030, "Objective-C": 17350, "Shell": 11193, "HTML": 10444, "JavaScript": 3998, "CSS": 818}
package org.dweb_browser.helper import kotlinx.cinterop.CValue import kotlinx.cinterop.ExperimentalForeignApi import kotlinx.cinterop.useContents import platform.CoreGraphics.CGRect import platform.CoreGraphics.CGRectMake @OptIn(ExperimentalForeignApi::class) fun CValue<CGRect>.toRect() = useContents { PureRect( ...
47
Kotlin
4
11
b9b39e294badbb02eeb3a3a6d1851fd5105bd09f
566
dweb_browser
MIT License
app/src/main/java/com/xeniac/fifaultimateteamcoin_dsfut_sell_fut/feature_profile/domain/utils/PartnerIdError.kt
WilliamGates99
543,831,202
false
{"Kotlin": 898249}
package com.xeniac.fifaultimateteamcoin_dsfut_sell_fut.feature_profile.domain.utils import com.xeniac.fifaultimateteamcoin_dsfut_sell_fut.core.domain.utils.Error sealed class PartnerIdError : Error() { data object SomethingWentWrong : PartnerIdError() data object InvalidPartnerId : PartnerIdError() }
0
Kotlin
0
1
a0b03bf204e6e681bbe587fdc928bff81e7e67e6
311
FUTSale
Apache License 2.0
app/src/main/java/com/dluvian/nozzle/data/annotatedContent/IAnnotatedContentHandler.kt
dluvian
645,936,540
false
{"Kotlin": 402777}
package com.dluvian.nozzle.data.annotatedContent import androidx.compose.ui.text.AnnotatedString import com.dluvian.nozzle.model.nostr.Nevent interface IAnnotatedContentHandler { fun annotateContent( content: String, mentionedPubkeyToName: Map<String, String> ): AnnotatedString fun extrac...
1
Kotlin
1
17
994039b1bd9ee92611295da16d47cf1856eeb5c3
455
Nozzle
MIT License
presentation/src/main/java/ir/fallahpoor/vicinity/presentation/venuedetails/viewmodel/VenueDetailsViewModel.kt
MasoodFallahpoor
159,920,638
false
null
package ir.fallahpoor.vicinity.presentation.venuedetails.viewmodel import androidx.lifecycle.MutableLiveData import androidx.lifecycle.ViewModel import io.reactivex.disposables.Disposable import ir.fallahpoor.vicinity.domain.interactor.GetVenueDetailsUseCase import ir.fallahpoor.vicinity.presentation.common.ExceptionP...
0
Kotlin
0
0
30ec708401569c3433a1bfef06ccf859deb5e843
1,748
VicinityKotlin
Apache License 2.0
app/test/bot/AppTest.kt
navikt
552,766,690
false
null
package bot import io.ktor.http.* import io.ktor.serialization.jackson.* import io.ktor.server.application.* import io.ktor.server.config.* import io.ktor.server.engine.* import io.ktor.server.netty.* import io.ktor.server.plugins.contentnegotiation.* import io.ktor.server.request.* import io.ktor.server.response.* im...
1
Kotlin
0
0
fc0698091d13f64e6715c4ad4c9693270029d771
2,208
aap-bot
MIT License
fontawesome/src/de/msrd0/fontawesome/icons/FA_CARET_UP.kt
msrd0
363,665,023
false
{"Kotlin": 3912511, "Jinja": 2214}
/* @generated * * This file is part of the FontAwesome Kotlin library. * https://github.com/msrd0/fontawesome-kt * * This library is not affiliated with FontAwesome. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may...
0
Kotlin
0
0
ee6a62d201fd5df2555859271cb0c6a7ee887e7a
1,418
fontawesome-kt
Apache License 2.0
ChessModelTDS/src/test/kotlin/isel/leic/tds/checkers/TestRow.kt
AndreBaptista1
549,627,939
false
{"Kotlin": 15044}
package isel.leic.tds.checkers import isel.leic.tds.checkers.model.* import kotlin.test.* /** * The Row type identifies one of the rows on the board. * Rows are identified by a number, from 8 to 1 (if BOARD_DIM==8) * The bottom row is '0' * Assume BOARD_DIM > 0 */ class TestRow { @Test fun `Number to Row...
0
Kotlin
0
0
3b7fefb9abaf448ad4ac35096d7f63d9e66192e6
1,515
CHECKERS-TDS
MIT License
src/main/kotlin/by/dev/madhead/doktor/model/Dok.kt
jenkinsci
102,877,358
false
null
package by.dev.madhead.doktor.model import hudson.FilePath import java.io.Serializable data class Dok( val filePath: FilePath, val markup: Markup ) : Serializable data class RenderedContent( val markup: Markup, val content: String, val frontMatter: FrontMatter ) : Serializable data class RenderedDok( val file...
0
null
3
20
25b51884853d8be0d524673a40eaccc87a7b91d8
412
doktor-plugin
Apache License 2.0
formats/json/commonMain/src/kotlinx/serialization/json/JsonTransformingSerializer.kt
Kotlin
97,827,246
false
null
/* * Copyright 2017-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. */ @file:Suppress("DeprecatedCallableAddReplaceWith") package kotlinx.serialization.json import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* import ...
407
null
621
5,396
d4d066d72a9f92f06c640be5a36a22f75d0d7659
4,257
kotlinx.serialization
Apache License 2.0
Daily_Sport(Android)/EEP523_FinalProject-master/app/src/main/java/com/example/eep523_finalproject/daily.kt
koujunnan1996
269,229,414
false
null
package com.example.eep523_finalproject import android.annotation.SuppressLint import android.content.Intent import android.graphics.Color import android.os.Build import android.os.Bundle import android.view.MenuItem import android.view.View import android.widget.Button import android.widget.Toast import androidx.anno...
0
Kotlin
0
0
89afff84a29493e97b21f0d646f5cacce7fb5f70
10,265
EEP523
MIT License
platform/vcs-log/impl/src/com/intellij/vcs/log/ui/details/CommitDetailsListPanel.kt
ingokegel
72,937,917
true
null
// Copyright 2000-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.vcs.log.ui.details import com.intellij.openapi.Disposable import com.intellij.openapi.editor.colors.EditorColorsListener import com.intellij.openapi.editor.c...
191
null
4372
2
b07eabd319ad5b591373d63c8f502761c2b2dfe8
6,568
intellij-community
Apache License 2.0
plugins/kotlin/completion/testData/handlers/basic/variableNameAndType/TypeInsertionOnLateinit.kt
JetBrains
2,489,216
false
null
// FIR_COMPARISON // FIR_IDENTICAL package test class Foo class BarFoo lateinit var f<caret> // ELEMENT_TEXT: foo: Foo
284
null
5162
16,707
def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0
123
intellij-community
Apache License 2.0
intellij.android.device.tests/src/com/android/tools/idea/adddevicedialog/TestComposeWizard.kt
JetBrains
60,701,247
false
null
/* * Copyright (C) 2024 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...
3
null
221
925
71cc8d80cd2fa6899d69c7f908539c5a4ad08265
1,612
android
Apache License 2.0
intellij.android.device.tests/src/com/android/tools/idea/adddevicedialog/TestComposeWizard.kt
JetBrains
60,701,247
false
null
/* * Copyright (C) 2024 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...
3
null
221
925
71cc8d80cd2fa6899d69c7f908539c5a4ad08265
1,612
android
Apache License 2.0
src/main/kotlin/de/marcphilipp/gradle/nexus/DefaultNexusRepositoryContainer.kt
marcphilipp
156,114,106
false
null
/* * Copyright 2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
50
null
9
39
fc6dbaf3f10df2fbab322e2706b7a5c2d81e573c
1,870
nexus-publish-plugin
Apache License 2.0
app/src/main/java/com/tomg/fiiok9control/setup/business/SetupState.kt
Tommy-Geenexus
422,602,254
false
{"Java": 371833, "Kotlin": 305020}
/* * Copyright (c) 2021-2023, Tom Geiselmann (tomgapplicationsdevelopment@gmail.com) * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software * and associated documentation files (the "Software"), to deal in the Software without restriction, * including without limitation t...
1
Java
0
0
cdb75ab15b5fa0d0bd2e1ce77a4bcb6ae0bb5e7c
1,790
fiio-k9-control
MIT License
plugins/jvm-abi-gen/testData/compare/debugInfoLineNumberTable/differentAbi/test.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...
package test inline fun sum(x: Int, y: Int): Int { val result = x + y // Comment after local variable return result }
181
Kotlin
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
131
kotlin
Apache License 2.0
legacy/_1.9.4/src/main/kotlin/cn/enaium/noexpensive/callback/impl/AnvilTakeOutputCallbackImpl.kt
Enaium-FabricMC
268,532,740
false
null
package cn.enaium.noexpensive.callback.impl import cn.enaium.noexpensive.callback.AnvilTakeOutputCallback import net.minecraft.client.resource.language.I18n import net.minecraft.item.ItemStack /** * @author Enaium */ class AnvilTakeOutputCallbackImpl : AnvilTakeOutputCallback { override fun interact(output: Ite...
1
null
1
6
fed803b954c81117368c6da4b48dbe88f86d60a2
810
NoExpensive
MIT License
platform/platform-impl/src/com/intellij/openapi/editor/toolbar/floating/FloatingToolbarComponentImpl.kt
hieuprogrammer
284,920,751
false
null
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.openapi.editor.toolbar.floating import com.intellij.ide.DataManager import com.intellij.openapi.Disposable import com.intellij.openapi.actionSystem.ActionGro...
1
null
1
2
dc846ecb926c9d9589c1ed8a40fdb20e47874db9
3,387
intellij-community
Apache License 2.0
gremlin-kore/src/main/kotlin/org/apache/tinkerpop4/gremlin/structure/util/TemporaryException.kt
phreed
449,920,526
false
{"Java": 12267812, "Kotlin": 3878234, "C#": 1500464, "Python": 566321, "Gherkin": 438600, "Groovy": 345265, "JavaScript": 229293, "TypeScript": 154521, "Shell": 61593, "ANTLR": 43774, "Dockerfile": 6202, "XSLT": 4410, "Batchfile": 3977, "Awk": 2335}
/* * 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"); you ...
4
null
1
1
cb6805d686e9a27caa8e597b0728a50a63dc9092
1,189
tinkerpop4
Apache License 2.0
Frontend/Cymon_v2/app/src/main/java/com/example/cymonbattle/battle/MainBattleMenuFragment.kt
GrantPierce94
736,100,287
false
{"Text": 14, "Ignore List": 121, "Markdown": 40, "Gradle": 46, "Java Properties": 90, "Shell": 60, "Batchfile": 53, "Proguard": 28, "Java": 524, "XML": 926, "Kotlin": 121, "JSON": 211, "HTML": 125, "INI": 77, "CSS": 10, "JavaScript": 18, "Maven POM": 45, "Gradle Kotlin DSL": 43, "Mustache": 13, "YAML": 3, "Ant Build Sy...
package com.example.cymonbattle.battle import android.os.Bundle import androidx.fragment.app.Fragment import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.Toast import androidx.fragment.app.activityViewModels import androidx.navigation.findNavController import...
0
Java
0
0
e93f3a04ff68e39189280853476e039e0164800f
2,081
cymon
MIT License
app/src/main/java/org/tokend/template/features/companies/model/CompanyDbEntity.kt
tokend
192,905,357
false
{"Kotlin": 1830732, "HTML": 58776, "Java": 21685}
package org.tokend.template.features.companies.model import androidx.room.ColumnInfo import androidx.room.Entity import androidx.room.PrimaryKey /* val id: String, val name: String, val industry: String?, override val logoUrl: String?, val conversionAssetCode: String?, val ban...
1
Kotlin
1
6
05bb971859713830a9c229206dc9f525ce80f754
1,638
conto-android-client
Apache License 2.0
src/main/java/top/zbeboy/isy/service/graduate/design/GraduationDesignReleaseServiceImpl.kt
zbeboy
71,459,176
false
{"JavaScript": 423, "JSON": 1, "Markdown": 5, "Maven POM": 1, "Text": 3, "Ignore List": 1, "XML": 8, "YAML": 2, "CSS": 59, "Kotlin": 380, "Java": 277, "Java Properties": 3, "HTML": 189, "SQL": 2}
package top.zbeboy.isy.service.graduate.design import com.alibaba.fastjson.JSON import org.jooq.* import org.springframework.beans.factory.annotation.Autowired import org.springframework.data.redis.core.ValueOperations import org.springframework.stereotype.Service import org.springframework.transaction.annotation.Prop...
7
JavaScript
2
7
9634602adba558dbdb945c114692019accdb50a9
10,516
ISY
MIT License
sample/src/main/java/pyxis/uzuki/live/mediaresizersample/utils/ResultBuilder.kt
WindSekirun
111,674,417
false
null
@file:JvmName("ResultBuilder") @file:JvmMultifileClass package pyxis.uzuki.live.mediaresizersample.utils import pyxis.uzuki.live.richutilskt.utils.getImageHeight import pyxis.uzuki.live.richutilskt.utils.getImageWidth /** * MediaReSizer * Class: ResultBuilder * Created by Pyxis on 2017-11-23. * * Description: ...
5
null
17
27
8e4d52254b8f74de64a21d2d83954f438e52499b
2,337
MediaResizer
Apache License 2.0
app/src/main/kotlin/com/ivanovsky/passnotes/data/repository/file/remote/RemoteApiClient.kt
aivanovski
95,774,290
false
null
package com.ivanovsky.passnotes.data.repository.file.remote import com.ivanovsky.passnotes.data.entity.FileDescriptor import com.ivanovsky.passnotes.data.entity.RemoteFileMetadata import com.ivanovsky.passnotes.data.repository.file.remote.exception.RemoteFSException @Deprecated("RemoteApiClientV2 should be used inste...
4
null
1
7
dc4abdf847393919f5480129b64240ae0469b74c
1,350
kpassnotes
Apache License 2.0
instrumentation-tests/src/androidTest/java/com/mapbox/navigation/instrumentation_tests/utils/FileUtils.kt
k4anubhav
439,334,238
false
null
package com.mapbox.navigation.instrumentation_tests.utils import android.content.Context import androidx.annotation.IntegerRes import okio.Buffer fun readRawFileText(context: Context, @IntegerRes res: Int): String = context.resources.openRawResource(res).bufferedReader().use { it.readText() } fun bufferFromRawFi...
0
null
1
1
3751b1323b3e585976a5476176810049061ca1ec
435
mapbox-navigation-android
Apache License 2.0
kotlin-test/src/main/kotlin/advent2020/Day11b.kt
mtakeshi1
537,635,721
false
{"Java": 182420, "Kotlin": 67447, "Scala": 14616}
package advent2020 import java.lang.RuntimeException object Day11b : Solver { enum class State(val c: Char) { FLOOR('.'), EMPTY('L'), OCCUPIED('#'); companion object { fun parse(c: Char): State { return when (c) { FLOOR.c -> FLOOR ...
1
null
1
1
fbc443d2d1cb0c7d1413e88637f3ba6dbaf3495a
3,479
playground
Apache License 2.0
server/notification/github/src/main/kotlin/projektor/notification/github/comment/GitHubCommentService.kt
craigatk
226,096,594
false
{"Kotlin": 1053158, "TypeScript": 382196, "Groovy": 310183, "JavaScript": 224938, "Java": 20952, "HTML": 581, "Shell": 573, "Procfile": 260, "Dockerfile": 175, "Python": 72}
package projektor.notification.github.comment import org.kohsuke.github.GHRepository import org.slf4j.LoggerFactory import projektor.notification.github.comment.GitHubCommentCreator.appendComment import projektor.notification.github.comment.GitHubCommentCreator.createComment class GitHubCommentService(private val com...
14
Kotlin
15
47
42b969bdbcb5832038738c85af153f6d600ff74d
2,760
projektor
MIT License
package-toolkit/config/src/main/kotlin/com/atlan/pkg/config/model/ui/UIRule.kt
abhishek-raghuraman
770,236,082
false
{"Java Properties": 1, "Gradle Kotlin DSL": 33, "Shell": 1, "EditorConfig": 1, "Markdown": 2, "Batchfile": 1, "Text": 2, "Ignore List": 1, "Kotlin": 218, "Pickle": 9, "Java": 1074, "XML": 5, "JSON": 10, "Fluent": 71, "YAML": 6, "FreeMarker": 11, "TOML": 1, "INI": 1, "Dockerfile": 2}
/* SPDX-License-Identifier: Apache-2.0 Copyright 2023 Atlan Pte. Ltd. */ package com.atlan.pkg.config.model.ui import com.fasterxml.jackson.annotation.JsonAutoDetect import com.fasterxml.jackson.annotation.JsonIgnore import com.fasterxml.jackson.annotation.JsonPropertyOrder /** * Configure basic UI rules that whe...
1
null
1
1
eb8704deb1041c4b859fdf2f203610dce977718c
1,054
atlan-java
Creative Commons Attribution 4.0 International
data/repository/src/main/java/com/hari/tmdb/repository/mapper/TvShowResultsPageToShows.kt
HariKulhari06
255,623,659
false
null
package com.hari.tmdb.repository.mapper import com.hari.tmdb.db.internal.entity.PopularShowEntity import com.hari.tmdb.db.internal.entity.ShowEntity import com.hari.tmdb.model.mapper.Mapper import com.uwetrottmann.tmdb2.entities.TvShowResultsPage import javax.inject.Inject import javax.inject.Singleton @Singleton cla...
0
Kotlin
1
5
c3b94cc6e65882b23e904ba479466a6897b920cc
1,124
tmdb_app
MIT License
rxdownload3/src/main/java/zlc/season/rxdownload3/RxDownload.kt
dalmif
205,262,339
true
{"Gradle": 6, "Shell": 1, "Text": 1, "Ignore List": 4, "Batchfile": 1, "Markdown": 2, "Proguard": 3, "Kotlin": 41, "XML": 31, "Java Properties": 1, "Java": 11}
package zlc.season.rxdownload3 import io.reactivex.Flowable import io.reactivex.Maybe import zlc.season.rxdownload3.core.DownloadCore import zlc.season.rxdownload3.core.Mission import zlc.season.rxdownload3.core.Status import zlc.season.rxdownload3.extension.Extension import java.io.File object RxDownload : RxDownlo...
0
Kotlin
0
2
fd6ccfc144008a145aba6a37bcc1d045a2ba0c93
2,949
RxDownload
Apache License 2.0
idea/testData/navigation/implementations/multifile/ImplementKotlinAbstractClassInJava/ImplementKotlinAbstractClassInJava.kt
JakeWharton
99,388,807
true
null
package testing.kt abstract class <caret>Base // REF: (testing.jj).JavaImplementation
0
Kotlin
28
83
4383335168338df9bbbe2a63cb213a68d0858104
87
kotlin
Apache License 2.0
idea/testData/navigation/implementations/multifile/ImplementKotlinAbstractClassInJava/ImplementKotlinAbstractClassInJava.kt
JakeWharton
99,388,807
true
null
package testing.kt abstract class <caret>Base // REF: (testing.jj).JavaImplementation
0
Kotlin
28
83
4383335168338df9bbbe2a63cb213a68d0858104
87
kotlin
Apache License 2.0
src/rider/main/kotlin/com/jetbrains/rider/plugins/efcore/features/database/update/UpdateDatabaseAction.kt
JetBrains
426,422,572
false
null
package com.jetbrains.rider.plugins.efcore.features.database.update import com.intellij.openapi.project.Project import com.jetbrains.rider.plugins.efcore.cli.api.models.DotnetEfVersion import com.jetbrains.rider.plugins.efcore.features.shared.BaseCommandAction import com.jetbrains.rider.plugins.efcore.rd.RiderEfCoreMo...
26
null
15
177
1fb10207b700ae2b591bdf46666c460569b08cec
662
rider-efcore
MIT License
src/main/kotlin/net/sonmoosans/dui/utils/Embed.kt
fuma-nama
529,182,440
false
{"Kotlin": 85867}
package net.sonmoosans.dui.utils import net.sonmoosans.dui.context.Container import net.sonmoosans.dui.context.DslBuilder import net.dv8tion.jda.api.entities.EmbedType import net.dv8tion.jda.api.entities.MessageEmbed import net.dv8tion.jda.api.entities.MessageEmbed.* import net.dv8tion.jda.api.entities.User import jav...
0
Kotlin
0
6
743c74ccfcef8681111d4653c8f99605d399f2f0
2,969
discord-ui
MIT License
shared/designsystem/components/src/main/java/ir/mehdiyari/krypt/shared/designsystem/components/ClickableTextView.kt
mehdiyari
459,064,107
false
{"Kotlin": 470699, "Java": 87170}
package ir.mehdiyari.krypt.shared.designsystem.components import androidx.compose.foundation.clickable import androidx.compose.material3.MaterialTheme import androidx.compose.material3.Text import androidx.compose.runtime.Composable import androidx.compose.ui.Modifier import androidx.compose.ui.text.TextStyle import a...
17
Kotlin
1
3
5428d27cee952990fa393ec42e645b1afe9f881d
1,231
krypt
Apache License 2.0
ontrack-extension-scm/src/test/java/net/nemerosa/ontrack/extension/scm/service/SCMTestFixtures.kt
nemerosa
19,351,480
false
null
package net.nemerosa.ontrack.extension.scm.service object SCMTestFixtures { fun createSCMPullRequest() = SCMPullRequest( "1", "PR-1", "https://github.com/org/repo/pulls/1", true, ) }
57
Kotlin
27
97
7c71a3047401e088ba0c6d43aa3a96422024857f
225
ontrack
MIT License
library/src/io/github/shalva97/overwatch_player_search_api/domain/models/profile/CareerHeroStats.kt
shalva97
795,493,210
false
null
package io.github.shalva97.overwatch_player_search_api.domain.models.profile import kotlinx.serialization.Serializable import kotlinx.serialization.json.JsonElement public data class CareerHeroStats( val name: String, val assists: Assists? = null, val average: Average? = null, val best: Best? = null, ...
1
null
0
2
5bd8ccf76a54cfdc803ceb1ed301dd34fae04a66
444
overwatch-player-search-api
The Unlicense
app/src/main/java/com/example/bagshop/model/repository/cart/CartRepositoryImpl.kt
MohsenJafaritadi
766,469,732
false
{"Kotlin": 113924}
package com.example.bagshop.model.repository.cart import com.example.bagshop.model.data.Comment import com.example.bagshop.model.data.UserCartInfo import com.example.bagshop.model.net.ApiService import com.google.gson.JsonObject class CartRepositoryImpl( private val apiService: ApiService, ) : CartRepository { ...
0
Kotlin
0
0
abc3ede78379530a92c4d23de8976f48427dc140
1,288
Bag_Shop
MIT License
src/main/kotlin/me/vldf/colors/serializers/RgbHexColorSerializer.kt
vldF
562,239,523
false
{"Kotlin": 18235, "Dockerfile": 460}
package me.vldf.colors.serializers import com.github.ajalt.colormath.RenderCondition import com.github.ajalt.colormath.model.RGB import kotlinx.serialization.KSerializer import kotlinx.serialization.descriptors.PrimitiveKind import kotlinx.serialization.descriptors.PrimitiveSerialDescriptor import kotlinx.serializatio...
0
Kotlin
0
0
240538d847b16b5ed5aec247249dc9f9a89fce23
1,120
dominant-colors-extractor
MIT License
app/src/main/java/dalbers/com/noise/playerscreen/view/Player.kt
davidalbers
60,228,125
false
{"Kotlin": 67034, "Shell": 793}
// kept getting a compiler error "Duplicate JVM class name" // this is the only thing that would fix it @file:JvmName("PlayerUnique") package dalbers.com.noise.playerscreen.view import androidx.compose.foundation.layout.Column import androidx.compose.runtime.Composable import androidx.compose.ui.Modifier import andro...
3
Kotlin
13
33
b8d2aa97c2c66a24fe93360cc7626b20e378eb29
1,479
whitenoise-android
MIT License
app/src/androidTest/java/com/launchkey/android/authenticator/sdk/ui/AuthRequestFragmentEspressoTest.kt
iovation
371,182,176
false
null
package com.launchkey.android.authenticator.sdk.ui import androidx.arch.core.executor.testing.InstantTaskExecutorRule import androidx.fragment.app.testing.launchFragmentInContainer import androidx.test.annotation.UiThreadTest import androidx.test.espresso.Espresso import androidx.test.espresso.assertion.ViewAssertions...
1
Kotlin
0
0
17e234308b8d5d967577a9eb606a24302a73ae43
4,445
mfa-auth-sdk-android
MIT License