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
feedparser/src/test/java/io/github/lazyengineer/feedparser/namespaces/ITunesParserTest.kt
lazy-engineer
294,155,514
false
null
package io.github.lazyengineer.feedparser.namespaces import io.github.lazyengineer.feedparser.FeedParser import io.github.lazyengineer.feedparser.model.feed.ItemGUID import io.github.lazyengineer.feedparser.model.feed.RSSFeed import org.amshove.kluent.`should equal` import org.junit.Before import org.junit.Test import...
0
Kotlin
0
0
e088bee87ab29db9ff781c7afb172f8a08500208
3,553
FeedParser
MIT License
common/src/main/java/com/idisfkj/awesome/common/utils/ToastUtils.kt
whistlexie
508,696,690
false
null
package com.idisfkj.awesome.common.utils import android.content.Context import android.widget.Toast fun Context.showToast(content: String, duration: Int = Toast.LENGTH_SHORT) { Toast.makeText(this, content,duration).show() }
0
Kotlin
0
0
3e239a39f9b3cbe0228a785118a4920d68f1ced9
230
GithubApp
Apache License 2.0
Chapter08/Activity08.01/app/src/main/java/com/example/mywatertracker/worker/WaterConsumptionWorker.kt
PacktPublishing
810,886,298
false
{"Kotlin": 1028530}
package com.example.mywatertracker.worker import android.annotation.SuppressLint import android.app.Notification.FOREGROUND_SERVICE_IMMEDIATE import android.app.NotificationChannel import android.app.NotificationManager import android.app.NotificationManager.IMPORTANCE_HIGH import android.app.PendingIntent import andr...
0
Kotlin
3
2
7200427e273b8d0ef7c27991370f7541ae0f6a86
4,332
How-to-Build-Android-Apps-with-Kotlin-Third-Edition
MIT License
app/src/main/java/com/rockspin/androiddevtest/data/remote/APIServiceFactory.kt
RSDosev
145,824,954
false
null
package com.rockspin.androiddevtest.data.remote import com.google.gson.Gson import com.google.gson.GsonBuilder import com.jakewharton.retrofit2.adapter.rxjava2.RxJava2CallAdapterFactory import retrofit2.Retrofit import retrofit2.converter.gson.GsonConverterFactory object APIServiceFactory { fun build() = ...
0
Kotlin
0
0
3933e8fff74d4a075b59833c106fbae1d3291425
822
Rockspin-Android-Code-Test
Apache License 2.0
shared/src/commonMain/kotlin/by/game/binumbers/undo/data/source/local/GameUndoLocalDataSourceImpl.kt
alexander-kulikovskii
565,271,232
false
{"Kotlin": 454229, "Swift": 3274, "Ruby": 2480, "Shell": 622}
package by.game.binumbers.undo.data.source.local import by.game.binumbers.base.model.LevelId import by.game.binumbers.base.storage.KeyValueStorage class GameUndoLocalDataSourceImpl(private val keyValueStorage: KeyValueStorage) : GameUndoLocalDataSource { override suspend fun restoreUndoEnabled(levelId: LevelI...
0
Kotlin
0
10
66b1678b47a96a52ebef467111d1d4854a37486a
1,033
2048-kmm
Apache License 2.0
app/src/main/kotlin/com/ivanovsky/passnotes/presentation/selectdb/cells/factory/SelectDatabaseCellViewModelFactory.kt
aivanovski
95,774,290
false
null
package com.ivanovsky.passnotes.presentation.selectdb.cells.factory import com.ivanovsky.passnotes.presentation.core.BaseCellViewModel import com.ivanovsky.passnotes.presentation.core.event.EventProvider import com.ivanovsky.passnotes.presentation.core.factory.CellViewModelFactory import com.ivanovsky.passnotes.presen...
0
Kotlin
0
0
08df99c790087a252f05de76a75833ec538f6100
927
passnotes
Apache License 2.0
app/src/main/java/com/example/valorant/ui/login/LoginDialog.kt
JeeSeongDeok
390,180,251
false
null
package com.example.valorant.ui.login import android.app.Dialog import android.content.Context import android.widget.Button import android.widget.EditText import com.example.valorant.R class LoginDialog (context: Context) { private val dialog = Dialog(context) private lateinit var onClickedListener: ButtonCli...
0
Kotlin
0
6
a29851214355c9cf3c0d41f22b2ececaabe6b113
1,229
valorantapp
MIT License
infra/preferences/src/commonMain/kotlin/com/taskodoro/storage/preferences/datastore/DataStorePreferences.kt
felipejoglar
457,288,734
false
{"Kotlin": 219381, "Swift": 9959}
/* * 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
9
Kotlin
0
1
94ea60b6568cb58e0e97cdeed9cb183f3e9eea2d
1,457
taskodoro
Apache License 2.0
platform/lib/domain/src/main/kotlin/io/hamal/lib/domain/vo/Code.kt
hamal-io
622,870,037
false
{"Kotlin": 2265145, "C": 1398401, "TypeScript": 281481, "Lua": 117790, "C++": 40651, "Makefile": 11728, "Java": 7564, "CMake": 2810, "JavaScript": 2640, "CSS": 1567, "Shell": 977, "HTML": 903}
package io.hamal.lib.domain.vo import io.hamal.lib.common.domain.IntValueObject import io.hamal.lib.common.domain.IntValueObjectSerializer import io.hamal.lib.common.domain.StringValueObject import io.hamal.lib.common.domain.StringValueObjectSerializer import io.hamal.lib.common.snowflake.SnowflakeId import io.hamal.l...
21
Kotlin
0
0
90345f7663444dc8f067861e9ba72ec16350757d
1,333
hamal
Creative Commons Zero v1.0 Universal
domain/src/main/java/com/example/domain/entity/pharmacyResponse/PharmacyResponse.kt
YoussefmSaber
595,215,406
false
null
package com.example.domain.entity.pharmacyResponse class PharmacyResponse : ArrayList<PharmacyResponseItem>()
0
Kotlin
1
4
17b7c424241c68a44d74480cff60b510257c6981
110
Eshfeeny
MIT License
baserequest/src/main/java/com/pathmazing/baserequest/rest/RestClient.kt
Ulseyha
173,866,398
false
null
package com.pathmazing.baserequest.rest import android.content.Context import retrofit2.Retrofit import retrofit2.adapter.rxjava2.RxJava2CallAdapterFactory import retrofit2.converter.gson.GsonConverterFactory import java.lang.NullPointerException import java.util.* class RestClient(private val context: Context? = nul...
0
Kotlin
0
0
b222145d691548c487496189b57d80dba0548b92
2,735
BaseRequest
MIT License
app/src/main/java/io/github/lekaha/currency/data/response/CurrenciesResponse.kt
lekaha
264,767,689
false
null
package io.github.lekaha.currency.data.response data class CurrenciesResponse( val success: Boolean, val terms: String?, val privacy: String?, val currencies: Map<String, String>?, val error: Map<String, Any>? )
0
Kotlin
0
1
907d926f42f1240eb870751d61e45a055832a06f
232
currency
MIT License
src/main/kotlin/com/eve/engine/esi4k/model/Alliance.kt
EveEngine
254,506,280
false
null
package com.eve.engine.esi4k.model import com.fasterxml.jackson.annotation.JsonProperty open class Alliance( @JsonProperty("creator_corporation_id") val creatorCorporationId: Int, @JsonProperty("creator_id") val creatorId: Int, @JsonProperty("date_founded") val dateFounded: String, @JsonProperty("exec...
0
Kotlin
0
0
6aba2e43a8dc11b2c435d08b91dc9ed4baf9ea9b
520
esi4k
Apache License 2.0
cams-component-common/src/main/java/com/linwei/cams/component/common/utils/FileUtils.kt
WeiShuaiDev
496,946,272
false
{"Java": 582442, "Kotlin": 557761}
package com.linwei.cams.component.common.utils import android.os.Environment import java.io.File import java.math.BigDecimal object FileUtils { fun isSDCardAlive(): Boolean { return Environment.getExternalStorageState() == Environment.MEDIA_MOUNTED } /** * 文件大小 */ fun getSize(file: ...
1
null
1
1
0ff123efac31c81998b1868bff39046d9761dfd5
2,219
WSWanAndroidAppKotlin
Apache License 2.0
app/src/main/java/com/dujiajun/courseblock/LoginActivity.kt
dujiajun
178,798,441
false
{"Gradle": 4, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "YAML": 1, "Proguard": 2, "XML": 58, "Kotlin": 43, "INI": 1, "Java": 6}
package com.dujiajun.courseblock import android.content.Intent import android.os.Bundle import android.view.View import android.webkit.WebResourceRequest import android.webkit.WebResourceResponse import android.webkit.WebView import android.webkit.WebViewClient import android.widget.Toast import androidx.appcompat.app...
6
Kotlin
2
24
c79597cdd69cf788f06e12643f616e51fbf0bb4e
2,637
CourseBlock
MIT License
app/src/main/java/com/song/video/model/SeekEvent.kt
songmingwen
70,653,066
false
{"Gradle": 28, "Java Properties": 3, "Shell": 3, "Ignore List": 17, "Batchfile": 2, "Markdown": 6, "INI": 13, "Proguard": 12, "Kotlin": 171, "XML": 276, "JSON": 13, "Java": 578, "CMake": 2, "C++": 17, "C": 43, "GLSL": 10, "AIDL": 7, "YAML": 1, "Dart": 11, "OpenStep Property List": 4, "Objective-C": 5, "Ruby": 3, "Groov...
package com.song.video.model /** * <pre> * Author : songmingwen * </pre> */ class SeekEvent internal constructor(var position: Long)
0
Java
0
1
8735ab6b8bc4d48c38533d6a9b7e88cef18c8389
142
Comic
Apache License 2.0
app/src/main/java/com/example/blogoapp/ui/ActivityViewModel.kt
Marvel999
347,535,139
false
null
package com.example.blogoapp.ui import android.content.Context import androidx.core.content.edit import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.example.api.model.response.UserResponse import com.exampl...
1
Kotlin
4
8
3709e521a897317d8cd90d1e89745aeeee2d9722
973
Conduit-Android-kotlin
MIT License
src/main/java/io/maliboot/www/hyperf/lombok/usages/SetterUsagesSearch.kt
maliboot
709,094,940
false
{"Kotlin": 158340, "Java": 370, "HTML": 72}
package io.maliboot.www.hyperf.lombok.usages import com.intellij.find.findUsages.FindUsagesHandler import com.intellij.openapi.project.Project import com.intellij.psi.PsiElement import com.jetbrains.php.lang.findUsages.PhpFindUsagesHandlerFactory import com.jetbrains.php.lang.findUsages.PhpFindUsagesOptions // todo: ...
0
Kotlin
0
1
a96a106a49bf4c6642fe2cb01038067dfbd960f9
728
idea-hyperf-plugin
MIT License
app/src/main/java/com/example/compose_weather_app/data/remote/dto/Hourly.kt
Drakime
603,802,754
false
null
package com.example.compose_weather_app.data.remote.dto import com.squareup.moshi.Json data class Hourly( @Json(name = "temperature_2m") val temperature2m: List<Double>, @Json(name = "time") val time: List<String>, @Json(name = "weathercode") val weathercode: List<Int> )
0
Kotlin
0
0
b171e32f7841bd19a01591461d9bcff0b0bf33f4
298
Compose_Weather_App
The Unlicense
ast-model/src/org/jetbrains/dukat/astModel/expressions/LambdaExpressionModel.kt
Kotlin
159,510,660
false
{"Kotlin": 2656818, "WebIDL": 323681, "TypeScript": 135641, "JavaScript": 19475, "ANTLR": 11333}
package org.jetbrains.dukat.astModel.expressions import org.jetbrains.dukat.astModel.LambdaParameterModel import org.jetbrains.dukat.astModel.ParameterModel import org.jetbrains.dukat.astModel.statements.BlockStatementModel data class LambdaExpressionModel( val parameters: List<LambdaParameterModel>, val body...
244
Kotlin
42
535
d50b9be913ce8a2332b8e97fd518f1ec1ad7f69e
361
dukat
Apache License 2.0
app/src/main/java/io/github/pelmenstar1/digiDict/ui/stats/IntegerWithoutZeroValueFormatter.kt
pelmenstar1
512,710,767
false
{"Kotlin": 1238378, "Python": 531}
package io.github.pelmenstar1.digiDict.ui.stats import com.github.mikephil.charting.formatter.ValueFormatter /** * Represents a value formatter that truncates given [Float] value to [Int] and if that [Int] is zero, returns an empty string, * otherwise converts the [Int] to [String] using simple [Int.toString] metho...
6
Kotlin
0
3
62f9519a065f1b9f27d200636b07e11d88a270f6
547
DigiDictionary
MIT License
android/src/main/kotlin/org/acyb/sayit/app/molecule/PopUpPicker.kt
a-cyborg
766,941,087
false
{"Kotlin": 165341}
/* * Copyright (c) 2024 <NAME> / All rights reserved. * * Use of this source code is governed by Apache v2.0 */ package org.acyb.sayit.app.molecule import androidx.compose.foundation.layout.Box import androidx.compose.runtime.Composable import androidx.compose.runtime.rememberCoroutineScope import kotlinx.corouti...
0
Kotlin
0
0
dc69c992895d0377dc6cc499dfc3e9e876758873
1,341
SayItAlarmMP
Apache License 2.0
orchestrator/rdfc-orchestrator/src/main/kotlin/runner/exception/UnsupportedRunnerTypeException.kt
rdf-connect
782,188,424
false
{"Kotlin": 119278, "TypeScript": 35127, "Python": 21679, "Shell": 1021, "Ruby": 601, "Dockerfile": 423}
package technology.idlab.runner.exception import technology.idlab.RDFCException import technology.idlab.rdfc.core.intermediate.runner.RunnerType /** * A known type was used, but it has no corresponding implementation. * * @param type The type which was used, but not implemented. */ class UnsupportedRunnerTypeExce...
13
Kotlin
0
1
5bd027413f54984938742c44aed6c3b09dfce403
374
orchestrator
MIT License
sync/sync-impl/src/main/java/com/duckduckgo/sync/impl/ui/SyncConnectViewModel.kt
hojat72elect
822,396,044
false
{"Kotlin": 11626231, "HTML": 65873, "Ruby": 16984, "C++": 10312, "JavaScript": 5520, "CMake": 1992, "C": 1076, "Shell": 784}
package com.duckduckgo.sync.impl.ui import android.graphics.Bitmap import androidx.annotation.StringRes import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.duckduckgo.anvil.annotations.ContributesViewModel import com.duckduckgo.common.utils.DispatcherProvider import com.duckduckgo...
0
Kotlin
0
0
b89591136b60933d6a03fac43a38ee183116b7f8
6,263
DuckDuckGo
Apache License 2.0
src/jvmTest/kotlin/com/sunnychung/application/multiplatform/hellohttp/test/CollapseTransformationOffsetMappingTest.kt
sunny-chung
711,387,879
false
{"Kotlin": 1426494, "Shell": 3020}
package com.sunnychung.application.multiplatform.hellohttp.test import com.sunnychung.application.multiplatform.hellohttp.ux.transformation.CollapseTransformationOffsetMapping import kotlin.test.Test import kotlin.test.assertEquals class CollapseTransformationOffsetMappingTest { /** * ...
0
Kotlin
0
72
a71b1bab930be2ecbf533c702ee44ef8c549a287
1,298
hello-http
Apache License 2.0
src/main/kotlin/com/lykke/matching/engine/daos/AssetPair.kt
bingoko
129,746,135
true
{"Kotlin": 797433, "Java": 33596}
package com.lykke.matching.engine.daos class AssetPair( val assetPairId: String, val baseAssetId: String, val quotingAssetId: String, val accuracy: Int, val minVolume: Double? = null, val minInvertedVolume: Double? = null ) { override fun toString(): String { ...
0
Kotlin
0
0
94c9fd250cfa67f7c54d31e20366e3cc97f110e0
642
MatchingEngine
MIT License
reactive-albums-api/src/main/kotlin/nl/juraji/reactive/albums/query/projections/DirectoryProjection.kt
Juraji
290,577,996
false
null
package nl.juraji.reactive.albums.query.projections import java.time.LocalDateTime import javax.persistence.Entity import javax.persistence.Id @Entity data class DirectoryProjection( @Id val id: String, val location: String, val displayName: String, val automaticScanEnabled: Boolean, ...
0
Kotlin
0
1
205927ceb1ce19e27e2b2aa83f61eeda968613d1
483
reactive-albums
MIT License
kafka-streams-test/test/libs/kafka/Test.kt
navikt
483,940,923
false
{"Kotlin": 150856}
package libs.kafka import io.micrometer.core.instrument.simple.SimpleMeterRegistry import lib.kafka.StreamsMock import libs.kafka.serde.StringSerde import org.junit.jupiter.api.Test import kotlin.test.assertEquals internal class Test { @Test fun `join topic with table`() { val topology = topology { ...
0
Kotlin
0
0
56f10b9fd0701bbd8093665e839bb4aa78275344
1,407
aap-libs
MIT License
creator/src/commonMain/kotlin/ch/sourcemotion/tyr/creator/dto/QuizCategoryDto.kt
wem
617,579,274
false
null
package ch.sourcemotion.tyr.creator.dto import ch.sourcemotion.tyr.creator.dto.element.TextDto import ch.sourcemotion.tyr.creator.dto.question.QuestionDto import ch.sourcemotion.tyr.creator.dto.serializer.UuidSerializer import com.benasher44.uuid.Uuid import kotlinx.serialization.SerialName import kotlinx.serializatio...
0
Kotlin
0
0
82aaee37798133bc81934933a1dc35a9e14ff8cb
613
tyr
MIT License
pleo-antaeus-models/src/main/kotlin/io/pleo/antaeus/models/InvoiceStatus.kt
jonnycampos
351,775,934
true
{"Kotlin": 37358, "Shell": 817, "Dockerfile": 770}
package io.pleo.antaeus.models enum class InvoiceStatus { PENDING, PAID, RETRY, FAIL }
0
Kotlin
0
0
06004844fc1d5bf484072965ef29b1ae9446e20e
104
antaeus
Creative Commons Zero v1.0 Universal
src/main/kotlin/io/github/dqualizer/dqlang/types/adapter/constants/resilienceTest/ResilienceTestConstants.kt
dqualizer
610,310,524
false
{"Kotlin": 110854, "HTML": 3542, "Python": 3352}
package io.github.dqualizer.dqlang.types.adapter.constants.resilienceTest import com.fasterxml.jackson.annotation.JsonProperty import io.github.dqualizer.dqlang.types.adapter.constants.SatisfactionValue data class ResilienceTestConstants( @JsonProperty("recovery_time") val recoveryTime: SatisfactionValue? = null,...
6
Kotlin
0
0
938543c2fd0602879492bd9183c668d98d631f3c
478
dqlang
Apache License 2.0
plugins/cloudopt-next-redis/src/main/kotlin/net/cloudopt/next/redis/RedisPlugin.kt
cloudoptlab
117,033,346
false
{"Kotlin": 438045, "HTML": 4325, "Python": 163, "Handlebars": 149, "FreeMarker": 148, "CSS": 23}
/* * Copyright 2017-2021 Cloudopt * * 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 i...
3
Kotlin
49
335
b6d8f934357a68fb94ef511109a1a6043af4b5b6
4,074
cloudopt-next
Apache License 2.0
app/src/main/java/com/example/pokinfo/adapter/home/detail/PagerAdapter.kt
T1396
792,347,025
false
{"Kotlin": 440915}
package com.example.pokinfo.adapter.home.detail import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.ImageView import android.widget.TextView import androidx.recyclerview.widget.RecyclerView import coil.load import com.example.pokinfo.R class ImageViewPagerAd...
0
Kotlin
0
0
f6cb3ab047fb1b67d08db0eda2f138000402c91a
1,258
PokemonApp
Info-ZIP License
tests/codegen-tests/codegen-tests-jvm/src/test/kotlin/kotlinx/rpc/MainTest.kt
Kotlin
739,292,079
false
{"Kotlin": 366835, "JavaScript": 1134, "Dockerfile": 69}
/* * Copyright 2023-2024 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license. */ package kotlinx.rpc import kotlinx.coroutines.flow.Flow import kotlinx.coroutines.flow.SharedFlow import kotlinx.coroutines.flow.StateFlow import kotlinx.coroutines.runBlocking import kotlin....
12
Kotlin
0
68
9ca2708f560d0a6b686abcebfb140ac49699846d
967
kotlinx-rpc
Apache License 2.0
app/src/main/java/com/frogobox/basemusic/util/ConstHelper.kt
amirisback
240,663,454
false
{"Kotlin": 30777}
package com.frogobox.basemusic.util import android.Manifest import android.os.Environment import com.frogobox.basemusic.BuildConfig /** * Created by <NAME> * FrogoBox Inc License * ========================================= * PublicSpeakingBooster * Copyright (C) 16/08/2019. * All rights reserved * ------------...
0
Kotlin
0
5
f2f91a6db1140bc5cf2ae09e8a92a2aa3ecafde7
927
music-player
Apache License 2.0
lib/src/main/kotlin/dev/pellet/codec/http/HTTPRequestLine.kt
CarrotCodes
395,832,386
false
null
package dev.pellet.codec.http data class HTTPRequestLine( val method: HTTPMethod, val resourceUri: String, val httpVersion: String )
8
Kotlin
0
1
cbe849274214812b9c709be26dc58510d5ffc237
146
Pellet
Apache License 2.0
app/src/main/java/com/example/photospheremobile/views/CameraActivity.kt
thiagopereirasilva
217,548,066
false
null
package com.example.photospheremobile.views import android.Manifest import android.content.Intent import android.content.pm.PackageManager import android.os.Build import android.os.Bundle import android.os.Environment import android.util.Log import android.view.WindowManager import androidx.annotation.Nullable import ...
0
Kotlin
0
0
9af4a69fff40ba07d5db89e3e9e30aa4bc607ab9
6,582
photospheremobile
MIT License
chapter_eight/PagingJetpackExample/app/src/main/java/com/madonasyombua/pagingjetpackexample/data/NewsArticle.kt
PacktPublishing
561,786,526
false
null
package com.madonasyombua.pagingjetpackexample.data data class NewsArticle( val author: String, val content: String, val description: String, val publishedAt: String, val title: String, val url: String, val urlToImage: String )
0
Kotlin
1
7
3b3cd308f463bc9659ccf6860471f564a56d560f
257
Modern-Android-13-Development-Cookbook
MIT License
Cupcake/app/src/androidTest/java/com/example/cupcake/test/CupcakeScreenNavigationTest.kt
Undiy
702,074,527
false
{"Kotlin": 418636}
package com.example.cupcake.test import androidx.activity.ComponentActivity import androidx.compose.ui.platform.LocalContext import androidx.compose.ui.test.junit4.createAndroidComposeRule import androidx.compose.ui.test.onNodeWithContentDescription import androidx.compose.ui.test.onNodeWithText import androidx.compos...
0
Kotlin
0
0
d02fefda13f048378d711dd41d35b60c054e0a8e
4,450
android-basics-compose
MIT License
Cupcake/app/src/androidTest/java/com/example/cupcake/test/CupcakeScreenNavigationTest.kt
Undiy
702,074,527
false
{"Kotlin": 418636}
package com.example.cupcake.test import androidx.activity.ComponentActivity import androidx.compose.ui.platform.LocalContext import androidx.compose.ui.test.junit4.createAndroidComposeRule import androidx.compose.ui.test.onNodeWithContentDescription import androidx.compose.ui.test.onNodeWithText import androidx.compos...
0
Kotlin
0
0
d02fefda13f048378d711dd41d35b60c054e0a8e
4,450
android-basics-compose
MIT License
server/src/main/kotlin/example/bank/ModuleContext.kt
craigatk
332,464,235
false
null
package example.bank import com.zaxxer.hikari.HikariDataSource import org.jooq.DSLContext data class ModuleContext( val dataSource: HikariDataSource, val dslContext: DSLContext )
0
Kotlin
1
9
c3fef27f3c110c5bd319e8795b50ebf6a04add2b
189
bank-account-example
MIT License
build-logic/metrics/src/main/kotlin/com/vk/id/health/metrics/gitlab/GitlabApi.kt
VKCOM
696,297,549
false
{"Kotlin": 910593, "Shell": 17069, "AIDL": 3429, "JavaScript": 1182}
package com.vk.id.health.metrics.gitlab import retrofit2.http.Body import retrofit2.http.GET import retrofit2.http.POST import retrofit2.http.PUT import retrofit2.http.Path import retrofit2.http.Query internal interface GitlabApi { @GET("user") suspend fun getUser(): GitlabUserResponse @GET("projects/{p...
0
Kotlin
3
28
9c1a13e3da07b45e868e8f6c12603eec37e52613
1,368
vkid-android-sdk
MIT License
src/test/kotlin/org/beckn/one/sandbox/bap/message/factories/ProtocolOnRatingMessageFeedbackFactory.kt
beckn
388,431,041
false
null
package org.beckn.one.sandbox.bap.message.factories import org.beckn.one.sandbox.bap.message.entities.OnRatingMessageFeedbackDao import org.beckn.protocol.schemas.ProtocolOnRatingMessageFeedback object ProtocolOnRatingMessageFeedbackFactory { fun create(index: Int = 1): ProtocolOnRatingMessageFeedback { return...
3
Kotlin
7
0
8036db2551b94dcc9c5eb6e158d80f617597b7d4
657
biab-bap-protocol
MIT License
src/main/kotlin/no/nav/k9/los/nyoppgavestyring/ko/ReservasjonV3FraKøDto.kt
navikt
238,874,021
false
{"Kotlin": 1867972, "JavaScript": 741, "Shell": 657, "Dockerfile": 309, "PLpgSQL": 167}
package no.nav.k9.los.nyoppgavestyring.ko import no.nav.k9.los.domene.modell.Saksbehandler import no.nav.k9.los.nyoppgavestyring.reservasjon.ReservasjonV3 import no.nav.k9.los.nyoppgavestyring.visningoguttrekk.Oppgave import no.nav.k9.los.nyoppgavestyring.visningoguttrekk.OppgaveNøkkelDto import java.time.LocalDateTim...
6
Kotlin
0
0
7829aba13b6955b441c9c28acc4a676dfc0c66b5
1,016
k9-los-api
MIT License
buildSrc/src/main/kotlin/Plugins.kt
BrianLusina
113,182,832
false
null
object Plugins { const val JAVA = "java" const val KOTLIN = "kotlin" const val JACOCO = "jacoco" val JACOCO_PLUGIN = "org.jacoco:org.jacoco.core:${Versions.JACOCO}" const val DETEKT = "io.gitlab.arturbosch.detekt" const val DETEKT_GRADLE = "io.gitlab.arturbosch.detekt:detekt-gradle-plugin" ...
0
Kotlin
0
1
8c6dd7ab84714ccb10859beee962a6e574fa9de7
543
KotlinGround
MIT License
src/main/kotlin/com/amazon/opendistroforelasticsearch/indexmanagement/refreshanalyzer/RefreshSearchAnalyzerAction.kt
opendistro-for-elasticsearch
174,581,847
false
null
/* * Copyright 2019 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://www.apache.org/licenses/LICENSE-2.0 * * or in the ...
51
Kotlin
46
117
cda0eda35fc5da3816c407ad7a929d746edaf179
1,190
index-management
Apache License 2.0
app/src/main/java/database/ProjectUserConverter.kt
IdentyMaverick
673,264,323
false
{"Kotlin": 595511}
package database import android.graphics.Bitmap import android.graphics.BitmapFactory import androidx.compose.ui.graphics.ImageBitmap import androidx.compose.ui.graphics.asAndroidBitmap import androidx.compose.ui.graphics.asImageBitmap import androidx.room.TypeConverter import java.io.ByteArrayOutputStream class Proje...
6
Kotlin
0
2
b44c30a0f97e202843f0858df7d1d1a7542b6f93
904
ProjectFitness
Apache License 2.0
src/main/kotlin/lab/mars/rl/util/ui/GridWorldUI.kt
wumo
108,533,441
false
null
package lab.mars.rl.util.ui import javafx.application.Application import javafx.application.Platform import javafx.scene.Group import javafx.scene.Scene import javafx.scene.canvas.Canvas import javafx.scene.paint.Color import javafx.stage.Stage import lab.mars.rl.model.impl.mdp.ActionValueFunction import lab.mars.rl.m...
1
null
10
33
d419efccdca9a7f34b7805929b41651b172a3ee7
2,092
Reinforcement-Learning-An-Introduction
MIT License
cccev-s2/concept/cccev-concept-api/src/main/kotlin/cccev/s2/concept/api/entity/InformationConceptAutomateConfig.kt
komune-io
746,816,569
false
{"Kotlin": 581952, "TypeScript": 94420, "MDX": 92741, "Gherkin": 21405, "Makefile": 5607, "JavaScript": 2459, "HTML": 1853, "Dockerfile": 1787, "CSS": 605}
package cccev.s2.concept.api.entity import cccev.projection.api.entity.concept.InformationConceptEntity import cccev.projection.api.entity.concept.InformationConceptEvolver import cccev.projection.api.entity.concept.InformationConceptSnapRepository import cccev.s2.concept.domain.InformationConceptEvent import cccev.s2...
0
Kotlin
0
0
8514b98e1d2b55f4611e664116526db3c8ad209f
2,517
connect-cccev
Apache License 2.0
app/src/main/java/pl/polsl/student/michaldomino/voice_command_controlled_application/logic/command_states/shared/SaveChangesCS.kt
michaldomino
190,876,845
false
{"Kotlin": 91815}
package pl.polsl.student.michaldomino.voice_command_controlled_application.logic.command_states.shared import pl.polsl.student.michaldomino.voice_command_controlled_application.R import pl.polsl.student.michaldomino.voice_command_controlled_application.logic.command_states.base.CSLeaf import pl.polsl.student.michaldom...
0
Kotlin
0
0
ad114fd7594abcc29aff2374be226d3573352f70
599
Voice-command-controlled-application
MIT License
core/kotlinx-coroutines-io/src/main/kotlin/kotlinx/coroutines/experimental/io/packet/ByteWritePacketImpl.kt
sahlone
141,607,927
true
{"Kotlin": 1836603, "CSS": 8706, "JavaScript": 3487, "Ruby": 1927, "HTML": 1675, "Shell": 1308, "Java": 245}
package kotlinx.coroutines.experimental.io.packet import kotlinx.io.core.* internal typealias ByteWritePacket = BytePacketBuilder internal typealias ByteWritePacketImpl = BytePacketBuilder
0
Kotlin
0
1
dae510bba39181b93978f7878c033a50dccad62b
191
kotlinx.coroutines
Apache License 2.0
core/kotlinx-coroutines-io/src/main/kotlin/kotlinx/coroutines/experimental/io/packet/ByteWritePacketImpl.kt
sahlone
141,607,927
true
{"Kotlin": 1836603, "CSS": 8706, "JavaScript": 3487, "Ruby": 1927, "HTML": 1675, "Shell": 1308, "Java": 245}
package kotlinx.coroutines.experimental.io.packet import kotlinx.io.core.* internal typealias ByteWritePacket = BytePacketBuilder internal typealias ByteWritePacketImpl = BytePacketBuilder
0
Kotlin
0
1
dae510bba39181b93978f7878c033a50dccad62b
191
kotlinx.coroutines
Apache License 2.0
src/main/kotlin/shou/common/web/element/iggrid/ElementAction.kt
NSVN-NguyenDuyThang
661,492,559
false
null
package shou.common.web.element.iggrid import com.microsoft.playwright.Locator interface ElementAction { fun click() fun doubleClick() fun fill(locator: Locator, key: String) }
0
Kotlin
0
0
b375d9d2ebb4981209025e6052a3080324042e33
190
playwright-kotlin
MIT License
kotlin-electron/src/jsMain/generated/electron/PowerMonitor.kt
JetBrains
93,250,841
false
{"Kotlin": 12159121, "JavaScript": 330528}
// Generated by Karakum - do not modify it manually! package electron typealias PowerMonitor = electron.core.PowerMonitor
40
Kotlin
165
1,319
a8a1947d73e3ed26426f1e27b641bff427dfd6a0
126
kotlin-wrappers
Apache License 2.0
src/main/kotlin/marcombo/lcriadof/capitulo4/c4p1.kt
Marcombo
457,085,459
false
{"Kotlin": 233517, "HTML": 27291, "CSS": 7504}
/* El gran libro de Kotlin (para programadores de back end) Editorial: Marcombo (https://www.marcombo.com/) Autor: <NAME> (http://luis.criado.online/) CAPÍTULO 4: POCO CÓDIGO Y GRANDES RESULTADOS */ package marcombo.lcriadof.capitulo4 fun main() { println("¡Hola Mundo!"); // [1] }
0
Kotlin
3
6
e9ac80401dee92f5cdd2dafcb6ce470532470d4b
293
El-gran-libro-de-Kotlin
MIT License
app/src/main/java/com/example/android/pokedex/api/NetworkUtils.kt
quochuyhl99
704,825,857
false
{"Kotlin": 46836}
package com.example.android.pokedex.api import com.example.android.pokedex.model.Pokemon import org.json.JSONObject fun parsePokemonJsonResult(jsonResult: JSONObject): Pokemon { val id = jsonResult.getLong("id") val baseExperience = jsonResult.getInt("base_experience") val height = jsonResult.getInt("heig...
0
Kotlin
0
0
baf077a0338be6e5ca0501979e51a0cf15eccf27
1,825
Pokedex
Apache License 2.0
src/main/java/graphene/rpc/SocketException.kt
abitmore
479,743,257
false
{"Kotlin": 447335, "Java": 97085}
package graphene.rpc import io.ktor.utils.io.errors.* sealed class SocketException : IOException() class SocketManualStopException : SocketException() class SocketClosedException : SocketException() class SocketErrorException(override val message: String) : SocketException() { constructor(error: SocketError): thi...
0
Kotlin
0
0
ddd17eb771eea649e681667b6d85e4f292e9e839
347
bitshares-kit
MIT License
PettCareAndroidApp/app/src/main/java/com/pettcare/app/profile/presentation/ProfileScreen.kt
antelukic
767,127,442
false
{"Kotlin": 305258}
package com.pettcare.app.profile.presentation import androidx.compose.animation.AnimatedVisibility import androidx.compose.foundation.border import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.ExperimentalLayoutApi import androidx.com...
0
Kotlin
0
0
ac51e9ad846a35479567cb77aa393d8e10fd7443
6,445
PettCareApp
Apache License 2.0
time/src/test/kotlin/xyz/tynn/hoppa/time/MonthTest.kt
tynn-xyz
280,739,124
false
null
// Copyright 2021 <NAME> // SPDX-License-Identifier: Apache-2.0 package xyz.tynn.hoppa.time import java.time.Month import kotlin.test.Test import kotlin.test.assertEquals import org.threeten.bp.Month as MonthBp internal class MonthTest { @Test fun `toJavaTime should convert MonthBp to Month`() { a...
0
Kotlin
0
4
632bcb0748c30d6a459a0e777f62bfc6f8f8e4f8
623
Hoppa
Apache License 2.0
app/src/main/kotlin/com/g00fy2/developerwidget/activities/shortcut/ShortcutDiffUtilsCallback.kt
forbes30
226,480,456
true
{"Kotlin": 138842}
package com.g00fy2.developerwidget.activities.shortcut import android.content.pm.ShortcutInfo import androidx.recyclerview.widget.DiffUtil class ShortcutDiffUtilsCallback : DiffUtil.ItemCallback<ShortcutInfo>() { override fun areItemsTheSame(oldItem: ShortcutInfo, newItem: ShortcutInfo) = false override fun areC...
0
null
0
0
8c61f418dd539d7a2d96ea89193b6fb05438551a
390
DeveloperWidget
MIT License
src/main/java/eu/glatz/imagej/model/Square.kt
glatzan
248,865,728
false
null
package eu.glatz.imagej.model class Square(var start: Point, var width: Int, var heigth: Int)
0
Kotlin
0
1
f05084ae3b6f2d78922f4c8c349eaef24cf2529d
94
ImageJ-Heatmap-Creator
The Unlicense
app/src/main/java/com/example/mywechat/ui/fragment/MsgFragment.kt
HenryLEB
325,024,821
false
null
package com.example.viewpagertest import android.content.Context import android.os.Bundle import android.util.Log import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.fragment.app.Fragment import androidx.recyclerview.widget.LinearLayoutManager import com.example.my...
0
Kotlin
0
0
7a6d235fc21c47a551e14f9a880c2f9b24cabb6a
3,273
MyWechat
Apache License 2.0
src/test/kotlin/net/spark/coadjutor/cred/GradlePropertiesCredentialProviderTest.kt
Spark-Networks
515,031,142
false
null
package net.spark.coadjutor.cred import net.spark.coadjutor.cred.GradlePropertiesCredentialProvider.commonMasterPassword import net.spark.coadjutor.cred.GradlePropertiesCredentialProvider.getCredentials import org.assertj.core.api.Assertions.assertThat import org.gradle.api.Project import org.gradle.api.Project.GRADLE...
0
Kotlin
0
0
fb26d850b0642679d70534cf92f5eb5d7f457b1d
4,614
coadjutor
Apache License 2.0
core/src/main/java/com/dicoding/core/domain/model/TvShow.kt
zakuby
331,148,528
false
null
package com.dicoding.core.domain.model data class Detail( val id: Int, val title: String?, val date: String?, val description: String?, val rate: String?, val posterImage: String?, val backgroundImage: String?, val isFavorite: Boolean = false, val genres: List<Genre>? = emptyList() ...
0
Kotlin
0
0
78aed112a3356a9854a8b6fc1708a5f05ebb7a71
322
capstone-moviedb
Apache License 2.0
WebAPI/src/main/kotlin/dev/fstudio/mcworldstats/Build.kt
Kamillaova
463,396,605
false
{"Kotlin": 78372}
package dev.fstudio.mcworldstats object Build { const val VERSION = 1.0 }
0
Kotlin
0
1
a935ae2b1831949a347c954c70c3df6628d3dde5
78
Ellison
MIT License
src/main/kotlin/org/beckn/one/sandbox/bap/message/entities/OfferDao.kt
OSSVerse
853,138,400
false
{"Kotlin": 651081, "Jinja": 3324}
package org.beckn.one.sandbox.bap.message.entities import org.beckn.protocol.schemas.Default data class OfferDao @Default constructor( val id: String? = null, val descriptor: DescriptorDao? = null, val locationIds: List<String>? = null, val categoryIds: List<String>? = null, val itemIds: List<String>? = nul...
0
Kotlin
0
8
b3ca6a6455f41b9d53bbb35f5c01e31c1fde2638
353
OSSVerse-buyer-app
Apache License 2.0
app/src/main/java/com/example/animeapp/ui/searchview/uistate/SearchUiState.kt
AdonayMejia
650,392,241
false
null
package com.example.animeapp.ui.searchview.uistate import com.example.domain.search.model.AnimeModel import com.example.domain.search.model.AnimeSort import com.example.domain.search.model.AnimeType data class SearchUiState( val addToFavorites: (AnimeModel) -> Unit = {}, val favoriteAnime: Set<Int> = emptySet...
0
Kotlin
0
0
c503837db31d61ed6dc1d516847e1604732c1b02
471
Compose_AnimeApp
MIT License
either-core/src/commonMain/kotlin/tz/co/asoft/Either.ktx.kt
aSoft-Ltd
319,525,074
false
null
package tz.co.asoft inline val <L, R> Either<L, R>.value get() = when (this) { is Either.Left -> value is Either.Right -> value } fun <L> Either<L, *>.left(): L = when (this) { is Either.Left -> value is Either.Right -> throw Exception("Can't get left side of either coz it is right sid...
0
Kotlin
1
1
5d75719518b347e0d65a252607d6a608f3bb2fbc
1,068
either
MIT License
core/src/main/kotlin/io/uvera/helmet/core/validation/DirectivesNotEmptyWhenUseDefaultIsFalse.kt
uvera
418,525,642
false
null
package io.uvera.helmet.core.validation import io.uvera.helmet.core.HelmetProperties import javax.validation.Constraint import javax.validation.ConstraintValidator import javax.validation.ConstraintValidatorContext import kotlin.reflect.KClass @Target(AnnotationTarget.CLASS) @MustBeDocumented @Retention(AnnotationRet...
0
Kotlin
0
1
2a879ad1d62a5e67b3c1fb47e28b7b624c3de63b
1,107
helmet-spring-boot-starter
MIT License
src/main/java/com/icoder0/groom/ui/GroomToolWindowPanel.kt
ICoder0
335,169,108
false
{"Kotlin": 127433, "Java": 987}
package com.icoder0.groom.ui import com.icoder0.groom.component.EditorManager import com.intellij.openapi.Disposable import com.intellij.openapi.project.Project import com.intellij.openapi.ui.SimpleToolWindowPanel import com.intellij.openapi.wm.ex.ToolWindowEx /** * @author bofa1ex * @since 2021/4/17 */ @Suppress...
0
Kotlin
0
3
7d3b43eaea2b80178d81f8f501a106cc55f7076b
683
groom
MIT License
next/kmp/window/src/commonMain/kotlin/org/dweb_browser/sys/window/render/WindowsManagerRender.kt
BioforestChain
594,577,896
false
{"Kotlin": 3446191, "TypeScript": 818538, "Swift": 369625, "Vue": 156647, "SCSS": 39016, "Objective-C": 17350, "HTML": 16184, "Shell": 13534, "JavaScript": 3982, "Svelte": 3504, "CSS": 818}
package org.dweb_browser.sys.window.render import androidx.compose.runtime.Composable import androidx.compose.ui.Modifier import org.dweb_browser.sys.window.core.WindowController import org.dweb_browser.sys.window.core.WindowsManager @Composable expect fun <T : WindowController> WindowsManager<T>.SceneRender(modifier...
66
Kotlin
5
20
6db1137257e38400c87279f4ccf46511752cd45a
343
dweb_browser
MIT License
data/src/main/java/kr/genti/data/dataSourceImpl/InfoDataSourceImpl.kt
Genti2024
793,968,607
false
{"Kotlin": 277321}
package kr.genti.data.dataSourceImpl import kr.genti.data.dataSource.InfoDataSource import kr.genti.data.dto.BaseResponse import kr.genti.data.dto.request.SignupRequestDto import kr.genti.data.dto.response.SignUpUserDto import kr.genti.data.service.InfoService import javax.inject.Inject data class InfoDataSourceImpl ...
1
Kotlin
1
7
7ae863faa8a1ec7bc5876b56dc3387a44b6f5b14
758
Genti-Android
MIT License
src/test/kotlin/com/theo/plugins/openapi/OpenApiPluginAcceptanceTest.kt
theochiu2010
521,088,018
false
{"Kotlin": 14544}
package com.theo.plugins.openapi import org.assertj.core.api.Assertions.assertThat import org.gradle.testkit.runner.GradleRunner import org.junit.Before import org.junit.Rule import org.junit.Test import org.junit.rules.TemporaryFolder import org.junit.runner.RunWith import org.mockito.Mockito.* import org.powermock.a...
0
Kotlin
0
0
200375063b86c201a2e08a7b7ede4a5228b6f600
2,846
OpenApiGradlePlugin
MIT License
core/src/main/java/org/openedx/core/data/model/Certificate.kt
openedx
613,282,821
false
{"Kotlin": 1313883}
package org.openedx.core.data.model import com.google.gson.annotations.SerializedName import org.openedx.core.data.model.room.discovery.CertificateDb import org.openedx.core.domain.model.Certificate data class Certificate( @SerializedName("url") val certificateURL: String? ) { fun mapToDomain(): Certifica...
68
Kotlin
12
9
c736918608a5781f95d056f3494628c7e0bf7f19
473
openedx-app-android
Apache License 2.0
src/org/lukasj/idea/torquescript/completion/TSCaseCorrectingInsertHandler.kt
lukaspj
385,020,179
false
null
package org.lukasj.idea.torquescript.completion import com.intellij.codeInsight.completion.InsertHandler import com.intellij.codeInsight.completion.InsertionContext import com.intellij.codeInsight.lookup.LookupElement import com.intellij.openapi.editor.EditorModificationUtil class TSCaseCorrectingInsertHandler : Inse...
3
Kotlin
0
1
8d84ad40a10f2d3994572ff9161cb400fbdeeaad
974
IDEA-TorqueScriptLanguage
MIT License
app/src/main/java/id/teman/app/mitra/domain/model/transport/TransportRequestType.kt
RifqiFadhell
681,463,824
false
null
package id.teman.app.mitra.domain.model.transport //requesting = customer pesan //accepted = mitra menyetujui //rejected = mitra menolak //onroute = mitra sudah menjemput customer dan mulai menuju ke lokasi //finished = ketika sudah sampai tujuan enum class TransportRequestType(val value: String) { REQUESTING("req...
0
Kotlin
0
0
61a520bd14c97efcef108b0576760108f3f4a687
988
Teman-App-Mitra-Mobile
Apache License 2.0
example/src/main/java/com/skymavis/sdk/example/ExampleActivity.kt
skymavis
807,405,653
false
{"Kotlin": 13147}
package com.skymavis.sdk.example import android.content.Context import android.net.Uri import android.os.Bundle import android.os.Debug import android.util.Log import androidx.activity.ComponentActivity import androidx.activity.compose.setContent import androidx.compose.foundation.layout.Arrangement import androidx.co...
0
Kotlin
1
3
b6857cfff72eefa5f9cc7575ad653bd722da54af
8,639
mavis-id-android
MIT License
string-resource-helper/src/main/java/com/lin/string/helper/ui/ResourceTestContent.kt
tanliner
640,299,913
false
null
package com.lin.string.helper.ui import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Spacer import androidx.compose.foundation.layout.height import androidx.compose.foundation.layout.padding import androidx.compose.material3.Text import androidx.compose.runtime.Composable import ...
0
Kotlin
0
0
8cb95df7fa38f107038d3f97d2001a60608a3a01
1,980
Android-String-Resource-Helper
Apache License 2.0
app/src/main/java/com/diegomedina/notesapp/data/repository/peliculas/PeliculasDataStore.kt
magelac94
221,345,236
false
null
package com.diegomedina.notesapp.data.repository.peliculas import com.diegomedina.notesapp.data.model.Pelicula interface PeliculasDataStore { suspend fun getPeliculas(): List<Pelicula> suspend fun searchPeliculas(query: String, voteAverage: Int?): List<Pelicula> }
0
Kotlin
0
0
2022fb7fcf73ee876f46852da3f8aebb78d4d055
276
Obligatorio2Android
MIT License
order-engine/src/main/kotlin/com/getchange/orderengine/OrderService.kt
aasaru
221,717,176
false
{"HTML": 204323, "Kotlin": 47684, "JavaScript": 15756, "CSS": 11340, "PLpgSQL": 447, "Shell": 79, "Assembly": 4}
package com.getchange.orderengine import java.math.BigDecimal import java.util.Date class OrderService( private val orderRepository: OrderRepository ) { fun createBuyOrder( userId: Long, amount: Double, currency: Currency ) { val order = OrderEntity( userId = us...
0
null
0
0
a0308d7ef981339ceeb12953d8871d4edefe144a
1,585
tsw-serverless-template
Apache License 2.0
app/src/main/java/com/xatryx/aegisapp/util/OFuelInstance.kt
xatryx
372,538,724
false
null
package com.xatryx.aegisapp.util import com.github.kittinunf.fuel.core.FuelManager object OFuelInstance { internal fun init(): FuelManager = FuelManager() }
0
Kotlin
0
0
894183f604dad4965d2263d0f78c412ae833af44
162
kotlin-android-AegisApp
MIT License
app/src/main/java/com/xatryx/aegisapp/util/OFuelInstance.kt
xatryx
372,538,724
false
null
package com.xatryx.aegisapp.util import com.github.kittinunf.fuel.core.FuelManager object OFuelInstance { internal fun init(): FuelManager = FuelManager() }
0
Kotlin
0
0
894183f604dad4965d2263d0f78c412ae833af44
162
kotlin-android-AegisApp
MIT License
app/src/main/java/com/bngel/bcy/fragment/FollowFragment.kt
Bngel
389,700,084
false
null
package com.bngel.bcy.fragment; import android.content.Context import android.content.Intent import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.Toast import androidx.activity.result.ActivityResultLauncher import androidx.activity.res...
0
Kotlin
0
0
f8091bdbb9d4b7720587def7411b72a9c2d6fe35
5,726
bcy
Apache License 2.0
app/src/main/java/com/opensource/marvelcharacters/presentation/_common/models/Character.kt
Mohammad-Tabbara
219,486,106
false
null
package com.opensource.marvelcharacters.presentation._common.models import android.os.Parcel import android.os.Parcelable data class Character(val id: Int,val name: String?, val description: String?, val url: String?, val thumbnail: String?) : Parcelable { constructor(parcel: Parcel) : this( parcel.readI...
0
Kotlin
0
0
71b2036b6ee85c305c6fb3a66fe8d55f32a91245
1,049
MarvelAndroidApp
Apache License 2.0
core/src/main/java/rdx/works/core/sargon/DerivationPathExtensions.kt
radixdlt
513,047,280
false
{"Kotlin": 4905038, "HTML": 215350, "Ruby": 2757, "Shell": 1963}
package rdx.works.core.sargon import com.radixdlt.sargon.Bip44LikePath import com.radixdlt.sargon.Cap26KeyKind import com.radixdlt.sargon.Cap26Path import com.radixdlt.sargon.DerivationPath import com.radixdlt.sargon.GetIdPath import com.radixdlt.sargon.NetworkId import com.radixdlt.sargon.extensions.account import co...
6
Kotlin
6
9
a973af97556c2c3c5c800dac937d0007a13a3a1c
1,514
babylon-wallet-android
Apache License 2.0
src/main/kotlin/io/github/josemiguelmelo/lnd/bolt11/decoder/ChecksumVerifier.kt
josemiguelmelo
837,419,612
false
{"Kotlin": 38320}
package io.github.josemiguelmelo.lnd.bolt11.decoder import io.github.josemiguelmelo.lnd.bolt11.bech32.Bech32Util.bech32To5BitArray class ChecksumVerifier { private val GENERATOR = intArrayOf(0x3b6a57b2, 0x26508e6d, 0x1ea119fa, 0x3d4233dd, 0x2a1462b3) fun verify( humanReadablePartRaw: String, ...
0
Kotlin
0
0
fd6957380d5ca8fe2260fa0e07ae17a6a3e62675
1,399
bolt11-util
MIT License
straight/src/commonMain/kotlin/me/localx/icons/straight/filled/Airplay.kt
localhostov
808,861,591
false
{"Kotlin": 79430321, "HTML": 331, "CSS": 102}
package me.localx.icons.straight.filled import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap.Companion.Butt import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter...
1
Kotlin
0
5
cbd8b510fca0e5e40e95498834f23ec73cc8f245
2,284
icons
MIT License
app/src/main/java/com/fingerprint/auth/FingerprintHandler.kt
Anuradha-Kaurav
286,990,114
false
null
package com.fingerprint.auth import android.annotation.TargetApi import android.app.Activity import android.content.Context import android.hardware.fingerprint.FingerprintManager import android.os.Build import android.os.CancellationSignal import android.view.View import android.widget.ImageView import android.widget....
0
Kotlin
0
0
94bc181cf25a774518e94125a53a51beda734148
1,962
Fingerprint_Authentication
MIT License
presentation/src/main/java/com/anangkur/budgetku/presentation/mapper/Mapper.kt
anangkur
270,303,728
false
null
package com.anangkur.budgetku.presentation.mapper interface Mapper<VIEW, T> { fun mapToView(type: T): VIEW fun mapFromView(type: VIEW): T }
10
null
0
3
82dc439d0df25cc894de5fc8d2604f1670c6cf31
148
Budget-Ku
MIT License
hangul-tensordroid/app/src/main/java/yutori/tf/hangul/data/GetExamRecordResponse.kt
Yutori-Team
291,010,168
false
null
package yutori.tf.hangul.data data class GetExamRecordResponse( var id: Long, var userId: Long, var sentenceTypes: String, var levelTypes: String, var numTypes: String, var score: Int, var time: String )
1
null
1
1
7f6a982f09834d9be4c06eddb3ea93d6b0e2926b
260
Yutori-Data-Android
Apache License 2.0
src/main/kotlin/com/ins/gradle/plugin/android/appcenter/AppCenterPluginExtension.kt
pajato1
218,811,853
true
{"Kotlin": 21773}
package com.ins.gradle.plugin.android.appcenter import groovy.lang.Closure import org.gradle.api.Action import org.gradle.api.NamedDomainObjectContainer import org.gradle.api.Project const val APP_CENTER_EXTENSION = "appCenter" open class AppCenterPluginExtension(private val project: Project) { var productFlavo...
0
Kotlin
0
1
59086ff9478c020021c462dd0af418902912ed30
1,370
appcenter-publish-plugin
MIT License
src/test/kotlin/com/muhron/kotlinq/ToLookupTest.kt
RyotaMurohoshi
53,187,022
false
null
package com.muhron.kotlinq import org.junit.Assert import org.junit.Test class ToLookupTest { @Test fun testA() { val result = sequenceOf(1, 2, 3, 4, 5, 1, 2, 3, 1).toLookup { it } Assert.assertEquals(result.count, 5); Assert.assertEquals(result[1].toList(), listOf(1, 1, 1)); ...
1
Kotlin
0
5
1bb201d7032cdcc302f342bc771ab356f1d96db2
2,652
KotLinq
MIT License
app/src/main/java/gr/exm/agroxm/ui/splash/SplashActivity.kt
LedgerProject
321,964,554
false
null
package gr.exm.agroxm.ui.splash import android.os.Bundle import androidx.activity.viewModels import androidx.appcompat.app.AppCompatActivity import gr.exm.agroxm.ui.Navigator import org.koin.core.component.KoinComponent import org.koin.core.component.inject import timber.log.Timber class SplashActivity : AppCompatAct...
0
Kotlin
2
2
381a02f1d0d891b7d1c08a03b5fd5b26063402d0
991
disemin-android
Apache License 2.0
kamp-core/src/main/kotlin/ch/leadrian/samp/kamp/core/api/data/Location.kt
Double-O-Seven
142,487,686
false
{"Kotlin": 3854710, "C": 23964, "C++": 23699, "Java": 4753, "Dockerfile": 769, "Objective-C": 328, "Batchfile": 189}
package ch.leadrian.samp.kamp.core.api.data interface Location : Vector3D { val interiorId: Int val virtualWorldId: Int fun toLocation(): Location fun toMutableLocation(): MutableLocation fun distanceTo(other: Location): Float { if (this.interiorId != other.interiorId || this.virtualWo...
1
Kotlin
1
7
af07b6048210ed6990e8b430b3a091dc6f64c6d9
1,012
kamp
Apache License 2.0
compiler/testData/diagnostics/tests/secondaryConstructors/kt6993.fir.kt
android
263,405,600
true
null
// !DIAGNOSTICS: -UNUSED_PARAMETER // !WITH_NEW_INFERENCE class X<T>(val t: T) { constructor(t: T, i: Int) : this(i) }
0
Kotlin
37
316
74126637a097f5e6b099a7b7a4263468ecfda144
122
kotlin
Apache License 2.0
server/src/main/kotlin/io/provenance/invoice/repository/InvoiceRepository.kt
hyperschwartz
446,950,410
false
{"Kotlin": 270514, "Shell": 2246, "Dockerfile": 263}
package io.provenance.invoice.repository import io.provenance.invoice.InvoiceProtos.Invoice import io.provenance.invoice.domain.dto.InvoiceDto import io.provenance.invoice.domain.entities.InvoiceRecord import io.provenance.invoice.domain.entities.InvoiceUpdateQueryParam import io.provenance.invoice.domain.entities.Inv...
0
Kotlin
0
0
d69c623e3c0ae51a2bbb2dde73bcdc860a0b2a39
4,499
service-invoice
Apache License 2.0
src/main/kotlin/uk/gov/justice/digital/hmpps/educationandworkplanapi/app/ciagmigration/resource/model/PreviousWorkResponse.kt
ministryofjustice
653,598,082
false
{"Kotlin": 1067595, "Mustache": 3118, "Dockerfile": 1346}
package uk.gov.justice.digital.hmpps.educationandworkplanapi.app.ciagmigration.resource.model import com.fasterxml.jackson.annotation.JsonProperty import io.swagger.v3.oas.annotations.media.Schema import jakarta.validation.Valid import jakarta.validation.constraints.Size /** * A Prisoner's previous work experience. ...
2
Kotlin
0
2
3caec0f4478a7cb3e30dfc85e1acb7b24f6e2d87
2,069
hmpps-education-and-work-plan-api
MIT License
src/test/kotlin/no/nav/meldeplikt/meldekortservice/mapper/MeldekortkontrollMapperTest.kt
navikt
207,759,254
false
null
package no.nav.meldeplikt.meldekortservice.mapper import no.nav.meldeplikt.meldekortservice.model.enum.KortType import no.nav.meldeplikt.meldekortservice.model.meldekortdetaljer.MeldekortDag import no.nav.meldeplikt.meldekortservice.model.meldekortdetaljer.Meldekortdetaljer import no.nav.meldeplikt.meldekortservice.mo...
1
Kotlin
1
0
f03cdca47a594dfdbb113edce3ded561ec55605e
3,475
meldekortservice
MIT License
uniflow-core/src/main/kotlin/io/uniflow/core/flow/ActionReducer.kt
niltsiar
252,766,233
true
{"Kotlin": 113585, "Shell": 236}
package io.uniflow.core.flow import io.uniflow.core.dispatcher.UniFlowDispatcher import io.uniflow.core.flow.data.UIState import io.uniflow.core.flow.error.BadOrWrongStateException import io.uniflow.core.logger.UniFlowLogger import kotlinx.coroutines.* import kotlinx.coroutines.channels.Channel import kotlinx.coroutin...
0
Kotlin
0
0
17b23208257c4c8564a4da9ce7ce3dc4573f256d
2,172
uniflow-kt
Apache License 2.0
net/craftventure/bukkit/ktx/extension/SynchedEntityData.kt
Craftventure
770,049,457
false
{"Kotlin": 3656616, "Java": 684034}
package net.craftventure.bukkit.ktx.extension import net.minecraft.network.syncher.EntityDataAccessor import net.minecraft.network.syncher.SynchedEntityData //fun <T> SynchedEntityData.setMetadata(field: EntityMetadata.Interactor<T>, value: T) { // setMetadata(field.accessor, value, field.defaultValue) //} fun ...
0
Kotlin
1
21
015687ff6687160835deacda57121480f542531b
547
open-plugin-parts
MIT License