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
domain/src/main/java/com/jfalck/domain/usecases/favoritemovies/RemoveFavoriteMovieUseCaseImpl.kt
jeremyfalck
552,366,176
false
null
package com.jfalck.domain.usecases.favoritemovies import com.jfalck.domain.repository.MoviesRepository import javax.inject.Inject class RemoveFavoriteMovieUseCaseImpl @Inject constructor(private val moviesRepository: MoviesRepository) : RemoveFavoriteMovieUseCase { override suspend fun invoke(movieId: Int) = ...
0
Kotlin
0
0
166e2693595948b925f8d4dcfc5ad5780cd7f4a3
375
Mooviz
MIT License
feature/filters/src/main/java/ru/tech/imageresizershrinker/feature/filters/data/model/Convolution3x3Filter.kt
T8RIN
478,710,402
false
{"Kotlin": 6498864}
/* * ImageToolbox is an image editor for android * Copyright (c) 2024 T8RIN (Malik Mukhametzyanov) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * * Unless required by applicable law or agreed to in writing, software * dist...
10
Kotlin
176
3,817
486410d4a9ea3c832fc5aa63eb5bdc7b1fab871d
1,887
ImageToolbox
Apache License 2.0
app/src/main/java/com/yiyuanliu/currency/MainActivityUi.kt
yiyuanliu
70,296,591
false
{"Kotlin": 33013, "Java": 6147}
package com.yiyuanliu.currency import android.animation.* import android.animation.Animator.AnimatorListener import android.content.Context import android.content.res.ColorStateList import android.content.res.Resources import android.graphics.PorterDuff import android.graphics.Typeface import android.graphics.drawable...
0
Kotlin
23
111
03def2cc65ba031ab87c4243c4bde5e0f6e00207
14,568
Currency
Apache License 2.0
app/src/main/kotlin/net/primal/android/core/compose/icons/primaliconpack/NavSearchFilled.kt
PrimalHQ
639,579,258
false
null
package net.primal.android.core.compose.icons.primaliconpack 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...
56
null
4
98
438072af7f67762c71c5dceffa0c83dedd8e2e85
3,275
primal-android-app
MIT License
InstagramClone/app/src/main/java/com/example/instagramclone/model/Post.kt
Escan-DNMZ
477,317,944
false
null
package com.example.instagramclone.model data class Post(val usermail:String ,val comment:String,val downloadUrl:String) { }
0
Kotlin
0
1
0071cd517591134913208799c3979f8b3d862211
125
FakeSocialMedia
MIT License
trixnity-serverserverapi/trixnity-serverserverapi-client/src/commonTest/kotlin/net.folivo.trixnity.serverserverapi.client/DiscoveryApiClientTest.kt
benkuly
330,904,570
false
{"Kotlin": 4172000, "JavaScript": 5352, "TypeScript": 2906, "CSS": 1454, "Dockerfile": 1328}
package net.folivo.trixnity.serverserverapi.client import io.kotest.matchers.shouldBe import io.ktor.client.engine.mock.* import io.ktor.http.* import kotlinx.coroutines.ExperimentalCoroutinesApi import kotlinx.coroutines.test.runTest import kotlinx.serialization.json.JsonPrimitive import kotlinx.serialization.json.bu...
0
Kotlin
3
30
756e7ecb214c0a167d2c898f6bb6c3bee3246442
13,977
trixnity
Apache License 2.0
examples/src/tl/ton/storage/db/StorageDbTorrentShort.kt
andreypfau
719,064,910
false
{"Kotlin": 62942}
// This file is generated by TLGenerator.kt // Do not edit manually! package tl.ton.storage.db import io.github.andreypfau.tl.serialization.TLCombinatorId import kotlin.jvm.JvmName import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable import kotlinx.serialization.json.JsonClassDiscriminator...
0
Kotlin
0
1
16de3f335d8005e35543cb7515a810fd9ac4236d
1,665
tl-kotlin
MIT License
AndroidSDKCore/src/main/java/com/leanplum/migration/wrapper/IWrapper.kt
Leanplum
89,527,711
false
{"Java": 1210921, "Kotlin": 132113, "HTML": 8924, "Shell": 1224, "Makefile": 286}
/* * Copyright 2022, Leanplum, Inc. All rights reserved. * * 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 unde...
1
Java
41
47
7990d25efc1bb36a43d33b0176465d6585ed270c
2,422
Leanplum-Android-SDK
Apache License 2.0
symbol-processor-common/src/testFixtures/kotlin/ru/tinkoff/kora/ksp/common/TestUtils.kt
Tinkoff
568,800,636
false
null
package ru.tinkoff.kora.ksp.common import com.google.devtools.ksp.processing.SymbolProcessorProvider import com.tschuchort.compiletesting.KotlinCompilation import com.tschuchort.compiletesting.SourceFile import java.nio.charset.StandardCharsets import java.nio.file.Files import java.nio.file.Path import java.nio.file....
27
null
23
146
bb6f65080d9f50b674c8a77dac08116b2ee9eebf
5,381
kora
Apache License 2.0
regler/src/main/kotlin/no/nav/pleiepengerbarn/uttak/regler/kontrakter_ext/RegelGrunnlagExt.kt
navikt
237,293,174
false
null
package no.nav.pleiepengerbarn.uttak.regler.kontrakter_ext import no.nav.pleiepengerbarn.uttak.kontrakter.* import no.nav.pleiepengerbarn.uttak.regler.domene.RegelGrunnlag import java.util.* fun RegelGrunnlag.annenPart(periode: LukketPeriode): AnnenPart { if (this.andrePartersUttaksplanPerBehandling.overlapper(pe...
5
Kotlin
2
0
2a478a5da7156c1056bb9676250680269ee93ead
700
pleiepenger-barn-uttak
MIT License
dsl/src/main/kotlin/io/cloudshiftdev/awscdkdsl/services/customerprofiles/CfnCalculatedAttributeDefinitionThresholdPropertyDsl.kt
cloudshiftinc
667,063,030
false
{"Kotlin": 63959868}
@file:Suppress( "RedundantVisibilityModifier", "RedundantUnitReturnType", "RemoveRedundantQualifierName", "unused", "UnusedImport", "ClassName", "REDUNDANT_PROJECTION", "DEPRECATION" ) package cloudshift.awscdk.dsl.services.customerprofiles import cloudshift.awscdk.common.CdkDslMarker ...
4
Kotlin
0
3
c59c6292cf08f0fc3280d61e7f8cff813a608a62
1,620
awscdk-dsl-kotlin
Apache License 2.0
src/main/java/main/block/BlockPropertyList.kt
LeoDog896
367,340,674
true
{"Kotlin": 33340}
package main.block import java.util.* class BlockPropertyList { private val properties: MutableList<Entry> = ArrayList() class Entry(val key: String, vararg val values: String) /** * Returns all possible combinations of properties from this list * @return */ val cartesianProduct: List...
0
Kotlin
0
0
5a842e617597680e16508a050fd3e8f75b4390f4
2,886
Skyla
The Unlicense
.kotlin_alpha/services/dynamodb/src/main/kotlin/com/kotlin/dynamodb/ListTables.kt
chitraanshpopli
401,956,842
true
{"Markdown": 350, "HTML": 72, "JavaScript": 760, "Python": 366, "SQL": 1, "TypeScript": 37, "CSS": 35, "Shell": 86, "C++": 211, "CMake": 27, "C": 7, "C#": 363, "Go": 632, "Batchfile": 5, "Makefile": 31, "Java": 1068, "Ruby": 309, "PHP": 410, "Rust": 101, "INI": 50, "Dockerfile": 2, "Java Properties": 2, "Gradle Kotlin ...
//snippet-sourcedescription:[ListTables.kt demonstrates how to list all Amazon DynamoDB tables.] //snippet-keyword:[AWS SDK for Kotlin] //snippet-keyword:[Code Sample] //snippet-service:[Amazon DynamoDB] //snippet-sourcetype:[full-example] //snippet-sourcedate:[03/02/2021] //snippet-sourceauthor:[scmacdon-aws] /* C...
1
null
0
1
16af840db692b6e8355fedbdb602ce1ec8318c89
1,516
aws-doc-sdk-examples
Apache License 2.0
src/main/java/de/byjoker/myjfql/command/CreateCommand.kt
joker-games
311,405,709
false
{"Maven POM": 1, "Dockerfile": 1, "Text": 1, "Ignore List": 1, "Markdown": 1, "YAML": 1, "Kotlin": 49, "Java": 57}
package de.byjoker.myjfql.command import de.byjoker.myjfql.core.MyJFQL import de.byjoker.myjfql.database.* import de.byjoker.myjfql.network.session.Session import de.byjoker.myjfql.user.User import org.jline.reader.ParsedLine @CommandHandler class CreateCommand : Command("create", listOf("COMMAND", "DATABASE", "T...
1
null
1
1
7bbd8e77fef477fe24b7edd1bf67a88cb6651287
5,401
MyJFQL
MIT License
backend/src/main/kotlin/app/ehrenamtskarte/backend/verification/webservice/schema/CardMutationService.kt
digitalfabrik
310,244,313
false
{"TypeScript": 465339, "Kotlin": 376982, "Dart": 290280, "Swift": 17185, "Ruby": 14180, "PLpgSQL": 4734, "Shell": 4372, "JavaScript": 4342, "HTML": 3118, "Java": 1039, "CSS": 433, "Objective-C": 38}
package app.ehrenamtskarte.backend.verification.webservice.schema import Card import app.ehrenamtskarte.backend.auth.database.AdministratorEntity import app.ehrenamtskarte.backend.auth.service.Authorizer import app.ehrenamtskarte.backend.common.webservice.GraphQLContext import app.ehrenamtskarte.backend.exception.serv...
101
TypeScript
3
34
e8936d728aeb1f5c4a6d5ebe4cc12c646dc8200b
12,824
entitlementcard
MIT License
src/main/kotlin/io/carmo/yakitori/store.kt
rcarmo
129,556,289
false
null
import java.io.* import kotlin.io.* import kotlinx.serialization.* @Serializable data class FrontMatter( val from: String, val title: String, val date: String, // for now val tags: List<String> ) fun get_file_(filename: String): MutableMap<String, String> { val buffer = File(filename).readText() ...
2
Kotlin
0
1
4d9524a8d0045f49228c77a48780ac6820c2db19
493
yakitori
MIT License
app/src/main/java/cz/prague/cvut/fit/steuejan/amtelapp/adapters/realtime/ShowTeamsFirestoreAdapter.kt
hawklike
234,594,207
false
{"Text": 1, "Ignore List": 1, "Markdown": 1, "Kotlin": 162, "XML": 116, "Java": 2}
package cz.prague.cvut.fit.steuejan.amtelapp.adapters.realtime import android.content.Context import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.RelativeLayout import android.widget.TextView import androidx.fragment.app.FragmentActivity import androidx.lifec...
1
null
1
1
1f88ddbcbd8e547158a4677c934b4dbf18ec82e1
2,737
Amtel-App
MIT License
app/src/main/kotlin/de/markusfisch/android/binaryeye/fragment/EncodeFragment.kt
markusfisch
101,552,674
false
null
package de.markusfisch.android.binaryeye.fragment import android.content.Context import android.os.Bundle import android.support.v4.app.Fragment import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.* import de.markusfisch.android.binaryeye.R import de.markusfi...
72
Kotlin
87
826
9abc01fc4f2ec513b4e83556d587452a4953fc87
5,527
BinaryEye
MIT License
src/test/kotlin/com/forgerock/securebanking/tests/functional/payment/domestic/DomesticScheduledPaymentTest.kt
SecureBankingAccessToolkit
330,627,234
false
null
package com.forgerock.securebanking.tests.functional.payment.domestic import assertk.assertThat import assertk.assertions.isEqualTo import assertk.assertions.isNotEmpty import assertk.assertions.isNotNull import assertk.assertions.isNull import com.forgerock.openbanking.common.model.version.OBVersion.v3_1_4 import com...
4
null
0
3
faa318b17c67761dfe3a625f45ac29cbfdd1f2b7
40,894
securebanking-openbanking-uk-functional-tests
Apache License 2.0
mbcarkit/src/main/java/com/daimler/mbcarkit/business/model/command/CommandVehicleApiService.kt
Daimler
199,815,262
false
null
package com.daimler.mbcarkit.business.model.command import com.daimler.mbcarkit.tracking.VehicleCommandTracker class CommandVehicleApiService { private val commands: MutableList<CarVehicleApiCommandWrapper<*>> = mutableListOf() private val vehicleCommandTracker = VehicleCommandTracker() fun containsAndR...
1
null
8
15
3721af583408721b9cd5cf89dd7b99256e9d7dda
5,670
MBSDK-Mobile-Android
MIT License
js/js.translator/testData/box/esModules/jsName/defaultJsName.kt
JetBrains
3,432,266
false
null
// DONT_TARGET_EXACT_BACKEND: JS // ES_MODULES // MODULE: main // FILE: lib.kt @file:JsModule("./foo.mjs") package lib @JsName("default") external val foo: Int // FILE: lib2.kt @file:JsModule("./bar.mjs") package lib @JsName("default") external fun foo(): Int // FILE: main.kt package main import lib.* fun box(): ...
181
null
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
493
kotlin
Apache License 2.0
ez-proxy/src/test/kotlin/cn/zenliu/ktor/features/FeatureTest.kt
ZenLiuCN
175,918,548
false
null
package cn.zenliu.ktor.features import cn.zenliu.ktor.features.proxy.* import io.ktor.application.* import io.ktor.client.* import io.ktor.client.engine.okhttp.* import io.ktor.http.* import io.ktor.server.testing.* import org.junit.jupiter.api.* import kotlin.test.* internal class FeatureTest { /*@Test fun testPr...
3
Kotlin
1
8
75ca2f90d597d90cb1a2fa9b124bdee95d3ba514
1,103
ktor-features
MIT License
ground/src/main/java/com/google/android/ground/persistence/remote/firebase/schema/SurveysCollectionReference.kt
google
127,777,820
false
{"Kotlin": 1403201}
/* * Copyright 2020 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
224
Kotlin
116
245
502a3bcafa4d65ba62868036cf5287a4219aaf5c
1,778
ground-android
Apache License 2.0
onboarding_overlay/android/app/src/main/kotlin/com/example/onboarding_overlay/MainActivity.kt
MeshTechnologies
389,986,630
true
{"Dart": 50069, "HTML": 7720, "Swift": 3327, "Kotlin": 383, "Objective-C": 114}
package com.example.onboarding_overlay import io.flutter.embedding.android.FlutterActivity class MainActivity: FlutterActivity() { }
0
Dart
0
0
fd93a82d0972b43dc092518994c33cbb47ea5a14
135
onboarding_overlay
MIT License
backend/bot-service-master/src/main/kotlin/ssilvalucas/botservice/mapper/StartTravelMapper.kt
ertprs
323,188,779
false
{"CSS": 226007, "Kotlin": 21692, "JavaScript": 20109, "TypeScript": 18275, "Python": 14232, "HTML": 10278, "Shell": 344}
package ssilvalucas.botservice.mapper import org.springframework.stereotype.Component import ssilvalucas.botservice.model.entity.StartTravel import ssilvalucas.botservice.web.dto.request.StartTravelRequest @Component class StartTravelMapper { fun requestToEntity(driver: String, request: StartTravelRequest): Start...
0
null
0
0
cdfaa30c6737a4db14cab22816ad5778e3c0f2f0
466
hackathon-ccr
Apache License 2.0
simple-jdbc-server/src/main/kotlin/org/askchapter/simplejdbc/query/QueryExecutor.kt
askchapter
444,622,689
false
{"Kotlin": 27965}
package org.askchapter.simplejdbc.query import org.askchapter.simplejdbc.api.ParameterValue import org.askchapter.simplejdbc.api.Query import org.askchapter.simplejdbc.api.Statement import org.askchapter.simplejdbc.api.TableLocator import java.sql.Connection import java.sql.ResultSet class QueryExecutor(private val c...
0
Kotlin
0
0
fd3ff33a5e60066449c5aa886c262db93376de93
2,042
simple-jdbc
MIT License
app/src/main/java/com/amar/modularnewsapp/common/BaseViewModelFactory.kt
amar1995
235,656,549
false
null
package com.amar.modularnewsapp.common import androidx.lifecycle.ViewModel import androidx.lifecycle.ViewModelProvider class BaseViewModelFactory<T>(val creator: () -> T) : ViewModelProvider.Factory { override fun <T : ViewModel?> create(modelClass: Class<T>): T { return creator() as T } }
0
null
0
4
002882f28c936e6a7b21895af66b6ab0dbc2b1be
308
ModularNewsApp
Apache License 2.0
app/src/main/java/ru/luckycactus/steamroulette/presentation/features/login/LoginViewModel.kt
luckycactus
196,364,852
false
null
package ru.luckycactus.steamroulette.presentation.features.login import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import androidx.lifecycle.viewModelScope import dagger.hilt.android.lifecycle.HiltViewModel import kotlinx.coroutines.launch import ru.luckycactus.steamroulette.R import ru.luck...
0
Kotlin
0
5
664e6c7b71d9f18199b05599d7bcff584dc523a9
2,972
steam-roulette
Apache License 2.0
konkurrensy/reproduce-race-conditions/RaceConditionReproducerTest.kt
AlexCue987
774,014,048
false
{"Kotlin": 9149}
package io.alexcue987.konkurrensy import com.tgt.trans.common.testhelpers.synkronizer.RaceConditionReproducer.Companion.runInParallel import io.kotest.core.spec.style.StringSpec import java.time.LocalDateTime class RaceConditionReproducerTest: StringSpec() { init { "two tasks wait on each other" { ...
0
Kotlin
0
1
42db6af133e5836adc0353e03c7b79e8a1012d31
1,862
talking-the-talk
Apache License 2.0
src/main/kotlin/com/beust/kobalt/app/BuildScriptJarFile.kt
thorntonrp
64,989,971
false
{"Markdown": 3, "XML": 17, "Shell": 5, "Ignore List": 1, "Batchfile": 2, "Text": 1, "YAML": 1, "Kotlin": 233, "INI": 4, "JAR Manifest": 1, "Java": 7, "Maven POM": 1, "Mustache": 5}
package com.beust.kobalt.app import java.io.File import java.io.FileWriter /** * A wrapper around buildScript.jar. Additionally, this class takes care of the "profiles" file that * gets saved alongside buildScript.jar and which keeps track of which profiles were active when this * jar file gets generated. With thi...
1
null
1
1
9a249c2a6c4e49e390ff26509b8bef5e6b27c0ed
1,537
kobalt
Apache License 2.0
src/test/kotlin/org/rust/ide/inspections/RsCompileErrorMacroInspectionTest.kt
intellij-rust
42,619,487
false
{"Gradle Kotlin DSL": 2, "Java Properties": 5, "Markdown": 11, "TOML": 19, "Shell": 2, "Text": 124, "Ignore List": 1, "Batchfile": 1, "EditorConfig": 1, "XML": 140, "Kotlin": 2284, "INI": 3, "ANTLR": 1, "Rust": 362, "YAML": 131, "RenderScript": 1, "JSON": 6, "HTML": 198, "SVG": 136, "JFlex": 1, "Java": 1, "Python": 37}
/* * Use of this source code is governed by the MIT license that can be * found in the LICENSE file. */ package org.rust.ide.inspections import org.rust.* import org.rust.ide.experiments.RsExperiments @ProjectDescriptor(WithStdlibRustProjectDescriptor::class) class RsCompileErrorMacroInspectionTest : RsInspection...
1,841
Kotlin
380
4,528
c6657c02bb62075bf7b7ceb84d000f93dda34dc1
1,962
intellij-rust
MIT License
publish-component/src/main/java/com/kotlin/android/publish/component/scope/ArticleIDScope.kt
R-Gang-H
538,443,254
false
null
package com.kotlin.android.publish.component.scope import com.kotlin.android.api.base.checkResult import com.kotlin.android.app.data.constant.CommConstant import com.kotlin.android.app.data.entity.community.content.CheckReleasedResult import com.kotlin.android.ktx.ext.log.i import com.kotlin.android.publish.component....
0
Kotlin
0
1
e63b1f9a28c476c1ce4db8d2570d43a99c0cdb28
1,710
Mtime
Apache License 2.0
platform/platform-impl/src/com/intellij/internal/statistic/eventLog/fus/FeatureUsageLogger.kt
present1001
200,298,294
true
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.internal.statistic.eventLog.fus import com.intellij.internal.statistic.eventLog.* import com.intellij.openapi.application.ApplicationManager import java.io.F...
1
null
1
1
c4f0b566e6b2ec410fb3c785e12dab9c6d20ac26
3,015
intellij-community
Apache License 2.0
src/main/kotlin/me/tomassetti/presentation/Helper.kt
ftomassetti
77,516,926
false
null
package me.tomassetti.presentation class Dummy { } fun readExampleCode() = Dummy::class.java.classLoader.getResourceAsStream("mysm.sm").bufferedReader().use { it.readText() }
0
Kotlin
1
2
0ee431591a202b0a798e9ead99fe23316f83ae26
176
smlang-example
MIT License
serve-app/Partner/src/main/java/org/evidyaloka/partner/ui/home/dsp/DspSchoolAdapter.kt
Sunbird-Serve
607,662,046
false
null
package org.evidyaloka.partner.ui.home.dsp import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.navigation.findNavController import androidx.recyclerview.widget.RecyclerView import com.bumptech.glide.Glide import com.bumptech.glide.load.resource.bitmap.CenterCrop im...
0
Kotlin
1
0
6d8d170333e2d32c808e608863e02e076dc06a73
5,011
serve-beta-android-app
MIT License
features/preference/src/androidTest/java/com/escodro/preference/PreferenceSectionTest.kt
igorescodro
116,942,964
false
null
package com.escodro.preference import androidx.compose.ui.test.junit4.createComposeRule import androidx.compose.ui.test.onNodeWithText import androidx.test.platform.app.InstrumentationRegistry import com.escodro.designsystem.AlkaaTheme import com.escodro.preference.model.AppThemeOptions import com.escodro.preference.p...
7
null
83
999
e64a652c6b62dd5ca80c2c128186ef4b8bf6cf63
1,779
alkaa
Apache License 2.0
tests/src/commonTest/kotlin/ru/nsk/kstatemachine/TestingStartFromTest.kt
nsk90
296,142,904
false
{"Kotlin": 334803}
package ru.nsk.kstatemachine import io.kotest.core.spec.style.StringSpec import io.kotest.matchers.collections.shouldBeEmpty import io.kotest.matchers.shouldBe import ru.nsk.kstatemachine.Testing.startFrom import ru.nsk.kstatemachine.Testing.startFromBlocking class TestingStartFromTest : StringSpec({ CoroutineSta...
7
Kotlin
17
283
9c718c6a0d93673d8689e16c88d796de0082e0d1
2,832
kstatemachine
Boost Software License 1.0
uma-sdk/src/commonMain/kotlin/me/uma/protocol/Currency.kt
uma-universal-money-address
696,990,501
false
{"Kotlin": 98329, "Java": 9910}
package me.uma.protocol import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable import kotlinx.serialization.encodeToString import me.uma.utils.serialFormat @Serializable data class Currency( /** * The currency code, eg. "USD". */ val code: String, /** * The full ...
0
Kotlin
1
3
f0afcaa8244c2c40195375f8647d7cc7b7cbc602
1,840
uma-kotlin-sdk
Apache License 2.0
Quiz App/app/src/main/java/com/vignesh/quizapp/Question.kt
vigneshshettyin
368,409,089
false
null
package com.vignesh.quizapp class Question ( val id : Int, val question : String, val image : Int, val optionOne : String, val optionTwo : String, val optionThree : String, val optionFour : String, val correctAnswer : Int)
0
Kotlin
1
2
4b2d87943a72044b9b7170f5405c557f95b03d0e
255
Android
MIT License
naked4u/src/main/kotlin/io/popbrain/naked4u/utils.kt
Popbrain
239,405,290
false
null
/** * Copyright (C) 2020 Popbrain aka Garhira. * * 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
0
1
5c97d20029af542ce0062ddfaba5e8eca992e8e6
3,727
naked4u
Apache License 2.0
src/main/kotlin/no/nav/personopplysninger/personalia/extensions/kontaktadresseExtensions.kt
navikt
143,875,913
false
{"Kotlin": 203967, "Dockerfile": 267}
package no.nav.personopplysninger.personalia.extensions import no.nav.pdl.generated.dto.hentpersonquery.Kontaktadresse import no.nav.personopplysninger.personalia.enums.AdresseMappingType val Kontaktadresse.mappingType: AdresseMappingType get() = when { vegadresse != null -> AdresseMappingType.INNLAND_VEG...
6
Kotlin
0
0
e5eb4504a64523c2b6fd43fb1e37b387edcbcc7d
1,483
personopplysninger-api
MIT License
src/main/kotlin/no/nav/personopplysninger/personalia/extensions/kontaktadresseExtensions.kt
navikt
143,875,913
false
{"Kotlin": 203967, "Dockerfile": 267}
package no.nav.personopplysninger.personalia.extensions import no.nav.pdl.generated.dto.hentpersonquery.Kontaktadresse import no.nav.personopplysninger.personalia.enums.AdresseMappingType val Kontaktadresse.mappingType: AdresseMappingType get() = when { vegadresse != null -> AdresseMappingType.INNLAND_VEG...
6
Kotlin
0
0
e5eb4504a64523c2b6fd43fb1e37b387edcbcc7d
1,483
personopplysninger-api
MIT License
src/main/kotlin/de/flapdoodle/kfx/bindings/ObservableMaps.kt
flapdoodle-oss
451,526,335
false
{"Kotlin": 514629, "Java": 153590, "CSS": 30160, "Shell": 189}
package de.flapdoodle.kfx.bindings import javafx.beans.InvalidationListener import javafx.beans.binding.ObjectBinding import javafx.beans.value.ChangeListener import javafx.beans.value.ObservableValue import javafx.collections.FXCollections import javafx.collections.ObservableList import javafx.collections.ObservableM...
0
Kotlin
1
0
c9bde9fbc3a8d1fba5ac50bf82587e3e81718244
2,646
de.flapdoodle.kfx
Apache License 2.0
app/src/main/java/com/fireblocks/sdkdemo/ui/viewmodel/BackupKeysViewModel.kt
fireblocks
690,587,303
false
{"Kotlin": 511047, "HTML": 788}
package com.fireblocks.sdkdemo.ui.viewmodel import com.fireblocks.sdk.keys.KeyBackupStatus import com.fireblocks.sdkdemo.FireblocksManager import com.fireblocks.sdkdemo.ui.main.BaseViewModel import com.fireblocks.sdkdemo.ui.main.UiState import com.fireblocks.sdkdemo.ui.observers.ObservedData import kotlinx.coroutines....
2
Kotlin
1
0
15a3cad1b030a53cd07a521e3f880ea4764a2889
2,288
android-ncw-demo
MIT License
backend/data/src/main/kotlin/io/tolgee/service/export/ExportService.kt
tolgee
303,766,501
false
{"Kotlin": 3688260, "TypeScript": 2446015, "JavaScript": 18552, "MDX": 15316, "Shell": 12678, "Java": 9890, "Dockerfile": 9472, "PLpgSQL": 663, "HTML": 439}
package io.tolgee.service.export import io.tolgee.component.reporting.BusinessEventPublisher import io.tolgee.component.reporting.OnBusinessEventToCaptureEvent import io.tolgee.dtos.IExportParams import io.tolgee.dtos.cacheable.LanguageDto import io.tolgee.service.export.dataProvider.ExportDataProvider import io.tolge...
143
Kotlin
95
1,244
45557db6cf85bceba9a8f662a1618d0790da84db
2,554
tolgee-platform
Apache License 2.0
cap07-add-creatures/src/main/java/tech/salvatore/livro_android_kotlin_paulo_salvatore/viewmodel/CreaturesViewModel.kt
FabricaDeSinapse
387,030,484
false
null
package tech.salvatore.livro_android_kotlin_paulo_salvatore.viewmodel import androidx.lifecycle.MutableLiveData import androidx.lifecycle.ViewModel import dagger.hilt.android.lifecycle.HiltViewModel import tech.salvatore.livro_android_kotlin_paulo_salvatore.model.domain.Creature import tech.salvatore.livro_android_kot...
0
Kotlin
6
12
625321562bb79ad5729be634e0690815425520b2
749
livro-android-casa-do-codigo
MIT License
src/main/kotlin/ru/ovrays/squareclans/command/subcommands/SubCommandExpel.kt
PepejHa4ker
205,531,995
false
null
package ru.ovrays.squareclans.command.subcommands import org.bukkit.Bukkit import ru.ovrays.squareclans.command.wrapper.WrappedSender import ru.ovrays.squareclans.model.Member import ru.ovrays.squareclans.model.Permission import ru.ovrays.squareclans.util.ColorUtilities import ru.ovrays.squareclans.util.sendMessage ...
0
Kotlin
0
0
9ef3db419375e6025fa74a2ed5eee2b7a96804e5
2,050
SquareClans
MIT License
usercenter/src/main/java/newtrekwang/com/usercenter/data/repository/UploadResipository.kt
Wangjiaxing123
119,262,875
false
{"Gradle": 7, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 6, "Batchfile": 1, "Markdown": 1, "Proguard": 5, "XML": 76, "Kotlin": 80, "Java": 4}
package newtrekwang.com.usercenter.data.repository import newtrekwang.com.baselibrary.data.net.RetrofitFactory import newtrekwang.com.baselibrary.data.protocal.BaseResp import newtrekwang.com.usercenter.data.api.UploadApi import newtrekwang.com.usercenter.data.api.UserApi import newtrekwang.com.usercenter.data.protoc...
0
Kotlin
0
0
dad2cc48cd71c134a872bac151b7fe8a26a498b9
699
KotlinMall
Apache License 2.0
app/src/main/java/com/dispositivosmoveis/ritterflix/ui/signin/SignInViewModel.kt
fcdrago
318,909,879
true
{"Kotlin": 52269}
package com.dispositivosmoveis.ritterflix.ui.signin import androidx.lifecycle.ViewModel class SignInViewModel : ViewModel() { // TODO: Implement the ViewModel }
0
null
0
1
381b3d7277639632601e2070590e0879728fa64d
166
RitterFlix-1
MIT License
gen_src/fedpro/callback/FederationNotRestored.kt
Pitch-Technologies
690,640,598
false
{"Kotlin": 2806487}
// Code generated by Wire protocol buffer compiler, do not edit. // Source: fedpro.FederationNotRestored in FederateAmbassador.proto package fedpro.callback import com.squareup.wire.FieldEncoding import com.squareup.wire.Message import com.squareup.wire.ProtoAdapter import com.squareup.wire.ProtoReader import com.squa...
0
Kotlin
0
1
ef5fb6caba03cf2dfb0c6f969f0d319ae91901d2
4,510
KotlinChat
Apache License 2.0
src/main/kotlin/FUN_005b8350.kt
argcc
777,572,651
false
{"Kotlin": 822305}
package org.example fun FUN_005b8350(p: Float): C_0073fd5c? { if (p > 0.2f) { _0073fd58.hash_map //TODO define _0073fd58.hash_map } return null }
0
Kotlin
0
0
10098c142ffe726dfd2454d4d46ab97f177dcad7
178
ei_reverse_consp
MIT License
shared/src/commonMain/kotlin/com/jetbrains/handson/kmm/shared/SpaceXSDK.kt
joreilly
294,990,199
false
null
package com.jetbrains.handson.kmm.shared import com.jetbrains.handson.kmm.shared.cache.Database import com.jetbrains.handson.kmm.shared.cache.DatabaseDriverFactory import com.jetbrains.handson.kmm.shared.entity.RocketLaunch import com.jetbrains.handson.kmm.shared.network.SpaceXApi class SpaceXSDK (databaseDriverFacto...
0
null
0
9
392cd9db8ee01bc073b3b9c4c472e592037597fd
877
kmm-networking-and-data-storage
Apache License 2.0
feature_image/src/main/java/com/adrianwitaszak/tool_image/ImageModule.kt
adrianwitaszak
425,251,545
false
null
package com.adrianwitaszak.tool_image import android.app.WallpaperManager import android.content.Context import com.adrianwitaszak.tool_image.imagemanager.ImageManager import com.adrianwitaszak.tool_image.imagemanager.ImageManagerImpl import com.adrianwitaszak.tool_image.wallpapersetter.WallpaperSetter import com.adri...
0
Kotlin
2
68
e662a42078df12a90326ce6029f0f0b8542daa44
1,148
PexWallpapers
MIT License
1er Departamental/Actividad 1/E3.kt
lindafdz
759,605,209
false
{"Kotlin": 14052}
/** 3. Declarar una variable const val con el valor de Pi y multiplicarla por 2 veces la variable decimal para obtener el perímetro de un circulo */ const val PI = 3.14159 fun main() { var n = 4.5f var perimetro = n.times(PI) println(perimetro) }
0
Kotlin
0
0
fd8a793d66326ba01cc28e562a4950c0f424c236
264
Prog_movil
Apache License 2.0
src/main/math/EulerTotientFunction.kt
vamsi3
504,166,472
false
null
package com.vamsi3.algorithm.math fun eulerTotientFunction(n: Int): Int { var phi = n primeDivisors(n).forEach { primeDivisor -> phi -= phi / primeDivisor } return phi } fun generateEulerTotientFunction(n: Int, algorithm: GenerateEulerTotientFunctionAlgorithm) = when (algorithm) { GenerateEulerTotient...
0
Kotlin
0
0
5eda4c454984866e00a5d26c73dfb6f2437017e7
1,203
algorithm-library
MIT License
app/src/main/java/com/iutcalendar/filedownload/WrongURLException.kt
wwwazz333
486,323,544
false
{"Kotlin": 204168}
package com.iutcalendar.filedownload import com.iutcalendar.calendrier.InputStreamFileException class WrongURLException : InputStreamFileException("mauvais URL")
2
Kotlin
0
0
95d2a6a5bb3a2d843d647563a4124847ed4b1d62
163
AgendaLyon1
MIT License
services/match-service/domain/src/test/kotlin/nl/runnable/gigmatch/domain/vacancy/OpenVacancyCommandTest.kt
laurens-runnable
595,664,400
false
null
package nl.runnable.gigmatch.domain.vacancy import nl.runnable.gigmatch.domain.whenever import org.axonframework.eventhandling.scheduling.EventScheduler import org.axonframework.test.aggregate.AggregateTestFixture import org.junit.jupiter.api.BeforeEach import org.junit.jupiter.api.Test import org.mockito.kotlin.any i...
0
Kotlin
0
0
961260f0c6e96be9d8e17c9772adb5169ea11bf0
3,420
gigmatch
The Unlicense
jvm/src/main/kotlin/org/faziodev/saywhatstarter/types/messages/GoogleBasicCardMessage.kt
MFazio23
142,912,818
false
{"C#": 21749, "Kotlin": 14494, "JavaScript": 11070, "ASP": 115}
package org.faziodev.saywhatstarter.types.messages data class GoogleBasicCardMessage(val basicCard: GoogleBasicCard) : GooglePlatformMessage() { companion object { fun create( title: String = "", subtitle: String = "", formattedText: String = "", image: Basic...
5
C#
0
0
5fef37727069a90f79b81a782b7f7968377bd9ac
624
TC2018-SayWhatStarter
MIT License
bootique-kotlin-jetty/src/test/java/io/bootique/kotlin/config/jetty/JettyModuleTest.kt
bootique
82,922,481
false
{"Kotlin": 84325, "HTML": 173}
/* * Licensed to ObjectStyle LLC under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ObjectStyle LLC licenses * this file to you under the Apache License, Version 2.0 (the * "License"); you may not u...
0
Kotlin
4
13
bb4e6f761347dd97de1313ba89e5e121710da653
2,171
bootique-kotlin
Apache License 2.0
sample-app/src/androidTest/java/com/atiurin/sampleapp/tests/espresso/ViewInteractionActionsTest.kt
alex-tiurin
312,407,423
false
null
package com.atiurin.sampleapp.tests.espresso import android.os.SystemClock import android.view.KeyEvent import android.view.View import androidx.test.espresso.action.EspressoKey import androidx.test.espresso.action.ViewActions.click import com.atiurin.sampleapp.R import com.atiurin.sampleapp.framework.ultronext.append...
1
null
3
8
795fc6ce2a06e8686efce2fdb175b20b913eac84
5,587
ultron
Apache License 2.0
app/src/main/java/com/levibostian/tellerexample/viewmodel/GitHubUsernameViewModel.kt
levibostian
132,034,933
false
null
package com.levibostian.tellerexample.viewmodel import android.content.Context import android.content.SharedPreferences import android.preference.PreferenceManager import androidx.lifecycle.LiveData import androidx.lifecycle.LiveDataReactiveStreams import androidx.lifecycle.ViewModel import com.f2prateek.rx.preference...
24
Kotlin
2
14
90f3e7dc105fba1ad80bb3b9373f8de60c325f65
1,148
Teller-Android
MIT License
app/src/main/java/com/appclasses/smartcart/whychoose2.kt
Sa-Te
839,904,712
false
{"Kotlin": 7990}
package com.appclasses.smartcart import android.content.Intent import android.os.Bundle import android.widget.Button import androidx.activity.enableEdgeToEdge import androidx.appcompat.app.AppCompatActivity import androidx.core.view.ViewCompat import androidx.core.view.WindowInsetsCompat class whychoose2 : AppCompatA...
0
Kotlin
0
0
13ceabed264fa407394f7fa5b8b430833101d878
736
GroceryPriceTracker
MIT License
order/core/src/main/kotlin/com/rarible/protocol/order/core/converters/model/ListenerTransactionConverter.kt
NFTDroppr
418,665,809
true
{"Kotlin": 2329156, "Scala": 37343, "Shell": 6001, "HTML": 547}
package com.rarible.protocol.order.core.converters.model import com.rarible.ethereum.log.domain.TransactionDto import com.rarible.protocol.dto.CreateTransactionRequestDto import org.springframework.core.convert.converter.Converter import org.springframework.stereotype.Component @Component object ListenerTransactionCo...
0
Kotlin
0
1
b1efdaceab8be95429befe80ce1092fab3004d18
676
ethereum-indexer
MIT License
android/src/main/kotlin/com/gdelataillade/alarm/services/NotificationService.kt
gdelataillade
580,765,289
false
{"Dart": 49079, "Kotlin": 35938, "Swift": 30746, "Ruby": 2227, "Java": 670, "Objective-C": 650}
package com.gdelataillade.alarm.alarm import com.gdelataillade.alarm.models.NotificationActionSettings import android.app.Notification import android.app.NotificationChannel import android.app.NotificationManager import android.app.PendingIntent import android.content.Context import android.content.Intent import andro...
42
Dart
73
119
000c605e74adfcf1ab41718bf4ef331ab9f131e0
2,774
alarm
MIT License
data/src/test/kotlin/com/bykov/footea/repository/LocalFirstFootballTeamRepositoryTest.kt
grine4ka
419,372,892
false
null
package com.bykov.footea.repository import com.bykov.footea.models.FootballTeam import com.bykov.footea.models.FootballTeamDetails import io.reactivex.Single import org.junit.jupiter.api.Test internal class LocalFirstFootballTeamRepositoryTest { @Test internal fun `should load teams from database when databa...
7
Kotlin
0
1
e1431d8f4d4f84048f21fd0d45a7466886e60301
1,800
footea
MIT License
app/src/main/kotlin/io/reyurnible/daily_reporter/App.kt
Reyurnible
122,746,317
false
{"Kotlin": 4782}
package io.reyurnible.daily_reporter import com.google.gson.GsonBuilder import io.ktor.application.Application import io.ktor.application.install import io.ktor.content.static import io.ktor.features.CallLogging import io.ktor.features.ConditionalHeaders import io.ktor.features.ContentNegotiation import io.ktor.featur...
0
Kotlin
0
0
8684d4a838cdeb69c70b53fa907256d93666444e
1,229
daily-reporter
Apache License 2.0
src/main/kotlin/com/github/subtixx/omnicraft/tags/ItemTagsProvider.kt
Subtixx
850,089,269
false
{"Kotlin": 217619}
package com.github.subtixx.omnicraft.tags import com.github.subtixx.omnicraft.Omnicraft import com.github.subtixx.omnicraft.mod.ModResources import com.github.subtixx.omnicraft.resources.WorldResource import net.minecraft.core.HolderLookup import net.minecraft.data.PackOutput import net.minecraft.data.tags.ItemTagsPro...
33
Kotlin
0
0
5a9602bc59afe1a2bf9e3f09c8418f99e5693316
2,129
OmniCraft
MIT License
app/src/main/java/com/github/naz013/tasker/utils/Notifier.kt
naz013
130,979,894
false
null
package com.github.naz013.tasker.utils import android.app.NotificationChannel import android.app.NotificationManager import android.app.PendingIntent import android.content.Context import android.content.Intent import android.graphics.Color import android.os.Build import androidx.annotation.RequiresApi import androidx...
1
null
5
2
53d050d6fdfca644106f141a6b435a43335d4c8c
5,277
my-day-todo
Apache License 2.0
app/src/main/java/id/indosw/xlstojson/kotlin/JsonToExcelActivity.kt
SWRevo
378,729,351
false
null
@file:Suppress("SpellCheckingInspection") package id.indosw.xlstojson.kotlin import android.Manifest import android.annotation.SuppressLint import android.content.Intent import android.content.pm.PackageManager import android.net.Uri import android.os.Bundle import android.view.View import android.widget.* import and...
1
null
1
2
9f26d5ad690a306a1976c79448587f0cc2024c4e
7,640
XlsToJson
Apache License 2.0
jetbrains-ultimate/tst/software/aws/toolkits/jetbrains/services/lambda/go/GoRuntimeGroupTest.kt
JetBrains
223,485,227
true
{"Gradle Kotlin DSL": 21, "Markdown": 16, "Java Properties": 2, "Shell": 1, "Text": 12, "Ignore List": 3, "Batchfile": 1, "Git Attributes": 1, "EditorConfig": 3, "YAML": 28, "XML": 96, "Kotlin": 1102, "JSON": 54, "Java": 9, "SVG": 64, "TOML": 1, "INI": 1, "CODEOWNERS": 1, "Maven POM": 4, "Dockerfile": 14, "JavaScript":...
// Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.aws.toolkits.jetbrains.services.lambda.go import com.goide.sdk.GoSdkService import com.intellij.testFramework.runInEdtAndWait import org.assertj.core.api.Assertions.assertThat import org....
6
Kotlin
4
9
ccee3307fe58ad48f93cd780d4378c336ee20548
1,075
aws-toolkit-jetbrains
Apache License 2.0
TearnApp/app/src/main/java/com/tearnsv/tearnapp/ui/home/HomeViewModel.kt
HenCor2019
386,136,128
false
null
package com.tearnsv.tearnapp.ui.home import android.util.Log import android.view.View import androidx.lifecycle.* import com.tearnsv.tearnapp.TearnApplication import com.tearnsv.tearnapp.data.Recommendations import com.tearnsv.tearnapp.repository.TearnRepository import kotlinx.coroutines.Dispatchers import kotlinx.cor...
0
Kotlin
1
1
c7c661a996b9bc12ba05a574fb2a32ca22477a9f
1,460
tearn-app
MIT License
tabler/src/commonMain/kotlin/com/woowla/compose/icon/collections/tabler/tabler/outline/DiamondOff.kt
walter-juan
868,046,028
false
{"Kotlin": 34345428}
package com.woowla.compose.icon.collections.tabler.tabler.outline import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap im...
0
Kotlin
0
3
eca6c73337093fbbfbb88546a88d4546482cfffc
2,630
compose-icon-collections
MIT License
app/src/main/java/com/medieverone/teststarwarsapi/di/modules/RoomModule.kt
MedieverOne
398,304,169
false
null
package com.medieverone.teststarwarsapi.di.modules import android.content.Context import androidx.room.Room import androidx.room.RoomDatabase import com.medieverone.data.database.ImagesDatabase import com.medieverone.data.database.StarWarsDatabase import dagger.Module import dagger.Provides import javax.inject.Qualifi...
0
Kotlin
0
0
232de2b66a40f9a2fdfd536c0faba63064402f68
1,384
StarWarsMvvmPet
Apache License 2.0
libA/src/main/java/package_A_0/Foo_A_00.kt
lekz112
118,451,085
false
null
package package_A_0 import package_B_19.Foo_B_1919 class Foo_A_00 { fun foo0() { var i=0 i+=Math.random().toInt() i+=Math.random().toInt() i+=Math.random().toInt() i+=Math.random().toInt() i+=Math.random().toInt() i+=Math.random().toInt() i+=Math.random().toInt() i+=Math.random().toInt() i+=Math.random().toInt() i+=M...
0
Kotlin
0
0
8182b7f6e92f9d65efb954c32ca640fe50ae6b79
618
ModuleTest
Apache License 2.0
codegen-compiler/src/main/kotlin/com/freeletics/khonshu/codegen/codegen/nav/NavEntryComponentGetterGenerator.kt
freeletics
375,363,637
false
null
package com.freeletics.khonshu.codegen.codegen.nav import com.freeletics.khonshu.codegen.NavEntryData import com.freeletics.khonshu.codegen.codegen.Generator import com.freeletics.khonshu.codegen.codegen.common.retainedComponentFactoryCreateName import com.freeletics.khonshu.codegen.codegen.common.retainedParentCompon...
8
Kotlin
8
66
1c205d893313264394305567f1c662bcc87eab1d
3,803
khonshu
Apache License 2.0
common/src/main/java/com/zhongjh/common/coordinator/VideoCompressCoordinator.kt
zhongjhATC
144,702,880
false
{"Java": 914738, "Kotlin": 331996}
package com.zhongjh.common.coordinator import com.zhongjh.common.listener.VideoEditListener /** * 视频压缩协调者 * * @author zhongjh */ interface VideoCompressCoordinator { /** * 赋值事件 * * @param videoCompressListener 事件 */ fun setVideoCompressListener(cls: Class<*>, videoCompressListener: Vi...
9
Java
109
976
399eebfd77070a1ffa430fa3c47f7570f4b88c4c
883
AlbumCameraRecorder
MIT License
kotlin/services/support/src/main/kotlin/com/example/support/SupportScenario.kt
awsdocs
66,023,605
false
{"Java": 6203673, "Python": 3418340, "C#": 2622899, "C++": 2219841, "JavaScript": 2089519, "Go": 1637068, "Kotlin": 1428578, "Rust": 1079600, "PHP": 962022, "Ruby": 565537, "Swift": 541762, "ABAP": 529305, "Shell": 319760, "TypeScript": 255687, "CMake": 225257, "HTML": 141442, "CSS": 26181, "Dockerfile": 11827, "Jinja"...
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package com.example.support import aws.sdk.kotlin.services.support.SupportClient import aws.sdk.kotlin.services.support.model.AddAttachmentsToSetRequest import aws.sdk.kotlin.services.support.model.AddCommunic...
248
Java
5614
9,502
3d8f94799b9c661cd7092e03d6673efc10720e52
11,669
aws-doc-sdk-examples
Apache License 2.0
app/src/main/java/org/stepic/droid/ui/dialogs/TimeIntervalPickerDialogFragment.kt
abhirocks1211
205,717,847
false
null
package org.stepic.droid.ui.dialogs import android.app.Dialog import android.content.DialogInterface import android.os.Bundle import android.support.v4.app.DialogFragment import android.widget.NumberPicker import biz.kasual.materialnumberpicker.MaterialNumberPicker import com.afollestad.materialdialogs.MaterialDialog ...
1
null
1
1
8a2ead7334b6b26a281b3a7842e6502fd96b2cc5
3,079
stepik
Apache License 2.0
idea/idea-completion/testData/smart/inheritors/GenericClass3.kt
JakeWharton
99,388,807
true
null
interface I<T1, T2> abstract class C1<T> : I<T, String> abstract class C2 : I<Int, String> abstract class C3 : I<String, Int> abstract class C4<T> : I<String, T> fun <T> foo(i: I<T, String>){} fun bar() { foo(<caret>) } // EXIST: { itemText: "object : I<...>{...}" } // EXIST: { itemText: "object : C1<...>(){......
0
Kotlin
30
83
4383335168338df9bbbe2a63cb213a68d0858104
861
kotlin
Apache License 2.0
tenextll/src/main/java/com/tenext/auth/message/upload/HeartMessage.kt
wenext-ops
250,197,017
false
{"Text": 3, "Markdown": 2, "Gradle": 5, "Java Properties": 2, "Shell": 1, "Ignore List": 3, "Batchfile": 1, "Proguard": 2, "JSON": 1, "Kotlin": 203, "XML": 105, "Java": 4}
package com.tenext.auth.message.upload /** * 解绑设备 */ class HeartMessage(deviceIds: ArrayString) : YunMessage() { var deviceIds = deviceIds init { Action = "AppDeviceTraceHeartBeat" } override fun toString(): String { reqId = 2 addValue("DeviceIds", deviceIds) retur...
0
Kotlin
1
0
4266bd268686ab0bf6799ac0168967281fdc2051
347
LLForAndroid
MIT License
test/com/facebook/buck/jvm/kotlin/testdata/kotlin_library_description/com/example/ap/annotation-processing-tool-ksp/AKotlinClass.kt
jasonnam
429,969,171
true
{"Java": 40267235, "Starlark": 1541716, "JavaScript": 931186, "Python": 556768, "C": 248678, "CSS": 56146, "Shell": 42105, "Kotlin": 36815, "Thrift": 17387, "Lex": 14494, "Smalltalk": 5550, "PowerShell": 5054, "Dockerfile": 2094, "Batchfile": 1754, "Makefile": 1700, "HTML": 501}
package com.example.ap class AKotlinClass { fun foo() { JavaClassWithJavaAnnotation_kspgen() KotlinClassWithJavaAnnotation_kspgen() JavaClassWithKotlinAnnotation_kspgen() KotlinClassWithKotlinAnnotation_kspgen() } }
0
Java
0
0
b3ab117281779820ff30044cfc15cc94b620f531
257
buck
Apache License 2.0
basics/src/main/java/com/lt/basics/base/MultiItemViewModel.kt
HankToCode
246,735,881
false
null
package com.lt.basics.base /** * Create Author:HankGreen * Create Date:2019/01/25 * Description:RecycleView多布局ItemViewModel是封装 */ open class MultiItemViewModel<VM : BaseViewModel<BaseModel>?>(viewModel: VM) : ItemViewModel<VM>(viewModel) { var itemType: Any? = null protected set fun multiItemType(...
1
null
1
1
f03c633a668e86d16a67dd7800f41f3ef7508264
374
MVVM_ANDROIDX
Apache License 2.0
ui/src/main/kotlin/com/mirage/ui/widgets/Button.kt
ardenit
159,560,530
false
null
package com.mirage.ui.widgets import com.mirage.utils.datastructures.Point import com.mirage.utils.datastructures.Rectangle import com.mirage.utils.virtualscreen.VirtualScreen /** * @param textureName Текстура кнопки по умолчанию. * @param highlightedTextureName Текстура кнопки при наведении на неё. * @param press...
0
Kotlin
0
0
f94f8bee518f70f5942aacf66afb5887bbb04988
3,075
shattered-world
Apache License 2.0
Polaris/src/main/java/com/st/polaris/ble/BlePolarisDiscoveryForConfiguration.kt
STMicroelectronics
215,806,141
false
{"Java": 1879263, "Kotlin": 1551485, "HTML": 13728}
package com.st.polaris.ble import android.annotation.SuppressLint import android.app.Activity import android.content.Context import android.content.Intent import android.content.SharedPreferences import android.os.Bundle import android.view.Menu import android.widget.ImageView import androidx.appcompat.app.AlertDialog...
0
Java
3
4
7d15d68a7b0e94baa69a2632ae3de37fb32178a8
4,984
STAssetTracking_Android
The Unlicense
js/js.translator/testData/reservedWords/cases/insideClassObjectFunFalse.kt
erokhins
44,854,854
true
{"Markdown": 33, "XML": 665, "Ant Build System": 45, "Ignore List": 7, "Git Attributes": 1, "Kotlin": 20967, "Java": 4534, "Protocol Buffer": 7, "Text": 4663, "JavaScript": 63, "JAR Manifest": 3, "Roff": 46, "Roff Manpage": 11, "INI": 17, "HTML": 152, "Groovy": 23, "Java Properties": 14, "Maven POM": 49, "Gradle": 74, ...
package foo // NOTE THIS FILE IS AUTO-GENERATED by the generateTestDataForReservedWords.kt. DO NOT EDIT! class TestClass { companion object { fun `false`() { `false`() } fun test() { testNotRenamed("false", { ::`false` }) } } } fun box(): String { TestClass.test() ...
0
Java
0
1
ff00bde607d605c4eba2d98fbc9e99af932accb6
335
kotlin
Apache License 2.0
libraries/tools/gradle/regression-benchmark-templates/src/main/kotlin/org/jetbrains/kotlin/gradle/benchmark/BenchmarkScenario.kt
JetBrains
3,432,266
false
null
@file:Suppress("Unused", "Unused_Variable") /* * Copyright 2010-2021 JetBrains s.r.o. and Kotlin Programming Language contributors. * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. */ package org.jetbrains.kotlin.gradle.benchmark class Scenario { ...
181
null
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
1,815
kotlin
Apache License 2.0
platform/platform-impl/src/com/intellij/openapi/fileEditor/impl/FileEditorStateWithPreferredOpenMode.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.openapi.fileEditor.impl import com.intellij.openapi.fileEditor.FileEditorState interface FileEditorStateWithPreferredOpenMode : FileEditorState { val openMode: FileEditorMana...
284
null
5162
16,707
def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0
339
intellij-community
Apache License 2.0
python/src/com/jetbrains/python/namespacePackages/PyNamespacePackageCustomIdentifier.kt
ingokegel
72,937,917
true
null
// Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. package com.jetbrains.python.namespacePackages import com.intellij.openapi.extensions.ExtensionNotApplicableException import com.intellij.openapi.module.ModuleUtilCore import com.intellij.openapi.ut...
1
null
1
2
b07eabd319ad5b591373d63c8f502761c2b2dfe8
1,104
intellij-community
Apache License 2.0
src/lib/kotlin/slatekit-common/src/main/kotlin/slatekit/common/types/Country.kt
ColleenKeegan
174,519,919
false
null
/** * <slate_header> * url: www.slatekit.com * git: www.github.com/code-helix/slatekit * org: www.codehelix.co * author: Kishore Reddy * copyright: 2016 CodeHelix Solutions Inc. * license: refer to website and/or github * about: A tool-kit, utility library and server-backend * mantra: Simplicity above all else...
1
null
1
1
bd1d55f2191f729149e901be102c22d7c719793d
941
slatekit
Apache License 2.0
airbyte-workload-api-server/src/main/kotlin/io/airbyte/workload/metrics/CustomMetricPublisher.kt
lj-michale
719,837,726
false
null
/* * Copyright (c) 2023 Airbyte, Inc., all rights reserved. */ package io.airbyte.workload.metrics import io.airbyte.metrics.lib.MetricAttribute import io.micrometer.core.instrument.MeterRegistry import io.micrometer.core.instrument.Tag import jakarta.inject.Singleton import java.util.Optional import java.util.func...
0
null
0
1
e554884ac0c8a22e423f470213de3d4cfa384938
1,167
airbyte-platform
MIT License
buildSrc/src/main/kotlin/org/jtrim2/build/ReleaseUtils.kt
kelemen
4,034,471
false
{"Java": 4962857, "Kotlin": 69766}
package org.jtrim2.build import org.gradle.api.Project import org.gradle.api.plugins.JavaPlugin import org.gradle.api.provider.Provider import org.gradle.api.publish.plugins.PublishingPlugin import org.gradle.api.tasks.javadoc.Javadoc import org.gradle.kotlin.dsl.named import org.gradle.kotlin.dsl.register object Rel...
1
null
1
1
d087fe99809a84a618cf4fe889d4036fabb87698
2,442
JTrim
Apache License 2.0
faker/lorem/src/main/kotlin/io/github/serpro69/kfaker/lorem/provider/NatoPhoneticAlphabet.kt
serpro69
174,969,439
false
null
package io.github.serpro69.kfaker.lorem.provider import io.github.serpro69.kfaker.FakerService import io.github.serpro69.kfaker.dictionary.YamlCategory import io.github.serpro69.kfaker.provider.FakeDataProvider import io.github.serpro69.kfaker.provider.YamlFakeDataProvider import io.github.serpro69.kfaker.provider.uni...
21
null
42
462
22b0f971c9f699045b30d913c6cbca02060ed9b3
1,026
kotlin-faker
MIT License
app-inspection/inspectors/database/testSrc/com/android/tools/idea/sqlite/cli/SqliteCliProviderTest.kt
JetBrains
60,701,247
false
null
/* * Copyright (C) 2020 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
5
null
227
948
10110983c7e784122d94c7467e9d243aba943bf4
3,402
android
Apache License 2.0
gradle-dsl/testSrc/com/android/tools/idea/gradle/dsl/model/android/ProductFlavorModelTest.kt
JetBrains
60,701,247
false
null
/* * Copyright (C) 2015 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 atA * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
5
null
227
948
10110983c7e784122d94c7467e9d243aba943bf4
149,661
android
Apache License 2.0
idea/tests/testData/debugger/exceptionFilter/inlineFunCallSiteInRegeneratedObject/inlineFun.kt
JetBrains
278,369,660
false
null
inline fun foo(crossinline x: () -> Unit) = object { fun run() { bar() x() } }.run() inline fun barNonThrowing() { null } inline fun bar() { null!! }
0
null
30
82
cc81d7505bc3e9ad503d706998ae8026c067e838
184
intellij-kotlin
Apache License 2.0
ktor-utils/src/io/ktor/util/ValuesMap.kt
Ekito
112,228,070
true
{"Kotlin": 1507570, "Java": 62081, "HTML": 30993, "FreeMarker": 6484, "CSS": 5444, "JavaScript": 3408}
package io.ktor.util import java.util.* /** * Provides data structure for associating a [String] with a [List] of Strings */ interface ValuesMap { companion object { /** * Empty [ValuesMap] instance */ val Empty: ValuesMap = ValuesMapImpl() /** * Builds a [Val...
0
Kotlin
0
1
6b0fadcc30d3942a9d0ae8f2758c267ab557f8d5
10,030
ktor
Apache License 2.0
compiler/ir/ir.psi2ir/src/org/jetbrains/kotlin/psi2ir/KotlinUtils.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...
/* * Copyright 2010-2016 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
181
Kotlin
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
4,464
kotlin
Apache License 2.0
app/src/main/java/com/android/demoeditor/screens/ImgSelectorFragment.kt
Mr-Ramzan
681,523,375
true
{"Java Properties": 3, "Gradle": 6, "Shell": 1, "Markdown": 1, "Batchfile": 1, "Text": 23, "Ignore List": 6, "XML": 253, "INI": 4, "Proguard": 2, "CMake": 2, "C++": 18, "Unix Assembly": 10, "Motorola 68K Assembly": 4, "Kotlin": 193, "C": 1, "Java": 154, "JSON": 23, "RenderScript": 6}
package com.android.demoeditor.screens import android.app.Application import com.android.demoeditor.R import com.android.demoeditor.databinding.FragmentImgSelectorBinding import android.os.Bundle import androidx.fragment.app.Fragment import com.android.demoeditor.recyclerViews.ImageShowerAdapter import com.android.dem...
0
null
0
0
e47637b8c821539c520d657805cd2151961aa095
5,273
Foto-Editor
MIT License
plugins/kotlin/idea/tests/testData/inspections/dfa/LanguageConstructs.kt
ingokegel
72,937,917
false
null
// WITH_STDLIB fun objectDeclaration() { var x : Any = object : X(), Y {} if (<warning descr="Condition 'x is X' is always true">x is X</warning>) {} if (<warning descr="Condition 'x is Y' is always true">x is Y</warning>) {} if (<warning descr="Condition 'x is Z' is always false">x is Z</warning>) {} ...
1
null
1
2
b07eabd319ad5b591373d63c8f502761c2b2dfe8
1,346
intellij-community
Apache License 2.0
app/src/main/java/app/fynnjason/java_kotlin_networkrequest/kotlin/api/ApiService.kt
FynnJason
115,593,578
false
{"Java": 12276, "Kotlin": 6516}
package app.fynnjason.java_kotlin_networkrequest.kotlin.api import app.fynnjason.java_kotlin_networkrequest.java.base.BaseEnity import app.fynnjason.java_kotlin_networkrequest.java.bean.GankBean import io.reactivex.Observable import retrofit2.http.GET import retrofit2.http.Headers /** * Created by FynnJason. * Des:...
1
null
1
1
7bc47d3b0bc7aa27dec64903b01098a34e19ba4b
479
Java-Kotlin-NetworkRequest
Apache License 2.0