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
Wechat_chatroom_helper_android/app/src/main/kotlin/com/zdy/project/wechat_chatroom_helper/ui/helper/MyApplication.kt
secice
114,743,669
false
{"Markdown": 1, "Text": 1, "Ignore List": 3, "Java Properties": 2, "Gradle": 4, "Shell": 1, "Batchfile": 1, "INI": 1, "XML": 16, "Java": 20, "Proguard": 1, "Kotlin": 12}
package ui import android.app.Application import android.content.pm.PackageInfo import android.content.pm.PackageManager import com.tencent.bugly.Bugly import com.zdy.project.wechat_chatroom_helper.Constants import utils.AppSaveInfoUtils /** * Created by Mr.Zdy on 2017/10/19. */ class MyApplication : Application() ...
1
null
1
1
bb6689c39161c35003186abffc5f9f52e7bd4a6b
1,735
WechatChatroomHelper
Apache License 2.0
app/src/main/java/io/horizontalsystems/bankwallet/modules/basecurrency/BaseCurrencySettingsFragment.kt
horizontalsystems
142,825,178
false
null
package io.horizontalsystems.bankwallet.modules.basecurrency import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.core.view.isVisible import androidx.fragment.app.viewModels import androidx.recyclerview.widget.ConcatAdapter import androidx.r...
136
null
219
402
5ce20e6e4e0f75a76496051ba6f78312bc641a51
5,096
unstoppable-wallet-android
MIT License
app/src/main/java/taco/scoop/util/PreferenceHelper.kt
X1nto
374,963,643
false
null
package taco.scoop.util import android.content.Context import android.content.SharedPreferences import android.content.res.Resources import androidx.annotation.StringRes import androidx.core.content.edit import androidx.preference.PreferenceManager import taco.scoop.R object PreferenceHelper { private lateinit va...
0
null
0
1
26992cbd963c436e7d7fc6c5873f7cadb1e76d36
2,507
Scoop
Apache License 2.0
bug-translucent/src/main/java/com/example/cm/bug1/AdjustPanActivity.kt
410063005
132,123,442
false
{"Java": 122870, "Kotlin": 50399}
package com.example.cm.bug1 import android.content.Context import android.content.Intent import android.os.Bundle import android.support.design.widget.TabLayout import android.support.v4.view.ViewPager import android.support.v7.app.AppCompatActivity import kotlinx.android.synthetic.main.activity_single_child_ime.* /*...
1
null
1
1
3dd2a981a5b50045eaeac60482aacf16e840e365
1,145
FragmentLifeCircle
Apache License 2.0
src/main/kotlin/com/zp4rker/discore/console/ConsoleCommand.kt
zpdev
119,392,704
false
null
package com.zp4rker.discore.console /** * @author zp4rker * * Console command interface. */ interface ConsoleCommand { fun handleCommand(command: String, params: Array<String>) }
0
Kotlin
0
2
6ee0cfbb2c99dbe517960bb5cdabc5242dd8e6ea
189
discore
Apache License 2.0
ui/src/main/java/com/sunblackhole/android/alActivity/AliRegistActivity.kt
kunlunhundun
197,153,365
false
null
package com.sunblackhole.android.alActivity import android.content.Intent import android.os.Bundle import android.text.InputType import android.widget.Button import androidx.core.content.ContextCompat import com.crashlytics.android.Crashlytics import com.hjq.toast.ToastUtils import com.trello.rxlifecycle2.android.Acti...
1
null
1
1
6007e09e0d3d4d081953145f413e8c0a9e239d70
7,610
sonicdandroid
Apache License 2.0
compiler/testData/diagnostics/tests/generics/multipleBoundsMemberScope/validTypeParameters.fir.kt
android
263,405,600
false
null
// !CHECK_TYPE interface A { fun <T, E> foo(): E } interface B { fun <Q, W> foo(): W } fun <T> test(x: T) where T : B, T : A { x.<!AMBIGUITY!>foo<!><String, Int>().<!INAPPLICABLE_CANDIDATE!>checkType<!> { <!UNRESOLVED_REFERENCE!>_<!><Int>() } }
0
null
37
316
74126637a097f5e6b099a7b7a4263468ecfda144
260
kotlin
Apache License 2.0
app/src/main/java/com/angcyo/runoob/bean/HomeBean.kt
angcyo
95,297,132
false
null
package com.angcyo.runoob.bean /** * Copyright (C) 2016,深圳市红鸟网络科技股份有限公司 All rights reserved. * 项目名称: * 类的描述: * 创建人员:Robi * 创建时间:2017/06/28 16:29 * 修改人员:Robi * 修改时间:2017/06/28 16:29 * 修改备注: * Version: 1.0.0 */ data class HomeBean( var category: String? = null, var subBean: ArrayList<HomeSubBea...
1
null
1
2
5fd248c4a984038e03a9236f7305c1aac374bb12
633
Runoob
Apache License 2.0
Wikipedia/app/src/main/java/com/example/wikipedia/activities/ArticleDetailActivity.kt
denicos
196,830,134
false
{"Text": 117, "Microsoft Visual Studio Solution": 17, "Ignore List": 36, "Git Attributes": 2, "Markdown": 3, "C#": 163, "XML": 658, "JSON": 31, "Smalltalk": 24, "HTML+Razor": 50, "HTML": 46, "CSS": 129, "JavaScript": 220, "SCSS": 11, "SVG": 31, "Gradle": 51, "Java Properties": 30, "Shell": 17, "Batchfile": 21, "Proguar...
package com.example.wikipedia.activities import android.os.Bundle import android.view.MenuItem import androidx.appcompat.app.AppCompatActivity import androidx.appcompat.widget.Toolbar import com.example.wikipedia.R import kotlinx.android.synthetic.main.activity_article_detail.* class ArticleDetailActivity : AppCompat...
2
Python
0
1
a0a201f3f1d5e96cace2f49716738a4e2e4b91dc
766
android_andela
MIT License
firefly-example/src/main/kotlin/com/firefly/example/kotlin/http/hello/HandlerListener.kt
ycmag
166,021,218
true
{"Java": 4009875, "Kotlin": 147949, "HTML": 11290, "JavaScript": 2049, "CSS": 759}
package com.firefly.example.kotlin.http.hello import com.firefly.codec.http2.model.HttpMethod import com.firefly.kotlin.ext.common.firefly import com.firefly.kotlin.ext.http.HttpServer import com.firefly.kotlin.ext.http.asyncNext import com.firefly.kotlin.ext.http.asyncSubmit import com.firefly.kotlin.ext.http.asyncSu...
0
Java
0
0
ed3fc75b7c54a65b1e7d8141d01b49144bb423a3
1,637
firefly
Apache License 2.0
src/main/kotlin/chapter11/DatingService.kt
jatzuk
191,218,152
false
{"Gradle": 2, "INI": 1, "Shell": 1, "Text": 2, "Ignore List": 1, "Batchfile": 1, "Markdown": 1, "Java Properties": 1, "Kotlin": 31, "Java": 1}
package chapter11 import java.lang.reflect.InvocationHandler import java.lang.reflect.InvocationTargetException import java.lang.reflect.Method import java.lang.reflect.Proxy /* * Created with passion and love * for project HeadFirstDesignPatterns * by Jatzuk on 25.06.2019 * ...
0
Kotlin
0
0
2dccd59897612e544c92832daa95fbc0a274b691
2,740
HeadFirstDesignPatterns
MIT License
app/src/main/java/com/ead/project/dreamer/data/models/server/Uqload.kt
darkryh
490,353,600
false
{"Kotlin": 798502, "Java": 7699}
package com.ead.project.dreamer.data.models.server import com.ead.project.dreamer.data.models.EmbedServer import com.ead.project.dreamer.data.models.Player import org.jsoup.Jsoup class Uqload (embeddedUrl:String) : EmbedServer(embeddedUrl,Player.Uqload) { override fun checkIfVideoIsAvailable(): Boolean { ...
0
Kotlin
1
0
e729c346f562779ec43982802779b35abeabe51b
521
Dreamer
MIT License
data/src/main/kotlin/team/applemango/runnerbe/data/register/login/repository/AccessTokenRepositoryImpl.kt
ricky-buzzni
485,390,072
false
{"Kotlin": 615137}
/* * RunnerBe © 2022 Team AppleMango. all rights reserved. * RunnerBe license is under the MIT. * * [KakaoLogin.kt] created by <NAME> on 22. 2. 5. 오후 10:36 * * Please see: https://github.com/applemango-runnerbe/RunnerBe-Android/blob/main/LICENSE. */ package team.applemango.runnerbe.data.register.login.repositor...
0
null
0
0
f48fb298c07732a9c32afcff0bddb16f9fe2e37a
3,594
RunnerBe-Android
MIT License
app/src/main/java/com/example/shopping/data/model/profileDetails/ProfileModel.kt
shadyafif
416,421,403
false
{"Kotlin": 136352}
package com.example.shopping.data.model.profileDetails data class ProfileModel( val `data`: Data, val message: Any, val status: Boolean )
0
Kotlin
1
1
c4bd4542b65155fd5e11055eac8ced5e2b273163
150
E-Commerce
MIT License
platform/platform-impl/src/com/intellij/workspaceModel/ide/impl/jps/serialization/DelayedProjectSynchronizer.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.workspaceModel.ide.impl.jps.serialization import com.intellij.openapi.diagnostic.logger import com.intellij.openapi.extensions.ExtensionPointName import com.intellij.openapi.pro...
191
null
4372
13,319
4d19d247824d8005662f7bd0c03f88ae81d5364b
2,290
intellij-community
Apache License 2.0
java/java-analysis-api/src/com/intellij/lang/jvm/actions/valueFactory.kt
stroyerr
401,048,382
true
null
// Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.lang.jvm.actions import com.intellij.lang.jvm.JvmLongImpl fun createLongValue(value: Long) = JvmLongImpl(value)
0
null
0
0
04f1339375633c0129929d05d7744bfdd1a93a9a
293
intellij-community
Apache License 2.0
src/bot.kt
rtmiu
100,503,610
false
null
import net.dv8tion.jda.core.AccountType import net.dv8tion.jda.core.JDA import net.dv8tion.jda.core.JDABuilder import net.dv8tion.jda.core.entities.Game class TabbyBot(token: String) { val builder: JDABuilder = JDABuilder(AccountType.BOT).setToken(token) fun start() { println("Starting up TabbyBot......
0
Kotlin
0
0
a4be118654c84c0768596ce9936a549abfd9889d
501
TabbyFabby
MIT License
src/main/kotlin/utilities/UnionFind.kt
kirimin
197,707,422
false
null
package utilities class UnionFind(n: Int) { private val parent = IntArray(n) { -1 } fun root(x: Int): Int { if (parent[x] < 0) return x parent[x] = root(parent[x]) return parent[x] } fun isSameRoot(x: Int, y: Int) = root(x) == root(y) fun merge(x: Int, y: Int) { v...
0
Kotlin
1
5
dbc2bff5ecd66a6f8a2f0abfd2a64d3505bdcead
734
AtCoderLog
The Unlicense
brainz/src/main/kotlin/crackers/kobots/app/RotoRegulator.kt
EAGrahamJr
564,081,499
false
{"Kotlin": 77448, "Shell": 2375}
/* * Copyright 2022-2024 by <NAME>, Jr. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
0
Kotlin
0
1
bc5a2be28eabf2d1f1358ce4cd856bea4a157be5
1,839
kobots
Apache License 2.0
NoPlacesBarFileChooser/src/main/kotlin/example/App.kt
aterai
158,348,575
false
null
package example import java.awt.* import javax.swing.* fun makeUI(): Component { val log = JTextArea() val button1 = JButton("noPlacesBar") button1.addActionListener { UIManager.put("FileChooser.noPlacesBar", true) val fileChooser = JFileChooser() val retValue = fileChooser.showOpenDialog(log.rootP...
0
null
6
9
47a0c684f64c3db2c8b631b2c20c6c7f9205bcab
1,460
kotlin-swing-tips
MIT License
app/src/main/java/com/aravind/pepultask/data/remote/NetworkService.kt
SusiAravind
495,264,207
false
{"Kotlin": 56831}
package com.aravind.pepultask.data.remote import com.aravind.pepultask.data.remote.response.GeneralResponse import com.aravind.pepultask.data.remote.response.PostListResponse import okhttp3.MultipartBody import retrofit2.http.* import javax.inject.Singleton @Singleton interface NetworkService { @GET(Endpoints.AL...
0
Kotlin
0
0
93d017a89dd2d460393fe7b8de15f3f5fc19125e
716
pepul
Apache License 2.0
dsl/src/main/kotlin/com/faendir/awscdkkt/generated/services/medialive/InputSettingsPropertyDsl.kt
F43nd1r
643,016,506
false
null
package com.faendir.awscdkkt.generated.services.medialive import com.faendir.awscdkkt.AwsCdkDsl import javax.`annotation`.Generated import kotlin.Unit import software.amazon.awscdk.services.medialive.CfnChannel @Generated public fun buildInputSettingsProperty(initializer: @AwsCdkDsl CfnChannel.InputSettingsProper...
1
Kotlin
0
0
b22e397ff37c5fce365a5430790e5d83f0dd5a64
453
aws-cdk-kt
Apache License 2.0
injective-core/src/commonMain/kotlin/injective/exchange/v1beta1/events.kt
jdekim43
759,720,689
false
{"Kotlin": 8940168, "Java": 3242559}
// Transform from injective/exchange/v1beta1/events.proto @file:ProtobufSyntax(syntax = "PROTO3") @file:GeneratorVersion(version = "0.3.1") package injective.exchange.v1beta1 import cosmos.base.v1beta1.Coin import kotlin.Boolean import kotlin.ByteArray import kotlin.String import kotlin.UInt import kotlin.ULong impor...
0
Kotlin
0
0
eb9b3ba5ad6b798db1d8da208b5435fc5c1f6cdc
45,032
chameleon.proto
Apache License 2.0
straight/src/commonMain/kotlin/me/localx/icons/straight/outline/LacrosseStickBall.kt
localhostov
808,861,591
false
{"Kotlin": 79430321, "HTML": 331, "CSS": 102}
package me.localx.icons.straight.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.Mite...
1
Kotlin
0
5
cbd8b510fca0e5e40e95498834f23ec73cc8f245
4,118
icons
MIT License
api/src/test/kotlin/net/myna/mnbt/exceptionsTest/ExceptionsTest.kt
Cmyna
594,304,817
false
null
package net.myna.mnbt.exceptionsTest import net.myna.mnbt.IdTagCompound import net.myna.mnbt.IdTagEnd import net.myna.mnbt.IdTagList import net.myna.mnbt.Tag import net.myna.mnbt.codec.binary.BinaryCodecInstances import net.myna.mnbt.codec.userDecodeIntent import net.myna.mnbt.codec.userEncodeIntent import net.myna.m...
0
Kotlin
0
0
66cb51428a0aeec7773929a510b57530d4846eca
9,533
mnbt-in-development-
Apache License 2.0
app/src/main/java/com/gmail/uli153/rickmortyandulises/data/daos/EpisodeDao.kt
ulisescervera
650,700,267
false
null
package com.gmail.uli153.rickmortyandulises.data.daos import androidx.room.Dao import androidx.room.Insert import androidx.room.OnConflictStrategy import androidx.room.Query import com.gmail.uli153.rickmortyandulises.data.entities.EpisodeEntity @Dao interface EpisodeDao { @Insert(onConflict = OnConflictStrategy....
0
Kotlin
0
0
d74245eda22dd53651e2adae056fb91eb91133e8
514
rickmortyandulises
MIT License
app/src/main/java/com/yoesuv/infomadiun/menu/other/views/ChildFragmentInfo.kt
yoesuv
133,134,980
false
{"Gradle Kotlin DSL": 3, "Markdown": 2, "Java Properties": 2, "Text": 1, "Shell": 1, "Ignore List": 3, "Batchfile": 1, "YAML": 1, "JSON": 2, "Proguard": 1, "Java": 2, "XML": 55, "Kotlin": 66}
package com.yoesuv.infomadiun.menu.other.views import android.content.Intent import androidx.databinding.DataBindingUtil import android.net.Uri import android.os.Bundle import androidx.fragment.app.Fragment import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import com.yoesuv.info...
0
Kotlin
3
3
f933d0d25535d780ea5a3c94b045d4e35290651e
1,249
ExploreMadiun
Apache License 2.0
android/app/src/main/kotlin/com/example/medico_medical_flutter/MainActivity.kt
anushenoy0
374,086,954
false
{"Dart": 152280, "Ruby": 1354, "Swift": 489, "Kotlin": 139, "Objective-C": 38}
package com.example.medico_medical_flutter import io.flutter.embedding.android.FlutterActivity class MainActivity: FlutterActivity() { }
0
Dart
0
0
52c6bea5822910874a178fd19049bc5f544d6844
139
medico_medical_flutter
MIT License
libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/room/RustRoomFactory.kt
element-hq
546,522,002
false
null
/* * Copyright (c) 2024 New Vector Ltd * * 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 agr...
243
null
113
851
3d27f26d3c399f28e1eedd5362cff537b09b7dee
5,591
element-x-android
Apache License 2.0
compose/ui/ui-geometry/src/test/kotlin/androidx/compose/ui/geometry/MutableRectTest.kt
RikkaW
389,105,112
false
null
/* * Copyright 2018 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...
30
null
974
7
6d53f95e5d979366cf7935ad7f4f14f76a951ea5
2,941
androidx
Apache License 2.0
libraries/kotlin-swing/src/main/kotlin/kotlin/swing/BorderPanel.kt
chirino
3,596,099
true
null
package kotlin.swing import javax.swing.* import java.awt.event.* import java.awt.* // TODO ideally should use BorderPanel as only that class should have // the north / south / east west properties fun borderPanel(init: JPanel.() -> Unit): JPanel { val p = JPanel() p.init() return p } /** TODO compile...
0
Java
28
71
ac434d48525a0e5b57c66b9f61b388ccf3d898b5
2,018
kotlin
Apache License 2.0
player/playback-engine/src/test/kotlin/com/tidal/sdk/player/playbackengine/mediasource/streamingsession/StreamingSessionCreatorTest.kt
tidal-music
806,866,286
false
null
package com.tidal.sdk.player.playbackengine.mediasource.streamingsession import com.tidal.sdk.player.common.Configuration import com.tidal.sdk.player.common.model.ProductType import com.tidal.sdk.player.commonandroid.TrueTimeWrapper import com.tidal.sdk.player.events.EventReporter import com.tidal.sdk.player.events.mo...
33
null
0
23
1f654552133ef7794fe9bb7677bc7fc94c713aa3
2,533
tidal-sdk-android
Apache License 2.0
network/src/main/java/com/zlagi/network/model/request/PasswordRequest.kt
Zlagi
475,379,557
false
{"Kotlin": 496613}
package com.zlagi.network.model.request data class PasswordRequest( val currentPassword: String, val newPassword: String, val confirmNewPassword: String )
0
Kotlin
12
63
dffd07e8533c285bb5ca9de4e9676985aa0e87cc
168
Blogfy
Apache License 2.0
app/src/main/java/sh/xsl/reedisland/screens/comments/CommentsFragment.kt
xslingcn
500,378,553
false
{"Kotlin": 786534, "HTML": 16531}
/* * Copyright 2020 Fishballzzz * * * * 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...
2
Kotlin
2
5
a950d1b58dfcf3153d6cf407daae1696cc8ecbc6
36,513
ReedIsland
Apache License 2.0
app/src/main/java/com/google/samples/apps/sunflower/mvvm/garden/garden_planting/GardenFragment.kt
azisnaufal
190,738,715
true
{"Kotlin": 60269}
package com.google.samples.apps.sunflower.mvvm.garden.garden_planting import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.fragment.app.Fragment import androidx.fragment.app.viewModels import androidx.lifecycle.Observer import androidx.viewp...
0
Kotlin
2
1
905abe0f990db73e83e59004a1a042bb5f323a65
2,006
android-mvvm-template
Apache License 2.0
kakao/src/main/kotlin/io/github/kakaocup/kakao/screen/ScreenActions.kt
KakaoCup
370,697,938
false
{"Kotlin": 325884, "Ruby": 148}
@file:Suppress("unused") package com.agoda.kakao.screen import androidx.test.espresso.action.EspressoKey import androidx.test.espresso.action.ViewActions import com.agoda.kakao.delegate.ViewInteractionDelegate /** * Interface with common actions for all screens * * Provides basic actions that can be performed on ...
13
Kotlin
28
330
578e2c729541e51cd584159404417234f0cbbce1
1,257
Kakao
Apache License 2.0
rslash/src/main/kotlin/com/imashnake/animite/rslash/RSlashScreen.kt
imashnake0
461,101,703
false
null
package com.imashnake.animite.rslash import androidx.compose.foundation.background import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.material3.MaterialTheme import androidx.compose.runtime.Composable import androidx.compose.ui.Alignment import a...
8
null
13
90
bdcd2036cabb527b149c6df698bd604bc2a1edaa
895
Animite
Apache License 2.0
bbfgradle/tmp/results/BACKUP_JVM-Xuse-ir/BACKEND_hhrrgki_FILE.kt
DaniilStepanov
346,008,310
false
{"Markdown": 122, "Gradle": 762, "Gradle Kotlin DSL": 649, "Java Properties": 23, "Shell": 49, "Ignore List": 20, "Batchfile": 26, "Git Attributes": 8, "Kotlin": 82508, "Protocol Buffer": 12, "Java": 6674, "Proguard": 12, "XML": 1698, "Text": 13298, "INI": 221, "JavaScript": 294, "JAR Manifest": 2, "Roff": 217, "Roff M...
// Bug happens on JVM -Xuse-ir // FILE: tmp0.kt val fld: Int = TODO() get() = field + (Any)?::class
1
null
1
1
e772ef1f8f951873ebe7d8f6d73cf19aead480fa
112
kotlinWithFuzzer
Apache License 2.0
app/src/main/java/dev/berwyn/jellybox/ui/screens/HomeScreen.kt
berwyn
586,199,884
false
{"Kotlin": 118096}
package dev.berwyn.jellybox.ui.screens import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.padding import androidx.compose.material3.Scaffold import androidx.compose.material3.Text import androidx.compose.runtime.Composable import and...
0
Kotlin
0
0
eab4d3d700a87921137917342c008508a49adefc
2,824
jellybox
Apache License 2.0
src/main/kotlin/com/wrike/sprinter/settings/SharedJvmSettingsStates.kt
wrike
632,906,511
false
null
package com.wrike.sprinter.settings import com.intellij.openapi.components.PersistentStateComponent import com.intellij.openapi.components.RoamingType import com.intellij.openapi.components.State import com.intellij.openapi.components.Storage import com.intellij.openapi.project.Project import com.intellij.util.xmlb.Xm...
1
null
1
9
6b8d09afa18b1ef568339b7d872419437b7d4af4
2,084
sprinter-idea-plugin
Apache License 2.0
compiler/testData/codegen/box/sam/samConstructorGenericSignature.kt
bruna17
337,807,306
true
null
// IGNORE_BACKEND_FIR: JVM_IR // DONT_TARGET_EXACT_BACKEND: JS JS_IR JS_IR_ES6 WASM NATIVE // SKIP_JDK6 // WITH_RUNTIME // MODULE: lib // FILE: JavaClass.java class JavaClass { interface Computable<T> { T compute(); } static <T> T compute(Computable<T> computable) { return computable.compu...
0
null
0
0
6eaf0a95cab782dfac58e106776e1ff26e73e979
691
kotlin
Apache License 2.0
server/src/main/kotlin/com/thoughtworks/archguard/scanner2/infrastructure/mysql/AccessRepositoryImpl.kt
archguard
460,910,110
false
{"Kotlin": 1763628, "Java": 611399, "TypeScript": 11395, "C#": 5593, "Dockerfile": 2549, "C": 1223, "Shell": 926, "JavaScript": 400, "Go": 291, "Scala": 97, "Python": 42, "Rust": 32}
package com.thoughtworks.archguard.scanner2.infrastructure.mysql import com.thoughtworks.archguard.scanner2.domain.model.ClassAccess import com.thoughtworks.archguard.scanner2.domain.model.MethodAccess import com.thoughtworks.archguard.scanner2.domain.repository.AccessRepository import org.jdbi.v3.core.Jdbi import org...
3
Kotlin
89
575
049f3cc8f2c0e2c34e65bb0049f645caa5be9bf8
2,633
archguard
MIT License
app/src/main/java/net/android/app/flickr/domain/useCases/remote/GetImagesUseCase.kt
EngFred
788,088,658
false
{"Kotlin": 62519}
package net.android.app.flickr.domain.useCases.remote import net.android.app.flickr.domain.repository.FlickrRepository import javax.inject.Inject class GetImagesUseCase @Inject constructor( private val flickrRepository: FlickrRepository ) { operator fun invoke() = flickrRepository.getImages() }
0
Kotlin
0
0
3f88f9747a75c6d8c8099be87b55226d8083ccf3
305
Flickr
MIT License
src/test/kotlin/com/forgerock/uk/openbanking/tests/functional/account/parties/junit/v3_1_10/GetAccountPartiesTest.kt
SecureApiGateway
330,627,234
false
null
package com.forgerock.uk.openbanking.tests.functional.account.parties.junit.v3_1_10 import com.forgerock.securebanking.framework.extensions.junit.CreateTppCallback import com.forgerock.securebanking.framework.extensions.junit.EnabledIfVersion import com.forgerock.securebanking.openbanking.uk.common.api.meta.obie.OBVer...
2
Kotlin
0
4
339d5db69dd11cc10a93116d9bbc9d187969fc46
888
securebanking-openbanking-uk-functional-tests
Apache License 2.0
kotlin-mui-icons/src/main/generated/mui/icons/material/AodRounded.kt
JetBrains
93,250,841
false
null
// Automatically generated - do not modify! @file:JsModule("@mui/icons-material/AodRounded") package mui.icons.material @JsName("default") external val AodRounded: SvgIconComponent
10
null
5
983
7ef1028ba3e0982dc93edcdfa6ee1edb334ddf35
184
kotlin-wrappers
Apache License 2.0
src/main/kotlin/club/anifox/backend/jpa/repository/anime/AnimeStudiosRepository.kt
DeNyWho
649,026,698
false
{"Kotlin": 255729}
package club.anifox.backend.jpa.repository.anime import club.anifox.backend.jpa.entity.anime.AnimeStudioTable import org.springframework.data.jpa.repository.JpaRepository import org.springframework.data.jpa.repository.Query import org.springframework.stereotype.Repository import java.util.* @Repository interface Anim...
0
Kotlin
0
0
35505b0c8a94c2fa2757fe73f645539088633711
520
Anifox_Backend
Apache License 2.0
library/src/main/java/me/hacket/library/ActivityResultHelperExt.kt
hacket
557,395,107
false
{"Kotlin": 36823, "Java": 2663}
@file:JvmName("ActivityResultHelperExt") package me.hacket.library import android.Manifest import android.app.Activity import android.content.Intent import android.net.Uri import android.os.Bundle import androidx.fragment.app.Fragment import kotlinx.coroutines.suspendCancellableCoroutine import kotlin.coroutines.resu...
0
Kotlin
0
8
5a904e1f1a87c6bb25d7b309a8d4231dfb7c3c33
12,356
ActivityResultHelper
Apache License 2.0
pendant-starlark/src/jvmMain/kotlin/io/morfly/pendant/starlark/writer/StarlarkFileWriter.kt
Morfly
699,622,261
false
null
/* * Copyright 2023 <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
null
0
3
1d9e226088ecdb5fc1b32eecfc9fa16dde99dec8
1,765
pendant
Apache License 2.0
optikal/src/main/kotlin/optikal/optics/Getter.kt
nomisRev
102,127,295
false
null
package optikal.optics import kategory.Either import kategory.Monoid import kategory.Option import kategory.Tuple2 import kategory.compose import kategory.identity import kategory.none import kategory.some import kategory.toT /** * A [Getter] can be seen as a glorified get method between a type A and a type B. * *...
0
Kotlin
1
8
8f4ecd91cb346422e2158dd0b908e2dba402d64e
2,511
optikal
Apache License 2.0
app/src/main/java/cryptography/biometric/ui/main/MainScope.kt
dinkar1708
228,645,103
false
null
package cryptography.biometric.ui.main import javax.inject.Scope /** * Identifies a type that the injector only for main * */ @Scope @MustBeDocumented @Retention(AnnotationRetention.RUNTIME) annotation class MainScope
0
Kotlin
0
0
06e31f8fc491cdc216f466f56594d979f8c667c2
223
biometric-cryptography-android
Apache License 2.0
hubdle-gradle-plugin/testFunctional/resources/kotlin/multiplatform/publishing/normal-2/macos/main/kotlin/MacosMain.kt
JavierSegoviaCordoba
348,863,451
false
{"Kotlin": 501794, "Shell": 21101, "Perl": 4726, "CSS": 195}
package com.kotlin.multiplatform.sandbox.project object MacosMain { fun platform() = Platform.name }
15
Kotlin
8
26
b8ad1c953125b6a94832e34ec53dcd7042fe7cf6
106
hubdle
Apache License 2.0
app/src/main/java/com/dan/lndpandroid/LNDocumentsProvider.kt
danopdev
334,674,896
false
null
package com.dan.lndpandroid import android.annotation.SuppressLint import android.content.Context import android.content.res.AssetFileDescriptor import android.database.Cursor import android.database.MatrixCursor import android.graphics.Point import android.net.ConnectivityManager import android.net.Network import and...
0
Kotlin
0
1
4e591a5a44025a598d8a764d141083ce4e6fdc0d
24,415
LNDP-Android
MIT License
ms/blueprintsprocessor/functions/resource-resolution/src/test/kotlin/org/onap/ccsdk/apps/blueprintsprocessor/functions/resource/resolution/processor/CapabilityResourceAssignmentProcessorTest.kt
YMalakov
171,684,193
true
{"Kotlin": 907808, "Java": 693579, "Shell": 39021, "Python": 18489, "Dockerfile": 2736, "Groovy": 2304, "PLSQL": 2262}
/* * Copyright © 2017-2018 AT&T Intellectual Property. * * Modifications Copyright © 2019 IBM, Bell Canada. * * 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....
0
Kotlin
0
0
01eff6bc81499a9e41395f6b384a5e893b366505
5,629
ccsdk-apps
Apache License 2.0
app/src/main/java/com/luckhost/lockscreen_notes/presentation/openNote/OpenNoteViewModel.kt
LuckHost
818,856,648
false
{"Kotlin": 163005}
package com.luckhost.lockscreen_notes.presentation.openNote import android.content.ContentResolver import android.content.Context import android.net.Uri import android.provider.OpenableColumns import androidx.compose.runtime.mutableStateListOf import androidx.compose.runtime.toMutableStateList import androidx.compose....
0
Kotlin
0
1
06533fde3ad8b5ca7da510088fec072d2405b237
5,350
anynote_android
The Unlicense
plugin-apipost/src/main/kotlin/me/leon/toolsfx/plugin/JsonPretty.kt
Leon406
381,644,086
false
null
package me.leon.toolsfx.plugin fun String.prettyJson(): String { if (!startsWith("{") && !startsWith("[")) return this var indentNumber = 0 // two space val s = " " var quoteCount = 0 val tmp = uglyJson() return tmp.foldIndexed(StringBuilder()) { index, acc, c -> if (quoteCoun...
4
Kotlin
209
941
bfbdc980e6c0eade4612be955845ba4d8bcefde4
2,025
ToolsFx
ISC License
core/core-designsystem/src/main/kotlin/com/maximillianleonov/musicmax/core/designsystem/component/TopAppBar.kt
MaximillianLeonov
559,137,206
false
null
/* * Copyright 2023 KDW03 * * 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 agreed to in wr...
5
null
5
61
29dd1c65e202aae78d6565c6490e3019d921fb23
2,888
Musicmax
Apache License 2.0
app/src/main/java/com/nicos/pokedex_compose/utils/extensions/extensions.kt
NicosNicolaou16
789,549,311
false
null
package com.nicos.pokedex_compose.utils.extensions import android.content.Context import android.graphics.Bitmap import android.graphics.drawable.Drawable import androidx.core.graphics.drawable.toBitmap import androidx.palette.graphics.Palette import androidx.swiperefreshlayout.widget.CircularProgressDrawable import j...
0
null
0
8
2c1754c1c593899ad6394f1dd9ce3400379cda60
1,132
Pokedex_Compose
Apache License 2.0
src/test/kotlin/no/nav/syfo/ExtractSykmeldingTest.kt
navikt
145,608,534
false
null
package no.nav.syfo import no.nav.helse.eiFellesformat.XMLEIFellesformat import no.nav.syfo.util.extractHelseOpplysningerArbeidsuforhet import no.nav.syfo.util.fellesformatUnmarshaller import no.nav.syfo.utils.getFileAsString import org.junit.jupiter.api.Assertions import org.junit.jupiter.api.Test import java.io.Stri...
4
Kotlin
1
0
df1a738625b8f02b1564ff984f109c47d4e99467
1,273
syfosmmottak
MIT License
exposed-tests/src/test/kotlin/org/jetbrains/exposed/sql/tests/shared/dml/ExistsTests.kt
JetBrains
11,765,017
false
null
package org.jetbrains.exposed.sql.tests.shared.dml import org.jetbrains.exposed.sql.* import org.jetbrains.exposed.sql.SqlExpressionBuilder.case import org.jetbrains.exposed.sql.SqlExpressionBuilder.eq import org.jetbrains.exposed.sql.SqlExpressionBuilder.like import org.jetbrains.exposed.sql.tests.DatabaseTestsBase i...
248
null
693
8,319
95712943cc3550e4018342d725b42371808be845
3,084
Exposed
Apache License 2.0
src/test/kotlin/derivean/rest/public/user/endpoint/LoginEndpointTest.kt
marek-hanzal
259,577,282
false
null
package derivean.rest.public.user.endpoint import derivean.TestContainer import derivean.rest.HttpServerContext import io.ktor.client.call.* import io.ktor.client.features.* import io.ktor.http.* import io.ktor.util.* import kotlinx.coroutines.runBlocking import leight.rest.ValidationResponse import org.junit.Test imp...
112
Kotlin
0
1
7a485228438c5fb9a61b1862e8164f5e87361e4a
1,336
DeRivean
Apache License 2.0
semantic-directory/src/main/kotlin/it/petretiandrea/sw/directory/parsing/TDParser.kt
petretiandrea
261,586,202
false
null
package it.petretiandrea.sw.directory.parsing import it.petretiandrea.sw.core.parsing.TDValidator import it.petretiandrea.sw.core.ThingDescriptionRDF import it.petretiandrea.sw.directory.parsing.jsonld.JSONLDParser import it.petretiandrea.sw.directory.parsing.jsonld.JSONLDParserFactory import org.json.JSONObject inte...
0
Kotlin
0
1
c6255231c79872479b789c2542e6a4dba43fbff5
768
sw-wot
Apache License 2.0
demokotlin/src/main/java/com/quwan/tt/router/demo/kotlin/KotlinActivity.kt
heqinglin8
262,018,867
true
{"Java": 280407, "Dart": 5403, "Kotlin": 1967, "Shell": 1866}
package com.quwan.tt.router.demo.kotlin import android.annotation.SuppressLint import android.os.Bundle import android.widget.TextView import com.quwan.tt.router.Router import com.quwan.tt.router.annotation.RouterUri import com.tt.lib.app.BaseActivity import com.tt.lib.app.DemoConstant @RouterUri(path = [DemoConstant...
0
Java
0
0
73d8f2a25fbb7b3f2e86da029d6efeeee68b1aea
716
WMRouter
Apache License 2.0
core/photos/src/main/java/st/slex/csplashscreen/core/photos/data/PhotosRepositoryImpl.kt
stslex
413,161,718
false
null
package st.slex.csplashscreen.core.photos.data import st.slex.csplashscreen.core.network.model.remote.image.RemoteImageModel import st.slex.csplashscreen.core.network.source.interf.PhotosNetworkSource import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.withContext class PhotosRepositoryImpl( private v...
2
Kotlin
0
3
60a9a26b597d8d8a3a7749b1506bd7230f04cb06
2,062
CSplashScreen
Apache License 2.0
app/src/main/java/io/github/takusan23/chocodroid/database/entity/DownloadContentDBEntity.kt
takusan23
415,609,153
false
null
package io.github.takusan23.chocodroid.database.entity import androidx.room.ColumnInfo import androidx.room.Entity import androidx.room.PrimaryKey import io.github.takusan23.internet.data.CommonVideoData import io.github.takusan23.internet.data.watchpage.WatchPageData /** * ダウンロードコンテンツデータベースのテーブル * * 動画情報とかダウンロードし...
0
Kotlin
0
1
c96390c806fc7249c4090e784efedb5ba62beebf
2,240
ChocoDroid
Apache License 2.0
compiler/testData/codegen/boxInline/smap/anonymous/object.1.kt
staltz
93,485,627
false
null
import builders.* import kotlin.InlineOption.* fun test(): String { var res = "Fail" call { res = "OK" } return res } fun box(): String { return test() } //SMAP //object.1.kt //Kotlin //*S Kotlin //*F //+ 1 object.1.kt //_DefaultPackage //+ 2 object.2.kt //builders/BuildersPackage //*L...
0
null
0
1
ff00bde607d605c4eba2d98fbc9e99af932accb6
543
kotlin
Apache License 2.0
speaker-verification-service/authserver-app/src/main/kotlin/limdongjin/authserver/entity/PersonRefresh.kt
limdongjin
576,993,934
false
null
package limdongjin.authserver.entity import org.springframework.data.relational.core.mapping.Table @Table("person_refresh") data class PersonRefresh( val id: String, val accessToken: String, val refreshToken: String )
0
Kotlin
1
2
6669b9210758192cd6768983185b23db638d7b75
231
ignkafasr
Apache License 2.0
solve-problog/src/commonMain/kotlin/it/unibo/tuprolog/solve/problog/MutableProblogSolver.kt
tuProlog
230,784,338
false
null
package it.unibo.tuprolog.solve.problog import it.unibo.tuprolog.core.Clause import it.unibo.tuprolog.core.Fact import it.unibo.tuprolog.core.Struct import it.unibo.tuprolog.core.Term import it.unibo.tuprolog.solve.MutableSolver import it.unibo.tuprolog.solve.channel.InputChannel import it.unibo.tuprolog.solve.channel...
92
null
14
93
3223ffc302e5da0efe2b254045fa1b6a1a122519
4,414
2p-kt
Apache License 2.0
src/main/kotlin/xyz/webo/plugins/Routing.kt
believemanasseh
609,058,470
false
null
package xyz.webo.plugins import io.ktor.server.application.* import io.ktor.server.http.content.* import io.ktor.server.response.* import io.ktor.server.routing.* import xyz.webo.routes.adminRouting import xyz.webo.routes.authRouting import xyz.webo.routes.userRouting import java.io.File fun Application.configureRout...
0
Kotlin
0
0
244fda3256f283ba3435346f8959e883c0920853
733
webo-server
Apache License 2.0
composeApp/src/commonMain/kotlin/com/ethossoftworks/land/service/preferences/PreferencesService.kt
ethossoftworks
662,813,245
false
{"Kotlin": 209395, "Swift": 14097, "Shell": 703}
package com.ethossoftworks.land.service.preferences import com.ethossoftworks.land.entity.Contact import com.outsidesource.oskitkmp.file.KMPFileRef import com.outsidesource.oskitkmp.outcome.Outcome import com.outsidesource.oskitkmp.outcome.unwrapOrNull import com.outsidesource.oskitkmp.storage.IKMPStorage import com.o...
0
Kotlin
0
0
4f80493cb1ddc91b21d077c562d34fe6dbae71db
5,287
LANd
MIT License
plugin-dotnet-agent/src/test/kotlin/jetbrains/buildServer/dotnet/test/dotnet/commands/nuget/NugetCredentialProviderSelectorTest.kt
JetBrains
49,584,664
false
null
/* * 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...
15
Kotlin
23
90
0852b0e89cf930c9c64547c6176d42527a54b9ab
9,681
teamcity-dotnet-plugin
Apache License 2.0
app/src/main/kotlin/com/francescsoftware/mosaic/core/random/RandomGeneratorModule.kt
fvilarino
487,330,720
false
{"Kotlin": 67941}
package com.francescsoftware.mosaic.core.random import dagger.Binds import dagger.Module import dagger.hilt.InstallIn import dagger.hilt.components.SingletonComponent import javax.inject.Singleton @Module @InstallIn(SingletonComponent::class) interface RandomGeneratorModule { @Binds @Singleton fun bindRan...
0
Kotlin
1
2
4b054516345ec19957ea798ba1449728c9ab5903
394
Mosaic
Apache License 2.0
src/test/kotlin/com/ecwid/apiclient/v3/MaskUtilsUnitTest.kt
Ecwid
160,232,759
false
null
package com.ecwid.apiclient.v3 import com.ecwid.apiclient.v3.util.maskApiToken import com.ecwid.apiclient.v3.util.maskAppSecretKey import org.junit.jupiter.api.Assertions.assertEquals import org.junit.jupiter.api.Test class MaskUtilsUnitTest { @Test fun testSecretTokens() { assertEquals("secret_012***890", maskA...
7
Kotlin
10
13
2db2c0002c81fead79f859748effc74aba73e9b7
1,537
ecwid-java-api-client
Apache License 2.0
app/src/main/java/com/mathequations/domain/filters/subtraction/SubtractionLeadingToNonZeroResultFilter.kt
spasarnaudov
758,675,583
false
{"Kotlin": 69064}
package com.mathequations.domain.filters.subtraction import com.mathequations.R import com.mathequations.domain.filters.AbstractEquationFilter class SubtractionLeadingToNonZeroResultFilter : AbstractEquationFilter( name = R.string.subtraction_leading_to_non_zero_result, ) { override fun filter(firstNumber: In...
0
Kotlin
0
0
9ec3957792ac903964f4f177066207687e64212e
407
MathEquations
MIT License
app/src/main/java/com/application/moviesapp/ui/download/DownloadScreen.kt
sheikh-20
676,842,394
false
null
package com.application.moviesapp.ui.download import android.app.Activity import android.content.res.Configuration.UI_MODE_NIGHT_YES import androidx.compose.foundation.clickable import androidx.compose.foundation.interaction.MutableInteractionSource import androidx.compose.foundation.layout.Arrangement import androidx...
0
null
11
67
e6715b607eabc5506114d1597c03772dd68f0835
6,799
MoviesApp
MIT License
src/main/kotlin/instacli/commands/db/SQLiteData.kt
Hes-Siemelink
617,124,378
false
{"Kotlin": 188134, "Shell": 54}
package instacli.commands.db data class SQLiteData( val file: String = "", val update: List<String> = emptyList<String>(), val query: String? = null )
0
Kotlin
0
3
44db2bc551ffca6ec376d0c40dfc39f9dfb11247
164
instacli
Apache License 2.0
SkyNet/app/src/main/java/gdl/dreamteam/skynet/Extensions/ContextExtensions.kt
DreamTeamGDL
100,299,289
false
{"Text": 1, "Ignore List": 3, "Markdown": 1, "Gradle": 3, "Java Properties": 2, "Shell": 1, "Batchfile": 1, "Proguard": 1, "Java": 2, "Kotlin": 36, "XML": 24}
package gdl.dreamteam.skynet.Extensions import android.content.Context import android.widget.Toast /** * Created by christopher on 19/09/17. */ fun Context.shortToast(message: CharSequence) = Toast.makeText(this, message, Toast.LENGTH_SHORT).show() fun Context.longToast(message: CharSequence) = Toast.make...
3
Kotlin
3
2
2a4e14cafef0a0f97eda8c219b19172161d8ceae
365
SkyNet
MIT License
src/main/java/ir/reservs/reservs/utils/EndListener.kt
SajjadSabzkar
363,083,676
false
{"Kotlin": 151278, "Java": 27552}
package ir.reservs.reservs.utils interface EndListener { fun load() }
0
Kotlin
0
0
409f87d2cf0e32716760862a463b998a58aeb76d
74
Reservs
MIT License
app/src/main/java/com/danchoo/sample/gallery/presentation/GalleryContract.kt
danchoo21
447,993,828
false
null
package com.danchoo.sample.gallery.presentation import com.danchoo.sample.gallery.presentation.base.BaseIntent import com.danchoo.sample.gallery.presentation.base.BaseSideEffect import com.danchoo.sample.gallery.presentation.base.BaseViewState object GalleryContract { sealed class GalleryIntent : BaseIntent { ...
0
Kotlin
0
1
9bacbf01f40e76571d368a4ec9cc4d8e464e6d64
559
compose-glide-image
Apache License 2.0
geary-commons-papermc/src/main/kotlin/com/mineinabyss/geary/minecraft/components/Soulbound.kt
MineInAbyss
388,677,224
false
null
package com.mineinabyss.geary.minecraft.components import com.mineinabyss.idofront.serialization.UUIDSerializer import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable import java.util.* @Serializable @SerialName("geary:soulbound") class Soulbound( var owner: @Serializable(with = UUIDSer...
6
Kotlin
2
1
4a7301b8963e369d5e298ef7bf5c5fe2a0536a12
370
Geary-addons
MIT License
core/src/main/java/at/shockbytes/dante/core/book/realm/RealmBookLabel.kt
shockbytes
92,944,830
false
{"Kotlin": 790848}
package at.shockbytes.dante.core.book.realm import io.realm.RealmObject open class RealmBookLabel( var bookId: Long = -1, var title: String = "", var hexColor: String = "" ) : RealmObject()
21
Kotlin
7
73
626fd7c12691be646fcd7b55a9c46539073af675
203
Dante
Apache License 2.0
core/src/main/java/at/specure/info/network/NRConnectionState.kt
specure
296,042,018
true
{"Kotlin": 1267006, "Java": 588093, "HTML": 36596, "Shell": 4061}
package at.specure.android.util.network.network import android.os.Build import android.telephony.TelephonyManager enum class NRConnectionState { NSA, SA, AVAILABLE, NOT_AVAILABLE; companion object { fun getNRConnectionState(telephonyManager: TelephonyManager): NRConnectionState { ...
1
null
1
1
a2cf04e1a92a0accd53a3d62ab65542ee249314a
2,151
open-rmbt-android
Apache License 2.0
sdk/src/main/java/com/eyeson/sdk/model/sepp/base/SeppBaseCommandDto.kt
eyeson-team
488,502,949
false
null
package com.eyeson.sdk.model.sepp.base import com.eyeson.sdk.model.local.base.LocalBaseCommand internal interface SeppBaseCommandDto { val type: String fun toLocal(): LocalBaseCommand }
0
Kotlin
0
3
109d47ab2cfa2e1ac23f900a1ed96ec65054d472
196
android-sdk
MIT License
lib/android/src/main/java/cn/qiuxiang/react/baidumap/modules/BaiduMapGeocodeModule.kt
qiuxiang
116,677,014
false
{"JSON with Comments": 1, "Markdown": 12, "JSON": 4, "JavaScript": 39, "Ignore List": 1, "YAML": 1, "TSX": 5, "Gradle": 4, "Java Properties": 1, "Shell": 2, "Batchfile": 1, "INI": 2, "XML": 8, "Java": 3, "Kotlin": 22, "Objective-C": 34, "Ruby": 2, "OpenStep Property List": 1}
package cn.qiuxiang.react.baidumap.modules import cn.qiuxiang.react.baidumap.toLatLng import cn.qiuxiang.react.baidumap.toWritableMap import com.baidu.mapapi.search.core.SearchResult import com.baidu.mapapi.search.geocode.* import com.facebook.react.bridge.* @Suppress("unused") class BaiduMapGeocodeModule(context: Re...
113
Kotlin
72
329
070ea61df217fdd0737fdf836bfb688de3a87056
3,573
react-native-baidumap-sdk
MIT License
app/src/main/java/com/aoihosizora/desktoptips/ui/contract/MainActivityContract.kt
Aoi-hosizora
213,981,786
false
null
package com.aoihosizora.desktoptips.ui.contract import android.content.Context interface MainActivityContract { interface IView { val groupPresenter: IGroupPresenter val networkPresenter: INetworkPresenter val context: Context fun runOnUiThread(action: Runnable) } interf...
3
Kotlin
0
0
5fd35c8c56e4a94c471bce61f19be5a552f950cc
1,217
DesktopTips_Android
MIT License
db-async-common/src/main/java/com/github/jasync/sql/db/util/ChannelFutureTransformer.kt
mirromutth
176,066,212
false
null
package com.github.jasync.sql.db.util import com.github.jasync.sql.db.exceptions.CanceledChannelFutureException import io.netty.channel.Channel import io.netty.channel.ChannelFuture import io.netty.channel.ChannelFutureListener import java.util.concurrent.CompletableFuture import java.util.concurrent.Executor fun Cha...
9
null
136
2
76854b2df7ba39c4843d8c372343403721c4c8b7
1,685
jasync-sql
Apache License 2.0
acme-web/acme-web-api-test/src/test/kotlin/com/acme/web/api/test/StandaloneAcmeWebServerExtension.kt
mattupstate
496,835,485
false
{"Kotlin": 268791, "HCL": 28862, "HTML": 15841, "Smarty": 9320, "Shell": 2578, "Dockerfile": 460, "PLpgSQL": 179}
package com.acme.web.api.test import com.acme.liquibase.update import com.acme.web.api.AuthenticationConfiguration import com.acme.web.api.DataSourceConfiguration import com.acme.web.api.KetoConfiguration import com.acme.web.api.MainConfiguration import com.acme.web.api.main import com.acme.web.api.security.HeaderAuth...
0
Kotlin
0
6
779d77068adf825b8cacc5902a2a70cf000b6a39
4,507
acme
MIT License
src/main/kotlin/com/easykotlin/reakt/page/PageDto.kt
EasyKotlin
114,452,054
false
null
package com.easykotlin.reakt.page import org.springframework.data.domain.Page class PageDto<T> { var content: Content<T> = Content() } class Content<T> { var data: List<T> = ArrayList() var currentPage = 1 var totalCount = 100L } object PageConterter { fun <T> convert(page: Page<T>, pageDto: Pa...
0
JavaScript
5
16
743aedcb14564868e373953237744b0b13e664c3
554
reakt
Apache License 2.0
src/main/kotlin/org/rust/lang/core/psi/ext/RsPatField.kt
intellij-rust
42,619,487
false
null
/* * Use of this source code is governed by the MIT license that can be * found in the LICENSE file. */ package org.rust.lang.core.psi.ext import com.intellij.psi.PsiElement import org.rust.lang.core.psi.RsPat import org.rust.lang.core.psi.RsPatBinding import org.rust.lang.core.psi.RsPatField import org.rust.lang....
1,841
null
380
4,528
c6657c02bb62075bf7b7ceb84d000f93dda34dc1
1,184
intellij-rust
MIT License
src/test/kotlin/com/developerphil/adbidea/preference/accessor/InMemoryPreferenceAccessor.kt
longforus
146,382,514
false
null
package com.developerphil.adbidea.preference.accessor class InMemoryPreferenceAccessor : PreferenceAccessor { private val prefs = mutableMapOf<String, String>() override fun saveString(key: String, value: String) { prefs[key] = value } override fun getString(key: String, defaultValue: String)...
2
null
3
31
8e3c405ca80b9d341b419d65693d4c4d4e0c546e
424
adb-idea-plus
Apache License 2.0
app/src/main/java/com/bammellab/gamepadtest/AboutActivity.kt
jimandreas
296,296,588
false
null
/* * Copyright 2020 Bammellab / <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 i...
1
Kotlin
2
9
44324dfd7c3bcc60618e5f5902bd93fbde57a8c3
1,341
GamepadTest
Apache License 2.0
keel-web/src/main/kotlin/com/netflix/spinnaker/keel/apidocs/DeliveryArtifactModelConverter.kt
dmart
278,398,832
true
{"Kotlin": 1856517, "Java": 15301, "Shell": 1691}
package com.netflix.spinnaker.keel.apidocs import com.netflix.spinnaker.keel.api.artifacts.DeliveryArtifact import com.netflix.spinnaker.keel.api.plugins.ArtifactSupplier import org.springframework.stereotype.Component @Component class DeliveryArtifactModelConverter( artifactSuppliers: List<ArtifactSupplier<*, *>> ...
0
null
0
0
83e75f3fe9ab8f9dcd1c53d09f38b7a1b67360bf
785
keel
Apache License 2.0
app/src/main/java/com/github/user/soilitouraplication/ui/fullcampaign/FullCampaignAdapter.kt
SoilIt
636,066,421
false
null
package com.github.user.soilitouraplication.ui.fullcampaign import android.annotation.SuppressLint import android.content.Context import android.util.TypedValue import android.view.LayoutInflater import android.view.ViewGroup import androidx.recyclerview.widget.RecyclerView import com.bumptech.glide.Glide import com.b...
0
Kotlin
1
0
8d5f4379fa65fb06921ab2d818e010ac6da85d72
2,600
Mobile-Application
MIT License
libs/project/utils/src/main/java/com/hl/utils/_CollectionUtil.kt
Heart-Beats
473,996,742
false
null
package com.hl.utils /** * @author 张磊 on 2022/12/14 at 23:56 * Email: <EMAIL> * * 集合相关工具类 */ /** * 将 Collection 转为 Json 字符串 */ fun <E> Collection<E>.toJsonString(): String { return GsonUtil.toJson(this) } /** * 将 Map 转为 Json 字符串 */ fun <K, V> Map<K, V>.toJsonString(): String { return GsonUtil.toJson(...
1
null
2
2
3f4fded14746e7aecc5b5625e3b824ab728a865e
529
BaseProject
Apache License 2.0
lib/src/main/java/com/mobilabsolutions/stash/core/internal/RxSchedulers.kt
mobilabsolutions
152,575,999
false
null
package com.mobilabsolutions.stash.core.internal import io.reactivex.Scheduler data class RxSchedulers( val io: Scheduler, val computation: Scheduler, val main: Scheduler )
1
Kotlin
1
2
9a1a5b978e7edc0a29b3360e4018eb9aabb9b27a
186
stash-sdk-android
Apache License 2.0
app/src/main/java/nextrace/app/fragments/search/SearchByTrackFragment.kt
wasilewski-piotr
366,060,930
false
null
package nextrace.app.fragments.search import android.app.Activity import android.content.Context import android.os.Build 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.view.i...
2
Kotlin
0
0
99c58110a1d2ffff950010ab3e64f992623bbc58
5,676
NextRaceAppMobile
Info-ZIP License
app/src/main/java/com/example/dessertclicker/data/GameUiState.kt
Justin-mario
690,953,543
false
null
package com.example.dessertclicker.data import androidx.annotation.DrawableRes data class GameUiState( val revenue: Int = 0, val dessertsSold: Int = 0, val currentDessertIndex: Int = 0, val currentDessertPrice: Int = Datasource.dessertList[currentDessertIndex].price, @DrawableRes val currentDesser...
0
Kotlin
0
0
9d3c2feb20f721248e641255bafc88f7641701b5
390
mobile_desert_clicker_kotlin
Apache License 2.0
src/main/kotlin/models/PeerDidResolverLocal.kt
input-output-hk
670,976,579
false
{"Kotlin": 67274, "Gherkin": 7540}
import com.google.gson.JsonSyntaxException import io.ipfs.multibase.binary.Base64 import org.didcommx.peerdid.* import org.didcommx.peerdid.PeerDID import org.didcommx.peerdid.core.* object PeerDidResolverLocal { fun isPeerDID(peerDID: String): Boolean { val regex = ( "^did:pe...
4
Kotlin
0
3
13882b256bfdbe8ba738c2798dffc0ce25ca52e4
11,254
didcomm-v2-mediator-test-suite
Apache License 2.0
app/src/test/kotlin/io/github/nuhkoca/libbra/domain/mapper/CurrencyViewItemMapperTest.kt
nuhkoca
252,193,036
false
{"Kotlin": 258451, "Shell": 1250, "Java": 620}
/* * Copyright (C) 2020. <NAME>. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
2
Kotlin
11
54
2eee0f81b1d52d37dc0f0b1595bdf30e759f7997
3,635
libbra
Apache License 2.0
android/app/src/main/java/com/kaelesty/audionautica/domain/repos/IAccessRepo.kt
Kaelesty
698,507,418
false
{"Kotlin": 62935, "Python": 14431}
package com.kaelesty.audionautica.domain.repos import com.kaelesty.audionautica.domain.returncodes.CheckConnectionRC import com.kaelesty.audionautica.domain.returncodes.LoginRC import com.kaelesty.audionautica.domain.returncodes.RegisterRC interface IAccessRepo { suspend fun login(email: String, password: String): ...
0
Kotlin
1
1
aeceff48eab5e90608cd30aaa22213e7b0684657
462
project-fullstack-audionautica
The Unlicense
gluecodium/src/main/java/com/here/gluecodium/generator/dart/DartImportsCollector.kt
heremaps
139,735,719
false
null
/* * Copyright (C) 2016-2021 HERE Europe B.V. * * 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...
45
null
9
202
7099f8fd06402b7e3876c2359f10bd1808418a3c
1,570
gluecodium
Apache License 2.0