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
KotlinMPMovie/app/src/main/java/com/vipul/movieapp/MainActivity.kt
vipulshah2010
194,642,651
false
null
package com.vipul.movieapp import android.graphics.Bitmap import android.graphics.drawable.Drawable import android.os.Bundle import android.util.Log import androidx.activity.viewModels import androidx.appcompat.app.AppCompatActivity import androidx.compose.animation.Crossfade import androidx.compose.foundation.Box imp...
0
Kotlin
1
7
c5311ea70dd014096a268dc8d4ef5945b36c7734
8,179
NativeMovieApp
Apache License 2.0
project/Application/src/main/kotlin/cga/exercise/components/spaceObjects/spaceship/SmallThruster.kt
DennisGoss99
397,846,380
true
{"Kotlin": 147862, "GLSL": 9453}
package cga.exercise.components.spaceObjects.spaceship import cga.exercise.components.geometry.material.AtlasMaterial import cga.exercise.components.geometry.particle.Particle import cga.exercise.components.geometry.particle.ParticleSpawner import cga.exercise.components.geometry.transformable.Transformable import cga...
0
Kotlin
0
0
eb988c98528bf26a3362e74bae2b2b250d6255dd
1,432
CGA_Project
MIT License
src/test/kotlin/com/tradeshift/blayze/features/GaussianTest.kt
Bhanditz
168,971,373
true
{"Kotlin": 65750}
package com.tradeshift.blayze.features import com.tradeshift.blayze.features.Gaussian.StreamingEstimator import org.junit.Assert.assertEquals import org.junit.Test import kotlin.math.* import kotlin.test.assertTrue class GaussianTest { @Test fun outcome_with_less_than_two_samples_returns_log_prob_of_least_l...
0
Kotlin
0
0
cdd3cd6f17587c34bb24df51f2a768a7a0d9ff0a
5,097
blayze
MIT License
src/main/java/game/nd/system/CarBehavior.kt
strangeoptics
163,219,717
false
null
package game.nd.system import game.nd.attribute.StartStop import game.nd.command.MoveTo import game.nd.extentions.GameEntity import game.nd.extentions.position import game.nd.extentions.startPosition import game.nd.extentions.stopPosition import game.nd.world.GameContext import org.hexworks.amethyst.api.base.BaseBehav...
0
Kotlin
0
2
adc598e9b614826f305dc08e757f2358de4732ba
1,541
NeonDystopia
Apache License 2.0
core/src/main/kotlin/calculations/CoordinationNeedsMatrixCalculation.kt
JetBrains-Research
340,658,942
false
null
package calculations import org.jetbrains.kotlinx.multik.api.linalg.dot import org.jetbrains.kotlinx.multik.api.mk import org.jetbrains.kotlinx.multik.api.ndarray import org.jetbrains.kotlinx.multik.ndarray.data.D2Array import org.jetbrains.kotlinx.multik.ndarray.operations.div import org.jetbrains.kotlinx.multik.ndar...
0
Kotlin
6
8
6c465903dbb236702bf5b6f496245d0609bd4586
1,203
tnm
MIT License
src/main/kotlin/com/tyro/oss/rabbit_amazon_bridge/poller/SQSMessageConverter.kt
tyro
159,237,708
false
null
/* * Copyright [2018] Tyro Payments Limited. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
9
Kotlin
6
18
6c90a90fba2f56010453f67163ab16293287ce51
2,192
rabbit-amazon-bridge
Apache License 2.0
app/src/main/java/com/mvaresedev/punkapp/domain/models/Hop.kt
mirkcode
373,626,306
false
{"Kotlin": 74838}
/* * Copyright 2021. <NAME> */ package com.mvaresedev.punkapp.domain.models import android.os.Parcelable import kotlinx.android.parcel.Parcelize @Parcelize data class Hop( val add: String, val amount: String, val attribute: String, val name: String ): Parcelable
0
Kotlin
0
0
a6c12635bc8cd2f1547cc46cbdceca9cd39631fb
283
punkapp
Apache License 2.0
walletlibrary/src/main/java/com/microsoft/walletlibrary/requests/requirements/RequestedClaim.kt
microsoft
567,422,889
false
null
/**--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------...
2
Kotlin
2
9
5978f33741ddf4dcd51533552487eaeb81ee6e75
614
entra-verifiedid-wallet-library-android
MIT License
presentation/src/main/java/app/web/diegoflassa_site/littledropsofrain/presentation/ui/SplashActivity.kt
diegoflassa
279,691,511
false
null
/* * Copyright 2021 The Little Drops of Rain Project * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://opensource.org/licenses/MIT * * Unless required by applicable law or agreed to in...
0
Kotlin
0
0
7043ea8c6fbab13dc0e4b454995024a420f20838
4,273
LittleDropsOfRain
MIT License
app/src/main/java/com/mty/bangcalendar/ui/main/view/EventCardView.kt
mty1122
485,456,860
false
{"Kotlin": 174548, "C++": 12060, "CMake": 814}
package com.mty.bangcalendar.ui.main.view import android.animation.ObjectAnimator import android.content.Context import android.graphics.drawable.Drawable import androidx.lifecycle.LifecycleCoroutineScope import com.bumptech.glide.Glide import com.mty.bangcalendar.BangCalendarApplication.Companion.systemDate import co...
0
Kotlin
0
0
cc34536f2802c243116e5a022488bcbab7dc69f9
8,136
BangCalendar
Apache License 2.0
kotlin-utils/src/main/kotlin/no/nav/personoversikt/common/utils/StringUtils.kt
navikt
505,819,547
false
{"Kotlin": 176924}
package no.nav.personoversikt.common.utils object StringUtils { fun String.isNumeric(): Boolean = this.all { it.isDigit() } fun String.isLetters(): Boolean = this.all { it.isLetter() } fun String.cutoff(size: Int): String = if (this.length <= size) { this } else { ...
0
Kotlin
0
0
90546095af088b60edf9d1275a15c6963d4db77d
1,263
modia-common-utils
MIT License
data/crypto/src/main/kotlin/com/github/xnovo3000/gigapass/data/crypto/DataCryptoModule.kt
xNovo3000
748,154,551
false
{"Kotlin": 15548}
package com.github.xnovo3000.gigapass.data.crypto import dagger.Module import dagger.Provides import dagger.hilt.InstallIn import dagger.hilt.android.components.ActivityRetainedComponent import dagger.hilt.android.scopes.ActivityRetainedScoped @Module @InstallIn(ActivityRetainedComponent::class) object DataCryptoModu...
0
Kotlin
0
0
6145719b006afcfe3ca3f146b607867d1748dff8
463
GigaPass
MIT License
app/src/main/java/com/ng/test/foodcontacts/data/local/model/Contact.kt
nikitagudkovs
301,794,093
false
null
package com.ng.test.foodcontacts.data.local.model data class Contact(val id: String, val name:String, var number: String)
0
Kotlin
0
0
5de8239e150bd3c1d4004a2cb4f0ae39aed7fc74
123
foodcontacts
MIT License
core/src/main/kotlin/net/corda/core/contracts/clauses/AllComposition.kt
lavenutagi
98,293,748
true
{"Kotlin": 3386415, "Java": 184482, "Groovy": 27918, "Shell": 320, "Batchfile": 106}
package net.corda.core.contracts.clauses import net.corda.core.contracts.CommandData import net.corda.core.contracts.ContractState /** * Compose a number of clauses, such that all of the clauses must run for verification to pass. */ @Deprecated("Use AllOf") class AllComposition<S : ContractState, C : CommandData, K...
0
Kotlin
0
0
ac07b3fe94ad35768bb4d3c569ad51c6b17f8bac
448
corda
Apache License 2.0
app/src/main/java/com/example/FoodiePal/CategoryActivity.kt
aspirers01
696,151,873
false
{"Kotlin": 17797}
package com.example.FoodiePal import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import androidx.recyclerview.widget.LinearLayoutManager import androidx.room.Room import com.example.FoodiePal.databinding.ActivityCategoryBinding class CategoryActivity : AppCompatActivity() { private lateinit ...
0
Kotlin
0
0
fe23e95b9caefb8f5ead31ae34a56c67fde092f9
1,654
FoodiePal
MIT License
src/org/rust/lang/core/psi/impl/mixin/RustModItemImplMixin.kt
justinafgraham
47,592,280
true
{"Git Config": 1, "Gradle": 2, "Markdown": 7, "INI": 2, "Shell": 1, "Text": 35, "Ignore List": 1, "Batchfile": 1, "EditorConfig": 1, "YAML": 1, "Java Properties": 1, "TOML": 2, "Rust": 140, "XML": 13, "RenderScript": 1, "HTML": 5, "Kotlin": 171, "Java": 2, "JFlex": 2}
package org.rust.lang.core.psi.impl.mixin import com.intellij.lang.ASTNode import com.intellij.openapi.util.Iconable import org.rust.lang.core.psi.RustDeclaringElement import org.rust.lang.core.psi.RustModItem import org.rust.lang.core.psi.impl.RustItemImpl import org.rust.lang.core.psi.util.isPublic import org.rust.l...
0
Kotlin
0
0
8fe36228e121aa894caefeb037b1e59bc38df656
865
intellij-rust
MIT License
ui-testing-core/src/main/java/com/avito/android/test/espresso/action/click/Event.kt
avito-tech
120,176,958
false
null
package com.avito.android.test.espresso.action.click import android.os.SystemClock import android.view.InputDevice import android.view.MotionEvent internal fun obtainEvent(coordinates: FloatArray, precision: FloatArray, event: Int) = MotionEvent.obtain( SystemClock.uptimeMillis(), SystemClock.upti...
0
Kotlin
14
38
3fa67bd425cb7ae38b2c4687e8e8ee9e6104ff2e
701
android-ui-testing
MIT License
shared/src/commonMain/kotlin/com/micudasoftware/currencyconverter/presentation/feature/currencyrates/CurrencyRatesScreen.kt
DusanMicuda
657,098,894
false
{"Kotlin": 104311, "Swift": 841}
package com.micudasoftware.currencyconverter.presentation.feature.currencyrates import androidx.compose.foundation.ExperimentalFoundationApi import androidx.compose.foundation.background import androidx.compose.foundation.basicMarquee import androidx.compose.foundation.clickable import androidx.compose.foundation.layo...
0
Kotlin
0
0
3bbe72fb01f1b8fc0407a758bc00dbb492696afd
8,577
CurrencyConverterApp
MIT License
app/src/main/java/com/crk/newsreaderapplication/data/local/ArticleDatabase.kt
Pornpatr
607,541,049
false
null
package com.crk.newsreaderapplication.data.local import android.content.Context import androidx.room.Database import androidx.room.Room import androidx.room.RoomDatabase import androidx.room.TypeConverters import com.crk.newsreaderapplication.domain.model.Article @Database( entities = [Article::class], versi...
0
Kotlin
0
0
ea01a81f4ed369238be2134c8fed50bbb0867073
1,068
NewsReaderApplication
MIT License
Lab2zadatak/app/src/main/java/com/example/lab2zadatak/ui/theme/Color.kt
djordjeivanovic02
802,578,526
false
{"Kotlin": 44554}
package com.example.lab2zadatak.ui.theme import androidx.compose.ui.graphics.Color val Purple80 = Color(0xFFD0BCFF) val PurpleGrey80 = Color(0xFFCCC2DC) val Pink80 = Color(0xFFEFB8C8) val Purple40 = Color(0xFF6650a4) val PurpleGrey40 = Color(0xFF625b71) val Pink40 = Color(0xFF7D5260) val Gray = Color(0xffbababa)
0
Kotlin
0
1
d4be20812727eb7234af9c13361c15970ab2a46e
317
rmas
Apache License 2.0
zeta-common/zeta-common-log/src/main/kotlin/com/zetaframework/log/event/LoginLogListener.kt
1783cwf
786,329,278
false
{"Kotlin": 447567, "Dockerfile": 607, "Lua": 347}
package com.zetaframework.log.event import com.zetaframework.log.model.LoginLogDTO import org.springframework.context.event.EventListener import org.springframework.scheduling.annotation.Async /** * 登录日志事件监听 * * 使用说明: * 1. 在业务包中,@Bean配置一个SysLoginLogListener * 2. 保存登录日志的方式交给具体的业务去实现 * @author gcc */ open class ...
0
Kotlin
0
6
1a564f4c61fa361c3ee339696024cd1f88246fc8
701
zeta-kotlin-flex
MIT License
tabler/src/commonMain/kotlin/com/woowla/compose/icon/collections/tabler/tabler/outline/PlayCard10.kt
walter-juan
868,046,028
false
{"Kotlin": 34345428}
package com.woowla.compose.icon.collections.tabler.tabler.outline import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap im...
0
Kotlin
0
3
eca6c73337093fbbfbb88546a88d4546482cfffc
3,737
compose-icon-collections
MIT License
agora.delivery.demo/src/main/kotlin/org/agorahq/agora/delivery/data/AgoraSession.kt
agorahq
228,175,670
false
null
package org.agorahq.agora.delivery.data import org.agorahq.agora.core.api.security.User import org.agorahq.agora.delivery.security.JWTService data class AgoraSession( val token: String ) { fun withState(state: SessionState) = AgoraSession(JWTService.createJWSFrom(state)) companion object { ...
28
Kotlin
0
0
a7aeabc25d31e11090f37733de2b8ec138d1de3b
976
agora
Apache License 2.0
app/src/main/java/com/ick/kalambury/net/connection/exceptions/PlayerLimitExceededException.kt
radek606
459,264,828
false
null
package com.ick.kalambury.net.connection.exceptions class PlayerLimitExceededException : ConnectionException(LIMIT_EXCEEDED)
0
Kotlin
0
0
3dd2fe12e40ab3f9bac145ba15e9719d55e12b89
125
Charades-Android
MIT License
app/src/main/java/soy/gabimoreno/quotes/MainActivity.kt
soygabimoreno
452,562,788
false
{"Kotlin": 24347}
package soy.gabimoreno.quotes import android.os.Bundle import androidx.activity.ComponentActivity import androidx.activity.compose.setContent import androidx.compose.foundation.ExperimentalFoundationApi import soy.gabimoreno.quotes.ui.QuotesUI @ExperimentalFoundationApi class MainActivity : ComponentActivity() { ...
0
Kotlin
0
0
e4c73e6b5ba8f12cb7c067e819cf531c8b7a1ca0
478
Quotes
Apache License 2.0
jps-plugin/testData/incremental/lookupTracker/conventions/other.kt
qq451682583
46,335,306
true
{"Markdown": 32, "Kotlin": 21379, "Java": 4599, "Shell": 7, "Batchfile": 10, "Java Properties": 14, "HTML": 156, "INI": 17, "CSS": 2, "JavaScript": 63, "Proguard": 1}
package foo.bar /*p:foo.bar*/fun testOther(a: /*p:foo.bar*/A, b: /*p:foo.bar*/Int, c: /*p:foo.bar*/Any, na: /*p:foo.bar*/A?) { /*c:foo.bar.A(set) p:foo.bar(set) p:java.lang(set) p:kotlin(set) p:kotlin.annotation(set) p:kotlin.jvm(set) p:kotlin.io(set) c:foo.bar.A(getSet) c:foo.bar.A(getSET)*/a[1] = /*c:foo.bar.A(g...
0
Java
0
0
f105329fb432c92a859733f45c80c83725eb2f1f
3,043
kotlin
Apache License 2.0
data/src/main/java/com/mac/githubexplorer/data/di/DataModuleBinds.kt
miguelhincapie
209,692,332
false
{"Kotlin": 134637}
package com.mac.githubexplorer.data.di import com.mac.githubexplorer.data.image.GlideImpl import com.mac.githubexplorer.data.repositories.repo.RepoRepositoryImpl import com.mac.githubexplorer.data.repositories.repo.local.datasource.RepoLocalDataSource import com.mac.githubexplorer.data.repositories.repo.local.datasour...
0
Kotlin
0
1
2ec9cca677fa0a106ca672bde82d71ecc793928f
2,220
GitHubExplorer
Apache License 2.0
kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/ContextProvider.kt
cloudshiftinc
667,063,030
false
{"Kotlin": 140726596}
@file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION") package io.cloudshiftdev.awscdk import io.cloudshiftdev.awscdk.common.CdkObject import io.cloudshiftdev.constructs.Construct import kotlin.Uni...
1
Kotlin
0
4
eb3eef728b34da593a3e55dc423d4f5fa3668e9c
2,253
kotlin-cdk-wrapper
Apache License 2.0
app/src/main/java/com/wbmoeller/filmtracker/ui/rolls/RollsFragment.kt
wbmoeller
245,295,525
false
null
package com.wbmoeller.filmtracker.ui.rolls import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.fragment.app.Fragment import androidx.lifecycle.Observer import androidx.lifecycle.ViewModelProvider import com.wbmoeller.filmtracker.databinding...
0
Kotlin
0
0
ca4814329e72ba87169e22a26b6cc24c3be91759
970
film-tracker
Apache License 2.0
app/src/main/java/pe/edu/upc/logincompose/data/remote/ApiClient.kt
jmayta1984
408,925,519
false
{"Kotlin": 18030}
/* * Designed and developed by 2021 jmayta1984 (Jorge Mayta) * * 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 ...
0
Kotlin
0
0
66b808abac6d60b8d46c020418eb6f2c76360332
1,234
LoginCompose
Apache License 2.0
security/ui/src/main/kotlin/com/kuki/security/ui/http/plugins/Databases.kt
akuchalskij
649,018,448
false
null
package com.kuki.security.ui.http.plugins import com.kuki.security.infrastructure.projector.exposed.UsersTable import com.kuki.shared.infrastructure.eventstore.exposed.DomainMessagesTable import com.kuki.shared.infrastructure.projector.exposed.DatabaseFactory import io.ktor.server.application.* fun Application.config...
0
Kotlin
0
1
e81dc636674e557926c5228ebd60f401c40920f8
718
kotlin-ktor-ddd-es-cqrs
Apache License 2.0
app/src/main/java/com/jamal_aliev/navigationcontroller/MainActivity.kt
jamal-wia
720,843,791
false
{"Kotlin": 67867}
package com.jamal_aliev.navigationcontroller import android.os.Bundle import androidx.appcompat.app.AppCompatActivity import androidx.lifecycle.lifecycleScope import com.jamal_aliev.navigationcontroller.controllers.LineNavigationControllerFragmentScreen import com.jamal_aliev.navigationcontroller.core.NavigationContex...
0
Kotlin
0
13
639e392e3fd141173c1097b2db4f03dd62135dc7
1,297
NavigationController
MIT License
vector/src/main/java/vmodev/clearkeep/adapters/ShareFileRecyclerViewAdapter.kt
telred-llc
194,596,139
false
null
package vmodev.clearkeep.adapters import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.databinding.DataBindingUtil import androidx.databinding.ViewDataBinding import androidx.lifecycle.LifecycleOwner import androidx.recyclerview.widget.AsyncDifferConfig import andro...
5
null
1
3
2d20e94e9711b51aee89fa569efd61449cc7e9c3
4,321
clearkeep-android
Apache License 2.0
app/src/main/java/com/albertjsoft/portainerapp/data/api/ApiObserver.kt
AlbertJQarK
147,027,536
false
null
package com.albertjsoft.portainerapp.data.api import android.support.annotation.CallSuper import com.albertjsoft.portainerapp.App import io.reactivex.Observer import io.reactivex.disposables.Disposable import org.json.JSONException import org.json.JSONObject import retrofit2.HttpException import java.io.IOException i...
0
Kotlin
0
0
5735bb0227a690d335a82ff612d8566e08319b1f
2,756
PortainerApp
Apache License 2.0
src/main/kotlin/com/github/ekvedaras/classfactoryphpstorm/domain/closureState/ClosureState.kt
ekvedaras
529,156,658
false
null
package com.github.ekvedaras.classfactoryphpstorm.domain.closureState import com.github.ekvedaras.classfactoryphpstorm.domain.method.definition.ClassFactoryPropertyDefinition import com.github.ekvedaras.classfactoryphpstorm.support.ClassFactoryPhpTypeProvider import com.github.ekvedaras.classfactoryphpstorm.support.Ut...
0
Kotlin
0
2
92bbdf8ee49333c9990ab2f95fa6cc48cefa5869
2,475
class-factory-phpstorm
Apache License 2.0
shared-sources/src/main/java/org/anti_ad/mc/ipnext/event/Sounds.kt
blackd
351,481,591
false
null
package org.anti_ad.mc.ipnext.event import org.anti_ad.mc.common.vanilla.Vanilla import org.anti_ad.mc.common.vanilla.VanillaSound import org.anti_ad.mc.common.vanilla.alias.* import org.anti_ad.mc.common.vanilla.* import org.anti_ad.mc.ipnext.ModInfo enum class Sounds(loc: String, pitch: Float = 1.0F) { REFILL_...
9
Kotlin
10
44
a6d987422c73f67b047ee36a098b23b5ffbc62b9
1,272
Inventory-Profiles
MIT License
devaria-api/src/main/kotlin/jodfedlet/me/kotlinstudies/basicapi/Constants.kt
jodfedlet
536,634,547
false
null
package jodfedlet.me.kotlinstudies.basicapi const val AUTHORIZATION = "Authorization" const val JWT_SECRET_KEY = "MySecurityKey" const val BEARER = "Bearer"
0
Kotlin
0
2
50f99de885da77067f6665164750e97a249c2efc
157
kotlin-studies
MIT License
Dorstip-App-main/app/src/main/java/com/example/dorstip_app/dashboard/MainViewModel.kt
AlexChulo
807,077,254
false
{"Kotlin": 27119}
package com.example.dorstip_app.dashboard import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import androidx.lifecycle.ViewModel import com.example.dorstip_app.dashboard.BannerSlider.SliderModel import com.example.dorstip_app.dashboard.Categories.CategoryModel import com.example.dorstip_app.d...
3
Kotlin
0
0
6376898f23b871bdcaff4806dfa58609da398f55
3,730
Dorstip-App2
MIT License
app/src/main/java/me/michigang1/weathapp/responses/current/CurrentWeatherResponse.kt
michigang1
588,793,884
false
null
package me.umang.weathapp.responses.current import com.google.gson.annotations.SerializedName import me.umang.weathapp.responses.WeatherResponse class CurrentWeatherResponse { @SerializedName("weather") var weather: List<WeatherResponse>? = null @SerializedName("main") var main: MainResponse? = null ...
0
null
0
13
4eda110855f2b415d23ebb7af5c5f6c9dce46120
434
weather-app
MIT License
clients/kotlin/generated/src/main/kotlin/org/openapitools/client/models/EnvironmentLinks.kt
shinesolutions
244,556,266
false
{"Markdown": 1108, "Text": 12, "Ignore List": 34, "JSON": 35, "Makefile": 9, "Scala": 352, "INI": 15, "Shell": 41, "Dockerfile": 9, "Maven POM": 17, "Java": 1022, "XML": 148, "Haskell": 25, "YAML": 41, "OASv3-yaml": 11, "Cabal Config": 2, "JSON with Comments": 5, "Go": 122, "Go Checksums": 1, "Go Module": 2, "C++": 605...
/** * Cloud Manager API * This API allows access to Cloud Manager programs, pipelines, and environments by an authorized technical account created through the Adobe I/O Console. The base url for this API is https://cloudmanager.adobe.io, e.g. to get the list of programs for an organization, you would make a GET request...
22
Java
0
2
d73a25878f6cc57af954362ba8dccc90d54e6131
2,826
cloudmanager-api-clients
Apache License 2.0
microapp/library_ks/src/main/java/bruhcollective/itaysonlab/microapp/library/ui/game_page/community/cards/CommunityCardBase.kt
iTaysonLab
529,265,880
false
{"Kotlin": 665372}
package bruhcollective.itaysonlab.microapp.library.ui.game_page.community.cards import androidx.compose.material3.Card import androidx.compose.material3.CardDefaults import androidx.compose.material3.MaterialTheme import androidx.compose.material3.surfaceColorAtElevation import androidx.compose.runtime.Composable impo...
2
Kotlin
4
87
04fb50f721342bbec5efea17cf681fba37114993
708
jetisteam
Apache License 2.0
shared/src/commonMain/kotlin/me/gulya/bitwarden/data/FolderData.kt
IlyaGulya
306,867,791
false
null
package me.gulya.bitwarden.data import com.soywiz.klock.DateTime import me.gulya.bitwarden.server.response.FolderResponse data class FolderData( val id: String?, val userId: String?, val name: String?, val revisionDate: DateTime, ) { constructor(response: FolderResponse, userId: String?) : this( ...
0
Kotlin
1
3
9177134c7940d143f1f3da14e6dd56f3102c367d
462
bitwarden-client-mpp
MIT License
packages/expo-development-client/android/src/main/java/expo/modules/developmentclient/react/DevelopmentClientInternalSettings.kt
beaur
236,665,759
false
null
package expo.modules.developmentclient.react import android.content.Context import com.facebook.react.devsupport.DevInternalSettings class DevelopmentClientInternalSettings( context: Context, debugServerHost: String ) : DevInternalSettings(context, null) { private var packagerConnectionSettings = DevelopmentCli...
1
null
1
1
27df1c8f23d7765f4241b7ccbffdbaed4b322449
455
expo
Apache License 2.0
meistercharts-demos/meistercharts-demos/src/commonMain/kotlin/com/meistercharts/demo/descriptors/BarLineShowcaseDemoDescriptor.kt
Neckar-IT
599,079,962
false
null
/** * Copyright 2023 Neckar IT GmbH, Mössingen, Germany * * 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 appli...
0
Kotlin
0
4
af73f0e09e3e7ac9437240e19974d0b1ebc2f93c
13,585
meistercharts
Apache License 2.0
src/main/kotlin/com/github/nuguya21/jobs/util/GravityUtil.kt
nuguya21
477,276,542
false
{"Kotlin": 15772}
package com.github.nuguya21.jobs.util import org.bukkit.Location // m = m/s class GravityUtil { constructor(origin: Location, direction: Direction, m: Double) { this.origin = origin this.now = origin this.direction = direction this.m = m g = 9.8 this.nowG = g ...
0
Kotlin
0
0
ea0d05e38adabad1018752f27e99db4cdcda8f34
1,097
Jobs
MIT License
formats/protobuf/commonTest/src/kotlinx/serialization/protobuf/ProtoTagExceptionTest.kt
Kotlin
97,827,246
false
{"Kotlin": 2262082, "Java": 1343}
/* * Copyright 2017-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. */ package kotlinx.serialization.protobuf import kotlinx.serialization.Serializable import kotlinx.serialization.decodeFromHexString import kotlinx.serialization.encodeToHexString import kotlinx.serialization.pr...
407
Kotlin
621
5,396
d4d066d72a9f92f06c640be5a36a22f75d0d7659
8,469
kotlinx.serialization
Apache License 2.0
common/ui-kit/src/main/kotlin/ru/maksonic/beresta/common/ui_kit/helpers/PreviewContainer.kt
maksonic
580,058,579
false
{"Kotlin": 1622432}
package ru.maksonic.beresta.common.ui_kit.helpers import androidx.compose.foundation.background import androidx.compose.foundation.layout.Box import androidx.compose.runtime.Composable import androidx.compose.ui.Modifier import ru.maksonic.beresta.common.ui_theme.colors.background import ru.maksonic.beresta.common.ui_...
0
Kotlin
0
0
227b0a5f6c27b0f731b1f6e81b1fe2deeaa720aa
675
Beresta
MIT License
base/src/main/kotlin/com/bedelln/iodine/interfaces/HasEvents.kt
Sintrastes
356,405,878
false
null
package com.bedelln.iodine.interfaces import kotlinx.coroutines.flow.Flow import kotlinx.coroutines.flow.flowOf interface HasEvents<out E> { val events: Flow<E> get() = flowOf() }
3
Kotlin
0
4
03e19eb7bd4b16abc9678bc5b7c48da66718444a
185
Iodine
MIT License
Edu-Android/testSrc/com/jetbrains/edu/android/actions/MockAndroidNewStudyUi.kt
JetBrains
43,696,115
false
null
package com.jetbrains.edu.android.actions import com.intellij.openapi.project.Project import com.jetbrains.edu.android.AndroidCourseBuilder.Companion.initAndroidProperties import com.jetbrains.edu.coursecreator.actions.create.MockNewStudyItemUi import com.jetbrains.edu.coursecreator.actions.studyItem.NewStudyItemInfo ...
6
Kotlin
45
99
cfc24fe13318de446b8adf6e05d1a7c15d9511b5
1,137
educational-plugin
Apache License 2.0
src/main/kotlin/com/bh/planners/command/PlannersExperienceCommand.kt
postyizhan
754,476,430
false
{"Kotlin": 652703, "Java": 215}
package com.bh.planners.command import com.bh.planners.api.PlannersAPI.plannersProfile import com.bh.planners.api.addExperience import com.bh.planners.api.hasJob import com.bh.planners.core.kether.bukkitPlayer import taboolib.common.platform.ProxyCommandSender import taboolib.common.platform.command.* import taboolib....
0
Kotlin
1
0
dea343908592d722cd03d9dbadbc659372131dfe
1,649
planners
Creative Commons Zero v1.0 Universal
sbp-users/src/main/kotlin/io/github/tiscs/sbp/openapi/ApiFilter.kt
Tiscs
131,112,310
false
null
package io.github.tiscs.sbp.openapi import kotlin.reflect.KClass @Target() @Retention(AnnotationRetention.RUNTIME) annotation class ApiFilter(val name: String, val example: String = "", val description: String = "", val params: Array<KClass<*>> = [])
0
Kotlin
1
5
b2c675662c098f2a9f6439dbfb8908a7822da2b1
253
spring-cloud-practices
MIT License
tests-execution-chart-commons/src/main/kotlin/io/github/platan/tests_execution_chart/report/data/TimedTestResult.kt
platan
549,810,072
false
{"Groovy": 43637, "Kotlin": 43142, "Java": 3755, "TypeScript": 3094, "HTML": 2293, "Shell": 480, "PowerShell": 116}
package io.github.platan.tests_execution_chart.report.data import kotlinx.serialization.Serializable import java.time.Duration @Serializable data class TimedTestResult( // TODO deprecate, rename to groupName val className: String?, val testName: String, val startTime: Long, val endTime: Long, ...
4
Groovy
5
13
9113d65a522c97ce04f07fd470281bfdb551848a
758
tests-execution-chart
MIT License
app/src/main/java/com/vmloft/develop/app/template/request/repository/MainRepository.kt
lzan13
195,352,610
false
null
package com.vmloft.develop.app.template.request.repository import com.vmloft.develop.app.template.common.SPManager import com.vmloft.develop.app.template.request.api.APIRequest import com.vmloft.develop.library.common.request.BaseRepository import com.vmloft.develop.library.common.request.RResult import com.vmloft.dev...
1
null
72
122
a80da3998b48f1290e39b2359021a8780941e3d8
807
VMTemplateAndroid
MIT License
unplash-android/src/main/java/com/dino/unsplash/shared/android/theme/Shape.kt
dinopriyano
511,626,455
false
{"Kotlin": 26902, "Swift": 4996, "Ruby": 1794}
package com.dino.unsplash.shared.android.theme import androidx.compose.foundation.shape.RoundedCornerShape import androidx.compose.material.Shapes import androidx.compose.ui.unit.dp val UnplashShapes = Shapes( small = RoundedCornerShape(percent = 50), medium = RoundedCornerShape(size = Dimesion.SIZE_8), l...
0
Kotlin
0
0
e21836d28b6fab296e8ffd18abd512de6c478429
532
Unplash-Mobile
Apache License 2.0
asynkio/src/main/java/me/nikhilchaudhari/asynkio/extensions/core_extensions.kt
sakhtar-onmobile
171,825,341
true
{"Kotlin": 45384, "Java": 1131}
package me.nikhilchaudhari.asynkio.extensions class AsyncException(e: Exception, stackTrace: Array<out StackTraceElement>) : RuntimeException(e) { init { this.stackTrace = stackTrace } }
0
Kotlin
0
0
a55d55743ab9190e60adf3513f2513ea55504c3c
203
AsynKio
MIT License
app/src/main/java/com/gmail/uia059466/liska/catalog/CatalogStateAdapter.kt
serhiq
374,399,892
false
null
package com.gmail.uia059466.liska.catalog data class CatalogStateAdapter( val mode:AdapterViewCatalogMode, val currentId:Long =0L, val displayList:MutableList<DisplayCatalog> = mutableListOf<DisplayCatalog>() )
0
Kotlin
0
0
5f830c9bd3aea467ac31449f383506e56990400a
223
LiskaDev
Apache License 2.0
src/main/kotlin/io/vortex/spring/boot/base/config/security/VortexJwtTokenFilter.kt
Yazan98
252,906,682
false
null
package io.vortex.spring.boot.base.config.security import org.springframework.web.filter.GenericFilterBean import javax.servlet.FilterChain import javax.servlet.ServletRequest import javax.servlet.ServletResponse import org.springframework.security.core.context.SecurityContextHolder import javax.servlet.http.HttpServl...
0
Kotlin
0
0
19510e442c5cf8f0c7d286c8b8fa1f03c775afa6
932
vortex-spring
Apache License 2.0
src/main/kotlin/feature/logs_screen/component/LogsScreenComponent.kt
boolean-false
809,920,499
false
{"Kotlin": 84532}
package feature.logs_screen.component import androidx.compose.runtime.Stable import utils.state.SharedEventFlow import feature.logs_screen.ui.model.LogsScreenUiAction @Stable interface LogsScreenComponent { val uiAction: SharedEventFlow<LogsScreenUiAction> val gameName: String fun emitUiAction(action: Log...
0
Kotlin
0
1
8bf1ca636f3e641d6ebc0ab2367c067af1ea558b
338
VLauncher
MIT License
src/commonMain/kotlin/io/github/devngho/kisopenapi/layer/Market.kt
devngho
565,833,597
false
{"Kotlin": 444350}
package io.github.devngho.kisopenapi.layer sealed interface Market
0
Kotlin
1
7
9f95e79dcfc53340fcf202a6106876b02eb067e5
67
kt_kisopenapi
MIT License
src/main/kotlin/no/vingaas/pokermanager/entities/tournament/TournamentRound.kt
tomandreaskv
810,388,706
false
{"Kotlin": 143404}
package no.vingaas.pokermanager.entities.tournament import jakarta.persistence.* import no.vingaas.pokermanager.entities.blindstructure.Level import no.vingaas.pokermanager.entities.common.Status import java.time.LocalDateTime @Entity @Table(name = "tournament_rounds", schema = "pokerman") data class TournamentRound(...
0
Kotlin
0
1
76245f712deb230f6369d236fa6b440ac4e6553e
1,077
pokermanager-backend
Apache License 2.0
app/src/main/java/com/n0stalgiaultra/head2head/data/remote/dto/h2h/TeamsDto.kt
N0stalgiaUltra
684,244,140
false
{"Kotlin": 37181}
package com.n0stalgiaultra.head2head.data.remote.dto.h2h data class TeamsDto( val home: HomeTeamDto, val away: AwayTeamDto ) data class HomeTeamDto( val id: Int, val winner: Boolean? ) data class AwayTeamDto( val id: Int, val winner: Boolean? )
0
Kotlin
0
0
2f1ac3cacb6518906116a724767b07884b2ad69b
272
Head2HeadApp
Apache License 2.0
helm-values-gradle-plugin/src/main/kotlin/io/github/fstaudt/helm/gradle/HelmValuesExtension.kt
fstaudt
496,545,363
false
{"Kotlin": 475656}
package io.github.fstaudt.helm.gradle import io.github.fstaudt.helm.exceptions.RepositoryMappingException import io.github.fstaudt.helm.gradle.tasks.GenerateJsonSchemas.Companion.GENERATE_JSON_SCHEMAS import io.github.fstaudt.helm.gradle.tasks.PublishJsonSchemas.Companion.PUBLISH_JSON_SCHEMAS import io.github.fstaudt....
7
Kotlin
0
9
6913021417c66220e5f17f6f2a86ef5d0b03b4aa
1,646
helm-values
Apache License 2.0
pocketdb/src/main/java/com/utsmannn/pocketdb/Pocket.kt
syntaxxxxx
293,914,172
true
{"Kotlin": 20471}
package com.utsmannn.pocketdb import android.content.Context import com.utsmannn.pocketdb.kind.PocketCollection import com.utsmannn.pocketdb.kind.PocketRow import org.koin.core.KoinApplication object Pocket { fun init(context: Context, key: String) { PocketDb.install(context, key) } fun installKo...
0
null
0
0
b5c959df31d1f9e80ad9ffe46324049f02b59c96
613
pocketdb
Apache License 2.0
PerformanceCodelab/app/src/main/java/com/compose/performance/stability/StabilityScreen.kt
android
290,421,574
false
{"Kotlin": 678026, "Shell": 1224}
/* * Copyright 2024 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...
28
Kotlin
655
1,442
c986b5afee85c5ca4036bb947e5c2b332aea01dd
6,311
codelab-android-compose
Apache License 2.0
environment/src/main/kotlin/jetbrains/exodus/io/AsyncFileDataReaderWriterProvider.kt
JetBrains
19,271,154
false
null
/* * Copyright 2010 - 2023 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
0
null
114
1,095
0a0fd05209606f7d4e443e5cd168797c7ebe9743
1,910
xodus
Apache License 2.0
app/src/main/kotlin/com/dot/gallery/feature_node/presentation/vault/components/EncryptedMediaImage.kt
IacobIonut01
614,314,251
false
{"Kotlin": 1381485, "Shell": 455}
/* * SPDX-FileCopyrightText: 2023 IacobIacob01 * SPDX-License-Identifier: Apache-2.0 */ package com.dot.gallery.feature_node.presentation.vault.components import androidx.compose.animation.AnimatedVisibility import androidx.compose.animation.animateColorAsState import androidx.compose.animation.core.animateDpAsSta...
87
Kotlin
66
1,292
261ceb8c5ade6ede7b295536b9384ac12d77f572
5,981
Gallery
Apache License 2.0
src/main/kotlin/net/illuc/kontraption/ship/KontraptionThrusterShipControl.kt
illucc
692,191,268
false
{"Kotlin": 56603, "Java": 15507}
package net.illuc.kontraption.ship import net.illuc.kontraption.util.toBlockPos import net.illuc.kontraption.util.toDouble import net.illuc.kontraption.util.toJOML import net.minecraft.core.BlockPos import org.joml.Vector3d import org.joml.Vector3i import org.valkyrienskies.core.api.ships.PhysShip import org.valkyrien...
0
Kotlin
0
5
d55005b544eb5bf293550cfcf5e463cd3a9d6ff2
2,350
Kontraption
Apache License 2.0
app/src/main/java/com/abdur/simplestudentregistrationsystem/ui/navigation/Routes.kt
abdur-android-dev
753,419,515
false
{"Kotlin": 72671}
package com.abdur.studentroomdbproject.ui.navigation object Routes { const val HOME_SCREEN = "MainScreen" const val LOGIN_SCREEN = "SigningScreen" const val SIGNUP_SCREEN = "Signup" const val ALL_RECORD_SCREEN = "AllRecord" const val PROFILE_SCREEN = "Profile/{studentID}" const val BOTTOM_SCREE...
0
Kotlin
0
0
36b806862821d09f4fa46ae721cc303f085ddee5
353
Simple-Student-Registration-Android-Compose-Room-Database
Apache License 2.0
app/src/main/java/id/rllyhz/schotersnewsapp/ui/adapters/ArticleListAdapter.kt
rllyhz
506,923,082
false
{"Kotlin": 52006}
package id.rllyhz.schotersnewsapp.ui.adapters import android.view.LayoutInflater import android.view.ViewGroup import androidx.recyclerview.widget.DiffUtil import androidx.recyclerview.widget.ListAdapter import androidx.recyclerview.widget.RecyclerView import com.bumptech.glide.Glide import id.rllyhz.schotersnewsapp.R...
0
Kotlin
0
0
bd5d0ec4bd2de5152bea24e100d1c75e1f1d7797
2,659
SchotersNewsApp
Apache License 2.0
basick/src/main/java/com/mozhimen/basick/utilk/kotlin/UtilKNumberArray.kt
mozhimen
353,952,154
false
{"Kotlin": 2273552, "Java": 246468, "AIDL": 1012}
package com.mozhimen.basick.utilk.kotlin /** * @ClassName UtilKNumberArray * @Description TODO * @Author Mozhimen & <NAME> * @Date 2023/8/2 15:33 * @Version 1.0 */ object UtilKNumberArray { @JvmStatic fun max(nums: IntArray): Int = nums.maxOf { it } @JvmStatic fun max(nums: ShortArra...
0
Kotlin
6
115
05064571d43ada3ea6488bafc33d2fe436c0618d
2,294
SwiftKit
Apache License 2.0
compottie/src/commonMain/kotlin/io/github/alexzhirkevich/compottie/LottieCompositionSpec.kt
alexzhirkevich
730,724,501
false
{"Kotlin": 99640, "HTML": 284}
package io.github.alexzhirkevich.compottie import androidx.compose.runtime.Immutable import androidx.compose.runtime.Stable /** * Specification for a [LottieComposition]. Each subclass represents a different source. * A [LottieComposition] is the stateless parsed version of a Lottie json file and is * passed into...
2
Kotlin
1
35
8d8a26506cc60d29c3c8c47cea0b09d7643037c2
658
compottie
MIT License
src/main/kotlin/net/devoev/vanilla_cubed/client/render/item/ModItemRenderer.kt
Devoev
473,273,645
false
{"Kotlin": 259348, "Java": 37528}
package net.devoev.vanilla_cubed.client.render.item import net.devoev.vanilla_cubed.item.ModItems import net.devoev.vanilla_cubed.resource.ModResourceReloadListeners import net.devoev.vanilla_cubed.util.MapInitializer import net.fabricmc.api.EnvType import net.fabricmc.api.Environment import net.fabricmc.fabric.api.cl...
0
Kotlin
2
1
faad984d3da21910d0153a0a14b32666cf145751
1,001
vanilla-cubed
MIT License
src/main/kotlin/com/skillw/randomitem/internal/hook/mythic/MMListener.kt
Glomzzz
474,664,541
false
{"Kotlin": 89760, "Assembly": 2}
package com.skillw.randomitem.internal.hook.mythic import com.skillw.randomitem.RandomItem import com.skillw.randomitem.api.item.RItem import io.lumine.xikage.mythicmobs.api.bukkit.events.MythicMobDeathEvent import io.lumine.xikage.mythicmobs.api.bukkit.events.MythicMobSpawnEvent import org.bukkit.Location import org....
0
Kotlin
0
2
225f70885f263b751451abea0435b6fc8ff6e52a
4,660
RandomItem-III
MIT License
android/src/main/kotlin/com/cjx/x5_webview/X5WebViewFactory.kt
Hornet-H
187,947,414
false
{"Dart": 12464, "Kotlin": 10353, "Ruby": 2871, "Swift": 916, "Objective-C": 367}
package com.cjx.x5_webview import android.content.Context import io.flutter.plugin.common.BinaryMessenger import io.flutter.plugin.common.StandardMessageCodec import io.flutter.plugin.platform.PlatformView import io.flutter.plugin.platform.PlatformViewFactory class X5WebViewFactory(private val msg: BinaryMessenger,pr...
0
Dart
0
0
52850d0bc817af132f9e77ed0a98b21cf90a7e90
559
Flutter-web
Apache License 2.0
examples/basic-single-window/src/jvmMain/kotlin/io/github/lukwol/examples/screens/SecondScreen.kt
lukwol
562,428,336
false
null
package io.github.lukwol.examples.screens import androidx.compose.desktop.ui.tooling.preview.Preview import androidx.compose.foundation.layout.* import androidx.compose.material.Button import androidx.compose.material.MaterialTheme import androidx.compose.material.Text import androidx.compose.runtime.Composable import...
3
Kotlin
0
6
15037da74cf5244605e284d3aad0a421b93157ab
1,104
cm-navigation
MIT License
android/app/src/main/kotlin/com/prof/friends_tournament/MainActivity.kt
prof18
197,080,388
false
{"Dart": 263695, "Ruby": 1477, "Swift": 404, "Kotlin": 132, "Shell": 104, "Objective-C": 38}
package com.prof.friends_tournament import io.flutter.embedding.android.FlutterActivity class MainActivity: FlutterActivity() { }
0
Dart
7
33
5639aedda22143faab783e7b16da3d18a5395fd0
132
Friends-Tournament
Apache License 2.0
app/src/main/java/wseemann/media/romote/di/CommonModule.kt
wseemann
62,024,481
false
{"Gradle": 5, "Java Properties": 3, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "JSON": 1, "Java": 46, "XML": 62, "Kotlin": 11, "AIDL": 1}
package wseemann.media.romote.di import android.content.Context import android.content.SharedPreferences import androidx.preference.PreferenceManager import dagger.Module import dagger.Provides import dagger.hilt.InstallIn import dagger.hilt.android.qualifiers.ApplicationContext import dagger.hilt.components.Singleton...
15
Java
29
97
ccf0a9caea2bc6536c1508886b5eb5f574850041
1,390
RoMote
Apache License 2.0
src/intellij/contextive/src/main/kotlin/tech/contextive/contextive/LanguageServerDownloader.kt
dev-cycles
420,592,191
false
{"F#": 192874, "JavaScript": 7726, "Kotlin": 7264, "Shell": 2721, "Dockerfile": 2091, "C#": 379, "Ruby": 82}
package tech.contextive.contextive import com.intellij.ide.plugins.PluginManagerCore import com.intellij.openapi.diagnostic.logger import com.intellij.openapi.extensions.PluginId import net.lingala.zip4j.io.inputstream.ZipInputStream import net.lingala.zip4j.model.LocalFileHeader import java.io.FileOutputStream import...
13
F#
3
145
12fe0fdf64fb788c3ca8d33be4aace49be6eadc8
3,173
contextive
MIT License
state-machine/src/main/kotlin/com/pintailconsultingllc/spring/spikes/statemachine/jpa/entities/Payment.kt
cebartling
248,637,914
false
null
package com.pintailconsultingllc.spring.spikes.statemachine.jpa.entities import com.pintailconsultingllc.spring.spikes.statemachine.domain.PaymentState import javax.persistence.* @Entity @Table(name = "payments") data class Payment( @Id @GeneratedValue(strategy = GenerationType.IDENTITY) var i...
0
Kotlin
0
0
13db991aa96f1f02a3ebcd43ac4ab0914f247c8e
450
spring-boot-spikes
MIT License
tabby-fp/src/main/kotlin/com/sksamuel/tabby/results/failIfNotNull.kt
sksamuel
280,509,527
false
{"Kotlin": 82291}
package com.sksamuel.tabby.results /** * If this [Result] is a success containing a non-null, returns a failure with a [IllegalStateException]. * Otherwise, returns the receiver. */ fun <A : Any> Result<A?>.failIfNotNull(): Result<A?> = failIfNotNull { IllegalStateException() } /** * If this [Result] is a success...
0
Kotlin
8
23
0fa37638712efd6b059f280f95a8a2f87c95af89
831
tabby
Apache License 2.0
tabby-fp/src/main/kotlin/com/sksamuel/tabby/results/failIfNotNull.kt
sksamuel
280,509,527
false
{"Kotlin": 82291}
package com.sksamuel.tabby.results /** * If this [Result] is a success containing a non-null, returns a failure with a [IllegalStateException]. * Otherwise, returns the receiver. */ fun <A : Any> Result<A?>.failIfNotNull(): Result<A?> = failIfNotNull { IllegalStateException() } /** * If this [Result] is a success...
0
Kotlin
8
23
0fa37638712efd6b059f280f95a8a2f87c95af89
831
tabby
Apache License 2.0
app/src/main/java/org/michaelbel/moviemade/ktx/Toast.kt
MohamedElgindy
418,517,056
true
{"Kotlin": 274956}
@file:Suppress("nothing_to_inline", "unused") package org.michaelbel.moviemade.ktx import android.app.Activity import android.content.Context import android.view.Gravity.CENTER import android.widget.TextView import android.widget.Toast import androidx.annotation.StringRes import androidx.fragment.app.Fragment inline...
0
null
0
0
cba8423af7b30eec5f2276a639fdbe2ffb020ae3
1,683
Moviemade
Apache License 2.0
app/src/main/java/io/github/armcha/architecturesampleproject/ui/second/SecondActivity.kt
armcha
143,863,471
false
null
package io.github.armcha.architecturesampleproject.ui.second import android.os.Bundle import android.util.Log import io.github.armcha.architecturesampleproject.R import io.github.armcha.architecturesampleproject.ui.base.BaseActivity class SecondActivity : BaseActivity<SecondContract.View, SecondPresenter>(), SecondC...
0
Kotlin
1
1
81bf0b91f483e2db74eee638215cb1b6e880f1b2
631
MPV_architecture_adaptation
Apache License 2.0
src/main/kotlin/com/pettcare/db/MessagesTable.kt
antelukic
810,253,774
false
{"Kotlin": 75020, "Dockerfile": 300}
package com.pettcare.db import java.time.LocalDateTime import org.jetbrains.exposed.sql.Table import org.jetbrains.exposed.sql.javatime.datetime object MessagesTable: Table("messages") { val id = char("id", 36) val senderId = char("sender_id", 36).references(UserTable.id) val text = text("text") val c...
0
Kotlin
0
0
7a7f370d3607511fa4dceacfdfd70dbe55fc4841
511
PettCare-Server
Apache License 2.0
app/src/main/java/com/ustory/kadapterdemo/activity/MutilLayoutDemo2.kt
UCodeUStory
153,961,084
false
null
package com.ustory.kadapterdemo.activity import android.support.v7.app.AppCompatActivity import android.os.Bundle import android.support.v7.widget.LinearLayoutManager import com.ustory.kadapterdemo.Menu import com.ustory.kadapterdemo.R import com.ustory.kadapterdemo.adapter.mutilAdapter import com.ustory.kadapterdemo...
1
Kotlin
3
45
cf54d3186ec1470db3231e924b409da7f2fbe9d5
2,440
KAdapter
Apache License 2.0
app/src/main/java/coder/seventy/two/MainActivity.kt
waiferkolar
178,268,130
false
null
package coder.seventy.two import android.content.Context import android.content.Intent import android.net.ConnectivityManager import android.net.NetworkInfo import android.support.v7.app.AppCompatActivity import android.os.Bundle import android.view.View import android.view.WindowManager import android.view.animation....
0
Kotlin
0
2
77cffea46afbf8859b0de6bb66046b7b28ec82a2
3,364
BMStarter-Android-Prodject
Freetype Project License
lib/src/integrationTest/kotlin/com/lemonappdev/konsist/core/declaration/type/kotype/KoTypeDeclarationForKoGenericTypeProviderTest.kt
LemonAppDev
621,181,534
false
null
package com.lemonappdev.konsist.core.declaration.type.kotype import com.lemonappdev.konsist.TestSnippetProvider import org.amshove.kluent.shouldBeEqualTo import org.junit.jupiter.params.ParameterizedTest import org.junit.jupiter.params.provider.Arguments.arguments import org.junit.jupiter.params.provider.MethodSource ...
6
null
27
995
603d19e179f59445c5f4707c1528a438e4595136
1,744
konsist
Apache License 2.0
jackson-jakarta-validation/src/main/kotlin/com/assaabloyglobalsolutions/jacksonbeanvalidation/Property.kt
AssaAbloy-GlobalSolutions
745,951,888
false
{"Kotlin": 48889}
package com.assaabloyglobalsolutions.jacksonbeanvalidation import com.fasterxml.jackson.databind.deser.SettableBeanProperty import kotlin.reflect.KFunction import kotlin.reflect.KParameter import kotlin.reflect.KProperty import kotlin.reflect.KType import kotlin.reflect.full.primaryConstructor import kotlin.reflect.jv...
3
Kotlin
0
0
90a54f998f46520e933a211ce1c320364aebcbe6
1,643
jackson-bean-validation
MIT License
app/src/main/java/com/tutorialsbuzz/recyclerviewhalfswipe/MainActivity.kt
goraga1
522,980,318
true
{"Kotlin": 19128, "Java": 14986}
package com.tutorialsbuzz.recyclerviewhalfswipe import android.graphics.Color import android.os.Bundle import android.widget.Toast import androidx.appcompat.app.AppCompatActivity import androidx.appcompat.content.res.AppCompatResources import androidx.recyclerview.widget.LinearLayoutManager import androidx.recyclervie...
0
null
0
0
b359d0bd0664ebb6bdf60fc973802b019afcbf98
7,492
RecyclerViewHalfSwipe
Apache License 2.0
app/src/test/kotlin/xyz/lbres/trickcalculator/compute/runGenerateAndValidateComputeTextTests.kt
lbressler13
464,331,572
false
{"Kotlin": 359815}
package xyz.lbres.trickcalculator.compute import xyz.lbres.exactnumbers.exactfraction.ExactFraction import xyz.lbres.kotlinutils.list.IntList import xyz.lbres.kotlinutils.list.StringList import xyz.lbres.trickcalculator.assertFailsWithMessage import xyz.lbres.trickcalculator.splitString import kotlin.test.assertEquals...
0
Kotlin
0
2
a0fa892ad8e11ec9a12da090c2938af2f0322e69
13,001
trick-calculator
MIT License
app/intro/src/main/java/com/runle/intro/util/WelcomeUtils.kt
hajiyevelnur04
429,325,449
false
{"Java": 12474, "Kotlin": 9330}
package com.runle.intro.util /** * Created by elha on 10.08.2021. */ fun convertLongArrayListToLongArray(arrayList: ArrayList<Long>): LongArray { val durations = LongArray(arrayList.size) for ((index, item) in arrayList.withIndex()){ durations[index] = item } return durations }
0
Java
0
0
7db95f9a1d19d462bdabc638a61707fe6c793335
305
intro_fragment
MIT License
src/test/kotlin/no/nav/familie/ef/sak/iverksett/IverksettingDtoMapperTest.kt
navikt
206,805,010
false
null
package no.nav.familie.ef.sak.iverksett import io.mockk.every import io.mockk.mockk import io.mockk.verify import no.nav.familie.ef.sak.arbeidsfordeling.ArbeidsfordelingService import no.nav.familie.ef.sak.barn.BarnService import no.nav.familie.ef.sak.behandlingsflyt.steg.StegType import no.nav.familie.ef.sak.behandli...
5
Kotlin
2
0
bf4b9a2ce37d40cdf48fbfbf433b6e91dca7d08b
5,967
familie-ef-sak
MIT License
client_support/common/src/commonMain/kotlin/org/thechance/common/domain/entity/BpException.kt
TheChance101
671,967,732
false
{"Kotlin": 2473455, "Ruby": 8872, "HTML": 6083, "Swift": 4726, "JavaScript": 3082, "CSS": 1436, "Dockerfile": 1407, "Shell": 1140}
package org.thechance.common.domain.entity open class BeepBeepException(message: String) : Exception(message) class InvalidCredentialsException(message: String) : BeepBeepException(message) class UnknownErrorException : BeepBeepException("Unknown error") class NoInternetException : BeepBeepException("No internet co...
4
Kotlin
55
572
1d2e72ba7def605529213ac771cd85cbab832241
476
beep-beep
Apache License 2.0
tabulate-core/src/main/kotlin/io/github/voytech/tabulate/template/iterators/RowContextIterator.kt
voytech
262,033,710
false
null
package io.github.voytech.tabulate.template.iterators import io.github.voytech.tabulate.template.context.MutableRowIndex import io.github.voytech.tabulate.template.operations.AttributedRowWithCells import io.github.voytech.tabulate.template.resolvers.IndexedContextResolver internal class RowContextIterator<T>( pr...
19
Kotlin
0
1
efbec6ec35a861c11516aa87cc17ac630f491114
837
tabulate
Apache License 2.0
app/main/arenaoppslag/ekstern/eksternRoute.kt
navikt
690,073,639
false
{"Kotlin": 62926, "Shell": 697, "Dockerfile": 150}
package arenaoppslag.ekstern import io.ktor.server.application.* import io.ktor.server.request.* import io.ktor.server.response.* import io.ktor.server.routing.* import javax.sql.DataSource fun Route.ekstern(datasource: DataSource) { val eksternRepo = EksternRepo(datasource) route("/ekstern") { post(...
1
Kotlin
0
0
42ac65db2f3410de1ffcfb07733830d43b7763bf
888
aap-arenaoppslag
MIT License
src/main/kotlin/me/honkling/february/lib/MiniMessage.kt
honkling
810,539,109
false
null
package me.honkling.february.lib import me.honkling.february.BRAND import net.kyori.adventure.audience.Audience import net.kyori.adventure.text.Component import net.kyori.adventure.text.format.NamedTextColor import net.kyori.adventure.text.format.TextColor import net.kyori.adventure.text.minimessage.MiniMessage import...
1
null
1
1
35a079ac30447a93ad2c3084fcc846e740cb5e22
1,492
february
MIT License
android/app/src/main/java/com/alimilli/android/tilegame/MainActivity.kt
tejesh-alimilli
134,938,825
false
{"Swift": 15341, "Kotlin": 12175}
package com.alimilli.android.tilegame import android.support.v7.app.AppCompatActivity import android.os.Bundle import android.util.Log import android.view.View import com.alimilli.android.tilegame.dataObjects.TileBoard import kotlinx.android.synthetic.main.activity_main.* class MainActivity : AppCompatActivity() { ...
0
Swift
0
0
89c866cd065831d1395705435aa98f74cdbac54a
2,024
TileGame
MIT License
app/src/main/java/com/ayia/workernotification/usecases/GetTodoObs.kt
ayiaware
525,784,017
false
null
package com.ayia.workernotification.usecases import com.ayia.workernotification.data.TodoRepository class GetTodoObs (private val repository: TodoRepository){ operator fun invoke(id : Int) = repository.getTodoObs(id) }
0
Kotlin
0
3
b9fc6c12d134d6c56b21c0863103e1d2c7171383
226
WorkerNotification
MIT License
app/src/main/java/com/hypertrack/android/ui/screens/splash_screen/SplashScreenFragment.kt
hypertrack
241,723,736
false
null
package com.hypertrack.android.ui.screens.splash_screen import android.annotation.SuppressLint import android.os.Bundle import android.view.View import com.hypertrack.android.di.Injector import com.hypertrack.android.interactors.app.AppErrorAction import com.hypertrack.android.interactors.app.RegisterScreenAction impo...
1
Kotlin
17
31
c5dd23621aed11ff188cf98ac037b67f435e9f5b
1,077
visits-android
MIT License
NoSweatBetAPI/src/main/kotlin/com/nosweatbetapi/service/Bet365Service.kt
jjohn49
764,168,345
false
{"Text": 3, "Ignore List": 3, "Markdown": 2, "Gradle Kotlin DSL": 4, "Maven POM": 1, "Shell": 2, "Batchfile": 2, "XML": 6, "INI": 7, "JavaScript": 3, "TOML": 1, "Java": 7, "JAR Manifest": 1, "Java Properties": 1, "Kotlin": 15}
package com.nosweatbetapi.service import com.nosweatbetapi.model.GameBet import com.nosweatbetapi.model.GameBetType import com.nosweatbetapi.model.SportsBookTeamBets import org.openqa.selenium.By import org.openqa.selenium.WebElement import org.openqa.selenium.chrome.ChromeDriver //import org.openqa.selenium.chrome.C...
0
Java
0
1
1261f5b5ecd626f7040ddedaaac199468c9a2700
4,637
NoSweatPropBetAPI
MIT License