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
compiler/testData/diagnostics/tests/cyclicHierarchy/javaJavaNested.kt
JakeWharton
99,388,807
false
null
// FIR_IDENTICAL // FILE: A.java public interface A extends A.B { interface B extends A { public int getFoo() { return 1; } } } // FILE: A0.java public interface A0 extends A0.B { interface B { public int getFoo() { return 1; } } } // FILE: B.java public class B extends D { public int getFoo() { return ...
181
null
5748
83
4383335168338df9bbbe2a63cb213a68d0858104
489
kotlin
Apache License 2.0
compiler/testData/diagnostics/tests/cyclicHierarchy/javaJavaNested.kt
JakeWharton
99,388,807
false
null
// FIR_IDENTICAL // FILE: A.java public interface A extends A.B { interface B extends A { public int getFoo() { return 1; } } } // FILE: A0.java public interface A0 extends A0.B { interface B { public int getFoo() { return 1; } } } // FILE: B.java public class B extends D { public int getFoo() { return ...
181
null
5748
83
4383335168338df9bbbe2a63cb213a68d0858104
489
kotlin
Apache License 2.0
src/main/kotlin/no/nav/klage/dokument/clients/kabaljsontopdf/domain/RequestResponse.kt
navikt
297,650,936
false
{"Kotlin": 1319739, "Dockerfile": 134}
package no.nav.klage.dokument.clients.kabaljsontopdf.domain import no.nav.klage.kodeverk.TimeUnitType import no.nav.klage.oppgave.domain.klage.SvarbrevSettings import java.time.LocalDate data class DocumentValidationResponse( val errors: List<DocumentValidationError> = emptyList() ) { data class DocumentValid...
1
Kotlin
4
0
8f8c5b474b131d8281b920506ec47be605a0c357
1,293
kabal-api
MIT License
projects/offender-events-and-delius/src/test/kotlin/uk/gov/justice/digital/hmpps/integrations/delius/offender/OffenderDeltaServiceTest.kt
ministryofjustice
500,855,647
false
null
package uk.gov.justice.digital.hmpps.integrations.delius.offender import org.hamcrest.MatcherAssert.assertThat import org.hamcrest.Matchers.equalTo import org.junit.jupiter.api.BeforeEach import org.junit.jupiter.api.Test import org.junit.jupiter.api.extension.ExtendWith import org.junit.jupiter.params.ParameterizedTe...
10
Kotlin
0
1
c051ac1b11f652d4227f8e934329d6afe5400b69
3,131
hmpps-probation-integration-services
MIT License
extension-style/src/main/java/com/mapbox/maps/extension/style/sources/CustomGeometrySource.kt
romancheretovich
387,131,982
true
{"Kotlin": 1723682, "Java": 25480, "Python": 11523, "C++": 10129, "Shell": 7010, "JavaScript": 4344, "Makefile": 2721, "CMake": 1201, "EJS": 1194}
package com.mapbox.maps.extension.style.sources import com.mapbox.geojson.Feature import com.mapbox.maps.CanonicalTileID import com.mapbox.maps.CoordinateBounds import com.mapbox.maps.CustomGeometrySourceOptions import com.mapbox.maps.StyleManagerInterface import com.mapbox.maps.extension.style.StyleContract import co...
0
null
0
0
e4f52fda0a425d56ab4036fbe65d8283bb601c60
2,410
mapbox-maps-android
Apache License 2.0
window/window/samples/src/main/java/androidx.window.samples.embedding/FinishActivityStacksSamples.kt
androidx
256,589,781
false
{"Kotlin": 112114129, "Java": 66594571, "C++": 9132142, "AIDL": 635065, "Python": 325169, "Shell": 194520, "TypeScript": 40647, "HTML": 35176, "Groovy": 27178, "ANTLR": 26700, "Svelte": 20397, "CMake": 15512, "C": 15043, "GLSL": 3842, "Swift": 3153, "JavaScript": 3019}
/* * Copyright 2023 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
29
Kotlin
1011
5,321
98b929d303f34d569e9fd8a529f022d398d1024b
1,403
androidx
Apache License 2.0
hiltSample/app/src/main/java/com/shalaga44/hiltsample/room/CacheMapper.kt
shalaga44
277,876,272
false
null
package com.shalaga44.hiltsample.room import com.shalaga44.hiltsample.model.Blog <<<<<<< HEAD import com.shalaga44.hiltsample.retrofit.BlogNetworkEntity ======= >>>>>>> Dagger-Hilt import com.shalaga44.hiltsample.util.EntityMapper import javax.inject.Inject class CacheMapper @Inject <<<<<<< HEAD constructor():EntityM...
0
Kotlin
0
0
9897abd33b75a104a4248e4999ba0a39d1169e9e
1,258
architecture-components-samples
Apache License 2.0
src/main/kotlin/co/com/bancolombia/actions/CreateModelDialog.kt
bancolombia
436,776,232
false
{"Kotlin": 46459}
package co.com.bancolombia.actions import co.com.bancolombia.extensions.addLine import co.com.bancolombia.extensions.initGridBag import co.com.bancolombia.utils.CommandExecutor import com.intellij.openapi.project.Project import com.intellij.openapi.ui.DialogWrapper import com.intellij.openapi.ui.Messages import com.in...
0
Kotlin
0
2
4e2d6c1661e446c009c1eec35c4c2b8527958aec
1,473
scaffold-ca-intellij-plugin
Apache License 2.0
src/main/kotlin/de/sambalmueslie/openevent/api/NotificationAPI.kt
Black-Forrest-Development
542,810,521
false
null
package de.sambalmueslie.openevent.api import de.sambalmueslie.openevent.core.model.* import io.micronaut.data.model.Page import io.micronaut.data.model.Pageable import io.micronaut.security.authentication.Authentication interface NotificationAPI : CrudAPI<Long, NotificationScheme, NotificationSchemeChangeRequest> { ...
6
Kotlin
0
1
43cf66668db937150ae8f14078437c1e5a7287e2
1,445
open-event
Apache License 2.0
data/src/main/java/com/abhrp/daily/data/mapper/detail/NewsDetailMapper.kt
abhrp
215,215,257
false
null
package com.abhrp.daily.data.mapper.detail import com.abhrp.daily.data.mapper.EntityMapper import com.abhrp.daily.data.model.detail.NewsDetailData import com.abhrp.daily.domain.model.detail.NewsDetail import javax.inject.Inject class NewsDetailMapper @Inject constructor(): EntityMapper<NewsDetailData, NewsDetail> { ...
0
Kotlin
0
0
ec839445ff53e5de8bcc4d83e90fdbc3efbb2bb4
630
daily
MIT License
drestaurant-libs/drestaurant-courier/src/main/kotlin/com/drestaurant/courier/domain/CourierCommandHandler.kt
developeramarish
223,868,278
true
{"Kotlin": 408891, "Shell": 4709, "Java": 4204, "HTML": 2676, "JavaScript": 2157}
package com.drestaurant.courier.domain import org.axonframework.commandhandling.CommandHandler import org.axonframework.commandhandling.model.AggregateNotFoundException import org.axonframework.commandhandling.model.Repository import org.axonframework.eventhandling.EventBus import org.axonframework.eventhandling.Gener...
0
null
0
0
5e6eb4370f120009a85853433030e8cc33a65d00
875
digital-restaurant
Apache License 2.0
app/src/main/java/com/example/sunnyweather/ui/weather/WeatherActivity.kt
lihairui006
284,575,712
false
null
package com.example.sunnyweather.ui.weather import android.content.Context import android.graphics.Color import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.util.Log import android.view.LayoutInflater import android.view.View import android.view.inputmethod.InputMethodManager import...
0
Kotlin
0
0
437c7b9221bddcc6cb6e1101bf82cb524b389afd
5,825
SunnyWeather
Apache License 2.0
src/main/java/cy/ac/ucy/cs/anyplace/lib/android/sensors/imu/sensorsCollector2/model/BleEvent.kt
dmsl
300,647,134
false
null
package cy.ac.ucy.cs.anyplace.lib.android.sensors.imu.sensorsCollector2.model import android.bluetooth.le.ScanResult data class BleEvent(val scanResult: ScanResult, val major: Int, val minor: Int) val TYPE_BLE_EVENT = 0x1 val TYPE_SENSOR_EVENT = 0x2 val TYPE_GENERATED_EVENT = 0x3
0
null
1
3
653becd0961171ad33fa25fac2260927ce5f5175
283
anyplace-lib-android
MIT License
yandex-mapkit-kmp/src/iosMain/kotlin/ru/sulgik/mapkit/user_location/UserLocationIconChanged.ios.kt
SuLG-ik
813,953,018
false
{"Kotlin": 321441}
package ru.sulgik.mapkit.user_location import ru.sulgik.mapkit.layers.ObjectEvent import YandexMapKit.YMKUserLocationIconChanged as NativeUserLocationIconChanged public actual class UserLocationIconChanged internal constructor( private val nativeUserLocationIconChanged: NativeUserLocationIconChanged, ) : ObjectEv...
0
Kotlin
1
17
2d292b701adb2c538f8cd3ddf614250f9d6a444d
715
yandex-mapkit-kmp
Apache License 2.0
app/src/main/kotlin/pl/bkacala/threecitycommuter/ui/screen/map/component/VehicleType.kt
BlazejKacala
738,632,039
false
{"Kotlin": 125680, "Python": 1850}
package pl.bkacala.threecitycommuter.ui.screen.map.component enum class VehicleType { Bus, Tram }
0
Kotlin
0
0
27a55a84e4cfeac4238265374268daa4f6c3b280
98
3citycommuter
Apache License 2.0
content/src/main/java/com/kafka/content/ui/library/LibraryFragment.kt
vipulyaara
170,554,386
false
null
package com.kafka.content.ui.library import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.fragment.app.viewModels import androidx.lifecycle.Observer import androidx.lifecycle.lifecycleScope import androidx.navigation.fragment.findNavControll...
0
Kotlin
4
18
71a639047c246aa62c33fa472ab70100da25f727
2,125
Kafka
Apache License 2.0
src/main/kotlin/no/nav/bidrag/aktoerregister/batch/AktørBatchProcessorResult.kt
navikt
595,268,421
false
{"Kotlin": 131035, "Dockerfile": 166}
package no.nav.bidrag.aktoerregister.batch import no.nav.bidrag.aktoerregister.persistence.entities.Aktør data class AktørBatchProcessorResult( val aktør: Aktør, val nyAktør: Aktør, val aktørStatus: AktørStatus, val originalIdent: String? = null, )
6
Kotlin
0
0
ebc5c2f9514e7e2945f35c63a30927ca2e97ae5d
267
bidrag-aktoerregister
MIT License
app/src/main/java/com/pr656d/cattlenotes/ui/credits/CreditsFragment.kt
pr656d
217,208,430
false
{"Kotlin": 916289}
/* * Copyright 2020 Cattle Notes. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
0
Kotlin
0
0
e375ab87cd75fedec5d457f07b730eee25723f4f
1,422
CattleNotes
Apache License 2.0
state/src/commonMain/kotlin/outcome/Builder.kt
CLOVIS-AI
582,958,014
false
{"Kotlin": 158722, "Dockerfile": 339}
package opensavvy.state.outcome @Deprecated("The 'success' builder has been renamed to 'successful'", replaceWith = ReplaceWith("successful()", "opensavvy.state.outcome.successful")) fun <Value> Value.success() = Outcome.Success(this) fun <Value> Value.successful() = Outcome.Success(this) fun <Failure> Failure.faile...
0
Kotlin
0
0
f0918b9af7feaa2ce8e8890b09f7ae5fefa660df
348
Pedestal
Apache License 2.0
y2017/src/main/kotlin/adventofcode/y2017/Day15.kt
Ruud-Wiegers
434,225,587
false
{"Kotlin": 453707}
package adventofcode.y2017 import adventofcode.io.AdventSolution object Day15 : AdventSolution(2017, 15, "Dueling Generators") { override fun solvePartOne(input: String): String { val (seedA, seedB) = parseInput(input) val genA = generateSequence(seedA) { it * 16807L % 2147483647L } val genB = generateSequen...
0
Kotlin
0
3
f988b7b77f7b03b7ef4b1269192c9a41abe789f4
1,296
advent-of-code
MIT License
app/src/main/java/com/notesync/notes/framework/workers/GetUpdatedNotesWorker.kt
AgarwalsRahul
410,538,003
false
{"Kotlin": 427137, "JavaScript": 1559, "Shell": 739}
package com.notesync.notes.framework.workers import android.content.Context import androidx.work.CoroutineWorker import androidx.work.WorkerParameters import com.notesync.notes.business.data.cache.abstraction.NoteCacheDataSource import com.notesync.notes.business.data.network.abstraction.NoteNetworkDataSource import ...
0
Kotlin
2
5
9b4c16efffcb3dfe314a2f45c4ffae318717e05f
3,634
Sync-Note
Apache License 2.0
src/main/java/dev/arbor/gtnn/data/GTNNRecipeConditions.kt
Arborsm
714,203,348
false
{"Kotlin": 462558, "Java": 80391}
package dev.arbor.gtnn.data import com.gregtechceu.gtceu.api.recipe.condition.RecipeConditionType import com.gregtechceu.gtceu.api.registry.GTRegistries import dev.arbor.gtnn.api.recipe.NeutronActivatorCondition import dev.arbor.gtnn.api.recipe.PlantCasingCondition object GTNNRecipeConditions { @JvmStatic val...
1
Kotlin
6
8
8d459f1cd2fd4ac35cf9d8ba39260296b7c71840
833
GT--
MIT License
android/app/src/main/java/com/cumulocity/alarmapp/util/RegistrationApi.kt
Cumulocity-IoT
582,577,481
false
{"Swift": 155343, "Java": 140743, "Kotlin": 9306}
// Copyright (c) 2014-2023 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors. // Use, reproduction, transfer, publication or disclosure is prohibited except as specifically provided for in your License Agreement with Softwa...
4
Swift
3
13
855bc6530e431aace9acfa9bb4ade2fca2e8e9a8
3,018
cumulocity-alarmapp
Apache License 2.0
desktop/gui/src/main/kotlin/com/soyle/stories/scene/sceneCharacters/SceneCharactersUncoveredArcSectionPresenter.kt
Soyle-Productions
239,407,827
false
null
package com.soyle.stories.scene.sceneCharacters import com.soyle.stories.gui.View import com.soyle.stories.scene.charactersInScene.coverArcSectionsInScene.CharacterArcSectionUncoveredInSceneReceiver import com.soyle.stories.usecase.scene.character.coverCharacterArcSectionsInScene.CharacterArcSectionUncoveredInScene c...
45
Kotlin
0
9
1a110536865250dcd8d29270d003315062f2b032
1,676
soyle-stories
Apache License 2.0
app/src/main/java/com/myweather/android/MyWeatherApplication.kt
klose1178
420,616,372
false
{"Kotlin": 34688}
package com.myweather.android import android.annotation.SuppressLint import android.app.Application import android.content.Context /* * 文件名: MyWeatherApplication * 作者: KloseYu * 日期: 2021/10/24 * 描述: Application */ class MyWeatherApplication : Application(){ companion object{ //caiyun CN cons...
0
Kotlin
0
0
bd6dd4841880e21cf16b212b96a5e77b8aef800d
621
MyWeather
Apache License 2.0
examples/src/main/kotlin/examples/debug/DebugSprite.kt
hiperbou
77,711,558
false
{"Kotlin": 456816, "HTML": 335}
package examples.debug import Phaser.* class DebugSprite: State() { //var game = Phaser.Game(800, 600, Phaser.CANVAS, "phaser-example", object{ var preload= preload; var create= create; var update=update; var render=render }) lateinit var sprite:Sprite var counter = 0.0 var step = Math.PI * 2 / 360 ...
2
Kotlin
11
55
18d247ecf44c32f5aca0560dce7727c10dfe196a
1,064
kotlin-phaser
MIT License
app/src/test/java/i/herman/signup/FailedAccountCreationTest.kt
ihermandev
574,420,150
false
{"Kotlin": 133424}
package i.herman.signup import com.ihermandev.sharedtest.domain.user.OfflineUserCatalog import com.ihermandev.sharedtest.domain.user.UnavailableUserCatalog import i.herman.domain.user.InMemoryUserDataStore import i.herman.domain.user.UserRepository import i.herman.signup.state.SignUpState import kotlinx.coroutines.run...
0
Kotlin
0
0
29c0dde061a15c33a9c4ede6cbd6b779ea6e40ad
1,017
FriendsComposeCourse
Apache License 2.0
app/src/main/java/com/chris/byteflow/tool/base/View.kt
gitByteFlow
419,259,950
false
null
package com.chris.byteflow.tool.base import android.view.View import kotlinx.coroutines.CoroutineScope import kotlinx.coroutines.channels.awaitClose import kotlinx.coroutines.flow.callbackFlow import kotlinx.coroutines.flow.launchIn import kotlinx.coroutines.flow.onEach fun View.clicksFlow( scope: CoroutineScope...
0
Kotlin
0
0
883da5778c15b3087c750190e232eff6692ea85a
675
byteTool
Apache License 2.0
app/src/main/java/com/mankart/mankgram/ui/mapviewstory/fragment/MapOptionFragment.kt
reskimulud
478,623,288
false
null
package com.mankart.mankgram.ui.mapviewstory.fragment import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.Toast import androidx.core.content.ContextCompat import androidx.fragment.app.activityViewModels import com.google.android.mater...
0
null
2
16
40a5279fe533ac4f7b88be8d28d613f5c9d7fa67
8,480
Mankgram
MIT License
app/src/main/java/com/tans/tfiletransporter/ui/commomdialog/LoadingDialog.kt
Tans5
329,625,887
false
null
package com.tans.tfiletransporter.ui.commomdialog import android.app.Dialog import android.content.Context import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.fragment.app.FragmentManager import com.tans.tfiletransporter.R import com.tans.tuiutils.dialog.BaseDialog...
1
null
20
96
061bf75ba02b48693e61fbc15af670dc24a4c2cf
1,630
tFileTransporter
Apache License 2.0
domain/src/main/java/com/nowiwr01p/domain/news/main/usecase/SubscribeNewsViewersUseCase.kt
nowiwr01w
584,138,480
false
null
package com.nowiwr01p.domain.news.main.usecase import com.nowiwr01p.domain.UseCase import com.nowiwr01p.domain.app.ReferencedListener import com.nowiwr01p.domain.news.main.repository.NewsRepository class SubscribeNewsViewersUseCase( private val repository: NewsRepository ): UseCase<Unit, ReferencedListener> { ...
0
Kotlin
1
3
0ebdf8f0cc072cf1f07810a6c36e710f373bfc7f
442
Protest
MIT License
mobile_app1/module950/src/main/java/module950packageKt0/Foo22.kt
uber-common
294,831,672
false
null
package module950packageKt0; annotation class Foo22Fancy @Foo22Fancy class Foo22 { fun foo0(){ module950packageKt0.Foo21().foo3() } fun foo1(){ foo0() } fun foo2(){ foo1() } fun foo3(){ foo2() } }
6
Java
6
72
9cc83148c1ca37d0f2b2fcb08c71ac04b3749e5e
233
android-build-eval
Apache License 2.0
crons/src/main/java/com/raxdenstudios/cron/CronHandler.kt
raxden
32,160,667
false
null
package com.raxdenstudios.cron import android.content.Context import android.util.Log import com.raxdenstudios.cron.data.CronService import com.raxdenstudios.cron.data.factory.CronFactoryService import com.raxdenstudios.cron.model.Cron import com.raxdenstudios.cron.utils.CronUtils import io.reactivex.Completable impor...
1
Kotlin
1
1
c87ea2e007ab90c05ff9c86dfe2823923f62d0bb
3,390
android-crons
Apache License 2.0
entities/src/main/kotlin/org/wcl/mfn/entities/contract/calculator/YearlyFigure.kt
warnettconsultingltd
809,363,042
false
{"Kotlin": 56202, "HTML": 6987, "CSS": 4145}
package org.wcl.mfn.entities.contract.calculator import jakarta.validation.constraints.* @JvmRecord data class SuggestedYearlyContract( val year: @Min(1L) @Max(6L) Int?, val salary: Int, val yearlyRemuneration: Int )
0
Kotlin
0
0
736f94fe30c021bd8579d09646e92b46265c8884
231
wcl-mfn-manager
Apache License 2.0
buildSrc/src/main/java/Dependencies.kt
OscarMolleapaza
491,669,961
false
null
object Dependencies { object Libraries { // Google const val materialDesign = "com.google.android.material:material:${Versions.materialDesign}" const val gson = "com.google.code.gson:gson:${Versions.gson}" // Koin const val koinCore = "org.koin:koin-android:${Versions.koin...
0
Kotlin
0
0
b0f261f9043b7b71fdcc64052cd12927cc84deb5
4,147
PeruAppsTest
MIT License
examples/src/main/kotlin/in/rcard/kactor/examples/RouterPattern.kt
rcardin
553,136,204
false
{"Kotlin": 9889}
package `in`.rcard.kactor.examples import `in`.rcard.kactor.KActorRef.KActorRefOps.`!` import `in`.rcard.kactor.KBehavior import `in`.rcard.kactor.kactorSystem import `in`.rcard.kactor.receive import `in`.rcard.kactor.router import `in`.rcard.kactor.same import `in`.rcard.kactor.setup import `in`.rcard.kactor.stopped ...
13
Kotlin
3
28
5ed27eb5b1213530d01f52049f85adcce4b338d4
1,115
kactor
MIT License
compiler/testData/moduleProtoBuf/simple/BarMultiFilePart1.kt
JakeWharton
99,388,807
true
null
@file:JvmMultifileClass @file:JvmName("MultiBar") package bar fun multiFile1() {}
179
Kotlin
5640
83
4383335168338df9bbbe2a63cb213a68d0858104
84
kotlin
Apache License 2.0
apps/desktop/src/main/kotlin/dev/eduayuso/cgkotlin/components/CanvasView.kt
eduayuso
353,986,267
false
null
package dev.eduayuso.cgkotlin.components import dev.eduayuso.cgkotlin.shared.domain.entities.PointEntity import dev.eduayuso.cgkotlin.shared.domain.entities.PointSetEntity import dev.eduayuso.cgkotlin.shared.domain.entities.SegmentEntity import dev.eduayuso.cgkotlin.shared.domain.entities.SegmentSetEntity import javaf...
0
Kotlin
0
0
4e1b5272088b77353a87073255dddbb6487318f7
2,550
compose-computational-geometry
Apache License 2.0
urbanairship-automation/src/main/java/com/urbanairship/iam/analytics/events/InAppFormResultEvent.kt
urbanairship
58,972,818
false
{"Kotlin": 3266979, "Java": 2582150, "Python": 10137, "Shell": 589}
/* Copyright Airship and Contributors */ package com.urbanairship.iam.analytics.events import com.urbanairship.analytics.EventType import com.urbanairship.json.JsonSerializable import com.urbanairship.json.JsonValue import com.urbanairship.json.jsonMapOf internal class InAppFormResultEvent( forms: JsonValue? ) :...
2
Kotlin
122
111
21d49c3ffd373e3ba6b51a706a4839ab3713db11
787
android-library
Apache License 2.0
app/src/main/java/com/example/alexmelnikov/coinspace/util/TextUtils.kt
vovaksenov99
143,032,036
true
{"Kotlin": 193222}
package com.example.alexmelnikov.coinspace.util import com.example.alexmelnikov.coinspace.model.interactors.Money import java.text.SimpleDateFormat import java.util.* fun formatToMoneyString(money: Money): String { return "${money.normalizeCountString()} ${money.currency}" } fun find(query: String, source: Stri...
0
Kotlin
0
0
6907306ad96bac7e47588e8237cd1f6d5986fb8b
1,356
CoinSpace
MIT License
compose-video/src/main/kotlin/io/sanghun/compose/video/uri/VideoPlayerMediaItemConverter.kt
dsa28s
594,415,245
false
null
/* * Copyright 2023 <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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
1
null
4
57
58a59cb806c904a84572792a854c3bc0dabf32e8
2,280
compose-video
Apache License 2.0
workflow-tracing/src/main/java/com/squareup/workflow1/diagnostic/tracing/MemoryStats.kt
square
268,864,554
false
{"Kotlin": 1320478, "Shell": 2325, "Ruby": 1690, "Java": 806}
package com.squareup.workflow1.diagnostic.tracing /** * Reports free/available memory. * * @see RuntimeMemoryStats */ public interface MemoryStats { public fun freeMemory(): Long public fun totalMemory(): Long } /** * A [MemoryStats] that reports memory stats using this [Runtime] instance. */ public object ...
173
Kotlin
99
995
daf192e24d7b47943caf534e62e4b70d08028100
527
workflow-kotlin
Apache License 2.0
kotlin/goi/src/gen/kotlin/net/paploo/goi/persistence/db/goi/grammar/tables/Rule.kt
paploo
526,415,165
false
{"Kotlin": 551045, "Ruby": 153592, "Java": 50625, "ANTLR": 2824, "CSS": 1961, "PLpgSQL": 274}
/* * This file is generated by jOOQ. */ package net.paploo.goi.persistence.db.goi.grammar.tables import java.time.LocalDate import java.util.UUID import java.util.function.Function import net.paploo.goi.persistence.db.goi.grammar.Grammar import net.paploo.goi.persistence.db.goi.grammar.keys.RULE_PKEY import net.pa...
3
Kotlin
0
0
ad2bd1917379e47e5cd12347157383c9ed3d19e7
6,239
goi
MIT License
app/src/main/kotlin/no/nav/paw/migrering/app/serde/ArbeidssoekerEventSerde.kt
navikt
718,511,538
false
{"Kotlin": 78793, "Dockerfile": 605}
package no.nav.paw.migrering.app.serde import no.nav.paw.migrering.ArbeidssokerperiodeHendelseMelding import com.fasterxml.jackson.databind.ObjectMapper import com.fasterxml.jackson.module.kotlin.KotlinFeature import com.fasterxml.jackson.module.kotlin.KotlinModule import org.apache.kafka.common.serialization.Deserial...
0
Kotlin
0
0
a3a681cab43a2c8dcc4ae579a40eb8fc98661e32
1,893
paw-migrering-vailarb-til-nytt-register
MIT License
idea/idea-completion/testData/weighers/basic/Callables.kt
JakeWharton
99,388,807
false
null
public inline fun <T, R> with(receiver: T, block: T.() -> R): R = receiver.block() fun aaGlobalFun(){} val aaGlobalProp = 1 open class Base { fun aaBaseFun(){} val aaBaseProp = 1 } class Derived : Base(), Common { fun aaDerivedFun(){} val aaDerivedProp = 1 fun foo(y: Y) { val aaLocalVal ...
1
null
28
83
4383335168338df9bbbe2a63cb213a68d0858104
1,358
kotlin
Apache License 2.0
src/test/java/com/patres/automation/mapper/TimeActionMapperTest.kt
Patresss
162,488,914
false
null
package com.patres.automation.mapper import com.patres.automation.action.delay.TimeContainer import com.patres.automation.action.delay.TimeType import com.patres.automation.gui.controller.model.TimeActionController import com.patres.automation.helpers.JfxSpec import com.patres.automation.helpers.shouldNotBeNullAndChec...
0
null
4
35
2467149f1308c40665ac4ef3af723eb595235dcf
3,700
AutoController
MIT License
app/src/main/java/com/umaplasticsfsm/features/stockAddCurrentStock/api/ShopAddStockRepository.kt
DebashisINT
740,356,583
false
{"Kotlin": 13951781, "Java": 1001021}
package com.umaplasticsfsm.features.stockAddCurrentStock.api import com.umaplasticsfsm.base.BaseResponse import com.umaplasticsfsm.features.location.model.ShopRevisitStatusRequest import com.umaplasticsfsm.features.location.shopRevisitStatus.ShopRevisitStatusApi import com.umaplasticsfsm.features.stockAddCurrentStock....
0
Kotlin
0
0
999d91340d353d2133080d6887c0feb79a4eb6f1
991
UmaPlastics
Apache License 2.0
composeApp/src/commonMain/kotlin/com/zzz1zzz/todolist_cmp/ui/main/MainTabs.kt
zaferertas
863,013,724
false
{"Kotlin": 44574, "Swift": 688}
package com.zzz1zzz.todolist_cmp.ui.main import androidx.compose.foundation.ExperimentalFoundationApi import androidx.compose.foundation.pager.PagerState import androidx.compose.material3.Tab import androidx.compose.material3.TabRow import androidx.compose.material3.Text import androidx.compose.runtime.Composable impo...
0
Kotlin
0
0
08e7d61bc691a4a0b2a0cc9a4af4c8b85a624898
1,152
todolistCMP
Apache License 2.0
app/src/main/java/com/force/codes/tracepinas/di/module/DatabaseModule.kt
forceporquillo
292,104,153
false
{"Kotlin": 91521}
/* * Created by <NAME> on 9/12/20 3:10 AM */ package com.force.codes.tracepinas.di.module import android.app.Application import androidx.room.Room import androidx.room.RoomDatabase.Callback import androidx.sqlite.db.SupportSQLiteDatabase import com.force.codes.tracepinas.BuildConfig import com.force.codes.tracepina...
0
Kotlin
0
1
ca6bb96a2ff0b148e28c71382d2ef64441a46759
1,310
tracepinas-v2-android
Apache License 2.0
app/src/main/java/com/jokerweather/android/ui/weather/WeatherViewModel.kt
skylin1024
463,808,367
false
{"Kotlin": 32777}
package com.jokerweather.android.ui.weather import androidx.lifecycle.MutableLiveData import androidx.lifecycle.Transformations import androidx.lifecycle.ViewModel import com.jokerweather.android.logic.Repository import com.jokerweather.android.logic.model.Location class WeatherViewModel:ViewModel() { private val...
0
Kotlin
0
0
02385a0970d2e73ea7525dc90a14b15e185def47
922
JokerWeather
Apache License 2.0
kfc/kfc-gradle-plugin/src/main/kotlin/io/github/turansky/kfc/gradle/plugin/ViteConfig.kt
turansky
239,704,753
false
{"Kotlin": 51652, "Shell": 173}
@file:Suppress("JSLastCommaInObjectLiteral") package io.github.turansky.kfc.gradle.plugin import org.gradle.api.Project import org.gradle.api.file.Directory fun getViteConfig( project: Project, mode: ViteMode, outputDirectory: Directory, ): String { val outDir = outputDirectory.asFile.absolutePath ...
1
Kotlin
5
46
b3185c2e6459acc8f2c64572539bf8707431e949
1,667
kfc-plugins
Apache License 2.0
src/main/java/com/adityaamolbavadekar/hiphe/interaction/UserDeviceData.kt
AdityaBavadekar
421,028,992
false
null
/******************************************************************************* * Copyright (c) 2021. <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:/...
0
Kotlin
0
1
eb8608b7aa63ed3fca9ffd3b2e999824c1e072de
5,781
Hiphe
Apache License 2.0
miaoandriod/src/main/java/com/a10miaomiao/miaoandriod/MiaoLiveData.kt
Dwsy
239,933,976
true
{"Kotlin": 478153, "Java": 197271}
package com.a10miaomiao.miaoandriod import android.arch.lifecycle.* typealias MiaoObserver<T> = LifecycleOwner.(observer: (t: T) -> Unit) -> Unit typealias MiaoObserverAll = LifecycleOwner.(observer: () -> Unit) -> Unit open class MiaoLiveData<T>(private var _value: T) : LiveData<T>() { inline infix fun set(val...
0
null
0
0
9ce5f4a6742591ba5ec0e6a071e12a833fd31810
1,553
bilimiao2
Apache License 2.0
buildSrc/src/main/kotlin/InstrumentJava.kt
JetBrains
3,432,266
false
null
import org.gradle.api.Action import org.gradle.api.Task import org.gradle.api.artifacts.Configuration import org.gradle.api.file.FileCollection import org.gradle.api.tasks.SourceSet import org.gradle.api.tasks.compile.JavaCompile import org.gradle.kotlin.dsl.provideDelegate import org.gradle.kotlin.dsl.withGroovyBuilde...
125
null
4903
39,894
0ad440f112f353cd2c72aa0a0619f3db2e50a483
1,930
kotlin
Apache License 2.0
src/main/kotlin/com/camador/oauth2/springboot/repository/UserRepository.kt
camador-lucid
583,070,849
false
null
package com.camador.oauth2.springboot.repository; import com.camador.oauth2.springboot.model.app.User import org.springframework.stereotype.Repository import java.util.* /** * Serves as in-memory storage for the mock application users */ @Repository class UserRepository { companion object { private val ...
0
Kotlin
0
0
1d91b24cbbdc76e110ce83e158abd5cf057fbca5
711
lucid-public-api-example
Apache License 2.0
studio/src/main/java/com/seanghay/studio/gles/shader/filter/tonecurve/ToneCurveFilterShader.kt
seanghay
200,696,080
false
{"Gradle": 8, "Markdown": 2, "Java Properties": 2, "Shell": 1, "Ignore List": 3, "Batchfile": 1, "Kotlin": 184, "YAML": 1, "Proguard": 2, "XML": 40, "Java": 8, "Text": 15}
/** * Designed and developed by <NAME> (@seanghay) * * 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 applicabl...
5
Kotlin
12
25
40344013111ecd72c508b75775123b7daddc7fab
9,583
studio
Apache License 2.0
fontawesome/src/de/msrd0/fontawesome/icons/FA_GIFTS.kt
msrd0
363,665,023
false
{"Kotlin": 3912511, "Jinja": 2214}
/* @generated * * This file is part of the FontAwesome Kotlin library. * https://github.com/msrd0/fontawesome-kt * * This library is not affiliated with FontAwesome. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may...
0
Kotlin
0
0
ee6a62d201fd5df2555859271cb0c6a7ee887e7a
2,517
fontawesome-kt
Apache License 2.0
app/src/main/java/ly/david/mbjc/ui/work/WorkScaffoldViewModel.kt
lydavid
458,021,427
false
null
package ly.david.mbjc.ui.work import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import dagger.hilt.android.lifecycle.HiltViewModel import javax.inject.Inject import kotlinx.coroutines.flow.MutableStateFlow import kotlinx.coroutines.launch import ly.david.data.domain.WorkListItemModel import ...
12
Kotlin
0
0
fed58c870f84e30299acfe2205b737e767459328
2,649
MusicSearch
Apache License 2.0
circularcardsstackview/src/main/java/com/mindinventory/circularcardsstackview/adapter/CircularAdapter.kt
Mindinventory
396,811,810
false
null
package com.mindinventory.circularcardsstackview.adapter import android.view.ViewGroup import androidx.recyclerview.widget.RecyclerView /** * This class uses for set endless list * @author MindInventory */ abstract class CircularAdapter<T> : RecyclerView.Adapter<RecyclerView.ViewHolder>() { private val items =...
0
Kotlin
2
30
315c7d767509bc43dd8d5fe2f93e57e9818b1be2
1,525
CircularCardsStackView
MIT License
app/src/main/kotlin/jp/cordea/mackerelclient/utils/GravatarUtils.kt
ariarijp
55,407,057
true
{"Kotlin": 156801}
package jp.cordea.mackerelclient.utils import java.io.UnsupportedEncodingException import java.nio.charset.Charset import java.security.MessageDigest import java.security.NoSuchAlgorithmException /** * Created by CORDEA on 2016/01/17. */ class GravatarUtils { companion object { private fun hex(arr: Byt...
0
Kotlin
0
0
cde9b545372cf4a4f5d1020e7e144bcbd71db05c
1,247
MackerelClient
Apache License 2.0
example-kotlin/src/main/java/com/gigya/android/sample/extras/ImageView+Extras.kt
andersu
292,015,957
true
{"Java": 895631, "Kotlin": 149285}
package com.gigya.android.sample.extras import android.graphics.Bitmap import android.text.TextUtils import android.widget.ImageView import com.bumptech.glide.request.RequestOptions import com.gigya.android.sample.GlideApp fun ImageView.loadBitmap(bitmap: Bitmap?) { if (bitmap != null) { GlideApp.with(thi...
0
null
0
0
2e85b66a310417bd00d093af7b197bcb388a326a
599
gigya-android-sdk
Apache License 2.0
src/Day17/VerticalRock.kt
Nathan-Molby
572,771,729
false
{"Kotlin": 95872, "Python": 13537, "Java": 3671}
package Day17 class VerticalRock(chasm: Chasm, y: Int): Rock(chasm) { override var position: Pair<Int, Int> = Pair(2, y) override val width: Int = 1 init { for (y in y until y + 4) { chasm.matrix[y][2] = true } } override fun moveDown(): Pair<Boolean, Int> { if...
0
Kotlin
0
0
750bde9b51b425cda232d99d11ce3d6a9dd8f801
1,804
advent-of-code-2022
Apache License 2.0
covpass-sdk/src/main/java/de/rki/covpass/sdk/utils/serialization/BirthDateSerializer.kt
ljxx
388,073,819
false
null
/* * (C) Copyright IBM Deutschland GmbH 2021 * (C) Copyright IBM Corp. 2021 */ package de.rki.covpass.sdk.utils.serialization import de.rki.covpass.sdk.cert.models.BirthDate import de.rki.covpass.sdk.cert.models.BirthDate.Companion.BIRTH_DATE_EMPTY import kotlinx.serialization.KSerializer import kotlinx.serializat...
0
Kotlin
0
2
390a45d0c8231e8203439018d0e6702ecb0f0d05
1,581
android-covpass-app
Apache License 2.0
mcb-api/src/main/kotlin/api/addon/AddonData.kt
mani1232
713,548,356
false
{"Kotlin": 47046}
package api.addon import org.slf4j.Logger import java.io.File import java.net.URLClassLoader data class AddonData( val info: Info, val manager: Manager, val logger: Logger ) data class Info( val pluginVersion: String, val pluginName: String, ) data class Manager( val addonDirectory: File, ...
0
Kotlin
0
1
d420c1a469abc6e8f1edc1ea0da15d4ce7a5e462
359
ModernCustomBot
Apache License 2.0
src/main/kotlin/com/github/catppuccin/jetbrains_icons/settings/views/SettingsAdditionalSupportView.kt
catppuccin
708,130,510
false
{"Kotlin": 11049, "TypeScript": 2052}
package com.github.catppuccin.jetbrains_icons.settings.views import com.github.catppuccin.jetbrains_icons.settings.PluginSettingsState import com.intellij.ui.components.JBCheckBox import com.intellij.util.ui.FormBuilder import java.awt.FlowLayout import javax.swing.JPanel class SettingsAdditionalSupportView : JPanel(...
10
Kotlin
6
42
f9c1e0a3a2ee45ba8c05c8edae52e34e9079c44e
658
jetbrains-icons
MIT License
src/test/kotlin/uk/gov/justice/digital/hmpps/approvedpremisesapi/unit/seed/cas1/Cas1RedactAssessmentDetailsSeedJobTest.kt
ministryofjustice
515,276,548
false
{"Kotlin": 8262155, "Shell": 15359, "Dockerfile": 1667, "Mustache": 383}
package uk.gov.justice.digital.hmpps.approvedpremisesapi.unit.seed.cas1 import io.mockk.mockk import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Test import uk.gov.justice.digital.hmpps.approvedpremisesapi.jpa.entity.AssessmentRepository import uk.gov.justice.digital.hmpps.approvedpremisesa...
27
Kotlin
1
5
51e95acef683f6c9a2c1b654b8a31e095b21e38f
2,874
hmpps-approved-premises-api
MIT License
core/src/main/java/com/sha/formvalidator/textview/validator/pattern/PhoneValidator.kt
ShabanKamell
110,319,898
false
null
package com.sha.formvalidator.textview.validator.pattern import android.util.Patterns /** * It validates phone numbers. * Regexp was taken from the android source code. */ class PhoneValidator(errorMessage: String) // sdd = space, dot, or dash // +<digits><sdd>* // (<digits>)<sdd>* : PatternValidator(errorMess...
1
null
12
89
eaa1dd1714353e2b57f3f58f4bf579407bba36a0
341
FormValidator
Apache License 2.0
src/Day01.kt
matheusfinatti
572,935,471
false
{"Kotlin": 12612}
fun main() { val input = readInput("Day01").trim().split("\n\n") input.map { s -> s.split("\n").map(String::toInt) } .fold(emptyList<Int>()) { elves, elf -> elves + listOf(elf.sum()) } .also { elves -> println(elves.max()) } // part01 .also { elves -> println(elves.sortedDescending().tak...
0
Kotlin
0
0
a914994a19261d1d81c80e0ef8e196422e3cd508
346
adventofcode2022
Apache License 2.0
app/src/main/kotlin/com/keygenqt/demo_contacts/modules/catalog/data/responses/BrandsResponse.kt
keygenqt
395,565,985
false
null
/* * Copyright 2021 Vitaliy Zarubin * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
0
Kotlin
3
8
8dc06d7a0c6cd3716c07fd2b2168ff42673c12ab
794
android-DemoCompose
Apache License 2.0
idea/src/org/jetbrains/kotlin/idea/intentions/branchedTransformations/intentions/ElvisToIfThenIntention.kt
staltz
93,485,627
true
{"Markdown": 34, "XML": 687, "Ant Build System": 40, "Ignore List": 8, "Git Attributes": 1, "Kotlin": 18510, "Java": 4307, "Protocol Buffer": 4, "Text": 4085, "JavaScript": 63, "JAR Manifest": 3, "Roff": 30, "Roff Manpage": 10, "INI": 7, "HTML": 135, "Groovy": 20, "Maven POM": 50, "Gradle": 71, "Java Properties": 10, "...
/* * 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...
0
Java
0
1
80074c71fa925a1c7173e3fffeea4cdc5872460f
2,278
kotlin
Apache License 2.0
app/src/main/java/star/iota/acgrip/ui/fan/FanPresenter.kt
iota9star
102,921,744
false
null
/* * Copyright 2017. iota9star * * 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 ...
0
Kotlin
2
9
5825689d5af38e9925765c7e709d1fd38f14aa80
2,110
acg.rip
Apache License 2.0
app/src/main/java/com/kiyotaka/jetpackdemo/ui/fragment/login/FindBackFragment.kt
Zzy9797
347,554,269
false
null
package com.kiyotaka.jetpackdemo.ui.fragment.login import android.os.Bundle import androidx.fragment.app.Fragment import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.Toast import androidx.databinding.DataBindingUtil import androidx.fragment.app.viewModels im...
0
Kotlin
0
0
74007e514212d26a91ec4081345311cb9bd5626e
2,104
projectVideo
Apache License 2.0
android/src/androidTest/kotlin/com/seyedjafariy/shuttle/ui/main/LaunchRowTest.kt
seyedjafariy
520,298,973
false
{"Kotlin": 101839}
package com.seyedjafariy.shuttle.ui.main import androidx.activity.ComponentActivity import androidx.compose.ui.test.assertIsDisplayed import androidx.compose.ui.test.junit4.createAndroidComposeRule import androidx.compose.ui.test.onNodeWithText import androidx.compose.ui.test.performClick import androidx.test.ext.juni...
0
Kotlin
0
7
65a91dbc992368e0552fde97c7975cdd5bed3b92
1,489
Shuttle
Apache License 2.0
android/src/androidTest/kotlin/com/seyedjafariy/shuttle/ui/main/LaunchRowTest.kt
seyedjafariy
520,298,973
false
{"Kotlin": 101839}
package com.seyedjafariy.shuttle.ui.main import androidx.activity.ComponentActivity import androidx.compose.ui.test.assertIsDisplayed import androidx.compose.ui.test.junit4.createAndroidComposeRule import androidx.compose.ui.test.onNodeWithText import androidx.compose.ui.test.performClick import androidx.test.ext.juni...
0
Kotlin
0
7
65a91dbc992368e0552fde97c7975cdd5bed3b92
1,489
Shuttle
Apache License 2.0
client/src/test/kotlin/no/nav/su/se/bakover/client/oppdrag/simulering/SimuleringSoapClientTest.kt
navikt
227,366,088
false
{"Kotlin": 9433880, "Shell": 4372, "TSQL": 1233, "Dockerfile": 1211}
@file:Suppress("HttpUrlsUsage") package no.nav.su.se.bakover.client.oppdrag.simulering import arrow.core.left import arrow.core.right import com.github.tomakehurst.wiremock.client.MappingBuilder import com.github.tomakehurst.wiremock.client.WireMock import com.github.tomakehurst.wiremock.client.WireMock.aResponse imp...
3
Kotlin
1
1
ed28832346c1f839ea3a489eae8cc623079a0a2f
17,493
su-se-bakover
MIT License
samples/walkthrough/src/main/kotlin/io/github/alexandrepiveteau/echo/samples/integrations/server/main.kt
markdown-party
341,117,604
false
{"Kotlin": 603967, "Dockerfile": 723, "JavaScript": 715, "Shell": 646, "HTML": 237, "CSS": 133}
package io.github.alexandrepiveteau.echo.samples.integrations.server import io.github.alexandrepiveteau.echo.exchange import io.github.alexandrepiveteau.echo.ktor.server.receiver import io.github.alexandrepiveteau.echo.ktor.server.sender import io.github.alexandrepiveteau.echo.serialization.encodeToFrame import io.kto...
0
Kotlin
3
54
760a0066fa683d1ca0a99d44370e10db5932dc20
734
mono
MIT License
cupertino-icons-extended/src/commonMain/kotlin/io/github/alexzhirkevich/cupertino/icons/outlined/PinCircle.kt
alexzhirkevich
636,411,288
false
null
/* * Copyright (c) 2023-2024. Compose Cupertino project and open source contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE...
18
null
31
848
54bfbb58f6b36248c5947de343567903298ee308
4,429
compose-cupertino
Apache License 2.0
shared/src/iosMain/kotlin/sensor/SensorManager.kt
SEAbdulbasit
655,247,253
false
{"Kotlin": 100543, "JavaScript": 1271, "HTML": 643, "Swift": 531, "Shell": 228, "Ruby": 101}
package sensor actual class SensorManager { var listener: Listener? = null actual fun registerListener(listener: Listener) { this.listener = listener } }
2
Kotlin
72
505
d2ce280918f05d44a5d48e424a31190197f0658b
176
recipe-app
Apache License 2.0
service/src/test/java/be/hogent/faith/service/usecases/event/DeleteEventDetailUseCaseTest.kt
hydrolythe
353,694,404
false
null
package be.hogent.faith.service.usecases.event import be.hogent.faith.util.factory.DetailFactory import be.hogent.faith.util.factory.EventFactory import io.mockk.clearAllMocks import io.mockk.mockk import org.junit.After import org.junit.Assert.assertFalse import org.junit.Before import org.junit.Test class DeleteEve...
0
Kotlin
0
0
14c6aec4b3c0a42bc73a7f779964d166fffeea20
999
FAITHAndroid
The Unlicense
kotlin-mui-icons/src/main/generated/mui/icons/material/LibraryBooksTwoTone.kt
JetBrains
93,250,841
false
null
// Automatically generated - do not modify! @file:JsModule("@mui/icons-material/LibraryBooksTwoTone") @file:JsNonModule package mui.icons.material @JsName("default") external val LibraryBooksTwoTone: SvgIconComponent
12
Kotlin
145
983
a99345a0160a80a7a90bf1adfbfdc83a31a18dd6
220
kotlin-wrappers
Apache License 2.0
app/src/main/java/com/samridhoverseasfsm/features/orderList/model/NewOrderListResponseModel.kt
DebashisINT
684,066,797
false
null
package com.samridhoverseasfsm.features.orderList.model import com.samridhoverseasfsm.base.BaseResponse /** * Created by Saikat on 03-12-2018. */ class NewOrderListResponseModel : BaseResponse() { var order_list: ArrayList<NewOrderListDataModel>? = null }
0
Kotlin
0
0
aba1d6c2accf9a800224d8b601317a8d9233ee09
263
SamridhOverseas
Apache License 2.0
ui/widget/src/main/kotlin/ru/maksonic/beresta/ui/widget/sheet/BaseBottomDialogSheetWithIndicator.kt
maksonic
580,058,579
false
null
package ru.maksonic.beresta.ui.widget.sheet import androidx.activity.compose.BackHandler import androidx.compose.foundation.background import androidx.compose.foundation.layout.* import androidx.compose.foundation.shape.CircleShape import androidx.compose.runtime.Composable import androidx.compose.ui.Alignment import ...
0
Kotlin
0
0
c54eb2c7e994988cea1d086c134dafb88dc5d390
2,251
Beresta
MIT License
remote/core/public/src/main/kotlin/com/adjectivemonk2/pixels/remote/core/ApiCatch.kt
Sripadmanabans
300,346,280
false
null
package com.adjectivemonk2.pixels.remote.core import kotlinx.coroutines.flow.Flow import kotlinx.coroutines.flow.FlowCollector import kotlinx.coroutines.flow.catch import java.io.IOException import java.nio.channels.UnresolvedAddressException public fun <T> Flow<T>.apiCatch( action: suspend FlowCollector<T>.(cause:...
13
Kotlin
0
2
2c144e3f1554861db116cd48dcec951294916de5
465
Pixels
Apache License 2.0
remote/core/public/src/main/kotlin/com/adjectivemonk2/pixels/remote/core/ApiCatch.kt
Sripadmanabans
300,346,280
false
null
package com.adjectivemonk2.pixels.remote.core import kotlinx.coroutines.flow.Flow import kotlinx.coroutines.flow.FlowCollector import kotlinx.coroutines.flow.catch import java.io.IOException import java.nio.channels.UnresolvedAddressException public fun <T> Flow<T>.apiCatch( action: suspend FlowCollector<T>.(cause:...
13
Kotlin
0
2
2c144e3f1554861db116cd48dcec951294916de5
465
Pixels
Apache License 2.0
dsl/src/main/kotlin/com/faendir/awscdkkt/generated/services/refactorspaces/UriPathRouteInputPropertyDsl.kt
F43nd1r
643,016,506
false
null
package com.faendir.awscdkkt.generated.services.refactorspaces import com.faendir.awscdkkt.AwsCdkDsl import javax.`annotation`.Generated import kotlin.Unit import software.amazon.awscdk.services.refactorspaces.CfnRoute @Generated public fun buildUriPathRouteInputProperty(initializer: @AwsCdkDsl CfnRoute.UriPathRo...
1
Kotlin
0
0
e08d201715c6bd4914fdc443682badc2ccc74bea
471
aws-cdk-kt
Apache License 2.0
kira/src/main/java/com/popovanton0/kira/suppliers/base/Type.kt
popovanton0
489,662,148
false
{"Kotlin": 294584}
package com.popovanton0.kira.suppliers.base import com.popovanton0.kira.suppliers.base.ClassType.ClassModifier import kotlin.reflect.KClass public sealed class Type { public abstract val nullable: Boolean? public abstract fun nullable(): Type public abstract fun notNullable(): Type } public data class C...
0
Kotlin
0
5
b65f7af94b94cd5334fd5070b1676b99a15fbffe
2,018
kira
Apache License 2.0
app/src/main/java/com/example/android/minutelauncher/MainScreen.kt
simonalveteg
519,161,865
false
null
package com.example.android.minutelauncher import android.annotation.SuppressLint import android.content.Context import android.content.Intent import android.provider.Settings import android.util.Log import android.widget.Toast import androidx.compose.foundation.layout.Spacer import androidx.compose.foundation.layout....
9
Kotlin
1
4
c4e798a6b34752772f5d1300eb462321b41d6a7d
5,479
Minute-Launcher
MIT License
src/com/madfish/ide/view/RHTopicWindowContent.kt
lsanotes
207,241,066
true
{"Kotlin": 72341}
package com.madfish.ide.view import com.intellij.ide.BrowserUtil import com.intellij.openapi.project.Project import com.intellij.ui.HyperlinkLabel import com.intellij.ui.components.panels.HorizontalLayout import com.intellij.util.ui.JBUI import com.intellij.util.ui.UIUtil import com.madfish.ide.model.RHBaseItem import...
0
Kotlin
0
0
437fe46e13d4e7e90f3fa5399ea7e300d4dee772
2,057
Readhub
Apache License 2.0
ndarray/ndarray-core/src/commonMain/kotlin/io/kinference/ndarray/extensions/abs/AbsPrimitive.kt
JetBrains-Research
244,400,016
false
{"Kotlin": 2252279, "Python": 4777, "JavaScript": 2402, "Dockerfile": 683}
@file:GeneratePrimitives( DataType.BYTE, DataType.SHORT, DataType.INT, DataType.LONG, DataType.FLOAT, DataType.DOUBLE ) package io.kinference.ndarray.extensions.abs import io.kinference.ndarray.arrays.PrimitiveNDArray import io.kinference.ndarray.extensions.applyElementWise import io.kinferenc...
7
Kotlin
6
126
70d19986d42d2d032764330644c4caeac7f86b1e
679
kinference
Apache License 2.0
engine/src/main/kotlin/rs/dusk/engine/map/instance/InstancePool.kt
Palmfeldt
673,267,966
true
{"Kotlin": 1529507}
package rs.dusk.engine.map.instance import org.koin.dsl.module import rs.dusk.engine.map.area.area import java.util.* class InstancePool { val view = Instance(FREE_REGION_X, 0) .area( MAX_REGION - FREE_REGION_X, MAX_REGION ) var iterator = view.iterator() var pool:...
0
Kotlin
0
0
0b3a4fe8eb9f2e2e29f8834d028fd3edf038cd2f
896
NostalgiaScape
Creative Commons Attribution 3.0 Unported
ktor-crud-jooq/backend/src/main/kotlin/com/onlyteo/sandbox/plugin/database/FlywayPlugin.kt
onlyteo
798,100,309
false
{"Kotlin": 208140, "TypeScript": 39402, "HTML": 36400, "CSS": 9220, "Shell": 627, "Dockerfile": 305}
package com.onlyteo.sandbox.plugin.database import io.ktor.server.application.ApplicationPlugin import io.ktor.server.application.createApplicationPlugin import io.ktor.server.application.hooks.MonitoringEvent import io.ktor.server.application.log import io.ktor.util.KtorDsl import org.flywaydb.core.api.configuration....
0
Kotlin
0
0
e110b1cfaba2a5052c3758e912336295afa98e19
943
ktor-sandbox
Apache License 2.0
PumpkinLibrary/src/mingwX64Main/kotlin/com/pumpkin/platform/PlatformWindow.kt
FauxKiwi
315,724,386
false
null
package com.pumpkin.platform import com.pumpkin.core.Application import com.pumpkin.core.Debug import com.pumpkin.core.event.* import com.pumpkin.core.window.EventCallbackFunction import com.pumpkin.core.window.Window import com.pumpkin.core.window.WindowProps import glfw.* import glm.Vec2 import glm.Vec2d import glm....
0
Kotlin
0
2
b384f2a430c0f714237e07621a01f094d9f5ee75
5,327
Pumpkin-Engine
Apache License 2.0
Dev4me/app/src/main/java/com/example/dev4me/dto/EmpresaResponse.kt
flamauricio
536,331,272
false
{"Kotlin": 88776}
package com.example.dev4me.dto class EmpresaResponse { private val idEmpresa: Int? = null private val nome: String? = null private val email: String? = null private val senha: String? = null private val cnpj: String? = null }
0
Kotlin
0
1
dfc4f47b5fc04aa3654e3c5b2c5667a66a118f5b
251
dev4me-mobile
MIT License
app/src/main/java/com/codrutursache/casey/data/model/User.kt
ursachecodrut
739,025,706
false
{"Kotlin": 205638}
package com.codrutursache.casey.data.model import android.net.Uri import com.codrutursache.casey.data.response.RecipeResponse import com.google.firebase.Timestamp data class User( val displayName: String?, val email: String?, val photoUrl: String? = null, val createdAt: Timestamp = Timestamp.now(), ...
0
Kotlin
0
1
82b537f401f8ac2447e571e62a94df6518acf23d
414
casey
MIT License
exposedx-dao/src/main/kotlin/io/creavity/exposedx/dao/signals/EntityHook.kt
creavity-io
254,755,628
false
null
package io.creavity.exposedx.dao.signals import io.creavity.exposedx.dao.entities.Entity import org.jetbrains.exposed.dao.id.EntityID import org.jetbrains.exposed.dao.id.IdTable import org.jetbrains.exposed.sql.Table import org.jetbrains.exposed.sql.Transaction import org.jetbrains.exposed.sql.transactions.Transaction...
0
Kotlin
0
0
97075942fab9719e1f8bcac450f34ce6316e77c5
1,989
exposedx
Apache License 2.0
voice-text-channel/src/main/kotlin/pl/nanoray/glint/voicetextchannel/VoiceTextCommand.kt
Nanoray-pl
363,267,648
false
null
package pl.nanoray.glint.voicetextchannel import net.dv8tion.jda.api.EmbedBuilder import net.dv8tion.jda.api.JDA import net.dv8tion.jda.api.MessageBuilder import net.dv8tion.jda.api.Permission import net.dv8tion.jda.api.entities.GuildChannel import net.dv8tion.jda.api.entities.Message import net.dv8tion.jda.api.entiti...
10
Kotlin
0
0
7b55e33873341bd201b8d068b6c51fbefe664af3
4,389
Glint
Apache License 2.0
app/src/main/java/com/xquare/xquare_android/webview/data/ImageInfo.kt
team-xquare
478,925,648
false
{"Kotlin": 447887}
package com.xquare.xquare_android.webview.data data class ImageInfo( val images: List<String> )
16
Kotlin
1
25
f9bc5d0bc3ed2957705dc6db53d0139f62827649
101
xquare-android
MIT License
app/src/main/java/com/marcdonald/earworm/settingsscreen/updatedialog/UpdateDialogViewModel.kt
MarcDonald
153,674,572
false
null
/* * Copyright (c) 2019 <NAME> * * The MIT License (MIT) * * 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,...
0
Kotlin
2
5
8d1602ac64fe7271062b437a369c7b55a1e20584
3,836
Earworm
MIT License
app/src/main/java/com/aposiamp/smartliving/domain/model/DeviceHistoryData.kt
ApostolisSiampanis
783,913,411
false
{"Kotlin": 490999}
package com.aposiamp.smartliving.domain.model data class DeviceHistoryData( val startTime: String, val endTime: String, val powerConsumption: Double )
0
Kotlin
0
3
8184e402e0121dba16a08675395184bd5413f20f
164
Smart_Living
MIT License
shared/src/commonMain/kotlin/com.yunext.twins/module/http/tsl/TslEventResp.kt
LaputaZeej
665,861,090
false
null
package com.yunext.twins.module.http.tsl class TslEventResp( /* 唯一标识符(产品下唯一,其中post是默认生成的属性上报事件。)*/ val identifier: String?, val name: String?, /* 事件类型(info、alert、error) */ val type: String?, /* 是否是标准功能的必选属性 */ val required: Boolean?, val desc: String?, /* 事件对应的方法名称(根据identifier生成)*/...
0
Kotlin
0
0
9d6daea9fa00a172dca17a317854da8ea12b46ea
403
XComposer
Apache License 2.0