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/test/kotlin/io/thelandscape/KrawlerTest.kt | brianmadden | 71,804,596 | false | null | package io.thelandscape
/**
* Created by <EMAIL> on 12/4/16.
*
* Copyright (c) <2016> <H, llc>
* 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 limit... | 6 | null | 17 | 128 | d58e901e427a52874c164111db6c4013e71ffec3 | 5,590 | krawler | MIT License |
glib-core/src/main/java/com/glib/core/ui/panel/GSplitPanel.kt | hgani | 223,511,724 | false | {"Kotlin": 291289, "Java": 35413} | package com.glib.core.ui.panel
import android.content.Context
import android.util.AttributeSet
import android.view.View
import android.view.ViewGroup
import com.glib.core.ui.layout.GRelativeLayout
import com.glib.core.ui.view.IView
import com.glib.core.ui.view.ViewHelper
open class GSplitPanel: GRelativeLayout<GSplit... | 0 | Kotlin | 0 | 0 | 9a7c56236d664f2b518310d12e5b0839382c2920 | 1,474 | glib-android | Apache License 2.0 |
plugin/src/main/kotlin/dev/rigel/gradle/tink/tasks/string/StringOperationTask.kt | teyckmans | 316,319,376 | false | null | package dev.rigel.gradle.tink.tasks.string
import dev.rigel.gradle.tink.core.KeysetSupport
import dev.rigel.gradle.tink.core.TinkKeysetInfo
import dev.rigel.gradle.tink.tasks.OperationTask
import org.gradle.api.tasks.Input
import org.gradle.api.tasks.options.Option
import java.io.Console
abstract class StringOperatio... | 0 | Kotlin | 0 | 1 | ebb3d06212ae8e08b7f518354c780256a8db9f9a | 1,511 | gradle-tink | Apache License 2.0 |
cli/src/main/java/com/codyi/xml2axml/Main.kt | EmergeTools | 473,472,789 | false | {"Gradle Kotlin DSL": 4, "Shell": 1, "Markdown": 3, "Batchfile": 1, "INI": 3, "Kotlin": 12, "Java": 27} | package com.codyi.xml2axml
import com.emerge.xml2axml.parser.decode.decode
import com.emerge.xml2axml.parser.encode.EncodingType
import com.emerge.xml2axml.parser.encode.encode
import com.github.ajalt.clikt.core.CliktCommand
import com.github.ajalt.clikt.core.subcommands
import com.github.ajalt.clikt.parameters.argume... | 1 | null | 1 | 1 | b743724c585ebeabcc06aa3695dcefa1d5a23e8e | 1,991 | xml2axml | MIT License |
api/src/main/java/org/avmedia/gshockapi/io/DstWatchStateIO.kt | izivkov | 600,933,345 | false | null | package org.avmedia.gshockapi.io
import kotlinx.coroutines.CompletableDeferred
import org.json.JSONObject
object DstWatchStateIO {
suspend fun request(state: CasioIO.DTS_STATE): String {
return CachedIO.request("1d0${state.state}", ::getDSTWatchState) as String
}
private suspend fun getDSTWatchS... | 0 | Kotlin | 0 | 4 | e7a15699dd9be58683a7603697875daebfcc4c7a | 1,135 | GShockAPI | MIT License |
src/main/kotlin/ru/scisolutions/scicmscore/engine/mapper/DatasetInputMapper.kt | borisblack | 737,700,232 | false | null | package ru.scisolutions.scicmscore.engine.mapper
import ru.scisolutions.scicmscore.engine.model.AggregateType
import ru.scisolutions.scicmscore.engine.model.input.DatasetFieldInput
import ru.scisolutions.scicmscore.engine.model.input.DatasetInput
import ru.scisolutions.scicmscore.engine.model.input.PaginationInput
cl... | 0 | null | 0 | 4 | 586b6bbe338cc3ea678b1116f9d095a276d20d99 | 2,299 | scicms-core | Apache License 2.0 |
src/main/kotlin/no/nav/syfo/util/Toggle.kt | navikt | 162,450,971 | false | null | package no.nav.syfo.util
import org.springframework.beans.factory.annotation.Value
import org.springframework.stereotype.Component
@Component
class Toggle(
@Value("\${toggle.enable.batch.paaminnelse:true}") private val toggleBatchPaaminelse: Boolean
) {
fun toggleBatchPaaminelse(): Boolean {
return to... | 0 | Kotlin | 0 | 0 | 3254124021b01817f8a662e24589da3f2ac1af62 | 348 | syfomoteadmin | MIT License |
kotlin-mui-icons/src/main/generated/mui/icons/material/Opacity.kt | JetBrains | 93,250,841 | false | null | // Automatically generated - do not modify!
@file:JsModule("@mui/icons-material/Opacity")
@file:JsNonModule
package mui.icons.material
@JsName("default")
external val Opacity: SvgIconComponent
| 10 | null | 5 | 983 | 7ef1028ba3e0982dc93edcdfa6ee1edb334ddf35 | 196 | kotlin-wrappers | Apache License 2.0 |
src/main/kotlin/eu/mgmeiner/lottozahlenapi/draw/LottoDrawModel.kt | mgmeiner | 136,958,496 | false | {"Kotlin": 20624, "Java": 1644} | package eu.mgmeiner.lottozahlenapi.draw
import eu.mgmeiner.lottozahlenapi.game.LottoGame
import eu.mgmeiner.lottozahlenapi.game.LottoGameType
import java.time.LocalDate
data class LottoDrawModel(
val date: LocalDate,
val games: Map<LottoGameType, LottoGame>
) | 0 | Kotlin | 0 | 0 | ba2e0d325c93228648f7cd8e6b7c3e4924131d6d | 277 | lottozahlen-api | MIT License |
kotlin-mui-icons/src/main/generated/mui/icons/material/QueueOutlined.kt | JetBrains | 93,250,841 | false | null | // Automatically generated - do not modify!
@file:JsModule("@mui/icons-material/QueueOutlined")
@file:JsNonModule
package mui.icons.material
@JsName("default")
external val QueueOutlined: SvgIconComponent
| 10 | Kotlin | 145 | 983 | 7ef1028ba3e0982dc93edcdfa6ee1edb334ddf35 | 208 | kotlin-wrappers | Apache License 2.0 |
androidx-app/src/test/java/com/ayvytr/coroutines/c1.kt | Ayvytr | 193,484,016 | false | null | package com.ayvytr.flowapp
import kotlinx.coroutines.GlobalScope
import kotlinx.coroutines.delay
import kotlinx.coroutines.launch
import kotlinx.coroutines.runBlocking
/**
* @author admin
*/
fun main() {
println("Start")
GlobalScope.launch {
delay(1000)
println("hello")
}
// Thread.s... | 1 | null | 3 | 7 | 6bc985684f828ca5cf76d49d3820bc627f7d28bb | 399 | Mvvm | Apache License 2.0 |
src/test/kotlin/com/ecwid/apiclient/v3/rule/nullablepropertyrules/OrdersSearchRequestRules.kt | Ecwid | 160,232,759 | false | {"Kotlin": 1019261} | package com.ecwid.apiclient.v3.rule.nullablepropertyrules
import com.ecwid.apiclient.v3.dto.order.request.OrdersSearchRequest
import com.ecwid.apiclient.v3.rule.NullablePropertyRule
import com.ecwid.apiclient.v3.rule.NullablePropertyRule.AllowNullable
val ordersSearchRequestRequestNullablePropertyRules: List<Nullable... | 9 | Kotlin | 13 | 17 | 2f94bfea3ad2073b89b8ea2b38dacdaa5f443a47 | 1,452 | ecwid-java-api-client | Apache License 2.0 |
app/src/main/java/org/fossasia/openevent/general/event/EventDetailsViewModel.kt | Kapil706 | 162,965,477 | false | null | package org.fossasia.openevent.general.event
import android.arch.lifecycle.MutableLiveData
import android.arch.lifecycle.ViewModel
import io.reactivex.android.schedulers.AndroidSchedulers
import io.reactivex.disposables.CompositeDisposable
import io.reactivex.schedulers.Schedulers
import timber.log.Timber
class Even... | 0 | null | 0 | 1 | e3bf6da900f3715759cd5a4d172ed198a4dd207d | 2,453 | open-event-android | Apache License 2.0 |
src/main/kotlin/br/com/zup/edu/keymanager/NovaChavePixRequest.kt | matheuscosantos | 346,376,129 | true | {"Kotlin": 12641, "Smarty": 2032, "Dockerfile": 166} | package br.com.edu.controller.cadastra
import br.com.edu.RegistraChavePixRequest
import br.com.edu.TipoDeChave
import br.com.edu.TipoDeConta
import br.com.edu.vadidate.ValidPixKey
import io.micronaut.core.annotation.Introspected
import io.micronaut.validation.validator.constraints.EmailValidator
import java.util.*
imp... | 0 | Kotlin | 0 | 0 | fc9318a73baeb1beb8c532ec97658a346dd17719 | 2,612 | orange-talents-01-template-pix-keymanager-rest | Apache License 2.0 |
ses-plugin-server/src/main/kotlin/jetbrains/buildServer/sesPlugin/teamcity/util/AllUsersProvider.kt | JetBrains | 105,000,686 | false | null | /*
* Copyright 2000-2021 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... | 4 | Kotlin | 4 | 2 | 9336e1248fadbf4a89342452f29981b26bf328b7 | 890 | TeamCity.SESPlugin | Apache License 2.0 |
app/src/main/java/lpzmrc/test/djungle/io/ui/view/gallery/model/GalleryResult.kt | lpzmrc | 250,509,107 | false | {"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "Kotlin": 60, "XML": 36, "Java": 1} | package lpzmrc.test.djungle.io.ui.view.gallery.model
data class GalleryResult(
val data: List<GalleryView>? = null,
val error: Int? = null
)
| 1 | null | 1 | 1 | ec8529fa6e0ec7c9062527eb11ab7305f3d085e6 | 150 | test-djungle | The Unlicense |
app/src/main/java/ru/kartashovaa/idledisabler/services/WifiEnableService.kt | Zeddushka | 126,046,465 | false | null | package ru.kartashovaa.idledisabler.services
import android.app.AlarmManager
import android.app.IntentService
import android.app.PendingIntent
import android.content.Intent
import org.jetbrains.anko.alarmManager
import ru.kartashovaa.idledisabler.util.Log
import ru.kartashovaa.idledisabler.util.Text
import ru.kartasho... | 0 | Kotlin | 1 | 0 | db4105d0fc68b6c2902e4c65bd40881f7089cac6 | 5,699 | Smart-Switcher | MIT License |
app/src/main/java/com/bottlerocketstudios/brarchitecture/ui/repository/RepositoryFolderFragment.kt | BottleRocketStudios | 323,985,026 | false | null | package com.bottlerocketstudios.brarchitecture.ui.repository
import androidx.navigation.fragment.navArgs
import androidx.recyclerview.widget.LinearLayoutManager
import com.bottlerocketstudios.brarchitecture.R
import com.bottlerocketstudios.brarchitecture.data.model.RepoFile
import com.bottlerocketstudios.brarchitectur... | 1 | null | 0 | 5 | e4e02fe96ee9ecf3ac8c834db26f8c87d9a4545e | 3,049 | Android-ArchitectureDemo | Apache License 2.0 |
YRWidget/src/main/java/com/apemans/quickui/ViewExtensions.kt | xiongwen-lin | 480,680,777 | false | null | package com.apemans.quickui
import android.graphics.Bitmap
import android.graphics.Canvas
import android.view.View
import android.view.ViewGroup
import java.util.*
/**
* View 可见设置
*/
fun View.visible() {
visibility = View.VISIBLE
}
/**
* View 不可见设置
*/
fun View.gone() {
visibility = View.GONE
}
inline va... | 0 | Kotlin | 0 | 0 | 84704832a8a27e22fa5642ae092af50e2905b952 | 5,544 | SmartFastUi | Apache License 2.0 |
app/src/main/java/com/gallery/example/ui/capture/CaptureImagesBottomSheet.kt | sieunju | 536,096,662 | false | null | package com.gallery.example.ui.capture
import android.app.Dialog
import android.graphics.Bitmap
import android.net.Uri
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.ImageView.ScaleType
import androidx.appcompat.widget.AppCompatI... | 3 | Kotlin | 1 | 6 | b62dcd28dd83d5b021b0b0633cdde3734183dc7e | 3,307 | gallery | MIT License |
Aretech App/app/src/main/java/com/example/aretech/ui/activities/menu/checks/main/views/StatusCardTextView.kt | s3bu7i | 871,643,869 | false | {"Kotlin": 317569, "TypeScript": 228210, "JavaScript": 16695, "Java": 6185, "CSS": 1738, "Python": 1259} | package com.example.aretech.ui.activities.menu.checks.main.views
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import a... | 0 | Kotlin | 0 | 1 | a5c86328a4fced42e04380e448e53f9452be9b5b | 2,019 | Aretech | MIT License |
network/core/src/jvmTest/kotlin/co/accelerator/network/core/response/HttpStatusCodeTest.kt | yml-org | 504,124,065 | false | null | package co.accelerator.network.core.response
import co.yml.network.core.response.HttpStatusCode
import org.hamcrest.MatcherAssert.assertThat
import org.hamcrest.core.Is.`is`
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.assertThrows
class HttpStatusCodeTest {
@Test
fun shouldReturnHttpStatus... | 1 | Kotlin | 2 | 5 | 2b5162b3e687d81546d9c7ce7a666b3a2b6df889 | 1,190 | ynetwork-android | Apache License 2.0 |
features/info/src/main/java/de/shecken/grillshow/info/vo/InfoItemVo.kt | pynnie | 617,506,940 | false | null | package de.shecken.grillshow.info.vo
import androidx.annotation.DrawableRes
import androidx.annotation.StringRes
data class InfoItemVo(
@StringRes val titleRes: Int,
@StringRes val subtitleRes: Int? = null,
@DrawableRes val iconRes: Int
)
| 9 | Kotlin | 0 | 2 | 18a6727bb64cc3c49690d41edc7c4e46d87b37b4 | 253 | android-grillshow-app | Apache License 2.0 |
platform/lang-impl/src/com/intellij/analysis/problemsView/toolWindow/HighlightingFileRoot.kt | erihe587 | 267,289,680 | false | {"Text": 4062, "XML": 4709, "Ant Build System": 13, "Shell": 530, "Markdown": 308, "Ignore List": 80, "Git Attributes": 9, "Batchfile": 30, "SVG": 2047, "Java": 66023, "C++": 20, "HTML": 2406, "Kotlin": 5792, "DTrace": 1, "Gradle": 58, "Java Properties": 110, "INI": 276, "JFlex": 27, "CSS": 53, "Objective-C": 19, "Groo... | // Copyright 2000-2020 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 com.intellij.analysis.problemsView.toolWindow
import com.intellij.codeInsight.daemon.impl.HighlightInfo
import com.intellij.lang.annotation.HighlightSeverity.INFORMATION
... | 1 | null | 1 | 1 | d67bb26bcab6b53776d30d8ec3c0e3d514b08427 | 1,968 | intellij-community | Apache License 2.0 |
app/src/main/java/com/hexad/skodaautomotiveapp/data/api/UserApi.kt | Hexad-TechSupport | 876,616,480 | false | {"Kotlin": 54365} | package com.hexad.skodaautomotiveapp.data.api
import com.hexad.skodaautomotiveapp.data.model.LoginRequest
import com.hexad.skodaautomotiveapp.data.model.LoginResponse
import com.hexad.skodaautomotiveapp.data.model.User
import com.hexad.skodaautomotiveapp.data.model.VehicleHistoryResponse
import com.hexad.skodaautomoti... | 0 | Kotlin | 0 | 0 | 2ff263fd9fe243322b198b9546b51a5968464a97 | 1,637 | Skoda_Android | MIT License |
app/src/main/java/prieto/fernando/spacex/presentation/vm/DashboardViewModel.kt | ferPrieto | 226,459,777 | false | null | package prieto.fernando.spacex.presentation.vm
import androidx.lifecycle.viewModelScope
import dagger.hilt.android.lifecycle.HiltViewModel
import kotlinx.coroutines.CoroutineExceptionHandler
import kotlinx.coroutines.flow.catch
import kotlinx.coroutines.flow.collect
import kotlinx.coroutines.launch
import prieto.ferna... | 1 | null | 80 | 578 | 0cc02b33fea78e32864d97f032c0f6dc249f3112 | 2,716 | SpaceX-prepare-for-Clean-Architecture-liftoff | Apache License 2.0 |
credits/src/main/kotlin/lt/markmerkk/credits/CreditsContract.kt | marius-m | 67,072,115 | false | null | package lt.markmerkk.credits
import lt.markmerkk.entities.Credit
interface CreditsContract {
interface View {
fun renderCreditEntries(entries: List<String>)
fun showCreditDetails(entry: Credit)
}
interface Presenter {
fun onAttach(view: View)
fun onDetach()
}
} | 1 | Kotlin | 1 | 26 | 6632d6bfd53de4760dbc3764c361f2dcd5b5ebce | 311 | wt4 | Apache License 2.0 |
model/src/main/java/com/freshdigitable/udonroad2/model/app/AppFileProvider.kt | akihito104 | 149,869,805 | false | {"YAML": 4, "Gradle Kotlin DSL": 7, "JSON": 1, "Kotlin": 263, "Java Properties": 10, "Shell": 1, "Text": 1, "Ignore List": 17, "Batchfile": 1, "EditorConfig": 1, "Gradle": 12, "Proguard": 17, "XML": 147, "Java": 3, "INI": 7, "PlantUML": 3} | /*
* Copyright (c) 2020. Matsuda, Akihit (akihito104)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | 22 | null | 1 | 1 | 7ec50f204fda79cf222b24623f22e80d05301555 | 971 | UdonRoad2 | Apache License 2.0 |
java/kotlin/src/main/kotlin/terra/market/v1beta1/QuerySwapResponseKt.kt | furysport | 798,989,200 | false | {"Kotlin": 3487859, "TypeScript": 3402397, "Java": 1230297, "Shell": 1687, "Makefile": 737} | //Generated by the protocol buffer compiler. DO NOT EDIT!
// source: terra/market/v1beta1/query.proto
package terra.market.v1beta1;
@kotlin.jvm.JvmSynthetic
inline fun querySwapResponse(block: terra.market.v1beta1.QuerySwapResponseKt.Dsl.() -> Unit): terra.market.v1beta1.QueryOuterClass.QuerySwapResponse =
terra.ma... | 0 | Kotlin | 0 | 0 | ddd9cd1abce2d51cf273be478c2b614960ace761 | 2,565 | terra.proto | Apache License 2.0 |
k3d/src/main/java/me/rerere/k3d/util/Color.kt | re-ovo | 678,037,055 | false | {"Kotlin": 266278} | @file:OptIn(ExperimentalStdlibApi::class)
package me.rerere.k3d.util
import kotlin.math.pow
private val hexColorFormat by lazy {
HexFormat {
number {
prefix = "#"
}
}
}
/**
* Represent a color in linear sRGB color space
*
* Note the color is in linear sRGB color space, if you ... | 0 | Kotlin | 0 | 0 | eabc0e1b202f66f9e3ff8c3c3b8f9804abe0366d | 2,306 | k3d | Apache License 2.0 |
whetstone/runtime-fragment/src/main/java/com/freeletics/mad/whetstone/ComposeFragment.kt | freeletics | 375,363,637 | false | null | package com.freeletics.mad.whetstone
import com.freeletics.mad.navigator.NavigationHandler
import com.freeletics.mad.navigator.Navigator
import com.freeletics.mad.statemachine.StateMachine
import com.freeletics.mad.whetstone.internal.EmptyNavigationHandler
import com.freeletics.mad.whetstone.internal.EmptyNavigator
im... | 3 | null | 3 | 1 | b8df1f32478f53766d841827bf9fcd2d819f4570 | 3,833 | mad | Apache License 2.0 |
android-debuggers/src/com/android/tools/idea/sqlite/ui/tableView/TableViewImpl.kt | zakharchanka | 314,699,321 | true | {"Text": 342, "EditorConfig": 1, "Markdown": 54, "Ignore List": 133, "Starlark": 86, "XML": 11605, "Java": 8168, "Kotlin": 4229, "Gradle": 802, "Proguard": 121, "INI": 42, "JSON": 77, "Graphviz (DOT)": 1, "Ant Build System": 1, "Protocol Buffer": 1, "HTML": 60, "Shell": 19, "Batchfile": 12, "Java Properties": 130, "Gra... | /*
* Copyright (C) 2019 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 | null | 0 | 0 | cd393da1a11d2dfe572f4baa6eef882256e95d6a | 7,454 | android-1 | Apache License 2.0 |
app/src/main/java/linc/com/colorsapp/di/modules/features/domain/SavedColorsDomainModule.kt | lincollincol | 253,084,573 | false | null | package linc.com.colorsapp.di.modules.features.domain
import dagger.Binds
import dagger.Module
import linc.com.colorsapp.di.scopes.FragmentScope
import linc.com.colorsapp.domain.colors.ColorsInteractor
import linc.com.colorsapp.domain.colors.ColorsInteractorImpl
import linc.com.colorsapp.domain.saved.SavedColorsIntera... | 0 | Kotlin | 0 | 0 | 1a247d29a43dddd04269d86e1e54ceaab2abb4a6 | 580 | ColorsApp | MIT License |
android/app/src/main/kotlin/com/example/wifi_rssi_dumper/MainActivity.kt | lucassusanto | 279,425,943 | false | {"Dart": 49865, "Swift": 404, "Kotlin": 133, "Objective-C": 38} | package com.unicode.wifi_rssi_dumper
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| 0 | Dart | 0 | 1 | eb9b9beb62cd8024ca1c5029182ea95ad473fbb4 | 133 | android-wifi-rssi-dumper | MIT License |
src/main/kotlin/com/zorbeytorunoglu/thebestranks/configuration/settings/SettingsContainer.kt | zorbeytorunoglu | 512,992,248 | false | null | package com.zorbeytorunoglu.thebestranks.configuration.settings
import com.zorbeytorunoglu.thebestranks.configuration.Resource
class SettingsContainer {
private val configResource: Resource
val chatFormatEnabled: Boolean
val chatFormatDefaultFormat: String
val chatFormatPerGroupFormats: MutableMap<S... | 7 | Kotlin | 2 | 7 | 9e0dab69bee019a8510430099d381fcb149171c3 | 1,818 | thebestranks | MIT License |
app/common/src/main/kotlin/tech/nagual/common/adapters/FilepickerFavoritesAdapter.kt | overphoenix | 621,371,055 | false | null | package tech.nagual.common.adapters
import android.util.TypedValue
import android.view.Menu
import android.view.View
import android.view.ViewGroup
import tech.nagual.common.databinding.FilepickerFavoriteBinding
import tech.nagual.common.activities.BaseSimpleActivity
import tech.nagual.common.extensions.getTextSize
imp... | 0 | Kotlin | 0 | 0 | 64264f261c2138d5f1932789702661917bbfae28 | 2,074 | phoenix-android | Apache License 2.0 |
game/plugins/src/main/kotlin/gg/rsmod/plugins/content/areas/dwarven_mines/chats/drogo.plugin.kts | pitchblac23 | 201,185,078 | false | null | package gg.rsmod.plugins.content.areas.dwarven_mines.chats
spawn_npc(Npcs.DROGO_DWARF, 3040, 9847, 0, walkRadius = 15)
on_npc_option(Npcs.DROGO_DWARF, option = "talk-to") {
player.queue { dialog(this) }
}
on_npc_option(Npcs.DROGO_DWARF, option = "trade") {
open_shop(player)
}
suspend... | 0 | null | 2 | 1 | ade69da919ba62ec3ac37fccab9068f2820c774d | 1,058 | rsmod | Apache License 2.0 |
src/main/kotlin/dev/turingcomplete/intellijdevelopertoolsplugin/_internal/common/CopyValuesAction.kt | marcelkliemannel | 605,260,384 | false | null | package dev.turingcomplete.intellijdevelopertoolsplugin._internal.common
import com.intellij.openapi.actionSystem.ActionUpdateThread
import com.intellij.openapi.actionSystem.AnActionEvent
import com.intellij.openapi.ide.CopyPasteManager
import com.intellij.openapi.project.DumbAwareAction
import com.intellij.util.Platf... | 23 | null | 7 | 97 | c86a3986d6811fd022fa6a869e9b18f4054a44c8 | 2,358 | intellij-developer-tools-plugin | Apache License 2.0 |
app/src/main/java/com/ewc/eudiwalletoidcandroid/MainActivity.kt | EWC-consortium | 749,764,479 | false | {"Kotlin": 100658} | package com.ewc.eudiwalletoidcandroid
import android.Manifest
import android.app.Activity
import android.content.Intent
import android.content.pm.PackageManager
import android.os.Bundle
import android.view.View
import android.widget.Toast
import androidx.appcompat.app.AppCompatActivity
import androidx.core.app.Activit... | 0 | Kotlin | 1 | 0 | fa35bea79a369e1da448d3f749d8a356fd3f20d5 | 5,488 | eudi-wallet-oid4vc-android | Apache License 2.0 |
idea/testData/android/lint/wrongImport.kt | gigliovale | 89,726,097 | false | {"Java": 23302590, "Kotlin": 21941511, "JavaScript": 137521, "Protocol Buffer": 56992, "HTML": 49980, "Lex": 18051, "Groovy": 14093, "ANTLR": 9797, "IDL": 7706, "Shell": 5152, "CSS": 4679, "Batchfile": 3721} | // INSPECTION_CLASS: org.jetbrains.android.inspections.klint.AndroidLintInspectionToolProvider$AndroidKLintSuspiciousImportInspection
//Warning
<warning descr="Don't include `android.R` here; use a fully qualified name for each usage instead">import android.R</warning>
fun a() {
R.id.button1
} | 0 | Java | 4 | 6 | ce145c015d6461c840050934f2200dbc11cb3d92 | 300 | kotlin | Apache License 2.0 |
LNJ/app/src/main/java/dev/lnj/homework/MainActivity.kt | BTY-BetterThanYesterday | 307,002,445 | false | null | package dev.lnj.homework
import android.content.Intent
import android.os.Bundle
import android.widget.Button
import android.widget.EditText
import android.widget.TextView
import android.widget.Toast
import androidx.appcompat.app.AlertDialog
import androidx.appcompat.app.AppCompatActivity
import java.time.temporal.Tem... | 1 | null | 1 | 4 | 8aa83934fb2ca82b7ab7f4fd1dd3b77557fa9b30 | 1,699 | AndroidStudy | MIT License |
usecases/src/main/java/com/architectcoders/usecases/DeleteCredentials.kt | Architect-Coders-Team-2 | 349,805,393 | false | null | package com.architectcoders.usecases
import com.architectcoders.data.repository.MarvelRepository
class DeleteCredentials(private val marvelRepository: MarvelRepository) : InvokeUseCase<Unit, Unit> {
override suspend fun invoke(param: Unit) = marvelRepository.deleteCredentials()
}
| 4 | Kotlin | 0 | 0 | 4cb902655d8328cebc9e6c874800f5cc71f18943 | 287 | ArquitectoMarvel | MIT License |
Chapter10/Activity10.01/app/src/main/java/com/android/testable/notesapplication/NoteListAdapter.kt | PacktWorkshops | 204,445,200 | false | {"Kotlin": 556387} | package com.android.testable.notesapplication
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.recyclerview.widget.RecyclerView
import kotlinx.android.extensions.LayoutContainer
import kotlinx.android.synthetic.main.view_note_item.view.*
class NoteListAdapter(p... | 0 | Kotlin | 18 | 9 | ab42898f6debe3bc83d0f08bbb1c0b7dea959d4b | 1,237 | The-Android-Workshop | MIT License |
src/me/anno/graph/visual/control/FixedControlFlowNode.kt | AntonioNoack | 456,513,348 | false | {"Kotlin": 10037763, "C": 236426, "Java": 6754, "Lua": 4404, "C++": 3059, "GLSL": 2698} | package me.anno.graph.visual.control
import me.anno.graph.visual.node.NodeOutput
import me.anno.graph.visual.FlowGraphNode
abstract class FixedControlFlowNode(name: String, inputs: List<String>, outputs: List<String>) :
FlowGraphNode(name, inputs, outputs) {
fun getNodeOutput(index: Int): NodeOutput {
... | 0 | Kotlin | 3 | 22 | c5dca607634e07f59a6091249a0946a6b69e1e58 | 439 | RemsEngine | Apache License 2.0 |
src/main/kotlin/com/anahoret/home_server/models/MediaLibraryDto.kt | mikhalchenko-alexander | 93,540,975 | false | null | package com.anahoret.home_server.models
class FolderDto(
val id: Long,
val name: String,
val folders: List<FolderDto>,
val tracks: List<TrackDto>
)
class TrackDto(
val id: Long,
val title: String,
val artist: String,
val album: String,
val duration: Int
)
| 0 | Kotlin | 0 | 0 | 7d39e7db434808a0de1ff462ba1cb9fc4d08baf3 | 276 | home-server | Apache License 2.0 |
app/src/main/java/xyz/harmonyapp/olympusblog/ui/UICommunicationListener.kt | sentrionic | 351,882,310 | false | null | package xyz.harmonyapp.olympusblog.ui
import xyz.harmonyapp.olympusblog.utils.Response
import xyz.harmonyapp.olympusblog.utils.StateMessageCallback
interface UICommunicationListener {
fun onResponseReceived(
response: Response,
stateMessageCallback: StateMessageCallback
)
fun displayProg... | 0 | Kotlin | 0 | 0 | 3b784bf9dd60f6cc6889813f2e2932fa3a9b211d | 448 | OlympusAndroid | MIT License |
app/src/main/java/com/nhlynn/plan_calendar/pager_adapter/CalendarViewPager.kt | nhlynn | 593,479,836 | false | {"Kotlin": 75722} | package com.nhlynn.plan_calendar.pager_adapter
import androidx.fragment.app.Fragment
import androidx.fragment.app.FragmentActivity
import androidx.viewpager2.adapter.FragmentStateAdapter
import com.nhlynn.plan_calendar.calendar.DailyCalendarFragment
import com.nhlynn.plan_calendar.calendar.MonthlyCalendarFragment
impo... | 0 | Kotlin | 0 | 2 | 1396578974f627e6da6e994be412598ca2995fa2 | 852 | plan_calendar | MIT License |
app/src/main/java/com/czech/housegot/models/DetailCharacters.kt | Czeach | 607,636,125 | false | null | package com.czech.housegot.models
data class DetailCharacters(
var founder: String? = null,
var lord: String? = null,
var heir: String? = null
) | 0 | Kotlin | 1 | 0 | 3204845d2557f5348c5782f150ea7471fbdbf887 | 157 | HouseGOT | Apache License 2.0 |
src/main/kotlin/main/Exercises.kt | dcduncan | 334,310,883 | false | {"JavaScript": 9692, "TypeScript": 3087, "Kotlin": 2484, "HTML": 1705, "CSS": 930} | package main
val EXERCISES = setOf(
Exercise(
"Bench Press",
BodyPart.CHEST,
setOf(Equipment.BENCH, Equipment.BARBELL),
setOf(BodyPart.TRICEPS, BodyPart.SHOULDERS)
),
Exercise(
"Dumbbell Bench Press",
BodyPart.CHEST,
setOf(Equipment.BENCH, Equipment.D... | 0 | JavaScript | 0 | 0 | 0a24ef9c4183524bca8f93678cd78883955b1dd4 | 762 | lazy-lift | Apache License 2.0 |
domain/session/src/commonMain/kotlin/dev/alvr/katana/domain/session/failures/SessionFailure.kt | alvr | 446,535,707 | false | {"Kotlin": 450399, "Swift": 594} | package dev.alvr.katana.domain.session.failures
import dev.alvr.katana.domain.base.failures.Failure
sealed interface SessionFailure : Failure {
data object CheckingActiveSession : SessionFailure
data object DeletingToken : SessionFailure
data object ClearingSession : SessionFailure
data object SavingS... | 4 | Kotlin | 0 | 52 | 36977eaf91cef21fce4ac88d7d587a74fbb2ec6c | 346 | katana | Apache License 2.0 |
challenge/flutter/all_samples/widgets_sliverfillremaining_1/android/app/src/main/kotlin/com/example/widgets_sliverfillremaining_1/MainActivity.kt | davidzou | 5,868,257 | false | null | package com.example.widgets_sliverfillremaining_1
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| 1 | null | 1 | 4 | 1060f6501c432510e164578d4af60a49cd5ed681 | 146 | WonderingWall | Apache License 2.0 |
app/src/main/java/com/scriptsquad/unitalk/YTLectures_Page/Lectures_Activity.kt | ST10029788 | 841,892,426 | false | {"Kotlin": 568120, "JavaScript": 1259} | package com.scriptsquad.unitalk.YTLectures_Page
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.view.View
import android.webkit.JavascriptInterface
import android.webkit.WebViewClient
import android.widget.AdapterView
import android.widget.ArrayAdapter
import android.widget.Spin... | 0 | Kotlin | 0 | 0 | 3c3ac1c047565af67f326023a7a7ccd4b3c986e7 | 4,260 | UniTalk | MIT License |
src/backend/ci/ext/tencent/auth/biz-auth-tencent/src/main/kotlin/com/tencent/devops/auth/service/TxMigrateCreatorFixServiceImpl.kt | terlinhe | 281,661,499 | true | {"Kotlin": 45598476, "Vue": 6397657, "Java": 5707849, "Go": 3274290, "JavaScript": 1968867, "Lua": 856156, "HTML": 649832, "Dart": 551043, "TypeScript": 411134, "SCSS": 405673, "Shell": 403216, "C++": 149772, "CSS": 95042, "Python": 79300, "Mustache": 65146, "Smarty": 46819, "C": 33502, "Less": 24714, "Dockerfile": 229... | package com.tencent.devops.auth.service
import com.tencent.devops.auth.api.service.ServiceProjectAuthResource
import com.tencent.devops.auth.service.iam.MigrateCreatorFixService
import com.tencent.devops.common.auth.api.pojo.BkAuthGroup
import com.tencent.devops.common.auth.enums.AuthSystemType
import com.tencent.devo... | 0 | Kotlin | 0 | 0 | dccbcb9f44260f80ebfa1c2dad0c401222f7f93c | 3,475 | bk-ci | MIT License |
features/newchecklist/impl/src/main/kotlin/wottrich/github/io/smartchecklist/newchecklist/navigation/NewChecklistContextNavigator.kt | Wottrich | 295,605,540 | false | {"Kotlin": 351230} | package wottrich.github.io.smartchecklist.newchecklist.navigation
import androidx.navigation.NavGraphBuilder
import androidx.navigation.NavHostController
import androidx.navigation.navigation
import wottrich.github.io.smartchecklist.android.SmartChecklistNavigation
import wottrich.github.io.smartchecklist.newchecklist... | 12 | Kotlin | 0 | 8 | 1d8823ce64994bc8b44e3dc72711966265489edc | 1,495 | android-smart-checklist | MIT License |
app/src/main/java/com/github/amatkivskiy/template/presentation/ui/details/UserDetailsView.kt | amatkivskiy | 140,286,853 | false | {"Kotlin": 61151} | package com.github.amatkivskiy.template.presentation.ui.details
import com.github.amatkivskiy.template.domain.model.User
import com.hannesdorfmann.mosby3.mvp.MvpView
interface UserDetailsView : MvpView {
fun renderUserDetails(user: User)
fun userId(): String
fun showError(message: String)
} | 0 | Kotlin | 0 | 0 | c8b1c103008c53564201d88abc874165f8c6b4ed | 305 | android-app-template | MIT License |
data/src/main/java/com/miguelbrmfreitas/data/datasources/remote/McDonaldsApi.kt | MiguelbrmFreitas | 533,079,271 | false | {"Kotlin": 25443} | package com.miguelbrmfreitas.data.datasources.remote
import retrofit2.Response
import retrofit2.http.GET
interface McDonaldsApi
{
@GET("menu")
suspend fun getMenus(): Response<McDonaldsResponse>
} | 0 | Kotlin | 0 | 1 | 9fe866e42fd76a3808eb28f15a791d60a031f320 | 206 | mc-donalds-menu | MIT License |
src/main/kotlin/io/github/kryszak/gwatlin/api/gamemechanics/model/profession/Weapon.kt | Kryszak | 214,791,260 | false | {"Kotlin": 443350, "Shell": 654} | package io.github.kryszak.gwatlin.api.gamemechanics.model.profession
import kotlinx.serialization.Serializable
/**
* Data model for weapon profession's property
*/
@Serializable
data class Weapon(
val specialization: Int? = null,
val skills: List<WeaponSkill>,
val flags: List<String>
)
| 1 | Kotlin | 1 | 6 | e618cbda6fd1b2e06d92656b9a8603b32538c82f | 315 | gwatlin | MIT License |
library/src/main/java/com/aminography/redirectglide/BaseApiCallGlideUrl.kt | aminography | 157,266,989 | false | null | package com.aminography.redirectglide
import com.aminography.redirectglide.OkHttpRedirectUrlFetcher.Companion.DEFAULT_MAX_REDIRECT
import com.bumptech.glide.load.model.GlideUrl
import com.bumptech.glide.load.model.Headers
import java.net.URL
/**
* An extension of [GlideUrl] which parses the Api result to extract the... | 3 | null | 5 | 38 | 80fcaf80d5d36eeeb1eb43ce0260c0e3b1283687 | 905 | RedirectGlide | Apache License 2.0 |
compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/pager/Pager.kt | androidx | 256,589,781 | false | null | /*
* 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... | 23 | Kotlin | 740 | 4,353 | 3492e5e1782b1524f2ab658f1728c89a35c7336d | 26,346 | androidx | Apache License 2.0 |
MVVM-WanAndroid/roompagingdemo/src/main/java/com/wlm/roompagingdemo/MainActivity.kt | wangliming123 | 189,384,638 | false | null | package com.wlm.roompagingdemo
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import androidx.lifecycle.Observer
import androidx.lifecycle.ViewModelProviders
import kotlinx.android.synthetic.main.activity_main.*
class MainActivity : AppCompatActivity() {
private val viewModel by lazy { ... | 0 | Kotlin | 0 | 0 | 08cc0303d1d9badbbe877f85278f409326511bef | 717 | kotlinDemos | Apache License 2.0 |
app/src/main/java/org/oppia/app/shim/ViewComponentFactory.kt | sajalasati | 269,276,236 | true | {"Kotlin": 3567791, "Starlark": 86669, "Java": 27558, "Shell": 1855} | package org.oppia.app.shim
import android.view.View
import org.oppia.app.view.ViewComponent
interface ViewComponentFactory {
/**
* Returns a new [ViewComponent] for the specified view.
*/
fun createViewComponent(view: View): ViewComponent
}
| 0 | Kotlin | 0 | 0 | cb45e456caf79d5612ca4c28d8ef3bf1c25e5965 | 253 | oppia-android | Apache License 2.0 |
encryp-decrypt-interceptor/src/main/java/com/us47codex/encryp_decrypt_interceptor/crypto/CryptoUtil.kt | us47codex | 468,229,414 | false | {"Kotlin": 29020, "JavaScript": 5246} | package com.us47codex.encryp_decrypt_interceptor.crypto
import android.util.Log
import okhttp3.RequestBody
import okio.Buffer
import org.json.JSONArray
import java.io.IOException
import java.io.UnsupportedEncodingException
import java.nio.charset.StandardCharsets
import java.security.MessageDigest
import java.security... | 0 | Kotlin | 0 | 0 | a0ffeb70dfbc36e019a83174f3f0168a2bdc9327 | 5,047 | Encrypt-Decrypt-Interceptor | Apache License 2.0 |
app/src/main/java/com/example/bagshop/ui/features/signIn/SignInViewModel.kt | MohsenJafaritadi | 766,469,732 | false | {"Kotlin": 113924} | package com.example.bagshop.ui.features.signIn
import android.util.Log
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.example.bagshop.model.repository.user.UserRepository
import com.example.bagshop.util.coroutineExceptionHandler
import ... | 0 | Kotlin | 0 | 0 | abc3ede78379530a92c4d23de8976f48427dc140 | 754 | Bag_Shop | MIT License |
esw-ocs/esw-ocs-dsl-kt/src/main/kotlin/esw/ocs/dsl/params/params.kt | tmtsoftware | 190,560,899 | false | {"Scala": 1389004, "Kotlin": 242376, "Shell": 8394} | package esw.ocs.dsl.params
import csw.params.core.generics.Key
import csw.params.core.generics.KeyType
import csw.params.core.generics.Parameter
import csw.params.core.generics.ParameterSetType
import esw.ocs.dsl.nullable
/** ========== Parameter =========== **/
val <T> Parameter<T>.values: List<T> get() = jValues().... | 1 | Scala | 9 | 1 | d77f2ef06785a772c4307eb59319abfaf9181bb3 | 1,304 | esw | Apache License 2.0 |
app/src/main/java/com/xfhy/allinone/actual/apt/AptActivity.kt | xfhy | 258,978,567 | false | null | package com.xfhy.allinone.actual.apt
import android.os.Bundle
import android.widget.TextView
import com.xfhy.allinone.R
import com.xfhy.annotation.BindView
import com.xfhy.lib.Binding
import com.xfhy.library.basekit.activity.TitleBarActivity
/**
* @author : xfhy
* Create time : 2021/8/31 07:11
* Description : APT
... | 1 | Kotlin | 5 | 6 | 294cd16f0549f97d13304d659e76c776189e44ff | 907 | AllInOne | Apache License 2.0 |
viewmodels/src/main/java/com/redvelvet/viewmodel/search/SearchViewModel.kt | RedVelvet-Team | 670,763,637 | false | null | package com.redvelvet.viewmodel.search
import androidx.lifecycle.viewModelScope
import androidx.paging.PagingData
import androidx.paging.cachedIn
import androidx.paging.map
import com.redvelvet.entities.actor.Actor
import com.redvelvet.entities.movie.Movie
import com.redvelvet.entities.search.SearchResult
import com.r... | 4 | Kotlin | 1 | 4 | b9b17caa25439823ae354d3262921fb5f88c73d7 | 5,750 | IMovie | Apache License 2.0 |
app/src/main/java/com/sandeep/womenincloudrvce/activity/DescriptionActivity.kt | mssandeepkamath | 600,313,527 | false | {"Kotlin": 205073, "Java": 11104} | package com.sandeep.womenincloudrvce.activity
import android.graphics.Color
import android.os.Bundle
import android.view.Gravity
import android.widget.Toast
import androidx.appcompat.app.AppCompatActivity
import com.android.volley.NetworkResponse
import com.android.volley.Request
import com.android.volley.Response
imp... | 0 | Kotlin | 1 | 1 | ed482a190b19035ec3a0fda2fe64df73d82c68be | 12,904 | women-in-cloud-rvce-android | MIT License |
drifter-plugin/src/main/kotlin/dev/teogor/drifter/plugin/BuildIl2CppTask.kt | teogor | 696,636,755 | false | {"Kotlin": 299288, "Java": 53005} | /*
* Copyright 2023 teogor (<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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | 0 | Kotlin | 0 | 4 | 50d3f3d19a0244ebdf7b4df5273ab2142fe4a016 | 7,712 | drifter | Apache License 2.0 |
clients/kotlin/generated/src/main/kotlin/org/openapitools/client/models/ComDayCqMailerImplEmailCqRetrieverTemplateFactoryProperties.kt | shinesolutions | 190,217,155 | false | null | /**
* Adobe Experience Manager OSGI config (AEM) API
* Swagger AEM OSGI is an OpenAPI specification for Adobe Experience Manager (AEM) OSGI Configurations API
*
* OpenAPI spec version: 1.0.0-pre.0
* Contact: <EMAIL>
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://... | 12 | null | 1 | 4 | c2f6e076971d2592c1cbd3f70695c679e807396b | 1,135 | swagger-aem-osgi | Apache License 2.0 |
RobotCode2024/src/test/kotlin/frc/lib/behaviorTree/nodes/SubtreeTest.kt | 3015RangerRobotics | 802,925,561 | false | {"Text": 2, "Git Attributes": 5, "Gradle": 2, "JSON": 19, "Shell": 1, "Ignore List": 12, "Batchfile": 1, "Markdown": 5, "YAML": 12, "INI": 1, "Java": 119, "Kotlin": 106, "XML": 25, "Ruby": 3, "OpenStep Property List": 9, "Swift": 11, "CMake": 15, "C": 8, "C++": 27, "Dart": 69} | package frc.lib.behaviorTree.nodes
import frc.lib.behaviorTree.Blackboard
import frc.lib.behaviorTree.ExecutionStatus
import org.junit.jupiter.api.Assertions
import org.junit.jupiter.api.Test
class SubtreeTest {
@Test
fun handlesNull() {
val node = Subtree(null, "")
val blackboard = Blackboard()
node... | 0 | Java | 1 | 5 | 60a1c9b5cb1d4957e68a242bc44e9cd5b5967155 | 904 | 2024Public | MIT License |
automation/cluster_create/src/test/kotlin/MockServer.kt | instructure | 179,290,947 | false | null | import com.google.api.services.container.model.Operation
import com.google.gson.GsonBuilder
import com.google.gson.LongSerializationPolicy
import util.Constants
import io.ktor.application.ApplicationCall
import io.ktor.application.call
import io.ktor.application.install
import io.ktor.features.ContentNegotiation
import... | 2 | null | 85 | 99 | 1bac9958504306c03960bdce7fbb87cc63bc6845 | 2,392 | canvas-android | Apache License 2.0 |
src/test/kotlin/platformio/project/ui/AssertJExtensions.kt | nexoscp | 200,699,135 | false | null | package platformio.project.ui
import org.assertj.swing.data.TableCell
import org.assertj.swing.fixture.JTableFixture
import platformio.services.Board
fun JTableFixture.hasBoard(rowIndex: Int, board: Board, selected: Boolean) {
cell(TableCell.row(rowIndex).column(0)).requireValue(selected.toString())
cell(Tab... | 14 | null | 1 | 8 | 9c8b93bad00bac156f7a89e2a66899da56a63121 | 827 | PlatformIOLion | Apache License 2.0 |
platform/workspace/jps/src/com/intellij/platform/workspace/jps/entities/persistent_Id.kt | JetBrains | 2,489,216 | false | null | // Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.platform.workspace.jps.entities
import com.intellij.openapi.util.NlsSafe
import com.intellij.platform.workspace.storage.SymbolicEntityId
import org.jetbrains.annotations.NonNls
... | 284 | null | 5162 | 16,707 | def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0 | 2,898 | intellij-community | Apache License 2.0 |
plugins/gitlab/src/org/jetbrains/plugins/gitlab/authentication/accounts/GitLabAccount.kt | ingokegel | 72,937,917 | true | null | // Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package org.jetbrains.plugins.gitlab.authentication.accounts
import com.intellij.collaboration.auth.ServerAccount
import com.intellij.openapi.util.NlsSafe
import kotlinx.serialization.Serializable
i... | 1 | null | 1 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 577 | intellij-community | Apache License 2.0 |
app/src/main/java/io/github/msh91/arch/di/module/UtilModule.kt | msh91 | 134,849,661 | false | null | package io.github.msh91.arch.di.module
import dagger.Binds
import dagger.Module
import io.github.msh91.arch.data.source.local.file.BaseFileProvider
import io.github.msh91.arch.data.source.local.file.FileProvider
import io.github.msh91.arch.util.provider.BaseResourceProvider
import io.github.msh91.arch.util.provider.Re... | 1 | Kotlin | 7 | 25 | 9f0bf81e3493ee733a0b64c9a64249eacd8b652b | 729 | arch | Apache License 2.0 |
ontrack-ui-graphql/src/main/java/net/nemerosa/ontrack/graphql/schema/GQLRootQuerySearchResultTypes.kt | nemerosa | 19,351,480 | false | null | package net.nemerosa.ontrack.graphql.schema
import graphql.schema.GraphQLFieldDefinition
import net.nemerosa.ontrack.graphql.support.listType
import net.nemerosa.ontrack.model.structure.SearchService
import org.springframework.stereotype.Component
@Component
class GQLRootQuerySearchResultTypes(
private val search... | 57 | null | 27 | 97 | 7c71a3047401e088ba0c6d43aa3a96422024857f | 786 | ontrack | MIT License |
command-channel/src/main/kotlin/dev/gimme/command/channel/ConsoleCommandChannel.kt | Gimme | 315,114,245 | false | null | package dev.gimme.command.channel
import dev.gimme.command.sender.ConsoleCommandSender
import kotlinx.coroutines.GlobalScope
import kotlinx.coroutines.Job
import kotlinx.coroutines.launch
import java.util.*
/**
* Accepts input from the main console.
*/
open class ConsoleCommandChannel :
TextCommandChannel(inclu... | 1 | null | 1 | 1 | 66557fea569474ca2dc5b0135e5df669160db35a | 807 | gimme-api | MIT License |
Android/app/src/main/java/com/watsalacanoa/secretv2/Models/PostResponse.kt | miker1423 | 146,824,829 | false | null | package com.watsalacanoa.secretv2.models
data class PostResponse(val posts:List<Post>, val continuationToken:Int) | 1 | null | 1 | 1 | 24b3affea1395151c056cc6c741be6de152c82f8 | 114 | secret2 | MIT License |
src/app/src/test/kotlin/org/vaccineimpact/orderlyweb/tests/unit_tests/security/FakeSession.kt | vimc | 173,126,600 | false | null | package org.vaccineimpact.orderlyweb.tests.unit_tests.security
import java.util.*
import javax.servlet.ServletContext
import javax.servlet.http.HttpSession
import javax.servlet.http.HttpSessionContext
class FakeSession() : HttpSession
{
val attributes = mutableMapOf<Any?, Any?>()
override fun getLastAccessedT... | 2 | null | 4 | 4 | e3a2a8204a3e559e15f1d54e884e8ea1aa798cf0 | 1,898 | orderly-web | MIT License |
app/src/main/java/com/jim/newsclient/module/splash/SplashActivity.kt | Sakuragi | 111,812,252 | false | null | package com.jim.newsclient.module.splash
import android.os.Bundle
import android.support.v7.app.AppCompatActivity
/**
* Created by Jim on 2017/11/27.
*/
class SplashActivity:AppCompatActivity(){
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
}
} | 0 | Kotlin | 9 | 36 | 5218df32ed8776830154d10ec0f3532a2b8af79c | 307 | NewsClient-Kotlin | Apache License 2.0 |
src/test/java/org/tokend/sdk/helpers/buildergen/PageQueryParamsBuilderGenerator.kt | tokend | 153,458,393 | false | {"Gradle": 2, "Markdown": 2, "Shell": 1, "Ignore List": 1, "Batchfile": 1, "Text": 1, "INI": 1, "Kotlin": 247, "Java": 209} | package org.tokend.sdk.helpers.buildergen
import org.tokend.sdk.api.v3.base.PageQueryParams
import kotlin.reflect.KClass
import kotlin.reflect.full.declaredMemberProperties
import kotlin.reflect.full.primaryConstructor
/**
* Generates Builder class for page query params
*/
class PageQueryParamsBuilderGenerator(
... | 0 | Kotlin | 1 | 14 | f29c3aa9e251a38f76a7dc26960f7a8796a79975 | 3,112 | kotlin-sdk | Apache License 2.0 |
mesh/src/main/java/io/particle/mesh/setup/flow/setupsteps/StepShowConnectedToCloudSuccessUi.kt | JeongGoEun | 184,398,708 | false | null | package io.particle.mesh.setup.flow.setupsteps
import io.particle.mesh.R
import io.particle.mesh.setup.flow.MeshSetupStep
import io.particle.mesh.setup.flow.Scopes
import io.particle.mesh.setup.flow.context.SetupContexts
import io.particle.mesh.setup.flow.modules.FlowUiDelegate
import io.particle.mesh.setup.flow.toUse... | 1 | null | 1 | 1 | 7b9e154e68715bbfd7a92b10ba5070ea6f84fab5 | 918 | particle-android | Apache License 2.0 |
jdispatcher-plugin/src/main/java/com/jay/android/dispatcher/register/utils/PluginUtils.kt | jaydroid1024 | 390,583,340 | false | null | package com.jay.android.dispatcher.register.utils
import com.android.build.api.transform.TransformInvocation
import com.jay.android.dispatcher.register.launch.DispatcherExtension
import org.apache.commons.io.FileUtils
import org.gradle.api.Project
import java.io.File
import java.text.SimpleDateFormat
import java.util.... | 1 | null | 4 | 20 | f28c2ebb974547e3758ef7fcf3d013127b70c541 | 2,563 | JDispatcher | MIT License |
idea/tests/testData/refactoring/moveMultiModule/moveSealedCheckTargetPackageHasMemberCrossModule/before/A/src/sealed/SealedHierarchy.kt | JetBrains | 278,369,660 | false | null | package sealed
sealed interface <caret>SealedInterfaceA
sealed class <caret>HierarchyClassA: SealedInterfaceA, SealedInterfaceB | 0 | null | 30 | 82 | cc81d7505bc3e9ad503d706998ae8026c067e838 | 128 | intellij-kotlin | Apache License 2.0 |
kamp-core/src/main/kotlin/ch/leadrian/samp/kamp/core/runtime/data/RectangleImpl.kt | Double-O-Seven | 142,487,686 | false | null | package ch.leadrian.samp.kamp.core.runtime.data
import ch.leadrian.samp.kamp.core.api.data.MutableRectangle
import ch.leadrian.samp.kamp.core.api.data.Rectangle
internal data class RectangleImpl(
override val minX: Float,
override val maxX: Float,
override val minY: Float,
override val... | 1 | null | 1 | 7 | af07b6048210ed6990e8b430b3a091dc6f64c6d9 | 724 | kamp | Apache License 2.0 |
collect_app/src/androidTest/java/org/odk/collect/android/support/pages/AddProjectDialogPage.kt | mmarciniak90 | 111,799,383 | true | {"Gradle": 18, "Markdown": 15, "Java Properties": 2, "Shell": 2, "Ignore List": 14, "Batchfile": 1, "Git Attributes": 1, "YAML": 2, "XML": 457, "XSLT": 6, "Java": 1004, "INI": 13, "Kotlin": 112, "Proguard": 2, "JSON": 3, "Text": 1, "JavaScript": 1, "HTML": 1} | package org.odk.collect.android.support.pages
import androidx.test.espresso.Espresso
import androidx.test.espresso.action.ViewActions
import androidx.test.espresso.matcher.ViewMatchers.withId
import androidx.test.rule.ActivityTestRule
import org.odk.collect.android.R
internal class AddProjectDialogPage(rule: Activity... | 0 | Java | 0 | 1 | 63212545d0382dfaee108a076d5f1122f7ee88aa | 1,123 | collect | Apache License 2.0 |
compiler/tests-spec/tests/org/jetbrains/kotlin/spec/utils/GeneralConfiguration.kt | JetBrains | 3,432,266 | false | {"Kotlin": 79571273, "Java": 6776465, "Swift": 4063829, "C": 2609744, "C++": 1957654, "Objective-C++": 175279, "JavaScript": 130754, "Python": 59855, "Shell": 34920, "Objective-C": 21463, "Lex": 21452, "Batchfile": 11382, "CSS": 11368, "Ruby": 10470, "Dockerfile": 9907, "Groovy": 7092, "EJS": 5241, "CMake": 4473, "HTML... | /*
* Copyright 2010-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/LICENSE.txt file.
*/
package org.jetbrains.kotlin.spec.utils
object GeneralConfiguration {
const val TESTDATA_PATH = "compiler/testData"
const val SPEC_MODULE_PATH = "c... | 181 | Kotlin | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 620 | kotlin | Apache License 2.0 |
compose/integration-tests/docs-snippets/src/main/java/androidx/compose/integration/docs/compositionlocal/CompositionLocal.kt | RikkaW | 389,105,112 | false | null | // ktlint-disable indent https://github.com/pinterest/ktlint/issues/967
/*
* 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
*
* htt... | 0 | null | 0 | 7 | 6d53f95e5d979366cf7935ad7f4f14f76a951ea5 | 8,408 | androidx | Apache License 2.0 |
whynotimagecarousel/src/main/java/org/imaginativeworld/whynotimagecarousel/Extensions.kt | Yog8482 | 362,043,199 | true | {"Kotlin": 35536} | @file:JvmName("Utils")
package org.imaginativeworld.whynotimagecarousel
import android.content.Context
import android.util.DisplayMetrics
import android.util.TypedValue
import android.view.View
import androidx.recyclerview.widget.RecyclerView
import androidx.recyclerview.widget.SnapHelper
/**
* This method convert... | 1 | null | 1 | 1 | 72991d0347c54e7f72e522bc464afd25e7dffd75 | 1,590 | Why-Not-Image-Carousel | Apache License 2.0 |
airbyte-workload-launcher/src/test/kotlin/pipeline/stages/CheckStatusStageTest.kt | don-code | 646,018,813 | true | {"Java Properties": 2, "Starlark": 3, "YAML": 248, "Dotenv": 6, "Ignore List": 25, "INI": 10, "Gradle": 48, "Shell": 59, "Markdown": 64, "EditorConfig": 1, "TOML": 2, "Batchfile": 1, "Text": 39, "XML": 24, "Java": 1447, "Dockerfile": 22, "Python": 20, "Gradle Kotlin DSL": 4, "Kotlin": 181, "JSON": 259, "JSON with Comme... | package pipeline.stages
import io.airbyte.workload.api.client2.generated.WorkloadApi
import io.airbyte.workload.api.client2.model.generated.WorkloadStatus
import io.airbyte.workload.api.client2.model.generated.WorkloadStatusUpdateRequest
import io.airbyte.workload.launcher.client.KubeClient
import io.airbyte.workload.... | 0 | Java | 0 | 0 | 77510e0048d772cb95b86b3a64e0a8c04702c721 | 3,559 | airbyte-platform | MIT License |
app/src/main/java/com/xuexiang/kotlinsample/fragment/coroutines/CoroutinesFlowFragment.kt | xuexiangjys | 473,720,334 | false | {"Kotlin": 180752, "Java": 2527} | /*
* Copyright (C) 2022 xuexiangjys(<EMAIL>)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable la... | 1 | Kotlin | 1 | 15 | c9145ad5e302f89b122a2ac95049c8d12cf4cd06 | 2,320 | KotlinSample | Apache License 2.0 |
app/src/main/java/com/example/pokedexretrofit/data/PokemonDexService.kt | ReasonablePhantom | 628,021,693 | false | null | package com.example.pokedexretrofit.data
import com.example.pokedexretrofit.model.Pokemon
import com.example.pokedexretrofit.model.PokemonLista
import retrofit2.Call
import retrofit2.http.GET
import retrofit2.http.Path
import retrofit2.http.Query
interface PokemonDexService {
@GET("pokemon/{pokemon}")
fun ... | 0 | Kotlin | 0 | 0 | 97b65ad2008590e3eb2a4266aef048ddf4436ea4 | 484 | PokeWeek_7 | Apache License 2.0 |
library/src/main/java/com/twiceyuan/imagepickcompat/options/CropOptions.kt | twiceyuan | 94,528,409 | false | {"Kotlin": 19949} | package com.twiceyuan.imagepickcompat.options
/**
* Created by twiceYuan on 2017/6/19.
*
*
* Options about crop action.
*/
data class CropOptions(
var outputX: Int? = null,
var outputY: Int? = null,
var aspectX: Int = 1,
var aspectY: Int = 1,
var scale: Boolean = true,
)
| 1 | Kotlin | 1 | 5 | 1b4aa1eb49a324bcee3f651cdf491b6b90e74264 | 298 | ImagePickCompat | Apache License 2.0 |
plugins/annotation-collector/testData/collectToFile/fieldAnnotations/fieldAnnotations.kt | gigliovale | 89,726,097 | false | null | package org.test
public class SomeClass {
java.lang.Deprecated
public val annotatedVal: String? = null
java.lang.Deprecated
public var annotatedVar: Int = 5
} | 0 | null | 4 | 6 | ce145c015d6461c840050934f2200dbc11cb3d92 | 178 | kotlin | Apache License 2.0 |
src/test/java/com/silverhetch/clotho/log/HtmlColoredLogTest.kt | fossabot | 268,971,219 | false | null | package com.silverhetch.clotho.log
import org.junit.Assert.*
import org.junit.Test
class HtmlColoredLogTest {
@Test
fun simple() {
with(HtmlColoredLog(object : Log {
override fun warning(message: String?) {
assertNotEquals("ABC", message)
}
overrid... | 1 | null | 1 | 1 | aeffa8e69ed87376e7ce1b792d5fe18b188a7e25 | 802 | Clotho | MIT License |
fingerprint/src/main/java/com/fingerprint/manager/FingerprintManagerImpl.kt | SoftwareLegends | 826,748,891 | false | {"Kotlin": 70922} | package com.fingerprint.manager
import android.app.PendingIntent
import android.content.BroadcastReceiver
import android.content.Context
import android.content.Intent
import android.content.IntentFilter
import android.hardware.usb.UsbDevice
import android.hardware.usb.UsbManager
import android.os.Build
import android.... | 0 | Kotlin | 0 | 0 | 68bb6ef9f1bd60be8d9b9aa8166ec456225ec53b | 10,157 | fingerprint_lib_android | MIT License |
app/src/main/java/liou/rayyuan/ebooksearchtaiwan/view/ListItemTouchListener.kt | YuanLiou | 111,275,765 | false | {"Kotlin": 199712, "Shell": 1384} | package liou.rayyuan.ebooksearchtaiwan.view
interface ListItemTouchListener {
fun onItemMove(fromPosition: Int, toPosition: Int)
} | 0 | Kotlin | 4 | 40 | d767ad0d5b778b14fc68809e265bec5633b2aaed | 135 | TaiwanEbookSearch | MIT License |
plugins/docker/src/main/kotlin/io/paddle/plugin/docker/extensions/JsonSchema.kt | JetBrains-Research | 377,213,824 | false | null | package io.paddle.plugin.docker.extensions
import io.paddle.project.PaddleProject
import io.paddle.schema.extensions.*
import io.paddle.utils.ext.Extendable
class JsonSchema(extensions: List<JsonSchemaPart>) : BaseJsonSchemaExtension(extensions) {
object Extension : PaddleProject.Extension<JsonSchema> {
o... | 13 | Kotlin | 6 | 20 | 42a26a7f5815961d564f71e3606252fab7a87f82 | 1,036 | paddle | MIT License |
ontrack-extension-github/src/test/java/net/nemerosa/ontrack/extension/github/ingestion/processing/config/ConfigServiceIT.kt | nemerosa | 19,351,480 | false | null | package net.nemerosa.ontrack.extension.github.ingestion.processing.config
import io.mockk.every
import net.nemerosa.ontrack.extension.github.ingestion.AbstractIngestionTestSupport
import net.nemerosa.ontrack.extension.github.ingestion.IngestionHookFixtures
import net.nemerosa.ontrack.extension.github.ingestion.process... | 66 | Kotlin | 27 | 90 | 032e6f0893e22bcb16e2ff8580b4f11e79e81a3a | 4,174 | ontrack | MIT License |
kzen-auto-jvm/src/main/kotlin/tech/kzen/auto/server/objects/sequence/step/logic/LogicalAndStep.kt | alexoooo | 131,353,826 | false | {"Kotlin": 2089679, "Java": 163744, "CSS": 5632, "JavaScript": 796} | package tech.kzen.auto.server.objects.sequence.step.logic
import tech.kzen.auto.server.objects.sequence.api.TracingSequenceStep
import tech.kzen.auto.server.objects.sequence.model.StepContext
import tech.kzen.auto.server.service.v1.model.LogicResult
import tech.kzen.auto.server.service.v1.model.LogicResultSuccess
impo... | 0 | Kotlin | 0 | 1 | 0170b6a2ddc3343bbf645c81273bb551524eba89 | 1,765 | kzen-auto | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.