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/insiderser/android/movies/data/repository/MovieDetailsRepository.kt | insiderser | 216,079,464 | false | null | /*
* Copyright (c) 2019 Oleksandr Bezushko
*
* 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, ... | 0 | Kotlin | 0 | 0 | c942b813e2e910aaa5db4af37b830ddb35c8796d | 8,070 | Movies | MIT License |
kottage/src/commonMain/kotlin/io/github/irgaly/kottage/internal/repository/KottageItemRepository.kt | irgaly | 361,384,869 | false | {"Kotlin": 442716, "JavaScript": 195} | package io.github.irgaly.kottage.internal.repository
import io.github.irgaly.kottage.internal.database.Transaction
import io.github.irgaly.kottage.internal.model.Item
import io.github.irgaly.kottage.internal.model.ItemStats
internal interface KottageItemRepository {
suspend fun upsert(transaction: Transaction, it... | 14 | Kotlin | 0 | 71 | 2c0332abc3d18c7ef75deefeaf58c95b5bc2cf04 | 2,223 | kottage | Apache License 2.0 |
sample/src/main/java/com/github/panpf/recycler/sticky/sample/ui/StaggeredGridAssemblyHorFragment.kt | panpf | 134,932,163 | false | {"Kotlin": 85645} | /*
* Copyright (C) 2021 panpf <<EMAIL>>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | 1 | Kotlin | 2 | 21 | cf13f793ffecd1891aac76db4d8edde2d65376fb | 6,802 | stickyitemdecoration | Apache License 2.0 |
app/src/main/java/com/brandoncano/resistancecalculator/util/eseries/RoundStandardValue.kt | bmcano | 501,427,754 | false | {"Kotlin": 261316} | package com.brandoncano.resistancecalculator.util.eseries
import java.util.Locale
/**
* Job: Take in the closest standard value and then round it properly for the text field
*/
object RoundStandardValue {
fun execute(resistance: Double): String {
var roundedValue = String.format(Locale.US, "%.2f", resi... | 4 | Kotlin | 0 | 1 | 38852d3883eaa47a707b66eab91e40e80e8c3fca | 585 | resistance-calculator-app | MIT License |
src/main/kotlin/org/lanternpowered/server/text/title/LanternTitle.kt | LanternPowered | 35,904,382 | false | null | /*
* This file is part of LanternServer, licensed under the MIT License (MIT).
*
* Copyright (c) LanternPowered <https://www.lanternpowered.org>
* Copyright (c) SpongePowered <https://www.spongepowered.org>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a c... | 15 | null | 10 | 109 | ed947a3c58574f513e940800b0094652766a092b | 5,458 | Lantern | MIT License |
src/test/kotlin/ludovicmouline/interview/strips/StripsApplicationTests.kt | lmouline | 341,518,451 | false | null | package ludovicmouline.interview.strips
import org.junit.jupiter.api.Test
import org.springframework.boot.test.context.SpringBootTest
@SpringBootTest
class StripsApplicationTests {
@Test
fun `Server can be started`() {}
}
| 0 | Kotlin | 0 | 0 | a26d67ceebbbd45300e7ed51a7194e436870d97f | 228 | 2021-7Senders | Apache License 2.0 |
game/src/main/kotlin/gg/rsmod/game/message/encoder/PublicChatEncoder.kt | 2011Scape | 578,880,245 | false | {"Kotlin": 8904349, "Dockerfile": 1354} | package gg.rsmod.game.message.encoder
import gg.rsmod.game.message.MessageEncoder
import gg.rsmod.game.message.impl.PublicChatMessage
import gg.rsmod.net.packet.GamePacketBuilder
/**
* @author Alycia
*/
class PublicChatEncoder : MessageEncoder<PublicChatMessage>() {
override fun extract(
message: Public... | 39 | Kotlin | 143 | 34 | e5400cc71bfa087164153d468979c5a3abc24841 | 1,228 | game | Apache License 2.0 |
sphinx/screens-detail/episode-detail/episode-detail/src/main/java/chat/sphinx/episode_detail/navigation/ToEpisodeDetail.kt | stakwork | 340,103,148 | false | {"Kotlin": 4008358, "Java": 403469, "JavaScript": 4745, "HTML": 4706, "Shell": 2453} | package chat.sphinx.episode_detail.navigation
import androidx.navigation.NavController
import androidx.navigation.NavOptions
import chat.sphinx.detail_resources.DetailNavOptions
import chat.sphinx.episode_detail.R
import chat.sphinx.episode_detail.ui.EpisodeDetailFragment
import chat.sphinx.episode_detail.ui.EpisodeDe... | 90 | Kotlin | 11 | 18 | 7811b4f4e5a0cf8a26f343704cfced011b1f9bad | 1,482 | sphinx-kotlin | MIT License |
app/src/main/java/com/priyank/wallday/api/ApiHelperClass.kt | Priyankkjain | 268,429,576 | false | {"Kotlin": 81206} | package com.priyank.wallday.api
import com.priyank.wallday.BuildConfig
import okhttp3.OkHttpClient
import okhttp3.logging.HttpLoggingInterceptor
import retrofit2.Retrofit
import retrofit2.adapter.rxjava2.RxJava2CallAdapterFactory
import retrofit2.converter.moshi.MoshiConverterFactory
import java.util.concurrent.TimeUn... | 0 | Kotlin | 1 | 2 | 4ab96f626164b13b3e0df90d7e27ecce8346a9a3 | 1,555 | WallDay | MIT License |
app/src/androidTest/java/com/chesire/nekome/harness/FakeUserApi.kt | ashishkharcheiuforks | 256,973,577 | true | {"Kotlin": 498067, "Ruby": 7559, "JavaScript": 64} | package com.chesire.nekome.harness
import com.chesire.nekome.server.Resource
import com.chesire.nekome.server.api.UserApi
import com.chesire.nekome.core.models.UserModel
open class FakeUserApi : UserApi {
override suspend fun getUserDetails(): Resource<UserModel> {
TODO("not implemented")
}
}
| 0 | null | 0 | 0 | c941c4e1fed0ed76ff28948d9d9bfe7fa280117f | 312 | Nekome | Apache License 2.0 |
app/src/androidTest/java/com/chesire/nekome/harness/FakeUserApi.kt | ashishkharcheiuforks | 256,973,577 | true | {"Kotlin": 498067, "Ruby": 7559, "JavaScript": 64} | package com.chesire.nekome.harness
import com.chesire.nekome.server.Resource
import com.chesire.nekome.server.api.UserApi
import com.chesire.nekome.core.models.UserModel
open class FakeUserApi : UserApi {
override suspend fun getUserDetails(): Resource<UserModel> {
TODO("not implemented")
}
}
| 0 | null | 0 | 0 | c941c4e1fed0ed76ff28948d9d9bfe7fa280117f | 312 | Nekome | Apache License 2.0 |
app/src/main/java/com/erendogan6/dotoday/data/datasource/DoTodayDataSource.kt | erendogan6 | 773,252,846 | false | {"Kotlin": 56225} | package com.erendogan6.dotoday.data.datasource
import com.erendogan6.dotoday.data.model.ToDo
import com.erendogan6.dotoday.data.model.WorkList
import com.erendogan6.dotoday.data.room.DoTodayDao
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.withContext
class DoTodayDataSource(val doTodayDao: DoTodayD... | 0 | Kotlin | 0 | 2 | 4c6c93f8ab638b652e14f125fc273bd7569aec4e | 1,781 | DoToday | MIT License |
core/src/commonMain/kotlin/work/socialhub/kbsky/internal/_Bluesky.kt | uakihir0 | 735,265,237 | false | null | package work.socialhub.kbsky.internal
import work.socialhub.kbsky.Bluesky
import work.socialhub.kbsky.BlueskyConfig
import work.socialhub.kbsky.api.app.bsky.ActorResource
import work.socialhub.kbsky.api.app.bsky.FeedResource
import work.socialhub.kbsky.api.app.bsky.GraphResource
import work.socialhub.kbsky.api.app.bsk... | 2 | null | 1 | 17 | 648870de4e311a209096822b9b73767e0e050c37 | 1,768 | kbsky | MIT License |
samples/starter-mobile-app/src/test/kotlin/researchstack/domain/usecase/task/FetchStudyTasksUseCaseTest.kt | S-ResearchStack | 520,365,275 | false | {"Kotlin": 178868, "AIDL": 4785} | package researchstack.domain.usecase.task
import io.mockk.coEvery
import io.mockk.mockk
import kotlinx.coroutines.test.runTest
import org.junit.jupiter.api.Assertions
import org.junit.jupiter.api.Tag
import org.junit.jupiter.api.Test
import researchstack.NEGATIVE_TEST
import researchstack.domain.repository.TaskReposit... | 5 | Kotlin | 20 | 26 | e31e8055f96fa226745750b5a653e341cf5f2e6c | 835 | app-sdk | Apache License 2.0 |
android/airship-framework-proxy/src/main/java/com/urbanairship/android/framework/proxy/BaseNotificationProvider.kt | urbanairship | 587,525,727 | false | null | /* Copyright Urban Airship and Contributors */
package com.urbanairship.android.framework.proxy
import android.content.Context
import androidx.annotation.ColorInt
import androidx.annotation.DrawableRes
import androidx.core.app.NotificationCompat
import com.urbanairship.AirshipConfigOptions
import com.urbanairship.pus... | 0 | Kotlin | 2 | 1 | 551dce35fb4fabc9a1c6a6fb22be34694c380893 | 2,518 | airship-mobile-framework-proxy | Apache License 2.0 |
src/main/kotlin/server/RequestDispatchingHandler.kt | johnGachihi | 371,629,012 | false | null | package server
import io.netty.channel.ChannelHandlerContext
import io.netty.channel.SimpleChannelInboundHandler
import core.Request
class RequestDispatchingHandler(
private val requestHandler: RequestHandler
) : SimpleChannelInboundHandler<Request>() {
override fun channelRead0(ctx: ChannelHandlerContext, ms... | 0 | Kotlin | 0 | 0 | 3ff46ac42048bde5e4576ae34e19a6050b53db87 | 434 | Parking-Netty | Apache License 2.0 |
contentchef-jvm-common/src/main/java/io/contentchef/common/request/PreviewContentRequestData.kt | ContentChef | 237,468,762 | false | null | package io.contentchef.common.request
import io.contentchef.common.util.ContentChefDateFormat
import java.util.*
/**
* Parameters needed to get a content from a preview channel
* [contentPublicId] the publicId of the content to be retrieved
* [targetDate] the date which will be used to see the preview
*/
data cla... | 1 | null | 1 | 1 | 5b10f4e2f32a4bcb81296a15dfbf27e81bece856 | 662 | contentchef-jvm | Apache License 2.0 |
app/src/main/java/com/example/moviechever/ui/home/HomeViewModel.kt | yenderlobo10 | 323,994,180 | false | null | package com.example.moviechever.ui.home
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.liveData
import com.example.moviechever.extensions.Result
import com.example.moviechever.model.MovieCollection
import com.example.moviecheve... | 0 | Kotlin | 1 | 1 | 44a9ebb78d0c961c278281ddc40d23c284a74dc6 | 5,770 | JetMovieApp | MIT License |
app/src/main/java/motiapps/melodify/common/theme/ThemeViewModel.kt | MotiElitzur | 661,282,488 | false | {"Kotlin": 125299} | package motiapps.melodify.common.theme
import androidx.lifecycle.SavedStateHandle
import androidx.lifecycle.viewModelScope
import dagger.hilt.android.lifecycle.HiltViewModel
import kotlinx.coroutines.launch
import motiapps.melodify.common.datastore.data.model.PreferenceObject
import motiapps.melodify.common.datastore.... | 0 | Kotlin | 0 | 0 | 9bdfe06ed2aa01b79d786b65fca4888edccebf4e | 1,864 | Melodify | Apache License 2.0 |
subprojects/gradle/android/src/main/kotlin/com/avito/android/Aapt.kt | avito-tech | 230,265,582 | false | {"Kotlin": 3752627, "Java": 67252, "Shell": 27892, "Dockerfile": 12799, "Makefile": 8086} | package com.avito.android
import java.io.File
public interface Aapt {
public fun getPackageName(apk: File): Result<String>
}
| 10 | Kotlin | 50 | 414 | 4dc43d73134301c36793e49289305768e68e645b | 132 | avito-android | MIT License |
src/main/kotlin/cz/majksa/trask/entrance/dto/CandidateTechnology.kt | maxa-ondrej | 581,284,639 | false | null | package cz.majksa.trask.entrance.dto
import cz.majksa.trask.entrance.CandidateTechnology
/**
* DTO response class used when listing all technologies of one candidate.
*
* @version 1.0.0
* @since 1.0.0
* @author <NAME>
*/
data class CandidateTechnologyBasic(
val technology: TechnologyBasic,
val level: In... | 0 | Kotlin | 0 | 0 | 9c0e09f2dd0da5b69de578f45580ec8541a53cd9 | 1,432 | trask-entrance | MIT License |
app/src/main/java/com/example/android_study/ui_custom/demo/standard/spider_web/SpiderView.kt | RhythmCoderZZF | 281,057,053 | false | null | package com.example.android_study.ui_custom.demo.standard.spider_web
import android.content.Context
import android.graphics.Canvas
import android.graphics.Color
import android.graphics.Paint
import android.graphics.Path
import android.util.AttributeSet
import android.view.View
import com.example.android_study._base.ut... | 0 | Kotlin | 0 | 0 | b569adcacfdba5ea6b4c323454c3c5130a1b4763 | 4,106 | AndroidStudy | Apache License 2.0 |
app/src/main/java/io/github/msh91/arch/util/providers/BaseResourceProvider.kt | ramzesrodriguez | 151,510,658 | true | {"Kotlin": 99148, "Java": 885} | package io.github.msh91.arch.util.providers
import android.content.ContentResolver
import android.graphics.Bitmap
import android.graphics.drawable.Drawable
import android.net.Uri
import android.support.annotation.ColorRes
import android.support.annotation.DrawableRes
import android.support.annotation.StringRes
import ... | 0 | Kotlin | 0 | 0 | 3b3f6081dd85e470f5984fe39d238a3edf9f1173 | 2,083 | arch | Apache License 2.0 |
app/src/main/java/com/example/animeapp/model/AnimeApp.kt | AdonayMejia | 650,392,241 | false | null | package com.example.animeapp.model
import android.app.Application
import dagger.hilt.android.HiltAndroidApp
@HiltAndroidApp
class AnimeApp:Application() | 0 | Kotlin | 0 | 0 | c503837db31d61ed6dc1d516847e1604732c1b02 | 154 | Compose_AnimeApp | MIT License |
0121-best-time-to-buy-and-sell-stock/0121-best-time-to-buy-and-sell-stock.kt | javadev | 601,623,109 | false | {"Kotlin": 549966, "Java": 511} | class Solution {
fun maxProfit(prices: IntArray): Int {
var maxProfit = 0
var min = prices[0]
for (i in 1 until prices.size) {
if (prices[i] > min) {
maxProfit = Math.max(maxProfit, prices[i] - min)
} else {
min = prices[i]
... | 0 | Kotlin | 0 | 0 | 55c7493692d92e83ef541dcf6ae2e8db8d906409 | 365 | leethub | MIT License |
src/test/kotlin/restApi/MediaHandlerTest.kt | ertprs | 330,072,795 | true | {"Kotlin": 548594, "Dockerfile": 1135} | package com.neelkamath.omniChat.restApi
import com.fasterxml.jackson.module.kotlin.readValue
import com.neelkamath.omniChat.DbExtension
import com.neelkamath.omniChat.createVerifiedUsers
import com.neelkamath.omniChat.db.Audio
import com.neelkamath.omniChat.db.count
import com.neelkamath.omniChat.db.tables.*
import co... | 0 | null | 0 | 0 | ce27f094c2d33967367be0c8d8e36c021272f77c | 5,432 | omni-chat | MIT License |
RiskAssesmentApp/app/src/main/java/com/example/riskassesmentapp/screens/LoginScreen.kt | camtoth | 828,950,712 | false | {"Kotlin": 254800} | package com.example.riskassesmentapp.screens
import android.content.ContentValues
import android.content.Context
import android.database.sqlite.SQLiteDatabase
import android.util.Log
import androidx.compose.foundation.Image
import androidx.compose.foundation.border
import androidx.compose.foundation.clickable
import a... | 0 | Kotlin | 0 | 0 | a4f358f76c6448d4b9df6308cf26c2cd4262d0d2 | 10,018 | DA324B-android-app | MIT License |
app/src/main/java/ch/abwesend/privatecontacts/view/initialization/InfoDialogs.kt | fgubler | 462,182,037 | false | {"Kotlin": 1146267, "Java": 369326} | /*
* Private Contacts
* Copyright (c) 2022.
* <NAME>
*/
package ch.abwesend.privatecontacts.view.initialization
import androidx.compose.runtime.Composable
import ch.abwesend.privatecontacts.R
import ch.abwesend.privatecontacts.domain.settings.ISettingsState
import ch.abwesend.privatecontacts.domain.settings.Setti... | 1 | Kotlin | 1 | 9 | e2bee11f232db2728c98e434dad5148ef0497dbf | 1,381 | PrivateContacts | Apache License 2.0 |
compass-geocoder-web-mapbox/src/commonMain/kotlin/dev/jordond/compass/geocoder/web/parameter/MapboxBoundingBox.kt | jordond | 772,795,864 | false | {"Kotlin": 262383} | package dev.jordond.compass.geocoder.web.parameter
import dev.drewhamilton.poko.Poko
import dev.jordond.compass.tools.web.parameter.QueryParamValue
/**
* A bounding box to limit search results to a specific area.
*
* See the [Mapbox API documentation](https://docs.mapbox.com/api/search/geocoding-v6/#forward-geocod... | 5 | Kotlin | 4 | 89 | d0ef39ed66f7af237bbe21ba630dfcdd6f2ff258 | 1,688 | compass | MIT License |
data/src/main/java/com/semicolon/data/remote/datasource/RemoteNoticeDataSource.kt | Walkhub | 443,006,389 | false | null | package com.semicolon.data.remote.datasource
import com.semicolon.data.remote.response.notice.NoticeListResponse
interface RemoteNoticeDataSource {
suspend fun fetchNoticeList(scope: String): NoticeListResponse
} | 5 | Kotlin | 1 | 29 | 5070c2c33365f2db6f57975078e1ecd7594f66fa | 218 | walkhub_android | MIT License |
app/src/main/java/com/gilbersoncampos/pokeguide/data/mapper/ModelMapper.kt | RickelmyCampos | 812,346,616 | false | {"Kotlin": 58878} | package com.gilbersoncampos.pokeguide.data.mapper
import com.gilbersoncampos.pokeguide.data.local.entity.PokemonEntity
import com.gilbersoncampos.pokeguide.data.model.Pokemon
import com.gilbersoncampos.pokeguide.data.model.PokemonDetail
import com.gilbersoncampos.pokeguide.data.network.dto.PokemonEntryDto
import com.g... | 0 | Kotlin | 0 | 1 | f16ddb5906360ca1cc55e1e88a28a9b044eceb65 | 1,318 | PokeGuide | MIT License |
processor/src/main/java/com/luksiv/entdiffy/processor/codegen/DiffResultCodeBuilder.kt | luksiv | 313,904,223 | false | null | package com.luksiv.entdiffy.processor.codegen
import com.luksiv.entdiffy.processor.models.ModelData
import com.squareup.kotlinpoet.*
class DiffResultCodeBuilder(
private val data: ModelData,
) {
private val diffResultName = "${data.modelName}DiffResult"
private val diffResultClassName = ClassName(data.pa... | 0 | Kotlin | 0 | 1 | bd12c9d6a5f3318887b946a93e58baa844d8c7fd | 1,707 | entdiffy | MIT License |
app/src/main/java/com/rittmann/githubapiapp/ui/list/MainViewModel.kt | willigro | 370,880,917 | false | {"Gradle": 4, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Proguard": 1, "Kotlin": 37, "XML": 28, "Java": 4} | package com.rittmann.githubapiapp.ui.list
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.ViewModelProvider
import com.rittmann.androidtools.log.log
import com.rittmann.baselifecycle.base.BaseViewModel
import com.rittmann.baselifecycle.livedata.SingleLiveEvent
im... | 0 | Kotlin | 0 | 0 | 148943aa3e68a85c8c7bb2dc29c0801f12cc868a | 2,264 | GiHubRepositoryRetrieve | Apache License 2.0 |
leetcode2/src/leetcode/algorithm/LetterCombinations.kt | hewking | 68,515,222 | false | null | package leetcode.algorithm
object Solution {
@JvmStatic
fun main(args : Array<String>) {
println(letterCombinations("23"))
}
fun letterCombinations(digits: String): List<String> {
val list = mutableListOf<String>()
val phones = arrayOf("","","abc","def","ghi","jkl","mno","pq... | 0 | Kotlin | 0 | 0 | a00a7aeff74e6beb67483d9a8ece9c1deae0267d | 821 | leetcode | MIT License |
android/library-magiccube/src/main/java/com/hellobike/magiccube/v2/js/JSHelper.kt | hellof2e | 651,011,094 | false | {"Kotlin": 499995, "Objective-C": 421129, "JavaScript": 39299, "Java": 29943, "Swift": 24514, "Ruby": 5345, "TypeScript": 3969, "Shell": 255} | package com.hellobike.magiccube.v2.js
import com.quickjs.*
object JSHelper {
fun jsObject2Map(jsObject: JSObject): HashMap<String, Any?>? {
if (jsObject.isUndefined || jsObject == JSObject.NULL()) return null
val keys = jsObject.keys ?: return null
val length = keys.size
val has... | 3 | Kotlin | 9 | 60 | 8123fdaafa9ee7eaeee43fb73789b7fa3feac697 | 3,959 | Wukong | Apache License 2.0 |
client_restaurant/shared/src/commonMain/kotlin/presentation/orderHistory/OrderHistoryScreenModel.kt | TheChance101 | 671,967,732 | false | null | package presentation.orderHistory
import cafe.adriel.voyager.core.model.screenModelScope
import domain.entity.Order
import domain.entity.OrderStatus
import domain.usecase.IManageOrderUseCase
import kotlinx.coroutines.CoroutineScope
import presentation.base.BaseScreenModel
import presentation.base.ErrorState
class Or... | 4 | null | 55 | 572 | 1d2e72ba7def605529213ac771cd85cbab832241 | 2,475 | beep-beep | Apache License 2.0 |
UI/src/main/java/com/hf/starwars/details/PersonDetailsActivity.kt | biodunalfet | 192,399,583 | false | null | package com.hf.starwars.details
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import androidx.core.content.ContextCompat
import androidx.lifecycle.Observer
import androidx.lifecycle.ViewModelProviders
import androidx.recyclerview.widget.DividerItemDecoration
import androidx.recyclerview.widg... | 1 | null | 5 | 4 | e01a1561ed87dd638d18f50661c3b3e809944f73 | 3,188 | StarWarsChar | Apache License 2.0 |
app/src/main/java/com/example/bestbuy/di/module.kt | jmanday | 301,367,076 | false | null | package com.example.bestbuy.di
import com.example.bestbuy.data.datasource.ProductDataSource
import com.example.bestbuy.data.datasource.RemoteProductDataSource
import com.example.bestbuy.navigation.NavigateFromProductToDetailFragment
import com.example.bestbuy.repository.ProductRepositoryImpl
import com.example.bestbuy... | 1 | Kotlin | 0 | 0 | ceeda97334cccc816cc4d83718bb53b1b08c88c4 | 723 | BestBuy | Apache License 2.0 |
app/src/main/java/eu/ginlo_apps/ginlo/activity/base/NewBaseActivity.kt | cdskev | 358,279,979 | false | {"Java": 4918351, "Kotlin": 717287, "HTML": 2200} | // Copyright (c) 2020-2024 ginlo.net GmbH
package eu.ginlo_apps.ginlo.activity.base
import android.widget.TextView
import androidx.appcompat.widget.Toolbar
import eu.ginlo_apps.ginlo.BaseActivity
import eu.ginlo_apps.ginlo.R
abstract class NewBaseActivity : BaseActivity() {
override fun initToolbar() {
v... | 1 | Java | 0 | 5 | 5609a68a539fc5fd9666d3d5f93be750fa5a2b77 | 721 | ginlo-android | Apache License 2.0 |
app/src/main/java/io/horizontalsystems/bankwallet/modules/rooteddevice/RootedDeviceActivity.kt | horizontalsystems | 142,825,178 | false | null | package io.horizontalsystems.bankwallet.modules.rooteddevice
import android.os.Bundle
import androidx.activity.viewModels
import androidx.appcompat.app.AppCompatActivity
import androidx.compose.foundation.layout.padding
import androidx.compose.ui.Modifier
import androidx.compose.ui.unit.dp
import io.horizontalsystems.... | 136 | null | 219 | 402 | 5ce20e6e4e0f75a76496051ba6f78312bc641a51 | 1,643 | unstoppable-wallet-android | MIT License |
My_Network/app/src/test/java/pkg1_okhttp_code_test/ExampleUnitTest.kt | yuanuscfighton | 557,023,117 | false | null | package pkg1_okhttp_code_test
import okhttp3.CacheControl
import okhttp3.ConnectionPool
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.internal.okHttpName
import okhttp3.internal.threadFactory
import org.junit.Assert.assertEquals
import org.junit.Test
import java.util.concurrent.SynchronousQueue
imp... | 0 | Kotlin | 0 | 0 | 7b8e3cf83a0f815fdbe6412f8ed1d356fa1c8f3c | 2,511 | nice-android-job | MIT License |
src/main/kotlin/com/github/ojacquemart/realtime/websocket/MessageEncoder.kt | ojacquemart | 369,252,422 | false | null | package com.github.ojacquemart.realtime.websocket
import com.fasterxml.jackson.databind.ObjectMapper
import javax.websocket.Encoder
import javax.websocket.EndpointConfig
class MessageEncoder : Encoder.Text<Message> {
companion object {
private val MAPPER = ObjectMapper()
}
override fun init(config: Endpoi... | 1 | Kotlin | 2 | 1 | 0293f8e892ed6702ae9a5964a89ccc2800661d01 | 472 | quarkus-realtime-db | Apache License 2.0 |
app/src/main/java/com/boltuix/android/RecyclerViewFragment.kt | BoltUIX | 542,468,449 | false | {"Kotlin": 12601} | package com.boltuix.android
import android.os.Bundle
import android.view.*
import androidx.appcompat.app.AppCompatDelegate
import androidx.core.view.MenuHost
import androidx.core.view.MenuProvider
import androidx.fragment.app.Fragment
import androidx.fragment.app.activityViewModels
import androidx.fragment.app.viewMod... | 0 | Kotlin | 0 | 2 | e9a597922a5482b01909283832e628ee0ebbba58 | 4,522 | Dark-theme-Material-Design | Apache License 2.0 |
app/src/main/kotlin/com/yasinkacmaz/jetflix/ui/main/MainActivity.kt | yasinkacmaz | 223,481,763 | false | {"Kotlin": 191643} | package com.yasinkacmaz.jetflix.ui.main
import android.graphics.Color
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.SystemBarStyle
import androidx.activity.compose.setContent
import androidx.activity.enableEdgeToEdge
import androidx.compose.foundation.isSystemInDarkTheme
... | 2 | Kotlin | 38 | 399 | 76c10c988756a0410690bab683fb1de9929b91bb | 2,495 | jetflix | MIT License |
promisekt/src/main/java/com/swarmnyc/promisekt/JvmPromiseOptions.kt | weironghuang31 | 217,903,306 | true | {"Kotlin": 44552} | package com.swarmnyc.promisekt
import com.swarmnyc.fulton.android.util.readWriteLazy
import java.util.concurrent.Executor
import java.util.concurrent.ExecutorService
import java.util.concurrent.Executors
internal class JvmPromiseOptions : PromiseOptions() {
//background executor
override var executor: Executo... | 0 | null | 0 | 0 | 7ec0710a81f30d732578b2b9206755f9721559ad | 896 | PromiseKt | MIT License |
src/main/kotlin/org/elasticsearch4idea/rest/MyHttpGet.kt | ergoz | 286,516,221 | true | {"Kotlin": 235816} | /*
* Copyright 2020 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... | 0 | null | 1 | 0 | b7b923e4f984b53ab00acdc7890998c4c2e7aada | 943 | elasticsearch4idea | Apache License 2.0 |
library/src/main/kotlin/com/daniloaraujosilva/mathemagika/library/common/mathematica/functions/OuterPolygon.kt | Danilo-Araujo-Silva | 271,904,885 | false | null | package com.daniloaraujosilva.mathemagika.library.common.mathematica.functions
import com.daniloaraujosilva.mathemagika.library.common.mathematica.MathematicaFunction
/**
*````
*
* Name: OuterPolygon
*
* Full name: System`OuterPolygon
*
* Usage: OuterPolygon[poly] gives the outer ... | 2 | Kotlin | 0 | 3 | 4fcf68af14f55b8634132d34f61dae8bb2ee2942 | 993 | mathemagika | Apache License 2.0 |
src/me/carleslc/kotlin/extensions/time/TimingExtensions.kt | stangls | 118,023,295 | true | {"Kotlin": 72739} | @file:Suppress("NOTHING_TO_INLINE")
package me.carleslc.kotlin.extensions.time
import me.carleslc.kotlin.extensions.number.roundDiv
import me.carleslc.kotlin.extensions.standard.with
import java.io.PrintStream
import java.math.MathContext
import java.time.Duration
import java.util.concurrent.TimeUnit
import kotlin.sy... | 0 | Kotlin | 0 | 0 | c4cc58715120297d073809add2c693d565bb18ca | 3,880 | kotlin-extensions | MIT License |
dist/src/main/kotlin/kr/toxicity/hud/equation/EquationPair.kt | toxicity188 | 766,189,896 | false | {"Kotlin": 423076, "Java": 49347} | package kr.toxicity.hud.equation
import kr.toxicity.hud.api.yaml.YamlObject
import kr.toxicity.hud.util.ifNull
import kr.toxicity.hud.util.toEquation
class EquationPair(val x: TEquation, val y: TEquation) {
companion object {
val zero = EquationPair(TEquation.zero, TEquation.zero)
}
fun evaluate(... | 7 | Kotlin | 24 | 97 | 09537825664cd061ce4f63feb0a37891e73231c6 | 607 | BetterHud | MIT License |
contracts/src/test/kotlin/com/cdlexample/contracts/AgreementContractTests.kt | manosbatsis | 345,012,401 | true | {"Kotlin": 94730, "HTML": 436, "JavaScript": 53} | package com.cdlexample.contracts
import com.cdlexample.states.AgreementState
import com.cdlexample.states.AgreementStatus
import net.corda.core.contracts.Amount
import net.corda.core.contracts.UniqueIdentifier
import net.corda.core.identity.CordaX500Name
import net.corda.testing.core.TestIdentity
import net.corda.test... | 0 | null | 0 | 0 | 93df3d4a3a6eafe8e519915afbfce22194e54a72 | 31,268 | cdl-example | Apache License 2.0 |
examples/quickstart-firefox/src/main/java/io/fluentlenium/examples/components/fluentlenium/Header.kt | FluentLenium | 2,088,736 | false | null | package io.fluentlenium.examples.components.fluentlenium
import io.fluentlenium.core.FluentControl
import io.fluentlenium.core.components.ComponentInstantiator
import io.fluentlenium.core.domain.FluentWebElement
import org.openqa.selenium.WebElement
import org.openqa.selenium.support.FindBy
class Header(element: WebE... | 32 | null | 212 | 867 | 6674ac80b0ab990c1ee5b8417109fc3134f27eeb | 939 | FluentLenium | Apache License 2.0 |
src/main/java/challenges/mostafa/_1_arrays/_3_2_pointers/P5ThreeSum.kt | ShabanKamell | 342,007,920 | false | {"Kotlin": 670996} | package challenges.mostafa._1_arrays._3_2_pointers
/**
Given an integer array nums, return all the triplets [nums[i], nums[j], nums[k]]
such that i != j, i != k, and j != k, and nums[i] + nums[j] + nums[k] == 0.
Notice that the solution set must not contain duplicate triplets.
Example 1:
Input: nums = [-1,0,1,2,-1,... | 0 | Kotlin | 0 | 0 | 0c83f516d0efacf8cff4430cc61b91d682b6f391 | 2,656 | CodingChallenges | Apache License 2.0 |
library/src/main/kotlin/com/gmail/fattazzo/aboutlibrary/domain/Author.kt | fattazzo | 133,080,076 | false | null | /*
* Project: android-about-library
* File: Author.kt
*
* Created by fattazzo
* Copyright © 2018 <NAME>. All rights reserved.
*
* MIT License
* 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 ... | 2 | null | 1 | 2 | 2a004ab5f0d3060f2d923b1a824f20c66b05be01 | 2,087 | android-about-library | MIT License |
src/main/kotlin/io/titandata/titan/commands/Upgrade.kt | pioro | 217,339,218 | true | {"Kotlin": 147429, "Shell": 4301, "Dockerfile": 582, "Batchfile": 486, "PowerShell": 170} | /*
* Copyright (c) 2019 by Delphix. All rights reserved.
*/
package io.titandata.titan.commands
import io.titandata.titan.Dependencies
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.... | 0 | null | 0 | 0 | a5e28d7d63eb2af33e7b34b7060d3d7263c57166 | 1,352 | titan | Apache License 2.0 |
src/main/kotlin/no/nav/hjelpemidler/suggestionengine/Models.kt | navikt | 390,976,856 | false | null | package no.nav.hjelpemidler.suggestionengine
import java.time.LocalDate
import java.time.LocalDateTime
import java.util.UUID
data class Suggestions(
val dataStartDate: LocalDate?,
var suggestions: List<Suggestion>
)
data class SuggestionsFrontendFiltered(
val dataStartDate: LocalDate?,
val suggestion... | 0 | Kotlin | 0 | 0 | 2ca23525fb2fe96186540ac5d2dcfa5138ae0821 | 1,390 | hm-forslagsmotor-tilbehoer | MIT License |
app/src/main/java/com/example/restopass/connection/ObjectMapperProvider.kt | yamilacasarini | 277,623,175 | true | {"Kotlin": 353081} | package com.example.restopass.connection
import com.fasterxml.jackson.annotation.JsonInclude
import com.fasterxml.jackson.databind.DeserializationFeature
import com.fasterxml.jackson.databind.PropertyNamingStrategy
import com.fasterxml.jackson.module.kotlin.KotlinModule
import com.fasterxml.jackson.module.kotlin.jacks... | 0 | Kotlin | 0 | 0 | d7cd1311e707a0496d9328150916a0cd2a189edf | 796 | restopassApp | MIT License |
app/src/main/java/com/example/restopass/connection/ObjectMapperProvider.kt | yamilacasarini | 277,623,175 | true | {"Kotlin": 353081} | package com.example.restopass.connection
import com.fasterxml.jackson.annotation.JsonInclude
import com.fasterxml.jackson.databind.DeserializationFeature
import com.fasterxml.jackson.databind.PropertyNamingStrategy
import com.fasterxml.jackson.module.kotlin.KotlinModule
import com.fasterxml.jackson.module.kotlin.jacks... | 0 | Kotlin | 0 | 0 | d7cd1311e707a0496d9328150916a0cd2a189edf | 796 | restopassApp | MIT License |
implementation/src/main/kotlin/pl/beone/promena/transformer/barcodedetector/zxingopencv/processor/BarcodeFilter.kt | BeOne-PL | 235,078,126 | false | {"Maven POM": 6, "Text": 1, "Ignore List": 1, "Markdown": 1, "Kotlin": 44, "Java Properties": 2, "Dockerfile": 1, "Java": 1, "XML": 1} | package pl.beone.promena.transformer.barcodedetector.zxingopencv.processor
import pl.beone.promena.transformer.barcodedetector.zxingopencv.processor.BarcodeDetector.DetectedBarcode
import pl.beone.promena.transformer.barcodedetector.zxingopencv.processor.Processor.PageWithItem
internal class BarcodeFilter(
regexS... | 1 | null | 1 | 1 | 3aa2e278563b3b580639f3bcefc44d6696e56cd3 | 1,214 | promena-transformer-barcode-detector-zxing-opencv | Apache License 2.0 |
features/login/src/main/java/com/firebase/login/viewModels/LoginViewModel.kt | gabrielrodriguez2746 | 249,225,620 | false | null | package com.firebase.login.viewModels
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.firebase.login.data.PollingUserException
import com.firebase.login.data.LoginRepository
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines... | 0 | Kotlin | 0 | 0 | d8971733e1dd9efc67f69ae7fb5416928c7774cf | 1,373 | Firebase-Login | Apache License 2.0 |
sample/src/main/java/com/github/panpf/zoomimage/sample/ui/examples/compose/ZoomImageSample.kt | panpf | 647,222,866 | false | null | package com.github.panpf.zoomimage.sample.ui.examples.compose
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.runtime.Composable
import androidx.compose.runtime.LaunchedEffect
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
import androidx.compose.r... | 0 | Kotlin | 0 | 3 | a6814e1fc8a84946d8bad0cf41406519197784eb | 3,096 | zoomimage | Apache License 2.0 |
dsl/src/main/kotlin/io/cloudshiftdev/awscdkdsl/services/imagebuilder/CfnInfrastructureConfigurationLoggingPropertyDsl.kt | cloudshiftinc | 667,063,030 | false | null | @file:Suppress(
"RedundantVisibilityModifier",
"RedundantUnitReturnType",
"RemoveRedundantQualifierName",
"unused",
"UnusedImport",
"ClassName",
"REDUNDANT_PROJECTION",
"DEPRECATION"
)
package io.cloudshiftdev.awscdkdsl.services.imagebuilder
import io.cloudshiftdev.awscdkdsl.common.Cdk... | 4 | null | 0 | 3 | c59c6292cf08f0fc3280d61e7f8cff813a608a62 | 1,743 | awscdk-dsl-kotlin | Apache License 2.0 |
app/src/main/java/com/example/in2000_prosjektoppgave/ui/maps/MapSearchFragment.kt | pettersandvand | 431,793,227 | false | {"Kotlin": 188887} | package com.example.in2000_prosjektoppgave.ui.maps
import android.app.Activity
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import android.content.pm.PackageManager
import androidx.core.app.ActivityCompat
import... | 0 | Kotlin | 0 | 0 | 044cc5b0a919c3cc64229689c3da356d2420493b | 6,424 | in2000-team37-njord | MIT License |
src/jvmMain/kotlin/org/jetbrains/webwiz/ProjectBurner.kt | terrakok | 413,509,623 | false | {"Kotlin": 105808, "CSS": 84928, "HTML": 1232} | package org.jetbrains.webwiz
import org.apache.commons.compress.archivers.zip.UnixStat
import org.apache.commons.compress.archivers.zip.ZipArchiveEntry
import org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
import org.jetbrains.webwiz.generator.files.GradleBat
import org.jetbrains.webwiz.generator.fil... | 4 | Kotlin | 26 | 218 | f3d7cc92c2e0d350aeb4f5980138aeed6947d8ae | 2,200 | kmp-web-wizard | MIT License |
data/src/main/kotlin/com/vultisig/wallet/data/models/ReshareMessage.kt | vultisig | 789,965,982 | false | {"Kotlin": 1403983, "Ruby": 1713} | package com.vultisig.wallet.data.models
data class ReshareMessage(
val sessionID: String,
val hexChainCode: String,
val serviceName: String,
val pubKeyECDSA: String,
val oldParties: List<String>,
val encryptionKeyHex: String,
val useVultisigRelay: Boolean,
val oldResharePrefix: String,
... | 44 | Kotlin | 2 | 6 | 25c5824a4ff8b62077d1ee3e3f5ceab82757a583 | 348 | vultisig-android | Apache License 2.0 |
src/main/kotlin/dev/augu/nino/configuration/RedisConfiguration.kt | NinoDiscord | 275,459,123 | false | null | package dev.augu.nino.configuration
import kotlinx.serialization.Serializable
@Serializable
data class RedisConfiguration(
val url: String? = null, // connect via url (redis://password@host:port/database)
// or construct url automatically
val host: String? = null,
val port: Int? = null,
val pa... | 6 | Kotlin | 0 | 5 | 7a9937908197fedbbe544e374ce350b7129da1af | 376 | NinoKotlin | MIT License |
data/src/main/java/br/albuquerque/data/entity/ConfigEntity.kt | rebecaalbuquerque | 239,064,633 | true | {"Kotlin": 64750} | package br.albuquerque.data.entity
import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey
@Entity(tableName = "config")
class ConfigEntity(
@PrimaryKey @ColumnInfo(name = "id") var id: Int = 1,
@ColumnInfo(name = "count") var count: Int
) | 0 | Kotlin | 0 | 0 | 6922ef43abaf29291fede9bf5c245e4f0c688b67 | 285 | entrevista-android | The Unlicense |
src/main/kotlin/no/nav/aap/proxy/inntektskomponent/InntektController.kt | navikt | 422,128,379 | false | null | package no.nav.aap.proxy.inntektskomponent
import no.nav.aap.util.Constants.AAD
import no.nav.security.token.support.spring.ProtectedRestController
import org.springframework.web.bind.annotation.PostMapping
import org.springframework.web.bind.annotation.RequestBody
@ProtectedRestController(value = ["/inntektskomponen... | 0 | Kotlin | 0 | 2 | c20c7138057e30d27fa939d6e9662501b442df3a | 519 | aap-fss-proxy | MIT License |
kcrypto/src/test/kotlin/PSSTest.kt | bcgit | 196,159,414 | false | {"Kotlin": 458444, "HTML": 419} | import org.bouncycastle.kcrypto.Digest
import org.bouncycastle.kcrypto.spec.asymmetric.PSSSigSpec
import org.bouncycastle.kcrypto.spec.asymmetric.RSAGenSpec
import org.bouncycastle.util.Strings
import org.bouncycastle.util.encoders.Base64
import org.junit.jupiter.api.Assertions.assertFalse
import org.junit.jupiter.api.... | 0 | Kotlin | 15 | 69 | dc86103f5fef1baf9f6e1cdff17bbf31927637ab | 8,062 | bc-kotlin | MIT License |
FloatingBubbleView/src/main/java/com/torrydo/floatingbubbleview/x.kt | TorryDo | 438,978,844 | false | null | package org.codevn.floatingbubbleview
import android.content.Context
import android.content.res.Resources
import android.graphics.Bitmap
import androidx.core.content.ContextCompat
import androidx.core.graphics.drawable.toBitmap
import com.torrydo.screenez.ScreenEasy
import java.lang.ref.WeakReference
internal fun I... | 2 | null | 21 | 98 | a1d16585d86ab5b9a5eaed43f2c3d03bbaf052f1 | 719 | Floating-Bubble-View | Apache License 2.0 |
feature-staking-impl/src/main/java/com/dfinn/wallet/feature_staking_impl/presentation/staking/redeem/di/RedeemComponent.kt | finn-exchange | 500,972,990 | false | null | package com.dfinn.wallet.feature_staking_impl.presentation.staking.redeem.di
import androidx.fragment.app.Fragment
import dagger.BindsInstance
import dagger.Subcomponent
import com.dfinn.wallet.common.di.scope.ScreenScope
import com.dfinn.wallet.feature_staking_impl.presentation.staking.redeem.RedeemFragment
import co... | 0 | Kotlin | 0 | 0 | 6cc7a0a4abb773daf3da781b7bd1dda5dbf9b01d | 753 | dfinn-android-wallet | Apache License 2.0 |
app/src/main/java/com/bluethunder/tar2/ui/case_details/adapter/CommentsAdapter.kt | eslamfaisal | 512,166,864 | false | null | package com.bluethunder.tar2.ui.case_details.adapter
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.recyclerview.widget.RecyclerView
import androidx.swiperefreshlayout.widget.CircularProgressDrawable
import com.bluethunder.tar2.R
import com.bluethunder.tar2.databinding.CommentsListIte... | 0 | Kotlin | 0 | 18 | 1ca46a9b534bd23c61ebf6f143bf9b5379223e53 | 2,582 | emergency-services | Apache License 2.0 |
part1/ws-blog-server/src/main/kotlin/com/istrosec/blog/ws/server/Application.kt | istrosec | 414,354,115 | false | {"TypeScript": 7674, "Kotlin": 5683, "Go": 5627, "HTML": 1725, "CSS": 992} | package com.istrosec.blog.ws.server
import io.ktor.application.*
import io.ktor.features.*
import io.ktor.http.*
import io.ktor.response.*
import io.ktor.routing.*
import io.ktor.server.engine.*
import io.ktor.server.netty.*
import io.ktor.websocket.*
fun main() {
embeddedServer(Netty, port = 8080, host = "0.0.0.... | 0 | TypeScript | 2 | 6 | 97b62622e13c2eccc202b36ce70933a51aa66c7a | 1,268 | ws-blog | MIT License |
seskar/seskar-compiler-plugin/src/main/kotlin/seskar/compiler/typeguard/backend/JsTypeGuard.kt | turansky | 279,976,108 | false | {"Kotlin": 148097, "JavaScript": 1520, "Shell": 459, "HTML": 302} | package seskar.compiler.typeguard.backend
import org.jetbrains.kotlin.ir.declarations.IrClass
import org.jetbrains.kotlin.ir.expressions.IrConst
import org.jetbrains.kotlin.ir.expressions.IrConstructorCall
import org.jetbrains.kotlin.ir.util.getAnnotation
import org.jetbrains.kotlin.name.FqName
internal class TypeGua... | 0 | Kotlin | 7 | 53 | aed3340d598374581ea4fbb0db06e9902b8d664c | 820 | seskar | Apache License 2.0 |
core/src/iosMain/kotlin/com/erolc/mrouter/utils/Platform.ios.kt | ErolC | 786,106,502 | false | {"Kotlin": 215198, "Swift": 620, "HTML": 304} | package com.erolc.mrouter.utils
import androidx.compose.runtime.Composable
import androidx.compose.ui.unit.DpSize
import androidx.compose.ui.unit.dp
import com.erolc.mrouter.backstack.entry.WindowEntry
import com.erolc.mrouter.model.WindowOptions
import com.erolc.mrouter.window.WindowSize
import kotlinx.cinterop.Expe... | 0 | Kotlin | 0 | 0 | f03c6eb32d1798ecc1468abf43f8d97121f697d2 | 816 | MRouter | Apache License 2.0 |
src/backend/ci/core/repository/api-repository/src/main/kotlin/com/tencent/devops/repository/pojo/OauthParams.kt | TencentBlueKing | 189,153,491 | false | {"Kotlin": 30176725, "Vue": 6739254, "JavaScript": 1256623, "Go": 616850, "Lua": 567159, "TypeScript": 461781, "SCSS": 365654, "Shell": 157561, "Java": 153049, "CSS": 106299, "HTML": 96201, "Python": 39238, "Less": 24714, "Makefile": 10630, "Smarty": 10297, "Dockerfile": 5097, "Batchfile": 4908, "PowerShell": 1626, "VB... | package com.tencent.devops.repository.pojo
import com.tencent.devops.repository.pojo.enums.RedirectUrlTypeEnum
data class OauthParams(
val gitProjectId: Long?,
val userId: String,
val redirectUrlType: RedirectUrlTypeEnum?,
val redirectUrl: String?
)
| 719 | Kotlin | 498 | 2,382 | dd483c38bdbe5c17fa0e5e5bc3390cd1cd40757c | 268 | bk-ci | MIT License |
app/src/main/java/idv/chauyan/itunessearch/presentation/screen/albumdetail/view/AlbumDetailFragment.kt | wangchauyan | 265,606,023 | false | null | package idv.chauyan.itunessearch.presentation.screen.albumdetail.view
import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.ImageView
import android.widget.TextView
import com.squareup.picasso.Picas... | 0 | Kotlin | 1 | 2 | 33784b7269224b6949761a96f1fa3e2cee240e09 | 3,721 | iTunesSearch | MIT License |
src/main/kotlin/cn/enaium/jimmer/gradle/service/impl/JavaEntityGenerateService.kt | Enaium | 762,181,289 | false | {"Kotlin": 98307} | /*
* Copyright 2024 Enaium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... | 0 | Kotlin | 0 | 7 | 908b84e0c1e46391b8951b6f89763a470faa4cf7 | 13,047 | jimmer-gradle | Apache License 2.0 |
bluzelle/android/app/src/main/kotlin/ethify/bluzelle/MainActivity.kt | Abhimanyu121 | 256,583,960 | false | {"Dart": 234538, "HTML": 1126, "Swift": 404, "Kotlin": 120, "Objective-C": 38} | package ethify.bluzelle
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| 0 | Dart | 1 | 1 | 22f9a41774a68baf566e9ec09640a306c86b5570 | 120 | Bluzelle | MIT License |
daogenerator/src/main/kotlin/se/plilja/springdaogen/engine/model/DatabaseDialect.kt | plilja | 164,498,962 | false | {"Java": 452808, "Kotlin": 180630, "PLSQL": 2936, "TSQL": 1960, "Shell": 1162, "Dockerfile": 663} | package se.plilja.springdaogen.engine.model
enum class DatabaseDialect {
ORACLE,
ORACLE12,
MSSQL_SERVER,
POSTGRES,
MYSQL
}
| 1 | null | 1 | 1 | e9ddf578c59eb83cd4ec29dddfd86e387adcfe71 | 144 | spring-dao-codegen | MIT License |
app/src/main/java/engineer/echo/study/cmpts/apm/FpsHelper.kt | Pluckypan | 186,970,500 | false | null | package engineer.echo.study.cmpts.apm
import android.util.Log
import android.view.Choreographer
import java.util.concurrent.atomic.AtomicBoolean
import java.util.concurrent.atomic.AtomicLong
class FpsHelper : Choreographer.FrameCallback {
private val lastFrameTime = AtomicLong()
private val enable = AtomicBo... | 0 | Kotlin | 0 | 3 | ecc46d4f4250421f93167f6d7dbda5562149e000 | 1,707 | DDU | Apache License 2.0 |
app/src/main/java/ar/edu/utn/frba/mobile/smarket/fragments/AddProductFragment.kt | UTN-FRBA-Mobile | 210,464,103 | false | null | package ar.edu.utn.frba.mobile.smarket.fragments
import android.os.Bundle
import android.view.View
import androidx.navigation.fragment.findNavController
import ar.edu.utn.frba.mobile.smarket.R
import ar.edu.utn.frba.mobile.smarket.activities.MainActivity
import ar.edu.utn.frba.mobile.smarket.model.Product
import ar.ed... | 0 | Kotlin | 0 | 2 | a0a75acf57d9c28861ae3163ddd3d351b2327a2d | 2,625 | Smarket | MIT License |
app/src/main/java/surcharge/ui/MainActivity.kt | BrokenAxis | 720,365,393 | false | {"Kotlin": 113682} | package surcharge.ui
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.activity.enableEdgeToEdge
import surcharge.SurchargeApplication
import surcharge.ui.home.HomeScreen
class MainActivity: ComponentActivity() {
override fun onCreate... | 0 | Kotlin | 0 | 0 | f0369c512721aee1146212c92e335fa5f33b2248 | 603 | 2-percent-surcharge | MIT License |
core/src/main/java/lt/markmerkk/app/mvp/ClientView.kt | marius-m | 70,466,482 | false | null | package lt.markmerkk.app.mvp
/**
* @author mariusmerkevicius
* @since 2016-10-23
*/
interface ClientView {
} | 0 | Kotlin | 0 | 1 | 0980eb4c01340d465599d0e0334db0fd1ff3ea5d | 112 | racer_test | Apache License 2.0 |
src/main/kotlin/util/json/InstantAsLongSerializer.kt | nea89o | 637,563,904 | false | {"Kotlin": 600801, "Java": 131606, "Nix": 1217} |
package moe.nea.firmament.util.json
import kotlinx.datetime.Instant
import kotlinx.serialization.KSerializer
import kotlinx.serialization.descriptors.PrimitiveKind
import kotlinx.serialization.descriptors.PrimitiveSerialDescriptor
import kotlinx.serialization.descriptors.SerialDescriptor
import kotlinx.serialization... | 25 | Kotlin | 6 | 37 | 9cdc30e024fac9fe04eeeccb15dfd46f4aa648cb | 821 | Firmament | Apache License 2.0 |
app/src/main/java/org/aerovek/chartr/ui/wallet/transaction/SendAeroViewModel.kt | AerovekCommunity | 587,113,492 | false | null | /*
The MIT License (MIT)
Copyright (c) 2023-present Aerovek
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, merg... | 2 | Kotlin | 0 | 3 | 889bd025bdcc8ab8dfce8af23349467b3720f59c | 6,847 | Chartr.Android | MIT License |
httplibrary/src/main/java/com/chaomeng/http/UploadListener.kt | lodqc | 203,317,079 | false | null | package com.chaomeng.http
import com.chaomeng.common.DownloadListener
interface UploadListener : DownloadListener {
override fun onDownloadIng(progressValue: Long, maxValue: Long) {
}
fun onUploadIng(progressValue: Long, maxValue: Long)
} | 0 | Kotlin | 0 | 1 | c2bb707e7c97c25b1d926a2747d9d9e870b0c81c | 255 | jetpack | Apache License 2.0 |
app/src/main/java/com/lvp/autodownloader/ui/downloaddetails/DownloadDetailsScreen.kt | LuongPV | 770,756,923 | false | {"Kotlin": 276666} | package com.lvp.autodownloader.ui.downloaddetails
import androidx.compose.foundation.Image
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.lay... | 0 | Kotlin | 0 | 0 | 6e39d4cd9877f009724b420ad96c085cbd36048c | 7,053 | AutoDownloader | Apache License 1.1 |
test/analysis/TestCelestialAnalysis.kt | exertionriver | 742,813,983 | false | {"Kotlin": 441812} | package analysis
@ExperimentalUnsignedTypes
class TestCelestialAnalysis {
/*
@Test
fun testRender() {
val firstProfile = Profiles.getDefaultProfile(Profiles.PROFILE_1)
val secondProfile = Profiles.getDefaultProfile(Profiles.PROFILE_2)
val compProfile = Profiles.getCompositeProfile(firs... | 0 | Kotlin | 0 | 0 | f19f85a9695a59ed9e35f6bdcb17d89cf98da878 | 14,163 | sac-kcop | MIT License |
src/main/kotlin/io/github/vyo/strakh/goap/engine/Executor.kt | vyo | 44,870,177 | false | {"Kotlin": 16105} | package io.github.vyo.strakh.goap.engine
import io.github.vyo.strakh.goap.client.Action
/**
* Created by <NAME> on 21.11.2015.
*/
object Executor {
fun executePlan(plan: List<Action>) {
for (action in plan) action.execute()
}
} | 0 | Kotlin | 0 | 0 | 520882888973aa775295fafde8d017613cc58247 | 248 | strakh | MIT License |
src/test/kotlin/de/tweerlei/plumber/worker/impl/text/PatternWorkerTest.kt | tweerlei | 450,150,451 | false | null | /*
* Copyright 2022 <NAME> + Buchmeier GbR - http://www.tweerlei.de/
*
* 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 require... | 0 | Kotlin | 0 | 2 | b2ceea1cdd92ac14b6206f1c8393f8bedfb4f0c8 | 2,685 | plumber | Apache License 2.0 |
adcio_analytics/src/main/java/ai/corca/adcio_analytics/network/data/event/AnalyticsAddToCartRequest.kt | corca-ai | 682,358,293 | false | {"Kotlin": 81702} | package ai.corca.adcio_analytics.network.data.event
import com.google.gson.annotations.SerializedName
data class AnalyticsAddToCartRequest(
@SerializedName("sessionId") val sessionId: String,
@SerializedName("deviceId") val deviceId: String,
@SerializedName("customerId") val customerId: String?,
@Seri... | 0 | Kotlin | 0 | 4 | bf02be67aba1722712b708ddf4d12c0ede935a8c | 485 | adcio_android_plugins | MIT License |
plotwizard/src/main/java/com/charts/plotwizard/TestData.kt | md0092651 | 614,966,090 | false | null | package com.charts.plotwizard
import com.charts.plotwizard.chartdata.ChartEntry
import com.charts.plotwizard.ui.theme.C1
import com.charts.plotwizard.ui.theme.C2
import com.charts.plotwizard.ui.theme.C3
import com.charts.plotwizard.ui.theme.C4
fun getMockRangeList() = listOf(
ChartEntry.RangeBar(0F, 5F),
Char... | 0 | Kotlin | 1 | 5 | 4f4db4cb8843022bab02087184f8d3ca29ced362 | 1,506 | PlotWizard | MIT License |
app/src/main/java/com/technicalassigments/moviewapp/data/repository/MoviesPagingSource.kt | anang2602 | 380,973,246 | false | null | package com.technicalassigments.moviewapp.data.repository
import androidx.paging.PagingSource
import androidx.paging.PagingState
import com.technicalassigments.moviewapp.BuildConfig
import com.technicalassigments.moviewapp.data.api.ApiService
import com.technicalassigments.moviewapp.data.model.Movie
import com.technic... | 0 | Kotlin | 0 | 0 | c46e2c32efd98db4d72133afa24610495048d2ae | 1,864 | movie-app | Apache License 2.0 |
app/src/main/java/com/example/hashapp/HomeViewModel.kt | BOSS6292 | 574,935,902 | false | {"Kotlin": 8485} | package com.example.hashapp
import android.util.Log
import androidx.lifecycle.ViewModel
import java.security.MessageDigest
class HomeViewModel: ViewModel() {
fun getHash(plainText: String, algorithm : String): String {
val bytes = MessageDigest.getInstance(algorithm).digest(plainText.toByteArray())
... | 0 | Kotlin | 0 | 1 | 14b1be29681ee97e570a9839fcfc971bb9af5531 | 553 | HashApp | MIT License |
app/src/main/java/com/saulhervas/easychat/hilt/NetworkModule.kt | Sevs44 | 810,458,848 | false | {"Kotlin": 162893} | package com.saulhervas.easychat.hilt
import com.saulhervas.easychat.data.repository.backend.retrofit.ApiClient
import com.saulhervas.easychat.data.repository.backend.retrofit.ApiService
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent
import java... | 0 | Kotlin | 0 | 2 | 15e58967934a24a514cde5460f38446bc9859113 | 563 | TFB_Equipo1_Android | MIT License |
app/src/main/java/br/edu/ifpb/phoebus_marvel_store/ComicsAdapter.kt | samueldcabral | 222,171,551 | false | {"Java": 26063, "Kotlin": 12612} | package br.edu.ifpb.phoebus_marvel_store
import android.content.Context
import android.graphics.Color
import android.util.Log
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.BaseAdapter
import android.widget.ImageView
import android.widget.TextView
import... | 1 | null | 1 | 1 | e3c464fa595ba85c545aa1965818f445df81ac50 | 2,579 | Marvel-Comic-Store-Kotlin | MIT License |
src/main/kotlin/io/usoamic/app/configs/ValidateRepositoryConfig.kt | usoamic | 387,016,102 | false | null | package io.usoamic.app.configs
import io.usoamic.commons.crossplatform.repositories.api.ValidateRepository
import io.usoamic.commons.crossplatform.repositories.impl.ValidateRepositoryImpl
import org.springframework.context.annotation.Bean
import org.springframework.context.annotation.Configuration
@Configuration
clas... | 0 | Kotlin | 0 | 0 | 72e70651a1219569d4d7f73913994e2d3a958140 | 461 | UsoamicApp-REST-API | MIT License |
apps/etterlatte-behandling/src/main/kotlin/oppgave/OppgaveServiceImpl.kt | navikt | 417,041,535 | false | null | package no.nav.etterlatte.oppgave
import no.nav.etterlatte.Kontekst
import no.nav.etterlatte.User
import no.nav.etterlatte.funksjonsbrytere.FeatureToggle
import no.nav.etterlatte.funksjonsbrytere.FeatureToggleService
import no.nav.etterlatte.inTransaction
import no.nav.etterlatte.libs.common.behandling.BehandlingStatu... | 15 | Kotlin | 0 | 3 | 5c317f6c94b58c725545af6cdec64bf3f3f39e12 | 2,804 | pensjon-etterlatte-saksbehandling | MIT License |
demo/src/main/kotlin/se/springworks/mvvmcomponents/demo/trips/item/viewmodel/TripItemViewModel.kt | Springworks | 107,048,077 | false | {"Kotlin": 19279, "Java": 149} | package se.springworks.mvvmcomponents.demo.trips.item.viewmodel
import androidx.databinding.ObservableField
import android.view.LayoutInflater
import android.view.ViewGroup
import se.springworks.mvvmcomponents.demo.BR
import se.springworks.mvvmcomponents.demo.core.DistanceFormatter
import se.springworks.mvvmcomponents... | 0 | Kotlin | 0 | 3 | f75ce702e5c65190ee1b832f760a2253187b90f7 | 1,714 | MVVMComponents | Apache License 2.0 |
app/src/main/java/com/semba/audioplayer/data/ControlButtons.kt | SembaMax | 579,667,740 | false | {"Kotlin": 30474} | package com.semba.audioplayer.data
enum class ControlButtons {
Play,
Next,
Rewind
} | 0 | Kotlin | 0 | 1 | 0abcc0225ef5be1ed1339c9e70f4588bb3b4bf5a | 96 | audio-player-with-media-notification | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.