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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
fc-webflux/webflux-examples/examples/kotlin-coroutine/src/main/kotlin/com/grizz/wooman/coroutine/advanced/ChannelConflatedExample.kt | devYSK | 461,887,647 | false | {"Java": 3507759, "JavaScript": 659549, "Kotlin": 563136, "HTML": 455168, "CSS": 446825, "Shell": 57444, "Groovy": 54414, "Batchfile": 47890, "Go": 26805, "Python": 9963, "Handlebars": 8554, "Makefile": 7837, "Vue": 5706, "TypeScript": 5172, "Dockerfile": 436, "Vim Snippet": 362, "Assembly": 278, "Procfile": 199} | package com.grizz.wooman.coroutine.advanced
import com.grizz.wooman.coroutine.help.kLogger
import com.grizz.wooman.coroutine.help.logger
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.channels.Channel
import kotlinx.coroutines.delay
import kotlinx.coroutines.la... | 1 | null | 1 | 1 | 7a7c6b1bab3dc2c84527f8c528b06b9408872635 | 861 | study_repo | MIT License |
app/src/main/java/com/foreveross/atwork/modules/meeting/route/manager/MeetingRouteActionProducer.kt | AoEiuV020 | 421,650,297 | false | {"Java": 8618305, "Kotlin": 1733509, "JavaScript": 719597, "CSS": 277438, "HTML": 111559} | package com.foreveross.atwork.modules.meeting.route.manager
import com.foreveross.atwork.modules.meeting.route.JoinMeetingRouteAction
import com.foreveross.atwork.modules.route.action.RouteAction
import com.foreveross.atwork.modules.route.manager.IRouteActionProducer
import com.foreveross.atwork.modules.route.model.Ro... | 1 | null | 1 | 1 | 1c4ca5bdaea6d5230d851fb008cf2578a23b2ce5 | 1,096 | w6s_lite_android | MIT License |
edusdk-api/src/main/kotlin/io/agora/education/api/manager/EduManager.kt | jiayanana | 385,456,456 | false | {"Java": 490767, "Kotlin": 317412, "Python": 1650} | package io.agora.education.api.manager
import android.app.Activity
import android.text.TextUtils
import io.agora.education.api.BuildConfig
import io.agora.education.api.EduCallback
import io.agora.education.api.base.EduError
import io.agora.education.api.logger.DebugItem
import io.agora.education.api.logger.LogLevel
i... | 1 | null | 1 | 1 | 5d0632ad1b3d1a76009978b1f0b49e56a0cab76a | 3,554 | eEducation-Android | MIT License |
Application-Challenge/【Dooze】CircleLive/app/src/main/java/com/dong/circlelive/live/model/LiveChannel.kt | AgoraIO-Community | 355,093,340 | false | {"Ignore List": 167, "Markdown": 122, "Gradle": 122, "Java Properties": 55, "Shell": 53, "Batchfile": 22, "Proguard": 69, "Java": 1189, "XML": 1726, "INI": 44, "C": 158, "C++": 988, "CMake": 25, "HTML": 797, "CSS": 246, "JavaScript": 1271, "PHP": 209, "SVG": 100, "Text": 103, "YAML": 78, "Python": 413, "JSON": 363, "Ed... | package com.dong.circlelive.live.model
import androidx.lifecycle.MutableLiveData
import cn.leancloud.AVObject
import cn.leancloud.AVQuery
import cn.leancloud.AVUser
import cn.leancloud.annotation.AVClassName
import com.dong.circlelive.base.Timber
import com.dong.circlelive.live
import com.dong.circlelive.rtc.LiveRtmCh... | 1 | null | 1 | 1 | 558c96cf0f029fb02188ca83f60920c89afd210f | 4,977 | RTE-2021-Innovation-Challenge | MIT License |
app/src/main/java/com/example/todo/TodoModel.kt | mist232 | 809,101,270 | false | {"Gradle Kotlin DSL": 3, "Java Properties": 3, "Shell": 1, "Text": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "JSON": 2, "Kotlin": 9, "XML": 24, "Java": 21} | package com.example.todo
import androidx.room.Entity
import androidx.room.PrimaryKey
// we are making list for each task
@Entity
data class TodoModel(
var title:String,
var category: String,
var date:Long,
var time:Long,
var isFinished : Int = 0,
@PrimaryKey(autoGenerate = true)
var id:Lon... | 0 | Java | 0 | 0 | 3adc8364fb00b686f274579aa11b4b002abff67a | 328 | ToDo | Apache License 2.0 |
Kotlin/App.Coroutine/app/src/main/java/com/sercan/coroutines/ScopeCoroutines.kt | sebetci | 499,716,185 | false | {"Java": 294457, "Kotlin": 194532} | package com.sercan.coroutines
import kotlinx.coroutines.coroutineScope
import kotlinx.coroutines.delay
import kotlinx.coroutines.launch
import kotlinx.coroutines.runBlocking
fun main() {
runBlocking {
launch {
delay(5000)
println("Run blocking running")
}
coroutine... | 1 | null | 1 | 1 | 5d75faf7f4ca8ee74398280a49e6ed7d9881ee17 | 459 | Android-Apps | MIT License |
fxgl/src/main/kotlin/com/almasb/fxgl/service/impl/display/DialogPane.kt | blixenkrone | 86,496,399 | true | {"YAML": 2, "Maven POM": 11, "Markdown": 14, "Text": 10, "Ignore List": 1, "Java": 611, "Kotlin": 172, "kvlang": 1, "Java Properties": 3, "XML": 12, "CSS": 7, "JavaScript": 5, "Ragel": 1, "JSON": 3} | /*
* The MIT License (MIT)
*
* FXGL - JavaFX Game Library
*
* Copyright (c) 2015-2017 AlmasB (<EMAIL>)
*
* 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, includin... | 0 | Java | 0 | 0 | 1f15e02f1b8dfda8fb2ec895bd00d7e5872ba834 | 15,599 | FXGL | MIT License |
plugins/kotlin/idea/tests/testData/copyPaste/imports/PartiallySelectedBlock.to.kt | JetBrains | 2,489,216 | false | {"Text": 9788, "INI": 517, "YAML": 423, "Ant Build System": 11, "Batchfile": 34, "Dockerfile": 10, "Shell": 633, "Markdown": 750, "Ignore List": 141, "Git Revision List": 1, "Git Attributes": 11, "EditorConfig": 260, "XML": 7904, "SVG": 4537, "Kotlin": 60205, "Java": 84268, "HTML": 3803, "Java Properties": 217, "Gradle... | package to
class B {
<caret>
} | 1 | null | 1 | 1 | 0d546ea6a419c7cb168bc3633937a826d4a91b7c | 35 | intellij-community | Apache License 2.0 |
aws-auth-cognito/src/test/java/featureTest/utilities/APIExecutor.kt | tdunietz1 | 676,729,628 | true | {"Java Properties": 6, "Gradle Kotlin DSL": 25, "Markdown": 8, "Shell": 8, "Batchfile": 3, "INI": 33, "Java": 882, "Kotlin": 536, "Proguard": 2, "Ruby": 2} | /*
* Copyright 2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" ... | 0 | Java | 0 | 0 | e803fe4765081fbce5250355fdeea64737eb0693 | 4,253 | amplify-android | Apache License 2.0 |
server/game/core/src/main/kotlin/rsbox/core/command/CommandDsl.kt | rsbox | 704,269,853 | false | {"Java": 2428938, "Kotlin": 633136} | package rsbox.core.command
import io.rsbox.server.engine.model.Privilege
import io.rsbox.server.engine.model.entity.Player
@DslMarker
annotation class CommandDsl
@CommandDsl
fun on_command(
command: String,
privilege: Privilege = Privilege.PLAYER,
action: (player: Player, args: List<String>) -> Unit
) {
... | 1 | null | 1 | 1 | 187049de600faa9d8de244ee2ed14785d9123475 | 393 | rsbox | Apache License 2.0 |
shopiroller/src/main/java/com/shopiroller/models/FilterOptionsResponse.kt | shopiroller | 552,768,909 | false | {"Gradle": 6, "Java Properties": 2, "Shell": 1, "Text": 2, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "YAML": 1, "Proguard": 1, "Kotlin": 55, "XML": 186, "INI": 1, "Java": 153} | package com.shopiroller.models
import com.google.gson.annotations.SerializedName
import java.io.Serializable
data class VariationsItem(
@field:SerializedName("id")
val id: String? = null,
@field:SerializedName("value")
val value: String? = null,
var isChecked: Boolean = false
) : Serializable
... | 0 | Java | 0 | 6 | 133793ba9c7f7167de30668662c5a37201d6eb02 | 2,771 | shopiroller-uikit-android | MIT License |
SDKChallengeProject/TAAS/android_basic/customerlib/src/main/java/com/framing/module/customer/data/bean/NutrientBean.kt | softwarekk | 285,520,801 | true | {"Markdown": 10, "Java Properties": 2, "Gradle": 12, "Shell": 1, "Batchfile": 1, "Ignore List": 10, "INI": 9, "Proguard": 9, "Kotlin": 104, "XML": 64, "Java": 40, "JSON": 28} | package com.framing.module.customer.data.bean
/*
* Des
* Author Young
* Date
* nitrogen 氮
* phosphorus 磷
* potassium 钾
* organic 有机质
* PH 酸碱
* 硼 boron
* Mo 钼
* copper 铜
* Iron 铁
* manganese 锰
* zinc 锌
* calcium 钙
* magnesium 镁
*
*/data class NutrientBean(var nitrogen:String,
... | 0 | Java | 0 | 2 | 7bcadf38900d8ce23ebfdc4f69a716cd926595e8 | 852 | RTE-Innovation-Challenge-2020 | MIT License |
dsl/camel-kotlin-api/src/generated/kotlin/org/apache/camel/kotlin/dataformats/BeanioDataFormatDsl.kt | Gayathrichennaioutlook | 759,948,930 | true | {"Text": 253, "Shell": 19, "Maven POM": 578, "Batchfile": 4, "YAML": 72, "Markdown": 26, "Git Attributes": 1, "XML": 1779, "Ignore List": 19, "JSON": 2339, "Git Config": 1, "Java": 21257, "Java Properties": 990, "AsciiDoc": 1285, "Kotlin": 489, "JavaScript": 32, "Groovy": 162, "OASv3-json": 16, "Dockerfile": 5, "JAR Ma... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | 0 | null | 0 | 0 | a55c79bb05912e557c9041705b2693054e88c5f1 | 2,834 | camel | Apache License 2.0 |
kotlin/JSON Database/Stage 3/server/JSONDatabase.kt | YuraVolk | 699,763,308 | false | {"Java": 270149, "Kotlin": 160960, "JavaScript": 46154, "CSS": 25589, "HTML": 21447} | package jsondatabase.server
class JSONDatabase {
private var array: MutableList<String?> = MutableList(1000) { null }
fun setValue(index: Int, data: String?) = if (index - 1 !in array.indices) "ERROR" else "OK".also { array[index - 1] = data }
operator fun get(index: Int) = if (index - 1 !in array.indices... | 1 | null | 1 | 1 | 8ceb6e2c20bb347a4a9b6cd5d121170d199c8667 | 506 | hyperskill-projects | The Unlicense |
TeamCode/src/main/java/org/firstinspires/ftc/teamcode/test/ExampleTeleOp.kt | Sherif-Abdou | 223,775,485 | false | {"Java": 39432, "Kotlin": 27895} | package org.firstinspires.ftc.teamcode
import com.qualcomm.robotcore.eventloop.opmode.Disabled
import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode
import com.qualcomm.robotcore.eventloop.opmode.TeleOp
import com.qualcomm.robotcore.hardware.DcMotor
import com.qualcomm.robotcore.hardware.DcMotorSimple
import com... | 1 | null | 1 | 1 | 12a1b322fa54c9abae93567fa13e7391d2cf618f | 2,293 | Syntax-Error-Skystone | MIT License |
packages/SystemUI/tests/src/com/android/systemui/unfold/TestUnfoldTransitionProvider.kt | liu-wanshun | 595,904,109 | true | null | package com.android.systemui.unfold
import com.android.systemui.unfold.UnfoldTransitionProgressProvider.TransitionProgressListener
class TestUnfoldTransitionProvider : UnfoldTransitionProgressProvider, TransitionProgressListener {
private val listeners = arrayListOf<TransitionProgressListener>()
override fu... | 0 | Java | 1 | 2 | e99201cd9b6a123b16c30cce427a2dc31bb2f501 | 926 | platform_frameworks_base | Apache License 2.0 |
clients/ktorm-schema/generated/src/main/kotlin/org/openapitools/database/models/IntegrationRequestPatch.kt | oapicf | 489,369,143 | false | {"Markdown": 13009, "YAML": 64, "Text": 6, "Ignore List": 43, "JSON": 688, "Makefile": 2, "JavaScript": 2261, "F#": 1305, "XML": 1120, "Shell": 44, "Batchfile": 10, "Scala": 4677, "INI": 23, "Dockerfile": 14, "Maven POM": 22, "Java": 13384, "Emacs Lisp": 1, "Haskell": 75, "Swift": 551, "Ruby": 1149, "Cabal Config": 2, ... | /**
* Pinterest REST API
* Pinterest's REST API
*
* The version of the OpenAPI document: 5.12.0
* Contact: <EMAIL>
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package org.openapitools.database.models
... | 0 | Java | 0 | 2 | dcd328f1e62119774fd8ddbb6e4bad6d7878e898 | 4,368 | pinterest-sdk | MIT License |
src/main/kotlin/com/deflatedpickle/squidfriends/mojank/FollowParentSquidGoal.kt | DeflatedPickle | 614,750,808 | false | {"Java": 13101, "Kotlin": 5559} | /* Copyright (c) 2023 DeflatedPickle under the MIT license */
package com.deflatedpickle.squidfriends.mojank
import com.deflatedpickle.squidfriends.api.IBreedable
import net.minecraft.entity.ai.goal.Goal
import net.minecraft.entity.passive.SquidEntity
open class FollowParentSquidGoal(
private val animal: SquidEn... | 1 | null | 1 | 1 | 00cb8412f21cb578c1712e1b95365084e6f99675 | 2,070 | SquidFriends | MIT License |
libbase/src/main/java/com/earth/libbase/network/request/PhotoAddDetail.kt | engineerrep | 643,933,914 | false | {"Java": 2291635, "Kotlin": 1651449} | package com.earth.libbase.network.request
import com.google.gson.annotations.SerializedName
data class PhotoAddDetail(
@SerializedName("friendMobilePhoneName")
var friendMobilePhoneName: String? = null,
@SerializedName("friendMobilePhoneNumber")
var friendMobilePhoneNumber: String? = null
)
| 1 | null | 1 | 1 | 415e0417870b6ff2c84a9798d1f3f3a4e6921354 | 310 | EarthAngel | MIT License |
Wechat_chatroom_helper_android/app/src/main/kotlin/com/zdy/project/wechat_chatroom_helper/helper/manager/PermissionHelper.kt | zhudongya123 | 96,015,224 | false | {"Text": 1, "Ignore List": 3, "Markdown": 2, "Gradle": 4, "Java Properties": 2, "Shell": 1, "Batchfile": 1, "INI": 1, "XML": 36, "Java": 11, "Proguard": 1, "Kotlin": 68} | package com.zdy.project.wechat_chatroom_helper.helper.manager
import android.Manifest
import android.annotation.SuppressLint
import android.app.Activity
import android.content.Context
import android.content.Intent
import android.content.pm.PackageManager
import android.net.Uri
import android.os.Build
import android.pr... | 11 | Kotlin | 21 | 86 | 641d8d004212196d443056a7b428ba03be60b4ec | 4,166 | WechatChatRoomHelper | Apache License 2.0 |
Common/src/main/java/at/petrak/hexcasting/common/casting/operators/selectors/OpGetEntityAt.kt | tynberry | 555,974,628 | true | {"Java Properties": 1, "Groovy": 1, "Text": 3, "Gradle": 5, "Shell": 1, "Markdown": 2, "Git Attributes": 1, "Batchfile": 1, "Ignore List": 1, "INI": 4, "Kotlin": 178, "Java": 281, "JSON": 1012, "GLSL": 1, "YAML": 1, "HTML": 1, "Python": 1, "TOML": 1} | package at.petrak.hexcasting.common.casting.operators.selectors
import at.petrak.hexcasting.api.spell.ConstManaOperator
import at.petrak.hexcasting.api.spell.SpellDatum
import at.petrak.hexcasting.api.spell.asSpellResult
import at.petrak.hexcasting.api.spell.casting.CastingContext
import at.petrak.hexcasting.api.spell... | 0 | null | 0 | 0 | 5193a20a0a909a68b60cbafc9115c9833c18cc45 | 1,094 | HexMod | MIT License |
UtilsSample/Dagger/src/main/java/sample/util/develop/android/dagger/mvp/presenter/MVPPresenter.kt | dulexu | 215,254,226 | true | {"Markdown": 85, "Text": 4, "Ignore List": 74, "HTML": 101, "Java Properties": 43, "Gradle": 114, "Shell": 25, "Batchfile": 25, "Proguard": 44, "Java": 646, "XML": 544, "Kotlin": 197, "CSS": 1, "INI": 8, "JSON": 9, "JavaScript": 7, "CMake": 1, "C++": 1, "JSON with Comments": 1, "Git Attributes": 1, "Starlark": 2, "Obje... | package sample.util.develop.android.dagger.mvp.presenter
/**
* by y on 2017/5/31.
*/
interface MVPPresenter {
fun startNetWork()
}
| 0 | null | 0 | 0 | f8e5e02467b2ff6dd1e9d2cdfdf766320c5dedd2 | 139 | AndroidDevelop | Apache License 2.0 |
referencedumpsview/src/main/java/com/yan/referencecount/dumps/view/AutoShowProvider.kt | genius158 | 314,809,675 | false | {"Markdown": 3, "Gradle": 14, "Java Properties": 2, "Shell": 1, "Ignore List": 12, "Batchfile": 1, "INI": 9, "Proguard": 11, "XML": 22, "Java": 25, "Kotlin": 28, "Checksums": 6, "CMake": 25, "C++": 44, "C": 7, "Soong": 1, "JSON": 25, "Text": 57, "Ninja": 12} | package com.yan.referencecount.dumps.view
import android.app.Application
import android.content.ContentProvider
import android.content.ContentValues
import android.database.Cursor
import android.net.Uri
import com.yan.referencecount.dump.objectcalculate.ObjectCalculator
import com.yan.referencecount.dumps.ReferenceMgr... | 1 | null | 1 | 1 | eeaf6fdff33f1a515670b84019bb11ea13fc3bac | 1,425 | ReferenceDump | Apache License 2.0 |
app/src/main/java/com/loan/golden/cash/money/loan/data/response/RaddlemanResponse.kt | williamXw | 693,063,899 | false | {"Java": 2423785, "Kotlin": 747998} | package com.loan.golden.cash.money.loan.data.response
import android.os.Parcelable
import kotlinx.parcelize.Parcelize
/**
* @Author : hxw
* @Date : 2023/10/18 14:28
* @Describe :
*/
@Parcelize
class RaddlemanResponse(
var status: Int = 0,
var time: Long = 0,
var maxAge: Int = 0,
va... | 1 | null | 1 | 1 | 2ba6be236ce6de634dda7d02f78d87b4a6f9c7f6 | 743 | goldenMoney | Apache License 2.0 |
baselibrary/src/main/java/com/hh/baselibrary/mvp/BaseActivity.kt | hHui056 | 673,264,161 | false | {"Java": 261954, "Kotlin": 113384, "C": 402, "Batchfile": 225} | package com.hh.baselibrary.mvp
import android.annotation.SuppressLint
import android.content.Context
import android.content.Intent
import android.os.Bundle
import android.util.Log
import android.view.MotionEvent
import android.view.inputmethod.InputMethodManager
import androidx.appcompat.app.AppCompatActivity
import c... | 1 | null | 1 | 1 | ef73087afb2269623d6a2eac534ed1cde7b86050 | 5,059 | android_mvp_generate | Mulan Permissive Software License, Version 2 |
issue-repro/src/main/kotlin/com/airbnb/lottie/issues/IssueReproActivity.kt | oOJohn6Oo | 763,420,318 | true | {"Markdown": 9, "JavaScript": 1, "Batchfile": 1, "Shell": 6, "INI": 4, "Java Properties": 1, "Proguard": 2, "Kotlin": 171, "Java": 222} | package com.airbnb.lottie.issues
import android.os.Bundle
import android.widget.ImageView
import androidx.appcompat.app.AppCompatActivity
import androidx.core.content.ContextCompat
import com.airbnb.lottie.LottieAnimationView
import com.airbnb.lottie.LottieDrawable
import com.airbnb.lottie.issues.databinding.IssueRepr... | 0 | Java | 0 | 0 | 7981f35ed9ca7d6d0fd71b478cd625ddec680a5d | 1,035 | lottie-android | Apache License 2.0 |
TeamCode/src/main/java/org/firstinspires/ftc/teamcode/powerplay/Robot.kt | Chonks1000000 | 562,622,515 | true | {"Java Properties": 1, "Gradle": 6, "Shell": 1, "Markdown": 9, "Batchfile": 1, "Text": 4, "Ignore List": 2, "XML": 19, "INI": 1, "Java": 87, "Kotlin": 55} | package org.firstinspires.ftc.teamcode.powerplay
import com.qualcomm.robotcore.hardware.HardwareMap
import org.firstinspires.ftc.teamcode.powerplay.subsystems.Claw
import org.firstinspires.ftc.teamcode.powerplay.subsystems.Slides
import org.firstinspires.ftc.teamcode.util.Subsystem
class Robot: Subsystem {
privat... | 0 | Java | 0 | 0 | 80321ac8bbbf7176346d543c504f2158dd3a040a | 958 | Testing | BSD 3-Clause Clear License |
app/src/main/java/com/example/owocewarzywa/utils/FirestoreUtil.kt | Bublelift | 786,259,761 | false | {"Gradle": 3, "JSON": 136, "Java Properties": 5, "Markdown": 3, "Shell": 1, "Text": 11, "Batchfile": 1, "Proguard": 1, "XML": 220, "Kotlin": 40, "Java": 83, "INI": 1, "Motorola 68K Assembly": 5, "SQL": 4, "SVG": 1} | package com.example.owocewarzywa.utils
import android.content.Context
import android.util.Log
import androidx.lifecycle.LiveData
import androidx.lifecycle.ViewModel
import com.example.owocewarzywa.model.*
import com.example.owocewarzywa.recyclerview.item.PersonItem
import com.example.owocewarzywa.recyclerview.item.Tex... | 0 | Java | 0 | 0 | d5478359fd64fcebbcc5fe8953d346dbb04d9a47 | 6,666 | app-eng | Apache License 2.0 |
src/main/java/com/tabnine/binary/requests/autocomplete/SnippetContext.kt | qauzy | 587,655,659 | true | {"Shell": 7, "Markdown": 2, "Batchfile": 1, "Kotlin": 73, "Java": 115, "INI": 1} | package com.tabnine.binary.requests.autocomplete
data class SnippetContext(
val stop_reason: String?,
val generated_tokens: Int?,
val user_intent: UserIntent,
val intent_metadata: SnippetIntentMetadata?,
val response_time_ms: Int?,
val is_cached: Boolean?,
val context_len: Int?,
val fir... | 1 | null | 1 | 1 | 7255f29a951c758d5850504113c16f5d2485bf7f | 506 | tabnine-intellij | MIT License |
packages/SystemUI/animation/src/com/android/systemui/surfaceeffects/ripple/RippleAnimation.kt | liu-wanshun | 595,904,109 | true | null | /*
* Copyright (C) 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 0 | Java | 1 | 2 | e99201cd9b6a123b16c30cce427a2dc31bb2f501 | 2,811 | platform_frameworks_base | Apache License 2.0 |
kotlin/코틀린 완벽 가이드/080250/Chapter14/KoTest/src/test/kotlin/NumbersTest7.kt | devYSK | 461,887,647 | false | {"Java": 3507759, "JavaScript": 659549, "Kotlin": 563136, "HTML": 455168, "CSS": 446825, "Shell": 57444, "Groovy": 54414, "Batchfile": 47890, "Go": 26805, "Python": 9963, "Handlebars": 8554, "Makefile": 7837, "Vue": 5706, "TypeScript": 5172, "Dockerfile": 436, "Vim Snippet": 362, "Assembly": 278, "Procfile": 199} | import io.kotest.core.spec.style.FeatureSpec
import io.kotest.matchers.shouldBe
class NumbersTest7 : FeatureSpec({
feature("Arithmetic") {
val x = 1
scenario("x is 1 at first") { x shouldBe 1 }
feature("increasing by") {
scenario("1 gives 2") { (x + 1) shouldBe 2 }
scenario("2 gives 3") { (x ... | 1 | null | 1 | 1 | 7a7c6b1bab3dc2c84527f8c528b06b9408872635 | 350 | study_repo | MIT License |
src/main/java/mods/eln/transparentnode/LargeRheostat.kt | VoXaN24 | 286,433,584 | false | {"Java": 2449574, "Kotlin": 322226, "Shell": 1146, "Python": 489, "Nix": 459} | package mods.eln.transparentnode
import mods.eln.gui.GuiContainerEln
import mods.eln.gui.GuiHelperContainer
import mods.eln.gui.HelperStdContainer
import mods.eln.i18n.I18N
import mods.eln.i18n.I18N.tr
import mods.eln.misc.*
import mods.eln.misc.series.SerieEE
import mods.eln.node.NodeBase
import mods.eln.node.transpa... | 1 | null | 1 | 1 | 8b54855a8709438dd66cd11273ce59e368800f91 | 9,187 | electricalage-1.12 | Creative Commons Zero v1.0 Universal |
airbyte-cdk/java/airbyte-cdk/core/src/main/kotlin/io/airbyte/cdk/db/jdbc/streaming/JdbcStreamingQueryConfig.kt | tim-werner | 511,419,970 | false | {"Java Properties": 8, "Shell": 57, "Markdown": 1170, "Batchfile": 1, "Makefile": 3, "JavaScript": 31, "CSS": 9, "Python": 4183, "Kotlin": 845, "Java": 723, "INI": 10, "Dockerfile": 27, "HTML": 7, "SQL": 527, "PLpgSQL": 8, "TSQL": 1, "PLSQL": 2} | /*
* Copyright (c) 2023 Airbyte, Inc., all rights reserved.
*/
package io.airbyte.cdk.db.jdbc.streaming
import io.airbyte.commons.functional.CheckedBiConsumer
import java.sql.*
/*
* Interface that defines how to stream results from a Jdbc database. This involves determining
* updating what the fetch size should b... | 1 | null | 1 | 1 | b2e7895ed3e1ca7c1600ae1c23578dd1024f20ff | 754 | airbyte | MIT License |
src/main/kotlin/com/koresframework/kores/extra/UnifiedAnnotation.kt | koresframework | 85,362,482 | false | {"Gradle": 2, "INI": 2, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "YAML": 1, "Java": 7, "Kotlin": 6, "Markdown": 139} | /*
* Kores-Extra - Kores Extras
*
* The MIT License (MIT)
*
* Copyright (c) 2021 JonathanxD <https://github.com/JonathanxD/Kores-Extra>
* Copyright (c) contributors
*
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associ... | 1 | Kotlin | 0 | 0 | b349a4fdd1ee961ef5894067df7eae12db9fd711 | 1,904 | Kores-Extra | MIT License |
TeamCode/src/main/java/org/firstinspires/ftc/teamcode/drive/test/ElevatorTest.kt | Petelax | 671,336,777 | false | {"Gradle": 6, "Java Properties": 1, "Shell": 1, "Text": 4, "Ignore List": 2, "Batchfile": 1, "Markdown": 7, "INI": 1, "XML": 20, "Java": 67, "Kotlin": 66} | package org.firstinspires.ftc.teamcode.drive.test
import com.acmerobotics.dashboard.FtcDashboard
import com.acmerobotics.dashboard.telemetry.MultipleTelemetry
import com.qualcomm.robotcore.eventloop.opmode.OpMode
import com.qualcomm.robotcore.eventloop.opmode.TeleOp
import org.firstinspires.ftc.teamcode.subsystems.Ele... | 0 | Java | 0 | 0 | a66accb94638fb15c099bf5a86a2938c348881b9 | 1,090 | FTC16413-CenterStage | BSD 3-Clause Clear License |
src/main/java/com/resuscitation/Instagram/user/entity/UserRole.kt | Team-Resuscitation | 675,347,330 | false | {"Java": 34331, "Kotlin": 6557} | package com.resuscitation.Instagram.user.entity
import org.springframework.security.core.GrantedAuthority
enum class UserRole : GrantedAuthority {
ROLE_ADMIN, ROLE_CLIENT;
override fun getAuthority(): String {
return name;
}
} | 1 | null | 1 | 1 | 59a423e6a92ef7b5b00a7c5403501b5f1cfc5ca3 | 249 | instagram-Server | MIT License |
packages/SystemUI/shared/src/com/android/systemui/unfold/system/ActivityManagerActivityTypeProvider.kt | liu-wanshun | 595,904,109 | true | null | /*
* Copyright (C) 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 0 | Java | 1 | 2 | e99201cd9b6a123b16c30cce427a2dc31bb2f501 | 1,311 | platform_frameworks_base | Apache License 2.0 |
helper/src/main/java/me/hgj/mvvmhelper/core/livedata/DoubleLiveData.kt | williamXw | 693,063,899 | false | {"Java": 2423785, "Kotlin": 747998} | package me.hgj.mvvmhelper.core.livedata
import androidx.lifecycle.MutableLiveData
/**
* 作者 : hxw
* 时间 : 2023/9/3
* 描述 :自定义的Double类型 MutableLiveData 提供了默认值,避免取值的时候还要判空
*/
class DoubleLiveData : MutableLiveData<Double>() {
override fun getValue(): Double {
return super.getValue() ?: 0.0
}
} | 1 | null | 1 | 1 | 2ba6be236ce6de634dda7d02f78d87b4a6f9c7f6 | 312 | goldenMoney | Apache License 2.0 |
app/src/main/java/com/tntra/pargo2/model/notification/Notification.kt | milan656 | 395,915,799 | false | {"Gradle": 3, "YAML": 1, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 2, "Python": 1, "JSON": 1, "Proguard": 1, "Java": 21, "XML": 111, "Kotlin": 157} | package com.tntra.pargo2.model.notification
data class Notification(
val attributes: Attributes,
val id: String,
val type: String,
var addressTitle: String,
var fullAddress: String,
var date: String,
var building_uuid: String,
var dateFormated: String,
var createdAt: Long = 0,
v... | 1 | null | 1 | 1 | d4747dfaf535e0500d2ca3d10aec6289b536c791 | 378 | pargo | MIT License |
slayTheMiko/src/main/kotlin/slayTheMiko/relics/YoimiyaEye.kt | Obdormio | 516,196,427 | false | {"Java": 76658, "Kotlin": 59971} | package slayTheMiko.relics
import basemod.abstracts.CustomRelic
import com.badlogic.gdx.graphics.Texture
import slayTheMiko.SlayTheMikoMod
import slayTheMiko.util.TextureLoader
class YoimiyaEye : CustomRelic(ID, IMG, OUTLINE, RelicTier.STARTER, LandingSound.MAGICAL) {
companion object {
val ID = SlayTheMi... | 1 | null | 1 | 1 | 67e2966a38efef2834c1970f24238c16c2367498 | 568 | slayTheMiko | MIT License |
Android/Courses/Android-Basics-with-Compose/Unit-1-Your-first-Android-app/1-Introduction-to-programming-in-Kotlin/4-Create-and-use-variables-in-Kotlin/4-Update-variables.kts | ronkitay | 10,026,035 | false | {"Text": 5, "Ignore List": 11, "Git Attributes": 2, "Go Workspace": 1, "Markdown": 26, "YAML": 34, "Gradle": 6, "Shell": 7, "Batchfile": 5, "INI": 8, "Java": 53, "OASv3-yaml": 1, "Maven POM": 9, "XML": 39, "Java Properties": 7, "Scala": 13, "JSON": 3, "Dockerfile": 2, "Python": 54, "Makefile": 1, "TOML": 7, "Gradle Kot... | var cartTotal = 0
println("Total: $cartTotal")
cartTotal = 20
println("Total: $cartTotal")
cartTotal = cartTotal + 1
println("Total: $cartTotal")
cartTotal++
println("Total: $cartTotal")
cartTotal--
println("Total: $cartTotal")
| 2 | Python | 0 | 0 | 27032d11ebb0903f5c920b1be50981250f38cb20 | 228 | Rons-Tutorials | MIT License |
src/main/kotlin/no/nav/veilarbaktivitet/aktivitetskort/idmapping/IdMapping.kt | navikt | 160,188,405 | false | {"Gradle Kotlin DSL": 2, "Markdown": 3, "CODEOWNERS": 1, "Dockerfile": 1, "INI": 3, "Shell": 2, "Ignore List": 1, "Batchfile": 1, "Git Attributes": 1, "Java": 267, "Java Properties": 2, "XML": 2, "JSON": 31, "Kotlin": 104, "SVG": 2, "OASv3-yaml": 1, "YAML": 41, "HTML": 2, "JavaScript": 2, "CSS": 1, "GraphQL": 2, "SQL":... | package no.nav.veilarbaktivitet.aktivitetskort.idmapping
import no.nav.veilarbaktivitet.aktivitet.domain.AktivitetStatus
import no.nav.veilarbaktivitet.aktivitetskort.dto.aktivitetskort.MessageSource
import no.nav.veilarbaktivitet.arena.model.ArenaId
import java.time.LocalDateTime
import java.util.*
data class IdMapp... | 6 | Java | 0 | 0 | 7d406657ed8e5542b6752baf3f77fdf90dea6f14 | 637 | veilarbaktivitet | MIT License |
test/src/main/java/com/example/test/kotlinPratice/base/Song.kt | Tzy2001 | 750,701,200 | false | {"Gradle": 29, "Java Properties": 4, "Shell": 2, "Text": 2, "Ignore List": 29, "Batchfile": 2, "Markdown": 1, "Proguard": 23, "Kotlin": 238, "XML": 461, "Java": 187, "INI": 1, "JSON": 1} | package com.example.test.kotlinPratice.base
data class Song(val name: String, val person: String, val year: String, val count: Int) {
// fun isPopular(): Boolean {
// return this.count >= 1000
// }
val isPopular: Boolean
get() = count >= 1000
fun printSong() {
println("[$name],pe... | 0 | Java | 0 | 0 | b54ec3624624885750df5e90041152f411c236d4 | 502 | Android-Demos | Apache License 2.0 |
app/src/main/java/com/tsl/app/activity/main/MainActivity.kt | Jowney23 | 566,658,372 | false | {"Java": 578069, "Kotlin": 286202} | package com.tsl.app.activity.main
import android.app.ActivityOptions
import android.content.Intent
import android.os.Bundle
import android.util.Log
import android.view.GestureDetector
import android.view.MotionEvent
import android.view.View
import com.airbnb.lottie.LottieAnimationView
import com.jaeger.library.StatusB... | 1 | null | 1 | 1 | 9393621a33e6e387cb58cba0d1b82a6ec38ee8ed | 5,148 | FaceRecognize | Apache License 2.0 |
kotest-framework/kotest-framework-api/src/commonMain/kotlin/io/kotest/core/concurrency/CoroutineDispatcherFactory.kt | kotest | 47,071,082 | false | {"Gradle Kotlin DSL": 57, "JSON": 18, "Markdown": 1115, "Java Properties": 1, "Shell": 2, "Text": 5, "Ignore List": 1, "Batchfile": 1, "Git Attributes": 2, "EditorConfig": 1, "SVG": 4, "Kotlin": 1691, "TOML": 1, "INI": 4, "YAML": 18, "JavaScript": 4, "CSS": 3, "MDX": 22, "HTTP": 3, "Java": 1} | package io.kotest.core.concurrency
import io.kotest.core.test.TestCase
import kotlin.contracts.InvocationKind
import kotlin.contracts.contract
/**
* Switches the [kotlinx.coroutines.CoroutineDispatcher] used for test and spec execution.
*/
interface CoroutineDispatcherFactory {
/**
* Execute the given funct... | 137 | Kotlin | 623 | 4,318 | e7f7e52a732010fae899d1fcc4d074c055463e0b | 996 | kotest | Apache License 2.0 |
server/src/main/java/de/materna/dmn/tester/servlets/model/entities/Documentation.kt | michaelschmitz13 | 499,430,432 | false | {"YAML": 2, "Markdown": 5, "Dockerfile": 1, "Ignore List": 5, "JSON": 61, "JSON with Comments": 1, "JavaScript": 12, "Vue": 34, "SVG": 1, "CSS": 1, "Maven POM": 1, "Java": 63, "Java Properties": 1, "XML": 7, "Kotlin": 1} | package de.materna.dmn.tester.servlets.model.entities
import org.apache.commons.lang3.StringUtils
import org.kie.dmn.api.core.DMNModel
import org.kie.dmn.api.core.DMNType
import org.kie.dmn.api.core.ast.BusinessKnowledgeModelNode
import org.kie.dmn.api.core.ast.DecisionNode
import org.kie.dmn.model.api.*
import org.ki... | 1 | null | 1 | 1 | bfd96b4c7f453c5105b4ef099cba9bb9739cc9b6 | 11,741 | declab | Apache License 2.0 |
app/src/main/java/com/lyh/cn/passwordbook/fragment/entry/UrlFragment.kt | liyuhaolol | 623,347,438 | false | {"Gradle Kotlin DSL": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "TOML": 1, "Proguard": 1, "XML": 25, "Java": 8, "Kotlin": 11} | package com.lyh.cn.passwordbook.fragment.entry
import android.os.Bundle
import android.text.TextUtils
import android.util.Log
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import com.lyh.cn.passwordbook.activity.entry.InitActivity
import com.lyh.cn.passwordbook.base.BaseFrag... | 0 | Java | 0 | 0 | 215d5fe80d58adecf0d21c5a66104da80186d180 | 2,079 | PasswordBook | MIT License |
app/src/main/java/com/lyh/cn/passwordbook/fragment/entry/UrlFragment.kt | liyuhaolol | 623,347,438 | false | {"Gradle Kotlin DSL": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "TOML": 1, "Proguard": 1, "XML": 25, "Java": 8, "Kotlin": 11} | package com.lyh.cn.passwordbook.fragment.entry
import android.os.Bundle
import android.text.TextUtils
import android.util.Log
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import com.lyh.cn.passwordbook.activity.entry.InitActivity
import com.lyh.cn.passwordbook.base.BaseFrag... | 0 | Java | 0 | 0 | 215d5fe80d58adecf0d21c5a66104da80186d180 | 2,079 | PasswordBook | MIT License |
Kotiln/security/chapter18/src/main/kotlin/com/example/chapter18/repository/WorkoutRepository.kt | bekurin | 558,176,225 | false | {"Git Config": 1, "Text": 12, "Ignore List": 96, "Markdown": 58, "YAML": 55, "JSON with Comments": 2, "JSON": 46, "HTML": 104, "robots.txt": 6, "SVG": 10, "TSX": 15, "CSS": 64, "Gradle Kotlin DSL": 107, "Shell": 72, "Batchfile": 71, "HTTP": 15, "INI": 112, "Kotlin": 682, "EditorConfig": 1, "Gradle": 40, "Java": 620, "J... | package com.example.chapter18.repository
import com.example.chapter18.entity.Workout
import org.springframework.data.jpa.repository.JpaRepository
import org.springframework.data.jpa.repository.Query
interface WorkoutRepository : JpaRepository<Workout, Long> {
@Query("select w from Workout w where w.username = ?#{... | 0 | Java | 0 | 2 | ede7cdb0e164ed1d3d2ee91c7770327b2ee71e4d | 383 | blog_and_study | MIT License |
paybutton/src/main/java/io/paysky/ui/fragment/listcards/SavedCardsAdapter.kt | payskyCompany | 158,552,907 | false | {"Gradle": 4, "Maven POM": 1, "Java Properties": 1, "YAML": 1, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "INI": 2, "XML": 64, "Java": 130, "Proguard": 1, "Kotlin": 25} | package io.paysky.ui.fragment.listcards
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.view.inputmethod.EditorInfo
import android.widget.EditText
import android.widget.RadioButton
import android.widget.TextView
import androidx.core.widget.doAfterTextChanged
imp... | 0 | Java | 0 | 0 | 7c57ff4dd570155a0aa9b494a523fcd4f9ff1209 | 5,054 | paybutton-sdk | Apache License 2.0 |
ftc-2021-2022-offseason/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/autonomy/AutoRed6Cycles.kt | QubeRomania | 491,215,964 | false | {"Java": 210390, "Kotlin": 52111} | package org.firstinspires.ftc.teamcode.autonomy
class AutoRed6Cycles {
} | 1 | null | 1 | 1 | 6a19b7460d416fa4bddf442b7ef4dcf539c7ae9b | 73 | ftc-2021-2022-offseason | Apache License 2.0 |
java_pro/src/main/kotlin/kt/com/tencent/cain/desigin_pattern/adapter/Player.kt | JayRichrd | 510,423,945 | false | {"Java": 77189, "Kotlin": 54914, "C++": 5055, "CMake": 529} | package kt.com.tencent.cain.desigin_pattern.adapter
/**
* @author cainjiang
* @date 2020/4/15
*/
abstract class Player(val name: String) {
abstract fun attack()
abstract fun defense()
} | 1 | null | 1 | 1 | 00e247591b9e95083d6de362bca512429169af96 | 197 | design_pattern_structure | MIT License |
clients/kotlin-server/generated/src/main/kotlin/org/openapitools/server/apis/CampaignsApi.kt | oapicf | 489,369,143 | false | {"Markdown": 13009, "YAML": 64, "Text": 6, "Ignore List": 43, "JSON": 688, "Makefile": 2, "JavaScript": 2261, "F#": 1305, "XML": 1120, "Shell": 44, "Batchfile": 10, "Scala": 4677, "INI": 23, "Dockerfile": 14, "Maven POM": 22, "Java": 13384, "Emacs Lisp": 1, "Haskell": 75, "Swift": 551, "Ruby": 1149, "Cabal Config": 2, ... | /**
* Pinterest REST API
* Pinterest's REST API
*
* The version of the OpenAPI document: 5.12.0
* Contact: <EMAIL>
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package org.openapitools.server.apis
imp... | 0 | Java | 0 | 2 | dcd328f1e62119774fd8ddbb6e4bad6d7878e898 | 15,555 | pinterest-sdk | MIT License |
src/main/kotlin/nitrolang/backend/Monomorphization.kt | cout970 | 699,028,788 | false | {"Markdown": 2, "Gradle Kotlin DSL": 2, "ANTLR": 2, "INI": 2, "Shell": 2, "Ignore List": 2, "Batchfile": 1, "Git Attributes": 1, "Text": 1, "Kotlin": 86, "Java": 6, "JSON with Comments": 1, "HTML": 3, "HTTP": 1, "XML": 2} | package nitrolang.backend
import nitrolang.ast.*
import nitrolang.backend.wasm.heapSize
import nitrolang.parsing.ANNOTATION_EXTERN
import nitrolang.parsing.LAMBDA_CALL_FUNCTION
import nitrolang.typeinference.TType
import nitrolang.util.Span
// Search if a given function signature matches an already converted MonoFunc... | 0 | Java | 0 | 3 | 9f501d19da02bd7022ac9029f23cd1d19205d150 | 27,794 | NitroLang | MIT License |
kotlinmultiplatformsharedmodule/src/androidMain/kotlin/com/ping/kotlinmultiplatformsharedmodule/AndroidLogger.kt | jeyanthanperiyasamy | 783,864,786 | false | {"Gradle Kotlin DSL": 9, "TOML": 2, "Markdown": 3, "Java Properties": 10, "Gradle": 10, "Shell": 1, "Text": 3, "Ignore List": 12, "Batchfile": 1, "Proguard": 10, "XML": 154, "Kotlin": 239, "Java": 352, "JSON": 48, "YAML": 13, "INI": 3, "Ruby": 1, "Makefile": 2, "C++": 1, "Swift": 5, "OpenStep Property List": 3, "SVG": ... | package com.ping.kotlinmultiplatformsharedmodule
import android.util.Log
import java.lang.String.format
class AndroidMFDefaultLogger : MFLoggerInterface {
private fun log(
level: MFLogger.Level,
tag: String,
t: Throwable?,
message: String,
) {
val value =
tr... | 0 | Java | 0 | 0 | 2c3fde50e89eba384bd3b051a971a7c782c27c02 | 2,364 | KotlinMultiPlatform | MIT License |
kt/tools-common/src/main/kotlin/godot/tools/common/constants/FileExtensions.kt | utopia-rise | 289,462,532 | false | {"Python": 1, "Text": 8, "C++": 127, "C": 7, "CMake": 1, "YAML": 27, "Ignore List": 11, "Git Attributes": 6, "EditorConfig": 1, "Markdown": 46, "SVG": 20, "Gradle Kotlin DSL": 27, "INI": 17, "Shell": 12, "Batchfile": 7, "Kotlin": 1298, "XML": 3, "JSON": 10, "TOML": 1, "JavaScript": 1, "Godot Resource": 27, "GDScript": ... | package godot.tools.common.constants
object FileExtensions {
object GodotKotlinJvm {
// keep in sync with godotkotlin_defs.h!
val registrationFile = "gdj"
}
object Godot {
val sceneFile = "tscn"
}
}
| 63 | Kotlin | 36 | 537 | cf2ead14402f4fee8caff4573fb8cd82114735e9 | 241 | godot-kotlin-jvm | MIT License |
modules/src/main/java/ir/awlrhm/modules/extentions/Activity.kt | Nikafarinegan | 638,830,639 | false | {"Java": 139207, "Kotlin": 123074} | package ir.awlrhm.modules.extentions
import android.Manifest
import android.app.Activity
import android.content.Intent
import android.net.Uri
import android.os.StrictMode
import android.util.DisplayMetrics
import android.view.View
import android.widget.TextView
import androidx.coordinatorlayout.widget.CoordinatorLayou... | 1 | null | 1 | 1 | b24175d93e44b8218fa2c76bffd109734b764cc0 | 10,180 | Module | MIT License |
Example/SilverMobInternalTestApp/src/main/java/com/silvermob/sdk/renderingtestapp/plugplay/bidding/gam/original/GamOriginalInterstitialRandomMultiformatFragment.kt | silvermob | 748,214,980 | true | {"Batchfile": 1, "Shell": 9, "Markdown": 4, "Java Properties": 6, "INI": 5, "Proguard": 4, "Java": 787, "JavaScript": 3, "HTML": 10, "Kotlin": 175} | package com.silvermob.sdk.renderingtestapp.plugplay.bidding.gam.original
import com.silvermob.sdk.renderingtestapp.R
import java.util.EnumSet
import kotlin.random.Random
class GamOriginalInterstitialRandomMultiformatFragment : GamOriginalInterstitialFragment() {
override fun createAdUnit(adUnitFormat: com.silver... | 0 | Java | 0 | 0 | 876b9f6838055e4a6f05df30ef2e19f94478675c | 868 | silvermob-sdk-android | Apache License 2.0 |
environment/src/main/kotlin/jetbrains/exodus/tree/btree/BTreeDup.kt | mohammadfarari1360 | 637,398,375 | true | {"Java Properties": 1, "Gradle Kotlin DSL": 16, "Shell": 1, "Markdown": 6, "Batchfile": 1, "Java": 478, "Kotlin": 390, "INI": 1} | /*
* 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 | 0 | 1 | 07f82043044f2a967c0f3c6c00bcc82b6e9126ef | 3,153 | xodus | Apache License 2.0 |
samples/src/main/kotlin/01DownloadHistory.kt | larry-brand | 537,620,997 | false | {"Java": 128409, "Kotlin": 96972} | package org.cryptolosers.samples
import org.cryptolosers.history.HistoryService
import org.cryptolosers.history.HistoryTickerId
import org.cryptolosers.history.Timeframe
/**
* Sample
* Download full history from Finam to C:\Users\username\.koto-trader\finam\Si\1 day
*/
fun main() {
val service = HistoryService... | 1 | null | 1 | 1 | 05f222e8847ce1c23f5e735e11e8840485ea23ea | 398 | koto-trader | Apache License 2.0 |
app/src/main/java/cz/josefadamcik/trackontrakt/util/RxSchedulers.kt | josefadamcik | 86,170,190 | false | {"Gradle": 4, "YAML": 3, "Markdown": 2, "Java Properties": 1, "Shell": 5, "Ignore List": 2, "Batchfile": 1, "INI": 1, "Proguard": 1, "Kotlin": 118, "XML": 64, "HTML": 1, "JSON": 17, "Java": 1} | package cz.josefadamcik.trackontrakt.util
import io.reactivex.Scheduler
/**
* Enables DI of schedulers and thus simple replacement in tests.
*/
data class RxSchedulers(val subscribe: Scheduler, val observe: Scheduler) | 1 | null | 1 | 1 | b43bfae21f085d84a0f3aeac74f5a38b087b2032 | 221 | TrackOnTrakt | Apache License 2.0 |
app/src/main/java/com/mjr/app/alleasy/fragment/physics/hydrodynamics/fluidflow/TimeFragment1.kt | gabrielmjr | 508,812,095 | false | {"Java": 62070, "Kotlin": 43799} | package com.mjr.app.alleasy.fragment.physics.hydrodynamics.fluidflow
import com.mjr.app.alleasy.R
import com.mjr.app.alleasy.model.Data
import com.mjr.app.alleasy.activity.AbstractPhysicalCalculation
import com.mjr.app.alleasy.adapter.PhysicCalculationsTemplateAdapter
import com.mjr.twaire.code.physic.hydrodynamics.fl... | 1 | null | 1 | 1 | 6bca4475b1cb3af00e605677c4afd56e0862c3cc | 1,864 | AllEasy | Apache License 2.0 |
tracker/src/main/kotlin/com/moebius/tracker/assembler/TradeAssembler.kt | team-moebius | 271,893,640 | false | {"Java": 201502, "Groovy": 79521, "Kotlin": 44086, "HTML": 10921, "Dockerfile": 2383} | package com.moebius.tracker.assembler
import com.moebius.backend.dto.trade.TradeDto
import com.moebius.tracker.domain.trades.TradeDocument
import com.moebius.tracker.dto.upbit.UpbitTradeDto
import org.springframework.stereotype.Component
import java.time.LocalDateTime
import java.util.*
@Component
class TradeAssemble... | 1 | null | 1 | 1 | 09a52e6bee119f6c51488aebb7403e86c7f4f013 | 1,182 | hashmain-data-pipeline | MIT License |
tracker/src/main/kotlin/com/moebius/tracker/assembler/TradeAssembler.kt | team-moebius | 271,893,640 | false | {"Java": 201502, "Groovy": 79521, "Kotlin": 44086, "HTML": 10921, "Dockerfile": 2383} | package com.moebius.tracker.assembler
import com.moebius.backend.dto.trade.TradeDto
import com.moebius.tracker.domain.trades.TradeDocument
import com.moebius.tracker.dto.upbit.UpbitTradeDto
import org.springframework.stereotype.Component
import java.time.LocalDateTime
import java.util.*
@Component
class TradeAssemble... | 1 | null | 1 | 1 | 09a52e6bee119f6c51488aebb7403e86c7f4f013 | 1,182 | hashmain-data-pipeline | MIT License |
DroidMedia/medialibs/audiolib/src/main/kotlin/com/me/harris/audiolib/oboe/OboeAudioPlayer.kt | Haldir65 | 55,217,175 | false | {"Markdown": 61, "Dockerfile": 3, "Text": 47, "Ignore List": 34, "YAML": 32, "JSON": 3, "Gradle Kotlin DSL": 17, "Java Properties": 6, "Shell": 89, "Batchfile": 20, "EditorConfig": 1, "Makefile": 41, "INI": 26, "Gradle": 19, "Proguard": 27, "Kotlin": 348, "XML": 264, "TOML": 1, "Java": 594, "GLSL": 110, "Motorola 68K A... | package com.me.harris.audiolib.oboe
import android.content.res.AssetManager
class OboeAudioPlayer {
companion object {
init {
System.loadLibrary("myaudio")
}
}
external fun startPlaying( fileName:String,assetmanager:AssetManager,sampleRate:Int);
external fun stopPlaying()... | 1 | null | 1 | 1 | f117ab6ef4a6c8874030cb5cd78aa72259158cf9 | 324 | Camera2Training | MIT License |
baselib/src/main/java/com/fenghuang/baselib/widget/dialog/MaterialConfirmDialog.kt | tracyly | 262,531,465 | false | {"Java": 1886821, "Kotlin": 1650417, "HTML": 41991} | package com.fenghuang.baselib.widget.dialog
import android.content.Context
import android.content.DialogInterface
import androidx.appcompat.app.AlertDialog
import com.fenghuang.baselib.R
import com.fenghuang.baselib.utils.ViewUtils
/**
* 确认对话框
*/
class MaterialConfirmDialog private constructor(context: Context) : M... | 1 | null | 1 | 1 | b4f57b41ba0018299d47be4d7705f0dfb1b8cf04 | 1,034 | cpb2.0 | Apache License 2.0 |
inf-java-to-kotlin-springboot/src/main/kotlin/com/group/libraryapp/util/ExceptionUtils.kt | devYSK | 461,887,647 | false | {"Java": 3507759, "JavaScript": 659549, "Kotlin": 563136, "HTML": 455168, "CSS": 446825, "Shell": 57444, "Groovy": 54414, "Batchfile": 47890, "Go": 26805, "Python": 9963, "Handlebars": 8554, "Makefile": 7837, "Vue": 5706, "TypeScript": 5172, "Dockerfile": 436, "Vim Snippet": 362, "Assembly": 278, "Procfile": 199} | package com.group.libraryapp.util
fun fail(): Nothing { // Nothing 타입은 이 함수는 항상 정상적으로 종료되지 않는다는 의미이다.
throw IllegalArgumentException()
} | 1 | null | 1 | 1 | 7a7c6b1bab3dc2c84527f8c528b06b9408872635 | 141 | study_repo | MIT License |
proto/src/main/java/com/hik/proto/event/ApiListener.kt | DeveloperLinus | 538,288,229 | false | {"Java": 343699, "Kotlin": 118261} | /*
* Copyright 2020-present hikvision
*
* 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 agree... | 1 | null | 1 | 1 | abc54ce42e65acb9f135006a5ac1f297b555f132 | 4,416 | HEOP_DEMO_V3.1.0_personSource | MIT License |
plugins/kotlin/j2k/shared/tests/test/org/jetbrains/kotlin/j2k/AbstractJavaToKotlinConverterTest.kt | qb345801622 | 285,457,947 | false | {"Text": 9390, "INI": 514, "YAML": 419, "Ant Build System": 11, "Batchfile": 33, "Dockerfile": 10, "Shell": 633, "Markdown": 744, "Ignore List": 142, "Git Revision List": 1, "Git Attributes": 11, "EditorConfig": 260, "XML": 7836, "SVG": 4421, "Kotlin": 58527, "Java": 83779, "HTML": 3782, "Java Properties": 220, "Gradle... | // Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package org.jetbrains.kotlin.j2k
import com.intellij.openapi.application.runWriteAction
import com.intellij.openapi.util.io.FileUtil
import com.intellij.openapi.vfs.VirtualFile
import com.intellij.... | 1 | null | 1 | 1 | 42b634b24fe0888a43485b6ba01d4cd559f7ccdf | 3,078 | intellij-community | Apache License 2.0 |
Demo/src/main/java/com/danny/demo/home/LoveActivity.kt | dannycx | 643,140,932 | false | {"Gradle": 12, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 10, "Batchfile": 1, "Markdown": 58, "INI": 8, "Proguard": 9, "Kotlin": 149, "XML": 117, "Java": 130, "JSON": 2} | package com.danny.demo.home
import android.os.Bundle
import com.danny.demo.R
import com.danny.xbase.base.BaseActivity
class LoveActivity: BaseActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_circle_image)
}
}... | 0 | Java | 0 | 0 | 31020de9d942f1d0013c1bf7a8115decd229e296 | 321 | XLib | Apache License 2.0 |
samples/server/petstore/kotlin-springboot-multipart-request-model/src/main/kotlin/org/openapitools/model/MultipartMixedStatus.kt | levno-dev | 753,912,321 | true | {"Markdown": 8755, "Batchfile": 147, "Ruby": 852, "Shell": 464, "Dockerfile": 40, "Java": 10054, "INI": 275, "JavaScript": 474, "HTML": 126, "Java Properties": 19, "Kotlin": 2150, "PHP": 971, "Blade": 2, "CMake": 28, "Scala": 332, "Apex": 29, "Rust": 516, "Haskell": 56, "HTML+ERB": 4, "CSS": 23, "TypeScript": 1285, "Py... | package org.openapitools.model
import java.util.Objects
import com.fasterxml.jackson.annotation.JsonValue
import com.fasterxml.jackson.annotation.JsonProperty
import javax.validation.constraints.DecimalMax
import javax.validation.constraints.DecimalMin
import javax.validation.constraints.Email
import javax.validation.... | 0 | Java | 0 | 0 | a058c982b53b9e43878357e0daeac1c45a7a4113 | 884 | openapi-generator | Apache License 2.0 |
app/src/main/java/com/digitaldream/linkskool/dialog/StaffELearningCreateCourseOutlineDialogFragment.kt | Toochidennis | 706,639,845 | false | {"Gradle": 3, "Java Properties": 5, "Shell": 1, "Text": 2, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "JSON": 1, "Java": 225, "XML": 1015, "Kotlin": 246, "JavaScript": 1, "HTML": 2, "INI": 2} | package com.digitaldream.linkskool.dialog
import android.content.Context
import android.os.Bundle
import android.text.Editable
import android.text.TextWatcher
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.Button
import android.widget.ImageButton
import ... | 1 | Java | 0 | 1 | 551e25524b77efaba17cb9bd89a07b8ccc01b13e | 6,567 | linkskool | MIT License |
sandwichclub/src/main/java/de/pacheco/sandwichclub/utils/JsonUtils.kt | pachecoberlin | 294,999,252 | false | {"Gradle": 9, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 9, "Batchfile": 1, "Markdown": 1, "Proguard": 7, "XML": 88, "Java": 21, "Kotlin": 28, "JSON": 1, "INI": 2} | package de.pacheco.sandwichclub.utils
import android.util.Log
import de.pacheco.sandwichclub.model.Sandwich
import org.json.JSONException
import org.json.JSONObject
import java.util.*
private const val TAG = "JsonUtils.kt"
fun parseSandwichJson(json: String): Sandwich {
val jsonObject: JSONObject
val name: JS... | 0 | Kotlin | 0 | 0 | 39a3596703b2e593bd441fb99b0c62151f80cdb1 | 1,588 | Capstone-Project | The Unlicense |
app/src/main/java/app/allever/android/lib/project/DialogActivity.kt | xinji6651 | 577,139,816 | true | {"Java Properties": 2, "Gradle": 20, "Shell": 1, "Markdown": 3, "Batchfile": 1, "Text": 1, "Ignore List": 19, "INI": 18, "Proguard": 18, "XML": 128, "Kotlin": 301, "Java": 95, "JSON": 1} | package app.allever.android.lib.project
import app.allever.android.lib.common.BaseActivity
import app.allever.android.lib.mvvm.base.BaseViewModel
import app.allever.android.lib.mvvm.base.MvvmConfig
import app.allever.android.lib.project.databinding.ActivityDialogBinding
import app.allever.android.lib.widget.ripple.Rip... | 0 | null | 0 | 1 | 0f9b13685b2e7c64e3389fec5799a64f7ca17c98 | 1,464 | AndroidBaseLibs | Apache License 2.0 |
idea/testData/parameterInfo/functionCall/NamedParameter3.kt | sandramulyana | 293,153,579 | true | {"Markdown": 67, "Gradle": 708, "Gradle Kotlin DSL": 527, "Java Properties": 14, "Shell": 10, "Ignore List": 12, "Batchfile": 9, "Git Attributes": 7, "Protocol Buffer": 12, "Java": 6528, "Kotlin": 59930, "Proguard": 12, "XML": 1598, "Text": 11767, "INI": 192, "JavaScript": 269, "JAR Manifest": 2, "Roff": 212, "Roff Man... | open class A(x: Int) {
fun m(x: Int, y: Boolean) = 1
fun d(x: Int) {
m(y = false, <caret>)
}
}
/*
Text: ([y: Boolean], [x: Int]), Disabled: false, Strikeout: false, Green: true
*/ | 1 | null | 0 | 1 | 81339d54eb699660a23e3b209b97b4ae51d22695 | 200 | kotlin | Apache License 2.0 |
src/main/java/thedarkcolour/futuremc/config/FConfig.kt | Pidrosax | 257,567,349 | false | {"Text": 2, "INI": 3, "Gradle": 1, "Shell": 1, "Ignore List": 1, "Batchfile": 1, "Markdown": 1, "Java": 52, "Kotlin": 170, "JSON": 390} | package thedarkcolour.futuremc.config
import net.minecraftforge.common.config.Config
import net.minecraftforge.common.config.Config.*
object FConfig {
val updateAquatic: UpdateAquatic
get() = _Internal.updateAquatic
val villageAndPillage: VillageAndPillage
get() = _Internal.villageAndPillage
... | 1 | null | 1 | 1 | b343d2a134eab9575b1f9b45422862b2e964e74a | 21,583 | Future-MC | FSF All Permissive License |
Cours 5/replication-exercise/dummy/src/main/kotlin/com/example/dummy/DummyApplication.kt | SebStreb | 688,413,012 | false | {"Java": 99035, "Kotlin": 3457, "JavaScript": 800} | package com.example.dummy
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.runApplication
import org.springframework.cloud.client.discovery.EnableDiscoveryClient
@SpringBootApplication
@EnableDiscoveryClient
class DummyApplication
fun main(args: Array<String>) {
... | 1 | null | 1 | 1 | 9a81d273f804b370268ad3962c52b0f421fe6e13 | 363 | spring-examples | MIT License |
dsl/src/test/kotlin/Scratch.kt | prestongarno | 98,687,463 | false | {"Git Config": 1, "Gradle": 10, "XML": 1, "Shell": 2, "Ignore List": 1, "Batchfile": 1, "YAML": 2, "Text": 1, "Markdown": 8, "Kotlin": 130, "GraphQL": 3, "Java": 5, "ANTLR": 2, "Java Properties": 1, "INI": 1} | @file:Suppress("unused")
import com.google.common.truth.Truth.assertThat
import org.junit.Test
import org.kotlinq.api.Fragment
import org.kotlinq.api.Kind
import org.kotlinq.api.Printer
import org.kotlinq.api.PrintingConfiguration
import org.kotlinq.api.PropertyInfo
import org.kotlinq.dsl.fragment
import org.kotlinq.d... | 1 | null | 1 | 1 | a9e8dab66e2704aab1434f76cff7129d84494796 | 5,676 | kotlinq | Apache License 2.0 |
app/src/main/java/uk/co/richyhbm/coinbag/utils/WalletSummaryData.kt | RichyHBM | 63,550,566 | false | {"Gradle": 4, "Java Properties": 3, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 2, "Java": 4, "XML": 23, "Kotlin": 35} | package uk.co.richyhbm.coinbag.utils
import android.graphics.Color
import com.github.mikephil.charting.animation.Easing
import com.github.mikephil.charting.charts.PieChart
import com.github.mikephil.charting.data.PieData
import com.github.mikephil.charting.data.PieDataSet
import com.github.mikephil.charting.data.PieEn... | 1 | null | 1 | 1 | db2e6dfce7b6d0230dbe8631a254dfba3dc1dd6f | 2,958 | CoinBag | Apache License 2.0 |
clients/kotlin/generated/src/main/kotlin/org/openapitools/client/models/AdGroupSummaryStatus.kt | oapicf | 489,369,143 | false | {"Markdown": 13009, "YAML": 64, "Text": 6, "Ignore List": 43, "JSON": 688, "Makefile": 2, "JavaScript": 2261, "F#": 1305, "XML": 1120, "Shell": 44, "Batchfile": 10, "Scala": 4677, "INI": 23, "Dockerfile": 14, "Maven POM": 22, "Java": 13384, "Emacs Lisp": 1, "Haskell": 75, "Swift": 551, "Ruby": 1149, "Cabal Config": 2, ... | /**
*
* Please note:
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* Do not edit this file manually.
*
*/
@file:Suppress(
"ArrayInDataClass",
"EnumEntryName",
"RemoveRedundantQualifierName",
"UnusedImport"
)
package org.openapitools.client.models
import ... | 0 | Java | 0 | 2 | dcd328f1e62119774fd8ddbb6e4bad6d7878e898 | 2,105 | pinterest-sdk | MIT License |
plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/importDirective/annotationInPackage.kt | JetBrains | 2,489,216 | false | {"Text": 9788, "INI": 517, "YAML": 423, "Ant Build System": 11, "Batchfile": 34, "Dockerfile": 10, "Shell": 633, "Markdown": 750, "Ignore List": 141, "Git Revision List": 1, "Git Attributes": 11, "EditorConfig": 260, "XML": 7904, "SVG": 4537, "Kotlin": 60205, "Java": 84268, "HTML": 3803, "Java Properties": 217, "Gradle... | // "Create annotation 'A'" "true"
package p
import p.<caret>A
// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createClass.CreateClassFromUsageFix$LowPriorityCreateClassFromUsageFix
// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.k2.codeinsight.quickFixes.createFromUsage.CreateKotlinClassAct... | 1 | null | 1 | 1 | 0d546ea6a419c7cb168bc3633937a826d4a91b7c | 323 | intellij-community | Apache License 2.0 |
app/src/main/java/com/MovieDb/app/core/data/source/local/entity/FavoriteEntity.kt | jeremy02 | 505,357,747 | false | {"Java": 221019, "Kotlin": 149653} | package com.MovieDb.app.core.data.source.local.entity
import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.Ignore
import androidx.room.PrimaryKey
@Entity(tableName = "favoriteEntities")
class FavoriteEntity {
@PrimaryKey
@ColumnInfo(name = "uid")
val uid: String
@ColumnInf... | 1 | null | 1 | 1 | c09b98754b76b94fe69167a4a6569e4b204425e1 | 1,553 | MovieDb | MIT License |
clients/ktorm-schema/generated/src/main/kotlin/org/openapitools/database/models/CatalogsItemValidationWarnings.kt | oapicf | 489,369,143 | false | {"Markdown": 13009, "YAML": 64, "Text": 6, "Ignore List": 43, "JSON": 688, "Makefile": 2, "JavaScript": 2261, "F#": 1305, "XML": 1120, "Shell": 44, "Batchfile": 10, "Scala": 4677, "INI": 23, "Dockerfile": 14, "Maven POM": 22, "Java": 13384, "Emacs Lisp": 1, "Haskell": 75, "Swift": 551, "Ruby": 1149, "Cabal Config": 2, ... | /**
* Pinterest REST API
* Pinterest's REST API
*
* The version of the OpenAPI document: 5.12.0
* Contact: <EMAIL>
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package org.openapitools.database.models
... | 0 | Java | 0 | 2 | dcd328f1e62119774fd8ddbb6e4bad6d7878e898 | 16,725 | pinterest-sdk | MIT License |
compiler/testData/codegen/boxInline/simple/classObject.2.kt | anothem | 32,282,897 | true | {"Markdown": 33, "XML": 646, "Ant Build System": 32, "Ignore List": 8, "Maven POM": 48, "Kotlin": 16461, "Java": 4172, "CSS": 10, "Shell": 7, "Batchfile": 7, "Java Properties": 9, "Gradle": 68, "HTML": 114, "INI": 7, "Groovy": 19, "JavaScript": 66, "Text": 3438, "JFlex": 3, "JAR Manifest": 2, "Roff": 30, "Roff Manpage"... | package test
inline fun inline(s: () -> String): String {
return s()
}
class InlineAll {
inline fun inline(s: () -> String): String {
return s()
}
default object {
inline fun inline(s: () -> String): String {
return s()
}
}
} | 0 | Java | 0 | 0 | b44dbe6ca2e1519a4ccf548758714ce9726b77c7 | 285 | kotlin | Apache License 2.0 |
retrofit/src/main/java/retrofit2/OtherServiceMethod.kt | ltttttttttttt | 296,820,351 | true | {"Java Properties": 1, "Markdown": 25, "Text": 1, "Gradle": 24, "Shell": 2, "Batchfile": 1, "Ignore List": 1, "Java": 289, "YAML": 1, "HTML": 1, "JavaScript": 5, "CSS": 3, "INI": 19, "XML": 1, "Kotlin": 14, "Proguard": 1, "Protocol Buffer": 1} | package retrofit2
import okhttp3.HttpUrl
import java.lang.reflect.Method
/**
* creator: lt 2021/3/3 <EMAIL>
* effect : 给用户提供更方便的动态代理方法转对象的功能,可以自定义Call<T>的生成
* warning:
* [retrofit]Retrofit对象
* [method]需要生成的动态代理
*/
abstract class OtherServiceMethod<T>(
val retrofit: Retrofit,
val method: Method... | 0 | Java | 0 | 2 | 732f88d0ca33d061eb26ac8a058f197fbe5d467e | 1,561 | retrofit | Apache License 2.0 |
DynamicKotlin/canConstructMain.kt | samyam81 | 791,205,035 | false | {"Markdown": 3, "Java": 8, "Go": 5, "Kotlin": 3} | fun main() {
println(canConstruct("abcdef", arrayOf("abc", "def")))
println(canConstruct("eeeeeeeeeeeeeeeeeeeeeeeeeeee", arrayOf("aaaa", "eee")))
}
fun canConstruct(target: String, alpha: Array<String>, samyam: MutableMap<String, Boolean> = mutableMapOf()): Boolean? {
if (target == "") return true
if (... | 0 | Java | 0 | 2 | a30549ea25e0e489193d678857d34eae494afcf8 | 639 | DynamicProgramming | MIT License |
TeamCode/src/main/java/org/firstinspires/ftc/teamcode/Templates/OpModeTemplate.kt | 9880AfterShock | 751,564,175 | true | {"Batchfile": 1, "Shell": 1, "Markdown": 7, "Java Properties": 1, "Kotlin": 5, "Java": 53, "INI": 1} | package org.firstinspires.ftc.teamcode.Templates
import com.qualcomm.robotcore.eventloop.opmode.Disabled
import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode
import com.qualcomm.robotcore.eventloop.opmode.TeleOp
import com.qualcomm.robotcore.util.ElapsedTime
import org.firstinspires.ftc.teamcode.LiftTemplate
im... | 0 | Java | 0 | 0 | faa75615f17e1a3a54f2cf74d6cbded6e49aedde | 1,292 | 2024-OffSeason | BSD 3-Clause Clear License |
faculty-department-service/src/main/kotlin/kz/baltabayev/facultydepartmentservice/mapper/DepartmentMapper.kt | qaisar04 | 752,548,637 | false | {"YAML": 39, "Maven POM": 17, "Text": 1, "Ignore List": 11, "Markdown": 1, "Java": 158, "SQL": 3, "JSON": 1, "Dockerfile": 1, "XML": 5, "Fluent": 1, "Dotenv": 2, "Kotlin": 18} | package kz.baltabayev.facultydepartmentservice.mapper
import kz.baltabayev.facultydepartmentservice.model.dto.DepartmentDto
import kz.baltabayev.facultydepartmentservice.model.dto.DepartmentResponse
import kz.baltabayev.facultydepartmentservice.model.entity.Department
import kz.baltabayev.facultydepartmentservice.serv... | 0 | Java | 0 | 1 | 636b33189da3c92fb0277b10ff23ec49c7a6f314 | 1,264 | university-portal | MIT License |
landscape/authorization/src/main/java/com/harera/hayat/authorization/util/ErrorMessage.kt | thucnh96dev | 741,747,383 | true | {"Shell": 13, "Dockerfile": 9, "Java": 296, "Kotlin": 11, "Markdown": 1} | package com.harera.hayat.framework.util
object ErrorMessage {
const val INCORRECT_USERNAME_PASSWORD_MESSAGE = "incorrect username or password"
} | 0 | null | 0 | 0 | 2d17baa49fefe0dbbaeb52a337487c66614eda8c | 150 | hayat-backend | Apache License 2.0 |
app/src/main/java/com/foreveross/atwork/modules/device/fragment/LoginDeviceAuthFragment.kt | AoEiuV020 | 421,650,297 | false | {"Java": 8618305, "Kotlin": 1733509, "JavaScript": 719597, "CSS": 277438, "HTML": 111559} | package com.foreveross.atwork.modules.device.fragment
import android.os.Build
import android.os.Bundle
import android.text.Editable
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.ImageView
import android.widget.TextView
import com.foreveross.atwork.Atwor... | 1 | null | 1 | 1 | 1c4ca5bdaea6d5230d851fb008cf2578a23b2ce5 | 9,249 | w6s_lite_android | MIT License |
app/src/main/java/com/foreveross/atwork/modules/device/fragment/LoginDeviceAuthFragment.kt | AoEiuV020 | 421,650,297 | false | {"Java": 8618305, "Kotlin": 1733509, "JavaScript": 719597, "CSS": 277438, "HTML": 111559} | package com.foreveross.atwork.modules.device.fragment
import android.os.Build
import android.os.Bundle
import android.text.Editable
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.ImageView
import android.widget.TextView
import com.foreveross.atwork.Atwor... | 1 | null | 1 | 1 | 1c4ca5bdaea6d5230d851fb008cf2578a23b2ce5 | 9,249 | w6s_lite_android | MIT License |
app/src/main/java/ro/alexmamo/optimizerealtimedatabase/navigation/Screen.kt | jiggery-pokery | 515,452,939 | true | {"Java Properties": 2, "Gradle": 3, "Shell": 1, "Markdown": 1, "Batchfile": 1, "Ignore List": 3, "XML": 14, "Proguard": 1, "Kotlin": 22, "Java": 21} | package ro.alexmamo.optimizerealtimedatabase.navigation
import ro.alexmamo.optimizerealtimedatabase.core.Constants.PRODUCT_DETAILS_SCREEN
import ro.alexmamo.optimizerealtimedatabase.core.Constants.PRODUCT_NAMES_SCREEN
sealed class Screen(val route: String) {
object ProductNamesScreen: Screen(PRODUCT_NAMES_SCREEN)... | 0 | null | 0 | 0 | 4ec4b5fc92b4d08cd7d0c1b54907369e1930039b | 386 | Ex-OptimizeRealtimeDatabase | Apache License 2.0 |
app/src/main/java/com/passionpenguin/Alert.kt | Line3RenheStation | 337,653,441 | false | {"Java Properties": 2, "Gradle": 4, "Shell": 1, "Markdown": 2, "Batchfile": 1, "Text": 2, "Ignore List": 5, "XML": 268, "Proguard": 2, "Java": 133, "Makefile": 3, "C": 11, "SVG": 1, "HTML": 1, "Kotlin": 34, "JSON": 1} | /*
* ==================================================
* = PROJECT 地下铁的故事
* = MODULE 地下铁的故事.app
* = FILE NAME Alert.kt
* = LAST MODIFIED BY PASSIONPENGUIN [1/5/21, 9:25 PM]
* ==================================================
* Copyright 2021 PassionPenguin. All rights reserved.
*
* Licensed un... | 1 | null | 1 | 1 | afd615412f0d0679a65faa327629fa8a80c78954 | 2,783 | Ditiezu | Apache License 2.0 |
packages/SystemUI/tests/src/com/android/systemui/shade/LargeScreenShadeHeaderControllerTest.kt | liu-wanshun | 595,904,109 | true | null | package com.android.systemui.shade
import android.animation.ValueAnimator
import android.app.StatusBarManager
import android.content.Context
import android.testing.AndroidTestingRunner
import android.view.View
import android.view.ViewPropertyAnimator
import android.widget.TextView
import androidx.test.filters.SmallTes... | 0 | Java | 1 | 2 | e99201cd9b6a123b16c30cce427a2dc31bb2f501 | 12,196 | platform_frameworks_base | Apache License 2.0 |
core/src/main/java/com/star/wars/core/di/module/CoreErrorModule.kt | aldefy | 377,213,065 | false | {"Gradle": 11, "Java Properties": 2, "Shell": 1, "Ignore List": 8, "Batchfile": 1, "Markdown": 2, "INI": 6, "Proguard": 7, "XML": 91, "Kotlin": 158, "Java": 2, "JSON": 9} | package com.star.wars.core.di.module
import com.chuckerteam.chucker.api.ChuckerCollector
import com.star.wars.core.*
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent
@Module
@InstallIn(SingletonComponent::class)
class CoreErrorModule {
@Pro... | 1 | null | 1 | 1 | 581db6c4af7547f3adb960980bf9fa8d973b6962 | 1,495 | StarWarsApp | Apache License 2.0 |
src/main/java/de/fhg/ipa/ced/awx_jwt_authenticator/awx/model/CredentialTypeInputFieldItem.kt | FabOS-AI | 607,163,616 | false | {"Java": 40530, "Kotlin": 22036, "Shell": 2034, "Dockerfile": 912} | package de.fhg.ipa.ced.awx_jwt_authenticator.awx.model
data class CredentialTypeInputFieldItem(
val id: String,
val label: String,
val secret: Boolean,
val type: String
)
| 1 | null | 1 | 1 | 41d7dd5c63ced45fe62689e8c55a6bf69f60c5be | 188 | awx-jwt-authenticator | Apache License 2.0 |
editor/src/main/com/mbrlabs/mundus/editor/assets/FileHandleWithDependencies.kt | yuripourre-forks | 480,656,012 | false | {"INI": 1, "YAML": 2, "Gradle": 5, "Shell": 1, "XML": 2, "SVG": 1, "Markdown": 2, "Batchfile": 1, "Text": 1, "Ignore List": 1, "JSON": 2, "Java": 137, "Kotlin": 109, "GLSL": 8, "Wavefront Material": 2, "Wavefront Object": 1, "Java Properties": 1} | /*
* Copyright (c) 2021. See AUTHORS file.
*
* 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 o... | 1 | null | 1 | 1 | 1cba8da346212dad2f185410c64a69e8f79d7a99 | 1,834 | Mundus | Apache License 2.0 |
migratedb-core/src/test/java/migratedb/v1/core/testing/MigrateDbDomain.kt | daniel-huss | 456,543,899 | false | {"Maven POM": 13, "Markdown": 1, "Text": 7, "Ignore List": 3, "Git Attributes": 1, "AsciiDoc": 3, "Kotlin": 140, "XML": 7, "Java": 473, "Gradle": 5, "Shell": 2, "Batchfile": 2, "INI": 1, "SQL": 1, "Groovy": 3, "Java Properties": 5, "YAML": 2} | /*
* Copyright 2022-2023 The MigrateDB contributors
*
* 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 appl... | 0 | Java | 0 | 0 | 97ce486d14df4669846a53e5a046a9a87f77788d | 2,025 | migratedb | Apache License 2.0 |
clients/kotlin/generated/src/test/kotlin/org/openapitools/client/models/SSIOInsertionOrderCommonTest.kt | oapicf | 489,369,143 | false | {"Markdown": 13009, "YAML": 64, "Text": 6, "Ignore List": 43, "JSON": 688, "Makefile": 2, "JavaScript": 2261, "F#": 1305, "XML": 1120, "Shell": 44, "Batchfile": 10, "Scala": 4677, "INI": 23, "Dockerfile": 14, "Maven POM": 22, "Java": 13384, "Emacs Lisp": 1, "Haskell": 75, "Swift": 551, "Ruby": 1149, "Cabal Config": 2, ... | /**
*
* Please note:
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* Do not edit this file manually.
*
*/
@file:Suppress(
"ArrayInDataClass",
"EnumEntryName",
"RemoveRedundantQualifierName",
"UnusedImport"
)
package org.openapitools.client.models
import i... | 0 | Java | 0 | 2 | dcd328f1e62119774fd8ddbb6e4bad6d7878e898 | 3,643 | pinterest-sdk | MIT License |
android-sdk/src/main/java/com/checkout/android_sdk/logging/FramesLoggingEventDataProvider.kt | isabella232 | 531,123,745 | true | {"Java Properties": 6, "YAML": 2, "Gradle": 12, "Shell": 3, "XML": 96, "Markdown": 10, "Batchfile": 3, "Text": 2, "Ignore List": 8, "CODEOWNERS": 1, "Proguard": 5, "Java": 42, "Kotlin": 80, "HTML": 649, "CSS": 11, "SVG": 8, "JavaScript": 17, "JSON": 1, "INI": 1} | package com.checkout.android_sdk.logging
import com.checkout.android_sdk.Utils.CheckoutTheme
import com.checkout.android_sdk.Utils.Environment
import com.checkout.android_sdk.Utils.filterNotNullValues
import com.checkout.eventlogger.domain.model.MonitoringLevel
import java.util.Locale
object FramesLoggingEventDataProv... | 0 | null | 0 | 0 | a5ac618b820129435bd05b9a701485a7e7defc3e | 3,006 | frames-android | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.