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
implementation/src/main/kotlin/pl/beone/promena/transformer/ocr/ocrmypdf/processor/parameter/RemoveBackgroundParameter.kt
BeOne-PL
235,078,020
false
null
package pl.beone.promena.transformer.ocr.ocrmypdf.processor.parameter import pl.beone.promena.transformer.contract.model.Parameters import pl.beone.promena.transformer.ocr.ocrmypdf.OcrMyPdfOcrTransformerDefaultParameters import pl.beone.promena.transformer.ocr.ocrmypdf.applicationmodel.getRemoveBackgroundOrNull import...
0
Kotlin
2
0
cf5812f23c52584e9a205e2f81b6842c6aeb9928
826
promena-transformer-ocr-ocrmypdf
Apache License 2.0
src/test/kotlin/de/hpi/dbs1/fixtures/Actors.kt
HPI-Information-Systems-Teaching
815,821,182
false
{"Kotlin": 12913, "Java": 11210}
package de.hpi.dbs1.fixtures import de.hpi.dbs1.entities.Actor object Actors { @JvmField val ANNE_HATHAWAY = Actor("nm0004266", "<NAME>").apply { playedIn.addAll( listOf( "Mothers' Instinct", "The Idea of You", "She Came to Me", ...
0
Kotlin
1
0
a0111cfda35304fd33c0159f20c529da656ada0f
1,487
DBS-I-2024
MIT License
acrarium/src/main/kotlin/com/faendir/acra/ui/view/app/tabs/ReportAppTab.kt
F43nd1r
91,593,043
false
null
/* * (C) Copyright 2017-2023 Lukas Morawietz (https://github.com/F43nd1r) * * 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 * * Unle...
7
null
51
200
31576a37d2c1eb61bb1d2641d7b214c87ce23fe1
1,314
Acrarium
Apache License 2.0
datasource-recipes-network/src/main/java/pl/smcebi/recipeme/recipes/network/RecipesNetworkModule.kt
Seba0855
616,026,534
false
{"Kotlin": 89067}
package pl.smcebi.recipeme.recipes.network import dagger.Binds import dagger.Module import dagger.hilt.InstallIn import dagger.hilt.components.SingletonComponent import pl.smcebi.recipeme.datasource.common.Mock import pl.smcebi.recipeme.recipes.RecipesDataSource @Module @InstallIn(SingletonComponent::class) internal ...
0
Kotlin
0
0
04a9966a50929063f3f85c2c270c91ce3133575e
538
recipe.me
Apache License 2.0
eco-core/core-backend/src/main/kotlin/com/willfp/eco/internal/items/ArgParserColor.kt
Auxilor
325,856,799
false
{"Kotlin": 784230, "Java": 740080}
package com.willfp.eco.internal.items import com.willfp.eco.core.items.args.LookupArgParser import org.bukkit.Color import org.bukkit.inventory.ItemStack import org.bukkit.inventory.meta.ItemMeta import org.bukkit.inventory.meta.LeatherArmorMeta import java.util.function.Predicate object ArgParserColor : LookupArgPar...
83
Kotlin
53
156
81de46a1c122a3cd6be06696b5b02d55fd9a73e5
1,548
eco
MIT License
src/jvmMain/kotlin/util/NativeEventUtil.kt
flben233
680,857,766
false
{"Kotlin": 83989, "Java": 135}
package util import com.github.kwhat.jnativehook.NativeInputEvent sealed class NativeEventUtil { companion object Default: NativeEventUtil() fun consumeEvent(nativeInputEvent: NativeInputEvent?) { if (nativeInputEvent == null) { return } try { val field = Nativ...
2
Kotlin
1
64
ba35ca7e2102241537ffad65afab5144ae2f6fa0
564
TyuShare
Apache License 2.0
java/dzjforex/src/main/kotlin/com/jforex/dzjforex/zorro/ZorroConstants.kt
juxeii
81,964,776
false
null
package com.jforex.dzjforex.zorro const val LOGIN_OK = 1 const val LOGIN_FAIL = 0 const val LOGOUT_OK = 0 const val SUBSCRIBE_OK = 1 const val SUBSCRIBE_FAIL = 0 const val ASSET_AVAILABLE = 1 const val ASSET_UNAVAILABLE = 0 const val CONNECTION_LOST_NEW_LOGIN_REQUIRED = 0 const val CONNECTION_OK_BUT_MARKET_CLOSED =...
1
C++
6
8
9894a872441fd38d2e2b42029941f72c7d30ea52
1,093
dztools
MIT License
client-dynamodb-v2/src/main/kotlin/app/cash/backfila/client/dynamodbv2/internal/DynamoDbBackfillOperator.kt
cashapp
209,384,085
false
null
package app.cash.backfila.client.dynamodbv2.internal import app.cash.backfila.client.dynamodbv2.DynamoDbBackfill import app.cash.backfila.client.spi.BackfilaParametersOperator import app.cash.backfila.client.spi.BackfillOperator import app.cash.backfila.protos.clientservice.GetNextBatchRangeRequest import app.cash.bac...
50
null
47
31
983c74b0516ef2cee75a8774dc3b233fdf641dc1
7,080
backfila
Apache License 2.0
src/main/kotlin/io/github/cgglyle/bean/BeanDefinition.kt
cgglyle
730,541,788
false
{"Kotlin": 19977}
package io.github.cgglyle.bean class BeanDefinition( val type: Class<*>, // 提供默认值 val scope: BeanScope = BeanScope.SINGLETON, ){ val propertyValues: MutableList<PropertyValue> = mutableListOf() fun setProperty(name: String, value: Any) { propertyValues.add(PropertyValue(name, value)) } ...
0
Kotlin
0
0
db0ef0ab584713c7c5440dad1c8c8e0414898ecc
322
kotlin-spring
Apache License 2.0
plugins/android-extensions/android-extensions-idea/src/org/jetbrains/kotlin/android/synthetic/idea/res/IDEAndroidLayoutXmlFileManager.kt
gigliovale
89,726,097
false
null
/* * Copyright 2010-2015 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
1
null
4
6
ce145c015d6461c840050934f2200dbc11cb3d92
5,504
kotlin
Apache License 2.0
hermit-core/src/main/kotlin/hermit/test/internal/LazyResetsImpl.kt
RBusarow
262,948,697
false
{"Kotlin": 83045, "SCSS": 3085, "Shell": 1859}
/* * Copyright (C) 2021-2022 <NAME> * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
12
Kotlin
2
0
b5ff7d941cc72b19a1ea0a1833598f91b079cc37
1,531
Hermit
Apache License 2.0
app/src/main/java/com/devallannascimento/agendebem/fragments/AgendamentosFragment.kt
devallannascimento
745,705,769
false
{"Kotlin": 46837}
package com.devallannascimento.agendebem.fragments import ConsultasAdapter import android.os.Bundle import android.util.Log import android.view.LayoutInflater import android.view.MotionEvent import android.view.View import android.view.ViewGroup import androidx.appcompat.app.AlertDialog import androidx.fragment.app.Fr...
0
Kotlin
0
0
67a1bc1b6d49392ec29b5bc5bc46d593b79e4536
6,120
App-AgendeBem
Apache License 2.0
entityconverter/src/main/java/com/androidkotlincore/entityconverter/ConvertersContext.kt
i-petro
119,085,966
false
null
package com.androidkotlincore.entityconverter import kotlin.reflect.KFunction3 /** * Context of converters interface. */ interface ConvertersContext { /** * Registers converter between two entity classes * * @param inClass input class - abstract as possible * @param outClass output clas...
1
Kotlin
1
5
3f98be9b7e93e806ea014daaf5ee640887adaa62
3,511
AndroidKotlinCore
MIT License
app/src/main/java/com/zp/zfile_manager/super_/SuperActivity.kt
zippo88888888
281,615,129
false
null
package com.zp.zfile_manager.super_ import android.app.ProgressDialog import android.content.Intent import android.os.Bundle import android.util.Log import android.widget.Toast import androidx.appcompat.app.AppCompatActivity import com.zp.z_file.async.ZFileStipulateAsync import com.zp.z_file.content.* import com.zp.z_...
1
null
13
72
ad9c45a74fbfe4475bfd39adbfea3e0b417c2180
5,406
ZFileManager
Apache License 2.0
komapper-core/src/main/kotlin/org/komapper/core/dsl/context/EntityUpsertContext.kt
komapper
349,909,214
false
{"Kotlin": 2922039, "Java": 57131}
package org.komapper.core.dsl.context import org.komapper.core.ThreadSafe import org.komapper.core.dsl.element.Returning import org.komapper.core.dsl.expression.AssignmentDeclaration import org.komapper.core.dsl.expression.TableExpression import org.komapper.core.dsl.expression.WhereDeclaration import org.komapper.cor...
8
Kotlin
14
301
9fbc0b5652ee732583e977180cdc493e116e1022
1,922
komapper
Apache License 2.0
app/src/main/java/io/aayush/relabs/network/data/node/Node.kt
theimpulson
679,298,392
false
{"Kotlin": 195396}
package io.aayush.relabs.network.data.node import com.squareup.moshi.JsonClass import io.aayush.relabs.network.adapter.singletoarray.SingleToArray @JsonClass(generateAdapter = true) data class Node( val depth: Int = 0, val description: String = String(), val display_order: Int = 0, val id: Int = 0, ...
0
Kotlin
6
160
f7b2829540d9bf9e34e0e13d7d120bffb9ca9354
631
ReLabs
Apache License 2.0
app/src/main/java/com/hm/users/remote/UserAPI.kt
himanim93
570,360,703
false
{"Kotlin": 19365}
package com.hm.users.remote import com.hm.users.data.model.UserDetails import retrofit2.Response import retrofit2.http.GET import retrofit2.http.Headers import retrofit2.http.Query interface UserAPI { @Headers("Accept: application/vnd.github.+json") @GET("search/users") suspend fun getUserList(@Query("q")...
0
Kotlin
0
0
e7980402211f42f214d6ebf60d194154a2dbb48d
476
Kotlin-Hilt-MVVM-Retrofit-Flow
Apache License 2.0
app/src/main/java/com/aposiamp/smartliving/presentation/mapper/SettingsItemUiMapper.kt
ApostolisSiampanis
783,913,411
false
{"Kotlin": 490999}
package com.aposiamp.smartliving.presentation.mapper import com.aposiamp.smartliving.R import com.aposiamp.smartliving.domain.model.SettingsItemData import com.aposiamp.smartliving.presentation.model.SettingsItemUiModel import com.aposiamp.smartliving.presentation.ui.activity.main.navigation.MainDestination object Se...
0
Kotlin
0
3
8184e402e0121dba16a08675395184bd5413f20f
1,203
Smart_Living
MIT License
identity/src/main/java/com/stripe/android/identity/networking/models/VerificationPageStaticContentTextPage.kt
stripe
6,926,049
false
null
package com.stripe.android.identity.networking.models import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable @Serializable internal data class VerificationPageStaticContentTextPage( @SerialName("body") val body: String, @SerialName("button_text") val buttonText: String, ...
64
Kotlin
522
935
bec4fc5f45b5401a98a310f7ebe5d383693936ea
366
stripe-android
MIT License
testerum-backend/testerum-runner/testerum-runner-cmdline/src/main/kotlin/com/testerum/runner_cmdline/cmdline/params/exception/CmdlineParamsParserException.kt
testerum
241,460,788
false
null
package com.testerum.runner_cmdline.cmdline.params.exception class CmdlineParamsParserException : RuntimeException { constructor(message: String) : super(message) constructor(message: String, cause: Throwable) : super(message, cause) }
33
null
3
22
0a53c71b5f659e41282114127f595aad5ab1e4fb
248
testerum
Apache License 2.0
newsapp-main/newsapp-main/NewsAppStarter/app/src/main/java/daniellopes/io/newsappstarter/util/state/local/ArticleListState.kt
juliocarvalho2019
650,383,020
false
null
package daniellopes.io.newsappstarter.util.state.local import daniellopes.io.newsappstarter.data.local.model.Article sealed class ArticleListState { data class Success(val list: List<Article>) : ArticleListState() data class ErrorMessage(val errorMessage: String) : ArticleListState() object Loading : Arti...
0
Kotlin
0
0
b79d0948394ea5506ab9afde59e86bfdbeea80de
374
News-App-Starter-MVVM
Apache License 2.0
smithy-swift-codegen/src/test/kotlin/software/amazon/smithy/swift/codegen/protocolspecificserde/xml/EnumDecodeXMLGenerationTests.kt
smithy-lang
242,852,561
false
{"Kotlin": 1077492, "Swift": 1046003, "Smithy": 121646, "Shell": 1807, "Objective-C": 136}
package software.amazon.smithy.swift.codegen.protocolspecificserde.xml /* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ import io.kotest.matchers.string.shouldContainOnlyOnce import org.junit.jupiter.api.Test import software.amazon.smithy.swift.codeg...
7
Kotlin
29
28
0de17918831a547e04e86a9c306491b536ada934
2,610
smithy-swift
Apache License 2.0
ui/src/main/java/com/jeanbarrossilva/period/ui/fragment/ChemicalElementsFragment.kt
jeanbarrossilva
365,115,291
false
null
package com.jeanbarrossilva.period.ui.fragment import android.animation.ValueAnimator import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.appcompat.widget.Toolbar import androidx.core.os.bundleOf import androidx.fragment.app.Fragment import...
1
Kotlin
0
0
a59f9bdaec84b91bc45ce90b6da996cf4ccd5c53
6,988
Period
MIT License
vedtak/application/src/main/kotlin/no/nav/su/se/bakover/vedtak/application/FerdigstillVedtakService.kt
navikt
227,366,088
false
{"Kotlin": 9668820, "Shell": 4372, "TSQL": 1233, "Dockerfile": 1209}
package no.nav.su.se.bakover.vedtak.application import arrow.core.Either import arrow.core.getOrElse import arrow.core.left import arrow.core.right import behandling.domain.BehandlingMedOppgave import behandling.domain.Stønadsbehandling import dokument.domain.Dokument import dokument.domain.brev.BrevService import no....
9
Kotlin
1
1
9e72c3086109f9c58472b169f86b213f929a91f1
9,929
su-se-bakover
MIT License
app/src/main/java/com/gaurav/pokemon/data/model/pokemon/TypeX.kt
gau4sar
400,800,306
false
null
package com.gaurav.pokemon.data.model.pokemon data class TypeX( val name: String, val url: String )
0
Kotlin
0
1
a6beb5f981bf33972b4af80c30f92040756eb2f9
109
Pokemon-android
Apache License 2.0
library/src/main/kotlin/org/quiltmc/qkl/library/serialization/internal/util/DataUtil.kt
QuiltMC
501,458,402
false
null
/* * Copyright 2023 The Quilt 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 applicable law or agre...
17
null
9
52
e79adf890d4d6092b96d0fde1fce89c9155f4f78
2,088
quilt-kotlin-libraries
Apache License 2.0
app/src/main/java/vtsen/hashnode/dev/workmanagerdemo/workers/DemoWorker.kt
vinchamp77
535,182,142
false
{"Kotlin": 14505}
package vtsen.hashnode.dev.workmanagerdemo.workers import android.Manifest 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 android.content.pm.PackageManager...
0
Kotlin
0
6
1e693cf2ef3c77cb238179108516ab9986894e4a
3,447
Demo_WorkManager
Apache License 2.0
src/main/kotlin/uk/gov/justice/digital/hmpps/sendlegalmailtoprisonsapi/prisonersearch/PrisonerSearchRequest.kt
ministryofjustice
424,655,284
false
{"Kotlin": 401563, "Shell": 4020, "JavaScript": 2567, "Dockerfile": 1276}
package uk.gov.justice.digital.hmpps.sendlegalmailtoprisonsapi.prisonersearch import uk.gov.justice.digital.hmpps.sendlegalmailtoprisonsapi.barcode.BarcodeRecipient import java.time.LocalDate import java.time.format.DateTimeFormatter import java.util.stream.Collectors data class PrisonerSearchRequest( val prisonNum...
4
Kotlin
0
4
38fe19d5f932abcf793be93a52690d674370518f
1,428
send-legal-mail-to-prisons-api
MIT License
libraries/stdlib/src/org/jetbrains/kotlin/support/AsserterLoader.kt
chirino
3,596,099
true
null
package org.jetbrains.kotlin.support fun loadAsserter(): Unit { val c = javaClass<Runnable>() println("class is $c") }
0
Java
28
71
ac434d48525a0e5b57c66b9f61b388ccf3d898b5
127
kotlin
Apache License 2.0
src/commonMain/kotlin/com/cout970/matrix/api/IMutableMatrix2.kt
cout970
184,434,403
false
null
package com.cout970.matrix.api /** * Created by cout970 on 24/08/2016. */ interface IMutableMatrix2 : IMatrix2 { override var m00: Number override var m01: Number override var m10: Number override var m11: Number // Int override var m00i: Int get() = m00.toInt(); set(i) { m00 = i} o...
0
Kotlin
0
0
eba022378e4e3a2582b749adf1673f7489891d8b
1,114
MultiplatformMatrixLib
MIT License
compiler/testData/codegen/box/coroutines/localFunctions/named/withArguments.kt
JakeWharton
99,388,807
false
null
// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME // WITH_COROUTINES // COMMON_COROUTINES_TEST import helpers.* import COROUTINES_PACKAGE.* import COROUTINES_PACKAGE.intrinsics.* suspend fun callLocal(a: String, b: String): String { suspend fun local(a: String, b: String) = suspendCoroutineUninterceptedOrReturn<Strin...
12
null
37
83
4383335168338df9bbbe2a63cb213a68d0858104
602
kotlin
Apache License 2.0
app/src/main/java/dev/rupeshdeshmukh/locsationapp/network/service/MovieApiService.kt
rupesh0608
798,421,935
false
{"Kotlin": 12780}
package dev.rupeshdeshmukh.locsationapp.network.service import dev.rupeshdeshmukh.locsationapp.constant.Constant.API_KEY import dev.rupeshdeshmukh.locsationapp.network.data.MovieResponse import retrofit2.Call import retrofit2.http.GET interface MovieApiService { @GET("movie/popular?api_key=$API_KEY") fun getM...
0
Kotlin
0
0
db41cd30b64cca8333c81b8f4ca0c58b6764a969
350
LocationApp
MIT License
litho-widget-kotlin/src/main/kotlin/com/facebook/litho/kotlin/widget/Border.kt
facebook
80,179,724
false
null
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * 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 appl...
88
null
765
7,703
8bde23649ae0b1c594b9bdfcb4668feb7d8a80c0
7,173
litho
Apache License 2.0
modules/android/src/test/java/com/objectfanatics/commons/androidx/lifecycle/TransformationsUtilsTest.kt
beyondseeker
286,864,140
false
null
package com.objectfanatics.commons.androidx.lifecycle import androidx.arch.core.executor.testing.InstantTaskExecutorRule import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import io.mockk.confirmVerified import io.mockk.mockk import io.mockk.verify import org.junit.Rule import org.junit.Test ...
0
Kotlin
0
0
2712bb43fd30cd3d8ef82597568233f834b309f0
2,997
of-commons
Apache License 2.0
app/src/main/java/com/lindroid/androidutilsktdemo/app/App.kt
Lindroy
172,827,942
false
null
package com.lindroid.androidutilsktdemo.app import android.app.Application import com.lindroid.androidutilskt.app.AndUtil import com.squareup.leakcanary.LeakCanary import com.youngfeng.snake.Snake /** * @author Lin * @date 2019/2/27 * @function * @Description */ class App : Application() { companion object ...
0
null
19
48
5d6832813a4a0dba7290ad5ef92959f638ea51ab
1,073
AndroidUtilsKt
Apache License 2.0
flaircore/src/main/java/com/rasalexman/flaircore/interfaces/IMapper.kt
Rasalexman
134,755,003
false
null
package com.rasalexman.flaircore.interfaces /** * Helper interface for bind generic instances with name */ interface IMapper<T> { /** * Instances storage */ val instanceMap: HashMap<String, T> /** * Get or create instance * * @param key - key for map key * @param inst - ins...
1
null
6
31
bb4325e958993d8a51f91361080ef6a30018c4b0
463
Flair
The Unlicense
app/src/main/java/jp/cordea/urldispatcher/LicenseLocalDataSource.kt
CORDEA
155,200,284
false
null
package jp.cordea.urldispatcher import android.content.Context import io.reactivex.Single class LicenseLocalDataSource( private val context: Context ) : LicenseRepository { override fun getLicenses(): Single<String> = Single.fromCallable { context.assets.open("licenses.html").b...
0
Kotlin
0
0
7ee26459caaf284741cc94813ed038e45e819c99
363
UrlDispatcher
Apache License 2.0
2016/src/main/kotlin/com/koenv/adventofcode/Day11.kt
koesie10
47,333,954
false
null
package com.koenv.adventofcode import java.util.* import java.util.regex.Pattern /** * This one is quite slow, probably due to a lot of allocations in getAdjacentStates, which allocates * a new list for every possible state */ object Day11 { fun getRequiredSteps(input: String): Int { val types = hashSe...
0
Kotlin
0
0
29f3d426cfceaa131371df09785fa6598405a55f
9,305
AdventOfCode-Solutions-Kotlin
MIT License
chargeStatistics/src/main/java/at/sunilson/chargestatistics/di/ChargeStatisticsModule.kt
sunilson
271,761,302
false
null
package at.sunilson.chargestatistics.di import android.content.Context import android.location.Geocoder import dagger.Module import dagger.Provides import dagger.hilt.InstallIn import dagger.hilt.components.SingletonComponent import dagger.hilt.android.qualifiers.ApplicationContext import java.util.* @Module @Install...
0
Kotlin
0
5
75577b1923d2141f9724b9d7d6b1ddb34ec7e877
509
Zoe
Apache License 2.0
src/main/kotlin/me/dkim19375/dkim19375jdautils/command/EvalCommandBase.kt
dkim19375
332,087,195
false
null
/* * MIT License * * Copyright (c) 2021 dkim19375 * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify...
1
Kotlin
0
0
c8a9491bf61ee965cb33c5ac58ab8623f917d81a
7,944
dkim19375JDAUtils
MIT License
novel-ai-service/src/test/kotlin/de/roamingthings/tracing/novelai/ports/driving/GenerateNovelDocumentControllerTest.kt
roamingthings
214,773,818
false
null
package de.roamingthings.tracing.novelai.ports.driving import com.nhaarman.mockitokotlin2.doReturn import de.roamingthings.tracing.novelai.usecases.document.GenerateNovelDocumentService import org.assertj.core.api.SoftAssertions.assertSoftly import org.junit.jupiter.api.Test import org.junit.jupiter.api.extension.Exte...
8
null
1
1
ee264dba66268763e761fb5d731f57fc3fc248d4
1,483
workbench-tracing
Apache License 2.0
common/src/main/kotlin/org/onesandzer0s/create_articulate/registry/CreativeTabs.kt
OnesAndZer0s
780,550,454
false
{"Kotlin": 149963, "Java": 12508}
package org.onesandzer0s.create_articulate.registry import net.minecraft.network.chat.Component import net.minecraft.world.item.CreativeModeTab import net.minecraft.world.item.ItemStack import org.onesandzer0s.create_articulate.CreateArticulateBlocks import org.onesandzer0s.create_articulate.CreateArticulateItems obj...
0
Kotlin
0
0
679e31bbb0be50ce055ecb2bbbf2fbb46f845533
789
CreateArticulate
Apache License 2.0
compiler/tests-spec/testData/codegen/box/linked/statements/assignments/simple-assignments/p-2/pos/1.1.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...
// WITH_STDLIB /* * KOTLIN CODEGEN BOX SPEC TEST (POSITIVE) * * SPEC VERSION: 0.1-222 * MAIN LINK: statements, assignments, simple-assignments -> paragraph 2 -> sentence 1 * NUMBER: 1 * DESCRIPTION: If a property has a setter, it is called using the right-hand side expression as its argument; */ var flag1 = fa...
181
Kotlin
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
720
kotlin
Apache License 2.0
plugin-dotnet-agent/src/test/kotlin/jetbrains/buildServer/dotnet/test/dotnet/commands/test/splitting/TestsFilterProviderTestsSplitting.kt
JetBrains
49,584,664
false
null
package jetbrains.buildServer.dotnet.test.dotnet.commands.test.splitting import io.mockk.* import io.mockk.impl.annotations.MockK import jetbrains.buildServer.agent.Logger import jetbrains.buildServer.dotnet.commands.test.splitting.* import jetbrains.buildServer.dotnet.commands.test.splitting.TestClassParametersProc...
3
null
25
94
5f444c22b3354955d1060e08478d543d2b0b99b0
10,469
teamcity-dotnet-plugin
Apache License 2.0
idea/src/org/jetbrains/kotlin/idea/debugger/stepping/KotlinLambdaMethodFilter.kt
erokhins
44,854,854
false
null
/* * Copyright 2010-2015 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
1
null
1
1
ff00bde607d605c4eba2d98fbc9e99af932accb6
2,975
kotlin
Apache License 2.0
kotpass/src/test/kotlin/app/keemobile/kotpass/cryptography/AesKdfSpec.kt
keemobile
384,214,968
false
null
package app.keemobile.kotpass.cryptography import app.keemobile.kotpass.cryptography.format.AesKdf import app.keemobile.kotpass.database.Credentials import io.kotest.core.spec.style.DescribeSpec import io.kotest.matchers.shouldBe class AesKdfSpec : DescribeSpec({ describe("Aes key derivation") { it("Tran...
4
null
1
9
0e123c087c6ec516492f33c0140497debfb3ba15
1,675
kotpass
MIT License
DadoInterativo/app/src/main/java/com/example/dadointerativo/MainActivity.kt
dev-alissonalves
385,785,176
false
null
package com.example.dadointerativo import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.view.View import android.widget.Button import android.widget.ImageView import android.widget.TextView import org.w3c.dom.Text class MainActivity : AppCompatActivity() { override fun onCreate(...
0
Kotlin
0
0
dd2a176d977ab27aca7275fda2ecd2ede3c6cf4d
3,742
android-kotlin-projects
MIT License
src/main/kotlin/uk/gov/justice/digital/hmpps/sendlegalmailtoprisonsapi/barcode/BarcodeReportingConfig.kt
ministryofjustice
424,655,284
false
null
package uk.gov.justice.digital.hmpps.sendlegalmailtoprisonsapi.barcode import org.springframework.boot.context.properties.ConfigurationProperties import org.springframework.boot.context.properties.ConstructorBinding @ConstructorBinding @ConfigurationProperties(prefix = "app.barcode-stats-report") data class BarcodeRe...
0
Kotlin
0
3
d140dff438f1cbcb87e0a5da22f7e74bd05ec8fc
374
send-legal-mail-to-prisons-api
MIT License
sample/src/main/java/tech/thdev/androidrecyclerview/data/source/image/ImagesLocalDataSource.kt
taehwandev
71,049,057
false
null
package tech.thdev.androidrecyclerview.data.source.image import io.reactivex.rxjava3.core.Flowable import tech.thdev.androidrecyclerview.MyApplication import tech.thdev.androidrecyclerview.data.Image import java.util.* /** * Created by Tae-hwan on 17/10/2016. */ class ImagesLocalDataSource : ImagesDataSource { ...
1
Kotlin
4
9
74b70f90f8d7b3a9bf457416166045d2f5d18a78
1,041
AndroidRecyclerView
Apache License 2.0
src/nativeMain/kotlin/org/intellij/markdown/html/Url.kt
JetBrains
27,873,341
false
null
package org.intellij.markdown.html import kotlin.math.pow internal data class URL( val scheme: String, val username: String, val password: String, val host: String?, val port: Int?, val path: List<String>, val query: String?, val fragment: String?, ...
60
null
75
661
43c06cb6a9d66caab8b431f738aba3c57aee559f
24,445
markdown
Apache License 2.0
libraries/libcrypto3/api/src/jniMain/kotlin/evp_md.kt
whyoleg
603,041,596
false
{"Kotlin": 192727, "C": 15066, "Makefile": 521}
@file:Suppress( "PrivatePropertyName", "FunctionName", "ClassName", "SpellCheckingInspection", ) package dev.whyoleg.ffi.libcrypto3 import dev.whyoleg.ffi.c.* actual fun EVP_MD_fetch( ctx: CPointer<OSSL_LIB_CTX>?, algorithm: CString?, properties: CString?, ): CPointer<EVP_MD>? = nativeCPointer( E...
2
Kotlin
2
65
c3bc926fd2756d6ca0afd1edc0f21c5fce7e3676
2,095
ffi-kotlin
Apache License 2.0
strikt-core/src/main/kotlin/strikt/assertions/Any.kt
raniejade
135,811,047
true
{"Kotlin": 75266}
package strikt.assertions import strikt.api.Assertion /** * Asserts that the subject is `null`. */ @Suppress("UNCHECKED_CAST") fun <T> Assertion<T?>.isNull(): Assertion<Nothing> = assert("is null", null) { when (subject) { null -> pass() else -> fail() } } as Assertion<Nothing> /** * Asser...
0
Kotlin
0
0
6df04e2187a84ee792738c40b5e59f99a947191a
2,443
strikt
Apache License 2.0
CorePayments/src/main/java/com/paypal/android/corepayments/graphql/common/GraphQLClient.kt
paypal
390,097,712
false
null
package com.paypal.android.corepayments.graphql.common import com.paypal.android.corepayments.APIClientError import com.paypal.android.corepayments.CoreConfig import com.paypal.android.corepayments.Http import com.paypal.android.corepayments.HttpMethod import com.paypal.android.corepayments.HttpRequest import org.json...
10
Kotlin
28
35
1e11e7f452789cc13bf51fa95e645810ff6ef8df
1,812
paypal-android
Apache License 2.0
library/src/commonMain/kotlin/en/mergers/ENEnd.kt
Pahina0
804,021,638
false
{"Kotlin": 47368}
package en.mergers import DateTime import TagTime import common.mergers.MergerWhitespaceTrimmed import en.ENConfig import kotlinx.datetime.Clock import kotlinx.datetime.TimeZone import kotlinx.datetime.toLocalDateTime import util.getDateTimeWithGeneral /** * merges phrases such as * from 4am to 7pm * */ class ENEn...
0
Kotlin
0
0
d579cef18f84df9ae2758ba8ec2acbdc8a71d651
2,605
KWhen
Apache License 2.0
api/src/main/kotlin/io/github/gabrielshanahan/gazer/api/service/MonitoredEndpointResponseService.kt
gabrielshanahan
253,267,684
false
null
package io.github.gabrielshanahan.gazer.api.service import io.github.gabrielshanahan.gazer.api.model.MonitoredEndpoint import io.github.gabrielshanahan.gazer.api.service.resource.MonitoredEndpointResourceAssembler import io.github.gabrielshanahan.gazer.api.service.response.MonitoredEndpointResponseAssembler import io....
15
Kotlin
0
19
42402f21f8a4f8a473606bc43c65657b5826d67b
1,222
gazer
MIT License
src/main/kotlin/com/github/jk1/ytplugin/ui/IssueList.kt
JetBrains
48,642,890
false
null
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.github.jk1.ytplugin.ui import com.github.jk1.ytplugin.ComponentAware import com.github.jk1.ytplugin.issues.model.Issue import com.github.jk1.ytplugin.setupWindow.Setu...
26
null
25
63
239af4453ed14741c80838652ee9826de1c1c6f7
4,117
youtrack-idea-plugin
Apache License 2.0
Kotlin/TelemetrySystem/src/main/java/tddmicroexercises/telemetrysystem/TelemetryDiagnosticControls.kt
fabioCollini
95,602,058
true
{"JavaScript": 81662, "C++": 76585, "Java": 18586, "C#": 15894, "Kotlin": 14135, "Python": 10924, "CMake": 10904, "Ruby": 9093, "Scala": 8044, "Makefile": 4936, "CSS": 2120, "HTML": 1975}
package tddmicroexercises.telemetrysystem class TelemetryDiagnosticControls { private val DiagnosticChannelConnectionString = "*111#" private val telemetryClient = TelemetryClient() var diagnosticInfo = "" fun checkTransmission() { diagnosticInfo = "" telemetryClient.disconnect() ...
0
JavaScript
0
0
8df47c7d5656e1c36892dd09003231ab9edf7ff5
749
Racing-Car-Katas
MIT License
app/src/main/java/com/cyberwalker/fashionstore/Liked/LikedScreen.kt
devch89
610,191,397
false
null
package com.cyberwalker.fashionstore.Liked import androidx.compose.foundation.ScrollState import androidx.compose.foundation.gestures.Orientation import androidx.compose.foundation.gestures.scrollable import androidx.compose.foundation.layout.* import androidx.compose.foundation.rememberScrollState import androidx.com...
0
Kotlin
0
0
2980baf05068be60301971b55daf3acc93db6ff0
2,962
FashionAPP
Apache License 2.0
sink/src/test/kotlin/org/neo4j/connectors/kafka/sink/strategy/TestUtils.kt
neo4j
665,115,793
false
{"Kotlin": 1536973, "JavaScript": 2839, "ANTLR": 2178, "Shell": 591}
/* * Copyright (c) "Neo4j" * Neo4j Sweden AB [https://neo4j.com] * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requir...
3
Kotlin
5
4
c2d0767ad4f40248942ee439a3c38bced3ab5e53
3,863
neo4j-kafka-connector
Apache License 2.0
test-server/src/main/kotlin/eu/steingaming/payall/minestom/Main.kt
SteinGaming
625,196,639
false
null
package eu.steingaming.payall.minestom import net.minestom.server.MinecraftServer import net.minestom.server.command.CommandManager import net.minestom.server.command.builder.Command import net.minestom.server.command.builder.arguments.ArgumentType import net.minestom.server.coordinate.Pos import net.minestom.server.e...
0
Kotlin
0
2
0b9f6e16ce673cdb656bd6f44a0e0a0fafefbcd4
3,525
PayAll
MIT License
app/src/main/java/com/flixclusive/domain/usecase/VideoDataProviderUseCase.kt
rhenwinch
659,237,375
false
null
package com.flixclusive.domain.usecase import com.flixclusive.domain.model.consumet.VideoData import com.flixclusive.domain.model.entities.WatchHistoryItem import com.flixclusive.domain.model.tmdb.Film import com.flixclusive.domain.model.tmdb.TMDBEpisode import com.flixclusive.presentation.common.VideoDataDialogState ...
2
Kotlin
2
18
2eef4c82655294eb3b277c00b3d8f7bea3f6961e
671
Flixclusive
MIT License
contentchef-jvm-common/src/main/java/io/contentchef/common/data/ContentChefResponseMetadata.kt
ContentChef
237,468,762
false
null
package io.contentchef.common.data import java.util.* /** * Metadata of a ContentChef backend response * [id] publishing content's id * [authoringContentId] authoring content's id * [contentVersion] content version * [contentLastModifiedDate] content last modified data * [tags] list of tags chosen for the conte...
1
null
1
1
5b10f4e2f32a4bcb81296a15dfbf27e81bece856
596
contentchef-jvm
Apache License 2.0
weaver/sdks/corda/src/main/kotlin/org/hyperledger/cacti/weaver/sdk/corda/InteroperableHelper.kt
RafaelAPB
241,220,244
true
{"Markdown": 534, "YAML": 326, "JSON with Comments": 89, "JSON": 375, "JavaScript": 76, "Ignore List": 86, "CODEOWNERS": 2, "Text": 19, "Git Attributes": 1, "SVG": 13, "Gradle": 56, "Makefile": 40, "INI": 27, "Shell": 191, "Batchfile": 24, "XML": 14, "Kotlin": 695, "Dockerfile": 50, "Go": 130, "Go Checksums": 16, "Go M...
/* * Copyright IBM Corp. All Rights Reserved. * * SPDX-License-Identifier: Apache-2.0 */ package org.hyperledger.cacti.weaver.sdk.corda; import arrow.core.Either import arrow.core.Left import arrow.core.Right import io.grpc.ManagedChannel import io.grpc.ManagedChannelBuilder import io.grpc.okhttp.OkHttpChannelBui...
50
TypeScript
3
6
4c94bf21ee570349995c61204fe60a2dc6a35766
21,276
blockchain-integration-framework
Apache License 2.0
kgit/src/commonMain/kotlin/me/saket/kgit/GitConfig.kt
saket
201,701,386
false
null
package me.saket.kgit import me.saket.kgit.GitConfig.Section data class GitConfig(val sections: List<Section>) { data class Section(val name: String, val values: List<Pair<String, String>>) } /** * Example usage: * * ``` * GitConfig("diff" to listOf("renames" to "true")) * ``` */ @Suppress("FunctionName") fu...
13
Kotlin
110
1,849
5f64350ec51402f3e6aeff145cbc35438780a03c
975
press
Apache License 2.0
jcv-core/src/main/kotlin/com/ekino/oss/jcv/core/comparator/EndsWithComparator.kt
ekino
163,856,313
false
{"Kotlin": 91322, "Java": 13695, "Mustache": 746}
/* * Copyright (c) 2019 ekino (https://www.ekino.com/) */ package com.ekino.oss.jcv.core.comparator import com.ekino.oss.jcv.core.JsonValueComparator import org.skyscreamer.jsonassert.ValueMatcherException /** * A endsWith comparator on text. * * @author <NAME> * * @see String.endsWith */ class EndsWithCompar...
2
Kotlin
0
21
b97778ecb73a9e018f2d366d56ac98f9379419d8
743
jcv
MIT License
app/src/main/kotlin/com/kneelawk/ledcontroller1/Widgets.kt
Kneelawk
407,745,166
false
{"Kotlin": 33625}
package com.kneelawk.ledcontroller1 import androidx.compose.foundation.BorderStroke import androidx.compose.foundation.interaction.MutableInteractionSource import androidx.compose.foundation.layout.* import androidx.compose.foundation.text.KeyboardActions import androidx.compose.foundation.text.KeyboardOptions import ...
0
Kotlin
0
0
29c0010b1c8f04e0af6a1eb54d37be679554441f
7,475
LEDController1-Android
MIT License
app/src/main/java/com/example/mark/colorpicker/Color.kt
mhuntin1
187,730,472
false
null
package com.example.mark.colorpicker /** * Created by Mark on 2/27/2018. */ class Color{ var Red : Int = 0 var Green: Int = 0 var Blue: Int = 0 }
0
Kotlin
0
0
427aef1d9a7ddbb3cb06cc3f18737c7be649288f
164
ColorPicker
Apache License 2.0
test/GameAnswerTest.kt
ginestra
125,407,258
false
{"Kotlin": 11700}
import org.junit.Test import kotlin.test.assertEquals class GameAnswerTest { @Test fun answerToString() { val answer = GameAnswer( GamePeg.valueOf("R"), GamePeg.valueOf("G"), GamePeg.valueOf("Y"), GamePeg.valueOf("B") ) assertEquals(answ...
3
Kotlin
0
1
d90bfc6f52ce2c4ccafe7ba728fad898a1af9b6c
350
sdp-mastermind
MIT License
common/src/main/kotlin/com/yod/common/helper/DisposeHelper.kt
luketang3
117,669,049
false
{"Gradle": 5, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 4, "Batchfile": 1, "Markdown": 1, "Proguard": 3, "Kotlin": 34, "XML": 21, "Java": 4}
package com.yod.common.helper import io.reactivex.disposables.CompositeDisposable import io.reactivex.disposables.Disposable /** * composite Disposable * Created by tangJ on 2017/11/13 */ class DisposeHelper { val compositeDispose = CompositeDisposable() private val mapDispose = mutableMapOf<String, Disposab...
1
null
1
1
1cb0ad9aac66107163484c31bf9745b2617eb468
940
yodLib
Apache License 2.0
vertx-lang-kotlin/src/main/kotlin/io/vertx/kotlin/redis/op/SortOptions.kt
tsegismont
136,018,012
false
null
package io.vertx.kotlin.redis.op import io.vertx.redis.op.SortOptions /** * A function providing a DSL for building [io.vertx.redis.op.SortOptions] objects. * * * @param alpha * @param by * @param descending * @param gets * @param store * * <p/> * NOTE: This function has been automatically generated f...
1
null
1
1
5bed3976c3e3a08efad73123dcf024e067825c98
904
vertx-redis-client
Apache License 2.0
battery/src/main/java/com/domker/doctor/battery/BatteryFragment.kt
MaisonWan
330,649,879
false
{"Kotlin": 424567, "Java": 274179}
package com.domker.app.doctor.battery import android.os.BatteryManager import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.fragment.app.Fragment import com.domker.app.doctor.battery.databinding.BatteryFragmentLayoutBinding /** * 电池展示信息的界面...
0
Kotlin
0
0
f9c15d7cb4d595a9d9b52f48cb06168565ce50dd
3,271
AppDoctor
Apache License 2.0
src/main/kotlin/uk/gov/justice/digital/hmpps/nomisprisonerapi/activities/CreateActivityRequest.kt
ministryofjustice
444,895,409
false
null
package uk.gov.justice.digital.hmpps.nomisprisonerapi.activities import com.fasterxml.jackson.annotation.JsonInclude import io.swagger.v3.oas.annotations.media.Schema import java.math.BigDecimal import java.time.LocalDate @JsonInclude(JsonInclude.Include.NON_NULL) @Schema(description = "Course activity creation reque...
0
Kotlin
0
0
879c3e84dd7995376607479a503e99ce32993500
3,594
hmpps-nomis-prisoner-api
MIT License
glance_app_widget/src/main/java/dev/vengateshm/glance_app_widget/network/LiveScoreApiService.kt
vengateshm
670,054,614
false
{"Kotlin": 2044992, "Java": 55066}
package dev.vengateshm.glance_widget.network import com.google.gson.GsonBuilder import retrofit2.Retrofit import retrofit2.converter.gson.GsonConverterFactory object LiveScoreApiService { private val retrofit: Retrofit by lazy { Retrofit.Builder() .baseUrl(LiveScoreApi.BASE_URL) .a...
0
Kotlin
0
1
5c1898b8c48a5ceac6d6b78b4267e1bdce7f5e9a
614
Android-Kotlin-Jetpack-Compose-Practice
Apache License 2.0
LeftScrollBar/src/main/kotlin/example/App.kt
aterai
158,348,575
false
null
package example import java.awt.* import java.awt.event.MouseAdapter import java.awt.event.MouseEvent import javax.swing.* fun makeUI(): Component { val cl = Thread.currentThread().contextClassLoader val name = "example/CRW_3857_JFR.jpg" val label = object : JLabel(ImageIcon(cl.getResource(name))) { @Transi...
0
null
6
9
47a0c684f64c3db2c8b631b2c20c6c7f9205bcab
2,447
kotlin-swing-tips
MIT License
src/test/kotlin/ch/sourcemotion/vertx/gradle/hermes/plugin/HermesPluginTest.kt
wem
394,379,123
false
null
package ch.sourcemotion.vertx.gradle.hermes.plugin import ch.sourcemotion.vertx.gradle.hermes.AbstractProjectSupportTest import ch.sourcemotion.vertx.gradle.hermes.getDtoGenerationTask import ch.sourcemotion.vertx.gradle.hermes.getMessageCodecGenerationTask import io.kotest.matchers.shouldBe import io.kotest.matchers....
2
Kotlin
0
0
1a65a5e7754272b361a4c23e63801b464cc87309
563
vertx-hermes-gradle-plugin
MIT License
android/app/src/main/kotlin/io/ceroy/moneysavvy/MainActivity.kt
ceroy-ak
279,751,872
false
{"Dart": 55067, "Java": 796, "Kotlin": 130}
package io.ceroy.moneysavvy import io.flutter.embedding.android.FlutterActivity class MainActivity: FlutterActivity() { }
0
Dart
0
0
9efce01eb69ca0b4a34f23763e39e40090fc35e6
124
Money_Savvy
MIT License
TheDialer/app/src/main/java/com/cedricbahirwe/dialer/screens/ContactsSearchField.kt
cedricbahirwe
413,185,334
false
{"Kotlin": 156762}
package com.cedricbahirwe.dialer.screens import androidx.compose.animation.AnimatedVisibility import androidx.compose.foundation.background import androidx.compose.foundation.clickable import androidx.compose.foundation.interaction.MutableInteractionSource import androidx.compose.foundation.layout.Arrangement import ...
6
Kotlin
1
5
e3853d4a3efa0a30ce2e35aa877fd866be7ec150
8,455
dialer-android
MIT License
src/test/kotlin/tornadofx/testapps/TodoTestApp.kt
bvolkmer
86,238,861
false
null
package tornadofx.testapps import javafx.beans.property.SimpleBooleanProperty import javafx.beans.property.SimpleStringProperty import javafx.collections.FXCollections import tornadofx.* class TodoItem(text: String? = null) { val textProperty = SimpleStringProperty(text) var text by textProperty val comp...
1
null
1
1
7a050dd014512e0258de0ed8311107d174ae12cf
1,059
tornadofx
Apache License 2.0
src/test/kotlin/tornadofx/testapps/TodoTestApp.kt
bvolkmer
86,238,861
false
null
package tornadofx.testapps import javafx.beans.property.SimpleBooleanProperty import javafx.beans.property.SimpleStringProperty import javafx.collections.FXCollections import tornadofx.* class TodoItem(text: String? = null) { val textProperty = SimpleStringProperty(text) var text by textProperty val comp...
1
null
1
1
7a050dd014512e0258de0ed8311107d174ae12cf
1,059
tornadofx
Apache License 2.0
data/RF00577/rnartist.kts
fjossinet
449,239,232
false
{"Kotlin": 8214424}
import io.github.fjossinet.rnartist.core.* rnartist { ss { rfam { id = "RF00577" name = "consensus" use alignment numbering } } theme { details { value = 3 } color { location { 2 to 8...
0
Kotlin
0
0
3016050675602d506a0e308f07d071abf1524b67
779
Rfam-for-RNArtist
MIT License
app/src/main/java/com/dedio/russianroulette/base/ViewModelActivity.kt
PawelDedio
112,599,698
false
null
package com.dedio.russianroulette.base import android.databinding.ObservableField import android.os.Bundle import com.dedio.russianroulette.main.User abstract class ViewModelActivity<ViewModel : BaseViewModel> : BaseActivity() { protected lateinit var viewModel: ViewModel lateinit var user: ObservableField<U...
0
Kotlin
0
1
75ebc18fd332e6c7a4f6c6d969bb1b8a37d6f7a3
599
Russian-Roulette-Android
Apache License 2.0
app/src/main/java/com/artf/chatapp/view/SplashActivity.kt
QArtur99
198,841,223
false
{"Kotlin": 139186, "JavaScript": 2363}
package com.artf.chatapp.view import android.Manifest import android.content.Intent import android.content.pm.PackageManager import android.os.Build import android.os.Bundle import android.os.Handler import android.os.Looper import androidx.annotation.NonNull import androidx.appcompat.app.AppCompatActivity import andr...
1
Kotlin
31
127
47c69e404707c2e20d55bebb267fbc994a5d2970
2,875
ChatApp
Apache License 2.0
src/main/kotlin/com/github/nenadjakic/eav/dto/EntityAddRequest.kt
nenadjakic
782,709,579
false
{"Kotlin": 108772}
package com.github.nenadjakic.eav.dto import jakarta.validation.constraints.NotNull class EntityAddRequest { @NotNull var entityTypeId: Long? = null }
1
Kotlin
0
1
44e1545be59ba3efaeb417a00ad691aa98dc5250
160
eav-platform
MIT License
app/src/main/java/com/chenguang/pokedex/db/model/PokemonStat.kt
lcgforever
367,496,752
false
null
package com.chenguang.pokedex.db.model import androidx.room.ColumnInfo import androidx.room.Entity import com.chenguang.pokedex.R @Entity(tableName = "pokemon_stat_table", primaryKeys = ["statId", "ownerId"]) data class PokemonStat( val statId: String, val ownerId: String, @ColumnInfo(name = "value") val ...
0
Kotlin
0
0
05eace1a97fe1ff0e2614004ff7fa1dacd7338aa
893
Pokedex
Apache License 2.0
Estrutura_Sequencial/exercicio_007.kt
AlvesTSA
627,567,518
false
{"Kotlin": 57525}
//Faça um Programa que calcule a área de um quadrado, em seguida mostre o dobro desta área para o usuário. fun main(){ val lado: Float val area: Float println("Informe a medida de um dos lados do quadrado: ") lado = readLine()!!.toFloat() area = lado*lado*2 println("O dobro da área é: $area...
0
Kotlin
0
0
f7dc5b77657f2e2afc01d0f37a985c7e256c7e98
329
Exercicios_Kotlin
MIT License
app/src/main/java/com/example/indiannotesapp/Note.kt
Nikhilkumarmishra
810,776,645
false
{"Kotlin": 9846}
package com.example.indiannotesapp data class Note(val id:Int, val title:String, val content:String)
0
Kotlin
0
1
274e71068ab3789ee0894e4eb8677b2e6c5c382e
102
Indian-Notes-App-Kotlin-Android-app
MIT License
app/src/androidTest/java/com/wei/amazingtalker/ui/robot/LoginEndToEndRobot.kt
azrael8576
584,299,514
false
null
package com.wei.amazingtalker.ui.robot import androidx.annotation.StringRes import androidx.compose.ui.semantics.Role import androidx.compose.ui.semantics.SemanticsProperties import androidx.compose.ui.semantics.getOrNull import androidx.compose.ui.test.SemanticsMatcher import androidx.compose.ui.test.assertIsDisplaye...
8
null
1
9
a35d73bbf4c86339615b2828643babcdabfd0350
2,674
amazing-talker
Apache License 2.0
FirstApp/app/src/main/java/com/example/firstapp/MainActivity.kt
NicolasNobrega
607,452,286
false
null
package com.example.firstapp import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import com.example.firstapp.databinding.ActivityMainBinding class MainActivity : AppCompatActivity() { private lateinit var viewBinding: ActivityMainBinding override fun onCreate(savedInstanceState: Bundle?)...
0
Kotlin
0
0
ab1d95c8aa014bcb2d47e94c3f371be43caf1acf
560
Kotlin
MIT License
src/ie/murph/objects/Inheritance/Banjo.kt
Mur3ph
65,215,707
false
null
package ie.murph.objects.inheritance /** * Created by Paul on 9/20/2016. */ interface Banjo { fun banjo() { println("I can play Banjo") } }
0
Kotlin
0
0
9b7bdfe33b1a05aa79c625c9d46cfc19fa99c2d6
162
Kotlin101
Apache License 2.0
app/src/main/java/com/zoop/sdk/taponphone/sample/PaymentViewModel.kt
getzoop
738,101,227
false
null
package com.zoop.sdk.taponphone.sample import android.app.Application import android.content.Context import androidx.lifecycle.AndroidViewModel import com.zoop.sdk.plugin.taponphone.api.InitializationRequest import com.zoop.sdk.plugin.taponphone.api.PaymentApprovedResponse import com.zoop.sdk.plugin.taponphone.api.Pay...
0
null
2
2
664135f77fd9adc70d55b3d5c93786c9387d9138
3,347
zoop-sample-taponphone-android
MIT License
app/src/main/java/com/krossovochkin/fiberyunofficial/di/applist/AppListComponent.kt
krossovochkin
221,648,261
false
{"Kotlin": 493412, "Python": 2433, "Shell": 369}
/* Copyright 2020 Vasya Drobushkov Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to i...
0
Kotlin
0
15
1574dbccbcd5f3f99064b0f1fcba81285d8c1a09
1,416
FiberyUnofficial
Apache License 2.0
ok-deskshare-be-common/src/main/kotlin/com/deskshare/common/models/error/CommonError.kt
otuskotlin
378,049,296
false
null
package com.deskshare.common.models.error import com.deskshare.common.exception.NotFoundReservationException class CommonError( override val field: String = "", override val code: ErrorCode, override val level: ErrorLevel, override val message: String ) : ErrorInterface { companion object { ...
1
Kotlin
0
1
baa39cc2b6c54bfd735992a91906817dd99082b0
1,122
ok-202105-deskshare-gl
MIT License
app/src/main/java/co/tiagoaguiar/course/instagram/register/RegisterNamePassword.kt
Felipe-Borba
751,564,839
false
{"Kotlin": 149355}
package co.tiagoaguiar.course.instagram.register import androidx.annotation.StringRes import co.tiagoaguiar.course.instagram.common.base.BasePresenter import co.tiagoaguiar.course.instagram.common.base.BaseView interface RegisterNamePassword { interface View : BaseView<Presenter> { fun showProgress(enable...
0
Kotlin
0
0
58a795ec85a7f530917005cbaeded94d0aebbe76
731
InstagramCopy
MIT License
ktor-swagger-ui/src/main/kotlin/io/github/smiley4/ktorswaggerui/dsl/routes/OpenApiRequest.kt
SMILEY4
526,907,299
false
null
package io.github.smiley4.ktorswaggerui.dsl.routes import io.github.smiley4.ktorswaggerui.data.KTypeDescriptor import io.github.smiley4.ktorswaggerui.data.OpenApiRequestData import io.github.smiley4.ktorswaggerui.data.ParameterLocation import io.github.smiley4.ktorswaggerui.data.SwaggerTypeDescriptor import io.github....
6
null
33
172
d040a9738c3dbbf3008a776bf38e8fa68386a83d
7,066
ktor-swagger-ui
Apache License 2.0
libs/logging/src/unitTest/kotlin/batect/logging/LoggerFactorySpec.kt
batect
102,647,061
false
null
/* Copyright 2017-2019 Charles Korn. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
4
null
47
687
67c942241c7d52b057c5268278d6252301c48087
2,198
batect
Apache License 2.0
lib/src/main/kotlin/app/cash/quiver/extensions/Result.kt
cashapp
610,098,851
false
null
package app.cash.quiver.extensions import app.cash.quiver.Failure import app.cash.quiver.Outcome import app.cash.quiver.Present import app.cash.quiver.asOutcome import app.cash.quiver.toOutcome import arrow.core.Either import arrow.core.Option import arrow.core.flatMap import arrow.core.getOrElse import arrow.core.ide...
8
null
7
115
963d4430ba0d25dda73eff5ac3bac423aaedbc7e
3,634
quiver
Apache License 2.0
product/appkit/src/main/kotlin/com/reown/appkit/ui/components/button/views/AccountButton.kt
reown-com
851,466,242
false
{"Kotlin": 2055654, "Java": 4294, "Shell": 1676}
package com.reown.appkit.ui.components.button.views import android.content.Context import android.util.AttributeSet import android.view.LayoutInflater import android.widget.FrameLayout import androidx.compose.ui.platform.ComposeView import androidx.compose.ui.platform.ViewCompositionStrategy import androidx.navigation...
6
Kotlin
1
8
893084b3df91b47daa77f8f964e37f84a02843b1
1,566
reown-kotlin
Apache License 2.0
app/src/main/java/com/bhoopathi/sony/network/API.kt
bhoopathik
417,763,206
false
null
package com.bhoopathi.sony.network import com.bhoopathi.sony.model.LanguageDictionary import com.bhoopathi.sony.model.LocalizationList import retrofit2.Response import retrofit2.http.GET import retrofit2.http.Path interface API { @GET("localization") suspend fun getLocalization(): Response<LocalizationList> ...
0
Kotlin
0
0
9fcb67d90501c388f7de836ad30b1404a2918263
436
SonyLocalization
Apache License 2.0
util/src/main/kotlin/wumo/sim/util/Shape.kt
wumo
305,330,037
false
{"Maven POM": 11, "Text": 7, "Python": 54, "Kotlin": 262, "Protocol Buffer Text Format": 2, "Java": 14, "ANTLR": 1, "Shell": 3, "CMake": 2, "C++": 291, "C": 22, "Prolog": 1, "M4": 3, "TeX": 2, "X PixMap": 1}
@file:Suppress("NOTHING_TO_INLINE") package wumo.sim.util import java.util.* val scalarDimension = Shape(IntArray(0)) //infix fun Int.x(a: Int) = Shape(this, a) //infix fun Shape.x(a: Int) = run { // val dims = asIntArray() // if (dims == null) Shape() // else Shape(*dims, a) //} // operator fun Int.plus(shape: S...
1
null
1
1
2a3a5118239b27eeb268cd1e7bdbfe5f5604dab6
6,393
sim-world
MIT License
smash-ranks-android/app/src/main/java/com/garpr/android/features/settings/IdentityPreferenceView.kt
charlesmadere
41,832,700
true
null
package com.garpr.android.features.settings import android.content.Context import android.content.DialogInterface import android.util.AttributeSet import android.view.View.OnClickListener import androidx.appcompat.app.AlertDialog import androidx.core.content.ContextCompat import com.garpr.android.R import com.garpr.an...
0
Kotlin
0
9
151b2a0f9b4d38be60c3f73344ca444f17810bfd
2,315
smash-ranks-android
The Unlicense