path
stringlengths
4
280
owner
stringlengths
2
39
repo_id
int64
21.1k
879M
is_fork
bool
2 classes
languages_distribution
stringlengths
13
1.95k
content
stringlengths
7
482k
issues
int64
0
13.9k
main_language
stringclasses
121 values
forks
stringlengths
1
5
stars
int64
0
111k
commit_sha
stringlengths
40
40
size
int64
7
482k
name
stringlengths
1
100
license
stringclasses
93 values
src/plugin-saxon/main/uk/co/reecedunn/intellij/plugin/saxon/query/s9api/profiler/SaxonQueryProfiler.kt
rhdunn
62,201,764
false
null
/* * Copyright (C) 2019-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 ...
47
Kotlin
4
25
d363dad28df1eb17c815a821c87b4f15d2b30343
2,917
xquery-intellij-plugin
Apache License 2.0
shared/src/commonMain/kotlin/model/data/formula/TopItem.kt
theodore-norvell
726,244,640
false
{"Kotlin": 49666, "Swift": 592, "Shell": 228}
package model.data.formula import model.data.Environment sealed class TopItem { abstract fun asNumberBuilder() : NumberBuilder? abstract fun negate() : TopItem abstract fun render( env : Environment) : String }
0
Kotlin
0
0
fba8c3a7456393f8fcdb1a868405483387be9d2e
227
compose-app
Apache License 2.0
app/src/main/java/com/hawesome/bleconnector/kit/ModbusKit.kt
hawesome512
325,215,146
false
{"Java": 136678, "Kotlin": 127590}
package com.hawesome.bleconfig.kit import com.hawesome.bleconfig.ext.toIntList //<editor-fold desc="定义数据类型"> /* * Modbus指令类型:读、写、错误 * */ enum class CMDType(val value: Int) { READ(0x03), WRITE(0x1A), ERROR(0x00) } /* * Modbus指令信息(指令类型,起始地址,数据长度) * */ data class CMDInfo(val type: CMDType = CMDType.ERROR, val l...
1
null
1
1
eea6f216dd64c70ac44d7b1d2826c9abea179e6e
5,127
BleConnector
Apache License 2.0
kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVerifiedAccessEndpoint.kt
cloudshiftinc
667,063,030
false
{"Kotlin": 142794926}
@file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION") package io.cloudshiftdev.awscdk.services.ec2 import io.cloudshiftdev.awscdk.CfnResource import io.cloudshiftdev.awscdk.CfnTag import io.clouds...
1
Kotlin
0
4
ddf2bfd2275b50bb86a667c4298dd92f59d7e342
54,083
kotlin-cdk-wrapper
Apache License 2.0
src/jvmMain/kotlin/layouts/ui/sections/GroupSection.kt
N7ghtm4r3
710,292,647
false
{"Kotlin": 279232}
package layouts.ui.sections import androidx.compose.foundation.ExperimentalFoundationApi import androidx.compose.foundation.Image import androidx.compose.foundation.background import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.* import androidx.compose.foundation.lazy.LazyColumn imp...
0
Kotlin
0
0
a308833f42d6b795ea0787d05188e1b6a685cedf
24,991
Pandoro-Desktop
MIT License
src/main/kotlin/TEMP.kt
TeamVoided
737,359,498
false
{"Kotlin": 871908, "Java": 13546}
//// //// Source code recreated from a .class file by IntelliJ IDEA //// (powered by FernFlower decompiler) //// //package net.minecraft.entity.projectile // //import net.minecraft.enchantment.EnchantmentHelper //import net.minecraft.entity.EntityType //import net.minecraft.entity.EquipmentSlot //import net.minecraft.e...
0
Kotlin
0
0
1c5e4407343aabc6ed97548ff127111bd4a9b028
8,094
DusksAndDungeons
MIT License
domain/news/src/main/java/ir/kaaveh/domain/model/Resource.kt
Kaaveh
576,928,671
false
null
package ir.composenews.domain.model sealed class Resource<T>( val data: T? = null, val exception: Exception? = null, ) { class Success<T>(data: T) : Resource<T>(data) class Error<T>(exception: Exception, data: T? = null) : Resource<T>(data, exception) }
4
Kotlin
5
32
21f26e68421560767f48d3825cc3dcbbe432787f
271
ComposeNews
Apache License 2.0
client_end_user/shared/src/commonMain/kotlin/presentation/pickLanguage/PickLanguageScreen.kt
TheChance101
671,967,732
false
{"Kotlin": 2473455, "Ruby": 8872, "HTML": 6083, "Swift": 4726, "JavaScript": 3082, "CSS": 1436, "Dockerfile": 1407, "Shell": 1140}
package presentation.pickLanguage import androidx.compose.foundation.Image import androidx.compose.foundation.background import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.PaddingValues import androidx.compose.foundation.layout....
4
Kotlin
55
572
1d2e72ba7def605529213ac771cd85cbab832241
2,966
beep-beep
Apache License 2.0
src/app/api/src/main/kotlin/yapp/be/apiapplication/system/security/resolver/ShelterUserAuthenticationInfoArgumentResolver.kt
YAPP-Github
634,126,325
false
null
package yapp.be.apiapplication.system.security.resolver import org.springframework.context.annotation.Configuration import org.springframework.core.MethodParameter import org.springframework.security.core.context.SecurityContextHolder import org.springframework.web.bind.support.WebDataBinderFactory import org.springfr...
2
null
1
7
ebee64b31bfe77106c0212605ba5e0f9b9957879
1,491
DangleDangle-server
Apache License 2.0
idea/src/org/jetbrains/kotlin/idea/refactoring/cutPaste/MoveDeclarationsIntentionAction.kt
JakeWharton
99,388,807
false
null
/* * Copyright 2010-2017 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...
0
null
28
83
4383335168338df9bbbe2a63cb213a68d0858104
2,684
kotlin
Apache License 2.0
app/src/main/java/com/android/musicplayer/presentation/songplayer/SongPlayerActivity.kt
mousavi007
242,477,306
false
null
package com.android.musicplayer.presentation.songplayer import android.content.Context import android.content.Intent import android.os.Bundle import android.util.Log import android.widget.SeekBar import androidx.core.content.ContextCompat import androidx.lifecycle.Observer import coil.api.load import com.android.music...
0
null
0
1
7662328f2d2dc643976c15e001b5bbcbf2524843
5,415
MusicPlayer
Apache License 2.0
vector/src/test/java/im/vector/app/features/poll/create/CreatePollViewModelTest.kt
tchapgouv
340,329,238
false
null
/* * Copyright (c) 2022 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...
91
null
6
9
f088d7c2be9d4546057e90215c5171c04d227267
10,628
tchap-android
Apache License 2.0
challenge/flutter/all_samples/material_rawscrollbar_1/android/app/src/main/kotlin/com/example/material_rawscrollbar_1/MainActivity.kt
davidzou
5,868,257
false
null
package com.example.material_rawscrollbar_1 import io.flutter.embedding.android.FlutterActivity class MainActivity: FlutterActivity() { }
1
null
1
4
1060f6501c432510e164578d4af60a49cd5ed681
140
WonderingWall
Apache License 2.0
kotlin.iot/core/common/src/main/java/NetworkWorker.kt
YuriZhuravlev
651,845,683
false
null
package ru.zhuravlev.yuri.core import ru.zhuravlev.yuri.core.model.* interface NetworkWorker { fun subscribe(onMessage: MessageHandler) fun unsubscribe() fun publish(configurationTemperature: ConfigurationTemperature) fun publish(signal: UserSignal) interface MessageHandler { fun onTemper...
0
Kotlin
0
0
38bad20ca219ced244f89c0d792583d1a28e8473
511
IoT-System
MIT License
ktlint-ruleset-standard/src/main/kotlin/com/pinterest/ktlint/ruleset/standard/rules/TrailingCommaOnDeclarationSiteRule.kt
pinterest
64,293,719
false
null
package com.pinterest.ktlint.ruleset.standard.rules import com.pinterest.ktlint.rule.engine.core.api.ElementType import com.pinterest.ktlint.rule.engine.core.api.ElementType.ARROW import com.pinterest.ktlint.rule.engine.core.api.ElementType.CLASS import com.pinterest.ktlint.rule.engine.core.api.ElementType.COMMA impor...
7
null
509
6,205
80c4d5d822d47bb7077a874ebb9105097f2eb1c2
21,492
ktlint
MIT License
app/src/main/java/com/example/bvm/ui/book/BookChangeActivity.kt
Liuwq-bit
431,728,147
false
null
package com.example.bvm.ui.book import android.icu.text.SimpleDateFormat import android.os.Build import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.text.Editable import android.view.MenuItem import android.widget.Toast import androidx.annotation.RequiresApi import androidx.lifecycl...
0
Kotlin
0
1
aed83fcabe475d01faed5ed35e7a4892ffde05f1
3,550
BVM
Apache License 2.0
cform-macro/src/test/kotlin/test/pl/wrzasq/cform/macro/pipeline/types/S3SourceTest.kt
rafalwrzeszcz-wrzasqpl
308,744,180
false
{"Kotlin": 252955}
/** * This file is part of the pl.wrzasq.cform. * * @license http://mit-license.org/ The MIT license * @copyright 2021 © by <NAME> - Wrzasq.pl. */ package test.pl.wrzasq.cform.macro.pipeline.types import org.junit.jupiter.api.Test import org.junit.jupiter.api.assertThrows import pl.wrzasq.cform.macro.pipeline.ty...
5
Kotlin
0
1
6d6ae1abe6d44126944ff090c010ca8d01dd794d
816
pl.wrzasq.cform
MIT License
app/src/main/java/com/graduation/mawruth/ui/signup/SignupActivity.kt
MohamedElattar22
753,310,964
false
{"Kotlin": 193180}
package com.graduation.mawruth.ui.signup import android.app.Dialog import android.content.Intent import android.graphics.Color import android.graphics.drawable.ColorDrawable import android.os.Bundle import android.text.Editable import android.text.TextWatcher import android.view.LayoutInflater import android.widget.T...
0
Kotlin
0
4
d9cb7e523edbfd0eb17d7ce0f8c70c6e77820d03
5,878
Mawruth
Apache License 2.0
jetbrains-core/src/software/aws/toolkits/jetbrains/ui/feedback/Constants.kt
JetBrains
223,485,227
false
null
// Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.aws.toolkits.jetbrains.ui.feedback const val FEEDBACK_SOURCE = "source" const val ENABLED_EXPERIMENTS = "experimentsEnabled"
6
null
4
9
ccee3307fe58ad48f93cd780d4378c336ee20548
258
aws-toolkit-jetbrains
Apache License 2.0
src/main/kotlin/com/github/burkclik/asplugin/actions/ModuleLevelDynamicActionGroup.kt
Trendyol
535,543,930
false
null
package com.github.burkclik.asplugin.actions import com.github.burkclik.asplugin.util.ConfigFileReader import com.github.burkclik.asplugin.util.getModuleName import com.github.burkclik.asplugin.util.getModuleTerminalCommand import com.intellij.openapi.actionSystem.ActionGroup import com.intellij.openapi.actionSystem.A...
0
Kotlin
0
2
037f7bf5edc57221072a134a3f8b935bc40ac3b3
1,805
Commander-AS-Plugin
MIT License
modules/tak/compose/icons/src/main/kotlin/dev/jonpoulton/alakazam/tak/compose/icons/raptorx/Note.kt
jonapoul
375,762,483
false
{"Kotlin": 2898393, "Shell": 670}
package dev.jonpoulton.alakazam.tak.compose.icons.raptorx import androidx.compose.runtime.Composable import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidC...
0
Kotlin
0
0
7769263ac0c6f0976facff732cf533dfd7ec44a3
4,483
alakazam
Apache License 2.0
winter/src/main/kotlin/io/jentz/winter/WinterInjection.kt
andreycooper
215,816,411
true
{"Kotlin": 378817, "Java": 11491, "Ruby": 1282}
package io.jentz.winter import io.jentz.winter.adapter.ApplicationGraphOnlyAdapter /** * Abstraction to create, get and dispose a dependency graph from a class that can't make use of * constructor injection. * * For applications it is recommended to use the object version [Injection] directly and for * libraries...
0
null
0
0
4fd5ca4e9547198860719ce2a23f47d8141335f4
5,831
winter
Apache License 2.0
app/src/main/java/com/debanshu777/compose_github/network/model/userStats/Watching.kt
Debanshu777
467,621,052
false
{"Kotlin": 390827}
package com.debanshu777.compose_github.network.model.userStats import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable @Serializable data class Organizations( @SerialName("totalCount") val totalCount: Int = 0 // 1 )
1
Kotlin
2
57
422904eb5e71737e7f527932bfe84253740ed35c
252
Github-Compose
MIT License
kohii-sample/src/main/java/kohii/v1/sample/ui/fbook/vh/VideoViewHolder.kt
eneim
138,487,627
false
null
/* * Copyright (c) 2019 <NAME>, <EMAIL> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
49
null
50
370
79f5ec327e3db627d88b089931b63d1e28e4e2ee
3,531
kohii
Apache License 2.0
app/src/test/java/org/simple/clinic/drugs/DrugSummaryUpdateTest.kt
simpledotorg
132,515,649
false
null
package org.simple.clinic.drugs; import com.spotify.mobius.test.NextMatchers.hasEffects import com.spotify.mobius.test.NextMatchers.hasNoModel import com.spotify.mobius.test.UpdateSpec import com.spotify.mobius.test.UpdateSpec.assertThatNext import org.junit.Test import org.simple.clinic.TestData import org.simple.cli...
3
null
73
236
ff699800fbe1bea2ed0492df484777e583c53714
2,095
simple-android
MIT License
Backpack/src/main/java/net/skyscanner/backpack/util/ColorStateList.kt
Skyscanner
117,813,847
false
null
/** * Backpack for Android - Skyscanner's Design System * * Copyright 2018-2021 Skyscanner 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/LI...
8
null
32
94
9b5448b446c7bc46560e430595829e5f4f090e6b
1,426
backpack-android
Apache License 2.0
integration-tests/src/test/kotlin/com/google/devtools/ksp/test/KMPImplementedIT.kt
google
297,744,725
false
{"Kotlin": 2173589, "Shell": 5321, "Java": 3893}
package com.google.devtools.ksp.test import org.gradle.testkit.runner.BuildResult import org.gradle.testkit.runner.GradleRunner import org.gradle.testkit.runner.TaskOutcome import org.junit.Assert import org.junit.Assume import org.junit.Ignore import org.junit.Rule import org.junit.Test import org.junit.runner.RunWit...
379
Kotlin
268
2,854
a977fb96b05ec9c3e15b5a0cf32e8e7ea73ab3b3
16,616
ksp
Apache License 2.0
autofill/autofill-impl/src/main/java/com/duckduckgo/autofill/impl/InternalAutofillCapabilityChecker.kt
duckduckgo
78,869,127
false
null
/* * Copyright (c) 2023 DuckDuckGo * * 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 ...
83
null
894
3,781
587ad2cfe861e69f9407f8abf90b859e151ca367
5,985
Android
Apache License 2.0
autofill/autofill-impl/src/main/java/com/duckduckgo/autofill/impl/AutofillJavascriptInterface.kt
duckduckgo
78,869,127
false
null
/* * Copyright (c) 2022 DuckDuckGo * * 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 ...
68
null
901
3,823
6415f0f087a11a51c0a0f15faad5cce9c790417c
18,863
Android
Apache License 2.0
app/src/main/java/com/tomclaw/drawa/share/ShareItem.kt
solkin
62,579,229
false
{"Kotlin": 201724, "Java": 39209}
package com.tomclaw.drawa.share import android.os.Parcel import android.os.Parcelable import androidx.annotation.DrawableRes import androidx.annotation.StringRes class ShareItem( val id: Int, @DrawableRes val image: Int, @StringRes val title: Int, @StringRes val description: Int ) : Pa...
1
Kotlin
6
22
131f0ef2a9ea88854f18ecef2250d5396da225e2
1,043
drawa-android
Apache License 2.0
data/src/main/java/com/ribsky/data/model/UserApiModel.kt
nexy791
607,748,138
false
null
package com.ribsky.data.model import com.ribsky.domain.model.user.BaseUserModel import com.squareup.moshi.JsonClass @JsonClass(generateAdapter = true) data class UserApiModel( override val name: String = "", override val email: String = "", override val image: String = "", override var score: Int = 0,...
0
null
0
17
ff6543fd2b738b6861f03b7509c80534dd56f417
3,131
dymka
Apache License 2.0
src/main/kotlin/io/github/sulion/jared/processing/Classificator.kt
Sulion
220,689,115
false
null
package io.github.sulion.jared.processing import io.github.sulion.jared.config.DSL_CONFIG import io.github.sulion.jared.data.ExpenseCategory import io.github.sulion.jared.models.Tables.CLASSIFICATOR import org.apache.commons.codec.digest.DigestUtils import org.jooq.SQLDialect import org.jooq.impl.DSL import java.util....
0
Kotlin
0
0
4a1137a88bc5269841f2db6fbfb3a380506074c5
1,558
jared-the-manager
Apache License 2.0
providers/aws/src/main/kotlin/cloudspec/aws/sns/SNSResourceLoader.kt
efoncubierta
259,448,965
false
null
/*- * #%L * CloudSpec AWS Provider * %% * Copyright (C) 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 * * Un...
3
Kotlin
2
26
edabff96392cdb1f0d55b3a9c57ae5c433c7be69
3,761
cloudspec
Apache License 2.0
sdk/src/main/kotlin/GetApp/Client/models/UploadArtifactDto.kt
getappsh
735,551,269
false
{"Kotlin": 788107, "Java": 8139, "Python": 589}
/** * * Please note: * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * Do not edit this file manually. * */ @file:Suppress( "ArrayInDataClass", "EnumEntryName", "RemoveRedundantQualifierName", "UnusedImport" ) package GetApp.Client.models import com.square...
2
Kotlin
1
1
423a49aea8abd2f6b85cc00bf7ecd46dd742db9e
1,339
getmap-android-sdk
Apache License 2.0
app/src/test/java/app/odapplications/bitstashwallet/modules/pin/unlock/UnlockPinPresenterTest.kt
bitstashco
220,133,996
false
null
package app.odapplications.bitstashwallet.modules.pin.unlock import com.nhaarman.mockito_kotlin.any import com.nhaarman.mockito_kotlin.never import com.nhaarman.mockito_kotlin.verify import app.odapplications.bitstashwallet.entities.LockoutState import app.odapplications.bitstashwallet.modules.RxBaseTest import app.od...
4
Java
3
11
64c242dbbcb6b4df475a608b1edb43f87e5091fd
3,451
BitStash-Android-Wallet
MIT License
squash-mysql/test/org/jetbrains/squash/dialects/mysql/tests/MySqlModificationTests.kt
orangy
59,228,714
false
null
package org.jetbrains.squash.dialects.mysql.tests import org.jetbrains.squash.tests.* class MySqlModificationTests : ModificationTests(), DatabaseTests by MySqlDatabaseTests()
27
Kotlin
17
258
dc025481b7104a5e234d6df370d715b6b37c81eb
177
squash
Apache License 2.0
app/src/main/java/com/lxh/cookcommunity/ui/fragment/fooddetail/FoodDetailViewModel.kt
wyuange
330,105,416
true
{"Kotlin": 272162, "Java": 20875, "FreeMarker": 1691}
package com.lxh.cookcommunity.ui.fragment.fooddetail import android.app.Application import androidx.lifecycle.MutableLiveData import com.lxh.cookcommunity.manager.api.ApiService import com.lxh.cookcommunity.model.api.home.Food import com.lxh.cookcommunity.ui.base.BaseViewModel import org.kodein.di.generic.instance c...
0
null
0
0
3b9bbc73569cef6c735ab288b5087739135b9557
1,553
CookCommunity
Apache License 2.0
security/src/main/java/pm/gnosis/svalinn/security/FingerprintHelper.kt
vanderian
171,901,954
false
null
package pm.gnosis.svalinn.security import io.reactivex.Completable import io.reactivex.Observable import io.reactivex.Single import javax.crypto.Cipher interface FingerprintHelper { fun removeKey(): Completable fun systemHasFingerprintsEnrolled(): Boolean fun isKeySet(): Single<Boolean> fun authentica...
1
null
1
1
68371db16857c7420697ed1a54d1f074c7fd4f8e
844
svalinn-kotlin
MIT License
app/src/main/java/tech/danielwaiguru/notebook/presentation/viewmodels/AddNoteViewModel.kt
DanielWaiguru91
272,407,309
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 o...
0
Kotlin
1
2
652e0c9e86c9bc1b4826b04a1ec8e23385f1dee5
1,098
Notebook
Apache License 2.0
app/src/main/java/com/jeanbarrossilva/realism/data/RealismPreference.kt
jeanbarrossilva
315,365,931
false
null
package com.jeanbarrossilva.realism.data import android.content.Context import android.util.Log import androidx.compose.runtime.Composable import androidx.compose.ui.platform.ContextAmbient import androidx.compose.ui.res.stringResource import androidx.core.content.edit import com.jeanbarrossilva.realism.extension.Cont...
0
Kotlin
0
0
6727d0603e1bad83388988c322830604719267bc
2,715
EDQ
MIT License
kakao/src/main/kotlin/io/github/kakaocup/kakao/swiperefresh/SwipeRefreshLayoutActions.kt
KakaoCup
370,697,938
false
{"Kotlin": 325884, "Ruby": 148}
@file:Suppress("unused") package com.agoda.kakao.swiperefresh import android.view.View import androidx.swiperefreshlayout.widget.SwipeRefreshLayout import androidx.test.espresso.UiController import androidx.test.espresso.ViewAction import androidx.test.espresso.matcher.ViewMatchers import com.agoda.kakao.common.actio...
13
Kotlin
28
330
578e2c729541e51cd584159404417234f0cbbce1
1,078
Kakao
Apache License 2.0
src/day01/Day01.kt
mherda64
512,106,270
false
{"Kotlin": 10058}
package day01 import readInputAsInts fun main() { fun part1(input: List<Int>): Int { return input.windowed(2).count { (a, b) -> a < b } } fun part2(input: List<Int>): Int { return input .windowed(3) .windowed(2) .count { (a,b) -> a.sum() < b.sum() } ...
0
Kotlin
0
0
d04e179f30ad6468b489d2f094d6973b3556de1d
577
AoC2021_kotlin
Apache License 2.0
app/src/main/java/pl/lightmobile/design01transitions/CustomTransitionFragment.kt
obiwanzenobi
180,178,805
false
null
package pl.lightmobile.design01transitions import android.content.Context import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.fragment.app.Fragment import androidx.transition.TransitionInflater class CustomTransitionFragment : Fragment() {...
0
Kotlin
0
0
2b4a5407d48df2fb569ae75c1bcb1b13f003ac55
729
android-design01-transitions
MIT License
app/src/main/java/com/erkindilekci/rickandmorty/data/remote/dto/Location.kt
erkindilekci
656,549,599
false
null
package com.erkindilekci.rickandmorty.data.remote.dto data class Location( val name: String, val url: String )
0
Kotlin
0
0
f2ecc9e1f4936b2d1e0a272efb0c827619ff8a08
120
RickAndMorty
Apache License 2.0
onactivityresult/src/main/java/org/legobyte/onactivityresult/Proxy.kt
legobyte
213,495,273
false
null
package org.legobyte.onactivityresult import android.app.Activity import android.content.Context import android.content.ContextWrapper import android.content.Intent import android.os.Bundle import android.os.Handler import android.os.Looper import android.os.ResultReceiver import androidx.annotation.CheckResult obje...
0
Kotlin
1
9
43cd606783e7b63e32f55d9b9b27c951d61e2c78
2,227
OnActivityResult
Apache License 2.0
RetenoSdkPush/src/main/java/com/reteno/push/receiver/PushPermissionChangedReceiver.kt
reteno-com
545,381,514
false
{"Kotlin": 1163777, "Java": 164545, "HTML": 17807, "Shell": 379}
package com.reteno.push.receiver import android.content.BroadcastReceiver import android.content.Context import android.content.Intent import com.reteno.core.util.Logger import com.reteno.core.util.isOsVersionSupported class PushPermissionChangedReceiver : BroadcastReceiver() { override fun onReceive(context: Co...
1
Kotlin
1
1
665fff618bff763e27c2aa8c2b46e8f122ba07d5
903
reteno-mobile-android-sdk
MIT License
ground/src/main/java/com/google/android/ground/persistence/local/room/dao/JobDao.kt
google
127,777,820
false
{"Kotlin": 1403201}
/* * Copyright 2019 Google LLC * * 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 ...
224
Kotlin
116
245
502a3bcafa4d65ba62868036cf5287a4219aaf5c
972
ground-android
Apache License 2.0
app/src/main/java/com/koleff/kare_android/ui/compose/screen/WorkoutDetailsScreen.kt
MartinKoleff
741,013,199
false
{"Kotlin": 1413112}
package com.koleff.kare_android.ui.compose.screen import android.util.Log import androidx.compose.animation.core.animateDpAsState import androidx.compose.animation.core.animateFloatAsState import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Box import androidx.compose.founda...
23
Kotlin
0
4
4ad6b9f320ff60e05b453375b9b855bd3e4a3483
20,376
KareFitnessApp
MIT License
app/src/main/java/jp/osdn/gokigen/thetaview/operation/imagefile/ImageStoreLocal.kt
MRSa
747,976,113
false
{"Kotlin": 424651}
package jp.osdn.gokigen.thetaview.operation.imagefile import android.net.Uri import android.os.Environment import android.util.Log import androidx.camera.core.ImageCapture import androidx.camera.core.ImageCaptureException import androidx.constraintlayout.widget.ConstraintLayout import androidx.core.content.ContextComp...
0
Kotlin
0
0
a4ecad82ba955919de2bb16e18da2a2b6c2c7cfc
2,562
ThetaView
Apache License 2.0
src/AndroidODataOfflineSample/app/src/main/java/com/flexberry/androidodataofflinesample/data/local/datasource/room/RoomDataBaseEntityInfo.kt
Flexberry
632,280,538
false
null
package com.flexberry.androidodataofflinesample.data.local.datasource.room import androidx.sqlite.db.SimpleSQLiteQuery import com.flexberry.androidodataofflinesample.data.local.dao.BaseDao import kotlin.reflect.KClass /** * Информация о базе данных сущности. * * @param T Тип сущности. * @param kotlinClass Класс с...
1
Kotlin
1
1
1f55387800a8cbf722016cbf5e0f6b1f5cc995a8
2,755
Flexberry.AndroidODataOffline.Sample
MIT License
examples/ktor-example/src/main/kotlin/stove/ktor/example/application/ProductService.kt
Trendyol
590,452,775
false
{"Kotlin": 267198}
package stove.ktor.example.application import stove.ktor.example.domain.ProductRepository import java.time.Duration class ProductService( private val repository: ProductRepository, private val lockProvider: LockProvider ) { companion object { private const val DURATION = 30L } suspend fun update(id: Lo...
5
Kotlin
8
96
fbd1cf5e64ad27cfde947ac9f9e4326e8051fe68
767
stove
Apache License 2.0
app/src/main/java/org/fossasia/susi/ai/skills/skilllisting/contract/ISkillListingPresenter.kt
fossasia
68,798,776
false
null
package org.fossasia.susi.ai.skills.skilllisting.contract /** * * Created by chiragw15 on 15/8/17. */ interface ISkillListingPresenter { fun onAttach(skillListingView: ISkillListingView) fun getGroups(swipeToRefreshActive: Boolean) fun getMetrics(swipeToRefreshActive: Boolean) fun onDetach() }
81
null
1131
2,391
a3409051185d4624e65f7df7847e2fca0910cebe
315
susi_android
Apache License 2.0
app/src/main/java/com/example/pulsa/activities/SubActivity.kt
BridgeTheMasterBuilder
588,133,993
false
null
package com.example.pulsa.activities import android.app.Activity import android.content.Intent import android.os.Bundle import android.view.GestureDetector import android.view.MotionEvent import android.widget.Toast import androidx.activity.result.contract.ActivityResultContracts import androidx.core.view.GestureDetec...
0
Kotlin
1
2
9ed68b624407d67b24d6db4abae158e6e24e37a7
6,263
pulsa-mobile
The Unlicense
app/src/main/java/com/packt/tellastory/activities/MainActivity.kt
mikerworks
108,963,811
false
null
package com.packt.tellastory.activities import android.app.Fragment; import android.content.Intent import android.os.Bundle; import android.support.v4.view.GravityCompat; import android.support.v4.widget.DrawerLayout; import android.support.v7.app.AppCompatActivity; import android.view.Menu; import android.view.MenuIt...
0
Kotlin
0
0
c229be54e703c327767e1e7ce3af98353ec94a58
3,242
packt-lean-onboarding
MIT License
common/src/main/kotlin/com/yod/common/widget/StableViewPager.kt
luketang3
117,669,049
false
{"Gradle": 5, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 4, "Batchfile": 1, "Markdown": 1, "Proguard": 3, "Kotlin": 34, "XML": 21, "Java": 4}
package com.yod.common.widget import android.content.Context import android.support.v4.view.ViewPager import android.util.AttributeSet import android.view.MotionEvent import timber.log.Timber /** * stable * Created by tangJ on 2017/9/5 */ class StableViewPager @JvmOverloads constructor(context: Context, attrs: At...
1
null
1
1
1cb0ad9aac66107163484c31bf9745b2617eb468
912
yodLib
Apache License 2.0
app/src/main/kotlin/com/pnuema/bible/android/database/ChapterCountOffline.kt
barnhill
98,140,541
false
null
package com.pnuema.bible.android.database import androidx.room.Entity import com.pnuema.bible.android.data.firefly.ChapterCount @Entity(tableName = "offlineChapterCount", primaryKeys = ["book_id","version"]) data class ChapterCountOffline ( var book_id: Int, var version: String, val chapterCount: Int = 0 ...
0
Kotlin
2
13
ca2ddcf6d29e78df59a835b4076605a919cdf957
402
Bible
Apache License 2.0
src/test/kotlin/CohortProperties.kt
ykhandelwal913
322,276,158
true
{"Kotlin": 93670}
import java.io.File import java.net.URI import java.util.Properties class CohortProperties( val jira: URI, val userName: String, val userPassword: String, val cohort: String ) { companion object { fun load(secretsName: String): CohortProperties { val secrets = File("cohort-secre...
0
null
0
0
e613cbf383e4076958cae488f21f755bf8775f9c
789
jces-1209
Apache License 2.0
app/src/main/java/com/pedro/streamer/screen/ScreenService.kt
pedroSG94
79,667,969
false
{"Kotlin": 1116814, "Java": 618860, "GLSL": 34672}
/* * Copyright (C) 2024 pedroSG94. * * 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...
87
Kotlin
772
2,545
eca59948009d5a7b564f9a838c149b850898d089
8,788
RootEncoder
Apache License 2.0
client/rpc/src/main/kotlin/net/corda/client/rpc/CordaRPCClient.kt
desertfund
113,458,422
false
null
package net.corda.client.rpc import net.corda.client.rpc.internal.KryoClientSerializationScheme import net.corda.client.rpc.internal.RPCClient import net.corda.client.rpc.internal.RPCClientConfiguration import net.corda.core.context.Actor import net.corda.core.context.Trace import net.corda.core.messaging.CordaRPCOps ...
1
null
1
1
f9614123968035cb325c6de0b84cf2718643f399
6,356
corda
Apache License 2.0
base/src/test/java/de/whitefrog/frogr/test/model/Person.kt
joewhite86
118,778,368
false
null
package de.whitefrog.frogr.test.model import com.fasterxml.jackson.annotation.JsonView import de.whitefrog.frogr.model.Entity import de.whitefrog.frogr.model.annotation.* import de.whitefrog.frogr.rest.Views import org.neo4j.graphdb.Direction import java.util.* class Person(@Indexed var field: String? = null, @Indexe...
1
Kotlin
1
2
396ac4243acb7b75f624431e61d691e3fb6c9103
2,273
frogr
MIT License
app/src/main/java/com/bernaferrari/changedetection/detailsvisual/VisualViewModel.kt
bernaferrari
135,081,469
false
{"Kotlin": 423918, "Java": 60461}
package com.bernaferrari.changedetection.detailsImage import android.app.Application import android.arch.lifecycle.AndroidViewModel import android.arch.lifecycle.LiveData import android.arch.paging.LivePagedListBuilder import android.arch.paging.PagedList import com.bernaferrari.changedetection.data.Snap import com.be...
22
Kotlin
97
696
4cb31aab20c321421347b3aad4ad86f516f136f0
2,539
ChangeDetection
Apache License 2.0
compiler/fir/providers/src/org/jetbrains/kotlin/fir/types/InferenceUtils.kt
JetBrains
3,432,266
false
null
/* * Copyright 2010-2021 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.types import org.jetbrains.kotlin.builtins.functions.FunctionClassKind impor...
7
null
5411
43,797
a8f547d080724fae3a45d675a16c5b3fc2f13b17
11,260
kotlin
Apache License 2.0
src/main/java/uk/gov/justice/digital/hmpps/cmd/api/domain/NotificationType.kt
nickmcmahon01
310,653,680
false
{"Kotlin": 337402, "Dockerfile": 1319, "Java": 1075, "Shell": 181}
package uk.gov.justice.digital.hmpps.cmd.api.domain enum class NotificationType(val value: String) { EMAIL_SUMMARY("bef26932-5284-4c0b-8df9-54202b790a9e"), SMS_SUMMARY("37f1724b-3843-4a57-b3ea-7120aa01d8f6"), }
0
Kotlin
2
0
b29b5a7161ce28c925f3b08dceb524c4ee2e96df
216
cmd-api
MIT License
app/src/main/java/com/echomu/github/AndroidGenericFrameworkAppGlideModule.kt
echoMu
507,586,352
false
null
package com.echomu.github import android.content.Context import com.bumptech.glide.GlideBuilder import com.bumptech.glide.annotation.GlideModule import com.bumptech.glide.load.DecodeFormat import com.bumptech.glide.module.AppGlideModule import com.bumptech.glide.request.RequestOptions /** * Created by echoMu. */ @G...
0
Kotlin
0
0
96907920eec4e7d56e930b3d57b1d2de60dc9194
618
IGitHub
Apache License 2.0
Capstone Project/app/src/main/java/com/sum/capstoneproject/response/CRUDResponse.kt
sumeyraozugur
502,581,500
false
{"Kotlin": 55266}
package com.sum.capstoneproject.response import com.google.gson.annotations.Expose import com.google.gson.annotations.SerializedName data class CRUDResponse (@SerializedName("status") @Expose var status:Int, @SerializedName("message") ...
0
Kotlin
0
1
c2dc877db09f6904398c9f1d2a97ee81269369d7
389
UpSchool-Capstone-Project
Apache License 2.0
jetbrains-core/it/software/aws/toolkits/jetbrains/services/ecr/EcrPullIntegrationTest.kt
JetBrains
223,485,227
true
{"Gradle Kotlin DSL": 21, "Markdown": 16, "Java Properties": 2, "Shell": 1, "Text": 12, "Ignore List": 3, "Batchfile": 1, "Git Attributes": 1, "EditorConfig": 3, "YAML": 28, "XML": 96, "Kotlin": 1102, "JSON": 54, "Java": 9, "SVG": 64, "TOML": 1, "INI": 1, "CODEOWNERS": 1, "Maven POM": 4, "Dockerfile": 14, "JavaScript":...
// Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.aws.toolkits.jetbrains.services.ecr import com.intellij.testFramework.ProjectRule import kotlinx.coroutines.runBlocking import org.assertj.core.api.Assertions.assertThat import org.junit....
6
Kotlin
4
9
ccee3307fe58ad48f93cd780d4378c336ee20548
3,071
aws-toolkit-jetbrains
Apache License 2.0
src/main/kotlin/arraysandstrings/RotateImage.kt
e-freiman
471,473,372
false
null
package arraysandstrings class RotateImage { private fun swap(i1: Int, j1: Int, i2: Int, j2: Int, matrix: Array<IntArray>) { val temp = matrix[i1][j1] matrix[i1][j1] = matrix[i2][j2] matrix[i2][j2] = temp } fun rotate(matrix: Array<IntArray>): Unit { // transpose the matrix...
0
Kotlin
0
0
fab7f275fbbafeeb79c520622995216f6c7d8642
914
LeetcodeGoogleInterview
Apache License 2.0
src/main/kotlin/arraysandstrings/RotateImage.kt
e-freiman
471,473,372
false
null
package arraysandstrings class RotateImage { private fun swap(i1: Int, j1: Int, i2: Int, j2: Int, matrix: Array<IntArray>) { val temp = matrix[i1][j1] matrix[i1][j1] = matrix[i2][j2] matrix[i2][j2] = temp } fun rotate(matrix: Array<IntArray>): Unit { // transpose the matrix...
0
Kotlin
0
0
fab7f275fbbafeeb79c520622995216f6c7d8642
914
LeetcodeGoogleInterview
Apache License 2.0
nebulosa-indi-client/src/main/kotlin/nebulosa/indi/client/device/wheels/INDIFilterWheel.kt
tiagohm
568,578,345
false
{"Kotlin": 2467740, "TypeScript": 451309, "HTML": 225848, "SCSS": 13625, "Python": 2817, "JavaScript": 1198, "Makefile": 160}
package nebulosa.indi.client.device.wheels import nebulosa.indi.client.INDIClient import nebulosa.indi.client.device.INDIDevice import nebulosa.indi.device.filterwheel.* import nebulosa.indi.protocol.* // https://github.com/indilib/indi/blob/master/libs/indibase/indifilterwheel.cpp internal open class INDIFilterWhee...
4
Kotlin
2
4
bc81dd82c3c7dce1cf55bd03d0a69a8a1818f9ce
3,029
nebulosa
MIT License
library/src/main/java/cloud/pace/sdk/appkit/communication/generated/model/request/DisableRequest.kt
pace
303,641,261
false
null
// // Generated by KotlinPoet: // https://github.com/square/kotlinpoet // // Please do not edit! // package cloud.pace.sdk.appkit.communication.generated.model.request import kotlin.Double public data class DisableRequest( /** * The date when the app should be enabled again, in seconds since epoch */ pu...
0
Kotlin
0
3
09f36aa0344d3482e86715ad7c47d7f1a4aa4fe4
345
cloud-sdk-android
MIT License
src/main/kotlin/net/rentalhost/plugins/php/hammer/inspections/codeError/OverrideIllegalInspection.kt
hammer-tools
509,864,102
false
null
package net.rentalhost.plugins.php.hammer.inspections.codeError import com.intellij.codeInspection.ProblemsHolder import com.intellij.codeInspection.options.OptCheckbox import com.intellij.codeInspection.options.OptPane import com.intellij.codeInspection.options.PlainMessage import com.intellij.icons.AllIcons import c...
9
null
2
96
eb07d4f34bdd4a588251db854e6c60ca6584886a
4,415
php-hammer
Apache License 2.0
multi-theme-core/src/main/java/com/magic/multi/theme/core/base/BaseAttr.kt
mistletoe5215
389,977,624
false
{"Kotlin": 64510}
package com.magic.multi.theme.core.base import android.view.View /** * Created by mistletoe * on 7/23/21 **/ abstract class BaseAttr { /** * xml里某个属性的名称 */ var attrName: String? = null /** * xml里某个属性的值 */ var attrValue: Int = 0 /** * xml里某个属性值的名称 */ var entry...
0
Kotlin
2
20
adf7b3a0b9842af987e3cf834b374b4c32bbadbb
661
MagicMistletoe
Apache License 2.0
jvm/src/test/kotlin/dev/paulshields/assistantview/lang/JavaSourceFileInterpreterTest.kt
Pkshields
445,326,540
false
{"Kotlin": 113569}
package dev.paulshields.assistantview.lang import assertk.assertThat import assertk.assertions.isEqualTo import assertk.assertions.isNotNull import assertk.assertions.isNull import com.intellij.openapi.project.Project import com.intellij.psi.PsiFile import com.intellij.psi.PsiJavaFile import dev.paulshields.assistantv...
0
Kotlin
0
1
d4a9cb5ec8877522b007649898e5bfc071ba8055
1,045
AssistantView
MIT License
template-xml/app/src/main/java/co/nimblehq/template/xml/model/UiModel.kt
nimblehq
101,353,301
false
null
package co.nimblehq.template.xml.model import co.nimblehq.template.xml.domain.model.Model data class UiModel( val id: Int ) private fun Model.toUiModel() = UiModel(id = id ?: -1) fun List<Model>.toUiModels() = this.map { it.toUiModel() }
23
Kotlin
21
63
f5288193d83de72333461b1e7d0495b9ed3943d7
246
android-templates
MIT License
PluginsAndFeatures/azure-toolkit-for-intellij/rider/src/com/microsoft/intellij/runner/functionapp/config/FunctionAppRunState.kt
JetBrains
137,064,201
true
{"Java": 6822615, "Kotlin": 2384238, "C#": 198892, "Scala": 151332, "Gherkin": 108427, "JavaScript": 98350, "HTML": 23518, "CSS": 21770, "Groovy": 21447, "Shell": 21354, "XSLT": 7141, "Dockerfile": 3518, "Batchfile": 2155}
/** * Copyright (c) 2019-2023 JetBrains s.r.o. * * All rights reserved. * * MIT License * * 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 limitati...
73
Java
10
41
a8b64627376a5144a71725853ba4217b97044722
12,579
azure-tools-for-intellij
MIT License
client/src/test/java/nl/altindag/client/service/Http4kApache4AsyncHttpClientServiceShould.kt
skarzhevskyy
326,338,610
true
{"Java": 186080, "Kotlin": 33594, "Scala": 20975, "Shell": 13761, "Gherkin": 2228}
package nl.altindag.client.service import com.nhaarman.mockitokotlin2.times import com.nhaarman.mockitokotlin2.verify import nl.altindag.client.ClientType.HTTP4K_APACHE4_ASYNC_HTTP_CLIENT import nl.altindag.client.TestConstants import nl.altindag.client.util.MockServerTestHelper import nl.altindag.client.util.SSLFacto...
0
null
0
0
383b05ee866c394f83b6371622b712ef8fad3c8d
1,142
mutual-tls-ssl
Apache License 2.0
telegramit-autoconfigure/src/main/kotlin/org/botlaxy/telegramit/autoconfigure/TelegramitAutoConfiguration.kt
vitaxa
258,866,097
false
null
package org.botlaxy.telegramit.autoconfigure import org.botlaxy.telegramit.autoconfigure.property.TelegramPropertiesValidator import org.botlaxy.telegramit.autoconfigure.property.TelegramitProperties import org.botlaxy.telegramit.core.bot import org.botlaxy.telegramit.core.client.TelegramClientType import org.botlaxy....
0
Kotlin
2
9
2e7fdb9e1e3edf2638d7dbb0895b4f8a10fbaa43
4,108
telegramit
Apache License 2.0
app/src/main/java/com/ramitsuri/notificationjournal/ui/editjournal/EditJournalEntryViewModel.kt
ramitsuri
667,037,607
false
{"Kotlin": 224720, "Shell": 9028, "Python": 2413, "HTML": 577}
package com.ramitsuri.notificationjournal.ui.editjournal import androidx.lifecycle.AbstractSavedStateViewModelFactory import androidx.lifecycle.SavedStateHandle import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import androidx.navigation.NavBackStackEntry import com.ramitsuri.notificationjou...
0
Kotlin
0
0
d886f31940f887103955ab71d180260ff445b80d
3,779
notification-journal
MIT License
quartz/src/androidTest/java/com/vitorpamplona/quartz/NIP19EmbedTests.kt
retrnull
827,005,629
false
null
/** * Copyright (c) 2024 Vitor Pamplona * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in * the Software without restriction, including without limitation the rights to use, * copy, modify, merge, pub...
5
null
3
34
d33428614279300c503770c10a4305ca2a4d5ab6
8,737
garnet
MIT License
src/main/kotlin/org/jaqpot/api/auth/UserService.kt
ntua-unit-of-control-and-informatics
790,773,279
false
{"Kotlin": 28985}
package org.jaqpot.api.auth import org.jaqpot.api.model.UserDto interface UserService { fun getUserById(id: String): UserDto fun getUserByUsername(username: String): UserDto fun getUserByEmail(email: String): UserDto }
0
Kotlin
0
0
ce3afeb1684b43e6857759402989565d5b93d9f9
233
jaqpot-api-v2
MIT License
common/data/src/main/java/app/common/data/work/ContactSyncWorker.kt
ShabanKamell
377,910,641
false
null
package app.common.data.work import android.content.Context import androidx.work.CoroutineWorker import androidx.work.WorkerParameters import app.common.data.domain.contacts.ContactsRepo import app.common.data.domain.contacts.ContactsRepoInterface import org.koin.java.KoinJavaComponent.inject class ContactSyncWorker(...
0
Kotlin
0
1
86af3d676d887ba4b5953289e3dca9c947551513
684
Contacts
Apache License 2.0
app/src/main/java/dev/spikeysanju/einsen/ui/theme/dimensions/AppDimensions.kt
Spikeysanju
367,818,611
false
null
/* * Copyright 2020-2021 Photos.network developers * * 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 applicab...
5
null
74
858
e9e9e4277883ab91611e8699bb93da3dc51fc9d4
986
Einsen
Apache License 2.0
app/src/main/java/siarhei/luskanau/managed/virtual/device/ui/theme/Color.kt
siarhei-luskanau
427,449,267
false
{"Kotlin": 6070}
@file:Suppress("MagicNumber") package siarhei.luskanau.managed.virtual.device.ui.theme import androidx.compose.ui.graphics.Color val Purple80 = Color(0xFFD0BCFF) val PurpleGrey80 = Color(0xFFCCC2DC) val Pink80 = Color(0xFFEFB8C8) val Purple40 = Color(0xFF6650a4) val PurpleGrey40 = Color(0xFF625b71) val Pink40 = Col...
0
Kotlin
2
2
b02151e659c60a8c015f705a4e71f4689a4cb6e2
335
android-managed-virtual-device
MIT License
scientific/src/commonMain/kotlin/converter/time/convertToElectricCharge.kt
splendo
191,371,940
false
null
/* Copyright 2021 Splendo Consulting B.V. The Netherlands 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 appli...
89
null
7
93
6d2d2ff964d13ccb2768aa336fa7ef9941959e96
1,752
kaluga
Apache License 2.0
orb-kotlin-core/src/main/kotlin/com/withorb/api/models/SubscriptionFetchCostsParams.kt
orbcorp
797,931,036
false
{"Kotlin": 11071096, "Shell": 3618, "Dockerfile": 366}
// File generated from our OpenAPI spec by Stainless. package com.withorb.api.models import com.fasterxml.jackson.annotation.JsonCreator import com.withorb.api.core.Enum import com.withorb.api.core.JsonField import com.withorb.api.core.JsonValue import com.withorb.api.core.NoAutoDetect import com.withorb.api.core.toU...
2
Kotlin
0
0
5fa11559694c0162e2794c1cb71618027195ff9b
9,762
orb-kotlin
Apache License 2.0
src/main/kotlin/org/radarbase/redcap/config/ManagementPortalConfig.kt
RADAR-base
101,426,351
false
{"Kotlin": 113490, "Python": 5049, "Dockerfile": 1408}
package org.radarbase.redcap.config import com.fasterxml.jackson.annotation.JsonCreator import com.fasterxml.jackson.annotation.JsonProperty import java.net.URL data class ManagementPortalConfig /** * Constructor. * @param oauthClientId [String] representing OAuth2 client identifier * @param oauthClientSecret [Str...
14
Kotlin
1
1
0f3a7fa983c4e675c5fa4b8c6141e678e6838e4b
1,198
RADAR-RedcapIntegration
Apache License 2.0
app/src/main/java/com/vishalgaur/shoppingapp/data/Result.kt
i-vishi
358,205,394
false
null
package com.pj109.xkorey.share.result /** * A generic class that holds a value with its loading status. * @param <T> */ sealed class Result<out R> { data class Success<out T>(val data: T) : Result<T>() data class Error(val exception: Exception) : Result<Nothing>() object Loading : Result<Nothing>() ...
9
null
6
97
1768ebf52bb9ae27fe7eca9e92b999cbcd7113f6
702
shopping-android-app
MIT License
ui-lib/src/main/java/co/electriccoin/zcash/ui/screen/contact/viewmodel/UpdateContactViewModel.kt
Electric-Coin-Company
390,808,594
false
{"Kotlin": 1834553}
package co.electriccoin.zcash.ui.screen.contact.viewmodel import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import cash.z.ecc.sdk.ANDROID_STATE_FLOW_TIMEOUT import co.electriccoin.zcash.ui.R import co.electriccoin.zcash.ui.common.model.AddressBookContact import co.electriccoin.zcash.ui.commo...
172
Kotlin
15
25
359d4a5eea03dfb3c1ffbc5df1baca1c6f7917a7
7,084
zashi-android
MIT License
aggregator/src/main/kotlin/nl/tudelft/hyperion/aggregator/workers/Expiry.kt
SERG-Delft
254,399,628
false
{"Gradle Kotlin DSL": 19, "Shell": 5, "Text": 2, "Ignore List": 1, "Batchfile": 1, "Git Attributes": 1, "Markdown": 31, "INI": 1, "Ruby": 5, "AsciiDoc": 1, "YAML": 42, "Dockerfile": 15, "Kotlin": 153, "SQL": 1, "Dotenv": 2, "XML": 4, "Java": 5, "SVG": 2}
package nl.tudelft.hyperion.aggregator.workers import kotlinx.coroutines.GlobalScope import kotlinx.coroutines.delay import kotlinx.coroutines.isActive import kotlinx.coroutines.launch import nl.tudelft.hyperion.aggregator.Configuration import nl.tudelft.hyperion.aggregator.database.AggregationEntries import org.jetbr...
0
Kotlin
1
13
a010d1b6e59592231a2ed29a6d11af38644f2834
1,777
hyperion
Apache License 2.0
src/main/kotlin/io/github/juuxel/polyester/item/PolyesterBaseItem.kt
Juuxel
178,036,245
false
null
package io.github.juuxel.polyester.item import net.minecraft.client.item.TooltipContext import net.minecraft.item.Item import net.minecraft.item.ItemStack import net.minecraft.text.Text import net.minecraft.world.World open class PolyesterBaseItem(override val name: String, settings: Settings) : Item(settings), P...
1
null
1
1
21bfa057cd004e3037df2b99f3de8bfc5ee7316a
610
Polyester
MIT License
app/src/main/java/com/omerguzel/pokedex/data/remote/network/response/Other.kt
omerrguzel
720,436,407
false
{"Kotlin": 84274}
package com.omerguzel.pokedex.data.remote.network.response import com.google.gson.annotations.SerializedName data class Other( @SerializedName("dream_world") val dreamWorld: DreamWorld? = null, val home: Home? = null, @SerializedName("official-artwork") val officialArtwork: OfficialArtwork? = null...
0
Kotlin
0
0
e0a0c9061531a18a6159e1394a7638b6ccbbab95
323
Pokedex
The Unlicense
sw-ui/src/test/kotlin/org/luxons/sevenwonders/ui/utils/CoroutineUtilsTest.kt
joffrey-bion
75,569,445
false
null
package org.luxons.sevenwonders.ui.utils import kotlinx.coroutines.delay import org.luxons.sevenwonders.ui.test.runSuspendingTest import kotlin.test.Test import kotlin.test.assertEquals class CoroutineUtilsTest { @Test fun awaitFirstTest() = runSuspendingTest { val s = awaitFirst( { delay...
35
Kotlin
6
35
d09c3e7128fbb8b9f1500153b12ef657dcb76694
548
seven-wonders
MIT License
app/src/main/java/com/kcteam/features/dashboard/presentation/RouteActivityDashboardAdapter.kt
DebashisINT
558,234,039
false
null
package com.breezepowell.features.dashboard.presentation import android.content.Context import androidx.core.content.ContextCompat import androidx.recyclerview.widget.RecyclerView import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import com.breezepowell.R import com.breezepowell...
0
null
1
1
e6114824d91cba2e70623631db7cbd9b4d9690ed
4,136
NationalPlastic
Apache License 2.0
app/src/main/java/com/douglasqueiroz/thewallet/feature/assets/AssetsScreen.kt
douglas-queiroz
643,561,645
false
null
package com.douglasqueiroz.thewallet.feature.assets import androidx.compose.foundation.layout.padding import androidx.compose.material3.ExperimentalMaterial3Api import androidx.compose.material3.Scaffold import androidx.compose.material3.Text import androidx.compose.runtime.Composable import androidx.compose.ui.Modifi...
0
Kotlin
0
0
b32bc30c705696b7c5cbe8d1d8b2f348b3d5ff06
967
TheWallet
Apache License 2.0
app/src/commonMain/kotlin/datalayer/functions/simulateLiquidation.kt
luca992
716,489,959
false
{"Kotlin": 46440, "HTML": 359, "CSS": 108}
package datalayer.functions import Repository import com.ionspin.kotlin.bignum.decimal.BigDecimal import com.ionspin.kotlin.bignum.decimal.RoundingMode import com.ionspin.kotlin.bignum.decimal.toBigDecimal import com.ionspin.kotlin.bignum.integer.BigInteger import com.ionspin.kotlin.bignum.integer.toBigInteger import ...
0
Kotlin
0
1
ac2c3b226f059f250190bff932891b4e0667fbcb
3,310
sienna-lend-liquidator
MIT License
app/src/main/java/com/tomorrowit/budgetgamer/presentation/activities/AuthActivity.kt
2Morrow-IT-Solutions
848,266,910
false
{"Kotlin": 429313}
package com.tomorrowit.budgetgamer.presentation.activities import android.os.Bundle import com.tomorrowit.budgetgamer.common.config.extensions.finishAnimation import com.tomorrowit.budgetgamer.databinding.ActivityAuthBinding import com.tomorrowit.budgetgamer.domain.repo.LoggerRepo import com.tomorrowit.budgetgamer.pre...
0
Kotlin
2
5
edcaff45925e39c15fa3ff8cb054bf06904c3cdf
888
budget-gamer-android
MIT License
tang-framework/src/main/kotlin/com/tang/framework/utils/AuthenticationUtils.kt
tangllty
585,187,319
false
{"Java": 407120, "Kotlin": 180218, "Shell": 2468, "Dockerfile": 354, "Batchfile": 183}
package com.tang.framework.utils import org.springframework.security.authentication.AbstractAuthenticationToken import org.springframework.security.core.GrantedAuthority import com.tang.commons.enumeration.LoginType import com.tang.framework.security.authentication.email.EmailAuthenticationToken import com.tang.frame...
0
Java
4
13
6c8f7eb3903a71c111ef70f27cd20ef509037f84
1,068
tang-boot
MIT License
generator/web/src/main/kotlin/me/kcra/takenaka/generator/web/WebConfiguration.kt
zlataovce
596,960,001
false
null
/* * This file is part of takenaka, licensed under the Apache License, Version 2.0 (the "License"). * * Copyright (c) 2023-2024 <NAME> * * 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 req...
6
null
3
8
bf716f44463c88d9079e2a3296ca07593d8da692
8,418
takenaka
Apache License 2.0
src/main/kotlin/org/rust/cargo/runconfig/buildtool/CargoBuildAdapter.kt
Kobzol
174,706,351
false
null
/* * Use of this source code is governed by the MIT license that can be * found in the LICENSE file. */ package org.rust.cargo.runconfig.buildtool import com.intellij.build.BuildContentDescriptor import com.intellij.build.BuildProgressListener import com.intellij.build.DefaultBuildDescriptor import com.intellij.bu...
0
null
0
4
7d5f70bcf89dcc9c772efbeecf20fea7b0fb331e
6,225
intellij-rust
MIT License
AcornGame/src/com/acornui/graphics/LightingRenderer.kt
konsoletyper
105,533,124
false
null
package com.acornui.graphics import com.acornui.core.Disposable import com.acornui.core.di.Injector import com.acornui.core.di.Scoped import com.acornui.core.di.inject import com.acornui.core.graphics.BlendMode import com.acornui.core.graphics.Camera import com.acornui.core.graphics.CameraRo import com.acornui.core.gr...
0
Kotlin
3
0
a84b559fe1d1cad01eb9223ad9af73b4d5fb5bc8
11,326
Acorn
Apache License 2.0