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
plugins/gradle/java/testSources/execution/test/events/fixture/GradleExecutionOutputFixture.kt
ingokegel
72,937,917
false
null
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. package org.jetbrains.plugins.gradle.testFramework.fixture import com.intellij.openapi.Disposable import com.intellij.openapi.externalSystem.model.task.ExternalSystemTaskId import com.intellij.opena...
7
null
5162
2
b07eabd319ad5b591373d63c8f502761c2b2dfe8
5,469
intellij-community
Apache License 2.0
navui/src/main/java/com/hutchins/navui/core/NavUIControllerViewModel.kt
taekwonjoe01
184,627,574
false
{"Kotlin": 136889}
/******************************************************************************* * Copyright 2019 <NAME> * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software * and associated documentation files (the "Software"), to deal in the Software without * restriction, including ...
3
Kotlin
0
1
34678141c021a4d775c0ce79d7bbd071fbfd01b9
3,568
BetterJetpackNav
MIT License
app/src/main/java/me/seebrock3r/elevationtester/widget/BitmapGenerator.kt
fossabot
153,639,520
true
{"Kotlin": 33611, "RenderScript": 2561}
package me.seebrock3r.elevationtester.widget import android.content.Context import android.graphics.Bitmap import android.renderscript.Allocation import android.renderscript.RenderScript import kotlinx.coroutines.experimental.CommonPool import kotlinx.coroutines.experimental.Deferred import kotlinx.coroutines.experime...
0
Kotlin
0
0
8e69aa1c9f15deccaf08f52222d2cf9c4ef81d9a
3,286
uplift
Apache License 2.0
app/src/main/java/com/malibin/morse/data/service/response/SocketResponse.kt
cha7713
463,427,946
true
{"Kotlin": 121634, "PureBasic": 2910}
package com.malibin.morse.data.service.response /** * Created By Malibin * on 1월 20, 2021 */ data class SocketResponse( private val id: String, val response: String?, val sdpAnswer: String?, val candidate: Candidate?, val message: String, val success: Boolean, val from: String?, val...
0
null
0
0
8103c56b8079224aba8eedc7a4a4af40a1b92b4c
1,121
morse_android_stove_camp
Apache License 2.0
app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsTrackingController.kt
nekomangaorg
182,704,531
false
{"Kotlin": 3442643}
package eu.kanade.tachiyomi.ui.setting import android.app.Activity import androidx.preference.Preference import androidx.preference.PreferenceGroup import androidx.preference.PreferenceScreen import eu.kanade.tachiyomi.data.preference.PreferenceKeys as Keys import eu.kanade.tachiyomi.data.track.TrackManager import eu....
94
Kotlin
98
2,261
3e0f16dd125e6d173e29defa7fcb62410358239d
12,282
Neko
Apache License 2.0
app/src/main/java/br/com/alura/orgs/dao/ProdutosDao.kt
MizaelJR17
726,590,276
false
null
package br.com.alura.orgs.dao import br.com.alura.orgs.model.Produto class ProdutosDao { fun adiciona(produto: Produto){ produtos.add(produto) } fun buscaTodos() : List<Produto>{ return produtos.toList() } companion object { private val produtos = mutableListOf<Produto...
0
null
0
1
ea27775abd79197b28960b0328d28a560367aa5e
331
Orgs
MIT License
amazon-chime-sdk/src/main/java/com/amazonaws/services/chime/sdk/meetings/internal/video/gl/DefaultEglRenderer.kt
aws
249,543,698
false
null
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ package com.amazonaws.services.chime.sdk.meetings.internal.video.gl import android.graphics.Matrix import android.graphics.SurfaceTexture import android.opengl.EGL14 import android.opengl.GLES20 import ...
33
null
53
99
eb9110d7d34a1a24d8e8162efa0ae1a094c421fd
9,059
amazon-chime-sdk-android
Apache License 2.0
compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/lazy/LazyListMeasureResult.kt
androidx
256,589,781
false
null
/* * Copyright 2020 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
28
null
946
5,135
3669da61ebe3541ddfab37143d5067aa19789300
5,162
androidx
Apache License 2.0
example/android/app/src/main/kotlin/com/appsah/example/MainActivity.kt
ShrJamal
344,963,049
false
{"Dart": 53856, "HTML": 1503, "Swift": 1158, "Kotlin": 123, "Objective-C": 38}
package com.appsah.example import io.flutter.embedding.android.FlutterActivity class MainActivity: FlutterActivity() { }
0
Dart
0
0
9ac8723ae663fc6d744245bf2c5fd788ec8d51ca
123
flutter_countries_picker
MIT License
face-detect/src/main/java/soup/nolan/detect/face/internal/VisionImage.kt
NolanApp
197,888,252
false
null
package soup.nolan.detect.face.internal import com.google.firebase.ml.vision.common.FirebaseVisionImage import com.google.firebase.ml.vision.common.FirebaseVisionImageMetadata import soup.nolan.detect.face.model.RawImage object VisionImage { fun from(rawImage: RawImage): FirebaseVisionImage { return Fire...
1
Kotlin
2
9
1c7d166034e19ca5774cab43d14a425fdc6fe03e
823
Nolan-Android
Apache License 2.0
kt/godot-library/src/main/kotlin/godot/gen/godot/VisualShaderNodeVec3Uniform.kt
utopia-rise
289,462,532
false
null
// THIS FILE IS GENERATED! DO NOT EDIT IT MANUALLY! @file:Suppress("PackageDirectoryMismatch", "unused", "FunctionName", "RedundantModalityModifier", "UNCHECKED_CAST", "JoinDeclarationAndAssignment", "USELESS_CAST", "RemoveRedundantQualifierName", "NOTHING_TO_INLINE") package godot import godot.`annotation`.C...
47
Kotlin
25
301
0d33ac361b354b26c31bb36c7f434e6455583738
2,264
godot-kotlin-jvm
MIT License
app/src/main/java/com/firbasedbdemo/api/APIService.kt
SinoKD
146,429,241
false
null
package com.firbasedbdemo.api import com.firbasedbdemo.constants.AppConstants.APIConstants.BASE_URL import com.firbasedbdemo.constants.AppConstants.APIConstants.TIME_OUT import com.jakewharton.retrofit2.adapter.rxjava2.RxJava2CallAdapterFactory import okhttp3.OkHttpClient import retrofit2.Retrofit import retrofit2.con...
0
Kotlin
0
0
475ddc7558fff711341eb013163f229613a3c411
1,357
Firebase-Real-Database-Dagger2-Retrofit-Rxjava-Kotlin
Apache License 2.0
packages/mongodb-linting-engine/src/test/kotlin/com/mongodb/jbplugin/linting/FieldCheckingLinterTest.kt
mongodb-js
797,134,624
false
{"Kotlin": 875749, "Java": 4035, "Shell": 1673, "HTML": 254}
package com.mongodb.jbplugin.linting import com.mongodb.jbplugin.accessadapter.MongoDbReadModelProvider import com.mongodb.jbplugin.accessadapter.slice.GetCollectionSchema import com.mongodb.jbplugin.mql.* import com.mongodb.jbplugin.mql.components.HasChildren import com.mongodb.jbplugin.mql.components.HasCollectionRe...
2
Kotlin
0
4
b22403a93e5acb4c7d22383efd9d5bb2545369a5
6,581
intellij
Apache License 2.0
payments-core/src/main/java/com/stripe/android/model/parsers/DeferredSetupIntentJsonParser.kt
stripe
6,926,049
false
null
package com.stripe.android.model.parsers import androidx.annotation.RestrictTo import com.stripe.android.core.model.StripeJsonUtils.optString import com.stripe.android.core.model.parsers.ModelJsonParser import com.stripe.android.core.model.parsers.ModelJsonParser.Companion.jsonArrayToList import com.stripe.android.mod...
96
null
644
1,277
174b27b5a70f75a7bc66fdcce3142f1e51d809c8
2,208
stripe-android
MIT License
downloader-lib/src/main/kotlin/dfialho/tveebot/downloader/libtorrent/ThreadSafeDownloadEngine.kt
dfialho
132,515,212
false
null
package dfialho.tveebot.downloader.libtorrent import dfialho.tveebot.downloader.api.Download import dfialho.tveebot.downloader.api.DownloadEngine import dfialho.tveebot.downloader.api.DownloadListener import java.util.concurrent.locks.ReentrantReadWriteLock import kotlin.concurrent.read import kotlin.concurrent.write ...
3
Kotlin
0
0
9423027242154b4b199befcf4d8ee5f909861cb3
1,402
tveebot
MIT License
app/src/main/java/com/vitorpamplona/amethyst/model/Channel.kt
vitorpamplona
587,850,619
false
null
package com.vitorpamplona.amethyst.model import androidx.compose.runtime.Stable import androidx.lifecycle.LiveData import com.vitorpamplona.amethyst.service.NostrSingleChannelDataSource import com.vitorpamplona.amethyst.service.checkNotInMainThread import com.vitorpamplona.amethyst.service.model.ATag import com.vitorp...
157
null
141
981
2de3d19a34b97c012e39b203070d9c1c0b1f0520
5,244
amethyst
MIT License
src/main/kotlin/org/lm/LmIcons.kt
mchernyavsky
112,193,727
false
null
package org.lm import com.intellij.icons.AllIcons import javax.swing.Icon object LmIcons { val LM_FILE: Icon = AllIcons.FileTypes.Idl }
0
Kotlin
0
0
a09526cec7d16ef34cd526f7069c6de0b669a56d
142
intellij-lm
MIT License
app/src/main/java/net/voussoir/trkpt/MapFragment.kt
voussoir
616,275,924
false
{"Kotlin": 198945, "Python": 2538}
/* * MapFragment.kt * Implements the MapFragment fragment * A MapFragment displays a map using osmdroid as well as the controls to start / stop a recording * * This file is part of * TRACKBOOK - Movement Recorder for Android * * Copyright (c) 2016-22 - Y20K.org * Licensed under the MIT-License * http://openso...
0
Kotlin
0
0
a27b8713a9d59596ef4e44f0a505c60e4b14340f
27,047
trkpt
MIT License
.teamcity/generated/PushLocalWindows2004.kts
JetBrains
261,739,564
false
null
// NOTE: THIS IS AN AUTO-GENERATED FILE. IT HAD BEEN CREATED USING TEAMCITY.DOCKER PROJECT. ... // ... IF NEEDED, PLEASE, EDIT DSL GENERATOR RATHER THAN THE FILES DIRECTLY. ... // ... FOR MORE DETAILS, PLEASE, REFER TO DOCUMENTATION WITHIN THE REPOSITORY. package generated import jetbrains.buildServer.configs.kotlin....
7
C#
59
84
5857905411943ea5819df6abb5698428791ea8bb
8,579
teamcity-docker-images
Apache License 2.0
integration-tests/src/test/resources/on-error/on-error-processor/src/main/kotlin/ErrorProcessor.kt
google
297,744,725
false
null
import com.google.devtools.ksp.processing.* import com.google.devtools.ksp.symbol.* import java.io.OutputStream class ErrorProcessor : SymbolProcessor { lateinit var codeGenerator: CodeGenerator lateinit var logger: KSPLogger lateinit var file: OutputStream lateinit var exception: String fun init(...
370
null
268
2,854
a977fb96b05ec9c3e15b5a0cf32e8e7ea73ab3b3
1,741
ksp
Apache License 2.0
screenmanager/dm/screenmanager-displaymask/src/main/java/com/microsoft/device/dualscreen/ScreenManagerProvider.kt
microsoft
262,129,243
false
null
/* * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ package com.microsoft.device.dualscreen import android.app.Application import java.lang.IllegalStateException /** * Utility class used to initialize and retrieve [SurfaceDuoScreenManager] object. */ object Scre...
4
Kotlin
16
63
059a23684baff99de1293d1f54119b611a5765a3
964
surface-duo-sdk
MIT License
mediator/src/main/kotlin/no/nav/dagpenger/saksbehandling/Configuration.kt
navikt
571,475,339
false
{"Kotlin": 116667, "Mustache": 8476, "PLpgSQL": 2764, "HTML": 699, "Dockerfile": 77}
package no.nav.dagpenger.saksbehandling import com.natpryce.konfig.ConfigurationMap import com.natpryce.konfig.ConfigurationProperties import com.natpryce.konfig.EnvironmentVariables import com.natpryce.konfig.Key import com.natpryce.konfig.overriding import com.natpryce.konfig.stringType import no.nav.dagpenger.oauth...
0
Kotlin
0
0
c33ed0b786e3a8618de8cadb3771ec203c2c0ec2
1,798
dp-saksbehandling
MIT License
app/src/main/java/io/horizontalsystems/bankwallet/core/managers/BaseTokenManager.kt
horizontalsystems
142,825,178
false
null
package io.deus.wallet.core.managers import io.deus.wallet.core.ICoinManager import io.deus.wallet.core.ILocalStorage import io.horizontalsystems.marketkit.models.BlockchainType import io.horizontalsystems.marketkit.models.Token import io.horizontalsystems.marketkit.models.TokenQuery import io.horizontalsystems.market...
58
null
364
895
218cd81423c570cdd92b1d5161a600d07c35c232
1,793
unstoppable-wallet-android
MIT License
demo-app/src/main/java/cash/z/ecc/android/sdk/demoapp/ui/screen/send/view/SendView.kt
zcash
151,763,639
false
null
package cash.z.ecc.android.sdk.demoapp.ui.screen.send.view import androidx.compose.foundation.horizontalScroll import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.PaddingValues import androidx.compose.foundation.layout.Row import androidx.compose.foundation.layout.Spacer import a...
2
null
9
51
45f1c473b2531ca47213657c9ef26d25fffeda1d
9,294
zcash-android-wallet-sdk
MIT License
notes-common/src/commonMain/kotlin/models/Folder.kt
alex-avr
589,281,806
false
null
package org.avr.notes.common.models import kotlinx.datetime.Instant import org.avr.notes.common.NONE import org.avr.notes.common.models.folder.FolderId data class Folder( var id: FolderId = FolderId.NONE, var parentFolderId: FolderId? = FolderId.NONE, var title: String = "", var createTime: Instant = ...
0
Kotlin
0
0
5fec7609497ed7e247817b83804b39251ba7a944
640
notes
Apache License 2.0
idea/testData/refactoring/extractFunction/parameters/misc/qualifiedTypeArg.kt
JakeWharton
99,388,807
false
null
// SIBLING: class MyClass { fun test() { <selection>val t: P<P.Q>? = null</selection> } public class P<T> { public class Q { } } }
0
null
28
83
4383335168338df9bbbe2a63cb213a68d0858104
172
kotlin
Apache License 2.0
repos/cache/src/commonMain/kotlin/dev/inmo/micro_utils/repos/cache/full/FullKeyValueCacheRepo.kt
InsanusMokrassar
295,712,640
false
null
package dev.inmo.micro_utils.repos.cache.full import dev.inmo.micro_utils.common.* import dev.inmo.micro_utils.coroutines.SmartRWLocker import dev.inmo.micro_utils.coroutines.launchSafelyWithoutExceptions import dev.inmo.micro_utils.coroutines.withReadAcquire import dev.inmo.micro_utils.coroutines.withWriteLock import...
7
null
3
32
f09d92be32a3f792818edc28bbb27a9826f262b2
6,858
MicroUtils
Apache License 2.0
tmp/arrays/youTrackTests/3188.kt
DaniilStepanov
228,623,440
false
{"Git Config": 1, "Gradle": 6, "Text": 3, "INI": 5, "Shell": 2, "Ignore List": 3, "Batchfile": 2, "Markdown": 2, "Kotlin": 15942, "JavaScript": 4, "ANTLR": 2, "XML": 12, "Java": 4}
// Original bug: KT-19106 class BClass{ fun f1(){} } fun f2(b: BClass) {} fun f3(param: BClass){ // call `Data Flow from here` for `param` val a1 = param val b1 = param.f1() val c1 = f2(param) }
1
null
8
1
602285ec60b01eee473dcb0b08ce497b1c254983
211
bbfgradle
Apache License 2.0
app/src/main/java/com/hazz/kotlinmvp/net/exception/ErrorStatus.kt
git-xuhao
111,071,830
false
null
package com.hazz.kuangji.net.exception /** * Created by xuhao on 2017/12/5. * desc: */ object ErrorStatus { /** * 响应成功 */ @JvmField val SUCCESS = 0 /** * 未知错误 */ @JvmField val UNKNOWN_ERROR = 1002 /** * 服务器内部错误 */ @JvmField val SERVER_ERROR = 1003 ...
17
null
920
3,606
7b55819ca1ca026002463c0003b2638903727efc
485
KotlinMvp
Apache License 2.0
app/src/main/java/com/yeahush/quickquest/ui/trivia/TriviaPlayViewModel.kt
d04nhtu
285,921,095
false
null
package com.yeahush.quickquest.ui.trivia import android.os.CountDownTimer import android.os.Handler import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import androidx.lifecycle.Transformations import androidx.lifecycle.ViewModel import com.yeahush.quickquest.data.local.prefs.AppPreferences im...
0
Kotlin
0
1
33317c38d0fcd48ef5c34ecbdcc9ff06f898add9
4,812
quick_quest
MIT License
ktx-datetime/src/commonTest/kotlin/tech/antibytes/kfixture/mock/DateTimeGeneratorStub.kt
bitPogo
471,069,650
false
null
/* * Copyright (c) 2022 <NAME> (bitPogo) / All rights reserved. * * Use of this source code is governed by Apache v2.0 */ package tech.antibytes.kfixture.mock import kotlin.js.JsName import kotlinx.datetime.Instant import kotlinx.datetime.TimeZone import tech.antibytes.kfixture.ktx.datetime.KtxDateTimeContract c...
0
null
1
12
52ccc8a29b0429fc07335cd4926169d254a78551
1,154
kfixture
Apache License 2.0
app/network/src/main/java/app/emmabritton/cibusana/network/models/ResponseError.kt
emmabritton
559,135,688
false
null
package app.emmabritton.cibusana.network.models import com.squareup.moshi.Json import com.squareup.moshi.JsonClass @JsonClass(generateAdapter = true) data class ResponseError( @Json(name = "error_codes") val codes: List<Int>, @Json(name = "error_message") val message: String )
0
Kotlin
0
0
1e2bf6836a97b8f4b92d00656c113a27ace1185c
296
cibusana
MIT License
rxbinding-kotlin/src/main/kotlin/com/jakewharton/rxbinding2/widget/RxRatingBar.kt
widegalaxy
98,282,798
true
{"Gradle": 17, "Markdown": 3, "INI": 14, "Shell": 2, "Ignore List": 1, "Text": 1, "YAML": 1, "XML": 20, "Java": 182, "Java Properties": 1, "Kotlin": 26, "Groovy": 3}
package com.jakewharton.rxbinding2.widget import android.widget.RatingBar import io.reactivex.Observable import io.reactivex.functions.Consumer /** * Create an observable of the rating changes on `view`. * * *Warning:* The created observable keeps a strong reference to `view`. Unsubscribe * to free this reference...
1
Java
1
1
edcf58a98be61a8ae369658b4ae585216b9a757f
1,396
RxBinding
Apache License 2.0
platform/platform-impl/src/com/intellij/openapi/updateSettings/impl/UpdateChecker.kt
whitemike889
219,032,316
true
null
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.openapi.updateSettings.impl import com.intellij.diagnostic.IdeErrorsDialog import com.intellij.externalDependencies.DependencyOnPlugin import com.intellij.ex...
5
null
1
1
fca081d21dcb659c5ecc31db2d7a038966070d4c
23,308
intellij-community
Apache License 2.0
educational-core/src/com/jetbrains/edu/learning/codeforces/checker/CodeforcesTaskWithFileIOTaskChecker.kt
JetBrains
43,696,115
false
null
package com.jetbrains.edu.learning.codeforces.checker import com.intellij.openapi.ide.CopyPasteManager import com.intellij.openapi.progress.ProgressIndicator import com.intellij.openapi.project.Project import com.jetbrains.edu.learning.EduBrowser import com.jetbrains.edu.learning.courseFormat.CheckResult import com.je...
6
Kotlin
48
99
cfc24fe13318de446b8adf6e05d1a7c15d9511b5
1,280
educational-plugin
Apache License 2.0
integration-test-core/src/main/kotlin/integration/core/Dbms.kt
komapper
349,909,214
false
null
package integration.core enum class Dbms { H2, MARIADB, MYSQL, ORACLE, POSTGRESQL, SQLSERVER }
7
Kotlin
4
97
851b313c66645d60f2e86934a5036efbe435396a
100
komapper
Apache License 2.0
myddd-vertx-ioc/myddd-vertx-ioc-guice/src/main/kotlin/org/myddd/vertx/ioc/guice/GuiceInstanceProvider.kt
mydddOrg
394,671,816
false
null
package org.myddd.vertx.ioc.guice import com.google.inject.Injector import com.google.inject.Key import com.google.inject.name.Names import org.myddd.vertx.ioc.InstanceProvider class GuiceInstanceProvider(injector: Injector?): InstanceProvider { private var injector: Injector? = null init { this.inj...
0
Kotlin
0
6
2f03041f4a8984f6acba1f6ec31a22185f0fcb0e
711
myddd-vertx
MIT License
kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/GaugeWidget.kt
cloudshiftinc
667,063,030
false
{"Kotlin": 142794926}
@file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION") package io.cloudshiftdev.awscdk.services.cloudwatch import io.cloudshiftdev.awscdk.Duration import io.cloudshiftdev.awscdk.common.CdkDslMarker...
1
Kotlin
0
4
eb3eef728b34da593a3e55dc423d4f5fa3668e9c
14,459
kotlin-cdk-wrapper
Apache License 2.0
merlin-core/src/main/kotlin/de/micromata/merlin/excel/PoiHelper.kt
micromata
145,080,847
false
null
package de.micromata.merlin.excel import org.apache.poi.ss.usermodel.Cell import org.apache.poi.ss.usermodel.CellType import org.apache.poi.ss.usermodel.DataFormatter import org.apache.poi.ss.usermodel.DateUtil import org.slf4j.LoggerFactory import java.text.NumberFormat import java.time.LocalDateTime import java.util...
5
null
4
16
091890ab85f625f76216aacda4b4ce04e42ad98e
3,585
Merlin
Apache License 2.0
data/src/main/java/com/ravnnerdery/data/di/DatabaseModule.kt
hunter4466
469,840,001
false
{"Kotlin": 39470}
package com.ravnnerdery.data.di import android.content.Context import androidx.room.Room import com.ravnnerdery.data.database.DatabaseDao import com.ravnnerdery.data.database.DbWrapper import com.ravnnerdery.data.database.DbWrapperImpl import com.ravnnerdery.data.database.MessagesDatabase import dagger.Module import d...
0
Kotlin
0
0
8460b3215b08b832c0874cd613b84fc60a669953
1,289
chat_challenge
MIT License
app/src/main/java/com/example/reciepe_app_kt/domain/model/Recipe.kt
Jatin-Shihora
446,821,502
false
null
package xyz.teamgravity.composerecipeapp.model import android.os.Parcelable import kotlinx.parcelize.Parcelize @Parcelize data class RecipeModel( val id: Int? = null, val title: String? = null, val publisher: String? = null, val featuredImage: String? = null, val rating: Int? = 0, val sourceU...
0
Kotlin
0
1
42fe7623f80c70d00f177c313f0be26ada6a48a3
554
Recipe-App
Apache License 2.0
app/src/main/java/ir/mahdi/circulars/IntroActivity.kt
ghost1372
243,591,964
false
null
package ir.mahdi.circulars import android.content.Context import android.content.Intent import android.os.Bundle import android.view.ViewGroup.LayoutParams.WRAP_CONTENT import android.view.Window import android.view.WindowManager import android.widget.ImageView import android.widget.LinearLayout import androidx.appcom...
0
null
1
8
73480a524b651711cc1d51a06859beba63c6ba9a
5,523
Circulars
MIT License
app/src/main/java/com/udeshcoffee/android/data/remote/itunes/SearchResponse.kt
m760622
163,887,222
true
{"Kotlin": 579238, "Java": 35200, "HTML": 12682}
package com.udeshcoffee.android.data.remote.itunes import com.google.gson.annotations.SerializedName /** * Created by Udathari on 12/5/2017. */ class SearchResponse( @SerializedName("resultCount") var resultCount: Int = 0, @SerializedName("results") var results: List<Results>? = nu...
0
Kotlin
1
1
928bd65fd6064a26cbb758a0604ed5718a1ea55f
2,833
CoffeeMusicPlayer
Apache License 2.0
app/src/main/java/com/example/androiddevchallenge/models/ForecastViewModel.kt
tritter
349,919,462
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
1
3e6c1190b97ac47e838461e4aabf4ddd825e82c0
1,385
android-dev-challenge-weather
Apache License 2.0
rxhttp-compiler/src/main/java/com/rxhttp/compiler/ksp/RxHttpGenerator.kt
liujingxing
167,158,553
false
null
package com.rxhttp.compiler.ksp import com.google.devtools.ksp.KspExperimental import com.google.devtools.ksp.processing.CodeGenerator import com.google.devtools.ksp.processing.Dependencies import com.google.devtools.ksp.processing.KSPLogger import com.google.devtools.ksp.symbol.KSFile import com.rxhttp.compiler.RXHtt...
0
Kotlin
399
3,304
a8125226fc624a89240ae572d9b784e2d4c9d70e
35,365
rxhttp
Apache License 2.0
telegram-bot-core/src/main/kotlin/io/github/dehuckakpyt/telegrambot/model/telegram/internal/UnpinAllGeneralForumTopicMessages.kt
DEHuckaKpyT
670,859,055
false
null
package io.github.dehuckakpyt.telegrambot.model.telegram.`internal` import com.fasterxml.jackson.`annotation`.JsonProperty import kotlin.String /** * @author KScript */ internal data class UnpinAllChatMessages( @get:JsonProperty("chat_id") public val chatId: String, )
1
null
3
24
5912e61857da3f63a7bb383490730f47f7f1f8c6
281
telegram-bot
Apache License 2.0
telegram-bot-core/src/main/kotlin/io/github/dehuckakpyt/telegrambot/model/telegram/internal/UnpinAllGeneralForumTopicMessages.kt
DEHuckaKpyT
670,859,055
false
null
package io.github.dehuckakpyt.telegrambot.model.telegram.`internal` import com.fasterxml.jackson.`annotation`.JsonProperty import kotlin.String /** * @author KScript */ internal data class UnpinAllChatMessages( @get:JsonProperty("chat_id") public val chatId: String, )
1
null
3
24
5912e61857da3f63a7bb383490730f47f7f1f8c6
281
telegram-bot
Apache License 2.0
retrofit2/src/main/java/com/rui/retrofit2/module/RetrofitModule.kt
nanfanglr
519,809,906
false
{"Kotlin": 103415}
/* * Copyright (C) 2019 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
0
Kotlin
0
0
85eafb6c1a7b02dc68bf31df0957128424933d14
4,175
android-kotlin-mvvm-v2
Apache License 2.0
modules/kenerator/configuration/src/main/kotlin/com/flipperdevices/ifrmvp/generator/config/device/api/DefaultDeviceConfigGenerator.kt
flipperdevices
824,125,673
false
{"Kotlin": 146248, "Dockerfile": 695}
package com.flipperdevices.ifrmvp.generator.config.device.api import com.flipperdevices.ifrmvp.backend.model.DeviceConfiguration import com.flipperdevices.ifrmvp.generator.config.device.api.DeviceKeyNamesProvider.Companion.getKey import com.flipperdevices.ifrmvp.model.IfrKeyIdentifier import com.flipperdevices.infrare...
0
Kotlin
0
1
c789c5ebacb35902f9054fa5ff39d5563f3f585f
1,289
IRDB-Backend
MIT License
src/main/kotlin/net/transgene/mylittlebudget/tg/bot/commands/ExpenseCommand.kt
transgene
266,603,341
false
null
package net.transgene.mylittlebudget.tg.bot.commands import net.transgene.mylittlebudget.tg.bot.sheets.Cell import net.transgene.mylittlebudget.tg.bot.sheets.SheetsService class ExpenseCommand(private val sheetsService: SheetsService) : ExpenseIncomeCommand(sheetsService) { override fun getGroups(): List<Cell> =...
4
Kotlin
0
0
4aefe452d4eb35b016c10bb19abcd7702bd6fe18
670
mylittlebudget-bot-tg
MIT License
app/src/main/java/ru/gdlbo/parcelradar/app/core/network/api/request/Params.kt
gdlbo
839,512,469
false
{"Kotlin": 322281}
package ru.gdlbo.parcelradar.app.core.network.api.request interface Params
0
Kotlin
0
7
bffdef535d8056455568fc4ad3f2fb763509d89f
75
packageradar
MIT License
app/src/main/java/com/jsom/dentgame/SelectDevicesFragment.kt
JoseSom
795,326,369
false
{"Kotlin": 12575}
package com.jsom.dentgame import android.Manifest import android.R import android.bluetooth.BluetoothManager import android.content.Context import android.content.pm.PackageManager import android.os.Build import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup...
0
Kotlin
0
0
2109e52657bf03210f1e17d2823cc56ea627668c
3,199
dentgame
MIT License
src/main/kotlin/me/earth/headlessforge/command/CommandCompleter.kt
3arthqu4ke
351,243,674
false
null
package me.earth.headlessforge.command import org.jline.reader.Candidate import org.jline.reader.Completer import org.jline.reader.LineReader import org.jline.reader.ParsedLine open class CommandCompleter: Completer { override fun complete(reader: LineReader?, line: ParsedLine?, candidates: MutableList<Candidate>...
2
Kotlin
2
33
4897961cfb037ab02cb4d51540fc6c5343d30eb1
389
HeadlessForge
MIT License
plugins/kotlin/idea/tests/testData/findUsages/kotlin/findClassUsages/kotlinLocalClassDerivedLocalClasses.0.kt
ingokegel
72,937,917
false
null
// PSI_ELEMENT: org.jetbrains.kotlin.psi.KtClass // OPTIONS: derivedClasses fun foo() { open class <caret>A class B : A() open class T : A() fun bar() { class C : A() class D : T() } }
191
null
4372
2
b07eabd319ad5b591373d63c8f502761c2b2dfe8
225
intellij-community
Apache License 2.0
app/src/main/java/com/example/satu/data/local/UserPreferences.kt
synrgy-satu
829,466,485
false
{"Kotlin": 221544}
package com.example.satu.data.local import android.content.Context import androidx.datastore.core.DataStore import androidx.datastore.preferences.core.Preferences import androidx.datastore.preferences.core.edit import androidx.datastore.preferences.core.stringPreferencesKey import androidx.datastore.preferences.prefer...
1
Kotlin
0
0
f26cf59385a8112a8649b449d964cc50933ba568
1,748
android-satu
Open Market License
src/main/kotlin/uk/matvey/slon/query/Query.kt
msmych
809,301,120
false
{"Kotlin": 60883}
package uk.matvey.slon.query import uk.matvey.slon.RecordReader import uk.matvey.slon.value.PgValue interface Query<T> { fun sql(): String fun params(): List<PgValue> fun read(reader: RecordReader): T companion object { fun <T> plainQuery(sql: String, params: List<PgValue> = listOf(), rea...
0
Kotlin
0
0
4ee0763f402c0323d6f31ba2659c515677aba7f6
585
slon
Apache License 2.0
app/src/main/kotlin/com/fpliu/newton/video/player/sample/ErrorHandler.kt
leleliu008
208,230,961
false
null
package com.fpliu.newton.video.player.sample import android.text.TextUtils import com.fpliu.newton.log.Logger import com.fpliu.newton.util.appContext import com.umeng.analytics.MobclickAgent object ErrorHandler { private val TAG = ErrorHandler::class.java.simpleName fun onError(e: Throwable, extraInfo: Stri...
0
null
1
3
0a514ff79846622ca2a1f325e9821ac6c8ad481f
898
Android-VideoPlayer
Apache License 2.0
src/main/kotlin/collectionlambda/Operations5.kt
softbluecursoscode
603,710,984
false
{"Kotlin": 53437}
package collectionlambda /** * OBJETIVO * -------- * * Obter a quantidade de pessoas cujo nome começa com a letra 'R'. */ fun main() { // val count = Person // .data() // .filter { it.name.uppercase().startsWith("R") } // .count() // println(count) val count = Person .data...
0
Kotlin
2
5
d9d3b179af5fcf851947fe59fe4e13a825532417
400
kotlin
MIT License
app/src/main/java/com/xeniac/fifaultimateteamcoin_dsfut_sell_fut/feature_pick_up_player/presentation/pick_up_player/utils/PlatformErrorAsUiText.kt
WilliamGates99
543,831,202
false
{"Kotlin": 898249}
package com.xeniac.fifaultimateteamcoin_dsfut_sell_fut.feature_pick_up_player.presentation.pick_up_player.utils import com.xeniac.fifaultimateteamcoin_dsfut_sell_fut.R import com.xeniac.fifaultimateteamcoin_dsfut_sell_fut.core.presentation.utils.UiText import com.xeniac.fifaultimateteamcoin_dsfut_sell_fut.feature_pick...
0
Kotlin
0
1
a0b03bf204e6e681bbe587fdc928bff81e7e67e6
512
FUTSale
Apache License 2.0
offix/src/main/java/org/aerogear/offix/persistence/MutationDao.kt
aerogear
184,272,184
false
null
package org.aerogear.offix.persistence import android.arch.persistence.room.* @Dao interface MutationDao { @Insert(onConflict = OnConflictStrategy.REPLACE) fun insertMutation(mutation: Mutation): Long @Delete fun deleteMutation(mutation: Mutation) @Query("SELECT * FROM MutationOffline") fun...
36
null
16
38
7d110d4d0143e1ba4d2676d80506c80463c2edc5
631
offix-android
Apache License 2.0
feature/about/view/implementation/src/main/kotlin/com/savvasdalkitsis/uhuruphotos/feature/about/view/implementation/ui/About.kt
savvasdalkitsis
485,908,521
false
{"Kotlin": 2667755, "Ruby": 1294, "PowerShell": 325, "Shell": 158}
/* Copyright 2023 <NAME> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distribu...
92
Kotlin
26
358
22c2ac7d953f88b4d60fb74953667ef0c4beacc5
8,005
uhuruphotos-android
Apache License 2.0
Exercicios Com Coleções ou Listas/Exercicio19.kt
DenertSousa
613,699,145
false
null
/*Este programa faz um pesquisa sobre qual é o melhor sistema operacional. No final, ele imprime a quantidade de votos que cada sistema operacional recebeu o mais votado, a quantidade de votos recebidas por ele, e a porcentagem de todos os votos, e a porcentagem do mais votado. */ fun main () { var survey: Mutab...
0
Kotlin
0
0
6905448b0e662fafcc27316ac4390036d49d6b17
3,236
Programando-em-Kotlin
MIT License
app/src/main/java/com/malibin/morse/presentation/viewer/BroadCastFinishedDialog.kt
cha7713
463,427,946
true
{"Kotlin": 121634, "PureBasic": 2910}
package com.malibin.morse.presentation.viewer import android.app.Dialog import android.content.Context import android.os.Bundle import com.malibin.morse.R import com.malibin.morse.databinding.DialogBroadcastFinishBinding /** * Created By Malibin * on 2월 05, 2021 */ class BroadCastFinishedDialog(context: Context) ...
0
null
0
0
8103c56b8079224aba8eedc7a4a4af40a1b92b4c
861
morse_android_stove_camp
Apache License 2.0
app/src/main/java/eu/kanade/tachiyomi/data/backup/BackupCreateFlags.kt
Quickdesh
468,685,161
true
{"Kotlin": 2997580}
package eu.kanade.tachiyomi.data.backup internal object BackupCreateFlags { const val BACKUP_CATEGORY = 0x1 const val BACKUP_CHAPTER = 0x2 const val BACKUP_HISTORY = 0x4 const val BACKUP_TRACK = 0x8 const val BACKUP_PREFS = 0x10 const val BACKUP_EXT_PREFS = 0x20 const val BACKUP_EXTENSIONS ...
24
Kotlin
8
379
ed992717aa02a48ea2df3e3e0b70e678535829f4
596
Animiru
Apache License 2.0
src/test/kotlin/no/nav/pensjon/opptjening/omsorgsopptjening/bestem/pensjonsopptjening/brev/BrevProsesseringTest.kt
navikt
593,529,397
false
{"Kotlin": 589332, "Dockerfile": 97}
package no.nav.pensjon.opptjening.omsorgsopptjening.bestem.pensjonsopptjening.brev import com.github.tomakehurst.wiremock.client.WireMock import com.github.tomakehurst.wiremock.stubbing.Scenario import no.nav.pensjon.opptjening.omsorgsopptjening.bestem.pensjonsopptjening.brev.external.PENBrevClient.Companion.sendBrevU...
3
Kotlin
1
0
d70ec64e9bc1c2c9e03928f2e1dac68f9e6ef9c8
12,945
omsorgsopptjening-bestem-pensjonsopptjening
MIT License
src/main/kotlin/eZmaxApi/models/EzsignbulksendMinusCreateEzsignbulksendtransmissionMinusV1MinusRequest.kt
eZmaxinc
271,950,932
false
null
/** * eZmax API Definition (Full) * * This API expose all the functionnalities for the eZmax and eZsign applications. * * The version of the OpenAPI document: 1.1.9 * Contact: <EMAIL> * * Please note: * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * Do not edit this file...
0
Kotlin
0
0
fad1a7a8b3f744256968e67e5f60044063cb551c
5,874
eZmax-SDK-kotlin
MIT License
kotlin-electron/src/jsMain/generated/electron/utility/DidNavigateInPageEvent.kt
JetBrains
93,250,841
false
{"Kotlin": 12159121, "JavaScript": 330528}
// Generated by Karakum - do not modify it manually! package electron.utility typealias DidNavigateInPageEvent = electron.core.DidNavigateInPageEvent
40
Kotlin
165
1,319
a8a1947d73e3ed26426f1e27b641bff427dfd6a0
154
kotlin-wrappers
Apache License 2.0
library/src/main/java/com/jaredrummler/cyanea/delegate/CyaneaDelegateImplV24.kt
evozi
184,425,041
true
{"Kotlin": 258629}
/* * Copyright (C) 2018 <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 ...
39
Kotlin
3
6
8fc901fc7dfeab2b044625fb2bf7091d956215c2
2,755
Cyanea
Apache License 2.0
compiler/fir/fir2ir/src/org/jetbrains/kotlin/fir/backend/Fir2IrCommonMemberStorage.kt
JetBrains
3,432,266
false
null
/* * Copyright 2010-2023 JetBrains s.r.o. and Kotlin Programming Language contributors. * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. */ package org.jetbrains.kotlin.fir.backend import org.jetbrains.kotlin.fir.declarations.* import org.jetbrains....
155
null
5608
45,423
2db8f31966862388df4eba2702b2f92487e1d401
1,788
kotlin
Apache License 2.0
client/slack-api-client/src/main/kotlin/com/kreait/slack/api/group/conversations/ConversationsOpenMethod.kt
ironaraujo
249,748,914
true
{"Kotlin": 1212878, "Shell": 935}
package com.kreait.slack.api.group.conversations import com.kreait.slack.api.contract.jackson.group.conversations.ConversationsOpenRequest import com.kreait.slack.api.contract.jackson.group.conversations.ErrorConversationOpenResponse import com.kreait.slack.api.contract.jackson.group.conversations.SuccessfulConversati...
0
null
0
0
07edb441421961b0d84d8f95e97f8b25f48a360e
677
slack-spring-boot-starter
MIT License
src/main/java/tech/sirwellington/alchemy/http/mock/MockAlchemyHttp.kt
SirWellington
48,623,588
false
null
/* * Copyright © 2019. <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 in w...
1
Kotlin
0
1
1dc43665baa938ded1cd8a8dd8b23a4c3bf2550b
7,014
alchemy-http-mock
Apache License 2.0
kt/godot-library/src/main/kotlin/godot/gen/godot/PackedDataContainer.kt
utopia-rise
289,462,532
false
null
// THIS FILE IS GENERATED! DO NOT EDIT IT MANUALLY! @file:Suppress("PackageDirectoryMismatch", "unused", "FunctionName", "RedundantModalityModifier", "UNCHECKED_CAST", "JoinDeclarationAndAssignment", "USELESS_CAST", "RemoveRedundantQualifierName", "NOTHING_TO_INLINE", "NON_FINAL_MEMBER_IN_OBJECT", "Redundan...
64
null
45
634
ac2a1bd5ea931725e2ed19eb5093dea171962e3f
3,019
godot-kotlin-jvm
MIT License
server/src/main/kotlin/net/horizonsend/ion/server/features/starship/PilotedStarships.kt
HorizonsEndMC
461,042,096
false
null
package net.horizonsend.ion.server.features.starship import net.horizonsend.ion.common.database.schema.misc.SLPlayer import net.horizonsend.ion.common.database.schema.starships.Blueprint import net.horizonsend.ion.common.database.schema.starships.PlayerStarshipData import net.horizonsend.ion.common.database.schema.sta...
9
null
36
9
6b1c7ef99d08424b4e9dec08e2611e823af0ddc8
16,835
Ion
MIT License
dependency-analyzer/src/test/kotlin/de/accso/dependencyanalyzer/testset/testpackage6/TargetUsedInCompanionObject.kt
accso
417,084,915
false
{"Shell": 2, "Maven POM": 6, "Text": 3, "Ignore List": 3, "Markdown": 1, "INI": 3, "Java": 175, "XML": 2, "Kotlin": 31, "Java Properties": 1, "SQL": 3, "YAML": 1}
package de.accso.dependencyanalyzer.testset.testpackage6 class ClazzHavingCompanionObjectUsingTarget { companion object { val target = TargetUsedInCompanionObject("foo") } } class TargetUsedInCompanionObject(val s: String)
0
Java
0
2
24d330e6469b72d07fb3e44f56b404bd4123c298
240
static-code-analysis-archunit
Apache License 2.0
src/main/java/com/vladsch/md/nav/actions/styling/ListToggleStateSelectionAction.kt
vsch
32,095,357
false
null
// Copyright (c) 2015-2023 <NAME> <<EMAIL>> Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.vladsch.md.nav.actions.styling import com.intellij.lang.ASTNode import com.intellij.openapi.actionSystem.AnActionEvent import com.intellij.openapi.actionSystem.T...
134
null
131
809
ec413c0e1b784ff7309ef073ddb4907d04345073
17,506
idea-multimarkdown
Apache License 2.0
core/src/commonMain/kotlin/bruhcollective/itaysonlab/ksteam/AuthPrivateIpLogic.kt
iTaysonLab
585,761,817
false
{"Kotlin": 605935}
package bruhcollective.itaysonlab.ksteam /** * Specifies a source of private IP used when creating a session. * * It's recommended to use the default value of [UsePrivateIp] to avoid being logged out if another client will try to sign in. */ enum class AuthPrivateIpLogic { /** * Uses current machine's pri...
1
Kotlin
1
35
69f547a200a6eb4d89463d7ccd1e89f5ebae2162
1,193
kSteam
MIT License
app/src/main/java/com/daya/taha/presentation/splash/SplashFragment.kt
daya-pangestu
308,078,972
false
{"Kotlin": 140694}
package com.daya.taha.presentation.splash import android.os.Bundle import android.view.View import androidx.fragment.app.Fragment import androidx.fragment.app.viewModels import androidx.lifecycle.lifecycleScope import androidx.navigation.fragment.findNavController import com.daya.shared.taha.data.Resource import com.d...
0
Kotlin
0
1
a52e7e6f0c5343e491db3a1551ac183ac9f72ed8
1,606
push-notif
MIT License
image-loader/src/commonMain/kotlin/com/seiko/imageloader/cache/CachePolicy.kt
qdsfdhvh
502,954,331
false
null
package com.seiko.imageloader.cache /** * Represents the read/write policy for a cache source. */ enum class CachePolicy( val readEnabled: Boolean, val writeEnabled: Boolean ) { ENABLED(true, true), READ_ONLY(true, false), WRITE_ONLY(false, true), DISABLED(false, false) }
8
Kotlin
4
90
d9c86b3bb21817f1c0d2517dc2bebcd7ebf8642a
300
compose-imageloader
MIT License
samples/tictactoe/app/src/main/java/com/squareup/sample/mainactivity/MainActivity.kt
zradke
274,298,365
true
{"Kotlin": 1241660, "Swift": 490818, "Ruby": 19852, "Shell": 7472, "Java": 850}
/* * Copyright 2017 Square Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
0
null
0
0
cffc161ed2f24414d1abba7a2a07dc79fbefb919
2,948
workflow-kotlin
Apache License 2.0
libraries/tools/kotlin-gradle-plugin-integration-tests/src/test/kotlin/org/jetbrains/kotlin/gradle/KotlinDaemonJvmArgsTest.kt
JetBrains
3,432,266
false
null
/* * Copyright 2010-2021 JetBrains s.r.o. and Kotlin Programming Language contributors. * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. */ package org.jetbrains.kotlin.gradle import org.gradle.api.logging.LogLevel import org.gradle.testkit.runner.B...
34
null
4903
39,894
0ad440f112f353cd2c72aa0a0619f3db2e50a483
6,527
kotlin
Apache License 2.0
modulecheck-core/src/test/kotlin/modulecheck/core/SortPluginsTest.kt
RBusarow
316,627,145
false
null
/* * Copyright (C) 2021-2022 Rick Busarow * 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 ag...
8
null
2
8
d408e8fb5a2244b752821a93324abe773a2b7ed0
5,959
ModuleCheck
Apache License 2.0
app/src/main/java/com/samkt/filmio/navigation/BottomNavItems.kt
Sam-muigai
698,566,485
false
{"Kotlin": 257745}
package com.samkt.filmio.navigation import androidx.annotation.DrawableRes import com.samkt.filmio.R data class BottomNavItem( val label: String, val screen: Screens, @DrawableRes val unselectedIcon: Int, @DrawableRes val selectedIcon: Int ) val navigationItems = listOf( BottomNavItem( "H...
0
Kotlin
0
0
404350965297225420445e0ef47c9170ad720e0e
1,035
Filmio
Apache License 2.0
navigation/integration-tests/testapp/src/main/java/androidx/navigation/testapp/TwoPaneAdapter.kt
RikkaW
389,105,112
true
{"Java": 49060640, "Kotlin": 36832495, "Python": 336507, "AIDL": 179831, "Shell": 150493, "C++": 38342, "ANTLR": 19860, "HTML": 10802, "TypeScript": 6933, "CMake": 3330, "JavaScript": 1343}
/* * 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
29
Java
937
7
6d53f95e5d979366cf7935ad7f4f14f76a951ea5
1,722
androidx
Apache License 2.0
host/src/jvmMain/kotlin/jvm/JvmMonotonicClock.kt
illarionov
848,247,126
false
{"Kotlin": 1306808, "ANTLR": 6038, "TypeScript": 3148, "CSS": 1042, "FreeMarker": 450, "JavaScript": 89}
/* * Copyright 2024, the wasi-emscripten-host project authors and contributors. Please see the AUTHORS file * for details. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. * SPDX-License-Identifier: Apache-2.0 */ package at.released.weh.host.jvm import at.releas...
0
Kotlin
0
4
8cb136a17cbece15d9e2b0cc9286f35613a149a4
471
wasi-emscripten-host
Apache License 2.0
android/src/main/kotlin/com/vonage/tutorial/opentok/opentok_flutter_samples/OpenTokPlugin.kt
Mohammad-Abureesh
644,325,368
false
null
package com.vonage.tutorial.opentok.opentok_flutter_samples import android.os.Handler import android.os.Looper import androidx.annotation.NonNull import com.pcnc2000.flutter_open_tok_video_chat.archiving.Archiving import com.pcnc2000.flutter_open_tok_video_chat.archiving.ArchivingFactory import io.flutter.embedding.an...
0
Kotlin
0
0
002f1a14ac5e4a987bf64984b7883f46ee004546
9,211
flutter_open_tok_video_chat
Apache License 2.0
src/main/kotlin/com/github/oowekyala/ijcc/lang/psi/stubs/indices/JjtreeQNameStubIndex.kt
oowekyala
160,946,520
false
{"Kotlin": 636577, "HTML": 12321, "Lex": 10654, "Shell": 1940, "Just": 101}
package com.github.oowekyala.ijcc.lang.psi.stubs.indices import com.github.oowekyala.ijcc.lang.psi.JjtNodeClassOwner import com.intellij.psi.stubs.StringStubIndexExtension import com.intellij.psi.stubs.StubIndexKey /** * Indexes the node class owners of a grammar by qname, to provide * links from the node classes t...
9
Kotlin
6
44
c514083a161db56537d2473e42f2a1d4bf57eee1
674
intellij-javacc
MIT License
compose/recomposehighlighter/src/main/java/com/example/android/compose/recomposehighlighter/RecomposeHighlighter.kt
android
138,043,025
false
null
/* * Copyright 2022 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
null
655
666
514653c318c747c557f70e32aad2cc7051d44115
5,265
snippets
Apache License 2.0
cli/src/main/kotlin/dev/whyoleg/ktd/cli/tdlib/DispatchCommand.kt
whyoleg
202,767,670
false
null
package dev.whyoleg.ktd.cli.tdlib import dev.whyoleg.ktd.cli.* import io.ktor.client.* import io.ktor.client.engine.cio.* import io.ktor.client.request.* import io.ktor.client.response.* import io.ktor.http.* import io.ktor.http.content.* import io.ktor.util.* import kotlinx.cli.* import kotlinx.coroutines.* import ko...
7
Kotlin
11
45
7284eeabef0bd002dc72634351ab751b048900e9
1,950
ktd
Apache License 2.0
compiler/testData/compileKotlinAgainstCustomBinaries/replaceAnnotationClassWithInterface/library-1/Ann.kt
JakeWharton
99,388,807
false
null
package test import kotlin.annotation.AnnotationTarget.* @Target(CLASS, ANNOTATION_CLASS, TYPE_PARAMETER, PROPERTY, FIELD, LOCAL_VARIABLE, VALUE_PARAMETER, CONSTRUCTOR, FUNCTION, PROPERTY_GETTER, PROPERTY_SETTER, TYPE, FILE) annotation class Ann(val s: String)
181
null
5748
83
4383335168338df9bbbe2a63cb213a68d0858104
263
kotlin
Apache License 2.0
src/test/kotlin/reader/TestNodes.kt
fiddlededee
835,952,301
false
null
package reader import common.AsciidoctorAdapter import common.asciidocAsHtml import common.prettySerialize import converter.FodtConverter import fodt.parseStringAsXML import model.Document import org.junit.jupiter.api.Test import verify class TestNodes { @Test fun table() { FodtConverter { ...
1
null
1
6
0ba6f2df325707b561f0db1cc76dcba44398b2dd
2,095
unidoc-publisher
Apache License 2.0
library/src/main/java/com/svga/glide/GlideSVGAParser.kt
zzechao
712,350,242
false
{"Kotlin": 342487, "Java": 162652}
package com.svga.glide import com.bumptech.glide.load.model.GlideUrl import com.opensource.svgaplayer.SVGAVideoEntity import com.opensource.svgaplayer.proto.MovieEntity import com.opensource.svgaplayer.utils.SVGARect import com.opensource.svgaplayer.utils.log.LogUtils import com.svga.glide.SVGAGlideEx.arrayPool import...
1
Kotlin
0
4
6688dcf6abd8429bde325473c6fb8cc7c0873d36
10,102
svgaplayer-android-glide_feature
Apache License 2.0
sdk/src/androidTest/java/co/omise/android/ui/InstallmentChooserFragmentTest.kt
omise
25,964,531
false
{"Kotlin": 566629, "Java": 34215}
package co.omise.android.ui import androidx.test.core.app.ActivityScenario import androidx.test.espresso.Espresso.onView import androidx.test.espresso.action.ViewActions.click import androidx.test.espresso.assertion.ViewAssertions.matches import androidx.test.espresso.matcher.ViewMatchers.hasDescendant import androidx...
5
Kotlin
32
51
08363dff04cbd2ba76184ea4789f8378614d2a12
3,314
omise-android
MIT License
app/src/main/java/com/stratagile/qlink/ui/activity/topup/module/TopupSelectDeductionTokenModule.kt
qlcchain
115,608,966
false
null
package com.stratagile.qlink.ui.activity.topup.module import com.stratagile.qlink.data.api.HttpAPIWrapper import com.stratagile.qlink.ui.activity.base.ActivityScope import com.stratagile.qlink.ui.activity.topup.TopupSelectDeductionTokenActivity import com.stratagile.qlink.ui.activity.topup.contract.TopupSelectDeductio...
1
Java
18
46
1c8066e4ebbb53c7401751ea3887a6315ccbe5eb
1,225
QWallet-Android
MIT License
analyzer/src/funTest/kotlin/managers/SbtFunTest.kt
codeakki
354,880,826
true
{"Kotlin": 2934213, "JavaScript": 337630, "HTML": 34185, "CSS": 24865, "Python": 21694, "FreeMarker": 13132, "Shell": 7793, "Dockerfile": 7023, "Scala": 6656, "Ruby": 3515, "ANTLR": 1877, "Go": 1071, "Rust": 280}
/* * Copyright (C) 2017-2019 HERE Europe B.V. * * 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...
0
null
0
2
edbb46cb1dab1529d5ffb81cba18d365b98ef23e
4,340
ort
Apache License 2.0
theme-m3/style/theme/src/commonMain/kotlin/org/gdglille/devfest/android/theme/m3/style/tags/GravelTagTokens.kt
GerardPaligot
444,230,272
false
{"Kotlin": 834594, "Swift": 125581, "Shell": 1148, "Dockerfile": 542}
package org.gdglille.devfest.android.theme.m3.style.tags import org.gdglille.devfest.android.theme.m3.style.DecorativeColorSchemeTokens internal object GravelTagTokens { val ContainerColor = DecorativeColorSchemeTokens.Gravel val ContentColor = DecorativeColorSchemeTokens.OnGravel }
8
Kotlin
5
141
d6e23529843f956d0c4c1ca7cca6a275422d3c22
294
conferences4hall
Apache License 2.0
idea/testData/refactoring/move/kotlin/moveNestedClass/objectToTopLevel/before/usages2.kt
JakeWharton
99,388,807
true
null
package test2 import test.A.B fun foo(): B { return B() }
0
Kotlin
28
83
4383335168338df9bbbe2a63cb213a68d0858104
63
kotlin
Apache License 2.0
compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/simple/mixingSuspendAndNonSuspendSupertypesThruSuperinterface.kt
JetBrains
3,432,266
false
null
// FIR_IDENTICAL // !LANGUAGE: +SuspendFunctionAsSupertype // SKIP_TXT // DIAGNOSTICS: -CONFLICTING_INHERITED_MEMBERS, -CONFLICTING_OVERLOADS, -ABSTRACT_MEMBER_NOT_IMPLEMENTED, -FUN_INTERFACE_WRONG_COUNT_OF_ABSTRACT_MEMBERS interface ISuper: () -> Unit class C: <!MIXING_SUSPEND_AND_NON_SUSPEND_SUPERTYPES!>suspend () ...
7
null
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
1,591
kotlin
Apache License 2.0
spotify-clone-frontend/app/src/main/java/com/spotifyclone/tools/utils/MathUtils.kt
Ridersk
257,694,555
false
{"Kotlin": 144598, "Java": 12300}
package com.spotifyclone.tools.utils import kotlin.math.abs class MathUtils { companion object { fun calculateProportion(piece: Number, total: Number, weight: Float): Float { return ((piece.toFloat() / total.toFloat()) * weight) + 1.0F - weight } fun calculateReverseProportio...
4
Kotlin
0
1
68617849bca5416100c85578ad42e12775c04865
539
spotify-music-player-kotlin
MIT License
spotify-clone-frontend/app/src/main/java/com/spotifyclone/tools/utils/MathUtils.kt
Ridersk
257,694,555
false
{"Kotlin": 144598, "Java": 12300}
package com.spotifyclone.tools.utils import kotlin.math.abs class MathUtils { companion object { fun calculateProportion(piece: Number, total: Number, weight: Float): Float { return ((piece.toFloat() / total.toFloat()) * weight) + 1.0F - weight } fun calculateReverseProportio...
4
Kotlin
0
1
68617849bca5416100c85578ad42e12775c04865
539
spotify-music-player-kotlin
MIT License
library/src/main/kotlin/com/daniloaraujosilva/mathemagika/library/common/mathematica/functions/RemoveBackground.kt
Danilo-Araujo-Silva
271,904,885
false
null
package com.daniloaraujosilva.mathemagika.library.common.mathematica.functions import com.daniloaraujosilva.mathemagika.library.common.mathematica.MathematicaFunction /** *```` * * Name: RemoveBackground * * Full name: System`RemoveBackground * * RemoveBackground[image] ret...
2
Kotlin
0
3
4fcf68af14f55b8634132d34f61dae8bb2ee2942
1,156
mathemagika
Apache License 2.0