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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TMDBClient/app/src/main/java/com/anushka/tmdbclient/data/api/TMDBService.kt | iamaydan | 343,137,358 | false | {"Kotlin": 149521} | package com.anushka.tmdbclient.data.api
import com.anushka.tmdbclient.data.model.artist.ArtistList
import com.anushka.tmdbclient.data.model.movie.MovieList
import com.anushka.tmdbclient.data.model.tvshow.TvShowList
import retrofit2.Response
import retrofit2.http.GET
import retrofit2.http.Query
interface TMDBService ... | 0 | Kotlin | 0 | 0 | b6637ea92393a29947f48ed17b01d28ced7477fc | 780 | IBAR-Training-1 | Apache License 2.0 |
android/apollo/src/main/java/io/muun/apollo/domain/model/MuunFeature.kt | muun | 150,655,434 | false | null | package io.muun.apollo.domain.model
import io.muun.common.api.MuunFeatureJson
import io.muun.common.exception.MissingCaseError
import libwallet.Libwallet
enum class MuunFeature {
TAPROOT,
TAPROOT_PREACTIVATION,
APOLLO_BIOMETRICS;
companion object {
fun fromJson(json: MuunFeatureJson): MuunFe... | 30 | Java | 38 | 228 | 02ea527e14e94e00f38b9711d92b9d992fa2b78a | 1,713 | apollo | MIT License |
insight/src/main/kotlin/spp/jetbrains/insight/path/ProceduralPath.kt | sourceplusplus | 173,253,271 | false | null | /*
* Source++, the continuous feedback platform for developers.
* Copyright (C) 2022-2024 CodeBrig, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/... | 14 | null | 13 | 87 | 199006a410529d961dc184f0740a5d845bd87899 | 3,771 | interface-jetbrains | Apache License 2.0 |
forgerock-auth/src/test/java/org/forgerock/android/auth/DefaultTokenManagerTest.kt | ForgeRock | 215,203,638 | false | {"Java": 1350919, "Kotlin": 909360, "CSS": 2849, "FreeMarker": 2042, "C++": 785, "Makefile": 330} | /*
* Copyright (c) 2019 - 2024 ForgeRock. All rights reserved.
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*/
package org.forgerock.android.auth
import android.content.Context
import android.content.SharedPreferences
import androidx.tes... | 21 | Java | 22 | 35 | ec45ca5eefbb71d41332abad1350008e2ba90e62 | 12,483 | forgerock-android-sdk | MIT License |
securo-core/src/main/kotlin/dev/vozniack/securo/core/internal/security/AuthenticationFilter.kt | vozniack | 852,887,018 | false | {"Kotlin": 49507} | package dev.vozniack.securo.core.internal.security
import dev.vozniack.securo.core.internal.exception.UnauthorizedException
import io.jsonwebtoken.Claims
import io.jsonwebtoken.Jws
import io.jsonwebtoken.Jwts
import io.jsonwebtoken.security.Keys
import jakarta.servlet.FilterChain
import jakarta.servlet.http.HttpServle... | 0 | Kotlin | 0 | 0 | de672b515da6ef8f0518af6a0fed35e6e3113a7d | 2,731 | securo | MIT License |
src/main/kotlin/kotlinmudv2/action/actions/commerce/CreateBuyAction.kt | danielmunro | 515,227,142 | false | {"Kotlin": 214222, "Dockerfile": 179, "Makefile": 134} | package kotlinmudv2.action.actions.commerce
import kotlinmudv2.action.Action
import kotlinmudv2.action.Command
import kotlinmudv2.action.Syntax
import kotlinmudv2.item.Item
import kotlinmudv2.item.ItemFlag
import kotlinmudv2.mob.MobFlag
import kotlinmudv2.mob.alertDisposition
fun createBuyAction(): Action {
retur... | 0 | Kotlin | 0 | 0 | 28b5a049c54ad072ccade19c9ad2bb36b9cf8909 | 1,278 | kotlinmud-v2 | MIT License |
compose-app/src/main/java/com/mapbox/maps/compose/testapp/examples/utils/SimulateRouteLocationProvider.kt | mapbox | 330,365,289 | false | {"Kotlin": 3982759, "Java": 98572, "Python": 18705, "Shell": 11465, "C++": 10129, "JavaScript": 4344, "Makefile": 2413, "CMake": 1201, "EJS": 1194} | package com.mapbox.maps.testapp.utils
import android.os.Handler
import android.os.Looper
import com.mapbox.geojson.LineString
import com.mapbox.geojson.Point
import com.mapbox.maps.plugin.locationcomponent.LocationConsumer
import com.mapbox.maps.plugin.locationcomponent.LocationProvider
import com.mapbox.turf.TurfCons... | 216 | Kotlin | 131 | 472 | 2700dcaf18e70d23a19fc35b479bff6a2d490475 | 2,822 | mapbox-maps-android | Apache License 2.0 |
app/src/main/java/com/kaelesty/shoppinglist/data/ShopListProvider.kt | Kaelesty | 669,493,927 | false | null | package com.kaelesty.shoppinglist.data
import android.content.ContentProvider
import android.content.ContentValues
import android.content.UriMatcher
import android.database.Cursor
import android.net.Uri
import android.util.Log
import com.kaelesty.shoppinglist.ShopListApp
import com.kaelesty.shoppinglist.domain.ShopIte... | 0 | Kotlin | 0 | 0 | da6f5104647f1373c12799470ffe2fa478324f82 | 2,609 | study-android-shopping_list | The Unlicense |
app/src/main/java/com/example/androidweather/epoxy/TutorialView.kt | KwunHeiChan | 328,347,388 | false | null | package com.example.androidweather.epoxy
import android.content.Context
import android.util.AttributeSet
import androidx.constraintlayout.widget.ConstraintLayout
import com.airbnb.epoxy.ModelView
import com.example.androidweather.R
@ModelView(autoLayout = ModelView.Size.MATCH_WIDTH_MATCH_HEIGHT)
class TutorialView @J... | 0 | Kotlin | 1 | 0 | aaf1753e16aaa0bbf844323d317b752ca9582444 | 539 | android-weather | Apache License 2.0 |
android/src/main/java/io/mosip/tuvali/transfer/Assembler.kt | mosip | 572,876,523 | false | {"Kotlin": 156258, "Swift": 66396, "Java": 11120, "TypeScript": 5017, "Ruby": 1353, "Objective-C": 550, "JavaScript": 77} | package io.mosip.tuvali.transfer
import android.util.Log
import io.mosip.tuvali.transfer.ByteCount.TwoBytes
import io.mosip.tuvali.transfer.Util.Companion.networkOrderedByteArrayToInt
import io.mosip.tuvali.verifier.exception.CorruptedChunkReceivedException
import io.mosip.tuvali.transfer.Util.Companion.getLogTag
cla... | 26 | Kotlin | 10 | 9 | 987b2d2512e57010c8a115b63b3b9093767c19ac | 3,342 | tuvali | MIT License |
plugin-dotnet-agent/src/test/kotlin/jetbrains/buildServer/dotnet/test/dotnet/FailedTestDetectorStub.kt | tommathew-mindtree | 113,589,028 | true | {"Kotlin": 499366, "Java": 43547, "CSS": 130} | package jetbrains.buildServer.dotnet.test.dotnet
import jetbrains.buildServer.agent.CommandLineResult
import jetbrains.buildServer.dotnet.FailedTestDetector
class FailedTestDetectorStub(private val _hasFailedTest: Boolean): FailedTestDetector {
override fun hasFailedTest(text: String) = _hasFailedTest
} | 0 | Kotlin | 0 | 0 | 1e419c4699011ae762e9d15f1a55feb392ffbced | 310 | teamcity-dotnet-plugin | Apache License 2.0 |
core/domain/src/main/java/com/olehsh/newsapp/domain/GetArticleDetailsUseCase.kt | olehshyker | 801,504,956 | false | {"Kotlin": 136634} | /*
* Copyright 2024 olehshyker
*
* 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 ... | 0 | Kotlin | 0 | 0 | 4d014f386089cdedb60866fbd1509601b0b86dfd | 1,786 | NewsApp-Compose | Apache License 2.0 |
service_restaurant/src/main/kotlin/org/thechance/service_restaurant/api/models/WebSocketOrder.kt | TheChance101 | 671,967,732 | false | null | package org.thechance.service_restaurant.api.models
import io.ktor.server.websocket.*
import kotlinx.coroutines.flow.MutableStateFlow
data class WebSocketOrder(
val session: DefaultWebSocketServerSession,
val order: MutableStateFlow<OrderDto> = MutableStateFlow(OrderDto())
) | 4 | null | 55 | 572 | 1d2e72ba7def605529213ac771cd85cbab832241 | 285 | beep-beep | Apache License 2.0 |
kotlin-frontend/src/main/kotlin/org/jetbrains/kotlin/gradle/frontend/npm/UnpackGradleDependenciesTask.kt | jonninja | 118,710,202 | true | {"Kotlin": 134817, "JavaScript": 1971} | package org.jetbrains.kotlin.gradle.frontend.npm
import groovy.json.*
import org.gradle.api.*
import org.gradle.api.artifacts.*
import org.gradle.api.tasks.*
import org.jetbrains.kotlin.gradle.frontend.Dependency
import org.jetbrains.kotlin.gradle.frontend.util.*
import org.jetbrains.kotlin.preprocessor.*
import org.j... | 0 | Kotlin | 0 | 0 | f791b0f0734072febba4bd1d3b86b603c342a0db | 4,930 | kotlin-frontend-plugin | Apache License 2.0 |
AnnZone-Android/app/src/main/java/cn/anline/annzone/ui/note/NoteListActivity.kt | jiankian | 120,399,839 | false | null | package cn.anline.annzone.ui.note
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import cn.anline.annzone.R
/**
* 笔记查看列表界面
*/
class NoteListActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setConte... | 25 | null | 69 | 210 | 2e9246d0e83e6e6b7bb7bcbb74ca12f114e25a13 | 364 | AnnZone | MIT License |
src/test/kotlin/PerspectiveCameraTest.kt | GiovanniPellegrini | 768,021,083 | false | {"Kotlin": 127410, "Shell": 649} | import org.junit.jupiter.api.Test
class PerspectiveCameraTest{
@Test
fun perspectiveCameraTest(){
val cam = PerspectiveCamera(distance = 1.0f, aspectRatio = 2.0f)
val ray1 = cam.fireRay(0.0f, 0.0f)
val ray2 = cam.fireRay(1.0f, 0.0f)
val ray3 = cam.fireRay(0.0f, 1.0f)
v... | 3 | Kotlin | 0 | 0 | 8a9f630b51a333345b61ba3961efcc9522adb1ac | 907 | not_intellij_idea | MIT License |
src/test/kotlin/PerspectiveCameraTest.kt | GiovanniPellegrini | 768,021,083 | false | {"Kotlin": 127410, "Shell": 649} | import org.junit.jupiter.api.Test
class PerspectiveCameraTest{
@Test
fun perspectiveCameraTest(){
val cam = PerspectiveCamera(distance = 1.0f, aspectRatio = 2.0f)
val ray1 = cam.fireRay(0.0f, 0.0f)
val ray2 = cam.fireRay(1.0f, 0.0f)
val ray3 = cam.fireRay(0.0f, 1.0f)
v... | 3 | Kotlin | 0 | 0 | 8a9f630b51a333345b61ba3961efcc9522adb1ac | 907 | not_intellij_idea | MIT License |
app/src/test/java/com/rafaelfelipeac/improov/features/goal/domain/usecase/historic/GetHistoricListUseCaseTest.kt | rafaelfelipeac | 160,363,382 | false | null | package com.rafaelfelipeac.improov.features.goal.domain.usecase.historic
import com.rafaelfelipeac.improov.base.DataProviderTest.createHistoric
import com.rafaelfelipeac.improov.base.equalTo
import com.rafaelfelipeac.improov.features.goal.domain.repository.HistoricRepository
import kotlinx.coroutines.runBlocking
impor... | 1 | Kotlin | 3 | 22 | 6ff4d515f0968a0752817ef4d942f1b3f424611c | 2,073 | improov | Apache License 2.0 |
src/main/kotlin/io/daobab/demo/example/function/FunctionMax.kt | daobab-projects | 638,170,318 | false | null | package io.daobab.demo.example.function
import io.daobab.demo.DemoApplication
import io.daobab.demo.base.ServiceBase
import io.daobab.statement.function.FunctionWhispererH2
import org.springframework.boot.SpringApplication
import org.springframework.stereotype.Component
/**
* ----------------------------------------... | 0 | Kotlin | 0 | 0 | 00bd9c9456589c2a2a1125bbc16458e21765b2cc | 841 | daobab-100plus-examples-kotlin | Apache License 2.0 |
demo/src/main/java/zlc/season/rxdownload/demo/BaseApplication.kt | ssseasonnn | 72,172,651 | false | null | package zlc.season.rxdownload.demo
import android.app.Application
import android.content.Context
import androidx.multidex.MultiDex
import io.reactivex.exceptions.UndeliverableException
import io.reactivex.plugins.RxJavaPlugins
import zlc.season.rxdownload4.utils.log
class BaseApplication : Application() {
overr... | 45 | Kotlin | 622 | 4,107 | 0275362c850c81d70ee1b730597e39b6e4bd2040 | 690 | RxDownload | Apache License 2.0 |
plot-core/src/commonMain/kotlin/org/jetbrains/letsPlot/core/plot/base/geom/PieGeom.kt | JetBrains | 176,771,727 | false | null | /*
* Copyright (c) 2022. JetBrains s.r.o.
* Use of this source code is governed by the MIT license that can be found in the LICENSE file.
*/
package jetbrains.datalore.plot.base.geom
import jetbrains.datalore.base.algorithms.AdaptiveResampler
import jetbrains.datalore.base.collections.filterNotNullKeys
import jetb... | 98 | null | 48 | 889 | c5c66ceddc839bec79b041c06677a6ad5f54e416 | 20,213 | lets-plot | MIT License |
app/src/main/java/me/pushkaranand/spendo/viewmodel/CategoryViewModel.kt | adith-a-danthi | 305,260,903 | true | {"Kotlin": 91982} | package me.pushkaranand.spendo.viewmodel
import android.app.Application
import androidx.lifecycle.AndroidViewModel
import androidx.lifecycle.LiveData
import me.pushkaranand.spendo.db.entity.Category
import me.pushkaranand.spendo.repository.CategoryRepository
class CategoryViewModel(application: Application) : Android... | 0 | null | 0 | 0 | 73704fc32de259fd82fcb386653ee8b8363d4dbe | 877 | spendo | MIT License |
android/src/main/java/com/inkapplications/glassconsole/server/DisplayServer.kt | InkApplications | 707,867,428 | false | {"Kotlin": 49227} | package com.inkapplications.glassconsole.server
import com.inkapplications.glassconsole.structures.Broadcast
import com.inkapplications.glassconsole.structures.DisplayConfig
import io.ktor.http.HttpStatusCode
import io.ktor.serialization.kotlinx.json.json
import io.ktor.server.application.call
import io.ktor.server.ap... | 2 | Kotlin | 0 | 0 | e3774d849620d07f4dab06ba2e3af913939e59aa | 2,879 | GlassConsole | MIT License |
DiceRoller-challenge/app/src/main/java/com/example/android/diceroller/MainActivity.kt | AlmaCartaCartel | 260,727,083 | true | {"Kotlin": 1095248} | /*
* Copyright (C) 2018 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | 1 | Kotlin | 1 | 2 | 6caabef97a47b20852bd4e5153db422b35330e44 | 2,557 | android-kotlin-fundamentals-apps | Apache License 2.0 |
onebreath/src/main/kotlin/gabek/onebreath/def/Input.kt | gabe00122 | 77,073,648 | false | {"Gradle": 5, "INI": 1, "Shell": 1, "Text": 2, "Ignore List": 1, "Batchfile": 3, "Markdown": 1, "Java": 30, "Kotlin": 197, "Java Properties": 1, "JSON": 4} | package gabek.onebreath.def
import com.badlogic.gdx.Input
import gabek.engine.core.input.InputManager
/**
* @another <NAME>
* @date 5/17/2017.
*/
object ActionCodes {
const val UP = 0
const val DOWN = 1
const val LEFT = 2
const val RIGHT = 3
}
fun buildInputManager(): InputManager{
val inputM... | 0 | Kotlin | 0 | 0 | 6b76a69cca2baa43b743c7a30822cf4f532a67c6 | 668 | GameEngine | MIT License |
feature/lesson/src/main/java/com/prography/lesson/LessonsState.kt | prography-team8 | 799,143,036 | false | {"Kotlin": 459261} | package com.prography.lesson
import com.prography.usm.state.MachineInternalState
import com.prography.usm.state.UiState
/**
* Created by MyeongKi.
*/
data class LessonsMachineState(
val isRequestRefresh: Boolean = false
) : MachineInternalState<LessonsUiState> {
override fun toUiState(): LessonsUiState {
... | 0 | Kotlin | 0 | 0 | 964f14a6f1688b7c8e6f10a0f1ac45e831110d37 | 455 | gwasuwon-aos | Apache License 2.0 |
feature/migration/qrcode/src/debug/kotlin/app/k9mail/feature/migration/qrcode/ui/QrCodeScannerViewPreview.kt | thunderbird | 1,326,671 | false | {"Kotlin": 5319476, "Java": 2152605, "Python": 23566, "Shell": 2768, "AIDL": 1946} | package app.k9mail.feature.migration.qrcode.ui
import androidx.compose.runtime.Composable
import androidx.compose.ui.tooling.preview.Preview
import app.k9mail.core.ui.compose.designsystem.PreviewWithTheme
import app.k9mail.core.ui.compose.designsystem.atom.Surface
import app.k9mail.feature.migration.qrcode.ui.QrCodeSc... | 871 | Kotlin | 2492 | 10,524 | 8a342003bce092e7e501814dada4eb9118ff45a5 | 1,044 | thunderbird-android | Apache License 2.0 |
mjpeg/src/main/java/info/dvkr/screenstream/mjpeg/ui/settings/general/StopOnSleep.kt | dkrivoruchko | 63,582,643 | false | null | package info.dvkr.screenstream.mjpeg.ui.settings.general
import android.content.res.Resources
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.selection.toggleable
import androidx.compose.... | 22 | null | 340 | 1,720 | 4607e0fac3ae31dabc93726e6b3f358e5a4bebf2 | 4,063 | ScreenStream | MIT License |
control-core/src/main/kotlin/at/florianschuster/control/stub.kt | floschu | 210,012,903 | false | null | package at.florianschuster.control
import org.jetbrains.annotations.TestOnly
/**
* A stub of a [Controller] for view testing.
*/
interface ControllerStub<Action, State> : Controller<Action, State> {
/**
* The [Action]'s dispatched to the [Controller] as ordered [List].
* Use this to verify if view bi... | 1 | Kotlin | 8 | 54 | 164a60a79adff800b862b538c3aee5a05415ebd2 | 2,142 | control | Apache License 2.0 |
app/src/main/java/com/tmvlg/smsreceiver/data/db/NumberDatabase.kt | aifsbei | 376,591,680 | false | null | package com.tmvlg.smsreceiver.data.db
import android.content.Context
import androidx.room.Database
import androidx.room.Room
import androidx.room.RoomDatabase
import com.tmvlg.smsreceiver.domain.numberforrent.NumberForRent
@Database(
entities = [NumberForRent::class],
version = 1
)
abstract class NumberDatab... | 0 | null | 1 | 2 | ce9a182c23ab33494201dd096966a6690fda8b40 | 900 | SMS-Receiver | MIT License |
app/src/main/java/com/jason/rickandmorty/ui/character/LocationFragment.kt | h11128 | 324,210,115 | false | null | package com.jason.rickandmorty.ui.character
import android.annotation.SuppressLint
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.DialogFragment
import com.jason.rickandmorty.R
import com.jason.rickandmorty.data.model.Loca... | 0 | Kotlin | 0 | 0 | e501e02e2914399ad8ea399853bd9f8df472645b | 1,449 | RickAndMorty | MIT License |
mdw-draw/src/com/centurylink/mdw/draw/edit/JsonValue.kt | CenturyLinkCloud | 92,535,002 | false | null | package com.centurylink.mdw.draw.edit
import com.jayway.jsonpath.Configuration
import com.jayway.jsonpath.JsonPath
import com.jayway.jsonpath.Option
import com.jayway.jsonpath.ReadContext
import org.json.JSONObject
class JsonValue(val json: JSONObject, val name: String, val descrip: String? = null) : Comparable<JsonV... | 17 | Kotlin | 3 | 30 | bb5b78aa6bb88b679ac4b5030995d957b8eff3da | 1,966 | mdw-studio | MIT License |
app/src/androidTest/java/com/example/bmiNewAge/presentation/results/ResultsFragmentTest.kt | RyanKoech | 551,817,250 | false | null | package com.example.bmiNewAge.presentation.results
import androidx.arch.core.executor.testing.InstantTaskExecutorRule
import androidx.core.os.bundleOf
import androidx.fragment.app.testing.FragmentScenario
import androidx.fragment.app.testing.launchFragmentInContainer
import androidx.navigation.NavController
import and... | 0 | Kotlin | 0 | 3 | a1184b93e687346a303b652457cd8bb7fbed2b43 | 6,442 | bmiApp-newAgeTest | MIT License |
testerum-backend/testerum-runner/testerum-runner-spring/src/main/kotlin/com/testerum/runner/spring/SpringGlueObjectFactory.kt | testerum | 241,460,788 | false | {"Text": 47, "Gradle Kotlin DSL": 62, "Shell": 17, "Batchfile": 16, "Maven POM": 71, "Java Properties": 2, "Ignore List": 8, "Git Attributes": 1, "EditorConfig": 5, "Markdown": 8, "Kotlin": 1089, "Java": 27, "JSON": 161, "INI": 3, "XML": 30, "JavaScript": 36, "Gherkin": 1, "HTML": 232, "JSON with Comments": 11, "Browse... | package com.testerum.runner.spring
import com.testerum_api.testerum_steps_api.services.TesterumServiceLocator
import com.testerum_api.testerum_steps_api.test_context.TestContext
import com.testerum_api.testerum_steps_api.test_context.TestContextAware
import com.testerum.runner.glue_object_factory.GlueObjectFactory
imp... | 33 | Kotlin | 3 | 22 | 0a53c71b5f659e41282114127f595aad5ab1e4fb | 3,924 | testerum | Apache License 2.0 |
demo/src/desktopMain/kotlin/org/pushingpixels/aurora/demo/svg/flags/il.kt | kirill-grouchnikov | 297,981,405 | false | null | package org.pushingpixels.aurora.demo.svg.flags
import androidx.compose.ui.geometry.*
import androidx.compose.ui.graphics.*
import androidx.compose.ui.graphics.drawscope.DrawScope
import androidx.compose.ui.graphics.drawscope.Fill
import androidx.compose.ui.graphics.drawscope.Stroke
import androidx.compose.ui.graphics... | 4 | null | 7 | 360 | 5d99414ecd92870172a733c51fc4421fbaf0ffd7 | 10,521 | aurora | Apache License 2.0 |
app/src/main/java/app/web/relive/letsgetcocky/data/remote/common/Constants.kt | Relive077 | 435,650,603 | false | {"Kotlin": 96499} | package app.web.relive.letsgetcocky.data.remote.common
object Constants {
const val BASE_URL = "https://www.thecocktaildb.com/"
const val QUERY_DRINK_ID = "idDrink"
}
| 0 | Kotlin | 0 | 2 | fad8484bb13ce6a21eb3b930af6a2ba01f93fa8f | 176 | Let-s-Get-Cocky-App | Apache License 2.0 |
app/src/main/java/com/picassos/betamax/android/core/utilities/ConnectivityInterceptor.kt | aelrahmanashraf | 581,933,102 | false | {"Kotlin": 768121} | package com.picassos.betamax.android.core.utilities
import com.picassos.betamax.android.core.utilities.Response.INTERNET_CONNECTION_EXCEPTION
import okhttp3.Interceptor
import okhttp3.Response
import java.io.IOException
class ConnectivityInterceptor: Interceptor {
override fun intercept(chain: Interceptor.Chain):... | 0 | Kotlin | 0 | 0 | 004716ab1e75f18e85a88bed966078d439dd6e0a | 526 | betamax-android | MIT License |
app/shared/platform/fake/src/commonMain/kotlin/build/wallet/platform/permissions/PermissionCheckerMock.kt | proto-at-block | 761,306,853 | false | {"C": 10424094, "Kotlin": 7156393, "Rust": 2046237, "Swift": 700307, "Python": 331492, "HCL": 271992, "Shell": 111209, "TypeScript": 102700, "C++": 64770, "Meson": 64234, "JavaScript": 36227, "Just": 28071, "Ruby": 9428, "Dockerfile": 5731, "Makefile": 3839, "Open Policy Agent": 1552, "Procfile": 80} | package build.wallet.platform.permissions
import build.wallet.platform.permissions.PermissionStatus.Authorized
import build.wallet.platform.permissions.PermissionStatus.Denied
class PermissionCheckerMock(
var permissionsOn: Boolean = false,
) : PermissionChecker {
override fun getPermissionStatus(permission: Perm... | 0 | C | 10 | 98 | 1f9f2298919dac77e6791aa3f1dbfd67efe7f83c | 435 | bitkey | MIT License |
core/src/main/kotlin/com/malinskiy/marathon/execution/filter/SingleValueTestFilter.kt | MarathonLabs | 129,365,301 | false | null | package com.malinskiy.marathon.execution.filter
import com.malinskiy.marathon.execution.TestFilter
import com.malinskiy.marathon.test.Test
import java.io.File
open class SingleValueTestFilter(
val regex: Regex?,
val values: List<String>?,
val file: File?,
val predicate: SingleValueTestFilter.(test: Te... | 66 | null | 89 | 328 | 77271f081c04093134d8d6ed77e380afd0a362a4 | 1,791 | marathon | Apache License 2.0 |
app/src/main/java/com/github/tfcporciuncula/popupto/FragmentA.kt | tfcporciuncula | 249,149,751 | false | null | package com.github.tfcporciuncula.popupto
import android.os.Bundle
import android.view.View
import androidx.fragment.app.Fragment
import androidx.navigation.fragment.findNavController
class FragmentA : Fragment(R.layout.fragment_a) {
override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
super.o... | 0 | Kotlin | 0 | 0 | d1997fedaf75a46fd15e264ce00f4fa2cf91c163 | 520 | popupto-issue | Apache License 2.0 |
app/src/main/java/com/kotyj/com/activity/mine/ServiceCenterActivity.kt | xuechenbo | 303,630,814 | false | {"Java": 3255457, "C++": 2708232, "Kotlin": 56844, "Makefile": 468} | package com.kotyj.com.activity.mine
import android.app.Dialog
import android.content.ClipData
import android.content.ClipboardManager
import android.content.Context
import android.content.Intent
import android.net.Uri
import android.os.Bundle
import android.util.Log
import android.view.View
import android.widget.Butto... | 1 | null | 1 | 1 | 8fb84ce45a1d3531559da5ed96a0ce6d9cfd361e | 4,100 | newProject | Apache License 2.0 |
{{cookiecutter.repo_name}}/app/src/main/java/core/BaseFragment.kt | smhdk | 149,621,899 | false | null | package com.kodmap.deeplinktester.core
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.annotation.LayoutRes
import androidx.databinding.DataBindingUtil
import androidx.databinding.ViewDataBinding
import androidx.lifecycle.ViewModelProvi... | 1 | null | 1 | 6 | fb3f92aadc728036bd4d332d4707bc98dc704a0f | 1,347 | Kotlin-Androidx-MVVM-Project-Starter | MIT License |
src/main/kotlin/info/jotajoti/jid/location/CreateLocationInput.kt | jotajoti | 709,531,740 | false | {"Kotlin": 81223, "Dockerfile": 355} | package info.jotajoti.jid.location
import info.jotajoti.jid.admin.*
import jakarta.validation.constraints.*
data class CreateLocationInput(
@get:NotBlank
val name: String,
) {
fun toEntity(admin: Admin) =
Location(
name = name,
owners = listOf(admin),
)
}
| 0 | Kotlin | 0 | 0 | 25af7372b2928c0d15cd2e959aebe7288fbe3a91 | 311 | jid-server-spring | MIT License |
app/src/androidTest/java/es/mnmapp/aolv/meneame/utils/FileUtil.kt | aolivafaura | 98,424,220 | false | null | package es.mnmapp.aolv.meneame.utils
import android.content.res.AssetManager
/**
* Helper function which will load JSON from
* the path specified
*
* @param filePath Path to JSON file
* @return string file content
*/
fun AssetManager.getJson(filePath: String): String =
this.open(filePath).bufferedReader().u... | 0 | Kotlin | 0 | 1 | a09e3dc3849f5630a90ccbee46e5deeba41eefd3 | 341 | meneameapp | Apache License 2.0 |
modules/feature/feature_app_settings/src/main/kotlin/kekmech/ru/feature_app_settings/screens/main/elm/AppSettingsReducer.kt | tonykolomeytsev | 203,239,594 | false | null | package kekmech.ru.feature_app_settings.screens.main.elm
import kekmech.ru.feature_app_settings.screens.main.elm.AppSettingsEvent.News
import kekmech.ru.feature_app_settings.screens.main.elm.AppSettingsEvent.Wish
import vivid.money.elmslie.core.store.Result
import vivid.money.elmslie.core.store.StateReducer
import jav... | 9 | Kotlin | 4 | 21 | 4ad7b2fe62efb956dc7f8255d35436695643d229 | 3,963 | mpeiapp | MIT License |
app/src/main/java/com/homatticlife/features/addAttendence/api/routeapi/RouteRepo.kt | DebashisINT | 585,503,675 | false | null | package com.homatticlife.features.addAttendence.api.routeapi
import com.homatticlife.app.Pref
import com.homatticlife.features.addAttendence.model.DistanceResponseModel
import com.homatticlife.features.addAttendence.model.LocationListResponseModel
import com.homatticlife.features.addAttendence.model.RouteResponseModel... | 0 | Kotlin | 0 | 0 | eb2a281c2ac732e36fe9765fc528f90897787b81 | 919 | HomatticLife | Apache License 2.0 |
android/src/main/kotlin/com/dgsd/android/solar/mobilewalletadapter/util/MobileWalletAdapterLocalTransactionUtils.kt | dlgrech | 554,689,573 | false | null | package com.dgsd.android.solar.mobilewalletadapter.util
import android.content.Context
import com.dgsd.android.solar.R
import com.dgsd.android.solar.common.ui.PublicKeyFormatter
import com.dgsd.android.solar.common.ui.RichTextFormatter
import com.dgsd.android.solar.common.ui.SolTokenFormatter
import com.dgsd.android.s... | 0 | Kotlin | 0 | 2 | bcd2267ef1fc4d9b5bdd4de38ba435d36e71e4fa | 2,437 | solar-wallet | Apache License 2.0 |
WeChat/src/main/java/io/github/devzwy/socialhelper/wechat/WeChatSocialHelperExt.kt | devzwy | 493,205,062 | false | {"Kotlin": 69289, "Java": 10050} | package io.github.devzwy.socialhelper.wechat
import android.graphics.Bitmap
import android.graphics.Canvas
import android.graphics.Rect
import com.tencent.mm.opensdk.modelmsg.*
import com.tencent.mm.opensdk.modelpay.PayReq
import com.tencent.mm.opensdk.openapi.IWXAPI
import com.tencent.mm.opensdk.openapi.WXAPIFactory
... | 0 | Kotlin | 0 | 12 | ef9417e624c5c41ed8dae86c25c4f1dbee12075a | 17,828 | SocialHelper | Apache License 2.0 |
app/src/main/java/ir/softap/mefit/domain/interactor/FetchCategoriesUseCase.kt | alirezanobahari | 184,204,774 | false | null | package ir.softap.mefit.domain.interactor
import io.reactivex.Single
import ir.softap.mefit.data.model.Category
import ir.softap.mefit.data.repository.CategoryRepository
import ir.softap.mefit.domain.abstraction.SingleUseCase
import ir.softap.mefit.data.executor.ThreadExecutor
import ir.softap.mefit.domain.executor.Po... | 0 | null | 0 | 1 | 2b910f96bde535c543b4a6cd7fcf2acd0198f5a8 | 750 | mefit-kotlin | MIT License |
app/src/main/java/com/hulkrent/app/adapter/DialogAdapter.kt | Hulk-Cars | 772,120,218 | false | {"Kotlin": 2511410, "Java": 358761} | package com.hulkrent.app.adapter
import android.content.Context
import android.util.Log
import android.view.LayoutInflater
import android.view.ViewGroup
import android.widget.TextView
import com.hulkrent.app.databinding.ItemLanguageBinding
import com.hulkrent.app.util.onClick
import com.hulkrent.app.vo.Languages
clas... | 0 | Kotlin | 0 | 0 | 9886a3455e3d404110a85cdaaf5bbff449390814 | 2,030 | Hulk-Rent-Android | Artistic License 1.0 w/clause 8 |
app/src/main/java/com/example/vflix/parser/Parser.kt | AmarnathCJD | 687,401,720 | false | null | package com.example.vflix.parser
import androidx.compose.runtime.MutableState
import okhttp3.Call
import okhttp3.Callback
import okhttp3.Headers
import okhttp3.OkHttpClient
import okhttp3.Response
import org.json.JSONObject
import java.io.IOException
import java.util.regex.Pattern
data class MediaSrc(
@com.google... | 1 | null | 3 | 5 | f5b68664ed42eb9db51d3dc73e8b46d1fc49702f | 14,385 | FlixY | MIT License |
app/src/main/java/com/google/firebase/udacity/friendlychat/MainActivity.kt | rewgoes | 102,520,323 | false | null | /**
* Copyright Google 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 applic... | 0 | Kotlin | 0 | 1 | faf4e65927b7cc20512eb25c2d429c02dec0cd11 | 10,923 | friendlyChat | Apache License 2.0 |
app/src/main/java/io/wookey/wallet/dialog/LoadingDialog.kt | WooKeyWallet | 176,637,569 | false | {"Kotlin": 448185, "Java": 407883, "C++": 135434, "CMake": 7579, "Shell": 1922} | package io.gamerope.wallet.dialog
import android.app.Dialog
import android.content.Context
import android.graphics.Color
import android.os.Bundle
import android.view.WindowManager
import io.gamerope.wallet.R
import io.gamerope.wallet.support.extensions.dp2px
import io.gamerope.wallet.support.utils.ShadowDrawable
impor... | 6 | Kotlin | 20 | 23 | 93d0d6a4743e95ab2455bb6ae24b2cc6b616bd90 | 1,202 | monero-wallet-android-app | MIT License |
app/src/main/java/org/mydaily/ui/viewmodel/RemindViewModel.kt | TeamMyDaily | 325,142,861 | false | null | package org.mydaily.ui.viewmodel
import android.util.Log
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import org.mydaily.data.model.network.request.ReqReportDetailGet
import org.mydaily.data.model.network.request.ReqReviewAdd
import org.mydaily.data.model.network.response.*
import org.m... | 4 | Kotlin | 1 | 9 | d820795fe1a6332de9ceb6b69ad1d137038d0910 | 3,287 | 4most-Android | Apache License 2.0 |
services/csm.cloud.project.project/src/test/kotlin/com/bosch/pt/iot/smartsite/craft/model/CraftBuilder.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: Robert Bosch Power Tools GmbH, 2018 - 2022
*
* ************************************************************************
*/
package com.bosch.pt.iot.smartsite.craft.model
import com.bosch.pt.iot.smartsite.common.mo... | 0 | Kotlin | 3 | 9 | 9f3e7c4b53821bdfc876531727e21961d2a4513d | 2,113 | bosch-pt-refinemysite-backend | Apache License 2.0 |
libraries/tools/kotlin-gradle-plugin/src/main/kotlin/org/jetbrains/kotlin/gradle/targets/js/nodejs/NodeJsRootExtension.kt | cr8tpro | 189,964,139 | true | {"Kotlin": 37481242, "Java": 7489008, "JavaScript": 157778, "HTML": 74773, "Lex": 23159, "TypeScript": 21255, "IDL": 10895, "ANTLR": 9803, "CSS": 8084, "Shell": 7727, "Groovy": 6940, "Batchfile": 5362, "Swift": 2253, "Ruby": 668, "Objective-C": 293, "Scala": 80} | package org.jetbrains.kotlin.gradle.targets.js.nodejs
import org.gradle.api.Project
import org.jetbrains.kotlin.gradle.logging.kotlinInfo
import org.jetbrains.kotlin.gradle.targets.js.npm.NpmApi
import org.jetbrains.kotlin.gradle.targets.js.npm.NpmResolveTask
import org.jetbrains.kotlin.gradle.targets.js.yarn.Yarn
imp... | 1 | Kotlin | 1 | 2 | dca23f871cc22acee9258c3d58b40d71e3693858 | 3,012 | kotlin | Apache License 2.0 |
performance-tests/test/org/jetbrains/kotlin/idea/testFramework/gradleRoutines.kt | JetBrains | 278,369,660 | false | null | /*
* Copyright 2010-2019 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.idea.testFramework
import com.intellij.openapi.externalSystem.importing.ImportSp... | 186 | null | 4323 | 82 | cc81d7505bc3e9ad503d706998ae8026c067e838 | 3,526 | intellij-kotlin | Apache License 2.0 |
src/main/kotlin/pl/dmichalski/algorithms/_9_sorting/quick/Runner.kt | johnblack123 | 304,328,757 | true | {"Kotlin": 24904, "Groovy": 14140} | package pl.dmichalski.algorithms._9_sorting.quick
import pl.dmichalski.algorithms._9_sorting.SortServiceRunner
/**
* Write a function called sort, that accepts integer array
* and returns sorted array using quick sort algorithm.
*/
object Runner {
@JvmStatic
fun main(args: Array<String>) {
val sor... | 0 | null | 0 | 1 | f27b57b1f3c8a8ab838524a3c087f8febb4eb29c | 410 | algorithms-and-data-structures-in-kotlin | MIT License |
app/src/main/java/com/example/pengesturesrec/MainActivity.kt | Arrayflow | 533,274,910 | false | {"Kotlin": 15099, "Java": 12857} | package com.example.pengesturesrec
import android.content.Context
import android.content.SharedPreferences
import android.graphics.*
import android.os.Bundle
import android.util.Log
import android.view.MotionEvent
import android.view.View
import android.widget.Toast
import androidx.appcompat.app.AppCompatActivity
impo... | 0 | Kotlin | 0 | 0 | 4ff485cc98579f223c43963d3ae0dd946d6474c4 | 11,828 | PenGesturesRec | Apache License 2.0 |
context/vehicle/src/main/kotlin/com/github/caay2000/ttk/context/vehicle/world/domain/Connection.kt | caay2000 | 489,137,393 | false | {"Kotlin": 177204, "Python": 1616} | package com.github.caay2000.ttk.context.vehicle.world.domain
import com.github.caay2000.ttk.context.shared.domain.Distance
import com.github.caay2000.ttk.context.shared.domain.StopId
import com.github.caay2000.ttk.context.shared.domain.VehicleTypeEnum
data class Connection(
val sourceStopId: StopId,
val targe... | 0 | Kotlin | 0 | 0 | 7691e2c8922aab61374b40481b945886401a77b9 | 554 | transport-tycoon-kata | MIT License |
GitToolBox/src/main/kotlin/zielu/gittoolbox/ui/update/AbstractUpdateProjectAction.kt | panda2025 | 235,100,807 | true | {"Java": 404125, "Kotlin": 135296, "HTML": 3194} | package zielu.gittoolbox.ui.update
import com.intellij.openapi.actionSystem.ActionManager
import com.intellij.openapi.actionSystem.AnAction
import zielu.gittoolbox.extension.update.UpdateProjectAction
internal abstract class AbstractUpdateProjectAction(
private val id: String,
private val actionId: String
) : Upd... | 0 | Java | 0 | 1 | 6cd843f9b475c1c3ff8b6d13f221a6fe430342d5 | 779 | GitToolBox | Apache License 2.0 |
nats-core/src/commonMain/kotlin/nats/core/connection/dsl.kt | dimensional-fun | 669,184,682 | false | {"Kotlin": 234897} | package nats.core.connection
import nats.core.NatsServer
import nats.core.annotations.InternalNatsApi
import naibu.ext.intoOrNull
/**
* Whether this connection is currently connected.
*/
@OptIn(InternalNatsApi::class)
public val Connection.isConnected: Boolean get() = state.value is ConnectionState.Connected
/**
... | 1 | Kotlin | 0 | 2 | 049e0e32a292272a7eae0bfca99ecf8c8b690cb3 | 717 | nats.kt | Apache License 2.0 |
payjp-android-verifier/src/test/kotlin/jp/pay/android/verifier/ui/PayjpThreeDSecureStepActivityTest.kt | payjp | 111,647,224 | false | {"Gemfile.lock": 1, "Gradle": 13, "YAML": 3, "Java Properties": 12, "Shell": 5, "Text": 1, "Ignore List": 9, "Batchfile": 1, "Markdown": 2, "Ruby": 2, "Proguard": 2, "XML": 61, "Java": 6, "Kotlin": 161, "HTML": 354, "SVG": 4, "CSS": 2, "JavaScript": 8, "JSON": 1} | /*
*
* Copyright (c) 2021 PAY, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publis... | 2 | Kotlin | 2 | 6 | 6f3cb6184c3def6cae1244fdbdeb8351fb086cf1 | 7,566 | payjp-android | MIT License |
libs/security/example/app/src/test/kotlin/com/softwareplace/springsecurity/example/config/DatabaseConnection.kt | softwareplace | 749,152,259 | false | {"Kotlin": 201707, "Mustache": 12022, "Java": 4578, "Shell": 1291, "Makefile": 762} | package com.softwareplace.springsecurity.example.config
import org.springframework.context.ApplicationContextInitializer
import org.springframework.context.ConfigurableApplicationContext
import org.springframework.core.env.ConfigurableEnvironment
import org.springframework.core.env.MapPropertySource
import org.testcon... | 0 | Kotlin | 0 | 1 | 9d4c43c97b41cf5d645f3540af43b20b208968fd | 1,522 | springboot | Apache License 2.0 |
app/src/main/java/com/kedaireka/monitoringkjabb/utils/retrofitApi/GetApi.kt | Kedaireka-Informatika-Jepara | 564,205,434 | false | null | package com.kedaireka.monitoringkjabb.utils.retrofitApi
import android.util.Log
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import com.google.gson.annotations.SerializedName
import com.kedaireka.monitoringkjabb.model.GraphData
import com.kedaireka.monitoringkjabb.model.SensorData
impor... | 0 | Kotlin | 0 | 0 | 2f067d86d95159f8e34050ec14e64c4eaaa168cd | 3,365 | KJABB-Monitoring-Android | MIT License |
app/src/main/java/io/github/evaogbe/diswantin/task/data/TaskCategoryWithTasks.kt | evaogbe | 878,521,080 | false | {"Kotlin": 758804} | package io.github.evaogbe.diswantin.task.data
data class TaskCategoryWithTasks(val category: TaskCategory, val tasks: List<Task>)
data class TaskCategoryWithTaskItems(val category: TaskCategory, val tasks: List<TaskItem>)
| 0 | Kotlin | 0 | 0 | f57cb78c515dd39718885bd948d13871e7f0a5d7 | 224 | diswantin-android | MIT License |
sample/src/main/java/one/pckg/NotADataClass.kt | blipinsk | 226,739,683 | false | null | package one.pckg
//@AutoBuilder
class NotADataClass(
val a: String,
val b: Int? = 3,
val c: String
) {
companion object
} | 4 | Kotlin | 0 | 9 | 89462201da539fb7372742601aca9a5784ff83e9 | 150 | data-class-builder | Apache License 2.0 |
src/main/kotlin/com/gradlebot/models/UserConfig.kt | aman400 | 156,279,041 | false | null | package com.gradlebot.models
import org.gradle.api.Action
import org.gradle.api.Project
import javax.inject.Inject
open class UserConfig @Inject constructor(var project: Project) {
// Specify the buildType(debug, release.. etc.)
var buildType: String? = null
// Specify flavour for the build if any
v... | 0 | Kotlin | 0 | 0 | bed6cd7cbcd86d409d0eae569bee8898666a59b4 | 980 | GradleBotPlugin | Apache License 2.0 |
feature/account/setup/src/main/kotlin/app/k9mail/feature/account/setup/AccountSetupExternalContract.kt | thundernest | 1,326,671 | false | null | package app.k9mail.feature.account.setup
import app.k9mail.feature.account.common.domain.entity.Account
interface AccountSetupExternalContract {
fun interface AccountCreator {
suspend fun createAccount(account: Account): AccountCreatorResult
sealed interface AccountCreatorResult {
da... | 678 | null | 2385 | 8,251 | 1d350ec6e1f30cc34ab2e23965e3e5f3a3563bfd | 572 | k-9 | Apache License 2.0 |
app/src/main/java/utn/frba/mobile/konzern/profile/Profile.kt | UTN-FRBA-Mobile | 261,071,131 | false | null | package utn.frba.mobile.konzern.profile
data class Profile(val email: String = "", val phone: String= "", val info: String= "", val uid: String= "" ) | 0 | Kotlin | 0 | 0 | d8b1261be749d03a5ef8b0866054206e6f76e00f | 150 | Konzern | MIT License |
sample/src/main/java/me/lazy_assedninja/sample/vo/Demo.kt | henryhuang1219 | 357,838,778 | false | null | package me.lazy_assedninja.sample.vo
data class Demo(val name: String) | 0 | Kotlin | 0 | 0 | 1764dc963f179b2710f189aebf5c45664d51daad | 71 | Android-Demo | Apache License 2.0 |
src/main/kotlin/com/practice/seongjin/datasource/BankDataSource.kt | mobius29 | 523,205,625 | false | {"Kotlin": 6000, "HTML": 152} | package com.practice.seongjin.datasource
import com.practice.seongjin.model.Bank
interface BankDataSource {
fun retrieveBanks(): Collection<Bank>
} | 0 | Kotlin | 0 | 0 | 4e4d2f749bdbdf1d7563bade023cc7078fda11ec | 154 | Springboot-with-Kotlin | MIT License |
src/main/kotlin/com/tang/hwplib/reader/HWPReader.kt | accforaus | 169,677,219 | false | null | package com.tang.hwplib.reader
import com.tang.hwplib.objects.HWPDocument
import com.tang.hwplib.objects.bodytext.HWPBodyText
import com.tang.hwplib.objects.docinfo.HWPBinData
import com.tang.hwplib.objects.docinfo.HWPDocInfo
import com.tang.hwplib.objects.docinfo.bindata.HWPBinDataCompress
import com.tang.hwplib.obje... | 1 | null | 7 | 22 | b828271f12a885dece5af5aa6281a1b2cf84d459 | 5,383 | libhwp | Apache License 2.0 |
bucketeer/src/main/kotlin/io/bucketeer/sdk/android/internal/scheduler/TaskScheduler.kt | bucketeer-io | 517,624,444 | false | {"Kotlin": 465306} | package io.bucketeer.sdk.android.internal.scheduler
import androidx.lifecycle.DefaultLifecycleObserver
import androidx.lifecycle.LifecycleOwner
import io.bucketeer.sdk.android.internal.di.Component
import java.util.concurrent.ScheduledExecutorService
internal class TaskScheduler(
private val component: Component,
... | 8 | Kotlin | 3 | 5 | 58e33cb6bc8b94b30bec91c7bb8a61023a9bee8e | 1,601 | android-client-sdk | Apache License 2.0 |
src/main/kotlin/com/github/takafumi-ko/intellijplatformpluginplactice/listeners/MyProjectManagerListener.kt | takafumi-ko | 296,700,181 | false | null | package com.github.takafumi-ko.intellijplatformpluginplactice.listeners
import com.intellij.openapi.project.Project
import com.intellij.openapi.project.ProjectManagerListener
import com.github.takafumi-ko.intellijplatformpluginplactice.services.MyProjectService
internal class MyProjectManagerListener : ProjectManager... | 0 | Kotlin | 0 | 0 | b3029b821cdfe2b1bee61d497cae973f1f104d02 | 448 | intellij-platform-plugin-practice | Apache License 2.0 |
buildSrc/src/main/kotlin/Projects.kt | sksamuel | 280,509,527 | false | null | object Projects {
const val Fp = ":tabby-fp"
const val Jackson = ":tabby-jackson"
}
| 1 | Kotlin | 4 | 6 | 0f802f9c8d092ea7c242cc8712598630c471ba46 | 90 | tabby | Apache License 2.0 |
dsl/src/main/kotlin/com/faendir/awscdkkt/generated/services/vpclattice/CfnAccessLogSubscriptionPropsDsl.kt | F43nd1r | 643,016,506 | false | null | package com.faendir.awscdkkt.generated.services.vpclattice
import com.faendir.awscdkkt.AwsCdkDsl
import javax.`annotation`.Generated
import kotlin.Unit
import software.amazon.awscdk.services.vpclattice.CfnAccessLogSubscriptionProps
@Generated
public fun buildCfnAccessLogSubscriptionProps(initializer: @AwsCdkDsl
C... | 1 | Kotlin | 0 | 0 | e08d201715c6bd4914fdc443682badc2ccc74bea | 473 | aws-cdk-kt | Apache License 2.0 |
shared/src/commonMain/kotlin/link/socket/kore/model/agent/bundled/FinancialAgent.kt | socket-link | 724,331,833 | false | {"Kotlin": 100247, "Swift": 580, "Shell": 228} | package link.socket.kore.model.agent.bundled
import com.aallam.openai.client.OpenAI
import kotlinx.coroutines.CoroutineScope
import link.socket.kore.model.agent.KoreAgent
data class FinancialAgent(
override val openAI: OpenAI,
override val scope: CoroutineScope,
) : KoreAgent.HumanAndLLMAssisted(scope) {
... | 0 | Kotlin | 0 | 2 | 306a9dc6f1d6db078709a5aebf5a1177f6a995e1 | 2,556 | kore-ai | Apache License 2.0 |
any-adapter/src/main/java/de/pfaffenrodt/adapter/NoPresenter.kt | pfaffenrodt | 79,382,389 | false | {"Kotlin": 51923} | /*
* Copyright (C) 2017 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writi... | 2 | Kotlin | 2 | 9 | 411fb36ac19ea121ec218682c5edd00f66856364 | 1,132 | android-any-adapter | Apache License 2.0 |
userComponent/src/main/java/com/example/user/domain/repositories/UserRepository.kt | Bit-Camp-IO | 643,303,285 | false | null | package com.example.user.domain.repositories
import com.example.user.domain.entities.User
import com.example.user.domain.entities.UserDetails
import kotlinx.coroutines.flow.Flow
interface UserRepository {
suspend fun createLoginSession(userName: String, password: String): User
suspend fun deleteSession(): Bo... | 0 | Kotlin | 1 | 2 | 82141ba5d053fe9c3112d1150b226aceb6125a48 | 699 | TMDA-Android | Apache License 2.0 |
rounded/src/commonMain/kotlin/me/localx/icons/rounded/outline/BowlScoops.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.rounded.outline
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.StrokeJoin.Companion.Miter... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 4,661 | icons | MIT License |
kinda-core/src/main/java/com/dohun/kinda/core/stateMachine/KindaStateMachine.kt | rheehot | 277,958,083 | true | {"Kotlin": 12991} | package com.dohun.kinda.core.stateMachine
import com.dohun.kinda.core.KindaMatcher
import com.dohun.kinda.core.KindaOutput
import com.dohun.kinda.core.concept.KindaEvent
import com.dohun.kinda.core.concept.KindaSideEffect
import com.dohun.kinda.core.concept.KindaState
class KindaStateMachine<S : KindaState, E : Kinda... | 0 | null | 0 | 0 | 21441d602cab6560866c23ba4a22cd08e05007ef | 1,702 | KindaMVI | Apache License 2.0 |
app/src/main/java/cn/shycoder/wanandroidapp/view/fragment/KnowledgeSystemFragment.kt | littledavid-tech | 156,313,112 | false | null | package cn.shycoder.wanandroidapp.view.fragment
import cn.shycoder.wanandroidapp.adapter.recyclerview.KnowledgeSystemNodeAdapter
import cn.shycoder.wanandroidapp.model.entity.KnowledgeNode
import cn.shycoder.wanandroidapp.presenter.KnowledgeSystemPresenterImpl
import cn.shycoder.wanandroidapp.presenter.contract.Knowle... | 0 | Kotlin | 0 | 13 | 37211469b152f7c0a93b8caf024459ee79dc6283 | 1,037 | WanAndroidApp | Apache License 2.0 |
barber/src/test/kotlin/app/cash/barber/examples/ShadowSmsDocument.kt | whitemike889 | 288,375,020 | true | {"Kotlin": 82379, "Shell": 801} | package app.cash.barber.examples
import app.cash.barber.models.Document
/**
* An example Document that shadows field names of [TransactionalSmsDocument]
*/
data class ShadowSmsDocument(
val sms_body: String
) : Document
| 1 | null | 0 | 0 | 950e7ba6b8d84ef4c69f283d87790594c0bae3b4 | 226 | barber | Apache License 2.0 |
androidApp/src/androidMain/kotlin/com/myapplication/MainActivity.kt | git-jr | 680,304,381 | false | null | package com.myapplication
import MainView
import android.content.Context
import android.hardware.Sensor
import android.hardware.SensorEvent
import android.hardware.SensorEventListener
import android.hardware.SensorManager
import android.os.Bundle
import androidx.activity.compose.setContent
import androidx.appcompat.ap... | 0 | Kotlin | 0 | 13 | 21601f80537723a7da7225603241bf0a4eb3b159 | 3,436 | KMPSensors | Apache License 2.0 |
buildSrc/src/main/java/com/simplekjl/buildsrc/Configs.kt | simplekjl | 534,304,720 | false | null | package com.simplekjl.buildsrc
object Configs {
const val compilation = 32
const val applicationId = "com.simplekjl.Stores"
const val minSdk = 26
const val target = 32
const val testRunner = "androidx.test.runner.AndroidJUnitRunner"
} | 0 | Kotlin | 0 | 0 | 2c614a449ae03155cecfd1d69b7fff00106c80e6 | 255 | Stores | Apache License 2.0 |
app/src/main/java/com/project_christopher/projects/bibliotheca/GUI/Item/SubItemActivity.kt | Project-Christopher | 389,983,234 | false | null | package com.project_christopher.projects.bibliotheca.GUI.Item
import android.os.Bundle
import android.widget.ImageView
import android.widget.TextView
import androidx.recyclerview.widget.LinearLayoutManager
import androidx.recyclerview.widget.RecyclerView
import com.project_christopher.projects.bibliotheca.Adapters.Ite... | 0 | Kotlin | 0 | 0 | b5f05006b7f819d6d38aceb4500387627a321e27 | 2,438 | android-bibliotheca | Apache License 2.0 |
Adapters/Vungle/ISVungleAdapter/src/main/java/com/ironsource/adapters/vungle/banner/VungleBannerAdListener.kt | ironsource-mobile | 456,103,088 | false | {"Text": 1, "Ignore List": 1, "Markdown": 1, "Gradle": 36, "Java Properties": 18, "Shell": 12, "Proguard": 12, "XML": 26, "Kotlin": 41, "INI": 10, "Java": 42, "Batchfile": 3} | package com.ironsource.adapters.vungle.banner
import android.widget.FrameLayout
import com.ironsource.adapters.vungle.VungleAdapter
import com.ironsource.mediationsdk.logger.IronLog
import com.ironsource.mediationsdk.logger.IronSourceError
import com.ironsource.mediationsdk.sdk.BannerSmashListener
import com.ironsourc... | 3 | Java | 2 | 5 | 69d4cb5535077ff5e7b3a892c61d7b847cd51fab | 3,855 | levelplay-android-adapters | Apache License 2.0 |
app/src/main/java/com/thread0/bookkeeping/entity/BankData.kt | GanYanHui | 278,060,402 | false | {"Java": 948679, "Kotlin": 30813} | package com.thread0.bookkeeping.entity
import androidx.annotation.DrawableRes
data class BankData(
val bankName: Int,
@DrawableRes val bankIcon: Int
) | 1 | null | 1 | 1 | f4015fa07754ac750390e1ec9cc809e3f0dea106 | 160 | test | Apache License 2.0 |
bezier/src/main/java/io/channel/bezier/icon/BrowserFirefox.kt | channel-io | 736,533,981 | false | {"Kotlin": 2421787, "Python": 12500} | @file:Suppress("ObjectPropertyName", "UnusedReceiverParameter")
// Auto-generated by script/generate_compose_bezier_icon.py
package io.channel.bezier.icon
import androidx.compose.foundation.layout.size
import androidx.compose.material.Icon
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifie... | 7 | Kotlin | 3 | 6 | 39cd58b0dd4a1543d54f0c1ce7c605f33ce135c6 | 13,530 | bezier-compose | MIT License |
dsPagingRecyclerView/src/main/java/com/uj/dspagingrecyclerview/EndlessScrollCallback.kt | UmeshJangid | 359,454,548 | false | {"Gradle": 4, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 4, "Batchfile": 1, "Markdown": 1, "Proguard": 2, "Kotlin": 11, "XML": 30, "Java": 11, "INI": 1} | package com.uj.dspagingrecyclerview
interface EndlessScrollCallback {
fun loadMore()
} | 0 | Kotlin | 0 | 0 | fca03e51284142d5ef546801a4e323bad82989fb | 91 | dsPagingRecyclerView | MIT License |
app/src/main/kotlin/cn/navigational/dbfx/DatabaseMetaManager.kt | tivrfoa | 303,001,716 | true | {"Kotlin": 108780, "Java": 52343, "CSS": 9400} | package cn.navigational.dbfx
import cn.navigational.dbfx.kit.enums.Clients
import cn.navigational.dbfx.model.DatabaseMeta
/**
*
*Current support sql client meta data manager
*
* @author yangkui
* @since 1.0
*/
class DatabaseMetaManager {
private val metas: ArrayList<DatabaseMeta> = arrayListOf()
/**
... | 0 | null | 0 | 0 | 84074162f9765f5f480f77bfd6c5b220a1f093e3 | 1,004 | dbfx | Apache License 2.0 |
app/src/main/java/com/zcp/wanAndroid/utils/ImageLoadUtils.kt | HappyGhostz | 308,595,551 | false | null | package com.zcp.wanAndroid.utils
import android.content.Context
import android.widget.ImageView
import com.bumptech.glide.Glide
import com.bumptech.glide.load.resource.bitmap.RoundedCorners
import com.bumptech.glide.request.RequestOptions
class ImageLoadUtils {
fun loadImageViewWithUrl(context: Context, url: Str... | 0 | Kotlin | 0 | 0 | 3586f9e88ca1af91b8ca6cd7ae2061cc275665ff | 1,882 | wan_android | MIT License |
builders-marketplace-backend-common/src/main/kotlin/builders/marketplace/models/categories/SubCategoryModel.kt | otuskotlin | 330,110,908 | false | null | package builders.marketplace.models.categories
data class SubCategoryModel(
val id: SubCategoryId = SubCategoryId.NONE,
val name: String = "",
val parentCategoryId: CategoryId = CategoryId.NONE
) | 1 | Kotlin | 0 | 0 | 634d29aa6673f8fedbe25a6ee75598e631cded14 | 220 | otuskotlin-202012-bauserviceads-bd | MIT License |
processor-steps/src/main/java/boringyuri/processor/common/steps/CommonInternalAnnotations.kt | anton-novikau | 252,574,617 | false | {"Kotlin": 185347, "Java": 63079, "Shell": 2935} | /*
* Copyright 2022 <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... | 3 | Kotlin | 3 | 12 | 64bcc0046b0daf3d6f215fbb7b448f5ee623834b | 2,663 | boringYURI | Apache License 2.0 |
samples/composition/src/main/java/com/instacart/formula/samples/composition/item/ItemFormula.kt | lgleasain | 405,096,065 | true | {"Kotlin": 290619, "Shell": 997, "Ruby": 221} | package com.instacart.formula.samples.composition.item
import com.instacart.formula.Evaluation
import com.instacart.formula.Formula
import com.instacart.formula.FormulaContext
import kotlin.math.max
class ItemFormula : Formula<ItemFormula.Input, ItemFormula.State, ItemRenderModel> {
data class Input(
val ... | 0 | Kotlin | 0 | 0 | 585da8cd78bdbd4cf4fe77b4f3172c86386884fb | 1,267 | formula | BSD 3-Clause Clear License |
app/src/main/java/com/tsundoku/anilist/viewer/ViewerRepositoryImpl.kt | Sigrec | 776,261,260 | false | {"Kotlin": 181746} | package com.tsundoku.anilist.viewer
import android.util.Log
import com.apollographql.apollo3.ApolloClient
import com.apollographql.apollo3.api.Optional
import com.apollographql.apollo3.cache.normalized.FetchPolicy
import com.apollographql.apollo3.cache.normalized.fetchPolicy
import com.tsundoku.APP_NAME
import com.tsu... | 0 | Kotlin | 0 | 0 | 2c5c473667d6b58230a3545602f35d6cc3bb416b | 7,567 | TsundokuAndroid | MIT License |
paparazzi-gradle-plugin/src/test/projects/compose-leaks/src/test/java/app/cash/paparazzi/plugin/test/ComposeReferenceLeakTest.kt | cashapp | 176,338,719 | false | {"Kotlin": 808142, "JavaScript": 5934, "CSS": 1797, "HTML": 1716} | package app.cash.paparazzi.plugin.test
import androidx.compose.ui.platform.ComposeView
import app.cash.paparazzi.Paparazzi
import org.junit.AfterClass
import org.junit.Rule
import org.junit.Test
import java.lang.ref.WeakReference
class ComposeReferenceLeakTest {
@get:Rule
val paparazzi = Paparazzi()
@Test
fu... | 113 | Kotlin | 214 | 2,290 | a47d3a28700ad0994c45975a5cd0e86e834a9a81 | 817 | paparazzi | Apache License 2.0 |
app/src/main/java/com/yc/shadowjetpack/TestRefreshActivity2.kt | ychxx | 386,224,643 | false | {"Kotlin": 474142, "Java": 109456} | package com.yc.shadowjetpack
import android.annotation.SuppressLint
import androidx.annotation.IntDef
import androidx.annotation.StringDef
import androidx.paging.*
import com.yc.jetpacklib.data.entity.YcDataSourceEntity
import com.yc.jetpacklib.base.YcBaseActivityPlus
import com.yc.jetpacklib.base.YcBaseViewModel
impo... | 1 | Kotlin | 0 | 1 | 7f03672bc6c307aecc507494b0bb842ccd5a3d5e | 5,441 | ShadowJetpack | Apache License 2.0 |
app/src/main/java/com/flowfoundation/wallet/page/browser/presenter/BrowserInputPresenter.kt | Outblock | 692,942,645 | false | {"Kotlin": 2425609, "Java": 104150} | package com.flowfoundation.wallet.page.browser.presenter
import android.annotation.SuppressLint
import android.graphics.Color
import android.graphics.Point
import android.graphics.Rect
import android.view.ViewTreeObserver
import android.view.inputmethod.EditorInfo
import androidx.core.widget.doOnTextChanged
import and... | 93 | Kotlin | 5 | 0 | 73cf4c0812bd963047289f876a19e7484ab958c3 | 6,318 | FRW-Android | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.