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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
code/assurance/src/main/java/com/adobe/marketing/mobile/assurance/internal/ui/pin/dialpad/DialPadView.kt | adobe | 574,649,367 | false | {"Kotlin": 484837, "Java": 352519, "Shell": 4242, "Makefile": 2984, "HTML": 2928} | /*
Copyright 2023 Adobe. All rights reserved.
This file is licensed to you 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 la... | 7 | Kotlin | 9 | 2 | 94d183046fc3a6190e74c01d85293e9cbf8ad810 | 3,594 | aepsdk-assurance-android | Apache License 2.0 |
clients/kotlin/generated/src/test/kotlin/org/openapitools/client/models/CatalogsProductGroupFilterKeysTest.kt | oapicf | 489,369,143 | false | {"Markdown": 13009, "YAML": 64, "Text": 6, "Ignore List": 43, "JSON": 688, "Makefile": 2, "JavaScript": 2261, "F#": 1305, "XML": 1120, "Shell": 44, "Batchfile": 10, "Scala": 4677, "INI": 23, "Dockerfile": 14, "Maven POM": 22, "Java": 13384, "Emacs Lisp": 1, "Haskell": 75, "Swift": 551, "Ruby": 1149, "Cabal Config": 2, ... | /**
*
* Please note:
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* Do not edit this file manually.
*
*/
@file:Suppress(
"ArrayInDataClass",
"EnumEntryName",
"RemoveRedundantQualifierName",
"UnusedImport"
)
package org.openapitools.client.models
import i... | 0 | Java | 0 | 2 | dcd328f1e62119774fd8ddbb6e4bad6d7878e898 | 8,213 | pinterest-sdk | MIT License |
features/dd-sdk-android-trace/src/test/kotlin/com/datadog/trace/common/sampling/SpanSamplingRulesFileTest.kt | DataDog | 219,536,756 | false | {"Gradle Kotlin DSL": 47, "YAML": 10, "Markdown": 31, "Python": 1, "Proguard": 9, "Shell": 3, "Java Properties": 1, "Text": 4, "Ignore List": 29, "Batchfile": 1, "EditorConfig": 1, "Kotlin": 1587, "XML": 137, "CMake": 4, "C++": 16, "JSON": 111, "TOML": 1, "INI": 1, "Java": 317, "C": 6, "CODEOWNERS": 1} | /*
* Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0.
* This product includes software developed at Datadog (https://www.datadoghq.com/).
* Copyright 2016-Present Datadog, Inc.
*/
package com.datadog.trace.common.sampling
import org.junit.jupiter.a... | 1 | null | 1 | 1 | 61e5b9975e228dd38518924b702fddda885a5727 | 831 | dd-sdk-android | Apache License 2.0 |
dialog-simple/src/main/java/me/reezy/cosmo/dialog/simple/LoadingDialog.kt | czy1121 | 532,288,959 | false | null | package me.reezy.cosmo.dialog.simple
import android.content.Context
import android.view.View
import android.widget.*
import me.reezy.cosmo.dialog.simple.R
import me.reezy.cosmo.dialog.CustomDialog
class LoadingDialog(context: Context, compact: Boolean = false, text: String = context.getString(R.string.toosimple_load... | 0 | Kotlin | 0 | 0 | 561f02ad7517b2e2e8aadeef93368bb4d5e5a510 | 683 | dialog | Apache License 2.0 |
app/src/main/java/com/example/nasagridapp/app/utils/SnapHelperOneByOne.kt | AdityaV025 | 501,602,171 | false | {"Kotlin": 26505} | package com.example.nasagridapp.app.utils
import androidx.recyclerview.widget.LinearLayoutManager
import androidx.recyclerview.widget.LinearSnapHelper
import androidx.recyclerview.widget.RecyclerView
class SnapHelperOneByOne(private val isVertical: Boolean) : LinearSnapHelper() {
override fun findTargetSnapPosit... | 0 | Kotlin | 1 | 0 | e1f70730fb873163039a1e6ce7c7ff1ac4ffc0fb | 1,491 | NasaGridApp | Apache License 2.0 |
app/src/main/java/com/example/spygamers/utils/HandleDrawerItemClicked.kt | Juicy-Lemonberry | 748,985,682 | false | {"Kotlin": 257724} | package com.example.spygamers.utils
import androidx.navigation.NavController
import androidx.navigation.NavHostController
import com.example.spygamers.Screen
import com.example.spygamers.models.DrawerMenuItem
fun handleDrawerItemClicked(drawerItem: DrawerMenuItem, currentDrawerItem: Screen, navController: NavControll... | 3 | Kotlin | 2 | 1 | 9512696751a6c7dc5e0361f43b3b08097208ea42 | 445 | SpyGamers-App | MIT License |
app/src/main/java/com/zoomyu/kotlindemo/domain/commands/Command.kt | zoomyu | 93,063,189 | false | null | package com.zoomyu.kotlindemo.domain.commands
/**
* Created by yuwei on 17-6-7.
*/
interface Command<out T> {
fun execute(): T
}
| 0 | Kotlin | 0 | 0 | 5164722156f2a31e400e3453be62c497deccba26 | 136 | KotlinDemo | MIT License |
app/src/main/java/com/zhongya/havefun/ui/adapter/personal/CollectAdapter.kt | zhongya666 | 392,348,712 | false | null | package com.zhongya.havefun.ui.adapter.personal
import android.text.TextUtils
import android.view.View
import android.widget.ImageView
import coil.load
import com.chad.library.adapter.base.BaseDelegateMultiAdapter
import com.chad.library.adapter.base.delegate.BaseMultiTypeDelegate
import com.chad.library.adapter.base.... | 1 | Kotlin | 1 | 9 | a3cbba971479fe840b51870b42244af646deda62 | 3,406 | WanApk | Apache License 2.0 |
app/src/main/java/com/zhongya/havefun/ui/adapter/personal/CollectAdapter.kt | zhongya666 | 392,348,712 | false | null | package com.zhongya.havefun.ui.adapter.personal
import android.text.TextUtils
import android.view.View
import android.widget.ImageView
import coil.load
import com.chad.library.adapter.base.BaseDelegateMultiAdapter
import com.chad.library.adapter.base.delegate.BaseMultiTypeDelegate
import com.chad.library.adapter.base.... | 1 | Kotlin | 1 | 9 | a3cbba971479fe840b51870b42244af646deda62 | 3,406 | WanApk | Apache License 2.0 |
src/main/kotlin/com/brain/ion/graphics/IonGraphics.kt | marshallbrain-backup | 210,874,963 | false | null | package com.brain.ion.graphics
import com.brain.ion.components.Component
import com.brain.ion.components.Text
import com.brain.ion.components.vectors.Path
import com.brain.ion.components.vectors.Style
import com.brain.ion.components.vectors.Vector
import java.awt.*
import java.awt.font.TextLayout
import java.awt.geom.... | 7 | Kotlin | 0 | 0 | 4998a563c101746080f1fa4f231805067af7c449 | 3,138 | ion-experiment-1 | MIT License |
SunnyWeather/app/src/main/java/com/sunnyweather/android/ui/user/UserWhoLogin.kt | plattanus | 709,212,164 | false | {"Kotlin": 44216} | package com.sunnyweather.android.ui.user
import retrofit2.Retrofit
import retrofit2.converter.gson.GsonConverterFactory
class UserWhoLogin {
companion object StaticParams{
var LOAN_PERSON_Password = "<PASSWORD>"
var LOAN_PERSON_Account = "null"
}
} | 0 | Kotlin | 0 | 0 | b8abb4b4a47c6cbbafb51491879d264175d40d9c | 276 | WeatherApp | MIT License |
data/src/commonMain/kotlin/sources/AppStateSource.kt | niallkh | 855,100,709 | false | {"Kotlin": 1942525, "Swift": 25802} | package kosh.data.sources
import kosh.domain.state.AppState
import kotlinx.coroutines.flow.Flow
interface AppStateSource {
val state: Flow<AppState>
suspend fun update(update: (AppState) -> AppState): AppState
}
| 0 | Kotlin | 0 | 3 | c08a9f32c0f12bf01eeb366c471b079923ac73ff | 224 | kosh | MIT License |
EzXHelper/src/main/java/com/github/kyuubiran/ezxhelper/misc/FinderExceptionMessage.kt | KyuubiRan | 349,098,837 | false | {"Kotlin": 140228} | @file:Suppress("unused", "MemberVisibilityCanBePrivate")
package com.github.kyuubiran.ezxhelper.misc
import com.github.kyuubiran.ezxhelper.interfaces.INamed
class FinderExceptionMessage {
val exceptionMessageBuilder = StringBuilder()
val msg: String
get() = exceptionMessageBuilder.append("Stacktrace:... | 6 | Kotlin | 44 | 362 | 1f40c82b35c5ec1ec4f9526cea8f9539c691ce65 | 838 | EzXHelper | Apache License 2.0 |
confluence-plugin/src/main/java/com/networkedassets/git4c/data/encryption/EncryptedRepository.kt | rpaasche | 321,741,515 | true | {"Kotlin": 798728, "JavaScript": 351426, "Java": 109291, "Groovy": 55451, "CSS": 37375, "ANTLR": 19544, "Gherkin": 15007, "HTML": 14268, "Shell": 4490, "Ruby": 1378, "Batchfile": 1337, "PowerShell": 716} | package com.networkedassets.git4c.data.encryption
import com.networkedassets.git4c.data.Repository
data class EncryptedRepository(
val uuid: String,
val repository: Repository,
val securityKey: String
) | 0 | Kotlin | 0 | 0 | e55391b33cb70d66bbf5f36ba570fb8822f10953 | 228 | git4c | Apache License 2.0 |
app/src/main/java/de/truedev/killmyself/EntryActivity.kt | alxgrk | 148,005,054 | false | null | package de.truedev.killmyself
import agency.tango.materialintroscreen.MaterialIntroActivity
import android.content.Context
import android.content.Intent
import android.content.SharedPreferences
import android.os.Bundle
import android.util.Log
class EntryActivity : MaterialIntroActivity() {
private var prefs: Sh... | 0 | Kotlin | 0 | 0 | b61838adf0012e1d145f2115981db86d6b8bb51b | 1,760 | KillMyself | Apache License 2.0 |
src/main/kotlin/Main.kt | ZengLawrence | 640,224,866 | false | null | import app.App.Companion.app
fun main() {
app {
redis {
host(System.getenv("REDIS_HOST") ?: "localhost")
port(System.getenv("REDIS_PORT")?.toInt() ?: 6379)
}
}.build()
.start(7070)
} | 0 | Kotlin | 0 | 0 | 46b2d236f79fee13132674e7089df295c724d3fe | 240 | kotlin-todo | MIT License |
forge-1.12.2/src/main/kotlin/dev/luna5ama/glwrapper/api/GL15Impl.kt | Luna5ama | 594,203,393 | false | {"Kotlin": 331635} | package dev.luna5ama.glwrapper.api
import dev.luna5ama.kmogus.Arr
open class GL15Impl(tempArr: Arr) : GL15LWJGL2(tempArr) | 0 | Kotlin | 0 | 4 | 6834165eca3ea63dbee7cbb56b6f0a0de8dd3811 | 123 | gl-wrapper | MIT License |
app/src/main/java/com/pose/composingclocks/core/savestate/HandleStateSaver.kt | lotdrops | 343,812,742 | false | null | package com.pose.composingclocks.core.savestate
import androidx.lifecycle.SavedStateHandle
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Job
import kotlinx.coroutines.flow.MutableStateFlow
import kotlinx.coroutines.flow.collect
import kotlinx.coroutines.launch
class HandleStateSaver(private val s... | 0 | Kotlin | 2 | 86 | fe79ad04d962401362d5693306349afbd1a93b42 | 1,158 | Composing-Clocks | MIT License |
kotlin/app/src/main/java/net/igorbrejc/timeslack/UIMessage.kt | breki | 240,225,649 | false | null | package net.igorbrejc.timeslack
sealed class UIMessage
data class TimerUpdated(val currentTime: SlackerTime) : UIMessage()
data class NextActivityButtonClicked(val currentTime: SlackerTime) :
UIMessage()
| 0 | Kotlin | 0 | 0 | e3bdebac87e73172ff27ebad479a7f5d29ff25e5 | 211 | TimeSlack | MIT License |
exercise-completed/kotlin/robot-name/src/main/kotlin/RobotName.kt | Ale142 | 467,517,865 | true | {"Kotlin": 492189, "Shell": 13575} | import kotlin.random.Random
class Robot {
companion object {
private var generatedNames: MutableList<String> = emptyList<String>().toMutableList()
}
private var status = false // name generated -> true, false otherwise
private val charsPool: List<Char> = CharRange('A', 'Z').toList()
var na... | 0 | Kotlin | 0 | 0 | f48013acdc9b16865c14a0de8df1e1394fe3af62 | 1,147 | kotlin | MIT License |
storage/src/main/java/com/yzq/storage/mmkv/MMKVUser.kt | yuzhiqiang1993 | 140,548,996 | false | {"Kotlin": 368226, "Java": 153913, "CSS": 3721, "JavaScript": 3215, "HTML": 2415} | package com.yzq.storage.mmkv
import com.tencent.mmkv.MMKV
import com.yzq.mmkv.MMKVReadWriteProp
import com.yzq.storage.AppStorage
/**
* @description 用户相关的存储
* @author yuzhiqiang (<EMAIL>)
*/
object MMKVUser {
val mmkv = MMKV.mmkvWithID(
"user",
MMKV.SINGLE_PROCESS_MODE,//单进程模式
"xeon... | 0 | Kotlin | 0 | 0 | f65f96b72df77536925e6f0ef56aa27d404ce206 | 658 | kotlinCommon | MIT License |
storage/src/main/java/com/yzq/storage/mmkv/MMKVUser.kt | yuzhiqiang1993 | 140,548,996 | false | {"Kotlin": 368226, "Java": 153913, "CSS": 3721, "JavaScript": 3215, "HTML": 2415} | package com.yzq.storage.mmkv
import com.tencent.mmkv.MMKV
import com.yzq.mmkv.MMKVReadWriteProp
import com.yzq.storage.AppStorage
/**
* @description 用户相关的存储
* @author yuzhiqiang (<EMAIL>)
*/
object MMKVUser {
val mmkv = MMKV.mmkvWithID(
"user",
MMKV.SINGLE_PROCESS_MODE,//单进程模式
"xeon... | 0 | Kotlin | 0 | 0 | f65f96b72df77536925e6f0ef56aa27d404ce206 | 658 | kotlinCommon | MIT License |
app/src/main/java/com/anangkur/wallpaper/feature/MainActivity.kt | anangkur | 281,979,916 | false | {"Kotlin": 109025} | package com.anangkur.wallpaper.feature
import android.content.Intent
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import androidx.fragment.app.Fragment
import com.anangkur.wallpaper.R
import com.anangkur.wallpaper.databinding.ActivityMainBinding
import com.anangkur.wallpaper.presentation.ge... | 6 | Kotlin | 1 | 8 | e893dfec250c6a5bb9440609038d8b3d3c9c471b | 1,854 | walla | MIT License |
src/main/kotlin/jp/ac/titech/cs/se/refactorhub/core/model/annotator/autofill/AutofillType.kt | salab | 208,590,763 | false | null | package jp.ac.titech.cs.se.refactorhub.core.model.annotator.autofill
import kotlin.reflect.KClass
enum class AutofillType {
Reference,
Surround,
Package;
val klass: KClass<out Autofill>
get() = when (this) {
Reference -> jp.ac.titech.cs.se.refactorhub.core.model.annotator.autofill... | 0 | Kotlin | 0 | 6 | f876da7bcc7bceed549586f0f0300d20f2108fe0 | 565 | RefactorHub | MIT License |
openai-client/client/src/jvmTest/kotlin/com/xebia/functional/openai/models/ext/embedding/create/CreateEmbeddingRequestInputSpec.kt | xebia-functional | 629,411,216 | false | {"Kotlin": 4240359, "TypeScript": 67083, "Mustache": 18713, "Java": 8890, "CSS": 7836, "JavaScript": 4283, "HTML": 678} | package com.xebia.functional.openai.models.ext.embedding.create
import com.xebia.functional.simpleStringArb
import io.kotest.matchers.shouldBe
import io.kotest.property.Arb
import io.kotest.property.arbitrary.int
import io.kotest.property.arbitrary.list
import io.kotest.property.checkAll
import kotlin.test.Test
import... | 40 | Kotlin | 16 | 162 | e8a62e98e2a6a2f8958045a8098987583d3e8b0a | 3,862 | xef | Apache License 2.0 |
app/src/main/java/com/mac/swaps/presentation/components/SearchBar.kt | mhmdabouchaker | 509,566,605 | false | null | package com.mac.swaps.presentation.components
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.text.KeyboardActions
import androidx.c... | 0 | Kotlin | 0 | 1 | a48fbb658601f3b3137efb2b147ee4f66a780488 | 2,427 | swaps | Apache License 2.0 |
app/src/main/java/com/apex/codeassesment/data/model/Picture.kt | MKQasim | 706,374,916 | false | {"Kotlin": 21487, "Java": 2370} | package com.apex.codeassesment.data.model
import android.os.Parcelable
import com.squareup.moshi.JsonClass
import kotlinx.parcelize.Parcelize
@Parcelize
@JsonClass(generateAdapter = true)
data class Picture(
val large: String? = null,
val medium: String? = null,
val thumbnail: String? = null
): Parcelable | 0 | Kotlin | 0 | 0 | a6eb3905b9f318e756cd4c75fd9a808d38a02712 | 314 | ApexCodeAssesment | MIT License |
app/src/main/java/com/mohandass/botforge/onboarding/ui/OnBoardingUi4Ugc.kt | L4TTiCe | 611,975,837 | false | null | // SPDX-FileCopyrightText: 2023 <NAME> (L4TTiCe)
//
// SPDX-License-Identifier: MIT
package com.mohandass.botforge.onboarding.ui
import androidx.compose.foundation.Canvas
import androidx.compose.foundation.Image
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Arrangement
import... | 1 | Kotlin | 0 | 27 | 3025ea313d99028c3a796a493b6f35279ee2b6b5 | 6,763 | BotForge | MIT License |
compose/material3/material3/integration-tests/material3-demos/src/main/java/androidx/compose/material3/demos/IconButtonDemos.kt | androidx | 256,589,781 | false | {"Kotlin": 112114129, "Java": 66594571, "C++": 9132142, "AIDL": 635065, "Python": 325169, "Shell": 194520, "TypeScript": 40647, "HTML": 35176, "Groovy": 27178, "ANTLR": 26700, "Svelte": 20397, "CMake": 15512, "C": 15043, "GLSL": 3842, "Swift": 3153, "JavaScript": 3019} | /*
* Copyright 2024 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 29 | Kotlin | 1011 | 5,321 | 98b929d303f34d569e9fd8a529f022d398d1024b | 27,151 | androidx | Apache License 2.0 |
library/src/main/java/com/spisoft/countrycodepickerdialog/models/CountryCode.kt | SPSpisoft | 344,772,772 | true | {"Kotlin": 30504} | package com.spisoft.countrycodepickerdialog.models
data class CountryCode(val name: String,
val code: String,
val dialCode: String) | 0 | Kotlin | 0 | 0 | 9f825cde7924727d5b357edb7913671758c5de1a | 178 | android-countrycodepickerdialog | ISC License |
archipanion-mw/archipanion-mw-server/src/main/kotlin/org/archipanion/mw/server/model/config/query/dynamicDescription/DynamicOperation.kt | Archipanion | 756,965,425 | false | {"Kotlin": 78327, "Java": 85} | package org.archipanion.mw.server.model.config.query.dynamicDescription
import kotlinx.serialization.Serializable
@Serializable
data class DynamicOperation(
val type: OperationType,
val name: String? = null,
val input: String,
val field: String? = null,
)
| 0 | Kotlin | 0 | 0 | 8cae6b82d0e871e73a261679b456ee0b0c2a7a5a | 275 | archipanion-engine-middlelayer | MIT License |
src/commonMain/kotlin/eu/vendeli/rethis/commands/SetCommands.kt | vendelieu | 861,014,428 | false | {"Kotlin": 213441, "Shell": 1248} | package eu.vendeli.rethis.commands
import eu.vendeli.rethis.ReThis
import eu.vendeli.rethis.exception
import eu.vendeli.rethis.types.common.ScanResult
import eu.vendeli.rethis.types.core.*
import eu.vendeli.rethis.types.core.unwrap
import eu.vendeli.rethis.types.options.SScanOption
import eu.vendeli.rethis.utils.safeC... | 5 | Kotlin | 0 | 7 | 8ae609b5430e9ca9255c5a1cba2bdfc70e316020 | 4,358 | re.this | Apache License 2.0 |
sdk/dc/src/main/java/com/ibm/security/verifysdk/dc/model/OutOfBandCredentialProposalArgs.kt | ibm-security-verify | 430,929,749 | false | {"Kotlin": 662580} | /*
* Copyright contributors to the IBM Security Verify DC SDK for Android project
*/
package com.ibm.security.verifysdk.dc.model
import kotlinx.serialization.ExperimentalSerializationApi
import kotlinx.serialization.Serializable
import kotlinx.serialization.json.JsonElement
import kotlinx.serialization.SerialName
... | 1 | Kotlin | 4 | 0 | 5649b763aa7dff56489c650c3dc4e9f12cc11003 | 904 | verify-sdk-android | MIT License |
app/src/main/kotlin/dvachmovie/worker/InitDBWorker.kt | sasfmlzr | 151,072,454 | false | null | package dvachmovie.worker
import android.content.Context
import androidx.annotation.NonNull
import androidx.work.WorkerParameters
import dvachmovie.architecture.base.BaseDBWorker
import dvachmovie.db.model.MovieDBCache
import dvachmovie.di.core.WorkerComponent
import dvachmovie.pipe.db.InsertionMovieListToDBPipe
impor... | 0 | Kotlin | 2 | 3 | 84b5a1187ff81c0ca5e71f052129160e425a6247 | 975 | DvachMovie | Apache License 2.0 |
app/src/main/java/com/fengniao/news/net/FNCallback.kt | mycolors | 86,323,081 | false | null | package com.fengniao.news.net
interface FNCallback {
fun onReceiveData(function: String, data: String, msg: String)
fun onReceiveError(function: String, errorCode: Int, msg: String)
}
| 0 | Kotlin | 0 | 0 | e217f1f6c855aee6f93e77ebbd90964621a37877 | 196 | WanXiang | Apache License 2.0 |
app/src/main/java/ca/josuelubaki/tmdbclient/domain/usecase/GetArtistsUseCase.kt | josue-lubaki | 582,682,808 | false | {"Kotlin": 59940} | package ca.josuelubaki.tmdbclient.domain.usecase
import ca.josuelubaki.tmdbclient.data.model.artist.Artist
import ca.josuelubaki.tmdbclient.domain.repository.ArtistRepository
class GetArtistsUseCase(private val artistRepository: ArtistRepository) {
suspend fun execute(): List<Artist>? = artistRepository.getArtist... | 0 | Kotlin | 0 | 2 | f12ec5cd76c9f45d8838cf0dd76c6f0d8ccd2b78 | 326 | TMBDClient | MIT License |
cortex-analysis/src/main/kotlin/com/hileco/cortex/analysis/processors/JumpIllegalProcessor.kt | SkPhilipp | 303,748,538 | false | {"Kotlin": 331330, "Solidity": 7723, "Shell": 1440, "Dockerfile": 879} | package com.hileco.cortex.analysis.processors
import com.hileco.cortex.analysis.Graph
import com.hileco.cortex.analysis.edges.FlowMapping
import com.hileco.cortex.analysis.edges.FlowType.INSTRUCTION_JUMP
import com.hileco.cortex.symbolic.ProgramException.Reason.JUMP_TO_ILLEGAL_INSTRUCTION
import com.hileco.cortex.symb... | 0 | Kotlin | 2 | 7 | 5e45e4a3659d4fd7167ae31a58bee7785a869993 | 1,438 | cortex | MIT License |
api/src/main/kotlin/com/mattmx/ktgui/commands/alpha/ArgumentType.kt | Matt-MX | 530,062,987 | false | {"Kotlin": 255573, "Java": 8369} | package com.mattmx.ktgui.commands.alpha
enum class ArgumentType {
REQUIRED_SINGLE,
OPTIONAL_SINGLE,
GREEDY
} | 3 | Kotlin | 3 | 24 | fdc34fce5eeb41f177f890040a58d6c174168434 | 121 | KtPaperGui | Apache License 2.0 |
lightbulb-dialogs/src/main/java/com/github/rooneyandshadows/lightbulb/dialogs/picker_dialog_datetime/DateTimePickerDialog.kt | RooneyAndShadows | 417,583,232 | false | {"Kotlin": 402809} | package com.github.rooneyandshadows.lightbulb.dialogs.picker_dialog_datetime
import android.content.res.Configuration
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.widget.TimePicker
import androidx.appcompat.widget.AppCompatImageButton
import androidx.appcompat.wid... | 1 | Kotlin | 1 | 2 | 9300a8921365dd92905ae172a7180ef0cb8f958a | 11,269 | lightbulb-dialogs | Apache License 2.0 |
lightbulb-dialogs/src/main/java/com/github/rooneyandshadows/lightbulb/dialogs/picker_dialog_datetime/DateTimePickerDialog.kt | RooneyAndShadows | 417,583,232 | false | {"Kotlin": 402809} | package com.github.rooneyandshadows.lightbulb.dialogs.picker_dialog_datetime
import android.content.res.Configuration
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.widget.TimePicker
import androidx.appcompat.widget.AppCompatImageButton
import androidx.appcompat.wid... | 1 | Kotlin | 1 | 2 | 9300a8921365dd92905ae172a7180ef0cb8f958a | 11,269 | lightbulb-dialogs | Apache License 2.0 |
wishlist/src/main/java/com/karzek/wishlist/di/wishlistModule.kt | MarjanaKarzek | 839,724,284 | false | {"Kotlin": 26622} | package com.karzek.wishlist.di
import androidx.datastore.core.DataStore
import com.karzek.domain.wishlist.WishlistRepository
import com.karzek.wishlist.data.WishlistData
import com.karzek.wishlist.data.WishlistRepositoryImpl
import com.karzek.wishlist.data.wishlistDataStore
import org.koin.android.ext.koin.androidCont... | 0 | Kotlin | 0 | 0 | 212b25b9fdbc771d0e9bc37425d98c764e8229cd | 615 | android-venue-recommendations | Apache License 2.0 |
core/src/androidMain/kotlin/xyz/mcxross/zero/oauth/browser/BrowserSelector.kt | mcxross | 703,434,925 | false | {"Kotlin": 237524} | /*
* Copyright 2016 McXross. 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 applicable law or... | 0 | Kotlin | 0 | 6 | 70c511acad1fc9461b4ed9bf6caa73c7a8243cd9 | 8,056 | zeroauth | Apache License 2.0 |
src/main/kotlin/day12.kt | p88h | 317,362,882 | false | null | internal fun rotate(vec: Point, deg: Int): Point {
when (deg) {
90 -> return Point(-vec.y , vec.x)
180 -> return Point(-vec.x, -vec.y)
270 -> return Point(vec.y, -vec.x)
}
throw IllegalArgumentException()
}
internal fun move(vec: Point, dir: Point, num: Int): Point {
return Poin... | 0 | Kotlin | 0 | 5 | 846ad4a978823563b2910c743056d44552a4b172 | 1,483 | aoc2020 | The Unlicense |
app/src/main/java/fr/skyle/scanny/enums/BarcodeFormat.kt | SkyleKayma | 524,119,671 | false | {"Kotlin": 227075} | package fr.skyle.scanny.enums
enum class BarcodeFormat {
CODE_128,
CODE_39,
CODE_93,
BARCODE,
DATA_MATRIX,
EAN_13,
EAN_8,
ITF,
QR_CODE,
UPC_A,
UPC_E,
PDF417,
AZTEC;
companion object
} | 0 | Kotlin | 0 | 0 | 00e0b86741a292e56529f34abdd0c6657c427f6e | 241 | Scanny | Apache License 2.0 |
app/src/main/java/com/touhidapps/modernApi/networkService/AllApi.kt | TouhidApps | 371,456,422 | false | null | package com.touhidapps.modernApi.networkService
import com.touhidapps.modernApi.utils.toBase64Decode
object AllApi {
private external fun baseUrlFromJNI(): String
val BASE_URL = baseUrlFromJNI().toBase64Decode()
// api/demo/jsondemoapi.php?option=3
private const val V1 = "api/demo/"
const val WELCO... | 0 | Kotlin | 5 | 6 | f50febe89d65dd503450493449aa3ad45fe5a9fb | 424 | Android-Modern-API-Call-Kotlin-MVVM | Apache License 2.0 |
app/src/main/java/com/touhidapps/modernApi/networkService/AllApi.kt | TouhidApps | 371,456,422 | false | null | package com.touhidapps.modernApi.networkService
import com.touhidapps.modernApi.utils.toBase64Decode
object AllApi {
private external fun baseUrlFromJNI(): String
val BASE_URL = baseUrlFromJNI().toBase64Decode()
// api/demo/jsondemoapi.php?option=3
private const val V1 = "api/demo/"
const val WELCO... | 0 | Kotlin | 5 | 6 | f50febe89d65dd503450493449aa3ad45fe5a9fb | 424 | Android-Modern-API-Call-Kotlin-MVVM | Apache License 2.0 |
app/src/main/java/me/rampoo/musicstream/data/retrofit/RetrofitClient.kt | Rampo0 | 246,787,148 | false | null | package me.rampoo.musicstream.data.retrofit
import retrofit2.Retrofit
import retrofit2.converter.gson.GsonConverterFactory
object RetrofitClient {
private const val BASE_URL = "http://192.168.18.13:8000"
val instance : IApi by lazy {
val retrofit = Retrofit.Builder()
.baseUrl(BASE_URL)
... | 0 | Kotlin | 0 | 1 | c88c947fb89b4926bd6a6711bbcff550e86ce24f | 454 | MVP-MusicStream | MIT License |
android/app/src/main/kotlin/edu/hm/cs/tape/bbb_app/MainActivity.kt | bennyboer | 306,332,971 | false | null | package edu.hm.cs.tape.bbb_app
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| 28 | Dart | 46 | 83 | 19a2d45d3f5d03fa36c8092475e07da37b320a7d | 127 | bbb_app | MIT License |
posts/src/main/java/com/sanogueralorenzo/posts/presentation/postlist/PostListAdapter.kt | Selidinok | 150,962,368 | true | {"Kotlin": 69296} | package com.sanogueralorenzo.posts.presentation.postlist
import android.support.v7.widget.RecyclerView
import android.view.ViewGroup
import com.sanogueralorenzo.posts.R
import com.sanogueralorenzo.posts.presentation.loadAvatar
import com.sanogueralorenzo.posts.presentation.model.PostItem
import com.sanogueralorenzo.pr... | 0 | Kotlin | 0 | 0 | f155f864e2b8b68687501e0ab6f0a51963531484 | 1,605 | Android-Kotlin-Clean-Architecture | Apache License 2.0 |
LifeCanvas/app/src/main/java/com/example/lifecanvas/screen/note/NoteDetailScreen.kt | atakan-ozkan | 738,927,867 | false | {"Kotlin": 148766} | package com.example.lifecanvas.screen.note
import android.Manifest
import android.annotation.SuppressLint
import android.app.Activity
import android.content.Context
import android.content.Intent
import android.net.Uri
import android.provider.MediaStore
import android.widget.Toast
import androidx.activity.compose.remem... | 0 | Kotlin | 0 | 0 | b8f892c6857e5c15b1ed1d45c952d6694c9e0fbe | 18,619 | comp319a-2023f-final | MIT License |
app/src/main/java/hu/mostoha/mobile/android/huki/model/domain/GpxWaypoint.kt | RolandMostoha | 386,949,428 | false | null | package hu.mostoha.mobile.android.huki.model.domain
import io.ticofab.androidgpxparser.parser.domain.WayPoint
data class GpxWaypoint(
val location: Location,
val name: String? = null,
)
fun Location.toGpxWaypoint(): GpxWaypoint {
return GpxWaypoint(
name = null,
location = this,
)
}
... | 0 | Kotlin | 1 | 5 | 45fc91f5c6d7c423397e706d6385d61874e21487 | 685 | HuKi-Android | The Unlicense |
app/src/main/java/hu/mostoha/mobile/android/huki/model/domain/GpxWaypoint.kt | RolandMostoha | 386,949,428 | false | null | package hu.mostoha.mobile.android.huki.model.domain
import io.ticofab.androidgpxparser.parser.domain.WayPoint
data class GpxWaypoint(
val location: Location,
val name: String? = null,
)
fun Location.toGpxWaypoint(): GpxWaypoint {
return GpxWaypoint(
name = null,
location = this,
)
}
... | 0 | Kotlin | 1 | 5 | 45fc91f5c6d7c423397e706d6385d61874e21487 | 685 | HuKi-Android | The Unlicense |
compiler/testData/codegen/boxInline/anonymousObject/nestedTypeRemapping.kt | JetBrains | 3,432,266 | false | {"Kotlin": 79571273, "Java": 6776465, "Swift": 4063829, "C": 2609744, "C++": 1957654, "Objective-C++": 175279, "JavaScript": 130754, "Python": 59855, "Shell": 34920, "Objective-C": 21463, "Lex": 21452, "Batchfile": 11382, "CSS": 11368, "Ruby": 10470, "Dockerfile": 9907, "Groovy": 7092, "EJS": 5241, "CMake": 4473, "HTML... | // TARGET_BACKEND: JVM
// FILE: 1.kt
inline fun f(crossinline block: () -> String): () -> String =
{
object : () -> String {
override fun invoke() = block()
}
}.let {
it()
}
// FILE: 2.kt
fun box(): String = f { "OK" }()
| 181 | Kotlin | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 271 | kotlin | Apache License 2.0 |
compiler/testData/codegen/boxInline/anonymousObject/nestedTypeRemapping.kt | JetBrains | 3,432,266 | false | {"Kotlin": 79571273, "Java": 6776465, "Swift": 4063829, "C": 2609744, "C++": 1957654, "Objective-C++": 175279, "JavaScript": 130754, "Python": 59855, "Shell": 34920, "Objective-C": 21463, "Lex": 21452, "Batchfile": 11382, "CSS": 11368, "Ruby": 10470, "Dockerfile": 9907, "Groovy": 7092, "EJS": 5241, "CMake": 4473, "HTML... | // TARGET_BACKEND: JVM
// FILE: 1.kt
inline fun f(crossinline block: () -> String): () -> String =
{
object : () -> String {
override fun invoke() = block()
}
}.let {
it()
}
// FILE: 2.kt
fun box(): String = f { "OK" }()
| 181 | Kotlin | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 271 | kotlin | Apache License 2.0 |
app/src/main/java/com/breezefsmhmhcorporation/features/leaveapplynew/ClickonStatus.kt | DebashisINT | 654,125,604 | false | null | package com.breezefsmhmhcorporation.features.leaveapplynew
import com.breezefsmhmhcorporation.features.addAttendence.model.Leave_list_Response
interface ClickonStatus {
fun OnApprovedclick(obj: Leave_list_Response)
fun OnRejectclick(obj: Leave_list_Response)
} | 0 | Kotlin | 0 | 0 | 855a26194f21b9b24780e0c3d26914bc1725bb60 | 271 | HMHCorporation | Apache License 2.0 |
src/main/kotlin/com/github/pemistahl/lingua/api/LanguageDetector.kt | pemistahl | 157,676,060 | false | null | /*
* Copyright © 2018-today Peter M. Stahl pemistahl@gmail.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 10 | Kotlin | 47 | 477 | 4ca58ead2d2ce6bad6d85574b7efd5b3ca29aa4b | 21,461 | lingua | Apache License 2.0 |
detekt-formatting/src/main/kotlin/io/gitlab/arturbosch/detekt/formatting/SpacingAroundOperator.kt | msteinbeck | 85,065,932 | true | {"Kotlin": 169998, "Java": 153} | package io.gitlab.arturbosch.detekt.formatting
import com.intellij.lang.ASTNode
import com.intellij.psi.PsiWhiteSpace
import com.intellij.psi.impl.source.tree.LeafPsiElement
import com.intellij.psi.impl.source.tree.PsiWhiteSpaceImpl
import com.intellij.psi.tree.TokenSet
import com.intellij.psi.util.PsiTreeUtil
import ... | 0 | Kotlin | 0 | 0 | 8e5b36489764018ca412e5f650096afb93cdb027 | 3,493 | detekt | Apache License 2.0 |
app/src/main/java/com/example/tickerapp/feature_todo/presentation/util/isSameDay.kt | nicanor-jay | 788,617,145 | false | {"Kotlin": 170474} | package com.example.tickerapp.feature_todo.presentation.util
import java.util.Calendar
import java.util.TimeZone
fun isSameDay(timestamp1: Long, timestamp2: Long): Boolean {
val calendar1 = Calendar.getInstance()
calendar1.timeZone = TimeZone.getDefault() // Set to user's timezone
calendar1.timeInMillis =... | 0 | Kotlin | 0 | 1 | 0e53560bfa747980f1d9b358f9406242c4bc9c4b | 655 | Ticker | Apache License 2.0 |
straight/src/commonMain/kotlin/me/localx/icons/straight/filled/Referral.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.straight.filled
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 | 3,700 | icons | MIT License |
advancedlocationlibrary/src/main/java/com/hms/advancedlocationlibrary/data/model/holders/Result.kt | Explore-In-HMS | 516,013,569 | false | null | package com.hms.advancedlocationlibrary.data.model.holders
sealed class Result<T> {
data class Success<T>(var data: T) : Result<T>()
data class Failure<T>(var exception: Exception? = null) : Result<T>()
fun isSuccess(): Boolean {
return this is Success
}
val value: T get() = (this as Suc... | 0 | Kotlin | 0 | 2 | 3912ccd8f0c1161fb19e7878cd2312f8affd9c70 | 405 | advanced-location | MIT License |
app/src/main/kotlin/com/getstrm/pace/processing_platforms/h2/H2ViewGenerator.kt | getstrm | 706,692,316 | false | {"Kotlin": 423141, "Shell": 8472, "Makefile": 8118, "Python": 794, "Dockerfile": 569} | package com.getstrm.pace.processing_platforms.h2
import build.buf.gen.getstrm.pace.api.entities.v1alpha.DataPolicy
import com.getstrm.pace.processing_platforms.ProcessingPlatformViewGenerator
import org.jooq.Condition
import org.jooq.conf.Settings
import org.jooq.impl.DSL
/**
* This in-memory view generator is only ... | 24 | Kotlin | 0 | 16 | ed91fd3bd1825ef25a5d2a04b04de0947c1f880d | 1,350 | pace | Apache License 2.0 |
phone/src/main/java/app/pizzabutton/android/phone/viewmodels/UserViewModel.kt | tujson | 298,683,923 | false | null | package app.pizzabutton.android.phone.viewmodels
import androidx.lifecycle.Transformations
import androidx.lifecycle.ViewModel
import app.pizzabutton.android.common.models.User
import app.pizzabutton.android.phone.utils.FirebaseQueryLiveData
import com.google.firebase.database.ktx.database
import com.google.firebase.d... | 0 | Kotlin | 0 | 0 | 32e7e2597207bf503189c639cfaaa8ec874492ed | 633 | PizzaButton-App | MIT License |
sculptor-shared/src/main/kotlin/io/papermc/sculptor/shared/MacheExtension.kt | PaperMC | 776,033,668 | false | {"Kotlin": 89546} | package io.papermc.sculptor.shared
import io.papermc.sculptor.shared.util.MacheRepo
import org.gradle.api.NamedDomainObjectContainer
import org.gradle.api.model.ObjectFactory
import org.gradle.api.provider.ListProperty
import org.gradle.api.provider.Property
import org.gradle.kotlin.dsl.domainObjectContainer
import or... | 2 | Kotlin | 1 | 1 | 587470c158d1d3244f07918b917d840859ef6b07 | 3,439 | sculptor | MIT License |
domain/src/main/java/com/cerminnovations/domain/model/SpokenLanguage.kt | mbobiosio | 324,425,383 | false | null | package com.cerminnovations.domain.model
/**
* @Author <NAME>
* https://linktr.ee/mbobiosio
*/
data class SpokenLanguage(
val name: String,
val englishName: String,
val iso6391: String
)
| 0 | Kotlin | 3 | 7 | 07270aa17f45edabfb6792fd529c212e1c585ce4 | 203 | MoviesBoard | MIT License |
app/src/main/java/de/htw_berlin/quiz_app/SessionsFragment.kt | ahak-Yem | 749,561,027 | false | {"Kotlin": 64403} | package de.htw_berlin.quiz_app
import android.content.Context
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.Toast
import androidx.fragment.app.Fragment
import androidx.fragment.app.viewModels
import androidx.recyclerview.widget.... | 0 | Kotlin | 0 | 0 | 24bb791cb14dffaf5680ff935e47dc4700f97d53 | 2,207 | Quiz_App | MIT License |
src/main/java/com/sayzen/campfiresdk/models/events/units/EventPollingChanged.kt | Daboo011 | 217,832,397 | false | {"Kotlin": 1107825} | package com.sayzen.campfiresdk.models.events.units
class EventPollingChanged(val pollingId:Long) | 0 | null | 1 | 0 | 33c46da49d3758a1a006ac660dc823d35c66baea | 97 | CampfireSDK | Apache License 2.0 |
codebase/android/core/data/src/main/java/com/makeappssimple/abhimanyu/financemanager/android/core/data/model/DatabaseData.kt | Abhimanyu14 | 429,663,688 | false | null | package com.makeappssimple.abhimanyu.financemanager.android.core.data.model
import com.makeappssimple.abhimanyu.financemanager.android.core.model.Category
import com.makeappssimple.abhimanyu.financemanager.android.core.model.Emoji
import com.makeappssimple.abhimanyu.financemanager.android.core.model.Source
import com.... | 0 | Kotlin | 0 | 0 | 5b24074ed66e6dadb8d64cf17b1240c4f0a6e0f0 | 913 | finance-manager | Apache License 2.0 |
app/src/main/java/br/com/thedon/travellerapp/ui/components/RemoteImage.kt | thebergamo | 668,639,027 | false | null | package br.com.thedon.travellerapp.ui.components
import android.annotation.SuppressLint
import androidx.compose.material.MaterialTheme
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.layout.ContentScale
import androidx.... | 0 | Kotlin | 0 | 0 | e34eface4b64fab53797425d80ddb9b3fad14fdc | 1,120 | pjatk-prm-traveller-app | MIT License |
openai-core/src/commonMain/kotlin/com.aallam.openai.api/exception/OpenAIException.kt | aallam | 345,180,734 | false | null | package com.aallam.openai.api.exception
/** OpenAI client exception */
public sealed class OpenAIException(
message: String? = null,
throwable: Throwable? = null
) : RuntimeException(message, throwable)
/** Runtime Http Client exception */
public class OpenAIHttpException(
throwable: Throwable? = null,
) ... | 6 | Kotlin | 51 | 459 | 4a8a5c66889a3aeb040b2444f8137f3ba5e668c0 | 1,150 | openai-kotlin | MIT License |
app/src/main/java/com/dansiapa/mvvmkotlin/view/RegisterActivity.kt | dansiapa | 346,114,388 | false | null | package com.dansiapa.mvvmkotlin.view
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import com.dansiapa.mvvmkotlin.R
class RegisterActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.lay... | 0 | Kotlin | 0 | 1 | fc45bf29f76e4590f86cd1c170a9f155dfece95f | 351 | Breaking-News_Intern | Apache License 2.0 |
library/core/src/main/java/com/michaelflisar/composepreferences/core/classes/PreferenceData.kt | MFlisar | 705,594,559 | false | {"Kotlin": 131289} | package com.michaelflisar.composepreferences.core.classes
import androidx.compose.runtime.MutableState
/**
* helper class to be able to plug in KotPreferences separately as an optional module
* (or any other custom data class of course, if the user has one)
*
* @param value the value of the preference
* @param t... | 0 | Kotlin | 0 | 3 | 06bc9880b0434831fd0bd2a15bc8af507ade2a8a | 1,086 | ComposePreferences | Apache License 2.0 |
common/src/main/java/net/beholderface/oneironaut/casting/patterns/spells/idea/OpGetIdeaTimestamp.kt | ChuijkYahus | 731,710,469 | false | {"Java Properties": 1, "Markdown": 4, "Shell": 2, "Python": 7, "Batchfile": 2, "Java": 99, "Kotlin": 49, "INI": 2} | package net.beholderface.oneironaut.casting.patterns.spells.idea
import at.petrak.hexcasting.api.misc.MediaConstants
import at.petrak.hexcasting.api.spell.ConstMediaAction
import at.petrak.hexcasting.api.spell.casting.CastingContext
import at.petrak.hexcasting.api.spell.getEntity
import at.petrak.hexcasting.api.spell.... | 1 | null | 1 | 1 | 5e8d7a59e9c05d250da3b506349d5d64168ddd4a | 2,411 | oneironaut | MIT License |
app/src/main/java/com/hopovo/mobile/android/prepexam/app/common/util/BitmapUtils.kt | MilanZk | 276,394,492 | false | {"Kotlin": 192502, "Shell": 1098} | package com.hopovo.mobile.android.prepexam.app.common.util
import android.graphics.Bitmap
import android.graphics.BitmapFactory
import android.graphics.Matrix
import android.util.Base64
import androidx.annotation.IntRange
import java.io.ByteArrayOutputStream
/**
* [Bitmap] utility methods to resize images and serial... | 0 | Kotlin | 0 | 1 | 24c7634eb76e720e45025e7142886b6834cbfb1d | 3,829 | chillupbox | MIT License |
notes-mappers-v1/src/main/kotlin/org/avr/notes/mappers/RequestUtils.kt | alex-avr | 589,281,806 | false | null | package org.avr.notes.mappers
import kotlinx.datetime.Instant
import org.avr.notes.api.v1.models.*
import org.avr.notes.common.NONE
import org.avr.notes.common.models.NotesRequestId
import org.avr.notes.common.models.NotesWorkMode
import org.avr.notes.common.models.folder.FolderId
import org.avr.notes.common.models.no... | 0 | Kotlin | 0 | 0 | 4ddf9f0039bc2ac0bb239a1bb2f21ea141abbf42 | 2,117 | notes | Apache License 2.0 |
certificatetransparency/src/main/kotlin/com/appmattus/certificatetransparency/internal/verifier/CertificateTransparencyTrustManager.kt | morristech | 418,269,661 | true | {"Kotlin": 482406, "Java": 17861} | /*
* Copyright 2021 Appmattus Limited
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | 0 | null | 0 | 0 | df5cd5de8abf90a916be0c6f657ee1b8212bf8a4 | 3,307 | certificatetransparency | Apache License 2.0 |
ktor-client/ktor-client-core/src/io/ktor/client/call/TypeInfo.kt | sillerud | 137,465,837 | true | {"Kotlin": 1751604, "Java": 62081, "Lua": 280, "HTML": 35} | package io.ktor.client.call
import java.lang.reflect.*
import kotlin.reflect.*
class TypeInfo(val type: KClass<*>, val reifiedType: Type)
@PublishedApi()
internal open class TypeBase<T>
inline fun <reified T> typeInfo(): TypeInfo {
val base = object : TypeBase<T>() {}
val superType = base::class.java.generi... | 0 | Kotlin | 0 | 0 | f51c77cbc9298b600968ca7c28b355242d764e52 | 465 | ktor | Apache License 2.0 |
library/src/test/kotlin/me/proxer/library/api/ucp/DeleteSubscriptionEndpointTest.kt | proxer | 43,981,937 | false | {"Kotlin": 492172} | package me.proxer.library.api.ucp
import me.proxer.library.ProxerTest
import me.proxer.library.runRequest
import org.amshove.kluent.shouldBeEqualTo
import org.amshove.kluent.shouldBeNull
import org.junit.jupiter.api.Test
/**
* @author <NAME>
*/
class DeleteSubscriptionEndpointTest : ProxerTest() {
@Test
fu... | 0 | Kotlin | 2 | 13 | 8e7d70afc0882fb41581d56308e12ad4c701832d | 1,110 | ProxerLibJava | MIT License |
domain/src/main/java/pl/org/seva/victorweather/domain/repository/WeatherRepository.kt | syrop | 855,980,365 | false | {"Kotlin": 73110} | package pl.org.seva.victorweather.domain.repository
import pl.org.seva.victorweather.domain.model.WeatherDomainModel
interface WeatherRepository {
suspend fun fetchWeather(lat: Double, lon: Double): WeatherDomainModel
suspend fun fetchWeatherHistory(city: String): WeatherDomainModel
suspend fun save(we... | 0 | Kotlin | 0 | 0 | 78d5876a29e7900acb31dee6baa3f5116d0fd509 | 350 | Victor-Weather | MIT License |
src/main/kotlin/me/fzzyhmstrs/amethyst_imbuement/registry/RegisterEnchantment.kt | fzzyhmstrs | 461,338,617 | false | null | @file:Suppress("unused")
package me.fzzyhmstrs.amethyst_imbuement.registry
import me.fzzyhmstrs.amethyst_imbuement.AI
import me.fzzyhmstrs.amethyst_imbuement.LOGGER
import me.fzzyhmstrs.amethyst_imbuement.augment.*
import me.fzzyhmstrs.amethyst_imbuement.enchantment.*
import me.fzzyhmstrs.amethyst_imbuement.spells.*
... | 16 | Kotlin | 7 | 3 | 9971606dfafa9422e9558238c7783f8e27bd34a3 | 11,602 | ai | MIT License |
app/src/main/java/me/whirledsol/jsoncrypt/JsonCryptActivity.kt | whirledsol | 430,240,780 | false | {"Kotlin": 30488, "Java": 906} | package me.whirledsol.jsoncrypt
import android.content.Intent
import android.net.Uri
import android.os.Bundle
import android.os.CountDownTimer
import android.view.Menu
import android.view.MenuItem
import android.view.View
import android.view.WindowManager
import android.widget.TextView
import android.widget.Toast
impo... | 0 | Kotlin | 0 | 4 | 71e4062214c8d9a469f7ef34f62d31bf050044f8 | 3,763 | JsonCryptApp | Apache License 2.0 |
app/src/main/java/com/metropolia/eatthefrog/ui/theme/Color.kt | metropolia-mobile-project | 558,353,904 | false | {"Kotlin": 267772} | package com.metropolia.eatthefrog.ui.theme
import androidx.compose.ui.graphics.Color
/**
* Default Color objects used as the application's theme.
*/
val YaleBlue = Color(0xFF124191)
val YaleBlueLight = Color(0xFF6070FD)
val GreyBlue = Color(0xFF9FABC0)
val LightGray = Color(0xFFF3F3F3)
val DarkGray = Color(0xFF2121... | 4 | Kotlin | 2 | 1 | 2ae0deeb9527471bd63871a5c166b155b5147f38 | 323 | EatTheFrog | MIT License |
domain/src/commonMain/kotlin/nay/kirill/healthcare/domain/useCases/ClearParamsUseCase.kt | kirillNay | 695,954,274 | false | {"Kotlin": 69782, "HTML": 393} | package nay.kirill.healthcare.domain.useCases
import nay.kirill.healthcare.domain.repositories.HealthParamsRepository
class ClearParamsUseCase(
private val repository: HealthParamsRepository
) {
suspend operator fun invoke() = repository.clearParams()
} | 0 | Kotlin | 0 | 0 | b412d0013d20b3d054b20e275d2516d37927ea7a | 265 | GlassOfWater-client | MIT License |
feature/home/src/main/kotlin/team/duckie/app/android/feature/home/viewmodel/mypage/MyPageState.kt | duckie-team | 503,869,663 | false | null | /*
* Designed and developed by Duckie Team, 2022
*
* Licensed under the MIT.
* Please see full license: https://github.com/duckie-team/duckie-android/blob/develop/LICENSE
*/
package team.duckie.app.android.feature.home.viewmodel.mypage
import team.duckie.app.android.domain.user.model.User
import team.duckie.app.... | 19 | Kotlin | 2 | 34 | 4fa7edae1fd24811ec278b0e24236c247f98dff0 | 620 | duckie-android | MIT License |
maps-api/src/main/java/com/omh/android/maps/api/presentation/interfaces/maps/OmhMap.kt | openmobilehub | 602,788,589 | false | null | /*
* Copyright 2023 Open Mobile Hub
*
* 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 agre... | 4 | Kotlin | 0 | 0 | 2b099dc112e2d235696219ce9bf8626d6b901014 | 3,742 | omh-maps | Apache License 2.0 |
src/main/kotlin/org/kirinhorse/kbt/expression/ExpError.kt | KirinHorse | 674,049,029 | false | null | package com.xqkj.app.bigclicker.btree.expression
import org.kirinhorse.kbt.Error
import org.kirinhorse.kbt.expression.ExpOperator
import org.kirinhorse.kbt.expression.Expression
abstract class ExpError(val exp: Expression) : Error()
class ExpErrorOperator(private val opt: ExpOperator) : ExpError(opt.exp) {
overr... | 0 | Kotlin | 0 | 0 | 8129e6c493b045737c3f37077279c92013d06d44 | 520 | KotlinBehaviors | MIT License |
presentation/src/main/java/com/mota/presentation/ui/screens/setting/SettingItem.kt | htJason98 | 421,515,876 | false | null | package com.mota.presentation.ui.screens.setting
import com.mota.presentation.R
sealed class SettingItem(val icon: Int, val itemName: String) {
object Groups : SettingItem(R.drawable.ic_settings_groups, "Device Groups")
object Subscription : SettingItem(R.drawable.ic_subscription, "Subscriptions")
object ... | 0 | Kotlin | 0 | 0 | 94648db449f64f4ca781566cb1ea6dcce837baf5 | 679 | jetpack-compose-map-app | MIT License |
app/src/main/java/com/mobilicos/smotrofon/data/formstate/UpdateUserPasswordFormState.kt | Globalrunet | 578,572,630 | false | null | package com.mobilicos.smotrofon.data.formstate
import com.mobilicos.smotrofon.model.Error
import com.mobilicos.smotrofon.model.Result
/**
* Data validation state of the login form.
*/
data class UpdateUserPasswordFormState(
val password: String = "",
val isDataValid: Boolean = false,
val passwordError: ... | 0 | Kotlin | 0 | 0 | 33d720706ce1a464e46c87d61c680c03e0202757 | 335 | smotrofon | Apache License 2.0 |
fyno-kotlin-sdk/src/main/java/io/fyno/kotlin_sdk/FynoSdk.kt | fynoio | 574,803,067 | false | {"Kotlin": 126915, "Java": 36422} | package io.fyno.kotlin_sdk
import android.content.Context
import io.fyno.callback.FynoCallback
import io.fyno.callback.models.MessageStatus
import io.fyno.core.FynoCore
import io.fyno.core.utils.LogLevel
import io.fyno.pushlibrary.FynoPush
import io.fyno.pushlibrary.models.PushRegion
//import io.sentry.Sentry
//import... | 0 | Kotlin | 0 | 1 | 25640964c2aff113318d0e138dd10924e5d688fa | 2,676 | kotlin-sdk | MIT License |
app/src/main/java/com/rushadvisualexpressions/sudokuyoutube/view/PlaySudokuActivity.kt | rupeshbhurke | 246,276,076 | false | null | package com.rushadvisualexpressions.sudokuyoutube.view
import android.arch.lifecycle.Observer
import android.arch.lifecycle.ViewModelProviders
import android.support.v7.app.AppCompatActivity
import android.os.Bundle
import android.widget.Button
import com.rushadvisualexpressions.sudokuyoutube.R
import com.rushadvisual... | 0 | Kotlin | 0 | 0 | b3cc3ef62f2c008a29ba7ea11eb9d71f207cfbdf | 1,926 | SudokuYoutube | MIT License |
app/src/main/java/com/example/climby/data/model/message/MessageModel.kt | JavierGF1991 | 431,588,749 | false | null | package com.example.climby.data.model.message
import android.os.Parcel
import android.os.Parcelable
import com.example.climby.data.model.user.UserModel
import com.google.gson.annotations.SerializedName
data class MessageModel(
@SerializedName("read") val read: Boolean?,
@SerializedName("text") val text: Stri... | 0 | Kotlin | 0 | 1 | 53c65467ed8e8eb3d798ab657d8881ac2ab3a130 | 997 | climby_app | RSA Message-Digest License |
src/main/kotlin/pullrequest/checker/MergedPullRequestChecker.kt | clemens-code | 385,173,945 | false | null | package io.github.clemenscode.bitbucketwatcher.pullrequest.checker
import feign.FeignException
import io.github.clemenscode.bitbucketwatcher.branches.BranchDeleter
import io.github.clemenscode.bitbucketwatcher.client.builder.PullRequestMessages
import io.github.clemenscode.bitbucketwatcher.logger.getLogger
import io.g... | 2 | Kotlin | 0 | 4 | b0a6105d173dee549235691fb71f7faef2acc130 | 1,578 | bitbucketwatcher | MIT License |
src/main/kotlin/io/github/kryszak/gwatlin/api/characters/model/character/CharacterCore.kt | Kryszak | 214,791,260 | false | {"Kotlin": 443350, "Shell": 654} | package io.github.kryszak.gwatlin.api.characters.model.character
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
/**
* Data model for core character infos
*/
@Serializable
data class CharacterCore(
val name: String,
val race: String,
val gender: String,
val professi... | 1 | Kotlin | 1 | 6 | e2a2047e9644a7d27183a98cd28a96844b338232 | 523 | gwatlin | MIT License |
networking/src/main/java/com/mobile_pablo/networking/interceptor/RequestInterceptor.kt | mobile-pablo | 669,791,669 | false | null | package com.mobile_pablo.networking.interceptor
import com.mobile_pablo.core.util.EMPTY_STRING
import okhttp3.Interceptor
import okhttp3.Protocol
import okhttp3.Response
import okhttp3.ResponseBody.Companion.toResponseBody
import java.net.HttpURLConnection
import java.net.SocketTimeoutException
import java.net.Unknown... | 0 | Kotlin | 0 | 0 | eb649bf0b7cc5f0dd420a933a9a36c0b4f95913a | 1,842 | Youtube_-_TV | MIT License |
networking/src/main/java/com/mobile_pablo/networking/interceptor/RequestInterceptor.kt | mobile-pablo | 669,791,669 | false | null | package com.mobile_pablo.networking.interceptor
import com.mobile_pablo.core.util.EMPTY_STRING
import okhttp3.Interceptor
import okhttp3.Protocol
import okhttp3.Response
import okhttp3.ResponseBody.Companion.toResponseBody
import java.net.HttpURLConnection
import java.net.SocketTimeoutException
import java.net.Unknown... | 0 | Kotlin | 0 | 0 | eb649bf0b7cc5f0dd420a933a9a36c0b4f95913a | 1,842 | Youtube_-_TV | MIT License |
app/src/main/java/com/bluewhaleyt/whaleutils/activity/ChatActivity.kt | BlueWhaleYT | 665,099,127 | false | null | package com.bluewhaleyt.whaleutils.activity
import android.graphics.Color
import android.os.Bundle
import android.view.View
import android.widget.TextView
import androidx.appcompat.app.AppCompatActivity
import com.bluewhaleyt.design.widget.recyclerview.adapter.AdapterCallback
import com.bluewhaleyt.design.widget.recyc... | 0 | Kotlin | 0 | 1 | 24cad14d625908cb4d22a73e9ce07db40327d346 | 2,804 | WhaleUtils | MIT License |
src/main/kotlin/me/alejandrorm/klosure/sparql/algebra/filters/operators/LiteralExpression.kt | alejandrorm | 512,041,126 | false | {"Kotlin": 196720, "Ruby": 28544, "HTML": 25737} | package me.alejandrorm.klosure.sparql.algebra.filters.operators
import me.alejandrorm.klosure.model.Graph
import me.alejandrorm.klosure.model.Graphs
import me.alejandrorm.klosure.model.NodeId
import me.alejandrorm.klosure.sparql.SolutionMapping
import me.alejandrorm.klosure.sparql.algebra.aggregates.NonAggregateExpres... | 0 | Kotlin | 0 | 0 | 14abf426f3cad162c021ffae750038e25b8cb271 | 588 | klosure | Apache License 2.0 |
core/src/main/kotlin/com/wafflestudio/snuttev/core/domain/lecture/dto/LectureResponse.kt | wafflestudio | 379,143,639 | false | {"Kotlin": 172741, "Dockerfile": 229} | package com.wafflestudio.snuttev.core.domain.lecture.dto
import com.wafflestudio.snuttev.core.common.type.LectureClassification
import com.wafflestudio.snuttev.core.domain.evaluation.dto.SemesterLectureDto
data class LectureDto(
val id: Long,
val title: String?,
val instructor: String?,
val department... | 0 | Kotlin | 2 | 4 | 255c6dea41eb3d1d49ff2b9dfaabec082f0ca66f | 1,633 | snutt-ev | MIT License |
examples/networking/impl/src/main/java/com/squareup/invert/examples/LiveNetworkUserRepo.kt | square | 789,061,154 | false | {"Kotlin": 369133, "JavaScript": 4120, "HTML": 1882, "CSS": 1113, "Shell": 878} | package com.squareup.invert.examples
import com.squareup.invert.examples.models.LoginRequest
import com.squareup.invert.examples.models.NetworkConfig
import com.squareup.invert.examples.models.User
import com.squareup.invert.examples.network.Response
import com.squareup.invert.examples.repository.UserRepo
import com.s... | 4 | Kotlin | 0 | 82 | 31b1859a5b9b49553068a4da6ada5de2fe9d82ac | 1,269 | invert | Apache License 2.0 |
android-sdk/src/main/java/webtrekk/android/sdk/module/DependencyModule.kt | acamarinkovic | 198,233,644 | true | {"Kotlin": 209891, "Java": 7560} | /*
* MIT License
*
* Copyright (c) 2019 Webtrekk GmbH
*
* 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, co... | 0 | Kotlin | 0 | 0 | ec8c385b329921d9f027545f405da86ef3346e84 | 2,942 | webtrekk-android-sdk-BETA | MIT License |
androidApp/src/main/java/com/jetbrains/kmm/androidApp/main/MainActivity.kt | MarcFelip | 606,124,769 | false | null | package com.jetbrains.kmm.androidApp.main
import android.annotation.SuppressLint
import kotlinx.coroutines.*
import android.content.Intent
import android.graphics.Bitmap
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.widget.Button
import android.widget.ImageButton
import androi... | 0 | Kotlin | 1 | 0 | 0430abd3abf9939636aa8aa47c250ac98b06ce97 | 3,506 | TFM-MarcFelip | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.