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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
app/src/main/java/com/mrebollob/leitnerbox/domain/interactor/LeitnerBoxUseCases.kt | mrebollob | 155,557,246 | false | null | package com.mrebollob.leitnerbox.domain.interactor
import com.mrebollob.leitnerbox.domain.exception.Failure
import com.mrebollob.leitnerbox.domain.functional.Either
import com.mrebollob.leitnerbox.domain.model.LeitnerDay
import com.mrebollob.leitnerbox.domain.model.Level
import com.mrebollob.leitnerbox.domain.reposito... | 0 | Kotlin | 0 | 2 | 3e3bfef678dd6e2daff7e6c67ec7dfc0b47a3f81 | 652 | leitner-box | Apache License 2.0 |
chatbot/src/main/kotlin/io/github/lunarwatcher/chatbot/bot/commands/Meta.kt | Whispres | 139,194,735 | false | {"Git Config": 1, "Text": 2, "YAML": 1, "Markdown": 4, "Ignore List": 1, "Python": 7, "XML": 13, "Gradle": 2, "Shell": 1, "Batchfile": 1, "Java Properties": 1, "Kotlin": 23, "Java": 21, "JAR Manifest": 1} | package io.github.lunarwatcher.chatbot.bot.commands
import io.github.lunarwatcher.chatbot.BotCore
import io.github.lunarwatcher.chatbot.Configurations
import io.github.lunarwatcher.chatbot.Constants
import io.github.lunarwatcher.chatbot.Database
import io.github.lunarwatcher.chatbot.bot.ReplyBuilder
import io.github.l... | 1 | null | 1 | 1 | ae10f275f3bf57be27e01ae00fc94d20f6f4040c | 10,135 | NN-chatbot | Apache License 2.0 |
lite/examples/style_transfer/android/app/src/main/java/org/tensorflow/lite/examples/styletransfer/fragments/StyleAdapter.kt | tensorflow | 141,200,054 | false | {"Jupyter Notebook": 1733035, "Python": 1236700, "Kotlin": 701472, "Swift": 553535, "Java": 344358, "C++": 121451, "Shell": 42663, "JavaScript": 24461, "Starlark": 17666, "Objective-C": 14639, "Objective-C++": 14293, "HTML": 12491, "CSS": 4746, "Ruby": 3736, "CMake": 2634, "Dockerfile": 467} | /*
* Copyright 2022 The TensorFlow Authors. 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.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless... | 133 | Jupyter Notebook | 7394 | 7,912 | 9084c2efc4837ecaa2544b43ea2f3c26b593dde4 | 2,879 | examples | Apache License 2.0 |
app/src/test/kotlin/fr/free/nrw/commons/notification/NotificationActivityUnitTests.kt | Bulgarrus | 347,515,615 | true | {"Java Properties": 5, "YAML": 3, "Shell": 4, "Markdown": 8, "Gradle": 6, "Text": 5, "Batchfile": 2, "Ignore List": 2, "SVG": 2, "XML": 526, "PHP": 2, "Makefile": 1, "Proguard": 1, "JSON": 52, "Java": 456, "Kotlin": 240, "Python": 2, "Jinja": 1, "SPARQL": 3} | package fr.free.nrw.commons.notification
import android.content.Context
import android.content.Intent
import android.view.Menu
import android.view.MenuItem
import fr.free.nrw.commons.TestAppAdapter
import fr.free.nrw.commons.TestCommonsApplication
import org.junit.Assert
import org.junit.Before
import org.junit.Test
i... | 0 | null | 0 | 0 | f64127d60abc07f70526e97c668f877d7397cd4e | 2,161 | apps-android-commons | Apache License 2.0 |
app/src/main/java/com/mapswithme/maps/search/Popularity.kt | dnemov | 245,413,600 | false | {"Gradle": 3, "Java Properties": 3, "Shell": 1, "Text": 16, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "INI": 1, "Proguard": 1, "XML": 624, "Kotlin": 708, "Java": 9, "HTML": 3, "JSON": 95} | package com.mapswithme.maps.search
import android.os.Parcelable
import kotlinx.android.parcel.Parcelize
@Parcelize
class Popularity(private val popularity: Int) : Parcelable {
val type: Type
get() = Type.makeInstance(popularity)
companion object {
fun defaultInstance(): Popularity {
... | 0 | Kotlin | 0 | 1 | 8b75114193e141aee14fcbc207a208c4a39de1db | 696 | omim.kt | Apache License 2.0 |
src/main/kotlin/com/mineinabyss/looty/ecs/queries/LootyTypeQuery.kt | MineInAbyss | 306,092,255 | false | null | package com.mineinabyss.looty.ecs.queries
import com.mineinabyss.geary.datatypes.family.family
import com.mineinabyss.geary.prefabs.PrefabKey
import com.mineinabyss.geary.prefabs.configuration.components.Prefab
import com.mineinabyss.geary.systems.accessors.TargetScope
import com.mineinabyss.geary.systems.query.GearyQ... | 8 | null | 4 | 7 | e3a9fdd22ef60b2143544a5192b14a08afb9aa74 | 567 | Looty | MIT License |
app/src/main/java/com/chmichat/chat/ui/adapter/message/ActivityAdapter.kt | kai0726shanxi | 202,696,066 | false | null | package com.chmichat.chat.ui.adapter.message
import android.content.Context
import com.chmichat.chat.view.recyclerview.ViewHolder
import com.chmichat.chat.view.recyclerview.adapter.CommonAdapter
/**活动
* @Author 20342
* @Date 2019/8/21 15:47
*/
class ActivityAdapter(context: Context, list: ArrayList<String>):Common... | 0 | Kotlin | 0 | 0 | 1ee3f69f882673ca141dbcfb51052bc13b75d49c | 440 | KotlinBuyCheMi | Apache License 2.0 |
adoptium-api-v3-persistence/src/main/kotlin/net/adoptium/api/v3/TimeSource.kt | adoptium | 349,432,712 | false | null | package net.adoptopenjdk.api.v3
import java.time.LocalDate
import java.time.ZoneId
import java.time.ZonedDateTime
import java.time.temporal.ChronoUnit
object TimeSource {
val ZONE: ZoneId = ZoneId.of("Z")
fun now(): ZonedDateTime = ZonedDateTime.now(ZONE).truncatedTo(ChronoUnit.SECONDS)
fun date(): LocalD... | 7 | null | 4 | 9 | ddb39b5f7a71236694fc9df44e1bf3a888ba1fbc | 348 | api.adoptium.net | Apache License 2.0 |
misc/src/main/java/good/damn/sav/misc/interfaces/VEIDrawable.kt | GoodDamn | 850,249,504 | false | {"Kotlin": 68918, "Java": 700} | package good.damn.sav.misc.interfaces
import android.graphics.Canvas
interface VEIDrawable {
fun onDraw(
canvas: Canvas
)
} | 0 | Kotlin | 0 | 1 | 7889c135f817b773958e4a5fcda1eeaaa9410505 | 142 | VectorEditorAndroid | MIT License |
remix/src/commonMain/kotlin/com/woowla/compose/icon/collections/remix/remix/arrows/ArrowLeftUpLine.kt | walter-juan | 868,046,028 | false | {"Kotlin": 34345428} | package com.woowla.compose.icon.collections.remix.remix.arrows
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.Str... | 0 | Kotlin | 0 | 3 | eca6c73337093fbbfbb88546a88d4546482cfffc | 1,720 | compose-icon-collections | MIT License |
weaver/samples/corda/corda-simple-application/clients/src/main/kotlin/com/cordaSimpleApplication/client/UtilsManager.kt | RafaelAPB | 241,220,244 | false | null | /*
* Copyright IBM Corp. All Rights Reserved.
*
* SPDX-License-Identifier: Apache-2.0
*/
package com.cordaSimpleApplication.client
import com.github.ajalt.clikt.core.CliktCommand
import com.github.ajalt.clikt.core.requireObject
import com.github.ajalt.clikt.parameters.arguments.argument
import com.github.ajalt.cl... | 50 | null | 46 | 6 | 4c94bf21ee570349995c61204fe60a2dc6a35766 | 11,041 | blockchain-integration-framework | Apache License 2.0 |
quickupload/src/main/java/com/dh/quickupload/data/UploadFile.kt | XJ-Up | 807,406,660 | false | {"Kotlin": 115379} | package com.dh.quickupload.data
import android.os.Parcelable
import java.util.LinkedHashMap
import kotlinx.parcelize.IgnoredOnParcel
import kotlinx.parcelize.Parcelize
import com.dh.quickupload.UploadConfiguration
import com.dh.quickupload.tools.datapreservation.Persistable
import com.dh.quickupload.tools.datapreserva... | 0 | Kotlin | 0 | 5 | aa61d1cfdfc330abd6cfdd031a48ec446d43330a | 1,924 | quickupload | Apache License 2.0 |
src/test/kotlin/eu/quiqua/geojson/moshi/PositionJsonAdapterSpec.kt | quiqua | 145,003,416 | false | null | package eu.quiqua.geojson.moshi
import com.natpryce.hamkrest.Matcher
import com.natpryce.hamkrest.assertion.assert
import com.natpryce.hamkrest.containsSubstring
import com.natpryce.hamkrest.equalTo
import com.natpryce.hamkrest.has
import com.natpryce.hamkrest.present
import com.natpryce.hamkrest.throws
import com.squ... | 3 | Kotlin | 2 | 3 | fdebb2285923d82dcdb8f3b2c93fcb2526321bbd | 3,841 | kotlin-geojson-moshi | MIT License |
app/src/main/java/com/example/gestordeperfumaria/entities/BrandEntity.kt | AllanBismarck123 | 621,640,618 | false | null | package com.example.gestordeperfumaria.entities
import androidx.room.Entity
import androidx.room.PrimaryKey
@Entity(tableName = "brand")
data class BrandEntity (
@PrimaryKey(autoGenerate = true)
val id: Long = 0,
val name: String,
val profit: Float = 0f
) | 0 | Kotlin | 0 | 1 | fe2089910cbe08f7524164e4972313df2e0645d8 | 273 | Gestor-de-Perfumaria | MIT License |
config/src/main/kotlin/org/tty/dioc/config/schema/ConfigSchema.kt | h1542462994 | 374,315,892 | false | null | package org.tty.dioc.config.schema
import kotlin.reflect.KClass
/**
* schema of the key.
* the declaration is registered in [ConfigSchemas]
* @see ConfigSchemas
*/
interface ConfigSchema<T: Any> {
/**
* the name of the schema
*/
val name: String
/**
* the present type
*/
val t... | 0 | Kotlin | 0 | 1 | f24ce47a59936ee21a7d705ef19b5c2e17208868 | 486 | dioc | MIT License |
plugin/src/main/kotlin/com/jraska/module/graph/assertion/GraphAssert.kt | jraska | 227,907,412 | false | {"Kotlin": 65591} | package com.jraska.module.graph.assertion
import com.jraska.module.graph.DependencyGraph
import java.io.Serializable
interface GraphAssert : Serializable {
fun assert(dependencyGraph: DependencyGraph)
}
| 3 | Kotlin | 22 | 522 | 03a3d40cae4c8625f3f80f0286214f3dd4fd4a78 | 207 | modules-graph-assert | Apache License 2.0 |
app/src/main/java/com/branhamplayer/android/ui/WelcomeFragment.kt | branham-player | 146,603,498 | false | {"Kotlin": 141589} | package com.branhamplayer.android.ui
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import butterknife.ButterKnife
import butterknife.OnClick
import butterknife.Unbinder
import com.auth0.android.authentication.sto... | 5 | Kotlin | 1 | 3 | 46ed0e603a748f77fdd9fa0ad48a9ab8f787e2f3 | 1,876 | android | MIT License |
engine/src/main/java/com/google/android/fhir/sync/upload/ResourceConsolidator.kt | google | 247,977,633 | false | null | /*
* Copyright 2023-2024 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | 337 | null | 288 | 485 | d417dde6c08d0a21b620754400b37e0fe131e679 | 4,865 | android-fhir | Apache License 2.0 |
app/src/main/java/online/litterae/familyorganizer/sqlite/MyGroupDao.kt | YuriShakhov | 285,826,664 | false | null | package online.litterae.familyorganizer.sqlite
import androidx.room.*
@Dao
interface MyGroupDao {
@Query("SELECT * FROM MyGroup")
fun getAll(): List<MyGroup?>?
// @Query("SELECT * FROM MYGROUP WHERE iAmAdmin = 1")
// fun getMyModeratedGroups(): List<MyGroup?>?
//
// @Query("SELECT name FROM MYGROUP ... | 0 | Kotlin | 0 | 0 | 69d8fbb824ea0c18b551cc439b428f7df707dd2f | 1,830 | family-organizer | Apache License 2.0 |
plugins/kotlin/idea/tests/testData/quickfix/canBeParameter/usedVarArg.kt | ingokegel | 72,937,917 | false | null | // "Remove 'val' from parameter" "true"
class Wrapper(vararg <caret>val x: Int) {
val y = x
}
// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.CanBeParameterInspection$RemoveValVarFix | 284 | null | 5162 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 200 | intellij-community | Apache License 2.0 |
app/src/main/kotlin/com/tuanhv/mvvmarch/sample/ui/home/HomeViewModel.kt | oTranThanhNghia | 158,661,629 | false | null | package com.tuanhv.mvvmarch.sample.ui.home
import android.arch.lifecycle.ViewModel
import com.tuanhv.mvvmarch.base.injection.PerActivity
import javax.inject.Inject
/**
* Created by hoang.van.tuan on 8/7/18.
*/
@PerActivity
class HomeViewModel @Inject constructor() : ViewModel() {
}
| 0 | null | 1 | 1 | 0c79ed947ef682c98f6149b663d34dcc0bdfdea4 | 289 | mvvm_base_arch | MIT License |
app/src/main/java/com/example/android/trackr/ui/tasks/TasksViewModel.kt | itsergpot | 380,940,303 | false | null | /*
* Copyright (C) 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 app... | 0 | Kotlin | 0 | 0 | b1e70e9a1009edacbc8d450421d2708156018027 | 5,087 | trackr_kaspresso | Apache License 2.0 |
app/src/main/java/info/degirona/creativelab/ui/theme/Color.kt | manuel-martos | 576,757,261 | false | null | package info.degirona.creativelab.ui.theme
import androidx.compose.ui.graphics.Color
val Purple40 = Color(0xFF6650a4)
val PurpleGrey40 = Color(0xFF625b71)
val Pink40 = Color(0xFF7D5260) | 0 | Kotlin | 5 | 98 | 80ab274cbd87b864da95fa22cb623628d77fa848 | 187 | creative-lab | MIT License |
src/main/kotlin/com/aemtools/completion/htl/provider/option/HtlContextOptionAssignmentCompletionProvider.kt | iannovic | 107,144,305 | true | {"Kotlin": 574047, "HTML": 14948, "Java": 4019, "Lex": 3652} | package com.aemtools.completion.htl.provider.option
import com.aemtools.completion.htl.predefined.HtlELPredefined
import com.intellij.codeInsight.completion.CompletionParameters
import com.intellij.codeInsight.completion.CompletionProvider
import com.intellij.codeInsight.completion.CompletionResultSet
import com.intel... | 0 | Kotlin | 0 | 0 | d9c1558872fd5e32f18e0bab0afa8f4495da95b0 | 1,017 | aemtools | MIT License |
src/main/kotlin/uk/gov/justice/digital/hmpps/approvedpremisesapi/util/AssessmentUtils.kt | ministryofjustice | 515,276,548 | false | {"Kotlin": 4766394, "Shell": 7358, "Dockerfile": 1667} | package uk.gov.justice.digital.hmpps.approvedpremisesapi.util
import uk.gov.justice.digital.hmpps.approvedpremisesapi.api.model.ApprovedPremisesAssessmentStatus
import uk.gov.justice.digital.hmpps.approvedpremisesapi.api.model.ApprovedPremisesAssessmentSummary
import uk.gov.justice.digital.hmpps.approvedpremisesapi.ap... | 16 | Kotlin | 1 | 1 | cd8abae26b74c0ff6fffd80a62471d158355642d | 4,092 | hmpps-approved-premises-api | MIT License |
app/src/main/java/com/shicheeng/picacgmaterial3/ui/screen/home/history/History.kt | shizheng233 | 499,110,507 | false | null | package com.shicheeng.picacgmaterial3.ui.screen.home.history
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.runtime.Composable
import androidx.compose.runtime.collectAsState
import androidx.compose.runtime.getValue
import androidx.compose.ui.... | 1 | Kotlin | 1 | 50 | 1017478f5e9e13c3b774d2796efe969406367e99 | 1,117 | PicacgMaterial3 | MIT License |
src/main/kotlin/com/projectcitybuild/core/entities/Player.kt | projectcitybuild | 42,997,941 | false | null | package com.projectcitybuild.core.entities
import java.util.*
data class Player(val uuid: UUID,
var isMuted: Boolean) | 3 | Kotlin | 0 | 1 | 1244cdb6ebb465f7fe6f3c6ee40339d8e39ae8fc | 137 | PCBridge | MIT License |
part3/chapter2/MyMovie1/app/src/main/java/org/techtown/movie/MainActivity.kt | mike-jung | 281,814,310 | false | null | package org.techtown.movie
import android.os.Bundle
import android.widget.Toast
import androidx.appcompat.app.ActionBarDrawerToggle
import androidx.appcompat.app.AppCompatActivity
import androidx.core.view.GravityCompat
import androidx.fragment.app.Fragment
import kotlinx.android.synthetic.main.activity_main.*
class ... | 0 | Kotlin | 17 | 13 | f7b6f1df6d5445bee3b02c63527c997da22157f1 | 2,728 | kotlin-android | Apache License 2.0 |
app/src/main/java/com/kylecorry/trail_sense_experiments/ui/colormaps/RgbInterpolationColorMap.kt | kylecorry31 | 818,747,690 | false | {"Kotlin": 30869} | package com.kylecorry.trail_sense_experiments.ui.colormaps
import android.graphics.Color
import androidx.annotation.ColorInt
import kotlin.math.min
open class RgbInterpolationColorMap(private val colors: Array<Int>) : ColorMap {
override fun getColor(percent: Float): Int {
if (colors.isEmpty()) {
... | 0 | Kotlin | 0 | 0 | 1a7883de236feab79f2d0107fc14665f486aa91a | 1,363 | Trail-Sense-Experiments | MIT License |
app/src/main/java/one/xcorp/feedster/data/entity/FeedsPageEntity.kt | m4xp1 | 144,466,388 | false | null | package one.xcorp.feedster.data.entity
import com.google.gson.annotations.SerializedName
data class FeedsPageEntity(
@SerializedName("results")
val feeds: List<FeedEntity> = emptyList()
) | 0 | Kotlin | 0 | 2 | 778e931b6056b6e0b254707ebaa1595031272f3a | 205 | Feedster | MIT License |
app/src/main/java/com/andrews/ghanatunes/domain/model/NewsModel.kt | AndrewsKanyi | 474,346,934 | false | {"Kotlin": 29173} | package com.andrews.ghanatunes.domain.model
data class NewsModel(val title:String, val content:String, val source:String)
| 0 | Kotlin | 0 | 0 | 86b6dce98f3f01ecbbe94256c655af44eeb90c7c | 123 | GhanaTunes | MIT License |
src/main/kotlin/com/kazzutilsv2/features/dungeon/F7/TerminalWaypoints.kt | FizzHatMc | 804,593,419 | false | {"Kotlin": 418098, "Java": 35134, "Shell": 1219} | package com.kazzutilsv2.features.dungeon.F7
import com.kazzutilsv2.KazzUtilsV2
import com.kazzutilsv2.data.enumClass.DunClass
import com.kazzutilsv2.data.m7.coords.TermCoords
import com.kazzutilsv2.utils.CatacombsUtils
import com.kazzutilsv2.utils.ColorUtils.toChromaColorInt
import com.kazzutilsv2.utils.RenderUtils
im... | 0 | Kotlin | 0 | 0 | dd3928ebb6923bf74d8215062fcc75e52e7d7637 | 7,807 | KazzUtilsV2 | The Unlicense |
kotlin-node/src/jsMain/generated/node/inspector/nodetracing/StartParameterType.kt | JetBrains | 93,250,841 | false | {"Kotlin": 12635434, "JavaScript": 423801} | // Generated by Karakum - do not modify it manually!
package node.inspector.nodetracing
sealed external interface StartParameterType {
var traceConfig: TraceConfig
}
| 38 | Kotlin | 162 | 1,347 | 997ed3902482883db4a9657585426f6ca167d556 | 172 | kotlin-wrappers | Apache License 2.0 |
app/src/main/java/com/kuneosu/mintoners/ui/viewmodel/HomeViewModel.kt | Kuneosu | 823,904,157 | false | {"Kotlin": 235754} | package com.kuneosu.mintoners.ui.viewmodel
import android.util.Log
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.kuneosu.mintoners.data.model.Match
import com.kuneosu.mintoners.data.repository.HomeRep... | 0 | Kotlin | 0 | 0 | 170ea06bad1ef0942202cb7ff7a6213885ea134c | 1,354 | Mintoners | MIT License |
src/commonMain/kotlin/com/carlonzo/ukey2/d2d/SecureMessageBuilder.kt | carlonzo | 649,537,838 | false | {"Kotlin": 121111} | // Copyright 2020 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 in ... | 7 | Kotlin | 0 | 1 | f69bb24204391809cf468ccd062575b105d2cecc | 10,024 | ukey2-kmp | MIT License |
src/main/kotlin/swyg/hollang/repository/hobbytype/HobbyTypeJpaRepository.kt | MOKY4 | 645,608,258 | false | null | package swyg.hollang.repository.hobbytype
import org.springframework.data.jpa.repository.JpaRepository
import org.springframework.data.jpa.repository.Query
import swyg.hollang.entity.HobbyType
interface HobbyTypeJpaRepository: JpaRepository<HobbyType, Long> {
fun findByMbtiType(mbtiType: String): HobbyType?
... | 0 | Kotlin | 0 | 0 | 1dfd19a2bac2f6b1ebe26b91926adec2ccb334e9 | 389 | hollang-weeks52-api-server | MIT License |
DownloadLib/src/main/java/com/kronos/download/DownloadManager.kt | Leifzhang | 57,953,076 | false | {"Java": 211425, "Kotlin": 24178} | package com.kronos.download
import android.content.Context
import android.content.Intent
import java.io.BufferedInputStream
import java.io.File
import java.io.IOException
import java.io.InputStream
import java.io.RandomAccessFile
import java.util.HashMap
import okhttp3.OkHttpClient
import okhttp3.Request
/**
* Cre... | 1 | Java | 1 | 5 | 71738f59e5b5d9c874bbe49b652fe8c413f9d934 | 6,539 | Volley-Okhttp-Rebulid | MIT License |
testing/src/main/java/org/oppia/android/testing/robolectric/ShadowBidiFormatter.kt | oppia | 148,093,817 | false | null | package org.oppia.android.testing.robolectric
import androidx.core.text.BidiFormatter
import org.robolectric.annotation.Implementation
import org.robolectric.annotation.Implements
import org.robolectric.annotation.RealObject
import org.robolectric.shadow.api.Shadow
import org.robolectric.util.ReflectionHelpers
import ... | 508 | null | 517 | 315 | 95699f922321f49a3503783187a14ad1cef0d5d3 | 4,368 | oppia-android | Apache License 2.0 |
postgresql/src/main/kotlin/io/github/clasicrando/kdbc/postgresql/stream/RawMessage.kt | ClasicRando | 722,364,579 | false | {"Kotlin": 861814} | package io.github.clasicrando.kdbc.postgresql.stream
import io.github.clasicrando.kdbc.core.buffer.ByteReadBuffer
/**
* General wrapper for a postgresql backend message. Contents are laid out as:
* - a header [format] [Byte]
* - a [size] [UInt] value (tells the client how many more byte are part of the message)
*... | 7 | Kotlin | 0 | 0 | 5440565fd91cf3caf0bf3e913afba3078c24c24e | 530 | kdbc | Apache License 2.0 |
src/rider/main/kotlin/com/intelligentcomments/core/comments/navigation/CommentsNavigationHost.kt | aerooneqq | 413,810,255 | false | {"C#": 669344, "Kotlin": 636063} | package com.intelligentcomments.core.comments.navigation
import com.intelligentcomments.core.domain.core.Reference
import com.intelligentcomments.core.domain.rd.toRdReference
import com.intellij.openapi.editor.Editor
import com.intellij.openapi.project.Project
import com.jetbrains.rd.ide.model.*
import com.jetbrains.r... | 0 | C# | 2 | 11 | 48bbfff2384d55a960a1129777e1cdd38803d883 | 1,358 | IntelligentComments | MIT License |
game/music-quiz/src/main/kotlin/dev/schlaubi/mikbot/game/music_quiz/game/SongQuizGame.kt | DRSchlaubi | 409,332,765 | false | null | package dev.schlaubi.mikbot.game.music_quiz.game
import com.kotlindiscord.kord.extensions.i18n.TranslationsProvider
import dev.kord.common.Locale
import dev.kord.common.entity.ButtonStyle
import dev.kord.common.entity.DiscordPartialEmoji
import dev.kord.common.entity.Snowflake
import dev.kord.core.behavior.UserBehavio... | 23 | null | 11 | 31 | ada5a2d41fa4f9aa4f6b387eaee5ba200d7e6e11 | 7,055 | mikbot | MIT License |
scripts/src/main/java/com/mathewsachin/fategrandautomata/scripts/modules/ServantTracker.kt | sh805190 | 407,998,811 | true | {"Kotlin": 600952} | package com.mathewsachin.fategrandautomata.scripts.modules
import com.mathewsachin.fategrandautomata.scripts.IFgoAutomataApi
import com.mathewsachin.fategrandautomata.scripts.Images
import com.mathewsachin.fategrandautomata.scripts.models.CommandCard
import com.mathewsachin.fategrandautomata.scripts.models.OrderChange... | 0 | null | 0 | 1 | 4c5a924f4b7b57286866e7b1fc84a04dfffa7bfe | 6,259 | FGA | MIT License |
src/main/kotlin/com/github/tenebras/dbrepository/extension/GsonBuilder.kt | tenebras | 140,848,770 | false | {"Kotlin": 33374} | package com.github.tenebras.dbrepository.extension
import com.google.gson.GsonBuilder
import kotlin.reflect.KClass
fun GsonBuilder.registerTypeAdapter(klass: KClass<*>, typeAdapter: Any) = registerTypeAdapter(klass.java, typeAdapter) | 0 | Kotlin | 0 | 0 | 053041a3be9b48b5106f263d89a3a846a884cf4b | 235 | dbrepository | MIT License |
app/src/main/java/com/vitor238/myrecipes/data/model/Category.kt | Vitor238 | 379,073,042 | false | null | package com.vitor238.myrecipes.data.model
import androidx.annotation.DrawableRes
import androidx.annotation.StringRes
data class Category(
val type: String,
@StringRes val name: Int,
@DrawableRes val thumbnail: Int
) | 0 | Kotlin | 0 | 0 | 15d9f097164faa67d5edd83f34afed57fd447a7c | 230 | My-Recipes | MIT License |
app/src/main/java/com/spin/id/ui/otp/OtpActivity.kt | RifqiFadhell | 501,564,017 | false | null | package com.spin.id.ui.otp
import android.Manifest
import android.annotation.SuppressLint
import android.content.*
import android.os.Bundle
import android.os.CountDownTimer
import android.util.Log
import android.view.KeyEvent
import androidx.core.content.ContextCompat
import com.amplitude.api.Amplitude
import com.ampl... | 0 | Kotlin | 0 | 0 | ac0082e9f8ce71f3e17c758e59d925bfed2ec753 | 22,047 | SPIN | Apache License 2.0 |
android/src/main/java/us/powerdesigninc/prompt/RNAlertPromptPackage.kt | powerdesigninc | 260,468,396 | false | null | package us.powerdesigninc.prompt
import com.facebook.react.ReactPackage
import com.facebook.react.bridge.NativeModule
import com.facebook.react.bridge.ReactApplicationContext
import com.facebook.react.uimanager.ViewManager
import java.util.*
class RNAlertPromptPackage : ReactPackage {
override fun createNativeMod... | 18 | null | 3 | 3 | 1947ec57b44d33a79b22ddd83b9ff00269d9041e | 600 | react-native-prompt | MIT License |
buildSrc/src/main/java/Dependencies.kt | dailymotion | 10,331,217 | false | null | object Version {
val targetSdkVersion = 31
val minSdkVersion = 21
val compileSdkVersion = 31
val androidPlugin = "7.1.1"
val kotlin = "1.6.10"
}
object Libs {
const val kxCoroutines = "org.jetbrains.kotlinx:kotlinx-coroutines-core:_"
const val kxCoroutinesAndroid = "org.jetbrains.kotlinx:k... | 3 | Kotlin | 56 | 86 | 8b30966fade14714ca3f8271aa4bb24ca544e6ad | 1,065 | dailymotion-player-sdk-android | MIT License |
app/src/main/java/org/coepi/android/domain/model/Symptom.kt | yibter | 260,080,429 | true | {"Kotlin": 137981} | package org.coepi.android.domain.model
import android.os.Parcelable
import kotlinx.android.parcel.Parcelize
@Parcelize
data class Symptom(
val id: String,
val name: String
) : Parcelable
| 0 | null | 0 | 0 | e64a035f5b7a154733ef09db0d8d7c0d5cb5efa2 | 197 | app-android | MIT License |
kotlin-native/build-tools/src/main/kotlin/org/jetbrains/kotlin/gradle/plugin/konan/KonanCliRunner.kt | JetBrains | 3,432,266 | false | {"Kotlin": 79571273, "Java": 6776465, "Swift": 4063829, "C": 2609744, "C++": 1957654, "Objective-C++": 175279, "JavaScript": 130754, "Python": 59855, "Shell": 34920, "Objective-C": 21463, "Lex": 21452, "Batchfile": 11382, "CSS": 11368, "Ruby": 10470, "Dockerfile": 9907, "Groovy": 7092, "EJS": 5241, "CMake": 4473, "HTML... | /*
* Copyright 2010-2023 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.gradle.plugin.konan
import org.gradle.api.logging.LogLevel
import org.gradle.api... | 181 | Kotlin | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 4,432 | kotlin | Apache License 2.0 |
src/main/kotlin/com/theoxao/base/persist/repository/impl/DefaultScriptRepository.kt | iotaki | 193,652,912 | false | {"Java": 545033, "Kotlin": 48909, "ANTLR": 19699, "Groovy": 1545, "JavaScript": 180} | package com.theoxao.base.persist.repository.impl
import com.theoxao.base.persist.model.ScriptModel
import com.theoxao.base.persist.repository.ScriptRepository
import org.bson.types.ObjectId
import org.springframework.data.mongodb.core.MongoTemplate
import org.springframework.stereotype.Repository
/**
* @author theo... | 1 | null | 1 | 1 | 067fc99b451a6c6ca10d5750c81f2c196b7878a6 | 597 | xatu | MIT License |
src/main/kotlin/br/com/zup/b1gvini/pix/grpc/registra/NovaChavePixService.kt | b1gvini | 385,366,765 | true | {"Kotlin": 62931} | package br.com.zup.b1gvini.pix.grpc.registra
import br.com.zup.b1gvini.clients.BCB
import br.com.zup.b1gvini.clients.CreatePixKeyRequest
import br.com.zup.b1gvini.clients.ItauERP
import br.com.zup.b1gvini.compartilhado.exceptions.BadRequestException
import br.com.zup.b1gvini.compartilhado.exceptions.ChavePixExistenteE... | 0 | Kotlin | 0 | 0 | 8f8472d6340ffa8724b22440f77e40fa5d47551c | 2,240 | orange-talents-05-template-pix-keymanager-grpc | Apache License 2.0 |
server/domain/src/main/kotlin/com/studystream/domain/properties/AppProperties.kt | ImpossibleAccuracy | 834,219,225 | false | {"Kotlin": 158719, "Dockerfile": 625} | package com.studystream.domain.properties
import com.studystream.domain.properties.feature.AuthProperties
import com.studystream.domain.properties.feature.FileStorageProperties
data class AppProperties(
val token: TokenProperties,
val database: DatabaseProperties,
val auth: AuthProperties,
val fileSto... | 0 | Kotlin | 0 | 0 | 926d410c2edb95ff2d4ee5e4f36eab138fcff9f4 | 350 | study-stream | The Unlicense |
gis/src/commonMain/kotlin/jetbrains/gis/common/twkb/SimpleFeatureParser.kt | JetBrains | 176,771,727 | false | null | /*
* Copyright (c) 2019. 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.gis.common.twkb
import org.jetbrains.letsPlot.commons.intern.function.Consumer
import org.jetbrains.letsPlot.commons.intern.function.Function
import org.jet... | 97 | Kotlin | 47 | 889 | c5c66ceddc839bec79b041c06677a6ad5f54e416 | 7,487 | lets-plot | MIT License |
frontend/screen/tools/src/commonMain/kotlin/com/mindovercnc/linuxcnc/screen/tools/list/tabs/lathetool/ui/SpindleDirection.kt | 85vmh | 543,628,296 | false | null | package com.mindovercnc.linuxcnc.screen.tools.list.tabs.lathetool.ui
import androidx.compose.foundation.ExperimentalFoundationApi
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.onClick
import androidx.compose.material3.Icon
import androidx.compose.material3.LocalContentColor
import andr... | 0 | null | 1 | 3 | 5cf42426895ba8691c9b53ba1b97c274bbdabc07 | 2,956 | mindovercnclathe | Apache License 2.0 |
common/src/main/java/com/yuriy/openradio/shared/utils/AnalyticsUtils.kt | paoliveira | 525,912,088 | false | null | /*
* Copyright 2017-2021 The "Open Radio" Project. Author: Chernyshov Yuriy [chernyshov.yuriy@gmail.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/... | 0 | null | 1 | 4 | 20bb1fcf318d9013cd62d3a2b7cccadfcfb1a293 | 3,625 | openradio | Apache License 2.0 |
src/main/kotlin/net/megavex/redikt/command/CommandBuilder.kt | MegavexNetwork | 666,473,616 | false | null | package net.megavex.redikt.command
import net.megavex.redikt.protocol.types.OccupiedBulkString
import net.megavex.redikt.protocol.types.RedisArray
import net.megavex.redikt.protocol.types.RedisType
/**
* DSL builder for [Command]s.
*/
public fun <T> command(block: CommandBuilder<T>.() -> Unit): Command<T> {
val... | 0 | Kotlin | 0 | 0 | 6ead1e80dfe9e4d248cdadeb6e14a4f160a37288 | 1,724 | redikt | MIT License |
services/csm.cloud.project.project/src/main/kotlin/com/bosch/pt/iot/smartsite/project/daycard/command/snapshotstore/DayCardSnapshot.kt | boschglobal | 805,348,245 | false | {"Kotlin": 13156190, "HTML": 274761, "Go": 184388, "HCL": 158560, "Shell": 117666, "Java": 52634, "Python": 51306, "Dockerfile": 10348, "Vim Snippet": 3969, "CSS": 344} | /*
* ************************************************************************
*
* Copyright: <NAME> Power Tools GmbH, 2018 - 2023
*
* ************************************************************************
*/
package com.bosch.pt.iot.smartsite.project.daycard.command.snapshotstore
import com.bosch.pt.cs... | 0 | Kotlin | 3 | 9 | 9f3e7c4b53821bdfc876531727e21961d2a4513d | 2,449 | bosch-pt-refinemysite-backend | Apache License 2.0 |
app/src/main/java/eu/kanade/tachiyomi/ui/setting/track/TrackLogoutDialog.kt | ndbiaw | 323,226,343 | true | {"Kotlin": 1662884} | package eu.kanade.tachiyomi.ui.setting.track
import android.app.Dialog
import android.os.Bundle
import androidx.core.os.bundleOf
import com.afollestad.materialdialogs.MaterialDialog
import eu.kanade.tachiyomi.R
import eu.kanade.tachiyomi.data.track.TrackManager
import eu.kanade.tachiyomi.data.track.TrackService
import... | 0 | null | 0 | 2 | 2d2875078258cadaa1271507a9f18852139cb760 | 1,312 | tachiyomi | Apache License 2.0 |
api/src/main/kotlin/db/migration/client/v1/v0/V0001_0000_0003__create_table_estado.kt | IvoSestren | 331,951,557 | false | null | package db.migration.client.v1.v0
import db.migration.base.postgresql.PostgreSQLMigration
@Suppress("ClassName", "unused")
class V0001_0000_0003__create_table_estado: PostgreSQLMigration() {
override fun createSequences() {
createSequence("sq_estado")
}
override fun createTables() {
exec... | 0 | Kotlin | 0 | 0 | a955b4a4b8b4e4f2b746bbe5bc4fe3674ab9caf1 | 5,914 | erp_001 | The Unlicense |
kmp-nativecoroutines-compiler/src/main/kotlin/com/rickclephas/kmp/nativecoroutines/compiler/utils/CoroutinesProperty.kt | rickclephas | 374,341,212 | false | null | package com.rickclephas.kmp.nativecoroutines.compiler.utils
import org.jetbrains.kotlin.descriptors.PropertyDescriptor
import org.jetbrains.kotlin.descriptors.effectiveVisibility
import org.jetbrains.kotlin.ir.declarations.IrProperty
internal val PropertyDescriptor.isCoroutinesProperty: Boolean
get() = !name.isSp... | 15 | Kotlin | 27 | 579 | 5012d81217e962e0174af9631a5a8d350ac97ec9 | 896 | KMP-NativeCoroutines | MIT License |
shared/src/main/kotlin/dev/luna5ama/glwrapper/api/IGL12.kt | Luna5ama | 594,203,393 | false | {"Kotlin": 422604} | @file:JvmName("GL12")
package dev.luna5ama.glwrapper.api
interface IGL12 : GLBase {
companion object {
internal const val GL_ALIASED_LINE_WIDTH_RANGE = 0x846E
internal const val GL_SMOOTH_POINT_SIZE_RANGE = 0xB12
internal const val GL_SMOOTH_POINT_SIZE_GRANULARITY = 0xB13
internal ... | 0 | Kotlin | 0 | 3 | d498205fb20723941625f05fb228d34b73fd56d1 | 2,432 | gl-wrapper | MIT License |
app/src/main/java/com/driansetti/github_user_android/data/repository/DefaultUserRepository.kt | francodriansetti | 794,689,124 | false | {"Kotlin": 33601} | package com.driansetti.github_user_android.data.repository
import com.driansetti.github_user_android.data.api.GitHubService
import com.driansetti.github_user_android.data.api.toGitHubUser
import com.driansetti.github_user_android.data.model.GitHubUser
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.wit... | 0 | Kotlin | 0 | 0 | 4dcbbcd9a942e05b90eb9a76fe023bdeb281cd7e | 2,672 | githubuserandroid | MIT License |
app/src/main/java/com/speakoutall/base/BaseFragment.kt | kpchandora | 240,494,122 | false | {"Kotlin": 256919, "Java": 3918} | package com.speakoutall.base
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
class BaseFragment : Fragment() {
override fun onCreateView(
inflater: LayoutInflater,
container: ViewGroup?,
... | 4 | Kotlin | 1 | 2 | 7d0d09e3b109f7bbab24632027b8e22521d4d9d4 | 451 | speak-out | MIT License |
android/app/src/main/kotlin/com/example/wolwo/MainActivity.kt | iyashwantsaini | 408,455,288 | false | {"Dart": 80488, "Swift": 404, "Kotlin": 122, "Objective-C": 38} | package com.example.wolwo
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| 0 | Dart | 0 | 0 | b248b4459fadc2a72837f1519d2d8bb2078e8f8d | 122 | Wolwo-DS-Project-2 | MIT License |
src/main/kotlin/herbaccara/aligo/sms/form/Message.kt | herbaccara | 606,945,657 | false | null | package herbaccara.aligo.sms.form
@JvmInline
value class Message(val value: String)
| 0 | Kotlin | 0 | 0 | 01b5ef2867d7769dc965ca87f44de64df44799df | 85 | spring-boot-starter-aligo | MIT License |
mobile/src/main/java/com/backdoor/moove/utils/SoundStackHolder.kt | Vistaus | 177,981,570 | true | {"Kotlin": 362641} | package com.backdoor.moove.utils
import android.content.Context
import android.media.AudioManager
import android.os.Handler
import timber.log.Timber
/**
* Copyright 2017 <NAME>
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.... | 0 | Kotlin | 0 | 0 | d215e9104fe8d3930b941d71511e8d80b6ea1556 | 4,999 | Moove | Apache License 2.0 |
feature-staking-impl/src/main/java/io/novafoundation/nova/feature_staking_impl/presentation/parachainStaking/collator/select/di/SelectCollatorComponent.kt | novasamatech | 415,834,480 | false | {"Kotlin": 7667771, "Java": 14723, "JavaScript": 425} | package io.novafoundation.nova.feature_staking_impl.presentation.parachainStaking.collator.select.di
import androidx.fragment.app.Fragment
import dagger.BindsInstance
import dagger.Subcomponent
import io.novafoundation.nova.common.di.scope.ScreenScope
import io.novafoundation.nova.feature_staking_impl.presentation.par... | 17 | Kotlin | 6 | 9 | 67cd6fd77aae24728a27b81eb7f26ac586463aaa | 687 | nova-wallet-android | Apache License 2.0 |
app/src/main/java/com/whywhom/soft/whyradiobox/ui/search/OnlineSearchViewModel.kt | whywhom | 232,916,639 | false | {"Gradle": 3, "Java Properties": 2, "INI": 1, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "Kotlin": 76, "XML": 67, "Java": 21, "JSON": 3} | package com.whywhom.soft.whyradiobox.ui.search
import android.util.Log
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import com.whywhom.soft.whyradiobox.data.HttpRepository
import com.whywhom.soft.whyradiobox.model.ItunesSearchPodcast
import com.whywhom.soft.whyradiobox.model.PodcastSea... | 0 | Kotlin | 0 | 2 | 8956e4e2e7770d31f247527d57cfa23d368965ff | 1,752 | whyradiobox | MIT License |
models/src/main/kotlin/fi/vauhtijuoksu/vauhtijuoksuapi/models/Donation.kt | Vauhtijuoksu | 394,707,727 | false | null | package fi.vauhtijuoksu.vauhtijuoksuapi.models
import com.fasterxml.jackson.annotation.JsonFormat
import com.fasterxml.jackson.annotation.JsonInclude
import com.fasterxml.jackson.annotation.JsonProperty
import java.util.Date
import java.util.UUID
data class Donation(
override val id: UUID?,
@JsonFormat(shape ... | 1 | Kotlin | 0 | 0 | fb3ccd67e352671152cc24a7aca47df6d0ae0bc2 | 596 | vauhtijuoksu-api | MIT License |
kotter/src/nativeMain/kotlin/com/varabyte/kotter/terminal/native/NativeTerminal.kt | varabyte | 397,769,020 | false | null | package com.varabyte.kotter.terminal.native
import com.varabyte.kotter.runtime.terminal.Terminal
expect class NativeTerminal constructor(): Terminal
class CreateNativeTerminalException : Exception("Kotter applications must run in an interactive terminal. Legacy terminals may not be supported. Check that you're runni... | 11 | Kotlin | 12 | 442 | 2bb9ae2059d313276deaa9972a74ac0548f76091 | 390 | kotter | Apache License 2.0 |
sample/presentation/repositories/src/main/java/vn/tiki/android/githubsample/repositories/viewholder/RepoViewHolderDelegate.kt | talenguyen | 140,232,102 | false | {"Gradle": 41, "Text": 1, "Ignore List": 27, "EditorConfig": 7, "Markdown": 17, "Java Properties": 11, "Shell": 7, "Batchfile": 6, "XML": 92, "Kotlin": 92, "INI": 9, "Proguard": 6, "Java": 1, "Python": 1} | package vn.tiki.android.githubsample.repositories.viewholder
import android.widget.TextView
import vn.tiki.android.collection.ListModel
import vn.tiki.android.collection.ViewHolderDelegate
import vn.tiki.android.githubsample.base.viewholder.BaseViewHolderDelegate
import vn.tiki.android.githubsample.base.viewholder.vie... | 1 | null | 1 | 1 | 0c95b618da5c00fc9428eba166527f0767e4fd4b | 1,391 | AndroidDevelopment | Apache License 2.0 |
app/src/main/java/com/ztute/memereview/domain/usecase/GetMemesFromCacheUseCase.kt | SrikantPadala | 471,776,177 | false | null | package com.ztute.memereview.domain.usecase
import com.ztute.memereview.DispatcherProvider
import com.ztute.memereview.database.DatabaseMeme
import com.ztute.memereview.domain.repository.MemeRepository
import com.ztute.memereview.network.ResultWrapper
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.... | 0 | Kotlin | 0 | 0 | 7a4f82346c45c350a1e7024ba021398a8e871756 | 836 | MemeReview | Apache License 2.0 |
stableaidl/stableaidl-gradle-plugin/src/main/java/androidx/stableaidl/StableAidlPlugin.kt | MaxMood96 | 395,831,835 | true | {"Kotlin": 72038273, "Java": 62021571, "C++": 9029994, "Python": 299356, "AIDL": 270753, "Shell": 173288, "HTML": 21175, "ANTLR": 19860, "CMake": 12136, "TypeScript": 7599, "C": 7083, "GLSL": 3842, "Swift": 3153, "JavaScript": 1343} | /*
* 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 10 | Kotlin | 0 | 1 | dbae5353c0d623b7e56fd1af3e8f716fb47d2822 | 6,784 | androidx | Apache License 2.0 |
src/test/kotlin/de/pflugradts/passbird/domain/service/password/MovePasswordServiceTest.kt | christianpflugradt | 522,173,174 | false | {"Kotlin": 405605} |
import de.pflugradts.kotlinextensions.tryCatching
import de.pflugradts.passbird.application.eventhandling.PassbirdEventRegistry
import de.pflugradts.passbird.application.security.fakeCryptoProvider
import de.pflugradts.passbird.domain.model.event.PasswordEntryNotFound
import de.pflugradts.passbird.domain.model.namespa... | 1 | Kotlin | 0 | 0 | d4c1cdb680921367bead02d67f5bd04df32558bb | 3,834 | PwMan3 | Apache License 2.0 |
tools/ListenerTest/app/src/main/java/com/couchbase/android/listenertest/ListenerTestApp.kt | couchbaselabs | 440,305,094 | false | {"Kotlin": 37265, "Python": 6682, "Shell": 5988, "PowerShell": 1103, "Perl": 540} | //
// Copyright (c) 2023 Couchbase, Inc 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.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appl... | 0 | Kotlin | 0 | 0 | fd9d999a0d1c1c068a1e9b8114128a9a16af7207 | 2,908 | couchbase-lite-java-tools | Apache License 2.0 |
infra/src/main/kotlin/fr/sacane/jmanager/infrastructure/api/ServletInitializer.kt | Sacane | 531,082,439 | false | null | package fr.sacane.jmanager.infrastructure.api
import fr.sacane.jmanager.infrastructure.JmanagerBackApplication
import org.springframework.boot.builder.SpringApplicationBuilder
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer
class ServletInitializer : SpringBootServletInitializer() {
... | 0 | Kotlin | 0 | 0 | 308be574b1fe587f94c96ff58257042b493fadf6 | 483 | JManager | MIT License |
buildSrc/src/main/kotlin/CI.kt | TitanUser | 417,170,813 | true | {"Kotlin": 168953, "Java": 1718} | object CI {
private val githubRunNumber = System.getenv("GITHUB_RUN_NUMBER")
private val snapshotVersion = when (githubRunNumber) {
null -> "LOCAL"
else -> "GITHUB.${CI.githubRunNumber}-SNAPSHOT"
}
private val releaseVersion = System.getenv("RELEASE_VERSION")
val version = releas... | 0 | Kotlin | 0 | 1 | 4fc4f6c38cab772d9201f7938fe1b9a5e1674c34 | 350 | camunda-delegator-lib | Apache License 2.0 |
app/src/main/java/com/denysnovoa/nzbmanager/settings/screen/repository/model/RadarrSettingsModel.kt | denysnovoa | 90,066,913 | false | {"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "JSON": 4, "Proguard": 1, "Java": 2, "Kotlin": 110, "XML": 37} | package com.denysnovoa.nzbmanager.settings.screen.repository.model
data class RadarrSettingsModel(val hostName: String, val port: Int, val apiKey: String)
| 0 | Kotlin | 0 | 1 | 8944e3bae4c073856f9856bf2e5064a6dadde4f7 | 156 | radarrsonarr | Apache License 2.0 |
app/src/main/java/com/example/telinhas/presentation/PresentationFragment.kt | antrindade | 657,314,568 | false | {"Kotlin": 60581} | package com.example.telinhas.presentation
import androidx.biometric.BiometricPrompt
import androidx.core.content.ContextCompat
import androidx.navigation.fragment.findNavController
import com.example.telinhas.R
import com.example.telinhas.app.Binding
import com.example.telinhas.authentication.login.LoginFragment
impor... | 0 | Kotlin | 0 | 0 | 828b245c769b5ff4483b830ffa6ac474b5d234eb | 2,581 | Geracao-Saudavel | MIT License |
app/src/main/java/com/example/geoquest_app/viewmodel/GeoViewModel.kt | Joeliusg04 | 643,573,342 | false | null | package com.example.geoquest_app.viewmodel
import android.graphics.Bitmap
import android.graphics.BitmapFactory
import android.util.Log
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import com.example.geoquest_app.model.Reports
import com.example.geoquest_app.retrofit.Repository
import ... | 0 | Kotlin | 0 | 0 | 8e8577c7ee307dfb217143c416bf8b7c26303519 | 16,392 | GeoQuest-Mobile | MIT License |
platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/configurationcache/DefaultIgnoredConfigurationInputsTest.kt | gradle | 302,322 | false | {"Groovy": 33309780, "Java": 30797028, "Kotlin": 3552953, "C++": 888505, "JavaScript": 76180, "HTML": 15779, "CSS": 13668, "Shell": 12214, "XSLT": 7121, "C": 5785, "Scala": 2817, "Gherkin": 192, "Python": 58, "Brainfuck": 54} | /*
* Copyright 2023 the original author or 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 applica... | 2,663 | Groovy | 4552 | 15,640 | 3fde2e4dd65124d0f3b2ef42f7e93446ccd7cced | 5,494 | gradle | Apache License 2.0 |
libs/utils/cms/contentful/src/main/kotlin/no/arcane/platform/cms/events/EventHub.kt | arcanetechnology | 416,024,376 | false | {"Kotlin": 187287, "Shell": 20387, "Dockerfile": 662} | package no.arcane.platform.cms.events
import kotlinx.coroutines.coroutineScope
import kotlinx.coroutines.launch
import no.arcane.platform.utils.logging.getLogger
typealias Callback = suspend (EventType, String) -> Unit
object EventHub {
private val logger by getLogger()
private val listeners = mutableMapOf<... | 0 | Kotlin | 2 | 3 | 6d481c61a363c5c476477107aca62fb571fba012 | 1,312 | arcane-platform | MIT License |
app/src/main/java/top/xjunz/tasker/service/controller/ShizukuAutomatorServiceController.kt | xjunz | 651,527,105 | false | null | /*
* Copyright (c) 2022 xjunz. All rights reserved.
*/
package top.xjunz.tasker.service.controller
import android.annotation.SuppressLint
import android.content.ComponentName
import android.graphics.Typeface
import android.os.*
import rikka.shizuku.Shizuku
import top.xjunz.tasker.BuildConfig
import top.xjunz.tasker... | 0 | null | 6 | 23 | 82893d0db2b13e12d8bee86b4cae0f16abd0e2f4 | 3,278 | AutoTask | Apache License 2.0 |
intellij.tools.plugin.checker.tests/testSrc/com/intellij/tools/plugin/checker/data/PhpStormCases.kt | JetBrains | 499,194,001 | false | null | package com.intellij.tools.plugin.checker.data
import com.intellij.ide.starter.ide.IdeProductProvider
import com.intellij.ide.starter.project.RemoteArchiveProjectInfo
import com.intellij.ide.starter.project.TestCaseTemplate
import kotlin.io.path.div
object PhpStormCases : TestCaseTemplate(IdeProductProvider.PS) {
v... | 0 | Kotlin | 2 | 8 | 9d46f3cfec2f95312b87212e718bb9acfbe27a5c | 545 | intellij-ide-starter | Apache License 2.0 |
src/main/kotlin/org/yastech/minimal/tables/User.kt | YasTechOrg | 409,699,396 | false | {"Vue": 46391, "Kotlin": 43467, "Sass": 26154, "CSS": 25778, "TypeScript": 5620, "HTML": 609, "JavaScript": 73} | package org.yastech.minimal.tables
import org.springframework.data.annotation.Id
import org.springframework.data.mongodb.core.mapping.Document
import org.springframework.data.mongodb.repository.ReactiveMongoRepository
import org.yastech.minimal.data.USERS
import reactor.core.publisher.Flux
import reactor.core.publishe... | 0 | Vue | 0 | 3 | 6c417a945e5ff181a4f1e1f9af11c4a803e08d09 | 859 | minimal | MIT License |
ConnectSDK/src/test/kotlin/com/zendesk/connect/IpmPushStrategyFactoryTests.kt | isabella232 | 478,424,464 | true | {"Java": 275482, "Kotlin": 195454, "Shell": 2350} | package com.zendesk.connect
import android.content.Context
import com.google.common.truth.Truth.assertThat
import org.junit.Test
import org.junit.runner.RunWith
import org.mockito.junit.MockitoJUnitRunner
@RunWith(MockitoJUnitRunner.Silent::class)
class IpmPushStrategyFactoryTests {
private val mockParser = mock... | 0 | null | 0 | 0 | 3a274bae492516d922f4f4046be5d1bb4f341772 | 909 | connect-android-sdk | Apache License 2.0 |
android/automated-tests/src/androidTest/kotlin/br/com/zup/beagle/automatedTests/cucumber/steps/TextScreen.kt | carolinamaciel1 | 310,007,802 | true | {"Kotlin": 2195670, "Swift": 1163071, "Objective-C": 460197, "C++": 262909, "Gherkin": 54737, "Ruby": 27294, "Java": 27116, "Shell": 8261, "Dart": 3253, "sed": 1618, "HTML": 1322, "C": 1109} | package br.com.zup.beagle.automatedTests.cucumber.steps
import androidx.test.rule.ActivityTestRule
import br.com.zup.beagle.automatedTests.R
import br.com.zup.beagle.automatedTests.activity.MainActivity
import br.com.zup.beagle.automatedTests.cucumber.elements.TEXT_DEFAULT
import br.com.zup.beagle.automatedTests.cucum... | 0 | null | 0 | 0 | 771b966c88a8ff02564528d4149ab6672a0c77a1 | 4,932 | beagle | Apache License 2.0 |
annotation-processors/src/main/kotlin/com/intellij/vim/providers/VimscriptFunctionProcessorProvider.kt | JetBrains | 1,459,486 | false | {"Kotlin": 5959132, "Java": 211095, "ANTLR": 84686, "HTML": 2184} | /*
* 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 com.intellij.vim.providers
import com.google.devtools.ksp.processing.SymbolProcessor
import com.google.... | 6 | Kotlin | 749 | 9,241 | 66b01b0b0d48ffec7b0148465b85e43dfbc908d3 | 714 | ideavim | MIT License |
app/src/main/java/com/flowfoundation/wallet/FlowWalletApplication.kt | Outblock | 692,942,645 | false | {"Kotlin": 2425609, "Java": 104150} | package com.flowfoundation.wallet
import android.app.Application
import com.flowfoundation.wallet.manager.LaunchManager
import com.flowfoundation.wallet.utils.Env
class FlowWalletApplication : Application() {
override fun onCreate() {
super.onCreate()
Env.init(this)
LaunchManager.init(thi... | 62 | Kotlin | 5 | 0 | 2426c3e1fa04986395d95dfd5fa6ae18fcf11043 | 330 | FRW-Android | Apache License 2.0 |
domain/src/main/kotlin/com/popularmovies/vpaliy/domain/entity/Season.kt | vpaliy | 86,759,523 | false | null | package com.popularmovies.vpaliy.domain.entity
data class Season(
val id: String,
val airDate: String,
val name: String,
val poster: String,
val overview: String,
val seasonNumber: Int
) | 2 | Kotlin | 58 | 334 | dd85fd42a71cd0a4244f1efa1c6817e21db961c8 | 211 | android-movies-app | Apache License 2.0 |
app/src/test/java/com/alessandroborelli/floatapp/domain/usecase/GetMooringsUseCaseImplTest.kt | alessandroborelli-culturetrip | 467,674,713 | false | {"Kotlin": 31730} | package com.alessandroborelli.floatapp.domain.usecase
import com.alessandroborelli.floatapp.data.model.MooringsResult
import com.alessandroborelli.floatapp.data.repository.MooringsRepository
import com.alessandroborelli.floatapp.domain.mapper.GetMooringsResponseMapper
import com.alessandroborelli.floatapp.domain.model... | 0 | null | 0 | 0 | 6d6757ff13af479d4857c33aa763d5c88dcc2a29 | 3,113 | float | Apache License 2.0 |
everlasting-core/src/main/kotlin/com/everlasting/mapper/SysMenuMapper.kt | klniu | 167,364,270 | false | null | package com.everlasting.mapper
import com.baomidou.mybatisplus.core.mapper.BaseMapper
import com.everlasting.entity.SysMenu
/**
* Created by oukingtim
*/
interface SysMenuMapper : BaseMapper<SysMenu> {
/**
* 根据用户id获取菜单
* @param userId
* *
* @return
*/
fun selectMenuByUserId(userId:... | 0 | Kotlin | 0 | 0 | f20ce0ffe30002669efae25c5973c9fb99f58966 | 478 | Everlasting | MIT License |
swing/src/main/java/wannabe/swing/renderer/SwingRenderer.kt | pforhan | 14,547,654 | false | null | package wannabe.swing.renderer
import wannabe.swing.SwingProjected
import java.awt.Graphics
/** Displays a voxel in a swing UI. */
abstract class SwingRenderer {
abstract fun draw(
g: Graphics,
p: SwingProjected
)
override fun toString(): String = javaClass.simpleName
override fun equals(other: Any... | 12 | Kotlin | 0 | 1 | 4fecd52959262ae7d8ee7aa76d26b82e110e9d9a | 428 | wannabe | MIT License |
src/main/kotlin/uk/gov/justice/digital/hmpps/oauth2server/security/NomisUserService.kt | uk-gov-mirror | 356,783,105 | true | {"Kotlin": 1669768, "HTML": 158306, "CSS": 9895, "Shell": 8311, "Mustache": 7004, "PLSQL": 6379, "TSQL": 1100, "Dockerfile": 1015, "Groovy": 780, "JavaScript": 439} | package uk.gov.justice.digital.hmpps.oauth2server.security
import org.springframework.stereotype.Service
import org.springframework.transaction.annotation.Transactional
import uk.gov.justice.digital.hmpps.oauth2server.auth.repository.UserRepository
import uk.gov.justice.digital.hmpps.oauth2server.nomis.model.NomisUser... | 0 | Kotlin | 0 | 0 | f5a2a2f4eecc76459e206e7c84fde15d2c781758 | 1,897 | ministryofjustice.hmpps-auth | MIT License |
src/main/kotlin/TouchBarApplier.kt | zach-klippenstein | 395,847,915 | false | null | @file:Suppress("FunctionName")
package dev.ggoraa.compose.touchbar
import androidx.compose.runtime.AbstractApplier
import androidx.compose.runtime.Composable
import androidx.compose.runtime.Composition
import androidx.compose.runtime.CompositionContext
import androidx.compose.runtime.DisposableEffect
import androidx.... | 1 | null | 0 | 15 | c3bc9027eb671e3d2e240f344816bfe73ce00f2d | 2,916 | compose-touchbar | Apache License 2.0 |
features/mpperson/src/main/java/com/jpp/mpperson/NavigationPerson.kt | perettijuan | 156,444,935 | false | null | package com.jpp.mpperson
import android.os.Bundle
import com.jpp.mp.common.extensions.getStringOrFail
/**
* Contains utilities to perform navigation to the person module.
*/
object NavigationPerson {
fun navArgs(personId: String, personImageUrl: String, personName: String) = Bundle()
.apply {
... | 9 | Kotlin | 7 | 46 | 7921806027d5a9b805782ed8c1cad447444f476b | 709 | moviespreview | Apache License 2.0 |
features/mpperson/src/main/java/com/jpp/mpperson/NavigationPerson.kt | perettijuan | 156,444,935 | false | null | package com.jpp.mpperson
import android.os.Bundle
import com.jpp.mp.common.extensions.getStringOrFail
/**
* Contains utilities to perform navigation to the person module.
*/
object NavigationPerson {
fun navArgs(personId: String, personImageUrl: String, personName: String) = Bundle()
.apply {
... | 9 | Kotlin | 7 | 46 | 7921806027d5a9b805782ed8c1cad447444f476b | 709 | moviespreview | Apache License 2.0 |
app/src/main/java/com/base/wanandroid/ui/adapter/IntegralAdapter.kt | RainyJiang22 | 465,606,794 | false | {"Kotlin": 470512, "Java": 30661} | package com.base.wanandroid.ui.adapter
import android.os.Build
import androidx.annotation.RequiresApi
import com.base.wanandroid.R
import com.base.wanandroid.data.IntegralHistoryResponse
import com.base.wanandroid.utils.html2Spanned
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.... | 0 | Kotlin | 1 | 2 | 2e16fcb0abd000211fe68925f1d79db91c07c32c | 819 | WanAndroid2021 | The Unlicense |
resources-compose/src/appleMain/kotlin/dev/icerock/moko/resources/compose/internal/NSDataExt.kt | icerockdev | 204,874,263 | false | {"Kotlin": 343774, "Shell": 1130} | /*
* Copyright 2023 IceRock MAG Inc. Use of this source code is governed by the Apache 2.0 license.
*/
package dev.icerock.moko.resources.compose.internal
import kotlinx.cinterop.addressOf
import kotlinx.cinterop.usePinned
import platform.Foundation.NSData
import platform.posix.memcpy
internal fun NSData.toByteAr... | 149 | Kotlin | 112 | 997 | 590fc8f2eacbe5aca4992df83aa7473bb3e28b62 | 538 | moko-resources | Apache License 2.0 |
src/main/java/com/ecwid/maleorang/method/v3_0/eCommerceStores/AddressInfo.kt | nikolai-tenev | 70,156,034 | true | {"Kotlin": 101475, "Java": 18725} | package com.ecwid.maleorang.method.v3_0.eCommerceStores
import com.ecwid.maleorang.MailchimpObject
import com.ecwid.maleorang.annotation.Field
import java.util.*
class AddressInfo : MailchimpObject() {
@JvmField
@Field
var address1: String? = null
@JvmField
@Field
var address2: String? = null... | 0 | Kotlin | 0 | 0 | ce61feb7567d4364e9daa7156b3553ef4e07b54d | 917 | maleorang | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.