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
app/src/main/java/com/dfl/xkdc/di/modules/NetworkModule.kt
dfloureiro
148,074,026
false
null
package com.dfl.xkdc.di.modules import com.dfl.xkdc.network.XkcdServices import dagger.Module import dagger.Provides import okhttp3.OkHttpClient import retrofit2.Retrofit import retrofit2.adapter.rxjava2.RxJava2CallAdapterFactory import retrofit2.converter.moshi.MoshiConverterFactory import javax.inject.Singleton @Mo...
0
Kotlin
1
1
7b999dd9237fa9f65b8353dcca7feaf4a8389de1
1,326
xkcd-reader
Apache License 2.0
arc-agents/src/test/kotlin/functions/JsonsTest.kt
lmos-ai
790,083,697
false
null
// SPDX-FileCopyrightText: 2024 Deutsche Telekom AG // // SPDX-License-Identifier: Apache-2.0 package ai.ancf.lmos.arc.agents.functions import ai.ancf.lmos.arc.agents.TestBase import ai.ancf.lmos.arc.core.Failure import ai.ancf.lmos.arc.core.getOrThrow import org.assertj.core.api.Assertions.assertThat import org.juni...
7
null
3
56
680603e0ef25432e59b36431a77bea5c2b1b8fda
1,241
arc
Apache License 2.0
app/src/main/java/com/baymax104/bookmanager20/architecture/domain/Requester.kt
Baymax104
616,083,064
false
null
package com.baymax104.bookmanager20.architecture.domain import androidx.lifecycle.ViewModel /** *@Description *@Author John *@email *@Date 2023/4/13 20:28 *@Version 1 */ open class Requester : ViewModel() { class ResultCallback<T> { private var onSuccess: (T) -> Unit = {} private var onFail:...
0
Kotlin
0
0
80fb6a94bd95399386dc900ace88eedd975120b9
886
BookManager2.0
MIT License
src/main/java/com/p2p/lending/impl/InvestStatServiceImpl.kt
lordqyxz
209,478,108
false
null
package com.p2p.lending.impl import com.p2p.lending.service.InvestStatService import org.springframework.stereotype.Service @Service class InvestStatServiceImpl : InvestStatService
1
null
1
1
166a224e41c4385634adb75c87f493524a679a71
183
lending
MIT License
app/src/main/java/com/steve/githubinfosearcher/dataModel/UserModel.kt
steve0802
269,522,575
false
null
package com.steve.githubinfosearcher.dataModel import android.widget.ImageView import androidx.databinding.BindingAdapter import com.bumptech.glide.Glide import com.bumptech.glide.request.RequestOptions import com.google.gson.annotations.SerializedName class UserModel { var login: String? = null var home_url:...
0
Kotlin
0
0
9fd44baef9908d72fe8b82251bd0d9ac8112ba0c
712
GitHubInfoSearcher
MIT License
src/main/kotlin/com/github/mkartashev/hserr/miner/HsErrLog.kt
JetBrains
817,294,168
false
{"Kotlin": 214924, "Java": 173358, "Lex": 6208}
// Copyright 2024 JetBrains s.r.o. and contributors. // Use of this source code is governed by the Apache 2.0 license. package com.github.mkartashev.hserr.miner import com.github.mkartashev.hserr.miner.artifact.Artifact import com.github.mkartashev.hserr.miner.artifact.ArtifactExtractionException import com.github.mk...
2
Kotlin
2
11
ac0e3b1ee6235b22f4497bf17d4341a281bb85ba
1,835
HotSpotCrashExaminerPlugin
Apache License 2.0
app/src/main/java/com/example/android/lifecycles/arap_osaka/fragmentToActivity/HogeViewModel.kt
kwmt
208,256,915
true
{"Kotlin": 51198, "Java": 40477}
package com.example.android.lifecycles.arap_osaka.fragmentToActivity import androidx.lifecycle.MutableLiveData import androidx.lifecycle.ViewModel class HogeViewModel : ViewModel() { val clickEvent = MutableLiveData<String>() fun onClick() { clickEvent.value = "ボタンが押されたよ" } }
0
Kotlin
0
0
0ce66f45e99e1813e07de02c05f417da707bcb44
299
android-lifecycles
Apache License 2.0
app/src/main/java/me/yshalsager/tictactoe/screens/home/HomeFragment.kt
yshalsager
316,334,666
false
null
package me.yshalsager.tictactoe.screens.home import android.os.Bundle import android.view.LayoutInflater import android.view.Menu import android.view.MenuInflater import android.view.MenuItem import android.view.View import android.view.ViewGroup import androidx.databinding.DataBindingUtil import androidx.fragment.app...
0
Kotlin
1
2
30a2f4deaf4d976b4fc326beb96fe305289ee5c4
2,296
TicTacToe
MIT License
lib/src/commonMain/kotlin/io/telereso/annotations/client/Platform.kt
telereso
588,403,597
false
{"Kotlin": 212388, "Java": 17627, "Swift": 14941, "JavaScript": 11357, "TypeScript": 7625, "C++": 7349, "Ruby": 5455, "Objective-C": 4612, "Objective-C++": 4610, "Shell": 3312, "HTML": 1721, "CSS": 930, "Starlark": 602, "EJS": 305, "CMake": 281, "C": 103}
package io.telereso.annotations.client import io.telereso.kmp.core.Settings import com.squareup.sqldelight.db.SqlDriver // For Android Parcelable /** * By declaring an empty expected interface in our common sourceset, we will be able to write classes that implement Parcelable. */ expect interface Parcelable /** ...
2
Kotlin
0
4
53f6745946def6fab4c88e8ae19b15240f96891b
1,338
kmp-annotations
MIT License
app/src/main/java/com/arshadshah/nimaz/helperClasses/utils/sunMoonUtils/SunCoords.kt
MBilawalGhaffar
537,046,804
false
{"Kotlin": 442307}
package com.arshadshah.nimaz.helperClasses.utils.sunMoonUtils internal data class SunCoords( val dec: Double, val ra: Double )
0
null
1
2
bda650d5498e30973c1d08fb2a9d5eff1895cdba
135
Nimaz
MIT License
roboquant-crypto/test/xchange/XChangeLiveFeedTestIT.kt
trumae
431,205,225
true
{"Kotlin": 989653}
/* * Copyright 2021 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 agreed t...
0
null
0
0
63fcf0fc8e41ae1e3b7d2f7d131fe41638537af4
1,848
roboquant
Apache License 2.0
HTTPShortcuts/framework/src/main/kotlin/ch/rmy/android/framework/data/BaseRepository.kt
Waboodoo
34,525,124
false
null
package ch.rmy.android.framework.data import ch.rmy.android.framework.extensions.detachFromRealm import io.realm.Realm import io.realm.RealmList import io.realm.RealmModel import io.realm.RealmQuery import io.realm.kotlin.toFlow import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.channels.ProducerScope imp...
31
Kotlin
94
645
c78059462ad78d382bc12ff56cd0432b5fa78c96
2,673
HTTP-Shortcuts
MIT License
state/src/main/java/net/hyakuninanki/reader/state/training/action/AggregateResultsAction.kt
rei-m
265,877,217
false
null
/* * Copyright (c) 2020. <NAME>. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
0
Kotlin
0
0
ff79f10344ff2fdafc2c189cc044e11496a5294b
1,227
android-hyakuninisshu-reader
Apache License 2.0
payments-core/src/main/java/com/stripe/android/view/AuthActivityStarter.kt
michelleb-stripe
372,835,879
true
{"Kotlin": 3206059, "Java": 67346, "Ruby": 6208, "Shell": 328}
package com.stripe.android.view import android.app.Activity import android.content.Intent import android.os.Bundle import androidx.fragment.app.Fragment import java.lang.ref.WeakReference internal interface AuthActivityStarter<ArgsType> { fun start(args: ArgsType) /** * A representation of an object (i....
0
null
0
1
ef2197fabeb47436a4119e23dab74041c31320d4
2,234
stripe-android
MIT License
app/src/main/java/com/example/c322p10sensorsgestures/SensorActivity.kt
aublwill
726,288,671
false
{"Kotlin": 26087}
package com.example.c322p10sensorsgestures import android.content.Context import android.content.Intent import android.content.pm.PackageManager import android.hardware.Sensor import android.hardware.SensorEvent import android.hardware.SensorEventListener import android.hardware.SensorManager import android.location.G...
0
Kotlin
0
0
53320b5daa2fa24dc21fc37bbc060c1e2a873692
7,242
C322.p10.SensorsGestures
Apache License 2.0
app/src/main/java/com/example/calcountify/CalCountifyApplication.kt
kostiaxn
756,834,347
false
{"Kotlin": 53355}
package com.example.calcountify import android.app.Application import com.example.calcountify.data.AppContainer import com.example.calcountify.data.AppDataContainer class CalCountifyApplication : Application() { /** * AppContainer instance used by the rest of classes to obtain dependencies */ lat...
0
Kotlin
0
0
d679d4d9866a2401874c2d2d0a083158afd6c037
461
Calcountify
Apache License 2.0
src/main/kotlin/io/github/clechasseur/adventofcode/y2022/Day19.kt
clechasseur
567,968,171
false
null
package io.github.clechasseur.adventofcode.y2022 import io.github.clechasseur.adventofcode.y2022.data.Day19Data object Day19 { private val input = Day19Data.input private val blueprintRegex = """^Blueprint (\d+): Each ore robot costs (\d+) ore. Each clay robot costs (\d+) ore. Each obsidian robot costs (\d+)...
0
Kotlin
0
0
7ead7db6491d6fba2479cd604f684f0f8c1e450f
4,693
adventofcode2022
MIT License
app/src/test/java/ca/hojat/gamehub/core/data/FakeData.kt
hojat72elect
574,228,468
false
{"Kotlin": 912868, "Shell": 539}
package ca.hojat.gamehub.core.data import ca.hojat.gamehub.core.domain.auth.entities.OauthCredentials import ca.hojat.gamehub.core.domain.entities.Company val DOMAIN_OAUTH_CREDENTIALS = OauthCredentials( accessToken = "access_token", tokenType = "token_type", tokenTtl = 5000L, ) val DOMAIN_COMPANY = Comp...
0
Kotlin
8
14
0d89fb6e48ea00eb2063b9c415c924730be0a29a
445
GameHub
MIT License
kminiorm/src/jvmMain/kotlin/com/soywiz/kminiorm/DbQueryEval.kt
korlibs
211,091,810
false
{"Kotlin": 204714}
package com.soywiz.kminiorm import com.soywiz.kminiorm.internal.* fun <T> DbQuery<T>.matches(it: T): Boolean = DynamicExt { this@matches.evaluates(it).bool } fun <T> DbQuery<T>.evaluates(it: T): Any? = DynamicExt { val query = this@evaluates return when (query) { is DbQuery.Always -> true is ...
1
Kotlin
1
9
66a7accee207e8bbacfc9feee421d489e9d4a5e7
1,685
kminiorm
MIT License
app/src/main/java/com/istu/schedule/data/mappers/dao/schedule/FavoriteGroupDaoMapper.kt
imysko
498,018,609
false
{"Kotlin": 862247}
package com.istu.schedule.data.mappers.dao.schedule import com.istu.schedule.data.database.entities.schedule.FavoriteGroupDto import com.istu.schedule.domain.entities.schedule.Group fun FavoriteGroupDto.mapToDomain(): Group = this.let { from -> return Group( groupId = from.id, name = from.name, ...
1
Kotlin
1
2
36ff18c29364921c0eb9b09af090b434fca2a36e
635
Schedule-ISTU
MIT License
src/main/kotlin/us/jwf/aoc2020/Day09EncodingError.kt
jasonwyatt
318,073,137
false
null
package us.jwf.aoc2020 import java.io.Reader import kotlinx.coroutines.flow.toList import us.jwf.aoc.Day import us.jwf.aoc.toLongFlow /** * Day 9 of AoC 2020 */ class Day09EncodingError : Day<Long, Long> { /** * With your neighbor happily enjoying their video game, you turn your attention to an open data * ...
0
Kotlin
0
0
60282b121bec6b845a74507960934a03a9153178
5,432
AdventOfCode-Kotlin
Apache License 2.0
lithic-java-core/src/main/kotlin/com/lithic/api/services/blocking/financialAccounts/BalanceService.kt
lithic-com
592,386,416
false
null
@file:Suppress("OVERLOADS_INTERFACE") // See https://youtrack.jetbrains.com/issue/KT-36102 package com.lithic.api.services.blocking.financialAccounts import com.lithic.api.core.RequestOptions import com.lithic.api.models.FinancialAccountsBalanceListPage import com.lithic.api.models.FinancialAccountsBalanceListParams ...
0
Kotlin
0
15
d8398b180bbb9fcff7db8b15ddae8ece649b2240
597
lithic-java
Apache License 2.0
src/main/java/com/silverhetch/vesta/jfx/target/TargetManagementView.kt
LarryHsiao
164,227,499
false
{"Gradle": 2, "Markdown": 1, "YAML": 2, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "Java Properties": 1, "Java": 1, "Kotlin": 56, "SQL": 3, "XML": 10}
package com.silverhetch.vesta.jfx.target import com.silverhetch.clotho.desktop.ExceptionDialog import com.silverhetch.clotho.desktop.event.draging.ListDragging import com.silverhetch.clotho.desktop.exectable.CExecutable import com.silverhetch.clotho.desktop.exectable.FileExecutable import com.silverhetch.vesta.Vesta i...
5
null
1
1
5795894581bf205518a8dcca48cd1d3ca240d372
4,022
Vesta
MIT License
data/src/main/java/com/ravnnerdery/data/networking/models/ApiArticleResponseResultTags.kt
hunter4466
462,122,793
false
{"Kotlin": 43723}
package com.ravnnerdery.data.networking.models data class ApiArticleResponseResultTags( val id: String, val type: String, val sectionName: String = "Unknown", val webTitle: String, )
0
Kotlin
0
0
97a3d0ede87104377aa50e97bac18f7ff9cf9073
199
compose_navigation_challenge
MIT License
src/main/kotlin/org/vitrivr/cottontail/database/queries/planning/nodes/logical/UnaryLogicalOperatorNode.kt
mittulmandhan
363,336,812
true
{"Kotlin": 1798169, "Dockerfile": 478}
package org.vitrivr.cottontail.database.queries.planning.nodes.logical import org.vitrivr.cottontail.database.column.ColumnDef import org.vitrivr.cottontail.database.queries.GroupId import org.vitrivr.cottontail.database.queries.OperatorNode import org.vitrivr.cottontail.database.queries.QueryContext import org.vitriv...
0
null
0
0
ac203a7ef25a9e331024878029d8b39ee4edda14
5,195
cottontaildb
MIT License
kaverit/src/jsBasedMain/kotlin/org/kodein/type/typeTokensJS.kt
kosi-libs
236,804,204
false
null
package org.kodein.type import kotlin.reflect.KClass import kotlin.reflect.KType import kotlin.reflect.typeOf public actual fun <T : Any> erasedOf(obj: T): TypeToken<out T> = JSKClassTypeToken(obj::class) public actual fun <T : Any> erased(cls: KClass<T>): TypeToken<T> = JSKClassTypeToken(cls) public actual inline ...
1
Kotlin
1
9
e9d362a16a06279ad59fc05cf669df4668265e16
978
Kaverit
MIT License
app/src/main/java/com/example/androiddevchallenge/viewmodel/MainViewModel.kt
WongChen1992
343,656,284
false
null
/* * Copyright 2021 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
0
Kotlin
0
0
946b56bbc1b9721a573dc08cdde8a1782456bdcf
1,776
StudyComposeUI
Apache License 2.0
core/travel_taipei_api/src/test/java/tw/com/deathhit/core/travel_taipei_api/MapperExtTest.kt
Deathhit
748,190,483
false
{"Kotlin": 128617}
package tw.com.deathhit.core.travel_taipei_api import org.junit.Test import tw.com.deathhit.core.travel_taipei_api.config.generateGetAttractionsResponse import tw.com.deathhit.core.travel_taipei_api.model.AttractionDto import tw.com.deathhit.core.travel_taipei_api.protocol.response.GetAttractionsResponse class Mapper...
0
Kotlin
0
0
cb94ead56f0257cdd30815cc9b20ca932ca3a351
1,075
TaipeiTour
Apache License 2.0
AtomykPlay/app/src/main/java/com/atomykcoder/atomykplay/adapters/viewHolders/OpenPlayListViewHolder.kt
AbhinavSachan
536,441,981
false
{"Kotlin": 471292, "Java": 1097}
package com.atomykcoder.atomykplay.adapters.viewHolders import android.view.View import android.widget.ImageView import android.widget.TextView import com.atomykcoder.atomykplay.R import com.atomykcoder.atomykplay.adapters.generics.GenericViewHolder import com.atomykcoder.atomykplay.helperFunctions.MusicHelper.convert...
0
Kotlin
0
0
9130ed7ec28ef4e5eaf61c0332ec0f50cb1023c2
1,222
Atomyk_Play
Apache License 2.0
biz_home/src/main/java/me/shouheng/home/view/SamplePreference.kt
Shouheng88
194,376,813
false
{"Kotlin": 215093, "Java": 51990}
package me.shouheng.home.view import android.graphics.Color import android.os.Bundle import android.view.View import androidx.preference.Preference import me.shouheng.home.R import me.shouheng.utils.ktx.colorOf import me.shouheng.utils.ktx.drawableOf import me.shouheng.utils.ktx.tint import me.shouheng.vmlib.anno.Frag...
1
Kotlin
36
206
64234f6d6f33f31db5d15eccf0dfb6024f9336cd
1,254
arch-android
Apache License 2.0
app/src/main/java/org/mydaily/data/model/network/request/ReqKeywordAdd.kt
TeamMyDaily
325,142,861
false
null
package org.mydaily.data.model.network.request import com.google.gson.annotations.SerializedName data class ReqKeywordAdd( @SerializedName("name") val name: String )
4
Kotlin
1
9
d820795fe1a6332de9ceb6b69ad1d137038d0910
176
4most-Android
Apache License 2.0
app/src/main/java/exirium/pe/authflowapp/data/di/DataModule.kt
gianpaul
811,396,647
false
{"Kotlin": 66641}
package exirium.pe.authflowapp.data.di import dagger.Binds import dagger.Module import dagger.hilt.InstallIn import dagger.hilt.components.SingletonComponent import exirium.pe.authflowapp.data.repository.AuthenticationRepositoryImpl import exirium.pe.authflowapp.domain.repository.AuthenticationRepository @Module @Ins...
0
Kotlin
0
1
c225f7a8d17a19e2b90a1170eccf3c4244a73ff0
522
TechnicalChallengeAuthentication
MIT License
app/src/main/java/com/sys1yagi/channel_list/presentation/page/editchannelcategory/EditChannelCategoryPageViewModel.kt
sys1yagi
310,318,198
false
null
package com.sys1yagi.channel_list.presentation.page.editchannelcategory import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.sys1yagi.channel_list.domain.channelcategory.AssignedCategory import com.sys1yagi.channel_list.domain.channelcategory.ChannelCategoryService import com.sys1yag...
0
Kotlin
0
4
da555c927cf81ed0f6036c83c603a34a3239a775
2,028
channel-list
MIT License
common/src/jvmMain/kotlin/com/monta/ocpp/emulator/logger/Loggable.kt
monta-app
789,343,716
false
{"Kotlin": 368101}
package com.monta.ocpp.emulator.logger interface Loggable { fun chargePointId(): Long fun connectorPosition(): Int }
9
Kotlin
4
89
b77d02300c2b6819bcbaa4176de147928ff3ea8f
126
ocpp-emulator
Apache License 2.0
domain/src/main/java/com/innosync/domain/usecase/CongressUseCase.kt
2023-DGSW-FLY
685,568,000
false
{"Kotlin": 203463}
package com.innosync.domain.usecase import com.innosync.domain.repository.CongressRepository import javax.inject.Inject class CongressUseCase @Inject constructor( private val repository: CongressRepository ) { suspend operator fun invoke() = kotlin.runCatching { repository.getCongressInfo() } }
3
Kotlin
0
0
ef4e630893631f630242b00b8f7065c4efc3353c
318
Android_Hook
MIT License
app/src/main/java/dog/snow/androidrecruittest/repository/service/UserService.kt
wojtekno
293,571,322
true
{"Kotlin": 88885}
package dog.snow.androidrecruittest.repository.service interface UserService
0
Kotlin
0
0
0f51a9c83d45c73859606b7834244b644e86285a
78
android-recruitment-test
Apache License 2.0
app/src/main/java/com/android/example/lora_walkie_talkie/MapsActivity.kt
lukas111888
489,529,240
false
{"Kotlin": 33805, "C++": 12060, "C": 5385}
package com.android.example.lora_walkie_talkie import android.Manifest import android.annotation.SuppressLint import android.bluetooth.* import android.bluetooth.le.BluetoothLeScanner import android.bluetooth.le.ScanCallback import android.bluetooth.le.ScanResult import android.content.Context import android.content....
0
Kotlin
0
1
ec94b0a9781639ab9dd11d1575df167d7f402b0e
19,362
Lora_walkie_talkie
MIT License
src/main/kotlin/de/kevcodez/metronom/rest/StationResource.kt
kevcodez
63,542,748
false
null
package de.kevcodez.metronom.rest import de.kevcodez.metronom.model.station.Station import de.kevcodez.metronom.provider.StationProvider import org.springframework.web.bind.annotation.GetMapping import org.springframework.web.bind.annotation.PathVariable import org.springframework.web.bind.annotation.RequestMapping im...
0
Kotlin
1
2
7feddcaed80704604fd4664f8a7edce4ca09f635
1,002
Metronom-REST-API
MIT License
app/src/main/java/com/breezefieldsalesmmhg/features/dailyPlan/model/GetPlanListResponseModel.kt
DebashisINT
855,015,502
false
{"Kotlin": 15833495, "Java": 1027448}
package com.breezefieldsalesmmhg.features.dailyPlan.model import com.breezefieldsalesmmhg.base.BaseResponse import java.io.Serializable /** * Created by Saikat on 24-12-2019. */ class GetPlanListResponseModel : BaseResponse(), Serializable { var update_plan_list: ArrayList<GetPlanListDataModel>? = null }
0
Kotlin
0
0
5f0eabea86147de645da4fc50dd675f7ab7cab95
313
MMHG
Apache License 2.0
app/src/main/java/com/sunnyweather/android/MainActivity.kt
zyxzj123
298,725,818
false
null
package com.sunnyweather.android import androidx.appcompat.app.AppCompatActivity import android.os.Bundle class MainActivity : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContentView(R.layout.activity_main) } //test /...
0
Kotlin
0
0
f284306ed5b106a649b5dcb99a5c3684bdd3b68e
411
SunnyWeather
Apache License 2.0
server/src/main/kotlin/simple/kss/config/SwaggerConfiguration.kt
Pastor
359,910,411
false
null
package simple.kss.config import org.apache.cxf.jaxrs.swagger.Swagger2Feature import org.springframework.beans.factory.annotation.Autowired import org.springframework.beans.factory.annotation.Value import org.springframework.context.annotation.Bean import org.springframework.context.annotation.Configuration import org...
0
Kotlin
0
0
5331edefa2e8703eaf7d83bdbbe3f244a9d81561
2,084
kotlin-simple-service
MIT License
plugins/kotlin/idea/tests/testData/inspectionsLocal/redundantLambdaArrow/it.kt
ingokegel
72,937,917
false
null
// PROBLEM: "Redundant lambda arrow" fun foo(f: (String) -> Unit) {} fun print(s: String) {} fun bar() { foo { <caret>it -> print(it) print(it) } }
1
null
1
2
b07eabd319ad5b591373d63c8f502761c2b2dfe8
174
intellij-community
Apache License 2.0
app/src/androidTestScenarios/java/uk/nhs/nhsx/covid19/android/app/flow/MultipleTestOrderingFlowTests.kt
coderus-ltd
369,240,870
true
{"Kotlin": 3133494, "Shell": 1098, "Ruby": 847, "Batchfile": 197}
package uk.nhs.nhsx.covid19.android.app.flow import kotlinx.coroutines.runBlocking import org.junit.Before import org.junit.Test import uk.nhs.nhsx.covid19.android.app.flow.functionalities.OrderTest import uk.nhs.nhsx.covid19.android.app.remote.TestResponse import uk.nhs.nhsx.covid19.android.app.remote.data.VirologyTe...
0
null
0
0
b74358684b9dbc0174890db896b93b0f7c6660a4
10,727
covid-19-app-android-ag-public
MIT License
Splitify/Splitify/src/main/kotlin/project/Splitify/repositories/jdbi/mappers/DebtorMapper.kt
RodrigoNevesWork
604,869,686
false
null
package project.splitify.repositories.jdbi.mappers import org.jdbi.v3.core.mapper.RowMapper import org.jdbi.v3.core.statement.StatementContext import project.splitify.http.userController.userDTOS.Debtor import project.splitify.http.userController.userDTOS.UserOutput import java.sql.ResultSet class DebtorMapper : RowM...
1
Kotlin
0
1
217e80d682c56b8a0212d996505fd8b1bcda337c
818
Splitify
MIT License
solar/src/main/java/com/chiksmedina/solar/broken/electronicdevices/SsdRound.kt
CMFerrer
689,442,321
false
{"Kotlin": 36591890}
package com.chiksmedina.solar.broken.electronicdevices 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.Round import androidx.compose.ui.graphics.StrokeJoin...
0
Kotlin
0
0
3414a20650d644afac2581ad87a8525971222678
3,872
SolarIconSetAndroid
MIT License
src/main/kotlin/no/nav/sbl/sosialhjelp_mock_alt/integrations/fiks/mellomlagring/MellomlagringDto.kt
navikt
257,863,652
false
{"Kotlin": 237579, "Dockerfile": 1263, "Shell": 217}
package no.nav.sbl.sosialhjelp_mock_alt.integrations.fiks.mellomlagring data class MellomlagringDto( val navEksternRefId: String, val mellomlagringMetadataList: List<MellomlagringDokumentInfo>? ) data class MellomlagringDokumentInfo( val filnavn: String, val filId: String, val storrelse: Long, ...
2
Kotlin
0
1
040e992d14fcf84ac75f63d5f5e3ebad5820361d
344
sosialhjelp-mock-alt-api
MIT License
jps-plugin/testData/incremental/classHierarchyAffected/secondaryConstructorAdded/createAFromString.kt
JakeWharton
99,388,807
true
null
fun createAFromString() = A("5")
179
Kotlin
5640
83
4383335168338df9bbbe2a63cb213a68d0858104
32
kotlin
Apache License 2.0
graph/src/test/kotlin/net/twisterrob/gradle/logging/RedirectParserTest.kt
TWiStErRob
116,494,236
false
{"Kotlin": 866785, "HTML": 57841, "Java": 16637, "XSLT": 13875, "JavaScript": 8666, "CSS": 6638, "Groovy": 3434, "Batchfile": 353}
package net.twisterrob.gradle.logging import org.gradle.api.logging.LogLevel import org.hamcrest.MatcherAssert.assertThat import org.hamcrest.Matchers.allOf import org.hamcrest.Matchers.empty import org.hamcrest.Matchers.equalTo import org.hamcrest.Matchers.hasKey import org.hamcrest.Matchers.hasSize import org.intell...
89
Kotlin
5
18
1e0868025fd72d84c1ebc5fe1801cd411e610b5f
6,787
net.twisterrob.gradle
The Unlicense
src/main/kotlin/org/propercrew/minecord/discordListeners/GuildChatListener.kt
Netherald
350,152,580
false
null
package org.propercrew.minecord.discordListeners import net.dv8tion.jda.api.events.message.MessageReceivedEvent import net.dv8tion.jda.api.hooks.ListenerAdapter import org.bukkit.Bukkit import org.propercrew.minecord.Minecord import org.propercrew.minecord.Minecord.Companion.instance class GuildChatListener: Listener...
0
Kotlin
2
3
83bf81cd96003dd02a6dcca9f219e23d91c45bb6
939
minecord
MIT License
app/src/main/java/com/ramiyon/soulmath/util/Constanta.kt
KylixEza
482,724,913
false
{"Kotlin": 253697}
package com.ramiyon.soulmath.util object Constanta { const val KEY_OF_MENU_NAME = "MENU_NAME" const val LOGOUT = "LOGOUT" //const val DUMMY_PROFILE = "https://scontent-arn2-2.cdninstagram.com/v/t51.2885-19/s320x320/227723511_801537020551168_6248403017303658145_n.jpg?_nc_ht=scontent-arn2-2.cdninstagram.com...
0
Kotlin
0
0
7f7106b6bee4f09da9b1395a441d9f5b2b9a6da7
842
SoulMath
Apache License 2.0
ktmidi/src/commonMain/kotlin/dev/atsushieno/ktmidi/MidiPlayer.kt
atsushieno
340,913,447
false
null
package dev.atsushieno.ktmidi import kotlinx.coroutines.GlobalScope import kotlinx.coroutines.Job import kotlinx.coroutines.Runnable import kotlinx.coroutines.launch import kotlinx.coroutines.sync.Semaphore import kotlin.jvm.Volatile internal abstract class MidiEventLooperBase { var starting: Runnable? = null ...
9
null
3
36
787994bd0a0bd9f44ac98b935261ede747c45e21
7,111
ktmidi
MIT License
pack/src/main/kotlin/voodoo/pack/MCUFastPack.kt
shedaniel
201,186,809
true
{"Kotlin": 575955, "Shell": 5630}
package voodoo.pack import kotlinx.coroutines.CoroutineName import kotlinx.coroutines.Deferred import kotlinx.coroutines.async import kotlinx.coroutines.awaitAll import kotlinx.coroutines.coroutineScope import kotlinx.coroutines.delay import voodoo.data.lock.LockPack import voodoo.forge.ForgeUtil import voodoo.mcupdat...
0
Kotlin
0
0
9b2dcbca40ce4de8051b7f612d365a52e0fa0b17
4,618
Voodoo
MIT License
test-app/src/main/kotlin/uk/gov/justice/digital/hmpps/testapp/service/PrisonApiService.kt
ministryofjustice
750,400,333
false
{"Kotlin": 161094, "Dockerfile": 2277}
package uk.gov.justice.digital.hmpps.testapp.service import org.springframework.stereotype.Service import org.springframework.web.reactive.function.client.WebClient import org.springframework.web.reactive.function.client.WebClientResponseException import reactor.core.publisher.Mono import uk.gov.justice.hmpps.kotlin.a...
1
Kotlin
1
2
1bf38c08142996598c7ebc9b206186a5518ff854
1,420
hmpps-kotlin-lib
MIT License
tools/sisyphus-protoc/src/main/kotlin/com/bybutter/sisyphus/protobuf/compiler/booster/ProtobufBoosterContext.kt
ButterCam
264,589,207
false
null
package com.bybutter.sisyphus.protobuf.compiler.booster import com.bybutter.sisyphus.protobuf.compiler.RuntimeTypes import com.squareup.kotlinpoet.FunSpec import com.squareup.kotlinpoet.KModifier import java.util.UUID data class ProtobufBoosterContext( var order: Int = 0, var name: String = "Booster_${UUID.ra...
9
null
10
92
1f9851c7c45030fa08e018e961110851e029f940
548
sisyphus
MIT License
innertube/src/main/kotlin/it/vfsfitvnm/innertube/models/bodies/BrowseBody.kt
Sagnik0684
861,208,877
false
{"Kotlin": 713513}
package it.vfsfitvnm.innertube.models.bodies import it.vfsfitvnm.innertube.models.Context import kotlinx.serialization.Serializable @Serializable data class BrowseBody( val context: Context = Context.DefaultWeb, val browseId: String, val params: String? = null )
0
Kotlin
0
0
d068ae496559b4f7cc7152e38de3483a12b0b8f0
277
BuzzVibe
MIT License
src/commonMain/kotlin/org.angproj.aux/pipe/PullPipe.kt
angelos-project
677,039,667
false
{"Kotlin": 548311}
/** * Copyright (c) 2024 by <NAME> <<EMAIL>>. * * This software is available under the terms of the MIT license. Parts are licensed * under different terms if stated. The legal terms are attached to the LICENSE file * and are made available on: * * https://opensource.org/licenses/MIT * * SPDX-License-Iden...
0
Kotlin
0
0
826a316ec5d46e593ac18ef6eac899237c506688
1,544
angelos-project-aux
MIT License
utils-android/src/main/java/me/lwb/utils/android/ext/CollectExt.kt
ve3344
416,659,413
false
{"Kotlin": 114385}
package me.lwb.utils.android.ext /** * Created by luowenbin on 4/1/2022. */ inline fun <T, R : Any> Array<out T>.firstNotNullOfOrNull(transform: (T) -> R?): R? { for (element in this) { val result = transform(element) if (result != null) { return result } } return null...
0
Kotlin
1
1
85ef9cd77c343a41ed8c488f350fa72b4cb01964
810
utils
Apache License 2.0
bellatrix.core/src/main/java/solutions/bellatrix/core/utilities/Log.kt
AutomateThePlanet
334,964,015
false
null
package solutions.bellatrix.core.utilities object Log { fun info(message: String, vararg args: Any?) { System.out.printf("$message%n", *args) } fun error(message: String, vararg args: Any?) { System.err.printf("$message%n", *args) } }
1
Kotlin
1
1
5da5e705b47e12c66937d130b3031ac8703b8279
268
BELLATRIX-Kotlin
Apache License 2.0
bellatrix.core/src/main/java/solutions/bellatrix/core/utilities/Log.kt
AutomateThePlanet
334,964,015
false
null
package solutions.bellatrix.core.utilities object Log { fun info(message: String, vararg args: Any?) { System.out.printf("$message%n", *args) } fun error(message: String, vararg args: Any?) { System.err.printf("$message%n", *args) } }
1
Kotlin
1
1
5da5e705b47e12c66937d130b3031ac8703b8279
268
BELLATRIX-Kotlin
Apache License 2.0
app/src/main/java/com/no5ing/bbibbi/presentation/feature/view/landing/login/LoginPageContent.kt
bibbi-team
738,807,741
false
{"Kotlin": 873766, "Ruby": 4093}
package com.no5ing.bbibbi.presentation.feature.view.landing.login import androidx.compose.foundation.Image import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Spacer import androidx.compose.foundation.layout.fillMaxSize import...
0
Kotlin
0
9
6ad4ff2a421c4f67cd27eb82ca8edb952ba00279
2,638
bibbi-android
MIT License
src/main/kotlin/xyz/deathsgun/modmanager/api/http/HttpClient.kt
ModManagerMC
307,831,113
false
{"Kotlin": 159865, "Java": 5762}
package xyz.deathsgun.modmanager.api.http import java.io.ByteArrayInputStream import java.io.InputStream import java.net.HttpURLConnection import java.net.URI import java.net.URL import java.nio.file.Files import java.nio.file.Path import kotlin.math.min object HttpClient { fun get(url: String): ByteArray { ...
19
Kotlin
11
79
c6cd9535504837a97fef3b73d43df3a6c95a2ca3
2,177
ModManager
Apache License 2.0
shared/presentation/src/commonMain/kotlin/com/tweener/changehere/presentation/screen/profile/ui/template/ProfileTemplate.kt
Tweener
649,372,991
false
{"Kotlin": 100979, "Swift": 730}
package com.tweener.changehere.presentation.screen.favorites.ui.template import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.WindowInsets import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.foundation.layout....
0
Kotlin
4
77
a09e01ef8d51c4ef96f7f002c4bbdb8d997286ab
1,000
kmplate
Apache License 2.0
plugins/partiql-mockdb/src/main/kotlin/org/partiql/plugins/mockdb/LocalPlugin.kt
partiql
186,474,394
false
null
/* * Copyright Amazon.com, Inc. or its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at: * * http://aws.amazon.com/apache2.0/ * * or in the "li...
261
Kotlin
61
525
674e140ec593f1be3f102c069bb74524afff2af6
1,294
partiql-lang-kotlin
Apache License 2.0
domain/src/commonTest/kotlin/com/fraktalio/fmodel/domain/examples/numbers/odd/query/OddNumberView.kt
fraktalio
348,104,598
false
{"Kotlin": 441968}
/* * Copyright (c) 2023 Fraktalio D.O.O. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
10
Kotlin
11
251
d827505df718c815e16f3580ea92fce7c1ff1b92
1,763
fmodel
Apache License 2.0
android/app/src/main/kotlin/com/getboolean/MainActivity.kt
getBoolean
463,422,573
false
{"C++": 16830, "Dart": 11483, "CMake": 7963, "HTML": 3963, "Ruby": 1354, "C": 715, "Swift": 404, "Kotlin": 139, "Objective-C": 38}
package com.getboolean.my_test_app_flavors import io.flutter.embedding.android.FlutterActivity class MainActivity: FlutterActivity() { }
0
C++
0
0
77d621ece37702898bd607891d9fac487a934168
139
my_test_app_flavors
MIT License
tests/integration-tests/src/test/kotlin/config/AgentRole.kt
hyperledger
512,835,706
false
{"Scala": 2982192, "Kotlin": 242404, "TypeScript": 61063, "Shell": 30427, "Gherkin": 25384, "Python": 13723, "JavaScript": 3988, "Smarty": 2922}
package config enum class AgentRole(val roleName: String) { Admin("admin"), Tenant("tenant"), }
42
Scala
22
80
c5071d5707e8c79b450f82c0c891f77d2eb26b95
105
identus-cloud-agent
Apache License 2.0
src/test/kotlin/no/nav/tms/minesaker/api/saf/journalposter/transformers/RelevantDatoTransformerTest.kt
navikt
331,032,645
false
{"Kotlin": 180305, "Dockerfile": 250}
package no.nav.tms.minesaker.api.saf.journalposter.transformers import io.kotest.matchers.shouldBe import no.nav.tms.minesaker.api.saf.journalposter.RelevantDatoTestData import no.nav.tms.minesaker.api.saf.journalposter.v1.toInternal import org.junit.jupiter.api.Test internal class RelevantDatoTransformerTest { ...
3
Kotlin
1
0
bca9103c64083fff47eb7ddedf19923f7a816660
757
mine-saker-api
MIT License
app/src/main/java/com/example/dbm/inventoryappkt/di/ServicesModule.kt
engspa12
520,951,266
false
null
package com.example.dbm.inventoryappkt.di import com.example.dbm.inventoryappkt.domain.service.* import com.example.dbm.inventoryappkt.domain.usecase.* import com.example.dbm.inventoryappkt.util.IConnectionChecker import dagger.Module import dagger.Provides import dagger.hilt.InstallIn import dagger.hilt.components.Si...
0
Kotlin
0
0
b9aa21d20885c954e68ec4ad5b1d7e0914d00870
1,410
InventoryAppKt
MIT License
app/src/main/kotlin/no/nav/tiltakspenger/vedtak/routes/meldekort/dto/TiltakstypeSomGirRettDTO.kt
navikt
487,246,438
false
{"Kotlin": 1042302, "Shell": 1318, "Dockerfile": 495, "HTML": 45}
package no.nav.tiltakspenger.vedtak.routes.meldekort.dto import no.nav.tiltakspenger.libs.tiltak.TiltakstypeSomGirRett enum class TiltakstypeSomGirRettDTO { ARBEIDSFORBEREDENDE_TRENING, ARBEIDSRETTET_REHABILITERING, ARBEIDSTRENING, AVKLARING, DIGITAL_JOBBKLUBB, ENKELTPLASS_AMO, ENKELTPLASS...
0
Kotlin
0
1
c23890a313eac464b2eae8d6e6f143b47a4b693e
2,438
tiltakspenger-vedtak
MIT License
services/csm.cloud.project.notifications/src/main/kotlin/com/bosch/pt/csm/cloud/projectmanagement/notification/facade/listener/BaseEventProcessor.kt
boschglobal
805,348,245
false
{"Kotlin": 13156190, "HTML": 274761, "Go": 184388, "HCL": 158560, "Shell": 117666, "Java": 52634, "Python": 51306, "Dockerfile": 10348, "Vim Snippet": 3969, "CSS": 344}
/* * ************************************************************************ * * Copyright: Robert Bosch Power Tools GmbH, 2018 - 2021 * * ************************************************************************ */ package com.bosch.pt.csm.cloud.projectmanagement.notification.facade.listener import com....
0
Kotlin
3
9
9f3e7c4b53821bdfc876531727e21961d2a4513d
2,813
bosch-pt-refinemysite-backend
Apache License 2.0
core/src/test/kotlin/in/specmatic/core/ResolverKtTest.kt
znsio
247,710,440
false
null
package `in`.specmatic.core import org.assertj.core.api.Assertions.* import org.junit.jupiter.api.Test import `in`.specmatic.core.pattern.ContractException internal class ResolverKtTest { @Test fun `it should throw an exception when the request pattern does not exist`() { assertThatThrownBy { Resolver...
46
Kotlin
32
92
b3eb9b6e0f7d42bde35d95b83ea187cd1d6aa3bc
411
specmatic
MIT License
test-utils-system/src/commonMain/kotlin/network/MockNetworkManager.kt
splendo
191,371,940
false
{"Kotlin": 6494822, "Swift": 172024, "Shell": 1514}
/* * Copyright 2022 Splendo Consulting B.V. The Netherlands * * 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 * * U...
87
Kotlin
7
315
4094d5625a4cacb851b313d4e96bce6faac1c81f
2,551
kaluga
Apache License 2.0
goblinframework-remote-server/src/main/java/org/goblinframework/remote/server/handler/RemoteServerManager.kt
HuangKunInkess
224,439,191
false
null
package org.goblinframework.remote.server.handler import org.goblinframework.api.annotation.Singleton import org.goblinframework.api.annotation.ThreadSafe import org.goblinframework.core.service.GoblinManagedObject import org.goblinframework.remote.server.module.config.RemoteServerConfigManager import java.util.concur...
1
null
1
1
75124c38c952c51dfed9849d11ee20d2424eb081
978
goblinframework
Apache License 2.0
app/src/main/java/com/deverick/todoapp/adapters/TodoAdapter.kt
ErickLuizA
357,235,460
false
null
package com.deverick.todoapp.adapters import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.recyclerview.widget.AsyncListDiffer import androidx.recyclerview.widget.DiffUtil import androidx.recyclerview.widget.RecyclerView import com.deverick.todoapp.databinding.ItemT...
0
Kotlin
0
0
75e9700bacabed9937629992659c4d393f91f779
1,814
Todoapp
MIT License
src/main/kotlin/dev/arbjerg/ukulele/command/RepeatCommand.kt
Zudrak
548,085,793
false
null
package dev.arbjerg.ukulele.command import dev.arbjerg.ukulele.features.HelpContext import dev.arbjerg.ukulele.jda.Command import dev.arbjerg.ukulele.jda.CommandContext import org.springframework.stereotype.Component @Component class RepeatCommand : Command ("repeat", "loop", "r") { override suspend fun CommandCo...
0
Kotlin
0
0
98725694e2738aff769712320f71adfd08d32a71
743
Chrisalaxelrto-bot
MIT License
app/src/main/java/cn/cqautotest/sunnybeach/ktx/JSON.kt
anjiemo
378,095,612
false
null
package cn.cqautotest.sunnybeach.ktx import org.json.JSONObject // region Kotlin-DSL // 更多用法查阅:https://github.com/Kotlin/KEEP/blob/master/proposals/context-receivers.md fun json(build: JSONObject.() -> Unit) = JSONObject().apply { build() } context(JSONObject) infix fun String.by(build: JSONObject.() -> Un...
0
null
18
95
a2402da1cb6af963c829a69d9783053f15d866b5
476
SunnyBeach
Apache License 2.0
grammar-kotlin-parser-common/src/commonMain/kotlin/kotlinx/ast/grammar/kotlin/common/Summary.kt
renesugar
271,205,559
true
{"INI": 2, "Gradle Kotlin DSL": 15, "Shell": 1, "Markdown": 1, "Batchfile": 1, "Kotlin": 116, "Java": 10}
package kotlinx.ast.grammar.kotlin.common import kotlinx.ast.common.AstResult import kotlinx.ast.common.ast.Ast import kotlinx.ast.common.map.DefaultTreeMap import kotlinx.ast.common.map.TreeMap import kotlinx.ast.grammar.kotlin.common.summary.* private val summaryTreeMap: TreeMap = DefaultTreeMap( annotationsMap...
0
null
0
0
c35b50fa44657ca55ed624510fee209eaf974811
740
ast
Apache License 2.0
src/main/kotlin/no/nav/syfo/person/api/domain/syfomodiaperson/TilrettelagtKommunikasjon.kt
navikt
160,816,361
false
null
package no.nav.syfo.person.api.domain.syfomodiaperson data class TilrettelagtKommunikasjon( val talesprakTolk: Sprak?, val tegnsprakTolk: Sprak?, ) data class Sprak(val value: String)
2
Kotlin
0
1
3633d2e20be7e389543b8d9ae77a49b6451f3fd0
194
syfoperson
MIT License
ui/src/test/kotlin/io/rippledown/main/OpenRDRUITest.kt
TimLavers
513,037,911
false
{"Kotlin": 1155031, "Gherkin": 83762}
package io.rippledown.main import androidx.compose.ui.res.painterResource import androidx.compose.ui.test.junit4.createComposeRule import androidx.compose.ui.test.onNodeWithTag import androidx.compose.ui.window.Window import androidx.compose.ui.window.application import io.mockk.coEvery import io.mockk.coVerify import...
0
Kotlin
0
0
e67bf89ce485c23a21a354d3408ed850c2e93c34
5,274
OpenRDR
MIT License
xesar-connect/src/main/kotlin/com/open200/xesar/connect/extension/XesarConnectCalendarExt.kt
open200
684,928,079
false
{"Kotlin": 438614}
package com.open200.xesar.connect.extension import com.open200.xesar.connect.XesarConnect import com.open200.xesar.connect.messages.command.Query import com.open200.xesar.connect.messages.query.Calendar import com.open200.xesar.connect.messages.query.QueryList import java.util.* import kotlinx.coroutines.Deferred /**...
17
Kotlin
0
9
2ded0fbbe8a5df74065c141f5afe1b20c72022c6
1,313
xesar-connect
Apache License 2.0
app/src/main/java/app/mistercooper/social/ui/common/components/AnimationComponents.kt
bernatdelgado87
793,663,843
false
{"Kotlin": 117922, "Java": 517}
package app.mistercooper.social.ui.common.components import androidx.compose.foundation.background import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.runtime.Composable import androidx.compose.runtime.getValue import androidx.compose.ui.Alignment...
0
Kotlin
0
1
b7a112941c2bfbb004f169c2a1a0108185dd23b7
1,464
Social-Cooper-Android
Creative Commons Zero v1.0 Universal
app/src/main/java/org/axisofinnovation/tilt/Interval.kt
AxisOfInnovation
52,229,215
false
{"Kotlin": 42823}
package org.axisofinnovation.tilt /** * A time interval */ class Interval(preceding: Interval?, start: Long, duration: Long ) { // // Fields // /** The time the interval starts at, in milliseconds. */ val StartTime: Long = start + if ( preceding == null ) { ...
0
Kotlin
0
0
d187312ed98168fd7e45e8283695614485118a99
1,436
tilt
MIT License
common/src/main/kotlin/org/valkyrienskies/eureka/block/WoodType.kt
ValkyrienSkies
499,833,158
false
null
package org.valkyrienskies.eureka.block import net.minecraft.resources.ResourceLocation import net.minecraft.util.StringRepresentable // TODO mod compat enum class WoodType(val resourceName: String) : StringRepresentable { OAK("oak"), SPRUCE("spruce"), BIRCH("birch"), JUNGLE("jungle"), ACACIA("ac...
155
null
33
57
29a1889c170858e9db390324671ec4d6f05b1544
652
Eureka
Apache License 2.0
plugin/src/main/kotlin/com/testknight/actions/testlist/TestListTraceabilityAction.kt
SERG-Delft
371,368,272
false
null
package com.testknight.actions.testlist import com.intellij.openapi.actionSystem.AnActionEvent import com.intellij.openapi.actionSystem.ToggleAction import com.intellij.openapi.components.service import com.intellij.ui.treeStructure.Tree import com.testknight.exceptions.CorruptedTraceFileException import com.testknigh...
1
null
3
34
af01538e5511d9ea6658bc65cf62a1fbda38181f
2,938
testknight
MIT License
kotlin-csstype/src/main/generated/csstype/Widows.kt
JetBrains
93,250,841
false
null
// Automatically generated - do not modify! @file:Suppress( "NOTHING_TO_INLINE", ) package csstype sealed external interface Widows inline fun Widows(value: Int): Widows = value.unsafeCast<Widows>()
12
Kotlin
145
983
a99345a0160a80a7a90bf1adfbfdc83a31a18dd6
211
kotlin-wrappers
Apache License 2.0
app/src/main/java/com/wiyonoaten/composechallenge/wk4weatherforecastapp/viewmodels/sampledata/ForecastSampleData.kt
wiyonoaten
348,862,284
false
null
/* * Copyright 2021 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
1
Kotlin
1
4
9a61d192c9bdba19f355a3f20f0cffb56469f6f7
3,473
ADC-JC-Wk4WeatherForecastApp
Apache License 2.0
term-2/block-3/task-4/lib/base/src/main/kotlin/casino/lib/card/CardRank.kt
AzimMuradov
626,118,027
false
null
package casino.lib.card enum class CardRank { ACE, TWO, THREE, FOUR, FIVE, SIX, SEVEN, EIGHT, NINE, TEN, JACK, QUEEN, KING; override fun toString(): String = when (this) { ACE -> "A" TWO, THREE, FOUR, FIVE, SIX, SEVEN, EIGHT, NINE, TEN -> (ordina...
0
Kotlin
0
0
c4f6d515e19bba0ac88152945084da52a24a7313
513
computer-workshop-spbu
Apache License 2.0
src/main/kotlin/com/yo1000/kleanser/model/Column.kt
yo1000
111,672,753
false
null
package com.yo1000.kleanser.model /** * * @author yo1000 */ data class Column( val name: String, val type: String, val broadType: BroadTypes, val partOfPrimaryKey: Boolean, val partOfUniqueKey: Boolean, val partOfForeignKey: Boolean )
0
Kotlin
0
0
7e5e4ed92f47135b55ee8b6c61b881dd13ec8bbd
287
kleanser
MIT License
main-files/main-files-impl/src/main/java/com/samara/main_files_impl/data/FilesRepo.kt
Salieri666
667,969,784
false
{"Kotlin": 103501}
package com.samara.main_files_impl.data import android.os.Environment import android.util.Log import com.samara.main_files_api.data.IFilesRepo import di.modules.IoDispatcher import kotlinx.coroutines.CoroutineDispatcher import kotlinx.coroutines.withContext import java.io.File import java.io.IOException import javax.i...
0
Kotlin
0
0
84856669ad60c5b1808335bc727346df28988f10
2,476
simple-file-manager
Apache License 2.0
common/view/src/main/kotlin/com/monoid/hackernews/common/view/TooltipPopupPositionProvider.kt
zirman
477,438,501
false
{"Kotlin": 375653}
package com.monoid.hackernews.common.view import androidx.compose.runtime.Immutable import androidx.compose.ui.unit.IntOffset import androidx.compose.ui.unit.IntRect import androidx.compose.ui.unit.IntSize import androidx.compose.ui.unit.LayoutDirection import androidx.compose.ui.window.PopupPositionProvider @Immutab...
0
Kotlin
0
1
1f2b7cb4abd6d6f24a60ff2aff39523fa7db41d3
752
hacker_news
Apache License 2.0
src/main/kotlin/com/fasterxml/jackson/module/kotlin/ConstructorValueCreator.kt
FasterXML
23,404,083
false
null
package com.fasterxml.jackson.module.kotlin import kotlin.reflect.KFunction import kotlin.reflect.jvm.isAccessible internal class ConstructorValueCreator<T>(override val callable: KFunction<T>) : ValueCreator<T>() { override val accessible: Boolean = callable.isAccessible init { // To prevent the cal...
77
null
175
932
fa8ee76a8a00443aa6e8cc401c4e0868219d2d5b
448
jackson-module-kotlin
Apache License 2.0
src/main/kotlin/nox/platform/gradlize/MetadataExporter.kt
teris-io
95,603,773
false
null
/* * Copyright (c) <NAME> 2017. License: MIT */ package nox.platform.gradlize import nox.platform.gradlize.impl.MetadataExporterIvyImpl import java.io.File import java.io.IOException interface MetadataExporter { @Throws(IOException::class) fun exportTo(targetDir: File) companion object { fun instance(bundl...
0
Kotlin
1
0
af54ed589739c3d44a4131d6e17edbcc041c4e2b
472
nox
MIT License
libmine/src/main/java/com/earth/libmine/adapter/SaveUserItemAdapter.kt
engineerrep
643,933,914
false
{"Java": 2291635, "Kotlin": 1651449}
package com.earth.libmine.adapter import android.content.Context import android.view.LayoutInflater import android.view.View import android.widget.ImageView import android.widget.TextView import com.bumptech.glide.Glide import com.chad.library.adapter.base.BaseQuickAdapter import com.chad.library.adapter.base.viewhold...
1
null
1
1
415e0417870b6ff2c84a9798d1f3f3a4e6921354
1,571
EarthAngel
MIT License
inf-2시간으로끝내는코루틴/src/main/kotlin/coroutine/Main2.kt
devYSK
461,887,647
false
{"Java": 3507759, "JavaScript": 659549, "Kotlin": 563136, "HTML": 455168, "CSS": 446825, "Shell": 57444, "Groovy": 54414, "Batchfile": 47890, "Go": 26805, "Python": 9963, "Handlebars": 8554, "Makefile": 7837, "Vue": 5706, "TypeScript": 5172, "Dockerfile": 436, "Vim Snippet": 362, "Assembly": 278, "Procfile": 199}
package coroutine import kotlinx.coroutines.CoroutineStart import kotlinx.coroutines.delay import kotlinx.coroutines.launch import kotlinx.coroutines.runBlocking class Launch { } fun main(): Unit = runBlocking { val launch = launch(start = CoroutineStart.LAZY) { printWithThread("hello launch") } ...
1
null
1
1
7a7c6b1bab3dc2c84527f8c528b06b9408872635
357
study_repo
MIT License
app/src/main/java/com/digitaldream/toyibatskool/utils/ColumnChart.kt
Toochidennis
706,639,845
false
{"Gradle": 3, "Java Properties": 5, "Shell": 1, "Text": 2, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "JSON": 1, "Java": 225, "XML": 1015, "Kotlin": 246, "JavaScript": 1, "HTML": 2, "INI": 2}
package com.digitaldream.linkskool.utils import android.annotation.SuppressLint import android.content.Context import android.graphics.Color import android.util.AttributeSet import android.view.ViewGroup import android.webkit.WebResourceRequest import android.webkit.WebView import android.webkit.WebViewClient import c...
1
Java
1
1
c193cd69a9fa95d0f54a3834eeede67f2ccbe242
5,472
toyibat
MIT License
CodeY/app/src/main/java/com/isavit/codey/home/ClickScanRun.kt
mtwn105
415,582,071
true
{"Text": 1, "Markdown": 3, "XML": 30, "Ignore List": 4, "Java Properties": 2, "Gradle": 3, "Shell": 1, "Batchfile": 1, "Proguard": 1, "Java": 8, "Kotlin": 4}
package com.isavit.codey.home import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import com.isavit.codey.R class ClickScanRun : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContentView(R.layout.activity_click...
0
null
0
0
b64730945f53fa0a2007e7cd863a1bb940d7682b
338
CodeY
MIT License
tap2eat-localserver/src/main/kotlin/com/example/tap2eatlocalserver/MealController.kt
gockle
804,957,131
false
{"Gradle": 3, "Java Properties": 2, "Shell": 2, "Text": 1, "Ignore List": 3, "Batchfile": 2, "Markdown": 1, "Gradle Kotlin DSL": 2, "INI": 2, "Kotlin": 5, "TOML": 1, "Proguard": 1, "Java": 18, "XML": 23}
package com.example.tap2eatlocalserver import org.springframework.web.bind.annotation.PostMapping import org.springframework.web.bind.annotation.RequestBody import org.springframework.web.bind.annotation.RestController import java.time.ZonedDateTime import java.time.format.DateTimeFormatter import java.util.* @RestC...
0
Java
0
0
36ee811ccb6ac6c235563d92a42befa8820c8936
1,177
hackathon-app
MIT License
chats/src/main/java/com/cyberland/messenger/chats/forward/ForwardController.kt
Era-CyberLabs
576,196,269
false
{"Java": 6276144, "Kotlin": 5427066, "HTML": 92928, "C": 30870, "Groovy": 12495, "C++": 6551, "CMake": 2728, "Python": 1600, "AIDL": 1267, "Makefile": 472}
package com.bcm.messenger.chats.forward import android.net.Uri import com.bcm.messenger.chats.group.logic.GroupLogic import com.bcm.messenger.chats.group.logic.GroupMessageLogic import com.bcm.messenger.chats.group.logic.MessageFileHandler import com.bcm.messenger.chats.privatechat.logic.MessageSender import com.bcm.m...
1
null
1
1
65a11e5f009394897ddc08f4252969458454d052
46,367
cyberland-android
Apache License 2.0
dsl/src/main/kotlin/com/faendir/awscdkkt/generated/services/cloudfront/ResponseHeadersPolicyDsl.kt
F43nd1r
643,016,506
false
null
package com.faendir.awscdkkt.generated.services.cloudfront import com.faendir.awscdkkt.AwsCdkDsl import javax.`annotation`.Generated import kotlin.String import kotlin.Unit import software.amazon.awscdk.services.cloudfront.ResponseHeadersPolicy import software.amazon.awscdk.services.cloudfront.ResponseHeadersPolicyPro...
1
Kotlin
0
0
b22e397ff37c5fce365a5430790e5d83f0dd5a64
1,364
aws-cdk-kt
Apache License 2.0
app/src/main/java/uk/nhs/nhsx/covid19/android/app/receiver/UpdateReceiver.kt
coderus-ltd
369,240,870
true
{"Kotlin": 3133494, "Shell": 1098, "Ruby": 847, "Batchfile": 197}
package uk.nhs.nhsx.covid19.android.app.receiver import android.content.BroadcastReceiver import android.content.Context import android.content.Intent import uk.nhs.nhsx.covid19.android.app.analytics.UpdateStatusStorage import uk.nhs.nhsx.covid19.android.app.appComponent import javax.inject.Inject class UpdateReceive...
0
null
0
0
b74358684b9dbc0174890db896b93b0f7c6660a4
656
covid-19-app-android-ag-public
MIT License