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
pizzola-core/src/main/kotlin/com/spencerhaan/pizzola/deal/DealRepository.kt
SpencerHaan
162,937,281
false
null
package com.spencerhaan.pizzola.deal class DealRepository { private var deals = mutableMapOf<String, Deal>() fun all() : List<Deal> { return deals.values.toList() } fun add(deal : Deal) { if (deals.containsValue(deal)) { throw Exception("order, with id ${deal.id}, alread...
0
Kotlin
0
0
f561ce51e1e8c79dead9c1eabc50055098bdbd36
378
pizzola
MIT License
app/src/main/java/com/breezefsmp12/features/viewAllOrder/interf/EmptyProductOnClick.kt
DebashisINT
652,463,111
false
{"Kotlin": 14144630, "Java": 1003051}
package com.breezefsmp12.features.viewAllOrder.interf import com.breezefsmp12.features.viewAllOrder.model.ProductOrder interface EmptyProductOnClick { fun emptyProductOnCLick(emptyFound:Boolean) fun delProductOnCLick(isDel:Boolean) }
0
Kotlin
0
0
4670dd69aff7fea867f314682a5f6b5786f9aeee
243
StepUpP12
Apache License 2.0
src/main/java/io/renren/modules/sys/entity/SysMenuEntity.kt
AranAndroid009
314,123,865
false
{"JavaScript": 5420874, "Kotlin": 220187, "TSQL": 18775, "HTML": 12988, "Java": 3713, "Dockerfile": 134, "Assembly": 12}
/** * Copyright (c) 2016-2019 人人开源 All rights reserved. * * https://www.renren.io * * 版权所有,侵权必究! */ package io.renren.modules.sys.entity import com.baomidou.mybatisplus.annotation.TableField import com.baomidou.mybatisplus.annotation.TableId import com.baomidou.mybatisplus.annotation.TableName import lombok.Data...
0
JavaScript
0
1
7424176076915ffc54c6ad7dff1a5d41f860dbd3
1,324
reren_fast_kotlin
Apache License 2.0
camera/camera-camera2-pipe-integration/src/main/java/androidx/camera/camera2/pipe/integration/compat/quirk/StillCaptureFlashStopRepeatingQuirk.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...
28
null
937
5,108
89ec14e39cf771106a8719337062572717cbad31
1,669
androidx
Apache License 2.0
benchmark/src/main/kotlin/dev/afanasev/kson/benchmark/Benchmarks.kt
noobywalker
245,436,550
true
{"Kotlin": 22827}
@file:JvmName("Runner") package com.aafanasev.kson.benchmark import org.openjdk.jmh.annotations.* import java.util.concurrent.TimeUnit fun main(args: Array<String>) { org.openjdk.jmh.Main.main(args) } @Suppress("unused") open class Benchmarks { companion object { private const val FORK = 3 ...
0
Kotlin
0
0
eb38341d5474a44655753e4105f7048fa9dae515
1,142
kson
Apache License 2.0
kotlin-mui-icons/src/main/generated/mui/icons/material/UnfoldMoreRounded.kt
JetBrains
93,250,841
false
null
// Automatically generated - do not modify! @file:JsModule("@mui/icons-material/UnfoldMoreRounded") package mui.icons.material @JsName("default") external val UnfoldMoreRounded: SvgIconComponent
12
null
5
983
372c0e4bdf95ba2341eda473d2e9260a5dd47d3b
198
kotlin-wrappers
Apache License 2.0
app/src/main/java/com/beko/cryptocurrencytrackerapp/ui/detailpage/DetailRepository.kt
bekir1184
484,815,375
false
null
package com.beko.cryptocurrencytrackerapp.ui.detailpage import android.util.Log import com.beko.cryptocurrencytrackerapp.api.RetrofitClient import com.beko.cryptocurrencytrackerapp.data.model.CoinDetailModel import com.google.firebase.auth.FirebaseAuth import com.google.firebase.firestore.FirebaseFirestore import retr...
0
Kotlin
0
0
4a7c4c074263023cbdfd37691f731f614c03aac4
2,239
CryptocurrencyTrackerApp
MIT License
core/datastore/src/main/kotlin/com/seosh817/moviehub/core/datastore/di/DataStoreModule.kt
seosh817
722,390,551
false
null
/* * Copyright 2022 Medical Assistant * * 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 agr...
12
null
0
3
212caff437708c62991a30ca011dca6e9f9af5fd
2,188
MovieHub
Apache License 2.0
core/src/main/java/com/aidventory/core/database/di/LocalDataSourceModule.kt
yuriikonovalov
615,443,609
false
null
package com.aidventory.core.database.di import com.aidventory.core.data.datasources.ContainerLocalDataSource import com.aidventory.core.data.datasources.SupplyLocalDataSource import com.aidventory.core.data.datasources.SupplyUseLocalDataSource import com.aidventory.core.data.datasources.UserPreferencesDataSource impor...
0
Kotlin
0
0
f6605489ce47b35b75e0628e6be64372eb5518e6
1,320
aidventory
MIT License
app/src/main/java/com/hoc/comicapp/domain/repository/UserRepository.kt
hoang06kx1
216,228,666
true
{"Kotlin": 353295}
package com.hoc.comicapp.domain.repository import android.net.Uri import com.hoc.comicapp.domain.models.ComicAppError import com.hoc.comicapp.utils.Either interface UserRepository { suspend fun login(email: String, password: String): Either<ComicAppError, Unit> suspend fun register( email: String, passwo...
0
null
0
0
8ff2ea495d56c2d73bfd5cfc4c6244d2b7c8faaa
405
ComicReaderApp_MVI_Coroutine_RxKotlin_Jetpack
MIT License
app/src/main/java/com/uttarakhand/kisanseva2/network/RetrofitClientInstance.kt
shivamkumard107
281,345,064
false
null
package com.uttarakhand.kisanseva2.network import android.content.Context import android.preference.PreferenceManager import android.util.Log import com.franmontiel.persistentcookiejar.ClearableCookieJar import com.franmontiel.persistentcookiejar.PersistentCookieJar import com.franmontiel.persistentcookiejar.cache.Set...
0
null
2
3
3fd81824f4cf12ad9ed2ee95dddde65e3732da79
2,308
KisanSeva2
MIT License
src/main/kotlin/no/skatteetaten/aurora/boober/service/openshift/UserDetailsTokenProvider.kt
bj0rn
102,109,163
true
{"Kotlin": 149811, "Groovy": 73346, "Shell": 2246}
package no.skatteetaten.aurora.boober.service.openshift import no.skatteetaten.aurora.boober.controller.security.UserDetailsProvider import org.springframework.stereotype.Component @Component class UserDetailsTokenProvider(val userDetailsProvider: UserDetailsProvider) : TokenProvider { override fun getToken(): St...
0
Kotlin
0
0
123916e1e955616214445bc886d641be2e7ecf06
377
boober
Apache License 2.0
app/src/main/java/bujjwole/tinnews/ui/home/HomeViewModel.kt
bujjwole
442,325,775
false
{"Kotlin": 26796}
package bujjwole.tinnews.ui.home import androidx.lifecycle.MutableLiveData import androidx.lifecycle.Transformations import androidx.lifecycle.ViewModel import bujjwole.tinnews.model.Article import bujjwole.tinnews.repository.NewsRepository class HomeViewModel(val newsRepository: NewsRepository): ViewModel() { p...
0
Kotlin
0
0
f610a78627e961f3697000812fad3c8f657f0e8e
668
TinNews
Apache License 2.0
decoder/wasm/src/commonMain/kotlin/io/github/charlietap/chasm/decoder/wasm/decoder/section/index/BinaryMemoryIndexDecoder.kt
CharlieTap
743,980,037
false
{"Kotlin": 1667685, "WebAssembly": 75136}
package io.github.charlietap.chasm.decoder.wasm.decoder.section.index import com.github.michaelbull.result.Result import io.github.charlietap.chasm.ast.module.Index import io.github.charlietap.chasm.decoder.wasm.error.WasmDecodeError import io.github.charlietap.chasm.decoder.wasm.reader.WasmBinaryReader internal fun ...
2
Kotlin
2
43
4cb170e73e120a15de6397ad24d2f23c1fae3f87
471
chasm
Apache License 2.0
waypoints/src/main/kotlin/de/md5lukas/waypoints/gui/pages/ListingPage.kt
Sytm
211,378,928
false
{"Kotlin": 445837, "Java": 10057}
package de.md5lukas.waypoints.gui.pages import com.okkero.skedule.SynchronizationContext import com.okkero.skedule.withSynchronizationContext import de.md5lukas.commons.collections.PaginationList import de.md5lukas.kinvs.items.GUIContent import de.md5lukas.waypoints.gui.WaypointsGUI import kotlinx.coroutines.async imp...
3
Kotlin
8
28
b31e54acb0cb8e93c9713492b1c1a0759f1045ed
2,389
waypoints
MIT License
app/src/main/java/com/example/bookloverfinalapp/app/ui/general_screens/screen_user_info/screen_user_progress/FragmentUserProgressViewModel.kt
yusuf0405
484,801,816
false
{"Kotlin": 1421124}
package com.example.bookloverfinalapp.app.ui.general_screens.screen_user_info.screen_user_progress import com.example.bookloverfinalapp.app.base.BaseViewModel import dagger.hilt.android.lifecycle.HiltViewModel import javax.inject.Inject @HiltViewModel class FragmentUserProgressViewModel @Inject constructor() : BaseVi...
1
Kotlin
1
3
e1ecdb14efbf7a25643ded1319841712f5e12a3b
370
BookLoverFinalApp
Apache License 1.1
example/src/main/java/com/mixpush/example/UserActivity.kt
taoweiji
93,138,840
false
null
package com.mixpush.example import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import kotlinx.android.synthetic.main.activity_user.* class UserActivity : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContentVi...
4
null
142
816
c91baee5e40a59235d21b3b2ad2c72ace8d0515a
414
MixPush
Apache License 2.0
android/app/src/main/java/com/github/halspals/smarthomeadapters/smarthomeadapters/RegisterRobotActivity.kt
zoeyfyi
166,463,205
false
{"TeX": 113092, "Go": 93892, "Kotlin": 84492, "Python": 29859, "Shell": 8076, "C++": 6007, "Makefile": 5117, "HTML": 3881, "Dockerfile": 1971, "CSS": 885, "C": 201}
package com.github.halspals.smarthomeadapters.smarthomeadapters import android.content.Context import android.content.Intent import android.support.v7.app.AppCompatActivity import android.os.Bundle import android.os.Handler import android.support.v4.app.Fragment import android.support.v4.app.FragmentManager import and...
0
TeX
0
4
8709f1e0c4d1c92ecb43bff18b829eb11a7ea2ed
6,527
SmartHomeAdapters
MIT License
8_kyu/Grasshopper_Check_for_factor.kt
UlrichBerntien
439,630,417
false
{"Go": 293606, "Rust": 191729, "Python": 184557, "Lua": 137612, "Assembly": 89144, "C": 76738, "Julia": 35473, "Kotlin": 33204, "R": 27633, "C#": 20860, "Shell": 14326, "Forth": 3750, "PLpgSQL": 2117, "C++": 122}
// Checks if the factor is factor of base. // Returns true if base = integer * factor, else returns false. fun checkForFactor(base: Int, factor: Int) = base % factor == 0
0
Go
0
0
034d7f2bdcebc503b02877f2241e4dd143188b43
170
Codewars-Katas
MIT License
app/src/main/java/com/agaboardi/parchintasca/newsdetail/domain/usecase/GetReport.kt
sedestrian
140,018,120
false
{"Kotlin": 147017}
package com.agaboardi.parchintasca.newsdetail.domain.usecase class GetReport { }
0
Kotlin
0
0
05207f2ddd112bc80692e68565919629044ed7b7
81
Parchintasca
Apache License 2.0
src/test/kotlin/com/github/kerubistan/kerub/utils/junix/dmi/DmiSamples.kt
kerubistan
19,528,622
false
null
package com.github.kerubistan.kerub.utils.junix.dmi const val mylaptop = """ # dmidecode 2.12 SMBIOS 2.7 present. 51 structures occupying 2201 bytes. Table at 0x000E4800. Handle 0x0000, DMI type 0, 24 bytes BIOS Information Vendor: LENOVO Version: 6CCN18WW(V1.05) Release Date: 07/18/2012 Address: 0xE0000 Runtime...
109
null
4
14
99cb43c962da46df7a0beb75f2e0c839c6c50bda
57,638
kerub
Apache License 2.0
android/app/src/main/java/com/mdn/coffeeandhappiness/fragments/MenuFragment.kt
hurrr1cane
681,786,648
false
{"Kotlin": 327468, "Java": 185752, "JavaScript": 120588, "SCSS": 19975, "Dockerfile": 134}
package com.mdn.coffeeandhappiness.fragments import android.os.Bundle import androidx.fragment.app.Fragment import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.viewpager2.widget.ViewPager2 import com.google.android.material.tabs.TabLayout import com.mdn.coffeeandha...
0
Kotlin
0
4
7a8a5584eb8067939cd848a47e88b4a9db848a43
1,999
CoffeeAndHappiness
MIT License
event/src/api/kotlin/su/jfdev/anci/event/EventBus.kt
anrelic
65,373,548
false
null
package su.jfdev.anci.event /** * Jamefrus and his team on 13.06.2016. */ interface EventBus<E: Any> { val loop: EventLoop infix fun register(subscriber: (E) -> Unit) infix fun unregister(subscriber: (E) -> Unit) infix fun handle(event: E) infix fun sync(event: E) }
0
Kotlin
0
0
bf11562be3274d14396630ad5eb6258f58d8b33b
289
Anci-OSS
MIT License
app/src/main/java/com/xpense/android/receiver/SmsReceiver.kt
mir47
541,152,535
false
{"Kotlin": 176352, "Ruby": 3099, "Shell": 194}
package com.experiments.android.receiver import android.app.NotificationManager import android.content.BroadcastReceiver import android.content.Context import android.content.Intent import android.os.Bundle import android.telephony.SmsMessage import com.experiments.android.R import com.experiments.android.util.sendNot...
37
Kotlin
1
0
b4e78551c73ddd2c07cc4f157a66d8eacfeec9be
1,927
xpense
MIT License
app/src/androidTest/java/com/kevalpatel2106/yip/splash/LaunchTest.kt
kevalpatel2106
166,789,807
false
null
package com.kevalpatel2106.yip.splash import androidx.test.espresso.Espresso.onView import androidx.test.espresso.assertion.ViewAssertions.matches import androidx.test.espresso.matcher.ViewMatchers.isDisplayed import androidx.test.espresso.matcher.ViewMatchers.withId import androidx.test.ext.junit.runners.AndroidJUnit...
0
Kotlin
1
16
61311ba7d40802ba7fed87b2f16b72089c6f7746
1,077
year-in-progress
Apache License 2.0
composeApp/src/commonMain/kotlin/dev/anvith/binanceninja/data/remote/PeerToPeerApi.kt
humblerookie
734,842,239
false
{"Kotlin": 161677, "Swift": 4768}
package dev.anvith.binanceninja.data.remote import dev.anvith.binanceninja.data.remote.core.ResponseApiModel import dev.anvith.binanceninja.data.remote.extensions.post import dev.anvith.binanceninja.data.remote.core.ApiResult import dev.anvith.binanceninja.data.remote.models.ConfigResponse import dev.anvith.binancenin...
2
Kotlin
1
1
dbc9b717462aa8cfa5a6b6ff50b457e4d8d7edd6
2,100
binance-ninja
Apache License 2.0
library-service/src/main/kotlin/library/service/security/UserSettings.kt
nt-ca-aqe
100,617,700
false
null
package library.service.security import org.springframework.boot.context.properties.ConfigurationProperties @ConfigurationProperties("users") class UserSettings { var admin = UserCredentials() var curator = UserCredentials() var user = UserCredentials() class UserCredentials { lateinit var u...
11
Kotlin
11
14
2942752684ce82167880908caed4111e402b6caa
382
library-app
Apache License 2.0
app/src/main/java/com/osama/books/ui/di/AppModule.kt
Osama-Mater
452,312,253
false
{"Kotlin": 23438}
package com.osama.books.ui.di import com.osama.books.ui.vm.base.AppSchedulerProvider import com.osama.books.ui.vm.base.SchedulerProvider import dagger.Module import dagger.Provides import dagger.hilt.InstallIn import dagger.hilt.components.SingletonComponent import javax.inject.Singleton @Module @InstallIn(SingletonC...
0
Kotlin
0
0
18ea2acb0b43a5be7a825ffa46d5af469ce80c68
465
Book-Search
MIT License
src/com/cleverCloud/cleverIdea/vcs/GitProjectDetector.kt
GauthierPLM
62,346,754
true
{"Kotlin": 44843, "Java": 43954}
/* * The MIT License (MIT) * * Copyright (c) 2016 Clever Cloud, SAS * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to...
0
Kotlin
0
0
89d52f03c7f4ca40ab92f11abed12c5785913e9e
5,846
clever-intellij-plugin
MIT License
core/src/main/kotlin/info/laht/threekt/constants.kt
Dominaezzz
199,304,218
true
{"Kotlin": 546195, "GLSL": 105344}
@file:JvmName("THREE") package info.laht.threekt const val CullFaceNone = 0 const val CullFaceBack = 1 const val CullFaceFront = 2 const val CullFaceFrontBack = 3 const val FrontFaceDirectionCW = 0 const val FrontFaceDirectionCCW = 1 const val BasicShadowMap = 0 const val PCFShadowMap = 1 const val PCFSoftShadowMap =...
0
Kotlin
0
1
f5803ac4982dd7b89303eda059c95c5ac00488b5
4,772
three.kt
MIT License
ktor-hosts/ktor-jetty/src/org/jetbrains/ktor/jetty/JettyApplicationHost.kt
strre
86,772,629
true
{"Kotlin": 1065085, "Java": 61930, "FreeMarker": 6356, "CSS": 5404, "HTML": 1964, "JavaScript": 1451}
package org.jetbrains.ktor.jetty import kotlinx.coroutines.experimental.* import kotlinx.coroutines.experimental.future.* import org.eclipse.jetty.alpn.server.* import org.eclipse.jetty.http.* import org.eclipse.jetty.http2.* import org.eclipse.jetty.http2.server.* import org.eclipse.jetty.io.* import org.eclipse.jett...
0
Kotlin
0
0
d610e6e0f0e68c4dbf78e628900567ff0a2dcf54
7,731
ktor
Apache License 2.0
functional-test-utils/src/main/kotlin/ru/pixnews/gradle/fbase/test/functional/apk/ApkAnalyzer.kt
illarionov
726,786,986
false
{"Kotlin": 179020, "Java": 6746}
/* * Copyright (c) 2023, the fbase-config-generator-gradle-plugin project authors and contributors. * Please see the AUTHORS file for details. * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. */ package ru.pixnews.gradle.fbase.test.functional.apk import com.an...
2
Kotlin
0
0
7996cfeed2234fd0552638c3f0f5ec0708e3918d
5,061
fbase-config-generator-gradle-plugin
Apache License 2.0
Project/app/src/main/java/com/example/androidproject/DrawFragment.kt
Lakshay989
744,854,443
false
{"Kotlin": 94203}
package com.example.androidproject import android.app.AlertDialog import android.content.Context import android.graphics.Bitmap import android.graphics.Color import android.graphics.drawable.ColorDrawable import android.hardware.Sensor import android.hardware.SensorEvent import android.hardware.SensorEventListener imp...
0
Kotlin
0
0
b895dfb4e016232450b8e8ca1145839fc3f854e3
16,761
Android-DrawWiz-App
MIT License
src/main/kotlin/no/nav/klage/config/KlageDittnavAPIClientConfiguration.kt
navikt
282,877,058
false
{"Java": 50190, "Kotlin": 31758, "Dockerfile": 46}
package no.nav.klage.config import no.nav.klage.util.getLogger import no.nav.klage.util.getReactorClientHttpConnector import org.springframework.beans.factory.annotation.Value import org.springframework.context.annotation.Bean import org.springframework.context.annotation.Configuration import org.springframework.web.r...
1
null
1
1
334221c3c19db98c729b0796bea1261c4d3dcef3
1,032
klage-joark-listener
MIT License
app/src/main/java/com/basar/moviehunter/base/BaseViewModel.kt
basarYargici
507,985,728
false
{"Kotlin": 152176}
package com.basar.moviehunter.base import androidx.annotation.IdRes import androidx.lifecycle.LifecycleObserver import androidx.lifecycle.MutableLiveData import androidx.lifecycle.ViewModel import androidx.navigation.ActivityNavigator import androidx.navigation.NavDirections import androidx.navigation.NavOptions impor...
0
Kotlin
0
6
7ae064207ce3507529958d51542e2e012e535cfb
2,481
movie-hunt
MIT License
kotlin-web/src/main/generated/web/streams/WritableStream.kt
stefanthaler
440,580,782
true
{"Kotlin": 8815376, "JavaScript": 528}
// Automatically generated - do not modify! package web.streams import kotlinx.js.Void import kotlin.js.Promise external interface WritableStream<W> { val locked: Boolean fun abort(reason: Any = definedExternally): Promise<Void> fun close(): Promise<Void> fun getWriter(): WritableStreamDefaultWriter<...
0
Kotlin
0
0
fc27a2b5d98423c8db24f8a28d1c3a95dc682b0a
325
kotlin-wrappers
Apache License 2.0
processor/src/main/java/io/github/myungpyo/simplekspsample/support/CodeLoom.kt
myungpyo
443,360,077
false
{"Kotlin": 9101}
package io.github.myungpyo.simplekspsample.support import java.io.OutputStream internal class CodeLoom(private val outputStream: OutputStream) { private var indentLevel: Int = 0 fun write(code: String): CodeLoom { outputStream += "\t".repeat(indentLevel) outputStream += code return th...
0
Kotlin
0
2
967a142ac64f5970f3667f2f821d0ee07b6e26c2
870
simplekspsample
Apache License 2.0
idea/testData/resolve/additionalLazyResolve/localObjectInClosureInClassParameterInitializer.kt
JakeWharton
99,388,807
true
null
package test open class A class MyClass( a: A = run { object O: A() { } O } ) //package test //public open class A defined in test //public constructor A() defined in test.A //public final class MyClass defined in test //public constructor MyClass(a: test.A = ......
1
Kotlin
28
83
4383335168338df9bbbe2a63cb213a68d0858104
550
kotlin
Apache License 2.0
app/src/main/java/com/health/zyephr/sample/MainActivity.kt
Team-Zyephr
772,371,798
false
{"Kotlin": 25184}
package com.health.zyephr.sample import android.os.Bundle import android.util.Log import androidx.activity.ComponentActivity import androidx.activity.compose.setContent import androidx.compose.foundation.background import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.Column import an...
0
Kotlin
0
0
07e258c9db7eb5521b53fa4390361ae7be41a848
2,826
ZyephrUi
Apache License 2.0
app/src/main/java/com/health/zyephr/sample/MainActivity.kt
Team-Zyephr
772,371,798
false
{"Kotlin": 25184}
package com.health.zyephr.sample import android.os.Bundle import android.util.Log import androidx.activity.ComponentActivity import androidx.activity.compose.setContent import androidx.compose.foundation.background import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.Column import an...
0
Kotlin
0
0
07e258c9db7eb5521b53fa4390361ae7be41a848
2,826
ZyephrUi
Apache License 2.0
web3lib/src/commonTest/kotlin/com/sonsofcrypto/web3lib/formatters/NetworkAddressFormatterTests.kt
sonsofcrypto
454,978,132
false
{"Kotlin": 1386213, "Swift": 1137240, "Jupyter Notebook": 182900, "Objective-C": 77663, "Python": 37396, "Go": 20697, "C": 15793, "Java": 12789, "Shell": 4282}
package com.sonsofcrypto.web3lib.formatters import com.sonsofcrypto.web3lib.types.Network import kotlin.test.Test import kotlin.test.assertEquals class NetworkAddressFormatterTests { @Test fun testNetworkEthereum1() { val expected = "0xb794f5ea...79579268" val actual = Formatters.networkAddre...
1
Kotlin
2
6
d86df4845a1f60624dffa179ce6507ede3222186
1,098
web3wallet
MIT License
rocket-chat-core/src/main/java/chat/rocket/core/interactors/MessageInteractor.kt
gangt
138,123,986
false
null
package chat.rocket.core.interactors import chat.rocket.core.SyncState import chat.rocket.core.models.* import chat.rocket.core.repositories.MessageRepository import chat.rocket.core.repositories.SubscriptionRepository import com.hadisatrio.optional.Optional import io.reactivex.Flowable import io.reactivex.Single impo...
1
null
1
1
6e12a07960841cf8df72c5a8b5bec78141985024
3,959
Rocket.Chat.Android-develop
MIT License
app/src/main/kotlin/no/nav/k9punsj/journalpost/JournalpostInfoOpenApi.kt
navikt
216,808,662
false
null
package no.nav.k9punsj.openapi import no.nav.k9punsj.felles.SøkUferdigJournalposter import no.nav.k9punsj.journalpost.JournalpostInfoRoutes import org.springframework.web.bind.annotation.* @RestController internal class JournalpostInfoContoller { @GetMapping(JournalpostInfoRoutes.Urls.HentÅpneJournalposter, produ...
9
Kotlin
2
1
7993f85b435e54a1ef9a676e76e598ead2b7df66
654
k9-punsj
MIT License
platform/android/goldengate/GoldenGateBindings/src/main/kotlin/com/fitbit/goldengate/bindings/coap/CoapEndpoint.kt
Fitbit
252,750,226
false
{"C": 2519513, "Kotlin": 897890, "Swift": 806092, "C++": 805305, "CMake": 121256, "Python": 115131, "Objective-C": 88567, "JavaScript": 20929, "HTML": 13841, "Shell": 2041, "Dockerfile": 1379, "Ruby": 252}
// Copyright 2017-2020 Fitbit, Inc // SPDX-License-Identifier: Apache-2.0 package com.fitbit.goldengate.bindings.coap import com.fitbit.goldengate.bindings.DataSinkDataSource import com.fitbit.goldengate.bindings.NativeReferenceWithCallback import com.fitbit.goldengate.bindings.coap.block.BlockwiseCoapResponseListene...
14
C
32
290
417aad0080bdc8b20c27cf8fff2455c20e6f3adb
9,309
golden-gate
Apache License 2.0
app/src/main/java/com/ahmetsarac/tingirdak/composables/PlayingMusic.kt
ahmetsarac
425,675,746
false
null
package com.ahmetsarac.tingirdak.composables import android.content.Context import android.graphics.Bitmap import android.graphics.BitmapFactory import android.media.MediaMetadataRetriever import android.media.MediaPlayer.SEEK_CLOSEST import android.net.Uri import android.os.Build import androidx.compose.foundation.Im...
0
Kotlin
0
1
d49f581cada97dd25d9a75ca58faeed2d621536a
3,805
tingirdak
MIT License
demo/wizard/src/main/kotlin/de/onecode/compass/demo/wizard/WizardScreen1.kt
OneCodeDevs
526,187,162
false
null
package de.onecode.compass.demo.wizard import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Column import androidx.compose.material3.Button import androidx.compose.material3.Text import androidx.compose.runtime.Composable @Composable fun WizardScreen1(wizardInput: String, on...
3
null
0
8
983c6187df398795d11a59d05d5c24c436286c1d
534
compass
Apache License 2.0
fontawesome/src/de/msrd0/fontawesome/icons/FA_MEMORY.kt
msrd0
363,665,023
false
null
/* @generated * * This file is part of the FontAwesome Kotlin library. * https://github.com/msrd0/fontawesome-kt * * This library is not affiliated with FontAwesome. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may...
0
Kotlin
0
0
1358935395f9254cab27852457e2aa6c58902e16
2,049
fontawesome-kt
Apache License 2.0
app/src/main/java/com/hypertrack/android/ui/screens/add_place_info/Effect.kt
hypertrack
241,723,736
false
null
package com.hypertrack.android.ui.screens.add_place_info import com.google.android.gms.maps.model.LatLng import com.hypertrack.android.interactors.app.AppAction import com.hypertrack.android.ui.common.map.HypertrackMapWrapper import com.hypertrack.android.ui.common.map_state.MapUiEffect import com.hypertrack.android.u...
1
Kotlin
17
31
c5dd23621aed11ff188cf98ac037b67f435e9f5b
1,707
visits-android
MIT License
java/sui-security/src/main/java/ru/sui/suisecurity/session/redis/RedisSession.kt
mbuyakov
174,821,817
false
{"TypeScript": 672905, "Java": 191967, "Kotlin": 158752, "PLpgSQL": 48243, "JavaScript": 19879, "Less": 14088, "Smarty": 830, "Shell": 774, "Dockerfile": 57}
package ru.sui.suisecurity.session.redis import org.springframework.context.annotation.Lazy import org.springframework.data.annotation.Id import org.springframework.data.redis.connection.ReturnType import org.springframework.data.redis.core.RedisHash import org.springframework.data.redis.core.RedisKeyValueAdapter impo...
1
TypeScript
1
5
3048f84a18e730ece2f16a1223c82c863edabf38
5,472
SUI.CORE
Apache License 2.0
library/src/main/java/co/zsmb/materialdrawerkt/draweritems/badgeable/PrimaryDrawerItemKt.kt
zsmb13
87,190,725
false
null
@file:Suppress("RedundantVisibilityModifier") package co.zsmb.materialdrawerkt.draweritems.badgeable import co.zsmb.materialdrawerkt.builders.Builder import co.zsmb.materialdrawerkt.createItem import com.mikepenz.materialdrawer.model.PrimaryDrawerItem /** * Adds a new PrimaryDrawerItem with the given [name] and [de...
8
Kotlin
41
518
65e5951402d83baf0200c816babe5b3e89c9ee2f
1,114
MaterialDrawerKt
Apache License 2.0
core/src/main/java/com/glucose/app/presenter/StateData.kt
daemontus
56,345,819
false
null
package com.glucose.app.presenter import android.os.Bundle import android.os.Parcel import android.os.Parcelable import android.support.annotation.IdRes import android.util.SparseArray import android.view.View import com.glucose.app.Presenter internal class ChildState( val clazz: Class<out Presenter>, ...
8
Kotlin
1
1
c959d5d54e8b71661f0670dac9213a5f9f2b3405
1,658
glucose
MIT License
lib/src/main/java/graphql/nadel/hooks/CreateServiceContextParams.kt
atlassian-labs
121,346,908
false
{"Kotlin": 2134819, "Java": 8400}
package graphql.nadel.hooks import graphql.nadel.Service data class CreateServiceContextParams internal constructor(val service: Service)
26
Kotlin
23
157
e8e1b6d42c3b9858662bd5bd7727b3738ad5c1d3
140
nadel
Apache License 2.0
idea/idea-analysis/src/org/jetbrains/kotlin/idea/inspections/RemoveExplicitTypeArgsInspection.kt
svenefftinge
34,719,076
true
{"Markdown": 32, "XML": 665, "Ant Build System": 35, "Ignore List": 8, "Kotlin": 17671, "Java": 4277, "Protocol Buffer": 4, "Text": 3731, "JavaScript": 61, "JAR Manifest": 3, "Roff": 30, "Roff Manpage": 10, "INI": 7, "HTML": 116, "Groovy": 20, "Maven POM": 47, "Gradle": 68, "Java Properties": 10, "CSS": 3, "JFlex": 2, ...
/* * Copyright 2010-2015 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...
1
Java
0
0
21d9c272c9f312e7348defa893c2f55483d13876
1,075
kotlin
Apache License 2.0
platform/vcs-code-review/src/com/intellij/util/ui/codereview/ReturnToListComponent.kt
dai-pei
316,296,645
false
null
// 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.util.ui.codereview import com.intellij.icons.AllIcons import com.intellij.ui.IdeBorderFactory import com.intellij.ui.SideBorder import com.intellij.ui.compon...
1
null
1
1
adb89951109732e585d04f33e3fabbc9f9d3b256
881
intellij-community
Apache License 2.0
app/src/main/java/com/muzzley/model/channels/NativeComponents.kt
habitio
191,952,436
false
null
package com.muzzley.model.channels class NativeComponents ( val id: String?, val type: String?, val size: String? )
1
null
1
1
57174e1ca5e0d72ebc01d0750e278fc493b44e42
129
habit-whitelabel-app-android
MIT License
core/src/main/java/com/dtb/core/rx/bindview/RadioGroupCheckedChangeObservable.kt
DaoBillTang
109,212,518
false
{"Java": 322192, "Kotlin": 237828, "HTML": 1311}
package com.dtb.core.rx.bindview import android.widget.RadioGroup import androidx.annotation.CheckResult import io.reactivex.Observer import io.reactivex.android.MainThreadDisposable /** * @author: dtb * @email: wendaoyuqin1@gmail.com * @createTime: 19-3-12上午10:28 */ @CheckResult fun RadioGroup.checkedChanges(...
1
Java
4
4
2ae19a8c7986cd49fece58475ef0080e1ccc2204
1,480
MLib
Apache License 2.0
vector/src/main/java/im/vector/riotx/features/crypto/keys/KeysExporter.kt
saad100104006
212,864,777
true
{"Kotlin": 3623105, "Java": 26427, "HTML": 22563, "Shell": 20524}
/* * Copyright 2019 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 agreed ...
2
null
1
2
588e5d6e63ecfee9d93ef3da5987b8deb59f412f
2,089
NovaChat
Apache License 2.0
src/apps/kotlin/slatekit-examples/src/main/kotlin/slatekit/examples/Example_Reflect.kt
slatekit
55,942,000
false
{"Kotlin": 2307012, "Shell": 14611, "Java": 14216, "Swift": 1555}
/** <slate_header> author: <NAME> url: www.github.com/code-helix/slatekit copyright: 2015 <NAME> license: www.github.com/code-helix/slatekit/blob/master/LICENSE.md desc: A tool-kit, utility library and server-backend usage: Please refer to license on github for more info. </slate_header> */ package slat...
3
Kotlin
13
112
d17b592aeb28c5eb837d894e98492c69c4697862
3,650
slatekit
Apache License 2.0
app/src/main/java/com/bachhuberdesign/deckbuildergwent/features/cardviewer/CardViewerMvpContract.kt
bachhuberdesign
85,834,413
false
null
package com.bachhuberdesign.deckbuildergwent.features.cardviewer import com.bachhuberdesign.deckbuildergwent.features.deckbuild.Deck import com.bachhuberdesign.deckbuildergwent.features.shared.base.MvpContract import com.bachhuberdesign.deckbuildergwent.features.shared.model.Card /** * @author <NAME> * @version 1.0...
0
Kotlin
0
3
d6a0361c1baf473d7ce35af6b603d3403907f1c4
741
deck-builder-gwent
Apache License 2.0
agp-7.1.0-alpha01/tools/base/lint/libs/lint-api/src/main/java/com/android/tools/lint/helpers/DefaultUastParser.kt
jomof
502,039,754
false
{"Java": 35519326, "Kotlin": 22849138, "C++": 2171001, "HTML": 1377915, "Starlark": 915536, "C": 141955, "Shell": 110207, "RenderScript": 58853, "Python": 25635, "CMake": 18109, "Batchfile": 12180, "Perl": 9310, "Dockerfile": 5690, "Makefile": 4535, "CSS": 4148, "JavaScript": 3488, "PureBasic": 2359, "GLSL": 1628, "AID...
/* * Copyright (C) 2017 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...
1
Java
1
0
9e3475f6d94cb3239f27ed8f8ee81b0abde4ef51
21,777
CppBuildCacheWorkInProgress
Apache License 2.0
boot/acp-spring-boot-starter/src/main/kotlin/io/github/zhangbinhub/acp/boot/tools/HttpTools.kt
zhangbinhub
279,298,314
false
null
package io.github.zhangbinhub.acp.boot.tools import io.github.zhangbinhub.acp.core.CommonTools import io.github.zhangbinhub.acp.core.log.LogFactory import java.io.IOException import javax.servlet.ServletInputStream import javax.servlet.http.HttpServletRequest /** * Http请求相关工具类 */ object HttpTools { private val...
0
Kotlin
4
8
3d63305f56fed8302fc63fa45d6ebd30cbbd8c3e
2,239
acp
Apache License 2.0
teamBuilder/src/main/kotlin/teambuilder/BattleExecutor.kt
compf
545,981,802
false
{"Git Config": 1, "Gradle": 11, "INI": 3, "Shell": 2, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "XML": 2, "Kotlin": 27, "JSON": 146, "Java": 1084, "Dockerfile": 1, "YAML": 3, "Text": 2, "SVG": 1, "Godot Resource": 6, "GDScript": 9, "Git Attributes": 1, "Python": 1}
package teambuilder import compf.core.engine.* import compf.core.engine.pokemon.Pokemon import compf.core.networking.BotAI import compf.core.networking.BotInterface import java.util.* open class BattleExecutor(val myPokemons:List<Pokemon>,val enemyPokemons:List<Pokemon>, val meAI:BotAI,val enemyAI:BotAI){ private...
0
Java
0
0
200123065c4bfc5a7c96e9799a943cb69356e2ee
2,499
PokemonSirius
The Unlicense
application/src/main/java/de/pbauerochse/worklogviewer/settings/jackson/LocalDateDeserializer.kt
pbauerochse
34,003,778
false
null
package de.pbauerochse.worklogviewer.settings.jackson import com.fasterxml.jackson.core.JsonParser import com.fasterxml.jackson.core.JsonProcessingException import com.fasterxml.jackson.databind.DeserializationContext import com.fasterxml.jackson.databind.deser.std.StdDeserializer import de.pbauerochse.worklogviewer.t...
8
null
10
38
5615a820fa88a78f8769d2522a6b55099abe1a01
790
youtrack-worklog-viewer
MIT License
android/apollo/src/main/java/io/muun/apollo/data/db/incoming_swap/IncomingSwapHtlcDb.kt
muun
150,655,434
false
null
package io.muun.apollo.data.db.incoming_swap import io.muun.apollo.domain.model.IncomingSwapHtlc import io.muun.apollo.domain.model.base.HoustonUuidModel /* * Well you might wonder why this exists! * The HoustonUuidDao / BaseDao assume that the model itself is enough to store in the DB. For most * models this is o...
39
null
46
256
86048fe9f8059c9617f2e6d32e7d41c460dfb785
856
apollo
MIT License
compiler/fir/tree/src/org/jetbrains/kotlin/fir/declarations/impl/FirAnonymousFunctionImpl.kt
cr8tpro
189,964,139
true
{"Kotlin": 37481242, "Java": 7489008, "JavaScript": 157778, "HTML": 74773, "Lex": 23159, "TypeScript": 21255, "IDL": 10895, "ANTLR": 9803, "CSS": 8084, "Shell": 7727, "Groovy": 6940, "Batchfile": 5362, "Swift": 2253, "Ruby": 668, "Objective-C": 293, "Scala": 80}
/* * Copyright 2010-2019 JetBrains s.r.o. and Kotlin Programming Language contributors. * 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.fir.declarations.impl import com.intellij.psi.PsiElement import org.jetbrains.ko...
0
Kotlin
1
2
dca23f871cc22acee9258c3d58b40d71e3693858
1,795
kotlin
Apache License 2.0
sdk-nss/src/main/java/com/gigya/android/sdk/nss/bloc/action/NssForgotPasswordAction.kt
ETS-Android5
497,631,641
false
null
package com.gigya.android.sdk.nss.bloc.action import com.gigya.android.sdk.GigyaCallback import com.gigya.android.sdk.GigyaLogger import com.gigya.android.sdk.account.models.GigyaAccount import com.gigya.android.sdk.api.GigyaApiResponse import com.gigya.android.sdk.api.IBusinessApiService import com.gigya.android.sdk....
1
null
1
1
d1ab70d4a3b2e29e53b1556ac9d85b7c1324d3d7
2,299
gigya-android-sdk
Apache License 2.0
src/main/kotlin/com/staboss/crypto/cipher/des/CipherDES.kt
staboss
263,959,642
false
{"Gradle": 2, "Markdown": 2, "INI": 2, "Shell": 1, "Ignore List": 1, "Batchfile": 1, "Java": 1, "Kotlin": 8, "Text": 3}
package com.staboss.crypto.cipher.des import com.staboss.crypto.cipher.Cipher import com.staboss.crypto.utils.* class CipherDES(key: String) : Cipher(key) { private var c = IntArray(28) private var d = IntArray(28) private val roundKeys by lazy { val keys = Array(16) { IntArray(48) } for...
0
Kotlin
0
0
c3cc5847ae5fa53db337bf45c0a99fd44a797c86
5,436
crypto-symmetric
MIT License
idea/idea-android/src/org/jetbrains/kotlin/android/navigation/gotoResourceHelper.kt
android
263,405,600
true
null
/* * Copyright 2010-2019 JetBrains s.r.o. and Kotlin Programming Language contributors. * 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.android.navigation import org.jetbrains.android.util.AndroidResourceUtil import ...
0
Kotlin
37
316
74126637a097f5e6b099a7b7a4263468ecfda144
4,108
kotlin
Apache License 2.0
android/src/main/java/com/ycbjie/android/view/activity/AndroidCollectActivity.kt
tuke0919
168,521,667
true
{"Java": 2056653, "Kotlin": 156762, "JavaScript": 10736, "HTML": 6609, "CSS": 1136}
package com.ycbjie.android.view.activity import android.content.Intent import com.ycbjie.android.R import com.ycbjie.android.presenter.AndroidCollectPresenter import com.ycbjie.library.base.mvp.BaseActivity class AndroidCollectActivity : BaseActivity<AndroidCollectPresenter>() { companion object { fun lu...
0
Java
0
1
b29a339f9baa0073d248556e93f84a793eb5cd8e
668
LifeHelper
Apache License 2.0
dsl/camel-kotlin-api/src/generated/kotlin/org/apache/camel/kotlin/components/VertxWebsocketUriDsl.kt
nrkkalyan
769,345,580
true
{"Text": 253, "Shell": 20, "Maven POM": 579, "Batchfile": 4, "YAML": 73, "Markdown": 26, "Git Attributes": 1, "XML": 1777, "Ignore List": 19, "JSON": 2356, "Git Config": 1, "Java": 21339, "Java Properties": 999, "AsciiDoc": 1292, "Kotlin": 491, "JavaScript": 32, "Groovy": 162, "OASv3-json": 18, "Dockerfile": 5, "JAR Ma...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
0
null
0
0
38deed9faacd537ae2838b6d540500da7692ba19
5,145
camel
Apache License 2.0
app/src/main/java/top/xuqingquan/utils/demo/MainActivity.kt
xuqingquan1995
280,603,099
false
{"Gradle Kotlin DSL": 3, "Java Properties": 2, "YAML": 1, "Shell": 1, "Text": 1, "Ignore List": 4, "Batchfile": 1, "Gradle": 2, "Proguard": 3, "Kotlin": 27, "XML": 25, "Java": 10}
package top.xuqingquan.utils.demo import android.Manifest import android.content.Intent import android.net.Uri import android.os.Bundle import android.provider.MediaStore import androidx.core.app.ActivityCompat import androidx.core.content.ContextCompat import androidx.appcompat.app.AppCompatActivity import com.bumpte...
0
Java
0
0
c475619207a76ed859c1622dfdb174285e804f3c
9,595
utils
MIT License
app/src/main/java/com/mapbox/maps/testapp/EmptyActivity.kt
mapbox
330,365,289
false
{"Kotlin": 3982759, "Java": 98572, "Python": 18705, "Shell": 11465, "C++": 10129, "JavaScript": 4344, "Makefile": 2413, "CMake": 1201, "EJS": 1194}
package com.mapbox.maps.testapp import androidx.appcompat.app.AppCompatActivity class EmptyActivity : AppCompatActivity()
216
Kotlin
131
472
2700dcaf18e70d23a19fc35b479bff6a2d490475
123
mapbox-maps-android
Apache License 2.0
app/src/main/java/pt/dbmg/mobiletaiga/repository/data/settingsDB/Anilist.kt
worm69
166,021,572
false
null
package pt.dbmg.mobiletaiga.repository.data.settingsDB import io.realm.RealmObject open class Anilist( var username: String = "", var ratingsystem: String = "", // POINT_10 var token: String = "", var tokenExpires: String = "", var refreshToken: String = "" ) : RealmObject()
0
null
0
4
8ec09bed018d57225b85e042865608952633c622
297
mobiletaiga
Apache License 2.0
app/src/main/kotlin/com/vanniktech/emoji/sample/MainActivity.kt
vanniktech
53,511,222
false
null
/* * Copyright (C) 2016 - <NAME>, <NAME>, <NAME> and contributors * * 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 requir...
7
null
289
1,501
2047a86272ecdaa3eaf54e83d889b5c091edaa50
8,895
Emoji
Apache License 2.0
library/src/main/kotlin/com/twitter/meil_mitu/twitter4hk/api/users/Lookup.kt
MeilCli
51,423,644
false
null
package com.twitter.meil_mitu.twitter4hk.api.users import com.twitter.meil_mitu.twitter4hk.AbsGet import com.twitter.meil_mitu.twitter4hk.AbsOauth import com.twitter.meil_mitu.twitter4hk.OauthType import com.twitter.meil_mitu.twitter4hk.ResponseList import com.twitter.meil_mitu.twitter4hk.converter.IUserConverter impo...
0
Kotlin
0
0
818e42ea417c326e3d50024decce4c7e70641a73
1,054
Twitter4HK
MIT License
dsl/src/main/kotlin/io/cloudshiftdev/awscdkdsl/services/appmesh/CfnVirtualNodeDurationPropertyDsl.kt
cloudshiftinc
667,063,030
false
null
@file:Suppress( "RedundantVisibilityModifier", "RedundantUnitReturnType", "RemoveRedundantQualifierName", "unused", "UnusedImport", "ClassName", "REDUNDANT_PROJECTION", "DEPRECATION" ) package cloudshift.awscdk.dsl.services.appmesh import cloudshift.awscdk.common.CdkDslMarker import ko...
4
null
0
3
256ad92aebe2bcf9a4160089a02c76809dbbedba
1,432
awscdk-dsl-kotlin
Apache License 2.0
samples/network-verifier/workflows/src/test/kotlin/net/corda/configsample/TestCommsFlowInitiatorTest.kt
corda
70,137,417
false
null
package net.corda.configsample import net.corda.testing.core.ALICE_NAME import net.corda.testing.core.DUMMY_BANK_A_NAME import net.corda.testing.core.DUMMY_NOTARY_NAME import net.corda.testing.core.TestIdentity import net.corda.verification.TestCommsFlowInitiator import org.junit.Assert import org.junit.Test class Te...
62
null
1077
3,989
d27aa0e6850d3804d0982024054376d452e7073a
1,282
corda
Apache License 2.0
vid-app-common/src/main/java/org/onap/vid/mso/model/VfModuleOrVolumeGroupRequestDetails.kt
onap
115,762,948
false
null
/*- * ============LICENSE_START======================================================= * VID * ================================================================================ * Copyright (C) 2017 - 2019 AT&T Intellectual Property. All rights reserved. * ============================================================...
4
null
5
6
8cef7fbeed5b8f1255535fcf1cf0c7304df6d447
4,836
archived-vid
Apache License 2.0
myimagecrop/src/main/java/com/isaacsufyan/myimagecrop/ImageViewTouchBase.kt
IsaacSufyan
491,378,650
false
null
package com.isaacsufyan.myimagecrop import android.content.Context import androidx.appcompat.widget.AppCompatImageView import com.isaacsufyan.myimagecrop.RotateBitmap import android.graphics.Bitmap import android.graphics.Matrix import android.graphics.drawable.Drawable import android.graphics.RectF import android.os....
0
Kotlin
0
3
4e696b0cdc1de4ee4e6fbf3db449cff752bcd7bc
10,053
MyImagePicker
Apache License 2.0
plugins/cloudopt-next-cache/src/main/kotlin/net/cloudopt/next/cache/serializer/DefaultSerializer.kt
cloudoptlab
117,033,346
false
{"Kotlin": 438045, "HTML": 4325, "Python": 163, "Handlebars": 149, "FreeMarker": 148, "CSS": 23}
/* * Copyright 2017-2021 Cloudopt * * 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 i...
3
Kotlin
49
335
b6d8f934357a68fb94ef511109a1a6043af4b5b6
946
cloudopt-next
Apache License 2.0
app/src/main/java/com/pratthamarora/todoapp/utils/BindingAdapters.kt
PratthamArora
280,664,323
false
null
package com.pratthamarora.todoapp.utils import android.view.View import android.widget.Spinner import androidx.constraintlayout.widget.ConstraintLayout import androidx.core.content.ContextCompat import androidx.core.view.isGone import androidx.core.view.isVisible import androidx.databinding.BindingAdapter import andro...
0
null
3
14
a5b5980fdbde3bfec03b1ec681d1f22ad8e829f7
3,035
TodoList_App
MIT License
app/src/main/java/cn/ycbjie/ycaudioplayer/kotlin/network/CustomException.kt
yangchong211
117,654,475
false
{"Gradle": 7, "Java Properties": 2, "Shell": 1, "Text": 3, "Ignore List": 3, "Batchfile": 1, "Markdown": 2, "INI": 2, "Python": 2, "Proguard": 2, "XML": 174, "Java": 213, "Kotlin": 65, "AIDL": 4, "HTML": 1}
package network.exception import com.google.gson.JsonParseException import java.net.ConnectException import java.net.SocketTimeoutException import java.net.UnknownHostException /** * Created by AxeChen on 2018/3/19. * 自定义异常,比如网络异常,解析异常等 */ class CustomException { companion object { /** * 未知错误...
5
Java
97
347
f2cb3d7df5aa435bf23e3fea91a05e0c94f86df2
1,288
YCAudioPlayer
Apache License 2.0
startup/src/debug/kotlin/com/schinizer/hackernews/startup/Flipper.kt
Schinizer
468,942,528
false
null
package com.schinizer.hackernews.startup import android.content.Context import androidx.startup.Initializer import com.facebook.flipper.android.AndroidFlipperClient import com.facebook.flipper.android.utils.FlipperUtils import com.facebook.flipper.core.FlipperClient import com.facebook.flipper.plugins.databases.Databa...
0
Kotlin
0
0
569819f4c6d60ec5c5522155748db0fddd90e9fa
1,536
HackerNewsV2
Apache License 2.0
app/src/main/kotlin/edu/stanford/bdh/engagehf/health/weight/bottomsheet/AddWeightBottomSheetViewModel.kt
StanfordSpezi
787,513,636
false
{"Kotlin": 861064, "Ruby": 1755, "Shell": 212}
package edu.stanford.bdh.engagehf.health.weight.bottomsheet import androidx.lifecycle.ViewModel import dagger.hilt.android.lifecycle.HiltViewModel import edu.stanford.bdh.engagehf.bluetooth.component.BottomSheetEvents import edu.stanford.spezi.core.logging.speziLogger import kotlinx.coroutines.flow.MutableStateFlow im...
20
Kotlin
1
8
bd87afd4ff396a53c55b38a36f88460c6b30d018
3,248
SpeziKt
MIT License
javalin-coroutines/src/main/kotlin/com/reposilite/web/coroutines/CoroutinesServlet.kt
reposilite-playground
394,095,380
false
null
package com.reposilite.web.coroutines import com.reposilite.web.coroutines.ktor.CoroutineNameRepresentation import com.reposilite.web.coroutines.ktor.DefaultUncaughtExceptionHandler import com.reposilite.web.routing.Route import io.javalin.http.Context import kotlinx.coroutines.CoroutineDispatcher import kotlinx.corou...
3
Kotlin
1
5
d6108956548516235d1e3135dae6eeb795612e78
2,215
javalin-rfcs
MIT License
app/src/main/java/com/sakethh/linkora/utils/LinkValidator.kt
sakethpathike
648,784,316
false
{"Kotlin": 1557394}
package com.sakethh.linkora.utils fun isAValidURL(webURL: String): Boolean { return try { webURL.split("/")[2] true } catch (_: Exception) { false } }
10
Kotlin
6
206
a0c71416e8f780c0a0abaf7fa8b5a6cdab56cf78
187
Linkora
MIT License
shared/src/commonMain/kotlin/com/ludens/shared/navigation/RoutingActionsSource.kt
lukamijic
354,570,509
false
null
package com.ludens.shared.navigation interface RoutingActionsSource { fun setActiveRoutingActionConsumer(routingActionConsumer: RoutingActionConsumer) fun unsetRoutingActionConsumer(routingActionConsumer: RoutingActionConsumer) }
0
Kotlin
0
0
d2de6cadd1ce65c65cf35b47940e473a4b37b76e
241
Ludens
MIT License
common/src/commonMain/kotlin/utils/JsonAnyPrimitiveSerializer.kt
crowdproj
543,982,440
false
{"Kotlin": 580806, "JavaScript": 70406, "HTML": 27939, "FreeMarker": 10064, "Batchfile": 876, "Shell": 842, "Dockerfile": 361}
package com.gitlab.sszuev.flashcards.utils import kotlinx.serialization.KSerializer import kotlinx.serialization.SerializationException import kotlinx.serialization.descriptors.SerialDescriptor import kotlinx.serialization.descriptors.buildClassSerialDescriptor import kotlinx.serialization.descriptors.element import k...
0
Kotlin
0
2
edf0dd728cdf96f59651a94f90fb53818b99b3af
2,179
opentutor
Apache License 2.0
AnylineExamples/app/src/main/java/com/anyline/examples/scanViewConfig/ScanViewConfigFolder.kt
Anyline
67,148,662
false
{"Kotlin": 66577, "HTML": 3954}
package com.anyline.examples.scanViewConfig import android.content.Context import java.io.File import java.io.IOException data class ScanViewConfigFolder(val assetFolderName: String, val friendlyName: String, val parent: ScanViewConfigFolder?) { pri...
0
Kotlin
26
22
71fffd20eeaeea9b682a7d0a586b7d13a85170a3
5,884
anyline-ocr-examples-android
RSA Message-Digest License
backpack/src/main/kotlin/com/cyb3rko/backpack/interfaces/BackpackMain.kt
cyb3rko
595,619,953
false
null
/* * Copyright (c) 2023 Cyb3rKo * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
2
null
0
2
3256d87764ab6b3c7c80255e5f824ce484e19620
938
backpack-apps
Apache License 2.0
src/commonMain/kotlin/moe/micha/deeplkt/document/UploadDocumentResponse.kt
Micha-ohne-el
632,125,233
false
{"Kotlin": 47282}
package moe.micha.deeplkt.document import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable @Serializable data class UploadDocumentResponse( @SerialName("document_id") val id: String, @SerialName("document_key") val key: String, )
0
Kotlin
0
3
e01c4b94e9bb8ba370d7e6b803c6d326bba42d97
275
DeeplKt
MIT License
ui/src/main/java/com/wireguard/android/fragment/TunnelDetailFragment.kt
huynhvanhauvn
457,668,274
false
{"Go": 338058, "Kotlin": 238643, "Java": 147662, "Shell": 19010, "C": 4067, "Makefile": 2937, "CMake": 1933}
/* * Copyright © 2017-2021 WireGuard LLC. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ package com.wireguard.android.fragment import android.os.Bundle import android.util.Log import android.view.LayoutInflater import android.view.Menu import android.view.MenuInflater import android.view.View import...
0
Go
0
0
04803245c88cf30a1550a5885c42c860e53a7e0d
8,032
wg-android
Apache License 2.0
spotify-client/src/test/java/fr/nihilus/music/spotify/service/SpotifyQueryTest.kt
thibseisel
80,150,620
false
null
/* * Copyright 2020 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
21
null
8
65
f8f4bd31814b32e457010ae38bd642713d35ca4c
3,586
android-odeon
Apache License 2.0
app/src/main/java/com/munene/haliyahewa/util/UIExtensions.kt
meshnesh
596,996,345
false
null
package com.munene.haliyahewa.util import android.annotation.SuppressLint import android.text.format.DateUtils import android.view.ViewGroup import android.widget.ImageView import android.widget.TextView import androidx.core.content.ContextCompat import androidx.databinding.BindingAdapter import androidx.recyclerview....
0
Kotlin
0
0
496c4d8c854a721ac814be18c6b1ba13db5e901b
4,906
Hali-ya-Hewa
Apache License 2.0
app/src/main/java/si/povhe/povhehome/MainActivity.kt
zigapovhe
184,813,291
false
null
package si.povhe.povhehome import android.app.Notification import android.app.NotificationChannel import android.app.NotificationManager import android.content.Context import android.os.Build import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import androidx.core.app.NotificationManagerCompat imp...
0
Kotlin
0
0
3c1a149662998e8ca48272bcee78473e06c9c09b
4,332
PovheHome
MIT License
kotlin-coroutines/src/main/java/com/mcmouse88/kotlin_coroutines/main/MainViewModel.kt
mcmouse88
691,754,136
false
{"Kotlin": 496629}
package com.mcmouse88.kotlin_coroutines.main import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.mcmouse88.kotlin_coroutines.utils.singleArgViewModelFactory import kotlinx.coroutines.Job import kotlinx.coro...
1
Kotlin
0
0
14347ca6f914d9fca6b3f21116beeadd4d154a41
3,635
GoogleCodelabs
Apache License 2.0
annotationCompiler/src/main/java/com/bigboluo/annotationcompiler/FactoryProcessor.kt
pahoehoe
320,225,630
false
{"Gradle": 8, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 8, "Batchfile": 1, "Markdown": 1, "Kotlin": 25, "INI": 3, "Proguard": 4, "XML": 18, "Java": 1}
package com.bigboluo.annotationcompiler import com.bigboluo.annotation.Factory import com.bigboluo.annotation.Meal import com.google.auto.service.AutoService import com.squareup.kotlinpoet.FileSpec import com.squareup.kotlinpoet.FunSpec import com.squareup.kotlinpoet.TypeSpec import java.io.File import javax.annotatio...
0
Kotlin
0
1
23828431d6974a14010b9be5fdf9d204b638e3e3
4,784
kotlin_kapt_demo
MIT License
app/src/main/kotlin/net/primal/android/discuss/feed/FeedContract.kt
PrimalHQ
639,579,258
false
null
package net.primal.android.discuss.feed import androidx.paging.PagingData import kotlinx.coroutines.flow.Flow import net.primal.android.core.compose.feed.model.FeedPostUi import net.primal.android.core.compose.feed.model.FeedPostsSyncStats interface FeedContract { data class UiState( val feedPostsCount: I...
0
Kotlin
0
7
fd815cd9a771c1b110e0e12ceca1012201d8e9dc
618
primal-android-app
MIT License
src/testFixtures/kotlin/uk/gov/justice/digital/hmpps/educationandworkplanapi/resource/model/education/AchievedQualificationResponseAssert.kt
ministryofjustice
653,598,082
false
{"Kotlin": 1475243, "Mustache": 2705, "Dockerfile": 1375}
package uk.gov.justice.digital.hmpps.educationandworkplanapi.resource.model.education import org.assertj.core.api.AbstractObjectAssert import uk.gov.justice.digital.hmpps.educationandworkplanapi.resource.model.AchievedQualificationResponse import uk.gov.justice.digital.hmpps.educationandworkplanapi.resource.model.Qual...
4
Kotlin
0
2
81125047ecf871b3a829dd26fbe5299a09215adc
3,488
hmpps-education-and-work-plan-api
MIT License
cinescout/database/src/commonMain/kotlin/cinescout/database/adapter/TraktMovieIdAdapter.kt
fardavide
280,630,732
false
null
package cinescout.database.adapter import app.cash.sqldelight.ColumnAdapter import cinescout.database.model.DatabaseScreenplayId.TypeMovie import cinescout.database.model.DatabaseScreenplayId.ValueSeparator import cinescout.database.model.DatabaseTraktMovieId val TraktMovieIdAdapter = object : ColumnAdapter<DatabaseT...
11
Kotlin
2
6
f2e3993816452afaf6c3f1e7c7a384eb9a66c06e
728
CineScout
Apache License 2.0