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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
fashion_ecommerce_app/android/app/src/main/kotlin/com/example/fashion_ecommerce_app/MainActivity.kt | AmirBayat0 | 593,524,280 | false | {"Dart": 63087, "Swift": 404, "Kotlin": 138, "Objective-C": 38} | package com.example.fashion_ecommerce_app
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| 1 | Dart | 25 | 63 | 5f2f6f49686674422f5d8b6b1407f764de95fe8b | 138 | Fashion-eCommerce-app | MIT License |
app/src/main/java/com/example/recipe_nutrition/view/fragments/findRecipes/FindRecipesFragment.kt | Kauka1 | 395,184,486 | false | null | package com.example.recipe_nutrition.view.fragments.findRecipes
import android.os.Bundle
import android.util.Log
import android.view.*
import androidx.fragment.app.Fragment
import android.widget.Toast
import androidx.appcompat.widget.SearchView
import androidx.lifecycle.ViewModelProvider
import androidx.lifecycle.get
... | 0 | Kotlin | 0 | 1 | 415e92bf0a16a587ce360edb994800a98f916354 | 6,616 | Recipe-Nutrition | MIT License |
src/test/resources/io/github/gciatto/kt/mpp/test/test0/full/src/commonTest/kotlin/io/github/gciatto/test0/Test.kt | gciatto | 611,832,186 | false | {"Kotlin": 90537, "JavaScript": 637, "Java": 223} | package io.github.gciatto.kt.mpp.test.test0.full.src.commonTest.kotlin.io.github.gciatto.test0
import io.github.gciatto.test0.currentPlatformMessage
import kotlin.test.Test
import kotlin.test.assertTrue
class Test {
private val admissibles = listOf("jvm-java", "js").map { "Current platform: $it" }.toSet()
@Te... | 6 | Kotlin | 1 | 1 | 1ac62d9a2c069a837018bff73fc7e9de0e11939f | 544 | kt-mpp | Apache License 2.0 |
src/test/kotlin/org/rust/cargo/project/model/impl/SyncToolWindowTest.kt | nikolai-frolov | 436,156,261 | true | {"Kotlin": 9001687, "Rust": 126471, "Python": 90150, "HTML": 19230, "Lex": 12287, "Shell": 760, "Java": 688, "RenderScript": 89} | /*
* Use of this source code is governed by the MIT license that can be
* found in the LICENSE file.
*/
package org.rust.cargo.project.model.impl
import com.intellij.openapi.actionSystem.PlatformDataKeys
import com.intellij.openapi.util.io.FileUtil
import com.intellij.openapi.vfs.VirtualFile
import com.intellij.te... | 1 | null | 0 | 0 | c5369c809bdefd1f098ed4e3bb2244fa0f221a98 | 9,782 | intellij-rust | MIT License |
app/src/main/java/site/leos/apps/lespas/auth/NCLoginActivity.kt | dsias | 392,588,949 | true | {"Kotlin": 393167} | package site.leos.apps.lespas.auth
import android.accounts.Account
import android.accounts.AccountAuthenticatorResponse
import android.accounts.AccountManager
import android.animation.Animator
import android.animation.AnimatorListenerAdapter
import android.annotation.SuppressLint
import android.app.AlertDialog
import ... | 0 | null | 0 | 0 | 7531dc440699b047f467ee926b02fe25583de48a | 18,875 | lespas | Apache License 2.0 |
app/src/main/java/site/leos/apps/lespas/auth/NCLoginActivity.kt | dsias | 392,588,949 | true | {"Kotlin": 393167} | package site.leos.apps.lespas.auth
import android.accounts.Account
import android.accounts.AccountAuthenticatorResponse
import android.accounts.AccountManager
import android.animation.Animator
import android.animation.AnimatorListenerAdapter
import android.annotation.SuppressLint
import android.app.AlertDialog
import ... | 0 | null | 0 | 0 | 7531dc440699b047f467ee926b02fe25583de48a | 18,875 | lespas | Apache License 2.0 |
src/queue/Queue.kt | neverwoodsS | 79,081,618 | false | {"Text": 2, "Ignore List": 1, "XML": 8, "Kotlin": 30, "Java": 4} | package queue
/**
* Created by zhangll on 2017/2/6.
*/
class Queue {
var array: Array<String> = arrayOf("false", "false", "false", "false", "false")
fun put(element: String) {
val temp: Array<String> = Array(array.size + 1, { "temp" })
(0 until array.size).forEach {
temp[it] = a... | 1 | null | 1 | 1 | 5e956cf4ae7e70fb7bad26265076327ea946e374 | 788 | StudyWithKotlin | MIT License |
feature/subscriber-attributes/src/main/java/com/revenuecat/purchases/subscriberattributes/AttributionFetcher.kt | ahmetcuneydioglu | 409,741,030 | true | {"Kotlin": 981561, "Java": 17062, "Ruby": 6167} | package com.revenuecat.purchases.subscriberattributes
import android.annotation.SuppressLint
import android.app.Application
import android.provider.Settings
import com.google.android.gms.ads.identifier.AdvertisingIdClient
import com.google.android.gms.common.GooglePlayServicesNotAvailableException
import com.google.an... | 0 | null | 0 | 0 | 48499fda2b04d1de0af61055b48cc47dc363682c | 2,678 | purchases-android | MIT License |
app/src/main/java/com/smarthealth/napchartandroiddev/napchart/domain/Schedule.kt | Smart-Health-LLC | 806,126,025 | false | {"Kotlin": 13404} | package com.smarthealth.napchartandroiddev.napchart.domain
import java.time.LocalTime
data class Schedule(
val name: String,
val tst: LocalTime,
val segments: List<Segment>
)
| 7 | Kotlin | 0 | 0 | 9c3cad308a1cca1997fcc7ddc22e3d6a417d8d93 | 189 | composable-napchart | MIT License |
test/kotlin/Day13Test.kt | frango9000 | 573,098,370 | false | {"Kotlin": 73317} | import org.junit.jupiter.api.Test
import kotlin.test.assertEquals
class Day13Test {
private val testInput = listOf(
"[1,1,3,1,1]",
"[1,1,5,1,1]",
"",
"[[1],[2,3,4]]",
"[[1],4]",
"",
"[9]",
"[[8,7,6]]",
"",
"[[4,4],4,4]",
"[[4,... | 0 | Kotlin | 0 | 0 | 62e91dd429554853564484d93575b607a2d137a3 | 738 | advent-of-code-22 | Apache License 2.0 |
app/src/main/java/com/example/pawfect/navigation/Screen.kt | Nithin-TN | 799,448,145 | false | {"Kotlin": 32445} | package com.example.pawfect.navigation
sealed class Screen(val route: String) {
object Home : Screen("home")
object Details : Screen("details")
}
| 0 | Kotlin | 0 | 0 | 133d1fdd3c25fe07b27bf4a96ade963f6874122a | 155 | Pawfect | MIT License |
app/src/main/java/org/jyutping/jyutping/keyboard/CantoneseSymbolicKeyboard.kt | yuetyam | 586,777,621 | false | {"Kotlin": 329501} | package org.jyutping.jyutping.keyboard
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.fi... | 0 | Kotlin | 0 | 4 | c8b9cfdd1fc7c9680c271426c66a936285e6f734 | 4,925 | jyutping-android | Creative Commons Zero v1.0 Universal |
feature-dapp-impl/src/main/java/com/edgeverse/wallet/feature_dapp_impl/presentation/browser/main/view/AddressBarView.kt | finn-exchange | 512,140,809 | false | {"Kotlin": 2956205, "Java": 14536, "JavaScript": 399} | package com.edgeverse.wallet.feature_dapp_impl.presentation.browser.main.view
import android.content.Context
import android.util.AttributeSet
import android.view.Gravity
import android.view.View
import android.widget.LinearLayout
import com.edgeverse.wallet.common.utils.WithContextExtensions
import com.edgeverse.walle... | 0 | Kotlin | 1 | 0 | 03229c4188cb56b0fb0340e60d60184c7afa2c75 | 1,205 | edgeverse-wallet | Apache License 2.0 |
src/main/kotlin/no/nav/syfo/melding/domain/PdfContent.kt | navikt | 602,146,320 | false | {"Kotlin": 404554, "Dockerfile": 226} | package no.nav.syfo.melding.domain
import io.ktor.http.*
import io.ktor.http.content.*
class PdfContent(
val pdf: ByteArray,
override val contentType: ContentType = ContentType.Application.Pdf
) : OutgoingContent.ByteArrayContent() {
override fun bytes(): ByteArray = pdf
}
| 2 | Kotlin | 0 | 0 | b9936199c370a0d8c84ad3e9e3210c41e2c67e59 | 288 | isdialogmote | MIT License |
composeApp/src/commonMain/kotlin/ui/AppViewModel.kt | piashcse | 509,820,279 | false | {"Kotlin": 132895, "Swift": 594, "HTML": 335, "CSS": 102} | package ui
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import data.model.MovieItem
import data.model.TvItem
import data.repository.MovieRepository
import kotlinx.coroutines.ExperimentalCoroutinesApi
import kotlinx.coroutines.FlowPreview
import kotlinx.coroutines.flow.MutableStateFlow
i... | 0 | Kotlin | 15 | 180 | 57110a6050548159aa742bd119897ff8a0273845 | 2,735 | kmp-movie | Apache License 2.0 |
plugin-bsp/src/main/kotlin/org/jetbrains/plugins/bsp/magicmetamodel/impl/workspacemodel/impl/updaters/PythonResourceEntityUpdater.kt | JetBrains | 826,262,028 | false | {"Kotlin": 3064918, "Starlark": 370388, "Java": 165158, "Scala": 37245, "Python": 34754, "Lex": 17493, "Dockerfile": 8674, "Shell": 7379, "HTML": 1310, "Rust": 680, "Go": 428, "C++": 113} | package org.jetbrains.plugins.bsp.magicmetamodel.impl.workspacemodel.impl.updaters
import com.intellij.platform.workspace.jps.entities.ContentRootEntity
import com.intellij.platform.workspace.jps.entities.ModuleEntity
import com.intellij.platform.workspace.jps.entities.SourceRootEntity
import com.intellij.platform.wor... | 2 | Kotlin | 8 | 45 | 1d79484cfdf8fc31d3a4b214655e857214071723 | 2,749 | hirschgarten | Apache License 2.0 |
src/test/kotlin/top/vuhe/MainTest.kt | vuhe | 495,647,196 | false | null | package top.vuhe
import org.junit.jupiter.api.DisplayName
import org.junit.jupiter.api.Test
import org.slf4j.Logger
import org.slf4j.LoggerFactory
import top.vuhe.tool.QuestionFactory
import top.vuhe.model.Question
class MainTest {
companion object {
private val log: Logger = LoggerFactory.getLogger(MainT... | 0 | Kotlin | 0 | 0 | 6adaad885f230fe19683275bef79f4c7bb793cfa | 803 | arithmetic-homework | MIT License |
app/src/main/java/com/erkindilekci/parkingspotfinder/di/AppModule.kt | erkindilekci | 652,604,566 | false | null | package com.erkindilekci.parkingspotfinder.di
import android.content.Context
import androidx.room.Room
import com.erkindilekci.parkingspotfinder.data.local.ParkingSpotDatabase
import com.erkindilekci.parkingspotfinder.data.repository.ParkingSpotRepositoryImpl
import com.erkindilekci.parkingspotfinder.domain.repository... | 0 | Kotlin | 0 | 0 | 0abe4014feb11042924f8095764f3983562839ee | 1,057 | ParkingSpotFinder | Apache License 2.0 |
dsl/src/main/kotlin/io/cloudshiftdev/awscdkdsl/services/entityresolution/CfnMatchingWorkflowProviderPropertiesPropertyDsl.kt | cloudshiftinc | 667,063,030 | false | {"Kotlin": 70198112} | @file:Suppress(
"RedundantVisibilityModifier",
"RedundantUnitReturnType",
"RemoveRedundantQualifierName",
"unused",
"UnusedImport",
"ClassName",
"REDUNDANT_PROJECTION",
"DEPRECATION"
)
package io.cloudshiftdev.awscdkdsl.services.entityresolution
import io.cloudshiftdev.awscdkdsl.common... | 0 | Kotlin | 0 | 3 | 256ad92aebe2bcf9a4160089a02c76809dbbedba | 3,334 | awscdk-dsl-kotlin | Apache License 2.0 |
compiler/standard/src/main/java/gsonpath/adapter/standard/adapter/properties/AdapterCommonPropertiesFactory.kt | LachlanMcKee | 53,666,769 | false | null | package gsonpath.adapter.standard.adapter.properties
import com.google.gson.FieldNamingPolicy
import gsonpath.GsonFieldValidationType
import gsonpath.LazyFactoryMetadata
import gsonpath.annotation.AutoGsonAdapter
import javax.lang.model.element.TypeElement
class AdapterCommonPropertiesFactory {
fun create(
... | 6 | Kotlin | 4 | 57 | bc666ca0d7677443bd841d7f4ec49618ec5d2ede | 1,709 | gsonpath | MIT License |
madman/src/main/java/com/flipkart/madman/manager/state/AdPlaybackState.kt | TrendingTechnology | 251,148,234 | true | {"Kotlin": 350327, "Java": 180798} | /*
* Copyright (C) 2020 Flipkart Internet Pvt Ltd
*
* 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 applicabl... | 0 | null | 0 | 0 | ccba9d614dc2329d5db713c5cc2fb16c606aa123 | 4,550 | madman-android | Apache License 2.0 |
lib_account/src/main/java/com/ndhzs/lib/account/network/LoginApiService.kt | VegetableChicken-Group | 497,243,579 | false | {"Kotlin": 315359, "Shell": 8775} | package com.ndhzs.lib.account.network
import com.ndhzs.api.account.IAccountService
import com.ndhzs.lib.utils.network.ApiStatus
import com.ndhzs.lib.utils.network.ApiWrapper
import io.reactivex.rxjava3.core.Single
import retrofit2.http.Field
import retrofit2.http.FormUrlEncoded
import retrofit2.http.GET
import retrofi... | 0 | Kotlin | 14 | 30 | 3455309ef00ecbe61dbc2c80b8871f8981b412e2 | 1,209 | WanAndroid_Multi | MIT License |
lib_account/src/main/java/com/ndhzs/lib/account/network/LoginApiService.kt | VegetableChicken-Group | 497,243,579 | false | {"Kotlin": 315359, "Shell": 8775} | package com.ndhzs.lib.account.network
import com.ndhzs.api.account.IAccountService
import com.ndhzs.lib.utils.network.ApiStatus
import com.ndhzs.lib.utils.network.ApiWrapper
import io.reactivex.rxjava3.core.Single
import retrofit2.http.Field
import retrofit2.http.FormUrlEncoded
import retrofit2.http.GET
import retrofi... | 0 | Kotlin | 14 | 30 | 3455309ef00ecbe61dbc2c80b8871f8981b412e2 | 1,209 | WanAndroid_Multi | MIT License |
app/src/test/java/com/hypertrack/android/api/ApiClientTest.kt | pantez | 340,792,559 | true | {"Kotlin": 184200} | @file:Suppress("BlockingMethodInNonBlockingContext")
package com.hypertrack.android.api
import androidx.arch.core.executor.testing.InstantTaskExecutorRule
import com.hypertrack.android.repository.AccessTokenRepository
import io.mockk.every
import io.mockk.mockk
import kotlinx.coroutines.Dispatchers
import kotlinx.cor... | 0 | null | 0 | 0 | 82c487cd041c8368090d996310b854ec7045a27c | 19,536 | visits-android | MIT License |
mobile/src/main/java/ro/cluj/sorin/bitchat/model/UserLocation.kt | sorinirimies | 135,047,483 | false | {"Gradle": 3, "XML": 44, "INI": 3, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Java Properties": 1, "JSON": 2, "Proguard": 1, "Kotlin": 54, "Java": 3} | package ro.cluj.sorin.bitchat.model
data class UserLocation(val userId: String, val lat: Double, val lng: Double) | 1 | null | 1 | 1 | 8bfc9889fbfeb4ca840c1848c643fda188615bff | 114 | BitChat | MIT License |
app/src/main/java/de/hamark/comicreader/model/ComicRepository.kt | sihamark | 614,073,078 | false | {"Kotlin": 16336} | package de.hamark.comicreader.model
import android.graphics.BitmapFactory
import androidx.compose.ui.graphics.ImageBitmap
import androidx.compose.ui.graphics.asImageBitmap
import com.fleeksoft.ksoup.Ksoup
import io.github.aakira.napier.Napier
import io.ktor.client.*
import io.ktor.client.call.*
import io.ktor.client.r... | 0 | Kotlin | 0 | 0 | b1ff24e82c3737ffda2429a008f128f72b2f3df0 | 3,807 | ComicReader | Apache License 2.0 |
core/common/src/main/kotlin/org/michaelbel/movies/common/config/ktx/FirebaseKtx.kt | michaelbel | 115,437,864 | false | {"Kotlin": 520965, "Shell": 235} | package org.michaelbel.movies.common.config.ktx
import android.content.Context
import com.google.firebase.FirebaseApp
fun Context.installFirebaseApp() {
FirebaseApp.initializeApp(this)
} | 7 | Kotlin | 26 | 158 | 124cb238fd03974487774d8bdac02f111df18dcf | 192 | movies | Apache License 2.0 |
inappmessaging/src/main/java/com/rakuten/tech/mobile/inappmessaging/runtime/data/repositories/PingResponseMessageRepository.kt | donnie-jp | 358,824,345 | true | {"Kotlin": 483530} | package com.rakuten.tech.mobile.inappmessaging.runtime.data.repositories
import com.rakuten.tech.mobile.inappmessaging.runtime.data.models.messages.Message
import com.rakuten.tech.mobile.inappmessaging.runtime.utils.InAppMessagingConstants
/**
* Contains all downloaded messages from Ping Message Mixer. Also exposed ... | 0 | null | 0 | 0 | ee0ae9ba299dd769d7b2553d97abd22c68e3e3a8 | 2,086 | android-inappmessaging | MIT License |
library/renetik-base/src/main/java/renetik/kotlin/Any+CSNull.kt | rene-dohan | 69,289,476 | false | null | package renetik.kotlin
import renetik.android.framework.lang.property.CSProperty
fun isAnyNotNull(vararg items: Any?) = !isAllNull(*items)
fun isAllNotNull(vararg items: Any?): Boolean {
for (it in items) if (it.isNull) return false
return true
}
fun isAnyNull(vararg items: Any?) = !isAllNotNull(*items)
fu... | 2 | Kotlin | 1 | 1 | 64ad43699d07d52321167f8b8a267454afbd30ff | 800 | renetik-library-android | Apache License 2.0 |
app/src/main/java/com/nutrition/balanceme/presentation/features/home/feed/Header.kt | DatTrannn | 521,896,551 | false | null | package com.nutrition.balanceme.presentation.features.home.feed
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.layout.Arrangement.SpaceBetween
import androidx.compose.material.Icon
import androidx.compose.material.MaterialTheme.colors
import ... | 0 | Kotlin | 0 | 0 | f51d0276b1d34e00b27b44689aedf80e1580c542 | 2,263 | BalanceMeApp | MIT License |
src/main/kotlin/Json.kt | olcav | 480,145,298 | false | null | import action.Action
import extractor.Extractor
import transform.JsonData
import transform.Transformer
import transform.transformers.reduce.ReduceTransformer
open class Json(vararg jsons: String) {
private var jsonsData: MutableList<JsonData> = jsons.map {
JsonData(it)
}.toMutableList()
private c... | 0 | Kotlin | 0 | 0 | 27aef2a1fb6205d60ccf7fd3aa897623a6bb616f | 2,017 | manson | MIT License |
delivery-application/src/main/kotlin/com/hnv99/delivery/reservation/application/port/input/ReservedProduct.kt | vanhung4499 | 743,573,351 | false | {"Kotlin": 81097} | package com.hnv99.delivery.reservation.application.port.input
import com.hnv99.delivery.common.models.Money
import com.hnv99.delivery.reservation.domain.reservation.ReservationLineItem
import com.hnv99.delivery.shop.domain.product.ProductId
data class ReservedProduct(
val productId: Long,
val name: String,
... | 0 | Kotlin | 0 | 0 | 8fbc5dcdaf419699456a890d5431bf9f949c44e3 | 515 | delivery | MIT License |
app/src/main/java/com/benny/openlauncher/activity/MinibarEditActivity.kt | xiaoxinxing12 | 122,299,758 | true | {"Java Properties": 2, "Markdown": 4, "Shell": 1, "Batchfile": 1, "Proguard": 2, "Java": 54, "Kotlin": 31} | package com.benny.openlauncher.activity
import android.app.Activity
import android.os.Bundle
import android.support.v4.widget.DrawerLayout
import android.support.v7.widget.LinearLayoutManager
import android.support.v7.widget.RecyclerView
import android.support.v7.widget.helper.ItemTouchHelper
import android.view.View
... | 0 | Java | 1 | 0 | d3339d0e185310dbc730598a015ee9c912d9bfb4 | 4,920 | openlauncher | Apache License 2.0 |
app/src/androidTest/java/com/akexorcist/localizationapp/ViewPagerTest.kt | akexorcist | 39,480,138 | false | null | package com.akexorcist.localizationapp
import androidx.test.ext.junit.rules.ActivityScenarioRule
import androidx.test.internal.runner.junit4.AndroidJUnit4ClassRunner
import androidx.test.platform.app.InstrumentationRegistry
import androidx.test.uiautomator.UiDevice
import com.agoda.kakao.screen.Screen.Companion.onScre... | 20 | Kotlin | 154 | 914 | 7a7f3d8b2664d6fd5c735d1b05964c46e99cd7a1 | 11,728 | Localization | Apache License 2.0 |
src/main/kotlin/ch4/Lambda.kt | jatzuk | 193,890,732 | false | null | package ch4
/*
* Created with passion and love
* for project FunctionalKotlin
* by Jatzuk on 30.06.2019
* *_____*
* *_*****_*
* *_(O)_(O)_*
* ... | 0 | Kotlin | 0 | 0 | 76a1db7ba339c5eb8956bcb81e4d6b9b8c970a43 | 859 | FunctionalKotlin | MIT License |
app/src/main/java/com/artemchep/config/extensions/MapExt.kt | AChep | 139,670,954 | false | {"Kotlin": 36627} | package com.artemchep.config.extensions
import com.artemchep.config.store.StoreReadWrite
import com.artemchep.config.store.StoreRead
import com.artemchep.config.store.common.MapStoreReadWrite
import com.artemchep.config.store.common.MapStoreRead
fun <K> Map<K, *>.asStore(): StoreRead<K> = MapStoreRead(this)
fun <K> ... | 0 | Kotlin | 1 | 4 | 0dfb2771e0c64f18e17d7f830dac02b90974ce9d | 394 | config | Apache License 2.0 |
integrations/typescanner/src/main/java/de/quantummaid/reflectmaid/typescanner/TypeIdentifier.kt | quantummaid | 250,527,761 | false | null | /**
* Copyright (c) 2021 <NAME> - https://quantummaid.de/.
*
* 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 un... | 1 | null | 1 | 4 | 31b816cfcb3d070c5ac84c70f4b9bd9741a7823a | 2,356 | reflectmaid | Apache License 2.0 |
app/src/main/java/com/thinkdevs/cryptomarket/controller/NewsActivity.kt | kevinjam | 125,894,653 | false | {"Gradle": 3, "Java Properties": 2, "Shell": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "JSON": 2, "Proguard": 1, "Kotlin": 33, "XML": 164, "Java": 2} | package com.thinkdevs.cryptomarket.controller
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import androidx.recyclerview.widget.LinearLayoutManager
import androidx.recyclerview.widget.RecyclerView
import android.util.Log
import android.view.View
import com.thinkdevs.cryptomarket.R
import com... | 2 | Kotlin | 0 | 0 | 9790b8bba7e43b11fb3641a06021ba9624abb4d6 | 2,625 | CryptoMarket | Apache License 2.0 |
bukkit/rpk-essentials-bukkit/src/main/kotlin/com/rpkit/essentials/bukkit/listener/PlayerTeleportListener.kt | RP-Kit | 54,840,905 | 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... | 51 | Kotlin | 11 | 22 | aee4060598dc25cd8e4f3976ed5e70eb1bf874a2 | 1,506 | RPKit | Apache License 2.0 |
samples/kaspresso-sample/src/sharedTest/kotlin/com/kaspersky/kaspressample/jetpack_compose_tests/JetpackComposeSimpleKaspressoComposeTest.kt | KasperskyLab | 208,070,025 | false | null | package com.kaspersky.kaspressample.jetpack_compose_tests
import androidx.compose.ui.test.junit4.createAndroidComposeRule
import androidx.test.ext.junit.runners.AndroidJUnit4
import com.kaspersky.kaspressample.jetpackcompose.JetpackComposeActivity
import com.kaspersky.kaspressample.jetpack_compose_screen.ComposeMainSc... | 40 | Kotlin | 86 | 1,175 | a6fba5a12b9981d5128990205ece88b11590d42e | 2,013 | Kaspresso | Apache License 2.0 |
coroutine-contexts/app/src/main/java/com/example/coroutine_contexts/main_safety/BitmapCompressor.kt | mygomii | 855,464,049 | false | {"Kotlin": 124754} | package com.example.coroutine_contexts.main_safety
import android.content.Context
import android.graphics.Bitmap
import android.graphics.BitmapFactory
import android.net.Uri
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.withContext
import java.io.ByteArrayOutputStream
import kotlin.math.roundToInt
c... | 0 | Kotlin | 0 | 0 | 021e468b5e06b0c34440da329876362e7d45d467 | 1,498 | coroutines-flow-study | Apache License 2.0 |
git-plugin/src/main/kotlin/io/rabobank/ret/git/plugin/provider/GitDomain.kt | rabobank | 638,492,279 | false | {"Kotlin": 110432, "Shell": 4413} | package io.rabobank.ret.git.plugin.provider
import java.time.ZonedDateTime
interface GitDomain
fun interface GitDomainConvertible<T : GitDomain> {
fun toGenericDomain(): T
}
data class PullRequest(
val id: String,
val title: String,
val repository: Repository,
val reviewers: List<Reviewer>,
) : ... | 2 | Kotlin | 1 | 3 | aaf6edd56baf31f7bcf9bbc52ae8f1623055af29 | 1,476 | ret-plugins | MIT License |
handler/src/main/kotlin/com/oneliang/ktx/frame/handler/ReceiveHandler.kt | tongxiaoyi | 379,480,354 | false | {"Gradle Kotlin DSL": 4, "Java Properties": 2, "Shell": 1, "Text": 48, "Ignore List": 1, "Batchfile": 1, "Markdown": 1, "Gradle": 34, "Kotlin": 323, "XML": 20, "Java": 11, "JSON": 1} | package com.oneliang.ktx.frame.handler
import com.oneliang.ktx.Constants
import com.oneliang.ktx.util.concurrent.LoopThread
import com.oneliang.ktx.util.concurrent.ThreadPool
import com.oneliang.ktx.util.logging.LoggerManager
class ReceiveHandler<T : Any>(
private val threadCount: Int = 1,
private val initial... | 1 | null | 1 | 1 | 1a4cbe107b7adc8941691911f75c3fc2aa383ca1 | 1,442 | frame-kotlin | Apache License 2.0 |
sdk/src/androidTest/java/co/omise/android/OmiseTestRunner.kt | omise | 25,964,531 | false | {"Kotlin": 566629, "Java": 34215} | package co.omise.android
import android.app.Application
import android.content.Context
import androidx.test.runner.AndroidJUnitRunner
import com.github.tmurakami.dexopener.DexOpener
class OmiseTestRunner : AndroidJUnitRunner() {
override fun newApplication(
cl: ClassLoader?,
className: String?,
... | 1 | Kotlin | 31 | 51 | dd8d70f9479dba3f361fc61d2fce3ff4e09d7973 | 485 | omise-android | MIT License |
UdemyMVVM/ArquitecturaMVVM/app/src/main/java/ec/com/paul/arquitecturamvvm/api/WebServiceApi.kt | PaulMarcelo | 255,495,694 | false | null | package ec.com.paul.arquitecturamvvm.api
import androidx.lifecycle.LiveData
import ec.com.paul.arquitecturamvvm.modelo.Contributor
import ec.com.paul.arquitecturamvvm.modelo.Repo
import ec.com.paul.arquitecturamvvm.modelo.RepoSearchResponse
import ec.com.paul.arquitecturamvvm.modelo.User
import retrofit2.Call
import r... | 0 | Kotlin | 0 | 0 | 5c363e7e5837eaec8c43c1edf6eafa69ab84725d | 1,255 | Android | Apache License 2.0 |
squash-graph/src/org/jetbrains/squash/graph/TransactionBindings.kt | orangy | 59,228,714 | false | null | package org.jetbrains.squash.graph
import org.jetbrains.squash.definition.*
import java.lang.reflect.*
import kotlin.reflect.*
import kotlin.reflect.jvm.*
class TransactionBindings {
val bindingMap = mutableMapOf<KClass<*>, TransactionBindingsNode<*>>()
fun <TReference> bind(type: KClass<*>, identityColumn: ... | 27 | Kotlin | 17 | 258 | dc025481b7104a5e234d6df370d715b6b37c81eb | 2,949 | squash | Apache License 2.0 |
compose/src/main/kotlin/di/ScreenModelModule.kt | 85vmh | 543,628,296 | false | null | package di
import org.kodein.di.DI
import org.kodein.di.bindProvider
import org.kodein.di.instance
import org.kodein.di.instanceOrNull
import screen.uimodel.SimpleCycle
import screen.viewmodel.OdTurningViewModel
import ui.screen.manual.root.ManualTurningScreenModel
import ui.screen.manual.simplecycles.SimpleCyclesScre... | 1 | Kotlin | 1 | 2 | 89a7092538447e34df90637b6b721c73a0ed739a | 2,755 | mindovercnclathe | Apache License 2.0 |
libs/project/base/arch/src/main/java/com/hl/arch/adapters/BaseMultiAdapter.kt | Heart-Beats | 473,996,742 | false | null | package com.hl.arch.adapters
import android.util.SparseArray
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.core.util.containsKey
import androidx.recyclerview.widget.DiffUtil
import androidx.recyclerview.widget.RecyclerView
import com.hl.arch.adapters.diffcall... | 0 | Kotlin | 0 | 1 | 8b569c797232c4290ea797ea88197544fcb27892 | 4,824 | BaseProject | Apache License 2.0 |
app/src/main/java/com/mapbox/navigation/examples/standalone/alternative/ShowAlternativeRoutesActivity.kt | mapbox | 355,060,751 | false | {"Kotlin": 587179} | package com.mapbox.navigation.examples.standalone.alternative
import android.annotation.SuppressLint
import android.content.res.Resources
import android.location.Location
import android.os.Bundle
import android.view.View
import androidx.appcompat.app.AppCompatActivity
import androidx.lifecycle.lifecycleScope
import co... | 34 | Kotlin | 40 | 48 | 162315590ebc4baf46157c22d80384ab0b47a055 | 16,090 | mapbox-navigation-android-examples | Creative Commons Zero v1.0 Universal |
src/main/kotlin/michi/bot/commands/music/dj/Leave.kt | slz-br | 598,900,844 | false | {"Kotlin": 290077} | package michi.bot.commands.music.dj
import com.charleskorn.kaml.YamlMap
import com.charleskorn.kaml.yamlMap
import michi.bot.commands.CommandScope.GUILD_SCOPE
import michi.bot.commands.MichiCommand
import michi.bot.commands.music.dj.SetDJ.GuildDJMap
import michi.bot.util.Emoji
import michi.bot.util.ReplyUtils.getText
... | 1 | Kotlin | 1 | 2 | d2b2925993fb809d70007821b86d2c7253b9c38e | 3,298 | Michi | Apache License 2.0 |
app/src/main/java/com/nisaefendioglu/artfusionai/data/model/ImageModel.kt | nisaefendioglu | 843,727,192 | false | {"Kotlin": 22243} | package com.nisaefendioglu.artfusionai.data.model
data class ImageModel(val imageUrl: String) | 0 | Kotlin | 0 | 0 | bab4b8da528fbe17450e91db4c311b5bf146a001 | 94 | ArtFusion-AI | MIT License |
Export/src/me/anno/export/Exclusion.kt | AntonioNoack | 456,513,348 | false | {"Kotlin": 10736182, "C": 236426, "Java": 6754, "Lua": 4404, "C++": 3070, "GLSL": 2698} | package me.anno.export
import me.anno.utils.structures.maps.Maps.removeIf
object Exclusion {
fun excludeLWJGLFiles(sources: HashMap<String, ByteArray>, settings: ExportSettings) {
excludeFiles(sources, settings.linuxPlatforms.any, "org/lwjgl/system/linux/")
excludeFiles(sources, settings.linuxPla... | 0 | Kotlin | 3 | 24 | 63377c2e684adf187a31af0f4e5dd0bfde1d050e | 7,280 | RemsEngine | Apache License 2.0 |
commons/src/main/java/com/simpletools/calculator/commons/operations/base/BinaryBitwiseOperation.kt | jusleg | 117,031,606 | false | null | package com.simpletools.calculator.commons.operations.base
abstract class BinaryBitwiseOperation : BitwiseOperation() {
var baseValue: Long = 0
var secondValue: Long = 0
override fun getBinaryFormula(): String {
var baseString: String = ""
var secondString: String = ""
if (baseValu... | 0 | Kotlin | 1 | 1 | 0a37f08a21aacbb37ca395735bc26ff8f0b6a2be | 1,748 | simple-calculator | Apache License 2.0 |
app/src/main/java/com/herdal/deezerapp/data/remote/dto/track/TrackDto.kt | herdal06 | 638,009,939 | false | null | package com.herdal.deezerapp.data.remote.dto.track
import com.squareup.moshi.Json
import com.squareup.moshi.JsonClass
@JsonClass(generateAdapter = true)
data class TrackDto(
@Json(name = "id")
val id: Long? = null,
@Json(name = "title")
val title: String? = null,
@Json(name = "duration")
val d... | 0 | Kotlin | 0 | 1 | 2681dfff74c7a51be94ff3a5c52299a82b317cf6 | 465 | DeezerApp | Apache License 2.0 |
app/src/main/java/com/elementary/tasks/core/utils/TimeUtil.kt | naz013 | 165,067,747 | false | null | package com.elementary.tasks.core.utils
import android.app.AlarmManager
import android.app.DatePickerDialog
import android.app.TimePickerDialog
import android.content.Context
import android.text.TextUtils
import com.elementary.tasks.R
import com.github.naz013.calendarext.dropMilliseconds
import com.github.naz013.calen... | 0 | Kotlin | 3 | 0 | a39e5d94ff77809d3e1c7f5225840c657b2c65e8 | 20,873 | reminder-kotlin | Apache License 2.0 |
src/main/kotlin/com/example/relearnspring/model/HttpResponse.kt | Eynnzerr | 584,695,195 | false | null | package com.example.relearnspring.model
data class HttpResponse(
val code: Int,
val msg: String,
val data: Any?
) {
companion object {
fun success(msg: String) = HttpResponse(200, msg, null)
fun success(msg: String, data: Any) = HttpResponse(200, msg, data)
fun fail(code: Int, m... | 0 | Kotlin | 0 | 0 | 1328659b1c444db3da1c74775171820531475666 | 372 | IPLT-back-end | Apache License 2.0 |
app/src/main/java/com/digiventure/ventnote/feature/note_detail/components/AppBar.kt | HellBus1 | 608,602,048 | false | {"Kotlin": 158236} | package com.digiventure.ventnote.feature.note_detail.components
import androidx.compose.foundation.layout.padding
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.filled.ArrowBack
import androidx.compose.material.icons.filled.Close
import androidx.compose.material.icons.filled.MoreVe... | 0 | Kotlin | 1 | 9 | b442aa14971e963ac164953f12b46c66cb80852a | 3,488 | VentNote | Apache License 2.0 |
app/src/main/kotlin/com/peecock/ymusic/ui/screens/home/HomeLibraryModern.kt | geekeie | 852,991,746 | false | {"Kotlin": 3810622, "Batchfile": 445} | package com.peecock.ymusic.ui.screens.home
import android.annotation.SuppressLint
import android.content.ActivityNotFoundException
import androidx.activity.compose.rememberLauncherForActivityResult
import androidx.activity.result.contract.ActivityResultContracts
import androidx.compose.animation.AnimatedVisibility
imp... | 0 | Kotlin | 0 | 0 | b49ac089e3301adb5dcaca6443e13e257eb2be14 | 32,930 | YMusic | Apache License 2.0 |
platform/platform-impl/src/com/intellij/ide/ui/text/parts/RegularTextPart.kt | ingokegel | 72,937,917 | true | null | // Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.ide.ui.text.parts
import com.intellij.util.ui.JBUI
import org.jetbrains.annotations.ApiStatus
import javax.swing.text.StyleConstants
/**
* Basic text part that inserts simple ... | 1 | null | 1 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 663 | intellij-community | Apache License 2.0 |
app/src/main/java/com/app/missednotificationsreminder/settings/sound/SoundViewState.kt | httpdispatch | 45,973,237 | false | null | package com.app.missednotificationsreminder.settings.sound
data class SoundViewState(val ringtone: String, val ringtoneName: String) | 46 | null | 22 | 73 | 8f8c012f6ebc63c8a6262ac0e7afbbd89f798355 | 133 | MissedNotificationsReminder | Apache License 2.0 |
projects/parsing/src/main/kotlin/silentorb/imp/parsing/parser/Types.kt | silentorb | 235,929,224 | false | null | package silentorb.imp.parsing.parser
import silentorb.imp.core.PathKey
import silentorb.imp.parsing.resolution.IntermediateExpression
import silentorb.imp.parsing.syntax.Burg
import silentorb.imp.parsing.syntax.BurgId
import silentorb.imp.parsing.syntax.Realm
import java.nio.file.Path
const val localPath = ""
data c... | 3 | Kotlin | 0 | 1 | ca465c2b0a9864ded53114120d8b98dad44551dd | 1,088 | imp-kotlin | MIT License |
app/src/main/java/com/example/ruslanyussupov/popularmovies/data/local/ReviewDao.kt | ruslanyussupov | 122,436,627 | false | null | package com.example.ruslanyussupov.popularmovies.data.local
import androidx.paging.DataSource
import androidx.room.Dao
import androidx.room.Insert
import androidx.room.OnConflictStrategy
import androidx.room.Query
import com.example.ruslanyussupov.popularmovies.data.model.Review
@Dao
interface ReviewDao {
@Query... | 0 | Kotlin | 0 | 0 | 612674df598a86889a451f285c6aef9105838771 | 807 | popular-movies | MIT License |
XTool/src/main/java/com/danny/xtool/location/LocationUtil.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} | /*
* Copyright (c) 2023-2023 x
*/
package com.danny.xtool.location
import android.content.Context
import android.location.Address
import android.location.Geocoder
import android.location.LocationManager
import java.io.IOException
import java.util.*
class LocationUtil2 {
companion object {
fun isLocatio... | 0 | Java | 0 | 0 | 31020de9d942f1d0013c1bf7a8115decd229e296 | 1,106 | XLib | Apache License 2.0 |
src/kotlin/WaitFreeSetSupport/tree/TreeNodeReference.kt | Mr-Ravil | 554,236,537 | true | {"Markdown": 5, "Gradle": 2, "Text": 2, "Shell": 3, "Ant Build System": 1, "Batchfile": 1, "Ignore List": 1, "Makefile": 1, "Java": 417, "Kotlin": 51} | package tree
import allocation.IdAllocator
import descriptors.DummyDescriptor
import queue.lock.NonRootCircularBufferQueue
import queue.ms.NonRootLockFreeQueue
import result.SingleKeyWriteOperationResult
import java.util.concurrent.atomic.AtomicReferenceFieldUpdater
import common.lazyAssert
class TreeNodeReference<T ... | 0 | Java | 0 | 0 | 115ba09327a8cf0d4708c56f678e071af3edac37 | 9,346 | synchrobench | Apache License 2.0 |
appyx-interactions/android-utils/src/main/java/com/bumble/appyx/interactions/utils/ui/Colors.kt | bumble-tech | 493,334,393 | false | {"Kotlin": 837010, "JavaScript": 27336, "Python": 2324, "HTML": 694, "Shell": 327, "CSS": 268} | package com.bumble.appyx.interactions.utils.ui
import com.bumble.appyx.interactions.utils.ui.theme.atomic_tangerine
import com.bumble.appyx.interactions.utils.ui.theme.manatee
import com.bumble.appyx.interactions.utils.ui.theme.md_amber_500
import com.bumble.appyx.interactions.utils.ui.theme.md_blue_500
import com.bum... | 69 | Kotlin | 58 | 1,088 | bd2798bd89a8fe9f2a0cd0f86566cbcd48fb666c | 1,333 | appyx | Apache License 2.0 |
app/src/main/java/com/babylon/wallet/android/domain/model/assets/AccountWithAssets.kt | radixdlt | 513,047,280 | false | {"Kotlin": 4400478, "HTML": 215350, "Java": 18502, "Ruby": 2757, "Shell": 1962} | package com.babylon.wallet.android.domain.model.assets
import rdx.works.core.domain.assets.Assets
import rdx.works.core.domain.resources.AccountDetails
import rdx.works.core.domain.resources.metadata.AccountType
import rdx.works.profile.data.model.pernetwork.Network
data class AccountWithAssets(
val account: Netw... | 5 | Kotlin | 11 | 6 | aad2bc0b39f8871eca0b3e1f2b822c010cd016a6 | 526 | babylon-wallet-android | Apache License 2.0 |
elastik/elastik-core/src/commonTest/kotlin/com/keyflare/elastik/core/setup/platform/TestPlatform.kt | keyflare | 701,713,018 | false | {"Kotlin": 181716, "Ruby": 6618} | package com.keyflare.elastik.core.setup.platform
import com.keyflare.elastik.core.context.ElastikContext
import com.keyflare.elastik.core.context.ElastikPlatform
import com.keyflare.elastik.core.render.NoRender
import com.keyflare.elastik.core.routing.router.BaseRouter
import com.keyflare.elastik.core.setup.component.... | 0 | Kotlin | 0 | 0 | 5dbd51b27b02c0184f321dd0fb660a34c19c8101 | 1,460 | elastik | MIT License |
app/src/main/java/com/example/meuprimeiroprojeto/MainActivity.kt | HevellynSL | 739,791,684 | false | {"Kotlin": 3896} | package com.example.meuprimeiroprojeto
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.widget.Button
import android.widget.EditText
import android.widget.TextView
import android.widget.Toast
class MainActivity : AppCompatActivity() {
override f... | 0 | Kotlin | 0 | 0 | 288fa005904797a47eff169af4a4724fa081b536 | 1,473 | CalculadoraIMC | MIT License |
yyevac/src/main/java/com/yy/yyeva/decoder/EvaHardDecoder.kt | yylive | 508,612,266 | false | null | package com.yy.yyeva.decoder
import android.graphics.*
import android.media.*
import android.os.Build
import android.view.Surface
import com.yy.yyeva.file.IEvaFileContainer
import com.yy.yyeva.util.ELog
import com.yy.yyeva.util.EvaJniUtil
import com.yy.yyeva.util.EvaMediaUtil
import android.graphics.Bitmap
import andr... | 6 | C | 32 | 177 | 612ec372a7e6be72c9888ccf0a7f738009ffe464 | 19,262 | YYEVA-Android | Apache License 2.0 |
app/src/main/java/com/appunite/loudius/analytics/events/PullRequestsEvents.kt | appunite | 604,044,782 | false | {"Kotlin": 393247, "Python": 9529} | /*
* Copyright 2023 AppUnite S.A.
*
* 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 t... | 3 | Kotlin | 1 | 12 | 768329f4521ee394bb944d748c83d50bf4400f02 | 3,760 | Loudius | Apache License 2.0 |
app/src/test/java/com/hassienda/projectbootstrap/IocProviderTest.kt | adamrhass | 157,883,065 | false | null | package com.hassienda.projectbootstrap
import com.hassienda.projectbootstrap.api.IPostsService
import com.hassienda.projectbootstrap.ioc.IocProvider
import com.hassienda.projectbootstrap.ioc.iocGet
import com.hassienda.projectbootstrap.ioc.iocSet
import com.hassienda.projectbootstrap.managers.BootstrapManager
import c... | 0 | Kotlin | 0 | 0 | c927966abd7a6e8ecdd9f5c8d2dadd87952dfa00 | 1,513 | ProjectBootstrap | MIT License |
app/src/main/java/com/deymer/ibank/features/home/HomeScreenActions.kt | Deimer | 817,640,789 | false | {"Kotlin": 341824} | package com.deymer.ibank.features.home
data class HomeScreenActions(
val onPrimaryAction: () -> Unit,
val onSecondaryAction: (transactionId: String) -> Unit,
val onTertiaryAction: () -> Unit = {},
val onQuaternaryAction: () -> Unit = {},
)
| 0 | Kotlin | 0 | 0 | fa2adcf5f49ae4ff3be2c57076e644d9b74ee1f0 | 257 | iBank | MIT License |
vuesaxicons/src/commonMain/kotlin/moe/tlaster/icons/vuesax/vuesaxicons/bulk/Sms.kt | Tlaster | 560,394,734 | false | {"Kotlin": 25133302} | package moe.tlaster.icons.vuesax.vuesaxicons.bulk
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap
import androidx.co... | 0 | Kotlin | 0 | 2 | b8a8231e6637c2008f675ae76a3423b82ee53950 | 2,839 | VuesaxIcons | MIT License |
zircon.core/src/commonMain/kotlin/org/hexworks/zircon/api/modifier/TextureModifier.kt | Hexworks | 94,116,947 | false | {"Kotlin": 1614685, "Shell": 64} | package org.hexworks.zircon.api.modifier
import org.hexworks.zircon.api.data.Tile
/**
* A [TextureModifier] is a kind of [Modifier]
* that transforms the actual texture represented by
* a [Tile] before rendering.
*/
interface TextureModifier : Modifier
| 42 | Kotlin | 138 | 738 | 55a0ccc19a3f1b80aecd5f1fbe859db94ba9c0c6 | 259 | zircon | Apache License 2.0 |
plugins/stats-collector/completion-ranker/src/com/jetbrains/completion/ranker/JavaCompletionRanker.kt | nauua | 177,212,454 | true | null | // Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.jetbrains.completion.ranker
import com.completion.ranker.model.MLWhiteBox
class JavaCompletionRanker {
fun rank(features: DoubleArray): Double {
return ... | 1 | null | 1 | 1 | 5d7717ce68971d09f74e623660f748ff36c917f8 | 361 | intellij-community | Apache License 2.0 |
app/src/main/java/com/example/barcodetest/view/ItemsViewFragment.kt | Zahermah | 205,928,665 | false | null | package com.example.barcodetest.view
import android.os.Bundle
import android.util.Log
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.Toast
import androidx.fragment.app.Fragment
import androidx.recyclerview.widget.ItemTouchHelper
import androidx.recyclerv... | 0 | Kotlin | 0 | 0 | 7ab06da4053acf612e5b63c22172acabfa0a2c15 | 9,013 | Barcode | Apache License 2.0 |
calculadoraIMC/app/src/main/java/com/example/calculadoraimc/activity_Home.kt | JuniorGCY | 767,782,360 | false | {"Kotlin": 19522} | package com.example.calculadoraimc
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.widget.Toast
import com.example.calculadoraimc.databinding.ActivityHomeBinding
class activity_Home : AppCompatActivity() {
private lateinit var binding: ActivityHomeBinding
override fun ... | 0 | Kotlin | 0 | 0 | 084c6a5e7301fccdabc0d6d39fc62defc3f9ccdf | 3,101 | Apps | MIT License |
hand-ins/app/src/main/java/com/example/handins/handin3/classes.kt | Josef-TL | 751,238,665 | false | {"Kotlin": 21742} | package com.example.handins.handin3
import android.os.Build
import androidx.annotation.RequiresApi
import java.time.LocalDate
import java.time.LocalDate.now
import java.util.Calendar
import java.util.Date
// Opgave 1
class Article(private val title: String, private val author: String){
override fun toString(): S... | 0 | Kotlin | 0 | 0 | 2cff00eda76ddd6ec98f82fa6189ffa4709c39a4 | 2,447 | app-dev | MIT License |
src/main/kotlin/com/vauthenticator/server/password/resetpassword/RestePasswordEndPoint.kt | VAuthenticator | 191,632,792 | false | {"Kotlin": 542938, "TypeScript": 46919, "HCL": 12645, "Python": 9036, "HTML": 6658, "JavaScript": 1917, "Shell": 1604, "Dockerfile": 1275} | package com.vauthenticator.server.password.resetpassword
import com.fasterxml.jackson.databind.ObjectMapper
import com.vauthenticator.server.i18n.I18nMessageInjector
import com.vauthenticator.server.i18n.I18nScope
import com.vauthenticator.server.oauth2.clientapp.domain.Scope
import com.vauthenticator.server.oauth2.cl... | 40 | Kotlin | 1 | 18 | fe2c701f9029ab3c11e0f8fbf70cfab62414f508 | 3,550 | vauthenticator | Apache License 2.0 |
app/src/main/java/com/example/exampleapp/data/service/ExampleRetrofitService.kt | talsemgeest | 615,039,257 | false | null | package com.example.exampleapp.data.service
import com.example.exampleapp.data.model.Comment
import com.example.exampleapp.data.model.Post
import retrofit2.http.GET
import retrofit2.http.Query
interface ExampleRetrofitService {
@GET("/posts")
suspend fun getPosts(): List<Post>
@GET("/comments")
susp... | 0 | Kotlin | 0 | 0 | 04fca23d92bca4406cf764d03fb4e62b804d39b2 | 387 | JourneyCodingTest | Apache License 2.0 |
breeze-core/src/main/kotlin/core/extension/AnyExtensions.kt | DragonKnightOfBreeze | 205,561,109 | false | null | // Copyright (c) 2020-2021 DragonKnightOfBreeze Windea
// Breeze is blowing...
@file:JvmName("AnyExtensions")
@file:Suppress("NOTHING_TO_INLINE", "UNCHECKED_CAST")
package icu.windea.breezeframework.core.extension
import icu.windea.breezeframework.core.annotation.*
import icu.windea.breezeframework.core.model.*
impo... | 1 | Kotlin | 1 | 8 | c8198c558117544eb65c1d01ec3f34172148b067 | 8,395 | Breeze-Framework | MIT License |
app/src/main/java/com/rafay/livedatacoroutinesearch/models/User.kt | rafayali | 235,188,467 | false | null | package com.rafay.livedatacoroutinesearch.models
data class Users(val results: List<User>)
data class User(val gender: String, val name: Name)
data class Name(val title: String, val first: String, val last: String) | 0 | Kotlin | 0 | 2 | 06ba66b216857bad26219371336b31a4ddbbeede | 217 | livedata-coroutine-search-example | MIT License |
xcore/src/main/java/com/controlj/logging/CJLogView.kt | clydebarrow | 129,028,843 | true | {"Kotlin": 126177} | package com.controlj.logging
import com.controlj.layout.View
/**
* Copyright (C) Control-J Pty. Ltd. ACN 103594190
* All rights reserved
*
* User: clyde
* Date: 2019-04-02
* Time: 13:54
*/
object CJLogView {
var logger: (message: String) -> Unit = {
// System.err.println(message)
}
fun log... | 0 | Kotlin | 0 | 0 | 30e4548167adf63e7468871ffae649c0b99c7296 | 530 | XLayout | Apache License 2.0 |
src/main/kotlin/it/unibo/mqttclientwrapper/mock/serialization/MqttBrokerMockSer.kt | aPlacuzzi | 228,820,062 | true | {"Java": 683001, "Kotlin": 142963, "Python": 1569, "Shell": 97, "Batchfile": 95} | package it.unibo.mqttclientwrapper.mock.serialization
import it.unibo.mqttclientwrapper.api.MqttTopicConst
/**
* Mock that represent a iot.mqtt broker
*/
open class MqttBrokerMockSer protected constructor() {
private val clientSubscribed: MutableSet<MqttMockSer> = mutableSetOf()
protected val subscription: ... | 0 | Java | 2 | 0 | 5e52fd2cafdcb2a95c9f34c51bcaa4702faee304 | 2,839 | DingNet | MIT License |
app/src/test/java/com/duckduckgo/app/browser/autofill/ResultHandlerUpdateLoginCredentialsTest.kt | duckduckgo | 78,869,127 | false | null | /*
* Copyright (c) 2022 DuckDuckGo
*
* 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 ... | 62 | null | 894 | 3,397 | 51b26f6e0e694cabc213b1857f244caae995362f | 4,655 | Android | Apache License 2.0 |
common/src/commonMain/kotlin/model/wikiapi/WikiRepository.kt | OlexandrStepanov | 182,037,437 | false | null | package com.sto.kn.lib
interface WikiRepository {
suspend fun getNearestPages(location: Location): List<WikiPage>
}
class WikiRepositoryImpl : WikiRepository {
private val api = WikiApi()
private var cachedLocation: Location? = null
private var cachedResults: List<WikiPage> = emptyList()
overrid... | 0 | Kotlin | 0 | 0 | 7f188298668cac7e9c6979bc05099d4335b5479e | 666 | Kotlin-Native-MVP-Demo | MIT License |
app/src/main/java/com/umbraltech/multisteppages/testapp/flow/RegistrationFlow.kt | Alec-DeSouza | 238,966,237 | false | null | /*
* Copyright 2020 - present, Multi Step Pages 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... | 0 | Kotlin | 0 | 1 | a09816ab74a67665477628e3b0fa068061fecae4 | 6,487 | MultiStepPages | Apache License 2.0 |
rpm/src/androidTest/kotlin/dev/garage/rpm/validation/CheckValidatorTest.kt | vchernyshov | 249,563,649 | false | null | package me.dmdev.rxpm.validation
import com.nhaarman.mockitokotlin2.mock
import com.nhaarman.mockitokotlin2.verify
import com.nhaarman.mockitokotlin2.verifyZeroInteractions
import org.junit.Test
import kotlin.test.assertFalse
import kotlin.test.assertTrue
class CheckValidatorTest {
@Test fun checkIsValid() {
... | 7 | null | 2 | 12 | 902dcd41c1aae758200f427b2a95968a53f33bad | 892 | reaktive-pm | MIT License |
library/src/main/java/cn/rubintry/gopermission/core/request/SimpleRequest.kt | RubinTry | 368,127,499 | false | null | package cn.rubintry.gopermission.core.request
import androidx.fragment.app.FragmentActivity
import cn.rubintry.gopermission.core.*
import cn.rubintry.gopermission.core.DialogHooker
import cn.rubintry.gopermission.ext.checkNotEmpty
import cn.rubintry.gopermission.ext.toPermissionList
import kotlinx.coroutines.Coroutine... | 0 | Kotlin | 0 | 1 | 301138fb823717542dce7b703d6c81abebcbf012 | 2,731 | GoPermission | Apache License 2.0 |
libraries/design/src/main/java/com/fappslab/seedcake/libraries/design/pluto/activity/qrcode/reader/PlutoQrcodeReaderActivity.kt | F4bioo | 693,834,465 | false | {"Kotlin": 401014, "Python": 2583, "Shell": 900} | package com.fappslab.seedcake.libraries.design.pluto.activity.qrcode.reader
import android.content.Context
import android.content.Intent
import android.os.Build
import android.os.Bundle
import android.view.View
import android.view.WindowInsets
import android.view.WindowInsetsController
import androidx.annotation.Color... | 0 | Kotlin | 0 | 1 | b126728e15261c877943736d592d7d269618a114 | 4,133 | Seedcake | MIT License |
src/main/kotlin/com/backend/bms/payloads/responses/MessageResponse.kt | smgestupa | 541,424,658 | false | {"Kotlin": 42833} | package com.backend.bms.payloads.responses
class MessageResponse constructor(
message: String
) {
val message: String;
init {
this.message = message;
}
} | 0 | Kotlin | 0 | 1 | 2731617b39fd275f5952bdc0a255d45f42643beb | 180 | bms-backend | MIT License |
decoder/wasm/src/commonMain/kotlin/io/github/charlietap/chasm/decoder/wasm/decoder/section/global/GlobalSectionDecoder.kt | CharlieTap | 743,980,037 | false | {"Kotlin": 1956874, "WebAssembly": 45705} | package io.github.charlietap.chasm.decoder.wasm.decoder.section.global
import com.github.michaelbull.result.Result
import com.github.michaelbull.result.binding
import io.github.charlietap.chasm.ast.module.Global
import io.github.charlietap.chasm.ast.module.Index
import io.github.charlietap.chasm.decoder.wasm.Decoder
i... | 3 | Kotlin | 2 | 46 | c97e268ad588fb50fa468241d9e57161e409898a | 1,244 | chasm | Apache License 2.0 |
zcm/src/main/java/com/kyawhut/atsycast/zcm/ui/player/PlayerRepository.kt | kyawhtut-cu | 406,324,527 | false | null | package com.kyawhut.atsycast.msubpc.ui.player
import com.kyawhut.atsycast.share.db.entity.RecentlyWatchEntity
/**
* @author kyawhtut
* @date 9/8/21
*/
interface PlayerRepository {
fun getLastPosition(videoID: String, isResume: Boolean): Long
fun insertLastPosition(block: RecentlyWatchEntity.Builder.() ->... | 0 | Kotlin | 4 | 3 | 72d56fa28f5be7526f0a9848491ddd87cca3804d | 375 | atsy-cast | Apache License 2.0 |
src/main/kotlin/com/pineypiney/sonder/scenes/InnScene.kt | PineyPiney | 799,079,188 | false | {"Kotlin": 110872, "GLSL": 31174} | package com.pineypiney.sonder.scenes
import com.pineypiney.game_engine.util.extension_functions.fromHex
import com.pineypiney.sonder.SonderEngine
import com.pineypiney.sonder.building.Building
import com.pineypiney.sonder.environment.SushiBar
import glm_.vec2.Vec2
import glm_.vec3.Vec3
import glm_.vec4.Vec4
class Inn... | 0 | Kotlin | 0 | 0 | caf2a2726a799966b7ee7188590f85c9ed80aae2 | 768 | Sonder | MIT License |
gi/src/commonMain/kotlin/org/anime_game_servers/multi_proto/gi/data/activity/crystal_link/CrystalLinkRestartDungeonReq.kt | Anime-Game-Servers | 642,871,918 | false | {"Kotlin": 1651536} | package org.anime_game_servers.multi_proto.gi.data.activity.crystal_link
import org.anime_game_servers.core.base.Version.GI_2_6_0
import org.anime_game_servers.core.base.annotations.AddedIn
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
import org.anime_game_servers.core.base.annotations.proto... | 0 | Kotlin | 2 | 6 | 7639afe4f546aa5bbd9b4afc9c06c17f9547c588 | 429 | anime-game-multi-proto | MIT License |
back-handler/src/androidUnitTest/kotlin/com/arkivanov/essenty/backhandler/AndroidBackHandlerTest.kt | arkivanov | 385,374,863 | false | {"Kotlin": 151001} | package com.arkivanov.essenty.backhandler
import androidx.activity.OnBackPressedDispatcher
import kotlin.test.Test
import kotlin.test.assertContentEquals
import kotlin.test.assertFalse
import kotlin.test.assertTrue
@Suppress("TestFunctionName")
class AndroidBackHandlerTest {
private val dispatcher = OnBackPresse... | 0 | Kotlin | 13 | 383 | 92174d10f1bf53bf625c653c18b49fec79362d71 | 6,646 | Essenty | Apache License 2.0 |
src/main/kotlin/dev/emortal/immortal/commands/SettingsCommand.kt | EmortalMC | 387,273,202 | false | null | package dev.emortal.immortal.commands
import dev.emortal.immortal.game.GameManager.game
import dev.emortal.immortal.luckperms.PermissionUtils.hasLuckPermission
import net.kyori.adventure.text.Component
import net.kyori.adventure.text.format.NamedTextColor
import net.minestom.server.command.builder.arguments.ArgumentTy... | 6 | Kotlin | 0 | 9 | 280ecf22507d161da211276489ce65b1674d2b05 | 1,646 | Immortal | MIT License |
app/src/test/java/com/hypertrack/android/interactors/app/AppInteractorTest.kt | hypertrack | 241,723,736 | false | null | package com.hypertrack.android.interactors.app
import io.mockk.every
import io.mockk.mockk
import junit.framework.TestCase
class AppInteractorTest {
companion object {
fun appInteractor(): AppInteractor {
return mockk {
every { handleAction(any()) } returns Unit
}
... | 1 | Kotlin | 17 | 31 | c5dd23621aed11ff188cf98ac037b67f435e9f5b | 337 | visits-android | MIT License |
app/src/main/java/com/example/myapplication/activity/CartActivity.kt | RajAkash01 | 357,224,959 | false | null | package com.example.myapplication.activity
import android.content.BroadcastReceiver
import android.content.Context
import android.content.Intent
import android.content.IntentFilter
import android.os.Bundle
import android.view.View
import android.widget.Toast
import androidx.appcompat.app.AppCompatActivity
import andro... | 0 | Kotlin | 0 | 0 | d74c1e3dab992939fb7f73f0d1f65d796a152b67 | 3,172 | FoodRunner-App | Apache License 2.0 |
src/main/kotlin/com/x256n/regexapplier/desktop/screen/home/HomeViewModel.kt | liosha2007 | 622,254,001 | false | null | @file:OptIn(ExperimentalSerializationApi::class, ExperimentalSerializationApi::class)
package com.x256n.regexapplier.desktop.screen.home
import androidx.compose.runtime.State
import androidx.compose.runtime.mutableStateOf
import androidx.compose.ui.text.TextRange
import androidx.compose.ui.text.input.TextFieldValue
i... | 0 | Kotlin | 0 | 0 | 5507bdec71ac500a292a11e2223ed5c01fe1a440 | 17,571 | regex-applier | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.