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
Pokedex/shared/src/commonMain/kotlin/data/PokedexRemoteDataSource.kt
neyogiry
792,106,566
false
{"Kotlin": 4465, "Swift": 1006}
package data import domain.PokedexDataSource import domain.Pokemon import kotlinx.coroutines.flow.Flow import kotlinx.coroutines.flow.flow class PokedexRemoteDataSource( private val apiService: PokedexApi ) : PokedexDataSource { override val pokedex: Flow<List<Pokemon>> get() = flow { val...
0
Kotlin
0
0
c442d28e8dfb5aa274fdecda45d1fbb33aa78383
651
KMM-Pokedex
Apache License 2.0
util/dfCfg.kt
rxaa
194,864,920
false
{"Markdown": 2, "Text": 1, "Kotlin": 50, "Java": 7}
package net.rxaa.util import java.io.Serializable class dfCfg : Serializable { companion object { val cfgFile = FileObject(dfCfg::class.java) } var deviceId = df.getRandStr(16); }
1
null
1
1
3b0a7799e9f44967b5c04b4aded0e30ad3ac00a4
203
android_df
MIT License
buildSrc/src/main/kotlin/Versions.kt
iamh2o
399,023,966
true
{"Kotlin": 2404862, "C++": 464973, "JavaScript": 277897, "GLSL": 125865, "C": 114696, "CMake": 25514, "HTML": 12621, "SCSS": 3940, "CSS": 1456, "Shell": 663}
object Versions { const val kotlin = "1.5.21" const val coroutines = "1.5.1" const val serializationRuntime = "1.2.2" const val ktor = "1.6.1" const val koin = "3.0.2" const val dokka = "1.5.0" // GL: const val kgl = "0.3-baaahs.1" const val jogl = "2.3.2" const val lwjgl = "3.2...
0
null
0
0
d713a7a0518925065d2953880ad79da5229c4707
989
sparklemotion
MIT License
theme-white-label/src/main/java/com/orange/ouds/theme/whitelabel/WhiteLabelTheme.kt
Orange-OpenSource
817,725,638
false
{"Kotlin": 159086, "HTML": 14555, "CSS": 1404, "JavaScript": 197}
/* * Software Name: OUDS Android * SPDX-FileCopyrightText: Copyright (c) Orange SA * SPDX-License-Identifier: MIT * * This software is distributed under the MIT license, * the text of which is available at https://opensource.org/license/MIT/ * or see the "LICENSE" file for more details. * * Software descriptio...
22
Kotlin
1
6
c8029a76b28f3c61698f80e9032cbbebc8d7dd79
1,853
ouds-android
MIT License
shared/src/commonMain/kotlin/dev/johnoreilly/starwars/shared/StarWarsRepository.kt
joreilly
357,294,402
false
null
package dev.johnoreilly.starwars.shared import com.apollographql.apollo3.ApolloClient import com.apollographql.apollo3.cache.normalized.api.MemoryCacheFactory import com.apollographql.apollo3.cache.normalized.normalizedCache import com.apollographql.apollo3.cache.normalized.watch import com.rickclephas.kmp.nativecorou...
1
Kotlin
3
90
078cf2db7931dd9ae98f8a71ff3e72bc092c1a24
1,346
StarWars
Apache License 2.0
components/db/db-connection-manager-impl/src/test/kotlin/net/corda/db/connection/manager/impl/tests/DbConnectionOpsCachedImplTest.kt
corda
346,070,752
false
{"Kotlin": 20585393, "Java": 308202, "Smarty": 115357, "Shell": 54409, "Groovy": 30246, "PowerShell": 6470, "TypeScript": 5826, "Solidity": 2024, "Batchfile": 244}
package net.corda.db.connection.manager.impl.tests import net.corda.db.connection.manager.DbConnectionOps import net.corda.db.connection.manager.impl.DbConnectionOpsCachedImpl import net.corda.orm.JpaEntitiesSet import org.junit.jupiter.api.Test import org.junit.jupiter.api.assertThrows import org.mockito.kotlin.any i...
14
Kotlin
27
69
0766222eb6284c01ba321633e12b70f1a93ca04e
2,111
corda-runtime-os
Apache License 2.0
src/fundamentos/operadores/unarios.kt
ravi2612
327,423,746
false
null
package fundamentos.operadores fun main() { var num1: Int = 1 var num2: Int = 2 num1++ println(num1) --num1 // prefixado tem precedencia println(num1) //Incremento e decremento println(++num1 == num2--) //true println(num1 == num2) //false }
0
Kotlin
0
0
10bcb2e03dc1074a92b7914c9d157f2246dd8f78
281
Kotlin
MIT License
app/src/main/java/ru/tech/imageresizershrinker/delete_exif_screen/viewModel/DeleteExifViewModel.kt
T8RIN
478,710,402
false
null
package ru.tech.imageresizershrinker.delete_exif_screen.viewModel import android.graphics.Bitmap import android.net.Uri import androidx.compose.runtime.MutableState import androidx.compose.runtime.getValue import androidx.compose.runtime.mutableStateOf import androidx.datastore.core.DataStore import androidx.datastore...
9
Kotlin
44
404
d4855498495990ca0bac0976f1ab71ea58e78d45
6,194
ImageToolbox
Apache License 2.0
app/src/main/java/com/example/guisportfolio/ui/screens/GridScreen.kt
guifxb
591,797,056
false
null
package com.example.guisportfolio.ui.screens import android.widget.Toast import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.* import androidx.compose.foundation.lazy.grid.GridCells import androidx.compose.foundation.lazy.grid.LazyVerticalGrid import androidx.compose.foundation.lazy....
0
Kotlin
0
1
413068858f3efcac8645a36d5393651a7d9fd3a4
9,211
Guis_Portfolio
Apache License 2.0
app/src/main/java/com/example/guisportfolio/ui/screens/GridScreen.kt
guifxb
591,797,056
false
null
package com.example.guisportfolio.ui.screens import android.widget.Toast import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.* import androidx.compose.foundation.lazy.grid.GridCells import androidx.compose.foundation.lazy.grid.LazyVerticalGrid import androidx.compose.foundation.lazy....
0
Kotlin
0
1
413068858f3efcac8645a36d5393651a7d9fd3a4
9,211
Guis_Portfolio
Apache License 2.0
tool/src/main/java/github/hotstu/labo/tool/ApplicationLifeCycle.kt
hotstu
143,835,476
false
{"Java": 248734, "Kotlin": 26756, "JavaScript": 10624, "HTML": 6856}
/* * Copyright (c) 2018 hglf * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
1
null
1
1
6941bce0d7a4740b5b89e3e44d1970896cd88b37
1,608
labo
Apache License 2.0
src/me/anno/utils/hpc/ProcessingQueue.kt
AntonioNoack
266,471,164
false
null
package me.anno.utils.hpc import me.anno.Engine.shutdown import me.anno.utils.ShutdownException import me.anno.utils.Sleep.sleepShortly import me.anno.utils.maths.Maths import org.apache.logging.log4j.LogManager import java.util.concurrent.LinkedBlockingQueue import java.util.concurrent.atomic.AtomicBoolean import jav...
0
Kotlin
1
8
e5f0bb17202552fa26c87c230e31fa44cd3dd5c6
1,762
RemsStudio
Apache License 2.0
src/main/kotlin/entity/persistence/IPreferences.kt
mbr4477
144,052,936
false
null
package entity.persistence interface IPreferences { fun getStringList(key: String): List<String> fun putStringList(key: String, stringList: List<String>) }
0
Kotlin
0
0
4e740bb19cc048fbf6eca8dd9ac0edd31e4051ef
164
SpaceEvents
Apache License 2.0
app/src/main/java/com/example/aeon_shopping_kotlin/Food_Content.kt
bamboo51
654,928,343
false
{"Kotlin": 15786}
package com.example.aeon_shopping_kotlin import android.content.Intent import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.view.View import android.widget.Button import android.widget.ImageButton import com.google.android.material.snackbar.Snackbar class Food_Content : AppCompatAct...
0
Kotlin
0
0
2dc9e315a8d06b8c141bde55255d77b9b6fa7ebc
918
AEON_app_example
MIT License
packages/graalvm/src/main/kotlin/elide/runtime/intrinsics/js/node/FilesystemPromiseAPI.kt
elide-dev
506,113,888
false
{"Kotlin": 4544382, "JavaScript": 1201497, "Java": 302542, "Protocol Buffer": 276092, "Shell": 84860, "Dockerfile": 51144, "Cap'n Proto": 35188, "Makefile": 30147, "CSS": 14730, "Python": 5989, "C": 4348, "Batchfile": 3016, "Ruby": 2474, "Handlebars": 1954, "HTML": 1010, "Rust": 525, "Swift": 23}
/* * Copyright (c) 2024 Elide Technologies, Inc. * * Licensed under the MIT license (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * https://opensource.org/license/mit/ * * Unless required by applicable law or agreed to in writing,...
45
Kotlin
15
86
bd9f5aed8523648256c9e9a29d87bd3c2b09ac54
3,276
elide
MIT License
packages/graalvm/src/main/kotlin/elide/runtime/intrinsics/js/node/FilesystemPromiseAPI.kt
elide-dev
506,113,888
false
{"Kotlin": 4544382, "JavaScript": 1201497, "Java": 302542, "Protocol Buffer": 276092, "Shell": 84860, "Dockerfile": 51144, "Cap'n Proto": 35188, "Makefile": 30147, "CSS": 14730, "Python": 5989, "C": 4348, "Batchfile": 3016, "Ruby": 2474, "Handlebars": 1954, "HTML": 1010, "Rust": 525, "Swift": 23}
/* * Copyright (c) 2024 Elide Technologies, Inc. * * Licensed under the MIT license (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * https://opensource.org/license/mit/ * * Unless required by applicable law or agreed to in writing,...
45
Kotlin
15
86
bd9f5aed8523648256c9e9a29d87bd3c2b09ac54
3,276
elide
MIT License
src/plugin-api-kotlin/liveplugin/projects.kt
dkandalov
2,571,524
false
{"Kotlin": 231786, "Groovy": 164220, "Java": 33522, "HTML": 924}
package liveplugin import com.intellij.openapi.Disposable import com.intellij.openapi.application.ApplicationManager import com.intellij.openapi.project.Project import com.intellij.openapi.project.ProjectManager import com.intellij.openapi.project.ProjectManagerListener fun registerProjectOpenListener(disposable: Dis...
44
Kotlin
66
840
2a47d7638ca520a38fc26728bc1498a5bce7c952
883
live-plugin
Apache License 2.0
service/src/main/kotlin/com/piotrwalkusz/smartlaw/service/controller/ElementController.kt
piotrwalkusz1
293,285,610
false
null
package com.piotrwalkusz.smartlaw.service.controller import com.piotrwalkusz.smartlaw.service.controller.dto.SearchTypesDto import org.springframework.web.bind.annotation.RequestBody import org.springframework.web.bind.annotation.RequestMapping import org.springframework.web.bind.annotation.RestController @RestContro...
0
Kotlin
0
0
235354ac0469d5ba9630b91124f6fcc4481dad34
453
SmartLaw
MIT License
app/src/main/java/com/silofinance/silo/transactions/TransactionsFragment.kt
james-batchelor
395,740,938
false
null
package com.silofinance.silo.transactions import android.os.Bundle import android.os.Parcelable import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.Toast import androidx.databinding.DataBindingUtil import androidx.fragment.app.Fragment import androidx.lifecyc...
0
Kotlin
0
0
315563653a3d9c75e965bf08385a206936e2d478
8,548
Silo
Apache License 2.0
app/src/main/kotlin/com/konkuk/boost/data/repository/LibraryRepositoryImpl.kt
sys09270883
323,874,439
false
null
package com.konkuk.boost.data.repository import com.google.firebase.crashlytics.FirebaseCrashlytics import com.konkuk.boost.data.model.api.LibraryService import com.konkuk.boost.data.model.db.DataStoreManager import com.konkuk.boost.data.model.library.response.LibraryLoginResponse import com.konkuk.boost.data.model.li...
0
Kotlin
1
19
266d8db5f42a3d1cd897eb421450777ac9e18276
2,347
ku-boost-android
MIT License
kotlin/src/src/main/java/com/techlabcamp/neuronet/ui/widget/onboarding/onboarding/OnBoardingPagerAdapter.kt
dimske-sys
610,048,630
false
null
package com.techlabcamp.neuronet.ui.widget.onboarding.onboarding import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.recyclerview.widget.RecyclerView import com.techlabcamp.neuronet.databinding.OnboardingPageItemBinding import com.techlabcamp.neuronet.ui.widget.onb...
0
Kotlin
0
0
0f4cc0534a3c77a8edfb0fa043fb2ed7e2707250
1,508
neuronet
Apache License 2.0
modules/core/src/main/kotlin/io/heartpattern/spikot/util/MetadatableUtil.kt
Spikot
262,074,229
false
null
/* * Copyright (c) 2020 HeartPattern and Spikot authors * * 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, mo...
0
Kotlin
0
14
ea00c92973dea15175c42336ec059389655499d7
3,177
Spikot
MIT License
app/src/main/java/com/example/notificationapp/MainActivity.kt
jonathan2667
761,294,264
false
{"Kotlin": 17745}
package com.example.notificationapp import android.Manifest import android.app.NotificationChannel import android.app.NotificationManager import android.app.PendingIntent import android.content.Context import android.content.Intent import android.content.pm.PackageManager import android.os.Build import android.os.Bund...
0
Kotlin
0
0
43ff1624bba5eb005e023e2a9021c0ba6c516f90
15,872
BusNotificationApp
MIT License
skoped-services-example/src/main/java/com/zhuinden/skopedservicesexample/ExampleKey.kt
Zhuinden
135,512,400
false
{"Gradle": 5, "Markdown": 2, "Java Properties": 2, "Shell": 1, "Ignore List": 3, "Batchfile": 1, "Text": 1, "Proguard": 2, "XML": 21, "Kotlin": 4, "Checksums": 14, "Java": 3}
package com.zhuinden.skopedservicesexample import com.zhuinden.skopedservices.ScopeKey import com.zhuinden.skopedservices.ServiceBuilder import com.zhuinden.skopedservices.Services import com.zhuinden.skopedservices.add private val service = Object() class ExampleKey : ScopeKey { override val serviceBinder: Serv...
0
Kotlin
0
0
541b72191f82d715abe677c63bf0f0e8ea1d6768
590
skoped-services
Apache License 2.0
integrations/environment-variable/src/commonMain/kotlin/io/github/kevincianfarini/monarch/environment/EnvironmentVariableFeatureFlagDataStore.kt
kevincianfarini
559,985,324
false
{"Kotlin": 64316}
package io.github.kevincianfarini.monarch.environment import io.github.kevincianfarini.monarch.FeatureFlagDataStore /** * A [FeatureFlagDataStore] implementation that provides values from environment variables. */ public class EnvironmentVariableFeatureFlagDataStore internal constructor( private val strictlyTyp...
13
Kotlin
0
65
df1726c8f79e12d7ef6e139421c11f81c8c84ac3
1,702
monarch
Apache License 2.0
client-android/lib/src/test/kotlin/stasis/test/client_android/lib/encryption/stream/CipherTransformationSpec.kt
sndnv
153,169,374
false
{"Scala": 3373826, "Kotlin": 1821771, "Dart": 853650, "Python": 363474, "Shell": 70265, "CMake": 8759, "C++": 4051, "HTML": 2655, "Dockerfile": 1942, "Ruby": 1330, "C": 691, "Swift": 594, "JavaScript": 516}
package stasis.test.client_android.lib.encryption.stream import io.kotest.core.spec.style.WordSpec import io.kotest.matchers.shouldBe import okio.Buffer import okio.ByteString.Companion.decodeBase64 import okio.buffer import stasis.client_android.lib.encryption.Aes import stasis.client_android.lib.encryption.stream.Ci...
0
Scala
4
53
d7b3002880814039b332b3d5373a16b57637eb1e
5,316
stasis
Apache License 2.0
src/main/kotlin/dev/psiae/mltoolbox/composeui/DesktopMainAwtWindow.kt
Psiae
874,299,111
false
{"Kotlin": 336834}
package dev.psiae.mltoolbox.composeui import dev.psiae.mltoolbox.composeui.main.MainAwtWindow open class DesktopMainAwtWindow protected constructor() : MainAwtWindow() { }
0
Kotlin
0
1
718322129c3c1d84ea286246d64f3912e9954c04
173
MLToolBox
Apache License 2.0
HttpServer/src/main/java/top/fksoft/server/http/server/serverIO/ClientResponse.kt
ExplodingDragon
216,512,177
false
null
package top.fksoft.server.http.server.serverIO import top.fksoft.server.http.config.HttpConstant import top.fksoft.server.http.server.serverIO.base.BaseResponse import top.fksoft.server.http.server.serverIO.responseData.BaseResponseData import java.io.OutputStream import java.io.OutputStreamWriter import java.io.Print...
1
null
1
2
da67552f6427e31575fed00e7adc8dfeb2f852e0
1,806
JNetServer
MIT License
compiler/test/data/typescript/node_modules/override/typeParameters.d.kt
Kotlin
159,510,660
false
{"Kotlin": 2656818, "WebIDL": 323681, "TypeScript": 135641, "JavaScript": 19475, "ANTLR": 11333}
// [test] typeParameters.kt @file:Suppress("INTERFACE_WITH_SUPERCLASS", "OVERRIDING_FINAL_MEMBER", "RETURN_TYPE_MISMATCH_ON_OVERRIDE", "CONFLICTING_OVERLOADS") import kotlin.js.* import kotlin.js.Json import org.khronos.webgl.* import org.w3c.dom.* import org.w3c.dom.events.* import org.w3c.dom.parsing.* import org.w3...
244
Kotlin
42
535
d50b9be913ce8a2332b8e97fd518f1ec1ad7f69e
699
dukat
Apache License 2.0
cupertino-icons-extended/src/commonMain/kotlin/io/github/alexzhirkevich/cupertino/icons/outlined/HandDraw.kt
alexzhirkevich
636,411,288
false
null
package io.github.alexzhirkevich.cupertino.icons.outlined import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap import and...
18
null
31
848
54bfbb58f6b36248c5947de343567903298ee308
5,555
compose-cupertino
Apache License 2.0
pitching-service/src/integrationTest/kotlin/io/pitchcast/pitchingservice/web/PitchesControllerAddIT.kt
SeWaS
123,180,910
false
{"Gradle": 7, "YAML": 12, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "Markdown": 1, "Dockerfile": 4, "Java": 27, "Java Properties": 1, "Kotlin": 10, "HTML": 1}
package io.pitchcast.pitchingservice.web import com.fasterxml.jackson.databind.ObjectMapper import io.github.benas.randombeans.api.EnhancedRandom import io.pitchcast.pitchingservice.domain.Pitch import io.pitchcast.pitchingservice.service.PitchesService import io.pitchcast.pitchingservice.web.dto.PitchDto import io.pi...
1
Kotlin
0
1
da58aba096506a914fa5e8a5628e1d48169f44e1
3,813
pitchcast
MIT License
presentation/src/androidMain/kotlin/ireader/presentation/ui/video/component/cores/CustomDecoder.kt
kazemcodes
540,829,865
true
{"Kotlin": 2179459}
package ireader.presentation.ui.video.component.cores import android.util.Log import androidx.media3.common.Format import androidx.media3.common.MimeTypes import androidx.media3.common.util.UnstableApi import androidx.media3.exoplayer.text.SubtitleDecoderFactory import androidx.media3.extractor.text.SubtitleDecoder im...
11
Kotlin
21
6
b6b2414fa002cec2aa0d199871fcfb4c2e190a8f
9,435
IReader
Apache License 2.0
dairo-dfs-server/src/main/java/cn/dairo/dfs/dao/dto/ShareDto.kt
DAIRO-HY
850,929,695
false
{"Kotlin": 361216, "HTML": 135261, "JavaScript": 33804, "Java": 27584, "Shell": 4415, "Dockerfile": 3240, "CSS": 2579, "Batchfile": 967, "SCSS": 33}
package cn.dairo.dfs.dao.dto import java.util.* class ShareDto { /** * id */ var id: Long? = null /** * 分享标题 */ var title: String? = null /** * 所属用户ID */ var userId: Long? = null /** * 加密分享 */ var pwd: String? = null /** * 分享的文件夹 ...
0
Kotlin
0
0
760241209f6a3dd828e0f678adf59f517fa3dc3b
727
DairoDfs
Apache License 2.0
dairo-dfs-server/src/main/java/cn/dairo/dfs/dao/dto/ShareDto.kt
DAIRO-HY
850,929,695
false
{"Kotlin": 361216, "HTML": 135261, "JavaScript": 33804, "Java": 27584, "Shell": 4415, "Dockerfile": 3240, "CSS": 2579, "Batchfile": 967, "SCSS": 33}
package cn.dairo.dfs.dao.dto import java.util.* class ShareDto { /** * id */ var id: Long? = null /** * 分享标题 */ var title: String? = null /** * 所属用户ID */ var userId: Long? = null /** * 加密分享 */ var pwd: String? = null /** * 分享的文件夹 ...
0
Kotlin
0
0
760241209f6a3dd828e0f678adf59f517fa3dc3b
727
DairoDfs
Apache License 2.0
shoring/flywheel/src/test/kotlin/com/panopset/tests/flywheel/EscapeTest.kt
panopset
762,886,104
false
{"Kotlin": 570850, "Java": 71258, "Shell": 10163, "CSS": 4623, "JavaScript": 4084, "Batchfile": 2988, "HTML": 1005}
package com.panopset.tests.flywheel import com.panopset.compat.Stringop.setEol import com.panopset.flywheel.FlywheelBuilder import com.panopset.flywheel.LINE_BREAKS import org.junit.jupiter.api.Assertions import org.junit.jupiter.api.Test import java.util.* class EscapeTest { @Test fun testEscapeNewLine() { ...
0
Kotlin
0
0
48e39f081d7d7247e7bad2dd4a393dcc08a6d38b
1,061
src
MIT License
app/src/main/java/com/example/bookdiscover/database/LibraryDao.kt
Tyler-CY
509,632,541
false
null
package com.example.bookdiscover.database import androidx.room.Dao import androidx.room.Delete import androidx.room.Insert import androidx.room.Query import kotlinx.coroutines.flow.Flow /** * Direct access object for the room database for accessing user's bookmarks and volumes. */ @Dao interface LibraryDao { @Q...
0
Kotlin
0
0
7f6febfe9c7aefc9aa6bfeee52a0607df5504175
546
Book-Discover
MIT License
service/src/main/kotlin/org/eclipse/keti/acs/privilege/management/dao/SubjectHierarchicalRepository.kt
anubhavi25
137,931,061
true
{"Kotlin": 1252473, "Shell": 39051, "Gherkin": 8014, "Groovy": 6987}
/******************************************************************************* * Copyright 2018 General Electric Company * * 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:...
1
Kotlin
0
0
285400fba42c687bb42bf4e537ae6f9eca4bf4df
1,383
keti
Apache License 2.0
app/src/main/java/com/example/expensetracker/SettingFragment.kt
JuzDaydream
861,736,858
false
{"Kotlin": 312267}
package com.example.expensetracker 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 androidx.fragment.app.Fragment import com.example.expensetracker.databinding.FragmentSettingBinding ...
0
Kotlin
0
0
c4d2a42b5f1644c77a0cfe48f8963b71d9309150
1,796
ExpenseTracker-With-Advanced-Security
MIT License
src/main/kotlin/gatech/mobile/occupancy/repositories/BuildingCodeRepository.kt
Dolvic
95,489,388
false
null
package gatech.mobile.occupancy.repositories import gatech.mobile.occupancy.entities.BuildingCode import org.springframework.data.mongodb.repository.MongoRepository interface BuildingCodeRepository : MongoRepository<BuildingCode, String>
0
Kotlin
0
0
8ab66feed2a3e7a13dde29b69cd9c582e2358338
240
gt-occupancy-backend
MIT License
app/src/main/java/com/zigis/paleontologas/core/extensions/IntExtensions.kt
edgar-zigis
240,962,785
false
{"Kotlin": 166682}
package com.zigis.paleontologas.core.extensions fun Int.withAlpha(alpha: Int): Int { require(alpha in 0..0xFF) return this and 0x00FFFFFF or (alpha shl 24) }
0
Kotlin
16
122
81af233ad89b9ec192e466d6604f211720a65445
166
Paleontologas
Apache License 2.0
finch-kotlin-core/src/main/kotlin/com/tryfinch/api/services/async/sandbox/IndividualServiceAsync.kt
Finch-API
688,609,420
false
{"Kotlin": 2668076, "Shell": 3626, "Dockerfile": 366}
// File generated from our OpenAPI spec by Stainless. @file:Suppress("OVERLOADS_INTERFACE") // See https://youtrack.jetbrains.com/issue/KT-36102 package com.tryfinch.api.services.async.sandbox import com.tryfinch.api.core.RequestOptions import com.tryfinch.api.models.IndividualUpdateResponse import com.tryfinch.api....
1
Kotlin
1
0
fab54cde923fd3757715836632e6db57057d1a28
599
finch-api-kotlin
Apache License 2.0
action-generator/src/main/kotlin/com/rodev/generator/action/patch/Patchable.kt
r0astPiGGy
665,522,977
false
null
package com.rodev.generator.action.patch @Retention(AnnotationRetention.RUNTIME) @Target(AnnotationTarget.FIELD) annotation class Patchable
0
Kotlin
0
3
11dfc41d60c3482fb100ed8d2a8e5f77569836b2
141
JustBlueprints
MIT License
src/main/kotlin/br/ufms/gitpay/ui/Perfil.kt
kleberkruger
787,915,646
false
{"Kotlin": 39997, "Java": 21582}
package br.ufms.gitpay.ui
0
Kotlin
1
0
02e99d4bcaaf77c89c73fb4882155bcceb0d4c39
27
gitpay
MIT License
manager/src/main/kotlin/com/github/open_edgn/fx/manager/application/InternalContainer.kt
OpenEdgn
316,234,299
false
null
package com.github.open_edgn.fx.manager.application import com.github.openEdgn.logger4k.getLogger import com.github.open_edgn.fx.manager.InternalObjects import com.github.open_edgn.fx.manager.activity.Activity import com.github.open_edgn.fx.manager.application.context.Context import com.github.open_edgn.fx.manager.app...
1
null
1
1
1a8e067a2daef812c9352c09797cf0814b18c22a
7,131
FXUIManager
MIT License
app/src/main/java/io/tanlnm/my/weather/core/interactor/UseCase.kt
tanlnm512
765,975,271
false
{"Kotlin": 43380}
package io.tanlnm.my.weather.core.interactor interface UseCase<out Output, in Params> where Output : Any { operator fun invoke(params: Params): Output class None }
0
Kotlin
0
0
60361d57eefe3cc60d4f85e1b9f4939f40f4b93c
172
my_weather
Apache License 2.0
src/main/kotlin/furhatos/app/cardgame/flow/Init.kt
horotat
518,806,515
false
{"Kotlin": 252871, "JavaScript": 58777, "Java": 21569, "FreeMarker": 16510, "HTML": 4928, "CSS": 4484}
package furhatos.app.cardgame.flow import furhatos.app.cardgame.setAdult import furhatos.autobehavior.enableSmileBack import furhatos.event.monitors.MonitorListenStart import furhatos.flow.kotlin.Furhat import furhatos.flow.kotlin.furhat import furhatos.flow.kotlin.state val Init = state(Parent) { onEntry { ...
0
Kotlin
0
0
a95aa619831614f5347cb7ffee762bbb32735211
511
Card-Game-21
Creative Commons Attribution 4.0 International
app/src/main/java/com/finalproject/group14/noteapp/utility/ScrollingFABBehaviour.kt
quynhle97
191,822,085
false
null
package com.finalproject.group14.noteapp.utility import android.content.Context import android.support.design.widget.CoordinatorLayout import android.support.design.widget.FloatingActionButton import android.support.design.widget.Snackbar import android.support.v7.widget.Toolbar import android.util.AttributeSet import...
0
Kotlin
0
0
509bf1179713f40b14598ad0030e937f2efa2212
1,662
NoteApp
MIT License
src/main/kotlin/com/yeoji/kotodo/data/handlers/JSONDataHandler.kt
yeoji
87,672,114
false
null
package com.yeoji.kotodo.data.handlers import com.github.salomonbrys.kotson.* import com.google.gson.Gson import com.google.gson.GsonBuilder import com.google.gson.JsonArray import com.google.gson.JsonObject import com.google.gson.stream.JsonReader import com.yeoji.kotodo.data.DataHandlerInterface import com.yeoji.kot...
0
Kotlin
0
0
ce9d195a77f02e0cb7451e95a0dfd0819d460cb2
4,369
kotodo-old
MIT License
src/chapter3/section5/ex8.kt
w1374720640
265,536,015
false
{"Kotlin": 1373556}
package chapter3.section5 import edu.princeton.cs.algs4.Queue /** * 修改LinearProbingHashST,允许在表中保存重复的键 * 对于get()方法,返回给定键所关联的任意值 * 对于delete()方法,删除表中所有和给定键相等的键值对 * * 解:使用一个集合存放一个键对应的所有值 * 将键和集合组成一个新对象保存在数组的对应位置 */ class DuplicateKeysLinearProbingHashST<K : Any, V : Any>(var m: Int = 16) : DuplicateKeysST<K, V> { ...
0
Kotlin
1
6
879885b82ef51d58efe578c9391f04bc54c2531d
4,299
Algorithms-4th-Edition-in-Kotlin
MIT License
src/main/kotlin/no/nav/helsearbeidsgiver/bro/sykepenger/utils/UuidUtils.kt
navikt
545,996,420
false
{"Kotlin": 234655, "PLpgSQL": 153, "Dockerfile": 68}
package no.nav.helsearbeidsgiver.bro.sykepenger.utils import java.util.UUID /** Brukes for å kunne mocke UUID-en i tester. */ fun randomUuid(): UUID = UUID.randomUUID()
1
Kotlin
0
0
bc9ee59a5c00d1724a84eae37003745dc5724646
175
helsearbeidsgiver-bro-sykepenger
MIT License
app/src/main/java/at/opnote/ui/about/AboutViewModel.kt
fly8899
456,671,546
false
null
package at.opnote.ui.about import androidx.lifecycle.ViewModel import at.opnote.data.note.NoteRepository import at.opnote.data.todo.TodoListRepository import dagger.hilt.android.lifecycle.HiltViewModel import kotlinx.coroutines.flow.combine import javax.inject.Inject @HiltViewModel class AboutViewModel @Inject const...
0
Kotlin
0
0
a5997cb2031ea57f6a16c4ab8cd203e51838c0ce
906
OpNote
Apache License 2.0
src/main/kotlin/uk/co/hasali/epubreader/schema/navigation/EpubNavigationHeadMeta.kt
hasali19
141,841,634
false
null
package uk.co.hasali.epubreader.schema.navigation class EpubNavigationHeadMeta { var name: String? = null var content: String? = null var scheme: String? = null }
0
Kotlin
1
0
37dca76c9ca03ab81d7137ca051e0e0c2a51f558
176
EpubReader
MIT License
app/src/main/java/com/piticlistudio/playednext/domain/model/Company.kt
Yorxxx
105,007,126
false
null
package com.piticlistudio.playednext.domain.model /** * Representation of a Company */ data class Company(val id: Int, val name: String, val url: String?)
2
Kotlin
0
1
24f9fe251437fbbb0a493760e63b31f5c7895738
157
played-next-kotlin
MIT License
radius/feature/domain/src/main/java/com/agentdesks/android/crm/assignment/feature/domain/usecase/FacilityListUseCase.kt
kunal26das
673,585,943
false
null
package com.agentdesks.android.crm.assignment.feature.domain.usecase import com.agentdesks.android.crm.assignment.feature.domain.entity.Facility interface FacilityListUseCase { suspend fun getFacilities(): List<Facility> }
0
Kotlin
0
1
de0811d69435da1b902a038848b8c52a9f9e165b
228
android-assignments
Apache License 2.0
ConfBeerDemo/app/src/main/java/com/example/confbeerdemo/model/Speaker.kt
exegonzalez
319,794,097
false
null
package com.example.confbeerdemo.model import java.io.Serializable class Speaker:Serializable { var name = "" var jobtitle = "" var workplace = "" var biography = "" var twitter = "" var image = "" var category = "" }
0
Kotlin
0
0
3aa2107f61b4240a8203f603478d12f1ed6021ab
247
Arquitecturas-de-Programacion-Movil
MIT License
ok-marketplace-fe-app-kreact/src/main/kotlin/items/proposals/view/MarketplaceProposalViewProps.kt
otuskotlin
323,966,359
false
null
package items.proposals.view import models.DemandModel import models.ProposalModel import react.RProps data class MarketplaceProposalViewProps( val proposal: ProposalModel?, val demands: List<DemandModel>? = null ): RProps { }
0
Kotlin
0
1
5f05fe658504dfa5d7300e3f0f523d250ff6ce31
237
202012-otuskotlin-marketplace
MIT License
rounded/src/commonMain/kotlin/me/localx/icons/rounded/bold/RssAlt.kt
localhostov
808,861,591
false
{"Kotlin": 79430321, "HTML": 331, "CSS": 102}
package me.localx.icons.rounded.bold 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 im...
1
Kotlin
0
5
cbd8b510fca0e5e40e95498834f23ec73cc8f245
2,515
icons
MIT License
src/main/kotlin/dot/reyn/pokedex/PokedexDataExtension.kt
DotReyn
603,799,146
false
null
package dot.reyn.pokedex import com.cobblemon.mod.common.api.storage.player.PlayerDataExtension import com.google.gson.GsonBuilder import com.google.gson.JsonObject import net.minecraft.util.Identifier class PokedexDataExtension( val caughtSpecies: MutableSet<Identifier> = hashSetOf() ): PlayerDataExtension { ...
0
Kotlin
1
3
6c2fa69d0a0fd9ee2dc8fa369aa3c16bf6563133
945
Pokedex
MIT License
app/src/main/java/buddybuild/com/ultron/MyApplication.kt
Palleas
89,369,307
false
null
package buddybuild.com.ultron import android.app.Application class MyApplication : Application() { companion object { lateinit var appComponent: ApplicationComponent } override fun onCreate() { super.onCreate() appComponent = DaggerApplicationComponent.builder() ....
0
Kotlin
0
1
d3a7d0e3abcb25514d2a8d98cfcee704ab6de914
385
buddybuild-android
MIT License
api/token-introspection/src/main/kotlin/uk/co/baconi/oauth/api/token/introspection/IntrospectionErrorType.kt
beercan1989
345,334,044
false
null
package uk.co.baconi.oauth.api.token.introspection import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable @Serializable enum class IntrospectionErrorType { @SerialName("invalid_request") InvalidRequest, @SerialName("unauthorized_client") UnauthorizedClient, }
0
Kotlin
0
0
63d8d107b328b42bed1aa081192c5ddbf9c5e2c8
296
oauth-api
Apache License 2.0
data/src/commonMain/kotlin/io/gaitian/telekot/data/model/Poll.kt
galik-ya
668,662,208
false
null
package io.gaitian.telekot.data.bot.model import kotlinx.serialization.Serializable /** * This object contains information about a poll * * @see <a href="https://core.telegram.org/bots/api#poll">Telegram Bot API | Poll</a> */ @Serializable data class Poll( /** * Unique poll identifier */ val id...
0
Kotlin
0
0
fb8f376eb9f2322622aec3a4aa305fcf169a2e08
1,816
telekot
Apache License 2.0
src/main/kotlin/net/doemges/visiscribe/config/SecurityConfig.kt
florentine-doemges
800,078,082
false
{"Kotlin": 14318}
package net.doemges.visiscribe.config import org.springframework.beans.factory.annotation.Value import org.springframework.context.annotation.Bean import org.springframework.context.annotation.Configuration import org.springframework.http.HttpStatus import org.springframework.security.config.annotation.web.reactive.En...
0
Kotlin
0
0
f7c8ca2a03a82600ad0632acf04c28891cdff375
4,032
visiscribe
Apache License 2.0
app/src/main/java/com/example/trendingtimes/viewmodel/NewsViewModel.kt
adityarai004
671,452,116
false
{"Kotlin": 77831}
package com.example.trendingtimes.viewmodel import android.content.Context import android.util.Log import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.example.trendingtimes.data.Article import com.example.t...
0
Kotlin
0
1
5e2b800f7740bfc9d10cd16a2dc6977b28de825b
6,831
TrendingTimes
MIT License
app/src/main/java/com/mygomii/koin/example/di/NetworkModule.kt
mygomii
784,098,109
false
{"Kotlin": 19118}
package com.mygomii.koin.example.di import com.google.gson.GsonBuilder import com.mygomii.koin.example.data.services.PostService import okhttp3.OkHttpClient import okhttp3.Protocol import org.koin.dsl.module import retrofit2.Retrofit import retrofit2.converter.gson.GsonConverterFactory private const val BASE_URL = "h...
0
Kotlin
0
0
9e2a59c13d20a509e5b68c16af190dcddf2c4b7e
895
koin-example
Apache License 2.0
src/main/kotlin/com/google/androidstudiopoet/models/ConfigPOJO.kt
ZacSweers
111,372,837
true
{"Kotlin": 60506}
/* * Copyright 2017 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
0
Kotlin
0
1
ecae7eab1750910bf7357daed87efb1bd57e3250
2,284
android-studio-poet
Apache License 2.0
app/src/main/java/com/babylon/wallet/android/presentation/status/assets/nonfungible/NonFungibleAssetDialogNav.kt
radixdlt
513,047,280
false
{"Kotlin": 3662527, "HTML": 215350, "Java": 18496, "Ruby": 2312, "Shell": 1962}
package com.babylon.wallet.android.presentation.status.assets.nonfungible import androidx.hilt.navigation.compose.hiltViewModel import androidx.lifecycle.SavedStateHandle import androidx.navigation.NavController import androidx.navigation.NavGraphBuilder import androidx.navigation.NavType import androidx.navigation.co...
5
Kotlin
8
4
e178f84c69a46bc7da05eac0a89e0a28244401d9
2,273
babylon-wallet-android
Apache License 2.0
src/main/kotlin/ch/uzh/ifi/seal/bencher/JMHVersion.kt
chrstphlbr
227,602,878
false
{"Kotlin": 918163, "Java": 29153}
package ch.uzh.ifi.seal.bencher data class JMHVersion( val major: Int, val minor: Int, val patch: Int = 0 ) : Comparable<JMHVersion> { override fun compareTo(other: JMHVersion): Int = if (this == other) { 0 } else if (this.major < other.major) { ...
1
Kotlin
2
4
06601fb4dda3b2996c2ba9b2cd612e667420006f
785
bencher
Apache License 2.0
libraries/tools/kotlin-gradle-plugin-integration-tests/src/test/resources/testProject/new-mpp-android-source-sets/lib/src/main/kotlin/MainApiKotlin.kt
JetBrains
3,432,266
false
null
object MainApiKotlin { fun sayHi() = println("HI") }
181
null
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
56
kotlin
Apache License 2.0
AOS/SongForYou/app/src/main/java/com/hanyeop/songforyou/model/response/UrlResponse.kt
chaemj97
624,664,008
false
null
package com.hanyeop.songforyou.model.response import com.google.gson.annotations.SerializedName data class UrlResponse( @SerializedName("url") val url: String )
0
Kotlin
0
0
f05f839b283b8fe59c5f0810928497fb6bcd60b3
167
Project-Song-For-You
MIT License
src/main/kotlin/Dayxx.kt
saidaspen
354,930,478
false
null
import se.saidaspen.aoc.util.* fun main() = Dayxx.run() object Dayxx : Day(2022, 25) { override fun part1(): Any { println(input) return "" } override fun part2(): Any { return "" } }
0
Kotlin
0
1
b8dfbf8fd65ee45a1d216c6e552b3489c312f806
228
adventofkotlin
MIT License
buildSrc/src/main/kotlin/Dependencies.kt
StylingAndroid
345,137,838
false
null
const val kotlinVersion = "1.5.0-M1" const val hiltVersion = "2.33-beta" object BuildPlugins { object Version { const val androidBuildToolsVersion = "7.0.0-alpha09" const val versionsVersion = "0.33.0" const val detektVersion = "1.14.1" const val ktlintVersion = "9.4.0" cons...
0
Kotlin
2
9
6f7d2ec8d10d497dfc56156fa9fc67507ca738aa
3,192
RenderEffect
Apache License 2.0
app/src/main/java/com/karashok/mvvm/main/viewmodel/HomeFgtViewModel.kt
KaraShok
201,876,500
false
{"Gradle": 7, "Java Properties": 1, "Text": 1, "Ignore List": 6, "Markdown": 1, "Proguard": 5, "XML": 56, "Kotlin": 78, "Java": 1}
package com.karashok.mvvm.main.viewmodel import android.app.Application import com.karashok.common.data.ArticleItem import com.karashok.common.data.Banner import com.karashok.common.data.BaseListData import com.karashok.common.net.BaseAndroidViewModel import com.karashok.common.net.BaseLiveData import com.karashok.mvv...
0
Kotlin
0
1
ac84f9c0758ab9cde999656d3d6b157bf4ac7bdd
966
MVVM-Android-For-Kotlin
Apache License 2.0
usercenter/src/main/java/com/cysion/usercenter/net/UserUrls.kt
CysionLiu
158,899,037
false
null
package com.cysion.usercenter.net object UserUrls { private var hasInited = false var debug: Boolean = true set(value) { if (!hasInited) { field = value hasInited = true } else { throw Exception("不能两次初始化") } } ...
0
Kotlin
14
83
b60c0d3720a6e258e68e212da96bf308f31a4224
436
KtDevBox
Apache License 2.0
ui/src/main/java/com/seo4d696b75/android/glance_widget_demo/ui/configure/ConfigureUiState.kt
Seo-4d696b75
727,134,209
false
{"Kotlin": 38186}
package com.seo4d696b75.android.glance_widget_demo.ui.configure import androidx.compose.runtime.Immutable @Immutable data class ConfigureUiState( val input: String, val isError: Boolean, val hasCompleted: Boolean, )
1
Kotlin
0
2
a65743d2b1101fbf90ba03fe7a5e2884ecc4f529
230
glance-widget-demo
MIT License
sample-core/src/commonMain/kotlin/com/mobilejazz/kmmsample/core/screen/hackerposts/HackerPostsPresenter.kt
mobilejazz
193,985,847
false
null
package com.mobilejazz.kmmsample.core.screen.hackerposts import com.harmony.kotlin.common.WeakReference import com.harmony.kotlin.common.logger.Logger import com.harmony.kotlin.common.onComplete import com.mobilejazz.kmmsample.core.feature.hackerposts.domain.interactor.GetHackerNewsPostsInteractor import com.mobilejaz...
7
Kotlin
0
8
3f570e86229fa46abccb89b5e91504de97b5ccc9
1,750
harmony-kotlin
Apache License 2.0
app/common/src/commonMain/kotlin/com/denchic45/studiversity/data/db/local/source/TeacherEventLocalDataSource.kt
denchic45
435,895,363
false
{"Kotlin": 2103689, "Vue": 15083, "JavaScript": 2830, "CSS": 1496, "HTML": 867}
package com.denchic45.studiversity.data.db.local.source import com.denchic45.studiversity.entity.AppDatabase import com.denchic45.studiversity.entity.EventMember import com.denchic45.studiversity.entity.EventMemberQueries import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.withContext import me.tatarka.inj...
0
Kotlin
0
7
93947301de4c4a9cb6c3d9fa36903f857c50e6c2
861
Studiversity
Apache License 2.0
app/src/main/java/com/grupo20/vinilos/modelos/Comment.kt
jorgeballeuniandes
551,980,205
false
null
package com.grupo20.vinilos.modelos data class Comment ( val description:String, val rating:String, val albumId:Int )
0
Kotlin
1
0
c902051c92df8e0e5a8ab89c24b0ba8f2b6ed71a
131
Vinilos_Front_Mobile_MVTQN
MIT License
app/src/main/java/com/revolgenx/anilib/data/field/studio/StudioMediaField.kt
rev0lgenX
244,410,204
false
null
package com.revolgenx.anilib.data.field.studio import com.revolgenx.anilib.StudioMediaQuery import com.revolgenx.anilib.data.field.BaseSourceField class StudioMediaField : BaseSourceField<StudioMediaQuery>() { var studioId: Int? = null override fun toQueryOrMutation(): StudioMediaQuery { return Studio...
3
Kotlin
1
24
355d2b5510682d869f18e0113453237af8a1f1cc
456
AniLib
Apache License 2.0
buildSrc/src/main/kotlin/utils/publishingUtils.kt
pantsbuild
23,127,618
false
null
// Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). // Licensed under the Apache License, Version 2.0 (see LICENSE). package utils import org.gradle.api.* enum class PublicationChannel(val channelName: String) { Stable("Stable"), BleedingEdge("BleedingEdge"); companion object { fun f...
56
Java
53
71
cc2f54bca69ff8e961b11e436a2e4a744ba2a9db
1,044
intellij-pants-plugin
Apache License 2.0
src/main/kotlin/com/example/ide/css/CssModulesClassNameCompletionContributor.kt
Q-Peppa
850,554,744
false
{"Kotlin": 30766, "SCSS": 3153, "CSS": 2896}
package com.example.ide.css import com.intellij.codeInsight.completion.* import com.intellij.lang.javascript.psi.JSLiteralExpression import com.intellij.patterns.PlatformPatterns import com.intellij.util.ProcessingContext class CssModulesClassNameCompletionContributor : CompletionContributor() { init { e...
0
Kotlin
0
2
0791a0c31de3deec4e79e20e05b8a9ae7bcb943b
1,290
react-css-modules-all
Apache License 2.0
kotlin-electron/src/jsMain/generated/electron/renderer/MediaFlags.kt
JetBrains
93,250,841
false
{"Kotlin": 11400167, "JavaScript": 146545}
package electron.renderer typealias MediaFlags = electron.core.MediaFlags
28
Kotlin
173
1,250
d1f8f5d805ffa18431dfefb7a1aa2f67f48915f6
76
kotlin-wrappers
Apache License 2.0
app/src/main/java/dev/emrizkiem/covid19/ui/explore/ExploreFragment.kt
emrizkiem
253,374,123
false
null
package dev.emrizkiem.covid19.ui.explore import android.annotation.SuppressLint import android.net.Uri import android.os.Bundle import android.os.Handler import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.Toast import androidx.browser.customtabs.CustomTabsIn...
0
Kotlin
4
5
f34d680fc7526ade5345bad7bda847ff289254fd
3,158
covid19-monitoring
Apache License 2.0
ketrofit/src/main/java/com/wghcwc/ketrofit/net/Call.kt
WGHCWC
314,512,282
false
null
package com.wghcwc.ketrofit.net import retrofit2.Call /** * author:wghcwc * DATE: 20-11-16 16:06 */ fun <T> Call<T>.api(block: ApiContextImpl<*>.() -> Unit): ApiImpl<T> { val flow = ApiImpl(this) flow.block() return flow } fun <T> Call<T>.err(block: ApiContextImpl.ApiError.() -> Unit): ApiImpl<T> { ...
1
Kotlin
0
0
19e9f464f189fd4fcd189731deb78cc0f2ca3cda
491
ketrofit
Apache License 2.0
app/src/main/java/com/easyappsolution/myeasycalendar/MainActivity.kt
makhnnar
266,411,058
false
null
package com.easyappsolution.myeasycalendar import android.os.Bundle import androidx.appcompat.app.AppCompatActivity import androidx.navigation.findNavController import androidx.navigation.ui.AppBarConfiguration import androidx.navigation.ui.setupWithNavController import com.easyappsolution.myeasycalendar.databinding.A...
0
Kotlin
0
0
7bda5695dbf084555cca77a96893e32ea93337c8
1,276
myEasyCalendar
MIT License
common/src/main/java/com/laposa/common/features/home/ui/HomeScreen.kt
laposa
796,639,770
false
{"Kotlin": 226137}
package com.laposa.common.features.home.ui import androidx.compose.foundation.layout.padding import androidx.compose.runtime.Composable import androidx.compose.runtime.collectAsState import androidx.compose.runtime.remember import androidx.compose.ui.Modifier import androidx.compose.ui.unit.dp import androidx.hilt.nav...
3
Kotlin
0
0
56dcc293f8bfc0c85a00874f40fd94afbd1d65bc
1,321
media-player
MIT License
app/src/main/java/com/ricknout/rugbyranker/di/WorkerKey.kt
Anhmike
215,666,476
true
{"Kotlin": 262314}
package com.ricknout.rugbyranker.di import androidx.work.ListenableWorker import dagger.MapKey import kotlin.reflect.KClass @MustBeDocumented @Target( AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER ) @Retention(AnnotationRetention.RUNTIME) @MapKey...
0
null
0
1
53c1889a127ff797c4df9b7651ddc2ddf58546c0
389
rugby-ranker
Apache License 2.0
src/Day14.kt
arksap2002
576,679,233
false
null
import kotlin.math.max import kotlin.math.min fun main() { val board = mutableListOf<MutableList<Char>>() val n = 700 fun put(x: Int, y: Int): Boolean { if (x == board.size - 1) return false if (board[x + 1][y] == '.') return put(x + 1, y) if (board[x + 1][y - 1] == '.') return put...
0
Kotlin
0
0
a24a20be5bda37003ef52c84deb8246cdcdb3d07
2,977
advent-of-code-kotlin
Apache License 2.0
buildSrc/src/main/kotlin/versions/SharedVersions.kt
ruialmeida51
249,223,684
false
{"Kotlin": 904675}
package versions object SharedVersions { const val KOTLIN_VERSION = "1.9.23" const val KOTLIN_COMPILER_VERSION = "1.5.11" const val HILT_VERSION = "2.49" }
6
Kotlin
0
7
5dd18b22448b2435f0238cccfc11a6826f200748
169
lumbridge-android
MIT License
app/src/main/java/com/cektrend/cekinhome/core/util/ViewExtension.kt
saipulmuiz
388,676,085
false
null
package com.cektrend.cekinhome.core.util import android.view.View /** * Created by <NAME> on 7/30/2021. * Cekinhome | Made with love * Check our website -> Cektrend Studio | https://cektrend.com for more information * For question and project collaboration contact me to <EMAIL> */ fun View.show() { visibility...
0
Kotlin
0
0
efd1213e95ed222bbd86a5d2600ae6dfa6340da8
385
Cekinhome
The Unlicense
src/main/kotlin/io/github/breninsul/simpleimageconvertor/dto/WriterSettings.kt
BreninSul
843,824,335
false
{"Kotlin": 82143}
package io.github.breninsul.simpleimageconvertor.dto interface WriterSettings:Settings { override fun getOrder(): Int =1 }
0
Kotlin
0
0
3ea01775b1151bbf60a1fe3f861de394fc967ba3
127
simple-image-converter
MIT License
app/src/main/java/com/mytests/testExam/data/remote/service/AnimalFactsClient.kt
FredNekrasov
766,574,196
false
{"Kotlin": 46693}
package com.mytests.testExam.data.remote.service import io.ktor.client.HttpClient import io.ktor.client.engine.okhttp.OkHttp import io.ktor.client.plugins.contentnegotiation.ContentNegotiation import io.ktor.client.plugins.defaultRequest import io.ktor.client.plugins.logging.LogLevel import io.ktor.client.plugins.logg...
0
Kotlin
0
1
e344e47e6cb1ba8f0634e3df75ffa3514270bc59
843
my-tests
MIT License
Arcade/TheCore/Kotlin/extraNumber.kt
neemiassgc
228,230,569
false
null
fun extraNumber(a: Int, b: Int, c: Int) = if (a == b) c else if (a == c) b else a;
0
Java
43
97
e5a1973cb86ec58289b7b8eb685932ebed3d316e
86
CodeSignal-Solutions
MIT License
compiler/testData/diagnostics/tests/shadowing/ShadowPropertyInFor.kt
JakeWharton
99,388,807
true
null
class RedefinePropertyInFor() { var i = 1 fun ff() { for (i in 0..10) { } } }
181
Kotlin
5748
83
4383335168338df9bbbe2a63cb213a68d0858104
114
kotlin
Apache License 2.0
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/annotations/KtFirAnnotationListForType.kt
JetBrains
3,432,266
false
null
/* * Copyright 2010-2023 JetBrains s.r.o. and Kotlin Programming Language contributors. * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. */ package org.jetbrains.kotlin.analysis.api.fir.annotations import org.jetbrains.kotlin.analysis.api.annotation...
180
null
5642
48,082
2742b94d9f4dbdb1064e65e05682cb2b0badf2fc
4,830
kotlin
Apache License 2.0
data/src/main/java/net/rom/exchange/data/repository/ItemExchangeRemote.kt
arohim
171,607,461
false
null
package net.rom.exchange.data.repository import io.reactivex.Single import net.rom.exchange.data.model.rom.ItemExchangeEntity interface ItemExchangeRemote { fun getItems(kw: String, exact: Boolean, type: Int, sort: String, sortDir: String, sortServer: String, sortRange: String, page: Int): Single<List<ItemExchan...
1
null
1
1
3811df16df104a8d1cd4f0b15b9fee747da96f27
332
rom-exchange
MIT License
app/src/main/java/com/buddha/imagegallary/module/details/DetailsModule.kt
buddhasaikia
158,645,187
false
null
package com.buddha.imagegallary.module.details import com.buddha.imagegallary.di.scope.FragmentScoped import dagger.Module import dagger.android.ContributesAndroidInjector @Module abstract class DetailsModule { @FragmentScoped @ContributesAndroidInjector abstract fun detailsFragment(): DetailsFragment }
0
Kotlin
0
0
86dea030cad700e341ebe80f10870879be94d74e
319
MarsPlayChallenge
Apache License 2.0
idea/testData/diagnosticMessage/expectedNothingDueToProjections.kt
JakeWharton
99,388,807
true
null
// !DIAGNOSTICS_NUMBER: 1 // !DIAGNOSTICS: MEMBER_PROJECTED_OUT fun foo(x: MutableCollection<out CharSequence>) { x.add("") }
0
Kotlin
28
83
4383335168338df9bbbe2a63cb213a68d0858104
131
kotlin
Apache License 2.0
jps-plugin/src/org/jetbrains/kotlin/jps/incremental/storages/externalizers.kt
JakeWharton
99,388,807
false
null
/* * Copyright 2010-2016 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
1
null
28
83
4383335168338df9bbbe2a63cb213a68d0858104
1,732
kotlin
Apache License 2.0
fuzzer/fuzzing_output/crashing_tests/verified/minimized/genericValOnLHS.kt-1663260228.kt_minimized.kt
ItsLastDay
102,885,402
false
null
fun box(): String { ((((if ((Generic(Host()).p::t) == (Generic(Host()).p::t)) { } else { }) ?: (if ((Generic(Host()).p::t) == (Generic(Host()).p::t)) { (Generic(Host()).p::t) } else { (Generic(Host()).p::t) }))))() }
2
Kotlin
1
6
56f50fc307709443bb0c53972d0c239e709ce8f2
218
KotlinFuzzer
MIT License
app/src/main/java/com/huanchengfly/tieba/post/api/adapters/MessageListAdapter.kt
steve02081504
542,136,746
true
{"Kotlin": 840467, "Java": 801077, "JavaScript": 47843}
package com.huanchengfly.tieba.post.api.adapters import com.google.gson.JsonDeserializationContext import com.google.gson.JsonDeserializer import com.google.gson.JsonElement import com.google.gson.JsonParseException import com.huanchengfly.tieba.post.api.models.MessageListBean.MessageInfoBean import java.lang.reflect....
0
Kotlin
0
0
afac8210329e45ddaed39675776d4f2c9e99420f
713
TiebaLite
Apache License 2.0