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/pushpal/minimizeplayer/ui/MainActivity.kt | pushpalroy | 456,126,512 | false | {"Kotlin": 37261} | package com.pushpal.minimizeplayer.ui
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.animation.ExperimentalAnimationApi
import androidx.core.view.WindowCompat
import com.google.accompanist.insets.ProvideWindowInsets
import com.pus... | 0 | Kotlin | 0 | 0 | 05bbaf502e492a97ef30968357fdc9b11073e299 | 774 | minimizeplayer | MIT License |
src/main/java/io/academus/dynadapter/DynItem.kt | AcademusApp | 148,948,583 | false | null | package io.academus.dynadapter
import android.content.Context
import android.view.View
abstract class DynItem {
abstract fun getLayout(): Int
abstract fun getId(): Long
abstract fun onBindView(context: Context, position: Int, items: List<DynItem>, view: View)
} | 1 | Kotlin | 1 | 1 | f52157b6aca2eb39d425ffdc78e4714b56ed5964 | 275 | Dynadapter | MIT License |
app/src/main/java/com/example/whatsapp_opener/MainActivity.kt | deep-awasthi | 463,516,897 | false | {"Kotlin": 2463} | package com.example.whatsapp_opener
import android.content.Intent
import android.net.Uri
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.widget.Toast
import androidx.core.text.isDigitsOnly
class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: ... | 0 | Kotlin | 0 | 0 | 18b86f2172253a13976915ceb431945684e66d72 | 1,431 | Whatsapp-Opener | MIT License |
server/src/test/kotlin/org/cueglow/server/objects/messages/GlowMessageTest.kt | cueglow | 307,161,449 | false | null | package org.cueglow.server.objects.messages
import com.github.michaelbull.result.Ok
import com.github.michaelbull.result.unwrap
import com.karumi.kotlinsnapshot.matchWithSnapshot
import org.cueglow.server.json.fromJsonString
import org.cueglow.server.json.toJsonString
import org.cueglow.server.objects.DmxAddress
impor... | 18 | Kotlin | 0 | 3 | 747f5c6db033eebfa5464bb5c5217ed05faffc83 | 5,422 | glowdtf | MIT License |
app/src/main/kotlin/csense/android/exampleApp/views/widgets/WidgetsRecyclerExampleActivity.kt | Tvede-dk | 82,486,921 | false | null | package csense.android.exampleApp.views.widgets
import android.support.v7.widget.*
import com.commonsense.android.kotlin.base.extensions.*
import com.commonsense.android.kotlin.base.extensions.collections.*
import com.commonsense.android.kotlin.system.logging.logError
import com.commonsense.android.kotlin.views.*
impo... | 9 | Kotlin | 0 | 8 | eae2deb915804d4c431c3fc9d93c33f011a98e5c | 2,874 | CommonsenseAndroidKotlin | MIT License |
telegram-bot-core/src/main/kotlin/io/github/dehuckakpyt/telegrambot/converter/JsonContentConverter.kt | DEHuckaKpyT | 670,859,055 | false | {"Kotlin": 517509} | package io.github.dehuckakpyt.telegrambot.converter
import com.fasterxml.jackson.core.json.JsonReadFeature
import com.fasterxml.jackson.core.json.JsonWriteFeature
import com.fasterxml.jackson.databind.DeserializationFeature
import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule
import com.fasterxml.jackson.module... | 1 | Kotlin | 0 | 9 | fd400d4222cf7b10964bb350a943f4d6e7c6f5bd | 2,077 | telegram-bot | Apache License 2.0 |
app/src/main/kotlin/ru/pixnews/inject/FirebaseModule.kt | illarionov | 305,333,284 | false | {"Kotlin": 2011397, "FreeMarker": 2782, "Shell": 855, "Fluent": 72} | /*
* Copyright (c) 2023, the Pixnews project authors and contributors. Please see the AUTHORS file for details.
* Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
*/
package ru.pixnews.inject
import android.content.Context
import com.google.firebase.FirebaseApp
i... | 4 | Kotlin | 0 | 2 | cab07bacfafb6d486cea4c5bf03cacb3dee5647f | 1,052 | Pixnews | Apache License 2.0 |
app/src/main/kotlin/com/ybook/app/util/ListEndToLoadUtil.kt | noproxy | 27,573,470 | false | {"Java": 307815, "Kotlin": 227163} | /*
Copyright 2015 Carlos
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 writin... | 1 | Java | 1 | 5 | 02240e526ea515d73cdbe44cbca68f08c63c3c24 | 2,950 | Ybook | Apache License 2.0 |
app/src/main/java/com/kssidll/arru/ui/screen/display/shop/ShopViewModel.kt | KSSidll | 655,360,420 | false | {"Kotlin": 1021398} | package com.kssidll.arru.ui.screen.display.shop
import androidx.compose.runtime.MutableState
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import androidx.paging.PagingData
import com.kssidll.arru.da... | 3 | Kotlin | 1 | 38 | 19906cc3e517ec30849f6ab33be83315cd45918b | 3,753 | Arru | BSD 3-Clause Clear License |
blocker/src/main/java/com/leaf/blocker/extend/BlockerButton.kt | Im-Tae | 388,698,724 | false | null | /*
* Create by Im-Tae on 2022. 11. 7.
*
* Copyright (c) 2022. Im-Tae. All rights reserved.
*/
package com.leaf.blocker.extend
import androidx.compose.foundation.BorderStroke
import androidx.compose.foundation.interaction.MutableInteractionSource
import androidx.compose.foundation.layout.PaddingValues
import andro... | 1 | Kotlin | 1 | 3 | 4234ae2110fa998510ae69d682fbd42d6c632ced | 2,722 | Blocker | Apache License 2.0 |
wear/src/main/kotlin/com/monoid/hackernews/wear/theme/Theme.kt | zirman | 477,438,501 | false | null | package com.monoid.hackernews.wear.theme
import androidx.compose.runtime.Composable
import androidx.wear.compose.material.MaterialTheme
@Composable
fun HackerNewsTheme(
content: @Composable () -> Unit
) {
MaterialTheme(
colors = wearColorPalette,
typography = Typography,
// For shapes,... | 0 | Kotlin | 0 | 3 | eed737963d5cd49960cc8d507e488a28db00e313 | 481 | hacker_news | Apache License 2.0 |
app/src/main/java/no/overscroller/sampleapp/util/BasicListUtils.kt | maxhvesser | 319,888,451 | false | null | package no.overscroller.sampleapp.util
import no.overscroller.sampleapp.R
import java.util.*
fun String.asAnimalResource() = when (this.toLowerCase(Locale.ROOT)) {
"ant" -> R.drawable.ant
"badger" -> R.drawable.badger
"bat" -> R.drawable.bat
"bear" -> R.drawable.bear
"bird" -> R.drawable.bird
... | 0 | Kotlin | 0 | 0 | 6d5975c68bb3887673f42301ebc862b6c70c571b | 3,032 | overscroller | Apache License 2.0 |
kdbcore/src/main/java/com/psato/kdbcore/databind/ChildViewModel.kt | thangmam | 196,755,518 | true | {"Kotlin": 65297, "Java": 723, "Shell": 89} | package com.psato.kdbcore.databind
import android.arch.lifecycle.ViewModel
/**
* Just makes public the onCleared method.
*/
abstract class ChildViewModel : ViewModel() {
public override fun onCleared() {
super.onCleared()
}
} | 0 | Kotlin | 0 | 0 | d29791ab51941a3379fc1b2e4d1b1c8481f749c7 | 246 | kdb | Apache License 2.0 |
waltid-verifiable-credentials/src/jvmMain/kotlin/id/walt/credentials/verification/policies/RevocationPolicy.jvm.kt | walt-id | 701,058,624 | false | {"Kotlin": 2223984, "Vue": 327750, "TypeScript": 95586, "JavaScript": 20560, "Dockerfile": 7261, "Python": 3118, "Shell": 1958, "CSS": 404, "TSQL": 301} | package id.walt.credentials.verification.policies
import java.io.BufferedReader
import java.io.InputStream
import java.util.*
import io.ktor.client.*
import io.ktor.client.plugins.contentnegotiation.*
import io.ktor.client.request.*
import io.ktor.client.statement.*
import io.ktor.serialization.kotlinx.json.*
import ... | 39 | Kotlin | 36 | 103 | 68251649e992ff46f9838606ef13004d72a2548f | 3,946 | waltid-identity | Apache License 2.0 |
XML/MarsPhotos/app/src/main/java/com/example/android/marsphotos/overview/OverviewFragment.kt | pherasymchuk | 723,622,473 | false | {"Kotlin": 509237} | /*
* Copyright (C) 2021 The Android Open Source Project.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 0 | Kotlin | 0 | 1 | dcbd36d421c2e59fbf1f220664aabaa30aa97086 | 2,606 | GoogleCodelabsApps | MIT License |
konfigure/proxy/php_object.kt | rjhdby | 139,546,129 | false | null | package php.extension.proxy
import kotlinx.cinterop.*
import php.*
import php.extension.share.*
class PhpObject(val context: CPointer<zend_class_entry>, val zval: PhpMixed) {
companion object {
fun fromMixed(zval: PhpMixed) = PhpObject(zval.pointed!!.value.obj!!.pointed!!.ce!!, zval)
}
val name =... | 1 | Kotlin | 0 | 16 | 2b674554b075d840be269f3fb48aa585dd336324 | 942 | kotlin-native-php-extension | MIT License |
src/main/kotlin/com/expansemc/township/plugin/util/extension/ValueContainer.kt | ItsDoot | 276,237,617 | false | {"Gradle Kotlin DSL": 3, "Markdown": 1, "INI": 2, "Shell": 1, "Ignore List": 1, "Batchfile": 1, "Java": 49, "JSON": 1, "JAR Manifest": 1, "Kotlin": 45} | package com.expansemc.township.plugin.util.extension
import org.spongepowered.api.data.Key
import org.spongepowered.api.data.value.SetValue
import org.spongepowered.api.data.value.ValueContainer
fun <E> ValueContainer.getSetOrEmpty(key: Key<out SetValue<E>>) =
this.getOrElse(key, emptySet()) | 0 | Kotlin | 0 | 0 | ad3f95c95a2e752d684d98ac075dc15232ab2974 | 298 | Township | MIT License |
app/src/test/java/com/marchpig/carfreedog/AlarmTimerTest.kt | marchpig | 115,862,399 | false | null | package com.marchpig.carfreedog
import android.content.SharedPreferences
import com.marchpig.carfreedog.data.HolidayDao
import org.junit.*
import org.junit.Assert.*
import org.mockito.Mockito.*
import java.util.Calendar
class AlarmTimerTest {
private val prefNotSet = mock(SharedPreferences::class.java)
privat... | 0 | Kotlin | 0 | 0 | e3d94170a04c725c3bf777d16e7f23460f6d3635 | 15,785 | car-free-dog | MIT License |
app/src/main/java/com/kev/tvguide/view/adapters/MovieCastAdapter.kt | kev87ian | 552,365,004 | false | {"Kotlin": 63787} | package com.kev.tvguide.view.adapters
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.recyclerview.widget.AsyncListDiffer
import androidx.recyclerview.widget.DiffUtil
import androidx.recyclerview.widget.RecyclerView
import coil.load
import com.kev.tvguide.R
import com.kev.tvguide.datab... | 0 | Kotlin | 0 | 1 | 121d7c2bc8ee3aa5fd2f5f0542853c91c2631cb2 | 1,582 | TvGuide | MIT License |
kex-runner/src/main/kotlin/org/jetbrains/research/kex/reanimator/callstack/CallStack.kt | MayneKeen | 324,393,580 | true | {"Shell": 1, "INI": 2, "Maven POM": 7, "Text": 1, "Ignore List": 1, "Markdown": 1, "XML": 40, "Kotlin": 219, "JSON": 4, "Java": 3} | package org.jetbrains.research.kex.reanimator.callstack
import com.abdullin.kthelper.collection.queueOf
import com.abdullin.kthelper.logging.log
import org.jetbrains.research.kex.reanimator.descriptor.Descriptor
import org.jetbrains.research.kfg.ir.Class
import org.jetbrains.research.kfg.ir.Field
import org.jetbrains.... | 0 | null | 0 | 0 | 0154d42b02a3fa7d57b7365cd2400e3913cab7ba | 7,854 | kex | Apache License 2.0 |
kotlin-mui-icons/src/main/generated/mui/icons/material/ColorLens.kt | JetBrains | 93,250,841 | false | null | // Automatically generated - do not modify!
@file:JsModule("@mui/icons-material/ColorLens")
package mui.icons.material
@JsName("default")
external val ColorLens: SvgIconComponent
| 10 | Kotlin | 5 | 983 | 7ef1028ba3e0982dc93edcdfa6ee1edb334ddf35 | 182 | kotlin-wrappers | Apache License 2.0 |
compose-mds/src/main/java/ch/sbb/compose_mds/sbbicons/large/MountainLakeSunLarge.kt | SchweizerischeBundesbahnen | 853,290,161 | false | {"Kotlin": 6728512} | package ch.sbb.compose_mds.sbbicons.large
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Mit... | 0 | Kotlin | 0 | 1 | 090a66a40e1e5a44d4da6209659287a68cae835d | 12,552 | mds-android-compose | MIT License |
src-split/nyab/match/QMField.kt | nyabkun | 643,912,852 | false | null | /*
* Copyright 2023. nyabkun
*
* 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, publish, distribute, su... | 0 | Kotlin | 0 | 1 | ab23be8393dfe6964914a50bb34b3e5861188940 | 7,828 | qq-compact-lib | MIT License |
client/slack-spring-api-client/src/main/kotlin/com/kreait/slack/api/spring/group/im/SpringImHistoryMethod.kt | pedrosymon | 229,269,589 | true | {"Kotlin": 1212378, "Shell": 935} | package com.kreait.slack.api.spring.group.im
import com.kreait.slack.api.contract.jackson.group.im.ErrorImHistoryResponse
import com.kreait.slack.api.contract.jackson.group.im.ImHistoryResponse
import com.kreait.slack.api.contract.jackson.group.im.SuccessfulImHistoryResponse
import com.kreait.slack.api.group.ApiCallRe... | 0 | null | 0 | 0 | 1fc05d11af01b1449eec20dff7910e33a2cee705 | 1,762 | slack-spring-boot-starter | MIT License |
app/src/main/java/app/quarkton/ui/elements/frag/tonconnect/TCConnectFrag.kt | Skydev0h | 649,788,903 | false | null | package app.quarkton.ui.elements.frag.tonconnect
import androidx.compose.animation.core.animateDpAsState
import androidx.compose.animation.core.animateFloatAsState
import androidx.compose.animation.core.tween
import androidx.compose.foundation.Image
import androidx.compose.foundation.layout.Box
import androidx.compose... | 0 | Kotlin | 0 | 0 | e53c082bf39a88e7ce18750b7b4bb0ff0858f640 | 9,739 | quarkton | MIT License |
data/RF01039/rnartist.kts | fjossinet | 449,239,232 | false | {"Kotlin": 8214424} | import io.github.fjossinet.rnartist.core.*
rnartist {
ss {
rfam {
id = "RF01039"
name = "consensus"
use alignment numbering
}
}
theme {
details {
value = 3
}
color {
location {
1 to 3... | 0 | Kotlin | 0 | 0 | 3016050675602d506a0e308f07d071abf1524b67 | 2,567 | Rfam-for-RNArtist | MIT License |
plugin-build/plugin/src/main/kotlin/dev/teogor/ceres/plugin/AboutLibrariesTask.kt | teogor | 686,659,368 | false | {"Kotlin": 1267840} | package dev.teogor.ceres.plugin
import dev.teogor.ceres.plugin.model.writeToDisk
import java.io.File
import org.gradle.api.tasks.CacheableTask
import org.gradle.api.tasks.Input
import org.gradle.api.tasks.Internal
import org.gradle.api.tasks.TaskAction
import org.slf4j.LoggerFactory
@CacheableTask
abstract class Abou... | 6 | Kotlin | 0 | 0 | 5e1003e359369e612e71d4a941a545a6aa9628a7 | 1,251 | didactic-couscous | Apache License 2.0 |
ui/src/test/kotlin/io/rippledown/caseview/CaseView.kt | TimLavers | 513,037,911 | false | {"Kotlin": 947552, "Gherkin": 32156, "Java": 138} | package io.rippledown.caseview
| 0 | Kotlin | 0 | 0 | f73b32a876053f659a7412dffe8b2ac806f4fe61 | 32 | OpenRDR | MIT License |
app/src/main/java/io/eden/rickpedia/data/dao/CharacterDao.kt | Anczimaru | 758,584,764 | false | {"Kotlin": 56194} | package io.eden.rickpedia.data.dao
import androidx.room.Dao
import androidx.room.Insert
import androidx.room.OnConflictStrategy
import androidx.room.Query
import io.eden.rickpedia.data.entities.CharacterEntity
@Dao
abstract class CharacterDao: BaseDao<CharacterEntity> {
@Insert(onConflict = OnConflictStrategy.RE... | 0 | Kotlin | 0 | 0 | 15ee07a379ea6a64542bae3d518007b8055de27f | 619 | Rickpedia | MIT License |
app/src/main/java/com/santojon/shop/ui/main/activity/LoginActivity.kt | santojon | 186,070,652 | false | null | package com.santojon.shop.ui.main.activity
import android.arch.lifecycle.ViewModelProviders
import android.content.Intent
import android.os.Bundle
import android.view.Gravity
import android.widget.Toast
import com.santojon.shop.R
import com.santojon.shop.base.BaseActivity
import com.santojon.shop.room.entity.User
impo... | 0 | Kotlin | 0 | 0 | 64e2726fa2e920af0b8b104bd2505c9902314cd1 | 2,140 | gameshop | MIT License |
vk-api-generated/src/main/kotlin/name/anton3/vkapi/generated/market/objects/Currency.kt | Anton3 | 159,801,334 | true | {"Kotlin": 1382186} | @file:Suppress("unused", "SpellCheckingInspection")
package name.anton3.vkapi.generated.market.objects
/**
* No description
*
* @property id Currency ID
* @property name Currency sign
* @property title Currency title
*/
data class Currency(
val id: Long,
val name: String,
val title: String
)
| 2 | Kotlin | 0 | 8 | 773c89751c4382a42f556b6d3c247f83aabec625 | 313 | kotlin-vk-api | MIT License |
server/src/main/com/broll/gainea/server/core/fractions/impl/LizardFraction.kt | Rolleander | 253,573,579 | false | {"Gradle": 8, "Shell": 3, "Batchfile": 3, "Text": 5, "Java Properties": 3, "Ignore List": 1, "Markdown": 1, "YAML": 1, "XML": 7, "Java": 182, "Kotlin": 344, "INI": 2, "JSON": 1, "JavaScript": 2, "HTML": 1, "CSS": 1} | package com.broll.gainea.server.core.fractions.impl
import com.broll.gainea.server.core.battle.FightingPower
import com.broll.gainea.server.core.fractions.Fraction
import com.broll.gainea.server.core.fractions.FractionDescription
import com.broll.gainea.server.core.fractions.FractionType
import com.broll.gainea.server... | 0 | Kotlin | 0 | 3 | ab47587c08ce2884269653a49c8fd8351cc4349f | 1,944 | Gainea | MIT License |
leetcode2/src/leetcode/letter-case-permutation.kt | hewking | 68,515,222 | false | {"Text": 1, "Ignore List": 1, "Markdown": 1, "Kotlin": 104, "Java": 88, "JSON": 1, "XML": 5} | package leetcode
/**
* 784. 字母大小写全排列
* https://leetcode-cn.com/problems/letter-case-permutation/
* Created by test
* Date 2019/10/7 22:08
* Description
* 给定一个字符串S,通过将字符串S中的每个字母转变大小写,我们可以获得一个新的字符串。返回所有可能得到的字符串集合。
示例:
输入: S = "a1b2"
输出: ["a1b2", "a1B2", "A1b2", "A1B2"]
输入: S = "3z4"
输出: ["3z4", "3Z4"]
输入: S = "... | 0 | Kotlin | 0 | 0 | a00a7aeff74e6beb67483d9a8ece9c1deae0267d | 2,702 | leetcode | MIT License |
mediator/src/main/kotlin/no/nav/dagpenger/vedtak/mediator/persistens/PostgresPersonRepository.kt | navikt | 415,800,876 | false | null | package no.nav.dagpenger.vedtak.mediator.persistens
import kotliquery.Query
import kotliquery.Session
import kotliquery.TransactionalSession
import kotliquery.queryOf
import kotliquery.sessionOf
import kotliquery.using
import no.nav.dagpenger.vedtak.modell.Person
import no.nav.dagpenger.vedtak.modell.PersonIdentifikat... | 0 | Kotlin | 0 | 0 | 6e4cb298ef7a16657927490c814469020cd60b3c | 8,817 | dp-vedtak | MIT License |
app/src/main/java/de/iplabs/mobile_sdk_example_app/ui/projects/ProjectsView.kt | iplabs | 598,095,302 | false | null | package de.iplabs.mobile_sdk_example_app.ui.projects
import android.content.Context
import androidx.recyclerview.widget.LinearLayoutManager
import androidx.recyclerview.widget.RecyclerView
import de.iplabs.mobile_sdk.projectStorage.Project
import de.iplabs.mobile_sdk_example_app.fragments.ProjectsFragment
class Proje... | 0 | Kotlin | 0 | 3 | f23f82cb7858179040dad288cc7fa5170f58e488 | 839 | mobile-sdk-android-example-app | MIT License |
sleep_monitor_app/app/src/main/java/com/example/positionmonitor/MainActivity.kt | MarvinSchultz | 215,914,131 | false | {"Java": 123825, "Python": 82072, "Kotlin": 24471, "C++": 219} | package com.example.positionmonitor
import android.view.View
import android.os.Bundle
import android.widget.TextView
import androidx.appcompat.app.AppCompatActivity
import android.content.pm.PackageManager
import androidx.core.app.ActivityCompat
import android.Manifest
import kotlin.system.exitProcess
import android.... | 0 | Java | 1 | 3 | ff78b687b77008456931e03dbb75c252e68a973c | 3,773 | SleepMonitor | MIT License |
Aplicacion/app/src/main/java/com/example/miincidencia/adapters/IncidenciasAdapter.kt | Tania105 | 753,646,655 | false | {"Kotlin": 94351} | package com.example.miincidencia.adapters
import android.view.LayoutInflater
import android.view.ViewGroup
import android.widget.AdapterView.OnItemClickListener
import android.widget.AdapterView.OnItemSelectedListener
import androidx.recyclerview.widget.RecyclerView
import com.example.miincidencia.Dataclases.Incidenci... | 0 | Kotlin | 0 | 0 | 1ed1d05860ff4721fe39c3b027d960def74eb379 | 1,260 | Android_Grupo1 | MIT License |
fabric/src/main/kotlin/cache/ExecutionData.kt | obecto | 216,905,848 | false | null | package com.obecto.perper.fabric.cache
class ExecutionData(
var agent: String,
var instance: String,
var delegate: String,
var finished: Boolean,
)
| 26 | C# | 3 | 19 | e477568c2c186767ec6ba0d83e652dab6540531d | 165 | perper | MIT License |
src/main/kotlin/io/github/hc1839/crul/chemistry/species/format/mol2/Mol2SupermoleculeBuilder.kt | hc1839 | 724,383,874 | false | {"Kotlin": 541316} | /*
* Copyright <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 w... | 0 | Kotlin | 0 | 0 | 736b3c8377ca2f2f4a4e86fde6312e50b7ea2505 | 1,075 | crul | Apache License 2.0 |
src/commonMain/kotlin/entities/Player.kt | jackcat13 | 467,966,832 | false | {"Kotlin": 84709, "Shell": 1210} | package entities
import com.soywiz.kds.FastArrayList
import com.soywiz.korge.animate.animator
import com.soywiz.korge.view.*
import com.soywiz.korim.atlas.Atlas
import com.soywiz.korim.bitmap.flippedX
import com.soywiz.korio.async.runBlockingNoSuspensions
import config.ExcludeFromJacocoGeneratedReport
import config.Ga... | 1 | Kotlin | 0 | 0 | 5382be1ba3c57cca96291062253b1b0b1a8a0f59 | 8,714 | myDailyApocalypse | MIT License |
src/test/kotlin/uk/gov/justice/digital/hmpps/prisonertonomisupdate/casenotes/CaseNotesNomisApiServiceTest.kt | ministryofjustice | 445,140,246 | false | {"Kotlin": 1714167, "Mustache": 1803, "Dockerfile": 1118} | package uk.gov.justice.digital.hmpps.prisonertonomisupdate.casenotes
import com.github.tomakehurst.wiremock.client.WireMock.anyUrl
import com.github.tomakehurst.wiremock.client.WireMock.deleteRequestedFor
import com.github.tomakehurst.wiremock.client.WireMock.equalTo
import com.github.tomakehurst.wiremock.client.WireM... | 0 | Kotlin | 0 | 2 | 1f149166a26652e9ef4cb8e9a9a5793a7201dac5 | 7,164 | hmpps-prisoner-to-nomis-update | MIT License |
src/main/java/com/github/ai/kpdiff/domain/diff/formatter/DiffEventSorter.kt | aivanovski | 607,687,384 | false | null | package com.github.ai.kpdiff.domain.diff.formatter
import com.github.ai.kpdiff.entity.DatabaseEntity
import com.github.ai.kpdiff.entity.DiffEvent
import com.github.ai.kpdiff.entity.DiffEventType
import com.github.ai.kpdiff.entity.EntryEntity
import com.github.ai.kpdiff.entity.FieldEntity
import com.github.ai.kpdiff.en... | 0 | null | 1 | 3 | 1d9bd09b4444363530b7591ab77d2cd0cf03df81 | 4,371 | kp-diff | Apache License 2.0 |
app/src/main/java/com/example/daniwedblivedebug/StudentContract.kt | dmitrilc | 426,073,119 | false | {"Kotlin": 2647} | package com.example.daniwedblivedebug
import android.content.Context
import android.database.sqlite.SQLiteDatabase
import android.database.sqlite.SQLiteOpenHelper
import android.provider.BaseColumns
object StudentContract {
object Student : BaseColumns {
const val TABLE = "student"
const val COLUM... | 0 | Kotlin | 0 | 1 | 9958bb5ca46ac3c46de590610f1dc6241fa6b61a | 1,109 | DaniweDBLiveDebug | MIT License |
app/src/main/java/it/gmstyle/getit/compose/screens/listscreen/composables/ListNameBox.kt | gmstyle | 808,701,300 | false | {"Kotlin": 86732} | package it.gmstyle.getit.compose.screens.listscreen.composables
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.text.KeyboardActions
import androidx.compose.foundation.text.KeyboardOptions
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.automirrored.... | 0 | Kotlin | 0 | 0 | 8d783fb7ab28039dbf6b376372265ed7225c7d6f | 2,234 | GetIt | MIT License |
TelegramBotAPI/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/requests/stickers/DeleteStickerFromSet.kt | sleshJdev | 289,571,865 | true | {"Kotlin": 718048} | package com.github.insanusmokrassar.TelegramBotAPI.requests.stickers
import com.github.insanusmokrassar.TelegramBotAPI.requests.abstracts.FileId
import com.github.insanusmokrassar.TelegramBotAPI.requests.abstracts.SimpleRequest
import com.github.insanusmokrassar.TelegramBotAPI.types.stickerField
import kotlinx.seriali... | 0 | null | 0 | 0 | cc0498a89a28ae8205f6f854534ec6f31be36cda | 767 | TelegramBotAPI | Apache License 2.0 |
tools/plugins/network/src/pluginSmokeTest/kotlin/net/corda/cli/plugins/network/MemberLookupTest.kt | corda | 346,070,752 | false | {"Kotlin": 19951814, "Java": 320782, "Smarty": 115647, "Shell": 54666, "Groovy": 30254, "PowerShell": 6509, "TypeScript": 5826, "Solidity": 2024} | package net.corda.cli.plugins.network
import com.fasterxml.jackson.databind.node.JsonNodeFactory
import net.corda.cli.plugins.network.utils.HoldingIdentityUtils
import net.corda.e2etest.utilities.DEFAULT_CLUSTER
import net.corda.membership.lib.MemberInfoExtension
import net.corda.membership.lib.MemberInfoExtension.Com... | 96 | Kotlin | 25 | 56 | dd139d8da25a3c52ae17ca8d0debc3da4067f158 | 6,221 | corda-runtime-os | Apache License 2.0 |
src/test/kotlin/space/yaroslav/familybot/payment/IAmRichPaymentProcessorTest.kt | AngryJKirk | 114,262,178 | false | null | package space.yaroslav.familybot.payment
import org.junit.jupiter.api.Assertions
import org.springframework.beans.factory.annotation.Autowired
import space.yaroslav.familybot.infrastructure.payload
import space.yaroslav.familybot.models.dictionary.Phrase
import space.yaroslav.familybot.models.shop.PreCheckOutResponse
... | 0 | Kotlin | 3 | 79 | afe020e8096b0042dec5d93f485ba6f0b5d85911 | 1,118 | familybot | Apache License 2.0 |
src/213/main/kotlin/org/rust/ide/hints/type/RsChainMethodTypeHintsProvider.kt | rgantt | 450,295,050 | true | {"Kotlin": 9134623, "Rust": 127441, "Python": 90759, "HTML": 19660, "Lex": 12335, "Shell": 760, "Java": 688, "RenderScript": 89} | /*
* Use of this source code is governed by the MIT license that can be
* found in the LICENSE file.
*/
package org.rust.ide.hints.type
import com.intellij.codeInsight.hints.InlayGroup
// BACKCOMPAT: 2021.2. Merge it with `RsChainMethodTypeHintsProviderBase`
@Suppress("UnstableApiUsage")
class RsChainMethodTypeHi... | 0 | null | 0 | 0 | 0d08def3a3dd87ade9d289dc5854d6c281a2a505 | 457 | intellij-rust | MIT License |
mobile/src/main/java/io/github/tonnyl/latticify/ui/channel/profile/ChannelProfileContract.kt | TonnyL | 106,430,606 | false | null | package io.github.tonnyl.latticify.ui.channel.profile
import com.airbnb.epoxy.EpoxyModel
import io.github.tonnyl.latticify.data.Channel
import io.github.tonnyl.latticify.mvp.BasePresenter
import io.github.tonnyl.latticify.mvp.BaseView
/**
* Created by lizhaotailang on 12/10/2017.
*/
interface ChannelProfileContract... | 2 | Kotlin | 4 | 43 | 4f8103fb6a5d46821bf459128dd9c93fb8b24e5f | 1,038 | Latticify | MIT License |
app/src/test/java/com/juangm/randomusers/presentation/ui/userdetail/UserDetailViewModelTest.kt | juangranadilla | 182,758,014 | false | null | package com.juangm.randomusers.presentation.ui.userdetail
import com.google.common.truth.Truth
import com.juangm.randomusers.BaseTest
import com.juangm.randomusers.domain.models.User
import com.juangm.randomusers.domain.repository.UsersRepository
import com.juangm.randomusers.domain.usecase.UpdateUserUseCase
import co... | 0 | Kotlin | 3 | 5 | 37ed5c2176b97845f6c3cb866cf1fb40f7da82b4 | 2,664 | RandomUsers | Apache License 2.0 |
internal-storage-file-provider/src/test/java/com/github/ai/isfprovider/domain/usecases/GetMimeTypeUseCaseTest.kt | aivanovski | 410,594,542 | false | {"Kotlin": 203162} | package com.github.ai.isfprovider.domain.usecases
import com.github.ai.isfprovider.data.FileSystem
import com.github.ai.isfprovider.domain.MimeTypeProvider
import com.github.ai.isfprovider.entity.FileModel
import com.github.ai.isfprovider.entity.Result
import com.github.ai.isfprovider.test.TestData.DIRECTORY_FILE
impo... | 0 | Kotlin | 0 | 1 | 170ce125fcee81b057e12fd5416efacca029d3ad | 2,917 | internal-storage-file-provider | Apache License 2.0 |
app/src/main/java/com/marcinstramowski/socialmeal/screens/main/searchEvents/SearchFragment.kt | stramek | 114,037,296 | false | null | package com.marcinstramowski.socialmeal.screens.main.searchEvents
import android.os.Bundle
import com.marcinstramowski.socialmeal.R
import com.marcinstramowski.socialmeal.screens.base.BaseFragment
import javax.inject.Inject
/**
* Screen that allows user to search and sign for other people events
*/
class SearchFrag... | 0 | Kotlin | 0 | 1 | d45e6cf4ab0a89ff7c337bced3909e4c46c3f689 | 588 | SocialMeal | MIT License |
app/src/main/java/com/example/androiddevchallenge/WeatherDataRepository.kt | sokume | 349,436,373 | false | null | /*
* Copyright 2021 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 0 | Kotlin | 0 | 0 | a10d09c5c42552430deab8008275ba2894d00a5b | 5,725 | WeatherInformationApp | Apache License 2.0 |
wasi-emscripten-host/src/commonMain/kotlin/base/function/HostFunctionHandle.kt | illarionov | 769,429,996 | false | null | /*
* Copyright 2024, the wasm-sqlite-open-helper project authors and contributors. Please see the AUTHORS file
* for details. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
* SPDX-License-Identifier: Apache-2.0
*/
package ru.pixnews.wasm.sqlite.open.helper.host... | 4 | null | 0 | 3 | 35c3019efe126bba3e8973d54c2a3d4454c0ccb1 | 681 | wasm-sqlite-open-helper | Apache License 2.0 |
gi/src/commonMain/kotlin/org/anime_game_servers/multi_proto/gi/data/community/player_presentation/UpdatePlayerShowNameCardListReq.kt | Anime-Game-Servers | 642,871,918 | false | {"Kotlin": 1651536} | package data.community.player_presentation
import org.anime_game_servers.core.base.Version.GI_1_4_0
import org.anime_game_servers.core.base.annotations.AddedIn
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
@AddedIn(GI_1_4... | 1 | Kotlin | 3 | 6 | b342ff34dfb0f168a902498b53682c315c40d44e | 440 | anime-game-multi-proto | MIT License |
app/src/androidTest/java/social/entourage/android/GuideMapTest.kt | ReseauEntourage | 30,242,877 | false | {"Kotlin": 1996098} | package social.entourage.android
import androidx.test.espresso.Espresso.onView
import androidx.test.espresso.action.ViewActions.*
import androidx.test.espresso.assertion.ViewAssertions.matches
import androidx.test.espresso.matcher.ViewMatchers.*
import androidx.test.ext.junit.rules.ActivityScenarioRule
import androidx... | 1 | Kotlin | 2 | 9 | 8876257df1ca54f45943a72aeead27f3771d1a73 | 2,427 | entourage-android | MIT License |
app/src/main/java/rs/dc/budihuman/BeHuman.kt | sasagajic | 568,088,125 | false | null | package rs.dc.budihuman
import android.app.Application
import coil.ImageLoader
import coil.ImageLoaderFactory
import com.facebook.flipper.core.FlipperClient
import dagger.hilt.android.HiltAndroidApp
import javax.inject.Inject
@HiltAndroidApp
class BeHuman: Application(), ImageLoaderFactory {
@Inject
lateinit ... | 0 | Kotlin | 0 | 0 | 2f23b345b3f4fe11e0ee6ba91c8a02eea06edb40 | 553 | be-human | Apache License 2.0 |
src/main/kotlin/counters/minter/grpc/client/SetCandidateOffDataKt.kt | counters | 424,713,046 | false | {"Kotlin": 940649, "Java": 183428} | //Generated by the protocol buffer compiler. DO NOT EDIT!
// source: data.proto
package counters.minter.grpc.client;
@kotlin.jvm.JvmName("-initializesetCandidateOffData")
public inline fun setCandidateOffData(block: counters.minter.grpc.client.SetCandidateOffDataKt.Dsl.() -> kotlin.Unit): counters.minter.grpc.client.... | 0 | Kotlin | 0 | 2 | 7f431b1551732cad28b471ad667cd18691e2e209 | 1,855 | jvm-minter-grpc-class | Apache License 2.0 |
tracking-with-geofence-notifications/app/src/main/java/software/amazon/location/sample/view/ConfigurationDialog.kt | aws-geospatial | 614,030,600 | false | {"Kotlin": 117957} | package software.amazon.location.sample.view
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.height
import androidx.compose.foundation.... | 0 | Kotlin | 1 | 1 | b9b3bdfb61bf857ff01895718c79627503fe4d92 | 4,611 | amazon-location-samples-android | MIT No Attribution |
src/test/kotlin/com/example/setintersection/RouterTest.kt | chut89 | 713,037,969 | false | {"Kotlin": 41285} | package com.example.setintersection
import org.junit.jupiter.api.BeforeEach
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.extension.ExtendWith
import org.mockito.kotlin.eq
import org.mockito.kotlin.whenever
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.boot.t... | 0 | Kotlin | 0 | 0 | 2ec30d64312a14888eabbfabc1b2a325716e02e6 | 7,689 | demo-set-intersection | The Unlicense |
app/src/main/java/com/jxareas/xpensor/features/converter/domain/model/CurrencyComparison.kt | jxareas | 540,284,293 | false | {"Kotlin": 260827, "Python": 1602, "Shell": 695} | package com.jxareas.xpensor.features.converter.domain.model
data class CurrencyComparison(
val baseCurrency: BaseCurrency,
val currencyRates: CurrencyRates,
)
| 0 | Kotlin | 3 | 35 | c8639526a7fdd710e485668093ce627e0fa1e8e5 | 168 | Xpensor | MIT License |
app/src/main/java/com/cheise_proj/spiice_ui_challenge/spiice/ui/messages/MessagesFragment.kt | alvinmarshall | 249,792,945 | false | null | package com.cheise_proj.spiice_ui_challenge.spiice.ui.messages
import android.os.Bundle
import android.os.Handler
import android.os.Looper
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.lifecycle.Observer
import androidx.l... | 3 | Kotlin | 1 | 9 | f64214c986ac8d228e5bc627ee847c0a74bd197f | 2,137 | Spiice-ui-challenge | MIT License |
app/src/main/java/com/wallace/githubtoprepositories/data/db/RepositoryDatabase.kt | wallacethierre | 458,537,548 | false | {"Kotlin": 17855} | package com.wallace.githubtoprepositories.data.db
import android.content.Context
import androidx.room.Database
import androidx.room.Room
import androidx.room.RoomDatabase
@Database(entities = [RepositoryEntry::class, PageIndexEntry::class], version = 1, exportSchema = false)
abstract class RepositoryDatabase : RoomDa... | 0 | Kotlin | 0 | 2 | 180e280a79d44f0d73e522a1e8f521ac93fce7fc | 962 | github-top-repositories | MIT License |
src/test/kotlin/cms/rendner/intellij/python/intentions/PyIntentionTestCase.kt | rendner | 264,925,920 | false | null | package cms.rendner.intellij.python.intentions
import com.intellij.psi.PsiFile
import com.intellij.testFramework.fixtures.BasePlatformTestCase
import com.jetbrains.python.psi.LanguageLevel
/**
* @author <NAME>
*/
abstract class PyIntentionTestCase : BasePlatformTestCase() {
fun doTest(hint: String, languageLev... | 0 | Kotlin | 1 | 1 | c2e2ca7cca1b3833e988543fda5bce05c6860309 | 1,550 | py-prefix-fstring-plugin | MIT License |
src/main/kotlin/jatyc/subtyping/syncronous_subtyping/ProtocolSyncSubtyping.kt | jdmota | 244,648,226 | false | null | package jatyc.subtyping.syncronous_subtyping
import jatyc.typestate.graph.*
class ProtocolSyncSubtyping {
companion object {
private val cache: MutableMap<Pair<AbstractState<*>, AbstractState<*>>, Boolean> = mutableMapOf()
fun isSubtype(sub: AbstractState<*>, sup: AbstractState<*>): Boolean {
val pa... | 0 | Kotlin | 3 | 9 | f6307e899dc4b359664d9bd9b5e3b31b9073e2b8 | 4,841 | java-typestate-checker | MIT License |
src/main/kotlin/io/mustelidae/riverotter/domain/calendar/yeartable/repository/YearTableRepository.kt | fennec-fox | 297,187,345 | false | {"Kotlin": 165803, "Shell": 252} | package io.mustelidae.riverotter.domain.calendar.yeartable.repository
import io.mustelidae.riverotter.domain.calendar.yeartable.YearTable
import org.bson.types.ObjectId
import org.springframework.data.mongodb.repository.MongoRepository
import java.util.Locale
interface YearTableRepository : MongoRepository<YearTable,... | 1 | Kotlin | 2 | 3 | 0706cc98c1d9f8e928cb35323f5d32797bb5cfbc | 384 | river-otter | MIT License |
superwall/src/main/java/com/superwall/sdk/models/events/EventData.kt | superwall-me | 642,585,064 | false | {"Kotlin": 1159975} | package com.superwall.sdk.models.events
import com.superwall.sdk.models.serialization.AnySerializer
import com.superwall.sdk.models.serialization.DateSerializer
import kotlinx.serialization.*
import kotlinx.serialization.descriptors.*
import java.util.*
@kotlinx.serialization.Serializable
data class EventData(
@S... | 0 | Kotlin | 1 | 8 | 336627cbcc03a031ecefeec98fedb43e5de4a3e7 | 843 | Superwall-Android | MIT License |
metrics-common-tags-core/src/test/kotlin/io/github/ing8ar/metrics/common/tags/core/CommonTagsManagerTest.kt | ing8ar | 157,610,091 | false | null | package io.github.ing8ar.metrics.common.tags.core
import io.github.ing8ar.metrics.common.tags.core.extractor.DefaultAppNameTagExtractor
import io.github.ing8ar.metrics.common.tags.core.extractor.DefaultHostNameTagExtractor
import io.mockk.MockKAnnotations
import io.mockk.every
import io.mockk.impl.annotations.SpyK
imp... | 0 | Kotlin | 0 | 0 | 84c7778cd9b6ff2f3e7852dcf249305fc2667d21 | 1,575 | metrics-common-tags | Apache License 2.0 |
src/main/kotlin/uk/gov/justice/digital/hmpps/managerecallsapi/controller/AuditController.kt | ministryofjustice | 371,053,303 | false | null | package uk.gov.justice.digital.hmpps.managerecallsapi.controller
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.http.MediaType.APPLICATION_JSON_VALUE
import org.springframework.security.access.prepost.PreAuthorize
import org.springframework.web.bind.annotation.GetMapping
impor... | 2 | null | 0 | 1 | 708e801435483b0406197fdc61e85ab7c2d2cc82 | 1,945 | manage-recalls-api | MIT License |
domain/src/main/java/com/dsm/dms/domain/base/Result.kt | DSM-DMS | 203,186,000 | false | null | package com.dsm.dms.domain.base
sealed class Result<T> {
data class Success<T>(val data: T): Result<T>()
data class Error<T>(
var data: T? = null,
var message: Message
): Result<T>()
}
| 0 | Kotlin | 2 | 14 | ae7de227cee270d22a72a4f59090bff07c43f019 | 217 | DMS-Android-V4 | MIT License |
data/src/main/java/com/lefarmico/data/db/FormatterTimeCache.kt | LeFarmico | 382,809,671 | false | null | package com.lefarmico.data.db
import androidx.annotation.IntDef
import com.lefarmico.data.db.entity.FormatterData
import java.time.format.DateTimeFormatter
class FormatterTimeCache {
private val lock = Any()
private val formatterSet = mutableSetOf<FormatterData>()
init {
formatterSet.add(Formatt... | 0 | Kotlin | 0 | 3 | e1fa8a81aefcb6131b704f787b1fa9b5518a6735 | 1,078 | GymSupporter | Apache License 2.0 |
src/main/kotlin/com/staboss/crypto/Main.kt | staboss | 264,997,320 | false | {"Gradle": 2, "Markdown": 2, "Shell": 1, "Ignore List": 1, "Batchfile": 1, "INI": 1, "Kotlin": 13, "Java": 1} | package com.staboss.crypto
import com.staboss.crypto.rsa.RSA
import com.staboss.crypto.rsa.RSAPrivateKey
import com.staboss.crypto.rsa.RSAPublicKey
import com.staboss.crypto.util.errorMessage
import com.staboss.crypto.util.fileHelper
import java.io.File
fun main(args: Array<String>) {
if (args.contains("-h") || a... | 1 | null | 1 | 1 | 8c78fde8649e5fb1f9a388dd36cba96dc0892f49 | 1,681 | crypto-rsa | MIT License |
app/src/main/java/id/fathonyfath/githubtrending/core/Mapper.kt | fathonyfath | 212,020,598 | false | {"Kotlin": 50477} | package id.fathonyfath.githubtrending.core
abstract class Mapper<T, R> {
abstract fun map(source: T): R
fun map(sources: Iterable<T>): List<R> {
return sources.map(::map)
}
}
fun <T, R> T.mapUsing(mapper: Mapper<T, R>): R {
return mapper.map(this)
}
fun <T, R> Iterable<T>.mapUsing(mapper: Map... | 0 | Kotlin | 0 | 0 | e55617c645fd287f1c0056d153f41d19d41f051a | 371 | github-trending | MIT License |
definitions/src/main/kotlin-gen/xyz/urbanmatrix/mavlink/definitions/common/MavFrame.kt | urbanmatrix | 484,943,163 | false | null | package xyz.urbanmatrix.mavlink.definitions.common
import kotlin.Deprecated
import kotlin.Long
import xyz.urbanmatrix.mavlink.api.GeneratedMavEnum
import xyz.urbanmatrix.mavlink.api.GeneratedMavEnumEntry
import xyz.urbanmatrix.mavlink.api.MavEnum
/**
* Co-ordinate frames used by MAVLink. Not all frames are supported... | 1 | Kotlin | 4 | 9 | 8f480256eeaac5755a2ce5582c338a4b30c7e178 | 7,447 | mavlink-kotlin | Apache License 2.0 |
libNet/src/main/java/com/effective/android/net/okhttp/https/TrustAllManager.kt | YummyLau | 118,240,800 | false | null | package com.effective.android.net.okhttp.https
import android.annotation.SuppressLint
import java.security.cert.CertificateException
import java.security.cert.X509Certificate
import javax.net.ssl.X509TrustManager
/**
* 一个不验证证书链的证书信任管理器
* Created by yummyLau on 2018/8/01.
* Email: <EMAIL>
* blog: yummylau.com
... | 1 | null | 32 | 187 | f9bad2216051e5b848b2d862cab7958f1bcdc5e8 | 847 | AndroidModularArchiteture | MIT License |
upload/src/main/kotlin/com/oneliang/ktx/util/upload/FileUpload.kt | oneliang | 263,037,681 | false | null | package com.oneliang.ktx.util.upload
import com.oneliang.ktx.Constants
import com.oneliang.ktx.util.logging.LoggerManager
import java.io.*
/**
* for any file upload
* @author Dandelion
*/
class FileUpload {
companion object {
private val logger = LoggerManager.getLogger(FileUpload::class)
//t... | 0 | null | 1 | 1 | b3f3a36b09a32a0fc17389d708bd9bd4ea92c178 | 12,052 | util-kotlin | Apache License 2.0 |
solana/src/main/java/com/solana/models/FeeRateGovernorInfo.kt | ajamaica | 378,984,962 | false | null | package com.solana.models
import com.squareup.moshi.Json
import com.squareup.moshi.JsonClass
@JsonClass(generateAdapter = true)
data class FeeRateGovernorInfo(
override val value: Value
) : RPC<FeeRateGovernorInfo.Value>(null, value) {
@JsonClass(generateAdapter = true)
data class FeeRateGovernor (
... | 12 | Kotlin | 14 | 38 | 248fb4f31d4595a499b877d8e9f797efef373943 | 640 | Solana.kt | MIT License |
app/src/main/java/com/xfhy/learnkotlin/MainActivity.kt | xfhy | 256,263,351 | false | null | package com.xfhy.learnkotlin
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.util.Log
import com.xfhy.learnkotlin.common.request
import com.xfhy.learnkotlin.common.startActivity
import com.xfhy.learnkotlin.jetpack.JetpackActivity
import com.xfhy.learnkotlin.material.MaterialHome... | 0 | Kotlin | 0 | 0 | cb8a8c08c6d3f5a0bbf7756bd6a576b749af6828 | 1,094 | AndroidThirdCode | Apache License 2.0 |
presentation/src/main/kotlin/com/dvinc/workouttimer/presentation/common/view/UiConstants.kt | DEcSENT | 121,128,412 | false | null | /*
* Copyright (c) 2018 by <NAME> (<EMAIL>)
* All rights reserved.
*/
package com.dvinc.workouttimer.presentation.common.view
/**
* Left padding for item divider in exercises list.
*/
const val EXERCISE_ITEM_LEFT_PADDING = 58
/**
* Animation duration for buttons on Workout and Exercise screens.
*/
const val A... | 1 | null | 1 | 3 | 716b9ff353e6e3a7ee9362431ce4d909e781db1c | 356 | WorkoutTimer | MIT License |
src/main/kotlin/no/nav/syfo/service/OppdaterStatusService.kt | navikt | 218,005,192 | false | null | package no.nav.syfo.service
import java.time.OffsetDateTime
import java.time.ZoneOffset
import no.nav.syfo.aksessering.db.oracle.settTilNy
import no.nav.syfo.db.DatabaseOracle
import no.nav.syfo.db.DatabasePostgres
import no.nav.syfo.log
import no.nav.syfo.model.sykmeldingstatus.STATUS_APEN
import no.nav.syfo.model.sy... | 1 | Kotlin | 1 | 0 | 0ef0d440c7966d1862ea9f097352f6a46839f58c | 1,595 | syfoservice-data-syfosmregister | MIT License |
agent/src/test/kotlin/org/nessus/didcomm/test/model/vc/VCSerializationTest.kt | tdiesler | 578,916,709 | false | {"Kotlin": 620123, "Python": 19397, "HTML": 13066, "Java": 3170, "Shell": 2174, "Open Policy Agent": 1617, "CSS": 458, "Dockerfile": 196} | package org.nessus.didcomm.test.model.vc
import io.kotest.matchers.shouldBe
import org.nessus.didcomm.model.CredentialSchema
import org.nessus.didcomm.model.CredentialStatus
import org.nessus.didcomm.model.W3CVerifiableCredential
import org.nessus.didcomm.model.W3CVerifiablePresentation
import org.nessus.didcomm.model... | 26 | Kotlin | 1 | 8 | ae9539dc74cd867be61946e5a7912a6611f1d8a2 | 3,444 | nessus-didcomm | Apache License 2.0 |
Explorer_Android/app/src/main/java/com/example/explorer/ExplorerHolder.kt | cool1024 | 464,807,016 | false | {"JavaScript": 794541, "CSS": 89439, "Kotlin": 69696, "HTML": 7135} | package com.example.explorer
import android.app.Activity
import android.content.ClipData
import android.content.ClipboardManager
import android.content.Context
import android.util.Size
import android.view.View
import android.view.ViewGroup
import android.widget.Toast
import androidx.navigation.findNavController
import... | 0 | JavaScript | 0 | 0 | f906c8a3750e657ba5f9433c5d04d04810e47811 | 3,948 | localhost_file_explorer | MIT License |
crous-frontend-project-2022/app/src/main/java/com/example/crous/CrousCatalogue.kt | Nadimab | 573,102,332 | false | null | package com.example.crous
class CrousCatalogue {
private val crousMap: HashMap<String, ReducedCrous> = HashMap()
fun addCrous(crous: ReducedCrous) {
crousMap[crous.title] = crous
}
/*
fun getCrousFromTitle(title: String):ReducedCrous {
return crousMap[title] ?: throw java.lang.Run... | 0 | Kotlin | 1 | 0 | 36d897ecd168d528ac525cab603a000be2f91840 | 1,449 | frontend-crous | MIT License |
demo-app/src/main/kotlin/io/getstream/video/android/analytics/FirebaseEvents.kt | GetStream | 505,572,267 | false | {"Kotlin": 2549850, "MDX": 279508, "Python": 18285, "Shell": 4455, "JavaScript": 1112, "PureBasic": 107} | /*
* Copyright (c) 2014-2023 Stream.io Inc. All rights reserved.
*
* Licensed under the Stream License;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://github.com/GetStream/stream-video-android/blob/main/LICENSE
*
* Unless required by ... | 3 | Kotlin | 30 | 308 | 1c67906e4c01e480ab180f30b39f341675bc147e | 800 | stream-video-android | FSF All Permissive License |
fluxo-kmp-conf/src/main/kotlin/fluxo/minification/AbstractShrinkerTask.kt | fluxo-kt | 705,309,218 | false | {"Kotlin": 570819} | @file:Suppress("KDocUnresolvedReference")
package fluxo.minification
import fluxo.conf.impl.e
import fluxo.conf.impl.jvmToolFile
import fluxo.conf.impl.lc
import fluxo.conf.impl.w
import fluxo.external.AbstractExternalFluxoTask
import fluxo.external.ExternalToolRunner
import fluxo.gradle.clearDirs
import fluxo.gradle... | 0 | Kotlin | 0 | 1 | e68ea08e06c6e79f706fdcae6692c4438343d65a | 18,323 | fluxo-kmp-conf | Apache License 2.0 |
client/rpc/src/integration-test/kotlin/net/corda/client/rpc/CordaRPCClientTest.kt | lavenutagi | 98,293,748 | true | {"Kotlin": 3386415, "Java": 184482, "Groovy": 27918, "Shell": 320, "Batchfile": 106} | package net.corda.client.rpc
import net.corda.contracts.asset.Cash
import net.corda.core.contracts.Amount
import net.corda.core.contracts.DOLLARS
import net.corda.core.contracts.USD
import net.corda.core.crypto.random63BitValue
import net.corda.core.flows.FlowInitiator
import net.corda.core.getOrThrow
import net.corda... | 0 | Kotlin | 0 | 0 | b6902aada698404de7b83192fe2b5af35294238b | 6,471 | corda | Apache License 2.0 |
android/app/src/main/kotlin/dev/xynno/flutter/checkbox_example/MainActivity.kt | lucifel20 | 335,667,272 | false | {"Dart": 3840, "Swift": 404, "Kotlin": 139, "Objective-C": 38} | package dev.xynno.flutter.checkbox_example
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| 0 | Dart | 0 | 0 | 02ff40055803d277b88255399652e56d7ee1cbc3 | 139 | flutter-checkbox-example | MIT License |
app/src/main/java/com/github/tommykw/musical/di/NetworkModule.kt | tommykw | 43,686,150 | false | {"Kotlin": 31858, "Shell": 46} | package com.github.tommykw.musical.di
import com.github.tommykw.musical.BuildConfig
import com.google.gson.Gson
import dagger.Module
import dagger.Provides
import okhttp3.OkHttpClient
import okhttp3.logging.HttpLoggingInterceptor
import retrofit2.converter.gson.GsonConverterFactory
import javax.inject.Singleton
@Modu... | 0 | Kotlin | 1 | 5 | 49343555ff772d276690d980b845fc2ce7e33b2c | 953 | Musical | MIT License |
app/src/main/java/com/example/loomorecorder/NonBlockingInfLoop.kt | Stedd | 255,922,916 | false | null | package com.example.loomoapp.utils
import android.os.Process
import android.util.Log
import kotlin.concurrent.thread
/*
* Usage example:
* var i = 0
* val myLoop = NonBlockingInfLoop {
* // Code to run repeatedly
* foo()
* bar()
* i++
* }
*
* someButton.setOnClickListener {
* myLoo... | 0 | Kotlin | 1 | 1 | d6ea3eb160cdf1c18b303e30d3b0c4686330b231 | 3,137 | Loomo_Recorder | MIT License |
libraries/tools/new-project-wizard/src/org/jetbrains/kotlin/tools/projectWizard/plugins/templates/JsTemplatesPlugin.kt | android | 263,405,600 | true | null | package org.jetbrains.kotlin.tools.projectWizard.plugins.templates
import org.jetbrains.kotlin.tools.projectWizard.core.Context
import org.jetbrains.kotlin.tools.projectWizard.templates.SimpleJsClientTemplate
class JsTemplatesPlugin(context: Context) : TemplatePlugin(context) {
val addTemplate by addTemplateTask(... | 0 | Kotlin | 37 | 316 | 74126637a097f5e6b099a7b7a4263468ecfda144 | 347 | kotlin | Apache License 2.0 |
cache/src/main/java/com/piotrek1543/android/boilerplate/cache/dao/CachedCityDao.kt | piotrek1543 | 168,876,182 | false | null | package com.piotrek1543.android.boilerplate.cache.dao
import androidx.room.Dao
import androidx.room.Insert
import androidx.room.OnConflictStrategy
import androidx.room.Query
import com.piotrek1543.android.boilerplate.cache.db.constants.CityConstants
import com.piotrek1543.android.boilerplate.cache.model.CachedCity
@D... | 0 | Kotlin | 0 | 8 | a5510a569d306660d03263f039ab02882c531e2c | 615 | sunshine_clean_architecture | MIT License |
app/src/main/java/com/github/fajaragungpramana/igit/constant/EspressoIdlingResource.kt | fajaragungpramana | 759,898,833 | false | {"Kotlin": 79297} | package com.github.fajaragungpramana.igit.constant
import androidx.test.espresso.IdlingResource
import androidx.test.espresso.idling.CountingIdlingResource
object EspressoIdlingResource {
private const val RESOURCE = "GLOBAL"
private val countingIdlingResource = CountingIdlingResource(RESOURCE)
val idl... | 0 | Kotlin | 0 | 2 | f178089ab3dd09ed7bd2c1dee2c13d377d460c1a | 533 | android.igit | Apache License 2.0 |
app/src/main/java/com/sundbybergsit/cromfortune/crom/AlgorithmConformanceScoreCalculator.kt | Sundbybergs-IT | 2,808,467 | false | null | package com.sundbybergsit.cromfortune.crom
import com.sundbybergsit.cromfortune.algorithm.ConformanceScore
import com.sundbybergsit.cromfortune.algorithm.RecommendationAlgorithm
import com.sundbybergsit.cromfortune.currencies.CurrencyRateRepository
import com.sundbybergsit.cromfortune.domain.StockEvent
abstract class... | 18 | Kotlin | 0 | 0 | d64e51d47c02778edfb95f02e6d86f15e5a41429 | 573 | Crom-Fortune | The Unlicense |
app/src/main/java/com/pp/soliderrorhandling/home/HomeFragment.kt | pauloaapereira | 367,940,852 | false | null | package com.solid.errorhandling.home
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import androidx.navigation.fragment.findNavController
import com.solid.errorhandling.databinding.FragmentHomeBinding
import com.s... | 0 | null | 1 | 2 | fccfd87cd7fc33ba67fe3abf02ce6e9187be3e56 | 1,959 | Medium_Handling_Android_Error_Views_with_SOLID | Apache License 2.0 |
library/src/main/java/com/sztorm/timepicker/colliders/CircleCollider.kt | Sztorm | 386,277,175 | true | {"Kotlin": 56071} | package com.sztorm.timepicker.colliders
data class CircleCollider(
var centerX: Float,
var centerY: Float,
var radius: Float) : Collider2D
{
override fun isCollidingWith(pointX: Float, pointY: Float): Boolean {
val dx: Float = centerX - pointX
val dy: Float = centerY - pointY
va... | 0 | Kotlin | 0 | 1 | 6bcd5a8c9ba9b400548a4a373990f7c713801d41 | 738 | TimePicker | Apache License 2.0 |
app/src/main/java/com/aghyksa/storyapp/model/RegisterResponse.kt | Aghyksa | 704,034,049 | false | {"Kotlin": 51526} | package com.aghyksa.storyapp.model
data class RegisterResponse(
val error: Boolean,
val message: String
)
| 0 | Kotlin | 0 | 0 | 875198a6c978cc1425472be18045a91e92921102 | 116 | StoryApp | Apache License 2.0 |
app/src/main/java/com/example/androiddevchallenge/DogView.kt | AdrianoCelentano | 343,057,184 | false | null | /*
* Copyright 2021 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 0 | Kotlin | 0 | 6 | 7aa546df69e0f908712ecd1e9fc0df530de1aeea | 3,520 | PuppyCards | Apache License 2.0 |
kotlin-protobuf-bson-codec/src/main/kotlin/io/github/gaplotech/PBCodec.kt | gaplotech | 131,178,341 | false | null | package io.github.gaplotech
import com.google.protobuf.Message
import org.bson.BsonReader
import org.bson.BsonWriter
import org.bson.codecs.Codec
import org.bson.codecs.DecoderContext
import org.bson.codecs.EncoderContext
class PBCodec<T : Message>(
private val clazz: Class<T>,
private val includingDefaultVal... | 1 | Kotlin | 3 | 8 | 2ef4d6357c2d762666d6e3d8f174e015630cbfba | 917 | kotlin-protobuf-bson-codec | MIT License |
feature/spell/data/src/commonMain/kotlin/com/nesterov/veld/data/SpellRepositoryImpl.kt | anaesthez | 793,406,212 | false | {"Kotlin": 213315, "Ruby": 1684, "Swift": 522, "HTML": 275} | package com.nesterov.veld.data
import com.nesterov.veld.common.RequestResult
import com.nesterov.veld.common.map
import com.nesterov.veld.domain.SpellRepository
import com.nesterov.veld.domain.model.SpellDomainModel
import com.nesterov.veld.network.dnd.DND5eRemoteSource
class SpellRepositoryImpl(
private val spel... | 0 | Kotlin | 0 | 0 | 36fa1319b81c41939105b9af03066d960d3ad6ac | 535 | veld | MIT License |
app/src/main/java/tech/ijkzen/viewtooltip/MainActivity.kt | ijkzen | 293,233,691 | false | null | package tech.ijkzen.viewtooltip
import android.content.Intent
import android.os.Bundle
import android.view.LayoutInflater
import android.view.Menu
import android.view.MenuItem
import androidx.appcompat.app.AppCompatActivity
import androidx.core.content.ContextCompat
import com.github.ijkzen.control.TipGravity
import c... | 0 | Kotlin | 0 | 0 | 7e92d8f1f700ecc8adb29cb9f135db9ac07a3aee | 5,773 | ViewToolTip | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.