path stringlengths 4 280 | owner stringlengths 2 39 | repo_id int64 21.1k 879M | is_fork bool 2
classes | languages_distribution stringlengths 13 1.95k ⌀ | content stringlengths 7 482k | issues int64 0 13.9k | main_language stringclasses 121
values | forks stringlengths 1 5 | stars int64 0 111k | commit_sha stringlengths 40 40 | size int64 7 482k | name stringlengths 1 100 | license stringclasses 93
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
src/main/kotlin/glm_/mat3x3/operators/mat3_operators.kt | kotlin-graphics | 71,653,021 | false | null | package glm_.mat3x3.operators
import glm_.mat2x3.Mat2x3
import glm_.mat3x3.Mat3
import glm_.mat3x3.Mat3.Companion.div
import glm_.mat3x3.Mat3.Companion.minus
import glm_.mat3x3.Mat3.Companion.plus
import glm_.mat3x3.Mat3.Companion.times
import glm_.mat4x3.Mat4x3
import glm_.vec3.Vec3
import glm_.vec3.Vec3.Companion.d... | 5 | Kotlin | 19 | 99 | dcbdd6237fbc5af02722b8ea1b404a93ce38a043 | 13,298 | glm | MIT License |
kt/godot-library/src/main/kotlin/godot/gen/godot/EditorResourcePreview.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... | 58 | null | 30 | 426 | fc2f3eacf779c21ce18d2161cca63e6dffdb1c91 | 4,449 | godot-kotlin-jvm | MIT License |
feature_workbrowse/src/main/java/com/pimenta/bestv/workbrowse/domain/LoadWorkByTypeUseCase.kt | marcuspimenta | 132,016,354 | false | null | /*
* 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 in writi... | 5 | Kotlin | 20 | 54 | 63b92f876dd7d4571d3824e723e67c1872d25cd3 | 2,342 | BESTV | Apache License 2.0 |
app/src/main/java/com/github/hosseinzafari/touristo/presentation/screens/signup/data/usecases/SingupUseCase.kt | HosseinZafari | 630,809,256 | false | null | package com.github.hosseinzafari.touristo.presentation.screens.signup.data.usecases
import com.github.hosseinzafari.touristo.base.system.data_layer.XUseCase
import com.github.hosseinzafari.touristo.presentation.screens.signup.data.SignupDomain
import javax.inject.Inject
/**
* @author Hossein Zafari
* @email ho3einz... | 1 | Kotlin | 0 | 1 | 08bd43d5e9c1c2cb9e9fcaed643bbfcf1a3ca4a0 | 607 | touristo | MIT License |
logging-android-appcenter4/src/main/java/com/fsryan/tools/logging/android/AppCenterDevMetricsLogger.kt | ryansgot | 212,757,848 | false | null | package com.fsryan.tools.logging.android
import android.content.Context
import com.fsryan.tools.logging.FSDevMetricsLogger
import com.microsoft.appcenter.analytics.Analytics
import com.microsoft.appcenter.analytics.EventProperties
class AppCenterDevMetricsLogger : ContextSpecificDevMetricsLogger {
override fun i... | 5 | Kotlin | 2 | 1 | ddf9d66edbda1b81d7fec2a41593ecc2ecc72dfc | 1,374 | logging | Apache License 2.0 |
ground/src/main/java/com/google/android/ground/model/submission/TextTaskData.kt | google | 127,777,820 | false | null | /*
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | 224 | null | 116 | 245 | 502a3bcafa4d65ba62868036cf5287a4219aaf5c | 1,096 | ground-android | Apache License 2.0 |
ldb/kodein-leveldb/src/commonTest/kotlin/org/kodein/db/leveldb/test/LDBTests_05_ForgetClose.kt | Kodein-Framework | 147,318,269 | false | null | package org.kodein.db.leveldb.test
import org.kodein.db.leveldb.LevelDB
import org.kodein.db.leveldb.LevelDBFactory
import org.kodein.db.leveldb.default
import org.kodein.db.leveldb.inDir
import org.kodein.db.leveldb.inmemory.inMemory
import org.kodein.db.test.utils.AssertLogger
import org.kodein.log.Logger
import org... | 13 | Kotlin | 22 | 273 | 044ad75e88d14c2702a3716c8150a7ba158d97b6 | 2,167 | Kodein-DB | MIT License |
core/database/src/main/kotlin/com/anbui/recipely/core/database/DatabaseModule.kt | AnBuiii | 667,858,307 | false | null | package com.anbui.recipely.core.database
import android.content.Context
import androidx.room.Room
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.android.qualifiers.ApplicationContext
import dagger.hilt.components.SingletonComponent
import javax.inject.Singleton
@Module
@In... | 3 | null | 2 | 6 | 156f05165742222aa8d6f6f4b26b0c653380c30a | 776 | Recipely | Apache License 2.0 |
app/src/main/java/com/example/dropy/network/services/rider/RiderService.kt | dropyProd | 705,360,878 | false | {"Kotlin": 3916897, "Java": 20617} | package com.example.dropy.network.services.rider
import android.content.Context
import com.example.dropy.network.models.acceptjob.AcceptJobResponse
import com.example.dropy.network.models.acceptjob.request.AcceptJobBody
import com.example.dropy.network.models.canceljob.CancelIncomingJobResponse
import com.example.drop... | 0 | Kotlin | 0 | 0 | 6d994c9c61207bac28c49717b6c250656fe4ae6b | 2,013 | DropyLateNights | Apache License 2.0 |
src/test/kotlin/br/ufrn/imd/obama/usuario/infrastructure/adapter/EmailGatewayAdapterTest.kt | obama-imd | 491,996,208 | false | {"Kotlin": 248163, "Dockerfile": 249} | package br.ufrn.imd.obama.usuario.infrastructure.adapter
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.assertDoesNotThrow
import org.junit.jupiter.api.extension.ExtendWith
import org.mockito.InjectMocks
import org.mockito.Mock
import org.mockito.Mockito
import org.mockito.Mockito.times
import org.mock... | 12 | Kotlin | 0 | 4 | d006eeddd3d4b7cc2dce3cc3fe0639c289a0feec | 1,926 | obama | Creative Commons Attribution 4.0 International |
src/main/kotlin/frc/team3324/robot/drivetrain/commands/teleop/Drive.kt | ArnavLondhe | 235,881,785 | true | {"Kotlin": 25675, "Python": 440} | package frc.team3324.robot.drivetrain.commands.teleop
import edu.wpi.first.wpilibj.GenericHID
import edu.wpi.first.wpilibj2.command.CommandBase
import edu.wpi.first.wpilibj.GenericHID.Hand
import frc.team3324.robot.drivetrain.DriveTrain
class Drive(val driveTrain: DriveTrain, val xSpeed: () -> Double, val ySpeed: () ... | 0 | null | 0 | 0 | 0800bb561da74df0439e685576c9aefc8327d999 | 562 | Metrobots2020Robot | MIT License |
android/app/src/main/kotlin/alexandr/pavlov/ru/arma_helper_nav_bar_ver/MainActivity.kt | Afgan0r | 220,758,009 | false | {"Dart": 12583, "Swift": 404, "Kotlin": 358, "Objective-C": 37} | package alexandr.pavlov.ru.arma_helper_nav_bar_ver
import android.os.Bundle
import io.flutter.app.FlutterActivity
import io.flutter.plugins.GeneratedPluginRegistrant
class MainActivity: FlutterActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
GeneratedPlug... | 0 | Dart | 0 | 0 | b16b9a33d0deb9e52cf5e024f7b74c26ab168d91 | 358 | ArmAHelper | Apache License 2.0 |
src/main/kotlin/com/github/vhromada/catalog/web/connector/EpisodeConnector.kt | vhromada | 393,639,974 | false | null | package com.github.vhromada.catalog.web.connector
import com.github.vhromada.catalog.web.connector.io.catalog.ChangeEpisodeRequest
import com.github.vhromada.catalog.web.connector.io.catalog.Episode
import com.github.vhromada.common.entity.Page
import com.github.vhromada.common.filter.PagingFilter
/**
* An interface... | 0 | Kotlin | 0 | 0 | dd56a009f58dd6f259fbe58f0fe09974becd3144 | 2,530 | Catalog-Web-Spring | MIT License |
app/src/test/java/com/github/rovkinmax/rxretainexample/SimpleActivityTest.kt | rovkinmax | 49,500,657 | false | null | package com.github.rovkinmax.rxretainexample
import android.app.Activity
import android.app.FragmentManager
import com.github.rovkinmax.rxretain.EmptySubscriber
import com.github.rovkinmax.rxretain.RetainFactory
import com.github.rovkinmax.rxretain.RetainWrapper
import com.github.rovkinmax.rxretainexample.test.*
impor... | 1 | null | 5 | 17 | 811be3403785ffcc343167cd11be08e27e7034d7 | 15,373 | RxRetainFragment | Apache License 2.0 |
kotlin-mui-icons/src/main/generated/mui/icons/material/DirectionsRailway.kt | JetBrains | 93,250,841 | false | null | // Automatically generated - do not modify!
@file:JsModule("@mui/icons-material/DirectionsRailway")
package mui.icons.material
@JsName("default")
external val DirectionsRailway: SvgIconComponent
| 12 | Kotlin | 5 | 983 | 372c0e4bdf95ba2341eda473d2e9260a5dd47d3b | 198 | kotlin-wrappers | Apache License 2.0 |
src/test/java/org/jetbrains/plugins/ideavim/action/motion/text/MotionParagraphPreviousActionTest.kt | JetBrains | 1,459,486 | false | null | /*
* Copyright 2003-2023 The IdeaVim authors
*
* Use of this source code is governed by an MIT-style
* license that can be found in the LICENSE.txt file or at
* https://opensource.org/licenses/MIT.
*/
package org.jetbrains.plugins.ideavim.action.motion.text
import com.maddyhome.idea.vim.command.VimStateMachine
... | 6 | null | 749 | 9,241 | 66b01b0b0d48ffec7b0148465b85e43dfbc908d3 | 905 | ideavim | MIT License |
platform/core/ui/src/main/java/com/orogersilva/myweatherforecast/ui/screen/LoadingScreen.kt | orogersilva | 511,682,755 | false | null | package com.orogersilva.scaffoldandroid.ui.screen
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.size
import androidx.com... | 0 | null | 0 | 3 | ef3abcf66ce4ca699793c700e62cae4ecc4e47e6 | 1,513 | myweatherforecast | Apache License 2.0 |
app/src/main/java/com/serjlaren/sloom/scenes/main/MainFragment.kt | SerjLaren | 478,395,209 | false | null | package com.serjlaren.sloom.scenes.main
import androidx.fragment.app.viewModels
import by.kirich1409.viewbindingdelegate.viewBinding
import com.serjlaren.sloom.R
import com.serjlaren.sloom.common.mvvm.BaseFragment
import com.serjlaren.sloom.databinding.FragmentMainBinding
import dagger.hilt.android.AndroidEntryPoint
... | 0 | Kotlin | 0 | 0 | 8d0c6421c2cd89605f85ff8a271092124172b5eb | 1,277 | sloom_android | Apache License 2.0 |
logging/src/commonMain/kotlin/com/fsryan/tools/logging/FSLoggers.kt | ryansgot | 212,757,848 | false | null | package com.fsryan.tools.logging
import kotlin.jvm.JvmStatic
/**
* Base interface for loggers. [FSDevMetrics] and [FSEventLog] look up their
* associated loggers by their Ids. These lookups are set when [FSDevMetrics]
* and [FSEventLog] classes are loaded (respectively).
* @see FSDevMetricsLogger
* @see FSEventL... | 6 | Kotlin | 2 | 1 | dc0a32f3070e40068fc891cdd68607cf2be7f4bc | 7,971 | logging | Apache License 2.0 |
src/main/kotlin/me/steven/indrev/blockentities/miningrig/DrillBlockEntityRenderer.kt | GabrielOlvH | 265,247,813 | false | {"Gradle": 2, "Java Properties": 1, "Shell": 1, "Ignore List": 1, "Batchfile": 1, "Text": 1, "Markdown": 3, "INI": 1, "Java": 24, "JSON": 1480, "Kotlin": 365} | package me.steven.indrev.blockentities.drill
import me.steven.indrev.blocks.machine.DrillBlock
import me.steven.indrev.registry.IRItemRegistry
import me.steven.indrev.utils.identifier
import net.minecraft.client.MinecraftClient
import net.minecraft.client.render.OverlayTexture
import net.minecraft.client.render.Render... | 54 | Kotlin | 56 | 192 | 012a1b83f39ab50a10d03ef3c1a8e2651e517053 | 2,324 | Industrial-Revolution | Apache License 2.0 |
feature/home/src/main/kotlin/com/skydoves/pokedex/compose/feature/home/PokedexHome.kt | skydoves | 786,132,659 | false | {"Kotlin": 168350} | /*
* Designed and developed by 2024 skydoves (<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... | 3 | Kotlin | 93 | 705 | ee2148f0c52a3611fcbdc86849c1d39fdb0c099e | 8,757 | pokedex-compose | Apache License 2.0 |
app/src/main/java/com/cesarwillymc/mbcgroup/domain/usecase/auth/entities/AuthParams.kt | cesarwillymc | 719,282,528 | false | {"Kotlin": 161270} | package com.cesarwillymc.mbcgroup.domain.usecase.auth.entities
/**
* Created by <NAME> on 10/9/23.
* <EMAIL>
*
* IOWA, United States.
*/
data class AuthParams(
val email: String,
val password: String
)
| 0 | Kotlin | 0 | 1 | 603cc1d2c24c22dd833121b8430e8dd4841e91a1 | 216 | MBCGroup | Apache License 2.0 |
feature-staking-api/src/main/java/jp/co/soramitsu/staking/api/domain/model/StakingLedger.kt | soramitsu | 278,060,397 | false | null | package jp.co.soramitsu.feature_staking_api.domain.model
import jp.co.soramitsu.common.utils.sumByBigInteger
import jp.co.soramitsu.fearless_utils.runtime.AccountId
import java.math.BigInteger
class StakingLedger(
val stashId: AccountId,
val total: BigInteger,
val active: BigInteger,
val unlocking: Li... | 9 | null | 30 | 89 | 812c6ed5465d19a0616865cbba3e946d046720a1 | 806 | fearless-Android | Apache License 2.0 |
bpdm-common-test/src/main/kotlin/org/eclipse/tractusx/bpdm/test/config/SelfClientConfigProperties.kt | eclipse-tractusx | 526,621,398 | false | {"Kotlin": 1862616, "Smarty": 16503, "Dockerfile": 3902, "Java": 2019, "Shell": 1221} | /*******************************************************************************
* Copyright (c) 2021,2024 Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* This program and the accompanying materials are ma... | 13 | Kotlin | 15 | 6 | 2a4622c2405b6af23c560160f95233a080df75b8 | 1,835 | bpdm | Apache License 2.0 |
InkKotlinCommons/src/main/java/com/inlacou/inkkotlincommons/rx/observables/CombineSequentialObs.kt | inlacou | 400,138,100 | false | null | package com.inlacou.inkkotlincommons.rx.observables
import com.inlacou.inkkotlincommons.rx.observables.CombineSequentialObs.ErrorBehaviour.*
import io.reactivex.rxjava3.core.*
import io.reactivex.rxjava3.disposables.Disposable
/**
* Tries to execute the given Observable list in the order given. Has three behaviours ... | 0 | Kotlin | 0 | 0 | cb3457b74f5bd966840e880cd37c61dc981c3c47 | 2,498 | InkCommons | MIT License |
app/src/main/java/com/visal/harrypotter/data/api/AllCharactersApiService.kt | VisalSuresh90 | 714,848,696 | false | {"Kotlin": 136505} | package com.visal.harrypotter.data.api
import com.visal.harrypotter.data.model.HpCharacter
import retrofit2.Response
import retrofit2.http.GET
/**
* Retrofit API service interface for fetching information about all characters.
*/
interface AllCharactersApiService {
/**
* Fetches a list of all characters fr... | 0 | Kotlin | 0 | 0 | ec3236bf29f452339fc7b5a00b78f43b169cdb83 | 522 | harry-potter--android-jetpack-compose-hilt-mvvm-coroutine-modular | MIT License |
cli/src/org/partiql/cli/main.kt | partiql | 186,474,394 | false | null | /*
* Copyright 2019 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 "... | 188 | null | 53 | 501 | dfe9129822135185757678bcf6d1dc094cd78f38 | 6,723 | partiql-lang-kotlin | Apache License 2.0 |
src/main/kotlin/com/yapp/web2/util/ExceptionMessage.kt | YAPP-19th | 399,059,127 | false | null | package com.yapp.web2.util
class ExceptionMessage {
companion object {
const val FOLDER_NOT_FOUND = "존재하지 않는 폴더입니다."
const val BOOKMARK_NOT_FOUND = "존재하지 않는 북마크입니다."
const val ACCOUNT_NOT_EXIST = "존재하지 않는 계정입니다."
const val REMIND_CYCLE_VALID_EXCEPTION = "정확한 주기 일자를 입력해주세요."
... | 10 | Kotlin | 1 | 7 | ecc6a3da2a66dceb1a25a4cfe9ed699f0325180a | 806 | Web-Team-2-Backend | Apache License 2.0 |
processor-shared-code/src/main/kotlin/br/com/zup/beagle/compiler/shared/BeagleClass.kt | ZupIT | 391,144,851 | false | null | /*
* Copyright 2020 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA
*
* 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... | 1 | null | 2 | 9 | 812a330777edd79a123495e9f678dc8f25a019f7 | 838 | beagle-android | Apache License 2.0 |
app/src/androidTest/java/com/steleot/jetpackcompose/playground/compose/viewmodel/ViewModelFlowScreenTest.kt | Vivecstel | 338,792,534 | false | null | package com.steleot.jetpackcompose.playground.compose.viewmodel
import androidx.compose.ui.test.junit4.createAndroidComposeRule
import com.steleot.jetpackcompose.playground.MainActivity
import com.steleot.jetpackcompose.playground.compose.theme.TestTheme
import org.junit.Rule
import org.junit.Test
class ViewModelFlow... | 0 | null | 16 | 161 | d853dddc7b00735dc9067f3325a2662977a01348 | 610 | Jetpack-Compose-Playground | Apache License 2.0 |
privacysandbox/tools/tools-apicompiler/src/test/test-data/fullfeaturedsdk/output/com/mysdk/MyCallbackClientProxy.kt | androidx | 256,589,781 | false | null | package com.mysdk
import android.content.Context
import androidx.privacysandbox.ui.provider.toCoreLibInfo
public class MyCallbackClientProxy(
public val remote: IMyCallback,
public val context: Context,
) : MyCallback {
public override fun onComplete(response: Response): Unit {
remote.onComplete(R... | 16 | null | 787 | 4,563 | 2c8f7ee9eb6bd033a33c2cf8e22b21dd953accac | 935 | androidx | Apache License 2.0 |
app/src/main/java/vn/loitp/app/activity/database/realm/InputCallback.kt | tplloi | 126,578,283 | false | null | package vn.loitp.app.activity.database.realm
interface InputCallback {
fun onText(text: String?)
}
| 0 | Kotlin | 0 | 6 | 55fb45b20a95b924d74f364ecad5101235eba7b8 | 104 | basemaster | Apache License 2.0 |
app/src/main/java/com/batdemir/template/ui/github/detail/GithubDetailViewModel.kt | batdemir | 332,173,381 | false | null | package com.batdemir.template.ui.github.detail
import com.batdemir.template.core.vm.BaseViewModel
import dagger.hilt.android.lifecycle.HiltViewModel
import javax.inject.Inject
@HiltViewModel
class GithubDetailViewModel @Inject constructor() : BaseViewModel() | 0 | Kotlin | 1 | 4 | ec88f6cdcab230886923f67c4f921aa03b591019 | 260 | kotlin.template.project | Apache License 2.0 |
app/src/main/java/com/example/android/architecture/blueprints/todoapp/di/DataModules.kt | Shamans117 | 92,913,354 | true | {"Kotlin": 221078} | /*
* 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... | 0 | Kotlin | 0 | 0 | d59e591d00fd37c7ec0ac729120fb3378b3479b2 | 2,426 | android-architecture | Apache License 2.0 |
analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/types/AbstractTypeByDeclarationReturnTypeTest.kt | JetBrains | 3,432,266 | false | null | /*
* Copyright 2010-2022 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.analysis.api.impl.base.test.cases.types
import org.jetbrains.kotlin.analysis.api... | 181 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 1,129 | kotlin | Apache License 2.0 |
client/app/src/main/java/edu/festival/deichkind/models/AuthResponse.kt | festivaledu | 182,123,389 | false | null | package edu.festival.deichkind.models
class AuthResponse {
var auth: Boolean = false
var token: String = ""
var refreshToken: String = ""
var role: Int = 0
} | 1 | Kotlin | 0 | 0 | ccfb0302777285b4a2d58df1c3565108ba5cb3e3 | 176 | Deichkind | MIT License |
client/app/src/main/java/edu/festival/deichkind/models/AuthResponse.kt | festivaledu | 182,123,389 | false | null | package edu.festival.deichkind.models
class AuthResponse {
var auth: Boolean = false
var token: String = ""
var refreshToken: String = ""
var role: Int = 0
} | 1 | Kotlin | 0 | 0 | ccfb0302777285b4a2d58df1c3565108ba5cb3e3 | 176 | Deichkind | MIT License |
core-navigation/src/main/java/com/riyusoft/todo/core/navigation/TopLevelDestination.kt | jeonhoeun | 520,344,732 | false | {"Kotlin": 70352, "Shell": 578, "HTML": 509} | package com.riyusoft.todo.core.navigation
data class TopLevelDestination(
override val route: String,
override val destination: String,
) : TodoNavigationDestination
| 1 | Kotlin | 0 | 0 | 175e250d1e53da29ce8b9bb5e4f24ae513d9404b | 175 | aos-todo-cleanarch-compose-tdd | MIT License |
shared/src/commonTest/kotlin/me/saket/press/shared/db/FolderQueriesTest.kt | maxkeppeler | 323,609,665 | true | {"Kotlin": 532437, "Swift": 36689, "Ruby": 5783} | package me.saket.press.shared.db
import assertk.assertThat
import me.saket.press.shared.containsOnly
import me.saket.press.shared.fakedata.fakeFolder
import me.saket.press.shared.fakedata.fakeNote
import me.saket.press.shared.syncer.git.insert
import me.saket.press.shared.syncer.git.testInsert
import kotlin.test.Test
... | 1 | null | 1 | 0 | a9ab0d5c3bdde1988d14e8b51beb950cd12bf1f0 | 1,261 | press | Apache License 2.0 |
app/src/main/java/com/utn/MascotApp/Pet.kt | UTN-FRBA-Mobile | 365,539,532 | false | null | package com.utn.MascotApp
import com.google.android.gms.maps.model.LatLng
data class Pet(
val name: String,
val latLng: LatLng,
val address: String,
val rating: Float
) | 0 | Kotlin | 2 | 0 | 5ea8c9046243924b24801d46a61bfd72562765ce | 188 | MascotApp | MIT License |
client/android/sample/src/main/java/com/yandex/divkit/sample/MainPageActivity.kt | divkit | 523,491,444 | false | {"Kotlin": 7327303, "Swift": 5164616, "Svelte": 1148832, "TypeScript": 912803, "Dart": 630920, "Python": 536031, "Java": 507940, "JavaScript": 152546, "CSS": 37870, "HTML": 23434, "C++": 20911, "CMake": 18677, "Shell": 8895, "PEG.js": 7210, "Ruby": 3723, "C": 1425, "Objective-C": 38} | package com.yandex.divkit.sample
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.yandex.div.core.Div2Context
import com.yandex.div.core.DivConfiguration
import com.yandex.div.picasso.PicassoDivImageLoader
import com.yandex.div.rive.OkHttpDivRiveNetworkDelegate
import com.yandex.div.... | 5 | Kotlin | 128 | 2,240 | dd102394ed7b240ace9eaef9228567f98e54d9cf | 2,064 | divkit | Apache License 2.0 |
app/src/main/java/com/example/rabbitapp/ui/mainTab/mainList/MainListFragment.kt | AgnieszkaKlobus12 | 604,315,829 | false | {"Kotlin": 75601} | package com.example.rabbitapp.ui.mainTab.mainList
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import androidx.fragment.app.activityViewModels
import androidx.navigation.findNavController
import com.example.rabb... | 0 | Kotlin | 0 | 1 | ce637a9a0112573293460ae1f74ca6beab779a87 | 3,365 | RabbitApp | MIT License |
matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/database/model/PendingThreePidEntity.kt | matrix-org | 287,466,066 | false | null | /*
* Copyright 2020 The Matrix.org Foundation C.I.C.
*
* 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 ... | 75 | null | 6 | 97 | 55cc7362de34a840c67b4bbb3a14267bc8fd3b9c | 1,083 | matrix-android-sdk2 | Apache License 2.0 |
src/com/github/felipehjcosta/adapters/infrastructure/MD5.kt | felipehjcosta | 163,593,322 | false | null | package com.github.felipehjcosta.adapters.infrastructure
fun String.toMD5(): String {
val messageDigest = java.security.MessageDigest.getInstance("MD5")
val digested = messageDigest.digest(toByteArray())
return digested.joinToString("") { String.format("%02x", it) }
}
| 0 | Kotlin | 0 | 0 | 3b4aaf4dd8639090e60d00d5261a41ec37c2f762 | 282 | marvelql | MIT License |
app/src/main/java/com/example/myapplication/MainActivity.kt | yo-lolo | 660,058,834 | false | null | package com.example.myapplication
import android.Manifest
import android.content.Context
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.os.Handler
import android.util.Log
import android.widget.Toast
import com.blankj.utilcode.util.ActivityUtils
import com.blankj.utilcode.util.P... | 0 | Kotlin | 0 | 0 | 1dc11d6c31a8f2eae1a417042d350124fc3dc2da | 2,989 | yolo | Apache License 2.0 |
app/src/main/java/com/example/myapplication/MainActivity.kt | yo-lolo | 660,058,834 | false | null | package com.example.myapplication
import android.Manifest
import android.content.Context
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.os.Handler
import android.util.Log
import android.widget.Toast
import com.blankj.utilcode.util.ActivityUtils
import com.blankj.utilcode.util.P... | 0 | Kotlin | 0 | 0 | 1dc11d6c31a8f2eae1a417042d350124fc3dc2da | 2,989 | yolo | Apache License 2.0 |
libnavigation-util/src/test/java/com/mapbox/navigation/utils/internal/MapboxTimerTest.kt | k4anubhav | 439,334,238 | true | {"Kotlin": 4189704, "Java": 26254, "Python": 11580, "Makefile": 6163, "Shell": 5704} | package com.mapbox.navigation.utils.timer
import com.mapbox.navigation.testing.MainCoroutineRule
import io.mockk.Called
import io.mockk.coVerify
import io.mockk.mockk
import java.util.concurrent.TimeUnit
import kotlinx.coroutines.ExperimentalCoroutinesApi
import kotlinx.coroutines.cancelAndJoin
import org.junit.Rule
i... | 0 | null | 1 | 1 | 3751b1323b3e585976a5476176810049061ca1ec | 4,210 | mapbox-navigation-android | Apache License 2.0 |
libImgurApi/src/main/java/com/abhinav/libimgurapi/ImgurClient.kt | AyushGupta2526 | 806,935,183 | false | {"Kotlin": 29645, "Java": 164} | package com.abhinav.libimgurapi
import com.abhinav.libimgurapi.apis.ImgurAPIv3
import com.abhinav.libimgurapi.converters.EnumConverterFactory
import okhttp3.OkHttpClient
import retrofit2.Retrofit
import retrofit2.converter.moshi.MoshiConverterFactory
object ImgurClient {
const val API_KEY = "Add your key here"
... | 0 | Kotlin | 0 | 0 | 88c9c93f079533e634fb120051773bd26629b836 | 1,146 | Imguram-Insta-Clone | MIT License |
src/main/kotlin/dev/shtanko/algorithms/leetcode/IntersectionThreeSortedArrays.kt | ashtanko | 203,993,092 | false | null | /*
* Copyright 2020 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... | 4 | null | 0 | 19 | bf2c4ab130c4a2740533c1720b7ef6c5406d6e54 | 3,023 | kotlab | Apache License 2.0 |
src/main/kotlin/net/liyze/basin/common/async/TaskMeta.kt | Liyze09 | 637,435,463 | false | {"Kotlin": 96722, "JavaScript": 2722, "HTML": 1238} | /*
* Copyright (c) 2023 Liyze09
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | 0 | Kotlin | 0 | 1 | 17aa10a15743c171df152321d8177a6b9e59c576 | 942 | Basin | Apache License 2.0 |
info/src/commonMain/kotlin/com/maxkeppeler/sheets/info/InfoView.kt | maxkeppeler | 523,345,776 | false | null | /*
* Copyright (C) 2022-2023. <NAME> (https://www.maxkeppeler.com)
*
* 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... | 8 | null | 6 | 816 | 2af41f317228e982e261522717b6ef5838cd8b58 | 2,153 | sheets-compose-dialogs | Apache License 2.0 |
app/src/main/java/com/uogames/remembercards/ui/module/watch/WatchModuleViewModel.kt | Gizcerbes | 476,234,521 | false | {"Kotlin": 676334} | package com.uogames.remembercards.ui.module.watch
import android.content.Context
import com.uogames.dto.global.GlobalModuleView
import com.uogames.dto.local.LocalModuleView
import com.uogames.remembercards.utils.ifNull
import com.uogames.remembercards.viewmodel.MViewModel
import kotlinx.coroutines.CoroutineScope
impor... | 0 | Kotlin | 0 | 0 | ea694bd872c4ec2e76e761bb9735127a326fce8e | 3,071 | Remember | Apache License 2.0 |
acme-lib/acme-lib-validation/src/main/kotlin/com/acme/validation/OneOfStringsValidator.kt | mattupstate | 496,835,485 | false | {"Kotlin": 268073, "HCL": 28862, "HTML": 15841, "Smarty": 9320, "Shell": 2578, "Dockerfile": 460, "PLpgSQL": 179} | package com.acme.validation
import jakarta.validation.ConstraintValidator
import jakarta.validation.ConstraintValidatorContext
class OneOfStringsValidator : ConstraintValidator<OneOfStrings, String> {
private var annotation: OneOfStrings? = null
override fun initialize(constraintAnnotation: OneOfStrings?) {
... | 0 | Kotlin | 0 | 6 | 779d77068adf825b8cacc5902a2a70cf000b6a39 | 520 | acme | MIT License |
src/integrationTest/kotlin/com/liftric/octopusdeploy/task/UploadPackageTaskWithWaitIntegrationTest.kt | Liftric | 254,355,172 | false | {"Kotlin": 136774} | package com.liftric.octopusdeploy.task
import com.liftric.octopusdeploy.apiKey
import com.liftric.octopusdeploy.getPackageResponse
import com.liftric.octopusdeploy.serverUrl
import junit.framework.TestCase.assertEquals
import junit.framework.TestCase.assertNotNull
import org.gradle.testkit.runner.GradleRunner
import o... | 1 | Kotlin | 0 | 3 | 7f15caefac9d226591d8344da21504ec80ed8d85 | 2,761 | octopus-deploy-plugin | MIT License |
src/main/kotlin/frc/team449/robot2024/constants/subsystem/ClimberConstants.kt | blair-robot-project | 736,410,238 | false | {"Kotlin": 313771} | package frc.team449.robot2024.constants.subsystem
object ClimberConstants {
const val RIGHT_ID = 10
const val LEFT_ID = 13
const val RIGHT_INVERTED = true
const val LEFT_INVERTED = true
const val CURRENT_LIM = 40
const val RETRACT_VOLTAGE = -12.0
const val EXTEND_VOLTAGE = 8.75
const val DEFAULT_PI... | 0 | Kotlin | 1 | 6 | 3433d9c7da844b98aad062bd3e9215156658e2c5 | 462 | robot2024 | MIT License |
core/src/main/java/com/github/grishberg/profiler/analyzer/converter/NameConverter.kt | Grigory-Rylov | 256,819,360 | false | null | package com.github.grishberg.profiler.analyzer.converter
/**
* Converts class names and class methods names.
* For example converts obfuscated names to original names.
*/
interface NameConverter {
fun convertClassName(sourceClassName: String): String
fun convertMethodName(className: String, sourceMethodName... | 19 | Kotlin | 3 | 97 | e0ba609640cea72c301ff1537dc9cdd9b67bfe4c | 354 | android-methods-profiler | Apache License 2.0 |
src/main/kotlin/fixie/generator/angle/AngleClass.kt | knokko | 687,847,559 | false | {"Kotlin": 245681} | package fixie.generator.angle
import fixie.generator.number.IntType
import fixie.generator.quantity.QuantityClass
import fixie.generator.spin.SpinClass
class AngleClass(
className: String,
val internalType: IntType,
val displayUnit: AngleUnit,
createNumberExtensions: Boolean,
v... | 0 | Kotlin | 0 | 0 | b99e5e35e3c474e3cc97c66c28aee5965572c686 | 557 | fixie | MIT License |
room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspExecutableElement.kt | RikkaW | 389,105,112 | 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... | 6 | null | 937 | 7 | 6d53f95e5d979366cf7935ad7f4f14f76a951ea5 | 3,658 | androidx | Apache License 2.0 |
plot-demo/src/jvmBatikMain/kotlin/plotDemo/plotConfig/Issue_slow_tooltipBatik.kt | JetBrains | 176,771,727 | false | null | /*
* Copyright (c) 2023. JetBrains s.r.o.
* Use of this source code is governed by the MIT license that can be found in the LICENSE file.
*/
package jetbrains.datalore.plotDemo.plotConfig
import jetbrains.datalore.plotDemo.model.plotConfig.Issue_slow_tooltip
import jetbrains.datalore.vis.demoUtils.PlotSpecsDemoWin... | 97 | null | 47 | 889 | c5c66ceddc839bec79b041c06677a6ad5f54e416 | 496 | lets-plot | MIT License |
plot-demo/src/jvmBatikMain/kotlin/plotDemo/plotConfig/Issue_slow_tooltipBatik.kt | JetBrains | 176,771,727 | false | null | /*
* Copyright (c) 2023. JetBrains s.r.o.
* Use of this source code is governed by the MIT license that can be found in the LICENSE file.
*/
package jetbrains.datalore.plotDemo.plotConfig
import jetbrains.datalore.plotDemo.model.plotConfig.Issue_slow_tooltip
import jetbrains.datalore.vis.demoUtils.PlotSpecsDemoWin... | 97 | null | 47 | 889 | c5c66ceddc839bec79b041c06677a6ad5f54e416 | 496 | lets-plot | MIT License |
RippleView/src/main/kotlin/com/ripple/view/RippleView.kt | Leo199206 | 350,188,888 | false | null | package com.cl.common_base.widget.ripple
import android.content.Context
import android.graphics.Canvas
import android.graphics.Color
import android.graphics.Paint
import android.util.AttributeSet
import android.view.View
import androidx.annotation.ColorInt
import androidx.lifecycle.LifecycleOwner
import com.cl.common_... | 0 | null | 0 | 6 | 356c093dafe7e969d9eb5beb5600a1c501cc4af1 | 7,605 | RippleView | Apache License 2.0 |
aws-lambdas/userinfo-api-handlers/src/test/kotlin/com/bkahlert/hello/api/user/GetHandlerTest.kt | bkahlert | 439,967,726 | false | {"Kotlin": 1721426, "CSS": 20318, "JavaScript": 11584, "Shell": 6384, "HTML": 2857, "SCSS": 588} | package com.bkahlert.hello.api.user
import com.amazonaws.services.lambda.runtime.events.APIGatewayProxyRequestEvent
import com.amazonaws.services.lambda.runtime.tests.annotations.Event
import com.auth0.jwk.Jwk
import com.auth0.jwk.JwkProvider
import com.auth0.jwk.UrlJwkProvider
import com.bkahlert.aws.lambda.TestConte... | 0 | Kotlin | 0 | 0 | 92e60b7eb9a74cfa957e05e3bf9e59f3ce3a582d | 8,486 | hello | MIT License |
app/src/main/java/com/neal786y/mvparchitecture/main/pojo/zomato/search_restaurants/response/LocationDto.kt | neal786y | 249,264,913 | false | null | package com.neal786y.mvparchitecture.main.pojo.zomato.search_restaurants.response
import com.google.gson.annotations.SerializedName
import java.io.Serializable
data class LocationDto(
@field:SerializedName("address")
val address: String? = null,
@field:SerializedName("locality")
val locality: String? = null,
... | 0 | Kotlin | 0 | 0 | 69c201b439a2c7b12c1020fa213fa6a22988b886 | 790 | Lunching | Apache License 2.0 |
ComboBoxSelectionBackground/src/main/kotlin/example/App.kt | aterai | 158,348,575 | false | null | package example
import java.awt.* // ktlint-disable no-wildcard-imports
import javax.swing.* // ktlint-disable no-wildcard-imports
import javax.swing.plaf.basic.ComboPopup
fun makeUI(): Component {
UIManager.put("ComboBox.selectionBackground", Color.PINK)
UIManager.put("ComboBox.selectionForeground", Color.CYAN)
... | 0 | null | 5 | 9 | 47a0c684f64c3db2c8b631b2c20c6c7f9205bcab | 2,369 | kotlin-swing-tips | MIT License |
sample/src/main/java/com/drake/net/sample/ui/fragment/PushRefreshFragment.kt | CPLASF1925 | 311,522,476 | true | {"Java Properties": 2, "YAML": 2, "Gradle": 5, "Shell": 1, "Markdown": 226, "Batchfile": 1, "Text": 1, "Ignore List": 4, "XML": 65, "Java": 82, "Kotlin": 73, "INI": 1, "Proguard": 2, "CSS": 1, "HTML": 1} | /*
* Copyright (C) 2018 Drake, 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 ... | 1 | null | 0 | 1 | 1123fa3b48798fcfb97a223b94c2963fbb7c2853 | 1,445 | Net | Apache License 2.0 |
debop4k-core/src/main/kotlin/debop4k/core/Typex.kt | debop | 60,844,667 | false | null | /*
* Copyright (c) 2016. <NAME> <<EMAIL>>
* 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 a... | 1 | Kotlin | 10 | 40 | 5a621998b88b4d416f510971536abf3bf82fb2f0 | 3,061 | debop4k | Apache License 2.0 |
debop4k-core/src/main/kotlin/debop4k/core/Typex.kt | debop | 60,844,667 | false | null | /*
* Copyright (c) 2016. <NAME> <<EMAIL>>
* 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 a... | 1 | Kotlin | 10 | 40 | 5a621998b88b4d416f510971536abf3bf82fb2f0 | 3,061 | debop4k | Apache License 2.0 |
base/src/main/java/com/zhangteng/base/adapter/TreeRecyclerViewAdapter.kt | DL-ZhangTeng | 269,325,054 | false | null | package com.zhangteng.base.adapter
import android.annotation.SuppressLint
import android.content.*
import com.zhangteng.base.base.BaseAdapter
import com.zhangteng.base.tree.*
/**
* 树结构的列表适配器
* Created by swing on 2018/6/29.
*/
abstract class TreeRecyclerViewAdapter<T>(data: MutableList<T?>?, defaultExpandLevel: In... | 0 | null | 0 | 8 | 84b09e2c68cfc9908f6c6a6fc44558da3506445a | 2,416 | BaseLibrary | The Unlicense |
tasks/src/androidMain/kotlin/app/tivi/tasks/SyncLibraryShowsWorker.kt | chrisbanes | 100,624,553 | false | null | // Copyright 2018, Google LLC, Christopher Banes and the Tivi project contributors
// SPDX-License-Identifier: Apache-2.0
package app.tivi.tasks
import android.content.Context
import androidx.work.CoroutineWorker
import androidx.work.WorkerParameters
import app.tivi.domain.interactors.UpdateLibraryShows
import app.ti... | 26 | null | 876 | 6,626 | e261ffbded01c1439b93c550cd6e714c13bb9192 | 1,016 | tivi | Apache License 2.0 |
app/src/main/java/com/breezefieldstatcon/features/addshop/model/UpdateAddressShop.kt | DebashisINT | 878,294,212 | false | {"Kotlin": 16043339, "Java": 1030448} | package com.breezefieldstatcon.features.addshop.model
import com.breezefieldstatcon.app.domain.AddShopDBModelEntity
import com.breezefieldstatcon.app.domain.CallHisEntity
import com.breezefieldstatcon.base.BaseResponse
data class UpdateAddrReq (var user_id:String="",var shop_list:ArrayList<UpdateAddressShop> = Array... | 0 | Kotlin | 0 | 0 | 841b394cc9a8c393b0598bd87699d7d798cb1a96 | 478 | StatconEnergiaa | Apache License 2.0 |
modules/mockk/src/commonMain/kotlin/io/mockk/impl/recording/CallRecorderFactories.kt | mockk | 107,331,132 | false | {"Kotlin": 791135, "C++": 67506, "Java": 51094, "HTML": 35111, "JavaScript": 2101, "CMake": 1067, "Shell": 825, "SCSS": 348} | package io.mockk.impl.recording
import io.mockk.MockKGateway.*
import io.mockk.impl.recording.states.CallRecordingState
typealias VerifierFactory = (VerificationParameters) -> CallVerifier
typealias SignatureMatcherDetectorFactory = () -> SignatureMatcherDetector
typealias CallRoundBuilderFactory = () -> CallRoundBui... | 296 | Kotlin | 344 | 5,426 | 79abc96d3235710d61beaf677ea1349ba12eea0c | 1,504 | mockk | Apache License 2.0 |
js/js.translator/testData/box/inline/inlineClassEquals.kt | JetBrains | 3,432,266 | false | null | // The test checks an optimization which is implemented only for JS_IR backend
// DONT_TARGET_EXACT_BACKEND: JS
@file:Suppress("RESERVED_MEMBER_INSIDE_VALUE_CLASS")
inline class ClassInt(val x: Int)
inline class ClassString(val x: String)
inline class ClassUnderlayingInline(val x: ClassInt)
inline class ClassNullable... | 181 | null | 5771 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 13,903 | kotlin | Apache License 2.0 |
app/src/main/java/com/faustinodegroot/sportunity/domain/model/Route.kt | FaustinodG | 723,081,464 | false | {"Kotlin": 38869} | package com.faustinodegroot.sportunity.domain.model
import com.google.gson.annotations.SerializedName
data class Route(
@SerializedName("type") var type: String? = null,
@SerializedName("features") var features: List<Features> = listOf()
)
data class Features(
@SerializedName("type") var type: String? = ... | 0 | Kotlin | 0 | 0 | 18d50f87cc04c71b2ca8fff2820a8191be809f1d | 714 | android_sportunity | MIT License |
libandroid-navigation/src/test/java/com/mapbox/services/android/navigation/v5/internal/navigation/metrics/audio/AudioTypeChainTest.kt | luugiathuy | 227,537,256 | true | {"Gradle": 31, "JSON": 27, "Markdown": 9, "Java Properties": 2, "Shell": 3, "Ignore List": 17, "Batchfile": 1, "Makefile": 1, "YAML": 2, "XML": 283, "JavaScript": 2, "Proguard": 13, "INI": 13, "Java": 312, "Kotlin": 262, "Text": 3, "Python": 2} | package com.mapbox.services.android.navigation.v5.internal.navigation.metrics.audio
import io.mockk.mockk
import io.mockk.verifyOrder
import org.junit.Test
class AudioTypeChainTest {
@Test
fun checksChainIsCorrectWhenSetupCalled() {
val audioTypeChain =
AudioTypeChain()
val unknow... | 0 | null | 0 | 1 | 2fb053cde5d83b706f4633da79ec80228a101f24 | 1,029 | mapbox-navigation-android | Apache License 2.0 |
src/main/kotlin/de/rub/bi/inf/openbimrl/rest/OpenBimRlEngineRestApplication.kt | OpenBimRL | 699,764,658 | false | {"Kotlin": 15319, "Dockerfile": 151} | package de.rub.bi.inf.openbimrl.rest
import com.fasterxml.jackson.databind.Module
import com.fasterxml.jackson.databind.module.SimpleModule
import de.rub.bi.inf.openbimrl.rest.serializers.*
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.runApplication
import org.spr... | 0 | Kotlin | 0 | 0 | 3a84c8b10935641a9b05b1dd320c8b9baa2bea41 | 932 | OpenBimRL-Engine-REST | MIT License |
platform/lang-impl/src/com/intellij/ide/bookmark/ui/tree/BookmarksTreeStructure.kt | ingokegel | 72,937,917 | false | null | // Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.ide.bookmark.ui.tree
import com.intellij.ide.bookmark.ui.BookmarksView
import com.intellij.ide.projectView.impl.CompoundTreeStructureProvider
import com.intellij.ide.util.treeVi... | 214 | null | 4829 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 1,330 | intellij-community | Apache License 2.0 |
src/main/java/net/wdsj/mcserver/wdsjmessage/common/cell/StaticTextMessageCell.kt | MeowRay | 816,296,605 | false | {"Kotlin": 35148} | package net.wdsj.mcserver.wdsjmessage.common.cell
import net.md_5.bungee.api.chat.TextComponent
import net.wdsj.mcserver.wdsjmessage.common.msg.Message
import net.wdsj.mcserver.wdsjmessage.common.msg.TextComponentMessage
class StaticTextMessageCell private constructor(
val message: TextComponent,
private val ... | 0 | Kotlin | 0 | 0 | cecb6919cbef59b43aaf99373b6f7db59acfc228 | 1,318 | WdsjMessage | Apache License 2.0 |
gradle-plugins/compose/src/main/kotlin/org/jetbrains/compose/desktop/application/tasks/AbstractJPackageTask.kt | BaxtiyorNurmatov | 340,560,126 | false | null | /*
* Copyright 2020-2021 JetBrains s.r.o. and respective authors and developers.
* Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE.txt file.
*/
package org.jetbrains.compose.desktop.application.tasks
import org.gradle.api.file.*
import org.gradle.api.provider.ListProp... | 0 | null | 0 | 1 | 81bfef76d55c7b8abc7a4484de01bfc1347626f3 | 14,617 | compose-jb | Apache License 2.0 |
src/Application.kt | vilikin | 163,438,775 | false | null | package com.example
import com.example.crawler.Crawler
import com.example.crawler.VeikkausHttpClient
import com.example.engine.LottoEngine
import com.example.store.PersistedLottoHistoryStore
import io.ktor.application.Application
import io.ktor.application.call
import io.ktor.application.install
import io.ktor.feature... | 0 | Kotlin | 0 | 0 | adbbd99b41c1574669ddc6bf90819ed718a8ee12 | 1,738 | lottokone | MIT License |
demo/src/main/java/pyxis/uzuki/live/richutilskt/demo/Misc.kt | WindSekirun | 92,814,709 | false | null | package pyxis.uzuki.live.richutilskt.demo
import android.content.Context
import pyxis.uzuki.live.richutilskt.utils.browse
internal fun Context.browseToFile(fileName: String) {
browse("https://github.com/WindSekirun/RichUtilsKt/blob/master/RichUtils/src/main/java/pyxis/uzuki/live/richutilskt/%s".format(fileName))
... | 3 | Kotlin | 28 | 171 | 351b6be5c35f7e6864f49f202532a7dd21f2d1df | 321 | RichUtilsKt | Apache License 2.0 |
compiler/testData/codegen/boxWithStdlib/reflection/enclosing/insideLambda/classInLambda.kt | chashnikov | 14,658,474 | false | null | fun box(): String {
val classInLambda = {
class Z {}
Z()
}()
val enclosingMethod = classInLambda.javaClass.getEnclosingMethod()
if (enclosingMethod?.getName() != "invoke") return "method: $enclosingMethod"
val enclosingClass = classInLambda.javaClass.getEnclosingClass()
if (en... | 0 | null | 0 | 1 | 88a261234860ff0014e3c2dd8e64072c685d442d | 609 | kotlin | Apache License 2.0 |
compiler/testData/codegen/boxWithStdlib/reflection/enclosing/insideLambda/classInLambda.kt | chashnikov | 14,658,474 | false | null | fun box(): String {
val classInLambda = {
class Z {}
Z()
}()
val enclosingMethod = classInLambda.javaClass.getEnclosingMethod()
if (enclosingMethod?.getName() != "invoke") return "method: $enclosingMethod"
val enclosingClass = classInLambda.javaClass.getEnclosingClass()
if (en... | 0 | null | 0 | 1 | 88a261234860ff0014e3c2dd8e64072c685d442d | 609 | kotlin | Apache License 2.0 |
src/main/kotlin/org/wfanet/measurement/duchy/ComputationStage.kt | VideoAmp | 368,272,602 | true | {"Kotlin": 1266935, "Starlark": 227446, "C++": 158561, "Shell": 7082} | // Copyright 2020 The Cross-Media Measurement Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applic... | 94 | null | 11 | 4 | 66fd8f1a81b7d93f23d769f7be76d529b6a8d222 | 1,662 | cross-media-measurement | Apache License 2.0 |
composer/src/main/java/io/piano/android/composer/model/SplitTest.kt | tinypass | 56,064,393 | false | {"Kotlin": 263976} | package io.piano.android.composer.model
import com.squareup.moshi.JsonClass
@JsonClass(generateAdapter = true)
public class SplitTest(
@JvmField public val variantId: String,
@JvmField public val variantName: String,
)
| 1 | Kotlin | 10 | 15 | 7110301628367b947331f9f3435355e37de6c448 | 229 | piano-sdk-for-android | Apache License 2.0 |
android-common/src/com/android/tools/idea/log/LoggerWithFixedInfo.kt | JetBrains | 60,701,247 | false | null | /*
* Copyright (C) 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 app... | 5 | null | 227 | 948 | 10110983c7e784122d94c7467e9d243aba943bf4 | 1,874 | android | Apache License 2.0 |
app/src/main/java/com/ramitsuri/notificationjournal/service/PhoneDataLayerListenerService.kt | ramitsuri | 667,037,607 | false | {"Kotlin": 185801, "Shell": 9016, "Python": 2413, "HTML": 551} | package com.ramitsuri.notificationjournal.service
import android.annotation.SuppressLint
import android.util.Log
import com.google.android.gms.wearable.DataEvent
import com.google.android.gms.wearable.DataEventBuffer
import com.google.android.gms.wearable.DataMapItem
import com.google.android.gms.wearable.WearableList... | 0 | Kotlin | 0 | 0 | e7df6762e500a2128b777f186365edf8d6dd1688 | 3,451 | notification-journal | MIT License |
app/src/main/java/com/ljubenvassilev/cities/db/CitiesDb.kt | ljubenvassilev | 148,457,214 | false | null | package com.ljubenvassilev.cities.db
import androidx.room.Database
import androidx.room.RoomDatabase
import com.ljubenvassilev.cities.cities.entities.CityEntity
@Database(entities = [CityEntity::class], version = 1, exportSchema = false)
abstract class CitiesDb : RoomDatabase() {
abstract fun cityDao(): CityDao
... | 0 | Kotlin | 1 | 1 | 3f79f74aaaa35a89213e2d7c3194e0810d2561c8 | 390 | Cities | MIT License |
cams-framework-mvvm/src/main/java/com/linwei/cams/component/mvvm/mvvm/ViewModelFactory.kt | WeiShuaiDev | 390,640,743 | false | null | package com.linwei.cams.framework.mvi.mvi
import androidx.lifecycle.ViewModel
import androidx.lifecycle.ViewModelProvider
/**
* ---------------------------------------------------------------------
* @Author: WeiShuai
* @Time: 2022/2/24
* @Contact: <EMAIL>"
* @Follow: https://github.com/WeiShuaiDev
* @Descripti... | 1 | Kotlin | 1 | 3 | 37ffb7142ce1141c7b09ef69664c535150d25aaa | 1,143 | CamsModular | Apache License 2.0 |
buildSrc/src/main/kotlin/Dependencies.kt | dss99911 | 138,060,985 | false | null | object deps {
object kotlin {
val gradle = depKotlin("gradle-plugin", versions.kotlin.version)
val serializationGradle = depKotlin("serialization", versions.kotlin.version)
val coroutineCore = depKotlinx("coroutines-core", versions.kotlin.coroutine)
val coroutineTest = depKotlinx("co... | 1 | null | 2 | 38 | e9da57fdab9c9c1169fab422fac7432143e2c02c | 8,314 | kotlin-simple-architecture | Apache License 2.0 |
Yukari/src/main/java/shibafu/yukari/twitter/TwitterApi.kt | shibafu528 | 134,973,177 | false | {"Git Config": 1, "Gradle": 7, "Java Properties": 2, "Shell": 1, "Text": 3, "Ignore List": 6, "Batchfile": 1, "Markdown": 3, "Kotlin": 144, "Proguard": 1, "XML": 167, "Java": 150, "HTML": 1, "Ruby": 1} | package shibafu.yukari.twitter
import android.content.Context
import android.os.Handler
import android.os.Looper
import android.preference.PreferenceManager
import androidx.collection.LongSparseArray
import android.widget.Toast
import kotlinx.coroutines.GlobalScope
import kotlinx.coroutines.launch
import shibafu.yukar... | 58 | Java | 3 | 60 | 28ce3e38b9cf44308bab74f1b6cb8d39a4de2509 | 12,999 | Yukari | Apache License 2.0 |
app/src/main/kotlin/com/rayfantasy/icode/util/ErrorFormat.kt | RayFantasyStudio | 55,142,510 | false | null | /*
* Copyright 2015-2016 RayFantasy Studio
*
* 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 l... | 0 | Kotlin | 2 | 2 | d82b02c9503152b3a0919db09f66d50f4aae6d53 | 3,856 | iCode-Android-KBinding | Apache License 2.0 |
tangem-sdk/src/main/java/com/tangem/tangem_sdk_new/ui/NfcLocation.kt | Gimly-Blockchain | 267,425,784 | true | {"Java Properties": 8, "Gradle": 8, "Shell": 1, "Markdown": 2, "Batchfile": 1, "Text": 27, "Ruby": 2, "Ignore List": 1, "XML": 397, "INI": 3, "Proguard": 2, "Kotlin": 127, "JSON": 252, "SQL": 9, "Motorola 68K Assembly": 9, "Java": 166, "JAR Manifest": 1, "HTML": 16, "CSS": 6, "JavaScript": 3, "YAML": 1} | package com.tangem.tangem_sdk_new.ui
enum class NfcLocation(val codename: String, val fullName: String, val orientation: Int, val x: Int, val y: Int, val z: Int) {
model1("sailfish", "Google Pixel", 0, 65, 25, 0),
model2("walleye", "Google Pixel 2", 0, 40, 15, 0),
model3("taimen", "Google Pixel 2 XL", 0, 4... | 0 | Java | 0 | 1 | a94cb113f3aa720406fea0880bccf127702ac521 | 14,076 | tangem-sdk-android | MIT License |
2017/src/main/kotlin/Day08.kt | dlew | 498,498,097 | false | {"Kotlin": 331659, "TypeScript": 69253, "Python": 15598, "JavaScript": 262} | import utils.splitNewlines
import utils.splitWhitespace
object Day08 {
fun part1(input: String): Int {
val registers = mutableMapOf<String, Int>().withDefault { 0 }
val instructions = input.splitNewlines().map(this::parseInstruction)
for (instruction in instructions) {
execute(registers, instructi... | 0 | Kotlin | 0 | 0 | 7b68d89a1228f130ceb6af1111fc5679d90e9c2d | 2,442 | advent-of-code | MIT License |
extension/spring-boot-autoconfigure/src/main/kotlin/io/holixon/axon/gateway/configuration/query/RevisionAwareQueryGatewayConfiguration.kt | holixon | 300,893,720 | false | {"Kotlin": 76933} | package io.holixon.axon.gateway.configuration.query
import io.holixon.axon.gateway.query.RevisionAwareQueryGateway
import org.axonframework.queryhandling.QueryBus
import org.axonframework.queryhandling.QueryGateway
import org.slf4j.LoggerFactory
import org.springframework.boot.autoconfigure.condition.ConditionalOnProp... | 4 | Kotlin | 2 | 6 | a7d4f682b5fd18e5388c6d84fc1d4e47ccf03d00 | 1,319 | axon-gateway-extension | Apache License 2.0 |
core/src/main/kotlin/org/cryptobiotic/rlauxe/core/Cvr.kt | JohnLCaron | 847,947,313 | false | {"Kotlin": 587189} | package org.cryptobiotic.rlauxe.core
// If we knew the contests and candidate indices, we could just use a 2dim array: votes[contest][candidate] : Int
// or we could pass in the Map, but create the index array.
// perhaps the audit contains the string -> index map?
class Cvr(
val id: String,
val votes: Map<In... | 0 | Kotlin | 0 | 0 | 7a916eef31df94bb0639442594267567ae5dd5bc | 1,836 | rlauxe | Open LDAP Public License v1.2 |
simplified-books-database-api/src/main/java/org/nypl/simplified/books/book_database/api/BookFormats.kt | ThePalaceProject | 367,082,997 | false | null | package org.nypl.simplified.books.book_database.api
import one.irradia.mime.api.MIMEType
import one.irradia.mime.vanilla.MIMEParser
import org.nypl.simplified.opds.core.OPDSAcquisitionFeedEntry
/**
* Information about the supported book formats.
*/
object BookFormats {
private fun mimeOf(name: String): MIMEType... | 109 | null | 4 | 8 | 752bdbdd07177e2819985fe33ed92aeb6d21e0c2 | 4,434 | android-core | Apache License 2.0 |
data-saver-core/src/commonMain/kotlin/com/funny/data_saver/core/DataSaverListState.kt | FunnySaltyFish | 451,806,111 | false | {"Kotlin": 98696} | package com.funny.data_saver.core
import androidx.compose.runtime.Composable
import androidx.compose.runtime.DisposableEffect
import androidx.compose.runtime.LaunchedEffect
import androidx.compose.runtime.MutableState
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.remember
import com.fu... | 1 | Kotlin | 5 | 69 | 282f4540481b23eafcb3016d9c39729bea78d519 | 10,681 | ComposeDataSaver | Apache License 2.0 |
seskar/seskar-compiler-plugin/src/main/kotlin/seskar/compiler/union/backend/UnionTransformer.kt | turansky | 279,976,108 | false | null | package seskar.compiler.union.backend
import org.jetbrains.kotlin.backend.common.extensions.IrPluginContext
import org.jetbrains.kotlin.descriptors.ClassKind
import org.jetbrains.kotlin.ir.IrStatement
import org.jetbrains.kotlin.ir.declarations.IrClass
import org.jetbrains.kotlin.ir.declarations.IrDeclarationWithName
... | 0 | null | 5 | 41 | 6ef30dfce12e2ff8b98c616a9113719fa9d787db | 3,222 | seskar | Apache License 2.0 |
example/android/app/src/main/kotlin/com/instana/flutter/agent_example/MainActivity.kt | instana | 311,961,951 | false | {"Dart": 32316, "Kotlin": 18627, "Swift": 15460, "Ruby": 2262, "Objective-C": 903} | /*
* (c) Copyright IBM Corp. 2021
* (c) Copyright Instana Inc. and contributors 2021
*/
package com.instana.flutter.agent_example
import io.flutter.embedding.android.FlutterActivity
class MainActivity : FlutterActivity() {
}
| 1 | Dart | 4 | 4 | fed600ee927f5d4395b92bc33ce2e13d577ac384 | 231 | flutter-agent | MIT License |
ui/src/main/kotlin/org/wcl/mfn/ui/controller/tools/ContractCalculatorUIController.kt | warnettconsultingltd | 809,363,042 | false | {"Kotlin": 58478, "HTML": 6681, "CSS": 4145} | package org.wcl.mfn.ui.controller.tools
import jakarta.validation.Valid
import jakarta.validation.constraints.Size
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.context.annotation.PropertySource
import org.springframework.core.ParameterizedTypeReference
import org.springframe... | 0 | Kotlin | 0 | 0 | dfc6fc7604e502a66e2678aa74bf5ec290c99bd0 | 5,799 | wcl-mfn-manager | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.