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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
src/main/kotlin/io/kotest/extensions/allure/links.kt | kotest | 361,202,109 | false | {"Kotlin": 18728} | package io.kotest.extensions.allure
import io.kotest.core.test.TestCase
import io.qameta.allure.Issue
import io.qameta.allure.Links
import io.qameta.allure.model.Link
import io.qameta.allure.util.ResultsUtils
import kotlin.reflect.KClass
import kotlin.reflect.full.findAnnotation
import io.qameta.allure.Link as ALink
... | 6 | Kotlin | 4 | 5 | e99b4195be5c7a82ca34c493036d7ef9e870f860 | 781 | kotest-extensions-allure | Apache License 2.0 |
androidaudioplugin/src/main/java/org/androidaudioplugin/AudioPluginException.kt | atsushieno | 186,288,472 | false | {"C++": 505588, "Kotlin": 162425, "JavaScript": 74500, "C": 54208, "CMake": 6138, "Shell": 5016, "HTML": 3077, "AIDL": 2099} | package org.androidaudioplugin
class AudioPluginException : Exception {
constructor() : this ("AudioPlugin error")
constructor(message: String) : super(message)
constructor(message: String, innerException: Exception) : super(message, innerException)
} | 26 | C++ | 3 | 88 | 80c38aa2fc42f050a88a84a3de97e2cc5add274f | 264 | aap-core | MIT License |
app/src/main/java/xyz/lazysoft/a3amp/AboutActivity.kt | skyfion | 166,003,849 | false | {"Kotlin": 92510} | package xyz.lazysoft.a3amp
import android.annotation.SuppressLint
import android.content.Intent
import android.net.Uri
import android.os.Bundle
import android.view.View
import android.widget.Button
import android.widget.EditText
import android.widget.TextView
import androidx.appcompat.app.AppCompatActivity
class Abo... | 0 | Kotlin | 0 | 0 | 95d750cbb70436693a7e79e7ffa67febd7bdab0f | 1,292 | 3amp | MIT License |
src/main/kotlin/com/expansemc/township/plugin/permission/PermissionTypeImpl.kt | ItsDoot | 276,237,617 | false | null | package com.expansemc.township.plugin.permission
import com.expansemc.township.api.permission.PermissionType
import org.spongepowered.api.CatalogKey
import org.spongepowered.plugin.PluginContainer
data class PermissionTypeImpl(private val key: CatalogKey) : PermissionType {
override fun getKey(): CatalogKey = th... | 0 | Kotlin | 0 | 0 | ad3f95c95a2e752d684d98ac075dc15232ab2974 | 1,128 | Township | MIT License |
kotlin/src/main/kotlin/com/spoonacular/client/model/GenerateMealPlan200ResponseNutrients.kt | ddsky | 189,444,765 | false | null | /**
*
* 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 com.spoonacular.client.model
import co... | 1 | null | 64 | 41 | 60d83759252522d70fe981b12a20a5f56690617e | 806 | spoonacular-api-clients | MIT License |
app/src/main/java/com/mgssoftware/mgsdashboard/avfast/adapters/viewholder/AvfastAssignmentViewHolder.kt | MuratCay | 442,378,301 | false | {"Kotlin": 112154} | package com.mgssoftware.mgsdashboard.avfast.adapters.viewholder
import androidx.recyclerview.widget.RecyclerView
import com.mgssoftware.mgsdashboard.R
import com.mgssoftware.mgsdashboard.avfast.data.model.Log
import com.mgssoftware.mgsdashboard.databinding.AvfastAssignmentItemRecyclerBinding
class AvfastAssignmentVie... | 0 | Kotlin | 0 | 1 | a2a5603c91cf68cfdf4de7c3e43244732954592e | 684 | MgsDashboard | The Unlicense |
src/main/kotlin/io/ysakhno/adventofcode2015/day02/Day02.kt | YSakhno | 816,649,625 | false | {"Kotlin": 93259} | /*
* --- Day 2: I Was Told There Would Be No Math ---
*
* You need to submit an order for more wrapping paper. You have a list of the dimensions (length l, width w, and
* height h) of each item, and only want to order exactly as much as you need.
*
* Every item is a box (a perfect right rectangular prism), which... | 0 | Kotlin | 0 | 0 | 200685847c7abf2e66f6af95cb3982a8b42713b4 | 3,734 | advent-of-code-2015-in-kotlin | MIT License |
app/src/main/java/com/a10miaomiao/bilimiao/page/video/VideoMorePopupMenu.kt | 10miaomiao | 142,169,120 | false | {"Kotlin": 1671460, "Java": 664642, "HTML": 601} | package com.a10miaomiao.bilimiao.page.video
import android.app.Activity
import android.content.ClipData
import android.content.ClipboardManager
import android.content.Context
import android.content.Intent
import android.net.Uri
import android.view.Menu
import android.view.MenuItem
import android.view.View
import andro... | 44 | Kotlin | 38 | 977 | 1d59b82ba30b4c2e83c781479d09c48c3a82cd47 | 4,708 | bilimiao2 | Apache License 2.0 |
src/main/kotlin/writers/Markers.kt | ljp-projects | 853,903,940 | false | {"Kotlin": 9740} | package org.ljpprojects.writers
import org.ljpprojects.extensions.toByteArrayBigEndian
class Marker(val idx: UInt): OpWriter {
override fun toByteArray(): ByteArray {
return MARKER.toByteArrayBigEndian() + idx.toByteArrayBigEndian()
}
}
class Goto(val idx: UInt): OpWriter {
override fun toByteArr... | 0 | Kotlin | 0 | 0 | 1622ae385ac909655767759391f0296e3881f155 | 650 | bytaic-api | MIT License |
app/src/main/java/com/artemchep/literaryclock/logic/live/AppVersionLiveData.kt | AChep | 160,681,782 | false | {"Kotlin": 130814} | package com.artemchep.literaryclock.logic.live
import android.content.Context
import android.content.pm.PackageInfo
import android.content.pm.PackageManager
import androidx.lifecycle.LiveData
import com.artemchep.literaryclock.models.Version
/**
* @author <NAME>
*/
class AppVersionLiveData(private val context: Cont... | 4 | Kotlin | 0 | 8 | 0a067570b49474a049960d892a72749ca3cb903c | 847 | literaryclock | Apache License 2.0 |
source/android/uitestapp/src/androidTest/java/io.adaptivecards.uitestapp/TestWatchRule.kt | microsoft | 75,978,731 | false | {"C#": 2243092, "C++": 1999603, "TypeScript": 1288634, "Java": 1049636, "Objective-C++": 761294, "CSS": 247421, "Objective-C": 179366, "JavaScript": 160530, "EJS": 87199, "SWIG": 47466, "Kotlin": 46201, "C": 26097, "PowerShell": 17168, "SCSS": 16676, "HTML": 13635, "Batchfile": 10418, "CMake": 7236, "Swift": 2989, "Rub... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package io.adaptivecards.uitestapp
import org.junit.rules.TestWatcher
import org.junit.runner.Description
public class TestWatchRule : TestWatcher() {
protected override fun starting(description: Description) {
... | 769 | C# | 550 | 1,748 | bdbd1707dbc5150ff7a9be2a6b815d0c003c4bdd | 715 | AdaptiveCards | MIT License |
app/src/main/kotlin/com/czbix/v2ex/util/ExceptionUtils.kt | tmac010sjh | 130,150,916 | true | {"Java": 292809, "Kotlin": 166690} | package com.czbix.v2ex.util
import android.support.v4.app.Fragment
import android.widget.Toast
import com.crashlytics.android.Crashlytics
import com.czbix.v2ex.R
import com.czbix.v2ex.common.exception.*
import com.czbix.v2ex.network.HttpStatus
import java.util.*
object ExceptionUtils {
/**
* warp exception i... | 0 | Java | 0 | 0 | cdcef413bee94bea58aa218165ea76c66d373b7d | 2,546 | v2ex-android-1 | Apache License 2.0 |
mall-service/mall-member/src/main/kotlin/com/github/member/controller/IntegrationChangeHistoryController.kt | andochiwa | 409,491,115 | false | {"Kotlin": 5143282, "Java": 228835, "TSQL": 18775, "Dockerfile": 134} | package com.github.member.controller
import com.github.dto.ResultDto
import com.github.dto.resultSuccess
import com.github.member.entity.IntegrationChangeHistory
import com.github.member.service.IntegrationChangeHistoryService
import io.swagger.annotations.Api
import io.swagger.annotations.ApiOperation
import kotlinx.... | 0 | Kotlin | 1 | 2 | 5685d6749a924dddd79d7f06e222b425190c7168 | 2,074 | Webflux-Mall-Back | MIT License |
beckn-protocol-dtos/jvm/src/main/kotlin/org/beckn/protocol/schemas/ProtocolSchedule.kt | beckn | 508,229,088 | false | null | package org.beckn.protocol.schemas
data class ProtocolSchedule @Default constructor(
val frequency: String? = null,
val holidays: List<java.time.OffsetDateTime>? = null,
val times: List<java.time.OffsetDateTime>? = null
) | 9 | Kotlin | 1 | 0 | 3234785717af8022f354987b41f98de0c811be25 | 228 | mobility-BAP | MIT License |
src/main/kotlin/doublemoon/mahjongcraft/game/mahjong/riichi/model/MahjongRound.kt | doublemoon1119 | 420,480,909 | false | null | package doublemoon.mahjongcraft.game.mahjong.riichi.model
import kotlinx.serialization.Serializable
/**
* 麻將的回合
*
* @param wind 場風 (Prevalent Wind)
* @param round 第幾局 (從 0 開始, 3 為結束) (也可以視作 "x"th rotation, 意即轉幾次的意思)
* @param honba 本場數
* */
@Serializable
data class MahjongRound(
var wind: Wind = Wind.EAST,
... | 2 | null | 0 | 9 | bedf98c3f840e541f2e372c6bff086d012c92e79 | 1,031 | MahjongCraft | MIT License |
domain/usecase/src/main/java/com/cupcake/usecase/ErrorType.kt | The-Cupcake-team | 646,926,125 | false | null | package com.cupcake.usecase
sealed class ErrorType(val messages: String) : Throwable() {
class InvalidFieldPassword(message:String=""): ErrorType(message)
class InvalidFieldUserName(message:String=""): ErrorType(message)
}
| 7 | Kotlin | 0 | 0 | bf4bc5aea0d12056c13b52d2ca1aa3d64f8e1a12 | 232 | Jobs-finder | MIT License |
androidApp/src/main/java/dev/andrew/prosto/android/compose/theme/ThemeColor.kt | FUZIK | 636,271,510 | false | {"Kotlin": 162496, "Swift": 342} | package dev.andrew.prosto.android.compose.theme
import androidx.compose.ui.graphics.Color
val md_theme_light_primary = Color(0xFF006874)
val md_theme_light_onPrimary = Color(0xFFFFFFFF)
val md_theme_light_primaryContainer = Color(0xFF97F0FF)
val md_theme_light_onPrimaryContainer = Color(0xFF001F24)
val md_theme_light... | 0 | Kotlin | 0 | 0 | 99107aefdb742989ccdea0b48ba8b3abe848121b | 4,304 | prosto | MIT License |
domene/src/test/kotlin/no/nav/tiltakspenger/vilkårsvurdering/StatligeYtelserVilkårsvurderingKategoriTest.kt | navikt | 487,246,438 | false | null | package no.nav.tiltakspenger.vilkårsvurdering
import io.kotest.matchers.shouldBe
import no.nav.tiltakspenger.felles.Periode
import no.nav.tiltakspenger.felles.februar
import no.nav.tiltakspenger.felles.februarDateTime
import no.nav.tiltakspenger.felles.januar
import no.nav.tiltakspenger.felles.januarDateTime
import no... | 2 | Kotlin | 0 | 2 | f1029b39d439ccb548a9af9d1516800b26e9d016 | 22,945 | tiltakspenger-vedtak | MIT License |
app/src/main/java/com/blueberrybeegames/numbersgame/GameFragment.kt | Minnakhmetov | 280,463,382 | false | null | package com.blueberrybeegames.numbersgame
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.view.animation.Animation
import android.view.animation.AnimationUtils
import androidx.fragment.app.Fragment
import androidx.lifecycle.Observer
impo... | 0 | Kotlin | 0 | 0 | cde1869df9103ec105e06146c208b2fad8ca5483 | 5,717 | NumberGame | Apache License 2.0 |
minesweeper-ui/src/main/java/com/jayasuryat/minesweeperui/cell/revealed/EmptyCell.kt | jayasuryat | 426,077,797 | false | null | /*
* Copyright 2022 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... | 6 | null | 9 | 81 | 92ef8a0c17172c684af00c143fb72154aec0750c | 1,631 | minesweeper-j-compose | Apache License 2.0 |
compose-preferences/src/main/java/com/uzential/compose_preferences/ui/components/MenuLink.kt | ambers-emu | 672,780,455 | false | null | package com.uzential.compose_preferences.ui.components
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.tooling.preview.Preview
import com.uzential.compose_preferences.ui.ComposeFunction
import com.uzential.compose_preferences.ui.PreferenceItem
import com.uzenti... | 0 | Kotlin | 0 | 1 | e8f4eabeba0430d1ac4530195903dba1d3fa6373 | 1,116 | ambers | MIT License |
News-App-Starter/app/src/main/java/br/com/carvalho/newsappstarter/ui/activity/FavoriteActivity.kt | juliocarvalho2019 | 650,383,020 | false | null | package br.com.carvalho.newsappstarter.ui.activity
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import androidx.recyclerview.widget.DividerItemDecoration
import androidx.recyclerview.widget.ItemTouchHelper
import androidx.recyclerview.widget.LinearLayoutManager... | 0 | Kotlin | 0 | 0 | 0ad44134eeaa59c07efbbc5c61854e7fde06f63e | 3,581 | News-App-Starter-MVVM | Apache License 2.0 |
src/main/kotlin/com/redgrapefruit/redmenu/redmenu/standard/MenuBlockEntity.kt | kanpov | 398,815,378 | false | null | package com.redgrapefruit.redmenu.redmenu.standard
import net.minecraft.block.BlockState
import net.minecraft.block.entity.BlockEntity
import net.minecraft.block.entity.BlockEntityType
import net.minecraft.inventory.Inventories
import net.minecraft.item.ItemStack
import net.minecraft.nbt.NbtCompound
import net.minecra... | 0 | Kotlin | 0 | 0 | b54e00b4c4532a9396122405247937370fea7412 | 1,455 | RedMenu | MIT License |
plugins/maven/src/test/java/org/jetbrains/idea/maven/externalSystemIntegration/output/MavenSpyOutputParserTest.kt | sannysanoff | 194,511,583 | true | null | // Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package org.jetbrains.idea.maven.externalSystemIntegration.output
import org.jetbrains.idea.maven.externalSystemIntegration.output.MavenBuildToolLogTestUtils.failOnWarns
class M... | 1 | null | 1 | 1 | ac53b8c2c773034c52746c1c9e295e0427496568 | 10,323 | intellij-community | Apache License 2.0 |
Demos/KotlinPrimer-master/Project11/app/src/main/java/com/kymjs/project11/DemoAdapter.kt | 12313kaihuang | 277,078,667 | false | {"Text": 1, "Ignore List": 21, "Markdown": 6, "XML": 70, "Kotlin": 110, "Java": 22, "Gradle": 35, "Java Properties": 19, "Shell": 14, "Batchfile": 14, "Proguard": 7, "INI": 3, "HTML": 3} | package com.kymjs.project11
import android.content.Context
import android.view.View
import android.view.ViewGroup
import android.widget.BaseAdapter
import android.widget.LinearLayout
import android.widget.TextView
/**
* Created by ZhangTao on 18/7/24.
*/
const val COUNT = 50
class DemoAdapter(val context: Context... | 1 | null | 1 | 1 | 2690a474de19fdd7a2e1213882ef706347a0be49 | 2,130 | KotlinTest | Apache License 2.0 |
app/src/main/java/com/example/kaspresso/recycler/ui/main/MainRecyclerAdapter.kt | RuslanMingaliev | 306,161,402 | false | null | package com.example.kaspresso.recycler.ui.main
import android.graphics.Color
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import androidx.recyclerview.widget.DiffUtil
import androidx.recyclerview.widget.ListAdapter
import androidx.recyclerview... | 0 | Kotlin | 1 | 1 | 6b5a3fe33ebdd44f2fecd92f2f50bbe0b883ce36 | 1,767 | KaspressoRecyclerSample | Apache License 2.0 |
ok-catalog-be-common/src/main/kotlin/ru/ok/catalog/be/common/FUID.kt | otuskotlin | 327,223,329 | false | null | package ru.ok.catalog.be.common
import java.util.*
//FUID - Friendly unique id
object FUID{
public fun id(): String {
val u = UUID.randomUUID()
return lb64(u.mostSignificantBits)+"-"+lb64(u.leastSignificantBits)
}
public fun lb64(v: Long): String {
val chars = "0123456789ABCDEFGHI... | 1 | Kotlin | 1 | 0 | 466f8d6a9dad0841e4551889a45f6ada5109545c | 588 | otuskotlin-202012-catalog-chi | MIT License |
feature-settings/src/main/java/de/niklasbednarczyk/nbweather/feature/settings/navigation/DestinationsSettings.kt | NiklasBednarczyk | 529,683,941 | false | {"Kotlin": 1300133} | package de.niklasbednarczyk.nbweather.feature.settings.navigation
import de.niklasbednarczyk.nbweather.core.ui.navigation.destination.NBDestination
import de.niklasbednarczyk.nbweather.core.ui.navigation.destination.NBTopLevelDestination
import de.niklasbednarczyk.nbweather.core.ui.navigation.destination.NBTopLevelDes... | 15 | Kotlin | 0 | 1 | e10dbb86dc6e37eda9dba29dd1ee51aa19c4477d | 1,112 | NBWeather | MIT License |
feature-settings/src/main/java/de/niklasbednarczyk/nbweather/feature/settings/navigation/DestinationsSettings.kt | NiklasBednarczyk | 529,683,941 | false | {"Kotlin": 1300133} | package de.niklasbednarczyk.nbweather.feature.settings.navigation
import de.niklasbednarczyk.nbweather.core.ui.navigation.destination.NBDestination
import de.niklasbednarczyk.nbweather.core.ui.navigation.destination.NBTopLevelDestination
import de.niklasbednarczyk.nbweather.core.ui.navigation.destination.NBTopLevelDes... | 15 | Kotlin | 0 | 1 | e10dbb86dc6e37eda9dba29dd1ee51aa19c4477d | 1,112 | NBWeather | MIT License |
app/src/main/java/com/example/demoapp/models/APIError.kt | alinbabu2010 | 338,063,365 | false | null | package com.example.demoapp.models
/**
* Model class for API error message model
*/
class APIError {
private val statusCode = 0
private val message: String? = null
fun status(): Int {
return statusCode
}
fun message(): String? {
return message
}
}
| 0 | Kotlin | 1 | 1 | 23766560e733b9ff7d19eb7e2b6764deeb8ce9bb | 293 | BitNews | MIT License |
metamorphosis/src/main/java/dev/kourosh/metamorphosis/OnDownloadingListener.kt | KouroshMsv | 225,165,199 | false | null | package dev.kourosh.metamorphosis
interface OnDownloadingListener {
fun downloading(percent:Int)
} | 0 | Kotlin | 0 | 0 | aaf2bbdd4124ef8574881703fbac7a8b92d38a2b | 103 | metamorphosis | MIT License |
src/test/kotlin/io/andrewohara/awsmock/dynamodb/backend/BatchGetTest.kt | oharaandrew314 | 276,702,915 | false | null | package io.andrewohara.awsmock.dynamodb.backend
import io.andrewohara.awsmock.dynamodb.DynamoFixtures
import io.andrewohara.awsmock.dynamodb.DynamoUtils.createCatsTable
import io.andrewohara.awsmock.dynamodb.DynamoUtils.createOwnersTable
import io.kotest.matchers.maps.shouldBeEmpty
import io.kotest.matchers.shouldBe
i... | 3 | Kotlin | 0 | 0 | 37b86b28ae306b02da712436c7f849bfcd37c8a9 | 1,493 | mock-aws-java-sdk | The Unlicense |
app/src/main/java/com/ojhdtapp/parabox/core/util/GoogleDriveUtil.kt | Parabox-App | 482,740,446 | false | null | package com.ojhdtapp.parabox.core.util
import android.content.Context
import android.os.Looper
import android.util.Log
import android.webkit.MimeTypeMap
import android.widget.Toast
import com.google.android.gms.auth.api.signin.GoogleSignIn
import com.google.api.client.extensions.android.http.AndroidHttp
import com.goo... | 0 | Kotlin | 4 | 83 | a0d9ecd2c4c9c4895f8392723a5577adbf3685b5 | 12,764 | Parabox | MIT License |
app/src/main/java/io/sabag/androidConferences/TimeAndDateUtils.kt | SabagRonen | 137,562,037 | false | {"Kotlin": 83774} | package io.sabag.androidConferences
import io.sabag.androidConferences.pluginInterfaces.ITimeAndDateUtils
import java.text.SimpleDateFormat
import java.util.*
class TimeAndDateUtils : ITimeAndDateUtils {
override val currentTimeInMilliseconds: Long
get() = System.currentTimeMillis()
override fun getF... | 0 | Kotlin | 0 | 0 | f87032076de387631e8f1add68b59d71d21fe2ba | 442 | android-conferences | MIT License |
common/src/main/java/com/beok/common/base/BaseAdapter.kt | BeokBeok | 287,859,379 | false | null | package com.beok.common.base
import android.view.ViewGroup
import androidx.annotation.LayoutRes
import androidx.lifecycle.ViewModel
import androidx.paging.PagedListAdapter
import androidx.recyclerview.widget.DiffUtil
class BaseAdapter<ITEM : Any>(
@LayoutRes private val layoutRes: Int,
private val bindingId: ... | 0 | Kotlin | 0 | 1 | 1d739238a2f08af5e5a14441db1ce67e8731f63b | 849 | BookFinder | Apache License 2.0 |
dsl/src/main/kotlin/io/cloudshiftdev/awscdkdsl/services/quicksight/CfnDashboardCategoryFilterPropertyDsl.kt | cloudshiftinc | 667,063,030 | false | null | @file:Suppress("RedundantVisibilityModifier", "RedundantUnitReturnType", "RemoveRedundantQualifierName", "unused", "UnusedImport", "ClassName", "REDUNDANT_PROJECTION", "DEPRECATION")
package cloudshift.awscdk.dsl.services.quicksight
import cloudshift.awscdk.common.CdkDslMarker
import software.amazon.awscdk.IResolvabl... | 4 | null | 0 | 3 | c59c6292cf08f0fc3280d61e7f8cff813a608a62 | 3,459 | awscdk-dsl-kotlin | Apache License 2.0 |
app/src/test/java/com/bed/seller/framework/network/clients/mock/HttpClientMock.kt | bed72 | 674,410,644 | false | {"Kotlin": 130793, "Shell": 492} | package com.bed.seller.framework.network.clients.mock
import kotlinx.serialization.json.Json
import kotlinx.serialization.ExperimentalSerializationApi
import io.ktor.http.headersOf
import io.ktor.http.HttpHeaders
import io.ktor.http.ContentType
import io.ktor.http.HttpStatusCode
import io.ktor.serialization.kotlinx.... | 0 | Kotlin | 0 | 1 | 6a0e120a877d678263d61466cdf2733eb58216d9 | 3,395 | Hogwarts | MIT License |
dsl/src/main/kotlin/io/cloudshiftdev/awscdkdsl/services/ses/CloudWatchDimensionDsl.kt | cloudshiftinc | 667,063,030 | false | null | @file:Suppress(
"RedundantVisibilityModifier",
"RedundantUnitReturnType",
"RemoveRedundantQualifierName",
"unused",
"UnusedImport",
"ClassName",
"REDUNDANT_PROJECTION",
"DEPRECATION"
)
package cloudshift.awscdk.dsl.services.ses
import cloudshift.awscdk.common.CdkDslMarker
import kotlin... | 4 | null | 0 | 3 | 256ad92aebe2bcf9a4160089a02c76809dbbedba | 1,874 | awscdk-dsl-kotlin | Apache License 2.0 |
Fragments/Configuration/CategoryAssetListFragment.kt | georeaper | 852,383,858 | false | {"Kotlin": 560550} | package com.gkprojects.cmmsandroidapp.Fragments.Configuration
import android.os.Bundle
import android.util.Log
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.Button
import android.widget.TextView
import android.widge... | 0 | Kotlin | 0 | 0 | ead876d15542a773f84db60d89a2360dc940b268 | 5,425 | CMMSmobile | MIT License |
src/main/kotlin/io/github/janbarari/gradle/analytics/scanner/BuildScanner.kt | janbarari | 476,835,309 | false | null | /**
* MIT License
* Copyright (c) 2024 <NAME> (@janbarari)
*
* 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... | 7 | null | 4 | 143 | 6dfdffd1c3f1fabcb79d6c5a9b6c79739d9de951 | 5,771 | gradle-analytics-plugin | MIT License |
src/jsMain/kotlin/com/bkahlert/netmon/IP.js.kt | bkahlert | 671,899,608 | false | {"Kotlin": 911730, "JavaScript": 766538, "Shell": 102968, "HTML": 57668, "Python": 13258, "CSS": 6078, "Jinja": 809} | package com.bkahlert.netmon
import kotlinx.serialization.Serializable
@Serializable(with = IPSerializer::class)
actual sealed interface IP : Comparable<IP> {
actual val bytes: ByteArray
actual companion object {
actual fun of(bytes: ByteArray): IP = when (bytes.size) {
4 -> IPv4(bytes)
... | 0 | Kotlin | 0 | 1 | 0bfd007d349dc9dbb7c2308a92fa9584f16ca767 | 4,877 | netmon | MIT License |
data/position/src/iosTest/kotlin/tech/antibytes/keather/data/position/device/LocatorSpec.kt | bitPogo | 762,226,385 | false | {"Kotlin": 363602, "Swift": 6863, "JavaScript": 6688, "C": 194, "HTML": 184} | /*
* Copyright (c) 2024 Matthias Geisler (bitPogo) / All rights reserved.
*
* Use of this source code is governed by Apache v2.0
*/
package tech.antibytes.keather.data.position.device
import tech.antibytes.keather.data.position.PositionRepositoryContract
import tech.antibytes.keather.data.position.locator.AppleLo... | 0 | Kotlin | 0 | 0 | 7e0b2d1d800f835b0afc2bbeedb708f393668c64 | 3,430 | keather | Apache License 2.0 |
bitlap-core/src/main/kotlin/org/bitlap/core/sql/parser/ddl/SqlShowDatabases.kt | bitlap | 313,535,150 | false | null | /**
* Copyright (C) 2023 bitlap.org .
*/
package org.bitlap.core.sql.parser.ddl
import org.apache.calcite.DataContext
import org.apache.calcite.sql.SqlIdentifier
import org.apache.calcite.sql.SqlKind
import org.apache.calcite.sql.SqlSpecialOperator
import org.apache.calcite.sql.SqlWriter
import org.apache.calcite.sq... | 23 | null | 2 | 22 | a83d320073ccf1bd2eb036555fc03d72dddef81b | 1,222 | bitlap | Apache License 2.0 |
mimir/src/test/api/shape/SHACLIsValidControllerTest.kt | BastyZ | 307,803,039 | false | {"HTML": 3261704, "Python": 226858, "Vue": 97021, "Kotlin": 82237, "CSS": 31518, "JavaScript": 11283, "Batchfile": 756, "Dockerfile": 729, "Makefile": 584} | package api.shape
import org.apache.jena.graph.Graph
import org.apache.jena.rdf.model.Model
import org.apache.jena.shacl.ShaclValidator
import org.apache.jena.shacl.Shapes
import org.apache.jena.shacl.ValidationReport
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.Assertions.*
import loadModel
import ... | 8 | HTML | 1 | 27 | 08e451b9e6866e4ae8c615fab8a38805689e49e7 | 3,740 | RDFPlayground | Apache License 2.0 |
SDKAndroid/src/main/kotlin/app/cybrid/sdkandroid/components/bankAccounts/compose/BankAccountsView_Modal.kt | Cybrid-app | 498,874,863 | false | null | package app.cybrid.sdkandroid.components.bankAccounts.compose
import android.util.Log
import androidx.activity.compose.rememberLauncherForActivityResult
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.material.Surface
import and... | 12 | Kotlin | 0 | 4 | 7476ff75058a45a42c187713eaff2e4a51d1a041 | 2,878 | cybrid-sdk-android | Apache License 2.0 |
extensions/pagesaver/src/main/kotlin/com/moriatsushi/katalog/ext/pagesaver/PageSaverExt.kt | mori-atsushi | 379,268,780 | false | {"Kotlin": 144915} | package com.moriatsushi.katalog.ext.pagesaver
import com.moriatsushi.katalog.ext.KatalogExt
import com.moriatsushi.katalog.ext.pagesaver.internal.createPageSaverExt
@Suppress("FunctionName")
public fun PageSaverExt(): KatalogExt {
return createPageSaverExt()
}
| 14 | Kotlin | 6 | 149 | 81373ad8d9edc9bfc035cdf3e7b1c6d92dfb4976 | 267 | katalog | Apache License 2.0 |
src/main/kotlin/it/skrape/core/Reader.kt | yijunwu | 231,949,657 | true | {"Kotlin": 198551, "HTML": 1658} | package it.skrape.core
import it.skrape.SkrapeItDsl
import it.skrape.selects.Doc
import java.io.File
import java.nio.charset.Charset
internal class Reader(
val file: File,
val charset: Charset = Charsets.UTF_8
) {
internal fun read(): Doc = Parser(file.readText(Charsets.UTF_8)).parse()
}
/**
* ... | 0 | null | 0 | 0 | fb0a9dee96a41e757d1563285ce074ecdbf30c92 | 585 | skrape.it | MIT License |
Backends/System/Android/Java-Sources/tech/kinc/KincMoviePlayer.kt | Kode | 10,254,751 | false | {"C": 8085099, "C++": 330548, "JavaScript": 53782, "Kotlin": 7253, "Objective-C": 1434, "Shell": 1406, "GLSL": 1015, "Batchfile": 475, "HTML": 130} | package tech.kinc
import java.util.ArrayList
import android.view.Surface
class KincMoviePlayer(var path: String) {
companion object {
var players = ArrayList<KincMoviePlayer?>()
@JvmStatic
fun updateAll() {
for (player in KincMoviePlayer.players) {
player!!.update()
}
}
fun remove(id: Int) {
... | 27 | C | 120 | 517 | 2154ec4c2c300f9767f1b553be133279cfeb539a | 902 | Kinc | zlib License |
archives/jetbrains-plugins/vite-jetbrains-plugin/src/main/kotlin/com/rxliuli/vite/cli/ViteProjectTemplateFactory.kt | rxliuli | 368,450,196 | false | {"TypeScript": 504981, "Kotlin": 8473, "JavaScript": 4865, "CSS": 1582} | package com.rxliuli.vite.cli
import com.intellij.ide.util.projectWizard.WizardContext
import com.intellij.openapi.module.WebModuleBuilder
import com.intellij.platform.ProjectTemplate
import com.intellij.platform.ProjectTemplatesFactory
class ViteProjectTemplateFactory : ProjectTemplatesFactory() {
override fun ge... | 0 | TypeScript | 5 | 68 | 31cbb94af2cd182ae20c25b6992654fa54c12d1d | 541 | liuli-tools | MIT License |
app/src/main/java/com/github/renfrow/republic/route/api/RouteDto.kt | cren90 | 813,235,130 | false | {"Kotlin": 29306} | package com.github.renfrow.republic.route.api
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
data class RouteDto(
@SerialName("id")
val id: Int,
@SerialName("name")
val name: String,
@SerialName("type")
val type: String
) | 0 | Kotlin | 0 | 0 | 438e466761054ed825e605db6fa0cc1ed52944ff | 297 | republic-services-interview | Apache License 2.0 |
composeApp/src/commonMain/kotlin/screens/home/HomeUIState.kt | vrcm-team | 746,586,818 | false | {"Kotlin": 145508, "Swift": 4222} | package io.github.vrcmteam.vrcm.screens.home
import androidx.compose.runtime.MutableState
import androidx.compose.runtime.mutableStateMapOf
import io.github.vrcmteam.vrcm.data.api.auth.FriendData
data class HomeUIState(
val friendIdMap: MutableMap<String, MutableState<FriendData>> = mutableMapOf(),
val friend... | 0 | Kotlin | 0 | 3 | c0f4a147b1ea2a07940a82207d552d9f0a0e7ae7 | 407 | VRCM | MIT License |
app/src/main/java/pl/better/foodzilla/data/models/Recipes.kt | kambed | 612,140,416 | false | null | package pl.better.foodzilla.data.models
import android.os.Parcelable
import kotlinx.parcelize.Parcelize
import pl.better.foodzilla.data.models.recipe.Recipe
@Parcelize
data class Recipes(val recipes: List<Recipe>) : Parcelable | 1 | Kotlin | 0 | 3 | 94a8993b3aefc6271cea6ffd95546cb8c02802f4 | 228 | FoodzillaFrontendAndroid | Apache License 2.0 |
basick/src/main/java/com/mozhimen/basick/utilk/android/text/UtilKSpannableString.kt | mozhimen | 353,952,154 | false | null | package com.mozhimen.kotlin.utilk.android.text
import android.text.SpannableString
import android.text.Spanned
import androidx.annotation.ColorInt
/**
* @ClassName UtilKSpannableString
* @Description TODO
* @Author Mozhimen & <NAME>
* @Date 2024/1/12
* @Version 1.0
*/
object UtilKSpannableString {
@JvmStati... | 1 | null | 14 | 118 | 369194ccd4d9f75c7c8c01aab94916ea1012ef8f | 666 | SwiftKit | Apache License 2.0 |
Particle-Editor-Basic/src/jvmMain/kotlin/daylightnebula/particle/editor/filetree/FileTreeRender.kt | DaylightNebula | 602,249,744 | false | null | package daylightnebula.particle.editor.filetree
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.setValue
import daylightnebula.particle.editor.BasicColors
import daylightnebula.particle.editor.pages.FileView
import daylightnebula.particle.editor.p... | 0 | Kotlin | 0 | 0 | 9248f88f2f8c1d739cea30d81e46e11983f7fe7d | 3,003 | ParticleEditor | MIT License |
tools/plugins/network/src/main/kotlin/net/corda/cli/plugins/network/GetRegistrations.kt | corda | 346,070,752 | false | {"Kotlin": 20585393, "Java": 308202, "Smarty": 115357, "Shell": 54409, "Groovy": 30246, "PowerShell": 6470, "TypeScript": 5826, "Solidity": 2024, "Batchfile": 244} | package net.corda.cli.plugins.network
import net.corda.cli.plugins.common.RestCommand
import net.corda.cli.plugins.network.output.ConsoleOutput
import net.corda.cli.plugins.network.output.Output
import net.corda.cli.plugins.network.utils.HoldingIdentityUtils.getHoldingIdentity
import net.corda.cli.plugins.network.util... | 27 | Kotlin | 27 | 69 | 0766222eb6284c01ba321633e12b70f1a93ca04e | 3,439 | corda-runtime-os | Apache License 2.0 |
serialization/mapper/src/commonMain/kotlin/MapperSerializer.kt | InsanusMokrassar | 295,712,640 | false | {"Kotlin": 989269, "Python": 2464, "Shell": 1071} | package dev.inmo.micro_utils.serialization.mapper
import kotlinx.serialization.KSerializer
import kotlinx.serialization.descriptors.SerialDescriptor
import kotlinx.serialization.encoding.Decoder
import kotlinx.serialization.encoding.Encoder
/**
* Use this serializer when you have serializable type [I] and want to ma... | 9 | Kotlin | 2 | 27 | 72cd3dd8a13665447990aa0eed8154f959826d18 | 1,103 | MicroUtils | Apache License 2.0 |
photopicker/src/main/java/lv/chi/photopicker/PickerConfiguration.kt | zhombie | 313,384,710 | true | {"Kotlin": 51250} | package lv.chi.photopicker
import lv.chi.photopicker.loader.ImageLoader
internal object PickerConfiguration {
private var imageLoader: ImageLoader? = null
private var authority: String? = null
fun setUp(imageLoader: ImageLoader, authority: String?) {
this.imageLoader = imageLoader
this.a... | 0 | Kotlin | 0 | 0 | 9021600dd6b7219dd5afe2acfb41de9a5da10796 | 670 | ChiliPhotoPicker | Apache License 2.0 |
core/src/test/java/com/diegobezerra/core/cinemais/data/cinemas/location/CinemaisLocationConverterTest.kt | dsbezerra | 212,875,134 | false | null | package com.diegobezerra.core.cinemais.data.cinemas.location
import com.diegobezerra.core.cinemais.data.TestUtil
import okhttp3.ResponseBody
import org.junit.Assert.assertNotNull
import org.junit.Test
class CinemaisLocationConverterTest {
@Test
fun parsesHtml() {
val response = ResponseBody.create(nu... | 1 | null | 1 | 1 | 93747bb7148cd46b76e9255f517405db1ae75fdd | 470 | cinemais-android | Apache License 2.0 |
app/src/main/java/top/chilfish/chillchat/ui/message/MessageViewModel.kt | Chilfish | 638,930,009 | false | null | package top.chilfish.chillchat.ui.message
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import dagger.hilt.android.lifecycle.HiltViewModel
import kotlinx.coroutines.CoroutineDispatcher
import kotlinx.coroutines.flow.MutableStateFlow
import kotlinx.coroutines.flow.StateFlow
import kotlinx... | 0 | Kotlin | 1 | 4 | 455d6f8a8877bacf82ecdd751e19e0460d98d8a2 | 1,872 | Chill-Chat | MIT License |
theodolite/src/main/kotlin/rocks/theodolite/kubernetes/model/crd/ExecutionCRD.kt | cau-se | 265,538,393 | false | null | package rocks.theodolite.kubernetes.model.crd
import com.fasterxml.jackson.databind.annotation.JsonDeserialize
import io.fabric8.kubernetes.api.model.Namespaced
import io.fabric8.kubernetes.client.CustomResource
import io.fabric8.kubernetes.model.annotation.Group
import io.fabric8.kubernetes.model.annotation.Kind
impo... | 2 | null | 8 | 43 | 7f25b867314e05306bbe9205533a483a58486b11 | 788 | theodolite | Apache License 2.0 |
kafka/kafka-symbol-processor/src/main/kotlin/ru/tinkoff/kora/kafka/symbol/processor/consumer/KafkaListenerSymbolProcessorProvider.kt | kora-projects | 743,624,836 | false | null | package ru.tinkoff.kora.kafka.symbol.processor.consumer
import com.google.devtools.ksp.processing.SymbolProcessor
import com.google.devtools.ksp.processing.SymbolProcessorEnvironment
import com.google.devtools.ksp.processing.SymbolProcessorProvider
class KafkaListenerSymbolProcessorProvider : SymbolProcessorProvider ... | 8 | null | 9 | 63 | bb7d906d3af0ae6f8c68f87327f010b66110f34f | 471 | kora | Apache License 2.0 |
realm/realm-library/src/androidTestObjectServer/kotlin/io/realm/transport/OsJavaNetworkTransportTests.kt | realm | 4,084,908 | false | null | /*
* Copyright 2020 Realm Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... | 400 | null | 1747 | 11,450 | e564a45fbeabb4710ac5fcd231c107642dd4aa83 | 15,084 | realm-java | Apache License 2.0 |
appactions/interaction/interaction-capabilities-core/src/main/java/androidx/appactions/interaction/capabilities/core/EntitySearchResult.kt | androidx | 256,589,781 | false | {"Kotlin": 102962181, "Java": 64545272, "C++": 9133578, "AIDL": 614395, "Python": 310931, "Shell": 188067, "TypeScript": 40586, "HTML": 35176, "Groovy": 27482, "ANTLR": 26700, "Svelte": 20307, "CMake": 18011, "C": 16982, "GLSL": 3842, "Swift": 3153, "JavaScript": 3019} | /*
* Copyright 2023 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... | 24 | Kotlin | 930 | 5,073 | 559b440b4b57a373b305bfc0fe0f284a9f68a1c1 | 2,150 | androidx | Apache License 2.0 |
rounded/src/commonMain/kotlin/me/localx/icons/rounded/outline/ClosedCaptioningSlash.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.rounded.outline
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 5,537 | icons | MIT License |
afterpay/src/main/kotlin/com/afterpay/android/internal/ConfigurationObservable.kt | afterpay | 279,474,371 | false | null | package com.afterpay.android.internal
import java.util.Observable
internal object ConfigurationObservable : Observable() {
fun configurationChanged(configuration: Configuration?) {
setChanged()
notifyObservers(configuration)
clearChanged()
}
}
| 0 | Kotlin | 4 | 8 | fc2e10abc31eb35c36adda6ffd0e5affdafc8756 | 278 | sdk-android | Apache License 2.0 |
inference/inference-core/src/commonMain/kotlin/io/kinference.core/operators/activations/Tanh.kt | JetBrains-Research | 244,400,016 | false | null | package io.kinference.core.operators.activations
import io.kinference.attribute.Attribute
import io.kinference.core.KIONNXData
import io.kinference.operator.*
import io.kinference.core.operators.math.tanh
import io.kinference.graph.Contexts
import io.kinference.ndarray.arrays.*
import io.kinference.primitives.types.Da... | 4 | null | 5 | 95 | e47129b6f1e2a60bf12404d8126701ce7ef4db3a | 2,311 | kinference | Apache License 2.0 |
app/src/main/java/com/zhudong/tianyuekotlin/utils/Utils.kt | ZDfordream | 150,937,964 | false | {"Gradle": 4, "Ignore List": 2, "Markdown": 1, "Java Properties": 1, "Proguard": 1, "Kotlin": 78, "XML": 89, "Java": 14, "HTML": 2, "CSS": 1, "JavaScript": 2, "JSON": 3} | package com.zhudong.tianyuekotlin.utils
import android.annotation.SuppressLint
import android.content.Context
import android.net.ConnectivityManager
import android.support.v4.app.FragmentActivity
import android.widget.Toast
import io.reactivex.Observable
import io.reactivex.android.schedulers.AndroidSchedulers
import ... | 0 | Kotlin | 0 | 2 | c6172e94d32e534ba374c4dcbbb8338ecc694e58 | 3,697 | TianYueKotlin | Apache License 2.0 |
src/main/java/net/ccbluex/liquidbounce/features/module/modules/movement/longjumps/aac/AACv2Longjump.kt | Rmejia39 | 733,988,804 | false | {"Kotlin": 2304965, "Java": 1271227, "GLSL": 13515, "JavaScript": 8926} | package net.ccbluex.liquidbounce.features.module.modules.movement.longjumps.aac
import net.ccbluex.liquidbounce.event.UpdateEvent
import net.ccbluex.liquidbounce.features.module.modules.movement.longjumps.LongJumpMode
import net.ccbluex.liquidbounce.utils.MovementUtils
class AACv2Longjump : LongJumpMode("AACv2") {
... | 3 | Kotlin | 0 | 0 | b48c4e83c888568111a6665037db7fd3f7813ed3 | 711 | FDPClient | MIT License |
src/main/kotlin/one/devos/osuv2kt/models/beatmap/BeatmapsetAvailability.kt | devOS-Sanity-Edition | 856,181,413 | false | {"Kotlin": 49164} | package one.devos.osuv2kt.models.beatmap
public data class BeatmapsetAvailability(
public val downloadDisabled: Boolean,
public val moreInformation: String?
)
| 0 | Kotlin | 0 | 0 | ebefb4d6ad7003c46c4e482d8229af8df6552b81 | 168 | osuv2kt | MIT License |
shared/src/commonMain/kotlin/com.yunext.twins/ui/theme/Shape.kt | LaputaZeej | 665,861,090 | false | null | package com.yunext.twins.ui.theme
import androidx.compose.foundation.BorderStroke
import androidx.compose.foundation.border
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.ui.Modifier
import androidx.compose.ui.unit.dp
import com.yunext.twins.ui.compoents.China
val ItemShape = Roun... | 0 | Kotlin | 0 | 0 | 9d6daea9fa00a172dca17a317854da8ea12b46ea | 1,803 | XComposer | Apache License 2.0 |
app/src/main/java/com/soussidev/kotlin/login_with_kotlin/models/User.kt | datalink747 | 95,580,225 | false | null | package com.soussidev.kotlin.login_with_kotlin.models
/**
* Created by Soussi on 27/06/2017.
*/
data class User(var name: String?=null,var email: String?=null,val unique_id: String?=null,
private var password: String?=null,private var old_password: String?=null,private var new_password: String?=null) {
fu... | 0 | Kotlin | 2 | 3 | 7a6c6948d87fc7deb682e38e4eb81e719c1408e6 | 586 | Login_with_kotlin | Apache License 2.0 |
src/test/kotlin/aoc2017/MemoryReallocationTest.kt | komu | 113,825,414 | false | null | package komu.adventofcode.aoc2017
import org.junit.jupiter.api.Test
import kotlin.test.assertEquals
class MemoryReallocationTest {
@Test
fun `example data`() {
assertEquals(5, memoryReallocation(listOf(0, 2, 7, 0)).first)
}
@Test
fun `real data`() {
assertEquals(4074, memoryReall... | 0 | Kotlin | 0 | 0 | cc54c8b5367bfecc06ec4ec3413556a3afad8ecb | 552 | advent-of-code | MIT License |
src/src/main/java/com/online/course/manager/listener/ListCallback.kt | dimske-sys | 631,084,721 | false | null | package com.online.course.manager.listener
interface ListCallback<T> {
fun onMapReceived(items: List<T>)
} | 0 | Kotlin | 0 | 0 | fcec541f3d95355d7dd0d559ffedb150727325b4 | 111 | eduwise | Apache License 2.0 |
code/app/src/main/java/com/tanfra/shopmob/smob/data/net/api/SmobGroupApiImpl.kt | fwornle | 440,434,944 | false | null | package com.tanfra.shopmob.smob.data.net.api
import com.tanfra.shopmob.BuildConfig
import com.tanfra.shopmob.Constants
import com.tanfra.shopmob.smob.data.net.nto.SmobGroupNTO
import io.ktor.client.HttpClient
import io.ktor.client.request.setBody
import io.ktor.http.ContentType
import io.ktor.http.contentType
class ... | 0 | Kotlin | 0 | 0 | e202df0b49a3a499cedf2b36df5c887dda828c0f | 1,540 | ShopMob | MIT License |
src/main/kotlin/therealfarfetchd/powerline/client/gui/GuiElementsHelper.kt | Darkstrumn | 131,374,601 | true | {"Kotlin": 369119, "Assembly": 52301, "Shell": 2306, "GLSL": 1113} | package therealfarfetchd.powerline.client.gui
import net.minecraft.client.gui.Gui
import net.minecraft.util.ResourceLocation
import therealfarfetchd.powerline.ModID
import therealfarfetchd.quacklib.client.gui.bindTexture
import therealfarfetchd.quacklib.client.gui.getScaled
val texture = ResourceLocation(ModID, "text... | 0 | Kotlin | 0 | 0 | 9c5f4d614eb7af91dec06400a658b0c6eb9fb656 | 2,210 | HCTM | MIT License |
app/src/main/java/com/battlelancer/seriesguide/ui/comments/TraktCommentsActivity.kt | NYStud | 287,155,464 | true | {"Java": 1789461, "Kotlin": 743509, "CSS": 12345} | package com.battlelancer.seriesguide.ui.comments
import android.os.Bundle
import android.view.MenuItem
import com.battlelancer.seriesguide.R
import com.battlelancer.seriesguide.ui.BaseActivity
import timber.log.Timber
/**
* Hosts a [TraktCommentsFragment].
*/
class TraktCommentsActivity : BaseActivity() {
over... | 0 | null | 0 | 1 | 61679ed1f755cecc021ba684f6b63dafc149161e | 2,836 | SeriesGuide | The Unlicense |
annotation-processor/src/main/kotlin/io/github/coolcoder0004/coolcommands/ElementExtensions.kt | coolcoder0004 | 572,418,082 | false | null | /*
* Copyright 2022 CoolCoder4
*
* 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 ... | 0 | Kotlin | 0 | 0 | ab9adc04b84150400302860babf26a1234a4d7c1 | 1,115 | cool-commands | Apache License 2.0 |
kotlin-multiplatform/src/commonTest/kotlin/com/ricoh360/thetaclient/repository/options/ShootingMethodTest.kt | ricohapi | 592,574,011 | false | null | package com.ricoh360.thetaclient.repository.options
import com.goncalossilva.resources.Resource
import com.ricoh360.thetaclient.CheckRequest
import com.ricoh360.thetaclient.MockApiClient
import com.ricoh360.thetaclient.ThetaRepository
import com.ricoh360.thetaclient.transferred.ShootingMethod
import com.ricoh360.theta... | 4 | null | 9 | 9 | bc2ba2109056aeaececfc19a2f09634a6c9c8d4f | 4,261 | theta-client | MIT License |
app/src/main/java/com/github/sms/data/models/local/SmsHeader.kt | gauravk95 | 186,275,001 | false | null | /*
Copyright 2019 <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 writin... | 0 | Kotlin | 1 | 2 | bd075a413dd545ee273b48cfc07e5c0a9ff269d8 | 826 | sms-notify | Apache License 2.0 |
samples/starter-mobile-app/src/main/kotlin/researchstack/domain/repository/healthConnect/HealthConnectDataSyncRepository.kt | S-ResearchStack | 520,365,275 | false | {"Kotlin": 178868, "AIDL": 4785} | package researchstack.domain.repository.healthConnect
interface HealthConnectDataSyncRepository {
suspend fun syncHealthData()
}
| 5 | Kotlin | 20 | 26 | e31e8055f96fa226745750b5a653e341cf5f2e6c | 134 | app-sdk | Apache License 2.0 |
files/src/main/java/com/afollestad/materialdialogs/files/util/FilesUtilExt.kt | afollestad | 26,102,180 | false | null | /**
* Designed and developed by Aidan Follestad (@afollestad)
*
* 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 b... | 111 | null | 3158 | 19,598 | 709cfee9b45257af7ab4c428e4850bee38a075e7 | 2,984 | material-dialogs | Apache License 2.0 |
plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/member/funOnUserTypeWithTypeParams.kt | JetBrains | 2,489,216 | false | null | // "Create member function 'A.foo'" "true"
// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFix
// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.k2.codeinsight.quickFixes.createFromUsage.CreateKotlinCallableAction
// TODO: getExpectedType in K2 generates t... | 284 | null | 5162 | 16,707 | def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0 | 458 | intellij-community | Apache License 2.0 |
analysis/low-level-api-fir/testdata/fileStructure/memberTypeAlias.kt | JetBrains | 3,432,266 | false | null | class A {/* NonReanalyzableClassDeclarationStructureElement */
typealias X = Int/* NonReanalyzableNonClassDeclarationStructureElement */
}
| 155 | null | 5608 | 45,423 | 2db8f31966862388df4eba2702b2f92487e1d401 | 143 | kotlin | Apache License 2.0 |
spring-kafka-docs/src/main/kotlin/org/springframework/kafka/kdocs/started/noboot/Config.kt | spring-projects | 52,980,493 | false | {"Java": 3952691, "Kotlin": 38023, "HTML": 773} | /*
* Copyright 2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | 50 | Java | 1557 | 2,174 | 6f4adb2146a7d27416fdb7810bd0771eeb1022b1 | 2,894 | spring-kafka | Apache License 2.0 |
app/src/main/java/com/moka/framework/extenstion/ViewExt.kt | moka-a | 70,499,969 | false | null | package com.moka.framework.extenstion
import android.app.Activity
import android.content.Context
import android.support.v4.content.ContextCompat
import android.support.v7.widget.GridLayoutManager
import android.support.v7.widget.LinearLayoutManager
import android.support.v7.widget.RecyclerView
import android.support.v... | 1 | null | 1 | 15 | b625a2f77826bd10d464fe0292ee545378c039bd | 3,245 | moka-sample-android | The Unlicense |
core/src/jvmMain/kotlin/ai/hypergraph/kotlingrad/api/KotlinJupyter.kt | breandan | 153,732,715 | false | null | package edu.umontreal.kotlingrad.api
import org.jetbrains.kotlinx.jupyter.api.annotations.JupyterLibrary
import org.jetbrains.kotlinx.jupyter.api.*
import org.jetbrains.kotlinx.jupyter.api.libraries.*
@JupyterLibrary
class Integration: JupyterIntegration() {
override fun Builder.onLoaded() {
listOf(
"edu.... | 10 | null | 20 | 438 | 835d587529da3faa9fd65c4939b9d65aaf2dce30 | 821 | kotlingrad | Apache License 2.0 |
web/Unused/reactstrap/Row.kt | Foso | 129,130,317 | false | {"Markdown": 12, "Gradle": 13, "INI": 3, "YAML": 7, "Java Properties": 3, "Proguard": 2, "Shell": 3, "Text": 6, "Ignore List": 5, "Batchfile": 3, "Git Attributes": 1, "Kotlin": 329, "XML": 156, "Java": 2, "CSS": 18, "HTML": 17, "JavaScript": 27, "JSON": 3, "Gradle Kotlin DSL": 1, "JAR Manifest": 1, "OASv2-yaml": 3, "Pl... | package components.reactstrap
import react.RClass
import react.RProps
var Row: RClass<RowProps> = ReactStrapImport.Row
external interface RowProps : RProps
| 1 | Kotlin | 4 | 36 | 069989f8c92924b7db3b7744fe54f73e2e138463 | 160 | Sheasy | Apache License 2.0 |
VolleySampleApp/app/src/main/java/com/lazypotato/volleysampleapp/data/network/user/get/UserInfoResponseListener.kt | eishon | 346,190,149 | false | {"Text": 1, "Ignore List": 41, "Markdown": 6, "Gradle": 44, "Java Properties": 28, "Shell": 14, "Batchfile": 14, "Proguard": 14, "Kotlin": 267, "XML": 301, "YAML": 2, "Java": 12, "C++": 2, "CMake": 2, "HTML": 1} | package com.lazypotato.volleysampleapp.data.network.user.get
import com.lazypotato.volleysampleapp.base.api.ProgressListener
import com.lazypotato.volleysampleapp.data.network.user.model.User
interface UserInfoResponseListener: ProgressListener {
fun onUserInfoResponse(user: User?, responseCode: Int)
} | 1 | null | 1 | 1 | 5bb1c98644ee46c9ce108c9e8af7f3b4ba55fdcf | 309 | Android-Samples | MIT License |
soapui-plugin/src/test/kotlin/eu/k5/soapui/plugin/imex/difference/DiffViewStarter.kt | denninger-eu | 244,302,123 | false | null | /*
package eu.k5.soapui.plugin.imex.difference
import eu.k5.soapui.plugin.imex.DiffView
import eu.k5.soapui.plugin.imex.ImexController
import eu.k5.soapui.plugin.imex.ImexModel
import eu.k5.soapui.plugin.imex.loadProject
import eu.k5.soapui.streams.Suu
import eu.k5.soapui.streams.direct.model.ProjectDirect
import java... | 5 | Kotlin | 0 | 0 | 665e54e4ac65d6c7e9805bb1b44f30f9ec702ce3 | 1,278 | soapui-utils | Apache License 2.0 |
app/src/main/java/com/mars/aihuishou/flutter/mvp/view/HomeView.kt | interestinghua | 146,387,432 | false | null | package com.mars.aihuishou.flutter.mvp.view
import com.mars.aihuishou.flutter.base.IView
interface HomeView : IView {
fun getDataSuccess(movieJson: String)
fun getDataFail(failMsg: String)
} | 1 | null | 1 | 1 | 38d9eae6d3636b7362070244bde8e717eca95648 | 202 | MyFlutter | MIT License |
detox/android/detox/src/full/java/com/wix/detox/reactnative/ui/UIExtensions.kt | wix | 61,204,547 | false | {"JavaScript": 1988666, "Kotlin": 300402, "Objective-C": 255400, "Java": 197684, "MDX": 160923, "Swift": 158413, "TypeScript": 35231, "Shell": 21173, "SCSS": 19499, "Objective-C++": 7022, "Ruby": 4001, "Starlark": 1666, "C": 980, "CSS": 358} | package com.wix.detox.reactnative.ui
import android.view.View
import android.widget.TextView
import com.wix.detox.common.traverseViewHierarchy
import com.wix.detox.reactnative.utils.isReactNativeObject
fun View.getAccessibilityLabel(
isReactNativeObjectFn: (Any) -> Boolean = { isReactNativeObject(it) }
): CharSeq... | 296 | JavaScript | 1917 | 11,201 | dd2ee8ea3ff52c1184cbb9fbe159adf85ba87a09 | 1,142 | Detox | MIT License |
app/src/main/java/com/shentu/paper/MainActivity.kt | walkthehorizon | 133,635,969 | false | null | package com.shentu.paper
import android.animation.Animator
import android.animation.AnimatorListenerAdapter
import android.graphics.Color
import android.os.Bundle
import android.text.TextPaint
import android.text.method.LinkMovementMethod
import android.text.style.ClickableSpan
import android.view.MenuItem
import andr... | 1 | Kotlin | 1 | 3 | 47828dbae0e04331c46bee6773efbec331f3f167 | 7,903 | MicroWallPager | Apache License 2.0 |
app/src/main/java/com/utradia/catalogueappv2/module/filter/module/brand/Brand_Adapter.kt | Sunfocus | 164,079,839 | false | {"Gradle": 7, "Java Properties": 3, "Text": 1, "Shell": 1, "Ignore List": 6, "Batchfile": 1, "Git Attributes": 1, "Markdown": 1, "JSON": 3, "Proguard": 5, "XML": 265, "Java": 103, "Kotlin": 254} | package com.utradia.catalogueappv2.module.filter.module.brand
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.CheckBox
import android.widget.Filter
import android.widget.Filterable
import android.widget.TextView
import androidx.recyclerview.widget.Recycl... | 0 | Kotlin | 0 | 1 | 684f0a2621ef7b906c8b19d6b003a704d6edca1c | 4,373 | Utradia-Catlog- | Apache License 2.0 |
library/src/main/java/com/pengrad/telegrambot/model/request/ChatAction.kt | pengrad | 40,182,023 | false | {"Markdown": 2, "Gradle": 6, "Maven POM": 1, "INI": 3, "Shell": 1, "Text": 2, "Ignore List": 1, "Batchfile": 1, "YAML": 4, "Java": 419, "Kotlin": 15} | package com.pengrad.telegrambot.model.request
/**
* stas
* 10/21/15.
*/
@Suppress("EnumEntryName")
enum class ChatAction {
typing,
upload_photo,
record_video,
upload_video,
record_voice,
upload_voice,
upload_document,
choose_sticker,
find_location,
record_video_note,
uplo... | 12 | Java | 362 | 1,713 | 02cf0e82be5b42dcab8c12ce362d8a48456d23e4 | 336 | java-telegram-bot-api | Apache License 2.0 |
vector/src/main/java/vmodev/clearkeep/viewmodels/interfaces/AbstractRoomSettingsFragmentViewModel.kt | telred-llc | 194,596,139 | false | null | package vmodev.clearkeep.viewmodels.interfaces
import androidx.lifecycle.LiveData
import androidx.lifecycle.ViewModel
import io.reactivex.Completable
import io.reactivex.Observable
import vmodev.clearkeep.viewmodelobjects.Resource
import vmodev.clearkeep.viewmodelobjects.Room
import vmodev.clearkeep.viewmodelobjects.U... | 5 | null | 1 | 3 | 2d20e94e9711b51aee89fa569efd61449cc7e9c3 | 982 | clearkeep-android | Apache License 2.0 |
producer/src/test/kotlin/streams/integrations/KafkaEventRouterWithConstraintsTSE.kt | neo4j-contrib | 125,791,389 | false | null | package streams.integrations
import org.junit.Before
import org.junit.Test
import streams.events.Constraint
import streams.events.EntityType
import streams.events.NodePayload
import streams.events.OperationType
import streams.events.RelationshipPayload
import streams.events.StreamsConstraintType
import streams.extensi... | 105 | Kotlin | 60 | 149 | 6bfff36e717a1c869f632a48684e15df1c992e08 | 4,893 | neo4j-streams | Apache License 2.0 |
bttf-impl/src/main/kotlin/local/intranet/bttf/api/info/AttemptInfo.kt | lhsradek | 591,626,479 | false | null | package local.intranet.bttf.api.info
import java.time.ZonedDateTime
import javax.validation.constraints.Size
import com.fasterxml.jackson.annotation.JsonFormat
import com.fasterxml.jackson.annotation.JsonInclude
import com.fasterxml.jackson.annotation.JsonPropertyOrder
import com.fasterxml.jackson.annotation.JsonPrope... | 0 | Kotlin | 0 | 2 | 1298e5bb606ce6831259fb4e92fd76060f468401 | 988 | bttf | MIT License |
plugin-dotnet-agent/src/main/kotlin/jetbrains/buildServer/agent/runner/WorkflowContext.kt | JetBrains | 49,584,664 | false | {"Kotlin": 2656686, "C#": 321556, "Java": 101027, "Dockerfile": 831, "CSS": 726} | /*
* Copyright 2000-2023 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | 3 | Kotlin | 25 | 91 | 659b7fee10c45c3bac0a384c9a48a94237537da9 | 1,379 | teamcity-dotnet-plugin | Apache License 2.0 |
dsl/src/main/kotlin/cloudshift/awscdk/dsl/services/pipes/CfnPipeBatchResourceRequirementPropertyDsl.kt | cloudshiftinc | 667,063,030 | false | null | @file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION")
package cloudshift.awscdk.dsl.services.pipes
import cloudshift.awscdk.common.CdkDslMarker
import kotlin.String
import software.amazon.awscdk.s... | 1 | Kotlin | 0 | 0 | 17c41bdaffb2e10d31b32eb2282b73dd18be09fa | 6,791 | awscdk-dsl-kotlin | Apache License 2.0 |
app/src/main/java/com/project/pantrytracker/ui/ListScreen.kt | eliorodr2104 | 783,777,201 | false | {"Kotlin": 95106} | package com.project.pantrytracker.ui
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.PaddingValues
import androidx.compose.foundation.layout.Row
import androidx.compose.foundati... | 0 | Kotlin | 0 | 0 | 67c96c9a20e67bc214eacc93c62be68088092f76 | 4,231 | Pantry_Tracker | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.