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
src/backend/ci/core/common/common-web/src/main/kotlin/com/tencent/devops/common/web/GlobalProxyConfiguration.kt
TencentBlueKing
189,153,491
false
{"Kotlin": 30176725, "Vue": 6739254, "JavaScript": 1256623, "Go": 616850, "Lua": 567159, "TypeScript": 461781, "SCSS": 365654, "Shell": 157561, "Java": 153049, "CSS": 106299, "HTML": 96201, "Python": 39238, "Less": 24714, "Makefile": 10630, "Smarty": 10297, "Dockerfile": 5097, "Batchfile": 4908, "PowerShell": 1626, "VB...
package com.tencent.devops.common.web import com.tencent.devops.common.web.proxy.CustomProxySelector import org.slf4j.LoggerFactory import org.springframework.beans.factory.annotation.Value import org.springframework.context.annotation.Configuration import org.springframework.core.Ordered import org.springframework.co...
719
Kotlin
498
2,382
dd483c38bdbe5c17fa0e5e5bc3390cd1cd40757c
2,645
bk-ci
MIT License
detekt-cli/src/main/kotlin/io/gitlab/arturbosch/detekt/cli/baseline/Listing.kt
UEisSOFUN
183,403,853
true
{"Kotlin": 1297267, "Groovy": 3621, "Shell": 1710, "HTML": 698}
package io.gitlab.arturbosch.detekt.cli.baseline /** * @author Artur Bosch */ interface Listing<T> { val ids: Set<String> }
0
Kotlin
0
0
edfa14973c1013df3301be0c99c9c3077c0ebc52
132
detekt
Apache License 2.0
app/src/main/java/com/example/dikofood/data/FoodData.kt
Diakoy
738,226,297
false
{"Kotlin": 13261}
package com.example.dikofood.data import android.text.Editable data class FoodData( val txt_title: String, val txt_price:String, val txt_location:String, val img_url:String, val rating_number:String, val rating_bar:Float )
0
Kotlin
0
0
8cf03ae2d679ad44c6162eb85bb9a7def2e579c7
250
DiakoFood
MIT License
solar/src/main/java/com/chiksmedina/solar/linear/__Astronomy.kt
CMFerrer
689,442,321
false
{"Kotlin": 36591890}
package com.chiksmedina.solar.linear import androidx.compose.ui.graphics.vector.ImageVector import com.chiksmedina.solar.LinearSolar import com.chiksmedina.solar.linear.astronomy.Asteroid import com.chiksmedina.solar.linear.astronomy.Atom import com.chiksmedina.solar.linear.astronomy.BlackHole import com.chiksmedina.s...
0
Kotlin
0
0
3414a20650d644afac2581ad87a8525971222678
2,666
SolarIconSetAndroid
MIT License
compiler/testData/asJava/lightClasses/nullabilityAnnotations/Primitives.kt
JakeWharton
99,388,807
false
null
// Primitives interface Primitives { fun int(x: Int): Int val nullableBool: Boolean? val nullableByte: Byte? val nullableShort: Short? val nullableChar: Char? val nullableInt: Int? val nullableLong: Long? val nullableFloat: Float? val nullableDouble: Double? val bool: Boolean ...
181
null
5748
83
4383335168338df9bbbe2a63cb213a68d0858104
460
kotlin
Apache License 2.0
app/src/main/java/com/maruf/movieflix/MovieApplication.kt
AppsDevMaruf
642,544,198
false
null
package com.maruf.movieflix import android.app.Application import dagger.hilt.android.HiltAndroidApp @HiltAndroidApp class MovieApplication : Application()
0
Kotlin
1
2
1825acb516ba7c9c1d8a8b0cf8593b101d63b451
157
Movieflix
The Unlicense
app/src/main/java/com/example/storedemo/ui/products/ProductsView.kt
go-cristian
259,198,124
false
{"Kotlin": 12390}
package com.example.storedemo.ui.products import android.content.Context import android.graphics.Color import android.graphics.drawable.GradientDrawable import android.util.AttributeSet import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.ImageView import andr...
0
Kotlin
0
1
9b040b6dcb0a81d5758581a788f15f9a75b68ca6
3,518
IceCreamStore
MIT License
app/src/main/java/com/microsoft/chronossample/MainActivity.kt
microsoft
623,834,515
false
null
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. package com.microsoft.chronossample import android.os.Bundle import com.google.android.material.snackbar.Snackbar import androidx.appcompat.app.AppCompatActivity import androidx.navigation.findNavController import androidx.navigation.ui.AppBar...
0
Kotlin
0
4
72d895aa5e3f1db65afcbf3a5fe23cdfdbe3d235
3,398
chronos
MIT License
kotlin-typescript/src/jsMain/generated/typescript/isJSDocCallbackTag.kt
JetBrains
93,250,841
false
{"Kotlin": 12635434, "JavaScript": 423801}
// Automatically generated - do not modify! @file:JsModule("typescript") package typescript @JsName("isJSDocCallbackTag") external fun isJSDocCallbackTagRaw(node: Node): Boolean /* node is JSDocCallbackTag */
38
Kotlin
162
1,347
997ed3902482883db4a9657585426f6ca167d556
213
kotlin-wrappers
Apache License 2.0
app/src/main/java/com/huanchengfly/tieba/post/fragments/PersonalizedFeedFragment.kt
fly2marss
405,560,522
true
{"Kotlin": 840467, "Java": 801077, "JavaScript": 47843}
package com.huanchengfly.tieba.post.fragments import android.animation.Animator import android.animation.AnimatorListenerAdapter import android.os.Bundle import android.view.MenuItem import android.view.View import android.widget.TextView import android.widget.Toast import androidx.appcompat.widget.Toolbar import andr...
0
Kotlin
0
0
34c341be0e706810febda54ea68cbd38955502d8
10,023
TiebaLite
Apache License 2.0
composeApp/src/commonMain/kotlin/com/justas/weather/core/data/response/LTMPlacesResponse.kt
gasparaitisj
788,473,219
false
{"Kotlin": 164495, "Swift": 594, "HTML": 517}
package com.justas.weather.core.data.response import com.justas.weather.core.domain.model.CommonCoordinates import com.justas.weather.core.domain.model.CommonPlace import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable @Serializable data class LTMPlacesResponseItem( @SerialName("administ...
0
Kotlin
0
0
c3ab9a9391fe32a324d797531c822874aea399bc
1,219
weather-app
Apache License 2.0
app/src/main/java/com/gracedian/explorebojonegoro/ui/dashboard/home/fragmentdetail/items/Restoran.kt
rikoarik
724,154,798
false
{"Kotlin": 347415}
package com.gracedian.explorebojonegoro.ui.dashboard.home.fragmentdetail.items data class Hotel( val nama: String? = null, val alamat: String? = null, val imageUrl: String? = null, val latitude: String? = null, val longitude: String? = null, var rating: Double?, val jarak: Int = 0 )
0
Kotlin
0
1
9bd4b5b425a273b5f744cf7c34cb05534d60bc2e
314
ExploreBojonegoro
MIT License
QuickFaaS-Deployment/src/main/kotlin/model/resources/functions/triggers/HttpTrigger.kt
Pexers
513,313,070
false
{"Kotlin": 74580, "Java": 43544, "Shell": 8923, "Batchfile": 8061, "JavaScript": 72}
/* * Copyright © 9/15/2022, Pexers (https://github.com/Pexers) */ package model.resources.functions.triggers class HttpTrigger : Trigger { override val name = "HTTP" override val shortName = "http" override val postDeploymentMsg = "trigger URL" }
0
Kotlin
1
0
2056caa7e8e226ccc84202460881195fdf23eba6
263
quickfaas-essentials
Apache License 2.0
app/src/main/java/com/example/liunianyishi/intelligenttransportation/Bean/README.kt
asdlei99
638,734,916
true
{"Java Properties": 2, "Gradle": 3, "Shell": 1, "Markdown": 1, "Git Attributes": 1, "Batchfile": 1, "Text": 1, "Ignore List": 2, "Proguard": 1, "Java": 25, "XML": 52, "Kotlin": 14}
package com.example.liunianyishi.intelligenttransportation.Bean /** * Created by qiuchen on 2018/2/3. */ class README { /** * ********************************************************************** * 本包下面的所有Bean数据模型必须以Bean结尾 * 本包下只允许放置Bean数据模型,请不要放置任何无关类 * ...
0
null
0
0
64243bfb872f293550a3369478555272604436b2
614
IntelligentTransportation
MIT License
app/src/main/java/com/android1500/gpssetter/utils/NotificationsChannel.kt
Android1500
527,164,251
false
{"Kotlin": 80177}
package com.android1500.gpssetter.utils import android.app.Notification import android.app.NotificationManager import android.content.Context import androidx.core.app.NotificationChannelCompat import androidx.core.app.NotificationCompat import androidx.core.app.NotificationManagerCompat import com.android1500.gpssette...
38
Kotlin
40
309
102613a2972f6a71d09318a0997bcb398f1b4166
1,601
GpsSetter
FSF All Permissive License
fileman/src/main/java/com/andrefilgs/fileman/workmanager/workers/WorkRequestFactory.kt
3xcool
215,325,259
false
null
package com.andrefilgs.fileman.workmanager.workers import androidx.work.Data import androidx.work.OneTimeWorkRequest import com.andrefilgs.fileman.auxiliar.* import com.andrefilgs.fileman.workmanager.FilemanManager /** * I'm setting each tag as unique value */ class WorkRequestFactory { companion object{ ...
0
Kotlin
0
2
07310cf7b49ae98c03e2d6c3a1191bd725168f58
2,240
Fileman
Apache License 2.0
app/src/main/java/com/serj113/pokedex/PokedexApplication.kt
serj113
668,290,121
false
null
package com.serj113.pokedex import android.app.Application import dagger.hilt.android.HiltAndroidApp @HiltAndroidApp class PokedexApplication: Application() { }
0
Kotlin
0
0
26b8c749acca4b79575b71b0344f12582cadd0e8
162
pokedex
Apache License 2.0
app/src/main/java/com/jonnyhsia/composer/page/main/discover/multitype/ChannelViewBinder.kt
jonnyhsia
130,314,804
false
null
package com.jonnyhsia.composer.page.main.discover.multitype import android.support.v7.widget.LinearLayoutManager import android.support.v7.widget.RecyclerView import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import com.jonnyhsia.composer.R import com.jonnyhsia.composer.ext.bind...
0
Kotlin
0
4
07fcc842a6b4695352231bf6b5b74b446b59b500
1,996
composer
Apache License 2.0
nomal_lib/src/main/java/com/doctorblue/noname/textinput/TextInputLayout.kt
doctor-blue
298,948,331
false
{"Kotlin": 30831}
package com.doctorblue.noname.textinput import android.content.Context import android.os.Parcelable import android.util.AttributeSet import android.util.Log import android.view.View import android.view.ViewGroup import android.widget.EditText import android.widget.LinearLayout import android.widget.TextView import and...
0
Kotlin
0
2
5704a3b0fd688b666c999498b292d9c6cba33227
5,908
noname-libs-android
Apache License 2.0
app/src/main/java/com/yusuf/paparafinalcase/presentation/splashScreen/SplashSceen.kt
Yusuf-Solmaz
787,535,387
false
{"Kotlin": 131272}
package com.yusuf.paparafinalcase.presentation.splashScreen import androidx.compose.animation.core.RepeatMode import androidx.compose.animation.core.animateFloatAsState import androidx.compose.animation.core.infiniteRepeatable import androidx.compose.animation.core.tween import androidx.compose.foundation.Image impor...
0
Kotlin
0
0
98542f010ae7fa67efa3bff98ce583ea3dc4441d
2,648
Papara-Final-Case-Android
Apache License 2.0
src/main/kotlin/me/luna/trollhack/util/delegate/AsyncCachedValue.kt
NotMonika
509,752,527
false
{"Kotlin": 2035807, "Java": 168054, "GLSL": 91098}
package me.luna.trollhack.util.delegate import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.launch import me.luna.trollhack.util.TimeUnit import me.luna.trollhack.util.threads.defaultScope import kotlin.coroutines.CoroutineContext import kotlin.properties.ReadWriteProperty class AsyncCachedValue<T>( u...
0
Kotlin
0
0
543ac418b69e0c7359cde487e828b4c3d2260241
1,112
MorisaHack
Do What The F*ck You Want To Public License
tabulate-core/src/main/kotlin/io/github/voytech/tabulate/components/document/template/DocumentTemplate.kt
voytech
262,033,710
false
null
package io.github.voytech.tabulate.components.document.template import io.github.voytech.tabulate.components.document.api.builder.dsl.DocumentBuilderApi import io.github.voytech.tabulate.components.document.model.Document import io.github.voytech.tabulate.core.api.builder.dsl.buildModel import io.github.voytech.tabula...
17
Kotlin
0
2
a2e15f25ace603dda68e008f0b6a830bae3aae17
840
tabulate
Apache License 2.0
Android/AppsFlyerURLResolver/AppsFlyerURLResolverLib/src/main/java/com/appsflyer/resolver/URLResolver.kt
AppsFlyerSDK
410,544,537
false
{"Swift": 26019, "Kotlin": 14900, "HTML": 5837, "Ruby": 1076, "Java": 573, "Objective-C": 513}
package com.appsflyer.resolver import android.os.Handler import android.os.Looper import android.util.Log import androidx.annotation.VisibleForTesting import java.net.CookieHandler import java.net.CookieManager import java.util.concurrent.Executors import java.util.concurrent.TimeUnit class URLResolver { private ...
0
Swift
1
0
a3deb3fc617585559b506a8e219d182d9577b111
4,440
appsflyer-urlresolver-client
MIT License
shepherd-web/src/main/kotlin/ui/EditProjectRoute.kt
mvysny
644,365,109
false
{"Kotlin": 181865, "Java": 784, "HTML": 497, "TypeScript": 275, "CSS": 85}
package com.github.mvysny.shepherd.web.ui import com.github.mvysny.karibudsl.v10.KComposite import com.github.mvysny.karibudsl.v10.KFormLayout import com.github.mvysny.karibudsl.v10.VaadinDsl import com.github.mvysny.karibudsl.v10.beanValidationBinder import com.github.mvysny.karibudsl.v10.bigDecimalField import com.g...
5
Kotlin
1
1
99a52396196d1d6b3f8b4aa5e82bc5cc520e78f1
9,171
shepherd-java-client
Apache License 2.0
src/main/kotlin/com/turquase/bookingapi/domain/booking/repository/BookingRepository.kt
shaydaroglu
628,081,502
false
null
package com.turquase.bookingapi.domain.booking.repository import com.turquase.bookingapi.domain.booking.entity.BookingEntity import java.util.* interface BookingRepository { fun save(booking: BookingEntity) fun persistAll(bookings: Iterable<BookingEntity>) fun findOneById(id: Long): BookingEntity? }
0
Kotlin
0
0
c422fac64f6a82c7c3b6a56ae540e01e555ece7a
315
booking-api
Apache License 2.0
mapas/app/src/main/java/com/example/mapas/MainActivity.kt
WilliamQ16
661,788,293
false
null
package com.example.mapas import android.os.Bundle import androidx.activity.ComponentActivity import androidx.activity.compose.setContent import com.example.mapas.components.MainPage import com.example.mapas.ui.theme.ProyectoDashboardTheme class MainActivity : ComponentActivity() { override fun onCreate(savedInst...
0
Kotlin
0
0
f24ff8f81955267dd5716e4ab0c97a8f8e81184b
499
Proyectos_Kotlin
MIT License
src/main/kotlin/dev/crashteam/repricer/repository/postgre/entity/KazanExpressAccountShopEntityWithData.kt
crashteamdev
513,840,113
false
{"Kotlin": 423111, "Java": 188503, "Dockerfile": 576, "PLpgSQL": 483}
package dev.crashteam.repricer.repository.postgre.entity import java.util.* data class KazanExpressAccountShopEntityWithData( val id: UUID? = null, val keAccountId: UUID, val externalShopId: Long, val name: String, val skuTitle: String?, val keAccountShopData: KeAccountShopData? )
11
Kotlin
0
0
efd65b2c070437d021ce9508c7abc5e502307d34
308
ke-space
Apache License 2.0
src/main/kotlin/io/suprgames/serverless/ServerlessDSLGeneratorMain.kt
SuprGames
289,270,391
false
null
package io.suprgames.serverless import io.suprgames.serverless.generator.ServerlessKDSLGenerator import java.lang.RuntimeException object ServerlessDSLGeneratorMain { @JvmStatic fun main(vararg args: String) { if (args.size == 3) { println("Arguments provided: " + args.asList()) ...
0
Kotlin
0
2
e3d710018f0f54f787acf96943592d2544dbfe38
1,471
serverless-kdsl-generator
MIT License
rt-common/src/main/kotlin/xyz/redtorch/common/trade/client/service/TradeClientSyncServiceCallBack.kt
sun0x00
130,566,707
false
null
package xyz.redtorch.common.trade.client.service import xyz.redtorch.common.sync.dto.Notice import xyz.redtorch.common.trade.dto.Order import xyz.redtorch.common.trade.dto.Tick import xyz.redtorch.common.trade.dto.Trade interface TradeClientSyncServiceCallBack { fun handleTradeRtn(trade: Trade) fun handleOrde...
0
null
346
714
c6a036adc262829e28d8e6cd2ea4bc3b7089b863
441
redtorch
MIT License
src/test/kotlin/com/github/fisherman08/micronautbooks/controller/book/BookDeleteControllerTest.kt
fisherman08
334,301,590
false
null
package com.github.fisherman08.micronautbooks.controller.book import com.github.fisherman08.micronautbooks.TestUtils import com.github.fisherman08.micronautbooks.controller.ApiPaths import com.github.fisherman08.micronautbooks.domain.book.Book import com.github.fisherman08.micronautbooks.domain.book.BookId import com....
0
Kotlin
0
1
e0ba367eed3d3b7b84c3bf33336c0de72bad96e1
2,388
micronaut_book_management
MIT License
app/src/main/java/com/fwhyn/noos/ui/news/NewsDetailViewModel.kt
fwhyn
671,795,615
false
null
package com.fwhyn.noos.ui.news import androidx.lifecycle.MutableLiveData import androidx.lifecycle.ViewModel import com.fwhyn.noos.data.models.Article import dagger.hilt.android.lifecycle.HiltViewModel import javax.inject.Inject @HiltViewModel class NewsDetailViewModel @Inject constructor() : ViewModel() { var a...
0
Kotlin
0
0
9a9ad6761d6bfe40fecdd9d2aa1184ad67353f09
357
Noos_Android
Apache License 2.0
app/src/main/java/com/ludovic/vimont/mangareader/api/images/FileDownloader.kt
1ud0v1c
320,667,207
false
null
package com.ludovic.vimont.mangareader.api.images import android.content.ContentResolver import android.content.ContentValues import android.database.Cursor import android.graphics.Bitmap import android.net.Uri import android.os.Build import android.os.Environment import android.provider.MediaStore import com.ludovic....
0
Kotlin
0
0
dc7b0a2d1b73432f7c2b9cfcaa122c4ae9cf24c8
2,908
manga-reader
Apache License 2.0
app/src/main/java/com/example/b_next_kotlin/UserDetailsActivity.kt
molakp
574,473,631
false
{"Kotlin": 129868}
package com.example.b_next_kotlin import android.content.Intent import android.os.Bundle import android.util.Log import android.view.View import android.widget.* import androidx.appcompat.app.AppCompatActivity import com.androidnetworking.AndroidNetworking import com.androidnetworking.common.Priority import com.androi...
0
Kotlin
0
0
b9f1858d46b72f36df1c0e7d7453033fa7328c9d
4,611
B-Next-Kotlin
MIT License
app/src/main/java/xyz/mayahiro/stickyheaderexample/data/ListData.kt
mayahiro
251,658,879
false
null
package xyz.mayahiro.stickyheaderexample.data import org.threeten.bp.LocalDateTime class ListData( val dateTime: LocalDateTime )
0
Kotlin
0
0
1323bc1dcd91d844eb371084581084f2569aba5f
135
StickyHeaderExample
Apache License 2.0
app/src/main/java/com/example/rnsmfitness/services/AuthorizationService.kt
cscopetski
540,597,868
false
{"Kotlin": 137474}
package com.example.rnsmfitness.services import com.example.rnsmfitness.Entities.LoginCredentials import com.example.rnsmfitness.Entities.User import okhttp3.ResponseBody import retrofit2.Call import retrofit2.http.* interface AuthorizationService { @POST("auth/login") fun login(@Body loginCredentials: Login...
0
Kotlin
0
1
0fab5a93196e42dc9c469bd949bd9aedfab4bf71
410
CS4518-2022-Term-Project
MIT License
app/src/main/java/br/com/livroandroid/carros/adapter/CarroAdapter.kt
luizgoes10
148,938,163
false
null
package br.com.livroandroid.carros.adapter import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.ImageView import android.widget.ProgressBar import android.widget.TextView import androidx.cardview.widget.CardView import androidx.recyclerview.widget.RecyclerView...
0
Kotlin
0
0
bbf72c146222ae0fae1d330c4bdbc5df055f0da3
2,141
aulaandroid25-08
MIT License
library_util/src/main/java/com/knight/kotlin/library_util/StringUtils.kt
KnightAndroid
438,567,015
false
null
package com.knight.kotlin.library_util import android.R import android.content.Context import android.text.Spannable import android.text.SpannableStringBuilder import android.text.style.ForegroundColorSpan import androidx.core.content.ContextCompat import java.io.UnsupportedEncodingException import java.net.URLEncode...
0
null
1
6
4d69564ffcca4a24e9f141892aa1e29f4c5e73bb
10,890
wanandroidByKotlin
Apache License 2.0
app/src/main/java/priv/lzy/andtestsuite/viewmodels/SettingViewModel.kt
s549520798
249,212,214
false
{"Java": 534335, "Kotlin": 48208}
package priv.lzy.andtestsuite.viewmodels import androidx.lifecycle.ViewModel import dagger.hilt.android.lifecycle.HiltViewModel @HiltViewModel class SettingViewModel() : ViewModel() { }
1
Java
1
1
8d2c1ef31ab2ce57d34d260f95a4dcbc9758cb5e
187
AndoridTestSuite
Apache License 2.0
src/main/kotlin/com/goodtrip/goodtripserver/authentication/model/RegisterRequest.kt
GoodTripProject
761,902,705
false
{"Kotlin": 85531, "Java": 48371}
package com.goodtrip.goodtripserver.authentication.model import jakarta.validation.constraints.Email import jakarta.validation.constraints.NotBlank import lombok.Builder @Builder data class RegisterRequest( @NotBlank @Email val username: String, @NotBlank val handle: String, @NotBlank val ...
2
Kotlin
0
2
996a6179f35f45a9e4d4b321cfaa936865aebd88
414
GoodTripServer
MIT License
model/room/src/main/java/com/jokubas/mmdb/model/room/databases/WatchlistDatabase.kt
Jokubas126
235,866,403
false
null
package com.jokubas.mmdb.model.room.databases import android.content.Context import androidx.room.Database import androidx.room.Room import androidx.room.RoomDatabase import com.jokubas.mmdb.model.data.entities.WatchlistMovie import com.jokubas.mmdb.model.room.dao.WatchlistMovieDao private const val DATABASE = "watch...
0
Kotlin
1
1
96500633698bc414d433547f9b3ebdb456ab1f46
1,166
MobileMovieDatabase
MIT License
model/room/src/main/java/com/jokubas/mmdb/model/room/databases/WatchlistDatabase.kt
Jokubas126
235,866,403
false
null
package com.jokubas.mmdb.model.room.databases import android.content.Context import androidx.room.Database import androidx.room.Room import androidx.room.RoomDatabase import com.jokubas.mmdb.model.data.entities.WatchlistMovie import com.jokubas.mmdb.model.room.dao.WatchlistMovieDao private const val DATABASE = "watch...
0
Kotlin
1
1
96500633698bc414d433547f9b3ebdb456ab1f46
1,166
MobileMovieDatabase
MIT License
app/src/main/java/com/lttrung/dormitory/domain/usecases/RegisterUseCase.kt
lttrung2001
622,933,615
false
null
package com.lttrung.dormitory.domain.usecases import io.reactivex.rxjava3.core.Single import javax.inject.Singleton @Singleton interface RegisterUseCase { fun execute(username: String, password: String): Single<Unit> }
0
Kotlin
0
0
c53837bf9b491beb1876c86e798fc06be8943868
224
dormitory
MIT License
roboquant-server/src/test/kotlin/org/roboquant/server/WebServerTestIT.kt
neurallayer
406,929,056
false
null
/* * Copyright 2020-2024 Neural Layer * * 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 ag...
9
null
38
300
3baf07f69a3633a1f5522305163386c0b742844d
2,449
roboquant
Apache License 2.0
cathode-sync/src/main/java/net/simonvt/cathode/work/user/SyncUserSettingsWorker.kt
SimonVT
9,478,484
false
null
package net.simonvt.cathode.work.user import android.content.Context import androidx.work.CoroutineWorker import androidx.work.WorkerParameters import com.squareup.inject.assisted.Assisted import com.squareup.inject.assisted.AssistedInject import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.withContext imp...
11
null
9
99
29d916efcd1dbb8ddac1fc2600b2bfbe6ee84c27
900
cathode
Apache License 2.0
src/main/java/dev/rishon/sync/packet/IPacket.kt
Rishon
796,842,972
false
{"Kotlin": 89825}
package dev.rishon.sync.packet import net.minecraft.network.syncher.SynchedEntityData import net.minecraft.world.entity.Entity import org.bukkit.entity.Player import java.lang.reflect.Field interface IPacket { fun updateMetadata(player: Player, entity: Entity) { PacketManager.sendUpdatePacket(player, ent...
0
Kotlin
0
1
8093eadafcbd4e5a3130b0cdae93329b502346a6
777
sync
MIT License
src/test/kotlin/com/gmail/blueboxware/libgdxplugin/json/TestCompletion.kt
BlueBoxWare
64,067,118
false
null
package com.gmail.blueboxware.libgdxplugin.json import com.gmail.blueboxware.libgdxplugin.LibGDXCodeInsightFixtureTestCase import com.intellij.codeInsight.completion.CompletionType /* * Copyright 2019 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in...
2
null
9
145
bcb911e0c3f3e9319bc8ee2d5b6b554c6090fd6c
3,441
LibGDXPlugin
Apache License 2.0
app/src/main/java/com/razaghimahdi/raininglightsanimation/screen/DetailScreen.kt
razaghimahdi
618,537,193
false
null
package com.razaghimahdi.raininglightsanimation.screen import androidx.compose.foundation.Image import androidx.compose.foundation.background import androidx.compose.foundation.layout.* import androidx.compose.material.MaterialTheme import androidx.compose.material.Text import androidx.compose.runtime.Composable impor...
0
Kotlin
0
2
71f93dd6ea3b783fd7e8e0d21032859651d48c5c
5,875
RainingLightsAnimation
Apache License 2.0
app/src/main/java/com/newbiechen/nbreader/ui/component/book/text/parcel/TextParcel.kt
newbiechen1024
239,496,581
false
null
package com.newbiechen.nbreader.ui.component.book.text.parcel import com.newbiechen.nbreader.ui.component.book.text.util.TextByteToBasicUtil /** * author : newbiechen * date : 2020/3/2 4:37 PM * description :文本包装器 */ class TextParcel(private val parcelBuffer: ByteArray, startIndex: Int = 0) { private var ...
5
Kotlin
8
37
e423b13915578ab95c1683bfa7a70e59f19f2eab
2,014
NBReader
Apache License 2.0
src/test/kotlin/leetcode/LC_238_ProductOfArrayExceptSelfTest.kt
so3500
110,426,646
false
{"Java": 733632, "Kotlin": 67130, "Python": 10364, "Shell": 893}
package leetcode import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Test class LC_238_ProductOfArrayExceptSelfTest { private val lc238 = LC_238_ProductOfArrayExceptSelf() @Test fun productExceptSelf() { assertThat(lc238.productExceptSelf(intArrayOf(1, 2, 3, 4))).isEqualTo(intArrayOf(...
1
Java
1
1
1e2a25431b419d0e8d60f5ca88dde8c08d870786
611
problem-solving
MIT License
kotlin-mui-icons/src/main/generated/mui/icons/material/SdRounded.kt
JetBrains
93,250,841
false
null
// Automatically generated - do not modify! @file:JsModule("@mui/icons-material/SdRounded") @file:JsNonModule package mui.icons.material @JsName("default") external val SdRounded: SvgIconComponent
10
Kotlin
145
983
7ef1028ba3e0982dc93edcdfa6ee1edb334ddf35
200
kotlin-wrappers
Apache License 2.0
game/engine/src/main/kotlin/de/gleex/pltcmd/game/engine/messages/ConversationMessage.kt
Baret
227,677,538
false
{"Kotlin": 771077}
package de.gleex.pltcmd.game.engine.messages import de.gleex.pltcmd.game.engine.GameContext import de.gleex.pltcmd.game.engine.entities.types.CommunicatingEntity import de.gleex.pltcmd.model.radio.communication.Conversation import org.hexworks.amethyst.api.Message /** Message to execute conversations between entities...
47
Kotlin
0
4
5c7a411d3c6b7bffa68541786b55084f0fddd69c
514
pltcmd
MIT License
src/Day04.kt
MwBoesgaard
572,857,083
false
null
fun main() { fun doesOneRangeContainTheOther(rangeA: IntRange, rangeB: IntRange): Boolean { return rangeA.all { it in rangeB } || rangeB.all { it in rangeA } } fun doRangesHaveAnyValueThatOverlap(rangeA: IntRange, rangeB: IntRange): Boolean { return rangeA.any { it in rangeB } } fu...
0
Kotlin
0
0
3bfa51af6e5e2095600bdea74b4b7eba68dc5f83
1,147
advent_of_code_2022
Apache License 2.0
app/src/main/java/com/m3rc/beerbox/app/beer/viewholder/ProgressViewHolder.kt
M3rcur14l
171,579,998
false
null
package com.m3rc.beerbox.app.beer.viewholder import android.view.LayoutInflater import android.view.View import android.view.View.GONE import android.view.View.VISIBLE import android.view.ViewGroup import androidx.recyclerview.widget.RecyclerView import com.m3rc.beerbox.R import com.m3rc.beerbox.bus.annotation.Executi...
1
null
1
1
7647e42d4c1011ee125b6f848e914b8d090d795b
752
Beer-Box
Apache License 2.0
app/src/main/kotlin/no/nav/tiltakspenger/vedtak/ApplicationBuilder.kt
navikt
487,246,438
false
{"Kotlin": 876482, "Shell": 1309, "Dockerfile": 495, "HTML": 45}
package no.nav.tiltakspenger.vedtak import mu.KotlinLogging import no.nav.helse.rapids_rivers.RapidApplication import no.nav.helse.rapids_rivers.RapidsConnection import no.nav.tiltakspenger.innsending.service.InnsendingAdminService import no.nav.tiltakspenger.saksbehandling.service.personopplysning.PersonopplysningSer...
4
Kotlin
0
1
feba2c4c0d09930c028a0fc25d5b02f583e4c5f5
6,512
tiltakspenger-vedtak
MIT License
pleo-antaeus-data/src/main/kotlin/io/pleo/antaeus/data/InvoiceDal.kt
more-carlos
319,123,117
true
{"Kotlin": 33045, "Shell": 861, "Dockerfile": 249}
/* Implements the data access layer (DAL). The data access layer generates and executes requests to the database. See the `mappings` module for the conversions between database rows and Kotlin objects. */ package io.pleo.antaeus.data import io.pleo.antaeus.models.Customer import io.pleo.antaeus.models.I...
0
Kotlin
0
0
958de07ee4815784f6c515c15f90a26a1e8af29a
2,632
antaeus
Creative Commons Zero v1.0 Universal
app/src/main/java/com/sukacolab/app/ui/feature/user/profile/sub_screen/certification/add_certification/AddCertificationViewModel.kt
cahyadiantoni
757,308,387
false
{"Kotlin": 898794}
package com.sukacolab.app.ui.feature.user.profile.sub_screen.certification.add_certification import android.util.Log import androidx.compose.runtime.State import androidx.compose.runtime.mutableStateOf import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import androidx.lifecycle.ViewModel impo...
0
Kotlin
0
0
e189385bc897cfe187d87d70138e260027a1a640
4,470
sukacolab
MIT License
compiler/ir/backend.py/src/org/jetbrains/kotlin/ir/backend/py/lower/calls/EqualityAndComparisonCallsTransformer.kt
krzema12
312,049,057
true
null
/* * Copyright 2010-2018 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.ir.backend.py.lower.calls import org.jetbrains.kotlin.ir.backend.py.PyIrBackendC...
34
Kotlin
2
24
af0c7cfbacc9fa1cc9bec5c8e68847b3946dc33a
7,281
kotlin-python
Apache License 2.0
app/src/main/java/com/example/snapstory/data/local/db/SnapStoryDb.kt
syenirasheila
804,532,533
false
{"Kotlin": 96042}
package com.example.snapstory.data.local.db import android.content.Context import androidx.room.Database import androidx.room.Room import androidx.room.RoomDatabase import com.example.snapstory.data.local.db.dao.RemoteKeyDao import com.example.snapstory.data.local.db.dao.StoryDao import com.example.snapstory.data.loca...
0
Kotlin
0
0
1ace917f6e6dfc5ea19c3092cd4b1cbe7ec49baf
1,211
SnapStory
MIT License
core/ui/src/main/kotlin/org/michaelbel/movies/ui/preview/provider/MovieDbPreviewParameterProvider.kt
michaelbel
115,437,864
false
null
package org.michaelbel.movies.ui.preview.provider import androidx.compose.ui.tooling.preview.PreviewParameterProvider import org.michaelbel.movies.network.model.Movie import org.michaelbel.movies.persistence.database.entity.MovieDb class MovieDbPreviewParameterProvider: PreviewParameterProvider<MovieDb> { overrid...
7
null
31
174
6cfc90ff125728cfd6d37094a1f878d2067d6ac3
1,180
movies
Apache License 2.0
core/android/src/main/kotlin/com/walletconnect/android/internal/utils/Time.kt
WalletConnect
435,951,419
false
{"Kotlin": 1915794, "Java": 4358, "Shell": 1892}
@file:JvmName("Time") package com.walletconnect.android.internal.utils import java.util.concurrent.TimeUnit val CURRENT_TIME_IN_SECONDS: Long = System.currentTimeMillis() / 1000 val THIRTY_SECONDS: Long = TimeUnit.SECONDS.convert(30, TimeUnit.SECONDS) val FIVE_MINUTES_IN_SECONDS: Long = TimeUnit.SECONDS.convert(5, T...
156
Kotlin
71
171
dda3aac207a2c9d9696764efd4a2f5bb585707b4
550
WalletConnectKotlinV2
Apache License 2.0
src/main/kotlin/Result.kt
isyscore
324,273,717
false
null
@file:Suppress("unused") package com.isyscore.kotlin.ktor import kotlinx.serialization.Serializable @Serializable data class Result<T>(val code: Int, val message: String, val data: T?) { companion object { fun success(message: String = ""): Result<*> = Result(200, message, null) fun fail400(messa...
0
Kotlin
0
1
88ef80605ba4a1c679a64bcb64ad0c38bae4035d
719
common-ktor
MIT License
rounded/src/commonMain/kotlin/me/localx/icons/rounded/outline/Starfighter.kt
localhostov
808,861,591
false
{"Kotlin": 79430321, "HTML": 331, "CSS": 102}
package me.localx.icons.rounded.outline 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
3,506
icons
MIT License
src/main/kotlin/apoc/nlp/gcp/GCPClient.kt
jakewins
254,394,679
true
{"Java": 2783492, "HTML": 33945, "Kotlin": 27902, "TSQL": 5208, "ANTLR": 1365}
package apoc.nlp.gcp import apoc.result.MapResult import apoc.util.JsonUtil import org.neo4j.logging.Log import java.io.DataOutputStream import java.net.URL import javax.net.ssl.HttpsURLConnection enum class GCPEndpoint(val method: String) { CLASSIFY("/documents:classifyText"), SENTIMENT("/documents:analyzeS...
0
null
0
0
b9ef2b0508897f852ebff10b23ce5863eae15644
1,926
neo4j-apoc-procedures
Apache License 2.0
library/src/commonMain/kotlin/Transfer.kt
DrewCarlson
228,961,452
false
null
/* * Created by Drew Carlson. * Copyright (c) 2021 Breadwinner AG. All right reserved. * * See the LICENSE file at the project root for license information. * See the CONTRIBUTORS file at the project root for a list of contributors. */ package com.blockset.walletkit /** * A Transfer represents the transfer of ...
4
Kotlin
1
1
6a6b20a69e6307d89ad7ce3494fb794411fb7e76
3,757
WalletKit-Kotlin
The Unlicense
runtime/observability/telemetry-api/common/src/aws/smithy/kotlin/runtime/telemetry/logging/LoggerProvider.kt
smithy-lang
294,823,838
false
{"Kotlin": 4171610, "Smithy": 122979, "Python": 1215}
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ package aws.smithy.kotlin.runtime.telemetry.logging /** * Entry point for creating [Logger] instances */ public interface LoggerProvider { public companion object { /** * A no-op ...
36
Kotlin
26
82
ad18e2fb043f665df9add82083c17877a23f8610
833
smithy-kotlin
Apache License 2.0
old_recipe/app/src/main/java/work/shion/androidrecipe/usecases/ToDoUseCase.kt
tshion
261,409,412
false
null
package work.shion.androidrecipe.usecases import work.shion.androidrecipe.entities.ToDoEntity import work.shion.androidrecipe.repositories.IToDoRepository /** * ToDo関連フロー */ class ToDoUseCase( private val todoRepository: IToDoRepository ) : IToDoUseCase { /** * 新規生成 * ToDo: 入力検証 */ o...
6
Kotlin
0
0
c0604fd03c4eb9127529c9ae6a66105ae2dfd957
749
XAppRecipe
MIT License
old_recipe/app/src/main/java/work/shion/androidrecipe/usecases/ToDoUseCase.kt
tshion
261,409,412
false
null
package work.shion.androidrecipe.usecases import work.shion.androidrecipe.entities.ToDoEntity import work.shion.androidrecipe.repositories.IToDoRepository /** * ToDo関連フロー */ class ToDoUseCase( private val todoRepository: IToDoRepository ) : IToDoUseCase { /** * 新規生成 * ToDo: 入力検証 */ o...
6
Kotlin
0
0
c0604fd03c4eb9127529c9ae6a66105ae2dfd957
749
XAppRecipe
MIT License
plugins/git4idea/src/git4idea/rebase/GitInteractiveRebaseAction.kt
androidports
115,100,208
false
null
/* * Copyright 2000-2017 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...
6
null
1
4
6e4f7135c5843ed93c15a9782f29e4400df8b068
1,561
intellij-community
Apache License 2.0
core/src/main/java/me/kwsk/odptlibrary/core/api/common/OdptTicketType.kt
teracy
115,876,824
false
{"Gradle": 5, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 4, "Batchfile": 1, "Proguard": 3, "Java": 4, "XML": 14, "Kotlin": 119, "JSON": 64}
package me.kwsk.odptlibrary.core.api.common import com.google.gson.JsonDeserializationContext import com.google.gson.JsonDeserializer import com.google.gson.JsonElement import com.google.gson.JsonPrimitive import java.lang.reflect.Type /** * チケット種別ID */ data class OdptTicketType(var id: String) class OdptTicketTyp...
0
Kotlin
0
5
b3fa9249598148fc9cca0574cb62998e42b538f9
876
OdptLibrary
Apache License 2.0
compiler/testData/diagnostics/tests/modifiers/const/typeOperator.kt
JetBrains
3,432,266
false
{"Kotlin": 79416037, "Java": 6924539, "Swift": 4063829, "C": 2609780, "C++": 1953689, "Objective-C++": 175289, "JavaScript": 130738, "Python": 59811, "Shell": 32949, "Objective-C": 21463, "Lex": 21452, "Batchfile": 11382, "CSS": 11368, "Ruby": 10470, "Dockerfile": 9907, "Groovy": 7092, "EJS": 5241, "CMake": 4473, "HTML...
// DIAGNOSTICS: -INCOMPATIBLE_TYPES -USELESS_CAST class MyClass const val asOperator1 = 1 as Int const val asOperator2 = <!CONST_VAL_WITH_NON_CONST_INITIALIZER!>1 <!CAST_NEVER_SUCCEEDS!>as<!> String<!> <!TYPE_CANT_BE_USED_FOR_CONST_VAL!>const<!> val asOperator3 = "1" <!CAST_NEVER_SUCCEEDS!>as?<!> Int <!TYPE_CANT_BE_U...
179
Kotlin
5706
48,889
c46c3c26038158cf80a739431ac8807ac4bbbc0c
798
kotlin
Apache License 2.0
src/test/kotlin/com/github/zxj5470/bugktdoc/samples/functions-lambda.kt
zxj5470
94,797,590
false
null
package com.github.zxj5470.bugktdoc.samples /** * @author zxj5470 * @date 27/05/2018 */ /** * * @param block () -> Unit */ fun lambda(block: () -> Unit) { } /** * * @param block String.() -> Unit * @return Unit */ fun lambda(block: String.() -> Unit) { } /** * * @param block Pair<String, Int>.() -> Un...
5
Kotlin
1
30
f47006b3b5dec3ac92fb283caedcc96868eb1a6e
498
BugKotlinDocument
Apache License 2.0
kotlin-beans-dsl/kotlin-config-dsl/src/main/kotlin/daggerok/KotlinConfigDslApplication.kt
daggerok
102,229,956
false
null
package daggerok import org.springframework.context.support.GenericApplicationContext import org.springframework.context.support.beans interface MyService { fun sayHi(): String } class MyServiceImpl : MyService { override fun sayHi() = "hello!" } fun beans() = beans { bean<MyService> { MyServiceImpl() }...
10
null
38
97
11340b9fe8b0b53445d7ed869d409d378999e334
730
spring-5-examples
MIT License
Taller_10/src/universidadean/taller10/LinkedListTest.kt
LeonardoJimenezUbaque
595,657,385
false
{"Markdown": 1, "Text": 1, "XML": 165, "Java": 28, "Kotlin": 54, "Ignore List": 19}
package universidadean.taller10 import org.junit.jupiter.api.Assertions.* import org.junit.jupiter.api.Test internal class LinkedListTest { @Test fun pruebaAgregarAlFinal() { val lista: IList<Int> = LinkedList() assertEquals(0, lista.size()) lista.add(10) lista.add(2) ...
1
null
1
1
cab656704242b2b0b3ad671e37350261357abe51
10,294
Estructura_de_Datos_G1_S2
MIT License
app/src/main/java/com/theostanton/lfgss/MainActivity.kt
theostanton
52,742,787
false
{"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "Java": 11, "XML": 28, "HTML": 1, "Kotlin": 36, "JSON": 4}
package com.theostanton.lfgss import android.os.Bundle import com.theostanton.lfgss.base.BaseActivity import com.theostanton.lfgss.home.HomeActivity import kotlinx.android.synthetic.main.activity_main.* import org.jetbrains.anko.onClick import org.jetbrains.anko.startActivity import timber.log.Timber /** * Created b...
1
null
1
1
692d04337398ddc58b6bd11c88b6fa3af090c8ea
656
LFGSS
MIT License
libraries/rib-base/src/main/java/com/badoo/ribs/core/view/AndroidRibView2.kt
badoo
170,855,556
false
null
package com.badoo.ribs.core.view import android.os.Bundle import android.view.ViewGroup import androidx.lifecycle.Lifecycle import androidx.lifecycle.LifecycleOwner import androidx.lifecycle.setViewTreeLifecycleOwner import androidx.savedstate.SavedStateRegistry import androidx.savedstate.SavedStateRegistryController ...
34
null
50
162
cec2ca936ed17ddd7720b4b7f8fca4ce12033a89
1,417
RIBs
Apache License 2.0
src/aoc2017/kot/Day18.kt
Tandrial
47,354,790
false
null
package aoc2017.kot import VM import java.io.File object Day18 { fun partOne(input: List<String>): Long = VM(input, listOf("partOne" to 1L)).run() fun partTwo(input: List<String>): Long { val vm1 = VM(input, listOf("p" to 0L)) val vm2 = VM(input, listOf("p" to 1L)) var result1 = 1L var result2 =...
0
null
1
1
9294b2cbbb13944d586449f6a20d49f03391991e
964
Advent_of_Code
MIT License
base/core/src/main/java/com/ltd_tech/core/BaseViewModel.kt
wudaocs
581,002,519
false
{"Java": 327995, "Kotlin": 309502}
package com.ltd_tech.core import androidx.lifecycle.LifecycleObserver import androidx.lifecycle.ViewModel import kotlinx.coroutines.CoroutineScope import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.cancel open class BaseViewModel : ViewModel(), LifecycleObserver { private val mCoroutine : CoroutineS...
1
null
1
1
6fef5b463ba44c65d66267cb96f91e6492a62572
452
CasualReader
Apache License 2.0
plugins/gradle/tooling-extension-impl/testSources/com/intellij/gradle/toolingExtension/tests/modelBuilder/MessageBuilderTest.kt
JetBrains
2,489,216
false
null
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. package com.intellij.gradle.toolingExtension.tests.modelBuilder import com.intellij.openapi.externalSystem.model.ExternalSystemException import com.intellij.util.ExceptionUtil import org.junit.jupit...
284
null
5162
16,707
def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0
6,900
intellij-community
Apache License 2.0
examples/dagger/test/coffee/BasicTestUtil.kt
cgruber
120,685,523
false
null
package coffee import heating.Heater internal fun isHeaterOn(heater: Heater): Boolean = heater.isOn
1
null
3
15
50d5d1ae1b4e4ad24472688e78057b58d7986763
102
rules_kotlin
Apache License 2.0
idea/tests/testData/inspectionsLocal/replaceNotNullAssertionWithElvisReturn/basic2.kt
JetBrains
278,369,660
false
null
fun foo(): Int? = null fun test() { foo()!!<caret> }
0
Kotlin
30
82
cc81d7505bc3e9ad503d706998ae8026c067e838
57
intellij-kotlin
Apache License 2.0
tmp/arrays/youTrackTests/8999.kt
DaniilStepanov
228,623,440
false
{"Git Config": 1, "Gradle": 6, "Text": 3, "INI": 5, "Shell": 2, "Ignore List": 3, "Batchfile": 2, "Markdown": 2, "Kotlin": 15942, "JavaScript": 4, "ANTLR": 2, "XML": 12, "Java": 4}
// Original bug: KT-16350 fun main(args: Array<String>) { val active = arrayOf(false, true, false) val values = arrayOf(1, null, 3) for (i in 0..2) { if (!active[i] && check(i, values[i]!!)) {} } } fun check(index: Int, value: Int): Boolean { println("" + index + " : " + value) return ...
1
null
11
1
602285ec60b01eee473dcb0b08ce497b1c254983
327
bbfgradle
Apache License 2.0
idea/idea-analysis/src/org/jetbrains/kotlin/idea/caches/trackers/psiModificationTrackerCompat.kt
android
263,405,600
true
null
/* * Copyright 2010-2019 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.idea.caches.trackers import com.intellij.psi.impl.PsiModificationTrackerImpl //...
0
Kotlin
37
316
74126637a097f5e6b099a7b7a4263468ecfda144
448
kotlin
Apache License 2.0
service_management/service_management.service/service_management.service.rest/src/main/java/org/eclipse/slm/service_management/service/rest/docker_compose/DockerComposeFileService.kt
sriluxman
790,281,437
true
{"JSON": 26, "Maven POM": 62, "Markdown": 30, "Git Attributes": 1, "Text": 2, "Ignore List": 6, "YAML": 184, "XML": 7, "Java": 316, "Kotlin": 208, "HTTP": 11, "JavaScript": 67, "Dotenv": 7, "JSON with Comments": 2, "Dockerfile": 25, "Browserslist": 1, "HTML": 2, "Vue": 117, "SCSS": 2, "Sass": 15, "SVG": 2, "HCL": 16, "...
package org.eclipse.slm.service_management.service.rest.docker_compose import com.fasterxml.jackson.annotation.JsonAutoDetect import com.fasterxml.jackson.annotation.JsonIgnoreProperties import com.fasterxml.jackson.annotation.JsonInclude import com.fasterxml.jackson.annotation.JsonProperty import com.fasterxml.jackso...
0
Java
0
0
7f78aba76cbfe051af60dbee118bcc9a5fda139c
1,946
slm
Apache License 2.0
simple/composeApp/src/wasmJsMain/kotlin/main.kt
the-best-is-best
860,996,829
false
{"Kotlin": 33241, "Swift": 1278, "HTML": 832, "Ruby": 252}
import androidx.compose.ui.ExperimentalComposeUiApi import androidx.compose.ui.window.CanvasBasedWindow import io.github.sample.App @OptIn(ExperimentalComposeUiApi::class) fun main() { CanvasBasedWindow("sample") { App() } }
0
Kotlin
0
0
d7a9f3a5c441b9a5dadfc4ec9c7c2a179b692b87
242
kmmCrypto
Apache License 2.0
src/main/kotlin/no/nav/familie/tilbake/faktaomfeilutbetaling/domain/HendelsestypePerYtelsestype.kt
navikt
319,703,962
false
null
package no.nav.familie.tilbake.faktaomfeilutbetaling.domain import no.nav.familie.kontrakter.felles.tilbakekreving.Ytelsestype object HendelsestypePerYtelsestype { private val HIERARKI = mapOf( Ytelsestype.BARNETRYGD to setOf( Hendelsestype.ANNET, Hendelsestype.SATSER, ...
17
Kotlin
0
2
3e16db0882504b3e4274f4e8560ba9e816ebdc3f
2,060
familie-tilbake
MIT License
mobile_app1/module1093/src/main/java/module1093packageKt0/Foo11.kt
uber-common
294,831,672
false
null
package module1093packageKt0; annotation class Foo11Fancy @Foo11Fancy class Foo11 { fun foo0(){ module1093packageKt0.Foo10().foo3() } fun foo1(){ foo0() } fun foo2(){ foo1() } fun foo3(){ foo2() } }
6
Java
6
72
9cc83148c1ca37d0f2b2fcb08c71ac04b3749e5e
235
android-build-eval
Apache License 2.0
spring-web/src/test/kotlin/org/springframework/web/method/support/InvocableHandlerMethodKotlinTests.kt
spring-projects
1,148,753
false
null
/* * Copyright 2002-2024 the original author or authors. * * 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 a...
4
null
9
54,185
1a52c56bd42c1a9ba8cc8f8849d5f5cb742a97e5
7,576
spring-framework
Apache License 2.0
packages/expo-development-client/android/src/main/java/expo/modules/developmentclient/launcher/loaders/DevelopmentClientExpoAppLoader.kt
beaur
236,665,759
false
null
package expo.modules.developmentclient.launcher.loaders import android.content.Context import android.graphics.Color import android.view.View import com.facebook.react.ReactActivity import com.facebook.react.ReactNativeHost import com.facebook.react.bridge.ReactContext import expo.modules.developmentclient.helpers.isV...
1
null
1
1
27df1c8f23d7765f4241b7ccbffdbaed4b322449
1,592
expo
Apache License 2.0
app/src/main/java/id/febridk/github/data/model/DetailUser.kt
febridk
329,955,361
false
null
package id.febridk.github.data.model data class DetailUser( val login: String, val avatar_url: String, val followers_url: String, val following_url: String, val name: String, val following: Int = 0, val followers: Int = 0 )
0
Kotlin
0
0
2a8bb41784ec1e7787f9d56c39a88ba80c3369df
252
GithubApp
MIT License
line-awesome/src/commonMain/kotlin/compose/icons/lineawesomeicons/SmogSolid.kt
DevSrSouza
311,134,756
false
null
package compose.icons.lineawesomeicons import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap.Butt import androidx.compose.ui.graphics.StrokeJoin.Miter import androidx.compose.ui.gra...
17
null
25
571
a660e5f3033e3222e3553f5a6e888b7054aed8cd
2,649
compose-icons
MIT License
lawnchair/src/app/lawnchair/ui/preferences/components/colorpreference/PagerHeightModifier.kt
ech0devv
490,432,462
true
{"Java": 6794957, "Kotlin": 604402, "AIDL": 13547, "Python": 13270, "Makefile": 11446}
package app.lawnchair.ui.preferences.components.colorpreference import androidx.compose.ui.Modifier import androidx.compose.ui.layout.LayoutModifier import androidx.compose.ui.layout.Measurable import androidx.compose.ui.layout.MeasureResult import androidx.compose.ui.layout.MeasureScope import androidx.compose.ui.uni...
0
Java
0
1
69b73fa56c5a1525aef3581b69c8b6825628551d
2,552
lawnchair
Apache License 2.0
booklab-backend/src/main/kotlin/nl/tudelft/booklab/backend/spring/Configuration.kt
fabianishere
146,456,375
false
null
/* * Copyright 2018 The BookLab Authors. * * 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 agr...
0
Kotlin
5
22
6489bac6e326e5196c311dd134c9e844e7a4f230
2,804
booklab
Apache License 2.0
app/src/main/java/com/example/android/politicalpreparedness/database/ElectionDao.kt
tudang88
615,278,817
false
null
package com.example.android.politicalpreparedness.database import androidx.lifecycle.LiveData import androidx.room.Dao import androidx.room.Insert import androidx.room.OnConflictStrategy import androidx.room.Query import com.example.android.politicalpreparedness.network.models.Election @Dao interface ElectionDao { ...
0
Kotlin
0
0
284cda7122972dbffb95b9d4d06ae38c2315a3fb
1,054
PoliticalPreparedness
Apache License 2.0
whats-new-assistant/src/com/android/tools/idea/whatsnew/assistant/actions/BuildAnalyzerShowAction.kt
JetBrains
60,701,247
false
null
/* * Copyright (C) 2020 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
0
null
187
751
16d17317f2c44ec46e8cd2180faf9c349d381a06
2,864
android
Apache License 2.0
src/main/kotlin/com/dp/advancedgunnerycontrol/typesandvalues/FireMode.kt
DesperatePeter
361,380,141
false
null
package com.dp.advancedgunnerycontrol.typesandvalues import com.dp.advancedgunnerycontrol.weaponais.* import com.dp.advancedgunnerycontrol.weaponais.suffixes.SuffixBase import com.fs.starfarer.api.combat.AutofireAIPlugin typealias FireModeMap = Map<FireMode, AutofireAIPlugin> enum class FireMode { DEFAULT, PD, M...
0
Kotlin
1
1
c53b0323dfa02b3bb6082a64c26376564ccc00b7
5,796
starsector-advanced-weapon-control
MIT License
alchemist/alchemist-smartcam/src/test/kotlin/it/unibo/alchemist/test/TestZigZagRandomTarget.kt
Vuksaa
131,974,726
true
{"Java": 2012296, "Kotlin": 781704, "SCSS": 46029, "Scala": 34570, "XSLT": 5955, "ANTLR": 4034, "HTML": 1615, "CSS": 1075}
package it.unibo.alchemist.test import io.kotest.core.spec.style.StringSpec import io.kotest.core.test.TestCase import io.kotest.matchers.doubles.plusOrMinus import io.kotest.matchers.shouldBe import io.kotest.matchers.shouldNotBe import it.unibo.alchemist.model.implementations.movestrategies.ZigZagRandomTarget import...
0
Java
0
0
99772160fc14dcf5fefab24d74deba75b357328f
2,632
Alchemist
Creative Commons Attribution 3.0 Unported
app/src/main/java/com/avaliadorimovel/main/MainPresenter.kt
rolphmc
350,545,871
false
null
package com.avaliadorimovel.main class MainPresenter { }
0
Kotlin
0
0
4222503f4be7ec3c224b4e089d1c4bb39df982fa
57
projeto-quanto-custa-seu-imovel
MIT License
05.BindingConvertions/app/src/main/java/com/jdc/convert/DateConversion.kt
minlwin
233,192,363
false
null
package com.jdc.convert import androidx.databinding.BindingConversion import java.text.SimpleDateFormat import java.util.* object DateConversion { private val format = SimpleDateFormat("yyyy-MM-dd HH:mm") @JvmStatic @BindingConversion fun convertToString(date: Date) = format.format(date) }
0
Kotlin
0
4
6971afb1b7a8602f7ea8dd207f346a803b941a63
310
acl3-data-binding
MIT License
app/src/main/java/com/kaiserpudding/novel2go/model/Download.kt
XiangRongLin
211,704,746
false
null
package com.kaiserpudding.novel2go.model import androidx.room.Entity import androidx.room.PrimaryKey import java.io.File /** * Information about the downloaded chapter for local use. * * @property title * @property path * @property url */ @Entity(tableName = "downloads") data class Download( val title: Stri...
22
Kotlin
0
0
2acca2a8571acf5bc3b14438f99fe0fbcb22df8f
573
Novel2Go
Apache License 2.0
lovebird-api/src/main/kotlin/com/lovebird/api/dto/param/external/ProfileUploadPresignedUrlParam.kt
wooda-ege
722,352,043
false
{"Kotlin": 272410, "HTML": 216136, "Shell": 1813}
package com.lovebird.api.dto.param.external data class ProfileUploadPresignedUrlParam( val providerId: String, val filename: String )
2
Kotlin
0
13
d947fed4fd92f52e04b238480c95b9ad48f9eb61
137
lovebird-server
MIT License